@sayknow-cli/stats 0.5.11 → 0.5.13
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 +38 -38
- package/package.json +3 -3
package/dist/client/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var gP=Object.create;var{getPrototypeOf:hP,defineProperty:yw,getOwnPropertyNames:xP}=Object;var uP=Object.prototype.hasOwnProperty;function mP(Q){return this[Q]}var dP,pP,R0=(Q,J,q)=>{var Y=Q!=null&&typeof Q==="object";if(Y){var U=J?dP??=new WeakMap:pP??=new WeakMap,K=U.get(Q);if(K)return K}q=Q!=null?gP(hP(Q)):{};let H=J||!Q||!Q.__esModule?yw(q,"default",{value:Q,enumerable:!0}):q;for(let M of xP(Q))if(!uP.call(H,M))yw(H,M,{get:mP.bind(Q,M),enumerable:!0});if(Y)U.set(Q,H);return H};var Z6=(Q,J)=>()=>(J||Q((J={exports:{}}).exports,J),J.exports);var gw=Z6((cP)=>{(function(){function Q(){if(i=!1,a){var l=cP.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=cP.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(P);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(P);J0!==null;){if(J0.callback===null)Y(P);else if(J0.startTime<=l)Y(P),J0.sortIndex=J0.expirationTime,J(L,J0);else break;J0=q(P)}}function H(l){if(n=!1,K(l),!m)if(q(L)!==null)m=!0,a||(a=!0,w0());else{var J0=q(P);J0!==null&&F(H,J0.startTime-l)}}function M(){return i?!0:cP.unstable_now()-N0<d?!1:!0}function F(l,J0){Y0=r(function(){l(cP.unstable_now())},J0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),cP.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var R=performance;cP.unstable_now=function(){return R.now()}}else{var T=Date,z=T.now();cP.unstable_now=function(){return T.now()-z}}var L=[],P=[],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)};cP.unstable_IdlePriority=5,cP.unstable_ImmediatePriority=1,cP.unstable_LowPriority=4,cP.unstable_NormalPriority=3,cP.unstable_Profiling=null,cP.unstable_UserBlockingPriority=2,cP.unstable_cancelCallback=function(l){l.callback=null},cP.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},cP.unstable_getCurrentPriorityLevel=function(){return C},cP.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}},cP.unstable_requestPaint=function(){i=!0},cP.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}},cP.unstable_scheduleCallback=function(l,J0,K0){var d0=cP.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(P,l),q(L)===null&&l===q(P)&&(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},cP.unstable_shouldYield=M,cP.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=Z6((lP,mJ)=>{(function(){function Q(E,f){Object.defineProperty(Y.prototype,E,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",f[0],f[1])}})}function J(E){if(E===null||typeof E!=="object")return null;return E=PQ&&E[PQ]||E["@@iterator"],typeof E==="function"?E:null}function q(E,f){E=(E=E.constructor)&&(E.displayName||E.name)||"ReactClass";var s=E+"."+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,E),G0[s]=!0)}function Y(E,f,s){this.props=E,this.context=f,this.refs=B2,this.updater=s||j$}function U(){}function K(E,f,s){this.props=E,this.context=f,this.refs=B2,this.updater=s||j$}function H(){}function M(E){return""+E}function F(E){try{M(E);var f=!1}catch(q0){f=!0}if(f){f=console;var s=f.error,e=typeof Symbol==="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.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(E)}}function R(E){if(E==null)return null;if(typeof E==="function")return E.$$typeof===G7?null:E.displayName||E.name||null;if(typeof E==="string")return E;switch(E){case k0:return"Fragment";case o:return"Profiler";case S:return"StrictMode";case D1:return"Suspense";case I0:return"SuspenseList";case P4:return"Activity"}if(typeof E==="object")switch(typeof E.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),E.$$typeof){case d0:return"Portal";case H0:return E.displayName||"Context";case B0:return(E._context.displayName||"Context")+".Consumer";case b0:var f=E.render;return E=E.displayName,E||(E=f.displayName||f.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case f1:return f=E.displayName||null,f!==null?f:R(E.type)||"Memo";case N5:f=E._payload,E=E._init;try{return R(E(f))}catch(s){}}return null}function T(E){if(E===k0)return"<>";if(typeof E==="object"&&E!==null&&E.$$typeof===N5)return"<...>";try{var f=R(E);return f?"<"+f+">":"<...>"}catch(s){return"<...>"}}function z(){var E=j0.A;return E===null?null:E.getOwner()}function L(){return Error("react-stack-top-frame")}function P(E){if(D$.call(E,"key")){var f=Object.getOwnPropertyDescriptor(E,"key").get;if(f&&f.isReactWarning)return!1}return E.key!==void 0}function I(E,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(E,"key",{get:s,configurable:!0})}function A(){var E=R(this.type);return L6[E]||(L6[E]=!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.")),E=this.props.ref,E!==void 0?E:null}function C(E,f,s,e,q0,E0){var P0=s.ref;return E={$$typeof:K0,type:E,key:f,props:s,_owner:e},(P0!==void 0?P0:null)!==null?Object.defineProperty(E,"ref",{enumerable:!1,get:A}):Object.defineProperty(E,"ref",{enumerable:!1,value:null}),E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(E,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(E,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:q0}),Object.defineProperty(E,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:E0}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E}function y(E,f){return f=C(E.type,f,E.props,E._owner,E._debugStack,E._debugTask),E._store&&(f._store.validated=E._store.validated),f}function m(E){n(E)?E._store&&(E._store.validated=1):typeof E==="object"&&E!==null&&E.$$typeof===N5&&(E._payload.status==="fulfilled"?n(E._payload.value)&&E._payload.value._store&&(E._payload.value._store.validated=1):E._store&&(E._store.validated=1))}function n(E){return typeof E==="object"&&E!==null&&E.$$typeof===K0}function i(E){var f={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(s){return f[s]})}function r(E,f){return typeof E==="object"&&E!==null&&E.key!=null?(F(E.key),i(""+E.key)):f.toString(36)}function Q0(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status==="string"?E.then(H,H):(E.status="pending",E.then(function(f){E.status==="pending"&&(E.status="fulfilled",E.value=f)},function(f){E.status==="pending"&&(E.status="rejected",E.reason=f)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function p(E,f,s,e,q0){var E0=typeof E;if(E0==="undefined"||E0==="boolean")E=null;var P0=!1;if(E===null)P0=!0;else switch(E0){case"bigint":case"string":case"number":P0=!0;break;case"object":switch(E.$$typeof){case K0:case d0:P0=!0;break;case N5:return P0=E._init,p(P0(E._payload),f,s,e,q0)}}if(P0){P0=E,q0=q0(P0);var i0=e===""?"."+r(P0,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&&(P0&&P0.key===q0.key||F(q0.key)),s=y(q0,s+(q0.key==null||P0&&P0.key===q0.key?"":(""+q0.key).replace(S$,"$&/")+"/")+i0),e!==""&&P0!=null&&n(P0)&&P0.key==null&&P0._store&&!P0._store.validated&&(s._store.validated=2),q0=s),f.push(q0)),1}if(P0=0,i0=e===""?".":e+":",Y1(E))for(var F0=0;F0<E.length;F0++)e=E[F0],E0=i0+r(e,F0),P0+=p(e,f,s,E0,q0);else if(F0=J(E),typeof F0==="function")for(F0===E.entries&&(A$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),A$=!0),E=F0.call(E),F0=0;!(e=E.next()).done;)e=e.value,E0=i0+r(e,F0++),P0+=p(e,f,s,E0,q0);else if(E0==="object"){if(typeof E.then==="function")return p(Q0(E),f,s,e,q0);throw f=String(E),Error("Objects are not valid as a React child (found: "+(f==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":f)+"). If you meant to render a collection of children, use an array instead.")}return P0}function a(E,f,s){if(E==null)return E;var e=[],q0=0;return p(E,e,"","",function(E0){return f.call(s,E0,q0++)}),e}function Y0(E){if(E._status===-1){var f=E._ioInfo;f!=null&&(f.start=f.end=performance.now()),f=E._result;var s=f();if(s.then(function(q0){if(E._status===0||E._status===-1){E._status=1,E._result=q0;var E0=E._ioInfo;E0!=null&&(E0.end=performance.now()),s.status===void 0&&(s.status="fulfilled",s.value=q0)}},function(q0){if(E._status===0||E._status===-1){E._status=2,E._result=q0;var E0=E._ioInfo;E0!=null&&(E0.end=performance.now()),s.status===void 0&&(s.status="rejected",s.reason=q0)}}),f=E._ioInfo,f!=null){f.value=s;var e=s.displayName;typeof e==="string"&&(f.name=e)}E._status===-1&&(E._status=0,E._result=s)}if(E._status===1)return f=E._result,f===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
var gP=Object.create;var{getPrototypeOf:hP,defineProperty:yw,getOwnPropertyNames:xP}=Object;var uP=Object.prototype.hasOwnProperty;function mP(Q){return this[Q]}var dP,pP,R0=(Q,J,q)=>{var Y=Q!=null&&typeof Q==="object";if(Y){var U=J?dP??=new WeakMap:pP??=new WeakMap,K=U.get(Q);if(K)return K}q=Q!=null?gP(hP(Q)):{};let H=J||!Q||!Q.__esModule?yw(q,"default",{value:Q,enumerable:!0}):q;for(let M of xP(Q))if(!uP.call(H,M))yw(H,M,{get:mP.bind(Q,M),enumerable:!0});if(Y)U.set(Q,H);return H};var Z2=(Q,J)=>()=>(J||Q((J={exports:{}}).exports,J),J.exports);var gw=Z2((cP)=>{(function(){function Q(){if(i=!1,a){var l=cP.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=cP.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(P);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(P);J0!==null;){if(J0.callback===null)Y(P);else if(J0.startTime<=l)Y(P),J0.sortIndex=J0.expirationTime,J(L,J0);else break;J0=q(P)}}function H(l){if(n=!1,K(l),!m)if(q(L)!==null)m=!0,a||(a=!0,w0());else{var J0=q(P);J0!==null&&F(H,J0.startTime-l)}}function M(){return i?!0:cP.unstable_now()-N0<d?!1:!0}function F(l,J0){Y0=r(function(){l(cP.unstable_now())},J0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),cP.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var R=performance;cP.unstable_now=function(){return R.now()}}else{var T=Date,z=T.now();cP.unstable_now=function(){return T.now()-z}}var L=[],P=[],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)};cP.unstable_IdlePriority=5,cP.unstable_ImmediatePriority=1,cP.unstable_LowPriority=4,cP.unstable_NormalPriority=3,cP.unstable_Profiling=null,cP.unstable_UserBlockingPriority=2,cP.unstable_cancelCallback=function(l){l.callback=null},cP.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},cP.unstable_getCurrentPriorityLevel=function(){return C},cP.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}},cP.unstable_requestPaint=function(){i=!0},cP.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}},cP.unstable_scheduleCallback=function(l,J0,K0){var d0=cP.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(P,l),q(L)===null&&l===q(P)&&(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},cP.unstable_shouldYield=M,cP.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=Z2((lP,mJ)=>{(function(){function Q(E,f){Object.defineProperty(Y.prototype,E,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",f[0],f[1])}})}function J(E){if(E===null||typeof E!=="object")return null;return E=PQ&&E[PQ]||E["@@iterator"],typeof E==="function"?E:null}function q(E,f){E=(E=E.constructor)&&(E.displayName||E.name)||"ReactClass";var s=E+"."+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,E),G0[s]=!0)}function Y(E,f,s){this.props=E,this.context=f,this.refs=B6,this.updater=s||j$}function U(){}function K(E,f,s){this.props=E,this.context=f,this.refs=B6,this.updater=s||j$}function H(){}function M(E){return""+E}function F(E){try{M(E);var f=!1}catch(q0){f=!0}if(f){f=console;var s=f.error,e=typeof Symbol==="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.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(E)}}function R(E){if(E==null)return null;if(typeof E==="function")return E.$$typeof===G7?null:E.displayName||E.name||null;if(typeof E==="string")return E;switch(E){case k0:return"Fragment";case o:return"Profiler";case S:return"StrictMode";case D1:return"Suspense";case I0:return"SuspenseList";case P4:return"Activity"}if(typeof E==="object")switch(typeof E.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),E.$$typeof){case d0:return"Portal";case H0:return E.displayName||"Context";case B0:return(E._context.displayName||"Context")+".Consumer";case b0:var f=E.render;return E=E.displayName,E||(E=f.displayName||f.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case f1:return f=E.displayName||null,f!==null?f:R(E.type)||"Memo";case N5:f=E._payload,E=E._init;try{return R(E(f))}catch(s){}}return null}function T(E){if(E===k0)return"<>";if(typeof E==="object"&&E!==null&&E.$$typeof===N5)return"<...>";try{var f=R(E);return f?"<"+f+">":"<...>"}catch(s){return"<...>"}}function z(){var E=j0.A;return E===null?null:E.getOwner()}function L(){return Error("react-stack-top-frame")}function P(E){if(D$.call(E,"key")){var f=Object.getOwnPropertyDescriptor(E,"key").get;if(f&&f.isReactWarning)return!1}return E.key!==void 0}function I(E,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(E,"key",{get:s,configurable:!0})}function A(){var E=R(this.type);return L2[E]||(L2[E]=!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.")),E=this.props.ref,E!==void 0?E:null}function C(E,f,s,e,q0,E0){var P0=s.ref;return E={$$typeof:K0,type:E,key:f,props:s,_owner:e},(P0!==void 0?P0:null)!==null?Object.defineProperty(E,"ref",{enumerable:!1,get:A}):Object.defineProperty(E,"ref",{enumerable:!1,value:null}),E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(E,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(E,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:q0}),Object.defineProperty(E,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:E0}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E}function y(E,f){return f=C(E.type,f,E.props,E._owner,E._debugStack,E._debugTask),E._store&&(f._store.validated=E._store.validated),f}function m(E){n(E)?E._store&&(E._store.validated=1):typeof E==="object"&&E!==null&&E.$$typeof===N5&&(E._payload.status==="fulfilled"?n(E._payload.value)&&E._payload.value._store&&(E._payload.value._store.validated=1):E._store&&(E._store.validated=1))}function n(E){return typeof E==="object"&&E!==null&&E.$$typeof===K0}function i(E){var f={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(s){return f[s]})}function r(E,f){return typeof E==="object"&&E!==null&&E.key!=null?(F(E.key),i(""+E.key)):f.toString(36)}function Q0(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status==="string"?E.then(H,H):(E.status="pending",E.then(function(f){E.status==="pending"&&(E.status="fulfilled",E.value=f)},function(f){E.status==="pending"&&(E.status="rejected",E.reason=f)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function p(E,f,s,e,q0){var E0=typeof E;if(E0==="undefined"||E0==="boolean")E=null;var P0=!1;if(E===null)P0=!0;else switch(E0){case"bigint":case"string":case"number":P0=!0;break;case"object":switch(E.$$typeof){case K0:case d0:P0=!0;break;case N5:return P0=E._init,p(P0(E._payload),f,s,e,q0)}}if(P0){P0=E,q0=q0(P0);var i0=e===""?"."+r(P0,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&&(P0&&P0.key===q0.key||F(q0.key)),s=y(q0,s+(q0.key==null||P0&&P0.key===q0.key?"":(""+q0.key).replace(S$,"$&/")+"/")+i0),e!==""&&P0!=null&&n(P0)&&P0.key==null&&P0._store&&!P0._store.validated&&(s._store.validated=2),q0=s),f.push(q0)),1}if(P0=0,i0=e===""?".":e+":",Y1(E))for(var F0=0;F0<E.length;F0++)e=E[F0],E0=i0+r(e,F0),P0+=p(e,f,s,E0,q0);else if(F0=J(E),typeof F0==="function")for(F0===E.entries&&(A$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),A$=!0),E=F0.call(E),F0=0;!(e=E.next()).done;)e=e.value,E0=i0+r(e,F0++),P0+=p(e,f,s,E0,q0);else if(E0==="object"){if(typeof E.then==="function")return p(Q0(E),f,s,e,q0);throw f=String(E),Error("Objects are not valid as a React child (found: "+(f==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":f)+"). If you meant to render a collection of children, use an array instead.")}return P0}function a(E,f,s){if(E==null)return E;var e=[],q0=0;return p(E,e,"","",function(E0){return f.call(s,E0,q0++)}),e}function Y0(E){if(E._status===-1){var f=E._ioInfo;f!=null&&(f.start=f.end=performance.now()),f=E._result;var s=f();if(s.then(function(q0){if(E._status===0||E._status===-1){E._status=1,E._result=q0;var E0=E._ioInfo;E0!=null&&(E0.end=performance.now()),s.status===void 0&&(s.status="fulfilled",s.value=q0)}},function(q0){if(E._status===0||E._status===-1){E._status=2,E._result=q0;var E0=E._ioInfo;E0!=null&&(E0.end=performance.now()),s.status===void 0&&(s.status="rejected",s.reason=q0)}}),f=E._ioInfo,f!=null){f.value=s;var e=s.displayName;typeof e==="string"&&(f.name=e)}E._status===-1&&(E._status=0,E._result=s)}if(E._status===1)return f=E._result,f===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'))
|
|
@@ -10,11 +10,11 @@ Your code should look like:
|
|
|
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.`),E}function N0(){j0.asyncTransitions--}function w0(E){if(E6===null)try{var f=("require"+Math.random()).slice(0,7);E6=(mJ&&mJ[f]).call(mJ,"timers").setImmediate}catch(s){E6=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 E6(E)}function z0(E){return 1<E.length&&typeof AggregateError==="function"?AggregateError(E):E[0]}function C0(E,f){f!==P6-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. "),P6=f}function l(E,f,s){var e=j0.actQueue;if(e!==null)if(e.length!==0)try{J0(e),w0(function(){return l(E,f,s)});return}catch(q0){j0.thrownErrors.push(q0)}else j0.actQueue=null;0<j0.thrownErrors.length?(e=z0(j0.thrownErrors),j0.thrownErrors.length=0,s(e)):f(E)}function J0(E){if(!I6){I6=!0;var f=0;try{for(;f<E.length;f++){var s=E[f];do{j0.didUsePromise=!1;var e=s(!1);if(e!==null){if(j0.didUsePromise){E[f]=s,E.splice(0,f);return}s=e}else break}while(1)}E.length=0}catch(q0){E.splice(0,f+1),j0.thrownErrors.push(q0)}finally{I6=!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"),P4=Symbol.for("react.activity"),PQ=Symbol.iterator,G0={},j$={isMounted:function(){return!1},enqueueForceUpdate:function(E){q(E,"forceUpdate")},enqueueReplaceState:function(E){q(E,"replaceState")},enqueueSetState:function(E){q(E,"setState")}},V6=Object.assign,B2={};Object.freeze(B2),Y.prototype.isReactComponent={},Y.prototype.setState=function(E,f){if(typeof E!=="object"&&typeof E!=="function"&&E!=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,E,f,"setState")},Y.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"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(M2 in s1)s1.hasOwnProperty(M2)&&Q(M2,s1[M2]);U.prototype=Y.prototype,s1=K.prototype=new U,s1.constructor=K,V6(s1,Y.prototype),s1.isPureReactComponent=!0;var Y1=Array.isArray,G7=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},D$=Object.prototype.hasOwnProperty,H1=console.createTask?console.createTask:function(){return null};s1={react_stack_bottom_frame:function(E){return E()}};var CQ,m4,L6={},_6=s1.react_stack_bottom_frame.bind(s1,L)(),Z3=H1(T(L)),A$=!1,S$=/\/+/g,H2=typeof reportError==="function"?reportError:function(E){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var f=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E==="object"&&E!==null&&typeof E.message==="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(f))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",E);return}console.error(E)},IQ=!1,E6=null,P6=0,C6=!1,I6=!1,J7=typeof queueMicrotask==="function"?function(E){queueMicrotask(function(){return queueMicrotask(E)})}:w0;s1=Object.freeze({__proto__:null,c:function(E){return d().useMemoCache(E)}});var M2={map:a,forEach:function(E,f,s){a(E,function(){f.apply(this,arguments)},s)},count:function(E){var f=0;return a(E,function(){f++}),f},toArray:function(E){return a(E,function(f){return f})||[]},only:function(E){if(!n(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};lP.Activity=P4,lP.Children=M2,lP.Component=Y,lP.Fragment=k0,lP.Profiler=o,lP.PureComponent=K,lP.StrictMode=S,lP.Suspense=D1,lP.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j0,lP.__COMPILER_RUNTIME=s1,lP.act=function(E){var f=j0.actQueue,s=P6;P6++;var e=j0.actQueue=f!==null?f:[],q0=!1;try{var E0=E()}catch(F0){j0.thrownErrors.push(F0)}if(0<j0.thrownErrors.length)throw C0(f,s),E=z0(j0.thrownErrors),j0.thrownErrors.length=0,E;if(E0!==null&&typeof E0==="object"&&typeof E0.then==="function"){var P0=E0;return J7(function(){q0||C6||(C6=!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,P0.then(function(d5){if(C0(f,s),s===0){try{J0(e),w0(function(){return l(d5,F0,K5)})}catch(q7){j0.thrownErrors.push(q7)}if(0<j0.thrownErrors.length){var F2=z0(j0.thrownErrors);j0.thrownErrors.length=0,K5(F2)}}else F0(d5)},function(d5){C0(f,s),0<j0.thrownErrors.length?(d5=z0(j0.thrownErrors),j0.thrownErrors.length=0,K5(d5)):K5(d5)})}}}var i0=E0;if(C0(f,s),s===0&&(J0(e),e.length!==0&&J7(function(){q0||C6||(C6=!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 E=z0(j0.thrownErrors),j0.thrownErrors.length=0,E;return{then:function(F0,K5){q0=!0,s===0?(j0.actQueue=e,w0(function(){return l(i0,F0,K5)})):F0(i0)}}},lP.cache=function(E){return function(){return E.apply(null,arguments)}},lP.cacheSignal=function(){return null},lP.captureOwnerStack=function(){var E=j0.getCurrentStack;return E===null?null:E()},lP.cloneElement=function(E,f,s){if(E===null||E===void 0)throw Error("The argument must be a React element, but you passed "+E+".");var e=V6({},E.props),q0=E.key,E0=E._owner;if(f!=null){var P0;$:{if(D$.call(f,"ref")&&(P0=Object.getOwnPropertyDescriptor(f,"ref").get)&&P0.isReactWarning){P0=!1;break $}P0=f.ref!==void 0}P0&&(E0=z()),P(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){P0=Array(i0);for(var F0=0;F0<i0;F0++)P0[F0]=arguments[F0+2];e.children=P0}e=C(E.type,q0,e,E0,E._debugStack,E._debugTask);for(q0=2;q0<arguments.length;q0++)m(arguments[q0]);return e},lP.createContext=function(E){return E={$$typeof:H0,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:B0,_context:E},E._currentRenderer=null,E._currentRenderer2=null,E},lP.createElement=function(E,f,s){for(var e=2;e<arguments.length;e++)m(arguments[e]);e={};var q0=null;if(f!=null)for(F0 in m4||!("__self"in f)||"key"in f||(m4=!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(f)&&(F(f.key),q0=""+f.key),f)D$.call(f,F0)&&F0!=="key"&&F0!=="__self"&&F0!=="__source"&&(e[F0]=f[F0]);var E0=arguments.length-2;if(E0===1)e.children=s;else if(1<E0){for(var P0=Array(E0),i0=0;i0<E0;i0++)P0[i0]=arguments[i0+2];Object.freeze&&Object.freeze(P0),e.children=P0}if(E&&E.defaultProps)for(F0 in E0=E.defaultProps,E0)e[F0]===void 0&&(e[F0]=E0[F0]);q0&&I(e,typeof E==="function"?E.displayName||E.name||"Unknown":E);var F0=1e4>j0.recentlyCreatedOwnerStacks++;return C(E,q0,e,z(),F0?Error("react-stack-top-frame"):_6,F0?H1(T(E)):Z3)},lP.createRef=function(){var E={current:null};return Object.seal(E),E},lP.forwardRef=function(E){E!=null&&E.$$typeof===f1?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof E!=="function"?console.error("forwardRef requires a render function but was given %s.",E===null?"null":typeof E):E.length!==0&&E.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",E.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),E!=null&&E.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var f={$$typeof:b0,render:E},s;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(e){s=e,E.name||E.displayName||(Object.defineProperty(E,"name",{value:e}),E.displayName=e)}}),f},lP.isValidElement=n,lP.lazy=function(E){E={_status:-1,_result:E};var f={$$typeof:N5,_payload:E,_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 E._ioInfo=s,f._debugInfo=[{awaited:s}],f},lP.memo=function(E,f){E==null&&console.error("memo: The first argument must be a component. Instead received: %s",E===null?"null":typeof E),f={$$typeof:f1,type:E,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,E.name||E.displayName||(Object.defineProperty(E,"name",{value:e}),E.displayName=e)}}),f},lP.startTransition=function(E){var f=j0.T,s={};s._updatedFibers=new Set,j0.T=s;try{var e=E(),q0=j0.S;q0!==null&&q0(s,e),typeof e==="object"&&e!==null&&typeof e.then==="function"&&(j0.asyncTransitions++,e.then(N0,N0),e.then(H,H2))}catch(E0){H2(E0)}finally{f===null&&s._updatedFibers&&(E=s._updatedFibers.size,s._updatedFibers.clear(),10<E&&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),j0.T=f}},lP.unstable_useCacheRefresh=function(){return d().useCacheRefresh()},lP.use=function(E){return d().use(E)},lP.useActionState=function(E,f,s){return d().useActionState(E,f,s)},lP.useCallback=function(E,f){return d().useCallback(E,f)},lP.useContext=function(E){var f=d();return E.$$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(E)},lP.useDebugValue=function(E,f){return d().useDebugValue(E,f)},lP.useDeferredValue=function(E,f){return d().useDeferredValue(E,f)},lP.useEffect=function(E,f){return E==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useEffect(E,f)},lP.useEffectEvent=function(E){return d().useEffectEvent(E)},lP.useId=function(){return d().useId()},lP.useImperativeHandle=function(E,f,s){return d().useImperativeHandle(E,f,s)},lP.useInsertionEffect=function(E,f){return E==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useInsertionEffect(E,f)},lP.useLayoutEffect=function(E,f){return E==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useLayoutEffect(E,f)},lP.useMemo=function(E,f){return d().useMemo(E,f)},lP.useOptimistic=function(E,f){return d().useOptimistic(E,f)},lP.useReducer=function(E,f,s){return d().useReducer(E,f,s)},lP.useRef=function(E){return d().useRef(E)},lP.useState=function(E){return d().useState(E)},lP.useSyncExternalStore=function(E,f,s){return d().useSyncExternalStore(E,f,s)},lP.useTransition=function(){return d().useTransition()},lP.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=Z6((rP)=>{var fU=R0(e1());(function(){function Q(){}function J(T){return""+T}function q(T,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:F,key:P==null?null:""+P,children:T,containerInfo:z,implementation:L}}function Y(T,z){if(T==="font")return"";if(typeof z==="string")return z==="use-credentials"?z:""}function U(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":'something with type "'+typeof T+'"'}function K(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":typeof T==="string"?JSON.stringify(T):typeof T==="number"?"`"+T+"`":'something with type "'+typeof T+'"'}function H(){var T=R.H;return T===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.`),E}function N0(){j0.asyncTransitions--}function w0(E){if(E2===null)try{var f=("require"+Math.random()).slice(0,7);E2=(mJ&&mJ[f]).call(mJ,"timers").setImmediate}catch(s){E2=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 E2(E)}function z0(E){return 1<E.length&&typeof AggregateError==="function"?AggregateError(E):E[0]}function C0(E,f){f!==P2-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. "),P2=f}function l(E,f,s){var e=j0.actQueue;if(e!==null)if(e.length!==0)try{J0(e),w0(function(){return l(E,f,s)});return}catch(q0){j0.thrownErrors.push(q0)}else j0.actQueue=null;0<j0.thrownErrors.length?(e=z0(j0.thrownErrors),j0.thrownErrors.length=0,s(e)):f(E)}function J0(E){if(!I2){I2=!0;var f=0;try{for(;f<E.length;f++){var s=E[f];do{j0.didUsePromise=!1;var e=s(!1);if(e!==null){if(j0.didUsePromise){E[f]=s,E.splice(0,f);return}s=e}else break}while(1)}E.length=0}catch(q0){E.splice(0,f+1),j0.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"),P4=Symbol.for("react.activity"),PQ=Symbol.iterator,G0={},j$={isMounted:function(){return!1},enqueueForceUpdate:function(E){q(E,"forceUpdate")},enqueueReplaceState:function(E){q(E,"replaceState")},enqueueSetState:function(E){q(E,"setState")}},V2=Object.assign,B6={};Object.freeze(B6),Y.prototype.isReactComponent={},Y.prototype.setState=function(E,f){if(typeof E!=="object"&&typeof E!=="function"&&E!=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,E,f,"setState")},Y.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"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(M6 in s1)s1.hasOwnProperty(M6)&&Q(M6,s1[M6]);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"),j0={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(E){return E()}};var CQ,m4,L2={},_2=s1.react_stack_bottom_frame.bind(s1,L)(),Z3=H1(T(L)),A$=!1,S$=/\/+/g,H6=typeof reportError==="function"?reportError:function(E){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var f=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E==="object"&&E!==null&&typeof E.message==="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(f))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",E);return}console.error(E)},IQ=!1,E2=null,P2=0,C2=!1,I2=!1,J7=typeof queueMicrotask==="function"?function(E){queueMicrotask(function(){return queueMicrotask(E)})}:w0;s1=Object.freeze({__proto__:null,c:function(E){return d().useMemoCache(E)}});var M6={map:a,forEach:function(E,f,s){a(E,function(){f.apply(this,arguments)},s)},count:function(E){var f=0;return a(E,function(){f++}),f},toArray:function(E){return a(E,function(f){return f})||[]},only:function(E){if(!n(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};lP.Activity=P4,lP.Children=M6,lP.Component=Y,lP.Fragment=k0,lP.Profiler=o,lP.PureComponent=K,lP.StrictMode=S,lP.Suspense=D1,lP.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j0,lP.__COMPILER_RUNTIME=s1,lP.act=function(E){var f=j0.actQueue,s=P2;P2++;var e=j0.actQueue=f!==null?f:[],q0=!1;try{var E0=E()}catch(F0){j0.thrownErrors.push(F0)}if(0<j0.thrownErrors.length)throw C0(f,s),E=z0(j0.thrownErrors),j0.thrownErrors.length=0,E;if(E0!==null&&typeof E0==="object"&&typeof E0.then==="function"){var P0=E0;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,P0.then(function(d5){if(C0(f,s),s===0){try{J0(e),w0(function(){return l(d5,F0,K5)})}catch(q7){j0.thrownErrors.push(q7)}if(0<j0.thrownErrors.length){var F6=z0(j0.thrownErrors);j0.thrownErrors.length=0,K5(F6)}}else F0(d5)},function(d5){C0(f,s),0<j0.thrownErrors.length?(d5=z0(j0.thrownErrors),j0.thrownErrors.length=0,K5(d5)):K5(d5)})}}}var i0=E0;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(() => ...)"))}),j0.actQueue=null),0<j0.thrownErrors.length)throw E=z0(j0.thrownErrors),j0.thrownErrors.length=0,E;return{then:function(F0,K5){q0=!0,s===0?(j0.actQueue=e,w0(function(){return l(i0,F0,K5)})):F0(i0)}}},lP.cache=function(E){return function(){return E.apply(null,arguments)}},lP.cacheSignal=function(){return null},lP.captureOwnerStack=function(){var E=j0.getCurrentStack;return E===null?null:E()},lP.cloneElement=function(E,f,s){if(E===null||E===void 0)throw Error("The argument must be a React element, but you passed "+E+".");var e=V2({},E.props),q0=E.key,E0=E._owner;if(f!=null){var P0;$:{if(D$.call(f,"ref")&&(P0=Object.getOwnPropertyDescriptor(f,"ref").get)&&P0.isReactWarning){P0=!1;break $}P0=f.ref!==void 0}P0&&(E0=z()),P(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){P0=Array(i0);for(var F0=0;F0<i0;F0++)P0[F0]=arguments[F0+2];e.children=P0}e=C(E.type,q0,e,E0,E._debugStack,E._debugTask);for(q0=2;q0<arguments.length;q0++)m(arguments[q0]);return e},lP.createContext=function(E){return E={$$typeof:H0,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:B0,_context:E},E._currentRenderer=null,E._currentRenderer2=null,E},lP.createElement=function(E,f,s){for(var e=2;e<arguments.length;e++)m(arguments[e]);e={};var q0=null;if(f!=null)for(F0 in m4||!("__self"in f)||"key"in f||(m4=!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(f)&&(F(f.key),q0=""+f.key),f)D$.call(f,F0)&&F0!=="key"&&F0!=="__self"&&F0!=="__source"&&(e[F0]=f[F0]);var E0=arguments.length-2;if(E0===1)e.children=s;else if(1<E0){for(var P0=Array(E0),i0=0;i0<E0;i0++)P0[i0]=arguments[i0+2];Object.freeze&&Object.freeze(P0),e.children=P0}if(E&&E.defaultProps)for(F0 in E0=E.defaultProps,E0)e[F0]===void 0&&(e[F0]=E0[F0]);q0&&I(e,typeof E==="function"?E.displayName||E.name||"Unknown":E);var F0=1e4>j0.recentlyCreatedOwnerStacks++;return C(E,q0,e,z(),F0?Error("react-stack-top-frame"):_2,F0?H1(T(E)):Z3)},lP.createRef=function(){var E={current:null};return Object.seal(E),E},lP.forwardRef=function(E){E!=null&&E.$$typeof===f1?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof E!=="function"?console.error("forwardRef requires a render function but was given %s.",E===null?"null":typeof E):E.length!==0&&E.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",E.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),E!=null&&E.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var f={$$typeof:b0,render:E},s;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(e){s=e,E.name||E.displayName||(Object.defineProperty(E,"name",{value:e}),E.displayName=e)}}),f},lP.isValidElement=n,lP.lazy=function(E){E={_status:-1,_result:E};var f={$$typeof:N5,_payload:E,_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 E._ioInfo=s,f._debugInfo=[{awaited:s}],f},lP.memo=function(E,f){E==null&&console.error("memo: The first argument must be a component. Instead received: %s",E===null?"null":typeof E),f={$$typeof:f1,type:E,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,E.name||E.displayName||(Object.defineProperty(E,"name",{value:e}),E.displayName=e)}}),f},lP.startTransition=function(E){var f=j0.T,s={};s._updatedFibers=new Set,j0.T=s;try{var e=E(),q0=j0.S;q0!==null&&q0(s,e),typeof e==="object"&&e!==null&&typeof e.then==="function"&&(j0.asyncTransitions++,e.then(N0,N0),e.then(H,H6))}catch(E0){H6(E0)}finally{f===null&&s._updatedFibers&&(E=s._updatedFibers.size,s._updatedFibers.clear(),10<E&&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),j0.T=f}},lP.unstable_useCacheRefresh=function(){return d().useCacheRefresh()},lP.use=function(E){return d().use(E)},lP.useActionState=function(E,f,s){return d().useActionState(E,f,s)},lP.useCallback=function(E,f){return d().useCallback(E,f)},lP.useContext=function(E){var f=d();return E.$$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(E)},lP.useDebugValue=function(E,f){return d().useDebugValue(E,f)},lP.useDeferredValue=function(E,f){return d().useDeferredValue(E,f)},lP.useEffect=function(E,f){return E==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useEffect(E,f)},lP.useEffectEvent=function(E){return d().useEffectEvent(E)},lP.useId=function(){return d().useId()},lP.useImperativeHandle=function(E,f,s){return d().useImperativeHandle(E,f,s)},lP.useInsertionEffect=function(E,f){return E==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useInsertionEffect(E,f)},lP.useLayoutEffect=function(E,f){return E==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useLayoutEffect(E,f)},lP.useMemo=function(E,f){return d().useMemo(E,f)},lP.useOptimistic=function(E,f){return d().useOptimistic(E,f)},lP.useReducer=function(E,f,s){return d().useReducer(E,f,s)},lP.useRef=function(E){return d().useRef(E)},lP.useState=function(E){return d().useState(E)},lP.useSyncExternalStore=function(E,f,s){return d().useSyncExternalStore(E,f,s)},lP.useTransition=function(){return d().useTransition()},lP.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=Z2((rP)=>{var fU=R0(e1());(function(){function Q(){}function J(T){return""+T}function q(T,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:F,key:P==null?null:""+P,children:T,containerInfo:z,implementation:L}}function Y(T,z){if(T==="font")return"";if(typeof z==="string")return z==="use-credentials"?z:""}function U(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":'something with type "'+typeof T+'"'}function K(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":typeof T==="string"?JSON.stringify(T):typeof T==="number"?"`"+T+"`":'something with type "'+typeof T+'"'}function H(){var T=R.H;return T===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.`),T}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"),R=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"),rP.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,rP.createPortal=function(T,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(T,z,null,L)},rP.flushSync=function(T){var z=R.T,L=M.p;try{if(R.T=null,M.p=2,T)return T()}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.")}},rP.preconnect=function(T,z){typeof T==="string"&&T?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(T)),typeof T==="string"&&(z?(z=z.crossOrigin,z=typeof z==="string"?z==="use-credentials"?z:"":void 0):z=null,M.d.C(T,z))},rP.prefetchDNS=function(T){if(typeof T!=="string"||!T)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(T));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 T==="string"&&M.d.D(T)},rP.preinit=function(T,z){if(typeof T==="string"&&T?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(T)),typeof T==="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(T,typeof z.precedence==="string"?z.precedence:void 0,{crossOrigin:P,integrity:I,fetchPriority:A}):L==="script"&&M.d.X(T,{crossOrigin:P,integrity:I,fetchPriority:A,nonce:typeof z.nonce==="string"?z.nonce:void 0})}},rP.preinitModule=function(T,z){var L="";if(typeof T==="string"&&T||(L+=" The `href` argument encountered was "+U(T)+"."),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,T)}if(typeof T==="string")if(typeof z==="object"&&z!==null){if(z.as==null||z.as==="script")L=Y(z.as,z.crossOrigin),M.d.M(T,{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(T)},rP.preload=function(T,z){var L="";if(typeof T==="string"&&T||(L+=" The `href` argument encountered was "+U(T)+"."),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 T==="string"&&typeof z==="object"&&z!==null&&typeof z.as==="string"){L=z.as;var P=Y(L,z.crossOrigin);M.d.L(T,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})}},rP.preloadModule=function(T,z){var L="";typeof T==="string"&&T||(L+=" The `href` argument encountered was "+U(T)+"."),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 T==="string"&&(z?(L=Y(z.as,z.crossOrigin),M.d.m(T,{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(T))},rP.requestFormReset=function(T){M.d.r(T)},rP.unstable_batchedUpdates=function(T,z){return T(z)},rP.useFormState=function(T,z,L){return H().useFormState(T,z,L)},rP.useFormStatus=function(){return H().useHostTransitionStatus()},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 uw=Z6((mS,xw)=>{var sP=R0(hw());xw.exports=sP});var mw=Z6((nP)=>{var a0=R0(gw()),k9=R0(e1()),yU=R0(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 R(){}function T(){}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 P($,Z){$.context===b2&&(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 q8: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>b8?console.error("Unexpected pop."):(Z!==MY[b8]&&console.error("Unexpected Fiber popped."),$.current=HY[b8],HY[b8]=null,MY[b8]=null,b8--)}function z0($,Z,G){b8++,HY[b8]=$.current,MY[b8]=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(j2,Z,$),z0(d7,$,$),z0(O2,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):n8:n8;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=n8}}G=G.toLowerCase(),G=MK(null,G),G={context:Z,ancestorInfo:G},w0(O2,$),z0(O2,G,$)}function J0($){w0(O2,$),w0(d7,$),w0(j2,$)}function K0(){return C0(O2.current)}function d0($){$.memoizedState!==null&&z0(gG,$,$);var Z=C0(O2.current),G=$.type,X=VM(Z.context,G);G=MK(Z.ancestorInfo,G),X={context:X,ancestorInfo:G},Z!==X&&(z0(d7,$,$),z0(O2,X,$))}function k0($){d7.current===$&&(w0(O2,$),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
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),T}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"),R=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"),rP.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,rP.createPortal=function(T,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(T,z,null,L)},rP.flushSync=function(T){var z=R.T,L=M.p;try{if(R.T=null,M.p=2,T)return T()}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.")}},rP.preconnect=function(T,z){typeof T==="string"&&T?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(T)),typeof T==="string"&&(z?(z=z.crossOrigin,z=typeof z==="string"?z==="use-credentials"?z:"":void 0):z=null,M.d.C(T,z))},rP.prefetchDNS=function(T){if(typeof T!=="string"||!T)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(T));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 T==="string"&&M.d.D(T)},rP.preinit=function(T,z){if(typeof T==="string"&&T?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(T)),typeof T==="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(T,typeof z.precedence==="string"?z.precedence:void 0,{crossOrigin:P,integrity:I,fetchPriority:A}):L==="script"&&M.d.X(T,{crossOrigin:P,integrity:I,fetchPriority:A,nonce:typeof z.nonce==="string"?z.nonce:void 0})}},rP.preinitModule=function(T,z){var L="";if(typeof T==="string"&&T||(L+=" The `href` argument encountered was "+U(T)+"."),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,T)}if(typeof T==="string")if(typeof z==="object"&&z!==null){if(z.as==null||z.as==="script")L=Y(z.as,z.crossOrigin),M.d.M(T,{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(T)},rP.preload=function(T,z){var L="";if(typeof T==="string"&&T||(L+=" The `href` argument encountered was "+U(T)+"."),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 T==="string"&&typeof z==="object"&&z!==null&&typeof z.as==="string"){L=z.as;var P=Y(L,z.crossOrigin);M.d.L(T,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})}},rP.preloadModule=function(T,z){var L="";typeof T==="string"&&T||(L+=" The `href` argument encountered was "+U(T)+"."),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 T==="string"&&(z?(L=Y(z.as,z.crossOrigin),M.d.m(T,{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(T))},rP.requestFormReset=function(T){M.d.r(T)},rP.unstable_batchedUpdates=function(T,z){return T(z)},rP.useFormState=function(T,z,L){return H().useFormState(T,z,L)},rP.useFormStatus=function(){return H().useHostTransitionStatus()},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 uw=Z2((mS,xw)=>{var sP=R0(hw());xw.exports=sP});var mw=Z2((nP)=>{var a0=R0(gw()),k9=R0(e1()),yU=R0(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 R(){}function T(){}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 P($,Z){$.context===b6&&(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 q8: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>b8?console.error("Unexpected pop."):(Z!==MY[b8]&&console.error("Unexpected Fiber popped."),$.current=HY[b8],HY[b8]=null,MY[b8]=null,b8--)}function z0($,Z,G){b8++,HY[b8]=$.current,MY[b8]=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(j6,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):n8:n8;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=n8}}G=G.toLowerCase(),G=MK(null,G),G={context:Z,ancestorInfo:G},w0(O6,$),z0(O6,G,$)}function J0($){w0(O6,$),w0(d7,$),w0(j6,$)}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
18
|
`)&&($=$.slice(29)),Z=$.indexOf(`
|
|
19
19
|
`),Z!==-1&&($=$.slice(Z+1)),Z=$.indexOf("react_stack_bottom_frame"),Z!==-1&&(Z=$.lastIndexOf(`
|
|
20
20
|
`,Z)),Z!==-1)$=$.slice(0,Z);else return"";return $}function b0($){if(FY===void 0)try{throw Error()}catch(G){var Z=G.stack.trim().match(/\n( *(at )?)/);FY=Z&&Z[1]||"",GF=-1<G.stack.indexOf(`
|
|
@@ -30,11 +30,11 @@ Error generating stack: `+t.message+`
|
|
|
30
30
|
`+N)}}else if($.debugStack!=null){var B=$.debugStack;($=$.owner)&&B&&(Z+=`
|
|
31
31
|
`+H0(B))}else break;var W=Z}catch(w){W=`
|
|
32
32
|
Error generating stack: `+w.message+`
|
|
33
|
-
`+w.stack}return W}function G0($,Z,G,X,N,B,W){var w=t5;j$($);try{return $!==null&&$._debugTask?$._debugTask.run(Z.bind(null,G,X,N,B,W)):Z(G,X,N,B,W)}finally{j$(w)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function j$($){x.getCurrentStack=$===null?null:PQ,X8=!1,t5=$}function V6($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function B2($){try{return s1($),!1}catch(Z){return!0}}function s1($){return""+$}function Y1($,Z){if(B2($))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,V6($)),s1($)}function G7($,Z){if(B2($))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,V6($)),s1($)}function j0($){if(B2($))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.",V6($)),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 $E==="function"&&ZE($),H5&&typeof H5.setStrictMode==="function")try{H5.setStrictMode(e$,$)}catch(Z){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",Z))}}function CQ($){return $>>>=0,$===0?32:31-(QE($)/GE|0)|0}function m4($){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 L6($,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=m4(X):(W&=w,W!==0?N=m4(W):G||(G=w&~$,G!==0&&(N=m4(G))))):(w=X&~B,w!==0?N=m4(w):W!==0?N=m4(W):G||(G=X&~$,G!==0&&(N=m4(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 _6($,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 H2($,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 j=_[k];if(j!==null)for(_[k]=null,k=0;k<j.length;k++){var g=j[k];g!==null&&(g.lane&=-536870913)}G&=~b}X!==0&&E6($,X,0),B!==0&&N===0&&$.tag!==0&&($.suspendedLanes|=B&~(W&~Z))}function E6($,Z,G){$.pendingLanes|=Z,$.suspendedLanes&=~Z;var X=31-w5(Z);$.entangledLanes|=Z,$.entanglements[X]=$.entanglements[X]|1073741824|G&261930}function P6($,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 C6($,Z){var G=Z&-Z;return G=(G&42)!==0?1:I6(G),(G&($.suspendedLanes|Z))!==0?0:G}function I6($){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(U8)for($=$.pendingUpdatersLaneMap;0<G;){var X=31-w5(G),N=1<<X;$[X].add(Z),G&=~N}}function M2($,Z){if(U8)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 E($){return $&=-$,e5!==0&&e5<$?D4!==0&&D4<$?($&134217727)!==0?N8:mG:D4:e5}function f(){var $=Z1.p;if($!==0)return $;return $=window.event,$===void 0?N8:dM($.type)}function s($,Z){var G=Z1.p;try{return Z1.p=$,Z()}finally{Z1.p=G}}function e($){delete $[G5],delete $[R5],delete $[LY],delete $[JE],delete $[qE]}function q0($){var Z=$[G5];if(Z)return Z;for(var G=$.parentNode;G;){if(Z=G[A2]||G[G5]){if(G=Z.alternate,Z.child!==null||G!==null&&G.child!==null)for($=jM($);$!==null;){if(G=$[G5])return G;$=jM($)}return Z}$=G,G=$.parentNode}return null}function E0($){if($=$[G5]||$[A2]){var Z=$.tag;if(Z===5||Z===6||Z===13||Z===31||Z===26||Z===27||Z===3)return $}return null}function P0($){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){d6[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),d6[$]=Z;var G=$.toLowerCase();_Y[G]=$,$==="onDoubleClick"&&(_Y.ondblclick=$);for($=0;$<Z.length;$++)qF.add(Z[$])}function F2($,Z){XE[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(j4.call(YF,$))return!0;if(j4.call(XF,$))return!1;if(YE.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 OQ($,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 jQ($,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 C8($,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 j0($),$;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){j0(W),G=""+W,B.call(this,W)}}),Object.defineProperty($,Z,{enumerable:X.enumerable}),{getValue:function(){return G},setValue:function(W){j0(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(UE,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",P4()||"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",P4()||"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 $=P4();return $?`
|
|
33
|
+
`+w.stack}return W}function G0($,Z,G,X,N,B,W){var w=t5;j$($);try{return $!==null&&$._debugTask?$._debugTask.run(Z.bind(null,G,X,N,B,W)):Z(G,X,N,B,W)}finally{j$(w)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function j$($){x.getCurrentStack=$===null?null:PQ,X8=!1,t5=$}function V2($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function B6($){try{return s1($),!1}catch(Z){return!0}}function s1($){return""+$}function Y1($,Z){if(B6($))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(B6($))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 j0($){if(B6($))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 $E==="function"&&ZE($),H5&&typeof H5.setStrictMode==="function")try{H5.setStrictMode(e$,$)}catch(Z){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",Z))}}function CQ($){return $>>>=0,$===0?32:31-(QE($)/GE|0)|0}function m4($){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=m4(X):(W&=w,W!==0?N=m4(W):G||(G=w&~$,G!==0&&(N=m4(G))))):(w=X&~B,w!==0?N=m4(w):W!==0?N=m4(W):G||(G=X&~$,G!==0&&(N=m4(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 H6($,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 j=_[k];if(j!==null)for(_[k]=null,k=0;k<j.length;k++){var g=j[k];g!==null&&(g.lane&=-536870913)}G&=~b}X!==0&&E2($,X,0),B!==0&&N===0&&$.tag!==0&&($.suspendedLanes|=B&~(W&~Z))}function E2($,Z,G){$.pendingLanes|=Z,$.suspendedLanes&=~Z;var X=31-w5(Z);$.entangledLanes|=Z,$.entanglements[X]=$.entanglements[X]|1073741824|G&261930}function P2($,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(U8)for($=$.pendingUpdatersLaneMap;0<G;){var X=31-w5(G),N=1<<X;$[X].add(Z),G&=~N}}function M6($,Z){if(U8)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 E($){return $&=-$,e5!==0&&e5<$?D4!==0&&D4<$?($&134217727)!==0?N8:mG:D4:e5}function f(){var $=Z1.p;if($!==0)return $;return $=window.event,$===void 0?N8:dM($.type)}function s($,Z){var G=Z1.p;try{return Z1.p=$,Z()}finally{Z1.p=G}}function e($){delete $[G5],delete $[R5],delete $[LY],delete $[JE],delete $[qE]}function q0($){var Z=$[G5];if(Z)return Z;for(var G=$.parentNode;G;){if(Z=G[A6]||G[G5]){if(G=Z.alternate,Z.child!==null||G!==null&&G.child!==null)for($=jM($);$!==null;){if(G=$[G5])return G;$=jM($)}return Z}$=G,G=$.parentNode}return null}function E0($){if($=$[G5]||$[A6]){var Z=$.tag;if(Z===5||Z===6||Z===13||Z===31||Z===26||Z===27||Z===3)return $}return null}function P0($){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 F6($,Z){XE[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(j4.call(YF,$))return!0;if(j4.call(XF,$))return!1;if(YE.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 OQ($,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 jQ($,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 C8($,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 j0($),$;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){j0(W),G=""+W,B.call(this,W)}}),Object.defineProperty($,Z,{enumerable:X.enumerable}),{getValue:function(){return G},setValue:function(W){j0(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(UE,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",P4()||"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",P4()||"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 $=P4();return $?`
|
|
34
34
|
|
|
35
|
-
Check the render method of \``+$+"`.":""}function v$($,Z,G,X){if($=$.options,Z){Z={};for(var N=0;N<G.length;N++)Z["$"+G[N]]=!0;for(G=0;G<$.length;G++)N=Z.hasOwnProperty("$"+$[G].value),$[G].selected!==N&&($[G].selected=N),N&&X&&($[G].defaultSelected=!0)}else{G=""+X4(G),Z=null;for(N=0;N<$.length;N++){if($[N].value===G){$[N].selected=!0,X&&($[N].defaultSelected=!0);return}Z!==null||$[N].disabled||(Z=$[N])}Z!==null&&(Z.selected=!0)}}function qK($,Z){for($=0;$<FF.length;$++){var G=FF[$];if(Z[G]!=null){var X=c1(Z[G]);Z.multiple&&!X?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",G,JK()):!Z.multiple&&X&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",G,JK())}}Z.value===void 0||Z.defaultValue===void 0||MF||(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"),MF=!0)}function XK($,Z){Z.value===void 0||Z.defaultValue===void 0||WF||(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",P4()||"A component"),WF=!0),Z.children!=null&&Z.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function YK($,Z,G){if(Z!=null&&(Z=""+X4(Z),Z!==$.value&&($.value=Z),G==null)){$.defaultValue!==Z&&($.defaultValue=Z);return}$.defaultValue=G!=null?""+X4(G):""}function UK($,Z,G,X){if(Z==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=""),Z=G}G=X4(Z),$.defaultValue=G,X=$.textContent,X===G&&X!==""&&X!==null&&($.value=X),Q3($)}function NK($,Z){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-Z?NK($.children[0],Z):$}function p5($){return" "+" ".repeat($)}function k$($){return"+ "+" ".repeat($)}function
|
|
35
|
+
Check the render method of \``+$+"`.":""}function v$($,Z,G,X){if($=$.options,Z){Z={};for(var N=0;N<G.length;N++)Z["$"+G[N]]=!0;for(G=0;G<$.length;G++)N=Z.hasOwnProperty("$"+$[G].value),$[G].selected!==N&&($[G].selected=N),N&&X&&($[G].defaultSelected=!0)}else{G=""+X4(G),Z=null;for(N=0;N<$.length;N++){if($[N].value===G){$[N].selected=!0,X&&($[N].defaultSelected=!0);return}Z!==null||$[N].disabled||(Z=$[N])}Z!==null&&(Z.selected=!0)}}function qK($,Z){for($=0;$<FF.length;$++){var G=FF[$];if(Z[G]!=null){var X=c1(Z[G]);Z.multiple&&!X?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",G,JK()):!Z.multiple&&X&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",G,JK())}}Z.value===void 0||Z.defaultValue===void 0||MF||(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"),MF=!0)}function XK($,Z){Z.value===void 0||Z.defaultValue===void 0||WF||(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",P4()||"A component"),WF=!0),Z.children!=null&&Z.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function YK($,Z,G){if(Z!=null&&(Z=""+X4(Z),Z!==$.value&&($.value=Z),G==null)){$.defaultValue!==Z&&($.defaultValue=Z);return}$.defaultValue=G!=null?""+X4(G):""}function UK($,Z,G,X){if(Z==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=""),Z=G}G=X4(Z),$.defaultValue=G,X=$.textContent,X===G&&X!==""&&X!==null&&($.value=X),Q3($)}function NK($,Z){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-Z?NK($.children[0],Z):$}function p5($){return" "+" ".repeat($)}function k$($){return"+ "+" ".repeat($)}function O2($){return"- "+" ".repeat($)}function KK($){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 X7($,Z){return wF.test($)?($=JSON.stringify($),$.length>Z-2?8>Z?'{"..."}':"{"+$.slice(0,Z-7)+'..."}':"{"+$+"}"):$.length>Z?5>Z?'{"..."}':$.slice(0,Z-3)+"...":$}function AQ($,Z,G){var X=120-2*G;if(Z===null)return k$(G)+X7($,X)+`
|
|
36
36
|
`;if(typeof Z==="string"){for(var N=0;N<Z.length&&N<$.length&&Z.charCodeAt(N)===$.charCodeAt(N);N++);return N>X-8&&10<N&&($="..."+$.slice(N-8),Z="..."+Z.slice(N-8)),k$(G)+X7($,X)+`
|
|
37
|
-
`+
|
|
37
|
+
`+O2(G)+X7(Z,X)+`
|
|
38
38
|
`}return p5(G)+X7($,X)+`
|
|
39
39
|
`}function q3($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(Z,G){return G})}function Y7($,Z){switch(typeof $){case"string":return $=JSON.stringify($),$.length>Z?5>Z?'"..."':$.slice(0,Z-4)+'..."':$;case"object":if($===null)return"null";if(c1($))return"[...]";if($.$$typeof===J8)return(Z=a($.type))?"<"+Z+">":"<...>";var G=q3($);if(G==="Object"){G="",Z-=2;for(var X in $)if($.hasOwnProperty(X)){var N=JSON.stringify(X);if(N!=='"'+X+'"'&&(X=N),Z-=X.length-2,N=Y7($[X],15>Z?Z:15),Z-=N.length,0>Z){G+=G===""?"...":", ...";break}G+=(G===""?"":",")+X+":"+N}return"{"+G+"}"}return G;case"function":return(Z=$.displayName||$.name)?"function "+Z:"function";default:return String($)}}function b$($,Z){return typeof $!=="string"||wF.test($)?"{"+Y7($,Z-2)+"}":$.length>Z-2?5>Z?'"..."':'"'+$.slice(0,Z-5)+'..."':'"'+$+'"'}function X3($,Z,G){var X=120-G.length-$.length,N=[],B;for(B in Z)if(Z.hasOwnProperty(B)&&B!=="children"){var W=b$(Z[B],120-G.length-B.length-1);X-=B.length+W.length+2,N.push(B+"="+W)}return N.length===0?G+"<"+$+`>
|
|
40
40
|
`:0<X?G+"<"+$+" "+N.join(" ")+`>
|
|
@@ -43,15 +43,15 @@ Check the render method of \``+$+"`.":""}function v$($,Z,G,X){if($=$.options,Z){
|
|
|
43
43
|
`+G+" ")+`
|
|
44
44
|
`+G+`>
|
|
45
45
|
`}function JL($,Z,G){var X="",N=y0({},Z),B;for(B in $)if($.hasOwnProperty(B)){delete N[B];var W=120-2*G-B.length-2,w=Y7($[B],W);Z.hasOwnProperty(B)?(W=Y7(Z[B],W),X+=k$(G)+B+": "+w+`
|
|
46
|
-
`,X+=
|
|
46
|
+
`,X+=O2(G)+B+": "+W+`
|
|
47
47
|
`):X+=k$(G)+B+": "+w+`
|
|
48
|
-
`}for(var V in N)N.hasOwnProperty(V)&&($=Y7(N[V],120-2*G-V.length-2),X+=
|
|
48
|
+
`}for(var V in N)N.hasOwnProperty(V)&&($=Y7(N[V],120-2*G-V.length-2),X+=O2(G)+V+": "+$+`
|
|
49
49
|
`);return X}function qL($,Z,G,X){var N="",B=new Map;for(_ in G)G.hasOwnProperty(_)&&B.set(_.toLowerCase(),_);if(B.size===1&&B.has("children"))N+=X3($,Z,p5(X));else{for(var W in Z)if(Z.hasOwnProperty(W)&&W!=="children"){var w=120-2*(X+1)-W.length-1,V=B.get(W.toLowerCase());if(V!==void 0){B.delete(W.toLowerCase());var _=Z[W];V=G[V];var k=b$(_,w);w=b$(V,w),typeof _==="object"&&_!==null&&typeof V==="object"&&V!==null&&q3(_)==="Object"&&q3(V)==="Object"&&(2<Object.keys(_).length||2<Object.keys(V).length||-1<k.indexOf("...")||-1<w.indexOf("..."))?N+=p5(X+1)+W+`={{
|
|
50
50
|
`+JL(_,V,X+2)+p5(X+1)+`}}
|
|
51
51
|
`:(N+=k$(X+1)+W+"="+k+`
|
|
52
|
-
`,N+=
|
|
52
|
+
`,N+=O2(X+1)+W+"="+w+`
|
|
53
53
|
`)}else N+=p5(X+1)+W+"="+b$(Z[W],w)+`
|
|
54
|
-
`}B.forEach(function(b){if(b!=="children"){var j=120-2*(X+1)-b.length-1;N+=
|
|
54
|
+
`}B.forEach(function(b){if(b!=="children"){var j=120-2*(X+1)-b.length-1;N+=O2(X+1)+b+"="+b$(G[b],j)+`
|
|
55
55
|
`}}),N=N===""?p5(X)+"<"+$+`>
|
|
56
56
|
`:p5(X)+"<"+$+`
|
|
57
57
|
`+N+p5(X)+`>
|
|
@@ -60,17 +60,17 @@ Check the render method of \``+$+"`.":""}function v$($,Z,G,X){if($=$.options,Z){
|
|
|
60
60
|
`+Y3(G,Z+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+=p5(Z)+"<"+B+`>
|
|
61
61
|
`,Z++)}if(X="",N=$.fiber.pendingProps,$.fiber.tag===6)X=AQ(N,$.serverProps,Z),Z++;else if(B=KK($.fiber),B!==null)if($.serverProps===void 0){X=Z;var W=120-2*X-B.length-2,w="";for(_ in N)if(N.hasOwnProperty(_)&&_!=="children"){var V=b$(N[_],15);if(W-=_.length+V.length+2,0>W){w+=" ...";break}w+=" "+_+"="+V}X=p5(X)+"<"+B+w+`>
|
|
62
62
|
`,Z++}else $.serverProps===null?(X=X3(B,N,k$(Z)),Z++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(X=qL(B,N,$.serverProps,Z),Z++);var _="";N=$.fiber.child;for(B=0;N&&B<$.children.length;)W=$.children[B],W.fiber===N?(_+=Y3(W,Z),B++):_+=BK(N,Z),N=N.sibling;N&&0<$.children.length&&(_+=p5(Z)+`...
|
|
63
|
-
`),N=$.serverTail,$.serverProps===null&&Z--;for($=0;$<N.length;$++)B=N[$],_=typeof B==="string"?_+(
|
|
64
|
-
`):_+X3(B.type,B.props,
|
|
63
|
+
`),N=$.serverTail,$.serverProps===null&&Z--;for($=0;$<N.length;$++)B=N[$],_=typeof B==="string"?_+(O2(Z)+X7(B,120-2*Z)+`
|
|
64
|
+
`):_+X3(B.type,B.props,O2(Z));return G+X+_}function U3($){try{return`
|
|
65
65
|
|
|
66
66
|
`+Y3($,0)}catch(Z){return""}}function HK($,Z,G){for(var X=Z,N=null,B=0;X;)X===$&&(B=0),N={fiber:X,children:N!==null?[N]:[],serverProps:X===Z?G:X===$?null:void 0,serverTail:[],distanceFromLeaf:B},B++,X=X.return;return N!==null?U3(N).replaceAll(/^[+-]/gm,">"):""}function MK($,Z){var G=y0({},$||TF),X={tag:Z};if(RF.indexOf(Z)!==-1&&(G.aTagInScope=null,G.buttonTagInScope=null,G.nobrTagInScope=null),KE.indexOf(Z)!==-1&&(G.pTagInButtonScope=null),NE.indexOf(Z)!==-1&&Z!=="address"&&Z!=="div"&&Z!=="p"&&(G.listItemTagAutoclosing=null,G.dlItemTagAutoclosing=null),G.current=X,Z==="form"&&(G.formTag=X),Z==="a"&&(G.aTagInScope=X),Z==="button"&&(G.buttonTagInScope=X),Z==="nobr"&&(G.nobrTagInScope=X),Z==="p"&&(G.pTagInButtonScope=X),Z==="li"&&(G.listItemTagAutoclosing=X),Z==="dd"||Z==="dt")G.dlItemTagAutoclosing=X;return Z==="#document"||Z==="html"?G.containerTagInScope=null:G.containerTagInScope||(G.containerTagInScope=X),$!==null||Z!=="#document"&&Z!=="html"&&Z!=="body"?G.implicitRootScope===!0&&(G.implicitRootScope=!1):G.implicitRootScope=!0,G}function FK($,Z,G){switch(Z){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 Z!=="h1"&&Z!=="h2"&&Z!=="h3"&&Z!=="h4"&&Z!=="h5"&&Z!=="h6";case"rp":case"rt":return BE.indexOf(Z)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return Z==null;case"head":return G||Z===null;case"html":return G&&Z==="#document"||Z===null;case"body":return G&&(Z==="#document"||Z==="html")||Z===null}return!0}function XL($,Z){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 Z.pTagInButtonScope;case"form":return Z.formTag||Z.pTagInButtonScope;case"li":return Z.listItemTagAutoclosing;case"dd":case"dt":return Z.dlItemTagAutoclosing;case"button":return Z.buttonTagInScope;case"a":return Z.aTagInScope;case"nobr":return Z.nobrTagInScope}return null}function WK($,Z){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===Z)return $}$=$.return}return null}function N3($,Z){Z=Z||TF;var G=Z.current;if(Z=(G=FK($,G&&G.tag,Z.implicitRootScope)?null:G)?null:XL($,Z),Z=G||Z,!Z)return!0;var X=Z.tag;if(Z=String(!!G)+"|"+$+"|"+X,dG[Z])return!1;dG[Z]=!0;var N=(Z=t5)?WK(Z.return,X):null,B=Z!==null&&N!==null?HK(N,Z,null):"",W="<"+$+">";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
67
|
This will cause a hydration error.%s`,W,X,G,B)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
68
|
This will cause a hydration error.%s`,W,X,B),Z&&($=Z.return,N===null||$===null||N===$&&$._debugOwner===Z._debugOwner||G0(N,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
69
|
See this log for the ancestor stack trace.`,X,W)})),!1}function SQ($,Z,G){if(G||FK("#text",Z,!1))return!0;if(G="#text|"+Z,dG[G])return!1;dG[G]=!0;var X=(G=t5)?WK(G,Z):null;return G=G!==null&&X!==null?HK(X,G,G.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
70
|
This will cause a hydration error.%s`,Z,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`,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(FE,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(ME,"ms-")))):HE.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)||PY.hasOwnProperty(G)&&PY[G]||(PY[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)||EF||(EF=!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||PF.has(Z)?Z==="float"?$.cssFloat=G:(G7(G,Z),$[Z]=(""+G).trim()):$[Z]=G+"px"}function RK($,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=EY[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=EY[w]||[w],B=0;B<N.length;B++)X[N[B]]=w;w={};for(var V in Z)for(N=EY[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 j in Z)_=Z[j],Z.hasOwnProperty(j)&&G[j]!==_&&wK($,j,_)}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 TK($){return WE.get($)||$}function UL($,Z){if(j4.call(Q9,Z)&&Q9[Z])return!0;if(RE.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(wE.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(j4.call(T5,Z)&&T5[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."),T5[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),T5[Z]=!0;if(OF.test(Z))return console.error("Unknown event handler property `%s`. It will be ignored.",Z),T5[Z]=!0}else if(OF.test(Z))return TE.test(Z)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Z),T5[Z]=!0;if(zE.test(Z)||VE.test(Z))return!0;if(N==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),T5[Z]=!0;if(N==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),T5[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),T5[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),T5[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),T5[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),T5[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),T5[Z]=!0}case"function":case"symbol":return T5[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),T5[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 LE.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function I8(){}function K3($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function zK($){var Z=E0($);if(Z&&($=Z.stateNode)){var G=$[R5]||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[R5]||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[R5]||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=OY,G=Z.length,X,N="value"in S2?S2.value:S2.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($):($=bE[$])?!!Z[$]:!1}function B3(){return HL}function EK($,Z){switch($){case"keyup":return rE.indexOf(Z.keyCode)!==-1;case"keydown":return Z.keyCode!==SF;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function PK($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function ML($,Z){switch($){case"compositionend":return PK(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&&EK($,Z)?($=LK(),lG=OY=S2=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"?!!nE[$.type]:Z==="textarea"?!0:!1}function WL($){if(!K8)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=P0($);if($K(Z))return $}function OK($,Z){if($==="change")return Z}function jK(){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 RL($,Z,G){$==="focusin"?(jK(),i7=Z,a7=G,i7.attachEvent("onpropertychange",DK)):$==="focusout"&&jK()}function TL($){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(!j4.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 j6($,Z){var G={};return G[$.toLowerCase()]=Z.toLowerCase(),G["Webkit"+$]="webkit"+Z,G["Moz"+$]="moz"+Z,G}function D6($){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 $)j4.call($,N)&&N[0]!=="_"&&d4(N,$[N],Z,G,X)}function d4($,Z,G,X,N){switch(typeof Z){case"object":if(Z===null){Z="null";break}else{if(Z.$$typeof===J8){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&&d4("key",W,G,X+1,N),$=!1;for(var _ in Z)_==="children"?Z.children!=null&&(!c1(Z.children)||0<Z.children.length)&&($=!0):j4.call(Z,_)&&_[0]!=="_"&&d4(_,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[$],d4(B[0],B[1],G,X+1,N);return}}if(B==="Promise"){if(Z.status==="fulfilled"){if(B=G.length,d4($,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,d4($,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===ZP?"…":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===J8){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}}d4(B,W,G,X,oG),d4(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 p4($,Z,G,X){w1&&(k2.start=Z,k2.end=G,f8.color="warning",f8.tooltipText=X,f8.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,X,k2)):performance.measure(X,k2))}function fQ($,Z,G){p4($,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=[QP],_=fK(W.memoizedProps,_,V,0),1<V.length&&(_&&!v2&&(W.lanes&N)===0&&100<$.actualDuration?(v2=!0,V[0]=GP,f8.color="warning",f8.tooltipText=rF):(f8.color=X,f8.tooltipText=B),f8.properties=V,k2.start=Z,k2.end=G,w!=null?w.run(performance.measure.bind(performance,""+B,k2)):performance.measure(""+B,k2))):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&&d4("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 c4($,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&&d4("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 EL($,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 PL($,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>TP)throw J$=IZ=0,OZ=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$>zP&&(J$=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&&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 A6($){if(B4===null)return $;var Z=B4($);return Z===void 0?$:Z.current}function R3($){if(B4===null)return $;var Z=B4($);return Z===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(Z=A6($.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 T3($){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=A6($.type);break;case 1:G.type=A6($.type);break;case 11:G.type=R3($.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")T3($)&&(W=1),w=A6(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 S6(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 q8:W=10;break $;case UY:W=9;break $;case m7:W=11,w=R3(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===J8?(G="<"+(a($.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):G=typeof $,(W=X?Y0(X):null)&&(w+=`
|
|
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(FE,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(ME,"ms-")))):HE.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)||PY.hasOwnProperty(G)&&PY[G]||(PY[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)||EF||(EF=!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||PF.has(Z)?Z==="float"?$.cssFloat=G:(G7(G,Z),$[Z]=(""+G).trim()):$[Z]=G+"px"}function RK($,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=EY[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=EY[w]||[w],B=0;B<N.length;B++)X[N[B]]=w;w={};for(var V in Z)for(N=EY[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 j in Z)_=Z[j],Z.hasOwnProperty(j)&&G[j]!==_&&wK($,j,_)}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 TK($){return WE.get($)||$}function UL($,Z){if(j4.call(Q9,Z)&&Q9[Z])return!0;if(RE.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(wE.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(j4.call(T5,Z)&&T5[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."),T5[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),T5[Z]=!0;if(OF.test(Z))return console.error("Unknown event handler property `%s`. It will be ignored.",Z),T5[Z]=!0}else if(OF.test(Z))return TE.test(Z)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Z),T5[Z]=!0;if(zE.test(Z)||VE.test(Z))return!0;if(N==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),T5[Z]=!0;if(N==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),T5[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),T5[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),T5[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),T5[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),T5[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),T5[Z]=!0}case"function":case"symbol":return T5[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),T5[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 LE.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function I8(){}function K3($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function zK($){var Z=E0($);if(Z&&($=Z.stateNode)){var G=$[R5]||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[R5]||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[R5]||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=OY,G=Z.length,X,N="value"in S6?S6.value:S6.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($):($=bE[$])?!!Z[$]:!1}function B3(){return HL}function EK($,Z){switch($){case"keyup":return rE.indexOf(Z.keyCode)!==-1;case"keydown":return Z.keyCode!==SF;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function PK($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function ML($,Z){switch($){case"compositionend":return PK(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&&EK($,Z)?($=LK(),lG=OY=S6=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"?!!nE[$.type]:Z==="textarea"?!0:!1}function WL($){if(!K8)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=P0($);if($K(Z))return $}function OK($,Z){if($==="change")return Z}function jK(){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 RL($,Z,G){$==="focusin"?(jK(),i7=Z,a7=G,i7.attachEvent("onpropertychange",DK)):$==="focusout"&&jK()}function TL($){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(!j4.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 j2($,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 $)j4.call($,N)&&N[0]!=="_"&&d4(N,$[N],Z,G,X)}function d4($,Z,G,X,N){switch(typeof Z){case"object":if(Z===null){Z="null";break}else{if(Z.$$typeof===J8){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&&d4("key",W,G,X+1,N),$=!1;for(var _ in Z)_==="children"?Z.children!=null&&(!c1(Z.children)||0<Z.children.length)&&($=!0):j4.call(Z,_)&&_[0]!=="_"&&d4(_,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[$],d4(B[0],B[1],G,X+1,N);return}}if(B==="Promise"){if(Z.status==="fulfilled"){if(B=G.length,d4($,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,d4($,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===ZP?"…":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===J8){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}}d4(B,W,G,X,oG),d4(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 p4($,Z,G,X){w1&&(k6.start=Z,k6.end=G,f8.color="warning",f8.tooltipText=X,f8.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,X,k6)):performance.measure(X,k6))}function fQ($,Z,G){p4($,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=[QP],_=fK(W.memoizedProps,_,V,0),1<V.length&&(_&&!v6&&(W.lanes&N)===0&&100<$.actualDuration?(v6=!0,V[0]=GP,f8.color="warning",f8.tooltipText=rF):(f8.color=X,f8.tooltipText=B),f8.properties=V,k6.start=Z,k6.end=G,w!=null?w.run(performance.measure.bind(performance,""+B,k6)):performance.measure(""+B,k6))):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&&d4("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 c4($,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&&d4("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 EL($,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 PL($,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>TP)throw J$=IZ=0,OZ=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$>zP&&(J$=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&&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 R3($){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 T3($){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=R3($.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")T3($)&&(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 q8:W=10;break $;case UY:W=9;break $;case m7:W=11,w=R3(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===J8?(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
72
|
|
|
73
|
-
Check the render method of \``+W+"`."),W=29,G=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(G+"."+w)),w=null}return Z=L(W,G,Z,N),Z.elementType=$,Z.type=w,Z.lanes=B,Z._debugOwner=X,Z}function uQ($,Z,G){return Z=z3($.type,$.key,$.props,$._owner,Z,G),Z._debugOwner=$._owner,Z._debugStack=$._debugStack,Z._debugTask=$._debugTask,Z}function
|
|
73
|
+
Check the render method of \``+W+"`."),W=29,G=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(G+"."+w)),w=null}return Z=L(W,G,Z,N),Z.elementType=$,Z.type=w,Z.lanes=B,Z._debugOwner=X,Z}function uQ($,Z,G){return Z=z3($.type,$.key,$.props,$._owner,Z,G),Z._debugOwner=$._owner,Z._debugStack=$._debugStack,Z._debugTask=$._debugTask,Z}function S2($,Z,G,X){return $=L(7,$,X,Z),$.lanes=G,$}function V3($,Z,G){return $=L(6,$,null,Z),$.lanes=G,$}function cK($){var Z=L(18,null,null,V0);return Z.stateNode=$,Z}function L3($,Z,G){return Z=L(4,$.children!==null?$.children:[],$.key,Z),Z.lanes=G,Z.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},Z}function l5($,Z){if(typeof $==="object"&&$!==null){var G=mY.get($);if(G!==void 0)return G;return Z={value:$,source:Z,stack:f1(Z)},mY.set($,Z),Z}return{value:$,source:Z,stack:f1(Z)}}function j8($,Z){W6(),K9[B9++]=$Z,K9[B9++]=aG,aG=$,$Z=Z}function lK($,Z,G){W6(),H4[M4++]=g8,H4[M4++]=h8,H4[M4++]=c2,c2=$;var X=g8;$=h8;var N=32-w5(X)-1;X&=~(1<<N),G+=1;var B=32-w5(Z)+N;if(30<B){var W=N-N%5;B=(X&(1<<W)-1).toString(32),X>>=W,N-=W,g8=1<<32-w5(Z)+N|G<<N|X,h8=B+$}else g8=1<<B|G<<N|X,h8=$}function _3($){W6(),$.return!==null&&(j8($,1),lK($,1,0))}function E3($){for(;$===aG;)aG=K9[--B9],K9[B9]=null,$Z=K9[--B9],K9[B9]=null;for(;$===c2;)c2=H4[--M4],H4[M4]=null,h8=H4[--M4],H4[M4]=null,g8=H4[--M4],H4[M4]=null}function rK(){return W6(),c2!==null?{id:g8,overflow:h8}:null}function sK($,Z){W6(),H4[M4++]=g8,H4[M4++]=h8,H4[M4++]=c2,g8=Z.id,h8=Z.overflow,c2=$}function W6(){p0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function v2($,Z){if($.return===null){if($4===null)$4={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z};else{if($4.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");$4.distanceFromLeaf>Z&&($4.distanceFromLeaf=Z)}return $4}var G=v2($.return,Z+1).children;if(0<G.length&&G[G.length-1].fiber===$)return G=G[G.length-1],G.distanceFromLeaf>Z&&(G.distanceFromLeaf=Z),G;return Z={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z},G.push(Z),Z}function nK(){p0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function mQ($,Z){B8||($=v2($,0),$.serverProps=null,Z!==null&&(Z=IM(Z),$.serverTail.push(Z)))}function w6($){var Z=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,G="",X=$4;throw X!==null&&($4=null,G=U3(X)),F7(l5(Error("Hydration failed because the server rendered "+(Z?"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),$)),dY}function oK($){var{stateNode:Z,type:G,memoizedProps:X}=$;switch(Z[G5]=$,Z[R5]=X,pX(G,X),G){case"dialog":c0("cancel",Z),c0("close",Z);break;case"iframe":case"object":case"embed":c0("load",Z);break;case"video":case"audio":for(G=0;G<jZ.length;G++)c0(jZ[G],Z);break;case"source":c0("error",Z);break;case"img":case"image":case"link":c0("error",Z),c0("load",Z);break;case"details":c0("toggle",Z);break;case"input":
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+G),$)),dY}function oK($){var{stateNode:Z,type:G,memoizedProps:X}=$;switch(Z[G5]=$,Z[R5]=X,pX(G,X),G){case"dialog":c0("cancel",Z),c0("close",Z);break;case"iframe":case"object":case"embed":c0("load",Z);break;case"video":case"audio":for(G=0;G<jZ.length;G++)c0(jZ[G],Z);break;case"source":c0("error",Z);break;case"img":case"image":case"link":c0("error",Z),c0("load",Z);break;case"details":c0("toggle",Z);break;case"input":F6("input",X),c0("invalid",Z),ZK(Z,X),QK(Z,X.value,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name,!0);break;case"option":GK(Z,X);break;case"select":F6("select",X),c0("invalid",Z),qK(Z,X);break;case"textarea":F6("textarea",X),c0("invalid",Z),XK(Z,X),UK(Z,X.value,X.defaultValue,X.children)}G=X.children,typeof G!=="string"&&typeof G!=="number"&&typeof G!=="bigint"||Z.textContent===""+G||X.suppressHydrationWarning===!0||HM(Z.textContent,G)?(X.popover!=null&&(c0("beforetoggle",Z),c0("toggle",Z)),X.onScroll!=null&&c0("scroll",Z),X.onScrollEnd!=null&&c0("scrollend",Z),X.onClick!=null&&(Z.onclick=I8),Z=!0):Z=!1,Z||w6($,!0)}function iK($){for(J5=$.return;J5;)switch(J5.tag){case 5:case 31:case 13:F4=!1;return;case 27:case 3:F4=!0;return;default:J5=J5.return}}function f$($){if($!==J5)return!1;if(!p0)return iK($),p0=!0,!1;var Z=$.tag,G;if(G=Z!==3&&Z!==27){if(G=Z===5)G=$.type,G=!(G!=="form"&&G!=="button")||nX($.type,$.memoizedProps);G=!G}if(G&&R1){for(G=R1;G;){var X=v2($,0),N=IM(G);X.serverTail.push(N),G=N.type==="Suspense"?tX(G):i5(G.nextSibling)}w6($)}if(iK($),Z===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=tX($)}else if(Z===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=tX($)}else Z===27?(Z=R1,I6($.type)?($=SU,SU=null,R1=$):R1=Z):R1=J5?i5($.stateNode.nextSibling):null;return!0}function k2(){R1=J5=null,B8=p0=!1}function P3(){var $=f6;return $!==null&&(E5===null?E5=$:E5.push.apply(E5,$),f6=null),$}function F7($){f6===null?f6=[$]:f6.push($)}function C3(){var $=$4;if($!==null){$4=null;for(var Z=U3($);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,16 +90,16 @@ 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",Z)})}}function dQ(){H9=tG=null,M9=!1}function
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",Z)})}}function dQ(){H9=tG=null,M9=!1}function R6($,Z,G){z0(pY,Z._currentValue,$),Z._currentValue=G,z0(cY,Z._currentRenderer,$),Z._currentRenderer!==void 0&&Z._currentRenderer!==null&&Z._currentRenderer!==oF&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),Z._currentRenderer=oF}function D8($,Z){$._currentValue=pY.current;var G=cY.current;w0(cY,Z),$._currentRenderer=G,w0(pY,Z)}function I3($,Z,G){for(;$!==null;){var X=$.alternate;if(($.childLanes&Z)!==Z?($.childLanes|=Z,X!==null&&(X.childLanes|=Z)):X!==null&&(X.childLanes&Z)!==Z&&(X.childLanes|=Z),$===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 O3($,Z,G,X){var N=$.child;N!==null&&(N.return=$);for(;N!==null;){var B=N.dependencies;if(B!==null){var W=N.child;B=B.firstContext;$:for(;B!==null;){var w=B;B=N;for(var V=0;V<Z.length;V++)if(w.context===Z[V]){B.lanes|=G,w=B.alternate,w!==null&&(w.lanes|=G),I3(B.return,G,$),X||(W=null);break $}B=w.next}}else if(N.tag===18){if(W=N.return,W===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");W.lanes|=G,B=W.alternate,B!==null&&(B.lanes|=G),I3(W,G,$),W=null}else W=N.child;if(W!==null)W.return=N;else for(W=N;W!==null;){if(W===$){W=null;break}if(N=W.sibling,N!==null){N.return=W.return,W=N;break}W=W.return}N=W}}function y$($,Z,G,X){$=null;for(var N=Z,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 W=N.alternate;if(W===null)throw Error("Should have a current fiber. This is a bug in React.");if(W=W.memoizedProps,W!==null){var w=N.type;z5(N.pendingProps.value,W.value)||($!==null?$.push(w):$=[w])}}else if(N===gG.current){if(W=N.alternate,W===null)throw Error("Should have a current fiber. This is a bug in React.");W.memoizedState.memoizedState!==N.memoizedState.memoizedState&&($!==null?$.push(kZ):$=[kZ])}N=N.return}$!==null&&O3(Z,$,G,X),Z.flags|=262144}function pQ($){for($=$.firstContext;$!==null;){if(!z5($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function b2($){tG=$,H9=null,$=$.dependencies,$!==null&&($.firstContext=null)}function V1($){return M9&&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()."),aK(tG,$)}function cQ($,Z){return tG===null&&b2($),aK($,Z)}function aK($,Z){var G=Z._currentValue;if(Z={context:Z,memoizedValue:G,next:null},H9===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().");H9=Z,$.dependencies={lanes:0,firstContext:Z,_debugThenableState:null},$.flags|=524288}else H9=H9.next=Z;return G}function j3(){return{controller:new XP,data:new Map,refCount:0}}function f2($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function W7($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&YP(UP,function(){$.controller.abort()})}function l4($,Z,G){if(($&127)!==0)0>H8&&(H8=g1(),QZ=eG(Z),lY=Z,G!=null&&(rY=d(G)),(o0&(r1|G4))!==t1&&(I1=!0,h6=ZZ),$=y7(),Z=f7(),$!==F9||Z!==GZ?F9=-1.1:Z!==null&&(h6=ZZ),r2=$,GZ=Z);else if(($&4194048)!==0&&0>W4&&(W4=g1(),JZ=eG(Z),iF=Z,G!=null&&(aF=d(G)),0>m8)){if($=y7(),Z=f7(),$!==u6||Z!==s2)u6=-1.1;x6=$,s2=Z}}function OL($){if(0>H8){H8=g1(),QZ=$._debugTask!=null?$._debugTask:null,(o0&(r1|G4))!==t1&&(h6=ZZ);var Z=y7(),G=f7();Z!==F9||G!==GZ?F9=-1.1:G!==null&&(h6=ZZ),r2=Z,GZ=G}if(0>W4&&(W4=g1(),JZ=$._debugTask!=null?$._debugTask:null,0>m8)){if($=y7(),Z=f7(),$!==u6||Z!==s2)u6=-1.1;x6=$,s2=Z}}function A8(){var $=l2;return l2=0,$}function lQ($){var Z=l2;return l2=$,Z}function w7($){var Z=l2;return l2+=$,Z}function rQ(){T0=W0=-1.1}function r5(){var $=W0;return W0=-1.1,$}function s5($){0<=$&&(W0=$)}function r4(){var $=_1;return _1=-0,$}function s4($){0<=$&&(_1=$)}function n4(){var $=L1;return L1=null,$}function o4(){var $=I1;return I1=!1,$}function D3($){V5=g1(),0>$.actualStartTime&&($.actualStartTime=V5)}function A3($){if(0<=V5){var Z=g1()-V5;$.actualDuration+=Z,$.selfBaseDuration=Z,V5=-1}}function tK($){if(0<=V5){var Z=g1()-V5;$.actualDuration+=Z,V5=-1}}function i4(){if(0<=V5){var $=g1(),Z=$-V5;V5=-1,l2+=Z,_1+=Z,T0=$}}function eK($){L1===null&&(L1=[]),L1.push($),u8===null&&(u8=[]),u8.push($)}function a4(){V5=g1(),0>W0&&(W0=V5)}function R7($){for(var Z=$.child;Z;)$.actualDuration+=Z.actualDuration,Z=Z.sibling}function jL($,Z){if(XZ===null){var G=XZ=[];nY=0,n2=xX(),W9={status:"pending",value:void 0,then:function(X){G.push(X)}}}return nY++,Z.then($B,$B),Z}function $B(){if(--nY===0&&(-1<W4||(m8=-1.1),XZ!==null)){W9!==null&&(W9.status="fulfilled");var $=XZ;XZ=null,n2=0,W9=null;for(var Z=0;Z<$.length;Z++)(0,$[Z])()}}function DL($,Z){var G=[],X={status:"pending",value:null,reason:null,then:function(N){G.push(N)}};return $.then(function(){X.status="fulfilled",X.value=Z;for(var N=0;N<G.length;N++)(0,G[N])(Z)},function(N){X.status="rejected",X.reason=N;for(N=0;N<G.length;N++)(0,G[N])(void 0)}),X}function S3(){var $=o2.current;return $!==null?$:K1.pooledCache}function sQ($,Z){Z===null?z0(o2,o2.current,$):z0(o2,Z.pool,$)}function ZB(){var $=S3();return $===null?null:{parent:y1._currentValue,pool:$}}function QB(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function GB($){return $=$.status,$==="fulfilled"||$==="rejected"}function JB($,Z,G){x.actQueue!==null&&(x.didUsePromise=!0);var X=$.thenables;if(G=X[G],G===void 0?X.push(Z):G!==Z&&($.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.")),Z.then(I8,I8),Z=G),Z._debugInfo===void 0){$=performance.now(),X=Z.displayName;var N={name:typeof X==="string"?X:"Promise",start:$,end:$,value:Z};Z._debugInfo=[{awaited:N}],Z.status!=="fulfilled"&&Z.status!=="rejected"&&($=function(){N.end=performance.now()},Z.then($,$))}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw $=Z.reason,XB($),$;default:if(typeof Z.status==="string")Z.then(I8,I8);else{if($=K1,$!==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.");$=Z,$.status="pending",$.then(function(B){if(Z.status==="pending"){var W=Z;W.status="fulfilled",W.value=B}},function(B){if(Z.status==="pending"){var W=Z;W.status="rejected",W.reason=B}})}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw $=Z.reason,XB($),$}throw a2=Z,MZ=!0,w9}}function T6($){try{return HP($)}catch(Z){if(Z!==null&&typeof Z==="object"&&typeof Z.then==="function")throw a2=Z,MZ=!0,w9;throw Z}}function qB(){if(a2===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=a2;return a2=null,MZ=!1,$}function XB($){if($===w9||$===YJ)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 $5($){var Z=A0;return $!=null&&(A0=Z===null?$:Z.concat($)),Z}function v3(){var $=A0;if($!=null){for(var Z=$.length-1;0<=Z;Z--)if($[Z].name!=null){var G=$[Z].debugTask;if(G!=null)return G}}return null}function nQ($,Z,G){for(var X=Object.keys($.props),N=0;N<X.length;N++){var B=X[N];if(B!=="children"&&B!=="key"){Z===null&&(Z=uQ($,G.mode,0),Z._debugInfo=A0,Z.return=G),G0(Z,function(W){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W)},B);break}}}function oQ($){var Z=FZ;return FZ+=1,R9===null&&(R9=QB()),JB(R9,$,Z)}function T7($,Z){Z=Z.props.ref,$.ref=Z!==void 0?Z:null}function YB($,Z){if(Z.$$typeof===l_)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
96
|
- A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(Z),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function iQ($,Z){var G=v3();G!==null?G.run(YB.bind(null,$,Z)):YB($,Z)}function UB($,Z){var G=d($)||"Component";RW[G]||(RW[G]=!0,Z=Z.displayName||Z.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
97
|
root.render(%s)`,Z,Z,Z):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
98
|
<%s>{%s}</%s>`,Z,Z,G,Z,G))}function aQ($,Z){var G=v3();G!==null?G.run(UB.bind(null,$,Z)):UB($,Z)}function NB($,Z){var G=d($)||"Component";TW[G]||(TW[G]=!0,Z=String(Z),$.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
99
|
root.render(%s)`,Z):console.error(`Symbols are not valid as a React child.
|
|
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(O,D){if($){var v=O.deletions;v===null?(O.deletions=[D],O.flags|=16):v.push(D)}}function G(O,D){if(!$)return null;for(;D!==null;)Z(O,D),D=D.sibling;return null}function X(O){for(var D=new Map;O!==null;)O.key!==null?D.set(O.key,O):D.set(O.index,O),O=O.sibling;return D}function N(O,D){return O=O8(O,D),O.index=0,O.sibling=null,O}function B(O,D,v){if(O.index=v,!$)return O.flags|=1048576,D;if(v=O.alternate,v!==null)return v=v.index,v<D?(O.flags|=67108866,D):v;return O.flags|=67108866,D}function W(O){return $&&O.alternate===null&&(O.flags|=67108866),O}function w(O,D,v,u){if(D===null||D.tag!==6)return D=V3(v,O.mode,u),D.return=O,D._debugOwner=O,D._debugTask=O._debugTask,D._debugInfo=A0,D;return D=N(D,v),D.return=O,D._debugInfo=A0,D}function V(O,D,v,u){var $0=v.type;if($0===a$)return D=k(O,D,v.props.children,u,v.key),nQ(v,D,O),D;if(D!==null&&(D.elementType===$0||uK(D,v)||typeof $0==="object"&&$0!==null&&$0.$$typeof===a5&&T2($0)===D.type))return D=N(D,v.props),T7(D,v),D.return=O,D._debugOwner=v._owner,D._debugInfo=A0,D;return D=uQ(v,O.mode,u),T7(D,v),D.return=O,D._debugInfo=A0,D}function _(O,D,v,u){if(D===null||D.tag!==4||D.stateNode.containerInfo!==v.containerInfo||D.stateNode.implementation!==v.implementation)return D=L3(v,O.mode,u),D.return=O,D._debugInfo=A0,D;return D=N(D,v.children||[]),D.return=O,D._debugInfo=A0,D}function k(O,D,v,u,$0){if(D===null||D.tag!==7)return D=S6(v,O.mode,u,$0),D.return=O,D._debugOwner=O,D._debugTask=O._debugTask,D._debugInfo=A0,D;return D=N(D,v),D.return=O,D._debugInfo=A0,D}function b(O,D,v){if(typeof D==="string"&&D!==""||typeof D==="number"||typeof D==="bigint")return D=V3(""+D,O.mode,v),D.return=O,D._debugOwner=O,D._debugTask=O._debugTask,D._debugInfo=A0,D;if(typeof D==="object"&&D!==null){switch(D.$$typeof){case J8:return v=uQ(D,O.mode,v),T7(v,D),v.return=O,O=$5(D._debugInfo),v._debugInfo=A0,A0=O,v;case i$:return D=L3(D,O.mode,v),D.return=O,D._debugInfo=A0,D;case a5:var u=$5(D._debugInfo);return D=T2(D),O=b(O,D,v),A0=u,O}if(c1(D)||p(D))return v=S6(D,O.mode,v,null),v.return=O,v._debugOwner=O,v._debugTask=O._debugTask,O=$5(D._debugInfo),v._debugInfo=A0,A0=O,v;if(typeof D.then==="function")return u=$5(D._debugInfo),O=b(O,oQ(D),v),A0=u,O;if(D.$$typeof===q8)return b(O,cQ(O,D),v);iQ(O,D)}return typeof D==="function"&&aQ(O,D),typeof D==="symbol"&&tQ(O,D),null}function j(O,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(O,D,""+v,u);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case J8:return v.key===$0?($0=$5(v._debugInfo),O=V(O,D,v,u),A0=$0,O):null;case i$:return v.key===$0?_(O,D,v,u):null;case a5:return $0=$5(v._debugInfo),v=T2(v),O=j(O,D,v,u),A0=$0,O}if(c1(v)||p(v)){if($0!==null)return null;return $0=$5(v._debugInfo),O=k(O,D,v,u,null),A0=$0,O}if(typeof v.then==="function")return $0=$5(v._debugInfo),O=j(O,D,oQ(v),u),A0=$0,O;if(v.$$typeof===q8)return j(O,D,cQ(O,v),u);iQ(O,v)}return typeof v==="function"&&aQ(O,v),typeof v==="symbol"&&tQ(O,v),null}function g(O,D,v,u,$0){if(typeof u==="string"&&u!==""||typeof u==="number"||typeof u==="bigint")return O=O.get(v)||null,w(D,O,""+u,$0);if(typeof u==="object"&&u!==null){switch(u.$$typeof){case J8:return v=O.get(u.key===null?v:u.key)||null,O=$5(u._debugInfo),D=V(D,v,u,$0),A0=O,D;case i$:return O=O.get(u.key===null?v:u.key)||null,_(D,O,u,$0);case a5:var _0=$5(u._debugInfo);return u=T2(u),D=g(O,D,v,u,$0),A0=_0,D}if(c1(u)||p(u))return v=O.get(v)||null,O=$5(u._debugInfo),D=k(D,v,u,$0,null),A0=O,D;if(typeof u.then==="function")return _0=$5(u._debugInfo),D=g(O,D,v,oQ(u),$0),A0=_0,D;if(u.$$typeof===q8)return g(O,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(O,D,v,u){if(typeof v!=="object"||v===null)return u;switch(v.$$typeof){case J8:case i$:T(O,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=T2(v),t(O,D,v,u)}return u}function Z0(O,D,v,u){for(var $0=null,_0=null,M0=null,U0=D,O0=D=0,T1=null;U0!==null&&O0<v.length;O0++){U0.index>O0?(T1=U0,U0=null):T1=U0.sibling;var k1=j(O,U0,v[O0],u);if(k1===null){U0===null&&(U0=T1);break}$0=t(O,k1,v[O0],$0),$&&U0&&k1.alternate===null&&Z(O,U0),D=B(k1,D,O0),M0===null?_0=k1:M0.sibling=k1,M0=k1,U0=T1}if(O0===v.length)return G(O,U0),p0&&j8(O,O0),_0;if(U0===null){for(;O0<v.length;O0++)U0=b(O,v[O0],u),U0!==null&&($0=t(O,U0,v[O0],$0),D=B(U0,D,O0),M0===null?_0=U0:M0.sibling=U0,M0=U0);return p0&&j8(O,O0),_0}for(U0=X(U0);O0<v.length;O0++)T1=g(U0,O,O0,v[O0],u),T1!==null&&($0=t(O,T1,v[O0],$0),$&&T1.alternate!==null&&U0.delete(T1.key===null?O0:T1.key),D=B(T1,D,O0),M0===null?_0=T1:M0.sibling=T1,M0=T1);return $&&U0.forEach(function(i8){return Z(O,i8)}),p0&&j8(O,O0),_0}function F1(O,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,O0=null,T1=null,k1=v.next();M0!==null&&!k1.done;U0++,k1=v.next()){M0.index>U0?(O0=M0,M0=null):O0=M0.sibling;var i8=j(O,M0,k1.value,u);if(i8===null){M0===null&&(M0=O0);break}T1=t(O,i8,k1.value,T1),$&&M0&&i8.alternate===null&&Z(O,M0),D=B(i8,D,U0),_0===null?$0=i8:_0.sibling=i8,_0=i8,M0=O0}if(k1.done)return G(O,M0),p0&&j8(O,U0),$0;if(M0===null){for(;!k1.done;U0++,k1=v.next())M0=b(O,k1.value,u),M0!==null&&(T1=t(O,M0,k1.value,T1),D=B(M0,D,U0),_0===null?$0=M0:_0.sibling=M0,_0=M0);return p0&&j8(O,U0),$0}for(M0=X(M0);!k1.done;U0++,k1=v.next())O0=g(M0,O,U0,k1.value,u),O0!==null&&(T1=t(O,O0,k1.value,T1),$&&O0.alternate!==null&&M0.delete(O0.key===null?U0:O0.key),D=B(O0,D,U0),_0===null?$0=O0:_0.sibling=O0,_0=O0);return $&&M0.forEach(function(yP){return Z(O,yP)}),p0&&j8(O,U0),$0}function l0(O,D,v,u){if(typeof v==="object"&&v!==null&&v.type===a$&&v.key===null&&(nQ(v,null,O),v=v.props.children),typeof v==="object"&&v!==null){switch(v.$$typeof){case J8: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(O,D.sibling),u=N(D,v.props.children),u.return=O,u._debugOwner=v._owner,u._debugInfo=A0,nQ(v,u,O),O=u;break $}}else if(D.elementType===_0||uK(D,v)||typeof _0==="object"&&_0!==null&&_0.$$typeof===a5&&T2(_0)===D.type){G(O,D.sibling),u=N(D,v.props),T7(u,v),u.return=O,u._debugOwner=v._owner,u._debugInfo=A0,O=u;break $}G(O,D);break}else Z(O,D);D=D.sibling}v.type===a$?(u=S6(v.props.children,O.mode,u,v.key),u.return=O,u._debugOwner=O,u._debugTask=O._debugTask,u._debugInfo=A0,nQ(v,u,O),O=u):(u=uQ(v,O.mode,u),T7(u,v),u.return=O,u._debugInfo=A0,O=u)}return O=W(O),A0=$0,O;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(O,D.sibling),u=N(D,$0.children||[]),u.return=O,O=u;break $}else{G(O,D);break}else Z(O,D);D=D.sibling}u=L3($0,O.mode,u),u.return=O,O=u}return W(O);case a5:return $0=$5(v._debugInfo),v=T2(v),O=l0(O,D,v,u),A0=$0,O}if(c1(v))return $0=$5(v._debugInfo),O=Z0(O,D,v,u),A0=$0,O;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(O.tag!==0||Object.prototype.toString.call(O.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 O=F1(O,D,M0,u),A0=$0,O}if(typeof v.then==="function")return $0=$5(v._debugInfo),O=l0(O,D,oQ(v),u),A0=$0,O;if(v.$$typeof===q8)return l0(O,D,cQ(O,v),u);iQ(O,v)}if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return $0=""+v,D!==null&&D.tag===6?(G(O,D.sibling),u=N(D,$0),u.return=O,O=u):(G(O,D),u=V3($0,O.mode,u),u.return=O,u._debugOwner=O,u._debugTask=O._debugTask,u._debugInfo=A0,O=u),W(O);return typeof v==="function"&&aQ(O,v),typeof v==="symbol"&&tQ(O,v),G(O,D)}return function(O,D,v,u){var $0=A0;A0=null;try{FZ=0;var _0=l0(O,D,v,u);return R9=null,_0}catch(T1){if(T1===w9||T1===YJ)throw T1;var M0=L(29,T1,null,O.mode);M0.lanes=u,M0.return=O;var U0=M0._debugInfo=A0;if(M0._debugOwner=O._debugOwner,M0._debugTask=O._debugTask,U0!=null){for(var O0=U0.length-1;0<=O0;O0--)if(typeof U0[O0].stack==="string"){M0._debugOwner=U0[O0],M0._debugTask=U0[O0].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 z2($){return{lane:$,tag:VW,payload:null,callback:null,next:null}}function V2($,Z,G){var X=$.updateQueue;if(X===null)return null;if(X=X.shared,$U===X&&!EW){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.
|
|
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(O,D){if($){var v=O.deletions;v===null?(O.deletions=[D],O.flags|=16):v.push(D)}}function G(O,D){if(!$)return null;for(;D!==null;)Z(O,D),D=D.sibling;return null}function X(O){for(var D=new Map;O!==null;)O.key!==null?D.set(O.key,O):D.set(O.index,O),O=O.sibling;return D}function N(O,D){return O=O8(O,D),O.index=0,O.sibling=null,O}function B(O,D,v){if(O.index=v,!$)return O.flags|=1048576,D;if(v=O.alternate,v!==null)return v=v.index,v<D?(O.flags|=67108866,D):v;return O.flags|=67108866,D}function W(O){return $&&O.alternate===null&&(O.flags|=67108866),O}function w(O,D,v,u){if(D===null||D.tag!==6)return D=V3(v,O.mode,u),D.return=O,D._debugOwner=O,D._debugTask=O._debugTask,D._debugInfo=A0,D;return D=N(D,v),D.return=O,D._debugInfo=A0,D}function V(O,D,v,u){var $0=v.type;if($0===a$)return D=k(O,D,v.props.children,u,v.key),nQ(v,D,O),D;if(D!==null&&(D.elementType===$0||uK(D,v)||typeof $0==="object"&&$0!==null&&$0.$$typeof===a5&&T6($0)===D.type))return D=N(D,v.props),T7(D,v),D.return=O,D._debugOwner=v._owner,D._debugInfo=A0,D;return D=uQ(v,O.mode,u),T7(D,v),D.return=O,D._debugInfo=A0,D}function _(O,D,v,u){if(D===null||D.tag!==4||D.stateNode.containerInfo!==v.containerInfo||D.stateNode.implementation!==v.implementation)return D=L3(v,O.mode,u),D.return=O,D._debugInfo=A0,D;return D=N(D,v.children||[]),D.return=O,D._debugInfo=A0,D}function k(O,D,v,u,$0){if(D===null||D.tag!==7)return D=S2(v,O.mode,u,$0),D.return=O,D._debugOwner=O,D._debugTask=O._debugTask,D._debugInfo=A0,D;return D=N(D,v),D.return=O,D._debugInfo=A0,D}function b(O,D,v){if(typeof D==="string"&&D!==""||typeof D==="number"||typeof D==="bigint")return D=V3(""+D,O.mode,v),D.return=O,D._debugOwner=O,D._debugTask=O._debugTask,D._debugInfo=A0,D;if(typeof D==="object"&&D!==null){switch(D.$$typeof){case J8:return v=uQ(D,O.mode,v),T7(v,D),v.return=O,O=$5(D._debugInfo),v._debugInfo=A0,A0=O,v;case i$:return D=L3(D,O.mode,v),D.return=O,D._debugInfo=A0,D;case a5:var u=$5(D._debugInfo);return D=T6(D),O=b(O,D,v),A0=u,O}if(c1(D)||p(D))return v=S2(D,O.mode,v,null),v.return=O,v._debugOwner=O,v._debugTask=O._debugTask,O=$5(D._debugInfo),v._debugInfo=A0,A0=O,v;if(typeof D.then==="function")return u=$5(D._debugInfo),O=b(O,oQ(D),v),A0=u,O;if(D.$$typeof===q8)return b(O,cQ(O,D),v);iQ(O,D)}return typeof D==="function"&&aQ(O,D),typeof D==="symbol"&&tQ(O,D),null}function j(O,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(O,D,""+v,u);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case J8:return v.key===$0?($0=$5(v._debugInfo),O=V(O,D,v,u),A0=$0,O):null;case i$:return v.key===$0?_(O,D,v,u):null;case a5:return $0=$5(v._debugInfo),v=T6(v),O=j(O,D,v,u),A0=$0,O}if(c1(v)||p(v)){if($0!==null)return null;return $0=$5(v._debugInfo),O=k(O,D,v,u,null),A0=$0,O}if(typeof v.then==="function")return $0=$5(v._debugInfo),O=j(O,D,oQ(v),u),A0=$0,O;if(v.$$typeof===q8)return j(O,D,cQ(O,v),u);iQ(O,v)}return typeof v==="function"&&aQ(O,v),typeof v==="symbol"&&tQ(O,v),null}function g(O,D,v,u,$0){if(typeof u==="string"&&u!==""||typeof u==="number"||typeof u==="bigint")return O=O.get(v)||null,w(D,O,""+u,$0);if(typeof u==="object"&&u!==null){switch(u.$$typeof){case J8:return v=O.get(u.key===null?v:u.key)||null,O=$5(u._debugInfo),D=V(D,v,u,$0),A0=O,D;case i$:return O=O.get(u.key===null?v:u.key)||null,_(D,O,u,$0);case a5:var _0=$5(u._debugInfo);return u=T6(u),D=g(O,D,v,u,$0),A0=_0,D}if(c1(u)||p(u))return v=O.get(v)||null,O=$5(u._debugInfo),D=k(D,v,u,$0,null),A0=O,D;if(typeof u.then==="function")return _0=$5(u._debugInfo),D=g(O,D,v,oQ(u),$0),A0=_0,D;if(u.$$typeof===q8)return g(O,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(O,D,v,u){if(typeof v!=="object"||v===null)return u;switch(v.$$typeof){case J8:case i$:T(O,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=T6(v),t(O,D,v,u)}return u}function Z0(O,D,v,u){for(var $0=null,_0=null,M0=null,U0=D,O0=D=0,T1=null;U0!==null&&O0<v.length;O0++){U0.index>O0?(T1=U0,U0=null):T1=U0.sibling;var k1=j(O,U0,v[O0],u);if(k1===null){U0===null&&(U0=T1);break}$0=t(O,k1,v[O0],$0),$&&U0&&k1.alternate===null&&Z(O,U0),D=B(k1,D,O0),M0===null?_0=k1:M0.sibling=k1,M0=k1,U0=T1}if(O0===v.length)return G(O,U0),p0&&j8(O,O0),_0;if(U0===null){for(;O0<v.length;O0++)U0=b(O,v[O0],u),U0!==null&&($0=t(O,U0,v[O0],$0),D=B(U0,D,O0),M0===null?_0=U0:M0.sibling=U0,M0=U0);return p0&&j8(O,O0),_0}for(U0=X(U0);O0<v.length;O0++)T1=g(U0,O,O0,v[O0],u),T1!==null&&($0=t(O,T1,v[O0],$0),$&&T1.alternate!==null&&U0.delete(T1.key===null?O0:T1.key),D=B(T1,D,O0),M0===null?_0=T1:M0.sibling=T1,M0=T1);return $&&U0.forEach(function(i8){return Z(O,i8)}),p0&&j8(O,O0),_0}function F1(O,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,O0=null,T1=null,k1=v.next();M0!==null&&!k1.done;U0++,k1=v.next()){M0.index>U0?(O0=M0,M0=null):O0=M0.sibling;var i8=j(O,M0,k1.value,u);if(i8===null){M0===null&&(M0=O0);break}T1=t(O,i8,k1.value,T1),$&&M0&&i8.alternate===null&&Z(O,M0),D=B(i8,D,U0),_0===null?$0=i8:_0.sibling=i8,_0=i8,M0=O0}if(k1.done)return G(O,M0),p0&&j8(O,U0),$0;if(M0===null){for(;!k1.done;U0++,k1=v.next())M0=b(O,k1.value,u),M0!==null&&(T1=t(O,M0,k1.value,T1),D=B(M0,D,U0),_0===null?$0=M0:_0.sibling=M0,_0=M0);return p0&&j8(O,U0),$0}for(M0=X(M0);!k1.done;U0++,k1=v.next())O0=g(M0,O,U0,k1.value,u),O0!==null&&(T1=t(O,O0,k1.value,T1),$&&O0.alternate!==null&&M0.delete(O0.key===null?U0:O0.key),D=B(O0,D,U0),_0===null?$0=O0:_0.sibling=O0,_0=O0);return $&&M0.forEach(function(yP){return Z(O,yP)}),p0&&j8(O,U0),$0}function l0(O,D,v,u){if(typeof v==="object"&&v!==null&&v.type===a$&&v.key===null&&(nQ(v,null,O),v=v.props.children),typeof v==="object"&&v!==null){switch(v.$$typeof){case J8: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(O,D.sibling),u=N(D,v.props.children),u.return=O,u._debugOwner=v._owner,u._debugInfo=A0,nQ(v,u,O),O=u;break $}}else if(D.elementType===_0||uK(D,v)||typeof _0==="object"&&_0!==null&&_0.$$typeof===a5&&T6(_0)===D.type){G(O,D.sibling),u=N(D,v.props),T7(u,v),u.return=O,u._debugOwner=v._owner,u._debugInfo=A0,O=u;break $}G(O,D);break}else Z(O,D);D=D.sibling}v.type===a$?(u=S2(v.props.children,O.mode,u,v.key),u.return=O,u._debugOwner=O,u._debugTask=O._debugTask,u._debugInfo=A0,nQ(v,u,O),O=u):(u=uQ(v,O.mode,u),T7(u,v),u.return=O,u._debugInfo=A0,O=u)}return O=W(O),A0=$0,O;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(O,D.sibling),u=N(D,$0.children||[]),u.return=O,O=u;break $}else{G(O,D);break}else Z(O,D);D=D.sibling}u=L3($0,O.mode,u),u.return=O,O=u}return W(O);case a5:return $0=$5(v._debugInfo),v=T6(v),O=l0(O,D,v,u),A0=$0,O}if(c1(v))return $0=$5(v._debugInfo),O=Z0(O,D,v,u),A0=$0,O;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(O.tag!==0||Object.prototype.toString.call(O.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 O=F1(O,D,M0,u),A0=$0,O}if(typeof v.then==="function")return $0=$5(v._debugInfo),O=l0(O,D,oQ(v),u),A0=$0,O;if(v.$$typeof===q8)return l0(O,D,cQ(O,v),u);iQ(O,v)}if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return $0=""+v,D!==null&&D.tag===6?(G(O,D.sibling),u=N(D,$0),u.return=O,O=u):(G(O,D),u=V3($0,O.mode,u),u.return=O,u._debugOwner=O,u._debugTask=O._debugTask,u._debugInfo=A0,O=u),W(O);return typeof v==="function"&&aQ(O,v),typeof v==="symbol"&&tQ(O,v),G(O,D)}return function(O,D,v,u){var $0=A0;A0=null;try{FZ=0;var _0=l0(O,D,v,u);return R9=null,_0}catch(T1){if(T1===w9||T1===YJ)throw T1;var M0=L(29,T1,null,O.mode);M0.lanes=u,M0.return=O;var U0=M0._debugInfo=A0;if(M0._debugOwner=O._debugOwner,M0._debugTask=O._debugTask,U0!=null){for(var O0=U0.length-1;0<=O0;O0--)if(typeof U0[O0].stack==="string"){M0._debugOwner=U0[O0],M0._debugTask=U0[O0].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 z6($){return{lane:$,tag:VW,payload:null,callback:null,next:null}}function V6($,Z,G){var X=$.updateQueue;if(X===null)return null;if(X=X.shared,$U===X&&!EW){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),EW=!0}if((o0&r1)!==t1)return N=X.pending,N===null?Z.next=Z:(Z.next=N.next,N.next=Z),X.pending=Z,Z=xQ($),xK($,null,G),Z;return hQ($,X,Z,G),xQ($)}function z7($,Z,G){if(Z=Z.updateQueue,Z!==null&&(Z=Z.shared,(G&4194048)!==0)){var X=Z.lanes;X&=$.pendingLanes,G|=X,Z.lanes=G,
|
|
102
|
+
Please update the following component: %s`,N),EW=!0}if((o0&r1)!==t1)return N=X.pending,N===null?Z.next=Z:(Z.next=N.next,N.next=Z),X.pending=Z,Z=xQ($),xK($,null,G),Z;return hQ($,X,Z,G),xQ($)}function z7($,Z,G){if(Z=Z.updateQueue,Z!==null&&(Z=Z.shared,(G&4194048)!==0)){var X=Z.lanes;X&=$.pendingLanes,G|=X,Z.lanes=G,P2($,G)}}function eQ($,Z){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 W={lane:G.lane,tag:G.tag,payload:G.payload,callback:null,next:null};B===null?N=B=W:B=B.next=W,G=G.next}while(G!==null);B===null?N=B=Z:B=B.next=Z}else N=B=Z;G={baseState:X.baseState,firstBaseUpdate:N,lastBaseUpdate:B,shared:X.shared,callbacks:X.callbacks},$.updateQueue=G;return}$=G.lastBaseUpdate,$===null?G.firstBaseUpdate=Z:$.next=Z,G.lastBaseUpdate=Z}function V7(){if(ZU){var $=W9;if($!==null)throw $}}function L7($,Z,G,X){ZU=!1;var N=$.updateQueue;m6=!1,$U=N.shared;var{firstBaseUpdate:B,lastBaseUpdate:W}=N,w=N.shared.pending;if(w!==null){N.shared.pending=null;var V=w,_=V.next;V.next=null,W===null?B=_:W.next=_,W=V;var k=$.alternate;k!==null&&(k=k.updateQueue,w=k.lastBaseUpdate,w!==W&&(w===null?k.firstBaseUpdate=_:w.next=_,k.lastBaseUpdate=V))}if(B!==null){var b=N.baseState;W=0,k=_=V=null,w=B;do{var j=w.lane&-536870913,g=j!==w.lane;if(g?(S0&j)===j:(X&j)===j){j!==0&&j===n2&&(ZU=!0),k!==null&&(k=k.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});$:{j=$;var t=w,Z0=Z,F1=G;switch(t.tag){case LW:if(t=t.payload,typeof t==="function"){M9=!0;var l0=t.call(F1,b,Z0);if(j.mode&M5){H1(!0);try{t.call(F1,b,Z0)}finally{H1(!1)}}M9=!1,b=l0;break $}b=t;break $;case eY:j.flags=j.flags&-65537|128;case VW:if(l0=t.payload,typeof l0==="function"){if(M9=!0,t=l0.call(F1,b,Z0),j.mode&M5){H1(!0);try{l0.call(F1,b,Z0)}finally{H1(!1)}}M9=!1}else t=l0;if(t===null||t===void 0)break $;b=y0({},b,t);break $;case _W:m6=!0}}j=w.callback,j!==null&&($.flags|=64,g&&($.flags|=8192),g=N.callbacks,g===null?N.callbacks=[j]:g.push(j))}else g={lane:j,tag:w.tag,payload:w.payload,callback:w.callback,next:null},k===null?(_=k=g,V=b):k=k.next=g,W|=j;if(w=w.next,w===null)if(w=N.shared.pending,w===null)break;else g=w,w=g.next,g.next=null,N.lastBaseUpdate=g,N.shared.pending=null}while(1);k===null&&(V=b),N.baseState=V,N.firstBaseUpdate=_,N.lastBaseUpdate=k,B===null&&(N.shared.lanes=0),c6|=W,$.lanes=W,$.memoizedState=b}$U=null}function HB($,Z){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(Z)}function AL($,Z){var G=$.shared.hiddenCallbacks;if(G!==null)for($.shared.hiddenCallbacks=null,$=0;$<G.length;$++)HB(G[$],Z)}function MB($,Z){var G=$.callbacks;if(G!==null)for($.callbacks=null,$=0;$<G.length;$++)HB(G[$],Z)}function FB($,Z){var G=W8;z0(NJ,G,$),z0(T9,Z,$),W8=G|Z.baseLanes}function f3($){z0(NJ,W8,$),z0(T9,T9.current,$)}function y3($){W8=NJ.current,w0(T9,$),w0(NJ,$)}function L6($){var Z=$.alternate;z0(v1,v1.current&z9,$),z0(Z4,$,$),w4===null&&(Z===null||T9.current!==null?w4=$:Z.memoizedState!==null&&(w4=$))}function g3($){z0(v1,v1.current,$),z0(Z4,$,$),w4===null&&(w4=$)}function WB($){$.tag===22?(z0(v1,v1.current,$),z0(Z4,$,$),w4===null&&(w4=$)):_6($)}function _6($){z0(v1,v1.current,$),z0(Z4,Z4.current,$)}function n5($){w0(Z4,$),w4===$&&(w4=null),w0(v1,$)}function $G($){for(var Z=$;Z!==null;){if(Z.tag===13){var G=Z.memoizedState;if(G!==null&&(G=G.dehydrated,G===null||iX(G)||aX(G)))return Z}else if(Z.tag===19&&(Z.memoizedProps.revealOrder==="forwards"||Z.memoizedProps.revealOrder==="backwards"||Z.memoizedProps.revealOrder==="unstable_legacy-backwards"||Z.memoizedProps.revealOrder==="together")){if((Z.flags&128)!==0)return Z}else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===$)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===$)return null;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}return null}function f0(){var $=h;T4===null?T4=[$]:T4.push($)}function c(){var $=h;if(T4!==null&&(l8++,T4[l8]!==$)){var Z=d(L0);if(!PW.has(Z)&&(PW.add(Z),T4!==null)){for(var G="",X=0;X<=l8;X++){var N=T4[X],B=X===l8?$: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
|
|
@@ -112,7 +112,7 @@ Please update the following component: %s`,N),EW=!0}if((o0&r1)!==t1)return N=X.p
|
|
|
112
112
|
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function h3($,Z){if(RZ)return!1;if(Z===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!==Z.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(p8=B,L0=Z,T4=$!==null?$._debugHookTypes:null,l8=-1,RZ=$!==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:T4!==null?OW:GU,e6=B=(Z.mode&M5)!==V0;var W=oY(G,X,N);if(e6=!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=T4,Z.dependencies===null?c8!==null&&(Z.dependencies={lanes:0,firstContext:null,_debugThenableState:c8}):Z.dependencies._debugThenableState=c8,x.H=TZ;var G=N1!==null&&N1.next!==null;if(p8=0,T4=h=h1=N1=L0=null,l8=-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,c8=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&&(c8=null),wZ=0,L9=!1,N>=FP)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(N+=1,RZ=!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)}l8=-1,x.H=jW,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}p8=0,T4=h1=N1=L0=null,l8=-1,h=null,L9=!1,wZ=HJ=0,c8=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,c8===null&&(c8=QB()),$=JB(c8,$,Z),Z=L0,(h1===null?Z.memoizedState:h1.next)===null&&(Z=Z.alternate,x.H=Z!==null&&Z.memoizedState!==null?JU:GU),$}function E2($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return _7($);if($.$$typeof===q8)return V1($)}throw Error("An unsupported type was passed to use(): "+String($))}function y6($){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||RZ)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(e6){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:(p8&b)===b){var j=_.revertLane;if(j===0)V!==null&&(V=V.next={lane:0,revertLane:0,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),b===n6&&(k=!0);else if((p8&j)===j){_=_.next,j===n6&&(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|=j,c2|=j;b=_.action,e6&&G(B,b),B=_.hasEagerState?_.eagerState:G(B,b)}else j={lane:b,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},V===null?(w=V=j,W=B):V=V.next=j,L0.lanes|=b,c2|=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 E7($){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||RB(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$(R4|_5,{destroy:void 0},TB.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(O5(2048,_5,w,[$]),N.getSnapshot!==Z||W||h1!==null&&h1.memoizedState.tag&R4){if(X.flags|=2048,u$(R4|_5,{destroy:void 0},TB.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||(p8&127)!==0||RB(X,Z,G)}return G}function RB($,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 TB($,Z,G,X){Z.value=G,Z.getSnapshot=X,VB(Z)&&LB($)}function zB($,Z,G){return G(function(){VB(Z)&&(l4(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(),e6){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 EB(G,N1,$,Z)}function EB($,Z,G,X){return $.baseState=G,l3($,N1,typeof X==="function"?X:I4)}function PB($,Z){var G=J1();if(N1!==null)return EB(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){OB($,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.")):OB($,Z,G)}function OB($,Z,G){Z.status="fulfilled",Z.value=G,jB(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,jB(Z),Z=Z.next;while(Z!==X)}$.action=null}function jB($){$=$.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(R1){Z:{var N=R1;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===OU||B===Mw?N:null}if(N){R1=i5(N.nextSibling),X=N.data===OU;break $}}w2(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$(R4|_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 g6($,Z,G,X){var N=W5();L0.flags|=$,N.memoizedState=u$(R4|Z,{destroy:void 0},G,X===void 0?null:X)}function O5($,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$(R4|Z,B,G,X))}function XG($,Z){(L0.mode&A4)!==V0?g6(276826112,_5,$,Z):g6(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),g6(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),g6(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,O5(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(e6){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=$(),e6){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||(p8&1073741824)!==0&&(S0&261930)===0)return $.memoizedState=Z;return $.memoizedState=G,$=fH(),L0.lanes|=$,c2|=$,G}function bB($,Z,G,X){if(z5(G,Z))return G;if(T9.current!==null)return $=JX($,G,X),z5($,Z)||(x1=!0),$;if((p8&42)===0||(p8&1073741824)!==0&&(S0&261930)===0)return x1=!0,$.memoizedState=G;return $=fH(),L0.lanes|=$,c2|=$,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);P7($,Z,k,o5($))}else P7($,Z,X,o5($))}catch(b){P7($,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;OL($),fB($,N,Z,K$,G===null?R: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),P7($,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 $=E7(I4)[0],Z=J1().memoizedState;return[typeof $==="boolean"?$:_7($),Z]}function h6(){return V1(kZ)}function YX(){var $=W5(),Z=K1.identifierPrefix;if(p0){var G=h8,X=g8;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=MP++,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=z2(X),B=V2(G,N,X);B!==null&&(l4(X,"refresh()",$),C1(B,G,X),z7(B,G,X)),$=j3(),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&&(l4(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($),P7($,Z,G,X)&&l4(X,"setState()",$)}function P7($,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&&n6===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&&(l4(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,P6($,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 x6($,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,"["+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(p8=B,L0=Z,T4=$!==null?$._debugHookTypes:null,l8=-1,RZ=$!==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:T4!==null?OW: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=T4,Z.dependencies===null?c8!==null&&(Z.dependencies={lanes:0,firstContext:null,_debugThenableState:c8}):Z.dependencies._debugThenableState=c8,x.H=TZ;var G=N1!==null&&N1.next!==null;if(p8=0,T4=h=h1=N1=L0=null,l8=-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,c8=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&&(c8=null),wZ=0,L9=!1,N>=FP)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(N+=1,RZ=!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)}l8=-1,x.H=jW,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}p8=0,T4=h1=N1=L0=null,l8=-1,h=null,L9=!1,wZ=HJ=0,c8=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,c8===null&&(c8=QB()),$=JB(c8,$,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===q8)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||RZ)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:(p8&b)===b){var j=_.revertLane;if(j===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((p8&j)===j){_=_.next,j===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|=j,c6|=j;b=_.action,e2&&G(B,b),B=_.hasEagerState?_.eagerState:G(B,b)}else j={lane:b,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},V===null?(w=V=j,W=B):V=V.next=j,L0.lanes|=b,c6|=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 E7($){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||RB(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$(R4|_5,{destroy:void 0},TB.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(O5(2048,_5,w,[$]),N.getSnapshot!==Z||W||h1!==null&&h1.memoizedState.tag&R4){if(X.flags|=2048,u$(R4|_5,{destroy:void 0},TB.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||(p8&127)!==0||RB(X,Z,G)}return G}function RB($,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 TB($,Z,G,X){Z.value=G,Z.getSnapshot=X,VB(Z)&&LB($)}function zB($,Z,G){return G(function(){VB(Z)&&(l4(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 EB(G,N1,$,Z)}function EB($,Z,G,X){return $.baseState=G,l3($,N1,typeof X==="function"?X:I4)}function PB($,Z){var G=J1();if(N1!==null)return EB(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){OB($,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.")):OB($,Z,G)}function OB($,Z,G){Z.status="fulfilled",Z.value=G,jB(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,jB(Z),Z=Z.next;while(Z!==X)}$.action=null}function jB($){$=$.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(R1){Z:{var N=R1;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===OU||B===Mw?N:null}if(N){R1=i5(N.nextSibling),X=N.data===OU;break $}}w6(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$(R4|_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$(R4|Z,{destroy:void 0},G,X===void 0?null:X)}function O5($,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$(R4|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,O5(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||(p8&1073741824)!==0&&(S0&261930)===0)return $.memoizedState=Z;return $.memoizedState=G,$=fH(),L0.lanes|=$,c6|=$,G}function bB($,Z,G,X){if(z5(G,Z))return G;if(T9.current!==null)return $=JX($,G,X),z5($,Z)||(x1=!0),$;if((p8&42)===0||(p8&1073741824)!==0&&(S0&261930)===0)return x1=!0,$.memoizedState=G;return $=fH(),L0.lanes|=$,c6|=$,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);P7($,Z,k,o5($))}else P7($,Z,X,o5($))}catch(b){P7($,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;OL($),fB($,N,Z,K$,G===null?R: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),P7($,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 $=E7(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=h8,X=g8;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=MP++,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=z6(X),B=V6(G,N,X);B!==null&&(l4(X,"refresh()",$),C1(B,G,X),z7(B,G,X)),$=j3(),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&&(l4(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($),P7($,Z,G,X)&&l4(X,"setState()",$)}function P7($,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&&(l4(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,P2($,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
|
|
116
116
|
|
|
117
117
|
%s
|
|
118
118
|
`,_9?"An error occurred in the <"+_9+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
@@ -126,9 +126,9 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
126
126
|
%s
|
|
127
127
|
|
|
128
128
|
%s
|
|
129
|
-
`,$,Z,G)}function sB($){yY($)}function MG($,Z){try{_9=Z.source?d(Z.source):null,XU=null;var G=Z.value;if(x.actQueue!==null)x.thrownErrors.push(G);else{var X=$.onUncaughtError;X(G,{componentStack:Z.stack})}}catch(N){setTimeout(function(){throw N})}}function nB($,Z,G){try{_9=G.source?d(G.source):null,XU=d(Z);var X=$.onCaughtError;X(G.value,{componentStack:G.stack,errorBoundary:Z.tag===1?Z.stateNode:null})}catch(N){setTimeout(function(){throw N})}}function HX($,Z,G){return G=
|
|
129
|
+
`,$,Z,G)}function sB($){yY($)}function MG($,Z){try{_9=Z.source?d(Z.source):null,XU=null;var G=Z.value;if(x.actQueue!==null)x.thrownErrors.push(G);else{var X=$.onUncaughtError;X(G,{componentStack:Z.stack})}}catch(N){setTimeout(function(){throw N})}}function nB($,Z,G){try{_9=G.source?d(G.source):null,XU=d(Z);var X=$.onCaughtError;X(G.value,{componentStack:G.stack,errorBoundary:Z.tag===1?Z.stateNode:null})}catch(N){setTimeout(function(){throw N})}}function HX($,Z,G){return G=z6(G),G.tag=eY,G.payload={element:null},G.callback=function(){G0(Z.source,MG,$,Z)},G}function MX($){return $=z6($),$.tag=eY,$}function FX($,Z,G,X){var N=G.type.getDerivedStateFromError;if(typeof N==="function"){var B=X.value;$.payload=function(){return N(B)},$.callback=function(){mK(G),G0(X.source,nB,Z,G,X)}}var W=G.stateNode;W!==null&&typeof W.componentDidCatch==="function"&&($.callback=function(){mK(G),G0(X.source,nB,Z,G,X),typeof N!=="function"&&(r6===null?r6=new Set([this]):r6.add(this)),NP(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 gL($,Z,G,X,N){if(G.flags|=32768,U8&&v7($,N),X!==null&&typeof X==="object"&&typeof X.then==="function"){if(Z=G.alternate,Z!==null&&y$(Z,G,N,!0),p0&&(B8=!0),G=Z4.current,G!==null){switch(G.tag){case 31:case 13:return w4===null?_G():G.alternate===null&&E1===s8&&(E1=WJ),G.flags&=-257,G.flags|=65536,G.lanes=N,X===UJ?G.flags|=16384:(Z=G.updateQueue,Z===null?G.updateQueue=new Set([X]):Z.add(X),fX($,X,N)),!1;case 22:return G.flags|=65536,X===UJ?G.flags|=16384:(Z=G.updateQueue,Z===null?(Z={transitions:null,markerInstances:null,retryQueue:new Set([X])},G.updateQueue=Z):(G=Z.retryQueue,G===null?Z.retryQueue=new Set([X]):G.add(X)),fX($,X,N)),!1}throw Error("Unexpected Suspense handler tag ("+G.tag+"). This is a bug in React.")}return fX($,X,N),_G(),!1}if(p0)return B8=!0,Z=Z4.current,Z!==null?((Z.flags&65536)===0&&(Z.flags|=256),Z.flags|=65536,Z.lanes=N,X!==dY&&F7(l5(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!==dY&&F7(l5(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=l5(X,G),N=HX($.stateNode,X,N),eQ($,N),E1!==d6&&(E1=$$)),!1;var B=l5(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(PZ===null?PZ=[B]:PZ.push(B),E1!==d6&&(E1=$$),Z===null)return!0;X=l5(X,G),G=Z;do{switch(G.tag){case 3:return G.flags|=65536,$=N&-N,G.lanes|=$,$=HX(G.stateNode,X,$),eQ(G,$),!1;case 1:if(Z=G.type,B=G.stateNode,(G.flags&128)===0&&(typeof Z.getDerivedStateFromError==="function"||B!==null&&typeof B.componentDidCatch==="function"&&(r6===null||!r6.has(B))))return G.flags|=65536,N&=-N,G.lanes|=N,N=MX(N),FX(N,$,G,X),eQ(G,N),!1}G=G.return}while(G!==null);return!1}function Z5($,Z,G,X){Z.child=$===null?zW(Z,null,G,X):t2(Z,$.child,G,X)}function oB($,Z,G,X,N){G=G.render;var B=Z.ref;if("ref"in X){var W={};for(var w in X)w!=="ref"&&(W[w]=X[w])}else W=X;if(b2(Z),X=x3($,Z,G,W,B,N),w=m3(),$!==null&&!x1)return d3($,Z,N),S8($,Z,N);return p0&&w&&_3(Z),Z.flags|=1,Z5($,Z,X,N),Z.child}function iB($,Z,G,X,N){if($===null){var B=G.type;if(typeof B==="function"&&!T3(B)&&B.defaultProps===void 0&&G.compare===null)return G=A2(B),Z.tag=15,Z.type=G,wX(Z,B),aB($,Z,G,X,N);return $=z3(G.type,null,X,Z,Z.mode,N),$.ref=Z.ref,$.return=Z,Z.child=$}if(B=$.child,!_X($,N)){var W=B.memoizedProps;if(G=G.compare,G=G!==null?G:H7,G(W,X)&&$.ref===Z.ref)return S8($,Z,N)}return Z.flags|=1,$=O8(B,X),$.ref=Z.ref,$.return=Z,Z.child=$}function aB($,Z,G,X,N){if($!==null){var B=$.memoizedProps;if(H7(B,X)&&$.ref===Z.ref&&Z.type===$.type)if(x1=!1,Z.pendingProps=X=B,_X($,N))($.flags&131072)!==0&&(x1=!0);else return Z.lanes=$.lanes,S8($,Z,N)}return WX($,Z,G,X,N)}function tB($,Z,G,X){var N=X.children,B=$!==null?$.memoizedState:null;if($===null&&Z.stateNode===null&&(Z.stateNode={_visibility:e7,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.mode==="hidden"){if((Z.flags&128)!==0){if(B=B!==null?B.baseLanes|G:G,$!==null){X=Z.child=$.child;for(N=0;X!==null;)N=N|X.lanes|X.childLanes,X=X.sibling;X=N&~B}else X=0,Z.child=null;return eB($,Z,B,G,X)}if((G&536870912)!==0)Z.memoizedState={baseLanes:0,cachePool:null},$!==null&&sQ(Z,B!==null?B.cachePool:null),B!==null?FB(Z,B):f3(Z),WB(Z);else return X=Z.lanes=536870912,eB($,Z,B!==null?B.baseLanes|G:G,G,X)}else B!==null?(sQ(Z,B.cachePool),FB(Z,B),_6(Z),Z.memoizedState=null):($!==null&&sQ(Z,null),f3(Z),_6(Z));return Z5($,Z,N,G),Z.child}function C7($,Z){return $!==null&&$.tag===22||Z.stateNode!==null||(Z.stateNode={_visibility:e7,_pendingMarkers:null,_retryCache:null,_transitions:null}),Z.sibling}function eB($,Z,G,X,N){var B=S3();return B=B===null?null:{parent:y1._currentValue,pool:B},Z.memoizedState={baseLanes:G,cachePool:B},$!==null&&sQ(Z,null),f3(Z),WB(Z),$!==null&&y$($,Z,X,!0),Z.childLanes=N,null}function FG($,Z){var G=Z.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"'),Z=wG({mode:Z.mode,children:Z.children},$.mode),Z.ref=$.ref,$.child=Z,Z.return=$,Z}function $H($,Z,G){return
|
|
131
|
+
+ <Activity %s>`,G===!0?"hidden":G===!1?"hidden={false}":"hidden={...}",G?'mode="hidden"':'mode="visible"'),Z=wG({mode:Z.mode,children:Z.children},$.mode),Z.ref=$.ref,$.child=Z,Z.return=$,Z}function $H($,Z,G){return t2(Z,$.child,null,G),$=FG(Z,Z.pendingProps),$.flags|=2,n5(Z),Z.memoizedState=null,$}function hL($,Z,G){var X=Z.pendingProps,N=(Z.flags&128)!==0;if(Z.flags&=-129,$===null){if(p0){if(X.mode==="hidden")return $=FG(Z,X),Z.lanes=536870912,C7(null,$);if(g3(Z),($=R1)?(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,R1=null)):G=null,G===null)throw mQ(Z,$),w6(Z);return Z.lanes=536870912,null}return FG(Z,X)}var B=$.memoizedState;if(B!==null){var W=B.dehydrated;if(g3(Z),N)if(Z.flags&256)Z.flags&=-257,Z=$H($,Z,G);else if(Z.memoizedState!==null)Z.child=$.child,Z.flags|=128,Z=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(nK(),(G&536870912)!==0&&LG(Z),x1||y$($,Z,G,!1),N=(G&$.childLanes)!==0,x1||N){if(X=K1,X!==null&&(W=C2(X,G),W!==0&&W!==B.retryLane))throw B.retryLane=W,B5($,W),C1(X,$,W),YU;_G(),Z=$H($,Z,G)}else $=B.treeContext,R1=i5(W.nextSibling),J5=Z,p0=!0,f6=null,B8=!1,$4=null,F4=!1,$!==null&&sK(Z,$),Z=FG(Z,X),Z.flags|=4096;return Z}return B=$.child,X={mode:X.mode,children:X.children},(G&536870912)!==0&&(G&$.lanes)!==0&&LG(Z),$=O8(B,X),$.ref=Z.ref,Z.child=$,$.return=Z,$}function WG($,Z){var G=Z.ref;if(G===null)$!==null&&$.ref!==null&&(Z.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)Z.flags|=4194816}}function WX($,Z,G,X,N){if(G.prototype&&typeof G.prototype.render==="function"){var B=a(G)||"Unknown";uW[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),uW[B]=!0)}if(Z.mode&M5&&S4.recordLegacyContextWarning(Z,null),$===null&&(wX(Z,Z.type),G.contextTypes&&(B=a(G)||"Unknown",dW[B]||(dW[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)))),b2(Z),G=x3($,Z,G,X,void 0,N),X=m3(),$!==null&&!x1)return d3($,Z,N),S8($,Z,N);return p0&&X&&_3(Z),Z.flags|=1,Z5($,Z,G,N),Z.child}function ZH($,Z,G,X,N,B){if(b2(Z),l8=-1,RZ=$!==null&&$.type!==Z.type,Z.updateQueue=null,G=u3(Z,X,G,N),wB($,Z),X=m3(),$!==null&&!x1)return d3($,Z,B),S8($,Z,B);return p0&&X&&_3(Z),Z.flags|=1,Z5($,Z,G,B),Z.child}function QH($,Z,G,X,N){switch(H(Z)){case!1:var B=Z.stateNode,W=new Z.type(Z.memoizedProps,B.context).state;B.updater.enqueueSetState(B,W,null);break;case!0:Z.flags|=128,Z.flags|=65536,B=Error("Simulated error coming from DevTools");var w=N&-N;if(Z.lanes|=w,W=K1,W===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");w=MX(w),FX(w,W,Z,l5(B,Z)),eQ(Z,w)}if(b2(Z),Z.stateNode===null){if(W=b6,B=G.contextType,"contextType"in G&&B!==null&&(B===void 0||B.$$typeof!==q8)&&!hW.has(G)&&(hW.add(G),w=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===UY?" 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",w)),typeof B==="object"&&B!==null&&(W=V1(B)),B=new G(X,W),Z.mode&M5){H1(!0);try{B=new G(X,W)}finally{H1(!1)}}if(W=Z.memoizedState=B.state!==null&&B.state!==void 0?B.state:null,B.updater=qU,Z.stateNode=B,B._reactInternals=Z,B._reactInternalInstance=DW,typeof G.getDerivedStateFromProps==="function"&&W===null&&(W=a(G)||"Component",SW.has(W)||(SW.add(W),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.",W,B.state===null?"null":"undefined",W))),typeof G.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"){var V=w=W=null;if(typeof B.componentWillMount==="function"&&B.componentWillMount.__suppressDeprecationWarning!==!0?W="componentWillMount":typeof B.UNSAFE_componentWillMount==="function"&&(W="UNSAFE_componentWillMount"),typeof B.componentWillReceiveProps==="function"&&B.componentWillReceiveProps.__suppressDeprecationWarning!==!0?w="componentWillReceiveProps":typeof B.UNSAFE_componentWillReceiveProps==="function"&&(w="UNSAFE_componentWillReceiveProps"),typeof B.componentWillUpdate==="function"&&B.componentWillUpdate.__suppressDeprecationWarning!==!0?V="componentWillUpdate":typeof B.UNSAFE_componentWillUpdate==="function"&&(V="UNSAFE_componentWillUpdate"),W!==null||w!==null||V!==null){B=a(G)||"Component";var _=typeof G.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";kW.has(B)||(kW.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
|
|
|
@@ -136,8 +136,8 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
136
136
|
https://react.dev/link/unsafe-component-lifecycles`,B,_,W!==null?`
|
|
137
137
|
`+W:"",w!==null?`
|
|
138
138
|
`+w:"",V!==null?`
|
|
139
|
-
`+V:""))}}B=Z.stateNode,W=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?",W):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",W)),!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?",W),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.",W),B.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",W),G.childContextTypes&&!gW.has(G)&&(gW.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)",W)),G.contextTypes&&!yW.has(G)&&(yW.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)",W)),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.",W),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()?",W),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().",W),typeof B.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",W),typeof B.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",W),w=B.props!==X,B.props!==void 0&&w&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",W),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.",W,W),typeof B.getSnapshotBeforeUpdate!=="function"||typeof B.componentDidUpdate==="function"||vW.has(G)||(vW.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.",W),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.",W),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.",W),(w=B.state)&&(typeof w!=="object"||c1(w))&&console.error("%s.state: must be set to an object or null",W),typeof B.getChildContext==="function"&&typeof G.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",W),B=Z.stateNode,B.props=X,B.state=Z.memoizedState,B.refs={},k3(Z),W=G.contextType,B.context=typeof W==="object"&&W!==null?V1(W):
|
|
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 RX($){return{baseLanes:$,cachePool:ZB()}}function TX($,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?L2(Z):_2(Z),($=R1)?(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,R1=null)):G=null,G===null)throw mQ(Z,$),w2(Z);return aX(G)?Z.lanes=32:Z.lanes=536870912,null}var w=N.children;if(N=N.fallback,B){_2(Z);var V=Z.mode;return w=wG({mode:"hidden",children:w},V),N=S6(N,V,G,null),w.return=Z,N.return=Z,w.sibling=N,Z.child=w,N=Z.child,N.memoizedState=RX(G),N.childLanes=TX($,X,G),Z.memoizedState=UU,C7(null,N)}return L2(Z),zX(Z,w)}var _=$.memoizedState;if(_!==null){var k=_.dehydrated;if(k!==null){if(W)Z.flags&256?(L2(Z),Z.flags&=-257,Z=VX($,Z,G)):Z.memoizedState!==null?(_2(Z),Z.child=$.child,Z.flags|=128,Z=null):(_2(Z),w=N.fallback,V=Z.mode,N=wG({mode:"visible",children:N.children},V),w=S6(w,V,G,null),w.flags|=2,N.return=Z,w.return=Z,N.sibling=w,Z.child=N,t6(Z,$.child,null,G),N=Z.child,N.memoizedState=RX(G),N.childLanes=TX($,X,G),Z.memoizedState=UU,Z=C7(null,N));else if(L2(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 j=X.cstck}B=b,X=w,N=V,k=j,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=C6(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,R1=i5(k.nextSibling),J5=Z,p0=!0,f2=null,B8=!1,$4=null,F4=!1,$!==null&&sK(Z,$),Z=zX(Z,N.children),Z.flags|=4096);return Z}}if(B)return _2(Z),w=N.fallback,V=Z.mode,j=$.child,k=j.sibling,N=O8(j,{mode:"hidden",children:N.children}),N.subtreeFlags=j.subtreeFlags&65011712,k!==null?w=O8(k,w):(w=S6(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=RX(G):(V=w.cachePool,V!==null?(j=y1._currentValue,V=V.parent!==j?{parent:j,pool:j}:V):V=ZB(),w={baseLanes:w.baseLanes|G,cachePool:V}),N.memoizedState=w,N.childLanes=TX($,X,G),Z.memoizedState=UU,C7($.child,N);return _!==null&&(G&62914560)===G&&(G&$.lanes)!==0&&LG(Z),L2(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 t6(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?(W2(),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 S8($,Z,G){if($!==null&&(Z.dependencies=$.dependencies),V5=-1,c2|=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),R2(Z,y1,$.memoizedState.cache),k6();break;case 27:case 5:d0(Z);break;case 4:l(Z,Z.stateNode.containerInfo);break;case 10:R2(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 L2(Z),Z.flags|=128,null;if((G&Z.child.childLanes)!==0)return JH($,Z,G);return L2(Z),$=S8($,Z,G),$!==null?$.sibling:null}L2(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:R2(Z,y1,$.memoizedState.cache)}return S8($,Z,G)}function EX($,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)W2(),X=(Z.flags&1048576)!==0;X&&(X=Z.index,W2(),lK(Z,$Z,X))}switch(Z.lanes=0,Z.tag){case 16:$:if(X=Z.pendingProps,$=T2(Z.elementType),Z.type=$,typeof $==="function")T3($)?(X=x6($,X),Z.tag=1,Z.type=$=A6($),Z=QH(null,Z,$,X,G)):(Z.tag=0,wX(Z,$),Z.type=$=A6($),Z=WX(null,Z,$,X,G));else{if($!==void 0&&$!==null){if(N=$.$$typeof,N===m7){Z.tag=11,Z.type=$=R3($),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=x6(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,R2(Z,y1,X),X!==B.cache&&O3(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:$}R1=i5($.firstChild),J5=Z,p0=!0,f2=null,B8=!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(k6(),X===N){Z=S8($,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(j2.current),X=IG(X).createElement(G),X[G5]=Z,X[R5]=$,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(j2.current),N=K0(),X=Z.stateNode=DM(Z.type,Z.pendingProps,X,N,!1),B8||(N=RM(X,Z.type,Z.pendingProps,N),N!==null&&(v6(Z,0).serverProps=N)),J5=Z,F4=!0,N=R1,I2(Z.type)?(SU=N,R1=i5(X.firstChild)):R1=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=R1,(W=!N)||(W=O_(N,Z.type,Z.pendingProps,F4),W!==null?(Z.stateNode=W,B8||(B=RM(W,Z.type,Z.pendingProps,B),B!==null&&(v6(Z,0).serverProps=B)),J5=Z,R1=i5(W.firstChild),F4=!1,B=!0):B=!1,W=!B),W&&(X&&mQ(Z,N),w2(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,$=R1,(X=!$)||(X=j_($,Z.pendingProps,F4),X!==null?(Z.stateNode=X,J5=Z,R1=null,X=!0):X=!1,X=!X),X&&(G&&mQ(Z,$),w2(Z))),null;case 13:return JH($,Z,G);case 4:return l(Z,Z.stateNode.containerInfo),X=Z.pendingProps,$===null?Z.child=t6(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?")),R2(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."),b6(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 b6(Z),X=V1(y1),$===null?(N=S3(),N===null&&(N=K1,B=j3(),N.pooledCache=B,f6(B),B!==null&&(N.pooledCacheLanes|=G),N=B),Z.memoizedState={parent:X,cache:N},k3(Z),R2(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),R2(Z,y1,X)):(X=B.cache,R2(Z,y1,X),X!==N.cache&&O3(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 v8($){$.flags|=4}function PX($,Z,G,X,N){if(Z=($.mode&qP)!==V0)Z=!1;if(Z){if($.flags|=16777216,(N&335544128)===N)if($.stateNode.complete)$.flags|=8192;else if(xH())$.flags|=8192;else throw a6=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 a6=UJ,aY}function RG($,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(E3(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),D8(y1,Z),J0(Z),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),$===null||$.child===null)f$(Z)?(C3(),v8(Z)):$===null||$.memoizedState.isDehydrated&&(Z.flags&256)===0||(Z.flags|=1024,P3());return M1(Z),null;case 26:var{type:N,memoizedState:B}=Z;return $===null?(v8(Z),B!==null?(M1(Z),YH(Z,B)):(M1(Z),PX(Z,N,null,X,G))):B?B!==$.memoizedState?(v8(Z),M1(Z),YH(Z,B)):(M1(Z),Z.flags&=-16777217):($=$.memoizedProps,$!==X&&v8(Z),M1(Z),PX(Z,N,$,X,G)),null;case 27:if(k0(Z),G=C0(j2.current),N=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&v8(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=$,v8(Z))}return M1(Z),null;case 5:if(k0(Z),N=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&v8(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(j2.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]"||j4.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[R5]=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&&v8(Z)}}return M1(Z),PX(Z,Z.type,$===null?null:$.memoizedProps,Z.pendingProps,G),null;case 6:if($&&Z.stateNode!=null)$.memoizedProps!==X&&v8(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(j2.current),G=K0(),f$(Z)){if($=Z.stateNode,G=Z.memoizedProps,N=!B8,X=null,B=J5,B!==null)switch(B.tag){case 3:N&&(N=OM($,G,X),N!==null&&(v6(Z,0).serverProps=N));break;case 27:case 5:X=B.memoizedProps,N&&(N=OM($,G,X),N!==null&&(v6(Z,0).serverProps=N))}$[G5]=Z,$=$.nodeValue===G||X!==null&&X.suppressHydrationWarning===!0||HM($.nodeValue,G)?!0:!1,$||w2(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(),k6(),(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=P3(),$!==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(),k6(),(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=P3(),$!==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&&R7(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),RG(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 D8(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(E1!==s8||$!==null&&($.flags&128)!==0)for($=Z.child;$!==null;){if(B=$G($),B!==null){Z.flags|=128,I7(X,!1),$=B.updateQueue,Z.updateQueue=$,RG(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&&j8(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=$,RG(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&&j8(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&&RG(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(o6,Z),null;case 24:return G=null,$!==null&&(G=$.memoizedState.cache),Z.memoizedState.cache!==G&&(Z.flags|=2048),D8(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(E3(Z),Z.tag){case 1:return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&D0)!==V0&&R7(Z),Z):null;case 3:return D8(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.");k6()}return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&D0)!==V0&&R7(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.");k6()}return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&D0)!==V0&&R7(Z),Z):null;case 19:return w0(v1,Z),null;case 4:return J0(Z),null;case 10:return D8(Z.type,Z),null;case 22:case 23:return n5(Z),y3(Z),$!==null&&w0(o6,Z),$=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&D0)!==V0&&R7(Z),Z):null;case 24:return D8(y1,Z),null;case 25:return null;default:return null}}function UH($,Z){switch(E3(Z),Z.tag){case 3:D8(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:D8(Z.type,Z);break;case 22:case 23:n5(Z),y3(Z),$!==null&&w0(o6,Z);break;case 24:D8(y1,Z)}}function t4($){return($.mode&D0)!==V0}function NH($,Z){t4($)?(a4(),O7(Z,$),i4()):O7(Z,$)}function CX($,Z,G){t4($)?(a4(),m$(G,$,Z),i4()):m$(G,$,Z)}function O7($,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&&(j9=!0),X=G0(Z,KP,G),($&L5)!==KJ&&(j9=!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"?`
|
|
139
|
+
`+V:""))}}B=Z.stateNode,W=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?",W):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",W)),!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?",W),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.",W),B.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",W),G.childContextTypes&&!gW.has(G)&&(gW.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)",W)),G.contextTypes&&!yW.has(G)&&(yW.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)",W)),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.",W),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()?",W),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().",W),typeof B.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",W),typeof B.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",W),w=B.props!==X,B.props!==void 0&&w&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",W),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.",W,W),typeof B.getSnapshotBeforeUpdate!=="function"||typeof B.componentDidUpdate==="function"||vW.has(G)||(vW.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.",W),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.",W),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.",W),(w=B.state)&&(typeof w!=="object"||c1(w))&&console.error("%s.state: must be set to an object or null",W),typeof B.getChildContext==="function"&&typeof G.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",W),B=Z.stateNode,B.props=X,B.state=Z.memoizedState,B.refs={},k3(Z),W=G.contextType,B.context=typeof W==="object"&&W!==null?V1(W):b6,B.state===X&&(W=a(G)||"Component",bW.has(W)||(bW.add(W),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.",W))),Z.mode&M5&&S4.recordLegacyContextWarning(Z,B),S4.recordUnsafeLifecycleWarnings(Z,B),B.state=Z.memoizedState,W=G.getDerivedStateFromProps,typeof W==="function"&&(BX(Z,G,W,X),B.state=Z.memoizedState),typeof G.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"||typeof B.UNSAFE_componentWillMount!=="function"&&typeof B.componentWillMount!=="function"||(W=B.state,typeof B.componentWillMount==="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount==="function"&&B.UNSAFE_componentWillMount(),W!==B.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d(Z)||"Component"),qU.enqueueReplaceState(B,B.state,null)),L7(Z,X,B,N),V7(),B.state=Z.memoizedState),typeof B.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&A4)!==V0&&(Z.flags|=134217728),B=!0}else if($===null){B=Z.stateNode;var k=Z.memoizedProps;w=x2(G,k),B.props=w;var b=B.context;V=G.contextType,W=b6,typeof V==="object"&&V!==null&&(W=V1(V)),_=G.getDerivedStateFromProps,V=typeof _==="function"||typeof B.getSnapshotBeforeUpdate==="function",k=Z.pendingProps!==k,V||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(k||b!==W)&&cB(Z,B,X,W),m6=!1;var j=Z.memoizedState;B.state=j,L7(Z,X,B,N),V7(),b=Z.memoizedState,k||j!==b||m6?(typeof _==="function"&&(BX(Z,G,_,X),b=Z.memoizedState),(w=m6||pB(Z,G,w,X,j,b,W))?(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"&&(Z.flags|=4194308),(Z.mode&A4)!==V0&&(Z.flags|=134217728)):(typeof B.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&A4)!==V0&&(Z.flags|=134217728),Z.memoizedProps=X,Z.memoizedState=b),B.props=X,B.state=b,B.context=W,B=w):(typeof B.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&A4)!==V0&&(Z.flags|=134217728),B=!1)}else{B=Z.stateNode,b3($,Z),W=Z.memoizedProps,V=x2(G,W),B.props=V,_=Z.pendingProps,j=B.context,b=G.contextType,w=b6,typeof b==="object"&&b!==null&&(w=V1(b)),k=G.getDerivedStateFromProps,(b=typeof k==="function"||typeof B.getSnapshotBeforeUpdate==="function")||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(W!==_||j!==w)&&cB(Z,B,X,w),m6=!1,j=Z.memoizedState,B.state=j,L7(Z,X,B,N),V7();var g=Z.memoizedState;W!==_||j!==g||m6||$!==null&&$.dependencies!==null&&pQ($.dependencies)?(typeof k==="function"&&(BX(Z,G,k,X),g=Z.memoizedState),(V=m6||pB(Z,G,V,X,j,g,w)||$!==null&&$.dependencies!==null&&pQ($.dependencies))?(b||typeof B.UNSAFE_componentWillUpdate!=="function"&&typeof B.componentWillUpdate!=="function"||(typeof B.componentWillUpdate==="function"&&B.componentWillUpdate(X,g,w),typeof B.UNSAFE_componentWillUpdate==="function"&&B.UNSAFE_componentWillUpdate(X,g,w)),typeof B.componentDidUpdate==="function"&&(Z.flags|=4),typeof B.getSnapshotBeforeUpdate==="function"&&(Z.flags|=1024)):(typeof B.componentDidUpdate!=="function"||W===$.memoizedProps&&j===$.memoizedState||(Z.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||W===$.memoizedProps&&j===$.memoizedState||(Z.flags|=1024),Z.memoizedProps=X,Z.memoizedState=g),B.props=X,B.state=g,B.context=w,B=V):(typeof B.componentDidUpdate!=="function"||W===$.memoizedProps&&j===$.memoizedState||(Z.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||W===$.memoizedProps&&j===$.memoizedState||(Z.flags|=1024),B=!1)}if(w=B,WG($,Z),W=(Z.flags&128)!==0,w||W){if(w=Z.stateNode,j$(Z),W&&typeof G.getDerivedStateFromError!=="function")G=null,V5=-1;else if(G=qW(w),Z.mode&M5){H1(!0);try{qW(w)}finally{H1(!1)}}Z.flags|=1,$!==null&&W?(Z.child=t2(Z,$.child,null,N),Z.child=t2(Z,null,G,N)):Z5($,Z,G,N),Z.memoizedState=w.state,$=Z.child}else $=S8($,Z,N);return N=Z.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(Z)||"a component"),E9=!0),$}function GH($,Z,G,X){return k2(),Z.flags|=256,Z5($,Z,G,X),Z.child}function wX($,Z){Z&&Z.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
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 RX($){return{baseLanes:$,cachePool:ZB()}}function TX($,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?L6(Z):_6(Z),($=R1)?(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,R1=null)):G=null,G===null)throw mQ(Z,$),w6(Z);return aX(G)?Z.lanes=32:Z.lanes=536870912,null}var w=N.children;if(N=N.fallback,B){_6(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=RX(G),N.childLanes=TX($,X,G),Z.memoizedState=UU,C7(null,N)}return L6(Z),zX(Z,w)}var _=$.memoizedState;if(_!==null){var k=_.dehydrated;if(k!==null){if(W)Z.flags&256?(L6(Z),Z.flags&=-257,Z=VX($,Z,G)):Z.memoizedState!==null?(_6(Z),Z.child=$.child,Z.flags|=128,Z=null):(_6(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=RX(G),N.childLanes=TX($,X,G),Z.memoizedState=UU,Z=C7(null,N));else if(L6(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 j=X.cstck}B=b,X=w,N=V,k=j,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,R1=i5(k.nextSibling),J5=Z,p0=!0,f6=null,B8=!1,$4=null,F4=!1,$!==null&&sK(Z,$),Z=zX(Z,N.children),Z.flags|=4096);return Z}}if(B)return _6(Z),w=N.fallback,V=Z.mode,j=$.child,k=j.sibling,N=O8(j,{mode:"hidden",children:N.children}),N.subtreeFlags=j.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=RX(G):(V=w.cachePool,V!==null?(j=y1._currentValue,V=V.parent!==j?{parent:j,pool:j}:V):V=ZB(),w={baseLanes:w.baseLanes|G,cachePool:V}),N.memoizedState=w,N.childLanes=TX($,X,G),Z.memoizedState=UU,C7($.child,N);return _!==null&&(G&62914560)===G&&(G&$.lanes)!==0&&LG(Z),L6(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 S8($,Z,G){if($!==null&&(Z.dependencies=$.dependencies),V5=-1,c6|=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 L6(Z),Z.flags|=128,null;if((G&Z.child.childLanes)!==0)return JH($,Z,G);return L6(Z),$=S8($,Z,G),$!==null?$.sibling:null}L6(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 S8($,Z,G)}function EX($,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,$=T6(Z.elementType),Z.type=$,typeof $==="function")T3($)?(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=$=R3($),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&&O3(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:$}R1=i5($.firstChild),J5=Z,p0=!0,f6=null,B8=!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=S8($,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(j6.current),X=IG(X).createElement(G),X[G5]=Z,X[R5]=$,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(j6.current),N=K0(),X=Z.stateNode=DM(Z.type,Z.pendingProps,X,N,!1),B8||(N=RM(X,Z.type,Z.pendingProps,N),N!==null&&(v2(Z,0).serverProps=N)),J5=Z,F4=!0,N=R1,I6(Z.type)?(SU=N,R1=i5(X.firstChild)):R1=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=R1,(W=!N)||(W=O_(N,Z.type,Z.pendingProps,F4),W!==null?(Z.stateNode=W,B8||(B=RM(W,Z.type,Z.pendingProps,B),B!==null&&(v2(Z,0).serverProps=B)),J5=Z,R1=i5(W.firstChild),F4=!1,B=!0):B=!1,W=!B),W&&(X&&mQ(Z,N),w6(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,$=R1,(X=!$)||(X=j_($,Z.pendingProps,F4),X!==null?(Z.stateNode=X,J5=Z,R1=null,X=!0):X=!1,X=!X),X&&(G&&mQ(Z,$),w6(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=j3(),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&&O3(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 v8($){$.flags|=4}function PX($,Z,G,X,N){if(Z=($.mode&qP)!==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 RG($,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(E3(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),D8(y1,Z),J0(Z),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),$===null||$.child===null)f$(Z)?(C3(),v8(Z)):$===null||$.memoizedState.isDehydrated&&(Z.flags&256)===0||(Z.flags|=1024,P3());return M1(Z),null;case 26:var{type:N,memoizedState:B}=Z;return $===null?(v8(Z),B!==null?(M1(Z),YH(Z,B)):(M1(Z),PX(Z,N,null,X,G))):B?B!==$.memoizedState?(v8(Z),M1(Z),YH(Z,B)):(M1(Z),Z.flags&=-16777217):($=$.memoizedProps,$!==X&&v8(Z),M1(Z),PX(Z,N,$,X,G)),null;case 27:if(k0(Z),G=C0(j6.current),N=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&v8(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=$,v8(Z))}return M1(Z),null;case 5:if(k0(Z),N=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&v8(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(j6.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]"||j4.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[R5]=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&&v8(Z)}}return M1(Z),PX(Z,Z.type,$===null?null:$.memoizedProps,Z.pendingProps,G),null;case 6:if($&&Z.stateNode!=null)$.memoizedProps!==X&&v8(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(j6.current),G=K0(),f$(Z)){if($=Z.stateNode,G=Z.memoizedProps,N=!B8,X=null,B=J5,B!==null)switch(B.tag){case 3:N&&(N=OM($,G,X),N!==null&&(v2(Z,0).serverProps=N));break;case 27:case 5:X=B.memoizedProps,N&&(N=OM($,G,X),N!==null&&(v2(Z,0).serverProps=N))}$[G5]=Z,$=$.nodeValue===G||X!==null&&X.suppressHydrationWarning===!0||HM($.nodeValue,G)?!0:!1,$||w6(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=P3(),$!==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=P3(),$!==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&&R7(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),RG(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 D8(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(E1!==s8||$!==null&&($.flags&128)!==0)for($=Z.child;$!==null;){if(B=$G($),B!==null){Z.flags|=128,I7(X,!1),$=B.updateQueue,Z.updateQueue=$,RG(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&&j8(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=$,RG(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&&j8(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&&RG(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),D8(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(E3(Z),Z.tag){case 1:return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&D0)!==V0&&R7(Z),Z):null;case 3:return D8(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&&R7(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&&R7(Z),Z):null;case 19:return w0(v1,Z),null;case 4:return J0(Z),null;case 10:return D8(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&&R7(Z),Z):null;case 24:return D8(y1,Z),null;case 25:return null;default:return null}}function UH($,Z){switch(E3(Z),Z.tag){case 3:D8(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:D8(Z.type,Z);break;case 22:case 23:n5(Z),y3(Z),$!==null&&w0(o2,Z);break;case 24:D8(y1,Z)}}function t4($){return($.mode&D0)!==V0}function NH($,Z){t4($)?(a4(),O7(Z,$),i4()):O7(Z,$)}function CX($,Z,G){t4($)?(a4(),m$(G,$,Z),i4()):m$(G,$,Z)}function O7($,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&&(j9=!0),X=G0(Z,KP,G),($&L5)!==KJ&&(j9=!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"?`
|
|
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&&(j9=!0),N=Z,G0(N,BP,N,G,w),($&L5)!==KJ&&(j9=!1))}X=X.next}while(X!==B)}}catch(V){$1(Z,Z.return,V)}}function KH($,Z){t4($)?(a4(),O7(Z,$),i4()):O7(Z,$)}function IX($,Z,G){t4($)?(a4(),m$(G,$,Z),i4()):m$(G,$,Z)}function BH($){var Z=$.updateQueue;if(Z!==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($,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||E9||(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=x6($.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=x6($.type,$.memoizedProps),G.state=$.memoizedState,t4($)?(a4(),G0($,BW,$,Z,G),i4()):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(t4($))try{a4(),$.refCleanup=Z(G)}finally{i4()}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 j7($,Z){try{G0($,cL,$)}catch(G){$1($,Z,G)}}function e4($,Z){var{ref:G,refCleanup:X}=$;if(G!==null)if(typeof X==="function")try{if(t4($))try{a4(),G0($,X)}finally{i4($)}else G0($,X)}catch(N){$1($,Z,N)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof G==="function")try{if(t4($))try{a4(),G0($,G,null)}finally{i4($)}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 OX($,Z,G){try{G0($,R_,$.stateNode,$.type,G,Z,$)}catch(X){$1($,$.return,X)}}function WH($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&I2($.type)||$.tag===4}function jX($){$: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&&I2($.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=I8));else if(X!==4&&(X===27&&I2($.type)&&(G=$.stateNode,Z=null),$=$.child,$!==null))for(DX($,Z,G),$=$.sibling;$!==null;)DX($,Z,G),$=$.sibling}function TG($,Z,G){var X=$.tag;if(X===5||X===6)$=$.stateNode,Z?G.insertBefore($,Z):G.appendChild($);else if(X!==4&&(X===27&&I2($.type)&&(G=$.stateNode),$=$.child,$!==null))for(TG($,Z,G),$=$.sibling;$!==null;)TG($,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=jX($),TG($,G,Z);break;case 5:G=Z.stateNode,Z.flags&32&&(LM(G),Z.flags&=-33),Z=jX($),TG($,Z,G);break;case 3:case 4:Z=Z.stateNode.containerInfo,G=jX($),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 RH($,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,jU=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=$,j=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;j=b,b=g}for(;;){if(b===$)break Z;if(j===G&&++_===N&&(w=W),j===B&&++k===X&&(V=W),(g=b.nextSibling)!==null)break;b=j,j=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 TH($,Z,G){var X=r5(),N=r4(),B=n4(),W=o4(),w=G.flags;switch(G.tag){case 0:case 11:case 15:$8($,G),w&4&&NH(G,Q4|R4);break;case 1:if($8($,G),w&4)if($=G.stateNode,Z===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")),t4(G)?(a4(),G0(G,iY,G,$),i4()):G0(G,iY,G,$);else{var V=x6(G.type,Z.memoizedProps);Z=Z.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")),t4(G)?(a4(),G0(G,UW,G,$,V,Z,$.__reactInternalSnapshotBeforeUpdate),i4()):G0(G,UW,G,$,V,Z,$.__reactInternalSnapshotBeforeUpdate)}w&64&&BH(G),w&512&&j7(G,G.return);break;case 3:if(Z=A8(),$8($,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($8($,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&&j7(G,G.return);break;case 12:if(w&4){w=A8(),$8($,G),$=G.stateNode,$.effectDuration+=w7(w);try{G0(G,MH,G,Z,y2,$.effectDuration)}catch(k){$1(G,G.return,k)}}else $8($,G);break;case 31:$8($,G),w&4&&LH($,G);break;case 13:$8($,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||r8,!w){Z=Z!==null&&Z.memoizedState!==null||u1,V=r8;var _=u1;r8=w,(u1=Z)&&!_?(Z8($,G,(G.subtreeFlags&8772)!==0),(G.mode&D0)!==V0&&0<=W0&&0<=T0&&0.05<T0-W0&&fQ(G,W0,T0)):$8($,G),r8=V,u1=_}break;case 30:break;default:$8($,G)}(G.mode&D0)!==V0&&0<=W0&&0<=T0&&((I1||0.05<_1)&&c4(G,W0,T0,_1,L1),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<T0-W0&&(RH(G.return.alternate,G.return)||p4(G,W0,T0,"Mount"))),s5(X),s4(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 k8($,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(_){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",_))}var X=r5(),N=r4(),B=n4(),W=o4();switch(G.tag){case 26:u1||e4(G,Z),k8($,Z,G),G.memoizedState?G.memoizedState.count--:G.stateNode&&($=G.stateNode,$.parentNode.removeChild($));break;case 27:u1||e4(G,Z);var w=m1,V=A5;I2(G.type)&&(m1=G.stateNode,A5=!1),k8($,Z,G),G0(G,g7,G.stateNode),m1=w,A5=V;break;case 5:u1||e4(G,Z);case 6:if(w=m1,V=A5,m1=null,k8($,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,EM($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,G.stateNode),o$($)):EM(m1,G.stateNode));break;case 4:w=m1,V=A5,m1=G.stateNode.containerInfo,A5=!0,k8($,Z,G),m1=w,A5=V;break;case 0:case 11:case 14:case 15:m$(L5,G,Z),u1||CX(G,Z,Q4),k8($,Z,G);break;case 1:u1||(e4(G,Z),w=G.stateNode,typeof w.componentWillUnmount==="function"&&HH(G,Z,w)),k8($,Z,G);break;case 21:k8($,Z,G);break;case 22:u1=(w=u1)||G.memoizedState!==null,k8($,Z,G),u1=w;break;default:k8($,Z,G)}(G.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4(G,W0,T0,_1,L1),s5(X),s4(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),U8)if(P9!==null&&C9!==null)v7(C9,P9);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 j5($,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(I2(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<=T0&&0.05<T0-W0&&p4(W,W0,T0,"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;)EH(Z,$),Z=Z.sibling}function EH($,Z){var G=r5(),X=r4(),N=n4(),B=o4(),W=$.alternate,w=$.flags;switch($.tag){case 0:case 11:case 14:case 15:j5(Z,$),D5($),w&4&&(m$(L5|R4,$,$.return),O7(L5|R4,$),CX($,$.return,Q4|R4));break;case 1:if(j5(Z,$),D5($),w&512&&(u1||W===null||e4(W,W.return)),w&64&&r8&&(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,j5(Z,$),D5($),w&512&&(u1||W===null||e4(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&&OX($,$.memoizedProps,W.memoizedProps)}break;case 27:j5(Z,$),D5($),w&512&&(u1||W===null||e4(W,W.return)),W!==null&&w&4&&OX($,$.memoizedProps,W.memoizedProps);break;case 5:if(j5(Z,$),D5($),w&512&&(u1||W===null||e4(W,W.return)),$.flags&32){V=$.stateNode;try{G0($,LM,V)}catch(Z0){$1($,$.return,Z0)}}w&4&&$.stateNode!=null&&(V=$.memoizedProps,OX($,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(j5(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($,T_,V,W,w)}catch(Z0){$1($,$.return,Z0)}}break;case 3:if(V=A8(),fJ=null,_=k4,k4=OG(Z.containerInfo),j5(Z,$),k4=_,D5($),w&4&&W!==null&&W.memoizedState.isDehydrated)try{G0($,A_,Z.containerInfo)}catch(Z0){$1($,$.return,Z0)}NU&&(NU=!1,PH($)),Z.effectDuration+=lQ(V);break;case 4:w=k4,k4=OG($.stateNode.containerInfo),j5(Z,$),D5($),k4=w;break;case 12:w=A8(),j5(Z,$),D5($),$.stateNode.effectDuration+=w7(w);break;case 31:j5(Z,$),D5($),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,zG($,w)));break;case 13:j5(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 j=W!==null&&W.memoizedState!==null,g=r8,t=u1;if(r8=g||V,u1=t||j,j5(Z,$),u1=t,r8=g,j&&!V&&!g&&!t&&($.mode&D0)!==V0&&0<=W0&&0<=T0&&0.05<T0-W0&&fQ($,W0,T0),D5($),w&8192)$:for(Z=$.stateNode,Z._visibility=V?Z._visibility&~e7:Z._visibility|e7,!V||W===null||j||r8||u1||(u6($),($.mode&D0)!==V0&&0<=W0&&0<=T0&&0.05<T0-W0&&p4($,W0,T0,"Disconnect")),W=null,Z=$;;){if(Z.tag===5||Z.tag===26){if(W===null){j=W=Z;try{_=j.stateNode,V?G0(j,__,_):G0(j,C_,j.stateNode,j.memoizedProps)}catch(Z0){$1(j,j.return,Z0)}}}else if(Z.tag===6){if(W===null){j=Z;try{k=j.stateNode,V?G0(j,E_,k):G0(j,I_,k,j.memoizedProps)}catch(Z0){$1(j,j.return,Z0)}}}else if(Z.tag===18){if(W===null){j=Z;try{b=j.stateNode,V?G0(j,L_,b):G0(j,P_,j.stateNode)}catch(Z0){$1(j,j.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:j5(Z,$),D5($),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,zG($,w)));break;case 30:break;case 21:break;default:j5(Z,$),D5($)}($.mode&D0)!==V0&&0<=W0&&0<=T0&&((I1||0.05<_1)&&c4($,W0,T0,_1,L1),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<T0-W0&&(RH($.return.alternate,$.return)||p4($,W0,T0,"Mount"))),s5(G),s4(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 PH($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var Z=$;PH(Z),Z.tag===5&&Z.flags&1024&&Z.stateNode.reset(),$=$.sibling}}function $8($,Z){if(Z.subtreeFlags&8772)for(Z=Z.child;Z!==null;)TH($,Z.alternate,Z),Z=Z.sibling}function CH($){var Z=r5(),G=r4(),X=n4(),N=o4();switch($.tag){case 0:case 11:case 14:case 15:CX($,$.return,Q4),u6($);break;case 1:e4($,$.return);var B=$.stateNode;typeof B.componentWillUnmount==="function"&&HH($,$.return,B),u6($);break;case 27:G0($,g7,$.stateNode);case 26:case 5:e4($,$.return),u6($);break;case 22:$.memoizedState===null&&u6($);break;case 30:u6($);break;default:u6($)}($.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4($,W0,T0,_1,L1),s5(Z),s4(G),L1=X,I1=N}function u6($){for($=$.child;$!==null;)CH($),$=$.sibling}function IH($,Z,G,X){var N=r5(),B=r4(),W=n4(),w=o4(),V=G.flags;switch(G.tag){case 0:case 11:case 15:Z8($,G,X),NH(G,Q4);break;case 1:if(Z8($,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),j7(G,G.return);break;case 27:wH(G);case 26:case 5:Z8($,G,X),X&&Z===null&&V&4&&FH(G),j7(G,G.return);break;case 12:if(X&&V&4){V=A8(),Z8($,G,X),X=G.stateNode,X.effectDuration+=w7(V);try{G0(G,MH,G,Z,y2,X.effectDuration)}catch(_){$1(G,G.return,_)}}else Z8($,G,X);break;case 31:Z8($,G,X),X&&V&4&&LH($,G);break;case 13:Z8($,G,X),X&&V&4&&_H($,G);break;case 22:G.memoizedState===null&&Z8($,G,X),j7(G,G.return);break;case 30:break;default:Z8($,G,X)}(G.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4(G,W0,T0,_1,L1),s5(N),s4(B),L1=W,I1=w}function Z8($,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&&f6($),G!=null&&W7(G))}function SX($,Z){$=null,Z.alternate!==null&&($=Z.alternate.memoizedState.cache),Z=Z.memoizedState.cache,Z!==$&&(f6(Z),$!=null&&W7($))}function O4($,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;OH($,Z,G,X,B!==null?B.actualStartTime:N),Z=B}}function OH($,Z,G,X,N){var B=r5(),W=r4(),w=n4(),V=o4(),_=v2,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),O4($,Z,G,X,N),k&2048&&KH(Z,_5|R4);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)),O4($,Z,G,X,N);break;case 3:var b=A8(),j=l1;l1=Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)===0,O4($,Z,G,X,N),l1=j,k&2048&&(G=null,Z.alternate!==null&&(G=Z.alternate.memoizedState.cache),X=Z.memoizedState.cache,X!==G&&(f6(X),G!=null&&W7(G))),$.passiveEffectDuration+=lQ(b);break;case 12:if(k&2048){k=A8(),O4($,Z,G,X,N),$=Z.stateNode,$.passiveEffectDuration+=w7(k);try{G0(Z,lL,Z,Z.alternate,y2,$.passiveEffectDuration)}catch(g){$1(Z,Z.return,g)}}else O4($,Z,G,X,N);break;case 31:k=l1,b=Z.alternate!==null?Z.alternate.memoizedState:null,j=Z.memoizedState,b!==null&&j===null?(j=Z.deletions,j!==null&&0<j.length&&j[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&F3(Z,Z.actualStartTime,N,b)):l1=!0):l1=!1,O4($,Z,G,X,N),l1=k;break;case 13:k=l1,b=Z.alternate!==null?Z.alternate.memoizedState:null,j=Z.memoizedState,b===null||b.dehydrated===null||j!==null&&j.dehydrated!==null?l1=!1:(j=Z.deletions,j!==null&&0<j.length&&j[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&F3(Z,Z.actualStartTime,N,b)):l1=!0),O4($,Z,G,X,N),l1=k;break;case 23:break;case 22:j=Z.stateNode,b=Z.alternate,Z.memoizedState!==null?j._visibility&y8?O4($,Z,G,X,N):D7($,Z,G,X,N):j._visibility&y8?O4($,Z,G,X,N):(j._visibility|=y8,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<=T0&&0.05<T0-W0&&fQ(Z,W0,T0))),k&2048&&AX(b,Z);break;case 24:O4($,Z,G,X,N),k&2048&&SX(Z.alternate,Z);break;default:O4($,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&&p4(Z,G,N,"Mount");0<=W0&&0<=T0&&((I1||0.05<_1)&&c4(Z,W0,T0,_1,L1),$&&0.05<T0-W0&&p4(Z,W0,T0,"Mount"))}s5(B),s4(W),L1=w,I1=V,v2=_}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;jH($,Z,G,X,N,W!==null?W.actualStartTime:B),Z=W}}function jH($,Z,G,X,N,B){var W=r5(),w=r4(),V=n4(),_=o4(),k=v2;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 j=Z.stateNode;Z.memoizedState!==null?j._visibility&y8?d$($,Z,G,X,N,B):D7($,Z,G,X,B):(j._visibility|=y8,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<=T0&&(I1||0.05<_1)&&c4(Z,W0,T0,_1,L1),s5(W),s4(w),L1=V,I1=_,v2=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=v2;(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,_)}v2=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=OG($.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<=T0&&0.05<T0-W0&&p4(X,W0,T0,"Unmount"),s5(N)}AH($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)SH($),$=$.sibling}function SH($){var Z=r5(),G=r4(),X=n4(),N=o4();switch($.tag){case 0:case 11:case 15:A7($),$.flags&2048&&IX($,$.return,_5|R4);break;case 3:var B=A8();A7($),$.stateNode.passiveEffectDuration+=lQ(B);break;case 12:B=A8(),A7($),$.stateNode.passiveEffectDuration+=w7(B);break;case 22:B=$.stateNode,$.memoizedState!==null&&B._visibility&y8&&($.return===null||$.return.tag!==13)?(B._visibility&=~y8,VG($),($.mode&D0)!==V0&&0<=W0&&0<=T0&&0.05<T0-W0&&p4($,W0,T0,"Disconnect")):A7($);break;default:A7($)}($.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4($,W0,T0,_1,L1),s5(Z),s4(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<=T0&&0.05<T0-W0&&p4(X,W0,T0,"Unmount"),s5(N)}AH($)}for($=$.child;$!==null;)vH($),$=$.sibling}function vH($){var Z=r5(),G=r4(),X=n4(),N=o4();switch($.tag){case 0:case 11:case 15:IX($,$.return,_5),VG($);break;case 22:var B=$.stateNode;B._visibility&y8&&(B._visibility&=~y8,VG($));break;default:VG($)}($.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4($,W0,T0,_1,L1),s5(Z),s4(G),I1=N,L1=X}function kH($,Z){for(;a1!==null;){var G=a1,X=G,N=Z,B=r5(),W=r4(),w=n4(),V=o4();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&&f6(N));break;case 24:W7(X.memoizedState.cache)}if((X.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4(X,W0,T0,_1,L1),s5(B),s4(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(){wP.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(j9&&console.error("useInsertionEffect must not schedule updates."),VU&&(PJ=!0),$===K1&&(q1===Z$||q1===Q$)||$.cancelPendingCommit!==null)l$($,0),P2($,S0,v5,!1);if(H2($,G),(o0&r1)!==t1&&$===K1){if(X8)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 U8&&J7($,Z,G),q_(Z),$===K1&&((o0&r1)===t1&&(l2|=G),E1===d2&&P2($,S0,v5,!1)),Q8($)}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||_6($,Z))?aL($,Z):kX($,Z,!0);var W=G;do{if(B===s8){I9&&!G&&P2($,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")),m6(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),m6(Z,X),Z=w;$:{X=$,B=W,W=PZ;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,l2|=B,B=d2;break $}X=E5,E5=W,X!==null&&(E5===null?E5=X:E5.push.apply(E5,X))}B=w}if(W=!1,B!==$$)continue;else X=o1()}}if(B===LZ){c5(Z),W3(i1,X,Z,S1),m6(Z,X),l$($,0),P2($,Z,0,!0);break}$:{switch(G=$,B){case s8:case LZ:throw Error("Root did not complete. This is a bug in React.");case d2:if((Z&4194048)!==Z)break;case wJ:c5(Z),yK(i1,X,Z,S1),m6(Z,X),N=Z,(N&127)!==0?ZJ=X:(N&4194048)!==0&&(QJ=X),P2(G,Z,v5,!p2);break $;case $$:E5=null;break;case WJ:case nW:break;default:throw Error("Unknown root exit status.")}if(x.actQueue!==null)bX(G,N,Z,E5,CZ,zJ,v5,l2,G$,B,null,null,i1,X);else{if((Z&62914560)===Z&&(W=VJ+aW-o1(),10<W)){if(P2(G,Z,v5,!p2),L6(G,0,!0)!==0)break $;b4=Z,G.timeoutHandle=ww(gH.bind(null,G,N,E5,CZ,zJ,Z,v5,l2,G$,p2,B,"Throttled",i1,X),W);break $}gH(G,N,E5,CZ,zJ,Z,v5,l2,G$,p2,B,null,i1,X)}}}break}while(1);Q8($)}function gH($,Z,G,X,N,B,W,w,V,_,k,b,j,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:I8},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,j,g)),P2($,B,W,!_);return}}bX($,Z,B,G,X,N,W,w,V,k,Z0,b,j,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 P2($,Z,G,X){Z&=~MU,Z&=~l2,$.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&&E6($,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($),R9=null,FZ=0,$=v0;for(;$!==null;)UH($.alternate,$),$=$.return;v0=null}}function m6($,Z){($&127)!==0&&(g2=Z),($&4194048)!==0&&(M8=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),E1===WJ||E1===d2)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)}}m6(S0,i1)}if(G=S1,S1=null,(Z&127)!==0){S1=QZ,N=0<=H8&&H8<g2?g2:H8,X=0<=r6&&r6<g2?g2:r6,B=0<=X?X:0<=N?N:i1,0<=ZJ?(c5(2),gK(ZJ,B,Z,G)):(GJ&127)!==0&&(c5(2),M7(g2,B,d8)),G=N;var w=X,V=GZ,_=0<F9,k=h2===ZZ,b=h2===$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 j=_?"secondary-light":"warning";X?X.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+V,w,G,u0,g0,j)):console.timeStamp(_?"Consecutive":"Event: "+V,w,G,u0,g0,j)}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))}H8=-1.1,h2=0,rY=lY=null,ZJ=-1.1,F9=r6,r6=-1.1,g2=g1()}if((Z&4194048)!==0&&(S1=JZ,N=0<=m8&&m8<M8?M8:m8,G=0<=W4&&W4<M8?M8:W4,X=0<=x2&&x2<M8?M8:x2,B=0<=X?X:0<=G?G:i1,0<=QJ?(c5(256),gK(QJ,B,Z,S1)):(GJ&4194048)!==0&&(c5(256),M7(M8,B,d8)),b=X,w=s6,V=0<u2,_=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&&(j=V?"secondary-light":"warning",X?X.run(console.timeStamp.bind(console,V?"Consecutive":"Event: "+w,b,N,u0,g0,j)):console.timeStamp(V?"Consecutive":"Event: "+w,b,N,u0,g0,j)),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=m8=-1.1,sY=0,QJ=-1.1,u2=x2,x2=-1.1,M8=g1()),(Z&62914560)!==0&&(GJ&62914560)!==0&&(c5(4194304),M7(tF,i1,d8)),(Z&2080374784)!==0&&(GJ&2080374784)!==0&&(c5(268435456),M7(eF,i1,d8)),G=$.timeoutHandle,G!==U$&&($.timeoutHandle=U$,DP(G)),G=$.cancelPendingCommit,G!==null&&($.cancelPendingCommit=null,G()),b4=0,vX(),K1=$,v0=G=O8($.current,null),S0=Z,q1=S5,J4=null,p2=!1,I9=_6($,Z),HU=!1,E1=s8,G$=v5=MU=l2=c2=0,E5=PZ=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=TZ,x.getCurrentStack=null,X8=!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"?EZ:RJ,J4=Z;var G=v0;G===null?(E1=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=TZ,$===null?TZ:$}function mH(){var $=x.A;return x.A=WP,$}function LG($){S1===null&&(S1=$._debugTask==null?null:$._debugTask)}function _G(){E1=d2,p2||(S0&4194048)!==S0&&Z4.current!==null||(I9=!0),(c2&134217727)===0&&(l2&134217727)===0||K1===null||P2(K1,S0,v5,!1)}function kX($,Z,G){var X=o0;o0|=r1;var N=uH(),B=mH();if(K1!==$||S0!==Z){if(U8){var W=$.memoizedUpdaters;0<W.size&&(v7($,S0),W.clear()),M2($,Z)}CZ=null,l$($,Z)}Z=!1,W=E1;$: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 EZ:Z4.current===null&&(Z=!0);var _=q1;if(q1=S5,J4=null,r$($,w,V,_),G&&I9){W=s8;break $}break;default:_=q1,q1=S5,J4=null,r$($,w,V,_)}}dH(),W=E1;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(U8){var B=$.memoizedUpdaters;0<B.size&&(v7($,S0),B.clear()),M2($,Z)}CZ=null,LJ=o1()+tW,l$($,Z)}else I9=_6($,Z);$:do try{if(q1!==S5&&v0!==null)Z:switch(Z=v0,B=J4,q1){case RJ:q1=S5,J4=null,r$($,Z,B,RJ);break;case Z$:case Q$:if(GB(B)){q1=S5,J4=null,cH(Z);break}Z=function(){q1!==Z$&&q1!==Q$||K1!==$||(q1=TJ),Q8($)},B.then(Z,Z);break $;case _Z:q1=TJ;break $;case oW:q1=KU;break $;case TJ:GB(B)?(q1=S5,J4=null,cH(Z)):(q1=S5,J4=null,r$($,Z,B,TJ));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=_,EG(_)):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 EZ:q1=S5,J4=null,r$($,Z,B,EZ);break;case BU:vX(),E1=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 s8;return K1=null,S0=0,gQ(),E1}function tL(){for(;v0!==null&&!i_();)pH(v0)}function pH($){var Z=$.alternate;($.mode&D0)!==V0?(D3($),Z=G0($,EX,Z,$,W8),A3($)):Z=G0($,EX,Z,$,W8),$.memoizedProps=$.pendingProps,Z===null?EG($):v0=Z}function cH($){var Z=G0($,eL,$);$.memoizedProps=$.pendingProps,Z===null?EG($):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=EX(Z,$,W8)}return G&&A3($),Z}function r$($,Z,G,X){dQ(),p3(Z),R9=null,FZ=0;var N=Z.return;try{if(gL($,N,Z,G,S0)){E1=LZ,MG($,l5(G,$.current)),v0=null;return}}catch(B){if(N!==null)throw v0=N,B;E1=LZ,MG($,l5(G,$.current)),v0=null;return}if(Z.flags&32768){if(p0||X===RJ)$=!0;else if(I9||(S0&536870912)!==0)$=!1;else if(p2=$=!0,X===Z$||X===Q$||X===_Z||X===EZ)X=Z4.current,X!==null&&X.tag===13&&(X.flags|=16384);lH(Z,$)}else EG(Z)}function EG($){var Z=$;do{if((Z.flags&32768)!==0){lH(Z,p2);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);E1===s8&&(E1=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);E1=wJ,v0=null}function bX($,Z,G,X,N,B,W,w,V,_,k,b,j,g){$.cancelPendingCommit=null;do S7();while(d1!==s2);if(S4.flushLegacyContextWarning(),S4.flushPendingUnsafeLifecycleWarnings(),(o0&(r1|G4))!==t1)throw Error("Should not already be working.");if(c5(G),_===$$?W3(j,g,G,S1):X!==null?PL(j,g,G,X,Z!==null&&Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)!==0,S1):EL(j,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),O9=Z,n2=$,b4=G,wU=B,TU=N,Jw=X,RU=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),u8=null,y2=g1(),b!==null&&CL(g,y2,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=s2;var $=n2,Z=O9,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{P9=G,C9=$,rQ(),EH(Z,$),C9=P9=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,j=b&&b.defaultView||window;if(j.getSelection){var g=j.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),O=SK(w,F1);if(l0&&O&&(g.rangeCount!==1||g.anchorNode!==l0.node||g.anchorOffset!==l0.offset||g.focusNode!==O.node||g.focusOffset!==O.offset)){var D=b.createRange();D.setStart(l0.node,l0.offset),g.removeAllRanges(),Z0>F1?(g.addRange(D),g.extend(O.node,O.offset)):(D.setEnd(O.node,O.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=!!jU,DU=jU=null}finally{o0=B,Z1.p=N,x.T=X}}$.current=Z,d1=Zw}}function sH(){if(d1===Zw){d1=s2;var $=Xw;if($!==null){y2=g1();var Z=x8,G=y2;!w1||G<=Z||(d8?d8.run(console.timeStamp.bind(console,$,Z,G,u0,g0,"secondary-light")):console.timeStamp($,Z,G,u0,g0,"secondary-light"))}$=n2,Z=O9,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{P9=G,C9=$,rQ(),TH($,Z.alternate,Z),C9=P9=null}finally{o0=B,Z1.p=N,x.T=X}}$=RU,Z=qw,x8=g1(),$=Z===null?$:y2,Z=x8,G=f4===FU,X=S1,u8!==null?hK($,Z,u8,!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 $=x8;x8=g1();var Z=x8,G=f4===FU;!w1||Z<=$||(d8?d8.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=s2,a_(),$=n2;var X=O9;Z=b4,G=Jw;var N=X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0;N?d1=EJ:(d1=s2,O9=n2=null,oH($,$.pendingLanes),J$=0,OZ=null);var B=$.pendingLanes;if(B===0&&(r2=null),N||$M($),B=E(Z),X=X.stateNode,H5&&typeof H5.onCommitFiberRoot==="function")try{var W=(X.current.flags&128)===128;switch(B){case e5:var w=TY;break;case D4:w=zY;break;case N8:w=t$;break;case mG:w=VY;break;default:w=t$}H5.onCommitFiberRoot(e$,X,w,W)}catch(b){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",b))}if(U8&&$.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(),Q8($),B=$.pendingLanes,(Z&261930)!==0&&(B&42)!==0?(qJ=!0,$===zU?IZ++:(IZ=0,zU=$)):IZ=0,N||m6(Z,x8),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!==EJ)return!1;var $=n2,Z=wU;wU=0;var G=E(b4),X=N8===0||N8>G?N8:G;G=x.T;var N=Z1.p;try{Z1.p=X,x.T=null;var B=TU;TU=null,X=n2;var W=b4;if(d1=s2,O9=n2=null,b4=0,(o0&(r1|G4))!==t1)throw Error("Cannot flush passive effects while already rendering.");c5(W),VU=!0,PJ=!1;var w=0;if(u8=null,w=o1(),f4===eW)M7(x8,w,d8);else{var V=x8,_=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 j=X.current;b=RU,rQ(),OH(X,j,W,B,b),$M(X),o0=V;var g=o1();if(j=w,b=S1,u8!==null?hK(j,g,u8,!0,b):!w1||g<=j||(b?b.run(console.timeStamp.bind(console,"Remaining Effects",j,g,u0,g0,"secondary-dark")):console.timeStamp("Remaining Effects",j,g,u0,g0,"secondary-dark")),m6(W,g),k7(0,!1),PJ?X===OZ?J$++:(J$=0,OZ=X):J$=0,PJ=VU=!1,H5&&typeof H5.onPostCommitFiberRoot==="function")try{H5.onPostCommitFiberRoot(e$,X)}catch(Z0){Y8||(Y8=!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),$=V2($,Z,2),$!==null&&(H2($,2),Q8($))}function $1($,Z,G){if(j9=!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"&&(r2===null||!r2.has(X))){$=l5(G,$),eK($),G=MX(2),X=V2(Z,G,2),X!==null&&(FX(G,X,Z,$),H2(X,2),Q8(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(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&&(j9=!0),N=Z,G0(N,BP,N,G,w),($&L5)!==KJ&&(j9=!1))}X=X.next}while(X!==B)}}catch(V){$1(Z,Z.return,V)}}function KH($,Z){t4($)?(a4(),O7(Z,$),i4()):O7(Z,$)}function IX($,Z,G){t4($)?(a4(),m$(G,$,Z),i4()):m$(G,$,Z)}function BH($){var Z=$.updateQueue;if(Z!==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($,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||E9||(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,t4($)?(a4(),G0($,BW,$,Z,G),i4()):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(t4($))try{a4(),$.refCleanup=Z(G)}finally{i4()}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 j7($,Z){try{G0($,cL,$)}catch(G){$1($,Z,G)}}function e4($,Z){var{ref:G,refCleanup:X}=$;if(G!==null)if(typeof X==="function")try{if(t4($))try{a4(),G0($,X)}finally{i4($)}else G0($,X)}catch(N){$1($,Z,N)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof G==="function")try{if(t4($))try{a4(),G0($,G,null)}finally{i4($)}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 OX($,Z,G){try{G0($,R_,$.stateNode,$.type,G,Z,$)}catch(X){$1($,$.return,X)}}function WH($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&I6($.type)||$.tag===4}function jX($){$: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&&I6($.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=I8));else if(X!==4&&(X===27&&I6($.type)&&(G=$.stateNode,Z=null),$=$.child,$!==null))for(DX($,Z,G),$=$.sibling;$!==null;)DX($,Z,G),$=$.sibling}function TG($,Z,G){var X=$.tag;if(X===5||X===6)$=$.stateNode,Z?G.insertBefore($,Z):G.appendChild($);else if(X!==4&&(X===27&&I6($.type)&&(G=$.stateNode),$=$.child,$!==null))for(TG($,Z,G),$=$.sibling;$!==null;)TG($,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=jX($),TG($,G,Z);break;case 5:G=Z.stateNode,Z.flags&32&&(LM(G),Z.flags&=-33),Z=jX($),TG($,Z,G);break;case 3:case 4:Z=Z.stateNode.containerInfo,G=jX($),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 RH($,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,jU=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=$,j=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;j=b,b=g}for(;;){if(b===$)break Z;if(j===G&&++_===N&&(w=W),j===B&&++k===X&&(V=W),(g=b.nextSibling)!==null)break;b=j,j=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 TH($,Z,G){var X=r5(),N=r4(),B=n4(),W=o4(),w=G.flags;switch(G.tag){case 0:case 11:case 15:$8($,G),w&4&&NH(G,Q4|R4);break;case 1:if($8($,G),w&4)if($=G.stateNode,Z===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")),t4(G)?(a4(),G0(G,iY,G,$),i4()):G0(G,iY,G,$);else{var V=x2(G.type,Z.memoizedProps);Z=Z.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")),t4(G)?(a4(),G0(G,UW,G,$,V,Z,$.__reactInternalSnapshotBeforeUpdate),i4()):G0(G,UW,G,$,V,Z,$.__reactInternalSnapshotBeforeUpdate)}w&64&&BH(G),w&512&&j7(G,G.return);break;case 3:if(Z=A8(),$8($,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($8($,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&&j7(G,G.return);break;case 12:if(w&4){w=A8(),$8($,G),$=G.stateNode,$.effectDuration+=w7(w);try{G0(G,MH,G,Z,y6,$.effectDuration)}catch(k){$1(G,G.return,k)}}else $8($,G);break;case 31:$8($,G),w&4&&LH($,G);break;case 13:$8($,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||r8,!w){Z=Z!==null&&Z.memoizedState!==null||u1,V=r8;var _=u1;r8=w,(u1=Z)&&!_?(Z8($,G,(G.subtreeFlags&8772)!==0),(G.mode&D0)!==V0&&0<=W0&&0<=T0&&0.05<T0-W0&&fQ(G,W0,T0)):$8($,G),r8=V,u1=_}break;case 30:break;default:$8($,G)}(G.mode&D0)!==V0&&0<=W0&&0<=T0&&((I1||0.05<_1)&&c4(G,W0,T0,_1,L1),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<T0-W0&&(RH(G.return.alternate,G.return)||p4(G,W0,T0,"Mount"))),s5(X),s4(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 k8($,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(_){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",_))}var X=r5(),N=r4(),B=n4(),W=o4();switch(G.tag){case 26:u1||e4(G,Z),k8($,Z,G),G.memoizedState?G.memoizedState.count--:G.stateNode&&($=G.stateNode,$.parentNode.removeChild($));break;case 27:u1||e4(G,Z);var w=m1,V=A5;I6(G.type)&&(m1=G.stateNode,A5=!1),k8($,Z,G),G0(G,g7,G.stateNode),m1=w,A5=V;break;case 5:u1||e4(G,Z);case 6:if(w=m1,V=A5,m1=null,k8($,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,EM($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,G.stateNode),o$($)):EM(m1,G.stateNode));break;case 4:w=m1,V=A5,m1=G.stateNode.containerInfo,A5=!0,k8($,Z,G),m1=w,A5=V;break;case 0:case 11:case 14:case 15:m$(L5,G,Z),u1||CX(G,Z,Q4),k8($,Z,G);break;case 1:u1||(e4(G,Z),w=G.stateNode,typeof w.componentWillUnmount==="function"&&HH(G,Z,w)),k8($,Z,G);break;case 21:k8($,Z,G);break;case 22:u1=(w=u1)||G.memoizedState!==null,k8($,Z,G),u1=w;break;default:k8($,Z,G)}(G.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4(G,W0,T0,_1,L1),s5(X),s4(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),U8)if(P9!==null&&C9!==null)v7(C9,P9);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 j5($,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(I6(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<=T0&&0.05<T0-W0&&p4(W,W0,T0,"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;)EH(Z,$),Z=Z.sibling}function EH($,Z){var G=r5(),X=r4(),N=n4(),B=o4(),W=$.alternate,w=$.flags;switch($.tag){case 0:case 11:case 14:case 15:j5(Z,$),D5($),w&4&&(m$(L5|R4,$,$.return),O7(L5|R4,$),CX($,$.return,Q4|R4));break;case 1:if(j5(Z,$),D5($),w&512&&(u1||W===null||e4(W,W.return)),w&64&&r8&&(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,j5(Z,$),D5($),w&512&&(u1||W===null||e4(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&&OX($,$.memoizedProps,W.memoizedProps)}break;case 27:j5(Z,$),D5($),w&512&&(u1||W===null||e4(W,W.return)),W!==null&&w&4&&OX($,$.memoizedProps,W.memoizedProps);break;case 5:if(j5(Z,$),D5($),w&512&&(u1||W===null||e4(W,W.return)),$.flags&32){V=$.stateNode;try{G0($,LM,V)}catch(Z0){$1($,$.return,Z0)}}w&4&&$.stateNode!=null&&(V=$.memoizedProps,OX($,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(j5(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($,T_,V,W,w)}catch(Z0){$1($,$.return,Z0)}}break;case 3:if(V=A8(),fJ=null,_=k4,k4=OG(Z.containerInfo),j5(Z,$),k4=_,D5($),w&4&&W!==null&&W.memoizedState.isDehydrated)try{G0($,A_,Z.containerInfo)}catch(Z0){$1($,$.return,Z0)}NU&&(NU=!1,PH($)),Z.effectDuration+=lQ(V);break;case 4:w=k4,k4=OG($.stateNode.containerInfo),j5(Z,$),D5($),k4=w;break;case 12:w=A8(),j5(Z,$),D5($),$.stateNode.effectDuration+=w7(w);break;case 31:j5(Z,$),D5($),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,zG($,w)));break;case 13:j5(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 j=W!==null&&W.memoizedState!==null,g=r8,t=u1;if(r8=g||V,u1=t||j,j5(Z,$),u1=t,r8=g,j&&!V&&!g&&!t&&($.mode&D0)!==V0&&0<=W0&&0<=T0&&0.05<T0-W0&&fQ($,W0,T0),D5($),w&8192)$:for(Z=$.stateNode,Z._visibility=V?Z._visibility&~e7:Z._visibility|e7,!V||W===null||j||r8||u1||(u2($),($.mode&D0)!==V0&&0<=W0&&0<=T0&&0.05<T0-W0&&p4($,W0,T0,"Disconnect")),W=null,Z=$;;){if(Z.tag===5||Z.tag===26){if(W===null){j=W=Z;try{_=j.stateNode,V?G0(j,__,_):G0(j,C_,j.stateNode,j.memoizedProps)}catch(Z0){$1(j,j.return,Z0)}}}else if(Z.tag===6){if(W===null){j=Z;try{k=j.stateNode,V?G0(j,E_,k):G0(j,I_,k,j.memoizedProps)}catch(Z0){$1(j,j.return,Z0)}}}else if(Z.tag===18){if(W===null){j=Z;try{b=j.stateNode,V?G0(j,L_,b):G0(j,P_,j.stateNode)}catch(Z0){$1(j,j.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:j5(Z,$),D5($),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,zG($,w)));break;case 30:break;case 21:break;default:j5(Z,$),D5($)}($.mode&D0)!==V0&&0<=W0&&0<=T0&&((I1||0.05<_1)&&c4($,W0,T0,_1,L1),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<T0-W0&&(RH($.return.alternate,$.return)||p4($,W0,T0,"Mount"))),s5(G),s4(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 PH($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var Z=$;PH(Z),Z.tag===5&&Z.flags&1024&&Z.stateNode.reset(),$=$.sibling}}function $8($,Z){if(Z.subtreeFlags&8772)for(Z=Z.child;Z!==null;)TH($,Z.alternate,Z),Z=Z.sibling}function CH($){var Z=r5(),G=r4(),X=n4(),N=o4();switch($.tag){case 0:case 11:case 14:case 15:CX($,$.return,Q4),u2($);break;case 1:e4($,$.return);var B=$.stateNode;typeof B.componentWillUnmount==="function"&&HH($,$.return,B),u2($);break;case 27:G0($,g7,$.stateNode);case 26:case 5:e4($,$.return),u2($);break;case 22:$.memoizedState===null&&u2($);break;case 30:u2($);break;default:u2($)}($.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4($,W0,T0,_1,L1),s5(Z),s4(G),L1=X,I1=N}function u2($){for($=$.child;$!==null;)CH($),$=$.sibling}function IH($,Z,G,X){var N=r5(),B=r4(),W=n4(),w=o4(),V=G.flags;switch(G.tag){case 0:case 11:case 15:Z8($,G,X),NH(G,Q4);break;case 1:if(Z8($,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),j7(G,G.return);break;case 27:wH(G);case 26:case 5:Z8($,G,X),X&&Z===null&&V&4&&FH(G),j7(G,G.return);break;case 12:if(X&&V&4){V=A8(),Z8($,G,X),X=G.stateNode,X.effectDuration+=w7(V);try{G0(G,MH,G,Z,y6,X.effectDuration)}catch(_){$1(G,G.return,_)}}else Z8($,G,X);break;case 31:Z8($,G,X),X&&V&4&&LH($,G);break;case 13:Z8($,G,X),X&&V&4&&_H($,G);break;case 22:G.memoizedState===null&&Z8($,G,X),j7(G,G.return);break;case 30:break;default:Z8($,G,X)}(G.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4(G,W0,T0,_1,L1),s5(N),s4(B),L1=W,I1=w}function Z8($,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 O4($,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;OH($,Z,G,X,B!==null?B.actualStartTime:N),Z=B}}function OH($,Z,G,X,N){var B=r5(),W=r4(),w=n4(),V=o4(),_=v6,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),O4($,Z,G,X,N),k&2048&&KH(Z,_5|R4);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)),O4($,Z,G,X,N);break;case 3:var b=A8(),j=l1;l1=Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)===0,O4($,Z,G,X,N),l1=j,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=A8(),O4($,Z,G,X,N),$=Z.stateNode,$.passiveEffectDuration+=w7(k);try{G0(Z,lL,Z,Z.alternate,y6,$.passiveEffectDuration)}catch(g){$1(Z,Z.return,g)}}else O4($,Z,G,X,N);break;case 31:k=l1,b=Z.alternate!==null?Z.alternate.memoizedState:null,j=Z.memoizedState,b!==null&&j===null?(j=Z.deletions,j!==null&&0<j.length&&j[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&F3(Z,Z.actualStartTime,N,b)):l1=!0):l1=!1,O4($,Z,G,X,N),l1=k;break;case 13:k=l1,b=Z.alternate!==null?Z.alternate.memoizedState:null,j=Z.memoizedState,b===null||b.dehydrated===null||j!==null&&j.dehydrated!==null?l1=!1:(j=Z.deletions,j!==null&&0<j.length&&j[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&F3(Z,Z.actualStartTime,N,b)):l1=!0),O4($,Z,G,X,N),l1=k;break;case 23:break;case 22:j=Z.stateNode,b=Z.alternate,Z.memoizedState!==null?j._visibility&y8?O4($,Z,G,X,N):D7($,Z,G,X,N):j._visibility&y8?O4($,Z,G,X,N):(j._visibility|=y8,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<=T0&&0.05<T0-W0&&fQ(Z,W0,T0))),k&2048&&AX(b,Z);break;case 24:O4($,Z,G,X,N),k&2048&&SX(Z.alternate,Z);break;default:O4($,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&&p4(Z,G,N,"Mount");0<=W0&&0<=T0&&((I1||0.05<_1)&&c4(Z,W0,T0,_1,L1),$&&0.05<T0-W0&&p4(Z,W0,T0,"Mount"))}s5(B),s4(W),L1=w,I1=V,v6=_}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;jH($,Z,G,X,N,W!==null?W.actualStartTime:B),Z=W}}function jH($,Z,G,X,N,B){var W=r5(),w=r4(),V=n4(),_=o4(),k=v6;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 j=Z.stateNode;Z.memoizedState!==null?j._visibility&y8?d$($,Z,G,X,N,B):D7($,Z,G,X,B):(j._visibility|=y8,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<=T0&&(I1||0.05<_1)&&c4(Z,W0,T0,_1,L1),s5(W),s4(w),L1=V,I1=_,v6=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=v6;(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,_)}v6=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=OG($.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<=T0&&0.05<T0-W0&&p4(X,W0,T0,"Unmount"),s5(N)}AH($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)SH($),$=$.sibling}function SH($){var Z=r5(),G=r4(),X=n4(),N=o4();switch($.tag){case 0:case 11:case 15:A7($),$.flags&2048&&IX($,$.return,_5|R4);break;case 3:var B=A8();A7($),$.stateNode.passiveEffectDuration+=lQ(B);break;case 12:B=A8(),A7($),$.stateNode.passiveEffectDuration+=w7(B);break;case 22:B=$.stateNode,$.memoizedState!==null&&B._visibility&y8&&($.return===null||$.return.tag!==13)?(B._visibility&=~y8,VG($),($.mode&D0)!==V0&&0<=W0&&0<=T0&&0.05<T0-W0&&p4($,W0,T0,"Disconnect")):A7($);break;default:A7($)}($.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4($,W0,T0,_1,L1),s5(Z),s4(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<=T0&&0.05<T0-W0&&p4(X,W0,T0,"Unmount"),s5(N)}AH($)}for($=$.child;$!==null;)vH($),$=$.sibling}function vH($){var Z=r5(),G=r4(),X=n4(),N=o4();switch($.tag){case 0:case 11:case 15:IX($,$.return,_5),VG($);break;case 22:var B=$.stateNode;B._visibility&y8&&(B._visibility&=~y8,VG($));break;default:VG($)}($.mode&D0)!==V0&&0<=W0&&0<=T0&&(I1||0.05<_1)&&c4($,W0,T0,_1,L1),s5(Z),s4(G),I1=N,L1=X}function kH($,Z){for(;a1!==null;){var G=a1,X=G,N=Z,B=r5(),W=r4(),w=n4(),V=o4();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<=T0&&(I1||0.05<_1)&&c4(X,W0,T0,_1,L1),s5(B),s4(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(){wP.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(j9&&console.error("useInsertionEffect must not schedule updates."),VU&&(PJ=!0),$===K1&&(q1===Z$||q1===Q$)||$.cancelPendingCommit!==null)l$($,0),P6($,S0,v5,!1);if(H6($,G),(o0&r1)!==t1&&$===K1){if(X8)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 U8&&J7($,Z,G),q_(Z),$===K1&&((o0&r1)===t1&&(l6|=G),E1===d6&&P6($,S0,v5,!1)),Q8($)}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===s8){I9&&!G&&P6($,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=PZ;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,l6|=B,B=d6;break $}X=E5,E5=W,X!==null&&(E5===null?E5=X:E5.push.apply(E5,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),P6($,Z,0,!0);break}$:{switch(G=$,B){case s8:case LZ:throw Error("Root did not complete. This is a bug in React.");case d6: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),P6(G,Z,v5,!p6);break $;case $$:E5=null;break;case WJ:case nW:break;default:throw Error("Unknown root exit status.")}if(x.actQueue!==null)bX(G,N,Z,E5,CZ,zJ,v5,l6,G$,B,null,null,i1,X);else{if((Z&62914560)===Z&&(W=VJ+aW-o1(),10<W)){if(P6(G,Z,v5,!p6),L2(G,0,!0)!==0)break $;b4=Z,G.timeoutHandle=ww(gH.bind(null,G,N,E5,CZ,zJ,Z,v5,l6,G$,p6,B,"Throttled",i1,X),W);break $}gH(G,N,E5,CZ,zJ,Z,v5,l6,G$,p6,B,null,i1,X)}}}break}while(1);Q8($)}function gH($,Z,G,X,N,B,W,w,V,_,k,b,j,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:I8},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,j,g)),P6($,B,W,!_);return}}bX($,Z,B,G,X,N,W,w,V,k,Z0,b,j,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 P6($,Z,G,X){Z&=~MU,Z&=~l6,$.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&&E2($,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($),R9=null,FZ=0,$=v0;for(;$!==null;)UH($.alternate,$),$=$.return;v0=null}}function m2($,Z){($&127)!==0&&(g6=Z),($&4194048)!==0&&(M8=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),E1===WJ||E1===d6)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<=H8&&H8<g6?g6:H8,X=0<=r2&&r2<g6?g6:r2,B=0<=X?X:0<=N?N:i1,0<=ZJ?(c5(2),gK(ZJ,B,Z,G)):(GJ&127)!==0&&(c5(2),M7(g6,B,d8)),G=N;var w=X,V=GZ,_=0<F9,k=h6===ZZ,b=h6===$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 j=_?"secondary-light":"warning";X?X.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+V,w,G,u0,g0,j)):console.timeStamp(_?"Consecutive":"Event: "+V,w,G,u0,g0,j)}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))}H8=-1.1,h6=0,rY=lY=null,ZJ=-1.1,F9=r2,r2=-1.1,g6=g1()}if((Z&4194048)!==0&&(S1=JZ,N=0<=m8&&m8<M8?M8:m8,G=0<=W4&&W4<M8?M8:W4,X=0<=x6&&x6<M8?M8:x6,B=0<=X?X:0<=G?G:i1,0<=QJ?(c5(256),gK(QJ,B,Z,S1)):(GJ&4194048)!==0&&(c5(256),M7(M8,B,d8)),b=X,w=s2,V=0<u6,_=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&&(j=V?"secondary-light":"warning",X?X.run(console.timeStamp.bind(console,V?"Consecutive":"Event: "+w,b,N,u0,g0,j)):console.timeStamp(V?"Consecutive":"Event: "+w,b,N,u0,g0,j)),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=m8=-1.1,sY=0,QJ=-1.1,u6=x6,x6=-1.1,M8=g1()),(Z&62914560)!==0&&(GJ&62914560)!==0&&(c5(4194304),M7(tF,i1,d8)),(Z&2080374784)!==0&&(GJ&2080374784)!==0&&(c5(268435456),M7(eF,i1,d8)),G=$.timeoutHandle,G!==U$&&($.timeoutHandle=U$,DP(G)),G=$.cancelPendingCommit,G!==null&&($.cancelPendingCommit=null,G()),b4=0,vX(),K1=$,v0=G=O8($.current,null),S0=Z,q1=S5,J4=null,p6=!1,I9=_2($,Z),HU=!1,E1=s8,G$=v5=MU=l6=c6=0,E5=PZ=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=TZ,x.getCurrentStack=null,X8=!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"?EZ:RJ,J4=Z;var G=v0;G===null?(E1=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=TZ,$===null?TZ:$}function mH(){var $=x.A;return x.A=WP,$}function LG($){S1===null&&(S1=$._debugTask==null?null:$._debugTask)}function _G(){E1=d6,p6||(S0&4194048)!==S0&&Z4.current!==null||(I9=!0),(c6&134217727)===0&&(l6&134217727)===0||K1===null||P6(K1,S0,v5,!1)}function kX($,Z,G){var X=o0;o0|=r1;var N=uH(),B=mH();if(K1!==$||S0!==Z){if(U8){var W=$.memoizedUpdaters;0<W.size&&(v7($,S0),W.clear()),M6($,Z)}CZ=null,l$($,Z)}Z=!1,W=E1;$: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 EZ:Z4.current===null&&(Z=!0);var _=q1;if(q1=S5,J4=null,r$($,w,V,_),G&&I9){W=s8;break $}break;default:_=q1,q1=S5,J4=null,r$($,w,V,_)}}dH(),W=E1;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(U8){var B=$.memoizedUpdaters;0<B.size&&(v7($,S0),B.clear()),M6($,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 RJ:q1=S5,J4=null,r$($,Z,B,RJ);break;case Z$:case Q$:if(GB(B)){q1=S5,J4=null,cH(Z);break}Z=function(){q1!==Z$&&q1!==Q$||K1!==$||(q1=TJ),Q8($)},B.then(Z,Z);break $;case _Z:q1=TJ;break $;case oW:q1=KU;break $;case TJ:GB(B)?(q1=S5,J4=null,cH(Z)):(q1=S5,J4=null,r$($,Z,B,TJ));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=_,EG(_)):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 EZ:q1=S5,J4=null,r$($,Z,B,EZ);break;case BU:vX(),E1=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 s8;return K1=null,S0=0,gQ(),E1}function tL(){for(;v0!==null&&!i_();)pH(v0)}function pH($){var Z=$.alternate;($.mode&D0)!==V0?(D3($),Z=G0($,EX,Z,$,W8),A3($)):Z=G0($,EX,Z,$,W8),$.memoizedProps=$.pendingProps,Z===null?EG($):v0=Z}function cH($){var Z=G0($,eL,$);$.memoizedProps=$.pendingProps,Z===null?EG($):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=EX(Z,$,W8)}return G&&A3($),Z}function r$($,Z,G,X){dQ(),p3(Z),R9=null,FZ=0;var N=Z.return;try{if(gL($,N,Z,G,S0)){E1=LZ,MG($,l5(G,$.current)),v0=null;return}}catch(B){if(N!==null)throw v0=N,B;E1=LZ,MG($,l5(G,$.current)),v0=null;return}if(Z.flags&32768){if(p0||X===RJ)$=!0;else if(I9||(S0&536870912)!==0)$=!1;else if(p6=$=!0,X===Z$||X===Q$||X===_Z||X===EZ)X=Z4.current,X!==null&&X.tag===13&&(X.flags|=16384);lH(Z,$)}else EG(Z)}function EG($){var Z=$;do{if((Z.flags&32768)!==0){lH(Z,p6);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);E1===s8&&(E1=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);E1=wJ,v0=null}function bX($,Z,G,X,N,B,W,w,V,_,k,b,j,g){$.cancelPendingCommit=null;do S7();while(d1!==s6);if(S4.flushLegacyContextWarning(),S4.flushPendingUnsafeLifecycleWarnings(),(o0&(r1|G4))!==t1)throw Error("Should not already be working.");if(c5(G),_===$$?W3(j,g,G,S1):X!==null?PL(j,g,G,X,Z!==null&&Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)!==0,S1):EL(j,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),O9=Z,n6=$,b4=G,wU=B,TU=N,Jw=X,RU=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),u8=null,y6=g1(),b!==null&&CL(g,y6,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=s6;var $=n6,Z=O9,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{P9=G,C9=$,rQ(),EH(Z,$),C9=P9=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,j=b&&b.defaultView||window;if(j.getSelection){var g=j.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),O=SK(w,F1);if(l0&&O&&(g.rangeCount!==1||g.anchorNode!==l0.node||g.anchorOffset!==l0.offset||g.focusNode!==O.node||g.focusOffset!==O.offset)){var D=b.createRange();D.setStart(l0.node,l0.offset),g.removeAllRanges(),Z0>F1?(g.addRange(D),g.extend(O.node,O.offset)):(D.setEnd(O.node,O.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=!!jU,DU=jU=null}finally{o0=B,Z1.p=N,x.T=X}}$.current=Z,d1=Zw}}function sH(){if(d1===Zw){d1=s6;var $=Xw;if($!==null){y6=g1();var Z=x8,G=y6;!w1||G<=Z||(d8?d8.run(console.timeStamp.bind(console,$,Z,G,u0,g0,"secondary-light")):console.timeStamp($,Z,G,u0,g0,"secondary-light"))}$=n6,Z=O9,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{P9=G,C9=$,rQ(),TH($,Z.alternate,Z),C9=P9=null}finally{o0=B,Z1.p=N,x.T=X}}$=RU,Z=qw,x8=g1(),$=Z===null?$:y6,Z=x8,G=f4===FU,X=S1,u8!==null?hK($,Z,u8,!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 $=x8;x8=g1();var Z=x8,G=f4===FU;!w1||Z<=$||(d8?d8.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=s6,a_(),$=n6;var X=O9;Z=b4,G=Jw;var N=X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0;N?d1=EJ:(d1=s6,O9=n6=null,oH($,$.pendingLanes),J$=0,OZ=null);var B=$.pendingLanes;if(B===0&&(r6=null),N||$M($),B=E(Z),X=X.stateNode,H5&&typeof H5.onCommitFiberRoot==="function")try{var W=(X.current.flags&128)===128;switch(B){case e5:var w=TY;break;case D4:w=zY;break;case N8:w=t$;break;case mG:w=VY;break;default:w=t$}H5.onCommitFiberRoot(e$,X,w,W)}catch(b){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",b))}if(U8&&$.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(),Q8($),B=$.pendingLanes,(Z&261930)!==0&&(B&42)!==0?(qJ=!0,$===zU?IZ++:(IZ=0,zU=$)):IZ=0,N||m2(Z,x8),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!==EJ)return!1;var $=n6,Z=wU;wU=0;var G=E(b4),X=N8===0||N8>G?N8:G;G=x.T;var N=Z1.p;try{Z1.p=X,x.T=null;var B=TU;TU=null,X=n6;var W=b4;if(d1=s6,O9=n6=null,b4=0,(o0&(r1|G4))!==t1)throw Error("Cannot flush passive effects while already rendering.");c5(W),VU=!0,PJ=!1;var w=0;if(u8=null,w=o1(),f4===eW)M7(x8,w,d8);else{var V=x8,_=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 j=X.current;b=RU,rQ(),OH(X,j,W,B,b),$M(X),o0=V;var g=o1();if(j=w,b=S1,u8!==null?hK(j,g,u8,!0,b):!w1||g<=j||(b?b.run(console.timeStamp.bind(console,"Remaining Effects",j,g,u0,g0,"secondary-dark")):console.timeStamp("Remaining Effects",j,g,u0,g0,"secondary-dark")),m2(W,g),k7(0,!1),PJ?X===OZ?J$++:(J$=0,OZ=X):J$=0,PJ=VU=!1,H5&&typeof H5.onPostCommitFiberRoot==="function")try{H5.onPostCommitFiberRoot(e$,X)}catch(Z0){Y8||(Y8=!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),$=V6($,Z,2),$!==null&&(H6($,2),Q8($))}function $1($,Z,G){if(j9=!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"&&(r6===null||!r6.has(X))){$=l5(G,$),eK($),G=MX(2),X=V6(Z,G,2),X!==null&&(FX(G,X,Z,$),H6(X,2),Q8(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.
|
|
154
154
|
|
|
155
155
|
Error message:
|
|
156
156
|
|
|
157
|
-
%s`,G)}}function fX($,Z,G){var X=$.pingCache;if(X===null){X=$.pingCache=new RP;var N=new Set;X.set(Z,N)}else N=X.get(Z),N===void 0&&(N=new Set,X.set(Z,N));N.has(G)||(HU=!0,N.add(G),X=Z_.bind(null,$,Z,G),U8&&v7($,G),Z.then(X,X))}function Z_($,Z,G){var X=$.pingCache;X!==null&&X.delete(Z),$.pingedLanes|=$.suspendedLanes&G,$.warmLanes&=~G,(G&127)!==0?0>H8&&(
|
|
157
|
+
%s`,G)}}function fX($,Z,G){var X=$.pingCache;if(X===null){X=$.pingCache=new RP;var N=new Set;X.set(Z,N)}else N=X.get(Z),N===void 0&&(N=new Set,X.set(Z,N));N.has(G)||(HU=!0,N.add(G),X=Z_.bind(null,$,Z,G),U8&&v7($,G),Z.then(X,X))}function Z_($,Z,G){var X=$.pingCache;X!==null&&X.delete(Z),$.pingedLanes|=$.suspendedLanes&G,$.warmLanes&=~G,(G&127)!==0?0>H8&&(g6=H8=g1(),QZ=eG("Promise Resolved"),h6=$J):(G&4194048)!==0&&0>W4&&(M8=W4=g1(),JZ=eG("Promise Resolved"),sY=$J),bH()&&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`),K1===$&&(S0&G)===G&&(E1===
|
|
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`),K1===$&&(S0&G)===G&&(E1===d6||E1===WJ&&(S0&62914560)===S0&&o1()-VJ<aW?(o0&r1)===t1&&l$($,0):MU|=G,G$===S0&&(G$=0)),Q8($)}function tH($,Z){Z===0&&(Z=A$()),$=B5($,Z),$!==null&&(H6($,Z),Q8($))}function Q_($){var Z=$.memoizedState,G=0;Z!==null&&(G=Z.retryLane),tH($,G)}function G_($,Z){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(Z),tH($,G)}function yX($,Z,G){if((Z.subtreeFlags&67117056)!==0)for(Z=Z.child;Z!==null;){var X=$,N=Z,B=N.type===fG;B=G||B,N.tag!==22?N.flags&67108864?B&&G0(N,eH,X,N):yX(X,N,B):N.memoizedState===null&&(B&&N.flags&8192?G0(N,eH,X,N):N.subtreeFlags&67108864&&G0(N,yX,X,N,B)),Z=Z.sibling}}function eH($,Z){H1(!0);try{CH(Z),vH(Z),IH($,Z.alternate,Z,!1),jH($,Z,0,null,!1,0)}finally{H1(!1)}}function $M($){var Z=!0;$.current.mode&(M5|A4)||(Z=!1),yX($,$.current,Z)}function ZM($){if((o0&r1)===t1){var Z=$.tag;if(Z===3||Z===1||Z===0||Z===11||Z===14||Z===15){if(Z=d($)||"ReactComponent",CJ!==null){if(CJ.has(Z))return;CJ.add(Z)}else CJ=new Set([Z]);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 v7($,Z){U8&&$.memoizedUpdaters.forEach(function(G){J7($,G,Z)})}function J_($,Z){var G=x.actQueue;return G!==null?(G.push(Z),VP):RY($,Z)}function q_($){bH()&&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,16 +172,16 @@ 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 Q8($){$!==D9&&$.next===null&&(D9===null?IJ=D9=$:D9=D9.next=$),OJ=!0,x.actQueue!==null?_U||(_U=!0,qM()):LU||(LU=!0,qM())}function k7($,Z){if(!EU&&OJ){EU=!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=L6(X,X===K1?B:0,X.cancelPendingCommit!==null||X.timeoutHandle!==U$),(B&3)===0||_6(X,B)||(G=!0,JM(X,B));X=X.next}}while(G);EU=!1}}function X_(){SZ=window.event,gX()}function gX(){OJ=_U=LU=!1;var $=0;o2!==0&&M_()&&($=o2);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)OJ=!0;X=N}d1!==s2&&d1!==EJ||k7($,!1),o2!==0&&(o2=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=L6($,$===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||_6($,G)){if(Z=G&-G,Z!==$.callbackPriority||x.actQueue!==null&&X!==PU)hX(X);else return Z;switch(E(G)){case e5:case D4:G=zY;break;case N8:G=t$;break;case mG:G=VY;break;default:G=t$}return X=GM.bind(null,$),x.actQueue!==null?(x.actQueue.push(X),G=PU):G=RY(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!==s2&&d1!==EJ)return $.callbackNode=null,$.callbackPriority=0,null;var G=$.callbackNode;if(f4===_J&&(f4=WU),S7()&&$.callbackNode!==G)return null;var X=S0;if(X=L6($,$===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($){$!==PU&&$!==null&&o_($)}function qM(){x.actQueue!==null&&x.actQueue.push(function(){return gX(),null}),AP(function(){(o0&(r1|G4))!==t1?RY(TY,X_):gX()})}function xX(){if(o2===0){var $=n6;$===0&&($=hG,hG<<=1,(hG&261888)===0&&(hG=256)),o2=$}return o2}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[R5]||null).action),W=X.submitter;W&&(Z=(Z=W[R5]||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(o2!==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 PG($,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,PG,B,w,_):PG(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,PG,B,w,_):PG(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(!$[jJ]){$[jJ]=!0,qF.forEach(function(G){G!=="selectionchange"&&(CU.has(G)||uX(G,!1,$),uX(G,!0,$))});var Z=$.nodeType===9?$:$.ownerDocument;Z===null||Z[jJ]||(Z[jJ]=!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 j=dF.get($);if(j!==void 0){var g=rG,t=$;switch($){case"keypress":if(vQ(G)===0)break $;case"keydown":case"keyup":g=yE;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=jF;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=PE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=xE;break;case hF:case xF:case uF:g=OE;break;case mF:g=mE;break;case"scroll":case"scrollend":g=_E;break;case"wheel":g=pE;break;case"copy":case"cut":case"paste":g=DE;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=lE}var Z0=(Z&4)!==0,F1=!Z0&&($==="scroll"||$==="scrollend"),l0=Z0?j!==null?j+"Capture":null:j;Z0=[];for(var O=_,D;O!==null;){var v=O;if(D=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||D===null||l0===null||(v=B7(O,l0),v!=null&&Z0.push(b7(O,v,D))),F1)break;O=O.return}0<Z0.length&&(j=new g(j,t,null,G,k),b.push({event:j,listeners:Z0}))}}if((Z&7)===0){$:{if(j=$==="mouseover"||$==="pointerover",g=$==="mouseout"||$==="pointerout",j&&G!==l7&&(t=G.relatedTarget||G.fromElement)&&(q0(t)||t[A2]))break $;if(g||j){if(j=k.window===k?k:(j=k.ownerDocument)?j.defaultView||j.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=jF,v="onMouseLeave",l0="onMouseEnter",O="mouse",$==="pointerout"||$==="pointerover")Z0=AF,v="onPointerLeave",l0="onPointerEnter",O="pointer";if(F1=g==null?j:P0(g),D=t==null?j:P0(t),j=new Z0(v,O+"leave",g,G,k),j.target=F1,j.relatedTarget=D,v=null,q0(k)===_&&(Z0=new Z0(l0,O+"enter",t,G,k),Z0.target=D,Z0.relatedTarget=F1,v=Z0),F1=v,g&&t)Z:{Z0=U_,l0=g,O=t,D=0;for(v=l0;v;v=Z0(v))D++;v=0;for(var u=O;u;u=Z0(u))v++;for(;0<D-v;)l0=Z0(l0),D--;for(;0<v-D;)O=Z0(O),v--;for(;D--;){if(l0===O||O!==null&&l0===O.alternate){Z0=l0;break Z}l0=Z0(l0),O=Z0(O)}Z0=null}else Z0=null;g!==null&&KM(b,j,g,Z0,!1),t!==null&&F1!==null&&KM(b,F1,t,Z0,!0)}}}$:{if(j=_?P0(_):window,g=j.nodeName&&j.nodeName.toLowerCase(),g==="select"||g==="input"&&j.type==="file")var $0=OK;else if(CK(j))if(yF)$0=VL;else{$0=TL;var _0=RL}else g=j.nodeName,!g||g.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?_&&N7(_.elementType)&&($0=OK):$0=zL;if($0&&($0=$0($,_))){IK(b,$0,G,k);break $}_0&&_0($,j,_),$==="focusout"&&_&&j.type==="number"&&_.memoizedProps.value!=null&&J3(j,"number",j.value)}switch(_0=_?P0(_):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(oE)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?EK($,G)&&(U0="onCompositionEnd"):$==="keydown"&&G.keyCode===SF&&(U0="onCompositionStart");if(U0&&(vF&&G.locale!=="ko"&&(q9||U0!=="onCompositionStart"?U0==="onCompositionEnd"&&q9&&(M0=LK()):(S2=k,OY=("value"in S2)?S2.value:S2.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=PK(G),M0!==null&&(U0.data=M0)))),M0=sE?ML($,G):FL($,G))U0=CG(_,"onBeforeInput"),0<U0.length&&(_0=new SE("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:d6,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=C2(G),C2(Z)!==G&&(X[$]=Z))}function N_($,Z,G){Z.forEach(function(X){G[MM(X)]=X==="style"?lX($):$.getAttribute(X)})}function G8($,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 C2($){return B2($)&&(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.",V6($)),s1($)),(typeof $==="string"?$:""+$).replace(LP,`
|
|
176
|
-
`).replace(_P,"")}function HM($,Z){return Z=C2(Z),C2($)===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":jQ($,"class",X);break;case"tabIndex":jQ($,"tabindex",X);break;case"dir":case"role":case"viewBox":case"width":case"height":jQ($,G,X);break;case"style":RK($,X,B);break;case"data":if(Z!=="object"){jQ($,"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"&&G8(G,X),$.onclick=I8);break;case"onScroll":X!=null&&(typeof X!=="function"&&G8(G,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&G8(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",$),OQ($,"popover",X);break;case"xlinkActuate":C8($,q$,"xlink:actuate",X);break;case"xlinkArcrole":C8($,q$,"xlink:arcrole",X);break;case"xlinkRole":C8($,q$,"xlink:role",X);break;case"xlinkShow":C8($,q$,"xlink:show",X);break;case"xlinkTitle":C8($,q$,"xlink:title",X);break;case"xlinkType":C8($,q$,"xlink:type",X);break;case"xmlBase":C8($,IU,"xml:base",X);break;case"xmlLang":C8($,IU,"xml:lang",X);break;case"xmlSpace":C8($,IU,"xml:space",X);break;case"is":B!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),OQ($,"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=TK(G),OQ($,G,X)):d6.hasOwnProperty(G)&&X!=null&&typeof X!=="function"&&G8(G,X)}}function cX($,Z,G,X,N,B){switch(G){case"style":RK($,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"&&G8(G,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&G8(G,X),c0("scrollend",$));break;case"onClick":X!=null&&(typeof X!=="function"&&G8(G,X),$.onclick=I8);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(d6.hasOwnProperty(G))X!=null&&typeof X!=="function"&&G8(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=$[R5]||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,""):OQ($,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":F2("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":F2("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":F2("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<jZ.length;X++)c0(jZ[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 j in X){var g=X[j];if(b=G[j],X.hasOwnProperty(j)&&(g!=null||b!=null))switch(j){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,j,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=j=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":j=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,j!=null?v$($,!!Z,j,!1):!!G!==!!Z&&(X!=null?v$($,!!Z,X,!0):v$($,!!Z,Z?[]:"",!1));return;case"textarea":g=j=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":j=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($,j,g);return;case"option":for(var t in G)if(j=G[t],G.hasOwnProperty(t)&&j!=null&&!X.hasOwnProperty(t))switch(t){case"selected":$.selected=!1;break;default:U1($,Z,t,null,X,j)}for(V in X)if(j=X[V],g=G[V],X.hasOwnProperty(V)&&j!==g&&(j!=null||g!=null))switch(V){case"selected":$.selected=j&&typeof j!=="function"&&typeof j!=="symbol";break;default:U1($,Z,V,j,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)j=G[Z0],G.hasOwnProperty(Z0)&&j!=null&&!X.hasOwnProperty(Z0)&&U1($,Z,Z0,null,X,j);for(_ in X)if(j=X[_],g=G[_],X.hasOwnProperty(_)&&j!==g&&(j!=null||g!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U1($,Z,_,j,X,g)}return;default:if(N7(Z)){for(var F1 in G)j=G[F1],G.hasOwnProperty(F1)&&j!==void 0&&!X.hasOwnProperty(F1)&&cX($,Z,F1,void 0,X,j);for(k in X)j=X[k],g=G[k],!X.hasOwnProperty(k)||j===g||j===void 0&&g===void 0||cX($,Z,k,j,X,g);return}}for(var l0 in G)j=G[l0],G.hasOwnProperty(l0)&&j!=null&&!X.hasOwnProperty(l0)&&U1($,Z,l0,null,X,j);for(b in X)j=X[b],g=G[b],!X.hasOwnProperty(b)||j===g||j==null&&g==null||U1($,Z,b,j,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||PF.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=C2(X),C2(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 RM($,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(d6.hasOwnProperty(V))typeof _!=="function"&&G8(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===n8&&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(d6.hasOwnProperty(_))typeof V!=="function"&&G8(_,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===EP){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=TK(_),W=!1,X.context===n8&&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 TM($){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&&TM(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&&TM(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 n8}}function VM($,Z){if($===n8)switch(Z){case"svg":return S9;case"math":return bJ;default:return n8}return $===S9&&Z==="foreignObject"?n8:$}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 R_($,Z,G,X){K_($,Z,G,X),$[R5]=X}function LM($){U7($,"")}function T_($,Z,G){$.nodeValue=G}function _M($){if(!$.__reactWarnedAboutChildrenConflict){var Z=$[R5]||null;if(Z!==null){var G=E0($);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 I2($){return $==="head"}function z_($,Z){$.removeChild(Z)}function V_($,Z){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(Z)}function EM($,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===i2||G===Y$||G===A9||G===X$)X++;else if(G===CP)g7($.ownerDocument.documentElement);else if(G===OP){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===IP&&g7($.ownerDocument.body);G=N}while(G);o$(Z)}function PM($,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!==i2&&G!==Y$&&G!==A9||$++;G=X}while(G)}function L_($){PM($,!0)}function __($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function E_($){$.nodeValue=""}function P_($){PM($,!1)}function C_($,Z){Z=Z[jP],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 O_($,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 j_($,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===i2||$.data===Y$}function aX($){return $.data===A9||$.data===i2&&$.ownerDocument.readyState!==Fw}function D_($,Z){var G=$.ownerDocument;if($.data===Y$)$._reactRetry=Z;else if($.data!==i2||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===i2||Z===Y$||Z===X$||Z===OU||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 OM($,Z,G){return G===null||G[PP]!==!0?($.nodeValue===Z?$=null:(Z=C2(Z),$=C2($.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!==i2&&G!==Y$&&G!==X$||Z++}$=$.nextSibling}return null}function jM($){$=$.previousSibling;for(var Z=0;$;){if($.nodeType===8){var G=$.data;if(G===DZ||G===A9||G===i2||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[A2]&&E0(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[R5]=Z}function g7($){for(var Z=$.attributes;Z.length;)$.removeAttributeNode(Z[0]);e($)}function OG($){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=j2.current)?OG(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 Q8($){$!==D9&&$.next===null&&(D9===null?IJ=D9=$:D9=D9.next=$),OJ=!0,x.actQueue!==null?_U||(_U=!0,qM()):LU||(LU=!0,qM())}function k7($,Z){if(!EU&&OJ){EU=!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);EU=!1}}function X_(){SZ=window.event,gX()}function gX(){OJ=_U=LU=!1;var $=0;o6!==0&&M_()&&($=o6);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)OJ=!0;X=N}d1!==s6&&d1!==EJ||k7($,!1),o6!==0&&(o6=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!==PU)hX(X);else return Z;switch(E(G)){case e5:case D4:G=zY;break;case N8:G=t$;break;case mG:G=VY;break;default:G=t$}return X=GM.bind(null,$),x.actQueue!==null?(x.actQueue.push(X),G=PU):G=RY(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!==s6&&d1!==EJ)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($){$!==PU&&$!==null&&o_($)}function qM(){x.actQueue!==null&&x.actQueue.push(function(){return gX(),null}),AP(function(){(o0&(r1|G4))!==t1?RY(TY,X_):gX()})}function xX(){if(o6===0){var $=n2;$===0&&($=hG,hG<<=1,(hG&261888)===0&&(hG=256)),o6=$}return o6}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[R5]||null).action),W=X.submitter;W&&(Z=(Z=W[R5]||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(o6!==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 PG($,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,PG,B,w,_):PG(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,PG,B,w,_):PG(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(!$[jJ]){$[jJ]=!0,qF.forEach(function(G){G!=="selectionchange"&&(CU.has(G)||uX(G,!1,$),uX(G,!0,$))});var Z=$.nodeType===9?$:$.ownerDocument;Z===null||Z[jJ]||(Z[jJ]=!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 j=dF.get($);if(j!==void 0){var g=rG,t=$;switch($){case"keypress":if(vQ(G)===0)break $;case"keydown":case"keyup":g=yE;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=jF;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=PE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=xE;break;case hF:case xF:case uF:g=OE;break;case mF:g=mE;break;case"scroll":case"scrollend":g=_E;break;case"wheel":g=pE;break;case"copy":case"cut":case"paste":g=DE;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=lE}var Z0=(Z&4)!==0,F1=!Z0&&($==="scroll"||$==="scrollend"),l0=Z0?j!==null?j+"Capture":null:j;Z0=[];for(var O=_,D;O!==null;){var v=O;if(D=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||D===null||l0===null||(v=B7(O,l0),v!=null&&Z0.push(b7(O,v,D))),F1)break;O=O.return}0<Z0.length&&(j=new g(j,t,null,G,k),b.push({event:j,listeners:Z0}))}}if((Z&7)===0){$:{if(j=$==="mouseover"||$==="pointerover",g=$==="mouseout"||$==="pointerout",j&&G!==l7&&(t=G.relatedTarget||G.fromElement)&&(q0(t)||t[A6]))break $;if(g||j){if(j=k.window===k?k:(j=k.ownerDocument)?j.defaultView||j.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=jF,v="onMouseLeave",l0="onMouseEnter",O="mouse",$==="pointerout"||$==="pointerover")Z0=AF,v="onPointerLeave",l0="onPointerEnter",O="pointer";if(F1=g==null?j:P0(g),D=t==null?j:P0(t),j=new Z0(v,O+"leave",g,G,k),j.target=F1,j.relatedTarget=D,v=null,q0(k)===_&&(Z0=new Z0(l0,O+"enter",t,G,k),Z0.target=D,Z0.relatedTarget=F1,v=Z0),F1=v,g&&t)Z:{Z0=U_,l0=g,O=t,D=0;for(v=l0;v;v=Z0(v))D++;v=0;for(var u=O;u;u=Z0(u))v++;for(;0<D-v;)l0=Z0(l0),D--;for(;0<v-D;)O=Z0(O),v--;for(;D--;){if(l0===O||O!==null&&l0===O.alternate){Z0=l0;break Z}l0=Z0(l0),O=Z0(O)}Z0=null}else Z0=null;g!==null&&KM(b,j,g,Z0,!1),t!==null&&F1!==null&&KM(b,F1,t,Z0,!0)}}}$:{if(j=_?P0(_):window,g=j.nodeName&&j.nodeName.toLowerCase(),g==="select"||g==="input"&&j.type==="file")var $0=OK;else if(CK(j))if(yF)$0=VL;else{$0=TL;var _0=RL}else g=j.nodeName,!g||g.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?_&&N7(_.elementType)&&($0=OK):$0=zL;if($0&&($0=$0($,_))){IK(b,$0,G,k);break $}_0&&_0($,j,_),$==="focusout"&&_&&j.type==="number"&&_.memoizedProps.value!=null&&J3(j,"number",j.value)}switch(_0=_?P0(_):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(oE)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?EK($,G)&&(U0="onCompositionEnd"):$==="keydown"&&G.keyCode===SF&&(U0="onCompositionStart");if(U0&&(vF&&G.locale!=="ko"&&(q9||U0!=="onCompositionStart"?U0==="onCompositionEnd"&&q9&&(M0=LK()):(S6=k,OY=("value"in S6)?S6.value:S6.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=PK(G),M0!==null&&(U0.data=M0)))),M0=sE?ML($,G):FL($,G))U0=CG(_,"onBeforeInput"),0<U0.length&&(_0=new SE("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=C6(G),C6(Z)!==G&&(X[$]=Z))}function N_($,Z,G){Z.forEach(function(X){G[MM(X)]=X==="style"?lX($):$.getAttribute(X)})}function G8($,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 C6($){return B6($)&&(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(LP,`
|
|
176
|
+
`).replace(_P,"")}function HM($,Z){return Z=C6(Z),C6($)===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":jQ($,"class",X);break;case"tabIndex":jQ($,"tabindex",X);break;case"dir":case"role":case"viewBox":case"width":case"height":jQ($,G,X);break;case"style":RK($,X,B);break;case"data":if(Z!=="object"){jQ($,"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"&&G8(G,X),$.onclick=I8);break;case"onScroll":X!=null&&(typeof X!=="function"&&G8(G,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&G8(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",$),OQ($,"popover",X);break;case"xlinkActuate":C8($,q$,"xlink:actuate",X);break;case"xlinkArcrole":C8($,q$,"xlink:arcrole",X);break;case"xlinkRole":C8($,q$,"xlink:role",X);break;case"xlinkShow":C8($,q$,"xlink:show",X);break;case"xlinkTitle":C8($,q$,"xlink:title",X);break;case"xlinkType":C8($,q$,"xlink:type",X);break;case"xmlBase":C8($,IU,"xml:base",X);break;case"xmlLang":C8($,IU,"xml:lang",X);break;case"xmlSpace":C8($,IU,"xml:space",X);break;case"is":B!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),OQ($,"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=TK(G),OQ($,G,X)):d2.hasOwnProperty(G)&&X!=null&&typeof X!=="function"&&G8(G,X)}}function cX($,Z,G,X,N,B){switch(G){case"style":RK($,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"&&G8(G,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&G8(G,X),c0("scrollend",$));break;case"onClick":X!=null&&(typeof X!=="function"&&G8(G,X),$.onclick=I8);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"&&G8(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=$[R5]||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,""):OQ($,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":F6("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":F6("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":F6("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<jZ.length;X++)c0(jZ[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 j in X){var g=X[j];if(b=G[j],X.hasOwnProperty(j)&&(g!=null||b!=null))switch(j){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,j,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=j=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":j=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,j!=null?v$($,!!Z,j,!1):!!G!==!!Z&&(X!=null?v$($,!!Z,X,!0):v$($,!!Z,Z?[]:"",!1));return;case"textarea":g=j=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":j=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($,j,g);return;case"option":for(var t in G)if(j=G[t],G.hasOwnProperty(t)&&j!=null&&!X.hasOwnProperty(t))switch(t){case"selected":$.selected=!1;break;default:U1($,Z,t,null,X,j)}for(V in X)if(j=X[V],g=G[V],X.hasOwnProperty(V)&&j!==g&&(j!=null||g!=null))switch(V){case"selected":$.selected=j&&typeof j!=="function"&&typeof j!=="symbol";break;default:U1($,Z,V,j,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)j=G[Z0],G.hasOwnProperty(Z0)&&j!=null&&!X.hasOwnProperty(Z0)&&U1($,Z,Z0,null,X,j);for(_ in X)if(j=X[_],g=G[_],X.hasOwnProperty(_)&&j!==g&&(j!=null||g!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U1($,Z,_,j,X,g)}return;default:if(N7(Z)){for(var F1 in G)j=G[F1],G.hasOwnProperty(F1)&&j!==void 0&&!X.hasOwnProperty(F1)&&cX($,Z,F1,void 0,X,j);for(k in X)j=X[k],g=G[k],!X.hasOwnProperty(k)||j===g||j===void 0&&g===void 0||cX($,Z,k,j,X,g);return}}for(var l0 in G)j=G[l0],G.hasOwnProperty(l0)&&j!=null&&!X.hasOwnProperty(l0)&&U1($,Z,l0,null,X,j);for(b in X)j=X[b],g=G[b],!X.hasOwnProperty(b)||j===g||j==null&&g==null||U1($,Z,b,j,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||PF.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=C6(X),C6(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 RM($,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"&&G8(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===n8&&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"&&G8(_,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===EP){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=TK(_),W=!1,X.context===n8&&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 TM($){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&&TM(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&&TM(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 n8}}function VM($,Z){if($===n8)switch(Z){case"svg":return S9;case"math":return bJ;default:return n8}return $===S9&&Z==="foreignObject"?n8:$}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 R_($,Z,G,X){K_($,Z,G,X),$[R5]=X}function LM($){U7($,"")}function T_($,Z,G){$.nodeValue=G}function _M($){if(!$.__reactWarnedAboutChildrenConflict){var Z=$[R5]||null;if(Z!==null){var G=E0($);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 I6($){return $==="head"}function z_($,Z){$.removeChild(Z)}function V_($,Z){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(Z)}function EM($,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===i6||G===Y$||G===A9||G===X$)X++;else if(G===CP)g7($.ownerDocument.documentElement);else if(G===OP){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===IP&&g7($.ownerDocument.body);G=N}while(G);o$(Z)}function PM($,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!==i6&&G!==Y$&&G!==A9||$++;G=X}while(G)}function L_($){PM($,!0)}function __($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function E_($){$.nodeValue=""}function P_($){PM($,!1)}function C_($,Z){Z=Z[jP],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 O_($,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 j_($,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===i6||$.data===Y$}function aX($){return $.data===A9||$.data===i6&&$.ownerDocument.readyState!==Fw}function D_($,Z){var G=$.ownerDocument;if($.data===Y$)$._reactRetry=Z;else if($.data!==i6||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===i6||Z===Y$||Z===X$||Z===OU||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 OM($,Z,G){return G===null||G[PP]!==!0?($.nodeValue===Z?$=null:(Z=C6(Z),$=C6($.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!==i6&&G!==Y$&&G!==X$||Z++}$=$.nextSibling}return null}function jM($){$=$.previousSibling;for(var Z=0;$;){if($.nodeType===8){var G=$.data;if(G===DZ||G===A9||G===i6||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[A6]&&E0(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[R5]=Z}function g7($){for(var Z=$.attributes;Z.length;)$.removeAttributeNode(Z[0]);e($)}function OG($){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=j6.current)?OG(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=`
|
|
177
177
|
|
|
178
178
|
- `+jG(Z)+`
|
|
179
179
|
+ `+jG(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 W}if(Z&&X!==null)throw G=`
|
|
180
180
|
|
|
181
181
|
- `+jG(Z)+`
|
|
182
|
-
+ `+jG(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 jG($){var Z=0,G="<link";return typeof $.rel==="string"?(Z++,G+=' rel="'+$.rel+'"'):j4.call($,"rel")&&(Z++,G+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(Z++,G+=' href="'+$.href+'"'):j4.call($,"href")&&(Z++,G+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(Z++,G+=' precedence="'+$.precedence+'"'):j4.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|=Tw}),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()}},SP+Z);0<$.imgBytes&&vU===0&&(vU=125*H_()*kP);var N=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&SG($,$.stylesheets),$.unsuspend)){var B=$.unsuspend;$.unsuspend=null,B()}},($.imgBytes>vU?50:vP)+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=JP,B===!0&&(Z|=M5|A4),Z|=D0,B=L(3,null,null,Z),$.current=B,B.stateNode=$,Z=j3(),f6(Z),$.pooledCache=Z,f6(Z),B.memoizedState={element:X,isDehydrated:G,cache:Z},k3(B),$}function hM($){if(!$)return b2;return $=b2,$}function ZY($,Z,G,X,N,B){if(H5&&typeof H5.onScheduleFiberRoot==="function")try{H5.onScheduleFiberRoot(e$,X,G)}catch(W){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",W))}N=hM(N),X.context===null?X.context=N:X.pendingContext=N,X8&&t5!==null&&!Pw&&(Pw=!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.
|
|
182
|
+
+ `+jG(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 jG($){var Z=0,G="<link";return typeof $.rel==="string"?(Z++,G+=' rel="'+$.rel+'"'):j4.call($,"rel")&&(Z++,G+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(Z++,G+=' href="'+$.href+'"'):j4.call($,"href")&&(Z++,G+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(Z++,G+=' precedence="'+$.precedence+'"'):j4.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|=Tw}),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()}},SP+Z);0<$.imgBytes&&vU===0&&(vU=125*H_()*kP);var N=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&SG($,$.stylesheets),$.unsuspend)){var B=$.unsuspend;$.unsuspend=null,B()}},($.imgBytes>vU?50:vP)+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=JP,B===!0&&(Z|=M5|A4),Z|=D0,B=L(3,null,null,Z),$.current=B,B.stateNode=$,Z=j3(),f2(Z),$.pooledCache=Z,f2(Z),B.memoizedState={element:X,isDehydrated:G,cache:Z},k3(B),$}function hM($){if(!$)return b6;return $=b6,$}function ZY($,Z,G,X,N,B){if(H5&&typeof H5.onScheduleFiberRoot==="function")try{H5.onScheduleFiberRoot(e$,X,G)}catch(W){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",W))}N=hM(N),X.context===null?X.context=N:X.pendingContext=N,X8&&t5!==null&&!Pw&&(Pw=!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=z2(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=V2($,X,Z),G!==null&&(l4(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=I6(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<fP.indexOf($)){for(;N!==null;){var B=E0(N);if(B!==null)switch(B.tag){case 3:if(B=B.stateNode,B.current.memoizedState.isDehydrated){var W=m4(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}Q8(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 TY:return e5;case zY:return D4;case t$:case e_:return N8;case VY:return mG;default:return N8}default:return N8}}function pM($,Z){switch($){case"focusin":case"focusout":a2=null;break;case"dragenter":case"dragleave":t2=null;break;case"mouseover":case"mouseout":e2=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=E0(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 a2=u7(a2,$,Z,G,X,N),!0;case"dragenter":return t2=u7(t2,$,Z,G,X,N),!0;case"mouseover":return e2=u7(e2,$,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=E0(G),Z!==null&&uM(Z),$.blockedOn=G,!1;Z.shift()}return!0}function lM($,Z,G){vG($)&&G.delete(Z)}function c_(){bU=!1,a2!==null&&vG(a2)&&(a2=null),t2!==null&&vG(t2)&&(t2=null),e2!==null&&vG(e2)&&(e2=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=E0(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,$)}a2!==null&&kG(a2,$),t2!==null&&kG(t2,$),e2!==null&&kG(e2,$),bZ.forEach(Z),fZ.forEach(Z);for(var G=0;G<$6.length;G++){var X=$6[G];X.blockedOn===$&&(X.blockedOn=null)}for(;0<$6.length&&(G=$6[0],G.blockedOn===null);)cM(G),G.blockedOn===null&&$6.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[R5]||null;if(typeof B==="function")W||rM(G);else if(W){var w=null;if(B&&B.hasAttribute("formAction")){if(N=B,W=B[R5]||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($){$[A2]&&($._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"),J8=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"),q8=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=[],b8=-1,O2=N0(null),d7=N0(null),j2=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,X8=!1,j4=Object.prototype.hasOwnProperty,RY=a0.unstable_scheduleCallback,o_=a0.unstable_cancelCallback,i_=a0.unstable_shouldYield,a_=a0.unstable_requestPaint,o1=a0.unstable_now,t_=a0.unstable_getCurrentPriorityLevel,TY=a0.unstable_ImmediatePriority,zY=a0.unstable_UserBlockingPriority,t$=a0.unstable_NormalPriority,e_=a0.unstable_LowPriority,VY=a0.unstable_IdlePriority,$E=a0.log,ZE=a0.unstable_setDisableYieldValue,e$=null,H5=null,Y8=!1,U8=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",w5=Math.clz32?Math.clz32:CQ,QE=Math.log,GE=Math.LN2,hG=256,xG=262144,uG=4194304,e5=2,D4=8,N8=32,mG=268435456,D2=Math.random().toString(36).slice(2),G5="__reactFiber$"+D2,R5="__reactProps$"+D2,A2="__reactContainer$"+D2,LY="__reactEvents$"+D2,JE="__reactListeners$"+D2,qE="__reactHandles$"+D2,JF="__reactResources$"+D2,c7="__reactMarker$"+D2,qF=new Set,d6={},_Y={},XE={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},YE=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={},UE=/[\n"\\]/g,UF=!1,NF=!1,KF=!1,BF=!1,HF=!1,MF=!1,FF=["value","defaultValue"],WF=!1,wF=/["'&<>\n\t]|^\s|\s$/,NE="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(" "),RF="applet caption html table td th marquee object template foreignObject desc title".split(" "),KE=RF.concat(["button"]),BE="dd dt li option optgroup p rp rt".split(" "),TF={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},dG={},EY={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-/,HE=/^(?:webkit|moz|o)[A-Z]/,ME=/^-ms-/,FE=/-(.)/g,LF=/;\s*$/,$9={},PY={},_F=!1,EF=!1,PF=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",WE=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={},wE=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]*$"),RE=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,T5={},OF=/^on./,TE=/^on[^A-Z]/,zE=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]*$"),VE=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]*$"),LE=/^[\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,K8=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),IY=!1;if(K8)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 S2=null,OY=null,lG=null,p6={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rG=I5(p6),s7=y0({},p6,{view:0,detail:0}),_E=I5(s7),jY,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"?(jY=$.screenX-n7.screenX,DY=$.screenY-n7.screenY):DY=jY=0,n7=$),jY},movementY:function($){return"movementY"in $?$.movementY:DY}}),jF=I5(sG),EE=y0({},sG,{dataTransfer:0}),PE=I5(EE),CE=y0({},s7,{relatedTarget:0}),AY=I5(CE),IE=y0({},p6,{animationName:0,elapsedTime:0,pseudoElement:0}),OE=I5(IE),jE=y0({},p6,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),DE=I5(jE),AE=y0({},p6,{data:0}),DF=I5(AE),SE=DF,vE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kE={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"},bE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fE=y0({},s7,{key:function($){if($.key){var Z=vE[$.key]||$.key;if(Z!=="Unidentified")return Z}return $.type==="keypress"?($=vQ($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?kE[$.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}}),yE=I5(fE),gE=y0({},sG,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),AF=I5(gE),hE=y0({},s7,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:B3}),xE=I5(hE),uE=y0({},p6,{propertyName:0,elapsedTime:0,pseudoElement:0}),mE=I5(uE),dE=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}),pE=I5(dE),cE=y0({},p6,{newState:0,oldState:0}),lE=I5(cE),rE=[9,13,27,32],SF=229,SY=K8&&"CompositionEvent"in window,o7=null;K8&&"documentMode"in document&&(o7=document.documentMode);var sE=K8&&"TextEvent"in window&&!o7,vF=K8&&(!SY||o7&&8<o7&&11>=o7),kF=32,bF=String.fromCharCode(kF),fF=!1,q9=!1,nE={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;K8&&(yF=WL("input")&&(!document.documentMode||9<document.documentMode));var z5=typeof Object.is==="function"?Object.is:LL,oE=K8&&"documentMode"in document&&11>=document.documentMode,X9=null,vY=null,t7=null,kY=!1,Y9={animationend:j6("Animation","AnimationEnd"),animationiteration:j6("Animation","AnimationIteration"),animationstart:j6("Animation","AnimationStart"),transitionrun:j6("Transition","TransitionRun"),transitionstart:j6("Transition","TransitionStart"),transitioncancel:j6("Transition","TransitionCancel"),transitionend:j6("Transition","TransitionEnd")},bY={},gF={};K8&&(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=D6("animationend"),xF=D6("animationiteration"),uF=D6("animationstart"),iE=D6("transitionrun"),aE=D6("transitionstart"),tE=D6("transitioncancel"),mF=D6("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 eE=performance,cF=function(){return eE.now()};else{var $P=Date;cF=function(){return $P.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($)},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.",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",v2=!1,f8={color:"primary",properties:null,tooltipText:"",track:N4},k2={start:-0,end:-0,detail:{devtools:f8}},QP=["Changed Props",""],rF="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",GP=["Changed Props",rF],e7=1,y8=2,K4=[],U9=0,uY=0,b2={};Object.freeze(b2);var B4=null,N9=null,V0=0,JP=1,D0=2,M5=8,A4=16,qP=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,c6=null,g8=1,h8="",J5=null,R1=null,p0=!1,B8=!1,$4=null,f2=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,XP=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()})}},YP=a0.unstable_scheduleCallback,UP=a0.unstable_NormalPriority,y1={$$typeof:q8,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,y2=-0,x8=-0,u8=null,V5=-1.1,l6=-0,_1=-0,W0=-1.1,T0=-1.1,L1=null,I1=!1,g2=-0,H8=-1.1,QZ=null,h2=0,lY=null,rY=null,r6=-1.1,GZ=null,F9=-1.1,ZJ=-1.1,M8=-0,m8=-1.1,W4=-1.1,sY=0,JZ=null,iF=null,aF=null,x2=-1.1,s6=null,u2=-1.1,QJ=-1.1,tF=-0,eF=-0,GJ=0,d8=null,$W=0,qZ=-1.1,JJ=!1,qJ=!1,XZ=null,nY=0,n6=0,W9=null,ZW=x.S;x.S=function($,Z){if(iW=o1(),typeof Z==="object"&&Z!==null&&typeof Z.then==="function"){if(0>m8&&0>W4){m8=g1();var G=y7(),X=f7();if(G!==u2||X!==s6)u2=-1.1;x2=G,s6=X}jL($,Z)}ZW!==null&&ZW($,Z)};var o6=N0(null),S4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},YZ=[],UZ=[],NZ=[],KZ=[],BZ=[],HZ=[],i6=new Set;S4.recordUnsafeLifecycleWarnings=function($,Z){i6.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"),i6.add(w.type)}),YZ=[]);var Z=new Set;0<UZ.length&&(UZ.forEach(function(w){Z.add(d(w)||"Component"),i6.add(w.type)}),UZ=[]);var G=new Set;0<NZ.length&&(NZ.forEach(function(w){G.add(d(w)||"Component"),i6.add(w.type)}),NZ=[]);var X=new Set;0<KZ.length&&(KZ.forEach(function(w){X.add(d(w)||"Component"),i6.add(w.type)}),KZ=[]);var N=new Set;0<BZ.length&&(BZ.forEach(function(w){N.add(d(w)||"Component"),i6.add(w.type)}),BZ=[]);var B=new Set;if(0<HZ.length&&(HZ.forEach(function(w){B.add(d(w)||"Component"),i6.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(t5)||"Unknown")),X=z6(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=V6($,X,Z),G!==null&&(l4(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<fP.indexOf($)){for(;N!==null;){var B=E0(N);if(B!==null)switch(B.tag){case 3:if(B=B.stateNode,B.current.memoizedState.isDehydrated){var W=m4(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}Q8(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 TY:return e5;case zY:return D4;case t$:case e_:return N8;case VY:return mG;default:return N8}default:return N8}}function pM($,Z){switch($){case"focusin":case"focusout":a6=null;break;case"dragenter":case"dragleave":t6=null;break;case"mouseover":case"mouseout":e6=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=E0(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 a6=u7(a6,$,Z,G,X,N),!0;case"dragenter":return t6=u7(t6,$,Z,G,X,N),!0;case"mouseover":return e6=u7(e6,$,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=E0(G),Z!==null&&uM(Z),$.blockedOn=G,!1;Z.shift()}return!0}function lM($,Z,G){vG($)&&G.delete(Z)}function c_(){bU=!1,a6!==null&&vG(a6)&&(a6=null),t6!==null&&vG(t6)&&(t6=null),e6!==null&&vG(e6)&&(e6=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=E0(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,$)}a6!==null&&kG(a6,$),t6!==null&&kG(t6,$),e6!==null&&kG(e6,$),bZ.forEach(Z),fZ.forEach(Z);for(var G=0;G<$2.length;G++){var X=$2[G];X.blockedOn===$&&(X.blockedOn=null)}for(;0<$2.length&&(G=$2[0],G.blockedOn===null);)cM(G),G.blockedOn===null&&$2.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[R5]||null;if(typeof B==="function")W||rM(G);else if(W){var w=null;if(B&&B.hasAttribute("formAction")){if(N=B,W=B[R5]||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($){$[A6]&&($._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"),J8=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"),q8=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=[],b8=-1,O6=N0(null),d7=N0(null),j6=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,X8=!1,j4=Object.prototype.hasOwnProperty,RY=a0.unstable_scheduleCallback,o_=a0.unstable_cancelCallback,i_=a0.unstable_shouldYield,a_=a0.unstable_requestPaint,o1=a0.unstable_now,t_=a0.unstable_getCurrentPriorityLevel,TY=a0.unstable_ImmediatePriority,zY=a0.unstable_UserBlockingPriority,t$=a0.unstable_NormalPriority,e_=a0.unstable_LowPriority,VY=a0.unstable_IdlePriority,$E=a0.log,ZE=a0.unstable_setDisableYieldValue,e$=null,H5=null,Y8=!1,U8=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",w5=Math.clz32?Math.clz32:CQ,QE=Math.log,GE=Math.LN2,hG=256,xG=262144,uG=4194304,e5=2,D4=8,N8=32,mG=268435456,D6=Math.random().toString(36).slice(2),G5="__reactFiber$"+D6,R5="__reactProps$"+D6,A6="__reactContainer$"+D6,LY="__reactEvents$"+D6,JE="__reactListeners$"+D6,qE="__reactHandles$"+D6,JF="__reactResources$"+D6,c7="__reactMarker$"+D6,qF=new Set,d2={},_Y={},XE={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},YE=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={},UE=/[\n"\\]/g,UF=!1,NF=!1,KF=!1,BF=!1,HF=!1,MF=!1,FF=["value","defaultValue"],WF=!1,wF=/["'&<>\n\t]|^\s|\s$/,NE="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(" "),RF="applet caption html table td th marquee object template foreignObject desc title".split(" "),KE=RF.concat(["button"]),BE="dd dt li option optgroup p rp rt".split(" "),TF={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},dG={},EY={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-/,HE=/^(?:webkit|moz|o)[A-Z]/,ME=/^-ms-/,FE=/-(.)/g,LF=/;\s*$/,$9={},PY={},_F=!1,EF=!1,PF=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",WE=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={},wE=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]*$"),RE=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,T5={},OF=/^on./,TE=/^on[^A-Z]/,zE=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]*$"),VE=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]*$"),LE=/^[\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,K8=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),IY=!1;if(K8)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 S6=null,OY=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}),_E=I5(s7),jY,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"?(jY=$.screenX-n7.screenX,DY=$.screenY-n7.screenY):DY=jY=0,n7=$),jY},movementY:function($){return"movementY"in $?$.movementY:DY}}),jF=I5(sG),EE=y0({},sG,{dataTransfer:0}),PE=I5(EE),CE=y0({},s7,{relatedTarget:0}),AY=I5(CE),IE=y0({},p2,{animationName:0,elapsedTime:0,pseudoElement:0}),OE=I5(IE),jE=y0({},p2,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),DE=I5(jE),AE=y0({},p2,{data:0}),DF=I5(AE),SE=DF,vE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kE={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"},bE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fE=y0({},s7,{key:function($){if($.key){var Z=vE[$.key]||$.key;if(Z!=="Unidentified")return Z}return $.type==="keypress"?($=vQ($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?kE[$.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}}),yE=I5(fE),gE=y0({},sG,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),AF=I5(gE),hE=y0({},s7,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:B3}),xE=I5(hE),uE=y0({},p2,{propertyName:0,elapsedTime:0,pseudoElement:0}),mE=I5(uE),dE=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}),pE=I5(dE),cE=y0({},p2,{newState:0,oldState:0}),lE=I5(cE),rE=[9,13,27,32],SF=229,SY=K8&&"CompositionEvent"in window,o7=null;K8&&"documentMode"in document&&(o7=document.documentMode);var sE=K8&&"TextEvent"in window&&!o7,vF=K8&&(!SY||o7&&8<o7&&11>=o7),kF=32,bF=String.fromCharCode(kF),fF=!1,q9=!1,nE={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;K8&&(yF=WL("input")&&(!document.documentMode||9<document.documentMode));var z5=typeof Object.is==="function"?Object.is:LL,oE=K8&&"documentMode"in document&&11>=document.documentMode,X9=null,vY=null,t7=null,kY=!1,Y9={animationend:j2("Animation","AnimationEnd"),animationiteration:j2("Animation","AnimationIteration"),animationstart:j2("Animation","AnimationStart"),transitionrun:j2("Transition","TransitionRun"),transitionstart:j2("Transition","TransitionStart"),transitioncancel:j2("Transition","TransitionCancel"),transitionend:j2("Transition","TransitionEnd")},bY={},gF={};K8&&(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"),iE=D2("transitionrun"),aE=D2("transitionstart"),tE=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 eE=performance,cF=function(){return eE.now()};else{var $P=Date;cF=function(){return $P.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($)},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.",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",v6=!1,f8={color:"primary",properties:null,tooltipText:"",track:N4},k6={start:-0,end:-0,detail:{devtools:f8}},QP=["Changed Props",""],rF="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",GP=["Changed Props",rF],e7=1,y8=2,K4=[],U9=0,uY=0,b6={};Object.freeze(b6);var B4=null,N9=null,V0=0,JP=1,D0=2,M5=8,A4=16,qP=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,g8=1,h8="",J5=null,R1=null,p0=!1,B8=!1,$4=null,f6=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,XP=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()})}},YP=a0.unstable_scheduleCallback,UP=a0.unstable_NormalPriority,y1={$$typeof:q8,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,y6=-0,x8=-0,u8=null,V5=-1.1,l2=-0,_1=-0,W0=-1.1,T0=-1.1,L1=null,I1=!1,g6=-0,H8=-1.1,QZ=null,h6=0,lY=null,rY=null,r2=-1.1,GZ=null,F9=-1.1,ZJ=-1.1,M8=-0,m8=-1.1,W4=-1.1,sY=0,JZ=null,iF=null,aF=null,x6=-1.1,s2=null,u6=-1.1,QJ=-1.1,tF=-0,eF=-0,GJ=0,d8=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>m8&&0>W4){m8=g1();var G=y7(),X=f7();if(G!==u6||X!==s2)u6=-1.1;x6=G,s2=X}jL($,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.
|
|
185
185
|
|
|
186
186
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
187
|
|
|
@@ -216,23 +216,23 @@ The old API will be supported in all 16.x releases, but applications using it sh
|
|
|
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)})}})},S4.discardPendingWarnings=function(){YZ=[],UZ=[],NZ=[],KZ=[],BZ=[],HZ=[],XJ=new Map};var GW={react_stack_bottom_frame:function($,Z,G){var X=X8;X8=!0;try{return $(Z,G)}finally{X8=X}}},oY=GW.react_stack_bottom_frame.bind(GW),JW={react_stack_bottom_frame:function($){var Z=X8;X8=!0;try{return $.render()}finally{X8=Z}}},qW=JW.react_stack_bottom_frame.bind(JW),XW={react_stack_bottom_frame:function($,Z){try{Z.componentDidMount()}catch(G){$1($,$.return,G)}}},iY=XW.react_stack_bottom_frame.bind(XW),YW={react_stack_bottom_frame:function($,Z,G,X,N){try{Z.componentDidUpdate(G,X,N)}catch(B){$1($,$.return,B)}}},UW=YW.react_stack_bottom_frame.bind(YW),NW={react_stack_bottom_frame:function($,Z){var G=Z.stack;$.componentDidCatch(Z.value,{componentStack:G!==null?G:""})}},NP=NW.react_stack_bottom_frame.bind(NW),KW={react_stack_bottom_frame:function($,Z,G){try{G.componentWillUnmount()}catch(X){$1($,Z,X)}}},BW=KW.react_stack_bottom_frame.bind(KW),HW={react_stack_bottom_frame:function($){var Z=$.create;return $=$.inst,Z=Z(),$.destroy=Z}},KP=HW.react_stack_bottom_frame.bind(HW),MW={react_stack_bottom_frame:function($,Z,G){try{G()}catch(X){$1($,Z,X)}}},BP=MW.react_stack_bottom_frame.bind(MW),FW={react_stack_bottom_frame:function($){var Z=$._init;return Z($._payload)}},HP=FW.react_stack_bottom_frame.bind(FW),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`."),aY=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."),YJ=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."),UJ={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.')}},
|
|
219
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,X)})}})},S4.discardPendingWarnings=function(){YZ=[],UZ=[],NZ=[],KZ=[],BZ=[],HZ=[],XJ=new Map};var GW={react_stack_bottom_frame:function($,Z,G){var X=X8;X8=!0;try{return $(Z,G)}finally{X8=X}}},oY=GW.react_stack_bottom_frame.bind(GW),JW={react_stack_bottom_frame:function($){var Z=X8;X8=!0;try{return $.render()}finally{X8=Z}}},qW=JW.react_stack_bottom_frame.bind(JW),XW={react_stack_bottom_frame:function($,Z){try{Z.componentDidMount()}catch(G){$1($,$.return,G)}}},iY=XW.react_stack_bottom_frame.bind(XW),YW={react_stack_bottom_frame:function($,Z,G,X,N){try{Z.componentDidUpdate(G,X,N)}catch(B){$1($,$.return,B)}}},UW=YW.react_stack_bottom_frame.bind(YW),NW={react_stack_bottom_frame:function($,Z){var G=Z.stack;$.componentDidCatch(Z.value,{componentStack:G!==null?G:""})}},NP=NW.react_stack_bottom_frame.bind(NW),KW={react_stack_bottom_frame:function($,Z,G){try{G.componentWillUnmount()}catch(X){$1($,Z,X)}}},BW=KW.react_stack_bottom_frame.bind(KW),HW={react_stack_bottom_frame:function($){var Z=$.create;return $=$.inst,Z=Z(),$.destroy=Z}},KP=HW.react_stack_bottom_frame.bind(HW),MW={react_stack_bottom_frame:function($,Z,G){try{G()}catch(X){$1($,Z,X)}}},BP=MW.react_stack_bottom_frame.bind(MW),FW={react_stack_bottom_frame:function($){var Z=$._init;return Z($._payload)}},HP=FW.react_stack_bottom_frame.bind(FW),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`."),aY=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."),YJ=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."),UJ={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.')}},a2=null,MZ=!1,R9=null,FZ=0,A0=null,tY,WW=tY=!1,wW={},RW={},TW={};T=function($,Z,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(!wW[N]){wW[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 t6=KB(!0),zW=KB(!1),VW=0,LW=1,_W=2,eY=3,m2=!1,EW=!1,$U=null,ZU=!1,T9=N0(null),NJ=N0(0),Z4=N0(null),w4=null,z9=1,WZ=2,v1=N0(0),KJ=0,R4=1,L5=2,Q4=4,_5=8,V9,PW=new Set,CW=new Set,QU=new Set,IW=new Set,p8=0,L0=null,N1=null,h1=null,BJ=!1,L9=!1,e6=!1,HJ=0,wZ=0,c8=null,MP=0,FP=25,h=null,T4=null,l8=-1,RZ=!1,TZ={readContext:V1,use:E2,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};TZ.useEffectEvent=A1;var GU=null,OW=null,JU=null,jW=null,F8=null,v4=null,MJ=null;GU={readContext:function($){return V1($)},use:E2,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),g6(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=F8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",f0();var X=x.H;x.H=F8;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=F8;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:h6,useMemoCache:y6,useCacheRefresh:function(){return h="useCacheRefresh",f0(),UX()},useEffectEvent:function($){return h="useEffectEvent",f0(),t3($)}},OW={readContext:function($){return V1($)},use:E2,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(),g6(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),e3($,Z)},useMemo:function($,Z){h="useMemo",c();var G=x.H;x.H=F8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",c();var X=x.H;x.H=F8;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=F8;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:h6,useMemoCache:y6,useCacheRefresh:function(){return h="useCacheRefresh",c(),UX()},useEffectEvent:function($){return h="useEffectEvent",c(),t3($)}},JU={readContext:function($){return V1($)},use:E2,useCallback:function($,Z){return h="useCallback",c(),NG($,Z)},useContext:function($){return h="useContext",c(),V1($)},useEffect:function($,Z){h="useEffect",c(),O5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),O5(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:h6,useMemoCache:y6,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",c(),YG($)}},jW={readContext:function($){return V1($)},use:E2,useCallback:function($,Z){return h="useCallback",c(),NG($,Z)},useContext:function($){return h="useContext",c(),V1($)},useEffect:function($,Z){h="useEffect",c(),O5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),O5(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 E7($,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 E7(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(),PB($,Z)},useHostTransitionStatus:h6,useMemoCache:y6,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",c(),YG($)}},F8={readContext:function($){return F(),V1($)},use:function($){return M(),E2($)},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(),g6(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=F8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",M(),f0();var X=x.H;x.H=F8;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=F8;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(),y6($)},useHostTransitionStatus:h6,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(),E2($)},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(),O5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",M(),c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),c(),O5(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(),y6($)},useHostTransitionStatus:h6,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(),E2($)},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(),O5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",M(),c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),c(),O5(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 E7($,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 E7(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(),PB($,Z)},useMemoCache:function($){return M(),y6($)},useHostTransitionStatus:h6,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=z2(X);N.payload=Z,G!==void 0&&G!==null&&(KX(G),N.callback=G),Z=V2($,N,X),Z!==null&&(l4(X,"this.setState()",$),C1(Z,$,X),z7(Z,$,X))},enqueueReplaceState:function($,Z,G){$=$._reactInternals;var X=o5($),N=z2(X);N.tag=LW,N.payload=Z,G!==void 0&&G!==null&&(KX(G),N.callback=G),Z=V2($,N,X),Z!==null&&(l4(X,"this.replaceState()",$),C1(Z,$,X),z7(Z,$,X))},enqueueForceUpdate:function($,Z){$=$._reactInternals;var G=o5($),X=z2(G);X.tag=_W,Z!==void 0&&Z!==null&&(KX(Z),X.callback=Z),Z=V2($,X,G),Z!==null&&(l4(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={},E9=!1,cW={},FJ={},UU={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},lW=!1,rW=null;rW=new Set;var r8=!1,u1=!1,NU=!1,sW=typeof WeakSet==="function"?WeakSet:Set,a1=null,P9=null,C9=null,m1=null,A5=!1,k4=null,l1=!1,zZ=8192,WP={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 wP=[],RP=typeof WeakMap==="function"?WeakMap:Map,t1=0,r1=2,G4=4,s8=0,LZ=1,$$=2,WJ=3,d2=4,wJ=6,nW=5,o0=t1,K1=null,v0=null,S0=0,S5=0,RJ=1,Z$=2,_Z=3,oW=4,KU=5,EZ=6,TJ=7,BU=8,Q$=9,q1=S5,J4=null,p2=!1,I9=!1,HU=!1,W8=0,E1=s8,c2=0,l2=0,MU=0,v5=0,G$=0,PZ=null,E5=null,zJ=!1,VJ=0,iW=0,aW=300,LJ=1/0,tW=500,CZ=null,S1=null,r2=null,_J=0,FU=1,WU=2,eW=3,s2=0,$w=1,Zw=2,Qw=3,Gw=4,EJ=5,d1=0,n2=null,O9=null,b4=0,wU=0,RU=-0,TU=null,Jw=null,qw=null,f4=_J,Xw=null,TP=50,IZ=0,zU=null,VU=!1,PJ=!1,zP=50,J$=0,OZ=null,j9=!1,CJ=null,Yw=!1,Uw=new Set,VP={},IJ=null,D9=null,LU=!1,_U=!1,OJ=!1,EU=!1,o2=0,PU={};(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(iE,"onTransitionRun"),C4(aE,"onTransitionStart"),C4(tE,"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 jZ="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(jZ)),jJ="_reactListening"+Math.random().toString(36).slice(2),Nw=!1,Kw=!1,DJ=!1,Bw=!1,AJ=!1,SJ=!1,Hw=!1,vJ={},LP=/\r\n?/g,_P=/\u0000|\uFFFD/g,q$="http://www.w3.org/1999/xlink",IU="http://www.w3.org/XML/1998/namespace",EP="javascript:throw new Error('React form unexpectedly submitted.')",PP="suppressHydrationWarning",X$="&",kJ="/&",DZ="$",AZ="/$",i2="$?",Y$="$~",A9="$!",CP="html",IP="body",OP="head",OU="F!",Mw="F",Fw="loading",jP="style",n8=0,S9=1,bJ=2,jU=null,DU=null,Ww={dialog:!0,webview:!0},AU=null,SZ=void 0,ww=typeof setTimeout==="function"?setTimeout:void 0,DP=typeof clearTimeout==="function"?clearTimeout:void 0,U$=-1,Rw=typeof Promise==="function"?Promise:void 0,AP=typeof queueMicrotask==="function"?queueMicrotask:typeof Rw<"u"?function($){return Rw.resolve(null).then($).catch(F_)}:ww,SU=null,N$=0,vZ=1,Tw=2,zw=3,z4=4,V4=new Map,Vw=new Set,o8=Z1.d;Z1.d={f:function(){var $=o8.f(),Z=c$();return $||Z},r:function($){var Z=E0($);Z!==null&&Z.tag===5&&Z.type==="form"?gB(Z):o8.r($)},D:function($){o8.D($),AM("dns-prefetch",$,null)},C:function($,Z){o8.C($,Z),AM("preconnect",$,Z)},L:function($,Z,G){o8.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){o8.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){o8.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){o8.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|=Tw}),w.loading|=z4,DG(W,Z,X)}W={type:"stylesheet",instance:W,count:1,state:w},N.set(B,W)}}},M:function($,Z){o8.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,SP=60000,vP=800,kP=500,vU=0,kU=null,yJ=null,K$=n_,kZ={$$typeof:q8,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",Ew="",gJ=" ",bP=Function.prototype.bind,Pw=!1,Cw=null,Iw=null,Ow=null,jw=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))},Ow=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))},jw=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,a2=null,t2=null,e2=null,bZ=new Map,fZ=new Map,$6=[],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(" "),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[A2]=null}},bG.prototype.unstable_scheduleHydration=function($){if($){var Z=f();$={blockedOn:null,target:$,priority:Z};for(var G=0;G<$6.length&&Z!==0&&Z<$6[G].priority;G++);$6.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 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,m6=!1,EW=!1,$U=null,ZU=!1,T9=N0(null),NJ=N0(0),Z4=N0(null),w4=null,z9=1,WZ=2,v1=N0(0),KJ=0,R4=1,L5=2,Q4=4,_5=8,V9,PW=new Set,CW=new Set,QU=new Set,IW=new Set,p8=0,L0=null,N1=null,h1=null,BJ=!1,L9=!1,e2=!1,HJ=0,wZ=0,c8=null,MP=0,FP=25,h=null,T4=null,l8=-1,RZ=!1,TZ={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};TZ.useEffectEvent=A1;var GU=null,OW=null,JU=null,jW=null,F8=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=F8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",f0();var X=x.H;x.H=F8;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=F8;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($)}},OW={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=F8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",c();var X=x.H;x.H=F8;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=F8;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(),O5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),O5(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($)}},jW={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(),O5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),O5(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 E7($,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 E7(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(),PB($,Z)},useHostTransitionStatus:h2,useMemoCache:y2,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",c(),YG($)}},F8={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=F8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",M(),f0();var X=x.H;x.H=F8;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=F8;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(),O5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",M(),c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),c(),O5(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(),O5(2048,_5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),c(),UG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",M(),c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),c(),O5(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 E7($,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 E7(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(),PB($,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=z6(X);N.payload=Z,G!==void 0&&G!==null&&(KX(G),N.callback=G),Z=V6($,N,X),Z!==null&&(l4(X,"this.setState()",$),C1(Z,$,X),z7(Z,$,X))},enqueueReplaceState:function($,Z,G){$=$._reactInternals;var X=o5($),N=z6(X);N.tag=LW,N.payload=Z,G!==void 0&&G!==null&&(KX(G),N.callback=G),Z=V6($,N,X),Z!==null&&(l4(X,"this.replaceState()",$),C1(Z,$,X),z7(Z,$,X))},enqueueForceUpdate:function($,Z){$=$._reactInternals;var G=o5($),X=z6(G);X.tag=_W,Z!==void 0&&Z!==null&&(KX(Z),X.callback=Z),Z=V6($,X,G),Z!==null&&(l4(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={},E9=!1,cW={},FJ={},UU={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},lW=!1,rW=null;rW=new Set;var r8=!1,u1=!1,NU=!1,sW=typeof WeakSet==="function"?WeakSet:Set,a1=null,P9=null,C9=null,m1=null,A5=!1,k4=null,l1=!1,zZ=8192,WP={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 wP=[],RP=typeof WeakMap==="function"?WeakMap:Map,t1=0,r1=2,G4=4,s8=0,LZ=1,$$=2,WJ=3,d6=4,wJ=6,nW=5,o0=t1,K1=null,v0=null,S0=0,S5=0,RJ=1,Z$=2,_Z=3,oW=4,KU=5,EZ=6,TJ=7,BU=8,Q$=9,q1=S5,J4=null,p6=!1,I9=!1,HU=!1,W8=0,E1=s8,c6=0,l6=0,MU=0,v5=0,G$=0,PZ=null,E5=null,zJ=!1,VJ=0,iW=0,aW=300,LJ=1/0,tW=500,CZ=null,S1=null,r6=null,_J=0,FU=1,WU=2,eW=3,s6=0,$w=1,Zw=2,Qw=3,Gw=4,EJ=5,d1=0,n6=null,O9=null,b4=0,wU=0,RU=-0,TU=null,Jw=null,qw=null,f4=_J,Xw=null,TP=50,IZ=0,zU=null,VU=!1,PJ=!1,zP=50,J$=0,OZ=null,j9=!1,CJ=null,Yw=!1,Uw=new Set,VP={},IJ=null,D9=null,LU=!1,_U=!1,OJ=!1,EU=!1,o6=0,PU={};(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(iE,"onTransitionRun"),C4(aE,"onTransitionStart"),C4(tE,"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 jZ="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(jZ)),jJ="_reactListening"+Math.random().toString(36).slice(2),Nw=!1,Kw=!1,DJ=!1,Bw=!1,AJ=!1,SJ=!1,Hw=!1,vJ={},LP=/\r\n?/g,_P=/\u0000|\uFFFD/g,q$="http://www.w3.org/1999/xlink",IU="http://www.w3.org/XML/1998/namespace",EP="javascript:throw new Error('React form unexpectedly submitted.')",PP="suppressHydrationWarning",X$="&",kJ="/&",DZ="$",AZ="/$",i6="$?",Y$="$~",A9="$!",CP="html",IP="body",OP="head",OU="F!",Mw="F",Fw="loading",jP="style",n8=0,S9=1,bJ=2,jU=null,DU=null,Ww={dialog:!0,webview:!0},AU=null,SZ=void 0,ww=typeof setTimeout==="function"?setTimeout:void 0,DP=typeof clearTimeout==="function"?clearTimeout:void 0,U$=-1,Rw=typeof Promise==="function"?Promise:void 0,AP=typeof queueMicrotask==="function"?queueMicrotask:typeof Rw<"u"?function($){return Rw.resolve(null).then($).catch(F_)}:ww,SU=null,N$=0,vZ=1,Tw=2,zw=3,z4=4,V4=new Map,Vw=new Set,o8=Z1.d;Z1.d={f:function(){var $=o8.f(),Z=c$();return $||Z},r:function($){var Z=E0($);Z!==null&&Z.tag===5&&Z.type==="form"?gB(Z):o8.r($)},D:function($){o8.D($),AM("dns-prefetch",$,null)},C:function($,Z){o8.C($,Z),AM("preconnect",$,Z)},L:function($,Z,G){o8.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){o8.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){o8.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){o8.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|=Tw}),w.loading|=z4,DG(W,Z,X)}W={type:"stylesheet",instance:W,count:1,state:w},N.set(B,W)}}},M:function($,Z){o8.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,SP=60000,vP=800,kP=500,vU=0,kU=null,yJ=null,K$=n_,kZ={$$typeof:q8,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",Ew="",gJ=" ",bP=Function.prototype.bind,Pw=!1,Cw=null,Iw=null,Ow=null,jw=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))},Ow=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))},jw=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,a6=null,t6=null,e6=null,bZ=new Map,fZ=new Map,$2=[],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(" "),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[A6]=null}},bG.prototype.unstable_scheduleHydration=function($){if($){var Z=f();$={blockedOn:null,target:$,priority:Z};for(var G=0;G<$2.length&&Z!==0&&Z<$2[G].priority;G++);$2.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:
|
|
224
224
|
- react: `+($+`
|
|
225
225
|
- react-dom: 19.2.5
|
|
226
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"),Z1.findDOMNode=function($){var Z=$._reactInternals;if(Z===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 $=r(Z),$=$!==null?Q0($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.5"};return $.overrideHookState=Cw,$.overrideHookStateDeletePath=Iw,$.overrideHookStateRenamePath=Ow,$.overrideProps=jw,$.overridePropsDeletePath=Dw,$.overridePropsRenamePath=Aw,$.scheduleUpdate=Sw,$.scheduleRetry=vw,$.setErrorHandler=kw,$.setSuspenseHandler=bw,$.scheduleRefresh=I,$.scheduleRoot=P,$.setRefreshHandler=A,$.getCurrentFiber=u_,D$($)}()&&K8&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var fw=window.location.protocol;/^(https?|file):$/.test(fw)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(fw==="file:"?`
|
|
227
227
|
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}nP.createRoot=function($,Z){if(!C($))throw Error("Target container is not a DOM element.");nM($);var G=!1,X="",N=lB,B=rB,W=sB;return Z!==null&&Z!==void 0&&(Z.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof Z==="object"&&Z!==null&&Z.$$typeof===J8&&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 />);`),Z.unstable_strictMode===!0&&(G=!0),Z.identifierPrefix!==void 0&&(X=Z.identifierPrefix),Z.onUncaughtError!==void 0&&(N=Z.onUncaughtError),Z.onCaughtError!==void 0&&(B=Z.onCaughtError),Z.onRecoverableError!==void 0&&(W=Z.onRecoverableError)),Z=gM($,1,!1,null,null,G,X,null,N,B,W,sM),$[
|
|
230
|
+
root.render(<App />);`),Z.unstable_strictMode===!0&&(G=!0),Z.identifierPrefix!==void 0&&(X=Z.identifierPrefix),Z.onUncaughtError!==void 0&&(N=Z.onUncaughtError),Z.onCaughtError!==void 0&&(B=Z.onCaughtError),Z.onRecoverableError!==void 0&&(W=Z.onRecoverableError)),Z=gM($,1,!1,null,null,G,X,null,N,B,W,sM),$[A6]=Z.current,mX($),new XY(Z)},nP.hydrateRoot=function($,Z,G){if(!C($))throw Error("Target container is not a DOM element.");nM($),Z===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var X=!1,N="",B=lB,W=rB,w=sB,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&&(W=G.onCaughtError),G.onRecoverableError!==void 0&&(w=G.onRecoverableError),G.formState!==void 0&&(V=G.formState)),Z=gM($,1,!0,Z,G!=null?G:null,X,N,V,B,W,w,sM),Z.context=hM(null),G=Z.current,X=o5(G),X=I2(X),N=z6(X),N.callback=null,V6(G,N,X),l4(X,"hydrateRoot()",null),G=X,Z.current.lanes=G,H6(Z,G),Q8(Z),$[A6]=Z.current,mX($),new bG(Z)},nP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var pw=Z2((oS,dw)=>{var oP=R0(mw());dw.exports=oP});var Fz=Z2((JD)=>{var V$=R0(e1());(function(){function Q(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 y:return"Profiler";case C:return"StrictMode";case r:return"Suspense";case Q0:return"SuspenseList";case Y0: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 n:return S.displayName||"Context";case m:return(S._context.displayName||"Context")+".Consumer";case i:var o=S.render;return S=S.displayName,S||(S=o.displayName||o.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case p:return o=S.displayName||null,o!==null?o:Q(S.type)||"Memo";case a:o=S._payload,S=S._init;try{return Q(S(o))}catch(B0){}}return null}function J(S){return""+S}function q(S){try{J(S);var o=!1}catch(b0){o=!0}if(o){o=console;var B0=o.error,H0=typeof Symbol==="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return B0.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",H0),J(S)}}function Y(S){if(S===A)return"<>";if(typeof S==="object"&&S!==null&&S.$$typeof===a)return"<...>";try{var o=Q(S);return o?"<"+o+">":"<...>"}catch(B0){return"<...>"}}function U(){var S=N0.A;return S===null?null:S.getOwner()}function K(){return Error("react-stack-top-frame")}function H(S){if(w0.call(S,"key")){var o=Object.getOwnPropertyDescriptor(S,"key").get;if(o&&o.isReactWarning)return!1}return S.key!==void 0}function M(S,o){function B0(){l||(l=!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)",o))}B0.isReactWarning=!0,Object.defineProperty(S,"key",{get:B0,configurable:!0})}function F(){var S=Q(this.type);return J0[S]||(J0[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,o,B0,H0,b0,D1){var I0=B0.ref;return S={$$typeof:P,type:S,key:o,props:B0,_owner:H0},(I0!==void 0?I0:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:F}):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:b0}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:D1}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function T(S,o,B0,H0,b0,D1){var I0=o.children;if(I0!==void 0)if(H0)if(z0(I0)){for(H0=0;H0<I0.length;H0++)z(I0[H0]);Object.freeze&&Object.freeze(I0)}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(I0);if(w0.call(o,"key")){I0=Q(S);var f1=Object.keys(o).filter(function(P4){return P4!=="key"});H0=0<f1.length?"{key: someKey, "+f1.join(": ..., ")+": ...}":"{key: someKey}",k0[I0+H0]||(f1=0<f1.length?"{"+f1.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} />`,H0,I0,f1,I0),k0[I0+H0]=!0)}if(I0=null,B0!==void 0&&(q(B0),I0=""+B0),H(o)&&(q(o.key),I0=""+o.key),"key"in o){B0={};for(var N5 in o)N5!=="key"&&(B0[N5]=o[N5])}else B0=o;return I0&&M(B0,typeof S==="function"?S.displayName||S.name||"Unknown":S),R(S,I0,B0,U(),b0,D1)}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"),C=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),n=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),r=Symbol.for("react.suspense"),Q0=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),a=Symbol.for("react.lazy"),Y0=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),N0=V$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w0=Object.prototype.hasOwnProperty,z0=Array.isArray,C0=console.createTask?console.createTask:function(){return null};V$={react_stack_bottom_frame:function(S){return S()}};var l,J0={},K0=V$.react_stack_bottom_frame.bind(V$,K)(),d0=C0(Y(K)),k0={};JD.Fragment=A,JD.jsx=function(S,o,B0){var H0=1e4>N0.recentlyCreatedOwnerStacks++;return T(S,o,B0,!1,H0?Error("react-stack-top-frame"):K0,H0?C0(Y(S)):d0)},JD.jsxs=function(S,o,B0){var H0=1e4>N0.recentlyCreatedOwnerStacks++;return T(S,o,B0,!0,H0?Error("react-stack-top-frame"):K0,H0?C0(Y(S)):d0)}})()});var G1=
|
|
235
|
+
<%s key={someKey} {...props} />`,H0,I0,f1,I0),k0[I0+H0]=!0)}if(I0=null,B0!==void 0&&(q(B0),I0=""+B0),H(o)&&(q(o.key),I0=""+o.key),"key"in o){B0={};for(var N5 in o)N5!=="key"&&(B0[N5]=o[N5])}else B0=o;return I0&&M(B0,typeof S==="function"?S.displayName||S.name||"Unknown":S),R(S,I0,B0,U(),b0,D1)}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"),C=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),n=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),r=Symbol.for("react.suspense"),Q0=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),a=Symbol.for("react.lazy"),Y0=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),N0=V$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w0=Object.prototype.hasOwnProperty,z0=Array.isArray,C0=console.createTask?console.createTask:function(){return null};V$={react_stack_bottom_frame:function(S){return S()}};var l,J0={},K0=V$.react_stack_bottom_frame.bind(V$,K)(),d0=C0(Y(K)),k0={};JD.Fragment=A,JD.jsx=function(S,o,B0){var H0=1e4>N0.recentlyCreatedOwnerStacks++;return T(S,o,B0,!1,H0?Error("react-stack-top-frame"):K0,H0?C0(Y(S)):d0)},JD.jsxs=function(S,o,B0){var H0=1e4>N0.recentlyCreatedOwnerStacks++;return T(S,o,B0,!0,H0?Error("react-stack-top-frame"):K0,H0?C0(Y(S)):d0)}})()});var G1=Z2((oD)=>{var E$=R0(e1());(function(){function Q(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 y:return"Profiler";case C:return"StrictMode";case r:return"Suspense";case Q0:return"SuspenseList";case Y0: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 n:return S.displayName||"Context";case m:return(S._context.displayName||"Context")+".Consumer";case i:var o=S.render;return S=S.displayName,S||(S=o.displayName||o.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case p:return o=S.displayName||null,o!==null?o:Q(S.type)||"Memo";case a:o=S._payload,S=S._init;try{return Q(S(o))}catch(B0){}}return null}function J(S){return""+S}function q(S){try{J(S);var o=!1}catch(b0){o=!0}if(o){o=console;var B0=o.error,H0=typeof Symbol==="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return B0.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",H0),J(S)}}function Y(S){if(S===A)return"<>";if(typeof S==="object"&&S!==null&&S.$$typeof===a)return"<...>";try{var o=Q(S);return o?"<"+o+">":"<...>"}catch(B0){return"<...>"}}function U(){var S=N0.A;return S===null?null:S.getOwner()}function K(){return Error("react-stack-top-frame")}function H(S){if(w0.call(S,"key")){var o=Object.getOwnPropertyDescriptor(S,"key").get;if(o&&o.isReactWarning)return!1}return S.key!==void 0}function M(S,o){function B0(){l||(l=!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)",o))}B0.isReactWarning=!0,Object.defineProperty(S,"key",{get:B0,configurable:!0})}function F(){var S=Q(this.type);return J0[S]||(J0[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,o,B0,H0,b0,D1){var I0=B0.ref;return S={$$typeof:P,type:S,key:o,props:B0,_owner:H0},(I0!==void 0?I0:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:F}):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:b0}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:D1}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function T(S,o,B0,H0,b0,D1){var I0=o.children;if(I0!==void 0)if(H0)if(z0(I0)){for(H0=0;H0<I0.length;H0++)z(I0[H0]);Object.freeze&&Object.freeze(I0)}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(I0);if(w0.call(o,"key")){I0=Q(S);var f1=Object.keys(o).filter(function(P4){return P4!=="key"});H0=0<f1.length?"{key: someKey, "+f1.join(": ..., ")+": ...}":"{key: someKey}",k0[I0+H0]||(f1=0<f1.length?"{"+f1.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:
|
|
@@ -242,16 +242,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
242
242
|
* https://github.com/kurkle/color#readme
|
|
243
243
|
* (c) 2024 Jukka Kurkela
|
|
244
244
|
* Released under the MIT License
|
|
245
|
-
*/function gZ(Q){return Q+0.5|0}var
|
|
245
|
+
*/function gZ(Q){return Q+0.5|0}var Q2=(Q,J,q)=>Math.max(Math.min(Q,q),J);function yZ(Q){return Q2(gZ(Q*2.55),0,255)}function G2(Q){return Q2(gZ(Q*255),0,255)}function a8(Q){return Q2(gZ(Q/2.55)/100,0,1)}function tw(Q){return Q2(gZ(Q*100),0,100)}var L4={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},hU=[..."0123456789ABCDEF"],iP=(Q)=>hU[Q&15],aP=(Q)=>hU[(Q&240)>>4]+hU[Q&15],dJ=(Q)=>(Q&240)>>4===(Q&15),tP=(Q)=>dJ(Q.r)&&dJ(Q.g)&&dJ(Q.b)&&dJ(Q.a);function eP(Q){var J=Q.length,q;if(Q[0]==="#"){if(J===4||J===5)q={r:255&L4[Q[1]]*17,g:255&L4[Q[2]]*17,b:255&L4[Q[3]]*17,a:J===5?L4[Q[4]]*17:255};else if(J===7||J===9)q={r:L4[Q[1]]<<4|L4[Q[2]],g:L4[Q[3]]<<4|L4[Q[4]],b:L4[Q[5]]<<4|L4[Q[6]],a:J===9?L4[Q[7]]<<4|L4[Q[8]]:255}}return q}var $C=(Q,J)=>Q<255?J(Q):"";function ZC(Q){var J=tP(Q)?iP:aP;return Q?"#"+J(Q.r)+J(Q.g)+J(Q.b)+$C(Q.a,J):void 0}var QC=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function QR(Q,J,q){let Y=J*Math.min(q,1-q),U=(K,H=(K+Q/30)%12)=>q-Y*Math.max(Math.min(H-3,9-H,1),-1);return[U(0),U(8),U(4)]}function GC(Q,J,q){let Y=(U,K=(U+Q/60)%6)=>q-q*J*Math.max(Math.min(K,4-K,1),0);return[Y(5),Y(3),Y(1)]}function JC(Q,J,q){let Y=QR(Q,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 qC(Q,J,q,Y,U){if(Q===U)return(J-q)/Y+(J<q?6:0);if(J===U)return(q-Q)/Y+2;return(Q-J)/Y+4}function xU(Q){let q=Q.r/255,Y=Q.g/255,U=Q.b/255,K=Math.max(q,Y,U),H=Math.min(q,Y,U),M=(K+H)/2,F,R,T;if(K!==H)T=K-H,R=M>0.5?T/(2-K-H):T/(K+H),F=qC(q,Y,U,T,K),F=F*60+0.5;return[F|0,R||0,M]}function uU(Q,J,q,Y){return(Array.isArray(J)?Q(J[0],J[1],J[2]):Q(J,q,Y)).map(G2)}function mU(Q,J,q){return uU(QR,Q,J,q)}function XC(Q,J,q){return uU(JC,Q,J,q)}function YC(Q,J,q){return uU(GC,Q,J,q)}function GR(Q){return(Q%360+360)%360}function UC(Q){let J=QC.exec(Q),q=255,Y;if(!J)return;if(J[5]!==Y)q=J[6]?yZ(+J[5]):G2(+J[5]);let U=GR(+J[2]),K=+J[3]/100,H=+J[4]/100;if(J[1]==="hwb")Y=XC(U,K,H);else if(J[1]==="hsv")Y=YC(U,K,H);else Y=mU(U,K,H);return{r:Y[0],g:Y[1],b:Y[2],a:q}}function NC(Q,J){var q=xU(Q);q[0]=GR(q[0]+J),q=mU(q),Q.r=q[0],Q.g=q[1],Q.b=q[2]}function KC(Q){if(!Q)return;let J=xU(Q),q=J[0],Y=tw(J[1]),U=tw(J[2]);return Q.a<255?`hsla(${q}, ${Y}%, ${U}%, ${a8(Q.a)})`:`hsl(${q}, ${Y}%, ${U}%)`}var ew={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},$R={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function BC(){let Q={},J=Object.keys($R),q=Object.keys(ew),Y,U,K,H,M;for(Y=0;Y<J.length;Y++){H=M=J[Y];for(U=0;U<q.length;U++)K=q[U],M=M.replace(K,ew[K]);K=parseInt($R[H],16),Q[M]=[K>>16&255,K>>8&255,K&255]}return Q}var pJ;function HC(Q){if(!pJ)pJ=BC(),pJ.transparent=[0,0,0,0];let J=pJ[Q.toLowerCase()];return J&&{r:J[0],g:J[1],b:J[2],a:J.length===4?J[3]:255}}var MC=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function FC(Q){let J=MC.exec(Q),q=255,Y,U,K;if(!J)return;if(J[7]!==Y){let H=+J[7];q=J[8]?yZ(H):Q2(H*255,0,255)}return Y=+J[1],U=+J[3],K=+J[5],Y=255&(J[2]?yZ(Y):Q2(Y,0,255)),U=255&(J[4]?yZ(U):Q2(U,0,255)),K=255&(J[6]?yZ(K):Q2(K,0,255)),{r:Y,g:U,b:K,a:q}}function WC(Q){return Q&&(Q.a<255?`rgba(${Q.r}, ${Q.g}, ${Q.b}, ${a8(Q.a)})`:`rgb(${Q.r}, ${Q.g}, ${Q.b})`)}var gU=(Q)=>Q<=0.0031308?Q*12.92:Math.pow(Q,0.4166666666666667)*1.055-0.055,b9=(Q)=>Q<=0.04045?Q/12.92:Math.pow((Q+0.055)/1.055,2.4);function wC(Q,J,q){let Y=b9(a8(Q.r)),U=b9(a8(Q.g)),K=b9(a8(Q.b));return{r:G2(gU(Y+q*(b9(a8(J.r))-Y))),g:G2(gU(U+q*(b9(a8(J.g))-U))),b:G2(gU(K+q*(b9(a8(J.b))-K))),a:Q.a+q*(J.a-Q.a)}}function cJ(Q,J,q){if(Q){let Y=xU(Q);Y[J]=Math.max(0,Math.min(Y[J]+Y[J]*q,J===0?360:1)),Y=mU(Y),Q.r=Y[0],Q.g=Y[1],Q.b=Y[2]}}function JR(Q,J){return Q?Object.assign(J||{},Q):Q}function ZR(Q){var J={r:0,g:0,b:0,a:255};if(Array.isArray(Q)){if(Q.length>=3){if(J={r:Q[0],g:Q[1],b:Q[2],a:255},Q.length>3)J.a=G2(Q[3])}}else J=JR(Q,{r:0,g:0,b:0,a:1}),J.a=G2(J.a);return J}function RC(Q){if(Q.charAt(0)==="r")return FC(Q);return UC(Q)}class f9{constructor(Q){if(Q instanceof f9)return Q;let J=typeof Q,q;if(J==="object")q=ZR(Q);else if(J==="string")q=eP(Q)||HC(Q)||RC(Q);this._rgb=q,this._valid=!!q}get valid(){return this._valid}get rgb(){var Q=JR(this._rgb);if(Q)Q.a=a8(Q.a);return Q}set rgb(Q){this._rgb=ZR(Q)}rgbString(){return this._valid?WC(this._rgb):void 0}hexString(){return this._valid?ZC(this._rgb):void 0}hslString(){return this._valid?KC(this._rgb):void 0}mix(Q,J){if(Q){let q=this.rgb,Y=Q.rgb,U,K=J===U?0.5:J,H=2*K-1,M=q.a-Y.a,F=((H*M===-1?H:(H+M)/(1+H*M))+1)/2;U=1-F,q.r=255&F*q.r+U*Y.r+0.5,q.g=255&F*q.g+U*Y.g+0.5,q.b=255&F*q.b+U*Y.b+0.5,q.a=K*q.a+(1-K)*Y.a,this.rgb=q}return this}interpolate(Q,J){if(Q)this._rgb=wC(this._rgb,Q._rgb,J);return this}clone(){return new f9(this.rgb)}alpha(Q){return this._rgb.a=G2(Q),this}clearer(Q){let J=this._rgb;return J.a*=1-Q,this}greyscale(){let Q=this._rgb,J=gZ(Q.r*0.3+Q.g*0.59+Q.b*0.11);return Q.r=Q.g=Q.b=J,this}opaquer(Q){let J=this._rgb;return J.a*=1+Q,this}negate(){let Q=this._rgb;return Q.r=255-Q.r,Q.g=255-Q.g,Q.b=255-Q.b,this}lighten(Q){return cJ(this._rgb,2,Q),this}darken(Q){return cJ(this._rgb,2,-Q),this}saturate(Q){return cJ(this._rgb,1,Q),this}desaturate(Q){return cJ(this._rgb,1,-Q),this}rotate(Q){return NC(this._rgb,Q),this}}/*!
|
|
246
246
|
* Chart.js v4.5.1
|
|
247
247
|
* https://www.chartjs.org
|
|
248
248
|
* (c) 2025 Chart.js Contributors
|
|
249
249
|
* Released under the MIT License
|
|
250
|
-
*/function R8(){}var WR=(()=>{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 O1(Q){return(typeof Q==="number"||Q instanceof Number)&&isFinite(+Q)}function g5(Q,J){return O1(Q)?Q:J}function h0(Q,J){return typeof Q>"u"?J:Q}var wR=(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 RR(Q){return["__proto__","prototype","constructor"].indexOf(Q)===-1}function TC(Q,J,q,Y){if(!RR(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||TC,H;for(let M=0;M<U;++M){if(H=Y[M],!n0(H))continue;let F=Object.keys(H);for(let R=0,T=F.length;R<T;++R)K(F[R],Q,H,q)}return Q}function x9(Q,J){return g9(Q,J,{merger:zC})}function zC(Q,J,q){if(!RR(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 qR={"":(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(qR[J]||(qR[J]=LC(J)))(Q)}function tJ(Q){return Q.charAt(0).toUpperCase()+Q.slice(1)}var u9=(Q)=>typeof Q<"u",t8=(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 TR(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,EC=b1/180,b5=b1/2,H$=b1/4,XR=b1*2/3,e8=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(e8(Q))),Y=Q/q;return(Y<=1?1:Y<=2?2:Y<=5?5:10)*q}function zR(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 PC(Q){return typeof Q==="symbol"||typeof Q==="object"&&Q!==null&&!((Symbol.toPrimitive in Q)||("toString"in Q)||("valueOf"in Q))}function d9(Q){return!PC(Q)&&!isNaN(parseFloat(Q))&&isFinite(Q)}function VR(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 $2(Q){return Q*(b1/180)}function eJ(Q){return Q*(180/b1)}function sU(Q){if(!O1(Q))return;let J=1,q=0;while(Math.round(Q*J)/J!==Q)J*=10,q++;return q}function LR(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),R=k5(U-K),T=k5(U-H);return U===K||U===H||Y&&K===H||M>F&&R<T}function y5(Q,J,q){return Math.max(J,Math.min(q,Q))}function _R(Q){return y5(Q,-32768,32767)}function Z2(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 q6=(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),ER=(Q,J,q)=>$q(Q,q,(Y)=>Q[Y][J]>=q);function PR(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 CR=["push","pop","shift","splice","unshift"];function IR(Q,J){if(Q._chartjs){Q._chartjs.listeners.push(J);return}Object.defineProperty(Q,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[J]}}),CR.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;CR.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 OR(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,jR=(Q,J,q,Y)=>{return Q===(Y?"left":"right")?q:Q==="center"?(J+q)/2:J};function DR(Q,J,q){let Y=J.length,U=0,K=Y;if(Q._sorted){let{iScale:H,vScale:M,_parsed:F}=Q,R=Q.dataset?Q.dataset.options?Q.dataset.options.spanGaps:null:null,T=H.axis,{min:z,max:L,minDefined:P,maxDefined:I}=H.getUserBounds();if(P){if(U=Math.min(q6(F,T,z).lo,q?Y:q6(J,T,H.getPixelForValue(z)).lo),R){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(q6(F,H.axis,L,!0).hi+1,q?0:q6(J,T,H.getPixelForValue(L),!0).hi+1);if(R){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 AR(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,YR=(Q,J,q)=>-(Math.pow(2,10*(Q-=1))*Math.sin((Q-J)*f5/q)),UR=(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:YR(Q,0.075,0.3),easeOutElastic:(Q)=>lJ(Q)?Q:UR(Q,0.075,0.3),easeInOutElastic(Q){return lJ(Q)?Q:Q<0.5?0.5*YR(Q*2,0.1125,0.45):0.5+0.5*UR(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"],OC=["color","borderColor","backgroundColor"];function jC(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:OC},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 NR=new Map;function AC(Q,J){J=J||{};let q=Q+JSON.stringify(J),Y=NR.get(q);if(!Y)Y=new Intl.NumberFormat(Q,J),NR.set(q,Y);return Y}function Qq(Q,J,q){return AC(J,q).format(Q)}var SR={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 R=Math.max(Math.abs(q[0].value),Math.abs(q[q.length-1].value));if(R<0.0001||R>1000000000000000)U="scientific";K=SC(Q,q)}let H=e8(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(e8(Q)));if([1,2,3,5,10,15].includes(Y)||J>0.8*q.length)return SR.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:SR};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 Y6=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 vR{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(Y6,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 j1=new vR({_scriptable:(Q)=>!Q.startsWith("on"),_indexable:(Q)=>Q!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[jC,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 kR(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,R,T,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(R=0,T=z.length;R<T;R++)if(L=z[R],L!==void 0&&L!==null&&!z1(L))H=xZ(Q,U,K,H,L)}Q.restore();let P=K.length/2;if(P>q.length){for(F=0;F<P;F++)delete U[K[F]];K.splice(0,P)}return H}function U6(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,R,T,z,L,P=J.pointStyle,I=J.rotation,A=J.radius,C=(I||0)*EC;if(P&&typeof P==="object"){if(K=P.toString(),K==="[object HTMLImageElement]"||K==="[object HTMLCanvasElement]"){Q.save(),Q.translate(q,Y),Q.rotate(C),Q.drawImage(P,-P.width/2,-P.height/2,P.width,P.height),Q.restore();return}}if(isNaN(A)||A<=0)return;switch(Q.beginPath(),P){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":T=U?U/2:A,Q.moveTo(q+Math.sin(C)*T,Y-Math.cos(C)*A),C+=XR,Q.lineTo(q+Math.sin(C)*T,Y-Math.cos(C)*A),C+=XR,Q.lineTo(q+Math.sin(C)*T,Y-Math.cos(C)*A),Q.closePath();break;case"rectRounded":R=A*0.516,F=A-R,H=Math.cos(C+H$)*F,z=Math.cos(C+H$)*(U?U/2-R:F),M=Math.sin(C+H$)*F,L=Math.sin(C+H$)*(U?U/2-R:F),Q.arc(q-z,Y-M,R,C-b1,C-b5),Q.arc(q+L,Y-H,R,C-b5,C),Q.arc(q+z,Y+M,R,C,C+b5),Q.arc(q-L,Y+H,R,C+b5,C+b1),Q.closePath();break;case"rect":if(!I){F=Math.SQRT1_2*A,T=U?U/2:F,Q.rect(q-T,Y-F,2*T,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 w8(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 bR(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 fR(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,R=q+K.actualBoundingBoxDescent,T=U.strikethrough?(F+R)/2:R;Q.strokeStyle=Q.fillStyle,Q.beginPath(),Q.lineWidth=U.decorationWidth||2,Q.moveTo(H,T),Q.lineTo(M,T),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 N6(Q,J,q,Y,U,K={}){let H=z1(J)?J:[J],M=K.strokeWidth>0&&K.strokeColor!=="",F,R;Q.save(),Q.font=U.string,bC(Q,K);for(F=0;F<H.length;++F){if(R=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(R,q,Y,K.maxWidth)}Q.fillText(R,q,Y,K.maxWidth),fC(Q,q,Y,R,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 K6(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||j1.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 yR(Q,J,q){let{min:Y,max:U}=Q,K=wR(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 Q2(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=xR("_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 gR(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 BR(M).includes(F)},ownKeys(M){return BR(M)},set(M,F,R){let T=M._storage||(M._storage=U());return M[F]=T[F]=R,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 gR(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:t8(q)?q:()=>q,isIndexable:t8(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 gR(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(t8(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,R=U._scopes.filter((T)=>T!==F);J=[];for(let T of F){let z=YN(R,U,Q,T);J.push(F$(z,K,H&&H[Q],M))}}return J}function hR(Q,J,q){return t8(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=hR(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=hR(J._fallback,q,Y),H=[...Q,...U],M=new Set;M.add(Y);let F=KR(M,H,q,K||q,Y);if(F===null)return!1;if(typeof K<"u"&&K!==q){if(F=KR(M,H,K,F,Y),F===null)return!1}return qq(Array.from(M),[""],U,K,()=>sC(J,q,Y))}function KR(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=xR(mC(K,Q),q),typeof U<"u")return XN(Q,U)?YN(q,Y,Q,U):U}function xR(Q,J){for(let q of J){if(!q)continue;let Y=q[Q];if(typeof Y<"u")return Y}}function BR(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],uR=(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),R=M/(M+F),T=F/(M+F);R=isNaN(R)?0:R,T=isNaN(T)?0:T;let z=Y*R,L=Y*T;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,R=h9(Q,0);for(let T=0;T<Y-1;++T){if(F=R,R=h9(Q,T+1),!F||!R)continue;if(m9(J[T],0,iC)){q[T]=q[T+1]=0;continue}if(U=q[T]/J[T],K=q[T+1]/J[T],M=Math.pow(U,2)+Math.pow(K,2),M<=9)continue;H=3/Math.sqrt(M),q[T]=U*H*J[T],q[T+1]=K*H*J[T]}}function eC(Q,J,q="x"){let Y=uR(q),U=Q.length,K,H,M,F=h9(Q,0);for(let R=0;R<U;++R){if(H=M,M=F,F=h9(Q,R+1),!M)continue;let T=M[q],z=M[Y];if(H)K=(T-H[q])/3,M[`cp1${q}`]=T-K,M[`cp1${Y}`]=z-K*J[R];if(F)K=(F[q]-T)/3,M[`cp2${q}`]=T+K,M[`cp2${Y}`]=z+K*J[R]}}function $I(Q,J="x"){let q=uR(J),Y=Q.length,U=Array(Y).fill(0),K=Array(Y),H,M,F,R=h9(Q,0);for(H=0;H<Y;++H){if(M=F,F=R,R=h9(Q,H+1),!F)continue;if(R){let T=R[J]-F[J];U[H]=T!==0?(R[q]-F[q])/T:0}K[H]=!M?U[H]:!R?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=w8(Q[0],J);for(q=0,Y=Q.length;q<Y;++q){if(H=K,K=M,M=q<Y-1&&w8(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 mR(Q,J,q,Y,U){let K,H,M,F;if(J.spanGaps)Q=Q.filter((R)=>!R.skip);if(J.cubicInterpolationMode==="monotone")$I(Q,U);else{let R=Y?Q[Q.length-1]:Q[0];for(K=0,H=Q.length;K<H;++K)M=Q[K],F=aC(R,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,R=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 R=J.getBoundingClientRect();M=Y.clientX-R.left,F=Y.clientY-R.top,H=!0}return{x:M,y:F,box:H}}function B6(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:R,box:T}=qI(Q,q),z=H.left+(T&&M.left),L=H.top+(T&&M.top),{width:P,height:I}=J;if(K)P-=H.width+M.width,I-=H.height+M.height;return{x:Math.round((F-z)/P*q.width/Y),y:Math.round((R-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"),R=M$(M,"padding");J=H.width-R.width-F.width,q=H.height-R.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 X6=(Q)=>Math.round(Q*10)/10;function dR(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:R,height:T}=F;if(U.boxSizing==="content-box"){let L=M$(U,"border","width"),P=M$(U,"padding");R-=P.width+L.width,T-=P.height+L.height}if(R=Math.max(0,R-K.width),T=Math.max(0,Y?R/Y:T-K.height),R=X6(Math.min(R,H,F.maxWidth)),T=X6(Math.min(T,M,F.maxHeight)),R&&!T)T=X6(R/2);if((J!==void 0||q!==void 0)&&Y&&F.height&&T>F.height)T=F.height,R=X6(Math.floor(T*Y));return{width:R,height:T}}function UN(Q,J,q){let Y=J||1,U=X6(Q.height*Y),K=X6(Q.width*Y);Q.height=X6(Q.height),Q.width=X6(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`;if(Q.currentDevicePixelRatio!==Y||H.height!==U||H.width!==K)return Q.currentDevicePixelRatio=Y,H.height=U,H.width=K,Q.ctx.setTransform(Y,0,0,Y,0,0),!0;return!1}var pR=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 J6(Q,J,q,Y){return{x:Q.x+q*(J.x-Q.x),y:Q.y+q*(J.y-Q.y)}}function cR(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 lR(Q,J,q,Y){let U={x:Q.cp2x,y:Q.cp2y},K={x:J.cp1x,y:J.cp1y},H=J6(Q,U,q),M=J6(U,K,q),F=J6(K,J,q),R=J6(H,M,q),T=J6(M,F,q);return J6(R,T,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 rR(Q){if(Q==="angle")return{between:nU,compare:CC,normalize:k5};return{between:Z2,compare:(J,q)=>J-q,normalize:(J)=>J}}function HR({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}=rR(Y),F=J.length,{start:R,end:T,loop:z}=Q,L,P;if(z){R+=F,T+=F;for(L=0,P=F;L<P;++L){if(!H(M(J[R%F][Y]),U,K))break;R--,T--}R%=F,T%=F}if(T<R)T+=F;return{start:R,end:T,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:R}=rR(Y),{start:T,end:z,loop:L,style:P}=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=T,Y0=T;a<=z;++a){if(m=J[a%H],m.skip)continue;if(y=R(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(HR({start:C,end:a,loop:L,count:H,style:P})),C=null;Y0=a,n=y}if(C!==null)I.push(HR({start:C,end:z,loop:L,count:H,style:P}));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 R=Q[F%U];if(R.skip||R.stop){if(!M.skip)Y=!1,K.push({start:J%U,end:(F-1)%U,loop:Y}),J=H=R.stop?F:null}else if(H=F,M.skip)J=F;M=R}if(H!==null)K.push({start:J%U,end:H%U,loop:Y});return K}function sR(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 MR(Q,[{start:H,end:M,loop:K}],q,J);let F=M<H?M+U:M,R=!!Q._fullLoop&&H===0&&M===U-1;return MR(Q,BI(q,H,F,R),q,J)}function MR(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=FR(Q.options),{_datasetIndex:H,options:{spanGaps:M}}=Q,F=q.length,R=[],T=K,z=J[0].start,L=z;function P(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)R.push({start:I%F,end:A%F,loop:C,style:y}),T=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=FR(Y.setContext(Q2(U,{type:"segment",p0:A,p1:y,p0DataIndex:(L-1)%F,p1DataIndex:L%F,datasetIndex:H}))),MI(C,T))P(z,L-1,I.loop,T);A=y,T=C}if(z<L-1)P(z,L-1,I.loop,T)}return R}function FR(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)}}/*!
|
|
250
|
+
*/function R8(){}var WR=(()=>{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 O1(Q){return(typeof Q==="number"||Q instanceof Number)&&isFinite(+Q)}function g5(Q,J){return O1(Q)?Q:J}function h0(Q,J){return typeof Q>"u"?J:Q}var wR=(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 RR(Q){return["__proto__","prototype","constructor"].indexOf(Q)===-1}function TC(Q,J,q,Y){if(!RR(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||TC,H;for(let M=0;M<U;++M){if(H=Y[M],!n0(H))continue;let F=Object.keys(H);for(let R=0,T=F.length;R<T;++R)K(F[R],Q,H,q)}return Q}function x9(Q,J){return g9(Q,J,{merger:zC})}function zC(Q,J,q){if(!RR(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 qR={"":(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(qR[J]||(qR[J]=LC(J)))(Q)}function tJ(Q){return Q.charAt(0).toUpperCase()+Q.slice(1)}var u9=(Q)=>typeof Q<"u",t8=(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 TR(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,EC=b1/180,b5=b1/2,H$=b1/4,XR=b1*2/3,e8=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(e8(Q))),Y=Q/q;return(Y<=1?1:Y<=2?2:Y<=5?5:10)*q}function zR(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 PC(Q){return typeof Q==="symbol"||typeof Q==="object"&&Q!==null&&!((Symbol.toPrimitive in Q)||("toString"in Q)||("valueOf"in Q))}function d9(Q){return!PC(Q)&&!isNaN(parseFloat(Q))&&isFinite(Q)}function VR(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 $6(Q){return Q*(b1/180)}function eJ(Q){return Q*(180/b1)}function sU(Q){if(!O1(Q))return;let J=1,q=0;while(Math.round(Q*J)/J!==Q)J*=10,q++;return q}function LR(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),R=k5(U-K),T=k5(U-H);return U===K||U===H||Y&&K===H||M>F&&R<T}function y5(Q,J,q){return Math.max(J,Math.min(q,Q))}function _R(Q){return y5(Q,-32768,32767)}function Z6(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 q2=(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),ER=(Q,J,q)=>$q(Q,q,(Y)=>Q[Y][J]>=q);function PR(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 CR=["push","pop","shift","splice","unshift"];function IR(Q,J){if(Q._chartjs){Q._chartjs.listeners.push(J);return}Object.defineProperty(Q,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[J]}}),CR.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;CR.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 OR(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,jR=(Q,J,q,Y)=>{return Q===(Y?"left":"right")?q:Q==="center"?(J+q)/2:J};function DR(Q,J,q){let Y=J.length,U=0,K=Y;if(Q._sorted){let{iScale:H,vScale:M,_parsed:F}=Q,R=Q.dataset?Q.dataset.options?Q.dataset.options.spanGaps:null:null,T=H.axis,{min:z,max:L,minDefined:P,maxDefined:I}=H.getUserBounds();if(P){if(U=Math.min(q2(F,T,z).lo,q?Y:q2(J,T,H.getPixelForValue(z)).lo),R){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(q2(F,H.axis,L,!0).hi+1,q?0:q2(J,T,H.getPixelForValue(L),!0).hi+1);if(R){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 AR(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,YR=(Q,J,q)=>-(Math.pow(2,10*(Q-=1))*Math.sin((Q-J)*f5/q)),UR=(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:YR(Q,0.075,0.3),easeOutElastic:(Q)=>lJ(Q)?Q:UR(Q,0.075,0.3),easeInOutElastic(Q){return lJ(Q)?Q:Q<0.5?0.5*YR(Q*2,0.1125,0.45):0.5+0.5*UR(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"],OC=["color","borderColor","backgroundColor"];function jC(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:OC},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 NR=new Map;function AC(Q,J){J=J||{};let q=Q+JSON.stringify(J),Y=NR.get(q);if(!Y)Y=new Intl.NumberFormat(Q,J),NR.set(q,Y);return Y}function Qq(Q,J,q){return AC(J,q).format(Q)}var SR={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 R=Math.max(Math.abs(q[0].value),Math.abs(q[q.length-1].value));if(R<0.0001||R>1000000000000000)U="scientific";K=SC(Q,q)}let H=e8(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(e8(Q)));if([1,2,3,5,10,15].includes(Y)||J>0.8*q.length)return SR.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:SR};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 Y2=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 vR{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(Y2,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 j1=new vR({_scriptable:(Q)=>!Q.startsWith("on"),_indexable:(Q)=>Q!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[jC,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 kR(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,R,T,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(R=0,T=z.length;R<T;R++)if(L=z[R],L!==void 0&&L!==null&&!z1(L))H=xZ(Q,U,K,H,L)}Q.restore();let P=K.length/2;if(P>q.length){for(F=0;F<P;F++)delete U[K[F]];K.splice(0,P)}return H}function U2(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,R,T,z,L,P=J.pointStyle,I=J.rotation,A=J.radius,C=(I||0)*EC;if(P&&typeof P==="object"){if(K=P.toString(),K==="[object HTMLImageElement]"||K==="[object HTMLCanvasElement]"){Q.save(),Q.translate(q,Y),Q.rotate(C),Q.drawImage(P,-P.width/2,-P.height/2,P.width,P.height),Q.restore();return}}if(isNaN(A)||A<=0)return;switch(Q.beginPath(),P){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":T=U?U/2:A,Q.moveTo(q+Math.sin(C)*T,Y-Math.cos(C)*A),C+=XR,Q.lineTo(q+Math.sin(C)*T,Y-Math.cos(C)*A),C+=XR,Q.lineTo(q+Math.sin(C)*T,Y-Math.cos(C)*A),Q.closePath();break;case"rectRounded":R=A*0.516,F=A-R,H=Math.cos(C+H$)*F,z=Math.cos(C+H$)*(U?U/2-R:F),M=Math.sin(C+H$)*F,L=Math.sin(C+H$)*(U?U/2-R:F),Q.arc(q-z,Y-M,R,C-b1,C-b5),Q.arc(q+L,Y-H,R,C-b5,C),Q.arc(q+z,Y+M,R,C,C+b5),Q.arc(q-L,Y+H,R,C+b5,C+b1),Q.closePath();break;case"rect":if(!I){F=Math.SQRT1_2*A,T=U?U/2:F,Q.rect(q-T,Y-F,2*T,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 w8(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 bR(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 fR(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,R=q+K.actualBoundingBoxDescent,T=U.strikethrough?(F+R)/2:R;Q.strokeStyle=Q.fillStyle,Q.beginPath(),Q.lineWidth=U.decorationWidth||2,Q.moveTo(H,T),Q.lineTo(M,T),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 N2(Q,J,q,Y,U,K={}){let H=z1(J)?J:[J],M=K.strokeWidth>0&&K.strokeColor!=="",F,R;Q.save(),Q.font=U.string,bC(Q,K);for(F=0;F<H.length;++F){if(R=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(R,q,Y,K.maxWidth)}Q.fillText(R,q,Y,K.maxWidth),fC(Q,q,Y,R,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 K2(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||j1.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 yR(Q,J,q){let{min:Y,max:U}=Q,K=wR(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 Q6(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=xR("_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 gR(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 BR(M).includes(F)},ownKeys(M){return BR(M)},set(M,F,R){let T=M._storage||(M._storage=U());return M[F]=T[F]=R,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 gR(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:t8(q)?q:()=>q,isIndexable:t8(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 gR(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(t8(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,R=U._scopes.filter((T)=>T!==F);J=[];for(let T of F){let z=YN(R,U,Q,T);J.push(F$(z,K,H&&H[Q],M))}}return J}function hR(Q,J,q){return t8(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=hR(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=hR(J._fallback,q,Y),H=[...Q,...U],M=new Set;M.add(Y);let F=KR(M,H,q,K||q,Y);if(F===null)return!1;if(typeof K<"u"&&K!==q){if(F=KR(M,H,K,F,Y),F===null)return!1}return qq(Array.from(M),[""],U,K,()=>sC(J,q,Y))}function KR(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=xR(mC(K,Q),q),typeof U<"u")return XN(Q,U)?YN(q,Y,Q,U):U}function xR(Q,J){for(let q of J){if(!q)continue;let Y=q[Q];if(typeof Y<"u")return Y}}function BR(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],uR=(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),R=M/(M+F),T=F/(M+F);R=isNaN(R)?0:R,T=isNaN(T)?0:T;let z=Y*R,L=Y*T;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,R=h9(Q,0);for(let T=0;T<Y-1;++T){if(F=R,R=h9(Q,T+1),!F||!R)continue;if(m9(J[T],0,iC)){q[T]=q[T+1]=0;continue}if(U=q[T]/J[T],K=q[T+1]/J[T],M=Math.pow(U,2)+Math.pow(K,2),M<=9)continue;H=3/Math.sqrt(M),q[T]=U*H*J[T],q[T+1]=K*H*J[T]}}function eC(Q,J,q="x"){let Y=uR(q),U=Q.length,K,H,M,F=h9(Q,0);for(let R=0;R<U;++R){if(H=M,M=F,F=h9(Q,R+1),!M)continue;let T=M[q],z=M[Y];if(H)K=(T-H[q])/3,M[`cp1${q}`]=T-K,M[`cp1${Y}`]=z-K*J[R];if(F)K=(F[q]-T)/3,M[`cp2${q}`]=T+K,M[`cp2${Y}`]=z+K*J[R]}}function $I(Q,J="x"){let q=uR(J),Y=Q.length,U=Array(Y).fill(0),K=Array(Y),H,M,F,R=h9(Q,0);for(H=0;H<Y;++H){if(M=F,F=R,R=h9(Q,H+1),!F)continue;if(R){let T=R[J]-F[J];U[H]=T!==0?(R[q]-F[q])/T:0}K[H]=!M?U[H]:!R?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=w8(Q[0],J);for(q=0,Y=Q.length;q<Y;++q){if(H=K,K=M,M=q<Y-1&&w8(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 mR(Q,J,q,Y,U){let K,H,M,F;if(J.spanGaps)Q=Q.filter((R)=>!R.skip);if(J.cubicInterpolationMode==="monotone")$I(Q,U);else{let R=Y?Q[Q.length-1]:Q[0];for(K=0,H=Q.length;K<H;++K)M=Q[K],F=aC(R,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,R=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 R=J.getBoundingClientRect();M=Y.clientX-R.left,F=Y.clientY-R.top,H=!0}return{x:M,y:F,box:H}}function B2(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:R,box:T}=qI(Q,q),z=H.left+(T&&M.left),L=H.top+(T&&M.top),{width:P,height:I}=J;if(K)P-=H.width+M.width,I-=H.height+M.height;return{x:Math.round((F-z)/P*q.width/Y),y:Math.round((R-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"),R=M$(M,"padding");J=H.width-R.width-F.width,q=H.height-R.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 X2=(Q)=>Math.round(Q*10)/10;function dR(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:R,height:T}=F;if(U.boxSizing==="content-box"){let L=M$(U,"border","width"),P=M$(U,"padding");R-=P.width+L.width,T-=P.height+L.height}if(R=Math.max(0,R-K.width),T=Math.max(0,Y?R/Y:T-K.height),R=X2(Math.min(R,H,F.maxWidth)),T=X2(Math.min(T,M,F.maxHeight)),R&&!T)T=X2(R/2);if((J!==void 0||q!==void 0)&&Y&&F.height&&T>F.height)T=F.height,R=X2(Math.floor(T*Y));return{width:R,height:T}}function UN(Q,J,q){let Y=J||1,U=X2(Q.height*Y),K=X2(Q.width*Y);Q.height=X2(Q.height),Q.width=X2(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`;if(Q.currentDevicePixelRatio!==Y||H.height!==U||H.width!==K)return Q.currentDevicePixelRatio=Y,H.height=U,H.width=K,Q.ctx.setTransform(Y,0,0,Y,0,0),!0;return!1}var pR=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 J2(Q,J,q,Y){return{x:Q.x+q*(J.x-Q.x),y:Q.y+q*(J.y-Q.y)}}function cR(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 lR(Q,J,q,Y){let U={x:Q.cp2x,y:Q.cp2y},K={x:J.cp1x,y:J.cp1y},H=J2(Q,U,q),M=J2(U,K,q),F=J2(K,J,q),R=J2(H,M,q),T=J2(M,F,q);return J2(R,T,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 rR(Q){if(Q==="angle")return{between:nU,compare:CC,normalize:k5};return{between:Z6,compare:(J,q)=>J-q,normalize:(J)=>J}}function HR({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}=rR(Y),F=J.length,{start:R,end:T,loop:z}=Q,L,P;if(z){R+=F,T+=F;for(L=0,P=F;L<P;++L){if(!H(M(J[R%F][Y]),U,K))break;R--,T--}R%=F,T%=F}if(T<R)T+=F;return{start:R,end:T,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:R}=rR(Y),{start:T,end:z,loop:L,style:P}=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=T,Y0=T;a<=z;++a){if(m=J[a%H],m.skip)continue;if(y=R(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(HR({start:C,end:a,loop:L,count:H,style:P})),C=null;Y0=a,n=y}if(C!==null)I.push(HR({start:C,end:z,loop:L,count:H,style:P}));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 R=Q[F%U];if(R.skip||R.stop){if(!M.skip)Y=!1,K.push({start:J%U,end:(F-1)%U,loop:Y}),J=H=R.stop?F:null}else if(H=F,M.skip)J=F;M=R}if(H!==null)K.push({start:J%U,end:H%U,loop:Y});return K}function sR(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 MR(Q,[{start:H,end:M,loop:K}],q,J);let F=M<H?M+U:M,R=!!Q._fullLoop&&H===0&&M===U-1;return MR(Q,BI(q,H,F,R),q,J)}function MR(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=FR(Q.options),{_datasetIndex:H,options:{spanGaps:M}}=Q,F=q.length,R=[],T=K,z=J[0].start,L=z;function P(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)R.push({start:I%F,end:A%F,loop:C,style:y}),T=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=FR(Y.setContext(Q6(U,{type:"segment",p0:A,p1:y,p0DataIndex:(L-1)%F,p1DataIndex:L%F,datasetIndex:H}))),MI(C,T))P(z,L-1,I.loop,T);A=y,T=C}if(z<L-1)P(z,L-1,I.loop,T)}return R}function FR(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
251
|
* Chart.js v4.5.1
|
|
252
252
|
* https://www.chartjs.org
|
|
253
253
|
* (c) 2025 Chart.js Contributors
|
|
254
254
|
* Released under the MIT License
|
|
255
|
-
*/class cT{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 G2=new cT,nR="transparent",WI={boolean(Q,J,q){return q>0.5?J:Q},color(Q,J,q){let Y=$N(Q||nR),U=Y.valid&&$N(J||nR);return U&&U.valid?U.mix(Y,q).hexString():J},number(Q,J,q){return Q+(J-Q)*q}};class lT{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(j1.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=RI(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 R=J[F],T=U[F],z=q.get(F);if(T)if(z&&T.active()){T.update(z,R,H);continue}else T.cancel();if(!z||!z.duration){Q[F]=R;continue}U[F]=T=new lT(z,Q,F,R),Y.push(T)}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 G2.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 RI(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 oR(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 TI(Q,J,q){if(q===!1)return!1;let Y=oR(Q,q),U=oR(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 rT(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 iR(Q,J,q,Y={}){let U=Q.keys,K=Y.mode==="single",H,M,F,R;if(J===null)return;let T=!1;for(H=0,M=U.length;H<M;++H){if(F=+U[H],F===q){if(T=!0,Y.all)continue;break}if(R=Q.values[F],O1(R)&&(K||J===0||y4(J)===y4(R)))J+=R}if(!T&&!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,R,T;for(F=0,R=H.length;F<R;++F)T=H[F],M[F]={[U]:T,[K]:Q[T]};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 EI(Q,J,q){let Y=Q[J]||(Q[J]={});return Y[q]||(Y[q]={})}function aR(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 tR(Q,J){let{chart:q,_cachedMeta:Y}=Q,U=q._stacks||(q._stacks={}),{iScale:K,vScale:H,index:M}=Y,F=K.axis,R=H.axis,T=LI(K,H,Y),z=J.length,L;for(let P=0;P<z;++P){let I=J[P],{[F]:A,[R]:C}=I,y=I._stacks||(I._stacks={});L=y[R]=EI(U,T,A),L[M]=C,L._top=aR(L,H,!0,Y.type),L._bottom=aR(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 PI(Q,J){return Q2(Q,{active:!1,dataset:void 0,datasetIndex:J,index:J,mode:"default",type:"dataset"})}function CI(Q,J,q){return Q2(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)return;if(delete K[Y][q],K[Y]._visualValues!==void 0&&K[Y]._visualValues[q]!==void 0)delete K[Y]._visualValues[q]}}var RN=(Q)=>Q==="reset"||Q==="none",eR=(Q,J)=>J?Q:Object.assign({},Q),II=(Q,J,q)=>Q&&!J.hidden&&J._stacked&&{keys:rT(q,!0),values:null};class Rq{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=(T,z,L,P)=>T==="x"?z:T==="r"?P: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),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(F),J.vScale=this.getScaleForId(R)}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))IR(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)tR(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],R,T,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=()=>T[H]===null||F&&T[H]<F[H];for(R=0;R<J;++R)if(q._parsed[R+Q]=T=z[R],M){if(L())M=!1;F=T}q._sorted=M}if(K)tR(this,z)}parsePrimitiveData(Q,J,q,Y){let{iScale:U,vScale:K}=Q,H=U.axis,M=K.axis,F=U.getLabels(),R=U===K,T=Array(Y),z,L,P;for(z=0,L=Y;z<L;++z)P=z+q,T[z]={[H]:R||U.parse(F[P],P),[M]:K.parse(J[P],P)};return T}parseArrayData(Q,J,q,Y){let{xScale:U,yScale:K}=Q,H=Array(Y),M,F,R,T;for(M=0,F=Y;M<F;++M)R=M+q,T=J[R],H[M]={x:U.parse(T[0],R),y:K.parse(T[1],R)};return H}parseObjectData(Q,J,q,Y){let{xScale:U,yScale:K}=Q,{xAxisKey:H="x",yAxisKey:M="y"}=this._parsing,F=Array(Y),R,T,z,L;for(R=0,T=Y;R<T;++R)z=R+q,L=J[z],F[R]={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:rT(Y,!0),values:J._stacks[Q.axis]._visualValues};return iR(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=iR(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:R,max:T}=_I(H),z,L;function P(){L=Y[z];let I=L[H.axis];return!O1(L[Q.axis])||R>I||T<I}for(z=0;z<K;++z){if(P())continue;if(this.updateRangeFromParsed(F,Q,L,M),U)break}if(U)for(z=K-1;z>=0;--z){if(P())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],O1(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,TI(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,R;if(q.dataset)q.dataset.draw(Q,U,H,M);for(R=H;R<H+M;++R){let T=Y[R];if(T.hidden)continue;if(T.active&&F)K.push(T);else T.draw(Q,U)}for(R=0;R<K.length;++R)K[R].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=PI(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 eR(H,M);let F=this.chart.config,R=F.datasetElementScopeKeys(this._type,Q),T=Y?[`${Q}Hover`,"hover",Q,""]:[Q,""],z=F.getOptionScopes(this.getDataset(),R),L=Object.keys(j1.elements[Q]),P=()=>this.getContext(q,Y,J),I=F.resolveNamedOptions(z,L,P,T);if(I.$shared)I.$shared=M,U[K]=Object.freeze(eR(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 R=this.chart.config,T=R.datasetAnimationScopeKeys(this._type,J),z=R.getOptionScopes(this.getDataset(),T);M=R.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||RN(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(RN(Y))Object.assign(Q,q);else this._resolveAnimations(J,Y).update(Q,q)}updateSharedOptions(Q,J,q){if(Q&&!RN(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 OI(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 jI(Q){let J=Q.iScale,q=OI(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 R=K-(K-Math.min(H,M))/2*F;return{chunk:Math.abs(M-H)/2*F/Y,ratio:q.barPercentage,start:R}}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,R=M;if(Math.abs(H)>Math.abs(M))F=M,R=H;J[q.axis]=R,J._custom={barStart:F,barEnd:R,start:U,end:K,min:H,max:M}}function sT(Q,J,q,Y){if(z1(Q))SI(Q,J,q,Y);else J[q.axis]=q.parse(Q,Y);return J}function $T(Q,J,q,Y){let{iScale:U,vScale:K}=Q,H=U.getLabels(),M=U===K,F=[],R,T,z,L;for(R=q,T=q+Y;R<T;++R)L=J[R],z={},z[U.axis]=M||U.parse(H[R],R),F.push(sT(L,z,K,R));return F}function TN(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:R,bottom:T}=kI(Q);if(U==="middle"&&q)if(Q.enableBorderRadius=!0,(q._top||0)===Y)U=R;else if((q._bottom||0)===Y)U=T;else K[ZT(T,H,M,F)]=!0,U=R;K[ZT(U,H,M,F)]=!0,Q.borderSkipped=K}function ZT(Q,J,q,Y){if(Y)Q=fI(Q,J,q),Q=QT(Q,q,J);else Q=QT(Q,J,q);return Q}function fI(Q,J,q){return Q===J?q:Q===q?J:Q}function QT(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 Rq{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 $T(Q,J,q,Y)}parseArrayData(Q,J,q,Y){return $T(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,R=K.axis==="x"?H:M,T=[],z,L,P,I;for(z=q,L=q+Y;z<L;++z)I=J[z],P={},P[U.axis]=U.parse(W$(I,F),z),T.push(sT(W$(I,R),P,K,z));return T}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=TN(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(),R=this._getRuler(),{sharedOptions:T,includeOptions:z}=this._getSharedOptions(J,Y);for(let L=J;L<J+q;L++){let P=this.getParsed(L),I=U||t0(P[H.axis])?{base:M,head:M}:this._calculateBarValuePixels(L),A=this._calculateBarIndexPixels(L,R),C=(P._stacks||{})[H.axis],y={horizontal:F,base:I.base,enableBorderRadius:!C||TN(P._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=T||this.resolveDataElementOptions(L,Q[L].active?"active":Y);let m=y.options||Q[L].options;bI(y,m,C,K),yI(y,m,R.ratio),this.updateElement(Q[L],L,y,Y)}}_getStacks(Q,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],F=(R)=>{let T=R._parsed.find((L)=>L[q.axis]===M),z=T&&T[R.vScale.axis];if(t0(z)||isNaN(z))return!0};for(let R of Y){if(J!==void 0&&F(R))continue;if(U===!1||K.indexOf(R.stack)===-1||U===void 0&&R.stack===void 0)K.push(R.stack);if(R.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||jI(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,R=TN(F),T=M[J.axis],z=0,L=q?this.applyStack(J,M,q):T,P,I;if(L!==T)z=L-T,L=T;if(R){if(T=F.barStart,L=F.barEnd-F.barStart,T!==0&&y4(T)!==y4(F.barEnd))z=0;z+=T}let A=!t0(U)&&!R?U:z,C=J.getPixelForValue(A);if(this.chart.getDataVisibility(Q))P=J.getPixelForValue(z+L);else P=C;if(I=P-C,Math.abs(I)<K){if(I=vI(I,J,H)*K,T===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),P=C+I,q&&!R)M._stacks[J.axis]._visualValues[Y]=J.getValueForPixel(P)-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:P,center:P+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 R=U?this._getStackCount(Q):J.stackCount,T=Y.barThickness==="flex"?AI(Q,J,Y,R*F):DI(Q,J,Y,R*F),z=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,L=this._getAxis().indexOf(h0(z,this.getFirstScaleIdForIndexAxis())),P=this._getStackIndex(this.index,this._cachedMeta.stack,U?Q:void 0)+L;H=T.start+T.chunk*P+T.chunk/2,M=Math.min(K,T.chunk*T.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 Rq{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}=DR(J,Y,K);if(this._drawStart=H,this._drawCount=M,AR(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:R,includeOptions:T}=this._getSharedOptions(J,Y),z=K.axis,L=H.axis,{spanGaps:P,segment:I}=this.options,A=d9(P)?P: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(T)Q0.options=R||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 R$(){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 R$()}parse(){return R$()}format(){return R$()}add(){return R$()}diff(){return R$()}startOf(){return R$()}endOf(){return R$()}}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 R=M._reversePixels?ER:q6;if(!Y){let T=R(K,J,q);if(F){let{vScale:z}=U._cachedMeta,{_parsed:L}=Q,P=L.slice(0,T.lo+1).reverse().findIndex((A)=>!t0(A[z.axis]));T.lo-=Math.max(0,P);let I=L.slice(T.hi).findIndex((A)=>!t0(A[z.axis]));T.hi+=Math.max(0,I)}return T}else if(U._sharedOptions){let T=K[0],z=typeof T.getRange==="function"&&T.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 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:R,data:T}=K[M],{lo:z,hi:L}=hI(K[M],J,H,U);for(let P=z;P<=L;++P){let I=T[P];if(!I.skip)Y(I,R,P)}}}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,R){if(!U&&!w8(M,Q.chartArea,0))return;if(M.inRange(J.x,J.y,Y))K.push({element:M,datasetIndex:F,index:R})},!0),K}function uI(Q,J,q,Y){let U=[];function K(H,M,F){let{startAngle:R,endAngle:T}=H.getProps(["startAngle","endAngle"],Y),{angle:z}=LR(H,{x:J.x,y:J.y});if(nU(z,R,T))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 R(T,z,L){let P=T.inRange(J.x,J.y,U);if(Y&&!P)return;let I=T.getCenterPoint(U);if(!(!!K||Q.isPointInArea(I))&&!P)return;let C=M(J,I);if(C<F)H=[{element:T,datasetIndex:z,index:L}],F=C;else if(C===F)H.push({element:T,datasetIndex:z,index:L})}return QQ(Q,q,J,R),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 GT(Q,J,q,Y,U){let K=[],H=q==="x"?"inXRange":"inYRange",M=!1;if(QQ(Q,q,J,(F,R,T)=>{if(F[H]&&F[H](J[q],U))K.push({element:F,datasetIndex:R,index:T}),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=B6(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((R)=>{let T=M[0].index,z=R.data[T];if(z&&!z.skip)F.push({element:z,datasetIndex:R.index,index:T})}),F},dataset(Q,J,q,Y){let U=B6(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,R=Q.getDatasetMeta(F).data;M=[];for(let T=0;T<R.length;++T)M.push({element:R[T],datasetIndex:F,index:T})}return M},point(Q,J,q,Y){let U=B6(J,Q),K=q.axis||"xy",H=q.includeInvisible||!1;return zN(Q,U,K,Y,H)},nearest(Q,J,q,Y){let U=B6(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=B6(J,Q);return GT(Q,U,"x",q.intersect,Y)},y(Q,J,q,Y){let U=B6(J,Q);return GT(Q,U,"y",q.intersect,Y)}}},nT=["left","top","right","bottom"];function rZ(Q,J){return Q.filter((q)=>q.pos===J)}function JT(Q,J){return Q.filter((q)=>nT.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||!nT.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,R=q[M.stack],T=R&&M.stackWeight/R.weight;if(M.horizontal)M.width=T?T*Y:F&&J.availableWidth,M.height=U;else M.width=Y,M.height=T?T*U:F&&J.availableHeight}return q}function rI(Q){let J=pI(Q),q=sZ(J.filter((R)=>R.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=JT(J,"x"),F=JT(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 qT(Q,J,q,Y){return Math.max(Q[q],J[q])+Math.max(Q[Y],J[Y])}function oT(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)oT(H,K.getPadding());let M=Math.max(0,J.outerWidth-qT(H,Q,"left","right")),F=Math.max(0,J.outerHeight-qT(H,Q,"top","bottom")),R=M!==Q.w,T=F!==Q.h;return Q.w=M,Q.h=F,q.horizontal?{same:R,other:T}:{same:T,other:R}}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,R,T;for(K=0,H=Q.length,R=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(R|=z&&U.length,T=T||L,!F.fullSize)U.push(M)}return R&&iZ(U,J,q,Y)||T}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 XT(Q,J,q,Y){let U=q.padding,{x:K,y:H}=J;for(let M of Q){let F=M.box,R=Y[M.stack]||{count:1,placed:0,weight:1},T=M.stackWeight/R.weight||1;if(M.horizontal){let z=J.w*T,L=R.size||F.height;if(u9(R.start))H=R.start;if(F.fullSize)Nq(F,U.left,H,q.outerWidth-U.right-U.left,L);else Nq(F,J.left+R.placed,H,z,L);R.start=H,R.placed+=z,H=F.bottom}else{let z=J.h*T,L=R.size||F.width;if(u9(R.start))K=R.start;if(F.fullSize)Nq(F,K,U.top,L,q.outerHeight-U.bottom-U.top);else Nq(F,K,J.top+R.placed,L,z);R.start=K,R.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,R=M.horizontal;X1(Q.boxes,(A)=>{if(typeof A.beforeLayout==="function")A.beforeLayout()});let T=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/T,hBoxMaxHeight:H/2}),L=Object.assign({},U);oT(L,X5(Y));let P=Object.assign({maxPadding:L,w:K,h:H,x:U.left,y:U.top},U),I=lI(F.concat(R),z);if(iZ(M.fullSize,P,z,I),iZ(F,P,z,I),iZ(R,P,z,I))iZ(F,P,z,I);nI(P),XT(M.leftAndTop,P,z,I),P.x+=P.w,P.y+=P.h,XT(M.rightAndBottom,P,z,I),Q.chartArea={left:P.left,top:P.top,right:P.left+P.w,bottom:P.top+P.h,height:P.h,width:P.w},X1(M.chartArea,(A)=>{let C=A.box;Object.assign(C,Q.chartArea),C.update(P.w,P.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 iT 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"},YT=(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",YT(U)){let K=NN(Q,"width");if(K!==void 0)Q.width=K}if(YT(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 aT=pR?{passive:!0}:!1;function tI(Q,J,q){if(Q)Q.addEventListener(J,q,aT)}function eI(Q,J,q){if(Q&&Q.canvas)Q.canvas.removeEventListener(J,q,aT)}function $O(Q,J){let q=iI[Q.type]||Q.type,{x:Y,y:U}=B6(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 ZO(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 QO(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,UT=0;function tT(){let Q=window.devicePixelRatio;if(Q===UT)return;UT=Q,eZ.forEach((J,q)=>{if(q.currentDevicePixelRatio!==Q)J()})}function GO(Q,J){if(!eZ.size)window.addEventListener("resize",tT);eZ.set(Q,J)}function JO(Q){if(eZ.delete(Q),!eZ.size)window.removeEventListener("resize",tT)}function qO(Q,J,q){let Y=Q.canvas,U=Y&&Yq(Y);if(!U)return;let K=tU((M,F)=>{let R=U.clientWidth;if(q(M,F),R<U.clientWidth)q()},window),H=new ResizeObserver((M)=>{let F=M[0],R=F.contentRect.width,T=F.contentRect.height;if(R===0&&T===0)return;K(R,T)});return H.observe(U),GO(Q,K),H}function LN(Q,J,q){if(q)q.disconnect();if(J==="resize")JO(Q)}function XO(Q,J,q){let Y=Q.canvas,U=tU((K)=>{if(Q.ctx!==null)q($O(K,Q))},Q);return tI(Y,J,U),U}class eT 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:ZO,detach:QO,resize:qO}[J]||XO;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 dR(Q,J,q,Y)}isAttached(Q){let J=Q&&Yq(Q);return!!(J&&J.isConnected)}}function YO(Q){if(!Xq()||typeof OffscreenCanvas<"u"&&Q instanceof OffscreenCanvas)return iT;return eT}class q2{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 UO(Q,J){let q=Q.options.ticks,Y=NO(Q),U=Math.min(q.maxTicksLimit||Y,Y),K=q.major.enabled?BO(J):[],H=K.length,M=K[0],F=K[H-1],R=[];if(H>U)return HO(J,R,K,H/U),R;let T=KO(K,J,U);if(H>0){let z,L,P=H>1?Math.round((F-M)/(H-1)):null;Kq(J,R,T,t0(P)?0:M-P,M);for(z=0,L=H-1;z<L;z++)Kq(J,R,T,K[z],K[z+1]);return Kq(J,R,T,F,t0(P)?J.length:F+P),R}return Kq(J,R,T),R}function NO(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 KO(Q,J,q){let Y=MO(Q),U=J.length/q;if(!Y)return Math.max(U,1);let K=zR(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 BO(Q){let J=[],q,Y;for(q=0,Y=Q.length;q<Y;q++)if(Q[q].major)J.push(q);return J}function HO(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,R,T;if(q=Math.ceil(q),U)F=U-Y,q=F/Math.floor(F/q);T=K;while(T<0)M++,T=Math.round(K+M*q);for(R=Math.max(K,0);R<H;R++)if(R===T)J.push(Q[R]),M++,T=Math.round(K+M*q)}function MO(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 FO=(Q)=>Q==="left"?"right":Q==="right"?"left":Q,NT=(Q,J,q)=>J==="top"||J==="left"?Q[J]+q:Q[J]-q,KT=(Q,J)=>Math.min(J||Q,Q);function BT(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 WO(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),R;if(q){if(Y===1)R=Math.max(F-K,H-F);else if(J===0)R=(Q.getPixelForTick(1)-F)/2;else R=(F-Q.getPixelForTick(U-1))/2;if(F+=U<J?R:-R,F<K-0.000001||F>H+0.000001)return}return F}function wO(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 HT(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 RO(Q,J){return Q2(Q,{scale:J,type:"scale"})}function TO(Q,J,q){return Q2(Q,{tick:q,index:J,type:"tick"})}function zO(Q,J,q){let Y=Zq(Q);if(q&&J!=="right"||!q&&J==="right")Y=FO(Y);return Y}function VO(Q,J,q,Y){let{top:U,left:K,bottom:H,right:M,chart:F}=Q,{chartArea:R,scales:T}=F,z=0,L,P,I,A=H-U,C=M-K;if(Q.isHorizontal()){if(P=q5(Y,K,M),n0(q)){let y=Object.keys(q)[0],m=q[y];I=T[y].getPixelForValue(m)+A-J}else if(q==="center")I=(R.bottom+R.top)/2+A-J;else I=NT(Q,q,J);L=M-K}else{if(n0(q)){let y=Object.keys(q)[0],m=q[y];P=T[y].getPixelForValue(m)-C+J}else if(q==="center")P=(R.left+R.right)/2-C+J;else P=NT(Q,q,J);I=q5(Y,H,U),z=q==="left"?-b5:b5}return{titleX:P,titleY:I,maxWidth:L,rotation:z}}class z$ extends q2{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:O1(Q),maxDefined:O1(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=yR(this,U,Y),this._dataLimitsCached=!0;this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let M=H<this.ticks.length;if(this._convertTicksToLabels(M?BT(this.ticks,H):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),K.display&&(K.autoSkip||K.source==="auto"))this.ticks=UO(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=KT(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 R=this._getLabelSizes(),T=R.widest.width,z=R.highest.height,L=y5(this.chart.width-T,0,this.maxWidth);if(H=Q.offset?this.maxWidth/q:L/(q-1),T+6>H)H=L/(q-(Q.offset?0.5:1)),M=this.maxHeight-nZ(Q.grid)-J.padding-HT(Q.title,this.chart.options.font),F=Math.sqrt(T*T+z*z),K=eJ(Math.min(Math.asin(y5((R.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=HT(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:R,widest:T,highest:z}=this._getLabelSizes(),L=q.padding*2,P=$2(this.labelRotation),I=Math.cos(P),A=Math.sin(P);if(H){let C=q.mirror?0:A*T.width+I*z.height;Q.height=Math.min(this.maxHeight,Q.height+C+L)}else{let C=q.mirror?0:I*T.width+A*z.height;Q.width=Math.min(this.maxWidth,Q.width+C+L)}this._calculatePadding(F,R,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 R=this.getPixelForTick(0)-this.left,T=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-R+K)*this.width/(this.width-R),0),this.paddingRight=Math.max((L-T+K)*this.width/(this.width-T),0)}else{let R=J.height/2,T=Q.height/2;if(U==="start")R=0,T=Q.height;else if(U==="end")R=J.height,T=0;this.paddingTop=R+K,this.paddingBottom=T+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=BT(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/KT(J,q)),F=0,R=0,T,z,L,P,I,A,C,y,m,n,i;for(T=0;T<J;T+=M){if(P=Q[T].label,I=this._resolveTickFontOptions(T),Y.font=A=I.string,C=U[A]=U[A]||{data:{},gc:[]},y=I.lineHeight,m=n=0,!t0(P)&&!z1(P))m=xZ(Y,C.data,C.gc,m,P),n=y;else if(z1(P)){for(z=0,L=P.length;z<L;++z)if(i=P[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),R=Math.max(n,R)}wO(U,J);let r=K.indexOf(F),Q0=H.indexOf(R),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 _R(this._alignToPixels?U6(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=TO(this.getContext(),Q,q))}return this.$context||(this.$context=RO(this.chart.getContext(),this))}_tickSize(){let Q=this.options.ticks,J=$2(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(),T=this.ticks.length+(M?1:0),z=nZ(U),L=[],P=H.setContext(this.getContext()),I=P.display?P.width:0,A=I/2,C=function(l){return U6(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,T),C0=Math.max(1,Math.ceil(T/z0));for(m=0;m<T;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=WO(this,m,M),n===void 0)continue;if(i=U6(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=T,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:R,mirror:T}=U,z=nZ(q.grid),L=z+R,P=T?-R:L,I=-$2(this.labelRotation),A=[],C,y,m,n,i,r,Q0,p,a,Y0,d,N0,w0="middle";if(Y==="top")r=this.bottom-P,Q0=this._getXAxisLabelAlignment();else if(Y==="bottom")r=this.top+P,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(T)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(-$2(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,R;if(J==="left")if(Y)if(R=this.right+U,q==="near")F="left";else if(q==="center")F="center",R+=M/2;else F="right",R+=M;else if(R=this.right-H,q==="near")F="right";else if(q==="center")F="center",R-=M/2;else F="left",R=this.left;else if(J==="right")if(Y)if(R=this.left+U,q==="near")F="right";else if(q==="center")F="center",R-=M/2;else F="left",R-=M;else if(R=this.left+H,q==="near")F="left";else if(q==="center")F="center",R+=M/2;else F="right",R=this.right;else F="right";return{textAlign:F,x:R}}_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,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(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,R,T,z;if(this.isHorizontal())F=U6(Q,this.left,K)-K/2,R=U6(Q,this.right,H)+H/2,T=z=M;else T=U6(Q,this.top,K)-K/2,z=U6(Q,this.bottom,H)+H/2,F=R=M;J.save(),J.lineWidth=U.width,J.strokeStyle=U.color,J.beginPath(),J.moveTo(F,T),J.lineTo(R,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:R}=K;N6(q,F,0,R,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:R,maxWidth:T,rotation:z}=VO(this,M,J,H);N6(Q,q.text,0,0,U,{color:q.color,maxWidth:T,rotation:z,textAlign:zO(H,J,Y),textBaseline:"middle",translation:[F,R]})}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(EO(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,LO(Q,K,q),this.override)j1.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 j1[Y]){if(delete j1[Y][q],this.override)delete Y6[q]}}}function LO(Q,J,q){let Y=g9(Object.create(null),[q?j1.get(q):{},j1.get(J),Q.defaults]);if(j1.set(J,Y),Q.defaultRoutes)_O(J,Q.defaultRoutes);if(Q.descriptors)j1.describe(J,Q.descriptors)}function _O(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(".");j1.route(K,U,F,M)})}function EO(Q){return"id"in Q&&"defaults"in Q}class $z{constructor(){this.controllers=new aZ(Rq,"datasets",!0),this.elements=new aZ(q2,"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 z8=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=PO(q);return Y===!1&&!J?[]:IO(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 PO(Q){let J={},q=[],Y=Object.keys(z8.plugins.items);for(let K=0;K<Y.length;K++)q.push(z8.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 CO(Q,J){if(!J&&Q===!1)return null;if(Q===!0)return{};return Q}function IO(Q,{plugins:J,localIds:q},Y,U){let K=[],H=Q.getContext();for(let M of J){let F=M.id,R=CO(Y[F],U);if(R===null)continue;K.push({plugin:M,options:OO(Q.config,{plugin:M,local:q[F]},R,H)})}return K}function OO(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=j1.datasets[Q]||{};return((J.datasets||{})[Q]||{}).indexAxis||J.indexAxis||q.indexAxis||"x"}function jO(Q,J){let q=Q;if(Q==="_index_")q=J;else if(Q==="_value_")q=J==="x"?"y":"x";return q}function DO(Q,J){return Q===J?"_index_":"_value_"}function MT(Q){if(Q==="x"||Q==="y"||Q==="r")return Q}function AO(Q){if(Q==="top"||Q==="bottom")return"x";if(Q==="left"||Q==="right")return"y"}function ON(Q,...J){if(MT(Q))return Q;for(let q of J){let Y=q.axis||AO(q.position)||Q.length>1&&MT(Q[0].toLowerCase());if(Y)return Y}throw Error(`Cannot determine type of '${Q}' axis. Please provide 'axis' or 'position' option.`)}function FT(Q,J,q){if(q[J+"AxisID"]===Q)return{axis:J}}function SO(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 FT(Q,"x",q[0])||FT(Q,"y",q[0])}return{}}function vO(Q,J){let q=Y6[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=ON(H,M,SO(H,Q),j1.scales[M.type]),R=DO(F,U),T=q.scales||{};K[H]=x9(Object.create(null),[{axis:F},M,T[F],T[R]])}),Q.data.datasets.forEach((H)=>{let M=H.type||Q.type,F=H.indexAxis||IN(M,J),T=(Y6[M]||{}).scales||{};Object.keys(T).forEach((z)=>{let L=jO(z,F),P=H[L+"AxisID"]||L;K[P]=K[P]||Object.create(null),x9(K[P],[{axis:L},Y[P],T[z]])})}),Object.keys(K).forEach((H)=>{let M=K[H];x9(M,[j1.scales[M.type],j1.scale])}),K}function Qz(Q){let J=Q.options||(Q.options={});J.plugins=h0(J.plugins,{}),J.scales=vO(Q,J)}function Gz(Q){return Q=Q||{},Q.datasets=Q.datasets||[],Q.labels=Q.labels||[],Q}function kO(Q){return Q=Q||{},Q.data=Gz(Q.data),Qz(Q),Q}var WT=new Map,Jz=new Set;function Bq(Q,J){let q=WT.get(Q);if(!q)q=J(),WT.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=kO(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((R)=>{if(Q)M.add(Q),R.forEach((T)=>oZ(M,Q,T));R.forEach((T)=>oZ(M,Y,T)),R.forEach((T)=>oZ(M,Y6[U]||{},T)),R.forEach((T)=>oZ(M,j1,T)),R.forEach((T)=>oZ(M,Gq,T))});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,Y6[J]||{},j1.datasets[J]||{},{type:J},j1,Gq]}resolveNamedOptions(Q,J,q,Y=[""]){let U={$shared:!0},{resolver:K,subPrefixes:H}=wT(this._resolverCache,Q,Y),M=K;if(fO(K,J)){U.$shared=!1,q=t8(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}=wT(this._resolverCache,Q,q);return n0(J)?F$(U,J,void 0,Y):U}}function wT(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 bO=(Q)=>n0(Q)&&Object.getOwnPropertyNames(Q).some((J)=>t8(Q[J]));function fO(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&&(t8(M)||bO(M))||H&&z1(M))return!0}return!1}var yO="4.5.1",gO=["top","bottom","left","right","chartArea"];function RT(Q,J){return Q==="top"||Q==="bottom"||gO.indexOf(Q)===-1&&J==="x"}function TT(Q,J){return function(q,Y){return q[Q]===Y[Q]?q[J]-Y[J]:q[Q]-Y[Q]}}function zT(Q){let J=Q.chart,q=J.options.animation;J.notifyPlugins("afterRender"),W1(q&&q.onComplete,[Q],J)}function hO(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={},VT=(Q)=>{let J=Xz(Q);return Object.values(Wq).filter((q)=>q.canvas===J).pop()};function xO(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 uO(Q,J,q,Y){if(!q||Q.type==="mouseout")return null;if(Y)return J;return Q}class P5{static defaults=j1;static instances=Wq;static overrides=Y6;static registry=z8;static version=yO;static getChart=VT;static register(...Q){z8.add(...Q),LT()}static unregister(...Q){z8.remove(...Q),LT()}constructor(Q,J){let q=this.config=new qz(J),Y=Xz(Q),U=VT(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||YO(Y)),this.platform.updateConfig(q);let H=this.platform.acquireContext(Y,K.aspectRatio),M=H&&H.canvas,F=M&&M.height,R=M&&M.width;if(this.id=WR(),this.ctx=H,this.canvas=M,this.width=R,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=OR((T)=>this.update(T),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(G2.listen(this,"complete",zT),G2.listen(this,"progress",hO),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 z8}_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 G2.stop(this),this}resize(Q,J){if(!G2.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=ON(K,H),F=M==="r",R=M==="x";return{options:H,dposition:F?"chartArea":R?"bottom":"left",dtype:F?"radialLinear":R?"category":"linear"}}));X1(U,(K)=>{let H=K.options,M=H.id,F=ON(M,H),R=h0(H.type,K.dtype);if(H.position===void 0||RT(H.position,F)!==RT(K.dposition))H.position=K.dposition;Y[M]=!0;let T=null;if(M in q&&q[M].type===R)T=q[M];else T=new(z8.getScale(R))({id:M,type:R,ctx:this.ctx,chart:this}),q[T.id]=T;T.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(TT("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=z8.getController(H),{datasetElementType:F,dataElementType:R}=j1.datasets[H];Object.assign(M,{dataElementType:z8.getElement(R),datasetElementType:F&&z8.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,R=this.data.datasets.length;F<R;F++){let{controller:T}=this.getDatasetMeta(F),z=!Y&&U.indexOf(T)===-1;T.buildOrUpdateElements(z),K=Math.max(+T.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(TT("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;xO(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,t8(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(G2.has(this)){if(this.attached&&!G2.running(this))G2.start(this)}else this.draw(),zT({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 w8(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=Q2(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(),G2.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((R)=>!F.some((T)=>R.datasetIndex===T.datasetIndex&&R.index===T.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=TR(Q),F=uO(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 R=!uZ(H,Y);if(R||J)this._active=H,this._updateHoverStyles(H,Y,J);return this._lastEvent=F,R}_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 LT(){return X1(P5.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 mO(Q,J,q){Q.lineTo(q.x,q.y)}function dO(Q){if(Q.stepped)return bR;if(Q.tension||Q.cubicInterpolationMode==="monotone")return fR;return mO}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),R=Math.min(K,M),T=U<H&&K<H||U>M&&K>M;return{count:Y,start:F,loop:J.loop,ilen:R<F&&!T?Y+R-F:R-F}}function pO(Q,J,q,Y){let{points:U,options:K}=J,{count:H,start:M,loop:F,ilen:R}=Uz(U,q,Y),T=dO(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)Q.moveTo(I.x,I.y),z=!1;else T(Q,A,I,L,K.stepped);A=I}if(F)I=U[(M+(L?R:0))%H],T(Q,A,I,L,K.stepped);return!!F}function cO(Q,J,q,Y){let U=J.points,{count:K,start:H,ilen:M}=Uz(U,q,Y),{move:F=!0,reverse:R}=Y||{},T=0,z=0,L,P,I,A,C,y,m=(i)=>(H+(R?M-i:i))%K,n=()=>{if(A!==C)Q.lineTo(T,C),Q.lineTo(T,A),Q.lineTo(T,y)};if(F)P=U[m(0)],Q.moveTo(P.x,P.y);for(L=0;L<=M;++L){if(P=U[m(L)],P.skip)continue;let{x:i,y:r}=P,Q0=i|0;if(Q0===I){if(r<A)A=r;else if(r>C)C=r;T=(z*T+i)/++z}else n(),Q.lineTo(i,r),I=Q0,z=0,A=C=r;y=r}n()}function jN(Q){let J=Q.options,q=J.borderDash&&J.borderDash.length;return!Q._decimated&&!Q._loop&&!J.tension&&J.cubicInterpolationMode!=="monotone"&&!J.stepped&&!q?cO:pO}function lO(Q){if(Q.stepped)return cR;if(Q.tension||Q.cubicInterpolationMode==="monotone")return lR;return J6}function rO(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 sO(Q,J,q,Y){let{segments:U,options:K}=J,H=jN(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 nO=typeof Path2D==="function";function oO(Q,J,q,Y){if(nO&&!J.options.segment)rO(Q,J,q,Y);else sO(Q,J,q,Y)}class u5 extends q2{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;mR(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=sR(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=lO(q),F,R;for(F=0,R=K.length;F<R;++F){let{start:T,end:z}=K[F],L=U[T],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]=Q[J],H.push(A)}return H.length===1?H[0]:H}pathSegment(Q,J,q){return jN(this)(Q,this,J,q)}path(Q,J,q){let Y=this.segments,U=jN(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(),oO(Q,this,q,Y),Q.restore();if(this.animated)this._pointsUpdated=!1,this._path=void 0}}function _T(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 q2{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 _T(this,Q,"x",J)}inYRange(Q,J){return _T(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||!w8(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,R,T,z;if(Q.horizontal)z=H/2,M=Math.min(q,U),F=Math.max(q,U),R=Y-z,T=Y+z;else z=K/2,M=q-z,F=q+z,R=Math.min(Y,U),T=Math.max(Y,U);return{left:M,top:R,right:F,bottom:T}}function H6(Q,J,q,Y){return Q?0:y5(J,q,Y)}function iO(Q,J,q){let Y=Q.options.borderWidth,U=Q.borderSkipped,K=JN(Y);return{t:H6(U.top,K.top,0,q),r:H6(U.right,K.right,0,J),b:H6(U.bottom,K.bottom,0,q),l:H6(U.left,K.left,0,J)}}function aO(Q,J,q){let{enableBorderRadius:Y}=Q.getProps(["enableBorderRadius"]),U=Q.options.borderRadius,K=K6(U),H=Math.min(J,q),M=Q.borderSkipped,F=Y||n0(U);return{topLeft:H6(!F||M.top||M.left,K.topLeft,0,H),topRight:H6(!F||M.top||M.right,K.topRight,0,H),bottomLeft:H6(!F||M.bottom||M.left,K.bottomLeft,0,H),bottomRight:H6(!F||M.bottom||M.right,K.bottomRight,0,H)}}function tO(Q){let J=Nz(Q),q=J.right-J.left,Y=J.bottom-J.top,U=iO(Q,q/2,Y/2),K=aO(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||Z2(J,M.left,M.right))&&(K||Z2(q,M.top,M.bottom))}function eO(Q){return Q.topLeft||Q.topRight||Q.bottomLeft||Q.bottomRight}function $j(Q,J){Q.rect(J.x,J.y,J.w,J.h)}function EN(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 q2{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}=tO(this),H=eO(K.radius)?p9:$j;if(Q.save(),K.w!==U.w||K.h!==U.h)Q.beginPath(),H(Q,EN(K,J,U)),Q.clip(),H(Q,EN(U,-J,K)),Q.fillStyle=q,Q.fill("evenodd");Q.beginPath(),H(Q,EN(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 Zj(Q,J,q){let{segments:Y,points:U}=Q,K=J.points,H=[];for(let M of Y){let{start:F,end:R}=M;R=Tq(F,R,U);let T=DN(q,U[F],U[R],M.loop);if(!J.segments){H.push({source:M,target:T,start:U[F],end:U[R]});continue}let z=MN(J,T);for(let L of z){let P=DN(q,K[L.start],K[L.end],L.loop),I=HN(M,U,P);for(let A of I)H.push({source:A,target:L,start:{[q]:ET(T,P,"start",Math.max)},end:{[q]:ET(T,P,"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 Qj(Q,J){let{x:q=null,y:Y=null}=Q||{},U=J.points,K=[];return J.segments.forEach(({start:H,end:M})=>{M=Tq(H,M,U);let F=U[H],R=U[M];if(Y!==null)K.push({x:F.x,y:Y}),K.push({x:R.x,y:Y});else if(q!==null)K.push({x:q,y:F.y}),K.push({x:q,y:R.y})}),K}function Tq(Q,J,q){for(;J>Q;J--){let Y=q[J];if(!isNaN(Y.x)&&!isNaN(Y.y))break}return J}function ET(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=Qj(Q,J);return q.length?new u5({points:q,options:{tension:0},_loop:Y,_fullLoop:Y}):null}function PT(Q){return Q&&Q.fill!==!1}function Gj(Q,J,q){let U=Q[J].fill,K=[J],H;if(!q)return U;while(U!==!1&&K.indexOf(U)===-1){if(!O1(U))return U;if(H=Q[U],!H)return!1;if(H.visible)return U;K.push(U),U=H.fill}return!1}function Jj(Q,J,q){let Y=Uj(Q);if(n0(Y))return isNaN(Y.value)?!1:Y;let U=parseFloat(Y);if(O1(U)&&Math.floor(U)===U)return qj(Y[0],J,U,q);return["origin","start","end","stack","shape"].indexOf(Y)>=0&&Y}function qj(Q,J,q,Y){if(Q==="-"||Q==="+")q=J+q;if(q===J||q<0||q>=Y)return!1;return q}function Xj(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 Yj(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 Uj(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 Nj(Q){let{scale:J,index:q,line:Y}=Q,U=[],K=Y.segments,H=Y.points,M=Kj(J,q);M.push(Kz({x:null,y:J.bottom},Y));for(let F=0;F<K.length;F++){let R=K[F];for(let T=R.start;T<=R.end;T++)Bj(U,H[T],M)}return new u5({points:U,options:{}})}function Kj(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 Bj(Q,J,q){let Y=[];for(let U=0;U<q.length;U++){let K=q[U],{first:H,last:M,point:F}=Hj(K,J,"x");if(!F||H&&M)continue;if(H)Y.unshift(F);else if(Q.push(F),!M)break}Q.push(...Y)}function Hj(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 R=0;R<K.length;R++){let T=K[R],z=H[T.start][q],L=H[T.end][q];if(Z2(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 Mj(Q){let{chart:J,fill:q,line:Y}=Q;if(O1(q))return Fj(J,q);if(q==="stack")return Nj(Q);if(q==="shape")return!0;let U=Wj(Q);if(U instanceof xN)return U;return Kz(U,Y)}function Fj(Q,J){let q=Q.getDatasetMeta(J);return q&&Q.isDatasetVisible(J)?q.dataset:null}function Wj(Q){if((Q.scale||{}).getPointPositionForValue)return Rj(Q);return wj(Q)}function wj(Q){let{scale:J={},fill:q}=Q,Y=Xj(q,J);if(O1(Y)){let U=J.isHorizontal();return{x:U?Y:null,y:U?null:Y}}return null}function Rj(Q){let{scale:J,fill:q}=Q,Y=J.options,U=J.getLabels().length,K=Y.reverse?J.max:J.min,H=Yj(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 PN(Q,J,q){let Y=Mj(J),{chart:U,index:K,line:H,scale:M,axis:F}=J,R=H.options,T=R.fill,z=R.backgroundColor,{above:L=z,below:P=z}=T||{},I=U.getDatasetMeta(K),A=FN(U,I);if(Y&&H.points.length)dZ(Q,q),Tj(Q,{line:H,target:Y,above:L,below:P,area:q,scale:M,axis:F,clip:A}),pZ(Q)}function Tj(Q,J){let{line:q,target:Y,above:U,below:K,area:H,scale:M,clip:F}=J,R=q._loop?"angle":J.axis;Q.save();let T=K;if(K!==U){if(R==="x")CT(Q,Y,H.top),CN(Q,{line:q,target:Y,color:U,scale:M,property:R,clip:F}),Q.restore(),Q.save(),CT(Q,Y,H.bottom);else if(R==="y")IT(Q,Y,H.left),CN(Q,{line:q,target:Y,color:K,scale:M,property:R,clip:F}),Q.restore(),Q.save(),IT(Q,Y,H.right),T=U}CN(Q,{line:q,target:Y,color:T,scale:M,property:R,clip:F}),Q.restore()}function CT(Q,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Q.beginPath();for(let M of Y){let{start:F,end:R}=M,T=U[F],z=U[Tq(F,R,U)];if(K)Q.moveTo(T.x,T.y),K=!1;else Q.lineTo(T.x,q),Q.lineTo(T.x,T.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 IT(Q,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Q.beginPath();for(let M of Y){let{start:F,end:R}=M,T=U[F],z=U[Tq(F,R,U)];if(K)Q.moveTo(T.x,T.y),K=!1;else Q.lineTo(q,T.y),Q.lineTo(T.x,T.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=Zj(q,Y,U);for(let{source:R,target:T,start:z,end:L}of F){let{style:{backgroundColor:P=K}={}}=R,I=Y!==!0;Q.save(),Q.fillStyle=P,zj(Q,H,M,I&&DN(U,z,L)),Q.beginPath();let A=!!q.pathSegment(Q,R),C;if(I){if(A)Q.closePath();else OT(Q,Y,L,U);let y=!!Y.pathSegment(Q,T,{move:A,reverse:!0});if(C=A&&y,!C)OT(Q,Y,z,U)}Q.closePath(),Q.fill(C?"evenodd":"nonzero"),Q.restore()}}function zj(Q,J,q,Y){let U=J.chart.chartArea,{property:K,start:H,end:M}=Y||{};if(K==="x"||K==="y"){let F,R,T,z;if(K==="x")F=H,R=U.top,T=M,z=U.bottom;else F=U.left,R=H,T=U.right,z=M;if(Q.beginPath(),q)F=Math.max(F,q.left),T=Math.min(T,q.right),R=Math.max(R,q.top),z=Math.min(z,q.bottom);Q.rect(F,R,T-F,z-R),Q.clip()}}function OT(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:Jj(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=Gj(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)PN(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(PT(K))PN(Q.ctx,K,Q.chartArea)}},beforeDatasetDraw(Q,J,q){let Y=J.meta.$filler;if(!PT(Y)||q.drawTime!=="beforeDatasetDraw")return;PN(Q.ctx,Y,Q.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},jT=(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)}},Vj=(Q,J)=>Q!==null&&J!==null&&Q.datasetIndex===J.datasetIndex&&Q.index===J.index;class AN extends q2{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}=jT(q,U),F,R;if(J.font=Y.string,this.isHorizontal())F=this.maxWidth,R=this._fitRows(K,U,H,M)+10;else R=this.maxHeight,F=this._fitCols(K,Y,H,M)+10;this.width=Math.min(F,Q.maxWidth||this.maxWidth),this.height=Math.min(R,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],R=Y+H,T=Q;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||F[F.length-1]+A+2*H>K)T+=R,F[F.length-(I>0?0:1)]=0,L+=R,z++;M[I]={left:0,top:L,row:z,width:A,height:Y},F[F.length-1]+=A+H}),T}_fitCols(Q,J,q,Y){let{ctx:U,maxHeight:K,options:{labels:{padding:H}}}=this,M=this.legendHitBoxes=[],F=this.columnSizes=[],R=K-Q,T=H,z=0,L=0,P=0,I=0;return this.legendItems.forEach((A,C)=>{let{itemWidth:y,itemHeight:m}=Lj(q,J,U,A,Y);if(C>0&&L+m+2*H>R)T+=z+H,F.push({width:z,height:L}),P+=z+H,I++,z=L=0;M[C]={left:P,top:L,col:I,width:y,height:m},z=Math.max(z,y),L+=m+H}),T+=z,F.push({width:z,height:L}),T}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=j1.color,M=w$(Q.rtl,this.left,this.width),F=p1(K.font),{padding:R}=K,T=F.size,z=T/2,L;this.drawTitle(),Y.textAlign=M.textAlign("left"),Y.textBaseline="middle",Y.lineWidth=0.5,Y.font=F.string;let{boxWidth:P,boxHeight:I,itemHeight:A}=jT(K,T),C=function(r,Q0,p){if(isNaN(P)||P<=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,P/2),N0=Q0+z;QN(Y,Y0,d,N0,K.pointStyleWidth&&P)}else{let Y0=Q0+Math.max((T-I)/2,0),d=M.leftForLtr(r,P),N0=K6(p.borderRadius);if(Y.beginPath(),Object.values(N0).some((w0)=>w0!==0))p9(Y,{x:d,y:Y0,w:P,h:I,radius:N0});else Y.rect(d,Y0,P,I);if(Y.fill(),a!==0)Y.stroke()}Y.restore()},y=function(r,Q0,p){N6(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+R,this.right-q[0]),y:this.top+R+n,line:0};else L={x:this.left+R,y:q5(U,this.top+n+R,this.bottom-J[0].height),line:0};KN(this.ctx,Q.textDirection);let i=A+R;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=P+z+p,d=L.x,N0=L.y;if(M.setWidth(this.width),m){if(Q0>0&&d+Y0+R>this.right)N0=L.y+=i,L.line++,d=L.x=q5(U,this.left+R,this.right-q[L.line])}else if(Q0>0&&N0+i>this.bottom)d=L.x=d+J[L.line].width+R,L.line++,N0=L.y=q5(U,this.top+n+R,this.bottom-J[L.line].height);let w0=M.x(d);if(C(w0,N0,r),d=jR(a,d+P+z,m?d+Y0:this.right,Q.rtl),y(M.x(d),N0,r),m)L.x+=Y0+R;else if(typeof r.text!=="string"){let z0=F.lineHeight;L.y+=Bz(r,z0)+R}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,R,T=this.left,z=this.width;if(this.isHorizontal())z=Math.max(...this.lineWidths),R=this.top+F,T=q5(Q.align,T,this.right-z);else{let P=this.columnSizes.reduce((I,A)=>Math.max(I,A.height),0);R=F+q5(Q.align,this.top,this.bottom-P-Q.labels.padding-this._computeTitleHeight())}let L=q5(H,T,T+z);K.textAlign=U.textAlign(Zq(H)),K.textBaseline="middle",K.strokeStyle=J.color,K.fillStyle=J.color,K.font=q.string,N6(K,J.text,L,R,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(Z2(Q,this.left,this.right)&&Z2(J,this.top,this.bottom)){U=this.legendHitBoxes;for(q=0;q<U.length;++q)if(Y=U[q],Z2(Q,Y.left,Y.left+Y.width)&&Z2(J,Y.top,Y.top+Y.height))return this.legendItems[q]}return null}handleEvent(Q){let J=this.options;if(!Pj(Q.type,J))return;let q=this._getLegendItemAt(Q.x,Q.y);if(Q.type==="mousemove"||Q.type==="mouseout"){let Y=this._hoveredItem,U=Vj(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 Lj(Q,J,q,Y,U){let K=_j(Y,Q,J,q),H=Ej(U,Y,J.lineHeight);return{itemWidth:K,itemHeight:H}}function _j(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 Ej(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 Pj(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 V8={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 R=F.controller.getStyle(q?0:void 0),T=X5(R.borderWidth);return{text:J[F.index].label,fillStyle:R.backgroundColor,fontColor:K,hidden:!F.visible,lineCap:R.borderCapStyle,lineDash:R.borderDash,lineDashOffset:R.borderDashOffset,lineJoin:R.borderJoinStyle,lineWidth:(T.width+T.height)/4,strokeStyle:R.borderColor,pointStyle:Y||R.pointStyle,rotation:R.rotation,textAlign:U||R.textAlign,borderRadius:H&&(M||R.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 q2{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,R,T;if(this.isHorizontal())R=q5(H,q,U),T=J+Q,F=U-q;else{if(K.position==="left")R=q+Q,T=q5(H,Y,J),M=b1*-0.5;else R=U-Q,T=q5(H,J,Y),M=b1*0.5;F=Y-J}return{titleX:R,titleY:T,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);N6(Q,J.text,0,0,q,{color:J.color,maxWidth:M,rotation:F,textAlign:Zq(J.align),textBaseline:"middle",translation:[K,H]})}}function Cj(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 L8={id:"title",_element:uN,start(Q,J,q){Cj(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 R=F.getCenterPoint(),T=iJ(J,R);if(T<U)U=T,M=F}}if(M){let F=M.tooltipPosition();q=F.x,Y=F.y}return{x:q,y:Y}}};function T8(Q,J){if(J)if(z1(J))Array.prototype.push.apply(Q,J);else Q.push(J);return Q}function J2(Q){if((typeof Q==="string"||Q instanceof String)&&Q.indexOf(`
|
|
255
|
+
*/class cT{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 G6=new cT,nR="transparent",WI={boolean(Q,J,q){return q>0.5?J:Q},color(Q,J,q){let Y=$N(Q||nR),U=Y.valid&&$N(J||nR);return U&&U.valid?U.mix(Y,q).hexString():J},number(Q,J,q){return Q+(J-Q)*q}};class lT{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(j1.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=RI(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 R=J[F],T=U[F],z=q.get(F);if(T)if(z&&T.active()){T.update(z,R,H);continue}else T.cancel();if(!z||!z.duration){Q[F]=R;continue}U[F]=T=new lT(z,Q,F,R),Y.push(T)}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 G6.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 RI(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 oR(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 TI(Q,J,q){if(q===!1)return!1;let Y=oR(Q,q),U=oR(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 rT(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 iR(Q,J,q,Y={}){let U=Q.keys,K=Y.mode==="single",H,M,F,R;if(J===null)return;let T=!1;for(H=0,M=U.length;H<M;++H){if(F=+U[H],F===q){if(T=!0,Y.all)continue;break}if(R=Q.values[F],O1(R)&&(K||J===0||y4(J)===y4(R)))J+=R}if(!T&&!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,R,T;for(F=0,R=H.length;F<R;++F)T=H[F],M[F]={[U]:T,[K]:Q[T]};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 EI(Q,J,q){let Y=Q[J]||(Q[J]={});return Y[q]||(Y[q]={})}function aR(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 tR(Q,J){let{chart:q,_cachedMeta:Y}=Q,U=q._stacks||(q._stacks={}),{iScale:K,vScale:H,index:M}=Y,F=K.axis,R=H.axis,T=LI(K,H,Y),z=J.length,L;for(let P=0;P<z;++P){let I=J[P],{[F]:A,[R]:C}=I,y=I._stacks||(I._stacks={});L=y[R]=EI(U,T,A),L[M]=C,L._top=aR(L,H,!0,Y.type),L._bottom=aR(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 PI(Q,J){return Q6(Q,{active:!1,dataset:void 0,datasetIndex:J,index:J,mode:"default",type:"dataset"})}function CI(Q,J,q){return Q6(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)return;if(delete K[Y][q],K[Y]._visualValues!==void 0&&K[Y]._visualValues[q]!==void 0)delete K[Y]._visualValues[q]}}var RN=(Q)=>Q==="reset"||Q==="none",eR=(Q,J)=>J?Q:Object.assign({},Q),II=(Q,J,q)=>Q&&!J.hidden&&J._stacked&&{keys:rT(q,!0),values:null};class Rq{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=(T,z,L,P)=>T==="x"?z:T==="r"?P: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),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(F),J.vScale=this.getScaleForId(R)}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))IR(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)tR(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],R,T,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=()=>T[H]===null||F&&T[H]<F[H];for(R=0;R<J;++R)if(q._parsed[R+Q]=T=z[R],M){if(L())M=!1;F=T}q._sorted=M}if(K)tR(this,z)}parsePrimitiveData(Q,J,q,Y){let{iScale:U,vScale:K}=Q,H=U.axis,M=K.axis,F=U.getLabels(),R=U===K,T=Array(Y),z,L,P;for(z=0,L=Y;z<L;++z)P=z+q,T[z]={[H]:R||U.parse(F[P],P),[M]:K.parse(J[P],P)};return T}parseArrayData(Q,J,q,Y){let{xScale:U,yScale:K}=Q,H=Array(Y),M,F,R,T;for(M=0,F=Y;M<F;++M)R=M+q,T=J[R],H[M]={x:U.parse(T[0],R),y:K.parse(T[1],R)};return H}parseObjectData(Q,J,q,Y){let{xScale:U,yScale:K}=Q,{xAxisKey:H="x",yAxisKey:M="y"}=this._parsing,F=Array(Y),R,T,z,L;for(R=0,T=Y;R<T;++R)z=R+q,L=J[z],F[R]={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:rT(Y,!0),values:J._stacks[Q.axis]._visualValues};return iR(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=iR(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:R,max:T}=_I(H),z,L;function P(){L=Y[z];let I=L[H.axis];return!O1(L[Q.axis])||R>I||T<I}for(z=0;z<K;++z){if(P())continue;if(this.updateRangeFromParsed(F,Q,L,M),U)break}if(U)for(z=K-1;z>=0;--z){if(P())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],O1(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,TI(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,R;if(q.dataset)q.dataset.draw(Q,U,H,M);for(R=H;R<H+M;++R){let T=Y[R];if(T.hidden)continue;if(T.active&&F)K.push(T);else T.draw(Q,U)}for(R=0;R<K.length;++R)K[R].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=PI(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 eR(H,M);let F=this.chart.config,R=F.datasetElementScopeKeys(this._type,Q),T=Y?[`${Q}Hover`,"hover",Q,""]:[Q,""],z=F.getOptionScopes(this.getDataset(),R),L=Object.keys(j1.elements[Q]),P=()=>this.getContext(q,Y,J),I=F.resolveNamedOptions(z,L,P,T);if(I.$shared)I.$shared=M,U[K]=Object.freeze(eR(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 R=this.chart.config,T=R.datasetAnimationScopeKeys(this._type,J),z=R.getOptionScopes(this.getDataset(),T);M=R.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||RN(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(RN(Y))Object.assign(Q,q);else this._resolveAnimations(J,Y).update(Q,q)}updateSharedOptions(Q,J,q){if(Q&&!RN(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 OI(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 jI(Q){let J=Q.iScale,q=OI(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 R=K-(K-Math.min(H,M))/2*F;return{chunk:Math.abs(M-H)/2*F/Y,ratio:q.barPercentage,start:R}}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,R=M;if(Math.abs(H)>Math.abs(M))F=M,R=H;J[q.axis]=R,J._custom={barStart:F,barEnd:R,start:U,end:K,min:H,max:M}}function sT(Q,J,q,Y){if(z1(Q))SI(Q,J,q,Y);else J[q.axis]=q.parse(Q,Y);return J}function $T(Q,J,q,Y){let{iScale:U,vScale:K}=Q,H=U.getLabels(),M=U===K,F=[],R,T,z,L;for(R=q,T=q+Y;R<T;++R)L=J[R],z={},z[U.axis]=M||U.parse(H[R],R),F.push(sT(L,z,K,R));return F}function TN(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:R,bottom:T}=kI(Q);if(U==="middle"&&q)if(Q.enableBorderRadius=!0,(q._top||0)===Y)U=R;else if((q._bottom||0)===Y)U=T;else K[ZT(T,H,M,F)]=!0,U=R;K[ZT(U,H,M,F)]=!0,Q.borderSkipped=K}function ZT(Q,J,q,Y){if(Y)Q=fI(Q,J,q),Q=QT(Q,q,J);else Q=QT(Q,J,q);return Q}function fI(Q,J,q){return Q===J?q:Q===q?J:Q}function QT(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 Rq{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 $T(Q,J,q,Y)}parseArrayData(Q,J,q,Y){return $T(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,R=K.axis==="x"?H:M,T=[],z,L,P,I;for(z=q,L=q+Y;z<L;++z)I=J[z],P={},P[U.axis]=U.parse(W$(I,F),z),T.push(sT(W$(I,R),P,K,z));return T}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=TN(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(),R=this._getRuler(),{sharedOptions:T,includeOptions:z}=this._getSharedOptions(J,Y);for(let L=J;L<J+q;L++){let P=this.getParsed(L),I=U||t0(P[H.axis])?{base:M,head:M}:this._calculateBarValuePixels(L),A=this._calculateBarIndexPixels(L,R),C=(P._stacks||{})[H.axis],y={horizontal:F,base:I.base,enableBorderRadius:!C||TN(P._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=T||this.resolveDataElementOptions(L,Q[L].active?"active":Y);let m=y.options||Q[L].options;bI(y,m,C,K),yI(y,m,R.ratio),this.updateElement(Q[L],L,y,Y)}}_getStacks(Q,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],F=(R)=>{let T=R._parsed.find((L)=>L[q.axis]===M),z=T&&T[R.vScale.axis];if(t0(z)||isNaN(z))return!0};for(let R of Y){if(J!==void 0&&F(R))continue;if(U===!1||K.indexOf(R.stack)===-1||U===void 0&&R.stack===void 0)K.push(R.stack);if(R.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||jI(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,R=TN(F),T=M[J.axis],z=0,L=q?this.applyStack(J,M,q):T,P,I;if(L!==T)z=L-T,L=T;if(R){if(T=F.barStart,L=F.barEnd-F.barStart,T!==0&&y4(T)!==y4(F.barEnd))z=0;z+=T}let A=!t0(U)&&!R?U:z,C=J.getPixelForValue(A);if(this.chart.getDataVisibility(Q))P=J.getPixelForValue(z+L);else P=C;if(I=P-C,Math.abs(I)<K){if(I=vI(I,J,H)*K,T===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),P=C+I,q&&!R)M._stacks[J.axis]._visualValues[Y]=J.getValueForPixel(P)-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:P,center:P+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 R=U?this._getStackCount(Q):J.stackCount,T=Y.barThickness==="flex"?AI(Q,J,Y,R*F):DI(Q,J,Y,R*F),z=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,L=this._getAxis().indexOf(h0(z,this.getFirstScaleIdForIndexAxis())),P=this._getStackIndex(this.index,this._cachedMeta.stack,U?Q:void 0)+L;H=T.start+T.chunk*P+T.chunk/2,M=Math.min(K,T.chunk*T.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 Rq{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}=DR(J,Y,K);if(this._drawStart=H,this._drawCount=M,AR(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:R,includeOptions:T}=this._getSharedOptions(J,Y),z=K.axis,L=H.axis,{spanGaps:P,segment:I}=this.options,A=d9(P)?P: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(T)Q0.options=R||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 R$(){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 R$()}parse(){return R$()}format(){return R$()}add(){return R$()}diff(){return R$()}startOf(){return R$()}endOf(){return R$()}}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 R=M._reversePixels?ER:q2;if(!Y){let T=R(K,J,q);if(F){let{vScale:z}=U._cachedMeta,{_parsed:L}=Q,P=L.slice(0,T.lo+1).reverse().findIndex((A)=>!t0(A[z.axis]));T.lo-=Math.max(0,P);let I=L.slice(T.hi).findIndex((A)=>!t0(A[z.axis]));T.hi+=Math.max(0,I)}return T}else if(U._sharedOptions){let T=K[0],z=typeof T.getRange==="function"&&T.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 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:R,data:T}=K[M],{lo:z,hi:L}=hI(K[M],J,H,U);for(let P=z;P<=L;++P){let I=T[P];if(!I.skip)Y(I,R,P)}}}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,R){if(!U&&!w8(M,Q.chartArea,0))return;if(M.inRange(J.x,J.y,Y))K.push({element:M,datasetIndex:F,index:R})},!0),K}function uI(Q,J,q,Y){let U=[];function K(H,M,F){let{startAngle:R,endAngle:T}=H.getProps(["startAngle","endAngle"],Y),{angle:z}=LR(H,{x:J.x,y:J.y});if(nU(z,R,T))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 R(T,z,L){let P=T.inRange(J.x,J.y,U);if(Y&&!P)return;let I=T.getCenterPoint(U);if(!(!!K||Q.isPointInArea(I))&&!P)return;let C=M(J,I);if(C<F)H=[{element:T,datasetIndex:z,index:L}],F=C;else if(C===F)H.push({element:T,datasetIndex:z,index:L})}return QQ(Q,q,J,R),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 GT(Q,J,q,Y,U){let K=[],H=q==="x"?"inXRange":"inYRange",M=!1;if(QQ(Q,q,J,(F,R,T)=>{if(F[H]&&F[H](J[q],U))K.push({element:F,datasetIndex:R,index:T}),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=B2(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((R)=>{let T=M[0].index,z=R.data[T];if(z&&!z.skip)F.push({element:z,datasetIndex:R.index,index:T})}),F},dataset(Q,J,q,Y){let U=B2(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,R=Q.getDatasetMeta(F).data;M=[];for(let T=0;T<R.length;++T)M.push({element:R[T],datasetIndex:F,index:T})}return M},point(Q,J,q,Y){let U=B2(J,Q),K=q.axis||"xy",H=q.includeInvisible||!1;return zN(Q,U,K,Y,H)},nearest(Q,J,q,Y){let U=B2(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=B2(J,Q);return GT(Q,U,"x",q.intersect,Y)},y(Q,J,q,Y){let U=B2(J,Q);return GT(Q,U,"y",q.intersect,Y)}}},nT=["left","top","right","bottom"];function rZ(Q,J){return Q.filter((q)=>q.pos===J)}function JT(Q,J){return Q.filter((q)=>nT.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||!nT.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,R=q[M.stack],T=R&&M.stackWeight/R.weight;if(M.horizontal)M.width=T?T*Y:F&&J.availableWidth,M.height=U;else M.width=Y,M.height=T?T*U:F&&J.availableHeight}return q}function rI(Q){let J=pI(Q),q=sZ(J.filter((R)=>R.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=JT(J,"x"),F=JT(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 qT(Q,J,q,Y){return Math.max(Q[q],J[q])+Math.max(Q[Y],J[Y])}function oT(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)oT(H,K.getPadding());let M=Math.max(0,J.outerWidth-qT(H,Q,"left","right")),F=Math.max(0,J.outerHeight-qT(H,Q,"top","bottom")),R=M!==Q.w,T=F!==Q.h;return Q.w=M,Q.h=F,q.horizontal?{same:R,other:T}:{same:T,other:R}}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,R,T;for(K=0,H=Q.length,R=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(R|=z&&U.length,T=T||L,!F.fullSize)U.push(M)}return R&&iZ(U,J,q,Y)||T}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 XT(Q,J,q,Y){let U=q.padding,{x:K,y:H}=J;for(let M of Q){let F=M.box,R=Y[M.stack]||{count:1,placed:0,weight:1},T=M.stackWeight/R.weight||1;if(M.horizontal){let z=J.w*T,L=R.size||F.height;if(u9(R.start))H=R.start;if(F.fullSize)Nq(F,U.left,H,q.outerWidth-U.right-U.left,L);else Nq(F,J.left+R.placed,H,z,L);R.start=H,R.placed+=z,H=F.bottom}else{let z=J.h*T,L=R.size||F.width;if(u9(R.start))K=R.start;if(F.fullSize)Nq(F,K,U.top,L,q.outerHeight-U.bottom-U.top);else Nq(F,K,J.top+R.placed,L,z);R.start=K,R.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,R=M.horizontal;X1(Q.boxes,(A)=>{if(typeof A.beforeLayout==="function")A.beforeLayout()});let T=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/T,hBoxMaxHeight:H/2}),L=Object.assign({},U);oT(L,X5(Y));let P=Object.assign({maxPadding:L,w:K,h:H,x:U.left,y:U.top},U),I=lI(F.concat(R),z);if(iZ(M.fullSize,P,z,I),iZ(F,P,z,I),iZ(R,P,z,I))iZ(F,P,z,I);nI(P),XT(M.leftAndTop,P,z,I),P.x+=P.w,P.y+=P.h,XT(M.rightAndBottom,P,z,I),Q.chartArea={left:P.left,top:P.top,right:P.left+P.w,bottom:P.top+P.h,height:P.h,width:P.w},X1(M.chartArea,(A)=>{let C=A.box;Object.assign(C,Q.chartArea),C.update(P.w,P.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 iT 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"},YT=(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",YT(U)){let K=NN(Q,"width");if(K!==void 0)Q.width=K}if(YT(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 aT=pR?{passive:!0}:!1;function tI(Q,J,q){if(Q)Q.addEventListener(J,q,aT)}function eI(Q,J,q){if(Q&&Q.canvas)Q.canvas.removeEventListener(J,q,aT)}function $O(Q,J){let q=iI[Q.type]||Q.type,{x:Y,y:U}=B2(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 ZO(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 QO(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,UT=0;function tT(){let Q=window.devicePixelRatio;if(Q===UT)return;UT=Q,eZ.forEach((J,q)=>{if(q.currentDevicePixelRatio!==Q)J()})}function GO(Q,J){if(!eZ.size)window.addEventListener("resize",tT);eZ.set(Q,J)}function JO(Q){if(eZ.delete(Q),!eZ.size)window.removeEventListener("resize",tT)}function qO(Q,J,q){let Y=Q.canvas,U=Y&&Yq(Y);if(!U)return;let K=tU((M,F)=>{let R=U.clientWidth;if(q(M,F),R<U.clientWidth)q()},window),H=new ResizeObserver((M)=>{let F=M[0],R=F.contentRect.width,T=F.contentRect.height;if(R===0&&T===0)return;K(R,T)});return H.observe(U),GO(Q,K),H}function LN(Q,J,q){if(q)q.disconnect();if(J==="resize")JO(Q)}function XO(Q,J,q){let Y=Q.canvas,U=tU((K)=>{if(Q.ctx!==null)q($O(K,Q))},Q);return tI(Y,J,U),U}class eT 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:ZO,detach:QO,resize:qO}[J]||XO;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 dR(Q,J,q,Y)}isAttached(Q){let J=Q&&Yq(Q);return!!(J&&J.isConnected)}}function YO(Q){if(!Xq()||typeof OffscreenCanvas<"u"&&Q instanceof OffscreenCanvas)return iT;return eT}class q6{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 UO(Q,J){let q=Q.options.ticks,Y=NO(Q),U=Math.min(q.maxTicksLimit||Y,Y),K=q.major.enabled?BO(J):[],H=K.length,M=K[0],F=K[H-1],R=[];if(H>U)return HO(J,R,K,H/U),R;let T=KO(K,J,U);if(H>0){let z,L,P=H>1?Math.round((F-M)/(H-1)):null;Kq(J,R,T,t0(P)?0:M-P,M);for(z=0,L=H-1;z<L;z++)Kq(J,R,T,K[z],K[z+1]);return Kq(J,R,T,F,t0(P)?J.length:F+P),R}return Kq(J,R,T),R}function NO(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 KO(Q,J,q){let Y=MO(Q),U=J.length/q;if(!Y)return Math.max(U,1);let K=zR(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 BO(Q){let J=[],q,Y;for(q=0,Y=Q.length;q<Y;q++)if(Q[q].major)J.push(q);return J}function HO(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,R,T;if(q=Math.ceil(q),U)F=U-Y,q=F/Math.floor(F/q);T=K;while(T<0)M++,T=Math.round(K+M*q);for(R=Math.max(K,0);R<H;R++)if(R===T)J.push(Q[R]),M++,T=Math.round(K+M*q)}function MO(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 FO=(Q)=>Q==="left"?"right":Q==="right"?"left":Q,NT=(Q,J,q)=>J==="top"||J==="left"?Q[J]+q:Q[J]-q,KT=(Q,J)=>Math.min(J||Q,Q);function BT(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 WO(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),R;if(q){if(Y===1)R=Math.max(F-K,H-F);else if(J===0)R=(Q.getPixelForTick(1)-F)/2;else R=(F-Q.getPixelForTick(U-1))/2;if(F+=U<J?R:-R,F<K-0.000001||F>H+0.000001)return}return F}function wO(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 HT(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 RO(Q,J){return Q6(Q,{scale:J,type:"scale"})}function TO(Q,J,q){return Q6(Q,{tick:q,index:J,type:"tick"})}function zO(Q,J,q){let Y=Zq(Q);if(q&&J!=="right"||!q&&J==="right")Y=FO(Y);return Y}function VO(Q,J,q,Y){let{top:U,left:K,bottom:H,right:M,chart:F}=Q,{chartArea:R,scales:T}=F,z=0,L,P,I,A=H-U,C=M-K;if(Q.isHorizontal()){if(P=q5(Y,K,M),n0(q)){let y=Object.keys(q)[0],m=q[y];I=T[y].getPixelForValue(m)+A-J}else if(q==="center")I=(R.bottom+R.top)/2+A-J;else I=NT(Q,q,J);L=M-K}else{if(n0(q)){let y=Object.keys(q)[0],m=q[y];P=T[y].getPixelForValue(m)-C+J}else if(q==="center")P=(R.left+R.right)/2-C+J;else P=NT(Q,q,J);I=q5(Y,H,U),z=q==="left"?-b5:b5}return{titleX:P,titleY:I,maxWidth:L,rotation:z}}class z$ extends q6{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:O1(Q),maxDefined:O1(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=yR(this,U,Y),this._dataLimitsCached=!0;this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let M=H<this.ticks.length;if(this._convertTicksToLabels(M?BT(this.ticks,H):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),K.display&&(K.autoSkip||K.source==="auto"))this.ticks=UO(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=KT(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 R=this._getLabelSizes(),T=R.widest.width,z=R.highest.height,L=y5(this.chart.width-T,0,this.maxWidth);if(H=Q.offset?this.maxWidth/q:L/(q-1),T+6>H)H=L/(q-(Q.offset?0.5:1)),M=this.maxHeight-nZ(Q.grid)-J.padding-HT(Q.title,this.chart.options.font),F=Math.sqrt(T*T+z*z),K=eJ(Math.min(Math.asin(y5((R.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=HT(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:R,widest:T,highest:z}=this._getLabelSizes(),L=q.padding*2,P=$6(this.labelRotation),I=Math.cos(P),A=Math.sin(P);if(H){let C=q.mirror?0:A*T.width+I*z.height;Q.height=Math.min(this.maxHeight,Q.height+C+L)}else{let C=q.mirror?0:I*T.width+A*z.height;Q.width=Math.min(this.maxWidth,Q.width+C+L)}this._calculatePadding(F,R,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 R=this.getPixelForTick(0)-this.left,T=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-R+K)*this.width/(this.width-R),0),this.paddingRight=Math.max((L-T+K)*this.width/(this.width-T),0)}else{let R=J.height/2,T=Q.height/2;if(U==="start")R=0,T=Q.height;else if(U==="end")R=J.height,T=0;this.paddingTop=R+K,this.paddingBottom=T+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=BT(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/KT(J,q)),F=0,R=0,T,z,L,P,I,A,C,y,m,n,i;for(T=0;T<J;T+=M){if(P=Q[T].label,I=this._resolveTickFontOptions(T),Y.font=A=I.string,C=U[A]=U[A]||{data:{},gc:[]},y=I.lineHeight,m=n=0,!t0(P)&&!z1(P))m=xZ(Y,C.data,C.gc,m,P),n=y;else if(z1(P)){for(z=0,L=P.length;z<L;++z)if(i=P[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),R=Math.max(n,R)}wO(U,J);let r=K.indexOf(F),Q0=H.indexOf(R),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 _R(this._alignToPixels?U2(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=TO(this.getContext(),Q,q))}return this.$context||(this.$context=RO(this.chart.getContext(),this))}_tickSize(){let Q=this.options.ticks,J=$6(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(),T=this.ticks.length+(M?1:0),z=nZ(U),L=[],P=H.setContext(this.getContext()),I=P.display?P.width:0,A=I/2,C=function(l){return U2(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,T),C0=Math.max(1,Math.ceil(T/z0));for(m=0;m<T;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=WO(this,m,M),n===void 0)continue;if(i=U2(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=T,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:R,mirror:T}=U,z=nZ(q.grid),L=z+R,P=T?-R:L,I=-$6(this.labelRotation),A=[],C,y,m,n,i,r,Q0,p,a,Y0,d,N0,w0="middle";if(Y==="top")r=this.bottom-P,Q0=this._getXAxisLabelAlignment();else if(Y==="bottom")r=this.top+P,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(T)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(-$6(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,R;if(J==="left")if(Y)if(R=this.right+U,q==="near")F="left";else if(q==="center")F="center",R+=M/2;else F="right",R+=M;else if(R=this.right-H,q==="near")F="right";else if(q==="center")F="center",R-=M/2;else F="left",R=this.left;else if(J==="right")if(Y)if(R=this.left+U,q==="near")F="right";else if(q==="center")F="center",R-=M/2;else F="left",R-=M;else if(R=this.left+H,q==="near")F="left";else if(q==="center")F="center",R+=M/2;else F="right",R=this.right;else F="right";return{textAlign:F,x:R}}_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,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(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,R,T,z;if(this.isHorizontal())F=U2(Q,this.left,K)-K/2,R=U2(Q,this.right,H)+H/2,T=z=M;else T=U2(Q,this.top,K)-K/2,z=U2(Q,this.bottom,H)+H/2,F=R=M;J.save(),J.lineWidth=U.width,J.strokeStyle=U.color,J.beginPath(),J.moveTo(F,T),J.lineTo(R,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:R}=K;N2(q,F,0,R,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:R,maxWidth:T,rotation:z}=VO(this,M,J,H);N2(Q,q.text,0,0,U,{color:q.color,maxWidth:T,rotation:z,textAlign:zO(H,J,Y),textBaseline:"middle",translation:[F,R]})}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(EO(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,LO(Q,K,q),this.override)j1.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 j1[Y]){if(delete j1[Y][q],this.override)delete Y2[q]}}}function LO(Q,J,q){let Y=g9(Object.create(null),[q?j1.get(q):{},j1.get(J),Q.defaults]);if(j1.set(J,Y),Q.defaultRoutes)_O(J,Q.defaultRoutes);if(Q.descriptors)j1.describe(J,Q.descriptors)}function _O(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(".");j1.route(K,U,F,M)})}function EO(Q){return"id"in Q&&"defaults"in Q}class $z{constructor(){this.controllers=new aZ(Rq,"datasets",!0),this.elements=new aZ(q6,"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 z8=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=PO(q);return Y===!1&&!J?[]:IO(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 PO(Q){let J={},q=[],Y=Object.keys(z8.plugins.items);for(let K=0;K<Y.length;K++)q.push(z8.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 CO(Q,J){if(!J&&Q===!1)return null;if(Q===!0)return{};return Q}function IO(Q,{plugins:J,localIds:q},Y,U){let K=[],H=Q.getContext();for(let M of J){let F=M.id,R=CO(Y[F],U);if(R===null)continue;K.push({plugin:M,options:OO(Q.config,{plugin:M,local:q[F]},R,H)})}return K}function OO(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=j1.datasets[Q]||{};return((J.datasets||{})[Q]||{}).indexAxis||J.indexAxis||q.indexAxis||"x"}function jO(Q,J){let q=Q;if(Q==="_index_")q=J;else if(Q==="_value_")q=J==="x"?"y":"x";return q}function DO(Q,J){return Q===J?"_index_":"_value_"}function MT(Q){if(Q==="x"||Q==="y"||Q==="r")return Q}function AO(Q){if(Q==="top"||Q==="bottom")return"x";if(Q==="left"||Q==="right")return"y"}function ON(Q,...J){if(MT(Q))return Q;for(let q of J){let Y=q.axis||AO(q.position)||Q.length>1&&MT(Q[0].toLowerCase());if(Y)return Y}throw Error(`Cannot determine type of '${Q}' axis. Please provide 'axis' or 'position' option.`)}function FT(Q,J,q){if(q[J+"AxisID"]===Q)return{axis:J}}function SO(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 FT(Q,"x",q[0])||FT(Q,"y",q[0])}return{}}function vO(Q,J){let q=Y2[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=ON(H,M,SO(H,Q),j1.scales[M.type]),R=DO(F,U),T=q.scales||{};K[H]=x9(Object.create(null),[{axis:F},M,T[F],T[R]])}),Q.data.datasets.forEach((H)=>{let M=H.type||Q.type,F=H.indexAxis||IN(M,J),T=(Y2[M]||{}).scales||{};Object.keys(T).forEach((z)=>{let L=jO(z,F),P=H[L+"AxisID"]||L;K[P]=K[P]||Object.create(null),x9(K[P],[{axis:L},Y[P],T[z]])})}),Object.keys(K).forEach((H)=>{let M=K[H];x9(M,[j1.scales[M.type],j1.scale])}),K}function Qz(Q){let J=Q.options||(Q.options={});J.plugins=h0(J.plugins,{}),J.scales=vO(Q,J)}function Gz(Q){return Q=Q||{},Q.datasets=Q.datasets||[],Q.labels=Q.labels||[],Q}function kO(Q){return Q=Q||{},Q.data=Gz(Q.data),Qz(Q),Q}var WT=new Map,Jz=new Set;function Bq(Q,J){let q=WT.get(Q);if(!q)q=J(),WT.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=kO(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((R)=>{if(Q)M.add(Q),R.forEach((T)=>oZ(M,Q,T));R.forEach((T)=>oZ(M,Y,T)),R.forEach((T)=>oZ(M,Y2[U]||{},T)),R.forEach((T)=>oZ(M,j1,T)),R.forEach((T)=>oZ(M,Gq,T))});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,Y2[J]||{},j1.datasets[J]||{},{type:J},j1,Gq]}resolveNamedOptions(Q,J,q,Y=[""]){let U={$shared:!0},{resolver:K,subPrefixes:H}=wT(this._resolverCache,Q,Y),M=K;if(fO(K,J)){U.$shared=!1,q=t8(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}=wT(this._resolverCache,Q,q);return n0(J)?F$(U,J,void 0,Y):U}}function wT(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 bO=(Q)=>n0(Q)&&Object.getOwnPropertyNames(Q).some((J)=>t8(Q[J]));function fO(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&&(t8(M)||bO(M))||H&&z1(M))return!0}return!1}var yO="4.5.1",gO=["top","bottom","left","right","chartArea"];function RT(Q,J){return Q==="top"||Q==="bottom"||gO.indexOf(Q)===-1&&J==="x"}function TT(Q,J){return function(q,Y){return q[Q]===Y[Q]?q[J]-Y[J]:q[Q]-Y[Q]}}function zT(Q){let J=Q.chart,q=J.options.animation;J.notifyPlugins("afterRender"),W1(q&&q.onComplete,[Q],J)}function hO(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={},VT=(Q)=>{let J=Xz(Q);return Object.values(Wq).filter((q)=>q.canvas===J).pop()};function xO(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 uO(Q,J,q,Y){if(!q||Q.type==="mouseout")return null;if(Y)return J;return Q}class P5{static defaults=j1;static instances=Wq;static overrides=Y2;static registry=z8;static version=yO;static getChart=VT;static register(...Q){z8.add(...Q),LT()}static unregister(...Q){z8.remove(...Q),LT()}constructor(Q,J){let q=this.config=new qz(J),Y=Xz(Q),U=VT(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||YO(Y)),this.platform.updateConfig(q);let H=this.platform.acquireContext(Y,K.aspectRatio),M=H&&H.canvas,F=M&&M.height,R=M&&M.width;if(this.id=WR(),this.ctx=H,this.canvas=M,this.width=R,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=OR((T)=>this.update(T),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(G6.listen(this,"complete",zT),G6.listen(this,"progress",hO),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 z8}_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 G6.stop(this),this}resize(Q,J){if(!G6.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=ON(K,H),F=M==="r",R=M==="x";return{options:H,dposition:F?"chartArea":R?"bottom":"left",dtype:F?"radialLinear":R?"category":"linear"}}));X1(U,(K)=>{let H=K.options,M=H.id,F=ON(M,H),R=h0(H.type,K.dtype);if(H.position===void 0||RT(H.position,F)!==RT(K.dposition))H.position=K.dposition;Y[M]=!0;let T=null;if(M in q&&q[M].type===R)T=q[M];else T=new(z8.getScale(R))({id:M,type:R,ctx:this.ctx,chart:this}),q[T.id]=T;T.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(TT("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=z8.getController(H),{datasetElementType:F,dataElementType:R}=j1.datasets[H];Object.assign(M,{dataElementType:z8.getElement(R),datasetElementType:F&&z8.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,R=this.data.datasets.length;F<R;F++){let{controller:T}=this.getDatasetMeta(F),z=!Y&&U.indexOf(T)===-1;T.buildOrUpdateElements(z),K=Math.max(+T.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(TT("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;xO(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,t8(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(G6.has(this)){if(this.attached&&!G6.running(this))G6.start(this)}else this.draw(),zT({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 w8(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=Q6(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(),G6.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((R)=>!F.some((T)=>R.datasetIndex===T.datasetIndex&&R.index===T.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=TR(Q),F=uO(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 R=!uZ(H,Y);if(R||J)this._active=H,this._updateHoverStyles(H,Y,J);return this._lastEvent=F,R}_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 LT(){return X1(P5.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 mO(Q,J,q){Q.lineTo(q.x,q.y)}function dO(Q){if(Q.stepped)return bR;if(Q.tension||Q.cubicInterpolationMode==="monotone")return fR;return mO}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),R=Math.min(K,M),T=U<H&&K<H||U>M&&K>M;return{count:Y,start:F,loop:J.loop,ilen:R<F&&!T?Y+R-F:R-F}}function pO(Q,J,q,Y){let{points:U,options:K}=J,{count:H,start:M,loop:F,ilen:R}=Uz(U,q,Y),T=dO(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)Q.moveTo(I.x,I.y),z=!1;else T(Q,A,I,L,K.stepped);A=I}if(F)I=U[(M+(L?R:0))%H],T(Q,A,I,L,K.stepped);return!!F}function cO(Q,J,q,Y){let U=J.points,{count:K,start:H,ilen:M}=Uz(U,q,Y),{move:F=!0,reverse:R}=Y||{},T=0,z=0,L,P,I,A,C,y,m=(i)=>(H+(R?M-i:i))%K,n=()=>{if(A!==C)Q.lineTo(T,C),Q.lineTo(T,A),Q.lineTo(T,y)};if(F)P=U[m(0)],Q.moveTo(P.x,P.y);for(L=0;L<=M;++L){if(P=U[m(L)],P.skip)continue;let{x:i,y:r}=P,Q0=i|0;if(Q0===I){if(r<A)A=r;else if(r>C)C=r;T=(z*T+i)/++z}else n(),Q.lineTo(i,r),I=Q0,z=0,A=C=r;y=r}n()}function jN(Q){let J=Q.options,q=J.borderDash&&J.borderDash.length;return!Q._decimated&&!Q._loop&&!J.tension&&J.cubicInterpolationMode!=="monotone"&&!J.stepped&&!q?cO:pO}function lO(Q){if(Q.stepped)return cR;if(Q.tension||Q.cubicInterpolationMode==="monotone")return lR;return J2}function rO(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 sO(Q,J,q,Y){let{segments:U,options:K}=J,H=jN(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 nO=typeof Path2D==="function";function oO(Q,J,q,Y){if(nO&&!J.options.segment)rO(Q,J,q,Y);else sO(Q,J,q,Y)}class u5 extends q6{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;mR(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=sR(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=lO(q),F,R;for(F=0,R=K.length;F<R;++F){let{start:T,end:z}=K[F],L=U[T],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]=Q[J],H.push(A)}return H.length===1?H[0]:H}pathSegment(Q,J,q){return jN(this)(Q,this,J,q)}path(Q,J,q){let Y=this.segments,U=jN(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(),oO(Q,this,q,Y),Q.restore();if(this.animated)this._pointsUpdated=!1,this._path=void 0}}function _T(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 q6{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 _T(this,Q,"x",J)}inYRange(Q,J){return _T(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||!w8(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,R,T,z;if(Q.horizontal)z=H/2,M=Math.min(q,U),F=Math.max(q,U),R=Y-z,T=Y+z;else z=K/2,M=q-z,F=q+z,R=Math.min(Y,U),T=Math.max(Y,U);return{left:M,top:R,right:F,bottom:T}}function H2(Q,J,q,Y){return Q?0:y5(J,q,Y)}function iO(Q,J,q){let Y=Q.options.borderWidth,U=Q.borderSkipped,K=JN(Y);return{t:H2(U.top,K.top,0,q),r:H2(U.right,K.right,0,J),b:H2(U.bottom,K.bottom,0,q),l:H2(U.left,K.left,0,J)}}function aO(Q,J,q){let{enableBorderRadius:Y}=Q.getProps(["enableBorderRadius"]),U=Q.options.borderRadius,K=K2(U),H=Math.min(J,q),M=Q.borderSkipped,F=Y||n0(U);return{topLeft:H2(!F||M.top||M.left,K.topLeft,0,H),topRight:H2(!F||M.top||M.right,K.topRight,0,H),bottomLeft:H2(!F||M.bottom||M.left,K.bottomLeft,0,H),bottomRight:H2(!F||M.bottom||M.right,K.bottomRight,0,H)}}function tO(Q){let J=Nz(Q),q=J.right-J.left,Y=J.bottom-J.top,U=iO(Q,q/2,Y/2),K=aO(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||Z6(J,M.left,M.right))&&(K||Z6(q,M.top,M.bottom))}function eO(Q){return Q.topLeft||Q.topRight||Q.bottomLeft||Q.bottomRight}function $j(Q,J){Q.rect(J.x,J.y,J.w,J.h)}function EN(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 q6{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}=tO(this),H=eO(K.radius)?p9:$j;if(Q.save(),K.w!==U.w||K.h!==U.h)Q.beginPath(),H(Q,EN(K,J,U)),Q.clip(),H(Q,EN(U,-J,K)),Q.fillStyle=q,Q.fill("evenodd");Q.beginPath(),H(Q,EN(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 Zj(Q,J,q){let{segments:Y,points:U}=Q,K=J.points,H=[];for(let M of Y){let{start:F,end:R}=M;R=Tq(F,R,U);let T=DN(q,U[F],U[R],M.loop);if(!J.segments){H.push({source:M,target:T,start:U[F],end:U[R]});continue}let z=MN(J,T);for(let L of z){let P=DN(q,K[L.start],K[L.end],L.loop),I=HN(M,U,P);for(let A of I)H.push({source:A,target:L,start:{[q]:ET(T,P,"start",Math.max)},end:{[q]:ET(T,P,"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 Qj(Q,J){let{x:q=null,y:Y=null}=Q||{},U=J.points,K=[];return J.segments.forEach(({start:H,end:M})=>{M=Tq(H,M,U);let F=U[H],R=U[M];if(Y!==null)K.push({x:F.x,y:Y}),K.push({x:R.x,y:Y});else if(q!==null)K.push({x:q,y:F.y}),K.push({x:q,y:R.y})}),K}function Tq(Q,J,q){for(;J>Q;J--){let Y=q[J];if(!isNaN(Y.x)&&!isNaN(Y.y))break}return J}function ET(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=Qj(Q,J);return q.length?new u5({points:q,options:{tension:0},_loop:Y,_fullLoop:Y}):null}function PT(Q){return Q&&Q.fill!==!1}function Gj(Q,J,q){let U=Q[J].fill,K=[J],H;if(!q)return U;while(U!==!1&&K.indexOf(U)===-1){if(!O1(U))return U;if(H=Q[U],!H)return!1;if(H.visible)return U;K.push(U),U=H.fill}return!1}function Jj(Q,J,q){let Y=Uj(Q);if(n0(Y))return isNaN(Y.value)?!1:Y;let U=parseFloat(Y);if(O1(U)&&Math.floor(U)===U)return qj(Y[0],J,U,q);return["origin","start","end","stack","shape"].indexOf(Y)>=0&&Y}function qj(Q,J,q,Y){if(Q==="-"||Q==="+")q=J+q;if(q===J||q<0||q>=Y)return!1;return q}function Xj(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 Yj(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 Uj(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 Nj(Q){let{scale:J,index:q,line:Y}=Q,U=[],K=Y.segments,H=Y.points,M=Kj(J,q);M.push(Kz({x:null,y:J.bottom},Y));for(let F=0;F<K.length;F++){let R=K[F];for(let T=R.start;T<=R.end;T++)Bj(U,H[T],M)}return new u5({points:U,options:{}})}function Kj(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 Bj(Q,J,q){let Y=[];for(let U=0;U<q.length;U++){let K=q[U],{first:H,last:M,point:F}=Hj(K,J,"x");if(!F||H&&M)continue;if(H)Y.unshift(F);else if(Q.push(F),!M)break}Q.push(...Y)}function Hj(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 R=0;R<K.length;R++){let T=K[R],z=H[T.start][q],L=H[T.end][q];if(Z6(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 Mj(Q){let{chart:J,fill:q,line:Y}=Q;if(O1(q))return Fj(J,q);if(q==="stack")return Nj(Q);if(q==="shape")return!0;let U=Wj(Q);if(U instanceof xN)return U;return Kz(U,Y)}function Fj(Q,J){let q=Q.getDatasetMeta(J);return q&&Q.isDatasetVisible(J)?q.dataset:null}function Wj(Q){if((Q.scale||{}).getPointPositionForValue)return Rj(Q);return wj(Q)}function wj(Q){let{scale:J={},fill:q}=Q,Y=Xj(q,J);if(O1(Y)){let U=J.isHorizontal();return{x:U?Y:null,y:U?null:Y}}return null}function Rj(Q){let{scale:J,fill:q}=Q,Y=J.options,U=J.getLabels().length,K=Y.reverse?J.max:J.min,H=Yj(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 PN(Q,J,q){let Y=Mj(J),{chart:U,index:K,line:H,scale:M,axis:F}=J,R=H.options,T=R.fill,z=R.backgroundColor,{above:L=z,below:P=z}=T||{},I=U.getDatasetMeta(K),A=FN(U,I);if(Y&&H.points.length)dZ(Q,q),Tj(Q,{line:H,target:Y,above:L,below:P,area:q,scale:M,axis:F,clip:A}),pZ(Q)}function Tj(Q,J){let{line:q,target:Y,above:U,below:K,area:H,scale:M,clip:F}=J,R=q._loop?"angle":J.axis;Q.save();let T=K;if(K!==U){if(R==="x")CT(Q,Y,H.top),CN(Q,{line:q,target:Y,color:U,scale:M,property:R,clip:F}),Q.restore(),Q.save(),CT(Q,Y,H.bottom);else if(R==="y")IT(Q,Y,H.left),CN(Q,{line:q,target:Y,color:K,scale:M,property:R,clip:F}),Q.restore(),Q.save(),IT(Q,Y,H.right),T=U}CN(Q,{line:q,target:Y,color:T,scale:M,property:R,clip:F}),Q.restore()}function CT(Q,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Q.beginPath();for(let M of Y){let{start:F,end:R}=M,T=U[F],z=U[Tq(F,R,U)];if(K)Q.moveTo(T.x,T.y),K=!1;else Q.lineTo(T.x,q),Q.lineTo(T.x,T.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 IT(Q,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Q.beginPath();for(let M of Y){let{start:F,end:R}=M,T=U[F],z=U[Tq(F,R,U)];if(K)Q.moveTo(T.x,T.y),K=!1;else Q.lineTo(q,T.y),Q.lineTo(T.x,T.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=Zj(q,Y,U);for(let{source:R,target:T,start:z,end:L}of F){let{style:{backgroundColor:P=K}={}}=R,I=Y!==!0;Q.save(),Q.fillStyle=P,zj(Q,H,M,I&&DN(U,z,L)),Q.beginPath();let A=!!q.pathSegment(Q,R),C;if(I){if(A)Q.closePath();else OT(Q,Y,L,U);let y=!!Y.pathSegment(Q,T,{move:A,reverse:!0});if(C=A&&y,!C)OT(Q,Y,z,U)}Q.closePath(),Q.fill(C?"evenodd":"nonzero"),Q.restore()}}function zj(Q,J,q,Y){let U=J.chart.chartArea,{property:K,start:H,end:M}=Y||{};if(K==="x"||K==="y"){let F,R,T,z;if(K==="x")F=H,R=U.top,T=M,z=U.bottom;else F=U.left,R=H,T=U.right,z=M;if(Q.beginPath(),q)F=Math.max(F,q.left),T=Math.min(T,q.right),R=Math.max(R,q.top),z=Math.min(z,q.bottom);Q.rect(F,R,T-F,z-R),Q.clip()}}function OT(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:Jj(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=Gj(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)PN(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(PT(K))PN(Q.ctx,K,Q.chartArea)}},beforeDatasetDraw(Q,J,q){let Y=J.meta.$filler;if(!PT(Y)||q.drawTime!=="beforeDatasetDraw")return;PN(Q.ctx,Y,Q.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},jT=(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)}},Vj=(Q,J)=>Q!==null&&J!==null&&Q.datasetIndex===J.datasetIndex&&Q.index===J.index;class AN extends q6{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}=jT(q,U),F,R;if(J.font=Y.string,this.isHorizontal())F=this.maxWidth,R=this._fitRows(K,U,H,M)+10;else R=this.maxHeight,F=this._fitCols(K,Y,H,M)+10;this.width=Math.min(F,Q.maxWidth||this.maxWidth),this.height=Math.min(R,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],R=Y+H,T=Q;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||F[F.length-1]+A+2*H>K)T+=R,F[F.length-(I>0?0:1)]=0,L+=R,z++;M[I]={left:0,top:L,row:z,width:A,height:Y},F[F.length-1]+=A+H}),T}_fitCols(Q,J,q,Y){let{ctx:U,maxHeight:K,options:{labels:{padding:H}}}=this,M=this.legendHitBoxes=[],F=this.columnSizes=[],R=K-Q,T=H,z=0,L=0,P=0,I=0;return this.legendItems.forEach((A,C)=>{let{itemWidth:y,itemHeight:m}=Lj(q,J,U,A,Y);if(C>0&&L+m+2*H>R)T+=z+H,F.push({width:z,height:L}),P+=z+H,I++,z=L=0;M[C]={left:P,top:L,col:I,width:y,height:m},z=Math.max(z,y),L+=m+H}),T+=z,F.push({width:z,height:L}),T}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=j1.color,M=w$(Q.rtl,this.left,this.width),F=p1(K.font),{padding:R}=K,T=F.size,z=T/2,L;this.drawTitle(),Y.textAlign=M.textAlign("left"),Y.textBaseline="middle",Y.lineWidth=0.5,Y.font=F.string;let{boxWidth:P,boxHeight:I,itemHeight:A}=jT(K,T),C=function(r,Q0,p){if(isNaN(P)||P<=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,P/2),N0=Q0+z;QN(Y,Y0,d,N0,K.pointStyleWidth&&P)}else{let Y0=Q0+Math.max((T-I)/2,0),d=M.leftForLtr(r,P),N0=K2(p.borderRadius);if(Y.beginPath(),Object.values(N0).some((w0)=>w0!==0))p9(Y,{x:d,y:Y0,w:P,h:I,radius:N0});else Y.rect(d,Y0,P,I);if(Y.fill(),a!==0)Y.stroke()}Y.restore()},y=function(r,Q0,p){N2(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+R,this.right-q[0]),y:this.top+R+n,line:0};else L={x:this.left+R,y:q5(U,this.top+n+R,this.bottom-J[0].height),line:0};KN(this.ctx,Q.textDirection);let i=A+R;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=P+z+p,d=L.x,N0=L.y;if(M.setWidth(this.width),m){if(Q0>0&&d+Y0+R>this.right)N0=L.y+=i,L.line++,d=L.x=q5(U,this.left+R,this.right-q[L.line])}else if(Q0>0&&N0+i>this.bottom)d=L.x=d+J[L.line].width+R,L.line++,N0=L.y=q5(U,this.top+n+R,this.bottom-J[L.line].height);let w0=M.x(d);if(C(w0,N0,r),d=jR(a,d+P+z,m?d+Y0:this.right,Q.rtl),y(M.x(d),N0,r),m)L.x+=Y0+R;else if(typeof r.text!=="string"){let z0=F.lineHeight;L.y+=Bz(r,z0)+R}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,R,T=this.left,z=this.width;if(this.isHorizontal())z=Math.max(...this.lineWidths),R=this.top+F,T=q5(Q.align,T,this.right-z);else{let P=this.columnSizes.reduce((I,A)=>Math.max(I,A.height),0);R=F+q5(Q.align,this.top,this.bottom-P-Q.labels.padding-this._computeTitleHeight())}let L=q5(H,T,T+z);K.textAlign=U.textAlign(Zq(H)),K.textBaseline="middle",K.strokeStyle=J.color,K.fillStyle=J.color,K.font=q.string,N2(K,J.text,L,R,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(Z6(Q,this.left,this.right)&&Z6(J,this.top,this.bottom)){U=this.legendHitBoxes;for(q=0;q<U.length;++q)if(Y=U[q],Z6(Q,Y.left,Y.left+Y.width)&&Z6(J,Y.top,Y.top+Y.height))return this.legendItems[q]}return null}handleEvent(Q){let J=this.options;if(!Pj(Q.type,J))return;let q=this._getLegendItemAt(Q.x,Q.y);if(Q.type==="mousemove"||Q.type==="mouseout"){let Y=this._hoveredItem,U=Vj(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 Lj(Q,J,q,Y,U){let K=_j(Y,Q,J,q),H=Ej(U,Y,J.lineHeight);return{itemWidth:K,itemHeight:H}}function _j(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 Ej(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 Pj(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 V8={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 R=F.controller.getStyle(q?0:void 0),T=X5(R.borderWidth);return{text:J[F.index].label,fillStyle:R.backgroundColor,fontColor:K,hidden:!F.visible,lineCap:R.borderCapStyle,lineDash:R.borderDash,lineDashOffset:R.borderDashOffset,lineJoin:R.borderJoinStyle,lineWidth:(T.width+T.height)/4,strokeStyle:R.borderColor,pointStyle:Y||R.pointStyle,rotation:R.rotation,textAlign:U||R.textAlign,borderRadius:H&&(M||R.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 q6{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,R,T;if(this.isHorizontal())R=q5(H,q,U),T=J+Q,F=U-q;else{if(K.position==="left")R=q+Q,T=q5(H,Y,J),M=b1*-0.5;else R=U-Q,T=q5(H,J,Y),M=b1*0.5;F=Y-J}return{titleX:R,titleY:T,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);N2(Q,J.text,0,0,q,{color:J.color,maxWidth:M,rotation:F,textAlign:Zq(J.align),textBaseline:"middle",translation:[K,H]})}}function Cj(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 L8={id:"title",_element:uN,start(Q,J,q){Cj(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 R=F.getCenterPoint(),T=iJ(J,R);if(T<U)U=T,M=F}}if(M){let F=M.tooltipPosition();q=F.x,Y=F.y}return{x:q,y:Y}}};function T8(Q,J){if(J)if(z1(J))Array.prototype.push.apply(Q,J);else Q.push(J);return Q}function J6(Q){if((typeof Q==="string"||Q instanceof String)&&Q.indexOf(`
|
|
256
256
|
`)>-1)return Q.split(`
|
|
257
|
-
`);return Q}function Ij(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 DT(Q,J){let q=Q.chart.ctx,{body:Y,footer:U,title:K}=Q,{boxWidth:H,boxHeight:M}=J,F=p1(J.bodyFont),R=p1(J.titleFont),T=p1(J.footerFont),z=K.length,L=U.length,P=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*R.lineHeight+(z-1)*J.titleSpacing+J.titleMarginBottom;if(y){let i=J.displayColors?Math.max(M,F.lineHeight):F.lineHeight;A+=P*i+(y-P)*F.lineHeight+(y-1)*J.bodySpacing}if(L)A+=J.footerMarginTop+L*T.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=R.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=T.string,X1(Q.footer,n),q.restore(),C+=I.width,{width:C,height:A}}function Oj(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 jj(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 Dj(Q,J,q,Y){let{x:U,width:K}=q,{width:H,chartArea:{left:M,right:F}}=Q,R="center";if(Y==="center")R=U<=(M+F)/2?"left":"right";else if(U<=K/2)R="left";else if(U>=H-K/2)R="right";if(jj(R,Q,J,q))R="center";return R}function AT(Q,J,q){let Y=q.yAlign||J.yAlign||Oj(Q,q);return{xAlign:q.xAlign||J.xAlign||Dj(Q,J,q,Y),yAlign:Y}}function Aj(Q,J){let{x:q,width:Y}=Q;if(J==="right")q-=Y;else if(J==="center")q-=Y/2;return q}function Sj(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 ST(Q,J,q,Y){let{caretSize:U,caretPadding:K,cornerRadius:H}=Q,{xAlign:M,yAlign:F}=q,R=U+K,{topLeft:T,topRight:z,bottomLeft:L,bottomRight:P}=K6(H),I=Aj(J,M),A=Sj(J,F,R);if(F==="center"){if(M==="left")I+=R;else if(M==="right")I-=R}else if(M==="left")I-=Math.max(T,L)+U;else if(M==="right")I+=Math.max(z,P)+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 vT(Q){return T8([],J2(Q))}function vj(Q,J,q){return Q2(Q,{tooltip:J,tooltipItems:q,type:"tooltip"})}function kT(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 q2{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=vj(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=T8(H,J2(Y)),H=T8(H,J2(U)),H=T8(H,J2(K)),H}getBeforeBody(Q,J){return vT(h5(J.callbacks,"beforeBody",this,Q))}getBody(Q,J){let{callbacks:q}=J,Y=[];return X1(Q,(U)=>{let K={before:[],lines:[],after:[]},H=kT(q,U);T8(K.before,J2(h5(H,"beforeLabel",this,U))),T8(K.lines,h5(H,"label",this,U)),T8(K.after,J2(h5(H,"afterLabel",this,U))),Y.push(K)}),Y}getAfterBody(Q,J){return vT(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=T8(H,J2(Y)),H=T8(H,J2(U)),H=T8(H,J2(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(Ij(this.chart,J[M]));if(Q.filter)H=H.filter((R,T,z)=>Q.filter(R,T,z,q));if(Q.itemSort)H=H.sort((R,T)=>Q.itemSort(R,T,q));return X1(H,(R)=>{let T=kT(Q.callbacks,R);Y.push(h5(T,"labelColor",this,R)),U.push(h5(T,"labelPointStyle",this,R)),K.push(h5(T,"labelTextColor",this,R))}),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=DT(this,q),F=Object.assign({},H,M),R=AT(this.chart,q,F),T=ST(q,F,R,this.chart);this.xAlign=R.xAlign,this.yAlign=R.yAlign,U={opacity:1,x:T.x,y:T.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:R,bottomRight:T}=K6(H),{x:z,y:L}=Q,{width:P,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+P,C=A+K,m=n-K,i=n+K;y=A}else{if(Y==="left")C=z+Math.max(M,R)+K;else if(Y==="right")C=z+P-Math.max(F,T)-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,R=p1(U.bodyFont),T=Hq(this,"left",U),z=Y.x(T),L=M<R.lineHeight?(R.lineHeight-M)/2:0,P=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=P+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=K6(K.borderRadius);if(Object.values(C).some((y)=>y!==0))Q.beginPath(),Q.fillStyle=U.multiKeyBackground,p9(Q,{x:I,y:P,w:F,h:M,radius:C}),Q.fill(),Q.stroke(),Q.fillStyle=K.backgroundColor,Q.beginPath(),p9(Q,{x:A,y:P+1,w:F-2,h:M-2,radius:C}),Q.fill();else Q.fillStyle=U.multiKeyBackground,Q.fillRect(I,P,F,M),Q.strokeRect(I,P,F,M),Q.fillStyle=K.backgroundColor,Q.fillRect(A,P+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:R}=q,T=p1(q.bodyFont),z=T.lineHeight,L=0,P=w$(q.rtl,this.x,this.width),I=function(p){J.fillText(p,P.x(Q.x+L),Q.y+z/2),Q.y+=z+U},A=P.textAlign(K),C,y,m,n,i,r,Q0;J.textAlign=K,J.textBaseline="middle",J.font=T.string,Q.x=Hq(this,A,q),J.fillStyle=q.bodyColor,X1(this.beforeBody,I),L=H&&A!=="right"?K==="center"?F/2+R:F+2+R: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,P,q),z=Math.max(T.lineHeight,M);for(i=0,Q0=m.length;i<Q0;++i)I(m[i]),z=T.lineHeight;X1(C.after,I)}L=0,z=T.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:R}=q,{topLeft:T,topRight:z,bottomLeft:L,bottomRight:P}=K6(Y.cornerRadius);if(J.fillStyle=Y.backgroundColor,J.strokeStyle=Y.borderColor,J.lineWidth=Y.borderWidth,J.beginPath(),J.moveTo(H+T,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+R-P),J.quadraticCurveTo(H+F,M+R,H+F-P,M+R),K==="bottom")this.drawCaret(Q,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(Q,J,q,Y);if(J.lineTo(H,M+T),J.quadraticCurveTo(H,M,H+T,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=DT(this,Q),M=Object.assign({},K,this._size),F=AT(J,Q,M),R=ST(Q,M,F,J);if(Y._to!==R.x||U._to!==R.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,R)}}_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 _8={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 kj=(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 bj(Q,J,q,Y){let U=Q.indexOf(J);if(U===-1)return kj(Q,J,q,Y);let K=Q.lastIndexOf(J);return U!==K?q:U}var fj=(Q,J)=>Q===null?null:y5(Math.round(Q),0,J);function bT(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:bT}};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:bj(q,Q,h0(J,Q),this._addedLabels),fj(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 bT.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 yj(Q,J){let q=[],Y=0.00000000000001,{bounds:U,step:K,min:H,max:M,precision:F,count:R,maxTicks:T,maxDigits:z,includeBounds:L}=Q,P=K||1,I=T-1,{min:A,max:C}=J,y=!t0(H),m=!t0(M),n=!t0(R),i=(C-A)/(z+1),r=lU((C-A)/I/P)*P,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/P)*P;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&&VR((M-H)/K,r/1000))Y0=Math.round(Math.min((M-H)/r,T)),r=(M-H)/Y0,p=H,a=M;else if(n)p=y?H:p,a=m?M:a,Y0=R-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,fT(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,fT(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 fT(Q,J,{horizontal:q,minRotation:Y}){let U=$2(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=yj(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=O1(Q)?Q:0,this.max=O1(J)?J:1,this.handleTickRangeOptions()}computeTickLimit(){let Q=this.isHorizontal(),J=Q?this.width:this.height,q=$2(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(e8(Q)),T$=(Q,J)=>Math.pow(10,ZQ(Q)+J);function yT(Q){return Q/Math.pow(10,ZQ(Q))===1}function gT(Q,J,q){let Y=Math.pow(10,q),U=Math.floor(Q/Y);return Math.ceil(J/Y)-U}function gj(Q,J){let q=J-Q,Y=ZQ(q);while(gT(Q,J,Y)>10)Y++;while(gT(Q,J,Y)<10)Y--;return Math.min(Y,ZQ(Q))}function hj(Q,{min:J,max:q}){J=g5(Q.min,J);let Y=[],U=ZQ(J),K=gj(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,R=Math.round((J-F)*H)/H,T=Math.floor((J-F)/M/10)*M*10,z=Math.floor((R-T)/Math.pow(10,K)),L=g5(Q.min,Math.round((F+T+z*Math.pow(10,K))*H)/H);while(L<q){if(Y.push({value:L,major:yT(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+T+z*Math.pow(10,K))*H)/H}let P=g5(Q.max,L);return Y.push({value:P,major:yT(P),significand:z}),Y}class xj 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 O1(q)&&q>0?q:null}determineDataLimits(){let{min:Q,max:J}=this.getMinMax(!0);if(this.min=O1(Q)?Math.max(0,Q):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=Q===T$(this.min,0)?T$(this.min,-1):T$(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(T$(q,-1)),K(T$(Y,1));if(q<=0)U(T$(Y,-1));if(Y<=0)K(T$(q,1));this.min=q,this.max=Y}buildTicks(){let Q=this.options,J={min:this._userMin,max:this._userMax},q=hj(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=e8(Q),this._valueRange=e8(this.max)-e8(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:(e8(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,j1.font.size)+q.height}return 0}function uj(Q,J,q){return q=z1(q)?q:[q],{w:kR(Q,J.string,q),h:q.length*J.lineHeight}}function hT(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 mj(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 R=H.setContext(Q.getPointLabelContext(F));U[F]=R.padding;let T=Q.getPointPosition(F,Q.drawingArea+U[F],M),z=p1(R.font),L=uj(Q.ctx,z,Q._pointLabels[F]);Y[F]=L;let P=k5(Q.getIndexAngle(F)+M),I=Math.round(eJ(P)),A=hT(I,T.x,L.w,0,180),C=hT(I,T.y,L.h,90,270);dj(q,J,P,A,C)}Q.setCenterPoint(J.l-q.l,q.r-J.r,J.t-q.t,q.b-J.b),Q._pointLabelItems=lj(Q,Y,U)}function dj(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 pj(Q,J,q){let Y=Q.drawingArea,{extra:U,additionalAngle:K,padding:H,size:M}=q,F=Q.getPointPosition(J,Y+U+H,K),R=Math.round(eJ(k5(F.angle+b5))),T=nj(F.y,M.h,R),z=rj(R),L=sj(F.x,M.w,z);return{visible:!0,x:F.x,y:T,textAlign:z,left:L,top:T,right:L+M.w,bottom:T+M.h}}function cj(Q,J){if(!J)return!0;let{left:q,top:Y,right:U,bottom:K}=Q;return!(w8({x:q,y:Y},J)||w8({x:q,y:K},J)||w8({x:U,y:Y},J)||w8({x:U,y:K},J))}function lj(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},R;for(let T=0;T<U;T++){F.padding=q[T],F.size=J[T];let z=pj(Q,T,F);if(Y.push(z),M==="auto"){if(z.visible=cj(z,R),z.visible)R=z}}return Y}function rj(Q){if(Q===0||Q===180)return"center";else if(Q<180)return"left";return"right"}function sj(Q,J,q){if(q==="right")Q-=J;else if(q==="center")Q-=J/2;return Q}function nj(Q,J,q){if(q===90||q===270)Q-=J/2;else if(q>270||q<90)Q-=J;return Q}function oj(Q,J,q){let{left:Y,top:U,right:K,bottom:H}=q,{backdropColor:M}=J;if(!t0(M)){let F=K6(J.borderRadius),R=X5(J.backdropPadding);Q.fillStyle=M;let T=Y-R.left,z=U-R.top,L=K-Y+R.width,P=H-U+R.height;if(Object.values(F).some((I)=>I!==0))Q.beginPath(),p9(Q,{x:T,y:z,w:L,h:P,radius:F}),Q.fill();else Q.fillRect(T,z,L,P)}}function ij(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));oj(q,H,K);let M=p1(H.font),{x:F,y:R,textAlign:T}=K;N6(q,Q._pointLabels[U],F,R+M.lineHeight/2,M,{color:H.color,textAlign:T,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 aj(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 tj(Q,J,q){return Q2(Q,{label:q,index:J,type:"pointLabel"})}class ej 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=O1(Q)&&!isNaN(Q)?Q:0,this.max=O1(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)mj(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+$2(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 tj(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)ij(this,K);if(Y.display)this.ticks.forEach((R,T)=>{if(T!==0||T===0&&this.min<0){M=this.getDistanceFromCenterForValue(R.value);let z=this.getContext(T),L=Y.setContext(z),P=U.setContext(z);aj(this,L,M,K,P)}});if(q.display){Q.save();for(H=K-1;H>=0;H--){let R=q.setContext(this.getPointLabelContext(H)),{color:T,lineWidth:z}=R;if(!z||!T)continue;Q.lineWidth=z,Q.strokeStyle=T,Q.setLineDash(R.borderDash),Q.lineDashOffset=R.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)),R=p1(F.font);if(U=this.getDistanceFromCenterForValue(this.ticks[M].value),F.showLabelBackdrop){Q.font=R.string,K=Q.measureText(H.label).width,Q.fillStyle=F.backdropColor;let T=X5(F.backdropPadding);Q.fillRect(-K/2-T.left,-U-R.size/2-T.top,K+T.width,R.size+T.height)}N6(Q,H.label,0,-U,R,{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 xT(Q,J){return Q-J}function uT(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(!O1(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 mT(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 $D(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 ZD(Q){for(let J=x5.indexOf(Q)+1,q=x5.length;J<q;++J)if(zq[x5[J]].common)return x5[J]}function dT(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 QD(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 pT(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:QD(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 uT(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=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 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=PR(Y,U,K);if(this._unit=J.unit||(q.autoSkip?mT(J.minUnit,this.min,this.max,this._getLabelCapacity(U)):$D(this,H.length,J.minUnit,this.min,this.max)),this._majorUnit=!q.major.enabled||this._unit==="year"?void 0:ZD(this._unit),this.initOffsets(Y),Q.reverse)H.reverse();return pT(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||mT(U.minUnit,J,q,this._getLabelCapacity(J)),H=h0(Y.ticks.stepSize,1),M=K==="week"?U.isoWeekday:!1,F=d9(M)||M===!0,R={},T=J,z,L;if(F)T=+Q.startOf(T,"isoWeek",M);if(T=+Q.startOf(T,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 P=Y.ticks.source==="data"&&this.getDataTimestamps();for(z=T,L=0;z<q;z=+Q.add(z,H,K),L++)dT(R,z,P);if(z===q||Y.bounds==="ticks"||L===1)dT(R,z,P);return Object.keys(R).sort(xT).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,R=M&&H[M],T=F&&H[F],z=q[J],L=F&&T&&z&&z.major;return this._adapter.format(Q,Y||(L?T:R))}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=$2(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,pT(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(uT(this,Y[J]));return this._cache.labels=this._normalized?Q:this.normalize(Q)}normalize(Q){return iU(Q.sort(xT))}}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}=q6(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}=q6(Q,"time",J));({time:K,pos:M}=Q[Y]),{time:H,pos:F}=Q[U]}let R=H-K;return R?M+(F-M)*(J-K)/R:M}class GD 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,R;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(R=Y[K+1],M=Y[K-1],F=Y[K],Math.round((R+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=R0(e1(),1);var mN=R0(Fz(),1),q4=R0(e1(),1);var wz="label";function Wz(Q,J){if(typeof Q==="function")Q(J);else if(Q)Q.current=J}function qD(Q,J){let q=Q.options;if(q&&J)Object.assign(q,J)}function Rz(Q,J){Q.labels=J}function Tz(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 XD(Q,J=wz){let q={labels:[],datasets:[]};return Rz(q,Q.labels),Tz(q,Q.datasets,J),q}function YD(Q,J){let{height:q=150,width:Y=300,redraw:U=!1,datasetIdKey:K,type:H,data:M,options:F,plugins:R=[],fallbackContent:T,updateMode:z,...L}=Q,P=q4.useRef(null),I=q4.useRef(null),A=()=>{if(!P.current)return;I.current=new P5(P.current,{type:H,data:XD(M,K),options:F&&{...F},plugins:R}),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)qD(I.current,F)},[U,F]),q4.useEffect(()=>{if(!U&&I.current)Rz(I.current.config.data,M.labels)},[U,M.labels]),q4.useEffect(()=>{if(!U&&I.current&&M.datasets)Tz(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:P,role:"img",height:q,width:Y,...L,children:T})}var UD=q4.forwardRef(YD);function zz(Q,J){return P5.register(J),q4.forwardRef((q,Y)=>mN.jsx(UD,{...q,ref:Y,type:Q}))}var E4=zz("line",yN),Vq=zz("bar",fN);var Lq=R0(e1(),1),Vz="(prefers-color-scheme: dark)";function ND(){if(typeof window>"u")return"light";return window.matchMedia(Vz).matches?"dark":"light"}function E8(){let[Q,J]=Lq.useState(()=>ND());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 KD=Math.pow(10,8)*24*60*60*1000,Tv=-KD,_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 BD={};function P8(){return BD}function X2(Q,J){let q=P8(),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 X2(Q,{...J,weekStartsOn:1})}function Eq(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 M6(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]=M6(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 Ez(Q,J){let q=Eq(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 Pz(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 Oz(Q,J,q){let[Y,U]=M6(q?.in,Q,J),K=Y.getFullYear()-U.getFullYear(),H=Y.getMonth()-U.getMonth();return K*12+H}function jz(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]=M6(q?.in,Q,Q,J),H=r9(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 F=r9(U,K)===-H;if(vz(Y)&&M===1&&r9(Y,K)===1)F=!1;let R=H*(M-+F);return R===0?0:R}function bz(Q,J,q){let Y=Dz(Q,J)/1000;return jz(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 HD={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=HD[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 Pq(Q){return(J={})=>{let q=J.width?String(J.width):Q.defaultWidth;return Q.formats[q]||Q.formats[Q.defaultWidth]}}var MD={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},FD={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:Pq({formats:MD,defaultWidth:"full"}),time:Pq({formats:FD,defaultWidth:"full"}),dateTime:Pq({formats:WD,defaultWidth:"full"})};var wD={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)=>wD[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"]},TD={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},zD={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"]},VD={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"]},LD={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"}},_D={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:TD,defaultWidth:"wide",argumentCallback:(Q)=>Q-1}),month:s9({values:zD,defaultWidth:"wide"}),day:s9({values:VD,defaultWidth:"wide"}),dayPeriod:s9({values:LD,defaultWidth:"wide",formattingValues:_D,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)?CD(M,(z)=>z.test(H)):PD(M,(z)=>z.test(H)),R;R=Q.valueCallback?Q.valueCallback(F):F,R=q.valueCallback?q.valueCallback(R):R;let T=J.slice(H.length);return{value:R,rest:T}}}function PD(Q,J){for(let q in Q)if(Object.prototype.hasOwnProperty.call(Q,q)&&J(Q[q]))return q;return}function CD(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 ID=/^(\d+)(th|st|nd|rd)?/i,OD=/\d+/i,jD={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},DD={any:[/^b/i,/^(a|c)/i]},AD={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},SD={any:[/1/i,/2/i,/3/i,/4/i]},vD={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},kD={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]},bD={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},fD={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]},yD={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},gD={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:ID,parsePattern:OD,valueCallback:(Q)=>parseInt(Q,10)}),era:n9({matchPatterns:jD,defaultMatchWidth:"wide",parsePatterns:DD,defaultParseWidth:"any"}),quarter:n9({matchPatterns:AD,defaultMatchWidth:"wide",parsePatterns:SD,defaultParseWidth:"any",valueCallback:(Q)=>Q+1}),month:n9({matchPatterns:vD,defaultMatchWidth:"wide",parsePatterns:kD,defaultParseWidth:"any"}),day:n9({matchPatterns:bD,defaultMatchWidth:"wide",parsePatterns:fD,defaultParseWidth:"any"}),dayPeriod:n9({matchPatterns:yD,defaultMatchWidth:"any",parsePatterns:gD,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)-+Ez(q);return Math.round(Y/_q)+1}function Cq(Q,J){let q=e0(Q,J?.in),Y=q.getFullYear(),U=P8(),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=X2(H,J),F=F5(J?.in||Q,0);F.setFullYear(Y,0,K),F.setHours(0,0,0,0);let R=X2(F,J);if(+q>=+M)return Y+1;else if(+q>=+R)return Y;else return Y-1}function cz(Q,J){let q=P8(),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),X2(K,J)}function lz(Q,J){let q=e0(Q,J?.in),Y=+X2(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 Y2={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 Y2.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=Eq(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 Y2.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 Y2.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 Y2.h(Q,J)},H:function(Q,J,q){if(J==="Ho")return q.ordinalNumber(Q.getHours(),{unit:"hour"});return Y2.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 Y2.m(Q,J)},s:function(Q,J,q){if(J==="so")return q.ordinalNumber(Q.getSeconds(),{unit:"second"});return Y2.s(Q,J)},S:function(Q,J){return Y2.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"})}},hD=(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:hD};var xD=/^D+$/,uD=/^Y+$/,mD=["D","DD","YY","YYYY"];function az(Q){return xD.test(Q)}function tz(Q){return uD.test(Q)}function ez(Q,J,q){let Y=dD(Q,J,q);if(console.warn(Y),mD.includes(Q))throw RangeError(Y)}function dD(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 pD=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,cD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,lD=/^'([^]*?)'?$/,rD=/''/g,sD=/[a-zA-Z]/;function u4(Q,J,q){let Y=P8(),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(cD).map((T)=>{let z=T[0];if(z==="p"||z==="P"){let L=iz[z];return L(T,U.formatLong)}return T}).join("").match(pD).map((T)=>{if(T==="''")return{isToken:!1,value:"'"};let z=T[0];if(z==="'")return{isToken:!1,value:nD(T)};if(lN[z])return{isToken:!0,value:T};if(z.match(sD))throw RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return{isToken:!1,value:T}});if(U.localize.preprocessor)F=U.localize.preprocessor(M,F);let R={firstWeekContainsDate:K,weekStartsOn:H,locale:U};return F.map((T)=>{if(!T.isToken)return T.value;let z=T.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,R)}).join("")}function nD(Q){let J=Q.match(lD);if(!J)return Q;return J[1].replace(rD,"'")}function $V(Q,J,q){let Y=P8(),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,R]=M6(q?.in,...H>0?[J,Q]:[Q,J]),T=bz(R,F),z=(l9(R)-l9(F))/1000,L=Math.round((T-z)/60),P;if(L<2)if(q?.includeSeconds)if(T<5)return U.formatDistance("lessThanXSeconds",5,M);else if(T<10)return U.formatDistance("lessThanXSeconds",10,M);else if(T<20)return U.formatDistance("lessThanXSeconds",20,M);else if(T<40)return U.formatDistance("halfAMinute",0,M);else if(T<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 P=Math.round(L/JQ),U.formatDistance("aboutXMonths",P,M);if(P=kz(R,F),P<12){let I=Math.round(L/JQ);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(Q,J){return $V(Q,Pz(Q),J)}var m5=R0(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 Oq(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 jq(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 R=H.get(F.timestamp)??Y();U(R,F),H.set(F.timestamp,R)}let M=[...H.entries()].sort((F,R)=>F[0]-R[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 R=[...M.entries()].sort((y,m)=>m[1].weight-y[1].weight).slice(0,q),T=new Set(R.map(([y])=>y)),z=new Map;for(let[,{model:y}]of R)z.set(y,(z.get(y)??0)+1);let L=new Map;for(let[y,{model:m,provider:n}]of R)L.set(y,(z.get(m)??0)>1?`${m} (${n})`:m);let P=[...new Set(Q.map((y)=>y.timestamp))].sort((y,m)=>y-m),I=R.map(([y])=>L.get(y)??y);if(Q.some((y)=>!T.has(`${y.model}::${y.provider}`)))I.push("Other");let C=new Map;for(let y of P)C.set(y,{});for(let y of Q){let m=`${y.model}::${y.provider}`,n=T.has(m)?L.get(m)??y.model:"Other",i=C.get(y.timestamp);if(!i)continue;let r=i[n]??U();K(r,y),i[n]=r}return{labels:P.map((y)=>u4(new Date(y),"MMM d")),datasets:I.map((y)=>({label:y,data:P.map((m)=>{let n=C.get(m)?.[y];return n?H(n):0})}))}}function iD({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(iD,{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=R0(G1(),1);P5.register(h4,x4,GQ,u5,g4,L8,_8,V8,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 aD(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 tD(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?tD(Q,Y):aD(Q,Y),[Q,J,Y]),F=Oq({chartTheme:H,showLegend:J,defaultLabel:"Hits",formatValue:QV}),{sharedScaleBase:R,yScale:T}=jq({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),P;if(J){let I={labels:M.labels,datasets:i9(M,(C)=>Dq(Y5[C%Y5.length]))};P=a9.jsxDEV(E4,{data:I,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:F,scales:{x:R,y:T}}},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:{...R,stacked:!0},y:{...T,stacked:!0}},layout:{padding:{top:8}}};P=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:P},void 0,!1,void 0,this)}var rq=R0(e1(),1);var bq=R0(e1(),1);var XV=(Q)=>Q?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").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=R0(e1(),1);var YQ=(...Q)=>Q.filter((J,q,Y)=>{return Boolean(J)&&J.trim()!==""&&Y.indexOf(J)===q}).join(" ").trim();var F6={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??F6.width,K=Q.size??Q.height??F6.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)??[],R=J.includeDefaultClasses===!1?YQ(...F):YQ("lucide",...M,...F),T=J.absoluteStrokeWidth?Number(J.strokeWidth??F6["stroke-width"])*Number(Q.size??Q.width??F6.width)/Number(J.size??J.width??F6.width):J.strokeWidth??F6["stroke-width"];return["svg",{...Object.entries(F6).reduce((L,[P,I])=>{return L[Y(P)]=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")]:T,...R&&{[Y("class")]:R},[Y("viewBox")]:`0 0 ${U} ${K}`,...J.hasA11yProp===!1?{[Y("aria-hidden")]:"true"}:{},..."attributes"in J&&J.attributes},Q.node.map((L)=>{let[P,I,A]=L,C=J.nonScalingStroke?{[Y("vector-effect")]:"non-scaling-stroke",...I}:I;return A?[P,C,A]:[P,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)=>{for(let J in Q)if(J.startsWith("aria-")||J==="role"||J==="title")return!0;return!1};var t9=R0(e1(),1),eD=t9.createContext({});var MV=()=>t9.useContext(eD);var FV=UQ.forwardRef(({color:Q,size:J,width:q,height:Y,strokeWidth:U,absoluteStrokeWidth:K,nonScalingStroke:H,className:M="",children:F,iconNode:R=[],icon:T={node:R,aliases:[],size:24},...z},L)=>{let{size:P=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(T,{color:Q??y,width:q??J??P,height:Y??J??P,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 W6=x0(WV);var wV={name:"circle-alert",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"]};wV.node;var w6=x0(wV);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 R6=x0(RV);var TV={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"]};TV.node;var T6=x0(TV);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 z6=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 P$=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 EV={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};EV.node;var BQ=x0(EV);var PV={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"}]]};PV.node;var HQ=x0(PV);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 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 WQ=x0(OV);var jV={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"}]]};jV.node;var wQ=x0(jV);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 RQ=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 TQ=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 P1=R0(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 U2(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,...U2(q)}]};return P1.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 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 P1.jsxDEV("div",{className:"surface overflow-hidden",children:[P1.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[P1.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),J?P1.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),P1.jsxDEV("div",{className:"overflow-x-auto",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function $A(Q){if(Q==="right")return"text-right";if(Q==="center")return"text-center";return""}function xq({columns:Q,gridTemplate:J}){return P1.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)=>P1.jsxDEV("div",{className:$A(q.align),children:q.label},q.label,!1,void 0,this)),P1.jsxDEV("div",{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function uq({children:Q}){return P1.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 P1.jsxDEV("div",{children:[P1.jsxDEV("div",{className:"font-medium text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),P1.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 P1.jsxDEV("div",{className:"border-t border-[var(--border-subtle)]",children:[P1.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:P1.jsxDEV("div",{className:"grid gap-3 items-center",style:{gridTemplateColumns:Q},children:[J,P1.jsxDEV("div",{className:"h-10",children:q},void 0,!1,void 0,this),P1.jsxDEV("div",{className:"flex justify-center text-[var(--text-muted)]",children:Y?P1.jsxDEV(KQ,{size:16},void 0,!1,void 0,this):P1.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?P1.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 P1.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 P1.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=R0(G1(),1);P5.register(h4,x4,g4,u5,L8,_8,V8);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(()=>QA(J),[J]),M=[...Q].sort((F,R)=>{if(R.totalMessages!==F.totalMessages)return R.totalMessages-F.totalMessages;return hV(R)-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,R)=>{let T=`${F.model}::${F.provider}`,z=H.get(T)?.data??[],L=Y5[R%Y5.length],P=q===T,I=F.totalNegation+F.totalRepetition+F.totalBlame,A=F.totalYelling+F.totalProfanity+F.totalAnguish+I;return r0.jsxDEV(dq,{gridTemplate:gV,isExpanded:P,onToggle:()=>Y(P?null:T),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(O$,{label:"Yelling (CAPS)",total:F.totalYelling,messages:F.totalMessages,valueClass:"text-[var(--accent-amber,#fbbf24)]"},void 0,!1,void 0,this),r0.jsxDEV(O$,{label:"Profanity",total:F.totalProfanity,messages:F.totalMessages,valueClass:"text-[var(--accent-red,#f87171)]"},void 0,!1,void 0,this),r0.jsxDEV(O$,{label:"Anguish (!!!, nooo, dude, ..)",total:F.totalAnguish,messages:F.totalMessages,valueClass:"text-[var(--accent-violet,#a78bfa)]"},void 0,!1,void 0,this),r0.jsxDEV(O$,{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(O$,{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(O$,{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(O$,{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(ZA,{data:z,chartTheme:K},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},T,!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 O$({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 ZA({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),...U2(lq.yelling)},{label:"Profanity",data:Q.map((U)=>U.profanity),...U2(lq.profanity)},{label:"Anguish",data:Q.map((U)=>U.anguish),...U2(lq.anguish)},{label:"Frustration",data:Q.map((U)=>U.frustration),...U2(lq.frustration)}]},Y={responsive:!0,maintainAspectRatio:!1,plugins:gq(J),scales:fV(J)};return r0.jsxDEV(E4,{data:q,options:Y},void 0,!1,void 0,this)}function QA(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=R0(e1(),1),Z7=R0(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 R=`${F.model}::${F.provider}`,T=H.get(R),z=F.yelling+F.profanity+F.anguish+F.negation+F.repetition+F.blame;if(T)T.score+=z;else H.set(R,{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=R0(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 N2=R0(G1(),1);P5.register(h4,x4,g4,u5,L8,_8,V8,c9);var iq=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],GA={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(()=>JA(Q),[Q]),Y=E8(),U=GA[Y],K=oq(J),H={labels:q.data.map((F)=>cV(F.timestamp,J)),datasets:q.series.map((F,R)=>({label:F,data:q.data.map((T)=>T[F]??0),borderColor:iq[R%iq.length],backgroundColor:`${iq[R%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 R=F.dataset.label??"",T=F.parsed.y;return`${R}: ${(T??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 N2.jsxDEV("div",{className:"surface overflow-hidden",children:[N2.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[N2.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:"Model Preference"},void 0,!1,void 0,this),N2.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),N2.jsxDEV("div",{className:"p-5 min-h-[320px]",children:q.data.length===0?N2.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):N2.jsxDEV("div",{className:"h-[280px]",children:N2.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 JA(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}`,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 F=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,P=F.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,F.set(z.timestamp,P)}let R=U.map((z)=>M.get(z.key)??z.model);if([...F.values()].some((z)=>(z.Other??0)>0))R.push("Other");return{data:[...F.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 tq=R0(e1(),1);var aq=R0(G1(),1);P5.register(h4,x4,GQ,u5,g4,L8,_8,V8,c9);var qA={dark:"rgba(248, 250, 252, 0.7)",light:"rgba(15, 23, 42, 0.6)"};function XA(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:R}=K.getProps(["x","y"],!0);q.fillText(M,F,R-3)}q.restore()}}}function YA(Q){return Sq(Q,"Cost",{initBucket:()=>({total:0}),accumulate:(J,q)=>{J.total+=q.cost},bucketToValue:(J)=>J.total})}function UA(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?UA(Q):YA(Q),[Q,J]),H=Oq({chartTheme:U,showLegend:J,defaultLabel:"Cost",formatValue:(T)=>`$${Math.round(T)}`,footer:(T)=>{if(!J||T.length<2)return;let z=T.reduce((L,P)=>L+(P.parsed.y??0),0);return`Total: $${Math.round(z)}`}}),{sharedScaleBase:M,yScale:F}=jq({chartTheme:U,formatY:(T)=>`$${Math.round(T)}`}),R;if(J){let T={labels:K.labels,datasets:i9(K,(L)=>Dq(Y5[L%Y5.length]))};R=aq.jsxDEV(E4,{data:T,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 T={labels:K.labels,datasets:i9(K,(P)=>Aq(Y5[P%Y5.length]))},z=XA(qA[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}}};R=aq.jsxDEV(Vq,{data:T,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:R},void 0,!1,void 0,this)}var Q7=R0(G1(),1);function oN(Q){return`$${Math.round(Q)}`}function nV({costSeries:Q}){let J=Q.reduce((F,R)=>F+R.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,R]of U)if(R>H)K=F,H=R;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=R0(G1(),1),NA=["overview","requests","errors","models","costs","behavior"],KA=[{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(P$,{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:NA.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:KA.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(RQ,{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=R0(e1(),1);var s0=R0(G1(),1);P5.register(h4,x4,g4,u5,L8,_8,V8);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(()=>HA(J,K.bucketCount,K.bucketMs),[J,K.bucketCount,K.bucketMs]),M=E8(),F=fq[M],R=[...Q].sort((T,z)=>z.totalInputTokens+z.totalOutputTokens-(T.totalInputTokens+T.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:R.map((T,z)=>{let L=`${T.model}::${T.provider}`,I=H.get(L)?.data??[],A=Y5[z%Y5.length],C=Y===L,y=T.errorRate*100;return s0.jsxDEV(dq,{gridTemplate:iV,isExpanded:C,onToggle:()=>U(C?null:L),cells:[s0.jsxDEV(mq,{model:T.model,provider:T.provider},"name",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:T.totalRequests.toLocaleString()},"requests",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:["$",T.totalCost.toFixed(2)]},"cost",!0,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:(T.totalInputTokens+T.totalOutputTokens).toLocaleString()},"tokens",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:T.avgTokensPerSecond?.toFixed(1)??"-"},"tps",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:T.avgTtft?`${(T.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:[(T.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:T.avgDuration?`${(T.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:T.avgTtft?`${(T.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(BA,{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 BA({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),...U2("#fbbf24"),yAxisID:"y"},{label:"Tokens/s",data:Q.map((K)=>K.avgTokensPerSecond??null),...U2(J),yAxisID:"y1"}]},U={responsive:!0,maintainAspectRatio:!1,plugins:gq(q),scales:yV(q)};return s0.jsxDEV(E4,{data:Y,options:U},void 0,!1,void 0,this)}function HA(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),R=new Map(F.map((z,L)=>[z,L])),T=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,P=T.get(L);if(!P)P={label:`${z.model} (${z.provider})`,data:F.map((A)=>({timestamp:A,avgTtftSeconds:null,avgTokensPerSecond:null,requests:0}))},T.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 T}var LQ=R0(e1(),1);var X0=R0(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(z6,{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=R0(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(T6,{size:16,className:"text-[var(--accent-red)] mx-auto"},void 0,!1,void 0,this):B1.jsxDEV(R6,{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 K2=R0(G1(),1),MA=new Intl.NumberFormat(void 0,{notation:"compact",maximumFractionDigits:1});function eV(Q){return MA.format(Q)}function iN(Q){return Q.toLocaleString()}var EQ=(Q)=>Q.totalInputTokens+Q.totalOutputTokens,FA=[{key:"requests",title:"Total Requests",icon:TQ,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:P$,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)=>EQ(Q)>0?`${(Q.totalInputTokens/EQ(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)=>EQ(Q)>0?`${(Q.totalOutputTokens/EQ(Q)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"errors",title:"Error Rate",icon:w6,color:"var(--accent-red)",getValue:(Q)=>`${(Q.errorRate*100).toFixed(1)}%`,getDetail:(Q)=>`${Q.failedRequests.toLocaleString()} failed requests`},{key:"tokens",title:"Tokens/Sec",icon:W6,color:"var(--accent-green)",getValue:(Q)=>Q.avgTokensPerSecond?.toFixed(1)??"-",getDetail:(Q)=>`${eV(EQ(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 K2.jsxDEV("div",{className:"grid grid-cols-2 lg:grid-cols-3 xl:grid-cols-9 gap-4 mb-8",children:FA.map((J)=>{let q=J.icon;return K2.jsxDEV("div",{className:"stat-card group",children:[K2.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[K2.jsxDEV("span",{className:"text-sm font-medium text-[var(--text-secondary)]",children:J.title},void 0,!1,void 0,this),K2.jsxDEV("div",{className:"p-2 rounded-[var(--radius-sm)] transition-colors",style:{backgroundColor:`${J.color}15`},children:K2.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),K2.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)] mb-1",children:J.getValue(Q)},void 0,!1,void 0,this),K2.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=R0(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,R]=U5.useState([]),[T,z]=U5.useState([]),[L,P]=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)]);R(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&&P(p.id)},void 0,!1,void 0,this),m0.jsxDEV(_Q,{title:"Recent Errors",requests:T.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),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&&P(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:T,onSelect:(p)=>p.id&&P(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:()=>P(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=R0(G1(),1),WA=ZL.createRoot(document.getElementById("root"));WA.render(QL.jsxDEV(aN,{},void 0,!1,void 0,this));
|
|
257
|
+
`);return Q}function Ij(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 DT(Q,J){let q=Q.chart.ctx,{body:Y,footer:U,title:K}=Q,{boxWidth:H,boxHeight:M}=J,F=p1(J.bodyFont),R=p1(J.titleFont),T=p1(J.footerFont),z=K.length,L=U.length,P=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*R.lineHeight+(z-1)*J.titleSpacing+J.titleMarginBottom;if(y){let i=J.displayColors?Math.max(M,F.lineHeight):F.lineHeight;A+=P*i+(y-P)*F.lineHeight+(y-1)*J.bodySpacing}if(L)A+=J.footerMarginTop+L*T.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=R.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=T.string,X1(Q.footer,n),q.restore(),C+=I.width,{width:C,height:A}}function Oj(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 jj(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 Dj(Q,J,q,Y){let{x:U,width:K}=q,{width:H,chartArea:{left:M,right:F}}=Q,R="center";if(Y==="center")R=U<=(M+F)/2?"left":"right";else if(U<=K/2)R="left";else if(U>=H-K/2)R="right";if(jj(R,Q,J,q))R="center";return R}function AT(Q,J,q){let Y=q.yAlign||J.yAlign||Oj(Q,q);return{xAlign:q.xAlign||J.xAlign||Dj(Q,J,q,Y),yAlign:Y}}function Aj(Q,J){let{x:q,width:Y}=Q;if(J==="right")q-=Y;else if(J==="center")q-=Y/2;return q}function Sj(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 ST(Q,J,q,Y){let{caretSize:U,caretPadding:K,cornerRadius:H}=Q,{xAlign:M,yAlign:F}=q,R=U+K,{topLeft:T,topRight:z,bottomLeft:L,bottomRight:P}=K2(H),I=Aj(J,M),A=Sj(J,F,R);if(F==="center"){if(M==="left")I+=R;else if(M==="right")I-=R}else if(M==="left")I-=Math.max(T,L)+U;else if(M==="right")I+=Math.max(z,P)+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 vT(Q){return T8([],J6(Q))}function vj(Q,J,q){return Q6(Q,{tooltip:J,tooltipItems:q,type:"tooltip"})}function kT(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 q6{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=vj(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=T8(H,J6(Y)),H=T8(H,J6(U)),H=T8(H,J6(K)),H}getBeforeBody(Q,J){return vT(h5(J.callbacks,"beforeBody",this,Q))}getBody(Q,J){let{callbacks:q}=J,Y=[];return X1(Q,(U)=>{let K={before:[],lines:[],after:[]},H=kT(q,U);T8(K.before,J6(h5(H,"beforeLabel",this,U))),T8(K.lines,h5(H,"label",this,U)),T8(K.after,J6(h5(H,"afterLabel",this,U))),Y.push(K)}),Y}getAfterBody(Q,J){return vT(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=T8(H,J6(Y)),H=T8(H,J6(U)),H=T8(H,J6(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(Ij(this.chart,J[M]));if(Q.filter)H=H.filter((R,T,z)=>Q.filter(R,T,z,q));if(Q.itemSort)H=H.sort((R,T)=>Q.itemSort(R,T,q));return X1(H,(R)=>{let T=kT(Q.callbacks,R);Y.push(h5(T,"labelColor",this,R)),U.push(h5(T,"labelPointStyle",this,R)),K.push(h5(T,"labelTextColor",this,R))}),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=DT(this,q),F=Object.assign({},H,M),R=AT(this.chart,q,F),T=ST(q,F,R,this.chart);this.xAlign=R.xAlign,this.yAlign=R.yAlign,U={opacity:1,x:T.x,y:T.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:R,bottomRight:T}=K2(H),{x:z,y:L}=Q,{width:P,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+P,C=A+K,m=n-K,i=n+K;y=A}else{if(Y==="left")C=z+Math.max(M,R)+K;else if(Y==="right")C=z+P-Math.max(F,T)-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,R=p1(U.bodyFont),T=Hq(this,"left",U),z=Y.x(T),L=M<R.lineHeight?(R.lineHeight-M)/2:0,P=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=P+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=K2(K.borderRadius);if(Object.values(C).some((y)=>y!==0))Q.beginPath(),Q.fillStyle=U.multiKeyBackground,p9(Q,{x:I,y:P,w:F,h:M,radius:C}),Q.fill(),Q.stroke(),Q.fillStyle=K.backgroundColor,Q.beginPath(),p9(Q,{x:A,y:P+1,w:F-2,h:M-2,radius:C}),Q.fill();else Q.fillStyle=U.multiKeyBackground,Q.fillRect(I,P,F,M),Q.strokeRect(I,P,F,M),Q.fillStyle=K.backgroundColor,Q.fillRect(A,P+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:R}=q,T=p1(q.bodyFont),z=T.lineHeight,L=0,P=w$(q.rtl,this.x,this.width),I=function(p){J.fillText(p,P.x(Q.x+L),Q.y+z/2),Q.y+=z+U},A=P.textAlign(K),C,y,m,n,i,r,Q0;J.textAlign=K,J.textBaseline="middle",J.font=T.string,Q.x=Hq(this,A,q),J.fillStyle=q.bodyColor,X1(this.beforeBody,I),L=H&&A!=="right"?K==="center"?F/2+R:F+2+R: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,P,q),z=Math.max(T.lineHeight,M);for(i=0,Q0=m.length;i<Q0;++i)I(m[i]),z=T.lineHeight;X1(C.after,I)}L=0,z=T.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:R}=q,{topLeft:T,topRight:z,bottomLeft:L,bottomRight:P}=K2(Y.cornerRadius);if(J.fillStyle=Y.backgroundColor,J.strokeStyle=Y.borderColor,J.lineWidth=Y.borderWidth,J.beginPath(),J.moveTo(H+T,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+R-P),J.quadraticCurveTo(H+F,M+R,H+F-P,M+R),K==="bottom")this.drawCaret(Q,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(Q,J,q,Y);if(J.lineTo(H,M+T),J.quadraticCurveTo(H,M,H+T,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=DT(this,Q),M=Object.assign({},K,this._size),F=AT(J,Q,M),R=ST(Q,M,F,J);if(Y._to!==R.x||U._to!==R.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,R)}}_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 _8={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 kj=(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 bj(Q,J,q,Y){let U=Q.indexOf(J);if(U===-1)return kj(Q,J,q,Y);let K=Q.lastIndexOf(J);return U!==K?q:U}var fj=(Q,J)=>Q===null?null:y5(Math.round(Q),0,J);function bT(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:bT}};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:bj(q,Q,h0(J,Q),this._addedLabels),fj(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 bT.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 yj(Q,J){let q=[],Y=0.00000000000001,{bounds:U,step:K,min:H,max:M,precision:F,count:R,maxTicks:T,maxDigits:z,includeBounds:L}=Q,P=K||1,I=T-1,{min:A,max:C}=J,y=!t0(H),m=!t0(M),n=!t0(R),i=(C-A)/(z+1),r=lU((C-A)/I/P)*P,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/P)*P;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&&VR((M-H)/K,r/1000))Y0=Math.round(Math.min((M-H)/r,T)),r=(M-H)/Y0,p=H,a=M;else if(n)p=y?H:p,a=m?M:a,Y0=R-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,fT(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,fT(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 fT(Q,J,{horizontal:q,minRotation:Y}){let U=$6(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=yj(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=O1(Q)?Q:0,this.max=O1(J)?J:1,this.handleTickRangeOptions()}computeTickLimit(){let Q=this.isHorizontal(),J=Q?this.width:this.height,q=$6(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(e8(Q)),T$=(Q,J)=>Math.pow(10,ZQ(Q)+J);function yT(Q){return Q/Math.pow(10,ZQ(Q))===1}function gT(Q,J,q){let Y=Math.pow(10,q),U=Math.floor(Q/Y);return Math.ceil(J/Y)-U}function gj(Q,J){let q=J-Q,Y=ZQ(q);while(gT(Q,J,Y)>10)Y++;while(gT(Q,J,Y)<10)Y--;return Math.min(Y,ZQ(Q))}function hj(Q,{min:J,max:q}){J=g5(Q.min,J);let Y=[],U=ZQ(J),K=gj(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,R=Math.round((J-F)*H)/H,T=Math.floor((J-F)/M/10)*M*10,z=Math.floor((R-T)/Math.pow(10,K)),L=g5(Q.min,Math.round((F+T+z*Math.pow(10,K))*H)/H);while(L<q){if(Y.push({value:L,major:yT(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+T+z*Math.pow(10,K))*H)/H}let P=g5(Q.max,L);return Y.push({value:P,major:yT(P),significand:z}),Y}class xj 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 O1(q)&&q>0?q:null}determineDataLimits(){let{min:Q,max:J}=this.getMinMax(!0);if(this.min=O1(Q)?Math.max(0,Q):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=Q===T$(this.min,0)?T$(this.min,-1):T$(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(T$(q,-1)),K(T$(Y,1));if(q<=0)U(T$(Y,-1));if(Y<=0)K(T$(q,1));this.min=q,this.max=Y}buildTicks(){let Q=this.options,J={min:this._userMin,max:this._userMax},q=hj(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=e8(Q),this._valueRange=e8(this.max)-e8(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:(e8(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,j1.font.size)+q.height}return 0}function uj(Q,J,q){return q=z1(q)?q:[q],{w:kR(Q,J.string,q),h:q.length*J.lineHeight}}function hT(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 mj(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 R=H.setContext(Q.getPointLabelContext(F));U[F]=R.padding;let T=Q.getPointPosition(F,Q.drawingArea+U[F],M),z=p1(R.font),L=uj(Q.ctx,z,Q._pointLabels[F]);Y[F]=L;let P=k5(Q.getIndexAngle(F)+M),I=Math.round(eJ(P)),A=hT(I,T.x,L.w,0,180),C=hT(I,T.y,L.h,90,270);dj(q,J,P,A,C)}Q.setCenterPoint(J.l-q.l,q.r-J.r,J.t-q.t,q.b-J.b),Q._pointLabelItems=lj(Q,Y,U)}function dj(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 pj(Q,J,q){let Y=Q.drawingArea,{extra:U,additionalAngle:K,padding:H,size:M}=q,F=Q.getPointPosition(J,Y+U+H,K),R=Math.round(eJ(k5(F.angle+b5))),T=nj(F.y,M.h,R),z=rj(R),L=sj(F.x,M.w,z);return{visible:!0,x:F.x,y:T,textAlign:z,left:L,top:T,right:L+M.w,bottom:T+M.h}}function cj(Q,J){if(!J)return!0;let{left:q,top:Y,right:U,bottom:K}=Q;return!(w8({x:q,y:Y},J)||w8({x:q,y:K},J)||w8({x:U,y:Y},J)||w8({x:U,y:K},J))}function lj(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},R;for(let T=0;T<U;T++){F.padding=q[T],F.size=J[T];let z=pj(Q,T,F);if(Y.push(z),M==="auto"){if(z.visible=cj(z,R),z.visible)R=z}}return Y}function rj(Q){if(Q===0||Q===180)return"center";else if(Q<180)return"left";return"right"}function sj(Q,J,q){if(q==="right")Q-=J;else if(q==="center")Q-=J/2;return Q}function nj(Q,J,q){if(q===90||q===270)Q-=J/2;else if(q>270||q<90)Q-=J;return Q}function oj(Q,J,q){let{left:Y,top:U,right:K,bottom:H}=q,{backdropColor:M}=J;if(!t0(M)){let F=K2(J.borderRadius),R=X5(J.backdropPadding);Q.fillStyle=M;let T=Y-R.left,z=U-R.top,L=K-Y+R.width,P=H-U+R.height;if(Object.values(F).some((I)=>I!==0))Q.beginPath(),p9(Q,{x:T,y:z,w:L,h:P,radius:F}),Q.fill();else Q.fillRect(T,z,L,P)}}function ij(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));oj(q,H,K);let M=p1(H.font),{x:F,y:R,textAlign:T}=K;N2(q,Q._pointLabels[U],F,R+M.lineHeight/2,M,{color:H.color,textAlign:T,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 aj(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 tj(Q,J,q){return Q6(Q,{label:q,index:J,type:"pointLabel"})}class ej 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=O1(Q)&&!isNaN(Q)?Q:0,this.max=O1(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)mj(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+$6(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 tj(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)ij(this,K);if(Y.display)this.ticks.forEach((R,T)=>{if(T!==0||T===0&&this.min<0){M=this.getDistanceFromCenterForValue(R.value);let z=this.getContext(T),L=Y.setContext(z),P=U.setContext(z);aj(this,L,M,K,P)}});if(q.display){Q.save();for(H=K-1;H>=0;H--){let R=q.setContext(this.getPointLabelContext(H)),{color:T,lineWidth:z}=R;if(!z||!T)continue;Q.lineWidth=z,Q.strokeStyle=T,Q.setLineDash(R.borderDash),Q.lineDashOffset=R.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)),R=p1(F.font);if(U=this.getDistanceFromCenterForValue(this.ticks[M].value),F.showLabelBackdrop){Q.font=R.string,K=Q.measureText(H.label).width,Q.fillStyle=F.backdropColor;let T=X5(F.backdropPadding);Q.fillRect(-K/2-T.left,-U-R.size/2-T.top,K+T.width,R.size+T.height)}N2(Q,H.label,0,-U,R,{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 xT(Q,J){return Q-J}function uT(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(!O1(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 mT(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 $D(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 ZD(Q){for(let J=x5.indexOf(Q)+1,q=x5.length;J<q;++J)if(zq[x5[J]].common)return x5[J]}function dT(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 QD(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 pT(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:QD(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 uT(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=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 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=PR(Y,U,K);if(this._unit=J.unit||(q.autoSkip?mT(J.minUnit,this.min,this.max,this._getLabelCapacity(U)):$D(this,H.length,J.minUnit,this.min,this.max)),this._majorUnit=!q.major.enabled||this._unit==="year"?void 0:ZD(this._unit),this.initOffsets(Y),Q.reverse)H.reverse();return pT(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||mT(U.minUnit,J,q,this._getLabelCapacity(J)),H=h0(Y.ticks.stepSize,1),M=K==="week"?U.isoWeekday:!1,F=d9(M)||M===!0,R={},T=J,z,L;if(F)T=+Q.startOf(T,"isoWeek",M);if(T=+Q.startOf(T,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 P=Y.ticks.source==="data"&&this.getDataTimestamps();for(z=T,L=0;z<q;z=+Q.add(z,H,K),L++)dT(R,z,P);if(z===q||Y.bounds==="ticks"||L===1)dT(R,z,P);return Object.keys(R).sort(xT).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,R=M&&H[M],T=F&&H[F],z=q[J],L=F&&T&&z&&z.major;return this._adapter.format(Q,Y||(L?T:R))}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=$6(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,pT(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(uT(this,Y[J]));return this._cache.labels=this._normalized?Q:this.normalize(Q)}normalize(Q){return iU(Q.sort(xT))}}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}=q2(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}=q2(Q,"time",J));({time:K,pos:M}=Q[Y]),{time:H,pos:F}=Q[U]}let R=H-K;return R?M+(F-M)*(J-K)/R:M}class GD 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,R;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(R=Y[K+1],M=Y[K-1],F=Y[K],Math.round((R+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=R0(e1(),1);var mN=R0(Fz(),1),q4=R0(e1(),1);var wz="label";function Wz(Q,J){if(typeof Q==="function")Q(J);else if(Q)Q.current=J}function qD(Q,J){let q=Q.options;if(q&&J)Object.assign(q,J)}function Rz(Q,J){Q.labels=J}function Tz(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 XD(Q,J=wz){let q={labels:[],datasets:[]};return Rz(q,Q.labels),Tz(q,Q.datasets,J),q}function YD(Q,J){let{height:q=150,width:Y=300,redraw:U=!1,datasetIdKey:K,type:H,data:M,options:F,plugins:R=[],fallbackContent:T,updateMode:z,...L}=Q,P=q4.useRef(null),I=q4.useRef(null),A=()=>{if(!P.current)return;I.current=new P5(P.current,{type:H,data:XD(M,K),options:F&&{...F},plugins:R}),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)qD(I.current,F)},[U,F]),q4.useEffect(()=>{if(!U&&I.current)Rz(I.current.config.data,M.labels)},[U,M.labels]),q4.useEffect(()=>{if(!U&&I.current&&M.datasets)Tz(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:P,role:"img",height:q,width:Y,...L,children:T})}var UD=q4.forwardRef(YD);function zz(Q,J){return P5.register(J),q4.forwardRef((q,Y)=>mN.jsx(UD,{...q,ref:Y,type:Q}))}var E4=zz("line",yN),Vq=zz("bar",fN);var Lq=R0(e1(),1),Vz="(prefers-color-scheme: dark)";function ND(){if(typeof window>"u")return"light";return window.matchMedia(Vz).matches?"dark":"light"}function E8(){let[Q,J]=Lq.useState(()=>ND());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 KD=Math.pow(10,8)*24*60*60*1000,Tv=-KD,_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 BD={};function P8(){return BD}function X6(Q,J){let q=P8(),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 X6(Q,{...J,weekStartsOn:1})}function Eq(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 M2(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]=M2(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 Ez(Q,J){let q=Eq(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 Pz(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 Oz(Q,J,q){let[Y,U]=M2(q?.in,Q,J),K=Y.getFullYear()-U.getFullYear(),H=Y.getMonth()-U.getMonth();return K*12+H}function jz(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]=M2(q?.in,Q,Q,J),H=r9(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 F=r9(U,K)===-H;if(vz(Y)&&M===1&&r9(Y,K)===1)F=!1;let R=H*(M-+F);return R===0?0:R}function bz(Q,J,q){let Y=Dz(Q,J)/1000;return jz(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 HD={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=HD[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 Pq(Q){return(J={})=>{let q=J.width?String(J.width):Q.defaultWidth;return Q.formats[q]||Q.formats[Q.defaultWidth]}}var MD={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},FD={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:Pq({formats:MD,defaultWidth:"full"}),time:Pq({formats:FD,defaultWidth:"full"}),dateTime:Pq({formats:WD,defaultWidth:"full"})};var wD={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)=>wD[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"]},TD={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},zD={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"]},VD={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"]},LD={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"}},_D={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:TD,defaultWidth:"wide",argumentCallback:(Q)=>Q-1}),month:s9({values:zD,defaultWidth:"wide"}),day:s9({values:VD,defaultWidth:"wide"}),dayPeriod:s9({values:LD,defaultWidth:"wide",formattingValues:_D,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)?CD(M,(z)=>z.test(H)):PD(M,(z)=>z.test(H)),R;R=Q.valueCallback?Q.valueCallback(F):F,R=q.valueCallback?q.valueCallback(R):R;let T=J.slice(H.length);return{value:R,rest:T}}}function PD(Q,J){for(let q in Q)if(Object.prototype.hasOwnProperty.call(Q,q)&&J(Q[q]))return q;return}function CD(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 ID=/^(\d+)(th|st|nd|rd)?/i,OD=/\d+/i,jD={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},DD={any:[/^b/i,/^(a|c)/i]},AD={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},SD={any:[/1/i,/2/i,/3/i,/4/i]},vD={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},kD={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]},bD={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},fD={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]},yD={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},gD={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:ID,parsePattern:OD,valueCallback:(Q)=>parseInt(Q,10)}),era:n9({matchPatterns:jD,defaultMatchWidth:"wide",parsePatterns:DD,defaultParseWidth:"any"}),quarter:n9({matchPatterns:AD,defaultMatchWidth:"wide",parsePatterns:SD,defaultParseWidth:"any",valueCallback:(Q)=>Q+1}),month:n9({matchPatterns:vD,defaultMatchWidth:"wide",parsePatterns:kD,defaultParseWidth:"any"}),day:n9({matchPatterns:bD,defaultMatchWidth:"wide",parsePatterns:fD,defaultParseWidth:"any"}),dayPeriod:n9({matchPatterns:yD,defaultMatchWidth:"any",parsePatterns:gD,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)-+Ez(q);return Math.round(Y/_q)+1}function Cq(Q,J){let q=e0(Q,J?.in),Y=q.getFullYear(),U=P8(),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=X6(H,J),F=F5(J?.in||Q,0);F.setFullYear(Y,0,K),F.setHours(0,0,0,0);let R=X6(F,J);if(+q>=+M)return Y+1;else if(+q>=+R)return Y;else return Y-1}function cz(Q,J){let q=P8(),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),X6(K,J)}function lz(Q,J){let q=e0(Q,J?.in),Y=+X6(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 Y6={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 Y6.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=Eq(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 Y6.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 Y6.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 Y6.h(Q,J)},H:function(Q,J,q){if(J==="Ho")return q.ordinalNumber(Q.getHours(),{unit:"hour"});return Y6.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 Y6.m(Q,J)},s:function(Q,J,q){if(J==="so")return q.ordinalNumber(Q.getSeconds(),{unit:"second"});return Y6.s(Q,J)},S:function(Q,J){return Y6.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"})}},hD=(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:hD};var xD=/^D+$/,uD=/^Y+$/,mD=["D","DD","YY","YYYY"];function az(Q){return xD.test(Q)}function tz(Q){return uD.test(Q)}function ez(Q,J,q){let Y=dD(Q,J,q);if(console.warn(Y),mD.includes(Q))throw RangeError(Y)}function dD(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 pD=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,cD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,lD=/^'([^]*?)'?$/,rD=/''/g,sD=/[a-zA-Z]/;function u4(Q,J,q){let Y=P8(),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(cD).map((T)=>{let z=T[0];if(z==="p"||z==="P"){let L=iz[z];return L(T,U.formatLong)}return T}).join("").match(pD).map((T)=>{if(T==="''")return{isToken:!1,value:"'"};let z=T[0];if(z==="'")return{isToken:!1,value:nD(T)};if(lN[z])return{isToken:!0,value:T};if(z.match(sD))throw RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return{isToken:!1,value:T}});if(U.localize.preprocessor)F=U.localize.preprocessor(M,F);let R={firstWeekContainsDate:K,weekStartsOn:H,locale:U};return F.map((T)=>{if(!T.isToken)return T.value;let z=T.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,R)}).join("")}function nD(Q){let J=Q.match(lD);if(!J)return Q;return J[1].replace(rD,"'")}function $V(Q,J,q){let Y=P8(),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,R]=M2(q?.in,...H>0?[J,Q]:[Q,J]),T=bz(R,F),z=(l9(R)-l9(F))/1000,L=Math.round((T-z)/60),P;if(L<2)if(q?.includeSeconds)if(T<5)return U.formatDistance("lessThanXSeconds",5,M);else if(T<10)return U.formatDistance("lessThanXSeconds",10,M);else if(T<20)return U.formatDistance("lessThanXSeconds",20,M);else if(T<40)return U.formatDistance("halfAMinute",0,M);else if(T<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 P=Math.round(L/JQ),U.formatDistance("aboutXMonths",P,M);if(P=kz(R,F),P<12){let I=Math.round(L/JQ);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(Q,J){return $V(Q,Pz(Q),J)}var m5=R0(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 Oq(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 jq(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 R=H.get(F.timestamp)??Y();U(R,F),H.set(F.timestamp,R)}let M=[...H.entries()].sort((F,R)=>F[0]-R[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 R=[...M.entries()].sort((y,m)=>m[1].weight-y[1].weight).slice(0,q),T=new Set(R.map(([y])=>y)),z=new Map;for(let[,{model:y}]of R)z.set(y,(z.get(y)??0)+1);let L=new Map;for(let[y,{model:m,provider:n}]of R)L.set(y,(z.get(m)??0)>1?`${m} (${n})`:m);let P=[...new Set(Q.map((y)=>y.timestamp))].sort((y,m)=>y-m),I=R.map(([y])=>L.get(y)??y);if(Q.some((y)=>!T.has(`${y.model}::${y.provider}`)))I.push("Other");let C=new Map;for(let y of P)C.set(y,{});for(let y of Q){let m=`${y.model}::${y.provider}`,n=T.has(m)?L.get(m)??y.model:"Other",i=C.get(y.timestamp);if(!i)continue;let r=i[n]??U();K(r,y),i[n]=r}return{labels:P.map((y)=>u4(new Date(y),"MMM d")),datasets:I.map((y)=>({label:y,data:P.map((m)=>{let n=C.get(m)?.[y];return n?H(n):0})}))}}function iD({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(iD,{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=R0(G1(),1);P5.register(h4,x4,GQ,u5,g4,L8,_8,V8,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 aD(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 tD(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?tD(Q,Y):aD(Q,Y),[Q,J,Y]),F=Oq({chartTheme:H,showLegend:J,defaultLabel:"Hits",formatValue:QV}),{sharedScaleBase:R,yScale:T}=jq({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),P;if(J){let I={labels:M.labels,datasets:i9(M,(C)=>Dq(Y5[C%Y5.length]))};P=a9.jsxDEV(E4,{data:I,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:F,scales:{x:R,y:T}}},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:{...R,stacked:!0},y:{...T,stacked:!0}},layout:{padding:{top:8}}};P=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:P},void 0,!1,void 0,this)}var rq=R0(e1(),1);var bq=R0(e1(),1);var XV=(Q)=>Q?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").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=R0(e1(),1);var YQ=(...Q)=>Q.filter((J,q,Y)=>{return Boolean(J)&&J.trim()!==""&&Y.indexOf(J)===q}).join(" ").trim();var F2={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??F2.width,K=Q.size??Q.height??F2.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)??[],R=J.includeDefaultClasses===!1?YQ(...F):YQ("lucide",...M,...F),T=J.absoluteStrokeWidth?Number(J.strokeWidth??F2["stroke-width"])*Number(Q.size??Q.width??F2.width)/Number(J.size??J.width??F2.width):J.strokeWidth??F2["stroke-width"];return["svg",{...Object.entries(F2).reduce((L,[P,I])=>{return L[Y(P)]=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")]:T,...R&&{[Y("class")]:R},[Y("viewBox")]:`0 0 ${U} ${K}`,...J.hasA11yProp===!1?{[Y("aria-hidden")]:"true"}:{},..."attributes"in J&&J.attributes},Q.node.map((L)=>{let[P,I,A]=L,C=J.nonScalingStroke?{[Y("vector-effect")]:"non-scaling-stroke",...I}:I;return A?[P,C,A]:[P,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)=>{for(let J in Q)if(J.startsWith("aria-")||J==="role"||J==="title")return!0;return!1};var t9=R0(e1(),1),eD=t9.createContext({});var MV=()=>t9.useContext(eD);var FV=UQ.forwardRef(({color:Q,size:J,width:q,height:Y,strokeWidth:U,absoluteStrokeWidth:K,nonScalingStroke:H,className:M="",children:F,iconNode:R=[],icon:T={node:R,aliases:[],size:24},...z},L)=>{let{size:P=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(T,{color:Q??y,width:q??J??P,height:Y??J??P,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-alert",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"]};wV.node;var w2=x0(wV);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 R2=x0(RV);var TV={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"]};TV.node;var T2=x0(TV);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 P$=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 EV={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};EV.node;var BQ=x0(EV);var PV={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"}]]};PV.node;var HQ=x0(PV);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 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 WQ=x0(OV);var jV={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"}]]};jV.node;var wQ=x0(jV);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 RQ=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 TQ=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 P1=R0(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 U6(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,...U6(q)}]};return P1.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 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 P1.jsxDEV("div",{className:"surface overflow-hidden",children:[P1.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[P1.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),J?P1.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),P1.jsxDEV("div",{className:"overflow-x-auto",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function $A(Q){if(Q==="right")return"text-right";if(Q==="center")return"text-center";return""}function xq({columns:Q,gridTemplate:J}){return P1.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)=>P1.jsxDEV("div",{className:$A(q.align),children:q.label},q.label,!1,void 0,this)),P1.jsxDEV("div",{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function uq({children:Q}){return P1.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 P1.jsxDEV("div",{children:[P1.jsxDEV("div",{className:"font-medium text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),P1.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 P1.jsxDEV("div",{className:"border-t border-[var(--border-subtle)]",children:[P1.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:P1.jsxDEV("div",{className:"grid gap-3 items-center",style:{gridTemplateColumns:Q},children:[J,P1.jsxDEV("div",{className:"h-10",children:q},void 0,!1,void 0,this),P1.jsxDEV("div",{className:"flex justify-center text-[var(--text-muted)]",children:Y?P1.jsxDEV(KQ,{size:16},void 0,!1,void 0,this):P1.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?P1.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 P1.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 P1.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=R0(G1(),1);P5.register(h4,x4,g4,u5,L8,_8,V8);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(()=>QA(J),[J]),M=[...Q].sort((F,R)=>{if(R.totalMessages!==F.totalMessages)return R.totalMessages-F.totalMessages;return hV(R)-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,R)=>{let T=`${F.model}::${F.provider}`,z=H.get(T)?.data??[],L=Y5[R%Y5.length],P=q===T,I=F.totalNegation+F.totalRepetition+F.totalBlame,A=F.totalYelling+F.totalProfanity+F.totalAnguish+I;return r0.jsxDEV(dq,{gridTemplate:gV,isExpanded:P,onToggle:()=>Y(P?null:T),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(O$,{label:"Yelling (CAPS)",total:F.totalYelling,messages:F.totalMessages,valueClass:"text-[var(--accent-amber,#fbbf24)]"},void 0,!1,void 0,this),r0.jsxDEV(O$,{label:"Profanity",total:F.totalProfanity,messages:F.totalMessages,valueClass:"text-[var(--accent-red,#f87171)]"},void 0,!1,void 0,this),r0.jsxDEV(O$,{label:"Anguish (!!!, nooo, dude, ..)",total:F.totalAnguish,messages:F.totalMessages,valueClass:"text-[var(--accent-violet,#a78bfa)]"},void 0,!1,void 0,this),r0.jsxDEV(O$,{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(O$,{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(O$,{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(O$,{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(ZA,{data:z,chartTheme:K},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},T,!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 O$({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 ZA({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),...U6(lq.yelling)},{label:"Profanity",data:Q.map((U)=>U.profanity),...U6(lq.profanity)},{label:"Anguish",data:Q.map((U)=>U.anguish),...U6(lq.anguish)},{label:"Frustration",data:Q.map((U)=>U.frustration),...U6(lq.frustration)}]},Y={responsive:!0,maintainAspectRatio:!1,plugins:gq(J),scales:fV(J)};return r0.jsxDEV(E4,{data:q,options:Y},void 0,!1,void 0,this)}function QA(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=R0(e1(),1),Z7=R0(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 R=`${F.model}::${F.provider}`,T=H.get(R),z=F.yelling+F.profanity+F.anguish+F.negation+F.repetition+F.blame;if(T)T.score+=z;else H.set(R,{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=R0(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 N6=R0(G1(),1);P5.register(h4,x4,g4,u5,L8,_8,V8,c9);var iq=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],GA={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(()=>JA(Q),[Q]),Y=E8(),U=GA[Y],K=oq(J),H={labels:q.data.map((F)=>cV(F.timestamp,J)),datasets:q.series.map((F,R)=>({label:F,data:q.data.map((T)=>T[F]??0),borderColor:iq[R%iq.length],backgroundColor:`${iq[R%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 R=F.dataset.label??"",T=F.parsed.y;return`${R}: ${(T??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 N6.jsxDEV("div",{className:"surface overflow-hidden",children:[N6.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[N6.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:"Model Preference"},void 0,!1,void 0,this),N6.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),N6.jsxDEV("div",{className:"p-5 min-h-[320px]",children:q.data.length===0?N6.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):N6.jsxDEV("div",{className:"h-[280px]",children:N6.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 JA(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}`,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 F=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,P=F.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,F.set(z.timestamp,P)}let R=U.map((z)=>M.get(z.key)??z.model);if([...F.values()].some((z)=>(z.Other??0)>0))R.push("Other");return{data:[...F.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 tq=R0(e1(),1);var aq=R0(G1(),1);P5.register(h4,x4,GQ,u5,g4,L8,_8,V8,c9);var qA={dark:"rgba(248, 250, 252, 0.7)",light:"rgba(15, 23, 42, 0.6)"};function XA(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:R}=K.getProps(["x","y"],!0);q.fillText(M,F,R-3)}q.restore()}}}function YA(Q){return Sq(Q,"Cost",{initBucket:()=>({total:0}),accumulate:(J,q)=>{J.total+=q.cost},bucketToValue:(J)=>J.total})}function UA(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?UA(Q):YA(Q),[Q,J]),H=Oq({chartTheme:U,showLegend:J,defaultLabel:"Cost",formatValue:(T)=>`$${Math.round(T)}`,footer:(T)=>{if(!J||T.length<2)return;let z=T.reduce((L,P)=>L+(P.parsed.y??0),0);return`Total: $${Math.round(z)}`}}),{sharedScaleBase:M,yScale:F}=jq({chartTheme:U,formatY:(T)=>`$${Math.round(T)}`}),R;if(J){let T={labels:K.labels,datasets:i9(K,(L)=>Dq(Y5[L%Y5.length]))};R=aq.jsxDEV(E4,{data:T,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 T={labels:K.labels,datasets:i9(K,(P)=>Aq(Y5[P%Y5.length]))},z=XA(qA[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}}};R=aq.jsxDEV(Vq,{data:T,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:R},void 0,!1,void 0,this)}var Q7=R0(G1(),1);function oN(Q){return`$${Math.round(Q)}`}function nV({costSeries:Q}){let J=Q.reduce((F,R)=>F+R.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,R]of U)if(R>H)K=F,H=R;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=R0(G1(),1),NA=["overview","requests","errors","models","costs","behavior"],KA=[{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(P$,{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:NA.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:KA.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(RQ,{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=R0(e1(),1);var s0=R0(G1(),1);P5.register(h4,x4,g4,u5,L8,_8,V8);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(()=>HA(J,K.bucketCount,K.bucketMs),[J,K.bucketCount,K.bucketMs]),M=E8(),F=fq[M],R=[...Q].sort((T,z)=>z.totalInputTokens+z.totalOutputTokens-(T.totalInputTokens+T.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:R.map((T,z)=>{let L=`${T.model}::${T.provider}`,I=H.get(L)?.data??[],A=Y5[z%Y5.length],C=Y===L,y=T.errorRate*100;return s0.jsxDEV(dq,{gridTemplate:iV,isExpanded:C,onToggle:()=>U(C?null:L),cells:[s0.jsxDEV(mq,{model:T.model,provider:T.provider},"name",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:T.totalRequests.toLocaleString()},"requests",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:["$",T.totalCost.toFixed(2)]},"cost",!0,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:(T.totalInputTokens+T.totalOutputTokens).toLocaleString()},"tokens",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:T.avgTokensPerSecond?.toFixed(1)??"-"},"tps",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:T.avgTtft?`${(T.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:[(T.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:T.avgDuration?`${(T.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:T.avgTtft?`${(T.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(BA,{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 BA({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),...U6("#fbbf24"),yAxisID:"y"},{label:"Tokens/s",data:Q.map((K)=>K.avgTokensPerSecond??null),...U6(J),yAxisID:"y1"}]},U={responsive:!0,maintainAspectRatio:!1,plugins:gq(q),scales:yV(q)};return s0.jsxDEV(E4,{data:Y,options:U},void 0,!1,void 0,this)}function HA(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),R=new Map(F.map((z,L)=>[z,L])),T=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,P=T.get(L);if(!P)P={label:`${z.model} (${z.provider})`,data:F.map((A)=>({timestamp:A,avgTtftSeconds:null,avgTokensPerSecond:null,requests:0}))},T.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 T}var LQ=R0(e1(),1);var X0=R0(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=R0(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(T2,{size:16,className:"text-[var(--accent-red)] mx-auto"},void 0,!1,void 0,this):B1.jsxDEV(R2,{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 K6=R0(G1(),1),MA=new Intl.NumberFormat(void 0,{notation:"compact",maximumFractionDigits:1});function eV(Q){return MA.format(Q)}function iN(Q){return Q.toLocaleString()}var EQ=(Q)=>Q.totalInputTokens+Q.totalOutputTokens,FA=[{key:"requests",title:"Total Requests",icon:TQ,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:P$,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)=>EQ(Q)>0?`${(Q.totalInputTokens/EQ(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)=>EQ(Q)>0?`${(Q.totalOutputTokens/EQ(Q)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"errors",title:"Error Rate",icon:w2,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(EQ(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 K6.jsxDEV("div",{className:"grid grid-cols-2 lg:grid-cols-3 xl:grid-cols-9 gap-4 mb-8",children:FA.map((J)=>{let q=J.icon;return K6.jsxDEV("div",{className:"stat-card group",children:[K6.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[K6.jsxDEV("span",{className:"text-sm font-medium text-[var(--text-secondary)]",children:J.title},void 0,!1,void 0,this),K6.jsxDEV("div",{className:"p-2 rounded-[var(--radius-sm)] transition-colors",style:{backgroundColor:`${J.color}15`},children:K6.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),K6.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)] mb-1",children:J.getValue(Q)},void 0,!1,void 0,this),K6.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=R0(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,R]=U5.useState([]),[T,z]=U5.useState([]),[L,P]=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)]);R(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&&P(p.id)},void 0,!1,void 0,this),m0.jsxDEV(_Q,{title:"Recent Errors",requests:T.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),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&&P(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:T,onSelect:(p)=>p.id&&P(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:()=>P(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=R0(G1(),1),WA=ZL.createRoot(document.getElementById("root"));WA.render(QL.jsxDEV(aN,{},void 0,!1,void 0,this));
|