add user search in SearchController, add start and end datetime in events table

This commit is contained in:
Giovanni committed 2025-12-09 12:28:02 +01:00
1 parent da20be4558
commit 8426755db3
89 files changed
+4684 -11

No files matched your search

+76
View File
@@ -0,0 +1,76 @@
(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&s(f)}).observe(document,{childList:!0,subtree:!0});function l(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function s(o){if(o.ep)return;o.ep=!0;const u=l(o);fetch(o.href,u)}})();var vf={exports:{}},Es={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var np;function Qb(){if(np)return Es;np=1;var a=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function l(s,o,u){var f=null;if(u!==void 0&&(f=""+u),o.key!==void 0&&(f=""+o.key),"key"in o){u={};for(var h in o)h!=="key"&&(u[h]=o[h])}else u=o;return o=u.ref,{$$typeof:a,type:s,key:f,ref:o!==void 0?o:null,props:u}}return Es.Fragment=n,Es.jsx=l,Es.jsxs=l,Es}var ap;function $b(){return ap||(ap=1,vf.exports=Qb()),vf.exports}var S=$b(),yf={exports:{}},Et={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ip;function Kb(){if(ip)return Et;ip=1;var a=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),_=Symbol.iterator;function x(C){return C===null||typeof C!="object"?null:(C=_&&C[_]||C["@@iterator"],typeof C=="function"?C:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,q={};function B(C,Y,J){this.props=C,this.context=Y,this.refs=q,this.updater=J||D}B.prototype.isReactComponent={},B.prototype.setState=function(C,Y){if(typeof C!="object"&&typeof C!="function"&&C!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,C,Y,"setState")},B.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function X(){}X.prototype=B.prototype;function $(C,Y,J){this.props=C,this.context=Y,this.refs=q,this.updater=J||D}var at=$.prototype=new X;at.constructor=$,H(at,B.prototype),at.isPureReactComponent=!0;var W=Array.isArray;function A(){}var F={H:null,A:null,T:null,S:null},ut=Object.prototype.hasOwnProperty;function it(C,Y,J){var I=J.ref;return{$$typeof:a,type:C,key:Y,ref:I!==void 0?I:null,props:J}}function mt(C,Y){return it(C.type,Y,C.props)}function Ot(C){return typeof C=="object"&&C!==null&&C.$$typeof===a}function Mt(C){var Y={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(J){return Y[J]})}var xt=/\/+/g;function St(C,Y){return typeof C=="object"&&C!==null&&C.key!=null?Mt(""+C.key):Y.toString(36)}function pt(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(A,A):(C.status="pending",C.then(function(Y){C.status==="pending"&&(C.status="fulfilled",C.value=Y)},function(Y){C.status==="pending"&&(C.status="rejected",C.reason=Y)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function R(C,Y,J,I,vt){var yt=typeof C;(yt==="undefined"||yt==="boolean")&&(C=null);var Ht=!1;if(C===null)Ht=!0;else switch(yt){case"bigint":case"string":case"number":Ht=!0;break;case"object":switch(C.$$typeof){case a:case n:Ht=!0;break;case v:return Ht=C._init,R(Ht(C._payload),Y,J,I,vt)}}if(Ht)return vt=vt(C),Ht=I===""?"."+St(C,0):I,W(vt)?(J="",Ht!=null&&(J=Ht.replace(xt,"$&/")+"/"),R(vt,Y,J,"",function(ne){return ne})):vt!=null&&(Ot(vt)&&(vt=mt(vt,J+(vt.key==null||C&&C.key===vt.key?"":(""+vt.key).replace(xt,"$&/")+"/")+Ht)),Y.push(vt)),1;Ht=0;var xe=I===""?".":I+":";if(W(C))for(var ee=0;ee<C.length;ee++)I=C[ee],yt=xe+St(I,ee),Ht+=R(I,Y,J,yt,vt);else if(ee=x(C),typeof ee=="function")for(C=ee.call(C),ee=0;!(I=C.next()).done;)I=I.value,yt=xe+St(I,ee++),Ht+=R(I,Y,J,yt,vt);else if(yt==="object"){if(typeof C.then=="function")return R(pt(C),Y,J,I,vt);throw Y=String(C),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return Ht}function Q(C,Y,J){if(C==null)return C;var I=[],vt=0;return R(C,I,"","",function(yt){return Y.call(J,yt,vt++)}),I}function tt(C){if(C._status===-1){var Y=C._result;Y=Y(),Y.then(function(J){(C._status===0||C._status===-1)&&(C._status=1,C._result=J)},function(J){(C._status===0||C._status===-1)&&(C._status=2,C._result=J)}),C._status===-1&&(C._status=0,C._result=Y)}if(C._status===1)return C._result.default;throw C._result}var ft=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},_t={map:Q,forEach:function(C,Y,J){Q(C,function(){Y.apply(this,arguments)},J)},count:function(C){var Y=0;return Q(C,function(){Y++}),Y},toArray:function(C){return Q(C,function(Y){return Y})||[]},only:function(C){if(!Ot(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};return Et.Activity=y,Et.Children=_t,Et.Component=B,Et.Fragment=l,Et.Profiler=o,Et.PureComponent=$,Et.StrictMode=s,Et.Suspense=m,Et.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,Et.__COMPILER_RUNTIME={__proto__:null,c:function(C){return F.H.useMemoCache(C)}},Et.cache=function(C){return function(){return C.apply(null,arguments)}},Et.cacheSignal=function(){return null},Et.cloneElement=function(C,Y,J){if(C==null)throLine truncated
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var sp;function Fb(){return sp||(sp=1,(function(a){function n(R,Q){var tt=R.length;R.push(Q);t:for(;0<tt;){var ft=tt-1>>>1,_t=R[ft];if(0<o(_t,Q))R[ft]=Q,R[tt]=_t,tt=ft;else break t}}function l(R){return R.length===0?null:R[0]}function s(R){if(R.length===0)return null;var Q=R[0],tt=R.pop();if(tt!==Q){R[0]=tt;t:for(var ft=0,_t=R.length,C=_t>>>1;ft<C;){var Y=2*(ft+1)-1,J=R[Y],I=Y+1,vt=R[I];if(0>o(J,tt))I<_t&&0>o(vt,J)?(R[ft]=vt,R[I]=tt,ft=I):(R[ft]=J,R[Y]=tt,ft=Y);else if(I<_t&&0>o(vt,tt))R[ft]=vt,R[I]=tt,ft=I;else break t}}return Q}function o(R,Q){var tt=R.sortIndex-Q.sortIndex;return tt!==0?tt:R.id-Q.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;a.unstable_now=function(){return u.now()}}else{var f=Date,h=f.now();a.unstable_now=function(){return f.now()-h}}var m=[],g=[],v=1,y=null,_=3,x=!1,D=!1,H=!1,q=!1,B=typeof setTimeout=="function"?setTimeout:null,X=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;function at(R){for(var Q=l(g);Q!==null;){if(Q.callback===null)s(g);else if(Q.startTime<=R)s(g),Q.sortIndex=Q.expirationTime,n(m,Q);else break;Q=l(g)}}function W(R){if(H=!1,at(R),!D)if(l(m)!==null)D=!0,A||(A=!0,Mt());else{var Q=l(g);Q!==null&&pt(W,Q.startTime-R)}}var A=!1,F=-1,ut=5,it=-1;function mt(){return q?!0:!(a.unstable_now()-it<ut)}function Ot(){if(q=!1,A){var R=a.unstable_now();it=R;var Q=!0;try{t:{D=!1,H&&(H=!1,X(F),F=-1),x=!0;var tt=_;try{e:{for(at(R),y=l(m);y!==null&&!(y.expirationTime>R&&mt());){var ft=y.callback;if(typeof ft=="function"){y.callback=null,_=y.priorityLevel;var _t=ft(y.expirationTime<=R);if(R=a.unstable_now(),typeof _t=="function"){y.callback=_t,at(R),Q=!0;break e}y===l(m)&&s(m),at(R)}else s(m);y=l(m)}if(y!==null)Q=!0;else{var C=l(g);C!==null&&pt(W,C.startTime-R),Q=!1}}break t}finally{y=null,_=tt,x=!1}Q=void 0}}finally{Q?Mt():A=!1}}}var Mt;if(typeof $=="function")Mt=function(){$(Ot)};else if(typeof MessageChannel<"u"){var xt=new MessageChannel,St=xt.port2;xt.port1.onmessage=Ot,Mt=function(){St.postMessage(null)}}else Mt=function(){B(Ot,0)};function pt(R,Q){F=B(function(){R(a.unstable_now())},Q)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(R){R.callback=null},a.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ut=0<R?Math.floor(1e3/R):5},a.unstable_getCurrentPriorityLevel=function(){return _},a.unstable_next=function(R){switch(_){case 1:case 2:case 3:var Q=3;break;default:Q=_}var tt=_;_=Q;try{return R()}finally{_=tt}},a.unstable_requestPaint=function(){q=!0},a.unstable_runWithPriority=function(R,Q){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var tt=_;_=R;try{return Q()}finally{_=tt}},a.unstable_scheduleCallback=function(R,Q,tt){var ft=a.unstable_now();switch(typeof tt=="object"&&tt!==null?(tt=tt.delay,tt=typeof tt=="number"&&0<tt?ft+tt:ft):tt=ft,R){case 1:var _t=-1;break;case 2:_t=250;break;case 5:_t=1073741823;break;case 4:_t=1e4;break;default:_t=5e3}return _t=tt+_t,R={id:v++,callback:Q,priorityLevel:R,startTime:tt,expirationTime:_t,sortIndex:-1},tt>ft?(R.sortIndex=tt,n(g,R),l(m)===null&&R===l(g)&&(H?(X(F),F=-1):H=!0,pt(W,tt-ft))):(R.sortIndex=_t,n(m,R),D||x||(D=!0,A||(A=!0,Mt()))),R},a.unstable_shouldYield=mt,a.unstable_wrapCallback=function(R){var Q=_;return function(){var tt=_;_=Q;try{return R.apply(this,arguments)}finally{_=tt}}}})(xf)),xf}var rp;function Jb(){return rp||(rp=1,_f.exports=Fb()),_f.exports}var Sf={exports:{}},Ae={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var op;function Wb(){if(op)return Ae;op=1;var a=$f();function n(m){var g="https://react.dev/errors/"+m;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)g+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+m+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var s={d:{f:l,r:function(){throw Error(n(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},o=Symbol.for("react.portal");function u(m,g,v){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:y==null?null:""+y,children:m,containerInfo:g,implementation:v}}var f=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(m,g){if(m==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Ae.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Ae.createPortal=function(m,g){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(n(299));return u(m,g,null,v)},Ae.flushSync=function(m){var g=f.T,v=s.p;try{if(f.T=null,s.p=2,m)return m()}finally{f.T=g,s.p=v,s.d.f()}},Ae.preconnect=function(m,g){typeof m=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,s.d.C(m,g))},Ae.prefetchDNS=function(m){typeof m=="string"&&s.d.D(m)},Ae.preinit=function(m,g){if(typeof m=="string"&&g&&typeof g.as=="string"){var v=g.as,y=h(v,g.crossOrigin),_=typeof g.integrity=="string"?g.integrity:void 0,x=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;v==="style"?s.d.S(m,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:y,integrity:_,fetchPriority:x}):v==="script"&&s.d.X(m,{crossOrigin:y,integrity:_,fetchPriority:x,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Ae.preinitModule=function(m,g){if(typeof m=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var v=h(g.as,g.crossOrigin);s.d.M(m,{crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&s.d.M(m)},Ae.preload=function(m,g){if(typeof m=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var v=g.as,y=h(v,g.crossOrigin);s.d.L(m,v,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Ae.preloadModule=function(m,g){if(typeof m=="string")if(g){var v=h(g.as,g.crossOrigin);s.d.m(m,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else s.d.m(m)},Ae.requestFormReset=function(m){s.d.r(m)},Ae.unstable_batchedUpdates=function(m,g){return m(g)},Ae.useFormState=function(m,g,v){return f.H.useFormState(m,g,v)},Ae.useFormStatus=function(){return f.H.useHostTransitionStatus()},Ae.version="19.2.0",Ae}var up;function Pb(){if(up)return Sf.exports;up=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(n){console.error(n)}}return a(),Sf.exports=Wb(),Sf.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var cp;function Ib(){if(cp)return Ms;cp=1;var a=Jb(),n=$f(),l=Pb();function s(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)e+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function u(t){var e=t,i=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(i=e.return),t=e.return;while(t)}return e.tag===3?i:null}function f(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function h(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function m(t){if(u(t)!==t)throw Error(s(188))}function g(t){var e=t.alternate;if(!e){if(e=u(t),e===null)throw Error(s(188));return e!==t?null:t}for(var i=t,r=e;;){var c=i.return;if(c===null)break;var d=c.alternate;if(d===null){if(r=c.return,r!==null){i=r;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===i)return m(c),t;if(d===r)return m(c),e;d=d.sibling}throw Error(s(188))}if(i.return!==r.return)i=c,r=d;else{for(var p=!1,b=c.child;b;){if(b===i){p=!0,i=c,r=d;break}if(b===r){p=!0,r=c,i=d;break}b=b.sibling}if(!p){for(b=d.child;b;){if(b===i){p=!0,i=d,r=c;break}if(b===r){p=!0,r=d,i=c;break}b=b.sibling}if(!p)throw Error(s(189))}}if(i.alternate!==r)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var y=Object.assign,_=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),$=Symbol.for("react.context"),at=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),ut=Symbol.for("react.lazy"),it=Symbol.for("react.activity"),mt=Symbol.for("react.memo_cache_sentinel"),Ot=Symbol.iterator;function Mt(t){return t===null||typeof t!="object"?null:(t=Ot&&t[Ot]||t["@@iterator"],typeof t=="function"?t:null)}var xt=Symbol.for("react.client.reference");function St(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===xt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case H:return"Fragment";case B:return"Profiler";case q:return"StrictMode";case W:return"Suspense";case A:return"SuspenseList";case it:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case D:return"Portal";case $:return t.displayName||"Context";case X:return(t._context.displayName||"Context")+".Consumer";case at:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case F:return e=t.displayName||null,e!==null?e:St(t.type)||"Memo";case ut:e=t._payload,t=t._init;try{return St(t(e))}catch{}}return null}var pt=Array.isArray,R=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,tt={pending:!1,data:null,method:null,action:null},ft=[],_t=-1;function C(t){return{current:t}}function Y(t){0>_t||(t.current=ft[_t],ft[_t]=null,_t--)}function J(t,e){_t++,ft[_t]=t.current,t.current=e}var I=C(null),vt=C(null),yt=C(null),Ht=C(null);function xe(t,e){switch(J(yt,e),J(vt,t),J(I,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Cg(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Cg(e),t=Tg(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y(I),J(I,t)}function ee(){Y(I),Y(vt),Y(yt)}function ne(t){t.memoizedState!==null&&J(Ht,t);var e=I.current,i=Tg(e,t.type);e!==i&&(J(vt,t),J(I,i))}function Tn(t){vt.current===t&&(Y(I),Y(vt)),Ht.current===t&&(Y(Ht),bs._currentValue=tt)}var ki,Is;function Ne(t){if(ki===void 0)try{throw Error()}catch(i){var e=i.stack.trim().match(/\n( *(at )?)/);ki=e&&e[1]||"",Is=-1<i.stack.indexOf(`
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ki+t+Is}var Ol=!1;function Rl(t,e){if(!t||Ol)return"";Ol=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(e){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(k){var L=k}Reflect.construct(t,[],Z)}else{try{Z.call()}catch(k){L=k}t.call(Z.prototype)}}else{try{throw Error()}catch(k){L=k}(Z=t())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(k){if(k&&L&&typeof k.stack=="string")return[k.stack,L.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=r.DetermineComponentFrameRoot(),p=d[0],b=d[1];if(p&&b){var E=p.split(`
`),N=b.split(`
`);for(c=r=0;r<E.length&&!E[r].includes("DetermineComponentFrameRoot");)r++;for(;c<N.length&&!N[c].includes("DetermineComponentFrameRoot");)c++;if(r===E.length||c===N.length)for(r=E.length-1,c=N.length-1;1<=r&&0<=c&&E[r]!==N[c];)c--;for(;1<=r&&0<=c;r--,c--)if(E[r]!==N[c]){if(r!==1||c!==1)do if(r--,c--,0>c||E[r]!==N[c]){var V=`
`+E[r].replace(" at new "," at ");return t.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",t.displayName)),V}while(1<=r&&0<=c);break}}}finally{Ol=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?Ne(i):""}function tr(t,e){switch(t.tag){case 26:case 27:case 5:return Ne(t.type);case 16:return Ne("Lazy");case 13:return t.child!==e&&e!==null?Ne("Suspense Fallback"):Ne("Suspense");case 19:return Ne("SuspenseList");case 0:case 15:return Rl(t.type,!1);case 11:return Rl(t.type.render,!1);case 1:return Rl(t.type,!0);case 31:return Ne("Activity");default:return""}}function er(t){try{var e="",i=null;do e+=tr(t,i),i=t,t=t.return;while(t);return e}catch(r){return`
Error generating stack: `+r.message+`
`+r.stack}}var Al=Object.prototype.hasOwnProperty,zl=a.unstable_scheduleCallback,jl=a.unstable_cancelCallback,Jn=a.unstable_shouldYield,li=a.unstable_requestPaint,De=a.unstable_now,Nl=a.unstable_getCurrentPriorityLevel,sn=a.unstable_ImmediatePriority,rn=a.unstable_UserBlockingPriority,si=a.unstable_NormalPriority,ru=a.unstable_LowPriority,qi=a.unstable_IdlePriority,ou=a.log,wn=a.unstable_setDisableYieldValue,Sa=null,Oe=null;function Dn(t){if(typeof ou=="function"&&wn(t),Oe&&typeof Oe.setStrictMode=="function")try{Oe.setStrictMode(Sa,t)}catch{}}var Le=Math.clz32?Math.clz32:ar,nr=Math.log,Yi=Math.LN2;function ar(t){return t>>>=0,t===0?32:31-(nr(t)/Yi|0)|0}var Ea=256,Vi=262144,ri=4194304;function Wn(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function oi(t,e,i){var r=t.pendingLanes;if(r===0)return 0;var c=0,d=t.suspendedLanes,p=t.pingedLanes;t=t.warmLanes;var b=r&134217727;return b!==0?(r=b&~d,r!==0?c=Wn(r):(p&=b,p!==0?c=Wn(p):i||(i=b&~t,i!==0&&(c=Wn(i))))):(b=r&~d,b!==0?c=Wn(b):p!==0?c=Wn(p):i||(i=r&~t,i!==0&&(c=Wn(i)))),c===0?0:e!==0&&e!==c&&(e&d)===0&&(d=c&-c,i=e&-e,d>=i||d===32&&(i&4194048)!==0)?e:c}function Hn(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Xi(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ir(){var t=ri;return ri<<=1,(ri&62914560)===0&&(ri=4194304),t}function Ll(t){for(var e=[],i=0;31>i;i++)e.push(t);return e}function M(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function z(t,e,i,r,c,d){var p=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var b=t.entanglements,E=t.expirationTimes,N=t.hiddenUpdates;for(i=p&~i;0<i;){var V=31-Le(i),Z=1<<V;b[V]=0,E[V]=-1;var L=N[V];if(L!==null)for(N[V]=null,V=0;V<L.length;V++){var k=L[V];k!==null&&(k.lane&=-536870913)}i&=~Z}r!==0&&U(t,r,0),d!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=d&~(p&~e))}function U(t,e,i){t.pendingLanes|=e,t.suspendedLanes&=~e;var r=31-Le(e);t.entangledLanes|=e,t.entanglements[r]=t.entanglements[r]|1073741824|i&261930}function K(t,e){var i=t.entangledLanes|=e;for(t=t.entanglements;i;){var r=31-Le(i),c=1<<r;c&e|t[r]&e&&(t[r]|=e),i&=~c}}function P(t,e){var i=e&-e;return i=(i&42)!==0?1:ot(i),(i&(t.suspendedLanes|e))!==0?0:i}function ot(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ct(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function st(){var t=Q.p;return t!==0?t:(t=window.event,t===void 0?32:Fg(t.type))}function dt(t,e){var i=Q.p;try{return Q.p=t,e()}finally{Q.p=i}}var ht=Math.random().toString(36).slice(2),et="__reactFiber$"+ht,nt="__reactProps$"+ht,wt="__reactContainer$"+ht,Zt="__reactEvents$"+ht,fe="__reactListeners$"+ht,Se="__reactHandles$"+ht,Jt="__reactResources$"+ht,qt="__reactMarker$"+ht;function On(t){delete t[et],delete t[nt],delete t[Zt],delete t[fe],delete t[Se]}function on(t){var e=t[et];if(e)return e;for(var i=t.parentNode;i;){if(e=i[wt]||i[et]){if(i=e.alternate,e.child!==null||i!==null&&i.child!==null)for(t=jg(t);t!==null;){if(i=t[et])return i;t=jg(t)}return e}t=i,i=t.parentNode}return null}function Be(t){if(t=t[et]||t[wt]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Re(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(s(33))}function Un(t){var e=t[Jt];return e||(e=t[Jt]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function It(t){t[qt]=!0}var kn=new Set,ui={};function un(t,e){Dt(t,e),Dt(t+"Capture",e)}function Dt(t,e){for(ui[t]=e,t=0;t<e.length;t++)kn.add(e[t])}var ye=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2 Line truncated
`).replace(mb,"")}function Eg(t,e){return e=Sg(e),Sg(t)===e}function $t(t,e,i,r,c,d){switch(i){case"children":typeof r=="string"?e==="body"||e==="textarea"&&r===""||Zi(t,r):(typeof r=="number"||typeof r=="bigint")&&e!=="body"&&Zi(t,""+r);break;case"className":ci(t,"class",r);break;case"tabIndex":ci(t,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":ci(t,i,r);break;case"style":Ed(t,r,d);break;case"data":if(e!=="object"){ci(t,"data",r);break}case"src":case"href":if(r===""&&(e!=="a"||i!=="href")){t.removeAttribute(i);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){t.removeAttribute(i);break}r=sr(""+r),t.setAttribute(i,r);break;case"action":case"formAction":if(typeof r=="function"){t.setAttribute(i,"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 d=="function"&&(i==="formAction"?(e!=="input"&&$t(t,e,"name",c.name,c,null),$t(t,e,"formEncType",c.formEncType,c,null),$t(t,e,"formMethod",c.formMethod,c,null),$t(t,e,"formTarget",c.formTarget,c,null)):($t(t,e,"encType",c.encType,c,null),$t(t,e,"method",c.method,c,null),$t(t,e,"target",c.target,c,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){t.removeAttribute(i);break}r=sr(""+r),t.setAttribute(i,r);break;case"onClick":r!=null&&(t.onclick=ta);break;case"onScroll":r!=null&&zt("scroll",t);break;case"onScrollEnd":r!=null&&zt("scrollend",t);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(s(61));if(i=r.__html,i!=null){if(c.children!=null)throw Error(s(60));t.innerHTML=i}}break;case"multiple":t.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":t.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){t.removeAttribute("xlink:href");break}i=sr(""+r),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?t.setAttribute(i,""+r):t.removeAttribute(i);break;case"inert":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":r&&typeof r!="function"&&typeof r!="symbol"?t.setAttribute(i,""):t.removeAttribute(i);break;case"capture":case"download":r===!0?t.setAttribute(i,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?t.setAttribute(i,r):t.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?t.setAttribute(i,r):t.removeAttribute(i);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?t.removeAttribute(i):t.setAttribute(i,r);break;case"popover":zt("beforetoggle",t),zt("toggle",t),In(t,"popover",r);break;case"xlinkActuate":Rn(t,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Rn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Rn(t,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Rn(t,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Rn(t,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Rn(t,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Rn(t,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Rn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Rn(t,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":In(t,"is",r);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=Vv.get(i)||i,In(t,i,r))}}function Pc(t,e,i,r,c,d){switch(i){case"style":Ed(t,r,d);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(s(61));if(i=r.__html,i!=null){if(c.children!=null)throw Error(s(60));t.innerHTML=i}}break;case"children":typeof r=="string"?Zi(t,r):(typeof r=="number"||typeof r=="bigint")&&Zi(t,""+r);break;case"onScroll":r!=null&&zt("scroll",t);break;case"onScrollEnd":r!=null&&zt("scrollend",t);break;case"onClick":r!=null&&(t.onclick=ta);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne Line truncated
* react-router v7.9.4
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/var L0=a=>{throw TypeError(a)},n_=(a,n,l)=>n.has(a)||L0("Cannot "+l),Ef=(a,n,l)=>(n_(a,n,"read from private field"),l?l.call(a):n.get(a)),a_=(a,n,l)=>n.has(a)?L0("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(a):n.set(a,l),dp="popstate";function i_(a={}){function n(s,o){let{pathname:u,search:f,hash:h}=s.location;return Ys("",{pathname:u,search:f,hash:h},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function l(s,o){return typeof o=="string"?o:ei(o)}return s_(n,l,null,a)}function Rt(a,n){if(a===!1||a===null||typeof a>"u")throw new Error(n)}function ce(a,n){if(!a){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function l_(){return Math.random().toString(36).substring(2,10)}function hp(a,n){return{usr:a.state,key:a.key,idx:n}}function Ys(a,n,l=null,s){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof n=="string"?ai(n):n,state:l,key:n&&n.key||s||l_()}}function ei({pathname:a="/",search:n="",hash:l=""}){return n&&n!=="?"&&(a+=n.charAt(0)==="?"?n:"?"+n),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function ai(a){let n={};if(a){let l=a.indexOf("#");l>=0&&(n.hash=a.substring(l),a=a.substring(0,l));let s=a.indexOf("?");s>=0&&(n.search=a.substring(s),a=a.substring(0,s)),a&&(n.pathname=a)}return n}function s_(a,n,l,s={}){let{window:o=document.defaultView,v5Compat:u=!1}=s,f=o.history,h="POP",m=null,g=v();g==null&&(g=0,f.replaceState({...f.state,idx:g},""));function v(){return(f.state||{idx:null}).idx}function y(){h="POP";let q=v(),B=q==null?null:q-g;g=q,m&&m({action:h,location:H.location,delta:B})}function _(q,B){h="PUSH";let X=Ys(H.location,q,B);g=v()+1;let $=hp(X,g),at=H.createHref(X);try{f.pushState($,"",at)}catch(W){if(W instanceof DOMException&&W.name==="DataCloneError")throw W;o.location.assign(at)}u&&m&&m({action:h,location:H.location,delta:1})}function x(q,B){h="REPLACE";let X=Ys(H.location,q,B);g=v();let $=hp(X,g),at=H.createHref(X);f.replaceState($,"",at),u&&m&&m({action:h,location:H.location,delta:0})}function D(q){return B0(q)}let H={get action(){return h},get location(){return a(o,f)},listen(q){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(dp,y),m=q,()=>{o.removeEventListener(dp,y),m=null}},createHref(q){return n(o,q)},createURL:D,encodeLocation(q){let B=D(q);return{pathname:B.pathname,search:B.search,hash:B.hash}},push:_,replace:x,go(q){return f.go(q)}};return H}function B0(a,n=!1){let l="http://localhost";typeof window<"u"&&(l=window.location.origin!=="null"?window.location.origin:window.location.href),Rt(l,"No window.location.(origin|href) available to create URL");let s=typeof a=="string"?a:ei(a);return s=s.replace(/ $/,"%20"),!n&&s.startsWith("//")&&(s=l+s),new URL(s,l)}var Ls,mp=class{constructor(a){if(a_(this,Ls,new Map),a)for(let[n,l]of a)this.set(n,l)}get(a){if(Ef(this,Ls).has(a))return Ef(this,Ls).get(a);if(a.defaultValue!==void 0)return a.defaultValue;throw new Error("No value found for context")}set(a,n){Ef(this,Ls).set(a,n)}};Ls=new WeakMap;var r_=new Set(["lazy","caseSensitive","path","id","index","children"]);function o_(a){return r_.has(a)}var u_=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function c_(a){return u_.has(a)}function f_(a){return a.index===!0}function Vs(a,n,l=[],s={},o=!1){return a.map((u,f)=>{let h=[...l,String(f)],m=typeof u.id=="string"?u.id:h.join("-");if(Rt(u.index!==!0||!u.children,"Cannot specify children on an index route"),Rt(o||!s[m],`Found a route id collision on id "${m}". Route id's must be globally unique within Data Router usages`),f_(u)){let g={...u,...n(u),id:m};return s[m]=g,g}else{let g={...u,...n(u),id:m,children:void 0};return s[m]=g,u.children&&(g.children=Vs(u.children,n,h,s,o)),g}})}function Fa(a,n,l="/"){return jo(a,n,l,!1)}function jo(a,n,l,s){let o=typeof n=="string"?ai(n):n,u=Cn(o.pathname||"/",l);if(u==null)return null;let f=H0(a);h_(f);let h=null;for(let m=0;h==null&&m<f.length;++m){let g=M_(u);h=S_(f[m],g,s)}return h}function d_(a,n){let{route:l,pathname:s,params:o}=a;return{id:l.id,pathname:s,params:o,data:n[l.id],loaderData:n[l.id],handle:l.handle}}function H0(a,n=[],l=[],s="",o=!1){let u=(f,h,m=o,g)=>{let v={relativePath:g===void 0?f.path||"":g,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(s)&&m)return;Rt(v.relativePath.startsWith(s),`Absolute route path "${v.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(s.length)}let y=Fn([s,v.relativePath]),_=l.concat(v);f.children&&f.children.length>0&&(Rt(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),H0(f.children,n,_,y,m)),!(f.path==null&&!f.index)&&n.push({path:y,score:__(y,f.index),routesMeta:_})};return a.forEach((f,h)=>{if(f.path===""||!f.path?.includ Line truncated
`,""):String(l.body);return{path:n,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:void 0,text:y}}}else if(l.formEncType==="application/json"){if(!$e(u))return s();try{let y=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:n,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:y,text:void 0}}}catch{return s()}}}Rt(typeof FormData=="function","FormData is not available in this environment");let h,m;if(l.formData)h=qf(l.formData),m=l.formData;else if(l.body instanceof FormData)h=qf(l.body),m=l.body;else if(l.body instanceof URLSearchParams)h=l.body,m=Ep(h);else if(l.body==null)h=new URLSearchParams,m=new FormData;else try{h=new URLSearchParams(l.body),m=Ep(h)}catch{return s()}let g={formMethod:u,formAction:f,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if($e(g.formMethod))return{path:n,submission:g};let v=ai(n);return a&&v.search&&Jf(v.search)&&h.append("index",""),v.search=`?${h}`,{path:ei(v),submission:g}}function vp(a,n,l,s,o,u,f,h,m,g,v,y,_,x,D,H,q,B,X,$){let at=$?an($[1])?$[1].error:$[1].data:void 0,W=o.createURL(u.location),A=o.createURL(m),F;if(v&&u.errors){let xt=Object.keys(u.errors)[0];F=f.findIndex(St=>St.route.id===xt)}else if($&&an($[1])){let xt=$[0];F=f.findIndex(St=>St.route.id===xt)-1}let ut=$?$[1].statusCode:void 0,it=ut&&ut>=400,mt={currentUrl:W,currentParams:u.matches[0]?.params||{},nextUrl:A,nextParams:f[0].params,...h,actionResult:at,actionStatus:ut},Ot=f.map((xt,St)=>{let{route:pt}=xt,R=null;if(F!=null&&St>F?R=!1:pt.lazy?R=!0:Ff(pt)?v?R=Uf(pt,u.loaderData,u.errors):Y_(u.loaderData,u.matches[St],xt)&&(R=!0):R=!1,R!==null)return kf(l,s,a,xt,g,n,R);let Q=it?!1:y||W.pathname+W.search===A.pathname+A.search||W.search!==A.search||V_(u.matches[St],xt),tt={...mt,defaultShouldRevalidate:Q},ft=Yo(xt,tt);return kf(l,s,a,xt,g,n,ft,tt)}),Mt=[];return D.forEach((xt,St)=>{if(v||!f.some(Y=>Y.route.id===xt.routeId)||x.has(St))return;let pt=u.fetchers.get(St),R=pt&&pt.state!=="idle"&&pt.data===void 0,Q=Fa(q,xt.path,B);if(!Q){if(X&&R)return;Mt.push({key:St,routeId:xt.routeId,path:xt.path,matches:null,match:null,request:null,controller:null});return}if(H.has(St))return;let tt=No(Q,xt.path),ft=new AbortController,_t=Cl(o,xt.path,ft.signal),C=null;if(_.has(St))_.delete(St),C=Tl(l,s,_t,Q,tt,g,n);else if(R)y&&(C=Tl(l,s,_t,Q,tt,g,n));else{let Y={...mt,defaultShouldRevalidate:it?!1:y};Yo(tt,Y)&&(C=Tl(l,s,_t,Q,tt,g,n,Y))}C&&Mt.push({key:St,routeId:xt.routeId,path:xt.path,matches:C,match:tt,request:_t,controller:ft})}),{dsMatches:Ot,revalidatingFetchers:Mt}}function Ff(a){return a.loader!=null||a.middleware!=null&&a.middleware.length>0}function Uf(a,n,l){if(a.lazy)return!0;if(!Ff(a))return!1;let s=n!=null&&a.id in n,o=l!=null&&l[a.id]!==void 0;return!s&&o?!1:typeof a.loader=="function"&&a.loader.hydrate===!0?!0:!s&&!o}function Y_(a,n,l){let s=!n||l.route.id!==n.route.id,o=!a.hasOwnProperty(l.route.id);return s||o}function V_(a,n){let l=a.route.path;return a.pathname!==n.pathname||l!=null&&l.endsWith("*")&&a.params["*"]!==n.params["*"]}function Yo(a,n){if(a.route.shouldRevalidate){let l=a.route.shouldRevalidate(n);if(typeof l=="boolean")return l}return n.defaultShouldRevalidate}function yp(a,n,l,s,o,u){let f;if(a){let g=s[a];Rt(g,`No route found to patch children into: routeId = ${a}`),g.children||(g.children=[]),f=g.children}else f=l;let h=[],m=[];if(n.forEach(g=>{let v=f.find(y=>X0(g,y));v?m.push({existingRoute:v,newRoute:g}):h.push(g)}),h.length>0){let g=Vs(h,o,[a||"_","patch",String(f?.length||"0")],s);f.push(...g)}if(u&&m.length>0)for(let g=0;g<m.length;g++){let{existingRoute:v,newRoute:y}=m[g],_=v,[x]=Vs([y],o,[],{},!0);Object.assign(_,{element:x.element?x.element:_.element,errorElement:x.errorElement?x.errorElement:_.errorElement,hydrateFallbackElement:x.hydrateFallbackElement?x.hydrateFallbackElement:_.hydrateFallbackElement})}}function X0(a,n){return"id"in a&&"id"in n&&a.id===n.id?!0:a.index===n.index&&a.path===n.path&&a.caseSensitive===n.caseSensitive?(!a.children||a.children.length===0)&&(!n.children||n.children.length===0)?!0:a.children.every((l,s)=>n.children?.some(o=>X0(l,o))):!1}var bp=new WeakMap,G0=({key:a,route:n,manifest:l,mapRouteProperties:s})=>{let o=l[n.id];if(Rt(o,"No route found in manifest"),!o.lazy||typeof o.lazy!="object")return;let u=o.lazy[a];if(!u)return;let f=bp.get(o);f||(f={},bp.set(o,f));let h=f[a];if(h)return h;let m=(async()=>{let g=o_(a),y=o[a]!==void 0&&a!=="hasErrorBoundary";if(g)ce(!g,"Route property "+a+" is not a supported lazy route property. This property will be ignored."),f[a]=Promise.resolve();else if(y)ce(!1,`Route "${o.id}" has a static property "${a}" defined. The lazy property will be ignored.`);else{let _=await u();_!=null&&(Object.assign(o,{[a]:_}),Object.assign(o,s(o)))}typeof o.lazy=="object"&&(o.lazy[a]=void 0,Object.values(o.lazy).every(_=>_===void 0)&&(o.lazy=void 0))})();return f[a]=m,m},_p=new WeakMap;function X_(a,n,l, Line truncated
Please change the parent <Route path="${X}"> to <Route path="${X==="/"?"*":`${X}/*`}">.`)}let _=ii(),x;x=_;let D=x.pathname||"/",H=D;if(v!=="/"){let X=v.replace(/^\//,"").split("/");H="/"+D.replace(/^\//,"").split("/").slice(X.length).join("/")}let q=Fa(a,{pathname:H});return ce(y||q!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),ce(q==null||q[q.length-1].route.element!==void 0||q[q.length-1].route.Component!==void 0||q[q.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),y1(q&&q.map(X=>Object.assign({},X,{params:Object.assign({},m,X.params),pathname:Fn([v,u.encodeLocation?u.encodeLocation(X.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:X.pathname]),pathnameBase:X.pathnameBase==="/"?v:Fn([v,u.encodeLocation?u.encodeLocation(X.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:X.pathnameBase])})),f,l,s,o)}function m1(){let a=E1(),n=Xs(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),l=a instanceof Error?a.stack:null,s="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:s},u={padding:"2px 4px",backgroundColor:s},f=null;return console.error("Error handled by React Router default ErrorBoundary:",a),f=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:u},"ErrorBoundary")," or"," ",w.createElement("code",{style:u},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},n),l?w.createElement("pre",{style:o},l):null,f)}var g1=w.createElement(m1,null),p1=class extends w.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,n){return n.location!==a.location||n.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:n.error,location:n.location,revalidation:a.revalidation||n.revalidation}}componentDidCatch(a,n){this.props.unstable_onError?this.props.unstable_onError(a,n):console.error("React Router caught the following error during render",a)}render(){return this.state.error!==void 0?w.createElement(Bn.Provider,{value:this.props.routeContext},w.createElement(Pf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function v1({routeContext:a,match:n,children:l}){let s=w.useContext(Hi);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(Bn.Provider,{value:a},l)}function y1(a,n=[],l=null,s=null,o=null){if(a==null){if(!l)return null;if(l.errors)a=l.matches;else if(n.length===0&&!l.initialized&&l.matches.length>0)a=l.matches;else return null}let u=a,f=l?.errors;if(f!=null){let g=u.findIndex(v=>v.route.id&&f?.[v.route.id]!==void 0);Rt(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),u=u.slice(0,Math.min(u.length,g+1))}let h=!1,m=-1;if(l)for(let g=0;g<u.length;g++){let v=u[g];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(m=g),v.route.id){let{loaderData:y,errors:_}=l,x=v.route.loader&&!y.hasOwnProperty(v.route.id)&&(!_||_[v.route.id]===void 0);if(v.route.lazy||x){h=!0,m>=0?u=u.slice(0,m+1):u=[u[0]];break}}}return u.reduceRight((g,v,y)=>{let _,x=!1,D=null,H=null;l&&(_=f&&v.route.id?f[v.route.id]:void 0,D=v.route.errorElement||g1,h&&(m<0&&y===0?(I0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,H=null):m===y&&(x=!0,H=v.route.hydrateFallbackElement||null)));let q=n.concat(u.slice(0,y+1)),B=()=>{let X;return _?X=D:x?X=H:v.route.Component?X=w.createElement(v.route.Component,null):v.route.element?X=v.route.element:X=g,w.createElement(v1,{match:v,routeContext:{outlet:g,matches:q,isDataRoute:l!=null},children:X})};return l&&(v.route.ErrorBoundary||v.route.errorElement||y===0)?w.createElement(p1,{location:l.location,revalidation:l.revalidation,component:D,error:_,children:B(),routeContext:{outlet:null,matches:q,isDataRoute:!0},unstable_onError:s}):B()},null)}function If(a){return`${a} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function b1(a){let n=w.useContext(Hi);return Rt(n,If(a)),n}function _1(a){let n=w.useContext(Fs);return Rt(n,If(a)),n}function x1(a){let n=w.useContext(Bn);return Rt(n,If(a)),n}function td(a){let n=x1(a),l=n.matches[n.matches.length-1];return Rt(l.route.id,`${a} can only be used on routes that contain a uniqu Line truncated
* @kurkle/color v0.3.4
* https://github.com/kurkle/color#readme
* (c) 2024 Jukka Kurkela
* Released under the MIT License
*/function Ws(a){return a+.5|0}const Wa=(a,n,l)=>Math.max(Math.min(a,l),n);function Bs(a){return Wa(Ws(a*2.55),0,255)}function ti(a){return Wa(Ws(a*255),0,255)}function _a(a){return Wa(Ws(a/2.55)/100,0,1)}function Np(a){return Wa(Ws(a*100),0,100)}const _n={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},Yf=[..."0123456789ABCDEF"],fS=a=>Yf[a&15],dS=a=>Yf[(a&240)>>4]+Yf[a&15],_o=a=>(a&240)>>4===(a&15),hS=a=>_o(a.r)&&_o(a.g)&&_o(a.b)&&_o(a.a);function mS(a){var n=a.length,l;return a[0]==="#"&&(n===4||n===5?l={r:255&_n[a[1]]*17,g:255&_n[a[2]]*17,b:255&_n[a[3]]*17,a:n===5?_n[a[4]]*17:255}:(n===7||n===9)&&(l={r:_n[a[1]]<<4|_n[a[2]],g:_n[a[3]]<<4|_n[a[4]],b:_n[a[5]]<<4|_n[a[6]],a:n===9?_n[a[7]]<<4|_n[a[8]]:255})),l}const gS=(a,n)=>a<255?n(a):"";function pS(a){var n=hS(a)?fS:dS;return a?"#"+n(a.r)+n(a.g)+n(a.b)+gS(a.a,n):void 0}const vS=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function lv(a,n,l){const s=n*Math.min(l,1-l),o=(u,f=(u+a/30)%12)=>l-s*Math.max(Math.min(f-3,9-f,1),-1);return[o(0),o(8),o(4)]}function yS(a,n,l){const s=(o,u=(o+a/60)%6)=>l-l*n*Math.max(Math.min(u,4-u,1),0);return[s(5),s(3),s(1)]}function bS(a,n,l){const s=lv(a,1,.5);let o;for(n+l>1&&(o=1/(n+l),n*=o,l*=o),o=0;o<3;o++)s[o]*=1-n-l,s[o]+=n;return s}function _S(a,n,l,s,o){return a===o?(n-l)/s+(n<l?6:0):n===o?(l-a)/s+2:(a-n)/s+4}function id(a){const l=a.r/255,s=a.g/255,o=a.b/255,u=Math.max(l,s,o),f=Math.min(l,s,o),h=(u+f)/2;let m,g,v;return u!==f&&(v=u-f,g=h>.5?v/(2-u-f):v/(u+f),m=_S(l,s,o,v,u),m=m*60+.5),[m|0,g||0,h]}function ld(a,n,l,s){return(Array.isArray(n)?a(n[0],n[1],n[2]):a(n,l,s)).map(ti)}function sd(a,n,l){return ld(lv,a,n,l)}function xS(a,n,l){return ld(bS,a,n,l)}function SS(a,n,l){return ld(yS,a,n,l)}function sv(a){return(a%360+360)%360}function ES(a){const n=vS.exec(a);let l=255,s;if(!n)return;n[5]!==s&&(l=n[6]?Bs(+n[5]):ti(+n[5]));const o=sv(+n[2]),u=+n[3]/100,f=+n[4]/100;return n[1]==="hwb"?s=xS(o,u,f):n[1]==="hsv"?s=SS(o,u,f):s=sd(o,u,f),{r:s[0],g:s[1],b:s[2],a:l}}function MS(a,n){var l=id(a);l[0]=sv(l[0]+n),l=sd(l),a.r=l[0],a.g=l[1],a.b=l[2]}function CS(a){if(!a)return;const n=id(a),l=n[0],s=Np(n[1]),o=Np(n[2]);return a.a<255?`hsla(${l}, ${s}%, ${o}%, ${_a(a.a)})`:`hsl(${l}, ${s}%, ${o}%)`}const Lp={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"},Bp={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 TS(){const a={},n=Object.keys(Bp),l=Object.keys(Lp);let s,o,u,f,h;for(s=0;s<n.length;s++){for(f=h=n[s],o=0;o<l.length;o++)u=l[o]Line truncated
* Chart.js v4.5.1
* https://www.chartjs.org
* (c) 2025 Chart.js Contributors
* Released under the MIT License
*/const jS=(()=>{let a=0;return()=>a++})();function Ue(a){return a==null}function je(a){if(Array.isArray&&Array.isArray(a))return!0;const n=Object.prototype.toString.call(a);return n.slice(0,7)==="[object"&&n.slice(-6)==="Array]"}function Vt(a){return a!==null&&Object.prototype.toString.call(a)==="[object Object]"}function xa(a){return(typeof a=="number"||a instanceof Number)&&isFinite(+a)}function Zn(a,n){return xa(a)?a:n}function le(a,n){return typeof a>"u"?n:a}const NS=(a,n)=>typeof a=="string"&&a.endsWith("%")?parseFloat(a)/100:+a/n,ov=(a,n)=>typeof a=="string"&&a.endsWith("%")?parseFloat(a)/100*n:+a;function ue(a,n,l){if(a&&typeof a.call=="function")return a.apply(l,n)}function ze(a,n,l,s){let o,u,f;if(je(a))for(u=a.length,o=0;o<u;o++)n.call(l,a[o],o);else if(Vt(a))for(f=Object.keys(a),u=f.length,o=0;o<u;o++)n.call(l,a[f[o]],f[o])}function Up(a,n){let l,s,o,u;if(!a||!n||a.length!==n.length)return!1;for(l=0,s=a.length;l<s;++l)if(o=a[l],u=n[l],o.datasetIndex!==u.datasetIndex||o.index!==u.index)return!1;return!0}function Vo(a){if(je(a))return a.map(Vo);if(Vt(a)){const n=Object.create(null),l=Object.keys(a),s=l.length;let o=0;for(;o<s;++o)n[l[o]]=Vo(a[l[o]]);return n}return a}function uv(a){return["__proto__","prototype","constructor"].indexOf(a)===-1}function LS(a,n,l,s){if(!uv(a))return;const o=n[a],u=l[a];Vt(o)&&Vt(u)?Zs(o,u,s):n[a]=Vo(u)}function Zs(a,n,l){const s=je(n)?n:[n],o=s.length;if(!Vt(a))return a;l=l||{};const u=l.merger||LS;let f;for(let h=0;h<o;++h){if(f=s[h],!Vt(f))continue;const m=Object.keys(f);for(let g=0,v=m.length;g<v;++g)u(m[g],a,f,l)}return a}function Us(a,n){return Zs(a,n,{merger:BS})}function BS(a,n,l){if(!uv(a))return;const s=n[a],o=l[a];Vt(s)&&Vt(o)?Us(s,o):Object.prototype.hasOwnProperty.call(n,a)||(n[a]=Vo(o))}const kp={"":a=>a,x:a=>a.x,y:a=>a.y};function HS(a){const n=a.split("."),l=[];let s="";for(const o of n)s+=o,s.endsWith("\\")?s=s.slice(0,-1)+".":(l.push(s),s="");return l}function US(a){const n=HS(a);return l=>{for(const s of n){if(s==="")break;l=l&&l[s]}return l}}function Qs(a,n){return(kp[n]||(kp[n]=US(n)))(a)}function rd(a){return a.charAt(0).toUpperCase()+a.slice(1)}const Xo=a=>typeof a<"u",ni=a=>typeof a=="function",qp=(a,n)=>{if(a.size!==n.size)return!1;for(const l of a)if(!n.has(l))return!1;return!0};function kS(a){return a.type==="mouseup"||a.type==="click"||a.type==="contextmenu"}const we=Math.PI,_e=2*we,Go=Number.POSITIVE_INFINITY,Mn=we/2,Yp=Math.sign;function qS(a){const n=[],l=Math.sqrt(a);let s;for(s=1;s<l;s++)a%s===0&&(n.push(s),n.push(a/s));return l===(l|0)&&n.push(l),n.sort((o,u)=>o-u).pop(),n}function YS(a){return typeof a=="symbol"||typeof a=="object"&&a!==null&&!(Symbol.toPrimitive in a||"toString"in a||"valueOf"in a)}function Zo(a){return!YS(a)&&!isNaN(parseFloat(a))&&isFinite(a)}function Ni(a){return a*(we/180)}function VS(a){return a*(180/we)}function cv(a,n){const l=n.x-a.x,s=n.y-a.y,o=Math.sqrt(l*l+s*s);let u=Math.atan2(s,l);return u<-.5*we&&(u+=_e),{angle:u,distance:o}}function $n(a){return(a%_e+_e)%_e}function Qo(a,n,l,s){const o=$n(a),u=$n(n),f=$n(l),h=$n(u-o),m=$n(f-o),g=$n(o-u),v=$n(o-f);return o===u||o===f||s&&u===f||h>m&&g<v}function Kn(a,n,l){return Math.max(n,Math.min(l,a))}function XS(a){return Kn(a,-32768,32767)}function GS(a,n,l,s=1e-6){return a>=Math.min(n,l)-s&&a<=Math.max(n,l)+s}function od(a,n,l){l=l||(f=>a[f]<n);let s=a.length-1,o=0,u;for(;s-o>1;)u=o+s>>1,l(u)?o=u:s=u;return{lo:o,hi:s}}const Vf=(a,n,l,s)=>od(a,l,s?o=>{const u=a[o][n];return u<l||u===l&&a[o+1][n]===l}:o=>a[o][n]<l),ZS=(a,n,l)=>od(a,l,s=>a[s][n]>=l);function QS(a,n,l){let s=0,o=a.length;for(;s<o&&a[s]<n;)s++;for(;o>s&&a[o-1]>l;)o--;return s>0||o<a.length?a.slice(s,o):a}const fv=["push","pop","shift","splice","unshift"];function $S(a,n){if(a._chartjs){a._chartjs.listeners.push(n);return}Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}),fv.forEach(l=>{const s="_onData"+rd(l),o=a[l];Object.defineProperty(a,l,{configurable:!0,enumerable:!1,value(...u){const f=o.apply(this,u);return a._chartjs.listeners.forEach(h=>{typeof h[s]=="function"&&h[s](...u)}),f}})})}function Vp(a,n){const l=a._chartjs;if(!l)return;const s=l.listeners,o=s.indexOf(n);o!==-1&&s.splice(o,1),!(s.length>0)&&(fv.forEach(u=>{delete a[u]}),delete a._chartjs)}function KS(a){const n=new Set(a);return n.size===a.length?a:Array.from(n)}const dv=(function(){return typeof window>"u"?function(a){return a()}:window.requestAnimationFrame})();function hv(a,n){let l=[],s=!1;return function(...o){l=o,s||(s=!0,dv.call(window,()=>{s=!1,a.apply(n,l)}))}}function FS(a,n){let l;return function(...s){return n?(clearTimeout(l),l=setTimeout(a,n,s)):a.apply(this,s),n}}const JS=a=>a==="start"?"left":a==="end"?"right":"center",Xp=(a,n,l)=>a==="start"?n:a==="end"?l:(n+l)/2,Eo=a=>a===0||a===1,Gp=(a,n,l)=>-(Math.pow(2,10*(a-=1))*Math.sin((a-n)*_e/l)),Zp=(a,n,l)=>Math.pow(2,-10*a)*Math.sin((a-n)*_e/l)+1,ks={linear:a=>a,easeInQuad:a=>a*a,easeOutQuad:a=>-a*(a-2),easeInOutQuad:a=>(a/=.5)<1?.Line truncated
* Chart.js v4.5.1
* https://www.chartjs.org
* (c) 2025 Chart.js Contributors
* Released under the MIT License
*/class L2{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(n,l,s,o){const u=l.listeners[o],f=l.duration;u.forEach(h=>h({chart:n,initial:l.initial,numSteps:f,currentStep:Math.min(s-l.start,f)}))}_refresh(){this._request||(this._running=!0,this._request=dv.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(n=Date.now()){let l=0;this._charts.forEach((s,o)=>{if(!s.running||!s.items.length)return;const u=s.items;let f=u.length-1,h=!1,m;for(;f>=0;--f)m=u[f],m._active?(m._total>s.duration&&(s.duration=m._total),m.tick(n),h=!0):(u[f]=u[u.length-1],u.pop());h&&(o.draw(),this._notify(o,s,n,"progress")),u.length||(s.running=!1,this._notify(o,s,n,"complete"),s.initial=!1),l+=u.length}),this._lastDate=n,l===0&&(this._running=!1)}_getAnims(n){const l=this._charts;let s=l.get(n);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},l.set(n,s)),s}listen(n,l,s){this._getAnims(n).listeners[l].push(s)}add(n,l){!l||!l.length||this._getAnims(n).items.push(...l)}has(n){return this._getAnims(n).items.length>0}start(n){const l=this._charts.get(n);l&&(l.running=!0,l.start=Date.now(),l.duration=l.items.reduce((s,o)=>Math.max(s,o._duration),0),this._refresh())}running(n){if(!this._running)return!1;const l=this._charts.get(n);return!(!l||!l.running||!l.items.length)}stop(n){const l=this._charts.get(n);if(!l||!l.items.length)return;const s=l.items;let o=s.length-1;for(;o>=0;--o)s[o].cancel();l.items=[],this._notify(n,l,Date.now(),"complete")}remove(n){return this._charts.delete(n)}}var ba=new L2;const e0="transparent",B2={boolean(a,n,l){return l>.5?n:a},color(a,n,l){const s=Qp(a||e0),o=s.valid&&Qp(n||e0);return o&&o.valid?o.mix(s,l).hexString():n},number(a,n,l){return a+(n-a)*l}};class H2{constructor(n,l,s,o){const u=l[s];o=Mo([n.to,o,u,n.from]);const f=Mo([n.from,u,o]);this._active=!0,this._fn=n.fn||B2[n.type||typeof f],this._easing=ks[n.easing]||ks.linear,this._start=Math.floor(Date.now()+(n.delay||0)),this._duration=this._total=Math.floor(n.duration),this._loop=!!n.loop,this._target=l,this._prop=s,this._from=f,this._to=o,this._promises=void 0}active(){return this._active}update(n,l,s){if(this._active){this._notify(!1);const o=this._target[this._prop],u=s-this._start,f=this._duration-u;this._start=s,this._duration=Math.floor(Math.max(f,n.duration)),this._total+=u,this._loop=!!n.loop,this._to=Mo([n.to,l,o,n.from]),this._from=Mo([n.from,o,l])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(n){const l=n-this._start,s=this._duration,o=this._prop,u=this._from,f=this._loop,h=this._to;let m;if(this._active=u!==h&&(f||l<s),!this._active){this._target[o]=h,this._notify(!0);return}if(l<0){this._target[o]=u;return}m=l/s%2,m=f&&m>1?2-m:m,m=this._easing(Math.min(1,Math.max(0,m))),this._target[o]=this._fn(u,h,m)}wait(){const n=this._promises||(this._promises=[]);return new Promise((l,s)=>{n.push({res:l,rej:s})})}_notify(n){const l=n?"res":"rej",s=this._promises||[];for(let o=0;o<s.length;o++)s[o][l]()}}class U2{constructor(n,l){this._chart=n,this._properties=new Map,this.configure(l)}configure(n){if(!Vt(n))return;const l=Object.keys(pe.animation),s=this._properties;Object.getOwnPropertyNames(n).forEach(o=>{const u=n[o];if(!Vt(u))return;const f={};for(const h of l)f[h]=u[h];(je(u.properties)&&u.properties||[o]).forEach(h=>{(h===o||!s.has(h))&&s.set(h,f)})})}_animateOptions(n,l){const s=l.options,o=q2(n,s);if(!o)return[];const u=this._createAnimations(o,s);return s.$shared&&k2(n.options.$animations,s).then(()=>{n.options=s},()=>{}),u}_createAnimations(n,l){const s=this._properties,o=[],u=n.$animations||(n.$animations={}),f=Object.keys(l),h=Date.now();let m;for(m=f.length-1;m>=0;--m){const g=f[m];if(g.charAt(0)==="$")continue;if(g==="options"){o.push(...this._animateOptions(n,l));continue}const v=l[g];let y=u[g];const _=s.get(g);if(y)if(_&&y.active()){y.update(_,v,h);continue}else y.cancel();if(!_||!_.duration){n[g]=v;continue}u[g]=y=new H2(_,n,g,v),o.push(y)}return o}update(n,l){if(this._properties.size===0){Object.assign(n,l);return}const s=this._createAnimations(n,l);if(s.length)return ba.add(this._chart,s),!0}}function k2(a,n){const l=[],s=Object.keys(n);for(let o=0;o<s.length;o++){const u=a[s[o]];u&&u.active()&&l.push(u.wait())}return Promise.all(l)}function q2(a,n){if(!n)return;let l=a.options;if(!l){a.options=n;return}return l.$shared&&(a.options=l=Object.assign({},l,{$shared:!1,$animations:{}})),l}function n0(a,n){const l=a&&a.options||{},s=l.reverse,o=l.min===void 0?n:0,u=l.max===void 0?n:0;return{start:s?u:o,end:s?o:u}}function Y2(a,n,l){if(l===!1)return!1;const s=n0(a,l),o=n0(n,l);return{top:o.end,right:s.end,bottom:o.start,left:s.start}}function V2(a){let n,l,s,o;return Vt(a)?(n=a.top,l=a.right,s=a.bottom,o=a.left):n=l=s=o=a,{top:n,right:l,bottom:s,left:o,disabled:a===!1}}function Ev(a,n){const l=[],s=a._getSortedDatasetMetas(n);let o,u;for(o=0,u=s.length;o<u;++o)l.push(s[o].indLine truncated