@sayknow-cli/stats 0.7.27 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.js +107 -107
- package/package.json +3 -3
package/dist/client/index.js
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
var gE=Object.create;var{getPrototypeOf:hE,defineProperty:yw,getOwnPropertyNames:xE}=Object;var uE=Object.prototype.hasOwnProperty;function mE(Q){return this[Q]}var dE,pE,T0=(Q,J,q)=>{var Y=Q!=null&&typeof Q==="object";if(Y){var U=J?dE??=new WeakMap:pE??=new WeakMap,K=U.get(Q);if(K)return K}q=Q!=null?gE(hE(Q)):{};let H=J||!Q||!Q.__esModule?yw(q,"default",{value:Q,enumerable:!0}):q;for(let M of xE(Q))if(!uE.call(H,M))yw(H,M,{get:mE.bind(Q,M),enumerable:!0});if(Y)U.set(Q,H);return H};var Q2=(Q,J)=>()=>(J||Q((J={exports:{}}).exports,J),J.exports);var gw=Q2((cE)=>{(function(){function Q(){if(i=!1,a){var l=cE.unstable_now();N0=l;var J0=!0;try{$:{m=!1,n&&(n=!1,Q0(Y0),Y0=-1),y=!0;var K0=C;try{Z:{K(l);for(A=q(L);A!==null&&!(A.expirationTime>l&&M());){var d0=A.callback;if(typeof d0==="function"){A.callback=null,C=A.priorityLevel;var k0=d0(A.expirationTime<=l);if(l=cE.unstable_now(),typeof k0==="function"){A.callback=k0,K(l),J0=!0;break Z}A===q(L)&&Y(L),K(l)}else Y(L);A=q(L)}if(A!==null)J0=!0;else{var S=q(E);S!==null&&F(H,S.startTime-l),J0=!1}}break $}finally{A=null,C=K0,y=!1}J0=void 0}}finally{J0?w0():a=!1}}}function J(l,J0){var K0=l.length;l.push(J0);$:for(;0<K0;){var d0=K0-1>>>1,k0=l[d0];if(0<U(k0,J0))l[d0]=J0,l[K0]=k0,K0=d0;else break $}}function q(l){return l.length===0?null:l[0]}function Y(l){if(l.length===0)return null;var J0=l[0],K0=l.pop();if(K0!==J0){l[0]=K0;$:for(var d0=0,k0=l.length,S=k0>>>1;d0<S;){var o=2*(d0+1)-1,B0=l[o],H0=o+1,b0=l[H0];if(0>U(B0,K0))H0<k0&&0>U(b0,B0)?(l[d0]=b0,l[H0]=K0,d0=H0):(l[d0]=B0,l[o]=K0,d0=o);else if(H0<k0&&0>U(b0,K0))l[d0]=b0,l[H0]=K0,d0=H0;else break $}}return J0}function U(l,J0){var K0=l.sortIndex-J0.sortIndex;return K0!==0?K0:l.id-J0.id}function K(l){for(var J0=q(E);J0!==null;){if(J0.callback===null)Y(E);else if(J0.startTime<=l)Y(E),J0.sortIndex=J0.expirationTime,J(L,J0);else break;J0=q(E)}}function H(l){if(n=!1,K(l),!m)if(q(L)!==null)m=!0,a||(a=!0,w0());else{var J0=q(E);J0!==null&&F(H,J0.startTime-l)}}function M(){return i?!0:cE.unstable_now()-N0<d?!1:!0}function F(l,J0){Y0=r(function(){l(cE.unstable_now())},J0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),cE.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var T=performance;cE.unstable_now=function(){return T.now()}}else{var R=Date,z=R.now();cE.unstable_now=function(){return R.now()-z}}var L=[],E=[],I=1,A=null,C=3,y=!1,m=!1,n=!1,i=!1,r=typeof setTimeout==="function"?setTimeout:null,Q0=typeof clearTimeout==="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null,a=!1,Y0=-1,d=5,N0=-1;if(typeof p==="function")var w0=function(){p(Q)};else if(typeof MessageChannel<"u"){var z0=new MessageChannel,C0=z0.port2;z0.port1.onmessage=Q,w0=function(){C0.postMessage(null)}}else w0=function(){r(Q,0)};cE.unstable_IdlePriority=5,cE.unstable_ImmediatePriority=1,cE.unstable_LowPriority=4,cE.unstable_NormalPriority=3,cE.unstable_Profiling=null,cE.unstable_UserBlockingPriority=2,cE.unstable_cancelCallback=function(l){l.callback=null},cE.unstable_forceFrameRate=function(l){0>l||125<l?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):d=0<l?Math.floor(1000/l):5},cE.unstable_getCurrentPriorityLevel=function(){return C},cE.unstable_next=function(l){switch(C){case 1:case 2:case 3:var J0=3;break;default:J0=C}var K0=C;C=J0;try{return l()}finally{C=K0}},cE.unstable_requestPaint=function(){i=!0},cE.unstable_runWithPriority=function(l,J0){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var K0=C;C=l;try{return J0()}finally{C=K0}},cE.unstable_scheduleCallback=function(l,J0,K0){var d0=cE.unstable_now();switch(typeof K0==="object"&&K0!==null?(K0=K0.delay,K0=typeof K0==="number"&&0<K0?d0+K0:d0):K0=d0,l){case 1:var k0=-1;break;case 2:k0=250;break;case 5:k0=1073741823;break;case 4:k0=1e4;break;default:k0=5000}return k0=K0+k0,l={id:I++,callback:J0,priorityLevel:l,startTime:K0,expirationTime:k0,sortIndex:-1},K0>d0?(l.sortIndex=K0,J(E,l),q(L)===null&&l===q(E)&&(n?(Q0(Y0),Y0=-1):n=!0,F(H,K0-d0))):(l.sortIndex=k0,J(L,l),m||y||(m=!0,a||(a=!0,w0()))),l},cE.unstable_shouldYield=M,cE.unstable_wrapCallback=function(l){var J0=C;return function(){var K0=C;C=J0;try{return l.apply(this,arguments)}finally{C=K0}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var e1=Q2((lE,mJ)=>{(function(){function Q(P,f){Object.defineProperty(Y.prototype,P,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",f[0],f[1])}})}function J(P){if(P===null||typeof P!=="object")return null;return P=EQ&&P[EQ]||P["@@iterator"],typeof P==="function"?P:null}function q(P,f){P=(P=P.constructor)&&(P.displayName||P.name)||"ReactClass";var s=P+"."+f;G0[s]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",f,P),G0[s]=!0)}function Y(P,f,s){this.props=P,this.context=f,this.refs=H6,this.updater=s||O$}function U(){}function K(P,f,s){this.props=P,this.context=f,this.refs=H6,this.updater=s||O$}function H(){}function M(P){return""+P}function F(P){try{M(P);var f=!1}catch(q0){f=!0}if(f){f=console;var s=f.error,e=typeof Symbol==="function"&&Symbol.toStringTag&&P[Symbol.toStringTag]||P.constructor.name||"Object";return s.call(f,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",e),M(P)}}function T(P){if(P==null)return null;if(typeof P==="function")return P.$$typeof===G7?null:P.displayName||P.name||null;if(typeof P==="string")return P;switch(P){case k0:return"Fragment";case o:return"Profiler";case S:return"StrictMode";case D1:return"Suspense";case I0:return"SuspenseList";case E4:return"Activity"}if(typeof P==="object")switch(typeof P.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),P.$$typeof){case d0:return"Portal";case H0:return P.displayName||"Context";case B0:return(P._context.displayName||"Context")+".Consumer";case b0:var f=P.render;return P=P.displayName,P||(P=f.displayName||f.name||"",P=P!==""?"ForwardRef("+P+")":"ForwardRef"),P;case f1:return f=P.displayName||null,f!==null?f:T(P.type)||"Memo";case N5:f=P._payload,P=P._init;try{return T(P(f))}catch(s){}}return null}function R(P){if(P===k0)return"<>";if(typeof P==="object"&&P!==null&&P.$$typeof===N5)return"<...>";try{var f=T(P);return f?"<"+f+">":"<...>"}catch(s){return"<...>"}}function z(){var P=O0.A;return P===null?null:P.getOwner()}function L(){return Error("react-stack-top-frame")}function E(P){if(D$.call(P,"key")){var f=Object.getOwnPropertyDescriptor(P,"key").get;if(f&&f.isReactWarning)return!1}return P.key!==void 0}function I(P,f){function s(){CQ||(CQ=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",f))}s.isReactWarning=!0,Object.defineProperty(P,"key",{get:s,configurable:!0})}function A(){var P=T(this.type);return L2[P]||(L2[P]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),P=this.props.ref,P!==void 0?P:null}function C(P,f,s,e,q0,P0){var E0=s.ref;return P={$$typeof:K0,type:P,key:f,props:s,_owner:e},(E0!==void 0?E0:null)!==null?Object.defineProperty(P,"ref",{enumerable:!1,get:A}):Object.defineProperty(P,"ref",{enumerable:!1,value:null}),P._store={},Object.defineProperty(P._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(P,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(P,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:q0}),Object.defineProperty(P,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:P0}),Object.freeze&&(Object.freeze(P.props),Object.freeze(P)),P}function y(P,f){return f=C(P.type,f,P.props,P._owner,P._debugStack,P._debugTask),P._store&&(f._store.validated=P._store.validated),f}function m(P){n(P)?P._store&&(P._store.validated=1):typeof P==="object"&&P!==null&&P.$$typeof===N5&&(P._payload.status==="fulfilled"?n(P._payload.value)&&P._payload.value._store&&(P._payload.value._store.validated=1):P._store&&(P._store.validated=1))}function n(P){return typeof P==="object"&&P!==null&&P.$$typeof===K0}function i(P){var f={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(s){return f[s]})}function r(P,f){return typeof P==="object"&&P!==null&&P.key!=null?(F(P.key),i(""+P.key)):f.toString(36)}function Q0(P){switch(P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status==="string"?P.then(H,H):(P.status="pending",P.then(function(f){P.status==="pending"&&(P.status="fulfilled",P.value=f)},function(f){P.status==="pending"&&(P.status="rejected",P.reason=f)})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}}throw P}function p(P,f,s,e,q0){var P0=typeof P;if(P0==="undefined"||P0==="boolean")P=null;var E0=!1;if(P===null)E0=!0;else switch(P0){case"bigint":case"string":case"number":E0=!0;break;case"object":switch(P.$$typeof){case K0:case d0:E0=!0;break;case N5:return E0=P._init,p(E0(P._payload),f,s,e,q0)}}if(E0){E0=P,q0=q0(E0);var i0=e===""?"."+r(E0,0):e;return Y1(q0)?(s="",i0!=null&&(s=i0.replace(S$,"$&/")+"/"),p(q0,f,s,"",function(K5){return K5})):q0!=null&&(n(q0)&&(q0.key!=null&&(E0&&E0.key===q0.key||F(q0.key)),s=y(q0,s+(q0.key==null||E0&&E0.key===q0.key?"":(""+q0.key).replace(S$,"$&/")+"/")+i0),e!==""&&E0!=null&&n(E0)&&E0.key==null&&E0._store&&!E0._store.validated&&(s._store.validated=2),q0=s),f.push(q0)),1}if(E0=0,i0=e===""?".":e+":",Y1(P))for(var F0=0;F0<P.length;F0++)e=P[F0],P0=i0+r(e,F0),E0+=p(e,f,s,P0,q0);else if(F0=J(P),typeof F0==="function")for(F0===P.entries&&(A$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),A$=!0),P=F0.call(P),F0=0;!(e=P.next()).done;)e=e.value,P0=i0+r(e,F0++),E0+=p(e,f,s,P0,q0);else if(P0==="object"){if(typeof P.then==="function")return p(Q0(P),f,s,e,q0);throw f=String(P),Error("Objects are not valid as a React child (found: "+(f==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":f)+"). If you meant to render a collection of children, use an array instead.")}return E0}function a(P,f,s){if(P==null)return P;var e=[],q0=0;return p(P,e,"","",function(P0){return f.call(s,P0,q0++)}),e}function Y0(P){if(P._status===-1){var f=P._ioInfo;f!=null&&(f.start=f.end=performance.now()),f=P._result;var s=f();if(s.then(function(q0){if(P._status===0||P._status===-1){P._status=1,P._result=q0;var P0=P._ioInfo;P0!=null&&(P0.end=performance.now()),s.status===void 0&&(s.status="fulfilled",s.value=q0)}},function(q0){if(P._status===0||P._status===-1){P._status=2,P._result=q0;var P0=P._ioInfo;P0!=null&&(P0.end=performance.now()),s.status===void 0&&(s.status="rejected",s.reason=q0)}}),f=P._ioInfo,f!=null){f.value=s;var e=s.displayName;typeof e==="string"&&(f.name=e)}P._status===-1&&(P._status=0,P._result=s)}if(P._status===1)return f=P._result,f===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
var hP=Object.create;var{getPrototypeOf:xP,defineProperty:xT,getOwnPropertyNames:uP}=Object;var mP=Object.prototype.hasOwnProperty;function dP(Z){return this[Z]}var pP,cP,R0=(Z,J,q)=>{var Y=Z!=null&&typeof Z==="object";if(Y){var U=J?pP??=new WeakMap:cP??=new WeakMap,K=U.get(Z);if(K)return K}q=Z!=null?hP(xP(Z)):{};let H=J||!Z||!Z.__esModule?xT(q,"default",{value:Z,enumerable:!0}):q;for(let M of uP(Z))if(!mP.call(H,M))xT(H,M,{get:dP.bind(Z,M),enumerable:!0});if(Y)U.set(Z,H);return H};var Y6=(Z,J)=>()=>(J||Z((J={exports:{}}).exports,J),J.exports);var uT=Y6((lP)=>{(function(){function Z(){if(i=!1,a){var r=lP.unstable_now();K0=r;var t=!0;try{$:{m=!1,o&&(o=!1,J0(U0),U0=-1),g=!0;var q0=E;try{Q:{K(r);for(A=q(L);A!==null&&!(A.expirationTime>r&&M());){var u0=A.callback;if(typeof u0==="function"){A.callback=null,E=A.priorityLevel;var d0=u0(A.expirationTime<=r);if(r=lP.unstable_now(),typeof d0==="function"){A.callback=d0,K(r),t=!0;break Q}A===q(L)&&Y(L),K(r)}else Y(L);A=q(L)}if(A!==null)t=!0;else{var S=q(P);S!==null&&W(H,S.startTime-r),t=!1}}break $}finally{A=null,E=q0,g=!1}t=void 0}}finally{t?B0():a=!1}}}function J(r,t){var q0=r.length;r.push(t);$:for(;0<q0;){var u0=q0-1>>>1,d0=r[u0];if(0<U(d0,t))r[u0]=t,r[q0]=d0,q0=u0;else break $}}function q(r){return r.length===0?null:r[0]}function Y(r){if(r.length===0)return null;var t=r[0],q0=r.pop();if(q0!==t){r[0]=q0;$:for(var u0=0,d0=r.length,S=d0>>>1;u0<S;){var n=2*(u0+1)-1,H0=r[n],M0=n+1,v0=r[M0];if(0>U(H0,q0))M0<d0&&0>U(v0,H0)?(r[u0]=v0,r[M0]=q0,u0=M0):(r[u0]=H0,r[n]=q0,u0=n);else if(M0<d0&&0>U(v0,q0))r[u0]=v0,r[M0]=q0,u0=M0;else break $}}return t}function U(r,t){var q0=r.sortIndex-t.sortIndex;return q0!==0?q0:r.id-t.id}function K(r){for(var t=q(P);t!==null;){if(t.callback===null)Y(P);else if(t.startTime<=r)Y(P),t.sortIndex=t.expirationTime,J(L,t);else break;t=q(P)}}function H(r){if(o=!1,K(r),!m)if(q(L)!==null)m=!0,a||(a=!0,B0());else{var t=q(P);t!==null&&W(H,t.startTime-r)}}function M(){return i?!0:lP.unstable_now()-K0<d?!1:!0}function W(r,t){U0=l(function(){r(lP.unstable_now())},t)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),lP.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var R=performance;lP.unstable_now=function(){return R.now()}}else{var w=Date,z=w.now();lP.unstable_now=function(){return w.now()-z}}var L=[],P=[],I=1,A=null,E=3,g=!1,m=!1,o=!1,i=!1,l=typeof setTimeout==="function"?setTimeout:null,J0=typeof clearTimeout==="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null,a=!1,U0=-1,d=5,K0=-1;if(typeof p==="function")var B0=function(){p(Z)};else if(typeof MessageChannel<"u"){var z0=new MessageChannel,F1=z0.port2;z0.port1.onmessage=Z,B0=function(){F1.postMessage(null)}}else B0=function(){l(Z,0)};lP.unstable_IdlePriority=5,lP.unstable_ImmediatePriority=1,lP.unstable_LowPriority=4,lP.unstable_NormalPriority=3,lP.unstable_Profiling=null,lP.unstable_UserBlockingPriority=2,lP.unstable_cancelCallback=function(r){r.callback=null},lP.unstable_forceFrameRate=function(r){0>r||125<r?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):d=0<r?Math.floor(1000/r):5},lP.unstable_getCurrentPriorityLevel=function(){return E},lP.unstable_next=function(r){switch(E){case 1:case 2:case 3:var t=3;break;default:t=E}var q0=E;E=t;try{return r()}finally{E=q0}},lP.unstable_requestPaint=function(){i=!0},lP.unstable_runWithPriority=function(r,t){switch(r){case 1:case 2:case 3:case 4:case 5:break;default:r=3}var q0=E;E=r;try{return t()}finally{E=q0}},lP.unstable_scheduleCallback=function(r,t,q0){var u0=lP.unstable_now();switch(typeof q0==="object"&&q0!==null?(q0=q0.delay,q0=typeof q0==="number"&&0<q0?u0+q0:u0):q0=u0,r){case 1:var d0=-1;break;case 2:d0=250;break;case 5:d0=1073741823;break;case 4:d0=1e4;break;default:d0=5000}return d0=q0+d0,r={id:I++,callback:t,priorityLevel:r,startTime:q0,expirationTime:d0,sortIndex:-1},q0>u0?(r.sortIndex=q0,J(P,r),q(L)===null&&r===q(P)&&(o?(J0(U0),U0=-1):o=!0,W(H,q0-u0))):(r.sortIndex=d0,J(L,r),m||g||(m=!0,a||(a=!0,B0()))),r},lP.unstable_shouldYield=M,lP.unstable_wrapCallback=function(r){var t=E;return function(){var q0=E;E=t;try{return r.apply(this,arguments)}finally{E=q0}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var e1=Y6((rP,lq)=>{(function(){function Z(C,y){Object.defineProperty(Y.prototype,C,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",y[0],y[1])}})}function J(C){if(C===null||typeof C!=="object")return null;return C=OJ&&C[OJ]||C["@@iterator"],typeof C==="function"?C:null}function q(C,y){C=(C=C.constructor)&&(C.displayName||C.name)||"ReactClass";var s=C+"."+y;G0[s]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",y,C),G0[s]=!0)}function Y(C,y,s){this.props=C,this.context=y,this.refs=R8,this.updater=s||A7}function U(){}function K(C,y,s){this.props=C,this.context=y,this.refs=R8,this.updater=s||A7}function H(){}function M(C){return""+C}function W(C){try{M(C);var y=!1}catch(X0){y=!0}if(y){y=console;var s=y.error,$0=typeof Symbol==="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return s.call(y,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",$0),M(C)}}function R(C){if(C==null)return null;if(typeof C==="function")return C.$$typeof===GQ?null:C.displayName||C.name||null;if(typeof C==="string")return C;switch(C){case d0:return"Fragment";case n:return"Profiler";case S:return"StrictMode";case y1:return"Suspense";case C0:return"SuspenseList";case I4:return"Activity"}if(typeof C==="object")switch(typeof C.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case u0:return"Portal";case M0:return C.displayName||"Context";case H0:return(C._context.displayName||"Context")+".Consumer";case v0:var y=C.render;return C=C.displayName,C||(C=y.displayName||y.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case _1:return y=C.displayName||null,y!==null?y:R(C.type)||"Memo";case K5:y=C._payload,C=C._init;try{return R(C(y))}catch(s){}}return null}function w(C){if(C===d0)return"<>";if(typeof C==="object"&&C!==null&&C.$$typeof===K5)return"<...>";try{var y=R(C);return y?"<"+y+">":"<...>"}catch(s){return"<...>"}}function z(){var C=j0.A;return C===null?null:C.getOwner()}function L(){return Error("react-stack-top-frame")}function P(C){if(S7.call(C,"key")){var y=Object.getOwnPropertyDescriptor(C,"key").get;if(y&&y.isReactWarning)return!1}return C.key!==void 0}function I(C,y){function s(){DJ||(DJ=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",y))}s.isReactWarning=!0,Object.defineProperty(C,"key",{get:s,configurable:!0})}function A(){var C=R(this.type);return C6[C]||(C6[C]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),C=this.props.ref,C!==void 0?C:null}function E(C,y,s,$0,X0,P0){var E0=s.ref;return C={$$typeof:q0,type:C,key:y,props:s,_owner:$0},(E0!==void 0?E0:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:A}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:X0}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:P0}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function g(C,y){return y=E(C.type,y,C.props,C._owner,C._debugStack,C._debugTask),C._store&&(y._store.validated=C._store.validated),y}function m(C){o(C)?C._store&&(C._store.validated=1):typeof C==="object"&&C!==null&&C.$$typeof===K5&&(C._payload.status==="fulfilled"?o(C._payload.value)&&C._payload.value._store&&(C._payload.value._store.validated=1):C._store&&(C._store.validated=1))}function o(C){return typeof C==="object"&&C!==null&&C.$$typeof===q0}function i(C){var y={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(s){return y[s]})}function l(C,y){return typeof C==="object"&&C!==null&&C.key!=null?(W(C.key),i(""+C.key)):y.toString(36)}function J0(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status==="string"?C.then(H,H):(C.status="pending",C.then(function(y){C.status==="pending"&&(C.status="fulfilled",C.value=y)},function(y){C.status==="pending"&&(C.status="rejected",C.reason=y)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function p(C,y,s,$0,X0){var P0=typeof C;if(P0==="undefined"||P0==="boolean")C=null;var E0=!1;if(C===null)E0=!0;else switch(P0){case"bigint":case"string":case"number":E0=!0;break;case"object":switch(C.$$typeof){case q0:case u0:E0=!0;break;case K5:return E0=C._init,p(E0(C._payload),y,s,$0,X0)}}if(E0){E0=C,X0=X0(E0);var o0=$0===""?"."+l(E0,0):$0;return X1(X0)?(s="",o0!=null&&(s=o0.replace(k7,"$&/")+"/"),p(X0,y,s,"",function(B5){return B5})):X0!=null&&(o(X0)&&(X0.key!=null&&(E0&&E0.key===X0.key||W(X0.key)),s=g(X0,s+(X0.key==null||E0&&E0.key===X0.key?"":(""+X0.key).replace(k7,"$&/")+"/")+o0),$0!==""&&E0!=null&&o(E0)&&E0.key==null&&E0._store&&!E0._store.validated&&(s._store.validated=2),X0=s),y.push(X0)),1}if(E0=0,o0=$0===""?".":$0+":",X1(C))for(var F0=0;F0<C.length;F0++)$0=C[F0],P0=o0+l($0,F0),E0+=p($0,y,s,P0,X0);else if(F0=J(C),typeof F0==="function")for(F0===C.entries&&(v7||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),v7=!0),C=F0.call(C),F0=0;!($0=C.next()).done;)$0=$0.value,P0=o0+l($0,F0++),E0+=p($0,y,s,P0,X0);else if(P0==="object"){if(typeof C.then==="function")return p(J0(C),y,s,$0,X0);throw y=String(C),Error("Objects are not valid as a React child (found: "+(y==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":y)+"). If you meant to render a collection of children, use an array instead.")}return E0}function a(C,y,s){if(C==null)return C;var $0=[],X0=0;return p(C,$0,"","",function(P0){return y.call(s,P0,X0++)}),$0}function U0(C){if(C._status===-1){var y=C._ioInfo;y!=null&&(y.start=y.end=performance.now()),y=C._result;var s=y();if(s.then(function(X0){if(C._status===0||C._status===-1){C._status=1,C._result=X0;var P0=C._ioInfo;P0!=null&&(P0.end=performance.now()),s.status===void 0&&(s.status="fulfilled",s.value=X0)}},function(X0){if(C._status===0||C._status===-1){C._status=2,C._result=X0;var P0=C._ioInfo;P0!=null&&(P0.end=performance.now()),s.status===void 0&&(s.status="rejected",s.reason=X0)}}),y=C._ioInfo,y!=null){y.value=s;var $0=s.displayName;typeof $0==="string"&&(y.name=$0)}C._status===-1&&(C._status=0,C._result=s)}if(C._status===1)return y=C._result,y===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
2
|
|
|
3
3
|
Your code should look like:
|
|
4
4
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
5
|
|
|
6
|
-
Did you accidentally put curly braces around the import?`,
|
|
6
|
+
Did you accidentally put curly braces around the import?`,y),"default"in y||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
7
|
|
|
8
8
|
Your code should look like:
|
|
9
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,y),y.default;throw C._result}function d(){var C=j0.H;return C===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
10
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
11
|
2. You might be breaking the Rules of Hooks
|
|
12
12
|
3. You might have more than one copy of React in the same app
|
|
13
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),P}function N0(){O0.asyncTransitions--}function w0(P){if(P2===null)try{var f=("require"+Math.random()).slice(0,7);P2=(mJ&&mJ[f]).call(mJ,"timers").setImmediate}catch(s){P2=function(e){IQ===!1&&(IQ=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var q0=new MessageChannel;q0.port1.onmessage=e,q0.port2.postMessage(void 0)}}return P2(P)}function z0(P){return 1<P.length&&typeof AggregateError==="function"?AggregateError(P):P[0]}function C0(P,f){f!==E2-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),E2=f}function l(P,f,s){var e=O0.actQueue;if(e!==null)if(e.length!==0)try{J0(e),w0(function(){return l(P,f,s)});return}catch(q0){O0.thrownErrors.push(q0)}else O0.actQueue=null;0<O0.thrownErrors.length?(e=z0(O0.thrownErrors),O0.thrownErrors.length=0,s(e)):f(P)}function J0(P){if(!I2){I2=!0;var f=0;try{for(;f<P.length;f++){var s=P[f];do{O0.didUsePromise=!1;var e=s(!1);if(e!==null){if(O0.didUsePromise){P[f]=s,P.splice(0,f);return}s=e}else break}while(1)}P.length=0}catch(q0){P.splice(0,f+1),O0.thrownErrors.push(q0)}finally{I2=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var K0=Symbol.for("react.transitional.element"),d0=Symbol.for("react.portal"),k0=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),B0=Symbol.for("react.consumer"),H0=Symbol.for("react.context"),b0=Symbol.for("react.forward_ref"),D1=Symbol.for("react.suspense"),I0=Symbol.for("react.suspense_list"),f1=Symbol.for("react.memo"),N5=Symbol.for("react.lazy"),E4=Symbol.for("react.activity"),EQ=Symbol.iterator,G0={},O$={isMounted:function(){return!1},enqueueForceUpdate:function(P){q(P,"forceUpdate")},enqueueReplaceState:function(P){q(P,"replaceState")},enqueueSetState:function(P){q(P,"setState")}},V2=Object.assign,H6={};Object.freeze(H6),Y.prototype.isReactComponent={},Y.prototype.setState=function(P,f){if(typeof P!=="object"&&typeof P!=="function"&&P!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,P,f,"setState")},Y.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};var s1={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(F6 in s1)s1.hasOwnProperty(F6)&&Q(F6,s1[F6]);U.prototype=Y.prototype,s1=K.prototype=new U,s1.constructor=K,V2(s1,Y.prototype),s1.isPureReactComponent=!0;var Y1=Array.isArray,G7=Symbol.for("react.client.reference"),O0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},D$=Object.prototype.hasOwnProperty,H1=console.createTask?console.createTask:function(){return null};s1={react_stack_bottom_frame:function(P){return P()}};var CQ,d4,L2={},_2=s1.react_stack_bottom_frame.bind(s1,L)(),Z3=H1(R(L)),A$=!1,S$=/\/+/g,M6=typeof reportError==="function"?reportError:function(P){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var f=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof P==="object"&&P!==null&&typeof P.message==="string"?String(P.message):String(P),error:P});if(!window.dispatchEvent(f))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",P);return}console.error(P)},IQ=!1,P2=null,E2=0,C2=!1,I2=!1,J7=typeof queueMicrotask==="function"?function(P){queueMicrotask(function(){return queueMicrotask(P)})}:w0;s1=Object.freeze({__proto__:null,c:function(P){return d().useMemoCache(P)}});var F6={map:a,forEach:function(P,f,s){a(P,function(){f.apply(this,arguments)},s)},count:function(P){var f=0;return a(P,function(){f++}),f},toArray:function(P){return a(P,function(f){return f})||[]},only:function(P){if(!n(P))throw Error("React.Children.only expected to receive a single React element child.");return P}};lE.Activity=E4,lE.Children=F6,lE.Component=Y,lE.Fragment=k0,lE.Profiler=o,lE.PureComponent=K,lE.StrictMode=S,lE.Suspense=D1,lE.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O0,lE.__COMPILER_RUNTIME=s1,lE.act=function(P){var f=O0.actQueue,s=E2;E2++;var e=O0.actQueue=f!==null?f:[],q0=!1;try{var P0=P()}catch(F0){O0.thrownErrors.push(F0)}if(0<O0.thrownErrors.length)throw C0(f,s),P=z0(O0.thrownErrors),O0.thrownErrors.length=0,P;if(P0!==null&&typeof P0==="object"&&typeof P0.then==="function"){var E0=P0;return J7(function(){q0||C2||(C2=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(F0,K5){q0=!0,E0.then(function(d5){if(C0(f,s),s===0){try{J0(e),w0(function(){return l(d5,F0,K5)})}catch(q7){O0.thrownErrors.push(q7)}if(0<O0.thrownErrors.length){var W6=z0(O0.thrownErrors);O0.thrownErrors.length=0,K5(W6)}}else F0(d5)},function(d5){C0(f,s),0<O0.thrownErrors.length?(d5=z0(O0.thrownErrors),O0.thrownErrors.length=0,K5(d5)):K5(d5)})}}}var i0=P0;if(C0(f,s),s===0&&(J0(e),e.length!==0&&J7(function(){q0||C2||(C2=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),O0.actQueue=null),0<O0.thrownErrors.length)throw P=z0(O0.thrownErrors),O0.thrownErrors.length=0,P;return{then:function(F0,K5){q0=!0,s===0?(O0.actQueue=e,w0(function(){return l(i0,F0,K5)})):F0(i0)}}},lE.cache=function(P){return function(){return P.apply(null,arguments)}},lE.cacheSignal=function(){return null},lE.captureOwnerStack=function(){var P=O0.getCurrentStack;return P===null?null:P()},lE.cloneElement=function(P,f,s){if(P===null||P===void 0)throw Error("The argument must be a React element, but you passed "+P+".");var e=V2({},P.props),q0=P.key,P0=P._owner;if(f!=null){var E0;$:{if(D$.call(f,"ref")&&(E0=Object.getOwnPropertyDescriptor(f,"ref").get)&&E0.isReactWarning){E0=!1;break $}E0=f.ref!==void 0}E0&&(P0=z()),E(f)&&(F(f.key),q0=""+f.key);for(i0 in f)!D$.call(f,i0)||i0==="key"||i0==="__self"||i0==="__source"||i0==="ref"&&f.ref===void 0||(e[i0]=f[i0])}var i0=arguments.length-2;if(i0===1)e.children=s;else if(1<i0){E0=Array(i0);for(var F0=0;F0<i0;F0++)E0[F0]=arguments[F0+2];e.children=E0}e=C(P.type,q0,e,P0,P._debugStack,P._debugTask);for(q0=2;q0<arguments.length;q0++)m(arguments[q0]);return e},lE.createContext=function(P){return P={$$typeof:H0,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null},P.Provider=P,P.Consumer={$$typeof:B0,_context:P},P._currentRenderer=null,P._currentRenderer2=null,P},lE.createElement=function(P,f,s){for(var e=2;e<arguments.length;e++)m(arguments[e]);e={};var q0=null;if(f!=null)for(F0 in d4||!("__self"in f)||"key"in f||(d4=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),E(f)&&(F(f.key),q0=""+f.key),f)D$.call(f,F0)&&F0!=="key"&&F0!=="__self"&&F0!=="__source"&&(e[F0]=f[F0]);var P0=arguments.length-2;if(P0===1)e.children=s;else if(1<P0){for(var E0=Array(P0),i0=0;i0<P0;i0++)E0[i0]=arguments[i0+2];Object.freeze&&Object.freeze(E0),e.children=E0}if(P&&P.defaultProps)for(F0 in P0=P.defaultProps,P0)e[F0]===void 0&&(e[F0]=P0[F0]);q0&&I(e,typeof P==="function"?P.displayName||P.name||"Unknown":P);var F0=1e4>O0.recentlyCreatedOwnerStacks++;return C(P,q0,e,z(),F0?Error("react-stack-top-frame"):_2,F0?H1(R(P)):Z3)},lE.createRef=function(){var P={current:null};return Object.seal(P),P},lE.forwardRef=function(P){P!=null&&P.$$typeof===f1?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof P!=="function"?console.error("forwardRef requires a render function but was given %s.",P===null?"null":typeof P):P.length!==0&&P.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",P.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),P!=null&&P.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var f={$$typeof:b0,render:P},s;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(e){s=e,P.name||P.displayName||(Object.defineProperty(P,"name",{value:e}),P.displayName=e)}}),f},lE.isValidElement=n,lE.lazy=function(P){P={_status:-1,_result:P};var f={$$typeof:N5,_payload:P,_init:Y0},s={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return P._ioInfo=s,f._debugInfo=[{awaited:s}],f},lE.memo=function(P,f){P==null&&console.error("memo: The first argument must be a component. Instead received: %s",P===null?"null":typeof P),f={$$typeof:f1,type:P,compare:f===void 0?null:f};var s;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(e){s=e,P.name||P.displayName||(Object.defineProperty(P,"name",{value:e}),P.displayName=e)}}),f},lE.startTransition=function(P){var f=O0.T,s={};s._updatedFibers=new Set,O0.T=s;try{var e=P(),q0=O0.S;q0!==null&&q0(s,e),typeof e==="object"&&e!==null&&typeof e.then==="function"&&(O0.asyncTransitions++,e.then(N0,N0),e.then(H,M6))}catch(P0){M6(P0)}finally{f===null&&s._updatedFibers&&(P=s._updatedFibers.size,s._updatedFibers.clear(),10<P&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),f!==null&&s.types!==null&&(f.types!==null&&f.types!==s.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),f.types=s.types),O0.T=f}},lE.unstable_useCacheRefresh=function(){return d().useCacheRefresh()},lE.use=function(P){return d().use(P)},lE.useActionState=function(P,f,s){return d().useActionState(P,f,s)},lE.useCallback=function(P,f){return d().useCallback(P,f)},lE.useContext=function(P){var f=d();return P.$$typeof===B0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),f.useContext(P)},lE.useDebugValue=function(P,f){return d().useDebugValue(P,f)},lE.useDeferredValue=function(P,f){return d().useDeferredValue(P,f)},lE.useEffect=function(P,f){return P==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useEffect(P,f)},lE.useEffectEvent=function(P){return d().useEffectEvent(P)},lE.useId=function(){return d().useId()},lE.useImperativeHandle=function(P,f,s){return d().useImperativeHandle(P,f,s)},lE.useInsertionEffect=function(P,f){return P==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useInsertionEffect(P,f)},lE.useLayoutEffect=function(P,f){return P==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useLayoutEffect(P,f)},lE.useMemo=function(P,f){return d().useMemo(P,f)},lE.useOptimistic=function(P,f){return d().useOptimistic(P,f)},lE.useReducer=function(P,f,s){return d().useReducer(P,f,s)},lE.useRef=function(P){return d().useRef(P)},lE.useState=function(P){return d().useState(P)},lE.useSyncExternalStore=function(P,f,s){return d().useSyncExternalStore(P,f,s)},lE.useTransition=function(){return d().useTransition()},lE.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var hw=Q2((rE)=>{var fU=T0(e1());(function(){function Q(){}function J(R){return""+R}function q(R,z,L){var E=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{J(E);var I=!1}catch(A){I=!0}return I&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.constructor.name||"Object"),J(E)),{$$typeof:F,key:E==null?null:""+E,children:R,containerInfo:z,implementation:L}}function Y(R,z){if(R==="font")return"";if(typeof z==="string")return z==="use-credentials"?z:""}function U(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":'something with type "'+typeof R+'"'}function K(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":typeof R==="string"?JSON.stringify(R):typeof R==="number"?"`"+R+"`":'something with type "'+typeof R+'"'}function H(){var R=T.H;return R===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),C}function K0(){j0.asyncTransitions--}function B0(C){if(E6===null)try{var y=("require"+Math.random()).slice(0,7);E6=(lq&&lq[y]).call(lq,"timers").setImmediate}catch(s){E6=function($0){AJ===!1&&(AJ=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var X0=new MessageChannel;X0.port1.onmessage=$0,X0.port2.postMessage(void 0)}}return E6(C)}function z0(C){return 1<C.length&&typeof AggregateError==="function"?AggregateError(C):C[0]}function F1(C,y){y!==I6-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),I6=y}function r(C,y,s){var $0=j0.actQueue;if($0!==null)if($0.length!==0)try{t($0),B0(function(){return r(C,y,s)});return}catch(X0){j0.thrownErrors.push(X0)}else j0.actQueue=null;0<j0.thrownErrors.length?($0=z0(j0.thrownErrors),j0.thrownErrors.length=0,s($0)):y(C)}function t(C){if(!O6){O6=!0;var y=0;try{for(;y<C.length;y++){var s=C[y];do{j0.didUsePromise=!1;var $0=s(!1);if($0!==null){if(j0.didUsePromise){C[y]=s,C.splice(0,y);return}s=$0}else break}while(1)}C.length=0}catch(X0){C.splice(0,y+1),j0.thrownErrors.push(X0)}finally{O6=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var q0=Symbol.for("react.transitional.element"),u0=Symbol.for("react.portal"),d0=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),H0=Symbol.for("react.consumer"),M0=Symbol.for("react.context"),v0=Symbol.for("react.forward_ref"),y1=Symbol.for("react.suspense"),C0=Symbol.for("react.suspense_list"),_1=Symbol.for("react.memo"),K5=Symbol.for("react.lazy"),I4=Symbol.for("react.activity"),OJ=Symbol.iterator,G0={},A7={isMounted:function(){return!1},enqueueForceUpdate:function(C){q(C,"forceUpdate")},enqueueReplaceState:function(C){q(C,"replaceState")},enqueueSetState:function(C){q(C,"setState")}},_6=Object.assign,R8={};Object.freeze(R8),Y.prototype.isReactComponent={},Y.prototype.setState=function(C,y){if(typeof C!=="object"&&typeof C!=="function"&&C!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,C,y,"setState")},Y.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};var s1={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(z8 in s1)s1.hasOwnProperty(z8)&&Z(z8,s1[z8]);U.prototype=Y.prototype,s1=K.prototype=new U,s1.constructor=K,_6(s1,Y.prototype),s1.isPureReactComponent=!0;var X1=Array.isArray,GQ=Symbol.for("react.client.reference"),j0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},S7=Object.prototype.hasOwnProperty,B1=console.createTask?console.createTask:function(){return null};s1={react_stack_bottom_frame:function(C){return C()}};var DJ,c4,C6={},P6=s1.react_stack_bottom_frame.bind(s1,L)(),qX=B1(w(L)),v7=!1,k7=/\/+/g,w8=typeof reportError==="function"?reportError:function(C){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C==="object"&&C!==null&&typeof C.message==="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(y))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",C);return}console.error(C)},AJ=!1,E6=null,I6=0,j6=!1,O6=!1,qQ=typeof queueMicrotask==="function"?function(C){queueMicrotask(function(){return queueMicrotask(C)})}:B0;s1=Object.freeze({__proto__:null,c:function(C){return d().useMemoCache(C)}});var z8={map:a,forEach:function(C,y,s){a(C,function(){y.apply(this,arguments)},s)},count:function(C){var y=0;return a(C,function(){y++}),y},toArray:function(C){return a(C,function(y){return y})||[]},only:function(C){if(!o(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};rP.Activity=I4,rP.Children=z8,rP.Component=Y,rP.Fragment=d0,rP.Profiler=n,rP.PureComponent=K,rP.StrictMode=S,rP.Suspense=y1,rP.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j0,rP.__COMPILER_RUNTIME=s1,rP.act=function(C){var y=j0.actQueue,s=I6;I6++;var $0=j0.actQueue=y!==null?y:[],X0=!1;try{var P0=C()}catch(F0){j0.thrownErrors.push(F0)}if(0<j0.thrownErrors.length)throw F1(y,s),C=z0(j0.thrownErrors),j0.thrownErrors.length=0,C;if(P0!==null&&typeof P0==="object"&&typeof P0.then==="function"){var E0=P0;return qQ(function(){X0||j6||(j6=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(F0,B5){X0=!0,E0.then(function(c5){if(F1(y,s),s===0){try{t($0),B0(function(){return r(c5,F0,B5)})}catch(XQ){j0.thrownErrors.push(XQ)}if(0<j0.thrownErrors.length){var V8=z0(j0.thrownErrors);j0.thrownErrors.length=0,B5(V8)}}else F0(c5)},function(c5){F1(y,s),0<j0.thrownErrors.length?(c5=z0(j0.thrownErrors),j0.thrownErrors.length=0,B5(c5)):B5(c5)})}}}var o0=P0;if(F1(y,s),s===0&&(t($0),$0.length!==0&&qQ(function(){X0||j6||(j6=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),j0.actQueue=null),0<j0.thrownErrors.length)throw C=z0(j0.thrownErrors),j0.thrownErrors.length=0,C;return{then:function(F0,B5){X0=!0,s===0?(j0.actQueue=$0,B0(function(){return r(o0,F0,B5)})):F0(o0)}}},rP.cache=function(C){return function(){return C.apply(null,arguments)}},rP.cacheSignal=function(){return null},rP.captureOwnerStack=function(){var C=j0.getCurrentStack;return C===null?null:C()},rP.cloneElement=function(C,y,s){if(C===null||C===void 0)throw Error("The argument must be a React element, but you passed "+C+".");var $0=_6({},C.props),X0=C.key,P0=C._owner;if(y!=null){var E0;$:{if(S7.call(y,"ref")&&(E0=Object.getOwnPropertyDescriptor(y,"ref").get)&&E0.isReactWarning){E0=!1;break $}E0=y.ref!==void 0}E0&&(P0=z()),P(y)&&(W(y.key),X0=""+y.key);for(o0 in y)!S7.call(y,o0)||o0==="key"||o0==="__self"||o0==="__source"||o0==="ref"&&y.ref===void 0||($0[o0]=y[o0])}var o0=arguments.length-2;if(o0===1)$0.children=s;else if(1<o0){E0=Array(o0);for(var F0=0;F0<o0;F0++)E0[F0]=arguments[F0+2];$0.children=E0}$0=E(C.type,X0,$0,P0,C._debugStack,C._debugTask);for(X0=2;X0<arguments.length;X0++)m(arguments[X0]);return $0},rP.createContext=function(C){return C={$$typeof:M0,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:H0,_context:C},C._currentRenderer=null,C._currentRenderer2=null,C},rP.createElement=function(C,y,s){for(var $0=2;$0<arguments.length;$0++)m(arguments[$0]);$0={};var X0=null;if(y!=null)for(F0 in c4||!("__self"in y)||"key"in y||(c4=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),P(y)&&(W(y.key),X0=""+y.key),y)S7.call(y,F0)&&F0!=="key"&&F0!=="__self"&&F0!=="__source"&&($0[F0]=y[F0]);var P0=arguments.length-2;if(P0===1)$0.children=s;else if(1<P0){for(var E0=Array(P0),o0=0;o0<P0;o0++)E0[o0]=arguments[o0+2];Object.freeze&&Object.freeze(E0),$0.children=E0}if(C&&C.defaultProps)for(F0 in P0=C.defaultProps,P0)$0[F0]===void 0&&($0[F0]=P0[F0]);X0&&I($0,typeof C==="function"?C.displayName||C.name||"Unknown":C);var F0=1e4>j0.recentlyCreatedOwnerStacks++;return E(C,X0,$0,z(),F0?Error("react-stack-top-frame"):P6,F0?B1(w(C)):qX)},rP.createRef=function(){var C={current:null};return Object.seal(C),C},rP.forwardRef=function(C){C!=null&&C.$$typeof===_1?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof C!=="function"?console.error("forwardRef requires a render function but was given %s.",C===null?"null":typeof C):C.length!==0&&C.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",C.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),C!=null&&C.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var y={$$typeof:v0,render:C},s;return Object.defineProperty(y,"displayName",{enumerable:!1,configurable:!0,get:function(){return s},set:function($0){s=$0,C.name||C.displayName||(Object.defineProperty(C,"name",{value:$0}),C.displayName=$0)}}),y},rP.isValidElement=o,rP.lazy=function(C){C={_status:-1,_result:C};var y={$$typeof:K5,_payload:C,_init:U0},s={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return C._ioInfo=s,y._debugInfo=[{awaited:s}],y},rP.memo=function(C,y){C==null&&console.error("memo: The first argument must be a component. Instead received: %s",C===null?"null":typeof C),y={$$typeof:_1,type:C,compare:y===void 0?null:y};var s;return Object.defineProperty(y,"displayName",{enumerable:!1,configurable:!0,get:function(){return s},set:function($0){s=$0,C.name||C.displayName||(Object.defineProperty(C,"name",{value:$0}),C.displayName=$0)}}),y},rP.startTransition=function(C){var y=j0.T,s={};s._updatedFibers=new Set,j0.T=s;try{var $0=C(),X0=j0.S;X0!==null&&X0(s,$0),typeof $0==="object"&&$0!==null&&typeof $0.then==="function"&&(j0.asyncTransitions++,$0.then(K0,K0),$0.then(H,w8))}catch(P0){w8(P0)}finally{y===null&&s._updatedFibers&&(C=s._updatedFibers.size,s._updatedFibers.clear(),10<C&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),y!==null&&s.types!==null&&(y.types!==null&&y.types!==s.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),y.types=s.types),j0.T=y}},rP.unstable_useCacheRefresh=function(){return d().useCacheRefresh()},rP.use=function(C){return d().use(C)},rP.useActionState=function(C,y,s){return d().useActionState(C,y,s)},rP.useCallback=function(C,y){return d().useCallback(C,y)},rP.useContext=function(C){var y=d();return C.$$typeof===H0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),y.useContext(C)},rP.useDebugValue=function(C,y){return d().useDebugValue(C,y)},rP.useDeferredValue=function(C,y){return d().useDeferredValue(C,y)},rP.useEffect=function(C,y){return C==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useEffect(C,y)},rP.useEffectEvent=function(C){return d().useEffectEvent(C)},rP.useId=function(){return d().useId()},rP.useImperativeHandle=function(C,y,s){return d().useImperativeHandle(C,y,s)},rP.useInsertionEffect=function(C,y){return C==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useInsertionEffect(C,y)},rP.useLayoutEffect=function(C,y){return C==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useLayoutEffect(C,y)},rP.useMemo=function(C,y){return d().useMemo(C,y)},rP.useOptimistic=function(C,y){return d().useOptimistic(C,y)},rP.useReducer=function(C,y,s){return d().useReducer(C,y,s)},rP.useRef=function(C){return d().useRef(C)},rP.useState=function(C){return d().useState(C)},rP.useSyncExternalStore=function(C,y,s){return d().useSyncExternalStore(C,y,s)},rP.useTransition=function(){return d().useTransition()},rP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var mT=Y6((sP)=>{var xU=R0(e1());(function(){function Z(){}function J(w){return""+w}function q(w,z,L){var P=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{J(P);var I=!1}catch(A){I=!0}return I&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&P[Symbol.toStringTag]||P.constructor.name||"Object"),J(P)),{$$typeof:W,key:P==null?null:""+P,children:w,containerInfo:z,implementation:L}}function Y(w,z){if(w==="font")return"";if(typeof z==="string")return z==="use-credentials"?z:""}function U(w){return w===null?"`null`":w===void 0?"`undefined`":w===""?"an empty string":'something with type "'+typeof w+'"'}function K(w){return w===null?"`null`":w===void 0?"`undefined`":w===""?"an empty string":typeof w==="string"?JSON.stringify(w):typeof w==="number"?"`"+w+"`":'something with type "'+typeof w+'"'}function H(){var w=R.H;return w===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
14
14
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
15
|
2. You might be breaking the Rules of Hooks
|
|
16
16
|
3. You might have more than one copy of React in the same app
|
|
17
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),R}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var M={d:{f:Q,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:Q,C:Q,L:Q,m:Q,X:Q,S:Q,M:Q},p:0,findDOMNode:null},F=Symbol.for("react.portal"),T=fU.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),rE.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,rE.createPortal=function(R,z){var L=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)throw Error("Target container is not a DOM element.");return q(R,z,null,L)},rE.flushSync=function(R){var z=T.T,L=M.p;try{if(T.T=null,M.p=2,R)return R()}finally{T.T=z,M.p=L,M.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},rE.preconnect=function(R,z){typeof R==="string"&&R?z!=null&&typeof z!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",K(z)):z!=null&&typeof z.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",U(z.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(R)),typeof R==="string"&&(z?(z=z.crossOrigin,z=typeof z==="string"?z==="use-credentials"?z:"":void 0):z=null,M.d.C(R,z))},rE.prefetchDNS=function(R){if(typeof R!=="string"||!R)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(R));else if(1<arguments.length){var z=arguments[1];typeof z==="object"&&z.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",K(z)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",K(z))}typeof R==="string"&&M.d.D(R)},rE.preinit=function(R,z){if(typeof R==="string"&&R?z==null||typeof z!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",K(z)):z.as!=="style"&&z.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',K(z.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(R)),typeof R==="string"&&z&&typeof z.as==="string"){var L=z.as,E=Y(L,z.crossOrigin),I=typeof z.integrity==="string"?z.integrity:void 0,A=typeof z.fetchPriority==="string"?z.fetchPriority:void 0;L==="style"?M.d.S(R,typeof z.precedence==="string"?z.precedence:void 0,{crossOrigin:E,integrity:I,fetchPriority:A}):L==="script"&&M.d.X(R,{crossOrigin:E,integrity:I,fetchPriority:A,nonce:typeof z.nonce==="string"?z.nonce:void 0})}},rE.preinitModule=function(R,z){var L="";if(typeof R==="string"&&R||(L+=" The `href` argument encountered was "+U(R)+"."),z!==void 0&&typeof z!=="object"?L+=" The `options` argument encountered was "+U(z)+".":z&&("as"in z)&&z.as!=="script"&&(L+=" The `as` option encountered was "+K(z.as)+"."),L)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",L);else switch(L=z&&typeof z.as==="string"?z.as:"script",L){case"script":break;default:L=K(L),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',L,R)}if(typeof R==="string")if(typeof z==="object"&&z!==null){if(z.as==null||z.as==="script")L=Y(z.as,z.crossOrigin),M.d.M(R,{crossOrigin:L,integrity:typeof z.integrity==="string"?z.integrity:void 0,nonce:typeof z.nonce==="string"?z.nonce:void 0})}else z==null&&M.d.M(R)},rE.preload=function(R,z){var L="";if(typeof R==="string"&&R||(L+=" The `href` argument encountered was "+U(R)+"."),z==null||typeof z!=="object"?L+=" The `options` argument encountered was "+U(z)+".":typeof z.as==="string"&&z.as||(L+=" The `as` option encountered was "+U(z.as)+"."),L&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',L),typeof R==="string"&&typeof z==="object"&&z!==null&&typeof z.as==="string"){L=z.as;var E=Y(L,z.crossOrigin);M.d.L(R,L,{crossOrigin:E,integrity:typeof z.integrity==="string"?z.integrity:void 0,nonce:typeof z.nonce==="string"?z.nonce:void 0,type:typeof z.type==="string"?z.type:void 0,fetchPriority:typeof z.fetchPriority==="string"?z.fetchPriority:void 0,referrerPolicy:typeof z.referrerPolicy==="string"?z.referrerPolicy:void 0,imageSrcSet:typeof z.imageSrcSet==="string"?z.imageSrcSet:void 0,imageSizes:typeof z.imageSizes==="string"?z.imageSizes:void 0,media:typeof z.media==="string"?z.media:void 0})}},rE.preloadModule=function(R,z){var L="";typeof R==="string"&&R||(L+=" The `href` argument encountered was "+U(R)+"."),z!==void 0&&typeof z!=="object"?L+=" The `options` argument encountered was "+U(z)+".":z&&("as"in z)&&typeof z.as!=="string"&&(L+=" The `as` option encountered was "+U(z.as)+"."),L&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',L),typeof R==="string"&&(z?(L=Y(z.as,z.crossOrigin),M.d.m(R,{as:typeof z.as==="string"&&z.as!=="script"?z.as:void 0,crossOrigin:L,integrity:typeof z.integrity==="string"?z.integrity:void 0})):M.d.m(R))},rE.requestFormReset=function(R){M.d.r(R)},rE.unstable_batchedUpdates=function(R,z){return R(z)},rE.useFormState=function(R,z,L){return H().useFormState(R,z,L)},rE.useFormStatus=function(){return H().useHostTransitionStatus()},rE.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var uw=Q2((dS,xw)=>{var sE=T0(hw());xw.exports=sE});var mw=Q2((nE)=>{var a0=T0(gw()),k9=T0(e1()),yU=T0(uw());(function(){function Q($,Z){for($=$.memoizedState;$!==null&&0<Z;)$=$.next,Z--;return $}function J($,Z,G,X){if(G>=Z.length)return X;var N=Z[G],B=c1($)?$.slice():y0({},$);return B[N]=J($[N],Z,G+1,X),B}function q($,Z,G){if(Z.length!==G.length)console.warn("copyWithRename() expects paths of the same length");else{for(var X=0;X<G.length-1;X++)if(Z[X]!==G[X]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return Y($,Z,G,0)}}function Y($,Z,G,X){var N=Z[X],B=c1($)?$.slice():y0({},$);return X+1===Z.length?(B[G[X]]=B[N],c1(B)?B.splice(N,1):delete B[N]):B[N]=Y($[N],Z,G,X+1),B}function U($,Z,G){var X=Z[G],N=c1($)?$.slice():y0({},$);if(G+1===Z.length)return c1(N)?N.splice(X,1):delete N[X],N;return N[X]=U($[X],Z,G+1),N}function K(){return!1}function H(){return null}function M(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function F(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function T(){}function R(){}function z($){var Z=[];return $.forEach(function(G){Z.push(G)}),Z.sort().join(", ")}function L($,Z,G,X){return new IL($,Z,G,X)}function E($,Z){$.context===f6&&(ZY($.current,2,Z,$,null,null),c$())}function I($,Z){if(B4!==null){var G=Z.staleFamilies;Z=Z.updatedFamilies,S7(),dK($.current,Z,G),c$()}}function A($){B4=$}function C($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function y($){var Z=$,G=$;if($.alternate)for(;Z.return;)Z=Z.return;else{$=Z;do Z=$,(Z.flags&4098)!==0&&(G=Z.return),$=Z.return;while($)}return Z.tag===3?G:null}function m($){if($.tag===13){var Z=$.memoizedState;if(Z===null&&($=$.alternate,$!==null&&(Z=$.memoizedState)),Z!==null)return Z.dehydrated}return null}function n($){if($.tag===31){var Z=$.memoizedState;if(Z===null&&($=$.alternate,$!==null&&(Z=$.memoizedState)),Z!==null)return Z.dehydrated}return null}function i($){if(y($)!==$)throw Error("Unable to find node on an unmounted component.")}function r($){var Z=$.alternate;if(!Z){if(Z=y($),Z===null)throw Error("Unable to find node on an unmounted component.");return Z!==$?null:$}for(var G=$,X=Z;;){var N=G.return;if(N===null)break;var B=N.alternate;if(B===null){if(X=N.return,X!==null){G=X;continue}break}if(N.child===B.child){for(B=N.child;B;){if(B===G)return i(N),$;if(B===X)return i(N),Z;B=B.sibling}throw Error("Unable to find node on an unmounted component.")}if(G.return!==X.return)G=N,X=B;else{for(var W=!1,w=N.child;w;){if(w===G){W=!0,G=N,X=B;break}if(w===X){W=!0,X=N,G=B;break}w=w.sibling}if(!W){for(w=B.child;w;){if(w===G){W=!0,G=B,X=N;break}if(w===X){W=!0,X=B,G=N;break}w=w.sibling}if(!W)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(G.alternate!==X)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(G.tag!==3)throw Error("Unable to find node on an unmounted component.");return G.stateNode.current===G?$:Z}function Q0($){var Z=$.tag;if(Z===5||Z===26||Z===27||Z===6)return $;for($=$.child;$!==null;){if(Z=Q0($),Z!==null)return Z;$=$.sibling}return null}function p($){if($===null||typeof $!=="object")return null;return $=oM&&$[oM]||$["@@iterator"],typeof $==="function"?$:null}function a($){if($==null)return null;if(typeof $==="function")return $.$$typeof===s_?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case a$:return"Fragment";case YY:return"Profiler";case fG:return"StrictMode";case NY:return"Suspense";case KY:return"SuspenseList";case BY:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case i$:return"Portal";case X8:return $.displayName||"Context";case UY:return($._context.displayName||"Context")+".Consumer";case m7:var Z=$.render;return $=$.displayName,$||($=Z.displayName||Z.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case yG:return Z=$.displayName||null,Z!==null?Z:a($.type)||"Memo";case a5:Z=$._payload,$=$._init;try{return a($(Z))}catch(G){}}return null}function Y0($){return typeof $.tag==="number"?d($):typeof $.name==="string"?$.name:null}function d($){var Z=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(Z._context.displayName||"Context")+".Consumer";case 10:return Z.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=Z.render,$=$.displayName||$.name||"",Z.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return Z;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return a(Z);case 8:return Z===fG?"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 14:case 15:if(typeof Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;break;case 29:if(Z=$._debugInfo,Z!=null){for(var G=Z.length-1;0<=G;G--)if(typeof Z[G].name==="string")return Z[G].name}if($.return!==null)return d($.return)}return null}function N0($){return{current:$}}function w0($,Z){0>f8?console.error("Unexpected pop."):(Z!==MY[f8]&&console.error("Unexpected Fiber popped."),$.current=HY[f8],HY[f8]=null,MY[f8]=null,f8--)}function z0($,Z,G){f8++,HY[f8]=$.current,MY[f8]=G,$.current=Z}function C0($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function l($,Z){z0(D6,Z,$),z0(d7,$,$),z0(O6,null,$);var G=Z.nodeType;switch(G){case 9:case 11:G=G===9?"#document":"#fragment",Z=(Z=Z.documentElement)?(Z=Z.namespaceURI)?zM(Z):o8:o8;break;default:if(G=Z.tagName,Z=Z.namespaceURI)Z=zM(Z),Z=VM(Z,G);else switch(G){case"svg":Z=S9;break;case"math":Z=bJ;break;default:Z=o8}}G=G.toLowerCase(),G=MK(null,G),G={context:Z,ancestorInfo:G},w0(O6,$),z0(O6,G,$)}function J0($){w0(O6,$),w0(d7,$),w0(D6,$)}function K0(){return C0(O6.current)}function d0($){$.memoizedState!==null&&z0(gG,$,$);var Z=C0(O6.current),G=$.type,X=VM(Z.context,G);G=MK(Z.ancestorInfo,G),X={context:X,ancestorInfo:G},Z!==X&&(z0(d7,$,$),z0(O6,X,$))}function k0($){d7.current===$&&(w0(O6,$),w0(d7,$)),gG.current===$&&(w0(gG,$),kZ._currentValue=K$)}function S(){}function o(){if(p7===0){iM=console.log,aM=console.info,tM=console.warn,eM=console.error,$F=console.group,ZF=console.groupCollapsed,QF=console.groupEnd;var $={configurable:!0,enumerable:!0,value:S,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}p7++}function B0(){if(p7--,p7===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y0({},$,{value:iM}),info:y0({},$,{value:aM}),warn:y0({},$,{value:tM}),error:y0({},$,{value:eM}),group:y0({},$,{value:$F}),groupCollapsed:y0({},$,{value:ZF}),groupEnd:y0({},$,{value:QF})})}0>p7&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function H0($){var Z=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=Z,$.startsWith(`Error: react-stack-top-frame
|
|
18
|
-
`)&&($=$.slice(29)),
|
|
19
|
-
`),
|
|
20
|
-
`,
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),w}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var M={d:{f:Z,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:Z,C:Z,L:Z,m:Z,X:Z,S:Z,M:Z},p:0,findDOMNode:null},W=Symbol.for("react.portal"),R=xU.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),sP.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,sP.createPortal=function(w,z){var L=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)throw Error("Target container is not a DOM element.");return q(w,z,null,L)},sP.flushSync=function(w){var z=R.T,L=M.p;try{if(R.T=null,M.p=2,w)return w()}finally{R.T=z,M.p=L,M.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},sP.preconnect=function(w,z){typeof w==="string"&&w?z!=null&&typeof z!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",K(z)):z!=null&&typeof z.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",U(z.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(w)),typeof w==="string"&&(z?(z=z.crossOrigin,z=typeof z==="string"?z==="use-credentials"?z:"":void 0):z=null,M.d.C(w,z))},sP.prefetchDNS=function(w){if(typeof w!=="string"||!w)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(w));else if(1<arguments.length){var z=arguments[1];typeof z==="object"&&z.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",K(z)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",K(z))}typeof w==="string"&&M.d.D(w)},sP.preinit=function(w,z){if(typeof w==="string"&&w?z==null||typeof z!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",K(z)):z.as!=="style"&&z.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',K(z.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(w)),typeof w==="string"&&z&&typeof z.as==="string"){var L=z.as,P=Y(L,z.crossOrigin),I=typeof z.integrity==="string"?z.integrity:void 0,A=typeof z.fetchPriority==="string"?z.fetchPriority:void 0;L==="style"?M.d.S(w,typeof z.precedence==="string"?z.precedence:void 0,{crossOrigin:P,integrity:I,fetchPriority:A}):L==="script"&&M.d.X(w,{crossOrigin:P,integrity:I,fetchPriority:A,nonce:typeof z.nonce==="string"?z.nonce:void 0})}},sP.preinitModule=function(w,z){var L="";if(typeof w==="string"&&w||(L+=" The `href` argument encountered was "+U(w)+"."),z!==void 0&&typeof z!=="object"?L+=" The `options` argument encountered was "+U(z)+".":z&&("as"in z)&&z.as!=="script"&&(L+=" The `as` option encountered was "+K(z.as)+"."),L)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",L);else switch(L=z&&typeof z.as==="string"?z.as:"script",L){case"script":break;default:L=K(L),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',L,w)}if(typeof w==="string")if(typeof z==="object"&&z!==null){if(z.as==null||z.as==="script")L=Y(z.as,z.crossOrigin),M.d.M(w,{crossOrigin:L,integrity:typeof z.integrity==="string"?z.integrity:void 0,nonce:typeof z.nonce==="string"?z.nonce:void 0})}else z==null&&M.d.M(w)},sP.preload=function(w,z){var L="";if(typeof w==="string"&&w||(L+=" The `href` argument encountered was "+U(w)+"."),z==null||typeof z!=="object"?L+=" The `options` argument encountered was "+U(z)+".":typeof z.as==="string"&&z.as||(L+=" The `as` option encountered was "+U(z.as)+"."),L&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',L),typeof w==="string"&&typeof z==="object"&&z!==null&&typeof z.as==="string"){L=z.as;var P=Y(L,z.crossOrigin);M.d.L(w,L,{crossOrigin:P,integrity:typeof z.integrity==="string"?z.integrity:void 0,nonce:typeof z.nonce==="string"?z.nonce:void 0,type:typeof z.type==="string"?z.type:void 0,fetchPriority:typeof z.fetchPriority==="string"?z.fetchPriority:void 0,referrerPolicy:typeof z.referrerPolicy==="string"?z.referrerPolicy:void 0,imageSrcSet:typeof z.imageSrcSet==="string"?z.imageSrcSet:void 0,imageSizes:typeof z.imageSizes==="string"?z.imageSizes:void 0,media:typeof z.media==="string"?z.media:void 0})}},sP.preloadModule=function(w,z){var L="";typeof w==="string"&&w||(L+=" The `href` argument encountered was "+U(w)+"."),z!==void 0&&typeof z!=="object"?L+=" The `options` argument encountered was "+U(z)+".":z&&("as"in z)&&typeof z.as!=="string"&&(L+=" The `as` option encountered was "+U(z.as)+"."),L&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',L),typeof w==="string"&&(z?(L=Y(z.as,z.crossOrigin),M.d.m(w,{as:typeof z.as==="string"&&z.as!=="script"?z.as:void 0,crossOrigin:L,integrity:typeof z.integrity==="string"?z.integrity:void 0})):M.d.m(w))},sP.requestFormReset=function(w){M.d.r(w)},sP.unstable_batchedUpdates=function(w,z){return w(z)},sP.useFormState=function(w,z,L){return H().useFormState(w,z,L)},sP.useFormStatus=function(){return H().useHostTransitionStatus()},sP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var pT=Y6((Qv,dT)=>{var nP=R0(mT());dT.exports=nP});var cT=Y6((oP)=>{var i0=R0(uT()),y9=R0(e1()),uU=R0(pT());(function(){function Z($,Q){for($=$.memoizedState;$!==null&&0<Q;)$=$.next,Q--;return $}function J($,Q,G,X){if(G>=Q.length)return X;var N=Q[G],B=c1($)?$.slice():b0({},$);return B[N]=J($[N],Q,G+1,X),B}function q($,Q,G){if(Q.length!==G.length)console.warn("copyWithRename() expects paths of the same length");else{for(var X=0;X<G.length-1;X++)if(Q[X]!==G[X]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return Y($,Q,G,0)}}function Y($,Q,G,X){var N=Q[X],B=c1($)?$.slice():b0({},$);return X+1===Q.length?(B[G[X]]=B[N],c1(B)?B.splice(N,1):delete B[N]):B[N]=Y($[N],Q,G,X+1),B}function U($,Q,G){var X=Q[G],N=c1($)?$.slice():b0({},$);if(G+1===Q.length)return c1(N)?N.splice(X,1):delete N[X],N;return N[X]=U($[X],Q,G+1),N}function K(){return!1}function H(){return null}function M(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function W(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function R(){}function w(){}function z($){var Q=[];return $.forEach(function(G){Q.push(G)}),Q.sort().join(", ")}function L($,Q,G,X){return new jL($,Q,G,X)}function P($,Q){$.context===u8&&(qY($.current,2,Q,$,null,null),r7())}function I($,Q){if(M4!==null){var G=Q.staleFamilies;Q=Q.updatedFamilies,vQ(),lK($.current,Q,G),r7()}}function A($){M4=$}function E($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function g($){var Q=$,G=$;if($.alternate)for(;Q.return;)Q=Q.return;else{$=Q;do Q=$,(Q.flags&4098)!==0&&(G=Q.return),$=Q.return;while($)}return Q.tag===3?G:null}function m($){if($.tag===13){var Q=$.memoizedState;if(Q===null&&($=$.alternate,$!==null&&(Q=$.memoizedState)),Q!==null)return Q.dehydrated}return null}function o($){if($.tag===31){var Q=$.memoizedState;if(Q===null&&($=$.alternate,$!==null&&(Q=$.memoizedState)),Q!==null)return Q.dehydrated}return null}function i($){if(g($)!==$)throw Error("Unable to find node on an unmounted component.")}function l($){var Q=$.alternate;if(!Q){if(Q=g($),Q===null)throw Error("Unable to find node on an unmounted component.");return Q!==$?null:$}for(var G=$,X=Q;;){var N=G.return;if(N===null)break;var B=N.alternate;if(B===null){if(X=N.return,X!==null){G=X;continue}break}if(N.child===B.child){for(B=N.child;B;){if(B===G)return i(N),$;if(B===X)return i(N),Q;B=B.sibling}throw Error("Unable to find node on an unmounted component.")}if(G.return!==X.return)G=N,X=B;else{for(var F=!1,T=N.child;T;){if(T===G){F=!0,G=N,X=B;break}if(T===X){F=!0,X=N,G=B;break}T=T.sibling}if(!F){for(T=B.child;T;){if(T===G){F=!0,G=B,X=N;break}if(T===X){F=!0,X=B,G=N;break}T=T.sibling}if(!F)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(G.alternate!==X)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(G.tag!==3)throw Error("Unable to find node on an unmounted component.");return G.stateNode.current===G?$:Q}function J0($){var Q=$.tag;if(Q===5||Q===26||Q===27||Q===6)return $;for($=$.child;$!==null;){if(Q=J0($),Q!==null)return Q;$=$.sibling}return null}function p($){if($===null||typeof $!=="object")return null;return $=tM&&$[tM]||$["@@iterator"],typeof $==="function"?$:null}function a($){if($==null)return null;if(typeof $==="function")return $.$$typeof===n_?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case e7:return"Fragment";case BY:return"Profiler";case xG:return"StrictMode";case MY:return"Suspense";case WY:return"SuspenseList";case FY:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case t7:return"Portal";case U$:return $.displayName||"Context";case HY:return($._context.displayName||"Context")+".Consumer";case dQ:var Q=$.render;return $=$.displayName,$||($=Q.displayName||Q.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case uG:return Q=$.displayName||null,Q!==null?Q:a($.type)||"Memo";case e5:Q=$._payload,$=$._init;try{return a($(Q))}catch(G){}}return null}function U0($){return typeof $.tag==="number"?d($):typeof $.name==="string"?$.name:null}function d($){var Q=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(Q._context.displayName||"Context")+".Consumer";case 10:return Q.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=Q.render,$=$.displayName||$.name||"",Q.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return Q;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return a(Q);case 8:return Q===xG?"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 14:case 15:if(typeof Q==="function")return Q.displayName||Q.name||null;if(typeof Q==="string")return Q;break;case 29:if(Q=$._debugInfo,Q!=null){for(var G=Q.length-1;0<=G;G--)if(typeof Q[G].name==="string")return Q[G].name}if($.return!==null)return d($.return)}return null}function K0($){return{current:$}}function B0($,Q){0>h$?console.error("Unexpected pop."):(Q!==RY[h$]&&console.error("Unexpected Fiber popped."),$.current=TY[h$],TY[h$]=null,RY[h$]=null,h$--)}function z0($,Q,G){h$++,TY[h$]=$.current,RY[h$]=G,$.current=Q}function F1($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function r($,Q){z0(b8,Q,$),z0(pQ,$,$),z0(k8,null,$);var G=Q.nodeType;switch(G){case 9:case 11:G=G===9?"#document":"#fragment",Q=(Q=Q.documentElement)?(Q=Q.namespaceURI)?_M(Q):t$:t$;break;default:if(G=Q.tagName,Q=Q.namespaceURI)Q=_M(Q),Q=CM(Q,G);else switch(G){case"svg":Q=k9;break;case"math":Q=hq;break;default:Q=t$}}G=G.toLowerCase(),G=TK(null,G),G={context:Q,ancestorInfo:G},B0(k8,$),z0(k8,G,$)}function t($){B0(k8,$),B0(pQ,$),B0(b8,$)}function q0(){return F1(k8.current)}function u0($){$.memoizedState!==null&&z0(mG,$,$);var Q=F1(k8.current),G=$.type,X=CM(Q.context,G);G=TK(Q.ancestorInfo,G),X={context:X,ancestorInfo:G},Q!==X&&(z0(pQ,$,$),z0(k8,X,$))}function d0($){pQ.current===$&&(B0(k8,$),B0(pQ,$)),mG.current===$&&(B0(mG,$),bZ._currentValue=H7)}function S(){}function n(){if(cQ===0){eM=console.log,$W=console.info,QW=console.warn,ZW=console.error,JW=console.group,GW=console.groupCollapsed,qW=console.groupEnd;var $={configurable:!0,enumerable:!0,value:S,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}cQ++}function H0(){if(cQ--,cQ===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:b0({},$,{value:eM}),info:b0({},$,{value:$W}),warn:b0({},$,{value:QW}),error:b0({},$,{value:ZW}),group:b0({},$,{value:JW}),groupCollapsed:b0({},$,{value:GW}),groupEnd:b0({},$,{value:qW})})}0>cQ&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function M0($){var Q=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=Q,$.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&($=$.slice(29)),Q=$.indexOf(`
|
|
19
|
+
`),Q!==-1&&($=$.slice(Q+1)),Q=$.indexOf("react_stack_bottom_frame"),Q!==-1&&(Q=$.lastIndexOf(`
|
|
20
|
+
`,Q)),Q!==-1)$=$.slice(0,Q);else return"";return $}function v0($){if(wY===void 0)try{throw Error()}catch(G){var Q=G.stack.trim().match(/\n( *(at )?)/);wY=Q&&Q[1]||"",XW=-1<G.stack.indexOf(`
|
|
21
21
|
at`)?" (<anonymous>)":-1<G.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
-
`+
|
|
22
|
+
`+wY+$+XW}function y1($,Q){if(!$||zY)return"";var G=VY.get($);if(G!==void 0)return G;zY=!0,G=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var X=null;X=x.H,x.H=null,n();try{var N={DetermineComponentFrameRoot:function(){try{if(Q){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(e){var f=e}Reflect.construct($,[],O)}else{try{O.call()}catch(e){f=e}$.call(O.prototype)}}else{try{throw Error()}catch(e){f=e}(O=$())&&typeof O.catch==="function"&&O.catch(function(){})}}catch(e){if(e&&f&&typeof e.stack==="string")return[e.stack,f.stack]}return[null,null]}};N.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var B=Object.getOwnPropertyDescriptor(N.DetermineComponentFrameRoot,"name");B&&B.configurable&&Object.defineProperty(N.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var F=N.DetermineComponentFrameRoot(),T=F[0],V=F[1];if(T&&V){var _=T.split(`
|
|
23
23
|
`),k=V.split(`
|
|
24
|
-
`);for(
|
|
25
|
-
`+_[B].replace(" at new "," at ");return $.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",$.displayName)),typeof $==="function"&&
|
|
26
|
-
`),O=b===-1?k:k.slice(b+1);if(O.indexOf(
|
|
27
|
-
`+O;break $}}
|
|
28
|
-
Error generating stack: `+
|
|
29
|
-
`+
|
|
30
|
-
`+N)}}else if($.debugStack!=null){var B=$.debugStack;($=$.owner)&&B&&(
|
|
31
|
-
`+
|
|
32
|
-
Error generating stack: `+
|
|
33
|
-
`+w.stack}return W}function G0($,Z,G,X,N,B,W){var w=t5;O$($);try{return $!==null&&$._debugTask?$._debugTask.run(Z.bind(null,G,X,N,B,W)):Z(G,X,N,B,W)}finally{O$(w)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function O$($){x.getCurrentStack=$===null?null:EQ,Y8=!1,t5=$}function V2($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function H6($){try{return s1($),!1}catch(Z){return!0}}function s1($){return""+$}function Y1($,Z){if(H6($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",Z,V2($)),s1($)}function G7($,Z){if(H6($))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",Z,V2($)),s1($)}function O0($){if(H6($))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",V2($)),s1($)}function D$($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var Z=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(Z.isDisabled)return!0;if(!Z.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{e$=Z.inject($),H5=Z}catch(G){console.error("React instrumentation encountered an error: %o.",G)}return Z.checkDCE?!0:!1}function H1($){if(typeof $P==="function"&&ZP($),H5&&typeof H5.setStrictMode==="function")try{H5.setStrictMode(e$,$)}catch(Z){U8||(U8=!0,console.error("React instrumentation encountered an error: %o",Z))}}function CQ($){return $>>>=0,$===0?32:31-(QP($)/GP|0)|0}function d4($){var Z=$&42;if(Z!==0)return Z;switch($&-$){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),$}}function L2($,Z,G){var X=$.pendingLanes;if(X===0)return 0;var N=0,B=$.suspendedLanes,W=$.pingedLanes;$=$.warmLanes;var w=X&134217727;return w!==0?(X=w&~B,X!==0?N=d4(X):(W&=w,W!==0?N=d4(W):G||(G=w&~$,G!==0&&(N=d4(G))))):(w=X&~B,w!==0?N=d4(w):W!==0?N=d4(W):G||(G=X&~$,G!==0&&(N=d4(G)))),N===0?0:Z!==0&&Z!==N&&(Z&B)===0&&(B=N&-N,G=Z&-Z,B>=G||B===32&&(G&4194048)!==0)?Z:N}function _2($,Z){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&Z)===0}function Z3($,Z){switch($){case 1:case 2:case 4:case 8:case 64:return Z+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return Z+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function A$(){var $=uG;return uG<<=1,(uG&62914560)===0&&(uG=4194304),$}function S$($){for(var Z=[],G=0;31>G;G++)Z.push($);return Z}function M6($,Z){$.pendingLanes|=Z,Z!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function IQ($,Z,G,X,N,B){var W=$.pendingLanes;$.pendingLanes=G,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=G,$.entangledLanes&=G,$.errorRecoveryDisabledLanes&=G,$.shellSuspendCounter=0;var{entanglements:w,expirationTimes:V,hiddenUpdates:_}=$;for(G=W&~G;0<G;){var k=31-w5(G),b=1<<k;w[k]=0,V[k]=-1;var O=_[k];if(O!==null)for(_[k]=null,k=0;k<O.length;k++){var g=O[k];g!==null&&(g.lane&=-536870913)}G&=~b}X!==0&&P2($,X,0),B!==0&&N===0&&$.tag!==0&&($.suspendedLanes|=B&~(W&~Z))}function P2($,Z,G){$.pendingLanes|=Z,$.suspendedLanes&=~Z;var X=31-w5(Z);$.entangledLanes|=Z,$.entanglements[X]=$.entanglements[X]|1073741824|G&261930}function E2($,Z){var G=$.entangledLanes|=Z;for($=$.entanglements;G;){var X=31-w5(G),N=1<<X;N&Z|$[X]&Z&&($[X]|=Z),G&=~N}}function C2($,Z){var G=Z&-Z;return G=(G&42)!==0?1:I2(G),(G&($.suspendedLanes|Z))!==0?0:G}function I2($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function J7($,Z,G){if(N8)for($=$.pendingUpdatersLaneMap;0<G;){var X=31-w5(G),N=1<<X;$[X].add(Z),G&=~N}}function F6($,Z){if(N8)for(var{pendingUpdatersLaneMap:G,memoizedUpdaters:X}=$;0<Z;){var N=31-w5(Z);$=1<<N,N=G[N],0<N.size&&(N.forEach(function(B){var W=B.alternate;W!==null&&X.has(W)||X.add(B)}),N.clear()),Z&=~$}}function P($){return $&=-$,e5!==0&&e5<$?D4!==0&&D4<$?($&134217727)!==0?K8:mG:D4:e5}function f(){var $=Z1.p;if($!==0)return $;return $=window.event,$===void 0?K8:dM($.type)}function s($,Z){var G=Z1.p;try{return Z1.p=$,Z()}finally{Z1.p=G}}function e($){delete $[G5],delete $[T5],delete $[LY],delete $[JP],delete $[qP]}function q0($){var Z=$[G5];if(Z)return Z;for(var G=$.parentNode;G;){if(Z=G[S6]||G[G5]){if(G=Z.alternate,Z.child!==null||G!==null&&G.child!==null)for($=OM($);$!==null;){if(G=$[G5])return G;$=OM($)}return Z}$=G,G=$.parentNode}return null}function P0($){if($=$[G5]||$[S6]){var Z=$.tag;if(Z===5||Z===6||Z===13||Z===31||Z===26||Z===27||Z===3)return $}return null}function E0($){var Z=$.tag;if(Z===5||Z===26||Z===27||Z===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function i0($){var Z=$[JF];return Z||(Z=$[JF]={hoistableStyles:new Map,hoistableScripts:new Map}),Z}function F0($){$[c7]=!0}function K5($,Z){d5($,Z),d5($+"Capture",Z)}function d5($,Z){d2[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),d2[$]=Z;var G=$.toLowerCase();_Y[G]=$,$==="onDoubleClick"&&(_Y.ondblclick=$);for($=0;$<Z.length;$++)qF.add(Z[$])}function W6($,Z){XP[Z.type]||Z.onChange||Z.onInput||Z.readOnly||Z.disabled||Z.value==null||($==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),Z.onChange||Z.readOnly||Z.disabled||Z.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function q7($){if(O4.call(YF,$))return!0;if(O4.call(XF,$))return!1;if(YP.test($))return YF[$]=!0;return XF[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function tN($,Z,G){if(q7(Z)){if(!$.hasAttribute(Z)){switch(typeof G){case"symbol":case"object":return G;case"function":return G;case"boolean":if(G===!1)return G}return G===void 0?void 0:null}if($=$.getAttribute(Z),$===""&&G===!0)return!0;return Y1(G,Z),$===""+G?G:$}}function jQ($,Z,G){if(q7(Z))if(G===null)$.removeAttribute(Z);else{switch(typeof G){case"undefined":case"function":case"symbol":$.removeAttribute(Z);return;case"boolean":var X=Z.toLowerCase().slice(0,5);if(X!=="data-"&&X!=="aria-"){$.removeAttribute(Z);return}}Y1(G,Z),$.setAttribute(Z,""+G)}}function OQ($,Z,G){if(G===null)$.removeAttribute(Z);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Z);return}Y1(G,Z),$.setAttribute(Z,""+G)}}function I8($,Z,G,X){if(X===null)$.removeAttribute(G);else{switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(G);return}Y1(X,G),$.setAttributeNS(Z,G,""+X)}}function X4($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return O0($),$;default:return""}}function eN($){var Z=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(Z==="checkbox"||Z==="radio")}function GL($,Z,G){var X=Object.getOwnPropertyDescriptor($.constructor.prototype,Z);if(!$.hasOwnProperty(Z)&&typeof X<"u"&&typeof X.get==="function"&&typeof X.set==="function"){var{get:N,set:B}=X;return Object.defineProperty($,Z,{configurable:!0,get:function(){return N.call(this)},set:function(W){O0(W),G=""+W,B.call(this,W)}}),Object.defineProperty($,Z,{enumerable:X.enumerable}),{getValue:function(){return G},setValue:function(W){O0(W),G=""+W},stopTracking:function(){$._valueTracker=null,delete $[Z]}}}}function Q3($){if(!$._valueTracker){var Z=eN($)?"checked":"value";$._valueTracker=GL($,Z,""+$[Z])}}function $K($){if(!$)return!1;var Z=$._valueTracker;if(!Z)return!0;var G=Z.getValue(),X="";return $&&(X=eN($)?$.checked?"true":"false":$.value),$=X,$!==G?(Z.setValue($),!0):!1}function DQ($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(Z){return $.body}}function Y4($){return $.replace(UP,function(Z){return"\\"+Z.charCodeAt(0).toString(16)+" "})}function ZK($,Z){Z.checked===void 0||Z.defaultChecked===void 0||NF||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",E4()||"A component",Z.type),NF=!0),Z.value===void 0||Z.defaultValue===void 0||UF||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",E4()||"A component",Z.type),UF=!0)}function G3($,Z,G,X,N,B,W,w){if($.name="",W!=null&&typeof W!=="function"&&typeof W!=="symbol"&&typeof W!=="boolean"?(Y1(W,"type"),$.type=W):$.removeAttribute("type"),Z!=null)if(W==="number"){if(Z===0&&$.value===""||$.value!=Z)$.value=""+X4(Z)}else $.value!==""+X4(Z)&&($.value=""+X4(Z));else W!=="submit"&&W!=="reset"||$.removeAttribute("value");Z!=null?J3($,W,X4(Z)):G!=null?J3($,W,X4(G)):X!=null&&$.removeAttribute("value"),N==null&&B!=null&&($.defaultChecked=!!B),N!=null&&($.checked=N&&typeof N!=="function"&&typeof N!=="symbol"),w!=null&&typeof w!=="function"&&typeof w!=="symbol"&&typeof w!=="boolean"?(Y1(w,"name"),$.name=""+X4(w)):$.removeAttribute("name")}function QK($,Z,G,X,N,B,W,w){if(B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"&&(Y1(B,"type"),$.type=B),Z!=null||G!=null){if(!(B!=="submit"&&B!=="reset"||Z!==void 0&&Z!==null)){Q3($);return}G=G!=null?""+X4(G):"",Z=Z!=null?""+X4(Z):G,w||Z===$.value||($.value=Z),$.defaultValue=Z}X=X!=null?X:N,X=typeof X!=="function"&&typeof X!=="symbol"&&!!X,$.checked=w?$.checked:!!X,$.defaultChecked=!!X,W!=null&&typeof W!=="function"&&typeof W!=="symbol"&&typeof W!=="boolean"&&(Y1(W,"name"),$.name=W),Q3($)}function J3($,Z,G){Z==="number"&&DQ($.ownerDocument)===$||$.defaultValue===""+G||($.defaultValue=""+G)}function GK($,Z){Z.value==null&&(typeof Z.children==="object"&&Z.children!==null?k9.Children.forEach(Z.children,function(G){G==null||typeof G==="string"||typeof G==="number"||typeof G==="bigint"||BF||(BF=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):Z.dangerouslySetInnerHTML==null||HF||(HF=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Z.selected==null||KF||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),KF=!0)}function JK(){var $=E4();return $?`
|
|
34
|
-
|
|
35
|
-
Check the render method of \``+$+"`.":""}function
|
|
36
|
-
`;if(typeof
|
|
37
|
-
`+
|
|
38
|
-
`}return
|
|
39
|
-
`}function
|
|
24
|
+
`);for(F=B=0;B<_.length&&!_[B].includes("DetermineComponentFrameRoot");)B++;for(;F<k.length&&!k[F].includes("DetermineComponentFrameRoot");)F++;if(B===_.length||F===k.length)for(B=_.length-1,F=k.length-1;1<=B&&0<=F&&_[B]!==k[F];)F--;for(;1<=B&&0<=F;B--,F--)if(_[B]!==k[F]){if(B!==1||F!==1)do if(B--,F--,0>F||_[B]!==k[F]){var b=`
|
|
25
|
+
`+_[B].replace(" at new "," at ");return $.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",$.displayName)),typeof $==="function"&&VY.set($,b),b}while(1<=B&&0<=F);break}}}finally{zY=!1,x.H=X,H0(),Error.prepareStackTrace=G}return _=(_=$?$.displayName||$.name:"")?v0(_):"",typeof $==="function"&&VY.set($,_),_}function C0($,Q){switch($.tag){case 26:case 27:case 5:return v0($.type);case 16:return v0("Lazy");case 13:return $.child!==Q&&Q!==null?v0("Suspense Fallback"):v0("Suspense");case 19:return v0("SuspenseList");case 0:case 15:return y1($.type,!1);case 11:return y1($.type.render,!1);case 1:return y1($.type,!0);case 31:return v0("Activity");default:return""}}function _1($){try{var Q="",G=null;do{Q+=C0($,G);var X=$._debugInfo;if(X)for(var N=X.length-1;0<=N;N--){var B=X[N];if(typeof B.name==="string"){var F=Q;$:{var{name:T,env:V,debugLocation:_}=B;if(_!=null){var k=M0(_),b=k.lastIndexOf(`
|
|
26
|
+
`),O=b===-1?k:k.slice(b+1);if(O.indexOf(T)!==-1){var f=`
|
|
27
|
+
`+O;break $}}f=v0(T+(V?" ["+V+"]":""))}Q=F+f}}G=$,$=$.return}while($);return Q}catch(e){return`
|
|
28
|
+
Error generating stack: `+e.message+`
|
|
29
|
+
`+e.stack}}function K5($){return($=$?$.displayName||$.name:"")?v0($):""}function I4(){if($4===null)return null;var $=$4._debugOwner;return $!=null?U0($):null}function OJ(){if($4===null)return"";var $=$4;try{var Q="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:Q+=v0($.type);break;case 13:Q+=v0("Suspense");break;case 19:Q+=v0("SuspenseList");break;case 31:Q+=v0("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||Q!==""||(Q+=K5($.type));break;case 11:$._debugOwner||Q!==""||(Q+=K5($.type.render))}for(;$;)if(typeof $.tag==="number"){var G=$;$=G._debugOwner;var X=G._debugStack;if($&&X){var N=M0(X);N!==""&&(Q+=`
|
|
30
|
+
`+N)}}else if($.debugStack!=null){var B=$.debugStack;($=$.owner)&&B&&(Q+=`
|
|
31
|
+
`+M0(B))}else break;var F=Q}catch(T){F=`
|
|
32
|
+
Error generating stack: `+T.message+`
|
|
33
|
+
`+T.stack}return F}function G0($,Q,G,X,N,B,F){var T=$4;A7($);try{return $!==null&&$._debugTask?$._debugTask.run(Q.bind(null,G,X,N,B,F)):Q(G,X,N,B,F)}finally{A7(T)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function A7($){x.getCurrentStack=$===null?null:OJ,N$=!1,$4=$}function _6($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function R8($){try{return s1($),!1}catch(Q){return!0}}function s1($){return""+$}function X1($,Q){if(R8($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",Q,_6($)),s1($)}function GQ($,Q){if(R8($))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",Q,_6($)),s1($)}function j0($){if(R8($))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",_6($)),s1($)}function S7($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var Q=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(Q.isDisabled)return!0;if(!Q.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Q9=Q.inject($),M5=Q}catch(G){console.error("React instrumentation encountered an error: %o.",G)}return Q.checkDCE?!0:!1}function B1($){if(typeof QC==="function"&&ZC($),M5&&typeof M5.setStrictMode==="function")try{M5.setStrictMode(Q9,$)}catch(Q){K$||(K$=!0,console.error("React instrumentation encountered an error: %o",Q))}}function DJ($){return $>>>=0,$===0?32:31-(JC($)/GC|0)|0}function c4($){var Q=$&42;if(Q!==0)return Q;switch($&-$){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),$}}function C6($,Q,G){var X=$.pendingLanes;if(X===0)return 0;var N=0,B=$.suspendedLanes,F=$.pingedLanes;$=$.warmLanes;var T=X&134217727;return T!==0?(X=T&~B,X!==0?N=c4(X):(F&=T,F!==0?N=c4(F):G||(G=T&~$,G!==0&&(N=c4(G))))):(T=X&~B,T!==0?N=c4(T):F!==0?N=c4(F):G||(G=X&~$,G!==0&&(N=c4(G)))),N===0?0:Q!==0&&Q!==N&&(Q&B)===0&&(B=N&-N,G=Q&-Q,B>=G||B===32&&(G&4194048)!==0)?Q:N}function P6($,Q){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&Q)===0}function qX($,Q){switch($){case 1:case 2:case 4:case 8:case 64:return Q+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return Q+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function v7(){var $=cG;return cG<<=1,(cG&62914560)===0&&(cG=4194304),$}function k7($){for(var Q=[],G=0;31>G;G++)Q.push($);return Q}function w8($,Q){$.pendingLanes|=Q,Q!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function AJ($,Q,G,X,N,B){var F=$.pendingLanes;$.pendingLanes=G,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=G,$.entangledLanes&=G,$.errorRecoveryDisabledLanes&=G,$.shellSuspendCounter=0;var{entanglements:T,expirationTimes:V,hiddenUpdates:_}=$;for(G=F&~G;0<G;){var k=31-w5(G),b=1<<k;T[k]=0,V[k]=-1;var O=_[k];if(O!==null)for(_[k]=null,k=0;k<O.length;k++){var f=O[k];f!==null&&(f.lane&=-536870913)}G&=~b}X!==0&&E6($,X,0),B!==0&&N===0&&$.tag!==0&&($.suspendedLanes|=B&~(F&~Q))}function E6($,Q,G){$.pendingLanes|=Q,$.suspendedLanes&=~Q;var X=31-w5(Q);$.entangledLanes|=Q,$.entanglements[X]=$.entanglements[X]|1073741824|G&261930}function I6($,Q){var G=$.entangledLanes|=Q;for($=$.entanglements;G;){var X=31-w5(G),N=1<<X;N&Q|$[X]&Q&&($[X]|=Q),G&=~N}}function j6($,Q){var G=Q&-Q;return G=(G&42)!==0?1:O6(G),(G&($.suspendedLanes|Q))!==0?0:G}function O6($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function qQ($,Q,G){if(B$)for($=$.pendingUpdatersLaneMap;0<G;){var X=31-w5(G),N=1<<X;$[X].add(Q),G&=~N}}function z8($,Q){if(B$)for(var{pendingUpdatersLaneMap:G,memoizedUpdaters:X}=$;0<Q;){var N=31-w5(Q);$=1<<N,N=G[N],0<N.size&&(N.forEach(function(B){var F=B.alternate;F!==null&&X.has(F)||X.add(B)}),N.clear()),Q&=~$}}function C($){return $&=-$,Q4!==0&&Q4<$?S4!==0&&S4<$?($&134217727)!==0?H$:lG:S4:Q4}function y(){var $=$1.p;if($!==0)return $;return $=window.event,$===void 0?H$:lM($.type)}function s($,Q){var G=$1.p;try{return $1.p=$,Q()}finally{$1.p=G}}function $0($){delete $[G5],delete $[z5],delete $[EY],delete $[qC],delete $[XC]}function X0($){var Q=$[G5];if(Q)return Q;for(var G=$.parentNode;G;){if(Q=G[f8]||G[G5]){if(G=Q.alternate,Q.child!==null||G!==null&&G.child!==null)for($=SM($);$!==null;){if(G=$[G5])return G;$=SM($)}return Q}$=G,G=$.parentNode}return null}function P0($){if($=$[G5]||$[f8]){var Q=$.tag;if(Q===5||Q===6||Q===13||Q===31||Q===26||Q===27||Q===3)return $}return null}function E0($){var Q=$.tag;if(Q===5||Q===26||Q===27||Q===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function o0($){var Q=$[YW];return Q||(Q=$[YW]={hoistableStyles:new Map,hoistableScripts:new Map}),Q}function F0($){$[lQ]=!0}function B5($,Q){c5($,Q),c5($+"Capture",Q)}function c5($,Q){c6[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),c6[$]=Q;var G=$.toLowerCase();IY[G]=$,$==="onDoubleClick"&&(IY.ondblclick=$);for($=0;$<Q.length;$++)UW.add(Q[$])}function V8($,Q){YC[Q.type]||Q.onChange||Q.onInput||Q.readOnly||Q.disabled||Q.value==null||($==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),Q.onChange||Q.readOnly||Q.disabled||Q.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function XQ($){if(A4.call(KW,$))return!0;if(A4.call(NW,$))return!1;if(UC.test($))return KW[$]=!0;return NW[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function QK($,Q,G){if(XQ(Q)){if(!$.hasAttribute(Q)){switch(typeof G){case"symbol":case"object":return G;case"function":return G;case"boolean":if(G===!1)return G}return G===void 0?void 0:null}if($=$.getAttribute(Q),$===""&&G===!0)return!0;return X1(G,Q),$===""+G?G:$}}function SJ($,Q,G){if(XQ(Q))if(G===null)$.removeAttribute(Q);else{switch(typeof G){case"undefined":case"function":case"symbol":$.removeAttribute(Q);return;case"boolean":var X=Q.toLowerCase().slice(0,5);if(X!=="data-"&&X!=="aria-"){$.removeAttribute(Q);return}}X1(G,Q),$.setAttribute(Q,""+G)}}function vJ($,Q,G){if(G===null)$.removeAttribute(Q);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Q);return}X1(G,Q),$.setAttribute(Q,""+G)}}function D$($,Q,G,X){if(X===null)$.removeAttribute(G);else{switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(G);return}X1(X,G),$.setAttributeNS(Q,G,""+X)}}function U4($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return j0($),$;default:return""}}function ZK($){var Q=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(Q==="checkbox"||Q==="radio")}function GL($,Q,G){var X=Object.getOwnPropertyDescriptor($.constructor.prototype,Q);if(!$.hasOwnProperty(Q)&&typeof X<"u"&&typeof X.get==="function"&&typeof X.set==="function"){var{get:N,set:B}=X;return Object.defineProperty($,Q,{configurable:!0,get:function(){return N.call(this)},set:function(F){j0(F),G=""+F,B.call(this,F)}}),Object.defineProperty($,Q,{enumerable:X.enumerable}),{getValue:function(){return G},setValue:function(F){j0(F),G=""+F},stopTracking:function(){$._valueTracker=null,delete $[Q]}}}}function XX($){if(!$._valueTracker){var Q=ZK($)?"checked":"value";$._valueTracker=GL($,Q,""+$[Q])}}function JK($){if(!$)return!1;var Q=$._valueTracker;if(!Q)return!0;var G=Q.getValue(),X="";return $&&(X=ZK($)?$.checked?"true":"false":$.value),$=X,$!==G?(Q.setValue($),!0):!1}function kJ($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(Q){return $.body}}function N4($){return $.replace(NC,function(Q){return"\\"+Q.charCodeAt(0).toString(16)+" "})}function GK($,Q){Q.checked===void 0||Q.defaultChecked===void 0||HW||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",I4()||"A component",Q.type),HW=!0),Q.value===void 0||Q.defaultValue===void 0||BW||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",I4()||"A component",Q.type),BW=!0)}function YX($,Q,G,X,N,B,F,T){if($.name="",F!=null&&typeof F!=="function"&&typeof F!=="symbol"&&typeof F!=="boolean"?(X1(F,"type"),$.type=F):$.removeAttribute("type"),Q!=null)if(F==="number"){if(Q===0&&$.value===""||$.value!=Q)$.value=""+U4(Q)}else $.value!==""+U4(Q)&&($.value=""+U4(Q));else F!=="submit"&&F!=="reset"||$.removeAttribute("value");Q!=null?UX($,F,U4(Q)):G!=null?UX($,F,U4(G)):X!=null&&$.removeAttribute("value"),N==null&&B!=null&&($.defaultChecked=!!B),N!=null&&($.checked=N&&typeof N!=="function"&&typeof N!=="symbol"),T!=null&&typeof T!=="function"&&typeof T!=="symbol"&&typeof T!=="boolean"?(X1(T,"name"),$.name=""+U4(T)):$.removeAttribute("name")}function qK($,Q,G,X,N,B,F,T){if(B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"&&(X1(B,"type"),$.type=B),Q!=null||G!=null){if(!(B!=="submit"&&B!=="reset"||Q!==void 0&&Q!==null)){XX($);return}G=G!=null?""+U4(G):"",Q=Q!=null?""+U4(Q):G,T||Q===$.value||($.value=Q),$.defaultValue=Q}X=X!=null?X:N,X=typeof X!=="function"&&typeof X!=="symbol"&&!!X,$.checked=T?$.checked:!!X,$.defaultChecked=!!X,F!=null&&typeof F!=="function"&&typeof F!=="symbol"&&typeof F!=="boolean"&&(X1(F,"name"),$.name=F),XX($)}function UX($,Q,G){Q==="number"&&kJ($.ownerDocument)===$||$.defaultValue===""+G||($.defaultValue=""+G)}function XK($,Q){Q.value==null&&(typeof Q.children==="object"&&Q.children!==null?y9.Children.forEach(Q.children,function(G){G==null||typeof G==="string"||typeof G==="number"||typeof G==="bigint"||WW||(WW=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):Q.dangerouslySetInnerHTML==null||FW||(FW=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Q.selected==null||MW||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),MW=!0)}function YK(){var $=I4();return $?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+$+"`.":""}function b7($,Q,G,X){if($=$.options,Q){Q={};for(var N=0;N<G.length;N++)Q["$"+G[N]]=!0;for(G=0;G<$.length;G++)N=Q.hasOwnProperty("$"+$[G].value),$[G].selected!==N&&($[G].selected=N),N&&X&&($[G].defaultSelected=!0)}else{G=""+U4(G),Q=null;for(N=0;N<$.length;N++){if($[N].value===G){$[N].selected=!0,X&&($[N].defaultSelected=!0);return}Q!==null||$[N].disabled||(Q=$[N])}Q!==null&&(Q.selected=!0)}}function UK($,Q){for($=0;$<RW.length;$++){var G=RW[$];if(Q[G]!=null){var X=c1(Q[G]);Q.multiple&&!X?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",G,YK()):!Q.multiple&&X&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",G,YK())}}Q.value===void 0||Q.defaultValue===void 0||TW||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),TW=!0)}function NK($,Q){Q.value===void 0||Q.defaultValue===void 0||wW||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",I4()||"A component"),wW=!0),Q.children!=null&&Q.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function KK($,Q,G){if(Q!=null&&(Q=""+U4(Q),Q!==$.value&&($.value=Q),G==null)){$.defaultValue!==Q&&($.defaultValue=Q);return}$.defaultValue=G!=null?""+U4(G):""}function BK($,Q,G,X){if(Q==null){if(X!=null){if(G!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(c1(X)){if(1<X.length)throw Error("<textarea> can only have at most one child.");X=X[0]}G=X}G==null&&(G=""),Q=G}G=U4(Q),$.defaultValue=G,X=$.textContent,X===G&&X!==""&&X!==null&&($.value=X),XX($)}function HK($,Q){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-Q?HK($.children[0],Q):$}function l5($){return" "+" ".repeat($)}function y7($){return"+ "+" ".repeat($)}function D6($){return"- "+" ".repeat($)}function MK($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function YQ($,Q){return zW.test($)?($=JSON.stringify($),$.length>Q-2?8>Q?'{"..."}':"{"+$.slice(0,Q-7)+'..."}':"{"+$+"}"):$.length>Q?5>Q?'{"..."}':$.slice(0,Q-3)+"...":$}function bJ($,Q,G){var X=120-2*G;if(Q===null)return y7(G)+YQ($,X)+`
|
|
36
|
+
`;if(typeof Q==="string"){for(var N=0;N<Q.length&&N<$.length&&Q.charCodeAt(N)===$.charCodeAt(N);N++);return N>X-8&&10<N&&($="..."+$.slice(N-8),Q="..."+Q.slice(N-8)),y7(G)+YQ($,X)+`
|
|
37
|
+
`+D6(G)+YQ(Q,X)+`
|
|
38
|
+
`}return l5(G)+YQ($,X)+`
|
|
39
|
+
`}function NX($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(Q,G){return G})}function UQ($,Q){switch(typeof $){case"string":return $=JSON.stringify($),$.length>Q?5>Q?'"..."':$.slice(0,Q-4)+'..."':$;case"object":if($===null)return"null";if(c1($))return"[...]";if($.$$typeof===Y$)return(Q=a($.type))?"<"+Q+">":"<...>";var G=NX($);if(G==="Object"){G="",Q-=2;for(var X in $)if($.hasOwnProperty(X)){var N=JSON.stringify(X);if(N!=='"'+X+'"'&&(X=N),Q-=X.length-2,N=UQ($[X],15>Q?Q:15),Q-=N.length,0>Q){G+=G===""?"...":", ...";break}G+=(G===""?"":",")+X+":"+N}return"{"+G+"}"}return G;case"function":return(Q=$.displayName||$.name)?"function "+Q:"function";default:return String($)}}function f7($,Q){return typeof $!=="string"||zW.test($)?"{"+UQ($,Q-2)+"}":$.length>Q-2?5>Q?'"..."':'"'+$.slice(0,Q-5)+'..."':'"'+$+'"'}function KX($,Q,G){var X=120-G.length-$.length,N=[],B;for(B in Q)if(Q.hasOwnProperty(B)&&B!=="children"){var F=f7(Q[B],120-G.length-B.length-1);X-=B.length+F.length+2,N.push(B+"="+F)}return N.length===0?G+"<"+$+`>
|
|
40
40
|
`:0<X?G+"<"+$+" "+N.join(" ")+`>
|
|
41
41
|
`:G+"<"+$+`
|
|
42
42
|
`+G+" "+N.join(`
|
|
43
43
|
`+G+" ")+`
|
|
44
44
|
`+G+`>
|
|
45
|
-
`}function
|
|
46
|
-
`,X+=
|
|
47
|
-
`):X+=
|
|
48
|
-
`}for(var V in N)N.hasOwnProperty(V)&&($=
|
|
49
|
-
`);return X}function
|
|
50
|
-
`+
|
|
51
|
-
`:(N+=
|
|
52
|
-
`,N+=
|
|
53
|
-
`)}else N+=
|
|
54
|
-
`}B.forEach(function(b){if(b!=="children"){var O=120-2*(X+1)-b.length-1;N+=
|
|
55
|
-
`}}),N=N===""?
|
|
56
|
-
`:
|
|
57
|
-
`+N+
|
|
58
|
-
`}if($=G.children,
|
|
59
|
-
`}function
|
|
60
|
-
`+
|
|
61
|
-
`,
|
|
62
|
-
`,
|
|
63
|
-
`),N=$.serverTail,$.serverProps===null&&
|
|
64
|
-
`):_+
|
|
65
|
-
|
|
66
|
-
`+
|
|
67
|
-
This will cause a hydration error.%s`,
|
|
68
|
-
This will cause a hydration error.%s`,
|
|
69
|
-
See this log for the ancestor stack trace.`,X,
|
|
70
|
-
This will cause a hydration error.%s`,
|
|
71
|
-
This will cause a hydration error.%s`,Z,G),!1}function U7($,Z){if(Z){var G=$.firstChild;if(G&&G===$.lastChild&&G.nodeType===3){G.nodeValue=Z;return}}$.textContent=Z}function YL($){return $.replace(FP,function(Z,G){return G.toUpperCase()})}function wK($,Z,G){var X=Z.indexOf("--")===0;X||(-1<Z.indexOf("-")?$9.hasOwnProperty(Z)&&$9[Z]||($9[Z]=!0,console.error("Unsupported style property %s. Did you mean %s?",Z,YL(Z.replace(MP,"ms-")))):HP.test(Z)?$9.hasOwnProperty(Z)&&$9[Z]||($9[Z]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",Z,Z.charAt(0).toUpperCase()+Z.slice(1))):!LF.test(G)||EY.hasOwnProperty(G)&&EY[G]||(EY[G]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Z,G.replace(LF,""))),typeof G==="number"&&(isNaN(G)?_F||(_F=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",Z)):isFinite(G)||PF||(PF=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",Z)))),G==null||typeof G==="boolean"||G===""?X?$.setProperty(Z,""):Z==="float"?$.cssFloat="":$[Z]="":X?$.setProperty(Z,G):typeof G!=="number"||G===0||EF.has(Z)?Z==="float"?$.cssFloat=G:(G7(G,Z),$[Z]=(""+G).trim()):$[Z]=G+"px"}function TK($,Z,G){if(Z!=null&&typeof Z!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(Z&&Object.freeze(Z),$=$.style,G!=null){if(Z){var X={};if(G){for(var N in G)if(G.hasOwnProperty(N)&&!Z.hasOwnProperty(N))for(var B=PY[N]||[N],W=0;W<B.length;W++)X[B[W]]=N}for(var w in Z)if(Z.hasOwnProperty(w)&&(!G||G[w]!==Z[w]))for(N=PY[w]||[w],B=0;B<N.length;B++)X[N[B]]=w;w={};for(var V in Z)for(N=PY[V]||[V],B=0;B<N.length;B++)w[N[B]]=V;V={};for(var _ in X)if(N=X[_],(B=w[_])&&N!==B&&(W=N+","+B,!V[W])){V[W]=!0,W=console;var k=Z[N];W.error.call(W,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",k==null||typeof k==="boolean"||k===""?"Removing":"Updating",N,B)}}for(var b in G)!G.hasOwnProperty(b)||Z!=null&&Z.hasOwnProperty(b)||(b.indexOf("--")===0?$.setProperty(b,""):b==="float"?$.cssFloat="":$[b]="");for(var O in Z)_=Z[O],Z.hasOwnProperty(O)&&G[O]!==_&&wK($,O,_)}else for(X in Z)Z.hasOwnProperty(X)&&wK($,X,Z[X])}function N7($){if($.indexOf("-")===-1)return!1;switch($){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function RK($){return WP.get($)||$}function UL($,Z){if(O4.call(Q9,Z)&&Q9[Z])return!0;if(TP.test(Z)){if($="aria-"+Z.slice(4).toLowerCase(),$=CF.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",Z),Q9[Z]=!0;if(Z!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",Z,$),Q9[Z]=!0}if(wP.test(Z)){if($=Z.toLowerCase(),$=CF.hasOwnProperty($)?$:null,$==null)return Q9[Z]=!0,!1;Z!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",Z,$),Q9[Z]=!0)}return!0}function NL($,Z){var G=[],X;for(X in Z)UL($,X)||G.push(X);Z=G.map(function(N){return"`"+N+"`"}).join(", "),G.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,$):1<G.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,$)}function KL($,Z,G,X){if(O4.call(R5,Z)&&R5[Z])return!0;var N=Z.toLowerCase();if(N==="onfocusin"||N==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),R5[Z]=!0;if(typeof G==="function"&&($==="form"&&Z==="action"||$==="input"&&Z==="formAction"||$==="button"&&Z==="formAction"))return!0;if(X!=null){if($=X.possibleRegistrationNames,X.registrationNameDependencies.hasOwnProperty(Z))return!0;if(X=$.hasOwnProperty(N)?$[N]:null,X!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",Z,X),R5[Z]=!0;if(jF.test(Z))return console.error("Unknown event handler property `%s`. It will be ignored.",Z),R5[Z]=!0}else if(jF.test(Z))return RP.test(Z)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Z),R5[Z]=!0;if(zP.test(Z)||VP.test(Z))return!0;if(N==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),R5[Z]=!0;if(N==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),R5[Z]=!0;if(N==="is"&&G!==null&&G!==void 0&&typeof G!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof G),R5[Z]=!0;if(typeof G==="number"&&isNaN(G))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",Z),R5[Z]=!0;if(cG.hasOwnProperty(N)){if(N=cG[N],N!==Z)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",Z,N),R5[Z]=!0}else if(Z!==N)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",Z,N),R5[Z]=!0;switch(Z){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof G){case"boolean":switch(Z){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(N=Z.toLowerCase().slice(0,5),N==="data-"||N==="aria-")return!0;return G?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',G,Z,Z,G,Z):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',G,Z,Z,G,Z,Z,Z),R5[Z]=!0}case"function":case"symbol":return R5[Z]=!0,!1;case"string":if(G==="false"||G==="true"){switch(Z){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",G,Z,G==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',Z,G),R5[Z]=!0}}return!0}function BL($,Z,G){var X=[],N;for(N in Z)KL($,N,Z[N],G)||X.push(N);Z=X.map(function(B){return"`"+B+"`"}).join(", "),X.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",Z,$):1<X.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",Z,$)}function K7($){return LP.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function j8(){}function K3($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function zK($){var Z=P0($);if(Z&&($=Z.stateNode)){var G=$[T5]||null;$:switch($=Z.stateNode,Z.type){case"input":if(G3($,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name),Z=G.name,G.type==="radio"&&Z!=null){for(G=$;G.parentNode;)G=G.parentNode;Y1(Z,"name"),G=G.querySelectorAll('input[name="'+Y4(""+Z)+'"][type="radio"]');for(Z=0;Z<G.length;Z++){var X=G[Z];if(X!==$&&X.form===$.form){var N=X[T5]||null;if(!N)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");G3(X,N.value,N.defaultValue,N.defaultValue,N.checked,N.defaultChecked,N.type,N.name)}}for(Z=0;Z<G.length;Z++)X=G[Z],X.form===$.form&&$K(X)}break $;case"textarea":YK($,G.value,G.defaultValue);break $;case"select":Z=G.value,Z!=null&&v$($,!!G.multiple,Z,!1)}}}function VK($,Z,G){if(CY)return $(Z,G);CY=!0;try{var X=$(Z);return X}finally{if(CY=!1,G9!==null||J9!==null){if(c$(),G9&&(Z=G9,$=J9,J9=G9=null,zK(Z),$))for(Z=0;Z<$.length;Z++)zK($[Z])}}}function B7($,Z){var G=$.stateNode;if(G===null)return null;var X=G[T5]||null;if(X===null)return null;G=X[Z];$:switch(Z){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(X=!X.disabled)||($=$.type,X=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!X;break $;default:$=!1}if($)return null;if(G&&typeof G!=="function")throw Error("Expected `"+Z+"` listener to be a function, instead got a value of `"+typeof G+"` type.");return G}function LK(){if(lG)return lG;var $,Z=jY,G=Z.length,X,N="value"in v6?v6.value:v6.textContent,B=N.length;for($=0;$<G&&Z[$]===N[$];$++);var W=G-$;for(X=1;X<=W&&Z[G-X]===N[B-X];X++);return lG=N.slice($,1<X?1-X:void 0)}function vQ($){var Z=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&Z===13&&($=13)):$=Z,$===10&&($=13),32<=$||$===13?$:0}function kQ(){return!0}function _K(){return!1}function I5($){function Z(G,X,N,B,W){this._reactName=G,this._targetInst=N,this.type=X,this.nativeEvent=B,this.target=W,this.currentTarget=null;for(var w in $)$.hasOwnProperty(w)&&(G=$[w],this[w]=G?G(B):B[w]);return this.isDefaultPrevented=(B.defaultPrevented!=null?B.defaultPrevented:B.returnValue===!1)?kQ:_K,this.isPropagationStopped=_K,this}return y0(Z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var G=this.nativeEvent;G&&(G.preventDefault?G.preventDefault():typeof G.returnValue!=="unknown"&&(G.returnValue=!1),this.isDefaultPrevented=kQ)},stopPropagation:function(){var G=this.nativeEvent;G&&(G.stopPropagation?G.stopPropagation():typeof G.cancelBubble!=="unknown"&&(G.cancelBubble=!0),this.isPropagationStopped=kQ)},persist:function(){},isPersistent:kQ}),Z}function HL($){var Z=this.nativeEvent;return Z.getModifierState?Z.getModifierState($):($=bP[$])?!!Z[$]:!1}function B3(){return HL}function PK($,Z){switch($){case"keyup":return rP.indexOf(Z.keyCode)!==-1;case"keydown":return Z.keyCode!==SF;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function EK($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function ML($,Z){switch($){case"compositionend":return EK(Z);case"keypress":if(Z.which!==kF)return null;return fF=!0,bF;case"textInput":return $=Z.data,$===bF&&fF?null:$;default:return null}}function FL($,Z){if(q9)return $==="compositionend"||!SY&&PK($,Z)?($=LK(),lG=jY=v6=null,q9=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(Z.ctrlKey||Z.altKey||Z.metaKey)||Z.ctrlKey&&Z.altKey){if(Z.char&&1<Z.char.length)return Z.char;if(Z.which)return String.fromCharCode(Z.which)}return null;case"compositionend":return vF&&Z.locale!=="ko"?null:Z.data;default:return null}}function CK($){var Z=$&&$.nodeName&&$.nodeName.toLowerCase();return Z==="input"?!!nP[$.type]:Z==="textarea"?!0:!1}function WL($){if(!B8)return!1;$="on"+$;var Z=$ in document;return Z||(Z=document.createElement("div"),Z.setAttribute($,"return;"),Z=typeof Z[$]==="function"),Z}function IK($,Z,G,X){G9?J9?J9.push(X):J9=[X]:G9=X,Z=CG(Z,"onChange"),0<Z.length&&(G=new rG("onChange","change",null,G,X),$.push({event:G,listeners:Z}))}function wL($){UM($,0)}function bQ($){var Z=E0($);if($K(Z))return $}function jK($,Z){if($==="change")return Z}function OK(){i7&&(i7.detachEvent("onpropertychange",DK),a7=i7=null)}function DK($){if($.propertyName==="value"&&bQ(a7)){var Z=[];IK(Z,a7,$,K3($)),VK(wL,Z)}}function TL($,Z,G){$==="focusin"?(OK(),i7=Z,a7=G,i7.attachEvent("onpropertychange",DK)):$==="focusout"&&OK()}function RL($){if($==="selectionchange"||$==="keyup"||$==="keydown")return bQ(a7)}function zL($,Z){if($==="click")return bQ(Z)}function VL($,Z){if($==="input"||$==="change")return bQ(Z)}function LL($,Z){return $===Z&&($!==0||1/$===1/Z)||$!==$&&Z!==Z}function H7($,Z){if(z5($,Z))return!0;if(typeof $!=="object"||$===null||typeof Z!=="object"||Z===null)return!1;var G=Object.keys($),X=Object.keys(Z);if(G.length!==X.length)return!1;for(X=0;X<G.length;X++){var N=G[X];if(!O4.call(Z,N)||!z5($[N],Z[N]))return!1}return!0}function AK($){for(;$&&$.firstChild;)$=$.firstChild;return $}function SK($,Z){var G=AK($);$=0;for(var X;G;){if(G.nodeType===3){if(X=$+G.textContent.length,$<=Z&&X>=Z)return{node:G,offset:Z-$};$=X}$:{for(;G;){if(G.nextSibling){G=G.nextSibling;break $}G=G.parentNode}G=void 0}G=AK(G)}}function vK($,Z){return $&&Z?$===Z?!0:$&&$.nodeType===3?!1:Z&&Z.nodeType===3?vK($,Z.parentNode):("contains"in $)?$.contains(Z):$.compareDocumentPosition?!!($.compareDocumentPosition(Z)&16):!1:!1}function kK($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var Z=DQ($.document);Z instanceof $.HTMLIFrameElement;){try{var G=typeof Z.contentWindow.location.href==="string"}catch(X){G=!1}if(G)$=Z.contentWindow;else break;Z=DQ($.document)}return Z}function H3($){var Z=$&&$.nodeName&&$.nodeName.toLowerCase();return Z&&(Z==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||Z==="textarea"||$.contentEditable==="true")}function bK($,Z,G){var X=G.window===G?G.document:G.nodeType===9?G:G.ownerDocument;kY||X9==null||X9!==DQ(X)||(X=X9,("selectionStart"in X)&&H3(X)?X={start:X.selectionStart,end:X.selectionEnd}:(X=(X.ownerDocument&&X.ownerDocument.defaultView||window).getSelection(),X={anchorNode:X.anchorNode,anchorOffset:X.anchorOffset,focusNode:X.focusNode,focusOffset:X.focusOffset}),t7&&H7(t7,X)||(t7=X,X=CG(vY,"onSelect"),0<X.length&&(Z=new rG("onSelect","select",null,Z,G),$.push({event:Z,listeners:X}),Z.target=X9)))}function O2($,Z){var G={};return G[$.toLowerCase()]=Z.toLowerCase(),G["Webkit"+$]="webkit"+Z,G["Moz"+$]="moz"+Z,G}function D2($){if(bY[$])return bY[$];if(!Y9[$])return $;var Z=Y9[$],G;for(G in Z)if(Z.hasOwnProperty(G)&&G in gF)return bY[$]=Z[G];return $}function C4($,Z){dF.set($,Z),K5(Z,[$])}function _L($){for(var Z=nG,G=0;G<$.length;G++){var X=$[G];if(typeof X==="object"&&X!==null)if(c1(X)&&X.length===2&&typeof X[0]==="string"){if(Z!==nG&&Z!==xY)return gY;Z=xY}else return gY;else{if(typeof X==="function"||typeof X==="string"&&50<X.length||Z!==nG&&Z!==hY)return gY;Z=hY}}return Z}function M3($,Z,G,X){for(var N in $)O4.call($,N)&&N[0]!=="_"&&p4(N,$[N],Z,G,X)}function p4($,Z,G,X,N){switch(typeof Z){case"object":if(Z===null){Z="null";break}else{if(Z.$$typeof===q8){var B=a(Z.type)||"…",W=Z.key;Z=Z.props;var w=Object.keys(Z),V=w.length;if(W==null&&V===0){Z="<"+B+" />";break}if(3>X||V===1&&w[0]==="children"&&W==null){Z="<"+B+" … />";break}G.push([N+" ".repeat(X)+$,"<"+B]),W!==null&&p4("key",W,G,X+1,N),$=!1;for(var _ in Z)_==="children"?Z.children!=null&&(!c1(Z.children)||0<Z.children.length)&&($=!0):O4.call(Z,_)&&_[0]!=="_"&&p4(_,Z[_],G,X+1,N);G.push(["",$?">…</"+B+">":"/>"]);return}if(B=Object.prototype.toString.call(Z),B=B.slice(8,B.length-1),B==="Array"){if(_=_L(Z),_===hY||_===nG){Z=JSON.stringify(Z);break}else if(_===xY){G.push([N+" ".repeat(X)+$,""]);for($=0;$<Z.length;$++)B=Z[$],p4(B[0],B[1],G,X+1,N);return}}if(B==="Promise"){if(Z.status==="fulfilled"){if(B=G.length,p4($,Z.value,G,X,N),G.length>B){G=G[B],G[1]="Promise<"+(G[1]||"Object")+">";return}}else if(Z.status==="rejected"&&(B=G.length,p4($,Z.reason,G,X,N),G.length>B)){G=G[B],G[1]="Rejected Promise<"+G[1]+">";return}G.push([" ".repeat(X)+$,"Promise"]);return}B==="Object"&&(_=Object.getPrototypeOf(Z))&&typeof _.constructor==="function"&&(B=_.constructor.name),G.push([N+" ".repeat(X)+$,B==="Object"?3>X?"":"…":B]),3>X&&M3(Z,G,X+1,N);return}case"function":Z=Z.name===""?"() => {}":Z.name+"() {}";break;case"string":Z=Z===ZE?"…":JSON.stringify(Z);break;case"undefined":Z="undefined";break;case"boolean":Z=Z?"true":"false";break;default:Z=String(Z)}G.push([N+" ".repeat(X)+$,Z])}function fK($,Z,G,X){var N=!0;for(W in $)W in Z||(G.push([oG+" ".repeat(X)+W,"…"]),N=!1);for(var B in Z)if(B in $){var W=$[B],w=Z[B];if(W!==w){if(X===0&&B==="children")N=" ".repeat(X)+B,G.push([oG+N,"…"],[iG+N,"…"]);else{if(!(3<=X)){if(typeof W==="object"&&typeof w==="object"&&W!==null&&w!==null&&W.$$typeof===w.$$typeof)if(w.$$typeof===q8){if(W.type===w.type&&W.key===w.key){W=a(w.type)||"…",N=" ".repeat(X)+B,W="<"+W+" … />",G.push([oG+N,W],[iG+N,W]),N=!1;continue}}else{var V=Object.prototype.toString.call(W),_=Object.prototype.toString.call(w);if(V===_&&(_==="[object Object]"||_==="[object Array]")){V=[lF+" ".repeat(X)+B,_==="[object Array]"?"Array":""],G.push(V),_=G.length,fK(W,w,G,X+1)?_===G.length&&(V[1]="Referentially unequal but deeply equal objects. Consider memoization."):N=!1;continue}}else if(typeof W==="function"&&typeof w==="function"&&W.name===w.name&&W.length===w.length&&(V=Function.prototype.toString.call(W),_=Function.prototype.toString.call(w),V===_)){W=w.name===""?"() => {}":w.name+"() {}",G.push([lF+" ".repeat(X)+B,W+" Referentially unequal function closure. Consider memoization."]);continue}}p4(B,W,G,X,oG),p4(B,w,G,X,iG)}N=!1}}else G.push([iG+" ".repeat(X)+B,"…"]),N=!1;return N}function c5($){u0=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function c4($,Z,G,X){w1&&(b6.start=Z,b6.end=G,y8.color="warning",y8.tooltipText=X,y8.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,X,b6)):performance.measure(X,b6))}function fQ($,Z,G){c4($,Z,G,"Reconnect")}function yQ($,Z,G,X,N){var B=d($);if(B!==null&&w1){var{alternate:W,actualDuration:w}=$;if(W===null||W.child!==$.child)for(var V=$.child;V!==null;V=V.sibling)w-=V.actualDuration;X=0.5>w?X?"tertiary-light":"primary-light":10>w?X?"tertiary":"primary":100>w?X?"tertiary-dark":"primary-dark":"error";var _=$.memoizedProps;w=$._debugTask,_!==null&&W!==null&&W.memoizedProps!==_?(V=[QE],_=fK(W.memoizedProps,_,V,0),1<V.length&&(_&&!k6&&(W.lanes&N)===0&&100<$.actualDuration?(k6=!0,V[0]=GE,y8.color="warning",y8.tooltipText=rF):(y8.color=X,y8.tooltipText=B),y8.properties=V,b6.start=Z,b6.end=G,w!=null?w.run(performance.measure.bind(performance,""+B,b6)):performance.measure(""+B,b6))):w!=null?w.run(console.timeStamp.bind(console,B,Z,G,N4,void 0,X)):console.timeStamp(B,Z,G,N4,void 0,X)}}function F3($,Z,G,X){if(w1){var N=d($);if(N!==null){for(var B=null,W=[],w=0;w<X.length;w++){var V=X[w];B==null&&V.source!==null&&(B=V.source._debugTask),V=V.value,W.push(["Error",typeof V==="object"&&V!==null&&typeof V.message==="string"?String(V.message):String(V)])}$.key!==null&&p4("key",$.key,W,0,""),$.memoizedProps!==null&&M3($.memoizedProps,W,0,""),B==null&&(B=$._debugTask),$={start:Z,end:G,detail:{devtools:{color:"error",track:N4,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:W}}},B?B.run(performance.measure.bind(performance,""+N,$)):performance.measure(""+N,$)}}}function l4($,Z,G,X,N){if(N!==null){if(w1){var B=d($);if(B!==null){X=[];for(var W=0;W<N.length;W++){var w=N[W].value;X.push(["Error",typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w)])}$.key!==null&&p4("key",$.key,X,0,""),$.memoizedProps!==null&&M3($.memoizedProps,X,0,""),Z={start:Z,end:G,detail:{devtools:{color:"error",track:N4,tooltipText:"A lifecycle or effect errored",properties:X}}},($=$._debugTask)?$.run(performance.measure.bind(performance,""+B,Z)):performance.measure(""+B,Z)}}}else B=d($),B!==null&&w1&&(N=1>X?"secondary-light":100>X?"secondary":500>X?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,B,Z,G,N4,void 0,N)):console.timeStamp(B,Z,G,N4,void 0,N))}function PL($,Z,G,X){if(w1&&!(Z<=$)){var N=(G&738197653)===G?"tertiary-dark":"primary-dark";G=(G&536870912)===G?"Prepared":(G&201326741)===G?"Hydrated":"Render",X?X.run(console.timeStamp.bind(console,G,$,Z,u0,g0,N)):console.timeStamp(G,$,Z,u0,g0,N)}}function yK($,Z,G,X){!w1||Z<=$||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Prewarm",$,Z,u0,g0,G)):console.timeStamp("Prewarm",$,Z,u0,g0,G))}function gK($,Z,G,X){!w1||Z<=$||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Suspended",$,Z,u0,g0,G)):console.timeStamp("Suspended",$,Z,u0,g0,G))}function EL($,Z,G,X,N,B){if(w1&&!(Z<=$)){G=[];for(var W=0;W<X.length;W++){var w=X[W].value;G.push(["Recoverable Error",typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w)])}$={start:$,end:Z,detail:{devtools:{color:"primary-dark",track:u0,trackGroup:g0,tooltipText:N?"Hydration Failed":"Recovered after Error",properties:G}}},B?B.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function W3($,Z,G,X){!w1||Z<=$||(X?X.run(console.timeStamp.bind(console,"Errored",$,Z,u0,g0,"error")):console.timeStamp("Errored",$,Z,u0,g0,"error"))}function CL($,Z,G,X){!w1||Z<=$||(X?X.run(console.timeStamp.bind(console,G,$,Z,u0,g0,"secondary-light")):console.timeStamp(G,$,Z,u0,g0,"secondary-light"))}function hK($,Z,G,X,N){if(w1&&!(Z<=$)){for(var B=[],W=0;W<G.length;W++){var w=G[W].value;B.push(["Error",typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w)])}$={start:$,end:Z,detail:{devtools:{color:"error",track:u0,trackGroup:g0,tooltipText:X?"Remaining Effects Errored":"Commit Errored",properties:B}}},N?N.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function M7($,Z,G){!w1||Z<=$||(G?G.run(console.timeStamp.bind(console,"Animating",$,Z,u0,g0,"secondary-dark")):console.timeStamp("Animating",$,Z,u0,g0,"secondary-dark"))}function gQ(){for(var $=U9,Z=uY=U9=0;Z<$;){var G=K4[Z];K4[Z++]=null;var X=K4[Z];K4[Z++]=null;var N=K4[Z];K4[Z++]=null;var B=K4[Z];if(K4[Z++]=null,X!==null&&N!==null){var W=X.pending;W===null?N.next=N:(N.next=W.next,W.next=N),X.pending=N}B!==0&&xK(G,N,B)}}function hQ($,Z,G,X){K4[U9++]=$,K4[U9++]=Z,K4[U9++]=G,K4[U9++]=X,uY|=X,$.lanes|=X,$=$.alternate,$!==null&&($.lanes|=X)}function w3($,Z,G,X){return hQ($,Z,G,X),xQ($)}function B5($,Z){return hQ($,null,null,Z),xQ($)}function xK($,Z,G){$.lanes|=G;var X=$.alternate;X!==null&&(X.lanes|=G);for(var N=!1,B=$.return;B!==null;)B.childLanes|=G,X=B.alternate,X!==null&&(X.childLanes|=G),B.tag===22&&($=B.stateNode,$===null||$._visibility&e7||(N=!0)),$=B,B=B.return;return $.tag===3?(B=$.stateNode,N&&Z!==null&&(N=31-w5(G),$=B.hiddenUpdates,X=$[N],X===null?$[N]=[Z]:X.push(Z),Z.lane=G|536870912),B):null}function xQ($){if(IZ>RE)throw J$=IZ=0,jZ=zU=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");J$>zE&&(J$=0,jZ=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),$.alternate===null&&($.flags&4098)!==0&&ZM($);for(var Z=$,G=Z.return;G!==null;)Z.alternate===null&&(Z.flags&4098)!==0&&ZM($),Z=G,G=Z.return;return Z.tag===3?Z.stateNode:null}function A2($){if(B4===null)return $;var Z=B4($);return Z===void 0?$:Z.current}function T3($){if(B4===null)return $;var Z=B4($);return Z===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(Z=A2($.render),$.render!==Z)?(Z={$$typeof:m7,render:Z},$.displayName!==void 0&&(Z.displayName=$.displayName),Z):$:Z.current}function uK($,Z){if(B4===null)return!1;var G=$.elementType;Z=Z.type;var X=!1,N=typeof Z==="object"&&Z!==null?Z.$$typeof:null;switch($.tag){case 1:typeof Z==="function"&&(X=!0);break;case 0:typeof Z==="function"?X=!0:N===a5&&(X=!0);break;case 11:N===m7?X=!0:N===a5&&(X=!0);break;case 14:case 15:N===yG?X=!0:N===a5&&(X=!0);break;default:return!1}return X&&($=B4(G),$!==void 0&&$===B4(Z))?!0:!1}function mK($){B4!==null&&typeof WeakSet==="function"&&(N9===null&&(N9=new WeakSet),N9.add($))}function dK($,Z,G){do{var X=$,N=X.alternate,B=X.child,W=X.sibling,w=X.tag;X=X.type;var V=null;switch(w){case 0:case 15:case 1:V=X;break;case 11:V=X.render}if(B4===null)throw Error("Expected resolveFamily to be set during hot reload.");var _=!1;if(X=!1,V!==null&&(V=B4(V),V!==void 0&&(G.has(V)?X=!0:Z.has(V)&&(w===1?X=!0:_=!0))),N9!==null&&(N9.has($)||N!==null&&N9.has(N))&&(X=!0),X&&($._debugNeedsRemount=!0),X||_)N=B5($,2),N!==null&&C1(N,$,2);if(B===null||X||dK(B,Z,G),W===null)break;$=W}while(1)}function IL($,Z,G,X){this.tag=$,this.key=G,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=Z,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=X,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,sF||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function R3($){return $=$.prototype,!(!$||!$.isReactComponent)}function O8($,Z){var G=$.alternate;switch(G===null?(G=L($.tag,Z,$.key,$.mode),G.elementType=$.elementType,G.type=$.type,G.stateNode=$.stateNode,G._debugOwner=$._debugOwner,G._debugStack=$._debugStack,G._debugTask=$._debugTask,G._debugHookTypes=$._debugHookTypes,G.alternate=$,$.alternate=G):(G.pendingProps=Z,G.type=$.type,G.flags=0,G.subtreeFlags=0,G.deletions=null,G.actualDuration=-0,G.actualStartTime=-1.1),G.flags=$.flags&65011712,G.childLanes=$.childLanes,G.lanes=$.lanes,G.child=$.child,G.memoizedProps=$.memoizedProps,G.memoizedState=$.memoizedState,G.updateQueue=$.updateQueue,Z=$.dependencies,G.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},G.sibling=$.sibling,G.index=$.index,G.ref=$.ref,G.refCleanup=$.refCleanup,G.selfBaseDuration=$.selfBaseDuration,G.treeBaseDuration=$.treeBaseDuration,G._debugInfo=$._debugInfo,G._debugNeedsRemount=$._debugNeedsRemount,G.tag){case 0:case 15:G.type=A2($.type);break;case 1:G.type=A2($.type);break;case 11:G.type=T3($.type)}return G}function pK($,Z){$.flags&=65011714;var G=$.alternate;return G===null?($.childLanes=0,$.lanes=Z,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=G.childLanes,$.lanes=G.lanes,$.child=G.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=G.memoizedProps,$.memoizedState=G.memoizedState,$.updateQueue=G.updateQueue,$.type=G.type,Z=G.dependencies,$.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},$.selfBaseDuration=G.selfBaseDuration,$.treeBaseDuration=G.treeBaseDuration),$}function z3($,Z,G,X,N,B){var W=0,w=$;if(typeof $==="function")R3($)&&(W=1),w=A2(w);else if(typeof $==="string")W=K0(),W=f_($,G,W)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case BY:return Z=L(31,G,Z,N),Z.elementType=BY,Z.lanes=B,Z;case a$:return S2(G.children,N,B,Z);case fG:W=8,N|=M5,N|=A4;break;case YY:return $=G,X=N,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),Z=L(12,$,Z,X|D0),Z.elementType=YY,Z.lanes=B,Z.stateNode={effectDuration:0,passiveEffectDuration:0},Z;case NY:return Z=L(13,G,Z,N),Z.elementType=NY,Z.lanes=B,Z;case KY:return Z=L(19,G,Z,N),Z.elementType=KY,Z.lanes=B,Z;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case X8:W=10;break $;case UY:W=9;break $;case m7:W=11,w=T3(w);break $;case yG:W=14;break $;case a5:W=16,w=null;break $}if(w="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";$===null?G="null":c1($)?G="array":$!==void 0&&$.$$typeof===q8?(G="<"+(a($.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):G=typeof $,(W=X?Y0(X):null)&&(w+=`
|
|
72
|
-
|
|
73
|
-
Check the render method of \``+
|
|
45
|
+
`}function qL($,Q,G){var X="",N=b0({},Q),B;for(B in $)if($.hasOwnProperty(B)){delete N[B];var F=120-2*G-B.length-2,T=UQ($[B],F);Q.hasOwnProperty(B)?(F=UQ(Q[B],F),X+=y7(G)+B+": "+T+`
|
|
46
|
+
`,X+=D6(G)+B+": "+F+`
|
|
47
|
+
`):X+=y7(G)+B+": "+T+`
|
|
48
|
+
`}for(var V in N)N.hasOwnProperty(V)&&($=UQ(N[V],120-2*G-V.length-2),X+=D6(G)+V+": "+$+`
|
|
49
|
+
`);return X}function XL($,Q,G,X){var N="",B=new Map;for(_ in G)G.hasOwnProperty(_)&&B.set(_.toLowerCase(),_);if(B.size===1&&B.has("children"))N+=KX($,Q,l5(X));else{for(var F in Q)if(Q.hasOwnProperty(F)&&F!=="children"){var T=120-2*(X+1)-F.length-1,V=B.get(F.toLowerCase());if(V!==void 0){B.delete(F.toLowerCase());var _=Q[F];V=G[V];var k=f7(_,T);T=f7(V,T),typeof _==="object"&&_!==null&&typeof V==="object"&&V!==null&&NX(_)==="Object"&&NX(V)==="Object"&&(2<Object.keys(_).length||2<Object.keys(V).length||-1<k.indexOf("...")||-1<T.indexOf("..."))?N+=l5(X+1)+F+`={{
|
|
50
|
+
`+qL(_,V,X+2)+l5(X+1)+`}}
|
|
51
|
+
`:(N+=y7(X+1)+F+"="+k+`
|
|
52
|
+
`,N+=D6(X+1)+F+"="+T+`
|
|
53
|
+
`)}else N+=l5(X+1)+F+"="+f7(Q[F],T)+`
|
|
54
|
+
`}B.forEach(function(b){if(b!=="children"){var O=120-2*(X+1)-b.length-1;N+=D6(X+1)+b+"="+f7(G[b],O)+`
|
|
55
|
+
`}}),N=N===""?l5(X)+"<"+$+`>
|
|
56
|
+
`:l5(X)+"<"+$+`
|
|
57
|
+
`+N+l5(X)+`>
|
|
58
|
+
`}if($=G.children,Q=Q.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(B="",typeof Q==="string"||typeof Q==="number"||typeof Q==="bigint")B=""+Q;N+=bJ(B,""+$,X+1)}else if(typeof Q==="string"||typeof Q==="number"||typeof Q==="bigint")N=$==null?N+bJ(""+Q,null,X+1):N+bJ(""+Q,void 0,X+1);return N}function WK($,Q){var G=MK($);if(G===null){G="";for($=$.child;$;)G+=WK($,Q),$=$.sibling;return G}return l5(Q)+"<"+G+`>
|
|
59
|
+
`}function BX($,Q){var G=HK($,Q);if(G!==$&&($.children.length!==1||$.children[0]!==G))return l5(Q)+`...
|
|
60
|
+
`+BX(G,Q+1);G="";var X=$.fiber._debugInfo;if(X)for(var N=0;N<X.length;N++){var B=X[N].name;typeof B==="string"&&(G+=l5(Q)+"<"+B+`>
|
|
61
|
+
`,Q++)}if(X="",N=$.fiber.pendingProps,$.fiber.tag===6)X=bJ(N,$.serverProps,Q),Q++;else if(B=MK($.fiber),B!==null)if($.serverProps===void 0){X=Q;var F=120-2*X-B.length-2,T="";for(_ in N)if(N.hasOwnProperty(_)&&_!=="children"){var V=f7(N[_],15);if(F-=_.length+V.length+2,0>F){T+=" ...";break}T+=" "+_+"="+V}X=l5(X)+"<"+B+T+`>
|
|
62
|
+
`,Q++}else $.serverProps===null?(X=KX(B,N,y7(Q)),Q++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(X=XL(B,N,$.serverProps,Q),Q++);var _="";N=$.fiber.child;for(B=0;N&&B<$.children.length;)F=$.children[B],F.fiber===N?(_+=BX(F,Q),B++):_+=WK(N,Q),N=N.sibling;N&&0<$.children.length&&(_+=l5(Q)+`...
|
|
63
|
+
`),N=$.serverTail,$.serverProps===null&&Q--;for($=0;$<N.length;$++)B=N[$],_=typeof B==="string"?_+(D6(Q)+YQ(B,120-2*Q)+`
|
|
64
|
+
`):_+KX(B.type,B.props,D6(Q));return G+X+_}function HX($){try{return`
|
|
65
|
+
|
|
66
|
+
`+BX($,0)}catch(Q){return""}}function FK($,Q,G){for(var X=Q,N=null,B=0;X;)X===$&&(B=0),N={fiber:X,children:N!==null?[N]:[],serverProps:X===Q?G:X===$?null:void 0,serverTail:[],distanceFromLeaf:B},B++,X=X.return;return N!==null?HX(N).replaceAll(/^[+-]/gm,">"):""}function TK($,Q){var G=b0({},$||LW),X={tag:Q};if(VW.indexOf(Q)!==-1&&(G.aTagInScope=null,G.buttonTagInScope=null,G.nobrTagInScope=null),BC.indexOf(Q)!==-1&&(G.pTagInButtonScope=null),KC.indexOf(Q)!==-1&&Q!=="address"&&Q!=="div"&&Q!=="p"&&(G.listItemTagAutoclosing=null,G.dlItemTagAutoclosing=null),G.current=X,Q==="form"&&(G.formTag=X),Q==="a"&&(G.aTagInScope=X),Q==="button"&&(G.buttonTagInScope=X),Q==="nobr"&&(G.nobrTagInScope=X),Q==="p"&&(G.pTagInButtonScope=X),Q==="li"&&(G.listItemTagAutoclosing=X),Q==="dd"||Q==="dt")G.dlItemTagAutoclosing=X;return Q==="#document"||Q==="html"?G.containerTagInScope=null:G.containerTagInScope||(G.containerTagInScope=X),$!==null||Q!=="#document"&&Q!=="html"&&Q!=="body"?G.implicitRootScope===!0&&(G.implicitRootScope=!1):G.implicitRootScope=!0,G}function RK($,Q,G){switch(Q){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(G)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!G)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Q!=="h1"&&Q!=="h2"&&Q!=="h3"&&Q!=="h4"&&Q!=="h5"&&Q!=="h6";case"rp":case"rt":return HC.indexOf(Q)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return Q==null;case"head":return G||Q===null;case"html":return G&&Q==="#document"||Q===null;case"body":return G&&(Q==="#document"||Q==="html")||Q===null}return!0}function YL($,Q){switch($){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Q.pTagInButtonScope;case"form":return Q.formTag||Q.pTagInButtonScope;case"li":return Q.listItemTagAutoclosing;case"dd":case"dt":return Q.dlItemTagAutoclosing;case"button":return Q.buttonTagInScope;case"a":return Q.aTagInScope;case"nobr":return Q.nobrTagInScope}return null}function wK($,Q){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===Q)return $}$=$.return}return null}function MX($,Q){Q=Q||LW;var G=Q.current;if(Q=(G=RK($,G&&G.tag,Q.implicitRootScope)?null:G)?null:YL($,Q),Q=G||Q,!Q)return!0;var X=Q.tag;if(Q=String(!!G)+"|"+$+"|"+X,rG[Q])return!1;rG[Q]=!0;var N=(Q=$4)?wK(Q.return,X):null,B=Q!==null&&N!==null?FK(N,Q,null):"",F="<"+$+">";return G?(G="",X==="table"&&$==="tr"&&(G+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
67
|
+
This will cause a hydration error.%s`,F,X,G,B)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,F,X,B),Q&&($=Q.return,N===null||$===null||N===$&&$._debugOwner===Q._debugOwner||G0(N,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,X,F)})),!1}function yJ($,Q,G){if(G||RK("#text",Q,!1))return!0;if(G="#text|"+Q,rG[G])return!1;rG[G]=!0;var X=(G=$4)?wK(G,Q):null;return G=G!==null&&X!==null?FK(X,G,G.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
This will cause a hydration error.%s`,Q,G):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
71
|
+
This will cause a hydration error.%s`,Q,G),!1}function NQ($,Q){if(Q){var G=$.firstChild;if(G&&G===$.lastChild&&G.nodeType===3){G.nodeValue=Q;return}}$.textContent=Q}function UL($){return $.replace(FC,function(Q,G){return G.toUpperCase()})}function zK($,Q,G){var X=Q.indexOf("--")===0;X||(-1<Q.indexOf("-")?Z9.hasOwnProperty(Q)&&Z9[Q]||(Z9[Q]=!0,console.error("Unsupported style property %s. Did you mean %s?",Q,UL(Q.replace(WC,"ms-")))):MC.test(Q)?Z9.hasOwnProperty(Q)&&Z9[Q]||(Z9[Q]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",Q,Q.charAt(0).toUpperCase()+Q.slice(1))):!PW.test(G)||OY.hasOwnProperty(G)&&OY[G]||(OY[G]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Q,G.replace(PW,""))),typeof G==="number"&&(isNaN(G)?EW||(EW=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",Q)):isFinite(G)||IW||(IW=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",Q)))),G==null||typeof G==="boolean"||G===""?X?$.setProperty(Q,""):Q==="float"?$.cssFloat="":$[Q]="":X?$.setProperty(Q,G):typeof G!=="number"||G===0||jW.has(Q)?Q==="float"?$.cssFloat=G:(GQ(G,Q),$[Q]=(""+G).trim()):$[Q]=G+"px"}function VK($,Q,G){if(Q!=null&&typeof Q!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(Q&&Object.freeze(Q),$=$.style,G!=null){if(Q){var X={};if(G){for(var N in G)if(G.hasOwnProperty(N)&&!Q.hasOwnProperty(N))for(var B=jY[N]||[N],F=0;F<B.length;F++)X[B[F]]=N}for(var T in Q)if(Q.hasOwnProperty(T)&&(!G||G[T]!==Q[T]))for(N=jY[T]||[T],B=0;B<N.length;B++)X[N[B]]=T;T={};for(var V in Q)for(N=jY[V]||[V],B=0;B<N.length;B++)T[N[B]]=V;V={};for(var _ in X)if(N=X[_],(B=T[_])&&N!==B&&(F=N+","+B,!V[F])){V[F]=!0,F=console;var k=Q[N];F.error.call(F,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",k==null||typeof k==="boolean"||k===""?"Removing":"Updating",N,B)}}for(var b in G)!G.hasOwnProperty(b)||Q!=null&&Q.hasOwnProperty(b)||(b.indexOf("--")===0?$.setProperty(b,""):b==="float"?$.cssFloat="":$[b]="");for(var O in Q)_=Q[O],Q.hasOwnProperty(O)&&G[O]!==_&&zK($,O,_)}else for(X in Q)Q.hasOwnProperty(X)&&zK($,X,Q[X])}function KQ($){if($.indexOf("-")===-1)return!1;switch($){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function LK($){return TC.get($)||$}function NL($,Q){if(A4.call(G9,Q)&&G9[Q])return!0;if(wC.test(Q)){if($="aria-"+Q.slice(4).toLowerCase(),$=OW.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",Q),G9[Q]=!0;if(Q!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",Q,$),G9[Q]=!0}if(RC.test(Q)){if($=Q.toLowerCase(),$=OW.hasOwnProperty($)?$:null,$==null)return G9[Q]=!0,!1;Q!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",Q,$),G9[Q]=!0)}return!0}function KL($,Q){var G=[],X;for(X in Q)NL($,X)||G.push(X);Q=G.map(function(N){return"`"+N+"`"}).join(", "),G.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Q,$):1<G.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Q,$)}function BL($,Q,G,X){if(A4.call(V5,Q)&&V5[Q])return!0;var N=Q.toLowerCase();if(N==="onfocusin"||N==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),V5[Q]=!0;if(typeof G==="function"&&($==="form"&&Q==="action"||$==="input"&&Q==="formAction"||$==="button"&&Q==="formAction"))return!0;if(X!=null){if($=X.possibleRegistrationNames,X.registrationNameDependencies.hasOwnProperty(Q))return!0;if(X=$.hasOwnProperty(N)?$[N]:null,X!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",Q,X),V5[Q]=!0;if(AW.test(Q))return console.error("Unknown event handler property `%s`. It will be ignored.",Q),V5[Q]=!0}else if(AW.test(Q))return zC.test(Q)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Q),V5[Q]=!0;if(VC.test(Q)||LC.test(Q))return!0;if(N==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),V5[Q]=!0;if(N==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),V5[Q]=!0;if(N==="is"&&G!==null&&G!==void 0&&typeof G!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof G),V5[Q]=!0;if(typeof G==="number"&&isNaN(G))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",Q),V5[Q]=!0;if(nG.hasOwnProperty(N)){if(N=nG[N],N!==Q)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",Q,N),V5[Q]=!0}else if(Q!==N)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",Q,N),V5[Q]=!0;switch(Q){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof G){case"boolean":switch(Q){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(N=Q.toLowerCase().slice(0,5),N==="data-"||N==="aria-")return!0;return G?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',G,Q,Q,G,Q):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',G,Q,Q,G,Q,Q,Q),V5[Q]=!0}case"function":case"symbol":return V5[Q]=!0,!1;case"string":if(G==="false"||G==="true"){switch(Q){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",G,Q,G==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',Q,G),V5[Q]=!0}}return!0}function HL($,Q,G){var X=[],N;for(N in Q)BL($,N,Q[N],G)||X.push(N);Q=X.map(function(B){return"`"+B+"`"}).join(", "),X.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",Q,$):1<X.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",Q,$)}function BQ($){return _C.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function A$(){}function WX($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function _K($){var Q=P0($);if(Q&&($=Q.stateNode)){var G=$[z5]||null;$:switch($=Q.stateNode,Q.type){case"input":if(YX($,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name),Q=G.name,G.type==="radio"&&Q!=null){for(G=$;G.parentNode;)G=G.parentNode;X1(Q,"name"),G=G.querySelectorAll('input[name="'+N4(""+Q)+'"][type="radio"]');for(Q=0;Q<G.length;Q++){var X=G[Q];if(X!==$&&X.form===$.form){var N=X[z5]||null;if(!N)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");YX(X,N.value,N.defaultValue,N.defaultValue,N.checked,N.defaultChecked,N.type,N.name)}}for(Q=0;Q<G.length;Q++)X=G[Q],X.form===$.form&&JK(X)}break $;case"textarea":KK($,G.value,G.defaultValue);break $;case"select":Q=G.value,Q!=null&&b7($,!!G.multiple,Q,!1)}}}function CK($,Q,G){if(DY)return $(Q,G);DY=!0;try{var X=$(Q);return X}finally{if(DY=!1,q9!==null||X9!==null){if(r7(),q9&&(Q=q9,$=X9,X9=q9=null,_K(Q),$))for(Q=0;Q<$.length;Q++)_K($[Q])}}}function HQ($,Q){var G=$.stateNode;if(G===null)return null;var X=G[z5]||null;if(X===null)return null;G=X[Q];$:switch(Q){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(X=!X.disabled)||($=$.type,X=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!X;break $;default:$=!1}if($)return null;if(G&&typeof G!=="function")throw Error("Expected `"+Q+"` listener to be a function, instead got a value of `"+typeof G+"` type.");return G}function PK(){if(oG)return oG;var $,Q=SY,G=Q.length,X,N="value"in g8?g8.value:g8.textContent,B=N.length;for($=0;$<G&&Q[$]===N[$];$++);var F=G-$;for(X=1;X<=F&&Q[G-X]===N[B-X];X++);return oG=N.slice($,1<X?1-X:void 0)}function fJ($){var Q=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&Q===13&&($=13)):$=Q,$===10&&($=13),32<=$||$===13?$:0}function gJ(){return!0}function EK(){return!1}function O5($){function Q(G,X,N,B,F){this._reactName=G,this._targetInst=N,this.type=X,this.nativeEvent=B,this.target=F,this.currentTarget=null;for(var T in $)$.hasOwnProperty(T)&&(G=$[T],this[T]=G?G(B):B[T]);return this.isDefaultPrevented=(B.defaultPrevented!=null?B.defaultPrevented:B.returnValue===!1)?gJ:EK,this.isPropagationStopped=EK,this}return b0(Q.prototype,{preventDefault:function(){this.defaultPrevented=!0;var G=this.nativeEvent;G&&(G.preventDefault?G.preventDefault():typeof G.returnValue!=="unknown"&&(G.returnValue=!1),this.isDefaultPrevented=gJ)},stopPropagation:function(){var G=this.nativeEvent;G&&(G.stopPropagation?G.stopPropagation():typeof G.cancelBubble!=="unknown"&&(G.cancelBubble=!0),this.isPropagationStopped=gJ)},persist:function(){},isPersistent:gJ}),Q}function ML($){var Q=this.nativeEvent;return Q.getModifierState?Q.getModifierState($):($=yC[$])?!!Q[$]:!1}function FX(){return ML}function IK($,Q){switch($){case"keyup":return sC.indexOf(Q.keyCode)!==-1;case"keydown":return Q.keyCode!==bW;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jK($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function WL($,Q){switch($){case"compositionend":return jK(Q);case"keypress":if(Q.which!==fW)return null;return hW=!0,gW;case"textInput":return $=Q.data,$===gW&&hW?null:$;default:return null}}function FL($,Q){if(Y9)return $==="compositionend"||!yY&&IK($,Q)?($=PK(),oG=SY=g8=null,Y9=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(Q.ctrlKey||Q.altKey||Q.metaKey)||Q.ctrlKey&&Q.altKey){if(Q.char&&1<Q.char.length)return Q.char;if(Q.which)return String.fromCharCode(Q.which)}return null;case"compositionend":return yW&&Q.locale!=="ko"?null:Q.data;default:return null}}function OK($){var Q=$&&$.nodeName&&$.nodeName.toLowerCase();return Q==="input"?!!oC[$.type]:Q==="textarea"?!0:!1}function TL($){if(!M$)return!1;$="on"+$;var Q=$ in document;return Q||(Q=document.createElement("div"),Q.setAttribute($,"return;"),Q=typeof Q[$]==="function"),Q}function DK($,Q,G,X){q9?X9?X9.push(X):X9=[X]:q9=X,Q=DG(Q,"onChange"),0<Q.length&&(G=new iG("onChange","change",null,G,X),$.push({event:G,listeners:Q}))}function RL($){BM($,0)}function hJ($){var Q=E0($);if(JK(Q))return $}function AK($,Q){if($==="change")return Q}function SK(){aQ&&(aQ.detachEvent("onpropertychange",vK),tQ=aQ=null)}function vK($){if($.propertyName==="value"&&hJ(tQ)){var Q=[];DK(Q,tQ,$,WX($)),CK(RL,Q)}}function wL($,Q,G){$==="focusin"?(SK(),aQ=Q,tQ=G,aQ.attachEvent("onpropertychange",vK)):$==="focusout"&&SK()}function zL($){if($==="selectionchange"||$==="keyup"||$==="keydown")return hJ(tQ)}function VL($,Q){if($==="click")return hJ(Q)}function LL($,Q){if($==="input"||$==="change")return hJ(Q)}function _L($,Q){return $===Q&&($!==0||1/$===1/Q)||$!==$&&Q!==Q}function MQ($,Q){if(L5($,Q))return!0;if(typeof $!=="object"||$===null||typeof Q!=="object"||Q===null)return!1;var G=Object.keys($),X=Object.keys(Q);if(G.length!==X.length)return!1;for(X=0;X<G.length;X++){var N=G[X];if(!A4.call(Q,N)||!L5($[N],Q[N]))return!1}return!0}function kK($){for(;$&&$.firstChild;)$=$.firstChild;return $}function bK($,Q){var G=kK($);$=0;for(var X;G;){if(G.nodeType===3){if(X=$+G.textContent.length,$<=Q&&X>=Q)return{node:G,offset:Q-$};$=X}$:{for(;G;){if(G.nextSibling){G=G.nextSibling;break $}G=G.parentNode}G=void 0}G=kK(G)}}function yK($,Q){return $&&Q?$===Q?!0:$&&$.nodeType===3?!1:Q&&Q.nodeType===3?yK($,Q.parentNode):("contains"in $)?$.contains(Q):$.compareDocumentPosition?!!($.compareDocumentPosition(Q)&16):!1:!1}function fK($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var Q=kJ($.document);Q instanceof $.HTMLIFrameElement;){try{var G=typeof Q.contentWindow.location.href==="string"}catch(X){G=!1}if(G)$=Q.contentWindow;else break;Q=kJ($.document)}return Q}function TX($){var Q=$&&$.nodeName&&$.nodeName.toLowerCase();return Q&&(Q==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||Q==="textarea"||$.contentEditable==="true")}function gK($,Q,G){var X=G.window===G?G.document:G.nodeType===9?G:G.ownerDocument;gY||U9==null||U9!==kJ(X)||(X=U9,("selectionStart"in X)&&TX(X)?X={start:X.selectionStart,end:X.selectionEnd}:(X=(X.ownerDocument&&X.ownerDocument.defaultView||window).getSelection(),X={anchorNode:X.anchorNode,anchorOffset:X.anchorOffset,focusNode:X.focusNode,focusOffset:X.focusOffset}),eQ&&MQ(eQ,X)||(eQ=X,X=DG(fY,"onSelect"),0<X.length&&(Q=new iG("onSelect","select",null,Q,G),$.push({event:Q,listeners:X}),Q.target=U9)))}function A6($,Q){var G={};return G[$.toLowerCase()]=Q.toLowerCase(),G["Webkit"+$]="webkit"+Q,G["Moz"+$]="moz"+Q,G}function S6($){if(hY[$])return hY[$];if(!N9[$])return $;var Q=N9[$],G;for(G in Q)if(Q.hasOwnProperty(G)&&G in uW)return hY[$]=Q[G];return $}function j4($,Q){lW.set($,Q),B5(Q,[$])}function CL($){for(var Q=tG,G=0;G<$.length;G++){var X=$[G];if(typeof X==="object"&&X!==null)if(c1(X)&&X.length===2&&typeof X[0]==="string"){if(Q!==tG&&Q!==pY)return mY;Q=pY}else return mY;else{if(typeof X==="function"||typeof X==="string"&&50<X.length||Q!==tG&&Q!==dY)return mY;Q=dY}}return Q}function RX($,Q,G,X){for(var N in $)A4.call($,N)&&N[0]!=="_"&&l4(N,$[N],Q,G,X)}function l4($,Q,G,X,N){switch(typeof Q){case"object":if(Q===null){Q="null";break}else{if(Q.$$typeof===Y$){var B=a(Q.type)||"…",F=Q.key;Q=Q.props;var T=Object.keys(Q),V=T.length;if(F==null&&V===0){Q="<"+B+" />";break}if(3>X||V===1&&T[0]==="children"&&F==null){Q="<"+B+" … />";break}G.push([N+" ".repeat(X)+$,"<"+B]),F!==null&&l4("key",F,G,X+1,N),$=!1;for(var _ in Q)_==="children"?Q.children!=null&&(!c1(Q.children)||0<Q.children.length)&&($=!0):A4.call(Q,_)&&_[0]!=="_"&&l4(_,Q[_],G,X+1,N);G.push(["",$?">…</"+B+">":"/>"]);return}if(B=Object.prototype.toString.call(Q),B=B.slice(8,B.length-1),B==="Array"){if(_=CL(Q),_===dY||_===tG){Q=JSON.stringify(Q);break}else if(_===pY){G.push([N+" ".repeat(X)+$,""]);for($=0;$<Q.length;$++)B=Q[$],l4(B[0],B[1],G,X+1,N);return}}if(B==="Promise"){if(Q.status==="fulfilled"){if(B=G.length,l4($,Q.value,G,X,N),G.length>B){G=G[B],G[1]="Promise<"+(G[1]||"Object")+">";return}}else if(Q.status==="rejected"&&(B=G.length,l4($,Q.reason,G,X,N),G.length>B)){G=G[B],G[1]="Rejected Promise<"+G[1]+">";return}G.push([" ".repeat(X)+$,"Promise"]);return}B==="Object"&&(_=Object.getPrototypeOf(Q))&&typeof _.constructor==="function"&&(B=_.constructor.name),G.push([N+" ".repeat(X)+$,B==="Object"?3>X?"":"…":B]),3>X&&RX(Q,G,X+1,N);return}case"function":Q=Q.name===""?"() => {}":Q.name+"() {}";break;case"string":Q=Q===ZP?"…":JSON.stringify(Q);break;case"undefined":Q="undefined";break;case"boolean":Q=Q?"true":"false";break;default:Q=String(Q)}G.push([N+" ".repeat(X)+$,Q])}function hK($,Q,G,X){var N=!0;for(F in $)F in Q||(G.push([eG+" ".repeat(X)+F,"…"]),N=!1);for(var B in Q)if(B in $){var F=$[B],T=Q[B];if(F!==T){if(X===0&&B==="children")N=" ".repeat(X)+B,G.push([eG+N,"…"],[$q+N,"…"]);else{if(!(3<=X)){if(typeof F==="object"&&typeof T==="object"&&F!==null&&T!==null&&F.$$typeof===T.$$typeof)if(T.$$typeof===Y$){if(F.type===T.type&&F.key===T.key){F=a(T.type)||"…",N=" ".repeat(X)+B,F="<"+F+" … />",G.push([eG+N,F],[$q+N,F]),N=!1;continue}}else{var V=Object.prototype.toString.call(F),_=Object.prototype.toString.call(T);if(V===_&&(_==="[object Object]"||_==="[object Array]")){V=[nW+" ".repeat(X)+B,_==="[object Array]"?"Array":""],G.push(V),_=G.length,hK(F,T,G,X+1)?_===G.length&&(V[1]="Referentially unequal but deeply equal objects. Consider memoization."):N=!1;continue}}else if(typeof F==="function"&&typeof T==="function"&&F.name===T.name&&F.length===T.length&&(V=Function.prototype.toString.call(F),_=Function.prototype.toString.call(T),V===_)){F=T.name===""?"() => {}":T.name+"() {}",G.push([nW+" ".repeat(X)+B,F+" Referentially unequal function closure. Consider memoization."]);continue}}l4(B,F,G,X,eG),l4(B,T,G,X,$q)}N=!1}}else G.push([$q+" ".repeat(X)+B,"…"]),N=!1;return N}function r5($){h0=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function r4($,Q,G,X){T1&&(x8.start=Q,x8.end=G,x$.color="warning",x$.tooltipText=X,x$.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,X,x8)):performance.measure(X,x8))}function xJ($,Q,G){r4($,Q,G,"Reconnect")}function uJ($,Q,G,X,N){var B=d($);if(B!==null&&T1){var{alternate:F,actualDuration:T}=$;if(F===null||F.child!==$.child)for(var V=$.child;V!==null;V=V.sibling)T-=V.actualDuration;X=0.5>T?X?"tertiary-light":"primary-light":10>T?X?"tertiary":"primary":100>T?X?"tertiary-dark":"primary-dark":"error";var _=$.memoizedProps;T=$._debugTask,_!==null&&F!==null&&F.memoizedProps!==_?(V=[JP],_=hK(F.memoizedProps,_,V,0),1<V.length&&(_&&!h8&&(F.lanes&N)===0&&100<$.actualDuration?(h8=!0,V[0]=GP,x$.color="warning",x$.tooltipText=oW):(x$.color=X,x$.tooltipText=B),x$.properties=V,x8.start=Q,x8.end=G,T!=null?T.run(performance.measure.bind(performance,""+B,x8)):performance.measure(""+B,x8))):T!=null?T.run(console.timeStamp.bind(console,B,Q,G,B4,void 0,X)):console.timeStamp(B,Q,G,B4,void 0,X)}}function wX($,Q,G,X){if(T1){var N=d($);if(N!==null){for(var B=null,F=[],T=0;T<X.length;T++){var V=X[T];B==null&&V.source!==null&&(B=V.source._debugTask),V=V.value,F.push(["Error",typeof V==="object"&&V!==null&&typeof V.message==="string"?String(V.message):String(V)])}$.key!==null&&l4("key",$.key,F,0,""),$.memoizedProps!==null&&RX($.memoizedProps,F,0,""),B==null&&(B=$._debugTask),$={start:Q,end:G,detail:{devtools:{color:"error",track:B4,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:F}}},B?B.run(performance.measure.bind(performance,""+N,$)):performance.measure(""+N,$)}}}function s4($,Q,G,X,N){if(N!==null){if(T1){var B=d($);if(B!==null){X=[];for(var F=0;F<N.length;F++){var T=N[F].value;X.push(["Error",typeof T==="object"&&T!==null&&typeof T.message==="string"?String(T.message):String(T)])}$.key!==null&&l4("key",$.key,X,0,""),$.memoizedProps!==null&&RX($.memoizedProps,X,0,""),Q={start:Q,end:G,detail:{devtools:{color:"error",track:B4,tooltipText:"A lifecycle or effect errored",properties:X}}},($=$._debugTask)?$.run(performance.measure.bind(performance,""+B,Q)):performance.measure(""+B,Q)}}}else B=d($),B!==null&&T1&&(N=1>X?"secondary-light":100>X?"secondary":500>X?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,B,Q,G,B4,void 0,N)):console.timeStamp(B,Q,G,B4,void 0,N))}function PL($,Q,G,X){if(T1&&!(Q<=$)){var N=(G&738197653)===G?"tertiary-dark":"primary-dark";G=(G&536870912)===G?"Prepared":(G&201326741)===G?"Hydrated":"Render",X?X.run(console.timeStamp.bind(console,G,$,Q,h0,y0,N)):console.timeStamp(G,$,Q,h0,y0,N)}}function xK($,Q,G,X){!T1||Q<=$||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Prewarm",$,Q,h0,y0,G)):console.timeStamp("Prewarm",$,Q,h0,y0,G))}function uK($,Q,G,X){!T1||Q<=$||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Suspended",$,Q,h0,y0,G)):console.timeStamp("Suspended",$,Q,h0,y0,G))}function EL($,Q,G,X,N,B){if(T1&&!(Q<=$)){G=[];for(var F=0;F<X.length;F++){var T=X[F].value;G.push(["Recoverable Error",typeof T==="object"&&T!==null&&typeof T.message==="string"?String(T.message):String(T)])}$={start:$,end:Q,detail:{devtools:{color:"primary-dark",track:h0,trackGroup:y0,tooltipText:N?"Hydration Failed":"Recovered after Error",properties:G}}},B?B.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function zX($,Q,G,X){!T1||Q<=$||(X?X.run(console.timeStamp.bind(console,"Errored",$,Q,h0,y0,"error")):console.timeStamp("Errored",$,Q,h0,y0,"error"))}function IL($,Q,G,X){!T1||Q<=$||(X?X.run(console.timeStamp.bind(console,G,$,Q,h0,y0,"secondary-light")):console.timeStamp(G,$,Q,h0,y0,"secondary-light"))}function mK($,Q,G,X,N){if(T1&&!(Q<=$)){for(var B=[],F=0;F<G.length;F++){var T=G[F].value;B.push(["Error",typeof T==="object"&&T!==null&&typeof T.message==="string"?String(T.message):String(T)])}$={start:$,end:Q,detail:{devtools:{color:"error",track:h0,trackGroup:y0,tooltipText:X?"Remaining Effects Errored":"Commit Errored",properties:B}}},N?N.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function WQ($,Q,G){!T1||Q<=$||(G?G.run(console.timeStamp.bind(console,"Animating",$,Q,h0,y0,"secondary-dark")):console.timeStamp("Animating",$,Q,h0,y0,"secondary-dark"))}function mJ(){for(var $=K9,Q=cY=K9=0;Q<$;){var G=H4[Q];H4[Q++]=null;var X=H4[Q];H4[Q++]=null;var N=H4[Q];H4[Q++]=null;var B=H4[Q];if(H4[Q++]=null,X!==null&&N!==null){var F=X.pending;F===null?N.next=N:(N.next=F.next,F.next=N),X.pending=N}B!==0&&dK(G,N,B)}}function dJ($,Q,G,X){H4[K9++]=$,H4[K9++]=Q,H4[K9++]=G,H4[K9++]=X,cY|=X,$.lanes|=X,$=$.alternate,$!==null&&($.lanes|=X)}function VX($,Q,G,X){return dJ($,Q,G,X),pJ($)}function H5($,Q){return dJ($,null,null,Q),pJ($)}function dK($,Q,G){$.lanes|=G;var X=$.alternate;X!==null&&(X.lanes|=G);for(var N=!1,B=$.return;B!==null;)B.childLanes|=G,X=B.alternate,X!==null&&(X.childLanes|=G),B.tag===22&&($=B.stateNode,$===null||$._visibility&$Z||(N=!0)),$=B,B=B.return;return $.tag===3?(B=$.stateNode,N&&Q!==null&&(N=31-w5(G),$=B.hiddenUpdates,X=$[N],X===null?$[N]=[Q]:X.push(Q),Q.lane=G|536870912),B):null}function pJ($){if(jZ>zP)throw X7=jZ=0,OZ=CU=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");X7>VP&&(X7=0,OZ=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),$.alternate===null&&($.flags&4098)!==0&&GM($);for(var Q=$,G=Q.return;G!==null;)Q.alternate===null&&(Q.flags&4098)!==0&&GM($),Q=G,G=Q.return;return Q.tag===3?Q.stateNode:null}function v6($){if(M4===null)return $;var Q=M4($);return Q===void 0?$:Q.current}function LX($){if(M4===null)return $;var Q=M4($);return Q===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(Q=v6($.render),$.render!==Q)?(Q={$$typeof:dQ,render:Q},$.displayName!==void 0&&(Q.displayName=$.displayName),Q):$:Q.current}function pK($,Q){if(M4===null)return!1;var G=$.elementType;Q=Q.type;var X=!1,N=typeof Q==="object"&&Q!==null?Q.$$typeof:null;switch($.tag){case 1:typeof Q==="function"&&(X=!0);break;case 0:typeof Q==="function"?X=!0:N===e5&&(X=!0);break;case 11:N===dQ?X=!0:N===e5&&(X=!0);break;case 14:case 15:N===uG?X=!0:N===e5&&(X=!0);break;default:return!1}return X&&($=M4(G),$!==void 0&&$===M4(Q))?!0:!1}function cK($){M4!==null&&typeof WeakSet==="function"&&(B9===null&&(B9=new WeakSet),B9.add($))}function lK($,Q,G){do{var X=$,N=X.alternate,B=X.child,F=X.sibling,T=X.tag;X=X.type;var V=null;switch(T){case 0:case 15:case 1:V=X;break;case 11:V=X.render}if(M4===null)throw Error("Expected resolveFamily to be set during hot reload.");var _=!1;if(X=!1,V!==null&&(V=M4(V),V!==void 0&&(G.has(V)?X=!0:Q.has(V)&&(T===1?X=!0:_=!0))),B9!==null&&(B9.has($)||N!==null&&B9.has(N))&&(X=!0),X&&($._debugNeedsRemount=!0),X||_)N=H5($,2),N!==null&&I1(N,$,2);if(B===null||X||lK(B,Q,G),F===null)break;$=F}while(1)}function jL($,Q,G,X){this.tag=$,this.key=G,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=Q,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=X,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,iW||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function _X($){return $=$.prototype,!(!$||!$.isReactComponent)}function S$($,Q){var G=$.alternate;switch(G===null?(G=L($.tag,Q,$.key,$.mode),G.elementType=$.elementType,G.type=$.type,G.stateNode=$.stateNode,G._debugOwner=$._debugOwner,G._debugStack=$._debugStack,G._debugTask=$._debugTask,G._debugHookTypes=$._debugHookTypes,G.alternate=$,$.alternate=G):(G.pendingProps=Q,G.type=$.type,G.flags=0,G.subtreeFlags=0,G.deletions=null,G.actualDuration=-0,G.actualStartTime=-1.1),G.flags=$.flags&65011712,G.childLanes=$.childLanes,G.lanes=$.lanes,G.child=$.child,G.memoizedProps=$.memoizedProps,G.memoizedState=$.memoizedState,G.updateQueue=$.updateQueue,Q=$.dependencies,G.dependencies=Q===null?null:{lanes:Q.lanes,firstContext:Q.firstContext,_debugThenableState:Q._debugThenableState},G.sibling=$.sibling,G.index=$.index,G.ref=$.ref,G.refCleanup=$.refCleanup,G.selfBaseDuration=$.selfBaseDuration,G.treeBaseDuration=$.treeBaseDuration,G._debugInfo=$._debugInfo,G._debugNeedsRemount=$._debugNeedsRemount,G.tag){case 0:case 15:G.type=v6($.type);break;case 1:G.type=v6($.type);break;case 11:G.type=LX($.type)}return G}function rK($,Q){$.flags&=65011714;var G=$.alternate;return G===null?($.childLanes=0,$.lanes=Q,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=G.childLanes,$.lanes=G.lanes,$.child=G.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=G.memoizedProps,$.memoizedState=G.memoizedState,$.updateQueue=G.updateQueue,$.type=G.type,Q=G.dependencies,$.dependencies=Q===null?null:{lanes:Q.lanes,firstContext:Q.firstContext,_debugThenableState:Q._debugThenableState},$.selfBaseDuration=G.selfBaseDuration,$.treeBaseDuration=G.treeBaseDuration),$}function CX($,Q,G,X,N,B){var F=0,T=$;if(typeof $==="function")_X($)&&(F=1),T=v6(T);else if(typeof $==="string")F=q0(),F=f_($,G,F)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case FY:return Q=L(31,G,Q,N),Q.elementType=FY,Q.lanes=B,Q;case e7:return k6(G.children,N,B,Q);case xG:F=8,N|=W5,N|=v4;break;case BY:return $=G,X=N,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),Q=L(12,$,Q,X|O0),Q.elementType=BY,Q.lanes=B,Q.stateNode={effectDuration:0,passiveEffectDuration:0},Q;case MY:return Q=L(13,G,Q,N),Q.elementType=MY,Q.lanes=B,Q;case WY:return Q=L(19,G,Q,N),Q.elementType=WY,Q.lanes=B,Q;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case U$:F=10;break $;case HY:F=9;break $;case dQ:F=11,T=LX(T);break $;case uG:F=14;break $;case e5:F=16,T=null;break $}if(T="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)T+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";$===null?G="null":c1($)?G="array":$!==void 0&&$.$$typeof===Y$?(G="<"+(a($.type)||"Unknown")+" />",T=" Did you accidentally export a JSX literal instead of a component?"):G=typeof $,(F=X?U0(X):null)&&(T+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+F+"`."),F=29,G=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(G+"."+T)),T=null}return Q=L(F,G,Q,N),Q.elementType=$,Q.type=T,Q.lanes=B,Q._debugOwner=X,Q}function cJ($,Q,G){return Q=CX($.type,$.key,$.props,$._owner,Q,G),Q._debugOwner=$._owner,Q._debugStack=$._debugStack,Q._debugTask=$._debugTask,Q}function k6($,Q,G,X){return $=L(7,$,X,Q),$.lanes=G,$}function PX($,Q,G){return $=L(6,$,null,Q),$.lanes=G,$}function sK($){var Q=L(18,null,null,V0);return Q.stateNode=$,Q}function EX($,Q,G){return Q=L(4,$.children!==null?$.children:[],$.key,Q),Q.lanes=G,Q.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},Q}function s5($,Q){if(typeof $==="object"&&$!==null){var G=lY.get($);if(G!==void 0)return G;return Q={value:$,source:Q,stack:_1(Q)},lY.set($,Q),Q}return{value:$,source:Q,stack:_1(Q)}}function v$($,Q){L8(),H9[M9++]=QZ,H9[M9++]=Qq,Qq=$,QZ=Q}function nK($,Q,G){L8(),W4[F4++]=m$,W4[F4++]=d$,W4[F4++]=r6,r6=$;var X=m$;$=d$;var N=32-w5(X)-1;X&=~(1<<N),G+=1;var B=32-w5(Q)+N;if(30<B){var F=N-N%5;B=(X&(1<<F)-1).toString(32),X>>=F,N-=F,m$=1<<32-w5(Q)+N|G<<N|X,d$=B+$}else m$=1<<B|G<<N|X,d$=$}function IX($){L8(),$.return!==null&&(v$($,1),nK($,1,0))}function jX($){for(;$===Qq;)Qq=H9[--M9],H9[M9]=null,QZ=H9[--M9],H9[M9]=null;for(;$===r6;)r6=W4[--F4],W4[F4]=null,d$=W4[--F4],W4[F4]=null,m$=W4[--F4],W4[F4]=null}function oK(){return L8(),r6!==null?{id:m$,overflow:d$}:null}function iK($,Q){L8(),W4[F4++]=m$,W4[F4++]=d$,W4[F4++]=r6,m$=Q.id,d$=Q.overflow,r6=$}function L8(){m0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function b6($,Q){if($.return===null){if(Z4===null)Z4={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Q};else{if(Z4.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Z4.distanceFromLeaf>Q&&(Z4.distanceFromLeaf=Q)}return Z4}var G=b6($.return,Q+1).children;if(0<G.length&&G[G.length-1].fiber===$)return G=G[G.length-1],G.distanceFromLeaf>Q&&(G.distanceFromLeaf=Q),G;return Q={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Q},G.push(Q),Q}function aK(){m0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function lJ($,Q){W$||($=b6($,0),$.serverProps=null,Q!==null&&(Q=DM(Q),$.serverTail.push(Q)))}function _8($){var Q=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,G="",X=Z4;throw X!==null&&(Z4=null,G=HX(X)),FQ(s5(Error("Hydration failed because the server rendered "+(Q?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
74
74
|
|
|
75
75
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
76
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -80,7 +80,7 @@ Check the render method of \``+W+"`."),W=29,G=Error("Element type is invalid: ex
|
|
|
80
80
|
|
|
81
81
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
82
|
|
|
83
|
-
https://react.dev/link/hydration-mismatch`+G),$)),
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+G),$)),rY}function tK($){var{stateNode:Q,type:G,memoizedProps:X}=$;switch(Q[G5]=$,Q[z5]=X,s3(G,X),G){case"dialog":p0("cancel",Q),p0("close",Q);break;case"iframe":case"object":case"embed":p0("load",Q);break;case"video":case"audio":for(G=0;G<DZ.length;G++)p0(DZ[G],Q);break;case"source":p0("error",Q);break;case"img":case"image":case"link":p0("error",Q),p0("load",Q);break;case"details":p0("toggle",Q);break;case"input":V8("input",X),p0("invalid",Q),GK(Q,X),qK(Q,X.value,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name,!0);break;case"option":XK(Q,X);break;case"select":V8("select",X),p0("invalid",Q),UK(Q,X);break;case"textarea":V8("textarea",X),p0("invalid",Q),NK(Q,X),BK(Q,X.value,X.defaultValue,X.children)}G=X.children,typeof G!=="string"&&typeof G!=="number"&&typeof G!=="bigint"||Q.textContent===""+G||X.suppressHydrationWarning===!0||FM(Q.textContent,G)?(X.popover!=null&&(p0("beforetoggle",Q),p0("toggle",Q)),X.onScroll!=null&&p0("scroll",Q),X.onScrollEnd!=null&&p0("scrollend",Q),X.onClick!=null&&(Q.onclick=A$),Q=!0):Q=!1,Q||_8($,!0)}function eK($){for(q5=$.return;q5;)switch(q5.tag){case 5:case 31:case 13:T4=!1;return;case 27:case 3:T4=!0;return;default:q5=q5.return}}function g7($){if($!==q5)return!1;if(!m0)return eK($),m0=!0,!1;var Q=$.tag,G;if(G=Q!==3&&Q!==27){if(G=Q===5)G=$.type,G=!(G!=="form"&&G!=="button")||t3($.type,$.memoizedProps);G=!G}if(G&&R1){for(G=R1;G;){var X=b6($,0),N=DM(G);X.serverTail.push(N),G=N.type==="Suspense"?ZY(G):t5(G.nextSibling)}_8($)}if(eK($),Q===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");R1=ZY($)}else if(Q===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");R1=ZY($)}else Q===27?(Q=R1,v8($.type)?($=yU,yU=null,R1=$):R1=Q):R1=q5?t5($.stateNode.nextSibling):null;return!0}function y6(){R1=q5=null,W$=m0=!1}function OX(){var $=m8;return $!==null&&(E5===null?E5=$:E5.push.apply(E5,$),m8=null),$}function FQ($){m8===null?m8=[$]:m8.push($)}function DX(){var $=Z4;if($!==null){Z4=null;for(var Q=HX($);0<$.children.length;)$=$.children[0];G0($.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
84
84
|
|
|
85
85
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
86
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -90,54 +90,54 @@ https://react.dev/link/hydration-mismatch`+G),$)),dY}function oK($){var{stateNod
|
|
|
90
90
|
|
|
91
91
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
92
|
|
|
93
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",Q)})}}function rJ(){W9=Zq=null,F9=!1}function C8($,Q,G){z0(sY,Q._currentValue,$),Q._currentValue=G,z0(nY,Q._currentRenderer,$),Q._currentRenderer!==void 0&&Q._currentRenderer!==null&&Q._currentRenderer!==tW&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),Q._currentRenderer=tW}function k$($,Q){$._currentValue=sY.current;var G=nY.current;B0(nY,Q),$._currentRenderer=G,B0(sY,Q)}function AX($,Q,G){for(;$!==null;){var X=$.alternate;if(($.childLanes&Q)!==Q?($.childLanes|=Q,X!==null&&(X.childLanes|=Q)):X!==null&&(X.childLanes&Q)!==Q&&(X.childLanes|=Q),$===G)break;$=$.return}$!==G&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function SX($,Q,G,X){var N=$.child;N!==null&&(N.return=$);for(;N!==null;){var B=N.dependencies;if(B!==null){var F=N.child;B=B.firstContext;$:for(;B!==null;){var T=B;B=N;for(var V=0;V<Q.length;V++)if(T.context===Q[V]){B.lanes|=G,T=B.alternate,T!==null&&(T.lanes|=G),AX(B.return,G,$),X||(F=null);break $}B=T.next}}else if(N.tag===18){if(F=N.return,F===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");F.lanes|=G,B=F.alternate,B!==null&&(B.lanes|=G),AX(F,G,$),F=null}else F=N.child;if(F!==null)F.return=N;else for(F=N;F!==null;){if(F===$){F=null;break}if(N=F.sibling,N!==null){N.return=F.return,F=N;break}F=F.return}N=F}}function h7($,Q,G,X){$=null;for(var N=Q,B=!1;N!==null;){if(!B){if((N.flags&524288)!==0)B=!0;else if((N.flags&262144)!==0)break}if(N.tag===10){var F=N.alternate;if(F===null)throw Error("Should have a current fiber. This is a bug in React.");if(F=F.memoizedProps,F!==null){var T=N.type;L5(N.pendingProps.value,F.value)||($!==null?$.push(T):$=[T])}}else if(N===mG.current){if(F=N.alternate,F===null)throw Error("Should have a current fiber. This is a bug in React.");F.memoizedState.memoizedState!==N.memoizedState.memoizedState&&($!==null?$.push(bZ):$=[bZ])}N=N.return}$!==null&&SX(Q,$,G,X),Q.flags|=262144}function sJ($){for($=$.firstContext;$!==null;){if(!L5($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function f6($){Zq=$,W9=null,$=$.dependencies,$!==null&&($.firstContext=null)}function V1($){return F9&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),$B(Zq,$)}function nJ($,Q){return Zq===null&&f6($),$B($,Q)}function $B($,Q){var G=Q._currentValue;if(Q={context:Q,memoizedValue:G,next:null},W9===null){if($===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");W9=Q,$.dependencies={lanes:0,firstContext:Q,_debugThenableState:null},$.flags|=524288}else W9=W9.next=Q;return G}function vX(){return{controller:new YP,data:new Map,refCount:0}}function g6($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function TQ($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&UP(NP,function(){$.controller.abort()})}function n4($,Q,G){if(($&127)!==0)0>F$&&(F$=g1(),JZ=Jq(Q),oY=Q,G!=null&&(iY=d(G)),(n0&(r1|q4))!==t1&&(j1=!0,c8=ZZ),$=gQ(),Q=fQ(),$!==T9||Q!==GZ?T9=-1.1:Q!==null&&(c8=ZZ),n6=$,GZ=Q);else if(($&4194048)!==0&&0>R4&&(R4=g1(),qZ=Jq(Q),eW=Q,G!=null&&($F=d(G)),0>l$)){if($=gQ(),Q=fQ(),$!==r8||Q!==o6)r8=-1.1;l8=$,o6=Q}}function OL($){if(0>F$){F$=g1(),JZ=$._debugTask!=null?$._debugTask:null,(n0&(r1|q4))!==t1&&(c8=ZZ);var Q=gQ(),G=fQ();Q!==T9||G!==GZ?T9=-1.1:G!==null&&(c8=ZZ),n6=Q,GZ=G}if(0>R4&&(R4=g1(),qZ=$._debugTask!=null?$._debugTask:null,0>l$)){if($=gQ(),Q=fQ(),$!==r8||Q!==o6)r8=-1.1;l8=$,o6=Q}}function b$(){var $=s6;return s6=0,$}function oJ($){var Q=s6;return s6=$,Q}function RQ($){var Q=s6;return s6+=$,Q}function iJ(){w0=T0=-1.1}function n5(){var $=T0;return T0=-1.1,$}function o5($){0<=$&&(T0=$)}function o4(){var $=C1;return C1=-0,$}function i4($){0<=$&&(C1=$)}function a4(){var $=L1;return L1=null,$}function t4(){var $=j1;return j1=!1,$}function kX($){_5=g1(),0>$.actualStartTime&&($.actualStartTime=_5)}function bX($){if(0<=_5){var Q=g1()-_5;$.actualDuration+=Q,$.selfBaseDuration=Q,_5=-1}}function QB($){if(0<=_5){var Q=g1()-_5;$.actualDuration+=Q,_5=-1}}function e4(){if(0<=_5){var $=g1(),Q=$-_5;_5=-1,s6+=Q,C1+=Q,w0=$}}function ZB($){L1===null&&(L1=[]),L1.push($),c$===null&&(c$=[]),c$.push($)}function $$(){_5=g1(),0>T0&&(T0=_5)}function wQ($){for(var Q=$.child;Q;)$.actualDuration+=Q.actualDuration,Q=Q.sibling}function DL($,Q){if(YZ===null){var G=YZ=[];tY=0,i6=p3(),R9={status:"pending",value:void 0,then:function(X){G.push(X)}}}return tY++,Q.then(JB,JB),Q}function JB(){if(--tY===0&&(-1<R4||(l$=-1.1),YZ!==null)){R9!==null&&(R9.status="fulfilled");var $=YZ;YZ=null,i6=0,R9=null;for(var Q=0;Q<$.length;Q++)(0,$[Q])()}}function AL($,Q){var G=[],X={status:"pending",value:null,reason:null,then:function(N){G.push(N)}};return $.then(function(){X.status="fulfilled",X.value=Q;for(var N=0;N<G.length;N++)(0,G[N])(Q)},function(N){X.status="rejected",X.reason=N;for(N=0;N<G.length;N++)(0,G[N])(void 0)}),X}function yX(){var $=a6.current;return $!==null?$:N1.pooledCache}function aJ($,Q){Q===null?z0(a6,a6.current,$):z0(a6,Q.pool,$)}function GB(){var $=yX();return $===null?null:{parent:f1._currentValue,pool:$}}function qB(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function XB($){return $=$.status,$==="fulfilled"||$==="rejected"}function YB($,Q,G){x.actQueue!==null&&(x.didUsePromise=!0);var X=$.thenables;if(G=X[G],G===void 0?X.push(Q):G!==Q&&($.didWarnAboutUncachedPromise||($.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),Q.then(A$,A$),Q=G),Q._debugInfo===void 0){$=performance.now(),X=Q.displayName;var N={name:typeof X==="string"?X:"Promise",start:$,end:$,value:Q};Q._debugInfo=[{awaited:N}],Q.status!=="fulfilled"&&Q.status!=="rejected"&&($=function(){N.end=performance.now()},Q.then($,$))}switch(Q.status){case"fulfilled":return Q.value;case"rejected":throw $=Q.reason,NB($),$;default:if(typeof Q.status==="string")Q.then(A$,A$);else{if($=N1,$!==null&&100<$.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");$=Q,$.status="pending",$.then(function(B){if(Q.status==="pending"){var F=Q;F.status="fulfilled",F.value=B}},function(B){if(Q.status==="pending"){var F=Q;F.status="rejected",F.reason=B}})}switch(Q.status){case"fulfilled":return Q.value;case"rejected":throw $=Q.reason,NB($),$}throw e6=Q,WZ=!0,w9}}function P8($){try{return MP($)}catch(Q){if(Q!==null&&typeof Q==="object"&&typeof Q.then==="function")throw e6=Q,WZ=!0,w9;throw Q}}function UB(){if(e6===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=e6;return e6=null,WZ=!1,$}function NB($){if($===w9||$===Bq)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Q5($){var Q=D0;return $!=null&&(D0=Q===null?$:Q.concat($)),Q}function fX(){var $=D0;if($!=null){for(var Q=$.length-1;0<=Q;Q--)if($[Q].name!=null){var G=$[Q].debugTask;if(G!=null)return G}}return null}function tJ($,Q,G){for(var X=Object.keys($.props),N=0;N<X.length;N++){var B=X[N];if(B!=="children"&&B!=="key"){Q===null&&(Q=cJ($,G.mode,0),Q._debugInfo=D0,Q.return=G),G0(Q,function(F){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F)},B);break}}}function eJ($){var Q=FZ;return FZ+=1,z9===null&&(z9=qB()),YB(z9,$,Q)}function zQ($,Q){Q=Q.props.ref,$.ref=Q!==void 0?Q:null}function KB($,Q){if(Q.$$typeof===r_)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
94
|
- Multiple copies of the "react" package is used.
|
|
95
95
|
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
-
- A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(
|
|
97
|
-
root.render(%s)`,
|
|
98
|
-
<%s>{%s}</%s>`,
|
|
99
|
-
root.render(%s)`,
|
|
100
|
-
<%s>%s</%s>`,G,Z,G))}function tQ($,Z){var G=v3();G!==null?G.run(NB.bind(null,$,Z)):NB($,Z)}function KB($){function Z(j,D){if($){var v=j.deletions;v===null?(j.deletions=[D],j.flags|=16):v.push(D)}}function G(j,D){if(!$)return null;for(;D!==null;)Z(j,D),D=D.sibling;return null}function X(j){for(var D=new Map;j!==null;)j.key!==null?D.set(j.key,j):D.set(j.index,j),j=j.sibling;return D}function N(j,D){return j=O8(j,D),j.index=0,j.sibling=null,j}function B(j,D,v){if(j.index=v,!$)return j.flags|=1048576,D;if(v=j.alternate,v!==null)return v=v.index,v<D?(j.flags|=67108866,D):v;return j.flags|=67108866,D}function W(j){return $&&j.alternate===null&&(j.flags|=67108866),j}function w(j,D,v,u){if(D===null||D.tag!==6)return D=V3(v,j.mode,u),D.return=j,D._debugOwner=j,D._debugTask=j._debugTask,D._debugInfo=A0,D;return D=N(D,v),D.return=j,D._debugInfo=A0,D}function V(j,D,v,u){var $0=v.type;if($0===a$)return D=k(j,D,v.props.children,u,v.key),nQ(v,D,j),D;if(D!==null&&(D.elementType===$0||uK(D,v)||typeof $0==="object"&&$0!==null&&$0.$$typeof===a5&&z6($0)===D.type))return D=N(D,v.props),R7(D,v),D.return=j,D._debugOwner=v._owner,D._debugInfo=A0,D;return D=uQ(v,j.mode,u),R7(D,v),D.return=j,D._debugInfo=A0,D}function _(j,D,v,u){if(D===null||D.tag!==4||D.stateNode.containerInfo!==v.containerInfo||D.stateNode.implementation!==v.implementation)return D=L3(v,j.mode,u),D.return=j,D._debugInfo=A0,D;return D=N(D,v.children||[]),D.return=j,D._debugInfo=A0,D}function k(j,D,v,u,$0){if(D===null||D.tag!==7)return D=S2(v,j.mode,u,$0),D.return=j,D._debugOwner=j,D._debugTask=j._debugTask,D._debugInfo=A0,D;return D=N(D,v),D.return=j,D._debugInfo=A0,D}function b(j,D,v){if(typeof D==="string"&&D!==""||typeof D==="number"||typeof D==="bigint")return D=V3(""+D,j.mode,v),D.return=j,D._debugOwner=j,D._debugTask=j._debugTask,D._debugInfo=A0,D;if(typeof D==="object"&&D!==null){switch(D.$$typeof){case q8:return v=uQ(D,j.mode,v),R7(v,D),v.return=j,j=$5(D._debugInfo),v._debugInfo=A0,A0=j,v;case i$:return D=L3(D,j.mode,v),D.return=j,D._debugInfo=A0,D;case a5:var u=$5(D._debugInfo);return D=z6(D),j=b(j,D,v),A0=u,j}if(c1(D)||p(D))return v=S2(D,j.mode,v,null),v.return=j,v._debugOwner=j,v._debugTask=j._debugTask,j=$5(D._debugInfo),v._debugInfo=A0,A0=j,v;if(typeof D.then==="function")return u=$5(D._debugInfo),j=b(j,oQ(D),v),A0=u,j;if(D.$$typeof===X8)return b(j,cQ(j,D),v);iQ(j,D)}return typeof D==="function"&&aQ(j,D),typeof D==="symbol"&&tQ(j,D),null}function O(j,D,v,u){var $0=D!==null?D.key:null;if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return $0!==null?null:w(j,D,""+v,u);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case q8:return v.key===$0?($0=$5(v._debugInfo),j=V(j,D,v,u),A0=$0,j):null;case i$:return v.key===$0?_(j,D,v,u):null;case a5:return $0=$5(v._debugInfo),v=z6(v),j=O(j,D,v,u),A0=$0,j}if(c1(v)||p(v)){if($0!==null)return null;return $0=$5(v._debugInfo),j=k(j,D,v,u,null),A0=$0,j}if(typeof v.then==="function")return $0=$5(v._debugInfo),j=O(j,D,oQ(v),u),A0=$0,j;if(v.$$typeof===X8)return O(j,D,cQ(j,v),u);iQ(j,v)}return typeof v==="function"&&aQ(j,v),typeof v==="symbol"&&tQ(j,v),null}function g(j,D,v,u,$0){if(typeof u==="string"&&u!==""||typeof u==="number"||typeof u==="bigint")return j=j.get(v)||null,w(D,j,""+u,$0);if(typeof u==="object"&&u!==null){switch(u.$$typeof){case q8:return v=j.get(u.key===null?v:u.key)||null,j=$5(u._debugInfo),D=V(D,v,u,$0),A0=j,D;case i$:return j=j.get(u.key===null?v:u.key)||null,_(D,j,u,$0);case a5:var _0=$5(u._debugInfo);return u=z6(u),D=g(j,D,v,u,$0),A0=_0,D}if(c1(u)||p(u))return v=j.get(v)||null,j=$5(u._debugInfo),D=k(D,v,u,$0,null),A0=j,D;if(typeof u.then==="function")return _0=$5(u._debugInfo),D=g(j,D,v,oQ(u),$0),A0=_0,D;if(u.$$typeof===X8)return g(j,D,v,cQ(D,u),$0);iQ(D,u)}return typeof u==="function"&&aQ(D,u),typeof u==="symbol"&&tQ(D,u),null}function t(j,D,v,u){if(typeof v!=="object"||v===null)return u;switch(v.$$typeof){case q8:case i$:R(j,D,v);var $0=v.key;if(typeof $0!=="string")break;if(u===null){u=new Set,u.add($0);break}if(!u.has($0)){u.add($0);break}G0(D,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",$0)});break;case a5:v=z6(v),t(j,D,v,u)}return u}function Z0(j,D,v,u){for(var $0=null,_0=null,M0=null,U0=D,j0=D=0,R1=null;U0!==null&&j0<v.length;j0++){U0.index>j0?(R1=U0,U0=null):R1=U0.sibling;var k1=O(j,U0,v[j0],u);if(k1===null){U0===null&&(U0=R1);break}$0=t(j,k1,v[j0],$0),$&&U0&&k1.alternate===null&&Z(j,U0),D=B(k1,D,j0),M0===null?_0=k1:M0.sibling=k1,M0=k1,U0=R1}if(j0===v.length)return G(j,U0),p0&&D8(j,j0),_0;if(U0===null){for(;j0<v.length;j0++)U0=b(j,v[j0],u),U0!==null&&($0=t(j,U0,v[j0],$0),D=B(U0,D,j0),M0===null?_0=U0:M0.sibling=U0,M0=U0);return p0&&D8(j,j0),_0}for(U0=X(U0);j0<v.length;j0++)R1=g(U0,j,j0,v[j0],u),R1!==null&&($0=t(j,R1,v[j0],$0),$&&R1.alternate!==null&&U0.delete(R1.key===null?j0:R1.key),D=B(R1,D,j0),M0===null?_0=R1:M0.sibling=R1,M0=R1);return $&&U0.forEach(function(a8){return Z(j,a8)}),p0&&D8(j,j0),_0}function F1(j,D,v,u){if(v==null)throw Error("An iterable object provided no iterator.");for(var $0=null,_0=null,M0=D,U0=D=0,j0=null,R1=null,k1=v.next();M0!==null&&!k1.done;U0++,k1=v.next()){M0.index>U0?(j0=M0,M0=null):j0=M0.sibling;var a8=O(j,M0,k1.value,u);if(a8===null){M0===null&&(M0=j0);break}R1=t(j,a8,k1.value,R1),$&&M0&&a8.alternate===null&&Z(j,M0),D=B(a8,D,U0),_0===null?$0=a8:_0.sibling=a8,_0=a8,M0=j0}if(k1.done)return G(j,M0),p0&&D8(j,U0),$0;if(M0===null){for(;!k1.done;U0++,k1=v.next())M0=b(j,k1.value,u),M0!==null&&(R1=t(j,M0,k1.value,R1),D=B(M0,D,U0),_0===null?$0=M0:_0.sibling=M0,_0=M0);return p0&&D8(j,U0),$0}for(M0=X(M0);!k1.done;U0++,k1=v.next())j0=g(M0,j,U0,k1.value,u),j0!==null&&(R1=t(j,j0,k1.value,R1),$&&j0.alternate!==null&&M0.delete(j0.key===null?U0:j0.key),D=B(j0,D,U0),_0===null?$0=j0:_0.sibling=j0,_0=j0);return $&&M0.forEach(function(yE){return Z(j,yE)}),p0&&D8(j,U0),$0}function l0(j,D,v,u){if(typeof v==="object"&&v!==null&&v.type===a$&&v.key===null&&(nQ(v,null,j),v=v.props.children),typeof v==="object"&&v!==null){switch(v.$$typeof){case q8:var $0=$5(v._debugInfo);$:{for(var _0=v.key;D!==null;){if(D.key===_0){if(_0=v.type,_0===a$){if(D.tag===7){G(j,D.sibling),u=N(D,v.props.children),u.return=j,u._debugOwner=v._owner,u._debugInfo=A0,nQ(v,u,j),j=u;break $}}else if(D.elementType===_0||uK(D,v)||typeof _0==="object"&&_0!==null&&_0.$$typeof===a5&&z6(_0)===D.type){G(j,D.sibling),u=N(D,v.props),R7(u,v),u.return=j,u._debugOwner=v._owner,u._debugInfo=A0,j=u;break $}G(j,D);break}else Z(j,D);D=D.sibling}v.type===a$?(u=S2(v.props.children,j.mode,u,v.key),u.return=j,u._debugOwner=j,u._debugTask=j._debugTask,u._debugInfo=A0,nQ(v,u,j),j=u):(u=uQ(v,j.mode,u),R7(u,v),u.return=j,u._debugInfo=A0,j=u)}return j=W(j),A0=$0,j;case i$:$:{$0=v;for(v=$0.key;D!==null;){if(D.key===v)if(D.tag===4&&D.stateNode.containerInfo===$0.containerInfo&&D.stateNode.implementation===$0.implementation){G(j,D.sibling),u=N(D,$0.children||[]),u.return=j,j=u;break $}else{G(j,D);break}else Z(j,D);D=D.sibling}u=L3($0,j.mode,u),u.return=j,j=u}return W(j);case a5:return $0=$5(v._debugInfo),v=z6(v),j=l0(j,D,v,u),A0=$0,j}if(c1(v))return $0=$5(v._debugInfo),j=Z0(j,D,v,u),A0=$0,j;if(p(v)){if($0=$5(v._debugInfo),_0=p(v),typeof _0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var M0=_0.call(v);if(M0===v){if(j.tag!==0||Object.prototype.toString.call(j.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(M0)!=="[object Generator]")WW||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),WW=!0}else v.entries!==_0||tY||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),tY=!0);return j=F1(j,D,M0,u),A0=$0,j}if(typeof v.then==="function")return $0=$5(v._debugInfo),j=l0(j,D,oQ(v),u),A0=$0,j;if(v.$$typeof===X8)return l0(j,D,cQ(j,v),u);iQ(j,v)}if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return $0=""+v,D!==null&&D.tag===6?(G(j,D.sibling),u=N(D,$0),u.return=j,j=u):(G(j,D),u=V3($0,j.mode,u),u.return=j,u._debugOwner=j,u._debugTask=j._debugTask,u._debugInfo=A0,j=u),W(j);return typeof v==="function"&&aQ(j,v),typeof v==="symbol"&&tQ(j,v),G(j,D)}return function(j,D,v,u){var $0=A0;A0=null;try{FZ=0;var _0=l0(j,D,v,u);return T9=null,_0}catch(R1){if(R1===w9||R1===YJ)throw R1;var M0=L(29,R1,null,j.mode);M0.lanes=u,M0.return=j;var U0=M0._debugInfo=A0;if(M0._debugOwner=j._debugOwner,M0._debugTask=j._debugTask,U0!=null){for(var j0=U0.length-1;0<=j0;j0--)if(typeof U0[j0].stack==="string"){M0._debugOwner=U0[j0],M0._debugTask=U0[j0].debugTask;break}}return M0}finally{A0=$0}}}function BB($,Z){var G=c1($);return $=!G&&typeof p($)==="function",G||$?(G=G?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",G,Z,G),!1):!0}function k3($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function b3($,Z){$=$.updateQueue,Z.updateQueue===$&&(Z.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function V6($){return{lane:$,tag:VW,payload:null,callback:null,next:null}}function L6($,Z,G){var X=$.updateQueue;if(X===null)return null;if(X=X.shared,$U===X&&!PW){var N=d($);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
96
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(Q),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function $G($,Q){var G=fX();G!==null?G.run(KB.bind(null,$,Q)):KB($,Q)}function BB($,Q){var G=d($)||"Component";VF[G]||(VF[G]=!0,Q=Q.displayName||Q.name||"Component",$.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
97
|
+
root.render(%s)`,Q,Q,Q):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
98
|
+
<%s>{%s}</%s>`,Q,Q,G,Q,G))}function QG($,Q){var G=fX();G!==null?G.run(BB.bind(null,$,Q)):BB($,Q)}function HB($,Q){var G=d($)||"Component";LF[G]||(LF[G]=!0,Q=String(Q),$.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,Q):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,G,Q,G))}function ZG($,Q){var G=fX();G!==null?G.run(HB.bind(null,$,Q)):HB($,Q)}function MB($){function Q(j,D){if($){var v=j.deletions;v===null?(j.deletions=[D],j.flags|=16):v.push(D)}}function G(j,D){if(!$)return null;for(;D!==null;)Q(j,D),D=D.sibling;return null}function X(j){for(var D=new Map;j!==null;)j.key!==null?D.set(j.key,j):D.set(j.index,j),j=j.sibling;return D}function N(j,D){return j=S$(j,D),j.index=0,j.sibling=null,j}function B(j,D,v){if(j.index=v,!$)return j.flags|=1048576,D;if(v=j.alternate,v!==null)return v=v.index,v<D?(j.flags|=67108866,D):v;return j.flags|=67108866,D}function F(j){return $&&j.alternate===null&&(j.flags|=67108866),j}function T(j,D,v,u){if(D===null||D.tag!==6)return D=PX(v,j.mode,u),D.return=j,D._debugOwner=j,D._debugTask=j._debugTask,D._debugInfo=D0,D;return D=N(D,v),D.return=j,D._debugInfo=D0,D}function V(j,D,v,u){var Q0=v.type;if(Q0===e7)return D=k(j,D,v.props.children,u,v.key),tJ(v,D,j),D;if(D!==null&&(D.elementType===Q0||pK(D,v)||typeof Q0==="object"&&Q0!==null&&Q0.$$typeof===e5&&P8(Q0)===D.type))return D=N(D,v.props),zQ(D,v),D.return=j,D._debugOwner=v._owner,D._debugInfo=D0,D;return D=cJ(v,j.mode,u),zQ(D,v),D.return=j,D._debugInfo=D0,D}function _(j,D,v,u){if(D===null||D.tag!==4||D.stateNode.containerInfo!==v.containerInfo||D.stateNode.implementation!==v.implementation)return D=EX(v,j.mode,u),D.return=j,D._debugInfo=D0,D;return D=N(D,v.children||[]),D.return=j,D._debugInfo=D0,D}function k(j,D,v,u,Q0){if(D===null||D.tag!==7)return D=k6(v,j.mode,u,Q0),D.return=j,D._debugOwner=j,D._debugTask=j._debugTask,D._debugInfo=D0,D;return D=N(D,v),D.return=j,D._debugInfo=D0,D}function b(j,D,v){if(typeof D==="string"&&D!==""||typeof D==="number"||typeof D==="bigint")return D=PX(""+D,j.mode,v),D.return=j,D._debugOwner=j,D._debugTask=j._debugTask,D._debugInfo=D0,D;if(typeof D==="object"&&D!==null){switch(D.$$typeof){case Y$:return v=cJ(D,j.mode,v),zQ(v,D),v.return=j,j=Q5(D._debugInfo),v._debugInfo=D0,D0=j,v;case t7:return D=EX(D,j.mode,v),D.return=j,D._debugInfo=D0,D;case e5:var u=Q5(D._debugInfo);return D=P8(D),j=b(j,D,v),D0=u,j}if(c1(D)||p(D))return v=k6(D,j.mode,v,null),v.return=j,v._debugOwner=j,v._debugTask=j._debugTask,j=Q5(D._debugInfo),v._debugInfo=D0,D0=j,v;if(typeof D.then==="function")return u=Q5(D._debugInfo),j=b(j,eJ(D),v),D0=u,j;if(D.$$typeof===U$)return b(j,nJ(j,D),v);$G(j,D)}return typeof D==="function"&&QG(j,D),typeof D==="symbol"&&ZG(j,D),null}function O(j,D,v,u){var Q0=D!==null?D.key:null;if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return Q0!==null?null:T(j,D,""+v,u);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case Y$:return v.key===Q0?(Q0=Q5(v._debugInfo),j=V(j,D,v,u),D0=Q0,j):null;case t7:return v.key===Q0?_(j,D,v,u):null;case e5:return Q0=Q5(v._debugInfo),v=P8(v),j=O(j,D,v,u),D0=Q0,j}if(c1(v)||p(v)){if(Q0!==null)return null;return Q0=Q5(v._debugInfo),j=k(j,D,v,u,null),D0=Q0,j}if(typeof v.then==="function")return Q0=Q5(v._debugInfo),j=O(j,D,eJ(v),u),D0=Q0,j;if(v.$$typeof===U$)return O(j,D,nJ(j,v),u);$G(j,v)}return typeof v==="function"&&QG(j,v),typeof v==="symbol"&&ZG(j,v),null}function f(j,D,v,u,Q0){if(typeof u==="string"&&u!==""||typeof u==="number"||typeof u==="bigint")return j=j.get(v)||null,T(D,j,""+u,Q0);if(typeof u==="object"&&u!==null){switch(u.$$typeof){case Y$:return v=j.get(u.key===null?v:u.key)||null,j=Q5(u._debugInfo),D=V(D,v,u,Q0),D0=j,D;case t7:return j=j.get(u.key===null?v:u.key)||null,_(D,j,u,Q0);case e5:var _0=Q5(u._debugInfo);return u=P8(u),D=f(j,D,v,u,Q0),D0=_0,D}if(c1(u)||p(u))return v=j.get(v)||null,j=Q5(u._debugInfo),D=k(D,v,u,Q0,null),D0=j,D;if(typeof u.then==="function")return _0=Q5(u._debugInfo),D=f(j,D,v,eJ(u),Q0),D0=_0,D;if(u.$$typeof===U$)return f(j,D,v,nJ(D,u),Q0);$G(D,u)}return typeof u==="function"&&QG(D,u),typeof u==="symbol"&&ZG(D,u),null}function e(j,D,v,u){if(typeof v!=="object"||v===null)return u;switch(v.$$typeof){case Y$:case t7:w(j,D,v);var Q0=v.key;if(typeof Q0!=="string")break;if(u===null){u=new Set,u.add(Q0);break}if(!u.has(Q0)){u.add(Q0);break}G0(D,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Q0)});break;case e5:v=P8(v),e(j,D,v,u)}return u}function Z0(j,D,v,u){for(var Q0=null,_0=null,W0=null,N0=D,I0=D=0,w1=null;N0!==null&&I0<v.length;I0++){N0.index>I0?(w1=N0,N0=null):w1=N0.sibling;var k1=O(j,N0,v[I0],u);if(k1===null){N0===null&&(N0=w1);break}Q0=e(j,k1,v[I0],Q0),$&&N0&&k1.alternate===null&&Q(j,N0),D=B(k1,D,I0),W0===null?_0=k1:W0.sibling=k1,W0=k1,N0=w1}if(I0===v.length)return G(j,N0),m0&&v$(j,I0),_0;if(N0===null){for(;I0<v.length;I0++)N0=b(j,v[I0],u),N0!==null&&(Q0=e(j,N0,v[I0],Q0),D=B(N0,D,I0),W0===null?_0=N0:W0.sibling=N0,W0=N0);return m0&&v$(j,I0),_0}for(N0=X(N0);I0<v.length;I0++)w1=f(N0,j,I0,v[I0],u),w1!==null&&(Q0=e(j,w1,v[I0],Q0),$&&w1.alternate!==null&&N0.delete(w1.key===null?I0:w1.key),D=B(w1,D,I0),W0===null?_0=w1:W0.sibling=w1,W0=w1);return $&&N0.forEach(function($8){return Q(j,$8)}),m0&&v$(j,I0),_0}function M1(j,D,v,u){if(v==null)throw Error("An iterable object provided no iterator.");for(var Q0=null,_0=null,W0=D,N0=D=0,I0=null,w1=null,k1=v.next();W0!==null&&!k1.done;N0++,k1=v.next()){W0.index>N0?(I0=W0,W0=null):I0=W0.sibling;var $8=O(j,W0,k1.value,u);if($8===null){W0===null&&(W0=I0);break}w1=e(j,$8,k1.value,w1),$&&W0&&$8.alternate===null&&Q(j,W0),D=B($8,D,N0),_0===null?Q0=$8:_0.sibling=$8,_0=$8,W0=I0}if(k1.done)return G(j,W0),m0&&v$(j,N0),Q0;if(W0===null){for(;!k1.done;N0++,k1=v.next())W0=b(j,k1.value,u),W0!==null&&(w1=e(j,W0,k1.value,w1),D=B(W0,D,N0),_0===null?Q0=W0:_0.sibling=W0,_0=W0);return m0&&v$(j,N0),Q0}for(W0=X(W0);!k1.done;N0++,k1=v.next())I0=f(W0,j,N0,k1.value,u),I0!==null&&(w1=e(j,I0,k1.value,w1),$&&I0.alternate!==null&&W0.delete(I0.key===null?N0:I0.key),D=B(I0,D,N0),_0===null?Q0=I0:_0.sibling=I0,_0=I0);return $&&W0.forEach(function(gP){return Q(j,gP)}),m0&&v$(j,N0),Q0}function c0(j,D,v,u){if(typeof v==="object"&&v!==null&&v.type===e7&&v.key===null&&(tJ(v,null,j),v=v.props.children),typeof v==="object"&&v!==null){switch(v.$$typeof){case Y$:var Q0=Q5(v._debugInfo);$:{for(var _0=v.key;D!==null;){if(D.key===_0){if(_0=v.type,_0===e7){if(D.tag===7){G(j,D.sibling),u=N(D,v.props.children),u.return=j,u._debugOwner=v._owner,u._debugInfo=D0,tJ(v,u,j),j=u;break $}}else if(D.elementType===_0||pK(D,v)||typeof _0==="object"&&_0!==null&&_0.$$typeof===e5&&P8(_0)===D.type){G(j,D.sibling),u=N(D,v.props),zQ(u,v),u.return=j,u._debugOwner=v._owner,u._debugInfo=D0,j=u;break $}G(j,D);break}else Q(j,D);D=D.sibling}v.type===e7?(u=k6(v.props.children,j.mode,u,v.key),u.return=j,u._debugOwner=j,u._debugTask=j._debugTask,u._debugInfo=D0,tJ(v,u,j),j=u):(u=cJ(v,j.mode,u),zQ(u,v),u.return=j,u._debugInfo=D0,j=u)}return j=F(j),D0=Q0,j;case t7:$:{Q0=v;for(v=Q0.key;D!==null;){if(D.key===v)if(D.tag===4&&D.stateNode.containerInfo===Q0.containerInfo&&D.stateNode.implementation===Q0.implementation){G(j,D.sibling),u=N(D,Q0.children||[]),u.return=j,j=u;break $}else{G(j,D);break}else Q(j,D);D=D.sibling}u=EX(Q0,j.mode,u),u.return=j,j=u}return F(j);case e5:return Q0=Q5(v._debugInfo),v=P8(v),j=c0(j,D,v,u),D0=Q0,j}if(c1(v))return Q0=Q5(v._debugInfo),j=Z0(j,D,v,u),D0=Q0,j;if(p(v)){if(Q0=Q5(v._debugInfo),_0=p(v),typeof _0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var W0=_0.call(v);if(W0===v){if(j.tag!==0||Object.prototype.toString.call(j.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(W0)!=="[object Generator]")wF||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),wF=!0}else v.entries!==_0||ZU||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ZU=!0);return j=M1(j,D,W0,u),D0=Q0,j}if(typeof v.then==="function")return Q0=Q5(v._debugInfo),j=c0(j,D,eJ(v),u),D0=Q0,j;if(v.$$typeof===U$)return c0(j,D,nJ(j,v),u);$G(j,v)}if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return Q0=""+v,D!==null&&D.tag===6?(G(j,D.sibling),u=N(D,Q0),u.return=j,j=u):(G(j,D),u=PX(Q0,j.mode,u),u.return=j,u._debugOwner=j,u._debugTask=j._debugTask,u._debugInfo=D0,j=u),F(j);return typeof v==="function"&&QG(j,v),typeof v==="symbol"&&ZG(j,v),G(j,D)}return function(j,D,v,u){var Q0=D0;D0=null;try{FZ=0;var _0=c0(j,D,v,u);return z9=null,_0}catch(w1){if(w1===w9||w1===Bq)throw w1;var W0=L(29,w1,null,j.mode);W0.lanes=u,W0.return=j;var N0=W0._debugInfo=D0;if(W0._debugOwner=j._debugOwner,W0._debugTask=j._debugTask,N0!=null){for(var I0=N0.length-1;0<=I0;I0--)if(typeof N0[I0].stack==="string"){W0._debugOwner=N0[I0],W0._debugTask=N0[I0].debugTask;break}}return W0}finally{D0=Q0}}}function WB($,Q){var G=c1($);return $=!G&&typeof p($)==="function",G||$?(G=G?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",G,Q,G),!1):!0}function gX($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function hX($,Q){$=$.updateQueue,Q.updateQueue===$&&(Q.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function E8($){return{lane:$,tag:CF,payload:null,callback:null,next:null}}function I8($,Q,G){var X=$.updateQueue;if(X===null)return null;if(X=X.shared,GU===X&&!IF){var N=d($);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
101
101
|
|
|
102
|
-
Please update the following component: %s`,N),
|
|
102
|
+
Please update the following component: %s`,N),IF=!0}if((n0&r1)!==t1)return N=X.pending,N===null?Q.next=Q:(Q.next=N.next,N.next=Q),X.pending=Q,Q=pJ($),dK($,null,G),Q;return dJ($,X,Q,G),pJ($)}function VQ($,Q,G){if(Q=Q.updateQueue,Q!==null&&(Q=Q.shared,(G&4194048)!==0)){var X=Q.lanes;X&=$.pendingLanes,G|=X,Q.lanes=G,I6($,G)}}function JG($,Q){var{updateQueue:G,alternate:X}=$;if(X!==null&&(X=X.updateQueue,G===X)){var N=null,B=null;if(G=G.firstBaseUpdate,G!==null){do{var F={lane:G.lane,tag:G.tag,payload:G.payload,callback:null,next:null};B===null?N=B=F:B=B.next=F,G=G.next}while(G!==null);B===null?N=B=Q:B=B.next=Q}else N=B=Q;G={baseState:X.baseState,firstBaseUpdate:N,lastBaseUpdate:B,shared:X.shared,callbacks:X.callbacks},$.updateQueue=G;return}$=G.lastBaseUpdate,$===null?G.firstBaseUpdate=Q:$.next=Q,G.lastBaseUpdate=Q}function LQ(){if(qU){var $=R9;if($!==null)throw $}}function _Q($,Q,G,X){qU=!1;var N=$.updateQueue;s8=!1,GU=N.shared;var{firstBaseUpdate:B,lastBaseUpdate:F}=N,T=N.shared.pending;if(T!==null){N.shared.pending=null;var V=T,_=V.next;V.next=null,F===null?B=_:F.next=_,F=V;var k=$.alternate;k!==null&&(k=k.updateQueue,T=k.lastBaseUpdate,T!==F&&(T===null?k.firstBaseUpdate=_:T.next=_,k.lastBaseUpdate=V))}if(B!==null){var b=N.baseState;F=0,k=_=V=null,T=B;do{var O=T.lane&-536870913,f=O!==T.lane;if(f?(A0&O)===O:(X&O)===O){O!==0&&O===i6&&(qU=!0),k!==null&&(k=k.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});$:{O=$;var e=T,Z0=Q,M1=G;switch(e.tag){case PF:if(e=e.payload,typeof e==="function"){F9=!0;var c0=e.call(M1,b,Z0);if(O.mode&W5){B1(!0);try{e.call(M1,b,Z0)}finally{B1(!1)}}F9=!1,b=c0;break $}b=e;break $;case JU:O.flags=O.flags&-65537|128;case CF:if(c0=e.payload,typeof c0==="function"){if(F9=!0,e=c0.call(M1,b,Z0),O.mode&W5){B1(!0);try{c0.call(M1,b,Z0)}finally{B1(!1)}}F9=!1}else e=c0;if(e===null||e===void 0)break $;b=b0({},b,e);break $;case EF:s8=!0}}O=T.callback,O!==null&&($.flags|=64,f&&($.flags|=8192),f=N.callbacks,f===null?N.callbacks=[O]:f.push(O))}else f={lane:O,tag:T.tag,payload:T.payload,callback:T.callback,next:null},k===null?(_=k=f,V=b):k=k.next=f,F|=O;if(T=T.next,T===null)if(T=N.shared.pending,T===null)break;else f=T,T=f.next,f.next=null,N.lastBaseUpdate=f,N.shared.pending=null}while(1);k===null&&(V=b),N.baseState=V,N.firstBaseUpdate=_,N.lastBaseUpdate=k,B===null&&(N.shared.lanes=0),i8|=F,$.lanes=F,$.memoizedState=b}GU=null}function FB($,Q){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(Q)}function SL($,Q){var G=$.shared.hiddenCallbacks;if(G!==null)for($.shared.hiddenCallbacks=null,$=0;$<G.length;$++)FB(G[$],Q)}function TB($,Q){var G=$.callbacks;if(G!==null)for($.callbacks=null,$=0;$<G.length;$++)FB(G[$],Q)}function RB($,Q){var G=w$;z0(Mq,G,$),z0(V9,Q,$),w$=G|Q.baseLanes}function xX($){z0(Mq,w$,$),z0(V9,V9.current,$)}function uX($){w$=Mq.current,B0(V9,$),B0(Mq,$)}function j8($){var Q=$.alternate;z0(v1,v1.current&L9,$),z0(J4,$,$),w4===null&&(Q===null||V9.current!==null?w4=$:Q.memoizedState!==null&&(w4=$))}function mX($){z0(v1,v1.current,$),z0(J4,$,$),w4===null&&(w4=$)}function wB($){$.tag===22?(z0(v1,v1.current,$),z0(J4,$,$),w4===null&&(w4=$)):O8($)}function O8($){z0(v1,v1.current,$),z0(J4,J4.current,$)}function i5($){B0(J4,$),w4===$&&(w4=null),B0(v1,$)}function GG($){for(var Q=$;Q!==null;){if(Q.tag===13){var G=Q.memoizedState;if(G!==null&&(G=G.dehydrated,G===null||$Y(G)||QY(G)))return Q}else if(Q.tag===19&&(Q.memoizedProps.revealOrder==="forwards"||Q.memoizedProps.revealOrder==="backwards"||Q.memoizedProps.revealOrder==="unstable_legacy-backwards"||Q.memoizedProps.revealOrder==="together")){if((Q.flags&128)!==0)return Q}else if(Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===$)break;for(;Q.sibling===null;){if(Q.return===null||Q.return===$)return null;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling}return null}function k0(){var $=h;V4===null?V4=[$]:V4.push($)}function c(){var $=h;if(V4!==null&&(o$++,V4[o$]!==$)){var Q=d(L0);if(!jF.has(Q)&&(jF.add(Q),V4!==null)){for(var G="",X=0;X<=o$;X++){var N=V4[X],B=X===o$?$:N;for(N=X+1+". "+N;30>N.length;)N+=" ";N+=B+`
|
|
103
103
|
`,G+=N}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
104
104
|
|
|
105
105
|
Previous render Next render
|
|
106
106
|
------------------------------------------------------
|
|
107
107
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
-
`,
|
|
108
|
+
`,Q,G)}}}function x7($){$===void 0||$===null||c1($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",h,typeof $)}function qG(){var $=d(L0);DF.has($)||(DF.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function A1(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
109
109
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
110
|
2. You might be breaking the Rules of Hooks
|
|
111
111
|
3. You might have more than one copy of React in the same app
|
|
112
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function
|
|
112
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function dX($,Q){if(wZ)return!1;if(Q===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",h),!1;$.length!==Q.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
113
|
|
|
114
114
|
Previous: %s
|
|
115
|
-
Incoming: %s`,h,"["+Z.join(", ")+"]","["+$.join(", ")+"]");for(var G=0;G<Z.length&&G<$.length;G++)if(!z5($[G],Z[G]))return!1;return!0}function x3($,Z,G,X,N,B){if(c8=B,L0=Z,R4=$!==null?$._debugHookTypes:null,r8=-1,TZ=$!==null&&$.type!==Z.type,Object.prototype.toString.call(G)==="[object AsyncFunction]"||Object.prototype.toString.call(G)==="[object AsyncGeneratorFunction]")B=d(L0),QU.has(B)||(QU.add(B),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",B===null?"An unknown Component":"<"+B+">"));Z.memoizedState=null,Z.updateQueue=null,Z.lanes=0,x.H=$!==null&&$.memoizedState!==null?JU:R4!==null?jW:GU,e2=B=(Z.mode&M5)!==V0;var W=oY(G,X,N);if(e2=!1,L9&&(W=u3(Z,G,X,N)),B){H1(!0);try{W=u3(Z,G,X,N)}finally{H1(!1)}}return wB($,Z),W}function wB($,Z){Z._debugHookTypes=R4,Z.dependencies===null?l8!==null&&(Z.dependencies={lanes:0,firstContext:null,_debugThenableState:l8}):Z.dependencies._debugThenableState=l8,x.H=RZ;var G=N1!==null&&N1.next!==null;if(c8=0,R4=h=h1=N1=L0=null,r8=-1,$!==null&&($.flags&65011712)!==(Z.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),BJ=!1,wZ=0,l8=null,G)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||x1||($=$.dependencies,$!==null&&pQ($)&&(x1=!0)),MZ?(MZ=!1,$=!0):$=!1,$&&(Z=d(Z)||"Unknown",CW.has(Z)||QU.has(Z)||(CW.add(Z),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function u3($,Z,G,X){L0=$;var N=0;do{if(L9&&(l8=null),wZ=0,L9=!1,N>=FE)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(N+=1,TZ=!1,h1=N1=null,$.updateQueue!=null){var B=$.updateQueue;B.lastEffect=null,B.events=null,B.stores=null,B.memoCache!=null&&(B.memoCache.index=0)}r8=-1,x.H=OW,B=oY(Z,G,X)}while(L9);return B}function SL(){var $=x.H,Z=$.useState()[0];return Z=typeof Z.then==="function"?_7(Z):Z,$=$.useState()[0],(N1!==null?N1.memoizedState:null)!==$&&(L0.flags|=1024),Z}function m3(){var $=HJ!==0;return HJ=0,$}function d3($,Z,G){Z.updateQueue=$.updateQueue,Z.flags=(Z.mode&A4)!==V0?Z.flags&-402655237:Z.flags&-2053,$.lanes&=~G}function p3($){if(BJ){for($=$.memoizedState;$!==null;){var Z=$.queue;Z!==null&&(Z.pending=null),$=$.next}BJ=!1}c8=0,R4=h1=N1=L0=null,r8=-1,h=null,L9=!1,wZ=HJ=0,l8=null}function W5(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return h1===null?L0.memoizedState=h1=$:h1=h1.next=$,h1}function J1(){if(N1===null){var $=L0.alternate;$=$!==null?$.memoizedState:null}else $=N1.next;var Z=h1===null?L0.memoizedState:h1.next;if(Z!==null)h1=Z,N1=$;else{if($===null){if(L0.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}N1=$,$={memoizedState:N1.memoizedState,baseState:N1.baseState,baseQueue:N1.baseQueue,queue:N1.queue,next:null},h1===null?L0.memoizedState=h1=$:h1=h1.next=$}return h1}function QG(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function _7($){var Z=wZ;return wZ+=1,l8===null&&(l8=QB()),$=JB(l8,$,Z),Z=L0,(h1===null?Z.memoizedState:h1.next)===null&&(Z=Z.alternate,x.H=Z!==null&&Z.memoizedState!==null?JU:GU),$}function E6($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return _7($);if($.$$typeof===X8)return V1($)}throw Error("An unsupported type was passed to use(): "+String($))}function y2($){var Z=null,G=L0.updateQueue;if(G!==null&&(Z=G.memoCache),Z==null){var X=L0.alternate;X!==null&&(X=X.updateQueue,X!==null&&(X=X.memoCache,X!=null&&(Z={data:X.data.map(function(N){return N.slice()}),index:0})))}if(Z==null&&(Z={data:[],index:0}),G===null&&(G=QG(),L0.updateQueue=G),G.memoCache=Z,G=Z.data[Z.index],G===void 0||TZ)for(G=Z.data[Z.index]=Array($),X=0;X<$;X++)G[X]=r_;else G.length!==$&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",G.length,$);return Z.index++,G}function I4($,Z){return typeof Z==="function"?Z($):Z}function c3($,Z,G){var X=W5();if(G!==void 0){var N=G(Z);if(e2){H1(!0);try{G(Z)}finally{H1(!1)}}}else N=Z;return X.memoizedState=X.baseState=N,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:N},X.queue=$,$=$.dispatch=yL.bind(null,L0,$),[X.memoizedState,$]}function h$($){var Z=J1();return l3(Z,N1,$)}function l3($,Z,G){var X=$.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=G;var N=$.baseQueue,B=X.pending;if(B!==null){if(N!==null){var W=N.next;N.next=B.next,B.next=W}Z.baseQueue!==N&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),Z.baseQueue=N=B,X.pending=null}if(B=$.baseState,N===null)$.memoizedState=B;else{Z=N.next;var w=W=null,V=null,_=Z,k=!1;do{var b=_.lane&-536870913;if(b!==_.lane?(S0&b)===b:(c8&b)===b){var O=_.revertLane;if(O===0)V!==null&&(V=V.next={lane:0,revertLane:0,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),b===n2&&(k=!0);else if((c8&O)===O){_=_.next,O===n2&&(k=!0);continue}else b={lane:0,revertLane:_.revertLane,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},V===null?(w=V=b,W=B):V=V.next=b,L0.lanes|=O,l6|=O;b=_.action,e2&&G(B,b),B=_.hasEagerState?_.eagerState:G(B,b)}else O={lane:b,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},V===null?(w=V=O,W=B):V=V.next=O,L0.lanes|=b,l6|=b;_=_.next}while(_!==null&&_!==Z);if(V===null?W=B:V.next=w,!z5(B,$.memoizedState)&&(x1=!0,k&&(G=W9,G!==null)))throw G;$.memoizedState=B,$.baseState=W,$.baseQueue=V,X.lastRenderedState=B}return N===null&&(X.lanes=0),[$.memoizedState,X.dispatch]}function P7($){var Z=J1(),G=Z.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=$;var{dispatch:X,pending:N}=G,B=Z.memoizedState;if(N!==null){G.pending=null;var W=N=N.next;do B=$(B,W.action),W=W.next;while(W!==N);z5(B,Z.memoizedState)||(x1=!0),Z.memoizedState=B,Z.baseQueue===null&&(Z.baseState=B),G.lastRenderedState=B}return[B,X]}function r3($,Z,G){var X=L0,N=W5();if(p0){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var B=G();V9||B===G()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),V9=!0)}else{if(B=Z(),V9||(G=Z(),z5(B,G)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),V9=!0)),K1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(S0&127)!==0||TB(X,Z,B)}return N.memoizedState=B,G={value:B,getSnapshot:Z},N.queue=G,XG(zB.bind(null,X,G,$),[$]),X.flags|=2048,u$(T4|_5,{destroy:void 0},RB.bind(null,X,G,B,Z),null),B}function GG($,Z,G){var X=L0,N=J1(),B=p0;if(B){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");G=G()}else if(G=Z(),!V9){var W=Z();z5(G,W)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),V9=!0)}if(W=!z5((N1||N).memoizedState,G))N.memoizedState=G,x1=!0;N=N.queue;var w=zB.bind(null,X,N,$);if(j5(2048,_5,w,[$]),N.getSnapshot!==Z||W||h1!==null&&h1.memoizedState.tag&T4){if(X.flags|=2048,u$(T4|_5,{destroy:void 0},RB.bind(null,X,N,G,Z),null),K1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B||(c8&127)!==0||TB(X,Z,G)}return G}function TB($,Z,G){$.flags|=16384,$={getSnapshot:Z,value:G},Z=L0.updateQueue,Z===null?(Z=QG(),L0.updateQueue=Z,Z.stores=[$]):(G=Z.stores,G===null?Z.stores=[$]:G.push($))}function RB($,Z,G,X){Z.value=G,Z.getSnapshot=X,VB(Z)&&LB($)}function zB($,Z,G){return G(function(){VB(Z)&&(r4(2,"updateSyncExternalStore()",$),LB($))})}function VB($){var Z=$.getSnapshot;$=$.value;try{var G=Z();return!z5($,G)}catch(X){return!0}}function LB($){var Z=B5($,2);Z!==null&&C1(Z,$,2)}function s3($){var Z=W5();if(typeof $==="function"){var G=$;if($=G(),e2){H1(!0);try{G()}finally{H1(!1)}}}return Z.memoizedState=Z.baseState=$,Z.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:I4,lastRenderedState:$},Z}function n3($){$=s3($);var Z=$.queue,G=uB.bind(null,L0,Z);return Z.dispatch=G,[$.memoizedState,G]}function o3($){var Z=W5();Z.memoizedState=Z.baseState=$;var G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return Z.queue=G,Z=NX.bind(null,L0,!0,G),G.dispatch=Z,[$,Z]}function _B($,Z){var G=J1();return PB(G,N1,$,Z)}function PB($,Z,G,X){return $.baseState=G,l3($,N1,typeof X==="function"?X:I4)}function EB($,Z){var G=J1();if(N1!==null)return PB(G,N1,$,Z);return G.baseState=$,[$,G.queue.dispatch]}function vL($,Z,G,X,N){if(HG($))throw Error("Cannot update form state while rendering.");if($=Z.action,$!==null){var B={payload:N,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(W){B.listeners.push(W)}};x.T!==null?G(!0):B.isTransition=!1,X(B),G=Z.pending,G===null?(B.next=Z.pending=B,CB(Z,B)):(B.next=G.next,Z.pending=G.next=B)}}function CB($,Z){var{action:G,payload:X}=Z,N=$.state;if(Z.isTransition){var B=x.T,W={};W._updatedFibers=new Set,x.T=W;try{var w=G(N,X),V=x.S;V!==null&&V(W,w),IB($,Z,w)}catch(_){i3($,Z,_)}finally{B!==null&&W.types!==null&&(B.types!==null&&B.types!==W.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),B.types=W.types),x.T=B,B===null&&W._updatedFibers&&($=W._updatedFibers.size,W._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{W=G(N,X),IB($,Z,W)}catch(_){i3($,Z,_)}}function IB($,Z,G){G!==null&&typeof G==="object"&&typeof G.then==="function"?(x.asyncTransitions++,G.then(BG,BG),G.then(function(X){jB($,Z,X)},function(X){return i3($,Z,X)}),Z.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):jB($,Z,G)}function jB($,Z,G){Z.status="fulfilled",Z.value=G,OB(Z),$.state=G,Z=$.pending,Z!==null&&(G=Z.next,G===Z?$.pending=null:(G=G.next,Z.next=G,CB($,G)))}function i3($,Z,G){var X=$.pending;if($.pending=null,X!==null){X=X.next;do Z.status="rejected",Z.reason=G,OB(Z),Z=Z.next;while(Z!==X)}$.action=null}function OB($){$=$.listeners;for(var Z=0;Z<$.length;Z++)(0,$[Z])()}function DB($,Z){return Z}function x$($,Z){if(p0){var G=K1.formState;if(G!==null){$:{var X=L0;if(p0){if(T1){Z:{var N=T1;for(var B=F4;N.nodeType!==8;){if(!B){N=null;break Z}if(N=i5(N.nextSibling),N===null){N=null;break Z}}B=N.data,N=B===jU||B===Mw?N:null}if(N){T1=i5(N.nextSibling),X=N.data===jU;break $}}T6(X)}X=!1}X&&(Z=G[0])}}return G=W5(),G.memoizedState=G.baseState=Z,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:DB,lastRenderedState:Z},G.queue=X,G=uB.bind(null,L0,X),X.dispatch=G,X=s3(!1),B=NX.bind(null,L0,!1,X.queue),X=W5(),N={state:Z,dispatch:null,action:$,pending:null},X.queue=N,G=vL.bind(null,L0,N,B,G),N.dispatch=G,X.memoizedState=$,[Z,G,!1]}function JG($){var Z=J1();return AB(Z,N1,$)}function AB($,Z,G){if(Z=l3($,Z,DB)[0],$=h$(I4)[0],typeof Z==="object"&&Z!==null&&typeof Z.then==="function")try{var X=_7(Z)}catch(W){if(W===w9)throw YJ;throw W}else X=Z;Z=J1();var N=Z.queue,B=N.dispatch;return G!==Z.memoizedState&&(L0.flags|=2048,u$(T4|_5,{destroy:void 0},kL.bind(null,N,G),null)),[X,B,$]}function kL($,Z){$.action=Z}function qG($){var Z=J1(),G=N1;if(G!==null)return AB(Z,G,$);J1(),Z=Z.memoizedState,G=J1();var X=G.queue.dispatch;return G.memoizedState=$,[Z,X,!1]}function u$($,Z,G,X){return $={tag:$,create:G,deps:X,inst:Z,next:null},Z=L0.updateQueue,Z===null&&(Z=QG(),L0.updateQueue=Z),G=Z.lastEffect,G===null?Z.lastEffect=$.next=$:(X=G.next,G.next=$,$.next=X,Z.lastEffect=$),$}function a3($){var Z=W5();return $={current:$},Z.memoizedState=$}function g2($,Z,G,X){var N=W5();L0.flags|=$,N.memoizedState=u$(T4|Z,{destroy:void 0},G,X===void 0?null:X)}function j5($,Z,G,X){var N=J1();X=X===void 0?null:X;var B=N.memoizedState.inst;N1!==null&&X!==null&&h3(X,N1.memoizedState.deps)?N.memoizedState=u$(Z,B,G,X):(L0.flags|=$,N.memoizedState=u$(T4|Z,B,G,X))}function XG($,Z){(L0.mode&A4)!==V0?g2(276826112,_5,$,Z):g2(8390656,_5,$,Z)}function bL($){L0.flags|=4;var Z=L0.updateQueue;if(Z===null)Z=QG(),L0.updateQueue=Z,Z.events=[$];else{var G=Z.events;G===null?Z.events=[$]:G.push($)}}function t3($){var Z=W5(),G={impl:$};return Z.memoizedState=G,function(){if((o0&r1)!==t1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function YG($){var Z=J1().memoizedState;return bL({ref:Z,nextImpl:$}),function(){if((o0&r1)!==t1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Z.impl.apply(void 0,arguments)}}function e3($,Z){var G=4194308;return(L0.mode&A4)!==V0&&(G|=134217728),g2(G,Q4,$,Z)}function SB($,Z){if(typeof Z==="function"){$=$();var G=Z($);return function(){typeof G==="function"?G():Z(null)}}if(Z!==null&&Z!==void 0)return Z.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(Z).join(", ")+"}"),$=$(),Z.current=$,function(){Z.current=null}}function $X($,Z,G){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),G=G!==null&&G!==void 0?G.concat([$]):null;var X=4194308;(L0.mode&A4)!==V0&&(X|=134217728),g2(X,Q4,SB.bind(null,Z,$),G)}function UG($,Z,G){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),G=G!==null&&G!==void 0?G.concat([$]):null,j5(4,Q4,SB.bind(null,Z,$),G)}function ZX($,Z){return W5().memoizedState=[$,Z===void 0?null:Z],$}function NG($,Z){var G=J1();Z=Z===void 0?null:Z;var X=G.memoizedState;if(Z!==null&&h3(Z,X[1]))return X[0];return G.memoizedState=[$,Z],$}function QX($,Z){var G=W5();Z=Z===void 0?null:Z;var X=$();if(e2){H1(!0);try{$()}finally{H1(!1)}}return G.memoizedState=[X,Z],X}function KG($,Z){var G=J1();Z=Z===void 0?null:Z;var X=G.memoizedState;if(Z!==null&&h3(Z,X[1]))return X[0];if(X=$(),e2){H1(!0);try{$()}finally{H1(!1)}}return G.memoizedState=[X,Z],X}function GX($,Z){var G=W5();return JX(G,$,Z)}function vB($,Z){var G=J1();return bB(G,N1.memoizedState,$,Z)}function kB($,Z){var G=J1();return N1===null?JX(G,$,Z):bB(G,N1.memoizedState,$,Z)}function JX($,Z,G){if(G===void 0||(c8&1073741824)!==0&&(S0&261930)===0)return $.memoizedState=Z;return $.memoizedState=G,$=fH(),L0.lanes|=$,l6|=$,G}function bB($,Z,G,X){if(z5(G,Z))return G;if(R9.current!==null)return $=JX($,G,X),z5($,Z)||(x1=!0),$;if((c8&42)===0||(c8&1073741824)!==0&&(S0&261930)===0)return x1=!0,$.memoizedState=G;return $=fH(),L0.lanes|=$,l6|=$,Z}function BG(){x.asyncTransitions--}function fB($,Z,G,X,N){var B=Z1.p;Z1.p=B!==0&&B<D4?B:D4;var W=x.T,w={};w._updatedFibers=new Set,x.T=w,NX($,!1,Z,G);try{var V=N(),_=x.S;if(_!==null&&_(w,V),V!==null&&typeof V==="object"&&typeof V.then==="function"){x.asyncTransitions++,V.then(BG,BG);var k=DL(V,X);E7($,Z,k,o5($))}else E7($,Z,X,o5($))}catch(b){E7($,Z,{then:function(){},status:"rejected",reason:b},o5($))}finally{Z1.p=B,W!==null&&w.types!==null&&(W.types!==null&&W.types!==w.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),W.types=w.types),x.T=W,W===null&&w._updatedFibers&&($=w._updatedFibers.size,w._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function qX($,Z,G,X){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var N=yB($).queue;jL($),fB($,N,Z,K$,G===null?T:function(){return gB($),G(X)})}function yB($){var Z=$.memoizedState;if(Z!==null)return Z;Z={memoizedState:K$,baseState:K$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I4,lastRenderedState:K$},next:null};var G={};return Z.next={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I4,lastRenderedState:G},next:null},$.memoizedState=Z,$=$.alternate,$!==null&&($.memoizedState=Z),Z}function gB($){x.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var Z=yB($);Z.next===null&&(Z=$.alternate.memoizedState),E7($,Z.next.queue,{},o5($))}function XX(){var $=s3(!1);return $=fB.bind(null,L0,$.queue,!0,!1),W5().memoizedState=$,[!1,$]}function hB(){var $=h$(I4)[0],Z=J1().memoizedState;return[typeof $==="boolean"?$:_7($),Z]}function xB(){var $=P7(I4)[0],Z=J1().memoizedState;return[typeof $==="boolean"?$:_7($),Z]}function h2(){return V1(kZ)}function YX(){var $=W5(),Z=K1.identifierPrefix;if(p0){var G=x8,X=h8;G=(X&~(1<<32-w5(X)-1)).toString(32)+G,Z="_"+Z+"R_"+G,G=HJ++,0<G&&(Z+="H"+G.toString(32)),Z+="_"}else G=ME++,Z="_"+Z+"r_"+G.toString(32)+"_";return $.memoizedState=Z}function UX(){return W5().memoizedState=fL.bind(null,L0)}function fL($,Z){for(var G=$.return;G!==null;){switch(G.tag){case 24:case 3:var X=o5(G),N=V6(X),B=L6(G,N,X);B!==null&&(r4(X,"refresh()",$),C1(B,G,X),z7(B,G,X)),$=O3(),Z!==null&&Z!==void 0&&B!==null&&console.error("The seed argument is not enabled outside experimental channels."),N.payload={cache:$};return}G=G.return}}function yL($,Z,G){var X=arguments;typeof X[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),X=o5($);var N={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};HG($)?mB(Z,N):(N=w3($,Z,N,X),N!==null&&(r4(X,"dispatch()",$),C1(N,$,X),dB(N,Z,X)))}function uB($,Z,G){var X=arguments;typeof X[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),X=o5($),E7($,Z,G,X)&&r4(X,"setState()",$)}function E7($,Z,G,X){var N={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};if(HG($))mB(Z,N);else{var B=$.alternate;if($.lanes===0&&(B===null||B.lanes===0)&&(B=Z.lastRenderedReducer,B!==null)){var W=x.H;x.H=v4;try{var w=Z.lastRenderedState,V=B(w,G);if(N.hasEagerState=!0,N.eagerState=V,z5(V,w))return hQ($,Z,N,0),K1===null&&gQ(),!1}catch(_){}finally{x.H=W}}if(G=w3($,Z,N,X),G!==null)return C1(G,$,X),dB(G,Z,X),!0}return!1}function NX($,Z,G,X){if(x.T===null&&n2===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),X={lane:2,revertLane:xX(),gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null},HG($)){if(Z)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else Z=w3($,G,X,2),Z!==null&&(r4(2,"setOptimistic()",$),C1(Z,$,2))}function HG($){var Z=$.alternate;return $===L0||Z!==null&&Z===L0}function mB($,Z){L9=BJ=!0;var G=$.pending;G===null?Z.next=Z:(Z.next=G.next,G.next=Z),$.pending=Z}function dB($,Z,G){if((G&4194048)!==0){var X=Z.lanes;X&=$.pendingLanes,G|=X,Z.lanes=G,E2($,G)}}function KX($){if($!==null&&typeof $!=="function"){var Z=String($);xW.has(Z)||(xW.add(Z),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function BX($,Z,G,X){var N=$.memoizedState,B=G(X,N);if($.mode&M5){H1(!0);try{B=G(X,N)}finally{H1(!1)}}B===void 0&&(Z=a(Z)||"Component",fW.has(Z)||(fW.add(Z),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Z))),N=B===null||B===void 0?N:y0({},N,B),$.memoizedState=N,$.lanes===0&&($.updateQueue.baseState=N)}function pB($,Z,G,X,N,B,W){var w=$.stateNode;if(typeof w.shouldComponentUpdate==="function"){if(G=w.shouldComponentUpdate(X,B,W),$.mode&M5){H1(!0);try{G=w.shouldComponentUpdate(X,B,W)}finally{H1(!1)}}return G===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",a(Z)||"Component"),G}return Z.prototype&&Z.prototype.isPureReactComponent?!H7(G,X)||!H7(N,B):!0}function cB($,Z,G,X){var N=Z.state;typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps(G,X),typeof Z.UNSAFE_componentWillReceiveProps==="function"&&Z.UNSAFE_componentWillReceiveProps(G,X),Z.state!==N&&($=d($)||"Component",AW.has($)||(AW.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),qU.enqueueReplaceState(Z,Z.state,null))}function x2($,Z){var G=Z;if("ref"in Z){G={};for(var X in Z)X!=="ref"&&(G[X]=Z[X])}if($=$.defaultProps){G===Z&&(G=y0({},G));for(var N in $)G[N]===void 0&&(G[N]=$[N])}return G}function lB($){yY($),console.warn(`%s
|
|
115
|
+
Incoming: %s`,h,"["+Q.join(", ")+"]","["+$.join(", ")+"]");for(var G=0;G<Q.length&&G<$.length;G++)if(!L5($[G],Q[G]))return!1;return!0}function pX($,Q,G,X,N,B){if(s$=B,L0=Q,V4=$!==null?$._debugHookTypes:null,o$=-1,wZ=$!==null&&$.type!==Q.type,Object.prototype.toString.call(G)==="[object AsyncFunction]"||Object.prototype.toString.call(G)==="[object AsyncGeneratorFunction]")B=d(L0),XU.has(B)||(XU.add(B),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",B===null?"An unknown Component":"<"+B+">"));Q.memoizedState=null,Q.updateQueue=null,Q.lanes=0,x.H=$!==null&&$.memoizedState!==null?UU:V4!==null?AF:YU,Q7=B=(Q.mode&W5)!==V0;var F=eY(G,X,N);if(Q7=!1,C9&&(F=cX(Q,G,X,N)),B){B1(!0);try{F=cX(Q,G,X,N)}finally{B1(!1)}}return zB($,Q),F}function zB($,Q){Q._debugHookTypes=V4,Q.dependencies===null?n$!==null&&(Q.dependencies={lanes:0,firstContext:null,_debugThenableState:n$}):Q.dependencies._debugThenableState=n$,x.H=zZ;var G=U1!==null&&U1.next!==null;if(s$=0,V4=h=h1=U1=L0=null,o$=-1,$!==null&&($.flags&65011712)!==(Q.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Fq=!1,RZ=0,n$=null,G)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||x1||($=$.dependencies,$!==null&&sJ($)&&(x1=!0)),WZ?(WZ=!1,$=!0):$=!1,$&&(Q=d(Q)||"Unknown",OF.has(Q)||XU.has(Q)||(OF.add(Q),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function cX($,Q,G,X){L0=$;var N=0;do{if(C9&&(n$=null),RZ=0,C9=!1,N>=FP)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(N+=1,wZ=!1,h1=U1=null,$.updateQueue!=null){var B=$.updateQueue;B.lastEffect=null,B.events=null,B.stores=null,B.memoCache!=null&&(B.memoCache.index=0)}o$=-1,x.H=SF,B=eY(Q,G,X)}while(C9);return B}function vL(){var $=x.H,Q=$.useState()[0];return Q=typeof Q.then==="function"?CQ(Q):Q,$=$.useState()[0],(U1!==null?U1.memoizedState:null)!==$&&(L0.flags|=1024),Q}function lX(){var $=Tq!==0;return Tq=0,$}function rX($,Q,G){Q.updateQueue=$.updateQueue,Q.flags=(Q.mode&v4)!==V0?Q.flags&-402655237:Q.flags&-2053,$.lanes&=~G}function sX($){if(Fq){for($=$.memoizedState;$!==null;){var Q=$.queue;Q!==null&&(Q.pending=null),$=$.next}Fq=!1}s$=0,V4=h1=U1=L0=null,o$=-1,h=null,C9=!1,RZ=Tq=0,n$=null}function R5(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return h1===null?L0.memoizedState=h1=$:h1=h1.next=$,h1}function J1(){if(U1===null){var $=L0.alternate;$=$!==null?$.memoizedState:null}else $=U1.next;var Q=h1===null?L0.memoizedState:h1.next;if(Q!==null)h1=Q,U1=$;else{if($===null){if(L0.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}U1=$,$={memoizedState:U1.memoizedState,baseState:U1.baseState,baseQueue:U1.baseQueue,queue:U1.queue,next:null},h1===null?L0.memoizedState=h1=$:h1=h1.next=$}return h1}function XG(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function CQ($){var Q=RZ;return RZ+=1,n$===null&&(n$=qB()),$=YB(n$,$,Q),Q=L0,(h1===null?Q.memoizedState:h1.next)===null&&(Q=Q.alternate,x.H=Q!==null&&Q.memoizedState!==null?UU:YU),$}function D8($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return CQ($);if($.$$typeof===U$)return V1($)}throw Error("An unsupported type was passed to use(): "+String($))}function h6($){var Q=null,G=L0.updateQueue;if(G!==null&&(Q=G.memoCache),Q==null){var X=L0.alternate;X!==null&&(X=X.updateQueue,X!==null&&(X=X.memoCache,X!=null&&(Q={data:X.data.map(function(N){return N.slice()}),index:0})))}if(Q==null&&(Q={data:[],index:0}),G===null&&(G=XG(),L0.updateQueue=G),G.memoCache=Q,G=Q.data[Q.index],G===void 0||wZ)for(G=Q.data[Q.index]=Array($),X=0;X<$;X++)G[X]=s_;else G.length!==$&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",G.length,$);return Q.index++,G}function O4($,Q){return typeof Q==="function"?Q($):Q}function nX($,Q,G){var X=R5();if(G!==void 0){var N=G(Q);if(Q7){B1(!0);try{G(Q)}finally{B1(!1)}}}else N=Q;return X.memoizedState=X.baseState=N,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:N},X.queue=$,$=$.dispatch=gL.bind(null,L0,$),[X.memoizedState,$]}function u7($){var Q=J1();return oX(Q,U1,$)}function oX($,Q,G){var X=$.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=G;var N=$.baseQueue,B=X.pending;if(B!==null){if(N!==null){var F=N.next;N.next=B.next,B.next=F}Q.baseQueue!==N&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),Q.baseQueue=N=B,X.pending=null}if(B=$.baseState,N===null)$.memoizedState=B;else{Q=N.next;var T=F=null,V=null,_=Q,k=!1;do{var b=_.lane&-536870913;if(b!==_.lane?(A0&b)===b:(s$&b)===b){var O=_.revertLane;if(O===0)V!==null&&(V=V.next={lane:0,revertLane:0,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),b===i6&&(k=!0);else if((s$&O)===O){_=_.next,O===i6&&(k=!0);continue}else b={lane:0,revertLane:_.revertLane,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},V===null?(T=V=b,F=B):V=V.next=b,L0.lanes|=O,i8|=O;b=_.action,Q7&&G(B,b),B=_.hasEagerState?_.eagerState:G(B,b)}else O={lane:b,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},V===null?(T=V=O,F=B):V=V.next=O,L0.lanes|=b,i8|=b;_=_.next}while(_!==null&&_!==Q);if(V===null?F=B:V.next=T,!L5(B,$.memoizedState)&&(x1=!0,k&&(G=R9,G!==null)))throw G;$.memoizedState=B,$.baseState=F,$.baseQueue=V,X.lastRenderedState=B}return N===null&&(X.lanes=0),[$.memoizedState,X.dispatch]}function PQ($){var Q=J1(),G=Q.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=$;var{dispatch:X,pending:N}=G,B=Q.memoizedState;if(N!==null){G.pending=null;var F=N=N.next;do B=$(B,F.action),F=F.next;while(F!==N);L5(B,Q.memoizedState)||(x1=!0),Q.memoizedState=B,Q.baseQueue===null&&(Q.baseState=B),G.lastRenderedState=B}return[B,X]}function iX($,Q,G){var X=L0,N=R5();if(m0){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var B=G();_9||B===G()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),_9=!0)}else{if(B=Q(),_9||(G=Q(),L5(B,G)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),_9=!0)),N1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(A0&127)!==0||VB(X,Q,B)}return N.memoizedState=B,G={value:B,getSnapshot:Q},N.queue=G,KG(_B.bind(null,X,G,$),[$]),X.flags|=2048,d7(z4|P5,{destroy:void 0},LB.bind(null,X,G,B,Q),null),B}function YG($,Q,G){var X=L0,N=J1(),B=m0;if(B){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");G=G()}else if(G=Q(),!_9){var F=Q();L5(G,F)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),_9=!0)}if(F=!L5((U1||N).memoizedState,G))N.memoizedState=G,x1=!0;N=N.queue;var T=_B.bind(null,X,N,$);if(D5(2048,P5,T,[$]),N.getSnapshot!==Q||F||h1!==null&&h1.memoizedState.tag&z4){if(X.flags|=2048,d7(z4|P5,{destroy:void 0},LB.bind(null,X,N,G,Q),null),N1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B||(s$&127)!==0||VB(X,Q,G)}return G}function VB($,Q,G){$.flags|=16384,$={getSnapshot:Q,value:G},Q=L0.updateQueue,Q===null?(Q=XG(),L0.updateQueue=Q,Q.stores=[$]):(G=Q.stores,G===null?Q.stores=[$]:G.push($))}function LB($,Q,G,X){Q.value=G,Q.getSnapshot=X,CB(Q)&&PB($)}function _B($,Q,G){return G(function(){CB(Q)&&(n4(2,"updateSyncExternalStore()",$),PB($))})}function CB($){var Q=$.getSnapshot;$=$.value;try{var G=Q();return!L5($,G)}catch(X){return!0}}function PB($){var Q=H5($,2);Q!==null&&I1(Q,$,2)}function aX($){var Q=R5();if(typeof $==="function"){var G=$;if($=G(),Q7){B1(!0);try{G()}finally{B1(!1)}}}return Q.memoizedState=Q.baseState=$,Q.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:O4,lastRenderedState:$},Q}function tX($){$=aX($);var Q=$.queue,G=pB.bind(null,L0,Q);return Q.dispatch=G,[$.memoizedState,G]}function eX($){var Q=R5();Q.memoizedState=Q.baseState=$;var G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return Q.queue=G,Q=M3.bind(null,L0,!0,G),G.dispatch=Q,[$,Q]}function EB($,Q){var G=J1();return IB(G,U1,$,Q)}function IB($,Q,G,X){return $.baseState=G,oX($,U1,typeof X==="function"?X:O4)}function jB($,Q){var G=J1();if(U1!==null)return IB(G,U1,$,Q);return G.baseState=$,[$,G.queue.dispatch]}function kL($,Q,G,X,N){if(TG($))throw Error("Cannot update form state while rendering.");if($=Q.action,$!==null){var B={payload:N,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(F){B.listeners.push(F)}};x.T!==null?G(!0):B.isTransition=!1,X(B),G=Q.pending,G===null?(B.next=Q.pending=B,OB(Q,B)):(B.next=G.next,Q.pending=G.next=B)}}function OB($,Q){var{action:G,payload:X}=Q,N=$.state;if(Q.isTransition){var B=x.T,F={};F._updatedFibers=new Set,x.T=F;try{var T=G(N,X),V=x.S;V!==null&&V(F,T),DB($,Q,T)}catch(_){$3($,Q,_)}finally{B!==null&&F.types!==null&&(B.types!==null&&B.types!==F.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),B.types=F.types),x.T=B,B===null&&F._updatedFibers&&($=F._updatedFibers.size,F._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{F=G(N,X),DB($,Q,F)}catch(_){$3($,Q,_)}}function DB($,Q,G){G!==null&&typeof G==="object"&&typeof G.then==="function"?(x.asyncTransitions++,G.then(FG,FG),G.then(function(X){AB($,Q,X)},function(X){return $3($,Q,X)}),Q.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):AB($,Q,G)}function AB($,Q,G){Q.status="fulfilled",Q.value=G,SB(Q),$.state=G,Q=$.pending,Q!==null&&(G=Q.next,G===Q?$.pending=null:(G=G.next,Q.next=G,OB($,G)))}function $3($,Q,G){var X=$.pending;if($.pending=null,X!==null){X=X.next;do Q.status="rejected",Q.reason=G,SB(Q),Q=Q.next;while(Q!==X)}$.action=null}function SB($){$=$.listeners;for(var Q=0;Q<$.length;Q++)(0,$[Q])()}function vB($,Q){return Q}function m7($,Q){if(m0){var G=N1.formState;if(G!==null){$:{var X=L0;if(m0){if(R1){Q:{var N=R1;for(var B=T4;N.nodeType!==8;){if(!B){N=null;break Q}if(N=t5(N.nextSibling),N===null){N=null;break Q}}B=N.data,N=B===SU||B===TT?N:null}if(N){R1=t5(N.nextSibling),X=N.data===SU;break $}}_8(X)}X=!1}X&&(Q=G[0])}}return G=R5(),G.memoizedState=G.baseState=Q,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vB,lastRenderedState:Q},G.queue=X,G=pB.bind(null,L0,X),X.dispatch=G,X=aX(!1),B=M3.bind(null,L0,!1,X.queue),X=R5(),N={state:Q,dispatch:null,action:$,pending:null},X.queue=N,G=kL.bind(null,L0,N,B,G),N.dispatch=G,X.memoizedState=$,[Q,G,!1]}function UG($){var Q=J1();return kB(Q,U1,$)}function kB($,Q,G){if(Q=oX($,Q,vB)[0],$=u7(O4)[0],typeof Q==="object"&&Q!==null&&typeof Q.then==="function")try{var X=CQ(Q)}catch(F){if(F===w9)throw Bq;throw F}else X=Q;Q=J1();var N=Q.queue,B=N.dispatch;return G!==Q.memoizedState&&(L0.flags|=2048,d7(z4|P5,{destroy:void 0},bL.bind(null,N,G),null)),[X,B,$]}function bL($,Q){$.action=Q}function NG($){var Q=J1(),G=U1;if(G!==null)return kB(Q,G,$);J1(),Q=Q.memoizedState,G=J1();var X=G.queue.dispatch;return G.memoizedState=$,[Q,X,!1]}function d7($,Q,G,X){return $={tag:$,create:G,deps:X,inst:Q,next:null},Q=L0.updateQueue,Q===null&&(Q=XG(),L0.updateQueue=Q),G=Q.lastEffect,G===null?Q.lastEffect=$.next=$:(X=G.next,G.next=$,$.next=X,Q.lastEffect=$),$}function Q3($){var Q=R5();return $={current:$},Q.memoizedState=$}function x6($,Q,G,X){var N=R5();L0.flags|=$,N.memoizedState=d7(z4|Q,{destroy:void 0},G,X===void 0?null:X)}function D5($,Q,G,X){var N=J1();X=X===void 0?null:X;var B=N.memoizedState.inst;U1!==null&&X!==null&&dX(X,U1.memoizedState.deps)?N.memoizedState=d7(Q,B,G,X):(L0.flags|=$,N.memoizedState=d7(z4|Q,B,G,X))}function KG($,Q){(L0.mode&v4)!==V0?x6(276826112,P5,$,Q):x6(8390656,P5,$,Q)}function yL($){L0.flags|=4;var Q=L0.updateQueue;if(Q===null)Q=XG(),L0.updateQueue=Q,Q.events=[$];else{var G=Q.events;G===null?Q.events=[$]:G.push($)}}function Z3($){var Q=R5(),G={impl:$};return Q.memoizedState=G,function(){if((n0&r1)!==t1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function BG($){var Q=J1().memoizedState;return yL({ref:Q,nextImpl:$}),function(){if((n0&r1)!==t1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Q.impl.apply(void 0,arguments)}}function J3($,Q){var G=4194308;return(L0.mode&v4)!==V0&&(G|=134217728),x6(G,G4,$,Q)}function bB($,Q){if(typeof Q==="function"){$=$();var G=Q($);return function(){typeof G==="function"?G():Q(null)}}if(Q!==null&&Q!==void 0)return Q.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(Q).join(", ")+"}"),$=$(),Q.current=$,function(){Q.current=null}}function G3($,Q,G){typeof Q!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Q!==null?typeof Q:"null"),G=G!==null&&G!==void 0?G.concat([$]):null;var X=4194308;(L0.mode&v4)!==V0&&(X|=134217728),x6(X,G4,bB.bind(null,Q,$),G)}function HG($,Q,G){typeof Q!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Q!==null?typeof Q:"null"),G=G!==null&&G!==void 0?G.concat([$]):null,D5(4,G4,bB.bind(null,Q,$),G)}function q3($,Q){return R5().memoizedState=[$,Q===void 0?null:Q],$}function MG($,Q){var G=J1();Q=Q===void 0?null:Q;var X=G.memoizedState;if(Q!==null&&dX(Q,X[1]))return X[0];return G.memoizedState=[$,Q],$}function X3($,Q){var G=R5();Q=Q===void 0?null:Q;var X=$();if(Q7){B1(!0);try{$()}finally{B1(!1)}}return G.memoizedState=[X,Q],X}function WG($,Q){var G=J1();Q=Q===void 0?null:Q;var X=G.memoizedState;if(Q!==null&&dX(Q,X[1]))return X[0];if(X=$(),Q7){B1(!0);try{$()}finally{B1(!1)}}return G.memoizedState=[X,Q],X}function Y3($,Q){var G=R5();return U3(G,$,Q)}function yB($,Q){var G=J1();return gB(G,U1.memoizedState,$,Q)}function fB($,Q){var G=J1();return U1===null?U3(G,$,Q):gB(G,U1.memoizedState,$,Q)}function U3($,Q,G){if(G===void 0||(s$&1073741824)!==0&&(A0&261930)===0)return $.memoizedState=Q;return $.memoizedState=G,$=hH(),L0.lanes|=$,i8|=$,G}function gB($,Q,G,X){if(L5(G,Q))return G;if(V9.current!==null)return $=U3($,G,X),L5($,Q)||(x1=!0),$;if((s$&42)===0||(s$&1073741824)!==0&&(A0&261930)===0)return x1=!0,$.memoizedState=G;return $=hH(),L0.lanes|=$,i8|=$,Q}function FG(){x.asyncTransitions--}function hB($,Q,G,X,N){var B=$1.p;$1.p=B!==0&&B<S4?B:S4;var F=x.T,T={};T._updatedFibers=new Set,x.T=T,M3($,!1,Q,G);try{var V=N(),_=x.S;if(_!==null&&_(T,V),V!==null&&typeof V==="object"&&typeof V.then==="function"){x.asyncTransitions++,V.then(FG,FG);var k=AL(V,X);EQ($,Q,k,a5($))}else EQ($,Q,X,a5($))}catch(b){EQ($,Q,{then:function(){},status:"rejected",reason:b},a5($))}finally{$1.p=B,F!==null&&T.types!==null&&(F.types!==null&&F.types!==T.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),F.types=T.types),x.T=F,F===null&&T._updatedFibers&&($=T._updatedFibers.size,T._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function N3($,Q,G,X){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var N=xB($).queue;OL($),hB($,N,Q,H7,G===null?R:function(){return uB($),G(X)})}function xB($){var Q=$.memoizedState;if(Q!==null)return Q;Q={memoizedState:H7,baseState:H7,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:O4,lastRenderedState:H7},next:null};var G={};return Q.next={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:O4,lastRenderedState:G},next:null},$.memoizedState=Q,$=$.alternate,$!==null&&($.memoizedState=Q),Q}function uB($){x.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var Q=xB($);Q.next===null&&(Q=$.alternate.memoizedState),EQ($,Q.next.queue,{},a5($))}function K3(){var $=aX(!1);return $=hB.bind(null,L0,$.queue,!0,!1),R5().memoizedState=$,[!1,$]}function mB(){var $=u7(O4)[0],Q=J1().memoizedState;return[typeof $==="boolean"?$:CQ($),Q]}function dB(){var $=PQ(O4)[0],Q=J1().memoizedState;return[typeof $==="boolean"?$:CQ($),Q]}function u6(){return V1(bZ)}function B3(){var $=R5(),Q=N1.identifierPrefix;if(m0){var G=d$,X=m$;G=(X&~(1<<32-w5(X)-1)).toString(32)+G,Q="_"+Q+"R_"+G,G=Tq++,0<G&&(Q+="H"+G.toString(32)),Q+="_"}else G=WP++,Q="_"+Q+"r_"+G.toString(32)+"_";return $.memoizedState=Q}function H3(){return R5().memoizedState=fL.bind(null,L0)}function fL($,Q){for(var G=$.return;G!==null;){switch(G.tag){case 24:case 3:var X=a5(G),N=E8(X),B=I8(G,N,X);B!==null&&(n4(X,"refresh()",$),I1(B,G,X),VQ(B,G,X)),$=vX(),Q!==null&&Q!==void 0&&B!==null&&console.error("The seed argument is not enabled outside experimental channels."),N.payload={cache:$};return}G=G.return}}function gL($,Q,G){var X=arguments;typeof X[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),X=a5($);var N={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};TG($)?cB(Q,N):(N=VX($,Q,N,X),N!==null&&(n4(X,"dispatch()",$),I1(N,$,X),lB(N,Q,X)))}function pB($,Q,G){var X=arguments;typeof X[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),X=a5($),EQ($,Q,G,X)&&n4(X,"setState()",$)}function EQ($,Q,G,X){var N={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};if(TG($))cB(Q,N);else{var B=$.alternate;if($.lanes===0&&(B===null||B.lanes===0)&&(B=Q.lastRenderedReducer,B!==null)){var F=x.H;x.H=b4;try{var T=Q.lastRenderedState,V=B(T,G);if(N.hasEagerState=!0,N.eagerState=V,L5(V,T))return dJ($,Q,N,0),N1===null&&mJ(),!1}catch(_){}finally{x.H=F}}if(G=VX($,Q,N,X),G!==null)return I1(G,$,X),lB(G,Q,X),!0}return!1}function M3($,Q,G,X){if(x.T===null&&i6===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),X={lane:2,revertLane:p3(),gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null},TG($)){if(Q)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else Q=VX($,G,X,2),Q!==null&&(n4(2,"setOptimistic()",$),I1(Q,$,2))}function TG($){var Q=$.alternate;return $===L0||Q!==null&&Q===L0}function cB($,Q){C9=Fq=!0;var G=$.pending;G===null?Q.next=Q:(Q.next=G.next,G.next=Q),$.pending=Q}function lB($,Q,G){if((G&4194048)!==0){var X=Q.lanes;X&=$.pendingLanes,G|=X,Q.lanes=G,I6($,G)}}function W3($){if($!==null&&typeof $!=="function"){var Q=String($);dF.has(Q)||(dF.add(Q),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function F3($,Q,G,X){var N=$.memoizedState,B=G(X,N);if($.mode&W5){B1(!0);try{B=G(X,N)}finally{B1(!1)}}B===void 0&&(Q=a(Q)||"Component",hF.has(Q)||(hF.add(Q),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Q))),N=B===null||B===void 0?N:b0({},N,B),$.memoizedState=N,$.lanes===0&&($.updateQueue.baseState=N)}function rB($,Q,G,X,N,B,F){var T=$.stateNode;if(typeof T.shouldComponentUpdate==="function"){if(G=T.shouldComponentUpdate(X,B,F),$.mode&W5){B1(!0);try{G=T.shouldComponentUpdate(X,B,F)}finally{B1(!1)}}return G===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",a(Q)||"Component"),G}return Q.prototype&&Q.prototype.isPureReactComponent?!MQ(G,X)||!MQ(N,B):!0}function sB($,Q,G,X){var N=Q.state;typeof Q.componentWillReceiveProps==="function"&&Q.componentWillReceiveProps(G,X),typeof Q.UNSAFE_componentWillReceiveProps==="function"&&Q.UNSAFE_componentWillReceiveProps(G,X),Q.state!==N&&($=d($)||"Component",kF.has($)||(kF.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),NU.enqueueReplaceState(Q,Q.state,null))}function m6($,Q){var G=Q;if("ref"in Q){G={};for(var X in Q)X!=="ref"&&(G[X]=Q[X])}if($=$.defaultProps){G===Q&&(G=b0({},G));for(var N in $)G[N]===void 0&&(G[N]=$[N])}return G}function nB($){uY($),console.warn(`%s
|
|
116
116
|
|
|
117
117
|
%s
|
|
118
|
-
`,
|
|
119
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function
|
|
118
|
+
`,P9?"An error occurred in the <"+P9+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function oB($){var Q=P9?"The above error occurred in the <"+P9+"> component.":"The above error occurred in one of your React components.",G="React will try to recreate this component tree from scratch using the error boundary you provided, "+((KU||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var X=$.environmentName;$=[`%o
|
|
120
120
|
|
|
121
121
|
%s
|
|
122
122
|
|
|
123
123
|
%s
|
|
124
|
-
`,$,
|
|
124
|
+
`,$,Q,G].slice(0),typeof $[0]==="string"?$.splice(0,1,PT+" "+$[0],ET,mq+X+mq,IT):$.splice(0,0,PT,ET,mq+X+mq,IT),$.unshift(console),X=yP.apply(console.error,$),X()}else console.error(`%o
|
|
125
125
|
|
|
126
126
|
%s
|
|
127
127
|
|
|
128
128
|
%s
|
|
129
|
-
`,$,
|
|
129
|
+
`,$,Q,G)}function iB($){uY($)}function RG($,Q){try{P9=Q.source?d(Q.source):null,KU=null;var G=Q.value;if(x.actQueue!==null)x.thrownErrors.push(G);else{var X=$.onUncaughtError;X(G,{componentStack:Q.stack})}}catch(N){setTimeout(function(){throw N})}}function aB($,Q,G){try{P9=G.source?d(G.source):null,KU=d(Q);var X=$.onCaughtError;X(G.value,{componentStack:G.stack,errorBoundary:Q.tag===1?Q.stateNode:null})}catch(N){setTimeout(function(){throw N})}}function T3($,Q,G){return G=E8(G),G.tag=JU,G.payload={element:null},G.callback=function(){G0(Q.source,RG,$,Q)},G}function R3($){return $=E8($),$.tag=JU,$}function w3($,Q,G,X){var N=G.type.getDerivedStateFromError;if(typeof N==="function"){var B=X.value;$.payload=function(){return N(B)},$.callback=function(){cK(G),G0(X.source,aB,Q,G,X)}}var F=G.stateNode;F!==null&&typeof F.componentDidCatch==="function"&&($.callback=function(){cK(G),G0(X.source,aB,Q,G,X),typeof N!=="function"&&(t8===null?t8=new Set([this]):t8.add(this)),KP(this,X),typeof N==="function"||(G.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",d(G)||"Unknown")})}function hL($,Q,G,X,N){if(G.flags|=32768,B$&&kQ($,N),X!==null&&typeof X==="object"&&typeof X.then==="function"){if(Q=G.alternate,Q!==null&&h7(Q,G,N,!0),m0&&(W$=!0),G=J4.current,G!==null){switch(G.tag){case 31:case 13:return w4===null?IG():G.alternate===null&&P1===a$&&(P1=zq),G.flags&=-257,G.flags|=65536,G.lanes=N,X===Hq?G.flags|=16384:(Q=G.updateQueue,Q===null?G.updateQueue=new Set([X]):Q.add(X),x3($,X,N)),!1;case 22:return G.flags|=65536,X===Hq?G.flags|=16384:(Q=G.updateQueue,Q===null?(Q={transitions:null,markerInstances:null,retryQueue:new Set([X])},G.updateQueue=Q):(G=Q.retryQueue,G===null?Q.retryQueue=new Set([X]):G.add(X)),x3($,X,N)),!1}throw Error("Unexpected Suspense handler tag ("+G.tag+"). This is a bug in React.")}return x3($,X,N),IG(),!1}if(m0)return W$=!0,Q=J4.current,Q!==null?((Q.flags&65536)===0&&(Q.flags|=256),Q.flags|=65536,Q.lanes=N,X!==rY&&FQ(s5(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:X}),G))):(X!==rY&&FQ(s5(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:X}),G)),$=$.current.alternate,$.flags|=65536,N&=-N,$.lanes|=N,X=s5(X,G),N=T3($.stateNode,X,N),JG($,N),P1!==n8&&(P1=Z7)),!1;var B=s5(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:X}),G);if(EZ===null?EZ=[B]:EZ.push(B),P1!==n8&&(P1=Z7),Q===null)return!0;X=s5(X,G),G=Q;do{switch(G.tag){case 3:return G.flags|=65536,$=N&-N,G.lanes|=$,$=T3(G.stateNode,X,$),JG(G,$),!1;case 1:if(Q=G.type,B=G.stateNode,(G.flags&128)===0&&(typeof Q.getDerivedStateFromError==="function"||B!==null&&typeof B.componentDidCatch==="function"&&(t8===null||!t8.has(B))))return G.flags|=65536,N&=-N,G.lanes|=N,N=R3(N),w3(N,$,G,X),JG(G,N),!1}G=G.return}while(G!==null);return!1}function Z5($,Q,G,X){Q.child=$===null?_F(Q,null,G,X):$7(Q,$.child,G,X)}function tB($,Q,G,X,N){G=G.render;var B=Q.ref;if("ref"in X){var F={};for(var T in X)T!=="ref"&&(F[T]=X[T])}else F=X;if(f6(Q),X=pX($,Q,G,F,B,N),T=lX(),$!==null&&!x1)return rX($,Q,N),y$($,Q,N);return m0&&T&&IX(Q),Q.flags|=1,Z5($,Q,X,N),Q.child}function eB($,Q,G,X,N){if($===null){var B=G.type;if(typeof B==="function"&&!_X(B)&&B.defaultProps===void 0&&G.compare===null)return G=v6(B),Q.tag=15,Q.type=G,V3(Q,B),$H($,Q,G,X,N);return $=CX(G.type,null,X,Q,Q.mode,N),$.ref=Q.ref,$.return=Q,Q.child=$}if(B=$.child,!I3($,N)){var F=B.memoizedProps;if(G=G.compare,G=G!==null?G:MQ,G(F,X)&&$.ref===Q.ref)return y$($,Q,N)}return Q.flags|=1,$=S$(B,X),$.ref=Q.ref,$.return=Q,Q.child=$}function $H($,Q,G,X,N){if($!==null){var B=$.memoizedProps;if(MQ(B,X)&&$.ref===Q.ref&&Q.type===$.type)if(x1=!1,Q.pendingProps=X=B,I3($,N))($.flags&131072)!==0&&(x1=!0);else return Q.lanes=$.lanes,y$($,Q,N)}return z3($,Q,G,X,N)}function QH($,Q,G,X){var N=X.children,B=$!==null?$.memoizedState:null;if($===null&&Q.stateNode===null&&(Q.stateNode={_visibility:$Z,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.mode==="hidden"){if((Q.flags&128)!==0){if(B=B!==null?B.baseLanes|G:G,$!==null){X=Q.child=$.child;for(N=0;X!==null;)N=N|X.lanes|X.childLanes,X=X.sibling;X=N&~B}else X=0,Q.child=null;return ZH($,Q,B,G,X)}if((G&536870912)!==0)Q.memoizedState={baseLanes:0,cachePool:null},$!==null&&aJ(Q,B!==null?B.cachePool:null),B!==null?RB(Q,B):xX(Q),wB(Q);else return X=Q.lanes=536870912,ZH($,Q,B!==null?B.baseLanes|G:G,G,X)}else B!==null?(aJ(Q,B.cachePool),RB(Q,B),O8(Q),Q.memoizedState=null):($!==null&&aJ(Q,null),xX(Q),O8(Q));return Z5($,Q,N,G),Q.child}function IQ($,Q){return $!==null&&$.tag===22||Q.stateNode!==null||(Q.stateNode={_visibility:$Z,_pendingMarkers:null,_retryCache:null,_transitions:null}),Q.sibling}function ZH($,Q,G,X,N){var B=yX();return B=B===null?null:{parent:f1._currentValue,pool:B},Q.memoizedState={baseLanes:G,cachePool:B},$!==null&&aJ(Q,null),xX(Q),wB(Q),$!==null&&h7($,Q,X,!0),Q.childLanes=N,null}function wG($,Q){var G=Q.hidden;return G!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
130
|
- <Activity %s>
|
|
131
|
-
+ <Activity %s>`,G===!0?"hidden":G===!1?"hidden={false}":"hidden={...}",G?'mode="hidden"':'mode="visible"'),
|
|
131
|
+
+ <Activity %s>`,G===!0?"hidden":G===!1?"hidden={false}":"hidden={...}",G?'mode="hidden"':'mode="visible"'),Q=VG({mode:Q.mode,children:Q.children},$.mode),Q.ref=$.ref,$.child=Q,Q.return=$,Q}function JH($,Q,G){return $7(Q,$.child,null,G),$=wG(Q,Q.pendingProps),$.flags|=2,i5(Q),Q.memoizedState=null,$}function xL($,Q,G){var X=Q.pendingProps,N=(Q.flags&128)!==0;if(Q.flags&=-129,$===null){if(m0){if(X.mode==="hidden")return $=wG(Q,X),Q.lanes=536870912,IQ(null,$);if(mX(Q),($=R1)?(G=OM($,T4),G=G!==null&&G.data===U7?G:null,G!==null&&(X={dehydrated:G,treeContext:oK(),retryLane:536870912,hydrationErrors:null},Q.memoizedState=X,X=sK(G),X.return=Q,Q.child=X,q5=Q,R1=null)):G=null,G===null)throw lJ(Q,$),_8(Q);return Q.lanes=536870912,null}return wG(Q,X)}var B=$.memoizedState;if(B!==null){var F=B.dehydrated;if(mX(Q),N)if(Q.flags&256)Q.flags&=-257,Q=JH($,Q,G);else if(Q.memoizedState!==null)Q.child=$.child,Q.flags|=128,Q=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(aK(),(G&536870912)!==0&&EG(Q),x1||h7($,Q,G,!1),N=(G&$.childLanes)!==0,x1||N){if(X=N1,X!==null&&(F=j6(X,G),F!==0&&F!==B.retryLane))throw B.retryLane=F,H5($,F),I1(X,$,F),BU;IG(),Q=JH($,Q,G)}else $=B.treeContext,R1=t5(F.nextSibling),q5=Q,m0=!0,m8=null,W$=!1,Z4=null,T4=!1,$!==null&&iK(Q,$),Q=wG(Q,X),Q.flags|=4096;return Q}return B=$.child,X={mode:X.mode,children:X.children},(G&536870912)!==0&&(G&$.lanes)!==0&&EG(Q),$=S$(B,X),$.ref=Q.ref,Q.child=$,$.return=Q,$}function zG($,Q){var G=Q.ref;if(G===null)$!==null&&$.ref!==null&&(Q.flags|=4194816);else{if(typeof G!=="function"&&typeof G!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==G)Q.flags|=4194816}}function z3($,Q,G,X,N){if(G.prototype&&typeof G.prototype.render==="function"){var B=a(G)||"Unknown";pF[B]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),pF[B]=!0)}if(Q.mode&W5&&k4.recordLegacyContextWarning(Q,null),$===null&&(V3(Q,Q.type),G.contextTypes&&(B=a(G)||"Unknown",lF[B]||(lF[B]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",B)))),f6(Q),G=pX($,Q,G,X,void 0,N),X=lX(),$!==null&&!x1)return rX($,Q,N),y$($,Q,N);return m0&&X&&IX(Q),Q.flags|=1,Z5($,Q,G,N),Q.child}function GH($,Q,G,X,N,B){if(f6(Q),o$=-1,wZ=$!==null&&$.type!==Q.type,Q.updateQueue=null,G=cX(Q,X,G,N),zB($,Q),X=lX(),$!==null&&!x1)return rX($,Q,B),y$($,Q,B);return m0&&X&&IX(Q),Q.flags|=1,Z5($,Q,G,B),Q.child}function qH($,Q,G,X,N){switch(H(Q)){case!1:var B=Q.stateNode,F=new Q.type(Q.memoizedProps,B.context).state;B.updater.enqueueSetState(B,F,null);break;case!0:Q.flags|=128,Q.flags|=65536,B=Error("Simulated error coming from DevTools");var T=N&-N;if(Q.lanes|=T,F=N1,F===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");T=R3(T),w3(T,F,Q,s5(B,Q)),JG(Q,T)}if(f6(Q),Q.stateNode===null){if(F=u8,B=G.contextType,"contextType"in G&&B!==null&&(B===void 0||B.$$typeof!==U$)&&!mF.has(G)&&(mF.add(G),T=B===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof B!=="object"?" However, it is set to a "+typeof B+".":B.$$typeof===HY?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(B).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",a(G)||"Component",T)),typeof B==="object"&&B!==null&&(F=V1(B)),B=new G(X,F),Q.mode&W5){B1(!0);try{B=new G(X,F)}finally{B1(!1)}}if(F=Q.memoizedState=B.state!==null&&B.state!==void 0?B.state:null,B.updater=NU,Q.stateNode=B,B._reactInternals=Q,B._reactInternalInstance=vF,typeof G.getDerivedStateFromProps==="function"&&F===null&&(F=a(G)||"Component",bF.has(F)||(bF.add(F),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",F,B.state===null?"null":"undefined",F))),typeof G.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"){var V=T=F=null;if(typeof B.componentWillMount==="function"&&B.componentWillMount.__suppressDeprecationWarning!==!0?F="componentWillMount":typeof B.UNSAFE_componentWillMount==="function"&&(F="UNSAFE_componentWillMount"),typeof B.componentWillReceiveProps==="function"&&B.componentWillReceiveProps.__suppressDeprecationWarning!==!0?T="componentWillReceiveProps":typeof B.UNSAFE_componentWillReceiveProps==="function"&&(T="UNSAFE_componentWillReceiveProps"),typeof B.componentWillUpdate==="function"&&B.componentWillUpdate.__suppressDeprecationWarning!==!0?V="componentWillUpdate":typeof B.UNSAFE_componentWillUpdate==="function"&&(V="UNSAFE_componentWillUpdate"),F!==null||T!==null||V!==null){B=a(G)||"Component";var _=typeof G.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";fF.has(B)||(fF.add(B),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
132
|
|
|
133
133
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
134
|
|
|
135
135
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
-
https://react.dev/link/unsafe-component-lifecycles`,B,_,
|
|
137
|
-
`+
|
|
138
|
-
`+
|
|
139
|
-
`+V:""))}}B=
|
|
140
|
-
%s.childContextTypes = ...`,Z.displayName||Z.name||"Component"),typeof Z.getDerivedStateFromProps==="function"&&($=a(Z)||"Unknown",pW[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),pW[$]=!0)),typeof Z.contextType==="object"&&Z.contextType!==null&&(Z=a(Z)||"Unknown",mW[Z]||(console.error("%s: Function components do not support contextType.",Z),mW[Z]=!0))}function TX($){return{baseLanes:$,cachePool:ZB()}}function RX($,Z,G){return $=$!==null?$.childLanes&~G:0,Z&&($|=v5),$}function JH($,Z,G){var X,N=Z.pendingProps;K(Z)&&(Z.flags|=128);var B=!1,W=(Z.flags&128)!==0;if((X=W)||(X=$!==null&&$.memoizedState===null?!1:(v1.current&WZ)!==0),X&&(B=!0,Z.flags&=-129),X=(Z.flags&32)!==0,Z.flags&=-33,$===null){if(p0){if(B?_6(Z):P6(Z),($=T1)?(G=CM($,F4),G=G!==null&&G.data!==X$?G:null,G!==null&&(X={dehydrated:G,treeContext:rK(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=X,X=cK(G),X.return=Z,Z.child=X,J5=Z,T1=null)):G=null,G===null)throw mQ(Z,$),T6(Z);return aX(G)?Z.lanes=32:Z.lanes=536870912,null}var w=N.children;if(N=N.fallback,B){P6(Z);var V=Z.mode;return w=wG({mode:"hidden",children:w},V),N=S2(N,V,G,null),w.return=Z,N.return=Z,w.sibling=N,Z.child=w,N=Z.child,N.memoizedState=TX(G),N.childLanes=RX($,X,G),Z.memoizedState=UU,C7(null,N)}return _6(Z),zX(Z,w)}var _=$.memoizedState;if(_!==null){var k=_.dehydrated;if(k!==null){if(W)Z.flags&256?(_6(Z),Z.flags&=-257,Z=VX($,Z,G)):Z.memoizedState!==null?(P6(Z),Z.child=$.child,Z.flags|=128,Z=null):(P6(Z),w=N.fallback,V=Z.mode,N=wG({mode:"visible",children:N.children},V),w=S2(w,V,G,null),w.flags|=2,N.return=Z,w.return=Z,N.sibling=w,Z.child=N,t2(Z,$.child,null,G),N=Z.child,N.memoizedState=TX(G),N.childLanes=RX($,X,G),Z.memoizedState=UU,Z=C7(null,N));else if(_6(Z),nK(),(G&536870912)!==0&&LG(Z),aX(k)){if(X=k.nextSibling&&k.nextSibling.dataset,X){w=X.dgst;var b=X.msg;V=X.stck;var O=X.cstck}B=b,X=w,N=V,k=O,w=B,V=k,w=w?Error(w):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),w.stack=N||"",w.digest=X,X=V===void 0?null:V,N={value:w,source:null,stack:X},typeof X==="string"&&mY.set(w,N),F7(N),Z=VX($,Z,G)}else if(x1||y$($,Z,G,!1),X=(G&$.childLanes)!==0,x1||X){if(X=K1,X!==null&&(N=C2(X,G),N!==0&&N!==_.retryLane))throw _.retryLane=N,B5($,N),C1(X,$,N),YU;iX(k)||_G(),Z=VX($,Z,G)}else iX(k)?(Z.flags|=192,Z.child=$.child,Z=null):($=_.treeContext,T1=i5(k.nextSibling),J5=Z,p0=!0,y6=null,H8=!1,$4=null,F4=!1,$!==null&&sK(Z,$),Z=zX(Z,N.children),Z.flags|=4096);return Z}}if(B)return P6(Z),w=N.fallback,V=Z.mode,O=$.child,k=O.sibling,N=O8(O,{mode:"hidden",children:N.children}),N.subtreeFlags=O.subtreeFlags&65011712,k!==null?w=O8(k,w):(w=S2(w,V,G,null),w.flags|=2),w.return=Z,N.return=Z,N.sibling=w,Z.child=N,C7(null,N),N=Z.child,w=$.child.memoizedState,w===null?w=TX(G):(V=w.cachePool,V!==null?(O=y1._currentValue,V=V.parent!==O?{parent:O,pool:O}:V):V=ZB(),w={baseLanes:w.baseLanes|G,cachePool:V}),N.memoizedState=w,N.childLanes=RX($,X,G),Z.memoizedState=UU,C7($.child,N);return _!==null&&(G&62914560)===G&&(G&$.lanes)!==0&&LG(Z),_6(Z),G=$.child,$=G.sibling,G=O8(G,{mode:"visible",children:N.children}),G.return=Z,G.sibling=null,$!==null&&(X=Z.deletions,X===null?(Z.deletions=[$],Z.flags|=16):X.push($)),Z.child=G,Z.memoizedState=null,G}function zX($,Z){return Z=wG({mode:"visible",children:Z},$.mode),Z.return=$,$.child=Z}function wG($,Z){return $=L(22,$,null,Z),$.lanes=0,$}function VX($,Z,G){return t2(Z,$.child,null,G),$=zX(Z,Z.pendingProps.children),$.flags|=2,Z.memoizedState=null,$}function qH($,Z,G){$.lanes|=Z;var X=$.alternate;X!==null&&(X.lanes|=Z),I3($.return,Z,G)}function LX($,Z,G,X,N,B){var W=$.memoizedState;W===null?$.memoizedState={isBackwards:Z,rendering:null,renderingStartTime:0,last:X,tail:G,tailMode:N,treeForkCount:B}:(W.isBackwards=Z,W.rendering=null,W.renderingStartTime=0,W.last=X,W.tail=G,W.tailMode=N,W.treeForkCount=B)}function XH($,Z,G){var X=Z.pendingProps,N=X.revealOrder,B=X.tail,W=X.children,w=v1.current;if((X=(w&WZ)!==0)?(w=w&z9|WZ,Z.flags|=128):w&=z9,z0(v1,w,Z),w=N==null?"null":N,N!=="forwards"&&N!=="unstable_legacy-backwards"&&N!=="together"&&N!=="independent"&&!cW[w])if(cW[w]=!0,N==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(N==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof N==="string")switch(N.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',N,N.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',N,N.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',N)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',N);if(w=B==null?"null":B,!FJ[w])if(B==null){if(N==="forwards"||N==="backwards"||N==="unstable_legacy-backwards")FJ[w]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else B!=="visible"&&B!=="collapsed"&&B!=="hidden"?(FJ[w]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',B)):N!=="forwards"&&N!=="backwards"&&N!=="unstable_legacy-backwards"&&(FJ[w]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',B));$:if((N==="forwards"||N==="backwards"||N==="unstable_legacy-backwards")&&W!==void 0&&W!==null&&W!==!1)if(c1(W)){for(w=0;w<W.length;w++)if(!BB(W[w],w))break $}else if(w=p(W),typeof w==="function"){if(w=w.call(W))for(var V=w.next(),_=0;!V.done;V=w.next()){if(!BB(V.value,_))break $;_++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',N);if(Z5($,Z,W,G),p0?(w6(),W=$Z):W=0,!X&&$!==null&&($.flags&128)!==0)$:for($=Z.child;$!==null;){if($.tag===13)$.memoizedState!==null&&qH($,G,Z);else if($.tag===19)qH($,G,Z);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===Z)break $;for(;$.sibling===null;){if($.return===null||$.return===Z)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(N){case"forwards":G=Z.child;for(N=null;G!==null;)$=G.alternate,$!==null&&$G($)===null&&(N=G),G=G.sibling;G=N,G===null?(N=Z.child,Z.child=null):(N=G.sibling,G.sibling=null),LX(Z,!1,N,G,B,W);break;case"backwards":case"unstable_legacy-backwards":G=null,N=Z.child;for(Z.child=null;N!==null;){if($=N.alternate,$!==null&&$G($)===null){Z.child=N;break}$=N.sibling,N.sibling=G,G=N,N=$}LX(Z,!0,G,null,B,W);break;case"together":LX(Z,!1,null,null,void 0,W);break;default:Z.memoizedState=null}return Z.child}function v8($,Z,G){if($!==null&&(Z.dependencies=$.dependencies),V5=-1,l6|=Z.lanes,(G&Z.childLanes)===0)if($!==null){if(y$($,Z,G,!1),(G&Z.childLanes)===0)return null}else return null;if($!==null&&Z.child!==$.child)throw Error("Resuming work not yet implemented.");if(Z.child!==null){$=Z.child,G=O8($,$.pendingProps),Z.child=G;for(G.return=Z;$.sibling!==null;)$=$.sibling,G=G.sibling=O8($,$.pendingProps),G.return=Z;G.sibling=null}return Z.child}function _X($,Z){if(($.lanes&Z)!==0)return!0;return $=$.dependencies,$!==null&&pQ($)?!0:!1}function xL($,Z,G){switch(Z.tag){case 3:l(Z,Z.stateNode.containerInfo),R6(Z,y1,$.memoizedState.cache),k2();break;case 27:case 5:d0(Z);break;case 4:l(Z,Z.stateNode.containerInfo);break;case 10:R6(Z,Z.type,Z.memoizedProps.value);break;case 12:(G&Z.childLanes)!==0&&(Z.flags|=4),Z.flags|=2048;var X=Z.stateNode;X.effectDuration=-0,X.passiveEffectDuration=-0;break;case 31:if(Z.memoizedState!==null)return Z.flags|=128,g3(Z),null;break;case 13:if(X=Z.memoizedState,X!==null){if(X.dehydrated!==null)return _6(Z),Z.flags|=128,null;if((G&Z.child.childLanes)!==0)return JH($,Z,G);return _6(Z),$=v8($,Z,G),$!==null?$.sibling:null}_6(Z);break;case 19:var N=($.flags&128)!==0;if(X=(G&Z.childLanes)!==0,X||(y$($,Z,G,!1),X=(G&Z.childLanes)!==0),N){if(X)return XH($,Z,G);Z.flags|=128}if(N=Z.memoizedState,N!==null&&(N.rendering=null,N.tail=null,N.lastEffect=null),z0(v1,v1.current,Z),X)break;else return null;case 22:return Z.lanes=0,tB($,Z,G,Z.pendingProps);case 24:R6(Z,y1,$.memoizedState.cache)}return v8($,Z,G)}function PX($,Z,G){if(Z._debugNeedsRemount&&$!==null){G=z3(Z.type,Z.key,Z.pendingProps,Z._debugOwner||null,Z.mode,Z.lanes),G._debugStack=Z._debugStack,G._debugTask=Z._debugTask;var X=Z.return;if(X===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,Z.alternate=null,G.index=Z.index,G.sibling=Z.sibling,G.return=Z.return,G.ref=Z.ref,G._debugInfo=Z._debugInfo,Z===X.child)X.child=G;else{var N=X.child;if(N===null)throw Error("Expected parent to have a child.");for(;N.sibling!==Z;)if(N=N.sibling,N===null)throw Error("Expected to find the previous sibling.");N.sibling=G}return Z=X.deletions,Z===null?(X.deletions=[$],X.flags|=16):Z.push($),G.flags|=2,G}if($!==null)if($.memoizedProps!==Z.pendingProps||Z.type!==$.type)x1=!0;else{if(!_X($,G)&&(Z.flags&128)===0)return x1=!1,xL($,Z,G);x1=($.flags&131072)!==0?!0:!1}else{if(x1=!1,X=p0)w6(),X=(Z.flags&1048576)!==0;X&&(X=Z.index,w6(),lK(Z,$Z,X))}switch(Z.lanes=0,Z.tag){case 16:$:if(X=Z.pendingProps,$=z6(Z.elementType),Z.type=$,typeof $==="function")R3($)?(X=x2($,X),Z.tag=1,Z.type=$=A2($),Z=QH(null,Z,$,X,G)):(Z.tag=0,wX(Z,$),Z.type=$=A2($),Z=WX(null,Z,$,X,G));else{if($!==void 0&&$!==null){if(N=$.$$typeof,N===m7){Z.tag=11,Z.type=$=T3($),Z=oB(null,Z,$,X,G);break $}else if(N===yG){Z.tag=14,Z=iB(null,Z,$,X,G);break $}}throw Z="",$!==null&&typeof $==="object"&&$.$$typeof===a5&&(Z=" Did you wrap a component in React.lazy() more than once?"),G=a($)||$,Error("Element type is invalid. Received a promise that resolves to: "+G+". Lazy element type must resolve to a class or function."+Z)}return Z;case 0:return WX($,Z,Z.type,Z.pendingProps,G);case 1:return X=Z.type,N=x2(X,Z.pendingProps),QH($,Z,X,N,G);case 3:$:{if(l(Z,Z.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");X=Z.pendingProps;var B=Z.memoizedState;N=B.element,b3($,Z),L7(Z,X,null,G);var W=Z.memoizedState;if(X=W.cache,R6(Z,y1,X),X!==B.cache&&j3(Z,[y1],G,!0),V7(),X=W.element,B.isDehydrated)if(B={element:X,isDehydrated:!1,cache:W.cache},Z.updateQueue.baseState=B,Z.memoizedState=B,Z.flags&256){Z=GH($,Z,X,G);break $}else if(X!==N){N=l5(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),Z),F7(N),Z=GH($,Z,X,G);break $}else{switch($=Z.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}T1=i5($.firstChild),J5=Z,p0=!0,y6=null,H8=!1,$4=null,F4=!0,G=zW(Z,null,X,G);for(Z.child=G;G;)G.flags=G.flags&-3|4096,G=G.sibling}else{if(k2(),X===N){Z=v8($,Z,G);break $}Z5($,Z,X,G)}Z=Z.child}return Z;case 26:return WG($,Z),$===null?(G=SM(Z.type,null,Z.pendingProps,null))?Z.memoizedState=G:p0||(G=Z.type,$=Z.pendingProps,X=C0(D6.current),X=IG(X).createElement(G),X[G5]=Z,X[T5]=$,Q5(X,G,$),F0(X),Z.stateNode=X):Z.memoizedState=SM(Z.type,$.memoizedProps,Z.pendingProps,$.memoizedState),null;case 27:return d0(Z),$===null&&p0&&(X=C0(D6.current),N=K0(),X=Z.stateNode=DM(Z.type,Z.pendingProps,X,N,!1),H8||(N=TM(X,Z.type,Z.pendingProps,N),N!==null&&(v2(Z,0).serverProps=N)),J5=Z,F4=!0,N=T1,j6(Z.type)?(SU=N,T1=i5(X.firstChild)):T1=N),Z5($,Z,Z.pendingProps.children,G),WG($,Z),$===null&&(Z.flags|=4194304),Z.child;case 5:return $===null&&p0&&(B=K0(),X=N3(Z.type,B.ancestorInfo),N=T1,(W=!N)||(W=j_(N,Z.type,Z.pendingProps,F4),W!==null?(Z.stateNode=W,H8||(B=TM(W,Z.type,Z.pendingProps,B),B!==null&&(v2(Z,0).serverProps=B)),J5=Z,T1=i5(W.firstChild),F4=!1,B=!0):B=!1,W=!B),W&&(X&&mQ(Z,N),T6(Z))),d0(Z),N=Z.type,B=Z.pendingProps,W=$!==null?$.memoizedProps:null,X=B.children,nX(N,B)?X=null:W!==null&&nX(N,W)&&(Z.flags|=32),Z.memoizedState!==null&&(N=x3($,Z,SL,null,null,G),kZ._currentValue=N),WG($,Z),Z5($,Z,X,G),Z.child;case 6:return $===null&&p0&&(G=Z.pendingProps,$=K0(),X=$.ancestorInfo.current,G=X!=null?SQ(G,X.tag,$.ancestorInfo.implicitRootScope):!0,$=T1,(X=!$)||(X=O_($,Z.pendingProps,F4),X!==null?(Z.stateNode=X,J5=Z,T1=null,X=!0):X=!1,X=!X),X&&(G&&mQ(Z,$),T6(Z))),null;case 13:return JH($,Z,G);case 4:return l(Z,Z.stateNode.containerInfo),X=Z.pendingProps,$===null?Z.child=t2(Z,null,X,G):Z5($,Z,X,G),Z.child;case 11:return oB($,Z,Z.type,Z.pendingProps,G);case 7:return Z5($,Z,Z.pendingProps,G),Z.child;case 8:return Z5($,Z,Z.pendingProps.children,G),Z.child;case 12:return Z.flags|=4,Z.flags|=2048,X=Z.stateNode,X.effectDuration=-0,X.passiveEffectDuration=-0,Z5($,Z,Z.pendingProps.children,G),Z.child;case 10:return X=Z.type,N=Z.pendingProps,B=N.value,"value"in N||lW||(lW=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),R6(Z,X,B),Z5($,Z,N.children,G),Z.child;case 9:return N=Z.type._context,X=Z.pendingProps.children,typeof X!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),b2(Z),N=V1(N),X=oY(X,N,void 0),Z.flags|=1,Z5($,Z,X,G),Z.child;case 14:return iB($,Z,Z.type,Z.pendingProps,G);case 15:return aB($,Z,Z.type,Z.pendingProps,G);case 19:return XH($,Z,G);case 31:return hL($,Z,G);case 22:return tB($,Z,G,Z.pendingProps);case 24:return b2(Z),X=V1(y1),$===null?(N=S3(),N===null&&(N=K1,B=O3(),N.pooledCache=B,f2(B),B!==null&&(N.pooledCacheLanes|=G),N=B),Z.memoizedState={parent:X,cache:N},k3(Z),R6(Z,y1,N)):(($.lanes&G)!==0&&(b3($,Z),L7(Z,null,null,G),V7()),N=$.memoizedState,B=Z.memoizedState,N.parent!==X?(N={parent:X,cache:X},Z.memoizedState=N,Z.lanes===0&&(Z.memoizedState=Z.updateQueue.baseState=N),R6(Z,y1,X)):(X=B.cache,R6(Z,y1,X),X!==N.cache&&j3(Z,[y1],G,!0))),Z5($,Z,Z.pendingProps.children,G),Z.child;case 29:throw Z.pendingProps}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function k8($){$.flags|=4}function EX($,Z,G,X,N){if(Z=($.mode&qE)!==V0)Z=!1;if(Z){if($.flags|=16777216,(N&335544128)===N)if($.stateNode.complete)$.flags|=8192;else if(xH())$.flags|=8192;else throw a2=UJ,aY}else $.flags&=-16777217}function YH($,Z){if(Z.type!=="stylesheet"||(Z.state.loading&z4)!==N$)$.flags&=-16777217;else if($.flags|=16777216,!yM(Z))if(xH())$.flags|=8192;else throw a2=UJ,aY}function TG($,Z){Z!==null&&($.flags|=4),$.flags&16384&&(Z=$.tag!==22?A$():536870912,$.lanes|=Z,G$|=Z)}function I7($,Z){if(!p0)switch($.tailMode){case"hidden":Z=$.tail;for(var G=null;Z!==null;)Z.alternate!==null&&(G=Z),Z=Z.sibling;G===null?$.tail=null:G.sibling=null;break;case"collapsed":G=$.tail;for(var X=null;G!==null;)G.alternate!==null&&(X=G),G=G.sibling;X===null?Z||$.tail===null?$.tail=null:$.tail.sibling=null:X.sibling=null}}function M1($){var Z=$.alternate!==null&&$.alternate.child===$.child,G=0,X=0;if(Z)if(($.mode&D0)!==V0){for(var{selfBaseDuration:N,child:B}=$;B!==null;)G|=B.lanes|B.childLanes,X|=B.subtreeFlags&65011712,X|=B.flags&65011712,N+=B.treeBaseDuration,B=B.sibling;$.treeBaseDuration=N}else for(N=$.child;N!==null;)G|=N.lanes|N.childLanes,X|=N.subtreeFlags&65011712,X|=N.flags&65011712,N.return=$,N=N.sibling;else if(($.mode&D0)!==V0){N=$.actualDuration,B=$.selfBaseDuration;for(var W=$.child;W!==null;)G|=W.lanes|W.childLanes,X|=W.subtreeFlags,X|=W.flags,N+=W.actualDuration,B+=W.treeBaseDuration,W=W.sibling;$.actualDuration=N,$.treeBaseDuration=B}else for(N=$.child;N!==null;)G|=N.lanes|N.childLanes,X|=N.subtreeFlags,X|=N.flags,N.return=$,N=N.sibling;return $.subtreeFlags|=X,$.childLanes=G,Z}function uL($,Z,G){var X=Z.pendingProps;switch(P3(Z),Z.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return M1(Z),null;case 1:return M1(Z),null;case 3:if(G=Z.stateNode,X=null,$!==null&&(X=$.memoizedState.cache),Z.memoizedState.cache!==X&&(Z.flags|=2048),A8(y1,Z),J0(Z),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),$===null||$.child===null)f$(Z)?(C3(),k8(Z)):$===null||$.memoizedState.isDehydrated&&(Z.flags&256)===0||(Z.flags|=1024,E3());return M1(Z),null;case 26:var{type:N,memoizedState:B}=Z;return $===null?(k8(Z),B!==null?(M1(Z),YH(Z,B)):(M1(Z),EX(Z,N,null,X,G))):B?B!==$.memoizedState?(k8(Z),M1(Z),YH(Z,B)):(M1(Z),Z.flags&=-16777217):($=$.memoizedProps,$!==X&&k8(Z),M1(Z),EX(Z,N,$,X,G)),null;case 27:if(k0(Z),G=C0(D6.current),N=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&k8(Z);else{if(!X){if(Z.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return M1(Z),null}$=K0(),f$(Z)?oK(Z,$):($=DM(N,X,G,$,!0),Z.stateNode=$,k8(Z))}return M1(Z),null;case 5:if(k0(Z),N=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&k8(Z);else{if(!X){if(Z.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return M1(Z),null}var W=K0();if(f$(Z))oK(Z,W);else{switch(B=C0(D6.current),N3(N,W.ancestorInfo),W=W.context,B=IG(B),W){case S9:B=B.createElementNS(Z9,N);break;case bJ:B=B.createElementNS(pG,N);break;default:switch(N){case"svg":B=B.createElementNS(Z9,N);break;case"math":B=B.createElementNS(pG,N);break;case"script":B=B.createElement("div"),B.innerHTML="<script></script>",B=B.removeChild(B.firstChild);break;case"select":B=typeof X.is==="string"?B.createElement("select",{is:X.is}):B.createElement("select"),X.multiple?B.multiple=!0:X.size&&(B.size=X.size);break;default:B=typeof X.is==="string"?B.createElement(N,{is:X.is}):B.createElement(N),N.indexOf("-")===-1&&(N!==N.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",N),Object.prototype.toString.call(B)!=="[object HTMLUnknownElement]"||O4.call(Ww,N)||(Ww[N]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",N)))}}B[G5]=Z,B[T5]=X;$:for(W=Z.child;W!==null;){if(W.tag===5||W.tag===6)B.appendChild(W.stateNode);else if(W.tag!==4&&W.tag!==27&&W.child!==null){W.child.return=W,W=W.child;continue}if(W===Z)break $;for(;W.sibling===null;){if(W.return===null||W.return===Z)break $;W=W.return}W.sibling.return=W.return,W=W.sibling}Z.stateNode=B;$:switch(Q5(B,N,X),N){case"button":case"input":case"select":case"textarea":X=!!X.autoFocus;break $;case"img":X=!0;break $;default:X=!1}X&&k8(Z)}}return M1(Z),EX(Z,Z.type,$===null?null:$.memoizedProps,Z.pendingProps,G),null;case 6:if($&&Z.stateNode!=null)$.memoizedProps!==X&&k8(Z);else{if(typeof X!=="string"&&Z.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if($=C0(D6.current),G=K0(),f$(Z)){if($=Z.stateNode,G=Z.memoizedProps,N=!H8,X=null,B=J5,B!==null)switch(B.tag){case 3:N&&(N=jM($,G,X),N!==null&&(v2(Z,0).serverProps=N));break;case 27:case 5:X=B.memoizedProps,N&&(N=jM($,G,X),N!==null&&(v2(Z,0).serverProps=N))}$[G5]=Z,$=$.nodeValue===G||X!==null&&X.suppressHydrationWarning===!0||HM($.nodeValue,G)?!0:!1,$||T6(Z,!0)}else N=G.ancestorInfo.current,N!=null&&SQ(X,N.tag,G.ancestorInfo.implicitRootScope),$=IG($).createTextNode(X),$[G5]=Z,Z.stateNode=$}return M1(Z),null;case 31:if(G=Z.memoizedState,$===null||$.memoizedState!==null){if(X=f$(Z),G!==null){if($===null){if(!X)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=Z.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[G5]=Z,M1(Z),(Z.mode&D0)!==V0&&G!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration))}else C3(),k2(),(Z.flags&128)===0&&(G=Z.memoizedState=null),Z.flags|=4,M1(Z),(Z.mode&D0)!==V0&&G!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration));$=!1}else G=E3(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=G),$=!0;if(!$){if(Z.flags&256)return n5(Z),Z;return n5(Z),null}if((Z.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return M1(Z),null;case 13:if(X=Z.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(N=X,B=f$(Z),N!==null&&N.dehydrated!==null){if($===null){if(!B)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(B=Z.memoizedState,B=B!==null?B.dehydrated:null,!B)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");B[G5]=Z,M1(Z),(Z.mode&D0)!==V0&&N!==null&&(N=Z.child,N!==null&&(Z.treeBaseDuration-=N.treeBaseDuration))}else C3(),k2(),(Z.flags&128)===0&&(N=Z.memoizedState=null),Z.flags|=4,M1(Z),(Z.mode&D0)!==V0&&N!==null&&(N=Z.child,N!==null&&(Z.treeBaseDuration-=N.treeBaseDuration));N=!1}else N=E3(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=N),N=!0;if(!N){if(Z.flags&256)return n5(Z),Z;return n5(Z),null}}if(n5(Z),(Z.flags&128)!==0)return Z.lanes=G,(Z.mode&D0)!==V0&&T7(Z),Z;return G=X!==null,$=$!==null&&$.memoizedState!==null,G&&(X=Z.child,N=null,X.alternate!==null&&X.alternate.memoizedState!==null&&X.alternate.memoizedState.cachePool!==null&&(N=X.alternate.memoizedState.cachePool.pool),B=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(B=X.memoizedState.cachePool.pool),B!==N&&(X.flags|=2048)),G!==$&&G&&(Z.child.flags|=8192),TG(Z,Z.updateQueue),M1(Z),(Z.mode&D0)!==V0&&G&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return J0(Z),$===null&&mX(Z.stateNode.containerInfo),M1(Z),null;case 10:return A8(Z.type,Z),M1(Z),null;case 19:if(w0(v1,Z),X=Z.memoizedState,X===null)return M1(Z),null;if(N=(Z.flags&128)!==0,B=X.rendering,B===null)if(N)I7(X,!1);else{if(P1!==n8||$!==null&&($.flags&128)!==0)for($=Z.child;$!==null;){if(B=$G($),B!==null){Z.flags|=128,I7(X,!1),$=B.updateQueue,Z.updateQueue=$,TG(Z,$),Z.subtreeFlags=0,$=G;for(G=Z.child;G!==null;)pK(G,$),G=G.sibling;return z0(v1,v1.current&z9|WZ,Z),p0&&D8(Z,X.treeForkCount),Z.child}$=$.sibling}X.tail!==null&&o1()>LJ&&(Z.flags|=128,N=!0,I7(X,!1),Z.lanes=4194304)}else{if(!N)if($=$G(B),$!==null){if(Z.flags|=128,N=!0,$=$.updateQueue,Z.updateQueue=$,TG(Z,$),I7(X,!0),X.tail===null&&X.tailMode==="hidden"&&!B.alternate&&!p0)return M1(Z),null}else 2*o1()-X.renderingStartTime>LJ&&G!==536870912&&(Z.flags|=128,N=!0,I7(X,!1),Z.lanes=4194304);X.isBackwards?(B.sibling=Z.child,Z.child=B):($=X.last,$!==null?$.sibling=B:Z.child=B,X.last=B)}if(X.tail!==null)return $=X.tail,X.rendering=$,X.tail=$.sibling,X.renderingStartTime=o1(),$.sibling=null,G=v1.current,G=N?G&z9|WZ:G&z9,z0(v1,G,Z),p0&&D8(Z,X.treeForkCount),$;return M1(Z),null;case 22:case 23:return n5(Z),y3(Z),X=Z.memoizedState!==null,$!==null?$.memoizedState!==null!==X&&(Z.flags|=8192):X&&(Z.flags|=8192),X?(G&536870912)!==0&&(Z.flags&128)===0&&(M1(Z),Z.subtreeFlags&6&&(Z.flags|=8192)):M1(Z),G=Z.updateQueue,G!==null&&TG(Z,G.retryQueue),G=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(G=$.memoizedState.cachePool.pool),X=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(X=Z.memoizedState.cachePool.pool),X!==G&&(Z.flags|=2048),$!==null&&w0(o2,Z),null;case 24:return G=null,$!==null&&(G=$.memoizedState.cache),Z.memoizedState.cache!==G&&(Z.flags|=2048),A8(y1,Z),M1(Z),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function mL($,Z){switch(P3(Z),Z.tag){case 1:return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&D0)!==V0&&T7(Z),Z):null;case 3:return A8(y1,Z),J0(Z),$=Z.flags,($&65536)!==0&&($&128)===0?(Z.flags=$&-65537|128,Z):null;case 26:case 27:case 5:return k0(Z),null;case 31:if(Z.memoizedState!==null){if(n5(Z),Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");k2()}return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&D0)!==V0&&T7(Z),Z):null;case 13:if(n5(Z),$=Z.memoizedState,$!==null&&$.dehydrated!==null){if(Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");k2()}return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&D0)!==V0&&T7(Z),Z):null;case 19:return w0(v1,Z),null;case 4:return J0(Z),null;case 10:return A8(Z.type,Z),null;case 22:case 23:return n5(Z),y3(Z),$!==null&&w0(o2,Z),$=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&D0)!==V0&&T7(Z),Z):null;case 24:return A8(y1,Z),null;case 25:return null;default:return null}}function UH($,Z){switch(P3(Z),Z.tag){case 3:A8(y1,Z),J0(Z);break;case 26:case 27:case 5:k0(Z);break;case 4:J0(Z);break;case 31:Z.memoizedState!==null&&n5(Z);break;case 13:n5(Z);break;case 19:w0(v1,Z);break;case 10:A8(Z.type,Z);break;case 22:case 23:n5(Z),y3(Z),$!==null&&w0(o2,Z);break;case 24:A8(y1,Z)}}function e4($){return($.mode&D0)!==V0}function NH($,Z){e4($)?(t4(),j7(Z,$),a4()):j7(Z,$)}function CX($,Z,G){e4($)?(t4(),m$(G,$,Z),a4()):m$(G,$,Z)}function j7($,Z){try{var G=Z.updateQueue,X=G!==null?G.lastEffect:null;if(X!==null){var N=X.next;G=N;do{if((G.tag&$)===$&&(X=void 0,($&L5)!==KJ&&(O9=!0),X=G0(Z,KE,G),($&L5)!==KJ&&(O9=!1),X!==void 0&&typeof X!=="function")){var B=void 0;B=(G.tag&Q4)!==0?"useLayoutEffect":(G.tag&L5)!==0?"useInsertionEffect":"useEffect";var W=void 0;W=X===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof X.then==="function"?`
|
|
136
|
+
https://react.dev/link/unsafe-component-lifecycles`,B,_,F!==null?`
|
|
137
|
+
`+F:"",T!==null?`
|
|
138
|
+
`+T:"",V!==null?`
|
|
139
|
+
`+V:""))}}B=Q.stateNode,F=a(G)||"Component",B.render||(G.prototype&&typeof G.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",F):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",F)),!B.getInitialState||B.getInitialState.isReactClassApproved||B.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",F),B.getDefaultProps&&!B.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",F),B.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",F),G.childContextTypes&&!uF.has(G)&&(uF.add(G),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",F)),G.contextTypes&&!xF.has(G)&&(xF.add(G),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",F)),typeof B.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",F),G.prototype&&G.prototype.isPureReactComponent&&typeof B.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",a(G)||"A pure component"),typeof B.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",F),typeof B.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",F),typeof B.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",F),typeof B.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",F),T=B.props!==X,B.props!==void 0&&T&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",F),B.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",F,F),typeof B.getSnapshotBeforeUpdate!=="function"||typeof B.componentDidUpdate==="function"||yF.has(G)||(yF.add(G),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",a(G))),typeof B.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",F),typeof B.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",F),typeof G.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",F),(T=B.state)&&(typeof T!=="object"||c1(T))&&console.error("%s.state: must be set to an object or null",F),typeof B.getChildContext==="function"&&typeof G.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",F),B=Q.stateNode,B.props=X,B.state=Q.memoizedState,B.refs={},gX(Q),F=G.contextType,B.context=typeof F==="object"&&F!==null?V1(F):u8,B.state===X&&(F=a(G)||"Component",gF.has(F)||(gF.add(F),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",F))),Q.mode&W5&&k4.recordLegacyContextWarning(Q,B),k4.recordUnsafeLifecycleWarnings(Q,B),B.state=Q.memoizedState,F=G.getDerivedStateFromProps,typeof F==="function"&&(F3(Q,G,F,X),B.state=Q.memoizedState),typeof G.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"||typeof B.UNSAFE_componentWillMount!=="function"&&typeof B.componentWillMount!=="function"||(F=B.state,typeof B.componentWillMount==="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount==="function"&&B.UNSAFE_componentWillMount(),F!==B.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d(Q)||"Component"),NU.enqueueReplaceState(B,B.state,null)),_Q(Q,X,B,N),LQ(),B.state=Q.memoizedState),typeof B.componentDidMount==="function"&&(Q.flags|=4194308),(Q.mode&v4)!==V0&&(Q.flags|=134217728),B=!0}else if($===null){B=Q.stateNode;var k=Q.memoizedProps;T=m6(G,k),B.props=T;var b=B.context;V=G.contextType,F=u8,typeof V==="object"&&V!==null&&(F=V1(V)),_=G.getDerivedStateFromProps,V=typeof _==="function"||typeof B.getSnapshotBeforeUpdate==="function",k=Q.pendingProps!==k,V||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(k||b!==F)&&sB(Q,B,X,F),s8=!1;var O=Q.memoizedState;B.state=O,_Q(Q,X,B,N),LQ(),b=Q.memoizedState,k||O!==b||s8?(typeof _==="function"&&(F3(Q,G,_,X),b=Q.memoizedState),(T=s8||rB(Q,G,T,X,O,b,F))?(V||typeof B.UNSAFE_componentWillMount!=="function"&&typeof B.componentWillMount!=="function"||(typeof B.componentWillMount==="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount==="function"&&B.UNSAFE_componentWillMount()),typeof B.componentDidMount==="function"&&(Q.flags|=4194308),(Q.mode&v4)!==V0&&(Q.flags|=134217728)):(typeof B.componentDidMount==="function"&&(Q.flags|=4194308),(Q.mode&v4)!==V0&&(Q.flags|=134217728),Q.memoizedProps=X,Q.memoizedState=b),B.props=X,B.state=b,B.context=F,B=T):(typeof B.componentDidMount==="function"&&(Q.flags|=4194308),(Q.mode&v4)!==V0&&(Q.flags|=134217728),B=!1)}else{B=Q.stateNode,hX($,Q),F=Q.memoizedProps,V=m6(G,F),B.props=V,_=Q.pendingProps,O=B.context,b=G.contextType,T=u8,typeof b==="object"&&b!==null&&(T=V1(b)),k=G.getDerivedStateFromProps,(b=typeof k==="function"||typeof B.getSnapshotBeforeUpdate==="function")||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(F!==_||O!==T)&&sB(Q,B,X,T),s8=!1,O=Q.memoizedState,B.state=O,_Q(Q,X,B,N),LQ();var f=Q.memoizedState;F!==_||O!==f||s8||$!==null&&$.dependencies!==null&&sJ($.dependencies)?(typeof k==="function"&&(F3(Q,G,k,X),f=Q.memoizedState),(V=s8||rB(Q,G,V,X,O,f,T)||$!==null&&$.dependencies!==null&&sJ($.dependencies))?(b||typeof B.UNSAFE_componentWillUpdate!=="function"&&typeof B.componentWillUpdate!=="function"||(typeof B.componentWillUpdate==="function"&&B.componentWillUpdate(X,f,T),typeof B.UNSAFE_componentWillUpdate==="function"&&B.UNSAFE_componentWillUpdate(X,f,T)),typeof B.componentDidUpdate==="function"&&(Q.flags|=4),typeof B.getSnapshotBeforeUpdate==="function"&&(Q.flags|=1024)):(typeof B.componentDidUpdate!=="function"||F===$.memoizedProps&&O===$.memoizedState||(Q.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||F===$.memoizedProps&&O===$.memoizedState||(Q.flags|=1024),Q.memoizedProps=X,Q.memoizedState=f),B.props=X,B.state=f,B.context=T,B=V):(typeof B.componentDidUpdate!=="function"||F===$.memoizedProps&&O===$.memoizedState||(Q.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||F===$.memoizedProps&&O===$.memoizedState||(Q.flags|=1024),B=!1)}if(T=B,zG($,Q),F=(Q.flags&128)!==0,T||F){if(T=Q.stateNode,A7(Q),F&&typeof G.getDerivedStateFromError!=="function")G=null,_5=-1;else if(G=UF(T),Q.mode&W5){B1(!0);try{UF(T)}finally{B1(!1)}}Q.flags|=1,$!==null&&F?(Q.child=$7(Q,$.child,null,N),Q.child=$7(Q,null,G,N)):Z5($,Q,G,N),Q.memoizedState=T.state,$=Q.child}else $=y$($,Q,N);return N=Q.stateNode,B&&N.props!==X&&(E9||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",d(Q)||"a component"),E9=!0),$}function XH($,Q,G,X){return y6(),Q.flags|=256,Z5($,Q,G,X),Q.child}function V3($,Q){Q&&Q.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
+
%s.childContextTypes = ...`,Q.displayName||Q.name||"Component"),typeof Q.getDerivedStateFromProps==="function"&&($=a(Q)||"Unknown",rF[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),rF[$]=!0)),typeof Q.contextType==="object"&&Q.contextType!==null&&(Q=a(Q)||"Unknown",cF[Q]||(console.error("%s: Function components do not support contextType.",Q),cF[Q]=!0))}function L3($){return{baseLanes:$,cachePool:GB()}}function _3($,Q,G){return $=$!==null?$.childLanes&~G:0,Q&&($|=b5),$}function YH($,Q,G){var X,N=Q.pendingProps;K(Q)&&(Q.flags|=128);var B=!1,F=(Q.flags&128)!==0;if((X=F)||(X=$!==null&&$.memoizedState===null?!1:(v1.current&TZ)!==0),X&&(B=!0,Q.flags&=-129),X=(Q.flags&32)!==0,Q.flags&=-33,$===null){if(m0){if(B?j8(Q):O8(Q),($=R1)?(G=OM($,T4),G=G!==null&&G.data!==U7?G:null,G!==null&&(X={dehydrated:G,treeContext:oK(),retryLane:536870912,hydrationErrors:null},Q.memoizedState=X,X=sK(G),X.return=Q,Q.child=X,q5=Q,R1=null)):G=null,G===null)throw lJ(Q,$),_8(Q);return QY(G)?Q.lanes=32:Q.lanes=536870912,null}var T=N.children;if(N=N.fallback,B){O8(Q);var V=Q.mode;return T=VG({mode:"hidden",children:T},V),N=k6(N,V,G,null),T.return=Q,N.return=Q,T.sibling=N,Q.child=T,N=Q.child,N.memoizedState=L3(G),N.childLanes=_3($,X,G),Q.memoizedState=HU,IQ(null,N)}return j8(Q),C3(Q,T)}var _=$.memoizedState;if(_!==null){var k=_.dehydrated;if(k!==null){if(F)Q.flags&256?(j8(Q),Q.flags&=-257,Q=P3($,Q,G)):Q.memoizedState!==null?(O8(Q),Q.child=$.child,Q.flags|=128,Q=null):(O8(Q),T=N.fallback,V=Q.mode,N=VG({mode:"visible",children:N.children},V),T=k6(T,V,G,null),T.flags|=2,N.return=Q,T.return=Q,N.sibling=T,Q.child=N,$7(Q,$.child,null,G),N=Q.child,N.memoizedState=L3(G),N.childLanes=_3($,X,G),Q.memoizedState=HU,Q=IQ(null,N));else if(j8(Q),aK(),(G&536870912)!==0&&EG(Q),QY(k)){if(X=k.nextSibling&&k.nextSibling.dataset,X){T=X.dgst;var b=X.msg;V=X.stck;var O=X.cstck}B=b,X=T,N=V,k=O,T=B,V=k,T=T?Error(T):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),T.stack=N||"",T.digest=X,X=V===void 0?null:V,N={value:T,source:null,stack:X},typeof X==="string"&&lY.set(T,N),FQ(N),Q=P3($,Q,G)}else if(x1||h7($,Q,G,!1),X=(G&$.childLanes)!==0,x1||X){if(X=N1,X!==null&&(N=j6(X,G),N!==0&&N!==_.retryLane))throw _.retryLane=N,H5($,N),I1(X,$,N),BU;$Y(k)||IG(),Q=P3($,Q,G)}else $Y(k)?(Q.flags|=192,Q.child=$.child,Q=null):($=_.treeContext,R1=t5(k.nextSibling),q5=Q,m0=!0,m8=null,W$=!1,Z4=null,T4=!1,$!==null&&iK(Q,$),Q=C3(Q,N.children),Q.flags|=4096);return Q}}if(B)return O8(Q),T=N.fallback,V=Q.mode,O=$.child,k=O.sibling,N=S$(O,{mode:"hidden",children:N.children}),N.subtreeFlags=O.subtreeFlags&65011712,k!==null?T=S$(k,T):(T=k6(T,V,G,null),T.flags|=2),T.return=Q,N.return=Q,N.sibling=T,Q.child=N,IQ(null,N),N=Q.child,T=$.child.memoizedState,T===null?T=L3(G):(V=T.cachePool,V!==null?(O=f1._currentValue,V=V.parent!==O?{parent:O,pool:O}:V):V=GB(),T={baseLanes:T.baseLanes|G,cachePool:V}),N.memoizedState=T,N.childLanes=_3($,X,G),Q.memoizedState=HU,IQ($.child,N);return _!==null&&(G&62914560)===G&&(G&$.lanes)!==0&&EG(Q),j8(Q),G=$.child,$=G.sibling,G=S$(G,{mode:"visible",children:N.children}),G.return=Q,G.sibling=null,$!==null&&(X=Q.deletions,X===null?(Q.deletions=[$],Q.flags|=16):X.push($)),Q.child=G,Q.memoizedState=null,G}function C3($,Q){return Q=VG({mode:"visible",children:Q},$.mode),Q.return=$,$.child=Q}function VG($,Q){return $=L(22,$,null,Q),$.lanes=0,$}function P3($,Q,G){return $7(Q,$.child,null,G),$=C3(Q,Q.pendingProps.children),$.flags|=2,Q.memoizedState=null,$}function UH($,Q,G){$.lanes|=Q;var X=$.alternate;X!==null&&(X.lanes|=Q),AX($.return,Q,G)}function E3($,Q,G,X,N,B){var F=$.memoizedState;F===null?$.memoizedState={isBackwards:Q,rendering:null,renderingStartTime:0,last:X,tail:G,tailMode:N,treeForkCount:B}:(F.isBackwards=Q,F.rendering=null,F.renderingStartTime=0,F.last=X,F.tail=G,F.tailMode=N,F.treeForkCount=B)}function NH($,Q,G){var X=Q.pendingProps,N=X.revealOrder,B=X.tail,F=X.children,T=v1.current;if((X=(T&TZ)!==0)?(T=T&L9|TZ,Q.flags|=128):T&=L9,z0(v1,T,Q),T=N==null?"null":N,N!=="forwards"&&N!=="unstable_legacy-backwards"&&N!=="together"&&N!=="independent"&&!sF[T])if(sF[T]=!0,N==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(N==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof N==="string")switch(N.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',N,N.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',N,N.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',N)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',N);if(T=B==null?"null":B,!wq[T])if(B==null){if(N==="forwards"||N==="backwards"||N==="unstable_legacy-backwards")wq[T]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else B!=="visible"&&B!=="collapsed"&&B!=="hidden"?(wq[T]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',B)):N!=="forwards"&&N!=="backwards"&&N!=="unstable_legacy-backwards"&&(wq[T]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',B));$:if((N==="forwards"||N==="backwards"||N==="unstable_legacy-backwards")&&F!==void 0&&F!==null&&F!==!1)if(c1(F)){for(T=0;T<F.length;T++)if(!WB(F[T],T))break $}else if(T=p(F),typeof T==="function"){if(T=T.call(F))for(var V=T.next(),_=0;!V.done;V=T.next()){if(!WB(V.value,_))break $;_++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',N);if(Z5($,Q,F,G),m0?(L8(),F=QZ):F=0,!X&&$!==null&&($.flags&128)!==0)$:for($=Q.child;$!==null;){if($.tag===13)$.memoizedState!==null&&UH($,G,Q);else if($.tag===19)UH($,G,Q);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===Q)break $;for(;$.sibling===null;){if($.return===null||$.return===Q)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(N){case"forwards":G=Q.child;for(N=null;G!==null;)$=G.alternate,$!==null&&GG($)===null&&(N=G),G=G.sibling;G=N,G===null?(N=Q.child,Q.child=null):(N=G.sibling,G.sibling=null),E3(Q,!1,N,G,B,F);break;case"backwards":case"unstable_legacy-backwards":G=null,N=Q.child;for(Q.child=null;N!==null;){if($=N.alternate,$!==null&&GG($)===null){Q.child=N;break}$=N.sibling,N.sibling=G,G=N,N=$}E3(Q,!0,G,null,B,F);break;case"together":E3(Q,!1,null,null,void 0,F);break;default:Q.memoizedState=null}return Q.child}function y$($,Q,G){if($!==null&&(Q.dependencies=$.dependencies),_5=-1,i8|=Q.lanes,(G&Q.childLanes)===0)if($!==null){if(h7($,Q,G,!1),(G&Q.childLanes)===0)return null}else return null;if($!==null&&Q.child!==$.child)throw Error("Resuming work not yet implemented.");if(Q.child!==null){$=Q.child,G=S$($,$.pendingProps),Q.child=G;for(G.return=Q;$.sibling!==null;)$=$.sibling,G=G.sibling=S$($,$.pendingProps),G.return=Q;G.sibling=null}return Q.child}function I3($,Q){if(($.lanes&Q)!==0)return!0;return $=$.dependencies,$!==null&&sJ($)?!0:!1}function uL($,Q,G){switch(Q.tag){case 3:r(Q,Q.stateNode.containerInfo),C8(Q,f1,$.memoizedState.cache),y6();break;case 27:case 5:u0(Q);break;case 4:r(Q,Q.stateNode.containerInfo);break;case 10:C8(Q,Q.type,Q.memoizedProps.value);break;case 12:(G&Q.childLanes)!==0&&(Q.flags|=4),Q.flags|=2048;var X=Q.stateNode;X.effectDuration=-0,X.passiveEffectDuration=-0;break;case 31:if(Q.memoizedState!==null)return Q.flags|=128,mX(Q),null;break;case 13:if(X=Q.memoizedState,X!==null){if(X.dehydrated!==null)return j8(Q),Q.flags|=128,null;if((G&Q.child.childLanes)!==0)return YH($,Q,G);return j8(Q),$=y$($,Q,G),$!==null?$.sibling:null}j8(Q);break;case 19:var N=($.flags&128)!==0;if(X=(G&Q.childLanes)!==0,X||(h7($,Q,G,!1),X=(G&Q.childLanes)!==0),N){if(X)return NH($,Q,G);Q.flags|=128}if(N=Q.memoizedState,N!==null&&(N.rendering=null,N.tail=null,N.lastEffect=null),z0(v1,v1.current,Q),X)break;else return null;case 22:return Q.lanes=0,QH($,Q,G,Q.pendingProps);case 24:C8(Q,f1,$.memoizedState.cache)}return y$($,Q,G)}function j3($,Q,G){if(Q._debugNeedsRemount&&$!==null){G=CX(Q.type,Q.key,Q.pendingProps,Q._debugOwner||null,Q.mode,Q.lanes),G._debugStack=Q._debugStack,G._debugTask=Q._debugTask;var X=Q.return;if(X===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,Q.alternate=null,G.index=Q.index,G.sibling=Q.sibling,G.return=Q.return,G.ref=Q.ref,G._debugInfo=Q._debugInfo,Q===X.child)X.child=G;else{var N=X.child;if(N===null)throw Error("Expected parent to have a child.");for(;N.sibling!==Q;)if(N=N.sibling,N===null)throw Error("Expected to find the previous sibling.");N.sibling=G}return Q=X.deletions,Q===null?(X.deletions=[$],X.flags|=16):Q.push($),G.flags|=2,G}if($!==null)if($.memoizedProps!==Q.pendingProps||Q.type!==$.type)x1=!0;else{if(!I3($,G)&&(Q.flags&128)===0)return x1=!1,uL($,Q,G);x1=($.flags&131072)!==0?!0:!1}else{if(x1=!1,X=m0)L8(),X=(Q.flags&1048576)!==0;X&&(X=Q.index,L8(),nK(Q,QZ,X))}switch(Q.lanes=0,Q.tag){case 16:$:if(X=Q.pendingProps,$=P8(Q.elementType),Q.type=$,typeof $==="function")_X($)?(X=m6($,X),Q.tag=1,Q.type=$=v6($),Q=qH(null,Q,$,X,G)):(Q.tag=0,V3(Q,$),Q.type=$=v6($),Q=z3(null,Q,$,X,G));else{if($!==void 0&&$!==null){if(N=$.$$typeof,N===dQ){Q.tag=11,Q.type=$=LX($),Q=tB(null,Q,$,X,G);break $}else if(N===uG){Q.tag=14,Q=eB(null,Q,$,X,G);break $}}throw Q="",$!==null&&typeof $==="object"&&$.$$typeof===e5&&(Q=" Did you wrap a component in React.lazy() more than once?"),G=a($)||$,Error("Element type is invalid. Received a promise that resolves to: "+G+". Lazy element type must resolve to a class or function."+Q)}return Q;case 0:return z3($,Q,Q.type,Q.pendingProps,G);case 1:return X=Q.type,N=m6(X,Q.pendingProps),qH($,Q,X,N,G);case 3:$:{if(r(Q,Q.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");X=Q.pendingProps;var B=Q.memoizedState;N=B.element,hX($,Q),_Q(Q,X,null,G);var F=Q.memoizedState;if(X=F.cache,C8(Q,f1,X),X!==B.cache&&SX(Q,[f1],G,!0),LQ(),X=F.element,B.isDehydrated)if(B={element:X,isDehydrated:!1,cache:F.cache},Q.updateQueue.baseState=B,Q.memoizedState=B,Q.flags&256){Q=XH($,Q,X,G);break $}else if(X!==N){N=s5(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),Q),FQ(N),Q=XH($,Q,X,G);break $}else{switch($=Q.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}R1=t5($.firstChild),q5=Q,m0=!0,m8=null,W$=!1,Z4=null,T4=!0,G=_F(Q,null,X,G);for(Q.child=G;G;)G.flags=G.flags&-3|4096,G=G.sibling}else{if(y6(),X===N){Q=y$($,Q,G);break $}Z5($,Q,X,G)}Q=Q.child}return Q;case 26:return zG($,Q),$===null?(G=bM(Q.type,null,Q.pendingProps,null))?Q.memoizedState=G:m0||(G=Q.type,$=Q.pendingProps,X=F1(b8.current),X=AG(X).createElement(G),X[G5]=Q,X[z5]=$,J5(X,G,$),F0(X),Q.stateNode=X):Q.memoizedState=bM(Q.type,$.memoizedProps,Q.pendingProps,$.memoizedState),null;case 27:return u0(Q),$===null&&m0&&(X=F1(b8.current),N=q0(),X=Q.stateNode=vM(Q.type,Q.pendingProps,X,N,!1),W$||(N=VM(X,Q.type,Q.pendingProps,N),N!==null&&(b6(Q,0).serverProps=N)),q5=Q,T4=!0,N=R1,v8(Q.type)?(yU=N,R1=t5(X.firstChild)):R1=N),Z5($,Q,Q.pendingProps.children,G),zG($,Q),$===null&&(Q.flags|=4194304),Q.child;case 5:return $===null&&m0&&(B=q0(),X=MX(Q.type,B.ancestorInfo),N=R1,(F=!N)||(F=O_(N,Q.type,Q.pendingProps,T4),F!==null?(Q.stateNode=F,W$||(B=VM(F,Q.type,Q.pendingProps,B),B!==null&&(b6(Q,0).serverProps=B)),q5=Q,R1=t5(F.firstChild),T4=!1,B=!0):B=!1,F=!B),F&&(X&&lJ(Q,N),_8(Q))),u0(Q),N=Q.type,B=Q.pendingProps,F=$!==null?$.memoizedProps:null,X=B.children,t3(N,B)?X=null:F!==null&&t3(N,F)&&(Q.flags|=32),Q.memoizedState!==null&&(N=pX($,Q,vL,null,null,G),bZ._currentValue=N),zG($,Q),Z5($,Q,X,G),Q.child;case 6:return $===null&&m0&&(G=Q.pendingProps,$=q0(),X=$.ancestorInfo.current,G=X!=null?yJ(G,X.tag,$.ancestorInfo.implicitRootScope):!0,$=R1,(X=!$)||(X=D_($,Q.pendingProps,T4),X!==null?(Q.stateNode=X,q5=Q,R1=null,X=!0):X=!1,X=!X),X&&(G&&lJ(Q,$),_8(Q))),null;case 13:return YH($,Q,G);case 4:return r(Q,Q.stateNode.containerInfo),X=Q.pendingProps,$===null?Q.child=$7(Q,null,X,G):Z5($,Q,X,G),Q.child;case 11:return tB($,Q,Q.type,Q.pendingProps,G);case 7:return Z5($,Q,Q.pendingProps,G),Q.child;case 8:return Z5($,Q,Q.pendingProps.children,G),Q.child;case 12:return Q.flags|=4,Q.flags|=2048,X=Q.stateNode,X.effectDuration=-0,X.passiveEffectDuration=-0,Z5($,Q,Q.pendingProps.children,G),Q.child;case 10:return X=Q.type,N=Q.pendingProps,B=N.value,"value"in N||nF||(nF=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),C8(Q,X,B),Z5($,Q,N.children,G),Q.child;case 9:return N=Q.type._context,X=Q.pendingProps.children,typeof X!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),f6(Q),N=V1(N),X=eY(X,N,void 0),Q.flags|=1,Z5($,Q,X,G),Q.child;case 14:return eB($,Q,Q.type,Q.pendingProps,G);case 15:return $H($,Q,Q.type,Q.pendingProps,G);case 19:return NH($,Q,G);case 31:return xL($,Q,G);case 22:return QH($,Q,G,Q.pendingProps);case 24:return f6(Q),X=V1(f1),$===null?(N=yX(),N===null&&(N=N1,B=vX(),N.pooledCache=B,g6(B),B!==null&&(N.pooledCacheLanes|=G),N=B),Q.memoizedState={parent:X,cache:N},gX(Q),C8(Q,f1,N)):(($.lanes&G)!==0&&(hX($,Q),_Q(Q,null,null,G),LQ()),N=$.memoizedState,B=Q.memoizedState,N.parent!==X?(N={parent:X,cache:X},Q.memoizedState=N,Q.lanes===0&&(Q.memoizedState=Q.updateQueue.baseState=N),C8(Q,f1,X)):(X=B.cache,C8(Q,f1,X),X!==N.cache&&SX(Q,[f1],G,!0))),Z5($,Q,Q.pendingProps.children,G),Q.child;case 29:throw Q.pendingProps}throw Error("Unknown unit of work tag ("+Q.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function f$($){$.flags|=4}function O3($,Q,G,X,N){if(Q=($.mode&XP)!==V0)Q=!1;if(Q){if($.flags|=16777216,(N&335544128)===N)if($.stateNode.complete)$.flags|=8192;else if(dH())$.flags|=8192;else throw e6=Hq,QU}else $.flags&=-16777217}function KH($,Q){if(Q.type!=="stylesheet"||(Q.state.loading&L4)!==B7)$.flags&=-16777217;else if($.flags|=16777216,!xM(Q))if(dH())$.flags|=8192;else throw e6=Hq,QU}function LG($,Q){Q!==null&&($.flags|=4),$.flags&16384&&(Q=$.tag!==22?v7():536870912,$.lanes|=Q,q7|=Q)}function jQ($,Q){if(!m0)switch($.tailMode){case"hidden":Q=$.tail;for(var G=null;Q!==null;)Q.alternate!==null&&(G=Q),Q=Q.sibling;G===null?$.tail=null:G.sibling=null;break;case"collapsed":G=$.tail;for(var X=null;G!==null;)G.alternate!==null&&(X=G),G=G.sibling;X===null?Q||$.tail===null?$.tail=null:$.tail.sibling=null:X.sibling=null}}function H1($){var Q=$.alternate!==null&&$.alternate.child===$.child,G=0,X=0;if(Q)if(($.mode&O0)!==V0){for(var{selfBaseDuration:N,child:B}=$;B!==null;)G|=B.lanes|B.childLanes,X|=B.subtreeFlags&65011712,X|=B.flags&65011712,N+=B.treeBaseDuration,B=B.sibling;$.treeBaseDuration=N}else for(N=$.child;N!==null;)G|=N.lanes|N.childLanes,X|=N.subtreeFlags&65011712,X|=N.flags&65011712,N.return=$,N=N.sibling;else if(($.mode&O0)!==V0){N=$.actualDuration,B=$.selfBaseDuration;for(var F=$.child;F!==null;)G|=F.lanes|F.childLanes,X|=F.subtreeFlags,X|=F.flags,N+=F.actualDuration,B+=F.treeBaseDuration,F=F.sibling;$.actualDuration=N,$.treeBaseDuration=B}else for(N=$.child;N!==null;)G|=N.lanes|N.childLanes,X|=N.subtreeFlags,X|=N.flags,N.return=$,N=N.sibling;return $.subtreeFlags|=X,$.childLanes=G,Q}function mL($,Q,G){var X=Q.pendingProps;switch(jX(Q),Q.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return H1(Q),null;case 1:return H1(Q),null;case 3:if(G=Q.stateNode,X=null,$!==null&&(X=$.memoizedState.cache),Q.memoizedState.cache!==X&&(Q.flags|=2048),k$(f1,Q),t(Q),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),$===null||$.child===null)g7(Q)?(DX(),f$(Q)):$===null||$.memoizedState.isDehydrated&&(Q.flags&256)===0||(Q.flags|=1024,OX());return H1(Q),null;case 26:var{type:N,memoizedState:B}=Q;return $===null?(f$(Q),B!==null?(H1(Q),KH(Q,B)):(H1(Q),O3(Q,N,null,X,G))):B?B!==$.memoizedState?(f$(Q),H1(Q),KH(Q,B)):(H1(Q),Q.flags&=-16777217):($=$.memoizedProps,$!==X&&f$(Q),H1(Q),O3(Q,N,$,X,G)),null;case 27:if(d0(Q),G=F1(b8.current),N=Q.type,$!==null&&Q.stateNode!=null)$.memoizedProps!==X&&f$(Q);else{if(!X){if(Q.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return H1(Q),null}$=q0(),g7(Q)?tK(Q,$):($=vM(N,X,G,$,!0),Q.stateNode=$,f$(Q))}return H1(Q),null;case 5:if(d0(Q),N=Q.type,$!==null&&Q.stateNode!=null)$.memoizedProps!==X&&f$(Q);else{if(!X){if(Q.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return H1(Q),null}var F=q0();if(g7(Q))tK(Q,F);else{switch(B=F1(b8.current),MX(N,F.ancestorInfo),F=F.context,B=AG(B),F){case k9:B=B.createElementNS(J9,N);break;case hq:B=B.createElementNS(sG,N);break;default:switch(N){case"svg":B=B.createElementNS(J9,N);break;case"math":B=B.createElementNS(sG,N);break;case"script":B=B.createElement("div"),B.innerHTML="<script></script>",B=B.removeChild(B.firstChild);break;case"select":B=typeof X.is==="string"?B.createElement("select",{is:X.is}):B.createElement("select"),X.multiple?B.multiple=!0:X.size&&(B.size=X.size);break;default:B=typeof X.is==="string"?B.createElement(N,{is:X.is}):B.createElement(N),N.indexOf("-")===-1&&(N!==N.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",N),Object.prototype.toString.call(B)!=="[object HTMLUnknownElement]"||A4.call(wT,N)||(wT[N]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",N)))}}B[G5]=Q,B[z5]=X;$:for(F=Q.child;F!==null;){if(F.tag===5||F.tag===6)B.appendChild(F.stateNode);else if(F.tag!==4&&F.tag!==27&&F.child!==null){F.child.return=F,F=F.child;continue}if(F===Q)break $;for(;F.sibling===null;){if(F.return===null||F.return===Q)break $;F=F.return}F.sibling.return=F.return,F=F.sibling}Q.stateNode=B;$:switch(J5(B,N,X),N){case"button":case"input":case"select":case"textarea":X=!!X.autoFocus;break $;case"img":X=!0;break $;default:X=!1}X&&f$(Q)}}return H1(Q),O3(Q,Q.type,$===null?null:$.memoizedProps,Q.pendingProps,G),null;case 6:if($&&Q.stateNode!=null)$.memoizedProps!==X&&f$(Q);else{if(typeof X!=="string"&&Q.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if($=F1(b8.current),G=q0(),g7(Q)){if($=Q.stateNode,G=Q.memoizedProps,N=!W$,X=null,B=q5,B!==null)switch(B.tag){case 3:N&&(N=AM($,G,X),N!==null&&(b6(Q,0).serverProps=N));break;case 27:case 5:X=B.memoizedProps,N&&(N=AM($,G,X),N!==null&&(b6(Q,0).serverProps=N))}$[G5]=Q,$=$.nodeValue===G||X!==null&&X.suppressHydrationWarning===!0||FM($.nodeValue,G)?!0:!1,$||_8(Q,!0)}else N=G.ancestorInfo.current,N!=null&&yJ(X,N.tag,G.ancestorInfo.implicitRootScope),$=AG($).createTextNode(X),$[G5]=Q,Q.stateNode=$}return H1(Q),null;case 31:if(G=Q.memoizedState,$===null||$.memoizedState!==null){if(X=g7(Q),G!==null){if($===null){if(!X)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=Q.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[G5]=Q,H1(Q),(Q.mode&O0)!==V0&&G!==null&&($=Q.child,$!==null&&(Q.treeBaseDuration-=$.treeBaseDuration))}else DX(),y6(),(Q.flags&128)===0&&(G=Q.memoizedState=null),Q.flags|=4,H1(Q),(Q.mode&O0)!==V0&&G!==null&&($=Q.child,$!==null&&(Q.treeBaseDuration-=$.treeBaseDuration));$=!1}else G=OX(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=G),$=!0;if(!$){if(Q.flags&256)return i5(Q),Q;return i5(Q),null}if((Q.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return H1(Q),null;case 13:if(X=Q.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(N=X,B=g7(Q),N!==null&&N.dehydrated!==null){if($===null){if(!B)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(B=Q.memoizedState,B=B!==null?B.dehydrated:null,!B)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");B[G5]=Q,H1(Q),(Q.mode&O0)!==V0&&N!==null&&(N=Q.child,N!==null&&(Q.treeBaseDuration-=N.treeBaseDuration))}else DX(),y6(),(Q.flags&128)===0&&(N=Q.memoizedState=null),Q.flags|=4,H1(Q),(Q.mode&O0)!==V0&&N!==null&&(N=Q.child,N!==null&&(Q.treeBaseDuration-=N.treeBaseDuration));N=!1}else N=OX(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=N),N=!0;if(!N){if(Q.flags&256)return i5(Q),Q;return i5(Q),null}}if(i5(Q),(Q.flags&128)!==0)return Q.lanes=G,(Q.mode&O0)!==V0&&wQ(Q),Q;return G=X!==null,$=$!==null&&$.memoizedState!==null,G&&(X=Q.child,N=null,X.alternate!==null&&X.alternate.memoizedState!==null&&X.alternate.memoizedState.cachePool!==null&&(N=X.alternate.memoizedState.cachePool.pool),B=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(B=X.memoizedState.cachePool.pool),B!==N&&(X.flags|=2048)),G!==$&&G&&(Q.child.flags|=8192),LG(Q,Q.updateQueue),H1(Q),(Q.mode&O0)!==V0&&G&&($=Q.child,$!==null&&(Q.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return t(Q),$===null&&l3(Q.stateNode.containerInfo),H1(Q),null;case 10:return k$(Q.type,Q),H1(Q),null;case 19:if(B0(v1,Q),X=Q.memoizedState,X===null)return H1(Q),null;if(N=(Q.flags&128)!==0,B=X.rendering,B===null)if(N)jQ(X,!1);else{if(P1!==a$||$!==null&&($.flags&128)!==0)for($=Q.child;$!==null;){if(B=GG($),B!==null){Q.flags|=128,jQ(X,!1),$=B.updateQueue,Q.updateQueue=$,LG(Q,$),Q.subtreeFlags=0,$=G;for(G=Q.child;G!==null;)rK(G,$),G=G.sibling;return z0(v1,v1.current&L9|TZ,Q),m0&&v$(Q,X.treeForkCount),Q.child}$=$.sibling}X.tail!==null&&o1()>Eq&&(Q.flags|=128,N=!0,jQ(X,!1),Q.lanes=4194304)}else{if(!N)if($=GG(B),$!==null){if(Q.flags|=128,N=!0,$=$.updateQueue,Q.updateQueue=$,LG(Q,$),jQ(X,!0),X.tail===null&&X.tailMode==="hidden"&&!B.alternate&&!m0)return H1(Q),null}else 2*o1()-X.renderingStartTime>Eq&&G!==536870912&&(Q.flags|=128,N=!0,jQ(X,!1),Q.lanes=4194304);X.isBackwards?(B.sibling=Q.child,Q.child=B):($=X.last,$!==null?$.sibling=B:Q.child=B,X.last=B)}if(X.tail!==null)return $=X.tail,X.rendering=$,X.tail=$.sibling,X.renderingStartTime=o1(),$.sibling=null,G=v1.current,G=N?G&L9|TZ:G&L9,z0(v1,G,Q),m0&&v$(Q,X.treeForkCount),$;return H1(Q),null;case 22:case 23:return i5(Q),uX(Q),X=Q.memoizedState!==null,$!==null?$.memoizedState!==null!==X&&(Q.flags|=8192):X&&(Q.flags|=8192),X?(G&536870912)!==0&&(Q.flags&128)===0&&(H1(Q),Q.subtreeFlags&6&&(Q.flags|=8192)):H1(Q),G=Q.updateQueue,G!==null&&LG(Q,G.retryQueue),G=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(G=$.memoizedState.cachePool.pool),X=null,Q.memoizedState!==null&&Q.memoizedState.cachePool!==null&&(X=Q.memoizedState.cachePool.pool),X!==G&&(Q.flags|=2048),$!==null&&B0(a6,Q),null;case 24:return G=null,$!==null&&(G=$.memoizedState.cache),Q.memoizedState.cache!==G&&(Q.flags|=2048),k$(f1,Q),H1(Q),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+Q.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function dL($,Q){switch(jX(Q),Q.tag){case 1:return $=Q.flags,$&65536?(Q.flags=$&-65537|128,(Q.mode&O0)!==V0&&wQ(Q),Q):null;case 3:return k$(f1,Q),t(Q),$=Q.flags,($&65536)!==0&&($&128)===0?(Q.flags=$&-65537|128,Q):null;case 26:case 27:case 5:return d0(Q),null;case 31:if(Q.memoizedState!==null){if(i5(Q),Q.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");y6()}return $=Q.flags,$&65536?(Q.flags=$&-65537|128,(Q.mode&O0)!==V0&&wQ(Q),Q):null;case 13:if(i5(Q),$=Q.memoizedState,$!==null&&$.dehydrated!==null){if(Q.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");y6()}return $=Q.flags,$&65536?(Q.flags=$&-65537|128,(Q.mode&O0)!==V0&&wQ(Q),Q):null;case 19:return B0(v1,Q),null;case 4:return t(Q),null;case 10:return k$(Q.type,Q),null;case 22:case 23:return i5(Q),uX(Q),$!==null&&B0(a6,Q),$=Q.flags,$&65536?(Q.flags=$&-65537|128,(Q.mode&O0)!==V0&&wQ(Q),Q):null;case 24:return k$(f1,Q),null;case 25:return null;default:return null}}function BH($,Q){switch(jX(Q),Q.tag){case 3:k$(f1,Q),t(Q);break;case 26:case 27:case 5:d0(Q);break;case 4:t(Q);break;case 31:Q.memoizedState!==null&&i5(Q);break;case 13:i5(Q);break;case 19:B0(v1,Q);break;case 10:k$(Q.type,Q);break;case 22:case 23:i5(Q),uX(Q),$!==null&&B0(a6,Q);break;case 24:k$(f1,Q)}}function Q$($){return($.mode&O0)!==V0}function HH($,Q){Q$($)?($$(),OQ(Q,$),e4()):OQ(Q,$)}function D3($,Q,G){Q$($)?($$(),p7(G,$,Q),e4()):p7(G,$,Q)}function OQ($,Q){try{var G=Q.updateQueue,X=G!==null?G.lastEffect:null;if(X!==null){var N=X.next;G=N;do{if((G.tag&$)===$&&(X=void 0,($&C5)!==Wq&&(A9=!0),X=G0(Q,BP,G),($&C5)!==Wq&&(A9=!1),X!==void 0&&typeof X!=="function")){var B=void 0;B=(G.tag&G4)!==0?"useLayoutEffect":(G.tag&C5)!==0?"useInsertionEffect":"useEffect";var F=void 0;F=X===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof X.then==="function"?`
|
|
141
141
|
|
|
142
142
|
It looks like you wrote `+B+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
143
|
|
|
@@ -150,11 +150,11 @@ It looks like you wrote `+B+`(async () => ...) or returned a Promise. Instead, w
|
|
|
150
150
|
fetchData();
|
|
151
151
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
152
152
|
|
|
153
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+X,G0(Z,function(w,V){console.error("%s must not return anything besides a function, which is used for clean-up.%s",w,V)},B,W)}G=G.next}while(G!==N)}}catch(w){$1(Z,Z.return,w)}}function m$($,Z,G){try{var X=Z.updateQueue,N=X!==null?X.lastEffect:null;if(N!==null){var B=N.next;X=B;do{if((X.tag&$)===$){var W=X.inst,w=W.destroy;w!==void 0&&(W.destroy=void 0,($&L5)!==KJ&&(O9=!0),N=Z,G0(N,BE,N,G,w),($&L5)!==KJ&&(O9=!1))}X=X.next}while(X!==B)}}catch(V){$1(Z,Z.return,V)}}function KH($,Z){e4($)?(t4(),j7(Z,$),a4()):j7(Z,$)}function IX($,Z,G){e4($)?(t4(),m$(G,$,Z),a4()):m$(G,$,Z)}function BH($){var Z=$.updateQueue;if(Z!==null){var G=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||P9||(G.props!==$.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",d($)||"instance"),G.state!==$.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",d($)||"instance"));try{G0($,MB,Z,G)}catch(X){$1($,$.return,X)}}}function dL($,Z,G){return $.getSnapshotBeforeUpdate(Z,G)}function pL($,Z){var{memoizedProps:G,memoizedState:X}=Z;Z=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||P9||(Z.props!==$.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",d($)||"instance"),Z.state!==$.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",d($)||"instance"));try{var N=x2($.type,G),B=G0($,dL,Z,N,X);G=rW,B!==void 0||G.has($.type)||(G.add($.type),G0($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",d($))})),Z.__reactInternalSnapshotBeforeUpdate=B}catch(W){$1($,$.return,W)}}function HH($,Z,G){G.props=x2($.type,$.memoizedProps),G.state=$.memoizedState,e4($)?(t4(),G0($,BW,$,Z,G),a4()):G0($,BW,$,Z,G)}function cL($){var Z=$.ref;if(Z!==null){switch($.tag){case 26:case 27:case 5:var G=$.stateNode;break;case 30:G=$.stateNode;break;default:G=$.stateNode}if(typeof Z==="function")if(e4($))try{t4(),$.refCleanup=Z(G)}finally{a4()}else $.refCleanup=Z(G);else typeof Z==="string"?console.error("String refs are no longer supported."):Z.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",d($)),Z.current=G}}function O7($,Z){try{G0($,cL,$)}catch(G){$1($,Z,G)}}function $8($,Z){var{ref:G,refCleanup:X}=$;if(G!==null)if(typeof X==="function")try{if(e4($))try{t4(),G0($,X)}finally{a4($)}else G0($,X)}catch(N){$1($,Z,N)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof G==="function")try{if(e4($))try{t4(),G0($,G,null)}finally{a4($)}else G0($,G,null)}catch(N){$1($,Z,N)}else G.current=null}function MH($,Z,G,X){var N=$.memoizedProps,B=N.id,W=N.onCommit;N=N.onRender,Z=Z===null?"mount":"update",JJ&&(Z="nested-update"),typeof N==="function"&&N(B,Z,$.actualDuration,$.treeBaseDuration,$.actualStartTime,G),typeof W==="function"&&W(B,Z,X,G)}function lL($,Z,G,X){var N=$.memoizedProps;$=N.id,N=N.onPostCommit,Z=Z===null?"mount":"update",JJ&&(Z="nested-update"),typeof N==="function"&&N($,Z,X,G)}function FH($){var{type:Z,memoizedProps:G,stateNode:X}=$;try{G0($,W_,X,Z,G,$)}catch(N){$1($,$.return,N)}}function jX($,Z,G){try{G0($,T_,$.stateNode,$.type,G,Z,$)}catch(X){$1($,$.return,X)}}function WH($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&j6($.type)||$.tag===4}function OX($){$:for(;;){for(;$.sibling===null;){if($.return===null||WH($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&j6($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function DX($,Z,G){var X=$.tag;if(X===5||X===6)$=$.stateNode,Z?(_M(G),(G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G).insertBefore($,Z)):(_M(G),Z=G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G,Z.appendChild($),G=G._reactRootContainer,G!==null&&G!==void 0||Z.onclick!==null||(Z.onclick=j8));else if(X!==4&&(X===27&&j6($.type)&&(G=$.stateNode,Z=null),$=$.child,$!==null))for(DX($,Z,G),$=$.sibling;$!==null;)DX($,Z,G),$=$.sibling}function RG($,Z,G){var X=$.tag;if(X===5||X===6)$=$.stateNode,Z?G.insertBefore($,Z):G.appendChild($);else if(X!==4&&(X===27&&j6($.type)&&(G=$.stateNode),$=$.child,$!==null))for(RG($,Z,G),$=$.sibling;$!==null;)RG($,Z,G),$=$.sibling}function rL($){for(var Z,G=$.return;G!==null;){if(WH(G)){Z=G;break}G=G.return}if(Z==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(Z.tag){case 27:Z=Z.stateNode,G=OX($),RG($,G,Z);break;case 5:G=Z.stateNode,Z.flags&32&&(LM(G),Z.flags&=-33),Z=OX($),RG($,Z,G);break;case 3:case 4:Z=Z.stateNode.containerInfo,G=OX($),DX($,G,Z);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function wH($){var{stateNode:Z,memoizedProps:G}=$;try{G0($,k_,$.type,G,Z,$)}catch(X){$1($,$.return,X)}}function TH($,Z){return Z.tag===31?(Z=Z.memoizedState,$.memoizedState!==null&&Z===null):Z.tag===13?($=$.memoizedState,Z=Z.memoizedState,$!==null&&$.dehydrated!==null&&(Z===null||Z.dehydrated===null)):Z.tag===3?$.memoizedState.isDehydrated&&(Z.flags&256)===0:!1}function sL($,Z){if($=$.containerInfo,OU=hJ,$=kK($),H3($)){if("selectionStart"in $)var G={start:$.selectionStart,end:$.selectionEnd};else $:{G=(G=$.ownerDocument)&&G.defaultView||window;var X=G.getSelection&&G.getSelection();if(X&&X.rangeCount!==0){G=X.anchorNode;var{anchorOffset:N,focusNode:B}=X;X=X.focusOffset;try{G.nodeType,B.nodeType}catch(t){G=null;break $}var W=0,w=-1,V=-1,_=0,k=0,b=$,O=null;Z:for(;;){for(var g;;){if(b!==G||N!==0&&b.nodeType!==3||(w=W+N),b!==B||X!==0&&b.nodeType!==3||(V=W+X),b.nodeType===3&&(W+=b.nodeValue.length),(g=b.firstChild)===null)break;O=b,b=g}for(;;){if(b===$)break Z;if(O===G&&++_===N&&(w=W),O===B&&++k===X&&(V=W),(g=b.nextSibling)!==null)break;b=O,O=b.parentNode}b=g}G=w===-1||V===-1?null:{start:w,end:V}}else G=null}G=G||{start:0,end:0}}else G=null;DU={focusedElem:$,selectionRange:G},hJ=!1;for(a1=Z;a1!==null;)if(Z=a1,$=Z.child,(Z.subtreeFlags&1028)!==0&&$!==null)$.return=Z,a1=$;else for(;a1!==null;){switch($=Z=a1,G=$.alternate,N=$.flags,$.tag){case 0:if((N&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(G=0;G<$.length;G++)N=$[G],N.ref.impl=N.nextImpl;break;case 11:case 15:break;case 1:(N&1024)!==0&&G!==null&&pL($,G);break;case 3:if((N&1024)!==0){if($=$.stateNode.containerInfo,G=$.nodeType,G===9)oX($);else if(G===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":oX($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((N&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if($=Z.sibling,$!==null){$.return=Z.return,a1=$;break}a1=Z.return}}function RH($,Z,G){var X=r5(),N=s4(),B=o4(),W=i4(),w=G.flags;switch(G.tag){case 0:case 11:case 15:Z8($,G),w&4&&NH(G,Q4|T4);break;case 1:if(Z8($,G),w&4)if($=G.stateNode,Z===null)G.type.defaultProps||"ref"in G.memoizedProps||P9||($.props!==G.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",d(G)||"instance"),$.state!==G.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",d(G)||"instance")),e4(G)?(t4(),G0(G,iY,G,$),a4()):G0(G,iY,G,$);else{var V=x2(G.type,Z.memoizedProps);Z=Z.memoizedState,G.type.defaultProps||"ref"in G.memoizedProps||P9||($.props!==G.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",d(G)||"instance"),$.state!==G.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",d(G)||"instance")),e4(G)?(t4(),G0(G,UW,G,$,V,Z,$.__reactInternalSnapshotBeforeUpdate),a4()):G0(G,UW,G,$,V,Z,$.__reactInternalSnapshotBeforeUpdate)}w&64&&BH(G),w&512&&O7(G,G.return);break;case 3:if(Z=S8(),Z8($,G),w&64&&(w=G.updateQueue,w!==null)){if(V=null,G.child!==null)switch(G.child.tag){case 27:case 5:V=G.child.stateNode;break;case 1:V=G.child.stateNode}try{G0(G,MB,w,V)}catch(k){$1(G,G.return,k)}}$.effectDuration+=lQ(Z);break;case 27:Z===null&&w&4&&wH(G);case 26:case 5:if(Z8($,G),Z===null){if(w&4)FH(G);else if(w&64){$=G.type,Z=G.memoizedProps,V=G.stateNode;try{G0(G,w_,V,$,Z,G)}catch(k){$1(G,G.return,k)}}}w&512&&O7(G,G.return);break;case 12:if(w&4){w=S8(),Z8($,G),$=G.stateNode,$.effectDuration+=w7(w);try{G0(G,MH,G,Z,g6,$.effectDuration)}catch(k){$1(G,G.return,k)}}else Z8($,G);break;case 31:Z8($,G),w&4&&LH($,G);break;case 13:Z8($,G),w&4&&_H($,G),w&64&&($=G.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(w=Q_.bind(null,G),D_($,w))));break;case 22:if(w=G.memoizedState!==null||s8,!w){Z=Z!==null&&Z.memoizedState!==null||u1,V=s8;var _=u1;s8=w,(u1=Z)&&!_?(Q8($,G,(G.subtreeFlags&8772)!==0),(G.mode&D0)!==V0&&0<=W0&&0<=R0&&0.05<R0-W0&&fQ(G,W0,R0)):Z8($,G),s8=V,u1=_}break;case 30:break;default:Z8($,G)}(G.mode&D0)!==V0&&0<=W0&&0<=R0&&((I1||0.05<_1)&&l4(G,W0,R0,_1,L1),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<R0-W0&&(TH(G.return.alternate,G.return)||c4(G,W0,R0,"Mount"))),s5(X),n4(N),L1=B,I1=W}function zH($){var Z=$.alternate;Z!==null&&($.alternate=null,zH(Z)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(Z=$.stateNode,Z!==null&&e(Z)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function b8($,Z,G){for(G=G.child;G!==null;)VH($,Z,G),G=G.sibling}function VH($,Z,G){if(H5&&typeof H5.onCommitFiberUnmount==="function")try{H5.onCommitFiberUnmount(e$,G)}catch(_){U8||(U8=!0,console.error("React instrumentation encountered an error: %o",_))}var X=r5(),N=s4(),B=o4(),W=i4();switch(G.tag){case 26:u1||$8(G,Z),b8($,Z,G),G.memoizedState?G.memoizedState.count--:G.stateNode&&($=G.stateNode,$.parentNode.removeChild($));break;case 27:u1||$8(G,Z);var w=m1,V=A5;j6(G.type)&&(m1=G.stateNode,A5=!1),b8($,Z,G),G0(G,g7,G.stateNode),m1=w,A5=V;break;case 5:u1||$8(G,Z);case 6:if(w=m1,V=A5,m1=null,b8($,Z,G),m1=w,A5=V,m1!==null)if(A5)try{G0(G,V_,m1,G.stateNode)}catch(_){$1(G,Z,_)}else try{G0(G,z_,m1,G.stateNode)}catch(_){$1(G,Z,_)}break;case 18:m1!==null&&(A5?($=m1,PM($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,G.stateNode),o$($)):PM(m1,G.stateNode));break;case 4:w=m1,V=A5,m1=G.stateNode.containerInfo,A5=!0,b8($,Z,G),m1=w,A5=V;break;case 0:case 11:case 14:case 15:m$(L5,G,Z),u1||CX(G,Z,Q4),b8($,Z,G);break;case 1:u1||($8(G,Z),w=G.stateNode,typeof w.componentWillUnmount==="function"&&HH(G,Z,w)),b8($,Z,G);break;case 21:b8($,Z,G);break;case 22:u1=(w=u1)||G.memoizedState!==null,b8($,Z,G),u1=w;break;default:b8($,Z,G)}(G.mode&D0)!==V0&&0<=W0&&0<=R0&&(I1||0.05<_1)&&l4(G,W0,R0,_1,L1),s5(X),n4(N),L1=B,I1=W}function LH($,Z){if(Z.memoizedState===null&&($=Z.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{G0(Z,S_,$)}catch(G){$1(Z,Z.return,G)}}}function _H($,Z){if(Z.memoizedState===null&&($=Z.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{G0(Z,v_,$)}catch(G){$1(Z,Z.return,G)}}function nL($){switch($.tag){case 31:case 13:case 19:var Z=$.stateNode;return Z===null&&(Z=$.stateNode=new sW),Z;case 22:return $=$.stateNode,Z=$._retryCache,Z===null&&(Z=$._retryCache=new sW),Z;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function zG($,Z){var G=nL($);Z.forEach(function(X){if(!G.has(X)){if(G.add(X),N8)if(E9!==null&&C9!==null)v7(C9,E9);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var N=G_.bind(null,$,X);X.then(N,N)}})}function O5($,Z){var G=Z.deletions;if(G!==null)for(var X=0;X<G.length;X++){var N=$,B=Z,W=G[X],w=r5(),V=B;$:for(;V!==null;){switch(V.tag){case 27:if(j6(V.type)){m1=V.stateNode,A5=!1;break $}break;case 5:m1=V.stateNode,A5=!1;break $;case 3:case 4:m1=V.stateNode.containerInfo,A5=!0;break $}V=V.return}if(m1===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");VH(N,B,W),m1=null,A5=!1,(W.mode&D0)!==V0&&0<=W0&&0<=R0&&0.05<R0-W0&&c4(W,W0,R0,"Unmount"),s5(w),N=W,B=N.alternate,B!==null&&(B.return=null),N.return=null}if(Z.subtreeFlags&13886)for(Z=Z.child;Z!==null;)PH(Z,$),Z=Z.sibling}function PH($,Z){var G=r5(),X=s4(),N=o4(),B=i4(),W=$.alternate,w=$.flags;switch($.tag){case 0:case 11:case 14:case 15:O5(Z,$),D5($),w&4&&(m$(L5|T4,$,$.return),j7(L5|T4,$),CX($,$.return,Q4|T4));break;case 1:if(O5(Z,$),D5($),w&512&&(u1||W===null||$8(W,W.return)),w&64&&s8&&(w=$.updateQueue,w!==null&&(W=w.callbacks,W!==null))){var V=w.shared.hiddenCallbacks;w.shared.hiddenCallbacks=V===null?W:V.concat(W)}break;case 26:if(V=k4,O5(Z,$),D5($),w&512&&(u1||W===null||$8(W,W.return)),w&4){var _=W!==null?W.memoizedState:null;if(w=$.memoizedState,W===null)if(w===null)if($.stateNode===null){$:{w=$.type,W=$.memoizedProps,V=V.ownerDocument||V;Z:switch(w){case"title":if(_=V.getElementsByTagName("title")[0],!_||_[c7]||_[G5]||_.namespaceURI===Z9||_.hasAttribute("itemprop"))_=V.createElement(w),V.head.insertBefore(_,V.querySelector("head > title"));Q5(_,w,W),_[G5]=$,F0(_),w=_;break $;case"link":var k=bM("link","href",V).get(w+(W.href||""));if(k){for(var b=0;b<k.length;b++)if(_=k[b],_.getAttribute("href")===(W.href==null||W.href===""?null:W.href)&&_.getAttribute("rel")===(W.rel==null?null:W.rel)&&_.getAttribute("title")===(W.title==null?null:W.title)&&_.getAttribute("crossorigin")===(W.crossOrigin==null?null:W.crossOrigin)){k.splice(b,1);break Z}}_=V.createElement(w),Q5(_,w,W),V.head.appendChild(_);break;case"meta":if(k=bM("meta","content",V).get(w+(W.content||""))){for(b=0;b<k.length;b++)if(_=k[b],Y1(W.content,"content"),_.getAttribute("content")===(W.content==null?null:""+W.content)&&_.getAttribute("name")===(W.name==null?null:W.name)&&_.getAttribute("property")===(W.property==null?null:W.property)&&_.getAttribute("http-equiv")===(W.httpEquiv==null?null:W.httpEquiv)&&_.getAttribute("charset")===(W.charSet==null?null:W.charSet)){k.splice(b,1);break Z}}_=V.createElement(w),Q5(_,w,W),V.head.appendChild(_);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+w+'". This is a bug in React.')}_[G5]=$,F0(_),w=_}$.stateNode=w}else fM(V,$.type,$.stateNode);else $.stateNode=kM(V,w,$.memoizedProps);else _!==w?(_===null?W.stateNode!==null&&(W=W.stateNode,W.parentNode.removeChild(W)):_.count--,w===null?fM(V,$.type,$.stateNode):kM(V,w,$.memoizedProps)):w===null&&$.stateNode!==null&&jX($,$.memoizedProps,W.memoizedProps)}break;case 27:O5(Z,$),D5($),w&512&&(u1||W===null||$8(W,W.return)),W!==null&&w&4&&jX($,$.memoizedProps,W.memoizedProps);break;case 5:if(O5(Z,$),D5($),w&512&&(u1||W===null||$8(W,W.return)),$.flags&32){V=$.stateNode;try{G0($,LM,V)}catch(Z0){$1($,$.return,Z0)}}w&4&&$.stateNode!=null&&(V=$.memoizedProps,jX($,V,W!==null?W.memoizedProps:V)),w&1024&&(NU=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(O5(Z,$),D5($),w&4){if($.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");w=$.memoizedProps,W=W!==null?W.memoizedProps:w,V=$.stateNode;try{G0($,R_,V,W,w)}catch(Z0){$1($,$.return,Z0)}}break;case 3:if(V=S8(),fJ=null,_=k4,k4=jG(Z.containerInfo),O5(Z,$),k4=_,D5($),w&4&&W!==null&&W.memoizedState.isDehydrated)try{G0($,A_,Z.containerInfo)}catch(Z0){$1($,$.return,Z0)}NU&&(NU=!1,EH($)),Z.effectDuration+=lQ(V);break;case 4:w=k4,k4=jG($.stateNode.containerInfo),O5(Z,$),D5($),k4=w;break;case 12:w=S8(),O5(Z,$),D5($),$.stateNode.effectDuration+=w7(w);break;case 31:O5(Z,$),D5($),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,zG($,w)));break;case 13:O5(Z,$),D5($),$.child.flags&8192&&$.memoizedState!==null!==(W!==null&&W.memoizedState!==null)&&(VJ=o1()),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,zG($,w)));break;case 22:V=$.memoizedState!==null;var O=W!==null&&W.memoizedState!==null,g=s8,t=u1;if(s8=g||V,u1=t||O,O5(Z,$),u1=t,s8=g,O&&!V&&!g&&!t&&($.mode&D0)!==V0&&0<=W0&&0<=R0&&0.05<R0-W0&&fQ($,W0,R0),D5($),w&8192)$:for(Z=$.stateNode,Z._visibility=V?Z._visibility&~e7:Z._visibility|e7,!V||W===null||O||s8||u1||(u2($),($.mode&D0)!==V0&&0<=W0&&0<=R0&&0.05<R0-W0&&c4($,W0,R0,"Disconnect")),W=null,Z=$;;){if(Z.tag===5||Z.tag===26){if(W===null){O=W=Z;try{_=O.stateNode,V?G0(O,__,_):G0(O,C_,O.stateNode,O.memoizedProps)}catch(Z0){$1(O,O.return,Z0)}}}else if(Z.tag===6){if(W===null){O=Z;try{k=O.stateNode,V?G0(O,P_,k):G0(O,I_,k,O.memoizedProps)}catch(Z0){$1(O,O.return,Z0)}}}else if(Z.tag===18){if(W===null){O=Z;try{b=O.stateNode,V?G0(O,L_,b):G0(O,E_,O.stateNode)}catch(Z0){$1(O,O.return,Z0)}}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===$)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===$)break $;for(;Z.sibling===null;){if(Z.return===null||Z.return===$)break $;W===Z&&(W=null),Z=Z.return}W===Z&&(W=null),Z.sibling.return=Z.return,Z=Z.sibling}w&4&&(w=$.updateQueue,w!==null&&(W=w.retryQueue,W!==null&&(w.retryQueue=null,zG($,W))));break;case 19:O5(Z,$),D5($),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,zG($,w)));break;case 30:break;case 21:break;default:O5(Z,$),D5($)}($.mode&D0)!==V0&&0<=W0&&0<=R0&&((I1||0.05<_1)&&l4($,W0,R0,_1,L1),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<R0-W0&&(TH($.return.alternate,$.return)||c4($,W0,R0,"Mount"))),s5(G),n4(X),L1=N,I1=B}function D5($){var Z=$.flags;if(Z&2){try{G0($,rL,$)}catch(G){$1($,$.return,G)}$.flags&=-3}Z&4096&&($.flags&=-4097)}function EH($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var Z=$;EH(Z),Z.tag===5&&Z.flags&1024&&Z.stateNode.reset(),$=$.sibling}}function Z8($,Z){if(Z.subtreeFlags&8772)for(Z=Z.child;Z!==null;)RH($,Z.alternate,Z),Z=Z.sibling}function CH($){var Z=r5(),G=s4(),X=o4(),N=i4();switch($.tag){case 0:case 11:case 14:case 15:CX($,$.return,Q4),u2($);break;case 1:$8($,$.return);var B=$.stateNode;typeof B.componentWillUnmount==="function"&&HH($,$.return,B),u2($);break;case 27:G0($,g7,$.stateNode);case 26:case 5:$8($,$.return),u2($);break;case 22:$.memoizedState===null&&u2($);break;case 30:u2($);break;default:u2($)}($.mode&D0)!==V0&&0<=W0&&0<=R0&&(I1||0.05<_1)&&l4($,W0,R0,_1,L1),s5(Z),n4(G),L1=X,I1=N}function u2($){for($=$.child;$!==null;)CH($),$=$.sibling}function IH($,Z,G,X){var N=r5(),B=s4(),W=o4(),w=i4(),V=G.flags;switch(G.tag){case 0:case 11:case 15:Q8($,G,X),NH(G,Q4);break;case 1:if(Q8($,G,X),Z=G.stateNode,typeof Z.componentDidMount==="function"&&G0(G,iY,G,Z),Z=G.updateQueue,Z!==null){$=G.stateNode;try{G0(G,AL,Z,$)}catch(_){$1(G,G.return,_)}}X&&V&64&&BH(G),O7(G,G.return);break;case 27:wH(G);case 26:case 5:Q8($,G,X),X&&Z===null&&V&4&&FH(G),O7(G,G.return);break;case 12:if(X&&V&4){V=S8(),Q8($,G,X),X=G.stateNode,X.effectDuration+=w7(V);try{G0(G,MH,G,Z,g6,X.effectDuration)}catch(_){$1(G,G.return,_)}}else Q8($,G,X);break;case 31:Q8($,G,X),X&&V&4&&LH($,G);break;case 13:Q8($,G,X),X&&V&4&&_H($,G);break;case 22:G.memoizedState===null&&Q8($,G,X),O7(G,G.return);break;case 30:break;default:Q8($,G,X)}(G.mode&D0)!==V0&&0<=W0&&0<=R0&&(I1||0.05<_1)&&l4(G,W0,R0,_1,L1),s5(N),n4(B),L1=W,I1=w}function Q8($,Z,G){G=G&&(Z.subtreeFlags&8772)!==0;for(Z=Z.child;Z!==null;)IH($,Z.alternate,Z,G),Z=Z.sibling}function AX($,Z){var G=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(G=$.memoizedState.cachePool.pool),$=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&($=Z.memoizedState.cachePool.pool),$!==G&&($!=null&&f2($),G!=null&&W7(G))}function SX($,Z){$=null,Z.alternate!==null&&($=Z.alternate.memoizedState.cache),Z=Z.memoizedState.cache,Z!==$&&(f2(Z),$!=null&&W7($))}function j4($,Z,G,X,N){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(Z=Z.child;Z!==null;){var B=Z.sibling;jH($,Z,G,X,B!==null?B.actualStartTime:N),Z=B}}function jH($,Z,G,X,N){var B=r5(),W=s4(),w=o4(),V=i4(),_=k6,k=Z.flags;switch(Z.tag){case 0:case 11:case 15:(Z.mode&D0)!==V0&&0<Z.actualStartTime&&(Z.flags&1)!==0&&yQ(Z,Z.actualStartTime,N,l1,G),j4($,Z,G,X,N),k&2048&&KH(Z,_5|T4);break;case 1:(Z.mode&D0)!==V0&&0<Z.actualStartTime&&((Z.flags&128)!==0?F3(Z,Z.actualStartTime,N,[]):(Z.flags&1)!==0&&yQ(Z,Z.actualStartTime,N,l1,G)),j4($,Z,G,X,N);break;case 3:var b=S8(),O=l1;l1=Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)===0,j4($,Z,G,X,N),l1=O,k&2048&&(G=null,Z.alternate!==null&&(G=Z.alternate.memoizedState.cache),X=Z.memoizedState.cache,X!==G&&(f2(X),G!=null&&W7(G))),$.passiveEffectDuration+=lQ(b);break;case 12:if(k&2048){k=S8(),j4($,Z,G,X,N),$=Z.stateNode,$.passiveEffectDuration+=w7(k);try{G0(Z,lL,Z,Z.alternate,g6,$.passiveEffectDuration)}catch(g){$1(Z,Z.return,g)}}else j4($,Z,G,X,N);break;case 31:k=l1,b=Z.alternate!==null?Z.alternate.memoizedState:null,O=Z.memoizedState,b!==null&&O===null?(O=Z.deletions,O!==null&&0<O.length&&O[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&F3(Z,Z.actualStartTime,N,b)):l1=!0):l1=!1,j4($,Z,G,X,N),l1=k;break;case 13:k=l1,b=Z.alternate!==null?Z.alternate.memoizedState:null,O=Z.memoizedState,b===null||b.dehydrated===null||O!==null&&O.dehydrated!==null?l1=!1:(O=Z.deletions,O!==null&&0<O.length&&O[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&F3(Z,Z.actualStartTime,N,b)):l1=!0),j4($,Z,G,X,N),l1=k;break;case 23:break;case 22:O=Z.stateNode,b=Z.alternate,Z.memoizedState!==null?O._visibility&g8?j4($,Z,G,X,N):D7($,Z,G,X,N):O._visibility&g8?j4($,Z,G,X,N):(O._visibility|=g8,d$($,Z,G,X,(Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child),N),(Z.mode&D0)===V0||l1||($=Z.actualStartTime,0<=$&&0.05<N-$&&fQ(Z,$,N),0<=W0&&0<=R0&&0.05<R0-W0&&fQ(Z,W0,R0))),k&2048&&AX(b,Z);break;case 24:j4($,Z,G,X,N),k&2048&&SX(Z.alternate,Z);break;default:j4($,Z,G,X,N)}if((Z.mode&D0)!==V0){if($=!l1&&Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null)G=Z.actualStartTime,0<=G&&0.05<N-G&&c4(Z,G,N,"Mount");0<=W0&&0<=R0&&((I1||0.05<_1)&&l4(Z,W0,R0,_1,L1),$&&0.05<R0-W0&&c4(Z,W0,R0,"Mount"))}s5(B),n4(W),L1=w,I1=V,k6=_}function d$($,Z,G,X,N,B){N=N&&((Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child));for(Z=Z.child;Z!==null;){var W=Z.sibling;OH($,Z,G,X,N,W!==null?W.actualStartTime:B),Z=W}}function OH($,Z,G,X,N,B){var W=r5(),w=s4(),V=o4(),_=i4(),k=k6;N&&(Z.mode&D0)!==V0&&0<Z.actualStartTime&&(Z.flags&1)!==0&&yQ(Z,Z.actualStartTime,B,l1,G);var b=Z.flags;switch(Z.tag){case 0:case 11:case 15:d$($,Z,G,X,N,B),KH(Z,_5);break;case 23:break;case 22:var O=Z.stateNode;Z.memoizedState!==null?O._visibility&g8?d$($,Z,G,X,N,B):D7($,Z,G,X,B):(O._visibility|=g8,d$($,Z,G,X,N,B)),N&&b&2048&&AX(Z.alternate,Z);break;case 24:d$($,Z,G,X,N,B),N&&b&2048&&SX(Z.alternate,Z);break;default:d$($,Z,G,X,N,B)}(Z.mode&D0)!==V0&&0<=W0&&0<=R0&&(I1||0.05<_1)&&l4(Z,W0,R0,_1,L1),s5(W),n4(w),L1=V,I1=_,k6=k}function D7($,Z,G,X,N){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(var B=Z.child;B!==null;){Z=B.sibling;var W=$,w=G,V=X,_=Z!==null?Z.actualStartTime:N,k=k6;(B.mode&D0)!==V0&&0<B.actualStartTime&&(B.flags&1)!==0&&yQ(B,B.actualStartTime,_,l1,w);var b=B.flags;switch(B.tag){case 22:D7(W,B,w,V,_),b&2048&&AX(B.alternate,B);break;case 24:D7(W,B,w,V,_),b&2048&&SX(B.alternate,B);break;default:D7(W,B,w,V,_)}k6=k,B=Z}}function p$($,Z,G){if($.subtreeFlags&zZ)for($=$.child;$!==null;)DH($,Z,G),$=$.sibling}function DH($,Z,G){switch($.tag){case 26:p$($,Z,G),$.flags&zZ&&$.memoizedState!==null&&y_(G,k4,$.memoizedState,$.memoizedProps);break;case 5:p$($,Z,G);break;case 3:case 4:var X=k4;k4=jG($.stateNode.containerInfo),p$($,Z,G),k4=X;break;case 22:$.memoizedState===null&&(X=$.alternate,X!==null&&X.memoizedState!==null?(X=zZ,zZ=16777216,p$($,Z,G),zZ=X):p$($,Z,G));break;default:p$($,Z,G)}}function AH($){var Z=$.alternate;if(Z!==null&&($=Z.child,$!==null)){Z.child=null;do Z=$.sibling,$.sibling=null,$=Z;while($!==null)}}function A7($){var Z=$.deletions;if(($.flags&16)!==0){if(Z!==null)for(var G=0;G<Z.length;G++){var X=Z[G],N=r5();a1=X,kH(X,$),(X.mode&D0)!==V0&&0<=W0&&0<=R0&&0.05<R0-W0&&c4(X,W0,R0,"Unmount"),s5(N)}AH($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)SH($),$=$.sibling}function SH($){var Z=r5(),G=s4(),X=o4(),N=i4();switch($.tag){case 0:case 11:case 15:A7($),$.flags&2048&&IX($,$.return,_5|T4);break;case 3:var B=S8();A7($),$.stateNode.passiveEffectDuration+=lQ(B);break;case 12:B=S8(),A7($),$.stateNode.passiveEffectDuration+=w7(B);break;case 22:B=$.stateNode,$.memoizedState!==null&&B._visibility&g8&&($.return===null||$.return.tag!==13)?(B._visibility&=~g8,VG($),($.mode&D0)!==V0&&0<=W0&&0<=R0&&0.05<R0-W0&&c4($,W0,R0,"Disconnect")):A7($);break;default:A7($)}($.mode&D0)!==V0&&0<=W0&&0<=R0&&(I1||0.05<_1)&&l4($,W0,R0,_1,L1),s5(Z),n4(G),I1=N,L1=X}function VG($){var Z=$.deletions;if(($.flags&16)!==0){if(Z!==null)for(var G=0;G<Z.length;G++){var X=Z[G],N=r5();a1=X,kH(X,$),(X.mode&D0)!==V0&&0<=W0&&0<=R0&&0.05<R0-W0&&c4(X,W0,R0,"Unmount"),s5(N)}AH($)}for($=$.child;$!==null;)vH($),$=$.sibling}function vH($){var Z=r5(),G=s4(),X=o4(),N=i4();switch($.tag){case 0:case 11:case 15:IX($,$.return,_5),VG($);break;case 22:var B=$.stateNode;B._visibility&g8&&(B._visibility&=~g8,VG($));break;default:VG($)}($.mode&D0)!==V0&&0<=W0&&0<=R0&&(I1||0.05<_1)&&l4($,W0,R0,_1,L1),s5(Z),n4(G),I1=N,L1=X}function kH($,Z){for(;a1!==null;){var G=a1,X=G,N=Z,B=r5(),W=s4(),w=o4(),V=i4();switch(X.tag){case 0:case 11:case 15:IX(X,N,_5);break;case 23:case 22:X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(N=X.memoizedState.cachePool.pool,N!=null&&f2(N));break;case 24:W7(X.memoizedState.cache)}if((X.mode&D0)!==V0&&0<=W0&&0<=R0&&(I1||0.05<_1)&&l4(X,W0,R0,_1,L1),s5(B),n4(W),I1=V,L1=w,X=G.child,X!==null)X.return=G,a1=X;else $:for(G=$;a1!==null;){if(X=a1,B=X.sibling,W=X.return,zH(X),X===G){a1=null;break $}if(B!==null){B.return=W,a1=B;break $}a1=W}}}function oL(){wE.forEach(function($){return $()})}function bH(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||x.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function o5($){if((o0&r1)!==t1&&S0!==0)return S0&-S0;var Z=x.T;return Z!==null?(Z._updatedFibers||(Z._updatedFibers=new Set),Z._updatedFibers.add($),xX()):f()}function fH(){if(v5===0)if((S0&536870912)===0||p0){var $=xG;xG<<=1,(xG&3932160)===0&&(xG=262144),v5=$}else v5=536870912;return $=Z4.current,$!==null&&($.flags|=32),v5}function C1($,Z,G){if(O9&&console.error("useInsertionEffect must not schedule updates."),VU&&(EJ=!0),$===K1&&(q1===Z$||q1===Q$)||$.cancelPendingCommit!==null)l$($,0),C6($,S0,v5,!1);if(M6($,G),(o0&r1)!==t1&&$===K1){if(Y8)switch(Z.tag){case 0:case 11:case 15:$=v0&&d(v0)||"Unknown",Uw.has($)||(Uw.add($),Z=d(Z)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",Z,$,$));break;case 1:Yw||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Yw=!0)}}else N8&&J7($,Z,G),q_(Z),$===K1&&((o0&r1)===t1&&(r6|=G),P1===p6&&C6($,S0,v5,!1)),G8($)}function yH($,Z,G){if((o0&(r1|G4))!==t1)throw Error("Should not already be working.");if(S0!==0&&v0!==null){var X=v0,N=o1();switch($W){case _Z:case Z$:var B=qZ;w1&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Suspended",B,N,N4,void 0,"primary-light")):console.timeStamp("Suspended",B,N,N4,void 0,"primary-light"));break;case Q$:B=qZ,w1&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Action",B,N,N4,void 0,"primary-light")):console.timeStamp("Action",B,N,N4,void 0,"primary-light"));break;default:w1&&(X=N-qZ,3>X||console.timeStamp("Blocked",qZ,N,N4,void 0,5>X?"primary-light":10>X?"primary":100>X?"primary-dark":"error"))}}B=(G=!G&&(Z&127)===0&&(Z&$.expiredLanes)===0||_2($,Z))?aL($,Z):kX($,Z,!0);var W=G;do{if(B===n8){I9&&!G&&C6($,Z,0,!1),Z=q1,qZ=g1(),$W=Z;break}else{if(X=o1(),N=$.current.alternate,W&&!iL(N)){c5(Z),N=i1,B=X,!w1||B<=N||(S1?S1.run(console.timeStamp.bind(console,"Teared Render",N,B,u0,g0,"error")):console.timeStamp("Teared Render",N,B,u0,g0,"error")),m2(Z,X),B=kX($,Z,!1),W=!1;continue}if(B===$$){if(W=Z,$.errorRecoveryDisabledLanes&W)var w=0;else w=$.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){c5(Z),W3(i1,X,Z,S1),m2(Z,X),Z=w;$:{X=$,B=W,W=EZ;var V=X.current.memoizedState.isDehydrated;if(V&&(l$(X,w).flags|=256),w=kX(X,w,!1),w!==$$){if(HU&&!V){X.errorRecoveryDisabledLanes|=B,r6|=B,B=p6;break $}X=P5,P5=W,X!==null&&(P5===null?P5=X:P5.push.apply(P5,X))}B=w}if(W=!1,B!==$$)continue;else X=o1()}}if(B===LZ){c5(Z),W3(i1,X,Z,S1),m2(Z,X),l$($,0),C6($,Z,0,!0);break}$:{switch(G=$,B){case n8:case LZ:throw Error("Root did not complete. This is a bug in React.");case p6:if((Z&4194048)!==Z)break;case wJ:c5(Z),yK(i1,X,Z,S1),m2(Z,X),N=Z,(N&127)!==0?ZJ=X:(N&4194048)!==0&&(QJ=X),C6(G,Z,v5,!c6);break $;case $$:P5=null;break;case WJ:case nW:break;default:throw Error("Unknown root exit status.")}if(x.actQueue!==null)bX(G,N,Z,P5,CZ,zJ,v5,r6,G$,B,null,null,i1,X);else{if((Z&62914560)===Z&&(W=VJ+aW-o1(),10<W)){if(C6(G,Z,v5,!c6),L2(G,0,!0)!==0)break $;b4=Z,G.timeoutHandle=ww(gH.bind(null,G,N,P5,CZ,zJ,Z,v5,r6,G$,c6,B,"Throttled",i1,X),W);break $}gH(G,N,P5,CZ,zJ,Z,v5,r6,G$,c6,B,null,i1,X)}}}break}while(1);G8($)}function gH($,Z,G,X,N,B,W,w,V,_,k,b,O,g){$.timeoutHandle=U$;var t=Z.subtreeFlags,Z0=null;if(t&8192||(t&16785408)===16785408){if(Z0={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:j8},DH(Z,B,Z0),t=(B&62914560)===B?VJ-o1():(B&4194048)===B?iW-o1():0,t=g_(Z0,t),t!==null){b4=B,$.cancelPendingCommit=t(bX.bind(null,$,Z,B,G,X,N,W,w,V,k,Z0,Z0.waitingForViewTransition?"Waiting for the previous Animation":0<Z0.count?0<Z0.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Z0.imgCount===1?"Suspended on an Image":0<Z0.imgCount?"Suspended on Images":null,O,g)),C6($,B,W,!_);return}}bX($,Z,B,G,X,N,W,w,V,k,Z0,b,O,g)}function iL($){for(var Z=$;;){var G=Z.tag;if((G===0||G===11||G===15)&&Z.flags&16384&&(G=Z.updateQueue,G!==null&&(G=G.stores,G!==null)))for(var X=0;X<G.length;X++){var N=G[X],B=N.getSnapshot;N=N.value;try{if(!z5(B(),N))return!1}catch(W){return!1}}if(G=Z.child,Z.subtreeFlags&16384&&G!==null)G.return=Z,Z=G;else{if(Z===$)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===$)return!0;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}return!0}function C6($,Z,G,X){Z&=~MU,Z&=~r6,$.suspendedLanes|=Z,$.pingedLanes&=~Z,X&&($.warmLanes|=Z),X=$.expirationTimes;for(var N=Z;0<N;){var B=31-w5(N),W=1<<B;X[B]=-1,N&=~W}G!==0&&P2($,G,Z)}function c$(){return(o0&(r1|G4))===t1?(k7(0,!1),!1):!0}function vX(){if(v0!==null){if(q1===S5)var $=v0.return;else $=v0,dQ(),p3($),T9=null,FZ=0,$=v0;for(;$!==null;)UH($.alternate,$),$=$.return;v0=null}}function m2($,Z){($&127)!==0&&(h6=Z),($&4194048)!==0&&(F8=Z),($&62914560)!==0&&(tF=Z),($&2080374784)!==0&&(eF=Z)}function l$($,Z){w1&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",g0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",g0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",g0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",g0,"primary-light"));var G=i1;if(i1=g1(),S0!==0&&0<G){if(c5(S0),P1===WJ||P1===p6)yK(G,i1,Z,S1);else{var X=i1,N=S1;if(w1&&!(X<=G)){var B=(Z&738197653)===Z?"tertiary-dark":"primary-dark",W=(Z&536870912)===Z?"Prewarm":(Z&201326741)===Z?"Interrupted Hydration":"Interrupted Render";N?N.run(console.timeStamp.bind(console,W,G,X,u0,g0,B)):console.timeStamp(W,G,X,u0,g0,B)}}m2(S0,i1)}if(G=S1,S1=null,(Z&127)!==0){S1=QZ,N=0<=M8&&M8<h6?h6:M8,X=0<=r2&&r2<h6?h6:r2,B=0<=X?X:0<=N?N:i1,0<=ZJ?(c5(2),gK(ZJ,B,Z,G)):(GJ&127)!==0&&(c5(2),M7(h6,B,p8)),G=N;var w=X,V=GZ,_=0<F9,k=x6===ZZ,b=x6===$J;if(N=i1,X=QZ,B=lY,W=rY,w1){if(u0="Blocking",0<G?G>N&&(G=N):G=N,0<w?w>G&&(w=G):w=G,V!==null&&G>w){var O=_?"secondary-light":"warning";X?X.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+V,w,G,u0,g0,O)):console.timeStamp(_?"Consecutive":"Event: "+V,w,G,u0,g0,O)}N>G&&(w=k?"error":(Z&738197653)===Z?"tertiary-light":"primary-light",k=b?"Promise Resolved":k?"Cascading Update":5<N-G?"Update Blocked":"Update",b=[],W!=null&&b.push(["Component name",W]),B!=null&&b.push(["Method name",B]),G={start:G,end:N,detail:{devtools:{properties:b,track:u0,trackGroup:g0,color:w}}},X?X.run(performance.measure.bind(performance,k,G)):performance.measure(k,G))}M8=-1.1,x6=0,rY=lY=null,ZJ=-1.1,F9=r2,r2=-1.1,h6=g1()}if((Z&4194048)!==0&&(S1=JZ,N=0<=d8&&d8<F8?F8:d8,G=0<=W4&&W4<F8?F8:W4,X=0<=u6&&u6<F8?F8:u6,B=0<=X?X:0<=G?G:i1,0<=QJ?(c5(256),gK(QJ,B,Z,S1)):(GJ&4194048)!==0&&(c5(256),M7(F8,B,p8)),b=X,w=s2,V=0<m6,_=sY===$J,B=i1,X=JZ,W=iF,k=aF,w1&&(u0="Transition",0<G?G>B&&(G=B):G=B,0<N?N>G&&(N=G):N=G,0<b?b>N&&(b=N):b=N,N>b&&w!==null&&(O=V?"secondary-light":"warning",X?X.run(console.timeStamp.bind(console,V?"Consecutive":"Event: "+w,b,N,u0,g0,O)):console.timeStamp(V?"Consecutive":"Event: "+w,b,N,u0,g0,O)),G>N&&(X?X.run(console.timeStamp.bind(console,"Action",N,G,u0,g0,"primary-dark")):console.timeStamp("Action",N,G,u0,g0,"primary-dark")),B>G&&(N=_?"Promise Resolved":5<B-G?"Update Blocked":"Update",b=[],k!=null&&b.push(["Component name",k]),W!=null&&b.push(["Method name",W]),G={start:G,end:B,detail:{devtools:{properties:b,track:u0,trackGroup:g0,color:"primary-light"}}},X?X.run(performance.measure.bind(performance,N,G)):performance.measure(N,G))),W4=d8=-1.1,sY=0,QJ=-1.1,m6=u6,u6=-1.1,F8=g1()),(Z&62914560)!==0&&(GJ&62914560)!==0&&(c5(4194304),M7(tF,i1,p8)),(Z&2080374784)!==0&&(GJ&2080374784)!==0&&(c5(268435456),M7(eF,i1,p8)),G=$.timeoutHandle,G!==U$&&($.timeoutHandle=U$,DE(G)),G=$.cancelPendingCommit,G!==null&&($.cancelPendingCommit=null,G()),b4=0,vX(),K1=$,v0=G=O8($.current,null),S0=Z,q1=S5,J4=null,c6=!1,I9=_2($,Z),HU=!1,P1=n8,G$=v5=MU=r6=l6=0,P5=EZ=null,zJ=!1,(Z&8)!==0&&(Z|=Z&32),X=$.entangledLanes,X!==0)for($=$.entanglements,X&=Z;0<X;)N=31-w5(X),B=1<<N,Z|=$[N],X&=~B;return w8=Z,gQ(),$=cF(),1000<$-pF&&(x.recentlyCreatedOwnerStacks=0,pF=$),S4.discardPendingWarnings(),G}function hH($,Z){L0=null,x.H=RZ,x.getCurrentStack=null,Y8=!1,t5=null,Z===w9||Z===YJ?(Z=qB(),q1=_Z):Z===aY?(Z=qB(),q1=oW):q1=Z===YU?BU:Z!==null&&typeof Z==="object"&&typeof Z.then==="function"?PZ:TJ,J4=Z;var G=v0;G===null?(P1=LZ,MG($,l5(Z,$.current))):G.mode&D0&&A3(G)}function xH(){var $=Z4.current;return $===null?!0:(S0&4194048)===S0?w4===null?!0:!1:(S0&62914560)===S0||(S0&536870912)!==0?$===w4:!1}function uH(){var $=x.H;return x.H=RZ,$===null?RZ:$}function mH(){var $=x.A;return x.A=WE,$}function LG($){S1===null&&(S1=$._debugTask==null?null:$._debugTask)}function _G(){P1=p6,c6||(S0&4194048)!==S0&&Z4.current!==null||(I9=!0),(l6&134217727)===0&&(r6&134217727)===0||K1===null||C6(K1,S0,v5,!1)}function kX($,Z,G){var X=o0;o0|=r1;var N=uH(),B=mH();if(K1!==$||S0!==Z){if(N8){var W=$.memoizedUpdaters;0<W.size&&(v7($,S0),W.clear()),F6($,Z)}CZ=null,l$($,Z)}Z=!1,W=P1;$:do try{if(q1!==S5&&v0!==null){var w=v0,V=J4;switch(q1){case BU:vX(),W=wJ;break $;case _Z:case Z$:case Q$:case PZ:Z4.current===null&&(Z=!0);var _=q1;if(q1=S5,J4=null,r$($,w,V,_),G&&I9){W=n8;break $}break;default:_=q1,q1=S5,J4=null,r$($,w,V,_)}}dH(),W=P1;break}catch(k){hH($,k)}while(1);return Z&&$.shellSuspendCounter++,dQ(),o0=X,x.H=N,x.A=B,v0===null&&(K1=null,S0=0,gQ()),W}function dH(){for(;v0!==null;)pH(v0)}function aL($,Z){var G=o0;o0|=r1;var X=uH(),N=mH();if(K1!==$||S0!==Z){if(N8){var B=$.memoizedUpdaters;0<B.size&&(v7($,S0),B.clear()),F6($,Z)}CZ=null,LJ=o1()+tW,l$($,Z)}else I9=_2($,Z);$:do try{if(q1!==S5&&v0!==null)Z:switch(Z=v0,B=J4,q1){case TJ:q1=S5,J4=null,r$($,Z,B,TJ);break;case Z$:case Q$:if(GB(B)){q1=S5,J4=null,cH(Z);break}Z=function(){q1!==Z$&&q1!==Q$||K1!==$||(q1=RJ),G8($)},B.then(Z,Z);break $;case _Z:q1=RJ;break $;case oW:q1=KU;break $;case RJ:GB(B)?(q1=S5,J4=null,cH(Z)):(q1=S5,J4=null,r$($,Z,B,RJ));break;case KU:var W=null;switch(v0.tag){case 26:W=v0.memoizedState;case 5:case 27:var w=v0;if(W?yM(W):w.stateNode.complete){q1=S5,J4=null;var V=w.sibling;if(V!==null)v0=V;else{var _=w.return;_!==null?(v0=_,PG(_)):v0=null}break Z}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}q1=S5,J4=null,r$($,Z,B,KU);break;case PZ:q1=S5,J4=null,r$($,Z,B,PZ);break;case BU:vX(),P1=wJ;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}x.actQueue!==null?dH():tL();break}catch(k){hH($,k)}while(1);if(dQ(),x.H=X,x.A=N,o0=G,v0!==null)return n8;return K1=null,S0=0,gQ(),P1}function tL(){for(;v0!==null&&!i_();)pH(v0)}function pH($){var Z=$.alternate;($.mode&D0)!==V0?(D3($),Z=G0($,PX,Z,$,w8),A3($)):Z=G0($,PX,Z,$,w8),$.memoizedProps=$.pendingProps,Z===null?PG($):v0=Z}function cH($){var Z=G0($,eL,$);$.memoizedProps=$.pendingProps,Z===null?PG($):v0=Z}function eL($){var Z=$.alternate,G=($.mode&D0)!==V0;switch(G&&D3($),$.tag){case 15:case 0:Z=ZH(Z,$,$.pendingProps,$.type,void 0,S0);break;case 11:Z=ZH(Z,$,$.pendingProps,$.type.render,$.ref,S0);break;case 5:p3($);default:UH(Z,$),$=v0=pK($,w8),Z=PX(Z,$,w8)}return G&&A3($),Z}function r$($,Z,G,X){dQ(),p3(Z),T9=null,FZ=0;var N=Z.return;try{if(gL($,N,Z,G,S0)){P1=LZ,MG($,l5(G,$.current)),v0=null;return}}catch(B){if(N!==null)throw v0=N,B;P1=LZ,MG($,l5(G,$.current)),v0=null;return}if(Z.flags&32768){if(p0||X===TJ)$=!0;else if(I9||(S0&536870912)!==0)$=!1;else if(c6=$=!0,X===Z$||X===Q$||X===_Z||X===PZ)X=Z4.current,X!==null&&X.tag===13&&(X.flags|=16384);lH(Z,$)}else PG(Z)}function PG($){var Z=$;do{if((Z.flags&32768)!==0){lH(Z,c6);return}var G=Z.alternate;if($=Z.return,D3(Z),G=G0(Z,uL,G,Z,w8),(Z.mode&D0)!==V0&&tK(Z),G!==null){v0=G;return}if(Z=Z.sibling,Z!==null){v0=Z;return}v0=Z=$}while(Z!==null);P1===n8&&(P1=nW)}function lH($,Z){do{var G=mL($.alternate,$);if(G!==null){G.flags&=32767,v0=G;return}if(($.mode&D0)!==V0){tK($),G=$.actualDuration;for(var X=$.child;X!==null;)G+=X.actualDuration,X=X.sibling;$.actualDuration=G}if(G=$.return,G!==null&&(G.flags|=32768,G.subtreeFlags=0,G.deletions=null),!Z&&($=$.sibling,$!==null)){v0=$;return}v0=$=G}while($!==null);P1=wJ,v0=null}function bX($,Z,G,X,N,B,W,w,V,_,k,b,O,g){$.cancelPendingCommit=null;do S7();while(d1!==n6);if(S4.flushLegacyContextWarning(),S4.flushPendingUnsafeLifecycleWarnings(),(o0&(r1|G4))!==t1)throw Error("Should not already be working.");if(c5(G),_===$$?W3(O,g,G,S1):X!==null?EL(O,g,G,X,Z!==null&&Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)!==0,S1):PL(O,g,G,S1),Z!==null){if(G===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),Z===$.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(B=Z.lanes|Z.childLanes,B|=uY,IQ($,G,B,W,w,V),$===K1&&(v0=K1=null,S0=0),j9=Z,o6=$,b4=G,wU=B,RU=N,Jw=X,TU=g,qw=b,f4=_J,Xw=null,Z.actualDuration!==0||(Z.subtreeFlags&10256)!==0||(Z.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,J_(t$,function(){return SZ=window.event,f4===_J&&(f4=WU),iH(),null})):($.callbackNode=null,$.callbackPriority=0),m8=null,g6=g1(),b!==null&&CL(g,g6,b,S1),X=(Z.flags&13878)!==0,(Z.subtreeFlags&13878)!==0||X){X=x.T,x.T=null,N=Z1.p,Z1.p=e5,W=o0,o0|=G4;try{sL($,Z,G)}finally{o0=W,Z1.p=N,x.T=X}}d1=$w,rH(),sH(),nH()}}function rH(){if(d1===$w){d1=n6;var $=o6,Z=j9,G=b4,X=(Z.flags&13878)!==0;if((Z.subtreeFlags&13878)!==0||X){X=x.T,x.T=null;var N=Z1.p;Z1.p=e5;var B=o0;o0|=G4;try{E9=G,C9=$,rQ(),PH(Z,$),C9=E9=null,G=DU;var W=kK($.containerInfo),w=G.focusedElem,V=G.selectionRange;if(W!==w&&w&&w.ownerDocument&&vK(w.ownerDocument.documentElement,w)){if(V!==null&&H3(w)){var{start:_,end:k}=V;if(k===void 0&&(k=_),"selectionStart"in w)w.selectionStart=_,w.selectionEnd=Math.min(k,w.value.length);else{var b=w.ownerDocument||document,O=b&&b.defaultView||window;if(O.getSelection){var g=O.getSelection(),t=w.textContent.length,Z0=Math.min(V.start,t),F1=V.end===void 0?Z0:Math.min(V.end,t);!g.extend&&Z0>F1&&(W=F1,F1=Z0,Z0=W);var l0=SK(w,Z0),j=SK(w,F1);if(l0&&j&&(g.rangeCount!==1||g.anchorNode!==l0.node||g.anchorOffset!==l0.offset||g.focusNode!==j.node||g.focusOffset!==j.offset)){var D=b.createRange();D.setStart(l0.node,l0.offset),g.removeAllRanges(),Z0>F1?(g.addRange(D),g.extend(j.node,j.offset)):(D.setEnd(j.node,j.offset),g.addRange(D))}}}}b=[];for(g=w;g=g.parentNode;)g.nodeType===1&&b.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof w.focus==="function"&&w.focus();for(w=0;w<b.length;w++){var v=b[w];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}hJ=!!OU,DU=OU=null}finally{o0=B,Z1.p=N,x.T=X}}$.current=Z,d1=Zw}}function sH(){if(d1===Zw){d1=n6;var $=Xw;if($!==null){g6=g1();var Z=u8,G=g6;!w1||G<=Z||(p8?p8.run(console.timeStamp.bind(console,$,Z,G,u0,g0,"secondary-light")):console.timeStamp($,Z,G,u0,g0,"secondary-light"))}$=o6,Z=j9,G=b4;var X=(Z.flags&8772)!==0;if((Z.subtreeFlags&8772)!==0||X){X=x.T,x.T=null;var N=Z1.p;Z1.p=e5;var B=o0;o0|=G4;try{E9=G,C9=$,rQ(),RH($,Z.alternate,Z),C9=E9=null}finally{o0=B,Z1.p=N,x.T=X}}$=TU,Z=qw,u8=g1(),$=Z===null?$:g6,Z=u8,G=f4===FU,X=S1,m8!==null?hK($,Z,m8,!1,X):!w1||Z<=$||(X?X.run(console.timeStamp.bind(console,G?"Commit Interrupted View Transition":"Commit",$,Z,u0,g0,G?"error":"secondary-dark")):console.timeStamp(G?"Commit Interrupted View Transition":"Commit",$,Z,u0,g0,G?"error":"secondary-dark")),d1=Qw}}function nH(){if(d1===Gw||d1===Qw){if(d1===Gw){var $=u8;u8=g1();var Z=u8,G=f4===FU;!w1||Z<=$||(p8?p8.run(console.timeStamp.bind(console,G?"Interrupted View Transition":"Starting Animation",$,Z,u0,g0,G?"error":"secondary-light")):console.timeStamp(G?"Interrupted View Transition":"Starting Animation",$,Z,u0,g0,G?" error":"secondary-light")),f4!==FU&&(f4=eW)}d1=n6,a_(),$=o6;var X=j9;Z=b4,G=Jw;var N=X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0;N?d1=PJ:(d1=n6,j9=o6=null,oH($,$.pendingLanes),J$=0,jZ=null);var B=$.pendingLanes;if(B===0&&(s6=null),N||$M($),B=P(Z),X=X.stateNode,H5&&typeof H5.onCommitFiberRoot==="function")try{var W=(X.current.flags&128)===128;switch(B){case e5:var w=RY;break;case D4:w=zY;break;case K8:w=t$;break;case mG:w=VY;break;default:w=t$}H5.onCommitFiberRoot(e$,X,w,W)}catch(b){U8||(U8=!0,console.error("React instrumentation encountered an error: %o",b))}if(N8&&$.memoizedUpdaters.clear(),oL(),G!==null){W=x.T,w=Z1.p,Z1.p=e5,x.T=null;try{var V=$.onRecoverableError;for(X=0;X<G.length;X++){var _=G[X],k=$_(_.stack);G0(_.source,V,_.value,k)}}finally{x.T=W,Z1.p=w}}(b4&3)!==0&&S7(),G8($),B=$.pendingLanes,(Z&261930)!==0&&(B&42)!==0?(qJ=!0,$===zU?IZ++:(IZ=0,zU=$)):IZ=0,N||m2(Z,u8),k7(0,!1)}}function $_($){return $={componentStack:$},Object.defineProperty($,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),$}function oH($,Z){($.pooledCacheLanes&=Z)===0&&(Z=$.pooledCache,Z!=null&&($.pooledCache=null,W7(Z)))}function S7(){return rH(),sH(),nH(),iH()}function iH(){if(d1!==PJ)return!1;var $=o6,Z=wU;wU=0;var G=P(b4),X=K8===0||K8>G?K8:G;G=x.T;var N=Z1.p;try{Z1.p=X,x.T=null;var B=RU;RU=null,X=o6;var W=b4;if(d1=n6,j9=o6=null,b4=0,(o0&(r1|G4))!==t1)throw Error("Cannot flush passive effects while already rendering.");c5(W),VU=!0,EJ=!1;var w=0;if(m8=null,w=o1(),f4===eW)M7(u8,w,p8);else{var V=u8,_=w,k=f4===WU;!w1||_<=V||(S1?S1.run(console.timeStamp.bind(console,k?"Waiting for Paint":"Waiting",V,_,u0,g0,"secondary-light")):console.timeStamp(k?"Waiting for Paint":"Waiting",V,_,u0,g0,"secondary-light"))}V=o0,o0|=G4;var b=X.current;rQ(),SH(b);var O=X.current;b=TU,rQ(),jH(X,O,W,B,b),$M(X),o0=V;var g=o1();if(O=w,b=S1,m8!==null?hK(O,g,m8,!0,b):!w1||g<=O||(b?b.run(console.timeStamp.bind(console,"Remaining Effects",O,g,u0,g0,"secondary-dark")):console.timeStamp("Remaining Effects",O,g,u0,g0,"secondary-dark")),m2(W,g),k7(0,!1),EJ?X===jZ?J$++:(J$=0,jZ=X):J$=0,EJ=VU=!1,H5&&typeof H5.onPostCommitFiberRoot==="function")try{H5.onPostCommitFiberRoot(e$,X)}catch(Z0){U8||(U8=!0,console.error("React instrumentation encountered an error: %o",Z0))}var t=X.current.stateNode;return t.effectDuration=0,t.passiveEffectDuration=0,!0}finally{Z1.p=N,x.T=G,oH($,Z)}}function aH($,Z,G){Z=l5(G,Z),eK(Z),Z=HX($.stateNode,Z,2),$=L6($,Z,2),$!==null&&(M6($,2),G8($))}function $1($,Z,G){if(O9=!1,$.tag===3)aH($,$,G);else{for(;Z!==null;){if(Z.tag===3){aH(Z,$,G);return}if(Z.tag===1){var X=Z.stateNode;if(typeof Z.type.getDerivedStateFromError==="function"||typeof X.componentDidCatch==="function"&&(s6===null||!s6.has(X))){$=l5(G,$),eK($),G=MX(2),X=L6(Z,G,2),X!==null&&(FX(G,X,Z,$),M6(X,2),G8(X));return}}Z=Z.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
153
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+X,G0(Q,function(T,V){console.error("%s must not return anything besides a function, which is used for clean-up.%s",T,V)},B,F)}G=G.next}while(G!==N)}}catch(T){e0(Q,Q.return,T)}}function p7($,Q,G){try{var X=Q.updateQueue,N=X!==null?X.lastEffect:null;if(N!==null){var B=N.next;X=B;do{if((X.tag&$)===$){var F=X.inst,T=F.destroy;T!==void 0&&(F.destroy=void 0,($&C5)!==Wq&&(A9=!0),N=Q,G0(N,HP,N,G,T),($&C5)!==Wq&&(A9=!1))}X=X.next}while(X!==B)}}catch(V){e0(Q,Q.return,V)}}function MH($,Q){Q$($)?($$(),OQ(Q,$),e4()):OQ(Q,$)}function A3($,Q,G){Q$($)?($$(),p7(G,$,Q),e4()):p7(G,$,Q)}function WH($){var Q=$.updateQueue;if(Q!==null){var G=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||E9||(G.props!==$.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",d($)||"instance"),G.state!==$.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",d($)||"instance"));try{G0($,TB,Q,G)}catch(X){e0($,$.return,X)}}}function pL($,Q,G){return $.getSnapshotBeforeUpdate(Q,G)}function cL($,Q){var{memoizedProps:G,memoizedState:X}=Q;Q=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||E9||(Q.props!==$.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",d($)||"instance"),Q.state!==$.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",d($)||"instance"));try{var N=m6($.type,G),B=G0($,pL,Q,N,X);G=oF,B!==void 0||G.has($.type)||(G.add($.type),G0($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",d($))})),Q.__reactInternalSnapshotBeforeUpdate=B}catch(F){e0($,$.return,F)}}function FH($,Q,G){G.props=m6($.type,$.memoizedProps),G.state=$.memoizedState,Q$($)?($$(),G0($,WF,$,Q,G),e4()):G0($,WF,$,Q,G)}function lL($){var Q=$.ref;if(Q!==null){switch($.tag){case 26:case 27:case 5:var G=$.stateNode;break;case 30:G=$.stateNode;break;default:G=$.stateNode}if(typeof Q==="function")if(Q$($))try{$$(),$.refCleanup=Q(G)}finally{e4()}else $.refCleanup=Q(G);else typeof Q==="string"?console.error("String refs are no longer supported."):Q.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",d($)),Q.current=G}}function DQ($,Q){try{G0($,lL,$)}catch(G){e0($,Q,G)}}function Z$($,Q){var{ref:G,refCleanup:X}=$;if(G!==null)if(typeof X==="function")try{if(Q$($))try{$$(),G0($,X)}finally{e4($)}else G0($,X)}catch(N){e0($,Q,N)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof G==="function")try{if(Q$($))try{$$(),G0($,G,null)}finally{e4($)}else G0($,G,null)}catch(N){e0($,Q,N)}else G.current=null}function TH($,Q,G,X){var N=$.memoizedProps,B=N.id,F=N.onCommit;N=N.onRender,Q=Q===null?"mount":"update",Uq&&(Q="nested-update"),typeof N==="function"&&N(B,Q,$.actualDuration,$.treeBaseDuration,$.actualStartTime,G),typeof F==="function"&&F(B,Q,X,G)}function rL($,Q,G,X){var N=$.memoizedProps;$=N.id,N=N.onPostCommit,Q=Q===null?"mount":"update",Uq&&(Q="nested-update"),typeof N==="function"&&N($,Q,X,G)}function RH($){var{type:Q,memoizedProps:G,stateNode:X}=$;try{G0($,T_,X,Q,G,$)}catch(N){e0($,$.return,N)}}function S3($,Q,G){try{G0($,w_,$.stateNode,$.type,G,Q,$)}catch(X){e0($,$.return,X)}}function wH($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&v8($.type)||$.tag===4}function v3($){$:for(;;){for(;$.sibling===null;){if($.return===null||wH($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&v8($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function k3($,Q,G){var X=$.tag;if(X===5||X===6)$=$.stateNode,Q?(EM(G),(G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G).insertBefore($,Q)):(EM(G),Q=G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G,Q.appendChild($),G=G._reactRootContainer,G!==null&&G!==void 0||Q.onclick!==null||(Q.onclick=A$));else if(X!==4&&(X===27&&v8($.type)&&(G=$.stateNode,Q=null),$=$.child,$!==null))for(k3($,Q,G),$=$.sibling;$!==null;)k3($,Q,G),$=$.sibling}function _G($,Q,G){var X=$.tag;if(X===5||X===6)$=$.stateNode,Q?G.insertBefore($,Q):G.appendChild($);else if(X!==4&&(X===27&&v8($.type)&&(G=$.stateNode),$=$.child,$!==null))for(_G($,Q,G),$=$.sibling;$!==null;)_G($,Q,G),$=$.sibling}function sL($){for(var Q,G=$.return;G!==null;){if(wH(G)){Q=G;break}G=G.return}if(Q==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(Q.tag){case 27:Q=Q.stateNode,G=v3($),_G($,G,Q);break;case 5:G=Q.stateNode,Q.flags&32&&(PM(G),Q.flags&=-33),Q=v3($),_G($,Q,G);break;case 3:case 4:Q=Q.stateNode.containerInfo,G=v3($),k3($,G,Q);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function zH($){var{stateNode:Q,memoizedProps:G}=$;try{G0($,b_,$.type,G,Q,$)}catch(X){e0($,$.return,X)}}function VH($,Q){return Q.tag===31?(Q=Q.memoizedState,$.memoizedState!==null&&Q===null):Q.tag===13?($=$.memoizedState,Q=Q.memoizedState,$!==null&&$.dehydrated!==null&&(Q===null||Q.dehydrated===null)):Q.tag===3?$.memoizedState.isDehydrated&&(Q.flags&256)===0:!1}function nL($,Q){if($=$.containerInfo,vU=dq,$=fK($),TX($)){if("selectionStart"in $)var G={start:$.selectionStart,end:$.selectionEnd};else $:{G=(G=$.ownerDocument)&&G.defaultView||window;var X=G.getSelection&&G.getSelection();if(X&&X.rangeCount!==0){G=X.anchorNode;var{anchorOffset:N,focusNode:B}=X;X=X.focusOffset;try{G.nodeType,B.nodeType}catch(e){G=null;break $}var F=0,T=-1,V=-1,_=0,k=0,b=$,O=null;Q:for(;;){for(var f;;){if(b!==G||N!==0&&b.nodeType!==3||(T=F+N),b!==B||X!==0&&b.nodeType!==3||(V=F+X),b.nodeType===3&&(F+=b.nodeValue.length),(f=b.firstChild)===null)break;O=b,b=f}for(;;){if(b===$)break Q;if(O===G&&++_===N&&(T=F),O===B&&++k===X&&(V=F),(f=b.nextSibling)!==null)break;b=O,O=b.parentNode}b=f}G=T===-1||V===-1?null:{start:T,end:V}}else G=null}G=G||{start:0,end:0}}else G=null;kU={focusedElem:$,selectionRange:G},dq=!1;for(a1=Q;a1!==null;)if(Q=a1,$=Q.child,(Q.subtreeFlags&1028)!==0&&$!==null)$.return=Q,a1=$;else for(;a1!==null;){switch($=Q=a1,G=$.alternate,N=$.flags,$.tag){case 0:if((N&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(G=0;G<$.length;G++)N=$[G],N.ref.impl=N.nextImpl;break;case 11:case 15:break;case 1:(N&1024)!==0&&G!==null&&cL($,G);break;case 3:if((N&1024)!==0){if($=$.stateNode.containerInfo,G=$.nodeType,G===9)e3($);else if(G===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":e3($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((N&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if($=Q.sibling,$!==null){$.return=Q.return,a1=$;break}a1=Q.return}}function LH($,Q,G){var X=n5(),N=o4(),B=a4(),F=t4(),T=G.flags;switch(G.tag){case 0:case 11:case 15:J$($,G),T&4&&HH(G,G4|z4);break;case 1:if(J$($,G),T&4)if($=G.stateNode,Q===null)G.type.defaultProps||"ref"in G.memoizedProps||E9||($.props!==G.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",d(G)||"instance"),$.state!==G.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",d(G)||"instance")),Q$(G)?($$(),G0(G,$U,G,$),e4()):G0(G,$U,G,$);else{var V=m6(G.type,Q.memoizedProps);Q=Q.memoizedState,G.type.defaultProps||"ref"in G.memoizedProps||E9||($.props!==G.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",d(G)||"instance"),$.state!==G.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",d(G)||"instance")),Q$(G)?($$(),G0(G,BF,G,$,V,Q,$.__reactInternalSnapshotBeforeUpdate),e4()):G0(G,BF,G,$,V,Q,$.__reactInternalSnapshotBeforeUpdate)}T&64&&WH(G),T&512&&DQ(G,G.return);break;case 3:if(Q=b$(),J$($,G),T&64&&(T=G.updateQueue,T!==null)){if(V=null,G.child!==null)switch(G.child.tag){case 27:case 5:V=G.child.stateNode;break;case 1:V=G.child.stateNode}try{G0(G,TB,T,V)}catch(k){e0(G,G.return,k)}}$.effectDuration+=oJ(Q);break;case 27:Q===null&&T&4&&zH(G);case 26:case 5:if(J$($,G),Q===null){if(T&4)RH(G);else if(T&64){$=G.type,Q=G.memoizedProps,V=G.stateNode;try{G0(G,R_,V,$,Q,G)}catch(k){e0(G,G.return,k)}}}T&512&&DQ(G,G.return);break;case 12:if(T&4){T=b$(),J$($,G),$=G.stateNode,$.effectDuration+=RQ(T);try{G0(G,TH,G,Q,d8,$.effectDuration)}catch(k){e0(G,G.return,k)}}else J$($,G);break;case 31:J$($,G),T&4&&PH($,G);break;case 13:J$($,G),T&4&&EH($,G),T&64&&($=G.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(T=J_.bind(null,G),A_($,T))));break;case 22:if(T=G.memoizedState!==null||i$,!T){Q=Q!==null&&Q.memoizedState!==null||u1,V=i$;var _=u1;i$=T,(u1=Q)&&!_?(G$($,G,(G.subtreeFlags&8772)!==0),(G.mode&O0)!==V0&&0<=T0&&0<=w0&&0.05<w0-T0&&xJ(G,T0,w0)):J$($,G),i$=V,u1=_}break;case 30:break;default:J$($,G)}(G.mode&O0)!==V0&&0<=T0&&0<=w0&&((j1||0.05<C1)&&s4(G,T0,w0,C1,L1),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<w0-T0&&(VH(G.return.alternate,G.return)||r4(G,T0,w0,"Mount"))),o5(X),i4(N),L1=B,j1=F}function _H($){var Q=$.alternate;Q!==null&&($.alternate=null,_H(Q)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(Q=$.stateNode,Q!==null&&$0(Q)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function g$($,Q,G){for(G=G.child;G!==null;)CH($,Q,G),G=G.sibling}function CH($,Q,G){if(M5&&typeof M5.onCommitFiberUnmount==="function")try{M5.onCommitFiberUnmount(Q9,G)}catch(_){K$||(K$=!0,console.error("React instrumentation encountered an error: %o",_))}var X=n5(),N=o4(),B=a4(),F=t4();switch(G.tag){case 26:u1||Z$(G,Q),g$($,Q,G),G.memoizedState?G.memoizedState.count--:G.stateNode&&($=G.stateNode,$.parentNode.removeChild($));break;case 27:u1||Z$(G,Q);var T=m1,V=v5;v8(G.type)&&(m1=G.stateNode,v5=!1),g$($,Q,G),G0(G,hQ,G.stateNode),m1=T,v5=V;break;case 5:u1||Z$(G,Q);case 6:if(T=m1,V=v5,m1=null,g$($,Q,G),m1=T,v5=V,m1!==null)if(v5)try{G0(G,L_,m1,G.stateNode)}catch(_){e0(G,Q,_)}else try{G0(G,V_,m1,G.stateNode)}catch(_){e0(G,Q,_)}break;case 18:m1!==null&&(v5?($=m1,IM($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,G.stateNode),a7($)):IM(m1,G.stateNode));break;case 4:T=m1,V=v5,m1=G.stateNode.containerInfo,v5=!0,g$($,Q,G),m1=T,v5=V;break;case 0:case 11:case 14:case 15:p7(C5,G,Q),u1||D3(G,Q,G4),g$($,Q,G);break;case 1:u1||(Z$(G,Q),T=G.stateNode,typeof T.componentWillUnmount==="function"&&FH(G,Q,T)),g$($,Q,G);break;case 21:g$($,Q,G);break;case 22:u1=(T=u1)||G.memoizedState!==null,g$($,Q,G),u1=T;break;default:g$($,Q,G)}(G.mode&O0)!==V0&&0<=T0&&0<=w0&&(j1||0.05<C1)&&s4(G,T0,w0,C1,L1),o5(X),i4(N),L1=B,j1=F}function PH($,Q){if(Q.memoizedState===null&&($=Q.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{G0(Q,v_,$)}catch(G){e0(Q,Q.return,G)}}}function EH($,Q){if(Q.memoizedState===null&&($=Q.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{G0(Q,k_,$)}catch(G){e0(Q,Q.return,G)}}function oL($){switch($.tag){case 31:case 13:case 19:var Q=$.stateNode;return Q===null&&(Q=$.stateNode=new iF),Q;case 22:return $=$.stateNode,Q=$._retryCache,Q===null&&(Q=$._retryCache=new iF),Q;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function CG($,Q){var G=oL($);Q.forEach(function(X){if(!G.has(X)){if(G.add(X),B$)if(I9!==null&&j9!==null)kQ(j9,I9);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var N=G_.bind(null,$,X);X.then(N,N)}})}function A5($,Q){var G=Q.deletions;if(G!==null)for(var X=0;X<G.length;X++){var N=$,B=Q,F=G[X],T=n5(),V=B;$:for(;V!==null;){switch(V.tag){case 27:if(v8(V.type)){m1=V.stateNode,v5=!1;break $}break;case 5:m1=V.stateNode,v5=!1;break $;case 3:case 4:m1=V.stateNode.containerInfo,v5=!0;break $}V=V.return}if(m1===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");CH(N,B,F),m1=null,v5=!1,(F.mode&O0)!==V0&&0<=T0&&0<=w0&&0.05<w0-T0&&r4(F,T0,w0,"Unmount"),o5(T),N=F,B=N.alternate,B!==null&&(B.return=null),N.return=null}if(Q.subtreeFlags&13886)for(Q=Q.child;Q!==null;)IH(Q,$),Q=Q.sibling}function IH($,Q){var G=n5(),X=o4(),N=a4(),B=t4(),F=$.alternate,T=$.flags;switch($.tag){case 0:case 11:case 14:case 15:A5(Q,$),S5($),T&4&&(p7(C5|z4,$,$.return),OQ(C5|z4,$),D3($,$.return,G4|z4));break;case 1:if(A5(Q,$),S5($),T&512&&(u1||F===null||Z$(F,F.return)),T&64&&i$&&(T=$.updateQueue,T!==null&&(F=T.callbacks,F!==null))){var V=T.shared.hiddenCallbacks;T.shared.hiddenCallbacks=V===null?F:V.concat(F)}break;case 26:if(V=y4,A5(Q,$),S5($),T&512&&(u1||F===null||Z$(F,F.return)),T&4){var _=F!==null?F.memoizedState:null;if(T=$.memoizedState,F===null)if(T===null)if($.stateNode===null){$:{T=$.type,F=$.memoizedProps,V=V.ownerDocument||V;Q:switch(T){case"title":if(_=V.getElementsByTagName("title")[0],!_||_[lQ]||_[G5]||_.namespaceURI===J9||_.hasAttribute("itemprop"))_=V.createElement(T),V.head.insertBefore(_,V.querySelector("head > title"));J5(_,T,F),_[G5]=$,F0(_),T=_;break $;case"link":var k=gM("link","href",V).get(T+(F.href||""));if(k){for(var b=0;b<k.length;b++)if(_=k[b],_.getAttribute("href")===(F.href==null||F.href===""?null:F.href)&&_.getAttribute("rel")===(F.rel==null?null:F.rel)&&_.getAttribute("title")===(F.title==null?null:F.title)&&_.getAttribute("crossorigin")===(F.crossOrigin==null?null:F.crossOrigin)){k.splice(b,1);break Q}}_=V.createElement(T),J5(_,T,F),V.head.appendChild(_);break;case"meta":if(k=gM("meta","content",V).get(T+(F.content||""))){for(b=0;b<k.length;b++)if(_=k[b],X1(F.content,"content"),_.getAttribute("content")===(F.content==null?null:""+F.content)&&_.getAttribute("name")===(F.name==null?null:F.name)&&_.getAttribute("property")===(F.property==null?null:F.property)&&_.getAttribute("http-equiv")===(F.httpEquiv==null?null:F.httpEquiv)&&_.getAttribute("charset")===(F.charSet==null?null:F.charSet)){k.splice(b,1);break Q}}_=V.createElement(T),J5(_,T,F),V.head.appendChild(_);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+T+'". This is a bug in React.')}_[G5]=$,F0(_),T=_}$.stateNode=T}else hM(V,$.type,$.stateNode);else $.stateNode=fM(V,T,$.memoizedProps);else _!==T?(_===null?F.stateNode!==null&&(F=F.stateNode,F.parentNode.removeChild(F)):_.count--,T===null?hM(V,$.type,$.stateNode):fM(V,T,$.memoizedProps)):T===null&&$.stateNode!==null&&S3($,$.memoizedProps,F.memoizedProps)}break;case 27:A5(Q,$),S5($),T&512&&(u1||F===null||Z$(F,F.return)),F!==null&&T&4&&S3($,$.memoizedProps,F.memoizedProps);break;case 5:if(A5(Q,$),S5($),T&512&&(u1||F===null||Z$(F,F.return)),$.flags&32){V=$.stateNode;try{G0($,PM,V)}catch(Z0){e0($,$.return,Z0)}}T&4&&$.stateNode!=null&&(V=$.memoizedProps,S3($,V,F!==null?F.memoizedProps:V)),T&1024&&(MU=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(A5(Q,$),S5($),T&4){if($.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");T=$.memoizedProps,F=F!==null?F.memoizedProps:T,V=$.stateNode;try{G0($,z_,V,F,T)}catch(Z0){e0($,$.return,Z0)}}break;case 3:if(V=b$(),xq=null,_=y4,y4=SG(Q.containerInfo),A5(Q,$),y4=_,S5($),T&4&&F!==null&&F.memoizedState.isDehydrated)try{G0($,S_,Q.containerInfo)}catch(Z0){e0($,$.return,Z0)}MU&&(MU=!1,jH($)),Q.effectDuration+=oJ(V);break;case 4:T=y4,y4=SG($.stateNode.containerInfo),A5(Q,$),S5($),y4=T;break;case 12:T=b$(),A5(Q,$),S5($),$.stateNode.effectDuration+=RQ(T);break;case 31:A5(Q,$),S5($),T&4&&(T=$.updateQueue,T!==null&&($.updateQueue=null,CG($,T)));break;case 13:A5(Q,$),S5($),$.child.flags&8192&&$.memoizedState!==null!==(F!==null&&F.memoizedState!==null)&&(Pq=o1()),T&4&&(T=$.updateQueue,T!==null&&($.updateQueue=null,CG($,T)));break;case 22:V=$.memoizedState!==null;var O=F!==null&&F.memoizedState!==null,f=i$,e=u1;if(i$=f||V,u1=e||O,A5(Q,$),u1=e,i$=f,O&&!V&&!f&&!e&&($.mode&O0)!==V0&&0<=T0&&0<=w0&&0.05<w0-T0&&xJ($,T0,w0),S5($),T&8192)$:for(Q=$.stateNode,Q._visibility=V?Q._visibility&~$Z:Q._visibility|$Z,!V||F===null||O||i$||u1||(d6($),($.mode&O0)!==V0&&0<=T0&&0<=w0&&0.05<w0-T0&&r4($,T0,w0,"Disconnect")),F=null,Q=$;;){if(Q.tag===5||Q.tag===26){if(F===null){O=F=Q;try{_=O.stateNode,V?G0(O,C_,_):G0(O,I_,O.stateNode,O.memoizedProps)}catch(Z0){e0(O,O.return,Z0)}}}else if(Q.tag===6){if(F===null){O=Q;try{k=O.stateNode,V?G0(O,P_,k):G0(O,j_,k,O.memoizedProps)}catch(Z0){e0(O,O.return,Z0)}}}else if(Q.tag===18){if(F===null){O=Q;try{b=O.stateNode,V?G0(O,__,b):G0(O,E_,O.stateNode)}catch(Z0){e0(O,O.return,Z0)}}}else if((Q.tag!==22&&Q.tag!==23||Q.memoizedState===null||Q===$)&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===$)break $;for(;Q.sibling===null;){if(Q.return===null||Q.return===$)break $;F===Q&&(F=null),Q=Q.return}F===Q&&(F=null),Q.sibling.return=Q.return,Q=Q.sibling}T&4&&(T=$.updateQueue,T!==null&&(F=T.retryQueue,F!==null&&(T.retryQueue=null,CG($,F))));break;case 19:A5(Q,$),S5($),T&4&&(T=$.updateQueue,T!==null&&($.updateQueue=null,CG($,T)));break;case 30:break;case 21:break;default:A5(Q,$),S5($)}($.mode&O0)!==V0&&0<=T0&&0<=w0&&((j1||0.05<C1)&&s4($,T0,w0,C1,L1),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<w0-T0&&(VH($.return.alternate,$.return)||r4($,T0,w0,"Mount"))),o5(G),i4(X),L1=N,j1=B}function S5($){var Q=$.flags;if(Q&2){try{G0($,sL,$)}catch(G){e0($,$.return,G)}$.flags&=-3}Q&4096&&($.flags&=-4097)}function jH($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var Q=$;jH(Q),Q.tag===5&&Q.flags&1024&&Q.stateNode.reset(),$=$.sibling}}function J$($,Q){if(Q.subtreeFlags&8772)for(Q=Q.child;Q!==null;)LH($,Q.alternate,Q),Q=Q.sibling}function OH($){var Q=n5(),G=o4(),X=a4(),N=t4();switch($.tag){case 0:case 11:case 14:case 15:D3($,$.return,G4),d6($);break;case 1:Z$($,$.return);var B=$.stateNode;typeof B.componentWillUnmount==="function"&&FH($,$.return,B),d6($);break;case 27:G0($,hQ,$.stateNode);case 26:case 5:Z$($,$.return),d6($);break;case 22:$.memoizedState===null&&d6($);break;case 30:d6($);break;default:d6($)}($.mode&O0)!==V0&&0<=T0&&0<=w0&&(j1||0.05<C1)&&s4($,T0,w0,C1,L1),o5(Q),i4(G),L1=X,j1=N}function d6($){for($=$.child;$!==null;)OH($),$=$.sibling}function DH($,Q,G,X){var N=n5(),B=o4(),F=a4(),T=t4(),V=G.flags;switch(G.tag){case 0:case 11:case 15:G$($,G,X),HH(G,G4);break;case 1:if(G$($,G,X),Q=G.stateNode,typeof Q.componentDidMount==="function"&&G0(G,$U,G,Q),Q=G.updateQueue,Q!==null){$=G.stateNode;try{G0(G,SL,Q,$)}catch(_){e0(G,G.return,_)}}X&&V&64&&WH(G),DQ(G,G.return);break;case 27:zH(G);case 26:case 5:G$($,G,X),X&&Q===null&&V&4&&RH(G),DQ(G,G.return);break;case 12:if(X&&V&4){V=b$(),G$($,G,X),X=G.stateNode,X.effectDuration+=RQ(V);try{G0(G,TH,G,Q,d8,X.effectDuration)}catch(_){e0(G,G.return,_)}}else G$($,G,X);break;case 31:G$($,G,X),X&&V&4&&PH($,G);break;case 13:G$($,G,X),X&&V&4&&EH($,G);break;case 22:G.memoizedState===null&&G$($,G,X),DQ(G,G.return);break;case 30:break;default:G$($,G,X)}(G.mode&O0)!==V0&&0<=T0&&0<=w0&&(j1||0.05<C1)&&s4(G,T0,w0,C1,L1),o5(N),i4(B),L1=F,j1=T}function G$($,Q,G){G=G&&(Q.subtreeFlags&8772)!==0;for(Q=Q.child;Q!==null;)DH($,Q.alternate,Q,G),Q=Q.sibling}function b3($,Q){var G=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(G=$.memoizedState.cachePool.pool),$=null,Q.memoizedState!==null&&Q.memoizedState.cachePool!==null&&($=Q.memoizedState.cachePool.pool),$!==G&&($!=null&&g6($),G!=null&&TQ(G))}function y3($,Q){$=null,Q.alternate!==null&&($=Q.alternate.memoizedState.cache),Q=Q.memoizedState.cache,Q!==$&&(g6(Q),$!=null&&TQ($))}function D4($,Q,G,X,N){if(Q.subtreeFlags&10256||Q.actualDuration!==0&&(Q.alternate===null||Q.alternate.child!==Q.child))for(Q=Q.child;Q!==null;){var B=Q.sibling;AH($,Q,G,X,B!==null?B.actualStartTime:N),Q=B}}function AH($,Q,G,X,N){var B=n5(),F=o4(),T=a4(),V=t4(),_=h8,k=Q.flags;switch(Q.tag){case 0:case 11:case 15:(Q.mode&O0)!==V0&&0<Q.actualStartTime&&(Q.flags&1)!==0&&uJ(Q,Q.actualStartTime,N,l1,G),D4($,Q,G,X,N),k&2048&&MH(Q,P5|z4);break;case 1:(Q.mode&O0)!==V0&&0<Q.actualStartTime&&((Q.flags&128)!==0?wX(Q,Q.actualStartTime,N,[]):(Q.flags&1)!==0&&uJ(Q,Q.actualStartTime,N,l1,G)),D4($,Q,G,X,N);break;case 3:var b=b$(),O=l1;l1=Q.alternate!==null&&Q.alternate.memoizedState.isDehydrated&&(Q.flags&256)===0,D4($,Q,G,X,N),l1=O,k&2048&&(G=null,Q.alternate!==null&&(G=Q.alternate.memoizedState.cache),X=Q.memoizedState.cache,X!==G&&(g6(X),G!=null&&TQ(G))),$.passiveEffectDuration+=oJ(b);break;case 12:if(k&2048){k=b$(),D4($,Q,G,X,N),$=Q.stateNode,$.passiveEffectDuration+=RQ(k);try{G0(Q,rL,Q,Q.alternate,d8,$.passiveEffectDuration)}catch(f){e0(Q,Q.return,f)}}else D4($,Q,G,X,N);break;case 31:k=l1,b=Q.alternate!==null?Q.alternate.memoizedState:null,O=Q.memoizedState,b!==null&&O===null?(O=Q.deletions,O!==null&&0<O.length&&O[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&wX(Q,Q.actualStartTime,N,b)):l1=!0):l1=!1,D4($,Q,G,X,N),l1=k;break;case 13:k=l1,b=Q.alternate!==null?Q.alternate.memoizedState:null,O=Q.memoizedState,b===null||b.dehydrated===null||O!==null&&O.dehydrated!==null?l1=!1:(O=Q.deletions,O!==null&&0<O.length&&O[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&wX(Q,Q.actualStartTime,N,b)):l1=!0),D4($,Q,G,X,N),l1=k;break;case 23:break;case 22:O=Q.stateNode,b=Q.alternate,Q.memoizedState!==null?O._visibility&u$?D4($,Q,G,X,N):AQ($,Q,G,X,N):O._visibility&u$?D4($,Q,G,X,N):(O._visibility|=u$,c7($,Q,G,X,(Q.subtreeFlags&10256)!==0||Q.actualDuration!==0&&(Q.alternate===null||Q.alternate.child!==Q.child),N),(Q.mode&O0)===V0||l1||($=Q.actualStartTime,0<=$&&0.05<N-$&&xJ(Q,$,N),0<=T0&&0<=w0&&0.05<w0-T0&&xJ(Q,T0,w0))),k&2048&&b3(b,Q);break;case 24:D4($,Q,G,X,N),k&2048&&y3(Q.alternate,Q);break;default:D4($,Q,G,X,N)}if((Q.mode&O0)!==V0){if($=!l1&&Q.alternate===null&&Q.return!==null&&Q.return.alternate!==null)G=Q.actualStartTime,0<=G&&0.05<N-G&&r4(Q,G,N,"Mount");0<=T0&&0<=w0&&((j1||0.05<C1)&&s4(Q,T0,w0,C1,L1),$&&0.05<w0-T0&&r4(Q,T0,w0,"Mount"))}o5(B),i4(F),L1=T,j1=V,h8=_}function c7($,Q,G,X,N,B){N=N&&((Q.subtreeFlags&10256)!==0||Q.actualDuration!==0&&(Q.alternate===null||Q.alternate.child!==Q.child));for(Q=Q.child;Q!==null;){var F=Q.sibling;SH($,Q,G,X,N,F!==null?F.actualStartTime:B),Q=F}}function SH($,Q,G,X,N,B){var F=n5(),T=o4(),V=a4(),_=t4(),k=h8;N&&(Q.mode&O0)!==V0&&0<Q.actualStartTime&&(Q.flags&1)!==0&&uJ(Q,Q.actualStartTime,B,l1,G);var b=Q.flags;switch(Q.tag){case 0:case 11:case 15:c7($,Q,G,X,N,B),MH(Q,P5);break;case 23:break;case 22:var O=Q.stateNode;Q.memoizedState!==null?O._visibility&u$?c7($,Q,G,X,N,B):AQ($,Q,G,X,B):(O._visibility|=u$,c7($,Q,G,X,N,B)),N&&b&2048&&b3(Q.alternate,Q);break;case 24:c7($,Q,G,X,N,B),N&&b&2048&&y3(Q.alternate,Q);break;default:c7($,Q,G,X,N,B)}(Q.mode&O0)!==V0&&0<=T0&&0<=w0&&(j1||0.05<C1)&&s4(Q,T0,w0,C1,L1),o5(F),i4(T),L1=V,j1=_,h8=k}function AQ($,Q,G,X,N){if(Q.subtreeFlags&10256||Q.actualDuration!==0&&(Q.alternate===null||Q.alternate.child!==Q.child))for(var B=Q.child;B!==null;){Q=B.sibling;var F=$,T=G,V=X,_=Q!==null?Q.actualStartTime:N,k=h8;(B.mode&O0)!==V0&&0<B.actualStartTime&&(B.flags&1)!==0&&uJ(B,B.actualStartTime,_,l1,T);var b=B.flags;switch(B.tag){case 22:AQ(F,B,T,V,_),b&2048&&b3(B.alternate,B);break;case 24:AQ(F,B,T,V,_),b&2048&&y3(B.alternate,B);break;default:AQ(F,B,T,V,_)}h8=k,B=Q}}function l7($,Q,G){if($.subtreeFlags&VZ)for($=$.child;$!==null;)vH($,Q,G),$=$.sibling}function vH($,Q,G){switch($.tag){case 26:l7($,Q,G),$.flags&VZ&&$.memoizedState!==null&&g_(G,y4,$.memoizedState,$.memoizedProps);break;case 5:l7($,Q,G);break;case 3:case 4:var X=y4;y4=SG($.stateNode.containerInfo),l7($,Q,G),y4=X;break;case 22:$.memoizedState===null&&(X=$.alternate,X!==null&&X.memoizedState!==null?(X=VZ,VZ=16777216,l7($,Q,G),VZ=X):l7($,Q,G));break;default:l7($,Q,G)}}function kH($){var Q=$.alternate;if(Q!==null&&($=Q.child,$!==null)){Q.child=null;do Q=$.sibling,$.sibling=null,$=Q;while($!==null)}}function SQ($){var Q=$.deletions;if(($.flags&16)!==0){if(Q!==null)for(var G=0;G<Q.length;G++){var X=Q[G],N=n5();a1=X,fH(X,$),(X.mode&O0)!==V0&&0<=T0&&0<=w0&&0.05<w0-T0&&r4(X,T0,w0,"Unmount"),o5(N)}kH($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)bH($),$=$.sibling}function bH($){var Q=n5(),G=o4(),X=a4(),N=t4();switch($.tag){case 0:case 11:case 15:SQ($),$.flags&2048&&A3($,$.return,P5|z4);break;case 3:var B=b$();SQ($),$.stateNode.passiveEffectDuration+=oJ(B);break;case 12:B=b$(),SQ($),$.stateNode.passiveEffectDuration+=RQ(B);break;case 22:B=$.stateNode,$.memoizedState!==null&&B._visibility&u$&&($.return===null||$.return.tag!==13)?(B._visibility&=~u$,PG($),($.mode&O0)!==V0&&0<=T0&&0<=w0&&0.05<w0-T0&&r4($,T0,w0,"Disconnect")):SQ($);break;default:SQ($)}($.mode&O0)!==V0&&0<=T0&&0<=w0&&(j1||0.05<C1)&&s4($,T0,w0,C1,L1),o5(Q),i4(G),j1=N,L1=X}function PG($){var Q=$.deletions;if(($.flags&16)!==0){if(Q!==null)for(var G=0;G<Q.length;G++){var X=Q[G],N=n5();a1=X,fH(X,$),(X.mode&O0)!==V0&&0<=T0&&0<=w0&&0.05<w0-T0&&r4(X,T0,w0,"Unmount"),o5(N)}kH($)}for($=$.child;$!==null;)yH($),$=$.sibling}function yH($){var Q=n5(),G=o4(),X=a4(),N=t4();switch($.tag){case 0:case 11:case 15:A3($,$.return,P5),PG($);break;case 22:var B=$.stateNode;B._visibility&u$&&(B._visibility&=~u$,PG($));break;default:PG($)}($.mode&O0)!==V0&&0<=T0&&0<=w0&&(j1||0.05<C1)&&s4($,T0,w0,C1,L1),o5(Q),i4(G),j1=N,L1=X}function fH($,Q){for(;a1!==null;){var G=a1,X=G,N=Q,B=n5(),F=o4(),T=a4(),V=t4();switch(X.tag){case 0:case 11:case 15:A3(X,N,P5);break;case 23:case 22:X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(N=X.memoizedState.cachePool.pool,N!=null&&g6(N));break;case 24:TQ(X.memoizedState.cache)}if((X.mode&O0)!==V0&&0<=T0&&0<=w0&&(j1||0.05<C1)&&s4(X,T0,w0,C1,L1),o5(B),i4(F),j1=V,L1=T,X=G.child,X!==null)X.return=G,a1=X;else $:for(G=$;a1!==null;){if(X=a1,B=X.sibling,F=X.return,_H(X),X===G){a1=null;break $}if(B!==null){B.return=F,a1=B;break $}a1=F}}}function iL(){RP.forEach(function($){return $()})}function gH(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||x.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function a5($){if((n0&r1)!==t1&&A0!==0)return A0&-A0;var Q=x.T;return Q!==null?(Q._updatedFibers||(Q._updatedFibers=new Set),Q._updatedFibers.add($),p3()):y()}function hH(){if(b5===0)if((A0&536870912)===0||m0){var $=pG;pG<<=1,(pG&3932160)===0&&(pG=262144),b5=$}else b5=536870912;return $=J4.current,$!==null&&($.flags|=32),b5}function I1($,Q,G){if(A9&&console.error("useInsertionEffect must not schedule updates."),PU&&(Oq=!0),$===N1&&(G1===J7||G1===G7)||$.cancelPendingCommit!==null)s7($,0),A8($,A0,b5,!1);if(w8($,G),(n0&r1)!==t1&&$===N1){if(N$)switch(Q.tag){case 0:case 11:case 15:$=S0&&d(S0)||"Unknown",BT.has($)||(BT.add($),Q=d(Q)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",Q,$,$));break;case 1:KT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),KT=!0)}}else B$&&qQ($,Q,G),X_(Q),$===N1&&((n0&r1)===t1&&(a8|=G),P1===n8&&A8($,A0,b5,!1)),q$($)}function xH($,Q,G){if((n0&(r1|q4))!==t1)throw Error("Should not already be working.");if(A0!==0&&S0!==null){var X=S0,N=o1();switch(JF){case CZ:case J7:var B=XZ;T1&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Suspended",B,N,B4,void 0,"primary-light")):console.timeStamp("Suspended",B,N,B4,void 0,"primary-light"));break;case G7:B=XZ,T1&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Action",B,N,B4,void 0,"primary-light")):console.timeStamp("Action",B,N,B4,void 0,"primary-light"));break;default:T1&&(X=N-XZ,3>X||console.timeStamp("Blocked",XZ,N,B4,void 0,5>X?"primary-light":10>X?"primary":100>X?"primary-dark":"error"))}}B=(G=!G&&(Q&127)===0&&(Q&$.expiredLanes)===0||P6($,Q))?tL($,Q):g3($,Q,!0);var F=G;do{if(B===a$){O9&&!G&&A8($,Q,0,!1),Q=G1,XZ=g1(),JF=Q;break}else{if(X=o1(),N=$.current.alternate,F&&!aL(N)){r5(Q),N=i1,B=X,!T1||B<=N||(S1?S1.run(console.timeStamp.bind(console,"Teared Render",N,B,h0,y0,"error")):console.timeStamp("Teared Render",N,B,h0,y0,"error")),p6(Q,X),B=g3($,Q,!1),F=!1;continue}if(B===Z7){if(F=Q,$.errorRecoveryDisabledLanes&F)var T=0;else T=$.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){r5(Q),zX(i1,X,Q,S1),p6(Q,X),Q=T;$:{X=$,B=F,F=EZ;var V=X.current.memoizedState.isDehydrated;if(V&&(s7(X,T).flags|=256),T=g3(X,T,!1),T!==Z7){if(TU&&!V){X.errorRecoveryDisabledLanes|=B,a8|=B,B=n8;break $}X=E5,E5=F,X!==null&&(E5===null?E5=X:E5.push.apply(E5,X))}B=T}if(F=!1,B!==Z7)continue;else X=o1()}}if(B===_Z){r5(Q),zX(i1,X,Q,S1),p6(Q,X),s7($,0),A8($,Q,0,!0);break}$:{switch(G=$,B){case a$:case _Z:throw Error("Root did not complete. This is a bug in React.");case n8:if((Q&4194048)!==Q)break;case Vq:r5(Q),xK(i1,X,Q,S1),p6(Q,X),N=Q,(N&127)!==0?qq=X:(N&4194048)!==0&&(Xq=X),A8(G,Q,b5,!o8);break $;case Z7:E5=null;break;case zq:case aF:break;default:throw Error("Unknown root exit status.")}if(x.actQueue!==null)h3(G,N,Q,E5,IZ,Cq,b5,a8,q7,B,null,null,i1,X);else{if((Q&62914560)===Q&&(F=Pq+$T-o1(),10<F)){if(A8(G,Q,b5,!o8),C6(G,0,!0)!==0)break $;f4=Q,G.timeoutHandle=zT(uH.bind(null,G,N,E5,IZ,Cq,Q,b5,a8,q7,o8,B,"Throttled",i1,X),F);break $}uH(G,N,E5,IZ,Cq,Q,b5,a8,q7,o8,B,null,i1,X)}}}break}while(1);q$($)}function uH($,Q,G,X,N,B,F,T,V,_,k,b,O,f){$.timeoutHandle=K7;var e=Q.subtreeFlags,Z0=null;if(e&8192||(e&16785408)===16785408){if(Z0={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:A$},vH(Q,B,Z0),e=(B&62914560)===B?Pq-o1():(B&4194048)===B?eF-o1():0,e=h_(Z0,e),e!==null){f4=B,$.cancelPendingCommit=e(h3.bind(null,$,Q,B,G,X,N,F,T,V,k,Z0,Z0.waitingForViewTransition?"Waiting for the previous Animation":0<Z0.count?0<Z0.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Z0.imgCount===1?"Suspended on an Image":0<Z0.imgCount?"Suspended on Images":null,O,f)),A8($,B,F,!_);return}}h3($,Q,B,G,X,N,F,T,V,k,Z0,b,O,f)}function aL($){for(var Q=$;;){var G=Q.tag;if((G===0||G===11||G===15)&&Q.flags&16384&&(G=Q.updateQueue,G!==null&&(G=G.stores,G!==null)))for(var X=0;X<G.length;X++){var N=G[X],B=N.getSnapshot;N=N.value;try{if(!L5(B(),N))return!1}catch(F){return!1}}if(G=Q.child,Q.subtreeFlags&16384&&G!==null)G.return=Q,Q=G;else{if(Q===$)break;for(;Q.sibling===null;){if(Q.return===null||Q.return===$)return!0;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling}}return!0}function A8($,Q,G,X){Q&=~RU,Q&=~a8,$.suspendedLanes|=Q,$.pingedLanes&=~Q,X&&($.warmLanes|=Q),X=$.expirationTimes;for(var N=Q;0<N;){var B=31-w5(N),F=1<<B;X[B]=-1,N&=~F}G!==0&&E6($,G,Q)}function r7(){return(n0&(r1|q4))===t1?(bQ(0,!1),!1):!0}function f3(){if(S0!==null){if(G1===k5)var $=S0.return;else $=S0,rJ(),sX($),z9=null,FZ=0,$=S0;for(;$!==null;)BH($.alternate,$),$=$.return;S0=null}}function p6($,Q){($&127)!==0&&(p8=Q),($&4194048)!==0&&(T$=Q),($&62914560)!==0&&(QF=Q),($&2080374784)!==0&&(ZF=Q)}function s7($,Q){T1&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",y0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",y0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",y0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",y0,"primary-light"));var G=i1;if(i1=g1(),A0!==0&&0<G){if(r5(A0),P1===zq||P1===n8)xK(G,i1,Q,S1);else{var X=i1,N=S1;if(T1&&!(X<=G)){var B=(Q&738197653)===Q?"tertiary-dark":"primary-dark",F=(Q&536870912)===Q?"Prewarm":(Q&201326741)===Q?"Interrupted Hydration":"Interrupted Render";N?N.run(console.timeStamp.bind(console,F,G,X,h0,y0,B)):console.timeStamp(F,G,X,h0,y0,B)}}p6(A0,i1)}if(G=S1,S1=null,(Q&127)!==0){S1=JZ,N=0<=F$&&F$<p8?p8:F$,X=0<=n6&&n6<p8?p8:n6,B=0<=X?X:0<=N?N:i1,0<=qq?(r5(2),uK(qq,B,Q,G)):(Yq&127)!==0&&(r5(2),WQ(p8,B,r$)),G=N;var T=X,V=GZ,_=0<T9,k=c8===ZZ,b=c8===Gq;if(N=i1,X=JZ,B=oY,F=iY,T1){if(h0="Blocking",0<G?G>N&&(G=N):G=N,0<T?T>G&&(T=G):T=G,V!==null&&G>T){var O=_?"secondary-light":"warning";X?X.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+V,T,G,h0,y0,O)):console.timeStamp(_?"Consecutive":"Event: "+V,T,G,h0,y0,O)}N>G&&(T=k?"error":(Q&738197653)===Q?"tertiary-light":"primary-light",k=b?"Promise Resolved":k?"Cascading Update":5<N-G?"Update Blocked":"Update",b=[],F!=null&&b.push(["Component name",F]),B!=null&&b.push(["Method name",B]),G={start:G,end:N,detail:{devtools:{properties:b,track:h0,trackGroup:y0,color:T}}},X?X.run(performance.measure.bind(performance,k,G)):performance.measure(k,G))}F$=-1.1,c8=0,iY=oY=null,qq=-1.1,T9=n6,n6=-1.1,p8=g1()}if((Q&4194048)!==0&&(S1=qZ,N=0<=l$&&l$<T$?T$:l$,G=0<=R4&&R4<T$?T$:R4,X=0<=l8&&l8<T$?T$:l8,B=0<=X?X:0<=G?G:i1,0<=Xq?(r5(256),uK(Xq,B,Q,S1)):(Yq&4194048)!==0&&(r5(256),WQ(T$,B,r$)),b=X,T=o6,V=0<r8,_=aY===Gq,B=i1,X=qZ,F=eW,k=$F,T1&&(h0="Transition",0<G?G>B&&(G=B):G=B,0<N?N>G&&(N=G):N=G,0<b?b>N&&(b=N):b=N,N>b&&T!==null&&(O=V?"secondary-light":"warning",X?X.run(console.timeStamp.bind(console,V?"Consecutive":"Event: "+T,b,N,h0,y0,O)):console.timeStamp(V?"Consecutive":"Event: "+T,b,N,h0,y0,O)),G>N&&(X?X.run(console.timeStamp.bind(console,"Action",N,G,h0,y0,"primary-dark")):console.timeStamp("Action",N,G,h0,y0,"primary-dark")),B>G&&(N=_?"Promise Resolved":5<B-G?"Update Blocked":"Update",b=[],k!=null&&b.push(["Component name",k]),F!=null&&b.push(["Method name",F]),G={start:G,end:B,detail:{devtools:{properties:b,track:h0,trackGroup:y0,color:"primary-light"}}},X?X.run(performance.measure.bind(performance,N,G)):performance.measure(N,G))),R4=l$=-1.1,aY=0,Xq=-1.1,r8=l8,l8=-1.1,T$=g1()),(Q&62914560)!==0&&(Yq&62914560)!==0&&(r5(4194304),WQ(QF,i1,r$)),(Q&2080374784)!==0&&(Yq&2080374784)!==0&&(r5(268435456),WQ(ZF,i1,r$)),G=$.timeoutHandle,G!==K7&&($.timeoutHandle=K7,AP(G)),G=$.cancelPendingCommit,G!==null&&($.cancelPendingCommit=null,G()),f4=0,f3(),N1=$,S0=G=S$($.current,null),A0=Q,G1=k5,X4=null,o8=!1,O9=P6($,Q),TU=!1,P1=a$,q7=b5=RU=a8=i8=0,E5=EZ=null,Cq=!1,(Q&8)!==0&&(Q|=Q&32),X=$.entangledLanes,X!==0)for($=$.entanglements,X&=Q;0<X;)N=31-w5(X),B=1<<N,Q|=$[N],X&=~B;return w$=Q,mJ(),$=sW(),1000<$-rW&&(x.recentlyCreatedOwnerStacks=0,rW=$),k4.discardPendingWarnings(),G}function mH($,Q){L0=null,x.H=zZ,x.getCurrentStack=null,N$=!1,$4=null,Q===w9||Q===Bq?(Q=UB(),G1=CZ):Q===QU?(Q=UB(),G1=tF):G1=Q===BU?FU:Q!==null&&typeof Q==="object"&&typeof Q.then==="function"?PZ:Lq,X4=Q;var G=S0;G===null?(P1=_Z,RG($,s5(Q,$.current))):G.mode&O0&&bX(G)}function dH(){var $=J4.current;return $===null?!0:(A0&4194048)===A0?w4===null?!0:!1:(A0&62914560)===A0||(A0&536870912)!==0?$===w4:!1}function pH(){var $=x.H;return x.H=zZ,$===null?zZ:$}function cH(){var $=x.A;return x.A=TP,$}function EG($){S1===null&&(S1=$._debugTask==null?null:$._debugTask)}function IG(){P1=n8,o8||(A0&4194048)!==A0&&J4.current!==null||(O9=!0),(i8&134217727)===0&&(a8&134217727)===0||N1===null||A8(N1,A0,b5,!1)}function g3($,Q,G){var X=n0;n0|=r1;var N=pH(),B=cH();if(N1!==$||A0!==Q){if(B$){var F=$.memoizedUpdaters;0<F.size&&(kQ($,A0),F.clear()),z8($,Q)}IZ=null,s7($,Q)}Q=!1,F=P1;$:do try{if(G1!==k5&&S0!==null){var T=S0,V=X4;switch(G1){case FU:f3(),F=Vq;break $;case CZ:case J7:case G7:case PZ:J4.current===null&&(Q=!0);var _=G1;if(G1=k5,X4=null,n7($,T,V,_),G&&O9){F=a$;break $}break;default:_=G1,G1=k5,X4=null,n7($,T,V,_)}}lH(),F=P1;break}catch(k){mH($,k)}while(1);return Q&&$.shellSuspendCounter++,rJ(),n0=X,x.H=N,x.A=B,S0===null&&(N1=null,A0=0,mJ()),F}function lH(){for(;S0!==null;)rH(S0)}function tL($,Q){var G=n0;n0|=r1;var X=pH(),N=cH();if(N1!==$||A0!==Q){if(B$){var B=$.memoizedUpdaters;0<B.size&&(kQ($,A0),B.clear()),z8($,Q)}IZ=null,Eq=o1()+QT,s7($,Q)}else O9=P6($,Q);$:do try{if(G1!==k5&&S0!==null)Q:switch(Q=S0,B=X4,G1){case Lq:G1=k5,X4=null,n7($,Q,B,Lq);break;case J7:case G7:if(XB(B)){G1=k5,X4=null,sH(Q);break}Q=function(){G1!==J7&&G1!==G7||N1!==$||(G1=_q),q$($)},B.then(Q,Q);break $;case CZ:G1=_q;break $;case tF:G1=WU;break $;case _q:XB(B)?(G1=k5,X4=null,sH(Q)):(G1=k5,X4=null,n7($,Q,B,_q));break;case WU:var F=null;switch(S0.tag){case 26:F=S0.memoizedState;case 5:case 27:var T=S0;if(F?xM(F):T.stateNode.complete){G1=k5,X4=null;var V=T.sibling;if(V!==null)S0=V;else{var _=T.return;_!==null?(S0=_,jG(_)):S0=null}break Q}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}G1=k5,X4=null,n7($,Q,B,WU);break;case PZ:G1=k5,X4=null,n7($,Q,B,PZ);break;case FU:f3(),P1=Vq;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}x.actQueue!==null?lH():eL();break}catch(k){mH($,k)}while(1);if(rJ(),x.H=X,x.A=N,n0=G,S0!==null)return a$;return N1=null,A0=0,mJ(),P1}function eL(){for(;S0!==null&&!a_();)rH(S0)}function rH($){var Q=$.alternate;($.mode&O0)!==V0?(kX($),Q=G0($,j3,Q,$,w$),bX($)):Q=G0($,j3,Q,$,w$),$.memoizedProps=$.pendingProps,Q===null?jG($):S0=Q}function sH($){var Q=G0($,$_,$);$.memoizedProps=$.pendingProps,Q===null?jG($):S0=Q}function $_($){var Q=$.alternate,G=($.mode&O0)!==V0;switch(G&&kX($),$.tag){case 15:case 0:Q=GH(Q,$,$.pendingProps,$.type,void 0,A0);break;case 11:Q=GH(Q,$,$.pendingProps,$.type.render,$.ref,A0);break;case 5:sX($);default:BH(Q,$),$=S0=rK($,w$),Q=j3(Q,$,w$)}return G&&bX($),Q}function n7($,Q,G,X){rJ(),sX(Q),z9=null,FZ=0;var N=Q.return;try{if(hL($,N,Q,G,A0)){P1=_Z,RG($,s5(G,$.current)),S0=null;return}}catch(B){if(N!==null)throw S0=N,B;P1=_Z,RG($,s5(G,$.current)),S0=null;return}if(Q.flags&32768){if(m0||X===Lq)$=!0;else if(O9||(A0&536870912)!==0)$=!1;else if(o8=$=!0,X===J7||X===G7||X===CZ||X===PZ)X=J4.current,X!==null&&X.tag===13&&(X.flags|=16384);nH(Q,$)}else jG(Q)}function jG($){var Q=$;do{if((Q.flags&32768)!==0){nH(Q,o8);return}var G=Q.alternate;if($=Q.return,kX(Q),G=G0(Q,mL,G,Q,w$),(Q.mode&O0)!==V0&&QB(Q),G!==null){S0=G;return}if(Q=Q.sibling,Q!==null){S0=Q;return}S0=Q=$}while(Q!==null);P1===a$&&(P1=aF)}function nH($,Q){do{var G=dL($.alternate,$);if(G!==null){G.flags&=32767,S0=G;return}if(($.mode&O0)!==V0){QB($),G=$.actualDuration;for(var X=$.child;X!==null;)G+=X.actualDuration,X=X.sibling;$.actualDuration=G}if(G=$.return,G!==null&&(G.flags|=32768,G.subtreeFlags=0,G.deletions=null),!Q&&($=$.sibling,$!==null)){S0=$;return}S0=$=G}while($!==null);P1=Vq,S0=null}function h3($,Q,G,X,N,B,F,T,V,_,k,b,O,f){$.cancelPendingCommit=null;do vQ();while(d1!==e8);if(k4.flushLegacyContextWarning(),k4.flushPendingUnsafeLifecycleWarnings(),(n0&(r1|q4))!==t1)throw Error("Should not already be working.");if(r5(G),_===Z7?zX(O,f,G,S1):X!==null?EL(O,f,G,X,Q!==null&&Q.alternate!==null&&Q.alternate.memoizedState.isDehydrated&&(Q.flags&256)!==0,S1):PL(O,f,G,S1),Q!==null){if(G===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),Q===$.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(B=Q.lanes|Q.childLanes,B|=cY,AJ($,G,B,F,T,V),$===N1&&(S0=N1=null,A0=0),D9=Q,$6=$,f4=G,VU=B,_U=N,YT=X,LU=f,UT=b,g4=Iq,NT=null,Q.actualDuration!==0||(Q.subtreeFlags&10256)!==0||(Q.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,q_($9,function(){return vZ=window.event,g4===Iq&&(g4=zU),eH(),null})):($.callbackNode=null,$.callbackPriority=0),c$=null,d8=g1(),b!==null&&IL(f,d8,b,S1),X=(Q.flags&13878)!==0,(Q.subtreeFlags&13878)!==0||X){X=x.T,x.T=null,N=$1.p,$1.p=Q4,F=n0,n0|=q4;try{nL($,Q,G)}finally{n0=F,$1.p=N,x.T=X}}d1=JT,oH(),iH(),aH()}}function oH(){if(d1===JT){d1=e8;var $=$6,Q=D9,G=f4,X=(Q.flags&13878)!==0;if((Q.subtreeFlags&13878)!==0||X){X=x.T,x.T=null;var N=$1.p;$1.p=Q4;var B=n0;n0|=q4;try{I9=G,j9=$,iJ(),IH(Q,$),j9=I9=null,G=kU;var F=fK($.containerInfo),T=G.focusedElem,V=G.selectionRange;if(F!==T&&T&&T.ownerDocument&&yK(T.ownerDocument.documentElement,T)){if(V!==null&&TX(T)){var{start:_,end:k}=V;if(k===void 0&&(k=_),"selectionStart"in T)T.selectionStart=_,T.selectionEnd=Math.min(k,T.value.length);else{var b=T.ownerDocument||document,O=b&&b.defaultView||window;if(O.getSelection){var f=O.getSelection(),e=T.textContent.length,Z0=Math.min(V.start,e),M1=V.end===void 0?Z0:Math.min(V.end,e);!f.extend&&Z0>M1&&(F=M1,M1=Z0,Z0=F);var c0=bK(T,Z0),j=bK(T,M1);if(c0&&j&&(f.rangeCount!==1||f.anchorNode!==c0.node||f.anchorOffset!==c0.offset||f.focusNode!==j.node||f.focusOffset!==j.offset)){var D=b.createRange();D.setStart(c0.node,c0.offset),f.removeAllRanges(),Z0>M1?(f.addRange(D),f.extend(j.node,j.offset)):(D.setEnd(j.node,j.offset),f.addRange(D))}}}}b=[];for(f=T;f=f.parentNode;)f.nodeType===1&&b.push({element:f,left:f.scrollLeft,top:f.scrollTop});typeof T.focus==="function"&&T.focus();for(T=0;T<b.length;T++){var v=b[T];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}dq=!!vU,kU=vU=null}finally{n0=B,$1.p=N,x.T=X}}$.current=Q,d1=GT}}function iH(){if(d1===GT){d1=e8;var $=NT;if($!==null){d8=g1();var Q=p$,G=d8;!T1||G<=Q||(r$?r$.run(console.timeStamp.bind(console,$,Q,G,h0,y0,"secondary-light")):console.timeStamp($,Q,G,h0,y0,"secondary-light"))}$=$6,Q=D9,G=f4;var X=(Q.flags&8772)!==0;if((Q.subtreeFlags&8772)!==0||X){X=x.T,x.T=null;var N=$1.p;$1.p=Q4;var B=n0;n0|=q4;try{I9=G,j9=$,iJ(),LH($,Q.alternate,Q),j9=I9=null}finally{n0=B,$1.p=N,x.T=X}}$=LU,Q=UT,p$=g1(),$=Q===null?$:d8,Q=p$,G=g4===wU,X=S1,c$!==null?mK($,Q,c$,!1,X):!T1||Q<=$||(X?X.run(console.timeStamp.bind(console,G?"Commit Interrupted View Transition":"Commit",$,Q,h0,y0,G?"error":"secondary-dark")):console.timeStamp(G?"Commit Interrupted View Transition":"Commit",$,Q,h0,y0,G?"error":"secondary-dark")),d1=qT}}function aH(){if(d1===XT||d1===qT){if(d1===XT){var $=p$;p$=g1();var Q=p$,G=g4===wU;!T1||Q<=$||(r$?r$.run(console.timeStamp.bind(console,G?"Interrupted View Transition":"Starting Animation",$,Q,h0,y0,G?"error":"secondary-light")):console.timeStamp(G?"Interrupted View Transition":"Starting Animation",$,Q,h0,y0,G?" error":"secondary-light")),g4!==wU&&(g4=ZT)}d1=e8,t_(),$=$6;var X=D9;Q=f4,G=YT;var N=X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0;N?d1=jq:(d1=e8,D9=$6=null,tH($,$.pendingLanes),X7=0,OZ=null);var B=$.pendingLanes;if(B===0&&(t8=null),N||JM($),B=C(Q),X=X.stateNode,M5&&typeof M5.onCommitFiberRoot==="function")try{var F=(X.current.flags&128)===128;switch(B){case Q4:var T=_Y;break;case S4:T=CY;break;case H$:T=$9;break;case lG:T=PY;break;default:T=$9}M5.onCommitFiberRoot(Q9,X,T,F)}catch(b){K$||(K$=!0,console.error("React instrumentation encountered an error: %o",b))}if(B$&&$.memoizedUpdaters.clear(),iL(),G!==null){F=x.T,T=$1.p,$1.p=Q4,x.T=null;try{var V=$.onRecoverableError;for(X=0;X<G.length;X++){var _=G[X],k=Q_(_.stack);G0(_.source,V,_.value,k)}}finally{x.T=F,$1.p=T}}(f4&3)!==0&&vQ(),q$($),B=$.pendingLanes,(Q&261930)!==0&&(B&42)!==0?(Nq=!0,$===CU?jZ++:(jZ=0,CU=$)):jZ=0,N||p6(Q,p$),bQ(0,!1)}}function Q_($){return $={componentStack:$},Object.defineProperty($,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),$}function tH($,Q){($.pooledCacheLanes&=Q)===0&&(Q=$.pooledCache,Q!=null&&($.pooledCache=null,TQ(Q)))}function vQ(){return oH(),iH(),aH(),eH()}function eH(){if(d1!==jq)return!1;var $=$6,Q=VU;VU=0;var G=C(f4),X=H$===0||H$>G?H$:G;G=x.T;var N=$1.p;try{$1.p=X,x.T=null;var B=_U;_U=null,X=$6;var F=f4;if(d1=e8,D9=$6=null,f4=0,(n0&(r1|q4))!==t1)throw Error("Cannot flush passive effects while already rendering.");r5(F),PU=!0,Oq=!1;var T=0;if(c$=null,T=o1(),g4===ZT)WQ(p$,T,r$);else{var V=p$,_=T,k=g4===zU;!T1||_<=V||(S1?S1.run(console.timeStamp.bind(console,k?"Waiting for Paint":"Waiting",V,_,h0,y0,"secondary-light")):console.timeStamp(k?"Waiting for Paint":"Waiting",V,_,h0,y0,"secondary-light"))}V=n0,n0|=q4;var b=X.current;iJ(),bH(b);var O=X.current;b=LU,iJ(),AH(X,O,F,B,b),JM(X),n0=V;var f=o1();if(O=T,b=S1,c$!==null?mK(O,f,c$,!0,b):!T1||f<=O||(b?b.run(console.timeStamp.bind(console,"Remaining Effects",O,f,h0,y0,"secondary-dark")):console.timeStamp("Remaining Effects",O,f,h0,y0,"secondary-dark")),p6(F,f),bQ(0,!1),Oq?X===OZ?X7++:(X7=0,OZ=X):X7=0,Oq=PU=!1,M5&&typeof M5.onPostCommitFiberRoot==="function")try{M5.onPostCommitFiberRoot(Q9,X)}catch(Z0){K$||(K$=!0,console.error("React instrumentation encountered an error: %o",Z0))}var e=X.current.stateNode;return e.effectDuration=0,e.passiveEffectDuration=0,!0}finally{$1.p=N,x.T=G,tH($,Q)}}function $M($,Q,G){Q=s5(G,Q),ZB(Q),Q=T3($.stateNode,Q,2),$=I8($,Q,2),$!==null&&(w8($,2),q$($))}function e0($,Q,G){if(A9=!1,$.tag===3)$M($,$,G);else{for(;Q!==null;){if(Q.tag===3){$M(Q,$,G);return}if(Q.tag===1){var X=Q.stateNode;if(typeof Q.type.getDerivedStateFromError==="function"||typeof X.componentDidCatch==="function"&&(t8===null||!t8.has(X))){$=s5(G,$),ZB($),G=R3(2),X=I8(Q,G,2),X!==null&&(w3(G,X,Q,$),w8(X,2),q$(X));return}}Q=Q.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
154
154
|
|
|
155
155
|
Error message:
|
|
156
156
|
|
|
157
|
-
%s`,G)}}function
|
|
157
|
+
%s`,G)}}function x3($,Q,G){var X=$.pingCache;if(X===null){X=$.pingCache=new wP;var N=new Set;X.set(Q,N)}else N=X.get(Q),N===void 0&&(N=new Set,X.set(Q,N));N.has(G)||(TU=!0,N.add(G),X=Z_.bind(null,$,Q,G),B$&&kQ($,G),Q.then(X,X))}function Z_($,Q,G){var X=$.pingCache;X!==null&&X.delete(Q),$.pingedLanes|=$.suspendedLanes&G,$.warmLanes&=~G,(G&127)!==0?0>F$&&(p8=F$=g1(),JZ=Jq("Promise Resolved"),c8=Gq):(G&4194048)!==0&&0>R4&&(T$=R4=g1(),qZ=Jq("Promise Resolved"),aY=Gq),gH()&&x.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
158
158
|
|
|
159
159
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
160
160
|
|
|
@@ -163,7 +163,7 @@ act(() => {
|
|
|
163
163
|
});
|
|
164
164
|
/* assert on the output */
|
|
165
165
|
|
|
166
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),
|
|
166
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),N1===$&&(A0&G)===G&&(P1===n8||P1===zq&&(A0&62914560)===A0&&o1()-Pq<$T?(n0&r1)===t1&&s7($,0):RU|=G,q7===A0&&(q7=0)),q$($)}function QM($,Q){Q===0&&(Q=v7()),$=H5($,Q),$!==null&&(w8($,Q),q$($))}function J_($){var Q=$.memoizedState,G=0;Q!==null&&(G=Q.retryLane),QM($,G)}function G_($,Q){var G=0;switch($.tag){case 31:case 13:var{stateNode:X,memoizedState:N}=$;N!==null&&(G=N.retryLane);break;case 19:X=$.stateNode;break;case 22:X=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}X!==null&&X.delete(Q),QM($,G)}function u3($,Q,G){if((Q.subtreeFlags&67117056)!==0)for(Q=Q.child;Q!==null;){var X=$,N=Q,B=N.type===xG;B=G||B,N.tag!==22?N.flags&67108864?B&&G0(N,ZM,X,N):u3(X,N,B):N.memoizedState===null&&(B&&N.flags&8192?G0(N,ZM,X,N):N.subtreeFlags&67108864&&G0(N,u3,X,N,B)),Q=Q.sibling}}function ZM($,Q){B1(!0);try{OH(Q),yH(Q),DH($,Q.alternate,Q,!1),SH($,Q,0,null,!1,0)}finally{B1(!1)}}function JM($){var Q=!0;$.current.mode&(W5|v4)||(Q=!1),u3($,$.current,Q)}function GM($){if((n0&r1)===t1){var Q=$.tag;if(Q===3||Q===1||Q===0||Q===11||Q===14||Q===15){if(Q=d($)||"ReactComponent",Dq!==null){if(Dq.has(Q))return;Dq.add(Q)}else Dq=new Set([Q]);G0($,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function kQ($,Q){B$&&$.memoizedUpdaters.forEach(function(G){qQ($,G,Q)})}function q_($,Q){var G=x.actQueue;return G!==null?(G.push(Q),LP):LY($,Q)}function X_($){gH()&&x.actQueue===null&&G0($,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
167
167
|
|
|
168
168
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
169
|
|
|
@@ -172,86 +172,86 @@ act(() => {
|
|
|
172
172
|
});
|
|
173
173
|
/* assert on the output */
|
|
174
174
|
|
|
175
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,d($))})}function G8($){$!==D9&&$.next===null&&(D9===null?IJ=D9=$:D9=D9.next=$),jJ=!0,x.actQueue!==null?_U||(_U=!0,qM()):LU||(LU=!0,qM())}function k7($,Z){if(!PU&&jJ){PU=!0;do{var G=!1;for(var X=IJ;X!==null;){if(!Z)if($!==0){var N=X.pendingLanes;if(N===0)var B=0;else{var{suspendedLanes:W,pingedLanes:w}=X;B=(1<<31-w5(42|$)+1)-1,B&=N&~(W&~w),B=B&201326741?B&201326741|1:B?B|2:0}B!==0&&(G=!0,JM(X,B))}else B=S0,B=L2(X,X===K1?B:0,X.cancelPendingCommit!==null||X.timeoutHandle!==U$),(B&3)===0||_2(X,B)||(G=!0,JM(X,B));X=X.next}}while(G);PU=!1}}function X_(){SZ=window.event,gX()}function gX(){jJ=_U=LU=!1;var $=0;i6!==0&&M_()&&($=i6);for(var Z=o1(),G=null,X=IJ;X!==null;){var N=X.next,B=QM(X,Z);if(B===0)X.next=null,G===null?IJ=N:G.next=N,N===null&&(D9=G);else if(G=X,$!==0||(B&3)!==0)jJ=!0;X=N}d1!==n6&&d1!==PJ||k7($,!1),i6!==0&&(i6=0)}function QM($,Z){for(var{suspendedLanes:G,pingedLanes:X,expirationTimes:N}=$,B=$.pendingLanes&-62914561;0<B;){var W=31-w5(B),w=1<<W,V=N[W];if(V===-1){if((w&G)===0||(w&X)!==0)N[W]=Z3(w,Z)}else V<=Z&&($.expiredLanes|=w);B&=~w}if(Z=K1,G=S0,G=L2($,$===Z?G:0,$.cancelPendingCommit!==null||$.timeoutHandle!==U$),X=$.callbackNode,G===0||$===Z&&(q1===Z$||q1===Q$)||$.cancelPendingCommit!==null)return X!==null&&hX(X),$.callbackNode=null,$.callbackPriority=0;if((G&3)===0||_2($,G)){if(Z=G&-G,Z!==$.callbackPriority||x.actQueue!==null&&X!==EU)hX(X);else return Z;switch(P(G)){case e5:case D4:G=zY;break;case K8:G=t$;break;case mG:G=VY;break;default:G=t$}return X=GM.bind(null,$),x.actQueue!==null?(x.actQueue.push(X),G=EU):G=TY(G,X),$.callbackPriority=Z,$.callbackNode=G,Z}return X!==null&&hX(X),$.callbackPriority=2,$.callbackNode=null,2}function GM($,Z){if(qJ=JJ=!1,SZ=window.event,d1!==n6&&d1!==PJ)return $.callbackNode=null,$.callbackPriority=0,null;var G=$.callbackNode;if(f4===_J&&(f4=WU),S7()&&$.callbackNode!==G)return null;var X=S0;if(X=L2($,$===K1?X:0,$.cancelPendingCommit!==null||$.timeoutHandle!==U$),X===0)return null;return yH($,X,Z),QM($,o1()),$.callbackNode!=null&&$.callbackNode===G?GM.bind(null,$):null}function JM($,Z){if(S7())return null;JJ=qJ,qJ=!1,yH($,Z,!0)}function hX($){$!==EU&&$!==null&&o_($)}function qM(){x.actQueue!==null&&x.actQueue.push(function(){return gX(),null}),AE(function(){(o0&(r1|G4))!==t1?TY(RY,X_):gX()})}function xX(){if(i6===0){var $=n2;$===0&&($=hG,hG<<=1,(hG&261888)===0&&(hG=256)),i6=$}return i6}function XM($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return Y1($,"action"),K7(""+$)}function YM($,Z){var G=Z.ownerDocument.createElement("input");return G.name=Z.name,G.value=Z.value,$.id&&G.setAttribute("form",$.id),Z.parentNode.insertBefore(G,Z),$=new FormData($),G.parentNode.removeChild(G),$}function Y_($,Z,G,X,N){if(Z==="submit"&&G&&G.stateNode===N){var B=XM((N[T5]||null).action),W=X.submitter;W&&(Z=(Z=W[T5]||null)?XM(Z.formAction):W.getAttribute("formAction"),Z!==null&&(B=Z,W=null));var w=new rG("action","action",null,X,N);$.push({event:w,listeners:[{instance:null,listener:function(){if(X.defaultPrevented){if(i6!==0){var V=W?YM(N,W):new FormData(N),_={pending:!0,data:V,method:N.method,action:B};Object.freeze(_),qX(G,_,null,V)}}else typeof B==="function"&&(w.preventDefault(),V=W?YM(N,W):new FormData(N),_={pending:!0,data:V,method:N.method,action:B},Object.freeze(_),qX(G,_,B,V))},currentTarget:N}]})}}function EG($,Z,G){$.currentTarget=G;try{Z($)}catch(X){yY(X)}$.currentTarget=null}function UM($,Z){Z=(Z&4)!==0;for(var G=0;G<$.length;G++){var X=$[G];$:{var N=void 0,B=X.event;if(X=X.listeners,Z)for(var W=X.length-1;0<=W;W--){var w=X[W],V=w.instance,_=w.currentTarget;if(w=w.listener,V!==N&&B.isPropagationStopped())break $;V!==null?G0(V,EG,B,w,_):EG(B,w,_),N=V}else for(W=0;W<X.length;W++){if(w=X[W],V=w.instance,_=w.currentTarget,w=w.listener,V!==N&&B.isPropagationStopped())break $;V!==null?G0(V,EG,B,w,_):EG(B,w,_),N=V}}}}function c0($,Z){CU.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var G=Z[LY];G===void 0&&(G=Z[LY]=new Set);var X=$+"__bubble";G.has(X)||(NM(Z,$,2,!1),G.add(X))}function uX($,Z,G){CU.has($)&&!Z&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var X=0;Z&&(X|=4),NM(G,$,X,Z)}function mX($){if(!$[OJ]){$[OJ]=!0,qF.forEach(function(G){G!=="selectionchange"&&(CU.has(G)||uX(G,!1,$),uX(G,!0,$))});var Z=$.nodeType===9?$:$.ownerDocument;Z===null||Z[OJ]||(Z[OJ]=!0,uX("selectionchange",!1,Z))}}function NM($,Z,G,X){switch(dM(Z)){case e5:var N=m_;break;case D4:N=d_;break;default:N=GY}G=N.bind(null,Z,G,$),N=void 0,!IY||Z!=="touchstart"&&Z!=="touchmove"&&Z!=="wheel"||(N=!0),X?N!==void 0?$.addEventListener(Z,G,{capture:!0,passive:N}):$.addEventListener(Z,G,!0):N!==void 0?$.addEventListener(Z,G,{passive:N}):$.addEventListener(Z,G,!1)}function dX($,Z,G,X,N){var B=X;if((Z&1)===0&&(Z&2)===0&&X!==null)$:for(;;){if(X===null)return;var W=X.tag;if(W===3||W===4){var w=X.stateNode.containerInfo;if(w===N)break;if(W===4)for(W=X.return;W!==null;){var V=W.tag;if((V===3||V===4)&&W.stateNode.containerInfo===N)return;W=W.return}for(;w!==null;){if(W=q0(w),W===null)return;if(V=W.tag,V===5||V===6||V===26||V===27){X=B=W;continue $}w=w.parentNode}}X=X.return}VK(function(){var _=B,k=K3(G),b=[];$:{var O=dF.get($);if(O!==void 0){var g=rG,t=$;switch($){case"keypress":if(vQ(G)===0)break $;case"keydown":case"keyup":g=yP;break;case"focusin":t="focus",g=AY;break;case"focusout":t="blur",g=AY;break;case"beforeblur":case"afterblur":g=AY;break;case"click":if(G.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=OF;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=EP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=xP;break;case hF:case xF:case uF:g=jP;break;case mF:g=mP;break;case"scroll":case"scrollend":g=_P;break;case"wheel":g=pP;break;case"copy":case"cut":case"paste":g=DP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=AF;break;case"toggle":case"beforetoggle":g=lP}var Z0=(Z&4)!==0,F1=!Z0&&($==="scroll"||$==="scrollend"),l0=Z0?O!==null?O+"Capture":null:O;Z0=[];for(var j=_,D;j!==null;){var v=j;if(D=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||D===null||l0===null||(v=B7(j,l0),v!=null&&Z0.push(b7(j,v,D))),F1)break;j=j.return}0<Z0.length&&(O=new g(O,t,null,G,k),b.push({event:O,listeners:Z0}))}}if((Z&7)===0){$:{if(O=$==="mouseover"||$==="pointerover",g=$==="mouseout"||$==="pointerout",O&&G!==l7&&(t=G.relatedTarget||G.fromElement)&&(q0(t)||t[S6]))break $;if(g||O){if(O=k.window===k?k:(O=k.ownerDocument)?O.defaultView||O.parentWindow:window,g){if(t=G.relatedTarget||G.toElement,g=_,t=t?q0(t):null,t!==null&&(F1=y(t),Z0=t.tag,t!==F1||Z0!==5&&Z0!==27&&Z0!==6))t=null}else g=null,t=_;if(g!==t){if(Z0=OF,v="onMouseLeave",l0="onMouseEnter",j="mouse",$==="pointerout"||$==="pointerover")Z0=AF,v="onPointerLeave",l0="onPointerEnter",j="pointer";if(F1=g==null?O:E0(g),D=t==null?O:E0(t),O=new Z0(v,j+"leave",g,G,k),O.target=F1,O.relatedTarget=D,v=null,q0(k)===_&&(Z0=new Z0(l0,j+"enter",t,G,k),Z0.target=D,Z0.relatedTarget=F1,v=Z0),F1=v,g&&t)Z:{Z0=U_,l0=g,j=t,D=0;for(v=l0;v;v=Z0(v))D++;v=0;for(var u=j;u;u=Z0(u))v++;for(;0<D-v;)l0=Z0(l0),D--;for(;0<v-D;)j=Z0(j),v--;for(;D--;){if(l0===j||j!==null&&l0===j.alternate){Z0=l0;break Z}l0=Z0(l0),j=Z0(j)}Z0=null}else Z0=null;g!==null&&KM(b,O,g,Z0,!1),t!==null&&F1!==null&&KM(b,F1,t,Z0,!0)}}}$:{if(O=_?E0(_):window,g=O.nodeName&&O.nodeName.toLowerCase(),g==="select"||g==="input"&&O.type==="file")var $0=jK;else if(CK(O))if(yF)$0=VL;else{$0=RL;var _0=TL}else g=O.nodeName,!g||g.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?_&&N7(_.elementType)&&($0=jK):$0=zL;if($0&&($0=$0($,_))){IK(b,$0,G,k);break $}_0&&_0($,O,_),$==="focusout"&&_&&O.type==="number"&&_.memoizedProps.value!=null&&J3(O,"number",O.value)}switch(_0=_?E0(_):window,$){case"focusin":if(CK(_0)||_0.contentEditable==="true")X9=_0,vY=_,t7=null;break;case"focusout":t7=vY=X9=null;break;case"mousedown":kY=!0;break;case"contextmenu":case"mouseup":case"dragend":kY=!1,bK(b,G,k);break;case"selectionchange":if(oP)break;case"keydown":case"keyup":bK(b,G,k)}var M0;if(SY)$:{switch($){case"compositionstart":var U0="onCompositionStart";break $;case"compositionend":U0="onCompositionEnd";break $;case"compositionupdate":U0="onCompositionUpdate";break $}U0=void 0}else q9?PK($,G)&&(U0="onCompositionEnd"):$==="keydown"&&G.keyCode===SF&&(U0="onCompositionStart");if(U0&&(vF&&G.locale!=="ko"&&(q9||U0!=="onCompositionStart"?U0==="onCompositionEnd"&&q9&&(M0=LK()):(v6=k,jY=("value"in v6)?v6.value:v6.textContent,q9=!0)),_0=CG(_,U0),0<_0.length&&(U0=new DF(U0,$,null,G,k),b.push({event:U0,listeners:_0}),M0?U0.data=M0:(M0=EK(G),M0!==null&&(U0.data=M0)))),M0=sP?ML($,G):FL($,G))U0=CG(_,"onBeforeInput"),0<U0.length&&(_0=new SP("onBeforeInput","beforeinput",null,G,k),b.push({event:_0,listeners:U0}),_0.data=M0);Y_(b,$,_,G,k)}UM(b,Z)})}function b7($,Z,G){return{instance:$,listener:Z,currentTarget:G}}function CG($,Z){for(var G=Z+"Capture",X=[];$!==null;){var N=$,B=N.stateNode;if(N=N.tag,N!==5&&N!==26&&N!==27||B===null||(N=B7($,G),N!=null&&X.unshift(b7($,N,B)),N=B7($,Z),N!=null&&X.push(b7($,N,B))),$.tag===3)return X;$=$.return}return[]}function U_($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function KM($,Z,G,X,N){for(var B=Z._reactName,W=[];G!==null&&G!==X;){var w=G,V=w.alternate,_=w.stateNode;if(w=w.tag,V!==null&&V===X)break;w!==5&&w!==26&&w!==27||_===null||(V=_,N?(_=B7(G,B),_!=null&&W.unshift(b7(G,_,V))):N||(_=B7(G,B),_!=null&&W.push(b7(G,_,V)))),G=G.return}W.length!==0&&$.push({event:Z,listeners:W})}function pX($,Z){NL($,Z),$!=="input"&&$!=="textarea"&&$!=="select"||Z==null||Z.value!==null||IF||(IF=!0,$==="select"&&Z.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var G={registrationNameDependencies:d2,possibleRegistrationNames:_Y};N7($)||typeof Z.is==="string"||BL($,Z,G),Z.contentEditable&&!Z.suppressContentEditableWarning&&Z.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function n1($,Z,G,X){Z!==G&&(G=I6(G),I6(Z)!==G&&(X[$]=Z))}function N_($,Z,G){Z.forEach(function(X){G[MM(X)]=X==="style"?lX($):$.getAttribute(X)})}function J8($,Z){Z===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof Z)}function BM($,Z){return $=$.namespaceURI===pG||$.namespaceURI===Z9?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=Z,$.innerHTML}function I6($){return H6($)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",V2($)),s1($)),(typeof $==="string"?$:""+$).replace(LE,`
|
|
176
|
-
`).replace(_E,"")}function HM($,Z){return Z=I6(Z),I6($)===Z?!0:!1}function U1($,Z,G,X,N,B){switch(G){case"children":if(typeof X==="string")SQ(X,Z,!1),Z==="body"||Z==="textarea"&&X===""||U7($,X);else if(typeof X==="number"||typeof X==="bigint")SQ(""+X,Z,!1),Z!=="body"&&U7($,""+X);break;case"className":OQ($,"class",X);break;case"tabIndex":OQ($,"tabindex",X);break;case"dir":case"role":case"viewBox":case"width":case"height":OQ($,G,X);break;case"style":TK($,X,B);break;case"data":if(Z!=="object"){OQ($,"data",X);break}case"src":case"href":if(X===""&&(Z!=="a"||G!=="href")){G==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',G,G):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',G,G),$.removeAttribute(G);break}if(X==null||typeof X==="function"||typeof X==="symbol"||typeof X==="boolean"){$.removeAttribute(G);break}Y1(X,G),X=K7(""+X),$.setAttribute(G,X);break;case"action":case"formAction":if(X!=null&&(Z==="form"?G==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof X==="function"&&(N.encType==null&&N.method==null||SJ||(SJ=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),N.target==null||AJ||(AJ=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):Z==="input"||Z==="button"?G==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):Z!=="input"||N.type==="submit"||N.type==="image"||DJ?Z!=="button"||N.type==null||N.type==="submit"||DJ?typeof X==="function"&&(N.name==null||Bw||(Bw=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),N.formEncType==null&&N.formMethod==null||SJ||(SJ=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),N.formTarget==null||AJ||(AJ=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(DJ=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(DJ=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):G==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof X==="function"){$.setAttribute(G,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof B==="function"&&(G==="formAction"?(Z!=="input"&&U1($,Z,"name",N.name,N,null),U1($,Z,"formEncType",N.formEncType,N,null),U1($,Z,"formMethod",N.formMethod,N,null),U1($,Z,"formTarget",N.formTarget,N,null)):(U1($,Z,"encType",N.encType,N,null),U1($,Z,"method",N.method,N,null),U1($,Z,"target",N.target,N,null)));if(X==null||typeof X==="symbol"||typeof X==="boolean"){$.removeAttribute(G);break}Y1(X,G),X=K7(""+X),$.setAttribute(G,X);break;case"onClick":X!=null&&(typeof X!=="function"&&J8(G,X),$.onclick=j8);break;case"onScroll":X!=null&&(typeof X!=="function"&&J8(G,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&J8(G,X),c0("scrollend",$));break;case"dangerouslySetInnerHTML":if(X!=null){if(typeof X!=="object"||!("__html"in X))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=X.__html,G!=null){if(N.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=G}}break;case"multiple":$.multiple=X&&typeof X!=="function"&&typeof X!=="symbol";break;case"muted":$.muted=X&&typeof X!=="function"&&typeof X!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(X==null||typeof X==="function"||typeof X==="boolean"||typeof X==="symbol"){$.removeAttribute("xlink:href");break}Y1(X,G),G=K7(""+X),$.setAttributeNS(q$,"xlink:href",G);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":X!=null&&typeof X!=="function"&&typeof X!=="symbol"?(Y1(X,G),$.setAttribute(G,""+X)):$.removeAttribute(G);break;case"inert":X!==""||vJ[G]||(vJ[G]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",G));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":X&&typeof X!=="function"&&typeof X!=="symbol"?$.setAttribute(G,""):$.removeAttribute(G);break;case"capture":case"download":X===!0?$.setAttribute(G,""):X!==!1&&X!=null&&typeof X!=="function"&&typeof X!=="symbol"?(Y1(X,G),$.setAttribute(G,X)):$.removeAttribute(G);break;case"cols":case"rows":case"size":case"span":X!=null&&typeof X!=="function"&&typeof X!=="symbol"&&!isNaN(X)&&1<=X?(Y1(X,G),$.setAttribute(G,X)):$.removeAttribute(G);break;case"rowSpan":case"start":X==null||typeof X==="function"||typeof X==="symbol"||isNaN(X)?$.removeAttribute(G):(Y1(X,G),$.setAttribute(G,X));break;case"popover":c0("beforetoggle",$),c0("toggle",$),jQ($,"popover",X);break;case"xlinkActuate":I8($,q$,"xlink:actuate",X);break;case"xlinkArcrole":I8($,q$,"xlink:arcrole",X);break;case"xlinkRole":I8($,q$,"xlink:role",X);break;case"xlinkShow":I8($,q$,"xlink:show",X);break;case"xlinkTitle":I8($,q$,"xlink:title",X);break;case"xlinkType":I8($,q$,"xlink:type",X);break;case"xmlBase":I8($,IU,"xml:base",X);break;case"xmlLang":I8($,IU,"xml:lang",X);break;case"xmlSpace":I8($,IU,"xml:space",X);break;case"is":B!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),jQ($,"is",X);break;case"innerText":case"textContent":break;case"popoverTarget":Hw||X==null||typeof X!=="object"||(Hw=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",X));default:!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"?(G=RK(G),jQ($,G,X)):d2.hasOwnProperty(G)&&X!=null&&typeof X!=="function"&&J8(G,X)}}function cX($,Z,G,X,N,B){switch(G){case"style":TK($,X,B);break;case"dangerouslySetInnerHTML":if(X!=null){if(typeof X!=="object"||!("__html"in X))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=X.__html,G!=null){if(N.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=G}}break;case"children":typeof X==="string"?U7($,X):(typeof X==="number"||typeof X==="bigint")&&U7($,""+X);break;case"onScroll":X!=null&&(typeof X!=="function"&&J8(G,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&J8(G,X),c0("scrollend",$));break;case"onClick":X!=null&&(typeof X!=="function"&&J8(G,X),$.onclick=j8);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(d2.hasOwnProperty(G))X!=null&&typeof X!=="function"&&J8(G,X);else $:{if(G[0]==="o"&&G[1]==="n"&&(N=G.endsWith("Capture"),Z=G.slice(2,N?G.length-7:void 0),B=$[T5]||null,B=B!=null?B[G]:null,typeof B==="function"&&$.removeEventListener(Z,B,N),typeof X==="function")){typeof B!=="function"&&B!==null&&(G in $?$[G]=null:$.hasAttribute(G)&&$.removeAttribute(G)),$.addEventListener(Z,X,N);break $}G in $?$[G]=X:X===!0?$.setAttribute(G,""):jQ($,G,X)}}}function Q5($,Z,G){switch(pX(Z,G),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":c0("error",$),c0("load",$);var X=!1,N=!1,B;for(B in G)if(G.hasOwnProperty(B)){var W=G[B];if(W!=null)switch(B){case"src":X=!0;break;case"srcSet":N=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:U1($,Z,B,W,G,null)}}N&&U1($,Z,"srcSet",G.srcSet,G,null),X&&U1($,Z,"src",G.src,G,null);return;case"input":W6("input",G),c0("invalid",$);var w=B=W=N=null,V=null,_=null;for(X in G)if(G.hasOwnProperty(X)){var k=G[X];if(k!=null)switch(X){case"name":N=k;break;case"type":W=k;break;case"checked":V=k;break;case"defaultChecked":_=k;break;case"value":B=k;break;case"defaultValue":w=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U1($,Z,X,k,G,null)}}ZK($,G),QK($,B,w,V,_,W,N,!1);return;case"select":W6("select",G),c0("invalid",$),X=W=B=null;for(N in G)if(G.hasOwnProperty(N)&&(w=G[N],w!=null))switch(N){case"value":B=w;break;case"defaultValue":W=w;break;case"multiple":X=w;default:U1($,Z,N,w,G,null)}qK($,G),Z=B,G=W,$.multiple=!!X,Z!=null?v$($,!!X,Z,!1):G!=null&&v$($,!!X,G,!0);return;case"textarea":W6("textarea",G),c0("invalid",$),B=N=X=null;for(W in G)if(G.hasOwnProperty(W)&&(w=G[W],w!=null))switch(W){case"value":X=w;break;case"defaultValue":N=w;break;case"children":B=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:U1($,Z,W,w,G,null)}XK($,G),UK($,X,N,B);return;case"option":GK($,G);for(V in G)if(G.hasOwnProperty(V)&&(X=G[V],X!=null))switch(V){case"selected":$.selected=X&&typeof X!=="function"&&typeof X!=="symbol";break;default:U1($,Z,V,X,G,null)}return;case"dialog":c0("beforetoggle",$),c0("toggle",$),c0("cancel",$),c0("close",$);break;case"iframe":case"object":c0("load",$);break;case"video":case"audio":for(X=0;X<OZ.length;X++)c0(OZ[X],$);break;case"image":c0("error",$),c0("load",$);break;case"details":c0("toggle",$);break;case"embed":case"source":case"link":c0("error",$),c0("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(_ in G)if(G.hasOwnProperty(_)&&(X=G[_],X!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:U1($,Z,_,X,G,null)}return;default:if(N7(Z)){for(k in G)G.hasOwnProperty(k)&&(X=G[k],X!==void 0&&cX($,Z,k,X,G,void 0));return}}for(w in G)G.hasOwnProperty(w)&&(X=G[w],X!=null&&U1($,Z,w,X,G,null))}function K_($,Z,G,X){switch(pX(Z,X),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var N=null,B=null,W=null,w=null,V=null,_=null,k=null;for(g in G){var b=G[g];if(G.hasOwnProperty(g)&&b!=null)switch(g){case"checked":break;case"value":break;case"defaultValue":V=b;default:X.hasOwnProperty(g)||U1($,Z,g,null,X,b)}}for(var O in X){var g=X[O];if(b=G[O],X.hasOwnProperty(O)&&(g!=null||b!=null))switch(O){case"type":B=g;break;case"name":N=g;break;case"checked":_=g;break;case"defaultChecked":k=g;break;case"value":W=g;break;case"defaultValue":w=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:g!==b&&U1($,Z,O,g,X,b)}}Z=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,X=X.type==="checkbox"||X.type==="radio"?X.checked!=null:X.value!=null,Z||!X||Kw||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),Kw=!0),!Z||X||Nw||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),Nw=!0),G3($,W,w,V,_,k,B,N);return;case"select":g=W=w=O=null;for(B in G)if(V=G[B],G.hasOwnProperty(B)&&V!=null)switch(B){case"value":break;case"multiple":g=V;default:X.hasOwnProperty(B)||U1($,Z,B,null,X,V)}for(N in X)if(B=X[N],V=G[N],X.hasOwnProperty(N)&&(B!=null||V!=null))switch(N){case"value":O=B;break;case"defaultValue":w=B;break;case"multiple":W=B;default:B!==V&&U1($,Z,N,B,X,V)}X=w,Z=W,G=g,O!=null?v$($,!!Z,O,!1):!!G!==!!Z&&(X!=null?v$($,!!Z,X,!0):v$($,!!Z,Z?[]:"",!1));return;case"textarea":g=O=null;for(w in G)if(N=G[w],G.hasOwnProperty(w)&&N!=null&&!X.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:U1($,Z,w,null,X,N)}for(W in X)if(N=X[W],B=G[W],X.hasOwnProperty(W)&&(N!=null||B!=null))switch(W){case"value":O=N;break;case"defaultValue":g=N;break;case"children":break;case"dangerouslySetInnerHTML":if(N!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:N!==B&&U1($,Z,W,N,X,B)}YK($,O,g);return;case"option":for(var t in G)if(O=G[t],G.hasOwnProperty(t)&&O!=null&&!X.hasOwnProperty(t))switch(t){case"selected":$.selected=!1;break;default:U1($,Z,t,null,X,O)}for(V in X)if(O=X[V],g=G[V],X.hasOwnProperty(V)&&O!==g&&(O!=null||g!=null))switch(V){case"selected":$.selected=O&&typeof O!=="function"&&typeof O!=="symbol";break;default:U1($,Z,V,O,X,g)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Z0 in G)O=G[Z0],G.hasOwnProperty(Z0)&&O!=null&&!X.hasOwnProperty(Z0)&&U1($,Z,Z0,null,X,O);for(_ in X)if(O=X[_],g=G[_],X.hasOwnProperty(_)&&O!==g&&(O!=null||g!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U1($,Z,_,O,X,g)}return;default:if(N7(Z)){for(var F1 in G)O=G[F1],G.hasOwnProperty(F1)&&O!==void 0&&!X.hasOwnProperty(F1)&&cX($,Z,F1,void 0,X,O);for(k in X)O=X[k],g=G[k],!X.hasOwnProperty(k)||O===g||O===void 0&&g===void 0||cX($,Z,k,O,X,g);return}}for(var l0 in G)O=G[l0],G.hasOwnProperty(l0)&&O!=null&&!X.hasOwnProperty(l0)&&U1($,Z,l0,null,X,O);for(b in X)O=X[b],g=G[b],!X.hasOwnProperty(b)||O===g||O==null&&g==null||U1($,Z,b,O,X,g)}function MM($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function lX($){var Z={};$=$.style;for(var G=0;G<$.length;G++){var X=$[G];Z[X]=$.getPropertyValue(X)}return Z}function FM($,Z,G){if(Z!=null&&typeof Z!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var X,N=X="",B;for(B in Z)if(Z.hasOwnProperty(B)){var W=Z[B];W!=null&&typeof W!=="boolean"&&W!==""&&(B.indexOf("--")===0?(G7(W,B),X+=N+B+":"+(""+W).trim()):typeof W!=="number"||W===0||EF.has(B)?(G7(W,B),X+=N+B.replace(zF,"-$1").toLowerCase().replace(VF,"-ms-")+":"+(""+W).trim()):X+=N+B.replace(zF,"-$1").toLowerCase().replace(VF,"-ms-")+":"+W+"px",N=";")}X=X||null,Z=$.getAttribute("style"),Z!==X&&(X=I6(X),I6(Z)!==X&&(G.style=lX($)))}}function U4($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(Y1(X,Z),$===""+X)return}n1(Z,$,X,B)}function WM($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null){switch(typeof X){case"function":case"symbol":return}if(!X)return}else switch(typeof X){case"function":case"symbol":break;default:if(X)return}n1(Z,$,X,B)}function rX($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":return}else if(X!=null)switch(typeof X){case"function":case"symbol":break;default:if(Y1(X,G),$===""+X)return}n1(Z,$,X,B)}function wM($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(X))return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(!isNaN(X)&&(Y1(X,Z),$===""+X))return}n1(Z,$,X,B)}function sX($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(Y1(X,Z),G=K7(""+X),$===G)return}n1(Z,$,X,B)}function TM($,Z,G,X){for(var N={},B=new Set,W=$.attributes,w=0;w<W.length;w++)switch(W[w].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:B.add(W[w].name)}if(N7(Z)){for(var V in G)if(G.hasOwnProperty(V)){var _=G[V];if(_!=null){if(d2.hasOwnProperty(V))typeof _!=="function"&&J8(V,_);else if(G.suppressHydrationWarning!==!0)switch(V){case"children":typeof _!=="string"&&typeof _!=="number"||n1("children",$.textContent,_,N);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":W=$.innerHTML,_=_?_.__html:void 0,_!=null&&(_=BM($,_),n1(V,W,_,N));continue;case"style":B.delete(V),FM($,_,N);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":B.delete(V.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",V);continue;case"className":B.delete("class"),W=tN($,"class",_),n1("className",W,_,N);continue;default:X.context===o8&&Z!=="svg"&&Z!=="math"?B.delete(V.toLowerCase()):B.delete(V),W=tN($,V,_),n1(V,W,_,N)}}}}else for(_ in G)if(G.hasOwnProperty(_)&&(V=G[_],V!=null)){if(d2.hasOwnProperty(_))typeof V!=="function"&&J8(_,V);else if(G.suppressHydrationWarning!==!0)switch(_){case"children":typeof V!=="string"&&typeof V!=="number"||n1("children",$.textContent,V,N);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":W=$.innerHTML,V=V?V.__html:void 0,V!=null&&(V=BM($,V),W!==V&&(N[_]={__html:W}));continue;case"className":U4($,_,"class",V,B,N);continue;case"tabIndex":U4($,_,"tabindex",V,B,N);continue;case"style":B.delete(_),FM($,V,N);continue;case"multiple":B.delete(_),n1(_,$.multiple,V,N);continue;case"muted":B.delete(_),n1(_,$.muted,V,N);continue;case"autoFocus":B.delete("autofocus"),n1(_,$.autofocus,V,N);continue;case"data":if(Z!=="object"){B.delete(_),W=$.getAttribute("data"),n1(_,W,V,N);continue}case"src":case"href":if(!(V!==""||Z==="a"&&_==="href"||Z==="object"&&_==="data")){_==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',_,_):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',_,_);continue}sX($,_,_,V,B,N);continue;case"action":case"formAction":if(W=$.getAttribute(_),typeof V==="function"){B.delete(_.toLowerCase()),_==="formAction"?(B.delete("name"),B.delete("formenctype"),B.delete("formmethod"),B.delete("formtarget")):(B.delete("enctype"),B.delete("method"),B.delete("target"));continue}else if(W===PE){B.delete(_.toLowerCase()),n1(_,"function",V,N);continue}sX($,_,_.toLowerCase(),V,B,N);continue;case"xlinkHref":sX($,_,"xlink:href",V,B,N);continue;case"contentEditable":rX($,_,"contenteditable",V,B,N);continue;case"spellCheck":rX($,_,"spellcheck",V,B,N);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":rX($,_,_,V,B,N);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":WM($,_,_.toLowerCase(),V,B,N);continue;case"capture":case"download":$:{w=$;var k=W=_,b=N;if(B.delete(k),w=w.getAttribute(k),w===null)switch(typeof V){case"undefined":case"function":case"symbol":break $;default:if(V===!1)break $}else if(V!=null)switch(typeof V){case"function":case"symbol":break;case"boolean":if(V===!0&&w==="")break $;break;default:if(Y1(V,W),w===""+V)break $}n1(W,w,V,b)}continue;case"cols":case"rows":case"size":case"span":$:{if(w=$,k=W=_,b=N,B.delete(k),w=w.getAttribute(k),w===null)switch(typeof V){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(V)||1>V)break $}else if(V!=null)switch(typeof V){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(V)||1>V)&&(Y1(V,W),w===""+V))break $}n1(W,w,V,b)}continue;case"rowSpan":wM($,_,"rowspan",V,B,N);continue;case"start":wM($,_,_,V,B,N);continue;case"xHeight":U4($,_,"x-height",V,B,N);continue;case"xlinkActuate":U4($,_,"xlink:actuate",V,B,N);continue;case"xlinkArcrole":U4($,_,"xlink:arcrole",V,B,N);continue;case"xlinkRole":U4($,_,"xlink:role",V,B,N);continue;case"xlinkShow":U4($,_,"xlink:show",V,B,N);continue;case"xlinkTitle":U4($,_,"xlink:title",V,B,N);continue;case"xlinkType":U4($,_,"xlink:type",V,B,N);continue;case"xmlBase":U4($,_,"xml:base",V,B,N);continue;case"xmlLang":U4($,_,"xml:lang",V,B,N);continue;case"xmlSpace":U4($,_,"xml:space",V,B,N);continue;case"inert":V!==""||vJ[_]||(vJ[_]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",_)),WM($,_,_,V,B,N);continue;default:if(!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N"){w=RK(_),W=!1,X.context===o8&&Z!=="svg"&&Z!=="math"?B.delete(w.toLowerCase()):(k=_.toLowerCase(),k=cG.hasOwnProperty(k)?cG[k]||null:null,k!==null&&k!==_&&(W=!0,B.delete(k)),B.delete(w));$:if(k=$,b=w,w=V,q7(b))if(k.hasAttribute(b))k=k.getAttribute(b),Y1(w,b),w=k===""+w?w:k;else{switch(typeof w){case"function":case"symbol":break $;case"boolean":if(k=b.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")break $}w=w===void 0?void 0:null}else w=void 0;W||n1(_,w,V,N)}}}return 0<B.size&&G.suppressHydrationWarning!==!0&&N_($,B,N),Object.keys(N).length===0?null:N}function B_($,Z){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+Z+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+Z+" "+$[$.length-1]}}function RM($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function H_(){if(typeof performance.getEntriesByType==="function"){for(var $=0,Z=0,G=performance.getEntriesByType("resource"),X=0;X<G.length;X++){var N=G[X],B=N.transferSize,W=N.initiatorType,w=N.duration;if(B&&w&&RM(W)){W=0,w=N.responseEnd;for(X+=1;X<G.length;X++){var V=G[X],_=V.startTime;if(_>w)break;var{transferSize:k,initiatorType:b}=V;k&&RM(b)&&(V=V.responseEnd,W+=k*(V<w?1:(w-_)/(V-_)))}if(--X,Z+=8*(B+W)/(N.duration/1000),$++,10<$)break}}if(0<$)return Z/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function IG($){return $.nodeType===9?$:$.ownerDocument}function zM($){switch($){case Z9:return S9;case pG:return bJ;default:return o8}}function VM($,Z){if($===o8)switch(Z){case"svg":return S9;case"math":return bJ;default:return o8}return $===S9&&Z==="foreignObject"?o8:$}function nX($,Z){return $==="textarea"||$==="noscript"||typeof Z.children==="string"||typeof Z.children==="number"||typeof Z.children==="bigint"||typeof Z.dangerouslySetInnerHTML==="object"&&Z.dangerouslySetInnerHTML!==null&&Z.dangerouslySetInnerHTML.__html!=null}function M_(){var $=window.event;if($&&$.type==="popstate"){if($===AU)return!1;return AU=$,!0}return AU=null,!1}function f7(){var $=window.event;return $&&$!==SZ?$.type:null}function y7(){var $=window.event;return $&&$!==SZ?$.timeStamp:-1.1}function F_($){setTimeout(function(){throw $})}function W_($,Z,G){switch(Z){case"button":case"input":case"select":case"textarea":G.autoFocus&&$.focus();break;case"img":G.src?$.src=G.src:G.srcSet&&($.srcset=G.srcSet)}}function w_(){}function T_($,Z,G,X){K_($,Z,G,X),$[T5]=X}function LM($){U7($,"")}function R_($,Z,G){$.nodeValue=G}function _M($){if(!$.__reactWarnedAboutChildrenConflict){var Z=$[T5]||null;if(Z!==null){var G=P0($);G!==null&&(typeof Z.children==="string"||typeof Z.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,G0(G,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):Z.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,G0(G,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function j6($){return $==="head"}function z_($,Z){$.removeChild(Z)}function V_($,Z){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(Z)}function PM($,Z){var G=Z,X=0;do{var N=G.nextSibling;if($.removeChild(G),N&&N.nodeType===8)if(G=N.data,G===AZ||G===kJ){if(X===0){$.removeChild(N),o$(Z);return}X--}else if(G===DZ||G===a6||G===Y$||G===A9||G===X$)X++;else if(G===CE)g7($.ownerDocument.documentElement);else if(G===jE){G=$.ownerDocument.head,g7(G);for(var B=G.firstChild;B;){var{nextSibling:W,nodeName:w}=B;B[c7]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&B.rel.toLowerCase()==="stylesheet"||G.removeChild(B),B=W}}else G===IE&&g7($.ownerDocument.body);G=N}while(G);o$(Z)}function EM($,Z){var G=$;$=0;do{var X=G.nextSibling;if(G.nodeType===1?Z?(G._stashedDisplay=G.style.display,G.style.display="none"):(G.style.display=G._stashedDisplay||"",G.getAttribute("style")===""&&G.removeAttribute("style")):G.nodeType===3&&(Z?(G._stashedText=G.nodeValue,G.nodeValue=""):G.nodeValue=G._stashedText||""),X&&X.nodeType===8)if(G=X.data,G===AZ)if($===0)break;else $--;else G!==DZ&&G!==a6&&G!==Y$&&G!==A9||$++;G=X}while(G)}function L_($){EM($,!0)}function __($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function P_($){$.nodeValue=""}function E_($){EM($,!1)}function C_($,Z){Z=Z[OE],Z=Z!==void 0&&Z!==null&&Z.hasOwnProperty("display")?Z.display:null,$.style.display=Z==null||typeof Z==="boolean"?"":(""+Z).trim()}function I_($,Z){$.nodeValue=Z}function oX($){var Z=$.firstChild;Z&&Z.nodeType===10&&(Z=Z.nextSibling);for(;Z;){var G=Z;switch(Z=Z.nextSibling,G.nodeName){case"HTML":case"HEAD":case"BODY":oX(G),e(G);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(G.rel.toLowerCase()==="stylesheet")continue}$.removeChild(G)}}function j_($,Z,G,X){for(;$.nodeType===1;){var N=G;if($.nodeName.toLowerCase()!==Z.toLowerCase()){if(!X&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!X)if(Z==="input"&&$.type==="hidden"){Y1(N.name,"name");var B=N.name==null?null:""+N.name;if(N.type==="hidden"&&$.getAttribute("name")===B)return $}else return $;else if(!$[c7])switch(Z){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(B=$.getAttribute("rel"),B==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(B!==N.rel||$.getAttribute("href")!==(N.href==null||N.href===""?null:N.href)||$.getAttribute("crossorigin")!==(N.crossOrigin==null?null:N.crossOrigin)||$.getAttribute("title")!==(N.title==null?null:N.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(B=$.getAttribute("src"),(B!==(N.src==null?null:N.src)||$.getAttribute("type")!==(N.type==null?null:N.type)||$.getAttribute("crossorigin")!==(N.crossOrigin==null?null:N.crossOrigin))&&B&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=i5($.nextSibling),$===null)break}return null}function O_($,Z,G){if(Z==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!G)return null;if($=i5($.nextSibling),$===null)return null}return $}function CM($,Z){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!Z)return null;if($=i5($.nextSibling),$===null)return null}return $}function iX($){return $.data===a6||$.data===Y$}function aX($){return $.data===A9||$.data===a6&&$.ownerDocument.readyState!==Fw}function D_($,Z){var G=$.ownerDocument;if($.data===Y$)$._reactRetry=Z;else if($.data!==a6||G.readyState!==Fw)Z();else{var X=function(){Z(),G.removeEventListener("DOMContentLoaded",X)};G.addEventListener("DOMContentLoaded",X),$._reactRetry=X}}function i5($){for(;$!=null;$=$.nextSibling){var Z=$.nodeType;if(Z===1||Z===3)break;if(Z===8){if(Z=$.data,Z===DZ||Z===A9||Z===a6||Z===Y$||Z===X$||Z===jU||Z===Mw)break;if(Z===AZ||Z===kJ)return null}}return $}function IM($){if($.nodeType===1){for(var Z=$.nodeName.toLowerCase(),G={},X=$.attributes,N=0;N<X.length;N++){var B=X[N];G[MM(B.name)]=B.name.toLowerCase()==="style"?lX($):B.value}return{type:Z,props:G}}return $.nodeType===8?$.data===X$?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function jM($,Z,G){return G===null||G[EE]!==!0?($.nodeValue===Z?$=null:(Z=I6(Z),$=I6($.nodeValue)===Z?null:$.nodeValue),$):null}function tX($){$=$.nextSibling;for(var Z=0;$;){if($.nodeType===8){var G=$.data;if(G===AZ||G===kJ){if(Z===0)return i5($.nextSibling);Z--}else G!==DZ&&G!==A9&&G!==a6&&G!==Y$&&G!==X$||Z++}$=$.nextSibling}return null}function OM($){$=$.previousSibling;for(var Z=0;$;){if($.nodeType===8){var G=$.data;if(G===DZ||G===A9||G===a6||G===Y$||G===X$){if(Z===0)return $;Z--}else G!==AZ&&G!==kJ||Z++}$=$.previousSibling}return null}function A_($){o$($)}function S_($){o$($)}function v_($){o$($)}function DM($,Z,G,X,N){switch(N&&N3($,X.ancestorInfo),Z=IG(G),$){case"html":if($=Z.documentElement,!$)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"head":if($=Z.head,!$)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"body":if($=Z.body,!$)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function k_($,Z,G,X){if(!G[S6]&&P0(G)){var N=G.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",N,N,N)}switch($){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(N=G.attributes;N.length;)G.removeAttributeNode(N[0]);Q5(G,$,Z),G[G5]=X,G[T5]=Z}function g7($){for(var Z=$.attributes;Z.length;)$.removeAttributeNode(Z[0]);e($)}function jG($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function AM($,Z,G){var X=v9;if(X&&typeof Z==="string"&&Z){var N=Y4(Z);N='link[rel="'+$+'"][href="'+N+'"]',typeof G==="string"&&(N+='[crossorigin="'+G+'"]'),Vw.has(N)||(Vw.add(N),$={rel:$,crossOrigin:G,href:Z},X.querySelector(N)===null&&(Z=X.createElement("link"),Q5(Z,"link",$),F0(Z),X.head.appendChild(Z)))}}function SM($,Z,G,X){var N=(N=D6.current)?jG(N):null;if(!N)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof G.precedence==="string"&&typeof G.href==="string"?(G=s$(G.href),Z=i0(N).hoistableStyles,X=Z.get(G),X||(X={type:"style",instance:null,count:0,state:null},Z.set(G,X)),X):{type:"void",instance:null,count:0,state:null};case"link":if(G.rel==="stylesheet"&&typeof G.href==="string"&&typeof G.precedence==="string"){$=s$(G.href);var B=i0(N).hoistableStyles,W=B.get($);if(!W&&(N=N.ownerDocument||N,W={type:"stylesheet",instance:null,count:0,state:{loading:N$,preload:null}},B.set($,W),(B=N.querySelector(h7($)))&&!B._p&&(W.instance=B,W.state.loading=vZ|z4),!V4.has($))){var w={rel:"preload",as:"style",href:G.href,crossOrigin:G.crossOrigin,integrity:G.integrity,media:G.media,hrefLang:G.hrefLang,referrerPolicy:G.referrerPolicy};V4.set($,w),B||b_(N,$,w,W.state)}if(Z&&X===null)throw G=`
|
|
175
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,d($))})}function q$($){$!==S9&&$.next===null&&(S9===null?Aq=S9=$:S9=S9.next=$),Sq=!0,x.actQueue!==null?IU||(IU=!0,UM()):EU||(EU=!0,UM())}function bQ($,Q){if(!jU&&Sq){jU=!0;do{var G=!1;for(var X=Aq;X!==null;){if(!Q)if($!==0){var N=X.pendingLanes;if(N===0)var B=0;else{var{suspendedLanes:F,pingedLanes:T}=X;B=(1<<31-w5(42|$)+1)-1,B&=N&~(F&~T),B=B&201326741?B&201326741|1:B?B|2:0}B!==0&&(G=!0,YM(X,B))}else B=A0,B=C6(X,X===N1?B:0,X.cancelPendingCommit!==null||X.timeoutHandle!==K7),(B&3)===0||P6(X,B)||(G=!0,YM(X,B));X=X.next}}while(G);jU=!1}}function Y_(){vZ=window.event,m3()}function m3(){Sq=IU=EU=!1;var $=0;Q6!==0&&W_()&&($=Q6);for(var Q=o1(),G=null,X=Aq;X!==null;){var N=X.next,B=qM(X,Q);if(B===0)X.next=null,G===null?Aq=N:G.next=N,N===null&&(S9=G);else if(G=X,$!==0||(B&3)!==0)Sq=!0;X=N}d1!==e8&&d1!==jq||bQ($,!1),Q6!==0&&(Q6=0)}function qM($,Q){for(var{suspendedLanes:G,pingedLanes:X,expirationTimes:N}=$,B=$.pendingLanes&-62914561;0<B;){var F=31-w5(B),T=1<<F,V=N[F];if(V===-1){if((T&G)===0||(T&X)!==0)N[F]=qX(T,Q)}else V<=Q&&($.expiredLanes|=T);B&=~T}if(Q=N1,G=A0,G=C6($,$===Q?G:0,$.cancelPendingCommit!==null||$.timeoutHandle!==K7),X=$.callbackNode,G===0||$===Q&&(G1===J7||G1===G7)||$.cancelPendingCommit!==null)return X!==null&&d3(X),$.callbackNode=null,$.callbackPriority=0;if((G&3)===0||P6($,G)){if(Q=G&-G,Q!==$.callbackPriority||x.actQueue!==null&&X!==OU)d3(X);else return Q;switch(C(G)){case Q4:case S4:G=CY;break;case H$:G=$9;break;case lG:G=PY;break;default:G=$9}return X=XM.bind(null,$),x.actQueue!==null?(x.actQueue.push(X),G=OU):G=LY(G,X),$.callbackPriority=Q,$.callbackNode=G,Q}return X!==null&&d3(X),$.callbackPriority=2,$.callbackNode=null,2}function XM($,Q){if(Nq=Uq=!1,vZ=window.event,d1!==e8&&d1!==jq)return $.callbackNode=null,$.callbackPriority=0,null;var G=$.callbackNode;if(g4===Iq&&(g4=zU),vQ()&&$.callbackNode!==G)return null;var X=A0;if(X=C6($,$===N1?X:0,$.cancelPendingCommit!==null||$.timeoutHandle!==K7),X===0)return null;return xH($,X,Q),qM($,o1()),$.callbackNode!=null&&$.callbackNode===G?XM.bind(null,$):null}function YM($,Q){if(vQ())return null;Uq=Nq,Nq=!1,xH($,Q,!0)}function d3($){$!==OU&&$!==null&&i_($)}function UM(){x.actQueue!==null&&x.actQueue.push(function(){return m3(),null}),SP(function(){(n0&(r1|q4))!==t1?LY(_Y,Y_):m3()})}function p3(){if(Q6===0){var $=i6;$===0&&($=dG,dG<<=1,(dG&261888)===0&&(dG=256)),Q6=$}return Q6}function NM($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return X1($,"action"),BQ(""+$)}function KM($,Q){var G=Q.ownerDocument.createElement("input");return G.name=Q.name,G.value=Q.value,$.id&&G.setAttribute("form",$.id),Q.parentNode.insertBefore(G,Q),$=new FormData($),G.parentNode.removeChild(G),$}function U_($,Q,G,X,N){if(Q==="submit"&&G&&G.stateNode===N){var B=NM((N[z5]||null).action),F=X.submitter;F&&(Q=(Q=F[z5]||null)?NM(Q.formAction):F.getAttribute("formAction"),Q!==null&&(B=Q,F=null));var T=new iG("action","action",null,X,N);$.push({event:T,listeners:[{instance:null,listener:function(){if(X.defaultPrevented){if(Q6!==0){var V=F?KM(N,F):new FormData(N),_={pending:!0,data:V,method:N.method,action:B};Object.freeze(_),N3(G,_,null,V)}}else typeof B==="function"&&(T.preventDefault(),V=F?KM(N,F):new FormData(N),_={pending:!0,data:V,method:N.method,action:B},Object.freeze(_),N3(G,_,B,V))},currentTarget:N}]})}}function OG($,Q,G){$.currentTarget=G;try{Q($)}catch(X){uY(X)}$.currentTarget=null}function BM($,Q){Q=(Q&4)!==0;for(var G=0;G<$.length;G++){var X=$[G];$:{var N=void 0,B=X.event;if(X=X.listeners,Q)for(var F=X.length-1;0<=F;F--){var T=X[F],V=T.instance,_=T.currentTarget;if(T=T.listener,V!==N&&B.isPropagationStopped())break $;V!==null?G0(V,OG,B,T,_):OG(B,T,_),N=V}else for(F=0;F<X.length;F++){if(T=X[F],V=T.instance,_=T.currentTarget,T=T.listener,V!==N&&B.isPropagationStopped())break $;V!==null?G0(V,OG,B,T,_):OG(B,T,_),N=V}}}}function p0($,Q){DU.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var G=Q[EY];G===void 0&&(G=Q[EY]=new Set);var X=$+"__bubble";G.has(X)||(HM(Q,$,2,!1),G.add(X))}function c3($,Q,G){DU.has($)&&!Q&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var X=0;Q&&(X|=4),HM(G,$,X,Q)}function l3($){if(!$[vq]){$[vq]=!0,UW.forEach(function(G){G!=="selectionchange"&&(DU.has(G)||c3(G,!1,$),c3(G,!0,$))});var Q=$.nodeType===9?$:$.ownerDocument;Q===null||Q[vq]||(Q[vq]=!0,c3("selectionchange",!1,Q))}}function HM($,Q,G,X){switch(lM(Q)){case Q4:var N=d_;break;case S4:N=p_;break;default:N=YY}G=N.bind(null,Q,G,$),N=void 0,!AY||Q!=="touchstart"&&Q!=="touchmove"&&Q!=="wheel"||(N=!0),X?N!==void 0?$.addEventListener(Q,G,{capture:!0,passive:N}):$.addEventListener(Q,G,!0):N!==void 0?$.addEventListener(Q,G,{passive:N}):$.addEventListener(Q,G,!1)}function r3($,Q,G,X,N){var B=X;if((Q&1)===0&&(Q&2)===0&&X!==null)$:for(;;){if(X===null)return;var F=X.tag;if(F===3||F===4){var T=X.stateNode.containerInfo;if(T===N)break;if(F===4)for(F=X.return;F!==null;){var V=F.tag;if((V===3||V===4)&&F.stateNode.containerInfo===N)return;F=F.return}for(;T!==null;){if(F=X0(T),F===null)return;if(V=F.tag,V===5||V===6||V===26||V===27){X=B=F;continue $}T=T.parentNode}}X=X.return}CK(function(){var _=B,k=WX(G),b=[];$:{var O=lW.get($);if(O!==void 0){var f=iG,e=$;switch($){case"keypress":if(fJ(G)===0)break $;case"keydown":case"keyup":f=gC;break;case"focusin":e="focus",f=bY;break;case"focusout":e="blur",f=bY;break;case"beforeblur":case"afterblur":f=bY;break;case"click":if(G.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=SW;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=EC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=uC;break;case mW:case dW:case pW:f=OC;break;case cW:f=dC;break;case"scroll":case"scrollend":f=CC;break;case"wheel":f=cC;break;case"copy":case"cut":case"paste":f=AC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=kW;break;case"toggle":case"beforetoggle":f=rC}var Z0=(Q&4)!==0,M1=!Z0&&($==="scroll"||$==="scrollend"),c0=Z0?O!==null?O+"Capture":null:O;Z0=[];for(var j=_,D;j!==null;){var v=j;if(D=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||D===null||c0===null||(v=HQ(j,c0),v!=null&&Z0.push(yQ(j,v,D))),M1)break;j=j.return}0<Z0.length&&(O=new f(O,e,null,G,k),b.push({event:O,listeners:Z0}))}}if((Q&7)===0){$:{if(O=$==="mouseover"||$==="pointerover",f=$==="mouseout"||$==="pointerout",O&&G!==rQ&&(e=G.relatedTarget||G.fromElement)&&(X0(e)||e[f8]))break $;if(f||O){if(O=k.window===k?k:(O=k.ownerDocument)?O.defaultView||O.parentWindow:window,f){if(e=G.relatedTarget||G.toElement,f=_,e=e?X0(e):null,e!==null&&(M1=g(e),Z0=e.tag,e!==M1||Z0!==5&&Z0!==27&&Z0!==6))e=null}else f=null,e=_;if(f!==e){if(Z0=SW,v="onMouseLeave",c0="onMouseEnter",j="mouse",$==="pointerout"||$==="pointerover")Z0=kW,v="onPointerLeave",c0="onPointerEnter",j="pointer";if(M1=f==null?O:E0(f),D=e==null?O:E0(e),O=new Z0(v,j+"leave",f,G,k),O.target=M1,O.relatedTarget=D,v=null,X0(k)===_&&(Z0=new Z0(c0,j+"enter",e,G,k),Z0.target=D,Z0.relatedTarget=M1,v=Z0),M1=v,f&&e)Q:{Z0=N_,c0=f,j=e,D=0;for(v=c0;v;v=Z0(v))D++;v=0;for(var u=j;u;u=Z0(u))v++;for(;0<D-v;)c0=Z0(c0),D--;for(;0<v-D;)j=Z0(j),v--;for(;D--;){if(c0===j||j!==null&&c0===j.alternate){Z0=c0;break Q}c0=Z0(c0),j=Z0(j)}Z0=null}else Z0=null;f!==null&&MM(b,O,f,Z0,!1),e!==null&&M1!==null&&MM(b,M1,e,Z0,!0)}}}$:{if(O=_?E0(_):window,f=O.nodeName&&O.nodeName.toLowerCase(),f==="select"||f==="input"&&O.type==="file")var Q0=AK;else if(OK(O))if(xW)Q0=LL;else{Q0=zL;var _0=wL}else f=O.nodeName,!f||f.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?_&&KQ(_.elementType)&&(Q0=AK):Q0=VL;if(Q0&&(Q0=Q0($,_))){DK(b,Q0,G,k);break $}_0&&_0($,O,_),$==="focusout"&&_&&O.type==="number"&&_.memoizedProps.value!=null&&UX(O,"number",O.value)}switch(_0=_?E0(_):window,$){case"focusin":if(OK(_0)||_0.contentEditable==="true")U9=_0,fY=_,eQ=null;break;case"focusout":eQ=fY=U9=null;break;case"mousedown":gY=!0;break;case"contextmenu":case"mouseup":case"dragend":gY=!1,gK(b,G,k);break;case"selectionchange":if(iC)break;case"keydown":case"keyup":gK(b,G,k)}var W0;if(yY)$:{switch($){case"compositionstart":var N0="onCompositionStart";break $;case"compositionend":N0="onCompositionEnd";break $;case"compositionupdate":N0="onCompositionUpdate";break $}N0=void 0}else Y9?IK($,G)&&(N0="onCompositionEnd"):$==="keydown"&&G.keyCode===bW&&(N0="onCompositionStart");if(N0&&(yW&&G.locale!=="ko"&&(Y9||N0!=="onCompositionStart"?N0==="onCompositionEnd"&&Y9&&(W0=PK()):(g8=k,SY=("value"in g8)?g8.value:g8.textContent,Y9=!0)),_0=DG(_,N0),0<_0.length&&(N0=new vW(N0,$,null,G,k),b.push({event:N0,listeners:_0}),W0?N0.data=W0:(W0=jK(G),W0!==null&&(N0.data=W0)))),W0=nC?WL($,G):FL($,G))N0=DG(_,"onBeforeInput"),0<N0.length&&(_0=new vC("onBeforeInput","beforeinput",null,G,k),b.push({event:_0,listeners:N0}),_0.data=W0);U_(b,$,_,G,k)}BM(b,Q)})}function yQ($,Q,G){return{instance:$,listener:Q,currentTarget:G}}function DG($,Q){for(var G=Q+"Capture",X=[];$!==null;){var N=$,B=N.stateNode;if(N=N.tag,N!==5&&N!==26&&N!==27||B===null||(N=HQ($,G),N!=null&&X.unshift(yQ($,N,B)),N=HQ($,Q),N!=null&&X.push(yQ($,N,B))),$.tag===3)return X;$=$.return}return[]}function N_($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function MM($,Q,G,X,N){for(var B=Q._reactName,F=[];G!==null&&G!==X;){var T=G,V=T.alternate,_=T.stateNode;if(T=T.tag,V!==null&&V===X)break;T!==5&&T!==26&&T!==27||_===null||(V=_,N?(_=HQ(G,B),_!=null&&F.unshift(yQ(G,_,V))):N||(_=HQ(G,B),_!=null&&F.push(yQ(G,_,V)))),G=G.return}F.length!==0&&$.push({event:Q,listeners:F})}function s3($,Q){KL($,Q),$!=="input"&&$!=="textarea"&&$!=="select"||Q==null||Q.value!==null||DW||(DW=!0,$==="select"&&Q.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var G={registrationNameDependencies:c6,possibleRegistrationNames:IY};KQ($)||typeof Q.is==="string"||HL($,Q,G),Q.contentEditable&&!Q.suppressContentEditableWarning&&Q.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function n1($,Q,G,X){Q!==G&&(G=S8(G),S8(Q)!==G&&(X[$]=Q))}function K_($,Q,G){Q.forEach(function(X){G[TM(X)]=X==="style"?o3($):$.getAttribute(X)})}function X$($,Q){Q===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof Q)}function WM($,Q){return $=$.namespaceURI===sG||$.namespaceURI===J9?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=Q,$.innerHTML}function S8($){return R8($)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",_6($)),s1($)),(typeof $==="string"?$:""+$).replace(_P,`
|
|
176
|
+
`).replace(CP,"")}function FM($,Q){return Q=S8(Q),S8($)===Q?!0:!1}function Y1($,Q,G,X,N,B){switch(G){case"children":if(typeof X==="string")yJ(X,Q,!1),Q==="body"||Q==="textarea"&&X===""||NQ($,X);else if(typeof X==="number"||typeof X==="bigint")yJ(""+X,Q,!1),Q!=="body"&&NQ($,""+X);break;case"className":vJ($,"class",X);break;case"tabIndex":vJ($,"tabindex",X);break;case"dir":case"role":case"viewBox":case"width":case"height":vJ($,G,X);break;case"style":VK($,X,B);break;case"data":if(Q!=="object"){vJ($,"data",X);break}case"src":case"href":if(X===""&&(Q!=="a"||G!=="href")){G==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',G,G):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',G,G),$.removeAttribute(G);break}if(X==null||typeof X==="function"||typeof X==="symbol"||typeof X==="boolean"){$.removeAttribute(G);break}X1(X,G),X=BQ(""+X),$.setAttribute(G,X);break;case"action":case"formAction":if(X!=null&&(Q==="form"?G==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof X==="function"&&(N.encType==null&&N.method==null||yq||(yq=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),N.target==null||bq||(bq=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):Q==="input"||Q==="button"?G==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):Q!=="input"||N.type==="submit"||N.type==="image"||kq?Q!=="button"||N.type==null||N.type==="submit"||kq?typeof X==="function"&&(N.name==null||WT||(WT=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),N.formEncType==null&&N.formMethod==null||yq||(yq=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),N.formTarget==null||bq||(bq=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(kq=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(kq=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):G==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof X==="function"){$.setAttribute(G,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof B==="function"&&(G==="formAction"?(Q!=="input"&&Y1($,Q,"name",N.name,N,null),Y1($,Q,"formEncType",N.formEncType,N,null),Y1($,Q,"formMethod",N.formMethod,N,null),Y1($,Q,"formTarget",N.formTarget,N,null)):(Y1($,Q,"encType",N.encType,N,null),Y1($,Q,"method",N.method,N,null),Y1($,Q,"target",N.target,N,null)));if(X==null||typeof X==="symbol"||typeof X==="boolean"){$.removeAttribute(G);break}X1(X,G),X=BQ(""+X),$.setAttribute(G,X);break;case"onClick":X!=null&&(typeof X!=="function"&&X$(G,X),$.onclick=A$);break;case"onScroll":X!=null&&(typeof X!=="function"&&X$(G,X),p0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&X$(G,X),p0("scrollend",$));break;case"dangerouslySetInnerHTML":if(X!=null){if(typeof X!=="object"||!("__html"in X))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=X.__html,G!=null){if(N.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=G}}break;case"multiple":$.multiple=X&&typeof X!=="function"&&typeof X!=="symbol";break;case"muted":$.muted=X&&typeof X!=="function"&&typeof X!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(X==null||typeof X==="function"||typeof X==="boolean"||typeof X==="symbol"){$.removeAttribute("xlink:href");break}X1(X,G),G=BQ(""+X),$.setAttributeNS(Y7,"xlink:href",G);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":X!=null&&typeof X!=="function"&&typeof X!=="symbol"?(X1(X,G),$.setAttribute(G,""+X)):$.removeAttribute(G);break;case"inert":X!==""||fq[G]||(fq[G]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",G));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":X&&typeof X!=="function"&&typeof X!=="symbol"?$.setAttribute(G,""):$.removeAttribute(G);break;case"capture":case"download":X===!0?$.setAttribute(G,""):X!==!1&&X!=null&&typeof X!=="function"&&typeof X!=="symbol"?(X1(X,G),$.setAttribute(G,X)):$.removeAttribute(G);break;case"cols":case"rows":case"size":case"span":X!=null&&typeof X!=="function"&&typeof X!=="symbol"&&!isNaN(X)&&1<=X?(X1(X,G),$.setAttribute(G,X)):$.removeAttribute(G);break;case"rowSpan":case"start":X==null||typeof X==="function"||typeof X==="symbol"||isNaN(X)?$.removeAttribute(G):(X1(X,G),$.setAttribute(G,X));break;case"popover":p0("beforetoggle",$),p0("toggle",$),SJ($,"popover",X);break;case"xlinkActuate":D$($,Y7,"xlink:actuate",X);break;case"xlinkArcrole":D$($,Y7,"xlink:arcrole",X);break;case"xlinkRole":D$($,Y7,"xlink:role",X);break;case"xlinkShow":D$($,Y7,"xlink:show",X);break;case"xlinkTitle":D$($,Y7,"xlink:title",X);break;case"xlinkType":D$($,Y7,"xlink:type",X);break;case"xmlBase":D$($,AU,"xml:base",X);break;case"xmlLang":D$($,AU,"xml:lang",X);break;case"xmlSpace":D$($,AU,"xml:space",X);break;case"is":B!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),SJ($,"is",X);break;case"innerText":case"textContent":break;case"popoverTarget":FT||X==null||typeof X!=="object"||(FT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",X));default:!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"?(G=LK(G),SJ($,G,X)):c6.hasOwnProperty(G)&&X!=null&&typeof X!=="function"&&X$(G,X)}}function n3($,Q,G,X,N,B){switch(G){case"style":VK($,X,B);break;case"dangerouslySetInnerHTML":if(X!=null){if(typeof X!=="object"||!("__html"in X))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=X.__html,G!=null){if(N.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=G}}break;case"children":typeof X==="string"?NQ($,X):(typeof X==="number"||typeof X==="bigint")&&NQ($,""+X);break;case"onScroll":X!=null&&(typeof X!=="function"&&X$(G,X),p0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&X$(G,X),p0("scrollend",$));break;case"onClick":X!=null&&(typeof X!=="function"&&X$(G,X),$.onclick=A$);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(c6.hasOwnProperty(G))X!=null&&typeof X!=="function"&&X$(G,X);else $:{if(G[0]==="o"&&G[1]==="n"&&(N=G.endsWith("Capture"),Q=G.slice(2,N?G.length-7:void 0),B=$[z5]||null,B=B!=null?B[G]:null,typeof B==="function"&&$.removeEventListener(Q,B,N),typeof X==="function")){typeof B!=="function"&&B!==null&&(G in $?$[G]=null:$.hasAttribute(G)&&$.removeAttribute(G)),$.addEventListener(Q,X,N);break $}G in $?$[G]=X:X===!0?$.setAttribute(G,""):SJ($,G,X)}}}function J5($,Q,G){switch(s3(Q,G),Q){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":p0("error",$),p0("load",$);var X=!1,N=!1,B;for(B in G)if(G.hasOwnProperty(B)){var F=G[B];if(F!=null)switch(B){case"src":X=!0;break;case"srcSet":N=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Q+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Y1($,Q,B,F,G,null)}}N&&Y1($,Q,"srcSet",G.srcSet,G,null),X&&Y1($,Q,"src",G.src,G,null);return;case"input":V8("input",G),p0("invalid",$);var T=B=F=N=null,V=null,_=null;for(X in G)if(G.hasOwnProperty(X)){var k=G[X];if(k!=null)switch(X){case"name":N=k;break;case"type":F=k;break;case"checked":V=k;break;case"defaultChecked":_=k;break;case"value":B=k;break;case"defaultValue":T=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(Q+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Y1($,Q,X,k,G,null)}}GK($,G),qK($,B,T,V,_,F,N,!1);return;case"select":V8("select",G),p0("invalid",$),X=F=B=null;for(N in G)if(G.hasOwnProperty(N)&&(T=G[N],T!=null))switch(N){case"value":B=T;break;case"defaultValue":F=T;break;case"multiple":X=T;default:Y1($,Q,N,T,G,null)}UK($,G),Q=B,G=F,$.multiple=!!X,Q!=null?b7($,!!X,Q,!1):G!=null&&b7($,!!X,G,!0);return;case"textarea":V8("textarea",G),p0("invalid",$),B=N=X=null;for(F in G)if(G.hasOwnProperty(F)&&(T=G[F],T!=null))switch(F){case"value":X=T;break;case"defaultValue":N=T;break;case"children":B=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Y1($,Q,F,T,G,null)}NK($,G),BK($,X,N,B);return;case"option":XK($,G);for(V in G)if(G.hasOwnProperty(V)&&(X=G[V],X!=null))switch(V){case"selected":$.selected=X&&typeof X!=="function"&&typeof X!=="symbol";break;default:Y1($,Q,V,X,G,null)}return;case"dialog":p0("beforetoggle",$),p0("toggle",$),p0("cancel",$),p0("close",$);break;case"iframe":case"object":p0("load",$);break;case"video":case"audio":for(X=0;X<DZ.length;X++)p0(DZ[X],$);break;case"image":p0("error",$),p0("load",$);break;case"details":p0("toggle",$);break;case"embed":case"source":case"link":p0("error",$),p0("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(_ in G)if(G.hasOwnProperty(_)&&(X=G[_],X!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(Q+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Y1($,Q,_,X,G,null)}return;default:if(KQ(Q)){for(k in G)G.hasOwnProperty(k)&&(X=G[k],X!==void 0&&n3($,Q,k,X,G,void 0));return}}for(T in G)G.hasOwnProperty(T)&&(X=G[T],X!=null&&Y1($,Q,T,X,G,null))}function B_($,Q,G,X){switch(s3(Q,X),Q){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var N=null,B=null,F=null,T=null,V=null,_=null,k=null;for(f in G){var b=G[f];if(G.hasOwnProperty(f)&&b!=null)switch(f){case"checked":break;case"value":break;case"defaultValue":V=b;default:X.hasOwnProperty(f)||Y1($,Q,f,null,X,b)}}for(var O in X){var f=X[O];if(b=G[O],X.hasOwnProperty(O)&&(f!=null||b!=null))switch(O){case"type":B=f;break;case"name":N=f;break;case"checked":_=f;break;case"defaultChecked":k=f;break;case"value":F=f;break;case"defaultValue":T=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(Q+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:f!==b&&Y1($,Q,O,f,X,b)}}Q=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,X=X.type==="checkbox"||X.type==="radio"?X.checked!=null:X.value!=null,Q||!X||MT||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),MT=!0),!Q||X||HT||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),HT=!0),YX($,F,T,V,_,k,B,N);return;case"select":f=F=T=O=null;for(B in G)if(V=G[B],G.hasOwnProperty(B)&&V!=null)switch(B){case"value":break;case"multiple":f=V;default:X.hasOwnProperty(B)||Y1($,Q,B,null,X,V)}for(N in X)if(B=X[N],V=G[N],X.hasOwnProperty(N)&&(B!=null||V!=null))switch(N){case"value":O=B;break;case"defaultValue":T=B;break;case"multiple":F=B;default:B!==V&&Y1($,Q,N,B,X,V)}X=T,Q=F,G=f,O!=null?b7($,!!Q,O,!1):!!G!==!!Q&&(X!=null?b7($,!!Q,X,!0):b7($,!!Q,Q?[]:"",!1));return;case"textarea":f=O=null;for(T in G)if(N=G[T],G.hasOwnProperty(T)&&N!=null&&!X.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:Y1($,Q,T,null,X,N)}for(F in X)if(N=X[F],B=G[F],X.hasOwnProperty(F)&&(N!=null||B!=null))switch(F){case"value":O=N;break;case"defaultValue":f=N;break;case"children":break;case"dangerouslySetInnerHTML":if(N!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:N!==B&&Y1($,Q,F,N,X,B)}KK($,O,f);return;case"option":for(var e in G)if(O=G[e],G.hasOwnProperty(e)&&O!=null&&!X.hasOwnProperty(e))switch(e){case"selected":$.selected=!1;break;default:Y1($,Q,e,null,X,O)}for(V in X)if(O=X[V],f=G[V],X.hasOwnProperty(V)&&O!==f&&(O!=null||f!=null))switch(V){case"selected":$.selected=O&&typeof O!=="function"&&typeof O!=="symbol";break;default:Y1($,Q,V,O,X,f)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Z0 in G)O=G[Z0],G.hasOwnProperty(Z0)&&O!=null&&!X.hasOwnProperty(Z0)&&Y1($,Q,Z0,null,X,O);for(_ in X)if(O=X[_],f=G[_],X.hasOwnProperty(_)&&O!==f&&(O!=null||f!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(Q+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Y1($,Q,_,O,X,f)}return;default:if(KQ(Q)){for(var M1 in G)O=G[M1],G.hasOwnProperty(M1)&&O!==void 0&&!X.hasOwnProperty(M1)&&n3($,Q,M1,void 0,X,O);for(k in X)O=X[k],f=G[k],!X.hasOwnProperty(k)||O===f||O===void 0&&f===void 0||n3($,Q,k,O,X,f);return}}for(var c0 in G)O=G[c0],G.hasOwnProperty(c0)&&O!=null&&!X.hasOwnProperty(c0)&&Y1($,Q,c0,null,X,O);for(b in X)O=X[b],f=G[b],!X.hasOwnProperty(b)||O===f||O==null&&f==null||Y1($,Q,b,O,X,f)}function TM($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function o3($){var Q={};$=$.style;for(var G=0;G<$.length;G++){var X=$[G];Q[X]=$.getPropertyValue(X)}return Q}function RM($,Q,G){if(Q!=null&&typeof Q!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var X,N=X="",B;for(B in Q)if(Q.hasOwnProperty(B)){var F=Q[B];F!=null&&typeof F!=="boolean"&&F!==""&&(B.indexOf("--")===0?(GQ(F,B),X+=N+B+":"+(""+F).trim()):typeof F!=="number"||F===0||jW.has(B)?(GQ(F,B),X+=N+B.replace(_W,"-$1").toLowerCase().replace(CW,"-ms-")+":"+(""+F).trim()):X+=N+B.replace(_W,"-$1").toLowerCase().replace(CW,"-ms-")+":"+F+"px",N=";")}X=X||null,Q=$.getAttribute("style"),Q!==X&&(X=S8(X),S8(Q)!==X&&(G.style=o3($)))}}function K4($,Q,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(X1(X,Q),$===""+X)return}n1(Q,$,X,B)}function wM($,Q,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null){switch(typeof X){case"function":case"symbol":return}if(!X)return}else switch(typeof X){case"function":case"symbol":break;default:if(X)return}n1(Q,$,X,B)}function i3($,Q,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":return}else if(X!=null)switch(typeof X){case"function":case"symbol":break;default:if(X1(X,G),$===""+X)return}n1(Q,$,X,B)}function zM($,Q,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(X))return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(!isNaN(X)&&(X1(X,Q),$===""+X))return}n1(Q,$,X,B)}function a3($,Q,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(X1(X,Q),G=BQ(""+X),$===G)return}n1(Q,$,X,B)}function VM($,Q,G,X){for(var N={},B=new Set,F=$.attributes,T=0;T<F.length;T++)switch(F[T].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:B.add(F[T].name)}if(KQ(Q)){for(var V in G)if(G.hasOwnProperty(V)){var _=G[V];if(_!=null){if(c6.hasOwnProperty(V))typeof _!=="function"&&X$(V,_);else if(G.suppressHydrationWarning!==!0)switch(V){case"children":typeof _!=="string"&&typeof _!=="number"||n1("children",$.textContent,_,N);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":F=$.innerHTML,_=_?_.__html:void 0,_!=null&&(_=WM($,_),n1(V,F,_,N));continue;case"style":B.delete(V),RM($,_,N);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":B.delete(V.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",V);continue;case"className":B.delete("class"),F=QK($,"class",_),n1("className",F,_,N);continue;default:X.context===t$&&Q!=="svg"&&Q!=="math"?B.delete(V.toLowerCase()):B.delete(V),F=QK($,V,_),n1(V,F,_,N)}}}}else for(_ in G)if(G.hasOwnProperty(_)&&(V=G[_],V!=null)){if(c6.hasOwnProperty(_))typeof V!=="function"&&X$(_,V);else if(G.suppressHydrationWarning!==!0)switch(_){case"children":typeof V!=="string"&&typeof V!=="number"||n1("children",$.textContent,V,N);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":F=$.innerHTML,V=V?V.__html:void 0,V!=null&&(V=WM($,V),F!==V&&(N[_]={__html:F}));continue;case"className":K4($,_,"class",V,B,N);continue;case"tabIndex":K4($,_,"tabindex",V,B,N);continue;case"style":B.delete(_),RM($,V,N);continue;case"multiple":B.delete(_),n1(_,$.multiple,V,N);continue;case"muted":B.delete(_),n1(_,$.muted,V,N);continue;case"autoFocus":B.delete("autofocus"),n1(_,$.autofocus,V,N);continue;case"data":if(Q!=="object"){B.delete(_),F=$.getAttribute("data"),n1(_,F,V,N);continue}case"src":case"href":if(!(V!==""||Q==="a"&&_==="href"||Q==="object"&&_==="data")){_==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',_,_):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',_,_);continue}a3($,_,_,V,B,N);continue;case"action":case"formAction":if(F=$.getAttribute(_),typeof V==="function"){B.delete(_.toLowerCase()),_==="formAction"?(B.delete("name"),B.delete("formenctype"),B.delete("formmethod"),B.delete("formtarget")):(B.delete("enctype"),B.delete("method"),B.delete("target"));continue}else if(F===PP){B.delete(_.toLowerCase()),n1(_,"function",V,N);continue}a3($,_,_.toLowerCase(),V,B,N);continue;case"xlinkHref":a3($,_,"xlink:href",V,B,N);continue;case"contentEditable":i3($,_,"contenteditable",V,B,N);continue;case"spellCheck":i3($,_,"spellcheck",V,B,N);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i3($,_,_,V,B,N);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":wM($,_,_.toLowerCase(),V,B,N);continue;case"capture":case"download":$:{T=$;var k=F=_,b=N;if(B.delete(k),T=T.getAttribute(k),T===null)switch(typeof V){case"undefined":case"function":case"symbol":break $;default:if(V===!1)break $}else if(V!=null)switch(typeof V){case"function":case"symbol":break;case"boolean":if(V===!0&&T==="")break $;break;default:if(X1(V,F),T===""+V)break $}n1(F,T,V,b)}continue;case"cols":case"rows":case"size":case"span":$:{if(T=$,k=F=_,b=N,B.delete(k),T=T.getAttribute(k),T===null)switch(typeof V){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(V)||1>V)break $}else if(V!=null)switch(typeof V){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(V)||1>V)&&(X1(V,F),T===""+V))break $}n1(F,T,V,b)}continue;case"rowSpan":zM($,_,"rowspan",V,B,N);continue;case"start":zM($,_,_,V,B,N);continue;case"xHeight":K4($,_,"x-height",V,B,N);continue;case"xlinkActuate":K4($,_,"xlink:actuate",V,B,N);continue;case"xlinkArcrole":K4($,_,"xlink:arcrole",V,B,N);continue;case"xlinkRole":K4($,_,"xlink:role",V,B,N);continue;case"xlinkShow":K4($,_,"xlink:show",V,B,N);continue;case"xlinkTitle":K4($,_,"xlink:title",V,B,N);continue;case"xlinkType":K4($,_,"xlink:type",V,B,N);continue;case"xmlBase":K4($,_,"xml:base",V,B,N);continue;case"xmlLang":K4($,_,"xml:lang",V,B,N);continue;case"xmlSpace":K4($,_,"xml:space",V,B,N);continue;case"inert":V!==""||fq[_]||(fq[_]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",_)),wM($,_,_,V,B,N);continue;default:if(!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N"){T=LK(_),F=!1,X.context===t$&&Q!=="svg"&&Q!=="math"?B.delete(T.toLowerCase()):(k=_.toLowerCase(),k=nG.hasOwnProperty(k)?nG[k]||null:null,k!==null&&k!==_&&(F=!0,B.delete(k)),B.delete(T));$:if(k=$,b=T,T=V,XQ(b))if(k.hasAttribute(b))k=k.getAttribute(b),X1(T,b),T=k===""+T?T:k;else{switch(typeof T){case"function":case"symbol":break $;case"boolean":if(k=b.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")break $}T=T===void 0?void 0:null}else T=void 0;F||n1(_,T,V,N)}}}return 0<B.size&&G.suppressHydrationWarning!==!0&&K_($,B,N),Object.keys(N).length===0?null:N}function H_($,Q){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+Q+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+Q+" "+$[$.length-1]}}function LM($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function M_(){if(typeof performance.getEntriesByType==="function"){for(var $=0,Q=0,G=performance.getEntriesByType("resource"),X=0;X<G.length;X++){var N=G[X],B=N.transferSize,F=N.initiatorType,T=N.duration;if(B&&T&&LM(F)){F=0,T=N.responseEnd;for(X+=1;X<G.length;X++){var V=G[X],_=V.startTime;if(_>T)break;var{transferSize:k,initiatorType:b}=V;k&&LM(b)&&(V=V.responseEnd,F+=k*(V<T?1:(T-_)/(V-_)))}if(--X,Q+=8*(B+F)/(N.duration/1000),$++,10<$)break}}if(0<$)return Q/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function AG($){return $.nodeType===9?$:$.ownerDocument}function _M($){switch($){case J9:return k9;case sG:return hq;default:return t$}}function CM($,Q){if($===t$)switch(Q){case"svg":return k9;case"math":return hq;default:return t$}return $===k9&&Q==="foreignObject"?t$:$}function t3($,Q){return $==="textarea"||$==="noscript"||typeof Q.children==="string"||typeof Q.children==="number"||typeof Q.children==="bigint"||typeof Q.dangerouslySetInnerHTML==="object"&&Q.dangerouslySetInnerHTML!==null&&Q.dangerouslySetInnerHTML.__html!=null}function W_(){var $=window.event;if($&&$.type==="popstate"){if($===bU)return!1;return bU=$,!0}return bU=null,!1}function fQ(){var $=window.event;return $&&$!==vZ?$.type:null}function gQ(){var $=window.event;return $&&$!==vZ?$.timeStamp:-1.1}function F_($){setTimeout(function(){throw $})}function T_($,Q,G){switch(Q){case"button":case"input":case"select":case"textarea":G.autoFocus&&$.focus();break;case"img":G.src?$.src=G.src:G.srcSet&&($.srcset=G.srcSet)}}function R_(){}function w_($,Q,G,X){B_($,Q,G,X),$[z5]=X}function PM($){NQ($,"")}function z_($,Q,G){$.nodeValue=G}function EM($){if(!$.__reactWarnedAboutChildrenConflict){var Q=$[z5]||null;if(Q!==null){var G=P0($);G!==null&&(typeof Q.children==="string"||typeof Q.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,G0(G,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):Q.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,G0(G,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function v8($){return $==="head"}function V_($,Q){$.removeChild(Q)}function L_($,Q){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(Q)}function IM($,Q){var G=Q,X=0;do{var N=G.nextSibling;if($.removeChild(G),N&&N.nodeType===8)if(G=N.data,G===SZ||G===gq){if(X===0){$.removeChild(N),a7(Q);return}X--}else if(G===AZ||G===Z6||G===N7||G===v9||G===U7)X++;else if(G===IP)hQ($.ownerDocument.documentElement);else if(G===OP){G=$.ownerDocument.head,hQ(G);for(var B=G.firstChild;B;){var{nextSibling:F,nodeName:T}=B;B[lQ]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&B.rel.toLowerCase()==="stylesheet"||G.removeChild(B),B=F}}else G===jP&&hQ($.ownerDocument.body);G=N}while(G);a7(Q)}function jM($,Q){var G=$;$=0;do{var X=G.nextSibling;if(G.nodeType===1?Q?(G._stashedDisplay=G.style.display,G.style.display="none"):(G.style.display=G._stashedDisplay||"",G.getAttribute("style")===""&&G.removeAttribute("style")):G.nodeType===3&&(Q?(G._stashedText=G.nodeValue,G.nodeValue=""):G.nodeValue=G._stashedText||""),X&&X.nodeType===8)if(G=X.data,G===SZ)if($===0)break;else $--;else G!==AZ&&G!==Z6&&G!==N7&&G!==v9||$++;G=X}while(G)}function __($){jM($,!0)}function C_($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function P_($){$.nodeValue=""}function E_($){jM($,!1)}function I_($,Q){Q=Q[DP],Q=Q!==void 0&&Q!==null&&Q.hasOwnProperty("display")?Q.display:null,$.style.display=Q==null||typeof Q==="boolean"?"":(""+Q).trim()}function j_($,Q){$.nodeValue=Q}function e3($){var Q=$.firstChild;Q&&Q.nodeType===10&&(Q=Q.nextSibling);for(;Q;){var G=Q;switch(Q=Q.nextSibling,G.nodeName){case"HTML":case"HEAD":case"BODY":e3(G),$0(G);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(G.rel.toLowerCase()==="stylesheet")continue}$.removeChild(G)}}function O_($,Q,G,X){for(;$.nodeType===1;){var N=G;if($.nodeName.toLowerCase()!==Q.toLowerCase()){if(!X&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!X)if(Q==="input"&&$.type==="hidden"){X1(N.name,"name");var B=N.name==null?null:""+N.name;if(N.type==="hidden"&&$.getAttribute("name")===B)return $}else return $;else if(!$[lQ])switch(Q){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(B=$.getAttribute("rel"),B==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(B!==N.rel||$.getAttribute("href")!==(N.href==null||N.href===""?null:N.href)||$.getAttribute("crossorigin")!==(N.crossOrigin==null?null:N.crossOrigin)||$.getAttribute("title")!==(N.title==null?null:N.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(B=$.getAttribute("src"),(B!==(N.src==null?null:N.src)||$.getAttribute("type")!==(N.type==null?null:N.type)||$.getAttribute("crossorigin")!==(N.crossOrigin==null?null:N.crossOrigin))&&B&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=t5($.nextSibling),$===null)break}return null}function D_($,Q,G){if(Q==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!G)return null;if($=t5($.nextSibling),$===null)return null}return $}function OM($,Q){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!Q)return null;if($=t5($.nextSibling),$===null)return null}return $}function $Y($){return $.data===Z6||$.data===N7}function QY($){return $.data===v9||$.data===Z6&&$.ownerDocument.readyState!==RT}function A_($,Q){var G=$.ownerDocument;if($.data===N7)$._reactRetry=Q;else if($.data!==Z6||G.readyState!==RT)Q();else{var X=function(){Q(),G.removeEventListener("DOMContentLoaded",X)};G.addEventListener("DOMContentLoaded",X),$._reactRetry=X}}function t5($){for(;$!=null;$=$.nextSibling){var Q=$.nodeType;if(Q===1||Q===3)break;if(Q===8){if(Q=$.data,Q===AZ||Q===v9||Q===Z6||Q===N7||Q===U7||Q===SU||Q===TT)break;if(Q===SZ||Q===gq)return null}}return $}function DM($){if($.nodeType===1){for(var Q=$.nodeName.toLowerCase(),G={},X=$.attributes,N=0;N<X.length;N++){var B=X[N];G[TM(B.name)]=B.name.toLowerCase()==="style"?o3($):B.value}return{type:Q,props:G}}return $.nodeType===8?$.data===U7?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function AM($,Q,G){return G===null||G[EP]!==!0?($.nodeValue===Q?$=null:(Q=S8(Q),$=S8($.nodeValue)===Q?null:$.nodeValue),$):null}function ZY($){$=$.nextSibling;for(var Q=0;$;){if($.nodeType===8){var G=$.data;if(G===SZ||G===gq){if(Q===0)return t5($.nextSibling);Q--}else G!==AZ&&G!==v9&&G!==Z6&&G!==N7&&G!==U7||Q++}$=$.nextSibling}return null}function SM($){$=$.previousSibling;for(var Q=0;$;){if($.nodeType===8){var G=$.data;if(G===AZ||G===v9||G===Z6||G===N7||G===U7){if(Q===0)return $;Q--}else G!==SZ&&G!==gq||Q++}$=$.previousSibling}return null}function S_($){a7($)}function v_($){a7($)}function k_($){a7($)}function vM($,Q,G,X,N){switch(N&&MX($,X.ancestorInfo),Q=AG(G),$){case"html":if($=Q.documentElement,!$)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"head":if($=Q.head,!$)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"body":if($=Q.body,!$)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function b_($,Q,G,X){if(!G[f8]&&P0(G)){var N=G.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",N,N,N)}switch($){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(N=G.attributes;N.length;)G.removeAttributeNode(N[0]);J5(G,$,Q),G[G5]=X,G[z5]=Q}function hQ($){for(var Q=$.attributes;Q.length;)$.removeAttributeNode(Q[0]);$0($)}function SG($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function kM($,Q,G){var X=b9;if(X&&typeof Q==="string"&&Q){var N=N4(Q);N='link[rel="'+$+'"][href="'+N+'"]',typeof G==="string"&&(N+='[crossorigin="'+G+'"]'),CT.has(N)||(CT.add(N),$={rel:$,crossOrigin:G,href:Q},X.querySelector(N)===null&&(Q=X.createElement("link"),J5(Q,"link",$),F0(Q),X.head.appendChild(Q)))}}function bM($,Q,G,X){var N=(N=b8.current)?SG(N):null;if(!N)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof G.precedence==="string"&&typeof G.href==="string"?(G=o7(G.href),Q=o0(N).hoistableStyles,X=Q.get(G),X||(X={type:"style",instance:null,count:0,state:null},Q.set(G,X)),X):{type:"void",instance:null,count:0,state:null};case"link":if(G.rel==="stylesheet"&&typeof G.href==="string"&&typeof G.precedence==="string"){$=o7(G.href);var B=o0(N).hoistableStyles,F=B.get($);if(!F&&(N=N.ownerDocument||N,F={type:"stylesheet",instance:null,count:0,state:{loading:B7,preload:null}},B.set($,F),(B=N.querySelector(xQ($)))&&!B._p&&(F.instance=B,F.state.loading=kZ|L4),!_4.has($))){var T={rel:"preload",as:"style",href:G.href,crossOrigin:G.crossOrigin,integrity:G.integrity,media:G.media,hrefLang:G.hrefLang,referrerPolicy:G.referrerPolicy};_4.set($,T),B||y_(N,$,T,F.state)}if(Q&&X===null)throw G=`
|
|
177
177
|
|
|
178
|
-
- `+
|
|
179
|
-
+ `+
|
|
178
|
+
- `+vG(Q)+`
|
|
179
|
+
+ `+vG(G),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+G);return F}if(Q&&X!==null)throw G=`
|
|
180
180
|
|
|
181
|
-
- `+
|
|
182
|
-
+ `+OG(G),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+G);return null;case"script":return Z=G.async,G=G.src,typeof G==="string"&&Z&&typeof Z!=="function"&&typeof Z!=="symbol"?(G=n$(G),Z=i0(N).hoistableScripts,X=Z.get(G),X||(X={type:"script",instance:null,count:0,state:null},Z.set(G,X)),X):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function OG($){var Z=0,G="<link";return typeof $.rel==="string"?(Z++,G+=' rel="'+$.rel+'"'):O4.call($,"rel")&&(Z++,G+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(Z++,G+=' href="'+$.href+'"'):O4.call($,"href")&&(Z++,G+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(Z++,G+=' precedence="'+$.precedence+'"'):O4.call($,"precedence")&&(Z++,G+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>Z&&(G+=" ..."),G+" />"}function s$($){return'href="'+Y4($)+'"'}function h7($){return'link[rel="stylesheet"]['+$+"]"}function vM($){return y0({},$,{"data-precedence":$.precedence,precedence:null})}function b_($,Z,G,X){$.querySelector('link[rel="preload"][as="style"]['+Z+"]")?X.loading=vZ:(Z=$.createElement("link"),X.preload=Z,Z.addEventListener("load",function(){return X.loading|=vZ}),Z.addEventListener("error",function(){return X.loading|=Rw}),Q5(Z,"link",G),F0(Z),$.head.appendChild(Z))}function n$($){return'[src="'+Y4($)+'"]'}function x7($){return"script[async]"+$}function kM($,Z,G){if(Z.count++,Z.instance===null)switch(Z.type){case"style":var X=$.querySelector('style[data-href~="'+Y4(G.href)+'"]');if(X)return Z.instance=X,F0(X),X;var N=y0({},G,{"data-href":G.href,"data-precedence":G.precedence,href:null,precedence:null});return X=($.ownerDocument||$).createElement("style"),F0(X),Q5(X,"style",N),DG(X,G.precedence,$),Z.instance=X;case"stylesheet":N=s$(G.href);var B=$.querySelector(h7(N));if(B)return Z.state.loading|=z4,Z.instance=B,F0(B),B;X=vM(G),(N=V4.get(N))&&eX(X,N),B=($.ownerDocument||$).createElement("link"),F0(B);var W=B;return W._p=new Promise(function(w,V){W.onload=w,W.onerror=V}),Q5(B,"link",X),Z.state.loading|=z4,DG(B,G.precedence,$),Z.instance=B;case"script":if(B=n$(G.src),N=$.querySelector(x7(B)))return Z.instance=N,F0(N),N;if(X=G,N=V4.get(B))X=y0({},G),$Y(X,N);return $=$.ownerDocument||$,N=$.createElement("script"),F0(N),Q5(N,"link",X),$.head.appendChild(N),Z.instance=N;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+Z.type+'". this is a bug in React.')}else Z.type==="stylesheet"&&(Z.state.loading&z4)===N$&&(X=Z.instance,Z.state.loading|=z4,DG(X,G.precedence,$));return Z.instance}function DG($,Z,G){for(var X=G.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),N=X.length?X[X.length-1]:null,B=N,W=0;W<X.length;W++){var w=X[W];if(w.dataset.precedence===Z)B=w;else if(B!==N)break}B?B.parentNode.insertBefore($,B.nextSibling):(Z=G.nodeType===9?G.head:G,Z.insertBefore($,Z.firstChild))}function eX($,Z){$.crossOrigin==null&&($.crossOrigin=Z.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=Z.referrerPolicy),$.title==null&&($.title=Z.title)}function $Y($,Z){$.crossOrigin==null&&($.crossOrigin=Z.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=Z.referrerPolicy),$.integrity==null&&($.integrity=Z.integrity)}function bM($,Z,G){if(fJ===null){var X=new Map,N=fJ=new Map;N.set(G,X)}else N=fJ,X=N.get(G),X||(X=new Map,N.set(G,X));if(X.has($))return X;X.set($,null),G=G.getElementsByTagName($);for(N=0;N<G.length;N++){var B=G[N];if(!(B[c7]||B[G5]||$==="link"&&B.getAttribute("rel")==="stylesheet")&&B.namespaceURI!==Z9){var W=B.getAttribute(Z)||"";W=$+W;var w=X.get(W);w?w.push(B):X.set(W,[B])}}return X}function fM($,Z,G){$=$.ownerDocument||$,$.head.insertBefore(G,Z==="title"?$.querySelector("head > title"):null)}function f_($,Z,G){var X=!G.ancestorInfo.containerTagInScope;if(G.context===S9||Z.itemProp!=null)return!X||Z.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof Z.precedence!=="string"||typeof Z.href!=="string"||Z.href===""){X&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""||Z.onLoad||Z.onError){if(Z.rel==="stylesheet"&&typeof Z.precedence==="string"){$=Z.href;var{onError:N,disabled:B}=Z;G=[],Z.onLoad&&G.push("`onLoad`"),N&&G.push("`onError`"),B!=null&&G.push("`disabled`"),N=B_(G,"and"),N+=G.length===1?" prop":" props",B=G.length===1?"an "+N:"the "+N,G.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',$,B,N)}X&&(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(Z.onError||Z.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(Z.rel){case"stylesheet":return $=Z.precedence,Z=Z.disabled,typeof $!=="string"&&X&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof $==="string"&&Z==null;default:return!0}case"script":if($=Z.async&&typeof Z.async!=="function"&&typeof Z.async!=="symbol",!$||Z.onLoad||Z.onError||!Z.src||typeof Z.src!=="string"){X&&($?Z.onLoad||Z.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":X&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function yM($){return $.type==="stylesheet"&&($.state.loading&zw)===N$?!1:!0}function y_($,Z,G,X){if(G.type==="stylesheet"&&(typeof X.media!=="string"||matchMedia(X.media).matches!==!1)&&(G.state.loading&z4)===N$){if(G.instance===null){var N=s$(X.href),B=Z.querySelector(h7(N));if(B){Z=B._p,Z!==null&&typeof Z==="object"&&typeof Z.then==="function"&&($.count++,$=AG.bind($),Z.then($,$)),G.state.loading|=z4,G.instance=B,F0(B);return}B=Z.ownerDocument||Z,X=vM(X),(N=V4.get(N))&&eX(X,N),B=B.createElement("link"),F0(B);var W=B;W._p=new Promise(function(w,V){W.onload=w,W.onerror=V}),Q5(B,"link",X),G.instance=B}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(G,Z),(Z=G.state.preload)&&(G.state.loading&zw)===N$&&($.count++,G=AG.bind($),Z.addEventListener("load",G),Z.addEventListener("error",G))}}function g_($,Z){return $.stylesheets&&$.count===0&&SG($,$.stylesheets),0<$.count||0<$.imgCount?function(G){var X=setTimeout(function(){if($.stylesheets&&SG($,$.stylesheets),$.unsuspend){var B=$.unsuspend;$.unsuspend=null,B()}},SE+Z);0<$.imgBytes&&vU===0&&(vU=125*H_()*kE);var N=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&SG($,$.stylesheets),$.unsuspend)){var B=$.unsuspend;$.unsuspend=null,B()}},($.imgBytes>vU?50:vE)+Z);return $.unsuspend=G,function(){$.unsuspend=null,clearTimeout(X),clearTimeout(N)}}:null}function AG(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)SG(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function SG($,Z){$.stylesheets=null,$.unsuspend!==null&&($.count++,yJ=new Map,Z.forEach(h_,$),yJ=null,AG.call($))}function h_($,Z){if(!(Z.state.loading&z4)){var G=yJ.get($);if(G)var X=G.get(kU);else{G=new Map,yJ.set($,G);for(var N=$.querySelectorAll("link[data-precedence],style[data-precedence]"),B=0;B<N.length;B++){var W=N[B];if(W.nodeName==="LINK"||W.getAttribute("media")!=="not all")G.set(W.dataset.precedence,W),X=W}X&&G.set(kU,X)}N=Z.instance,W=N.getAttribute("data-precedence"),B=G.get(W)||X,B===X&&G.set(kU,N),G.set(W,N),this.count++,X=AG.bind(this),N.addEventListener("load",X),N.addEventListener("error",X),B?B.parentNode.insertBefore(N,B.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(N,$.firstChild)),Z.state.loading|=z4}}function x_($,Z,G,X,N,B,W,w,V){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=U$,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=S$(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=S$(0),this.hiddenUpdates=S$(null),this.identifierPrefix=X,this.onUncaughtError=N,this.onCaughtError=B,this.onRecoverableError=W,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=V,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(Z=0;31>Z;Z++)$.push(new Set);this._debugRootType=G?"hydrateRoot()":"createRoot()"}function gM($,Z,G,X,N,B,W,w,V,_,k,b){return $=new x_($,Z,G,W,V,_,k,b,w),Z=JE,B===!0&&(Z|=M5|A4),Z|=D0,B=L(3,null,null,Z),$.current=B,B.stateNode=$,Z=O3(),f2(Z),$.pooledCache=Z,f2(Z),B.memoizedState={element:X,isDehydrated:G,cache:Z},k3(B),$}function hM($){if(!$)return f6;return $=f6,$}function ZY($,Z,G,X,N,B){if(H5&&typeof H5.onScheduleFiberRoot==="function")try{H5.onScheduleFiberRoot(e$,X,G)}catch(W){U8||(U8=!0,console.error("React instrumentation encountered an error: %o",W))}N=hM(N),X.context===null?X.context=N:X.pendingContext=N,Y8&&t5!==null&&!Ew&&(Ew=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
181
|
+
- `+vG(Q)+`
|
|
182
|
+
+ `+vG(G),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+G);return null;case"script":return Q=G.async,G=G.src,typeof G==="string"&&Q&&typeof Q!=="function"&&typeof Q!=="symbol"?(G=i7(G),Q=o0(N).hoistableScripts,X=Q.get(G),X||(X={type:"script",instance:null,count:0,state:null},Q.set(G,X)),X):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function vG($){var Q=0,G="<link";return typeof $.rel==="string"?(Q++,G+=' rel="'+$.rel+'"'):A4.call($,"rel")&&(Q++,G+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(Q++,G+=' href="'+$.href+'"'):A4.call($,"href")&&(Q++,G+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(Q++,G+=' precedence="'+$.precedence+'"'):A4.call($,"precedence")&&(Q++,G+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>Q&&(G+=" ..."),G+" />"}function o7($){return'href="'+N4($)+'"'}function xQ($){return'link[rel="stylesheet"]['+$+"]"}function yM($){return b0({},$,{"data-precedence":$.precedence,precedence:null})}function y_($,Q,G,X){$.querySelector('link[rel="preload"][as="style"]['+Q+"]")?X.loading=kZ:(Q=$.createElement("link"),X.preload=Q,Q.addEventListener("load",function(){return X.loading|=kZ}),Q.addEventListener("error",function(){return X.loading|=LT}),J5(Q,"link",G),F0(Q),$.head.appendChild(Q))}function i7($){return'[src="'+N4($)+'"]'}function uQ($){return"script[async]"+$}function fM($,Q,G){if(Q.count++,Q.instance===null)switch(Q.type){case"style":var X=$.querySelector('style[data-href~="'+N4(G.href)+'"]');if(X)return Q.instance=X,F0(X),X;var N=b0({},G,{"data-href":G.href,"data-precedence":G.precedence,href:null,precedence:null});return X=($.ownerDocument||$).createElement("style"),F0(X),J5(X,"style",N),kG(X,G.precedence,$),Q.instance=X;case"stylesheet":N=o7(G.href);var B=$.querySelector(xQ(N));if(B)return Q.state.loading|=L4,Q.instance=B,F0(B),B;X=yM(G),(N=_4.get(N))&&JY(X,N),B=($.ownerDocument||$).createElement("link"),F0(B);var F=B;return F._p=new Promise(function(T,V){F.onload=T,F.onerror=V}),J5(B,"link",X),Q.state.loading|=L4,kG(B,G.precedence,$),Q.instance=B;case"script":if(B=i7(G.src),N=$.querySelector(uQ(B)))return Q.instance=N,F0(N),N;if(X=G,N=_4.get(B))X=b0({},G),GY(X,N);return $=$.ownerDocument||$,N=$.createElement("script"),F0(N),J5(N,"link",X),$.head.appendChild(N),Q.instance=N;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+Q.type+'". this is a bug in React.')}else Q.type==="stylesheet"&&(Q.state.loading&L4)===B7&&(X=Q.instance,Q.state.loading|=L4,kG(X,G.precedence,$));return Q.instance}function kG($,Q,G){for(var X=G.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),N=X.length?X[X.length-1]:null,B=N,F=0;F<X.length;F++){var T=X[F];if(T.dataset.precedence===Q)B=T;else if(B!==N)break}B?B.parentNode.insertBefore($,B.nextSibling):(Q=G.nodeType===9?G.head:G,Q.insertBefore($,Q.firstChild))}function JY($,Q){$.crossOrigin==null&&($.crossOrigin=Q.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=Q.referrerPolicy),$.title==null&&($.title=Q.title)}function GY($,Q){$.crossOrigin==null&&($.crossOrigin=Q.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=Q.referrerPolicy),$.integrity==null&&($.integrity=Q.integrity)}function gM($,Q,G){if(xq===null){var X=new Map,N=xq=new Map;N.set(G,X)}else N=xq,X=N.get(G),X||(X=new Map,N.set(G,X));if(X.has($))return X;X.set($,null),G=G.getElementsByTagName($);for(N=0;N<G.length;N++){var B=G[N];if(!(B[lQ]||B[G5]||$==="link"&&B.getAttribute("rel")==="stylesheet")&&B.namespaceURI!==J9){var F=B.getAttribute(Q)||"";F=$+F;var T=X.get(F);T?T.push(B):X.set(F,[B])}}return X}function hM($,Q,G){$=$.ownerDocument||$,$.head.insertBefore(G,Q==="title"?$.querySelector("head > title"):null)}function f_($,Q,G){var X=!G.ancestorInfo.containerTagInScope;if(G.context===k9||Q.itemProp!=null)return!X||Q.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof Q.precedence!=="string"||typeof Q.href!=="string"||Q.href===""){X&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof Q.rel!=="string"||typeof Q.href!=="string"||Q.href===""||Q.onLoad||Q.onError){if(Q.rel==="stylesheet"&&typeof Q.precedence==="string"){$=Q.href;var{onError:N,disabled:B}=Q;G=[],Q.onLoad&&G.push("`onLoad`"),N&&G.push("`onError`"),B!=null&&G.push("`disabled`"),N=H_(G,"and"),N+=G.length===1?" prop":" props",B=G.length===1?"an "+N:"the "+N,G.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',$,B,N)}X&&(typeof Q.rel!=="string"||typeof Q.href!=="string"||Q.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(Q.onError||Q.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(Q.rel){case"stylesheet":return $=Q.precedence,Q=Q.disabled,typeof $!=="string"&&X&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof $==="string"&&Q==null;default:return!0}case"script":if($=Q.async&&typeof Q.async!=="function"&&typeof Q.async!=="symbol",!$||Q.onLoad||Q.onError||!Q.src||typeof Q.src!=="string"){X&&($?Q.onLoad||Q.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":X&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function xM($){return $.type==="stylesheet"&&($.state.loading&_T)===B7?!1:!0}function g_($,Q,G,X){if(G.type==="stylesheet"&&(typeof X.media!=="string"||matchMedia(X.media).matches!==!1)&&(G.state.loading&L4)===B7){if(G.instance===null){var N=o7(X.href),B=Q.querySelector(xQ(N));if(B){Q=B._p,Q!==null&&typeof Q==="object"&&typeof Q.then==="function"&&($.count++,$=bG.bind($),Q.then($,$)),G.state.loading|=L4,G.instance=B,F0(B);return}B=Q.ownerDocument||Q,X=yM(X),(N=_4.get(N))&&JY(X,N),B=B.createElement("link"),F0(B);var F=B;F._p=new Promise(function(T,V){F.onload=T,F.onerror=V}),J5(B,"link",X),G.instance=B}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(G,Q),(Q=G.state.preload)&&(G.state.loading&_T)===B7&&($.count++,G=bG.bind($),Q.addEventListener("load",G),Q.addEventListener("error",G))}}function h_($,Q){return $.stylesheets&&$.count===0&&yG($,$.stylesheets),0<$.count||0<$.imgCount?function(G){var X=setTimeout(function(){if($.stylesheets&&yG($,$.stylesheets),$.unsuspend){var B=$.unsuspend;$.unsuspend=null,B()}},vP+Q);0<$.imgBytes&&fU===0&&(fU=125*M_()*bP);var N=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&yG($,$.stylesheets),$.unsuspend)){var B=$.unsuspend;$.unsuspend=null,B()}},($.imgBytes>fU?50:kP)+Q);return $.unsuspend=G,function(){$.unsuspend=null,clearTimeout(X),clearTimeout(N)}}:null}function bG(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)yG(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function yG($,Q){$.stylesheets=null,$.unsuspend!==null&&($.count++,uq=new Map,Q.forEach(x_,$),uq=null,bG.call($))}function x_($,Q){if(!(Q.state.loading&L4)){var G=uq.get($);if(G)var X=G.get(gU);else{G=new Map,uq.set($,G);for(var N=$.querySelectorAll("link[data-precedence],style[data-precedence]"),B=0;B<N.length;B++){var F=N[B];if(F.nodeName==="LINK"||F.getAttribute("media")!=="not all")G.set(F.dataset.precedence,F),X=F}X&&G.set(gU,X)}N=Q.instance,F=N.getAttribute("data-precedence"),B=G.get(F)||X,B===X&&G.set(gU,N),G.set(F,N),this.count++,X=bG.bind(this),N.addEventListener("load",X),N.addEventListener("error",X),B?B.parentNode.insertBefore(N,B.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(N,$.firstChild)),Q.state.loading|=L4}}function u_($,Q,G,X,N,B,F,T,V){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=K7,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=k7(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=k7(0),this.hiddenUpdates=k7(null),this.identifierPrefix=X,this.onUncaughtError=N,this.onCaughtError=B,this.onRecoverableError=F,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=V,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(Q=0;31>Q;Q++)$.push(new Set);this._debugRootType=G?"hydrateRoot()":"createRoot()"}function uM($,Q,G,X,N,B,F,T,V,_,k,b){return $=new u_($,Q,G,F,V,_,k,b,T),Q=qP,B===!0&&(Q|=W5|v4),Q|=O0,B=L(3,null,null,Q),$.current=B,B.stateNode=$,Q=vX(),g6(Q),$.pooledCache=Q,g6(Q),B.memoizedState={element:X,isDehydrated:G,cache:Q},gX(B),$}function mM($){if(!$)return u8;return $=u8,$}function qY($,Q,G,X,N,B){if(M5&&typeof M5.onScheduleFiberRoot==="function")try{M5.onScheduleFiberRoot(Q9,X,G)}catch(F){K$||(K$=!0,console.error("React instrumentation encountered an error: %o",F))}N=mM(N),X.context===null?X.context=N:X.pendingContext=N,N$&&$4!==null&&!jT&&(jT=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
183
183
|
|
|
184
|
-
Check the render method of %s.`,d(t5)||"Unknown")),X=V6(Z),X.payload={element:G},B=B===void 0?null:B,B!==null&&(typeof B!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",B),X.callback=B),G=L6($,X,Z),G!==null&&(r4(Z,"root.render()",null),C1(G,$,Z),z7(G,$,Z))}function xM($,Z){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var G=$.retryLane;$.retryLane=G!==0&&G<Z?G:Z}}function QY($,Z){xM($,Z),($=$.alternate)&&xM($,Z)}function uM($){if($.tag===13||$.tag===31){var Z=B5($,67108864);Z!==null&&C1(Z,$,67108864),QY($,67108864)}}function mM($){if($.tag===13||$.tag===31){var Z=o5($);Z=I2(Z);var G=B5($,Z);G!==null&&C1(G,$,Z),QY($,Z)}}function u_(){return t5}function m_($,Z,G,X){var N=x.T;x.T=null;var B=Z1.p;try{Z1.p=e5,GY($,Z,G,X)}finally{Z1.p=B,x.T=N}}function d_($,Z,G,X){var N=x.T;x.T=null;var B=Z1.p;try{Z1.p=D4,GY($,Z,G,X)}finally{Z1.p=B,x.T=N}}function GY($,Z,G,X){if(hJ){var N=JY(X);if(N===null)dX($,Z,X,xJ,G),pM($,X);else if(p_(N,$,Z,G,X))X.stopPropagation();else if(pM($,X),Z&4&&-1<fE.indexOf($)){for(;N!==null;){var B=P0(N);if(B!==null)switch(B.tag){case 3:if(B=B.stateNode,B.current.memoizedState.isDehydrated){var W=d4(B.pendingLanes);if(W!==0){var w=B;w.pendingLanes|=2;for(w.entangledLanes|=2;W;){var V=1<<31-w5(W);w.entanglements[1]|=V,W&=~V}G8(B),(o0&(r1|G4))===t1&&(LJ=o1()+tW,k7(0,!1))}}break;case 31:case 13:w=B5(B,2),w!==null&&C1(w,B,2),c$(),QY(B,2)}if(B=JY(X),B===null&&dX($,Z,X,xJ,G),B===N)break;N=B}N!==null&&X.stopPropagation()}else dX($,Z,X,null,G)}}function JY($){return $=K3($),qY($)}function qY($){if(xJ=null,$=q0($),$!==null){var Z=y($);if(Z===null)$=null;else{var G=Z.tag;if(G===13){if($=m(Z),$!==null)return $;$=null}else if(G===31){if($=n(Z),$!==null)return $;$=null}else if(G===3){if(Z.stateNode.current.memoizedState.isDehydrated)return Z.tag===3?Z.stateNode.containerInfo:null;$=null}else Z!==$&&($=null)}}return xJ=$,null}function dM($){switch($){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return e5;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return D4;case"message":switch(t_()){case RY:return e5;case zY:return D4;case t$:case e_:return K8;case VY:return mG;default:return K8}default:return K8}}function pM($,Z){switch($){case"focusin":case"focusout":t6=null;break;case"dragenter":case"dragleave":e6=null;break;case"mouseover":case"mouseout":$2=null;break;case"pointerover":case"pointerout":bZ.delete(Z.pointerId);break;case"gotpointercapture":case"lostpointercapture":fZ.delete(Z.pointerId)}}function u7($,Z,G,X,N,B){if($===null||$.nativeEvent!==B)return $={blockedOn:Z,domEventName:G,eventSystemFlags:X,nativeEvent:B,targetContainers:[N]},Z!==null&&(Z=P0(Z),Z!==null&&uM(Z)),$;return $.eventSystemFlags|=X,Z=$.targetContainers,N!==null&&Z.indexOf(N)===-1&&Z.push(N),$}function p_($,Z,G,X,N){switch(Z){case"focusin":return t6=u7(t6,$,Z,G,X,N),!0;case"dragenter":return e6=u7(e6,$,Z,G,X,N),!0;case"mouseover":return $2=u7($2,$,Z,G,X,N),!0;case"pointerover":var B=N.pointerId;return bZ.set(B,u7(bZ.get(B)||null,$,Z,G,X,N)),!0;case"gotpointercapture":return B=N.pointerId,fZ.set(B,u7(fZ.get(B)||null,$,Z,G,X,N)),!0}return!1}function cM($){var Z=q0($.target);if(Z!==null){var G=y(Z);if(G!==null){if(Z=G.tag,Z===13){if(Z=m(G),Z!==null){$.blockedOn=Z,s($.priority,function(){mM(G)});return}}else if(Z===31){if(Z=n(G),Z!==null){$.blockedOn=Z,s($.priority,function(){mM(G)});return}}else if(Z===3&&G.stateNode.current.memoizedState.isDehydrated){$.blockedOn=G.tag===3?G.stateNode.containerInfo:null;return}}}$.blockedOn=null}function vG($){if($.blockedOn!==null)return!1;for(var Z=$.targetContainers;0<Z.length;){var G=JY($.nativeEvent);if(G===null){G=$.nativeEvent;var X=new G.constructor(G.type,G),N=X;l7!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),l7=N,G.target.dispatchEvent(X),l7===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),l7=null}else return Z=P0(G),Z!==null&&uM(Z),$.blockedOn=G,!1;Z.shift()}return!0}function lM($,Z,G){vG($)&&G.delete(Z)}function c_(){bU=!1,t6!==null&&vG(t6)&&(t6=null),e6!==null&&vG(e6)&&(e6=null),$2!==null&&vG($2)&&($2=null),bZ.forEach(lM),fZ.forEach(lM)}function kG($,Z){$.blockedOn===Z&&($.blockedOn=null,bU||(bU=!0,a0.unstable_scheduleCallback(a0.unstable_NormalPriority,c_)))}function rM($){uJ!==$&&(uJ=$,a0.unstable_scheduleCallback(a0.unstable_NormalPriority,function(){uJ===$&&(uJ=null);for(var Z=0;Z<$.length;Z+=3){var G=$[Z],X=$[Z+1],N=$[Z+2];if(typeof X!=="function")if(qY(X||G)===null)continue;else break;var B=P0(G);B!==null&&($.splice(Z,3),Z-=3,G={pending:!0,data:N,method:G.method,action:X},Object.freeze(G),qX(B,G,X,N))}}))}function o$($){function Z(V){return kG(V,$)}t6!==null&&kG(t6,$),e6!==null&&kG(e6,$),$2!==null&&kG($2,$),bZ.forEach(Z),fZ.forEach(Z);for(var G=0;G<Z2.length;G++){var X=Z2[G];X.blockedOn===$&&(X.blockedOn=null)}for(;0<Z2.length&&(G=Z2[0],G.blockedOn===null);)cM(G),G.blockedOn===null&&Z2.shift();if(G=($.ownerDocument||$).$$reactFormReplay,G!=null)for(X=0;X<G.length;X+=3){var N=G[X],B=G[X+1],W=N[T5]||null;if(typeof B==="function")W||rM(G);else if(W){var w=null;if(B&&B.hasAttribute("formAction")){if(N=B,W=B[T5]||null)w=W.formAction;else if(qY(N)!==null)continue}else w=W.action;typeof w==="function"?G[X+1]=w:(G.splice(X,3),X-=3),rM(G)}}}function sM(){function $(B){B.canIntercept&&B.info==="react-transition"&&B.intercept({handler:function(){return new Promise(function(W){return N=W})},focusReset:"manual",scroll:"manual"})}function Z(){N!==null&&(N(),N=null),X||setTimeout(G,20)}function G(){if(!X&&!navigation.transition){var B=navigation.currentEntry;B&&B.url!=null&&navigation.navigate(B.url,{state:B.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var X=!1,N=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",Z),navigation.addEventListener("navigateerror",Z),setTimeout(G,100),function(){X=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",Z),navigation.removeEventListener("navigateerror",Z),N!==null&&(N(),N=null)}}}function XY($){this._internalRoot=$}function bG($){this._internalRoot=$}function nM($){$[S6]&&($._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var y0=Object.assign,l_=Symbol.for("react.element"),q8=Symbol.for("react.transitional.element"),i$=Symbol.for("react.portal"),a$=Symbol.for("react.fragment"),fG=Symbol.for("react.strict_mode"),YY=Symbol.for("react.profiler"),UY=Symbol.for("react.consumer"),X8=Symbol.for("react.context"),m7=Symbol.for("react.forward_ref"),NY=Symbol.for("react.suspense"),KY=Symbol.for("react.suspense_list"),yG=Symbol.for("react.memo"),a5=Symbol.for("react.lazy"),BY=Symbol.for("react.activity"),r_=Symbol.for("react.memo_cache_sentinel"),oM=Symbol.iterator,s_=Symbol.for("react.client.reference"),c1=Array.isArray,x=k9.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z1=yU.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,n_=Object.freeze({pending:!1,data:null,method:null,action:null}),HY=[],MY=[],f8=-1,O6=N0(null),d7=N0(null),D6=N0(null),gG=N0(null),p7=0,iM,aM,tM,eM,$F,ZF,QF;S.__reactDisabledLog=!0;var FY,GF,WY=!1,wY=new(typeof WeakMap==="function"?WeakMap:Map),t5=null,Y8=!1,O4=Object.prototype.hasOwnProperty,TY=a0.unstable_scheduleCallback,o_=a0.unstable_cancelCallback,i_=a0.unstable_shouldYield,a_=a0.unstable_requestPaint,o1=a0.unstable_now,t_=a0.unstable_getCurrentPriorityLevel,RY=a0.unstable_ImmediatePriority,zY=a0.unstable_UserBlockingPriority,t$=a0.unstable_NormalPriority,e_=a0.unstable_LowPriority,VY=a0.unstable_IdlePriority,$P=a0.log,ZP=a0.unstable_setDisableYieldValue,e$=null,H5=null,U8=!1,N8=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",w5=Math.clz32?Math.clz32:CQ,QP=Math.log,GP=Math.LN2,hG=256,xG=262144,uG=4194304,e5=2,D4=8,K8=32,mG=268435456,A6=Math.random().toString(36).slice(2),G5="__reactFiber$"+A6,T5="__reactProps$"+A6,S6="__reactContainer$"+A6,LY="__reactEvents$"+A6,JP="__reactListeners$"+A6,qP="__reactHandles$"+A6,JF="__reactResources$"+A6,c7="__reactMarker$"+A6,qF=new Set,d2={},_Y={},XP={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},YP=RegExp("^[: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]*$"),XF={},YF={},UP=/[\n"\\]/g,UF=!1,NF=!1,KF=!1,BF=!1,HF=!1,MF=!1,FF=["value","defaultValue"],WF=!1,wF=/["'&<>\n\t]|^\s|\s$/,NP="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),TF="applet caption html table td th marquee object template foreignObject desc title".split(" "),KP=TF.concat(["button"]),BP="dd dt li option optgroup p rp rt".split(" "),RF={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},dG={},PY={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},zF=/([A-Z])/g,VF=/^ms-/,HP=/^(?:webkit|moz|o)[A-Z]/,MP=/^-ms-/,FP=/-(.)/g,LF=/;\s*$/,$9={},EY={},_F=!1,PF=!1,EF=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),pG="http://www.w3.org/1998/Math/MathML",Z9="http://www.w3.org/2000/svg",WP=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),cG={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},CF={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Q9={},wP=RegExp("^(aria)-[: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]*$"),TP=RegExp("^(aria)[A-Z][: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]*$"),IF=!1,R5={},jF=/^on./,RP=/^on[^A-Z]/,zP=RegExp("^(aria)-[: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]*$"),VP=RegExp("^(aria)[A-Z][: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]*$"),LP=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,l7=null,G9=null,J9=null,CY=!1,B8=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),IY=!1;if(B8)try{var r7={};Object.defineProperty(r7,"passive",{get:function(){IY=!0}}),window.addEventListener("test",r7,r7),window.removeEventListener("test",r7,r7)}catch($){IY=!1}var v6=null,jY=null,lG=null,p2={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rG=I5(p2),s7=y0({},p2,{view:0,detail:0}),_P=I5(s7),OY,DY,n7,sG=y0({},s7,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:B3,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==n7&&(n7&&$.type==="mousemove"?(OY=$.screenX-n7.screenX,DY=$.screenY-n7.screenY):DY=OY=0,n7=$),OY},movementY:function($){return"movementY"in $?$.movementY:DY}}),OF=I5(sG),PP=y0({},sG,{dataTransfer:0}),EP=I5(PP),CP=y0({},s7,{relatedTarget:0}),AY=I5(CP),IP=y0({},p2,{animationName:0,elapsedTime:0,pseudoElement:0}),jP=I5(IP),OP=y0({},p2,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),DP=I5(OP),AP=y0({},p2,{data:0}),DF=I5(AP),SP=DF,vP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kP={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},bP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fP=y0({},s7,{key:function($){if($.key){var Z=vP[$.key]||$.key;if(Z!=="Unidentified")return Z}return $.type==="keypress"?($=vQ($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?kP[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:B3,charCode:function($){return $.type==="keypress"?vQ($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?vQ($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),yP=I5(fP),gP=y0({},sG,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),AF=I5(gP),hP=y0({},s7,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:B3}),xP=I5(hP),uP=y0({},p2,{propertyName:0,elapsedTime:0,pseudoElement:0}),mP=I5(uP),dP=y0({},sG,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),pP=I5(dP),cP=y0({},p2,{newState:0,oldState:0}),lP=I5(cP),rP=[9,13,27,32],SF=229,SY=B8&&"CompositionEvent"in window,o7=null;B8&&"documentMode"in document&&(o7=document.documentMode);var sP=B8&&"TextEvent"in window&&!o7,vF=B8&&(!SY||o7&&8<o7&&11>=o7),kF=32,bF=String.fromCharCode(kF),fF=!1,q9=!1,nP={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},i7=null,a7=null,yF=!1;B8&&(yF=WL("input")&&(!document.documentMode||9<document.documentMode));var z5=typeof Object.is==="function"?Object.is:LL,oP=B8&&"documentMode"in document&&11>=document.documentMode,X9=null,vY=null,t7=null,kY=!1,Y9={animationend:O2("Animation","AnimationEnd"),animationiteration:O2("Animation","AnimationIteration"),animationstart:O2("Animation","AnimationStart"),transitionrun:O2("Transition","TransitionRun"),transitionstart:O2("Transition","TransitionStart"),transitioncancel:O2("Transition","TransitionCancel"),transitionend:O2("Transition","TransitionEnd")},bY={},gF={};B8&&(gF=document.createElement("div").style,("AnimationEvent"in window)||(delete Y9.animationend.animation,delete Y9.animationiteration.animation,delete Y9.animationstart.animation),("TransitionEvent"in window)||delete Y9.transitionend.transition);var hF=D2("animationend"),xF=D2("animationiteration"),uF=D2("animationstart"),iP=D2("transitionrun"),aP=D2("transitionstart"),tP=D2("transitioncancel"),mF=D2("transitionend"),dF=new Map,fY="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");fY.push("scrollEnd");var pF=0;if(typeof performance==="object"&&typeof performance.now==="function")var eP=performance,cF=function(){return eP.now()};else{var $E=Date;cF=function(){return $E.now()}}var yY=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(Z))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},ZE="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",nG=0,gY=1,hY=2,xY=3,oG="– ",iG="+ ",lF=" ",w1=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",N4="Components ⚛",g0="Scheduler ⚛",u0="Blocking",k6=!1,y8={color:"primary",properties:null,tooltipText:"",track:N4},b6={start:-0,end:-0,detail:{devtools:y8}},QE=["Changed Props",""],rF="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",GE=["Changed Props",rF],e7=1,g8=2,K4=[],U9=0,uY=0,f6={};Object.freeze(f6);var B4=null,N9=null,V0=0,JE=1,D0=2,M5=8,A4=16,qE=32,sF=!1;try{var nF=Object.preventExtensions({})}catch($){sF=!0}var mY=new WeakMap,K9=[],B9=0,aG=null,$Z=0,H4=[],M4=0,c2=null,h8=1,x8="",J5=null,T1=null,p0=!1,H8=!1,$4=null,y6=null,F4=!1,dY=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),pY=N0(null),cY=N0(null),oF={},tG=null,H9=null,M9=!1,XE=typeof AbortController<"u"?AbortController:function(){var $=[],Z=this.signal={aborted:!1,addEventListener:function(G,X){$.push(X)}};this.abort=function(){Z.aborted=!0,$.forEach(function(G){return G()})}},YE=a0.unstable_scheduleCallback,UE=a0.unstable_NormalPriority,y1={$$typeof:X8,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},g1=a0.unstable_now,eG=console.createTask?console.createTask:function(){return null},ZZ=1,$J=2,i1=-0,g6=-0,u8=-0,m8=null,V5=-1.1,l2=-0,_1=-0,W0=-1.1,R0=-1.1,L1=null,I1=!1,h6=-0,M8=-1.1,QZ=null,x6=0,lY=null,rY=null,r2=-1.1,GZ=null,F9=-1.1,ZJ=-1.1,F8=-0,d8=-1.1,W4=-1.1,sY=0,JZ=null,iF=null,aF=null,u6=-1.1,s2=null,m6=-1.1,QJ=-1.1,tF=-0,eF=-0,GJ=0,p8=null,$W=0,qZ=-1.1,JJ=!1,qJ=!1,XZ=null,nY=0,n2=0,W9=null,ZW=x.S;x.S=function($,Z){if(iW=o1(),typeof Z==="object"&&Z!==null&&typeof Z.then==="function"){if(0>d8&&0>W4){d8=g1();var G=y7(),X=f7();if(G!==m6||X!==s2)m6=-1.1;u6=G,s2=X}OL($,Z)}ZW!==null&&ZW($,Z)};var o2=N0(null),S4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},YZ=[],UZ=[],NZ=[],KZ=[],BZ=[],HZ=[],i2=new Set;S4.recordUnsafeLifecycleWarnings=function($,Z){i2.has($.type)||(typeof Z.componentWillMount==="function"&&Z.componentWillMount.__suppressDeprecationWarning!==!0&&YZ.push($),$.mode&M5&&typeof Z.UNSAFE_componentWillMount==="function"&&UZ.push($),typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&NZ.push($),$.mode&M5&&typeof Z.UNSAFE_componentWillReceiveProps==="function"&&KZ.push($),typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate.__suppressDeprecationWarning!==!0&&BZ.push($),$.mode&M5&&typeof Z.UNSAFE_componentWillUpdate==="function"&&HZ.push($))},S4.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<YZ.length&&(YZ.forEach(function(w){$.add(d(w)||"Component"),i2.add(w.type)}),YZ=[]);var Z=new Set;0<UZ.length&&(UZ.forEach(function(w){Z.add(d(w)||"Component"),i2.add(w.type)}),UZ=[]);var G=new Set;0<NZ.length&&(NZ.forEach(function(w){G.add(d(w)||"Component"),i2.add(w.type)}),NZ=[]);var X=new Set;0<KZ.length&&(KZ.forEach(function(w){X.add(d(w)||"Component"),i2.add(w.type)}),KZ=[]);var N=new Set;0<BZ.length&&(BZ.forEach(function(w){N.add(d(w)||"Component"),i2.add(w.type)}),BZ=[]);var B=new Set;if(0<HZ.length&&(HZ.forEach(function(w){B.add(d(w)||"Component"),i2.add(w.type)}),HZ=[]),0<Z.size){var W=z(Z);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
184
|
+
Check the render method of %s.`,d($4)||"Unknown")),X=E8(Q),X.payload={element:G},B=B===void 0?null:B,B!==null&&(typeof B!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",B),X.callback=B),G=I8($,X,Q),G!==null&&(n4(Q,"root.render()",null),I1(G,$,Q),VQ(G,$,Q))}function dM($,Q){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var G=$.retryLane;$.retryLane=G!==0&&G<Q?G:Q}}function XY($,Q){dM($,Q),($=$.alternate)&&dM($,Q)}function pM($){if($.tag===13||$.tag===31){var Q=H5($,67108864);Q!==null&&I1(Q,$,67108864),XY($,67108864)}}function cM($){if($.tag===13||$.tag===31){var Q=a5($);Q=O6(Q);var G=H5($,Q);G!==null&&I1(G,$,Q),XY($,Q)}}function m_(){return $4}function d_($,Q,G,X){var N=x.T;x.T=null;var B=$1.p;try{$1.p=Q4,YY($,Q,G,X)}finally{$1.p=B,x.T=N}}function p_($,Q,G,X){var N=x.T;x.T=null;var B=$1.p;try{$1.p=S4,YY($,Q,G,X)}finally{$1.p=B,x.T=N}}function YY($,Q,G,X){if(dq){var N=UY(X);if(N===null)r3($,Q,X,pq,G),rM($,X);else if(c_(N,$,Q,G,X))X.stopPropagation();else if(rM($,X),Q&4&&-1<fP.indexOf($)){for(;N!==null;){var B=P0(N);if(B!==null)switch(B.tag){case 3:if(B=B.stateNode,B.current.memoizedState.isDehydrated){var F=c4(B.pendingLanes);if(F!==0){var T=B;T.pendingLanes|=2;for(T.entangledLanes|=2;F;){var V=1<<31-w5(F);T.entanglements[1]|=V,F&=~V}q$(B),(n0&(r1|q4))===t1&&(Eq=o1()+QT,bQ(0,!1))}}break;case 31:case 13:T=H5(B,2),T!==null&&I1(T,B,2),r7(),XY(B,2)}if(B=UY(X),B===null&&r3($,Q,X,pq,G),B===N)break;N=B}N!==null&&X.stopPropagation()}else r3($,Q,X,null,G)}}function UY($){return $=WX($),NY($)}function NY($){if(pq=null,$=X0($),$!==null){var Q=g($);if(Q===null)$=null;else{var G=Q.tag;if(G===13){if($=m(Q),$!==null)return $;$=null}else if(G===31){if($=o(Q),$!==null)return $;$=null}else if(G===3){if(Q.stateNode.current.memoizedState.isDehydrated)return Q.tag===3?Q.stateNode.containerInfo:null;$=null}else Q!==$&&($=null)}}return pq=$,null}function lM($){switch($){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Q4;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return S4;case"message":switch(e_()){case _Y:return Q4;case CY:return S4;case $9:case $C:return H$;case PY:return lG;default:return H$}default:return H$}}function rM($,Q){switch($){case"focusin":case"focusout":J6=null;break;case"dragenter":case"dragleave":G6=null;break;case"mouseover":case"mouseout":q6=null;break;case"pointerover":case"pointerout":yZ.delete(Q.pointerId);break;case"gotpointercapture":case"lostpointercapture":fZ.delete(Q.pointerId)}}function mQ($,Q,G,X,N,B){if($===null||$.nativeEvent!==B)return $={blockedOn:Q,domEventName:G,eventSystemFlags:X,nativeEvent:B,targetContainers:[N]},Q!==null&&(Q=P0(Q),Q!==null&&pM(Q)),$;return $.eventSystemFlags|=X,Q=$.targetContainers,N!==null&&Q.indexOf(N)===-1&&Q.push(N),$}function c_($,Q,G,X,N){switch(Q){case"focusin":return J6=mQ(J6,$,Q,G,X,N),!0;case"dragenter":return G6=mQ(G6,$,Q,G,X,N),!0;case"mouseover":return q6=mQ(q6,$,Q,G,X,N),!0;case"pointerover":var B=N.pointerId;return yZ.set(B,mQ(yZ.get(B)||null,$,Q,G,X,N)),!0;case"gotpointercapture":return B=N.pointerId,fZ.set(B,mQ(fZ.get(B)||null,$,Q,G,X,N)),!0}return!1}function sM($){var Q=X0($.target);if(Q!==null){var G=g(Q);if(G!==null){if(Q=G.tag,Q===13){if(Q=m(G),Q!==null){$.blockedOn=Q,s($.priority,function(){cM(G)});return}}else if(Q===31){if(Q=o(G),Q!==null){$.blockedOn=Q,s($.priority,function(){cM(G)});return}}else if(Q===3&&G.stateNode.current.memoizedState.isDehydrated){$.blockedOn=G.tag===3?G.stateNode.containerInfo:null;return}}}$.blockedOn=null}function fG($){if($.blockedOn!==null)return!1;for(var Q=$.targetContainers;0<Q.length;){var G=UY($.nativeEvent);if(G===null){G=$.nativeEvent;var X=new G.constructor(G.type,G),N=X;rQ!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),rQ=N,G.target.dispatchEvent(X),rQ===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),rQ=null}else return Q=P0(G),Q!==null&&pM(Q),$.blockedOn=G,!1;Q.shift()}return!0}function nM($,Q,G){fG($)&&G.delete(Q)}function l_(){hU=!1,J6!==null&&fG(J6)&&(J6=null),G6!==null&&fG(G6)&&(G6=null),q6!==null&&fG(q6)&&(q6=null),yZ.forEach(nM),fZ.forEach(nM)}function gG($,Q){$.blockedOn===Q&&($.blockedOn=null,hU||(hU=!0,i0.unstable_scheduleCallback(i0.unstable_NormalPriority,l_)))}function oM($){cq!==$&&(cq=$,i0.unstable_scheduleCallback(i0.unstable_NormalPriority,function(){cq===$&&(cq=null);for(var Q=0;Q<$.length;Q+=3){var G=$[Q],X=$[Q+1],N=$[Q+2];if(typeof X!=="function")if(NY(X||G)===null)continue;else break;var B=P0(G);B!==null&&($.splice(Q,3),Q-=3,G={pending:!0,data:N,method:G.method,action:X},Object.freeze(G),N3(B,G,X,N))}}))}function a7($){function Q(V){return gG(V,$)}J6!==null&&gG(J6,$),G6!==null&&gG(G6,$),q6!==null&&gG(q6,$),yZ.forEach(Q),fZ.forEach(Q);for(var G=0;G<X6.length;G++){var X=X6[G];X.blockedOn===$&&(X.blockedOn=null)}for(;0<X6.length&&(G=X6[0],G.blockedOn===null);)sM(G),G.blockedOn===null&&X6.shift();if(G=($.ownerDocument||$).$$reactFormReplay,G!=null)for(X=0;X<G.length;X+=3){var N=G[X],B=G[X+1],F=N[z5]||null;if(typeof B==="function")F||oM(G);else if(F){var T=null;if(B&&B.hasAttribute("formAction")){if(N=B,F=B[z5]||null)T=F.formAction;else if(NY(N)!==null)continue}else T=F.action;typeof T==="function"?G[X+1]=T:(G.splice(X,3),X-=3),oM(G)}}}function iM(){function $(B){B.canIntercept&&B.info==="react-transition"&&B.intercept({handler:function(){return new Promise(function(F){return N=F})},focusReset:"manual",scroll:"manual"})}function Q(){N!==null&&(N(),N=null),X||setTimeout(G,20)}function G(){if(!X&&!navigation.transition){var B=navigation.currentEntry;B&&B.url!=null&&navigation.navigate(B.url,{state:B.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var X=!1,N=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",Q),navigation.addEventListener("navigateerror",Q),setTimeout(G,100),function(){X=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",Q),navigation.removeEventListener("navigateerror",Q),N!==null&&(N(),N=null)}}}function KY($){this._internalRoot=$}function hG($){this._internalRoot=$}function aM($){$[f8]&&($._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var b0=Object.assign,r_=Symbol.for("react.element"),Y$=Symbol.for("react.transitional.element"),t7=Symbol.for("react.portal"),e7=Symbol.for("react.fragment"),xG=Symbol.for("react.strict_mode"),BY=Symbol.for("react.profiler"),HY=Symbol.for("react.consumer"),U$=Symbol.for("react.context"),dQ=Symbol.for("react.forward_ref"),MY=Symbol.for("react.suspense"),WY=Symbol.for("react.suspense_list"),uG=Symbol.for("react.memo"),e5=Symbol.for("react.lazy"),FY=Symbol.for("react.activity"),s_=Symbol.for("react.memo_cache_sentinel"),tM=Symbol.iterator,n_=Symbol.for("react.client.reference"),c1=Array.isArray,x=y9.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$1=uU.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,o_=Object.freeze({pending:!1,data:null,method:null,action:null}),TY=[],RY=[],h$=-1,k8=K0(null),pQ=K0(null),b8=K0(null),mG=K0(null),cQ=0,eM,$W,QW,ZW,JW,GW,qW;S.__reactDisabledLog=!0;var wY,XW,zY=!1,VY=new(typeof WeakMap==="function"?WeakMap:Map),$4=null,N$=!1,A4=Object.prototype.hasOwnProperty,LY=i0.unstable_scheduleCallback,i_=i0.unstable_cancelCallback,a_=i0.unstable_shouldYield,t_=i0.unstable_requestPaint,o1=i0.unstable_now,e_=i0.unstable_getCurrentPriorityLevel,_Y=i0.unstable_ImmediatePriority,CY=i0.unstable_UserBlockingPriority,$9=i0.unstable_NormalPriority,$C=i0.unstable_LowPriority,PY=i0.unstable_IdlePriority,QC=i0.log,ZC=i0.unstable_setDisableYieldValue,Q9=null,M5=null,K$=!1,B$=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",w5=Math.clz32?Math.clz32:DJ,JC=Math.log,GC=Math.LN2,dG=256,pG=262144,cG=4194304,Q4=2,S4=8,H$=32,lG=268435456,y8=Math.random().toString(36).slice(2),G5="__reactFiber$"+y8,z5="__reactProps$"+y8,f8="__reactContainer$"+y8,EY="__reactEvents$"+y8,qC="__reactListeners$"+y8,XC="__reactHandles$"+y8,YW="__reactResources$"+y8,lQ="__reactMarker$"+y8,UW=new Set,c6={},IY={},YC={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},UC=RegExp("^[: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]*$"),NW={},KW={},NC=/[\n"\\]/g,BW=!1,HW=!1,MW=!1,WW=!1,FW=!1,TW=!1,RW=["value","defaultValue"],wW=!1,zW=/["'&<>\n\t]|^\s|\s$/,KC="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),VW="applet caption html table td th marquee object template foreignObject desc title".split(" "),BC=VW.concat(["button"]),HC="dd dt li option optgroup p rp rt".split(" "),LW={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},rG={},jY={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},_W=/([A-Z])/g,CW=/^ms-/,MC=/^(?:webkit|moz|o)[A-Z]/,WC=/^-ms-/,FC=/-(.)/g,PW=/;\s*$/,Z9={},OY={},EW=!1,IW=!1,jW=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),sG="http://www.w3.org/1998/Math/MathML",J9="http://www.w3.org/2000/svg",TC=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),nG={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},OW={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},G9={},RC=RegExp("^(aria)-[: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]*$"),wC=RegExp("^(aria)[A-Z][: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]*$"),DW=!1,V5={},AW=/^on./,zC=/^on[^A-Z]/,VC=RegExp("^(aria)-[: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]*$"),LC=RegExp("^(aria)[A-Z][: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]*$"),_C=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,rQ=null,q9=null,X9=null,DY=!1,M$=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),AY=!1;if(M$)try{var sQ={};Object.defineProperty(sQ,"passive",{get:function(){AY=!0}}),window.addEventListener("test",sQ,sQ),window.removeEventListener("test",sQ,sQ)}catch($){AY=!1}var g8=null,SY=null,oG=null,l6={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},iG=O5(l6),nQ=b0({},l6,{view:0,detail:0}),CC=O5(nQ),vY,kY,oQ,aG=b0({},nQ,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:FX,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==oQ&&(oQ&&$.type==="mousemove"?(vY=$.screenX-oQ.screenX,kY=$.screenY-oQ.screenY):kY=vY=0,oQ=$),vY},movementY:function($){return"movementY"in $?$.movementY:kY}}),SW=O5(aG),PC=b0({},aG,{dataTransfer:0}),EC=O5(PC),IC=b0({},nQ,{relatedTarget:0}),bY=O5(IC),jC=b0({},l6,{animationName:0,elapsedTime:0,pseudoElement:0}),OC=O5(jC),DC=b0({},l6,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),AC=O5(DC),SC=b0({},l6,{data:0}),vW=O5(SC),vC=vW,kC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bC={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},yC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fC=b0({},nQ,{key:function($){if($.key){var Q=kC[$.key]||$.key;if(Q!=="Unidentified")return Q}return $.type==="keypress"?($=fJ($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?bC[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:FX,charCode:function($){return $.type==="keypress"?fJ($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?fJ($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),gC=O5(fC),hC=b0({},aG,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kW=O5(hC),xC=b0({},nQ,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:FX}),uC=O5(xC),mC=b0({},l6,{propertyName:0,elapsedTime:0,pseudoElement:0}),dC=O5(mC),pC=b0({},aG,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),cC=O5(pC),lC=b0({},l6,{newState:0,oldState:0}),rC=O5(lC),sC=[9,13,27,32],bW=229,yY=M$&&"CompositionEvent"in window,iQ=null;M$&&"documentMode"in document&&(iQ=document.documentMode);var nC=M$&&"TextEvent"in window&&!iQ,yW=M$&&(!yY||iQ&&8<iQ&&11>=iQ),fW=32,gW=String.fromCharCode(fW),hW=!1,Y9=!1,oC={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},aQ=null,tQ=null,xW=!1;M$&&(xW=TL("input")&&(!document.documentMode||9<document.documentMode));var L5=typeof Object.is==="function"?Object.is:_L,iC=M$&&"documentMode"in document&&11>=document.documentMode,U9=null,fY=null,eQ=null,gY=!1,N9={animationend:A6("Animation","AnimationEnd"),animationiteration:A6("Animation","AnimationIteration"),animationstart:A6("Animation","AnimationStart"),transitionrun:A6("Transition","TransitionRun"),transitionstart:A6("Transition","TransitionStart"),transitioncancel:A6("Transition","TransitionCancel"),transitionend:A6("Transition","TransitionEnd")},hY={},uW={};M$&&(uW=document.createElement("div").style,("AnimationEvent"in window)||(delete N9.animationend.animation,delete N9.animationiteration.animation,delete N9.animationstart.animation),("TransitionEvent"in window)||delete N9.transitionend.transition);var mW=S6("animationend"),dW=S6("animationiteration"),pW=S6("animationstart"),aC=S6("transitionrun"),tC=S6("transitionstart"),eC=S6("transitioncancel"),cW=S6("transitionend"),lW=new Map,xY="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");xY.push("scrollEnd");var rW=0;if(typeof performance==="object"&&typeof performance.now==="function")var $P=performance,sW=function(){return $P.now()};else{var QP=Date;sW=function(){return QP.now()}}var uY=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(Q))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},ZP="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",tG=0,mY=1,dY=2,pY=3,eG="– ",$q="+ ",nW=" ",T1=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",B4="Components ⚛",y0="Scheduler ⚛",h0="Blocking",h8=!1,x$={color:"primary",properties:null,tooltipText:"",track:B4},x8={start:-0,end:-0,detail:{devtools:x$}},JP=["Changed Props",""],oW="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",GP=["Changed Props",oW],$Z=1,u$=2,H4=[],K9=0,cY=0,u8={};Object.freeze(u8);var M4=null,B9=null,V0=0,qP=1,O0=2,W5=8,v4=16,XP=32,iW=!1;try{var aW=Object.preventExtensions({})}catch($){iW=!0}var lY=new WeakMap,H9=[],M9=0,Qq=null,QZ=0,W4=[],F4=0,r6=null,m$=1,d$="",q5=null,R1=null,m0=!1,W$=!1,Z4=null,m8=null,T4=!1,rY=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),sY=K0(null),nY=K0(null),tW={},Zq=null,W9=null,F9=!1,YP=typeof AbortController<"u"?AbortController:function(){var $=[],Q=this.signal={aborted:!1,addEventListener:function(G,X){$.push(X)}};this.abort=function(){Q.aborted=!0,$.forEach(function(G){return G()})}},UP=i0.unstable_scheduleCallback,NP=i0.unstable_NormalPriority,f1={$$typeof:U$,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},g1=i0.unstable_now,Jq=console.createTask?console.createTask:function(){return null},ZZ=1,Gq=2,i1=-0,d8=-0,p$=-0,c$=null,_5=-1.1,s6=-0,C1=-0,T0=-1.1,w0=-1.1,L1=null,j1=!1,p8=-0,F$=-1.1,JZ=null,c8=0,oY=null,iY=null,n6=-1.1,GZ=null,T9=-1.1,qq=-1.1,T$=-0,l$=-1.1,R4=-1.1,aY=0,qZ=null,eW=null,$F=null,l8=-1.1,o6=null,r8=-1.1,Xq=-1.1,QF=-0,ZF=-0,Yq=0,r$=null,JF=0,XZ=-1.1,Uq=!1,Nq=!1,YZ=null,tY=0,i6=0,R9=null,GF=x.S;x.S=function($,Q){if(eF=o1(),typeof Q==="object"&&Q!==null&&typeof Q.then==="function"){if(0>l$&&0>R4){l$=g1();var G=gQ(),X=fQ();if(G!==r8||X!==o6)r8=-1.1;l8=G,o6=X}DL($,Q)}GF!==null&&GF($,Q)};var a6=K0(null),k4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},UZ=[],NZ=[],KZ=[],BZ=[],HZ=[],MZ=[],t6=new Set;k4.recordUnsafeLifecycleWarnings=function($,Q){t6.has($.type)||(typeof Q.componentWillMount==="function"&&Q.componentWillMount.__suppressDeprecationWarning!==!0&&UZ.push($),$.mode&W5&&typeof Q.UNSAFE_componentWillMount==="function"&&NZ.push($),typeof Q.componentWillReceiveProps==="function"&&Q.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&KZ.push($),$.mode&W5&&typeof Q.UNSAFE_componentWillReceiveProps==="function"&&BZ.push($),typeof Q.componentWillUpdate==="function"&&Q.componentWillUpdate.__suppressDeprecationWarning!==!0&&HZ.push($),$.mode&W5&&typeof Q.UNSAFE_componentWillUpdate==="function"&&MZ.push($))},k4.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<UZ.length&&(UZ.forEach(function(T){$.add(d(T)||"Component"),t6.add(T.type)}),UZ=[]);var Q=new Set;0<NZ.length&&(NZ.forEach(function(T){Q.add(d(T)||"Component"),t6.add(T.type)}),NZ=[]);var G=new Set;0<KZ.length&&(KZ.forEach(function(T){G.add(d(T)||"Component"),t6.add(T.type)}),KZ=[]);var X=new Set;0<BZ.length&&(BZ.forEach(function(T){X.add(d(T)||"Component"),t6.add(T.type)}),BZ=[]);var N=new Set;0<HZ.length&&(HZ.forEach(function(T){N.add(d(T)||"Component"),t6.add(T.type)}),HZ=[]);var B=new Set;if(0<MZ.length&&(MZ.forEach(function(T){B.add(d(T)||"Component"),t6.add(T.type)}),MZ=[]),0<Q.size){var F=z(Q);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
185
185
|
|
|
186
186
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
187
|
|
|
188
|
-
Please update the following components: %s`,
|
|
188
|
+
Please update the following components: %s`,F)}0<X.size&&(F=z(X),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
189
189
|
|
|
190
190
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
191
191
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
192
192
|
|
|
193
|
-
Please update the following components: %s`,
|
|
193
|
+
Please update the following components: %s`,F)),0<B.size&&(F=z(B),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
194
194
|
|
|
195
195
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
196
|
|
|
197
|
-
Please update the following components: %s`,
|
|
197
|
+
Please update the following components: %s`,F)),0<$.size&&(F=z($),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
198
|
|
|
199
199
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
200
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
201
201
|
|
|
202
|
-
Please update the following components: %s`,
|
|
202
|
+
Please update the following components: %s`,F)),0<G.size&&(F=z(G),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
203
|
|
|
204
204
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
205
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
206
206
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
207
207
|
|
|
208
|
-
Please update the following components: %s`,
|
|
208
|
+
Please update the following components: %s`,F)),0<N.size&&(F=z(N),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
209
|
|
|
210
210
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
211
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
212
212
|
|
|
213
|
-
Please update the following components: %s`,
|
|
213
|
+
Please update the following components: %s`,F))};var Kq=new Map,qF=new Set;k4.recordLegacyContextWarning=function($,Q){var G=null;for(var X=$;X!==null;)X.mode&W5&&(G=X),X=X.return;G===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!qF.has($.type)&&(X=Kq.get(G),$.type.contextTypes!=null||$.type.childContextTypes!=null||Q!==null&&typeof Q.getChildContext==="function")&&(X===void 0&&(X=[],Kq.set(G,X)),X.push($))},k4.flushLegacyContextWarning=function(){Kq.forEach(function($){if($.length!==0){var Q=$[0],G=new Set;$.forEach(function(N){G.add(d(N)||"Component"),qF.add(N.type)});var X=z(G);G0(Q,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
214
214
|
|
|
215
215
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
216
216
|
|
|
217
217
|
Please update the following components: %s
|
|
218
218
|
|
|
219
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,X)})}})},
|
|
219
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,X)})}})},k4.discardPendingWarnings=function(){UZ=[],NZ=[],KZ=[],BZ=[],HZ=[],MZ=[],Kq=new Map};var XF={react_stack_bottom_frame:function($,Q,G){var X=N$;N$=!0;try{return $(Q,G)}finally{N$=X}}},eY=XF.react_stack_bottom_frame.bind(XF),YF={react_stack_bottom_frame:function($){var Q=N$;N$=!0;try{return $.render()}finally{N$=Q}}},UF=YF.react_stack_bottom_frame.bind(YF),NF={react_stack_bottom_frame:function($,Q){try{Q.componentDidMount()}catch(G){e0($,$.return,G)}}},$U=NF.react_stack_bottom_frame.bind(NF),KF={react_stack_bottom_frame:function($,Q,G,X,N){try{Q.componentDidUpdate(G,X,N)}catch(B){e0($,$.return,B)}}},BF=KF.react_stack_bottom_frame.bind(KF),HF={react_stack_bottom_frame:function($,Q){var G=Q.stack;$.componentDidCatch(Q.value,{componentStack:G!==null?G:""})}},KP=HF.react_stack_bottom_frame.bind(HF),MF={react_stack_bottom_frame:function($,Q,G){try{G.componentWillUnmount()}catch(X){e0($,Q,X)}}},WF=MF.react_stack_bottom_frame.bind(MF),FF={react_stack_bottom_frame:function($){var Q=$.create;return $=$.inst,Q=Q(),$.destroy=Q}},BP=FF.react_stack_bottom_frame.bind(FF),TF={react_stack_bottom_frame:function($,Q,G){try{G()}catch(X){e0($,Q,X)}}},HP=TF.react_stack_bottom_frame.bind(TF),RF={react_stack_bottom_frame:function($){var Q=$._init;return Q($._payload)}},MP=RF.react_stack_bottom_frame.bind(RF),w9=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),QU=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Bq=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Hq={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},e6=null,WZ=!1,z9=null,FZ=0,D0=null,ZU,wF=ZU=!1,zF={},VF={},LF={};w=function($,Q,G){if(G!==null&&typeof G==="object"&&G._store&&(!G._store.validated&&G.key==null||G._store.validated===2)){if(typeof G._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");G._store.validated=1;var X=d($),N=X||"null";if(!zF[N]){zF[N]=!0,G=G._owner,$=$._debugOwner;var B="";$&&typeof $.tag==="number"&&(N=d($))&&(B=`
|
|
220
220
|
|
|
221
221
|
Check the render method of \``+N+"`."),B||X&&(B=`
|
|
222
222
|
|
|
223
|
-
Check the top-level render call using <`+X+">.");var W="";G!=null&&$!==G&&(X=null,typeof G.tag==="number"?X=d(G):typeof G.name==="string"&&(X=G.name),X&&(W=" It was passed a child from "+X+".")),G0(Z,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',B,W)})}}};var t2=KB(!0),zW=KB(!1),VW=0,LW=1,_W=2,eY=3,d6=!1,PW=!1,$U=null,ZU=!1,R9=N0(null),NJ=N0(0),Z4=N0(null),w4=null,z9=1,WZ=2,v1=N0(0),KJ=0,T4=1,L5=2,Q4=4,_5=8,V9,EW=new Set,CW=new Set,QU=new Set,IW=new Set,c8=0,L0=null,N1=null,h1=null,BJ=!1,L9=!1,e2=!1,HJ=0,wZ=0,l8=null,ME=0,FE=25,h=null,R4=null,r8=-1,TZ=!1,RZ={readContext:V1,use:E6,useCallback:A1,useContext:A1,useEffect:A1,useImperativeHandle:A1,useLayoutEffect:A1,useInsertionEffect:A1,useMemo:A1,useReducer:A1,useRef:A1,useState:A1,useDebugValue:A1,useDeferredValue:A1,useTransition:A1,useSyncExternalStore:A1,useId:A1,useHostTransitionStatus:A1,useFormState:A1,useActionState:A1,useOptimistic:A1,useMemoCache:A1,useCacheRefresh:A1};RZ.useEffectEvent=A1;var GU=null,jW=null,JU=null,OW=null,W8=null,v4=null,MJ=null;GU={readContext:function($){return V1($)},use:E6,useCallback:function($,Z){return h="useCallback",f0(),g$(Z),ZX($,Z)},useContext:function($){return h="useContext",f0(),V1($)},useEffect:function($,Z){return h="useEffect",f0(),g$(Z),XG($,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",f0(),g$(G),$X($,Z,G)},useInsertionEffect:function($,Z){h="useInsertionEffect",f0(),g$(Z),g2(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",f0(),g$(Z),e3($,Z)},useMemo:function($,Z){h="useMemo",f0(),g$(Z);var G=x.H;x.H=W8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",f0();var X=x.H;x.H=W8;try{return c3($,Z,G)}finally{x.H=X}},useRef:function($){return h="useRef",f0(),a3($)},useState:function($){h="useState",f0();var Z=x.H;x.H=W8;try{return n3($)}finally{x.H=Z}},useDebugValue:function(){h="useDebugValue",f0()},useDeferredValue:function($,Z){return h="useDeferredValue",f0(),GX($,Z)},useTransition:function(){return h="useTransition",f0(),XX()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",f0(),r3($,Z,G)},useId:function(){return h="useId",f0(),YX()},useFormState:function($,Z){return h="useFormState",f0(),ZG(),x$($,Z)},useActionState:function($,Z){return h="useActionState",f0(),x$($,Z)},useOptimistic:function($){return h="useOptimistic",f0(),o3($)},useHostTransitionStatus:h2,useMemoCache:y2,useCacheRefresh:function(){return h="useCacheRefresh",f0(),UX()},useEffectEvent:function($){return h="useEffectEvent",f0(),t3($)}},jW={readContext:function($){return V1($)},use:E6,useCallback:function($,Z){return h="useCallback",c(),ZX($,Z)},useContext:function($){return h="useContext",c(),V1($)},useEffect:function($,Z){return h="useEffect",c(),XG($,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),$X($,Z,G)},useInsertionEffect:function($,Z){h="useInsertionEffect",c(),g2(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),e3($,Z)},useMemo:function($,Z){h="useMemo",c();var G=x.H;x.H=W8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",c();var X=x.H;x.H=W8;try{return c3($,Z,G)}finally{x.H=X}},useRef:function($){return h="useRef",c(),a3($)},useState:function($){h="useState",c();var Z=x.H;x.H=W8;try{return n3($)}finally{x.H=Z}},useDebugValue:function(){h="useDebugValue",c()},useDeferredValue:function($,Z){return h="useDeferredValue",c(),GX($,Z)},useTransition:function(){return h="useTransition",c(),XX()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",c(),r3($,Z,G)},useId:function(){return h="useId",c(),YX()},useActionState:function($,Z){return h="useActionState",c(),x$($,Z)},useFormState:function($,Z){return h="useFormState",c(),ZG(),x$($,Z)},useOptimistic:function($){return h="useOptimistic",c(),o3($)},useHostTransitionStatus:h2,useMemoCache:y2,useCacheRefresh:function(){return h="useCacheRefresh",c(),UX()},useEffectEvent:function($){return h="useEffectEvent",c(),t3($)}},JU={readContext:function($){return V1($)},use:E6,useCallback:function($,Z){return h="useCallback",c(),NG($,Z)},useContext:function($){return h="useContext",c(),V1($)},useEffect:function($,Z){h="useEffect",c(),j5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",c(),j5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),j5(4,Q4,$,Z)},useMemo:function($,Z){h="useMemo",c();var G=x.H;x.H=v4;try{return KG($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",c();var X=x.H;x.H=v4;try{return h$($,Z,G)}finally{x.H=X}},useRef:function(){return h="useRef",c(),J1().memoizedState},useState:function(){h="useState",c();var $=x.H;x.H=v4;try{return h$(I4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",c()},useDeferredValue:function($,Z){return h="useDeferredValue",c(),vB($,Z)},useTransition:function(){return h="useTransition",c(),hB()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",c(),GG($,Z,G)},useId:function(){return h="useId",c(),J1().memoizedState},useFormState:function($){return h="useFormState",c(),ZG(),JG($)},useActionState:function($){return h="useActionState",c(),JG($)},useOptimistic:function($,Z){return h="useOptimistic",c(),_B($,Z)},useHostTransitionStatus:h2,useMemoCache:y2,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",c(),YG($)}},OW={readContext:function($){return V1($)},use:E6,useCallback:function($,Z){return h="useCallback",c(),NG($,Z)},useContext:function($){return h="useContext",c(),V1($)},useEffect:function($,Z){h="useEffect",c(),j5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",c(),j5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),j5(4,Q4,$,Z)},useMemo:function($,Z){h="useMemo",c();var G=x.H;x.H=MJ;try{return KG($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",c();var X=x.H;x.H=MJ;try{return P7($,Z,G)}finally{x.H=X}},useRef:function(){return h="useRef",c(),J1().memoizedState},useState:function(){h="useState",c();var $=x.H;x.H=MJ;try{return P7(I4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",c()},useDeferredValue:function($,Z){return h="useDeferredValue",c(),kB($,Z)},useTransition:function(){return h="useTransition",c(),xB()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",c(),GG($,Z,G)},useId:function(){return h="useId",c(),J1().memoizedState},useFormState:function($){return h="useFormState",c(),ZG(),qG($)},useActionState:function($){return h="useActionState",c(),qG($)},useOptimistic:function($,Z){return h="useOptimistic",c(),EB($,Z)},useHostTransitionStatus:h2,useMemoCache:y2,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",c(),YG($)}},W8={readContext:function($){return F(),V1($)},use:function($){return M(),E6($)},useCallback:function($,Z){return h="useCallback",M(),f0(),ZX($,Z)},useContext:function($){return h="useContext",M(),f0(),V1($)},useEffect:function($,Z){return h="useEffect",M(),f0(),XG($,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),f0(),$X($,Z,G)},useInsertionEffect:function($,Z){h="useInsertionEffect",M(),f0(),g2(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),f0(),e3($,Z)},useMemo:function($,Z){h="useMemo",M(),f0();var G=x.H;x.H=W8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",M(),f0();var X=x.H;x.H=W8;try{return c3($,Z,G)}finally{x.H=X}},useRef:function($){return h="useRef",M(),f0(),a3($)},useState:function($){h="useState",M(),f0();var Z=x.H;x.H=W8;try{return n3($)}finally{x.H=Z}},useDebugValue:function(){h="useDebugValue",M(),f0()},useDeferredValue:function($,Z){return h="useDeferredValue",M(),f0(),GX($,Z)},useTransition:function(){return h="useTransition",M(),f0(),XX()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",M(),f0(),r3($,Z,G)},useId:function(){return h="useId",M(),f0(),YX()},useFormState:function($,Z){return h="useFormState",M(),f0(),x$($,Z)},useActionState:function($,Z){return h="useActionState",M(),f0(),x$($,Z)},useOptimistic:function($){return h="useOptimistic",M(),f0(),o3($)},useMemoCache:function($){return M(),y2($)},useHostTransitionStatus:h2,useCacheRefresh:function(){return h="useCacheRefresh",f0(),UX()},useEffectEvent:function($){return h="useEffectEvent",M(),f0(),t3($)}},v4={readContext:function($){return F(),V1($)},use:function($){return M(),E6($)},useCallback:function($,Z){return h="useCallback",M(),c(),NG($,Z)},useContext:function($){return h="useContext",M(),c(),V1($)},useEffect:function($,Z){h="useEffect",M(),c(),j5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",M(),c(),j5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),c(),j5(4,Q4,$,Z)},useMemo:function($,Z){h="useMemo",M(),c();var G=x.H;x.H=v4;try{return KG($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",M(),c();var X=x.H;x.H=v4;try{return h$($,Z,G)}finally{x.H=X}},useRef:function(){return h="useRef",M(),c(),J1().memoizedState},useState:function(){h="useState",M(),c();var $=x.H;x.H=v4;try{return h$(I4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",M(),c()},useDeferredValue:function($,Z){return h="useDeferredValue",M(),c(),vB($,Z)},useTransition:function(){return h="useTransition",M(),c(),hB()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",M(),c(),GG($,Z,G)},useId:function(){return h="useId",M(),c(),J1().memoizedState},useFormState:function($){return h="useFormState",M(),c(),JG($)},useActionState:function($){return h="useActionState",M(),c(),JG($)},useOptimistic:function($,Z){return h="useOptimistic",M(),c(),_B($,Z)},useMemoCache:function($){return M(),y2($)},useHostTransitionStatus:h2,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",M(),c(),YG($)}},MJ={readContext:function($){return F(),V1($)},use:function($){return M(),E6($)},useCallback:function($,Z){return h="useCallback",M(),c(),NG($,Z)},useContext:function($){return h="useContext",M(),c(),V1($)},useEffect:function($,Z){h="useEffect",M(),c(),j5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",M(),c(),j5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),c(),j5(4,Q4,$,Z)},useMemo:function($,Z){h="useMemo",M(),c();var G=x.H;x.H=v4;try{return KG($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",M(),c();var X=x.H;x.H=v4;try{return P7($,Z,G)}finally{x.H=X}},useRef:function(){return h="useRef",M(),c(),J1().memoizedState},useState:function(){h="useState",M(),c();var $=x.H;x.H=v4;try{return P7(I4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",M(),c()},useDeferredValue:function($,Z){return h="useDeferredValue",M(),c(),kB($,Z)},useTransition:function(){return h="useTransition",M(),c(),xB()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",M(),c(),GG($,Z,G)},useId:function(){return h="useId",M(),c(),J1().memoizedState},useFormState:function($){return h="useFormState",M(),c(),qG($)},useActionState:function($){return h="useActionState",M(),c(),qG($)},useOptimistic:function($,Z){return h="useOptimistic",M(),c(),EB($,Z)},useMemoCache:function($){return M(),y2($)},useHostTransitionStatus:h2,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",M(),c(),YG($)}};var DW={},AW=new Set,SW=new Set,vW=new Set,kW=new Set,bW=new Set,fW=new Set,yW=new Set,gW=new Set,hW=new Set,xW=new Set;Object.freeze(DW);var qU={enqueueSetState:function($,Z,G){$=$._reactInternals;var X=o5($),N=V6(X);N.payload=Z,G!==void 0&&G!==null&&(KX(G),N.callback=G),Z=L6($,N,X),Z!==null&&(r4(X,"this.setState()",$),C1(Z,$,X),z7(Z,$,X))},enqueueReplaceState:function($,Z,G){$=$._reactInternals;var X=o5($),N=V6(X);N.tag=LW,N.payload=Z,G!==void 0&&G!==null&&(KX(G),N.callback=G),Z=L6($,N,X),Z!==null&&(r4(X,"this.replaceState()",$),C1(Z,$,X),z7(Z,$,X))},enqueueForceUpdate:function($,Z){$=$._reactInternals;var G=o5($),X=V6(G);X.tag=_W,Z!==void 0&&Z!==null&&(KX(Z),X.callback=Z),Z=L6($,X,G),Z!==null&&(r4(G,"this.forceUpdate()",$),C1(Z,$,G),z7(Z,$,G))}},_9=null,XU=null,YU=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),x1=!1,uW={},mW={},dW={},pW={},P9=!1,cW={},FJ={},UU={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},lW=!1,rW=null;rW=new Set;var s8=!1,u1=!1,NU=!1,sW=typeof WeakSet==="function"?WeakSet:Set,a1=null,E9=null,C9=null,m1=null,A5=!1,k4=null,l1=!1,zZ=8192,WE={getCacheForType:function($){var Z=V1(y1),G=Z.data.get($);return G===void 0&&(G=$(),Z.data.set($,G)),G},cacheSignal:function(){return V1(y1).controller.signal},getOwner:function(){return t5}};if(typeof Symbol==="function"&&Symbol.for){var VZ=Symbol.for;VZ("selector.component"),VZ("selector.has_pseudo_class"),VZ("selector.role"),VZ("selector.test_id"),VZ("selector.text")}var wE=[],TE=typeof WeakMap==="function"?WeakMap:Map,t1=0,r1=2,G4=4,n8=0,LZ=1,$$=2,WJ=3,p6=4,wJ=6,nW=5,o0=t1,K1=null,v0=null,S0=0,S5=0,TJ=1,Z$=2,_Z=3,oW=4,KU=5,PZ=6,RJ=7,BU=8,Q$=9,q1=S5,J4=null,c6=!1,I9=!1,HU=!1,w8=0,P1=n8,l6=0,r6=0,MU=0,v5=0,G$=0,EZ=null,P5=null,zJ=!1,VJ=0,iW=0,aW=300,LJ=1/0,tW=500,CZ=null,S1=null,s6=null,_J=0,FU=1,WU=2,eW=3,n6=0,$w=1,Zw=2,Qw=3,Gw=4,PJ=5,d1=0,o6=null,j9=null,b4=0,wU=0,TU=-0,RU=null,Jw=null,qw=null,f4=_J,Xw=null,RE=50,IZ=0,zU=null,VU=!1,EJ=!1,zE=50,J$=0,jZ=null,O9=!1,CJ=null,Yw=!1,Uw=new Set,VE={},IJ=null,D9=null,LU=!1,_U=!1,jJ=!1,PU=!1,i6=0,EU={};(function(){for(var $=0;$<fY.length;$++){var Z=fY[$],G=Z.toLowerCase();Z=Z[0].toUpperCase()+Z.slice(1),C4(G,"on"+Z)}C4(hF,"onAnimationEnd"),C4(xF,"onAnimationIteration"),C4(uF,"onAnimationStart"),C4("dblclick","onDoubleClick"),C4("focusin","onFocus"),C4("focusout","onBlur"),C4(iP,"onTransitionRun"),C4(aP,"onTransitionStart"),C4(tP,"onTransitionCancel"),C4(mF,"onTransitionEnd")})(),d5("onMouseEnter",["mouseout","mouseover"]),d5("onMouseLeave",["mouseout","mouseover"]),d5("onPointerEnter",["pointerout","pointerover"]),d5("onPointerLeave",["pointerout","pointerover"]),K5("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),K5("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),K5("onBeforeInput",["compositionend","keypress","textInput","paste"]),K5("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),K5("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),K5("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var OZ="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),CU=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(OZ)),OJ="_reactListening"+Math.random().toString(36).slice(2),Nw=!1,Kw=!1,DJ=!1,Bw=!1,AJ=!1,SJ=!1,Hw=!1,vJ={},LE=/\r\n?/g,_E=/\u0000|\uFFFD/g,q$="http://www.w3.org/1999/xlink",IU="http://www.w3.org/XML/1998/namespace",PE="javascript:throw new Error('React form unexpectedly submitted.')",EE="suppressHydrationWarning",X$="&",kJ="/&",DZ="$",AZ="/$",a6="$?",Y$="$~",A9="$!",CE="html",IE="body",jE="head",jU="F!",Mw="F",Fw="loading",OE="style",o8=0,S9=1,bJ=2,OU=null,DU=null,Ww={dialog:!0,webview:!0},AU=null,SZ=void 0,ww=typeof setTimeout==="function"?setTimeout:void 0,DE=typeof clearTimeout==="function"?clearTimeout:void 0,U$=-1,Tw=typeof Promise==="function"?Promise:void 0,AE=typeof queueMicrotask==="function"?queueMicrotask:typeof Tw<"u"?function($){return Tw.resolve(null).then($).catch(F_)}:ww,SU=null,N$=0,vZ=1,Rw=2,zw=3,z4=4,V4=new Map,Vw=new Set,i8=Z1.d;Z1.d={f:function(){var $=i8.f(),Z=c$();return $||Z},r:function($){var Z=P0($);Z!==null&&Z.tag===5&&Z.type==="form"?gB(Z):i8.r($)},D:function($){i8.D($),AM("dns-prefetch",$,null)},C:function($,Z){i8.C($,Z),AM("preconnect",$,Z)},L:function($,Z,G){i8.L($,Z,G);var X=v9;if(X&&$&&Z){var N='link[rel="preload"][as="'+Y4(Z)+'"]';Z==="image"?G&&G.imageSrcSet?(N+='[imagesrcset="'+Y4(G.imageSrcSet)+'"]',typeof G.imageSizes==="string"&&(N+='[imagesizes="'+Y4(G.imageSizes)+'"]')):N+='[href="'+Y4($)+'"]':N+='[href="'+Y4($)+'"]';var B=N;switch(Z){case"style":B=s$($);break;case"script":B=n$($)}V4.has(B)||($=y0({rel:"preload",href:Z==="image"&&G&&G.imageSrcSet?void 0:$,as:Z},G),V4.set(B,$),X.querySelector(N)!==null||Z==="style"&&X.querySelector(h7(B))||Z==="script"&&X.querySelector(x7(B))||(Z=X.createElement("link"),Q5(Z,"link",$),F0(Z),X.head.appendChild(Z)))}},m:function($,Z){i8.m($,Z);var G=v9;if(G&&$){var X=Z&&typeof Z.as==="string"?Z.as:"script",N='link[rel="modulepreload"][as="'+Y4(X)+'"][href="'+Y4($)+'"]',B=N;switch(X){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":B=n$($)}if(!V4.has(B)&&($=y0({rel:"modulepreload",href:$},Z),V4.set(B,$),G.querySelector(N)===null)){switch(X){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(G.querySelector(x7(B)))return}X=G.createElement("link"),Q5(X,"link",$),F0(X),G.head.appendChild(X)}}},X:function($,Z){i8.X($,Z);var G=v9;if(G&&$){var X=i0(G).hoistableScripts,N=n$($),B=X.get(N);B||(B=G.querySelector(x7(N)),B||($=y0({src:$,async:!0},Z),(Z=V4.get(N))&&$Y($,Z),B=G.createElement("script"),F0(B),Q5(B,"link",$),G.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},X.set(N,B))}},S:function($,Z,G){i8.S($,Z,G);var X=v9;if(X&&$){var N=i0(X).hoistableStyles,B=s$($);Z=Z||"default";var W=N.get(B);if(!W){var w={loading:N$,preload:null};if(W=X.querySelector(h7(B)))w.loading=vZ|z4;else{$=y0({rel:"stylesheet",href:$,"data-precedence":Z},G),(G=V4.get(B))&&eX($,G);var V=W=X.createElement("link");F0(V),Q5(V,"link",$),V._p=new Promise(function(_,k){V.onload=_,V.onerror=k}),V.addEventListener("load",function(){w.loading|=vZ}),V.addEventListener("error",function(){w.loading|=Rw}),w.loading|=z4,DG(W,Z,X)}W={type:"stylesheet",instance:W,count:1,state:w},N.set(B,W)}}},M:function($,Z){i8.M($,Z);var G=v9;if(G&&$){var X=i0(G).hoistableScripts,N=n$($),B=X.get(N);B||(B=G.querySelector(x7(N)),B||($=y0({src:$,async:!0,type:"module"},Z),(Z=V4.get(N))&&$Y($,Z),B=G.createElement("script"),F0(B),Q5(B,"link",$),G.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},X.set(N,B))}}};var v9=typeof document>"u"?null:document,fJ=null,SE=60000,vE=800,kE=500,vU=0,kU=null,yJ=null,K$=n_,kZ={$$typeof:X8,Provider:null,Consumer:null,_currentValue:K$,_currentValue2:K$,_threadCount:0},Lw="%c%s%c",_w="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",Pw="",gJ=" ",bE=Function.prototype.bind,Ew=!1,Cw=null,Iw=null,jw=null,Ow=null,Dw=null,Aw=null,Sw=null,vw=null,kw=null,bw=null;Cw=function($,Z,G,X){Z=Q($,Z),Z!==null&&(G=J(Z.memoizedState,G,0,X),Z.memoizedState=G,Z.baseState=G,$.memoizedProps=y0({},$.memoizedProps),G=B5($,2),G!==null&&C1(G,$,2))},Iw=function($,Z,G){Z=Q($,Z),Z!==null&&(G=U(Z.memoizedState,G,0),Z.memoizedState=G,Z.baseState=G,$.memoizedProps=y0({},$.memoizedProps),G=B5($,2),G!==null&&C1(G,$,2))},jw=function($,Z,G,X){Z=Q($,Z),Z!==null&&(G=q(Z.memoizedState,G,X),Z.memoizedState=G,Z.baseState=G,$.memoizedProps=y0({},$.memoizedProps),G=B5($,2),G!==null&&C1(G,$,2))},Ow=function($,Z,G){$.pendingProps=J($.memoizedProps,Z,0,G),$.alternate&&($.alternate.pendingProps=$.pendingProps),Z=B5($,2),Z!==null&&C1(Z,$,2)},Dw=function($,Z){$.pendingProps=U($.memoizedProps,Z,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),Z=B5($,2),Z!==null&&C1(Z,$,2)},Aw=function($,Z,G){$.pendingProps=q($.memoizedProps,Z,G),$.alternate&&($.alternate.pendingProps=$.pendingProps),Z=B5($,2),Z!==null&&C1(Z,$,2)},Sw=function($){var Z=B5($,2);Z!==null&&C1(Z,$,2)},vw=function($){var Z=A$(),G=B5($,Z);G!==null&&C1(G,$,Z)},kw=function($){H=$},bw=function($){K=$};var hJ=!0,xJ=null,bU=!1,t6=null,e6=null,$2=null,bZ=new Map,fZ=new Map,Z2=[],fE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),uJ=null;if(bG.prototype.render=XY.prototype.render=function($){var Z=this._internalRoot;if(Z===null)throw Error("Cannot update an unmounted root.");var G=arguments;typeof G[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):C(G[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof G[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),G=$;var X=Z.current,N=o5(X);ZY(X,N,G,Z,null,null)},bG.prototype.unmount=XY.prototype.unmount=function(){var $=arguments;if(typeof $[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),$=this._internalRoot,$!==null){this._internalRoot=null;var Z=$.containerInfo;(o0&(r1|G4))!==t1&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),ZY($.current,2,null,$,null,null),c$(),Z[S6]=null}},bG.prototype.unstable_scheduleHydration=function($){if($){var Z=f();$={blockedOn:null,target:$,priority:Z};for(var G=0;G<Z2.length&&Z!==0&&Z<Z2[G].priority;G++);Z2.splice(G,0,$),G===0&&cM($)}},function(){var $=k9.version;if($!=="19.2.5")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
223
|
+
Check the top-level render call using <`+X+">.");var F="";G!=null&&$!==G&&(X=null,typeof G.tag==="number"?X=d(G):typeof G.name==="string"&&(X=G.name),X&&(F=" It was passed a child from "+X+".")),G0(Q,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',B,F)})}}};var $7=MB(!0),_F=MB(!1),CF=0,PF=1,EF=2,JU=3,s8=!1,IF=!1,GU=null,qU=!1,V9=K0(null),Mq=K0(0),J4=K0(null),w4=null,L9=1,TZ=2,v1=K0(0),Wq=0,z4=1,C5=2,G4=4,P5=8,_9,jF=new Set,OF=new Set,XU=new Set,DF=new Set,s$=0,L0=null,U1=null,h1=null,Fq=!1,C9=!1,Q7=!1,Tq=0,RZ=0,n$=null,WP=0,FP=25,h=null,V4=null,o$=-1,wZ=!1,zZ={readContext:V1,use:D8,useCallback:A1,useContext:A1,useEffect:A1,useImperativeHandle:A1,useLayoutEffect:A1,useInsertionEffect:A1,useMemo:A1,useReducer:A1,useRef:A1,useState:A1,useDebugValue:A1,useDeferredValue:A1,useTransition:A1,useSyncExternalStore:A1,useId:A1,useHostTransitionStatus:A1,useFormState:A1,useActionState:A1,useOptimistic:A1,useMemoCache:A1,useCacheRefresh:A1};zZ.useEffectEvent=A1;var YU=null,AF=null,UU=null,SF=null,R$=null,b4=null,Rq=null;YU={readContext:function($){return V1($)},use:D8,useCallback:function($,Q){return h="useCallback",k0(),x7(Q),q3($,Q)},useContext:function($){return h="useContext",k0(),V1($)},useEffect:function($,Q){return h="useEffect",k0(),x7(Q),KG($,Q)},useImperativeHandle:function($,Q,G){return h="useImperativeHandle",k0(),x7(G),G3($,Q,G)},useInsertionEffect:function($,Q){h="useInsertionEffect",k0(),x7(Q),x6(4,C5,$,Q)},useLayoutEffect:function($,Q){return h="useLayoutEffect",k0(),x7(Q),J3($,Q)},useMemo:function($,Q){h="useMemo",k0(),x7(Q);var G=x.H;x.H=R$;try{return X3($,Q)}finally{x.H=G}},useReducer:function($,Q,G){h="useReducer",k0();var X=x.H;x.H=R$;try{return nX($,Q,G)}finally{x.H=X}},useRef:function($){return h="useRef",k0(),Q3($)},useState:function($){h="useState",k0();var Q=x.H;x.H=R$;try{return tX($)}finally{x.H=Q}},useDebugValue:function(){h="useDebugValue",k0()},useDeferredValue:function($,Q){return h="useDeferredValue",k0(),Y3($,Q)},useTransition:function(){return h="useTransition",k0(),K3()},useSyncExternalStore:function($,Q,G){return h="useSyncExternalStore",k0(),iX($,Q,G)},useId:function(){return h="useId",k0(),B3()},useFormState:function($,Q){return h="useFormState",k0(),qG(),m7($,Q)},useActionState:function($,Q){return h="useActionState",k0(),m7($,Q)},useOptimistic:function($){return h="useOptimistic",k0(),eX($)},useHostTransitionStatus:u6,useMemoCache:h6,useCacheRefresh:function(){return h="useCacheRefresh",k0(),H3()},useEffectEvent:function($){return h="useEffectEvent",k0(),Z3($)}},AF={readContext:function($){return V1($)},use:D8,useCallback:function($,Q){return h="useCallback",c(),q3($,Q)},useContext:function($){return h="useContext",c(),V1($)},useEffect:function($,Q){return h="useEffect",c(),KG($,Q)},useImperativeHandle:function($,Q,G){return h="useImperativeHandle",c(),G3($,Q,G)},useInsertionEffect:function($,Q){h="useInsertionEffect",c(),x6(4,C5,$,Q)},useLayoutEffect:function($,Q){return h="useLayoutEffect",c(),J3($,Q)},useMemo:function($,Q){h="useMemo",c();var G=x.H;x.H=R$;try{return X3($,Q)}finally{x.H=G}},useReducer:function($,Q,G){h="useReducer",c();var X=x.H;x.H=R$;try{return nX($,Q,G)}finally{x.H=X}},useRef:function($){return h="useRef",c(),Q3($)},useState:function($){h="useState",c();var Q=x.H;x.H=R$;try{return tX($)}finally{x.H=Q}},useDebugValue:function(){h="useDebugValue",c()},useDeferredValue:function($,Q){return h="useDeferredValue",c(),Y3($,Q)},useTransition:function(){return h="useTransition",c(),K3()},useSyncExternalStore:function($,Q,G){return h="useSyncExternalStore",c(),iX($,Q,G)},useId:function(){return h="useId",c(),B3()},useActionState:function($,Q){return h="useActionState",c(),m7($,Q)},useFormState:function($,Q){return h="useFormState",c(),qG(),m7($,Q)},useOptimistic:function($){return h="useOptimistic",c(),eX($)},useHostTransitionStatus:u6,useMemoCache:h6,useCacheRefresh:function(){return h="useCacheRefresh",c(),H3()},useEffectEvent:function($){return h="useEffectEvent",c(),Z3($)}},UU={readContext:function($){return V1($)},use:D8,useCallback:function($,Q){return h="useCallback",c(),MG($,Q)},useContext:function($){return h="useContext",c(),V1($)},useEffect:function($,Q){h="useEffect",c(),D5(2048,P5,$,Q)},useImperativeHandle:function($,Q,G){return h="useImperativeHandle",c(),HG($,Q,G)},useInsertionEffect:function($,Q){return h="useInsertionEffect",c(),D5(4,C5,$,Q)},useLayoutEffect:function($,Q){return h="useLayoutEffect",c(),D5(4,G4,$,Q)},useMemo:function($,Q){h="useMemo",c();var G=x.H;x.H=b4;try{return WG($,Q)}finally{x.H=G}},useReducer:function($,Q,G){h="useReducer",c();var X=x.H;x.H=b4;try{return u7($,Q,G)}finally{x.H=X}},useRef:function(){return h="useRef",c(),J1().memoizedState},useState:function(){h="useState",c();var $=x.H;x.H=b4;try{return u7(O4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",c()},useDeferredValue:function($,Q){return h="useDeferredValue",c(),yB($,Q)},useTransition:function(){return h="useTransition",c(),mB()},useSyncExternalStore:function($,Q,G){return h="useSyncExternalStore",c(),YG($,Q,G)},useId:function(){return h="useId",c(),J1().memoizedState},useFormState:function($){return h="useFormState",c(),qG(),UG($)},useActionState:function($){return h="useActionState",c(),UG($)},useOptimistic:function($,Q){return h="useOptimistic",c(),EB($,Q)},useHostTransitionStatus:u6,useMemoCache:h6,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",c(),BG($)}},SF={readContext:function($){return V1($)},use:D8,useCallback:function($,Q){return h="useCallback",c(),MG($,Q)},useContext:function($){return h="useContext",c(),V1($)},useEffect:function($,Q){h="useEffect",c(),D5(2048,P5,$,Q)},useImperativeHandle:function($,Q,G){return h="useImperativeHandle",c(),HG($,Q,G)},useInsertionEffect:function($,Q){return h="useInsertionEffect",c(),D5(4,C5,$,Q)},useLayoutEffect:function($,Q){return h="useLayoutEffect",c(),D5(4,G4,$,Q)},useMemo:function($,Q){h="useMemo",c();var G=x.H;x.H=Rq;try{return WG($,Q)}finally{x.H=G}},useReducer:function($,Q,G){h="useReducer",c();var X=x.H;x.H=Rq;try{return PQ($,Q,G)}finally{x.H=X}},useRef:function(){return h="useRef",c(),J1().memoizedState},useState:function(){h="useState",c();var $=x.H;x.H=Rq;try{return PQ(O4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",c()},useDeferredValue:function($,Q){return h="useDeferredValue",c(),fB($,Q)},useTransition:function(){return h="useTransition",c(),dB()},useSyncExternalStore:function($,Q,G){return h="useSyncExternalStore",c(),YG($,Q,G)},useId:function(){return h="useId",c(),J1().memoizedState},useFormState:function($){return h="useFormState",c(),qG(),NG($)},useActionState:function($){return h="useActionState",c(),NG($)},useOptimistic:function($,Q){return h="useOptimistic",c(),jB($,Q)},useHostTransitionStatus:u6,useMemoCache:h6,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",c(),BG($)}},R$={readContext:function($){return W(),V1($)},use:function($){return M(),D8($)},useCallback:function($,Q){return h="useCallback",M(),k0(),q3($,Q)},useContext:function($){return h="useContext",M(),k0(),V1($)},useEffect:function($,Q){return h="useEffect",M(),k0(),KG($,Q)},useImperativeHandle:function($,Q,G){return h="useImperativeHandle",M(),k0(),G3($,Q,G)},useInsertionEffect:function($,Q){h="useInsertionEffect",M(),k0(),x6(4,C5,$,Q)},useLayoutEffect:function($,Q){return h="useLayoutEffect",M(),k0(),J3($,Q)},useMemo:function($,Q){h="useMemo",M(),k0();var G=x.H;x.H=R$;try{return X3($,Q)}finally{x.H=G}},useReducer:function($,Q,G){h="useReducer",M(),k0();var X=x.H;x.H=R$;try{return nX($,Q,G)}finally{x.H=X}},useRef:function($){return h="useRef",M(),k0(),Q3($)},useState:function($){h="useState",M(),k0();var Q=x.H;x.H=R$;try{return tX($)}finally{x.H=Q}},useDebugValue:function(){h="useDebugValue",M(),k0()},useDeferredValue:function($,Q){return h="useDeferredValue",M(),k0(),Y3($,Q)},useTransition:function(){return h="useTransition",M(),k0(),K3()},useSyncExternalStore:function($,Q,G){return h="useSyncExternalStore",M(),k0(),iX($,Q,G)},useId:function(){return h="useId",M(),k0(),B3()},useFormState:function($,Q){return h="useFormState",M(),k0(),m7($,Q)},useActionState:function($,Q){return h="useActionState",M(),k0(),m7($,Q)},useOptimistic:function($){return h="useOptimistic",M(),k0(),eX($)},useMemoCache:function($){return M(),h6($)},useHostTransitionStatus:u6,useCacheRefresh:function(){return h="useCacheRefresh",k0(),H3()},useEffectEvent:function($){return h="useEffectEvent",M(),k0(),Z3($)}},b4={readContext:function($){return W(),V1($)},use:function($){return M(),D8($)},useCallback:function($,Q){return h="useCallback",M(),c(),MG($,Q)},useContext:function($){return h="useContext",M(),c(),V1($)},useEffect:function($,Q){h="useEffect",M(),c(),D5(2048,P5,$,Q)},useImperativeHandle:function($,Q,G){return h="useImperativeHandle",M(),c(),HG($,Q,G)},useInsertionEffect:function($,Q){return h="useInsertionEffect",M(),c(),D5(4,C5,$,Q)},useLayoutEffect:function($,Q){return h="useLayoutEffect",M(),c(),D5(4,G4,$,Q)},useMemo:function($,Q){h="useMemo",M(),c();var G=x.H;x.H=b4;try{return WG($,Q)}finally{x.H=G}},useReducer:function($,Q,G){h="useReducer",M(),c();var X=x.H;x.H=b4;try{return u7($,Q,G)}finally{x.H=X}},useRef:function(){return h="useRef",M(),c(),J1().memoizedState},useState:function(){h="useState",M(),c();var $=x.H;x.H=b4;try{return u7(O4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",M(),c()},useDeferredValue:function($,Q){return h="useDeferredValue",M(),c(),yB($,Q)},useTransition:function(){return h="useTransition",M(),c(),mB()},useSyncExternalStore:function($,Q,G){return h="useSyncExternalStore",M(),c(),YG($,Q,G)},useId:function(){return h="useId",M(),c(),J1().memoizedState},useFormState:function($){return h="useFormState",M(),c(),UG($)},useActionState:function($){return h="useActionState",M(),c(),UG($)},useOptimistic:function($,Q){return h="useOptimistic",M(),c(),EB($,Q)},useMemoCache:function($){return M(),h6($)},useHostTransitionStatus:u6,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",M(),c(),BG($)}},Rq={readContext:function($){return W(),V1($)},use:function($){return M(),D8($)},useCallback:function($,Q){return h="useCallback",M(),c(),MG($,Q)},useContext:function($){return h="useContext",M(),c(),V1($)},useEffect:function($,Q){h="useEffect",M(),c(),D5(2048,P5,$,Q)},useImperativeHandle:function($,Q,G){return h="useImperativeHandle",M(),c(),HG($,Q,G)},useInsertionEffect:function($,Q){return h="useInsertionEffect",M(),c(),D5(4,C5,$,Q)},useLayoutEffect:function($,Q){return h="useLayoutEffect",M(),c(),D5(4,G4,$,Q)},useMemo:function($,Q){h="useMemo",M(),c();var G=x.H;x.H=b4;try{return WG($,Q)}finally{x.H=G}},useReducer:function($,Q,G){h="useReducer",M(),c();var X=x.H;x.H=b4;try{return PQ($,Q,G)}finally{x.H=X}},useRef:function(){return h="useRef",M(),c(),J1().memoizedState},useState:function(){h="useState",M(),c();var $=x.H;x.H=b4;try{return PQ(O4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",M(),c()},useDeferredValue:function($,Q){return h="useDeferredValue",M(),c(),fB($,Q)},useTransition:function(){return h="useTransition",M(),c(),dB()},useSyncExternalStore:function($,Q,G){return h="useSyncExternalStore",M(),c(),YG($,Q,G)},useId:function(){return h="useId",M(),c(),J1().memoizedState},useFormState:function($){return h="useFormState",M(),c(),NG($)},useActionState:function($){return h="useActionState",M(),c(),NG($)},useOptimistic:function($,Q){return h="useOptimistic",M(),c(),jB($,Q)},useMemoCache:function($){return M(),h6($)},useHostTransitionStatus:u6,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",M(),c(),BG($)}};var vF={},kF=new Set,bF=new Set,yF=new Set,fF=new Set,gF=new Set,hF=new Set,xF=new Set,uF=new Set,mF=new Set,dF=new Set;Object.freeze(vF);var NU={enqueueSetState:function($,Q,G){$=$._reactInternals;var X=a5($),N=E8(X);N.payload=Q,G!==void 0&&G!==null&&(W3(G),N.callback=G),Q=I8($,N,X),Q!==null&&(n4(X,"this.setState()",$),I1(Q,$,X),VQ(Q,$,X))},enqueueReplaceState:function($,Q,G){$=$._reactInternals;var X=a5($),N=E8(X);N.tag=PF,N.payload=Q,G!==void 0&&G!==null&&(W3(G),N.callback=G),Q=I8($,N,X),Q!==null&&(n4(X,"this.replaceState()",$),I1(Q,$,X),VQ(Q,$,X))},enqueueForceUpdate:function($,Q){$=$._reactInternals;var G=a5($),X=E8(G);X.tag=EF,Q!==void 0&&Q!==null&&(W3(Q),X.callback=Q),Q=I8($,X,G),Q!==null&&(n4(G,"this.forceUpdate()",$),I1(Q,$,G),VQ(Q,$,G))}},P9=null,KU=null,BU=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),x1=!1,pF={},cF={},lF={},rF={},E9=!1,sF={},wq={},HU={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},nF=!1,oF=null;oF=new Set;var i$=!1,u1=!1,MU=!1,iF=typeof WeakSet==="function"?WeakSet:Set,a1=null,I9=null,j9=null,m1=null,v5=!1,y4=null,l1=!1,VZ=8192,TP={getCacheForType:function($){var Q=V1(f1),G=Q.data.get($);return G===void 0&&(G=$(),Q.data.set($,G)),G},cacheSignal:function(){return V1(f1).controller.signal},getOwner:function(){return $4}};if(typeof Symbol==="function"&&Symbol.for){var LZ=Symbol.for;LZ("selector.component"),LZ("selector.has_pseudo_class"),LZ("selector.role"),LZ("selector.test_id"),LZ("selector.text")}var RP=[],wP=typeof WeakMap==="function"?WeakMap:Map,t1=0,r1=2,q4=4,a$=0,_Z=1,Z7=2,zq=3,n8=4,Vq=6,aF=5,n0=t1,N1=null,S0=null,A0=0,k5=0,Lq=1,J7=2,CZ=3,tF=4,WU=5,PZ=6,_q=7,FU=8,G7=9,G1=k5,X4=null,o8=!1,O9=!1,TU=!1,w$=0,P1=a$,i8=0,a8=0,RU=0,b5=0,q7=0,EZ=null,E5=null,Cq=!1,Pq=0,eF=0,$T=300,Eq=1/0,QT=500,IZ=null,S1=null,t8=null,Iq=0,wU=1,zU=2,ZT=3,e8=0,JT=1,GT=2,qT=3,XT=4,jq=5,d1=0,$6=null,D9=null,f4=0,VU=0,LU=-0,_U=null,YT=null,UT=null,g4=Iq,NT=null,zP=50,jZ=0,CU=null,PU=!1,Oq=!1,VP=50,X7=0,OZ=null,A9=!1,Dq=null,KT=!1,BT=new Set,LP={},Aq=null,S9=null,EU=!1,IU=!1,Sq=!1,jU=!1,Q6=0,OU={};(function(){for(var $=0;$<xY.length;$++){var Q=xY[$],G=Q.toLowerCase();Q=Q[0].toUpperCase()+Q.slice(1),j4(G,"on"+Q)}j4(mW,"onAnimationEnd"),j4(dW,"onAnimationIteration"),j4(pW,"onAnimationStart"),j4("dblclick","onDoubleClick"),j4("focusin","onFocus"),j4("focusout","onBlur"),j4(aC,"onTransitionRun"),j4(tC,"onTransitionStart"),j4(eC,"onTransitionCancel"),j4(cW,"onTransitionEnd")})(),c5("onMouseEnter",["mouseout","mouseover"]),c5("onMouseLeave",["mouseout","mouseover"]),c5("onPointerEnter",["pointerout","pointerover"]),c5("onPointerLeave",["pointerout","pointerover"]),B5("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),B5("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),B5("onBeforeInput",["compositionend","keypress","textInput","paste"]),B5("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),B5("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),B5("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var DZ="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),DU=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(DZ)),vq="_reactListening"+Math.random().toString(36).slice(2),HT=!1,MT=!1,kq=!1,WT=!1,bq=!1,yq=!1,FT=!1,fq={},_P=/\r\n?/g,CP=/\u0000|\uFFFD/g,Y7="http://www.w3.org/1999/xlink",AU="http://www.w3.org/XML/1998/namespace",PP="javascript:throw new Error('React form unexpectedly submitted.')",EP="suppressHydrationWarning",U7="&",gq="/&",AZ="$",SZ="/$",Z6="$?",N7="$~",v9="$!",IP="html",jP="body",OP="head",SU="F!",TT="F",RT="loading",DP="style",t$=0,k9=1,hq=2,vU=null,kU=null,wT={dialog:!0,webview:!0},bU=null,vZ=void 0,zT=typeof setTimeout==="function"?setTimeout:void 0,AP=typeof clearTimeout==="function"?clearTimeout:void 0,K7=-1,VT=typeof Promise==="function"?Promise:void 0,SP=typeof queueMicrotask==="function"?queueMicrotask:typeof VT<"u"?function($){return VT.resolve(null).then($).catch(F_)}:zT,yU=null,B7=0,kZ=1,LT=2,_T=3,L4=4,_4=new Map,CT=new Set,e$=$1.d;$1.d={f:function(){var $=e$.f(),Q=r7();return $||Q},r:function($){var Q=P0($);Q!==null&&Q.tag===5&&Q.type==="form"?uB(Q):e$.r($)},D:function($){e$.D($),kM("dns-prefetch",$,null)},C:function($,Q){e$.C($,Q),kM("preconnect",$,Q)},L:function($,Q,G){e$.L($,Q,G);var X=b9;if(X&&$&&Q){var N='link[rel="preload"][as="'+N4(Q)+'"]';Q==="image"?G&&G.imageSrcSet?(N+='[imagesrcset="'+N4(G.imageSrcSet)+'"]',typeof G.imageSizes==="string"&&(N+='[imagesizes="'+N4(G.imageSizes)+'"]')):N+='[href="'+N4($)+'"]':N+='[href="'+N4($)+'"]';var B=N;switch(Q){case"style":B=o7($);break;case"script":B=i7($)}_4.has(B)||($=b0({rel:"preload",href:Q==="image"&&G&&G.imageSrcSet?void 0:$,as:Q},G),_4.set(B,$),X.querySelector(N)!==null||Q==="style"&&X.querySelector(xQ(B))||Q==="script"&&X.querySelector(uQ(B))||(Q=X.createElement("link"),J5(Q,"link",$),F0(Q),X.head.appendChild(Q)))}},m:function($,Q){e$.m($,Q);var G=b9;if(G&&$){var X=Q&&typeof Q.as==="string"?Q.as:"script",N='link[rel="modulepreload"][as="'+N4(X)+'"][href="'+N4($)+'"]',B=N;switch(X){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":B=i7($)}if(!_4.has(B)&&($=b0({rel:"modulepreload",href:$},Q),_4.set(B,$),G.querySelector(N)===null)){switch(X){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(G.querySelector(uQ(B)))return}X=G.createElement("link"),J5(X,"link",$),F0(X),G.head.appendChild(X)}}},X:function($,Q){e$.X($,Q);var G=b9;if(G&&$){var X=o0(G).hoistableScripts,N=i7($),B=X.get(N);B||(B=G.querySelector(uQ(N)),B||($=b0({src:$,async:!0},Q),(Q=_4.get(N))&&GY($,Q),B=G.createElement("script"),F0(B),J5(B,"link",$),G.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},X.set(N,B))}},S:function($,Q,G){e$.S($,Q,G);var X=b9;if(X&&$){var N=o0(X).hoistableStyles,B=o7($);Q=Q||"default";var F=N.get(B);if(!F){var T={loading:B7,preload:null};if(F=X.querySelector(xQ(B)))T.loading=kZ|L4;else{$=b0({rel:"stylesheet",href:$,"data-precedence":Q},G),(G=_4.get(B))&&JY($,G);var V=F=X.createElement("link");F0(V),J5(V,"link",$),V._p=new Promise(function(_,k){V.onload=_,V.onerror=k}),V.addEventListener("load",function(){T.loading|=kZ}),V.addEventListener("error",function(){T.loading|=LT}),T.loading|=L4,kG(F,Q,X)}F={type:"stylesheet",instance:F,count:1,state:T},N.set(B,F)}}},M:function($,Q){e$.M($,Q);var G=b9;if(G&&$){var X=o0(G).hoistableScripts,N=i7($),B=X.get(N);B||(B=G.querySelector(uQ(N)),B||($=b0({src:$,async:!0,type:"module"},Q),(Q=_4.get(N))&&GY($,Q),B=G.createElement("script"),F0(B),J5(B,"link",$),G.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},X.set(N,B))}}};var b9=typeof document>"u"?null:document,xq=null,vP=60000,kP=800,bP=500,fU=0,gU=null,uq=null,H7=o_,bZ={$$typeof:U$,Provider:null,Consumer:null,_currentValue:H7,_currentValue2:H7,_threadCount:0},PT="%c%s%c",ET="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",IT="",mq=" ",yP=Function.prototype.bind,jT=!1,OT=null,DT=null,AT=null,ST=null,vT=null,kT=null,bT=null,yT=null,fT=null,gT=null;OT=function($,Q,G,X){Q=Z($,Q),Q!==null&&(G=J(Q.memoizedState,G,0,X),Q.memoizedState=G,Q.baseState=G,$.memoizedProps=b0({},$.memoizedProps),G=H5($,2),G!==null&&I1(G,$,2))},DT=function($,Q,G){Q=Z($,Q),Q!==null&&(G=U(Q.memoizedState,G,0),Q.memoizedState=G,Q.baseState=G,$.memoizedProps=b0({},$.memoizedProps),G=H5($,2),G!==null&&I1(G,$,2))},AT=function($,Q,G,X){Q=Z($,Q),Q!==null&&(G=q(Q.memoizedState,G,X),Q.memoizedState=G,Q.baseState=G,$.memoizedProps=b0({},$.memoizedProps),G=H5($,2),G!==null&&I1(G,$,2))},ST=function($,Q,G){$.pendingProps=J($.memoizedProps,Q,0,G),$.alternate&&($.alternate.pendingProps=$.pendingProps),Q=H5($,2),Q!==null&&I1(Q,$,2)},vT=function($,Q){$.pendingProps=U($.memoizedProps,Q,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),Q=H5($,2),Q!==null&&I1(Q,$,2)},kT=function($,Q,G){$.pendingProps=q($.memoizedProps,Q,G),$.alternate&&($.alternate.pendingProps=$.pendingProps),Q=H5($,2),Q!==null&&I1(Q,$,2)},bT=function($){var Q=H5($,2);Q!==null&&I1(Q,$,2)},yT=function($){var Q=v7(),G=H5($,Q);G!==null&&I1(G,$,Q)},fT=function($){H=$},gT=function($){K=$};var dq=!0,pq=null,hU=!1,J6=null,G6=null,q6=null,yZ=new Map,fZ=new Map,X6=[],fP="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),cq=null;if(hG.prototype.render=KY.prototype.render=function($){var Q=this._internalRoot;if(Q===null)throw Error("Cannot update an unmounted root.");var G=arguments;typeof G[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):E(G[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof G[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),G=$;var X=Q.current,N=a5(X);qY(X,N,G,Q,null,null)},hG.prototype.unmount=KY.prototype.unmount=function(){var $=arguments;if(typeof $[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),$=this._internalRoot,$!==null){this._internalRoot=null;var Q=$.containerInfo;(n0&(r1|q4))!==t1&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),qY($.current,2,null,$,null,null),r7(),Q[f8]=null}},hG.prototype.unstable_scheduleHydration=function($){if($){var Q=y();$={blockedOn:null,target:$,priority:Q};for(var G=0;G<X6.length&&Q!==0&&Q<X6[G].priority;G++);X6.splice(G,0,$),G===0&&sM($)}},function(){var $=y9.version;if($!=="19.2.5")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
224
224
|
- react: `+($+`
|
|
225
225
|
- react-dom: 19.2.5
|
|
226
|
-
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills")
|
|
227
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}
|
|
226
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),$1.findDOMNode=function($){var Q=$._reactInternals;if(Q===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=l(Q),$=$!==null?J0($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.5"};return $.overrideHookState=OT,$.overrideHookStateDeletePath=DT,$.overrideHookStateRenamePath=AT,$.overrideProps=ST,$.overridePropsDeletePath=vT,$.overridePropsRenamePath=kT,$.scheduleUpdate=bT,$.scheduleRetry=yT,$.setErrorHandler=fT,$.setSuspenseHandler=gT,$.scheduleRefresh=I,$.scheduleRoot=P,$.setRefreshHandler=A,$.getCurrentFiber=m_,S7($)}()&&M$&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var hT=window.location.protocol;/^(https?|file):$/.test(hT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(hT==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}oP.createRoot=function($,Q){if(!E($))throw Error("Target container is not a DOM element.");aM($);var G=!1,X="",N=nB,B=oB,F=iB;return Q!==null&&Q!==void 0&&(Q.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof Q==="object"&&Q!==null&&Q.$$typeof===Y$&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
228
228
|
|
|
229
229
|
let root = createRoot(domContainer);
|
|
230
|
-
root.render(<App />);`),
|
|
230
|
+
root.render(<App />);`),Q.unstable_strictMode===!0&&(G=!0),Q.identifierPrefix!==void 0&&(X=Q.identifierPrefix),Q.onUncaughtError!==void 0&&(N=Q.onUncaughtError),Q.onCaughtError!==void 0&&(B=Q.onCaughtError),Q.onRecoverableError!==void 0&&(F=Q.onRecoverableError)),Q=uM($,1,!1,null,null,G,X,null,N,B,F,iM),$[f8]=Q.current,l3($),new KY(Q)},oP.hydrateRoot=function($,Q,G){if(!E($))throw Error("Target container is not a DOM element.");aM($),Q===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var X=!1,N="",B=nB,F=oB,T=iB,V=null;return G!==null&&G!==void 0&&(G.unstable_strictMode===!0&&(X=!0),G.identifierPrefix!==void 0&&(N=G.identifierPrefix),G.onUncaughtError!==void 0&&(B=G.onUncaughtError),G.onCaughtError!==void 0&&(F=G.onCaughtError),G.onRecoverableError!==void 0&&(T=G.onRecoverableError),G.formState!==void 0&&(V=G.formState)),Q=uM($,1,!0,Q,G!=null?G:null,X,N,V,B,F,T,iM),Q.context=mM(null),G=Q.current,X=a5(G),X=O6(X),N=E8(X),N.callback=null,I8(G,N,X),n4(X,"hydrateRoot()",null),G=X,Q.current.lanes=G,w8(Q,G),q$(Q),$[f8]=Q.current,l3($),new hG(Q)},oP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var rT=Y6((Nv,lT)=>{var iP=R0(cT());lT.exports=iP});var Fz=Y6((wD)=>{var L7=R0(e1());(function(){function Z(S){if(S==null)return null;if(typeof S==="function")return S.$$typeof===d?null:S.displayName||S.name||null;if(typeof S==="string")return S;switch(S){case A:return"Fragment";case g:return"Profiler";case E:return"StrictMode";case l:return"Suspense";case J0:return"SuspenseList";case U0:return"Activity"}if(typeof S==="object")switch(typeof S.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),S.$$typeof){case I:return"Portal";case o:return S.displayName||"Context";case m:return(S._context.displayName||"Context")+".Consumer";case i:var n=S.render;return S=S.displayName,S||(S=n.displayName||n.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case p:return n=S.displayName||null,n!==null?n:Z(S.type)||"Memo";case a:n=S._payload,S=S._init;try{return Z(S(n))}catch(H0){}}return null}function J(S){return""+S}function q(S){try{J(S);var n=!1}catch(v0){n=!0}if(n){n=console;var H0=n.error,M0=typeof Symbol==="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return H0.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",M0),J(S)}}function Y(S){if(S===A)return"<>";if(typeof S==="object"&&S!==null&&S.$$typeof===a)return"<...>";try{var n=Z(S);return n?"<"+n+">":"<...>"}catch(H0){return"<...>"}}function U(){var S=K0.A;return S===null?null:S.getOwner()}function K(){return Error("react-stack-top-frame")}function H(S){if(B0.call(S,"key")){var n=Object.getOwnPropertyDescriptor(S,"key").get;if(n&&n.isReactWarning)return!1}return S.key!==void 0}function M(S,n){function H0(){r||(r=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}H0.isReactWarning=!0,Object.defineProperty(S,"key",{get:H0,configurable:!0})}function W(){var S=Z(this.type);return t[S]||(t[S]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),S=this.props.ref,S!==void 0?S:null}function R(S,n,H0,M0,v0,y1){var C0=H0.ref;return S={$$typeof:P,type:S,key:n,props:H0,_owner:M0},(C0!==void 0?C0:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:W}):Object.defineProperty(S,"ref",{enumerable:!1,value:null}),S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(S,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(S,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:v0}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:y1}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function w(S,n,H0,M0,v0,y1){var C0=n.children;if(C0!==void 0)if(M0)if(z0(C0)){for(M0=0;M0<C0.length;M0++)z(C0[M0]);Object.freeze&&Object.freeze(C0)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else z(C0);if(B0.call(n,"key")){C0=Z(S);var _1=Object.keys(n).filter(function(I4){return I4!=="key"});M0=0<_1.length?"{key: someKey, "+_1.join(": ..., ")+": ...}":"{key: someKey}",d0[C0+M0]||(_1=0<_1.length?"{"+_1.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
231
231
|
let props = %s;
|
|
232
232
|
<%s {...props} />
|
|
233
233
|
React keys must be passed directly to JSX without using spread:
|
|
234
234
|
let props = %s;
|
|
235
|
-
<%s key={someKey} {...props} />`,
|
|
235
|
+
<%s key={someKey} {...props} />`,M0,C0,_1,C0),d0[C0+M0]=!0)}if(C0=null,H0!==void 0&&(q(H0),C0=""+H0),H(n)&&(q(n.key),C0=""+n.key),"key"in n){H0={};for(var K5 in n)K5!=="key"&&(H0[K5]=n[K5])}else H0=n;return C0&&M(H0,typeof S==="function"?S.displayName||S.name||"Unknown":S),R(S,C0,H0,U(),v0,y1)}function z(S){L(S)?S._store&&(S._store.validated=1):typeof S==="object"&&S!==null&&S.$$typeof===a&&(S._payload.status==="fulfilled"?L(S._payload.value)&&S._payload.value._store&&(S._payload.value._store.validated=1):S._store&&(S._store.validated=1))}function L(S){return typeof S==="object"&&S!==null&&S.$$typeof===P}var P=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),o=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),J0=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),a=Symbol.for("react.lazy"),U0=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),K0=L7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B0=Object.prototype.hasOwnProperty,z0=Array.isArray,F1=console.createTask?console.createTask:function(){return null};L7={react_stack_bottom_frame:function(S){return S()}};var r,t={},q0=L7.react_stack_bottom_frame.bind(L7,K)(),u0=F1(Y(K)),d0={};wD.Fragment=A,wD.jsx=function(S,n,H0){var M0=1e4>K0.recentlyCreatedOwnerStacks++;return w(S,n,H0,!1,M0?Error("react-stack-top-frame"):q0,M0?F1(Y(S)):u0)},wD.jsxs=function(S,n,H0){var M0=1e4>K0.recentlyCreatedOwnerStacks++;return w(S,n,H0,!0,M0?Error("react-stack-top-frame"):q0,M0?F1(Y(S)):u0)}})()});var Z1=Y6((NA)=>{var P7=R0(e1());(function(){function Z(S){if(S==null)return null;if(typeof S==="function")return S.$$typeof===d?null:S.displayName||S.name||null;if(typeof S==="string")return S;switch(S){case A:return"Fragment";case g:return"Profiler";case E:return"StrictMode";case l:return"Suspense";case J0:return"SuspenseList";case U0:return"Activity"}if(typeof S==="object")switch(typeof S.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),S.$$typeof){case I:return"Portal";case o:return S.displayName||"Context";case m:return(S._context.displayName||"Context")+".Consumer";case i:var n=S.render;return S=S.displayName,S||(S=n.displayName||n.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case p:return n=S.displayName||null,n!==null?n:Z(S.type)||"Memo";case a:n=S._payload,S=S._init;try{return Z(S(n))}catch(H0){}}return null}function J(S){return""+S}function q(S){try{J(S);var n=!1}catch(v0){n=!0}if(n){n=console;var H0=n.error,M0=typeof Symbol==="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return H0.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",M0),J(S)}}function Y(S){if(S===A)return"<>";if(typeof S==="object"&&S!==null&&S.$$typeof===a)return"<...>";try{var n=Z(S);return n?"<"+n+">":"<...>"}catch(H0){return"<...>"}}function U(){var S=K0.A;return S===null?null:S.getOwner()}function K(){return Error("react-stack-top-frame")}function H(S){if(B0.call(S,"key")){var n=Object.getOwnPropertyDescriptor(S,"key").get;if(n&&n.isReactWarning)return!1}return S.key!==void 0}function M(S,n){function H0(){r||(r=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}H0.isReactWarning=!0,Object.defineProperty(S,"key",{get:H0,configurable:!0})}function W(){var S=Z(this.type);return t[S]||(t[S]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),S=this.props.ref,S!==void 0?S:null}function R(S,n,H0,M0,v0,y1){var C0=H0.ref;return S={$$typeof:P,type:S,key:n,props:H0,_owner:M0},(C0!==void 0?C0:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:W}):Object.defineProperty(S,"ref",{enumerable:!1,value:null}),S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(S,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(S,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:v0}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:y1}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function w(S,n,H0,M0,v0,y1){var C0=n.children;if(C0!==void 0)if(M0)if(z0(C0)){for(M0=0;M0<C0.length;M0++)z(C0[M0]);Object.freeze&&Object.freeze(C0)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else z(C0);if(B0.call(n,"key")){C0=Z(S);var _1=Object.keys(n).filter(function(I4){return I4!=="key"});M0=0<_1.length?"{key: someKey, "+_1.join(": ..., ")+": ...}":"{key: someKey}",d0[C0+M0]||(_1=0<_1.length?"{"+_1.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
236
236
|
let props = %s;
|
|
237
237
|
<%s {...props} />
|
|
238
238
|
React keys must be passed directly to JSX without using spread:
|
|
239
239
|
let props = %s;
|
|
240
|
-
<%s key={someKey} {...props} />`,
|
|
241
|
-
* @kurkle/color v0.
|
|
240
|
+
<%s key={someKey} {...props} />`,M0,C0,_1,C0),d0[C0+M0]=!0)}if(C0=null,H0!==void 0&&(q(H0),C0=""+H0),H(n)&&(q(n.key),C0=""+n.key),"key"in n){H0={};for(var K5 in n)K5!=="key"&&(H0[K5]=n[K5])}else H0=n;return C0&&M(H0,typeof S==="function"?S.displayName||S.name||"Unknown":S),R(S,C0,H0,U(),v0,y1)}function z(S){L(S)?S._store&&(S._store.validated=1):typeof S==="object"&&S!==null&&S.$$typeof===a&&(S._payload.status==="fulfilled"?L(S._payload.value)&&S._payload.value._store&&(S._payload.value._store.validated=1):S._store&&(S._store.validated=1))}function L(S){return typeof S==="object"&&S!==null&&S.$$typeof===P}var P=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),o=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),J0=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),a=Symbol.for("react.lazy"),U0=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),K0=P7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B0=Object.prototype.hasOwnProperty,z0=Array.isArray,F1=console.createTask?console.createTask:function(){return null};P7={react_stack_bottom_frame:function(S){return S()}};var r,t={},q0=P7.react_stack_bottom_frame.bind(P7,K)(),u0=F1(Y(K)),d0={};NA.Fragment=A,NA.jsxDEV=function(S,n,H0,M0){var v0=1e4>K0.recentlyCreatedOwnerStacks++;return w(S,n,H0,M0,v0?Error("react-stack-top-frame"):q0,v0?F1(Y(S)):u0)}})()});var ZL=R0(rT(),1);var N5=R0(e1(),1);async function sT(Z="24h"){let J=await fetch(`/api/stats/overview?range=${encodeURIComponent(Z)}`);if(!J.ok)throw Error("Failed to fetch overview stats");return J.json()}async function nT(Z="24h"){let J=await fetch(`/api/stats/model-dashboard?range=${encodeURIComponent(Z)}`);if(!J.ok)throw Error("Failed to fetch model stats");return J.json()}async function oT(Z="24h"){let J=await fetch(`/api/stats/costs?range=${encodeURIComponent(Z)}`);if(!J.ok)throw Error("Failed to fetch cost stats");return J.json()}async function iT(Z=50){let J=await fetch(`/api/stats/recent?limit=${Z}`);if(!J.ok)throw Error("Failed to fetch recent requests");return J.json()}async function aT(Z=50){let J=await fetch(`/api/stats/errors?limit=${Z}`);if(!J.ok)throw Error("Failed to fetch recent errors");return J.json()}async function tT(Z){let J=await fetch(`/api/request/${Z}`);if(!J.ok)throw Error("Failed to fetch request details");return J.json()}async function eT(){let Z=await fetch("/api/sync",{method:"POST"});if(!Z.ok)throw Error("Failed to sync");return Z.json()}async function $R(Z="24h"){let J=await fetch(`/api/stats/behavior?range=${encodeURIComponent(Z)}`);if(!J.ok)throw Error("Failed to fetch behavior stats");return J.json()}/*!
|
|
241
|
+
* @kurkle/color v0.6.6
|
|
242
242
|
* https://github.com/kurkle/color#readme
|
|
243
|
-
* (c)
|
|
243
|
+
* (c) 2026 Jukka Kurkela
|
|
244
244
|
* Released under the MIT License
|
|
245
|
-
*/function
|
|
246
|
-
* Chart.js v4.6.
|
|
245
|
+
*/function U6(Z){return Z+0.5|0}var Z8=(Z,J,q)=>Math.max(Math.min(Z,q),J);function gZ(Z){return Z8(U6(Z*255/100),0,255)}function $5(Z){return Z8(U6(Z*255),0,255)}function C4(Z){return Z8(U6(Z/2.55)/100,0,1)}function QR(Z){return Z8(U6(Z*100),0,100)}function JR(Z,J){if(Z===void 0)return 255;let q=Z==="none"?0:+Z;return J?gZ(q):$5(q)}var F5={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,a:10,B:11,b:11,C:12,c:12,D:13,d:13,E:14,e:14,F:15,f:15},dU=[..."0123456789ABCDEF"],aP=(Z)=>dU[Z&15],tP=(Z)=>dU[(Z&240)>>4]+dU[Z&15],rq=(Z)=>(Z&240)>>4===(Z&15),eP=(Z)=>rq(Z.r)&&rq(Z.g)&&rq(Z.b)&&rq(Z.a);function $E(Z){if(Z[0]!=="#")return;let J=Z.length;if(J===4||J===5)return{a:J===5?F5[Z[4]]<<4|F5[Z[4]]:255,b:F5[Z[3]]<<4|F5[Z[3]],g:F5[Z[2]]<<4|F5[Z[2]],r:F5[Z[1]]<<4|F5[Z[1]]};if(J===7||J===9)return{a:J===9?F5[Z[7]]<<4|F5[Z[8]]:255,b:F5[Z[5]]<<4|F5[Z[6]],g:F5[Z[3]]<<4|F5[Z[4]],r:F5[Z[1]]<<4|F5[Z[2]]}}var QE=(Z,J)=>Z<255?J(Z):"";function ZE(Z){let J=Z&&eP(Z)?aP:tP;return Z?`#${J(Z.r)}${J(Z.g)}${J(Z.b)}${QE(Z.a,J)}`:void 0}var JE=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function iq(Z,J,q){let Y=J*Math.min(q,1-q),U=(K,H=(K+Z/30)%12)=>q-Y*Math.max(Math.min(H-3,9-H,1),-1);return[U(0),U(8),U(4)]}function GE(Z,J,q){let Y=(U,K=(U+Z/60)%6)=>q-q*J*Math.max(Math.min(K,4-K,1),0);return[Y(5),Y(3),Y(1)]}function qE(Z,J,q){let Y=iq(Z,1,0.5),U;if(J+q>1)U=1/(J+q),J*=U,q*=U;for(U=0;U<3;U++)Y[U]*=1-J-q,Y[U]+=J;return Y}function XE(Z,J,q,Y,U){if(Z===U)return(J-q)/Y+(J<q?6:0);if(J===U)return(q-Z)/Y+2;return(Z-J)/Y+4}function pU(Z){let q=Z.r/255,Y=Z.g/255,U=Z.b/255,K=Math.max(q,Y,U),H=Math.min(q,Y,U),M=(K+H)/2,W=0,R=0,w;if(K!==H)w=K-H,R=M>0.5?w/(2-K-H):w/(K+H),W=XE(q,Y,U,w,K),W=W*60+0.5;return[W|0,R||0,M]}function cU(Z,J,q,Y){return(Array.isArray(J)?Z(J[0],J[1],J[2]):Z(J,q,Y)).map($5)}function YE(Z,J,q){return cU(iq,Z,J,q)}function UE(Z,J,q){return cU(qE,Z,J,q)}function NE(Z,J,q){return cU(GE,Z,J,q)}function GR(Z){return(Z%360+360)%360}function KE(Z){let J=JE.exec(Z),q;if(!J)return;let Y=JR(J[5],J[6]),U=GR(+J[2]),K=+J[3]/100,H=+J[4]/100;if(J[1]==="hwb")q=UE(U,K,H);else if(J[1]==="hsv")q=NE(U,K,H);else q=YE(U,K,H);return{a:Y,b:q[2],g:q[1],r:q[0]}}function BE(Z,J){let q=pU(Z),Y=iq(GR(q[0]+J),q[1],q[2]);Z.r=$5(Y[0]),Z.g=$5(Y[1]),Z.b=$5(Y[2])}function HE(Z){if(!Z)return;let J=pU(Z),q=J[0],Y=QR(J[1]),U=QR(J[2]);return Z.a<255?`hsla(${q}, ${Y}%, ${U}%, ${C4(Z.a)})`:`hsl(${q}, ${Y}%, ${U}%)`}var ME="alicebluef0f8ff antiquewhitefaebd7 aqua00ffff aquamarine7fffd4 azuref0ffff beigef5f5dc bisqueffe4c4 black000000 blanchedalmondffebcd blue0000ff blueviolet8a2be2 browna52a2a burlywooddeb887 cadetblue5f9ea0 chartreuse7fff00 chocolated2691e coralff7f50 cornflowerblue6495ed cornsilkfff8dc crimsondc143c cyan00ffff darkblue00008b darkcyan008b8b darkgoldenrodb8860b darkgraya9a9a9 darkgreen006400 darkgreya9a9a9 darkkhakibdb76b darkmagenta8b008b darkolivegreen556b2f darkorangeff8c00 darkorchid9932cc darkred8b0000 darksalmone9967a darkseagreen8fbc8f darkslateblue483d8b darkslategray2f4f4f darkslategrey2f4f4f darkturquoise00ced1 darkviolet9400d3 deeppinkff1493 deepskyblue00bfff dimgray696969 dimgrey696969 dodgerblue1e90ff firebrickb22222 floralwhitefffaf0 forestgreen228b22 fuchsiaff00ff gainsborodcdcdc ghostwhitef8f8ff goldffd700 goldenroddaa520 gray808080 green008000 greenyellowadff2f grey808080 honeydewf0fff0 hotpinkff69b4 indianredcd5c5c indigo4b0082 ivoryfffff0 khakif0e68c lavendere6e6fa lavenderblushfff0f5 lawngreen7cfc00 lemonchiffonfffacd lightblueadd8e6 lightcoralf08080 lightcyane0ffff lightgoldenrodyellowfafad2 lightgrayd3d3d3 lightgreen90ee90 lightgreyd3d3d3 lightpinkffb6c1 lightsalmonffa07a lightseagreen20b2aa lightskyblue87cefa lightslategray778899 lightslategrey778899 lightsteelblueb0c4de lightyellowffffe0 lime00ff00 limegreen32cd32 linenfaf0e6 magentaff00ff maroon800000 mediumaquamarine66cdaa mediumblue0000cd mediumorchidba55d3 mediumpurple9370db mediumseagreen3cb371 mediumslateblue7b68ee mediumspringgreen00fa9a mediumturquoise48d1cc mediumvioletredc71585 midnightblue191970 mintcreamf5fffa mistyroseffe4e1 moccasinffe4b5 navajowhiteffdead navy000080 oldlacefdf5e6 olive808000 olivedrab6b8e23 orangeffa500 orangeredff4500 orchidda70d6 palegoldenrodeee8aa palegreen98fb98 paleturquoiseafeeee palevioletreddb7093 papayawhipffefd5 peachpuffffdab9 perucd853f pinkffc0cb plumdda0dd powderblueb0e0e6 purple800080 rebeccapurple663399 redff0000 rosybrownbc8f8f royalblue4169e1 saddlebrown8b4513 salmonfa8072 sandybrownf4a460 seagreen2e8b57 seashellfff5ee siennaa0522d silverc0c0c0 skyblue87ceeb slateblue6a5acd slategray708090 slategrey708090 snowfffafa springgreen00ff7f steelblue4682b4 tand2b48c teal008080 thistled8bfd8 tomatoff6347 turquoise40e0d0 violetee82ee wheatf5deb3 whiteffffff whitesmokef5f5f5 yellowffff00 yellowgreen9acd32";function WE(){let Z={};for(let J of ME.split(" ")){let q=parseInt(J.slice(-6),16);Z[J.slice(0,-6)]=[q>>16&255,q>>8&255,q&255]}return Z}var sq;function FE(Z){if(!sq)sq=WE(),sq.transparent=[0,0,0,0];let J=sq[Z.toLowerCase()];return J&&{a:J.length===4?J[3]:255,b:J[2],g:J[1],r:J[0]}}function f9(Z){return Z<=0.0031308?Z*12.92:Z**0.4166666666666667*1.055-0.055}function Q8(Z){return Z<=0.04045?Z/12.92:((Z+0.055)/1.055)**2.4}function TE(Z,J,q){let Y=Q8(C4(Z.r)),U=Q8(C4(Z.g)),K=Q8(C4(Z.b));return{a:Z.a+q*(J.a-Z.a),b:$5(f9(K+q*(Q8(C4(J.b))-K))),g:$5(f9(U+q*(Q8(C4(J.g))-U))),r:$5(f9(Y+q*(Q8(C4(J.r))-Y)))}}var RE=/^oklch\(\s*([-+.e\d]+|none)(%)?[\s,]+([-+.e\d]+|none)(%)?[\s,]+([-+.e\d]+|none)(deg|rad|grad|turn)?(?:[\s,/]+([-+.e\d]+|none)(%)?)?\s*\)$/,wE={deg:1,grad:0.9,rad:180/Math.PI,turn:360};function zE(Z,J,q){let Y=Q8(Z/255),U=Q8(J/255),K=Q8(q/255),H=Math.cbrt(0.4122214708*Y+0.5363325363*U+0.0514459929*K),M=Math.cbrt(0.2119034982*Y+0.6806995451*U+0.1073969566*K),W=Math.cbrt(0.0883024619*Y+0.2817188376*U+0.6299787005*K);return[0.2104542553*H+0.793617785*M-0.0040720468*W,1.9779984951*H-2.428592205*M+0.4505937099*W,0.0259040371*H+0.7827717662*M-0.808675766*W]}function VE(Z,J,q){let Y=Z+0.3963377774*J+0.2158037573*q,U=Z-0.1055613458*J-0.0638541728*q,K=Z-0.0894841775*J-1.291485548*q,H=Y*Y*Y,M=U*U*U,W=K*K*K;return[f9(4.0767416621*H-3.3077115913*M+0.2309699292*W),f9(-1.2684380046*H+2.6097574011*M-0.3413193965*W),f9(-0.0041960863*H-0.7034186147*M+1.707614701*W)]}function LE(Z){let[J,q,Y]=zE(Z.r,Z.g,Z.b),U=Math.hypot(q,Y),K=0;if(U>=0.0001){if(K=Math.atan2(Y,q)*180/Math.PI,K<0)K+=360}return[J,U,K]}function _E(Z,J,q){let Y,U,K;if(Array.isArray(Z))Y=Z[0],U=Z[1],K=Z[2];else Y=Z,U=J,K=q;let H=K*Math.PI/180,M=VE(Y,U*Math.cos(H),U*Math.sin(H));return M[0]=$5(M[0]),M[1]=$5(M[1]),M[2]=$5(M[2]),M}function mU(Z){return Z==="none"?0:+Z}function CE(Z){let J=RE.exec(Z);if(!J)return;let q=mU(J[1]),Y=Z8(J[2]?q/100:q,0,1),U=mU(J[3]),K=Math.max(J[4]?U/100*0.4:U,0),H=mU(J[5])*(J[6]?wE[J[6]]:1),M=JR(J[7],!!J[8]),W=_E(Y,K,H);return{a:M,b:W[2],g:W[1],r:W[0]}}function PE(Z){if(!Z)return;let[J,q,Y]=LE(Z),U=Math.round(J*1e4)/1e4,K=Math.round(q*1e4)/1e4,H=Math.round(Y*100)/100;return Z.a<255?`oklch(${U} ${K} ${H} / ${C4(Z.a)})`:`oklch(${U} ${K} ${H})`}var nq=String.raw`([-+]?(?:\d*\.\d+|\d+)(?:[eE][-+]?\d+)?)`,EE=new RegExp(String.raw`^rgba?\(\s*${nq}(%)?[\s,]+${nq}(%)?[\s,]+${nq}(%)?(?:[\s,/]+${nq}(%)?)?\s*\)$`);function IE(Z){let J=EE.exec(Z),q=255,Y,U,K;if(!J)return;if(J[7]!==void 0){let H=+J[7];q=J[8]?gZ(H):Z8(H*255,0,255)}return Y=+J[1],U=+J[3],K=+J[5],Y=J[2]?gZ(Y):U6(Z8(Y,0,255)),U=J[4]?gZ(U):U6(Z8(U,0,255)),K=J[6]?gZ(K):U6(Z8(K,0,255)),{a:q,b:K,g:U,r:Y}}function jE(Z){return Z&&(Z.a<255?`rgba(${Z.r}, ${Z.g}, ${Z.b}, ${C4(Z.a)})`:`rgb(${Z.r}, ${Z.g}, ${Z.b})`)}var OE=/\/\*[\s\S]*?\*\//g;function oq(Z,J,q){if(Z){let Y=pU(Z);Y[J]=Math.max(0,Math.min(Y[J]+Y[J]*q,J===0?360:1));let U=iq(Y[0],Y[1],Y[2]);Z.r=$5(U[0]),Z.g=$5(U[1]),Z.b=$5(U[2])}}function qR(Z,J){return Z?Object.assign(J||{},Z):Z}function ZR(Z){let J={a:255,b:0,g:0,r:0};if(Array.isArray(Z)){if(Z.length>=3){if(J={a:255,b:Z[2],g:Z[1],r:Z[0]},Z.length>3)J.a=$5(Z[3])}}else J=qR(Z,{a:1,b:0,g:0,r:0}),J.a=$5(J.a);return J}function DE(Z){let J=(Z.indexOf("/*")===-1?Z:Z.replace(OE,"")).trim(),q=J.charAt(0);if(q==="r")return IE(J);if(q==="o")return CE(J);return KE(J)}var lU=class Z{constructor(J){if(J instanceof Z)return J;let q=typeof J,Y;if(q==="object")Y=ZR(J);else if(q==="string")Y=$E(J)||FE(J)||DE(J);this.h=Y,this.i=!!Y}get valid(){return this.i}get rgb(){let J=qR(this.h);if(J)J.a=C4(J.a);return J}set rgb(J){this.h=ZR(J)}rgbString(){return this.i?jE(this.h):void 0}hexString(){return this.i?ZE(this.h):void 0}hslString(){return this.i?HE(this.h):void 0}oklchString(){return this.i?PE(this.h):void 0}mix(J,q=0.5){if(J){let Y=this.h,U=J.h,K=C4(Y.a),H=C4(U.a),M=2*q-1,W=K-H,R=((M*W===-1?M:(M+W)/(1+M*W))+1)/2,w=1-R;Y.r=255&R*Y.r+w*U.r+0.5,Y.g=255&R*Y.g+w*U.g+0.5,Y.b=255&R*Y.b+w*U.b+0.5,Y.a=$5(q*K+(1-q)*H)}return this}interpolate(J,q){if(J)this.h=TE(this.h,J.h,q);return this}clone(){return new Z(this.rgb)}alpha(J){return this.h.a=$5(J),this}clearer(J){let q=this.h;return q.a*=1-J,this}greyscale(){let J=this.h,q=U6(J.r*0.3+J.g*0.59+J.b*0.11);return J.r=J.g=J.b=q,this}opaquer(J){let q=this.h;return q.a*=1+J,this}negate(){let J=this.h;return J.r=255-J.r,J.g=255-J.g,J.b=255-J.b,this}lighten(J){return oq(this.h,2,J),this}darken(J){return oq(this.h,2,-J),this}saturate(J){return oq(this.h,1,J),this}desaturate(J){return oq(this.h,1,-J),this}rotate(J){return BE(this.h,J),this}};/*!
|
|
246
|
+
* Chart.js v4.6.2
|
|
247
247
|
* https://www.chartjs.org
|
|
248
248
|
* (c) 2026 Chart.js Contributors
|
|
249
249
|
* Released under the MIT License
|
|
250
|
-
*/function R8(){}var WT=(()=>{let Q=0;return()=>Q++})();function t0(Q){return Q===null||Q===void 0}function z1(Q){if(Array.isArray&&Array.isArray(Q))return!0;let J=Object.prototype.toString.call(Q);if(J.slice(0,7)==="[object"&&J.slice(-6)==="Array]")return!0;return!1}function n0(Q){return Q!==null&&Object.prototype.toString.call(Q)==="[object Object]"}function j1(Q){return(typeof Q==="number"||Q instanceof Number)&&isFinite(+Q)}function g5(Q,J){return j1(Q)?Q:J}function h0(Q,J){return typeof Q>"u"?J:Q}var wT=(Q,J)=>typeof Q==="string"&&Q.endsWith("%")?parseFloat(Q)/100*J:+Q;function W1(Q,J,q){if(Q&&typeof Q.call==="function")return Q.apply(q,J)}function X1(Q,J,q,Y){let U,K,H;if(z1(Q))if(K=Q.length,Y)for(U=K-1;U>=0;U--)J.call(q,Q[U],U);else for(U=0;U<K;U++)J.call(q,Q[U],U);else if(n0(Q)){H=Object.keys(Q),K=H.length;for(U=0;U<K;U++)J.call(q,Q[H[U]],H[U])}}function uZ(Q,J){let q,Y,U,K;if(!Q||!J||Q.length!==J.length)return!1;for(q=0,Y=Q.length;q<Y;++q)if(U=Q[q],K=J[q],U.datasetIndex!==K.datasetIndex||U.index!==K.index)return!1;return!0}function nJ(Q){if(z1(Q))return Q.map(nJ);if(n0(Q)){let J=Object.create(null),q=Object.keys(Q),Y=q.length,U=0;for(;U<Y;++U)J[q[U]]=nJ(Q[q[U]]);return J}return Q}function TT(Q){return["__proto__","prototype","constructor"].indexOf(Q)===-1}function RC(Q,J,q,Y){if(!TT(Q))return;let U=J[Q],K=q[Q];if(n0(U)&&n0(K))g9(U,K,Y);else J[Q]=nJ(K)}function g9(Q,J,q){let Y=z1(J)?J:[J],U=Y.length;if(!n0(Q))return Q;q=q||{};let K=q.merger||RC,H;for(let M=0;M<U;++M){if(H=Y[M],!n0(H))continue;let F=Object.keys(H);for(let T=0,R=F.length;T<R;++T)K(F[T],Q,H,q)}return Q}function x9(Q,J){return g9(Q,J,{merger:zC})}function zC(Q,J,q){if(!TT(Q))return;let Y=J[Q],U=q[Q];if(n0(Y)&&n0(U))x9(Y,U);else if(!Object.prototype.hasOwnProperty.call(J,Q))J[Q]=nJ(U)}var qT={"":(Q)=>Q,x:(Q)=>Q.x,y:(Q)=>Q.y};function VC(Q){let J=Q.split("."),q=[],Y="";for(let U of J)if(Y+=U,Y.endsWith("\\"))Y=Y.slice(0,-1)+".";else q.push(Y),Y="";return q}function LC(Q){let J=VC(Q);return(q)=>{for(let Y of J){if(Y==="")break;q=q&&q[Y]}return q}}function W$(Q,J){return(qT[J]||(qT[J]=LC(J)))(Q)}function tJ(Q){return Q.charAt(0).toUpperCase()+Q.slice(1)}var u9=(Q)=>typeof Q<"u",e8=(Q)=>typeof Q==="function",cU=(Q,J)=>{if(Q.size!==J.size)return!1;for(let q of Q)if(!J.has(q))return!1;return!0};function RT(Q){return Q.type==="mouseup"||Q.type==="click"||Q.type==="contextmenu"}var b1=Math.PI,f5=2*b1,_C=f5+b1,oJ=Number.POSITIVE_INFINITY,PC=b1/180,b5=b1/2,H$=b1/4,XT=b1*2/3,$6=Math.log10,y4=Math.sign;function m9(Q,J,q){return Math.abs(Q-J)<q}function lU(Q){let J=Math.round(Q);Q=m9(Q,J,Q/1000)?J:Q;let q=Math.pow(10,Math.floor($6(Q))),Y=Q/q;return(Y<=1?1:Y<=2?2:Y<=5?5:10)*q}function zT(Q){let J=[],q=Math.sqrt(Q),Y;for(Y=1;Y<q;Y++)if(Q%Y===0)J.push(Y),J.push(Q/Y);if(q===(q|0))J.push(q);return J.sort((U,K)=>U-K).pop(),J}function EC(Q){return typeof Q==="symbol"||typeof Q==="object"&&Q!==null&&!((Symbol.toPrimitive in Q)||("toString"in Q)||("valueOf"in Q))}function d9(Q){return!EC(Q)&&!isNaN(parseFloat(Q))&&isFinite(Q)}function VT(Q,J){let q=Math.round(Q);return q-J<=Q&&q+J>=Q}function rU(Q,J,q){let Y,U,K;for(Y=0,U=Q.length;Y<U;Y++)if(K=Q[Y][q],!isNaN(K))J.min=Math.min(J.min,K),J.max=Math.max(J.max,K)}function Z6(Q){return Q*(b1/180)}function eJ(Q){return Q*(180/b1)}function sU(Q){if(!j1(Q))return;let J=1,q=0;while(Math.round(Q*J)/J!==Q)J*=10,q++;return q}function LT(Q,J){let q=J.x-Q.x,Y=J.y-Q.y,U=Math.sqrt(q*q+Y*Y),K=Math.atan2(Y,q);if(K<-0.5*b1)K+=f5;return{angle:K,distance:U}}function iJ(Q,J){return Math.sqrt(Math.pow(J.x-Q.x,2)+Math.pow(J.y-Q.y,2))}function CC(Q,J){return(Q-J+_C)%f5-b1}function k5(Q){return(Q%f5+f5)%f5}function nU(Q,J,q,Y){let U=k5(Q),K=k5(J),H=k5(q),M=k5(K-U),F=k5(H-U),T=k5(U-K),R=k5(U-H);return U===K||U===H||Y&&K===H||M>F&&T<R}function y5(Q,J,q){return Math.max(J,Math.min(q,Q))}function _T(Q){return y5(Q,-32768,32767)}function Q6(Q,J,q,Y=0.000001){return Q>=Math.min(J,q)-Y&&Q<=Math.max(J,q)+Y}function $q(Q,J,q){q=q||((H)=>Q[H]<J);let Y=Q.length-1,U=0,K;while(Y-U>1)if(K=U+Y>>1,q(K))U=K;else Y=K;return{lo:U,hi:Y}}var X2=(Q,J,q,Y)=>$q(Q,q,Y?(U)=>{let K=Q[U][J];return K<q||K===q&&Q[U+1][J]===q}:(U)=>Q[U][J]<q),PT=(Q,J,q)=>$q(Q,q,(Y)=>Q[Y][J]>=q);function ET(Q,J,q){let Y=0,U=Q.length;while(Y<U&&Q[Y]<J)Y++;while(U>Y&&Q[U-1]>q)U--;return Y>0||U<Q.length?Q.slice(Y,U):Q}var CT=["push","pop","shift","splice","unshift"];function IT(Q,J){if(Q._chartjs){Q._chartjs.listeners.push(J);return}Object.defineProperty(Q,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[J]}}),CT.forEach((q)=>{let Y="_onData"+tJ(q),U=Q[q];Object.defineProperty(Q,q,{configurable:!0,enumerable:!1,value(...K){let H=U.apply(this,K);return Q._chartjs.listeners.forEach((M)=>{if(typeof M[Y]==="function")M[Y](...K)}),H}})})}function oU(Q,J){let q=Q._chartjs;if(!q)return;let Y=q.listeners,U=Y.indexOf(J);if(U!==-1)Y.splice(U,1);if(Y.length>0)return;CT.forEach((K)=>{delete Q[K]}),delete Q._chartjs}function iU(Q){let J=new Set(Q);if(J.size===Q.length)return Q;return Array.from(J)}var aU=function(){if(typeof window>"u")return function(Q){return Q()};return window.requestAnimationFrame}();function tU(Q,J){let q=[],Y=!1;return function(...U){if(q=U,!Y)Y=!0,aU.call(window,()=>{Y=!1,Q.apply(J,q)})}}function jT(Q,J){let q;return function(...Y){if(J)clearTimeout(q),q=setTimeout(Q,J,Y);else Q.apply(this,Y);return J}}var Zq=(Q)=>Q==="start"?"left":Q==="end"?"right":"center",q5=(Q,J,q)=>Q==="start"?J:Q==="end"?q:(J+q)/2,OT=(Q,J,q,Y)=>{return Q===(Y?"left":"right")?q:Q==="center"?(J+q)/2:J};function DT(Q,J,q){let Y=J.length,U=0,K=Y;if(Q._sorted){let{iScale:H,vScale:M,_parsed:F}=Q,T=Q.dataset?Q.dataset.options?Q.dataset.options.spanGaps:null:null,R=H.axis,{min:z,max:L,minDefined:E,maxDefined:I}=H.getUserBounds();if(E){if(U=Math.min(X2(F,R,z).lo,q?Y:X2(J,R,H.getPixelForValue(z)).lo),T){let A=F.slice(0,U+1).reverse().findIndex((C)=>!t0(C[M.axis]));U-=Math.max(0,A)}U=y5(U,0,Y-1)}if(I){let A=Math.max(X2(F,H.axis,L,!0).hi+1,q?0:X2(J,R,H.getPixelForValue(L),!0).hi+1);if(T){let C=F.slice(A-1).findIndex((y)=>!t0(y[M.axis]));A+=Math.max(0,C)}K=y5(A,U,Y)-U}else K=Y-U}return{start:U,count:K}}function AT(Q){let{xScale:J,yScale:q,_scaleRanges:Y}=Q,U={xmin:J.min,xmax:J.max,ymin:q.min,ymax:q.max};if(!Y)return Q._scaleRanges=U,!0;let K=Y.xmin!==J.min||Y.xmax!==J.max||Y.ymin!==q.min||Y.ymax!==q.max;return Object.assign(Y,U),K}var lJ=(Q)=>Q===0||Q===1,YT=(Q,J,q)=>-(Math.pow(2,10*(Q-=1))*Math.sin((Q-J)*f5/q)),UT=(Q,J,q)=>Math.pow(2,-10*Q)*Math.sin((Q-J)*f5/q)+1,y9={linear:(Q)=>Q,easeInQuad:(Q)=>Q*Q,easeOutQuad:(Q)=>-Q*(Q-2),easeInOutQuad:(Q)=>(Q/=0.5)<1?0.5*Q*Q:-0.5*(--Q*(Q-2)-1),easeInCubic:(Q)=>Q*Q*Q,easeOutCubic:(Q)=>(Q-=1)*Q*Q+1,easeInOutCubic:(Q)=>(Q/=0.5)<1?0.5*Q*Q*Q:0.5*((Q-=2)*Q*Q+2),easeInQuart:(Q)=>Q*Q*Q*Q,easeOutQuart:(Q)=>-((Q-=1)*Q*Q*Q-1),easeInOutQuart:(Q)=>(Q/=0.5)<1?0.5*Q*Q*Q*Q:-0.5*((Q-=2)*Q*Q*Q-2),easeInQuint:(Q)=>Q*Q*Q*Q*Q,easeOutQuint:(Q)=>(Q-=1)*Q*Q*Q*Q+1,easeInOutQuint:(Q)=>(Q/=0.5)<1?0.5*Q*Q*Q*Q*Q:0.5*((Q-=2)*Q*Q*Q*Q+2),easeInSine:(Q)=>-Math.cos(Q*b5)+1,easeOutSine:(Q)=>Math.sin(Q*b5),easeInOutSine:(Q)=>-0.5*(Math.cos(b1*Q)-1),easeInExpo:(Q)=>Q===0?0:Math.pow(2,10*(Q-1)),easeOutExpo:(Q)=>Q===1?1:-Math.pow(2,-10*Q)+1,easeInOutExpo:(Q)=>lJ(Q)?Q:Q<0.5?0.5*Math.pow(2,10*(Q*2-1)):0.5*(-Math.pow(2,-10*(Q*2-1))+2),easeInCirc:(Q)=>Q>=1?Q:-(Math.sqrt(1-Q*Q)-1),easeOutCirc:(Q)=>Math.sqrt(1-(Q-=1)*Q),easeInOutCirc:(Q)=>(Q/=0.5)<1?-0.5*(Math.sqrt(1-Q*Q)-1):0.5*(Math.sqrt(1-(Q-=2)*Q)+1),easeInElastic:(Q)=>lJ(Q)?Q:YT(Q,0.075,0.3),easeOutElastic:(Q)=>lJ(Q)?Q:UT(Q,0.075,0.3),easeInOutElastic(Q){return lJ(Q)?Q:Q<0.5?0.5*YT(Q*2,0.1125,0.45):0.5+0.5*UT(Q*2-1,0.1125,0.45)},easeInBack(Q){return Q*Q*(2.70158*Q-1.70158)},easeOutBack(Q){return(Q-=1)*Q*(2.70158*Q+1.70158)+1},easeInOutBack(Q){let J=1.70158;if((Q/=0.5)<1)return 0.5*(Q*Q*(((J*=1.525)+1)*Q-J));return 0.5*((Q-=2)*Q*(((J*=1.525)+1)*Q+J)+2)},easeInBounce:(Q)=>1-y9.easeOutBounce(1-Q),easeOutBounce(Q){if(Q<0.36363636363636365)return 7.5625*Q*Q;if(Q<0.7272727272727273)return 7.5625*(Q-=0.5454545454545454)*Q+0.75;if(Q<0.9090909090909091)return 7.5625*(Q-=0.8181818181818182)*Q+0.9375;return 7.5625*(Q-=0.9545454545454546)*Q+0.984375},easeInOutBounce:(Q)=>Q<0.5?y9.easeInBounce(Q*2)*0.5:y9.easeOutBounce(Q*2-1)*0.5+0.5};function eU(Q){if(Q&&typeof Q==="object"){let J=Q.toString();return J==="[object CanvasPattern]"||J==="[object CanvasGradient]"}return!1}function $N(Q){return eU(Q)?Q:new f9(Q)}function dU(Q){return eU(Q)?Q:new f9(Q).saturate(0.5).darken(0.1).hexString()}var IC=["x","y","borderWidth","radius","tension"],jC=["color","borderColor","backgroundColor"];function OC(Q){Q.set("animation",{delay:void 0,duration:1000,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),Q.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:(J)=>J!=="onProgress"&&J!=="onComplete"&&J!=="fn"}),Q.set("animations",{colors:{type:"color",properties:jC},numbers:{type:"number",properties:IC}}),Q.describe("animations",{_fallback:"animation"}),Q.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:(J)=>J|0}}}})}function DC(Q){Q.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var NT=new Map;function AC(Q,J){J=J||{};let q=Q+JSON.stringify(J),Y=NT.get(q);if(!Y)Y=new Intl.NumberFormat(Q,J),NT.set(q,Y);return Y}function Qq(Q,J,q){return AC(J,q).format(Q)}var ST={values(Q){return z1(Q)?Q:""+Q},numeric(Q,J,q){if(Q===0)return"0";let Y=this.chart.options.locale,U,K=Q;if(q.length>1){let T=Math.max(Math.abs(q[0].value),Math.abs(q[q.length-1].value));if(T<0.0001||T>1000000000000000)U="scientific";K=SC(Q,q)}let H=$6(Math.abs(K)),M=isNaN(H)?1:Math.max(Math.min(-1*Math.floor(H),20),0),F={notation:U,minimumFractionDigits:M,maximumFractionDigits:M};return Object.assign(F,this.options.ticks.format),Qq(Q,Y,F)},logarithmic(Q,J,q){if(Q===0)return"0";let Y=q[J].significand||Q/Math.pow(10,Math.floor($6(Q)));if([1,2,3,5,10,15].includes(Y)||J>0.8*q.length)return ST.numeric.call(this,Q,J,q);return""}};function SC(Q,J){let q=J.length>3?J[2].value-J[1].value:J[1].value-J[0].value;if(Math.abs(q)>=1&&Q!==Math.floor(Q))q=Q-Math.floor(Q);return q}var mZ={formatters:ST};function vC(Q){Q.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(J,q)=>q.lineWidth,tickColor:(J,q)=>q.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:mZ.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Q.route("scale.ticks","color","","color"),Q.route("scale.grid","color","","borderColor"),Q.route("scale.border","color","","borderColor"),Q.route("scale.title","color","","color"),Q.describe("scale",{_fallback:!1,_scriptable:(J)=>!J.startsWith("before")&&!J.startsWith("after")&&J!=="callback"&&J!=="parser",_indexable:(J)=>J!=="borderDash"&&J!=="tickBorderDash"&&J!=="dash"}),Q.describe("scales",{_fallback:"scale"}),Q.describe("scale.ticks",{_scriptable:(J)=>J!=="backdropPadding"&&J!=="callback",_indexable:(J)=>J!=="backdropPadding"})}var U2=Object.create(null),Gq=Object.create(null);function hZ(Q,J){if(!J)return Q;let q=J.split(".");for(let Y=0,U=q.length;Y<U;++Y){let K=q[Y];Q=Q[K]||(Q[K]=Object.create(null))}return Q}function pU(Q,J,q){if(typeof J==="string")return g9(hZ(Q,J),q);return g9(hZ(Q,""),J)}class vT{constructor(Q,J){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=(q)=>q.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(q,Y)=>dU(Y.backgroundColor),this.hoverBorderColor=(q,Y)=>dU(Y.borderColor),this.hoverColor=(q,Y)=>dU(Y.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(Q),this.apply(J)}set(Q,J){return pU(this,Q,J)}get(Q){return hZ(this,Q)}describe(Q,J){return pU(Gq,Q,J)}override(Q,J){return pU(U2,Q,J)}route(Q,J,q,Y){let U=hZ(this,Q),K=hZ(this,q),H="_"+J;Object.defineProperties(U,{[H]:{value:U[J],writable:!0},[J]:{enumerable:!0,get(){let M=this[H],F=K[Y];if(n0(M))return Object.assign({},F,M);return h0(M,F)},set(M){this[H]=M}}})}apply(Q){Q.forEach((J)=>J(this))}}var O1=new vT({_scriptable:(Q)=>!Q.startsWith("on"),_indexable:(Q)=>Q!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[OC,DC,vC]);function kC(Q){if(!Q||t0(Q.size)||t0(Q.family))return null;return(Q.style?Q.style+" ":"")+(Q.weight?Q.weight+" ":"")+Q.size+"px "+Q.family}function xZ(Q,J,q,Y,U){let K=J[U];if(!K)K=J[U]=Q.measureText(U).width,q.push(U);if(K>Y)Y=K;return Y}function kT(Q,J,q,Y){Y=Y||{};let U=Y.data=Y.data||{},K=Y.garbageCollect=Y.garbageCollect||[];if(Y.font!==J)U=Y.data={},K=Y.garbageCollect=[],Y.font=J;Q.save(),Q.font=J;let H=0,M=q.length,F,T,R,z,L;for(F=0;F<M;F++)if(z=q[F],z!==void 0&&z!==null&&!z1(z))H=xZ(Q,U,K,H,z);else if(z1(z)){for(T=0,R=z.length;T<R;T++)if(L=z[T],L!==void 0&&L!==null&&!z1(L))H=xZ(Q,U,K,H,L)}Q.restore();let E=K.length/2;if(E>q.length){for(F=0;F<E;F++)delete U[K[F]];K.splice(0,E)}return H}function N2(Q,J,q){let Y=Q.currentDevicePixelRatio,U=q!==0?Math.max(q/2,0.5):0;return Math.round((J-U)*Y)/Y+U}function ZN(Q,J){if(!J&&!Q)return;J=J||Q.getContext("2d"),J.save(),J.resetTransform(),J.clearRect(0,0,Q.width,Q.height),J.restore()}function Jq(Q,J,q,Y){QN(Q,J,q,Y,null)}function QN(Q,J,q,Y,U){let K,H,M,F,T,R,z,L,E=J.pointStyle,I=J.rotation,A=J.radius,C=(I||0)*PC;if(E&&typeof E==="object"){if(K=E.toString(),K==="[object HTMLImageElement]"||K==="[object HTMLCanvasElement]"){Q.save(),Q.translate(q,Y),Q.rotate(C),Q.drawImage(E,-E.width/2,-E.height/2,E.width,E.height),Q.restore();return}}if(isNaN(A)||A<=0)return;switch(Q.beginPath(),E){default:if(U)Q.ellipse(q,Y,U/2,A,0,0,f5);else Q.arc(q,Y,A,0,f5);Q.closePath();break;case"triangle":R=U?U/2:A,Q.moveTo(q+Math.sin(C)*R,Y-Math.cos(C)*A),C+=XT,Q.lineTo(q+Math.sin(C)*R,Y-Math.cos(C)*A),C+=XT,Q.lineTo(q+Math.sin(C)*R,Y-Math.cos(C)*A),Q.closePath();break;case"rectRounded":T=A*0.516,F=A-T,H=Math.cos(C+H$)*F,z=Math.cos(C+H$)*(U?U/2-T:F),M=Math.sin(C+H$)*F,L=Math.sin(C+H$)*(U?U/2-T:F),Q.arc(q-z,Y-M,T,C-b1,C-b5),Q.arc(q+L,Y-H,T,C-b5,C),Q.arc(q+z,Y+M,T,C,C+b5),Q.arc(q-L,Y+H,T,C+b5,C+b1),Q.closePath();break;case"rect":if(!I){F=Math.SQRT1_2*A,R=U?U/2:F,Q.rect(q-R,Y-F,2*R,2*F);break}C+=H$;case"rectRot":z=Math.cos(C)*(U?U/2:A),H=Math.cos(C)*A,M=Math.sin(C)*A,L=Math.sin(C)*(U?U/2:A),Q.moveTo(q-z,Y-M),Q.lineTo(q+L,Y-H),Q.lineTo(q+z,Y+M),Q.lineTo(q-L,Y+H),Q.closePath();break;case"crossRot":C+=H$;case"cross":z=Math.cos(C)*(U?U/2:A),H=Math.cos(C)*A,M=Math.sin(C)*A,L=Math.sin(C)*(U?U/2:A),Q.moveTo(q-z,Y-M),Q.lineTo(q+z,Y+M),Q.moveTo(q+L,Y-H),Q.lineTo(q-L,Y+H);break;case"star":z=Math.cos(C)*(U?U/2:A),H=Math.cos(C)*A,M=Math.sin(C)*A,L=Math.sin(C)*(U?U/2:A),Q.moveTo(q-z,Y-M),Q.lineTo(q+z,Y+M),Q.moveTo(q+L,Y-H),Q.lineTo(q-L,Y+H),C+=H$,z=Math.cos(C)*(U?U/2:A),H=Math.cos(C)*A,M=Math.sin(C)*A,L=Math.sin(C)*(U?U/2:A),Q.moveTo(q-z,Y-M),Q.lineTo(q+z,Y+M),Q.moveTo(q+L,Y-H),Q.lineTo(q-L,Y+H);break;case"line":H=U?U/2:Math.cos(C)*A,M=Math.sin(C)*A,Q.moveTo(q-H,Y-M),Q.lineTo(q+H,Y+M);break;case"dash":Q.moveTo(q,Y),Q.lineTo(q+Math.cos(C)*(U?U/2:A),Y+Math.sin(C)*A);break;case!1:Q.closePath();break}if(Q.fill(),J.borderWidth>0)Q.stroke()}function T8(Q,J,q){return q=q||0.5,!J||Q&&Q.x>J.left-q&&Q.x<J.right+q&&Q.y>J.top-q&&Q.y<J.bottom+q}function dZ(Q,J){Q.save(),Q.beginPath(),Q.rect(J.left,J.top,J.right-J.left,J.bottom-J.top),Q.clip()}function pZ(Q){Q.restore()}function bT(Q,J,q,Y,U){if(!J)return Q.lineTo(q.x,q.y);if(U==="middle"){let K=(J.x+q.x)/2;Q.lineTo(K,J.y),Q.lineTo(K,q.y)}else if(U==="after"!==!!Y)Q.lineTo(J.x,q.y);else Q.lineTo(q.x,J.y);Q.lineTo(q.x,q.y)}function fT(Q,J,q,Y){if(!J)return Q.lineTo(q.x,q.y);Q.bezierCurveTo(Y?J.cp1x:J.cp2x,Y?J.cp1y:J.cp2y,Y?q.cp2x:q.cp1x,Y?q.cp2y:q.cp1y,q.x,q.y)}function bC(Q,J){if(J.translation)Q.translate(J.translation[0],J.translation[1]);if(!t0(J.rotation))Q.rotate(J.rotation);if(J.color)Q.fillStyle=J.color;if(J.textAlign)Q.textAlign=J.textAlign;if(J.textBaseline)Q.textBaseline=J.textBaseline}function fC(Q,J,q,Y,U){if(U.strikethrough||U.underline){let K=Q.measureText(Y),H=J-K.actualBoundingBoxLeft,M=J+K.actualBoundingBoxRight,F=q-K.actualBoundingBoxAscent,T=q+K.actualBoundingBoxDescent,R=U.strikethrough?(F+T)/2:T;Q.strokeStyle=Q.fillStyle,Q.beginPath(),Q.lineWidth=U.decorationWidth||2,Q.moveTo(H,R),Q.lineTo(M,R),Q.stroke()}}function yC(Q,J){let q=Q.fillStyle;Q.fillStyle=J.color,Q.fillRect(J.left,J.top,J.width,J.height),Q.fillStyle=q}function K2(Q,J,q,Y,U,K={}){let H=z1(J)?J:[J],M=K.strokeWidth>0&&K.strokeColor!=="",F,T;Q.save(),Q.font=U.string,bC(Q,K);for(F=0;F<H.length;++F){if(T=H[F],K.backdrop)yC(Q,K.backdrop);if(M){if(K.strokeColor)Q.strokeStyle=K.strokeColor;if(!t0(K.strokeWidth))Q.lineWidth=K.strokeWidth;Q.strokeText(T,q,Y,K.maxWidth)}Q.fillText(T,q,Y,K.maxWidth),fC(Q,q,Y,T,K),Y+=Number(U.lineHeight)}Q.restore()}function p9(Q,J){let{x:q,y:Y,w:U,h:K,radius:H}=J;Q.arc(q+H.topLeft,Y+H.topLeft,H.topLeft,1.5*b1,b1,!0),Q.lineTo(q,Y+K-H.bottomLeft),Q.arc(q+H.bottomLeft,Y+K-H.bottomLeft,H.bottomLeft,b1,b5,!0),Q.lineTo(q+U-H.bottomRight,Y+K),Q.arc(q+U-H.bottomRight,Y+K-H.bottomRight,H.bottomRight,b5,0,!0),Q.lineTo(q+U,Y+H.topRight),Q.arc(q+U-H.topRight,Y+H.topRight,H.topRight,0,-b5,!0),Q.lineTo(q+H.topLeft,Y)}var gC=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,hC=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function xC(Q,J){let q=(""+Q).match(gC);if(!q||q[1]==="normal")return J*1.2;switch(Q=+q[2],q[3]){case"px":return Q;case"%":Q/=100;break}return J*Q}var uC=(Q)=>+Q||0;function GN(Q,J){let q={},Y=n0(J),U=Y?Object.keys(J):J,K=n0(Q)?Y?(H)=>h0(Q[H],Q[J[H]]):(H)=>Q[H]:()=>Q;for(let H of U)q[H]=uC(K(H));return q}function JN(Q){return GN(Q,{top:"y",right:"x",bottom:"y",left:"x"})}function B2(Q){return GN(Q,["topLeft","topRight","bottomLeft","bottomRight"])}function X5(Q){let J=JN(Q);return J.width=J.left+J.right,J.height=J.top+J.bottom,J}function p1(Q,J){Q=Q||{},J=J||O1.font;let q=h0(Q.size,J.size);if(typeof q==="string")q=parseInt(q,10);let Y=h0(Q.style,J.style);if(Y&&!(""+Y).match(hC))console.warn('Invalid font style specified: "'+Y+'"'),Y=void 0;let U={family:h0(Q.family,J.family),lineHeight:xC(h0(Q.lineHeight,J.lineHeight),q),size:q,style:Y,weight:h0(Q.weight,J.weight),string:""};return U.string=kC(U),U}function cZ(Q,J,q,Y){let U=!0,K,H,M;for(K=0,H=Q.length;K<H;++K){if(M=Q[K],M===void 0)continue;if(J!==void 0&&typeof M==="function")M=M(J),U=!1;if(q!==void 0&&z1(M))M=M[q%M.length],U=!1;if(M!==void 0){if(Y&&!U)Y.cacheable=!1;return M}}}function yT(Q,J,q){let{min:Y,max:U}=Q,K=wT(J,(U-Y)/2),H=(M,F)=>q&&M===0?0:M+F;return{min:H(Y,-Math.abs(K)),max:H(U,K)}}function G6(Q,J){return Object.assign(Object.create(Q),J)}function qq(Q,J=[""],q,Y,U=()=>Q[0]){let K=q||Q;if(typeof Y>"u")Y=xT("_fallback",Q);let H={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:Q,_rootScopes:K,_fallback:Y,_getTarget:U,override:(M)=>qq([M,...Q],J,K,Y)};return new Proxy(H,{deleteProperty(M,F){return delete M[F],delete M._keys,delete Q[0][F],!0},get(M,F){return gT(M,F,()=>nC(F,J,Q,M))},getOwnPropertyDescriptor(M,F){return Reflect.getOwnPropertyDescriptor(M._scopes[0],F)},getPrototypeOf(){return Reflect.getPrototypeOf(Q[0])},has(M,F){return BT(M).includes(F)},ownKeys(M){return BT(M)},set(M,F,T){let R=M._storage||(M._storage=U());return M[F]=R[F]=T,delete M._keys,!0}})}function F$(Q,J,q,Y){let U={_cacheable:!1,_proxy:Q,_context:J,_subProxy:q,_stack:new Set,_descriptors:qN(Q,Y),setContext:(K)=>F$(Q,K,q,Y),override:(K)=>F$(Q.override(K),J,q,Y)};return new Proxy(U,{deleteProperty(K,H){return delete K[H],delete Q[H],!0},get(K,H,M){return gT(K,H,()=>dC(K,H,M))},getOwnPropertyDescriptor(K,H){return K._descriptors.allKeys?Reflect.has(Q,H)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(Q,H)},getPrototypeOf(){return Reflect.getPrototypeOf(Q)},has(K,H){return Reflect.has(Q,H)},ownKeys(){return Reflect.ownKeys(Q)},set(K,H,M){return Q[H]=M,delete K[H],!0}})}function qN(Q,J={scriptable:!0,indexable:!0}){let{_scriptable:q=J.scriptable,_indexable:Y=J.indexable,_allKeys:U=J.allKeys}=Q;return{allKeys:U,scriptable:q,indexable:Y,isScriptable:e8(q)?q:()=>q,isIndexable:e8(Y)?Y:()=>Y}}var mC=(Q,J)=>Q?Q+tJ(J):J,XN=(Q,J)=>n0(J)&&Q!=="adapters"&&(Object.getPrototypeOf(J)===null||J.constructor===Object);function gT(Q,J,q){if(Object.prototype.hasOwnProperty.call(Q,J)||J==="constructor")return Q[J];let Y=q();return Q[J]=Y,Y}function dC(Q,J,q){let{_proxy:Y,_context:U,_subProxy:K,_descriptors:H}=Q,M=Y[J];if(e8(M)&&H.isScriptable(J))M=pC(J,M,Q,q);if(z1(M)&&M.length)M=cC(J,M,Q,H.isIndexable);if(XN(J,M))M=F$(M,U,K&&K[J],H);return M}function pC(Q,J,q,Y){let{_proxy:U,_context:K,_subProxy:H,_stack:M}=q;if(M.has(Q))throw Error("Recursion detected: "+Array.from(M).join("->")+"->"+Q);M.add(Q);let F=J(K,H||Y);if(M.delete(Q),XN(Q,F))F=YN(U._scopes,U,Q,F);return F}function cC(Q,J,q,Y){let{_proxy:U,_context:K,_subProxy:H,_descriptors:M}=q;if(typeof K.index<"u"&&Y(Q))return J[K.index%J.length];else if(n0(J[0])){let F=J,T=U._scopes.filter((R)=>R!==F);J=[];for(let R of F){let z=YN(T,U,Q,R);J.push(F$(z,K,H&&H[Q],M))}}return J}function hT(Q,J,q){return e8(Q)?Q(J,q):Q}var lC=(Q,J)=>Q===!0?J:typeof Q==="string"?W$(J,Q):void 0;function rC(Q,J,q,Y,U){for(let K of J){let H=lC(q,K);if(H){Q.add(H);let M=hT(H._fallback,q,U);if(typeof M<"u"&&M!==q&&M!==Y)return M}else if(H===!1&&typeof Y<"u"&&q!==Y)return null}return!1}function YN(Q,J,q,Y){let U=J._rootScopes,K=hT(J._fallback,q,Y),H=[...Q,...U],M=new Set;M.add(Y);let F=KT(M,H,q,K||q,Y);if(F===null)return!1;if(typeof K<"u"&&K!==q){if(F=KT(M,H,K,F,Y),F===null)return!1}return qq(Array.from(M),[""],U,K,()=>sC(J,q,Y))}function KT(Q,J,q,Y,U){while(q)q=rC(Q,J,q,Y,U);return q}function sC(Q,J,q){let Y=Q._getTarget();if(!(J in Y))Y[J]={};let U=Y[J];if(z1(U)&&n0(q))return q;return U||{}}function nC(Q,J,q,Y){let U;for(let K of J)if(U=xT(mC(K,Q),q),typeof U<"u")return XN(Q,U)?YN(q,Y,Q,U):U}function xT(Q,J){for(let q of J){if(!q)continue;let Y=q[Q];if(typeof Y<"u")return Y}}function BT(Q){let J=Q._keys;if(!J)J=Q._keys=oC(Q._scopes);return J}function oC(Q){let J=new Set;for(let q of Q)for(let Y of Object.keys(q).filter((U)=>!U.startsWith("_")))J.add(Y);return Array.from(J)}var iC=Number.EPSILON||0.00000000000001,h9=(Q,J)=>J<Q.length&&!Q[J].skip&&Q[J],uT=(Q)=>Q==="x"?"y":"x";function aC(Q,J,q,Y){let U=Q.skip?J:Q,K=J,H=q.skip?J:q,M=iJ(K,U),F=iJ(H,K),T=M/(M+F),R=F/(M+F);T=isNaN(T)?0:T,R=isNaN(R)?0:R;let z=Y*T,L=Y*R;return{previous:{x:K.x-z*(H.x-U.x),y:K.y-z*(H.y-U.y)},next:{x:K.x+L*(H.x-U.x),y:K.y+L*(H.y-U.y)}}}function tC(Q,J,q){let Y=Q.length,U,K,H,M,F,T=h9(Q,0);for(let R=0;R<Y-1;++R){if(F=T,T=h9(Q,R+1),!F||!T)continue;if(m9(J[R],0,iC)){q[R]=q[R+1]=0;continue}if(U=q[R]/J[R],K=q[R+1]/J[R],M=Math.pow(U,2)+Math.pow(K,2),M<=9)continue;H=3/Math.sqrt(M),q[R]=U*H*J[R],q[R+1]=K*H*J[R]}}function eC(Q,J,q="x"){let Y=uT(q),U=Q.length,K,H,M,F=h9(Q,0);for(let T=0;T<U;++T){if(H=M,M=F,F=h9(Q,T+1),!M)continue;let R=M[q],z=M[Y];if(H)K=(R-H[q])/3,M[`cp1${q}`]=R-K,M[`cp1${Y}`]=z-K*J[T];if(F)K=(F[q]-R)/3,M[`cp2${q}`]=R+K,M[`cp2${Y}`]=z+K*J[T]}}function $I(Q,J="x"){let q=uT(J),Y=Q.length,U=Array(Y).fill(0),K=Array(Y),H,M,F,T=h9(Q,0);for(H=0;H<Y;++H){if(M=F,F=T,T=h9(Q,H+1),!F)continue;if(T){let R=T[J]-F[J];U[H]=R!==0?(T[q]-F[q])/R:0}K[H]=!M?U[H]:!T?U[H-1]:y4(U[H-1])!==y4(U[H])?0:(U[H-1]+U[H])/2}tC(Q,U,K),eC(Q,K,J)}function rJ(Q,J,q){return Math.max(Math.min(Q,q),J)}function ZI(Q,J){let q,Y,U,K,H,M=T8(Q[0],J);for(q=0,Y=Q.length;q<Y;++q){if(H=K,K=M,M=q<Y-1&&T8(Q[q+1],J),!K)continue;if(U=Q[q],H)U.cp1x=rJ(U.cp1x,J.left,J.right),U.cp1y=rJ(U.cp1y,J.top,J.bottom);if(M)U.cp2x=rJ(U.cp2x,J.left,J.right),U.cp2y=rJ(U.cp2y,J.top,J.bottom)}}function mT(Q,J,q,Y,U){let K,H,M,F;if(J.spanGaps)Q=Q.filter((T)=>!T.skip);if(J.cubicInterpolationMode==="monotone")$I(Q,U);else{let T=Y?Q[Q.length-1]:Q[0];for(K=0,H=Q.length;K<H;++K)M=Q[K],F=aC(T,M,Q[Math.min(K+1,H-(Y?0:1))%H],J.tension),M.cp1x=F.previous.x,M.cp1y=F.previous.y,M.cp2x=F.next.x,M.cp2y=F.next.y,T=M}if(J.capBezierPoints)ZI(Q,q)}function Xq(){return typeof window<"u"&&typeof document<"u"}function Yq(Q){let J=Q.parentNode;if(J&&J.toString()==="[object ShadowRoot]")J=J.host;return J}function aJ(Q,J,q){let Y;if(typeof Q==="string"){if(Y=parseInt(Q,10),Q.indexOf("%")!==-1)Y=Y/100*J.parentNode[q]}else Y=Q;return Y}var Uq=(Q)=>Q.ownerDocument.defaultView.getComputedStyle(Q,null);function QI(Q,J){return Uq(Q).getPropertyValue(J)}var GI=["top","right","bottom","left"];function M$(Q,J,q){let Y={};q=q?"-"+q:"";for(let U=0;U<4;U++){let K=GI[U];Y[K]=parseFloat(Q[J+"-"+K+q])||0}return Y.width=Y.left+Y.right,Y.height=Y.top+Y.bottom,Y}var JI=(Q,J,q)=>(Q>0||J>0)&&(!q||!q.shadowRoot);function qI(Q,J){let q=Q.touches,Y=q&&q.length?q[0]:Q,{offsetX:U,offsetY:K}=Y,H=!1,M,F;if(JI(U,K,Q.target))M=U,F=K;else{let T=J.getBoundingClientRect();M=Y.clientX-T.left,F=Y.clientY-T.top,H=!0}return{x:M,y:F,box:H}}function H2(Q,J){if("native"in Q)return Q;let{canvas:q,currentDevicePixelRatio:Y}=J,U=Uq(q),K=U.boxSizing==="border-box",H=M$(U,"padding"),M=M$(U,"border","width"),{x:F,y:T,box:R}=qI(Q,q),z=H.left+(R&&M.left),L=H.top+(R&&M.top),{width:E,height:I}=J;if(K)E-=H.width+M.width,I-=H.height+M.height;return{x:Math.round((F-z)/E*q.width/Y),y:Math.round((T-L)/I*q.height/Y)}}function XI(Q,J,q){let Y,U;if(J===void 0||q===void 0){let K=Q&&Yq(Q);if(!K)J=Q.clientWidth,q=Q.clientHeight;else{let H=K.getBoundingClientRect(),M=Uq(K),F=M$(M,"border","width"),T=M$(M,"padding");J=H.width-T.width-F.width,q=H.height-T.height-F.height,Y=aJ(M.maxWidth,K,"clientWidth"),U=aJ(M.maxHeight,K,"clientHeight")}}return{width:J,height:q,maxWidth:Y||oJ,maxHeight:U||oJ}}var Y2=(Q)=>Math.round(Q*10)/10;function dT(Q,J,q,Y){let U=Uq(Q),K=M$(U,"margin"),H=aJ(U.maxWidth,Q,"clientWidth")||oJ,M=aJ(U.maxHeight,Q,"clientHeight")||oJ,F=XI(Q,J,q),{width:T,height:R}=F;if(U.boxSizing==="content-box"){let L=M$(U,"border","width"),E=M$(U,"padding");T-=E.width+L.width,R-=E.height+L.height}if(T=Math.max(0,T-K.width),R=Math.max(0,Y?T/Y:R-K.height),T=Y2(Math.min(T,H,F.maxWidth)),R=Y2(Math.min(R,M,F.maxHeight)),T&&!R)R=Y2(T/2);if((J!==void 0||q!==void 0)&&Y&&F.height&&R>F.height)R=F.height,T=Y2(Math.floor(R*Y));return{width:T,height:R}}function UN(Q,J,q){let Y=J||1,U=Y2(Q.height*Y),K=Y2(Q.width*Y);Q.height=Y2(Q.height),Q.width=Y2(Q.width);let H=Q.canvas;if(H.style&&(q||!H.style.height&&!H.style.width))H.style.height=`${Q.height}px`,H.style.width=`${Q.width}px`;let M=Math.floor(U),F=Math.floor(K);if(Q.currentDevicePixelRatio!==Y||H.height!==M||H.width!==F)return Q.currentDevicePixelRatio=Y,H.height=M,H.width=F,Q.ctx.setTransform(Y,0,0,Y,0,0),!0;return!1}var pT=function(){let Q=!1;try{let J={get passive(){return Q=!0,!1}};if(Xq())window.addEventListener("test",null,J),window.removeEventListener("test",null,J)}catch(J){}return Q}();function NN(Q,J){let q=QI(Q,J),Y=q&&q.match(/^(\d+)(\.\d+)?px$/);return Y?+Y[1]:void 0}function q2(Q,J,q,Y){return{x:Q.x+q*(J.x-Q.x),y:Q.y+q*(J.y-Q.y)}}function cT(Q,J,q,Y){return{x:Q.x+q*(J.x-Q.x),y:Y==="middle"?q<0.5?Q.y:J.y:Y==="after"?q<1?Q.y:J.y:q>0?J.y:Q.y}}function lT(Q,J,q,Y){let U={x:Q.cp2x,y:Q.cp2y},K={x:J.cp1x,y:J.cp1y},H=q2(Q,U,q),M=q2(U,K,q),F=q2(K,J,q),T=q2(H,M,q),R=q2(M,F,q);return q2(T,R,q)}var YI=function(Q,J){return{x(q){return Q+Q+J-q},setWidth(q){J=q},textAlign(q){if(q==="center")return q;return q==="right"?"left":"right"},xPlus(q,Y){return q-Y},leftForLtr(q,Y){return q-Y}}},UI=function(){return{x(Q){return Q},setWidth(Q){},textAlign(Q){return Q},xPlus(Q,J){return Q+J},leftForLtr(Q,J){return Q}}};function w$(Q,J,q){return Q?YI(J,q):UI()}function KN(Q,J){let q,Y;if(J==="ltr"||J==="rtl")q=Q.canvas.style,Y=[q.getPropertyValue("direction"),q.getPropertyPriority("direction")],q.setProperty("direction",J,"important"),Q.prevTextDirection=Y}function BN(Q,J){if(J!==void 0)delete Q.prevTextDirection,Q.canvas.style.setProperty("direction",J[0],J[1])}function rT(Q){if(Q==="angle")return{between:nU,compare:CC,normalize:k5};return{between:Q6,compare:(J,q)=>J-q,normalize:(J)=>J}}function HT({start:Q,end:J,count:q,loop:Y,style:U}){return{start:Q%q,end:J%q,loop:Y&&(J-Q+1)%q===0,style:U}}function NI(Q,J,q){let{property:Y,start:U,end:K}=q,{between:H,normalize:M}=rT(Y),F=J.length,{start:T,end:R,loop:z}=Q,L,E;if(z){T+=F,R+=F;for(L=0,E=F;L<E;++L){if(!H(M(J[T%F][Y]),U,K))break;T--,R--}T%=F,R%=F}if(R<T)R+=F;return{start:T,end:R,loop:z,style:Q.style}}function HN(Q,J,q){if(!q)return[Q];let{property:Y,start:U,end:K}=q,H=J.length,{compare:M,between:F,normalize:T}=rT(Y),{start:R,end:z,loop:L,style:E}=NI(Q,J,q),I=[],A=!1,C=null,y,m,n,i=()=>F(U,n,y)&&M(U,n)!==0,r=()=>M(K,y)===0||F(K,n,y),Q0=()=>A||i(),p=()=>!A||r();for(let a=R,Y0=R;a<=z;++a){if(m=J[a%H],m.skip)continue;if(y=T(m[Y]),y===n)continue;if(A=F(y,U,K),C===null&&Q0())C=M(y,U)===0?a:Y0;if(C!==null&&p())I.push(HT({start:C,end:a,loop:L,count:H,style:E})),C=null;Y0=a,n=y}if(C!==null)I.push(HT({start:C,end:z,loop:L,count:H,style:E}));return I}function MN(Q,J){let q=[],Y=Q.segments;for(let U=0;U<Y.length;U++){let K=HN(Y[U],Q.points,J);if(K.length)q.push(...K)}return q}function KI(Q,J,q,Y){let U=0,K=J-1;if(q&&!Y)while(U<J&&!Q[U].skip)U++;while(U<J&&Q[U].skip)U++;if(U%=J,q)K+=U;while(K>U&&Q[K%J].skip)K--;return K%=J,{start:U,end:K}}function BI(Q,J,q,Y){let U=Q.length,K=[],H=J,M=Q[J],F;for(F=J+1;F<=q;++F){let T=Q[F%U];if(T.skip||T.stop){if(!M.skip)Y=!1,K.push({start:J%U,end:(F-1)%U,loop:Y}),J=H=T.stop?F:null}else if(H=F,M.skip)J=F;M=T}if(H!==null)K.push({start:J%U,end:H%U,loop:Y});return K}function sT(Q,J){let q=Q.points,Y=Q.options.spanGaps,U=q.length;if(!U)return[];let K=!!Q._loop,{start:H,end:M}=KI(q,U,K,Y);if(Y===!0)return MT(Q,[{start:H,end:M,loop:K}],q,J);let F=M<H?M+U:M,T=!!Q._fullLoop&&H===0&&M===U-1;return MT(Q,BI(q,H,F,T),q,J)}function MT(Q,J,q,Y){if(!Y||!Y.setContext||!q)return J;return HI(Q,J,q,Y)}function HI(Q,J,q,Y){let U=Q._chart.getContext(),K=FT(Q.options),{_datasetIndex:H,options:{spanGaps:M}}=Q,F=q.length,T=[],R=K,z=J[0].start,L=z;function E(I,A,C,y){let m=M?-1:1;if(I===A)return;I+=F;while(q[I%F].skip)I-=m;while(q[A%F].skip)A+=m;if(I%F!==A%F)T.push({start:I%F,end:A%F,loop:C,style:y}),R=y,z=A%F}for(let I of J){z=M?z:I.start;let A=q[z%F],C;for(L=z+1;L<=I.end;L++){let y=q[L%F];if(C=FT(Y.setContext(G6(U,{type:"segment",p0:A,p1:y,p0DataIndex:(L-1)%F,p1DataIndex:L%F,datasetIndex:H}))),MI(C,R))E(z,L-1,I.loop,R);A=y,R=C}if(z<L-1)E(z,L-1,I.loop,R)}return T}function FT(Q){return{backgroundColor:Q.backgroundColor,borderCapStyle:Q.borderCapStyle,borderDash:Q.borderDash,borderDashOffset:Q.borderDashOffset,borderJoinStyle:Q.borderJoinStyle,borderWidth:Q.borderWidth,borderColor:Q.borderColor}}function MI(Q,J){if(!J)return!1;let q=[],Y=function(U,K){if(!eU(K))return K;if(!q.includes(K))q.push(K);return q.indexOf(K)};return JSON.stringify(Q,Y)!==JSON.stringify(J,Y)}function sJ(Q,J,q){return Q.options.clip?Q[q]:J[q]}function FI(Q,J){let{xScale:q,yScale:Y}=Q;if(q&&Y)return{left:sJ(q,J,"left"),right:sJ(q,J,"right"),top:sJ(Y,J,"top"),bottom:sJ(Y,J,"bottom")};return J}function FN(Q,J){let q=J._clip;if(q.disabled)return!1;let Y=FI(J,Q.chartArea);return{left:q.left===!1?0:Y.left-(q.left===!0?0:q.left),right:q.right===!1?Q.width:Y.right+(q.right===!0?0:q.right),top:q.top===!1?0:Y.top-(q.top===!0?0:q.top),bottom:q.bottom===!1?Q.height:Y.bottom+(q.bottom===!0?0:q.bottom)}}/*!
|
|
251
|
-
* Chart.js v4.6.
|
|
250
|
+
*/function nU(Z){if(Z&&typeof Z==="object"){let J=Z.toString();return J==="[object CanvasPattern]"||J==="[object CanvasGradient]"}return!1}function oU(Z){return nU(Z)?Z:new lU(Z)}function rU(Z){return nU(Z)?Z:new lU(Z).saturate(0.5).darken(0.1).hexString()}function L$(){}var TR=(()=>{let Z=0;return()=>Z++})();function a0(Z){return Z===null||Z===void 0}function z1(Z){if(Array.isArray&&Array.isArray(Z))return!0;let J=Object.prototype.toString.call(Z);if(J.slice(0,7)==="[object"&&J.slice(-6)==="Array]")return!0;return!1}function s0(Z){return Z!==null&&Object.prototype.toString.call(Z)==="[object Object]"}function O1(Z){return(typeof Z==="number"||Z instanceof Number)&&isFinite(+Z)}function x5(Z,J){return O1(Z)?Z:J}function f0(Z,J){return typeof Z>"u"?J:Z}var RR=(Z,J)=>typeof Z==="string"&&Z.endsWith("%")?parseFloat(Z)/100*J:+Z;function W1(Z,J,q){if(Z&&typeof Z.call==="function")return Z.apply(q,J)}function q1(Z,J,q,Y){let U,K,H;if(z1(Z))if(K=Z.length,Y)for(U=K-1;U>=0;U--)J.call(q,Z[U],U);else for(U=0;U<K;U++)J.call(q,Z[U],U);else if(s0(Z)){H=Object.keys(Z),K=H.length;for(U=0;U<K;U++)J.call(q,Z[H[U]],H[U])}}function dZ(Z,J){let q,Y,U,K;if(!Z||!J||Z.length!==J.length)return!1;for(q=0,Y=Z.length;q<Y;++q)if(U=Z[q],K=J[q],U.datasetIndex!==K.datasetIndex||U.index!==K.index)return!1;return!0}function $2(Z){if(z1(Z))return Z.map($2);if(s0(Z)){let J=Object.create(null),q=Object.keys(Z),Y=q.length,U=0;for(;U<Y;++U)J[q[U]]=$2(Z[q[U]]);return J}return Z}function wR(Z){return["__proto__","prototype","constructor"].indexOf(Z)===-1}function AE(Z,J,q,Y){if(!wR(Z))return;let U=J[Z],K=q[Z];if(s0(U)&&s0(K))h9(U,K,Y);else J[Z]=$2(K)}function h9(Z,J,q){let Y=z1(J)?J:[J],U=Y.length;if(!s0(Z))return Z;q=q||{};let K=q.merger||AE,H;for(let M=0;M<U;++M){if(H=Y[M],!s0(H))continue;let W=Object.keys(H);for(let R=0,w=W.length;R<w;++R)K(W[R],Z,H,q)}return Z}function u9(Z,J){return h9(Z,J,{merger:SE})}function SE(Z,J,q){if(!wR(Z))return;let Y=J[Z],U=q[Z];if(s0(Y)&&s0(U))u9(Y,U);else if(!Object.prototype.hasOwnProperty.call(J,Z))J[Z]=$2(U)}var xZ=Object.create(null);xZ[""]=(Z)=>Z;xZ.x=(Z)=>Z.x;xZ.y=(Z)=>Z.y;function vE(Z){let J=Z.split("."),q=[],Y="";for(let U of J)if(Y+=U,Y.endsWith("\\"))Y=Y.slice(0,-1)+".";else q.push(Y),Y="";return q}function kE(Z){let J=vE(Z);return(q)=>{for(let Y of J){if(Y==="")break;q=q&&q[Y]}return q}}function T7(Z,J){return(xZ[J]||(xZ[J]=kE(J)))(Z)}function G2(Z){return Z.charAt(0).toUpperCase()+Z.slice(1)}var m9=(Z)=>typeof Z<"u",G8=(Z)=>typeof Z==="function",iU=(Z,J)=>{if(Z.size!==J.size)return!1;for(let q of Z)if(!J.has(q))return!1;return!0};function zR(Z){return Z.type==="mouseup"||Z.type==="click"||Z.type==="contextmenu"}var b1=Math.PI,g5=2*b1,bE=g5+b1,Q2=Number.POSITIVE_INFINITY,yE=b1/180,f5=b1/2,W7=b1/4,XR=b1*2/3,q8=Math.log10,h4=Math.sign;function d9(Z,J,q){return Math.abs(Z-J)<q}function aU(Z){let J=Math.round(Z);Z=d9(Z,J,Z/1000)?J:Z;let q=Math.pow(10,Math.floor(q8(Z))),Y=Z/q;return(Y<=1?1:Y<=2?2:Y<=5?5:10)*q}function VR(Z){let J=[],q=Math.sqrt(Z),Y;for(Y=1;Y<q;Y++)if(Z%Y===0)J.push(Y),J.push(Z/Y);if(q===(q|0))J.push(q);return J.sort((U,K)=>U-K).pop(),J}function fE(Z){return typeof Z==="symbol"||typeof Z==="object"&&Z!==null&&!((Symbol.toPrimitive in Z)||("toString"in Z)||("valueOf"in Z))}function p9(Z){return!fE(Z)&&!isNaN(parseFloat(Z))&&isFinite(Z)}function LR(Z,J){let q=Math.round(Z);return q-J<=Z&&q+J>=Z}function tU(Z,J,q){let Y,U,K;for(Y=0,U=Z.length;Y<U;Y++)if(K=Z[Y][q],!isNaN(K))J.min=Math.min(J.min,K),J.max=Math.max(J.max,K)}function X8(Z){return Z*(b1/180)}function q2(Z){return Z*(180/b1)}function X2(Z){if(!O1(Z))return;let J=1,q=0;while(Math.round(Z*J)/J!==Z)J*=10,q++;return q}function _R(Z,J){let q=J.x-Z.x,Y=J.y-Z.y,U=Math.sqrt(q*q+Y*Y),K=Math.atan2(Y,q);if(K<-0.5*b1)K+=g5;return{angle:K,distance:U}}function Z2(Z,J){return Math.sqrt(Math.pow(J.x-Z.x,2)+Math.pow(J.y-Z.y,2))}function gE(Z,J){return(Z-J+bE)%g5-b1}function y5(Z){return(Z%g5+g5)%g5}function eU(Z,J,q,Y){let U=y5(Z),K=y5(J),H=y5(q),M=y5(K-U),W=y5(H-U),R=y5(U-K),w=y5(U-H);return U===K||U===H||Y&&K===H||M>W&&R<w}function h5(Z,J,q){return Math.max(J,Math.min(q,Z))}function CR(Z){return h5(Z,-32768,32767)}function Y8(Z,J,q,Y=0.000001){return Z>=Math.min(J,q)-Y&&Z<=Math.max(J,q)+Y}function hE(Z){if(!Z||a0(Z.size)||a0(Z.family))return null;return(Z.style?Z.style+" ":"")+(Z.weight?Z.weight+" ":"")+Z.size+"px "+Z.family}function uZ(Z,J,q,Y,U){let K=J[U];if(!K)K=J[U]=Z.measureText(U).width,q.push(U);if(K>Y)Y=K;return Y}function PR(Z,J,q,Y){Y=Y||{};let U=Y.data=Y.data||{},K=Y.garbageCollect=Y.garbageCollect||[];if(Y.font!==J)U=Y.data={},K=Y.garbageCollect=[],Y.font=J;Z.save(),Z.font=J;let H=0,M=q.length,W,R,w,z,L;for(W=0;W<M;W++)if(z=q[W],z!==void 0&&z!==null&&!z1(z))H=uZ(Z,U,K,H,z);else if(z1(z)){for(R=0,w=z.length;R<w;R++)if(L=z[R],L!==void 0&&L!==null&&!z1(L))H=uZ(Z,U,K,H,L)}Z.restore();let P=K.length/2;if(P>q.length){for(W=0;W<P;W++)delete U[K[W]];K.splice(0,P)}return H}function B6(Z,J,q){let Y=Z.currentDevicePixelRatio,U=q!==0?Math.max(q/2,0.5):0;return Math.round((J-U)*Y)/Y+U}function $N(Z,J){if(!J&&!Z)return;J=J||Z.getContext("2d"),J.save(),J.resetTransform(),J.clearRect(0,0,Z.width,Z.height),J.restore()}function Y2(Z,J,q,Y){QN(Z,J,q,Y,null)}function QN(Z,J,q,Y,U){let K,H,M,W,R,w,z,L,P=J.pointStyle,I=J.rotation,A=J.radius,E=(I||0)*yE;if(P&&typeof P==="object"){if(K=P.toString(),K==="[object HTMLImageElement]"||K==="[object HTMLCanvasElement]"){Z.save(),Z.translate(q,Y),Z.rotate(E),Z.drawImage(P,-P.width/2,-P.height/2,P.width,P.height),Z.restore();return}}if(isNaN(A)||A<=0)return;switch(Z.beginPath(),P){default:if(U)Z.ellipse(q,Y,U/2,A,0,0,g5);else Z.arc(q,Y,A,0,g5);Z.closePath();break;case"triangle":w=U?U/2:A,Z.moveTo(q+Math.sin(E)*w,Y-Math.cos(E)*A),E+=XR,Z.lineTo(q+Math.sin(E)*w,Y-Math.cos(E)*A),E+=XR,Z.lineTo(q+Math.sin(E)*w,Y-Math.cos(E)*A),Z.closePath();break;case"rectRounded":R=A*0.516,W=A-R,H=Math.cos(E+W7)*W,z=Math.cos(E+W7)*(U?U/2-R:W),M=Math.sin(E+W7)*W,L=Math.sin(E+W7)*(U?U/2-R:W),Z.arc(q-z,Y-M,R,E-b1,E-f5),Z.arc(q+L,Y-H,R,E-f5,E),Z.arc(q+z,Y+M,R,E,E+f5),Z.arc(q-L,Y+H,R,E+f5,E+b1),Z.closePath();break;case"rect":if(!I){W=Math.SQRT1_2*A,w=U?U/2:W,Z.rect(q-w,Y-W,2*w,2*W);break}E+=W7;case"rectRot":z=Math.cos(E)*(U?U/2:A),H=Math.cos(E)*A,M=Math.sin(E)*A,L=Math.sin(E)*(U?U/2:A),Z.moveTo(q-z,Y-M),Z.lineTo(q+L,Y-H),Z.lineTo(q+z,Y+M),Z.lineTo(q-L,Y+H),Z.closePath();break;case"crossRot":E+=W7;case"cross":z=Math.cos(E)*(U?U/2:A),H=Math.cos(E)*A,M=Math.sin(E)*A,L=Math.sin(E)*(U?U/2:A),Z.moveTo(q-z,Y-M),Z.lineTo(q+z,Y+M),Z.moveTo(q+L,Y-H),Z.lineTo(q-L,Y+H);break;case"star":z=Math.cos(E)*(U?U/2:A),H=Math.cos(E)*A,M=Math.sin(E)*A,L=Math.sin(E)*(U?U/2:A),Z.moveTo(q-z,Y-M),Z.lineTo(q+z,Y+M),Z.moveTo(q+L,Y-H),Z.lineTo(q-L,Y+H),E+=W7,z=Math.cos(E)*(U?U/2:A),H=Math.cos(E)*A,M=Math.sin(E)*A,L=Math.sin(E)*(U?U/2:A),Z.moveTo(q-z,Y-M),Z.lineTo(q+z,Y+M),Z.moveTo(q+L,Y-H),Z.lineTo(q-L,Y+H);break;case"line":H=U?U/2:Math.cos(E)*A,M=Math.sin(E)*A,Z.moveTo(q-H,Y-M),Z.lineTo(q+H,Y+M);break;case"dash":Z.moveTo(q,Y),Z.lineTo(q+Math.cos(E)*(U?U/2:A),Y+Math.sin(E)*A);break;case!1:Z.closePath();break}if(Z.fill(),J.borderWidth>0)Z.stroke()}function V$(Z,J,q){return q=q||0.5,!J||Z&&Z.x>J.left-q&&Z.x<J.right+q&&Z.y>J.top-q&&Z.y<J.bottom+q}function pZ(Z,J){Z.save(),Z.beginPath(),Z.rect(J.left,J.top,J.right-J.left,J.bottom-J.top),Z.clip()}function cZ(Z){Z.restore()}function ER(Z,J,q,Y,U){if(!J)return Z.lineTo(q.x,q.y);if(U==="middle"){let K=(J.x+q.x)/2;Z.lineTo(K,J.y),Z.lineTo(K,q.y)}else if(U==="after"!==!!Y)Z.lineTo(J.x,q.y);else Z.lineTo(q.x,J.y);Z.lineTo(q.x,q.y)}function IR(Z,J,q,Y){if(!J)return Z.lineTo(q.x,q.y);Z.bezierCurveTo(Y?J.cp1x:J.cp2x,Y?J.cp1y:J.cp2y,Y?q.cp2x:q.cp1x,Y?q.cp2y:q.cp1y,q.x,q.y)}function xE(Z,J){if(J.translation)Z.translate(J.translation[0],J.translation[1]);if(!a0(J.rotation))Z.rotate(J.rotation);if(J.color)Z.fillStyle=J.color;if(J.textAlign)Z.textAlign=J.textAlign;if(J.textBaseline)Z.textBaseline=J.textBaseline}function uE(Z,J,q,Y,U){if(U.strikethrough||U.underline){let K=Z.measureText(Y),H=J-K.actualBoundingBoxLeft,M=J+K.actualBoundingBoxRight,W=q-K.actualBoundingBoxAscent,R=q+K.actualBoundingBoxDescent,w=U.strikethrough?(W+R)/2:R;Z.strokeStyle=Z.fillStyle,Z.beginPath(),Z.lineWidth=U.decorationWidth||2,Z.moveTo(H,w),Z.lineTo(M,w),Z.stroke()}}function mE(Z,J){let q=Z.fillStyle;Z.fillStyle=J.color,Z.fillRect(J.left,J.top,J.width,J.height),Z.fillStyle=q}function H6(Z,J,q,Y,U,K={}){let H=z1(J)?J:[J],M=K.strokeWidth>0&&K.strokeColor!=="",W,R;Z.save(),Z.font=U.string,xE(Z,K);for(W=0;W<H.length;++W){if(R=H[W],K.backdrop)mE(Z,K.backdrop);if(M){if(K.strokeColor)Z.strokeStyle=K.strokeColor;if(!a0(K.strokeWidth))Z.lineWidth=K.strokeWidth;Z.strokeText(R,q,Y,K.maxWidth)}Z.fillText(R,q,Y,K.maxWidth),uE(Z,q,Y,R,K),Y+=Number(U.lineHeight)}Z.restore()}function c9(Z,J){let{x:q,y:Y,w:U,h:K,radius:H}=J;Z.arc(q+H.topLeft,Y+H.topLeft,H.topLeft,1.5*b1,b1,!0),Z.lineTo(q,Y+K-H.bottomLeft),Z.arc(q+H.bottomLeft,Y+K-H.bottomLeft,H.bottomLeft,b1,f5,!0),Z.lineTo(q+U-H.bottomRight,Y+K),Z.arc(q+U-H.bottomRight,Y+K-H.bottomRight,H.bottomRight,f5,0,!0),Z.lineTo(q+U,Y+H.topRight),Z.arc(q+U-H.topRight,Y+H.topRight,H.topRight,0,-f5,!0),Z.lineTo(q+H.topLeft,Y)}function U2(Z,J,q){q=q||((H)=>Z[H]<J);let Y=Z.length-1,U=0,K;while(Y-U>1)if(K=U+Y>>1,q(K))U=K;else Y=K;return{lo:U,hi:Y}}var K6=(Z,J,q,Y)=>U2(Z,q,Y?(U)=>{let K=Z[U][J];return K<q||K===q&&Z[U+1][J]===q}:(U)=>Z[U][J]<q),jR=(Z,J,q)=>U2(Z,q,(Y)=>Z[Y][J]>=q);function OR(Z,J,q){let Y=0,U=Z.length;while(Y<U&&Z[Y]<J)Y++;while(U>Y&&Z[U-1]>q)U--;return Y>0||U<Z.length?Z.slice(Y,U):Z}var DR=["push","pop","shift","splice","unshift"];function AR(Z,J){if(Z._chartjs){Z._chartjs.listeners.push(J);return}Object.defineProperty(Z,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[J]}}),DR.forEach((q)=>{let Y="_onData"+G2(q),U=Z[q];Object.defineProperty(Z,q,{configurable:!0,enumerable:!1,value(...K){let H=U.apply(this,K);return Z._chartjs.listeners.forEach((M)=>{if(typeof M[Y]==="function")M[Y](...K)}),H}})})}function ZN(Z,J){let q=Z._chartjs;if(!q)return;let Y=q.listeners,U=Y.indexOf(J);if(U!==-1)Y.splice(U,1);if(Y.length>0)return;DR.forEach((K)=>{delete Z[K]}),delete Z._chartjs}function JN(Z){let J=new Set(Z);if(J.size===Z.length)return Z;return Array.from(J)}function N2(Z,J=[""],q,Y,U=()=>Z[0]){let K=q||Z;if(typeof Y>"u")Y=kR("_fallback",Z);let H={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:Z,_rootScopes:K,_fallback:Y,_getTarget:U,override:(M)=>N2([M,...Z],J,K,Y)};return new Proxy(H,{deleteProperty(M,W){return delete M[W],delete M._keys,delete Z[0][W],!0},get(M,W){return SR(M,W,()=>oE(W,J,Z,M))},getOwnPropertyDescriptor(M,W){return Reflect.getOwnPropertyDescriptor(M._scopes[0],W)},getPrototypeOf(){return Reflect.getPrototypeOf(Z[0])},has(M,W){return UR(M).includes(W)},ownKeys(M){return UR(M)},set(M,W,R){let w=M._storage||(M._storage=U());return M[W]=w[W]=R,delete M._keys,!0}})}function F7(Z,J,q,Y){let U={_cacheable:!1,_proxy:Z,_context:J,_subProxy:q,_stack:new Set,_descriptors:GN(Z,Y),setContext:(K)=>F7(Z,K,q,Y),override:(K)=>F7(Z.override(K),J,q,Y)};return new Proxy(U,{deleteProperty(K,H){return delete K[H],delete Z[H],!0},get(K,H,M){return SR(K,H,()=>pE(K,H,M))},getOwnPropertyDescriptor(K,H){return K._descriptors.allKeys?Reflect.has(Z,H)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(Z,H)},getPrototypeOf(){return Reflect.getPrototypeOf(Z)},has(K,H){return Reflect.has(Z,H)},ownKeys(){return Reflect.ownKeys(Z)},set(K,H,M){return Z[H]=M,delete K[H],!0}})}function GN(Z,J={scriptable:!0,indexable:!0}){let{_scriptable:q=J.scriptable,_indexable:Y=J.indexable,_allKeys:U=J.allKeys}=Z;return{allKeys:U,scriptable:q,indexable:Y,isScriptable:G8(q)?q:()=>q,isIndexable:G8(Y)?Y:()=>Y}}var dE=(Z,J)=>Z?Z+G2(J):J,qN=(Z,J)=>s0(J)&&Z!=="adapters"&&(Object.getPrototypeOf(J)===null||J.constructor===Object);function SR(Z,J,q){if(Object.prototype.hasOwnProperty.call(Z,J)||J==="constructor")return Z[J];let Y=q();return Z[J]=Y,Y}function pE(Z,J,q){let{_proxy:Y,_context:U,_subProxy:K,_descriptors:H}=Z,M=Y[J];if(G8(M)&&H.isScriptable(J))M=cE(J,M,Z,q);if(z1(M)&&M.length)M=lE(J,M,Z,H.isIndexable);if(qN(J,M))M=F7(M,U,K&&K[J],H);return M}function cE(Z,J,q,Y){let{_proxy:U,_context:K,_subProxy:H,_stack:M}=q;if(M.has(Z))throw Error("Recursion detected: "+Array.from(M).join("->")+"->"+Z);M.add(Z);let W=J(K,H||Y);if(M.delete(Z),qN(Z,W))W=XN(U._scopes,U,Z,W);return W}function lE(Z,J,q,Y){let{_proxy:U,_context:K,_subProxy:H,_descriptors:M}=q;if(typeof K.index<"u"&&Y(Z))return J[K.index%J.length];else if(s0(J[0])){let W=J,R=U._scopes.filter((w)=>w!==W);J=[];for(let w of W){let z=XN(R,U,Z,w);J.push(F7(z,K,H&&H[Z],M))}}return J}function vR(Z,J,q){return G8(Z)?Z(J,q):Z}var rE=(Z,J)=>Z===!0?J:typeof Z==="string"?T7(J,Z):void 0;function sE(Z,J,q,Y,U){for(let K of J){let H=rE(q,K);if(H){Z.add(H);let M=vR(H._fallback,q,U);if(typeof M<"u"&&M!==q&&M!==Y)return M}else if(H===!1&&typeof Y<"u"&&q!==Y)return null}return!1}function XN(Z,J,q,Y){let U=J._rootScopes,K=vR(J._fallback,q,Y),H=[...Z,...U],M=new Set;M.add(Y);let W=YR(M,H,q,K||q,Y);if(W===null)return!1;if(typeof K<"u"&&K!==q){if(W=YR(M,H,K,W,Y),W===null)return!1}return N2(Array.from(M),[""],U,K,()=>nE(J,q,Y))}function YR(Z,J,q,Y,U){while(q)q=sE(Z,J,q,Y,U);return q}function nE(Z,J,q){let Y=Z._getTarget();if(!(J in Y))Y[J]={};let U=Y[J];if(z1(U)&&s0(q))return q;return U||{}}function oE(Z,J,q,Y){let U;for(let K of J)if(U=kR(dE(K,Z),q),typeof U<"u")return qN(Z,U)?XN(q,Y,Z,U):U}function kR(Z,J){for(let q of J){if(!q)continue;let Y=q[Z];if(typeof Y<"u")return Y}}function UR(Z){let J=Z._keys;if(!J)J=Z._keys=iE(Z._scopes);return J}function iE(Z){let J=new Set;for(let q of Z)for(let Y of Object.keys(q).filter((U)=>!U.startsWith("_")))J.add(Y);return Array.from(J)}var aE=Number.EPSILON||0.00000000000001,x9=(Z,J)=>J<Z.length&&!Z[J].skip&&Z[J],bR=(Z)=>Z==="x"?"y":"x";function tE(Z,J,q,Y){let U=Z.skip?J:Z,K=J,H=q.skip?J:q,M=Z2(K,U),W=Z2(H,K),R=M/(M+W),w=W/(M+W);R=isNaN(R)?0:R,w=isNaN(w)?0:w;let z=Y*R,L=Y*w;return{previous:{x:K.x-z*(H.x-U.x),y:K.y-z*(H.y-U.y)},next:{x:K.x+L*(H.x-U.x),y:K.y+L*(H.y-U.y)}}}function eE(Z,J,q){let Y=Z.length,U,K,H,M,W,R=x9(Z,0);for(let w=0;w<Y-1;++w){if(W=R,R=x9(Z,w+1),!W||!R)continue;if(d9(J[w],0,aE)){q[w]=q[w+1]=0;continue}if(U=q[w]/J[w],K=q[w+1]/J[w],M=Math.pow(U,2)+Math.pow(K,2),M<=9)continue;H=3/Math.sqrt(M),q[w]=U*H*J[w],q[w+1]=K*H*J[w]}}function $I(Z,J,q="x"){let Y=bR(q),U=Z.length,K,H,M,W=x9(Z,0);for(let R=0;R<U;++R){if(H=M,M=W,W=x9(Z,R+1),!M)continue;let w=M[q],z=M[Y];if(H)K=(w-H[q])/3,M[`cp1${q}`]=w-K,M[`cp1${Y}`]=z-K*J[R];if(W)K=(W[q]-w)/3,M[`cp2${q}`]=w+K,M[`cp2${Y}`]=z+K*J[R]}}function QI(Z,J="x"){let q=bR(J),Y=Z.length,U=Array(Y).fill(0),K=Array(Y),H,M,W,R=x9(Z,0);for(H=0;H<Y;++H){if(M=W,W=R,R=x9(Z,H+1),!W)continue;if(R){let w=R[J]-W[J];U[H]=w!==0?(R[q]-W[q])/w:0}K[H]=!M?U[H]:!R?U[H-1]:h4(U[H-1])!==h4(U[H])?0:(U[H-1]+U[H])/2}eE(Z,U,K),$I(Z,K,J)}function aq(Z,J,q){return Math.max(Math.min(Z,q),J)}function ZI(Z,J){let q,Y,U,K,H,M=V$(Z[0],J);for(q=0,Y=Z.length;q<Y;++q){if(H=K,K=M,M=q<Y-1&&V$(Z[q+1],J),!K)continue;if(U=Z[q],H)U.cp1x=aq(U.cp1x,J.left,J.right),U.cp1y=aq(U.cp1y,J.top,J.bottom);if(M)U.cp2x=aq(U.cp2x,J.left,J.right),U.cp2y=aq(U.cp2y,J.top,J.bottom)}}function yR(Z,J,q,Y,U){let K,H,M,W;if(J.spanGaps)Z=Z.filter((R)=>!R.skip);if(J.cubicInterpolationMode==="monotone")QI(Z,U);else{let R=Y?Z[Z.length-1]:Z[0];for(K=0,H=Z.length;K<H;++K)M=Z[K],W=tE(R,M,Z[Math.min(K+1,H-(Y?0:1))%H],J.tension),M.cp1x=W.previous.x,M.cp1y=W.previous.y,M.cp2x=W.next.x,M.cp2y=W.next.y,R=M}if(J.capBezierPoints)ZI(Z,q)}function K2(){return typeof window<"u"&&typeof document<"u"}function lZ(Z){let J=Z.parentNode;if(J&&J.toString()==="[object ShadowRoot]")J=J.host;return J}function J2(Z,J,q){let Y;if(typeof Z==="string"){if(Y=parseInt(Z,10),Z.indexOf("%")!==-1)Y=Y/100*J.parentNode[q]}else Y=Z;return Y}var rZ=(Z)=>Z.ownerDocument.defaultView.getComputedStyle(Z,null);function JI(Z,J){return rZ(Z).getPropertyValue(J)}var GI=["top","right","bottom","left"];function J8(Z,J,q){let Y={};q=q?"-"+q:"";for(let U=0;U<4;U++){let K=GI[U];Y[K]=parseFloat(Z[J+"-"+K+q])||0}return Y.width=Y.left+Y.right,Y.height=Y.top+Y.bottom,Y}var qI=(Z,J,q)=>(Z>0||J>0)&&(!q||!q.shadowRoot);function XI(Z,J){let q=Z.touches,Y=q&&q.length?q[0]:Z,{offsetX:U,offsetY:K}=Y,H=!1,M,W;if(qI(U,K,Z.target))M=U,W=K;else{let R=J.getBoundingClientRect();M=Y.clientX-R.left,W=Y.clientY-R.top,H=!0}return{x:M,y:W,box:H}}function M6(Z,J){if("native"in Z)return Z;let{canvas:q,currentDevicePixelRatio:Y}=J,U=rZ(q),K=U.boxSizing==="border-box",H=J8(U,"padding"),M=J8(U,"border","width"),{x:W,y:R,box:w}=XI(Z,q),z=H.left+(w&&M.left),L=H.top+(w&&M.top),{width:P,height:I}=J;if(K)P-=H.width+M.width,I-=H.height+M.height;return{x:Math.round((W-z)/P*q.width/Y),y:Math.round((R-L)/I*q.height/Y)}}function YI(Z,J,q){let Y,U;if(J===void 0||q===void 0){let K=Z&&lZ(Z);if(!K)J=Z.clientWidth,q=Z.clientHeight;else{let H=K.getBoundingClientRect(),M=rZ(K),W=J8(M,"border","width"),R=J8(M,"padding");J=H.width-R.width-W.width,q=H.height-R.height-W.height,Y=J2(M.maxWidth,K,"clientWidth"),U=J2(M.maxHeight,K,"clientHeight")}}return{width:J,height:q,maxWidth:Y||Q2,maxHeight:U||Q2}}var z$=(Z)=>Math.round(Z*10)/10;function UI(Z,J){let q=lZ(Z),Y=Z.style;if(!q||!Y)return;let U=Y.height;Y.height=`${J}px`;let K=rZ(q),H=parseFloat(K.height);if(K.boxSizing==="border-box")H-=J8(K,"padding").height+J8(K,"border","width").height;return Y.height=U,isNaN(H)?void 0:H}function fR(Z,J,q,Y){let U=rZ(Z),K=J8(U,"margin"),H=J2(U.maxWidth,Z,"clientWidth")||Q2,M=J2(U.maxHeight,Z,"clientHeight")||Q2,W=YI(Z,J,q),{width:R,height:w}=W;if(U.boxSizing==="content-box"){let L=J8(U,"border","width"),P=J8(U,"padding");R-=P.width+L.width,w-=P.height+L.height}if(R=Math.max(0,R-K.width),w=Math.max(0,Y?R/Y:w-K.height),R=z$(Math.min(R,H,W.maxWidth)),w=z$(Math.min(w,M,W.maxHeight)),R&&!w)w=z$(R/2);if((J!==void 0||q!==void 0)&&Y&&W.height&&w>W.height){let L=UI(Z,w);if(L===void 0)w=W.height,R=z$(Math.floor(w*Y));else if(L<w-0.5)w=z$(L),R=z$(Math.floor(w*Y))}return{width:R,height:w}}function YN(Z,J,q){let Y=J||1,U=z$(Z.height*Y),K=z$(Z.width*Y);Z.height=z$(Z.height),Z.width=z$(Z.width);let H=Z.canvas;if(H.style&&(q||!H.style.height&&!H.style.width))H.style.height=`${Z.height}px`,H.style.width=`${Z.width}px`;let M=Math.floor(U),W=Math.floor(K);if(Z.currentDevicePixelRatio!==Y||H.height!==M||H.width!==W)return Z.currentDevicePixelRatio=Y,H.height=M,H.width=W,Z.ctx.setTransform(Y,0,0,Y,0,0),!0;return!1}var gR=function(){let Z=!1;try{let J={get passive(){return Z=!0,!1}};if(K2())window.addEventListener("test",null,J),window.removeEventListener("test",null,J)}catch(J){}return Z}();function UN(Z,J){let q=JI(Z,J),Y=q&&q.match(/^(\d+)(\.\d+)?px$/);return Y?+Y[1]:void 0}var tq=(Z)=>Z===0||Z===1,NR=(Z,J,q)=>-(Math.pow(2,10*(Z-=1))*Math.sin((Z-J)*g5/q)),KR=(Z,J,q)=>Math.pow(2,-10*Z)*Math.sin((Z-J)*g5/q)+1,g9={linear:(Z)=>Z,easeInQuad:(Z)=>Z*Z,easeOutQuad:(Z)=>-Z*(Z-2),easeInOutQuad:(Z)=>(Z/=0.5)<1?0.5*Z*Z:-0.5*(--Z*(Z-2)-1),easeInCubic:(Z)=>Z*Z*Z,easeOutCubic:(Z)=>(Z-=1)*Z*Z+1,easeInOutCubic:(Z)=>(Z/=0.5)<1?0.5*Z*Z*Z:0.5*((Z-=2)*Z*Z+2),easeInQuart:(Z)=>Z*Z*Z*Z,easeOutQuart:(Z)=>-((Z-=1)*Z*Z*Z-1),easeInOutQuart:(Z)=>(Z/=0.5)<1?0.5*Z*Z*Z*Z:-0.5*((Z-=2)*Z*Z*Z-2),easeInQuint:(Z)=>Z*Z*Z*Z*Z,easeOutQuint:(Z)=>(Z-=1)*Z*Z*Z*Z+1,easeInOutQuint:(Z)=>(Z/=0.5)<1?0.5*Z*Z*Z*Z*Z:0.5*((Z-=2)*Z*Z*Z*Z+2),easeInSine:(Z)=>-Math.cos(Z*f5)+1,easeOutSine:(Z)=>Math.sin(Z*f5),easeInOutSine:(Z)=>-0.5*(Math.cos(b1*Z)-1),easeInExpo:(Z)=>Z===0?0:Math.pow(2,10*(Z-1)),easeOutExpo:(Z)=>Z===1?1:-Math.pow(2,-10*Z)+1,easeInOutExpo:(Z)=>tq(Z)?Z:Z<0.5?0.5*Math.pow(2,10*(Z*2-1)):0.5*(-Math.pow(2,-10*(Z*2-1))+2),easeInCirc:(Z)=>Z>=1?Z:-(Math.sqrt(1-Z*Z)-1),easeOutCirc:(Z)=>Math.sqrt(1-(Z-=1)*Z),easeInOutCirc:(Z)=>(Z/=0.5)<1?-0.5*(Math.sqrt(1-Z*Z)-1):0.5*(Math.sqrt(1-(Z-=2)*Z)+1),easeInElastic:(Z)=>tq(Z)?Z:NR(Z,0.075,0.3),easeOutElastic:(Z)=>tq(Z)?Z:KR(Z,0.075,0.3),easeInOutElastic(Z){return tq(Z)?Z:Z<0.5?0.5*NR(Z*2,0.1125,0.45):0.5+0.5*KR(Z*2-1,0.1125,0.45)},easeInBack(Z){return Z*Z*(2.70158*Z-1.70158)},easeOutBack(Z){return(Z-=1)*Z*(2.70158*Z+1.70158)+1},easeInOutBack(Z){let J=1.70158;if((Z/=0.5)<1)return 0.5*(Z*Z*(((J*=1.525)+1)*Z-J));return 0.5*((Z-=2)*Z*(((J*=1.525)+1)*Z+J)+2)},easeInBounce:(Z)=>1-g9.easeOutBounce(1-Z),easeOutBounce(Z){if(Z<0.36363636363636365)return 7.5625*Z*Z;if(Z<0.7272727272727273)return 7.5625*(Z-=0.5454545454545454)*Z+0.75;if(Z<0.9090909090909091)return 7.5625*(Z-=0.8181818181818182)*Z+0.9375;return 7.5625*(Z-=0.9545454545454546)*Z+0.984375},easeInOutBounce:(Z)=>Z<0.5?g9.easeInBounce(Z*2)*0.5:g9.easeOutBounce(Z*2-1)*0.5+0.5};var NN=function(){if(typeof window>"u")return function(Z){return Z()};return window.requestAnimationFrame}();function KN(Z,J){let q=[],Y=!1;return function(...U){if(q=U,!Y)Y=!0,NN.call(window,()=>{Y=!1,Z.apply(J,q)})}}function hR(Z,J){let q;return function(...Y){if(J)clearTimeout(q),q=setTimeout(Z,J,...Y);else Z.apply(this,Y);return J}}var B2=(Z)=>Z==="start"?"left":Z==="end"?"right":"center",X5=(Z,J,q)=>Z==="start"?J:Z==="end"?q:(J+q)/2,xR=(Z,J,q,Y)=>{return Z===(Y?"left":"right")?q:Z==="center"?(J+q)/2:J};function uR(Z,J,q){let Y=J.length,U=0,K=Y;if(Z._sorted){let{iScale:H,vScale:M,_parsed:W}=Z,R=Z.dataset?Z.dataset.options?Z.dataset.options.spanGaps:null:null,w=H.axis,{min:z,max:L,minDefined:P,maxDefined:I}=H.getUserBounds();if(P){if(U=Math.min(K6(W,w,z).lo,q?Y:K6(J,w,H.getPixelForValue(z)).lo),R){let A=W.slice(0,U+1).reverse().findIndex((E)=>!a0(E[M.axis]));U-=Math.max(0,A)}U=h5(U,0,Y-1)}if(I){let A=Math.max(K6(W,H.axis,L,!0).hi+1,q?0:K6(J,w,H.getPixelForValue(L),!0).hi+1);if(R){let E=W.slice(A-1).findIndex((g)=>!a0(g[M.axis]));A+=Math.max(0,E)}K=h5(A,U,Y)-U}else K=Y-U}return{start:U,count:K}}function mR(Z){let{xScale:J,yScale:q,_scaleRanges:Y}=Z,U={xmin:J.min,xmax:J.max,ymin:q.min,ymax:q.max};if(!Y)return Z._scaleRanges=U,!0;let K=Y.xmin!==J.min||Y.xmax!==J.max||Y.ymin!==q.min||Y.ymax!==q.max;return Object.assign(Y,U),K}function N6(Z,J,q,Y){return{x:Z.x+q*(J.x-Z.x),y:Z.y+q*(J.y-Z.y)}}function dR(Z,J,q,Y){return{x:Z.x+q*(J.x-Z.x),y:Y==="middle"?q<0.5?Z.y:J.y:Y==="after"?q<1?Z.y:J.y:q>0?J.y:Z.y}}function pR(Z,J,q,Y){let U={x:Z.cp2x,y:Z.cp2y},K={x:J.cp1x,y:J.cp1y},H=N6(Z,U,q),M=N6(U,K,q),W=N6(K,J,q),R=N6(H,M,q),w=N6(M,W,q);return N6(R,w,q)}var BR=new Map;function NI(Z,J){J=J||{};let q=Z+JSON.stringify(J),Y=BR.get(q);if(!Y)Y=new Intl.NumberFormat(Z,J),BR.set(q,Y);return Y}function mZ(Z,J,q){return NI(J,q).format(Z)}var KI=["x","y","borderWidth","radius","tension"],BI=["color","borderColor","backgroundColor"];function HI(Z){Z.set("animation",{delay:void 0,duration:1000,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),Z.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:(J)=>J!=="onProgress"&&J!=="onComplete"&&J!=="fn"}),Z.set("animations",{colors:{type:"color",properties:BI},numbers:{type:"number",properties:KI}}),Z.describe("animations",{_fallback:"animation"}),Z.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:(J)=>J|0}}}})}function MI(Z){Z.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}function HR(Z,J){if(Object.assign(Z,J),Z.minimumFractionDigits>Z.maximumFractionDigits){if(J.minimumFractionDigits===void 0)Z.minimumFractionDigits=Z.maximumFractionDigits;else if(J.maximumFractionDigits===void 0)Z.maximumFractionDigits=Z.minimumFractionDigits}return Z}var cR={values(Z){return z1(Z)?Z:""+Z},numeric(Z,J,q){let Y=this.chart.options.locale;if(Z===0)return mZ(0,Y,HR({minimumFractionDigits:0,maximumFractionDigits:0},this.options.ticks.format));let U,K=Z;if(q.length>1){let R=Math.max(Math.abs(q[0].value),Math.abs(q[q.length-1].value));if(R<0.0001||R>1000000000000000)U="scientific";K=WI(Z,q)}let H=q8(Math.abs(K)),M=isNaN(H)?1:Math.max(Math.min(-1*Math.floor(H),20),0);return mZ(Z,Y,HR({notation:U,minimumFractionDigits:M,maximumFractionDigits:M},this.options.ticks.format))},logarithmic(Z,J,q){if(Z===0)return"0";let Y=q[J].significand||Z/Math.pow(10,Math.floor(q8(Z)));if([1,2,3,5,10,15].includes(Y)||J>0.8*q.length)return cR.numeric.call(this,Z,J,q);return""}};function WI(Z,J){let q=J.length>3?J[2].value-J[1].value:J[1].value-J[0].value;if(Math.abs(q)>=1&&Z!==Math.floor(Z))q=Z-Math.floor(Z);return q}var sZ={formatters:cR};function FI(Z){Z.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(J,q)=>q.lineWidth,tickColor:(J,q)=>q.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:sZ.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Z.route("scale.ticks","color","","color"),Z.route("scale.grid","color","","borderColor"),Z.route("scale.border","color","","borderColor"),Z.route("scale.title","color","","color"),Z.describe("scale",{_fallback:!1,_scriptable:(J)=>!J.startsWith("before")&&!J.startsWith("after")&&J!=="callback"&&J!=="parser",_indexable:(J)=>J!=="borderDash"&&J!=="tickBorderDash"&&J!=="dash"}),Z.describe("scales",{_fallback:"scale"}),Z.describe("scale.ticks",{_scriptable:(J)=>J!=="backdropPadding"&&J!=="callback",_indexable:(J)=>J!=="backdropPadding"})}var W6=Object.create(null),H2=Object.create(null);function hZ(Z,J){if(!J)return Z;let q=J.split(".");for(let Y=0,U=q.length;Y<U;++Y){let K=q[Y];Z=Z[K]||(Z[K]=Object.create(null))}return Z}function sU(Z,J,q){if(typeof J==="string")return h9(hZ(Z,J),q);return h9(hZ(Z,""),J)}class lR{constructor(Z,J){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=(q)=>q.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(q,Y)=>rU(Y.backgroundColor),this.hoverBorderColor=(q,Y)=>rU(Y.borderColor),this.hoverColor=(q,Y)=>rU(Y.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(Z),this.apply(J)}set(Z,J){return sU(this,Z,J)}get(Z){return hZ(this,Z)}describe(Z,J){return sU(H2,Z,J)}override(Z,J){return sU(W6,Z,J)}route(Z,J,q,Y){let U=hZ(this,Z),K=hZ(this,q),H="_"+J;Object.defineProperties(U,{[H]:{value:U[J],writable:!0},[J]:{enumerable:!0,get(){let M=this[H],W=K[Y];if(s0(M))return Object.assign({},W,M);return f0(M,W)},set(M){this[H]=M}}})}apply(Z){Z.forEach((J)=>J(this))}}var D1=new lR({_scriptable:(Z)=>!Z.startsWith("on"),_indexable:(Z)=>Z!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[HI,MI,FI]),TI=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,RI=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function wI(Z,J){let q=(""+Z).match(TI);if(!q||q[1]==="normal")return J*1.2;switch(Z=+q[2],q[3]){case"px":return Z;case"%":Z/=100;break}return J*Z}var zI=(Z)=>+Z||0;function BN(Z,J){let q={},Y=s0(J),U=Y?Object.keys(J):J,K=s0(Z)?Y?(H)=>f0(Z[H],Z[J[H]]):(H)=>Z[H]:()=>Z;for(let H of U)q[H]=zI(K(H));return q}function HN(Z){return BN(Z,{top:"y",right:"x",bottom:"y",left:"x"})}function F6(Z){return BN(Z,["topLeft","topRight","bottomLeft","bottomRight"])}function Y5(Z){let J=HN(Z);return J.width=J.left+J.right,J.height=J.top+J.bottom,J}function p1(Z,J){Z=Z||{},J=J||D1.font;let q=f0(Z.size,J.size);if(typeof q==="string")q=parseInt(q,10);let Y=f0(Z.style,J.style);if(Y&&!(""+Y).match(RI))console.warn('Invalid font style specified: "'+Y+'"'),Y=void 0;let U={family:f0(Z.family,J.family),lineHeight:wI(f0(Z.lineHeight,J.lineHeight),q),size:q,style:Y,weight:f0(Z.weight,J.weight),string:""};return U.string=hE(U),U}function nZ(Z,J,q,Y){let U=!0,K,H,M;for(K=0,H=Z.length;K<H;++K){if(M=Z[K],M===void 0)continue;if(J!==void 0&&typeof M==="function")M=M(J),U=!1;if(q!==void 0&&z1(M))M=M[q%M.length],U=!1;if(M!==void 0){if(Y&&!U)Y.cacheable=!1;return M}}}function rR(Z,J,q){let{min:Y,max:U}=Z,K=RR(J,(U-Y)/2),H=(M,W)=>q&&M===0?0:M+W;return{min:H(Y,-Math.abs(K)),max:H(U,K)}}function U8(Z,J){return Object.assign(Object.create(Z),J)}var VI=function(Z,J){return{x(q){return Z+Z+J-q},setWidth(q){J=q},textAlign(q){if(q==="center")return q;return q==="right"?"left":"right"},xPlus(q,Y){return q-Y},leftForLtr(q,Y){return q-Y}}},LI=function(){return{x(Z){return Z},setWidth(Z){},textAlign(Z){return Z},xPlus(Z,J){return Z+J},leftForLtr(Z,J){return Z}}};function R7(Z,J,q){return Z?VI(J,q):LI()}function MN(Z,J){let q,Y;if(J==="ltr"||J==="rtl")q=Z.canvas.style,Y=[q.getPropertyValue("direction"),q.getPropertyPriority("direction")],q.setProperty("direction",J,"important"),Z.prevTextDirection=Y}function WN(Z,J){if(J!==void 0)delete Z.prevTextDirection,Z.canvas.style.setProperty("direction",J[0],J[1])}function sR(Z){if(Z==="angle")return{between:eU,compare:gE,normalize:y5};return{between:Y8,compare:(J,q)=>J-q,normalize:(J)=>J}}function MR({start:Z,end:J,count:q,loop:Y,style:U}){return{start:Z%q,end:J%q,loop:Y&&(J-Z+1)%q===0,style:U}}function _I(Z,J,q){let{property:Y,start:U,end:K}=q,{between:H,normalize:M}=sR(Y),W=J.length,{start:R,end:w,loop:z}=Z,L,P;if(z){R+=W,w+=W;for(L=0,P=W;L<P;++L){if(!H(M(J[R%W][Y]),U,K))break;R--,w--}R%=W,w%=W}if(w<R)w+=W;return{start:R,end:w,loop:z,style:Z.style}}function FN(Z,J,q){if(!q)return[Z];let{property:Y,start:U,end:K}=q,H=J.length,{compare:M,between:W,normalize:R}=sR(Y),{start:w,end:z,loop:L,style:P}=_I(Z,J,q),I=[],A=!1,E=null,g,m,o,i=()=>W(U,o,g)&&M(U,o)!==0,l=()=>M(K,g)===0||W(K,o,g),J0=()=>A||i(),p=()=>!A||l();for(let a=w,U0=w;a<=z;++a){if(m=J[a%H],m.skip)continue;if(g=R(m[Y]),g===o)continue;if(A=W(g,U,K),E===null&&J0())E=M(g,U)===0?a:U0;if(E!==null&&p())I.push(MR({start:E,end:a,loop:L,count:H,style:P})),E=null;U0=a,o=g}if(E!==null)I.push(MR({start:E,end:z,loop:L,count:H,style:P}));return I}function TN(Z,J){let q=[],Y=Z.segments;for(let U=0;U<Y.length;U++){let K=FN(Y[U],Z.points,J);if(K.length)q.push(...K)}return q}function CI(Z,J,q,Y){let U=0,K=J-1;if(q&&!Y)while(U<J&&!Z[U].skip)U++;while(U<J&&Z[U].skip)U++;if(U%=J,q)K+=U;while(K>U&&Z[K%J].skip)K--;return K%=J,{start:U,end:K}}function PI(Z,J,q,Y){let U=Z.length,K=[],H=J,M=Z[J],W;for(W=J+1;W<=q;++W){let R=Z[W%U];if(R.skip||R.stop){if(!M.skip)Y=!1,K.push({start:J%U,end:(W-1)%U,loop:Y}),J=H=R.stop?W:null}else if(H=W,M.skip)J=W;M=R}if(H!==null)K.push({start:J%U,end:H%U,loop:Y});return K}function nR(Z,J){let q=Z.points,Y=Z.options.spanGaps,U=q.length;if(!U)return[];let K=!!Z._loop,{start:H,end:M}=CI(q,U,K,Y);if(Y===!0)return WR(Z,[{start:H,end:M,loop:K}],q,J);let W=M<H?M+U:M,R=!!Z._fullLoop&&H===0&&M===U-1;return WR(Z,PI(q,H,W,R),q,J)}function WR(Z,J,q,Y){if(!Y||!Y.setContext||!q)return J;return EI(Z,J,q,Y)}function EI(Z,J,q,Y){let U=Z._chart.getContext(),K=FR(Z.options),{_datasetIndex:H,options:{spanGaps:M}}=Z,W=q.length,R=[],w=K,z=J[0].start,L=z;function P(I,A,E,g){let m=M?-1:1;if(I===A)return;I+=W;while(q[I%W].skip)I-=m;while(q[A%W].skip)A+=m;if(I%W!==A%W)R.push({start:I%W,end:A%W,loop:E,style:g}),w=g,z=A%W}for(let I of J){z=M?z:I.start;let A=q[z%W],E;for(L=z+1;L<=I.end;L++){let g=q[L%W];if(E=FR(Y.setContext(U8(U,{type:"segment",p0:A,p1:g,p0DataIndex:(L-1)%W,p1DataIndex:L%W,datasetIndex:H}))),II(E,w))P(z,L-1,I.loop,w);A=g,w=E}if(z<L-1)P(z,L-1,I.loop,w)}return R}function FR(Z){return{backgroundColor:Z.backgroundColor,borderCapStyle:Z.borderCapStyle,borderDash:Z.borderDash,borderDashOffset:Z.borderDashOffset,borderJoinStyle:Z.borderJoinStyle,borderWidth:Z.borderWidth,borderColor:Z.borderColor}}function II(Z,J){if(!J)return!1;let q=[],Y=function(U,K){if(!nU(K))return K;if(!q.includes(K))q.push(K);return q.indexOf(K)};return JSON.stringify(Z,Y)!==JSON.stringify(J,Y)}function eq(Z,J,q){return Z.options.clip?Z[q]:J[q]}function jI(Z,J){let{xScale:q,yScale:Y}=Z;if(q&&Y)return{left:eq(q,J,"left"),right:eq(q,J,"right"),top:eq(Y,J,"top"),bottom:eq(Y,J,"bottom")};return J}function RN(Z,J){let q=J._clip;if(q.disabled)return!1;let Y=jI(J,Z.chartArea);return{left:q.left===!1?0:Y.left-(q.left===!0?0:q.left),right:q.right===!1?Z.width:Y.right+(q.right===!0?0:q.right),top:q.top===!1?0:Y.top-(q.top===!0?0:q.top),bottom:q.bottom===!1?Z.height:Y.bottom+(q.bottom===!0?0:q.bottom)}}/*!
|
|
251
|
+
* Chart.js v4.6.2
|
|
252
252
|
* https://www.chartjs.org
|
|
253
253
|
* (c) 2026 Chart.js Contributors
|
|
254
254
|
* Released under the MIT License
|
|
255
|
-
*/class cR{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(Q,J,q,Y){let U=J.listeners[Y],K=J.duration;U.forEach((H)=>H({chart:Q,initial:J.initial,numSteps:K,currentStep:Math.min(q-J.start,K)}))}_refresh(){if(this._request)return;this._running=!0,this._request=aU.call(window,()=>{if(this._update(),this._request=null,this._running)this._refresh()})}_update(Q=Date.now()){let J=0;if(this._charts.forEach((q,Y)=>{if(!q.running||!q.items.length)return;let U=q.items,K=U.length-1,H=!1,M;for(;K>=0;--K)if(M=U[K],M._active){if(M._total>q.duration)q.duration=M._total;M.tick(Q),H=!0}else U[K]=U[U.length-1],U.pop();if(H)Y.draw(),this._notify(Y,q,Q,"progress");if(!U.length)q.running=!1,this._notify(Y,q,Q,"complete"),q.initial=!1;J+=U.length}),this._lastDate=Q,J===0)this._running=!1}_getAnims(Q){let J=this._charts,q=J.get(Q);if(!q)q={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},J.set(Q,q);return q}listen(Q,J,q){this._getAnims(Q).listeners[J].push(q)}add(Q,J){if(!J||!J.length)return;this._getAnims(Q).items.push(...J)}has(Q){return this._getAnims(Q).items.length>0}start(Q){let J=this._charts.get(Q);if(!J)return;J.running=!0,J.start=Date.now(),J.duration=J.items.reduce((q,Y)=>Math.max(q,Y._duration),0),this._refresh()}running(Q){if(!this._running)return!1;let J=this._charts.get(Q);if(!J||!J.running||!J.items.length)return!1;return!0}stop(Q){let J=this._charts.get(Q);if(!J||!J.items.length)return;let q=J.items,Y=q.length-1;for(;Y>=0;--Y)q[Y].cancel();J.items=[],this._notify(Q,J,Date.now(),"complete")}remove(Q){return this._charts.delete(Q)}}var J6=new cR,nT="transparent",WI={boolean(Q,J,q){return q>0.5?J:Q},color(Q,J,q){let Y=$N(Q||nT),U=Y.valid&&$N(J||nT);return U&&U.valid?U.mix(Y,q).hexString():J},number(Q,J,q){return Q+(J-Q)*q}};class lR{constructor(Q,J,q,Y){let U=J[q];Y=cZ([Q.to,Y,U,Q.from]);let K=cZ([Q.from,U,Y]);this._active=!0,this._fn=Q.fn||WI[Q.type||typeof K],this._easing=y9[Q.easing]||y9.linear,this._start=Math.floor(Date.now()+(Q.delay||0)),this._duration=this._total=Math.floor(Q.duration),this._loop=!!Q.loop,this._target=J,this._prop=q,this._from=K,this._to=Y,this._promises=void 0}active(){return this._active}update(Q,J,q){if(this._active){this._notify(!1);let Y=this._target[this._prop],U=q-this._start,K=this._duration-U;this._start=q,this._duration=Math.floor(Math.max(K,Q.duration)),this._total+=U,this._loop=!!Q.loop,this._to=cZ([Q.to,J,Y,Q.from]),this._from=cZ([Q.from,Y,J])}}cancel(){if(this._active)this.tick(Date.now()),this._active=!1,this._notify(!1)}tick(Q){let J=Q-this._start,q=this._duration,Y=this._prop,U=this._from,K=this._loop,H=this._to,M;if(this._active=U!==H&&(K||J<q),!this._active){this._target[Y]=H,this._notify(!0);return}if(J<0){this._target[Y]=U;return}M=J/q%2,M=K&&M>1?2-M:M,M=this._easing(Math.min(1,Math.max(0,M))),this._target[Y]=this._fn(U,H,M)}wait(){let Q=this._promises||(this._promises=[]);return new Promise((J,q)=>{Q.push({res:J,rej:q})})}_notify(Q){let J=Q?"res":"rej",q=this._promises||[];for(let Y=0;Y<q.length;Y++)q[Y][J]()}}class bN{constructor(Q,J){this._chart=Q,this._properties=new Map,this.configure(J)}configure(Q){if(!n0(Q))return;let J=Object.keys(O1.animation),q=this._properties;Object.getOwnPropertyNames(Q).forEach((Y)=>{let U=Q[Y];if(!n0(U))return;let K={};for(let H of J)K[H]=U[H];(z1(U.properties)&&U.properties||[Y]).forEach((H)=>{if(H===Y||!q.has(H))q.set(H,K)})})}_animateOptions(Q,J){let q=J.options,Y=TI(Q,q);if(!Y)return[];let U=this._createAnimations(Y,q);if(q.$shared)wI(Q.options.$animations,q).then(()=>{Q.options=q},()=>{});return U}_createAnimations(Q,J){let q=this._properties,Y=[],U=Q.$animations||(Q.$animations={}),K=Object.keys(J),H=Date.now(),M;for(M=K.length-1;M>=0;--M){let F=K[M];if(F.charAt(0)==="$")continue;if(F==="options"){Y.push(...this._animateOptions(Q,J));continue}let T=J[F],R=U[F],z=q.get(F);if(R)if(z&&R.active()){R.update(z,T,H);continue}else R.cancel();if(!z||!z.duration){Q[F]=T;continue}U[F]=R=new lR(z,Q,F,T),Y.push(R)}return Y}update(Q,J){if(this._properties.size===0){Object.assign(Q,J);return}let q=this._createAnimations(Q,J);if(q.length)return J6.add(this._chart,q),!0}}function wI(Q,J){let q=[],Y=Object.keys(J);for(let U=0;U<Y.length;U++){let K=Q[Y[U]];if(K&&K.active())q.push(K.wait())}return Promise.all(q)}function TI(Q,J){if(!J)return;let q=Q.options;if(!q){Q.options=J;return}if(q.$shared)Q.options=q=Object.assign({},q,{$shared:!1,$animations:{}});return q}function oT(Q,J){let q=Q&&Q.options||{},Y=q.reverse,U=q.min===void 0?J:0,K=q.max===void 0?J:0;return{start:Y?K:U,end:Y?U:K}}function RI(Q,J,q){if(q===!1)return!1;let Y=oT(Q,q),U=oT(J,q);return{top:U.end,right:Y.end,bottom:U.start,left:Y.start}}function zI(Q){let J,q,Y,U;if(n0(Q))J=Q.top,q=Q.right,Y=Q.bottom,U=Q.left;else J=q=Y=U=Q;return{top:J,right:q,bottom:Y,left:U,disabled:Q===!1}}function rR(Q,J){let q=[],Y=Q._getSortedDatasetMetas(J),U,K;for(U=0,K=Y.length;U<K;++U)q.push(Y[U].index);return q}function iT(Q,J,q,Y={}){let U=Q.keys,K=Y.mode==="single",H,M,F,T;if(J===null)return;let R=!1;for(H=0,M=U.length;H<M;++H){if(F=+U[H],F===q){if(R=!0,Y.all)continue;break}if(T=Q.values[F],j1(T)&&(K||J===0||y4(J)===y4(T)))J+=T}if(!R&&!Y.all)return 0;return J}function VI(Q,J){let{iScale:q,vScale:Y}=J,U=q.axis==="x"?"x":"y",K=Y.axis==="x"?"x":"y",H=Object.keys(Q),M=Array(H.length),F,T,R;for(F=0,T=H.length;F<T;++F)R=H[F],M[F]={[U]:R,[K]:Q[R]};return M}function WN(Q,J){let q=Q&&Q.options.stacked;return q||q===void 0&&J.stack!==void 0}function LI(Q,J,q){return`${Q.id}.${J.id}.${q.stack||q.type}`}function _I(Q){let{min:J,max:q,minDefined:Y,maxDefined:U}=Q.getUserBounds();return{min:Y?J:Number.NEGATIVE_INFINITY,max:U?q:Number.POSITIVE_INFINITY}}function PI(Q,J,q){let Y=Q[J]||(Q[J]={});return Y[q]||(Y[q]={})}function aT(Q,J,q,Y){for(let U of J.getMatchingVisibleMetas(Y).reverse()){let K=Q[U.index];if(q&&K>0||!q&&K<0)return U.index}return null}function tT(Q,J){let{chart:q,_cachedMeta:Y}=Q,U=q._stacks||(q._stacks={}),{iScale:K,vScale:H,index:M}=Y,F=K.axis,T=H.axis,R=LI(K,H,Y),z=J.length,L;for(let E=0;E<z;++E){let I=J[E],{[F]:A,[T]:C}=I,y=I._stacks||(I._stacks={});L=y[T]=PI(U,R,A),L[M]=C,L._top=aT(L,H,!0,Y.type),L._bottom=aT(L,H,!1,Y.type);let m=L._visualValues||(L._visualValues={});m[M]=C}}function wN(Q,J){let q=Q.scales;return Object.keys(q).filter((Y)=>q[Y].axis===J).shift()}function EI(Q,J){return G6(Q,{active:!1,dataset:void 0,datasetIndex:J,index:J,mode:"default",type:"dataset"})}function CI(Q,J,q){return G6(Q,{active:!1,dataIndex:J,parsed:void 0,raw:void 0,element:q,index:J,mode:"default",type:"data"})}function lZ(Q,J){let q=Q.controller.index,Y=Q.vScale&&Q.vScale.axis;if(!Y)return;J=J||Q._parsed;for(let U of J){let K=U._stacks;if(!K||K[Y]===void 0||K[Y][q]===void 0)continue;if(delete K[Y][q],K[Y]._visualValues!==void 0&&K[Y]._visualValues[q]!==void 0)delete K[Y]._visualValues[q]}}var TN=(Q)=>Q==="reset"||Q==="none",eT=(Q,J)=>J?Q:Object.assign({},Q),II=(Q,J,q)=>Q&&!J.hidden&&J._stacked&&{keys:rR(q,!0),values:null};class Tq{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(Q,J){this.chart=Q,this._ctx=Q.ctx,this.index=J,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let Q=this._cachedMeta;if(this.configure(),this.linkScales(),Q._stacked=WN(Q.vScale,Q),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler"))console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(Q){if(this.index!==Q)lZ(this._cachedMeta);this.index=Q}linkScales(){let Q=this.chart,J=this._cachedMeta,q=this.getDataset(),Y=(R,z,L,E)=>R==="x"?z:R==="r"?E:L,U=J.xAxisID=h0(q.xAxisID,wN(Q,"x")),K=J.yAxisID=h0(q.yAxisID,wN(Q,"y")),H=J.rAxisID=h0(q.rAxisID,wN(Q,"r")),M=J.indexAxis,F=J.iAxisID=Y(M,U,K,H),T=J.vAxisID=Y(M,K,U,H);J.xScale=this.getScaleForId(U),J.yScale=this.getScaleForId(K),J.rScale=this.getScaleForId(H),J.iScale=this.getScaleForId(F),J.vScale=this.getScaleForId(T)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(Q){return this.chart.scales[Q]}_getOtherScale(Q){let J=this._cachedMeta;return Q===J.iScale?J.vScale:J.iScale}reset(){this._update("reset")}_destroy(){let Q=this._cachedMeta;if(this._data)oU(this._data,this);if(Q._stacked)lZ(Q)}_dataCheck(){let Q=this.getDataset(),J=Q.data||(Q.data=[]),q=this._data;if(n0(J)){let Y=this._cachedMeta;this._data=VI(J,Y)}else if(q!==J){if(q){oU(q,this);let Y=this._cachedMeta;lZ(Y),Y._parsed=[]}if(J&&Object.isExtensible(J))IT(J,this);this._syncList=[],this._data=J}}addElements(){let Q=this._cachedMeta;if(this._dataCheck(),this.datasetElementType)Q.dataset=new this.datasetElementType}buildOrUpdateElements(Q){let J=this._cachedMeta,q=this.getDataset(),Y=!1;this._dataCheck();let U=J._stacked;if(J._stacked=WN(J.vScale,J),J.stack!==q.stack)Y=!0,lZ(J),J.stack=q.stack;if(this._resyncElements(Q),Y||U!==J._stacked)tT(this,J._parsed),J._stacked=WN(J.vScale,J)}configure(){let Q=this.chart.config,J=Q.datasetScopeKeys(this._type),q=Q.getOptionScopes(this.getDataset(),J,!0);this.options=Q.createResolver(q,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(Q,J){let{_cachedMeta:q,_data:Y}=this,{iScale:U,_stacked:K}=q,H=U.axis,M=Q===0&&J===Y.length?!0:q._sorted,F=Q>0&&q._parsed[Q-1],T,R,z;if(this._parsing===!1)q._parsed=Y,q._sorted=!0,z=Y;else{if(z1(Y[Q]))z=this.parseArrayData(q,Y,Q,J);else if(n0(Y[Q]))z=this.parseObjectData(q,Y,Q,J);else z=this.parsePrimitiveData(q,Y,Q,J);let L=()=>R[H]===null||F&&R[H]<F[H];for(T=0;T<J;++T)if(q._parsed[T+Q]=R=z[T],M){if(L())M=!1;F=R}q._sorted=M}if(K)tT(this,z)}parsePrimitiveData(Q,J,q,Y){let{iScale:U,vScale:K}=Q,H=U.axis,M=K.axis,F=U.getLabels(),T=U===K,R=Array(Y),z,L,E;for(z=0,L=Y;z<L;++z)E=z+q,R[z]={[H]:T||U.parse(F[E],E),[M]:K.parse(J[E],E)};return R}parseArrayData(Q,J,q,Y){let{xScale:U,yScale:K}=Q,H=Array(Y),M,F,T,R;for(M=0,F=Y;M<F;++M)T=M+q,R=J[T],H[M]={x:U.parse(R[0],T),y:K.parse(R[1],T)};return H}parseObjectData(Q,J,q,Y){let{xScale:U,yScale:K}=Q,{xAxisKey:H="x",yAxisKey:M="y"}=this._parsing,F=Array(Y),T,R,z,L;for(T=0,R=Y;T<R;++T)z=T+q,L=J[z],F[T]={x:U.parse(W$(L,H),z),y:K.parse(W$(L,M),z)};return F}getParsed(Q){return this._cachedMeta._parsed[Q]}getDataElement(Q){return this._cachedMeta.data[Q]}applyStack(Q,J,q){let Y=this.chart,U=this._cachedMeta,K=J[Q.axis],H={keys:rR(Y,!0),values:J._stacks[Q.axis]._visualValues};return iT(H,K,U.index,{mode:q})}updateRangeFromParsed(Q,J,q,Y){let U=q[J.axis],K=U===null?NaN:U,H=Y&&q._stacks[J.axis];if(Y&&H)Y.values=H,K=iT(Y,U,this._cachedMeta.index);Q.min=Math.min(Q.min,K),Q.max=Math.max(Q.max,K)}getMinMax(Q,J){let q=this._cachedMeta,Y=q._parsed,U=q._sorted&&Q===q.iScale,K=Y.length,H=this._getOtherScale(Q),M=II(J,q,this.chart),F={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:T,max:R}=_I(H),z,L;function E(){L=Y[z];let I=L[H.axis];return!j1(L[Q.axis])||T>I||R<I}for(z=0;z<K;++z){if(E())continue;if(this.updateRangeFromParsed(F,Q,L,M),U)break}if(U)for(z=K-1;z>=0;--z){if(E())continue;this.updateRangeFromParsed(F,Q,L,M);break}return F}getAllParsedValues(Q){let J=this._cachedMeta._parsed,q=[],Y,U,K;for(Y=0,U=J.length;Y<U;++Y)if(K=J[Y][Q.axis],j1(K))q.push(K);return q}getMaxOverflow(){return!1}getLabelAndValue(Q){let J=this._cachedMeta,q=J.iScale,Y=J.vScale,U=this.getParsed(Q);return{label:q?""+q.getLabelForValue(U[q.axis]):"",value:Y?""+Y.getLabelForValue(U[Y.axis]):""}}_update(Q){let J=this._cachedMeta;this.update(Q||"default"),J._clip=zI(h0(this.options.clip,RI(J.xScale,J.yScale,this.getMaxOverflow())))}update(Q){}draw(){let Q=this._ctx,J=this.chart,q=this._cachedMeta,Y=q.data||[],U=J.chartArea,K=[],H=this._drawStart||0,M=this._drawCount||Y.length-H,F=this.options.drawActiveElementsOnTop,T;if(q.dataset)q.dataset.draw(Q,U,H,M);for(T=H;T<H+M;++T){let R=Y[T];if(R.hidden)continue;if(R.active&&F)K.push(R);else R.draw(Q,U)}for(T=0;T<K.length;++T)K[T].draw(Q,U)}getStyle(Q,J){let q=J?"active":"default";return Q===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(q):this.resolveDataElementOptions(Q||0,q)}getContext(Q,J,q){let Y=this.getDataset(),U;if(Q>=0&&Q<this._cachedMeta.data.length){let K=this._cachedMeta.data[Q];U=K.$context||(K.$context=CI(this.getContext(),Q,K)),U.parsed=this.getParsed(Q),U.raw=Y.data[Q],U.index=U.dataIndex=Q}else U=this.$context||(this.$context=EI(this.chart.getContext(),this.index)),U.dataset=Y,U.index=U.datasetIndex=this.index;return U.active=!!J,U.mode=q,U}resolveDatasetElementOptions(Q){return this._resolveElementOptions(this.datasetElementType.id,Q)}resolveDataElementOptions(Q,J){return this._resolveElementOptions(this.dataElementType.id,J,Q)}_resolveElementOptions(Q,J="default",q){let Y=J==="active",U=this._cachedDataOpts,K=Q+"-"+J,H=U[K],M=this.enableOptionSharing&&u9(q);if(H)return eT(H,M);let F=this.chart.config,T=F.datasetElementScopeKeys(this._type,Q),R=Y?[`${Q}Hover`,"hover",Q,""]:[Q,""],z=F.getOptionScopes(this.getDataset(),T),L=Object.keys(O1.elements[Q]),E=()=>this.getContext(q,Y,J),I=F.resolveNamedOptions(z,L,E,R);if(I.$shared)I.$shared=M,U[K]=Object.freeze(eT(I,M));return I}_resolveAnimations(Q,J,q){let Y=this.chart,U=this._cachedDataOpts,K=`animation-${J}`,H=U[K];if(H)return H;let M;if(Y.options.animation!==!1){let T=this.chart.config,R=T.datasetAnimationScopeKeys(this._type,J),z=T.getOptionScopes(this.getDataset(),R);M=T.createResolver(z,this.getContext(Q,q,J))}let F=new bN(Y,M&&M.animations);if(M&&M._cacheable)U[K]=Object.freeze(F);return F}getSharedOptions(Q){if(!Q.$shared)return;return this._sharedOptions||(this._sharedOptions=Object.assign({},Q))}includeOptions(Q,J){return!J||TN(Q)||this.chart._animationsDisabled}_getSharedOptions(Q,J){let q=this.resolveDataElementOptions(Q,J),Y=this._sharedOptions,U=this.getSharedOptions(q),K=this.includeOptions(J,U)||U!==Y;return this.updateSharedOptions(U,J,q),{sharedOptions:U,includeOptions:K}}updateElement(Q,J,q,Y){if(TN(Y))Object.assign(Q,q);else this._resolveAnimations(J,Y).update(Q,q)}updateSharedOptions(Q,J,q){if(Q&&!TN(J))this._resolveAnimations(void 0,J).update(Q,q)}_setStyle(Q,J,q,Y){Q.active=Y;let U=this.getStyle(J,Y);this._resolveAnimations(J,q,Y).update(Q,{options:!Y&&this.getSharedOptions(U)||U})}removeHoverStyle(Q,J,q){this._setStyle(Q,q,"active",!1)}setHoverStyle(Q,J,q){this._setStyle(Q,q,"active",!0)}_removeDatasetHoverStyle(){let Q=this._cachedMeta.dataset;if(Q)this._setStyle(Q,void 0,"active",!1)}_setDatasetHoverStyle(){let Q=this._cachedMeta.dataset;if(Q)this._setStyle(Q,void 0,"active",!0)}_resyncElements(Q){let J=this._data,q=this._cachedMeta.data;for(let[H,M,F]of this._syncList)this[H](M,F);this._syncList=[];let Y=q.length,U=J.length,K=Math.min(U,Y);if(K)this.parse(0,K);if(U>Y)this._insertElements(Y,U-Y,Q);else if(U<Y)this._removeElements(U,Y-U)}_insertElements(Q,J,q=!0){let Y=this._cachedMeta,U=Y.data,K=Q+J,H,M=(F)=>{F.length+=J;for(H=F.length-1;H>=K;H--)F[H]=F[H-J]};M(U);for(H=Q;H<K;++H)U[H]=new this.dataElementType;if(this._parsing)M(Y._parsed);if(this.parse(Q,J),q)this.updateElements(U,Q,J,"reset")}updateElements(Q,J,q,Y){}_removeElements(Q,J){let q=this._cachedMeta;if(this._parsing){let Y=q._parsed.splice(Q,J);if(q._stacked)lZ(q,Y)}q.data.splice(Q,J)}_sync(Q){if(this._parsing)this._syncList.push(Q);else{let[J,q,Y]=Q;this[J](q,Y)}this.chart._dataChanges.push([this.index,...Q])}_onDataPush(){let Q=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-Q,Q])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(Q,J){if(J)this._sync(["_removeElements",Q,J]);let q=arguments.length-2;if(q)this._sync(["_insertElements",Q,q])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function jI(Q,J){if(!Q._cache.$bar){let q=Q.getMatchingVisibleMetas(J),Y=[];for(let U=0,K=q.length;U<K;U++)Y=Y.concat(q[U].controller.getAllParsedValues(Q));Q._cache.$bar=iU(Y.sort((U,K)=>U-K))}return Q._cache.$bar}function OI(Q){let J=Q.iScale,q=jI(J,Q.type),Y=J._length,U,K,H,M,F=()=>{if(H===32767||H===-32768)return;if(u9(M))Y=Math.min(Y,Math.abs(H-M)||Y);M=H};for(U=0,K=q.length;U<K;++U)H=J.getPixelForValue(q[U]),F();M=void 0;for(U=0,K=J.ticks.length;U<K;++U)H=J.getPixelForTick(U),F();return Y}function DI(Q,J,q,Y){let U=q.barThickness,K,H;if(t0(U))K=J.min*q.categoryPercentage,H=q.barPercentage;else K=U*Y,H=1;return{chunk:K/Y,ratio:H,start:J.pixels[Q]-K/2}}function AI(Q,J,q,Y){let U=J.pixels,K=U[Q],H=Q>0?U[Q-1]:null,M=Q<U.length-1?U[Q+1]:null,F=q.categoryPercentage;if(H===null)H=K-(M===null?J.end-J.start:M-K);if(M===null)M=K+K-H;let T=K-(K-Math.min(H,M))/2*F;return{chunk:Math.abs(M-H)/2*F/Y,ratio:q.barPercentage,start:T}}function SI(Q,J,q,Y){let U=q.parse(Q[0],Y),K=q.parse(Q[1],Y),H=Math.min(U,K),M=Math.max(U,K),F=H,T=M;if(Math.abs(H)>Math.abs(M))F=M,T=H;J[q.axis]=T,J._custom={barStart:F,barEnd:T,start:U,end:K,min:H,max:M}}function sR(Q,J,q,Y){if(z1(Q))SI(Q,J,q,Y);else J[q.axis]=q.parse(Q,Y);return J}function $R(Q,J,q,Y){let{iScale:U,vScale:K}=Q,H=U.getLabels(),M=U===K,F=[],T,R,z,L;for(T=q,R=q+Y;T<R;++T)L=J[T],z={},z[U.axis]=M||U.parse(H[T],T),F.push(sR(L,z,K,T));return F}function RN(Q){return Q&&Q.barStart!==void 0&&Q.barEnd!==void 0}function vI(Q,J,q){if(Q!==0)return y4(Q);return(J.isHorizontal()?1:-1)*(J.min>=q?1:-1)}function kI(Q){let J,q,Y,U,K;if(Q.horizontal)J=Q.base>Q.x,q="left",Y="right";else J=Q.base<Q.y,q="bottom",Y="top";if(J)U="end",K="start";else U="start",K="end";return{start:q,end:Y,reverse:J,top:U,bottom:K}}function bI(Q,J,q,Y){let U=J.borderSkipped,K={};if(!U){Q.borderSkipped=K;return}if(U===!0){Q.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:H,end:M,reverse:F,top:T,bottom:R}=kI(Q);if(U==="middle"&&q)if(Q.enableBorderRadius=!0,(q._top||0)===Y)U=T;else if((q._bottom||0)===Y)U=R;else K[ZR(R,H,M,F)]=!0,U=T;K[ZR(U,H,M,F)]=!0,Q.borderSkipped=K}function ZR(Q,J,q,Y){if(Y)Q=fI(Q,J,q),Q=QR(Q,q,J);else Q=QR(Q,J,q);return Q}function fI(Q,J,q){return Q===J?q:Q===q?J:Q}function QR(Q,J,q){return Q==="start"?J:Q==="end"?q:Q}function yI(Q,{inflateAmount:J},q){Q.inflateAmount=J==="auto"?q===1?0.33:0:J}class fN extends Tq{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:0.8,barPercentage:0.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(Q,J,q,Y){return $R(Q,J,q,Y)}parseArrayData(Q,J,q,Y){return $R(Q,J,q,Y)}parseObjectData(Q,J,q,Y){let{iScale:U,vScale:K}=Q,{xAxisKey:H="x",yAxisKey:M="y"}=this._parsing,F=U.axis==="x"?H:M,T=K.axis==="x"?H:M,R=[],z,L,E,I;for(z=q,L=q+Y;z<L;++z)I=J[z],E={},E[U.axis]=U.parse(W$(I,F),z),R.push(sR(W$(I,T),E,K,z));return R}updateRangeFromParsed(Q,J,q,Y){super.updateRangeFromParsed(Q,J,q,Y);let U=q._custom;if(U&&J===this._cachedMeta.vScale)Q.min=Math.min(Q.min,U.min),Q.max=Math.max(Q.max,U.max)}getMaxOverflow(){return 0}getLabelAndValue(Q){let J=this._cachedMeta,{iScale:q,vScale:Y}=J,U=this.getParsed(Q),K=U._custom,H=RN(K)?"["+K.start+", "+K.end+"]":""+Y.getLabelForValue(U[Y.axis]);return{label:""+q.getLabelForValue(U[q.axis]),value:H}}initialize(){this.enableOptionSharing=!0,super.initialize();let Q=this._cachedMeta;Q.stack=this.getDataset().stack}update(Q){let J=this._cachedMeta;this.updateElements(J.data,0,J.data.length,Q)}updateElements(Q,J,q,Y){let U=Y==="reset",{index:K,_cachedMeta:{vScale:H}}=this,M=H.getBasePixel(),F=H.isHorizontal(),T=this._getRuler(),{sharedOptions:R,includeOptions:z}=this._getSharedOptions(J,Y);for(let L=J;L<J+q;L++){let E=this.getParsed(L),I=U||t0(E[H.axis])?{base:M,head:M}:this._calculateBarValuePixels(L),A=this._calculateBarIndexPixels(L,T),C=(E._stacks||{})[H.axis],y={horizontal:F,base:I.base,enableBorderRadius:!C||RN(E._custom)||K===C._top||K===C._bottom,x:F?I.head:A.center,y:F?A.center:I.head,height:F?A.size:Math.abs(I.size),width:F?Math.abs(I.size):A.size};if(z)y.options=R||this.resolveDataElementOptions(L,Q[L].active?"active":Y);let m=y.options||Q[L].options;bI(y,m,C,K),yI(y,m,T.ratio),this.updateElement(Q[L],L,y,Y)}}_getStacks(Q,J){let{iScale:q}=this._cachedMeta,Y=q.getMatchingVisibleMetas(this._type).filter((T)=>T.controller.options.grouped),U=q.options.stacked,K=[],H=this._cachedMeta.controller.getParsed(J),M=H&&H[q.axis],F=(T)=>{let R=T._parsed.find((L)=>L[q.axis]===M),z=R&&R[T.vScale.axis];if(t0(z)||isNaN(z))return!0};for(let T of Y){if(J!==void 0&&F(T))continue;if(U===!1||K.indexOf(T.stack)===-1||U===void 0&&T.stack===void 0)K.push(T.stack);if(T.index===Q)break}if(!K.length)K.push(void 0);return K}_getStackCount(Q){return this._getStacks(void 0,Q).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let Q=this.chart.scales,J=this.chart.options.indexAxis;return Object.keys(Q).filter((q)=>Q[q].axis===J).shift()}_getAxis(){let Q={},J=this.getFirstScaleIdForIndexAxis();for(let q of this.chart.data.datasets)Q[h0(this.chart.options.indexAxis==="x"?q.xAxisID:q.yAxisID,J)]=!0;return Object.keys(Q)}_getStackIndex(Q,J,q){let Y=this._getStacks(Q,q),U=J!==void 0?Y.indexOf(J):-1;return U===-1?Y.length-1:U}_getRuler(){let Q=this.options,J=this._cachedMeta,q=J.iScale,Y=[],U,K;for(U=0,K=J.data.length;U<K;++U)Y.push(q.getPixelForValue(this.getParsed(U)[q.axis],U));let H=Q.barThickness;return{min:H||OI(J),pixels:Y,start:q._startPixel,end:q._endPixel,stackCount:this._getStackCount(),scale:q,grouped:Q.grouped,ratio:H?1:Q.categoryPercentage*Q.barPercentage}}_calculateBarValuePixels(Q){let{_cachedMeta:{vScale:J,_stacked:q,index:Y},options:{base:U,minBarLength:K}}=this,H=U||0,M=this.getParsed(Q),F=M._custom,T=RN(F),R=M[J.axis],z=0,L=q?this.applyStack(J,M,q):R,E,I;if(L!==R)z=L-R,L=R;if(T){if(R=F.barStart,L=F.barEnd-F.barStart,R!==0&&y4(R)!==y4(F.barEnd))z=0;z+=R}let A=!t0(U)&&!T?U:z,C=J.getPixelForValue(A);if(this.chart.getDataVisibility(Q))E=J.getPixelForValue(z+L);else E=C;if(I=E-C,Math.abs(I)<K){if(I=vI(I,J,H)*K,R===H)C-=I/2;let y=J.getPixelForDecimal(0),m=J.getPixelForDecimal(1),n=Math.min(y,m),i=Math.max(y,m);if(C=Math.max(Math.min(C,i),n),E=C+I,q&&!T)M._stacks[J.axis]._visualValues[Y]=J.getValueForPixel(E)-J.getValueForPixel(C)}if(C===J.getPixelForValue(H)){let y=y4(I)*J.getLineWidthForValue(H)/2;C+=y,I-=y}return{size:I,base:C,head:E,center:E+I/2}}_calculateBarIndexPixels(Q,J){let q=J.scale,Y=this.options,U=Y.skipNull,K=h0(Y.maxBarThickness,1/0),H,M,F=this._getAxisCount();if(J.grouped){let T=U?this._getStackCount(Q):J.stackCount,R=Y.barThickness==="flex"?AI(Q,J,Y,T*F):DI(Q,J,Y,T*F),z=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,L=this._getAxis().indexOf(h0(z,this.getFirstScaleIdForIndexAxis())),E=this._getStackIndex(this.index,this._cachedMeta.stack,U?Q:void 0)+L;H=R.start+R.chunk*E+R.chunk/2,M=Math.min(K,R.chunk*R.ratio)}else H=q.getPixelForValue(this.getParsed(Q)[q.axis],Q),M=Math.min(K,J.min*J.ratio);return{base:H-M/2,head:H+M/2,center:H,size:M}}draw(){let Q=this._cachedMeta,J=Q.vScale,q=Q.data,Y=q.length,U=0;for(;U<Y;++U)if(this.getParsed(U)[J.axis]!==null&&!q[U].hidden)q[U].draw(this._ctx)}}class yN extends Tq{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(Q){let J=this._cachedMeta,{dataset:q,data:Y=[],_dataset:U}=J,K=this.chart._animationsDisabled,{start:H,count:M}=DT(J,Y,K);if(this._drawStart=H,this._drawCount=M,AT(J))H=0,M=Y.length;q._chart=this.chart,q._datasetIndex=this.index,q._decimated=!!U._decimated,q.points=Y;let F=this.resolveDatasetElementOptions(Q);if(!this.options.showLine)F.borderWidth=0;F.segment=this.options.segment,this.updateElement(q,void 0,{animated:!K,options:F},Q),this.updateElements(Y,H,M,Q)}updateElements(Q,J,q,Y){let U=Y==="reset",{iScale:K,vScale:H,_stacked:M,_dataset:F}=this._cachedMeta,{sharedOptions:T,includeOptions:R}=this._getSharedOptions(J,Y),z=K.axis,L=H.axis,{spanGaps:E,segment:I}=this.options,A=d9(E)?E:Number.POSITIVE_INFINITY,C=this.chart._animationsDisabled||U||Y==="none",y=J+q,m=Q.length,n=J>0&&this.getParsed(J-1);for(let i=0;i<m;++i){let r=Q[i],Q0=C?r:{};if(i<J||i>=y){Q0.skip=!0;continue}let p=this.getParsed(i),a=t0(p[L]),Y0=Q0[z]=K.getPixelForValue(p[z],i),d=Q0[L]=U||a?H.getBasePixel():H.getPixelForValue(M?this.applyStack(H,p,M):p[L],i);if(Q0.skip=isNaN(Y0)||isNaN(d)||a,Q0.stop=i>0&&Math.abs(p[z]-n[z])>A,I)Q0.parsed=p,Q0.raw=F.data[i];if(R)Q0.options=T||this.resolveDataElementOptions(i,r.active?"active":Y);if(!C)this.updateElement(r,i,Q0,Y);n=p}}getMaxOverflow(){let Q=this._cachedMeta,J=Q.dataset,q=J.options&&J.options.borderWidth||0,Y=Q.data||[];if(!Y.length)return q;let U=Y[0].size(this.resolveDataElementOptions(0)),K=Y[Y.length-1].size(this.resolveDataElementOptions(Y.length-1));return Math.max(q,U,K)/2}draw(){let Q=this._cachedMeta;Q.dataset.updateControlPoints(this.chart.chartArea,Q.iScale.axis),super.draw()}}function T$(){throw Error("This method is not implemented: Check that a complete date adapter is provided.")}class gN{static override(Q){Object.assign(gN.prototype,Q)}options;constructor(Q){this.options=Q||{}}init(){}formats(){return T$()}parse(){return T$()}format(){return T$()}add(){return T$()}diff(){return T$()}startOf(){return T$()}endOf(){return T$()}}var gI={_date:gN};function hI(Q,J,q,Y){let{controller:U,data:K,_sorted:H}=Q,M=U._cachedMeta.iScale,F=Q.dataset?Q.dataset.options?Q.dataset.options.spanGaps:null:null;if(M&&J===M.axis&&J!=="r"&&H&&K.length){let T=M._reversePixels?PT:X2;if(!Y){let R=T(K,J,q);if(F){let{vScale:z}=U._cachedMeta,{_parsed:L}=Q,E=L.slice(0,R.lo+1).reverse().findIndex((A)=>!t0(A[z.axis]));R.lo-=Math.max(0,E);let I=L.slice(R.hi).findIndex((A)=>!t0(A[z.axis]));R.hi+=Math.max(0,I)}return R}else if(U._sharedOptions){let R=K[0],z=typeof R.getRange==="function"&&R.getRange(J);if(z){let L=T(K,J,q-z),E=T(K,J,q+z);return{lo:L.lo,hi:E.hi}}}}return{lo:0,hi:K.length-1}}function QQ(Q,J,q,Y,U){let K=Q.getSortedVisibleDatasetMetas(),H=q[J];for(let M=0,F=K.length;M<F;++M){let{index:T,data:R}=K[M],{lo:z,hi:L}=hI(K[M],J,H,U);for(let E=z;E<=L;++E){let I=R[E];if(!I.skip)Y(I,T,E)}}}function xI(Q){let J=Q.indexOf("x")!==-1,q=Q.indexOf("y")!==-1;return function(Y,U){let K=J?Math.abs(Y.x-U.x):0,H=q?Math.abs(Y.y-U.y):0;return Math.sqrt(Math.pow(K,2)+Math.pow(H,2))}}function zN(Q,J,q,Y,U){let K=[];if(!U&&!Q.isPointInArea(J))return K;return QQ(Q,q,J,function(M,F,T){if(!U&&!T8(M,Q.chartArea,0))return;if(M.inRange(J.x,J.y,Y))K.push({element:M,datasetIndex:F,index:T})},!0),K}function uI(Q,J,q,Y){let U=[];function K(H,M,F){let{startAngle:T,endAngle:R}=H.getProps(["startAngle","endAngle"],Y),{angle:z}=LT(H,{x:J.x,y:J.y});if(nU(z,T,R))U.push({element:H,datasetIndex:M,index:F})}return QQ(Q,q,J,K),U}function mI(Q,J,q,Y,U,K){let H=[],M=xI(q),F=Number.POSITIVE_INFINITY;function T(R,z,L){let E=R.inRange(J.x,J.y,U);if(Y&&!E)return;let I=R.getCenterPoint(U);if(!(!!K||Q.isPointInArea(I))&&!E)return;let C=M(J,I);if(C<F)H=[{element:R,datasetIndex:z,index:L}],F=C;else if(C===F)H.push({element:R,datasetIndex:z,index:L})}return QQ(Q,q,J,T),H}function VN(Q,J,q,Y,U,K){if(!K&&!Q.isPointInArea(J))return[];return q==="r"&&!Y?uI(Q,J,q,U):mI(Q,J,q,Y,U,K)}function GR(Q,J,q,Y,U){let K=[],H=q==="x"?"inXRange":"inYRange",M=!1;if(QQ(Q,q,J,(F,T,R)=>{if(F[H]&&F[H](J[q],U))K.push({element:F,datasetIndex:T,index:R}),M=M||F.inRange(J.x,J.y,U)}),Y&&!M)return[];return K}var dI={evaluateInteractionItems:QQ,modes:{index(Q,J,q,Y){let U=H2(J,Q),K=q.axis||"x",H=q.includeInvisible||!1,M=q.intersect?zN(Q,U,K,Y,H):VN(Q,U,K,!1,Y,H),F=[];if(!M.length)return[];return Q.getSortedVisibleDatasetMetas().forEach((T)=>{let R=M[0].index,z=T.data[R];if(z&&!z.skip)F.push({element:z,datasetIndex:T.index,index:R})}),F},dataset(Q,J,q,Y){let U=H2(J,Q),K=q.axis||"xy",H=q.includeInvisible||!1,M=q.intersect?zN(Q,U,K,Y,H):VN(Q,U,K,!1,Y,H);if(M.length>0){let F=M[0].datasetIndex,T=Q.getDatasetMeta(F).data;M=[];for(let R=0;R<T.length;++R)M.push({element:T[R],datasetIndex:F,index:R})}return M},point(Q,J,q,Y){let U=H2(J,Q),K=q.axis||"xy",H=q.includeInvisible||!1;return zN(Q,U,K,Y,H)},nearest(Q,J,q,Y){let U=H2(J,Q),K=q.axis||"xy",H=q.includeInvisible||!1;return VN(Q,U,K,q.intersect,Y,H)},x(Q,J,q,Y){let U=H2(J,Q);return GR(Q,U,"x",q.intersect,Y)},y(Q,J,q,Y){let U=H2(J,Q);return GR(Q,U,"y",q.intersect,Y)}}},nR=["left","top","right","bottom"];function rZ(Q,J){return Q.filter((q)=>q.pos===J)}function JR(Q,J){return Q.filter((q)=>nR.indexOf(q.pos)===-1&&q.box.axis===J)}function sZ(Q,J){return Q.sort((q,Y)=>{let U=J?Y:q,K=J?q:Y;return U.weight===K.weight?U.index-K.index:U.weight-K.weight})}function pI(Q){let J=[],q,Y,U,K,H,M;for(q=0,Y=(Q||[]).length;q<Y;++q)U=Q[q],{position:K,options:{stack:H,stackWeight:M=1}}=U,J.push({index:q,box:U,pos:K,horizontal:U.isHorizontal(),weight:U.weight,stack:H&&K+H,stackWeight:M});return J}function cI(Q){let J={};for(let q of Q){let{stack:Y,pos:U,stackWeight:K}=q;if(!Y||!nR.includes(U))continue;let H=J[Y]||(J[Y]={count:0,placed:0,weight:0,size:0});H.count++,H.weight+=K}return J}function lI(Q,J){let q=cI(Q),{vBoxMaxWidth:Y,hBoxMaxHeight:U}=J,K,H,M;for(K=0,H=Q.length;K<H;++K){M=Q[K];let{fullSize:F}=M.box,T=q[M.stack],R=T&&M.stackWeight/T.weight;if(M.horizontal)M.width=R?R*Y:F&&J.availableWidth,M.height=U;else M.width=Y,M.height=R?R*U:F&&J.availableHeight}return q}function rI(Q){let J=pI(Q),q=sZ(J.filter((T)=>T.box.fullSize),!0),Y=sZ(rZ(J,"left"),!0),U=sZ(rZ(J,"right")),K=sZ(rZ(J,"top"),!0),H=sZ(rZ(J,"bottom")),M=JR(J,"x"),F=JR(J,"y");return{fullSize:q,leftAndTop:Y.concat(K),rightAndBottom:U.concat(F).concat(H).concat(M),chartArea:rZ(J,"chartArea"),vertical:Y.concat(U).concat(F),horizontal:K.concat(H).concat(M)}}function qR(Q,J,q,Y){return Math.max(Q[q],J[q])+Math.max(Q[Y],J[Y])}function oR(Q,J){Q.top=Math.max(Q.top,J.top),Q.left=Math.max(Q.left,J.left),Q.bottom=Math.max(Q.bottom,J.bottom),Q.right=Math.max(Q.right,J.right)}function sI(Q,J,q,Y){let{pos:U,box:K}=q,H=Q.maxPadding;if(!n0(U)){if(q.size)Q[U]-=q.size;let z=Y[q.stack]||{size:0,count:1};z.size=Math.max(z.size,q.horizontal?K.height:K.width),q.size=z.size/z.count,Q[U]+=q.size}if(K.getPadding)oR(H,K.getPadding());let M=Math.max(0,J.outerWidth-qR(H,Q,"left","right")),F=Math.max(0,J.outerHeight-qR(H,Q,"top","bottom")),T=M!==Q.w,R=F!==Q.h;return Q.w=M,Q.h=F,q.horizontal?{same:T,other:R}:{same:R,other:T}}function nI(Q){let J=Q.maxPadding;function q(Y){let U=Math.max(J[Y]-Q[Y],0);return Q[Y]+=U,U}Q.y+=q("top"),Q.x+=q("left"),q("right"),q("bottom")}function oI(Q,J){let q=J.maxPadding;function Y(U){let K={left:0,top:0,right:0,bottom:0};return U.forEach((H)=>{K[H]=Math.max(J[H],q[H])}),K}return Q?Y(["left","right"]):Y(["top","bottom"])}function iZ(Q,J,q,Y){let U=[],K,H,M,F,T,R;for(K=0,H=Q.length,T=0;K<H;++K){M=Q[K],F=M.box,F.update(M.width||J.w,M.height||J.h,oI(M.horizontal,J));let{same:z,other:L}=sI(J,q,M,Y);if(T|=z&&U.length,R=R||L,!F.fullSize)U.push(M)}return T&&iZ(U,J,q,Y)||R}function Nq(Q,J,q,Y,U){Q.top=q,Q.left=J,Q.right=J+Y,Q.bottom=q+U,Q.width=Y,Q.height=U}function XR(Q,J,q,Y){let U=q.padding,{x:K,y:H}=J;for(let M of Q){let F=M.box,T=Y[M.stack]||{count:1,placed:0,weight:1},R=M.stackWeight/T.weight||1;if(M.horizontal){let z=J.w*R,L=T.size||F.height;if(u9(T.start))H=T.start;if(F.fullSize)Nq(F,U.left,H,q.outerWidth-U.right-U.left,L);else Nq(F,J.left+T.placed,H,z,L);T.start=H,T.placed+=z,H=F.bottom}else{let z=J.h*R,L=T.size||F.width;if(u9(T.start))K=T.start;if(F.fullSize)Nq(F,K,U.top,L,q.outerHeight-U.bottom-U.top);else Nq(F,K,J.top+T.placed,L,z);T.start=K,T.placed+=z,K=F.right}}J.x=K,J.y=H}var _4={addBox(Q,J){if(!Q.boxes)Q.boxes=[];J.fullSize=J.fullSize||!1,J.position=J.position||"top",J.weight=J.weight||0,J._layers=J._layers||function(){return[{z:0,draw(q){J.draw(q)}}]},Q.boxes.push(J)},removeBox(Q,J){let q=Q.boxes?Q.boxes.indexOf(J):-1;if(q!==-1)Q.boxes.splice(q,1)},configure(Q,J,q){J.fullSize=q.fullSize,J.position=q.position,J.weight=q.weight},update(Q,J,q,Y){if(!Q)return;let U=X5(Q.options.layout.padding),K=Math.max(J-U.width,0),H=Math.max(q-U.height,0),M=rI(Q.boxes),F=M.vertical,T=M.horizontal;X1(Q.boxes,(A)=>{if(typeof A.beforeLayout==="function")A.beforeLayout()});let R=F.reduce((A,C)=>C.box.options&&C.box.options.display===!1?A:A+1,0)||1,z=Object.freeze({outerWidth:J,outerHeight:q,padding:U,availableWidth:K,availableHeight:H,vBoxMaxWidth:K/2/R,hBoxMaxHeight:H/2}),L=Object.assign({},U);oR(L,X5(Y));let E=Object.assign({maxPadding:L,w:K,h:H,x:U.left,y:U.top},U),I=lI(F.concat(T),z);if(iZ(M.fullSize,E,z,I),iZ(F,E,z,I),iZ(T,E,z,I))iZ(F,E,z,I);nI(E),XR(M.leftAndTop,E,z,I),E.x+=E.w,E.y+=E.h,XR(M.rightAndBottom,E,z,I),Q.chartArea={left:E.left,top:E.top,right:E.left+E.w,bottom:E.top+E.h,height:E.h,width:E.w},X1(M.chartArea,(A)=>{let C=A.box;Object.assign(C,Q.chartArea),C.update(E.w,E.h,{left:0,top:0,right:0,bottom:0})})}};class hN{acquireContext(Q,J){}releaseContext(Q){return!1}addEventListener(Q,J,q){}removeEventListener(Q,J,q){}getDevicePixelRatio(){return 1}getMaximumSize(Q,J,q,Y){return J=Math.max(0,J||Q.width),q=q||Q.height,{width:J,height:Math.max(0,Y?Math.floor(J/Y):q)}}isAttached(Q){return!0}updateConfig(Q){}}class iR extends hN{acquireContext(Q){return Q&&Q.getContext&&Q.getContext("2d")||null}updateConfig(Q){Q.options.animation=!1}}var Fq="$chartjs",iI={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},YR=(Q)=>Q===null||Q==="";function aI(Q,J){let q=Q.style,Y=Q.getAttribute("height"),U=Q.getAttribute("width");if(Q[Fq]={initial:{height:Y,width:U,style:{display:q.display,height:q.height,width:q.width}}},q.display=q.display||"block",q.boxSizing=q.boxSizing||"border-box",YR(U)){let K=NN(Q,"width");if(K!==void 0)Q.width=K}if(YR(Y))if(Q.style.height==="")Q.height=Q.width/(J||2);else{let K=NN(Q,"height");if(K!==void 0)Q.height=K}return Q}var aR=pT?{passive:!0}:!1;function tI(Q,J,q){if(Q)Q.addEventListener(J,q,aR)}function eI(Q,J,q){if(Q&&Q.canvas)Q.canvas.removeEventListener(J,q,aR)}function $j(Q,J){let q=iI[Q.type]||Q.type,{x:Y,y:U}=H2(Q,J);return{type:q,chart:J,native:Q,x:Y!==void 0?Y:null,y:U!==void 0?U:null}}function wq(Q,J){for(let q of Q)if(q===J||q.contains(J))return!0}function Zj(Q,J,q){let Y=Q.canvas,U=new MutationObserver((K)=>{let H=!1;for(let M of K)H=H||wq(M.addedNodes,Y),H=H&&!wq(M.removedNodes,Y);if(H)q()});return U.observe(document,{childList:!0,subtree:!0}),U}function Qj(Q,J,q){let Y=Q.canvas,U=new MutationObserver((K)=>{let H=!1;for(let M of K)H=H||wq(M.removedNodes,Y),H=H&&!wq(M.addedNodes,Y);if(H)q()});return U.observe(document,{childList:!0,subtree:!0}),U}var eZ=new Map,UR=0;function tR(){let Q=window.devicePixelRatio;if(Q===UR)return;UR=Q,eZ.forEach((J,q)=>{if(q.currentDevicePixelRatio!==Q)J()})}function Gj(Q,J){if(!eZ.size)window.addEventListener("resize",tR);eZ.set(Q,J)}function Jj(Q){if(eZ.delete(Q),!eZ.size)window.removeEventListener("resize",tR)}function qj(Q,J,q){let Y=Q.canvas,U=Y&&Yq(Y);if(!U)return;let K=tU((M,F)=>{let T=U.clientWidth;if(q(M,F),T<U.clientWidth)q()},window),H=new ResizeObserver((M)=>{let F=M[0],T=F.contentRect.width,R=F.contentRect.height;if(T===0&&R===0)return;K(T,R)});return H.observe(U),Gj(Q,K),H}function LN(Q,J,q){if(q)q.disconnect();if(J==="resize")Jj(Q)}function Xj(Q,J,q){let Y=Q.canvas,U=tU((K)=>{if(Q.ctx!==null)q($j(K,Q))},Q);return tI(Y,J,U),U}class eR extends hN{acquireContext(Q,J){let q=Q&&Q.getContext&&Q.getContext("2d");if(q&&q.canvas===Q)return aI(Q,J),q;return null}releaseContext(Q){let J=Q.canvas;if(!J[Fq])return!1;let q=J[Fq].initial;["height","width"].forEach((U)=>{let K=q[U];if(t0(K))J.removeAttribute(U);else J.setAttribute(U,K)});let Y=q.style||{};return Object.keys(Y).forEach((U)=>{J.style[U]=Y[U]}),J.width=J.width,delete J[Fq],!0}addEventListener(Q,J,q){this.removeEventListener(Q,J);let Y=Q.$proxies||(Q.$proxies={}),K={attach:Zj,detach:Qj,resize:qj}[J]||Xj;Y[J]=K(Q,J,q)}removeEventListener(Q,J){let q=Q.$proxies||(Q.$proxies={}),Y=q[J];if(!Y)return;({attach:LN,detach:LN,resize:LN}[J]||eI)(Q,J,Y),q[J]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(Q,J,q,Y){return dT(Q,J,q,Y)}isAttached(Q){let J=Q&&Yq(Q);return!!(J&&J.isConnected)}}function Yj(Q){if(!Xq()||typeof OffscreenCanvas<"u"&&Q instanceof OffscreenCanvas)return iR;return eR}class X6{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(Q){let{x:J,y:q}=this.getProps(["x","y"],Q);return{x:J,y:q}}hasValue(){return d9(this.x)&&d9(this.y)}getProps(Q,J){let q=this.$animations;if(!J||!q)return this;let Y={};return Q.forEach((U)=>{Y[U]=q[U]&&q[U].active()?q[U]._to:this[U]}),Y}}function Uj(Q,J){let q=Q.options.ticks,Y=Nj(Q),U=Math.min(q.maxTicksLimit||Y,Y),K=q.major.enabled?Bj(J):[],H=K.length,M=K[0],F=K[H-1],T=[];if(H>U)return Hj(J,T,K,H/U),T;let R=Kj(K,J,U);if(H>0){let z,L,E=H>1?Math.round((F-M)/(H-1)):null;Kq(J,T,R,t0(E)?0:M-E,M);for(z=0,L=H-1;z<L;z++)Kq(J,T,R,K[z],K[z+1]);return Kq(J,T,R,F,t0(E)?J.length:F+E),T}return Kq(J,T,R),T}function Nj(Q){let J=Q.options.offset,q=Q._tickSize(),Y=Q._length/q+(J?0:1),U=Q._maxLength/q;return Math.floor(Math.min(Y,U))}function Kj(Q,J,q){let Y=Mj(Q),U=J.length/q;if(!Y)return Math.max(U,1);let K=zT(Y);for(let H=0,M=K.length-1;H<M;H++){let F=K[H];if(F>U)return F}return Math.max(U,1)}function Bj(Q){let J=[],q,Y;for(q=0,Y=Q.length;q<Y;q++)if(Q[q].major)J.push(q);return J}function Hj(Q,J,q,Y){let U=0,K=q[0],H;Y=Math.ceil(Y);for(H=0;H<Q.length;H++)if(H===K)J.push(Q[H]),U++,K=q[U*Y]}function Kq(Q,J,q,Y,U){let K=h0(Y,0),H=Math.min(h0(U,Q.length),Q.length),M=0,F,T,R;if(q=Math.ceil(q),U)F=U-Y,q=F/Math.floor(F/q);R=K;while(R<0)M++,R=Math.round(K+M*q);for(T=Math.max(K,0);T<H;T++)if(T===R)J.push(Q[T]),M++,R=Math.round(K+M*q)}function Mj(Q){let J=Q.length,q,Y;if(J<2)return!1;for(Y=Q[0],q=1;q<J;++q)if(Q[q]-Q[q-1]!==Y)return!1;return Y}var Fj=(Q)=>Q==="left"?"right":Q==="right"?"left":Q,NR=(Q,J,q)=>J==="top"||J==="left"?Q[J]+q:Q[J]-q,KR=(Q,J)=>Math.min(J||Q,Q);function BR(Q,J){let q=[],Y=Q.length/J,U=Q.length,K=0;for(;K<U;K+=Y)q.push(Q[Math.floor(K)]);return q}function Wj(Q,J,q){let Y=Q.ticks.length,U=Math.min(J,Y-1),K=Q._startPixel,H=Q._endPixel,M=0.000001,F=Q.getPixelForTick(U),T;if(q){if(Y===1)T=Math.max(F-K,H-F);else if(J===0)T=(Q.getPixelForTick(1)-F)/2;else T=(F-Q.getPixelForTick(U-1))/2;if(F+=U<J?T:-T,F<K-0.000001||F>H+0.000001)return}return F}function wj(Q,J){X1(Q,(q)=>{let Y=q.gc,U=Y.length/2,K;if(U>J){for(K=0;K<U;++K)delete q.data[Y[K]];Y.splice(0,U)}})}function nZ(Q){return Q.drawTicks?Q.tickLength:0}function HR(Q,J){if(!Q.display)return 0;let q=p1(Q.font,J),Y=X5(Q.padding);return(z1(Q.text)?Q.text.length:1)*q.lineHeight+Y.height}function Tj(Q,J){return G6(Q,{scale:J,type:"scale"})}function Rj(Q,J,q){return G6(Q,{tick:q,index:J,type:"tick"})}function zj(Q,J,q){let Y=Zq(Q);if(q&&J!=="right"||!q&&J==="right")Y=Fj(Y);return Y}function Vj(Q,J,q,Y){let{top:U,left:K,bottom:H,right:M,chart:F}=Q,{chartArea:T,scales:R}=F,z=0,L,E,I,A=H-U,C=M-K;if(Q.isHorizontal()){if(E=q5(Y,K,M),n0(q)){let y=Object.keys(q)[0],m=q[y];I=R[y].getPixelForValue(m)+A-J}else if(q==="center")I=(T.bottom+T.top)/2+A-J;else I=NR(Q,q,J);L=M-K}else{if(n0(q)){let y=Object.keys(q)[0],m=q[y];E=R[y].getPixelForValue(m)-C+J}else if(q==="center")E=(T.left+T.right)/2-C+J;else E=NR(Q,q,J);I=q5(Y,H,U),z=q==="left"?-b5:b5}return{titleX:E,titleY:I,maxWidth:L,rotation:z}}class z$ extends X6{constructor(Q){super();this.id=Q.id,this.type=Q.type,this.options=void 0,this.ctx=Q.ctx,this.chart=Q.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(Q){this.options=Q.setContext(this.getContext()),this.axis=Q.axis,this._userMin=this.parse(Q.min),this._userMax=this.parse(Q.max),this._suggestedMin=this.parse(Q.suggestedMin),this._suggestedMax=this.parse(Q.suggestedMax)}parse(Q,J){return Q}getUserBounds(){let{_userMin:Q,_userMax:J,_suggestedMin:q,_suggestedMax:Y}=this;return Q=g5(Q,Number.POSITIVE_INFINITY),J=g5(J,Number.NEGATIVE_INFINITY),q=g5(q,Number.POSITIVE_INFINITY),Y=g5(Y,Number.NEGATIVE_INFINITY),{min:g5(Q,q),max:g5(J,Y),minDefined:j1(Q),maxDefined:j1(J)}}getMinMax(Q){let{min:J,max:q,minDefined:Y,maxDefined:U}=this.getUserBounds(),K;if(Y&&U)return{min:J,max:q};let H=this.getMatchingVisibleMetas();for(let M=0,F=H.length;M<F;++M){if(K=H[M].controller.getMinMax(this,Q),!Y)J=Math.min(J,K.min);if(!U)q=Math.max(q,K.max)}return J=U&&J>q?q:J,q=Y&&J>q?J:q,{min:g5(J,g5(q,J)),max:g5(q,g5(J,q))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let Q=this.chart.data;return this.options.labels||(this.isHorizontal()?Q.xLabels:Q.yLabels)||Q.labels||[]}getLabelItems(Q=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(Q))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){W1(this.options.beforeUpdate,[this])}update(Q,J,q){let{beginAtZero:Y,grace:U,ticks:K}=this.options,H=K.sampleSize;if(this.beforeUpdate(),this.maxWidth=Q,this.maxHeight=J,this._margins=q=Object.assign({left:0,right:0,top:0,bottom:0},q),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+q.left+q.right:this.height+q.top+q.bottom,!this._dataLimitsCached)this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=yT(this,U,Y),this._dataLimitsCached=!0;this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let M=H<this.ticks.length;if(this._convertTicksToLabels(M?BR(this.ticks,H):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),K.display&&(K.autoSkip||K.source==="auto"))this.ticks=Uj(this,this.ticks),this._labelSizes=null,this.afterAutoSkip();if(M)this._convertTicksToLabels(this.ticks);this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let Q=this.options.reverse,J,q;if(this.isHorizontal())J=this.left,q=this.right;else J=this.top,q=this.bottom,Q=!Q;this._startPixel=J,this._endPixel=q,this._reversePixels=Q,this._length=q-J,this._alignToPixels=this.options.alignToPixels}afterUpdate(){W1(this.options.afterUpdate,[this])}beforeSetDimensions(){W1(this.options.beforeSetDimensions,[this])}setDimensions(){if(this.isHorizontal())this.width=this.maxWidth,this.left=0,this.right=this.width;else this.height=this.maxHeight,this.top=0,this.bottom=this.height;this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){W1(this.options.afterSetDimensions,[this])}_callHooks(Q){this.chart.notifyPlugins(Q,this.getContext()),W1(this.options[Q],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){W1(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(Q){let J=this.options.ticks,q,Y,U;for(q=0,Y=Q.length;q<Y;q++)U=Q[q],U.label=W1(J.callback,[U.value,q,Q],this)}afterTickToLabelConversion(){W1(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){W1(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let Q=this.options,J=Q.ticks,q=KR(this.ticks.length,Q.ticks.maxTicksLimit),Y=J.minRotation||0,U=J.maxRotation,K=Y,H,M,F;if(!this._isVisible()||!J.display||Y>=U||q<=1||!this.isHorizontal()){this.labelRotation=Y;return}let T=this._getLabelSizes(),R=T.widest.width,z=T.highest.height,L=y5(this.chart.width-R,0,this.maxWidth);if(H=Q.offset?this.maxWidth/q:L/(q-1),R+6>H)H=L/(q-(Q.offset?0.5:1)),M=this.maxHeight-nZ(Q.grid)-J.padding-HR(Q.title,this.chart.options.font),F=Math.sqrt(R*R+z*z),K=eJ(Math.min(Math.asin(y5((T.highest.height+6)/H,-1,1)),Math.asin(y5(M/F,-1,1))-Math.asin(y5(z/F,-1,1)))),K=Math.max(Y,Math.min(U,K));this.labelRotation=K}afterCalculateLabelRotation(){W1(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){W1(this.options.beforeFit,[this])}fit(){let Q={width:0,height:0},{chart:J,options:{ticks:q,title:Y,grid:U}}=this,K=this._isVisible(),H=this.isHorizontal();if(K){let M=HR(Y,J.options.font);if(H)Q.width=this.maxWidth,Q.height=nZ(U)+M;else Q.height=this.maxHeight,Q.width=nZ(U)+M;if(q.display&&this.ticks.length){let{first:F,last:T,widest:R,highest:z}=this._getLabelSizes(),L=q.padding*2,E=Z6(this.labelRotation),I=Math.cos(E),A=Math.sin(E);if(H){let C=q.mirror?0:A*R.width+I*z.height;Q.height=Math.min(this.maxHeight,Q.height+C+L)}else{let C=q.mirror?0:I*R.width+A*z.height;Q.width=Math.min(this.maxWidth,Q.width+C+L)}this._calculatePadding(F,T,A,I)}}if(this._handleMargins(),H)this.width=this._length=J.width-this._margins.left-this._margins.right,this.height=Q.height;else this.width=Q.width,this.height=this._length=J.height-this._margins.top-this._margins.bottom}_calculatePadding(Q,J,q,Y){let{ticks:{align:U,padding:K},position:H}=this.options,M=this.labelRotation!==0,F=H!=="top"&&this.axis==="x";if(this.isHorizontal()){let T=this.getPixelForTick(0)-this.left,R=this.right-this.getPixelForTick(this.ticks.length-1),z=0,L=0;if(M)if(F)z=Y*Q.width,L=q*J.height;else z=q*Q.height,L=Y*J.width;else if(U==="start")L=J.width;else if(U==="end")z=Q.width;else if(U!=="inner")z=Q.width/2,L=J.width/2;this.paddingLeft=Math.max((z-T+K)*this.width/(this.width-T),0),this.paddingRight=Math.max((L-R+K)*this.width/(this.width-R),0)}else{let T=J.height/2,R=Q.height/2;if(U==="start")T=0,R=Q.height;else if(U==="end")T=J.height,R=0;this.paddingTop=T+K,this.paddingBottom=R+K}}_handleMargins(){if(this._margins)this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom)}afterFit(){W1(this.options.afterFit,[this])}isHorizontal(){let{axis:Q,position:J}=this.options;return J==="top"||J==="bottom"||Q==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(Q){this.beforeTickToLabelConversion(),this.generateTickLabels(Q);let J,q;for(J=0,q=Q.length;J<q;J++)if(t0(Q[J].label))Q.splice(J,1),q--,J--;this.afterTickToLabelConversion()}_getLabelSizes(){let Q=this._labelSizes;if(!Q){let J=this.options.ticks.sampleSize,q=this.ticks;if(J<q.length)q=BR(q,J);this._labelSizes=Q=this._computeLabelSizes(q,q.length,this.options.ticks.maxTicksLimit)}return Q}_computeLabelSizes(Q,J,q){let{ctx:Y,_longestTextCache:U}=this,K=[],H=[],M=Math.floor(J/KR(J,q)),F=0,T=0,R,z,L,E,I,A,C,y,m,n,i;for(R=0;R<J;R+=M){if(E=Q[R].label,I=this._resolveTickFontOptions(R),Y.font=A=I.string,C=U[A]=U[A]||{data:{},gc:[]},y=I.lineHeight,m=n=0,!t0(E)&&!z1(E))m=xZ(Y,C.data,C.gc,m,E),n=y;else if(z1(E)){for(z=0,L=E.length;z<L;++z)if(i=E[z],!t0(i)&&!z1(i))m=xZ(Y,C.data,C.gc,m,i),n+=y}K.push(m),H.push(n),F=Math.max(m,F),T=Math.max(n,T)}wj(U,J);let r=K.indexOf(F),Q0=H.indexOf(T),p=(a)=>({width:K[a]||0,height:H[a]||0});return{first:p(0),last:p(J-1),widest:p(r),highest:p(Q0),widths:K,heights:H}}getLabelForValue(Q){return Q}getPixelForValue(Q,J){return NaN}getValueForPixel(Q){}getPixelForTick(Q){let J=this.ticks;if(Q<0||Q>J.length-1)return null;return this.getPixelForValue(J[Q].value)}getPixelForDecimal(Q){if(this._reversePixels)Q=1-Q;let J=this._startPixel+Q*this._length;return _T(this._alignToPixels?N2(this.chart,J,0):J)}getDecimalForPixel(Q){let J=(Q-this._startPixel)/this._length;return this._reversePixels?1-J:J}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:Q,max:J}=this;return Q<0&&J<0?J:Q>0&&J>0?Q:0}getContext(Q){let J=this.ticks||[];if(Q>=0&&Q<J.length){let q=J[Q];return q.$context||(q.$context=Rj(this.getContext(),Q,q))}return this.$context||(this.$context=Tj(this.chart.getContext(),this))}_tickSize(){let Q=this.options.ticks,J=Z6(this.labelRotation),q=Math.abs(Math.cos(J)),Y=Math.abs(Math.sin(J)),U=this._getLabelSizes(),K=Q.autoSkipPadding||0,H=U?U.widest.width+K:0,M=U?U.highest.height+K:0;return this.isHorizontal()?M*q>H*Y?H/q:M/Y:M*Y<H*q?M/q:H/Y}_isVisible(){let Q=this.options.display;if(Q!=="auto")return!!Q;return this.getMatchingVisibleMetas().length>0}_computeGridLineItems(Q){let J=this.axis,q=this.chart,Y=this.options,{grid:U,position:K,border:H}=Y,M=U.offset,F=this.isHorizontal(),R=this.ticks.length+(M?1:0),z=nZ(U),L=[],E=H.setContext(this.getContext()),I=E.display?E.width:0,A=I/2,C=function(l){return N2(q,l,I)},y,m,n,i,r,Q0,p,a,Y0,d,N0,w0;if(K==="top")y=C(this.bottom),Q0=this.bottom-z,a=y-A,d=C(Q.top)+A,w0=Q.bottom;else if(K==="bottom")y=C(this.top),d=Q.top,w0=C(Q.bottom)-A,Q0=y+A,a=this.top+z;else if(K==="left")y=C(this.right),r=this.right-z,p=y-A,Y0=C(Q.left)+A,N0=Q.right;else if(K==="right")y=C(this.left),Y0=Q.left,N0=C(Q.right)-A,r=y+A,p=this.left+z;else if(J==="x"){if(K==="center")y=C((Q.top+Q.bottom)/2+0.5);else if(n0(K)){let l=Object.keys(K)[0],J0=K[l];y=C(this.chart.scales[l].getPixelForValue(J0))}d=Q.top,w0=Q.bottom,Q0=y+A,a=Q0+z}else if(J==="y"){if(K==="center")y=C((Q.left+Q.right)/2);else if(n0(K)){let l=Object.keys(K)[0],J0=K[l];y=C(this.chart.scales[l].getPixelForValue(J0))}r=y-A,p=r-z,Y0=Q.left,N0=Q.right}let z0=h0(Y.ticks.maxTicksLimit,R),C0=Math.max(1,Math.ceil(R/z0));for(m=0;m<R;m+=C0){let l=this.getContext(m),J0=U.setContext(l),K0=H.setContext(l),d0=J0.lineWidth,k0=J0.color,S=K0.dash||[],o=K0.dashOffset,B0=J0.tickWidth,H0=J0.tickColor,b0=J0.tickBorderDash||[],D1=J0.tickBorderDashOffset;if(n=Wj(this,m,M),n===void 0)continue;if(i=N2(q,n,d0),F)r=p=Y0=N0=i;else Q0=a=d=w0=i;L.push({tx1:r,ty1:Q0,tx2:p,ty2:a,x1:Y0,y1:d,x2:N0,y2:w0,width:d0,color:k0,borderDash:S,borderDashOffset:o,tickWidth:B0,tickColor:H0,tickBorderDash:b0,tickBorderDashOffset:D1})}return this._ticksLength=R,this._borderValue=y,L}_computeLabelItems(Q){let J=this.axis,q=this.options,{position:Y,ticks:U}=q,K=this.isHorizontal(),H=this.ticks,{align:M,crossAlign:F,padding:T,mirror:R}=U,z=nZ(q.grid),L=z+T,E=R?-T:L,I=-Z6(this.labelRotation),A=[],C,y,m,n,i,r,Q0,p,a,Y0,d,N0,w0="middle";if(Y==="top")r=this.bottom-E,Q0=this._getXAxisLabelAlignment();else if(Y==="bottom")r=this.top+E,Q0=this._getXAxisLabelAlignment();else if(Y==="left"){let C0=this._getYAxisLabelAlignment(z);Q0=C0.textAlign,i=C0.x}else if(Y==="right"){let C0=this._getYAxisLabelAlignment(z);Q0=C0.textAlign,i=C0.x}else if(J==="x"){if(Y==="center")r=(Q.top+Q.bottom)/2+L;else if(n0(Y)){let C0=Object.keys(Y)[0],l=Y[C0];r=this.chart.scales[C0].getPixelForValue(l)+L}Q0=this._getXAxisLabelAlignment()}else if(J==="y"){if(Y==="center")i=(Q.left+Q.right)/2-L;else if(n0(Y)){let C0=Object.keys(Y)[0],l=Y[C0];i=this.chart.scales[C0].getPixelForValue(l)}Q0=this._getYAxisLabelAlignment(z).textAlign}if(J==="y"){if(M==="start")w0="top";else if(M==="end")w0="bottom"}let z0=this._getLabelSizes();for(C=0,y=H.length;C<y;++C){m=H[C],n=m.label;let C0=U.setContext(this.getContext(C));p=this.getPixelForTick(C)+U.labelOffset,a=this._resolveTickFontOptions(C),Y0=a.lineHeight,d=z1(n)?n.length:1;let l=d/2,J0=C0.color,K0=C0.textStrokeColor,d0=C0.textStrokeWidth,k0=Q0;if(K){if(i=p,Q0==="inner")if(C===y-1)k0=!this.options.reverse?"right":"left";else if(C===0)k0=!this.options.reverse?"left":"right";else k0="center";if(Y==="top")if(F==="near"||I!==0)N0=-d*Y0+Y0/2;else if(F==="center")N0=-z0.highest.height/2-l*Y0+Y0;else N0=-z0.highest.height+Y0/2;else if(F==="near"||I!==0)N0=Y0/2;else if(F==="center")N0=z0.highest.height/2-l*Y0;else N0=z0.highest.height-d*Y0;if(R)N0*=-1;if(I!==0&&!C0.showLabelBackdrop)i+=Y0/2*Math.sin(I)}else r=p,N0=(1-d)*Y0/2;let S;if(C0.showLabelBackdrop){let o=X5(C0.backdropPadding),B0=z0.heights[C],H0=z0.widths[C],b0=N0-o.top,D1=0-o.left;switch(w0){case"middle":b0-=B0/2;break;case"bottom":b0-=B0;break}switch(Q0){case"center":D1-=H0/2;break;case"right":D1-=H0;break;case"inner":if(C===y-1)D1-=H0;else if(C>0)D1-=H0/2;break}S={left:D1,top:b0,width:H0+o.width,height:B0+o.height,color:C0.backdropColor}}A.push({label:n,font:a,textOffset:N0,options:{rotation:I,color:J0,strokeColor:K0,strokeWidth:d0,textAlign:k0,textBaseline:w0,translation:[i,r],backdrop:S}})}return A}_getXAxisLabelAlignment(){let{position:Q,ticks:J}=this.options;if(-Z6(this.labelRotation))return Q==="top"?"left":"right";let Y="center";if(J.align==="start")Y="left";else if(J.align==="end")Y="right";else if(J.align==="inner")Y="inner";return Y}_getYAxisLabelAlignment(Q){let{position:J,ticks:{crossAlign:q,mirror:Y,padding:U}}=this.options,K=this._getLabelSizes(),H=Q+U,M=K.widest.width,F,T;if(J==="left")if(Y)if(T=this.right+U,q==="near")F="left";else if(q==="center")F="center",T+=M/2;else F="right",T+=M;else if(T=this.right-H,q==="near")F="right";else if(q==="center")F="center",T-=M/2;else F="left",T=this.left;else if(J==="right")if(Y)if(T=this.left+U,q==="near")F="right";else if(q==="center")F="center",T-=M/2;else F="left",T-=M;else if(T=this.left+H,q==="near")F="left";else if(q==="center")F="center",T+=M/2;else F="right",T=this.right;else F="right";return{textAlign:F,x:T}}_computeLabelArea(){if(this.options.ticks.mirror)return;let Q=this.chart,J=this.options.position;if(J==="left"||J==="right")return{top:0,left:this.left,bottom:Q.height,right:this.right};if(J==="top"||J==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:Q.width}}drawBackground(){let{ctx:Q,options:{backgroundColor:J},left:q,top:Y,width:U,height:K}=this;if(J)Q.save(),Q.fillStyle=J,Q.fillRect(q,Y,U,K),Q.restore()}getLineWidthForValue(Q){let J=this.options.grid;if(!this._isVisible()||!J.display)return 0;let Y=this.ticks.findIndex((U)=>U.value===Q);if(Y>=0)return J.setContext(this.getContext(Y)).lineWidth;return 0}drawGrid(Q){let J=this.options.grid,q=this.ctx,Y=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(Q)),U,K,H=(M,F,T)=>{if(!T.width||!T.color)return;q.save(),q.lineWidth=T.width,q.strokeStyle=T.color,q.setLineDash(T.borderDash||[]),q.lineDashOffset=T.borderDashOffset,q.beginPath(),q.moveTo(M.x,M.y),q.lineTo(F.x,F.y),q.stroke(),q.restore()};if(J.display)for(U=0,K=Y.length;U<K;++U){let M=Y[U];if(J.drawOnChartArea)H({x:M.x1,y:M.y1},{x:M.x2,y:M.y2},M);if(J.drawTicks)H({x:M.tx1,y:M.ty1},{x:M.tx2,y:M.ty2},{color:M.tickColor,width:M.tickWidth,borderDash:M.tickBorderDash,borderDashOffset:M.tickBorderDashOffset})}}drawBorder(){let{chart:Q,ctx:J,options:{border:q,grid:Y}}=this,U=q.setContext(this.getContext()),K=q.display?U.width:0;if(!K)return;let H=Y.setContext(this.getContext(0)).lineWidth,M=this._borderValue,F,T,R,z;if(this.isHorizontal())F=N2(Q,this.left,K)-K/2,T=N2(Q,this.right,H)+H/2,R=z=M;else R=N2(Q,this.top,K)-K/2,z=N2(Q,this.bottom,H)+H/2,F=T=M;J.save(),J.lineWidth=U.width,J.strokeStyle=U.color,J.beginPath(),J.moveTo(F,R),J.lineTo(T,z),J.stroke(),J.restore()}drawLabels(Q){if(!this.options.ticks.display)return;let q=this.ctx,Y=this._computeLabelArea();if(Y)dZ(q,Y);let U=this.getLabelItems(Q);for(let K of U){let{options:H,font:M,label:F,textOffset:T}=K;K2(q,F,0,T,M,H)}if(Y)pZ(q)}drawTitle(){let{ctx:Q,options:{position:J,title:q,reverse:Y}}=this;if(!q.display)return;let U=p1(q.font),K=X5(q.padding),H=q.align,M=U.lineHeight/2;if(J==="bottom"||J==="center"||n0(J)){if(M+=K.bottom,z1(q.text))M+=U.lineHeight*(q.text.length-1)}else M+=K.top;let{titleX:F,titleY:T,maxWidth:R,rotation:z}=Vj(this,M,J,H);K2(Q,q.text,0,0,U,{color:q.color,maxWidth:R,rotation:z,textAlign:zj(H,J,Y),textBaseline:"middle",translation:[F,T],strokeColor:q.strokeColor,strokeWidth:q.strokeWidth})}draw(Q){if(!this._isVisible())return;this.drawBackground(),this.drawGrid(Q),this.drawBorder(),this.drawTitle(),this.drawLabels(Q)}_layers(){let Q=this.options,J=Q.ticks&&Q.ticks.z||0,q=h0(Q.grid&&Q.grid.z,-1),Y=h0(Q.border&&Q.border.z,0);if(!this._isVisible()||this.draw!==z$.prototype.draw)return[{z:J,draw:(U)=>{this.draw(U)}}];return[{z:q,draw:(U)=>{this.drawBackground(),this.drawGrid(U),this.drawTitle()}},{z:Y,draw:()=>{this.drawBorder()}},{z:J,draw:(U)=>{this.drawLabels(U)}}]}getMatchingVisibleMetas(Q){let J=this.chart.getSortedVisibleDatasetMetas(),q=this.axis+"AxisID",Y=[],U,K;for(U=0,K=J.length;U<K;++U){let H=J[U];if(H[q]===this.id&&(!Q||H.type===Q))Y.push(H)}return Y}_resolveTickFontOptions(Q){let J=this.options.ticks.setContext(this.getContext(Q));return p1(J.font)}_maxDigits(){let Q=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/Q}}class aZ{constructor(Q,J,q){this.type=Q,this.scope=J,this.override=q,this.items=Object.create(null)}isForType(Q){return Object.prototype.isPrototypeOf.call(this.type.prototype,Q.prototype)}register(Q){let J=Object.getPrototypeOf(Q),q;if(Pj(J))q=this.register(J);let Y=this.items,U=Q.id,K=this.scope+"."+U;if(!U)throw Error("class does not have id: "+Q);if(U in Y)return K;if(Y[U]=Q,Lj(Q,K,q),this.override)O1.override(Q.id,Q.overrides);return K}get(Q){return this.items[Q]}unregister(Q){let J=this.items,q=Q.id,Y=this.scope;if(q in J)delete J[q];if(Y&&q in O1[Y]){if(delete O1[Y][q],this.override)delete U2[q]}}}function Lj(Q,J,q){let Y=g9(Object.create(null),[q?O1.get(q):{},O1.get(J),Q.defaults]);if(O1.set(J,Y),Q.defaultRoutes)_j(J,Q.defaultRoutes);if(Q.descriptors)O1.describe(J,Q.descriptors)}function _j(Q,J){Object.keys(J).forEach((q)=>{let Y=q.split("."),U=Y.pop(),K=[Q].concat(Y).join("."),H=J[q].split("."),M=H.pop(),F=H.join(".");O1.route(K,U,F,M)})}function Pj(Q){return"id"in Q&&"defaults"in Q}class $z{constructor(){this.controllers=new aZ(Tq,"datasets",!0),this.elements=new aZ(X6,"elements"),this.plugins=new aZ(Object,"plugins"),this.scales=new aZ(z$,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...Q){this._each("register",Q)}remove(...Q){this._each("unregister",Q)}addControllers(...Q){this._each("register",Q,this.controllers)}addElements(...Q){this._each("register",Q,this.elements)}addPlugins(...Q){this._each("register",Q,this.plugins)}addScales(...Q){this._each("register",Q,this.scales)}getController(Q){return this._get(Q,this.controllers,"controller")}getElement(Q){return this._get(Q,this.elements,"element")}getPlugin(Q){return this._get(Q,this.plugins,"plugin")}getScale(Q){return this._get(Q,this.scales,"scale")}removeControllers(...Q){this._each("unregister",Q,this.controllers)}removeElements(...Q){this._each("unregister",Q,this.elements)}removePlugins(...Q){this._each("unregister",Q,this.plugins)}removeScales(...Q){this._each("unregister",Q,this.scales)}_each(Q,J,q){[...J].forEach((Y)=>{let U=q||this._getRegistryForType(Y);if(q||U.isForType(Y)||U===this.plugins&&Y.id)this._exec(Q,U,Y);else X1(Y,(K)=>{let H=q||this._getRegistryForType(K);this._exec(Q,H,K)})})}_exec(Q,J,q){let Y=tJ(Q);W1(q["before"+Y],[],q),J[Q](q),W1(q["after"+Y],[],q)}_getRegistryForType(Q){for(let J=0;J<this._typedRegistries.length;J++){let q=this._typedRegistries[J];if(q.isForType(Q))return q}return this.plugins}_get(Q,J,q){let Y=J.get(Q);if(Y===void 0)throw Error('"'+Q+'" is not a registered '+q+".");return Y}}var V8=new $z;class Zz{constructor(){this._init=void 0}notify(Q,J,q,Y){if(J==="beforeInit")this._init=this._createDescriptors(Q,!0),this._notify(this._init,Q,"install");if(this._init===void 0)return;let U=Y?this._descriptors(Q).filter(Y):this._descriptors(Q),K=this._notify(U,Q,J,q);if(J==="afterDestroy")this._notify(U,Q,"stop"),this._notify(this._init,Q,"uninstall"),this._init=void 0;return K}_notify(Q,J,q,Y){Y=Y||{};for(let U of Q){let K=U.plugin,H=K[q],M=[J,Y,U.options];if(W1(H,M,K)===!1&&Y.cancelable)return!1}return!0}invalidate(){if(!t0(this._cache))this._oldCache=this._cache,this._cache=void 0}_descriptors(Q){if(this._cache)return this._cache;let J=this._cache=this._createDescriptors(Q);return this._notifyStateChanges(Q),J}_createDescriptors(Q,J){let q=Q&&Q.config,Y=h0(q.options&&q.options.plugins,{}),U=Ej(q);return Y===!1&&!J?[]:Ij(Q,U,Y,J)}_notifyStateChanges(Q){let J=this._oldCache||[],q=this._cache,Y=(U,K)=>U.filter((H)=>!K.some((M)=>H.plugin.id===M.plugin.id));this._notify(Y(J,q),Q,"stop"),this._notify(Y(q,J),Q,"start")}}function Ej(Q){let J={},q=[],Y=Object.keys(V8.plugins.items);for(let K=0;K<Y.length;K++)q.push(V8.getPlugin(Y[K]));let U=Q.plugins||[];for(let K=0;K<U.length;K++){let H=U[K];if(q.indexOf(H)===-1)q.push(H),J[H.id]=!0}return{plugins:q,localIds:J}}function Cj(Q,J){if(!J&&Q===!1)return null;if(Q===!0)return{};return Q}function Ij(Q,{plugins:J,localIds:q},Y,U){let K=[],H=Q.getContext();for(let M of J){let F=M.id,T=Cj(Y[F],U);if(T===null)continue;K.push({plugin:M,options:jj(Q.config,{plugin:M,local:q[F]},T,H)})}return K}function jj(Q,{plugin:J,local:q},Y,U){let K=Q.pluginScopeKeys(J),H=Q.getOptionScopes(Y,K);if(q&&J.defaults)H.push(J.defaults);return Q.createResolver(H,U,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function IN(Q,J){let q=O1.datasets[Q]||{};return((J.datasets||{})[Q]||{}).indexAxis||J.indexAxis||q.indexAxis||"x"}function Oj(Q,J){let q=Q;if(Q==="_index_")q=J;else if(Q==="_value_")q=J==="x"?"y":"x";return q}function Dj(Q,J){return Q===J?"_index_":"_value_"}function MR(Q){if(Q==="x"||Q==="y"||Q==="r")return Q}function Aj(Q){if(Q==="top"||Q==="bottom")return"x";if(Q==="left"||Q==="right")return"y"}function jN(Q,...J){if(MR(Q))return Q;for(let q of J){let Y=q.axis||Aj(q.position)||Q.length>1&&MR(Q[0].toLowerCase());if(Y)return Y}throw Error(`Cannot determine type of '${Q}' axis. Please provide 'axis' or 'position' option.`)}function FR(Q,J,q){if(q[J+"AxisID"]===Q)return{axis:J}}function Sj(Q,J){if(J.data&&J.data.datasets){let q=J.data.datasets.filter((Y)=>Y.xAxisID===Q||Y.yAxisID===Q);if(q.length)return FR(Q,"x",q[0])||FR(Q,"y",q[0])}return{}}function vj(Q,J){let q=U2[Q.type]||{scales:{}},Y=J.scales||{},U=IN(Q.type,J),K=Object.create(null);return Object.keys(Y).forEach((H)=>{let M=Y[H];if(!n0(M))return console.error(`Invalid scale configuration for scale: ${H}`);if(M._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${H}`);let F=jN(H,M,Sj(H,Q),O1.scales[M.type]),T=Dj(F,U),R=q.scales||{};K[H]=x9(Object.create(null),[{axis:F},M,R[F],R[T]])}),Q.data.datasets.forEach((H)=>{let M=H.type||Q.type,F=H.indexAxis||IN(M,J),R=(U2[M]||{}).scales||{};Object.keys(R).forEach((z)=>{let L=Oj(z,F),E=H[L+"AxisID"]||L;K[E]=K[E]||Object.create(null),x9(K[E],[{axis:L},Y[E],R[z]])})}),Object.keys(K).forEach((H)=>{let M=K[H];x9(M,[O1.scales[M.type],O1.scale])}),K}function Qz(Q){let J=Q.options||(Q.options={});J.plugins=h0(J.plugins,{}),J.scales=vj(Q,J)}function Gz(Q){return Q=Q||{},Q.datasets=Q.datasets||[],Q.labels=Q.labels||[],Q}function kj(Q){return Q=Q||{},Q.data=Gz(Q.data),Qz(Q),Q}var WR=new Map,Jz=new Set;function Bq(Q,J){let q=WR.get(Q);if(!q)q=J(),WR.set(Q,q),Jz.add(q);return q}var oZ=(Q,J,q)=>{let Y=W$(J,q);if(Y!==void 0)Q.add(Y)};class qz{constructor(Q){this._config=kj(Q),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(Q){this._config.type=Q}get data(){return this._config.data}set data(Q){this._config.data=Gz(Q)}get options(){return this._config.options}set options(Q){this._config.options=Q}get plugins(){return this._config.plugins}update(){let Q=this._config;this.clearCache(),Qz(Q)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(Q){return Bq(Q,()=>[[`datasets.${Q}`,""]])}datasetAnimationScopeKeys(Q,J){return Bq(`${Q}.transition.${J}`,()=>[[`datasets.${Q}.transitions.${J}`,`transitions.${J}`],[`datasets.${Q}`,""]])}datasetElementScopeKeys(Q,J){return Bq(`${Q}-${J}`,()=>[[`datasets.${Q}.elements.${J}`,`datasets.${Q}`,`elements.${J}`,""]])}pluginScopeKeys(Q){let J=Q.id,q=this.type;return Bq(`${q}-plugin-${J}`,()=>[[`plugins.${J}`,...Q.additionalOptionScopes||[]]])}_cachedScopes(Q,J){let q=this._scopeCache,Y=q.get(Q);if(!Y||J)Y=new Map,q.set(Q,Y);return Y}getOptionScopes(Q,J,q){let{options:Y,type:U}=this,K=this._cachedScopes(Q,q),H=K.get(J);if(H)return H;let M=new Set;J.forEach((T)=>{if(Q)M.add(Q),T.forEach((R)=>oZ(M,Q,R));T.forEach((R)=>oZ(M,Y,R)),T.forEach((R)=>oZ(M,U2[U]||{},R)),T.forEach((R)=>oZ(M,O1,R)),T.forEach((R)=>oZ(M,Gq,R))});let F=Array.from(M);if(F.length===0)F.push(Object.create(null));if(Jz.has(J))K.set(J,F);return F}chartOptionScopes(){let{options:Q,type:J}=this;return[Q,U2[J]||{},O1.datasets[J]||{},{type:J},O1,Gq]}resolveNamedOptions(Q,J,q,Y=[""]){let U={$shared:!0},{resolver:K,subPrefixes:H}=wR(this._resolverCache,Q,Y),M=K;if(fj(K,J)){U.$shared=!1,q=e8(q)?q():q;let F=this.createResolver(Q,q,H);M=F$(K,q,F)}for(let F of J)U[F]=M[F];return U}createResolver(Q,J,q=[""],Y){let{resolver:U}=wR(this._resolverCache,Q,q);return n0(J)?F$(U,J,void 0,Y):U}}function wR(Q,J,q){let Y=Q.get(J);if(!Y)Y=new Map,Q.set(J,Y);let U=q.join(),K=Y.get(U);if(!K)K={resolver:qq(J,q),subPrefixes:q.filter((M)=>!M.toLowerCase().includes("hover"))},Y.set(U,K);return K}var bj=(Q)=>n0(Q)&&Object.getOwnPropertyNames(Q).some((J)=>e8(Q[J]));function fj(Q,J){let{isScriptable:q,isIndexable:Y}=qN(Q);for(let U of J){let K=q(U),H=Y(U),M=(H||K)&&Q[U];if(K&&(e8(M)||bj(M))||H&&z1(M))return!0}return!1}var yj="4.6.1",gj=["top","bottom","left","right","chartArea"];function TR(Q,J){return Q==="top"||Q==="bottom"||gj.indexOf(Q)===-1&&J==="x"}function RR(Q,J){return function(q,Y){return q[Q]===Y[Q]?q[J]-Y[J]:q[Q]-Y[Q]}}function zR(Q){let J=Q.chart,q=J.options.animation;J.notifyPlugins("afterRender"),W1(q&&q.onComplete,[Q],J)}function hj(Q){let J=Q.chart,q=J.options.animation;W1(q&&q.onProgress,[Q],J)}function Xz(Q){if(Xq()&&typeof Q==="string")Q=document.getElementById(Q);else if(Q&&Q.length)Q=Q[0];if(Q&&Q.canvas)Q=Q.canvas;return Q}var Wq={},VR=(Q)=>{let J=Xz(Q);return Object.values(Wq).filter((q)=>q.canvas===J).pop()};function xj(Q,J,q){let Y=Object.keys(Q);for(let U of Y){let K=+U;if(K>=J){let H=Q[U];if(delete Q[U],q>0||K>J)Q[K+q]=H}}}function uj(Q,J,q,Y){if(!q||Q.type==="mouseout")return null;if(Y)return J;return Q}class E5{static defaults=O1;static instances=Wq;static overrides=U2;static registry=V8;static version=yj;static getChart=VR;static register(...Q){V8.add(...Q),LR()}static unregister(...Q){V8.remove(...Q),LR()}constructor(Q,J){let q=this.config=new qz(J),Y=Xz(Q),U=VR(Y);if(U)throw Error("Canvas is already in use. Chart with ID '"+U.id+"' must be destroyed before the canvas with ID '"+U.canvas.id+"' can be reused.");let K=q.createResolver(q.chartOptionScopes(),this.getContext());this.platform=new(q.platform||Yj(Y)),this.platform.updateConfig(q);let H=this.platform.acquireContext(Y,K.aspectRatio),M=H&&H.canvas,F=M&&M.height,T=M&&M.width;if(this.id=WT(),this.ctx=H,this.canvas=M,this.width=T,this.height=F,this._options=K,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Zz,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=jT((R)=>this.update(R),K.resizeDelay||0),this._dataChanges=[],Wq[this.id]=this,!H||!M){console.error("Failed to create chart: can't acquire context from the given item");return}if(J6.listen(this,"complete",zR),J6.listen(this,"progress",hj),this._initialize(),this.attached)this.update()}get aspectRatio(){let{options:{aspectRatio:Q,maintainAspectRatio:J},width:q,height:Y,_aspectRatio:U}=this;if(!t0(Q))return Q;if(J&&U)return U;return Y?q/Y:null}get data(){return this.config.data}set data(Q){this.config.data=Q}get options(){return this._options}set options(Q){this.config.options=Q}get registry(){return V8}_initialize(){if(this.notifyPlugins("beforeInit"),this.options.responsive)this.resize();else UN(this,this.options.devicePixelRatio);return this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ZN(this.canvas,this.ctx),this}stop(){return J6.stop(this),this}resize(Q,J){if(!J6.running(this))this._resize(Q,J);else this._resizeBeforeDraw={width:Q,height:J}}_resize(Q,J){let q=this.options,Y=this.canvas,U=q.maintainAspectRatio&&this.aspectRatio,K=this.platform.getMaximumSize(Y,Q,J,U),H=q.devicePixelRatio||this.platform.getDevicePixelRatio(),M=this.width?"resize":"attach";if(this.width=K.width,this.height=K.height,this._aspectRatio=this.aspectRatio,!UN(this,H,!0))return;if(this.notifyPlugins("resize",{size:K}),W1(q.onResize,[this,K],this),this.attached){if(this._doResize(M))this.render()}}ensureScalesHaveIDs(){let J=this.options.scales||{};X1(J,(q,Y)=>{q.id=Y})}buildOrUpdateScales(){let Q=this.options,J=Q.scales,q=this.scales,Y=Object.keys(q).reduce((K,H)=>{return K[H]=!1,K},{}),U=[];if(J)U=U.concat(Object.keys(J).map((K)=>{let H=J[K],M=jN(K,H),F=M==="r",T=M==="x";return{options:H,dposition:F?"chartArea":T?"bottom":"left",dtype:F?"radialLinear":T?"category":"linear"}}));X1(U,(K)=>{let H=K.options,M=H.id,F=jN(M,H),T=h0(H.type,K.dtype);if(H.position===void 0||TR(H.position,F)!==TR(K.dposition))H.position=K.dposition;Y[M]=!0;let R=null;if(M in q&&q[M].type===T)R=q[M];else R=new(V8.getScale(T))({id:M,type:T,ctx:this.ctx,chart:this}),q[R.id]=R;R.init(H,Q)}),X1(Y,(K,H)=>{if(!K)delete q[H]}),X1(q,(K)=>{_4.configure(this,K,K.options),_4.addBox(this,K)})}_updateMetasets(){let Q=this._metasets,J=this.data.datasets.length,q=Q.length;if(Q.sort((Y,U)=>Y.index-U.index),q>J){for(let Y=J;Y<q;++Y)this._destroyDatasetMeta(Y);Q.splice(J,q-J)}this._sortedMetasets=Q.slice(0).sort(RR("order","index"))}_removeUnreferencedMetasets(){let{_metasets:Q,data:{datasets:J}}=this;if(Q.length>J.length)delete this._stacks;Q.forEach((q,Y)=>{if(J.filter((U)=>U===q._dataset).length===0)this._destroyDatasetMeta(Y)})}buildOrUpdateControllers(){let Q=[],J=this.data.datasets,q,Y;this._removeUnreferencedMetasets();for(q=0,Y=J.length;q<Y;q++){let U=J[q],K=this.getDatasetMeta(q),H=U.type||this.config.type;if(K.type&&K.type!==H)this._destroyDatasetMeta(q),K=this.getDatasetMeta(q);if(K.type=H,K.indexAxis=U.indexAxis||IN(H,this.options),K.order=U.order||0,K.index=q,K.label=""+U.label,K.visible=this.isDatasetVisible(q),K.controller)K.controller.updateIndex(q),K.controller.linkScales();else{let M=V8.getController(H),{datasetElementType:F,dataElementType:T}=O1.datasets[H];Object.assign(M,{dataElementType:V8.getElement(T),datasetElementType:F&&V8.getElement(F)}),K.controller=new M(this,q),Q.push(K.controller)}}return this._updateMetasets(),Q}_resetElements(){X1(this.data.datasets,(Q,J)=>{this.getDatasetMeta(J).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(Q){let J=this.config;J.update();let q=this._options=J.createResolver(J.chartOptionScopes(),this.getContext()),Y=this._animationsDisabled=!q.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:Q,cancelable:!0})===!1)return;let U=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let K=0;for(let F=0,T=this.data.datasets.length;F<T;F++){let{controller:R}=this.getDatasetMeta(F),z=!Y&&U.indexOf(R)===-1;R.buildOrUpdateElements(z),K=Math.max(+R.getMaxOverflow(),K)}if(K=this._minPadding=q.layout.autoPadding?K:0,this._updateLayout(K),!Y)X1(U,(F)=>{F.reset()});this._updateDatasets(Q),this.notifyPlugins("afterUpdate",{mode:Q}),this._layers.sort(RR("z","_idx"));let{_active:H,_lastEvent:M}=this;if(M)this._eventHandler(M,!0);else if(H.length)this._updateHoverStyles(H,H,!0);this.render()}_updateScales(){X1(this.scales,(Q)=>{_4.removeBox(this,Q)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let Q=this.options,J=new Set(Object.keys(this._listeners)),q=new Set(Q.events);if(!cU(J,q)||!!this._responsiveListeners!==Q.responsive)this.unbindEvents(),this.bindEvents()}_updateHiddenIndices(){let{_hiddenIndices:Q}=this,J=this._getUniformDataChanges()||[];for(let{method:q,start:Y,count:U}of J){let K=q==="_removeElements"?-U:U;xj(Q,Y,K)}}_getUniformDataChanges(){let Q=this._dataChanges;if(!Q||!Q.length)return;this._dataChanges=[];let J=this.data.datasets.length,q=(U)=>new Set(Q.filter((K)=>K[0]===U).map((K,H)=>H+","+K.splice(1).join(","))),Y=q(0);for(let U=1;U<J;U++)if(!cU(Y,q(U)))return;return Array.from(Y).map((U)=>U.split(",")).map((U)=>({method:U[1],start:+U[2],count:+U[3]}))}_updateLayout(Q){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;_4.update(this,this.width,this.height,Q);let J=this.chartArea,q=J.width<=0||J.height<=0;this._layers=[],X1(this.boxes,(Y)=>{if(q&&Y.position==="chartArea")return;if(Y.configure)Y.configure();this._layers.push(...Y._layers())},this),this._layers.forEach((Y,U)=>{Y._idx=U}),this.notifyPlugins("afterLayout")}_updateDatasets(Q){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:Q,cancelable:!0})===!1)return;for(let J=0,q=this.data.datasets.length;J<q;++J)this.getDatasetMeta(J).controller.configure();for(let J=0,q=this.data.datasets.length;J<q;++J)this._updateDataset(J,e8(Q)?Q({datasetIndex:J}):Q);this.notifyPlugins("afterDatasetsUpdate",{mode:Q})}_updateDataset(Q,J){let q=this.getDatasetMeta(Q),Y={meta:q,index:Q,mode:J,cancelable:!0};if(this.notifyPlugins("beforeDatasetUpdate",Y)===!1)return;q.controller._update(J),Y.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",Y)}render(){if(this.notifyPlugins("beforeRender",{cancelable:!0})===!1)return;if(J6.has(this)){if(this.attached&&!J6.running(this))J6.start(this)}else this.draw(),zR({chart:this})}draw(){let Q;if(this._resizeBeforeDraw){let{width:q,height:Y}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(q,Y)}if(this.clear(),this.width<=0||this.height<=0)return;if(this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;let J=this._layers;for(Q=0;Q<J.length&&J[Q].z<=0;++Q)J[Q].draw(this.chartArea);this._drawDatasets();for(;Q<J.length;++Q)J[Q].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(Q){let J=this._sortedMetasets,q=[],Y,U;for(Y=0,U=J.length;Y<U;++Y){let K=J[Y];if(!Q||K.visible)q.push(K)}return q}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;let Q=this.getSortedVisibleDatasetMetas();for(let J=Q.length-1;J>=0;--J)this._drawDataset(Q[J]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(Q){let J=this.ctx,q={meta:Q,index:Q.index,cancelable:!0},Y=FN(this,Q);if(this.notifyPlugins("beforeDatasetDraw",q)===!1)return;if(Y)dZ(J,Y);if(Q.controller.draw(),Y)pZ(J);q.cancelable=!1,this.notifyPlugins("afterDatasetDraw",q)}isPointInArea(Q){return T8(Q,this.chartArea,this._minPadding)}getElementsAtEventForMode(Q,J,q,Y){let U=dI.modes[J];if(typeof U==="function")return U(this,Q,q,Y);return[]}getDatasetMeta(Q){let J=this.data.datasets[Q],q=this._metasets,Y=q.filter((U)=>U&&U._dataset===J).pop();if(!Y)Y={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:J&&J.order||0,index:Q,_dataset:J,_parsed:[],_sorted:!1},q.push(Y);return Y}getContext(){return this.$context||(this.$context=G6(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(Q){let J=this.data.datasets[Q];if(!J)return!1;let q=this.getDatasetMeta(Q);return typeof q.hidden==="boolean"?!q.hidden:!J.hidden}setDatasetVisibility(Q,J){let q=this.getDatasetMeta(Q);q.hidden=!J}toggleDataVisibility(Q){this._hiddenIndices[Q]=!this._hiddenIndices[Q]}getDataVisibility(Q){return!this._hiddenIndices[Q]}_updateVisibility(Q,J,q){let Y=q?"show":"hide",U=this.getDatasetMeta(Q),K=U.controller._resolveAnimations(void 0,Y);if(u9(J))U.data[J].hidden=!q,this.update();else this.setDatasetVisibility(Q,q),K.update(U,{visible:q}),this.update((H)=>H.datasetIndex===Q?Y:void 0)}hide(Q,J){this._updateVisibility(Q,J,!1)}show(Q,J){this._updateVisibility(Q,J,!0)}_destroyDatasetMeta(Q){let J=this._metasets[Q];if(J&&J.controller)J.controller._destroy();delete this._metasets[Q]}_stop(){let Q,J;this.stop(),J6.remove(this);for(Q=0,J=this.data.datasets.length;Q<J;++Q)this._destroyDatasetMeta(Q)}destroy(){this.notifyPlugins("beforeDestroy");let{canvas:Q,ctx:J}=this;if(this._stop(),this.config.clearCache(),Q)this.unbindEvents(),ZN(Q,J),this.platform.releaseContext(J),this.canvas=null,this.ctx=null;delete Wq[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...Q){return this.canvas.toDataURL(...Q)}bindEvents(){if(this.bindUserEvents(),this.options.responsive)this.bindResponsiveEvents();else this.attached=!0}bindUserEvents(){let Q=this._listeners,J=this.platform,q=(U,K)=>{J.addEventListener(this,U,K),Q[U]=K},Y=(U,K,H)=>{U.offsetX=K,U.offsetY=H,this._eventHandler(U)};X1(this.options.events,(U)=>q(U,Y))}bindResponsiveEvents(){if(!this._responsiveListeners)this._responsiveListeners={};let Q=this._responsiveListeners,J=this.platform,q=(M,F)=>{J.addEventListener(this,M,F),Q[M]=F},Y=(M,F)=>{if(Q[M])J.removeEventListener(this,M,F),delete Q[M]},U=(M,F)=>{if(this.canvas)this.resize(M,F)},K,H=()=>{Y("attach",H),this.attached=!0,this.resize(),q("resize",U),q("detach",K)};if(K=()=>{this.attached=!1,Y("resize",U),this._stop(),this._resize(0,0),q("attach",H)},J.isAttached(this.canvas))H();else K()}unbindEvents(){X1(this._listeners,(Q,J)=>{this.platform.removeEventListener(this,J,Q)}),this._listeners={},X1(this._responsiveListeners,(Q,J)=>{this.platform.removeEventListener(this,J,Q)}),this._responsiveListeners=void 0}updateHoverStyle(Q,J,q){let Y=q?"set":"remove",U,K,H,M;if(J==="dataset")U=this.getDatasetMeta(Q[0].datasetIndex),U.controller["_"+Y+"DatasetHoverStyle"]();for(H=0,M=Q.length;H<M;++H){K=Q[H];let F=K&&this.getDatasetMeta(K.datasetIndex).controller;if(F)F[Y+"HoverStyle"](K.element,K.datasetIndex,K.index)}}getActiveElements(){return this._active||[]}setActiveElements(Q){let J=this._active||[],q=Q.map(({datasetIndex:U,index:K})=>{let H=this.getDatasetMeta(U);if(!H)throw Error("No dataset found at index "+U);return{datasetIndex:U,element:H.data[K],index:K}});if(!uZ(q,J))this._active=q,this._lastEvent=null,this._updateHoverStyles(q,J)}notifyPlugins(Q,J,q){return this._plugins.notify(this,Q,J,q)}isPluginEnabled(Q){return this._plugins._cache.filter((J)=>J.plugin.id===Q).length===1}_updateHoverStyles(Q,J,q){let Y=this.options.hover,U=(M,F)=>M.filter((T)=>!F.some((R)=>T.datasetIndex===R.datasetIndex&&T.index===R.index)),K=U(J,Q),H=q?Q:U(Q,J);if(K.length)this.updateHoverStyle(K,Y.mode,!1);if(H.length&&Y.mode)this.updateHoverStyle(H,Y.mode,!0)}_eventHandler(Q,J){let q={event:Q,replay:J,cancelable:!0,inChartArea:this.isPointInArea(Q)},Y=(K)=>(K.options.events||this.options.events).includes(Q.native.type);if(this.notifyPlugins("beforeEvent",q,Y)===!1)return;let U=this._handleEvent(Q,J,q.inChartArea);if(q.cancelable=!1,this.notifyPlugins("afterEvent",q,Y),U||q.changed)this.render();return this}_handleEvent(Q,J,q){let{_active:Y=[],options:U}=this,K=J,H=this._getActiveElements(Q,Y,q,K),M=RT(Q),F=uj(Q,this._lastEvent,q,M);if(q){if(this._lastEvent=null,W1(U.onHover,[Q,H,this],this),M)W1(U.onClick,[Q,H,this],this)}let T=!uZ(H,Y);if(T||J)this._active=H,this._updateHoverStyles(H,Y,J);return this._lastEvent=F,T}_getActiveElements(Q,J,q,Y){if(Q.type==="mouseout")return[];if(!q)return J;let U=this.options.hover;return this.getElementsAtEventForMode(Q,U.mode,U,Y)}}function LR(){return X1(E5.instances,(Q)=>Q._plugins.invalidate())}function Yz(Q,J,q=J){Q.lineCap=h0(q.borderCapStyle,J.borderCapStyle),Q.setLineDash(h0(q.borderDash,J.borderDash)),Q.lineDashOffset=h0(q.borderDashOffset,J.borderDashOffset),Q.lineJoin=h0(q.borderJoinStyle,J.borderJoinStyle),Q.lineWidth=h0(q.borderWidth,J.borderWidth),Q.strokeStyle=h0(q.borderColor,J.borderColor)}function mj(Q,J,q){Q.lineTo(q.x,q.y)}function dj(Q){if(Q.stepped)return bT;if(Q.tension||Q.cubicInterpolationMode==="monotone")return fT;return mj}function Uz(Q,J,q={}){let Y=Q.length,{start:U=0,end:K=Y-1}=q,{start:H,end:M}=J,F=Math.max(U,H),T=Math.min(K,M),R=U<H&&K<H||U>M&&K>M;return{count:Y,start:F,loop:J.loop,ilen:T<F&&!R?Y+T-F:T-F}}function pj(Q,J,q,Y){let{points:U,options:K}=J,{count:H,start:M,loop:F,ilen:T}=Uz(U,q,Y),R=dj(K),{move:z=!0,reverse:L}=Y||{},E,I,A;for(E=0;E<=T;++E){if(I=U[(M+(L?T-E:E))%H],I.skip)continue;else if(z)Q.moveTo(I.x,I.y),z=!1;else R(Q,A,I,L,K.stepped);A=I}if(F)I=U[(M+(L?T:0))%H],R(Q,A,I,L,K.stepped);return!!F}function cj(Q,J,q,Y){let U=J.points,{count:K,start:H,ilen:M}=Uz(U,q,Y),{move:F=!0,reverse:T}=Y||{},R=0,z=0,L,E,I,A,C,y,m=(i)=>(H+(T?M-i:i))%K,n=()=>{if(A!==C)Q.lineTo(R,C),Q.lineTo(R,A),Q.lineTo(R,y)};if(F)E=U[m(0)],Q.moveTo(E.x,E.y);for(L=0;L<=M;++L){if(E=U[m(L)],E.skip)continue;let{x:i,y:r}=E,Q0=i|0;if(Q0===I){if(r<A)A=r;else if(r>C)C=r;R=(z*R+i)/++z}else n(),Q.lineTo(i,r),I=Q0,z=0,A=C=r;y=r}n()}function ON(Q){let J=Q.options,q=J.borderDash&&J.borderDash.length;return!Q._decimated&&!Q._loop&&!J.tension&&J.cubicInterpolationMode!=="monotone"&&!J.stepped&&!q?cj:pj}function lj(Q){if(Q.stepped)return cT;if(Q.tension||Q.cubicInterpolationMode==="monotone")return lT;return q2}function rj(Q,J,q,Y){let U=J._path;if(!U){if(U=J._path=new Path2D,J.path(U,q,Y))U.closePath()}Yz(Q,J.options),Q.stroke(U)}function sj(Q,J,q,Y){let{segments:U,options:K}=J,H=ON(J);for(let M of U){if(Yz(Q,K,M.style),Q.beginPath(),H(Q,J,M,{start:q,end:q+Y-1}))Q.closePath();Q.stroke()}}var nj=typeof Path2D==="function";function oj(Q,J,q,Y){if(nj&&!J.options.segment)rj(Q,J,q,Y);else sj(Q,J,q,Y)}class u5 extends X6{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:(Q)=>Q!=="borderDash"&&Q!=="fill"};constructor(Q){super();if(this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,Q)Object.assign(this,Q)}updateControlPoints(Q,J){let q=this.options;if((q.tension||q.cubicInterpolationMode==="monotone")&&!q.stepped&&!this._pointsUpdated){let Y=q.spanGaps?this._loop:this._fullLoop;mT(this._points,q,Q,Y,J),this._pointsUpdated=!0}}set points(Q){this._points=Q,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=sT(this,this.options.segment))}first(){let Q=this.segments,J=this.points;return Q.length&&J[Q[0].start]}last(){let Q=this.segments,J=this.points,q=Q.length;return q&&J[Q[q-1].end]}interpolate(Q,J){let q=this.options,Y=Q[J],U=this.points,K=MN(this,{property:J,start:Y,end:Y});if(!K.length)return;let H=[],M=lj(q),F,T;for(F=0,T=K.length;F<T;++F){let{start:R,end:z}=K[F],L=U[R],E=U[z];if(L===E){H.push(L);continue}let I=Math.abs((Y-L[J])/(E[J]-L[J])),A=M(L,E,I,q.stepped);A[J]=Q[J],H.push(A)}return H.length===1?H[0]:H}pathSegment(Q,J,q){return ON(this)(Q,this,J,q)}path(Q,J,q){let Y=this.segments,U=ON(this),K=this._loop;J=J||0,q=q||this.points.length-J;for(let H of Y)K&=U(Q,this,H,{start:J,end:J+q-1});return!!K}draw(Q,J,q,Y){let U=this.options||{};if((this.points||[]).length&&U.borderWidth)Q.save(),oj(Q,this,q,Y),Q.restore();if(this.animated)this._pointsUpdated=!1,this._path=void 0}}function _R(Q,J,q,Y){let U=Q.options,{[q]:K}=Q.getProps([q],Y);return Math.abs(J-K)<U.radius+U.hitRadius}class g4 extends X6{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(Q){super();if(this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,Q)Object.assign(this,Q)}inRange(Q,J,q){let Y=this.options,{x:U,y:K}=this.getProps(["x","y"],q);return Math.pow(Q-U,2)+Math.pow(J-K,2)<Math.pow(Y.hitRadius+Y.radius,2)}inXRange(Q,J){return _R(this,Q,"x",J)}inYRange(Q,J){return _R(this,Q,"y",J)}getCenterPoint(Q){let{x:J,y:q}=this.getProps(["x","y"],Q);return{x:J,y:q}}size(Q){Q=Q||this.options||{};let J=Q.radius||0;J=Math.max(J,J&&Q.hoverRadius||0);let q=J&&Q.borderWidth||0;return(J+q)*2}draw(Q,J){let q=this.options;if(this.skip||q.radius<0.1||!T8(this,J,this.size(q)/2))return;Q.strokeStyle=q.borderColor,Q.lineWidth=q.borderWidth,Q.fillStyle=q.backgroundColor,Jq(Q,q,this.x,this.y)}getRange(){let Q=this.options||{};return Q.radius+Q.hitRadius}}function Nz(Q,J){let{x:q,y:Y,base:U,width:K,height:H}=Q.getProps(["x","y","base","width","height"],J),M,F,T,R,z;if(Q.horizontal)z=H/2,M=Math.min(q,U),F=Math.max(q,U),T=Y-z,R=Y+z;else z=K/2,M=q-z,F=q+z,T=Math.min(Y,U),R=Math.max(Y,U);return{left:M,top:T,right:F,bottom:R}}function M2(Q,J,q,Y){return Q?0:y5(J,q,Y)}function ij(Q,J,q){let Y=Q.options.borderWidth,U=Q.borderSkipped,K=JN(Y);return{t:M2(U.top,K.top,0,q),r:M2(U.right,K.right,0,J),b:M2(U.bottom,K.bottom,0,q),l:M2(U.left,K.left,0,J)}}function aj(Q,J,q){let{enableBorderRadius:Y}=Q.getProps(["enableBorderRadius"]),U=Q.options.borderRadius,K=B2(U),H=Math.min(J,q),M=Q.borderSkipped,F=Y||n0(U);return{topLeft:M2(!F||M.top||M.left,K.topLeft,0,H),topRight:M2(!F||M.top||M.right,K.topRight,0,H),bottomLeft:M2(!F||M.bottom||M.left,K.bottomLeft,0,H),bottomRight:M2(!F||M.bottom||M.right,K.bottomRight,0,H)}}function tj(Q){let J=Nz(Q),q=J.right-J.left,Y=J.bottom-J.top,U=ij(Q,q/2,Y/2),K=aj(Q,q/2,Y/2);return{outer:{x:J.left,y:J.top,w:q,h:Y,radius:K},inner:{x:J.left+U.l,y:J.top+U.t,w:q-U.l-U.r,h:Y-U.t-U.b,radius:{topLeft:Math.max(0,K.topLeft-Math.max(U.t,U.l)),topRight:Math.max(0,K.topRight-Math.max(U.t,U.r)),bottomLeft:Math.max(0,K.bottomLeft-Math.max(U.b,U.l)),bottomRight:Math.max(0,K.bottomRight-Math.max(U.b,U.r))}}}}function _N(Q,J,q,Y){let U=J===null,K=q===null,M=Q&&!(U&&K)&&Nz(Q,Y);return M&&(U||Q6(J,M.left,M.right))&&(K||Q6(q,M.top,M.bottom))}function ej(Q){return Q.topLeft||Q.topRight||Q.bottomLeft||Q.bottomRight}function $O(Q,J){Q.rect(J.x,J.y,J.w,J.h)}function PN(Q,J,q={}){let Y=Q.x!==q.x?-J:0,U=Q.y!==q.y?-J:0,K=(Q.x+Q.w!==q.x+q.w?J:0)-Y,H=(Q.y+Q.h!==q.y+q.h?J:0)-U;return{x:Q.x+Y,y:Q.y+U,w:Q.w+K,h:Q.h+H,radius:Q.radius}}class GQ extends X6{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(Q){super();if(this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,Q)Object.assign(this,Q)}draw(Q){let{inflateAmount:J,options:{borderColor:q,backgroundColor:Y}}=this,{inner:U,outer:K}=tj(this),H=ej(K.radius)?p9:$O;if(Q.save(),K.w!==U.w||K.h!==U.h)Q.beginPath(),H(Q,PN(K,J,U)),Q.clip(),H(Q,PN(U,-J,K)),Q.fillStyle=q,Q.fill("evenodd");Q.beginPath(),H(Q,PN(U,J)),Q.fillStyle=Y,Q.fill(),Q.restore()}inRange(Q,J,q){return _N(this,Q,J,q)}inXRange(Q,J){return _N(this,Q,null,J)}inYRange(Q,J){return _N(this,null,Q,J)}getCenterPoint(Q){let{x:J,y:q,base:Y,horizontal:U}=this.getProps(["x","y","base","horizontal"],Q);return{x:U?(J+Y)/2:J,y:U?q:(q+Y)/2}}getRange(Q){return Q==="x"?this.width/2:this.height/2}}function ZO(Q,J,q){let{segments:Y,points:U}=Q,K=J.points,H=[];for(let M of Y){let{start:F,end:T}=M;T=Rq(F,T,U);let R=DN(q,U[F],U[T],M.loop);if(!J.segments){H.push({source:M,target:R,start:U[F],end:U[T]});continue}let z=MN(J,R);for(let L of z){let E=DN(q,K[L.start],K[L.end],L.loop),I=HN(M,U,E);for(let A of I)H.push({source:A,target:L,start:{[q]:PR(R,E,"start",Math.max)},end:{[q]:PR(R,E,"end",Math.min)}})}}return H}function DN(Q,J,q,Y){if(Y)return;let U=J[Q],K=q[Q];if(Q==="angle")U=k5(U),K=k5(K);return{property:Q,start:U,end:K}}function QO(Q,J){let{x:q=null,y:Y=null}=Q||{},U=J.points,K=[];return J.segments.forEach(({start:H,end:M})=>{M=Rq(H,M,U);let F=U[H],T=U[M];if(Y!==null)K.push({x:F.x,y:Y}),K.push({x:T.x,y:Y});else if(q!==null)K.push({x:q,y:F.y}),K.push({x:q,y:T.y})}),K}function Rq(Q,J,q){for(;J>Q;J--){let Y=q[J];if(!isNaN(Y.x)&&!isNaN(Y.y))break}return J}function PR(Q,J,q,Y){if(Q&&J)return Y(Q[q],J[q]);return Q?Q[q]:J?J[q]:0}function Kz(Q,J){let q=[],Y=!1;if(z1(Q))Y=!0,q=Q;else q=QO(Q,J);return q.length?new u5({points:q,options:{tension:0},_loop:Y,_fullLoop:Y}):null}function ER(Q){return Q&&Q.fill!==!1}function GO(Q,J,q){let U=Q[J].fill,K=[J],H;if(!q)return U;while(U!==!1&&K.indexOf(U)===-1){if(!j1(U))return U;if(H=Q[U],!H)return!1;if(H.visible)return U;K.push(U),U=H.fill}return!1}function JO(Q,J,q){let Y=UO(Q);if(n0(Y))return isNaN(Y.value)?!1:Y;let U=parseFloat(Y);if(j1(U)&&Math.floor(U)===U)return qO(Y[0],J,U,q);return["origin","start","end","stack","shape"].indexOf(Y)>=0&&Y}function qO(Q,J,q,Y){if(Q==="-"||Q==="+")q=J+q;if(q===J||q<0||q>=Y)return!1;return q}function XO(Q,J){let q=null;if(Q==="start")q=J.bottom;else if(Q==="end")q=J.top;else if(n0(Q))q=J.getPixelForValue(Q.value);else if(J.getBasePixel)q=J.getBasePixel();return q}function YO(Q,J,q){let Y;if(Q==="start")Y=q;else if(Q==="end")Y=J.options.reverse?J.min:J.max;else if(n0(Q))Y=Q.value;else Y=J.getBaseValue();return Y}function UO(Q){let J=Q.options,q=J.fill,Y=h0(q&&q.target,q);if(Y===void 0)Y=!!J.backgroundColor;if(Y===!1||Y===null)return!1;if(Y===!0)return"origin";return Y}function NO(Q){let{scale:J,index:q,line:Y}=Q,U=[],K=Y.segments,H=Y.points,M=KO(J,q);M.push(Kz({x:null,y:J.bottom},Y));for(let F=0;F<K.length;F++){let T=K[F];for(let R=T.start;R<=T.end;R++)BO(U,H[R],M)}return new u5({points:U,options:{}})}function KO(Q,J){let q=[],Y=Q.getMatchingVisibleMetas("line");for(let U=0;U<Y.length;U++){let K=Y[U];if(K.index===J)break;if(!K.hidden)q.unshift(K.dataset)}return q}function BO(Q,J,q){let Y=[];for(let U=0;U<q.length;U++){let K=q[U],{first:H,last:M,point:F}=HO(K,J,"x");if(!F||H&&M)continue;if(H)Y.unshift(F);else if(Q.push(F),!M)break}Q.push(...Y)}function HO(Q,J,q){let Y=Q.interpolate(J,q);if(!Y)return{};let U=Y[q],K=Q.segments,H=Q.points,M=!1,F=!1;for(let T=0;T<K.length;T++){let R=K[T],z=H[R.start][q],L=H[R.end][q];if(Q6(U,z,L)){M=U===z,F=U===L;break}}return{first:M,last:F,point:Y}}class xN{constructor(Q){this.x=Q.x,this.y=Q.y,this.radius=Q.radius}pathSegment(Q,J,q){let{x:Y,y:U,radius:K}=this;return J=J||{start:0,end:f5},Q.arc(Y,U,K,J.end,J.start,!0),!q.bounds}interpolate(Q){let{x:J,y:q,radius:Y}=this,U=Q.angle;return{x:J+Math.cos(U)*Y,y:q+Math.sin(U)*Y,angle:U}}}function MO(Q){let{chart:J,fill:q,line:Y}=Q;if(j1(q))return FO(J,q);if(q==="stack")return NO(Q);if(q==="shape")return!0;let U=WO(Q);if(U instanceof xN)return U;return Kz(U,Y)}function FO(Q,J){let q=Q.getDatasetMeta(J);return q&&Q.isDatasetVisible(J)?q.dataset:null}function WO(Q){if((Q.scale||{}).getPointPositionForValue)return TO(Q);return wO(Q)}function wO(Q){let{scale:J={},fill:q}=Q,Y=XO(q,J);if(j1(Y)){let U=J.isHorizontal();return{x:U?Y:null,y:U?null:Y}}return null}function TO(Q){let{scale:J,fill:q}=Q,Y=J.options,U=J.getLabels().length,K=Y.reverse?J.max:J.min,H=YO(q,J,K),M=[];if(Y.grid.circular){let F=J.getPointPositionForValue(0,K);return new xN({x:F.x,y:F.y,radius:J.getDistanceFromCenterForValue(H)})}for(let F=0;F<U;++F)M.push(J.getPointPositionForValue(F,H));return M}function EN(Q,J,q){let Y=MO(J),{chart:U,index:K,line:H,scale:M,axis:F}=J,T=H.options,R=T.fill,z=T.backgroundColor,{above:L=z,below:E=z}=R||{},I=U.getDatasetMeta(K),A=FN(U,I);if(Y&&H.points.length)dZ(Q,RO(q,I.iScale)),zO(Q,{line:H,target:Y,above:L,below:E,area:q,scale:M,axis:F,clip:A}),pZ(Q)}function RO(Q,J){if(!J||J.getPointPositionForValue)return Q;let q=J.getPixelForValue(J.min),Y=J.getPixelForValue(J.max),U=Math.min(q,Y),K=Math.max(q,Y);return J.isHorizontal()?{...Q,left:Math.max(Q.left,U),right:Math.min(Q.right,K)}:{...Q,top:Math.max(Q.top,U),bottom:Math.min(Q.bottom,K)}}function zO(Q,J){let{line:q,target:Y,above:U,below:K,area:H,scale:M,clip:F}=J,T=q._loop?"angle":J.axis;Q.save();let R=K;if(K!==U){if(T==="x")CR(Q,Y,H.top),CN(Q,{line:q,target:Y,color:U,scale:M,property:T,clip:F}),Q.restore(),Q.save(),CR(Q,Y,H.bottom);else if(T==="y")IR(Q,Y,H.left),CN(Q,{line:q,target:Y,color:K,scale:M,property:T,clip:F}),Q.restore(),Q.save(),IR(Q,Y,H.right),R=U}CN(Q,{line:q,target:Y,color:R,scale:M,property:T,clip:F}),Q.restore()}function CR(Q,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Q.beginPath();for(let M of Y){let{start:F,end:T}=M,R=U[F],z=U[Rq(F,T,U)];if(K)Q.moveTo(R.x,R.y),K=!1;else Q.lineTo(R.x,q),Q.lineTo(R.x,R.y);if(H=!!J.pathSegment(Q,M,{move:H}),H)Q.closePath();else Q.lineTo(z.x,q)}Q.lineTo(J.first().x,q),Q.closePath(),Q.clip()}function IR(Q,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Q.beginPath();for(let M of Y){let{start:F,end:T}=M,R=U[F],z=U[Rq(F,T,U)];if(K)Q.moveTo(R.x,R.y),K=!1;else Q.lineTo(q,R.y),Q.lineTo(R.x,R.y);if(H=!!J.pathSegment(Q,M,{move:H}),H)Q.closePath();else Q.lineTo(q,z.y)}Q.lineTo(q,J.first().y),Q.closePath(),Q.clip()}function CN(Q,J){let{line:q,target:Y,property:U,color:K,scale:H,clip:M}=J,F=ZO(q,Y,U);for(let{source:T,target:R,start:z,end:L}of F){let{style:{backgroundColor:E=K}={}}=T,I=Y!==!0;Q.save(),Q.fillStyle=E,VO(Q,H,M,I&&DN(U,z,L)),Q.beginPath();let A=!!q.pathSegment(Q,T),C;if(I){if(A)Q.closePath();else jR(Q,Y,L,U);let y=!!Y.pathSegment(Q,R,{move:A,reverse:!0});if(C=A&&y,!C)jR(Q,Y,z,U)}Q.closePath(),Q.fill(C?"evenodd":"nonzero"),Q.restore()}}function VO(Q,J,q,Y){let U=J.chart.chartArea,{property:K,start:H,end:M}=Y||{};if(K==="x"||K==="y"){let F,T,R,z;if(K==="x")F=H,T=U.top,R=M,z=U.bottom;else F=U.left,T=H,R=U.right,z=M;if(Q.beginPath(),q)F=Math.max(F,q.left),R=Math.min(R,q.right),T=Math.max(T,q.top),z=Math.min(z,q.bottom);Q.rect(F,T,R-F,z-T),Q.clip()}}function jR(Q,J,q,Y){let U=J.interpolate(q,Y);if(U)Q.lineTo(U.x,U.y)}var c9={id:"filler",afterDatasetsUpdate(Q,J,q){let Y=(Q.data.datasets||[]).length,U=[],K,H,M,F;for(H=0;H<Y;++H){if(K=Q.getDatasetMeta(H),M=K.dataset,F=null,M&&M.options&&M instanceof u5)F={visible:Q.isDatasetVisible(H),index:H,fill:JO(M,H,Y),chart:Q,axis:K.controller.options.indexAxis,scale:K.vScale,line:M};K.$filler=F,U.push(F)}for(H=0;H<Y;++H){if(F=U[H],!F||F.fill===!1)continue;F.fill=GO(U,H,q.propagate)}},beforeDraw(Q,J,q){let Y=q.drawTime==="beforeDraw",U=Q.getSortedVisibleDatasetMetas(),K=Q.chartArea;for(let H=U.length-1;H>=0;--H){let M=U[H].$filler;if(!M)continue;if(M.line.updateControlPoints(K,M.axis),Y&&M.fill)EN(Q.ctx,M,K)}},beforeDatasetsDraw(Q,J,q){if(q.drawTime!=="beforeDatasetsDraw")return;let Y=Q.getSortedVisibleDatasetMetas();for(let U=Y.length-1;U>=0;--U){let K=Y[U].$filler;if(ER(K))EN(Q.ctx,K,Q.chartArea)}},beforeDatasetDraw(Q,J,q){let Y=J.meta.$filler;if(!ER(Y)||q.drawTime!=="beforeDatasetDraw")return;EN(Q.ctx,Y,Q.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},OR=(Q,J)=>{let{boxHeight:q=J,boxWidth:Y=J}=Q;if(Q.usePointStyle)q=Math.min(q,J),Y=Q.pointStyleWidth||Math.min(Y,J);return{boxWidth:Y,boxHeight:q,itemHeight:Math.max(J,q)}},LO=(Q,J)=>Q!==null&&J!==null&&Q.datasetIndex===J.datasetIndex&&Q.index===J.index;class AN extends X6{constructor(Q){super();this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=Q.chart,this.options=Q.options,this.ctx=Q.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(Q,J,q){this.maxWidth=Q,this.maxHeight=J,this._margins=q,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){if(this.isHorizontal())this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width;else this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height}buildLabels(){let Q=this.options.labels||{},J=W1(Q.generateLabels,[this.chart],this)||[];if(Q.filter)J=J.filter((q)=>Q.filter(q,this.chart.data));if(Q.sort)J=J.sort((q,Y)=>Q.sort(q,Y,this.chart.data));if(this.options.reverse)J.reverse();this.legendItems=J}fit(){let{options:Q,ctx:J}=this;if(!Q.display){this.width=this.height=0;return}let q=Q.labels,Y=p1(q.font),U=Y.size,K=this._computeTitleHeight(),{boxWidth:H,itemHeight:M}=OR(q,U),F,T;if(J.font=Y.string,this.isHorizontal())F=this.maxWidth,T=this._fitRows(K,U,H,M)+10;else T=this.maxHeight,F=this._fitCols(K,Y,H,M)+10;this.width=Math.min(F,Q.maxWidth||this.maxWidth),this.height=Math.min(T,Q.maxHeight||this.maxHeight)}_fitRows(Q,J,q,Y){let{ctx:U,maxWidth:K,options:{labels:{padding:H}}}=this,M=this.legendHitBoxes=[],F=this.lineWidths=[0],T=Y+H,R=Q;U.textAlign="left",U.textBaseline="middle";let z=-1,L=-T;return this.legendItems.forEach((E,I)=>{let A=q+J/2+U.measureText(E.text).width;if(I===0||F[F.length-1]+A+2*H>K)R+=T,F[F.length-(I>0?0:1)]=0,L+=T,z++;M[I]={left:0,top:L,row:z,width:A,height:Y},F[F.length-1]+=A+H}),R}_fitCols(Q,J,q,Y){let{ctx:U,maxHeight:K,options:{labels:{padding:H}}}=this,M=this.legendHitBoxes=[],F=this.columnSizes=[],T=K-Q,R=H,z=0,L=0,E=0,I=0;return this.legendItems.forEach((A,C)=>{let{itemWidth:y,itemHeight:m}=_O(q,J,U,A,Y);if(C>0&&L+m+2*H>T)R+=z+H,F.push({width:z,height:L}),E+=z+H,I++,z=L=0;M[C]={left:E,top:L,col:I,width:y,height:m},z=Math.max(z,y),L+=m+H}),R+=z,F.push({width:z,height:L}),R}adjustHitBoxes(){if(!this.options.display)return;let Q=this._computeTitleHeight(),{legendHitBoxes:J,options:{align:q,labels:{padding:Y},rtl:U}}=this,K=w$(U,this.left,this.width);if(this.isHorizontal()){let H=0,M=q5(q,this.left+Y,this.right-this.lineWidths[H]);for(let F of J){if(H!==F.row)H=F.row,M=q5(q,this.left+Y,this.right-this.lineWidths[H]);F.top+=this.top+Q+Y,F.left=K.leftForLtr(K.x(M),F.width),M+=F.width+Y}}else{let H=0,M=q5(q,this.top+Q+Y,this.bottom-this.columnSizes[H].height);for(let F of J){if(F.col!==H)H=F.col,M=q5(q,this.top+Q+Y,this.bottom-this.columnSizes[H].height);F.top=M,F.left+=this.left+Y,F.left=K.leftForLtr(K.x(F.left),F.width),M+=F.height+Y}}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let Q=this.ctx;dZ(Q,this),this._draw(),pZ(Q)}}_draw(){let{options:Q,columnSizes:J,lineWidths:q,ctx:Y}=this,{align:U,labels:K}=Q,H=O1.color,M=w$(Q.rtl,this.left,this.width),F=p1(K.font),{padding:T}=K,R=F.size,z=R/2,L;this.drawTitle(),Y.textAlign=M.textAlign("left"),Y.textBaseline="middle",Y.lineWidth=0.5,Y.font=F.string;let{boxWidth:E,boxHeight:I,itemHeight:A}=OR(K,R),C=function(r,Q0,p){if(isNaN(E)||E<=0||isNaN(I)||I<0)return;Y.save();let a=h0(p.lineWidth,1);if(Y.fillStyle=h0(p.fillStyle,H),Y.lineCap=h0(p.lineCap,"butt"),Y.lineDashOffset=h0(p.lineDashOffset,0),Y.lineJoin=h0(p.lineJoin,"miter"),Y.lineWidth=a,Y.strokeStyle=h0(p.strokeStyle,H),Y.setLineDash(h0(p.lineDash,[])),K.usePointStyle){let Y0={radius:I*Math.SQRT2/2,pointStyle:p.pointStyle,rotation:p.rotation,borderWidth:a},d=M.xPlus(r,E/2),N0=Q0+z;QN(Y,Y0,d,N0,K.pointStyleWidth&&E)}else{let Y0=Q0+Math.max((R-I)/2,0),d=M.leftForLtr(r,E),N0=B2(p.borderRadius);if(Y.beginPath(),Object.values(N0).some((w0)=>w0!==0))p9(Y,{x:d,y:Y0,w:E,h:I,radius:N0});else Y.rect(d,Y0,E,I);if(Y.fill(),a!==0)Y.stroke()}Y.restore()},y=function(r,Q0,p){K2(Y,p.text,r,Q0+A/2,F,{strikethrough:p.hidden,textAlign:M.textAlign(p.textAlign)})},m=this.isHorizontal(),n=this._computeTitleHeight();if(m)L={x:q5(U,this.left+T,this.right-q[0]),y:this.top+T+n,line:0};else L={x:this.left+T,y:q5(U,this.top+n+T,this.bottom-J[0].height),line:0};KN(this.ctx,Q.textDirection);let i=A+T;this.legendItems.forEach((r,Q0)=>{Y.strokeStyle=r.fontColor,Y.fillStyle=r.fontColor;let p=Y.measureText(r.text).width,a=M.textAlign(r.textAlign||(r.textAlign=K.textAlign)),Y0=E+z+p,d=L.x,N0=L.y;if(M.setWidth(this.width),m){if(Q0>0&&d+Y0+T>this.right)N0=L.y+=i,L.line++,d=L.x=q5(U,this.left+T,this.right-q[L.line])}else if(Q0>0&&N0+i>this.bottom)d=L.x=d+J[L.line].width+T,L.line++,N0=L.y=q5(U,this.top+n+T,this.bottom-J[L.line].height);let w0=M.x(d);if(C(w0,N0,r),d=OT(a,d+E+z,m?d+Y0:this.right,Q.rtl),y(M.x(d),N0,r),m)L.x+=Y0+T;else if(typeof r.text!=="string"){let z0=F.lineHeight;L.y+=Bz(r,z0)+T}else L.y+=i}),BN(this.ctx,Q.textDirection)}drawTitle(){let Q=this.options,J=Q.title,q=p1(J.font),Y=X5(J.padding);if(!J.display)return;let U=w$(Q.rtl,this.left,this.width),K=this.ctx,H=J.position,M=q.size/2,F=Y.top+M,T,R=this.left,z=this.width;if(this.isHorizontal())z=Math.max(...this.lineWidths),T=this.top+F,R=q5(Q.align,R,this.right-z);else{let E=this.columnSizes.reduce((I,A)=>Math.max(I,A.height),0);T=F+q5(Q.align,this.top,this.bottom-E-Q.labels.padding-this._computeTitleHeight())}let L=q5(H,R,R+z);K.textAlign=U.textAlign(Zq(H)),K.textBaseline="middle",K.strokeStyle=J.color,K.fillStyle=J.color,K.font=q.string,K2(K,J.text,L,T,q)}_computeTitleHeight(){let Q=this.options.title,J=p1(Q.font),q=X5(Q.padding);return Q.display?J.lineHeight+q.height:0}_getLegendItemAt(Q,J){let q,Y,U;if(Q6(Q,this.left,this.right)&&Q6(J,this.top,this.bottom)){U=this.legendHitBoxes;for(q=0;q<U.length;++q)if(Y=U[q],Q6(Q,Y.left,Y.left+Y.width)&&Q6(J,Y.top,Y.top+Y.height))return this.legendItems[q]}return null}handleEvent(Q){let J=this.options;if(!CO(Q.type,J))return;let q=this._getLegendItemAt(Q.x,Q.y);if(Q.type==="mousemove"||Q.type==="mouseout"){let Y=this._hoveredItem,U=LO(Y,q);if(Y&&!U)W1(J.onLeave,[Q,Y,this],this);if(this._hoveredItem=q,q&&!U)W1(J.onHover,[Q,q,this],this)}else if(q)W1(J.onClick,[Q,q,this],this)}}function _O(Q,J,q,Y,U){let K=PO(Y,Q,J,q),H=EO(U,Y,J.lineHeight);return{itemWidth:K,itemHeight:H}}function PO(Q,J,q,Y){let U=Q.text;if(U&&typeof U!=="string")U=U.reduce((K,H)=>K.length>H.length?K:H);return J+q.size/2+Y.measureText(U).width}function EO(Q,J,q){let Y=Q;if(typeof J.text!=="string")Y=Bz(J,q);return Y}function Bz(Q,J){let q=Q.text?Q.text.length:0;return J*q}function CO(Q,J){if((Q==="mousemove"||Q==="mouseout")&&(J.onHover||J.onLeave))return!0;if(J.onClick&&(Q==="click"||Q==="mouseup"))return!0;return!1}var L8={id:"legend",_element:AN,start(Q,J,q){let Y=Q.legend=new AN({ctx:Q.ctx,options:q,chart:Q});_4.configure(Q,Y,q),_4.addBox(Q,Y)},stop(Q){_4.removeBox(Q,Q.legend),delete Q.legend},beforeUpdate(Q,J,q){let Y=Q.legend;_4.configure(Q,Y,q),Y.options=q},afterUpdate(Q){let J=Q.legend;J.buildLabels(),J.adjustHitBoxes()},afterEvent(Q,J){if(!J.replay)Q.legend.handleEvent(J.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1000,onClick(Q,J,q){let Y=J.datasetIndex,U=q.chart;if(U.isDatasetVisible(Y))U.hide(Y),J.hidden=!0;else U.show(Y),J.hidden=!1},onHover:null,onLeave:null,labels:{color:(Q)=>Q.chart.options.color,boxWidth:40,padding:10,generateLabels(Q){let J=Q.data.datasets,{labels:{usePointStyle:q,pointStyle:Y,textAlign:U,color:K,useBorderRadius:H,borderRadius:M}}=Q.legend.options;return Q._getSortedDatasetMetas().map((F)=>{let T=F.controller.getStyle(q?0:void 0),R=X5(T.borderWidth);return{text:J[F.index].label,fillStyle:T.backgroundColor,fontColor:K,hidden:!F.visible,lineCap:T.borderCapStyle,lineDash:T.borderDash,lineDashOffset:T.borderDashOffset,lineJoin:T.borderJoinStyle,lineWidth:(R.width+R.height)/4,strokeStyle:T.borderColor,pointStyle:Y||T.pointStyle,rotation:T.rotation,textAlign:U||T.textAlign,borderRadius:H&&(M||T.borderRadius),datasetIndex:F.index}},this)}},title:{color:(Q)=>Q.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:(Q)=>!Q.startsWith("on"),labels:{_scriptable:(Q)=>!["generateLabels","filter","sort"].includes(Q)}}};class uN extends X6{constructor(Q){super();this.chart=Q.chart,this.options=Q.options,this.ctx=Q.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(Q,J){let q=this.options;if(this.left=0,this.top=0,!q.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=Q,this.height=this.bottom=J;let Y=z1(q.text)?q.text.length:1;this._padding=X5(q.padding);let U=Y*p1(q.font).lineHeight+this._padding.height;if(this.isHorizontal())this.height=U;else this.width=U}isHorizontal(){let Q=this.options.position;return Q==="top"||Q==="bottom"}_drawArgs(Q){let{top:J,left:q,bottom:Y,right:U,options:K}=this,H=K.align,M=0,F,T,R;if(this.isHorizontal())T=q5(H,q,U),R=J+Q,F=U-q;else{if(K.position==="left")T=q+Q,R=q5(H,Y,J),M=b1*-0.5;else T=U-Q,R=q5(H,J,Y),M=b1*0.5;F=Y-J}return{titleX:T,titleY:R,maxWidth:F,rotation:M}}draw(){let Q=this.ctx,J=this.options;if(!J.display)return;let q=p1(J.font),U=q.lineHeight/2+this._padding.top,{titleX:K,titleY:H,maxWidth:M,rotation:F}=this._drawArgs(U);K2(Q,J.text,0,0,q,{color:J.color,maxWidth:M,rotation:F,textAlign:Zq(J.align),textBaseline:"middle",translation:[K,H]})}}function IO(Q,J){let q=new uN({ctx:Q.ctx,options:J,chart:Q});_4.configure(Q,q,J),_4.addBox(Q,q),Q.titleBlock=q}var _8={id:"title",_element:uN,start(Q,J,q){IO(Q,q)},stop(Q){let J=Q.titleBlock;_4.removeBox(Q,J),delete Q.titleBlock},beforeUpdate(Q,J,q){let Y=Q.titleBlock;_4.configure(Q,Y,q),Y.options=q},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2000},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};var tZ={average(Q){if(!Q.length)return!1;let J,q,Y=new Set,U=0,K=0;for(J=0,q=Q.length;J<q;++J){let M=Q[J].element;if(M&&M.hasValue()){let F=M.tooltipPosition();Y.add(F.x),U+=F.y,++K}}if(K===0||Y.size===0)return!1;return{x:[...Y].reduce((M,F)=>M+F)/Y.size,y:U/K}},nearest(Q,J){if(!Q.length)return!1;let{x:q,y:Y}=J,U=Number.POSITIVE_INFINITY,K,H,M;for(K=0,H=Q.length;K<H;++K){let F=Q[K].element;if(F&&F.hasValue()){let T=F.getCenterPoint(),R=iJ(J,T);if(R<U)U=R,M=F}}if(M){let F=M.tooltipPosition();q=F.x,Y=F.y}return{x:q,y:Y}}};function z8(Q,J){if(J)if(z1(J))Array.prototype.push.apply(Q,J);else Q.push(J);return Q}function q6(Q){if((typeof Q==="string"||Q instanceof String)&&Q.indexOf(`
|
|
256
|
-
`)>-1)return
|
|
257
|
-
`);return Q}function jO(Q,J){let{element:q,datasetIndex:Y,index:U}=J,K=Q.getDatasetMeta(Y).controller,{label:H,value:M}=K.getLabelAndValue(U);return{chart:Q,label:H,parsed:K.getParsed(U),raw:Q.data.datasets[Y].data[U],formattedValue:M,dataset:K.getDataset(),dataIndex:U,datasetIndex:Y,element:q}}function DR(Q,J){let q=Q.chart.ctx,{body:Y,footer:U,title:K}=Q,{boxWidth:H,boxHeight:M}=J,F=p1(J.bodyFont),T=p1(J.titleFont),R=p1(J.footerFont),z=K.length,L=U.length,E=Y.length,I=X5(J.padding),A=I.height,C=0,y=Y.reduce((i,r)=>i+r.before.length+r.lines.length+r.after.length,0);if(y+=Q.beforeBody.length+Q.afterBody.length,z)A+=z*T.lineHeight+(z-1)*J.titleSpacing+J.titleMarginBottom;if(y){let i=J.displayColors?Math.max(M,F.lineHeight):F.lineHeight;A+=E*i+(y-E)*F.lineHeight+(y-1)*J.bodySpacing}if(L)A+=J.footerMarginTop+L*R.lineHeight+(L-1)*J.footerSpacing;let m=0,n=function(i){C=Math.max(C,q.measureText(i).width+m)};return q.save(),q.font=T.string,X1(Q.title,n),q.font=F.string,X1(Q.beforeBody.concat(Q.afterBody),n),m=J.displayColors?H+2+J.boxPadding:0,X1(Y,(i)=>{X1(i.before,n),X1(i.lines,n),X1(i.after,n)}),m=0,q.font=R.string,X1(Q.footer,n),q.restore(),C+=I.width,{width:C,height:A}}function OO(Q,J){let{y:q,height:Y}=J;if(q<Y/2)return"top";else if(q>Q.height-Y/2)return"bottom";return"center"}function DO(Q,J,q,Y){let{x:U,width:K}=Y,H=q.caretSize+q.caretPadding;if(Q==="left"&&U+K+H>J.width)return!0;if(Q==="right"&&U-K-H<0)return!0}function AO(Q,J,q,Y){let{x:U,width:K}=q,{width:H,chartArea:{left:M,right:F}}=Q,T="center";if(Y==="center")T=U<=(M+F)/2?"left":"right";else if(U<=K/2)T="left";else if(U>=H-K/2)T="right";if(DO(T,Q,J,q))T="center";return T}function AR(Q,J,q){let Y=q.yAlign||J.yAlign||OO(Q,q);return{xAlign:q.xAlign||J.xAlign||AO(Q,J,q,Y),yAlign:Y}}function SO(Q,J){let{x:q,width:Y}=Q;if(J==="right")q-=Y;else if(J==="center")q-=Y/2;return q}function vO(Q,J,q){let{y:Y,height:U}=Q;if(J==="top")Y+=q;else if(J==="bottom")Y-=U+q;else Y-=U/2;return Y}function SR(Q,J,q,Y){let{caretSize:U,caretPadding:K,cornerRadius:H}=Q,{xAlign:M,yAlign:F}=q,T=U+K,{topLeft:R,topRight:z,bottomLeft:L,bottomRight:E}=B2(H),I=SO(J,M),A=vO(J,F,T);if(F==="center"){if(M==="left")I+=T;else if(M==="right")I-=T}else if(M==="left")I-=Math.max(R,L)+U;else if(M==="right")I+=Math.max(z,E)+U;return{x:y5(I,0,Y.width-J.width),y:y5(A,0,Y.height-J.height)}}function Hq(Q,J,q){let Y=X5(q.padding);return J==="center"?Q.x+Q.width/2:J==="right"?Q.x+Q.width-Y.right:Q.x+Y.left}function vR(Q){return z8([],q6(Q))}function kO(Q,J,q){return G6(Q,{tooltip:J,tooltipItems:q,type:"tooltip"})}function kR(Q,J){let q=J&&J.dataset&&J.dataset.tooltip&&J.dataset.tooltip.callbacks;return q?Q.override(q):Q}var Hz={beforeTitle:R8,title(Q){if(Q.length>0){let J=Q[0],q=J.chart.data.labels,Y=q?q.length:0;if(this&&this.options&&this.options.mode==="dataset")return J.dataset.label||"";else if(J.label)return J.label;else if(Y>0&&J.dataIndex<Y)return q[J.dataIndex]}return""},afterTitle:R8,beforeBody:R8,beforeLabel:R8,label(Q){if(this&&this.options&&this.options.mode==="dataset")return Q.label+": "+Q.formattedValue||Q.formattedValue;let J=Q.dataset.label||"";if(J)J+=": ";let q=Q.formattedValue;if(!t0(q))J+=q;return J},labelColor(Q){let q=Q.chart.getDatasetMeta(Q.datasetIndex).controller.getStyle(Q.dataIndex);return{borderColor:q.borderColor,backgroundColor:q.backgroundColor,borderWidth:q.borderWidth,borderDash:q.borderDash,borderDashOffset:q.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(Q){let q=Q.chart.getDatasetMeta(Q.datasetIndex).controller.getStyle(Q.dataIndex);return{pointStyle:q.pointStyle,rotation:q.rotation}},afterLabel:R8,afterBody:R8,beforeFooter:R8,footer:R8,afterFooter:R8};function h5(Q,J,q,Y){let U=Q[J].call(q,Y);if(typeof U>"u")return Hz[J].call(q,Y);return U}class SN extends X6{static positioners=tZ;constructor(Q){super();this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=Q.chart,this.options=Q.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(Q){this.options=Q,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let Q=this._cachedAnimations;if(Q)return Q;let J=this.chart,q=this.options.setContext(this.getContext()),Y=q.enabled&&J.options.animation&&q.animations,U=new bN(this.chart,Y);if(Y._cacheable)this._cachedAnimations=Object.freeze(U);return U}getContext(){return this.$context||(this.$context=kO(this.chart.getContext(),this,this._tooltipItems))}getTitle(Q,J){let{callbacks:q}=J,Y=h5(q,"beforeTitle",this,Q),U=h5(q,"title",this,Q),K=h5(q,"afterTitle",this,Q),H=[];return H=z8(H,q6(Y)),H=z8(H,q6(U)),H=z8(H,q6(K)),H}getBeforeBody(Q,J){return vR(h5(J.callbacks,"beforeBody",this,Q))}getBody(Q,J){let{callbacks:q}=J,Y=[];return X1(Q,(U)=>{let K={before:[],lines:[],after:[]},H=kR(q,U);z8(K.before,q6(h5(H,"beforeLabel",this,U))),z8(K.lines,h5(H,"label",this,U)),z8(K.after,q6(h5(H,"afterLabel",this,U))),Y.push(K)}),Y}getAfterBody(Q,J){return vR(h5(J.callbacks,"afterBody",this,Q))}getFooter(Q,J){let{callbacks:q}=J,Y=h5(q,"beforeFooter",this,Q),U=h5(q,"footer",this,Q),K=h5(q,"afterFooter",this,Q),H=[];return H=z8(H,q6(Y)),H=z8(H,q6(U)),H=z8(H,q6(K)),H}_createItems(Q){let J=this._active,q=this.chart.data,Y=[],U=[],K=[],H=[],M,F;for(M=0,F=J.length;M<F;++M)H.push(jO(this.chart,J[M]));if(Q.filter)H=H.filter((T,R,z)=>Q.filter(T,R,z,q));if(Q.itemSort)H=H.sort((T,R)=>Q.itemSort(T,R,q));return X1(H,(T)=>{let R=kR(Q.callbacks,T);Y.push(h5(R,"labelColor",this,T)),U.push(h5(R,"labelPointStyle",this,T)),K.push(h5(R,"labelTextColor",this,T))}),this.labelColors=Y,this.labelPointStyles=U,this.labelTextColors=K,this.dataPoints=H,H}update(Q,J){let q=this.options.setContext(this.getContext()),Y=this._active,U,K=[];if(!Y.length){if(this.opacity!==0)U={opacity:0}}else{let H=tZ[q.position].call(this,Y,this._eventPosition);K=this._createItems(q),this.title=this.getTitle(K,q),this.beforeBody=this.getBeforeBody(K,q),this.body=this.getBody(K,q),this.afterBody=this.getAfterBody(K,q),this.footer=this.getFooter(K,q);let M=this._size=DR(this,q),F=Object.assign({},H,M),T=AR(this.chart,q,F),R=SR(q,F,T,this.chart);this.xAlign=T.xAlign,this.yAlign=T.yAlign,U={opacity:1,x:R.x,y:R.y,width:M.width,height:M.height,caretX:H.x,caretY:H.y}}if(this._tooltipItems=K,this.$context=void 0,U)this._resolveAnimations().update(this,U);if(Q&&q.external)q.external.call(this,{chart:this.chart,tooltip:this,replay:J})}drawCaret(Q,J,q,Y){let U=this.getCaretPosition(Q,q,Y);J.lineTo(U.x1,U.y1),J.lineTo(U.x2,U.y2),J.lineTo(U.x3,U.y3)}getCaretPosition(Q,J,q){let{xAlign:Y,yAlign:U}=this,{caretSize:K,cornerRadius:H}=q,{topLeft:M,topRight:F,bottomLeft:T,bottomRight:R}=B2(H),{x:z,y:L}=Q,{width:E,height:I}=J,A,C,y,m,n,i;if(U==="center"){if(n=L+I/2,Y==="left")A=z,C=A-K,m=n+K,i=n-K;else A=z+E,C=A+K,m=n-K,i=n+K;y=A}else{if(Y==="left")C=z+Math.max(M,T)+K;else if(Y==="right")C=z+E-Math.max(F,R)-K;else C=this.caretX;if(U==="top")m=L,n=m-K,A=C-K,y=C+K;else m=L+I,n=m+K,A=C+K,y=C-K;i=m}return{x1:A,x2:C,x3:y,y1:m,y2:n,y3:i}}drawTitle(Q,J,q){let Y=this.title,U=Y.length,K,H,M;if(U){let F=w$(q.rtl,this.x,this.width);Q.x=Hq(this,q.titleAlign,q),J.textAlign=F.textAlign(q.titleAlign),J.textBaseline="middle",K=p1(q.titleFont),H=q.titleSpacing,J.fillStyle=q.titleColor,J.font=K.string;for(M=0;M<U;++M)if(J.fillText(Y[M],F.x(Q.x),Q.y+K.lineHeight/2),Q.y+=K.lineHeight+H,M+1===U)Q.y+=q.titleMarginBottom-H}}_drawColorBox(Q,J,q,Y,U){let K=this.labelColors[q],H=this.labelPointStyles[q],{boxHeight:M,boxWidth:F}=U,T=p1(U.bodyFont),R=Hq(this,"left",U),z=Y.x(R),L=M<T.lineHeight?(T.lineHeight-M)/2:0,E=J.y+L;if(U.usePointStyle){let I={radius:Math.min(F,M)/2,pointStyle:H.pointStyle,rotation:H.rotation,borderWidth:1},A=Y.leftForLtr(z,F)+F/2,C=E+M/2;Q.strokeStyle=U.multiKeyBackground,Q.fillStyle=U.multiKeyBackground,Jq(Q,I,A,C),Q.strokeStyle=K.borderColor,Q.fillStyle=K.backgroundColor,Jq(Q,I,A,C)}else{Q.lineWidth=n0(K.borderWidth)?Math.max(...Object.values(K.borderWidth)):K.borderWidth||1,Q.strokeStyle=K.borderColor,Q.setLineDash(K.borderDash||[]),Q.lineDashOffset=K.borderDashOffset||0;let I=Y.leftForLtr(z,F),A=Y.leftForLtr(Y.xPlus(z,1),F-2),C=B2(K.borderRadius);if(Object.values(C).some((y)=>y!==0))Q.beginPath(),Q.fillStyle=U.multiKeyBackground,p9(Q,{x:I,y:E,w:F,h:M,radius:C}),Q.fill(),Q.stroke(),Q.fillStyle=K.backgroundColor,Q.beginPath(),p9(Q,{x:A,y:E+1,w:F-2,h:M-2,radius:C}),Q.fill();else Q.fillStyle=U.multiKeyBackground,Q.fillRect(I,E,F,M),Q.strokeRect(I,E,F,M),Q.fillStyle=K.backgroundColor,Q.fillRect(A,E+1,F-2,M-2)}Q.fillStyle=this.labelTextColors[q]}drawBody(Q,J,q){let{body:Y}=this,{bodySpacing:U,bodyAlign:K,displayColors:H,boxHeight:M,boxWidth:F,boxPadding:T}=q,R=p1(q.bodyFont),z=R.lineHeight,L=0,E=w$(q.rtl,this.x,this.width),I=function(p){J.fillText(p,E.x(Q.x+L),Q.y+z/2),Q.y+=z+U},A=E.textAlign(K),C,y,m,n,i,r,Q0;J.textAlign=K,J.textBaseline="middle",J.font=R.string,Q.x=Hq(this,A,q),J.fillStyle=q.bodyColor,X1(this.beforeBody,I),L=H&&A!=="right"?K==="center"?F/2+T:F+2+T:0;for(n=0,r=Y.length;n<r;++n){if(C=Y[n],y=this.labelTextColors[n],J.fillStyle=y,X1(C.before,I),m=C.lines,H&&m.length)this._drawColorBox(J,Q,n,E,q),z=Math.max(R.lineHeight,M);for(i=0,Q0=m.length;i<Q0;++i)I(m[i]),z=R.lineHeight;X1(C.after,I)}L=0,z=R.lineHeight,X1(this.afterBody,I),Q.y-=U}drawFooter(Q,J,q){let Y=this.footer,U=Y.length,K,H;if(U){let M=w$(q.rtl,this.x,this.width);Q.x=Hq(this,q.footerAlign,q),Q.y+=q.footerMarginTop,J.textAlign=M.textAlign(q.footerAlign),J.textBaseline="middle",K=p1(q.footerFont),J.fillStyle=q.footerColor,J.font=K.string;for(H=0;H<U;++H)J.fillText(Y[H],M.x(Q.x),Q.y+K.lineHeight/2),Q.y+=K.lineHeight+q.footerSpacing}}drawBackground(Q,J,q,Y){let{xAlign:U,yAlign:K}=this,{x:H,y:M}=Q,{width:F,height:T}=q,{topLeft:R,topRight:z,bottomLeft:L,bottomRight:E}=B2(Y.cornerRadius);if(J.fillStyle=Y.backgroundColor,J.strokeStyle=Y.borderColor,J.lineWidth=Y.borderWidth,J.beginPath(),J.moveTo(H+R,M),K==="top")this.drawCaret(Q,J,q,Y);if(J.lineTo(H+F-z,M),J.quadraticCurveTo(H+F,M,H+F,M+z),K==="center"&&U==="right")this.drawCaret(Q,J,q,Y);if(J.lineTo(H+F,M+T-E),J.quadraticCurveTo(H+F,M+T,H+F-E,M+T),K==="bottom")this.drawCaret(Q,J,q,Y);if(J.lineTo(H+L,M+T),J.quadraticCurveTo(H,M+T,H,M+T-L),K==="center"&&U==="left")this.drawCaret(Q,J,q,Y);if(J.lineTo(H,M+R),J.quadraticCurveTo(H,M,H+R,M),J.closePath(),J.fill(),Y.borderWidth>0)J.stroke()}_updateAnimationTarget(Q){let J=this.chart,q=this.$animations,Y=q&&q.x,U=q&&q.y;if(Y||U){let K=tZ[Q.position].call(this,this._active,this._eventPosition);if(!K)return;let H=this._size=DR(this,Q),M=Object.assign({},K,this._size),F=AR(J,Q,M),T=SR(Q,M,F,J);if(Y._to!==T.x||U._to!==T.y)this.xAlign=F.xAlign,this.yAlign=F.yAlign,this.width=H.width,this.height=H.height,this.caretX=K.x,this.caretY=K.y,this._resolveAnimations().update(this,T)}}_willRender(){return!!this.opacity}draw(Q){let J=this.options.setContext(this.getContext()),q=this.opacity;if(!q)return;this._updateAnimationTarget(J);let Y={width:this.width,height:this.height},U={x:this.x,y:this.y};q=Math.abs(q)<0.001?0:q;let K=X5(J.padding),H=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;if(J.enabled&&H)Q.save(),Q.globalAlpha=q,this.drawBackground(U,Q,Y,J),KN(Q,J.textDirection),U.y+=K.top,this.drawTitle(U,Q,J),this.drawBody(U,Q,J),this.drawFooter(U,Q,J),BN(Q,J.textDirection),Q.restore()}getActiveElements(){return this._active||[]}setActiveElements(Q,J){let q=this._active,Y=Q.map(({datasetIndex:H,index:M})=>{let F=this.chart.getDatasetMeta(H);if(!F)throw Error("Cannot find a dataset at index "+H);return{datasetIndex:H,element:F.data[M],index:M}}),U=!uZ(q,Y),K=this._positionChanged(Y,J);if(U||K)this._active=Y,this._eventPosition=J,this._ignoreReplayEvents=!0,this.update(!0)}handleEvent(Q,J,q=!0){if(J&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let Y=this.options,U=this._active||[],K=this._getActiveElements(Q,U,J,q),H=this._positionChanged(K,Q),M=J||!uZ(K,U)||H;if(M){if(this._active=K,Y.enabled||Y.external)this._eventPosition={x:Q.x,y:Q.y},this.update(!0,J)}return M}_getActiveElements(Q,J,q,Y){let U=this.options;if(Q.type==="mouseout")return[];if(!Y)return J.filter((H)=>this.chart.data.datasets[H.datasetIndex]&&this.chart.getDatasetMeta(H.datasetIndex).controller.getParsed(H.index)!==void 0);let K=this.chart.getElementsAtEventForMode(Q,U.mode,U,q);if(U.reverse)K.reverse();return K}_positionChanged(Q,J){let{caretX:q,caretY:Y,options:U}=this,K=tZ[U.position].call(this,Q,J);return K!==!1&&(q!==K.x||Y!==K.y)}}var P8={id:"tooltip",_element:SN,positioners:tZ,afterInit(Q,J,q){if(q)Q.tooltip=new SN({chart:Q,options:q})},beforeUpdate(Q,J,q){if(Q.tooltip)Q.tooltip.initialize(q)},reset(Q,J,q){if(Q.tooltip)Q.tooltip.initialize(q)},afterDraw(Q){let J=Q.tooltip;if(J&&J._willRender()){let q={tooltip:J};if(Q.notifyPlugins("beforeTooltipDraw",{...q,cancelable:!0})===!1)return;J.draw(Q.ctx),Q.notifyPlugins("afterTooltipDraw",q)}},afterEvent(Q,J){if(Q.tooltip){let q=J.replay;if(Q.tooltip.handleEvent(J.event,q,J.inChartArea))J.changed=!0}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(Q,J)=>J.bodyFont.size,boxWidth:(Q,J)=>J.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Hz},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:(Q)=>Q!=="filter"&&Q!=="itemSort"&&Q!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};var bO=(Q,J,q,Y)=>{if(typeof J==="string")q=Q.push(J)-1,Y.unshift({index:q,label:J});else if(isNaN(J))q=null;return q};function fO(Q,J,q,Y){let U=Q.indexOf(J);if(U===-1)return bO(Q,J,q,Y);let K=Q.lastIndexOf(J);return U!==K?q:U}var yO=(Q,J)=>Q===null?null:y5(Math.round(Q),0,J);function bR(Q){let J=this.getLabels();if(Q>=0&&Q<J.length)return J[Q];return Q}class h4 extends z${static id="category";static defaults={ticks:{callback:bR}};constructor(Q){super(Q);this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(Q){let J=this._addedLabels;if(J.length){let q=this.getLabels();for(let{index:Y,label:U}of J)if(q[Y]===U)q.splice(Y,1);this._addedLabels=[]}super.init(Q)}parse(Q,J){if(t0(Q))return null;let q=this.getLabels();return J=isFinite(J)&&q[J]===Q?J:fO(q,Q,h0(J,Q),this._addedLabels),yO(J,q.length-1)}determineDataLimits(){let{minDefined:Q,maxDefined:J}=this.getUserBounds(),{min:q,max:Y}=this.getMinMax(!0);if(this.options.bounds==="ticks"){if(!Q)q=0;if(!J)Y=this.getLabels().length-1}this.min=q,this.max=Y}buildTicks(){let Q=this.min,J=this.max,q=this.options.offset,Y=[],U=this.getLabels();U=Q===0&&J===U.length-1?U:U.slice(Q,J+1),this._valueRange=Math.max(U.length-(q?0:1),1),this._startValue=this.min-(q?0.5:0);for(let K=Q;K<=J;K++)Y.push({value:K});return Y}getLabelForValue(Q){return bR.call(this,Q)}configure(){if(super.configure(),!this.isHorizontal())this._reversePixels=!this._reversePixels}getPixelForValue(Q){if(typeof Q!=="number")Q=this.parse(Q);return Q===null?NaN:this.getPixelForDecimal((Q-this._startValue)/this._valueRange)}getPixelForTick(Q){let J=this.ticks;if(Q<0||Q>J.length-1)return null;return this.getPixelForValue(J[Q].value)}getValueForPixel(Q){return Math.round(this._startValue+this.getDecimalForPixel(Q)*this._valueRange)}getBasePixel(){return this.bottom}}function gO(Q,J){let q=[],Y=0.00000000000001,{bounds:U,step:K,min:H,max:M,precision:F,count:T,maxTicks:R,maxDigits:z,includeBounds:L}=Q,E=K||1,I=R-1,{min:A,max:C}=J,y=!t0(H),m=!t0(M),n=!t0(T),i=(C-A)/(z+1),r=lU((C-A)/I/E)*E,Q0,p,a,Y0;if(r<0.00000000000001&&!y&&!m)return[{value:A},{value:C}];if(Y0=Math.ceil(C/r)-Math.floor(A/r),Y0>I)r=lU(Y0*r/I/E)*E;if(!t0(F))Q0=Math.pow(10,F),r=Math.ceil(r*Q0)/Q0;if(U==="ticks")p=Math.floor(A/r)*r,a=Math.ceil(C/r)*r;else p=A,a=C;if(y&&m&&K&&VT((M-H)/K,r/1000))Y0=Math.round(Math.min((M-H)/r,R)),r=(M-H)/Y0,p=H,a=M;else if(n)p=y?H:p,a=m?M:a,Y0=T-1,r=(a-p)/Y0;else if(Y0=(a-p)/r,m9(Y0,Math.round(Y0),r/1000))Y0=Math.round(Y0);else Y0=Math.ceil(Y0);let d=Math.max(sU(r),sU(p));Q0=Math.pow(10,t0(F)?d:F),p=Math.round(p*Q0)/Q0,a=Math.round(a*Q0)/Q0;let N0=0;if(y){if(L&&p!==H){if(q.push({value:H}),p<H)N0++;if(m9(Math.round((p+N0*r)*Q0)/Q0,H,fR(H,i,Q)))N0++}else if(p<H)N0++}for(;N0<Y0;++N0){let w0=Math.round((p+N0*r)*Q0)/Q0;if(m&&w0>M)break;q.push({value:w0})}if(m&&L&&a!==M)if(q.length&&m9(q[q.length-1].value,M,fR(M,i,Q)))q[q.length-1].value=M;else q.push({value:M});else if(!m||a===M)q.push({value:a});return q}function fR(Q,J,{horizontal:q,minRotation:Y}){let U=Z6(Y),K=(q?Math.sin(U):Math.cos(U))||0.001,H=0.75*J*(""+Q).length;return Math.min(J/K,H)}class $Q extends z${constructor(Q){super(Q);this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(Q,J){if(t0(Q))return null;if((typeof Q==="number"||Q instanceof Number)&&!isFinite(+Q))return null;return+Q}handleTickRangeOptions(){let{beginAtZero:Q}=this.options,{minDefined:J,maxDefined:q}=this.getUserBounds(),{min:Y,max:U}=this,K=(M)=>Y=J?Y:M,H=(M)=>U=q?U:M;if(Q){let M=y4(Y),F=y4(U);if(M<0&&F<0)H(0);else if(M>0&&F>0)K(0)}if(Y===U){let M=U===0?1:Math.abs(U*0.05);if(H(U+M),!Q)K(Y-M)}this.min=Y,this.max=U}getTickLimit(){let Q=this.options.ticks,{maxTicksLimit:J,stepSize:q}=Q,Y;if(q){if(Y=Math.ceil(this.max/q)-Math.floor(this.min/q)+1,Y>1000)console.warn(`scales.${this.id}.ticks.stepSize: ${q} would result generating up to ${Y} ticks. Limiting to 1000.`),Y=1000}else Y=this.computeTickLimit(),J=J||11;if(J)Y=Math.min(J,Y);return Y}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let Q=this.options,J=Q.ticks,q=this.getTickLimit();q=Math.max(2,q);let Y={maxTicks:q,bounds:Q.bounds,min:Q.min,max:Q.max,precision:J.precision,step:J.stepSize,count:J.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:J.minRotation||0,includeBounds:J.includeBounds!==!1},U=this._range||this,K=gO(Y,U);if(Q.bounds==="ticks")rU(K,this,"value");if(Q.reverse)K.reverse(),this.start=this.max,this.end=this.min;else this.start=this.min,this.end=this.max;return K}configure(){let Q=this.ticks,J=this.min,q=this.max;if(super.configure(),this.options.offset&&Q.length){let Y=(q-J)/Math.max(Q.length-1,1)/2;J-=Y,q+=Y}this._startValue=J,this._endValue=q,this._valueRange=q-J}getLabelForValue(Q){return Qq(Q,this.chart.options.locale,this.options.ticks.format)}}class x4 extends $Q{static id="linear";static defaults={ticks:{callback:mZ.formatters.numeric}};determineDataLimits(){let{min:Q,max:J}=this.getMinMax(!0);this.min=j1(Q)?Q:0,this.max=j1(J)?J:1,this.handleTickRangeOptions()}computeTickLimit(){let Q=this.isHorizontal(),J=Q?this.width:this.height,q=Z6(this.options.ticks.minRotation),Y=(Q?Math.sin(q):Math.cos(q))||0.001,U=this._resolveTickFontOptions(0);return Math.ceil(J/Math.min(40,U.lineHeight/Y))}getPixelForValue(Q){return Q===null?NaN:this.getPixelForDecimal((Q-this._startValue)/this._valueRange)}getValueForPixel(Q){return this._startValue+this.getDecimalForPixel(Q)*this._valueRange}}var ZQ=(Q)=>Math.floor($6(Q)),R$=(Q,J)=>Math.pow(10,ZQ(Q)+J);function yR(Q){return Q/Math.pow(10,ZQ(Q))===1}function gR(Q,J,q){let Y=Math.pow(10,q),U=Math.floor(Q/Y);return Math.ceil(J/Y)-U}function hO(Q,J){let q=J-Q,Y=ZQ(q);while(gR(Q,J,Y)>10)Y++;while(gR(Q,J,Y)<10)Y--;return Math.min(Y,ZQ(Q))}function xO(Q,{min:J,max:q}){J=g5(Q.min,J);let Y=[],U=ZQ(J),K=hO(J,q),H=K<0?Math.pow(10,Math.abs(K)):1,M=Math.pow(10,K),F=U>K?Math.pow(10,U):0,T=Math.round((J-F)*H)/H,R=Math.floor((J-F)/M/10)*M*10,z=Math.floor((T-R)/Math.pow(10,K)),L=g5(Q.min,Math.round((F+R+z*Math.pow(10,K))*H)/H);while(L<q){if(Y.push({value:L,major:yR(L),significand:z}),z>=10)z=z<15?15:20;else z++;if(z>=20)K++,z=2,H=K>=0?1:H;L=Math.round((F+R+z*Math.pow(10,K))*H)/H}let E=g5(Q.max,L);return Y.push({value:E,major:yR(E),significand:z}),Y}class uO extends z${static id="logarithmic";static defaults={ticks:{callback:mZ.formatters.logarithmic,major:{enabled:!0}}};constructor(Q){super(Q);this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(Q,J){let q=$Q.prototype.parse.apply(this,[Q,J]);if(q===0){this._zero=!0;return}return j1(q)&&q>0?q:null}determineDataLimits(){let{min:Q,max:J}=this.getMinMax(!0);if(this.min=j1(Q)?Math.max(0,Q):null,this.max=j1(J)?Math.max(0,J):null,this.options.beginAtZero)this._zero=!0;if(this._zero&&this.min!==this._suggestedMin&&!j1(this._userMin))this.min=Q===R$(this.min,0)?R$(this.min,-1):R$(this.min,0);this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:Q,maxDefined:J}=this.getUserBounds(),q=this.min,Y=this.max,U=(H)=>q=Q?q:H,K=(H)=>Y=J?Y:H;if(q===Y)if(q<=0)U(1),K(10);else U(R$(q,-1)),K(R$(Y,1));if(q<=0)U(R$(Y,-1));if(Y<=0)K(R$(q,1));this.min=q,this.max=Y}buildTicks(){let Q=this.options,J={min:this._userMin,max:this._userMax},q=xO(J,this);if(Q.bounds==="ticks")rU(q,this,"value");if(Q.reverse)q.reverse(),this.start=this.max,this.end=this.min;else this.start=this.min,this.end=this.max;return q}getLabelForValue(Q){return Q===void 0?"0":Qq(Q,this.chart.options.locale,this.options.ticks.format)}configure(){let Q=this.min;super.configure(),this._startValue=$6(Q),this._valueRange=$6(this.max)-$6(Q)}getPixelForValue(Q){if(Q===void 0||Q===0)Q=this.min;if(Q===null||isNaN(Q))return NaN;return this.getPixelForDecimal(Q===this.min?0:($6(Q)-this._startValue)/this._valueRange)}getValueForPixel(Q){let J=this.getDecimalForPixel(Q);return Math.pow(10,this._startValue+J*this._valueRange)}}function vN(Q){let J=Q.ticks;if(J.display&&Q.display){let q=X5(J.backdropPadding);return h0(J.font&&J.font.size,O1.font.size)+q.height}return 0}function mO(Q,J,q){return q=z1(q)?q:[q],{w:kT(Q,J.string,q),h:q.length*J.lineHeight}}function hR(Q,J,q,Y,U){if(Q===Y||Q===U)return{start:J-q/2,end:J+q/2};else if(Q<Y||Q>U)return{start:J-q,end:J};return{start:J,end:J+q}}function dO(Q){let J={l:Q.left+Q._padding.left,r:Q.right-Q._padding.right,t:Q.top+Q._padding.top,b:Q.bottom-Q._padding.bottom},q=Object.assign({},J),Y=[],U=[],K=Q._pointLabels.length,H=Q.options.pointLabels,M=H.centerPointLabels?b1/K:0;for(let F=0;F<K;F++){let T=H.setContext(Q.getPointLabelContext(F));U[F]=T.padding;let R=Q.getPointPosition(F,Q.drawingArea+U[F],M),z=p1(T.font),L=mO(Q.ctx,z,Q._pointLabels[F]);Y[F]=L;let E=k5(Q.getIndexAngle(F)+M),I=Math.round(eJ(E)),A=hR(I,R.x,L.w,0,180),C=hR(I,R.y,L.h,90,270);pO(q,J,E,A,C)}Q.setCenterPoint(J.l-q.l,q.r-J.r,J.t-q.t,q.b-J.b),Q._pointLabelItems=rO(Q,Y,U)}function pO(Q,J,q,Y,U){let K=Math.abs(Math.sin(q)),H=Math.abs(Math.cos(q)),M=0,F=0;if(Y.start<J.l)M=(J.l-Y.start)/K,Q.l=Math.min(Q.l,J.l-M);else if(Y.end>J.r)M=(Y.end-J.r)/K,Q.r=Math.max(Q.r,J.r+M);if(U.start<J.t)F=(J.t-U.start)/H,Q.t=Math.min(Q.t,J.t-F);else if(U.end>J.b)F=(U.end-J.b)/H,Q.b=Math.max(Q.b,J.b+F)}function cO(Q,J,q){let Y=Q.drawingArea,{extra:U,additionalAngle:K,padding:H,size:M}=q,F=Q.getPointPosition(J,Y+U+H,K),T=Math.round(eJ(k5(F.angle+b5))),R=oO(F.y,M.h,T),z=sO(T),L=nO(F.x,M.w,z);return{visible:!0,x:F.x,y:R,textAlign:z,left:L,top:R,right:L+M.w,bottom:R+M.h}}function lO(Q,J){if(!J)return!0;let{left:q,top:Y,right:U,bottom:K}=Q;return!(T8({x:q,y:Y},J)||T8({x:q,y:K},J)||T8({x:U,y:Y},J)||T8({x:U,y:K},J))}function rO(Q,J,q){let Y=[],U=Q._pointLabels.length,K=Q.options,{centerPointLabels:H,display:M}=K.pointLabels,F={extra:vN(K)/2,additionalAngle:H?b1/U:0},T;for(let R=0;R<U;R++){F.padding=q[R],F.size=J[R];let z=cO(Q,R,F);if(Y.push(z),M==="auto"){if(z.visible=lO(z,T),z.visible)T=z}}return Y}function sO(Q){if(Q===0||Q===180)return"center";else if(Q<180)return"left";return"right"}function nO(Q,J,q){if(q==="right")Q-=J;else if(q==="center")Q-=J/2;return Q}function oO(Q,J,q){if(q===90||q===270)Q-=J/2;else if(q>270||q<90)Q-=J;return Q}function iO(Q,J,q){let{left:Y,top:U,right:K,bottom:H}=q,{backdropColor:M}=J;if(!t0(M)){let F=B2(J.borderRadius),T=X5(J.backdropPadding);Q.fillStyle=M;let R=Y-T.left,z=U-T.top,L=K-Y+T.width,E=H-U+T.height;if(Object.values(F).some((I)=>I!==0))Q.beginPath(),p9(Q,{x:R,y:z,w:L,h:E,radius:F}),Q.fill();else Q.fillRect(R,z,L,E)}}function aO(Q,J){let{ctx:q,options:{pointLabels:Y}}=Q;for(let U=J-1;U>=0;U--){let K=Q._pointLabelItems[U];if(!K.visible)continue;let H=Y.setContext(Q.getPointLabelContext(U));iO(q,H,K);let M=p1(H.font),{x:F,y:T,textAlign:R}=K;K2(q,Q._pointLabels[U],F,T+M.lineHeight/2,M,{color:H.color,textAlign:R,textBaseline:"middle"})}}function Mz(Q,J,q,Y){let{ctx:U}=Q;if(q)U.arc(Q.xCenter,Q.yCenter,J,0,f5);else{let K=Q.getPointPosition(0,J);U.moveTo(K.x,K.y);for(let H=1;H<Y;H++)K=Q.getPointPosition(H,J),U.lineTo(K.x,K.y)}}function tO(Q,J,q,Y,U){let K=Q.ctx,H=J.circular,{color:M,lineWidth:F}=J;if(!H&&!Y||!M||!F||q<0)return;K.save(),K.strokeStyle=M,K.lineWidth=F,K.setLineDash(U.dash||[]),K.lineDashOffset=U.dashOffset,K.beginPath(),Mz(Q,q,H,Y),K.closePath(),K.stroke(),K.restore()}function eO(Q,J,q){return G6(Q,{label:q,index:J,type:"pointLabel"})}class $D extends $Q{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:mZ.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(Q){return Q},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(Q){super(Q);this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let Q=this._padding=X5(vN(this.options)/2),J=this.width=this.maxWidth-Q.width,q=this.height=this.maxHeight-Q.height;this.xCenter=Math.floor(this.left+J/2+Q.left),this.yCenter=Math.floor(this.top+q/2+Q.top),this.drawingArea=Math.floor(Math.min(J,q)/2)}determineDataLimits(){let{min:Q,max:J}=this.getMinMax(!1);this.min=j1(Q)&&!isNaN(Q)?Q:0,this.max=j1(J)&&!isNaN(J)?J:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/vN(this.options))}generateTickLabels(Q){$Q.prototype.generateTickLabels.call(this,Q),this._pointLabels=this.getLabels().map((J,q)=>{let Y=W1(this.options.pointLabels.callback,[J,q],this);return Y||Y===0?Y:""}).filter((J,q)=>this.chart.getDataVisibility(q))}fit(){let Q=this.options;if(Q.display&&Q.pointLabels.display)dO(this);else this.setCenterPoint(0,0,0,0)}setCenterPoint(Q,J,q,Y){this.xCenter+=Math.floor((Q-J)/2),this.yCenter+=Math.floor((q-Y)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(Q,J,q,Y))}getIndexAngle(Q){let J=f5/(this._pointLabels.length||1),q=this.options.startAngle||0;return k5(Q*J+Z6(q))}getDistanceFromCenterForValue(Q){if(t0(Q))return NaN;let J=this.drawingArea/(this.max-this.min);if(this.options.reverse)return(this.max-Q)*J;return(Q-this.min)*J}getValueForDistanceFromCenter(Q){if(t0(Q))return NaN;let J=Q/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-J:this.min+J}getPointLabelContext(Q){let J=this._pointLabels||[];if(Q>=0&&Q<J.length){let q=J[Q];return eO(this.getContext(),Q,q)}}getPointPosition(Q,J,q=0){let Y=this.getIndexAngle(Q)-b5+q;return{x:Math.cos(Y)*J+this.xCenter,y:Math.sin(Y)*J+this.yCenter,angle:Y}}getPointPositionForValue(Q,J){return this.getPointPosition(Q,this.getDistanceFromCenterForValue(J))}getBasePosition(Q){return this.getPointPositionForValue(Q||0,this.getBaseValue())}getPointLabelPosition(Q){let{left:J,top:q,right:Y,bottom:U}=this._pointLabelItems[Q];return{left:J,top:q,right:Y,bottom:U}}drawBackground(){let{backgroundColor:Q,grid:{circular:J}}=this.options;if(Q){let q=this.ctx;q.save(),q.beginPath(),Mz(this,this.getDistanceFromCenterForValue(this._endValue),J,this._pointLabels.length),q.closePath(),q.fillStyle=Q,q.fill(),q.restore()}}drawGrid(){let Q=this.ctx,J=this.options,{angleLines:q,grid:Y,border:U}=J,K=this._pointLabels.length,H,M,F;if(J.pointLabels.display)aO(this,K);if(Y.display)this.ticks.forEach((T,R)=>{if(R!==0||R===0&&this.min<0){M=this.getDistanceFromCenterForValue(T.value);let z=this.getContext(R),L=Y.setContext(z),E=U.setContext(z);tO(this,L,M,K,E)}});if(q.display){Q.save();for(H=K-1;H>=0;H--){let T=q.setContext(this.getPointLabelContext(H)),{color:R,lineWidth:z}=T;if(!z||!R)continue;Q.lineWidth=z,Q.strokeStyle=R,Q.setLineDash(T.borderDash),Q.lineDashOffset=T.borderDashOffset,M=this.getDistanceFromCenterForValue(J.reverse?this.min:this.max),F=this.getPointPosition(H,M),Q.beginPath(),Q.moveTo(this.xCenter,this.yCenter),Q.lineTo(F.x,F.y),Q.stroke()}Q.restore()}}drawBorder(){}drawLabels(){let Q=this.ctx,J=this.options,q=J.ticks;if(!q.display)return;let Y=this.getIndexAngle(0),U,K;Q.save(),Q.translate(this.xCenter,this.yCenter),Q.rotate(Y),Q.textAlign="center",Q.textBaseline="middle",this.ticks.forEach((H,M)=>{if(M===0&&this.min>=0&&!J.reverse)return;let F=q.setContext(this.getContext(M)),T=p1(F.font);if(U=this.getDistanceFromCenterForValue(this.ticks[M].value),F.showLabelBackdrop){Q.font=T.string,K=Q.measureText(H.label).width,Q.fillStyle=F.backdropColor;let R=X5(F.backdropPadding);Q.fillRect(-K/2-R.left,-U-T.size/2-R.top,K+R.width,T.size+R.height)}K2(Q,H.label,0,-U,T,{color:F.color,strokeColor:F.textStrokeColor,strokeWidth:F.textStrokeWidth})}),Q.restore()}drawTitle(){}}var zq={millisecond:{common:!0,size:1,steps:1000},second:{common:!0,size:1000,steps:60},minute:{common:!0,size:60000,steps:60},hour:{common:!0,size:3600000,steps:24},day:{common:!0,size:86400000,steps:30},week:{common:!1,size:604800000,steps:4},month:{common:!0,size:2628000000,steps:12},quarter:{common:!1,size:7884000000,steps:4},year:{common:!0,size:31540000000}},x5=Object.keys(zq);function xR(Q,J){return Q-J}function uR(Q,J){if(t0(J))return null;let q=Q._adapter,{parser:Y,round:U,isoWeekday:K}=Q._parseOpts,H=J;if(typeof Y==="function")H=Y(H);if(!j1(H))H=typeof Y==="string"?q.parse(H,Y):q.parse(H);if(H===null)return null;if(U)H=U==="week"&&(d9(K)||K===!0)?q.startOf(H,"isoWeek",K):q.startOf(H,U);return+H}function mR(Q,J,q,Y){let U=x5.length;for(let K=x5.indexOf(Q);K<U-1;++K){let H=zq[x5[K]],M=H.steps?H.steps:Number.MAX_SAFE_INTEGER;if(H.common&&Math.ceil((q-J)/(M*H.size))<=Y)return x5[K]}return x5[U-1]}function ZD(Q,J,q,Y,U){for(let K=x5.length-1;K>=x5.indexOf(q);K--){let H=x5[K];if(zq[H].common&&Q._adapter.diff(U,Y,H)>=J-1)return H}return x5[q?x5.indexOf(q):0]}function QD(Q){for(let J=x5.indexOf(Q)+1,q=x5.length;J<q;++J)if(zq[x5[J]].common)return x5[J]}function dR(Q,J,q){if(!q)Q[J]=!0;else if(q.length){let{lo:Y,hi:U}=$q(q,J),K=q[Y]>=J?q[Y]:q[U];Q[K]=!0}}function GD(Q,J,q,Y){let U=Q._adapter,K=+U.startOf(J[0].value,Y),H=J[J.length-1].value,M,F;for(M=K;M<=H;M=+U.add(M,1,Y))if(F=q[M],F>=0)J[F].major=!0;return J}function pR(Q,J,q){let Y=[],U={},K=J.length,H,M;for(H=0;H<K;++H)M=J[H],U[M]=H,Y.push({value:M,major:!1});return K===0||!q?Y:GD(Q,Y,U,q)}class kN extends z${static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(Q){super(Q);this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(Q,J={}){let q=Q.time||(Q.time={}),Y=this._adapter=new gI._date(Q.adapters.date);Y.init(J),x9(q.displayFormats,Y.formats()),this._parseOpts={parser:q.parser,round:q.round,isoWeekday:q.isoWeekday},super.init(Q),this._normalized=J.normalized}parse(Q,J){if(Q===void 0)return null;return uR(this,Q)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let Q=this.options,J=this._adapter,q=Q.time.unit||"day",{min:Y,max:U,minDefined:K,maxDefined:H}=this.getUserBounds();function M(F){if(!K&&!isNaN(F.min))Y=Math.min(Y,F.min);if(!H&&!isNaN(F.max))U=Math.max(U,F.max)}if(!K||!H){if(M(this._getLabelBounds()),Q.bounds!=="ticks"||Q.ticks.source!=="labels")M(this.getMinMax(!1))}Y=j1(Y)&&!isNaN(Y)?Y:+J.startOf(Date.now(),q),U=j1(U)&&!isNaN(U)?U:+J.endOf(Date.now(),q)+1,this.min=Math.min(Y,U-1),this.max=Math.max(Y+1,U)}_getLabelBounds(){let Q=this.getLabelTimestamps(),J=Number.POSITIVE_INFINITY,q=Number.NEGATIVE_INFINITY;if(Q.length)J=Q[0],q=Q[Q.length-1];return{min:J,max:q}}buildTicks(){let Q=this.options,J=Q.time,q=Q.ticks,Y=q.source==="labels"?this.getLabelTimestamps():this._generate();if(Q.bounds==="ticks"&&Y.length)this.min=this._userMin||Y[0],this.max=this._userMax||Y[Y.length-1];let U=this.min,K=this.max,H=ET(Y,U,K);if(this._unit=J.unit||(q.autoSkip?mR(J.minUnit,this.min,this.max,this._getLabelCapacity(U)):ZD(this,H.length,J.minUnit,this.min,this.max)),this._majorUnit=!q.major.enabled||this._unit==="year"?void 0:QD(this._unit),this.initOffsets(Y),Q.reverse)H.reverse();return pR(this,H,this._majorUnit)}afterAutoSkip(){if(this.options.offsetAfterAutoskip)this.initOffsets(this.ticks.map((Q)=>+Q.value))}initOffsets(Q=[]){let J=0,q=0,Y,U;if(this.options.offset&&Q.length){if(Y=this.getDecimalForValue(Q[0]),Q.length===1)J=1-Y;else J=(this.getDecimalForValue(Q[1])-Y)/2;if(U=this.getDecimalForValue(Q[Q.length-1]),Q.length===1)q=U;else q=(U-this.getDecimalForValue(Q[Q.length-2]))/2}let K=Q.length<3?0.5:0.25;J=y5(J,0,K),q=y5(q,0,K),this._offsets={start:J,end:q,factor:1/(J+1+q)}}_generate(){let Q=this._adapter,J=this.min,q=this.max,Y=this.options,U=Y.time,K=U.unit||mR(U.minUnit,J,q,this._getLabelCapacity(J)),H=h0(Y.ticks.stepSize,1),M=K==="week"?U.isoWeekday:!1,F=d9(M)||M===!0,T={},R=J,z,L;if(F)R=+Q.startOf(R,"isoWeek",M);if(R=+Q.startOf(R,F?"day":K),Q.diff(q,J,K)>1e5*H)throw Error(J+" and "+q+" are too far apart with stepSize of "+H+" "+K);let E=Y.ticks.source==="data"&&this.getDataTimestamps();for(z=R,L=0;z<q;z=+Q.add(z,H,K),L++)dR(T,z,E);if(z===q||Y.bounds==="ticks"||L===1)dR(T,z,E);return Object.keys(T).sort(xR).map((I)=>+I)}getLabelForValue(Q){let J=this._adapter,q=this.options.time;if(q.tooltipFormat)return J.format(Q,q.tooltipFormat);return J.format(Q,q.displayFormats.datetime)}format(Q,J){let Y=this.options.time.displayFormats,U=this._unit,K=J||Y[U];return this._adapter.format(Q,K)}_tickFormatFunction(Q,J,q,Y){let U=this.options,K=U.ticks.callback;if(K)return W1(K,[Q,J,q],this);let H=U.time.displayFormats,M=this._unit,F=this._majorUnit,T=M&&H[M],R=F&&H[F],z=q[J],L=F&&R&&z&&z.major;return this._adapter.format(Q,Y||(L?R:T))}generateTickLabels(Q){let J,q,Y;for(J=0,q=Q.length;J<q;++J)Y=Q[J],Y.label=this._tickFormatFunction(Y.value,J,Q)}getDecimalForValue(Q){return Q===null?NaN:(Q-this.min)/(this.max-this.min)}getPixelForValue(Q){let J=this._offsets,q=this.getDecimalForValue(Q);return this.getPixelForDecimal((J.start+q)*J.factor)}getValueForPixel(Q){let J=this._offsets,q=this.getDecimalForPixel(Q)/J.factor-J.end;return this.min+q*(this.max-this.min)}_getLabelSize(Q){let J=this.options.ticks,q=this.ctx.measureText(Q).width,Y=Z6(this.isHorizontal()?J.maxRotation:J.minRotation),U=Math.cos(Y),K=Math.sin(Y),H=this._resolveTickFontOptions(0).size;return{w:q*U+H*K,h:q*K+H*U}}_getLabelCapacity(Q){let J=this.options.time,q=J.displayFormats,Y=q[J.unit]||q.millisecond,U=this._tickFormatFunction(Q,0,pR(this,[Q],this._majorUnit),Y),K=this._getLabelSize(U),H=Math.floor(this.isHorizontal()?this.width/K.w:this.height/K.h)-1;return H>0?H:1}getDataTimestamps(){let Q=this._cache.data||[],J,q;if(Q.length)return Q;let Y=this.getMatchingVisibleMetas();if(this._normalized&&Y.length)return this._cache.data=Y[0].controller.getAllParsedValues(this);for(J=0,q=Y.length;J<q;++J)Q=Q.concat(Y[J].controller.getAllParsedValues(this));return this._cache.data=this.normalize(Q)}getLabelTimestamps(){let Q=this._cache.labels||[],J,q;if(Q.length)return Q;let Y=this.getLabels();for(J=0,q=Y.length;J<q;++J)Q.push(uR(this,Y[J]));return this._cache.labels=this._normalized?Q:this.normalize(Q)}normalize(Q){return iU(Q.sort(xR))}}function Mq(Q,J,q){let Y=0,U=Q.length-1,K,H,M,F;if(q){if(J>=Q[Y].pos&&J<=Q[U].pos)({lo:Y,hi:U}=X2(Q,"pos",J));({pos:K,time:M}=Q[Y]),{pos:H,time:F}=Q[U]}else{if(J>=Q[Y].time&&J<=Q[U].time)({lo:Y,hi:U}=X2(Q,"time",J));({time:K,pos:M}=Q[Y]),{time:H,pos:F}=Q[U]}let T=H-K;return T?M+(F-M)*(J-K)/T:M}class JD extends kN{static id="timeseries";static defaults=kN.defaults;constructor(Q){super(Q);this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let Q=this._getTimestampsForTable(),J=this._table=this.buildLookupTable(Q);this._minPos=Mq(J,this.min),this._tableRange=Mq(J,this.max)-this._minPos,super.initOffsets(Q)}buildLookupTable(Q){let{min:J,max:q}=this,Y=[],U=[],K,H,M,F,T;for(K=0,H=Q.length;K<H;++K)if(F=Q[K],F>=J&&F<=q)Y.push(F);if(Y.length<2)return[{time:J,pos:0},{time:q,pos:1}];for(K=0,H=Y.length;K<H;++K)if(T=Y[K+1],M=Y[K-1],F=Y[K],Math.round((T+M)/2)!==F)U.push({time:F,pos:K/(H-1)});return U}_generate(){let Q=this.min,J=this.max,q=super.getDataTimestamps();if(!q.includes(Q)||!q.length)q.splice(0,0,Q);if(!q.includes(J)||q.length===1)q.push(J);return q.sort((Y,U)=>Y-U)}_getTimestampsForTable(){let Q=this._cache.all||[];if(Q.length)return Q;let J=this.getDataTimestamps(),q=this.getLabelTimestamps();if(J.length&&q.length)Q=this.normalize(J.concat(q));else Q=J.length?J:q;return Q=this._cache.all=Q,Q}getDecimalForValue(Q){return(Mq(this._table,Q)-this._minPos)/this._tableRange}getValueForPixel(Q){let J=this._offsets,q=this.getDecimalForPixel(Q)/J.factor-J.end;return Mq(this._table,q*this._tableRange+this._minPos,!0)}}var XQ=T0(e1(),1);var mN=T0(Fz(),1),q4=T0(e1(),1);var wz="label";function Wz(Q,J){if(typeof Q==="function")Q(J);else if(Q)Q.current=J}function XD(Q,J){let q=Q.options;if(q&&J)Object.assign(q,J)}function Tz(Q,J){Q.labels=J}function Rz(Q,J,q=wz){let Y=[];Q.datasets=J.map((U)=>{let K=Q.datasets.find((H)=>H[q]===U[q]);if(!K||!U.data||Y.includes(K))return{...U};return Y.push(K),Object.assign(K,U),K})}function YD(Q,J=wz){let q={labels:[],datasets:[]};return Tz(q,Q.labels),Rz(q,Q.datasets,J),q}function UD(Q,J){let{height:q=150,width:Y=300,redraw:U=!1,datasetIdKey:K,type:H,data:M,options:F,plugins:T=[],fallbackContent:R,updateMode:z,...L}=Q,E=q4.useRef(null),I=q4.useRef(null),A=()=>{if(!E.current)return;I.current=new E5(E.current,{type:H,data:YD(M,K),options:F&&{...F},plugins:T}),Wz(J,I.current)},C=()=>{if(Wz(J,null),I.current)I.current.destroy(),I.current=null};return q4.useEffect(()=>{if(!U&&I.current&&F)XD(I.current,F)},[U,F]),q4.useEffect(()=>{if(!U&&I.current)Tz(I.current.config.data,M.labels)},[U,M.labels]),q4.useEffect(()=>{if(!U&&I.current&&M.datasets)Rz(I.current.config.data,M.datasets,K)},[U,M.datasets]),q4.useEffect(()=>{if(!I.current)return;if(U)C(),setTimeout(A);else I.current.update(z)},[U,F,M.labels,M.datasets,z]),q4.useEffect(()=>{if(!I.current)return;C(),setTimeout(A)},[H]),q4.useEffect(()=>{return A(),()=>C()},[]),mN.jsx("canvas",{ref:E,role:"img",height:q,width:Y,...L,children:R})}var ND=q4.forwardRef(UD);function zz(Q,J){return E5.register(J),q4.forwardRef((q,Y)=>mN.jsx(ND,{...q,ref:Y,type:Q}))}var P4=zz("line",yN),Vq=zz("bar",fN);var Lq=T0(e1(),1),Vz="(prefers-color-scheme: dark)";function KD(){if(typeof window>"u")return"light";return window.matchMedia(Vz).matches?"dark":"light"}function E8(){let[Q,J]=Lq.useState(()=>KD());return Lq.useEffect(()=>{let q=window.matchMedia(Vz),Y=()=>{J(q.matches?"dark":"light")};return Y(),q.addEventListener("change",Y),()=>q.removeEventListener("change",Y)},[]),Q}var BD=Math.pow(10,8)*24*60*60*1000,zv=-BD,_q=604800000,Lz=86400000;var JQ=43200,dN=1440;var pN=Symbol.for("constructDateFrom");function F5(Q,J){if(typeof Q==="function")return Q(J);if(Q&&typeof Q==="object"&&pN in Q)return Q[pN](J);if(Q instanceof Date)return new Q.constructor(J);return new Date(J)}function e0(Q,J){return F5(J||Q,Q)}var HD={};function C8(){return HD}function Y6(Q,J){let q=C8(),Y=J?.weekStartsOn??J?.locale?.options?.weekStartsOn??q.weekStartsOn??q.locale?.options?.weekStartsOn??0,U=e0(Q,J?.in),K=U.getDay(),H=(K<Y?7:0)+K-Y;return U.setDate(U.getDate()-H),U.setHours(0,0,0,0),U}function L$(Q,J){return Y6(Q,{...J,weekStartsOn:1})}function Pq(Q,J){let q=e0(Q,J?.in),Y=q.getFullYear(),U=F5(q,0);U.setFullYear(Y+1,0,4),U.setHours(0,0,0,0);let K=L$(U),H=F5(q,0);H.setFullYear(Y,0,4),H.setHours(0,0,0,0);let M=L$(H);if(q.getTime()>=K.getTime())return Y+1;else if(q.getTime()>=M.getTime())return Y;else return Y-1}function l9(Q){let J=e0(Q),q=new Date(Date.UTC(J.getFullYear(),J.getMonth(),J.getDate(),J.getHours(),J.getMinutes(),J.getSeconds(),J.getMilliseconds()));return q.setUTCFullYear(J.getFullYear()),+Q-+q}function F2(Q,...J){let q=F5.bind(null,Q||J.find((Y)=>typeof Y==="object"));return J.map(q)}function cN(Q,J){let q=e0(Q,J?.in);return q.setHours(0,0,0,0),q}function _z(Q,J,q){let[Y,U]=F2(q?.in,Q,J),K=cN(Y),H=cN(U),M=+K-l9(K),F=+H-l9(H);return Math.round((M-F)/Lz)}function Pz(Q,J){let q=Pq(Q,J),Y=F5(J?.in||Q,0);return Y.setFullYear(q,0,4),Y.setHours(0,0,0,0),L$(Y)}function r9(Q,J){let q=+e0(Q)-+e0(J);if(q<0)return-1;else if(q>0)return 1;return q}function Ez(Q){return F5(Q,Date.now())}function Cz(Q){return Q instanceof Date||typeof Q==="object"&&Object.prototype.toString.call(Q)==="[object Date]"}function Iz(Q){return!(!Cz(Q)&&typeof Q!=="number"||isNaN(+e0(Q)))}function jz(Q,J,q){let[Y,U]=F2(q?.in,Q,J),K=Y.getFullYear()-U.getFullYear(),H=Y.getMonth()-U.getMonth();return K*12+H}function Oz(Q){return(J)=>{let Y=(Q?Math[Q]:Math.trunc)(J);return Y===0?0:Y}}function Dz(Q,J){return+e0(Q)-+e0(J)}function Az(Q,J){let q=e0(Q,J?.in);return q.setHours(23,59,59,999),q}function Sz(Q,J){let q=e0(Q,J?.in),Y=q.getMonth();return q.setFullYear(q.getFullYear(),Y+1,0),q.setHours(23,59,59,999),q}function vz(Q,J){let q=e0(Q,J?.in);return+Az(q,J)===+Sz(q,J)}function kz(Q,J,q){let[Y,U,K]=F2(q?.in,Q,Q,J),H=r9(U,K),M=Math.abs(jz(U,K));if(M<1)return 0;if(U.getMonth()===1&&U.getDate()>27)U.setDate(30);U.setMonth(U.getMonth()-H*M);let F=r9(U,K)===-H;if(vz(Y)&&M===1&&r9(Y,K)===1)F=!1;let T=H*(M-+F);return T===0?0:T}function bz(Q,J,q){let Y=Dz(Q,J)/1000;return Oz(q?.roundingMethod)(Y)}function fz(Q,J){let q=e0(Q,J?.in);return q.setFullYear(q.getFullYear(),0,1),q.setHours(0,0,0,0),q}var MD={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},yz=(Q,J,q)=>{let Y,U=MD[Q];if(typeof U==="string")Y=U;else if(J===1)Y=U.one;else Y=U.other.replace("{{count}}",J.toString());if(q?.addSuffix)if(q.comparison&&q.comparison>0)return"in "+Y;else return Y+" ago";return Y};function Eq(Q){return(J={})=>{let q=J.width?String(J.width):Q.defaultWidth;return Q.formats[q]||Q.formats[Q.defaultWidth]}}var FD={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},WD={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wD={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gz={date:Eq({formats:FD,defaultWidth:"full"}),time:Eq({formats:WD,defaultWidth:"full"}),dateTime:Eq({formats:wD,defaultWidth:"full"})};var TD={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},hz=(Q,J,q,Y)=>TD[Q];function s9(Q){return(J,q)=>{let Y=q?.context?String(q.context):"standalone",U;if(Y==="formatting"&&Q.formattingValues){let H=Q.defaultFormattingWidth||Q.defaultWidth,M=q?.width?String(q.width):H;U=Q.formattingValues[M]||Q.formattingValues[H]}else{let H=Q.defaultWidth,M=q?.width?String(q.width):Q.defaultWidth;U=Q.values[M]||Q.values[H]}let K=Q.argumentCallback?Q.argumentCallback(J):J;return U[K]}}var RD={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},zD={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},VD={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},LD={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},_D={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},PD={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ED=(Q,J)=>{let q=Number(Q),Y=q%100;if(Y>20||Y<10)switch(Y%10){case 1:return q+"st";case 2:return q+"nd";case 3:return q+"rd"}return q+"th"},xz={ordinalNumber:ED,era:s9({values:RD,defaultWidth:"wide"}),quarter:s9({values:zD,defaultWidth:"wide",argumentCallback:(Q)=>Q-1}),month:s9({values:VD,defaultWidth:"wide"}),day:s9({values:LD,defaultWidth:"wide"}),dayPeriod:s9({values:_D,defaultWidth:"wide",formattingValues:PD,defaultFormattingWidth:"wide"})};function n9(Q){return(J,q={})=>{let Y=q.width,U=Y&&Q.matchPatterns[Y]||Q.matchPatterns[Q.defaultMatchWidth],K=J.match(U);if(!K)return null;let H=K[0],M=Y&&Q.parsePatterns[Y]||Q.parsePatterns[Q.defaultParseWidth],F=Array.isArray(M)?ID(M,(z)=>z.test(H)):CD(M,(z)=>z.test(H)),T;T=Q.valueCallback?Q.valueCallback(F):F,T=q.valueCallback?q.valueCallback(T):T;let R=J.slice(H.length);return{value:T,rest:R}}}function CD(Q,J){for(let q in Q)if(Object.prototype.hasOwnProperty.call(Q,q)&&J(Q[q]))return q;return}function ID(Q,J){for(let q=0;q<Q.length;q++)if(J(Q[q]))return q;return}function uz(Q){return(J,q={})=>{let Y=J.match(Q.matchPattern);if(!Y)return null;let U=Y[0],K=J.match(Q.parsePattern);if(!K)return null;let H=Q.valueCallback?Q.valueCallback(K[0]):K[0];H=q.valueCallback?q.valueCallback(H):H;let M=J.slice(U.length);return{value:H,rest:M}}}var jD=/^(\d+)(th|st|nd|rd)?/i,OD=/\d+/i,DD={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},AD={any:[/^b/i,/^(a|c)/i]},SD={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},vD={any:[/1/i,/2/i,/3/i,/4/i]},kD={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},bD={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},fD={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},yD={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},gD={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},hD={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},mz={ordinalNumber:uz({matchPattern:jD,parsePattern:OD,valueCallback:(Q)=>parseInt(Q,10)}),era:n9({matchPatterns:DD,defaultMatchWidth:"wide",parsePatterns:AD,defaultParseWidth:"any"}),quarter:n9({matchPatterns:SD,defaultMatchWidth:"wide",parsePatterns:vD,defaultParseWidth:"any",valueCallback:(Q)=>Q+1}),month:n9({matchPatterns:kD,defaultMatchWidth:"wide",parsePatterns:bD,defaultParseWidth:"any"}),day:n9({matchPatterns:fD,defaultMatchWidth:"wide",parsePatterns:yD,defaultParseWidth:"any"}),dayPeriod:n9({matchPatterns:gD,defaultMatchWidth:"any",parsePatterns:hD,defaultParseWidth:"any"})};var qQ={code:"en-US",formatDistance:yz,formatLong:gz,formatRelative:hz,localize:xz,match:mz,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dz(Q,J){let q=e0(Q,J?.in);return _z(q,fz(q))+1}function pz(Q,J){let q=e0(Q,J?.in),Y=+L$(q)-+Pz(q);return Math.round(Y/_q)+1}function Cq(Q,J){let q=e0(Q,J?.in),Y=q.getFullYear(),U=C8(),K=J?.firstWeekContainsDate??J?.locale?.options?.firstWeekContainsDate??U.firstWeekContainsDate??U.locale?.options?.firstWeekContainsDate??1,H=F5(J?.in||Q,0);H.setFullYear(Y+1,0,K),H.setHours(0,0,0,0);let M=Y6(H,J),F=F5(J?.in||Q,0);F.setFullYear(Y,0,K),F.setHours(0,0,0,0);let T=Y6(F,J);if(+q>=+M)return Y+1;else if(+q>=+T)return Y;else return Y-1}function cz(Q,J){let q=C8(),Y=J?.firstWeekContainsDate??J?.locale?.options?.firstWeekContainsDate??q.firstWeekContainsDate??q.locale?.options?.firstWeekContainsDate??1,U=Cq(Q,J),K=F5(J?.in||Q,0);return K.setFullYear(U,0,Y),K.setHours(0,0,0,0),Y6(K,J)}function lz(Q,J){let q=e0(Q,J?.in),Y=+Y6(q,J)-+cz(q,J);return Math.round(Y/_q)+1}function Q1(Q,J){let q=Q<0?"-":"",Y=Math.abs(Q).toString().padStart(J,"0");return q+Y}var U6={y(Q,J){let q=Q.getFullYear(),Y=q>0?q:1-q;return Q1(J==="yy"?Y%100:Y,J.length)},M(Q,J){let q=Q.getMonth();return J==="M"?String(q+1):Q1(q+1,2)},d(Q,J){return Q1(Q.getDate(),J.length)},a(Q,J){let q=Q.getHours()/12>=1?"pm":"am";switch(J){case"a":case"aa":return q.toUpperCase();case"aaa":return q;case"aaaaa":return q[0];case"aaaa":default:return q==="am"?"a.m.":"p.m."}},h(Q,J){return Q1(Q.getHours()%12||12,J.length)},H(Q,J){return Q1(Q.getHours(),J.length)},m(Q,J){return Q1(Q.getMinutes(),J.length)},s(Q,J){return Q1(Q.getSeconds(),J.length)},S(Q,J){let q=J.length,Y=Q.getMilliseconds(),U=Math.trunc(Y*Math.pow(10,q-3));return Q1(U,J.length)}};var o9={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},lN={G:function(Q,J,q){let Y=Q.getFullYear()>0?1:0;switch(J){case"G":case"GG":case"GGG":return q.era(Y,{width:"abbreviated"});case"GGGGG":return q.era(Y,{width:"narrow"});case"GGGG":default:return q.era(Y,{width:"wide"})}},y:function(Q,J,q){if(J==="yo"){let Y=Q.getFullYear(),U=Y>0?Y:1-Y;return q.ordinalNumber(U,{unit:"year"})}return U6.y(Q,J)},Y:function(Q,J,q,Y){let U=Cq(Q,Y),K=U>0?U:1-U;if(J==="YY"){let H=K%100;return Q1(H,2)}if(J==="Yo")return q.ordinalNumber(K,{unit:"year"});return Q1(K,J.length)},R:function(Q,J){let q=Pq(Q);return Q1(q,J.length)},u:function(Q,J){let q=Q.getFullYear();return Q1(q,J.length)},Q:function(Q,J,q){let Y=Math.ceil((Q.getMonth()+1)/3);switch(J){case"Q":return String(Y);case"QQ":return Q1(Y,2);case"Qo":return q.ordinalNumber(Y,{unit:"quarter"});case"QQQ":return q.quarter(Y,{width:"abbreviated",context:"formatting"});case"QQQQQ":return q.quarter(Y,{width:"narrow",context:"formatting"});case"QQQQ":default:return q.quarter(Y,{width:"wide",context:"formatting"})}},q:function(Q,J,q){let Y=Math.ceil((Q.getMonth()+1)/3);switch(J){case"q":return String(Y);case"qq":return Q1(Y,2);case"qo":return q.ordinalNumber(Y,{unit:"quarter"});case"qqq":return q.quarter(Y,{width:"abbreviated",context:"standalone"});case"qqqqq":return q.quarter(Y,{width:"narrow",context:"standalone"});case"qqqq":default:return q.quarter(Y,{width:"wide",context:"standalone"})}},M:function(Q,J,q){let Y=Q.getMonth();switch(J){case"M":case"MM":return U6.M(Q,J);case"Mo":return q.ordinalNumber(Y+1,{unit:"month"});case"MMM":return q.month(Y,{width:"abbreviated",context:"formatting"});case"MMMMM":return q.month(Y,{width:"narrow",context:"formatting"});case"MMMM":default:return q.month(Y,{width:"wide",context:"formatting"})}},L:function(Q,J,q){let Y=Q.getMonth();switch(J){case"L":return String(Y+1);case"LL":return Q1(Y+1,2);case"Lo":return q.ordinalNumber(Y+1,{unit:"month"});case"LLL":return q.month(Y,{width:"abbreviated",context:"standalone"});case"LLLLL":return q.month(Y,{width:"narrow",context:"standalone"});case"LLLL":default:return q.month(Y,{width:"wide",context:"standalone"})}},w:function(Q,J,q,Y){let U=lz(Q,Y);if(J==="wo")return q.ordinalNumber(U,{unit:"week"});return Q1(U,J.length)},I:function(Q,J,q){let Y=pz(Q);if(J==="Io")return q.ordinalNumber(Y,{unit:"week"});return Q1(Y,J.length)},d:function(Q,J,q){if(J==="do")return q.ordinalNumber(Q.getDate(),{unit:"date"});return U6.d(Q,J)},D:function(Q,J,q){let Y=dz(Q);if(J==="Do")return q.ordinalNumber(Y,{unit:"dayOfYear"});return Q1(Y,J.length)},E:function(Q,J,q){let Y=Q.getDay();switch(J){case"E":case"EE":case"EEE":return q.day(Y,{width:"abbreviated",context:"formatting"});case"EEEEE":return q.day(Y,{width:"narrow",context:"formatting"});case"EEEEEE":return q.day(Y,{width:"short",context:"formatting"});case"EEEE":default:return q.day(Y,{width:"wide",context:"formatting"})}},e:function(Q,J,q,Y){let U=Q.getDay(),K=(U-Y.weekStartsOn+8)%7||7;switch(J){case"e":return String(K);case"ee":return Q1(K,2);case"eo":return q.ordinalNumber(K,{unit:"day"});case"eee":return q.day(U,{width:"abbreviated",context:"formatting"});case"eeeee":return q.day(U,{width:"narrow",context:"formatting"});case"eeeeee":return q.day(U,{width:"short",context:"formatting"});case"eeee":default:return q.day(U,{width:"wide",context:"formatting"})}},c:function(Q,J,q,Y){let U=Q.getDay(),K=(U-Y.weekStartsOn+8)%7||7;switch(J){case"c":return String(K);case"cc":return Q1(K,J.length);case"co":return q.ordinalNumber(K,{unit:"day"});case"ccc":return q.day(U,{width:"abbreviated",context:"standalone"});case"ccccc":return q.day(U,{width:"narrow",context:"standalone"});case"cccccc":return q.day(U,{width:"short",context:"standalone"});case"cccc":default:return q.day(U,{width:"wide",context:"standalone"})}},i:function(Q,J,q){let Y=Q.getDay(),U=Y===0?7:Y;switch(J){case"i":return String(U);case"ii":return Q1(U,J.length);case"io":return q.ordinalNumber(U,{unit:"day"});case"iii":return q.day(Y,{width:"abbreviated",context:"formatting"});case"iiiii":return q.day(Y,{width:"narrow",context:"formatting"});case"iiiiii":return q.day(Y,{width:"short",context:"formatting"});case"iiii":default:return q.day(Y,{width:"wide",context:"formatting"})}},a:function(Q,J,q){let U=Q.getHours()/12>=1?"pm":"am";switch(J){case"a":case"aa":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"aaa":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return q.dayPeriod(U,{width:"narrow",context:"formatting"});case"aaaa":default:return q.dayPeriod(U,{width:"wide",context:"formatting"})}},b:function(Q,J,q){let Y=Q.getHours(),U;if(Y===12)U=o9.noon;else if(Y===0)U=o9.midnight;else U=Y/12>=1?"pm":"am";switch(J){case"b":case"bb":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"bbb":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return q.dayPeriod(U,{width:"narrow",context:"formatting"});case"bbbb":default:return q.dayPeriod(U,{width:"wide",context:"formatting"})}},B:function(Q,J,q){let Y=Q.getHours(),U;if(Y>=17)U=o9.evening;else if(Y>=12)U=o9.afternoon;else if(Y>=4)U=o9.morning;else U=o9.night;switch(J){case"B":case"BB":case"BBB":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"BBBBB":return q.dayPeriod(U,{width:"narrow",context:"formatting"});case"BBBB":default:return q.dayPeriod(U,{width:"wide",context:"formatting"})}},h:function(Q,J,q){if(J==="ho"){let Y=Q.getHours()%12;if(Y===0)Y=12;return q.ordinalNumber(Y,{unit:"hour"})}return U6.h(Q,J)},H:function(Q,J,q){if(J==="Ho")return q.ordinalNumber(Q.getHours(),{unit:"hour"});return U6.H(Q,J)},K:function(Q,J,q){let Y=Q.getHours()%12;if(J==="Ko")return q.ordinalNumber(Y,{unit:"hour"});return Q1(Y,J.length)},k:function(Q,J,q){let Y=Q.getHours();if(Y===0)Y=24;if(J==="ko")return q.ordinalNumber(Y,{unit:"hour"});return Q1(Y,J.length)},m:function(Q,J,q){if(J==="mo")return q.ordinalNumber(Q.getMinutes(),{unit:"minute"});return U6.m(Q,J)},s:function(Q,J,q){if(J==="so")return q.ordinalNumber(Q.getSeconds(),{unit:"second"});return U6.s(Q,J)},S:function(Q,J){return U6.S(Q,J)},X:function(Q,J,q){let Y=Q.getTimezoneOffset();if(Y===0)return"Z";switch(J){case"X":return sz(Y);case"XXXX":case"XX":return _$(Y);case"XXXXX":case"XXX":default:return _$(Y,":")}},x:function(Q,J,q){let Y=Q.getTimezoneOffset();switch(J){case"x":return sz(Y);case"xxxx":case"xx":return _$(Y);case"xxxxx":case"xxx":default:return _$(Y,":")}},O:function(Q,J,q){let Y=Q.getTimezoneOffset();switch(J){case"O":case"OO":case"OOO":return"GMT"+rz(Y,":");case"OOOO":default:return"GMT"+_$(Y,":")}},z:function(Q,J,q){let Y=Q.getTimezoneOffset();switch(J){case"z":case"zz":case"zzz":return"GMT"+rz(Y,":");case"zzzz":default:return"GMT"+_$(Y,":")}},t:function(Q,J,q){let Y=Math.trunc(+Q/1000);return Q1(Y,J.length)},T:function(Q,J,q){return Q1(+Q,J.length)}};function rz(Q,J=""){let q=Q>0?"-":"+",Y=Math.abs(Q),U=Math.trunc(Y/60),K=Y%60;if(K===0)return q+String(U);return q+String(U)+J+Q1(K,2)}function sz(Q,J){if(Q%60===0)return(Q>0?"-":"+")+Q1(Math.abs(Q)/60,2);return _$(Q,J)}function _$(Q,J=""){let q=Q>0?"-":"+",Y=Math.abs(Q),U=Q1(Math.trunc(Y/60),2),K=Q1(Y%60,2);return q+U+J+K}var nz=(Q,J)=>{switch(Q){case"P":return J.date({width:"short"});case"PP":return J.date({width:"medium"});case"PPP":return J.date({width:"long"});case"PPPP":default:return J.date({width:"full"})}},oz=(Q,J)=>{switch(Q){case"p":return J.time({width:"short"});case"pp":return J.time({width:"medium"});case"ppp":return J.time({width:"long"});case"pppp":default:return J.time({width:"full"})}},xD=(Q,J)=>{let q=Q.match(/(P+)(p+)?/)||[],Y=q[1],U=q[2];if(!U)return nz(Q,J);let K;switch(Y){case"P":K=J.dateTime({width:"short"});break;case"PP":K=J.dateTime({width:"medium"});break;case"PPP":K=J.dateTime({width:"long"});break;case"PPPP":default:K=J.dateTime({width:"full"});break}return K.replace("{{date}}",nz(Y,J)).replace("{{time}}",oz(U,J))},iz={p:oz,P:xD};var uD=/^D+$/,mD=/^Y+$/,dD=["D","DD","YY","YYYY"];function az(Q){return uD.test(Q)}function tz(Q){return mD.test(Q)}function ez(Q,J,q){let Y=pD(Q,J,q);if(console.warn(Y),dD.includes(Q))throw RangeError(Y)}function pD(Q,J,q){let Y=Q[0]==="Y"?"years":"days of the month";return`Use \`${Q.toLowerCase()}\` instead of \`${Q}\` (in \`${J}\`) for formatting ${Y} to the input \`${q}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var cD=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rD=/^'([^]*?)'?$/,sD=/''/g,nD=/[a-zA-Z]/;function u4(Q,J,q){let Y=C8(),U=q?.locale??Y.locale??qQ,K=q?.firstWeekContainsDate??q?.locale?.options?.firstWeekContainsDate??Y.firstWeekContainsDate??Y.locale?.options?.firstWeekContainsDate??1,H=q?.weekStartsOn??q?.locale?.options?.weekStartsOn??Y.weekStartsOn??Y.locale?.options?.weekStartsOn??0,M=e0(Q,q?.in);if(!Iz(M))throw RangeError("Invalid time value");let F=J.match(lD).map((R)=>{let z=R[0];if(z==="p"||z==="P"){let L=iz[z];return L(R,U.formatLong)}return R}).join("").match(cD).map((R)=>{if(R==="''")return{isToken:!1,value:"'"};let z=R[0];if(z==="'")return{isToken:!1,value:oD(R)};if(lN[z])return{isToken:!0,value:R};if(z.match(nD))throw RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return{isToken:!1,value:R}});if(U.localize.preprocessor)F=U.localize.preprocessor(M,F);let T={firstWeekContainsDate:K,weekStartsOn:H,locale:U};return F.map((R)=>{if(!R.isToken)return R.value;let z=R.value;if(!q?.useAdditionalWeekYearTokens&&tz(z)||!q?.useAdditionalDayOfYearTokens&&az(z))ez(z,J,String(Q));let L=lN[z[0]];return L(M,z,U.localize,T)}).join("")}function oD(Q){let J=Q.match(rD);if(!J)return Q;return J[1].replace(sD,"'")}function $V(Q,J,q){let Y=C8(),U=q?.locale??Y.locale??qQ,K=2520,H=r9(Q,J);if(isNaN(H))throw RangeError("Invalid time value");let M=Object.assign({},q,{addSuffix:q?.addSuffix,comparison:H}),[F,T]=F2(q?.in,...H>0?[J,Q]:[Q,J]),R=bz(T,F),z=(l9(T)-l9(F))/1000,L=Math.round((R-z)/60),E;if(L<2)if(q?.includeSeconds)if(R<5)return U.formatDistance("lessThanXSeconds",5,M);else if(R<10)return U.formatDistance("lessThanXSeconds",10,M);else if(R<20)return U.formatDistance("lessThanXSeconds",20,M);else if(R<40)return U.formatDistance("halfAMinute",0,M);else if(R<60)return U.formatDistance("lessThanXMinutes",1,M);else return U.formatDistance("xMinutes",1,M);else if(L===0)return U.formatDistance("lessThanXMinutes",1,M);else return U.formatDistance("xMinutes",L,M);else if(L<45)return U.formatDistance("xMinutes",L,M);else if(L<90)return U.formatDistance("aboutXHours",1,M);else if(L<dN){let I=Math.round(L/60);return U.formatDistance("aboutXHours",I,M)}else if(L<2520)return U.formatDistance("xDays",1,M);else if(L<JQ){let I=Math.round(L/dN);return U.formatDistance("xDays",I,M)}else if(L<JQ*2)return E=Math.round(L/JQ),U.formatDistance("aboutXMonths",E,M);if(E=kz(T,F),E<12){let I=Math.round(L/JQ);return U.formatDistance("xMonths",I,M)}else{let I=E%12,A=Math.trunc(E/12);if(I<3)return U.formatDistance("aboutXYears",A,M);else if(I<9)return U.formatDistance("overXYears",A,M);else return U.formatDistance("almostXYears",A+1,M)}}function ZV(Q,J){return $V(Q,Ez(Q),J)}var m5=T0(G1(),1),Y5=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],Iq={dark:{legendLabel:"#94a3b8",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#64748b"},light:{legendLabel:"#475569",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#64748b"}};function jq(Q){let{chartTheme:J,showLegend:q,defaultLabel:Y,formatValue:U,footer:K}=Q;return{legend:{display:q,position:"top",align:"start",labels:{color:J.legendLabel,usePointStyle:!0,padding:16,font:{size:12},boxWidth:8}},tooltip:{backgroundColor:J.tooltipBackground,titleColor:J.tooltipTitle,bodyColor:J.tooltipBody,borderColor:J.tooltipBorder,borderWidth:1,padding:12,cornerRadius:8,callbacks:{label:(H)=>{let M=H.dataset.label??Y,F=H.parsed.y??0;return`${M}: ${U(F)}`},...K?{footer:K}:{}}}}}function Oq(Q){let{chartTheme:J,formatY:q}=Q,Y={grid:{color:J.grid,drawBorder:!1},ticks:{color:J.tick,font:{size:11}}},U={...Y,ticks:{...Y.ticks,callback:(K)=>q(Number(K))},min:0};return{sharedScaleBase:Y,yScale:U}}function Dq(Q){return{borderColor:Q,backgroundColor:`${Q}20`,fill:!0,tension:0,pointRadius:3,pointHoverRadius:4,borderWidth:2}}function Aq(Q){return{backgroundColor:Q,borderColor:Q,borderWidth:0,borderRadius:3}}function i9(Q,J){return Q.datasets.map((q,Y)=>({label:q.label,data:q.data,...J(Y)}))}function Sq(Q,J,q){if(Q.length===0)return{labels:[],datasets:[]};let{initBucket:Y,accumulate:U,bucketToValue:K}=q,H=new Map;for(let F of Q){let T=H.get(F.timestamp)??Y();U(T,F),H.set(F.timestamp,T)}let M=[...H.entries()].sort((F,T)=>F[0]-T[0]);return{labels:M.map(([F])=>u4(new Date(F),"MMM d")),datasets:[{label:J,data:M.map(([,F])=>K(F))}]}}function vq(Q,J){if(Q.length===0)return{labels:[],datasets:[]};let{topN:q=5,rankWeight:Y,initBucket:U,accumulate:K,bucketToValue:H}=J,M=new Map;for(let y of Q){let m=`${y.model}::${y.provider}`,n=M.get(m);if(n)n.weight+=Y(y);else M.set(m,{model:y.model,provider:y.provider,weight:Y(y)})}let T=[...M.entries()].sort((y,m)=>m[1].weight-y[1].weight).slice(0,q),R=new Set(T.map(([y])=>y)),z=new Map;for(let[,{model:y}]of T)z.set(y,(z.get(y)??0)+1);let L=new Map;for(let[y,{model:m,provider:n}]of T)L.set(y,(z.get(m)??0)>1?`${m} (${n})`:m);let E=[...new Set(Q.map((y)=>y.timestamp))].sort((y,m)=>y-m),I=T.map(([y])=>L.get(y)??y);if(Q.some((y)=>!R.has(`${y.model}::${y.provider}`)))I.push("Other");let C=new Map;for(let y of E)C.set(y,new Map);for(let y of Q){let m=`${y.model}::${y.provider}`,n=R.has(m)?L.get(m)??y.model:"Other",i=C.get(y.timestamp);if(!i)continue;let r=i.get(n)??U();K(r,y),i.set(n,r)}return{labels:E.map((y)=>u4(new Date(y),"MMM d")),datasets:I.map((y)=>({label:y,data:E.map((m)=>{let n=C.get(m)?.get(y);return n?H(n):0})}))}}function aD({byModel:Q,onChange:J}){return m5.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-sm)] p-0.5 border border-[var(--border-subtle)]",children:[m5.jsxDEV("button",{type:"button",onClick:()=>J(!1),className:`tab-btn text-xs ${!Q?"active":""}`,children:"All Models"},void 0,!1,void 0,this),m5.jsxDEV("button",{type:"button",onClick:()=>J(!0),className:`tab-btn text-xs ${Q?"active":""}`,children:"By Model"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function kq({title:Q,subtitle:J,empty:q,emptyMessage:Y,controls:U,byModel:K,onByModelChange:H,children:M}){return m5.jsxDEV("div",{className:"surface overflow-hidden",children:[m5.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)] flex items-center justify-between gap-4 flex-wrap",children:[m5.jsxDEV("div",{children:[m5.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),m5.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:J},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m5.jsxDEV("div",{className:"flex items-center gap-2 flex-wrap",children:[U,m5.jsxDEV(aD,{byModel:K,onChange:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),m5.jsxDEV("div",{className:"p-5 min-h-[320px]",children:q?m5.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:Y},void 0,!1,void 0,this):m5.jsxDEV("div",{className:"h-[280px]",children:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var a9=T0(G1(),1);E5.register(h4,x4,GQ,u5,g4,_8,P8,L8,c9);var rN=[{value:"yelling",label:"Yelling"},{value:"profanity",label:"Profanity"},{value:"anguish",label:"Anguish (!!!, nooo, dude, ..)"},{value:"negation",label:"Negation (no/nope/wrong)"},{value:"repetition",label:"Repetition (i meant, still doesnt)"},{value:"blame",label:"Blame (you didnt, stop X-ing)"},{value:"frustration",label:"Frustration (neg + rep + blame)"},{value:"total",label:"All signals combined"}];function QV(Q){if(!Number.isFinite(Q))return"-";if(Q===0)return"0%";if(Math.abs(Q)<1)return`${Q.toFixed(1)}%`;return`${Q.toFixed(0)}%`}function GV(Q,J){if(J==="frustration")return Q.negation+Q.repetition+Q.blame;if(J==="total")return Q.yelling+Q.profanity+Q.anguish+Q.negation+Q.repetition+Q.blame;return Q[J]}function JV(Q,J){if(J<=0)return 0;return Q/J*100}function tD(Q,J){let q=rN.find((Y)=>Y.value===J)?.label??"Hits";return Sq(Q,q,{initBucket:()=>({hits:0,messages:0}),accumulate:(Y,U)=>{Y.hits+=GV(U,J),Y.messages+=U.messages},bucketToValue:(Y)=>JV(Y.hits,Y.messages)})}function eD(Q,J){return vq(Q,{rankWeight:(q)=>q.messages,initBucket:()=>({hits:0,messages:0}),accumulate:(q,Y)=>{q.hits+=GV(Y,J),q.messages+=Y.messages},bucketToValue:(q)=>JV(q.hits,q.messages)})}function qV({behaviorSeries:Q}){let[J,q]=XQ.useState(!1),[Y,U]=XQ.useState("total"),K=E8(),H=Iq[K],M=XQ.useMemo(()=>J?eD(Q,Y):tD(Q,Y),[Q,J,Y]),F=jq({chartTheme:H,showLegend:J,defaultLabel:"Hits",formatValue:QV}),{sharedScaleBase:T,yScale:R}=Oq({chartTheme:H,formatY:QV}),z=rN.find((I)=>I.value===Y)?.label??"",L=a9.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-sm)] p-0.5 border border-[var(--border-subtle)]",children:rN.map((I)=>a9.jsxDEV("button",{type:"button",onClick:()=>U(I.value),className:`tab-btn text-xs ${Y===I.value?"active":""}`,children:I.label},I.value,!1,void 0,this))},void 0,!1,void 0,this),E;if(J){let I={labels:M.labels,datasets:i9(M,(C)=>Dq(Y5[C%Y5.length]))};E=a9.jsxDEV(P4,{data:I,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:F,scales:{x:T,y:R}}},void 0,!1,void 0,this)}else{let I={labels:M.labels,datasets:i9(M,(C)=>Aq(Y5[C%Y5.length]))},A={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:F,scales:{x:{...T,stacked:!0},y:{...R,stacked:!0}},layout:{padding:{top:8}}};E=a9.jsxDEV(Vq,{data:I,options:A},void 0,!1,void 0,this)}return a9.jsxDEV(kq,{title:"User Tantrums",subtitle:`${z} as % of user messages per day`,empty:M.labels.length===0,emptyMessage:"No behavioral data yet. Sync to scan your sessions.",controls:L,byModel:J,onByModelChange:q,children:E},void 0,!1,void 0,this)}var rq=T0(e1(),1);var bq=T0(e1(),1);var XV=(Q)=>(Q.match(/\d+[xX]\d+|[A-Z]?[a-z]+|[A-Z]|\d+/g)??[]).join("-").toLowerCase();function YV(Q,J,q=[]){if(J==null)throw Error("[lucide]: iconNode is required when icon name is used");return{name:XV(Q),size:24,node:J,...q.length>0?{aliases:q}:{}}}var UV=(Q)=>{let J="",q=!1;for(let Y of Q){if(Y==="-"||Y==="_"||Y<=" "){q=J.length>0;continue}if(J.length===0)J+=Y.toLowerCase();else J+=q?Y.toUpperCase():Y;q=!1}return J};var NV=(Q)=>{let J=UV(Q);return J.charAt(0).toUpperCase()+J.slice(1)};var UQ=T0(e1(),1);var YQ=(...Q)=>{let J=new Set;for(let q of Q){if(typeof q!=="string")continue;for(let Y of q.split(/\s+/))if(Y)J.add(Y)}return[...J].join(" ")};var W2={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function sN(Q){return Q!==null&&Q!==void 0}function KV(Q,J={}){let q=J.attributeNames??{},Y=(L)=>q[L]??L,U=Q.size??Q.width??W2.width,K=Q.size??Q.height??W2.height,H=Q.aliases?.filter((L)=>typeof L==="string"&&L.trim()!=="").map((L)=>`lucide-${L}`)??[],M=[...Q.name?[`lucide-${Q.name}`]:[],...H],F=J.className?.split(" ").filter(Boolean)??[],T=J.includeDefaultClasses===!1?YQ(...F):YQ("lucide",...M,...F),R=J.absoluteStrokeWidth?Number(J.strokeWidth??W2["stroke-width"])*Number(Q.size??Q.width??W2.width)/Number(J.size??J.width??W2.width):J.strokeWidth??W2["stroke-width"];return["svg",{...Object.entries(W2).reduce((L,[E,I])=>{return L[Y(E)]=I,L},{}),..."color"in J&&J.color&&{[Y("stroke")]:J.color},..."size"in J&&sN(J.size)&&{[Y("width")]:J.size,[Y("height")]:J.size},..."width"in J&&sN(J.width)&&{[Y("width")]:J.width},..."height"in J&&sN(J.height)&&{[Y("height")]:J.height},[Y("stroke-width")]:R,...T&&{[Y("class")]:T},[Y("viewBox")]:`0 0 ${U} ${K}`,...J.hasA11yProp===!1?{[Y("aria-hidden")]:"true"}:{},..."attributes"in J&&J.attributes},Q.node.map((L)=>{let[E,I,A]=L,C=J.nonScalingStroke?{[Y("vector-effect")]:"non-scaling-stroke",...I}:I;return A?[E,C,A]:[E,C]})]}function BV(Q,J={}){return KV(Q,{...J,attributeNames:{...J.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}var HV=(Q)=>{if(Q==null||typeof Q!=="object")return!1;for(let J in Q)if(Object.prototype.hasOwnProperty.call(Q,J)&&(J.startsWith("aria-")||J==="role"||J==="title")&&Q[J]!=null)return!0;return!1};var t9=T0(e1(),1),$A=t9.createContext({});var MV=()=>t9.useContext($A);var FV=UQ.forwardRef(({color:Q,size:J,width:q,height:Y,strokeWidth:U,absoluteStrokeWidth:K,nonScalingStroke:H,className:M="",children:F,iconNode:T=[],icon:R={node:T,aliases:[],size:24},...z},L)=>{let{size:E=24,strokeWidth:I=2,absoluteStrokeWidth:A=!1,nonScalingStroke:C=!1,color:y="currentColor",className:m=""}=MV()??{},n=Boolean(F)||HV(z),[i,r,Q0=[]]=BV(R,{color:Q??y,width:q??J??E,height:Y??J??E,strokeWidth:U??I,absoluteStrokeWidth:K??A,nonScalingStroke:H??C,className:YQ(m,M),hasA11yProp:n,attributes:z});return UQ.createElement(i,{ref:L,...r},[...Q0.map(([p,a])=>UQ.createElement(p,a)),...Array.isArray(F)?F:[F]])});function x0(Q,J=[],q=[]){let Y=typeof Q==="string"?YV(Q,J,q):Q,U=bq.forwardRef(({className:K,...H},M)=>bq.createElement(FV,{ref:M,icon:Y,className:K,...H}));if(Y.name)U.displayName=NV(Y.name);return U}var WV={name:"chart-column",size:24,node:[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],aliases:["bar-chart-3"]};WV.node;var w2=x0(WV);var wV={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};wV.node;var T2=x0(wV);var TV={name:"circle-exclamation-point",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle","circle-alert"]};TV.node;var m4=x0(TV);var RV={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};RV.node;var R2=x0(RV);var zV={name:"file-braces",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],aliases:["file-json"]};zV.node;var z2=x0(zV);var VV={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]};VV.node;var E$=x0(VV);var LV={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};LV.node;var NQ=x0(LV);var _V={name:"chevron-up",size:24,node:[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]};_V.node;var KQ=x0(_V);var PV={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};PV.node;var BQ=x0(PV);var EV={name:"coins",size:24,node:[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]]};EV.node;var HQ=x0(EV);var CV={name:"database",size:24,node:[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]};CV.node;var MQ=x0(CV);var IV={name:"download",size:24,node:[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]};IV.node;var FQ=x0(IV);var jV={name:"gauge",size:24,node:[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]};jV.node;var WQ=x0(jV);var OV={name:"hash",size:24,node:[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]};OV.node;var wQ=x0(OV);var DV={name:"refresh-cw",size:24,node:[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]};DV.node;var TQ=x0(DV);var AV={name:"server",size:24,node:[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]};AV.node;var RQ=x0(AV);var SV={name:"star",size:24,node:[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]};SV.node;var C$=x0(SV);var vV={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};vV.node;var zQ=x0(vV);var kV={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};kV.node;var VQ=x0(kV);var bV={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};bV.node;var I$=x0(bV);var E1=T0(G1(),1),fq={dark:{legendLabel:"#cbd5e1",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#94a3b8"},light:{legendLabel:"#334155",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#475569"}};function N6(Q){return{borderColor:Q,backgroundColor:"transparent",tension:0.4,pointRadius:0,borderWidth:2}}function yq({timestamps:Q,values:J,color:q}){let Y={labels:Q.map((K)=>u4(new Date(K),"MMM d")),datasets:[{data:J,...N6(q)}]};return E1.jsxDEV(P4,{data:Y,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!1}},scales:{x:{display:!1},y:{display:!1,min:0}}}},void 0,!1,void 0,this)}function gq(Q){return{legend:{display:!0,position:"top",labels:{color:Q.legendLabel,usePointStyle:!0,padding:16,font:{size:12}}},tooltip:{backgroundColor:Q.tooltipBackground,titleColor:Q.tooltipTitle,bodyColor:Q.tooltipBody,borderColor:Q.tooltipBorder,borderWidth:1,cornerRadius:8}}}function fV(Q){return{x:{grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}}},y:{grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}},min:0}}}function yV(Q){return{x:{grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}}},y:{type:"linear",display:!0,position:"left",grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}}},y1:{type:"linear",display:!0,position:"right",grid:{drawOnChartArea:!1},ticks:{color:Q.tick,font:{size:11}}}}}function hq({title:Q,subtitle:J,children:q}){return E1.jsxDEV("div",{className:"surface overflow-hidden",children:[E1.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[E1.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),J?E1.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:J},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),E1.jsxDEV("div",{className:"overflow-x-auto",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ZA(Q){if(Q==="right")return"text-right";if(Q==="center")return"text-center";return""}function xq({columns:Q,gridTemplate:J}){return E1.jsxDEV("div",{className:"grid gap-3 px-5 py-3 text-[var(--text-muted)] text-xs uppercase tracking-wider font-semibold",style:{gridTemplateColumns:J},children:[Q.map((q)=>E1.jsxDEV("div",{className:ZA(q.align),children:q.label},q.label,!1,void 0,this)),E1.jsxDEV("div",{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function uq({children:Q}){return E1.jsxDEV("div",{className:"max-h-[calc(100vh-300px)] overflow-y-auto",children:Q},void 0,!1,void 0,this)}function mq({model:Q,provider:J}){return E1.jsxDEV("div",{children:[E1.jsxDEV("div",{className:"font-medium text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),E1.jsxDEV("div",{className:"text-xs text-[var(--text-muted)]",children:J},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function dq({gridTemplate:Q,cells:J,trendCell:q,isExpanded:Y,onToggle:U,expandedContent:K}){return E1.jsxDEV("div",{className:"border-t border-[var(--border-subtle)]",children:[E1.jsxDEV("button",{type:"button",onClick:U,className:"w-full bg-transparent border-none text-left px-5 py-3 cursor-pointer hover:bg-[var(--bg-hover)] transition-colors",children:E1.jsxDEV("div",{className:"grid gap-3 items-center",style:{gridTemplateColumns:Q},children:[J,E1.jsxDEV("div",{className:"h-10",children:q},void 0,!1,void 0,this),E1.jsxDEV("div",{className:"flex justify-center text-[var(--text-muted)]",children:Y?E1.jsxDEV(KQ,{size:16},void 0,!1,void 0,this):E1.jsxDEV(NQ,{size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Y?E1.jsxDEV("div",{className:"px-5 py-4 bg-[var(--bg-elevated)] border-t border-[var(--border-subtle)]",children:K},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function pq(){return E1.jsxDEV("div",{className:"text-[var(--text-muted)] text-center text-sm",children:"-"},void 0,!1,void 0,this)}function cq({message:Q="No data available"}){return E1.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:Q},void 0,!1,void 0,this)}var r0=T0(G1(),1);E5.register(h4,x4,g4,u5,_8,P8,L8);var lq={yelling:"#fbbf24",profanity:"#f87171",anguish:"#a78bfa",frustration:"#22d3ee"},gV="2fr 0.9fr 0.8fr 0.8fr 0.8fr 0.9fr 0.8fr 140px 40px";function xV(Q){return Q.toLocaleString()}function hV(Q){if(Q.totalMessages===0)return 0;return(Q.totalYelling+Q.totalProfanity+Q.totalAnguish+Q.totalNegation+Q.totalRepetition+Q.totalBlame)/Q.totalMessages}function e9(Q,J){if(J===0)return"-";let q=Q/J*100;if(q===0)return"0%";if(q<1)return`${q.toFixed(1)}%`;return`${q.toFixed(0)}%`}function uV({models:Q,behaviorSeries:J}){let[q,Y]=rq.useState(null),U=E8(),K=fq[U],H=rq.useMemo(()=>GA(J),[J]),M=[...Q].sort((F,T)=>{if(T.totalMessages!==F.totalMessages)return T.totalMessages-F.totalMessages;return hV(T)-hV(F)});return r0.jsxDEV(hq,{title:"Behavior by Model",subtitle:"How often each model elicited a tantrum — rates are per user message",children:[r0.jsxDEV(xq,{gridTemplate:gV,columns:[{label:"Model"},{label:"Messages",align:"right"},{label:"CAPS %",align:"right"},{label:"Profanity %",align:"right"},{label:"Anguish %",align:"right"},{label:"Frustration %",align:"right"},{label:"Hits %",align:"right"},{label:"Trend",align:"center"}]},void 0,!1,void 0,this),r0.jsxDEV(uq,{children:[M.map((F,T)=>{let R=`${F.model}::${F.provider}`,z=H.get(R)?.data??[],L=Y5[T%Y5.length],E=q===R,I=F.totalNegation+F.totalRepetition+F.totalBlame,A=F.totalYelling+F.totalProfanity+F.totalAnguish+I;return r0.jsxDEV(dq,{gridTemplate:gV,isExpanded:E,onToggle:()=>Y(E?null:R),cells:[r0.jsxDEV(mq,{model:F.model,provider:F.provider},"name",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:xV(F.totalMessages)},"messages",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:e9(F.totalYelling,F.totalMessages)},"caps",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:e9(F.totalProfanity,F.totalMessages)},"profanity",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:e9(F.totalAnguish,F.totalMessages)},"anguish",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:e9(I,F.totalMessages)},"frustration",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:e9(A,F.totalMessages)},"hits",!1,void 0,this)],trendCell:z.length===0?r0.jsxDEV(pq,{},void 0,!1,void 0,this):r0.jsxDEV(yq,{timestamps:z.map((C)=>C.timestamp),values:z.map((C)=>C.total),color:L},void 0,!1,void 0,this),expandedContent:r0.jsxDEV("div",{className:"grid gap-4",style:{gridTemplateColumns:"220px 1fr"},children:[r0.jsxDEV("div",{className:"space-y-4 text-sm",children:[r0.jsxDEV(j$,{label:"Yelling (CAPS)",total:F.totalYelling,messages:F.totalMessages,valueClass:"text-[var(--accent-amber,#fbbf24)]"},void 0,!1,void 0,this),r0.jsxDEV(j$,{label:"Profanity",total:F.totalProfanity,messages:F.totalMessages,valueClass:"text-[var(--accent-red,#f87171)]"},void 0,!1,void 0,this),r0.jsxDEV(j$,{label:"Anguish (!!!, nooo, dude, ..)",total:F.totalAnguish,messages:F.totalMessages,valueClass:"text-[var(--accent-violet,#a78bfa)]"},void 0,!1,void 0,this),r0.jsxDEV(j$,{label:"Negation (no/nope/wrong)",total:F.totalNegation,messages:F.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),r0.jsxDEV(j$,{label:"Repetition (i meant, still doesnt)",total:F.totalRepetition,messages:F.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),r0.jsxDEV(j$,{label:"Blame (you didnt, stop X-ing)",total:F.totalBlame,messages:F.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),r0.jsxDEV(j$,{label:"Avg chars / msg",total:F.totalChars,messages:F.totalMessages,valueClass:"text-[var(--text-secondary)]",mode:"average"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{className:"h-[200px]",children:z.length===0?r0.jsxDEV(cq,{},void 0,!1,void 0,this):r0.jsxDEV(QA,{data:z,chartTheme:K},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},R,!1,void 0,this)}),M.length===0?r0.jsxDEV("div",{className:"border-t border-[var(--border-subtle)] px-5 py-8 text-center text-[var(--text-muted)] text-sm",children:"No user behavior recorded for this range yet."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function j$({label:Q,total:J,messages:q,valueClass:Y,mode:U="rate"}){let K=U==="rate"?"% of msgs":"Per msg",H=q>0?U==="rate"?e9(J,q):(J/q).toFixed(0):"-";return r0.jsxDEV("div",{children:[r0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:Q},void 0,!1,void 0,this),r0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:"Total"},void 0,!1,void 0,this),r0.jsxDEV("span",{className:`font-mono ${Y}`,children:xV(J)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:K},void 0,!1,void 0,this),r0.jsxDEV("span",{className:"font-mono",children:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function QA({data:Q,chartTheme:J}){let q={labels:Q.map((U)=>u4(new Date(U.timestamp),"MMM d")),datasets:[{label:"CAPS",data:Q.map((U)=>U.yelling),...N6(lq.yelling)},{label:"Profanity",data:Q.map((U)=>U.profanity),...N6(lq.profanity)},{label:"Anguish",data:Q.map((U)=>U.anguish),...N6(lq.anguish)},{label:"Frustration",data:Q.map((U)=>U.frustration),...N6(lq.frustration)}]},Y={responsive:!0,maintainAspectRatio:!1,plugins:gq(J),scales:fV(J)};return r0.jsxDEV(P4,{data:q,options:Y},void 0,!1,void 0,this)}function GA(Q){if(Q.length===0)return new Map;let J=[...new Set(Q.map((U)=>U.timestamp))].sort((U,K)=>U-K),q=new Map;for(let U of Q){let K=`${U.model}::${U.provider}`,H=q.get(K);if(!H)H=new Map,q.set(K,H);let M=H.get(U.timestamp)??{timestamp:U.timestamp,yelling:0,profanity:0,anguish:0,frustration:0,total:0};M.yelling+=U.yelling,M.profanity+=U.profanity,M.anguish+=U.anguish,M.frustration+=U.negation+U.repetition+U.blame,M.total=M.yelling+M.profanity+M.anguish+M.frustration,H.set(U.timestamp,M)}let Y=new Map;for(let[U,K]of q){let H=J.map((M)=>K.get(M)??{timestamp:M,yelling:0,profanity:0,anguish:0,frustration:0,total:0});Y.set(U,{data:H})}return Y}var mV=T0(e1(),1),Z7=T0(G1(),1);function $7(Q){return Q.toLocaleString()}function sq(Q,J){if(J<=0)return;return`${(Q/J).toFixed(2)} / msg`}function dV({overall:Q,behaviorSeries:J}){let q=mV.useMemo(()=>{let H=new Map;for(let F of J){let T=`${F.model}::${F.provider}`,R=H.get(T),z=F.yelling+F.profanity+F.anguish+F.negation+F.repetition+F.blame;if(R)R.score+=z;else H.set(T,{model:F.model,provider:F.provider,score:z})}let M=null;for(let F of H.values())if(!M||F.score>M.score)M=F;return M},[J]),Y=Q.totalNegation+Q.totalRepetition+Q.totalBlame,U=Q.totalMessages,K=[{label:"Messages",value:$7(Q.totalMessages),sub:U>0?"in selected range":void 0},{label:"Yelling",value:$7(Q.totalYelling),sub:sq(Q.totalYelling,U)},{label:"Profanity hits",value:$7(Q.totalProfanity),sub:sq(Q.totalProfanity,U)},{label:"Anguish",value:$7(Q.totalAnguish),sub:sq(Q.totalAnguish,U)},{label:"Frustration",value:$7(Y),sub:sq(Y,U)},{label:"Most yelled-at",value:q?.model??"—",sub:q?`${$7(q.score)} hits`:void 0}];return Z7.jsxDEV("div",{className:"grid grid-cols-2 sm:grid-cols-6 gap-4",children:K.map((H)=>Z7.jsxDEV("div",{className:"surface px-4 py-3",children:[Z7.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mb-1",children:H.label},void 0,!1,void 0,this),Z7.jsxDEV("p",{className:"text-lg font-semibold text-[var(--text-primary)] truncate",title:H.value,children:H.value},void 0,!1,void 0,this),H.sub&&Z7.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-0.5",children:H.sub},void 0,!1,void 0,this)]},H.label,!0,void 0,this))},void 0,!1,void 0,this)}var lV=T0(e1(),1);var nN=3600000,nq=24*nN,pV={"1h":{windowLabel:"the last hour",trendLabel:"1h Trend",bucketMs:nN,bucketCount:1,tickFormat:"HH:mm"},"24h":{windowLabel:"the last 24 hours",trendLabel:"24h Trend",bucketMs:nN,bucketCount:24,tickFormat:"HH:mm"},"7d":{windowLabel:"the last 7 days",trendLabel:"7d Trend",bucketMs:nq,bucketCount:7,tickFormat:"MMM d"},"30d":{windowLabel:"the last 30 days",trendLabel:"30d Trend",bucketMs:nq,bucketCount:30,tickFormat:"MMM d"},"90d":{windowLabel:"the last 90 days",trendLabel:"90d Trend",bucketMs:nq,bucketCount:90,tickFormat:"MMM d"},all:{windowLabel:"all time",trendLabel:"Trend",bucketMs:nq,bucketCount:0,tickFormat:"MMM d"}};function oq(Q){return pV[Q]}function cV(Q,J){return u4(new Date(Q),pV[J].tickFormat)}var K6=T0(G1(),1);E5.register(h4,x4,g4,u5,_8,P8,L8,c9);var iq=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],JA={dark:{legendLabel:"#94a3b8",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#64748b"},light:{legendLabel:"#475569",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#64748b"}};function rV({modelSeries:Q,timeRange:J}){let q=lV.useMemo(()=>qA(Q),[Q]),Y=E8(),U=JA[Y],K=oq(J),H={labels:q.data.map((F)=>cV(F.timestamp,J)),datasets:q.series.map((F,T)=>({label:F,data:q.data.map((R)=>R[F]??0),borderColor:iq[T%iq.length],backgroundColor:`${iq[T%iq.length]}20`,fill:!0,tension:0.4,pointRadius:0,pointHoverRadius:4,borderWidth:2}))},M={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{legend:{position:"top",align:"start",labels:{color:U.legendLabel,usePointStyle:!0,padding:16,font:{size:12},boxWidth:8}},tooltip:{backgroundColor:U.tooltipBackground,titleColor:U.tooltipTitle,bodyColor:U.tooltipBody,borderColor:U.tooltipBorder,borderWidth:1,padding:12,cornerRadius:8,callbacks:{label:(F)=>{let T=F.dataset.label??"",R=F.parsed.y;return`${T}: ${(R??0).toFixed(1)}%`}}}},scales:{x:{grid:{color:U.grid,drawBorder:!1},ticks:{color:U.tick,font:{size:11}}},y:{grid:{color:U.grid,drawBorder:!1},ticks:{color:U.tick,font:{size:11},callback:(F)=>`${F}%`},min:0,max:100}}};return K6.jsxDEV("div",{className:"surface overflow-hidden",children:[K6.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[K6.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:"Model Preference"},void 0,!1,void 0,this),K6.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:["Share of requests over ",K.windowLabel]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),K6.jsxDEV("div",{className:"p-5 min-h-[320px]",children:q.data.length===0?K6.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:"No data available"},void 0,!1,void 0,this):K6.jsxDEV("div",{className:"h-[280px]",children:K6.jsxDEV(P4,{data:H,options:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function qA(Q,J=5){if(Q.length===0)return{data:[],series:[]};let q=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,E=q.get(L);if(E)E.total+=z.requests;else q.set(L,{model:z.model,provider:z.provider,total:z.requests})}let U=[...q.entries()].map(([z,L])=>({key:z,...L})).sort((z,L)=>L.total-z.total).slice(0,J),K=new Set(U.map((z)=>z.key)),H=new Map;for(let z of U)H.set(z.model,(H.get(z.model)??0)+1);let M=new Map;for(let z of U){let L=(H.get(z.model)??0)>1;M.set(z.key,L?`${z.model} (${z.provider})`:z.model)}let F=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,E=F.get(z.timestamp)??{timestamp:z.timestamp,total:0};E.total+=z.requests;let I=K.has(L)?M.get(L)??z.model:"Other";E[I]=(E[I]??0)+z.requests,F.set(z.timestamp,E)}let T=U.map((z)=>M.get(z.key)??z.model);if([...F.values()].some((z)=>(z.Other??0)>0))T.push("Other");return{data:[...F.values()].sort((z,L)=>(z.timestamp??0)-(L.timestamp??0)).map((z)=>{let L=z.total??0;for(let E of T)z[E]=L>0?(z[E]??0)/L*100:0;return z}),series:T}}var tq=T0(e1(),1);var aq=T0(G1(),1);E5.register(h4,x4,GQ,u5,g4,_8,P8,L8,c9);var XA={dark:"rgba(248, 250, 252, 0.7)",light:"rgba(15, 23, 42, 0.6)"};function YA(Q){return{id:"costBarLabels",afterDatasetsDraw(J){let{ctx:q}=J;if(!J.data.datasets[0])return;let U=J.getDatasetMeta(0);q.save(),q.font="11px system-ui, sans-serif",q.fillStyle=Q,q.textAlign="center",q.textBaseline="bottom";for(let K of U.data){let H=K.$context.parsed.y;if(!H)continue;let M=`$${Math.round(H)}`,{x:F,y:T}=K.getProps(["x","y"],!0);q.fillText(M,F,T-3)}q.restore()}}}function UA(Q){return Sq(Q,"Cost",{initBucket:()=>({total:0}),accumulate:(J,q)=>{J.total+=q.cost},bucketToValue:(J)=>J.total})}function NA(Q){return vq(Q,{rankWeight:(J)=>J.cost,initBucket:()=>({total:0}),accumulate:(J,q)=>{J.total+=q.cost},bucketToValue:(J)=>J.total})}function sV({costSeries:Q}){let[J,q]=tq.useState(!1),Y=E8(),U=Iq[Y],K=tq.useMemo(()=>J?NA(Q):UA(Q),[Q,J]),H=jq({chartTheme:U,showLegend:J,defaultLabel:"Cost",formatValue:(R)=>`$${Math.round(R)}`,footer:(R)=>{if(!J||R.length<2)return;let z=R.reduce((L,E)=>L+(E.parsed.y??0),0);return`Total: $${Math.round(z)}`}}),{sharedScaleBase:M,yScale:F}=Oq({chartTheme:U,formatY:(R)=>`$${Math.round(R)}`}),T;if(J){let R={labels:K.labels,datasets:i9(K,(L)=>Dq(Y5[L%Y5.length]))};T=aq.jsxDEV(P4,{data:R,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:H,scales:{x:M,y:F}}},void 0,!1,void 0,this)}else{let R={labels:K.labels,datasets:i9(K,(E)=>Aq(Y5[E%Y5.length]))},z=YA(XA[Y]),L={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{...H,costBarLabels:{}},scales:{x:{...M,stacked:!0},y:{...F,stacked:!0}},layout:{padding:{top:24}}};T=aq.jsxDEV(Vq,{data:R,options:L,plugins:[z]},void 0,!1,void 0,this)}return aq.jsxDEV(kq,{title:"Daily Cost",subtitle:"API spending over time",empty:K.labels.length===0,emptyMessage:"No cost data available",byModel:J,onByModelChange:q,children:T},void 0,!1,void 0,this)}var Q7=T0(G1(),1);function oN(Q){return`$${Math.round(Q)}`}function nV({costSeries:Q}){let J=Q.reduce((F,T)=>F+T.cost,0),q=new Set(Q.map((F)=>F.timestamp)).size,Y=q>0?J/q:0,U=new Map;for(let F of Q)U.set(F.model,(U.get(F.model)??0)+F.cost);let K="",H=0;for(let[F,T]of U)if(T>H)K=F,H=T;let M=[{label:"Total",value:oN(J)},{label:"Avg / day",value:oN(Y)},{label:"Top model",value:K||"—",sub:K?oN(H):void 0}];return Q7.jsxDEV("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:M.map((F)=>Q7.jsxDEV("div",{className:"surface px-4 py-3",children:[Q7.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mb-1",children:F.label},void 0,!1,void 0,this),Q7.jsxDEV("p",{className:"text-lg font-semibold text-[var(--text-primary)] truncate",title:F.value,children:F.value},void 0,!1,void 0,this),F.sub&&Q7.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-0.5",children:F.sub},void 0,!1,void 0,this)]},F.label,!0,void 0,this))},void 0,!1,void 0,this)}var C5=T0(G1(),1),KA=["overview","requests","errors","models","costs","behavior"],BA=[{label:"1h",value:"1h"},{label:"24h",value:"24h"},{label:"7d",value:"7d"},{label:"30d",value:"30d"},{label:"90d",value:"90d"},{label:"All",value:"all"}];function oV({activeTab:Q,onTabChange:J,onSync:q,syncing:Y,timeRange:U,onTimeRangeChange:K}){return C5.jsxDEV("header",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 pb-6 mb-8 border-b border-[var(--border-subtle)]",children:[C5.jsxDEV("div",{className:"flex items-center gap-3",children:[C5.jsxDEV("div",{className:"w-10 h-10 rounded-[var(--radius-md)] bg-gradient-to-br from-[var(--accent-pink)] to-[var(--accent-cyan)] flex items-center justify-center shadow-lg",children:C5.jsxDEV(E$,{className:"w-5 h-5 text-white"},void 0,!1,void 0,this)},void 0,!1,void 0,this),C5.jsxDEV("div",{children:[C5.jsxDEV("h1",{className:"text-xl font-semibold text-[var(--text-primary)]",children:"AI Usage"},void 0,!1,void 0,this),C5.jsxDEV("p",{className:"text-sm text-[var(--text-muted)]",children:"Statistics & Analytics"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),C5.jsxDEV("div",{className:"flex items-center gap-3",children:[C5.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-md)] p-1 border border-[var(--border-subtle)]",children:KA.map((H)=>C5.jsxDEV("button",{type:"button",onClick:()=>J(H),className:`tab-btn capitalize ${Q===H?"active":""}`,children:H},H,!1,void 0,this))},void 0,!1,void 0,this),C5.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-md)] p-1 border border-[var(--border-subtle)]",children:BA.map((H)=>C5.jsxDEV("button",{type:"button",onClick:()=>K(H.value),className:`tab-btn ${U===H.value?"active":""}`,title:H.value==="all"?"All time":`Last ${H.label}`,children:H.label},H.value,!1,void 0,this))},void 0,!1,void 0,this),C5.jsxDEV("button",{type:"button",onClick:q,disabled:Y,className:"btn btn-primary",children:[C5.jsxDEV(TQ,{size:16,className:Y?"spin":""},void 0,!1,void 0,this),Y?"Syncing...":"Sync"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var eq=T0(e1(),1);var s0=T0(G1(),1);E5.register(h4,x4,g4,u5,_8,P8,L8);var iV="2fr 0.9fr 0.9fr 1fr 0.8fr 0.8fr 140px 40px";function aV({models:Q,performanceSeries:J,timeRange:q}){let[Y,U]=eq.useState(null),K=oq(q),H=eq.useMemo(()=>MA(J,K.bucketCount,K.bucketMs),[J,K.bucketCount,K.bucketMs]),M=E8(),F=fq[M],T=[...Q].sort((R,z)=>z.totalInputTokens+z.totalOutputTokens-(R.totalInputTokens+R.totalOutputTokens));return s0.jsxDEV(hq,{title:"Model Statistics",children:[s0.jsxDEV(xq,{gridTemplate:iV,columns:[{label:"Model"},{label:"Requests",align:"right"},{label:"Cost",align:"right"},{label:"Tokens",align:"right"},{label:"Tokens/s",align:"right"},{label:"TTFT",align:"right"},{label:K.trendLabel,align:"center"}]},void 0,!1,void 0,this),s0.jsxDEV(uq,{children:T.map((R,z)=>{let L=`${R.model}::${R.provider}`,I=H.get(L)?.data??[],A=Y5[z%Y5.length],C=Y===L,y=R.errorRate*100;return s0.jsxDEV(dq,{gridTemplate:iV,isExpanded:C,onToggle:()=>U(C?null:L),cells:[s0.jsxDEV(mq,{model:R.model,provider:R.provider},"name",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:R.totalRequests.toLocaleString()},"requests",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:["$",R.totalCost.toFixed(2)]},"cost",!0,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:(R.totalInputTokens+R.totalOutputTokens).toLocaleString()},"tokens",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:R.avgTokensPerSecond?.toFixed(1)??"-"},"tps",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:R.avgTtft?`${(R.avgTtft/1000).toFixed(2)}s`:"-"},"ttft",!1,void 0,this)],trendCell:I.length===0?s0.jsxDEV(pq,{},void 0,!1,void 0,this):s0.jsxDEV(yq,{timestamps:I.map((m)=>m.timestamp),values:I.map((m)=>m.avgTokensPerSecond??0),color:A},void 0,!1,void 0,this),expandedContent:s0.jsxDEV("div",{className:"grid gap-4",style:{gridTemplateColumns:"200px 1fr"},children:[s0.jsxDEV("div",{className:"space-y-4 text-sm",children:[s0.jsxDEV("div",{children:[s0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:"Quality"},void 0,!1,void 0,this),s0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Error rate"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:y>5?"text-[var(--accent-red)]":"text-[var(--accent-green)]",children:[y.toFixed(1),"%"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Cache rate"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:"text-[var(--accent-cyan)]",children:[(R.cacheRate*100).toFixed(1),"%"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{children:[s0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:"Latency"},void 0,!1,void 0,this),s0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Avg duration"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:"font-mono",children:R.avgDuration?`${(R.avgDuration/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Avg TTFT"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:"font-mono",children:R.avgTtft?`${(R.avgTtft/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{className:"h-[200px]",children:I.length===0?s0.jsxDEV(cq,{},void 0,!1,void 0,this):s0.jsxDEV(HA,{data:I,color:A,chartTheme:F},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},L,!1,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function HA({data:Q,color:J,chartTheme:q}){let Y={labels:Q.map((K)=>u4(new Date(K.timestamp),"MMM d")),datasets:[{label:"TTFT",data:Q.map((K)=>K.avgTtftSeconds??null),...N6("#fbbf24"),yAxisID:"y"},{label:"Tokens/s",data:Q.map((K)=>K.avgTokensPerSecond??null),...N6(J),yAxisID:"y1"}]},U={responsive:!0,maintainAspectRatio:!1,plugins:gq(q),scales:yV(q)};return s0.jsxDEV(P4,{data:Y,options:U},void 0,!1,void 0,this)}function MA(Q,J,q){let Y=Q.reduce((z,L)=>Math.max(z,L.timestamp),0),U=Y>0?Y:Math.floor(Date.now()/q)*q,K=new Set(Q.map((z)=>z.timestamp)),H=J>0?J:Math.max(1,K.size),M=U-(H-1)*q,F=Array.from({length:H},(z,L)=>M+L*q),T=new Map(F.map((z,L)=>[z,L])),R=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,E=R.get(L);if(!E)E={label:`${z.model} (${z.provider})`,data:F.map((A)=>({timestamp:A,avgTtftSeconds:null,avgTokensPerSecond:null,requests:0}))},R.set(L,E);let I=T.get(z.timestamp);if(I===void 0)continue;E.data[I]={timestamp:z.timestamp,avgTtftSeconds:z.avgTtft!==null?z.avgTtft/1000:null,avgTokensPerSecond:z.avgTokensPerSecond,requests:z.requests}}return R}var LQ=T0(e1(),1);var X0=T0(G1(),1);function tV({id:Q,onClose:J}){let[q,Y]=LQ.useState(null),[U,K]=LQ.useState(!0);if(LQ.useEffect(()=>{ow(Q).then(Y).catch(console.error).finally(()=>K(!1))},[Q]),!q&&U)return X0.jsxDEV("div",{className:"fixed inset-0 bg-[var(--bg-overlay)] flex justify-center items-center z-[100]",children:X0.jsxDEV("div",{className:"surface px-8 py-6",children:X0.jsxDEV("div",{className:"flex items-center gap-3 text-[var(--text-secondary)]",children:[X0.jsxDEV("div",{className:"w-5 h-5 border-2 border-[var(--border-default)] border-t-[var(--accent-cyan)] rounded-full spin"},void 0,!1,void 0,this),X0.jsxDEV("span",{children:"Loading..."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!q)return null;return X0.jsxDEV("div",{role:"presentation",className:"fixed inset-0 bg-[var(--bg-overlay)] backdrop-blur-sm flex justify-end z-[100] animate-fade-in",onClick:J,children:X0.jsxDEV("div",{role:"dialog","aria-modal":"true",className:"w-[600px] max-w-full bg-[var(--bg-page)] h-full overflow-y-auto border-l border-[var(--border-subtle)] animate-slide-up",onClick:(H)=>H.stopPropagation(),children:[X0.jsxDEV("div",{className:"sticky top-0 bg-[var(--bg-page)]/95 backdrop-blur border-b border-[var(--border-subtle)] px-6 py-4 flex justify-between items-center z-10",children:[X0.jsxDEV("div",{className:"flex items-center gap-3",children:[X0.jsxDEV("div",{className:"w-8 h-8 rounded-[var(--radius-sm)] bg-gradient-to-br from-[var(--accent-pink)]/20 to-[var(--accent-cyan)]/20 flex items-center justify-center",children:X0.jsxDEV(z2,{size:16,className:"text-[var(--accent-cyan)]"},void 0,!1,void 0,this)},void 0,!1,void 0,this),X0.jsxDEV("h2",{className:"text-lg font-semibold text-[var(--text-primary)]",children:"Request Details"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("button",{type:"button",onClick:J,className:"p-2 rounded-[var(--radius-sm)] text-[var(--text-muted)] hover:text-[var(--text-primary)] hover:bg-[var(--bg-hover)] transition-colors",children:X0.jsxDEV(VQ,{size:20},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"p-6 space-y-6",children:[X0.jsxDEV("div",{className:"surface p-5",children:X0.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[X0.jsxDEV("div",{children:[X0.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)]",children:q.model},void 0,!1,void 0,this),X0.jsxDEV("div",{className:"text-sm text-[var(--text-muted)]",children:q.provider},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.errorMessage?X0.jsxDEV("span",{className:"badge badge-error",children:"Error"},void 0,!1,void 0,this):X0.jsxDEV("span",{className:"badge badge-success",children:"Success"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),X0.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(HQ,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Cost"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:["$",q.usage.cost.total.toFixed(4)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(C$,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Premium Reqs"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:(q.usage.premiumRequests??0).toLocaleString()},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(wQ,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Tokens"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:q.usage.totalTokens.toLocaleString()},void 0,!1,void 0,this),X0.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] mt-1",children:[q.usage.input.toLocaleString()," in · ",q.usage.output.toLocaleString()," out"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(BQ,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Duration"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:q.duration?`${(q.duration/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(I$,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"TTFT"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:q.ttft?`${(q.ttft/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),q.duration&&q.usage.output>0&&X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center justify-between",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)]",children:[X0.jsxDEV(WQ,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Throughput"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("span",{className:"text-2xl font-bold gradient-text",children:(q.usage.output*1000/q.duration).toFixed(1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] mt-1 text-right",children:"tokens/second"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{children:[X0.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)] mb-3",children:"Output"},void 0,!1,void 0,this),X0.jsxDEV("pre",{className:"surface bg-[var(--bg-elevated)] p-4 rounded-[var(--radius-md)] text-sm font-mono text-[var(--text-secondary)] overflow-x-auto",children:JSON.stringify(q.output,null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{children:[X0.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)] mb-3",children:"Raw Metadata"},void 0,!1,void 0,this),X0.jsxDEV("pre",{className:"surface bg-[var(--bg-elevated)] p-4 rounded-[var(--radius-md)] text-xs font-mono text-[var(--text-muted)] overflow-x-auto",children:JSON.stringify(q,null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var B1=T0(G1(),1);function _Q({requests:Q,onSelect:J,title:q}){return B1.jsxDEV("div",{className:"surface overflow-hidden flex flex-col h-full",children:[B1.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:B1.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:q},void 0,!1,void 0,this)},void 0,!1,void 0,this),B1.jsxDEV("div",{className:"overflow-auto flex-1",children:B1.jsxDEV("table",{className:"w-full",children:[B1.jsxDEV("thead",{className:"bg-[var(--bg-elevated)] sticky top-0 z-10",children:B1.jsxDEV("tr",{children:[B1.jsxDEV("th",{className:"text-left py-3 px-4 table-header",children:"Model"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-left py-3 px-4 table-header",children:"Time"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Tokens"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Cost"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Duration"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-center py-3 px-4 table-header",children:"Status"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B1.jsxDEV("tbody",{children:[Q.map((Y)=>B1.jsxDEV("tr",{onClick:()=>J(Y),className:"table-row cursor-pointer border-b border-[var(--border-subtle)] last:border-b-0",children:[B1.jsxDEV("td",{className:"py-3 px-4",children:[B1.jsxDEV("div",{className:"font-medium text-[var(--text-primary)] text-sm",children:Y.model},void 0,!1,void 0,this),B1.jsxDEV("div",{className:"text-xs text-[var(--text-muted)]",children:Y.provider},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-sm text-[var(--text-secondary)]",children:ZV(Y.timestamp,{addSuffix:!0})},void 0,!1,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:Y.usage.totalTokens.toLocaleString()},void 0,!1,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:["$",Y.usage.cost.total.toFixed(4)]},void 0,!0,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:Y.duration?`${(Y.duration/1000).toFixed(1)}s`:"-"},void 0,!1,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-center",children:Y.errorMessage?B1.jsxDEV(R2,{size:16,className:"text-[var(--accent-red)] mx-auto"},void 0,!1,void 0,this):B1.jsxDEV(T2,{size:16,className:"text-[var(--accent-green)] mx-auto"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},`${Y.sessionFile}-${Y.entryId}`,!0,void 0,this)),Q.length===0&&B1.jsxDEV("tr",{children:B1.jsxDEV("td",{colSpan:6,className:"py-12 text-center text-[var(--text-muted)] text-sm",children:"No requests found"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var B6=T0(G1(),1),FA=new Intl.NumberFormat(void 0,{notation:"compact",maximumFractionDigits:1});function eV(Q){return FA.format(Q)}function iN(Q){return Q.toLocaleString()}var PQ=(Q)=>Q.totalInputTokens+Q.totalOutputTokens,WA=[{key:"requests",title:"Total Requests",icon:RQ,color:"var(--accent-violet)",getValue:(Q)=>Q.totalRequests.toLocaleString(),getDetail:(Q)=>`${Q.successfulRequests.toLocaleString()} success · ${Q.failedRequests.toLocaleString()} errors`},{key:"cost",title:"Total Cost",icon:E$,color:"var(--accent-pink)",getValue:(Q)=>`$${Q.totalCost.toFixed(2)}`,getDetail:(Q)=>Q.totalRequests>0?`$${(Q.totalCost/Q.totalRequests).toFixed(4)} avg/req`:"-"},{key:"premiumRequests",title:"Premium Reqs",icon:C$,color:"var(--accent-amber)",getValue:(Q)=>iN(Q.totalPremiumRequests),getDetail:(Q)=>Q.totalRequests>0?`${(Q.totalPremiumRequests/Q.totalRequests*100).toFixed(1)}% of requests`:"-"},{key:"cache",title:"Cache Rate",icon:MQ,color:"var(--accent-cyan)",getValue:(Q)=>`${(Q.cacheRate*100).toFixed(1)}%`,getDetail:(Q)=>`${eV(Q.totalCacheReadTokens)} cached tokens`},{key:"inputTokens",title:"Input Tokens",icon:FQ,color:"var(--accent-violet)",getValue:(Q)=>iN(Q.totalInputTokens),getDetail:(Q)=>PQ(Q)>0?`${(Q.totalInputTokens/PQ(Q)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"outputTokens",title:"Output Tokens",icon:zQ,color:"var(--accent-pink)",getValue:(Q)=>iN(Q.totalOutputTokens),getDetail:(Q)=>PQ(Q)>0?`${(Q.totalOutputTokens/PQ(Q)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"errors",title:"Error Rate",icon:m4,color:"var(--accent-red)",getValue:(Q)=>`${(Q.errorRate*100).toFixed(1)}%`,getDetail:(Q)=>`${Q.failedRequests.toLocaleString()} failed requests`},{key:"tokens",title:"Tokens/Sec",icon:w2,color:"var(--accent-green)",getValue:(Q)=>Q.avgTokensPerSecond?.toFixed(1)??"-",getDetail:(Q)=>`${eV(PQ(Q))} total prompt+completion`},{key:"ttft",title:"TTFT",icon:I$,color:"var(--accent-amber)",getValue:(Q)=>Q.avgTtft?`${(Q.avgTtft/1000).toFixed(2)}s`:"-",getDetail:()=>"Time to first token"}];function $L({stats:Q}){return B6.jsxDEV("div",{className:"grid grid-cols-2 lg:grid-cols-3 xl:grid-cols-9 gap-4 mb-8",children:WA.map((J)=>{let q=J.icon;return B6.jsxDEV("div",{className:"stat-card group",children:[B6.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[B6.jsxDEV("span",{className:"text-sm font-medium text-[var(--text-secondary)]",children:J.title},void 0,!1,void 0,this),B6.jsxDEV("div",{className:"p-2 rounded-[var(--radius-sm)] transition-colors",style:{backgroundColor:`${J.color}15`},children:B6.jsxDEV(q,{size:18,style:{color:J.color},className:"transition-transform group-hover:scale-110"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B6.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)] mb-1",children:J.getValue(Q)},void 0,!1,void 0,this),B6.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] truncate",children:J.getDetail(Q)},void 0,!1,void 0,this)]},J.key,!0,void 0,this)})},void 0,!1,void 0,this)}var m0=T0(G1(),1);function aN(){let[Q,J]=U5.useState(null),[q,Y]=U5.useState(null),[U,K]=U5.useState(null),[H,M]=U5.useState(null),[F,T]=U5.useState([]),[R,z]=U5.useState([]),[L,E]=U5.useState(null),[I,A]=U5.useState(!1),[C,y]=U5.useState("overview"),[m,n]=U5.useState("24h"),i=U5.useCallback(async()=>{try{let[p,a]=await Promise.all([sw(50),nw(50)]);T(p),z(a)}catch(p){console.error(p)}},[]),r=U5.useCallback(async()=>{try{if(C==="models"){Y(await lw(m));return}if(C==="costs"){K(await rw(m));return}if(C==="behavior"){M(await aw(m));return}if(C==="overview")J(await cw(m))}catch(p){console.error(p)}},[C,m]),Q0=async()=>{A(!0);try{await iw(),await Promise.all([r(),i()])}finally{A(!1)}};return U5.useEffect(()=>{i();let p=setInterval(i,30000);return()=>clearInterval(p)},[i]),U5.useEffect(()=>{r();let p=setInterval(r,30000);return()=>clearInterval(p)},[r]),m0.jsxDEV("div",{className:"min-h-screen",children:m0.jsxDEV("div",{className:"max-w-[1600px] mx-auto px-6 py-6",children:[m0.jsxDEV(oV,{activeTab:C,onTabChange:y,onSync:Q0,syncing:I,timeRange:m,onTimeRangeChange:n},void 0,!1,void 0,this),C==="overview"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:[Q?m0.jsxDEV($L,{stats:Q.overall},void 0,!1,void 0,this):m0.jsxDEV($3,{label:"Loading overview..."},void 0,!1,void 0,this),m0.jsxDEV("div",{className:"grid lg:grid-cols-2 gap-6",children:[m0.jsxDEV(_Q,{title:"Recent Requests",requests:F.slice(0,10),onSelect:(p)=>p.id&&E(p.id)},void 0,!1,void 0,this),m0.jsxDEV(_Q,{title:"Recent Errors",requests:R.slice(0,10),onSelect:(p)=>p.id&&E(p.id)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),C==="requests"&&m0.jsxDEV("div",{className:"h-[calc(100vh-140px)] animate-fade-in",children:m0.jsxDEV(_Q,{title:"All Recent Requests",requests:F,onSelect:(p)=>p.id&&E(p.id)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="errors"&&m0.jsxDEV("div",{className:"h-[calc(100vh-140px)] animate-fade-in",children:m0.jsxDEV(_Q,{title:"Failed Requests",requests:R,onSelect:(p)=>p.id&&E(p.id)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="models"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:q?m0.jsxDEV(m0.Fragment,{children:[m0.jsxDEV(rV,{modelSeries:q.modelSeries,timeRange:m},void 0,!1,void 0,this),m0.jsxDEV(aV,{models:q.byModel,performanceSeries:q.modelPerformanceSeries,timeRange:m},void 0,!1,void 0,this)]},void 0,!0,void 0,this):m0.jsxDEV($3,{label:"Loading models..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="costs"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:U?m0.jsxDEV(m0.Fragment,{children:[m0.jsxDEV(nV,{costSeries:U.costSeries},void 0,!1,void 0,this),m0.jsxDEV(sV,{costSeries:U.costSeries},void 0,!1,void 0,this)]},void 0,!0,void 0,this):m0.jsxDEV($3,{label:"Loading costs..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="behavior"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:H?m0.jsxDEV(m0.Fragment,{children:[m0.jsxDEV(dV,{overall:H.overall,behaviorSeries:H.behaviorSeries},void 0,!1,void 0,this),m0.jsxDEV(qV,{behaviorSeries:H.behaviorSeries},void 0,!1,void 0,this),m0.jsxDEV(uV,{models:H.byModel,behaviorSeries:H.behaviorSeries},void 0,!1,void 0,this)]},void 0,!0,void 0,this):m0.jsxDEV($3,{label:"Loading behavior..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),L!==null&&m0.jsxDEV(tV,{id:L,onClose:()=>E(null)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function $3({label:Q}){return m0.jsxDEV("div",{className:"min-h-[180px] flex items-center justify-center",children:m0.jsxDEV("div",{className:"flex items-center gap-3 text-[var(--text-muted)]",children:[m0.jsxDEV("div",{className:"w-5 h-5 border-2 border-[var(--border-default)] border-t-[var(--accent-cyan)] rounded-full spin"},void 0,!1,void 0,this),m0.jsxDEV("span",{className:"text-sm",children:Q},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var QL=T0(G1(),1),wA=ZL.createRoot(document.getElementById("root"));wA.render(QL.jsxDEV(aN,{},void 0,!1,void 0,this));
|
|
255
|
+
*/class lw{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(Z,J,q,Y){let U=J.listeners[Y],K=J.duration;U.forEach((H)=>H({chart:Z,initial:J.initial,numSteps:K,currentStep:Math.min(q-J.start,K)}))}_refresh(){if(this._request)return;this._running=!0,this._request=NN.call(window,()=>{if(this._update(),this._request=null,this._running)this._refresh()})}_update(Z=Date.now()){let J=0;if(this._charts.forEach((q,Y)=>{if(!q.running||!q.items.length)return;let U=q.items,K=U.length-1,H=!1,M;for(;K>=0;--K)if(M=U[K],M._active){if(M._total>q.duration)q.duration=M._total;M.tick(Z),H=!0}else U[K]=U[U.length-1],U.pop();if(H)Y.draw(),this._notify(Y,q,Z,"progress");if(!U.length)q.running=!1,this._notify(Y,q,Z,"complete"),q.initial=!1;J+=U.length}),this._lastDate=Z,J===0)this._running=!1}_getAnims(Z){let J=this._charts,q=J.get(Z);if(!q)q={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},J.set(Z,q);return q}listen(Z,J,q){this._getAnims(Z).listeners[J].push(q)}add(Z,J){if(!J||!J.length)return;this._getAnims(Z).items.push(...J)}has(Z){return this._getAnims(Z).items.length>0}start(Z){let J=this._charts.get(Z);if(!J)return;J.running=!0,J.start=Date.now(),J.duration=J.items.reduce((q,Y)=>Math.max(q,Y._duration),0),this._refresh()}running(Z){if(!this._running)return!1;let J=this._charts.get(Z);if(!J||!J.running||!J.items.length)return!1;return!0}stop(Z){let J=this._charts.get(Z);if(!J||!J.items.length)return;let q=J.items,Y=q.length-1;for(;Y>=0;--Y)q[Y].cancel();J.items=[],this._notify(Z,J,Date.now(),"complete")}remove(Z){return this._charts.delete(Z)}}var N8=new lw,oR="transparent",OI={boolean(Z,J,q){return q>0.5?J:Z},color(Z,J,q){let Y=oU(Z||oR),U=Y.valid&&oU(J||oR);return U&&U.valid?U.mix(Y,q).hexString():J},number(Z,J,q){return Z+(J-Z)*q}};class rw{constructor(Z,J,q,Y){let U=J[q];Y=nZ([Z.to,Y,U,Z.from]);let K=nZ([Z.from,U,Y]);this._active=!0,this._fn=Z.fn||OI[Z.type||typeof K],this._easing=g9[Z.easing]||g9.linear,this._start=Math.floor(Date.now()+(Z.delay||0)),this._duration=this._total=Math.floor(Z.duration),this._loop=!!Z.loop,this._target=J,this._prop=q,this._from=K,this._to=Y,this._promises=void 0}active(){return this._active}update(Z,J,q){if(this._active){this._notify(!1);let Y=this._target[this._prop],U=q-this._start,K=this._duration-U;this._start=q,this._duration=Math.floor(Math.max(K,Z.duration)),this._total+=U,this._loop=!!Z.loop,this._to=nZ([Z.to,J,Y,Z.from]),this._from=nZ([Z.from,Y,J])}}cancel(){if(this._active)this.tick(Date.now()),this._active=!1,this._notify(!1)}tick(Z){let J=Z-this._start,q=this._duration,Y=this._prop,U=this._from,K=this._loop,H=this._to,M;if(this._active=U!==H&&(K||J<q),!this._active){this._target[Y]=H,this._notify(!0);return}if(J<0){this._target[Y]=U;return}M=J/q%2,M=K&&M>1?2-M:M,M=this._easing(Math.min(1,Math.max(0,M))),this._target[Y]=this._fn(U,H,M)}wait(){let Z=this._promises||(this._promises=[]);return new Promise((J,q)=>{Z.push({res:J,rej:q})})}_notify(Z){let J=Z?"res":"rej",q=this._promises||[];for(let Y=0;Y<q.length;Y++)q[Y][J]()}}class gN{constructor(Z,J){this._chart=Z,this._properties=new Map,this.configure(J)}configure(Z){if(!s0(Z))return;let J=Object.keys(D1.animation),q=this._properties;Object.getOwnPropertyNames(Z).forEach((Y)=>{let U=Z[Y];if(!s0(U))return;let K={};for(let H of J)K[H]=U[H];(z1(U.properties)&&U.properties||[Y]).forEach((H)=>{if(H===Y||!q.has(H))q.set(H,K)})})}_animateOptions(Z,J){let q=J.options,Y=AI(Z,q);if(!Y)return[];let U=this._createAnimations(Y,q);if(q.$shared)DI(Z.options.$animations,q).then(()=>{Z.options=q},()=>{});return U}_createAnimations(Z,J){let q=this._properties,Y=[],U=Z.$animations||(Z.$animations={}),K=Object.keys(J),H=Date.now(),M;for(M=K.length-1;M>=0;--M){let W=K[M];if(W.charAt(0)==="$")continue;if(W==="options"){Y.push(...this._animateOptions(Z,J));continue}let R=J[W],w=U[W],z=q.get(W);if(w)if(z&&w.active()){w.update(z,R,H);continue}else w.cancel();if(!z||!z.duration){Z[W]=R;continue}U[W]=w=new rw(z,Z,W,R),Y.push(w)}return Y}update(Z,J){if(this._properties.size===0){Object.assign(Z,J);return}let q=this._createAnimations(Z,J);if(q.length)return N8.add(this._chart,q),!0}}function DI(Z,J){let q=[],Y=Object.keys(J);for(let U=0;U<Y.length;U++){let K=Z[Y[U]];if(K&&K.active())q.push(K.wait())}return Promise.all(q)}function AI(Z,J){if(!J)return;let q=Z.options;if(!q){Z.options=J;return}if(q.$shared)Z.options=q=Object.assign({},q,{$shared:!1,$animations:{}});return q}function iR(Z,J){let q=Z&&Z.options||{},Y=q.reverse,U=q.min===void 0?J:0,K=q.max===void 0?J:0;return{start:Y?K:U,end:Y?U:K}}function SI(Z,J,q){if(q===!1)return!1;let Y=iR(Z,q),U=iR(J,q);return{top:U.end,right:Y.end,bottom:U.start,left:Y.start}}function vI(Z){let J,q,Y,U;if(s0(Z))J=Z.top,q=Z.right,Y=Z.bottom,U=Z.left;else J=q=Y=U=Z;return{top:J,right:q,bottom:Y,left:U,disabled:Z===!1}}function sw(Z,J){let q=[],Y=Z._getSortedDatasetMetas(J),U,K;for(U=0,K=Y.length;U<K;++U)q.push(Y[U].index);return q}function aR(Z,J,q,Y={}){let U=Z.keys,K=Y.mode==="single",H,M,W,R;if(J===null)return;let w=!1;for(H=0,M=U.length;H<M;++H){if(W=+U[H],W===q){if(w=!0,Y.all)continue;break}if(R=Z.values[W],O1(R)&&(K||J===0||h4(J)===h4(R)))J+=R}if(!w&&!Y.all)return 0;return J}function kI(Z,J){let{iScale:q,vScale:Y}=J,U=q.axis==="x"?"x":"y",K=Y.axis==="x"?"x":"y",H=Object.keys(Z),M=Array(H.length),W,R,w;for(W=0,R=H.length;W<R;++W)w=H[W],M[W]={[U]:w,[K]:Z[w]};return M}function wN(Z,J){let q=Z&&Z.options.stacked;return q||q===void 0&&J.stack!==void 0}function bI(Z,J,q){return`${Z.id}.${J.id}.${q.stack||q.type}`}function yI(Z){let{min:J,max:q,minDefined:Y,maxDefined:U}=Z.getUserBounds();return{min:Y?J:Number.NEGATIVE_INFINITY,max:U?q:Number.POSITIVE_INFINITY}}function fI(Z,J,q){let Y=Z[J]||(Z[J]={});return Y[q]||(Y[q]={})}function tR(Z,J,q,Y){for(let U of J.getMatchingVisibleMetas(Y).reverse()){let K=Z[U.index];if(q&&K>0||!q&&K<0)return U.index}return null}function eR(Z,J){let{chart:q,_cachedMeta:Y}=Z,U=q._stacks||(q._stacks={}),{iScale:K,vScale:H,index:M}=Y,W=K.axis,R=H.axis,w=bI(K,H,Y),z=J.length,L;for(let P=0;P<z;++P){let I=J[P],{[W]:A,[R]:E}=I,g=I._stacks||(I._stacks={});L=g[R]=fI(U,w,A),L[M]=E,L._top=tR(L,H,!0,Y.type),L._bottom=tR(L,H,!1,Y.type);let m=L._visualValues||(L._visualValues={});m[M]=E}}function zN(Z,J){let q=Z.scales;return Object.keys(q).filter((Y)=>q[Y].axis===J).shift()}function gI(Z,J){return U8(Z,{active:!1,dataset:void 0,datasetIndex:J,index:J,mode:"default",type:"dataset"})}function hI(Z,J,q){return U8(Z,{active:!1,dataIndex:J,parsed:void 0,raw:void 0,element:q,index:J,mode:"default",type:"data"})}function oZ(Z,J){let q=Z.controller.index,Y=Z.vScale&&Z.vScale.axis;if(!Y)return;J=J||Z._parsed;for(let U of J){let K=U._stacks;if(!K||K[Y]===void 0||K[Y][q]===void 0)continue;if(delete K[Y][q],K[Y]._visualValues!==void 0&&K[Y]._visualValues[q]!==void 0)delete K[Y]._visualValues[q]}}var VN=(Z)=>Z==="reset"||Z==="none",$w=(Z,J)=>J?Z:Object.assign({},Z),xI=(Z,J,q)=>Z&&!J.hidden&&J._stacked&&{keys:sw(q,!0),values:null};class L2{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(Z,J){this.chart=Z,this._ctx=Z.ctx,this.index=J,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let Z=this._cachedMeta;if(this.configure(),this.linkScales(),Z._stacked=wN(Z.vScale,Z),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler"))console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(Z){if(this.index!==Z)oZ(this._cachedMeta);this.index=Z}linkScales(){let Z=this.chart,J=this._cachedMeta,q=this.getDataset(),Y=(w,z,L,P)=>w==="x"?z:w==="r"?P:L,U=J.xAxisID=f0(q.xAxisID,zN(Z,"x")),K=J.yAxisID=f0(q.yAxisID,zN(Z,"y")),H=J.rAxisID=f0(q.rAxisID,zN(Z,"r")),M=J.indexAxis,W=J.iAxisID=Y(M,U,K,H),R=J.vAxisID=Y(M,K,U,H);J.xScale=this.getScaleForId(U),J.yScale=this.getScaleForId(K),J.rScale=this.getScaleForId(H),J.iScale=this.getScaleForId(W),J.vScale=this.getScaleForId(R)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(Z){return this.chart.scales[Z]}_getOtherScale(Z){let J=this._cachedMeta;return Z===J.iScale?J.vScale:J.iScale}reset(){this._update("reset")}_destroy(){let Z=this._cachedMeta;if(this._data)ZN(this._data,this);if(Z._stacked)oZ(Z)}_dataCheck(){let Z=this.getDataset(),J=Z.data||(Z.data=[]),q=this._data;if(s0(J)){let Y=this._cachedMeta;this._data=kI(J,Y)}else if(q!==J){if(q){ZN(q,this);let Y=this._cachedMeta;oZ(Y),Y._parsed=[]}if(J&&Object.isExtensible(J))AR(J,this);this._syncList=[],this._data=J}}addElements(){let Z=this._cachedMeta;if(this._dataCheck(),this.datasetElementType)Z.dataset=new this.datasetElementType}buildOrUpdateElements(Z){let J=this._cachedMeta,q=this.getDataset(),Y=!1;this._dataCheck();let U=J._stacked;if(J._stacked=wN(J.vScale,J),J.stack!==q.stack)Y=!0,oZ(J),J.stack=q.stack;if(this._resyncElements(Z),Y||U!==J._stacked)eR(this,J._parsed),J._stacked=wN(J.vScale,J)}configure(){let Z=this.chart.config,J=Z.datasetScopeKeys(this._type),q=Z.getOptionScopes(this.getDataset(),J,!0);this.options=Z.createResolver(q,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(Z,J){let{_cachedMeta:q,_data:Y}=this,{iScale:U,_stacked:K}=q,H=U.axis,M=Z===0&&J===Y.length?!0:q._sorted,W=Z>0&&q._parsed[Z-1],R,w,z;if(this._parsing===!1)q._parsed=Y,q._sorted=!0,z=Y;else{if(z1(Y[Z]))z=this.parseArrayData(q,Y,Z,J);else if(s0(Y[Z]))z=this.parseObjectData(q,Y,Z,J);else z=this.parsePrimitiveData(q,Y,Z,J);let L=()=>w[H]===null||W&&w[H]<W[H];for(R=0;R<J;++R)if(q._parsed[R+Z]=w=z[R],M){if(L())M=!1;W=w}q._sorted=M}if(K)eR(this,z)}parsePrimitiveData(Z,J,q,Y){let{iScale:U,vScale:K}=Z,H=U.axis,M=K.axis,W=U.getLabels(),R=U===K,w=Array(Y),z,L,P;for(z=0,L=Y;z<L;++z)P=z+q,w[z]={[H]:R||U.parse(W[P],P),[M]:K.parse(J[P],P)};return w}parseArrayData(Z,J,q,Y){let{xScale:U,yScale:K}=Z,H=Array(Y),M,W,R,w;for(M=0,W=Y;M<W;++M)R=M+q,w=J[R],H[M]={x:U.parse(w[0],R),y:K.parse(w[1],R)};return H}parseObjectData(Z,J,q,Y){let{xScale:U,yScale:K}=Z,{xAxisKey:H="x",yAxisKey:M="y"}=this._parsing,W=Array(Y),R,w,z,L;for(R=0,w=Y;R<w;++R)z=R+q,L=J[z],W[R]={x:U.parse(T7(L,H),z),y:K.parse(T7(L,M),z)};return W}getParsed(Z){return this._cachedMeta._parsed[Z]}getDataElement(Z){return this._cachedMeta.data[Z]}applyStack(Z,J,q){let Y=this.chart,U=this._cachedMeta,K=J[Z.axis],H={keys:sw(Y,!0),values:J._stacks[Z.axis]._visualValues};return aR(H,K,U.index,{mode:q})}updateRangeFromParsed(Z,J,q,Y){let U=q[J.axis],K=U===null?NaN:U,H=Y&&q._stacks[J.axis];if(Y&&H)Y.values=H,K=aR(Y,U,this._cachedMeta.index);Z.min=Math.min(Z.min,K),Z.max=Math.max(Z.max,K)}getMinMax(Z,J){let q=this._cachedMeta,Y=q._parsed,U=q._sorted&&Z===q.iScale,K=Y.length,H=this._getOtherScale(Z),M=xI(J,q,this.chart),W={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:R,max:w}=yI(H),z,L;function P(){L=Y[z];let I=L[H.axis];return!O1(L[Z.axis])||R>I||w<I}for(z=0;z<K;++z){if(P())continue;if(this.updateRangeFromParsed(W,Z,L,M),U)break}if(U)for(z=K-1;z>=0;--z){if(P())continue;this.updateRangeFromParsed(W,Z,L,M);break}return W}getAllParsedValues(Z){let J=this._cachedMeta._parsed,q=[],Y,U,K;for(Y=0,U=J.length;Y<U;++Y)if(K=J[Y][Z.axis],O1(K))q.push(K);return q}getMaxOverflow(){return!1}getLabelAndValue(Z){let J=this._cachedMeta,q=J.iScale,Y=J.vScale,U=this.getParsed(Z);return{label:q?""+q.getLabelForValue(U[q.axis]):"",value:Y?""+Y.getLabelForValue(U[Y.axis]):""}}_update(Z){let J=this._cachedMeta;this.update(Z||"default"),J._clip=vI(f0(this.options.clip,SI(J.xScale,J.yScale,this.getMaxOverflow())))}update(Z){}draw(){let Z=this._ctx,J=this.chart,q=this._cachedMeta,Y=q.data||[],U=J.chartArea,K=[],H=this._drawStart||0,M=this._drawCount||Y.length-H,W=this.options.drawActiveElementsOnTop,R;if(q.dataset)q.dataset.draw(Z,U,H,M);for(R=H;R<H+M;++R){let w=Y[R];if(w.hidden)continue;if(w.active&&W)K.push(w);else w.draw(Z,U)}for(R=0;R<K.length;++R)K[R].draw(Z,U)}getStyle(Z,J){let q=J?"active":"default";return Z===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(q):this.resolveDataElementOptions(Z||0,q)}getContext(Z,J,q){let Y=this.getDataset(),U;if(Z>=0&&Z<this._cachedMeta.data.length){let K=this._cachedMeta.data[Z];U=K.$context||(K.$context=hI(this.getContext(),Z,K)),U.parsed=this.getParsed(Z),U.raw=Y.data[Z],U.index=U.dataIndex=Z}else U=this.$context||(this.$context=gI(this.chart.getContext(),this.index)),U.dataset=Y,U.index=U.datasetIndex=this.index;return U.active=!!J,U.mode=q,U}resolveDatasetElementOptions(Z){return this._resolveElementOptions(this.datasetElementType.id,Z)}resolveDataElementOptions(Z,J){return this._resolveElementOptions(this.dataElementType.id,J,Z)}_resolveElementOptions(Z,J="default",q){let Y=J==="active",U=this._cachedDataOpts,K=Z+"-"+J,H=U[K],M=this.enableOptionSharing&&m9(q);if(H)return $w(H,M);let W=this.chart.config,R=W.datasetElementScopeKeys(this._type,Z),w=Y?[`${Z}Hover`,"hover",Z,""]:[Z,""],z=W.getOptionScopes(this.getDataset(),R),L=Object.keys(D1.elements[Z]),P=()=>this.getContext(q,Y,J),I=W.resolveNamedOptions(z,L,P,w);if(I.$shared)I.$shared=M,U[K]=Object.freeze($w(I,M));return I}_resolveAnimations(Z,J,q){let Y=this.chart,U=this._cachedDataOpts,K=`animation-${J}`,H=U[K];if(H)return H;let M;if(Y.options.animation!==!1){let R=this.chart.config,w=R.datasetAnimationScopeKeys(this._type,J),z=R.getOptionScopes(this.getDataset(),w);M=R.createResolver(z,this.getContext(Z,q,J))}let W=new gN(Y,M&&M.animations);if(M&&M._cacheable)U[K]=Object.freeze(W);return W}getSharedOptions(Z){if(!Z.$shared)return;return this._sharedOptions||(this._sharedOptions=Object.assign({},Z))}includeOptions(Z,J){return!J||VN(Z)||this.chart._animationsDisabled}_getSharedOptions(Z,J){let q=this.resolveDataElementOptions(Z,J),Y=this._sharedOptions,U=this.getSharedOptions(q),K=this.includeOptions(J,U)||U!==Y;return this.updateSharedOptions(U,J,q),{sharedOptions:U,includeOptions:K}}updateElement(Z,J,q,Y){if(VN(Y))Object.assign(Z,q);else this._resolveAnimations(J,Y).update(Z,q)}updateSharedOptions(Z,J,q){if(Z&&!VN(J))this._resolveAnimations(void 0,J).update(Z,q)}_setStyle(Z,J,q,Y){Z.active=Y;let U=this.getStyle(J,Y);this._resolveAnimations(J,q,Y).update(Z,{options:!Y&&this.getSharedOptions(U)||U})}removeHoverStyle(Z,J,q){this._setStyle(Z,q,"active",!1)}setHoverStyle(Z,J,q){this._setStyle(Z,q,"active",!0)}_removeDatasetHoverStyle(){let Z=this._cachedMeta.dataset;if(Z)this._setStyle(Z,void 0,"active",!1)}_setDatasetHoverStyle(){let Z=this._cachedMeta.dataset;if(Z)this._setStyle(Z,void 0,"active",!0)}_resyncElements(Z){let J=this._data,q=this._cachedMeta.data;for(let[H,M,W]of this._syncList)this[H](M,W);this._syncList=[];let Y=q.length,U=J.length,K=Math.min(U,Y);if(K)this.parse(0,K);if(U>Y)this._insertElements(Y,U-Y,Z);else if(U<Y)this._removeElements(U,Y-U)}_insertElements(Z,J,q=!0){let Y=this._cachedMeta,U=Y.data,K=Z+J,H,M=(W)=>{W.length+=J;for(H=W.length-1;H>=K;H--)W[H]=W[H-J]};M(U);for(H=Z;H<K;++H)U[H]=new this.dataElementType;if(this._parsing)M(Y._parsed);if(this.parse(Z,J),q)this.updateElements(U,Z,J,"reset")}updateElements(Z,J,q,Y){}_removeElements(Z,J){let q=this._cachedMeta;if(this._parsing){let Y=q._parsed.splice(Z,J);if(q._stacked)oZ(q,Y)}q.data.splice(Z,J)}_sync(Z){if(this._parsing)this._syncList.push(Z);else{let[J,q,Y]=Z;this[J](q,Y)}this.chart._dataChanges.push([this.index,...Z])}_onDataPush(){let Z=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-Z,Z])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(Z,J){if(J)this._sync(["_removeElements",Z,J]);let q=arguments.length-2;if(q>0)this._sync(["_insertElements",Z,q])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function uI(Z,J){if(!Z._cache.$bar){let q=Z.getMatchingVisibleMetas(J),Y=[];for(let U=0,K=q.length;U<K;U++)Y=Y.concat(q[U].controller.getAllParsedValues(Z));Z._cache.$bar=JN(Y.sort((U,K)=>U-K))}return Z._cache.$bar}function mI(Z){let J=Z.iScale,q=uI(J,Z.type),Y=J._length,U,K,H,M,W=()=>{if(H===32767||H===-32768)return;if(m9(M))Y=Math.min(Y,Math.abs(H-M)||Y);M=H};for(U=0,K=q.length;U<K;++U)H=J.getPixelForValue(q[U]),W();M=void 0;for(U=0,K=J.ticks.length;U<K;++U)H=J.getPixelForTick(U),W();return Y}function dI(Z,J,q,Y){let U=q.barThickness,K,H;if(a0(U))K=J.min*q.categoryPercentage,H=q.barPercentage;else K=U*Y,H=1;return{chunk:K/Y,ratio:H,start:J.pixels[Z]-K/2}}function pI(Z,J,q,Y){let U=J.pixels,K=U[Z],H=Z>0?U[Z-1]:null,M=Z<U.length-1?U[Z+1]:null,W=q.categoryPercentage;if(H===null)H=K-(M===null?J.end-J.start:M-K);if(M===null)M=K+K-H;let R=K-(K-Math.min(H,M))/2*W;return{chunk:Math.abs(M-H)/2*W/Y,ratio:q.barPercentage,start:R}}function cI(Z,J,q,Y){let U=q.parse(Z[0],Y),K=q.parse(Z[1],Y),H=Math.min(U,K),M=Math.max(U,K),W=H,R=M;if(Math.abs(H)>Math.abs(M))W=M,R=H;J[q.axis]=R,J._custom={barStart:W,barEnd:R,start:U,end:K,min:H,max:M}}function nw(Z,J,q,Y){if(z1(Z))cI(Z,J,q,Y);else J[q.axis]=q.parse(Z,Y);return J}function Qw(Z,J,q,Y){let{iScale:U,vScale:K}=Z,H=U.getLabels(),M=U===K,W=[],R,w,z,L;for(R=q,w=q+Y;R<w;++R)L=J[R],z={},z[U.axis]=M||U.parse(H[R],R),W.push(nw(L,z,K,R));return W}function LN(Z){return Z&&Z.barStart!==void 0&&Z.barEnd!==void 0}function lI(Z,J,q){if(Z!==0)return h4(Z);return(J.isHorizontal()?1:-1)*(J.min>=q?1:-1)}function rI(Z){let J,q,Y,U,K;if(Z.horizontal)J=Z.base>Z.x,q="left",Y="right";else J=Z.base<Z.y,q="bottom",Y="top";if(J)U="end",K="start";else U="start",K="end";return{start:q,end:Y,reverse:J,top:U,bottom:K}}function sI(Z,J,q,Y){let U=J.borderSkipped,K={};if(!U){Z.borderSkipped=K;return}if(U===!0){Z.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:H,end:M,reverse:W,top:R,bottom:w}=rI(Z);if(U==="middle"&&q)if(Z.enableBorderRadius=!0,(q._top||0)===Y)U=R;else if((q._bottom||0)===Y)U=w;else K[Zw(w,H,M,W)]=!0,U=R;K[Zw(U,H,M,W)]=!0,Z.borderSkipped=K}function Zw(Z,J,q,Y){if(Y)Z=nI(Z,J,q),Z=Jw(Z,q,J);else Z=Jw(Z,J,q);return Z}function nI(Z,J,q){return Z===J?q:Z===q?J:Z}function Jw(Z,J,q){return Z==="start"?J:Z==="end"?q:Z}function oI(Z,{inflateAmount:J},q){Z.inflateAmount=J==="auto"?q===1?0.33:0:J}class hN extends L2{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:0.8,barPercentage:0.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(Z,J,q,Y){return Qw(Z,J,q,Y)}parseArrayData(Z,J,q,Y){return Qw(Z,J,q,Y)}parseObjectData(Z,J,q,Y){let{iScale:U,vScale:K}=Z,{xAxisKey:H="x",yAxisKey:M="y"}=this._parsing,W=U.axis==="x"?H:M,R=K.axis==="x"?H:M,w=[],z,L,P,I;for(z=q,L=q+Y;z<L;++z)I=J[z],P={},P[U.axis]=U.parse(T7(I,W),z),w.push(nw(T7(I,R),P,K,z));return w}updateRangeFromParsed(Z,J,q,Y){super.updateRangeFromParsed(Z,J,q,Y);let U=q._custom;if(U&&J===this._cachedMeta.vScale)Z.min=Math.min(Z.min,U.min),Z.max=Math.max(Z.max,U.max)}getMaxOverflow(){return 0}getLabelAndValue(Z){let J=this._cachedMeta,{iScale:q,vScale:Y}=J,U=this.getParsed(Z),K=U._custom,H=LN(K)?"["+K.start+", "+K.end+"]":""+Y.getLabelForValue(U[Y.axis]);return{label:""+q.getLabelForValue(U[q.axis]),value:H}}initialize(){this.enableOptionSharing=!0,super.initialize();let Z=this._cachedMeta;Z.stack=this.getDataset().stack}update(Z){let J=this._cachedMeta;this.updateElements(J.data,0,J.data.length,Z)}updateElements(Z,J,q,Y){let U=Y==="reset",{index:K,_cachedMeta:{vScale:H}}=this,M=H.getBasePixel(),W=H.isHorizontal(),R=this._getRuler(),{sharedOptions:w,includeOptions:z}=this._getSharedOptions(J,Y);for(let L=J;L<J+q;L++){let P=this.getParsed(L),I=U||a0(P[H.axis])?{base:M,head:M}:this._calculateBarValuePixels(L),A=this._calculateBarIndexPixels(L,R),E=(P._stacks||{})[H.axis],g={horizontal:W,base:I.base,enableBorderRadius:!E||LN(P._custom)||K===E._top||K===E._bottom,x:W?I.head:A.center,y:W?A.center:I.head,height:W?A.size:Math.abs(I.size),width:W?Math.abs(I.size):A.size};if(z)g.options=w||this.resolveDataElementOptions(L,Z[L].active?"active":Y);let m=g.options||Z[L].options;sI(g,m,E,K),oI(g,m,R.ratio),this.updateElement(Z[L],L,g,Y)}}_getStacks(Z,J){let{iScale:q}=this._cachedMeta,Y=q.getMatchingVisibleMetas(this._type).filter((R)=>R.controller.options.grouped),U=q.options.stacked,K=[],H=this._cachedMeta.controller.getParsed(J),M=H&&H[q.axis],W=(R)=>{let w=R._parsed.find((L)=>L[q.axis]===M),z=w&&w[R.vScale.axis];if(a0(z)||isNaN(z))return!0};for(let R of Y){if(J!==void 0&&W(R))continue;if(U===!1||K.indexOf(R.stack)===-1||U===void 0&&R.stack===void 0)K.push(R.stack);if(R.index===Z)break}if(!K.length)K.push(void 0);return K}_getStackCount(Z){return this._getStacks(void 0,Z).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let Z=this.chart.scales,J=this.chart.options.indexAxis;return Object.keys(Z).filter((q)=>Z[q].axis===J).shift()}_getAxis(){let Z={},J=this.getFirstScaleIdForIndexAxis();for(let q of this.chart.data.datasets)Z[f0(this.chart.options.indexAxis==="x"?q.xAxisID:q.yAxisID,J)]=!0;return Object.keys(Z)}_getStackIndex(Z,J,q){let Y=this._getStacks(Z,q),U=J!==void 0?Y.indexOf(J):-1;return U===-1?Y.length-1:U}_getRuler(){let Z=this.options,J=this._cachedMeta,q=J.iScale,Y=[],U,K;for(U=0,K=J.data.length;U<K;++U)Y.push(q.getPixelForValue(this.getParsed(U)[q.axis],U));let H=Z.barThickness;return{min:H||mI(J),pixels:Y,start:q._startPixel,end:q._endPixel,stackCount:this._getStackCount(),scale:q,grouped:Z.grouped,ratio:H?1:Z.categoryPercentage*Z.barPercentage}}_calculateBarValuePixels(Z){let{_cachedMeta:{vScale:J,_stacked:q,index:Y},options:{base:U,minBarLength:K}}=this,H=U||0,M=this.getParsed(Z),W=M._custom,R=LN(W),w=M[J.axis],z=0,L=q?this.applyStack(J,M,q):w,P,I;if(L!==w)z=L-w,L=w;if(R){if(w=W.barStart,L=W.barEnd-W.barStart,w!==0&&h4(w)!==h4(W.barEnd))z=0;z+=w}let A=!a0(U)&&!R?U:z,E=J.getPixelForValue(A);if(this.chart.getDataVisibility(Z))P=J.getPixelForValue(z+L);else P=E;if(I=P-E,Math.abs(I)<K){if(I=lI(I,J,H)*K,w===H)E-=I/2;let g=J.getPixelForDecimal(0),m=J.getPixelForDecimal(1),o=Math.min(g,m),i=Math.max(g,m);if(E=Math.max(Math.min(E,i),o),P=E+I,q&&!R)M._stacks[J.axis]._visualValues[Y]=J.getValueForPixel(P)-J.getValueForPixel(E)}if(E===J.getPixelForValue(H)){let g=h4(I)*J.getLineWidthForValue(H)/2;E+=g,I-=g}return{size:I,base:E,head:P,center:P+I/2}}_calculateBarIndexPixels(Z,J){let q=J.scale,Y=this.options,U=Y.skipNull,K=f0(Y.maxBarThickness,1/0),H,M,W=this._getAxisCount();if(J.grouped){let R=U?this._getStackCount(Z):J.stackCount,w=Y.barThickness==="flex"?pI(Z,J,Y,R*W):dI(Z,J,Y,R*W),z=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,L=this._getAxis().indexOf(f0(z,this.getFirstScaleIdForIndexAxis())),P=this._getStackIndex(this.index,this._cachedMeta.stack,U?Z:void 0)+L;H=w.start+w.chunk*P+w.chunk/2,M=Math.min(K,w.chunk*w.ratio)}else H=q.getPixelForValue(this.getParsed(Z)[q.axis],Z),M=Math.min(K,J.min*J.ratio);return{base:H-M/2,head:H+M/2,center:H,size:M}}draw(){let Z=this._cachedMeta,J=Z.vScale,q=Z.data,Y=q.length,U=0;for(;U<Y;++U)if(this.getParsed(U)[J.axis]!==null&&!q[U].hidden)q[U].draw(this._ctx)}}class xN extends L2{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(Z){let J=this._cachedMeta,{dataset:q,data:Y=[],_dataset:U}=J,K=this.chart._animationsDisabled,{start:H,count:M}=uR(J,Y,K);if(this._drawStart=H,this._drawCount=M,mR(J))H=0,M=Y.length;q._chart=this.chart,q._datasetIndex=this.index,q._decimated=!!U._decimated,q.points=Y;let W=this.resolveDatasetElementOptions(Z);if(!this.options.showLine)W.borderWidth=0;W.segment=this.options.segment,this.updateElement(q,void 0,{animated:!K,options:W},Z),this.updateElements(Y,H,M,Z)}updateElements(Z,J,q,Y){let U=Y==="reset",{iScale:K,vScale:H,_stacked:M,_dataset:W}=this._cachedMeta,{sharedOptions:R,includeOptions:w}=this._getSharedOptions(J,Y),z=K.axis,L=H.axis,{spanGaps:P,segment:I}=this.options,A=p9(P)?P:Number.POSITIVE_INFINITY,E=this.chart._animationsDisabled||U||Y==="none",g=J+q,m=Z.length,o=J>0&&this.getParsed(J-1);for(let i=0;i<m;++i){let l=Z[i],J0=E?l:{};if(i<J||i>=g){J0.skip=!0;continue}let p=this.getParsed(i),a=a0(p[L]),U0=J0[z]=K.getPixelForValue(p[z],i),d=J0[L]=U||a?H.getBasePixel():H.getPixelForValue(M?this.applyStack(H,p,M):p[L],i);if(J0.skip=isNaN(U0)||isNaN(d)||a,J0.stop=i>0&&Math.abs(p[z]-o[z])>A,I)J0.parsed=p,J0.raw=W.data[i];if(w)J0.options=R||this.resolveDataElementOptions(i,l.active?"active":Y);if(!E)this.updateElement(l,i,J0,Y);o=p}}getMaxOverflow(){let Z=this._cachedMeta,J=Z.dataset,q=J.options&&J.options.borderWidth||0,Y=Z.data||[];if(!Y.length)return q;let U=Y[0].size(this.resolveDataElementOptions(0)),K=Y[Y.length-1].size(this.resolveDataElementOptions(Y.length-1));return Math.max(q,U,K)/2}draw(){let Z=this._cachedMeta;Z.dataset.updateControlPoints(this.chart.chartArea,Z.iScale.axis),super.draw()}}function w7(){throw Error("This method is not implemented: Check that a complete date adapter is provided.")}class uN{static override(Z){Object.assign(uN.prototype,Z)}options;constructor(Z){this.options=Z||{}}init(){}formats(){return w7()}parse(){return w7()}format(){return w7()}add(){return w7()}diff(){return w7()}startOf(){return w7()}endOf(){return w7()}}var iI={_date:uN};function aI(Z,J,q,Y){let{controller:U,data:K,_sorted:H}=Z,M=U._cachedMeta.iScale,W=Z.dataset?Z.dataset.options?Z.dataset.options.spanGaps:null:null;if(M&&J===M.axis&&J!=="r"&&H&&K.length){let R=M._reversePixels?jR:K6;if(!Y){let w=R(K,J,q);if(W){let{vScale:z}=U._cachedMeta,{_parsed:L}=Z,P=L.slice(0,w.lo+1).reverse().findIndex((A)=>!a0(A[z.axis]));w.lo-=Math.max(0,P);let I=L.slice(w.hi).findIndex((A)=>!a0(A[z.axis]));w.hi+=Math.max(0,I)}return w}else if(U._sharedOptions){let w=K[0],z=typeof w.getRange==="function"&&w.getRange(J);if(z){let L=R(K,J,q-z),P=R(K,J,q+z);return{lo:L.lo,hi:P.hi}}}}return{lo:0,hi:K.length-1}}function XJ(Z,J,q,Y,U){let K=Z.getSortedVisibleDatasetMetas(),H=q[J];for(let M=0,W=K.length;M<W;++M){let{index:R,data:w}=K[M],{lo:z,hi:L}=aI(K[M],J,H,U);for(let P=z;P<=L;++P){let I=w[P];if(!I.skip)Y(I,R,P)}}}function tI(Z){let J=Z.indexOf("x")!==-1,q=Z.indexOf("y")!==-1;return function(Y,U){let K=J?Math.abs(Y.x-U.x):0,H=q?Math.abs(Y.y-U.y):0;return Math.sqrt(Math.pow(K,2)+Math.pow(H,2))}}function _N(Z,J,q,Y,U){let K=[];if(!U&&!Z.isPointInArea(J))return K;return XJ(Z,q,J,function(M,W,R){if(!U&&!V$(M,Z.chartArea,0))return;if(M.inRange(J.x,J.y,Y))K.push({element:M,datasetIndex:W,index:R})},!0),K}function eI(Z,J,q,Y){let U=[];function K(H,M,W){let{startAngle:R,endAngle:w}=H.getProps(["startAngle","endAngle"],Y),{angle:z}=_R(H,{x:J.x,y:J.y});if(eU(z,R,w))U.push({element:H,datasetIndex:M,index:W})}return XJ(Z,q,J,K),U}function $j(Z,J,q,Y,U,K){let H=[],M=tI(q),W=Number.POSITIVE_INFINITY;function R(w,z,L){let P=w.inRange(J.x,J.y,U);if(Y&&!P)return;let I=w.getCenterPoint(U);if(!(!!K||Z.isPointInArea(I))&&!P)return;let E=M(J,I);if(E<W)H=[{element:w,datasetIndex:z,index:L}],W=E;else if(E===W)H.push({element:w,datasetIndex:z,index:L})}return XJ(Z,q,J,R),H}function CN(Z,J,q,Y,U,K){if(!K&&!Z.isPointInArea(J))return[];return q==="r"&&!Y?eI(Z,J,q,U):$j(Z,J,q,Y,U,K)}function Gw(Z,J,q,Y,U){let K=[],H=q==="x"?"inXRange":"inYRange",M=!1;if(XJ(Z,q,J,(W,R,w)=>{if(W[H]&&W[H](J[q],U))K.push({element:W,datasetIndex:R,index:w}),M=M||W.inRange(J.x,J.y,U)}),Y&&!M)return[];return K}var Qj={evaluateInteractionItems:XJ,modes:{index(Z,J,q,Y){let U=M6(J,Z),K=q.axis||"x",H=q.includeInvisible||!1,M=q.intersect?_N(Z,U,K,Y,H):CN(Z,U,K,!1,Y,H),W=[];if(!M.length)return[];return Z.getSortedVisibleDatasetMetas().forEach((R)=>{let w=M[0].index,z=R.data[w];if(z&&!z.skip)W.push({element:z,datasetIndex:R.index,index:w})}),W},dataset(Z,J,q,Y){let U=M6(J,Z),K=q.axis||"xy",H=q.includeInvisible||!1,M=q.intersect?_N(Z,U,K,Y,H):CN(Z,U,K,!1,Y,H);if(M.length>0){let W=M[0].datasetIndex,R=Z.getDatasetMeta(W).data;M=[];for(let w=0;w<R.length;++w)M.push({element:R[w],datasetIndex:W,index:w})}return M},point(Z,J,q,Y){let U=M6(J,Z),K=q.axis||"xy",H=q.includeInvisible||!1;return _N(Z,U,K,Y,H)},nearest(Z,J,q,Y){let U=M6(J,Z),K=q.axis||"xy",H=q.includeInvisible||!1;return CN(Z,U,K,q.intersect,Y,H)},x(Z,J,q,Y){let U=M6(J,Z);return Gw(Z,U,"x",q.intersect,Y)},y(Z,J,q,Y){let U=M6(J,Z);return Gw(Z,U,"y",q.intersect,Y)}}},ow=["left","top","right","bottom"];function iZ(Z,J){return Z.filter((q)=>q.pos===J)}function qw(Z,J){return Z.filter((q)=>ow.indexOf(q.pos)===-1&&q.box.axis===J)}function aZ(Z,J){return Z.sort((q,Y)=>{let U=J?Y:q,K=J?q:Y;return U.weight===K.weight?U.index-K.index:U.weight-K.weight})}function Zj(Z){let J=[],q,Y,U,K,H,M;for(q=0,Y=(Z||[]).length;q<Y;++q)U=Z[q],{position:K,options:{stack:H,stackWeight:M=1}}=U,J.push({index:q,box:U,pos:K,horizontal:U.isHorizontal(),weight:U.weight,stack:H&&K+H,stackWeight:M});return J}function Jj(Z){let J={};for(let q of Z){let{stack:Y,pos:U,stackWeight:K}=q;if(!Y||!ow.includes(U))continue;let H=J[Y]||(J[Y]={count:0,placed:0,weight:0,size:0});H.count++,H.weight+=K}return J}function Gj(Z,J){let q=Jj(Z),{vBoxMaxWidth:Y,hBoxMaxHeight:U}=J,K,H,M;for(K=0,H=Z.length;K<H;++K){M=Z[K];let{fullSize:W}=M.box,R=q[M.stack],w=R&&M.stackWeight/R.weight;if(M.horizontal)M.width=w?w*Y:W&&J.availableWidth,M.height=U;else M.width=Y,M.height=w?w*U:W&&J.availableHeight}return q}function qj(Z){let J=Zj(Z),q=aZ(J.filter((R)=>R.box.fullSize),!0),Y=aZ(iZ(J,"left"),!0),U=aZ(iZ(J,"right")),K=aZ(iZ(J,"top"),!0),H=aZ(iZ(J,"bottom")),M=qw(J,"x"),W=qw(J,"y");return{fullSize:q,leftAndTop:Y.concat(K),rightAndBottom:U.concat(W).concat(H).concat(M),chartArea:iZ(J,"chartArea"),vertical:Y.concat(U).concat(W),horizontal:K.concat(H).concat(M)}}function Xw(Z,J,q,Y){return Math.max(Z[q],J[q])+Math.max(Z[Y],J[Y])}function iw(Z,J){Z.top=Math.max(Z.top,J.top),Z.left=Math.max(Z.left,J.left),Z.bottom=Math.max(Z.bottom,J.bottom),Z.right=Math.max(Z.right,J.right)}function Xj(Z,J,q,Y){let{pos:U,box:K}=q,H=Z.maxPadding;if(!s0(U)){if(q.size)Z[U]-=q.size;let z=Y[q.stack]||{size:0,count:1};z.size=Math.max(z.size,q.horizontal?K.height:K.width),q.size=z.size/z.count,Z[U]+=q.size}if(K.getPadding)iw(H,K.getPadding());let M=Math.max(0,J.outerWidth-Xw(H,Z,"left","right")),W=Math.max(0,J.outerHeight-Xw(H,Z,"top","bottom")),R=M!==Z.w,w=W!==Z.h;return Z.w=M,Z.h=W,q.horizontal?{same:R,other:w}:{same:w,other:R}}function Yj(Z){let J=Z.maxPadding;function q(Y){let U=Math.max(J[Y]-Z[Y],0);return Z[Y]+=U,U}Z.y+=q("top"),Z.x+=q("left"),q("right"),q("bottom")}function Uj(Z,J){let q=J.maxPadding;function Y(U){let K={left:0,top:0,right:0,bottom:0};return U.forEach((H)=>{K[H]=Math.max(J[H],q[H])}),K}return Z?Y(["left","right"]):Y(["top","bottom"])}function $J(Z,J,q,Y){let U=[],K,H,M,W,R,w;for(K=0,H=Z.length,R=0;K<H;++K){M=Z[K],W=M.box,W.update(M.width||J.w,M.height||J.h,Uj(M.horizontal,J));let{same:z,other:L}=Xj(J,q,M,Y);if(R|=z&&U.length,w=w||L,!W.fullSize)U.push(M)}return R&&$J(U,J,q,Y)||w}function M2(Z,J,q,Y,U){Z.top=q,Z.left=J,Z.right=J+Y,Z.bottom=q+U,Z.width=Y,Z.height=U}function Yw(Z,J,q,Y){let U=q.padding,{x:K,y:H}=J;for(let M of Z){let W=M.box,R=Y[M.stack]||{placed:0,weight:1},w=M.stackWeight/R.weight||1;if(M.horizontal){let z=J.w*w,L=R.size||W.height;if(m9(R.start))H=R.start;if(W.fullSize)M2(W,U.left,H,q.outerWidth-U.right-U.left,L);else M2(W,J.left+R.placed,H,z,L);R.start=H,R.placed+=z,H=W.bottom}else{let z=J.h*w,L=R.size||W.width;if(m9(R.start))K=R.start;if(W.fullSize)M2(W,K,U.top,L,q.outerHeight-U.bottom-U.top);else M2(W,K,J.top+R.placed,L,z);R.start=K,R.placed+=z,K=W.right}}J.x=K,J.y=H}var P4={addBox(Z,J){if(!Z.boxes)Z.boxes=[];J.fullSize=J.fullSize||!1,J.position=J.position||"top",J.weight=J.weight||0,J._layers=J._layers||function(){return[{z:0,draw(q){J.draw(q)}}]},Z.boxes.push(J)},removeBox(Z,J){let q=Z.boxes?Z.boxes.indexOf(J):-1;if(q!==-1)Z.boxes.splice(q,1)},configure(Z,J,q){J.fullSize=q.fullSize,J.position=q.position,J.weight=q.weight},update(Z,J,q,Y){if(!Z)return;let U=Y5(Z.options.layout.padding),K=Math.max(J-U.width,0),H=Math.max(q-U.height,0),M=qj(Z.boxes),W=M.vertical,R=M.horizontal;q1(Z.boxes,(A)=>{if(typeof A.beforeLayout==="function")A.beforeLayout()});let w=W.reduce((A,E)=>E.box.options&&E.box.options.display===!1?A:A+1,0)||1,z=Object.freeze({outerWidth:J,outerHeight:q,padding:U,availableWidth:K,availableHeight:H,vBoxMaxWidth:K/2/w,hBoxMaxHeight:H/2}),L=Object.assign({},U);iw(L,Y5(Y));let P=Object.assign({maxPadding:L,w:K,h:H,x:U.left,y:U.top},U),I=Gj(W.concat(R),z);if($J(M.fullSize,P,z,I),$J(W,P,z,I),$J(R,P,z,I))$J(W,P,z,I);Yj(P),Yw(M.leftAndTop,P,z,I),P.x+=P.w,P.y+=P.h,Yw(M.rightAndBottom,P,z,I),Z.chartArea={left:P.left,top:P.top,right:P.left+P.w,bottom:P.top+P.h,height:P.h,width:P.w},q1(M.chartArea,(A)=>{let E=A.box;Object.assign(E,Z.chartArea),E.update(P.w,P.h,{left:0,top:0,right:0,bottom:0})})}};class mN{acquireContext(Z,J){}releaseContext(Z){return!1}addEventListener(Z,J,q){}removeEventListener(Z,J,q){}getDevicePixelRatio(){return 1}getMaximumSize(Z,J,q,Y){return J=Math.max(0,J||Z.width),q=q||Z.height,{width:J,height:Math.max(0,Y?Math.floor(J/Y):q)}}isAttached(Z){return!0}updateConfig(Z){}}class aw extends mN{acquireContext(Z){return Z&&Z.getContext&&Z.getContext("2d")||null}updateConfig(Z){Z.options.animation=!1}}var w2="$chartjs",Nj={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Uw=(Z)=>Z===null||Z==="";function Kj(Z,J){let q=Z.style,Y=Z.getAttribute("height"),U=Z.getAttribute("width");if(Z[w2]={initial:{height:Y,width:U,style:{display:q.display,height:q.height,width:q.width}}},q.display=q.display||"block",q.boxSizing=q.boxSizing||"border-box",Uw(U)){let K=UN(Z,"width");if(K!==void 0)Z.width=K}if(Uw(Y))if(Z.style.height==="")Z.height=Z.width/(J||2);else{let K=UN(Z,"height");if(K!==void 0)Z.height=K}return Z}var tw=gR?{passive:!0}:!1;function Bj(Z,J,q){if(Z)Z.addEventListener(J,q,tw)}function Hj(Z,J,q){if(Z&&Z.canvas)Z.canvas.removeEventListener(J,q,tw)}function Mj(Z,J){let q=Nj[Z.type]||Z.type,{x:Y,y:U}=M6(Z,J);return{type:q,chart:J,native:Z,x:Y!==void 0?Y:null,y:U!==void 0?U:null}}function V2(Z,J){for(let q of Z)if(q===J||q.contains(J))return!0}function Wj(Z,J,q){let Y=Z.canvas,U=new MutationObserver((K)=>{let H=!1;for(let M of K)H=H||V2(M.addedNodes,Y),H=H&&!V2(M.removedNodes,Y);if(H)q()});return U.observe(document,{childList:!0,subtree:!0}),U}function Fj(Z,J,q){let Y=Z.canvas,U=new MutationObserver((K)=>{let H=!1;for(let M of K)H=H||V2(M.removedNodes,Y),H=H&&!V2(M.addedNodes,Y);if(H)q()});return U.observe(document,{childList:!0,subtree:!0}),U}var JJ=new Map,Nw=0;function ew(){let Z=window.devicePixelRatio;if(Z===Nw)return;Nw=Z,JJ.forEach((J,q)=>{if(q.currentDevicePixelRatio!==Z)J()})}function Tj(Z,J){if(!JJ.size)window.addEventListener("resize",ew);JJ.set(Z,J)}function Rj(Z){if(JJ.delete(Z),!JJ.size)window.removeEventListener("resize",ew)}function wj(Z,J,q){let Y=Z.canvas,U=Y&&lZ(Y);if(!U)return;let K=KN((M,W)=>{let R=U.clientWidth;if(q(M,W),R<U.clientWidth)q()},window),H=new ResizeObserver((M)=>{let W=M[0],R=W.contentRect.width,w=W.contentRect.height;if(R===0&&w===0)return;K(R,w)});return H.observe(U),Tj(Z,K),H}function PN(Z,J,q){if(q)q.disconnect();if(J==="resize")Rj(Z)}function zj(Z,J,q){let Y=Z.canvas,U=KN((K)=>{if(Z.ctx!==null)q(Mj(K,Z))},Z);return Bj(Y,J,U),U}class $z extends mN{acquireContext(Z,J){let q=Z&&Z.getContext&&Z.getContext("2d");if(q&&q.canvas===Z)return Kj(Z,J),q;return null}releaseContext(Z){let J=Z.canvas;if(!J[w2])return!1;let q=J[w2].initial;["height","width"].forEach((U)=>{let K=q[U];if(a0(K))J.removeAttribute(U);else J.setAttribute(U,K)});let Y=q.style||{};return Object.keys(Y).forEach((U)=>{J.style[U]=Y[U]}),J.width=J.width,delete J[w2],!0}addEventListener(Z,J,q){this.removeEventListener(Z,J);let Y=Z.$proxies||(Z.$proxies={}),K={attach:Wj,detach:Fj,resize:wj}[J]||zj;Y[J]=K(Z,J,q)}removeEventListener(Z,J){let q=Z.$proxies||(Z.$proxies={}),Y=q[J];if(!Y)return;({attach:PN,detach:PN,resize:PN}[J]||Hj)(Z,J,Y),q[J]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(Z,J,q,Y){return fR(Z,J,q,Y)}isAttached(Z){let J=Z&&lZ(Z);return!!(J&&J.isConnected)}}function Vj(Z){if(!K2()||typeof OffscreenCanvas<"u"&&Z instanceof OffscreenCanvas)return aw;return $z}class B8{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(Z){let{x:J,y:q}=this.getProps(["x","y"],Z);return{x:J,y:q}}hasValue(){return p9(this.x)&&p9(this.y)}getProps(Z,J){let q=this.$animations;if(!J||!q)return this;let Y={};return Z.forEach((U)=>{Y[U]=q[U]&&q[U].active()?q[U]._to:this[U]}),Y}}function Lj(Z,J){let q=Z.options.ticks,Y=_j(Z),U=Math.min(q.maxTicksLimit||Y,Y),K=q.major.enabled?Pj(J):[],H=K.length,M=K[0],W=K[H-1],R=[];if(H>U)return Ej(J,R,K,H/U),R;let w=Cj(K,J,U);if(H>0){let z,L,P=H>1?Math.round((W-M)/(H-1)):null;W2(J,R,w,a0(P)?0:M-P,M);for(z=0,L=H-1;z<L;z++)W2(J,R,w,K[z],K[z+1]);return W2(J,R,w,W,a0(P)?J.length:W+P),R}return W2(J,R,w),R}function _j(Z){let J=Z.options.offset,q=Z._tickSize(),Y=Z._length/q+(J?0:1),U=Z._maxLength/q;return Math.floor(Math.min(Y,U))}function Cj(Z,J,q){let Y=Ij(Z),U=J.length/q;if(!Y)return Math.max(U,1);let K=VR(Y);for(let H=0,M=K.length-1;H<M;H++){let W=K[H];if(W>U)return W}return Math.max(U,1)}function Pj(Z){let J=[],q,Y;for(q=0,Y=Z.length;q<Y;q++)if(Z[q].major)J.push(q);return J}function Ej(Z,J,q,Y){let U=0,K=q[0],H;Y=Math.ceil(Y);for(H=0;H<Z.length;H++)if(H===K)J.push(Z[H]),U++,K=q[U*Y]}function W2(Z,J,q,Y,U){let K=f0(Y,0),H=Math.min(f0(U,Z.length),Z.length),M=0,W,R,w;if(q=Math.ceil(q),U)W=U-Y,q=W/Math.floor(W/q);w=K;while(w<0)M++,w=Math.round(K+M*q);for(R=Math.max(K,0);R<H;R++)if(R===w)J.push(Z[R]),M++,w=Math.round(K+M*q)}function Ij(Z){let J=Z.length,q,Y;if(J<2)return!1;for(Y=Z[0],q=1;q<J;++q)if(Z[q]-Z[q-1]!==Y)return!1;return Y}var jj=(Z)=>Z==="left"?"right":Z==="right"?"left":Z,Kw=(Z,J,q)=>J==="top"||J==="left"?Z[J]+q:Z[J]-q,Bw=(Z,J)=>Math.min(J||Z,Z);function Hw(Z,J){let q=[],Y=Z.length/J,U=Z.length,K=0;for(;K<U;K+=Y)q.push(Z[Math.floor(K)]);return q}function Oj(Z,J,q){let Y=Z.ticks.length,U=Math.min(J,Y-1),K=Z._startPixel,H=Z._endPixel,M=0.000001,W=Z.getPixelForTick(U),R;if(q){if(Y===1)R=Math.max(W-K,H-W);else if(J===0)R=(Z.getPixelForTick(1)-W)/2;else R=(W-Z.getPixelForTick(U-1))/2;if(W+=U<J?R:-R,W<K-0.000001||W>H+0.000001)return}return W}function Dj(Z,J){q1(Z,(q)=>{let Y=q.gc,U=Y.length/2,K;if(U>J){for(K=0;K<U;++K)delete q.data[Y[K]];Y.splice(0,U)}})}function tZ(Z){return Z.drawTicks?Z.tickLength:0}function Mw(Z,J){if(!Z.display)return 0;let q=p1(Z.font,J),Y=Y5(Z.padding);return(z1(Z.text)?Z.text.length:1)*q.lineHeight+Y.height}function Aj(Z,J){return U8(Z,{scale:J,type:"scale"})}function Sj(Z,J,q){return U8(Z,{tick:q,index:J,type:"tick"})}function vj(Z,J,q){let Y=B2(Z);if(q&&J!=="right"||!q&&J==="right")Y=jj(Y);return Y}function kj(Z,J,q,Y){let{top:U,left:K,bottom:H,right:M,chart:W}=Z,{chartArea:R,scales:w}=W,z=0,L,P,I,A=H-U,E=M-K;if(Z.isHorizontal()){if(P=X5(Y,K,M),s0(q)){let g=Object.keys(q)[0],m=q[g];I=w[g].getPixelForValue(m)+A-J}else if(q==="center")I=(R.bottom+R.top)/2+A-J;else I=Kw(Z,q,J);L=M-K}else{if(s0(q)){let g=Object.keys(q)[0],m=q[g];P=w[g].getPixelForValue(m)-E+J}else if(q==="center")P=(R.left+R.right)/2-E+J;else P=Kw(Z,q,J);I=X5(Y,H,U),z=q==="left"?-f5:f5}return{titleX:P,titleY:I,maxWidth:L,rotation:z}}class V7 extends B8{constructor(Z){super();this.id=Z.id,this.type=Z.type,this.options=void 0,this.ctx=Z.ctx,this.chart=Z.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(Z){this.options=Z.setContext(this.getContext()),this.axis=Z.axis,this._userMin=this.parse(Z.min),this._userMax=this.parse(Z.max),this._suggestedMin=this.parse(Z.suggestedMin),this._suggestedMax=this.parse(Z.suggestedMax)}parse(Z,J){return Z}getUserBounds(){let{_userMin:Z,_userMax:J,_suggestedMin:q,_suggestedMax:Y}=this;return Z=x5(Z,Number.POSITIVE_INFINITY),J=x5(J,Number.NEGATIVE_INFINITY),q=x5(q,Number.POSITIVE_INFINITY),Y=x5(Y,Number.NEGATIVE_INFINITY),{min:x5(Z,q),max:x5(J,Y),minDefined:O1(Z),maxDefined:O1(J)}}getMinMax(Z){let{min:J,max:q,minDefined:Y,maxDefined:U}=this.getUserBounds(),K;if(Y&&U)return{min:J,max:q};let H=this.getMatchingVisibleMetas();for(let M=0,W=H.length;M<W;++M){if(K=H[M].controller.getMinMax(this,Z),!Y)J=Math.min(J,K.min);if(!U)q=Math.max(q,K.max)}return J=U&&J>q?q:J,q=Y&&J>q?J:q,{min:x5(J,x5(q,J)),max:x5(q,x5(J,q))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let Z=this.chart.data;return this.options.labels||(this.isHorizontal()?Z.xLabels:Z.yLabels)||Z.labels||[]}getLabelItems(Z=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(Z))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){W1(this.options.beforeUpdate,[this])}update(Z,J,q){let{beginAtZero:Y,grace:U,ticks:K}=this.options,H=K.sampleSize;if(this.beforeUpdate(),this.maxWidth=Z,this.maxHeight=J,this._margins=q=Object.assign({left:0,right:0,top:0,bottom:0},q),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+q.left+q.right:this.height+q.top+q.bottom,!this._dataLimitsCached){this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits();let W=rR(this,U,Y),{minDefined:R,maxDefined:w}=this.getUserBounds();this._range={min:R?this.min:W.min,max:w?this.max:W.max},this._dataLimitsCached=!0}this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let M=H<this.ticks.length;if(this._convertTicksToLabels(M?Hw(this.ticks,H):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),K.display&&(K.autoSkip||K.source==="auto"))this.ticks=Lj(this,this.ticks),this._labelSizes=null,this.afterAutoSkip();if(M)this._convertTicksToLabels(this.ticks);this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let Z=this.options.reverse,J,q;if(this.isHorizontal())J=this.left,q=this.right;else J=this.top,q=this.bottom,Z=!Z;this._startPixel=J,this._endPixel=q,this._reversePixels=Z,this._length=q-J,this._alignToPixels=this.options.alignToPixels}afterUpdate(){W1(this.options.afterUpdate,[this])}beforeSetDimensions(){W1(this.options.beforeSetDimensions,[this])}setDimensions(){if(this.isHorizontal())this.width=this.maxWidth,this.left=0,this.right=this.width;else this.height=this.maxHeight,this.top=0,this.bottom=this.height;this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){W1(this.options.afterSetDimensions,[this])}_callHooks(Z){this.chart.notifyPlugins(Z,this.getContext()),W1(this.options[Z],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){W1(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(Z){let J=this.options.ticks,q,Y,U;for(q=0,Y=Z.length;q<Y;q++)U=Z[q],U.label=W1(J.callback,[U.value,q,Z],this)}afterTickToLabelConversion(){W1(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){W1(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let Z=this.options,J=Z.ticks,q=Bw(this.ticks.length,Z.ticks.maxTicksLimit),Y=J.minRotation||0,U=J.maxRotation,K=Y,H,M,W;if(!this._isVisible()||!J.display||Y>=U||q<=1||!this.isHorizontal()){this.labelRotation=Y;return}let R=this._getLabelSizes(),w=R.widest.width,z=R.highest.height,L=h5(this.chart.width-w,0,this.maxWidth);if(H=Z.offset?this.maxWidth/q:L/(q-1),w+6>H)H=L/(q-(Z.offset?0.5:1)),M=this.maxHeight-tZ(Z.grid)-J.padding-Mw(Z.title,this.chart.options.font),W=Math.sqrt(w*w+z*z),K=q2(Math.min(Math.asin(h5((R.highest.height+6)/H,-1,1)),Math.asin(h5(M/W,-1,1))-Math.asin(h5(z/W,-1,1)))),K=Math.max(Y,Math.min(U,K));this.labelRotation=K}afterCalculateLabelRotation(){W1(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){W1(this.options.beforeFit,[this])}fit(){let Z={width:0,height:0},{chart:J,options:{ticks:q,title:Y,grid:U}}=this,K=this._isVisible(),H=this.isHorizontal();if(K){let M=Mw(Y,J.options.font);if(H)Z.width=this.maxWidth,Z.height=tZ(U)+M;else Z.height=this.maxHeight,Z.width=tZ(U)+M;if(q.display&&this.ticks.length){let{first:W,last:R,widest:w,highest:z}=this._getLabelSizes(),L=q.padding*2,P=X8(this.labelRotation),I=Math.cos(P),A=Math.sin(P);if(H){let E=q.mirror?0:A*w.width+I*z.height;Z.height=Math.min(this.maxHeight,Z.height+E+L)}else{let E=q.mirror?0:I*w.width+A*z.height;Z.width=Math.min(this.maxWidth,Z.width+E+L)}this._calculatePadding(W,R,A,I)}}if(this._handleMargins(),H)this.width=this._length=J.width-this._margins.left-this._margins.right,this.height=Z.height;else this.width=Z.width,this.height=this._length=J.height-this._margins.top-this._margins.bottom}_calculatePadding(Z,J,q,Y){let{ticks:{align:U,padding:K},position:H}=this.options,M=this.labelRotation!==0,W=H!=="top"&&this.axis==="x";if(this.isHorizontal()){let R=this.getPixelForTick(0)-this.left,w=this.right-this.getPixelForTick(this.ticks.length-1),z=0,L=0;if(M)if(W)z=Y*Z.width,L=q*J.height;else z=q*Z.height,L=Y*J.width;else if(U==="start")L=J.width;else if(U==="end")z=Z.width;else if(U!=="inner")z=Z.width/2,L=J.width/2;this.paddingLeft=Math.max((z-R+K)*this.width/(this.width-R),0),this.paddingRight=Math.max((L-w+K)*this.width/(this.width-w),0)}else{let R=J.height/2,w=Z.height/2;if(U==="start")R=0,w=Z.height;else if(U==="end")R=J.height,w=0;this.paddingTop=R+K,this.paddingBottom=w+K}}_handleMargins(){if(this._margins)this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom)}afterFit(){W1(this.options.afterFit,[this])}isHorizontal(){let{axis:Z,position:J}=this.options;return J==="top"||J==="bottom"||Z==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(Z){this.beforeTickToLabelConversion(),this.generateTickLabels(Z);let J,q;for(J=0,q=Z.length;J<q;J++)if(a0(Z[J].label))Z.splice(J,1),q--,J--;this.afterTickToLabelConversion()}_getLabelSizes(){let Z=this._labelSizes;if(!Z){let J=this.options.ticks.sampleSize,q=this.ticks;if(J<q.length)q=Hw(q,J);this._labelSizes=Z=this._computeLabelSizes(q,q.length,this.options.ticks.maxTicksLimit)}return Z}_computeLabelSizes(Z,J,q){let{ctx:Y,_longestTextCache:U}=this,K=[],H=[],M=Math.floor(J/Bw(J,q)),W=0,R=0,w,z,L,P,I,A,E,g,m,o,i;for(w=0;w<J;w+=M){if(P=Z[w].label,I=this._resolveTickFontOptions(w),Y.font=A=I.string,E=U[A]=U[A]||{data:{},gc:[]},g=I.lineHeight,m=o=0,!a0(P)&&!z1(P))m=uZ(Y,E.data,E.gc,m,P),o=g;else if(z1(P)){for(z=0,L=P.length;z<L;++z)if(i=P[z],!a0(i)&&!z1(i))m=uZ(Y,E.data,E.gc,m,i),o+=g}K.push(m),H.push(o),W=Math.max(m,W),R=Math.max(o,R)}Dj(U,J);let l=K.indexOf(W),J0=H.indexOf(R),p=(a)=>({width:K[a]||0,height:H[a]||0});return{first:p(0),last:p(J-1),widest:p(l),highest:p(J0),widths:K,heights:H}}getLabelForValue(Z){return Z}getPixelForValue(Z,J){return NaN}getValueForPixel(Z){}getPixelForTick(Z){let J=this.ticks;if(Z<0||Z>J.length-1)return null;return this.getPixelForValue(J[Z].value)}getPixelForDecimal(Z){if(this._reversePixels)Z=1-Z;let J=this._startPixel+Z*this._length;return CR(this._alignToPixels?B6(this.chart,J,0):J)}getDecimalForPixel(Z){let J=(Z-this._startPixel)/this._length;return this._reversePixels?1-J:J}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:Z,max:J}=this;return Z<0&&J<0?J:Z>0&&J>0?Z:0}getContext(Z){let J=this.ticks||[];if(Z>=0&&Z<J.length){let q=J[Z];return q.$context||(q.$context=Sj(this.getContext(),Z,q))}return this.$context||(this.$context=Aj(this.chart.getContext(),this))}_tickSize(){let Z=this.options.ticks,J=X8(this.labelRotation),q=Math.abs(Math.cos(J)),Y=Math.abs(Math.sin(J)),U=this._getLabelSizes(),K=Z.autoSkipPadding||0,H=U?U.widest.width+K:0,M=U?U.highest.height+K:0;return this.isHorizontal()?M*q>H*Y?H/q:M/Y:M*Y<H*q?M/q:H/Y}_isVisible(){let Z=this.options.display;if(Z!=="auto")return!!Z;return this.getMatchingVisibleMetas().length>0}_computeGridLineItems(Z){let J=this.axis,q=this.chart,Y=this.options,{grid:U,position:K,border:H}=Y,M=U.offset,W=this.isHorizontal(),w=this.ticks.length+(M?1:0),z=tZ(U),L=[],P=H.setContext(this.getContext()),I=P.display?P.width:0,A=I/2,E=function(r){return B6(q,r,I)},g,m,o,i,l,J0,p,a,U0,d,K0,B0;if(K==="top")g=E(this.bottom),J0=this.bottom-z,a=g-A,d=E(Z.top)+A,B0=Z.bottom;else if(K==="bottom")g=E(this.top),d=Z.top,B0=E(Z.bottom)-A,J0=g+A,a=this.top+z;else if(K==="left")g=E(this.right),l=this.right-z,p=g-A,U0=E(Z.left)+A,K0=Z.right;else if(K==="right")g=E(this.left),U0=Z.left,K0=E(Z.right)-A,l=g+A,p=this.left+z;else if(J==="x"){if(K==="center")g=E((Z.top+Z.bottom)/2+0.5);else if(s0(K)){let r=Object.keys(K)[0],t=K[r];g=E(this.chart.scales[r].getPixelForValue(t))}d=Z.top,B0=Z.bottom,J0=g+A,a=J0+z}else if(J==="y"){if(K==="center")g=E((Z.left+Z.right)/2);else if(s0(K)){let r=Object.keys(K)[0],t=K[r];g=E(this.chart.scales[r].getPixelForValue(t))}l=g-A,p=l-z,U0=Z.left,K0=Z.right}let z0=f0(Y.ticks.maxTicksLimit,w),F1=Math.max(1,Math.ceil(w/z0));for(m=0;m<w;m+=F1){let r=this.getContext(m),t=U.setContext(r),q0=H.setContext(r),u0=t.lineWidth,d0=t.color,S=q0.dash||[],n=q0.dashOffset,H0=t.tickWidth,M0=t.tickColor,v0=t.tickBorderDash||[],y1=t.tickBorderDashOffset;if(o=Oj(this,m,M),o===void 0)continue;if(i=B6(q,o,u0),W)l=p=U0=K0=i;else J0=a=d=B0=i;L.push({tx1:l,ty1:J0,tx2:p,ty2:a,x1:U0,y1:d,x2:K0,y2:B0,width:u0,color:d0,borderDash:S,borderDashOffset:n,tickWidth:H0,tickColor:M0,tickBorderDash:v0,tickBorderDashOffset:y1})}return this._ticksLength=w,this._borderValue=g,L}_computeLabelItems(Z){let J=this.axis,q=this.options,{position:Y,ticks:U}=q,K=this.isHorizontal(),H=this.ticks,{align:M,crossAlign:W,padding:R,mirror:w}=U,z=tZ(q.grid),L=z+R,P=w?-R:L,I=-X8(this.labelRotation),A=[],E,g,m,o,i,l,J0,p,a,U0,d,K0,B0="middle";if(Y==="top")l=this.bottom-P,J0=this._getXAxisLabelAlignment();else if(Y==="bottom")l=this.top+P,J0=this._getXAxisLabelAlignment();else if(Y==="left"){let t=this._getYAxisLabelAlignment(z);J0=t.textAlign,i=t.x}else if(Y==="right"){let t=this._getYAxisLabelAlignment(z);J0=t.textAlign,i=t.x}else if(J==="x"){if(Y==="center")l=(Z.top+Z.bottom)/2+L;else if(s0(Y)){let t=Object.keys(Y)[0],q0=Y[t];l=this.chart.scales[t].getPixelForValue(q0)+L}J0=this._getXAxisLabelAlignment()}else if(J==="y"){if(Y==="center")i=(Z.left+Z.right)/2-L;else if(s0(Y)){let t=Object.keys(Y)[0],q0=Y[t];i=this.chart.scales[t].getPixelForValue(q0)}J0=this._getYAxisLabelAlignment(z).textAlign}if(J==="y"){if(M==="start")B0="top";else if(M==="end")B0="bottom"}let z0=this._getLabelSizes(),F1=H.length-1,r=F1>0&&this.getPixelForTick(0)>this.getPixelForTick(F1);for(E=0,g=H.length;E<g;++E){m=H[E],o=m.label;let t=U.setContext(this.getContext(E));p=this.getPixelForTick(E)+U.labelOffset,a=this._resolveTickFontOptions(E),U0=a.lineHeight,d=z1(o)?o.length:1;let q0=d/2,u0=t.color,d0=t.textStrokeColor,S=t.textStrokeWidth,n=J0;if(K){if(i=p,J0==="inner")if(E===g-1)n=!r?"right":"left";else if(E===0)n=!r?"left":"right";else n="center";if(Y==="top")if(W==="near"||I!==0)K0=-d*U0+U0/2;else if(W==="center")K0=-z0.highest.height/2-q0*U0+U0;else K0=-z0.highest.height+U0/2;else if(W==="near"||I!==0)K0=U0/2;else if(W==="center")K0=z0.highest.height/2-q0*U0;else K0=z0.highest.height-d*U0;if(w)K0*=-1;if(I!==0&&!t.showLabelBackdrop)i+=U0/2*Math.sin(I)}else l=p,K0=(1-d)*U0/2;let H0;if(t.showLabelBackdrop){let M0=Y5(t.backdropPadding),v0=z0.heights[E],y1=z0.widths[E],C0=K0-M0.top,_1=0-M0.left;switch(B0){case"middle":C0-=v0/2;break;case"bottom":C0-=v0;break}switch(n){case"center":_1-=y1/2;break;case"right":_1-=y1;break}H0={left:_1,top:C0,width:y1+M0.width,height:v0+M0.height,color:t.backdropColor}}A.push({label:o,font:a,textOffset:K0,options:{rotation:I,color:u0,strokeColor:d0,strokeWidth:S,textAlign:n,textBaseline:B0,translation:[i,l],backdrop:H0}})}return A}_getXAxisLabelAlignment(){let{position:Z,ticks:J}=this.options;if(-X8(this.labelRotation))return Z==="top"?"left":"right";let Y="center";if(J.align==="start")Y="left";else if(J.align==="end")Y="right";else if(J.align==="inner")Y="inner";return Y}_getYAxisLabelAlignment(Z){let{position:J,ticks:{crossAlign:q,mirror:Y,padding:U}}=this.options,K=this._getLabelSizes(),H=Z+U,M=K.widest.width,W,R;if(J==="left")if(Y)if(R=this.right+U,q==="near")W="left";else if(q==="center")W="center",R+=M/2;else W="right",R+=M;else if(R=this.right-H,q==="near")W="right";else if(q==="center")W="center",R-=M/2;else W="left",R=this.left;else if(J==="right")if(Y)if(R=this.left+U,q==="near")W="right";else if(q==="center")W="center",R-=M/2;else W="left",R-=M;else if(R=this.left+H,q==="near")W="left";else if(q==="center")W="center",R+=M/2;else W="right",R=this.right;else W="right";return{textAlign:W,x:R}}_computeLabelArea(){if(this.options.ticks.mirror)return;let Z=this.chart,J=this.options.position;if(J==="left"||J==="right")return{top:0,left:this.left,bottom:Z.height,right:this.right};if(J==="top"||J==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:Z.width}}drawBackground(){let{ctx:Z,options:{backgroundColor:J},left:q,top:Y,width:U,height:K}=this;if(J)Z.save(),Z.fillStyle=J,Z.fillRect(q,Y,U,K),Z.restore()}getLineWidthForValue(Z){let J=this.options.grid;if(!this._isVisible()||!J.display)return 0;let Y=this.ticks.findIndex((U)=>U.value===Z);if(Y>=0)return J.setContext(this.getContext(Y)).lineWidth;return 0}drawGrid(Z){let J=this.options.grid,q=this.ctx,Y=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(Z)),U,K,H=(M,W,R)=>{if(!R.width||!R.color)return;q.save(),q.lineWidth=R.width,q.strokeStyle=R.color,q.setLineDash(R.borderDash||[]),q.lineDashOffset=R.borderDashOffset,q.beginPath(),q.moveTo(M.x,M.y),q.lineTo(W.x,W.y),q.stroke(),q.restore()};if(J.display)for(U=0,K=Y.length;U<K;++U){let M=Y[U];if(J.drawOnChartArea)H({x:M.x1,y:M.y1},{x:M.x2,y:M.y2},M);if(J.drawTicks)H({x:M.tx1,y:M.ty1},{x:M.tx2,y:M.ty2},{color:M.tickColor,width:M.tickWidth,borderDash:M.tickBorderDash,borderDashOffset:M.tickBorderDashOffset})}}drawBorder(){let{chart:Z,ctx:J,options:{border:q,grid:Y}}=this,U=q.setContext(this.getContext()),K=q.display?U.width:0;if(!K)return;let H=Y.setContext(this.getContext(0)).lineWidth,M=this._borderValue,W,R,w,z;if(this.isHorizontal())W=B6(Z,this.left,K)-K/2,R=B6(Z,this.right,H)+H/2,w=z=M;else w=B6(Z,this.top,K)-K/2,z=B6(Z,this.bottom,H)+H/2,W=R=M;J.save(),J.lineWidth=U.width,J.strokeStyle=U.color,J.beginPath(),J.moveTo(W,w),J.lineTo(R,z),J.stroke(),J.restore()}drawLabels(Z){if(!this.options.ticks.display)return;let q=this.ctx,Y=this._computeLabelArea();if(Y)pZ(q,Y);let U=this.getLabelItems(Z);for(let K of U){let{options:H,font:M,label:W,textOffset:R}=K;H6(q,W,0,R,M,H)}if(Y)cZ(q)}drawTitle(){let{ctx:Z,options:{position:J,title:q,reverse:Y}}=this;if(!q.display)return;let U=p1(q.font),K=Y5(q.padding),H=q.align,M=U.lineHeight/2;if(J==="bottom"||J==="center"||s0(J)){if(M+=K.bottom,z1(q.text))M+=U.lineHeight*(q.text.length-1)}else M+=K.top;let{titleX:W,titleY:R,maxWidth:w,rotation:z}=kj(this,M,J,H);H6(Z,q.text,0,0,U,{color:q.color,maxWidth:w,rotation:z,textAlign:vj(H,J,Y),textBaseline:"middle",translation:[W,R],strokeColor:q.strokeColor,strokeWidth:q.strokeWidth})}draw(Z){if(!this._isVisible())return;this.drawBackground(),this.drawGrid(Z),this.drawBorder(),this.drawTitle(),this.drawLabels(Z)}_layers(){let Z=this.options,J=Z.ticks&&Z.ticks.z||0,q=f0(Z.grid&&Z.grid.z,-1),Y=f0(Z.border&&Z.border.z,0);if(!this._isVisible()||this.draw!==V7.prototype.draw)return[{z:J,draw:(U)=>{this.draw(U)}}];return[{z:q,draw:(U)=>{this.drawBackground(),this.drawGrid(U),this.drawTitle()}},{z:Y,draw:()=>{this.drawBorder()}},{z:J,draw:(U)=>{this.drawLabels(U)}}]}getMatchingVisibleMetas(Z){let J=this.chart.getSortedVisibleDatasetMetas(),q=this.axis+"AxisID",Y=[],U,K;for(U=0,K=J.length;U<K;++U){let H=J[U];if(H[q]===this.id&&(!Z||H.type===Z))Y.push(H)}return Y}_resolveTickFontOptions(Z){let J=this.options.ticks.setContext(this.getContext(Z));return p1(J.font)}_maxDigits(){let Z=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/Z}}class QJ{constructor(Z,J,q){this.type=Z,this.scope=J,this.override=q,this.items=Object.create(null)}isForType(Z){return Object.prototype.isPrototypeOf.call(this.type.prototype,Z.prototype)}register(Z){let J=Object.getPrototypeOf(Z),q;if(fj(J))q=this.register(J);let Y=this.items,U=Z.id,K=this.scope+"."+U;if(!U)throw Error("class does not have id: "+Z);if(U in Y)return K;if(Y[U]=Z,bj(Z,K,q),this.override)D1.override(Z.id,Z.overrides);return K}get(Z){return this.items[Z]}unregister(Z){let J=this.items,q=Z.id,Y=this.scope;if(q in J)delete J[q];if(Y&&q in D1[Y]){if(delete D1[Y][q],this.override)delete W6[q]}}}function bj(Z,J,q){let Y=h9(Object.create(null),[q?D1.get(q):{},D1.get(J),Z.defaults]);if(D1.set(J,Y),Z.defaultRoutes)yj(J,Z.defaultRoutes);if(Z.descriptors)D1.describe(J,Z.descriptors)}function yj(Z,J){Object.keys(J).forEach((q)=>{let Y=q.split("."),U=Y.pop(),K=[Z].concat(Y).join("."),H=J[q].split("."),M=H.pop(),W=H.join(".");D1.route(K,U,W,M)})}function fj(Z){return"id"in Z&&"defaults"in Z}class Qz{constructor(){this.controllers=new QJ(L2,"datasets",!0),this.elements=new QJ(B8,"elements"),this.plugins=new QJ(Object,"plugins"),this.scales=new QJ(V7,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...Z){this._each("register",Z)}remove(...Z){this._each("unregister",Z)}addControllers(...Z){this._each("register",Z,this.controllers)}addElements(...Z){this._each("register",Z,this.elements)}addPlugins(...Z){this._each("register",Z,this.plugins)}addScales(...Z){this._each("register",Z,this.scales)}getController(Z){return this._get(Z,this.controllers,"controller")}getElement(Z){return this._get(Z,this.elements,"element")}getPlugin(Z){return this._get(Z,this.plugins,"plugin")}getScale(Z){return this._get(Z,this.scales,"scale")}removeControllers(...Z){this._each("unregister",Z,this.controllers)}removeElements(...Z){this._each("unregister",Z,this.elements)}removePlugins(...Z){this._each("unregister",Z,this.plugins)}removeScales(...Z){this._each("unregister",Z,this.scales)}_each(Z,J,q){[...J].forEach((Y)=>{let U=q||this._getRegistryForType(Y);if(q||U.isForType(Y)||U===this.plugins&&Y.id)this._exec(Z,U,Y);else q1(Y,(K)=>{let H=q||this._getRegistryForType(K);this._exec(Z,H,K)})})}_exec(Z,J,q){let Y=G2(Z);W1(q["before"+Y],[],q),J[Z](q),W1(q["after"+Y],[],q)}_getRegistryForType(Z){for(let J=0;J<this._typedRegistries.length;J++){let q=this._typedRegistries[J];if(q.isForType(Z))return q}return this.plugins}_get(Z,J,q){let Y=J.get(Z);if(Y===void 0)throw Error('"'+Z+'" is not a registered '+q+".");return Y}}var C$=new Qz;class Zz{constructor(){this._init=void 0}notify(Z,J,q,Y){if(J==="beforeInit")this._init=this._createDescriptors(Z,!0),this._notify(this._init,Z,"install");if(this._init===void 0)return;let U=Y?this._descriptors(Z).filter(Y):this._descriptors(Z),K=this._notify(U,Z,J,q);if(J==="afterDestroy")this._notify(U,Z,"stop"),this._notify(this._init,Z,"uninstall"),this._init=void 0;return K}_notify(Z,J,q,Y){Y=Y||{};for(let U of Z){let K=U.plugin,H=K[q],M=[J,Y,U.options];if(W1(H,M,K)===!1&&Y.cancelable)return!1}return!0}invalidate(){if(!a0(this._cache))this._oldCache=this._cache,this._cache=void 0}_descriptors(Z){if(this._cache)return this._cache;let J=this._cache=this._createDescriptors(Z);return this._notifyStateChanges(Z),J}_createDescriptors(Z,J){let q=Z&&Z.config,Y=f0(q.options&&q.options.plugins,{}),U=gj(q);return Y===!1&&!J?[]:xj(Z,U,Y,J)}_notifyStateChanges(Z){let J=this._oldCache||[],q=this._cache,Y=(U,K)=>U.filter((H)=>!K.some((M)=>H.plugin.id===M.plugin.id));this._notify(Y(J,q),Z,"stop"),this._notify(Y(q,J),Z,"start")}}function gj(Z){let J={},q=[],Y=Object.keys(C$.plugins.items);for(let K=0;K<Y.length;K++)q.push(C$.getPlugin(Y[K]));let U=Z.plugins||[];for(let K=0;K<U.length;K++){let H=U[K];if(q.indexOf(H)===-1)q.push(H),J[H.id]=!0}return{plugins:q,localIds:J}}function hj(Z,J){if(!J&&Z===!1)return null;if(Z===!0)return{};return Z}function xj(Z,{plugins:J,localIds:q},Y,U){let K=[],H=Z.getContext();for(let M of J){let W=M.id,R=hj(Y[W],U);if(R===null)continue;K.push({plugin:M,options:uj(Z.config,{plugin:M,local:q[W]},R,H)})}return K}function uj(Z,{plugin:J,local:q},Y,U){let K=Z.pluginScopeKeys(J),H=Z.getOptionScopes(Y,K);if(q&&J.defaults)H.push(J.defaults);return Z.createResolver(H,U,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function DN(Z,J){let q=D1.datasets[Z]||{};return((J.datasets||{})[Z]||{}).indexAxis||J.indexAxis||q.indexAxis||"x"}function mj(Z,J){let q=Z;if(Z==="_index_")q=J;else if(Z==="_value_")q=J==="x"?"y":"x";return q}function dj(Z,J){return Z===J?"_index_":"_value_"}function Ww(Z){if(Z==="x"||Z==="y"||Z==="r")return Z}function pj(Z){if(Z==="top"||Z==="bottom")return"x";if(Z==="left"||Z==="right")return"y"}function AN(Z,...J){if(Ww(Z))return Z;for(let q of J){let Y=q.axis||pj(q.position)||Z.length>1&&Ww(Z[0].toLowerCase());if(Y)return Y}throw Error(`Cannot determine type of '${Z}' axis. Please provide 'axis' or 'position' option.`)}function Fw(Z,J,q){if(q[J+"AxisID"]===Z)return{axis:J}}function cj(Z,J){if(J.data&&J.data.datasets){let q=J.data.datasets.filter((Y)=>Y.xAxisID===Z||Y.yAxisID===Z);if(q.length)return Fw(Z,"x",q[0])||Fw(Z,"y",q[0])}return{}}function lj(Z,J){let q=W6[Z.type]||{scales:{}},Y=J.scales||{},U=DN(Z.type,J),K=Object.create(null);return Object.keys(Y).forEach((H)=>{let M=Y[H];if(!s0(M))return console.error(`Invalid scale configuration for scale: ${H}`);if(M._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${H}`);let W=AN(H,M,cj(H,Z),D1.scales[M.type]),R=dj(W,U),w=q.scales||{};K[H]=u9(Object.create(null),[{axis:W},M,w[W],w[R]])}),Z.data.datasets.forEach((H)=>{let M=H.type||Z.type,W=H.indexAxis||DN(M,J),w=(W6[M]||{}).scales||{};Object.keys(w).forEach((z)=>{let L=mj(z,W),P=H[L+"AxisID"]||L;K[P]=K[P]||Object.create(null),u9(K[P],[{axis:L},Y[P],w[z]])})}),Object.keys(K).forEach((H)=>{let M=K[H];u9(M,[D1.scales[M.type],D1.scale])}),K}function Jz(Z){let J=Z.options||(Z.options={});J.plugins=f0(J.plugins,{}),J.scales=lj(Z,J)}function Gz(Z){return Z=Z||{},Z.datasets=Z.datasets||[],Z.labels=Z.labels||[],Z}function rj(Z){return Z=Z||{},Z.data=Gz(Z.data),Jz(Z),Z}var Tw=new Map,qz=new Set;function F2(Z,J){let q=Tw.get(Z);if(!q)q=J(),Tw.set(Z,q),qz.add(q);return q}var eZ=(Z,J,q)=>{let Y=T7(J,q);if(Y!==void 0)Z.add(Y)};class Xz{constructor(Z){this._config=rj(Z),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(Z){this._config.type=Z}get data(){return this._config.data}set data(Z){this._config.data=Gz(Z)}get options(){return this._config.options}set options(Z){this._config.options=Z}get plugins(){return this._config.plugins}update(){let Z=this._config;this.clearCache(),Jz(Z)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(Z){return F2(Z,()=>[[`datasets.${Z}`,""]])}datasetAnimationScopeKeys(Z,J){return F2(`${Z}.transition.${J}`,()=>[[`datasets.${Z}.transitions.${J}`,`transitions.${J}`],[`datasets.${Z}`,""]])}datasetElementScopeKeys(Z,J){return F2(`${Z}-${J}`,()=>[[`datasets.${Z}.elements.${J}`,`datasets.${Z}`,`elements.${J}`,""]])}pluginScopeKeys(Z){let J=Z.id,q=this.type;return F2(`${q}-plugin-${J}`,()=>[[`plugins.${J}`,...Z.additionalOptionScopes||[]]])}_cachedScopes(Z,J){let q=this._scopeCache,Y=q.get(Z);if(!Y||J)Y=new Map,q.set(Z,Y);return Y}getOptionScopes(Z,J,q){let{options:Y,type:U}=this,K=this._cachedScopes(Z,q),H=K.get(J);if(H)return H;let M=new Set;J.forEach((R)=>{if(Z)M.add(Z),R.forEach((w)=>eZ(M,Z,w));R.forEach((w)=>eZ(M,Y,w)),R.forEach((w)=>eZ(M,W6[U]||{},w)),R.forEach((w)=>eZ(M,D1,w)),R.forEach((w)=>eZ(M,H2,w))});let W=Array.from(M);if(W.length===0)W.push(Object.create(null));if(qz.has(J))K.set(J,W);return W}chartOptionScopes(){let{options:Z,type:J}=this;return[Z,W6[J]||{},D1.datasets[J]||{},{type:J},D1,H2]}resolveNamedOptions(Z,J,q,Y=[""]){let U={$shared:!0},{resolver:K,subPrefixes:H}=Rw(this._resolverCache,Z,Y),M=K;if(nj(K,J)){U.$shared=!1,q=G8(q)?q():q;let W=this.createResolver(Z,q,H);M=F7(K,q,W)}for(let W of J)U[W]=M[W];return U}createResolver(Z,J,q=[""],Y){let{resolver:U}=Rw(this._resolverCache,Z,q);return s0(J)?F7(U,J,void 0,Y):U}}function Rw(Z,J,q){let Y=Z.get(J);if(!Y)Y=new Map,Z.set(J,Y);let U=q.join(),K=Y.get(U);if(!K)K={resolver:N2(J,q),subPrefixes:q.filter((M)=>!M.toLowerCase().includes("hover"))},Y.set(U,K);return K}var sj=(Z)=>s0(Z)&&Object.getOwnPropertyNames(Z).some((J)=>G8(Z[J]));function nj(Z,J){let{isScriptable:q,isIndexable:Y}=GN(Z);for(let U of J){let K=q(U),H=Y(U),M=(H||K)&&Z[U];if(K&&(G8(M)||sj(M))||H&&z1(M))return!0}return!1}var oj="4.6.2",ij=["top","bottom","left","right","chartArea"];function ww(Z,J){return Z==="top"||Z==="bottom"||ij.indexOf(Z)===-1&&J==="x"}function zw(Z,J){return function(q,Y){return q[Z]===Y[Z]?q[J]-Y[J]:q[Z]-Y[Z]}}function Vw(Z){let J=Z.chart,q=J.options.animation;J.notifyPlugins("afterRender"),W1(q&&q.onComplete,[Z],J)}function aj(Z){let J=Z.chart,q=J.options.animation;W1(q&&q.onProgress,[Z],J)}function Yz(Z){if(K2()&&typeof Z==="string")Z=document.getElementById(Z);else if(Z&&Z.length)Z=Z[0];if(Z&&Z.canvas)Z=Z.canvas;return Z}var z2={},Lw=(Z)=>{let J=Yz(Z);return Object.values(z2).filter((q)=>q.canvas===J).pop()};function tj(Z,J,q){let Y=Object.keys(Z);for(let U of Y){let K=+U;if(K>=J){let H=Z[U];if(delete Z[U],q>0||K>J)Z[K+q]=H}}}function ej(Z,J,q,Y){if(!q||Z.type==="mouseout")return null;if(Y)return J;return Z}class I5{static defaults=D1;static instances=z2;static overrides=W6;static registry=C$;static version=oj;static getChart=Lw;static register(...Z){C$.add(...Z),_w()}static unregister(...Z){C$.remove(...Z),_w()}constructor(Z,J){let q=this.config=new Xz(J),Y=Yz(Z),U=Lw(Y);if(U)throw Error("Canvas is already in use. Chart with ID '"+U.id+"' must be destroyed before the canvas with ID '"+U.canvas.id+"' can be reused.");let K=q.createResolver(q.chartOptionScopes(),this.getContext());this.platform=new(q.platform||Vj(Y)),this.platform.updateConfig(q);let H=this.platform.acquireContext(Y,K.aspectRatio),M=H&&H.canvas,W=M&&M.height,R=M&&M.width;if(this.id=TR(),this.ctx=H,this.canvas=M,this.width=R,this.height=W,this._options=K,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Zz,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=hR((w)=>this.update(w),K.resizeDelay||0),this._dataChanges=[],z2[this.id]=this,!H||!M){console.error("Failed to create chart: can't acquire context from the given item");return}if(N8.listen(this,"complete",Vw),N8.listen(this,"progress",aj),this._initialize(),this.attached)this.update()}get aspectRatio(){let{options:{aspectRatio:Z,maintainAspectRatio:J},width:q,height:Y,_aspectRatio:U}=this;if(!a0(Z))return Z;if(J&&U)return U;return Y?q/Y:null}get data(){return this.config.data}set data(Z){this.config.data=Z}get options(){return this._options}set options(Z){this.config.options=Z}get registry(){return C$}_initialize(){if(this.notifyPlugins("beforeInit"),this.options.responsive)this.resize();else YN(this,this.options.devicePixelRatio);return this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return $N(this.canvas,this.ctx),this}stop(){return N8.stop(this),this}resize(Z,J){if(!N8.running(this))this._resize(Z,J);else this._resizeBeforeDraw={width:Z,height:J}}_resize(Z,J){let q=this.options,Y=this.canvas,U=q.maintainAspectRatio&&this.aspectRatio,K=this.platform.getMaximumSize(Y,Z,J,U),H=q.devicePixelRatio||this.platform.getDevicePixelRatio(),M=this.width?"resize":"attach";if(this.width=K.width,this.height=K.height,this._aspectRatio=this.aspectRatio,!YN(this,H,!0))return;if(this.notifyPlugins("resize",{size:K}),W1(q.onResize,[this,K],this),this.attached){if(M==="attach"||!this.chartArea)this.update(M);else if(this._doResize(M))this.render()}}ensureScalesHaveIDs(){let J=this.options.scales||{};q1(J,(q,Y)=>{q.id=Y})}buildOrUpdateScales(){let Z=this.options,J=Z.scales,q=this.scales,Y=Object.keys(q).reduce((K,H)=>{return K[H]=!1,K},{}),U=[];if(J)U=U.concat(Object.keys(J).map((K)=>{let H=J[K],M=AN(K,H),W=M==="r",R=M==="x";return{options:H,dposition:W?"chartArea":R?"bottom":"left",dtype:W?"radialLinear":R?"category":"linear"}}));q1(U,(K)=>{let H=K.options,M=H.id,W=AN(M,H),R=f0(H.type,K.dtype);if(H.position===void 0||ww(H.position,W)!==ww(K.dposition))H.position=K.dposition;Y[M]=!0;let w=null;if(M in q&&q[M].type===R)w=q[M];else w=new(C$.getScale(R))({id:M,type:R,ctx:this.ctx,chart:this}),q[w.id]=w;w.init(H,Z)}),q1(Y,(K,H)=>{if(!K)delete q[H]}),q1(q,(K)=>{P4.configure(this,K,K.options),P4.addBox(this,K)})}_updateMetasets(){let Z=this._metasets,J=this.data.datasets.length,q=Z.length;if(Z.sort((Y,U)=>Y.index-U.index),q>J){for(let Y=J;Y<q;++Y)this._destroyDatasetMeta(Y);Z.splice(J,q-J)}this._sortedMetasets=Z.slice(0).sort(zw("order","index"))}_removeUnreferencedMetasets(){let{_metasets:Z,data:{datasets:J}}=this;if(Z.length>J.length)delete this._stacks;Z.forEach((q,Y)=>{if(J.filter((U)=>U===q._dataset).length===0)this._destroyDatasetMeta(Y)})}buildOrUpdateControllers(){let Z=[],J=this.data.datasets,q,Y;this._removeUnreferencedMetasets();for(q=0,Y=J.length;q<Y;q++){let U=J[q],K=this.getDatasetMeta(q),H=U.type||this.config.type;if(K.type&&K.type!==H)this._destroyDatasetMeta(q),K=this.getDatasetMeta(q);if(K.type=H,K.indexAxis=U.indexAxis||DN(H,this.options),K.order=U.order||0,K.index=q,K.label=""+U.label,K.visible=this.isDatasetVisible(q),K.controller)K.controller.updateIndex(q),K.controller.linkScales();else{let M=C$.getController(H),{datasetElementType:W,dataElementType:R}=D1.datasets[H];Object.assign(M,{dataElementType:C$.getElement(R),datasetElementType:W&&C$.getElement(W)}),K.controller=new M(this,q),Z.push(K.controller)}}return this._updateMetasets(),Z}_resetElements(){q1(this.data.datasets,(Z,J)=>{this.getDatasetMeta(J).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(Z){let J=this.config;J.update();let q=this._options=J.createResolver(J.chartOptionScopes(),this.getContext()),Y=this._animationsDisabled=!q.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:Z,cancelable:!0})===!1)return;let U=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let K=0;for(let W=0,R=this.data.datasets.length;W<R;W++){let{controller:w}=this.getDatasetMeta(W),z=!Y&&U.indexOf(w)===-1;w.buildOrUpdateElements(z),K=Math.max(+w.getMaxOverflow(),K)}if(K=this._minPadding=q.layout.autoPadding?K:0,this._updateLayout(K),!Y)q1(U,(W)=>{W.reset()});this._updateDatasets(Z),this.notifyPlugins("afterUpdate",{mode:Z}),this._layers.sort(zw("z","_idx"));let{_active:H,_lastEvent:M}=this;if(M)this._eventHandler(M,!0);else if(H.length)this._updateHoverStyles(H,H,!0);this.render()}_updateScales(){q1(this.scales,(Z)=>{P4.removeBox(this,Z)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let Z=this.options,J=new Set(Object.keys(this._listeners)),q=new Set(Z.events);if(!iU(J,q)||!!this._responsiveListeners!==Z.responsive)this.unbindEvents(),this.bindEvents()}_updateHiddenIndices(){let{_hiddenIndices:Z}=this,J=this._getUniformDataChanges()||[];for(let{method:q,start:Y,count:U}of J){let K=q==="_removeElements"?-U:U;tj(Z,Y,K)}}_getUniformDataChanges(){let Z=this._dataChanges;if(!Z||!Z.length)return;this._dataChanges=[];let J=this.data.datasets.length,q=(U)=>new Set(Z.filter((K)=>K[0]===U).map((K,H)=>H+","+K.splice(1).join(","))),Y=q(0);for(let U=1;U<J;U++)if(!iU(Y,q(U)))return;return Array.from(Y).map((U)=>U.split(",")).map((U)=>({method:U[1],start:+U[2],count:+U[3]}))}_updateLayout(Z){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;P4.update(this,this.width,this.height,Z);let J=this.chartArea,q=J.width<=0||J.height<=0;this._layers=[],q1(this.boxes,(Y)=>{if(q&&Y.position==="chartArea")return;if(Y.configure)Y.configure();this._layers.push(...Y._layers())},this),this._layers.forEach((Y,U)=>{Y._idx=U}),this.notifyPlugins("afterLayout")}_updateDatasets(Z){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:Z,cancelable:!0})===!1)return;for(let J=0,q=this.data.datasets.length;J<q;++J)this.getDatasetMeta(J).controller.configure();for(let J=0,q=this.data.datasets.length;J<q;++J)this._updateDataset(J,G8(Z)?Z({datasetIndex:J}):Z);this.notifyPlugins("afterDatasetsUpdate",{mode:Z})}_updateDataset(Z,J){let q=this.getDatasetMeta(Z),Y={meta:q,index:Z,mode:J,cancelable:!0};if(this.notifyPlugins("beforeDatasetUpdate",Y)===!1)return;q.controller._update(J),Y.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",Y)}render(){if(this.notifyPlugins("beforeRender",{cancelable:!0})===!1)return;if(N8.has(this)){if(this.attached&&!N8.running(this))N8.start(this)}else this.draw(),Vw({chart:this})}draw(){let Z;if(this._resizeBeforeDraw){let{width:q,height:Y}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(q,Y)}if(this.clear(),this.width<=0||this.height<=0)return;if(this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;let J=this._layers;for(Z=0;Z<J.length&&J[Z].z<=0;++Z)J[Z].draw(this.chartArea);this._drawDatasets();for(;Z<J.length;++Z)J[Z].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(Z){let J=this._sortedMetasets,q=[],Y,U;for(Y=0,U=J.length;Y<U;++Y){let K=J[Y];if(!Z||K.visible)q.push(K)}return q}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;let Z=this.getSortedVisibleDatasetMetas();for(let J=Z.length-1;J>=0;--J)this._drawDataset(Z[J]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(Z){let J=this.ctx,q={meta:Z,index:Z.index,cancelable:!0},Y=RN(this,Z);if(this.notifyPlugins("beforeDatasetDraw",q)===!1)return;if(Y)pZ(J,Y);if(Z.controller.draw(),Y)cZ(J);q.cancelable=!1,this.notifyPlugins("afterDatasetDraw",q)}isPointInArea(Z){return V$(Z,this.chartArea,this._minPadding)}getElementsAtEventForMode(Z,J,q,Y){let U=Qj.modes[J];if(typeof U==="function")return U(this,Z,q,Y);return[]}getDatasetMeta(Z){let J=this.data.datasets[Z],q=this._metasets,Y=q.filter((U)=>U&&U._dataset===J).pop();if(!Y)Y={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:J&&J.order||0,index:Z,_dataset:J,_parsed:[],_sorted:!1},q.push(Y);return Y}getContext(){return this.$context||(this.$context=U8(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(Z){let J=this.data.datasets[Z];if(!J)return!1;let q=this.getDatasetMeta(Z);return typeof q.hidden==="boolean"?!q.hidden:!J.hidden}setDatasetVisibility(Z,J){let q=this.getDatasetMeta(Z);q.hidden=!J}toggleDataVisibility(Z){this._hiddenIndices[Z]=!this._hiddenIndices[Z]}getDataVisibility(Z){return!this._hiddenIndices[Z]}_updateVisibility(Z,J,q){let Y=q?"show":"hide",U=this.getDatasetMeta(Z),K=U.controller._resolveAnimations(void 0,Y);if(m9(J))U.data[J].hidden=!q,this.update();else this.setDatasetVisibility(Z,q),K.update(U,{visible:q}),this.update((H)=>H.datasetIndex===Z?Y:void 0)}hide(Z,J){this._updateVisibility(Z,J,!1)}show(Z,J){this._updateVisibility(Z,J,!0)}_destroyDatasetMeta(Z){let J=this._metasets[Z];if(J&&J.controller)J.controller._destroy();delete this._metasets[Z]}_stop(){let Z,J;this.stop(),N8.remove(this);for(Z=0,J=this.data.datasets.length;Z<J;++Z)this._destroyDatasetMeta(Z)}destroy(){this.notifyPlugins("beforeDestroy");let{canvas:Z,ctx:J}=this;if(this._stop(),this.config.clearCache(),Z)this.unbindEvents(),$N(Z,J),this.platform.releaseContext(J),this.canvas=null,this.ctx=null;delete z2[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...Z){return this.canvas.toDataURL(...Z)}bindEvents(){if(this.bindUserEvents(),this.options.responsive)this.bindResponsiveEvents();else this.attached=!0}bindUserEvents(){let Z=this._listeners,J=this.platform,q=(U,K)=>{J.addEventListener(this,U,K),Z[U]=K},Y=(U,K,H)=>{U.offsetX=K,U.offsetY=H,this._eventHandler(U)};q1(this.options.events,(U)=>q(U,Y))}bindResponsiveEvents(){if(!this._responsiveListeners)this._responsiveListeners={};let Z=this._responsiveListeners,J=this.platform,q=(M,W)=>{J.addEventListener(this,M,W),Z[M]=W},Y=(M,W)=>{if(Z[M])J.removeEventListener(this,M,W),delete Z[M]},U=(M,W)=>{if(this.canvas)this.resize(M,W)},K,H=()=>{Y("attach",H),this.attached=!0,this.resize(),q("resize",U),q("detach",K)};if(K=()=>{this.attached=!1,Y("resize",U),this._stop(),this._resize(0,0),q("attach",H)},J.isAttached(this.canvas))H();else K()}unbindEvents(){q1(this._listeners,(Z,J)=>{this.platform.removeEventListener(this,J,Z)}),this._listeners={},q1(this._responsiveListeners,(Z,J)=>{this.platform.removeEventListener(this,J,Z)}),this._responsiveListeners=void 0}updateHoverStyle(Z,J,q){let Y=q?"set":"remove",U,K,H,M;if(J==="dataset")U=this.getDatasetMeta(Z[0].datasetIndex),U.controller["_"+Y+"DatasetHoverStyle"]();for(H=0,M=Z.length;H<M;++H){K=Z[H];let W=K&&this.getDatasetMeta(K.datasetIndex).controller;if(W)W[Y+"HoverStyle"](K.element,K.datasetIndex,K.index)}}getActiveElements(){return this._active||[]}setActiveElements(Z){let J=this._active||[],q=Z.map(({datasetIndex:U,index:K})=>{let H=this.getDatasetMeta(U);if(!H)throw Error("No dataset found at index "+U);return{datasetIndex:U,element:H.data[K],index:K}}).filter(({element:U})=>U);if(!dZ(q,J))this._active=q,this._lastEvent=null,this._updateHoverStyles(q,J)}notifyPlugins(Z,J,q){return this._plugins.notify(this,Z,J,q)}isPluginEnabled(Z){return this._plugins._cache.filter((J)=>J.plugin.id===Z).length===1}_updateHoverStyles(Z,J,q){let Y=this.options.hover,U=(M,W)=>M.filter((R)=>!W.some((w)=>R.datasetIndex===w.datasetIndex&&R.index===w.index)),K=U(J,Z),H=q?Z:U(Z,J);if(K.length)this.updateHoverStyle(K,Y.mode,!1);if(H.length&&Y.mode)this.updateHoverStyle(H,Y.mode,!0)}_eventHandler(Z,J){let q={event:Z,replay:J,cancelable:!0,inChartArea:this.isPointInArea(Z)},Y=(K)=>(K.options.events||this.options.events).includes(Z.native.type);if(this.notifyPlugins("beforeEvent",q,Y)===!1)return;let U=this._handleEvent(Z,J,q.inChartArea);if(q.cancelable=!1,this.notifyPlugins("afterEvent",q,Y),U||q.changed)this.render();return this}_handleEvent(Z,J,q){let{_active:Y=[],options:U}=this,K=J,H=this._getActiveElements(Z,Y,q,K),M=zR(Z),W=ej(Z,this._lastEvent,q,M);if(q){if(this._lastEvent=null,W1(U.onHover,[Z,H,this],this),M)W1(U.onClick,[Z,H,this],this)}let R=!dZ(H,Y);if(R||J)this._active=H,this._updateHoverStyles(H,Y,J);return this._lastEvent=W,R}_getActiveElements(Z,J,q,Y){if(Z.type==="mouseout")return[];if(!q)return J;let U=this.options.hover;return this.getElementsAtEventForMode(Z,U.mode,U,Y)}}function _w(){return q1(I5.instances,(Z)=>Z._plugins.invalidate())}function Uz(Z,J,q=J){Z.lineCap=f0(q.borderCapStyle,J.borderCapStyle),Z.setLineDash(f0(q.borderDash,J.borderDash)),Z.lineDashOffset=f0(q.borderDashOffset,J.borderDashOffset),Z.lineJoin=f0(q.borderJoinStyle,J.borderJoinStyle),Z.lineWidth=f0(q.borderWidth,J.borderWidth),Z.strokeStyle=f0(q.borderColor,J.borderColor)}function $O(Z,J,q){Z.lineTo(q.x,q.y)}function QO(Z){if(Z.stepped)return ER;if(Z.tension||Z.cubicInterpolationMode==="monotone")return IR;return $O}function Nz(Z,J,q={}){let Y=Z.length,{start:U=0,end:K=Y-1}=q,{start:H,end:M}=J,W=Math.max(U,H),R=Math.min(K,M),w=U<H&&K<H||U>M&&K>M;return{count:Y,start:W,loop:J.loop,ilen:R<W&&!w?Y+R-W:R-W}}function ZO(Z,J,q,Y){let{points:U,options:K}=J,{count:H,start:M,loop:W,ilen:R}=Nz(U,q,Y),w=QO(K),{move:z=!0,reverse:L}=Y||{},P,I,A;for(P=0;P<=R;++P){if(I=U[(M+(L?R-P:P))%H],I.skip)continue;else if(z)Z.moveTo(I.x,I.y),z=!1;else w(Z,A,I,L,K.stepped);A=I}if(W)I=U[(M+(L?R:0))%H],w(Z,A,I,L,K.stepped);return!!W}function JO(Z,J,q,Y){let U=J.points,{count:K,start:H,ilen:M}=Nz(U,q,Y),{move:W=!0,reverse:R}=Y||{},w=0,z=0,L,P,I,A,E,g,m=(i)=>(H+(R?M-i:i))%K,o=()=>{if(A!==E)Z.lineTo(w,E),Z.lineTo(w,A),Z.lineTo(w,g)};if(W)P=U[m(0)],Z.moveTo(P.x,P.y);for(L=0;L<=M;++L){if(P=U[m(L)],P.skip)continue;let{x:i,y:l}=P,J0=i|0;if(J0===I){if(l<A)A=l;else if(l>E)E=l;w=(z*w+i)/++z}else o(),Z.lineTo(i,l),I=J0,z=0,A=E=l;g=l}o()}function SN(Z){let J=Z.options,q=J.borderDash&&J.borderDash.length;return!Z._decimated&&!Z._loop&&!J.tension&&J.cubicInterpolationMode!=="monotone"&&!J.stepped&&!q?JO:ZO}function GO(Z){if(Z.stepped)return dR;if(Z.tension||Z.cubicInterpolationMode==="monotone")return pR;return N6}function qO(Z,J,q,Y){let U=J._path;if(!U){if(U=J._path=new Path2D,J.path(U,q,Y))U.closePath()}Uz(Z,J.options),Z.stroke(U)}function XO(Z,J,q,Y){let{segments:U,options:K}=J,H=SN(J);for(let M of U){if(Uz(Z,K,M.style),Z.beginPath(),H(Z,J,M,{start:q,end:q+Y-1}))Z.closePath();Z.stroke()}}var YO=typeof Path2D==="function";function UO(Z,J,q,Y){if(YO&&!J.options.segment)qO(Z,J,q,Y);else XO(Z,J,q,Y)}class d5 extends B8{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:(Z)=>Z!=="borderDash"&&Z!=="fill"};constructor(Z){super();if(this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,Z)Object.assign(this,Z)}updateControlPoints(Z,J){let q=this.options;if((q.tension||q.cubicInterpolationMode==="monotone")&&!q.stepped&&!this._pointsUpdated){let Y=q.spanGaps?this._loop:this._fullLoop;yR(this._points,q,Z,Y,J),this._pointsUpdated=!0}}set points(Z){this._points=Z,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=nR(this,this.options.segment))}first(){let Z=this.segments,J=this.points;return Z.length&&J[Z[0].start]}last(){let Z=this.segments,J=this.points,q=Z.length;return q&&J[Z[q-1].end]}interpolate(Z,J){let q=this.options,Y=Z[J],U=this.points,K=TN(this,{property:J,start:Y,end:Y});if(!K.length)return;let H=[],M=GO(q),W,R;for(W=0,R=K.length;W<R;++W){let{start:w,end:z}=K[W],L=U[w],P=U[z];if(L===P){H.push(L);continue}let I=Math.abs((Y-L[J])/(P[J]-L[J])),A=M(L,P,I,q.stepped);A[J]=Z[J],H.push(A)}return H.length===1?H[0]:H}pathSegment(Z,J,q){return SN(this)(Z,this,J,q)}path(Z,J,q){let Y=this.segments,U=SN(this),K=this._loop;J=J||0,q=q||this.points.length-J;for(let H of Y)K&=U(Z,this,H,{start:J,end:J+q-1});return!!K}draw(Z,J,q,Y){let U=this.options||{};if((this.points||[]).length&&U.borderWidth)Z.save(),UO(Z,this,q,Y),Z.restore();if(this.animated)this._pointsUpdated=!1,this._path=void 0}}function Cw(Z,J,q,Y){let U=Z.options,{[q]:K}=Z.getProps([q],Y);return Math.abs(J-K)<U.radius+U.hitRadius}class x4 extends B8{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(Z){super();if(this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,Z)Object.assign(this,Z)}inRange(Z,J,q){let Y=this.options,{x:U,y:K}=this.getProps(["x","y"],q);return Math.pow(Z-U,2)+Math.pow(J-K,2)<Math.pow(Y.hitRadius+Y.radius,2)}inXRange(Z,J){return Cw(this,Z,"x",J)}inYRange(Z,J){return Cw(this,Z,"y",J)}getCenterPoint(Z){let{x:J,y:q}=this.getProps(["x","y"],Z);return{x:J,y:q}}size(Z){Z=Z||this.options||{};let J=Z.radius||0;J=Math.max(J,J&&Z.hoverRadius||0);let q=J&&Z.borderWidth||0;return(J+q)*2}draw(Z,J){let q=this.options;if(this.skip||q.radius<0.1||!V$(this,J,this.size(q)/2))return;Z.strokeStyle=q.borderColor,Z.lineWidth=q.borderWidth,Z.fillStyle=q.backgroundColor,Y2(Z,q,this.x,this.y)}getRange(){let Z=this.options||{};return Z.radius+Z.hitRadius}}function Kz(Z,J){let{x:q,y:Y,base:U,width:K,height:H}=Z.getProps(["x","y","base","width","height"],J),M,W,R,w,z;if(Z.horizontal)z=H/2,M=Math.min(q,U),W=Math.max(q,U),R=Y-z,w=Y+z;else z=K/2,M=q-z,W=q+z,R=Math.min(Y,U),w=Math.max(Y,U);return{left:M,top:R,right:W,bottom:w}}function T6(Z,J,q,Y){return Z?0:h5(J,q,Y)}function NO(Z,J,q){let Y=Z.options.borderWidth,U=Z.borderSkipped,K=HN(Y);return{t:T6(U.top,K.top,0,q),r:T6(U.right,K.right,0,J),b:T6(U.bottom,K.bottom,0,q),l:T6(U.left,K.left,0,J)}}function KO(Z,J,q){let{enableBorderRadius:Y}=Z.getProps(["enableBorderRadius"]),U=Z.options.borderRadius,K=F6(U),H=Math.min(J,q),M=Z.borderSkipped,W=Y||s0(U);return{topLeft:T6(!W||M.top||M.left,K.topLeft,0,H),topRight:T6(!W||M.top||M.right,K.topRight,0,H),bottomLeft:T6(!W||M.bottom||M.left,K.bottomLeft,0,H),bottomRight:T6(!W||M.bottom||M.right,K.bottomRight,0,H)}}function BO(Z){let J=Kz(Z),q=J.right-J.left,Y=J.bottom-J.top,U=NO(Z,q/2,Y/2),K=KO(Z,q/2,Y/2);return{outer:{x:J.left,y:J.top,w:q,h:Y,radius:K},inner:{x:J.left+U.l,y:J.top+U.t,w:q-U.l-U.r,h:Y-U.t-U.b,radius:{topLeft:Math.max(0,K.topLeft-Math.max(U.t,U.l)),topRight:Math.max(0,K.topRight-Math.max(U.t,U.r)),bottomLeft:Math.max(0,K.bottomLeft-Math.max(U.b,U.l)),bottomRight:Math.max(0,K.bottomRight-Math.max(U.b,U.r))}}}}function EN(Z,J,q,Y){let U=J===null,K=q===null,M=Z&&!(U&&K)&&Kz(Z,Y);return M&&(U||Y8(J,M.left,M.right))&&(K||Y8(q,M.top,M.bottom))}function HO(Z){return Z.topLeft||Z.topRight||Z.bottomLeft||Z.bottomRight}function MO(Z,J){Z.rect(J.x,J.y,J.w,J.h)}function IN(Z,J,q={}){let Y=Z.x!==q.x?-J:0,U=Z.y!==q.y?-J:0,K=(Z.x+Z.w!==q.x+q.w?J:0)-Y,H=(Z.y+Z.h!==q.y+q.h?J:0)-U;return{x:Z.x+Y,y:Z.y+U,w:Z.w+K,h:Z.h+H,radius:Z.radius}}class YJ extends B8{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(Z){super();if(this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,Z)Object.assign(this,Z)}draw(Z){let{inflateAmount:J,options:{borderColor:q,backgroundColor:Y}}=this,{inner:U,outer:K}=BO(this),H=HO(K.radius)?c9:MO;if(Z.save(),K.w!==U.w||K.h!==U.h)Z.beginPath(),H(Z,IN(K,J,U)),Z.clip(),H(Z,IN(U,-J,K)),Z.fillStyle=q,Z.fill("evenodd");Z.beginPath(),H(Z,IN(U,J)),Z.fillStyle=Y,Z.fill(),Z.restore()}inRange(Z,J,q){return EN(this,Z,J,q)}inXRange(Z,J){return EN(this,Z,null,J)}inYRange(Z,J){return EN(this,null,Z,J)}getCenterPoint(Z){let{x:J,y:q,base:Y,horizontal:U}=this.getProps(["x","y","base","horizontal"],Z);return{x:U?(J+Y)/2:J,y:U?q:(q+Y)/2}}getRange(Z){return Z==="x"?this.width/2:this.height/2}}function WO(Z,J,q){let{segments:Y,points:U}=Z,K=J.points,H=[];for(let M of Y){let{start:W,end:R}=M;R=_2(W,R,U);let w=vN(q,U[W],U[R],M.loop);if(!J.segments){H.push({source:M,target:w,start:U[W],end:U[R]});continue}let z=TN(J,w);for(let L of z){let P=vN(q,K[L.start],K[L.end],L.loop),I=FN(M,U,P);for(let A of I)H.push({source:A,target:L,start:{[q]:Pw(w,P,"start",Math.max)},end:{[q]:Pw(w,P,"end",Math.min)}})}}return H}function vN(Z,J,q,Y){if(Y)return;let U=J[Z],K=q[Z];if(Z==="angle")U=y5(U),K=y5(K);return{property:Z,start:U,end:K}}function FO(Z,J){let{x:q=null,y:Y=null}=Z||{},U=J.points,K=[];return J.segments.forEach(({start:H,end:M})=>{M=_2(H,M,U);let W=U[H],R=U[M];if(Y!==null)K.push({x:W.x,y:Y}),K.push({x:R.x,y:Y});else if(q!==null)K.push({x:q,y:W.y}),K.push({x:q,y:R.y})}),K}function _2(Z,J,q){for(;J>Z;J--){let Y=q[J];if(!isNaN(Y.x)&&!isNaN(Y.y))break}return J}function Pw(Z,J,q,Y){if(Z&&J)return Y(Z[q],J[q]);return Z?Z[q]:J?J[q]:0}function Bz(Z,J){let q=[],Y=!1;if(z1(Z))Y=!0,q=Z;else q=FO(Z,J);return q.length?new d5({points:q,options:{tension:0},_loop:Y,_fullLoop:Y}):null}function Ew(Z){return Z&&Z.fill!==!1}function TO(Z,J,q){let U=Z[J].fill,K=[J],H;if(!q)return U;while(U!==!1&&K.indexOf(U)===-1){if(!O1(U))return U;if(H=Z[U],!H)return!1;if(H.visible)return U;K.push(U),U=H.fill}return!1}function RO(Z,J,q){let Y=LO(Z);if(s0(Y))return isNaN(Y.value)?!1:Y;let U=parseFloat(Y);if(O1(U)&&Math.floor(U)===U)return wO(Y[0],J,U,q);return["origin","start","end","stack","shape"].indexOf(Y)>=0&&Y}function wO(Z,J,q,Y){if(Z==="-"||Z==="+")q=J+q;if(q===J||q<0||q>=Y)return!1;return q}function zO(Z,J){let q=null;if(Z==="start")q=J.bottom;else if(Z==="end")q=J.top;else if(s0(Z))q=J.getPixelForValue(Z.value);else if(J.getBasePixel)q=J.getBasePixel();return q}function VO(Z,J,q){let Y;if(Z==="start")Y=q;else if(Z==="end")Y=J.options.reverse?J.min:J.max;else if(s0(Z))Y=Z.value;else Y=J.getBaseValue();return Y}function LO(Z){let J=Z.options,q=J.fill,Y=f0(q&&q.target,q);if(Y===void 0)Y=!!J.backgroundColor;if(Y===!1||Y===null)return!1;if(Y===!0)return"origin";return Y}function _O(Z){let{scale:J,index:q,line:Y}=Z,U=[],K=Y.segments,H=Y.points,M=CO(J,q);M.push(Bz({x:null,y:J.bottom},Y));for(let W=0;W<K.length;W++){let R=K[W];for(let w=R.start;w<=R.end;w++)PO(U,H[w],M)}return new d5({points:U,options:{}})}function CO(Z,J){let q=[],Y=Z.getMatchingVisibleMetas("line");for(let U=0;U<Y.length;U++){let K=Y[U];if(K.index===J)break;if(!K.hidden)q.unshift(K.dataset)}return q}function PO(Z,J,q){let Y=[];for(let U=0;U<q.length;U++){let K=q[U],{first:H,last:M,point:W}=EO(K,J,"x");if(!W||H&&M)continue;if(H)Y.unshift(W);else if(Z.push(W),!M)break}Z.push(...Y)}function EO(Z,J,q){let Y=Z.interpolate(J,q);if(!Y)return{};let U=Y[q],K=Z.segments,H=Z.points,M=!1,W=!1;for(let R=0;R<K.length;R++){let w=K[R],z=H[w.start][q],L=H[w.end][q];if(Y8(U,z,L)){M=U===z,W=U===L;break}}return{first:M,last:W,point:Y}}class dN{constructor(Z){this.x=Z.x,this.y=Z.y,this.radius=Z.radius}pathSegment(Z,J,q){let{x:Y,y:U,radius:K}=this;return J=J||{start:0,end:g5},Z.arc(Y,U,K,J.end,J.start,!0),!q.bounds}interpolate(Z){let{x:J,y:q,radius:Y}=this,U=Z.angle;return{x:J+Math.cos(U)*Y,y:q+Math.sin(U)*Y,angle:U}}}function IO(Z){let{chart:J,fill:q,line:Y}=Z;if(O1(q))return jO(J,q);if(q==="stack")return _O(Z);if(q==="shape")return!0;let U=OO(Z);if(U instanceof dN)return U;return Bz(U,Y)}function jO(Z,J){let q=Z.getDatasetMeta(J);return q&&Z.isDatasetVisible(J)?q.dataset:null}function OO(Z){if((Z.scale||{}).getPointPositionForValue)return AO(Z);return DO(Z)}function DO(Z){let{scale:J={},fill:q}=Z,Y=zO(q,J);if(O1(Y)){let U=J.isHorizontal();return{x:U?Y:null,y:U?null:Y}}return null}function AO(Z){let{scale:J,fill:q}=Z,Y=J.options,U=J.getLabels().length,K=Y.reverse?J.max:J.min,H=VO(q,J,K),M=[];if(Y.grid.circular){let W=J.getPointPositionForValue(0,K);return new dN({x:W.x,y:W.y,radius:J.getDistanceFromCenterForValue(H)})}for(let W=0;W<U;++W)M.push(J.getPointPositionForValue(W,H));return M}function jN(Z,J,q){let Y=IO(J),{chart:U,index:K,line:H,scale:M,axis:W}=J,R=H.options,w=R.fill,z=R.backgroundColor,{above:L=z,below:P=z}=w||{},I=U.getDatasetMeta(K),A=RN(U,I);if(Y&&H.points.length)pZ(Z,SO(q,I.iScale)),vO(Z,{line:H,target:Y,above:L,below:P,area:q,scale:M,axis:W,clip:A}),cZ(Z)}function SO(Z,J){if(!J||J.getPointPositionForValue)return Z;let q=J.getPixelForValue(J.min),Y=J.getPixelForValue(J.max),U=Math.min(q,Y),K=Math.max(q,Y);return J.isHorizontal()?{...Z,left:Math.max(Z.left,U),right:Math.min(Z.right,K)}:{...Z,top:Math.max(Z.top,U),bottom:Math.min(Z.bottom,K)}}function vO(Z,J){let{line:q,target:Y,above:U,below:K,area:H,scale:M,clip:W}=J,R=q._loop?"angle":J.axis;Z.save();let w=K;if(K!==U){if(R==="x")Iw(Z,Y,H.top),ON(Z,{line:q,target:Y,color:U,scale:M,property:R,clip:W}),Z.restore(),Z.save(),Iw(Z,Y,H.bottom);else if(R==="y")jw(Z,Y,H.left),ON(Z,{line:q,target:Y,color:K,scale:M,property:R,clip:W}),Z.restore(),Z.save(),jw(Z,Y,H.right),w=U}ON(Z,{line:q,target:Y,color:w,scale:M,property:R,clip:W}),Z.restore()}function Iw(Z,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Z.beginPath();for(let M of Y){let{start:W,end:R}=M,w=U[W],z=U[_2(W,R,U)];if(K)Z.moveTo(w.x,w.y),K=!1;else Z.lineTo(w.x,q),Z.lineTo(w.x,w.y);if(H=!!J.pathSegment(Z,M,{move:H}),H)Z.closePath();else Z.lineTo(z.x,q)}Z.lineTo(J.first().x,q),Z.closePath(),Z.clip()}function jw(Z,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Z.beginPath();for(let M of Y){let{start:W,end:R}=M,w=U[W],z=U[_2(W,R,U)];if(K)Z.moveTo(w.x,w.y),K=!1;else Z.lineTo(q,w.y),Z.lineTo(w.x,w.y);if(H=!!J.pathSegment(Z,M,{move:H}),H)Z.closePath();else Z.lineTo(q,z.y)}Z.lineTo(q,J.first().y),Z.closePath(),Z.clip()}function ON(Z,J){let{line:q,target:Y,property:U,color:K,scale:H,clip:M}=J,W=WO(q,Y,U);for(let{source:R,target:w,start:z,end:L}of W){let{style:{backgroundColor:P=K}={}}=R,I=Y!==!0;Z.save(),Z.fillStyle=P,kO(Z,H,M,I&&vN(U,z,L)),Z.beginPath();let A=!!q.pathSegment(Z,R),E;if(I){if(A)Z.closePath();else Ow(Z,Y,L,U);let g=!!Y.pathSegment(Z,w,{move:A,reverse:!0});if(E=A&&g,!E)Ow(Z,Y,z,U)}Z.closePath(),Z.fill(E?"evenodd":"nonzero"),Z.restore()}}function kO(Z,J,q,Y){let U=J.chart.chartArea,{property:K,start:H,end:M}=Y||{};if(K==="x"||K==="y"){let W,R,w,z;if(K==="x")W=H,R=U.top,w=M,z=U.bottom;else W=U.left,R=H,w=U.right,z=M;if(Z.beginPath(),q)W=Math.max(W,q.left),w=Math.min(w,q.right),R=Math.max(R,q.top),z=Math.min(z,q.bottom);Z.rect(W,R,w-W,z-R),Z.clip()}}function Ow(Z,J,q,Y){let U=J.interpolate(q,Y);if(U)Z.lineTo(U.x,U.y)}var l9={id:"filler",afterDatasetsUpdate(Z,J,q){let Y=(Z.data.datasets||[]).length,U=[],K,H,M,W;for(H=0;H<Y;++H){if(K=Z.getDatasetMeta(H),M=K.dataset,W=null,M&&M.options&&M instanceof d5)W={visible:Z.isDatasetVisible(H),index:H,fill:RO(M,H,Y),chart:Z,axis:K.controller.options.indexAxis,scale:K.vScale,line:M};K.$filler=W,U.push(W)}for(H=0;H<Y;++H){if(W=U[H],!W||W.fill===!1)continue;W.fill=TO(U,H,q.propagate)}},beforeDraw(Z,J,q){let Y=q.drawTime==="beforeDraw",U=Z.getSortedVisibleDatasetMetas(),K=Z.chartArea;for(let H=U.length-1;H>=0;--H){let M=U[H].$filler;if(!M)continue;if(M.line.updateControlPoints(K,M.axis),Y&&M.fill)jN(Z.ctx,M,K)}},beforeDatasetsDraw(Z,J,q){if(q.drawTime!=="beforeDatasetsDraw")return;let Y=Z.getSortedVisibleDatasetMetas();for(let U=Y.length-1;U>=0;--U){let K=Y[U].$filler;if(Ew(K))jN(Z.ctx,K,Z.chartArea)}},beforeDatasetDraw(Z,J,q){let Y=J.meta.$filler;if(!Ew(Y)||q.drawTime!=="beforeDatasetDraw")return;jN(Z.ctx,Y,Z.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},Dw=(Z,J)=>{let{boxHeight:q=J,boxWidth:Y=J}=Z;if(Z.usePointStyle)q=Math.min(q,J),Y=Z.pointStyleWidth||Math.min(Y,J);return{boxWidth:Y,boxHeight:q,itemHeight:Math.max(J,q)}},bO=(Z,J)=>Z!==null&&J!==null&&Z.datasetIndex===J.datasetIndex&&Z.index===J.index;class kN extends B8{constructor(Z){super();this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=Z.chart,this.options=Z.options,this.ctx=Z.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(Z,J,q){this.maxWidth=Z,this.maxHeight=J,this._margins=q,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){if(this.isHorizontal())this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width;else this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height}buildLabels(){let Z=this.options.labels||{},J=W1(Z.generateLabels,[this.chart],this)||[];if(Z.filter)J=J.filter((q)=>Z.filter(q,this.chart.data));if(Z.sort)J=J.sort((q,Y)=>Z.sort(q,Y,this.chart.data));if(this.options.reverse)J.reverse();this.legendItems=J}fit(){let{options:Z,ctx:J}=this;if(!Z.display){this.width=this.height=0;return}let q=Z.labels,Y=p1(q.font),U=Y.size,K=this._computeTitleHeight(),{boxWidth:H,itemHeight:M}=Dw(q,U),W,R;if(J.font=Y.string,this.isHorizontal())W=this.maxWidth,R=this._fitRows(K,U,H,M)+10;else R=this.maxHeight,W=this._fitCols(K,Y,H,M)+10;this.width=Math.min(W,Z.maxWidth||this.maxWidth),this.height=Math.min(R,Z.maxHeight||this.maxHeight)}_fitRows(Z,J,q,Y){let{ctx:U,maxWidth:K,options:{labels:{padding:H}}}=this,M=this.legendHitBoxes=[],W=this.lineWidths=[0],R=Y+H,w=Z;U.textAlign="left",U.textBaseline="middle";let z=-1,L=-R;return this.legendItems.forEach((P,I)=>{let A=q+J/2+U.measureText(P.text).width;if(I===0||W[W.length-1]+A+2*H>K)w+=R,W[W.length-(I>0?0:1)]=0,L+=R,z++;M[I]={left:0,top:L,row:z,width:A,height:Y},W[W.length-1]+=A+H}),w}_fitCols(Z,J,q,Y){let{ctx:U,maxHeight:K,options:{labels:{padding:H}}}=this,M=this.legendHitBoxes=[],W=this.columnSizes=[],R=K-Z,w=H,z=0,L=0,P=0,I=0;return this.legendItems.forEach((A,E)=>{let{itemWidth:g,itemHeight:m}=yO(q,J,U,A,Y);if(E>0&&L+m+2*H>R)w+=z+H,W.push({width:z,height:L}),P+=z+H,I++,z=L=0;M[E]={left:P,top:L,col:I,width:g,height:m},z=Math.max(z,g),L+=m+H}),w+=z,W.push({width:z,height:L}),w}adjustHitBoxes(){if(!this.options.display)return;let Z=this._computeTitleHeight(),{legendHitBoxes:J,options:{align:q,labels:{padding:Y},rtl:U}}=this,K=R7(U,this.left,this.width);if(this.isHorizontal()){let H=0,M=X5(q,this.left+Y,this.right-this.lineWidths[H]);for(let W of J){if(H!==W.row)H=W.row,M=X5(q,this.left+Y,this.right-this.lineWidths[H]);W.top+=this.top+Z+Y,W.left=K.leftForLtr(K.x(M),W.width),M+=W.width+Y}}else{let H=0,M=X5(q,this.top+Z+Y,this.bottom-this.columnSizes[H].height);for(let W of J){if(W.col!==H)H=W.col,M=X5(q,this.top+Z+Y,this.bottom-this.columnSizes[H].height);W.top=M,W.left+=this.left+Y,W.left=K.leftForLtr(K.x(W.left),W.width),M+=W.height+Y}}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let Z=this.ctx;pZ(Z,this),this._draw(),cZ(Z)}}_draw(){let{options:Z,columnSizes:J,lineWidths:q,ctx:Y}=this,{align:U,labels:K}=Z,H=D1.color,M=R7(Z.rtl,this.left,this.width),W=p1(K.font),{padding:R}=K,w=W.size,z=w/2,L;this.drawTitle(),Y.textAlign=M.textAlign("left"),Y.textBaseline="middle",Y.lineWidth=0.5,Y.font=W.string;let{boxWidth:P,boxHeight:I,itemHeight:A}=Dw(K,w),E=function(l,J0,p){if(isNaN(P)||P<=0||isNaN(I)||I<0)return;Y.save();let a=f0(p.lineWidth,1);if(Y.fillStyle=f0(p.fillStyle,H),Y.lineCap=f0(p.lineCap,"butt"),Y.lineDashOffset=f0(p.lineDashOffset,0),Y.lineJoin=f0(p.lineJoin,"miter"),Y.lineWidth=a,Y.strokeStyle=f0(p.strokeStyle,H),Y.setLineDash(f0(p.lineDash,[])),K.usePointStyle){let U0={radius:I*Math.SQRT2/2,pointStyle:p.pointStyle,rotation:p.rotation,borderWidth:a},d=M.xPlus(l,P/2),K0=J0+z;QN(Y,U0,d,K0,K.pointStyleWidth&&P)}else{let U0=J0+Math.max((w-I)/2,0),d=M.leftForLtr(l,P),K0=F6(p.borderRadius);if(Y.beginPath(),Object.values(K0).some((B0)=>B0!==0))c9(Y,{x:d,y:U0,w:P,h:I,radius:K0});else Y.rect(d,U0,P,I);if(Y.fill(),a!==0)Y.stroke()}Y.restore()},g=function(l,J0,p){H6(Y,p.text,l,J0+A/2,W,{strikethrough:p.hidden,textAlign:M.textAlign(p.textAlign)})},m=this.isHorizontal(),o=this._computeTitleHeight();if(m)L={x:X5(U,this.left+R,this.right-q[0]),y:this.top+R+o,line:0};else L={x:this.left+R,y:X5(U,this.top+o+R,this.bottom-J[0].height),line:0};MN(this.ctx,Z.textDirection);let i=A+R;this.legendItems.forEach((l,J0)=>{Y.strokeStyle=l.fontColor,Y.fillStyle=l.fontColor;let p=Y.measureText(l.text).width,a=M.textAlign(l.textAlign||(l.textAlign=K.textAlign)),U0=P+z+p,d=L.x,K0=L.y;if(M.setWidth(this.width),m){if(J0>0&&d+U0+R>this.right)K0=L.y+=i,L.line++,d=L.x=X5(U,this.left+R,this.right-q[L.line])}else if(J0>0&&K0+i>this.bottom)d=L.x=d+J[L.line].width+R,L.line++,K0=L.y=X5(U,this.top+o+R,this.bottom-J[L.line].height);let B0=M.x(d);if(E(B0,K0,l),d=xR(a,d+P+z,m?d+U0:this.right,Z.rtl),g(M.x(d),K0,l),m)L.x+=U0+R;else if(typeof l.text!=="string"){let z0=W.lineHeight;L.y+=Hz(l,z0)+R}else L.y+=i}),WN(this.ctx,Z.textDirection)}drawTitle(){let Z=this.options,J=Z.title,q=p1(J.font),Y=Y5(J.padding);if(!J.display)return;let U=R7(Z.rtl,this.left,this.width),K=this.ctx,H=J.position,M=q.size/2,W=Y.top+M,R,w=this.left,z=this.width;if(this.isHorizontal())z=Math.max(...this.lineWidths),R=this.top+W,w=X5(Z.align,w,this.right-z);else{let P=this.columnSizes.reduce((I,A)=>Math.max(I,A.height),0);R=W+X5(Z.align,this.top,this.bottom-P-Z.labels.padding-this._computeTitleHeight())}let L=X5(H,w,w+z);K.textAlign=U.textAlign(B2(H)),K.textBaseline="middle",K.strokeStyle=J.color,K.fillStyle=J.color,K.font=q.string,H6(K,J.text,L,R,q)}_computeTitleHeight(){let Z=this.options.title,J=p1(Z.font),q=Y5(Z.padding);return Z.display?J.lineHeight+q.height:0}_getLegendItemAt(Z,J){let q,Y,U;if(Y8(Z,this.left,this.right)&&Y8(J,this.top,this.bottom)){U=this.legendHitBoxes;for(q=0;q<U.length;++q)if(Y=U[q],Y8(Z,Y.left,Y.left+Y.width)&&Y8(J,Y.top,Y.top+Y.height))return this.legendItems[q]}return null}handleEvent(Z){let J=this.options;if(!hO(Z.type,J))return;let q=Z.type==="mouseout"?null:this._getLegendItemAt(Z.x,Z.y);if(Z.type==="mousemove"||Z.type==="mouseout"){let Y=this._hoveredItem,U=bO(Y,q);if(Y&&!U)W1(J.onLeave,[Z,Y,this],this);if(this._hoveredItem=q,q&&!U)W1(J.onHover,[Z,q,this],this)}else if(q)W1(J.onClick,[Z,q,this],this)}}function yO(Z,J,q,Y,U){let K=fO(Y,Z,J,q),H=gO(U,Y,J.lineHeight);return{itemWidth:K,itemHeight:H}}function fO(Z,J,q,Y){let U=Z.text,K=U&&typeof U!=="string"?U.reduce((H,M)=>Math.max(H,Y.measureText(M).width),0):Y.measureText(U).width;return J+q.size/2+K}function gO(Z,J,q){let Y=Z;if(typeof J.text!=="string")Y=Hz(J,q);return Y}function Hz(Z,J){let q=Z.text?Z.text.length:0;return J*q}function hO(Z,J){if((Z==="mousemove"||Z==="mouseout")&&(J.onHover||J.onLeave))return!0;if(J.onClick&&(Z==="click"||Z==="mouseup"))return!0;return!1}var P$={id:"legend",_element:kN,start(Z,J,q){let Y=Z.legend=new kN({ctx:Z.ctx,options:q,chart:Z});P4.configure(Z,Y,q),P4.addBox(Z,Y)},stop(Z){P4.removeBox(Z,Z.legend),delete Z.legend},beforeUpdate(Z,J,q){let Y=Z.legend;P4.configure(Z,Y,q),Y.options=q},afterUpdate(Z){let J=Z.legend;J.buildLabels(),J.adjustHitBoxes()},afterEvent(Z,J){if(!J.replay)Z.legend.handleEvent(J.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1000,onClick(Z,J,q){let Y=J.datasetIndex,U=q.chart;if(U.isDatasetVisible(Y))U.hide(Y),J.hidden=!0;else U.show(Y),J.hidden=!1},onHover:null,onLeave:null,labels:{color:(Z)=>Z.chart.options.color,boxWidth:40,padding:10,generateLabels(Z){let J=Z.data.datasets,{labels:{usePointStyle:q,pointStyle:Y,textAlign:U,color:K,useBorderRadius:H,borderRadius:M}}=Z.legend.options;return Z._getSortedDatasetMetas().map((W)=>{let R=W.controller.getStyle(q?0:void 0),w=Y5(R.borderWidth),z=Y||R.pointStyle,L=q&&z==="line"?W.controller.getStyle(void 0):R;return{text:J[W.index].label,fillStyle:R.backgroundColor,fontColor:K,hidden:!W.visible,lineCap:R.borderCapStyle,lineDash:L.borderDash,lineDashOffset:L.borderDashOffset,lineJoin:R.borderJoinStyle,lineWidth:(w.width+w.height)/4,strokeStyle:R.borderColor,pointStyle:z,rotation:R.rotation,textAlign:U||R.textAlign,borderRadius:H&&(M||R.borderRadius),datasetIndex:W.index}},this)}},title:{color:(Z)=>Z.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:(Z)=>!Z.startsWith("on"),labels:{_scriptable:(Z)=>!["generateLabels","filter","sort"].includes(Z)}}};class pN extends B8{constructor(Z){super();this.chart=Z.chart,this.options=Z.options,this.ctx=Z.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(Z,J){let q=this.options;if(this.left=0,this.top=0,!q.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=Z,this.height=this.bottom=J;let Y=z1(q.text)?q.text.length:1;this._padding=Y5(q.padding);let U=Y*p1(q.font).lineHeight+this._padding.height;if(this.isHorizontal())this.height=U;else this.width=U}isHorizontal(){let Z=this.options.position;return Z==="top"||Z==="bottom"}_drawArgs(Z){let{top:J,left:q,bottom:Y,right:U,options:K}=this,H=K.align,M=0,W,R,w;if(this.isHorizontal())R=X5(H,q,U),w=J+Z,W=U-q;else{if(K.position==="left")R=q+Z,w=X5(H,Y,J),M=b1*-0.5;else R=U-Z,w=X5(H,J,Y),M=b1*0.5;W=Y-J}return{titleX:R,titleY:w,maxWidth:W,rotation:M}}draw(){let Z=this.ctx,J=this.options;if(!J.display)return;let q=p1(J.font),U=q.lineHeight/2+this._padding.top,{titleX:K,titleY:H,maxWidth:M,rotation:W}=this._drawArgs(U);H6(Z,J.text,0,0,q,{color:J.color,maxWidth:M,rotation:W,textAlign:B2(J.align),textBaseline:"middle",translation:[K,H]})}}function xO(Z,J){let q=new pN({ctx:Z.ctx,options:J,chart:Z});P4.configure(Z,q,J),P4.addBox(Z,q),Z.titleBlock=q}var E$={id:"title",_element:pN,start(Z,J,q){xO(Z,q)},stop(Z){let J=Z.titleBlock;P4.removeBox(Z,J),delete Z.titleBlock},beforeUpdate(Z,J,q){let Y=Z.titleBlock;P4.configure(Z,Y,q),Y.options=q},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2000},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};var ZJ={average(Z){if(!Z.length)return!1;let J,q,Y=new Set,U=0,K=0;for(J=0,q=Z.length;J<q;++J){let M=Z[J].element;if(M&&M.hasValue()){let W=M.tooltipPosition();Y.add(W.x),U+=W.y,++K}}if(K===0||Y.size===0)return!1;return{x:[...Y].reduce((M,W)=>M+W)/Y.size,y:U/K}},nearest(Z,J){if(!Z.length)return!1;let{x:q,y:Y}=J,U=Number.POSITIVE_INFINITY,K,H,M;for(K=0,H=Z.length;K<H;++K){let W=Z[K].element;if(W&&W.hasValue()){let R=W.getCenterPoint(),w=Z2(J,R);if(w<U)U=w,M=W}}if(M){let W=M.tooltipPosition();q=W.x,Y=W.y}return{x:q,y:Y}}};function _$(Z,J){if(J)if(z1(J))Array.prototype.push.apply(Z,J);else Z.push(J);return Z}function K8(Z){if((typeof Z==="string"||Z instanceof String)&&Z.indexOf(`
|
|
256
|
+
`)>-1)return Z.split(`
|
|
257
|
+
`);return Z}function uO(Z,J){let{element:q,datasetIndex:Y,index:U}=J,K=Z.getDatasetMeta(Y).controller,{label:H,value:M}=K.getLabelAndValue(U);return{chart:Z,label:H,parsed:K.getParsed(U),raw:Z.data.datasets[Y].data[U],formattedValue:M,dataset:K.getDataset(),dataIndex:U,datasetIndex:Y,element:q}}function Aw(Z,J){let q=Z.chart.ctx,{body:Y,footer:U,title:K}=Z,{boxWidth:H,boxHeight:M}=J,W=p1(J.bodyFont),R=p1(J.titleFont),w=p1(J.footerFont),z=K.length,L=U.length,P=Y.length,I=Y5(J.padding),A=I.height,E=0,g=Y.reduce((i,l)=>i+l.before.length+l.lines.length+l.after.length,0);if(g+=Z.beforeBody.length+Z.afterBody.length,z)A+=z*R.lineHeight+(z-1)*J.titleSpacing+J.titleMarginBottom;if(g){let i=J.displayColors?Math.max(M,W.lineHeight):W.lineHeight;A+=P*i+(g-P)*W.lineHeight+(g-1)*J.bodySpacing}if(L)A+=J.footerMarginTop+L*w.lineHeight+(L-1)*J.footerSpacing;let m=0,o=function(i){E=Math.max(E,q.measureText(i).width+m)};return q.save(),q.font=R.string,q1(Z.title,o),q.font=W.string,q1(Z.beforeBody.concat(Z.afterBody),o),m=J.displayColors?H+2+J.boxPadding:0,q1(Y,(i)=>{q1(i.before,o),q1(i.lines,o),q1(i.after,o)}),m=0,q.font=w.string,q1(Z.footer,o),q.restore(),E+=I.width,{width:E,height:A}}function mO(Z,J){let{y:q,height:Y}=J;if(q<Y/2)return"top";else if(q>Z.height-Y/2)return"bottom";return"center"}function dO(Z,J,q,Y){let{x:U,width:K}=Y,H=q.caretSize+q.caretPadding;if(Z==="left"&&U+K+H>J.width)return!0;if(Z==="right"&&U-K-H<0)return!0}function pO(Z,J,q,Y){let{x:U,width:K}=q,{width:H,chartArea:{left:M,right:W}}=Z,R="center";if(Y==="center")R=U<=(M+W)/2?"left":"right";else if(U<=K/2)R="left";else if(U>=H-K/2)R="right";if(dO(R,Z,J,q))R="center";return R}function Sw(Z,J,q){let Y=q.yAlign||J.yAlign||mO(Z,q);return{xAlign:q.xAlign||J.xAlign||pO(Z,J,q,Y),yAlign:Y}}function cO(Z,J){let{x:q,width:Y}=Z;if(J==="right")q-=Y;else if(J==="center")q-=Y/2;return q}function lO(Z,J,q){let{y:Y,height:U}=Z;if(J==="top")Y+=q;else if(J==="bottom")Y-=U+q;else Y-=U/2;return Y}function vw(Z,J,q,Y){let{caretSize:U,caretPadding:K,cornerRadius:H}=Z,{xAlign:M,yAlign:W}=q,R=U+K,{topLeft:w,topRight:z,bottomLeft:L,bottomRight:P}=F6(H),I=cO(J,M),A=lO(J,W,R);if(W==="center"){if(M==="left")I+=R;else if(M==="right")I-=R}else if(M==="left")I-=Math.max(w,L)+U;else if(M==="right")I+=Math.max(z,P)+U;return{x:h5(I,0,Y.width-J.width),y:h5(A,0,Y.height-J.height)}}function T2(Z,J,q){let Y=Y5(q.padding);return J==="center"?Z.x+Z.width/2:J==="right"?Z.x+Z.width-Y.right:Z.x+Y.left}function kw(Z){return _$([],K8(Z))}function rO(Z,J,q){return U8(Z,{tooltip:J,tooltipItems:q,type:"tooltip"})}function bw(Z,J){let q=J&&J.dataset&&J.dataset.tooltip&&J.dataset.tooltip.callbacks;return q?Z.override(q):Z}var Mz={beforeTitle:L$,title(Z){if(Z.length>0){let J=Z[0],q=J.chart.data.labels,Y=q?q.length:0;if(this&&this.options&&this.options.mode==="dataset")return J.dataset.label||"";else if(J.label)return J.label;else if(Y>0&&J.dataIndex<Y)return q[J.dataIndex]}return""},afterTitle:L$,beforeBody:L$,beforeLabel:L$,label(Z){if(this&&this.options&&this.options.mode==="dataset")return Z.label+": "+Z.formattedValue||Z.formattedValue;let J=Z.dataset.label||"";if(J)J+=": ";let q=Z.formattedValue;if(!a0(q))J+=q;return J},labelColor(Z){let q=Z.chart.getDatasetMeta(Z.datasetIndex).controller.getStyle(Z.dataIndex);return{borderColor:q.borderColor,backgroundColor:q.backgroundColor,borderWidth:q.borderWidth,borderDash:q.borderDash,borderDashOffset:q.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(Z){let q=Z.chart.getDatasetMeta(Z.datasetIndex).controller.getStyle(Z.dataIndex);return{pointStyle:q.pointStyle,rotation:q.rotation}},afterLabel:L$,afterBody:L$,beforeFooter:L$,footer:L$,afterFooter:L$};function u5(Z,J,q,Y){let U=Z[J].call(q,Y);if(typeof U>"u")return Mz[J].call(q,Y);return U}class bN extends B8{static positioners=ZJ;constructor(Z){super();this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=Z.chart,this.options=Z.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(Z){this.options=Z,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let Z=this._cachedAnimations;if(Z)return Z;let J=this.chart,q=this.options.setContext(this.getContext()),Y=q.enabled&&J.options.animation&&q.animations,U=new gN(this.chart,Y);if(Y._cacheable)this._cachedAnimations=Object.freeze(U);return U}getContext(){return this.$context||(this.$context=rO(this.chart.getContext(),this,this._tooltipItems))}getTitle(Z,J){let{callbacks:q}=J,Y=u5(q,"beforeTitle",this,Z),U=u5(q,"title",this,Z),K=u5(q,"afterTitle",this,Z),H=[];return H=_$(H,K8(Y)),H=_$(H,K8(U)),H=_$(H,K8(K)),H}getBeforeBody(Z,J){return kw(u5(J.callbacks,"beforeBody",this,Z))}getBody(Z,J){let{callbacks:q}=J,Y=[];return q1(Z,(U)=>{let K={before:[],lines:[],after:[]},H=bw(q,U);_$(K.before,K8(u5(H,"beforeLabel",this,U))),_$(K.lines,u5(H,"label",this,U)),_$(K.after,K8(u5(H,"afterLabel",this,U))),Y.push(K)}),Y}getAfterBody(Z,J){return kw(u5(J.callbacks,"afterBody",this,Z))}getFooter(Z,J){let{callbacks:q}=J,Y=u5(q,"beforeFooter",this,Z),U=u5(q,"footer",this,Z),K=u5(q,"afterFooter",this,Z),H=[];return H=_$(H,K8(Y)),H=_$(H,K8(U)),H=_$(H,K8(K)),H}_createItems(Z){let J=this._active,q=this.chart.data,Y=[],U=[],K=[],H=[],M,W;for(M=0,W=J.length;M<W;++M)H.push(uO(this.chart,J[M]));if(Z.filter)H=H.filter((R,w,z)=>Z.filter(R,w,z,q));if(Z.itemSort)H=H.sort((R,w)=>Z.itemSort(R,w,q));return q1(H,(R)=>{let w=bw(Z.callbacks,R);Y.push(u5(w,"labelColor",this,R)),U.push(u5(w,"labelPointStyle",this,R)),K.push(u5(w,"labelTextColor",this,R))}),this.labelColors=Y,this.labelPointStyles=U,this.labelTextColors=K,this.dataPoints=H,H}update(Z,J){let q=this.options.setContext(this.getContext()),Y=this._active,U,K=[];if(!Y.length){if(this.opacity!==0)U={opacity:0}}else{let H=ZJ[q.position].call(this,Y,this._eventPosition);K=this._createItems(q),this.title=this.getTitle(K,q),this.beforeBody=this.getBeforeBody(K,q),this.body=this.getBody(K,q),this.afterBody=this.getAfterBody(K,q),this.footer=this.getFooter(K,q);let M=this._size=Aw(this,q),W=Object.assign({},H,M),R=Sw(this.chart,q,W),w=vw(q,W,R,this.chart);this.xAlign=R.xAlign,this.yAlign=R.yAlign,U={opacity:1,x:w.x,y:w.y,width:M.width,height:M.height,caretX:H.x,caretY:H.y}}if(this._tooltipItems=K,this.$context=void 0,U)this._resolveAnimations().update(this,U);if(Z&&q.external)q.external.call(this,{chart:this.chart,tooltip:this,replay:J})}drawCaret(Z,J,q,Y){let U=this.getCaretPosition(Z,q,Y);J.lineTo(U.x1,U.y1),J.lineTo(U.x2,U.y2),J.lineTo(U.x3,U.y3)}getCaretPosition(Z,J,q){let{xAlign:Y,yAlign:U}=this,{caretSize:K,cornerRadius:H}=q,{topLeft:M,topRight:W,bottomLeft:R,bottomRight:w}=F6(H),{x:z,y:L}=Z,{width:P,height:I}=J,A,E,g,m,o,i;if(U==="center"){if(o=L+I/2,Y==="left")A=z,E=A-K,m=o+K,i=o-K;else A=z+P,E=A+K,m=o-K,i=o+K;g=A}else{if(Y==="left")E=z+Math.max(M,R)+K;else if(Y==="right")E=z+P-Math.max(W,w)-K;else E=this.caretX;if(U==="top")m=L,o=m-K,A=E-K,g=E+K;else m=L+I,o=m+K,A=E+K,g=E-K;i=m}return{x1:A,x2:E,x3:g,y1:m,y2:o,y3:i}}drawTitle(Z,J,q){let Y=this.title,U=Y.length,K,H,M;if(U){let W=R7(q.rtl,this.x,this.width);Z.x=T2(this,q.titleAlign,q),J.textAlign=W.textAlign(q.titleAlign),J.textBaseline="middle",K=p1(q.titleFont),H=q.titleSpacing,J.fillStyle=q.titleColor,J.font=K.string;for(M=0;M<U;++M)if(J.fillText(Y[M],W.x(Z.x),Z.y+K.lineHeight/2),Z.y+=K.lineHeight+H,M+1===U)Z.y+=q.titleMarginBottom-H}}_drawColorBox(Z,J,q,Y,U){let K=this.labelColors[q],H=this.labelPointStyles[q],{boxHeight:M,boxWidth:W}=U,R=p1(U.bodyFont),w=T2(this,"left",U),z=Y.x(w),L=M<R.lineHeight?(R.lineHeight-M)/2:0,P=J.y+L;if(U.usePointStyle){let I={radius:Math.min(W,M)/2,pointStyle:H.pointStyle,rotation:H.rotation,borderWidth:1},A=Y.leftForLtr(z,W)+W/2,E=P+M/2;Z.strokeStyle=U.multiKeyBackground,Z.fillStyle=U.multiKeyBackground,Y2(Z,I,A,E),Z.strokeStyle=K.borderColor,Z.fillStyle=K.backgroundColor,Y2(Z,I,A,E)}else{Z.lineWidth=s0(K.borderWidth)?Math.max(...Object.values(K.borderWidth)):K.borderWidth||1,Z.strokeStyle=K.borderColor,Z.setLineDash(K.borderDash||[]),Z.lineDashOffset=K.borderDashOffset||0;let I=Y.leftForLtr(z,W),A=Y.leftForLtr(Y.xPlus(z,1),W-2),E=F6(K.borderRadius);if(Object.values(E).some((g)=>g!==0))Z.beginPath(),Z.fillStyle=U.multiKeyBackground,c9(Z,{x:I,y:P,w:W,h:M,radius:E}),Z.fill(),Z.stroke(),Z.fillStyle=K.backgroundColor,Z.beginPath(),c9(Z,{x:A,y:P+1,w:W-2,h:M-2,radius:E}),Z.fill();else Z.fillStyle=U.multiKeyBackground,Z.fillRect(I,P,W,M),Z.strokeRect(I,P,W,M),Z.fillStyle=K.backgroundColor,Z.fillRect(A,P+1,W-2,M-2)}Z.fillStyle=this.labelTextColors[q]}drawBody(Z,J,q){let{body:Y}=this,{bodySpacing:U,bodyAlign:K,displayColors:H,boxHeight:M,boxWidth:W,boxPadding:R}=q,w=p1(q.bodyFont),z=w.lineHeight,L=0,P=R7(q.rtl,this.x,this.width),I=function(p){J.fillText(p,P.x(Z.x+L),Z.y+z/2),Z.y+=z+U},A=P.textAlign(K),E,g,m,o,i,l,J0;J.textAlign=K,J.textBaseline="middle",J.font=w.string,Z.x=T2(this,A,q),J.fillStyle=q.bodyColor,q1(this.beforeBody,I),L=H&&A!=="right"?K==="center"?W/2+R:W+2+R:0;for(o=0,l=Y.length;o<l;++o){if(E=Y[o],g=this.labelTextColors[o],J.fillStyle=g,q1(E.before,I),m=E.lines,H&&m.length)this._drawColorBox(J,Z,o,P,q),z=Math.max(w.lineHeight,M);for(i=0,J0=m.length;i<J0;++i)I(m[i]),z=w.lineHeight;q1(E.after,I)}L=0,z=w.lineHeight,q1(this.afterBody,I),Z.y-=U}drawFooter(Z,J,q){let Y=this.footer,U=Y.length,K,H;if(U){let M=R7(q.rtl,this.x,this.width);Z.x=T2(this,q.footerAlign,q),Z.y+=q.footerMarginTop,J.textAlign=M.textAlign(q.footerAlign),J.textBaseline="middle",K=p1(q.footerFont),J.fillStyle=q.footerColor,J.font=K.string;for(H=0;H<U;++H)J.fillText(Y[H],M.x(Z.x),Z.y+K.lineHeight/2),Z.y+=K.lineHeight+q.footerSpacing}}drawBackground(Z,J,q,Y){let{xAlign:U,yAlign:K}=this,{x:H,y:M}=Z,{width:W,height:R}=q,{topLeft:w,topRight:z,bottomLeft:L,bottomRight:P}=F6(Y.cornerRadius);if(J.fillStyle=Y.backgroundColor,J.strokeStyle=Y.borderColor,J.lineWidth=Y.borderWidth,J.beginPath(),J.moveTo(H+w,M),K==="top")this.drawCaret(Z,J,q,Y);if(J.lineTo(H+W-z,M),J.quadraticCurveTo(H+W,M,H+W,M+z),K==="center"&&U==="right")this.drawCaret(Z,J,q,Y);if(J.lineTo(H+W,M+R-P),J.quadraticCurveTo(H+W,M+R,H+W-P,M+R),K==="bottom")this.drawCaret(Z,J,q,Y);if(J.lineTo(H+L,M+R),J.quadraticCurveTo(H,M+R,H,M+R-L),K==="center"&&U==="left")this.drawCaret(Z,J,q,Y);if(J.lineTo(H,M+w),J.quadraticCurveTo(H,M,H+w,M),J.closePath(),J.fill(),Y.borderWidth>0)J.stroke()}_updateAnimationTarget(Z){let J=this.chart,q=this.$animations,Y=q&&q.x,U=q&&q.y;if(Y||U){let K=ZJ[Z.position].call(this,this._active,this._eventPosition);if(!K)return;let H=this._size=Aw(this,Z),M=Object.assign({},K,this._size),W=Sw(J,Z,M),R=vw(Z,M,W,J);if(Y._to!==R.x||U._to!==R.y)this.xAlign=W.xAlign,this.yAlign=W.yAlign,this.width=H.width,this.height=H.height,this.caretX=K.x,this.caretY=K.y,this._resolveAnimations().update(this,R)}}_willRender(){return!!this.opacity}draw(Z){let J=this.options.setContext(this.getContext()),q=this.opacity;if(!q)return;this._updateAnimationTarget(J);let Y={width:this.width,height:this.height},U={x:this.x,y:this.y};q=Math.abs(q)<0.001?0:q;let K=Y5(J.padding),H=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;if(J.enabled&&H)Z.save(),Z.globalAlpha=q,this.drawBackground(U,Z,Y,J),MN(Z,J.textDirection),U.y+=K.top,this.drawTitle(U,Z,J),this.drawBody(U,Z,J),this.drawFooter(U,Z,J),WN(Z,J.textDirection),Z.restore()}getActiveElements(){return this._active||[]}setActiveElements(Z,J){let q=this._active,Y=Z.map(({datasetIndex:H,index:M})=>{let W=this.chart.getDatasetMeta(H);if(!W)throw Error("Cannot find a dataset at index "+H);return{datasetIndex:H,element:W.data[M],index:M}}).filter(({element:H})=>H),U=!dZ(q,Y),K=this._positionChanged(Y,J);if(U||K)this._active=Y,this._eventPosition=J,this._ignoreReplayEvents=!0,this.update(!0)}handleEvent(Z,J,q=!0){if(J&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let Y=this.options,U=this._active||[],K=this._getActiveElements(Z,U,J,q),H=this._positionChanged(K,Z),M=J||!dZ(K,U)||H;if(M){if(this._active=K,Y.enabled||Y.external)this._eventPosition={x:Z.x,y:Z.y},this.update(!0,J)}return M}_getActiveElements(Z,J,q,Y){let U=this.options;if(Z.type==="mouseout")return[];if(!Y)return J.filter((H)=>{let M=this.chart.data.datasets[H.datasetIndex]&&this.chart.getDatasetMeta(H.datasetIndex).controller;return M&&M.getParsed(H.index)!==void 0});let K=this.chart.getElementsAtEventForMode(Z,U.mode,U,q);if(U.reverse)K.reverse();return K}_positionChanged(Z,J){let{caretX:q,caretY:Y,options:U}=this,K=ZJ[U.position].call(this,Z,J);return K!==!1&&(q!==K.x||Y!==K.y)}}var I$={id:"tooltip",_element:bN,positioners:ZJ,afterInit(Z,J,q){if(q)Z.tooltip=new bN({chart:Z,options:q})},beforeUpdate(Z,J,q){if(Z.tooltip)Z.tooltip.initialize(q)},reset(Z,J,q){if(Z.tooltip)Z.tooltip.initialize(q)},afterDraw(Z){let J=Z.tooltip;if(J&&J._willRender()){let q={tooltip:J};if(Z.notifyPlugins("beforeTooltipDraw",{...q,cancelable:!0})===!1)return;J.draw(Z.ctx),Z.notifyPlugins("afterTooltipDraw",q)}},afterEvent(Z,J){if(Z.tooltip){let q=J.replay;if(Z.tooltip.handleEvent(J.event,q,J.inChartArea))J.changed=!0}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(Z,J)=>J.bodyFont.size,boxWidth:(Z,J)=>J.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Mz},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:(Z)=>Z!=="filter"&&Z!=="itemSort"&&Z!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};var sO=(Z,J,q,Y)=>{if(typeof J==="string")q=Z.push(J)-1,Y.unshift({index:q,label:J});else if(isNaN(J))q=null;return q};function nO(Z,J,q,Y){let U=Z.indexOf(J);if(U===-1)return sO(Z,J,q,Y);let K=Z.lastIndexOf(J);return U!==K?q:U}var oO=(Z,J)=>Z===null?null:h5(Math.round(Z),0,J);function yw(Z){let J=this.getLabels();if(Z>=0&&Z<J.length)return J[Z];return Z}class u4 extends V7{static id="category";static defaults={ticks:{callback:yw}};constructor(Z){super(Z);this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(Z){let J=this._addedLabels;if(J.length){let q=this.getLabels();for(let{index:Y,label:U}of J)if(q[Y]===U)q.splice(Y,1);this._addedLabels=[]}super.init(Z)}beforeLayout(){super.beforeLayout(),this._userMin=this.parse(this.options.min),this._userMax=this.parse(this.options.max)}parse(Z,J){if(a0(Z))return null;let q=this.getLabels();return J=isFinite(J)&&q[J]===Z?J:nO(q,Z,f0(J,Z),this._addedLabels),oO(J,q.length-1)}determineDataLimits(){let{minDefined:Z,maxDefined:J}=this.getUserBounds(),{min:q,max:Y}=this.getMinMax(!0);if(this.options.bounds==="ticks"){if(!Z)q=0;if(!J)Y=this.getLabels().length-1}this.min=q,this.max=Y}buildTicks(){let Z=this.min,J=this.max,q=this.options.offset,Y=[],U=this.getLabels();U=Z===0&&J===U.length-1?U:U.slice(Z,J+1),this._valueRange=Math.max(U.length-(q?0:1),1),this._startValue=this.min-(q?0.5:0);for(let K=Z;K<=J;K++)Y.push({value:K});return Y}getLabelForValue(Z){return yw.call(this,Z)}configure(){if(super.configure(),!this.isHorizontal())this._reversePixels=!this._reversePixels}getPixelForValue(Z){if(typeof Z!=="number")Z=this.parse(Z);return Z===null?NaN:this.getPixelForDecimal((Z-this._startValue)/this._valueRange)}getPixelForTick(Z){let J=this.ticks;if(Z<0||Z>J.length-1)return null;return this.getPixelForValue(J[Z].value)}getValueForPixel(Z){return Math.round(this._startValue+this.getDecimalForPixel(Z)*this._valueRange)}getBasePixel(){return this.bottom}}function iO(Z,J){let q=[],Y=0.00000000000001,{bounds:U,step:K,min:H,max:M,precision:W,count:R,maxTicks:w,maxDigits:z,includeBounds:L}=Z,P=K||1,I=w-1,{min:A,max:E}=J,g=!a0(H),m=!a0(M),o=!a0(R),i=(E-A)/(z+1),l=aU((E-A)/I/P)*P,J0,p,a,U0;if(l<0.00000000000001&&!g&&!m)return[{value:A},{value:E}];if(U0=Math.ceil(E/l)-Math.floor(A/l),U0>I)l=aU(U0*l/I/P)*P;if(!a0(W))J0=Math.pow(10,W),l=Math.ceil(l*J0)/J0;if(U==="ticks"){let B0=Math.pow(10,X2(l));p=Math.round(Math.floor(A/l)*l*B0)/B0,a=Math.round(Math.ceil(E/l)*l*B0)/B0}else p=A,a=E;if(g&&m&&K&&LR((M-H)/K,l/1000))U0=Math.round(Math.min((M-H)/l,w)),l=(M-H)/U0,p=H,a=M;else if(o)p=g?H:p,a=m?M:a,U0=R-1,l=(a-p)/U0;else if(U0=(a-p)/l,d9(U0,Math.round(U0),l/1000))U0=Math.round(U0);else U0=Math.ceil(U0);let d=Math.max(X2(l),X2(p));J0=Math.pow(10,a0(W)?d:W),p=Math.round(p*J0)/J0,a=Math.round(a*J0)/J0;let K0=0;if(g){if(L&&p!==H){if(q.push({value:H}),p<H)K0++;if(d9(Math.round((p+K0*l)*J0)/J0,H,fw(H,i,Z)))K0++}else if(p<H)K0++}for(;K0<U0;++K0){let B0=Math.round((p+K0*l)*J0)/J0;if(m&&B0>M)break;q.push({value:B0})}if(m&&L&&a!==M)if(q.length&&d9(q[q.length-1].value,M,fw(M,i,Z)))q[q.length-1].value=M;else q.push({value:M});else if(!m||a===M)q.push({value:a});return q}function fw(Z,J,{horizontal:q,minRotation:Y}){let U=X8(Y),K=(q?Math.sin(U):Math.cos(U))||0.001,H=0.75*J*(""+Z).length;return Math.min(J/K,H)}class GJ extends V7{constructor(Z){super(Z);this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(Z,J){if(a0(Z))return null;if((typeof Z==="number"||Z instanceof Number)&&!isFinite(+Z))return null;return+Z}handleTickRangeOptions(){let{beginAtZero:Z}=this.options,{minDefined:J,maxDefined:q}=this.getUserBounds(),{min:Y,max:U}=this,K=(M)=>Y=J?Y:M,H=(M)=>U=q?U:M;if(Z){let M=h4(Y),W=h4(U);if(M<0&&W<0)H(0);else if(M>0&&W>0)K(0)}if(Y===U){let M=U===0?1:Math.abs(U*0.05);if(H(U+M),!Z)K(Y-M)}this.min=Y,this.max=U}getTickLimit(){let Z=this.options.ticks,{maxTicksLimit:J,stepSize:q}=Z,Y;if(q){if(Y=Math.ceil(this.max/q)-Math.floor(this.min/q)+1,Y>1000)console.warn(`scales.${this.id}.ticks.stepSize: ${q} would result generating up to ${Y} ticks. Limiting to 1000.`),Y=1000}else Y=this.computeTickLimit(),J=J||11;if(J)Y=Math.min(J,Y);return Y}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let Z=this.options,J=Z.ticks,q=this.getTickLimit();q=Math.max(2,q);let Y={maxTicks:q,bounds:Z.bounds,min:Z.min,max:Z.max,precision:J.precision,step:J.stepSize,count:J.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:J.minRotation||0,includeBounds:J.includeBounds!==!1},U=this._range||this,K=iO(Y,U);if(Z.bounds==="ticks")tU(K,this,"value");if(Z.reverse)K.reverse(),this.start=this.max,this.end=this.min;else this.start=this.min,this.end=this.max;return K}configure(){let Z=this.ticks,J=this.min,q=this.max;if(super.configure(),this.options.offset&&Z.length){let Y=(q-J)/Math.max(Z.length-1,1)/2;J-=Y,q+=Y}this._startValue=J,this._endValue=q,this._valueRange=q-J}getLabelForValue(Z){return mZ(Z,this.chart.options.locale,this.options.ticks.format)}}class m4 extends GJ{static id="linear";static defaults={ticks:{callback:sZ.formatters.numeric}};determineDataLimits(){let{min:Z,max:J}=this.getMinMax(!0);this.min=O1(Z)?Z:0,this.max=O1(J)?J:1,this.handleTickRangeOptions()}computeTickLimit(){let Z=this.isHorizontal(),J=Z?this.width:this.height,q=X8(this.options.ticks.minRotation),Y=(Z?Math.sin(q):Math.cos(q))||0.001,U=this._resolveTickFontOptions(0);return Math.ceil(J/Math.min(40,U.lineHeight/Y))}getPixelForValue(Z){return Z===null?NaN:this.getPixelForDecimal((Z-this._startValue)/this._valueRange)}getValueForPixel(Z){return this._startValue+this.getDecimalForPixel(Z)*this._valueRange}}var qJ=(Z)=>Math.floor(q8(Z)),z7=(Z,J)=>Math.pow(10,qJ(Z)+J);function gw(Z){return Z/Math.pow(10,qJ(Z))===1}function hw(Z,J,q){let Y=Math.pow(10,q),U=Math.floor(Z/Y);return Math.ceil(J/Y)-U}function aO(Z,J){let q=J-Z,Y=qJ(q);while(hw(Z,J,Y)>10)Y++;while(hw(Z,J,Y)<10)Y--;return Math.min(Y,qJ(Z))}function tO(Z,{min:J,max:q}){J=x5(Z.min,J);let Y=[],U=qJ(J),K=aO(J,q),H=K<0?Math.pow(10,Math.abs(K)):1,M=Math.pow(10,K),W=U>K?Math.pow(10,U):0,R=Math.round((J-W)*H)/H,w=Math.floor((J-W)/M/10)*M*10,z=Math.floor((R-w)/Math.pow(10,K)),L=x5(Z.min,Math.round((W+w+z*Math.pow(10,K))*H)/H);while(L<q){if(Y.push({value:L,major:gw(L),significand:z}),z>=10)z=z<15?15:20;else z++;if(z>=20)K++,z=2,H=K>=0?1:H;L=Math.round((W+w+z*Math.pow(10,K))*H)/H}let P=x5(Z.max,L);return Y.push({value:P,major:gw(P),significand:z}),Y}class eO extends V7{static id="logarithmic";static defaults={ticks:{callback:sZ.formatters.logarithmic,major:{enabled:!0}}};constructor(Z){super(Z);this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(Z,J){let q=GJ.prototype.parse.apply(this,[Z,J]);if(q===0){this._zero=!0;return}return O1(q)&&q>0?q:null}determineDataLimits(){let{min:Z,max:J}=this.getMinMax(!0);if(this.min=O1(Z)?Math.max(0,Z):null,this.max=O1(J)?Math.max(0,J):null,this.options.beginAtZero)this._zero=!0;if(this._zero&&this.min!==this._suggestedMin&&!O1(this._userMin))this.min=Z===z7(this.min,0)?z7(this.min,-1):z7(this.min,0);this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:Z,maxDefined:J}=this.getUserBounds(),q=this.min,Y=this.max,U=(H)=>q=Z?q:H,K=(H)=>Y=J?Y:H;if(q===Y)if(q<=0)U(1),K(10);else U(z7(q,-1)),K(z7(Y,1));if(q<=0)U(z7(Y,-1));if(Y<=0)K(z7(q,1));this.min=q,this.max=Y}buildTicks(){let Z=this.options,J={min:this._userMin,max:this._userMax},q=tO(J,this);if(Z.bounds==="ticks")tU(q,this,"value");if(Z.reverse)q.reverse(),this.start=this.max,this.end=this.min;else this.start=this.min,this.end=this.max;return q}getLabelForValue(Z){return Z===void 0?"0":mZ(Z,this.chart.options.locale,this.options.ticks.format)}configure(){let Z=this.min;super.configure(),this._startValue=q8(Z),this._valueRange=q8(this.max)-q8(Z)}getPixelForValue(Z){if(Z===void 0||Z===0)Z=this.min;if(Z===null||isNaN(Z))return NaN;return this.getPixelForDecimal(Z===this.min?0:(q8(Z)-this._startValue)/this._valueRange)}getValueForPixel(Z){let J=this.getDecimalForPixel(Z);return Math.pow(10,this._startValue+J*this._valueRange)}}function yN(Z){let J=Z.ticks;if(J.display&&Z.display){let q=Y5(J.backdropPadding);return f0(J.font&&J.font.size,D1.font.size)+q.height}return 0}function $D(Z,J,q){return q=z1(q)?q:[q],{w:PR(Z,J.string,q),h:q.length*J.lineHeight}}function xw(Z,J,q,Y,U){if(Z===Y||Z===U)return{start:J-q/2,end:J+q/2};else if(Z<Y||Z>U)return{start:J-q,end:J};return{start:J,end:J+q}}function QD(Z){let J={l:Z.left+Z._padding.left,r:Z.right-Z._padding.right,t:Z.top+Z._padding.top,b:Z.bottom-Z._padding.bottom},q=Object.assign({},J),Y=[],U=[],K=Z._pointLabels.length,H=Z.options.pointLabels,M=H.centerPointLabels?b1/K:0;for(let W=0;W<K;W++){let R=H.setContext(Z.getPointLabelContext(W));U[W]=R.padding;let w=Z.getPointPosition(W,Z.drawingArea+U[W],M),z=p1(R.font),L=$D(Z.ctx,z,Z._pointLabels[W]);Y[W]=L;let P=y5(Z.getIndexAngle(W)+M),I=Math.round(q2(P)),A=xw(I,w.x,L.w,0,180),E=xw(I,w.y,L.h,90,270);ZD(q,J,P,A,E)}Z.setCenterPoint(J.l-q.l,q.r-J.r,J.t-q.t,q.b-J.b),Z._pointLabelItems=qD(Z,Y,U)}function ZD(Z,J,q,Y,U){let K=Math.abs(Math.sin(q)),H=Math.abs(Math.cos(q)),M=0,W=0;if(Y.start<J.l)M=(J.l-Y.start)/K,Z.l=Math.min(Z.l,J.l-M);else if(Y.end>J.r)M=(Y.end-J.r)/K,Z.r=Math.max(Z.r,J.r+M);if(U.start<J.t)W=(J.t-U.start)/H,Z.t=Math.min(Z.t,J.t-W);else if(U.end>J.b)W=(U.end-J.b)/H,Z.b=Math.max(Z.b,J.b+W)}function JD(Z,J,q){let Y=Z.drawingArea,{extra:U,additionalAngle:K,padding:H,size:M}=q,W=Z.getPointPosition(J,Y+U+H,K),R=Math.round(q2(y5(W.angle+f5))),w=UD(W.y,M.h,R),z=XD(R),L=YD(W.x,M.w,z);return{visible:!0,x:W.x,y:w,textAlign:z,left:L,top:w,right:L+M.w,bottom:w+M.h}}function GD(Z,J){if(!J)return!0;let{left:q,top:Y,right:U,bottom:K}=Z;return!(V$({x:q,y:Y},J)||V$({x:q,y:K},J)||V$({x:U,y:Y},J)||V$({x:U,y:K},J))}function qD(Z,J,q){let Y=[],U=Z._pointLabels.length,K=Z.options,{centerPointLabels:H,display:M}=K.pointLabels,W={extra:yN(K)/2,additionalAngle:H?b1/U:0},R;for(let w=0;w<U;w++){W.padding=q[w],W.size=J[w];let z=JD(Z,w,W);if(Y.push(z),M==="auto"){if(z.visible=GD(z,R),z.visible)R=z}}return Y}function XD(Z){if(Z===0||Z===180)return"center";else if(Z<180)return"left";return"right"}function YD(Z,J,q){if(q==="right")Z-=J;else if(q==="center")Z-=J/2;return Z}function UD(Z,J,q){if(q===90||q===270)Z-=J/2;else if(q>270||q<90)Z-=J;return Z}function ND(Z,J,q){let{left:Y,top:U,right:K,bottom:H}=q,{backdropColor:M}=J;if(!a0(M)){let W=F6(J.borderRadius),R=Y5(J.backdropPadding);Z.fillStyle=M;let w=Y-R.left,z=U-R.top,L=K-Y+R.width,P=H-U+R.height;if(Object.values(W).some((I)=>I!==0))Z.beginPath(),c9(Z,{x:w,y:z,w:L,h:P,radius:W}),Z.fill();else Z.fillRect(w,z,L,P)}}function KD(Z,J){let{ctx:q,options:{pointLabels:Y}}=Z;for(let U=J-1;U>=0;U--){let K=Z._pointLabelItems[U];if(!K.visible)continue;let H=Y.setContext(Z.getPointLabelContext(U));ND(q,H,K);let M=p1(H.font),{x:W,y:R,textAlign:w}=K;H6(q,Z._pointLabels[U],W,R+M.lineHeight/2,M,{color:H.color,textAlign:w,textBaseline:"middle"})}}function Wz(Z,J,q,Y){let{ctx:U}=Z;if(q)U.arc(Z.xCenter,Z.yCenter,J,0,g5);else{let K=Z.getPointPosition(0,J);U.moveTo(K.x,K.y);for(let H=1;H<Y;H++)K=Z.getPointPosition(H,J),U.lineTo(K.x,K.y)}}function BD(Z,J,q,Y,U){let K=Z.ctx,H=J.circular,{color:M,lineWidth:W}=J;if(!H&&!Y||!M||!W||q<0)return;K.save(),K.strokeStyle=M,K.lineWidth=W,K.setLineDash(U.dash||[]),K.lineDashOffset=U.dashOffset,K.beginPath(),Wz(Z,q,H,Y),K.closePath(),K.stroke(),K.restore()}function HD(Z,J,q){return U8(Z,{label:q,index:J,type:"pointLabel"})}class MD extends GJ{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:sZ.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(Z){return Z},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(Z){super(Z);this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let Z=this._padding=Y5(yN(this.options)/2),J=this.width=this.maxWidth-Z.width,q=this.height=this.maxHeight-Z.height;this.xCenter=Math.floor(this.left+J/2+Z.left),this.yCenter=Math.floor(this.top+q/2+Z.top),this.drawingArea=Math.floor(Math.min(J,q)/2)}determineDataLimits(){let{min:Z,max:J}=this.getMinMax(!1);this.min=O1(Z)&&!isNaN(Z)?Z:0,this.max=O1(J)&&!isNaN(J)?J:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/yN(this.options))}generateTickLabels(Z){GJ.prototype.generateTickLabels.call(this,Z),this._pointLabels=this.getLabels().map((J,q)=>{let Y=W1(this.options.pointLabels.callback,[J,q],this);return Y||Y===0?Y:""}).filter((J,q)=>this.chart.getDataVisibility(q))}fit(){let Z=this.options;if(Z.display&&Z.pointLabels.display)QD(this);else this.setCenterPoint(0,0,0,0)}setCenterPoint(Z,J,q,Y){this.xCenter+=Math.floor((Z-J)/2),this.yCenter+=Math.floor((q-Y)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(Z,J,q,Y))}getIndexAngle(Z){let J=g5/(this._pointLabels.length||1),q=this.options.startAngle||0;return y5(Z*J+X8(q))}getDistanceFromCenterForValue(Z){if(a0(Z))return NaN;let J=this.drawingArea/(this.max-this.min);if(this.options.reverse)return(this.max-Z)*J;return(Z-this.min)*J}getValueForDistanceFromCenter(Z){if(a0(Z))return NaN;let J=Z/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-J:this.min+J}getPointLabelContext(Z){let J=this._pointLabels||[];if(Z>=0&&Z<J.length){let q=J[Z];return HD(this.getContext(),Z,q)}}getPointPosition(Z,J,q=0){let Y=this.getIndexAngle(Z)-f5+q;return{x:Math.cos(Y)*J+this.xCenter,y:Math.sin(Y)*J+this.yCenter,angle:Y}}getPointPositionForValue(Z,J){return this.getPointPosition(Z,this.getDistanceFromCenterForValue(J))}getBasePosition(Z){return this.getPointPositionForValue(Z||0,this.getBaseValue())}getPointLabelPosition(Z){let{left:J,top:q,right:Y,bottom:U}=this._pointLabelItems[Z];return{left:J,top:q,right:Y,bottom:U}}drawBackground(){let{backgroundColor:Z,grid:{circular:J}}=this.options;if(Z){let q=this.ctx;q.save(),q.beginPath(),Wz(this,this.getDistanceFromCenterForValue(this._endValue),J,this._pointLabels.length),q.closePath(),q.fillStyle=Z,q.fill(),q.restore()}}drawGrid(){let Z=this.ctx,J=this.options,{angleLines:q,grid:Y,border:U}=J,K=this._pointLabels.length,H,M,W;if(J.pointLabels.display)KD(this,K);if(Y.display)this.ticks.forEach((R,w)=>{if(w!==0||w===0&&this.min<0){M=this.getDistanceFromCenterForValue(R.value);let z=this.getContext(w),L=Y.setContext(z),P=U.setContext(z);BD(this,L,M,K,P)}});if(q.display){Z.save();for(H=K-1;H>=0;H--){let R=q.setContext(this.getPointLabelContext(H)),{color:w,lineWidth:z}=R;if(!z||!w)continue;Z.lineWidth=z,Z.strokeStyle=w,Z.setLineDash(R.borderDash),Z.lineDashOffset=R.borderDashOffset,M=this.getDistanceFromCenterForValue(J.reverse?this.min:this.max),W=this.getPointPosition(H,M),Z.beginPath(),Z.moveTo(this.xCenter,this.yCenter),Z.lineTo(W.x,W.y),Z.stroke()}Z.restore()}}drawBorder(){}drawLabels(){let Z=this.ctx,J=this.options,q=J.ticks;if(!q.display)return;let Y=this.getIndexAngle(0),U,K;Z.save(),Z.translate(this.xCenter,this.yCenter),Z.rotate(Y),Z.textAlign="center",Z.textBaseline="middle",this.ticks.forEach((H,M)=>{if(M===0&&this.min>=0&&!J.reverse)return;let W=q.setContext(this.getContext(M)),R=p1(W.font);if(U=this.getDistanceFromCenterForValue(this.ticks[M].value),W.showLabelBackdrop){Z.font=R.string,K=Z.measureText(H.label).width,Z.fillStyle=W.backdropColor;let w=Y5(W.backdropPadding);Z.fillRect(-K/2-w.left,-U-R.size/2-w.top,K+w.width,R.size+w.height)}H6(Z,H.label,0,-U,R,{color:W.color,strokeColor:W.textStrokeColor,strokeWidth:W.textStrokeWidth})}),Z.restore()}drawTitle(){}}var C2={millisecond:{common:!0,size:1,steps:1000},second:{common:!0,size:1000,steps:60},minute:{common:!0,size:60000,steps:60},hour:{common:!0,size:3600000,steps:24},day:{common:!0,size:86400000,steps:30},week:{common:!1,size:604800000,steps:4},month:{common:!0,size:2628000000,steps:12},quarter:{common:!1,size:7884000000,steps:4},year:{common:!0,size:31540000000}},m5=Object.keys(C2);function uw(Z,J){return Z-J}function mw(Z,J){if(a0(J))return null;let q=Z._adapter,{parser:Y,round:U,isoWeekday:K}=Z._parseOpts,H=J;if(typeof Y==="function")H=Y(H);if(!O1(H))H=typeof Y==="string"?q.parse(H,Y):q.parse(H);if(H===null)return null;if(U)H=U==="week"&&(p9(K)||K===!0)?q.startOf(H,"isoWeek",K):q.startOf(H,U);return+H}function dw(Z,J,q,Y){let U=m5.length;for(let K=m5.indexOf(Z);K<U-1;++K){let H=C2[m5[K]],M=H.steps?H.steps:Number.MAX_SAFE_INTEGER;if(H.common&&Math.ceil((q-J)/(M*H.size))<=Y)return m5[K]}return m5[U-1]}function WD(Z,J,q,Y,U){for(let K=m5.length-1;K>=m5.indexOf(q);K--){let H=m5[K];if(C2[H].common&&Z._adapter.diff(U,Y,H)>=J-1)return H}return m5[q?m5.indexOf(q):0]}function FD(Z){for(let J=m5.indexOf(Z)+1,q=m5.length;J<q;++J)if(C2[m5[J]].common)return m5[J]}function pw(Z,J,q){if(!q)Z[J]=!0;else if(q.length){let{lo:Y,hi:U}=U2(q,J),K=q[Y]>=J?q[Y]:q[U];Z[K]=!0}}function TD(Z,J,q,Y){let U=Z._adapter,K=+U.startOf(J[0].value,Y),H=J[J.length-1].value,M,W;for(M=K;M<=H;M=+U.add(M,1,Y))if(W=q[M],W>=0)J[W].major=!0;return J}function cw(Z,J,q){let Y=[],U={},K=J.length,H,M;for(H=0;H<K;++H)M=J[H],U[M]=H,Y.push({value:M,major:!1});return K===0||!q?Y:TD(Z,Y,U,q)}class fN extends V7{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(Z){super(Z);this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(Z,J={}){let q=Z.time||(Z.time={}),Y=this._adapter=new iI._date(Z.adapters.date);Y.init(J),u9(q.displayFormats,Y.formats()),this._parseOpts={parser:q.parser,round:q.round,isoWeekday:q.isoWeekday},super.init(Z),this._normalized=J.normalized}parse(Z,J){if(Z===void 0)return null;return mw(this,Z)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let Z=this.options,J=this._adapter,q=Z.time.unit||"day",{min:Y,max:U,minDefined:K,maxDefined:H}=this.getUserBounds();function M(W){if(!K&&!isNaN(W.min))Y=Math.min(Y,W.min);if(!H&&!isNaN(W.max))U=Math.max(U,W.max)}if(!K||!H){if(M(this._getLabelBounds()),Z.bounds!=="ticks"||Z.ticks.source!=="labels")M(this.getMinMax(!1))}Y=O1(Y)&&!isNaN(Y)?Y:+J.startOf(Date.now(),q),U=O1(U)&&!isNaN(U)?U:+J.endOf(Date.now(),q)+1,this.min=Math.min(Y,U-1),this.max=Math.max(Y+1,U)}_getLabelBounds(){let Z=this.getLabelTimestamps(),J=Number.POSITIVE_INFINITY,q=Number.NEGATIVE_INFINITY;if(Z.length)J=Z[0],q=Z[Z.length-1];return{min:J,max:q}}buildTicks(){let Z=this.options,J=Z.time,q=Z.ticks,Y=q.source==="labels"?this.getLabelTimestamps():this._generate();if(Z.bounds==="ticks"&&Y.length)this.min=this._userMin||Y[0],this.max=this._userMax||Y[Y.length-1];let U=this.min,K=this.max,H=OR(Y,U,K);if(this._unit=J.unit||(q.autoSkip?dw(J.minUnit,this.min,this.max,this._getLabelCapacity(U)):WD(this,H.length,J.minUnit,this.min,this.max)),this._majorUnit=!q.major.enabled||this._unit==="year"?void 0:FD(this._unit),this.initOffsets(Y),Z.reverse)H.reverse();return cw(this,H,this._majorUnit)}afterAutoSkip(){if(this.options.offsetAfterAutoskip)this.initOffsets(this.ticks.map((Z)=>+Z.value))}initOffsets(Z=[]){let J=0,q=0,Y,U;if(this.options.offset&&Z.length){if(Y=this.getDecimalForValue(Z[0]),Z.length===1)J=1-Y;else J=(this.getDecimalForValue(Z[1])-Y)/2;if(U=this.getDecimalForValue(Z[Z.length-1]),Z.length===1)q=U;else q=(U-this.getDecimalForValue(Z[Z.length-2]))/2}let K=Z.length<3?0.5:0.25;J=h5(J,0,K),q=h5(q,0,K),this._offsets={start:J,end:q,factor:1/(J+1+q)}}_generate(){let Z=this._adapter,J=this.min,q=this.max,Y=this.options,U=Y.time,K=U.unit||dw(U.minUnit,J,q,this._getLabelCapacity(J)),H=f0(Y.ticks.stepSize,1),M=K==="week"?U.isoWeekday:!1,W=p9(M)||M===!0,R={},w=J,z,L;if(W)w=+Z.startOf(w,"isoWeek",M);if(w=+Z.startOf(w,W?"day":K),Z.diff(q,J,K)>1e5*H)throw Error(J+" and "+q+" are too far apart with stepSize of "+H+" "+K);let P=Y.ticks.source==="data"&&this.getDataTimestamps();for(z=w,L=0;z<q;z=+Z.add(z,H,K),L++)pw(R,z,P);if(z===q||Y.bounds==="ticks"||L===1)pw(R,z,P);return Object.keys(R).sort(uw).map((I)=>+I)}getLabelForValue(Z){let J=this._adapter,q=this.options.time;if(q.tooltipFormat)return J.format(Z,q.tooltipFormat);return J.format(Z,q.displayFormats.datetime)}format(Z,J){let Y=this.options.time.displayFormats,U=this._unit,K=J||Y[U];return this._adapter.format(Z,K)}_tickFormatFunction(Z,J,q,Y){let U=this.options,K=U.ticks.callback;if(K)return W1(K,[Z,J,q],this);let H=U.time.displayFormats,M=this._unit,W=this._majorUnit,R=M&&H[M],w=W&&H[W],z=q[J],L=W&&w&&z&&z.major;return this._adapter.format(Z,Y||(L?w:R))}generateTickLabels(Z){let J,q,Y;for(J=0,q=Z.length;J<q;++J)Y=Z[J],Y.label=this._tickFormatFunction(Y.value,J,Z)}getDecimalForValue(Z){return Z===null?NaN:(Z-this.min)/(this.max-this.min)}getPixelForValue(Z){let J=this._offsets,q=this.getDecimalForValue(Z);return this.getPixelForDecimal((J.start+q)*J.factor)}getValueForPixel(Z){let J=this._offsets,q=this.getDecimalForPixel(Z)/J.factor-J.start;return this.min+q*(this.max-this.min)}_getLabelSize(Z){let J=this.options.ticks,q=this.ctx.measureText(Z).width,Y=X8(this.isHorizontal()?J.maxRotation:J.minRotation),U=Math.cos(Y),K=Math.sin(Y),H=this._resolveTickFontOptions(0).size;return{w:q*U+H*K,h:q*K+H*U}}_getLabelCapacity(Z){let J=this.options.time,q=J.displayFormats,Y=q[J.unit]||q.millisecond,U=this._tickFormatFunction(Z,0,cw(this,[Z],this._majorUnit),Y),K=this._getLabelSize(U),H=Math.floor(this.isHorizontal()?this.width/K.w:this.height/K.h)-1;return H>0?H:1}getDataTimestamps(){let Z=this._cache.data||[],J,q;if(Z.length)return Z;let Y=this.getMatchingVisibleMetas();if(this._normalized&&Y.length)return this._cache.data=Y[0].controller.getAllParsedValues(this);for(J=0,q=Y.length;J<q;++J)Z=Z.concat(Y[J].controller.getAllParsedValues(this));return this._cache.data=this.normalize(Z)}getLabelTimestamps(){let Z=this._cache.labels||[],J,q;if(Z.length)return Z;let Y=this.getLabels();for(J=0,q=Y.length;J<q;++J)Z.push(mw(this,Y[J]));return this._cache.labels=this._normalized?Z:this.normalize(Z)}normalize(Z){return JN(Z.sort(uw))}}function R2(Z,J,q){let Y=0,U=Z.length-1,K,H,M,W;if(q){if(J>=Z[Y].pos&&J<=Z[U].pos)({lo:Y,hi:U}=K6(Z,"pos",J));({pos:K,time:M}=Z[Y]),{pos:H,time:W}=Z[U]}else{if(J>=Z[Y].time&&J<=Z[U].time)({lo:Y,hi:U}=K6(Z,"time",J));({time:K,pos:M}=Z[Y]),{time:H,pos:W}=Z[U]}let R=H-K;return R?M+(W-M)*(J-K)/R:M}class RD extends fN{static id="timeseries";static defaults=fN.defaults;constructor(Z){super(Z);this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let Z=this._getTimestampsForTable(),J=this._table=this.buildLookupTable(Z);this._minPos=R2(J,this.min),this._tableRange=R2(J,this.max)-this._minPos,super.initOffsets(Z)}buildLookupTable(Z){let{min:J,max:q}=this,Y=[],U=[],K,H,M,W,R;for(K=0,H=Z.length;K<H;++K)if(W=Z[K],W>=J&&W<=q)Y.push(W);if(Y.length<2)return[{time:J,pos:0},{time:q,pos:1}];for(K=0,H=Y.length;K<H;++K)if(R=Y[K+1],M=Y[K-1],W=Y[K],Math.round((R+M)/2)!==W)U.push({time:W,pos:K/(H-1)});return U}_generate(){let Z=this.min,J=this.max,q=super.getDataTimestamps();if(!q.includes(Z)||!q.length)q.splice(0,0,Z);if(!q.includes(J)||q.length===1)q.push(J);return q.sort((Y,U)=>Y-U)}_getTimestampsForTable(){let Z=this._cache.all||[];if(Z.length)return Z;let J=this.getDataTimestamps(),q=this.getLabelTimestamps();if(J.length&&q.length)Z=this.normalize(J.concat(q));else Z=J.length?J:q;return Z=this._cache.all=Z,Z}getDecimalForValue(Z){return(R2(this._table,Z)-this._minPos)/this._tableRange}getValueForPixel(Z){let J=this._offsets,q=this.getDecimalForPixel(Z)/J.factor-J.start;return R2(this._table,q*this._tableRange+this._minPos,!0)}}var KJ=R0(e1(),1);var cN=R0(Fz(),1),Y4=R0(e1(),1);var Rz="label";function Tz(Z,J){if(typeof Z==="function")Z(J);else if(Z)Z.current=J}function zD(Z,J){let q=Z.options;if(q&&J)Object.assign(q,J)}function wz(Z,J){Z.labels=J}function zz(Z,J,q=Rz){let Y=[];Z.datasets=J.map((U)=>{let K=Z.datasets.find((H)=>H[q]===U[q]);if(!K||!U.data||Y.includes(K))return{...U};return Y.push(K),Object.assign(K,U),K})}function VD(Z,J=Rz){let q={labels:[],datasets:[]};return wz(q,Z.labels),zz(q,Z.datasets,J),q}function LD(Z,J){let{height:q=150,width:Y=300,redraw:U=!1,datasetIdKey:K,type:H,data:M,options:W,plugins:R=[],fallbackContent:w,updateMode:z,...L}=Z,P=Y4.useRef(null),I=Y4.useRef(null),A=()=>{if(!P.current)return;I.current=new I5(P.current,{type:H,data:VD(M,K),options:W&&{...W},plugins:R}),Tz(J,I.current)},E=()=>{if(Tz(J,null),I.current)I.current.destroy(),I.current=null};return Y4.useEffect(()=>{if(!U&&I.current&&W)zD(I.current,W)},[U,W]),Y4.useEffect(()=>{if(!U&&I.current)wz(I.current.config.data,M.labels)},[U,M.labels]),Y4.useEffect(()=>{if(!U&&I.current&&M.datasets)zz(I.current.config.data,M.datasets,K)},[U,M.datasets]),Y4.useEffect(()=>{if(!I.current)return;if(U)E(),setTimeout(A);else I.current.update(z)},[U,W,M.labels,M.datasets,z]),Y4.useEffect(()=>{if(!I.current)return;E(),setTimeout(A)},[H]),Y4.useEffect(()=>{return A(),()=>E()},[]),cN.jsx("canvas",{ref:P,role:"img",height:q,width:Y,...L,children:w})}var _D=Y4.forwardRef(LD);function Vz(Z,J){return I5.register(J),Y4.forwardRef((q,Y)=>cN.jsx(_D,{...q,ref:Y,type:Z}))}var E4=Vz("line",xN),P2=Vz("bar",hN);var E2=R0(e1(),1),Lz="(prefers-color-scheme: dark)";function CD(){if(typeof window>"u")return"light";return window.matchMedia(Lz).matches?"dark":"light"}function j$(){let[Z,J]=E2.useState(()=>CD());return E2.useEffect(()=>{let q=window.matchMedia(Lz),Y=()=>{J(q.matches?"dark":"light")};return Y(),q.addEventListener("change",Y),()=>q.removeEventListener("change",Y)},[]),Z}var PD=Math.pow(10,8)*24*60*60*1000,vv=-PD,I2=604800000,_z=86400000;var UJ=43200,lN=1440;var rN=Symbol.for("constructDateFrom");function T5(Z,J){if(typeof Z==="function")return Z(J);if(Z&&typeof Z==="object"&&rN in Z)return Z[rN](J);if(Z instanceof Date)return new Z.constructor(J);return new Date(J)}function t0(Z,J){return T5(J||Z,Z)}var ED={};function O$(){return ED}function H8(Z,J){let q=O$(),Y=J?.weekStartsOn??J?.locale?.options?.weekStartsOn??q.weekStartsOn??q.locale?.options?.weekStartsOn??0,U=t0(Z,J?.in),K=U.getDay(),H=(K<Y?7:0)+K-Y;return U.setDate(U.getDate()-H),U.setHours(0,0,0,0),U}function _7(Z,J){return H8(Z,{...J,weekStartsOn:1})}function j2(Z,J){let q=t0(Z,J?.in),Y=q.getFullYear(),U=T5(q,0);U.setFullYear(Y+1,0,4),U.setHours(0,0,0,0);let K=_7(U),H=T5(q,0);H.setFullYear(Y,0,4),H.setHours(0,0,0,0);let M=_7(H);if(q.getTime()>=K.getTime())return Y+1;else if(q.getTime()>=M.getTime())return Y;else return Y-1}function r9(Z){let J=t0(Z),q=new Date(Date.UTC(J.getFullYear(),J.getMonth(),J.getDate(),J.getHours(),J.getMinutes(),J.getSeconds(),J.getMilliseconds()));return q.setUTCFullYear(J.getFullYear()),+Z-+q}function R6(Z,...J){let q=T5.bind(null,Z||J.find((Y)=>typeof Y==="object"));return J.map(q)}function sN(Z,J){let q=t0(Z,J?.in);return q.setHours(0,0,0,0),q}function Cz(Z,J,q){let[Y,U]=R6(q?.in,Z,J),K=sN(Y),H=sN(U),M=+K-r9(K),W=+H-r9(H);return Math.round((M-W)/_z)}function Pz(Z,J){let q=j2(Z,J),Y=T5(J?.in||Z,0);return Y.setFullYear(q,0,4),Y.setHours(0,0,0,0),_7(Y)}function s9(Z,J){let q=+t0(Z)-+t0(J);if(q<0)return-1;else if(q>0)return 1;return q}function Ez(Z){return T5(Z,Date.now())}function Iz(Z){return Z instanceof Date||typeof Z==="object"&&Object.prototype.toString.call(Z)==="[object Date]"}function jz(Z){return!(!Iz(Z)&&typeof Z!=="number"||isNaN(+t0(Z)))}function Oz(Z,J,q){let[Y,U]=R6(q?.in,Z,J),K=Y.getFullYear()-U.getFullYear(),H=Y.getMonth()-U.getMonth();return K*12+H}function Dz(Z){return(J)=>{let Y=(Z?Math[Z]:Math.trunc)(J);return Y===0?0:Y}}function Az(Z,J){return+t0(Z)-+t0(J)}function Sz(Z,J){let q=t0(Z,J?.in);return q.setHours(23,59,59,999),q}function vz(Z,J){let q=t0(Z,J?.in),Y=q.getMonth();return q.setFullYear(q.getFullYear(),Y+1,0),q.setHours(23,59,59,999),q}function kz(Z,J){let q=t0(Z,J?.in);return+Sz(q,J)===+vz(q,J)}function bz(Z,J,q){let[Y,U,K]=R6(q?.in,Z,Z,J),H=s9(U,K),M=Math.abs(Oz(U,K));if(M<1)return 0;if(U.getMonth()===1&&U.getDate()>27)U.setDate(30);U.setMonth(U.getMonth()-H*M);let W=s9(U,K)===-H;if(kz(Y)&&M===1&&s9(Y,K)===1)W=!1;let R=H*(M-+W);return R===0?0:R}function yz(Z,J,q){let Y=Az(Z,J)/1000;return Dz(q?.roundingMethod)(Y)}function fz(Z,J){let q=t0(Z,J?.in);return q.setFullYear(q.getFullYear(),0,1),q.setHours(0,0,0,0),q}var ID={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},gz=(Z,J,q)=>{let Y,U=ID[Z];if(typeof U==="string")Y=U;else if(J===1)Y=U.one;else Y=U.other.replace("{{count}}",J.toString());if(q?.addSuffix)if(q.comparison&&q.comparison>0)return"in "+Y;else return Y+" ago";return Y};function O2(Z){return(J={})=>{let q=J.width?String(J.width):Z.defaultWidth;return Z.formats[q]||Z.formats[Z.defaultWidth]}}var jD={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},OD={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},DD={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},hz={date:O2({formats:jD,defaultWidth:"full"}),time:O2({formats:OD,defaultWidth:"full"}),dateTime:O2({formats:DD,defaultWidth:"full"})};var AD={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xz=(Z,J,q,Y)=>AD[Z];function n9(Z){return(J,q)=>{let Y=q?.context?String(q.context):"standalone",U;if(Y==="formatting"&&Z.formattingValues){let H=Z.defaultFormattingWidth||Z.defaultWidth,M=q?.width?String(q.width):H;U=Z.formattingValues[M]||Z.formattingValues[H]}else{let H=Z.defaultWidth,M=q?.width?String(q.width):Z.defaultWidth;U=Z.values[M]||Z.values[H]}let K=Z.argumentCallback?Z.argumentCallback(J):J;return U[K]}}var SD={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},vD={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},kD={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},bD={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},yD={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},fD={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},gD=(Z,J)=>{let q=Number(Z),Y=q%100;if(Y>20||Y<10)switch(Y%10){case 1:return q+"st";case 2:return q+"nd";case 3:return q+"rd"}return q+"th"},uz={ordinalNumber:gD,era:n9({values:SD,defaultWidth:"wide"}),quarter:n9({values:vD,defaultWidth:"wide",argumentCallback:(Z)=>Z-1}),month:n9({values:kD,defaultWidth:"wide"}),day:n9({values:bD,defaultWidth:"wide"}),dayPeriod:n9({values:yD,defaultWidth:"wide",formattingValues:fD,defaultFormattingWidth:"wide"})};function o9(Z){return(J,q={})=>{let Y=q.width,U=Y&&Z.matchPatterns[Y]||Z.matchPatterns[Z.defaultMatchWidth],K=J.match(U);if(!K)return null;let H=K[0],M=Y&&Z.parsePatterns[Y]||Z.parsePatterns[Z.defaultParseWidth],W=Array.isArray(M)?xD(M,(z)=>z.test(H)):hD(M,(z)=>z.test(H)),R;R=Z.valueCallback?Z.valueCallback(W):W,R=q.valueCallback?q.valueCallback(R):R;let w=J.slice(H.length);return{value:R,rest:w}}}function hD(Z,J){for(let q in Z)if(Object.prototype.hasOwnProperty.call(Z,q)&&J(Z[q]))return q;return}function xD(Z,J){for(let q=0;q<Z.length;q++)if(J(Z[q]))return q;return}function mz(Z){return(J,q={})=>{let Y=J.match(Z.matchPattern);if(!Y)return null;let U=Y[0],K=J.match(Z.parsePattern);if(!K)return null;let H=Z.valueCallback?Z.valueCallback(K[0]):K[0];H=q.valueCallback?q.valueCallback(H):H;let M=J.slice(U.length);return{value:H,rest:M}}}var uD=/^(\d+)(th|st|nd|rd)?/i,mD=/\d+/i,dD={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},pD={any:[/^b/i,/^(a|c)/i]},cD={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},lD={any:[/1/i,/2/i,/3/i,/4/i]},rD={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},sD={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},nD={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},oD={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},iD={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},aD={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},dz={ordinalNumber:mz({matchPattern:uD,parsePattern:mD,valueCallback:(Z)=>parseInt(Z,10)}),era:o9({matchPatterns:dD,defaultMatchWidth:"wide",parsePatterns:pD,defaultParseWidth:"any"}),quarter:o9({matchPatterns:cD,defaultMatchWidth:"wide",parsePatterns:lD,defaultParseWidth:"any",valueCallback:(Z)=>Z+1}),month:o9({matchPatterns:rD,defaultMatchWidth:"wide",parsePatterns:sD,defaultParseWidth:"any"}),day:o9({matchPatterns:nD,defaultMatchWidth:"wide",parsePatterns:oD,defaultParseWidth:"any"}),dayPeriod:o9({matchPatterns:iD,defaultMatchWidth:"any",parsePatterns:aD,defaultParseWidth:"any"})};var NJ={code:"en-US",formatDistance:gz,formatLong:hz,formatRelative:xz,localize:uz,match:dz,options:{weekStartsOn:0,firstWeekContainsDate:1}};function pz(Z,J){let q=t0(Z,J?.in);return Cz(q,fz(q))+1}function cz(Z,J){let q=t0(Z,J?.in),Y=+_7(q)-+Pz(q);return Math.round(Y/I2)+1}function D2(Z,J){let q=t0(Z,J?.in),Y=q.getFullYear(),U=O$(),K=J?.firstWeekContainsDate??J?.locale?.options?.firstWeekContainsDate??U.firstWeekContainsDate??U.locale?.options?.firstWeekContainsDate??1,H=T5(J?.in||Z,0);H.setFullYear(Y+1,0,K),H.setHours(0,0,0,0);let M=H8(H,J),W=T5(J?.in||Z,0);W.setFullYear(Y,0,K),W.setHours(0,0,0,0);let R=H8(W,J);if(+q>=+M)return Y+1;else if(+q>=+R)return Y;else return Y-1}function lz(Z,J){let q=O$(),Y=J?.firstWeekContainsDate??J?.locale?.options?.firstWeekContainsDate??q.firstWeekContainsDate??q.locale?.options?.firstWeekContainsDate??1,U=D2(Z,J),K=T5(J?.in||Z,0);return K.setFullYear(U,0,Y),K.setHours(0,0,0,0),H8(K,J)}function rz(Z,J){let q=t0(Z,J?.in),Y=+H8(q,J)-+lz(q,J);return Math.round(Y/I2)+1}function Q1(Z,J){let q=Z<0?"-":"",Y=Math.abs(Z).toString().padStart(J,"0");return q+Y}var M8={y(Z,J){let q=Z.getFullYear(),Y=q>0?q:1-q;return Q1(J==="yy"?Y%100:Y,J.length)},M(Z,J){let q=Z.getMonth();return J==="M"?String(q+1):Q1(q+1,2)},d(Z,J){return Q1(Z.getDate(),J.length)},a(Z,J){let q=Z.getHours()/12>=1?"pm":"am";switch(J){case"a":case"aa":return q.toUpperCase();case"aaa":return q;case"aaaaa":return q[0];case"aaaa":default:return q==="am"?"a.m.":"p.m."}},h(Z,J){return Q1(Z.getHours()%12||12,J.length)},H(Z,J){return Q1(Z.getHours(),J.length)},m(Z,J){return Q1(Z.getMinutes(),J.length)},s(Z,J){return Q1(Z.getSeconds(),J.length)},S(Z,J){let q=J.length,Y=Z.getMilliseconds(),U=Math.trunc(Y*Math.pow(10,q-3));return Q1(U,J.length)}};var i9={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},nN={G:function(Z,J,q){let Y=Z.getFullYear()>0?1:0;switch(J){case"G":case"GG":case"GGG":return q.era(Y,{width:"abbreviated"});case"GGGGG":return q.era(Y,{width:"narrow"});case"GGGG":default:return q.era(Y,{width:"wide"})}},y:function(Z,J,q){if(J==="yo"){let Y=Z.getFullYear(),U=Y>0?Y:1-Y;return q.ordinalNumber(U,{unit:"year"})}return M8.y(Z,J)},Y:function(Z,J,q,Y){let U=D2(Z,Y),K=U>0?U:1-U;if(J==="YY"){let H=K%100;return Q1(H,2)}if(J==="Yo")return q.ordinalNumber(K,{unit:"year"});return Q1(K,J.length)},R:function(Z,J){let q=j2(Z);return Q1(q,J.length)},u:function(Z,J){let q=Z.getFullYear();return Q1(q,J.length)},Q:function(Z,J,q){let Y=Math.ceil((Z.getMonth()+1)/3);switch(J){case"Q":return String(Y);case"QQ":return Q1(Y,2);case"Qo":return q.ordinalNumber(Y,{unit:"quarter"});case"QQQ":return q.quarter(Y,{width:"abbreviated",context:"formatting"});case"QQQQQ":return q.quarter(Y,{width:"narrow",context:"formatting"});case"QQQQ":default:return q.quarter(Y,{width:"wide",context:"formatting"})}},q:function(Z,J,q){let Y=Math.ceil((Z.getMonth()+1)/3);switch(J){case"q":return String(Y);case"qq":return Q1(Y,2);case"qo":return q.ordinalNumber(Y,{unit:"quarter"});case"qqq":return q.quarter(Y,{width:"abbreviated",context:"standalone"});case"qqqqq":return q.quarter(Y,{width:"narrow",context:"standalone"});case"qqqq":default:return q.quarter(Y,{width:"wide",context:"standalone"})}},M:function(Z,J,q){let Y=Z.getMonth();switch(J){case"M":case"MM":return M8.M(Z,J);case"Mo":return q.ordinalNumber(Y+1,{unit:"month"});case"MMM":return q.month(Y,{width:"abbreviated",context:"formatting"});case"MMMMM":return q.month(Y,{width:"narrow",context:"formatting"});case"MMMM":default:return q.month(Y,{width:"wide",context:"formatting"})}},L:function(Z,J,q){let Y=Z.getMonth();switch(J){case"L":return String(Y+1);case"LL":return Q1(Y+1,2);case"Lo":return q.ordinalNumber(Y+1,{unit:"month"});case"LLL":return q.month(Y,{width:"abbreviated",context:"standalone"});case"LLLLL":return q.month(Y,{width:"narrow",context:"standalone"});case"LLLL":default:return q.month(Y,{width:"wide",context:"standalone"})}},w:function(Z,J,q,Y){let U=rz(Z,Y);if(J==="wo")return q.ordinalNumber(U,{unit:"week"});return Q1(U,J.length)},I:function(Z,J,q){let Y=cz(Z);if(J==="Io")return q.ordinalNumber(Y,{unit:"week"});return Q1(Y,J.length)},d:function(Z,J,q){if(J==="do")return q.ordinalNumber(Z.getDate(),{unit:"date"});return M8.d(Z,J)},D:function(Z,J,q){let Y=pz(Z);if(J==="Do")return q.ordinalNumber(Y,{unit:"dayOfYear"});return Q1(Y,J.length)},E:function(Z,J,q){let Y=Z.getDay();switch(J){case"E":case"EE":case"EEE":return q.day(Y,{width:"abbreviated",context:"formatting"});case"EEEEE":return q.day(Y,{width:"narrow",context:"formatting"});case"EEEEEE":return q.day(Y,{width:"short",context:"formatting"});case"EEEE":default:return q.day(Y,{width:"wide",context:"formatting"})}},e:function(Z,J,q,Y){let U=Z.getDay(),K=(U-Y.weekStartsOn+8)%7||7;switch(J){case"e":return String(K);case"ee":return Q1(K,2);case"eo":return q.ordinalNumber(K,{unit:"day"});case"eee":return q.day(U,{width:"abbreviated",context:"formatting"});case"eeeee":return q.day(U,{width:"narrow",context:"formatting"});case"eeeeee":return q.day(U,{width:"short",context:"formatting"});case"eeee":default:return q.day(U,{width:"wide",context:"formatting"})}},c:function(Z,J,q,Y){let U=Z.getDay(),K=(U-Y.weekStartsOn+8)%7||7;switch(J){case"c":return String(K);case"cc":return Q1(K,J.length);case"co":return q.ordinalNumber(K,{unit:"day"});case"ccc":return q.day(U,{width:"abbreviated",context:"standalone"});case"ccccc":return q.day(U,{width:"narrow",context:"standalone"});case"cccccc":return q.day(U,{width:"short",context:"standalone"});case"cccc":default:return q.day(U,{width:"wide",context:"standalone"})}},i:function(Z,J,q){let Y=Z.getDay(),U=Y===0?7:Y;switch(J){case"i":return String(U);case"ii":return Q1(U,J.length);case"io":return q.ordinalNumber(U,{unit:"day"});case"iii":return q.day(Y,{width:"abbreviated",context:"formatting"});case"iiiii":return q.day(Y,{width:"narrow",context:"formatting"});case"iiiiii":return q.day(Y,{width:"short",context:"formatting"});case"iiii":default:return q.day(Y,{width:"wide",context:"formatting"})}},a:function(Z,J,q){let U=Z.getHours()/12>=1?"pm":"am";switch(J){case"a":case"aa":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"aaa":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return q.dayPeriod(U,{width:"narrow",context:"formatting"});case"aaaa":default:return q.dayPeriod(U,{width:"wide",context:"formatting"})}},b:function(Z,J,q){let Y=Z.getHours(),U;if(Y===12)U=i9.noon;else if(Y===0)U=i9.midnight;else U=Y/12>=1?"pm":"am";switch(J){case"b":case"bb":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"bbb":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return q.dayPeriod(U,{width:"narrow",context:"formatting"});case"bbbb":default:return q.dayPeriod(U,{width:"wide",context:"formatting"})}},B:function(Z,J,q){let Y=Z.getHours(),U;if(Y>=17)U=i9.evening;else if(Y>=12)U=i9.afternoon;else if(Y>=4)U=i9.morning;else U=i9.night;switch(J){case"B":case"BB":case"BBB":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"BBBBB":return q.dayPeriod(U,{width:"narrow",context:"formatting"});case"BBBB":default:return q.dayPeriod(U,{width:"wide",context:"formatting"})}},h:function(Z,J,q){if(J==="ho"){let Y=Z.getHours()%12;if(Y===0)Y=12;return q.ordinalNumber(Y,{unit:"hour"})}return M8.h(Z,J)},H:function(Z,J,q){if(J==="Ho")return q.ordinalNumber(Z.getHours(),{unit:"hour"});return M8.H(Z,J)},K:function(Z,J,q){let Y=Z.getHours()%12;if(J==="Ko")return q.ordinalNumber(Y,{unit:"hour"});return Q1(Y,J.length)},k:function(Z,J,q){let Y=Z.getHours();if(Y===0)Y=24;if(J==="ko")return q.ordinalNumber(Y,{unit:"hour"});return Q1(Y,J.length)},m:function(Z,J,q){if(J==="mo")return q.ordinalNumber(Z.getMinutes(),{unit:"minute"});return M8.m(Z,J)},s:function(Z,J,q){if(J==="so")return q.ordinalNumber(Z.getSeconds(),{unit:"second"});return M8.s(Z,J)},S:function(Z,J){return M8.S(Z,J)},X:function(Z,J,q){let Y=Z.getTimezoneOffset();if(Y===0)return"Z";switch(J){case"X":return nz(Y);case"XXXX":case"XX":return C7(Y);case"XXXXX":case"XXX":default:return C7(Y,":")}},x:function(Z,J,q){let Y=Z.getTimezoneOffset();switch(J){case"x":return nz(Y);case"xxxx":case"xx":return C7(Y);case"xxxxx":case"xxx":default:return C7(Y,":")}},O:function(Z,J,q){let Y=Z.getTimezoneOffset();switch(J){case"O":case"OO":case"OOO":return"GMT"+sz(Y,":");case"OOOO":default:return"GMT"+C7(Y,":")}},z:function(Z,J,q){let Y=Z.getTimezoneOffset();switch(J){case"z":case"zz":case"zzz":return"GMT"+sz(Y,":");case"zzzz":default:return"GMT"+C7(Y,":")}},t:function(Z,J,q){let Y=Math.trunc(+Z/1000);return Q1(Y,J.length)},T:function(Z,J,q){return Q1(+Z,J.length)}};function sz(Z,J=""){let q=Z>0?"-":"+",Y=Math.abs(Z),U=Math.trunc(Y/60),K=Y%60;if(K===0)return q+String(U);return q+String(U)+J+Q1(K,2)}function nz(Z,J){if(Z%60===0)return(Z>0?"-":"+")+Q1(Math.abs(Z)/60,2);return C7(Z,J)}function C7(Z,J=""){let q=Z>0?"-":"+",Y=Math.abs(Z),U=Q1(Math.trunc(Y/60),2),K=Q1(Y%60,2);return q+U+J+K}var oz=(Z,J)=>{switch(Z){case"P":return J.date({width:"short"});case"PP":return J.date({width:"medium"});case"PPP":return J.date({width:"long"});case"PPPP":default:return J.date({width:"full"})}},iz=(Z,J)=>{switch(Z){case"p":return J.time({width:"short"});case"pp":return J.time({width:"medium"});case"ppp":return J.time({width:"long"});case"pppp":default:return J.time({width:"full"})}},tD=(Z,J)=>{let q=Z.match(/(P+)(p+)?/)||[],Y=q[1],U=q[2];if(!U)return oz(Z,J);let K;switch(Y){case"P":K=J.dateTime({width:"short"});break;case"PP":K=J.dateTime({width:"medium"});break;case"PPP":K=J.dateTime({width:"long"});break;case"PPPP":default:K=J.dateTime({width:"full"});break}return K.replace("{{date}}",oz(Y,J)).replace("{{time}}",iz(U,J))},az={p:iz,P:tD};var eD=/^D+$/,$A=/^Y+$/,QA=["D","DD","YY","YYYY"];function tz(Z){return eD.test(Z)}function ez(Z){return $A.test(Z)}function $V(Z,J,q){let Y=ZA(Z,J,q);if(console.warn(Y),QA.includes(Z))throw RangeError(Y)}function ZA(Z,J,q){let Y=Z[0]==="Y"?"years":"days of the month";return`Use \`${Z.toLowerCase()}\` instead of \`${Z}\` (in \`${J}\`) for formatting ${Y} to the input \`${q}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var JA=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,GA=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qA=/^'([^]*?)'?$/,XA=/''/g,YA=/[a-zA-Z]/;function d4(Z,J,q){let Y=O$(),U=q?.locale??Y.locale??NJ,K=q?.firstWeekContainsDate??q?.locale?.options?.firstWeekContainsDate??Y.firstWeekContainsDate??Y.locale?.options?.firstWeekContainsDate??1,H=q?.weekStartsOn??q?.locale?.options?.weekStartsOn??Y.weekStartsOn??Y.locale?.options?.weekStartsOn??0,M=t0(Z,q?.in);if(!jz(M))throw RangeError("Invalid time value");let W=J.match(GA).map((w)=>{let z=w[0];if(z==="p"||z==="P"){let L=az[z];return L(w,U.formatLong)}return w}).join("").match(JA).map((w)=>{if(w==="''")return{isToken:!1,value:"'"};let z=w[0];if(z==="'")return{isToken:!1,value:UA(w)};if(nN[z])return{isToken:!0,value:w};if(z.match(YA))throw RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return{isToken:!1,value:w}});if(U.localize.preprocessor)W=U.localize.preprocessor(M,W);let R={firstWeekContainsDate:K,weekStartsOn:H,locale:U};return W.map((w)=>{if(!w.isToken)return w.value;let z=w.value;if(!q?.useAdditionalWeekYearTokens&&ez(z)||!q?.useAdditionalDayOfYearTokens&&tz(z))$V(z,J,String(Z));let L=nN[z[0]];return L(M,z,U.localize,R)}).join("")}function UA(Z){let J=Z.match(qA);if(!J)return Z;return J[1].replace(XA,"'")}function QV(Z,J,q){let Y=O$(),U=q?.locale??Y.locale??NJ,K=2520,H=s9(Z,J);if(isNaN(H))throw RangeError("Invalid time value");let M=Object.assign({},q,{addSuffix:q?.addSuffix,comparison:H}),[W,R]=R6(q?.in,...H>0?[J,Z]:[Z,J]),w=yz(R,W),z=(r9(R)-r9(W))/1000,L=Math.round((w-z)/60),P;if(L<2)if(q?.includeSeconds)if(w<5)return U.formatDistance("lessThanXSeconds",5,M);else if(w<10)return U.formatDistance("lessThanXSeconds",10,M);else if(w<20)return U.formatDistance("lessThanXSeconds",20,M);else if(w<40)return U.formatDistance("halfAMinute",0,M);else if(w<60)return U.formatDistance("lessThanXMinutes",1,M);else return U.formatDistance("xMinutes",1,M);else if(L===0)return U.formatDistance("lessThanXMinutes",1,M);else return U.formatDistance("xMinutes",L,M);else if(L<45)return U.formatDistance("xMinutes",L,M);else if(L<90)return U.formatDistance("aboutXHours",1,M);else if(L<lN){let I=Math.round(L/60);return U.formatDistance("aboutXHours",I,M)}else if(L<2520)return U.formatDistance("xDays",1,M);else if(L<UJ){let I=Math.round(L/lN);return U.formatDistance("xDays",I,M)}else if(L<UJ*2)return P=Math.round(L/UJ),U.formatDistance("aboutXMonths",P,M);if(P=bz(R,W),P<12){let I=Math.round(L/UJ);return U.formatDistance("xMonths",I,M)}else{let I=P%12,A=Math.trunc(P/12);if(I<3)return U.formatDistance("aboutXYears",A,M);else if(I<9)return U.formatDistance("overXYears",A,M);else return U.formatDistance("almostXYears",A+1,M)}}function ZV(Z,J){return QV(Z,Ez(Z),J)}var p5=R0(Z1(),1),U5=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],A2={dark:{legendLabel:"#94a3b8",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#64748b"},light:{legendLabel:"#475569",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#64748b"}};function S2(Z){let{chartTheme:J,showLegend:q,defaultLabel:Y,formatValue:U,footer:K}=Z;return{legend:{display:q,position:"top",align:"start",labels:{color:J.legendLabel,usePointStyle:!0,padding:16,font:{size:12},boxWidth:8}},tooltip:{backgroundColor:J.tooltipBackground,titleColor:J.tooltipTitle,bodyColor:J.tooltipBody,borderColor:J.tooltipBorder,borderWidth:1,padding:12,cornerRadius:8,callbacks:{label:(H)=>{let M=H.dataset.label??Y,W=H.parsed.y??0;return`${M}: ${U(W)}`},...K?{footer:K}:{}}}}}function v2(Z){let{chartTheme:J,formatY:q}=Z,Y={grid:{color:J.grid,drawBorder:!1},ticks:{color:J.tick,font:{size:11}}},U={...Y,ticks:{...Y.ticks,callback:(K)=>q(Number(K))},min:0};return{sharedScaleBase:Y,yScale:U}}function k2(Z){return{borderColor:Z,backgroundColor:`${Z}20`,fill:!0,tension:0,pointRadius:3,pointHoverRadius:4,borderWidth:2}}function b2(Z){return{backgroundColor:Z,borderColor:Z,borderWidth:0,borderRadius:3}}function a9(Z,J){return Z.datasets.map((q,Y)=>({label:q.label,data:q.data,...J(Y)}))}function y2(Z,J,q){if(Z.length===0)return{labels:[],datasets:[]};let{initBucket:Y,accumulate:U,bucketToValue:K}=q,H=new Map;for(let W of Z){let R=H.get(W.timestamp)??Y();U(R,W),H.set(W.timestamp,R)}let M=[...H.entries()].sort((W,R)=>W[0]-R[0]);return{labels:M.map(([W])=>d4(new Date(W),"MMM d")),datasets:[{label:J,data:M.map(([,W])=>K(W))}]}}function f2(Z,J){if(Z.length===0)return{labels:[],datasets:[]};let{topN:q=5,rankWeight:Y,initBucket:U,accumulate:K,bucketToValue:H}=J,M=new Map;for(let g of Z){let m=`${g.model}::${g.provider}`,o=M.get(m);if(o)o.weight+=Y(g);else M.set(m,{model:g.model,provider:g.provider,weight:Y(g)})}let R=[...M.entries()].sort((g,m)=>m[1].weight-g[1].weight).slice(0,q),w=new Set(R.map(([g])=>g)),z=new Map;for(let[,{model:g}]of R)z.set(g,(z.get(g)??0)+1);let L=new Map;for(let[g,{model:m,provider:o}]of R)L.set(g,(z.get(m)??0)>1?`${m} (${o})`:m);let P=[...new Set(Z.map((g)=>g.timestamp))].sort((g,m)=>g-m),I=R.map(([g])=>L.get(g)??g);if(Z.some((g)=>!w.has(`${g.model}::${g.provider}`)))I.push("Other");let E=new Map;for(let g of P)E.set(g,new Map);for(let g of Z){let m=`${g.model}::${g.provider}`,o=w.has(m)?L.get(m)??g.model:"Other",i=E.get(g.timestamp);if(!i)continue;let l=i.get(o)??U();K(l,g),i.set(o,l)}return{labels:P.map((g)=>d4(new Date(g),"MMM d")),datasets:I.map((g)=>({label:g,data:P.map((m)=>{let o=E.get(m)?.get(g);return o?H(o):0})}))}}function KA({byModel:Z,onChange:J}){return p5.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-sm)] p-0.5 border border-[var(--border-subtle)]",children:[p5.jsxDEV("button",{type:"button",onClick:()=>J(!1),className:`tab-btn text-xs ${!Z?"active":""}`,children:"All Models"},void 0,!1,void 0,this),p5.jsxDEV("button",{type:"button",onClick:()=>J(!0),className:`tab-btn text-xs ${Z?"active":""}`,children:"By Model"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function g2({title:Z,subtitle:J,empty:q,emptyMessage:Y,controls:U,byModel:K,onByModelChange:H,children:M}){return p5.jsxDEV("div",{className:"surface overflow-hidden",children:[p5.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)] flex items-center justify-between gap-4 flex-wrap",children:[p5.jsxDEV("div",{children:[p5.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Z},void 0,!1,void 0,this),p5.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:J},void 0,!1,void 0,this)]},void 0,!0,void 0,this),p5.jsxDEV("div",{className:"flex items-center gap-2 flex-wrap",children:[U,p5.jsxDEV(KA,{byModel:K,onChange:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),p5.jsxDEV("div",{className:"p-5 min-h-[320px]",children:q?p5.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:Y},void 0,!1,void 0,this):p5.jsxDEV("div",{className:"h-[280px]",children:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var t9=R0(Z1(),1);I5.register(u4,m4,YJ,d5,x4,E$,I$,P$,l9);var oN=[{value:"yelling",label:"Yelling"},{value:"profanity",label:"Profanity"},{value:"anguish",label:"Anguish (!!!, nooo, dude, ..)"},{value:"negation",label:"Negation (no/nope/wrong)"},{value:"repetition",label:"Repetition (i meant, still doesnt)"},{value:"blame",label:"Blame (you didnt, stop X-ing)"},{value:"frustration",label:"Frustration (neg + rep + blame)"},{value:"total",label:"All signals combined"}];function JV(Z){if(!Number.isFinite(Z))return"-";if(Z===0)return"0%";if(Math.abs(Z)<1)return`${Z.toFixed(1)}%`;return`${Z.toFixed(0)}%`}function GV(Z,J){if(J==="frustration")return Z.negation+Z.repetition+Z.blame;if(J==="total")return Z.yelling+Z.profanity+Z.anguish+Z.negation+Z.repetition+Z.blame;return Z[J]}function qV(Z,J){if(J<=0)return 0;return Z/J*100}function BA(Z,J){let q=oN.find((Y)=>Y.value===J)?.label??"Hits";return y2(Z,q,{initBucket:()=>({hits:0,messages:0}),accumulate:(Y,U)=>{Y.hits+=GV(U,J),Y.messages+=U.messages},bucketToValue:(Y)=>qV(Y.hits,Y.messages)})}function HA(Z,J){return f2(Z,{rankWeight:(q)=>q.messages,initBucket:()=>({hits:0,messages:0}),accumulate:(q,Y)=>{q.hits+=GV(Y,J),q.messages+=Y.messages},bucketToValue:(q)=>qV(q.hits,q.messages)})}function XV({behaviorSeries:Z}){let[J,q]=KJ.useState(!1),[Y,U]=KJ.useState("total"),K=j$(),H=A2[K],M=KJ.useMemo(()=>J?HA(Z,Y):BA(Z,Y),[Z,J,Y]),W=S2({chartTheme:H,showLegend:J,defaultLabel:"Hits",formatValue:JV}),{sharedScaleBase:R,yScale:w}=v2({chartTheme:H,formatY:JV}),z=oN.find((I)=>I.value===Y)?.label??"",L=t9.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-sm)] p-0.5 border border-[var(--border-subtle)]",children:oN.map((I)=>t9.jsxDEV("button",{type:"button",onClick:()=>U(I.value),className:`tab-btn text-xs ${Y===I.value?"active":""}`,children:I.label},I.value,!1,void 0,this))},void 0,!1,void 0,this),P;if(J){let I={labels:M.labels,datasets:a9(M,(E)=>k2(U5[E%U5.length]))};P=t9.jsxDEV(E4,{data:I,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:W,scales:{x:R,y:w}}},void 0,!1,void 0,this)}else{let I={labels:M.labels,datasets:a9(M,(E)=>b2(U5[E%U5.length]))},A={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:W,scales:{x:{...R,stacked:!0},y:{...w,stacked:!0}},layout:{padding:{top:8}}};P=t9.jsxDEV(P2,{data:I,options:A},void 0,!1,void 0,this)}return t9.jsxDEV(g2,{title:"User Tantrums",subtitle:`${z} as % of user messages per day`,empty:M.labels.length===0,emptyMessage:"No behavioral data yet. Sync to scan your sessions.",controls:L,byModel:J,onByModelChange:q,children:P},void 0,!1,void 0,this)}var i2=R0(e1(),1);var h2=R0(e1(),1);var YV=(Z)=>(Z.match(/\d+[xX]\d+|[A-Z]?[a-z]+|[A-Z]|\d+/g)??[]).join("-").toLowerCase();function UV(Z,J,q=[]){if(J==null)throw Error("[lucide]: iconNode is required when icon name is used");return{name:YV(Z),size:24,node:J,...q.length>0?{aliases:q}:{}}}var NV=(Z)=>{let J="",q=!1;for(let Y of Z){if(Y==="-"||Y==="_"||Y<=" "){q=J.length>0;continue}if(J.length===0)J+=Y.toLowerCase();else J+=q?Y.toUpperCase():Y;q=!1}return J};var KV=(Z)=>{let J=NV(Z);return J.charAt(0).toUpperCase()+J.slice(1)};var HJ=R0(e1(),1);var BJ=(...Z)=>{let J=new Set;for(let q of Z){if(typeof q!=="string")continue;for(let Y of q.split(/\s+/))if(Y)J.add(Y)}return[...J].join(" ")};var E7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function iN(Z){return Z!==null&&Z!==void 0}function BV(Z,J={}){let q=J.attributeNames??{},Y=(L)=>q[L]??L,U=Z.size??Z.width??E7.width,K=Z.size??Z.height??E7.height,H=Z.aliases?.filter((L)=>typeof L==="string"&&L.trim()!=="").map((L)=>`lucide-${L}`)??[],M=[...Z.name?[`lucide-${Z.name}`]:[],...H],W=J.className?.split(" ").filter(Boolean)??[],R=J.includeDefaultClasses===!1?BJ(...W):BJ("lucide",...M,...W),w=J.strokeWidth??E7["stroke-width"];if(J.absoluteStrokeWidth){let L=Number(w)*Number(Z.size??Z.width??E7.width)/Number(J.size??J.width??E7.width);if(Number.isFinite(L))w=L}return["svg",{...Object.entries(E7).reduce((L,[P,I])=>{return L[Y(P)]=I,L},{}),..."color"in J&&J.color&&{[Y("stroke")]:J.color},..."size"in J&&iN(J.size)&&{[Y("width")]:J.size,[Y("height")]:J.size},..."width"in J&&iN(J.width)&&{[Y("width")]:J.width},..."height"in J&&iN(J.height)&&{[Y("height")]:J.height},[Y("stroke-width")]:w,...R&&{[Y("class")]:R},[Y("viewBox")]:`0 0 ${U} ${K}`,...J.hasA11yProp===!1?{[Y("aria-hidden")]:"true"}:{},..."attributes"in J&&J.attributes},Z.node.map((L)=>{let[P,I,A]=L,E=J.nonScalingStroke?{[Y("vector-effect")]:"non-scaling-stroke",...I}:I;return A?[P,E,A]:[P,E]})]}function HV(Z,J={}){return BV(Z,{...J,attributeNames:{...J.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}var MV=(Z)=>{if(Z==null||typeof Z!=="object")return!1;for(let J in Z)if(Object.prototype.hasOwnProperty.call(Z,J)&&(J.startsWith("aria-")||J==="role"||J==="title")&&Z[J]!=null)return!0;return!1};var e9=R0(e1(),1),MA=e9.createContext({});var WV=()=>e9.useContext(MA);var FV=HJ.forwardRef(({color:Z,size:J,width:q,height:Y,strokeWidth:U,absoluteStrokeWidth:K,nonScalingStroke:H,className:M="",children:W,iconNode:R=[],icon:w={node:R,aliases:[],size:24},...z},L)=>{let{size:P=24,strokeWidth:I=2,absoluteStrokeWidth:A=!1,nonScalingStroke:E=!1,color:g="currentColor",className:m=""}=WV()??{},o=Boolean(W)||MV(z),[i,l,J0=[]]=HV(w,{color:Z??g,width:q??J??P,height:Y??J??P,strokeWidth:U??I,absoluteStrokeWidth:K??A,nonScalingStroke:H??E,className:BJ(m,M),hasA11yProp:o,attributes:z});return HJ.createElement(i,{ref:L,...l},[...J0.map(([p,a])=>HJ.createElement(p,a)),...Array.isArray(W)?W:[W]])});function g0(Z,J=[],q=[]){let Y=typeof Z==="string"?UV(Z,J,q):Z,U=h2.forwardRef(({className:K,...H},M)=>h2.createElement(FV,{ref:M,icon:Y,className:K,...H}));if(Y.name)U.displayName=KV(Y.name);return U}var TV={name:"chart-column",size:24,node:[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],aliases:["bar-chart-3"]};TV.node;var w6=g0(TV);var RV={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};RV.node;var z6=g0(RV);var wV={name:"circle-exclamation-point",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle","circle-alert"]};wV.node;var p4=g0(wV);var zV={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};zV.node;var V6=g0(zV);var VV={name:"file-braces",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],aliases:["file-json"]};VV.node;var L6=g0(VV);var LV={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]};LV.node;var I7=g0(LV);var _V={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};_V.node;var MJ=g0(_V);var CV={name:"chevron-up",size:24,node:[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]};CV.node;var WJ=g0(CV);var PV={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};PV.node;var FJ=g0(PV);var EV={name:"coins",size:24,node:[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]]};EV.node;var TJ=g0(EV);var IV={name:"database",size:24,node:[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]};IV.node;var RJ=g0(IV);var jV={name:"download",size:24,node:[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]};jV.node;var wJ=g0(jV);var OV={name:"gauge",size:24,node:[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]};OV.node;var zJ=g0(OV);var DV={name:"hash",size:24,node:[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]};DV.node;var VJ=g0(DV);var AV={name:"refresh-cw",size:24,node:[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]};AV.node;var LJ=g0(AV);var SV={name:"server",size:24,node:[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]};SV.node;var _J=g0(SV);var vV={name:"star",size:24,node:[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]};vV.node;var j7=g0(vV);var kV={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};kV.node;var CJ=g0(kV);var bV={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};bV.node;var PJ=g0(bV);var yV={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};yV.node;var O7=g0(yV);var E1=R0(Z1(),1),x2={dark:{legendLabel:"#cbd5e1",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#94a3b8"},light:{legendLabel:"#334155",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#475569"}};function W8(Z){return{borderColor:Z,backgroundColor:"transparent",tension:0.4,pointRadius:0,borderWidth:2}}function u2({timestamps:Z,values:J,color:q}){let Y={labels:Z.map((K)=>d4(new Date(K),"MMM d")),datasets:[{data:J,...W8(q)}]};return E1.jsxDEV(E4,{data:Y,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!1}},scales:{x:{display:!1},y:{display:!1,min:0}}}},void 0,!1,void 0,this)}function m2(Z){return{legend:{display:!0,position:"top",labels:{color:Z.legendLabel,usePointStyle:!0,padding:16,font:{size:12}}},tooltip:{backgroundColor:Z.tooltipBackground,titleColor:Z.tooltipTitle,bodyColor:Z.tooltipBody,borderColor:Z.tooltipBorder,borderWidth:1,cornerRadius:8}}}function fV(Z){return{x:{grid:{color:Z.grid},ticks:{color:Z.tick,font:{size:11}}},y:{grid:{color:Z.grid},ticks:{color:Z.tick,font:{size:11}},min:0}}}function gV(Z){return{x:{grid:{color:Z.grid},ticks:{color:Z.tick,font:{size:11}}},y:{type:"linear",display:!0,position:"left",grid:{color:Z.grid},ticks:{color:Z.tick,font:{size:11}}},y1:{type:"linear",display:!0,position:"right",grid:{drawOnChartArea:!1},ticks:{color:Z.tick,font:{size:11}}}}}function d2({title:Z,subtitle:J,children:q}){return E1.jsxDEV("div",{className:"surface overflow-hidden",children:[E1.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[E1.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Z},void 0,!1,void 0,this),J?E1.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:J},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),E1.jsxDEV("div",{className:"overflow-x-auto",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function WA(Z){if(Z==="right")return"text-right";if(Z==="center")return"text-center";return""}function p2({columns:Z,gridTemplate:J}){return E1.jsxDEV("div",{className:"grid gap-3 px-5 py-3 text-[var(--text-muted)] text-xs uppercase tracking-wider font-semibold",style:{gridTemplateColumns:J},children:[Z.map((q)=>E1.jsxDEV("div",{className:WA(q.align),children:q.label},q.label,!1,void 0,this)),E1.jsxDEV("div",{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function c2({children:Z}){return E1.jsxDEV("div",{className:"max-h-[calc(100vh-300px)] overflow-y-auto",children:Z},void 0,!1,void 0,this)}function l2({model:Z,provider:J}){return E1.jsxDEV("div",{children:[E1.jsxDEV("div",{className:"font-medium text-[var(--text-primary)]",children:Z},void 0,!1,void 0,this),E1.jsxDEV("div",{className:"text-xs text-[var(--text-muted)]",children:J},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function r2({gridTemplate:Z,cells:J,trendCell:q,isExpanded:Y,onToggle:U,expandedContent:K}){return E1.jsxDEV("div",{className:"border-t border-[var(--border-subtle)]",children:[E1.jsxDEV("button",{type:"button",onClick:U,className:"w-full bg-transparent border-none text-left px-5 py-3 cursor-pointer hover:bg-[var(--bg-hover)] transition-colors",children:E1.jsxDEV("div",{className:"grid gap-3 items-center",style:{gridTemplateColumns:Z},children:[J,E1.jsxDEV("div",{className:"h-10",children:q},void 0,!1,void 0,this),E1.jsxDEV("div",{className:"flex justify-center text-[var(--text-muted)]",children:Y?E1.jsxDEV(WJ,{size:16},void 0,!1,void 0,this):E1.jsxDEV(MJ,{size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Y?E1.jsxDEV("div",{className:"px-5 py-4 bg-[var(--bg-elevated)] border-t border-[var(--border-subtle)]",children:K},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function s2(){return E1.jsxDEV("div",{className:"text-[var(--text-muted)] text-center text-sm",children:"-"},void 0,!1,void 0,this)}function n2({message:Z="No data available"}){return E1.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:Z},void 0,!1,void 0,this)}var l0=R0(Z1(),1);I5.register(u4,m4,x4,d5,E$,I$,P$);var o2={yelling:"#fbbf24",profanity:"#f87171",anguish:"#a78bfa",frustration:"#22d3ee"},hV="2fr 0.9fr 0.8fr 0.8fr 0.8fr 0.9fr 0.8fr 140px 40px";function uV(Z){return Z.toLocaleString()}function xV(Z){if(Z.totalMessages===0)return 0;return(Z.totalYelling+Z.totalProfanity+Z.totalAnguish+Z.totalNegation+Z.totalRepetition+Z.totalBlame)/Z.totalMessages}function $Q(Z,J){if(J===0)return"-";let q=Z/J*100;if(q===0)return"0%";if(q<1)return`${q.toFixed(1)}%`;return`${q.toFixed(0)}%`}function mV({models:Z,behaviorSeries:J}){let[q,Y]=i2.useState(null),U=j$(),K=x2[U],H=i2.useMemo(()=>TA(J),[J]),M=[...Z].sort((W,R)=>{if(R.totalMessages!==W.totalMessages)return R.totalMessages-W.totalMessages;return xV(R)-xV(W)});return l0.jsxDEV(d2,{title:"Behavior by Model",subtitle:"How often each model elicited a tantrum — rates are per user message",children:[l0.jsxDEV(p2,{gridTemplate:hV,columns:[{label:"Model"},{label:"Messages",align:"right"},{label:"CAPS %",align:"right"},{label:"Profanity %",align:"right"},{label:"Anguish %",align:"right"},{label:"Frustration %",align:"right"},{label:"Hits %",align:"right"},{label:"Trend",align:"center"}]},void 0,!1,void 0,this),l0.jsxDEV(c2,{children:[M.map((W,R)=>{let w=`${W.model}::${W.provider}`,z=H.get(w)?.data??[],L=U5[R%U5.length],P=q===w,I=W.totalNegation+W.totalRepetition+W.totalBlame,A=W.totalYelling+W.totalProfanity+W.totalAnguish+I;return l0.jsxDEV(r2,{gridTemplate:hV,isExpanded:P,onToggle:()=>Y(P?null:w),cells:[l0.jsxDEV(l2,{model:W.model,provider:W.provider},"name",!1,void 0,this),l0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:uV(W.totalMessages)},"messages",!1,void 0,this),l0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:$Q(W.totalYelling,W.totalMessages)},"caps",!1,void 0,this),l0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:$Q(W.totalProfanity,W.totalMessages)},"profanity",!1,void 0,this),l0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:$Q(W.totalAnguish,W.totalMessages)},"anguish",!1,void 0,this),l0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:$Q(I,W.totalMessages)},"frustration",!1,void 0,this),l0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:$Q(A,W.totalMessages)},"hits",!1,void 0,this)],trendCell:z.length===0?l0.jsxDEV(s2,{},void 0,!1,void 0,this):l0.jsxDEV(u2,{timestamps:z.map((E)=>E.timestamp),values:z.map((E)=>E.total),color:L},void 0,!1,void 0,this),expandedContent:l0.jsxDEV("div",{className:"grid gap-4",style:{gridTemplateColumns:"220px 1fr"},children:[l0.jsxDEV("div",{className:"space-y-4 text-sm",children:[l0.jsxDEV(D7,{label:"Yelling (CAPS)",total:W.totalYelling,messages:W.totalMessages,valueClass:"text-[var(--accent-amber,#fbbf24)]"},void 0,!1,void 0,this),l0.jsxDEV(D7,{label:"Profanity",total:W.totalProfanity,messages:W.totalMessages,valueClass:"text-[var(--accent-red,#f87171)]"},void 0,!1,void 0,this),l0.jsxDEV(D7,{label:"Anguish (!!!, nooo, dude, ..)",total:W.totalAnguish,messages:W.totalMessages,valueClass:"text-[var(--accent-violet,#a78bfa)]"},void 0,!1,void 0,this),l0.jsxDEV(D7,{label:"Negation (no/nope/wrong)",total:W.totalNegation,messages:W.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),l0.jsxDEV(D7,{label:"Repetition (i meant, still doesnt)",total:W.totalRepetition,messages:W.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),l0.jsxDEV(D7,{label:"Blame (you didnt, stop X-ing)",total:W.totalBlame,messages:W.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),l0.jsxDEV(D7,{label:"Avg chars / msg",total:W.totalChars,messages:W.totalMessages,valueClass:"text-[var(--text-secondary)]",mode:"average"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l0.jsxDEV("div",{className:"h-[200px]",children:z.length===0?l0.jsxDEV(n2,{},void 0,!1,void 0,this):l0.jsxDEV(FA,{data:z,chartTheme:K},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},w,!1,void 0,this)}),M.length===0?l0.jsxDEV("div",{className:"border-t border-[var(--border-subtle)] px-5 py-8 text-center text-[var(--text-muted)] text-sm",children:"No user behavior recorded for this range yet."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function D7({label:Z,total:J,messages:q,valueClass:Y,mode:U="rate"}){let K=U==="rate"?"% of msgs":"Per msg",H=q>0?U==="rate"?$Q(J,q):(J/q).toFixed(0):"-";return l0.jsxDEV("div",{children:[l0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:Z},void 0,!1,void 0,this),l0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[l0.jsxDEV("div",{className:"flex items-center justify-between",children:[l0.jsxDEV("span",{children:"Total"},void 0,!1,void 0,this),l0.jsxDEV("span",{className:`font-mono ${Y}`,children:uV(J)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l0.jsxDEV("div",{className:"flex items-center justify-between",children:[l0.jsxDEV("span",{children:K},void 0,!1,void 0,this),l0.jsxDEV("span",{className:"font-mono",children:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function FA({data:Z,chartTheme:J}){let q={labels:Z.map((U)=>d4(new Date(U.timestamp),"MMM d")),datasets:[{label:"CAPS",data:Z.map((U)=>U.yelling),...W8(o2.yelling)},{label:"Profanity",data:Z.map((U)=>U.profanity),...W8(o2.profanity)},{label:"Anguish",data:Z.map((U)=>U.anguish),...W8(o2.anguish)},{label:"Frustration",data:Z.map((U)=>U.frustration),...W8(o2.frustration)}]},Y={responsive:!0,maintainAspectRatio:!1,plugins:m2(J),scales:fV(J)};return l0.jsxDEV(E4,{data:q,options:Y},void 0,!1,void 0,this)}function TA(Z){if(Z.length===0)return new Map;let J=[...new Set(Z.map((U)=>U.timestamp))].sort((U,K)=>U-K),q=new Map;for(let U of Z){let K=`${U.model}::${U.provider}`,H=q.get(K);if(!H)H=new Map,q.set(K,H);let M=H.get(U.timestamp)??{timestamp:U.timestamp,yelling:0,profanity:0,anguish:0,frustration:0,total:0};M.yelling+=U.yelling,M.profanity+=U.profanity,M.anguish+=U.anguish,M.frustration+=U.negation+U.repetition+U.blame,M.total=M.yelling+M.profanity+M.anguish+M.frustration,H.set(U.timestamp,M)}let Y=new Map;for(let[U,K]of q){let H=J.map((M)=>K.get(M)??{timestamp:M,yelling:0,profanity:0,anguish:0,frustration:0,total:0});Y.set(U,{data:H})}return Y}var dV=R0(e1(),1),ZQ=R0(Z1(),1);function QQ(Z){return Z.toLocaleString()}function a2(Z,J){if(J<=0)return;return`${(Z/J).toFixed(2)} / msg`}function pV({overall:Z,behaviorSeries:J}){let q=dV.useMemo(()=>{let H=new Map;for(let W of J){let R=`${W.model}::${W.provider}`,w=H.get(R),z=W.yelling+W.profanity+W.anguish+W.negation+W.repetition+W.blame;if(w)w.score+=z;else H.set(R,{model:W.model,provider:W.provider,score:z})}let M=null;for(let W of H.values())if(!M||W.score>M.score)M=W;return M},[J]),Y=Z.totalNegation+Z.totalRepetition+Z.totalBlame,U=Z.totalMessages,K=[{label:"Messages",value:QQ(Z.totalMessages),sub:U>0?"in selected range":void 0},{label:"Yelling",value:QQ(Z.totalYelling),sub:a2(Z.totalYelling,U)},{label:"Profanity hits",value:QQ(Z.totalProfanity),sub:a2(Z.totalProfanity,U)},{label:"Anguish",value:QQ(Z.totalAnguish),sub:a2(Z.totalAnguish,U)},{label:"Frustration",value:QQ(Y),sub:a2(Y,U)},{label:"Most yelled-at",value:q?.model??"—",sub:q?`${QQ(q.score)} hits`:void 0}];return ZQ.jsxDEV("div",{className:"grid grid-cols-2 sm:grid-cols-6 gap-4",children:K.map((H)=>ZQ.jsxDEV("div",{className:"surface px-4 py-3",children:[ZQ.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mb-1",children:H.label},void 0,!1,void 0,this),ZQ.jsxDEV("p",{className:"text-lg font-semibold text-[var(--text-primary)] truncate",title:H.value,children:H.value},void 0,!1,void 0,this),H.sub&&ZQ.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-0.5",children:H.sub},void 0,!1,void 0,this)]},H.label,!0,void 0,this))},void 0,!1,void 0,this)}var rV=R0(e1(),1);var aN=3600000,t2=24*aN,cV={"1h":{windowLabel:"the last hour",trendLabel:"1h Trend",bucketMs:aN,bucketCount:1,tickFormat:"HH:mm"},"24h":{windowLabel:"the last 24 hours",trendLabel:"24h Trend",bucketMs:aN,bucketCount:24,tickFormat:"HH:mm"},"7d":{windowLabel:"the last 7 days",trendLabel:"7d Trend",bucketMs:t2,bucketCount:7,tickFormat:"MMM d"},"30d":{windowLabel:"the last 30 days",trendLabel:"30d Trend",bucketMs:t2,bucketCount:30,tickFormat:"MMM d"},"90d":{windowLabel:"the last 90 days",trendLabel:"90d Trend",bucketMs:t2,bucketCount:90,tickFormat:"MMM d"},all:{windowLabel:"all time",trendLabel:"Trend",bucketMs:t2,bucketCount:0,tickFormat:"MMM d"}};function e2(Z){return cV[Z]}function lV(Z,J){return d4(new Date(Z),cV[J].tickFormat)}var F8=R0(Z1(),1);I5.register(u4,m4,x4,d5,E$,I$,P$,l9);var $X=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],RA={dark:{legendLabel:"#94a3b8",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#64748b"},light:{legendLabel:"#475569",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#64748b"}};function sV({modelSeries:Z,timeRange:J}){let q=rV.useMemo(()=>wA(Z),[Z]),Y=j$(),U=RA[Y],K=e2(J),H={labels:q.data.map((W)=>lV(W.timestamp,J)),datasets:q.series.map((W,R)=>({label:W,data:q.data.map((w)=>w[W]??0),borderColor:$X[R%$X.length],backgroundColor:`${$X[R%$X.length]}20`,fill:!0,tension:0.4,pointRadius:0,pointHoverRadius:4,borderWidth:2}))},M={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{legend:{position:"top",align:"start",labels:{color:U.legendLabel,usePointStyle:!0,padding:16,font:{size:12},boxWidth:8}},tooltip:{backgroundColor:U.tooltipBackground,titleColor:U.tooltipTitle,bodyColor:U.tooltipBody,borderColor:U.tooltipBorder,borderWidth:1,padding:12,cornerRadius:8,callbacks:{label:(W)=>{let R=W.dataset.label??"",w=W.parsed.y;return`${R}: ${(w??0).toFixed(1)}%`}}}},scales:{x:{grid:{color:U.grid,drawBorder:!1},ticks:{color:U.tick,font:{size:11}}},y:{grid:{color:U.grid,drawBorder:!1},ticks:{color:U.tick,font:{size:11},callback:(W)=>`${W}%`},min:0,max:100}}};return F8.jsxDEV("div",{className:"surface overflow-hidden",children:[F8.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[F8.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:"Model Preference"},void 0,!1,void 0,this),F8.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:["Share of requests over ",K.windowLabel]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),F8.jsxDEV("div",{className:"p-5 min-h-[320px]",children:q.data.length===0?F8.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:"No data available"},void 0,!1,void 0,this):F8.jsxDEV("div",{className:"h-[280px]",children:F8.jsxDEV(E4,{data:H,options:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function wA(Z,J=5){if(Z.length===0)return{data:[],series:[]};let q=new Map;for(let z of Z){let L=`${z.model}::${z.provider}`,P=q.get(L);if(P)P.total+=z.requests;else q.set(L,{model:z.model,provider:z.provider,total:z.requests})}let U=[...q.entries()].map(([z,L])=>({key:z,...L})).sort((z,L)=>L.total-z.total).slice(0,J),K=new Set(U.map((z)=>z.key)),H=new Map;for(let z of U)H.set(z.model,(H.get(z.model)??0)+1);let M=new Map;for(let z of U){let L=(H.get(z.model)??0)>1;M.set(z.key,L?`${z.model} (${z.provider})`:z.model)}let W=new Map;for(let z of Z){let L=`${z.model}::${z.provider}`,P=W.get(z.timestamp)??{timestamp:z.timestamp,total:0};P.total+=z.requests;let I=K.has(L)?M.get(L)??z.model:"Other";P[I]=(P[I]??0)+z.requests,W.set(z.timestamp,P)}let R=U.map((z)=>M.get(z.key)??z.model);if([...W.values()].some((z)=>(z.Other??0)>0))R.push("Other");return{data:[...W.values()].sort((z,L)=>(z.timestamp??0)-(L.timestamp??0)).map((z)=>{let L=z.total??0;for(let P of R)z[P]=L>0?(z[P]??0)/L*100:0;return z}),series:R}}var ZX=R0(e1(),1);var QX=R0(Z1(),1);I5.register(u4,m4,YJ,d5,x4,E$,I$,P$,l9);var zA={dark:"rgba(248, 250, 252, 0.7)",light:"rgba(15, 23, 42, 0.6)"};function VA(Z){return{id:"costBarLabels",afterDatasetsDraw(J){let{ctx:q}=J;if(!J.data.datasets[0])return;let U=J.getDatasetMeta(0);q.save(),q.font="11px system-ui, sans-serif",q.fillStyle=Z,q.textAlign="center",q.textBaseline="bottom";for(let K of U.data){let H=K.$context.parsed.y;if(!H)continue;let M=`$${Math.round(H)}`,{x:W,y:R}=K.getProps(["x","y"],!0);q.fillText(M,W,R-3)}q.restore()}}}function LA(Z){return y2(Z,"Cost",{initBucket:()=>({total:0}),accumulate:(J,q)=>{J.total+=q.cost},bucketToValue:(J)=>J.total})}function _A(Z){return f2(Z,{rankWeight:(J)=>J.cost,initBucket:()=>({total:0}),accumulate:(J,q)=>{J.total+=q.cost},bucketToValue:(J)=>J.total})}function nV({costSeries:Z}){let[J,q]=ZX.useState(!1),Y=j$(),U=A2[Y],K=ZX.useMemo(()=>J?_A(Z):LA(Z),[Z,J]),H=S2({chartTheme:U,showLegend:J,defaultLabel:"Cost",formatValue:(w)=>`$${Math.round(w)}`,footer:(w)=>{if(!J||w.length<2)return;let z=w.reduce((L,P)=>L+(P.parsed.y??0),0);return`Total: $${Math.round(z)}`}}),{sharedScaleBase:M,yScale:W}=v2({chartTheme:U,formatY:(w)=>`$${Math.round(w)}`}),R;if(J){let w={labels:K.labels,datasets:a9(K,(L)=>k2(U5[L%U5.length]))};R=QX.jsxDEV(E4,{data:w,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:H,scales:{x:M,y:W}}},void 0,!1,void 0,this)}else{let w={labels:K.labels,datasets:a9(K,(P)=>b2(U5[P%U5.length]))},z=VA(zA[Y]),L={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{...H,costBarLabels:{}},scales:{x:{...M,stacked:!0},y:{...W,stacked:!0}},layout:{padding:{top:24}}};R=QX.jsxDEV(P2,{data:w,options:L,plugins:[z]},void 0,!1,void 0,this)}return QX.jsxDEV(g2,{title:"Daily Cost",subtitle:"API spending over time",empty:K.labels.length===0,emptyMessage:"No cost data available",byModel:J,onByModelChange:q,children:R},void 0,!1,void 0,this)}var JQ=R0(Z1(),1);function tN(Z){return`$${Math.round(Z)}`}function oV({costSeries:Z}){let J=Z.reduce((W,R)=>W+R.cost,0),q=new Set(Z.map((W)=>W.timestamp)).size,Y=q>0?J/q:0,U=new Map;for(let W of Z)U.set(W.model,(U.get(W.model)??0)+W.cost);let K="",H=0;for(let[W,R]of U)if(R>H)K=W,H=R;let M=[{label:"Total",value:tN(J)},{label:"Avg / day",value:tN(Y)},{label:"Top model",value:K||"—",sub:K?tN(H):void 0}];return JQ.jsxDEV("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:M.map((W)=>JQ.jsxDEV("div",{className:"surface px-4 py-3",children:[JQ.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mb-1",children:W.label},void 0,!1,void 0,this),JQ.jsxDEV("p",{className:"text-lg font-semibold text-[var(--text-primary)] truncate",title:W.value,children:W.value},void 0,!1,void 0,this),W.sub&&JQ.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-0.5",children:W.sub},void 0,!1,void 0,this)]},W.label,!0,void 0,this))},void 0,!1,void 0,this)}var j5=R0(Z1(),1),CA=["overview","requests","errors","models","costs","behavior"],PA=[{label:"1h",value:"1h"},{label:"24h",value:"24h"},{label:"7d",value:"7d"},{label:"30d",value:"30d"},{label:"90d",value:"90d"},{label:"All",value:"all"}];function iV({activeTab:Z,onTabChange:J,onSync:q,syncing:Y,timeRange:U,onTimeRangeChange:K}){return j5.jsxDEV("header",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 pb-6 mb-8 border-b border-[var(--border-subtle)]",children:[j5.jsxDEV("div",{className:"flex items-center gap-3",children:[j5.jsxDEV("div",{className:"w-10 h-10 rounded-[var(--radius-md)] bg-gradient-to-br from-[var(--accent-pink)] to-[var(--accent-cyan)] flex items-center justify-center shadow-lg",children:j5.jsxDEV(I7,{className:"w-5 h-5 text-white"},void 0,!1,void 0,this)},void 0,!1,void 0,this),j5.jsxDEV("div",{children:[j5.jsxDEV("h1",{className:"text-xl font-semibold text-[var(--text-primary)]",children:"AI Usage"},void 0,!1,void 0,this),j5.jsxDEV("p",{className:"text-sm text-[var(--text-muted)]",children:"Statistics & Analytics"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),j5.jsxDEV("div",{className:"flex items-center gap-3",children:[j5.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-md)] p-1 border border-[var(--border-subtle)]",children:CA.map((H)=>j5.jsxDEV("button",{type:"button",onClick:()=>J(H),className:`tab-btn capitalize ${Z===H?"active":""}`,children:H},H,!1,void 0,this))},void 0,!1,void 0,this),j5.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-md)] p-1 border border-[var(--border-subtle)]",children:PA.map((H)=>j5.jsxDEV("button",{type:"button",onClick:()=>K(H.value),className:`tab-btn ${U===H.value?"active":""}`,title:H.value==="all"?"All time":`Last ${H.label}`,children:H.label},H.value,!1,void 0,this))},void 0,!1,void 0,this),j5.jsxDEV("button",{type:"button",onClick:q,disabled:Y,className:"btn btn-primary",children:[j5.jsxDEV(LJ,{size:16,className:Y?"spin":""},void 0,!1,void 0,this),Y?"Syncing...":"Sync"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var JX=R0(e1(),1);var r0=R0(Z1(),1);I5.register(u4,m4,x4,d5,E$,I$,P$);var aV="2fr 0.9fr 0.9fr 1fr 0.8fr 0.8fr 140px 40px";function tV({models:Z,performanceSeries:J,timeRange:q}){let[Y,U]=JX.useState(null),K=e2(q),H=JX.useMemo(()=>IA(J,K.bucketCount,K.bucketMs),[J,K.bucketCount,K.bucketMs]),M=j$(),W=x2[M],R=[...Z].sort((w,z)=>z.totalInputTokens+z.totalOutputTokens-(w.totalInputTokens+w.totalOutputTokens));return r0.jsxDEV(d2,{title:"Model Statistics",children:[r0.jsxDEV(p2,{gridTemplate:aV,columns:[{label:"Model"},{label:"Requests",align:"right"},{label:"Cost",align:"right"},{label:"Tokens",align:"right"},{label:"Tokens/s",align:"right"},{label:"TTFT",align:"right"},{label:K.trendLabel,align:"center"}]},void 0,!1,void 0,this),r0.jsxDEV(c2,{children:R.map((w,z)=>{let L=`${w.model}::${w.provider}`,I=H.get(L)?.data??[],A=U5[z%U5.length],E=Y===L,g=w.errorRate*100;return r0.jsxDEV(r2,{gridTemplate:aV,isExpanded:E,onToggle:()=>U(E?null:L),cells:[r0.jsxDEV(l2,{model:w.model,provider:w.provider},"name",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:w.totalRequests.toLocaleString()},"requests",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:["$",w.totalCost.toFixed(2)]},"cost",!0,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:(w.totalInputTokens+w.totalOutputTokens).toLocaleString()},"tokens",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:w.avgTokensPerSecond?.toFixed(1)??"-"},"tps",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:w.avgTtft?`${(w.avgTtft/1000).toFixed(2)}s`:"-"},"ttft",!1,void 0,this)],trendCell:I.length===0?r0.jsxDEV(s2,{},void 0,!1,void 0,this):r0.jsxDEV(u2,{timestamps:I.map((m)=>m.timestamp),values:I.map((m)=>m.avgTokensPerSecond??0),color:A},void 0,!1,void 0,this),expandedContent:r0.jsxDEV("div",{className:"grid gap-4",style:{gridTemplateColumns:"200px 1fr"},children:[r0.jsxDEV("div",{className:"space-y-4 text-sm",children:[r0.jsxDEV("div",{children:[r0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:"Quality"},void 0,!1,void 0,this),r0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:"Error rate"},void 0,!1,void 0,this),r0.jsxDEV("span",{className:g>5?"text-[var(--accent-red)]":"text-[var(--accent-green)]",children:[g.toFixed(1),"%"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:"Cache rate"},void 0,!1,void 0,this),r0.jsxDEV("span",{className:"text-[var(--accent-cyan)]",children:[(w.cacheRate*100).toFixed(1),"%"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{children:[r0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:"Latency"},void 0,!1,void 0,this),r0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:"Avg duration"},void 0,!1,void 0,this),r0.jsxDEV("span",{className:"font-mono",children:w.avgDuration?`${(w.avgDuration/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:"Avg TTFT"},void 0,!1,void 0,this),r0.jsxDEV("span",{className:"font-mono",children:w.avgTtft?`${(w.avgTtft/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{className:"h-[200px]",children:I.length===0?r0.jsxDEV(n2,{},void 0,!1,void 0,this):r0.jsxDEV(EA,{data:I,color:A,chartTheme:W},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},L,!1,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function EA({data:Z,color:J,chartTheme:q}){let Y={labels:Z.map((K)=>d4(new Date(K.timestamp),"MMM d")),datasets:[{label:"TTFT",data:Z.map((K)=>K.avgTtftSeconds??null),...W8("#fbbf24"),yAxisID:"y"},{label:"Tokens/s",data:Z.map((K)=>K.avgTokensPerSecond??null),...W8(J),yAxisID:"y1"}]},U={responsive:!0,maintainAspectRatio:!1,plugins:m2(q),scales:gV(q)};return r0.jsxDEV(E4,{data:Y,options:U},void 0,!1,void 0,this)}function IA(Z,J,q){let Y=Z.reduce((z,L)=>Math.max(z,L.timestamp),0),U=Y>0?Y:Math.floor(Date.now()/q)*q,K=new Set(Z.map((z)=>z.timestamp)),H=J>0?J:Math.max(1,K.size),M=U-(H-1)*q,W=Array.from({length:H},(z,L)=>M+L*q),R=new Map(W.map((z,L)=>[z,L])),w=new Map;for(let z of Z){let L=`${z.model}::${z.provider}`,P=w.get(L);if(!P)P={label:`${z.model} (${z.provider})`,data:W.map((A)=>({timestamp:A,avgTtftSeconds:null,avgTokensPerSecond:null,requests:0}))},w.set(L,P);let I=R.get(z.timestamp);if(I===void 0)continue;P.data[I]={timestamp:z.timestamp,avgTtftSeconds:z.avgTtft!==null?z.avgTtft/1000:null,avgTokensPerSecond:z.avgTokensPerSecond,requests:z.requests}}return w}var EJ=R0(e1(),1);var Y0=R0(Z1(),1);function eV({id:Z,onClose:J}){let[q,Y]=EJ.useState(null),[U,K]=EJ.useState(!0);if(EJ.useEffect(()=>{tT(Z).then(Y).catch(console.error).finally(()=>K(!1))},[Z]),!q&&U)return Y0.jsxDEV("div",{className:"fixed inset-0 bg-[var(--bg-overlay)] flex justify-center items-center z-[100]",children:Y0.jsxDEV("div",{className:"surface px-8 py-6",children:Y0.jsxDEV("div",{className:"flex items-center gap-3 text-[var(--text-secondary)]",children:[Y0.jsxDEV("div",{className:"w-5 h-5 border-2 border-[var(--border-default)] border-t-[var(--accent-cyan)] rounded-full spin"},void 0,!1,void 0,this),Y0.jsxDEV("span",{children:"Loading..."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!q)return null;return Y0.jsxDEV("div",{role:"presentation",className:"fixed inset-0 bg-[var(--bg-overlay)] backdrop-blur-sm flex justify-end z-[100] animate-fade-in",onClick:J,children:Y0.jsxDEV("div",{role:"dialog","aria-modal":"true",className:"w-[600px] max-w-full bg-[var(--bg-page)] h-full overflow-y-auto border-l border-[var(--border-subtle)] animate-slide-up",onClick:(H)=>H.stopPropagation(),children:[Y0.jsxDEV("div",{className:"sticky top-0 bg-[var(--bg-page)]/95 backdrop-blur border-b border-[var(--border-subtle)] px-6 py-4 flex justify-between items-center z-10",children:[Y0.jsxDEV("div",{className:"flex items-center gap-3",children:[Y0.jsxDEV("div",{className:"w-8 h-8 rounded-[var(--radius-sm)] bg-gradient-to-br from-[var(--accent-pink)]/20 to-[var(--accent-cyan)]/20 flex items-center justify-center",children:Y0.jsxDEV(L6,{size:16,className:"text-[var(--accent-cyan)]"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Y0.jsxDEV("h2",{className:"text-lg font-semibold text-[var(--text-primary)]",children:"Request Details"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("button",{type:"button",onClick:J,className:"p-2 rounded-[var(--radius-sm)] text-[var(--text-muted)] hover:text-[var(--text-primary)] hover:bg-[var(--bg-hover)] transition-colors",children:Y0.jsxDEV(PJ,{size:20},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"p-6 space-y-6",children:[Y0.jsxDEV("div",{className:"surface p-5",children:Y0.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[Y0.jsxDEV("div",{children:[Y0.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)]",children:q.model},void 0,!1,void 0,this),Y0.jsxDEV("div",{className:"text-sm text-[var(--text-muted)]",children:q.provider},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.errorMessage?Y0.jsxDEV("span",{className:"badge badge-error",children:"Error"},void 0,!1,void 0,this):Y0.jsxDEV("span",{className:"badge badge-success",children:"Success"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Y0.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[Y0.jsxDEV("div",{className:"surface p-4",children:[Y0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[Y0.jsxDEV(TJ,{size:14},void 0,!1,void 0,this),Y0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Cost"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:["$",q.usage.cost.total.toFixed(4)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"surface p-4",children:[Y0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[Y0.jsxDEV(j7,{size:14},void 0,!1,void 0,this),Y0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Premium Reqs"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:(q.usage.premiumRequests??0).toLocaleString()},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"surface p-4",children:[Y0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[Y0.jsxDEV(VJ,{size:14},void 0,!1,void 0,this),Y0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Tokens"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:q.usage.totalTokens.toLocaleString()},void 0,!1,void 0,this),Y0.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] mt-1",children:[q.usage.input.toLocaleString()," in · ",q.usage.output.toLocaleString()," out"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"surface p-4",children:[Y0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[Y0.jsxDEV(FJ,{size:14},void 0,!1,void 0,this),Y0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Duration"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:q.duration?`${(q.duration/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"surface p-4",children:[Y0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[Y0.jsxDEV(O7,{size:14},void 0,!1,void 0,this),Y0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"TTFT"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:q.ttft?`${(q.ttft/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),q.duration&&q.usage.output>0&&Y0.jsxDEV("div",{className:"surface p-4",children:[Y0.jsxDEV("div",{className:"flex items-center justify-between",children:[Y0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)]",children:[Y0.jsxDEV(zJ,{size:14},void 0,!1,void 0,this),Y0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Throughput"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("span",{className:"text-2xl font-bold gradient-text",children:(q.usage.output*1000/q.duration).toFixed(1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] mt-1 text-right",children:"tokens/second"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{children:[Y0.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)] mb-3",children:"Output"},void 0,!1,void 0,this),Y0.jsxDEV("pre",{className:"surface bg-[var(--bg-elevated)] p-4 rounded-[var(--radius-md)] text-sm font-mono text-[var(--text-secondary)] overflow-x-auto",children:JSON.stringify(q.output,null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Y0.jsxDEV("div",{children:[Y0.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)] mb-3",children:"Raw Metadata"},void 0,!1,void 0,this),Y0.jsxDEV("pre",{className:"surface bg-[var(--bg-elevated)] p-4 rounded-[var(--radius-md)] text-xs font-mono text-[var(--text-muted)] overflow-x-auto",children:JSON.stringify(q,null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var K1=R0(Z1(),1);function IJ({requests:Z,onSelect:J,title:q}){return K1.jsxDEV("div",{className:"surface overflow-hidden flex flex-col h-full",children:[K1.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:K1.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:q},void 0,!1,void 0,this)},void 0,!1,void 0,this),K1.jsxDEV("div",{className:"overflow-auto flex-1",children:K1.jsxDEV("table",{className:"w-full",children:[K1.jsxDEV("thead",{className:"bg-[var(--bg-elevated)] sticky top-0 z-10",children:K1.jsxDEV("tr",{children:[K1.jsxDEV("th",{className:"text-left py-3 px-4 table-header",children:"Model"},void 0,!1,void 0,this),K1.jsxDEV("th",{className:"text-left py-3 px-4 table-header",children:"Time"},void 0,!1,void 0,this),K1.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Tokens"},void 0,!1,void 0,this),K1.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Cost"},void 0,!1,void 0,this),K1.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Duration"},void 0,!1,void 0,this),K1.jsxDEV("th",{className:"text-center py-3 px-4 table-header",children:"Status"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),K1.jsxDEV("tbody",{children:[Z.map((Y)=>K1.jsxDEV("tr",{onClick:()=>J(Y),className:"table-row cursor-pointer border-b border-[var(--border-subtle)] last:border-b-0",children:[K1.jsxDEV("td",{className:"py-3 px-4",children:[K1.jsxDEV("div",{className:"font-medium text-[var(--text-primary)] text-sm",children:Y.model},void 0,!1,void 0,this),K1.jsxDEV("div",{className:"text-xs text-[var(--text-muted)]",children:Y.provider},void 0,!1,void 0,this)]},void 0,!0,void 0,this),K1.jsxDEV("td",{className:"py-3 px-4 text-sm text-[var(--text-secondary)]",children:ZV(Y.timestamp,{addSuffix:!0})},void 0,!1,void 0,this),K1.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:Y.usage.totalTokens.toLocaleString()},void 0,!1,void 0,this),K1.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:["$",Y.usage.cost.total.toFixed(4)]},void 0,!0,void 0,this),K1.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:Y.duration?`${(Y.duration/1000).toFixed(1)}s`:"-"},void 0,!1,void 0,this),K1.jsxDEV("td",{className:"py-3 px-4 text-center",children:Y.errorMessage?K1.jsxDEV(V6,{size:16,className:"text-[var(--accent-red)] mx-auto"},void 0,!1,void 0,this):K1.jsxDEV(z6,{size:16,className:"text-[var(--accent-green)] mx-auto"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},`${Y.sessionFile}-${Y.entryId}`,!0,void 0,this)),Z.length===0&&K1.jsxDEV("tr",{children:K1.jsxDEV("td",{colSpan:6,className:"py-12 text-center text-[var(--text-muted)] text-sm",children:"No requests found"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var T8=R0(Z1(),1),jA=new Intl.NumberFormat(void 0,{notation:"compact",maximumFractionDigits:1});function $L(Z){return jA.format(Z)}function eN(Z){return Z.toLocaleString()}var jJ=(Z)=>Z.totalInputTokens+Z.totalOutputTokens,OA=[{key:"requests",title:"Total Requests",icon:_J,color:"var(--accent-violet)",getValue:(Z)=>Z.totalRequests.toLocaleString(),getDetail:(Z)=>`${Z.successfulRequests.toLocaleString()} success · ${Z.failedRequests.toLocaleString()} errors`},{key:"cost",title:"Total Cost",icon:I7,color:"var(--accent-pink)",getValue:(Z)=>`$${Z.totalCost.toFixed(2)}`,getDetail:(Z)=>Z.totalRequests>0?`$${(Z.totalCost/Z.totalRequests).toFixed(4)} avg/req`:"-"},{key:"premiumRequests",title:"Premium Reqs",icon:j7,color:"var(--accent-amber)",getValue:(Z)=>eN(Z.totalPremiumRequests),getDetail:(Z)=>Z.totalRequests>0?`${(Z.totalPremiumRequests/Z.totalRequests*100).toFixed(1)}% of requests`:"-"},{key:"cache",title:"Cache Rate",icon:RJ,color:"var(--accent-cyan)",getValue:(Z)=>`${(Z.cacheRate*100).toFixed(1)}%`,getDetail:(Z)=>`${$L(Z.totalCacheReadTokens)} cached tokens`},{key:"inputTokens",title:"Input Tokens",icon:wJ,color:"var(--accent-violet)",getValue:(Z)=>eN(Z.totalInputTokens),getDetail:(Z)=>jJ(Z)>0?`${(Z.totalInputTokens/jJ(Z)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"outputTokens",title:"Output Tokens",icon:CJ,color:"var(--accent-pink)",getValue:(Z)=>eN(Z.totalOutputTokens),getDetail:(Z)=>jJ(Z)>0?`${(Z.totalOutputTokens/jJ(Z)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"errors",title:"Error Rate",icon:p4,color:"var(--accent-red)",getValue:(Z)=>`${(Z.errorRate*100).toFixed(1)}%`,getDetail:(Z)=>`${Z.failedRequests.toLocaleString()} failed requests`},{key:"tokens",title:"Tokens/Sec",icon:w6,color:"var(--accent-green)",getValue:(Z)=>Z.avgTokensPerSecond?.toFixed(1)??"-",getDetail:(Z)=>`${$L(jJ(Z))} total prompt+completion`},{key:"ttft",title:"TTFT",icon:O7,color:"var(--accent-amber)",getValue:(Z)=>Z.avgTtft?`${(Z.avgTtft/1000).toFixed(2)}s`:"-",getDetail:()=>"Time to first token"}];function QL({stats:Z}){return T8.jsxDEV("div",{className:"grid grid-cols-2 lg:grid-cols-3 xl:grid-cols-9 gap-4 mb-8",children:OA.map((J)=>{let q=J.icon;return T8.jsxDEV("div",{className:"stat-card group",children:[T8.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[T8.jsxDEV("span",{className:"text-sm font-medium text-[var(--text-secondary)]",children:J.title},void 0,!1,void 0,this),T8.jsxDEV("div",{className:"p-2 rounded-[var(--radius-sm)] transition-colors",style:{backgroundColor:`${J.color}15`},children:T8.jsxDEV(q,{size:18,style:{color:J.color},className:"transition-transform group-hover:scale-110"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T8.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)] mb-1",children:J.getValue(Z)},void 0,!1,void 0,this),T8.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] truncate",children:J.getDetail(Z)},void 0,!1,void 0,this)]},J.key,!0,void 0,this)})},void 0,!1,void 0,this)}var x0=R0(Z1(),1);function $K(){let[Z,J]=N5.useState(null),[q,Y]=N5.useState(null),[U,K]=N5.useState(null),[H,M]=N5.useState(null),[W,R]=N5.useState([]),[w,z]=N5.useState([]),[L,P]=N5.useState(null),[I,A]=N5.useState(!1),[E,g]=N5.useState("overview"),[m,o]=N5.useState("24h"),i=N5.useCallback(async()=>{try{let[p,a]=await Promise.all([iT(50),aT(50)]);R(p),z(a)}catch(p){console.error(p)}},[]),l=N5.useCallback(async()=>{try{if(E==="models"){Y(await nT(m));return}if(E==="costs"){K(await oT(m));return}if(E==="behavior"){M(await $R(m));return}if(E==="overview")J(await sT(m))}catch(p){console.error(p)}},[E,m]),J0=async()=>{A(!0);try{await eT(),await Promise.all([l(),i()])}finally{A(!1)}};return N5.useEffect(()=>{i();let p=setInterval(i,30000);return()=>clearInterval(p)},[i]),N5.useEffect(()=>{l();let p=setInterval(l,30000);return()=>clearInterval(p)},[l]),x0.jsxDEV("div",{className:"min-h-screen",children:x0.jsxDEV("div",{className:"max-w-[1600px] mx-auto px-6 py-6",children:[x0.jsxDEV(iV,{activeTab:E,onTabChange:g,onSync:J0,syncing:I,timeRange:m,onTimeRangeChange:o},void 0,!1,void 0,this),E==="overview"&&x0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:[Z?x0.jsxDEV(QL,{stats:Z.overall},void 0,!1,void 0,this):x0.jsxDEV(GX,{label:"Loading overview..."},void 0,!1,void 0,this),x0.jsxDEV("div",{className:"grid lg:grid-cols-2 gap-6",children:[x0.jsxDEV(IJ,{title:"Recent Requests",requests:W.slice(0,10),onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this),x0.jsxDEV(IJ,{title:"Recent Errors",requests:w.slice(0,10),onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),E==="requests"&&x0.jsxDEV("div",{className:"h-[calc(100vh-140px)] animate-fade-in",children:x0.jsxDEV(IJ,{title:"All Recent Requests",requests:W,onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this)},void 0,!1,void 0,this),E==="errors"&&x0.jsxDEV("div",{className:"h-[calc(100vh-140px)] animate-fade-in",children:x0.jsxDEV(IJ,{title:"Failed Requests",requests:w,onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this)},void 0,!1,void 0,this),E==="models"&&x0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:q?x0.jsxDEV(x0.Fragment,{children:[x0.jsxDEV(sV,{modelSeries:q.modelSeries,timeRange:m},void 0,!1,void 0,this),x0.jsxDEV(tV,{models:q.byModel,performanceSeries:q.modelPerformanceSeries,timeRange:m},void 0,!1,void 0,this)]},void 0,!0,void 0,this):x0.jsxDEV(GX,{label:"Loading models..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),E==="costs"&&x0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:U?x0.jsxDEV(x0.Fragment,{children:[x0.jsxDEV(oV,{costSeries:U.costSeries},void 0,!1,void 0,this),x0.jsxDEV(nV,{costSeries:U.costSeries},void 0,!1,void 0,this)]},void 0,!0,void 0,this):x0.jsxDEV(GX,{label:"Loading costs..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),E==="behavior"&&x0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:H?x0.jsxDEV(x0.Fragment,{children:[x0.jsxDEV(pV,{overall:H.overall,behaviorSeries:H.behaviorSeries},void 0,!1,void 0,this),x0.jsxDEV(XV,{behaviorSeries:H.behaviorSeries},void 0,!1,void 0,this),x0.jsxDEV(mV,{models:H.byModel,behaviorSeries:H.behaviorSeries},void 0,!1,void 0,this)]},void 0,!0,void 0,this):x0.jsxDEV(GX,{label:"Loading behavior..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),L!==null&&x0.jsxDEV(eV,{id:L,onClose:()=>P(null)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function GX({label:Z}){return x0.jsxDEV("div",{className:"min-h-[180px] flex items-center justify-center",children:x0.jsxDEV("div",{className:"flex items-center gap-3 text-[var(--text-muted)]",children:[x0.jsxDEV("div",{className:"w-5 h-5 border-2 border-[var(--border-default)] border-t-[var(--accent-cyan)] rounded-full spin"},void 0,!1,void 0,this),x0.jsxDEV("span",{className:"text-sm",children:Z},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var JL=R0(Z1(),1),DA=ZL.createRoot(document.getElementById("root"));DA.render(JL.jsxDEV($K,{},void 0,!1,void 0,this));
|