+1
docs/CNAME
+1
docs/CNAME
···
1
+
compare.hose.cam
+1
docs/assets/index-Br90oyGg.css
+1
docs/assets/index-Br90oyGg.css
···
1
+
:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#121212;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}#root{margin:0 auto;padding:2rem;text-align:center}h1{color:#fcf8c9}.throughputs{margin-top:1em}.relay h2{margin-bottom:0}.relay p{margin:0}
+123
docs/assets/index-DprCNRD_.js
+123
docs/assets/index-DprCNRD_.js
···
1
+
var GT=Object.defineProperty;var qT=(t,n,i)=>n in t?GT(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i;var Ln=(t,n,i)=>qT(t,typeof n!="symbol"?n+"":n,i);function IT(t,n){for(var i=0;i<n.length;i++){const a=n[i];if(typeof a!="string"&&!Array.isArray(a)){for(const o in a)if(o!=="default"&&!(o in t)){const s=Object.getOwnPropertyDescriptor(a,o);s&&Object.defineProperty(t,o,s.get?s:{enumerable:!0,get:()=>a[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function i(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(o){if(o.ep)return;o.ep=!0;const s=i(o);fetch(o.href,s)}})();function jb(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Jd={exports:{}},ho={};/**
2
+
* @license React
3
+
* react-jsx-runtime.production.js
4
+
*
5
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
6
+
*
7
+
* This source code is licensed under the MIT license found in the
8
+
* LICENSE file in the root directory of this source tree.
9
+
*/var d1;function VT(){if(d1)return ho;d1=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function i(a,o,s){var c=null;if(s!==void 0&&(c=""+s),o.key!==void 0&&(c=""+o.key),"key"in o){s={};for(var f in o)f!=="key"&&(s[f]=o[f])}else s=o;return o=s.ref,{$$typeof:t,type:a,key:c,ref:o!==void 0?o:null,props:s}}return ho.Fragment=n,ho.jsx=i,ho.jsxs=i,ho}var h1;function XT(){return h1||(h1=1,Jd.exports=VT()),Jd.exports}var H=XT(),th={exports:{}},mo={},eh={exports:{}},nh={};/**
10
+
* @license React
11
+
* scheduler.production.js
12
+
*
13
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
14
+
*
15
+
* This source code is licensed under the MIT license found in the
16
+
* LICENSE file in the root directory of this source tree.
17
+
*/var m1;function PT(){return m1||(m1=1,function(t){function n(j,P){var nt=j.length;j.push(P);t:for(;0<nt;){var ut=nt-1>>>1,z=j[ut];if(0<o(z,P))j[ut]=P,j[nt]=z,nt=ut;else break t}}function i(j){return j.length===0?null:j[0]}function a(j){if(j.length===0)return null;var P=j[0],nt=j.pop();if(nt!==P){j[0]=nt;t:for(var ut=0,z=j.length,F=z>>>1;ut<F;){var at=2*(ut+1)-1,lt=j[at],ct=at+1,yt=j[ct];if(0>o(lt,nt))ct<z&&0>o(yt,lt)?(j[ut]=yt,j[ct]=nt,ut=ct):(j[ut]=lt,j[at]=nt,ut=at);else if(ct<z&&0>o(yt,nt))j[ut]=yt,j[ct]=nt,ut=ct;else break t}}return P}function o(j,P){var nt=j.sortIndex-P.sortIndex;return nt!==0?nt:j.id-P.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;t.unstable_now=function(){return s.now()}}else{var c=Date,f=c.now();t.unstable_now=function(){return c.now()-f}}var m=[],h=[],y=1,p=null,v=3,b=!1,S=!1,x=!1,C=!1,E=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function R(j){for(var P=i(h);P!==null;){if(P.callback===null)a(h);else if(P.startTime<=j)a(h),P.sortIndex=P.expirationTime,n(m,P);else break;P=i(h)}}function M(j){if(x=!1,R(j),!S)if(i(m)!==null)S=!0,_||(_=!0,X());else{var P=i(h);P!==null&&ot(M,P.startTime-j)}}var _=!1,D=-1,L=5,$=-1;function T(){return C?!0:!(t.unstable_now()-$<L)}function N(){if(C=!1,_){var j=t.unstable_now();$=j;var P=!0;try{t:{S=!1,x&&(x=!1,k(D),D=-1),b=!0;var nt=v;try{e:{for(R(j),p=i(m);p!==null&&!(p.expirationTime>j&&T());){var ut=p.callback;if(typeof ut=="function"){p.callback=null,v=p.priorityLevel;var z=ut(p.expirationTime<=j);if(j=t.unstable_now(),typeof z=="function"){p.callback=z,R(j),P=!0;break e}p===i(m)&&a(m),R(j)}else a(m);p=i(m)}if(p!==null)P=!0;else{var F=i(h);F!==null&&ot(M,F.startTime-j),P=!1}}break t}finally{p=null,v=nt,b=!1}P=void 0}}finally{P?X():_=!1}}}var X;if(typeof O=="function")X=function(){O(N)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,it=K.port2;K.port1.onmessage=N,X=function(){it.postMessage(null)}}else X=function(){E(N,0)};function ot(j,P){D=E(function(){j(t.unstable_now())},P)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(j){j.callback=null},t.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<j?Math.floor(1e3/j):5},t.unstable_getCurrentPriorityLevel=function(){return v},t.unstable_next=function(j){switch(v){case 1:case 2:case 3:var P=3;break;default:P=v}var nt=v;v=P;try{return j()}finally{v=nt}},t.unstable_requestPaint=function(){C=!0},t.unstable_runWithPriority=function(j,P){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var nt=v;v=j;try{return P()}finally{v=nt}},t.unstable_scheduleCallback=function(j,P,nt){var ut=t.unstable_now();switch(typeof nt=="object"&&nt!==null?(nt=nt.delay,nt=typeof nt=="number"&&0<nt?ut+nt:ut):nt=ut,j){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=nt+z,j={id:y++,callback:P,priorityLevel:j,startTime:nt,expirationTime:z,sortIndex:-1},nt>ut?(j.sortIndex=nt,n(h,j),i(m)===null&&j===i(h)&&(x?(k(D),D=-1):x=!0,ot(M,nt-ut))):(j.sortIndex=z,n(m,j),S||b||(S=!0,_||(_=!0,X()))),j},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(j){var P=v;return function(){var nt=v;v=P;try{return j.apply(this,arguments)}finally{v=nt}}}}(nh)),nh}var g1;function ZT(){return g1||(g1=1,eh.exports=PT()),eh.exports}var rh={exports:{}},Ct={};/**
18
+
* @license React
19
+
* react.production.js
20
+
*
21
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
22
+
*
23
+
* This source code is licensed under the MIT license found in the
24
+
* LICENSE file in the root directory of this source tree.
25
+
*/var p1;function QT(){if(p1)return Ct;p1=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),p=Symbol.iterator;function v(z){return z===null||typeof z!="object"?null:(z=p&&z[p]||z["@@iterator"],typeof z=="function"?z:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,x={};function C(z,F,at){this.props=z,this.context=F,this.refs=x,this.updater=at||b}C.prototype.isReactComponent={},C.prototype.setState=function(z,F){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,F,"setState")},C.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function E(){}E.prototype=C.prototype;function k(z,F,at){this.props=z,this.context=F,this.refs=x,this.updater=at||b}var O=k.prototype=new E;O.constructor=k,S(O,C.prototype),O.isPureReactComponent=!0;var R=Array.isArray,M={H:null,A:null,T:null,S:null,V:null},_=Object.prototype.hasOwnProperty;function D(z,F,at,lt,ct,yt){return at=yt.ref,{$$typeof:t,type:z,key:F,ref:at!==void 0?at:null,props:yt}}function L(z,F){return D(z.type,F,void 0,void 0,void 0,z.props)}function $(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function T(z){var F={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(at){return F[at]})}var N=/\/+/g;function X(z,F){return typeof z=="object"&&z!==null&&z.key!=null?T(""+z.key):F.toString(36)}function K(){}function it(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(K,K):(z.status="pending",z.then(function(F){z.status==="pending"&&(z.status="fulfilled",z.value=F)},function(F){z.status==="pending"&&(z.status="rejected",z.reason=F)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function ot(z,F,at,lt,ct){var yt=typeof z;(yt==="undefined"||yt==="boolean")&&(z=null);var dt=!1;if(z===null)dt=!0;else switch(yt){case"bigint":case"string":case"number":dt=!0;break;case"object":switch(z.$$typeof){case t:case n:dt=!0;break;case y:return dt=z._init,ot(dt(z._payload),F,at,lt,ct)}}if(dt)return ct=ct(z),dt=lt===""?"."+X(z,0):lt,R(ct)?(at="",dt!=null&&(at=dt.replace(N,"$&/")+"/"),ot(ct,F,at,"",function(st){return st})):ct!=null&&($(ct)&&(ct=L(ct,at+(ct.key==null||z&&z.key===ct.key?"":(""+ct.key).replace(N,"$&/")+"/")+dt)),F.push(ct)),1;dt=0;var gt=lt===""?".":lt+":";if(R(z))for(var mt=0;mt<z.length;mt++)lt=z[mt],yt=gt+X(lt,mt),dt+=ot(lt,F,at,yt,ct);else if(mt=v(z),typeof mt=="function")for(z=mt.call(z),mt=0;!(lt=z.next()).done;)lt=lt.value,yt=gt+X(lt,mt++),dt+=ot(lt,F,at,yt,ct);else if(yt==="object"){if(typeof z.then=="function")return ot(it(z),F,at,lt,ct);throw F=String(z),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return dt}function j(z,F,at){if(z==null)return z;var lt=[],ct=0;return ot(z,lt,"","",function(yt){return F.call(at,yt,ct++)}),lt}function P(z){if(z._status===-1){var F=z._result;F=F(),F.then(function(at){(z._status===0||z._status===-1)&&(z._status=1,z._result=at)},function(at){(z._status===0||z._status===-1)&&(z._status=2,z._result=at)}),z._status===-1&&(z._status=0,z._result=F)}if(z._status===1)return z._result.default;throw z._result}var nt=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var F=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(F))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)};function ut(){}return Ct.Children={map:j,forEach:function(z,F,at){j(z,function(){F.apply(this,arguments)},at)},count:function(z){var F=0;return j(z,function(){F++}),F},toArray:function(z){return j(z,function(F){return F})||[]},only:function(z){if(!$(z))throw Error("React.Children.only expected to receive a single React element child.");return z}},Ct.Component=C,Ct.Fragment=i,Ct.Profiler=o,Ct.PureComponent=k,Ct.StrictMode=a,Ct.Suspense=m,Ct.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,Ct.__COMPILER_RUNTIME={__proto__:null,c:function(z){return M.H.useMemoCache(z)}},Ct.cache=function(z){return function(){return z.apply(null,arguments)}},Ct.cloneElement=function(z,F,at){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var lt=S({},z.props),ct=z.key,yt=void 0;if(F!=null)for(dt in F.ref!==void 0&&(yt=void 0),F.key!==void 0&&(ct=""+F.key),F)!_.call(F,dt)||dt==="key"||dt==="__self"||dt==="__source"||dt==="ref"&&F.ref===void 0||(lt[dt]=F[dt]);var dt=arguments.length-2;if(dt===1)lt.children=at;else if(1<dt){for(var gt=Array(dt),mt=0;mt<dt;mt++)gt[mt]=arguments[mt+2];lt.children=gt}return D(z.type,ct,void 0,void 0,yt,lt)},Ct.createContext=function(z){return z={$$typeof:c,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:s,_context:z},z},Ct.createElement=function(z,F,at){var lt,ct={},yt=null;if(F!=null)for(lt in F.key!==void 0&&(yt=""+F.key),F)_.call(F,lt)&<!=="key"&<!=="__self"&<!=="__source"&&(ct[lt]=F[lt]);var dt=arguments.length-2;if(dt===1)ct.children=at;else if(1<dt){for(var gt=Array(dt),mt=0;mt<dt;mt++)gt[mt]=arguments[mt+2];ct.children=gt}if(z&&z.defaultProps)for(lt in dt=z.defaultProps,dt)ct[lt]===void 0&&(ct[lt]=dt[lt]);return D(z,yt,void 0,void 0,null,ct)},Ct.createRef=function(){return{current:null}},Ct.forwardRef=function(z){return{$$typeof:f,render:z}},Ct.isValidElement=$,Ct.lazy=function(z){return{$$typeof:y,_payload:{_status:-1,_result:z},_init:P}},Ct.memo=function(z,F){return{$$typeof:h,type:z,compare:F===void 0?null:F}},Ct.startTransition=function(z){var F=M.T,at={};M.T=at;try{var lt=z(),ct=M.S;ct!==null&&ct(at,lt),typeof lt=="object"&<!==null&&typeof lt.then=="function"&<.then(ut,nt)}catch(yt){nt(yt)}finally{M.T=F}},Ct.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},Ct.use=function(z){return M.H.use(z)},Ct.useActionState=function(z,F,at){return M.H.useActionState(z,F,at)},Ct.useCallback=function(z,F){return M.H.useCallback(z,F)},Ct.useContext=function(z){return M.H.useContext(z)},Ct.useDebugValue=function(){},Ct.useDeferredValue=function(z,F){return M.H.useDeferredValue(z,F)},Ct.useEffect=function(z,F,at){var lt=M.H;if(typeof at=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return lt.useEffect(z,F)},Ct.useId=function(){return M.H.useId()},Ct.useImperativeHandle=function(z,F,at){return M.H.useImperativeHandle(z,F,at)},Ct.useInsertionEffect=function(z,F){return M.H.useInsertionEffect(z,F)},Ct.useLayoutEffect=function(z,F){return M.H.useLayoutEffect(z,F)},Ct.useMemo=function(z,F){return M.H.useMemo(z,F)},Ct.useOptimistic=function(z,F){return M.H.useOptimistic(z,F)},Ct.useReducer=function(z,F,at){return M.H.useReducer(z,F,at)},Ct.useRef=function(z){return M.H.useRef(z)},Ct.useState=function(z){return M.H.useState(z)},Ct.useSyncExternalStore=function(z,F,at){return M.H.useSyncExternalStore(z,F,at)},Ct.useTransition=function(){return M.H.useTransition()},Ct.version="19.1.0",Ct}var y1;function ic(){return y1||(y1=1,rh.exports=QT()),rh.exports}var ih={exports:{}},Be={};/**
26
+
* @license React
27
+
* react-dom.production.js
28
+
*
29
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
30
+
*
31
+
* This source code is licensed under the MIT license found in the
32
+
* LICENSE file in the root directory of this source tree.
33
+
*/var v1;function KT(){if(v1)return Be;v1=1;var t=ic();function n(m){var h="https://react.dev/errors/"+m;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var a={d:{f:i,r:function(){throw Error(n(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for("react.portal");function s(m,h,y){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:p==null?null:""+p,children:m,containerInfo:h,implementation:y}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(m,h){if(m==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Be.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Be.createPortal=function(m,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(n(299));return s(m,h,null,y)},Be.flushSync=function(m){var h=c.T,y=a.p;try{if(c.T=null,a.p=2,m)return m()}finally{c.T=h,a.p=y,a.d.f()}},Be.preconnect=function(m,h){typeof m=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,a.d.C(m,h))},Be.prefetchDNS=function(m){typeof m=="string"&&a.d.D(m)},Be.preinit=function(m,h){if(typeof m=="string"&&h&&typeof h.as=="string"){var y=h.as,p=f(y,h.crossOrigin),v=typeof h.integrity=="string"?h.integrity:void 0,b=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?a.d.S(m,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:v,fetchPriority:b}):y==="script"&&a.d.X(m,{crossOrigin:p,integrity:v,fetchPriority:b,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Be.preinitModule=function(m,h){if(typeof m=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=f(h.as,h.crossOrigin);a.d.M(m,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&a.d.M(m)},Be.preload=function(m,h){if(typeof m=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,p=f(y,h.crossOrigin);a.d.L(m,y,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Be.preloadModule=function(m,h){if(typeof m=="string")if(h){var y=f(h.as,h.crossOrigin);a.d.m(m,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else a.d.m(m)},Be.requestFormReset=function(m){a.d.r(m)},Be.unstable_batchedUpdates=function(m,h){return m(h)},Be.useFormState=function(m,h,y){return c.H.useFormState(m,h,y)},Be.useFormStatus=function(){return c.H.useHostTransitionStatus()},Be.version="19.1.0",Be}var b1;function $b(){if(b1)return ih.exports;b1=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),ih.exports=KT(),ih.exports}/**
34
+
* @license React
35
+
* react-dom-client.production.js
36
+
*
37
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
38
+
*
39
+
* This source code is licensed under the MIT license found in the
40
+
* LICENSE file in the root directory of this source tree.
41
+
*/var x1;function FT(){if(x1)return mo;x1=1;var t=ZT(),n=ic(),i=$b();function a(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(e){var r=e,l=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(l=r.return),e=r.return;while(e)}return r.tag===3?l:null}function c(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function f(e){if(s(e)!==e)throw Error(a(188))}function m(e){var r=e.alternate;if(!r){if(r=s(e),r===null)throw Error(a(188));return r!==e?null:e}for(var l=e,u=r;;){var d=l.return;if(d===null)break;var g=d.alternate;if(g===null){if(u=d.return,u!==null){l=u;continue}break}if(d.child===g.child){for(g=d.child;g;){if(g===l)return f(d),e;if(g===u)return f(d),r;g=g.sibling}throw Error(a(188))}if(l.return!==u.return)l=d,u=g;else{for(var A=!1,w=d.child;w;){if(w===l){A=!0,l=d,u=g;break}if(w===u){A=!0,u=d,l=g;break}w=w.sibling}if(!A){for(w=g.child;w;){if(w===l){A=!0,l=g,u=d;break}if(w===u){A=!0,u=g,l=d;break}w=w.sibling}if(!A)throw Error(a(189))}}if(l.alternate!==u)throw Error(a(190))}if(l.tag!==3)throw Error(a(188));return l.stateNode.current===l?e:r}function h(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=h(e),r!==null)return r;e=e.sibling}return null}var y=Object.assign,p=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),k=Symbol.for("react.consumer"),O=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),$=Symbol.for("react.activity"),T=Symbol.for("react.memo_cache_sentinel"),N=Symbol.iterator;function X(e){return e===null||typeof e!="object"?null:(e=N&&e[N]||e["@@iterator"],typeof e=="function"?e:null)}var K=Symbol.for("react.client.reference");function it(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===K?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case S:return"Fragment";case C:return"Profiler";case x:return"StrictMode";case M:return"Suspense";case _:return"SuspenseList";case $:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case b:return"Portal";case O:return(e.displayName||"Context")+".Provider";case k:return(e._context.displayName||"Context")+".Consumer";case R:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case D:return r=e.displayName||null,r!==null?r:it(e.type)||"Memo";case L:r=e._payload,e=e._init;try{return it(e(r))}catch{}}return null}var ot=Array.isArray,j=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,nt={pending:!1,data:null,method:null,action:null},ut=[],z=-1;function F(e){return{current:e}}function at(e){0>z||(e.current=ut[z],ut[z]=null,z--)}function lt(e,r){z++,ut[z]=e.current,e.current=r}var ct=F(null),yt=F(null),dt=F(null),gt=F(null);function mt(e,r){switch(lt(dt,r),lt(yt,e),lt(ct,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)&&(e=e.namespaceURI)?Hy(e):0;break;default:if(e=r.tagName,r=r.namespaceURI)r=Hy(r),e=Yy(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}at(ct),lt(ct,e)}function st(){at(ct),at(yt),at(dt)}function xt(e){e.memoizedState!==null&<(gt,e);var r=ct.current,l=Yy(r,e.type);r!==l&&(lt(yt,e),lt(ct,l))}function bt(e){yt.current===e&&(at(ct),at(yt)),gt.current===e&&(at(gt),oo._currentValue=nt)}var rt=Object.prototype.hasOwnProperty,Rt=t.unstable_scheduleCallback,vt=t.unstable_cancelCallback,Bt=t.unstable_shouldYield,Wt=t.unstable_requestPaint,Yt=t.unstable_now,Ae=t.unstable_getCurrentPriorityLevel,se=t.unstable_ImmediatePriority,me=t.unstable_UserBlockingPriority,Kt=t.unstable_NormalPriority,Xe=t.unstable_LowPriority,mn=t.unstable_IdlePriority,gn=t.log,Un=t.unstable_setDisableYieldValue,Ge=null,te=null;function _e(e){if(typeof gn=="function"&&Un(e),te&&typeof te.setStrictMode=="function")try{te.setStrictMode(Ge,e)}catch{}}var Te=Math.clz32?Math.clz32:lr,Ne=Math.log,re=Math.LN2;function lr(e){return e>>>=0,e===0?32:31-(Ne(e)/re|0)|0}var qe=256,Ue=4194304;function or(e){var r=e&42;if(r!==0)return r;switch(e&-e){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:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function au(e,r,l){var u=e.pendingLanes;if(u===0)return 0;var d=0,g=e.suspendedLanes,A=e.pingedLanes;e=e.warmLanes;var w=u&134217727;return w!==0?(u=w&~g,u!==0?d=or(u):(A&=w,A!==0?d=or(A):l||(l=w&~e,l!==0&&(d=or(l))))):(w=u&~g,w!==0?d=or(w):A!==0?d=or(A):l||(l=u&~e,l!==0&&(d=or(l)))),d===0?0:r!==0&&r!==d&&(r&g)===0&&(g=d&-d,l=r&-r,g>=l||g===32&&(l&4194048)!==0)?r:d}function pl(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function _2(e,r){switch(e){case 1:case 2:case 4:case 8:case 64:return r+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 r+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 T0(){var e=qe;return qe<<=1,(qe&4194048)===0&&(qe=256),e}function C0(){var e=Ue;return Ue<<=1,(Ue&62914560)===0&&(Ue=4194304),e}function Yc(e){for(var r=[],l=0;31>l;l++)r.push(e);return r}function yl(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function R2(e,r,l,u,d,g){var A=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var w=e.entanglements,U=e.expirationTimes,V=e.hiddenUpdates;for(l=A&~l;0<l;){var J=31-Te(l),et=1<<J;w[J]=0,U[J]=-1;var Z=V[J];if(Z!==null)for(V[J]=null,J=0;J<Z.length;J++){var Q=Z[J];Q!==null&&(Q.lane&=-536870913)}l&=~et}u!==0&&w0(e,u,0),g!==0&&d===0&&e.tag!==0&&(e.suspendedLanes|=g&~(A&~r))}function w0(e,r,l){e.pendingLanes|=r,e.suspendedLanes&=~r;var u=31-Te(r);e.entangledLanes|=r,e.entanglements[u]=e.entanglements[u]|1073741824|l&4194090}function M0(e,r){var l=e.entangledLanes|=r;for(e=e.entanglements;l;){var u=31-Te(l),d=1<<u;d&r|e[u]&r&&(e[u]|=r),l&=~d}}function Gc(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function qc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function E0(){var e=P.p;return e!==0?e:(e=window.event,e===void 0?32:l1(e.type))}function k2(e,r){var l=P.p;try{return P.p=e,r()}finally{P.p=l}}var Br=Math.random().toString(36).slice(2),je="__reactFiber$"+Br,Pe="__reactProps$"+Br,Zi="__reactContainer$"+Br,Ic="__reactEvents$"+Br,D2="__reactListeners$"+Br,z2="__reactHandles$"+Br,O0="__reactResources$"+Br,vl="__reactMarker$"+Br;function Vc(e){delete e[je],delete e[Pe],delete e[Ic],delete e[D2],delete e[z2]}function Qi(e){var r=e[je];if(r)return r;for(var l=e.parentNode;l;){if(r=l[Zi]||l[je]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(e=Vy(e);e!==null;){if(l=e[je])return l;e=Vy(e)}return r}e=l,l=e.parentNode}return null}function Ki(e){if(e=e[je]||e[Zi]){var r=e.tag;if(r===5||r===6||r===13||r===26||r===27||r===3)return e}return null}function bl(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(a(33))}function Fi(e){var r=e[O0];return r||(r=e[O0]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Ce(e){e[vl]=!0}var _0=new Set,R0={};function di(e,r){Wi(e,r),Wi(e+"Capture",r)}function Wi(e,r){for(R0[e]=r,e=0;e<r.length;e++)_0.add(r[e])}var N2=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]*$"),k0={},D0={};function U2(e){return rt.call(D0,e)?!0:rt.call(k0,e)?!1:N2.test(e)?D0[e]=!0:(k0[e]=!0,!1)}function lu(e,r,l){if(U2(r))if(l===null)e.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(r);return;case"boolean":var u=r.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(r);return}}e.setAttribute(r,""+l)}}function ou(e,r,l){if(l===null)e.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttribute(r,""+l)}}function ur(e,r,l,u){if(u===null)e.removeAttribute(l);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(r,l,""+u)}}var Xc,z0;function Ji(e){if(Xc===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);Xc=r&&r[1]||"",z0=-1<l.stack.indexOf(`
42
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+
`+Xc+e+z0}var Pc=!1;function Zc(e,r){if(!e||Pc)return"";Pc=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(r){var et=function(){throw Error()};if(Object.defineProperty(et.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(et,[])}catch(Q){var Z=Q}Reflect.construct(e,[],et)}else{try{et.call()}catch(Q){Z=Q}e.call(et.prototype)}}else{try{throw Error()}catch(Q){Z=Q}(et=e())&&typeof et.catch=="function"&&et.catch(function(){})}}catch(Q){if(Q&&Z&&typeof Q.stack=="string")return[Q.stack,Z.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var d=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");d&&d.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=u.DetermineComponentFrameRoot(),A=g[0],w=g[1];if(A&&w){var U=A.split(`
44
+
`),V=w.split(`
45
+
`);for(d=u=0;u<U.length&&!U[u].includes("DetermineComponentFrameRoot");)u++;for(;d<V.length&&!V[d].includes("DetermineComponentFrameRoot");)d++;if(u===U.length||d===V.length)for(u=U.length-1,d=V.length-1;1<=u&&0<=d&&U[u]!==V[d];)d--;for(;1<=u&&0<=d;u--,d--)if(U[u]!==V[d]){if(u!==1||d!==1)do if(u--,d--,0>d||U[u]!==V[d]){var J=`
46
+
`+U[u].replace(" at new "," at ");return e.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",e.displayName)),J}while(1<=u&&0<=d);break}}}finally{Pc=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Ji(l):""}function j2(e){switch(e.tag){case 26:case 27:case 5:return Ji(e.type);case 16:return Ji("Lazy");case 13:return Ji("Suspense");case 19:return Ji("SuspenseList");case 0:case 15:return Zc(e.type,!1);case 11:return Zc(e.type.render,!1);case 1:return Zc(e.type,!0);case 31:return Ji("Activity");default:return""}}function N0(e){try{var r="";do r+=j2(e),e=e.return;while(e);return r}catch(l){return`
47
+
Error generating stack: `+l.message+`
48
+
`+l.stack}}function pn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function U0(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function $2(e){var r=U0(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),u=""+e[r];if(!e.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var d=l.get,g=l.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return d.call(this)},set:function(A){u=""+A,g.call(this,A)}}),Object.defineProperty(e,r,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(A){u=""+A},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function uu(e){e._valueTracker||(e._valueTracker=$2(e))}function j0(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var l=r.getValue(),u="";return e&&(u=U0(e)?e.checked?"true":"false":e.value),e=u,e!==l?(r.setValue(e),!0):!1}function su(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var B2=/[\n"\\]/g;function yn(e){return e.replace(B2,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Qc(e,r,l,u,d,g,A,w){e.name="",A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?e.type=A:e.removeAttribute("type"),r!=null?A==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+pn(r)):e.value!==""+pn(r)&&(e.value=""+pn(r)):A!=="submit"&&A!=="reset"||e.removeAttribute("value"),r!=null?Kc(e,A,pn(r)):l!=null?Kc(e,A,pn(l)):u!=null&&e.removeAttribute("value"),d==null&&g!=null&&(e.defaultChecked=!!g),d!=null&&(e.checked=d&&typeof d!="function"&&typeof d!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?e.name=""+pn(w):e.removeAttribute("name")}function $0(e,r,l,u,d,g,A,w){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.type=g),r!=null||l!=null){if(!(g!=="submit"&&g!=="reset"||r!=null))return;l=l!=null?""+pn(l):"",r=r!=null?""+pn(r):l,w||r===e.value||(e.value=r),e.defaultValue=r}u=u??d,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=w?e.checked:!!u,e.defaultChecked=!!u,A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(e.name=A)}function Kc(e,r,l){r==="number"&&su(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function ta(e,r,l,u){if(e=e.options,r){r={};for(var d=0;d<l.length;d++)r["$"+l[d]]=!0;for(l=0;l<e.length;l++)d=r.hasOwnProperty("$"+e[l].value),e[l].selected!==d&&(e[l].selected=d),d&&u&&(e[l].defaultSelected=!0)}else{for(l=""+pn(l),r=null,d=0;d<e.length;d++){if(e[d].value===l){e[d].selected=!0,u&&(e[d].defaultSelected=!0);return}r!==null||e[d].disabled||(r=e[d])}r!==null&&(r.selected=!0)}}function B0(e,r,l){if(r!=null&&(r=""+pn(r),r!==e.value&&(e.value=r),l==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=l!=null?""+pn(l):""}function L0(e,r,l,u){if(r==null){if(u!=null){if(l!=null)throw Error(a(92));if(ot(u)){if(1<u.length)throw Error(a(93));u=u[0]}l=u}l==null&&(l=""),r=l}l=pn(r),e.defaultValue=l,u=e.textContent,u===l&&u!==""&&u!==null&&(e.value=u)}function ea(e,r){if(r){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=r;return}}e.textContent=r}var L2=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(" "));function H0(e,r,l){var u=r.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?u?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="":u?e.setProperty(r,l):typeof l!="number"||l===0||L2.has(r)?r==="float"?e.cssFloat=l:e[r]=(""+l).trim():e[r]=l+"px"}function Y0(e,r,l){if(r!=null&&typeof r!="object")throw Error(a(62));if(e=e.style,l!=null){for(var u in l)!l.hasOwnProperty(u)||r!=null&&r.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var d in r)u=r[d],r.hasOwnProperty(d)&&l[d]!==u&&H0(e,d,u)}else for(var g in r)r.hasOwnProperty(g)&&H0(e,g,r[g])}function Fc(e){if(e.indexOf("-")===-1)return!1;switch(e){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}}var H2=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"]]),Y2=/^[\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;function cu(e){return Y2.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Wc=null;function Jc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var na=null,ra=null;function G0(e){var r=Ki(e);if(r&&(e=r.stateNode)){var l=e[Pe]||null;t:switch(e=r.stateNode,r.type){case"input":if(Qc(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),r=l.name,l.type==="radio"&&r!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+yn(""+r)+'"][type="radio"]'),r=0;r<l.length;r++){var u=l[r];if(u!==e&&u.form===e.form){var d=u[Pe]||null;if(!d)throw Error(a(90));Qc(u,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(r=0;r<l.length;r++)u=l[r],u.form===e.form&&j0(u)}break t;case"textarea":B0(e,l.value,l.defaultValue);break t;case"select":r=l.value,r!=null&&ta(e,!!l.multiple,r,!1)}}}var tf=!1;function q0(e,r,l){if(tf)return e(r,l);tf=!0;try{var u=e(r);return u}finally{if(tf=!1,(na!==null||ra!==null)&&(Qu(),na&&(r=na,e=ra,ra=na=null,G0(r),e)))for(r=0;r<e.length;r++)G0(e[r])}}function xl(e,r){var l=e.stateNode;if(l===null)return null;var u=l[Pe]||null;if(u===null)return null;l=u[r];t:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break t;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(a(231,r,typeof l));return l}var sr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ef=!1;if(sr)try{var Sl={};Object.defineProperty(Sl,"passive",{get:function(){ef=!0}}),window.addEventListener("test",Sl,Sl),window.removeEventListener("test",Sl,Sl)}catch{ef=!1}var Lr=null,nf=null,fu=null;function I0(){if(fu)return fu;var e,r=nf,l=r.length,u,d="value"in Lr?Lr.value:Lr.textContent,g=d.length;for(e=0;e<l&&r[e]===d[e];e++);var A=l-e;for(u=1;u<=A&&r[l-u]===d[g-u];u++);return fu=d.slice(e,1<u?1-u:void 0)}function du(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function hu(){return!0}function V0(){return!1}function Ze(e){function r(l,u,d,g,A){this._reactName=l,this._targetInst=d,this.type=u,this.nativeEvent=g,this.target=A,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(l=e[w],this[w]=l?l(g):g[w]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?hu:V0,this.isPropagationStopped=V0,this}return y(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=hu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=hu)},persist:function(){},isPersistent:hu}),r}var hi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mu=Ze(hi),Al=y({},hi,{view:0,detail:0}),G2=Ze(Al),rf,af,Tl,gu=y({},Al,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:of,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Tl&&(Tl&&e.type==="mousemove"?(rf=e.screenX-Tl.screenX,af=e.screenY-Tl.screenY):af=rf=0,Tl=e),rf)},movementY:function(e){return"movementY"in e?e.movementY:af}}),X0=Ze(gu),q2=y({},gu,{dataTransfer:0}),I2=Ze(q2),V2=y({},Al,{relatedTarget:0}),lf=Ze(V2),X2=y({},hi,{animationName:0,elapsedTime:0,pseudoElement:0}),P2=Ze(X2),Z2=y({},hi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Q2=Ze(Z2),K2=y({},hi,{data:0}),P0=Ze(K2),F2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},W2={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"},J2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tA(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=J2[e])?!!r[e]:!1}function of(){return tA}var eA=y({},Al,{key:function(e){if(e.key){var r=F2[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=du(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?W2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:of,charCode:function(e){return e.type==="keypress"?du(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?du(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),nA=Ze(eA),rA=y({},gu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Z0=Ze(rA),iA=y({},Al,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:of}),aA=Ze(iA),lA=y({},hi,{propertyName:0,elapsedTime:0,pseudoElement:0}),oA=Ze(lA),uA=y({},gu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),sA=Ze(uA),cA=y({},hi,{newState:0,oldState:0}),fA=Ze(cA),dA=[9,13,27,32],uf=sr&&"CompositionEvent"in window,Cl=null;sr&&"documentMode"in document&&(Cl=document.documentMode);var hA=sr&&"TextEvent"in window&&!Cl,Q0=sr&&(!uf||Cl&&8<Cl&&11>=Cl),K0=" ",F0=!1;function W0(e,r){switch(e){case"keyup":return dA.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function J0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ia=!1;function mA(e,r){switch(e){case"compositionend":return J0(r);case"keypress":return r.which!==32?null:(F0=!0,K0);case"textInput":return e=r.data,e===K0&&F0?null:e;default:return null}}function gA(e,r){if(ia)return e==="compositionend"||!uf&&W0(e,r)?(e=I0(),fu=nf=Lr=null,ia=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Q0&&r.locale!=="ko"?null:r.data;default:return null}}var pA={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};function tg(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!pA[e.type]:r==="textarea"}function eg(e,r,l,u){na?ra?ra.push(u):ra=[u]:na=u,r=es(r,"onChange"),0<r.length&&(l=new mu("onChange","change",null,l,u),e.push({event:l,listeners:r}))}var wl=null,Ml=null;function yA(e){Uy(e,0)}function pu(e){var r=bl(e);if(j0(r))return e}function ng(e,r){if(e==="change")return r}var rg=!1;if(sr){var sf;if(sr){var cf="oninput"in document;if(!cf){var ig=document.createElement("div");ig.setAttribute("oninput","return;"),cf=typeof ig.oninput=="function"}sf=cf}else sf=!1;rg=sf&&(!document.documentMode||9<document.documentMode)}function ag(){wl&&(wl.detachEvent("onpropertychange",lg),Ml=wl=null)}function lg(e){if(e.propertyName==="value"&&pu(Ml)){var r=[];eg(r,Ml,e,Jc(e)),q0(yA,r)}}function vA(e,r,l){e==="focusin"?(ag(),wl=r,Ml=l,wl.attachEvent("onpropertychange",lg)):e==="focusout"&&ag()}function bA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return pu(Ml)}function xA(e,r){if(e==="click")return pu(r)}function SA(e,r){if(e==="input"||e==="change")return pu(r)}function AA(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var nn=typeof Object.is=="function"?Object.is:AA;function El(e,r){if(nn(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var l=Object.keys(e),u=Object.keys(r);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var d=l[u];if(!rt.call(r,d)||!nn(e[d],r[d]))return!1}return!0}function og(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ug(e,r){var l=og(e);e=0;for(var u;l;){if(l.nodeType===3){if(u=e+l.textContent.length,e<=r&&u>=r)return{node:l,offset:r-e};e=u}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=og(l)}}function sg(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?sg(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function cg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=su(e.document);r instanceof e.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)e=r.contentWindow;else break;r=su(e.document)}return r}function ff(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}var TA=sr&&"documentMode"in document&&11>=document.documentMode,aa=null,df=null,Ol=null,hf=!1;function fg(e,r,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;hf||aa==null||aa!==su(u)||(u=aa,"selectionStart"in u&&ff(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ol&&El(Ol,u)||(Ol=u,u=es(df,"onSelect"),0<u.length&&(r=new mu("onSelect","select",null,r,l),e.push({event:r,listeners:u}),r.target=aa)))}function mi(e,r){var l={};return l[e.toLowerCase()]=r.toLowerCase(),l["Webkit"+e]="webkit"+r,l["Moz"+e]="moz"+r,l}var la={animationend:mi("Animation","AnimationEnd"),animationiteration:mi("Animation","AnimationIteration"),animationstart:mi("Animation","AnimationStart"),transitionrun:mi("Transition","TransitionRun"),transitionstart:mi("Transition","TransitionStart"),transitioncancel:mi("Transition","TransitionCancel"),transitionend:mi("Transition","TransitionEnd")},mf={},dg={};sr&&(dg=document.createElement("div").style,"AnimationEvent"in window||(delete la.animationend.animation,delete la.animationiteration.animation,delete la.animationstart.animation),"TransitionEvent"in window||delete la.transitionend.transition);function gi(e){if(mf[e])return mf[e];if(!la[e])return e;var r=la[e],l;for(l in r)if(r.hasOwnProperty(l)&&l in dg)return mf[e]=r[l];return e}var hg=gi("animationend"),mg=gi("animationiteration"),gg=gi("animationstart"),CA=gi("transitionrun"),wA=gi("transitionstart"),MA=gi("transitioncancel"),pg=gi("transitionend"),yg=new Map,gf="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(" ");gf.push("scrollEnd");function jn(e,r){yg.set(e,r),di(r,[e])}var vg=new WeakMap;function vn(e,r){if(typeof e=="object"&&e!==null){var l=vg.get(e);return l!==void 0?l:(r={value:e,source:r,stack:N0(r)},vg.set(e,r),r)}return{value:e,source:r,stack:N0(r)}}var bn=[],oa=0,pf=0;function yu(){for(var e=oa,r=pf=oa=0;r<e;){var l=bn[r];bn[r++]=null;var u=bn[r];bn[r++]=null;var d=bn[r];bn[r++]=null;var g=bn[r];if(bn[r++]=null,u!==null&&d!==null){var A=u.pending;A===null?d.next=d:(d.next=A.next,A.next=d),u.pending=d}g!==0&&bg(l,d,g)}}function vu(e,r,l,u){bn[oa++]=e,bn[oa++]=r,bn[oa++]=l,bn[oa++]=u,pf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function yf(e,r,l,u){return vu(e,r,l,u),bu(e)}function ua(e,r){return vu(e,null,null,r),bu(e)}function bg(e,r,l){e.lanes|=l;var u=e.alternate;u!==null&&(u.lanes|=l);for(var d=!1,g=e.return;g!==null;)g.childLanes|=l,u=g.alternate,u!==null&&(u.childLanes|=l),g.tag===22&&(e=g.stateNode,e===null||e._visibility&1||(d=!0)),e=g,g=g.return;return e.tag===3?(g=e.stateNode,d&&r!==null&&(d=31-Te(l),e=g.hiddenUpdates,u=e[d],u===null?e[d]=[r]:u.push(r),r.lane=l|536870912),g):null}function bu(e){if(50<Jl)throw Jl=0,Td=null,Error(a(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var sa={};function EA(e,r,l,u){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rn(e,r,l,u){return new EA(e,r,l,u)}function vf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cr(e,r){var l=e.alternate;return l===null?(l=rn(e.tag,r,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=r,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,r=e.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function xg(e,r){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=r,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,r=l.dependencies,e.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),e}function xu(e,r,l,u,d,g){var A=0;if(u=e,typeof e=="function")vf(e)&&(A=1);else if(typeof e=="string")A=_T(e,l,ct.current)?26:e==="html"||e==="head"||e==="body"?27:5;else t:switch(e){case $:return e=rn(31,l,r,d),e.elementType=$,e.lanes=g,e;case S:return pi(l.children,d,g,r);case x:A=8,d|=24;break;case C:return e=rn(12,l,r,d|2),e.elementType=C,e.lanes=g,e;case M:return e=rn(13,l,r,d),e.elementType=M,e.lanes=g,e;case _:return e=rn(19,l,r,d),e.elementType=_,e.lanes=g,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case E:case O:A=10;break t;case k:A=9;break t;case R:A=11;break t;case D:A=14;break t;case L:A=16,u=null;break t}A=29,l=Error(a(130,e===null?"null":typeof e,"")),u=null}return r=rn(A,l,r,d),r.elementType=e,r.type=u,r.lanes=g,r}function pi(e,r,l,u){return e=rn(7,e,u,r),e.lanes=l,e}function bf(e,r,l){return e=rn(6,e,null,r),e.lanes=l,e}function xf(e,r,l){return r=rn(4,e.children!==null?e.children:[],e.key,r),r.lanes=l,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var ca=[],fa=0,Su=null,Au=0,xn=[],Sn=0,yi=null,fr=1,dr="";function vi(e,r){ca[fa++]=Au,ca[fa++]=Su,Su=e,Au=r}function Sg(e,r,l){xn[Sn++]=fr,xn[Sn++]=dr,xn[Sn++]=yi,yi=e;var u=fr;e=dr;var d=32-Te(u)-1;u&=~(1<<d),l+=1;var g=32-Te(r)+d;if(30<g){var A=d-d%5;g=(u&(1<<A)-1).toString(32),u>>=A,d-=A,fr=1<<32-Te(r)+d|l<<d|u,dr=g+e}else fr=1<<g|l<<d|u,dr=e}function Sf(e){e.return!==null&&(vi(e,1),Sg(e,1,0))}function Af(e){for(;e===Su;)Su=ca[--fa],ca[fa]=null,Au=ca[--fa],ca[fa]=null;for(;e===yi;)yi=xn[--Sn],xn[Sn]=null,dr=xn[--Sn],xn[Sn]=null,fr=xn[--Sn],xn[Sn]=null}var Ie=null,ae=null,Nt=!1,bi=null,Vn=!1,Tf=Error(a(519));function xi(e){var r=Error(a(418,""));throw kl(vn(r,e)),Tf}function Ag(e){var r=e.stateNode,l=e.type,u=e.memoizedProps;switch(r[je]=e,r[Pe]=u,l){case"dialog":_t("cancel",r),_t("close",r);break;case"iframe":case"object":case"embed":_t("load",r);break;case"video":case"audio":for(l=0;l<eo.length;l++)_t(eo[l],r);break;case"source":_t("error",r);break;case"img":case"image":case"link":_t("error",r),_t("load",r);break;case"details":_t("toggle",r);break;case"input":_t("invalid",r),$0(r,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),uu(r);break;case"select":_t("invalid",r);break;case"textarea":_t("invalid",r),L0(r,u.value,u.defaultValue,u.children),uu(r)}l=u.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||r.textContent===""+l||u.suppressHydrationWarning===!0||Ly(r.textContent,l)?(u.popover!=null&&(_t("beforetoggle",r),_t("toggle",r)),u.onScroll!=null&&_t("scroll",r),u.onScrollEnd!=null&&_t("scrollend",r),u.onClick!=null&&(r.onclick=ns),r=!0):r=!1,r||xi(e)}function Tg(e){for(Ie=e.return;Ie;)switch(Ie.tag){case 5:case 13:Vn=!1;return;case 27:case 3:Vn=!0;return;default:Ie=Ie.return}}function _l(e){if(e!==Ie)return!1;if(!Nt)return Tg(e),Nt=!0,!1;var r=e.tag,l;if((l=r!==3&&r!==27)&&((l=r===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Ld(e.type,e.memoizedProps)),l=!l),l&&ae&&xi(e),Tg(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(317));t:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8)if(l=e.data,l==="/$"){if(r===0){ae=Bn(e.nextSibling);break t}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++;e=e.nextSibling}ae=null}}else r===27?(r=ae,ei(e.type)?(e=qd,qd=null,ae=e):ae=r):ae=Ie?Bn(e.stateNode.nextSibling):null;return!0}function Rl(){ae=Ie=null,Nt=!1}function Cg(){var e=bi;return e!==null&&(Fe===null?Fe=e:Fe.push.apply(Fe,e),bi=null),e}function kl(e){bi===null?bi=[e]:bi.push(e)}var Cf=F(null),Si=null,hr=null;function Hr(e,r,l){lt(Cf,r._currentValue),r._currentValue=l}function mr(e){e._currentValue=Cf.current,at(Cf)}function wf(e,r,l){for(;e!==null;){var u=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),e===l)break;e=e.return}}function Mf(e,r,l,u){var d=e.child;for(d!==null&&(d.return=e);d!==null;){var g=d.dependencies;if(g!==null){var A=d.child;g=g.firstContext;t:for(;g!==null;){var w=g;g=d;for(var U=0;U<r.length;U++)if(w.context===r[U]){g.lanes|=l,w=g.alternate,w!==null&&(w.lanes|=l),wf(g.return,l,e),u||(A=null);break t}g=w.next}}else if(d.tag===18){if(A=d.return,A===null)throw Error(a(341));A.lanes|=l,g=A.alternate,g!==null&&(g.lanes|=l),wf(A,l,e),A=null}else A=d.child;if(A!==null)A.return=d;else for(A=d;A!==null;){if(A===e){A=null;break}if(d=A.sibling,d!==null){d.return=A.return,A=d;break}A=A.return}d=A}}function Dl(e,r,l,u){e=null;for(var d=r,g=!1;d!==null;){if(!g){if((d.flags&524288)!==0)g=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var A=d.alternate;if(A===null)throw Error(a(387));if(A=A.memoizedProps,A!==null){var w=d.type;nn(d.pendingProps.value,A.value)||(e!==null?e.push(w):e=[w])}}else if(d===gt.current){if(A=d.alternate,A===null)throw Error(a(387));A.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(e!==null?e.push(oo):e=[oo])}d=d.return}e!==null&&Mf(r,e,l,u),r.flags|=262144}function Tu(e){for(e=e.firstContext;e!==null;){if(!nn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ai(e){Si=e,hr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $e(e){return wg(Si,e)}function Cu(e,r){return Si===null&&Ai(e),wg(e,r)}function wg(e,r){var l=r._currentValue;if(r={context:r,memoizedValue:l,next:null},hr===null){if(e===null)throw Error(a(308));hr=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else hr=hr.next=r;return l}var OA=typeof AbortController<"u"?AbortController:function(){var e=[],r=this.signal={aborted:!1,addEventListener:function(l,u){e.push(u)}};this.abort=function(){r.aborted=!0,e.forEach(function(l){return l()})}},_A=t.unstable_scheduleCallback,RA=t.unstable_NormalPriority,ve={$$typeof:O,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ef(){return{controller:new OA,data:new Map,refCount:0}}function zl(e){e.refCount--,e.refCount===0&&_A(RA,function(){e.controller.abort()})}var Nl=null,Of=0,da=0,ha=null;function kA(e,r){if(Nl===null){var l=Nl=[];Of=0,da=Rd(),ha={status:"pending",value:void 0,then:function(u){l.push(u)}}}return Of++,r.then(Mg,Mg),r}function Mg(){if(--Of===0&&Nl!==null){ha!==null&&(ha.status="fulfilled");var e=Nl;Nl=null,da=0,ha=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function DA(e,r){var l=[],u={status:"pending",value:null,reason:null,then:function(d){l.push(d)}};return e.then(function(){u.status="fulfilled",u.value=r;for(var d=0;d<l.length;d++)(0,l[d])(r)},function(d){for(u.status="rejected",u.reason=d,d=0;d<l.length;d++)(0,l[d])(void 0)}),u}var Eg=j.S;j.S=function(e,r){typeof r=="object"&&r!==null&&typeof r.then=="function"&&kA(e,r),Eg!==null&&Eg(e,r)};var Ti=F(null);function _f(){var e=Ti.current;return e!==null?e:Ft.pooledCache}function wu(e,r){r===null?lt(Ti,Ti.current):lt(Ti,r.pool)}function Og(){var e=_f();return e===null?null:{parent:ve._currentValue,pool:e}}var Ul=Error(a(460)),_g=Error(a(474)),Mu=Error(a(542)),Rf={then:function(){}};function Rg(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Eu(){}function kg(e,r,l){switch(l=e[l],l===void 0?e.push(r):l!==r&&(r.then(Eu,Eu),r=l),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,zg(e),e;default:if(typeof r.status=="string")r.then(Eu,Eu);else{if(e=Ft,e!==null&&100<e.shellSuspendCounter)throw Error(a(482));e=r,e.status="pending",e.then(function(u){if(r.status==="pending"){var d=r;d.status="fulfilled",d.value=u}},function(u){if(r.status==="pending"){var d=r;d.status="rejected",d.reason=u}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,zg(e),e}throw jl=r,Ul}}var jl=null;function Dg(){if(jl===null)throw Error(a(459));var e=jl;return jl=null,e}function zg(e){if(e===Ul||e===Mu)throw Error(a(483))}var Yr=!1;function kf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Df(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Gr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function qr(e,r,l){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(Lt&2)!==0){var d=u.pending;return d===null?r.next=r:(r.next=d.next,d.next=r),u.pending=r,r=bu(e),bg(e,null,l),r}return vu(e,u,r,l),bu(e)}function $l(e,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194048)!==0)){var u=r.lanes;u&=e.pendingLanes,l|=u,r.lanes=l,M0(e,l)}}function zf(e,r){var l=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var d=null,g=null;if(l=l.firstBaseUpdate,l!==null){do{var A={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};g===null?d=g=A:g=g.next=A,l=l.next}while(l!==null);g===null?d=g=r:g=g.next=r}else d=g=r;l={baseState:u.baseState,firstBaseUpdate:d,lastBaseUpdate:g,shared:u.shared,callbacks:u.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=r:e.next=r,l.lastBaseUpdate=r}var Nf=!1;function Bl(){if(Nf){var e=ha;if(e!==null)throw e}}function Ll(e,r,l,u){Nf=!1;var d=e.updateQueue;Yr=!1;var g=d.firstBaseUpdate,A=d.lastBaseUpdate,w=d.shared.pending;if(w!==null){d.shared.pending=null;var U=w,V=U.next;U.next=null,A===null?g=V:A.next=V,A=U;var J=e.alternate;J!==null&&(J=J.updateQueue,w=J.lastBaseUpdate,w!==A&&(w===null?J.firstBaseUpdate=V:w.next=V,J.lastBaseUpdate=U))}if(g!==null){var et=d.baseState;A=0,J=V=U=null,w=g;do{var Z=w.lane&-536870913,Q=Z!==w.lane;if(Q?(kt&Z)===Z:(u&Z)===Z){Z!==0&&Z===da&&(Nf=!0),J!==null&&(J=J.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});t:{var Tt=e,St=w;Z=r;var It=l;switch(St.tag){case 1:if(Tt=St.payload,typeof Tt=="function"){et=Tt.call(It,et,Z);break t}et=Tt;break t;case 3:Tt.flags=Tt.flags&-65537|128;case 0:if(Tt=St.payload,Z=typeof Tt=="function"?Tt.call(It,et,Z):Tt,Z==null)break t;et=y({},et,Z);break t;case 2:Yr=!0}}Z=w.callback,Z!==null&&(e.flags|=64,Q&&(e.flags|=8192),Q=d.callbacks,Q===null?d.callbacks=[Z]:Q.push(Z))}else Q={lane:Z,tag:w.tag,payload:w.payload,callback:w.callback,next:null},J===null?(V=J=Q,U=et):J=J.next=Q,A|=Z;if(w=w.next,w===null){if(w=d.shared.pending,w===null)break;Q=w,w=Q.next,Q.next=null,d.lastBaseUpdate=Q,d.shared.pending=null}}while(!0);J===null&&(U=et),d.baseState=U,d.firstBaseUpdate=V,d.lastBaseUpdate=J,g===null&&(d.shared.lanes=0),Fr|=A,e.lanes=A,e.memoizedState=et}}function Ng(e,r){if(typeof e!="function")throw Error(a(191,e));e.call(r)}function Ug(e,r){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Ng(l[e],r)}var ma=F(null),Ou=F(0);function jg(e,r){e=Sr,lt(Ou,e),lt(ma,r),Sr=e|r.baseLanes}function Uf(){lt(Ou,Sr),lt(ma,ma.current)}function jf(){Sr=Ou.current,at(ma),at(Ou)}var Ir=0,Mt=null,Gt=null,ge=null,_u=!1,ga=!1,Ci=!1,Ru=0,Hl=0,pa=null,zA=0;function ce(){throw Error(a(321))}function $f(e,r){if(r===null)return!1;for(var l=0;l<r.length&&l<e.length;l++)if(!nn(e[l],r[l]))return!1;return!0}function Bf(e,r,l,u,d,g){return Ir=g,Mt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,j.H=e===null||e.memoizedState===null?bp:xp,Ci=!1,g=l(u,d),Ci=!1,ga&&(g=Bg(r,l,u,d)),$g(e),g}function $g(e){j.H=ju;var r=Gt!==null&&Gt.next!==null;if(Ir=0,ge=Gt=Mt=null,_u=!1,Hl=0,pa=null,r)throw Error(a(300));e===null||we||(e=e.dependencies,e!==null&&Tu(e)&&(we=!0))}function Bg(e,r,l,u){Mt=e;var d=0;do{if(ga&&(pa=null),Hl=0,ga=!1,25<=d)throw Error(a(301));if(d+=1,ge=Gt=null,e.updateQueue!=null){var g=e.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}j.H=HA,g=r(l,u)}while(ga);return g}function NA(){var e=j.H,r=e.useState()[0];return r=typeof r.then=="function"?Yl(r):r,e=e.useState()[0],(Gt!==null?Gt.memoizedState:null)!==e&&(Mt.flags|=1024),r}function Lf(){var e=Ru!==0;return Ru=0,e}function Hf(e,r,l){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~l}function Yf(e){if(_u){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}_u=!1}Ir=0,ge=Gt=Mt=null,ga=!1,Hl=Ru=0,pa=null}function Qe(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ge===null?Mt.memoizedState=ge=e:ge=ge.next=e,ge}function pe(){if(Gt===null){var e=Mt.alternate;e=e!==null?e.memoizedState:null}else e=Gt.next;var r=ge===null?Mt.memoizedState:ge.next;if(r!==null)ge=r,Gt=e;else{if(e===null)throw Mt.alternate===null?Error(a(467)):Error(a(310));Gt=e,e={memoizedState:Gt.memoizedState,baseState:Gt.baseState,baseQueue:Gt.baseQueue,queue:Gt.queue,next:null},ge===null?Mt.memoizedState=ge=e:ge=ge.next=e}return ge}function Gf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yl(e){var r=Hl;return Hl+=1,pa===null&&(pa=[]),e=kg(pa,e,r),r=Mt,(ge===null?r.memoizedState:ge.next)===null&&(r=r.alternate,j.H=r===null||r.memoizedState===null?bp:xp),e}function ku(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Yl(e);if(e.$$typeof===O)return $e(e)}throw Error(a(438,String(e)))}function qf(e){var r=null,l=Mt.updateQueue;if(l!==null&&(r=l.memoCache),r==null){var u=Mt.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(r={data:u.data.map(function(d){return d.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),l===null&&(l=Gf(),Mt.updateQueue=l),l.memoCache=r,l=r.data[r.index],l===void 0)for(l=r.data[r.index]=Array(e),u=0;u<e;u++)l[u]=T;return r.index++,l}function gr(e,r){return typeof r=="function"?r(e):r}function Du(e){var r=pe();return If(r,Gt,e)}function If(e,r,l){var u=e.queue;if(u===null)throw Error(a(311));u.lastRenderedReducer=l;var d=e.baseQueue,g=u.pending;if(g!==null){if(d!==null){var A=d.next;d.next=g.next,g.next=A}r.baseQueue=d=g,u.pending=null}if(g=e.baseState,d===null)e.memoizedState=g;else{r=d.next;var w=A=null,U=null,V=r,J=!1;do{var et=V.lane&-536870913;if(et!==V.lane?(kt&et)===et:(Ir&et)===et){var Z=V.revertLane;if(Z===0)U!==null&&(U=U.next={lane:0,revertLane:0,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),et===da&&(J=!0);else if((Ir&Z)===Z){V=V.next,Z===da&&(J=!0);continue}else et={lane:0,revertLane:V.revertLane,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},U===null?(w=U=et,A=g):U=U.next=et,Mt.lanes|=Z,Fr|=Z;et=V.action,Ci&&l(g,et),g=V.hasEagerState?V.eagerState:l(g,et)}else Z={lane:et,revertLane:V.revertLane,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},U===null?(w=U=Z,A=g):U=U.next=Z,Mt.lanes|=et,Fr|=et;V=V.next}while(V!==null&&V!==r);if(U===null?A=g:U.next=w,!nn(g,e.memoizedState)&&(we=!0,J&&(l=ha,l!==null)))throw l;e.memoizedState=g,e.baseState=A,e.baseQueue=U,u.lastRenderedState=g}return d===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Vf(e){var r=pe(),l=r.queue;if(l===null)throw Error(a(311));l.lastRenderedReducer=e;var u=l.dispatch,d=l.pending,g=r.memoizedState;if(d!==null){l.pending=null;var A=d=d.next;do g=e(g,A.action),A=A.next;while(A!==d);nn(g,r.memoizedState)||(we=!0),r.memoizedState=g,r.baseQueue===null&&(r.baseState=g),l.lastRenderedState=g}return[g,u]}function Lg(e,r,l){var u=Mt,d=pe(),g=Nt;if(g){if(l===void 0)throw Error(a(407));l=l()}else l=r();var A=!nn((Gt||d).memoizedState,l);A&&(d.memoizedState=l,we=!0),d=d.queue;var w=Gg.bind(null,u,d,e);if(Gl(2048,8,w,[e]),d.getSnapshot!==r||A||ge!==null&&ge.memoizedState.tag&1){if(u.flags|=2048,ya(9,zu(),Yg.bind(null,u,d,l,r),null),Ft===null)throw Error(a(349));g||(Ir&124)!==0||Hg(u,r,l)}return l}function Hg(e,r,l){e.flags|=16384,e={getSnapshot:r,value:l},r=Mt.updateQueue,r===null?(r=Gf(),Mt.updateQueue=r,r.stores=[e]):(l=r.stores,l===null?r.stores=[e]:l.push(e))}function Yg(e,r,l,u){r.value=l,r.getSnapshot=u,qg(r)&&Ig(e)}function Gg(e,r,l){return l(function(){qg(r)&&Ig(e)})}function qg(e){var r=e.getSnapshot;e=e.value;try{var l=r();return!nn(e,l)}catch{return!0}}function Ig(e){var r=ua(e,2);r!==null&&sn(r,e,2)}function Xf(e){var r=Qe();if(typeof e=="function"){var l=e;if(e=l(),Ci){_e(!0);try{l()}finally{_e(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:e},r}function Vg(e,r,l,u){return e.baseState=l,If(e,Gt,typeof u=="function"?u:gr)}function UA(e,r,l,u,d){if(Uu(e))throw Error(a(485));if(e=r.action,e!==null){var g={payload:d,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(A){g.listeners.push(A)}};j.T!==null?l(!0):g.isTransition=!1,u(g),l=r.pending,l===null?(g.next=r.pending=g,Xg(r,g)):(g.next=l.next,r.pending=l.next=g)}}function Xg(e,r){var l=r.action,u=r.payload,d=e.state;if(r.isTransition){var g=j.T,A={};j.T=A;try{var w=l(d,u),U=j.S;U!==null&&U(A,w),Pg(e,r,w)}catch(V){Pf(e,r,V)}finally{j.T=g}}else try{g=l(d,u),Pg(e,r,g)}catch(V){Pf(e,r,V)}}function Pg(e,r,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(u){Zg(e,r,u)},function(u){return Pf(e,r,u)}):Zg(e,r,l)}function Zg(e,r,l){r.status="fulfilled",r.value=l,Qg(r),e.state=l,r=e.pending,r!==null&&(l=r.next,l===r?e.pending=null:(l=l.next,r.next=l,Xg(e,l)))}function Pf(e,r,l){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do r.status="rejected",r.reason=l,Qg(r),r=r.next;while(r!==u)}e.action=null}function Qg(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function Kg(e,r){return r}function Fg(e,r){if(Nt){var l=Ft.formState;if(l!==null){t:{var u=Mt;if(Nt){if(ae){e:{for(var d=ae,g=Vn;d.nodeType!==8;){if(!g){d=null;break e}if(d=Bn(d.nextSibling),d===null){d=null;break e}}g=d.data,d=g==="F!"||g==="F"?d:null}if(d){ae=Bn(d.nextSibling),u=d.data==="F!";break t}}xi(u)}u=!1}u&&(r=l[0])}}return l=Qe(),l.memoizedState=l.baseState=r,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kg,lastRenderedState:r},l.queue=u,l=pp.bind(null,Mt,u),u.dispatch=l,u=Xf(!1),g=Wf.bind(null,Mt,!1,u.queue),u=Qe(),d={state:r,dispatch:null,action:e,pending:null},u.queue=d,l=UA.bind(null,Mt,d,g,l),d.dispatch=l,u.memoizedState=e,[r,l,!1]}function Wg(e){var r=pe();return Jg(r,Gt,e)}function Jg(e,r,l){if(r=If(e,r,Kg)[0],e=Du(gr)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var u=Yl(r)}catch(A){throw A===Ul?Mu:A}else u=r;r=pe();var d=r.queue,g=d.dispatch;return l!==r.memoizedState&&(Mt.flags|=2048,ya(9,zu(),jA.bind(null,d,l),null)),[u,g,e]}function jA(e,r){e.action=r}function tp(e){var r=pe(),l=Gt;if(l!==null)return Jg(r,l,e);pe(),r=r.memoizedState,l=pe();var u=l.queue.dispatch;return l.memoizedState=e,[r,u,!1]}function ya(e,r,l,u){return e={tag:e,create:l,deps:u,inst:r,next:null},r=Mt.updateQueue,r===null&&(r=Gf(),Mt.updateQueue=r),l=r.lastEffect,l===null?r.lastEffect=e.next=e:(u=l.next,l.next=e,e.next=u,r.lastEffect=e),e}function zu(){return{destroy:void 0,resource:void 0}}function ep(){return pe().memoizedState}function Nu(e,r,l,u){var d=Qe();u=u===void 0?null:u,Mt.flags|=e,d.memoizedState=ya(1|r,zu(),l,u)}function Gl(e,r,l,u){var d=pe();u=u===void 0?null:u;var g=d.memoizedState.inst;Gt!==null&&u!==null&&$f(u,Gt.memoizedState.deps)?d.memoizedState=ya(r,g,l,u):(Mt.flags|=e,d.memoizedState=ya(1|r,g,l,u))}function np(e,r){Nu(8390656,8,e,r)}function rp(e,r){Gl(2048,8,e,r)}function ip(e,r){return Gl(4,2,e,r)}function ap(e,r){return Gl(4,4,e,r)}function lp(e,r){if(typeof r=="function"){e=e();var l=r(e);return function(){typeof l=="function"?l():r(null)}}if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function op(e,r,l){l=l!=null?l.concat([e]):null,Gl(4,4,lp.bind(null,r,e),l)}function Zf(){}function up(e,r){var l=pe();r=r===void 0?null:r;var u=l.memoizedState;return r!==null&&$f(r,u[1])?u[0]:(l.memoizedState=[e,r],e)}function sp(e,r){var l=pe();r=r===void 0?null:r;var u=l.memoizedState;if(r!==null&&$f(r,u[1]))return u[0];if(u=e(),Ci){_e(!0);try{e()}finally{_e(!1)}}return l.memoizedState=[u,r],u}function Qf(e,r,l){return l===void 0||(Ir&1073741824)!==0?e.memoizedState=r:(e.memoizedState=l,e=dy(),Mt.lanes|=e,Fr|=e,l)}function cp(e,r,l,u){return nn(l,r)?l:ma.current!==null?(e=Qf(e,l,u),nn(e,r)||(we=!0),e):(Ir&42)===0?(we=!0,e.memoizedState=l):(e=dy(),Mt.lanes|=e,Fr|=e,r)}function fp(e,r,l,u,d){var g=P.p;P.p=g!==0&&8>g?g:8;var A=j.T,w={};j.T=w,Wf(e,!1,r,l);try{var U=d(),V=j.S;if(V!==null&&V(w,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var J=DA(U,u);ql(e,r,J,un(e))}else ql(e,r,u,un(e))}catch(et){ql(e,r,{then:function(){},status:"rejected",reason:et},un())}finally{P.p=g,j.T=A}}function $A(){}function Kf(e,r,l,u){if(e.tag!==5)throw Error(a(476));var d=dp(e).queue;fp(e,d,r,nt,l===null?$A:function(){return hp(e),l(u)})}function dp(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:nt,baseState:nt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:nt},next:null};var l={};return r.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:l},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function hp(e){var r=dp(e).next.queue;ql(e,r,{},un())}function Ff(){return $e(oo)}function mp(){return pe().memoizedState}function gp(){return pe().memoizedState}function BA(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var l=un();e=Gr(l);var u=qr(r,e,l);u!==null&&(sn(u,r,l),$l(u,r,l)),r={cache:Ef()},e.payload=r;return}r=r.return}}function LA(e,r,l){var u=un();l={lane:u,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Uu(e)?yp(r,l):(l=yf(e,r,l,u),l!==null&&(sn(l,e,u),vp(l,r,u)))}function pp(e,r,l){var u=un();ql(e,r,l,u)}function ql(e,r,l,u){var d={lane:u,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Uu(e))yp(r,d);else{var g=e.alternate;if(e.lanes===0&&(g===null||g.lanes===0)&&(g=r.lastRenderedReducer,g!==null))try{var A=r.lastRenderedState,w=g(A,l);if(d.hasEagerState=!0,d.eagerState=w,nn(w,A))return vu(e,r,d,0),Ft===null&&yu(),!1}catch{}finally{}if(l=yf(e,r,d,u),l!==null)return sn(l,e,u),vp(l,r,u),!0}return!1}function Wf(e,r,l,u){if(u={lane:2,revertLane:Rd(),action:u,hasEagerState:!1,eagerState:null,next:null},Uu(e)){if(r)throw Error(a(479))}else r=yf(e,l,u,2),r!==null&&sn(r,e,2)}function Uu(e){var r=e.alternate;return e===Mt||r!==null&&r===Mt}function yp(e,r){ga=_u=!0;var l=e.pending;l===null?r.next=r:(r.next=l.next,l.next=r),e.pending=r}function vp(e,r,l){if((l&4194048)!==0){var u=r.lanes;u&=e.pendingLanes,l|=u,r.lanes=l,M0(e,l)}}var ju={readContext:$e,use:ku,useCallback:ce,useContext:ce,useEffect:ce,useImperativeHandle:ce,useLayoutEffect:ce,useInsertionEffect:ce,useMemo:ce,useReducer:ce,useRef:ce,useState:ce,useDebugValue:ce,useDeferredValue:ce,useTransition:ce,useSyncExternalStore:ce,useId:ce,useHostTransitionStatus:ce,useFormState:ce,useActionState:ce,useOptimistic:ce,useMemoCache:ce,useCacheRefresh:ce},bp={readContext:$e,use:ku,useCallback:function(e,r){return Qe().memoizedState=[e,r===void 0?null:r],e},useContext:$e,useEffect:np,useImperativeHandle:function(e,r,l){l=l!=null?l.concat([e]):null,Nu(4194308,4,lp.bind(null,r,e),l)},useLayoutEffect:function(e,r){return Nu(4194308,4,e,r)},useInsertionEffect:function(e,r){Nu(4,2,e,r)},useMemo:function(e,r){var l=Qe();r=r===void 0?null:r;var u=e();if(Ci){_e(!0);try{e()}finally{_e(!1)}}return l.memoizedState=[u,r],u},useReducer:function(e,r,l){var u=Qe();if(l!==void 0){var d=l(r);if(Ci){_e(!0);try{l(r)}finally{_e(!1)}}}else d=r;return u.memoizedState=u.baseState=d,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:d},u.queue=e,e=e.dispatch=LA.bind(null,Mt,e),[u.memoizedState,e]},useRef:function(e){var r=Qe();return e={current:e},r.memoizedState=e},useState:function(e){e=Xf(e);var r=e.queue,l=pp.bind(null,Mt,r);return r.dispatch=l,[e.memoizedState,l]},useDebugValue:Zf,useDeferredValue:function(e,r){var l=Qe();return Qf(l,e,r)},useTransition:function(){var e=Xf(!1);return e=fp.bind(null,Mt,e.queue,!0,!1),Qe().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,l){var u=Mt,d=Qe();if(Nt){if(l===void 0)throw Error(a(407));l=l()}else{if(l=r(),Ft===null)throw Error(a(349));(kt&124)!==0||Hg(u,r,l)}d.memoizedState=l;var g={value:l,getSnapshot:r};return d.queue=g,np(Gg.bind(null,u,g,e),[e]),u.flags|=2048,ya(9,zu(),Yg.bind(null,u,g,l,r),null),l},useId:function(){var e=Qe(),r=Ft.identifierPrefix;if(Nt){var l=dr,u=fr;l=(u&~(1<<32-Te(u)-1)).toString(32)+l,r="«"+r+"R"+l,l=Ru++,0<l&&(r+="H"+l.toString(32)),r+="»"}else l=zA++,r="«"+r+"r"+l.toString(32)+"»";return e.memoizedState=r},useHostTransitionStatus:Ff,useFormState:Fg,useActionState:Fg,useOptimistic:function(e){var r=Qe();r.memoizedState=r.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=l,r=Wf.bind(null,Mt,!0,l),l.dispatch=r,[e,r]},useMemoCache:qf,useCacheRefresh:function(){return Qe().memoizedState=BA.bind(null,Mt)}},xp={readContext:$e,use:ku,useCallback:up,useContext:$e,useEffect:rp,useImperativeHandle:op,useInsertionEffect:ip,useLayoutEffect:ap,useMemo:sp,useReducer:Du,useRef:ep,useState:function(){return Du(gr)},useDebugValue:Zf,useDeferredValue:function(e,r){var l=pe();return cp(l,Gt.memoizedState,e,r)},useTransition:function(){var e=Du(gr)[0],r=pe().memoizedState;return[typeof e=="boolean"?e:Yl(e),r]},useSyncExternalStore:Lg,useId:mp,useHostTransitionStatus:Ff,useFormState:Wg,useActionState:Wg,useOptimistic:function(e,r){var l=pe();return Vg(l,Gt,e,r)},useMemoCache:qf,useCacheRefresh:gp},HA={readContext:$e,use:ku,useCallback:up,useContext:$e,useEffect:rp,useImperativeHandle:op,useInsertionEffect:ip,useLayoutEffect:ap,useMemo:sp,useReducer:Vf,useRef:ep,useState:function(){return Vf(gr)},useDebugValue:Zf,useDeferredValue:function(e,r){var l=pe();return Gt===null?Qf(l,e,r):cp(l,Gt.memoizedState,e,r)},useTransition:function(){var e=Vf(gr)[0],r=pe().memoizedState;return[typeof e=="boolean"?e:Yl(e),r]},useSyncExternalStore:Lg,useId:mp,useHostTransitionStatus:Ff,useFormState:tp,useActionState:tp,useOptimistic:function(e,r){var l=pe();return Gt!==null?Vg(l,Gt,e,r):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:qf,useCacheRefresh:gp},va=null,Il=0;function $u(e){var r=Il;return Il+=1,va===null&&(va=[]),kg(va,e,r)}function Vl(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function Bu(e,r){throw r.$$typeof===p?Error(a(525)):(e=Object.prototype.toString.call(r),Error(a(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e)))}function Sp(e){var r=e._init;return r(e._payload)}function Ap(e){function r(G,B){if(e){var q=G.deletions;q===null?(G.deletions=[B],G.flags|=16):q.push(B)}}function l(G,B){if(!e)return null;for(;B!==null;)r(G,B),B=B.sibling;return null}function u(G){for(var B=new Map;G!==null;)G.key!==null?B.set(G.key,G):B.set(G.index,G),G=G.sibling;return B}function d(G,B){return G=cr(G,B),G.index=0,G.sibling=null,G}function g(G,B,q){return G.index=q,e?(q=G.alternate,q!==null?(q=q.index,q<B?(G.flags|=67108866,B):q):(G.flags|=67108866,B)):(G.flags|=1048576,B)}function A(G){return e&&G.alternate===null&&(G.flags|=67108866),G}function w(G,B,q,tt){return B===null||B.tag!==6?(B=bf(q,G.mode,tt),B.return=G,B):(B=d(B,q),B.return=G,B)}function U(G,B,q,tt){var ht=q.type;return ht===S?J(G,B,q.props.children,tt,q.key):B!==null&&(B.elementType===ht||typeof ht=="object"&&ht!==null&&ht.$$typeof===L&&Sp(ht)===B.type)?(B=d(B,q.props),Vl(B,q),B.return=G,B):(B=xu(q.type,q.key,q.props,null,G.mode,tt),Vl(B,q),B.return=G,B)}function V(G,B,q,tt){return B===null||B.tag!==4||B.stateNode.containerInfo!==q.containerInfo||B.stateNode.implementation!==q.implementation?(B=xf(q,G.mode,tt),B.return=G,B):(B=d(B,q.children||[]),B.return=G,B)}function J(G,B,q,tt,ht){return B===null||B.tag!==7?(B=pi(q,G.mode,tt,ht),B.return=G,B):(B=d(B,q),B.return=G,B)}function et(G,B,q){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return B=bf(""+B,G.mode,q),B.return=G,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case v:return q=xu(B.type,B.key,B.props,null,G.mode,q),Vl(q,B),q.return=G,q;case b:return B=xf(B,G.mode,q),B.return=G,B;case L:var tt=B._init;return B=tt(B._payload),et(G,B,q)}if(ot(B)||X(B))return B=pi(B,G.mode,q,null),B.return=G,B;if(typeof B.then=="function")return et(G,$u(B),q);if(B.$$typeof===O)return et(G,Cu(G,B),q);Bu(G,B)}return null}function Z(G,B,q,tt){var ht=B!==null?B.key:null;if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return ht!==null?null:w(G,B,""+q,tt);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case v:return q.key===ht?U(G,B,q,tt):null;case b:return q.key===ht?V(G,B,q,tt):null;case L:return ht=q._init,q=ht(q._payload),Z(G,B,q,tt)}if(ot(q)||X(q))return ht!==null?null:J(G,B,q,tt,null);if(typeof q.then=="function")return Z(G,B,$u(q),tt);if(q.$$typeof===O)return Z(G,B,Cu(G,q),tt);Bu(G,q)}return null}function Q(G,B,q,tt,ht){if(typeof tt=="string"&&tt!==""||typeof tt=="number"||typeof tt=="bigint")return G=G.get(q)||null,w(B,G,""+tt,ht);if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case v:return G=G.get(tt.key===null?q:tt.key)||null,U(B,G,tt,ht);case b:return G=G.get(tt.key===null?q:tt.key)||null,V(B,G,tt,ht);case L:var Et=tt._init;return tt=Et(tt._payload),Q(G,B,q,tt,ht)}if(ot(tt)||X(tt))return G=G.get(q)||null,J(B,G,tt,ht,null);if(typeof tt.then=="function")return Q(G,B,q,$u(tt),ht);if(tt.$$typeof===O)return Q(G,B,q,Cu(B,tt),ht);Bu(B,tt)}return null}function Tt(G,B,q,tt){for(var ht=null,Et=null,pt=B,At=B=0,Ee=null;pt!==null&&At<q.length;At++){pt.index>At?(Ee=pt,pt=null):Ee=pt.sibling;var Dt=Z(G,pt,q[At],tt);if(Dt===null){pt===null&&(pt=Ee);break}e&&pt&&Dt.alternate===null&&r(G,pt),B=g(Dt,B,At),Et===null?ht=Dt:Et.sibling=Dt,Et=Dt,pt=Ee}if(At===q.length)return l(G,pt),Nt&&vi(G,At),ht;if(pt===null){for(;At<q.length;At++)pt=et(G,q[At],tt),pt!==null&&(B=g(pt,B,At),Et===null?ht=pt:Et.sibling=pt,Et=pt);return Nt&&vi(G,At),ht}for(pt=u(pt);At<q.length;At++)Ee=Q(pt,G,At,q[At],tt),Ee!==null&&(e&&Ee.alternate!==null&&pt.delete(Ee.key===null?At:Ee.key),B=g(Ee,B,At),Et===null?ht=Ee:Et.sibling=Ee,Et=Ee);return e&&pt.forEach(function(li){return r(G,li)}),Nt&&vi(G,At),ht}function St(G,B,q,tt){if(q==null)throw Error(a(151));for(var ht=null,Et=null,pt=B,At=B=0,Ee=null,Dt=q.next();pt!==null&&!Dt.done;At++,Dt=q.next()){pt.index>At?(Ee=pt,pt=null):Ee=pt.sibling;var li=Z(G,pt,Dt.value,tt);if(li===null){pt===null&&(pt=Ee);break}e&&pt&&li.alternate===null&&r(G,pt),B=g(li,B,At),Et===null?ht=li:Et.sibling=li,Et=li,pt=Ee}if(Dt.done)return l(G,pt),Nt&&vi(G,At),ht;if(pt===null){for(;!Dt.done;At++,Dt=q.next())Dt=et(G,Dt.value,tt),Dt!==null&&(B=g(Dt,B,At),Et===null?ht=Dt:Et.sibling=Dt,Et=Dt);return Nt&&vi(G,At),ht}for(pt=u(pt);!Dt.done;At++,Dt=q.next())Dt=Q(pt,G,At,Dt.value,tt),Dt!==null&&(e&&Dt.alternate!==null&&pt.delete(Dt.key===null?At:Dt.key),B=g(Dt,B,At),Et===null?ht=Dt:Et.sibling=Dt,Et=Dt);return e&&pt.forEach(function(YT){return r(G,YT)}),Nt&&vi(G,At),ht}function It(G,B,q,tt){if(typeof q=="object"&&q!==null&&q.type===S&&q.key===null&&(q=q.props.children),typeof q=="object"&&q!==null){switch(q.$$typeof){case v:t:{for(var ht=q.key;B!==null;){if(B.key===ht){if(ht=q.type,ht===S){if(B.tag===7){l(G,B.sibling),tt=d(B,q.props.children),tt.return=G,G=tt;break t}}else if(B.elementType===ht||typeof ht=="object"&&ht!==null&&ht.$$typeof===L&&Sp(ht)===B.type){l(G,B.sibling),tt=d(B,q.props),Vl(tt,q),tt.return=G,G=tt;break t}l(G,B);break}else r(G,B);B=B.sibling}q.type===S?(tt=pi(q.props.children,G.mode,tt,q.key),tt.return=G,G=tt):(tt=xu(q.type,q.key,q.props,null,G.mode,tt),Vl(tt,q),tt.return=G,G=tt)}return A(G);case b:t:{for(ht=q.key;B!==null;){if(B.key===ht)if(B.tag===4&&B.stateNode.containerInfo===q.containerInfo&&B.stateNode.implementation===q.implementation){l(G,B.sibling),tt=d(B,q.children||[]),tt.return=G,G=tt;break t}else{l(G,B);break}else r(G,B);B=B.sibling}tt=xf(q,G.mode,tt),tt.return=G,G=tt}return A(G);case L:return ht=q._init,q=ht(q._payload),It(G,B,q,tt)}if(ot(q))return Tt(G,B,q,tt);if(X(q)){if(ht=X(q),typeof ht!="function")throw Error(a(150));return q=ht.call(q),St(G,B,q,tt)}if(typeof q.then=="function")return It(G,B,$u(q),tt);if(q.$$typeof===O)return It(G,B,Cu(G,q),tt);Bu(G,q)}return typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint"?(q=""+q,B!==null&&B.tag===6?(l(G,B.sibling),tt=d(B,q),tt.return=G,G=tt):(l(G,B),tt=bf(q,G.mode,tt),tt.return=G,G=tt),A(G)):l(G,B)}return function(G,B,q,tt){try{Il=0;var ht=It(G,B,q,tt);return va=null,ht}catch(pt){if(pt===Ul||pt===Mu)throw pt;var Et=rn(29,pt,null,G.mode);return Et.lanes=tt,Et.return=G,Et}finally{}}}var ba=Ap(!0),Tp=Ap(!1),An=F(null),Xn=null;function Vr(e){var r=e.alternate;lt(be,be.current&1),lt(An,e),Xn===null&&(r===null||ma.current!==null||r.memoizedState!==null)&&(Xn=e)}function Cp(e){if(e.tag===22){if(lt(be,be.current),lt(An,e),Xn===null){var r=e.alternate;r!==null&&r.memoizedState!==null&&(Xn=e)}}else Xr()}function Xr(){lt(be,be.current),lt(An,An.current)}function pr(e){at(An),Xn===e&&(Xn=null),at(be)}var be=F(0);function Lu(e){for(var r=e;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||Gd(l)))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}function Jf(e,r,l,u){r=e.memoizedState,l=l(u,r),l=l==null?r:y({},r,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var td={enqueueSetState:function(e,r,l){e=e._reactInternals;var u=un(),d=Gr(u);d.payload=r,l!=null&&(d.callback=l),r=qr(e,d,u),r!==null&&(sn(r,e,u),$l(r,e,u))},enqueueReplaceState:function(e,r,l){e=e._reactInternals;var u=un(),d=Gr(u);d.tag=1,d.payload=r,l!=null&&(d.callback=l),r=qr(e,d,u),r!==null&&(sn(r,e,u),$l(r,e,u))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var l=un(),u=Gr(l);u.tag=2,r!=null&&(u.callback=r),r=qr(e,u,l),r!==null&&(sn(r,e,l),$l(r,e,l))}};function wp(e,r,l,u,d,g,A){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,g,A):r.prototype&&r.prototype.isPureReactComponent?!El(l,u)||!El(d,g):!0}function Mp(e,r,l,u){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,u),r.state!==e&&td.enqueueReplaceState(r,r.state,null)}function wi(e,r){var l=r;if("ref"in r){l={};for(var u in r)u!=="ref"&&(l[u]=r[u])}if(e=e.defaultProps){l===r&&(l=y({},l));for(var d in e)l[d]===void 0&&(l[d]=e[d])}return l}var Hu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=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(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Ep(e){Hu(e)}function Op(e){console.error(e)}function _p(e){Hu(e)}function Yu(e,r){try{var l=e.onUncaughtError;l(r.value,{componentStack:r.stack})}catch(u){setTimeout(function(){throw u})}}function Rp(e,r,l){try{var u=e.onCaughtError;u(l.value,{componentStack:l.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function ed(e,r,l){return l=Gr(l),l.tag=3,l.payload={element:null},l.callback=function(){Yu(e,r)},l}function kp(e){return e=Gr(e),e.tag=3,e}function Dp(e,r,l,u){var d=l.type.getDerivedStateFromError;if(typeof d=="function"){var g=u.value;e.payload=function(){return d(g)},e.callback=function(){Rp(r,l,u)}}var A=l.stateNode;A!==null&&typeof A.componentDidCatch=="function"&&(e.callback=function(){Rp(r,l,u),typeof d!="function"&&(Wr===null?Wr=new Set([this]):Wr.add(this));var w=u.stack;this.componentDidCatch(u.value,{componentStack:w!==null?w:""})})}function YA(e,r,l,u,d){if(l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(r=l.alternate,r!==null&&Dl(r,l,d,!0),l=An.current,l!==null){switch(l.tag){case 13:return Xn===null?wd():l.alternate===null&&le===0&&(le=3),l.flags&=-257,l.flags|=65536,l.lanes=d,u===Rf?l.flags|=16384:(r=l.updateQueue,r===null?l.updateQueue=new Set([u]):r.add(u),Ed(e,u,d)),!1;case 22:return l.flags|=65536,u===Rf?l.flags|=16384:(r=l.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([u])},l.updateQueue=r):(l=r.retryQueue,l===null?r.retryQueue=new Set([u]):l.add(u)),Ed(e,u,d)),!1}throw Error(a(435,l.tag))}return Ed(e,u,d),wd(),!1}if(Nt)return r=An.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=d,u!==Tf&&(e=Error(a(422),{cause:u}),kl(vn(e,l)))):(u!==Tf&&(r=Error(a(423),{cause:u}),kl(vn(r,l))),e=e.current.alternate,e.flags|=65536,d&=-d,e.lanes|=d,u=vn(u,l),d=ed(e.stateNode,u,d),zf(e,d),le!==4&&(le=2)),!1;var g=Error(a(520),{cause:u});if(g=vn(g,l),Wl===null?Wl=[g]:Wl.push(g),le!==4&&(le=2),r===null)return!0;u=vn(u,l),l=r;do{switch(l.tag){case 3:return l.flags|=65536,e=d&-d,l.lanes|=e,e=ed(l.stateNode,u,e),zf(l,e),!1;case 1:if(r=l.type,g=l.stateNode,(l.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Wr===null||!Wr.has(g))))return l.flags|=65536,d&=-d,l.lanes|=d,d=kp(d),Dp(d,e,l,u),zf(l,d),!1}l=l.return}while(l!==null);return!1}var zp=Error(a(461)),we=!1;function Re(e,r,l,u){r.child=e===null?Tp(r,null,l,u):ba(r,e.child,l,u)}function Np(e,r,l,u,d){l=l.render;var g=r.ref;if("ref"in u){var A={};for(var w in u)w!=="ref"&&(A[w]=u[w])}else A=u;return Ai(r),u=Bf(e,r,l,A,g,d),w=Lf(),e!==null&&!we?(Hf(e,r,d),yr(e,r,d)):(Nt&&w&&Sf(r),r.flags|=1,Re(e,r,u,d),r.child)}function Up(e,r,l,u,d){if(e===null){var g=l.type;return typeof g=="function"&&!vf(g)&&g.defaultProps===void 0&&l.compare===null?(r.tag=15,r.type=g,jp(e,r,g,u,d)):(e=xu(l.type,null,u,r,r.mode,d),e.ref=r.ref,e.return=r,r.child=e)}if(g=e.child,!sd(e,d)){var A=g.memoizedProps;if(l=l.compare,l=l!==null?l:El,l(A,u)&&e.ref===r.ref)return yr(e,r,d)}return r.flags|=1,e=cr(g,u),e.ref=r.ref,e.return=r,r.child=e}function jp(e,r,l,u,d){if(e!==null){var g=e.memoizedProps;if(El(g,u)&&e.ref===r.ref)if(we=!1,r.pendingProps=u=g,sd(e,d))(e.flags&131072)!==0&&(we=!0);else return r.lanes=e.lanes,yr(e,r,d)}return nd(e,r,l,u,d)}function $p(e,r,l){var u=r.pendingProps,d=u.children,g=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((r.flags&128)!==0){if(u=g!==null?g.baseLanes|l:l,e!==null){for(d=r.child=e.child,g=0;d!==null;)g=g|d.lanes|d.childLanes,d=d.sibling;r.childLanes=g&~u}else r.childLanes=0,r.child=null;return Bp(e,r,u,l)}if((l&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&wu(r,g!==null?g.cachePool:null),g!==null?jg(r,g):Uf(),Cp(r);else return r.lanes=r.childLanes=536870912,Bp(e,r,g!==null?g.baseLanes|l:l,l)}else g!==null?(wu(r,g.cachePool),jg(r,g),Xr(),r.memoizedState=null):(e!==null&&wu(r,null),Uf(),Xr());return Re(e,r,d,l),r.child}function Bp(e,r,l,u){var d=_f();return d=d===null?null:{parent:ve._currentValue,pool:d},r.memoizedState={baseLanes:l,cachePool:d},e!==null&&wu(r,null),Uf(),Cp(r),e!==null&&Dl(e,r,u,!0),null}function Gu(e,r){var l=r.ref;if(l===null)e!==null&&e.ref!==null&&(r.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(a(284));(e===null||e.ref!==l)&&(r.flags|=4194816)}}function nd(e,r,l,u,d){return Ai(r),l=Bf(e,r,l,u,void 0,d),u=Lf(),e!==null&&!we?(Hf(e,r,d),yr(e,r,d)):(Nt&&u&&Sf(r),r.flags|=1,Re(e,r,l,d),r.child)}function Lp(e,r,l,u,d,g){return Ai(r),r.updateQueue=null,l=Bg(r,u,l,d),$g(e),u=Lf(),e!==null&&!we?(Hf(e,r,g),yr(e,r,g)):(Nt&&u&&Sf(r),r.flags|=1,Re(e,r,l,g),r.child)}function Hp(e,r,l,u,d){if(Ai(r),r.stateNode===null){var g=sa,A=l.contextType;typeof A=="object"&&A!==null&&(g=$e(A)),g=new l(u,g),r.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=td,r.stateNode=g,g._reactInternals=r,g=r.stateNode,g.props=u,g.state=r.memoizedState,g.refs={},kf(r),A=l.contextType,g.context=typeof A=="object"&&A!==null?$e(A):sa,g.state=r.memoizedState,A=l.getDerivedStateFromProps,typeof A=="function"&&(Jf(r,l,A,u),g.state=r.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(A=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),A!==g.state&&td.enqueueReplaceState(g,g.state,null),Ll(r,u,g,d),Bl(),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308),u=!0}else if(e===null){g=r.stateNode;var w=r.memoizedProps,U=wi(l,w);g.props=U;var V=g.context,J=l.contextType;A=sa,typeof J=="object"&&J!==null&&(A=$e(J));var et=l.getDerivedStateFromProps;J=typeof et=="function"||typeof g.getSnapshotBeforeUpdate=="function",w=r.pendingProps!==w,J||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(w||V!==A)&&Mp(r,g,u,A),Yr=!1;var Z=r.memoizedState;g.state=Z,Ll(r,u,g,d),Bl(),V=r.memoizedState,w||Z!==V||Yr?(typeof et=="function"&&(Jf(r,l,et,u),V=r.memoizedState),(U=Yr||wp(r,l,U,u,Z,V,A))?(J||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(r.flags|=4194308)):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=V),g.props=u,g.state=V,g.context=A,u=U):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{g=r.stateNode,Df(e,r),A=r.memoizedProps,J=wi(l,A),g.props=J,et=r.pendingProps,Z=g.context,V=l.contextType,U=sa,typeof V=="object"&&V!==null&&(U=$e(V)),w=l.getDerivedStateFromProps,(V=typeof w=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(A!==et||Z!==U)&&Mp(r,g,u,U),Yr=!1,Z=r.memoizedState,g.state=Z,Ll(r,u,g,d),Bl();var Q=r.memoizedState;A!==et||Z!==Q||Yr||e!==null&&e.dependencies!==null&&Tu(e.dependencies)?(typeof w=="function"&&(Jf(r,l,w,u),Q=r.memoizedState),(J=Yr||wp(r,l,J,u,Z,Q,U)||e!==null&&e.dependencies!==null&&Tu(e.dependencies))?(V||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,Q,U),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,Q,U)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||A===e.memoizedProps&&Z===e.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||A===e.memoizedProps&&Z===e.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=Q),g.props=u,g.state=Q,g.context=U,u=J):(typeof g.componentDidUpdate!="function"||A===e.memoizedProps&&Z===e.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||A===e.memoizedProps&&Z===e.memoizedState||(r.flags|=1024),u=!1)}return g=u,Gu(e,r),u=(r.flags&128)!==0,g||u?(g=r.stateNode,l=u&&typeof l.getDerivedStateFromError!="function"?null:g.render(),r.flags|=1,e!==null&&u?(r.child=ba(r,e.child,null,d),r.child=ba(r,null,l,d)):Re(e,r,l,d),r.memoizedState=g.state,e=r.child):e=yr(e,r,d),e}function Yp(e,r,l,u){return Rl(),r.flags|=256,Re(e,r,l,u),r.child}var rd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function id(e){return{baseLanes:e,cachePool:Og()}}function ad(e,r,l){return e=e!==null?e.childLanes&~l:0,r&&(e|=Tn),e}function Gp(e,r,l){var u=r.pendingProps,d=!1,g=(r.flags&128)!==0,A;if((A=g)||(A=e!==null&&e.memoizedState===null?!1:(be.current&2)!==0),A&&(d=!0,r.flags&=-129),A=(r.flags&32)!==0,r.flags&=-33,e===null){if(Nt){if(d?Vr(r):Xr(),Nt){var w=ae,U;if(U=w){t:{for(U=w,w=Vn;U.nodeType!==8;){if(!w){w=null;break t}if(U=Bn(U.nextSibling),U===null){w=null;break t}}w=U}w!==null?(r.memoizedState={dehydrated:w,treeContext:yi!==null?{id:fr,overflow:dr}:null,retryLane:536870912,hydrationErrors:null},U=rn(18,null,null,0),U.stateNode=w,U.return=r,r.child=U,Ie=r,ae=null,U=!0):U=!1}U||xi(r)}if(w=r.memoizedState,w!==null&&(w=w.dehydrated,w!==null))return Gd(w)?r.lanes=32:r.lanes=536870912,null;pr(r)}return w=u.children,u=u.fallback,d?(Xr(),d=r.mode,w=qu({mode:"hidden",children:w},d),u=pi(u,d,l,null),w.return=r,u.return=r,w.sibling=u,r.child=w,d=r.child,d.memoizedState=id(l),d.childLanes=ad(e,A,l),r.memoizedState=rd,u):(Vr(r),ld(r,w))}if(U=e.memoizedState,U!==null&&(w=U.dehydrated,w!==null)){if(g)r.flags&256?(Vr(r),r.flags&=-257,r=od(e,r,l)):r.memoizedState!==null?(Xr(),r.child=e.child,r.flags|=128,r=null):(Xr(),d=u.fallback,w=r.mode,u=qu({mode:"visible",children:u.children},w),d=pi(d,w,l,null),d.flags|=2,u.return=r,d.return=r,u.sibling=d,r.child=u,ba(r,e.child,null,l),u=r.child,u.memoizedState=id(l),u.childLanes=ad(e,A,l),r.memoizedState=rd,r=d);else if(Vr(r),Gd(w)){if(A=w.nextSibling&&w.nextSibling.dataset,A)var V=A.dgst;A=V,u=Error(a(419)),u.stack="",u.digest=A,kl({value:u,source:null,stack:null}),r=od(e,r,l)}else if(we||Dl(e,r,l,!1),A=(l&e.childLanes)!==0,we||A){if(A=Ft,A!==null&&(u=l&-l,u=(u&42)!==0?1:Gc(u),u=(u&(A.suspendedLanes|l))!==0?0:u,u!==0&&u!==U.retryLane))throw U.retryLane=u,ua(e,u),sn(A,e,u),zp;w.data==="$?"||wd(),r=od(e,r,l)}else w.data==="$?"?(r.flags|=192,r.child=e.child,r=null):(e=U.treeContext,ae=Bn(w.nextSibling),Ie=r,Nt=!0,bi=null,Vn=!1,e!==null&&(xn[Sn++]=fr,xn[Sn++]=dr,xn[Sn++]=yi,fr=e.id,dr=e.overflow,yi=r),r=ld(r,u.children),r.flags|=4096);return r}return d?(Xr(),d=u.fallback,w=r.mode,U=e.child,V=U.sibling,u=cr(U,{mode:"hidden",children:u.children}),u.subtreeFlags=U.subtreeFlags&65011712,V!==null?d=cr(V,d):(d=pi(d,w,l,null),d.flags|=2),d.return=r,u.return=r,u.sibling=d,r.child=u,u=d,d=r.child,w=e.child.memoizedState,w===null?w=id(l):(U=w.cachePool,U!==null?(V=ve._currentValue,U=U.parent!==V?{parent:V,pool:V}:U):U=Og(),w={baseLanes:w.baseLanes|l,cachePool:U}),d.memoizedState=w,d.childLanes=ad(e,A,l),r.memoizedState=rd,u):(Vr(r),l=e.child,e=l.sibling,l=cr(l,{mode:"visible",children:u.children}),l.return=r,l.sibling=null,e!==null&&(A=r.deletions,A===null?(r.deletions=[e],r.flags|=16):A.push(e)),r.child=l,r.memoizedState=null,l)}function ld(e,r){return r=qu({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function qu(e,r){return e=rn(22,e,null,r),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function od(e,r,l){return ba(r,e.child,null,l),e=ld(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function qp(e,r,l){e.lanes|=r;var u=e.alternate;u!==null&&(u.lanes|=r),wf(e.return,r,l)}function ud(e,r,l,u,d){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:d}:(g.isBackwards=r,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=l,g.tailMode=d)}function Ip(e,r,l){var u=r.pendingProps,d=u.revealOrder,g=u.tail;if(Re(e,r,u.children,l),u=be.current,(u&2)!==0)u=u&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)t:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&qp(e,l,r);else if(e.tag===19)qp(e,l,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break t;for(;e.sibling===null;){if(e.return===null||e.return===r)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}switch(lt(be,u),d){case"forwards":for(l=r.child,d=null;l!==null;)e=l.alternate,e!==null&&Lu(e)===null&&(d=l),l=l.sibling;l=d,l===null?(d=r.child,r.child=null):(d=l.sibling,l.sibling=null),ud(r,!1,d,l,g);break;case"backwards":for(l=null,d=r.child,r.child=null;d!==null;){if(e=d.alternate,e!==null&&Lu(e)===null){r.child=d;break}e=d.sibling,d.sibling=l,l=d,d=e}ud(r,!0,l,null,g);break;case"together":ud(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function yr(e,r,l){if(e!==null&&(r.dependencies=e.dependencies),Fr|=r.lanes,(l&r.childLanes)===0)if(e!==null){if(Dl(e,r,l,!1),(l&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(a(153));if(r.child!==null){for(e=r.child,l=cr(e,e.pendingProps),r.child=l,l.return=r;e.sibling!==null;)e=e.sibling,l=l.sibling=cr(e,e.pendingProps),l.return=r;l.sibling=null}return r.child}function sd(e,r){return(e.lanes&r)!==0?!0:(e=e.dependencies,!!(e!==null&&Tu(e)))}function GA(e,r,l){switch(r.tag){case 3:mt(r,r.stateNode.containerInfo),Hr(r,ve,e.memoizedState.cache),Rl();break;case 27:case 5:xt(r);break;case 4:mt(r,r.stateNode.containerInfo);break;case 10:Hr(r,r.type,r.memoizedProps.value);break;case 13:var u=r.memoizedState;if(u!==null)return u.dehydrated!==null?(Vr(r),r.flags|=128,null):(l&r.child.childLanes)!==0?Gp(e,r,l):(Vr(r),e=yr(e,r,l),e!==null?e.sibling:null);Vr(r);break;case 19:var d=(e.flags&128)!==0;if(u=(l&r.childLanes)!==0,u||(Dl(e,r,l,!1),u=(l&r.childLanes)!==0),d){if(u)return Ip(e,r,l);r.flags|=128}if(d=r.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),lt(be,be.current),u)break;return null;case 22:case 23:return r.lanes=0,$p(e,r,l);case 24:Hr(r,ve,e.memoizedState.cache)}return yr(e,r,l)}function Vp(e,r,l){if(e!==null)if(e.memoizedProps!==r.pendingProps)we=!0;else{if(!sd(e,l)&&(r.flags&128)===0)return we=!1,GA(e,r,l);we=(e.flags&131072)!==0}else we=!1,Nt&&(r.flags&1048576)!==0&&Sg(r,Au,r.index);switch(r.lanes=0,r.tag){case 16:t:{e=r.pendingProps;var u=r.elementType,d=u._init;if(u=d(u._payload),r.type=u,typeof u=="function")vf(u)?(e=wi(u,e),r.tag=1,r=Hp(null,r,u,e,l)):(r.tag=0,r=nd(null,r,u,e,l));else{if(u!=null){if(d=u.$$typeof,d===R){r.tag=11,r=Np(null,r,u,e,l);break t}else if(d===D){r.tag=14,r=Up(null,r,u,e,l);break t}}throw r=it(u)||u,Error(a(306,r,""))}}return r;case 0:return nd(e,r,r.type,r.pendingProps,l);case 1:return u=r.type,d=wi(u,r.pendingProps),Hp(e,r,u,d,l);case 3:t:{if(mt(r,r.stateNode.containerInfo),e===null)throw Error(a(387));u=r.pendingProps;var g=r.memoizedState;d=g.element,Df(e,r),Ll(r,u,null,l);var A=r.memoizedState;if(u=A.cache,Hr(r,ve,u),u!==g.cache&&Mf(r,[ve],l,!0),Bl(),u=A.element,g.isDehydrated)if(g={element:u,isDehydrated:!1,cache:A.cache},r.updateQueue.baseState=g,r.memoizedState=g,r.flags&256){r=Yp(e,r,u,l);break t}else if(u!==d){d=vn(Error(a(424)),r),kl(d),r=Yp(e,r,u,l);break t}else{switch(e=r.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(ae=Bn(e.firstChild),Ie=r,Nt=!0,bi=null,Vn=!0,l=Tp(r,null,u,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Rl(),u===d){r=yr(e,r,l);break t}Re(e,r,u,l)}r=r.child}return r;case 26:return Gu(e,r),e===null?(l=Qy(r.type,null,r.pendingProps,null))?r.memoizedState=l:Nt||(l=r.type,e=r.pendingProps,u=rs(dt.current).createElement(l),u[je]=r,u[Pe]=e,De(u,l,e),Ce(u),r.stateNode=u):r.memoizedState=Qy(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return xt(r),e===null&&Nt&&(u=r.stateNode=Xy(r.type,r.pendingProps,dt.current),Ie=r,Vn=!0,d=ae,ei(r.type)?(qd=d,ae=Bn(u.firstChild)):ae=d),Re(e,r,r.pendingProps.children,l),Gu(e,r),e===null&&(r.flags|=4194304),r.child;case 5:return e===null&&Nt&&((d=u=ae)&&(u=pT(u,r.type,r.pendingProps,Vn),u!==null?(r.stateNode=u,Ie=r,ae=Bn(u.firstChild),Vn=!1,d=!0):d=!1),d||xi(r)),xt(r),d=r.type,g=r.pendingProps,A=e!==null?e.memoizedProps:null,u=g.children,Ld(d,g)?u=null:A!==null&&Ld(d,A)&&(r.flags|=32),r.memoizedState!==null&&(d=Bf(e,r,NA,null,null,l),oo._currentValue=d),Gu(e,r),Re(e,r,u,l),r.child;case 6:return e===null&&Nt&&((e=l=ae)&&(l=yT(l,r.pendingProps,Vn),l!==null?(r.stateNode=l,Ie=r,ae=null,e=!0):e=!1),e||xi(r)),null;case 13:return Gp(e,r,l);case 4:return mt(r,r.stateNode.containerInfo),u=r.pendingProps,e===null?r.child=ba(r,null,u,l):Re(e,r,u,l),r.child;case 11:return Np(e,r,r.type,r.pendingProps,l);case 7:return Re(e,r,r.pendingProps,l),r.child;case 8:return Re(e,r,r.pendingProps.children,l),r.child;case 12:return Re(e,r,r.pendingProps.children,l),r.child;case 10:return u=r.pendingProps,Hr(r,r.type,u.value),Re(e,r,u.children,l),r.child;case 9:return d=r.type._context,u=r.pendingProps.children,Ai(r),d=$e(d),u=u(d),r.flags|=1,Re(e,r,u,l),r.child;case 14:return Up(e,r,r.type,r.pendingProps,l);case 15:return jp(e,r,r.type,r.pendingProps,l);case 19:return Ip(e,r,l);case 31:return u=r.pendingProps,l=r.mode,u={mode:u.mode,children:u.children},e===null?(l=qu(u,l),l.ref=r.ref,r.child=l,l.return=r,r=l):(l=cr(e.child,u),l.ref=r.ref,r.child=l,l.return=r,r=l),r;case 22:return $p(e,r,l);case 24:return Ai(r),u=$e(ve),e===null?(d=_f(),d===null&&(d=Ft,g=Ef(),d.pooledCache=g,g.refCount++,g!==null&&(d.pooledCacheLanes|=l),d=g),r.memoizedState={parent:u,cache:d},kf(r),Hr(r,ve,d)):((e.lanes&l)!==0&&(Df(e,r),Ll(r,null,null,l),Bl()),d=e.memoizedState,g=r.memoizedState,d.parent!==u?(d={parent:u,cache:u},r.memoizedState=d,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=d),Hr(r,ve,u)):(u=g.cache,Hr(r,ve,u),u!==d.cache&&Mf(r,[ve],l,!0))),Re(e,r,r.pendingProps.children,l),r.child;case 29:throw r.pendingProps}throw Error(a(156,r.tag))}function vr(e){e.flags|=4}function Xp(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!t1(r)){if(r=An.current,r!==null&&((kt&4194048)===kt?Xn!==null:(kt&62914560)!==kt&&(kt&536870912)===0||r!==Xn))throw jl=Rf,_g;e.flags|=8192}}function Iu(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?C0():536870912,e.lanes|=r,Ta|=r)}function Xl(e,r){if(!Nt)switch(e.tailMode){case"hidden":r=e.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function ie(e){var r=e.alternate!==null&&e.alternate.child===e.child,l=0,u=0;if(r)for(var d=e.child;d!==null;)l|=d.lanes|d.childLanes,u|=d.subtreeFlags&65011712,u|=d.flags&65011712,d.return=e,d=d.sibling;else for(d=e.child;d!==null;)l|=d.lanes|d.childLanes,u|=d.subtreeFlags,u|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=u,e.childLanes=l,r}function qA(e,r,l){var u=r.pendingProps;switch(Af(r),r.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ie(r),null;case 1:return ie(r),null;case 3:return l=r.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),r.memoizedState.cache!==u&&(r.flags|=2048),mr(ve),st(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(_l(r)?vr(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Cg())),ie(r),null;case 26:return l=r.memoizedState,e===null?(vr(r),l!==null?(ie(r),Xp(r,l)):(ie(r),r.flags&=-16777217)):l?l!==e.memoizedState?(vr(r),ie(r),Xp(r,l)):(ie(r),r.flags&=-16777217):(e.memoizedProps!==u&&vr(r),ie(r),r.flags&=-16777217),null;case 27:bt(r),l=dt.current;var d=r.type;if(e!==null&&r.stateNode!=null)e.memoizedProps!==u&&vr(r);else{if(!u){if(r.stateNode===null)throw Error(a(166));return ie(r),null}e=ct.current,_l(r)?Ag(r):(e=Xy(d,u,l),r.stateNode=e,vr(r))}return ie(r),null;case 5:if(bt(r),l=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==u&&vr(r);else{if(!u){if(r.stateNode===null)throw Error(a(166));return ie(r),null}if(e=ct.current,_l(r))Ag(r);else{switch(d=rs(dt.current),e){case 1:e=d.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:e=d.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":e=d.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":e=d.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":e=d.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?d.createElement("select",{is:u.is}):d.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?d.createElement(l,{is:u.is}):d.createElement(l)}}e[je]=r,e[Pe]=u;t:for(d=r.child;d!==null;){if(d.tag===5||d.tag===6)e.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===r)break t;for(;d.sibling===null;){if(d.return===null||d.return===r)break t;d=d.return}d.sibling.return=d.return,d=d.sibling}r.stateNode=e;t:switch(De(e,l,u),l){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break t;case"img":e=!0;break t;default:e=!1}e&&vr(r)}}return ie(r),r.flags&=-16777217,null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==u&&vr(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(a(166));if(e=dt.current,_l(r)){if(e=r.stateNode,l=r.memoizedProps,u=null,d=Ie,d!==null)switch(d.tag){case 27:case 5:u=d.memoizedProps}e[je]=r,e=!!(e.nodeValue===l||u!==null&&u.suppressHydrationWarning===!0||Ly(e.nodeValue,l)),e||xi(r)}else e=rs(e).createTextNode(u),e[je]=r,r.stateNode=e}return ie(r),null;case 13:if(u=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(d=_l(r),u!==null&&u.dehydrated!==null){if(e===null){if(!d)throw Error(a(318));if(d=r.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(a(317));d[je]=r}else Rl(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;ie(r),d=!1}else d=Cg(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=d),d=!0;if(!d)return r.flags&256?(pr(r),r):(pr(r),null)}if(pr(r),(r.flags&128)!==0)return r.lanes=l,r;if(l=u!==null,e=e!==null&&e.memoizedState!==null,l){u=r.child,d=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(d=u.alternate.memoizedState.cachePool.pool);var g=null;u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(g=u.memoizedState.cachePool.pool),g!==d&&(u.flags|=2048)}return l!==e&&l&&(r.child.flags|=8192),Iu(r,r.updateQueue),ie(r),null;case 4:return st(),e===null&&Nd(r.stateNode.containerInfo),ie(r),null;case 10:return mr(r.type),ie(r),null;case 19:if(at(be),d=r.memoizedState,d===null)return ie(r),null;if(u=(r.flags&128)!==0,g=d.rendering,g===null)if(u)Xl(d,!1);else{if(le!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(g=Lu(e),g!==null){for(r.flags|=128,Xl(d,!1),e=g.updateQueue,r.updateQueue=e,Iu(r,e),r.subtreeFlags=0,e=l,l=r.child;l!==null;)xg(l,e),l=l.sibling;return lt(be,be.current&1|2),r.child}e=e.sibling}d.tail!==null&&Yt()>Pu&&(r.flags|=128,u=!0,Xl(d,!1),r.lanes=4194304)}else{if(!u)if(e=Lu(g),e!==null){if(r.flags|=128,u=!0,e=e.updateQueue,r.updateQueue=e,Iu(r,e),Xl(d,!0),d.tail===null&&d.tailMode==="hidden"&&!g.alternate&&!Nt)return ie(r),null}else 2*Yt()-d.renderingStartTime>Pu&&l!==536870912&&(r.flags|=128,u=!0,Xl(d,!1),r.lanes=4194304);d.isBackwards?(g.sibling=r.child,r.child=g):(e=d.last,e!==null?e.sibling=g:r.child=g,d.last=g)}return d.tail!==null?(r=d.tail,d.rendering=r,d.tail=r.sibling,d.renderingStartTime=Yt(),r.sibling=null,e=be.current,lt(be,u?e&1|2:e&1),r):(ie(r),null);case 22:case 23:return pr(r),jf(),u=r.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(r.flags|=8192):u&&(r.flags|=8192),u?(l&536870912)!==0&&(r.flags&128)===0&&(ie(r),r.subtreeFlags&6&&(r.flags|=8192)):ie(r),l=r.updateQueue,l!==null&&Iu(r,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==l&&(r.flags|=2048),e!==null&&at(Ti),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),r.memoizedState.cache!==l&&(r.flags|=2048),mr(ve),ie(r),null;case 25:return null;case 30:return null}throw Error(a(156,r.tag))}function IA(e,r){switch(Af(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return mr(ve),st(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return bt(r),null;case 13:if(pr(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(a(340));Rl()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return at(be),null;case 4:return st(),null;case 10:return mr(r.type),null;case 22:case 23:return pr(r),jf(),e!==null&&at(Ti),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return mr(ve),null;case 25:return null;default:return null}}function Pp(e,r){switch(Af(r),r.tag){case 3:mr(ve),st();break;case 26:case 27:case 5:bt(r);break;case 4:st();break;case 13:pr(r);break;case 19:at(be);break;case 10:mr(r.type);break;case 22:case 23:pr(r),jf(),e!==null&&at(Ti);break;case 24:mr(ve)}}function Pl(e,r){try{var l=r.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var d=u.next;l=d;do{if((l.tag&e)===e){u=void 0;var g=l.create,A=l.inst;u=g(),A.destroy=u}l=l.next}while(l!==d)}}catch(w){Xt(r,r.return,w)}}function Pr(e,r,l){try{var u=r.updateQueue,d=u!==null?u.lastEffect:null;if(d!==null){var g=d.next;u=g;do{if((u.tag&e)===e){var A=u.inst,w=A.destroy;if(w!==void 0){A.destroy=void 0,d=r;var U=l,V=w;try{V()}catch(J){Xt(d,U,J)}}}u=u.next}while(u!==g)}}catch(J){Xt(r,r.return,J)}}function Zp(e){var r=e.updateQueue;if(r!==null){var l=e.stateNode;try{Ug(r,l)}catch(u){Xt(e,e.return,u)}}}function Qp(e,r,l){l.props=wi(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(u){Xt(e,r,u)}}function Zl(e,r){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof l=="function"?e.refCleanup=l(u):l.current=u}}catch(d){Xt(e,r,d)}}function Pn(e,r){var l=e.ref,u=e.refCleanup;if(l!==null)if(typeof u=="function")try{u()}catch(d){Xt(e,r,d)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(d){Xt(e,r,d)}else l.current=null}function Kp(e){var r=e.type,l=e.memoizedProps,u=e.stateNode;try{t:switch(r){case"button":case"input":case"select":case"textarea":l.autoFocus&&u.focus();break t;case"img":l.src?u.src=l.src:l.srcSet&&(u.srcset=l.srcSet)}}catch(d){Xt(e,e.return,d)}}function cd(e,r,l){try{var u=e.stateNode;fT(u,e.type,l,r),u[Pe]=r}catch(d){Xt(e,e.return,d)}}function Fp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ei(e.type)||e.tag===4}function fd(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||Fp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ei(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function dd(e,r,l){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,r):(r=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,r.appendChild(e),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=ns));else if(u!==4&&(u===27&&ei(e.type)&&(l=e.stateNode,r=null),e=e.child,e!==null))for(dd(e,r,l),e=e.sibling;e!==null;)dd(e,r,l),e=e.sibling}function Vu(e,r,l){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?l.insertBefore(e,r):l.appendChild(e);else if(u!==4&&(u===27&&ei(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Vu(e,r,l),e=e.sibling;e!==null;)Vu(e,r,l),e=e.sibling}function Wp(e){var r=e.stateNode,l=e.memoizedProps;try{for(var u=e.type,d=r.attributes;d.length;)r.removeAttributeNode(d[0]);De(r,u,l),r[je]=e,r[Pe]=l}catch(g){Xt(e,e.return,g)}}var br=!1,fe=!1,hd=!1,Jp=typeof WeakSet=="function"?WeakSet:Set,Me=null;function VA(e,r){if(e=e.containerInfo,$d=ss,e=cg(e),ff(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else t:{l=(l=e.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var d=u.anchorOffset,g=u.focusNode;u=u.focusOffset;try{l.nodeType,g.nodeType}catch{l=null;break t}var A=0,w=-1,U=-1,V=0,J=0,et=e,Z=null;e:for(;;){for(var Q;et!==l||d!==0&&et.nodeType!==3||(w=A+d),et!==g||u!==0&&et.nodeType!==3||(U=A+u),et.nodeType===3&&(A+=et.nodeValue.length),(Q=et.firstChild)!==null;)Z=et,et=Q;for(;;){if(et===e)break e;if(Z===l&&++V===d&&(w=A),Z===g&&++J===u&&(U=A),(Q=et.nextSibling)!==null)break;et=Z,Z=et.parentNode}et=Q}l=w===-1||U===-1?null:{start:w,end:U}}else l=null}l=l||{start:0,end:0}}else l=null;for(Bd={focusedElem:e,selectionRange:l},ss=!1,Me=r;Me!==null;)if(r=Me,e=r.child,(r.subtreeFlags&1024)!==0&&e!==null)e.return=r,Me=e;else for(;Me!==null;){switch(r=Me,g=r.alternate,e=r.flags,r.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&g!==null){e=void 0,l=r,d=g.memoizedProps,g=g.memoizedState,u=l.stateNode;try{var Tt=wi(l.type,d,l.elementType===l.type);e=u.getSnapshotBeforeUpdate(Tt,g),u.__reactInternalSnapshotBeforeUpdate=e}catch(St){Xt(l,l.return,St)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,l=e.nodeType,l===9)Yd(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Yd(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(a(163))}if(e=r.sibling,e!==null){e.return=r.return,Me=e;break}Me=r.return}}function ty(e,r,l){var u=l.flags;switch(l.tag){case 0:case 11:case 15:Zr(e,l),u&4&&Pl(5,l);break;case 1:if(Zr(e,l),u&4)if(e=l.stateNode,r===null)try{e.componentDidMount()}catch(A){Xt(l,l.return,A)}else{var d=wi(l.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(d,r,e.__reactInternalSnapshotBeforeUpdate)}catch(A){Xt(l,l.return,A)}}u&64&&Zp(l),u&512&&Zl(l,l.return);break;case 3:if(Zr(e,l),u&64&&(e=l.updateQueue,e!==null)){if(r=null,l.child!==null)switch(l.child.tag){case 27:case 5:r=l.child.stateNode;break;case 1:r=l.child.stateNode}try{Ug(e,r)}catch(A){Xt(l,l.return,A)}}break;case 27:r===null&&u&4&&Wp(l);case 26:case 5:Zr(e,l),r===null&&u&4&&Kp(l),u&512&&Zl(l,l.return);break;case 12:Zr(e,l);break;case 13:Zr(e,l),u&4&&ry(e,l),u&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=tT.bind(null,l),vT(e,l))));break;case 22:if(u=l.memoizedState!==null||br,!u){r=r!==null&&r.memoizedState!==null||fe,d=br;var g=fe;br=u,(fe=r)&&!g?Qr(e,l,(l.subtreeFlags&8772)!==0):Zr(e,l),br=d,fe=g}break;case 30:break;default:Zr(e,l)}}function ey(e){var r=e.alternate;r!==null&&(e.alternate=null,ey(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&Vc(r)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ee=null,Ke=!1;function xr(e,r,l){for(l=l.child;l!==null;)ny(e,r,l),l=l.sibling}function ny(e,r,l){if(te&&typeof te.onCommitFiberUnmount=="function")try{te.onCommitFiberUnmount(Ge,l)}catch{}switch(l.tag){case 26:fe||Pn(l,r),xr(e,r,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:fe||Pn(l,r);var u=ee,d=Ke;ei(l.type)&&(ee=l.stateNode,Ke=!1),xr(e,r,l),ro(l.stateNode),ee=u,Ke=d;break;case 5:fe||Pn(l,r);case 6:if(u=ee,d=Ke,ee=null,xr(e,r,l),ee=u,Ke=d,ee!==null)if(Ke)try{(ee.nodeType===9?ee.body:ee.nodeName==="HTML"?ee.ownerDocument.body:ee).removeChild(l.stateNode)}catch(g){Xt(l,r,g)}else try{ee.removeChild(l.stateNode)}catch(g){Xt(l,r,g)}break;case 18:ee!==null&&(Ke?(e=ee,Iy(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),fo(e)):Iy(ee,l.stateNode));break;case 4:u=ee,d=Ke,ee=l.stateNode.containerInfo,Ke=!0,xr(e,r,l),ee=u,Ke=d;break;case 0:case 11:case 14:case 15:fe||Pr(2,l,r),fe||Pr(4,l,r),xr(e,r,l);break;case 1:fe||(Pn(l,r),u=l.stateNode,typeof u.componentWillUnmount=="function"&&Qp(l,r,u)),xr(e,r,l);break;case 21:xr(e,r,l);break;case 22:fe=(u=fe)||l.memoizedState!==null,xr(e,r,l),fe=u;break;default:xr(e,r,l)}}function ry(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{fo(e)}catch(l){Xt(r,r.return,l)}}function XA(e){switch(e.tag){case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new Jp),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new Jp),r;default:throw Error(a(435,e.tag))}}function md(e,r){var l=XA(e);r.forEach(function(u){var d=eT.bind(null,e,u);l.has(u)||(l.add(u),u.then(d,d))})}function an(e,r){var l=r.deletions;if(l!==null)for(var u=0;u<l.length;u++){var d=l[u],g=e,A=r,w=A;t:for(;w!==null;){switch(w.tag){case 27:if(ei(w.type)){ee=w.stateNode,Ke=!1;break t}break;case 5:ee=w.stateNode,Ke=!1;break t;case 3:case 4:ee=w.stateNode.containerInfo,Ke=!0;break t}w=w.return}if(ee===null)throw Error(a(160));ny(g,A,d),ee=null,Ke=!1,g=d.alternate,g!==null&&(g.return=null),d.return=null}if(r.subtreeFlags&13878)for(r=r.child;r!==null;)iy(r,e),r=r.sibling}var $n=null;function iy(e,r){var l=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:an(r,e),ln(e),u&4&&(Pr(3,e,e.return),Pl(3,e),Pr(5,e,e.return));break;case 1:an(r,e),ln(e),u&512&&(fe||l===null||Pn(l,l.return)),u&64&&br&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?u:l.concat(u))));break;case 26:var d=$n;if(an(r,e),ln(e),u&512&&(fe||l===null||Pn(l,l.return)),u&4){var g=l!==null?l.memoizedState:null;if(u=e.memoizedState,l===null)if(u===null)if(e.stateNode===null){t:{u=e.type,l=e.memoizedProps,d=d.ownerDocument||d;e:switch(u){case"title":g=d.getElementsByTagName("title")[0],(!g||g[vl]||g[je]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=d.createElement(u),d.head.insertBefore(g,d.querySelector("head > title"))),De(g,u,l),g[je]=e,Ce(g),u=g;break t;case"link":var A=Wy("link","href",d).get(u+(l.href||""));if(A){for(var w=0;w<A.length;w++)if(g=A[w],g.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&g.getAttribute("rel")===(l.rel==null?null:l.rel)&&g.getAttribute("title")===(l.title==null?null:l.title)&&g.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){A.splice(w,1);break e}}g=d.createElement(u),De(g,u,l),d.head.appendChild(g);break;case"meta":if(A=Wy("meta","content",d).get(u+(l.content||""))){for(w=0;w<A.length;w++)if(g=A[w],g.getAttribute("content")===(l.content==null?null:""+l.content)&&g.getAttribute("name")===(l.name==null?null:l.name)&&g.getAttribute("property")===(l.property==null?null:l.property)&&g.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&g.getAttribute("charset")===(l.charSet==null?null:l.charSet)){A.splice(w,1);break e}}g=d.createElement(u),De(g,u,l),d.head.appendChild(g);break;default:throw Error(a(468,u))}g[je]=e,Ce(g),u=g}e.stateNode=u}else Jy(d,e.type,e.stateNode);else e.stateNode=Fy(d,u,e.memoizedProps);else g!==u?(g===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):g.count--,u===null?Jy(d,e.type,e.stateNode):Fy(d,u,e.memoizedProps)):u===null&&e.stateNode!==null&&cd(e,e.memoizedProps,l.memoizedProps)}break;case 27:an(r,e),ln(e),u&512&&(fe||l===null||Pn(l,l.return)),l!==null&&u&4&&cd(e,e.memoizedProps,l.memoizedProps);break;case 5:if(an(r,e),ln(e),u&512&&(fe||l===null||Pn(l,l.return)),e.flags&32){d=e.stateNode;try{ea(d,"")}catch(Q){Xt(e,e.return,Q)}}u&4&&e.stateNode!=null&&(d=e.memoizedProps,cd(e,d,l!==null?l.memoizedProps:d)),u&1024&&(hd=!0);break;case 6:if(an(r,e),ln(e),u&4){if(e.stateNode===null)throw Error(a(162));u=e.memoizedProps,l=e.stateNode;try{l.nodeValue=u}catch(Q){Xt(e,e.return,Q)}}break;case 3:if(ls=null,d=$n,$n=is(r.containerInfo),an(r,e),$n=d,ln(e),u&4&&l!==null&&l.memoizedState.isDehydrated)try{fo(r.containerInfo)}catch(Q){Xt(e,e.return,Q)}hd&&(hd=!1,ay(e));break;case 4:u=$n,$n=is(e.stateNode.containerInfo),an(r,e),ln(e),$n=u;break;case 12:an(r,e),ln(e);break;case 13:an(r,e),ln(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(xd=Yt()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,md(e,u)));break;case 22:d=e.memoizedState!==null;var U=l!==null&&l.memoizedState!==null,V=br,J=fe;if(br=V||d,fe=J||U,an(r,e),fe=J,br=V,ln(e),u&8192)t:for(r=e.stateNode,r._visibility=d?r._visibility&-2:r._visibility|1,d&&(l===null||U||br||fe||Mi(e)),l=null,r=e;;){if(r.tag===5||r.tag===26){if(l===null){U=l=r;try{if(g=U.stateNode,d)A=g.style,typeof A.setProperty=="function"?A.setProperty("display","none","important"):A.display="none";else{w=U.stateNode;var et=U.memoizedProps.style,Z=et!=null&&et.hasOwnProperty("display")?et.display:null;w.style.display=Z==null||typeof Z=="boolean"?"":(""+Z).trim()}}catch(Q){Xt(U,U.return,Q)}}}else if(r.tag===6){if(l===null){U=r;try{U.stateNode.nodeValue=d?"":U.memoizedProps}catch(Q){Xt(U,U.return,Q)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break t;for(;r.sibling===null;){if(r.return===null||r.return===e)break t;l===r&&(l=null),r=r.return}l===r&&(l=null),r.sibling.return=r.return,r=r.sibling}u&4&&(u=e.updateQueue,u!==null&&(l=u.retryQueue,l!==null&&(u.retryQueue=null,md(e,l))));break;case 19:an(r,e),ln(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,md(e,u)));break;case 30:break;case 21:break;default:an(r,e),ln(e)}}function ln(e){var r=e.flags;if(r&2){try{for(var l,u=e.return;u!==null;){if(Fp(u)){l=u;break}u=u.return}if(l==null)throw Error(a(160));switch(l.tag){case 27:var d=l.stateNode,g=fd(e);Vu(e,g,d);break;case 5:var A=l.stateNode;l.flags&32&&(ea(A,""),l.flags&=-33);var w=fd(e);Vu(e,w,A);break;case 3:case 4:var U=l.stateNode.containerInfo,V=fd(e);dd(e,V,U);break;default:throw Error(a(161))}}catch(J){Xt(e,e.return,J)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function ay(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;ay(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),e=e.sibling}}function Zr(e,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)ty(e,r.alternate,r),r=r.sibling}function Mi(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:Pr(4,r,r.return),Mi(r);break;case 1:Pn(r,r.return);var l=r.stateNode;typeof l.componentWillUnmount=="function"&&Qp(r,r.return,l),Mi(r);break;case 27:ro(r.stateNode);case 26:case 5:Pn(r,r.return),Mi(r);break;case 22:r.memoizedState===null&&Mi(r);break;case 30:Mi(r);break;default:Mi(r)}e=e.sibling}}function Qr(e,r,l){for(l=l&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var u=r.alternate,d=e,g=r,A=g.flags;switch(g.tag){case 0:case 11:case 15:Qr(d,g,l),Pl(4,g);break;case 1:if(Qr(d,g,l),u=g,d=u.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(V){Xt(u,u.return,V)}if(u=g,d=u.updateQueue,d!==null){var w=u.stateNode;try{var U=d.shared.hiddenCallbacks;if(U!==null)for(d.shared.hiddenCallbacks=null,d=0;d<U.length;d++)Ng(U[d],w)}catch(V){Xt(u,u.return,V)}}l&&A&64&&Zp(g),Zl(g,g.return);break;case 27:Wp(g);case 26:case 5:Qr(d,g,l),l&&u===null&&A&4&&Kp(g),Zl(g,g.return);break;case 12:Qr(d,g,l);break;case 13:Qr(d,g,l),l&&A&4&&ry(d,g);break;case 22:g.memoizedState===null&&Qr(d,g,l),Zl(g,g.return);break;case 30:break;default:Qr(d,g,l)}r=r.sibling}}function gd(e,r){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(e=r.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&zl(l))}function pd(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&zl(e))}function Zn(e,r,l,u){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)ly(e,r,l,u),r=r.sibling}function ly(e,r,l,u){var d=r.flags;switch(r.tag){case 0:case 11:case 15:Zn(e,r,l,u),d&2048&&Pl(9,r);break;case 1:Zn(e,r,l,u);break;case 3:Zn(e,r,l,u),d&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&zl(e)));break;case 12:if(d&2048){Zn(e,r,l,u),e=r.stateNode;try{var g=r.memoizedProps,A=g.id,w=g.onPostCommit;typeof w=="function"&&w(A,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(U){Xt(r,r.return,U)}}else Zn(e,r,l,u);break;case 13:Zn(e,r,l,u);break;case 23:break;case 22:g=r.stateNode,A=r.alternate,r.memoizedState!==null?g._visibility&2?Zn(e,r,l,u):Ql(e,r):g._visibility&2?Zn(e,r,l,u):(g._visibility|=2,xa(e,r,l,u,(r.subtreeFlags&10256)!==0)),d&2048&&gd(A,r);break;case 24:Zn(e,r,l,u),d&2048&&pd(r.alternate,r);break;default:Zn(e,r,l,u)}}function xa(e,r,l,u,d){for(d=d&&(r.subtreeFlags&10256)!==0,r=r.child;r!==null;){var g=e,A=r,w=l,U=u,V=A.flags;switch(A.tag){case 0:case 11:case 15:xa(g,A,w,U,d),Pl(8,A);break;case 23:break;case 22:var J=A.stateNode;A.memoizedState!==null?J._visibility&2?xa(g,A,w,U,d):Ql(g,A):(J._visibility|=2,xa(g,A,w,U,d)),d&&V&2048&&gd(A.alternate,A);break;case 24:xa(g,A,w,U,d),d&&V&2048&&pd(A.alternate,A);break;default:xa(g,A,w,U,d)}r=r.sibling}}function Ql(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var l=e,u=r,d=u.flags;switch(u.tag){case 22:Ql(l,u),d&2048&&gd(u.alternate,u);break;case 24:Ql(l,u),d&2048&&pd(u.alternate,u);break;default:Ql(l,u)}r=r.sibling}}var Kl=8192;function Sa(e){if(e.subtreeFlags&Kl)for(e=e.child;e!==null;)oy(e),e=e.sibling}function oy(e){switch(e.tag){case 26:Sa(e),e.flags&Kl&&e.memoizedState!==null&&kT($n,e.memoizedState,e.memoizedProps);break;case 5:Sa(e);break;case 3:case 4:var r=$n;$n=is(e.stateNode.containerInfo),Sa(e),$n=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Kl,Kl=16777216,Sa(e),Kl=r):Sa(e));break;default:Sa(e)}}function uy(e){var r=e.alternate;if(r!==null&&(e=r.child,e!==null)){r.child=null;do r=e.sibling,e.sibling=null,e=r;while(e!==null)}}function Fl(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var l=0;l<r.length;l++){var u=r[l];Me=u,cy(u,e)}uy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)sy(e),e=e.sibling}function sy(e){switch(e.tag){case 0:case 11:case 15:Fl(e),e.flags&2048&&Pr(9,e,e.return);break;case 3:Fl(e);break;case 12:Fl(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,Xu(e)):Fl(e);break;default:Fl(e)}}function Xu(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var l=0;l<r.length;l++){var u=r[l];Me=u,cy(u,e)}uy(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:Pr(8,r,r.return),Xu(r);break;case 22:l=r.stateNode,l._visibility&2&&(l._visibility&=-3,Xu(r));break;default:Xu(r)}e=e.sibling}}function cy(e,r){for(;Me!==null;){var l=Me;switch(l.tag){case 0:case 11:case 15:Pr(8,l,r);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var u=l.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:zl(l.memoizedState.cache)}if(u=l.child,u!==null)u.return=l,Me=u;else t:for(l=e;Me!==null;){u=Me;var d=u.sibling,g=u.return;if(ey(u),u===l){Me=null;break t}if(d!==null){d.return=g,Me=d;break t}Me=g}}}var PA={getCacheForType:function(e){var r=$e(ve),l=r.data.get(e);return l===void 0&&(l=e(),r.data.set(e,l)),l}},ZA=typeof WeakMap=="function"?WeakMap:Map,Lt=0,Ft=null,Ot=null,kt=0,Ht=0,on=null,Kr=!1,Aa=!1,yd=!1,Sr=0,le=0,Fr=0,Ei=0,vd=0,Tn=0,Ta=0,Wl=null,Fe=null,bd=!1,xd=0,Pu=1/0,Zu=null,Wr=null,ke=0,Jr=null,Ca=null,wa=0,Sd=0,Ad=null,fy=null,Jl=0,Td=null;function un(){if((Lt&2)!==0&&kt!==0)return kt&-kt;if(j.T!==null){var e=da;return e!==0?e:Rd()}return E0()}function dy(){Tn===0&&(Tn=(kt&536870912)===0||Nt?T0():536870912);var e=An.current;return e!==null&&(e.flags|=32),Tn}function sn(e,r,l){(e===Ft&&(Ht===2||Ht===9)||e.cancelPendingCommit!==null)&&(Ma(e,0),ti(e,kt,Tn,!1)),yl(e,l),((Lt&2)===0||e!==Ft)&&(e===Ft&&((Lt&2)===0&&(Ei|=l),le===4&&ti(e,kt,Tn,!1)),Qn(e))}function hy(e,r,l){if((Lt&6)!==0)throw Error(a(327));var u=!l&&(r&124)===0&&(r&e.expiredLanes)===0||pl(e,r),d=u?FA(e,r):Md(e,r,!0),g=u;do{if(d===0){Aa&&!u&&ti(e,r,0,!1);break}else{if(l=e.current.alternate,g&&!QA(l)){d=Md(e,r,!1),g=!1;continue}if(d===2){if(g=r,e.errorRecoveryDisabledLanes&g)var A=0;else A=e.pendingLanes&-536870913,A=A!==0?A:A&536870912?536870912:0;if(A!==0){r=A;t:{var w=e;d=Wl;var U=w.current.memoizedState.isDehydrated;if(U&&(Ma(w,A).flags|=256),A=Md(w,A,!1),A!==2){if(yd&&!U){w.errorRecoveryDisabledLanes|=g,Ei|=g,d=4;break t}g=Fe,Fe=d,g!==null&&(Fe===null?Fe=g:Fe.push.apply(Fe,g))}d=A}if(g=!1,d!==2)continue}}if(d===1){Ma(e,0),ti(e,r,0,!0);break}t:{switch(u=e,g=d,g){case 0:case 1:throw Error(a(345));case 4:if((r&4194048)!==r)break;case 6:ti(u,r,Tn,!Kr);break t;case 2:Fe=null;break;case 3:case 5:break;default:throw Error(a(329))}if((r&62914560)===r&&(d=xd+300-Yt(),10<d)){if(ti(u,r,Tn,!Kr),au(u,0,!0)!==0)break t;u.timeoutHandle=Gy(my.bind(null,u,l,Fe,Zu,bd,r,Tn,Ei,Ta,Kr,g,2,-0,0),d);break t}my(u,l,Fe,Zu,bd,r,Tn,Ei,Ta,Kr,g,0,-0,0)}}break}while(!0);Qn(e)}function my(e,r,l,u,d,g,A,w,U,V,J,et,Z,Q){if(e.timeoutHandle=-1,et=r.subtreeFlags,(et&8192||(et&16785408)===16785408)&&(lo={stylesheets:null,count:0,unsuspend:RT},oy(r),et=DT(),et!==null)){e.cancelPendingCommit=et(Sy.bind(null,e,r,g,l,u,d,A,w,U,J,1,Z,Q)),ti(e,g,A,!V);return}Sy(e,r,g,l,u,d,A,w,U)}function QA(e){for(var r=e;;){var l=r.tag;if((l===0||l===11||l===15)&&r.flags&16384&&(l=r.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var u=0;u<l.length;u++){var d=l[u],g=d.getSnapshot;d=d.value;try{if(!nn(g(),d))return!1}catch{return!1}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function ti(e,r,l,u){r&=~vd,r&=~Ei,e.suspendedLanes|=r,e.pingedLanes&=~r,u&&(e.warmLanes|=r),u=e.expirationTimes;for(var d=r;0<d;){var g=31-Te(d),A=1<<g;u[g]=-1,d&=~A}l!==0&&w0(e,l,r)}function Qu(){return(Lt&6)===0?(to(0),!1):!0}function Cd(){if(Ot!==null){if(Ht===0)var e=Ot.return;else e=Ot,hr=Si=null,Yf(e),va=null,Il=0,e=Ot;for(;e!==null;)Pp(e.alternate,e),e=e.return;Ot=null}}function Ma(e,r){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,hT(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Cd(),Ft=e,Ot=l=cr(e.current,null),kt=r,Ht=0,on=null,Kr=!1,Aa=pl(e,r),yd=!1,Ta=Tn=vd=Ei=Fr=le=0,Fe=Wl=null,bd=!1,(r&8)!==0&&(r|=r&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=r;0<u;){var d=31-Te(u),g=1<<d;r|=e[d],u&=~g}return Sr=r,yu(),l}function gy(e,r){Mt=null,j.H=ju,r===Ul||r===Mu?(r=Dg(),Ht=3):r===_g?(r=Dg(),Ht=4):Ht=r===zp?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,on=r,Ot===null&&(le=1,Yu(e,vn(r,e.current)))}function py(){var e=j.H;return j.H=ju,e===null?ju:e}function yy(){var e=j.A;return j.A=PA,e}function wd(){le=4,Kr||(kt&4194048)!==kt&&An.current!==null||(Aa=!0),(Fr&134217727)===0&&(Ei&134217727)===0||Ft===null||ti(Ft,kt,Tn,!1)}function Md(e,r,l){var u=Lt;Lt|=2;var d=py(),g=yy();(Ft!==e||kt!==r)&&(Zu=null,Ma(e,r)),r=!1;var A=le;t:do try{if(Ht!==0&&Ot!==null){var w=Ot,U=on;switch(Ht){case 8:Cd(),A=6;break t;case 3:case 2:case 9:case 6:An.current===null&&(r=!0);var V=Ht;if(Ht=0,on=null,Ea(e,w,U,V),l&&Aa){A=0;break t}break;default:V=Ht,Ht=0,on=null,Ea(e,w,U,V)}}KA(),A=le;break}catch(J){gy(e,J)}while(!0);return r&&e.shellSuspendCounter++,hr=Si=null,Lt=u,j.H=d,j.A=g,Ot===null&&(Ft=null,kt=0,yu()),A}function KA(){for(;Ot!==null;)vy(Ot)}function FA(e,r){var l=Lt;Lt|=2;var u=py(),d=yy();Ft!==e||kt!==r?(Zu=null,Pu=Yt()+500,Ma(e,r)):Aa=pl(e,r);t:do try{if(Ht!==0&&Ot!==null){r=Ot;var g=on;e:switch(Ht){case 1:Ht=0,on=null,Ea(e,r,g,1);break;case 2:case 9:if(Rg(g)){Ht=0,on=null,by(r);break}r=function(){Ht!==2&&Ht!==9||Ft!==e||(Ht=7),Qn(e)},g.then(r,r);break t;case 3:Ht=7;break t;case 4:Ht=5;break t;case 7:Rg(g)?(Ht=0,on=null,by(r)):(Ht=0,on=null,Ea(e,r,g,7));break;case 5:var A=null;switch(Ot.tag){case 26:A=Ot.memoizedState;case 5:case 27:var w=Ot;if(!A||t1(A)){Ht=0,on=null;var U=w.sibling;if(U!==null)Ot=U;else{var V=w.return;V!==null?(Ot=V,Ku(V)):Ot=null}break e}}Ht=0,on=null,Ea(e,r,g,5);break;case 6:Ht=0,on=null,Ea(e,r,g,6);break;case 8:Cd(),le=6;break t;default:throw Error(a(462))}}WA();break}catch(J){gy(e,J)}while(!0);return hr=Si=null,j.H=u,j.A=d,Lt=l,Ot!==null?0:(Ft=null,kt=0,yu(),le)}function WA(){for(;Ot!==null&&!Bt();)vy(Ot)}function vy(e){var r=Vp(e.alternate,e,Sr);e.memoizedProps=e.pendingProps,r===null?Ku(e):Ot=r}function by(e){var r=e,l=r.alternate;switch(r.tag){case 15:case 0:r=Lp(l,r,r.pendingProps,r.type,void 0,kt);break;case 11:r=Lp(l,r,r.pendingProps,r.type.render,r.ref,kt);break;case 5:Yf(r);default:Pp(l,r),r=Ot=xg(r,Sr),r=Vp(l,r,Sr)}e.memoizedProps=e.pendingProps,r===null?Ku(e):Ot=r}function Ea(e,r,l,u){hr=Si=null,Yf(r),va=null,Il=0;var d=r.return;try{if(YA(e,d,r,l,kt)){le=1,Yu(e,vn(l,e.current)),Ot=null;return}}catch(g){if(d!==null)throw Ot=d,g;le=1,Yu(e,vn(l,e.current)),Ot=null;return}r.flags&32768?(Nt||u===1?e=!0:Aa||(kt&536870912)!==0?e=!1:(Kr=e=!0,(u===2||u===9||u===3||u===6)&&(u=An.current,u!==null&&u.tag===13&&(u.flags|=16384))),xy(r,e)):Ku(r)}function Ku(e){var r=e;do{if((r.flags&32768)!==0){xy(r,Kr);return}e=r.return;var l=qA(r.alternate,r,Sr);if(l!==null){Ot=l;return}if(r=r.sibling,r!==null){Ot=r;return}Ot=r=e}while(r!==null);le===0&&(le=5)}function xy(e,r){do{var l=IA(e.alternate,e);if(l!==null){l.flags&=32767,Ot=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!r&&(e=e.sibling,e!==null)){Ot=e;return}Ot=e=l}while(e!==null);le=6,Ot=null}function Sy(e,r,l,u,d,g,A,w,U){e.cancelPendingCommit=null;do Fu();while(ke!==0);if((Lt&6)!==0)throw Error(a(327));if(r!==null){if(r===e.current)throw Error(a(177));if(g=r.lanes|r.childLanes,g|=pf,R2(e,l,g,A,w,U),e===Ft&&(Ot=Ft=null,kt=0),Ca=r,Jr=e,wa=l,Sd=g,Ad=d,fy=u,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,nT(Kt,function(){return My(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||u){u=j.T,j.T=null,d=P.p,P.p=2,A=Lt,Lt|=4;try{VA(e,r,l)}finally{Lt=A,P.p=d,j.T=u}}ke=1,Ay(),Ty(),Cy()}}function Ay(){if(ke===1){ke=0;var e=Jr,r=Ca,l=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||l){l=j.T,j.T=null;var u=P.p;P.p=2;var d=Lt;Lt|=4;try{iy(r,e);var g=Bd,A=cg(e.containerInfo),w=g.focusedElem,U=g.selectionRange;if(A!==w&&w&&w.ownerDocument&&sg(w.ownerDocument.documentElement,w)){if(U!==null&&ff(w)){var V=U.start,J=U.end;if(J===void 0&&(J=V),"selectionStart"in w)w.selectionStart=V,w.selectionEnd=Math.min(J,w.value.length);else{var et=w.ownerDocument||document,Z=et&&et.defaultView||window;if(Z.getSelection){var Q=Z.getSelection(),Tt=w.textContent.length,St=Math.min(U.start,Tt),It=U.end===void 0?St:Math.min(U.end,Tt);!Q.extend&&St>It&&(A=It,It=St,St=A);var G=ug(w,St),B=ug(w,It);if(G&&B&&(Q.rangeCount!==1||Q.anchorNode!==G.node||Q.anchorOffset!==G.offset||Q.focusNode!==B.node||Q.focusOffset!==B.offset)){var q=et.createRange();q.setStart(G.node,G.offset),Q.removeAllRanges(),St>It?(Q.addRange(q),Q.extend(B.node,B.offset)):(q.setEnd(B.node,B.offset),Q.addRange(q))}}}}for(et=[],Q=w;Q=Q.parentNode;)Q.nodeType===1&&et.push({element:Q,left:Q.scrollLeft,top:Q.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<et.length;w++){var tt=et[w];tt.element.scrollLeft=tt.left,tt.element.scrollTop=tt.top}}ss=!!$d,Bd=$d=null}finally{Lt=d,P.p=u,j.T=l}}e.current=r,ke=2}}function Ty(){if(ke===2){ke=0;var e=Jr,r=Ca,l=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||l){l=j.T,j.T=null;var u=P.p;P.p=2;var d=Lt;Lt|=4;try{ty(e,r.alternate,r)}finally{Lt=d,P.p=u,j.T=l}}ke=3}}function Cy(){if(ke===4||ke===3){ke=0,Wt();var e=Jr,r=Ca,l=wa,u=fy;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?ke=5:(ke=0,Ca=Jr=null,wy(e,e.pendingLanes));var d=e.pendingLanes;if(d===0&&(Wr=null),qc(l),r=r.stateNode,te&&typeof te.onCommitFiberRoot=="function")try{te.onCommitFiberRoot(Ge,r,void 0,(r.current.flags&128)===128)}catch{}if(u!==null){r=j.T,d=P.p,P.p=2,j.T=null;try{for(var g=e.onRecoverableError,A=0;A<u.length;A++){var w=u[A];g(w.value,{componentStack:w.stack})}}finally{j.T=r,P.p=d}}(wa&3)!==0&&Fu(),Qn(e),d=e.pendingLanes,(l&4194090)!==0&&(d&42)!==0?e===Td?Jl++:(Jl=0,Td=e):Jl=0,to(0)}}function wy(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,zl(r)))}function Fu(e){return Ay(),Ty(),Cy(),My()}function My(){if(ke!==5)return!1;var e=Jr,r=Sd;Sd=0;var l=qc(wa),u=j.T,d=P.p;try{P.p=32>l?32:l,j.T=null,l=Ad,Ad=null;var g=Jr,A=wa;if(ke=0,Ca=Jr=null,wa=0,(Lt&6)!==0)throw Error(a(331));var w=Lt;if(Lt|=4,sy(g.current),ly(g,g.current,A,l),Lt=w,to(0,!1),te&&typeof te.onPostCommitFiberRoot=="function")try{te.onPostCommitFiberRoot(Ge,g)}catch{}return!0}finally{P.p=d,j.T=u,wy(e,r)}}function Ey(e,r,l){r=vn(l,r),r=ed(e.stateNode,r,2),e=qr(e,r,2),e!==null&&(yl(e,2),Qn(e))}function Xt(e,r,l){if(e.tag===3)Ey(e,e,l);else for(;r!==null;){if(r.tag===3){Ey(r,e,l);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Wr===null||!Wr.has(u))){e=vn(l,e),l=kp(2),u=qr(r,l,2),u!==null&&(Dp(l,u,r,e),yl(u,2),Qn(u));break}}r=r.return}}function Ed(e,r,l){var u=e.pingCache;if(u===null){u=e.pingCache=new ZA;var d=new Set;u.set(r,d)}else d=u.get(r),d===void 0&&(d=new Set,u.set(r,d));d.has(l)||(yd=!0,d.add(l),e=JA.bind(null,e,r,l),r.then(e,e))}function JA(e,r,l){var u=e.pingCache;u!==null&&u.delete(r),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ft===e&&(kt&l)===l&&(le===4||le===3&&(kt&62914560)===kt&&300>Yt()-xd?(Lt&2)===0&&Ma(e,0):vd|=l,Ta===kt&&(Ta=0)),Qn(e)}function Oy(e,r){r===0&&(r=C0()),e=ua(e,r),e!==null&&(yl(e,r),Qn(e))}function tT(e){var r=e.memoizedState,l=0;r!==null&&(l=r.retryLane),Oy(e,l)}function eT(e,r){var l=0;switch(e.tag){case 13:var u=e.stateNode,d=e.memoizedState;d!==null&&(l=d.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(a(314))}u!==null&&u.delete(r),Oy(e,l)}function nT(e,r){return Rt(e,r)}var Wu=null,Oa=null,Od=!1,Ju=!1,_d=!1,Oi=0;function Qn(e){e!==Oa&&e.next===null&&(Oa===null?Wu=Oa=e:Oa=Oa.next=e),Ju=!0,Od||(Od=!0,iT())}function to(e,r){if(!_d&&Ju){_d=!0;do for(var l=!1,u=Wu;u!==null;){if(e!==0){var d=u.pendingLanes;if(d===0)var g=0;else{var A=u.suspendedLanes,w=u.pingedLanes;g=(1<<31-Te(42|e)+1)-1,g&=d&~(A&~w),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(l=!0,Dy(u,g))}else g=kt,g=au(u,u===Ft?g:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(g&3)===0||pl(u,g)||(l=!0,Dy(u,g));u=u.next}while(l);_d=!1}}function rT(){_y()}function _y(){Ju=Od=!1;var e=0;Oi!==0&&(dT()&&(e=Oi),Oi=0);for(var r=Yt(),l=null,u=Wu;u!==null;){var d=u.next,g=Ry(u,r);g===0?(u.next=null,l===null?Wu=d:l.next=d,d===null&&(Oa=l)):(l=u,(e!==0||(g&3)!==0)&&(Ju=!0)),u=d}to(e)}function Ry(e,r){for(var l=e.suspendedLanes,u=e.pingedLanes,d=e.expirationTimes,g=e.pendingLanes&-62914561;0<g;){var A=31-Te(g),w=1<<A,U=d[A];U===-1?((w&l)===0||(w&u)!==0)&&(d[A]=_2(w,r)):U<=r&&(e.expiredLanes|=w),g&=~w}if(r=Ft,l=kt,l=au(e,e===r?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,l===0||e===r&&(Ht===2||Ht===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&vt(u),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||pl(e,l)){if(r=l&-l,r===e.callbackPriority)return r;switch(u!==null&&vt(u),qc(l)){case 2:case 8:l=me;break;case 32:l=Kt;break;case 268435456:l=mn;break;default:l=Kt}return u=ky.bind(null,e),l=Rt(l,u),e.callbackPriority=r,e.callbackNode=l,r}return u!==null&&u!==null&&vt(u),e.callbackPriority=2,e.callbackNode=null,2}function ky(e,r){if(ke!==0&&ke!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Fu()&&e.callbackNode!==l)return null;var u=kt;return u=au(e,e===Ft?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(hy(e,u,r),Ry(e,Yt()),e.callbackNode!=null&&e.callbackNode===l?ky.bind(null,e):null)}function Dy(e,r){if(Fu())return null;hy(e,r,!0)}function iT(){mT(function(){(Lt&6)!==0?Rt(se,rT):_y()})}function Rd(){return Oi===0&&(Oi=T0()),Oi}function zy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:cu(""+e)}function Ny(e,r){var l=r.ownerDocument.createElement("input");return l.name=r.name,l.value=r.value,e.id&&l.setAttribute("form",e.id),r.parentNode.insertBefore(l,r),e=new FormData(e),l.parentNode.removeChild(l),e}function aT(e,r,l,u,d){if(r==="submit"&&l&&l.stateNode===d){var g=zy((d[Pe]||null).action),A=u.submitter;A&&(r=(r=A[Pe]||null)?zy(r.formAction):A.getAttribute("formAction"),r!==null&&(g=r,A=null));var w=new mu("action","action",null,u,d);e.push({event:w,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Oi!==0){var U=A?Ny(d,A):new FormData(d);Kf(l,{pending:!0,data:U,method:d.method,action:g},null,U)}}else typeof g=="function"&&(w.preventDefault(),U=A?Ny(d,A):new FormData(d),Kf(l,{pending:!0,data:U,method:d.method,action:g},g,U))},currentTarget:d}]})}}for(var kd=0;kd<gf.length;kd++){var Dd=gf[kd],lT=Dd.toLowerCase(),oT=Dd[0].toUpperCase()+Dd.slice(1);jn(lT,"on"+oT)}jn(hg,"onAnimationEnd"),jn(mg,"onAnimationIteration"),jn(gg,"onAnimationStart"),jn("dblclick","onDoubleClick"),jn("focusin","onFocus"),jn("focusout","onBlur"),jn(CA,"onTransitionRun"),jn(wA,"onTransitionStart"),jn(MA,"onTransitionCancel"),jn(pg,"onTransitionEnd"),Wi("onMouseEnter",["mouseout","mouseover"]),Wi("onMouseLeave",["mouseout","mouseover"]),Wi("onPointerEnter",["pointerout","pointerover"]),Wi("onPointerLeave",["pointerout","pointerover"]),di("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),di("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),di("onBeforeInput",["compositionend","keypress","textInput","paste"]),di("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),di("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),di("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var eo="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(" "),uT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(eo));function Uy(e,r){r=(r&4)!==0;for(var l=0;l<e.length;l++){var u=e[l],d=u.event;u=u.listeners;t:{var g=void 0;if(r)for(var A=u.length-1;0<=A;A--){var w=u[A],U=w.instance,V=w.currentTarget;if(w=w.listener,U!==g&&d.isPropagationStopped())break t;g=w,d.currentTarget=V;try{g(d)}catch(J){Hu(J)}d.currentTarget=null,g=U}else for(A=0;A<u.length;A++){if(w=u[A],U=w.instance,V=w.currentTarget,w=w.listener,U!==g&&d.isPropagationStopped())break t;g=w,d.currentTarget=V;try{g(d)}catch(J){Hu(J)}d.currentTarget=null,g=U}}}}function _t(e,r){var l=r[Ic];l===void 0&&(l=r[Ic]=new Set);var u=e+"__bubble";l.has(u)||(jy(r,e,2,!1),l.add(u))}function zd(e,r,l){var u=0;r&&(u|=4),jy(l,e,u,r)}var ts="_reactListening"+Math.random().toString(36).slice(2);function Nd(e){if(!e[ts]){e[ts]=!0,_0.forEach(function(l){l!=="selectionchange"&&(uT.has(l)||zd(l,!1,e),zd(l,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[ts]||(r[ts]=!0,zd("selectionchange",!1,r))}}function jy(e,r,l,u){switch(l1(r)){case 2:var d=UT;break;case 8:d=jT;break;default:d=Zd}l=d.bind(null,r,l,e),d=void 0,!ef||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(d=!0),u?d!==void 0?e.addEventListener(r,l,{capture:!0,passive:d}):e.addEventListener(r,l,!0):d!==void 0?e.addEventListener(r,l,{passive:d}):e.addEventListener(r,l,!1)}function Ud(e,r,l,u,d){var g=u;if((r&1)===0&&(r&2)===0&&u!==null)t:for(;;){if(u===null)return;var A=u.tag;if(A===3||A===4){var w=u.stateNode.containerInfo;if(w===d)break;if(A===4)for(A=u.return;A!==null;){var U=A.tag;if((U===3||U===4)&&A.stateNode.containerInfo===d)return;A=A.return}for(;w!==null;){if(A=Qi(w),A===null)return;if(U=A.tag,U===5||U===6||U===26||U===27){u=g=A;continue t}w=w.parentNode}}u=u.return}q0(function(){var V=g,J=Jc(l),et=[];t:{var Z=yg.get(e);if(Z!==void 0){var Q=mu,Tt=e;switch(e){case"keypress":if(du(l)===0)break t;case"keydown":case"keyup":Q=nA;break;case"focusin":Tt="focus",Q=lf;break;case"focusout":Tt="blur",Q=lf;break;case"beforeblur":case"afterblur":Q=lf;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Q=X0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=I2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=aA;break;case hg:case mg:case gg:Q=P2;break;case pg:Q=oA;break;case"scroll":case"scrollend":Q=G2;break;case"wheel":Q=sA;break;case"copy":case"cut":case"paste":Q=Q2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=Z0;break;case"toggle":case"beforetoggle":Q=fA}var St=(r&4)!==0,It=!St&&(e==="scroll"||e==="scrollend"),G=St?Z!==null?Z+"Capture":null:Z;St=[];for(var B=V,q;B!==null;){var tt=B;if(q=tt.stateNode,tt=tt.tag,tt!==5&&tt!==26&&tt!==27||q===null||G===null||(tt=xl(B,G),tt!=null&&St.push(no(B,tt,q))),It)break;B=B.return}0<St.length&&(Z=new Q(Z,Tt,null,l,J),et.push({event:Z,listeners:St}))}}if((r&7)===0){t:{if(Z=e==="mouseover"||e==="pointerover",Q=e==="mouseout"||e==="pointerout",Z&&l!==Wc&&(Tt=l.relatedTarget||l.fromElement)&&(Qi(Tt)||Tt[Zi]))break t;if((Q||Z)&&(Z=J.window===J?J:(Z=J.ownerDocument)?Z.defaultView||Z.parentWindow:window,Q?(Tt=l.relatedTarget||l.toElement,Q=V,Tt=Tt?Qi(Tt):null,Tt!==null&&(It=s(Tt),St=Tt.tag,Tt!==It||St!==5&&St!==27&&St!==6)&&(Tt=null)):(Q=null,Tt=V),Q!==Tt)){if(St=X0,tt="onMouseLeave",G="onMouseEnter",B="mouse",(e==="pointerout"||e==="pointerover")&&(St=Z0,tt="onPointerLeave",G="onPointerEnter",B="pointer"),It=Q==null?Z:bl(Q),q=Tt==null?Z:bl(Tt),Z=new St(tt,B+"leave",Q,l,J),Z.target=It,Z.relatedTarget=q,tt=null,Qi(J)===V&&(St=new St(G,B+"enter",Tt,l,J),St.target=q,St.relatedTarget=It,tt=St),It=tt,Q&&Tt)e:{for(St=Q,G=Tt,B=0,q=St;q;q=_a(q))B++;for(q=0,tt=G;tt;tt=_a(tt))q++;for(;0<B-q;)St=_a(St),B--;for(;0<q-B;)G=_a(G),q--;for(;B--;){if(St===G||G!==null&&St===G.alternate)break e;St=_a(St),G=_a(G)}St=null}else St=null;Q!==null&&$y(et,Z,Q,St,!1),Tt!==null&&It!==null&&$y(et,It,Tt,St,!0)}}t:{if(Z=V?bl(V):window,Q=Z.nodeName&&Z.nodeName.toLowerCase(),Q==="select"||Q==="input"&&Z.type==="file")var ht=ng;else if(tg(Z))if(rg)ht=SA;else{ht=bA;var Et=vA}else Q=Z.nodeName,!Q||Q.toLowerCase()!=="input"||Z.type!=="checkbox"&&Z.type!=="radio"?V&&Fc(V.elementType)&&(ht=ng):ht=xA;if(ht&&(ht=ht(e,V))){eg(et,ht,l,J);break t}Et&&Et(e,Z,V),e==="focusout"&&V&&Z.type==="number"&&V.memoizedProps.value!=null&&Kc(Z,"number",Z.value)}switch(Et=V?bl(V):window,e){case"focusin":(tg(Et)||Et.contentEditable==="true")&&(aa=Et,df=V,Ol=null);break;case"focusout":Ol=df=aa=null;break;case"mousedown":hf=!0;break;case"contextmenu":case"mouseup":case"dragend":hf=!1,fg(et,l,J);break;case"selectionchange":if(TA)break;case"keydown":case"keyup":fg(et,l,J)}var pt;if(uf)t:{switch(e){case"compositionstart":var At="onCompositionStart";break t;case"compositionend":At="onCompositionEnd";break t;case"compositionupdate":At="onCompositionUpdate";break t}At=void 0}else ia?W0(e,l)&&(At="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(At="onCompositionStart");At&&(Q0&&l.locale!=="ko"&&(ia||At!=="onCompositionStart"?At==="onCompositionEnd"&&ia&&(pt=I0()):(Lr=J,nf="value"in Lr?Lr.value:Lr.textContent,ia=!0)),Et=es(V,At),0<Et.length&&(At=new P0(At,e,null,l,J),et.push({event:At,listeners:Et}),pt?At.data=pt:(pt=J0(l),pt!==null&&(At.data=pt)))),(pt=hA?mA(e,l):gA(e,l))&&(At=es(V,"onBeforeInput"),0<At.length&&(Et=new P0("onBeforeInput","beforeinput",null,l,J),et.push({event:Et,listeners:At}),Et.data=pt)),aT(et,e,V,l,J)}Uy(et,r)})}function no(e,r,l){return{instance:e,listener:r,currentTarget:l}}function es(e,r){for(var l=r+"Capture",u=[];e!==null;){var d=e,g=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||g===null||(d=xl(e,l),d!=null&&u.unshift(no(e,d,g)),d=xl(e,r),d!=null&&u.push(no(e,d,g))),e.tag===3)return u;e=e.return}return[]}function _a(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function $y(e,r,l,u,d){for(var g=r._reactName,A=[];l!==null&&l!==u;){var w=l,U=w.alternate,V=w.stateNode;if(w=w.tag,U!==null&&U===u)break;w!==5&&w!==26&&w!==27||V===null||(U=V,d?(V=xl(l,g),V!=null&&A.unshift(no(l,V,U))):d||(V=xl(l,g),V!=null&&A.push(no(l,V,U)))),l=l.return}A.length!==0&&e.push({event:r,listeners:A})}var sT=/\r\n?/g,cT=/\u0000|\uFFFD/g;function By(e){return(typeof e=="string"?e:""+e).replace(sT,`
49
+
`).replace(cT,"")}function Ly(e,r){return r=By(r),By(e)===r}function ns(){}function qt(e,r,l,u,d,g){switch(l){case"children":typeof u=="string"?r==="body"||r==="textarea"&&u===""||ea(e,u):(typeof u=="number"||typeof u=="bigint")&&r!=="body"&&ea(e,""+u);break;case"className":ou(e,"class",u);break;case"tabIndex":ou(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":ou(e,l,u);break;case"style":Y0(e,u,g);break;case"data":if(r!=="object"){ou(e,"data",u);break}case"src":case"href":if(u===""&&(r!=="a"||l!=="href")){e.removeAttribute(l);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(l);break}u=cu(""+u),e.setAttribute(l,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(l,"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 g=="function"&&(l==="formAction"?(r!=="input"&&qt(e,r,"name",d.name,d,null),qt(e,r,"formEncType",d.formEncType,d,null),qt(e,r,"formMethod",d.formMethod,d,null),qt(e,r,"formTarget",d.formTarget,d,null)):(qt(e,r,"encType",d.encType,d,null),qt(e,r,"method",d.method,d,null),qt(e,r,"target",d.target,d,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(l);break}u=cu(""+u),e.setAttribute(l,u);break;case"onClick":u!=null&&(e.onclick=ns);break;case"onScroll":u!=null&&_t("scroll",e);break;case"onScrollEnd":u!=null&&_t("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(a(61));if(l=u.__html,l!=null){if(d.children!=null)throw Error(a(60));e.innerHTML=l}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}l=cu(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(l,""+u):e.removeAttribute(l);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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":u===!0?e.setAttribute(l,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(l,u):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(l,u):e.removeAttribute(l);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(l):e.setAttribute(l,u);break;case"popover":_t("beforetoggle",e),_t("toggle",e),lu(e,"popover",u);break;case"xlinkActuate":ur(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":ur(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":ur(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":ur(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":ur(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":ur(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":ur(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":ur(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":ur(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":lu(e,"is",u);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=H2.get(l)||l,lu(e,l,u))}}function jd(e,r,l,u,d,g){switch(l){case"style":Y0(e,u,g);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(a(61));if(l=u.__html,l!=null){if(d.children!=null)throw Error(a(60));e.innerHTML=l}}break;case"children":typeof u=="string"?ea(e,u):(typeof u=="number"||typeof u=="bigint")&&ea(e,""+u);break;case"onScroll":u!=null&&_t("scroll",e);break;case"onScrollEnd":u!=null&&_t("scrollend",e);break;case"onClick":u!=null&&(e.onclick=ns);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!R0.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(d=l.endsWith("Capture"),r=l.slice(2,d?l.length-7:void 0),g=e[Pe]||null,g=g!=null?g[l]:null,typeof g=="function"&&e.removeEventListener(r,g,d),typeof u=="function")){typeof g!="function"&&g!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(r,u,d);break t}l in e?e[l]=u:u===!0?e.setAttribute(l,""):lu(e,l,u)}}}function De(e,r,l){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_t("error",e),_t("load",e);var u=!1,d=!1,g;for(g in l)if(l.hasOwnProperty(g)){var A=l[g];if(A!=null)switch(g){case"src":u=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,r));default:qt(e,r,g,A,l,null)}}d&&qt(e,r,"srcSet",l.srcSet,l,null),u&&qt(e,r,"src",l.src,l,null);return;case"input":_t("invalid",e);var w=g=A=d=null,U=null,V=null;for(u in l)if(l.hasOwnProperty(u)){var J=l[u];if(J!=null)switch(u){case"name":d=J;break;case"type":A=J;break;case"checked":U=J;break;case"defaultChecked":V=J;break;case"value":g=J;break;case"defaultValue":w=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(a(137,r));break;default:qt(e,r,u,J,l,null)}}$0(e,g,w,U,V,A,d,!1),uu(e);return;case"select":_t("invalid",e),u=A=g=null;for(d in l)if(l.hasOwnProperty(d)&&(w=l[d],w!=null))switch(d){case"value":g=w;break;case"defaultValue":A=w;break;case"multiple":u=w;default:qt(e,r,d,w,l,null)}r=g,l=A,e.multiple=!!u,r!=null?ta(e,!!u,r,!1):l!=null&&ta(e,!!u,l,!0);return;case"textarea":_t("invalid",e),g=d=u=null;for(A in l)if(l.hasOwnProperty(A)&&(w=l[A],w!=null))switch(A){case"value":u=w;break;case"defaultValue":d=w;break;case"children":g=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(a(91));break;default:qt(e,r,A,w,l,null)}L0(e,u,d,g),uu(e);return;case"option":for(U in l)if(l.hasOwnProperty(U)&&(u=l[U],u!=null))switch(U){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:qt(e,r,U,u,l,null)}return;case"dialog":_t("beforetoggle",e),_t("toggle",e),_t("cancel",e),_t("close",e);break;case"iframe":case"object":_t("load",e);break;case"video":case"audio":for(u=0;u<eo.length;u++)_t(eo[u],e);break;case"image":_t("error",e),_t("load",e);break;case"details":_t("toggle",e);break;case"embed":case"source":case"link":_t("error",e),_t("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(V in l)if(l.hasOwnProperty(V)&&(u=l[V],u!=null))switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,r));default:qt(e,r,V,u,l,null)}return;default:if(Fc(r)){for(J in l)l.hasOwnProperty(J)&&(u=l[J],u!==void 0&&jd(e,r,J,u,l,void 0));return}}for(w in l)l.hasOwnProperty(w)&&(u=l[w],u!=null&&qt(e,r,w,u,l,null))}function fT(e,r,l,u){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,g=null,A=null,w=null,U=null,V=null,J=null;for(Q in l){var et=l[Q];if(l.hasOwnProperty(Q)&&et!=null)switch(Q){case"checked":break;case"value":break;case"defaultValue":U=et;default:u.hasOwnProperty(Q)||qt(e,r,Q,null,u,et)}}for(var Z in u){var Q=u[Z];if(et=l[Z],u.hasOwnProperty(Z)&&(Q!=null||et!=null))switch(Z){case"type":g=Q;break;case"name":d=Q;break;case"checked":V=Q;break;case"defaultChecked":J=Q;break;case"value":A=Q;break;case"defaultValue":w=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(a(137,r));break;default:Q!==et&&qt(e,r,Z,Q,u,et)}}Qc(e,A,w,U,V,J,g,d);return;case"select":Q=A=w=Z=null;for(g in l)if(U=l[g],l.hasOwnProperty(g)&&U!=null)switch(g){case"value":break;case"multiple":Q=U;default:u.hasOwnProperty(g)||qt(e,r,g,null,u,U)}for(d in u)if(g=u[d],U=l[d],u.hasOwnProperty(d)&&(g!=null||U!=null))switch(d){case"value":Z=g;break;case"defaultValue":w=g;break;case"multiple":A=g;default:g!==U&&qt(e,r,d,g,u,U)}r=w,l=A,u=Q,Z!=null?ta(e,!!l,Z,!1):!!u!=!!l&&(r!=null?ta(e,!!l,r,!0):ta(e,!!l,l?[]:"",!1));return;case"textarea":Q=Z=null;for(w in l)if(d=l[w],l.hasOwnProperty(w)&&d!=null&&!u.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:qt(e,r,w,null,u,d)}for(A in u)if(d=u[A],g=l[A],u.hasOwnProperty(A)&&(d!=null||g!=null))switch(A){case"value":Z=d;break;case"defaultValue":Q=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(a(91));break;default:d!==g&&qt(e,r,A,d,u,g)}B0(e,Z,Q);return;case"option":for(var Tt in l)if(Z=l[Tt],l.hasOwnProperty(Tt)&&Z!=null&&!u.hasOwnProperty(Tt))switch(Tt){case"selected":e.selected=!1;break;default:qt(e,r,Tt,null,u,Z)}for(U in u)if(Z=u[U],Q=l[U],u.hasOwnProperty(U)&&Z!==Q&&(Z!=null||Q!=null))switch(U){case"selected":e.selected=Z&&typeof Z!="function"&&typeof Z!="symbol";break;default:qt(e,r,U,Z,u,Q)}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 St in l)Z=l[St],l.hasOwnProperty(St)&&Z!=null&&!u.hasOwnProperty(St)&&qt(e,r,St,null,u,Z);for(V in u)if(Z=u[V],Q=l[V],u.hasOwnProperty(V)&&Z!==Q&&(Z!=null||Q!=null))switch(V){case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(a(137,r));break;default:qt(e,r,V,Z,u,Q)}return;default:if(Fc(r)){for(var It in l)Z=l[It],l.hasOwnProperty(It)&&Z!==void 0&&!u.hasOwnProperty(It)&&jd(e,r,It,void 0,u,Z);for(J in u)Z=u[J],Q=l[J],!u.hasOwnProperty(J)||Z===Q||Z===void 0&&Q===void 0||jd(e,r,J,Z,u,Q);return}}for(var G in l)Z=l[G],l.hasOwnProperty(G)&&Z!=null&&!u.hasOwnProperty(G)&&qt(e,r,G,null,u,Z);for(et in u)Z=u[et],Q=l[et],!u.hasOwnProperty(et)||Z===Q||Z==null&&Q==null||qt(e,r,et,Z,u,Q)}var $d=null,Bd=null;function rs(e){return e.nodeType===9?e:e.ownerDocument}function Hy(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Yy(e,r){if(e===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&r==="foreignObject"?0:e}function Ld(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Hd=null;function dT(){var e=window.event;return e&&e.type==="popstate"?e===Hd?!1:(Hd=e,!0):(Hd=null,!1)}var Gy=typeof setTimeout=="function"?setTimeout:void 0,hT=typeof clearTimeout=="function"?clearTimeout:void 0,qy=typeof Promise=="function"?Promise:void 0,mT=typeof queueMicrotask=="function"?queueMicrotask:typeof qy<"u"?function(e){return qy.resolve(null).then(e).catch(gT)}:Gy;function gT(e){setTimeout(function(){throw e})}function ei(e){return e==="head"}function Iy(e,r){var l=r,u=0,d=0;do{var g=l.nextSibling;if(e.removeChild(l),g&&g.nodeType===8)if(l=g.data,l==="/$"){if(0<u&&8>u){l=u;var A=e.ownerDocument;if(l&1&&ro(A.documentElement),l&2&&ro(A.body),l&4)for(l=A.head,ro(l),A=l.firstChild;A;){var w=A.nextSibling,U=A.nodeName;A[vl]||U==="SCRIPT"||U==="STYLE"||U==="LINK"&&A.rel.toLowerCase()==="stylesheet"||l.removeChild(A),A=w}}if(d===0){e.removeChild(g),fo(r);return}d--}else l==="$"||l==="$?"||l==="$!"?d++:u=l.charCodeAt(0)-48;else u=0;l=g}while(l);fo(r)}function Yd(e){var r=e.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var l=r;switch(r=r.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Yd(l),Vc(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function pT(e,r,l,u){for(;e.nodeType===1;){var d=l;if(e.nodeName.toLowerCase()!==r.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[vl])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(g=e.getAttribute("rel"),g==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(g!==d.rel||e.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||e.getAttribute("title")!==(d.title==null?null:d.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(g=e.getAttribute("src"),(g!==(d.src==null?null:d.src)||e.getAttribute("type")!==(d.type==null?null:d.type)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&g&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(r==="input"&&e.type==="hidden"){var g=d.name==null?null:""+d.name;if(d.type==="hidden"&&e.getAttribute("name")===g)return e}else return e;if(e=Bn(e.nextSibling),e===null)break}return null}function yT(e,r,l){if(r==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Bn(e.nextSibling),e===null))return null;return e}function Gd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function vT(e,r){var l=e.ownerDocument;if(e.data!=="$?"||l.readyState==="complete")r();else{var u=function(){r(),l.removeEventListener("DOMContentLoaded",u)};l.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Bn(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?"||r==="F!"||r==="F")break;if(r==="/$")return null}}return e}var qd=null;function Vy(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return e;r--}else l==="/$"&&r++}e=e.previousSibling}return null}function Xy(e,r,l){switch(r=rs(l),e){case"html":if(e=r.documentElement,!e)throw Error(a(452));return e;case"head":if(e=r.head,!e)throw Error(a(453));return e;case"body":if(e=r.body,!e)throw Error(a(454));return e;default:throw Error(a(451))}}function ro(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);Vc(e)}var Cn=new Map,Py=new Set;function is(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ar=P.d;P.d={f:bT,r:xT,D:ST,C:AT,L:TT,m:CT,X:MT,S:wT,M:ET};function bT(){var e=Ar.f(),r=Qu();return e||r}function xT(e){var r=Ki(e);r!==null&&r.tag===5&&r.type==="form"?hp(r):Ar.r(e)}var Ra=typeof document>"u"?null:document;function Zy(e,r,l){var u=Ra;if(u&&typeof r=="string"&&r){var d=yn(r);d='link[rel="'+e+'"][href="'+d+'"]',typeof l=="string"&&(d+='[crossorigin="'+l+'"]'),Py.has(d)||(Py.add(d),e={rel:e,crossOrigin:l,href:r},u.querySelector(d)===null&&(r=u.createElement("link"),De(r,"link",e),Ce(r),u.head.appendChild(r)))}}function ST(e){Ar.D(e),Zy("dns-prefetch",e,null)}function AT(e,r){Ar.C(e,r),Zy("preconnect",e,r)}function TT(e,r,l){Ar.L(e,r,l);var u=Ra;if(u&&e&&r){var d='link[rel="preload"][as="'+yn(r)+'"]';r==="image"&&l&&l.imageSrcSet?(d+='[imagesrcset="'+yn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(d+='[imagesizes="'+yn(l.imageSizes)+'"]')):d+='[href="'+yn(e)+'"]';var g=d;switch(r){case"style":g=ka(e);break;case"script":g=Da(e)}Cn.has(g)||(e=y({rel:"preload",href:r==="image"&&l&&l.imageSrcSet?void 0:e,as:r},l),Cn.set(g,e),u.querySelector(d)!==null||r==="style"&&u.querySelector(io(g))||r==="script"&&u.querySelector(ao(g))||(r=u.createElement("link"),De(r,"link",e),Ce(r),u.head.appendChild(r)))}}function CT(e,r){Ar.m(e,r);var l=Ra;if(l&&e){var u=r&&typeof r.as=="string"?r.as:"script",d='link[rel="modulepreload"][as="'+yn(u)+'"][href="'+yn(e)+'"]',g=d;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Da(e)}if(!Cn.has(g)&&(e=y({rel:"modulepreload",href:e},r),Cn.set(g,e),l.querySelector(d)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(ao(g)))return}u=l.createElement("link"),De(u,"link",e),Ce(u),l.head.appendChild(u)}}}function wT(e,r,l){Ar.S(e,r,l);var u=Ra;if(u&&e){var d=Fi(u).hoistableStyles,g=ka(e);r=r||"default";var A=d.get(g);if(!A){var w={loading:0,preload:null};if(A=u.querySelector(io(g)))w.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":r},l),(l=Cn.get(g))&&Id(e,l);var U=A=u.createElement("link");Ce(U),De(U,"link",e),U._p=new Promise(function(V,J){U.onload=V,U.onerror=J}),U.addEventListener("load",function(){w.loading|=1}),U.addEventListener("error",function(){w.loading|=2}),w.loading|=4,as(A,r,u)}A={type:"stylesheet",instance:A,count:1,state:w},d.set(g,A)}}}function MT(e,r){Ar.X(e,r);var l=Ra;if(l&&e){var u=Fi(l).hoistableScripts,d=Da(e),g=u.get(d);g||(g=l.querySelector(ao(d)),g||(e=y({src:e,async:!0},r),(r=Cn.get(d))&&Vd(e,r),g=l.createElement("script"),Ce(g),De(g,"link",e),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(d,g))}}function ET(e,r){Ar.M(e,r);var l=Ra;if(l&&e){var u=Fi(l).hoistableScripts,d=Da(e),g=u.get(d);g||(g=l.querySelector(ao(d)),g||(e=y({src:e,async:!0,type:"module"},r),(r=Cn.get(d))&&Vd(e,r),g=l.createElement("script"),Ce(g),De(g,"link",e),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(d,g))}}function Qy(e,r,l,u){var d=(d=dt.current)?is(d):null;if(!d)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(r=ka(l.href),l=Fi(d).hoistableStyles,u=l.get(r),u||(u={type:"style",instance:null,count:0,state:null},l.set(r,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=ka(l.href);var g=Fi(d).hoistableStyles,A=g.get(e);if(A||(d=d.ownerDocument||d,A={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(e,A),(g=d.querySelector(io(e)))&&!g._p&&(A.instance=g,A.state.loading=5),Cn.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Cn.set(e,l),g||OT(d,e,l,A.state))),r&&u===null)throw Error(a(528,""));return A}if(r&&u!==null)throw Error(a(529,""));return null;case"script":return r=l.async,l=l.src,typeof l=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Da(l),l=Fi(d).hoistableScripts,u=l.get(r),u||(u={type:"script",instance:null,count:0,state:null},l.set(r,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function ka(e){return'href="'+yn(e)+'"'}function io(e){return'link[rel="stylesheet"]['+e+"]"}function Ky(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function OT(e,r,l,u){e.querySelector('link[rel="preload"][as="style"]['+r+"]")?u.loading=1:(r=e.createElement("link"),u.preload=r,r.addEventListener("load",function(){return u.loading|=1}),r.addEventListener("error",function(){return u.loading|=2}),De(r,"link",l),Ce(r),e.head.appendChild(r))}function Da(e){return'[src="'+yn(e)+'"]'}function ao(e){return"script[async]"+e}function Fy(e,r,l){if(r.count++,r.instance===null)switch(r.type){case"style":var u=e.querySelector('style[data-href~="'+yn(l.href)+'"]');if(u)return r.instance=u,Ce(u),u;var d=y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),Ce(u),De(u,"style",d),as(u,l.precedence,e),r.instance=u;case"stylesheet":d=ka(l.href);var g=e.querySelector(io(d));if(g)return r.state.loading|=4,r.instance=g,Ce(g),g;u=Ky(l),(d=Cn.get(d))&&Id(u,d),g=(e.ownerDocument||e).createElement("link"),Ce(g);var A=g;return A._p=new Promise(function(w,U){A.onload=w,A.onerror=U}),De(g,"link",u),r.state.loading|=4,as(g,l.precedence,e),r.instance=g;case"script":return g=Da(l.src),(d=e.querySelector(ao(g)))?(r.instance=d,Ce(d),d):(u=l,(d=Cn.get(g))&&(u=y({},l),Vd(u,d)),e=e.ownerDocument||e,d=e.createElement("script"),Ce(d),De(d,"link",u),e.head.appendChild(d),r.instance=d);case"void":return null;default:throw Error(a(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(u=r.instance,r.state.loading|=4,as(u,l.precedence,e));return r.instance}function as(e,r,l){for(var u=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=u.length?u[u.length-1]:null,g=d,A=0;A<u.length;A++){var w=u[A];if(w.dataset.precedence===r)g=w;else if(g!==d)break}g?g.parentNode.insertBefore(e,g.nextSibling):(r=l.nodeType===9?l.head:l,r.insertBefore(e,r.firstChild))}function Id(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function Vd(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var ls=null;function Wy(e,r,l){if(ls===null){var u=new Map,d=ls=new Map;d.set(l,u)}else d=ls,u=d.get(l),u||(u=new Map,d.set(l,u));if(u.has(e))return u;for(u.set(e,null),l=l.getElementsByTagName(e),d=0;d<l.length;d++){var g=l[d];if(!(g[vl]||g[je]||e==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var A=g.getAttribute(r)||"";A=e+A;var w=u.get(A);w?w.push(g):u.set(A,[g])}}return u}function Jy(e,r,l){e=e.ownerDocument||e,e.head.insertBefore(l,r==="title"?e.querySelector("head > title"):null)}function _T(e,r,l){if(l===1||r.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return e=r.disabled,typeof r.precedence=="string"&&e==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function t1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var lo=null;function RT(){}function kT(e,r,l){if(lo===null)throw Error(a(475));var u=lo;if(r.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var d=ka(l.href),g=e.querySelector(io(d));if(g){e=g._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=os.bind(u),e.then(u,u)),r.state.loading|=4,r.instance=g,Ce(g);return}g=e.ownerDocument||e,l=Ky(l),(d=Cn.get(d))&&Id(l,d),g=g.createElement("link"),Ce(g);var A=g;A._p=new Promise(function(w,U){A.onload=w,A.onerror=U}),De(g,"link",l),r.instance=g}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(r,e),(e=r.state.preload)&&(r.state.loading&3)===0&&(u.count++,r=os.bind(u),e.addEventListener("load",r),e.addEventListener("error",r))}}function DT(){if(lo===null)throw Error(a(475));var e=lo;return e.stylesheets&&e.count===0&&Xd(e,e.stylesheets),0<e.count?function(r){var l=setTimeout(function(){if(e.stylesheets&&Xd(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(l)}}:null}function os(){if(this.count--,this.count===0){if(this.stylesheets)Xd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var us=null;function Xd(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,us=new Map,r.forEach(zT,e),us=null,os.call(e))}function zT(e,r){if(!(r.state.loading&4)){var l=us.get(e);if(l)var u=l.get(null);else{l=new Map,us.set(e,l);for(var d=e.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<d.length;g++){var A=d[g];(A.nodeName==="LINK"||A.getAttribute("media")!=="not all")&&(l.set(A.dataset.precedence,A),u=A)}u&&l.set(null,u)}d=r.instance,A=d.getAttribute("data-precedence"),g=l.get(A)||u,g===u&&l.set(null,d),l.set(A,d),this.count++,u=os.bind(this),d.addEventListener("load",u),d.addEventListener("error",u),g?g.parentNode.insertBefore(d,g.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(d,e.firstChild)),r.state.loading|=4}}var oo={$$typeof:O,Provider:null,Consumer:null,_currentValue:nt,_currentValue2:nt,_threadCount:0};function NT(e,r,l,u,d,g,A,w){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Yc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yc(0),this.hiddenUpdates=Yc(null),this.identifierPrefix=u,this.onUncaughtError=d,this.onCaughtError=g,this.onRecoverableError=A,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map}function e1(e,r,l,u,d,g,A,w,U,V,J,et){return e=new NT(e,r,l,A,w,U,V,et),r=1,g===!0&&(r|=24),g=rn(3,null,null,r),e.current=g,g.stateNode=e,r=Ef(),r.refCount++,e.pooledCache=r,r.refCount++,g.memoizedState={element:u,isDehydrated:l,cache:r},kf(g),e}function n1(e){return e?(e=sa,e):sa}function r1(e,r,l,u,d,g){d=n1(d),u.context===null?u.context=d:u.pendingContext=d,u=Gr(r),u.payload={element:l},g=g===void 0?null:g,g!==null&&(u.callback=g),l=qr(e,u,r),l!==null&&(sn(l,e,r),$l(l,e,r))}function i1(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<r?l:r}}function Pd(e,r){i1(e,r),(e=e.alternate)&&i1(e,r)}function a1(e){if(e.tag===13){var r=ua(e,67108864);r!==null&&sn(r,e,67108864),Pd(e,67108864)}}var ss=!0;function UT(e,r,l,u){var d=j.T;j.T=null;var g=P.p;try{P.p=2,Zd(e,r,l,u)}finally{P.p=g,j.T=d}}function jT(e,r,l,u){var d=j.T;j.T=null;var g=P.p;try{P.p=8,Zd(e,r,l,u)}finally{P.p=g,j.T=d}}function Zd(e,r,l,u){if(ss){var d=Qd(u);if(d===null)Ud(e,r,u,cs,l),o1(e,u);else if(BT(d,e,r,l,u))u.stopPropagation();else if(o1(e,u),r&4&&-1<$T.indexOf(e)){for(;d!==null;){var g=Ki(d);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var A=or(g.pendingLanes);if(A!==0){var w=g;for(w.pendingLanes|=2,w.entangledLanes|=2;A;){var U=1<<31-Te(A);w.entanglements[1]|=U,A&=~U}Qn(g),(Lt&6)===0&&(Pu=Yt()+500,to(0))}}break;case 13:w=ua(g,2),w!==null&&sn(w,g,2),Qu(),Pd(g,2)}if(g=Qd(u),g===null&&Ud(e,r,u,cs,l),g===d)break;d=g}d!==null&&u.stopPropagation()}else Ud(e,r,u,null,l)}}function Qd(e){return e=Jc(e),Kd(e)}var cs=null;function Kd(e){if(cs=null,e=Qi(e),e!==null){var r=s(e);if(r===null)e=null;else{var l=r.tag;if(l===13){if(e=c(r),e!==null)return e;e=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null)}}return cs=e,null}function l1(e){switch(e){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 2;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 8;case"message":switch(Ae()){case se:return 2;case me:return 8;case Kt:case Xe:return 32;case mn:return 268435456;default:return 32}default:return 32}}var Fd=!1,ni=null,ri=null,ii=null,uo=new Map,so=new Map,ai=[],$T="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(" ");function o1(e,r){switch(e){case"focusin":case"focusout":ni=null;break;case"dragenter":case"dragleave":ri=null;break;case"mouseover":case"mouseout":ii=null;break;case"pointerover":case"pointerout":uo.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":so.delete(r.pointerId)}}function co(e,r,l,u,d,g){return e===null||e.nativeEvent!==g?(e={blockedOn:r,domEventName:l,eventSystemFlags:u,nativeEvent:g,targetContainers:[d]},r!==null&&(r=Ki(r),r!==null&&a1(r)),e):(e.eventSystemFlags|=u,r=e.targetContainers,d!==null&&r.indexOf(d)===-1&&r.push(d),e)}function BT(e,r,l,u,d){switch(r){case"focusin":return ni=co(ni,e,r,l,u,d),!0;case"dragenter":return ri=co(ri,e,r,l,u,d),!0;case"mouseover":return ii=co(ii,e,r,l,u,d),!0;case"pointerover":var g=d.pointerId;return uo.set(g,co(uo.get(g)||null,e,r,l,u,d)),!0;case"gotpointercapture":return g=d.pointerId,so.set(g,co(so.get(g)||null,e,r,l,u,d)),!0}return!1}function u1(e){var r=Qi(e.target);if(r!==null){var l=s(r);if(l!==null){if(r=l.tag,r===13){if(r=c(l),r!==null){e.blockedOn=r,k2(e.priority,function(){if(l.tag===13){var u=un();u=Gc(u);var d=ua(l,u);d!==null&&sn(d,l,u),Pd(l,u)}});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fs(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var l=Qd(e.nativeEvent);if(l===null){l=e.nativeEvent;var u=new l.constructor(l.type,l);Wc=u,l.target.dispatchEvent(u),Wc=null}else return r=Ki(l),r!==null&&a1(r),e.blockedOn=l,!1;r.shift()}return!0}function s1(e,r,l){fs(e)&&l.delete(r)}function LT(){Fd=!1,ni!==null&&fs(ni)&&(ni=null),ri!==null&&fs(ri)&&(ri=null),ii!==null&&fs(ii)&&(ii=null),uo.forEach(s1),so.forEach(s1)}function ds(e,r){e.blockedOn===r&&(e.blockedOn=null,Fd||(Fd=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,LT)))}var hs=null;function c1(e){hs!==e&&(hs=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){hs===e&&(hs=null);for(var r=0;r<e.length;r+=3){var l=e[r],u=e[r+1],d=e[r+2];if(typeof u!="function"){if(Kd(u||l)===null)continue;break}var g=Ki(l);g!==null&&(e.splice(r,3),r-=3,Kf(g,{pending:!0,data:d,method:l.method,action:u},u,d))}}))}function fo(e){function r(U){return ds(U,e)}ni!==null&&ds(ni,e),ri!==null&&ds(ri,e),ii!==null&&ds(ii,e),uo.forEach(r),so.forEach(r);for(var l=0;l<ai.length;l++){var u=ai[l];u.blockedOn===e&&(u.blockedOn=null)}for(;0<ai.length&&(l=ai[0],l.blockedOn===null);)u1(l),l.blockedOn===null&&ai.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(u=0;u<l.length;u+=3){var d=l[u],g=l[u+1],A=d[Pe]||null;if(typeof g=="function")A||c1(l);else if(A){var w=null;if(g&&g.hasAttribute("formAction")){if(d=g,A=g[Pe]||null)w=A.formAction;else if(Kd(d)!==null)continue}else w=A.action;typeof w=="function"?l[u+1]=w:(l.splice(u,3),u-=3),c1(l)}}}function Wd(e){this._internalRoot=e}ms.prototype.render=Wd.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(a(409));var l=r.current,u=un();r1(l,u,e,r,null,null)},ms.prototype.unmount=Wd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;r1(e.current,2,null,e,null,null),Qu(),r[Zi]=null}};function ms(e){this._internalRoot=e}ms.prototype.unstable_scheduleHydration=function(e){if(e){var r=E0();e={blockedOn:null,target:e,priority:r};for(var l=0;l<ai.length&&r!==0&&r<ai[l].priority;l++);ai.splice(l,0,e),l===0&&u1(e)}};var f1=n.version;if(f1!=="19.1.0")throw Error(a(527,f1,"19.1.0"));P.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(a(188)):(e=Object.keys(e).join(","),Error(a(268,e)));return e=m(r),e=e!==null?h(e):null,e=e===null?null:e.stateNode,e};var HT={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var gs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gs.isDisabled&&gs.supportsFiber)try{Ge=gs.inject(HT),te=gs}catch{}}return mo.createRoot=function(e,r){if(!o(e))throw Error(a(299));var l=!1,u="",d=Ep,g=Op,A=_p,w=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(A=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(w=r.unstable_transitionCallbacks)),r=e1(e,1,!1,null,null,l,u,d,g,A,w,null),e[Zi]=r.current,Nd(e),new Wd(r)},mo.hydrateRoot=function(e,r,l){if(!o(e))throw Error(a(299));var u=!1,d="",g=Ep,A=Op,w=_p,U=null,V=null;return l!=null&&(l.unstable_strictMode===!0&&(u=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onUncaughtError!==void 0&&(g=l.onUncaughtError),l.onCaughtError!==void 0&&(A=l.onCaughtError),l.onRecoverableError!==void 0&&(w=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(U=l.unstable_transitionCallbacks),l.formState!==void 0&&(V=l.formState)),r=e1(e,1,!0,r,l??null,u,d,g,A,w,U,V),r.context=n1(null),l=r.current,u=un(),u=Gc(u),d=Gr(u),d.callback=null,qr(l,d,u),l=u,r.current.lanes=l,yl(r,l),Qn(r),e[Zi]=r.current,Nd(e),new ms(r)},mo.version="19.1.0",mo}var S1;function WT(){if(S1)return th.exports;S1=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),th.exports=FT(),th.exports}var JT=WT();function ji(t,...n){const i=new URL(`https://mui.com/production-error/?code=${t}`);return n.forEach(a=>i.searchParams.append("args[]",a)),`Minified MUI error #${t}; visit ${i} for the full message.`}const Er="$$material";function I(){return I=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var a in i)({}).hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},I.apply(null,arguments)}var Y=ic();const tC=jb(Y),Bh=IT({__proto__:null,default:tC},[Y]);function eC(t){if(t.sheet)return t.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===t)return document.styleSheets[n]}function nC(t){var n=document.createElement("style");return n.setAttribute("data-emotion",t.key),t.nonce!==void 0&&n.setAttribute("nonce",t.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}var Bb=function(){function t(i){var a=this;this._insertTag=function(o){var s;a.tags.length===0?a.insertionPoint?s=a.insertionPoint.nextSibling:a.prepend?s=a.container.firstChild:s=a.before:s=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(o,s),a.tags.push(o)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var n=t.prototype;return n.hydrate=function(a){a.forEach(this._insertTag)},n.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(nC(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=eC(o);try{s.insertRule(a,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(a));this.ctr++},n.flush=function(){this.tags.forEach(function(a){var o;return(o=a.parentNode)==null?void 0:o.removeChild(a)}),this.tags=[],this.ctr=0},t}(),He="-ms-",Us="-moz-",Ut="-webkit-",Lb="comm",cm="rule",fm="decl",rC="@import",Hb="@keyframes",iC="@layer",aC=Math.abs,ac=String.fromCharCode,lC=Object.assign;function oC(t,n){return ze(t,0)^45?(((n<<2^ze(t,0))<<2^ze(t,1))<<2^ze(t,2))<<2^ze(t,3):0}function Yb(t){return t.trim()}function uC(t,n){return(t=n.exec(t))?t[0]:t}function jt(t,n,i){return t.replace(n,i)}function Lh(t,n){return t.indexOf(n)}function ze(t,n){return t.charCodeAt(n)|0}function ko(t,n,i){return t.slice(n,i)}function Fn(t){return t.length}function dm(t){return t.length}function ps(t,n){return n.push(t),t}function sC(t,n){return t.map(n).join("")}var lc=1,Ka=1,Gb=0,en=0,ye=0,fl="";function oc(t,n,i,a,o,s,c){return{value:t,root:n,parent:i,type:a,props:o,children:s,line:lc,column:Ka,length:c,return:""}}function go(t,n){return lC(oc("",null,null,"",null,null,0),t,{length:-t.length},n)}function cC(){return ye}function fC(){return ye=en>0?ze(fl,--en):0,Ka--,ye===10&&(Ka=1,lc--),ye}function fn(){return ye=en<Gb?ze(fl,en++):0,Ka++,ye===10&&(Ka=1,lc++),ye}function tr(){return ze(fl,en)}function _s(){return en}function qo(t,n){return ko(fl,t,n)}function Do(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qb(t){return lc=Ka=1,Gb=Fn(fl=t),en=0,[]}function Ib(t){return fl="",t}function Rs(t){return Yb(qo(en-1,Hh(t===91?t+2:t===40?t+1:t)))}function dC(t){for(;(ye=tr())&&ye<33;)fn();return Do(t)>2||Do(ye)>3?"":" "}function hC(t,n){for(;--n&&fn()&&!(ye<48||ye>102||ye>57&&ye<65||ye>70&&ye<97););return qo(t,_s()+(n<6&&tr()==32&&fn()==32))}function Hh(t){for(;fn();)switch(ye){case t:return en;case 34:case 39:t!==34&&t!==39&&Hh(ye);break;case 40:t===41&&Hh(t);break;case 92:fn();break}return en}function mC(t,n){for(;fn()&&t+ye!==57;)if(t+ye===84&&tr()===47)break;return"/*"+qo(n,en-1)+"*"+ac(t===47?t:fn())}function gC(t){for(;!Do(tr());)fn();return qo(t,en)}function pC(t){return Ib(ks("",null,null,null,[""],t=qb(t),0,[0],t))}function ks(t,n,i,a,o,s,c,f,m){for(var h=0,y=0,p=c,v=0,b=0,S=0,x=1,C=1,E=1,k=0,O="",R=o,M=s,_=a,D=O;C;)switch(S=k,k=fn()){case 40:if(S!=108&&ze(D,p-1)==58){Lh(D+=jt(Rs(k),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:D+=Rs(k);break;case 9:case 10:case 13:case 32:D+=dC(S);break;case 92:D+=hC(_s()-1,7);continue;case 47:switch(tr()){case 42:case 47:ps(yC(mC(fn(),_s()),n,i),m);break;default:D+="/"}break;case 123*x:f[h++]=Fn(D)*E;case 125*x:case 59:case 0:switch(k){case 0:case 125:C=0;case 59+y:E==-1&&(D=jt(D,/\f/g,"")),b>0&&Fn(D)-p&&ps(b>32?T1(D+";",a,i,p-1):T1(jt(D," ","")+";",a,i,p-2),m);break;case 59:D+=";";default:if(ps(_=A1(D,n,i,h,y,o,f,O,R=[],M=[],p),s),k===123)if(y===0)ks(D,n,_,_,R,s,p,f,M);else switch(v===99&&ze(D,3)===110?100:v){case 100:case 108:case 109:case 115:ks(t,_,_,a&&ps(A1(t,_,_,0,0,o,f,O,o,R=[],p),M),o,M,p,f,a?R:M);break;default:ks(D,_,_,_,[""],M,0,f,M)}}h=y=b=0,x=E=1,O=D="",p=c;break;case 58:p=1+Fn(D),b=S;default:if(x<1){if(k==123)--x;else if(k==125&&x++==0&&fC()==125)continue}switch(D+=ac(k),k*x){case 38:E=y>0?1:(D+="\f",-1);break;case 44:f[h++]=(Fn(D)-1)*E,E=1;break;case 64:tr()===45&&(D+=Rs(fn())),v=tr(),y=p=Fn(O=D+=gC(_s())),k++;break;case 45:S===45&&Fn(D)==2&&(x=0)}}return s}function A1(t,n,i,a,o,s,c,f,m,h,y){for(var p=o-1,v=o===0?s:[""],b=dm(v),S=0,x=0,C=0;S<a;++S)for(var E=0,k=ko(t,p+1,p=aC(x=c[S])),O=t;E<b;++E)(O=Yb(x>0?v[E]+" "+k:jt(k,/&\f/g,v[E])))&&(m[C++]=O);return oc(t,n,i,o===0?cm:f,m,h,y)}function yC(t,n,i){return oc(t,n,i,Lb,ac(cC()),ko(t,2,-2),0)}function T1(t,n,i,a){return oc(t,n,i,fm,ko(t,0,a),ko(t,a+1,-1),a)}function Xa(t,n){for(var i="",a=dm(t),o=0;o<a;o++)i+=n(t[o],o,t,n)||"";return i}function vC(t,n,i,a){switch(t.type){case iC:if(t.children.length)break;case rC:case fm:return t.return=t.return||t.value;case Lb:return"";case Hb:return t.return=t.value+"{"+Xa(t.children,a)+"}";case cm:t.value=t.props.join(",")}return Fn(i=Xa(t.children,a))?t.return=t.value+"{"+i+"}":""}function bC(t){var n=dm(t);return function(i,a,o,s){for(var c="",f=0;f<n;f++)c+=t[f](i,a,o,s)||"";return c}}function xC(t){return function(n){n.root||(n=n.return)&&t(n)}}function Vb(t){var n=Object.create(null);return function(i){return n[i]===void 0&&(n[i]=t(i)),n[i]}}var SC=function(n,i,a){for(var o=0,s=0;o=s,s=tr(),o===38&&s===12&&(i[a]=1),!Do(s);)fn();return qo(n,en)},AC=function(n,i){var a=-1,o=44;do switch(Do(o)){case 0:o===38&&tr()===12&&(i[a]=1),n[a]+=SC(en-1,i,a);break;case 2:n[a]+=Rs(o);break;case 4:if(o===44){n[++a]=tr()===58?"&\f":"",i[a]=n[a].length;break}default:n[a]+=ac(o)}while(o=fn());return n},TC=function(n,i){return Ib(AC(qb(n),i))},C1=new WeakMap,CC=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var i=n.value,a=n.parent,o=n.column===a.column&&n.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(n.props.length===1&&i.charCodeAt(0)!==58&&!C1.get(a))&&!o){C1.set(n,!0);for(var s=[],c=TC(i,s),f=a.props,m=0,h=0;m<c.length;m++)for(var y=0;y<f.length;y++,h++)n.props[h]=s[m]?c[m].replace(/&\f/g,f[y]):f[y]+" "+c[m]}}},wC=function(n){if(n.type==="decl"){var i=n.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(n.return="",n.value="")}};function Xb(t,n){switch(oC(t,n)){case 5103:return Ut+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ut+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Ut+t+Us+t+He+t+t;case 6828:case 4268:return Ut+t+He+t+t;case 6165:return Ut+t+He+"flex-"+t+t;case 5187:return Ut+t+jt(t,/(\w+).+(:[^]+)/,Ut+"box-$1$2"+He+"flex-$1$2")+t;case 5443:return Ut+t+He+"flex-item-"+jt(t,/flex-|-self/,"")+t;case 4675:return Ut+t+He+"flex-line-pack"+jt(t,/align-content|flex-|-self/,"")+t;case 5548:return Ut+t+He+jt(t,"shrink","negative")+t;case 5292:return Ut+t+He+jt(t,"basis","preferred-size")+t;case 6060:return Ut+"box-"+jt(t,"-grow","")+Ut+t+He+jt(t,"grow","positive")+t;case 4554:return Ut+jt(t,/([^-])(transform)/g,"$1"+Ut+"$2")+t;case 6187:return jt(jt(jt(t,/(zoom-|grab)/,Ut+"$1"),/(image-set)/,Ut+"$1"),t,"")+t;case 5495:case 3959:return jt(t,/(image-set\([^]*)/,Ut+"$1$`$1");case 4968:return jt(jt(t,/(.+:)(flex-)?(.*)/,Ut+"box-pack:$3"+He+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ut+t+t;case 4095:case 3583:case 4068:case 2532:return jt(t,/(.+)-inline(.+)/,Ut+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Fn(t)-1-n>6)switch(ze(t,n+1)){case 109:if(ze(t,n+4)!==45)break;case 102:return jt(t,/(.+:)(.+)-([^]+)/,"$1"+Ut+"$2-$3$1"+Us+(ze(t,n+3)==108?"$3":"$2-$3"))+t;case 115:return~Lh(t,"stretch")?Xb(jt(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(ze(t,n+1)!==115)break;case 6444:switch(ze(t,Fn(t)-3-(~Lh(t,"!important")&&10))){case 107:return jt(t,":",":"+Ut)+t;case 101:return jt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ut+(ze(t,14)===45?"inline-":"")+"box$3$1"+Ut+"$2$3$1"+He+"$2box$3")+t}break;case 5936:switch(ze(t,n+11)){case 114:return Ut+t+He+jt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Ut+t+He+jt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Ut+t+He+jt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Ut+t+He+t+t}return t}var MC=function(n,i,a,o){if(n.length>-1&&!n.return)switch(n.type){case fm:n.return=Xb(n.value,n.length);break;case Hb:return Xa([go(n,{value:jt(n.value,"@","@"+Ut)})],o);case cm:if(n.length)return sC(n.props,function(s){switch(uC(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xa([go(n,{props:[jt(s,/:(read-\w+)/,":"+Us+"$1")]})],o);case"::placeholder":return Xa([go(n,{props:[jt(s,/:(plac\w+)/,":"+Ut+"input-$1")]}),go(n,{props:[jt(s,/:(plac\w+)/,":"+Us+"$1")]}),go(n,{props:[jt(s,/:(plac\w+)/,He+"input-$1")]})],o)}return""})}},EC=[MC],Pb=function(n){var i=n.key;if(i==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(x){var C=x.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=n.stylisPlugins||EC,s={},c,f=[];c=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(x){for(var C=x.getAttribute("data-emotion").split(" "),E=1;E<C.length;E++)s[C[E]]=!0;f.push(x)});var m,h=[CC,wC];{var y,p=[vC,xC(function(x){y.insert(x)})],v=bC(h.concat(o,p)),b=function(C){return Xa(pC(C),v)};m=function(C,E,k,O){y=k,b(C?C+"{"+E.styles+"}":E.styles),O&&(S.inserted[E.name]=!0)}}var S={key:i,sheet:new Bb({key:i,container:c,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:s,registered:{},insert:m};return S.sheet.hydrate(f),S},ah={exports:{}},$t={};/** @license React v16.13.1
50
+
* react-is.production.min.js
51
+
*
52
+
* Copyright (c) Facebook, Inc. and its affiliates.
53
+
*
54
+
* This source code is licensed under the MIT license found in the
55
+
* LICENSE file in the root directory of this source tree.
56
+
*/var w1;function OC(){if(w1)return $t;w1=1;var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,i=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,c=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,m=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,y=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,v=t?Symbol.for("react.suspense_list"):60120,b=t?Symbol.for("react.memo"):60115,S=t?Symbol.for("react.lazy"):60116,x=t?Symbol.for("react.block"):60121,C=t?Symbol.for("react.fundamental"):60117,E=t?Symbol.for("react.responder"):60118,k=t?Symbol.for("react.scope"):60119;function O(M){if(typeof M=="object"&&M!==null){var _=M.$$typeof;switch(_){case n:switch(M=M.type,M){case m:case h:case a:case s:case o:case p:return M;default:switch(M=M&&M.$$typeof,M){case f:case y:case S:case b:case c:return M;default:return _}}case i:return _}}}function R(M){return O(M)===h}return $t.AsyncMode=m,$t.ConcurrentMode=h,$t.ContextConsumer=f,$t.ContextProvider=c,$t.Element=n,$t.ForwardRef=y,$t.Fragment=a,$t.Lazy=S,$t.Memo=b,$t.Portal=i,$t.Profiler=s,$t.StrictMode=o,$t.Suspense=p,$t.isAsyncMode=function(M){return R(M)||O(M)===m},$t.isConcurrentMode=R,$t.isContextConsumer=function(M){return O(M)===f},$t.isContextProvider=function(M){return O(M)===c},$t.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===n},$t.isForwardRef=function(M){return O(M)===y},$t.isFragment=function(M){return O(M)===a},$t.isLazy=function(M){return O(M)===S},$t.isMemo=function(M){return O(M)===b},$t.isPortal=function(M){return O(M)===i},$t.isProfiler=function(M){return O(M)===s},$t.isStrictMode=function(M){return O(M)===o},$t.isSuspense=function(M){return O(M)===p},$t.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===a||M===h||M===s||M===o||M===p||M===v||typeof M=="object"&&M!==null&&(M.$$typeof===S||M.$$typeof===b||M.$$typeof===c||M.$$typeof===f||M.$$typeof===y||M.$$typeof===C||M.$$typeof===E||M.$$typeof===k||M.$$typeof===x)},$t.typeOf=O,$t}var M1;function _C(){return M1||(M1=1,ah.exports=OC()),ah.exports}var lh,E1;function RC(){if(E1)return lh;E1=1;var t=_C(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[t.ForwardRef]=a,s[t.Memo]=o;function c(S){return t.isMemo(S)?o:s[S.$$typeof]||n}var f=Object.defineProperty,m=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,v=Object.prototype;function b(S,x,C){if(typeof x!="string"){if(v){var E=p(x);E&&E!==v&&b(S,E,C)}var k=m(x);h&&(k=k.concat(h(x)));for(var O=c(S),R=c(x),M=0;M<k.length;++M){var _=k[M];if(!i[_]&&!(C&&C[_])&&!(R&&R[_])&&!(O&&O[_])){var D=y(x,_);try{f(S,_,D)}catch{}}}}return S}return lh=b,lh}RC();var kC=!0;function Zb(t,n,i){var a="";return i.split(" ").forEach(function(o){t[o]!==void 0?n.push(t[o]+";"):o&&(a+=o+" ")}),a}var hm=function(n,i,a){var o=n.key+"-"+i.name;(a===!1||kC===!1)&&n.registered[o]===void 0&&(n.registered[o]=i.styles)},mm=function(n,i,a){hm(n,i,a);var o=n.key+"-"+i.name;if(n.inserted[i.name]===void 0){var s=i;do n.insert(i===s?"."+o:"",s,n.sheet,!0),s=s.next;while(s!==void 0)}};function DC(t){for(var n=0,i,a=0,o=t.length;o>=4;++a,o-=4)i=t.charCodeAt(a)&255|(t.charCodeAt(++a)&255)<<8|(t.charCodeAt(++a)&255)<<16|(t.charCodeAt(++a)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,n=(i&65535)*1540483477+((i>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(t.charCodeAt(a+2)&255)<<16;case 2:n^=(t.charCodeAt(a+1)&255)<<8;case 1:n^=t.charCodeAt(a)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var zC={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},NC=/[A-Z]|^ms/g,UC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Qb=function(n){return n.charCodeAt(1)===45},O1=function(n){return n!=null&&typeof n!="boolean"},oh=Vb(function(t){return Qb(t)?t:t.replace(NC,"-$&").toLowerCase()}),_1=function(n,i){switch(n){case"animation":case"animationName":if(typeof i=="string")return i.replace(UC,function(a,o,s){return Wn={name:o,styles:s,next:Wn},o})}return zC[n]!==1&&!Qb(n)&&typeof i=="number"&&i!==0?i+"px":i};function zo(t,n,i){if(i==null)return"";var a=i;if(a.__emotion_styles!==void 0)return a;switch(typeof i){case"boolean":return"";case"object":{var o=i;if(o.anim===1)return Wn={name:o.name,styles:o.styles,next:Wn},o.name;var s=i;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)Wn={name:c.name,styles:c.styles,next:Wn},c=c.next;var f=s.styles+";";return f}return jC(t,n,i)}case"function":{if(t!==void 0){var m=Wn,h=i(t);return Wn=m,zo(t,n,h)}break}}var y=i;if(n==null)return y;var p=n[y];return p!==void 0?p:y}function jC(t,n,i){var a="";if(Array.isArray(i))for(var o=0;o<i.length;o++)a+=zo(t,n,i[o])+";";else for(var s in i){var c=i[s];if(typeof c!="object"){var f=c;n!=null&&n[f]!==void 0?a+=s+"{"+n[f]+"}":O1(f)&&(a+=oh(s)+":"+_1(s,f)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(n==null||n[c[0]]===void 0))for(var m=0;m<c.length;m++)O1(c[m])&&(a+=oh(s)+":"+_1(s,c[m])+";");else{var h=zo(t,n,c);switch(s){case"animation":case"animationName":{a+=oh(s)+":"+h+";";break}default:a+=s+"{"+h+"}"}}}return a}var R1=/label:\s*([^\s;{]+)\s*(;|$)/g,Wn;function uc(t,n,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,o="";Wn=void 0;var s=t[0];if(s==null||s.raw===void 0)a=!1,o+=zo(i,n,s);else{var c=s;o+=c[0]}for(var f=1;f<t.length;f++)if(o+=zo(i,n,t[f]),a){var m=s;o+=m[f]}R1.lastIndex=0;for(var h="",y;(y=R1.exec(o))!==null;)h+="-"+y[1];var p=DC(o)+h;return{name:p,styles:o,next:Wn}}var $C=function(n){return n()},Kb=Bh.useInsertionEffect?Bh.useInsertionEffect:!1,Fb=Kb||$C,k1=Kb||Y.useLayoutEffect,Wb=Y.createContext(typeof HTMLElement<"u"?Pb({key:"css"}):null),BC=Wb.Provider,gm=function(n){return Y.forwardRef(function(i,a){var o=Y.useContext(Wb);return n(i,o,a)})},Io=Y.createContext({}),pm={}.hasOwnProperty,Yh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",LC=function(n,i){var a={};for(var o in i)pm.call(i,o)&&(a[o]=i[o]);return a[Yh]=n,a},HC=function(n){var i=n.cache,a=n.serialized,o=n.isStringTag;return hm(i,a,o),Fb(function(){return mm(i,a,o)}),null},YC=gm(function(t,n,i){var a=t.css;typeof a=="string"&&n.registered[a]!==void 0&&(a=n.registered[a]);var o=t[Yh],s=[a],c="";typeof t.className=="string"?c=Zb(n.registered,s,t.className):t.className!=null&&(c=t.className+" ");var f=uc(s,void 0,Y.useContext(Io));c+=n.key+"-"+f.name;var m={};for(var h in t)pm.call(t,h)&&h!=="css"&&h!==Yh&&(m[h]=t[h]);return m.className=c,i&&(m.ref=i),Y.createElement(Y.Fragment,null,Y.createElement(HC,{cache:n,serialized:f,isStringTag:typeof o=="string"}),Y.createElement(o,m))}),GC=YC,D1=function(n,i){var a=arguments;if(i==null||!pm.call(i,"css"))return Y.createElement.apply(void 0,a);var o=a.length,s=new Array(o);s[0]=GC,s[1]=LC(n,i);for(var c=2;c<o;c++)s[c]=a[c];return Y.createElement.apply(null,s)};(function(t){var n;n||(n=t.JSX||(t.JSX={}))})(D1||(D1={}));var qC=gm(function(t,n){var i=t.styles,a=uc([i],void 0,Y.useContext(Io)),o=Y.useRef();return k1(function(){var s=n.key+"-global",c=new n.sheet.constructor({key:s,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),f=!1,m=document.querySelector('style[data-emotion="'+s+" "+a.name+'"]');return n.sheet.tags.length&&(c.before=n.sheet.tags[0]),m!==null&&(f=!0,m.setAttribute("data-emotion",s),c.hydrate([m])),o.current=[c,f],function(){c.flush()}},[n]),k1(function(){var s=o.current,c=s[0],f=s[1];if(f){s[1]=!1;return}if(a.next!==void 0&&mm(n,a.next,!0),c.tags.length){var m=c.tags[c.tags.length-1].nextElementSibling;c.before=m,c.flush()}n.insert("",a,c,!1)},[n,a.name]),null}),IC=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,VC=Vb(function(t){return IC.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),XC=VC,PC=function(n){return n!=="theme"},z1=function(n){return typeof n=="string"&&n.charCodeAt(0)>96?XC:PC},N1=function(n,i,a){var o;if(i){var s=i.shouldForwardProp;o=n.__emotion_forwardProp&&s?function(c){return n.__emotion_forwardProp(c)&&s(c)}:s}return typeof o!="function"&&a&&(o=n.__emotion_forwardProp),o},ZC=function(n){var i=n.cache,a=n.serialized,o=n.isStringTag;return hm(i,a,o),Fb(function(){return mm(i,a,o)}),null},QC=function t(n,i){var a=n.__emotion_real===n,o=a&&n.__emotion_base||n,s,c;i!==void 0&&(s=i.label,c=i.target);var f=N1(n,i,a),m=f||z1(o),h=!m("as");return function(){var y=arguments,p=a&&n.__emotion_styles!==void 0?n.__emotion_styles.slice(0):[];if(s!==void 0&&p.push("label:"+s+";"),y[0]==null||y[0].raw===void 0)p.push.apply(p,y);else{var v=y[0];p.push(v[0]);for(var b=y.length,S=1;S<b;S++)p.push(y[S],v[S])}var x=gm(function(C,E,k){var O=h&&C.as||o,R="",M=[],_=C;if(C.theme==null){_={};for(var D in C)_[D]=C[D];_.theme=Y.useContext(Io)}typeof C.className=="string"?R=Zb(E.registered,M,C.className):C.className!=null&&(R=C.className+" ");var L=uc(p.concat(M),E.registered,_);R+=E.key+"-"+L.name,c!==void 0&&(R+=" "+c);var $=h&&f===void 0?z1(O):m,T={};for(var N in C)h&&N==="as"||$(N)&&(T[N]=C[N]);return T.className=R,k&&(T.ref=k),Y.createElement(Y.Fragment,null,Y.createElement(ZC,{cache:E,serialized:L,isStringTag:typeof O=="string"}),Y.createElement(O,T))});return x.displayName=s!==void 0?s:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",x.defaultProps=n.defaultProps,x.__emotion_real=x,x.__emotion_base=o,x.__emotion_styles=p,x.__emotion_forwardProp=f,Object.defineProperty(x,"toString",{value:function(){return"."+c}}),x.withComponent=function(C,E){var k=t(C,I({},i,E,{shouldForwardProp:N1(x,E,!0)}));return k.apply(void 0,p)},x}},KC=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Gh=QC.bind(null);KC.forEach(function(t){Gh[t]=Gh(t)});const uh=new Map,FC=(t,n)=>{const i=Pb(t);return i.sheet=new n({key:i.key,nonce:i.sheet.nonce,container:i.sheet.container,speedy:i.sheet.isSpeedy,prepend:i.sheet.prepend,insertionPoint:i.sheet.insertionPoint}),i};let oi;if(typeof document=="object"&&(oi=document.querySelector('[name="emotion-insertion-point"]'),!oi)){oi=document.createElement("meta"),oi.setAttribute("name","emotion-insertion-point"),oi.setAttribute("content","");const t=document.querySelector("head");t&&t.prepend(oi)}function WC(t,n){if(t||n){class i extends Bb{insert(s,c){return this.key&&this.key.endsWith("global")&&(this.before=oi),super.insert(s,c)}}const a=FC({key:"css",insertionPoint:t?oi:void 0},i);if(n){const o=a.insert;a.insert=(...s)=>(s[1].styles.startsWith("@layer")||(s[1].styles=`@layer mui {${s[1].styles}}`),o(...s))}return a}}function JC(t){const{injectFirst:n,enableCssLayer:i,children:a}=t,o=Y.useMemo(()=>{const s=`${n}-${i}`;if(uh.has(s))return uh.get(s);const c=WC(n,i);return uh.set(s,c),c},[n,i]);return o?H.jsx(BC,{value:o,children:a}):a}function tw(t){return t==null||Object.keys(t).length===0}function ew(t){const{styles:n,defaultTheme:i={}}=t,a=typeof n=="function"?o=>n(tw(o)?i:o):n;return H.jsx(qC,{styles:a})}function nw(t,n){return Gh(t,n)}function rw(t,n){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=n(t.__emotion_styles))}const U1=[];function j1(t){return U1[0]=t,uc(U1)}var sh={exports:{}},Vt={};/**
57
+
* @license React
58
+
* react-is.production.js
59
+
*
60
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
61
+
*
62
+
* This source code is licensed under the MIT license found in the
63
+
* LICENSE file in the root directory of this source tree.
64
+
*/var $1;function iw(){if($1)return Vt;$1=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");function S(x){if(typeof x=="object"&&x!==null){var C=x.$$typeof;switch(C){case t:switch(x=x.type,x){case i:case o:case a:case m:case h:case v:return x;default:switch(x=x&&x.$$typeof,x){case c:case f:case p:case y:return x;case s:return x;default:return C}}case n:return C}}}return Vt.ContextConsumer=s,Vt.ContextProvider=c,Vt.Element=t,Vt.ForwardRef=f,Vt.Fragment=i,Vt.Lazy=p,Vt.Memo=y,Vt.Portal=n,Vt.Profiler=o,Vt.StrictMode=a,Vt.Suspense=m,Vt.SuspenseList=h,Vt.isContextConsumer=function(x){return S(x)===s},Vt.isContextProvider=function(x){return S(x)===c},Vt.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},Vt.isForwardRef=function(x){return S(x)===f},Vt.isFragment=function(x){return S(x)===i},Vt.isLazy=function(x){return S(x)===p},Vt.isMemo=function(x){return S(x)===y},Vt.isPortal=function(x){return S(x)===n},Vt.isProfiler=function(x){return S(x)===o},Vt.isStrictMode=function(x){return S(x)===a},Vt.isSuspense=function(x){return S(x)===m},Vt.isSuspenseList=function(x){return S(x)===h},Vt.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===i||x===o||x===a||x===m||x===h||typeof x=="object"&&x!==null&&(x.$$typeof===p||x.$$typeof===y||x.$$typeof===c||x.$$typeof===s||x.$$typeof===f||x.$$typeof===b||x.getModuleId!==void 0)},Vt.typeOf=S,Vt}var B1;function aw(){return B1||(B1=1,sh.exports=iw()),sh.exports}var Jb=aw();function Jn(t){if(typeof t!="object"||t===null)return!1;const n=Object.getPrototypeOf(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function tx(t){if(Y.isValidElement(t)||Jb.isValidElementType(t)||!Jn(t))return t;const n={};return Object.keys(t).forEach(i=>{n[i]=tx(t[i])}),n}function dn(t,n,i={clone:!0}){const a=i.clone?{...t}:t;return Jn(t)&&Jn(n)&&Object.keys(n).forEach(o=>{Y.isValidElement(n[o])||Jb.isValidElementType(n[o])?a[o]=n[o]:Jn(n[o])&&Object.prototype.hasOwnProperty.call(t,o)&&Jn(t[o])?a[o]=dn(t[o],n[o],i):i.clone?a[o]=Jn(n[o])?tx(n[o]):n[o]:a[o]=n[o]}),a}const lw=t=>{const n=Object.keys(t).map(i=>({key:i,val:t[i]}))||[];return n.sort((i,a)=>i.val-a.val),n.reduce((i,a)=>({...i,[a.key]:a.val}),{})};function ow(t){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:a=5,...o}=t,s=lw(n),c=Object.keys(s);function f(v){return`@media (min-width:${typeof n[v]=="number"?n[v]:v}${i})`}function m(v){return`@media (max-width:${(typeof n[v]=="number"?n[v]:v)-a/100}${i})`}function h(v,b){const S=c.indexOf(b);return`@media (min-width:${typeof n[v]=="number"?n[v]:v}${i}) and (max-width:${(S!==-1&&typeof n[c[S]]=="number"?n[c[S]]:b)-a/100}${i})`}function y(v){return c.indexOf(v)+1<c.length?h(v,c[c.indexOf(v)+1]):f(v)}function p(v){const b=c.indexOf(v);return b===0?f(c[1]):b===c.length-1?m(c[b]):h(v,c[c.indexOf(v)+1]).replace("@media","@media not all and")}return{keys:c,values:s,up:f,down:m,between:h,only:y,not:p,unit:i,...o}}function uw(t,n){if(!t.containerQueries)return n;const i=Object.keys(n).filter(a=>a.startsWith("@container")).sort((a,o)=>{var c,f;const s=/min-width:\s*([0-9.]+)/;return+(((c=a.match(s))==null?void 0:c[1])||0)-+(((f=o.match(s))==null?void 0:f[1])||0)});return i.length?i.reduce((a,o)=>{const s=n[o];return delete a[o],a[o]=s,a},{...n}):n}function sw(t,n){return n==="@"||n.startsWith("@")&&(t.some(i=>n.startsWith(`@${i}`))||!!n.match(/^@\d/))}function cw(t,n){const i=n.match(/^@([^/]+)?\/?(.+)?$/);if(!i)return null;const[,a,o]=i,s=Number.isNaN(+a)?a||0:+a;return t.containerQueries(o).up(s)}function fw(t){const n=(s,c)=>s.replace("@media",c?`@container ${c}`:"@container");function i(s,c){s.up=(...f)=>n(t.breakpoints.up(...f),c),s.down=(...f)=>n(t.breakpoints.down(...f),c),s.between=(...f)=>n(t.breakpoints.between(...f),c),s.only=(...f)=>n(t.breakpoints.only(...f),c),s.not=(...f)=>{const m=n(t.breakpoints.not(...f),c);return m.includes("not all and")?m.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):m}}const a={},o=s=>(i(a,s),a);return i(o),{...t,containerQueries:o}}const dw={borderRadius:4};function Oo(t,n){return n?dn(t,n,{clone:!1}):t}const sc={xs:0,sm:600,md:900,lg:1200,xl:1536},L1={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${sc[t]}px)`},hw={containerQueries:t=>({up:n=>{let i=typeof n=="number"?n:sc[n]||n;return typeof i=="number"&&(i=`${i}px`),t?`@container ${t} (min-width:${i})`:`@container (min-width:${i})`}})};function Rr(t,n,i){const a=t.theme||{};if(Array.isArray(n)){const s=a.breakpoints||L1;return n.reduce((c,f,m)=>(c[s.up(s.keys[m])]=i(n[m]),c),{})}if(typeof n=="object"){const s=a.breakpoints||L1;return Object.keys(n).reduce((c,f)=>{if(sw(s.keys,f)){const m=cw(a.containerQueries?a:hw,f);m&&(c[m]=i(n[f],f))}else if(Object.keys(s.values||sc).includes(f)){const m=s.up(f);c[m]=i(n[f],f)}else{const m=f;c[m]=n[m]}return c},{})}return i(n)}function mw(t={}){var i;return((i=t.keys)==null?void 0:i.reduce((a,o)=>{const s=t.up(o);return a[s]={},a},{}))||{}}function gw(t,n){return t.reduce((i,a)=>{const o=i[a];return(!o||Object.keys(o).length===0)&&delete i[a],i},n)}function No(t){if(typeof t!="string")throw new Error(ji(7));return t.charAt(0).toUpperCase()+t.slice(1)}function cc(t,n,i=!0){if(!n||typeof n!="string")return null;if(t&&t.vars&&i){const a=`vars.${n}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,t);if(a!=null)return a}return n.split(".").reduce((a,o)=>a&&a[o]!=null?a[o]:null,t)}function js(t,n,i,a=i){let o;return typeof t=="function"?o=t(i):Array.isArray(t)?o=t[i]||a:o=cc(t,i)||a,n&&(o=n(o,a,t)),o}function de(t){const{prop:n,cssProperty:i=t.prop,themeKey:a,transform:o}=t,s=c=>{if(c[n]==null)return null;const f=c[n],m=c.theme,h=cc(m,a)||{};return Rr(c,f,p=>{let v=js(h,o,p);return p===v&&typeof p=="string"&&(v=js(h,o,`${n}${p==="default"?"":No(p)}`,p)),i===!1?v:{[i]:v}})};return s.propTypes={},s.filterProps=[n],s}function pw(t){const n={};return i=>(n[i]===void 0&&(n[i]=t(i)),n[i])}const yw={m:"margin",p:"padding"},vw={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},H1={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},bw=pw(t=>{if(t.length>2)if(H1[t])t=H1[t];else return[t];const[n,i]=t.split(""),a=yw[n],o=vw[i]||"";return Array.isArray(o)?o.map(s=>a+s):[a+o]}),ym=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vm=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ym,...vm];function Vo(t,n,i,a){const o=cc(t,n,!0)??i;return typeof o=="number"||typeof o=="string"?s=>typeof s=="string"?s:typeof o=="string"?o.startsWith("var(")&&s===0?0:o.startsWith("var(")&&s===1?o:`calc(${s} * ${o})`:o*s:Array.isArray(o)?s=>{if(typeof s=="string")return s;const c=Math.abs(s),f=o[c];return s>=0?f:typeof f=="number"?-f:typeof f=="string"&&f.startsWith("var(")?`calc(-1 * ${f})`:`-${f}`}:typeof o=="function"?o:()=>{}}function bm(t){return Vo(t,"spacing",8)}function Xo(t,n){return typeof n=="string"||n==null?n:t(n)}function xw(t,n){return i=>t.reduce((a,o)=>(a[o]=Xo(n,i),a),{})}function Sw(t,n,i,a){if(!n.includes(i))return null;const o=bw(i),s=xw(o,a),c=t[i];return Rr(t,c,s)}function ex(t,n){const i=bm(t.theme);return Object.keys(t).map(a=>Sw(t,n,a,i)).reduce(Oo,{})}function oe(t){return ex(t,ym)}oe.propTypes={};oe.filterProps=ym;function ue(t){return ex(t,vm)}ue.propTypes={};ue.filterProps=vm;function nx(t=8,n=bm({spacing:t})){if(t.mui)return t;const i=(...a)=>(a.length===0?[1]:a).map(s=>{const c=n(s);return typeof c=="number"?`${c}px`:c}).join(" ");return i.mui=!0,i}function fc(...t){const n=t.reduce((a,o)=>(o.filterProps.forEach(s=>{a[s]=o}),a),{}),i=a=>Object.keys(a).reduce((o,s)=>n[s]?Oo(o,n[s](a)):o,{});return i.propTypes={},i.filterProps=t.reduce((a,o)=>a.concat(o.filterProps),[]),i}function wn(t){return typeof t!="number"?t:`${t}px solid`}function Dn(t,n){return de({prop:t,themeKey:"borders",transform:n})}const Aw=Dn("border",wn),Tw=Dn("borderTop",wn),Cw=Dn("borderRight",wn),ww=Dn("borderBottom",wn),Mw=Dn("borderLeft",wn),Ew=Dn("borderColor"),Ow=Dn("borderTopColor"),_w=Dn("borderRightColor"),Rw=Dn("borderBottomColor"),kw=Dn("borderLeftColor"),Dw=Dn("outline",wn),zw=Dn("outlineColor"),dc=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const n=Vo(t.theme,"shape.borderRadius",4),i=a=>({borderRadius:Xo(n,a)});return Rr(t,t.borderRadius,i)}return null};dc.propTypes={};dc.filterProps=["borderRadius"];fc(Aw,Tw,Cw,ww,Mw,Ew,Ow,_w,Rw,kw,dc,Dw,zw);const hc=t=>{if(t.gap!==void 0&&t.gap!==null){const n=Vo(t.theme,"spacing",8),i=a=>({gap:Xo(n,a)});return Rr(t,t.gap,i)}return null};hc.propTypes={};hc.filterProps=["gap"];const mc=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const n=Vo(t.theme,"spacing",8),i=a=>({columnGap:Xo(n,a)});return Rr(t,t.columnGap,i)}return null};mc.propTypes={};mc.filterProps=["columnGap"];const gc=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const n=Vo(t.theme,"spacing",8),i=a=>({rowGap:Xo(n,a)});return Rr(t,t.rowGap,i)}return null};gc.propTypes={};gc.filterProps=["rowGap"];const Nw=de({prop:"gridColumn"}),Uw=de({prop:"gridRow"}),jw=de({prop:"gridAutoFlow"}),$w=de({prop:"gridAutoColumns"}),Bw=de({prop:"gridAutoRows"}),Lw=de({prop:"gridTemplateColumns"}),Hw=de({prop:"gridTemplateRows"}),Yw=de({prop:"gridTemplateAreas"}),Gw=de({prop:"gridArea"});fc(hc,mc,gc,Nw,Uw,jw,$w,Bw,Lw,Hw,Yw,Gw);function Pa(t,n){return n==="grey"?n:t}const qw=de({prop:"color",themeKey:"palette",transform:Pa}),Iw=de({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Pa}),Vw=de({prop:"backgroundColor",themeKey:"palette",transform:Pa});fc(qw,Iw,Vw);function cn(t){return t<=1&&t!==0?`${t*100}%`:t}const Xw=de({prop:"width",transform:cn}),xm=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const n=i=>{var o,s,c,f,m;const a=((c=(s=(o=t.theme)==null?void 0:o.breakpoints)==null?void 0:s.values)==null?void 0:c[i])||sc[i];return a?((m=(f=t.theme)==null?void 0:f.breakpoints)==null?void 0:m.unit)!=="px"?{maxWidth:`${a}${t.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:cn(i)}};return Rr(t,t.maxWidth,n)}return null};xm.filterProps=["maxWidth"];const Pw=de({prop:"minWidth",transform:cn}),Zw=de({prop:"height",transform:cn}),Qw=de({prop:"maxHeight",transform:cn}),Kw=de({prop:"minHeight",transform:cn});de({prop:"size",cssProperty:"width",transform:cn});de({prop:"size",cssProperty:"height",transform:cn});const Fw=de({prop:"boxSizing"});fc(Xw,xm,Pw,Zw,Qw,Kw,Fw);const Po={border:{themeKey:"borders",transform:wn},borderTop:{themeKey:"borders",transform:wn},borderRight:{themeKey:"borders",transform:wn},borderBottom:{themeKey:"borders",transform:wn},borderLeft:{themeKey:"borders",transform:wn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:wn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:dc},color:{themeKey:"palette",transform:Pa},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Pa},backgroundColor:{themeKey:"palette",transform:Pa},p:{style:ue},pt:{style:ue},pr:{style:ue},pb:{style:ue},pl:{style:ue},px:{style:ue},py:{style:ue},padding:{style:ue},paddingTop:{style:ue},paddingRight:{style:ue},paddingBottom:{style:ue},paddingLeft:{style:ue},paddingX:{style:ue},paddingY:{style:ue},paddingInline:{style:ue},paddingInlineStart:{style:ue},paddingInlineEnd:{style:ue},paddingBlock:{style:ue},paddingBlockStart:{style:ue},paddingBlockEnd:{style:ue},m:{style:oe},mt:{style:oe},mr:{style:oe},mb:{style:oe},ml:{style:oe},mx:{style:oe},my:{style:oe},margin:{style:oe},marginTop:{style:oe},marginRight:{style:oe},marginBottom:{style:oe},marginLeft:{style:oe},marginX:{style:oe},marginY:{style:oe},marginInline:{style:oe},marginInlineStart:{style:oe},marginInlineEnd:{style:oe},marginBlock:{style:oe},marginBlockStart:{style:oe},marginBlockEnd:{style:oe},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hc},rowGap:{style:gc},columnGap:{style:mc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:cn},maxWidth:{style:xm},minWidth:{transform:cn},height:{transform:cn},maxHeight:{transform:cn},minHeight:{transform:cn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Ww(...t){const n=t.reduce((a,o)=>a.concat(Object.keys(o)),[]),i=new Set(n);return t.every(a=>i.size===Object.keys(a).length)}function Jw(t,n){return typeof t=="function"?t(n):t}function tM(){function t(i,a,o,s){const c={[i]:a,theme:o},f=s[i];if(!f)return{[i]:a};const{cssProperty:m=i,themeKey:h,transform:y,style:p}=f;if(a==null)return null;if(h==="typography"&&a==="inherit")return{[i]:a};const v=cc(o,h)||{};return p?p(c):Rr(c,a,S=>{let x=js(v,y,S);return S===x&&typeof S=="string"&&(x=js(v,y,`${i}${S==="default"?"":No(S)}`,S)),m===!1?x:{[m]:x}})}function n(i){const{sx:a,theme:o={}}=i||{};if(!a)return null;const s=o.unstable_sxConfig??Po;function c(f){let m=f;if(typeof f=="function")m=f(o);else if(typeof f!="object")return f;if(!m)return null;const h=mw(o.breakpoints),y=Object.keys(h);let p=h;return Object.keys(m).forEach(v=>{const b=Jw(m[v],o);if(b!=null)if(typeof b=="object")if(s[v])p=Oo(p,t(v,b,o,s));else{const S=Rr({theme:o},b,x=>({[v]:x}));Ww(S,b)?p[v]=n({sx:b,theme:o}):p=Oo(p,S)}else p=Oo(p,t(v,b,o,s))}),uw(o,gw(y,p))}return Array.isArray(a)?a.map(c):c(a)}return n}const $i=tM();$i.filterProps=["sx"];function eM(t,n){var a;const i=this;if(i.vars){if(!((a=i.colorSchemes)!=null&&a[t])||typeof i.getColorSchemeSelector!="function")return{};let o=i.getColorSchemeSelector(t);return o==="&"?n:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:n})}return i.palette.mode===t?n:{}}function Sm(t={},...n){const{breakpoints:i={},palette:a={},spacing:o,shape:s={},...c}=t,f=ow(i),m=nx(o);let h=dn({breakpoints:f,direction:"ltr",components:{},palette:{mode:"light",...a},spacing:m,shape:{...dw,...s}},c);return h=fw(h),h.applyStyles=eM,h=n.reduce((y,p)=>dn(y,p),h),h.unstable_sxConfig={...Po,...c==null?void 0:c.unstable_sxConfig},h.unstable_sx=function(p){return $i({sx:p,theme:this})},h}function nM(t){return Object.keys(t).length===0}function rx(t=null){const n=Y.useContext(Io);return!n||nM(n)?t:n}const rM=Sm();function ix(t=rM){return rx(t)}const iM=t=>{var a;const n={systemProps:{},otherProps:{}},i=((a=t==null?void 0:t.theme)==null?void 0:a.unstable_sxConfig)??Po;return Object.keys(t).forEach(o=>{i[o]?n.systemProps[o]=t[o]:n.otherProps[o]=t[o]}),n};function aM(t){const{sx:n,...i}=t,{systemProps:a,otherProps:o}=iM(i);let s;return Array.isArray(n)?s=[a,...n]:typeof n=="function"?s=(...c)=>{const f=n(...c);return Jn(f)?{...a,...f}:a}:s={...a,...n},{...o,sx:s}}const Y1=t=>t,lM=()=>{let t=Y1;return{configure(n){t=n},generate(n){return t(n)},reset(){t=Y1}}},oM=lM();function ax(t){var n,i,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(i=ax(t[n]))&&(a&&(a+=" "),a+=i)}else for(i in t)t[i]&&(a&&(a+=" "),a+=i);return a}function Mn(){for(var t,n,i=0,a="",o=arguments.length;i<o;i++)(t=arguments[i])&&(n=ax(t))&&(a&&(a+=" "),a+=n);return a}const uM={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function zn(t,n,i="Mui"){const a=uM[n];return a?`${i}-${a}`:`${oM.generate(t)}-${n}`}function qn(t,n,i="Mui"){const a={};return n.forEach(o=>{a[o]=zn(t,o,i)}),a}function lx(t){const{variants:n,...i}=t,a={variants:n,style:j1(i),isProcessed:!0};return a.style===i||n&&n.forEach(o=>{typeof o.style!="function"&&(o.style=j1(o.style))}),a}const sM=Sm();function ch(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function cM(t){return t?(n,i)=>i[t]:null}function fM(t,n,i){t.theme=mM(t.theme)?i:t.theme[n]||t.theme}function Ds(t,n){const i=typeof n=="function"?n(t):n;if(Array.isArray(i))return i.flatMap(a=>Ds(t,a));if(Array.isArray(i==null?void 0:i.variants)){let a;if(i.isProcessed)a=i.style;else{const{variants:o,...s}=i;a=s}return ox(t,i.variants,[a])}return i!=null&&i.isProcessed?i.style:i}function ox(t,n,i=[]){var o;let a;t:for(let s=0;s<n.length;s+=1){const c=n[s];if(typeof c.props=="function"){if(a??(a={...t,...t.ownerState,ownerState:t.ownerState}),!c.props(a))continue}else for(const f in c.props)if(t[f]!==c.props[f]&&((o=t.ownerState)==null?void 0:o[f])!==c.props[f])continue t;typeof c.style=="function"?(a??(a={...t,...t.ownerState,ownerState:t.ownerState}),i.push(c.style(a))):i.push(c.style)}return i}function dM(t={}){const{themeId:n,defaultTheme:i=sM,rootShouldForwardProp:a=ch,slotShouldForwardProp:o=ch}=t;function s(f){fM(f,n,i)}return(f,m={})=>{rw(f,M=>M.filter(_=>_!==$i));const{name:h,slot:y,skipVariantsResolver:p,skipSx:v,overridesResolver:b=cM(pM(y)),...S}=m,x=p!==void 0?p:y&&y!=="Root"&&y!=="root"||!1,C=v||!1;let E=ch;y==="Root"||y==="root"?E=a:y?E=o:gM(f)&&(E=void 0);const k=nw(f,{shouldForwardProp:E,label:hM(),...S}),O=M=>{if(typeof M=="function"&&M.__emotion_real!==M)return function(D){return Ds(D,M)};if(Jn(M)){const _=lx(M);return _.variants?function(L){return Ds(L,_)}:_.style}return M},R=(...M)=>{const _=[],D=M.map(O),L=[];if(_.push(s),h&&b&&L.push(function(X){var j,P;const it=(P=(j=X.theme.components)==null?void 0:j[h])==null?void 0:P.styleOverrides;if(!it)return null;const ot={};for(const nt in it)ot[nt]=Ds(X,it[nt]);return b(X,ot)}),h&&!x&&L.push(function(X){var ot,j;const K=X.theme,it=(j=(ot=K==null?void 0:K.components)==null?void 0:ot[h])==null?void 0:j.variants;return it?ox(X,it):null}),C||L.push($i),Array.isArray(D[0])){const N=D.shift(),X=new Array(_.length).fill(""),K=new Array(L.length).fill("");let it;it=[...X,...N,...K],it.raw=[...X,...N.raw,...K],_.unshift(it)}const $=[..._,...D,...L],T=k(...$);return f.muiName&&(T.muiName=f.muiName),T};return k.withConfig&&(R.withConfig=k.withConfig),R}}function hM(t,n){return void 0}function mM(t){for(const n in t)return!1;return!0}function gM(t){return typeof t=="string"&&t.charCodeAt(0)>96}function pM(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}function Fa(t,n){const i={...n};for(const a in t)if(Object.prototype.hasOwnProperty.call(t,a)){const o=a;if(o==="components"||o==="slots")i[o]={...t[o],...i[o]};else if(o==="componentsProps"||o==="slotProps"){const s=t[o],c=n[o];if(!c)i[o]=s||{};else if(!s)i[o]=c;else{i[o]={...c};for(const f in s)if(Object.prototype.hasOwnProperty.call(s,f)){const m=f;i[o][m]=Fa(s[m],c[m])}}}else i[o]===void 0&&(i[o]=t[o])}return i}function yM(t){const{theme:n,name:i,props:a}=t;return!n||!n.components||!n.components[i]||!n.components[i].defaultProps?a:Fa(n.components[i].defaultProps,a)}function vM({props:t,name:n,defaultTheme:i,themeId:a}){let o=ix(i);return o=o[a]||o,yM({theme:o,name:n,props:t})}const Ye=typeof window<"u"?Y.useLayoutEffect:Y.useEffect;function bM(t,n=Number.MIN_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER){return Math.max(n,Math.min(t,i))}function Am(t,n=0,i=1){return bM(t,n,i)}function xM(t){t=t.slice(1);const n=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let i=t.match(n);return i&&i[0].length===1&&(i=i.map(a=>a+a)),i?`rgb${i.length===4?"a":""}(${i.map((a,o)=>o<3?parseInt(a,16):Math.round(parseInt(a,16)/255*1e3)/1e3).join(", ")})`:""}function si(t){if(t.type)return t;if(t.charAt(0)==="#")return si(xM(t));const n=t.indexOf("("),i=t.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(ji(9,t));let a=t.substring(n+1,t.length-1),o;if(i==="color"){if(a=a.split(" "),o=a.shift(),a.length===4&&a[3].charAt(0)==="/"&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(ji(10,o))}else a=a.split(",");return a=a.map(s=>parseFloat(s)),{type:i,values:a,colorSpace:o}}const SM=t=>{const n=si(t);return n.values.slice(0,3).map((i,a)=>n.type.includes("hsl")&&a!==0?`${i}%`:i).join(" ")},To=(t,n)=>{try{return SM(t)}catch{return t}};function pc(t){const{type:n,colorSpace:i}=t;let{values:a}=t;return n.includes("rgb")?a=a.map((o,s)=>s<3?parseInt(o,10):o):n.includes("hsl")&&(a[1]=`${a[1]}%`,a[2]=`${a[2]}%`),n.includes("color")?a=`${i} ${a.join(" ")}`:a=`${a.join(", ")}`,`${n}(${a})`}function ux(t){t=si(t);const{values:n}=t,i=n[0],a=n[1]/100,o=n[2]/100,s=a*Math.min(o,1-o),c=(h,y=(h+i/30)%12)=>o-s*Math.max(Math.min(y-3,9-y,1),-1);let f="rgb";const m=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(f+="a",m.push(n[3])),pc({type:f,values:m})}function qh(t){t=si(t);let n=t.type==="hsl"||t.type==="hsla"?si(ux(t)).values:t.values;return n=n.map(i=>(t.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4)),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function AM(t,n){const i=qh(t),a=qh(n);return(Math.max(i,a)+.05)/(Math.min(i,a)+.05)}function TM(t,n){return t=si(t),n=Am(n),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${n}`:t.values[3]=n,pc(t)}function ys(t,n,i){try{return TM(t,n)}catch{return t}}function Tm(t,n){if(t=si(t),n=Am(n),t.type.includes("hsl"))t.values[2]*=1-n;else if(t.type.includes("rgb")||t.type.includes("color"))for(let i=0;i<3;i+=1)t.values[i]*=1-n;return pc(t)}function Pt(t,n,i){try{return Tm(t,n)}catch{return t}}function Cm(t,n){if(t=si(t),n=Am(n),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*n;else if(t.type.includes("rgb"))for(let i=0;i<3;i+=1)t.values[i]+=(255-t.values[i])*n;else if(t.type.includes("color"))for(let i=0;i<3;i+=1)t.values[i]+=(1-t.values[i])*n;return pc(t)}function Zt(t,n,i){try{return Cm(t,n)}catch{return t}}function CM(t,n=.15){return qh(t)>.5?Tm(t,n):Cm(t,n)}function vs(t,n,i){try{return CM(t,n)}catch{return t}}const sx=Y.createContext(null);function wm(){return Y.useContext(sx)}const wM=typeof Symbol=="function"&&Symbol.for,MM=wM?Symbol.for("mui.nested"):"__THEME_NESTED__";function EM(t,n){return typeof n=="function"?n(t):{...t,...n}}function OM(t){const{children:n,theme:i}=t,a=wm(),o=Y.useMemo(()=>{const s=a===null?{...i}:EM(a,i);return s!=null&&(s[MM]=a!==null),s},[i,a]);return H.jsx(sx.Provider,{value:o,children:n})}const cx=Y.createContext();function _M({value:t,...n}){return H.jsx(cx.Provider,{value:t??!0,...n})}const Mm=()=>Y.useContext(cx)??!1,fx=Y.createContext(void 0);function RM({value:t,children:n}){return H.jsx(fx.Provider,{value:t,children:n})}function kM(t){const{theme:n,name:i,props:a}=t;if(!n||!n.components||!n.components[i])return a;const o=n.components[i];return o.defaultProps?Fa(o.defaultProps,a):!o.styleOverrides&&!o.variants?Fa(o,a):a}function DM({props:t,name:n}){const i=Y.useContext(fx);return kM({props:t,name:n,theme:{components:i}})}const G1={};function q1(t,n,i,a=!1){return Y.useMemo(()=>{const o=t&&n[t]||n;if(typeof i=="function"){const s=i(o),c=t?{...n,[t]:s}:s;return a?()=>c:c}return t?{...n,[t]:i}:{...n,...i}},[t,n,i,a])}function dx(t){const{children:n,theme:i,themeId:a}=t,o=rx(G1),s=wm()||G1,c=q1(a,o,i),f=q1(a,s,i,!0),m=(a?c[a]:c).direction==="rtl";return H.jsx(OM,{theme:f,children:H.jsx(Io.Provider,{value:c,children:H.jsx(_M,{value:m,children:H.jsx(RM,{value:a?c[a].components:c.components,children:n})})})})}const I1={theme:void 0};function zM(t){let n,i;return function(o){let s=n;return(s===void 0||o.theme!==i)&&(I1.theme=o.theme,s=lx(t(I1)),n=s,i=o.theme),s}}const Em="mode",Om="color-scheme",NM="data-color-scheme";function UM(t){const{defaultMode:n="system",defaultLightColorScheme:i="light",defaultDarkColorScheme:a="dark",modeStorageKey:o=Em,colorSchemeStorageKey:s=Om,attribute:c=NM,colorSchemeNode:f="document.documentElement",nonce:m}=t||{};let h="",y=c;if(c==="class"&&(y=".%s"),c==="data"&&(y="[data-%s]"),y.startsWith(".")){const v=y.substring(1);h+=`${f}.classList.remove('${v}'.replace('%s', light), '${v}'.replace('%s', dark));
65
+
${f}.classList.add('${v}'.replace('%s', colorScheme));`}const p=y.match(/\[([^\]]+)\]/);if(p){const[v,b]=p[1].split("=");b||(h+=`${f}.removeAttribute('${v}'.replace('%s', light));
66
+
${f}.removeAttribute('${v}'.replace('%s', dark));`),h+=`
67
+
${f}.setAttribute('${v}'.replace('%s', colorScheme), ${b?`${b}.replace('%s', colorScheme)`:'""'});`}else h+=`${f}.setAttribute('${y}', colorScheme);`;return H.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(function() {
68
+
try {
69
+
let colorScheme = '';
70
+
const mode = localStorage.getItem('${o}') || '${n}';
71
+
const dark = localStorage.getItem('${s}-dark') || '${a}';
72
+
const light = localStorage.getItem('${s}-light') || '${i}';
73
+
if (mode === 'system') {
74
+
// handle system mode
75
+
const mql = window.matchMedia('(prefers-color-scheme: dark)');
76
+
if (mql.matches) {
77
+
colorScheme = dark
78
+
} else {
79
+
colorScheme = light
80
+
}
81
+
}
82
+
if (mode === 'light') {
83
+
colorScheme = light;
84
+
}
85
+
if (mode === 'dark') {
86
+
colorScheme = dark;
87
+
}
88
+
if (colorScheme) {
89
+
${h}
90
+
}
91
+
} catch(e){}})();`}},"mui-color-scheme-init")}function jM(){}const $M=({key:t,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(i){if(typeof window>"u")return;if(!n)return i;let a;try{a=n.localStorage.getItem(t)}catch{}return a||i},set:i=>{if(n)try{n.localStorage.setItem(t,i)}catch{}},subscribe:i=>{if(!n)return jM;const a=o=>{const s=o.newValue;o.key===t&&i(s)};return n.addEventListener("storage",a),()=>{n.removeEventListener("storage",a)}}});function fh(){}function V1(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function hx(t,n){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return n("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return n("dark")}function BM(t){return hx(t,n=>{if(n==="light")return t.lightColorScheme;if(n==="dark")return t.darkColorScheme})}function LM(t){const{defaultMode:n="light",defaultLightColorScheme:i,defaultDarkColorScheme:a,supportedColorSchemes:o=[],modeStorageKey:s=Em,colorSchemeStorageKey:c=Om,storageWindow:f=typeof window>"u"?void 0:window,storageManager:m=$M,noSsr:h=!1}=t,y=o.join(","),p=o.length>1,v=Y.useMemo(()=>m==null?void 0:m({key:s,storageWindow:f}),[m,s,f]),b=Y.useMemo(()=>m==null?void 0:m({key:`${c}-light`,storageWindow:f}),[m,c,f]),S=Y.useMemo(()=>m==null?void 0:m({key:`${c}-dark`,storageWindow:f}),[m,c,f]),[x,C]=Y.useState(()=>{const L=(v==null?void 0:v.get(n))||n,$=(b==null?void 0:b.get(i))||i,T=(S==null?void 0:S.get(a))||a;return{mode:L,systemMode:V1(L),lightColorScheme:$,darkColorScheme:T}}),[E,k]=Y.useState(h||!p);Y.useEffect(()=>{k(!0)},[]);const O=BM(x),R=Y.useCallback(L=>{C($=>{if(L===$.mode)return $;const T=L??n;return v==null||v.set(T),{...$,mode:T,systemMode:V1(T)}})},[v,n]),M=Y.useCallback(L=>{L?typeof L=="string"?L&&!y.includes(L)?console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`):C($=>{const T={...$};return hx($,N=>{N==="light"&&(b==null||b.set(L),T.lightColorScheme=L),N==="dark"&&(S==null||S.set(L),T.darkColorScheme=L)}),T}):C($=>{const T={...$},N=L.light===null?i:L.light,X=L.dark===null?a:L.dark;return N&&(y.includes(N)?(T.lightColorScheme=N,b==null||b.set(N)):console.error(`\`${N}\` does not exist in \`theme.colorSchemes\`.`)),X&&(y.includes(X)?(T.darkColorScheme=X,S==null||S.set(X)):console.error(`\`${X}\` does not exist in \`theme.colorSchemes\`.`)),T}):C($=>(b==null||b.set(i),S==null||S.set(a),{...$,lightColorScheme:i,darkColorScheme:a}))},[y,b,S,i,a]),_=Y.useCallback(L=>{x.mode==="system"&&C($=>{const T=L!=null&&L.matches?"dark":"light";return $.systemMode===T?$:{...$,systemMode:T}})},[x.mode]),D=Y.useRef(_);return D.current=_,Y.useEffect(()=>{if(typeof window.matchMedia!="function"||!p)return;const L=(...T)=>D.current(...T),$=window.matchMedia("(prefers-color-scheme: dark)");return $.addListener(L),L($),()=>{$.removeListener(L)}},[p]),Y.useEffect(()=>{if(p){const L=(v==null?void 0:v.subscribe(N=>{(!N||["light","dark","system"].includes(N))&&R(N||n)}))||fh,$=(b==null?void 0:b.subscribe(N=>{(!N||y.match(N))&&M({light:N})}))||fh,T=(S==null?void 0:S.subscribe(N=>{(!N||y.match(N))&&M({dark:N})}))||fh;return()=>{L(),$(),T()}}},[M,R,y,n,f,p,v,b,S]),{...x,mode:E?x.mode:void 0,systemMode:E?x.systemMode:void 0,colorScheme:E?O:void 0,setMode:R,setColorScheme:M}}const HM="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function YM(t){const{themeId:n,theme:i={},modeStorageKey:a=Em,colorSchemeStorageKey:o=Om,disableTransitionOnChange:s=!1,defaultColorScheme:c,resolveTheme:f}=t,m={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},h=Y.createContext(void 0),y=()=>Y.useContext(h)||m,p={},v={};function b(E){var Ge,te,_e,Te;const{children:k,theme:O,modeStorageKey:R=a,colorSchemeStorageKey:M=o,disableTransitionOnChange:_=s,storageManager:D,storageWindow:L=typeof window>"u"?void 0:window,documentNode:$=typeof document>"u"?void 0:document,colorSchemeNode:T=typeof document>"u"?void 0:document.documentElement,disableNestedContext:N=!1,disableStyleSheetGeneration:X=!1,defaultMode:K="system",forceThemeRerender:it=!1,noSsr:ot}=E,j=Y.useRef(!1),P=wm(),nt=Y.useContext(h),ut=!!nt&&!N,z=Y.useMemo(()=>O||(typeof i=="function"?i():i),[O]),F=z[n],at=F||z,{colorSchemes:lt=p,components:ct=v,cssVarPrefix:yt}=at,dt=Object.keys(lt).filter(Ne=>!!lt[Ne]).join(","),gt=Y.useMemo(()=>dt.split(","),[dt]),mt=typeof c=="string"?c:c.light,st=typeof c=="string"?c:c.dark,xt=lt[mt]&<[st]?K:((te=(Ge=lt[at.defaultColorScheme])==null?void 0:Ge.palette)==null?void 0:te.mode)||((_e=at.palette)==null?void 0:_e.mode),{mode:bt,setMode:rt,systemMode:Rt,lightColorScheme:vt,darkColorScheme:Bt,colorScheme:Wt,setColorScheme:Yt}=LM({supportedColorSchemes:gt,defaultLightColorScheme:mt,defaultDarkColorScheme:st,modeStorageKey:R,colorSchemeStorageKey:M,defaultMode:xt,storageManager:D,storageWindow:L,noSsr:ot});let Ae=bt,se=Wt;ut&&(Ae=nt.mode,se=nt.colorScheme);let me=se||at.defaultColorScheme;at.vars&&!it&&(me=at.defaultColorScheme);const Kt=Y.useMemo(()=>{var lr;const Ne=((lr=at.generateThemeVars)==null?void 0:lr.call(at))||at.vars,re={...at,components:ct,colorSchemes:lt,cssVarPrefix:yt,vars:Ne};if(typeof re.generateSpacing=="function"&&(re.spacing=re.generateSpacing()),me){const qe=lt[me];qe&&typeof qe=="object"&&Object.keys(qe).forEach(Ue=>{qe[Ue]&&typeof qe[Ue]=="object"?re[Ue]={...re[Ue],...qe[Ue]}:re[Ue]=qe[Ue]})}return f?f(re):re},[at,me,ct,lt,yt]),Xe=at.colorSchemeSelector;Ye(()=>{if(se&&T&&Xe&&Xe!=="media"){const Ne=Xe;let re=Xe;if(Ne==="class"&&(re=".%s"),Ne==="data"&&(re="[data-%s]"),Ne!=null&&Ne.startsWith("data-")&&!Ne.includes("%s")&&(re=`[${Ne}="%s"]`),re.startsWith("."))T.classList.remove(...gt.map(lr=>re.substring(1).replace("%s",lr))),T.classList.add(re.substring(1).replace("%s",se));else{const lr=re.replace("%s",se).match(/\[([^\]]+)\]/);if(lr){const[qe,Ue]=lr[1].split("=");Ue||gt.forEach(or=>{T.removeAttribute(qe.replace(se,or))}),T.setAttribute(qe,Ue?Ue.replace(/"|'/g,""):"")}else T.setAttribute(re,se)}}},[se,Xe,T,gt]),Y.useEffect(()=>{let Ne;if(_&&j.current&&$){const re=$.createElement("style");re.appendChild($.createTextNode(HM)),$.head.appendChild(re),window.getComputedStyle($.body),Ne=setTimeout(()=>{$.head.removeChild(re)},1)}return()=>{clearTimeout(Ne)}},[se,_,$]),Y.useEffect(()=>(j.current=!0,()=>{j.current=!1}),[]);const mn=Y.useMemo(()=>({allColorSchemes:gt,colorScheme:se,darkColorScheme:Bt,lightColorScheme:vt,mode:Ae,setColorScheme:Yt,setMode:rt,systemMode:Rt}),[gt,se,Bt,vt,Ae,Yt,rt,Rt,Kt.colorSchemeSelector]);let gn=!0;(X||at.cssVariables===!1||ut&&(P==null?void 0:P.cssVarPrefix)===yt)&&(gn=!1);const Un=H.jsxs(Y.Fragment,{children:[H.jsx(dx,{themeId:F?n:void 0,theme:Kt,children:k}),gn&&H.jsx(ew,{styles:((Te=Kt.generateStyleSheets)==null?void 0:Te.call(Kt))||[]})]});return ut?Un:H.jsx(h.Provider,{value:mn,children:Un})}const S=typeof c=="string"?c:c.light,x=typeof c=="string"?c:c.dark;return{CssVarsProvider:b,useColorScheme:y,getInitColorSchemeScript:E=>UM({colorSchemeStorageKey:o,defaultLightColorScheme:S,defaultDarkColorScheme:x,modeStorageKey:a,...E})}}function GM(t=""){function n(...a){if(!a.length)return"";const o=a[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${o}${n(...a.slice(1))})`:`, ${o}`}return(a,...o)=>`var(--${t?`${t}-`:""}${a}${n(...o)})`}const X1=(t,n,i,a=[])=>{let o=t;n.forEach((s,c)=>{c===n.length-1?Array.isArray(o)?o[Number(s)]=i:o&&typeof o=="object"&&(o[s]=i):o&&typeof o=="object"&&(o[s]||(o[s]=a.includes(s)?[]:{}),o=o[s])})},qM=(t,n,i)=>{function a(o,s=[],c=[]){Object.entries(o).forEach(([f,m])=>{(!i||i&&!i([...s,f]))&&m!=null&&(typeof m=="object"&&Object.keys(m).length>0?a(m,[...s,f],Array.isArray(m)?[...c,f]:c):n([...s,f],m,c))})}a(t)},IM=(t,n)=>typeof n=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(a=>t.includes(a))||t[t.length-1].toLowerCase().includes("opacity")?n:`${n}px`:n;function dh(t,n){const{prefix:i,shouldSkipGeneratingVar:a}=n||{},o={},s={},c={};return qM(t,(f,m,h)=>{if((typeof m=="string"||typeof m=="number")&&(!a||!a(f,m))){const y=`--${i?`${i}-`:""}${f.join("-")}`,p=IM(f,m);Object.assign(o,{[y]:p}),X1(s,f,`var(${y})`,h),X1(c,f,`var(${y}, ${p})`,h)}},f=>f[0]==="vars"),{css:o,vars:s,varsWithDefaults:c}}function VM(t,n={}){const{getSelector:i=C,disableCssColorScheme:a,colorSchemeSelector:o}=n,{colorSchemes:s={},components:c,defaultColorScheme:f="light",...m}=t,{vars:h,css:y,varsWithDefaults:p}=dh(m,n);let v=p;const b={},{[f]:S,...x}=s;if(Object.entries(x||{}).forEach(([O,R])=>{const{vars:M,css:_,varsWithDefaults:D}=dh(R,n);v=dn(v,D),b[O]={css:_,vars:M}}),S){const{css:O,vars:R,varsWithDefaults:M}=dh(S,n);v=dn(v,M),b[f]={css:O,vars:R}}function C(O,R){var _,D;let M=o;if(o==="class"&&(M=".%s"),o==="data"&&(M="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(M=`[${o}="%s"]`),O){if(M==="media")return t.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${((D=(_=s[O])==null?void 0:_.palette)==null?void 0:D.mode)||O})`]:{":root":R}};if(M)return t.defaultColorScheme===O?`:root, ${M.replace("%s",String(O))}`:M.replace("%s",String(O))}return":root"}return{vars:v,generateThemeVars:()=>{let O={...h};return Object.entries(b).forEach(([,{vars:R}])=>{O=dn(O,R)}),O},generateStyleSheets:()=>{var L,$;const O=[],R=t.defaultColorScheme||"light";function M(T,N){Object.keys(N).length&&O.push(typeof T=="string"?{[T]:{...N}}:T)}M(i(void 0,{...y}),y);const{[R]:_,...D}=b;if(_){const{css:T}=_,N=($=(L=s[R])==null?void 0:L.palette)==null?void 0:$.mode,X=!a&&N?{colorScheme:N,...T}:{...T};M(i(R,{...X}),X)}return Object.entries(D).forEach(([T,{css:N}])=>{var it,ot;const X=(ot=(it=s[T])==null?void 0:it.palette)==null?void 0:ot.mode,K=!a&&X?{colorScheme:X,...N}:{...N};M(i(T,{...K}),K)}),O}}}function XM(t){return function(i){return t==="media"?`@media (prefers-color-scheme: ${i})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${i}"] &`:t==="class"?`.${i} &`:t==="data"?`[data-${i}] &`:`${t.replace("%s",i)} &`:"&"}}function Nn(t,n,i=void 0){const a={};for(const o in t){const s=t[o];let c="",f=!0;for(let m=0;m<s.length;m+=1){const h=s[m];h&&(c+=(f===!0?"":" ")+n(h),f=!1,i&&i[h]&&(c+=" "+i[h]))}a[o]=c}return a}const Uo={black:"#000",white:"#fff"},PM={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},za={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Na={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},po={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ua={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},ja={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},$a={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function mx(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Uo.white,default:Uo.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const ZM=mx();function gx(){return{text:{primary:Uo.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Uo.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const P1=gx();function Z1(t,n,i,a){const o=a.light||a,s=a.dark||a*1.5;t[n]||(t.hasOwnProperty(i)?t[n]=t[i]:n==="light"?t.light=Cm(t.main,o):n==="dark"&&(t.dark=Tm(t.main,s)))}function QM(t="light"){return t==="dark"?{main:Ua[200],light:Ua[50],dark:Ua[400]}:{main:Ua[700],light:Ua[400],dark:Ua[800]}}function KM(t="light"){return t==="dark"?{main:za[200],light:za[50],dark:za[400]}:{main:za[500],light:za[300],dark:za[700]}}function FM(t="light"){return t==="dark"?{main:Na[500],light:Na[300],dark:Na[700]}:{main:Na[700],light:Na[400],dark:Na[800]}}function WM(t="light"){return t==="dark"?{main:ja[400],light:ja[300],dark:ja[700]}:{main:ja[700],light:ja[500],dark:ja[900]}}function JM(t="light"){return t==="dark"?{main:$a[400],light:$a[300],dark:$a[700]}:{main:$a[800],light:$a[500],dark:$a[900]}}function tE(t="light"){return t==="dark"?{main:po[400],light:po[300],dark:po[700]}:{main:"#ed6c02",light:po[500],dark:po[900]}}function _m(t){const{mode:n="light",contrastThreshold:i=3,tonalOffset:a=.2,...o}=t,s=t.primary||QM(n),c=t.secondary||KM(n),f=t.error||FM(n),m=t.info||WM(n),h=t.success||JM(n),y=t.warning||tE(n);function p(x){return AM(x,P1.text.primary)>=i?P1.text.primary:ZM.text.primary}const v=({color:x,name:C,mainShade:E=500,lightShade:k=300,darkShade:O=700})=>{if(x={...x},!x.main&&x[E]&&(x.main=x[E]),!x.hasOwnProperty("main"))throw new Error(ji(11,C?` (${C})`:"",E));if(typeof x.main!="string")throw new Error(ji(12,C?` (${C})`:"",JSON.stringify(x.main)));return Z1(x,"light",k,a),Z1(x,"dark",O,a),x.contrastText||(x.contrastText=p(x.main)),x};let b;return n==="light"?b=mx():n==="dark"&&(b=gx()),dn({common:{...Uo},mode:n,primary:v({color:s,name:"primary"}),secondary:v({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:f,name:"error"}),warning:v({color:y,name:"warning"}),info:v({color:m,name:"info"}),success:v({color:h,name:"success"}),grey:PM,contrastThreshold:i,getContrastText:p,augmentColor:v,tonalOffset:a,...b},o)}function eE(t){const n={};return Object.entries(t).forEach(a=>{const[o,s]=a;typeof s=="object"&&(n[o]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),n}function nE(t,n){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...n}}function rE(t){return Math.round(t*1e5)/1e5}const Q1={textTransform:"uppercase"},K1='"Roboto", "Helvetica", "Arial", sans-serif';function px(t,n){const{fontFamily:i=K1,fontSize:a=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:c=500,fontWeightBold:f=700,htmlFontSize:m=16,allVariants:h,pxToRem:y,...p}=typeof n=="function"?n(t):n,v=a/14,b=y||(C=>`${C/m*v}rem`),S=(C,E,k,O,R)=>({fontFamily:i,fontWeight:C,fontSize:b(E),lineHeight:k,...i===K1?{letterSpacing:`${rE(O/E)}em`}:{},...R,...h}),x={h1:S(o,96,1.167,-1.5),h2:S(o,60,1.2,-.5),h3:S(s,48,1.167,0),h4:S(s,34,1.235,.25),h5:S(s,24,1.334,0),h6:S(c,20,1.6,.15),subtitle1:S(s,16,1.75,.15),subtitle2:S(c,14,1.57,.1),body1:S(s,16,1.5,.15),body2:S(s,14,1.43,.15),button:S(c,14,1.75,.4,Q1),caption:S(s,12,1.66,.4),overline:S(s,12,2.66,1,Q1),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return dn({htmlFontSize:m,pxToRem:b,fontFamily:i,fontSize:a,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:c,fontWeightBold:f,...x},p,{clone:!1})}const iE=.2,aE=.14,lE=.12;function ne(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${iE})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${aE})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${lE})`].join(",")}const oE=["none",ne(0,2,1,-1,0,1,1,0,0,1,3,0),ne(0,3,1,-2,0,2,2,0,0,1,5,0),ne(0,3,3,-2,0,3,4,0,0,1,8,0),ne(0,2,4,-1,0,4,5,0,0,1,10,0),ne(0,3,5,-1,0,5,8,0,0,1,14,0),ne(0,3,5,-1,0,6,10,0,0,1,18,0),ne(0,4,5,-2,0,7,10,1,0,2,16,1),ne(0,5,5,-3,0,8,10,1,0,3,14,2),ne(0,5,6,-3,0,9,12,1,0,3,16,2),ne(0,6,6,-3,0,10,14,1,0,4,18,3),ne(0,6,7,-4,0,11,15,1,0,4,20,3),ne(0,7,8,-4,0,12,17,2,0,5,22,4),ne(0,7,8,-4,0,13,19,2,0,5,24,4),ne(0,7,9,-4,0,14,21,2,0,5,26,4),ne(0,8,9,-5,0,15,22,2,0,6,28,5),ne(0,8,10,-5,0,16,24,2,0,6,30,5),ne(0,8,11,-5,0,17,26,2,0,6,32,5),ne(0,9,11,-5,0,18,28,2,0,7,34,6),ne(0,9,12,-6,0,19,29,2,0,7,36,6),ne(0,10,13,-6,0,20,31,3,0,8,38,7),ne(0,10,13,-6,0,21,33,3,0,8,40,7),ne(0,10,14,-6,0,22,35,3,0,8,42,7),ne(0,11,14,-7,0,23,36,3,0,9,44,8),ne(0,11,15,-7,0,24,38,3,0,9,46,8)],uE={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},sE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function F1(t){return`${Math.round(t)}ms`}function cE(t){if(!t)return 0;const n=t/36;return Math.min(Math.round((4+15*n**.25+n/5)*10),3e3)}function fE(t){const n={...uE,...t.easing},i={...sE,...t.duration};return{getAutoHeightDuration:cE,create:(o=["all"],s={})=>{const{duration:c=i.standard,easing:f=n.easeInOut,delay:m=0,...h}=s;return(Array.isArray(o)?o:[o]).map(y=>`${y} ${typeof c=="string"?c:F1(c)} ${f} ${typeof m=="string"?m:F1(m)}`).join(",")},...t,easing:n,duration:i}}const dE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function hE(t){return Jn(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function yx(t={}){const n={...t};function i(a){const o=Object.entries(a);for(let s=0;s<o.length;s++){const[c,f]=o[s];!hE(f)||c.startsWith("unstable_")?delete a[c]:Jn(f)&&(a[c]={...f},i(a[c]))}}return i(n),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
92
+
93
+
const theme = ${JSON.stringify(n,null,2)};
94
+
95
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
96
+
theme.transitions = createTransitions(theme.transitions || {});
97
+
98
+
export default theme;`}function Ih(t={},...n){const{breakpoints:i,mixins:a={},spacing:o,palette:s={},transitions:c={},typography:f={},shape:m,...h}=t;if(t.vars&&t.generateThemeVars===void 0)throw new Error(ji(20));const y=_m(s),p=Sm(t);let v=dn(p,{mixins:nE(p.breakpoints,a),palette:y,shadows:oE.slice(),typography:px(y,f),transitions:fE(c),zIndex:{...dE}});return v=dn(v,h),v=n.reduce((b,S)=>dn(b,S),v),v.unstable_sxConfig={...Po,...h==null?void 0:h.unstable_sxConfig},v.unstable_sx=function(S){return $i({sx:S,theme:this})},v.toRuntimeSource=yx,v}function mE(t){let n;return t<1?n=5.11916*t**2:n=4.5*Math.log(t+1)+2,Math.round(n*10)/1e3}const gE=[...Array(25)].map((t,n)=>{if(n===0)return"none";const i=mE(n);return`linear-gradient(rgba(255 255 255 / ${i}), rgba(255 255 255 / ${i}))`});function vx(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function bx(t){return t==="dark"?gE:[]}function pE(t){const{palette:n={mode:"light"},opacity:i,overlays:a,...o}=t,s=_m(n);return{palette:s,opacity:{...vx(s.mode),...i},overlays:a||bx(s.mode),...o}}function yE(t){var n;return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!((n=t[1])!=null&&n.match(/(mode|contrastThreshold|tonalOffset)/))}const vE=t=>[...[...Array(25)].map((n,i)=>`--${t?`${t}-`:""}overlays-${i}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],bE=t=>(n,i)=>{const a=t.rootSelector||":root",o=t.colorSchemeSelector;let s=o;if(o==="class"&&(s=".%s"),o==="data"&&(s="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(s=`[${o}="%s"]`),t.defaultColorScheme===n){if(n==="dark"){const c={};return vE(t.cssVarPrefix).forEach(f=>{c[f]=i[f],delete i[f]}),s==="media"?{[a]:i,"@media (prefers-color-scheme: dark)":{[a]:c}}:s?{[s.replace("%s",n)]:c,[`${a}, ${s.replace("%s",n)}`]:i}:{[a]:{...i,...c}}}if(s&&s!=="media")return`${a}, ${s.replace("%s",String(n))}`}else if(n){if(s==="media")return{[`@media (prefers-color-scheme: ${String(n)})`]:{[a]:i}};if(s)return s.replace("%s",String(n))}return a};function xE(t,n){n.forEach(i=>{t[i]||(t[i]={})})}function W(t,n,i){!t[n]&&i&&(t[n]=i)}function Co(t){return typeof t!="string"||!t.startsWith("hsl")?t:ux(t)}function Tr(t,n){`${n}Channel`in t||(t[`${n}Channel`]=To(Co(t[n])))}function SE(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const Kn=t=>{try{return t()}catch{}},AE=(t="mui")=>GM(t);function hh(t,n,i,a){if(!n)return;n=n===!0?{}:n;const o=a==="dark"?"dark":"light";if(!i){t[a]=pE({...n,palette:{mode:o,...n==null?void 0:n.palette}});return}const{palette:s,...c}=Ih({...i,palette:{mode:o,...n==null?void 0:n.palette}});return t[a]={...n,palette:s,opacity:{...vx(o),...n==null?void 0:n.opacity},overlays:(n==null?void 0:n.overlays)||bx(o)},c}function TE(t={},...n){const{colorSchemes:i={light:!0},defaultColorScheme:a,disableCssColorScheme:o=!1,cssVarPrefix:s="mui",shouldSkipGeneratingVar:c=yE,colorSchemeSelector:f=i.light&&i.dark?"media":void 0,rootSelector:m=":root",...h}=t,y=Object.keys(i)[0],p=a||(i.light&&y!=="light"?"light":y),v=AE(s),{[p]:b,light:S,dark:x,...C}=i,E={...C};let k=b;if((p==="dark"&&!("dark"in i)||p==="light"&&!("light"in i))&&(k=!0),!k)throw new Error(ji(21,p));const O=hh(E,k,h,p);S&&!E.light&&hh(E,S,void 0,"light"),x&&!E.dark&&hh(E,x,void 0,"dark");let R={defaultColorScheme:p,...O,cssVarPrefix:s,colorSchemeSelector:f,rootSelector:m,getCssVar:v,colorSchemes:E,font:{...eE(O.typography),...O.font},spacing:SE(h.spacing)};Object.keys(R.colorSchemes).forEach($=>{const T=R.colorSchemes[$].palette,N=X=>{const K=X.split("-"),it=K[1],ot=K[2];return v(X,T[it][ot])};if(T.mode==="light"&&(W(T.common,"background","#fff"),W(T.common,"onBackground","#000")),T.mode==="dark"&&(W(T.common,"background","#000"),W(T.common,"onBackground","#fff")),xE(T,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),T.mode==="light"){W(T.Alert,"errorColor",Pt(T.error.light,.6)),W(T.Alert,"infoColor",Pt(T.info.light,.6)),W(T.Alert,"successColor",Pt(T.success.light,.6)),W(T.Alert,"warningColor",Pt(T.warning.light,.6)),W(T.Alert,"errorFilledBg",N("palette-error-main")),W(T.Alert,"infoFilledBg",N("palette-info-main")),W(T.Alert,"successFilledBg",N("palette-success-main")),W(T.Alert,"warningFilledBg",N("palette-warning-main")),W(T.Alert,"errorFilledColor",Kn(()=>T.getContrastText(T.error.main))),W(T.Alert,"infoFilledColor",Kn(()=>T.getContrastText(T.info.main))),W(T.Alert,"successFilledColor",Kn(()=>T.getContrastText(T.success.main))),W(T.Alert,"warningFilledColor",Kn(()=>T.getContrastText(T.warning.main))),W(T.Alert,"errorStandardBg",Zt(T.error.light,.9)),W(T.Alert,"infoStandardBg",Zt(T.info.light,.9)),W(T.Alert,"successStandardBg",Zt(T.success.light,.9)),W(T.Alert,"warningStandardBg",Zt(T.warning.light,.9)),W(T.Alert,"errorIconColor",N("palette-error-main")),W(T.Alert,"infoIconColor",N("palette-info-main")),W(T.Alert,"successIconColor",N("palette-success-main")),W(T.Alert,"warningIconColor",N("palette-warning-main")),W(T.AppBar,"defaultBg",N("palette-grey-100")),W(T.Avatar,"defaultBg",N("palette-grey-400")),W(T.Button,"inheritContainedBg",N("palette-grey-300")),W(T.Button,"inheritContainedHoverBg",N("palette-grey-A100")),W(T.Chip,"defaultBorder",N("palette-grey-400")),W(T.Chip,"defaultAvatarColor",N("palette-grey-700")),W(T.Chip,"defaultIconColor",N("palette-grey-700")),W(T.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),W(T.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),W(T.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),W(T.LinearProgress,"primaryBg",Zt(T.primary.main,.62)),W(T.LinearProgress,"secondaryBg",Zt(T.secondary.main,.62)),W(T.LinearProgress,"errorBg",Zt(T.error.main,.62)),W(T.LinearProgress,"infoBg",Zt(T.info.main,.62)),W(T.LinearProgress,"successBg",Zt(T.success.main,.62)),W(T.LinearProgress,"warningBg",Zt(T.warning.main,.62)),W(T.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.11)`),W(T.Slider,"primaryTrack",Zt(T.primary.main,.62)),W(T.Slider,"secondaryTrack",Zt(T.secondary.main,.62)),W(T.Slider,"errorTrack",Zt(T.error.main,.62)),W(T.Slider,"infoTrack",Zt(T.info.main,.62)),W(T.Slider,"successTrack",Zt(T.success.main,.62)),W(T.Slider,"warningTrack",Zt(T.warning.main,.62));const X=vs(T.background.default,.8);W(T.SnackbarContent,"bg",X),W(T.SnackbarContent,"color",Kn(()=>T.getContrastText(X))),W(T.SpeedDialAction,"fabHoverBg",vs(T.background.paper,.15)),W(T.StepConnector,"border",N("palette-grey-400")),W(T.StepContent,"border",N("palette-grey-400")),W(T.Switch,"defaultColor",N("palette-common-white")),W(T.Switch,"defaultDisabledColor",N("palette-grey-100")),W(T.Switch,"primaryDisabledColor",Zt(T.primary.main,.62)),W(T.Switch,"secondaryDisabledColor",Zt(T.secondary.main,.62)),W(T.Switch,"errorDisabledColor",Zt(T.error.main,.62)),W(T.Switch,"infoDisabledColor",Zt(T.info.main,.62)),W(T.Switch,"successDisabledColor",Zt(T.success.main,.62)),W(T.Switch,"warningDisabledColor",Zt(T.warning.main,.62)),W(T.TableCell,"border",Zt(ys(T.divider,1),.88)),W(T.Tooltip,"bg",ys(T.grey[700],.92))}if(T.mode==="dark"){W(T.Alert,"errorColor",Zt(T.error.light,.6)),W(T.Alert,"infoColor",Zt(T.info.light,.6)),W(T.Alert,"successColor",Zt(T.success.light,.6)),W(T.Alert,"warningColor",Zt(T.warning.light,.6)),W(T.Alert,"errorFilledBg",N("palette-error-dark")),W(T.Alert,"infoFilledBg",N("palette-info-dark")),W(T.Alert,"successFilledBg",N("palette-success-dark")),W(T.Alert,"warningFilledBg",N("palette-warning-dark")),W(T.Alert,"errorFilledColor",Kn(()=>T.getContrastText(T.error.dark))),W(T.Alert,"infoFilledColor",Kn(()=>T.getContrastText(T.info.dark))),W(T.Alert,"successFilledColor",Kn(()=>T.getContrastText(T.success.dark))),W(T.Alert,"warningFilledColor",Kn(()=>T.getContrastText(T.warning.dark))),W(T.Alert,"errorStandardBg",Pt(T.error.light,.9)),W(T.Alert,"infoStandardBg",Pt(T.info.light,.9)),W(T.Alert,"successStandardBg",Pt(T.success.light,.9)),W(T.Alert,"warningStandardBg",Pt(T.warning.light,.9)),W(T.Alert,"errorIconColor",N("palette-error-main")),W(T.Alert,"infoIconColor",N("palette-info-main")),W(T.Alert,"successIconColor",N("palette-success-main")),W(T.Alert,"warningIconColor",N("palette-warning-main")),W(T.AppBar,"defaultBg",N("palette-grey-900")),W(T.AppBar,"darkBg",N("palette-background-paper")),W(T.AppBar,"darkColor",N("palette-text-primary")),W(T.Avatar,"defaultBg",N("palette-grey-600")),W(T.Button,"inheritContainedBg",N("palette-grey-800")),W(T.Button,"inheritContainedHoverBg",N("palette-grey-700")),W(T.Chip,"defaultBorder",N("palette-grey-700")),W(T.Chip,"defaultAvatarColor",N("palette-grey-300")),W(T.Chip,"defaultIconColor",N("palette-grey-300")),W(T.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),W(T.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),W(T.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),W(T.LinearProgress,"primaryBg",Pt(T.primary.main,.5)),W(T.LinearProgress,"secondaryBg",Pt(T.secondary.main,.5)),W(T.LinearProgress,"errorBg",Pt(T.error.main,.5)),W(T.LinearProgress,"infoBg",Pt(T.info.main,.5)),W(T.LinearProgress,"successBg",Pt(T.success.main,.5)),W(T.LinearProgress,"warningBg",Pt(T.warning.main,.5)),W(T.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.13)`),W(T.Slider,"primaryTrack",Pt(T.primary.main,.5)),W(T.Slider,"secondaryTrack",Pt(T.secondary.main,.5)),W(T.Slider,"errorTrack",Pt(T.error.main,.5)),W(T.Slider,"infoTrack",Pt(T.info.main,.5)),W(T.Slider,"successTrack",Pt(T.success.main,.5)),W(T.Slider,"warningTrack",Pt(T.warning.main,.5));const X=vs(T.background.default,.98);W(T.SnackbarContent,"bg",X),W(T.SnackbarContent,"color",Kn(()=>T.getContrastText(X))),W(T.SpeedDialAction,"fabHoverBg",vs(T.background.paper,.15)),W(T.StepConnector,"border",N("palette-grey-600")),W(T.StepContent,"border",N("palette-grey-600")),W(T.Switch,"defaultColor",N("palette-grey-300")),W(T.Switch,"defaultDisabledColor",N("palette-grey-600")),W(T.Switch,"primaryDisabledColor",Pt(T.primary.main,.55)),W(T.Switch,"secondaryDisabledColor",Pt(T.secondary.main,.55)),W(T.Switch,"errorDisabledColor",Pt(T.error.main,.55)),W(T.Switch,"infoDisabledColor",Pt(T.info.main,.55)),W(T.Switch,"successDisabledColor",Pt(T.success.main,.55)),W(T.Switch,"warningDisabledColor",Pt(T.warning.main,.55)),W(T.TableCell,"border",Pt(ys(T.divider,1),.68)),W(T.Tooltip,"bg",ys(T.grey[700],.92))}Tr(T.background,"default"),Tr(T.background,"paper"),Tr(T.common,"background"),Tr(T.common,"onBackground"),Tr(T,"divider"),Object.keys(T).forEach(X=>{const K=T[X];X!=="tonalOffset"&&K&&typeof K=="object"&&(K.main&&W(T[X],"mainChannel",To(Co(K.main))),K.light&&W(T[X],"lightChannel",To(Co(K.light))),K.dark&&W(T[X],"darkChannel",To(Co(K.dark))),K.contrastText&&W(T[X],"contrastTextChannel",To(Co(K.contrastText))),X==="text"&&(Tr(T[X],"primary"),Tr(T[X],"secondary")),X==="action"&&(K.active&&Tr(T[X],"active"),K.selected&&Tr(T[X],"selected")))})}),R=n.reduce(($,T)=>dn($,T),R);const M={prefix:s,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:bE(R)},{vars:_,generateThemeVars:D,generateStyleSheets:L}=VM(R,M);return R.vars=_,Object.entries(R.colorSchemes[R.defaultColorScheme]).forEach(([$,T])=>{R[$]=T}),R.generateThemeVars=D,R.generateStyleSheets=L,R.generateSpacing=function(){return nx(h.spacing,bm(this))},R.getColorSchemeSelector=XM(f),R.spacing=R.generateSpacing(),R.shouldSkipGeneratingVar=c,R.unstable_sxConfig={...Po,...h==null?void 0:h.unstable_sxConfig},R.unstable_sx=function(T){return $i({sx:T,theme:this})},R.toRuntimeSource=yx,R}function W1(t,n,i){t.colorSchemes&&i&&(t.colorSchemes[n]={...i!==!0&&i,palette:_m({...i===!0?{}:i.palette,mode:n})})}function Rm(t={},...n){const{palette:i,cssVariables:a=!1,colorSchemes:o=i?void 0:{light:!0},defaultColorScheme:s=i==null?void 0:i.mode,...c}=t,f=s||"light",m=o==null?void 0:o[f],h={...o,...i?{[f]:{...typeof m!="boolean"&&m,palette:i}}:void 0};if(a===!1){if(!("colorSchemes"in t))return Ih(t,...n);let y=i;"palette"in t||h[f]&&(h[f]!==!0?y=h[f].palette:f==="dark"&&(y={mode:"dark"}));const p=Ih({...t,palette:y},...n);return p.defaultColorScheme=f,p.colorSchemes=h,p.palette.mode==="light"&&(p.colorSchemes.light={...h.light!==!0&&h.light,palette:p.palette},W1(p,"dark",h.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...h.dark!==!0&&h.dark,palette:p.palette},W1(p,"light",h.light)),p}return!i&&!("light"in h)&&f==="light"&&(h.light=!0),TE({...c,colorSchemes:h,defaultColorScheme:f,...typeof a!="boolean"&&a},...n)}const km=Rm();function Zo(){const t=ix(km);return t[Er]||t}function ir({props:t,name:n}){return vM({props:t,name:n,defaultTheme:km,themeId:Er})}function CE(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const wE=t=>CE(t)&&t!=="classes",he=dM({themeId:Er,defaultTheme:km,rootShouldForwardProp:wE});function ME({theme:t,...n}){const i=Er in t?t[Er]:void 0;return H.jsx(dx,{...n,themeId:i?Er:void 0,theme:i||t})}const bs={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:EE}=YM({themeId:Er,theme:()=>Rm({cssVariables:!0}),colorSchemeStorageKey:bs.colorSchemeStorageKey,modeStorageKey:bs.modeStorageKey,defaultColorScheme:{light:bs.defaultLightColorScheme,dark:bs.defaultDarkColorScheme},resolveTheme:t=>{const n={...t,typography:px(t.palette,t.typography)};return n.unstable_sx=function(a){return $i({sx:a,theme:this})},n}}),OE=EE;function _E({theme:t,...n}){const i=Y.useMemo(()=>{if(typeof t=="function")return t;const a=Er in t?t[Er]:t;return"colorSchemes"in a?null:"vars"in a?t:{...t,vars:null}},[t]);return i?H.jsx(ME,{theme:i,...n}):H.jsx(OE,{theme:t,...n})}function Qt(t,n){if(t==null)return{};var i={};for(var a in t)if({}.hasOwnProperty.call(t,a)){if(n.indexOf(a)!==-1)continue;i[a]=t[a]}return i}function RE(t){return zn("MuiBarElement",t)}const kE=qn("MuiBarElement",["root","highlighted","faded","series"]),DE=t=>{const{classes:n,id:i,isHighlighted:a,isFaded:o}=t,s={root:["root",`series-${i}`,a&&"highlighted",o&&"faded"]};return Nn(s,RE,n)};function Wa(...t){const n=Y.useRef(void 0),i=Y.useCallback(a=>{const o=t.map(s=>{if(s==null)return null;if(typeof s=="function"){const c=s,f=c(a);return typeof f=="function"?f:()=>{c(null)}}return s.current=a,()=>{s.current=null}});return()=>{o.forEach(s=>s==null?void 0:s())}},t);return Y.useMemo(()=>t.every(a=>a==null)?null:a=>{n.current&&(n.current(),n.current=void 0),a!=null&&(n.current=i(a))},t)}function zE(t){return typeof t=="string"}function NE(t,n,i){return t===void 0||zE(t)?n:{...n,ownerState:{...n.ownerState,...i}}}function UE(t,n=[]){if(t===void 0)return{};const i={};return Object.keys(t).filter(a=>a.match(/^on[A-Z]/)&&typeof t[a]=="function"&&!n.includes(a)).forEach(a=>{i[a]=t[a]}),i}function J1(t){if(t===void 0)return{};const n={};return Object.keys(t).filter(i=>!(i.match(/^on[A-Z]/)&&typeof t[i]=="function")).forEach(i=>{n[i]=t[i]}),n}function jE(t){const{getSlotProps:n,additionalProps:i,externalSlotProps:a,externalForwardedProps:o,className:s}=t;if(!n){const b=Mn(i==null?void 0:i.className,s,o==null?void 0:o.className,a==null?void 0:a.className),S={...i==null?void 0:i.style,...o==null?void 0:o.style,...a==null?void 0:a.style},x={...i,...o,...a};return b.length>0&&(x.className=b),Object.keys(S).length>0&&(x.style=S),{props:x,internalRef:void 0}}const c=UE({...o,...a}),f=J1(a),m=J1(o),h=n(c),y=Mn(h==null?void 0:h.className,i==null?void 0:i.className,s,o==null?void 0:o.className,a==null?void 0:a.className),p={...h==null?void 0:h.style,...i==null?void 0:i.style,...o==null?void 0:o.style,...a==null?void 0:a.style},v={...h,...i,...m,...f};return y.length>0&&(v.className=y),Object.keys(p).length>0&&(v.style=p),{props:v,internalRef:h.ref}}function $E(t,n,i){return typeof t=="function"?t(n,i):t}function Or(t){var p;const{elementType:n,externalSlotProps:i,ownerState:a,skipResolvingSlotProps:o=!1,...s}=t,c=o?{}:$E(i,a),{props:f,internalRef:m}=jE({...s,externalSlotProps:c}),h=Wa(m,c==null?void 0:c.ref,(p=t.additionalProps)==null?void 0:p.ref);return NE(n,{...f,ref:h},a)}let tv=0;function BE(t){const[n,i]=Y.useState(t),a=n;return Y.useEffect(()=>{n==null&&(tv+=1,i(`mui-${tv}`))},[n]),a}const LE={...Bh},ev=LE.useId;function xx(t){return ev!==void 0?ev():BE(t)}class HE{constructor(n){this.value=void 0,this.listeners=void 0,this.subscribe=i=>(this.listeners.add(i),()=>{this.listeners.delete(i)}),this.getSnapshot=()=>this.value,this.update=i=>{const a=i(this.value);a!==this.value&&(this.value=a,this.listeners.forEach(o=>o(a)))},this.value=n,this.listeners=new Set}}const yc=({params:t,store:n})=>{Y.useEffect(()=>{n.update(a=>I({},a,{animation:I({},a.animation,{skip:t.skipAnimation})}))},[n,t.skipAnimation]);const i=Y.useCallback(()=>{let a=!1;return n.update(o=>I({},o,{animation:I({},o.animation,{skipAnimationRequests:o.animation.skipAnimationRequests+1})})),()=>{a||(a=!0,n.update(o=>I({},o,{animation:I({},o.animation,{skipAnimationRequests:o.animation.skipAnimationRequests-1})})))}},[n]);return Ye(()=>{if(typeof window>"u"||!(window!=null&&window.matchMedia))return;let o;const s=f=>{f.matches?o=i():o==null||o()},c=window.matchMedia("(prefers-reduced-motion)");return s(c),c.addEventListener("change",s),()=>{c.removeEventListener("change",s)}},[i,n]),{instance:{disableAnimation:i}}};yc.params={skipAnimation:!0};yc.getDefaultizedParams=({params:t})=>I({},t,{skipAnimation:t.skipAnimation??!1});yc.getInitialState=({skipAnimation:t})=>({animation:{skip:t,skipAnimationRequests:0}});var $s=Symbol("NOT_FOUND");function YE(t,n=`expected a function, instead received ${typeof t}`){if(typeof t!="function")throw new TypeError(n)}function GE(t,n=`expected an object, instead received ${typeof t}`){if(typeof t!="object")throw new TypeError(n)}function qE(t,n="expected all items to be functions, instead received the following types: "){if(!t.every(i=>typeof i=="function")){const i=t.map(a=>typeof a=="function"?`function ${a.name||"unnamed"}()`:typeof a).join(", ");throw new TypeError(`${n}[${i}]`)}}var nv=t=>Array.isArray(t)?t:[t];function IE(t){const n=Array.isArray(t[0])?t[0]:t;return qE(n,"createSelector expects all input-selectors to be functions, but received the following types: "),n}function VE(t,n){const i=[],{length:a}=t;for(let o=0;o<a;o++)i.push(t[o].apply(null,n));return i}function XE(t){let n;return{get(i){return n&&t(n.key,i)?n.value:$s},put(i,a){n={key:i,value:a}},getEntries(){return n?[n]:[]},clear(){n=void 0}}}function PE(t,n){let i=[];function a(f){const m=i.findIndex(h=>n(f,h.key));if(m>-1){const h=i[m];return m>0&&(i.splice(m,1),i.unshift(h)),h.value}return $s}function o(f,m){a(f)===$s&&(i.unshift({key:f,value:m}),i.length>t&&i.pop())}function s(){return i}function c(){i=[]}return{get:a,put:o,getEntries:s,clear:c}}var ZE=(t,n)=>t===n;function QE(t){return function(i,a){if(i===null||a===null||i.length!==a.length)return!1;const{length:o}=i;for(let s=0;s<o;s++)if(!t(i[s],a[s]))return!1;return!0}}function KE(t,n){const i=typeof n=="object"?n:{equalityCheck:n},{equalityCheck:a=ZE,maxSize:o=1,resultEqualityCheck:s}=i,c=QE(a);let f=0;const m=o<=1?XE(c):PE(o,c);function h(){let y=m.get(arguments);if(y===$s){if(y=t.apply(null,arguments),f++,s){const v=m.getEntries().find(b=>s(b.value,y));v&&(y=v.value,f!==0&&f--)}m.put(arguments,y)}return y}return h.clearCache=()=>{m.clear(),h.resetResultsCount()},h.resultsCount=()=>f,h.resetResultsCount=()=>{f=0},h}var FE=class{constructor(t){this.value=t}deref(){return this.value}},WE=typeof WeakRef<"u"?WeakRef:FE,JE=0,rv=1;function xs(){return{s:JE,v:void 0,o:null,p:null}}function Sx(t,n={}){let i=xs();const{resultEqualityCheck:a}=n;let o,s=0;function c(){var p;let f=i;const{length:m}=arguments;for(let v=0,b=m;v<b;v++){const S=arguments[v];if(typeof S=="function"||typeof S=="object"&&S!==null){let x=f.o;x===null&&(f.o=x=new WeakMap);const C=x.get(S);C===void 0?(f=xs(),x.set(S,f)):f=C}else{let x=f.p;x===null&&(f.p=x=new Map);const C=x.get(S);C===void 0?(f=xs(),x.set(S,f)):f=C}}const h=f;let y;if(f.s===rv)y=f.v;else if(y=t.apply(null,arguments),s++,a){const v=((p=o==null?void 0:o.deref)==null?void 0:p.call(o))??o;v!=null&&a(v,y)&&(y=v,s!==0&&s--),o=typeof y=="object"&&y!==null||typeof y=="function"?new WE(y):y}return h.s=rv,h.v=y,y}return c.clearCache=()=>{i=xs(),c.resetResultsCount()},c.resultsCount=()=>s,c.resetResultsCount=()=>{s=0},c}function Ax(t,...n){const i=typeof t=="function"?{memoize:t,memoizeOptions:n}:t,a=(...o)=>{let s=0,c=0,f,m={},h=o.pop();typeof h=="object"&&(m=h,h=o.pop()),YE(h,`createSelector expects an output function after the inputs, but received: [${typeof h}]`);const y={...i,...m},{memoize:p,memoizeOptions:v=[],argsMemoize:b=Sx,argsMemoizeOptions:S=[]}=y,x=nv(v),C=nv(S),E=IE(o),k=p(function(){return s++,h.apply(null,arguments)},...x),O=b(function(){c++;const M=VE(E,arguments);return f=k.apply(null,M),f},...C);return Object.assign(O,{resultFunc:h,memoizedResultFunc:k,dependencies:E,dependencyRecomputations:()=>c,resetDependencyRecomputations:()=>{c=0},lastResult:()=>f,recomputations:()=>s,resetRecomputations:()=>{s=0},memoize:p,argsMemoize:b})};return Object.assign(a,{withTypes:()=>a}),a}var tO=Ax(Sx),eO=Object.assign((t,n=tO)=>{GE(t,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof t}`);const i=Object.keys(t),a=i.map(s=>t[s]);return n(a,(...s)=>s.reduce((c,f,m)=>(c[i[m]]=f,c),{}))},{withTypes:()=>eO});const nO=Ax({memoize:KE,memoizeOptions:{maxSize:1,equalityCheck:Object.is}}),iv=new WeakMap,ft=(...t)=>(i,a)=>{const o=i.cacheKey;let s=iv.get(o);s||(s=new Map,iv.set(o,s));const c=s.get(t);if(c)return c(i,a);const f=nO(...t);return s.set(t,f),f(i,a)},rO=t=>t.animation,iO=ft(rO,t=>t.skip||t.skipAnimationRequests>0);function Vh(t){return t&&t.ownerDocument||document}function aO(t){return Vh(t).defaultView||window}const Dm="DEFAULT_X_AXIS_KEY",zm="DEFAULT_Y_AXIS_KEY",lO={top:20,bottom:20,left:20,right:20},oO=45,uO=25,Tx=20,sO=4,dl=20+2*sO,Cx=t=>t.cartesianAxis,hl=ft(Cx,t=>t==null?void 0:t.x),Qo=ft(Cx,t=>t==null?void 0:t.y),cO=ft([Qo],t=>(t??[]).reduce((n,i)=>{var a;return i.position==="left"?n+(i.width||0)+((a=i.zoom)!=null&&a.slider.enabled?dl:0):n},0)),fO=ft([Qo],t=>(t??[]).reduce((n,i)=>{var a;return i.position==="right"?n+(i.width||0)+((a=i.zoom)!=null&&a.slider.enabled?dl:0):n},0)),dO=ft([hl],t=>(t??[]).reduce((n,i)=>{var a;return i.position==="top"?n+(i.height||0)+((a=i.zoom)!=null&&a.slider.enabled?dl:0):n},0)),hO=ft([hl],t=>(t??[]).reduce((n,i)=>{var a;return i.position==="bottom"?n+(i.height||0)+((a=i.zoom)!=null&&a.slider.enabled?dl:0):n},0)),vc=t=>t.dimensions,bc=ft(vc,t=>t.margin),wx=ft(vc,t=>t.width),Mx=ft(vc,t=>t.height),mO=ft(bc,t=>t.top),gO=ft(bc,t=>t.right),pO=ft(bc,t=>t.bottom),yO=ft(bc,t=>t.left),Ur=ft(wx,Mx,mO,gO,pO,yO,dO,fO,hO,cO,(t,n,i,a,o,s,c,f,m,h)=>({width:t-s-a-h-f,left:s+h,right:a+f,height:n-i-o-c-m,top:i+c,bottom:o+m})),vO=ft(vc,t=>({width:t.propsWidth,height:t.propsHeight})),bO=ft(wx,Mx,(t,n)=>({width:t,height:n}));function xO(t,n){return typeof t=="number"?{top:t,bottom:t,left:t,right:t}:n?I({},n,t):t}const SO=10,xc=({params:t,store:n,svgRef:i})=>{const a=t.width!==void 0&&t.height!==void 0,o=Y.useRef({displayError:!1,initialCompute:!0,computeRun:0}),[s,c]=Y.useState(0),[f,m]=Y.useState(0),h=Y.useCallback(()=>{const p=i==null?void 0:i.current;if(!p)return{};const b=aO(p).getComputedStyle(p),S=Math.floor(parseFloat(b.height))||0,x=Math.floor(parseFloat(b.width))||0;return n.update(C=>C.dimensions.width===x&&C.dimensions.height===S?C:I({},C,{dimensions:{margin:{top:t.margin.top,right:t.margin.right,bottom:t.margin.bottom,left:t.margin.left},width:t.width??x,height:t.height??S,propsWidth:t.width,propsHeight:t.height}})),{height:S,width:x}},[n,i,t.height,t.width,t.margin.left,t.margin.right,t.margin.top,t.margin.bottom]);return Y.useEffect(()=>{n.update(p=>{const v=t.width??p.dimensions.width,b=t.height??p.dimensions.height;return I({},p,{dimensions:{margin:{top:t.margin.top,right:t.margin.right,bottom:t.margin.bottom,left:t.margin.left},width:v,height:b,propsHeight:t.height,propsWidth:t.width}})})},[n,t.height,t.width,t.margin.left,t.margin.right,t.margin.top,t.margin.bottom]),Y.useEffect(()=>{o.current.displayError=!0},[]),Ye(()=>{if(a||!o.current.initialCompute||o.current.computeRun>SO)return;const p=h();p.width!==s||p.height!==f?(o.current.computeRun+=1,p.width!==void 0&&c(p.width),p.height!==void 0&&m(p.height)):o.current.initialCompute&&(o.current.initialCompute=!1)},[f,s,h,a]),Ye(()=>{if(a)return()=>{};h();const p=i.current;if(typeof ResizeObserver>"u")return()=>{};let v;const b=new ResizeObserver(()=>{v=requestAnimationFrame(()=>{h()})});return p&&b.observe(p),()=>{v&&cancelAnimationFrame(v),p&&b.unobserve(p)}},[h,a,i]),{instance:{isPointInside:Y.useCallback(({x:p,y:v},b)=>{if(b!=null&&b.targetElement&&(b!=null&&b.targetElement.closest("[data-drawing-container]")))return!0;const S=Ur(n.value),x=p>=S.left-1&&p<=S.left+S.width,C=v>=S.top-1&&v<=S.top+S.height;return(b==null?void 0:b.direction)==="x"?x:((b==null?void 0:b.direction)==="y"||x)&&C},[n.value])}}};xc.params={width:!0,height:!0,margin:!0};xc.getDefaultizedParams=({params:t})=>I({},t,{margin:xO(t.margin,lO)});xc.getInitialState=({width:t,height:n,margin:i})=>({dimensions:{margin:i,width:t??0,height:n??0,propsWidth:t,propsHeight:n}});let av=0;const AO=()=>(av+=1,`mui-chart-${av}`),Nm=({params:t,store:n})=>(Y.useEffect(()=>{n.update(i=>t.id===void 0||t.id===i.id.providedChartId&&i.id.chartId!==void 0?i:I({},i,{id:I({},i.id,{chartId:t.id??AO()})}))},[n,t.id]),{});Nm.params={id:!0};Nm.getInitialState=({id:t})=>({id:{chartId:t,providedChartId:t}});const TO=t=>t.id,CO=ft(TO,t=>t.chartId),wO=["#4254FB","#FFB422","#FA4F58","#0DBEFF","#22BF75","#FA83B4","#FF7511"],MO=["#495AFB","#FFC758","#F35865","#30C8FF","#44CE8D","#F286B3","#FF8C39"],Ex=t=>t==="dark"?MO:wO,Ox=({series:t,colors:n,seriesConfig:i,dataset:a})=>{const o={};t.forEach((c,f)=>{var y;const m=i[c.type].getSeriesWithDefaultValues(c,f,n),h=m.id;if(o[c.type]===void 0&&(o[c.type]={series:{},seriesOrder:[]}),((y=o[c.type])==null?void 0:y.series[h])!==void 0)throw new Error(`MUI X Charts: series' id "${h}" is not unique.`);o[c.type].series[h]=m,o[c.type].seriesOrder.push(h)});const s={};return Object.keys(i).forEach(c=>{var m,h;const f=o[c];f!==void 0&&(s[c]=((h=(m=i[c])==null?void 0:m.seriesProcessor)==null?void 0:h.call(m,f,a))??o[c])}),s},Sc=({params:t,store:n,seriesConfig:i})=>{const{series:a,dataset:o,theme:s,colors:c}=t,f=Y.useRef(!0);return Y.useEffect(()=>{if(f.current){f.current=!1;return}n.update(m=>I({},m,{series:I({},m.series,{processedSeries:Ox({series:a,colors:typeof c=="function"?c(s):c,seriesConfig:i,dataset:o})})}))},[c,o,a,s,i,n]),{}};Sc.params={dataset:!0,series:!0,colors:!0,theme:!0};const EO=[];Sc.getDefaultizedParams=({params:t})=>{var n;return I({},t,{series:(n=t.series)!=null&&n.length?t.series:EO,colors:t.colors??Ex,theme:t.theme??"light"})};Sc.getInitialState=({series:t=[],colors:n,theme:i,dataset:a},o,s)=>({series:{seriesConfig:s,processedSeries:Ox({series:t,colors:typeof n=="function"?n(i):n,seriesConfig:s,dataset:a})}});const _x=t=>t.series,In=ft(_x,t=>t.processedSeries),jr=ft(_x,t=>t.seriesConfig),OO=[Nm,xc,Sc,yc],_O=["apiRef"],RO=t=>{let{plugins:n}=t,i=Qt(t.props,_O);const a={};n.forEach(c=>{Object.assign(a,c.params)});const o={};return Object.keys(i).forEach(c=>{const f=i[c];a[c]&&(o[c]=f)}),n.reduce((c,f)=>f.getDefaultizedParams?f.getDefaultizedParams({params:c}):c,o)};let lv=0;function kO(t,n,i){const a=xx(),o=Y.useMemo(()=>[...OO,...t],[t]),s=RO({plugins:o,props:n});s.id=s.id??a;const f=Y.useRef({}).current,m=zO(n.apiRef),h=Y.useRef(null),y=Y.useRef(null),p=Y.useRef(null);if(p.current==null){lv+=1;const S={cacheKey:{id:lv}};o.forEach(x=>{x.getInitialState&&Object.assign(S,x.getInitialState(s,S,i))}),p.current=new HE(S)}const v=S=>{const x=S({instance:f,params:s,plugins:o,store:p.current,svgRef:y,chartRootRef:h,seriesConfig:i});x.publicAPI&&Object.assign(m.current,x.publicAPI),x.instance&&Object.assign(f,x.instance)};return o.forEach(v),{contextValue:Y.useMemo(()=>({store:p.current,publicAPI:m.current,instance:f,svgRef:y,chartRootRef:h}),[f,m])}}function DO(t){return t.current==null&&(t.current={}),t}function zO(t){const n=Y.useRef({});return t?DO(t):n}const Rx=Y.createContext(null);var mh={exports:{}},gh={};/**
99
+
* @license React
100
+
* use-sync-external-store-with-selector.production.js
101
+
*
102
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
103
+
*
104
+
* This source code is licensed under the MIT license found in the
105
+
* LICENSE file in the root directory of this source tree.
106
+
*/var ov;function NO(){if(ov)return gh;ov=1;var t=ic();function n(m,h){return m===h&&(m!==0||1/m===1/h)||m!==m&&h!==h}var i=typeof Object.is=="function"?Object.is:n,a=t.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,f=t.useDebugValue;return gh.useSyncExternalStoreWithSelector=function(m,h,y,p,v){var b=o(null);if(b.current===null){var S={hasValue:!1,value:null};b.current=S}else S=b.current;b=c(function(){function C(M){if(!E){if(E=!0,k=M,M=p(M),v!==void 0&&S.hasValue){var _=S.value;if(v(_,M))return O=_}return O=M}if(_=O,i(k,M))return _;var D=p(M);return v!==void 0&&v(_,D)?(k=M,_):(k=M,O=D)}var E=!1,k,O,R=y===void 0?null:y;return[function(){return C(h())},R===null?void 0:function(){return C(R())}]},[h,y,p,v]);var x=a(m,b[0],b[1]);return s(function(){S.hasValue=!0,S.value=x},[x]),f(x),x},gh}var uv;function UO(){return uv||(uv=1,mh.exports=NO()),mh.exports}var jO=UO();const $O=Object.is,wt=(t,n,i=void 0,a=$O)=>{const o=s=>n(s,i);return jO.useSyncExternalStoreWithSelector(t.subscribe,t.getSnapshot,t.getSnapshot,o,a)},ph={minStart:0,maxEnd:100,step:5,minSpan:10,maxSpan:100,panning:!0,filterMode:"keep",slider:{enabled:!1}},Um=(t,n,i)=>{if(t)return t===!0?I({axisId:n,axisDirection:i},ph):I({axisId:n,axisDirection:i},ph,t,{slider:I({},ph.slider,t.slider)})};function kx(t,n){const i={top:0,bottom:0,none:0};return(t&&t.length>0?t:[{id:Dm,scaleType:"linear"}]).map((s,c)=>{var b;const f=s.dataKey,m=c===0?"bottom":"none",h=s.position??m,y=uO+(s.label?Tx:0),p=s.id??`defaultized-x-axis-${c}`,v=I({offset:i[h]},s,{id:p,position:h,height:s.height??y,zoom:Um(s.zoom,p,"x")});if(h!=="none"&&(i[h]+=v.height,(b=v.zoom)!=null&&b.slider.enabled&&(i[h]+=dl)),f===void 0||s.data!==void 0)return v;if(n===void 0)throw new Error("MUI X Charts: x-axis uses `dataKey` but no `dataset` is provided.");return I({},v,{data:n.map(S=>S[f])})})}function Dx(t,n){const i={right:0,left:0,none:0};return(t&&t.length>0?t:[{id:zm,scaleType:"linear"}]).map((s,c)=>{var b;const f=s.dataKey,m=c===0?"left":"none",h=s.position??m,y=oO+(s.label?Tx:0),p=s.id??`defaultized-y-axis-${c}`,v=I({offset:i[h]},s,{id:p,position:h,width:s.width??y,zoom:Um(s.zoom,p,"y")});if(h!=="none"&&(i[h]+=v.width,(b=v.zoom)!=null&&b.slider.enabled&&(i[h]+=dl)),f===void 0||s.data!==void 0)return v;if(n===void 0)throw new Error("MUI X Charts: y-axis uses `dataKey` but no `dataset` is provided.");return I({},v,{data:n.map(S=>S[f])})})}function zs(t,n){return t==null||n==null?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function BO(t,n){return t==null||n==null?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function jm(t){let n,i,a;t.length!==2?(n=zs,i=(f,m)=>zs(t(f),m),a=(f,m)=>t(f)-m):(n=t===zs||t===BO?t:LO,i=t,a=t);function o(f,m,h=0,y=f.length){if(h<y){if(n(m,m)!==0)return y;do{const p=h+y>>>1;i(f[p],m)<0?h=p+1:y=p}while(h<y)}return h}function s(f,m,h=0,y=f.length){if(h<y){if(n(m,m)!==0)return y;do{const p=h+y>>>1;i(f[p],m)<=0?h=p+1:y=p}while(h<y)}return h}function c(f,m,h=0,y=f.length){const p=o(f,m,h,y-1);return p>h&&a(f[p-1],m)>-a(f[p],m)?p-1:p}return{left:o,center:c,right:s}}function LO(){return 0}function HO(t){return t===null?NaN:+t}const YO=jm(zs),zx=YO.right;jm(HO).center;class sv extends Map{constructor(n,i=IO){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),n!=null)for(const[a,o]of n)this.set(a,o)}get(n){return super.get(cv(this,n))}has(n){return super.has(cv(this,n))}set(n,i){return super.set(GO(this,n),i)}delete(n){return super.delete(qO(this,n))}}function cv({_intern:t,_key:n},i){const a=n(i);return t.has(a)?t.get(a):i}function GO({_intern:t,_key:n},i){const a=n(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function qO({_intern:t,_key:n},i){const a=n(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function IO(t){return t!==null&&typeof t=="object"?t.valueOf():t}const VO=Math.sqrt(50),XO=Math.sqrt(10),PO=Math.sqrt(2);function Bs(t,n,i){const a=(n-t)/Math.max(0,i),o=Math.floor(Math.log10(a)),s=a/Math.pow(10,o),c=s>=VO?10:s>=XO?5:s>=PO?2:1;let f,m,h;return o<0?(h=Math.pow(10,-o)/c,f=Math.round(t*h),m=Math.round(n*h),f/h<t&&++f,m/h>n&&--m,h=-h):(h=Math.pow(10,o)*c,f=Math.round(t/h),m=Math.round(n/h),f*h<t&&++f,m*h>n&&--m),m<f&&.5<=i&&i<2?Bs(t,n,i*2):[f,m,h]}function Xh(t,n,i){if(n=+n,t=+t,i=+i,!(i>0))return[];if(t===n)return[t];const a=n<t,[o,s,c]=a?Bs(n,t,i):Bs(t,n,i);if(!(s>=o))return[];const f=s-o+1,m=new Array(f);if(a)if(c<0)for(let h=0;h<f;++h)m[h]=(s-h)/-c;else for(let h=0;h<f;++h)m[h]=(s-h)*c;else if(c<0)for(let h=0;h<f;++h)m[h]=(o+h)/-c;else for(let h=0;h<f;++h)m[h]=(o+h)*c;return m}function Ph(t,n,i){return n=+n,t=+t,i=+i,Bs(t,n,i)[2]}function Zh(t,n,i){n=+n,t=+t,i=+i;const a=n<t,o=a?Ph(n,t,i):Ph(t,n,i);return(a?-1:1)*(o<0?1/-o:o)}function ZO(t,n,i){t=+t,n=+n,i=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+i;for(var a=-1,o=Math.max(0,Math.ceil((n-t)/i))|0,s=new Array(o);++a<o;)s[a]=t+a*i;return s}function ci(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t);break}return this}function QO(t,n){switch(arguments.length){case 0:break;case 1:{typeof t=="function"?this.interpolator(t):this.range(t);break}default:{this.domain(t),typeof n=="function"?this.interpolator(n):this.range(n);break}}return this}const fv=Symbol("implicit");function Ls(){var t=new sv,n=[],i=[],a=fv;function o(s){let c=t.get(s);if(c===void 0){if(a!==fv)return a;t.set(s,c=n.push(s)-1)}return i[c%i.length]}return o.domain=function(s){if(!arguments.length)return n.slice();n=[],t=new sv;for(const c of s)t.has(c)||t.set(c,n.push(c)-1);return o},o.range=function(s){return arguments.length?(i=Array.from(s),o):i.slice()},o.unknown=function(s){return arguments.length?(a=s,o):a},o.copy=function(){return Ls(n,i).unknown(a)},ci.apply(o,arguments),o}function Ac(){var t=Ls().unknown(void 0),n=t.domain,i=t.range,a=0,o=1,s,c,f=!1,m=0,h=0,y=.5;delete t.unknown;function p(){var v=n().length,b=o<a,S=b?o:a,x=b?a:o;s=(x-S)/Math.max(1,v-m+h*2),f&&(s=Math.floor(s)),S+=(x-S-s*(v-m))*y,c=s*(1-m),f&&(S=Math.round(S),c=Math.round(c));var C=ZO(v).map(function(E){return S+s*E});return i(b?C.reverse():C)}return t.domain=function(v){return arguments.length?(n(v),p()):n()},t.range=function(v){return arguments.length?([a,o]=v,a=+a,o=+o,p()):[a,o]},t.rangeRound=function(v){return[a,o]=v,a=+a,o=+o,f=!0,p()},t.bandwidth=function(){return c},t.step=function(){return s},t.round=function(v){return arguments.length?(f=!!v,p()):f},t.padding=function(v){return arguments.length?(m=Math.min(1,h=+v),p()):m},t.paddingInner=function(v){return arguments.length?(m=Math.min(1,v),p()):m},t.paddingOuter=function(v){return arguments.length?(h=+v,p()):h},t.align=function(v){return arguments.length?(y=Math.max(0,Math.min(1,v)),p()):y},t.copy=function(){return Ac(n(),[a,o]).round(f).paddingInner(m).paddingOuter(h).align(y)},ci.apply(p(),arguments)}function Nx(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Nx(n())},t}function Ux(){return Nx(Ac.apply(null,arguments).paddingInner(1))}function $m(t,n,i){t.prototype=n.prototype=i,i.constructor=t}function jx(t,n){var i=Object.create(t.prototype);for(var a in n)i[a]=n[a];return i}function Ko(){}var jo=.7,Hs=1/jo,Za="\\s*([+-]?\\d+)\\s*",$o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",er="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",KO=/^#([0-9a-f]{3,8})$/,FO=new RegExp(`^rgb\\(${Za},${Za},${Za}\\)$`),WO=new RegExp(`^rgb\\(${er},${er},${er}\\)$`),JO=new RegExp(`^rgba\\(${Za},${Za},${Za},${$o}\\)$`),t3=new RegExp(`^rgba\\(${er},${er},${er},${$o}\\)$`),e3=new RegExp(`^hsl\\(${$o},${er},${er}\\)$`),n3=new RegExp(`^hsla\\(${$o},${er},${er},${$o}\\)$`),dv={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};$m(Ko,Bo,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:hv,formatHex:hv,formatHex8:r3,formatHsl:i3,formatRgb:mv,toString:mv});function hv(){return this.rgb().formatHex()}function r3(){return this.rgb().formatHex8()}function i3(){return $x(this).formatHsl()}function mv(){return this.rgb().formatRgb()}function Bo(t){var n,i;return t=(t+"").trim().toLowerCase(),(n=KO.exec(t))?(i=n[1].length,n=parseInt(n[1],16),i===6?gv(n):i===3?new We(n>>8&15|n>>4&240,n>>4&15|n&240,(n&15)<<4|n&15,1):i===8?Ss(n>>24&255,n>>16&255,n>>8&255,(n&255)/255):i===4?Ss(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|n&240,((n&15)<<4|n&15)/255):null):(n=FO.exec(t))?new We(n[1],n[2],n[3],1):(n=WO.exec(t))?new We(n[1]*255/100,n[2]*255/100,n[3]*255/100,1):(n=JO.exec(t))?Ss(n[1],n[2],n[3],n[4]):(n=t3.exec(t))?Ss(n[1]*255/100,n[2]*255/100,n[3]*255/100,n[4]):(n=e3.exec(t))?vv(n[1],n[2]/100,n[3]/100,1):(n=n3.exec(t))?vv(n[1],n[2]/100,n[3]/100,n[4]):dv.hasOwnProperty(t)?gv(dv[t]):t==="transparent"?new We(NaN,NaN,NaN,0):null}function gv(t){return new We(t>>16&255,t>>8&255,t&255,1)}function Ss(t,n,i,a){return a<=0&&(t=n=i=NaN),new We(t,n,i,a)}function a3(t){return t instanceof Ko||(t=Bo(t)),t?(t=t.rgb(),new We(t.r,t.g,t.b,t.opacity)):new We}function Qh(t,n,i,a){return arguments.length===1?a3(t):new We(t,n,i,a??1)}function We(t,n,i,a){this.r=+t,this.g=+n,this.b=+i,this.opacity=+a}$m(We,Qh,jx(Ko,{brighter(t){return t=t==null?Hs:Math.pow(Hs,t),new We(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?jo:Math.pow(jo,t),new We(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new We(zi(this.r),zi(this.g),zi(this.b),Ys(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:pv,formatHex:pv,formatHex8:l3,formatRgb:yv,toString:yv}));function pv(){return`#${Ri(this.r)}${Ri(this.g)}${Ri(this.b)}`}function l3(){return`#${Ri(this.r)}${Ri(this.g)}${Ri(this.b)}${Ri((isNaN(this.opacity)?1:this.opacity)*255)}`}function yv(){const t=Ys(this.opacity);return`${t===1?"rgb(":"rgba("}${zi(this.r)}, ${zi(this.g)}, ${zi(this.b)}${t===1?")":`, ${t})`}`}function Ys(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function zi(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ri(t){return t=zi(t),(t<16?"0":"")+t.toString(16)}function vv(t,n,i,a){return a<=0?t=n=i=NaN:i<=0||i>=1?t=n=NaN:n<=0&&(t=NaN),new Yn(t,n,i,a)}function $x(t){if(t instanceof Yn)return new Yn(t.h,t.s,t.l,t.opacity);if(t instanceof Ko||(t=Bo(t)),!t)return new Yn;if(t instanceof Yn)return t;t=t.rgb();var n=t.r/255,i=t.g/255,a=t.b/255,o=Math.min(n,i,a),s=Math.max(n,i,a),c=NaN,f=s-o,m=(s+o)/2;return f?(n===s?c=(i-a)/f+(i<a)*6:i===s?c=(a-n)/f+2:c=(n-i)/f+4,f/=m<.5?s+o:2-s-o,c*=60):f=m>0&&m<1?0:c,new Yn(c,f,m,t.opacity)}function o3(t,n,i,a){return arguments.length===1?$x(t):new Yn(t,n,i,a??1)}function Yn(t,n,i,a){this.h=+t,this.s=+n,this.l=+i,this.opacity=+a}$m(Yn,o3,jx(Ko,{brighter(t){return t=t==null?Hs:Math.pow(Hs,t),new Yn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?jo:Math.pow(jo,t),new Yn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,a=i+(i<.5?i:1-i)*n,o=2*i-a;return new We(yh(t>=240?t-240:t+120,o,a),yh(t,o,a),yh(t<120?t+240:t-120,o,a),this.opacity)},clamp(){return new Yn(bv(this.h),As(this.s),As(this.l),Ys(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Ys(this.opacity);return`${t===1?"hsl(":"hsla("}${bv(this.h)}, ${As(this.s)*100}%, ${As(this.l)*100}%${t===1?")":`, ${t})`}`}}));function bv(t){return t=(t||0)%360,t<0?t+360:t}function As(t){return Math.max(0,Math.min(1,t||0))}function yh(t,n,i){return(t<60?n+(i-n)*t/60:t<180?i:t<240?n+(i-n)*(240-t)/60:n)*255}const Bm=t=>()=>t;function u3(t,n){return function(i){return t+i*n}}function s3(t,n,i){return t=Math.pow(t,i),n=Math.pow(n,i)-t,i=1/i,function(a){return Math.pow(t+a*n,i)}}function c3(t){return(t=+t)==1?Bx:function(n,i){return i-n?s3(n,i,t):Bm(isNaN(n)?i:n)}}function Bx(t,n){var i=n-t;return i?u3(t,i):Bm(isNaN(t)?n:t)}const xv=function t(n){var i=c3(n);function a(o,s){var c=i((o=Qh(o)).r,(s=Qh(s)).r),f=i(o.g,s.g),m=i(o.b,s.b),h=Bx(o.opacity,s.opacity);return function(y){return o.r=c(y),o.g=f(y),o.b=m(y),o.opacity=h(y),o+""}}return a.gamma=t,a}(1);function f3(t,n){n||(n=[]);var i=t?Math.min(n.length,t.length):0,a=n.slice(),o;return function(s){for(o=0;o<i;++o)a[o]=t[o]*(1-s)+n[o]*s;return a}}function d3(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function h3(t,n){var i=n?n.length:0,a=t?Math.min(i,t.length):0,o=new Array(a),s=new Array(i),c;for(c=0;c<a;++c)o[c]=Tc(t[c],n[c]);for(;c<i;++c)s[c]=n[c];return function(f){for(c=0;c<a;++c)s[c]=o[c](f);return s}}function Lm(t,n){var i=new Date;return t=+t,n=+n,function(a){return i.setTime(t*(1-a)+n*a),i}}function xe(t,n){return t=+t,n=+n,function(i){return t*(1-i)+n*i}}function m3(t,n){var i={},a={},o;(t===null||typeof t!="object")&&(t={}),(n===null||typeof n!="object")&&(n={});for(o in n)o in t?i[o]=Tc(t[o],n[o]):a[o]=n[o];return function(s){for(o in i)a[o]=i[o](s);return a}}var Kh=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,vh=new RegExp(Kh.source,"g");function g3(t){return function(){return t}}function p3(t){return function(n){return t(n)+""}}function y3(t,n){var i=Kh.lastIndex=vh.lastIndex=0,a,o,s,c=-1,f=[],m=[];for(t=t+"",n=n+"";(a=Kh.exec(t))&&(o=vh.exec(n));)(s=o.index)>i&&(s=n.slice(i,s),f[c]?f[c]+=s:f[++c]=s),(a=a[0])===(o=o[0])?f[c]?f[c]+=o:f[++c]=o:(f[++c]=null,m.push({i:c,x:xe(a,o)})),i=vh.lastIndex;return i<n.length&&(s=n.slice(i),f[c]?f[c]+=s:f[++c]=s),f.length<2?m[0]?p3(m[0].x):g3(n):(n=m.length,function(h){for(var y=0,p;y<n;++y)f[(p=m[y]).i]=p.x(h);return f.join("")})}function Tc(t,n){var i=typeof n,a;return n==null||i==="boolean"?Bm(n):(i==="number"?xe:i==="string"?(a=Bo(n))?(n=a,xv):y3:n instanceof Bo?xv:n instanceof Date?Lm:d3(n)?f3:Array.isArray(n)?h3:typeof n.valueOf!="function"&&typeof n.toString!="function"||isNaN(n)?m3:xe)(t,n)}function Lx(t,n){return t=+t,n=+n,function(i){return Math.round(t*(1-i)+n*i)}}function v3(t){return function(){return t}}function b3(t){return+t}var Sv=[0,1];function En(t){return t}function Fh(t,n){return(n-=t=+t)?function(i){return(i-t)/n}:v3(isNaN(n)?NaN:.5)}function x3(t,n){var i;return t>n&&(i=t,t=n,n=i),function(a){return Math.max(t,Math.min(n,a))}}function S3(t,n,i){var a=t[0],o=t[1],s=n[0],c=n[1];return o<a?(a=Fh(o,a),s=i(c,s)):(a=Fh(a,o),s=i(s,c)),function(f){return s(a(f))}}function A3(t,n,i){var a=Math.min(t.length,n.length)-1,o=new Array(a),s=new Array(a),c=-1;for(t[a]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++c<a;)o[c]=Fh(t[c],t[c+1]),s[c]=i(n[c],n[c+1]);return function(f){var m=zx(t,f,1,a)-1;return s[m](o[m](f))}}function Cc(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Hm(){var t=Sv,n=Sv,i=Tc,a,o,s,c=En,f,m,h;function y(){var v=Math.min(t.length,n.length);return c!==En&&(c=x3(t[0],t[v-1])),f=v>2?A3:S3,m=h=null,p}function p(v){return v==null||isNaN(v=+v)?s:(m||(m=f(t.map(a),n,i)))(a(c(v)))}return p.invert=function(v){return c(o((h||(h=f(n,t.map(a),xe)))(v)))},p.domain=function(v){return arguments.length?(t=Array.from(v,b3),y()):t.slice()},p.range=function(v){return arguments.length?(n=Array.from(v),y()):n.slice()},p.rangeRound=function(v){return n=Array.from(v),i=Lx,y()},p.clamp=function(v){return arguments.length?(c=v?!0:En,y()):c!==En},p.interpolate=function(v){return arguments.length?(i=v,y()):i},p.unknown=function(v){return arguments.length?(s=v,p):s},function(v,b){return a=v,o=b,y()}}function Hx(){return Hm()(En,En)}function T3(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Gs(t,n){if((i=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var i,a=t.slice(0,i);return[a.length>1?a[0]+a.slice(2):a,+t.slice(i+1)]}function Ja(t){return t=Gs(Math.abs(t)),t?t[1]:NaN}function C3(t,n){return function(i,a){for(var o=i.length,s=[],c=0,f=t[0],m=0;o>0&&f>0&&(m+f+1>a&&(f=Math.max(1,a-m)),s.push(i.substring(o-=f,o+f)),!((m+=f+1)>a));)f=t[c=(c+1)%t.length];return s.reverse().join(n)}}function w3(t){return function(n){return n.replace(/[0-9]/g,function(i){return t[+i]})}}var M3=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Lo(t){if(!(n=M3.exec(t)))throw new Error("invalid format: "+t);var n;return new Ym({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}Lo.prototype=Ym.prototype;function Ym(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}Ym.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function E3(t){t:for(var n=t.length,i=1,a=-1,o;i<n;++i)switch(t[i]){case".":a=o=i;break;case"0":a===0&&(a=i),o=i;break;default:if(!+t[i])break t;a>0&&(a=0);break}return a>0?t.slice(0,a)+t.slice(o+1):t}var Yx;function O3(t,n){var i=Gs(t,n);if(!i)return t+"";var a=i[0],o=i[1],s=o-(Yx=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,c=a.length;return s===c?a:s>c?a+new Array(s-c+1).join("0"):s>0?a.slice(0,s)+"."+a.slice(s):"0."+new Array(1-s).join("0")+Gs(t,Math.max(0,n+s-1))[0]}function Av(t,n){var i=Gs(t,n);if(!i)return t+"";var a=i[0],o=i[1];return o<0?"0."+new Array(-o).join("0")+a:a.length>o+1?a.slice(0,o+1)+"."+a.slice(o+1):a+new Array(o-a.length+2).join("0")}const Tv={"%":(t,n)=>(t*100).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:T3,e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>Av(t*100,n),r:Av,s:O3,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Cv(t){return t}var wv=Array.prototype.map,Mv=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function _3(t){var n=t.grouping===void 0||t.thousands===void 0?Cv:C3(wv.call(t.grouping,Number),t.thousands+""),i=t.currency===void 0?"":t.currency[0]+"",a=t.currency===void 0?"":t.currency[1]+"",o=t.decimal===void 0?".":t.decimal+"",s=t.numerals===void 0?Cv:w3(wv.call(t.numerals,String)),c=t.percent===void 0?"%":t.percent+"",f=t.minus===void 0?"−":t.minus+"",m=t.nan===void 0?"NaN":t.nan+"";function h(p){p=Lo(p);var v=p.fill,b=p.align,S=p.sign,x=p.symbol,C=p.zero,E=p.width,k=p.comma,O=p.precision,R=p.trim,M=p.type;M==="n"?(k=!0,M="g"):Tv[M]||(O===void 0&&(O=12),R=!0,M="g"),(C||v==="0"&&b==="=")&&(C=!0,v="0",b="=");var _=x==="$"?i:x==="#"&&/[boxX]/.test(M)?"0"+M.toLowerCase():"",D=x==="$"?a:/[%p]/.test(M)?c:"",L=Tv[M],$=/[defgprs%]/.test(M);O=O===void 0?6:/[gprs]/.test(M)?Math.max(1,Math.min(21,O)):Math.max(0,Math.min(20,O));function T(N){var X=_,K=D,it,ot,j;if(M==="c")K=L(N)+K,N="";else{N=+N;var P=N<0||1/N<0;if(N=isNaN(N)?m:L(Math.abs(N),O),R&&(N=E3(N)),P&&+N==0&&S!=="+"&&(P=!1),X=(P?S==="("?S:f:S==="-"||S==="("?"":S)+X,K=(M==="s"?Mv[8+Yx/3]:"")+K+(P&&S==="("?")":""),$){for(it=-1,ot=N.length;++it<ot;)if(j=N.charCodeAt(it),48>j||j>57){K=(j===46?o+N.slice(it+1):N.slice(it))+K,N=N.slice(0,it);break}}}k&&!C&&(N=n(N,1/0));var nt=X.length+N.length+K.length,ut=nt<E?new Array(E-nt+1).join(v):"";switch(k&&C&&(N=n(ut+N,ut.length?E-K.length:1/0),ut=""),b){case"<":N=X+N+K+ut;break;case"=":N=X+ut+N+K;break;case"^":N=ut.slice(0,nt=ut.length>>1)+X+N+K+ut.slice(nt);break;default:N=ut+X+N+K;break}return s(N)}return T.toString=function(){return p+""},T}function y(p,v){var b=h((p=Lo(p),p.type="f",p)),S=Math.max(-8,Math.min(8,Math.floor(Ja(v)/3)))*3,x=Math.pow(10,-S),C=Mv[8+S/3];return function(E){return b(x*E)+C}}return{format:h,formatPrefix:y}}var Ts,Gm,Gx;R3({thousands:",",grouping:[3],currency:["$",""]});function R3(t){return Ts=_3(t),Gm=Ts.format,Gx=Ts.formatPrefix,Ts}function k3(t){return Math.max(0,-Ja(Math.abs(t)))}function D3(t,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ja(n)/3)))*3-Ja(Math.abs(t)))}function z3(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Ja(n)-Ja(t))+1}function N3(t,n,i,a){var o=Zh(t,n,i),s;switch(a=Lo(a??",f"),a.type){case"s":{var c=Math.max(Math.abs(t),Math.abs(n));return a.precision==null&&!isNaN(s=D3(o,c))&&(a.precision=s),Gx(a,c)}case"":case"e":case"g":case"p":case"r":{a.precision==null&&!isNaN(s=z3(o,Math.max(Math.abs(t),Math.abs(n))))&&(a.precision=s-(a.type==="e"));break}case"f":case"%":{a.precision==null&&!isNaN(s=k3(o))&&(a.precision=s-(a.type==="%")*2);break}}return Gm(a)}function qm(t){var n=t.domain;return t.ticks=function(i){var a=n();return Xh(a[0],a[a.length-1],i??10)},t.tickFormat=function(i,a){var o=n();return N3(o[0],o[o.length-1],i??10,a)},t.nice=function(i){i==null&&(i=10);var a=n(),o=0,s=a.length-1,c=a[o],f=a[s],m,h,y=10;for(f<c&&(h=c,c=f,f=h,h=o,o=s,s=h);y-- >0;){if(h=Ph(c,f,i),h===m)return a[o]=c,a[s]=f,n(a);if(h>0)c=Math.floor(c/h)*h,f=Math.ceil(f/h)*h;else if(h<0)c=Math.ceil(c*h)/h,f=Math.floor(f*h)/h;else break;m=h}return t},t}function qx(){var t=Hx();return t.copy=function(){return Cc(t,qx())},ci.apply(t,arguments),qm(t)}function Ix(t,n){t=t.slice();var i=0,a=t.length-1,o=t[i],s=t[a],c;return s<o&&(c=i,i=a,a=c,c=o,o=s,s=c),t[i]=n.floor(o),t[a]=n.ceil(s),t}function Ev(t){return Math.log(t)}function Ov(t){return Math.exp(t)}function U3(t){return-Math.log(-t)}function j3(t){return-Math.exp(-t)}function $3(t){return isFinite(t)?+("1e"+t):t<0?0:t}function B3(t){return t===10?$3:t===Math.E?Math.exp:n=>Math.pow(t,n)}function L3(t){return t===Math.E?Math.log:t===10&&Math.log10||t===2&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}function _v(t){return(n,i)=>-t(-n,i)}function H3(t){const n=t(Ev,Ov),i=n.domain;let a=10,o,s;function c(){return o=L3(a),s=B3(a),i()[0]<0?(o=_v(o),s=_v(s),t(U3,j3)):t(Ev,Ov),n}return n.base=function(f){return arguments.length?(a=+f,c()):a},n.domain=function(f){return arguments.length?(i(f),c()):i()},n.ticks=f=>{const m=i();let h=m[0],y=m[m.length-1];const p=y<h;p&&([h,y]=[y,h]);let v=o(h),b=o(y),S,x;const C=f==null?10:+f;let E=[];if(!(a%1)&&b-v<C){if(v=Math.floor(v),b=Math.ceil(b),h>0){for(;v<=b;++v)for(S=1;S<a;++S)if(x=v<0?S/s(-v):S*s(v),!(x<h)){if(x>y)break;E.push(x)}}else for(;v<=b;++v)for(S=a-1;S>=1;--S)if(x=v>0?S/s(-v):S*s(v),!(x<h)){if(x>y)break;E.push(x)}E.length*2<C&&(E=Xh(h,y,C))}else E=Xh(v,b,Math.min(b-v,C)).map(s);return p?E.reverse():E},n.tickFormat=(f,m)=>{if(f==null&&(f=10),m==null&&(m=a===10?"s":","),typeof m!="function"&&(!(a%1)&&(m=Lo(m)).precision==null&&(m.trim=!0),m=Gm(m)),f===1/0)return m;const h=Math.max(1,a*f/n.ticks().length);return y=>{let p=y/s(Math.round(o(y)));return p*a<a-.5&&(p*=a),p<=h?m(y):""}},n.nice=()=>i(Ix(i(),{floor:f=>s(Math.floor(o(f))),ceil:f=>s(Math.ceil(o(f)))})),n}function Vx(){const t=H3(Hm()).domain([1,10]);return t.copy=()=>Cc(t,Vx()).base(t.base()),ci.apply(t,arguments),t}function Rv(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Y3(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function G3(t){return t<0?-t*t:t*t}function q3(t){var n=t(En,En),i=1;function a(){return i===1?t(En,En):i===.5?t(Y3,G3):t(Rv(i),Rv(1/i))}return n.exponent=function(o){return arguments.length?(i=+o,a()):i},qm(n)}function Im(){var t=q3(Hm());return t.copy=function(){return Cc(t,Im()).exponent(t.exponent())},ci.apply(t,arguments),t}function I3(){return Im.apply(null,arguments).exponent(.5)}function Xx(){var t=[.5],n=[0,1],i,a=1;function o(s){return s!=null&&s<=s?n[zx(t,s,0,a)]:i}return o.domain=function(s){return arguments.length?(t=Array.from(s),a=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(s){return arguments.length?(n=Array.from(s),a=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(s){var c=n.indexOf(s);return[t[c-1],t[c]]},o.unknown=function(s){return arguments.length?(i=s,o):i},o.copy=function(){return Xx().domain(t).range(n).unknown(i)},ci.apply(o,arguments)}const bh=new Date,xh=new Date;function Se(t,n,i,a){function o(s){return t(s=arguments.length===0?new Date:new Date(+s)),s}return o.floor=s=>(t(s=new Date(+s)),s),o.ceil=s=>(t(s=new Date(s-1)),n(s,1),t(s),s),o.round=s=>{const c=o(s),f=o.ceil(s);return s-c<f-s?c:f},o.offset=(s,c)=>(n(s=new Date(+s),c==null?1:Math.floor(c)),s),o.range=(s,c,f)=>{const m=[];if(s=o.ceil(s),f=f==null?1:Math.floor(f),!(s<c)||!(f>0))return m;let h;do m.push(h=new Date(+s)),n(s,f),t(s);while(h<s&&s<c);return m},o.filter=s=>Se(c=>{if(c>=c)for(;t(c),!s(c);)c.setTime(c-1)},(c,f)=>{if(c>=c)if(f<0)for(;++f<=0;)for(;n(c,-1),!s(c););else for(;--f>=0;)for(;n(c,1),!s(c););}),i&&(o.count=(s,c)=>(bh.setTime(+s),xh.setTime(+c),t(bh),t(xh),Math.floor(i(bh,xh))),o.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?o.filter(a?c=>a(c)%s===0:c=>o.count(0,c)%s===0):o)),o}const qs=Se(()=>{},(t,n)=>{t.setTime(+t+n)},(t,n)=>n-t);qs.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?Se(n=>{n.setTime(Math.floor(n/t)*t)},(n,i)=>{n.setTime(+n+i*t)},(n,i)=>(i-n)/t):qs);qs.range;const wr=1e3,On=wr*60,Mr=On*60,kr=Mr*24,Vm=kr*7,kv=kr*30,Sh=kr*365,ki=Se(t=>{t.setTime(t-t.getMilliseconds())},(t,n)=>{t.setTime(+t+n*wr)},(t,n)=>(n-t)/wr,t=>t.getUTCSeconds());ki.range;const Xm=Se(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*wr)},(t,n)=>{t.setTime(+t+n*On)},(t,n)=>(n-t)/On,t=>t.getMinutes());Xm.range;const Pm=Se(t=>{t.setUTCSeconds(0,0)},(t,n)=>{t.setTime(+t+n*On)},(t,n)=>(n-t)/On,t=>t.getUTCMinutes());Pm.range;const Zm=Se(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*wr-t.getMinutes()*On)},(t,n)=>{t.setTime(+t+n*Mr)},(t,n)=>(n-t)/Mr,t=>t.getHours());Zm.range;const Qm=Se(t=>{t.setUTCMinutes(0,0,0)},(t,n)=>{t.setTime(+t+n*Mr)},(t,n)=>(n-t)/Mr,t=>t.getUTCHours());Qm.range;const Fo=Se(t=>t.setHours(0,0,0,0),(t,n)=>t.setDate(t.getDate()+n),(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*On)/kr,t=>t.getDate()-1);Fo.range;const wc=Se(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/kr,t=>t.getUTCDate()-1);wc.range;const Px=Se(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/kr,t=>Math.floor(t/kr));Px.range;function Hi(t){return Se(n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},(n,i)=>{n.setDate(n.getDate()+i*7)},(n,i)=>(i-n-(i.getTimezoneOffset()-n.getTimezoneOffset())*On)/Vm)}const Mc=Hi(0),Is=Hi(1),V3=Hi(2),X3=Hi(3),tl=Hi(4),P3=Hi(5),Z3=Hi(6);Mc.range;Is.range;V3.range;X3.range;tl.range;P3.range;Z3.range;function Yi(t){return Se(n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},(n,i)=>{n.setUTCDate(n.getUTCDate()+i*7)},(n,i)=>(i-n)/Vm)}const Ec=Yi(0),Vs=Yi(1),Q3=Yi(2),K3=Yi(3),el=Yi(4),F3=Yi(5),W3=Yi(6);Ec.range;Vs.range;Q3.range;K3.range;el.range;F3.range;W3.range;const Km=Se(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,n)=>{t.setMonth(t.getMonth()+n)},(t,n)=>n.getMonth()-t.getMonth()+(n.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Km.range;const Fm=Se(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)},(t,n)=>n.getUTCMonth()-t.getUTCMonth()+(n.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Fm.range;const Dr=Se(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n)},(t,n)=>n.getFullYear()-t.getFullYear(),t=>t.getFullYear());Dr.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Se(n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},(n,i)=>{n.setFullYear(n.getFullYear()+i*t)});Dr.range;const zr=Se(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)},(t,n)=>n.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());zr.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Se(n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},(n,i)=>{n.setUTCFullYear(n.getUTCFullYear()+i*t)});zr.range;function Zx(t,n,i,a,o,s){const c=[[ki,1,wr],[ki,5,5*wr],[ki,15,15*wr],[ki,30,30*wr],[s,1,On],[s,5,5*On],[s,15,15*On],[s,30,30*On],[o,1,Mr],[o,3,3*Mr],[o,6,6*Mr],[o,12,12*Mr],[a,1,kr],[a,2,2*kr],[i,1,Vm],[n,1,kv],[n,3,3*kv],[t,1,Sh]];function f(h,y,p){const v=y<h;v&&([h,y]=[y,h]);const b=p&&typeof p.range=="function"?p:m(h,y,p),S=b?b.range(h,+y+1):[];return v?S.reverse():S}function m(h,y,p){const v=Math.abs(y-h)/p,b=jm(([,,C])=>C).right(c,v);if(b===c.length)return t.every(Zh(h/Sh,y/Sh,p));if(b===0)return qs.every(Math.max(Zh(h,y,p),1));const[S,x]=c[v/c[b-1][2]<c[b][2]/v?b-1:b];return S.every(x)}return[f,m]}const[J3,t_]=Zx(zr,Fm,Ec,Px,Qm,Pm),[e_,n_]=Zx(Dr,Km,Mc,Fo,Zm,Xm);function Ah(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Th(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function yo(t,n,i){return{y:t,m:n,d:i,H:0,M:0,S:0,L:0}}function r_(t){var n=t.dateTime,i=t.date,a=t.time,o=t.periods,s=t.days,c=t.shortDays,f=t.months,m=t.shortMonths,h=vo(o),y=bo(o),p=vo(s),v=bo(s),b=vo(c),S=bo(c),x=vo(f),C=bo(f),E=vo(m),k=bo(m),O={a:P,A:nt,b:ut,B:z,c:null,d:$v,e:$v,f:M_,g:j_,G:B_,H:T_,I:C_,j:w_,L:Qx,m:E_,M:O_,p:F,q:at,Q:Hv,s:Yv,S:__,u:R_,U:k_,V:D_,w:z_,W:N_,x:null,X:null,y:U_,Y:$_,Z:L_,"%":Lv},R={a:lt,A:ct,b:yt,B:dt,c:null,d:Bv,e:Bv,f:q_,g:J_,G:eR,H:H_,I:Y_,j:G_,L:Fx,m:I_,M:V_,p:gt,q:mt,Q:Hv,s:Yv,S:X_,u:P_,U:Z_,V:Q_,w:K_,W:F_,x:null,X:null,y:W_,Y:tR,Z:nR,"%":Lv},M={a:T,A:N,b:X,B:K,c:it,d:Uv,e:Uv,f:b_,g:Nv,G:zv,H:jv,I:jv,j:g_,L:v_,m:m_,M:p_,p:$,q:h_,Q:S_,s:A_,S:y_,u:u_,U:s_,V:c_,w:o_,W:f_,x:ot,X:j,y:Nv,Y:zv,Z:d_,"%":x_};O.x=_(i,O),O.X=_(a,O),O.c=_(n,O),R.x=_(i,R),R.X=_(a,R),R.c=_(n,R);function _(st,xt){return function(bt){var rt=[],Rt=-1,vt=0,Bt=st.length,Wt,Yt,Ae;for(bt instanceof Date||(bt=new Date(+bt));++Rt<Bt;)st.charCodeAt(Rt)===37&&(rt.push(st.slice(vt,Rt)),(Yt=Dv[Wt=st.charAt(++Rt)])!=null?Wt=st.charAt(++Rt):Yt=Wt==="e"?" ":"0",(Ae=xt[Wt])&&(Wt=Ae(bt,Yt)),rt.push(Wt),vt=Rt+1);return rt.push(st.slice(vt,Rt)),rt.join("")}}function D(st,xt){return function(bt){var rt=yo(1900,void 0,1),Rt=L(rt,st,bt+="",0),vt,Bt;if(Rt!=bt.length)return null;if("Q"in rt)return new Date(rt.Q);if("s"in rt)return new Date(rt.s*1e3+("L"in rt?rt.L:0));if(xt&&!("Z"in rt)&&(rt.Z=0),"p"in rt&&(rt.H=rt.H%12+rt.p*12),rt.m===void 0&&(rt.m="q"in rt?rt.q:0),"V"in rt){if(rt.V<1||rt.V>53)return null;"w"in rt||(rt.w=1),"Z"in rt?(vt=Th(yo(rt.y,0,1)),Bt=vt.getUTCDay(),vt=Bt>4||Bt===0?Vs.ceil(vt):Vs(vt),vt=wc.offset(vt,(rt.V-1)*7),rt.y=vt.getUTCFullYear(),rt.m=vt.getUTCMonth(),rt.d=vt.getUTCDate()+(rt.w+6)%7):(vt=Ah(yo(rt.y,0,1)),Bt=vt.getDay(),vt=Bt>4||Bt===0?Is.ceil(vt):Is(vt),vt=Fo.offset(vt,(rt.V-1)*7),rt.y=vt.getFullYear(),rt.m=vt.getMonth(),rt.d=vt.getDate()+(rt.w+6)%7)}else("W"in rt||"U"in rt)&&("w"in rt||(rt.w="u"in rt?rt.u%7:"W"in rt?1:0),Bt="Z"in rt?Th(yo(rt.y,0,1)).getUTCDay():Ah(yo(rt.y,0,1)).getDay(),rt.m=0,rt.d="W"in rt?(rt.w+6)%7+rt.W*7-(Bt+5)%7:rt.w+rt.U*7-(Bt+6)%7);return"Z"in rt?(rt.H+=rt.Z/100|0,rt.M+=rt.Z%100,Th(rt)):Ah(rt)}}function L(st,xt,bt,rt){for(var Rt=0,vt=xt.length,Bt=bt.length,Wt,Yt;Rt<vt;){if(rt>=Bt)return-1;if(Wt=xt.charCodeAt(Rt++),Wt===37){if(Wt=xt.charAt(Rt++),Yt=M[Wt in Dv?xt.charAt(Rt++):Wt],!Yt||(rt=Yt(st,bt,rt))<0)return-1}else if(Wt!=bt.charCodeAt(rt++))return-1}return rt}function $(st,xt,bt){var rt=h.exec(xt.slice(bt));return rt?(st.p=y.get(rt[0].toLowerCase()),bt+rt[0].length):-1}function T(st,xt,bt){var rt=b.exec(xt.slice(bt));return rt?(st.w=S.get(rt[0].toLowerCase()),bt+rt[0].length):-1}function N(st,xt,bt){var rt=p.exec(xt.slice(bt));return rt?(st.w=v.get(rt[0].toLowerCase()),bt+rt[0].length):-1}function X(st,xt,bt){var rt=E.exec(xt.slice(bt));return rt?(st.m=k.get(rt[0].toLowerCase()),bt+rt[0].length):-1}function K(st,xt,bt){var rt=x.exec(xt.slice(bt));return rt?(st.m=C.get(rt[0].toLowerCase()),bt+rt[0].length):-1}function it(st,xt,bt){return L(st,n,xt,bt)}function ot(st,xt,bt){return L(st,i,xt,bt)}function j(st,xt,bt){return L(st,a,xt,bt)}function P(st){return c[st.getDay()]}function nt(st){return s[st.getDay()]}function ut(st){return m[st.getMonth()]}function z(st){return f[st.getMonth()]}function F(st){return o[+(st.getHours()>=12)]}function at(st){return 1+~~(st.getMonth()/3)}function lt(st){return c[st.getUTCDay()]}function ct(st){return s[st.getUTCDay()]}function yt(st){return m[st.getUTCMonth()]}function dt(st){return f[st.getUTCMonth()]}function gt(st){return o[+(st.getUTCHours()>=12)]}function mt(st){return 1+~~(st.getUTCMonth()/3)}return{format:function(st){var xt=_(st+="",O);return xt.toString=function(){return st},xt},parse:function(st){var xt=D(st+="",!1);return xt.toString=function(){return st},xt},utcFormat:function(st){var xt=_(st+="",R);return xt.toString=function(){return st},xt},utcParse:function(st){var xt=D(st+="",!0);return xt.toString=function(){return st},xt}}}var Dv={"-":"",_:" ",0:"0"},Oe=/^\s*\d+/,i_=/^%/,a_=/[\\^$*+?|[\]().{}]/g;function zt(t,n,i){var a=t<0?"-":"",o=(a?-t:t)+"",s=o.length;return a+(s<i?new Array(i-s+1).join(n)+o:o)}function l_(t){return t.replace(a_,"\\$&")}function vo(t){return new RegExp("^(?:"+t.map(l_).join("|")+")","i")}function bo(t){return new Map(t.map((n,i)=>[n.toLowerCase(),i]))}function o_(t,n,i){var a=Oe.exec(n.slice(i,i+1));return a?(t.w=+a[0],i+a[0].length):-1}function u_(t,n,i){var a=Oe.exec(n.slice(i,i+1));return a?(t.u=+a[0],i+a[0].length):-1}function s_(t,n,i){var a=Oe.exec(n.slice(i,i+2));return a?(t.U=+a[0],i+a[0].length):-1}function c_(t,n,i){var a=Oe.exec(n.slice(i,i+2));return a?(t.V=+a[0],i+a[0].length):-1}function f_(t,n,i){var a=Oe.exec(n.slice(i,i+2));return a?(t.W=+a[0],i+a[0].length):-1}function zv(t,n,i){var a=Oe.exec(n.slice(i,i+4));return a?(t.y=+a[0],i+a[0].length):-1}function Nv(t,n,i){var a=Oe.exec(n.slice(i,i+2));return a?(t.y=+a[0]+(+a[0]>68?1900:2e3),i+a[0].length):-1}function d_(t,n,i){var a=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(i,i+6));return a?(t.Z=a[1]?0:-(a[2]+(a[3]||"00")),i+a[0].length):-1}function h_(t,n,i){var a=Oe.exec(n.slice(i,i+1));return a?(t.q=a[0]*3-3,i+a[0].length):-1}function m_(t,n,i){var a=Oe.exec(n.slice(i,i+2));return a?(t.m=a[0]-1,i+a[0].length):-1}function Uv(t,n,i){var a=Oe.exec(n.slice(i,i+2));return a?(t.d=+a[0],i+a[0].length):-1}function g_(t,n,i){var a=Oe.exec(n.slice(i,i+3));return a?(t.m=0,t.d=+a[0],i+a[0].length):-1}function jv(t,n,i){var a=Oe.exec(n.slice(i,i+2));return a?(t.H=+a[0],i+a[0].length):-1}function p_(t,n,i){var a=Oe.exec(n.slice(i,i+2));return a?(t.M=+a[0],i+a[0].length):-1}function y_(t,n,i){var a=Oe.exec(n.slice(i,i+2));return a?(t.S=+a[0],i+a[0].length):-1}function v_(t,n,i){var a=Oe.exec(n.slice(i,i+3));return a?(t.L=+a[0],i+a[0].length):-1}function b_(t,n,i){var a=Oe.exec(n.slice(i,i+6));return a?(t.L=Math.floor(a[0]/1e3),i+a[0].length):-1}function x_(t,n,i){var a=i_.exec(n.slice(i,i+1));return a?i+a[0].length:-1}function S_(t,n,i){var a=Oe.exec(n.slice(i));return a?(t.Q=+a[0],i+a[0].length):-1}function A_(t,n,i){var a=Oe.exec(n.slice(i));return a?(t.s=+a[0],i+a[0].length):-1}function $v(t,n){return zt(t.getDate(),n,2)}function T_(t,n){return zt(t.getHours(),n,2)}function C_(t,n){return zt(t.getHours()%12||12,n,2)}function w_(t,n){return zt(1+Fo.count(Dr(t),t),n,3)}function Qx(t,n){return zt(t.getMilliseconds(),n,3)}function M_(t,n){return Qx(t,n)+"000"}function E_(t,n){return zt(t.getMonth()+1,n,2)}function O_(t,n){return zt(t.getMinutes(),n,2)}function __(t,n){return zt(t.getSeconds(),n,2)}function R_(t){var n=t.getDay();return n===0?7:n}function k_(t,n){return zt(Mc.count(Dr(t)-1,t),n,2)}function Kx(t){var n=t.getDay();return n>=4||n===0?tl(t):tl.ceil(t)}function D_(t,n){return t=Kx(t),zt(tl.count(Dr(t),t)+(Dr(t).getDay()===4),n,2)}function z_(t){return t.getDay()}function N_(t,n){return zt(Is.count(Dr(t)-1,t),n,2)}function U_(t,n){return zt(t.getFullYear()%100,n,2)}function j_(t,n){return t=Kx(t),zt(t.getFullYear()%100,n,2)}function $_(t,n){return zt(t.getFullYear()%1e4,n,4)}function B_(t,n){var i=t.getDay();return t=i>=4||i===0?tl(t):tl.ceil(t),zt(t.getFullYear()%1e4,n,4)}function L_(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+zt(n/60|0,"0",2)+zt(n%60,"0",2)}function Bv(t,n){return zt(t.getUTCDate(),n,2)}function H_(t,n){return zt(t.getUTCHours(),n,2)}function Y_(t,n){return zt(t.getUTCHours()%12||12,n,2)}function G_(t,n){return zt(1+wc.count(zr(t),t),n,3)}function Fx(t,n){return zt(t.getUTCMilliseconds(),n,3)}function q_(t,n){return Fx(t,n)+"000"}function I_(t,n){return zt(t.getUTCMonth()+1,n,2)}function V_(t,n){return zt(t.getUTCMinutes(),n,2)}function X_(t,n){return zt(t.getUTCSeconds(),n,2)}function P_(t){var n=t.getUTCDay();return n===0?7:n}function Z_(t,n){return zt(Ec.count(zr(t)-1,t),n,2)}function Wx(t){var n=t.getUTCDay();return n>=4||n===0?el(t):el.ceil(t)}function Q_(t,n){return t=Wx(t),zt(el.count(zr(t),t)+(zr(t).getUTCDay()===4),n,2)}function K_(t){return t.getUTCDay()}function F_(t,n){return zt(Vs.count(zr(t)-1,t),n,2)}function W_(t,n){return zt(t.getUTCFullYear()%100,n,2)}function J_(t,n){return t=Wx(t),zt(t.getUTCFullYear()%100,n,2)}function tR(t,n){return zt(t.getUTCFullYear()%1e4,n,4)}function eR(t,n){var i=t.getUTCDay();return t=i>=4||i===0?el(t):el.ceil(t),zt(t.getUTCFullYear()%1e4,n,4)}function nR(){return"+0000"}function Lv(){return"%"}function Hv(t){return+t}function Yv(t){return Math.floor(+t/1e3)}var Ba,Jx,tS;rR({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function rR(t){return Ba=r_(t),Jx=Ba.format,Ba.parse,tS=Ba.utcFormat,Ba.utcParse,Ba}function iR(t){return new Date(t)}function aR(t){return t instanceof Date?+t:+new Date(+t)}function Wm(t,n,i,a,o,s,c,f,m,h){var y=Hx(),p=y.invert,v=y.domain,b=h(".%L"),S=h(":%S"),x=h("%I:%M"),C=h("%I %p"),E=h("%a %d"),k=h("%b %d"),O=h("%B"),R=h("%Y");function M(_){return(m(_)<_?b:f(_)<_?S:c(_)<_?x:s(_)<_?C:a(_)<_?o(_)<_?E:k:i(_)<_?O:R)(_)}return y.invert=function(_){return new Date(p(_))},y.domain=function(_){return arguments.length?v(Array.from(_,aR)):v().map(iR)},y.ticks=function(_){var D=v();return t(D[0],D[D.length-1],_??10)},y.tickFormat=function(_,D){return D==null?M:h(D)},y.nice=function(_){var D=v();return(!_||typeof _.range!="function")&&(_=n(D[0],D[D.length-1],_??10)),_?v(Ix(D,_)):y},y.copy=function(){return Cc(y,Wm(t,n,i,a,o,s,c,f,m,h))},y}function Jm(){return ci.apply(Wm(e_,n_,Dr,Km,Mc,Fo,Zm,Xm,ki,Jx).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function lR(){return ci.apply(Wm(J3,t_,zr,Fm,Ec,wc,Qm,Pm,ki,tS).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function oR(){var t=0,n=1,i,a,o,s,c=En,f=!1,m;function h(p){return p==null||isNaN(p=+p)?m:c(o===0?.5:(p=(s(p)-i)*o,f?Math.max(0,Math.min(1,p)):p))}h.domain=function(p){return arguments.length?([t,n]=p,i=s(t=+t),a=s(n=+n),o=i===a?0:1/(a-i),h):[t,n]},h.clamp=function(p){return arguments.length?(f=!!p,h):f},h.interpolator=function(p){return arguments.length?(c=p,h):c};function y(p){return function(v){var b,S;return arguments.length?([b,S]=v,c=p(b,S),h):[c(0),c(1)]}}return h.range=y(Tc),h.rangeRound=y(Lx),h.unknown=function(p){return arguments.length?(m=p,h):m},function(p){return s=p,i=p(t),a=p(n),o=i===a?0:1/(a-i),h}}function uR(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function eS(){var t=qm(oR()(En));return t.copy=function(){return uR(t,eS())},QO.apply(t,arguments)}function Xs(t){return t.scaleType==="band"}function t0(t){return t.scaleType==="point"}function sR(t){return t.type==="piecewise"?Xx(t.thresholds,t.colors):eS([t.min??0,t.max??100],t.color)}function nl(t){return t.values?Ls(t.values,t.colors).unknown(t.unknownColor??null):Ls(t.colors.map((n,i)=>i),t.colors).unknown(t.unknownColor??null)}function Ni(t){return t.type==="ordinal"?nl(t):sR(t)}function nS(t){const{tickMaxStep:n,tickMinStep:i,tickNumber:a,range:o,domain:s}=t,c=i===void 0?999:Math.floor(Math.abs(s[1]-s[0])/i),f=n===void 0?2:Math.ceil(Math.abs(s[1]-s[0])/n),m=a??Math.floor(Math.abs(o[1]-o[0])/50);return Math.min(c,Math.max(f,m))}function rS(t,n){return n[1]-n[0]===0?1:t/((n[1]-n[0])/100)}function e0(t,n,i){switch(t){case"log":return Vx(n,i);case"pow":return Im(n,i);case"sqrt":return I3(n,i);case"time":return Jm(n,i);case"utc":return lR(n,i);default:return qx(n,i)}}const Ch=(t,n)=>{const i=t[1]-t[0],a=n[1]-n[0],o=t[0]-n[0]*i/a,s=t[1]+(100-n[1])*i/a;return[o,s]};let Gv,qv;class cR{constructor(){if(this.types=new Set,Gv)throw new Error("You can only create one instance!");Gv=this.types}addType(n){this.types.add(n)}getTypes(){return this.types}}class fR{constructor(){if(this.types=new Set,qv)throw new Error("You can only create one instance!");qv=this.types}addType(n){this.types.add(n)}getTypes(){return this.types}}const Oc=new cR;Oc.addType("bar");Oc.addType("line");Oc.addType("scatter");const iS=new fR;iS.addType("radar");function n0(t){return Oc.getTypes().has(t)}const dR=(t,n,i,a,o,s,c,f)=>{var S;const m=a==="x"?o[n].xExtremumGetter:o[n].yExtremumGetter,h=((S=c[n])==null?void 0:S.series)??{},[y,p]=(m==null?void 0:m({series:h,axis:i,axisIndex:s,isDefaultAxis:s===0,getFilters:f}))??[1/0,-1/0],[v,b]=t;return[Math.min(y,v),Math.max(p,b)]},aS=(t,n,i,a,o,s)=>{const f=Object.keys(i).filter(n0).reduce((m,h)=>dR(m,h,t,n,i,a,o,s),[1/0,-1/0]);return Number.isNaN(f[0])||Number.isNaN(f[1])?[1/0,-1/0]:f},hR=(t,n,i,a)=>{const o=new Set;return Object.keys(n).filter(n0).forEach(c=>{var h,y,p;const f=((h=i[c])==null?void 0:h.series)??{},m=(p=(y=n[c]).axisTooltipGetter)==null?void 0:p.call(y,f);m!==void 0&&m.forEach(({axisId:v,direction:b})=>{b===t&&o.add(v??a)})}),o};function mR(t,n,i){const a=n==="x"?[t.left,t.left+t.width]:[t.top+t.height,t.top];return i.reverse?[a[1],a[0]]:a}const Iv=t=>(t==null?void 0:t[0])instanceof Date;function Vv(t,n){const i=Jm(t.data,n);return(a,{location:o})=>o==="tick"?i.tickFormat(t.tickNumber)(a):`${a.toLocaleString()}`}const gR=.2,pR=.1;function lS({drawingArea:t,formattedSeries:n,axis:i,seriesConfig:a,axisDirection:o,zoomMap:s,zoomOptions:c,getFilters:f}){if(i===void 0)return{axis:{},axisIds:[]};const m=hR(o,a,n,i[0].id),h={};return i.forEach((y,p)=>{const v=y,b=c==null?void 0:c[v.id],S=s==null?void 0:s.get(v.id),x=S?[S.start,S.end]:[0,100],C=mR(t,o,v),[E,k]=aS(v,o,a,p,n,S===void 0&&!b?f:void 0),O=!v.ignoreTooltip&&m.has(v.id),R=v.data??[];if(Xs(v)){const j=v.categoryGapRatio??gR,P=v.barGapRatio??pR,nt=o==="y"?[C[1],C[0]]:C,ut=Ch(nt,x);if(h[v.id]=I({offset:0,height:0,categoryGapRatio:j,barGapRatio:P,triggerTooltip:O},v,{data:R,scale:Ac(v.data,ut).paddingInner(j).paddingOuter(j/2),tickNumber:v.data.length,colorScale:v.colorMap&&(v.colorMap.type==="ordinal"?nl(I({values:v.data},v.colorMap)):Ni(v.colorMap))}),Iv(v.data)){const z=Vv(v,nt);h[v.id].valueFormatter=v.valueFormatter??z}}if(t0(v)){const j=o==="y"?[...C].reverse():C,P=Ch(j,x);if(h[v.id]=I({offset:0,height:0,triggerTooltip:O},v,{data:R,scale:Ux(v.data,P),tickNumber:v.data.length,colorScale:v.colorMap&&(v.colorMap.type==="ordinal"?nl(I({values:v.data},v.colorMap)):Ni(v.colorMap))}),Iv(v.data)){const nt=Vv(v,j);h[v.id].valueFormatter=v.valueFormatter??nt}}if(v.scaleType==="band"||v.scaleType==="point")return;const M=v.scaleType??"linear",_=v.domainLimit??"nice",D=[v.min??E,v.max??k];if(typeof _=="function"){const{min:j,max:P}=_(E,k);D[0]=j,D[1]=P}const L=nS(I({},v,{range:C,domain:D})),$=rS(L,x),T=Ch(C,x),N=e0(M,D,T),X=_==="nice"?N.nice(L):N,[K,it]=X.domain(),ot=[v.min??K,v.max??it];h[v.id]=I({offset:0,height:0,triggerTooltip:O},v,{data:R,scaleType:M,scale:X.domain(ot),tickNumber:$,colorScale:v.colorMap&&Ni(v.colorMap)})}),{axis:h,axisIds:i.map(({id:y})=>y)}}function yR(t){return t!=null}function oS({zoomMap:t,zoomOptions:n,seriesConfig:i,formattedSeries:a,direction:o}){return(s,c)=>{var C;const f=n[s.id];if(!f||f.filterMode!=="discard")return null;const m=t==null?void 0:t.get(s.id);if(m===void 0||m.start<=0&&m.end>=100)return null;let h=[];const y=s.scaleType;y==="point"||y==="band"?h=[0,(((C=s.data)==null?void 0:C.length)??1)-1]:h=aS(s,o,i,c,a);let p,v;[p,v]=e0(!y||y==="band"||y==="point"?"linear":y,h,[0,100]).nice().domain(),p=p instanceof Date?p.getTime():p,v=v instanceof Date?v.getTime():v;const S=p+m.start*(v-p)/100,x=p+m.end*(v-p)/100;return(E,k)=>{var R;const O=E[o]??((R=s.data)==null?void 0:R[k]);return O==null?!0:s.scaleType==="point"||s.scaleType==="band"||typeof O=="string"?k>=S&&k<=x:O>=S&&O<=x}}}const vR=t=>({currentAxisId:n,seriesXAxisId:i,seriesYAxisId:a,isDefaultAxis:o})=>(s,c)=>{var h,y;return!(n===i?a:i)||o?((y=(h=Object.values(t??{}))[0])==null?void 0:y.call(h,s,c))??!0:[a,i].filter(p=>p!==n).map(p=>t[p??""]).filter(yR).every(p=>p(s,c))},uS=t=>(n=[])=>n.reduce((i,a)=>{const{zoom:o,id:s}=a,c=Um(o,s,t);return c&&(i[s]=c),i},{}),bR=t=>{const n=new Map;return t.forEach(i=>{n.set(i.axisId,i)}),n},sS=t=>t.zoom,cS=ft(sS,t=>t==null?void 0:t.isInteracting),_c=ft(sS,t=>(t==null?void 0:t.zoomData)&&bR(t==null?void 0:t.zoomData)),fS=ft(hl,uS("x")),dS=ft(Qo,uS("y")),Rc=ft([fS,dS],(t,n)=>I({},t,n));ft([fS,dS,(t,n)=>n],(t,n,i)=>t[i]??n[i]);const xR=ft([_c,Rc,jr,In],(t,n,i,a)=>t&&n&&oS({zoomMap:t,zoomOptions:n,seriesConfig:i,formattedSeries:a,direction:"x"})),SR=ft([_c,Rc,jr,In],(t,n,i,a)=>t&&n&&oS({zoomMap:t,zoomOptions:n,seriesConfig:i,formattedSeries:a,direction:"y"})),hS=ft([xR,SR,hl,Qo],(t,n,i,a)=>{if(t===void 0||n===void 0)return;const o=i==null?void 0:i.reduce((c,f,m)=>{const h=t(f,m);return h!==null&&(c[f.id]=h),c},{}),s=a==null?void 0:a.reduce((c,f,m)=>{const h=n(f,m);return h!==null&&(c[f.id]=h),c},{});if(!(Object.keys(o??{}).length===0&&Object.keys(s??{}).length===0))return vR(I({},o,s))}),Gi=ft([hl,Ur,In,jr,_c,Rc,hS],(t,n,i,a,o,s,c)=>lS({drawingArea:n,formattedSeries:i,axis:t,seriesConfig:a,axisDirection:"x",zoomMap:o,zoomOptions:s,getFilters:c})),qi=ft([Qo,Ur,In,jr,_c,Rc,hS],(t,n,i,a,o,s,c)=>lS({drawingArea:n,formattedSeries:i,axis:t,seriesConfig:a,axisDirection:"y",zoomMap:o,zoomOptions:s,getFilters:c}));function $r(t){return t.bandwidth!==void 0}function La(t){return t instanceof Date?t.getTime():t}function rl(t,n){const{scale:i,data:a,reverse:o}=t;if(!$r(i)){const c=i.invert(n);if(a===void 0)return-1;const f=La(c);return a==null?void 0:a.findIndex((h,y)=>{const p=La(h);return p>f&&(y===0||Math.abs(f-p)<=Math.abs(f-La(a[y-1])))||p<=f&&(y===a.length-1||Math.abs(La(c)-p)<Math.abs(La(c)-La(a[y+1])))})}const s=i.bandwidth()===0?Math.floor((n-Math.min(...i.range())+i.step()/2)/i.step()):Math.floor((n-Math.min(...i.range()))/i.step());return s<0||s>=a.length?-1:o?a.length-1-s:s}function Xv(t,n,i){const{scale:a,data:o}=t;if(!$r(a)){const s=a.invert(n);return i<0?s:o[i]}return i<0||i>=o.length?null:o[i]}function Wh(t,n){const i=t.createSVGPoint();return i.x=n.clientX,i.y=n.clientY,i.matrixTransform(t.getScreenCTM().inverse())}function ui(t){const n=Y.useRef(t);return Ye(()=>{n.current=t}),Y.useRef((...i)=>(0,n.current)(...i)).current}const Wo=({store:t})=>{const n=ui(()=>{t.update(s=>I({},s,{interaction:{pointer:null,item:null}}))}),i=ui(s=>{t.update(c=>{const f=c.interaction.item;return s?f===null||Object.keys(s).some(m=>s[m]!==f[m])?c:I({},c,{interaction:I({},c.interaction,{item:null})}):f===null?c:I({},c,{interaction:I({},c.interaction,{item:null})})})}),a=ui(s=>{t.update(c=>I({},c,{interaction:I({},c.interaction,{item:s})}))}),o=ui(s=>{t.update(c=>I({},c,{interaction:I({},c.interaction,{pointer:s})}))});return{instance:{cleanInteraction:n,setItemInteraction:a,removeItemInteraction:i,setPointerCoordinate:o}}};Wo.getInitialState=()=>({interaction:{item:null,pointer:null}});Wo.params={};const r0=t=>t.interaction,AR=ft(r0,t=>t!==void 0),mS=ft(r0,t=>(t==null?void 0:t.item)??null),gS=ft(r0,t=>(t==null?void 0:t.pointer)??null),kc=ft(gS,t=>t&&t.x),Dc=ft(gS,t=>t&&t.y),TR=ft(mS,t=>t!==null),ml=({params:t,store:n,seriesConfig:i,svgRef:a,instance:o})=>{const{xAxis:s,yAxis:c,dataset:f}=t,m=wt(n,Ur),h=wt(n,In),y=wt(n,AR),{axis:p,axisIds:v}=wt(n,Gi),{axis:b,axisIds:S}=wt(n,qi),x=Y.useRef(!0);Y.useEffect(()=>{if(x.current){x.current=!1;return}n.update(k=>I({},k,{cartesianAxis:I({},k.cartesianAxis,{x:kx(s,f),y:Dx(c,f)})}))},[i,m,s,c,f,n]);const C=v[0],E=S[0];return Y.useEffect(()=>{const k=a.current;if(!y||k===null||t.disableAxisListener)return()=>{};const O=()=>{var _;(_=o.cleanInteraction)==null||_.call(o)},R=_=>{var $,T;const D="targetTouches"in _?_.targetTouches[0]:_,L=Wh(k,D);if(!o.isPointInside(L,{targetElement:_.target})){($=o.cleanInteraction)==null||$.call(o);return}(T=o.setPointerCoordinate)==null||T.call(o,L)},M=_=>{const D=_.currentTarget;D&&"hasPointerCapture"in D&&D.hasPointerCapture(_.pointerId)&&D.releasePointerCapture(_.pointerId)};return k.addEventListener("pointerdown",M),k.addEventListener("pointermove",R),k.addEventListener("pointercancel",O),k.addEventListener("pointerleave",O),()=>{k.removeEventListener("pointerdown",M),k.removeEventListener("pointermove",R),k.removeEventListener("pointercancel",O),k.removeEventListener("pointerleave",O)}},[a,n,p,C,b,E,o,t.disableAxisListener,y]),Y.useEffect(()=>{const k=a.current,O=t.onAxisClick;if(k===null||!O)return()=>{};const R=M=>{M.preventDefault();let _=null,D=!1;const L=Wh(k,M),$=rl(p[C],L.x);D=$!==-1,_=D?$:rl(b[E],L.y);const T=D?v[0]:S[0];if(_==null||_===-1)return;const N=(D?p:b)[T].data[_],X={};Object.keys(h).filter(K=>["bar","line"].includes(K)).forEach(K=>{var it;(it=h[K])==null||it.seriesOrder.forEach(ot=>{const j=h[K].series[ot],P=j.xAxisId,nt=j.yAxisId,ut=D?P:nt;(ut===void 0||ut===T)&&(X[ot]=j.data[_])})}),O(M,{dataIndex:_,axisValue:N,seriesValues:X})};return k.addEventListener("click",R),()=>{k.removeEventListener("click",R)}},[t.onAxisClick,h,a,p,v,b,S,C,E]),{}};ml.params={xAxis:!0,yAxis:!0,dataset:!0,onAxisClick:!0,disableAxisListener:!0};ml.getDefaultizedParams=({params:t})=>I({},t,{colors:t.colors??Ex,theme:t.theme??"light",defaultizedXAxis:kx(t.xAxis,t.dataset),defaultizedYAxis:Dx(t.yAxis,t.dataset)});ml.getInitialState=t=>({cartesianAxis:{x:t.defaultizedXAxis,y:t.defaultizedYAxis}});function Qa(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){const o=t.length;if(o!==n.length)return!1;for(let s=0;s<o;s+=1)if(!Qa(t[s],n[s]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;const o=Array.from(t.entries());for(let s=0;s<o.length;s+=1)if(!n.has(o[s][0]))return!1;for(let s=0;s<o.length;s+=1){const c=o[s];if(!Qa(c[1],n.get(c[0])))return!1}return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;const o=Array.from(t.entries());for(let s=0;s<o.length;s+=1)if(!n.has(o[s][0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){const o=t.length;if(o!==n.length)return!1;for(let s=0;s<o;s+=1)if(t[s]!==n[s])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();const i=Object.keys(t),a=i.length;if(a!==Object.keys(n).length)return!1;for(let o=0;o<a;o+=1)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(let o=0;o<a;o+=1){const s=i[o];if(!Qa(t[s],n[s]))return!1}return!0}return t!==t&&n!==n}const zc=(t,n)=>n;function pS(t,n,i=n.axisIds[0]){return Array.isArray(i)?i.map(a=>rl(n.axis[a],t)):rl(n.axis[i],t)}const CR=ft([kc,Gi,zc],(t,n,i)=>t===null?null:pS(t,n,i)),wR=ft([Dc,qi,zc],(t,n,i)=>t===null?null:pS(t,n,i));function yS(t,n,i,a=n.axisIds[0]){return Array.isArray(a)?a.map((o,s)=>Xv(n.axis[o],t,i[s])):Xv(n.axis[a],t,i)}const MR=ft([kc,Gi,CR,zc],(t,n,i,a)=>t===null||i===null||n.axisIds.length===0?null:yS(t,n,i,a)),ER=ft([Dc,qi,wR,zc],(t,n,i,a)=>t===null||i===null||n.axisIds.length===0?null:yS(t,n,i,a)),vS=ft([kc,Gi],(t,n)=>t===null?[]:n.axisIds.filter(i=>n.axis[i].triggerTooltip).map(i=>({axisId:i,dataIndex:rl(n.axis[i],t)})).filter(({dataIndex:i})=>i>=0),{memoizeOptions:{resultEqualityCheck:Qa}}),bS=ft([Dc,qi],(t,n)=>t===null?[]:n.axisIds.filter(i=>n.axis[i].triggerTooltip).map(i=>({axisId:i,dataIndex:rl(n.axis[i],t)})).filter(({dataIndex:i})=>i>=0),{memoizeOptions:{resultEqualityCheck:Qa}}),OR=ft([vS,bS],(t,n)=>t.length>0||n.length>0);function Pv(t,n){return t.id!==void 0?t:I({id:n},t)}function Zv(t){return t.colorMap?I({},t,{colorScale:t.colorMap.type==="ordinal"&&t.data?nl(I({values:t.data},t.colorMap)):Ni(t.colorMap.type==="continuous"?I({min:t.min,max:t.max},t.colorMap):t.colorMap)}):t}function xS(t,n){if(!t||t.length===0)return{axis:{},axisIds:[]};const i={},a=[];return t.forEach((o,s)=>{const c=o.dataKey,f=o.id??`defaultized-z-axis-${s}`;if(c===void 0||o.data!==void 0){i[f]=Zv(Pv(o,f)),a.push(f);return}if(n===void 0)throw new Error("MUI X Charts: z-axis uses `dataKey` but no `dataset` is provided.");i[f]=Zv(Pv(I({},o,{data:n.map(m=>m[c])}),f)),a.push(f)}),{axis:i,axisIds:a}}const Jo=({params:t,store:n})=>{const{zAxis:i,dataset:a}=t,o=Y.useRef(!0);return Y.useEffect(()=>{if(o.current){o.current=!1;return}n.update(s=>I({},s,{zAxis:xS(i,a)}))},[i,a,n]),{}};Jo.params={zAxis:!0,dataset:!0};Jo.getInitialState=t=>({zAxis:xS(t.zAxis,t.dataset)});const _R=t=>t,RR=ft([_R],t=>t.zAxis),kR=()=>{},gl=({store:t,params:n})=>{kR({controlled:n.highlightedItem}),Ye(()=>{t.update(o=>o.highlight.item===n.highlightedItem?o:I({},o,{highlight:I({},o.highlight,{item:n.highlightedItem})}))},[t,n.highlightedItem]);const i=ui(()=>{var o;(o=n.onHighlightChange)==null||o.call(n,null),t.update(s=>I({},s,{highlight:{item:null}}))}),a=ui(o=>{var s;(s=n.onHighlightChange)==null||s.call(n,o),t.update(c=>I({},c,{highlight:{item:o}}))});return{instance:{clearHighlight:i,setHighlight:a}}};gl.getDefaultizedParams=({params:t})=>I({},t,{highlightedItem:t.highlightedItem??null});gl.getInitialState=t=>({highlight:{item:t.highlightedItem}});gl.params={highlightedItem:!0,onHighlightChange:!0};const Qv=(t,n)=>n==="x"?{x:t,y:null}:{x:null,y:t},SS=t=>{var m;const{axis:n,getFilters:i,isDefaultAxis:a}=t,o=i==null?void 0:i({currentAxisId:n.id,isDefaultAxis:a}),s=o?(m=n.data)==null?void 0:m.filter((h,y)=>o({x:null,y:null},y)):n.data,c=Math.min(...s??[]),f=Math.max(...s??[]);return[c,f]},AS=t=>n=>{const{series:i,axis:a,getFilters:o,isDefaultAxis:s}=n;return Object.keys(i).filter(c=>{const f=t==="x"?i[c].xAxisId:i[c].yAxisId;return f===a.id||s&&f===void 0}).reduce((c,f)=>{const{stackedData:m}=i[f],h=o==null?void 0:o({currentAxisId:a.id,isDefaultAxis:s,seriesXAxisId:i[f].xAxisId,seriesYAxisId:i[f].yAxisId}),[y,p]=(m==null?void 0:m.reduce((v,b,S)=>h&&(!h(Qv(b[0],t),S)||!h(Qv(b[1],t),S))?v:[Math.min(...b,v[0]),Math.max(...b,v[1])],[1/0,-1/0]))??[1/0,-1/0];return[Math.min(y,c[0]),Math.max(p,c[1])]},[1/0,-1/0])},DR=t=>Object.keys(t.series).some(i=>t.series[i].layout==="horizontal")?AS("x")(t):SS(t),zR=t=>Object.keys(t.series).some(i=>t.series[i].layout==="horizontal")?SS(t):AS("y")(t);function Hn(t){return function(){return t}}const NR=Math.PI,wh=2*NR;function TS(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function UR(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function jR(t){return t}function $R(){var t=jR,n=UR,i=null,a=Hn(0),o=Hn(wh),s=Hn(0);function c(f){var m,h=(f=TS(f)).length,y,p,v=0,b=new Array(h),S=new Array(h),x=+a.apply(this,arguments),C=Math.min(wh,Math.max(-wh,o.apply(this,arguments)-x)),E,k=Math.min(Math.abs(C)/h,s.apply(this,arguments)),O=k*(C<0?-1:1),R;for(m=0;m<h;++m)(R=S[b[m]=m]=+t(f[m],m,f))>0&&(v+=R);for(n!=null?b.sort(function(M,_){return n(S[M],S[_])}):i!=null&&b.sort(function(M,_){return i(f[M],f[_])}),m=0,p=v?(C-h*O)/v:0;m<h;++m,x=E)y=b[m],R=S[y],E=x+(R>0?R*p:0)+O,S[y]={data:f[y],index:m,value:R,startAngle:x,endAngle:E,padAngle:k};return S}return c.value=function(f){return arguments.length?(t=typeof f=="function"?f:Hn(+f),c):t},c.sortValues=function(f){return arguments.length?(n=f,i=null,c):n},c.sort=function(f){return arguments.length?(i=f,n=null,c):i},c.startAngle=function(f){return arguments.length?(a=typeof f=="function"?f:Hn(+f),c):a},c.endAngle=function(f){return arguments.length?(o=typeof f=="function"?f:Hn(+f),c):o},c.padAngle=function(f){return arguments.length?(s=typeof f=="function"?f:Hn(+f),c):s},c}function il(t,n){if((c=t.length)>1)for(var i=1,a,o,s=t[n[0]],c,f=s.length;i<c;++i)for(o=s,s=t[n[i]],a=0;a<f;++a)s[a][1]+=s[a][0]=isNaN(o[a][1])?o[a][0]:o[a][1]}function al(t){for(var n=t.length,i=new Array(n);--n>=0;)i[n]=n;return i}function BR(t,n){return t[n]}function LR(t){const n=[];return n.key=t,n}function CS(){var t=Hn([]),n=al,i=il,a=BR;function o(s){var c=Array.from(t.apply(this,arguments),LR),f,m=c.length,h=-1,y;for(const p of s)for(f=0,++h;f<m;++f)(c[f][h]=[0,+a(p,c[f].key,h,s)]).data=p;for(f=0,y=TS(n(c));f<m;++f)c[y[f]].index=f;return i(c,y),c}return o.keys=function(s){return arguments.length?(t=typeof s=="function"?s:Hn(Array.from(s)),o):t},o.value=function(s){return arguments.length?(a=typeof s=="function"?s:Hn(+s),o):a},o.order=function(s){return arguments.length?(n=s==null?al:typeof s=="function"?s:Hn(Array.from(s)),o):n},o.offset=function(s){return arguments.length?(i=s??il,o):i},o}function HR(t,n){if((a=t.length)>0){for(var i,a,o=0,s=t[0].length,c;o<s;++o){for(c=i=0;i<a;++i)c+=t[i][o][1]||0;if(c)for(i=0;i<a;++i)t[i][o][1]/=c}il(t,n)}}function YR(t,n){if((m=t.length)>0)for(var i,a=0,o,s,c,f,m,h=t[n[0]].length;a<h;++a)for(c=f=0,i=0;i<m;++i)(s=(o=t[n[i]][a])[1]-o[0])>0?(o[0]=c,o[1]=c+=s):s<0?(o[1]=f,o[0]=f+=s):(o[0]=0,o[1]=s)}function GR(t,n){if((o=t.length)>0){for(var i=0,a=t[n[0]],o,s=a.length;i<s;++i){for(var c=0,f=0;c<o;++c)f+=t[c][i][1]||0;a[i][1]+=a[i][0]=-f/2}il(t,n)}}function qR(t,n){if(!(!((c=t.length)>0)||!((s=(o=t[n[0]]).length)>0))){for(var i=0,a=1,o,s,c;a<s;++a){for(var f=0,m=0,h=0;f<c;++f){for(var y=t[n[f]],p=y[a][1]||0,v=y[a-1][1]||0,b=(p-v)/2,S=0;S<f;++S){var x=t[n[S]],C=x[a][1]||0,E=x[a-1][1]||0;b+=C-E}m+=p,h+=b*p}o[a-1][1]+=o[a-1][0]=i,m&&(i-=h/m)}o[a-1][1]+=o[a-1][0]=i,il(t,n)}}function wS(t){var n=t.map(IR);return al(t).sort(function(i,a){return n[i]-n[a]})}function IR(t){for(var n=-1,i=0,a=t.length,o,s=-1/0;++n<a;)(o=+t[n][1])>s&&(s=o,i=n);return i}function MS(t){var n=t.map(ES);return al(t).sort(function(i,a){return n[i]-n[a]})}function ES(t){for(var n=0,i=-1,a=t.length,o;++i<a;)(o=+t[i][1])&&(n+=o);return n}function VR(t){return MS(t).reverse()}function XR(t){var n=t.length,i,a,o=t.map(ES),s=wS(t),c=0,f=0,m=[],h=[];for(i=0;i<n;++i)a=s[i],c<f?(c+=o[a],m.push(a)):(f+=o[a],h.push(a));return h.reverse().concat(m)}function PR(t){return al(t).reverse()}const Mh={appearance:wS,ascending:MS,descending:VR,insideOut:XR,none:al,reverse:PR},Eh={expand:HR,diverging:YR,none:il,silhouette:GR,wiggle:qR},OS=t=>{const{series:n,seriesOrder:i,defaultStrategy:a}=t,o=[],s={};return i.forEach(c=>{const{stack:f,stackOrder:m,stackOffset:h}=n[c];f===void 0?o.push({ids:[c],stackingOrder:Mh.none,stackingOffset:Eh.none}):s[f]===void 0?(s[f]=o.length,o.push({ids:[c],stackingOrder:Mh[m??(a==null?void 0:a.stackOrder)??"none"],stackingOffset:Eh[h??(a==null?void 0:a.stackOffset)??"diverging"]})):(o[s[f]].ids.push(c),m!==void 0&&(o[s[f]].stackingOrder=Mh[m]),h!==void 0&&(o[s[f]].stackingOffset=Eh[h]))}),o};function _S(t,n){const i={};return Object.keys(t).forEach(a=>{i[a]=I({},t[a],{valueFormatter:t[a].valueFormatter??n})}),i}const ZR=(t,n)=>{const{seriesOrder:i,series:a}=t,o=OS(t),s=n??[];i.forEach(f=>{const m=a[f].data;if(m!==void 0)m.forEach((h,y)=>{s.length<=y?s.push({[f]:h}):s[y][f]=h});else if(n===void 0)throw new Error([`MUI X Charts: bar series with id='${f}' has no data.`,"Either provide a data property to the series or use the dataset prop."].join(`
107
+
`))});const c={};return o.forEach(f=>{const{ids:m,stackingOffset:h,stackingOrder:y}=f,p=CS().keys(m.map(v=>{const b=a[v].dataKey;return a[v].data===void 0&&b!==void 0?b:v})).value((v,b)=>v[b]??0).order(y).offset(h)(s);m.forEach((v,b)=>{const S=a[v].dataKey;c[v]=I({layout:"vertical",labelMarkType:"square"},a[v],{data:S?n.map(x=>{const C=x[S];return typeof C!="number"?0:C}):a[v].data,stackedData:p[b].map(([x,C])=>[x,C])})})}),{seriesOrder:i,stackingGroups:o,series:_S(c,f=>f==null?"":f.toLocaleString())}};function Gn(t,n){return typeof t=="function"?t(n):t}const QR=t=>{const{seriesOrder:n,series:i}=t;return n.reduce((a,o)=>{const s=Gn(i[o].label,"legend");return s===void 0||a.push({markType:i[o].labelMarkType,id:o,seriesId:o,color:i[o].color,label:s}),a},[])},RS=(t,n,i)=>{const a=t.layout==="vertical",o=a?n==null?void 0:n.colorScale:i==null?void 0:i.colorScale,s=a?i==null?void 0:i.colorScale:n==null?void 0:n.colorScale,c=a?n==null?void 0:n.data:i==null?void 0:i.data;return s?f=>{if(f===void 0)return t.color;const m=t.data[f],h=m===null?t.color:s(m);return h===null?t.color:h}:o&&c?f=>{if(f===void 0)return t.color;const m=c[f],h=m===null?t.color:o(m);return h===null?t.color:h}:()=>t.color},KR=t=>{const{series:n,getColor:i,identifier:a}=t;if(!a||a.dataIndex===void 0)return null;const o=Gn(n.label,"tooltip"),s=n.data[a.dataIndex];if(s==null)return null;const c=n.valueFormatter(s,{dataIndex:a.dataIndex});return{identifier:a,color:i(a.dataIndex),label:o,value:s,formattedValue:c,markType:n.labelMarkType}},FR=t=>Object.values(t).map(n=>n.layout==="horizontal"?{direction:"y",axisId:n.yAxisId}:{direction:"x",axisId:n.xAxisId}),WR=(t,n,i)=>I({id:t.id??`auto-generated-id-${n}`,color:i[n%i.length]},t),JR={seriesProcessor:ZR,colorProcessor:RS,legendGetter:QR,tooltipGetter:KR,axisTooltipGetter:FR,xExtremumGetter:DR,yExtremumGetter:zR,getSeriesWithDefaultValues:WR},Ps=(t,n)=>[n[0]===null?t[0]:Math.min(t[0],n[0]),n[1]===null?t[1]:Math.max(t[1],n[1])],t4=t=>{const{series:n,axis:i,isDefaultAxis:a,getFilters:o}=t;return Object.keys(n).filter(s=>{const c=n[s].xAxisId;return c===i.id||c===void 0&&a}).reduce((s,c)=>{var h;const f=o==null?void 0:o({currentAxisId:i.id,isDefaultAxis:a,seriesXAxisId:n[c].xAxisId,seriesYAxisId:n[c].yAxisId}),m=(h=n[c].data)==null?void 0:h.reduce((y,p,v)=>f&&!f(p,v)?y:Ps(y,[p.x,p.x]),[1/0,-1/0]);return Ps(s,m??[1/0,-1/0])},[1/0,-1/0])},e4=t=>{const{series:n,axis:i,isDefaultAxis:a,getFilters:o}=t;return Object.keys(n).filter(s=>{const c=n[s].yAxisId;return c===i.id||c===void 0&&a}).reduce((s,c)=>{var h;const f=o==null?void 0:o({currentAxisId:i.id,isDefaultAxis:a,seriesXAxisId:n[c].xAxisId,seriesYAxisId:n[c].yAxisId}),m=(h=n[c].data)==null?void 0:h.reduce((y,p,v)=>f&&!f(p,v)?y:Ps(y,[p.y,p.y]),[1/0,-1/0]);return Ps(s,m??[1/0,-1/0])},[1/0,-1/0])},n4=({series:t,seriesOrder:n},i)=>({series:Object.fromEntries(Object.entries(t).map(([o,s])=>{const c=s==null?void 0:s.datasetKeys,f=["x","y","id"].filter(h=>typeof(c==null?void 0:c[h])!="string");if(s!=null&&s.datasetKeys&&f.length>0)throw new Error([`MUI X Charts: scatter series with id='${o}' has incomplete datasetKeys.`,`Properties ${f.map(h=>`"${h}"`).join(", ")} are missing.`].join(`
108
+
`));const m=c?(i==null?void 0:i.map(h=>({x:h[c.x]??null,y:h[c.y]??null,z:c.z&&h[c.z],id:c.id&&h[c.id]})))??[]:s.data??[];return[o,I({labelMarkType:"circle",markerSize:4},s,{data:m,valueFormatter:s.valueFormatter??(h=>h&&`(${h.x}, ${h.y})`)})]})),seriesOrder:n}),r4=(t,n,i,a)=>{const o=a==null?void 0:a.colorScale,s=i==null?void 0:i.colorScale,c=n==null?void 0:n.colorScale;return o?f=>{var y,p;if(f===void 0)return t.color;if(((y=a==null?void 0:a.data)==null?void 0:y[f])!==void 0){const v=o((p=a==null?void 0:a.data)==null?void 0:p[f]);if(v!==null)return v}const m=t.data[f],h=m===null?t.color:o(m.z);return h===null?t.color:h}:s?f=>{if(f===void 0)return t.color;const m=t.data[f],h=m===null?t.color:s(m.y);return h===null?t.color:h}:c?f=>{if(f===void 0)return t.color;const m=t.data[f],h=m===null?t.color:c(m.x);return h===null?t.color:h}:()=>t.color},i4=t=>{const{seriesOrder:n,series:i}=t;return n.reduce((a,o)=>{const s=Gn(i[o].label,"legend");return s===void 0||a.push({markType:i[o].labelMarkType,id:o,seriesId:o,color:i[o].color,label:s}),a},[])},a4=t=>{const{series:n,getColor:i,identifier:a}=t;if(!a||a.dataIndex===void 0)return null;const o=Gn(n.label,"tooltip"),s=n.data[a.dataIndex],c=n.valueFormatter(s,{dataIndex:a.dataIndex});return{identifier:a,color:i(a.dataIndex),label:o,value:s,formattedValue:c,markType:n.labelMarkType}},l4=(t,n,i)=>I({id:t.id??`auto-generated-id-${n}`,color:i[n%i.length]},t),o4={seriesProcessor:n4,colorProcessor:r4,legendGetter:i4,tooltipGetter:a4,xExtremumGetter:t4,yExtremumGetter:e4,getSeriesWithDefaultValues:l4},u4=t=>{const{axis:n}=t,i=Math.min(...n.data??[]),a=Math.max(...n.data??[]);return[i,a]};function s4(t,n,i,a){return i.reduce((o,s,c)=>{if(n[c]===null)return o;const[f,m]=t(s);return a&&(!a({y:f,x:null},c)||!a({y:m,x:null},c))?o:[Math.min(f,m,o[0]),Math.max(f,m,o[1])]},[1/0,-1/0])}const c4=t=>{const{series:n,axis:i,isDefaultAxis:a,getFilters:o}=t;return Object.keys(n).filter(s=>{const c=n[s].yAxisId;return c===i.id||a&&c===void 0}).reduce((s,c)=>{const{area:f,stackedData:m,data:h}=n[c],y=f!==void 0,p=o==null?void 0:o({currentAxisId:i.id,isDefaultAxis:a,seriesXAxisId:n[c].xAxisId,seriesYAxisId:n[c].yAxisId}),v=y&&i.scaleType!=="log"&&typeof n[c].baseline!="string"?C=>C:C=>[C[1],C[1]],b=s4(v,h,m,p),[S,x]=b;return[Math.min(S,s[0]),Math.max(x,s[1])]},[1/0,-1/0])},f4=(t,n)=>{const{seriesOrder:i,series:a}=t,o=OS(I({},t,{defaultStrategy:{stackOffset:"none"}})),s=n??[];i.forEach(f=>{const m=a[f].data;m!==void 0&&m.forEach((h,y)=>{s.length<=y?s.push({[f]:h}):s[y][f]=h})});const c={};return o.forEach(f=>{const{ids:m,stackingOrder:h,stackingOffset:y}=f,p=CS().keys(m.map(v=>{const b=a[v].dataKey;return a[v].data===void 0&&b!==void 0?b:v})).value((v,b)=>v[b]??0).order(h).offset(y)(s);m.forEach((v,b)=>{const S=a[v].dataKey;c[v]=I({labelMarkType:"line"},a[v],{data:S?n.map(x=>{const C=x[S];return typeof C!="number"?null:C}):a[v].data,stackedData:p[b].map(([x,C])=>[x,C])})})}),{seriesOrder:i,stackingGroups:o,series:_S(c,f=>f==null?"":f.toLocaleString())}},d4=(t,n,i)=>{const a=i==null?void 0:i.colorScale,o=n==null?void 0:n.colorScale;return a?s=>{if(s===void 0)return t.color;const c=t.data[s],f=c===null?t.color:a(c);return f===null?t.color:f}:o?s=>{var m;if(s===void 0)return t.color;const c=(m=n.data)==null?void 0:m[s],f=c===null?t.color:o(c);return f===null?t.color:f}:()=>t.color},h4=t=>{const{seriesOrder:n,series:i}=t;return n.reduce((a,o)=>{const s=Gn(i[o].label,"legend");return s===void 0||a.push({markType:i[o].labelMarkType,id:o,seriesId:o,color:i[o].color,label:s}),a},[])},m4=t=>{const{series:n,getColor:i,identifier:a}=t;if(!a||a.dataIndex===void 0)return null;const o=Gn(n.label,"tooltip"),s=n.data[a.dataIndex],c=n.valueFormatter(s,{dataIndex:a.dataIndex});return{identifier:a,color:i(a.dataIndex),label:o,value:s,formattedValue:c,markType:n.labelMarkType}},g4=t=>Object.values(t).map(n=>({direction:"x",axisId:n.xAxisId})),p4=(t,n,i)=>I({id:t.id??`auto-generated-id-${n}`,color:i[n%i.length]},t),y4={colorProcessor:d4,seriesProcessor:f4,legendGetter:h4,tooltipGetter:m4,axisTooltipGetter:g4,xExtremumGetter:u4,yExtremumGetter:c4,getSeriesWithDefaultValues:p4},v4=(t="none")=>{if(typeof t=="function")return t;switch(t){case"none":return null;case"desc":return(n,i)=>i-n;case"asc":return(n,i)=>n-i;default:return null}},b4=t=>{const{seriesOrder:n,series:i}=t,a={};return n.forEach(o=>{const s=$R().startAngle(2*Math.PI*(i[o].startAngle??0)/360).endAngle(2*Math.PI*(i[o].endAngle??360)/360).padAngle(2*Math.PI*(i[o].paddingAngle??0)/360).sortValues(v4(i[o].sortingValues??"none"))(i[o].data.map(c=>c.value));a[o]=I({labelMarkType:"circle",valueFormatter:c=>c.value.toLocaleString()},i[o],{data:i[o].data.map((c,f)=>I({},c,{id:c.id??`auto-generated-pie-id-${o}-${f}`},s[f])).map((c,f)=>{var m,h;return I({labelMarkType:"circle"},c,{formattedValue:((h=(m=i[o]).valueFormatter)==null?void 0:h.call(m,I({},c,{label:Gn(c.label,"arc")}),{dataIndex:f}))??c.value.toLocaleString()})})})}),{seriesOrder:n,series:a}},x4=t=>n=>t.data[n].color,S4=t=>{const{seriesOrder:n,series:i}=t;return n.reduce((a,o)=>(i[o].data.forEach((s,c)=>{const f=Gn(s.label,"legend");f!==void 0&&a.push({markType:s.labelMarkType??i[o].labelMarkType,id:s.id??c,seriesId:o,color:s.color,label:f,itemId:s.id??c})}),a),[])},A4=t=>{const{series:n,getColor:i,identifier:a}=t;if(!a||a.dataIndex===void 0)return null;const o=n.data[a.dataIndex];if(o==null)return null;const s=Gn(o.label,"tooltip"),c=I({},o,{label:s}),f=n.valueFormatter(c,{dataIndex:a.dataIndex});return{identifier:a,color:i(a.dataIndex),label:s,value:c,formattedValue:f,markType:o.labelMarkType??n.labelMarkType}},T4=(t,n,i)=>I({id:t.id??`auto-generated-id-${n}`},t,{data:t.data.map((a,o)=>I({color:i[o%i.length]},a))}),C4={colorProcessor:x4,seriesProcessor:b4,legendGetter:S4,tooltipGetter:A4,getSeriesWithDefaultValues:T4},w4={bar:JR,scatter:o4,line:y4,pie:C4},M4=[Jo,ml,Wo,gl];function E4(t){const{children:n,plugins:i=M4,pluginParams:a={},seriesConfig:o=w4}=t,{contextValue:s}=kO(i,a,o);return H.jsx(Rx.Provider,{value:s,children:n})}const Ii=()=>{const t=Y.useContext(Rx);if(t==null)throw new Error(["MUI X Charts: Could not find the Chart context.","It looks like you rendered your component outside of a ChartDataProvider.","This can also happen if you are bundling multiple versions of the library."].join(`
109
+
`));return t},O4=t=>{"hasPointerCapture"in t.currentTarget&&t.currentTarget.hasPointerCapture(t.pointerId)&&t.currentTarget.releasePointerCapture(t.pointerId)},_4=(t,n)=>{const{instance:i}=Ii(),a=Y.useRef(!1),o=Y.useCallback(()=>{a.current=!0,i.setItemInteraction({type:t.type,seriesId:t.seriesId,dataIndex:t.dataIndex}),i.setHighlight({seriesId:t.seriesId,dataIndex:t.dataIndex})},[i,t.type,t.seriesId,t.dataIndex]),s=Y.useCallback(()=>{a.current=!1,i.removeItemInteraction({type:t.type,seriesId:t.seriesId,dataIndex:t.dataIndex}),i.clearHighlight()},[i,t.type,t.seriesId,t.dataIndex]);return Y.useEffect(()=>()=>{a.current&&s()},[s]),{onPointerEnter:o,onPointerLeave:s,onPointerDown:O4}};function Jt(){const t=Ii();if(!t)throw new Error(["MUI X Charts: Could not find the charts context.","It looks like you rendered your component outside of a ChartContainer parent component."].join(`
110
+
`));return t.store}const kS=(t,n)=>i=>!t||!n||!i?!1:t.highlight==="series"?i.seriesId===n.seriesId:t.highlight==="item"?i.dataIndex===n.dataIndex&&i.seriesId===n.seriesId:!1,DS=(t,n)=>i=>!t||!n||!i?!1:t.fade==="series"?i.seriesId===n.seriesId&&i.dataIndex!==n.dataIndex:t.fade==="global"?i.seriesId!==n.seriesId||i.dataIndex!==n.dataIndex:!1,R4=t=>t.highlight,k4=t=>t.series,D4=ft(k4,t=>{const n=new Map;return Object.keys(t.processedSeries).forEach(i=>{const a=t.processedSeries[i];Object.keys((a==null?void 0:a.series)??{}).forEach(o=>{const s=a==null?void 0:a.series[o];n.set(o,s==null?void 0:s.highlightScope)})}),n}),tu=ft(R4,t=>t.item),Nc=ft([D4,tu],(t,n)=>{if(!n)return null;const i=t.get(n.seriesId);return i===void 0?null:i});ft([Nc,tu],kS);ft([Nc,tu],DS);const z4=ft([Nc,tu,(t,n)=>n],(t,n,i)=>kS(t,n)(i)),N4=ft([Nc,tu,(t,n)=>n],(t,n,i)=>DS(t,n)(i));function zS(t){const n=Jt(),i=wt(n,z4,t),a=wt(n,N4,t);return{isHighlighted:i,isFaded:!i&&a}}var Oh,Kv;function U4(){if(Kv)return Oh;Kv=1;var t=4,n=.001,i=1e-7,a=10,o=11,s=1/(o-1),c=typeof Float32Array=="function";function f(x,C){return 1-3*C+3*x}function m(x,C){return 3*C-6*x}function h(x){return 3*x}function y(x,C,E){return((f(C,E)*x+m(C,E))*x+h(C))*x}function p(x,C,E){return 3*f(C,E)*x*x+2*m(C,E)*x+h(C)}function v(x,C,E,k,O){var R,M,_=0;do M=C+(E-C)/2,R=y(M,k,O)-x,R>0?E=M:C=M;while(Math.abs(R)>i&&++_<a);return M}function b(x,C,E,k){for(var O=0;O<t;++O){var R=p(C,E,k);if(R===0)return C;var M=y(C,E,k)-x;C-=M/R}return C}function S(x){return x}return Oh=function(C,E,k,O){if(!(0<=C&&C<=1&&0<=k&&k<=1))throw new Error("bezier x values must be in [0, 1] range");if(C===E&&k===O)return S;for(var R=c?new Float32Array(o):new Array(o),M=0;M<o;++M)R[M]=y(M*s,C,k);function _(D){for(var L=0,$=1,T=o-1;$!==T&&R[$]<=D;++$)L+=s;--$;var N=(D-R[$])/(R[$+1]-R[$]),X=L+N*s,K=p(X,C,k);return K>=n?b(D,X,C,k):K===0?X:v(D,L,L+s,C,k)}return function(L){return L===0?0:L===1?1:y(_(L),E,O)}},Oh}var j4=U4();const $4=jb(j4),B4=300,L4=$4(.66,0,.34,1);var ll=0,wo=0,xo=0,NS=1e3,Zs,Mo,Qs=0,Bi=0,Uc=0,Ho=typeof performance=="object"&&performance.now?performance:Date,US=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function i0(){return Bi||(US(H4),Bi=Ho.now()+Uc)}function H4(){Bi=0}function Ks(){this._call=this._time=this._next=null}Ks.prototype=jS.prototype={constructor:Ks,restart:function(t,n,i){if(typeof t!="function")throw new TypeError("callback is not a function");i=(i==null?i0():+i)+(n==null?0:+n),!this._next&&Mo!==this&&(Mo?Mo._next=this:Zs=this,Mo=this),this._call=t,this._time=i,tm()},stop:function(){this._call&&(this._call=null,this._time=1/0,tm())}};function jS(t,n,i){var a=new Ks;return a.restart(t,n,i),a}function Jh(){i0(),++ll;for(var t=Zs,n;t;)(n=Bi-t._time)>=0&&t._call.call(void 0,n),t=t._next;--ll}function Fv(){Bi=(Qs=Ho.now())+Uc,ll=wo=0;try{Jh()}finally{ll=0,G4(),Bi=0}}function Y4(){var t=Ho.now(),n=t-Qs;n>NS&&(Uc-=n,Qs=t)}function G4(){for(var t,n=Zs,i,a=1/0;n;)n._call?(a>n._time&&(a=n._time),t=n,n=n._next):(i=n._next,n._next=null,n=t?t._next=i:Zs=i);Mo=t,tm(a)}function tm(t){if(!ll){wo&&(wo=clearTimeout(wo));var n=t-Bi;n>24?(t<1/0&&(wo=setTimeout(Fv,t-Ho.now()-Uc)),xo&&(xo=clearInterval(xo))):(xo||(Qs=Ho.now(),xo=setInterval(Y4,NS)),ll=1,US(Fv))}}function q4(t,n,i){var a=new Ks;return n=n==null?0:+n,a.restart(o=>{a.stop(),t(o+n)},n,i),a}class I4{constructor(n,i,a){this.duration=void 0,this.elapsed=0,this.easingFn=void 0,this.timer=null,this.onTickCallback=void 0,this.duration=n,this.easingFn=i,this.onTickCallback=a,this.resume()}get running(){return this.timer!==null}timerCallback(n){this.elapsed=Math.min(n,this.duration);const i=this.duration===0?1:this.elapsed/this.duration,a=this.easingFn(i);this.onTickCallback(a),this.elapsed>=this.duration&&this.stop()}resume(){if(this.running||this.elapsed>=this.duration)return this;const n=i0()-this.elapsed;return this.timer=jS(i=>this.timerCallback(i),0,n),Jh(),this}stop(){return this.running?(this.timer&&(this.timer.stop(),this.timer=null),this):this}finish(){return this.stop(),q4(()=>this.timerCallback(this.duration)),Jh(),this}}function V4(t,n){if(Object.is(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;const i=Object.keys(t),a=Object.keys(n);if(i.length!==a.length)return!1;for(let o=0;o<i.length;o+=1){const s=i[o];if(!Object.prototype.hasOwnProperty.call(n,s)||!Object.is(t[s],n[s]))return!1}return!0}function X4(t,{createInterpolator:n,applyProps:i,skip:a,initialProps:o=t}){const s=Y.useRef(o),c=Y.useRef(null),f=Y.useRef(null),m=Y.useRef(t);Ye(()=>{m.current=t},[t]),Ye(()=>{var p;a&&((p=c.current)==null||p.finish(),c.current=null,f.current=null,s.current=t)},[t,a]);const h=Y.useCallback(p=>{const v=s.current,b=n(v,t);c.current=new I4(B4,L4,S=>{const x=b(S);s.current=x,i(p,x)})},[i,n,t]);return Y.useCallback(p=>{var b,S,x,C;if(p===null){(b=c.current)==null||b.stop();return}const v=f.current;if(v===p){if(V4(m.current,t)){(S=c.current)==null||S.resume();return}(x=c.current)==null||x.stop()}v&&((C=c.current)==null||C.stop()),f.current=p,(c.current||!a)&&h(p)},[h,t,a])}function a0(t,{createInterpolator:n,transformProps:i,applyProps:a,skip:o,initialProps:s=t,ref:c}){const f=i??(y=>y),m=X4(t,{initialProps:s,createInterpolator:n,applyProps:(y,p)=>a(y,f(p)),skip:o});return I({},i(o?t:s),{ref:Wa(m,c)})}function P4(t,n){const i=xe(t.x,n.x),a=xe(t.y,n.y),o=xe(t.width,n.width),s=xe(t.height,n.height);return c=>({x:i(c),y:a(c),width:o(c),height:s(c)})}function Z4(t){const n={x:t.layout==="vertical"?t.x:t.xOrigin,y:t.layout==="vertical"?t.yOrigin:t.y,width:t.layout==="vertical"?t.width:0,height:t.layout==="vertical"?0:t.height};return a0({x:t.x,y:t.y,width:t.width,height:t.height},{createInterpolator:P4,applyProps(i,a){i.setAttribute("x",a.x.toString()),i.setAttribute("y",a.y.toString()),i.setAttribute("width",a.width.toString()),i.setAttribute("height",a.height.toString())},transformProps:i=>i,initialProps:n,skip:t.skipAnimation,ref:t.ref})}const Q4=["ownerState","skipAnimation","id","dataIndex","xOrigin","yOrigin"];function K4(t){const{ownerState:n}=t,i=Qt(t,Q4),a=Z4(t);return H.jsx("rect",I({},i,{filter:n.isHighlighted?"brightness(120%)":void 0,opacity:n.isFaded?.3:1},a))}const F4=["id","dataIndex","classes","color","slots","slotProps","style","onClick","skipAnimation","layout","x","xOrigin","y","yOrigin","width","height"];function W4(t){const{id:n,dataIndex:i,classes:a,color:o,slots:s,slotProps:c,style:f,onClick:m,skipAnimation:h,layout:y,x:p,xOrigin:v,y:b,yOrigin:S,width:x,height:C}=t,E=Qt(t,F4),k=_4({type:"bar",seriesId:n,dataIndex:i}),{isFaded:O,isHighlighted:R}=zS({seriesId:n,dataIndex:i}),M={id:n,dataIndex:i,classes:a,color:o,isFaded:O,isHighlighted:R},_=DE(M),D=(s==null?void 0:s.bar)??K4,L=Or({elementType:D,externalSlotProps:c==null?void 0:c.bar,externalForwardedProps:E,additionalProps:I({},k,{id:n,dataIndex:i,color:o,x:p,xOrigin:v,y:b,yOrigin:S,width:x,height:C,style:f,onClick:m,cursor:m?"pointer":"unset",stroke:"none",fill:o,skipAnimation:h,layout:y}),className:_.root,ownerState:M});return H.jsx(D,I({},L))}function ar(){const t=Jt();return wt(t,Ur)}function l0(){const t=Jt();return wt(t,CO)}function o0(t){return iS.getTypes().has(t)}const J4=(t,n,i,a,o,s,c)=>{var b;const f=a==="rotation"?o[n].rotationExtremumGetter:o[n].radiusExtremumGetter,m=((b=c[n])==null?void 0:b.series)??{},[h,y]=(f==null?void 0:f({series:m,axis:i,axisIndex:s,isDefaultAxis:s===0}))??[1/0,-1/0],[p,v]=t;return[Math.min(h,p),Math.max(y,v)]},t5=(t,n,i,a,o)=>{const c=Object.keys(i).filter(o0).reduce((f,m)=>J4(f,m,t,n,i,a,o),[1/0,-1/0]);return Number.isNaN(c[0])||Number.isNaN(c[1])?[1/0,-1/0]:c},Eo=(t,n)=>t===void 0?n:Math.PI*t/180,e5=(t,n,i,a)=>{const o=new Set;return Object.keys(n).filter(o0).forEach(c=>{var h,y,p;const f=((h=i[c])==null?void 0:h.series)??{},m=(p=(y=n[c]).axisTooltipGetter)==null?void 0:p.call(y,f);m!==void 0&&m.forEach(({axisId:v,direction:b})=>{b===t&&o.add(v??a)})}),o};function n5(t,n,i){if(n==="rotation"){if(i.scaleType==="point"){const a=[Eo(i.startAngle,0),Eo(i.endAngle,2*Math.PI)],o=a[1]-a[0];return o>Math.PI*2-.1&&(a[1]-=o/i.data.length),a}return[Eo(i.startAngle,0),Eo(i.endAngle,2*Math.PI)]}return[0,Math.min(t.height,t.width)/2]}const Wv=t=>(t==null?void 0:t[0])instanceof Date;function Jv(t,n){const i=Jm(t.data,n);return(a,{location:o})=>o==="tick"?i.tickFormat(t.tickNumber)(a):`${a.toLocaleString()}`}const r5=.2,i5=.1;function $S({drawingArea:t,formattedSeries:n,axis:i,seriesConfig:a,axisDirection:o}){if(i===void 0)return{axis:{},axisIds:[]};const s=e5(o,a,n,i[0].id),c={};return i.forEach((f,m)=>{const h=f,y=n5(t,o,h),[p,v]=t5(h,o,a,m,n),b=!h.ignoreTooltip&&s.has(h.id),S=h.data??[];if(Xs(h)){const $=h.categoryGapRatio??r5,T=h.barGapRatio??i5;if(c[h.id]=I({offset:0,categoryGapRatio:$,barGapRatio:T,triggerTooltip:b},h,{data:S,scale:Ac(h.data,y).paddingInner($).paddingOuter($/2),tickNumber:h.data.length,colorScale:h.colorMap&&(h.colorMap.type==="ordinal"?nl(I({values:h.data},h.colorMap)):Ni(h.colorMap))}),Wv(h.data)){const N=Jv(h,y);c[h.id].valueFormatter=h.valueFormatter??N}}if(t0(h)&&(c[h.id]=I({offset:0,triggerTooltip:b},h,{data:S,scale:Ux(h.data,y),tickNumber:h.data.length,colorScale:h.colorMap&&(h.colorMap.type==="ordinal"?nl(I({values:h.data},h.colorMap)):Ni(h.colorMap))}),Wv(h.data))){const $=Jv(h,y);c[h.id].valueFormatter=h.valueFormatter??$}if(h.scaleType==="band"||h.scaleType==="point")return;const x=h.scaleType??"linear",C=h.domainLimit??"nice",E=[h.min??p,h.max??v];if(typeof C=="function"){const{min:$,max:T}=C(p,v);E[0]=$,E[1]=T}const k=nS(I({},h,{range:y,domain:E})),O=rS(k,y),R=e0(x,E,y),M=C==="nice"?R.nice(k):R,[_,D]=M.domain(),L=[h.min??_,h.max??D];c[h.id]=I({offset:0,triggerTooltip:b},h,{data:S,scaleType:x,scale:M.domain(L),tickNumber:O,colorScale:h.colorMap&&Ni(h.colorMap)})}),{axis:c,axisIds:i.map(({id:f})=>f)}}const BS=t=>t.polarAxis,LS=ft(BS,t=>t==null?void 0:t.rotation),a5=ft(BS,t=>t==null?void 0:t.radius),Vi=ft([LS,Ur,In,jr],(t,n,i,a)=>$S({drawingArea:n,formattedSeries:i,axis:t,seriesConfig:a,axisDirection:"rotation"})),l5=ft([a5,Ur,In,jr],(t,n,i,a)=>$S({drawingArea:n,formattedSeries:i,axis:t,seriesConfig:a,axisDirection:"radius"})),o5=ft([Ur],t=>({cx:t.left+t.width/2,cy:t.top+t.height/2})),u5=t=>(n,i)=>Math.atan2(n-t.cx,t.cy-i);function Xi(){const t=Jt(),{axis:n,axisIds:i}=wt(t,Gi);return{xAxis:n,xAxisIds:i}}function Pi(){const t=Jt(),{axis:n,axisIds:i}=wt(t,qi);return{yAxis:n,yAxisIds:i}}function HS(t){const n=Jt(),{axis:i,axisIds:a}=wt(n,Gi),o=a[0];return i[o]}function YS(t){const n=Jt(),{axis:i,axisIds:a}=wt(n,qi),o=a[0];return i[o]}function GS(){const t=Jt(),{axis:n,axisIds:i}=wt(t,Vi);return{rotationAxis:n,rotationAxisIds:i}}function s5(){const t=Jt(),{axis:n,axisIds:i}=wt(t,l5);return{radiusAxis:n,radiusAxisIds:i}}function c5(t){const n=Jt(),{axis:i,axisIds:a}=wt(n,Vi),o=a[0];return i[o]}function Fs(t){return $r(t)?n=>(t(n)??0)+t.bandwidth()/2:n=>t(n)}function f5(t){return HS().scale}function d5(t){return YS().scale}function u0(){const t=Jt(),{axis:n,axisIds:i}=wt(t,RR)??{axis:{},axisIds:[]};return{zAxis:n,zAxisIds:i}}function s0(){const t=Ii();if(!t)throw new Error(["MUI X Charts: Could not find the svg ref context.","It looks like you rendered your component outside of a ChartContainer parent component."].join(`
111
+
`));return t.svgRef}function jc(){const t=Jt();return wt(t,In)}function h5(t,n){if(t===n)return!0;if(!Array.isArray(t)||!Array.isArray(n))return!1;let i=t.length;if(i!==n.length)return!1;for(;i--;)if(t[i]!==n[i])return!1;return!0}function m5(t){const n=ft([In,(i,a)=>a],(i,a)=>{var s,c,f,m,h,y;if(!a||Array.isArray(a)&&a.length===0)return((c=(s=i[t])==null?void 0:s.seriesOrder)==null?void 0:c.map(p=>{var v;return(v=i[t])==null?void 0:v.series[p]}))??[];if(!Array.isArray(a))return(m=(f=i[t])==null?void 0:f.series)==null?void 0:m[a];const o=[];for(const p of a){const v=(y=(h=i[t])==null?void 0:h.series)==null?void 0:y[p];v&&o.push(v)}return o});return i=>{const a=Jt();return wt(a,n,i,h5)}}function g5(t){const n=ft(In,i=>i[t]);return()=>{const i=Jt();return wt(i,n)}}m5("bar");const p5=g5("bar");function y5(){return p5()}function v5(t,n){return Object.keys(t).flatMap(i=>{const a=n[i].legendGetter;return a===void 0?[]:a(t[i])})}function b5(){const t=jc(),n=Jt(),i=wt(n,jr);return{items:v5(t,i)}}function x5(){const t=l0();return Y.useCallback(n=>`${t}-gradient-${n}`,[t])}function S5(){const t=l0();return Y.useCallback(n=>`${t}-gradient-${n}-object-bound`,[t])}function A5(t,n){const i=xe(t.x,n.x),a=xe(t.y,n.y),o=xe(t.width,n.width),s=xe(t.height,n.height);return c=>({x:i(c),y:a(c),width:o(c),height:s(c)})}function T5(t){const n={x:t.layout==="vertical"?t.x+t.width/2:t.xOrigin,y:t.layout==="vertical"?t.yOrigin:t.y+t.height/2,width:t.width,height:t.height},i={x:t.x+t.width/2,y:t.y+t.height/2,width:t.width,height:t.height};return a0(i,{createInterpolator:A5,transformProps:a=>a,applyProps(a,o){a.setAttribute("x",o.x.toString()),a.setAttribute("y",o.y.toString()),a.setAttribute("width",o.width.toString()),a.setAttribute("height",o.height.toString())},initialProps:n,skip:t.skipAnimation,ref:t.ref})}function C5(){return Ii().chartRootRef}const w5=t=>({components:{MuiChartsLocalizationProvider:{defaultProps:{localeText:I({},t)}}}}),qS={loading:"Loading data…",noData:"No data to display",zoomIn:"Zoom in",zoomOut:"Zoom out"},M5=qS;w5(qS);const E5=["localeText"],em=Y.createContext(null);function O5(t){const{localeText:n}=t,i=Qt(t,E5),{localeText:a}=Y.useContext(em)??{localeText:void 0},o=ir({props:i,name:"MuiChartsLocalizationProvider"}),{children:s,localeText:c}=o,f=Y.useMemo(()=>I({},M5,c,a,n),[c,a,n]),m=Y.useMemo(()=>({localeText:f}),[f]);return H.jsx(em.Provider,{value:m,children:s})}const IS=()=>{const t=Y.useContext(em);if(t===null)throw new Error(["MUI X Charts: Can not find the charts localization context.","It looks like you forgot to wrap your component in ChartsLocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-charts` package"].join(`
112
+
`));return t},Cs=(t,{hasNegative:n,hasPositive:i,borderRadius:a,layout:o})=>{if(!a)return 0;const s=o==="vertical";return t==="top-left"&&(s&&i||!s&&n)||t==="top-right"&&(s&&i||!s&&i)||t==="bottom-right"&&(s&&n||!s&&i)||t==="bottom-left"&&(s&&n||!s&&n)?a:0},_5=["maskId","x","y","width","height","skipAnimation"];function R5(t,n,i){const a=I({},i,{borderRadius:n}),o=Math.min(t,Cs("top-left",a)),s=Math.min(t,Cs("top-right",a)),c=Math.min(t,Cs("bottom-right",a)),f=Math.min(t,Cs("bottom-left",a));return`inset(0px round ${o}px ${s}px ${c}px ${f}px)`}function k5(t,n){const i=xe(t.x,n.x),a=xe(t.y,n.y),o=xe(t.width,n.width),s=xe(t.height,n.height),c=xe(t.borderRadius,n.borderRadius);return f=>({x:i(f),y:a(f),width:o(f),height:s(f),borderRadius:c(f)})}function D5(t){const n={x:t.x,y:t.y+(t.ownerState.layout==="vertical"?t.height:0),width:t.ownerState.layout==="vertical"?t.width:0,height:t.ownerState.layout==="vertical"?0:t.height,borderRadius:t.borderRadius};return a0({x:t.x,y:t.y,width:t.width,height:t.height,borderRadius:t.borderRadius},{createInterpolator:k5,transformProps:i=>({x:i.x,y:i.y,width:i.width,height:i.height,style:{clipPath:R5(t.ownerState.layout==="vertical"?i.height:i.width,i.borderRadius,t.ownerState)}}),applyProps(i,a){i.setAttribute("x",a.x.toString()),i.setAttribute("y",a.y.toString()),i.setAttribute("width",a.width.toString()),i.setAttribute("height",a.height.toString()),i.style.clipPath=a.style.clipPath},initialProps:n,skip:t.skipAnimation,ref:t.ref})}function z5(t){const n=D5(I({},t,{borderRadius:t.ownerState.borderRadius??0}));return H.jsx("rect",I({},n))}function N5(t){const{maskId:n,x:i,y:a,width:o,height:s,skipAnimation:c}=t,f=Qt(t,_5);return!t.borderRadius||t.borderRadius<=0?null:H.jsx("clipPath",{id:n,children:H.jsx(z5,{ownerState:f,x:i,y:a,width:o,height:s,skipAnimation:c})})}function U5(t){return zn("MuiBarLabel",t)}const _h=qn("MuiBarLabel",["root","highlighted","faded","animate"]),j5=t=>{const{classes:n,seriesId:i,isFaded:a,isHighlighted:o,skipAnimation:s}=t,c={root:["root",`series-${i}`,o&&"highlighted",a&&"faded",!s&&"animate"]};return Nn(c,U5,n)},$5=t=>{const{barLabel:n,value:i,dataIndex:a,seriesId:o,height:s,width:c}=t;return n==="value"?i?i==null?void 0:i.toString():null:n({seriesId:o,dataIndex:a,value:i},{bar:{height:s,width:c}})},B5=["seriesId","dataIndex","color","isFaded","isHighlighted","classes","skipAnimation","layout","xOrigin","yOrigin"],L5=he("text",{name:"MuiBarLabel",slot:"Root",overridesResolver:(t,n)=>[{[`&.${_h.faded}`]:n.faded},{[`&.${_h.highlighted}`]:n.highlighted},n.root]})(({theme:t})=>{var n,i,a,o;return I({},(n=t==null?void 0:t.typography)==null?void 0:n.body2,{stroke:"none",fill:(o=(a=(i=t.vars||t)==null?void 0:i.palette)==null?void 0:a.text)==null?void 0:o.primary,transition:"opacity 0.2s ease-in, fill 0.2s ease-in",textAnchor:"middle",dominantBaseline:"central",pointerEvents:"none",opacity:1,[`&.${_h.faded}`]:{opacity:.3}})});function H5(t){const n=ir({props:t,name:"MuiBarLabel"}),i=Qt(n,B5),a=T5(n);return H.jsx(L5,I({},i,a))}const Y5=["seriesId","classes","color","dataIndex","barLabel","slots","slotProps","xOrigin","yOrigin","x","y","width","height","value","skipAnimation","layout"],G5=["ownerState"];function q5(t){const{seriesId:n,classes:i,color:a,dataIndex:o,barLabel:s,slots:c,slotProps:f,xOrigin:m,yOrigin:h,x:y,y:p,width:v,height:b,value:S,skipAnimation:x,layout:C}=t,E=Qt(t,Y5),{isFaded:k,isHighlighted:O}=zS({seriesId:n,dataIndex:o}),R={seriesId:n,classes:i,color:a,isFaded:k,isHighlighted:O,dataIndex:o,skipAnimation:x,layout:C},M=j5(R),_=(c==null?void 0:c.barLabel)??H5,D=Or({elementType:_,externalSlotProps:f==null?void 0:f.barLabel,additionalProps:I({},E,{xOrigin:m,yOrigin:h,x:y,y:p,width:v,height:b,className:M.root}),ownerState:R}),{ownerState:L}=D,$=Qt(D,G5);if(!s)return null;const T=$5({barLabel:s,value:S,dataIndex:o,seriesId:n,height:b,width:v});return T?H.jsx(_,I({},$,L,{children:T})):null}const I5=["bars","skipAnimation"];function V5(t){const{bars:n,skipAnimation:i}=t,a=Qt(t,I5);return H.jsx(Y.Fragment,{children:n.map(({xOrigin:o,yOrigin:s,x:c,y:f,seriesId:m,dataIndex:h,color:y,value:p,width:v,height:b,layout:S})=>H.jsx(q5,I({seriesId:m,dataIndex:h,value:p,color:y,xOrigin:o,yOrigin:s,x:c,y:f,width:v,height:b,skipAnimation:i??!1,layout:S??"vertical"},a),`${m}-${h}`))})}const Rh=(t,n)=>{const i=`${t}-axis`,a=`${t}Axis`;return n===(t==="x"?Dm:zm)?`The first \`${a}\``:`The ${i} with id "${n}"`};function X5(t,n,i,a,o,s,c){const f=o[a],m=c[s],h=t?f:m,y=t?m:f,p=t?a:s,v=t?s:a,b=t?"x":"y",S=t?"y":"x";if(!Xs(h))throw new Error(`MUI X Charts: ${Rh(b,p)} should be of type "band" to display the bar series of id "${n}".`);if(h.data===void 0)throw new Error(`MUI X Charts: ${Rh(b,p)} should have data property.`);if(Xs(y)||t0(y))throw new Error(`MUI X Charts: ${Rh(S,v)} should be a continuous type to display the bar series of id "${n}".`)}function P5(t){const n=Jt(),i=wt(n,iO);return t||i}function Z5(){const t=Jt();return wt(t,cS)}const Q5=["skipAnimation","onItemClick","borderRadius","barLabel"];function K5({bandWidth:t,numberOfGroups:n,gapRatio:i}){if(i===0)return{barWidth:t/n,offset:0};const a=t/(n+(n-1)*i),o=i*a;return{barWidth:a,offset:o}}const F5=()=>{const t=y5()??{series:{},stackingGroups:[]},n=ar(),i=l0(),{series:a,stackingGroups:o}=t,{xAxis:s,xAxisIds:c}=Xi(),{yAxis:f,yAxisIds:m}=Pi(),h=c[0],y=m[0],p={};return{completedData:o.flatMap(({ids:b},S)=>{const x=n.left,C=n.left+n.width,E=n.top,k=n.top+n.height;return b.flatMap(O=>{const R=a[O].xAxisId??h,M=a[O].yAxisId??y,_=s[R],D=f[M],L=a[O].layout==="vertical";X5(L,O,a[O],R,s,M,f);const $=L?_:D,T=_.scale,N=D.scale,X=RS(a[O],s[R],f[M]),K=$.scale.bandwidth(),{barWidth:it,offset:ot}=K5({bandWidth:K,numberOfGroups:o.length,gapRatio:$.barGapRatio}),j=S*(it+ot),{stackedData:P,data:nt,layout:ut}=a[O];return $.data.map((z,F)=>{if(nt[F]==null)return null;const lt=P[F].map(st=>L?N(st):T(st)),ct=Math.round(Math.min(...lt)),yt=Math.round(Math.max(...lt)),dt=a[O].stack,gt={seriesId:O,dataIndex:F,layout:ut,x:L?T(z)+j:ct,y:L?ct:N(z)+j,xOrigin:T(0)??0,yOrigin:N(0)??0,height:L?yt-ct:it,width:L?it:yt-ct,color:X(F),value:nt[F],maskId:`${i}_${dt||O}_${S}_${F}`};if(gt.x>C||gt.x+gt.width<x||gt.y>k||gt.y+gt.height<E)return null;p[gt.maskId]||(p[gt.maskId]={id:gt.maskId,width:0,height:0,hasNegative:!1,hasPositive:!1,layout:gt.layout,xOrigin:T(0),yOrigin:N(0),x:0,y:0});const mt=p[gt.maskId];return mt.width=gt.layout==="vertical"?gt.width:mt.width+gt.width,mt.height=gt.layout==="vertical"?mt.height+gt.height:gt.height,mt.x=Math.min(mt.x===0?1/0:mt.x,gt.x),mt.y=Math.min(mt.y===0?1/0:mt.y,gt.y),mt.hasNegative=mt.hasNegative||(gt.value??0)<0,mt.hasPositive=mt.hasPositive||(gt.value??0)>0,gt}).filter(z=>z!==null)})}),masksData:Object.values(p)}},W5=he("g",{name:"MuiBarPlot",slot:"Root"})({[`& .${kE.root}`]:{transition:"opacity 0.2s ease-in, fill 0.2s ease-in"}});function J5(t){const{completedData:n,masksData:i}=F5(),{skipAnimation:a,onItemClick:o,borderRadius:s,barLabel:c}=t,f=Qt(t,Q5),m=Z5(),h=P5(m||a),y=!s||s<=0;return H.jsxs(W5,{children:[!y&&i.map(({id:p,x:v,y:b,width:S,height:x,hasPositive:C,hasNegative:E,layout:k})=>H.jsx(N5,{maskId:p,borderRadius:s,hasNegative:E,hasPositive:C,layout:k,x:v,y:b,width:S,height:x,skipAnimation:h??!1},p)),n.map(({seriesId:p,dataIndex:v,color:b,maskId:S,layout:x,x:C,xOrigin:E,y:k,yOrigin:O,width:R,height:M})=>{const _=H.jsx(W4,I({id:p,dataIndex:v,color:b,skipAnimation:h??!1,layout:x??"vertical",x:C,xOrigin:E,y:k,yOrigin:O,width:R,height:M},f,{onClick:o&&(D=>{o(D,{type:"bar",seriesId:p,dataIndex:v})})}),`${p}-${v}`);return y?_:H.jsx("g",{clipPath:`url(#${S})`,children:_},`${p}-${v}`)}),c&&H.jsx(V5,I({bars:n,skipAnimation:h,barLabel:c},f))]})}function $c(t){return(t%360+360)%360}const kh=2*Math.PI;function tk(t){return(t%kh+kh)%kh}function c0(){const[t,n]=Y.useState(typeof window<"u"||!1);return Y.useEffect(()=>{n(!0)},[]),t}const VS=typeof window<"u"&&"Intl"in window&&"Segmenter"in Intl?new Intl.Segmenter(void 0,{granularity:"grapheme"}):null;function ek(t){return t.length}function nk(t){const n=VS.segment(t);let i=0;for(const a of n)i+=1;return i}const rk=VS?nk:ek;function ik(t){return t*(Math.PI/180)}const XS=typeof window<"u"&&"Intl"in window&&"Segmenter"in Intl?new Intl.Segmenter(void 0,{granularity:"grapheme"}):null;function ak(t,n){return t.slice(0,n)}function lk(t,n){const i=XS.segment(t);let a="",o=0;for(const s of i)if(a+=s.segment,o+=1,o>=n)break;return a}const ok=XS?lk:ak,tb="…";function PS(t,n){const{width:i,height:a,measureText:o}=n,s=ik(n.angle),c=o(t),f=Math.abs(c.width*Math.cos(s))+Math.abs(c.height*Math.sin(s)),m=Math.abs(c.width*Math.sin(s))+Math.abs(c.height*Math.cos(s));return f<=i&&m<=a}function ZS(t,n){if(n(t))return t;let i=t,a=1,o=1/2;const s=rk(t);let c=s,f=s,m=null;do{if(f=c,c=Math.floor(s*o),c===0)break;i=ok(t,c).trim();const h=n(i+tb);a+=1,h?(m=i,o+=1/2**a):o-=1/2**a}while(Math.abs(c-f)!==1);return m?m+tb:""}function uk(){return typeof window>"u"}const _i={widthCache:{},cacheCount:0},sk=2e3,ck={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},fk=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],eb="mui_measurement_span";function QS(t,n){return fk.indexOf(t)>=0&&n===+n?`${n}px`:n}function KS(t){return t.split("").reduce((a,o)=>o===o.toUpperCase()?[...a,"-",o.toLowerCase()]:[...a,o],[]).join("")}const dk=t=>Object.keys(t).sort().reduce((n,i)=>`${n}${KS(i)}:${QS(i,t[i])};`,"");let Dh;const eu=(t,n={})=>{if(t==null||uk())return{width:0,height:0};const i=`${t}`,a=dk(n),o=`${i}-${a}`;if(_i.widthCache[o])return _i.widthCache[o];try{let s=document.getElementById(eb);s===null&&(s=document.createElement("span"),s.setAttribute("id",eb),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));const c=I({},ck,n);Object.keys(c).map(h=>(s.style[KS(h)]=QS(h,c[h]),h)),s.textContent=i;const f=s.getBoundingClientRect(),m={width:f.width,height:f.height};return _i.widthCache[o]=m,_i.cacheCount+1>sk?(_i.cacheCount=0,_i.widthCache={}):_i.cacheCount+=1,Dh&&clearTimeout(Dh),Dh=setTimeout(()=>{s.textContent=""},0),m}catch{return{width:0,height:0}}};function f0(t){return typeof t=="number"&&!Number.isFinite(t)}const zh={start:0,extremities:0,end:1,middle:.5};function Bc(t){const{scale:n,tickNumber:i,valueFormatter:a,tickInterval:o,tickPlacement:s="extremities",tickLabelPlacement:c,direction:f}=t,{instance:m}=Ii();return Y.useMemo(()=>{if($r(n)){const b=n.domain(),S=c??"middle";return n.bandwidth()>0?[...(typeof o=="function"&&b.filter(o)||typeof o=="object"&&o||b).map(E=>({value:E,formattedValue:(a==null?void 0:a(E,{location:"tick",scale:n}))??`${E}`,offset:n(E)-(n.step()-n.bandwidth())/2+zh[s]*n.step(),labelOffset:S==="tick"?0:n.step()*(zh[S]-zh[s])})),...s==="extremities"?[{formattedValue:void 0,offset:n.range()[1],labelOffset:0}]:[]]:(typeof o=="function"&&b.filter(o)||typeof o=="object"&&o||b).map(C=>({value:C,formattedValue:(a==null?void 0:a(C,{location:"tick",scale:n}))??`${C}`,offset:n(C),labelOffset:0}))}if(n.domain().some(f0))return[];const y=c,p=typeof o=="object"?o:n.ticks(i),v=[];for(let b=0;b<p.length;b+=1){const S=p[b],x=n(S);m.isPointInside({x,y:x},{direction:f})&&v.push({value:S,formattedValue:(a==null?void 0:a(S,{location:"tick",scale:n}))??n.tickFormat(i)(S),offset:x,labelOffset:y==="middle"?n(p[b-1]??0)-(x+n(p[b-1]??0))/2:0})}return v},[n,c,o,i,s,a,f,m])}function FS(t){return zn("MuiChartsAxis",t)}const ws=qn("MuiChartsAxis",["root","line","tickContainer","tick","tickLabel","label","directionX","directionY","top","bottom","left","right"]),WS=he("g",{name:"MuiChartsAxis",slot:"Root"})(({theme:t})=>({[`& .${ws.tickLabel}`]:I({},t.typography.caption,{fill:(t.vars||t).palette.text.primary}),[`& .${ws.label}`]:{fill:(t.vars||t).palette.text.primary},[`& .${ws.line}`]:{stroke:(t.vars||t).palette.text.primary,shapeRendering:"crispEdges",strokeWidth:1},[`& .${ws.tick}`]:{stroke:(t.vars||t).palette.text.primary,shapeRendering:"crispEdges"}}));function JS({style:t,needsComputation:n,text:i}){return i.split(`
113
+
`).map(a=>I({text:a},n?eu(a,t):{width:0,height:0}))}const hk=["x","y","style","text","ownerState"],mk=["angle","textAnchor","dominantBaseline"];function Ws(t){const{x:n,y:i,style:a,text:o}=t,s=Qt(t,hk),c=a??{},{angle:f,textAnchor:m,dominantBaseline:h}=c,y=Qt(c,mk),p=c0(),v=Y.useMemo(()=>JS({style:y,needsComputation:p&&o.includes(`
114
+
`),text:o}),[y,o,p]);let b;switch(h){case"hanging":case"text-before-edge":b=0;break;case"central":b=(v.length-1)/2*-v[0].height;break;default:b=(v.length-1)*-v[0].height;break}return H.jsx("text",I({},s,{transform:f?`rotate(${f}, ${n}, ${i})`:void 0,x:n,y:i,textAnchor:m,dominantBaseline:h,style:y,children:v.map((S,x)=>H.jsx("tspan",{x:n,dy:`${x===0?b:v[0].height}px`,dominantBaseline:h,children:S.text},x))}))}const nb=5;function gk(t,n,i=0){const a=Math.min(Math.abs(i)%180,Math.abs(Math.abs(i)%180-180)%180);if(a<nb)return t;if(a>90-nb)return n;const o=Eo(a),s=Math.atan2(n,t);return o<s?t/Math.cos(o):n/Math.sin(o)}function pk(t=!1){const[n,i]=Y.useState(!1);return Ye(()=>{t||i(!0)},[t]),Y.useEffect(()=>{t&&i(!0)},[t]),n}function t2(t){const n=$c(t);return n<=30||n>=330||n<=210&&n>=150?"middle":n<=180?"end":"start"}function e2(t){const n=$c(t);return n<=30||n>=330?"hanging":n<=210&&n>=150?"auto":"central"}function n2(t){switch(t){case"start":return"end";case"end":return"start";default:return t}}const yk=["scale","tickNumber","reverse"],vk=t=>{const{classes:n,position:i}=t;return Nn({root:["root","directionX",i],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]},FS,n)},rb=3,bk=4;function xk(t,{tickLabelStyle:n,tickLabelInterval:i,tickLabelMinGap:a,reverse:o,isMounted:s,isPointInside:c}){const f=y=>{if(!s||y.formattedValue===void 0)return{width:0,height:0};const p=JS({style:n,needsComputation:!0,text:y.formattedValue});return{width:Math.max(...p.map(v=>v.width)),height:Math.max(p.length*p[0].height)}};if(typeof i=="function")return new Set(t.filter((y,p)=>i(y.value,p)));let m=0;const h=o?-1:1;return new Set(t.filter((y,p)=>{const{offset:v,labelOffset:b}=y,S=v+b;if(p>0&&h*S<h*(m+a)||!c(S))return!1;const{width:x,height:C}=f(y),E=gk(x,C,n==null?void 0:n.angle),k=S-h*E/2;return p>0&&h*k<h*(m+a)?!1:(m=S+h*E/2,!0)}))}function Sk(t,n,i,a,o){const s=new Map,c=$c((o==null?void 0:o.angle)??0);let f=1,m=1;(o==null?void 0:o.textAnchor)==="start"?(f=1/0,m=1):(o==null?void 0:o.textAnchor)==="end"?(f=1,m=1/0):(f=2,m=2),c>90&&c<270&&([f,m]=[m,f]),a&&([f,m]=[m,f]);for(const h of t)if(h.formattedValue){const y=Math.min((h.offset+h.labelOffset)*f,(n.left+n.width+n.right-h.offset-h.labelOffset)*m),p=v=>PS(v,{width:y,height:i,angle:c,measureText:b=>eu(b,o)});s.set(h,ZS(h.formattedValue.toString(),p))}return s}const Ak=he(WS,{name:"MuiChartsXAxis",slot:"Root"})({}),Tk={disableLine:!1,disableTicks:!1,tickSize:6,tickLabelMinGap:4};function Ck(t){const{xAxis:n,xAxisIds:i}=Xi(),a=n[t.axisId??i[0]],{scale:o,tickNumber:s,reverse:c}=a,f=Qt(a,yk),m=pk(),h=ir({props:I({},f,t),name:"MuiChartsXAxis"}),y=I({},Tk,h),{position:p,disableLine:v,disableTicks:b,tickLabelStyle:S,label:x,labelStyle:C,tickSize:E,valueFormatter:k,slots:O,slotProps:R,tickInterval:M,tickLabelInterval:_,tickPlacement:D,tickLabelPlacement:L,tickLabelMinGap:$,sx:T,offset:N,height:X}=y,K=Zo(),it=Mm(),ot=vk(y),j=ar(),{left:P,top:nt,width:ut,height:z}=j,{instance:F}=Ii(),at=c0(),lt=b?4:E,ct=p==="bottom"?1:-1,yt=(O==null?void 0:O.axisLine)??"line",dt=(O==null?void 0:O.axisTick)??"line",gt=(O==null?void 0:O.axisTickLabel)??Ws,mt=(O==null?void 0:O.axisLabel)??Ws,st=t2((p==="bottom"?0:180)-((S==null?void 0:S.angle)??0)),xt=e2((p==="bottom"?0:180)-((S==null?void 0:S.angle)??0)),bt=Or({elementType:gt,externalSlotProps:R==null?void 0:R.axisTickLabel,additionalProps:{style:I({},K.typography.caption,{fontSize:12,lineHeight:1.25,textAnchor:it?n2(st):st,dominantBaseline:xt},S)},className:ot.tickLabel,ownerState:{}}),rt=Bc({scale:o,tickNumber:s,valueFormatter:k,tickInterval:M,tickPlacement:D,tickLabelPlacement:L,direction:"x"}),Rt=xk(rt,{tickLabelStyle:bt.style,tickLabelInterval:_,tickLabelMinGap:$,reverse:c,isMounted:m,isPointInside:Kt=>F.isPointInside({x:Kt,y:-1},{direction:"x"})}),vt=Or({elementType:mt,externalSlotProps:R==null?void 0:R.axisLabel,additionalProps:{style:I({},K.typography.body1,{lineHeight:1,fontSize:14,textAnchor:"middle",dominantBaseline:p==="bottom"?"text-after-edge":"text-before-edge"},C)},ownerState:{}}),Bt=o.domain(),Wt=$r(o);if(Wt&&Bt.length===0||!Wt&&Bt.some(f0)||p==="none")return null;const Yt=x?eu(x,vt.style).height:0,Ae={x:P+ut/2,y:ct*X},se=Math.max(0,X-(x?Yt+bk:0)-lt-rb),me=at?Sk(Rt,j,se,it,bt.style):new Map(Array.from(Rt).map(Kt=>[Kt,Kt.formattedValue]));return H.jsxs(Ak,{transform:`translate(0, ${p==="bottom"?nt+z+N:nt-N})`,className:ot.root,sx:T,children:[!v&&H.jsx(yt,I({x1:P,x2:P+ut,className:ot.line},R==null?void 0:R.axisLine)),rt.map((Kt,Xe)=>{const{offset:mn,labelOffset:gn}=Kt,Un=gn??0,Ge=ct*(lt+rb),te=F.isPointInside({x:mn,y:-1},{direction:"x"}),_e=me.get(Kt),Te=Rt.has(Kt);return H.jsxs("g",{transform:`translate(${mn}, 0)`,className:ot.tickContainer,children:[!b&&te&&H.jsx(dt,I({y2:ct*lt,className:ot.tick},R==null?void 0:R.axisTick)),_e!==void 0&&Te&&H.jsx(gt,I({x:Un,y:Ge},bt,{text:_e}))]},Xe)}),x&&H.jsx("g",{className:ot.label,children:H.jsx(mt,I({},Ae,vt,{text:x}))})]})}const wk=["scale","tickNumber"],Mk=t=>{const{classes:n,position:i}=t;return Nn({root:["root","directionY",i],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]},FS,n)},ib=2,Ek=2;function Ok(t,n,i,a,o){const s=new Map,c=$c((o==null?void 0:o.angle)??0);let f=1,m=1;(o==null?void 0:o.textAnchor)==="start"?(f=1/0,m=1):(o==null?void 0:o.textAnchor)==="end"?(f=1,m=1/0):(f=2,m=2),c>180&&([f,m]=[m,f]),a&&([f,m]=[m,f]);for(const h of t)if(h.formattedValue){const y=Math.min((h.offset+h.labelOffset)*f,(n.top+n.height+n.bottom-h.offset-h.labelOffset)*m),p=v=>PS(v,{width:i,height:y,angle:c,measureText:b=>eu(b,o)});s.set(h,ZS(h.formattedValue.toString(),p))}return s}const _k=he(WS,{name:"MuiChartsYAxis",slot:"Root"})({}),Rk={disableLine:!1,disableTicks:!1,tickSize:6};function kk(t){const{yAxisIds:n,yAxis:i}=Pi(),a=i[t.axisId??n[0]],{scale:o,tickNumber:s}=a,c=Qt(a,wk),f=ir({props:I({},c,t),name:"MuiChartsYAxis"}),m=I({},Rk,f),{position:h,disableLine:y,disableTicks:p,label:v,labelStyle:b,tickLabelStyle:S,tickSize:x,valueFormatter:C,slots:E,slotProps:k,tickPlacement:O,tickLabelPlacement:R,tickInterval:M,tickLabelInterval:_,sx:D,offset:L,width:$}=m,T=Zo(),N=Mm(),X=c0(),K=Mk(m),{instance:it}=Ii(),ot=ar(),{left:j,top:P,width:nt,height:ut}=ot,z=p?4:x,F=Bc({scale:o,tickNumber:s,valueFormatter:C,tickPlacement:O,tickLabelPlacement:R,tickInterval:M,direction:"y"}),at=h==="right"?1:-1,lt=typeof(S==null?void 0:S.fontSize)=="number"?S.fontSize:12,ct=(E==null?void 0:E.axisLine)??"line",yt=(E==null?void 0:E.axisTick)??"line",dt=(E==null?void 0:E.axisTickLabel)??Ws,gt=(E==null?void 0:E.axisLabel)??Ws,mt=t2((h==="right"?-90:90)-((S==null?void 0:S.angle)??0)),st=e2((h==="right"?-90:90)-((S==null?void 0:S.angle)??0)),xt=Or({elementType:dt,externalSlotProps:k==null?void 0:k.axisTickLabel,additionalProps:{style:I({},T.typography.caption,{fontSize:lt,textAnchor:N?n2(mt):mt,dominantBaseline:st},S)},className:K.tickLabel,ownerState:{}}),bt=Or({elementType:gt,externalSlotProps:k==null?void 0:k.axisLabel,additionalProps:{style:I({},T.typography.body1,{lineHeight:1,fontSize:14,angle:at*90,textAnchor:"middle",dominantBaseline:"text-before-edge"},b)},ownerState:{}}),rt=Or({elementType:ct,externalSlotProps:k==null?void 0:k.axisLine,additionalProps:{strokeLinecap:"square"},ownerState:{}}),Rt=o.domain(),vt=$r(o);if(vt&&Rt.length===0||!vt&&Rt.some(f0)||h==="none")return null;const Bt={x:at*$,y:P+ut/2},Wt=Math.max(0,$-(v?eu(v,bt.style).height+Ek:0)-z-ib),Yt=X?Ok(F,ot,Wt,N,xt.style):new Map(Array.from(F).map(Ae=>[Ae,Ae.formattedValue]));return H.jsxs(_k,{transform:`translate(${h==="right"?j+nt+L:j-L}, 0)`,className:K.root,sx:D,children:[!y&&H.jsx(ct,I({y1:P,y2:P+ut,className:K.line},rt)),F.map((Ae,se)=>{const{offset:me,labelOffset:Kt,value:Xe}=Ae,mn=at*(z+ib),gn=Kt,Un=typeof _=="function"&&!(_!=null&&_(Xe,se)),Ge=it.isPointInside({x:-1,y:me},{direction:"y"}),te=Yt.get(Ae);return Ge?H.jsxs("g",{transform:`translate(0, ${me})`,className:K.tickContainer,children:[!p&&H.jsx(yt,I({x2:at*z,className:K.tick},k==null?void 0:k.axisTick)),te!==void 0&&!Un&&H.jsx(dt,I({x:mn,y:gn,text:te},xt))]},se):null}),v&&X&&H.jsx("g",{className:K.label,children:H.jsx(gt,I({},Bt,bt,{text:v}))})]})}function Dk(t){const{slots:n,slotProps:i}=t,{xAxisIds:a,xAxis:o}=Xi(),{yAxisIds:s,yAxis:c}=Pi();return H.jsxs(Y.Fragment,{children:[a.map(f=>!o[f].position||o[f].position==="none"?null:H.jsx(Ck,{slots:n,slotProps:i,axisId:f},f)),s.map(f=>!c[f].position||c[f].position==="none"?null:H.jsx(kk,{slots:n,slotProps:i,axisId:f},f))]})}function zk(){return aM}const Nk=zM;function r2(t){return DM(t)}function Uk(t){return typeof t.main=="string"}function jk(t,n=[]){if(!Uk(t))return!1;for(const i of n)if(!t.hasOwnProperty(i)||typeof t[i]!="string")return!1;return!0}function $k(t=[]){return([,n])=>n&&jk(n,t)}function Bk(t){return zn("MuiTypography",t)}qn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Lk={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Hk=zk(),Yk=t=>{const{align:n,gutterBottom:i,noWrap:a,paragraph:o,variant:s,classes:c}=t,f={root:["root",s,t.align!=="inherit"&&`align${No(n)}`,i&&"gutterBottom",a&&"noWrap",o&&"paragraph"]};return Nn(f,Bk,c)},Gk=he("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:i}=t;return[n.root,i.variant&&n[i.variant],i.align!=="inherit"&&n[`align${No(i.align)}`],i.noWrap&&n.noWrap,i.gutterBottom&&n.gutterBottom,i.paragraph&&n.paragraph]}})(Nk(({theme:t})=>{var n;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([i,a])=>i!=="inherit"&&a&&typeof a=="object").map(([i,a])=>({props:{variant:i},style:a})),...Object.entries(t.palette).filter($k()).map(([i])=>({props:{color:i},style:{color:(t.vars||t).palette[i].main}})),...Object.entries(((n=t.palette)==null?void 0:n.text)||{}).filter(([,i])=>typeof i=="string").map(([i])=>({props:{color:`text${No(i)}`},style:{color:(t.vars||t).palette.text[i]}})),{props:({ownerState:i})=>i.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:i})=>i.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:i})=>i.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:i})=>i.paragraph,style:{marginBottom:16}}]}})),ab={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},d0=Y.forwardRef(function(n,i){const{color:a,...o}=r2({props:n,name:"MuiTypography"}),s=!Lk[a],c=Hk({...o,...s&&{color:a}}),{align:f="inherit",className:m,component:h,gutterBottom:y=!1,noWrap:p=!1,paragraph:v=!1,variant:b="body1",variantMapping:S=ab,...x}=c,C={...c,align:f,color:a,className:m,component:h,gutterBottom:y,noWrap:p,paragraph:v,variant:b,variantMapping:S},E=h||(v?"p":S[b]||ab[b])||"span",k=Yk(C);return H.jsx(Gk,{as:E,ref:i,className:Mn(k.root,m),...x,ownerState:C,style:{...f!=="inherit"&&{"--Typography-textAlign":f},...x.style}})});function qk(t){return zn("MuiChartsTooltip",t)}const qa=qn("MuiChartsTooltip",["root","paper","table","row","cell","mark","markContainer","labelCell","valueCell","axisValueCell"]),h0=t=>Nn({root:["root"],paper:["paper"],table:["table"],row:["row"],cell:["cell"],mark:["mark"],markContainer:["markContainer"],labelCell:["labelCell"],valueCell:["valueCell"],axisValueCell:["axisValueCell"]},qk,t);function Ik(){var _,D,L;const t=Jt(),n=wt(t,mS),i=wt(t,jr),a=jc(),{xAxis:o,xAxisIds:s}=Xi(),{yAxis:c,yAxisIds:f}=Pi(),{zAxis:m,zAxisIds:h}=u0(),{rotationAxis:y,rotationAxisIds:p}=GS(),{radiusAxis:v,radiusAxisIds:b}=s5(),S=a.xAxisId??s[0],x=a.yAxisId??f[0],C=a.zAxisId??h[0],E=a.rotationAxisId??p[0],k=a.radiusAxisId??b[0];if(!n)return null;const O=(_=a[n.type])==null?void 0:_.series[n.seriesId];if(!O)return null;const R=((L=(D=i[O.type]).colorProcessor)==null?void 0:L.call(D,O,S&&o[S],x&&c[x],C&&m[C]))??(()=>""),M={};return S!==void 0&&(M.x=o[S]),x!==void 0&&(M.y=c[x]),E!==void 0&&(M.rotation=y[E]),k!==void 0&&(M.radius=v[k]),i[O.type].tooltipGetter({series:O,axesConfig:M,getColor:R,identifier:n})}const nm=he("div",{name:"MuiChartsTooltip",slot:"Container",overridesResolver:(t,n)=>n.paper})(({theme:t})=>{var n;return{backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,borderRadius:(n=(t.vars||t).shape)==null?void 0:n.borderRadius,border:`solid ${(t.vars||t).palette.divider} 1px`}}),rm=he("table",{name:"MuiChartsTooltip",slot:"Table"})(({theme:t})=>({borderSpacing:0,[`& .${qa.markContainer}`]:{display:"inline-block",width:`calc(20px + ${t.spacing(1.5)})`,verticalAlign:"middle"},"& caption":{borderBottom:`solid ${(t.vars||t).palette.divider} 1px`,padding:t.spacing(.5,1.5),textAlign:"start",whiteSpace:"nowrap","& span":{marginRight:t.spacing(1.5)}}})),im=he("tr",{name:"MuiChartsTooltip",slot:"Row"})(({theme:t})=>({"tr:first-of-type& td":{paddingTop:t.spacing(.5)},"tr:last-of-type& td":{paddingBottom:t.spacing(.5)}})),Ia=he(d0,{name:"MuiChartsTooltip",slot:"Cell"})(({theme:t})=>({verticalAlign:"middle",color:(t.vars||t).palette.text.secondary,textAlign:"start",[`&.${qa.cell}`]:{paddingLeft:t.spacing(1),paddingRight:t.spacing(1)},[`&.${qa.labelCell}`]:{fontWeight:t.typography.fontWeightRegular},[`&.${qa.valueCell}, &.${qa.axisValueCell}`]:{color:(t.vars||t).palette.text.primary,fontWeight:t.typography.fontWeightMedium},[`&.${qa.valueCell}`]:{paddingLeft:t.spacing(1.5),paddingRight:t.spacing(1.5)},"td:first-of-type&, th:first-of-type&":{paddingLeft:t.spacing(1.5)},"td:last-of-type&, th:last-of-type&":{paddingRight:t.spacing(1.5)}}));function Vk(t){return zn("MuiChartsLabelMark",t)}const Ha=qn("MuiChartsLabelMark",["root","line","square","circle","mask","fill"]),Xk=t=>{const{type:n}=t;return Nn({root:typeof n=="function"?["root"]:["root",n],mask:["mask"],fill:["fill"]},Vk,t.classes)},i2=(t,n,i)=>Y.forwardRef(function(o,s){var v;const c=ir({props:o,name:t}),f=typeof n.defaultProps=="function"?n.defaultProps(c):n.defaultProps??{},m=Fa(f,c),h=Zo(),y=(v=n.classesResolver)==null?void 0:v.call(n,m,h),p=Y.forwardRef(i);return H.jsx(p,I({},m,{classes:y,ref:s}))}),Pk=["type","color","className","classes"],Zk=he("div",{name:"MuiChartsLabelMark",slot:"Root"})(()=>({display:"flex",width:14,height:14,[`&.${Ha.line}`]:{width:16,height:"unset",alignItems:"center",[`.${Ha.mask}`]:{height:4,width:"100%",borderRadius:1,overflow:"hidden"}},[`&.${Ha.square}`]:{height:13,width:13,borderRadius:2,overflow:"hidden"},[`&.${Ha.circle}`]:{height:15,width:15},svg:{display:"block"},[`& .${Ha.mask} > *`]:{height:"100%",width:"100%"},[`& .${Ha.mask}`]:{height:"100%",width:"100%"}})),Js=i2("MuiChartsLabelMark",{defaultProps:{type:"square"},classesResolver:Xk},function(n,i){const{type:a,color:o,className:s,classes:c}=n,f=Qt(n,Pk),m=a;return H.jsx(Zk,I({className:Mn(c==null?void 0:c.root,s),ownerState:n,"aria-hidden":"true",ref:i},f,{children:H.jsx("div",{className:c==null?void 0:c.mask,children:typeof m=="function"?H.jsx(m,{className:c==null?void 0:c.fill,color:o}):H.jsx("svg",{viewBox:"0 0 24 24",preserveAspectRatio:a==="line"?"none":void 0,children:a==="circle"?H.jsx("circle",{className:c==null?void 0:c.fill,r:"12",cx:"12",cy:"12",fill:o}):H.jsx("rect",{className:c==null?void 0:c.fill,width:"24",height:"24",fill:o})})})}))});function Qk(t){const{classes:n,sx:i}=t,a=Ik(),o=h0(n);if(!a)return null;if("values"in a){const{label:h,color:y,markType:p}=a;return H.jsx(nm,{sx:i,className:o.paper,children:H.jsxs(rm,{className:o.table,children:[H.jsxs(d0,{component:"caption",children:[H.jsx("div",{className:o.markContainer,children:H.jsx(Js,{type:p,color:y,className:o.mark})}),h]}),H.jsx("tbody",{children:a.values.map(({formattedValue:v,label:b})=>H.jsxs(im,{className:o.row,children:[H.jsx(Ia,{className:Mn(o.labelCell,o.cell),component:"th",children:b}),H.jsx(Ia,{className:Mn(o.valueCell,o.cell),component:"td",children:v})]},b))})]})})}const{color:s,label:c,formattedValue:f,markType:m}=a;return H.jsx(nm,{sx:i,className:o.paper,children:H.jsx(rm,{className:o.table,children:H.jsx("tbody",{children:H.jsxs(im,{className:o.row,children:[H.jsxs(Ia,{className:Mn(o.labelCell,o.cell),component:"th",children:[H.jsx("div",{className:o.markContainer,children:H.jsx(Js,{type:m,color:s,className:o.mark})}),c]}),H.jsx(Ia,{className:Mn(o.valueCell,o.cell),component:"td",children:f})]})})})})}function Kk(t){const n=Jt(),i=wt(n,jr);return Y.useMemo(()=>{const o={};return Object.keys(i).forEach(s=>{o[s]=i[s].colorProcessor}),o},[i])}function Fk(){const t=s0(),[n,i]=Y.useState(null);return Y.useEffect(()=>{const a=t.current;if(a===null)return()=>{};const o=c=>{c.pointerType!=="mouse"&&i(null)},s=c=>{i({pointerType:c.pointerType})};return a.addEventListener("pointerenter",s),a.addEventListener("pointerup",o),()=>{a.removeEventListener("pointerenter",s),a.removeEventListener("pointerup",o)}},[t]),n}function Wk(t){return t instanceof Date?t.toUTCString():t.toLocaleString()}function lb(t,n){const{scale:i,data:a,reverse:o}=t;if(!$r(i))throw new Error("MUI X Charts: getAxisValue is not implemented for polare continuous axes.");if(!a)return-1;const s=tk(n-Math.min(...i.range())),c=i.bandwidth()===0?Math.floor((s+i.step()/2)/i.step())%a.length:Math.floor(s/i.step());return c<0||c>=a.length?-1:o?a.length-1-c:c}const a2=(t,n)=>n,l2=(t,n)=>n;function o2(t,n,i){return Array.isArray(i)?i.map(a=>lb(n.axis[a],t)):lb(n.axis[i],t)}const u2=ft([kc,Dc,o5],(t,n,i)=>t===null||n===null?null:u5(i)(t,n)),Jk=ft([u2,Vi,a2],(t,n,i=n.axisIds[0])=>t===null?null:o2(t,n,i)),s2=ft([u2,Vi,l2],(t,n,i=n.axisIds)=>t===null?null:o2(t,n,i));ft([Vi,Jk,a2],(t,n,i=t.axisIds[0])=>{var o;if(n===null||n===-1||t.axisIds.length===0)return null;const a=(o=t.axis[i])==null?void 0:o.data;return a?a[n]:null});ft([Vi,s2,l2],(t,n,i=t.axisIds)=>n===null?null:i.map((a,o)=>{var c;const s=n[o];return s===-1?null:(c=t.axis[a].data)==null?void 0:c[s]}));const c2=ft([s2,Vi],(t,n)=>t===null?[]:n.axisIds.map((i,a)=>({axisId:i,dataIndex:t[a]})).filter(({axisId:i,dataIndex:a})=>n.axis[i].triggerTooltip&&a>=0),{memoizeOptions:{resultEqualityCheck:Qa}});ft([],()=>[]);const t6=ft([c2],t=>t.length>0);function Nh(t,n,i){var c;const a=((c=t.data)==null?void 0:c[n])??null,s=(t.valueFormatter??(f=>t.scaleType==="utc"?Wk(f):f.toLocaleString()))(a,{location:"tooltip",scale:t.scale});return{axisDirection:i,axisId:t.id,mainAxis:t,dataIndex:n,axisValue:a,axisFormattedValue:s,seriesItems:[]}}function e6(t={}){const{multipleAxes:n,directions:i}=t,a=HS(),o=YS(),s=c5(),c=Jt(),f=wt(c,vS),m=wt(c,bS),h=wt(c,c2),y=jc(),{xAxis:p}=Xi(),{yAxis:v}=Pi(),{zAxis:b,zAxisIds:S}=u0(),{rotationAxis:x}=GS(),C=Kk();if(f.length===0&&m.length===0&&h.length===0)return null;const E=[];return(i===void 0||i.includes("x"))&&f.forEach(({axisId:k,dataIndex:O})=>{!n&&E.length>1||E.push(Nh(p[k],O,"x"))}),(i===void 0||i.includes("y"))&&m.forEach(({axisId:k,dataIndex:O})=>{!n&&E.length>1||E.push(Nh(v[k],O,"y"))}),(i===void 0||i.includes("rotation"))&&h.forEach(({axisId:k,dataIndex:O})=>{!n&&E.length>1||E.push(Nh(x[k],O,"rotation"))}),Object.keys(y).filter(n0).forEach(k=>{const O=y[k];return O?O.seriesOrder.forEach(R=>{var $;const M=O.series[R],_=M.xAxisId??a.id,D=M.yAxisId??o.id,L=E.findIndex(({axisDirection:T,axisId:N})=>T==="x"&&N===_||T==="y"&&N===D);if(L>=0){const T="zAxisId"in M?M.zAxisId:S[0],{dataIndex:N}=E[L],X=(($=C[k])==null?void 0:$.call(C,M,p[_],v[D],T?b[T]:void 0)(N))??"",K=M.data[N]??null,it=M.valueFormatter(K,{dataIndex:N}),ot=Gn(M.label,"tooltip")??null;E[L].seriesItems.push({seriesId:R,color:X,value:K,formattedValue:it,formattedLabel:ot,markType:M.labelMarkType})}}):[]}),Object.keys(y).filter(o0).forEach(k=>{const O=y[k];return O?O.seriesOrder.forEach(R=>{var L;const M=O.series[R],_=M.rotationAxisId??(s==null?void 0:s.id),D=E.findIndex(({axisDirection:$,axisId:T})=>$==="rotation"&&T===_);if(D>=0){const{dataIndex:$}=E[D],T=((L=C[k])==null?void 0:L.call(C,M)($))??"",N=M.data[$]??null,X=M.valueFormatter(N,{dataIndex:$}),K=Gn(M.label,"tooltip")??null;E[D].seriesItems.push({seriesId:R,color:T,value:N,formattedValue:X,formattedLabel:K,markType:M.labelMarkType})}}):[]}),n?E:E.length===0?E[0]:null}function n6(t){return e6(I({},t,{multipleAxes:!0}))}function r6(t){const n=h0(t.classes),i=n6();return i===null?null:H.jsx(nm,{sx:t.sx,className:n.paper,children:i.map(({axisId:a,mainAxis:o,axisValue:s,axisFormattedValue:c,seriesItems:f})=>H.jsxs(rm,{className:n.table,children:[s!=null&&!o.hideTooltip&&H.jsx(d0,{component:"caption",children:c}),H.jsx("tbody",{children:f.map(({seriesId:m,color:h,formattedValue:y,formattedLabel:p,markType:v})=>y==null?null:H.jsxs(im,{className:n.row,children:[H.jsxs(Ia,{className:Mn(n.labelCell,n.cell),component:"th",children:[H.jsx("div",{className:n.markContainer,children:H.jsx(Js,{type:v,color:h,className:n.mark})}),p||null]}),H.jsx(Ia,{className:Mn(n.valueCell,n.cell),component:"td",children:y})]},m))})]},a))})}const ob={};function i6(t,n){const i=Y.useRef(ob);return i.current===ob&&(i.current=t(n)),i}var Je="top",Rn="bottom",kn="right",tn="left",m0="auto",nu=[Je,Rn,kn,tn],ol="start",Yo="end",a6="clippingParents",f2="viewport",So="popper",l6="reference",ub=nu.reduce(function(t,n){return t.concat([n+"-"+ol,n+"-"+Yo])},[]),d2=[].concat(nu,[m0]).reduce(function(t,n){return t.concat([n,n+"-"+ol,n+"-"+Yo])},[]),o6="beforeRead",u6="read",s6="afterRead",c6="beforeMain",f6="main",d6="afterMain",h6="beforeWrite",m6="write",g6="afterWrite",p6=[o6,u6,s6,c6,f6,d6,h6,m6,g6];function rr(t){return t?(t.nodeName||"").toLowerCase():null}function hn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function Li(t){var n=hn(t).Element;return t instanceof n||t instanceof Element}function _n(t){var n=hn(t).HTMLElement;return t instanceof n||t instanceof HTMLElement}function g0(t){if(typeof ShadowRoot>"u")return!1;var n=hn(t).ShadowRoot;return t instanceof n||t instanceof ShadowRoot}function y6(t){var n=t.state;Object.keys(n.elements).forEach(function(i){var a=n.styles[i]||{},o=n.attributes[i]||{},s=n.elements[i];!_n(s)||!rr(s)||(Object.assign(s.style,a),Object.keys(o).forEach(function(c){var f=o[c];f===!1?s.removeAttribute(c):s.setAttribute(c,f===!0?"":f)}))})}function v6(t){var n=t.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow),function(){Object.keys(n.elements).forEach(function(a){var o=n.elements[a],s=n.attributes[a]||{},c=Object.keys(n.styles.hasOwnProperty(a)?n.styles[a]:i[a]),f=c.reduce(function(m,h){return m[h]="",m},{});!_n(o)||!rr(o)||(Object.assign(o.style,f),Object.keys(s).forEach(function(m){o.removeAttribute(m)}))})}}const b6={name:"applyStyles",enabled:!0,phase:"write",fn:y6,effect:v6,requires:["computeStyles"]};function nr(t){return t.split("-")[0]}var Ui=Math.max,tc=Math.min,ul=Math.round;function am(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function h2(){return!/^((?!chrome|android).)*safari/i.test(am())}function sl(t,n,i){n===void 0&&(n=!1),i===void 0&&(i=!1);var a=t.getBoundingClientRect(),o=1,s=1;n&&_n(t)&&(o=t.offsetWidth>0&&ul(a.width)/t.offsetWidth||1,s=t.offsetHeight>0&&ul(a.height)/t.offsetHeight||1);var c=Li(t)?hn(t):window,f=c.visualViewport,m=!h2()&&i,h=(a.left+(m&&f?f.offsetLeft:0))/o,y=(a.top+(m&&f?f.offsetTop:0))/s,p=a.width/o,v=a.height/s;return{width:p,height:v,top:y,right:h+p,bottom:y+v,left:h,x:h,y}}function p0(t){var n=sl(t),i=t.offsetWidth,a=t.offsetHeight;return Math.abs(n.width-i)<=1&&(i=n.width),Math.abs(n.height-a)<=1&&(a=n.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:a}}function m2(t,n){var i=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(i&&g0(i)){var a=n;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Nr(t){return hn(t).getComputedStyle(t)}function x6(t){return["table","td","th"].indexOf(rr(t))>=0}function fi(t){return((Li(t)?t.ownerDocument:t.document)||window.document).documentElement}function Lc(t){return rr(t)==="html"?t:t.assignedSlot||t.parentNode||(g0(t)?t.host:null)||fi(t)}function sb(t){return!_n(t)||Nr(t).position==="fixed"?null:t.offsetParent}function S6(t){var n=/firefox/i.test(am()),i=/Trident/i.test(am());if(i&&_n(t)){var a=Nr(t);if(a.position==="fixed")return null}var o=Lc(t);for(g0(o)&&(o=o.host);_n(o)&&["html","body"].indexOf(rr(o))<0;){var s=Nr(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||n&&s.willChange==="filter"||n&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function ru(t){for(var n=hn(t),i=sb(t);i&&x6(i)&&Nr(i).position==="static";)i=sb(i);return i&&(rr(i)==="html"||rr(i)==="body"&&Nr(i).position==="static")?n:i||S6(t)||n}function y0(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _o(t,n,i){return Ui(t,tc(n,i))}function A6(t,n,i){var a=_o(t,n,i);return a>i?i:a}function g2(){return{top:0,right:0,bottom:0,left:0}}function p2(t){return Object.assign({},g2(),t)}function y2(t,n){return n.reduce(function(i,a){return i[a]=t,i},{})}var T6=function(n,i){return n=typeof n=="function"?n(Object.assign({},i.rects,{placement:i.placement})):n,p2(typeof n!="number"?n:y2(n,nu))};function C6(t){var n,i=t.state,a=t.name,o=t.options,s=i.elements.arrow,c=i.modifiersData.popperOffsets,f=nr(i.placement),m=y0(f),h=[tn,kn].indexOf(f)>=0,y=h?"height":"width";if(!(!s||!c)){var p=T6(o.padding,i),v=p0(s),b=m==="y"?Je:tn,S=m==="y"?Rn:kn,x=i.rects.reference[y]+i.rects.reference[m]-c[m]-i.rects.popper[y],C=c[m]-i.rects.reference[m],E=ru(s),k=E?m==="y"?E.clientHeight||0:E.clientWidth||0:0,O=x/2-C/2,R=p[b],M=k-v[y]-p[S],_=k/2-v[y]/2+O,D=_o(R,_,M),L=m;i.modifiersData[a]=(n={},n[L]=D,n.centerOffset=D-_,n)}}function w6(t){var n=t.state,i=t.options,a=i.element,o=a===void 0?"[data-popper-arrow]":a;o!=null&&(typeof o=="string"&&(o=n.elements.popper.querySelector(o),!o)||m2(n.elements.popper,o)&&(n.elements.arrow=o))}const M6={name:"arrow",enabled:!0,phase:"main",fn:C6,effect:w6,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function cl(t){return t.split("-")[1]}var E6={top:"auto",right:"auto",bottom:"auto",left:"auto"};function O6(t,n){var i=t.x,a=t.y,o=n.devicePixelRatio||1;return{x:ul(i*o)/o||0,y:ul(a*o)/o||0}}function cb(t){var n,i=t.popper,a=t.popperRect,o=t.placement,s=t.variation,c=t.offsets,f=t.position,m=t.gpuAcceleration,h=t.adaptive,y=t.roundOffsets,p=t.isFixed,v=c.x,b=v===void 0?0:v,S=c.y,x=S===void 0?0:S,C=typeof y=="function"?y({x:b,y:x}):{x:b,y:x};b=C.x,x=C.y;var E=c.hasOwnProperty("x"),k=c.hasOwnProperty("y"),O=tn,R=Je,M=window;if(h){var _=ru(i),D="clientHeight",L="clientWidth";if(_===hn(i)&&(_=fi(i),Nr(_).position!=="static"&&f==="absolute"&&(D="scrollHeight",L="scrollWidth")),_=_,o===Je||(o===tn||o===kn)&&s===Yo){R=Rn;var $=p&&_===M&&M.visualViewport?M.visualViewport.height:_[D];x-=$-a.height,x*=m?1:-1}if(o===tn||(o===Je||o===Rn)&&s===Yo){O=kn;var T=p&&_===M&&M.visualViewport?M.visualViewport.width:_[L];b-=T-a.width,b*=m?1:-1}}var N=Object.assign({position:f},h&&E6),X=y===!0?O6({x:b,y:x},hn(i)):{x:b,y:x};if(b=X.x,x=X.y,m){var K;return Object.assign({},N,(K={},K[R]=k?"0":"",K[O]=E?"0":"",K.transform=(M.devicePixelRatio||1)<=1?"translate("+b+"px, "+x+"px)":"translate3d("+b+"px, "+x+"px, 0)",K))}return Object.assign({},N,(n={},n[R]=k?x+"px":"",n[O]=E?b+"px":"",n.transform="",n))}function _6(t){var n=t.state,i=t.options,a=i.gpuAcceleration,o=a===void 0?!0:a,s=i.adaptive,c=s===void 0?!0:s,f=i.roundOffsets,m=f===void 0?!0:f,h={placement:nr(n.placement),variation:cl(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,cb(Object.assign({},h,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:c,roundOffsets:m})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,cb(Object.assign({},h,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:m})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}const R6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_6,data:{}};var Ms={passive:!0};function k6(t){var n=t.state,i=t.instance,a=t.options,o=a.scroll,s=o===void 0?!0:o,c=a.resize,f=c===void 0?!0:c,m=hn(n.elements.popper),h=[].concat(n.scrollParents.reference,n.scrollParents.popper);return s&&h.forEach(function(y){y.addEventListener("scroll",i.update,Ms)}),f&&m.addEventListener("resize",i.update,Ms),function(){s&&h.forEach(function(y){y.removeEventListener("scroll",i.update,Ms)}),f&&m.removeEventListener("resize",i.update,Ms)}}const D6={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:k6,data:{}};var z6={left:"right",right:"left",bottom:"top",top:"bottom"};function Ns(t){return t.replace(/left|right|bottom|top/g,function(n){return z6[n]})}var N6={start:"end",end:"start"};function fb(t){return t.replace(/start|end/g,function(n){return N6[n]})}function v0(t){var n=hn(t),i=n.pageXOffset,a=n.pageYOffset;return{scrollLeft:i,scrollTop:a}}function b0(t){return sl(fi(t)).left+v0(t).scrollLeft}function U6(t,n){var i=hn(t),a=fi(t),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,f=0,m=0;if(o){s=o.width,c=o.height;var h=h2();(h||!h&&n==="fixed")&&(f=o.offsetLeft,m=o.offsetTop)}return{width:s,height:c,x:f+b0(t),y:m}}function j6(t){var n,i=fi(t),a=v0(t),o=(n=t.ownerDocument)==null?void 0:n.body,s=Ui(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=Ui(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-a.scrollLeft+b0(t),m=-a.scrollTop;return Nr(o||i).direction==="rtl"&&(f+=Ui(i.clientWidth,o?o.clientWidth:0)-s),{width:s,height:c,x:f,y:m}}function x0(t){var n=Nr(t),i=n.overflow,a=n.overflowX,o=n.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+a)}function v2(t){return["html","body","#document"].indexOf(rr(t))>=0?t.ownerDocument.body:_n(t)&&x0(t)?t:v2(Lc(t))}function Ro(t,n){var i;n===void 0&&(n=[]);var a=v2(t),o=a===((i=t.ownerDocument)==null?void 0:i.body),s=hn(a),c=o?[s].concat(s.visualViewport||[],x0(a)?a:[]):a,f=n.concat(c);return o?f:f.concat(Ro(Lc(c)))}function lm(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function $6(t,n){var i=sl(t,!1,n==="fixed");return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}function db(t,n,i){return n===f2?lm(U6(t,i)):Li(n)?$6(n,i):lm(j6(fi(t)))}function B6(t){var n=Ro(Lc(t)),i=["absolute","fixed"].indexOf(Nr(t).position)>=0,a=i&&_n(t)?ru(t):t;return Li(a)?n.filter(function(o){return Li(o)&&m2(o,a)&&rr(o)!=="body"}):[]}function L6(t,n,i,a){var o=n==="clippingParents"?B6(t):[].concat(n),s=[].concat(o,[i]),c=s[0],f=s.reduce(function(m,h){var y=db(t,h,a);return m.top=Ui(y.top,m.top),m.right=tc(y.right,m.right),m.bottom=tc(y.bottom,m.bottom),m.left=Ui(y.left,m.left),m},db(t,c,a));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function b2(t){var n=t.reference,i=t.element,a=t.placement,o=a?nr(a):null,s=a?cl(a):null,c=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m;switch(o){case Je:m={x:c,y:n.y-i.height};break;case Rn:m={x:c,y:n.y+n.height};break;case kn:m={x:n.x+n.width,y:f};break;case tn:m={x:n.x-i.width,y:f};break;default:m={x:n.x,y:n.y}}var h=o?y0(o):null;if(h!=null){var y=h==="y"?"height":"width";switch(s){case ol:m[h]=m[h]-(n[y]/2-i[y]/2);break;case Yo:m[h]=m[h]+(n[y]/2-i[y]/2);break}}return m}function Go(t,n){n===void 0&&(n={});var i=n,a=i.placement,o=a===void 0?t.placement:a,s=i.strategy,c=s===void 0?t.strategy:s,f=i.boundary,m=f===void 0?a6:f,h=i.rootBoundary,y=h===void 0?f2:h,p=i.elementContext,v=p===void 0?So:p,b=i.altBoundary,S=b===void 0?!1:b,x=i.padding,C=x===void 0?0:x,E=p2(typeof C!="number"?C:y2(C,nu)),k=v===So?l6:So,O=t.rects.popper,R=t.elements[S?k:v],M=L6(Li(R)?R:R.contextElement||fi(t.elements.popper),m,y,c),_=sl(t.elements.reference),D=b2({reference:_,element:O,placement:o}),L=lm(Object.assign({},O,D)),$=v===So?L:_,T={top:M.top-$.top+E.top,bottom:$.bottom-M.bottom+E.bottom,left:M.left-$.left+E.left,right:$.right-M.right+E.right},N=t.modifiersData.offset;if(v===So&&N){var X=N[o];Object.keys(T).forEach(function(K){var it=[kn,Rn].indexOf(K)>=0?1:-1,ot=[Je,Rn].indexOf(K)>=0?"y":"x";T[K]+=X[ot]*it})}return T}function H6(t,n){n===void 0&&(n={});var i=n,a=i.placement,o=i.boundary,s=i.rootBoundary,c=i.padding,f=i.flipVariations,m=i.allowedAutoPlacements,h=m===void 0?d2:m,y=cl(a),p=y?f?ub:ub.filter(function(S){return cl(S)===y}):nu,v=p.filter(function(S){return h.indexOf(S)>=0});v.length===0&&(v=p);var b=v.reduce(function(S,x){return S[x]=Go(t,{placement:x,boundary:o,rootBoundary:s,padding:c})[nr(x)],S},{});return Object.keys(b).sort(function(S,x){return b[S]-b[x]})}function Y6(t){if(nr(t)===m0)return[];var n=Ns(t);return[fb(t),n,fb(n)]}function G6(t){var n=t.state,i=t.options,a=t.name;if(!n.modifiersData[a]._skip){for(var o=i.mainAxis,s=o===void 0?!0:o,c=i.altAxis,f=c===void 0?!0:c,m=i.fallbackPlacements,h=i.padding,y=i.boundary,p=i.rootBoundary,v=i.altBoundary,b=i.flipVariations,S=b===void 0?!0:b,x=i.allowedAutoPlacements,C=n.options.placement,E=nr(C),k=E===C,O=m||(k||!S?[Ns(C)]:Y6(C)),R=[C].concat(O).reduce(function(ct,yt){return ct.concat(nr(yt)===m0?H6(n,{placement:yt,boundary:y,rootBoundary:p,padding:h,flipVariations:S,allowedAutoPlacements:x}):yt)},[]),M=n.rects.reference,_=n.rects.popper,D=new Map,L=!0,$=R[0],T=0;T<R.length;T++){var N=R[T],X=nr(N),K=cl(N)===ol,it=[Je,Rn].indexOf(X)>=0,ot=it?"width":"height",j=Go(n,{placement:N,boundary:y,rootBoundary:p,altBoundary:v,padding:h}),P=it?K?kn:tn:K?Rn:Je;M[ot]>_[ot]&&(P=Ns(P));var nt=Ns(P),ut=[];if(s&&ut.push(j[X]<=0),f&&ut.push(j[P]<=0,j[nt]<=0),ut.every(function(ct){return ct})){$=N,L=!1;break}D.set(N,ut)}if(L)for(var z=S?3:1,F=function(yt){var dt=R.find(function(gt){var mt=D.get(gt);if(mt)return mt.slice(0,yt).every(function(st){return st})});if(dt)return $=dt,"break"},at=z;at>0;at--){var lt=F(at);if(lt==="break")break}n.placement!==$&&(n.modifiersData[a]._skip=!0,n.placement=$,n.reset=!0)}}const q6={name:"flip",enabled:!0,phase:"main",fn:G6,requiresIfExists:["offset"],data:{_skip:!1}};function hb(t,n,i){return i===void 0&&(i={x:0,y:0}),{top:t.top-n.height-i.y,right:t.right-n.width+i.x,bottom:t.bottom-n.height+i.y,left:t.left-n.width-i.x}}function mb(t){return[Je,kn,Rn,tn].some(function(n){return t[n]>=0})}function I6(t){var n=t.state,i=t.name,a=n.rects.reference,o=n.rects.popper,s=n.modifiersData.preventOverflow,c=Go(n,{elementContext:"reference"}),f=Go(n,{altBoundary:!0}),m=hb(c,a),h=hb(f,o,s),y=mb(m),p=mb(h);n.modifiersData[i]={referenceClippingOffsets:m,popperEscapeOffsets:h,isReferenceHidden:y,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":y,"data-popper-escaped":p})}const V6={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:I6};function X6(t,n,i){var a=nr(t),o=[tn,Je].indexOf(a)>=0?-1:1,s=typeof i=="function"?i(Object.assign({},n,{placement:t})):i,c=s[0],f=s[1];return c=c||0,f=(f||0)*o,[tn,kn].indexOf(a)>=0?{x:f,y:c}:{x:c,y:f}}function P6(t){var n=t.state,i=t.options,a=t.name,o=i.offset,s=o===void 0?[0,0]:o,c=d2.reduce(function(y,p){return y[p]=X6(p,n.rects,s),y},{}),f=c[n.placement],m=f.x,h=f.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=m,n.modifiersData.popperOffsets.y+=h),n.modifiersData[a]=c}const Z6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:P6};function Q6(t){var n=t.state,i=t.name;n.modifiersData[i]=b2({reference:n.rects.reference,element:n.rects.popper,placement:n.placement})}const K6={name:"popperOffsets",enabled:!0,phase:"read",fn:Q6,data:{}};function F6(t){return t==="x"?"y":"x"}function W6(t){var n=t.state,i=t.options,a=t.name,o=i.mainAxis,s=o===void 0?!0:o,c=i.altAxis,f=c===void 0?!1:c,m=i.boundary,h=i.rootBoundary,y=i.altBoundary,p=i.padding,v=i.tether,b=v===void 0?!0:v,S=i.tetherOffset,x=S===void 0?0:S,C=Go(n,{boundary:m,rootBoundary:h,padding:p,altBoundary:y}),E=nr(n.placement),k=cl(n.placement),O=!k,R=y0(E),M=F6(R),_=n.modifiersData.popperOffsets,D=n.rects.reference,L=n.rects.popper,$=typeof x=="function"?x(Object.assign({},n.rects,{placement:n.placement})):x,T=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),N=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,X={x:0,y:0};if(_){if(s){var K,it=R==="y"?Je:tn,ot=R==="y"?Rn:kn,j=R==="y"?"height":"width",P=_[R],nt=P+C[it],ut=P-C[ot],z=b?-L[j]/2:0,F=k===ol?D[j]:L[j],at=k===ol?-L[j]:-D[j],lt=n.elements.arrow,ct=b&<?p0(lt):{width:0,height:0},yt=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:g2(),dt=yt[it],gt=yt[ot],mt=_o(0,D[j],ct[j]),st=O?D[j]/2-z-mt-dt-T.mainAxis:F-mt-dt-T.mainAxis,xt=O?-D[j]/2+z+mt+gt+T.mainAxis:at+mt+gt+T.mainAxis,bt=n.elements.arrow&&ru(n.elements.arrow),rt=bt?R==="y"?bt.clientTop||0:bt.clientLeft||0:0,Rt=(K=N==null?void 0:N[R])!=null?K:0,vt=P+st-Rt-rt,Bt=P+xt-Rt,Wt=_o(b?tc(nt,vt):nt,P,b?Ui(ut,Bt):ut);_[R]=Wt,X[R]=Wt-P}if(f){var Yt,Ae=R==="x"?Je:tn,se=R==="x"?Rn:kn,me=_[M],Kt=M==="y"?"height":"width",Xe=me+C[Ae],mn=me-C[se],gn=[Je,tn].indexOf(E)!==-1,Un=(Yt=N==null?void 0:N[M])!=null?Yt:0,Ge=gn?Xe:me-D[Kt]-L[Kt]-Un+T.altAxis,te=gn?me+D[Kt]+L[Kt]-Un-T.altAxis:mn,_e=b&&gn?A6(Ge,me,te):_o(b?Ge:Xe,me,b?te:mn);_[M]=_e,X[M]=_e-me}n.modifiersData[a]=X}}const J6={name:"preventOverflow",enabled:!0,phase:"main",fn:W6,requiresIfExists:["offset"]};function tD(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function eD(t){return t===hn(t)||!_n(t)?v0(t):tD(t)}function nD(t){var n=t.getBoundingClientRect(),i=ul(n.width)/t.offsetWidth||1,a=ul(n.height)/t.offsetHeight||1;return i!==1||a!==1}function rD(t,n,i){i===void 0&&(i=!1);var a=_n(n),o=_n(n)&&nD(n),s=fi(n),c=sl(t,o,i),f={scrollLeft:0,scrollTop:0},m={x:0,y:0};return(a||!a&&!i)&&((rr(n)!=="body"||x0(s))&&(f=eD(n)),_n(n)?(m=sl(n,!0),m.x+=n.clientLeft,m.y+=n.clientTop):s&&(m.x=b0(s))),{x:c.left+f.scrollLeft-m.x,y:c.top+f.scrollTop-m.y,width:c.width,height:c.height}}function iD(t){var n=new Map,i=new Set,a=[];t.forEach(function(s){n.set(s.name,s)});function o(s){i.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(f){if(!i.has(f)){var m=n.get(f);m&&o(m)}}),a.push(s)}return t.forEach(function(s){i.has(s.name)||o(s)}),a}function aD(t){var n=iD(t);return p6.reduce(function(i,a){return i.concat(n.filter(function(o){return o.phase===a}))},[])}function lD(t){var n;return function(){return n||(n=new Promise(function(i){Promise.resolve().then(function(){n=void 0,i(t())})})),n}}function oD(t){var n=t.reduce(function(i,a){var o=i[a.name];return i[a.name]=o?Object.assign({},o,a,{options:Object.assign({},o.options,a.options),data:Object.assign({},o.data,a.data)}):a,i},{});return Object.keys(n).map(function(i){return n[i]})}var gb={placement:"bottom",modifiers:[],strategy:"absolute"};function pb(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return!n.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function uD(t){t===void 0&&(t={});var n=t,i=n.defaultModifiers,a=i===void 0?[]:i,o=n.defaultOptions,s=o===void 0?gb:o;return function(f,m,h){h===void 0&&(h=s);var y={placement:"bottom",orderedModifiers:[],options:Object.assign({},gb,s),modifiersData:{},elements:{reference:f,popper:m},attributes:{},styles:{}},p=[],v=!1,b={state:y,setOptions:function(E){var k=typeof E=="function"?E(y.options):E;x(),y.options=Object.assign({},s,y.options,k),y.scrollParents={reference:Li(f)?Ro(f):f.contextElement?Ro(f.contextElement):[],popper:Ro(m)};var O=aD(oD([].concat(a,y.options.modifiers)));return y.orderedModifiers=O.filter(function(R){return R.enabled}),S(),b.update()},forceUpdate:function(){if(!v){var E=y.elements,k=E.reference,O=E.popper;if(pb(k,O)){y.rects={reference:rD(k,ru(O),y.options.strategy==="fixed"),popper:p0(O)},y.reset=!1,y.placement=y.options.placement,y.orderedModifiers.forEach(function(T){return y.modifiersData[T.name]=Object.assign({},T.data)});for(var R=0;R<y.orderedModifiers.length;R++){if(y.reset===!0){y.reset=!1,R=-1;continue}var M=y.orderedModifiers[R],_=M.fn,D=M.options,L=D===void 0?{}:D,$=M.name;typeof _=="function"&&(y=_({state:y,options:L,name:$,instance:b})||y)}}}},update:lD(function(){return new Promise(function(C){b.forceUpdate(),C(y)})}),destroy:function(){x(),v=!0}};if(!pb(f,m))return b;b.setOptions(h).then(function(C){!v&&h.onFirstUpdate&&h.onFirstUpdate(C)});function S(){y.orderedModifiers.forEach(function(C){var E=C.name,k=C.options,O=k===void 0?{}:k,R=C.effect;if(typeof R=="function"){var M=R({state:y,name:E,instance:b,options:O}),_=function(){};p.push(M||_)}})}function x(){p.forEach(function(C){return C()}),p=[]}return b}}var sD=[D6,K6,R6,b6,Z6,q6,J6,M6,V6],cD=uD({defaultModifiers:sD}),fD=$b();function yb(t,n){typeof t=="function"?t(n):t&&(t.current=n)}function dD(t){var n;return parseInt(Y.version,10)>=19?((n=t==null?void 0:t.props)==null?void 0:n.ref)||null:(t==null?void 0:t.ref)||null}function hD(t){return typeof t=="function"?t():t}const mD=Y.forwardRef(function(n,i){const{children:a,container:o,disablePortal:s=!1}=n,[c,f]=Y.useState(null),m=Wa(Y.isValidElement(a)?dD(a):null,i);if(Ye(()=>{s||f(hD(o)||document.body)},[o,s]),Ye(()=>{if(c&&!s)return yb(i,c),()=>{yb(i,null)}},[i,c,s]),s){if(Y.isValidElement(a)){const h={ref:m};return Y.cloneElement(a,h)}return a}return c&&fD.createPortal(a,c)});function gD(t){return zn("MuiPopper",t)}qn("MuiPopper",["root"]);function pD(t,n){if(n==="ltr")return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function om(t){return typeof t=="function"?t():t}function yD(t){return t.nodeType!==void 0}const vD=t=>{const{classes:n}=t;return Nn({root:["root"]},gD,n)},bD={},xD=Y.forwardRef(function(n,i){const{anchorEl:a,children:o,direction:s,disablePortal:c,modifiers:f,open:m,placement:h,popperOptions:y,popperRef:p,slotProps:v={},slots:b={},TransitionProps:S,ownerState:x,...C}=n,E=Y.useRef(null),k=Wa(E,i),O=Y.useRef(null),R=Wa(O,p),M=Y.useRef(R);Ye(()=>{M.current=R},[R]),Y.useImperativeHandle(p,()=>O.current,[]);const _=pD(h,s),[D,L]=Y.useState(_),[$,T]=Y.useState(om(a));Y.useEffect(()=>{O.current&&O.current.forceUpdate()}),Y.useEffect(()=>{a&&T(om(a))},[a]),Ye(()=>{if(!$||!m)return;const ot=nt=>{L(nt.placement)};let j=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:nt})=>{ot(nt)}}];f!=null&&(j=j.concat(f)),y&&y.modifiers!=null&&(j=j.concat(y.modifiers));const P=cD($,E.current,{placement:_,...y,modifiers:j});return M.current(P),()=>{P.destroy(),M.current(null)}},[$,c,f,m,y,_]);const N={placement:D};S!==null&&(N.TransitionProps=S);const X=vD(n),K=b.root??"div",it=Or({elementType:K,externalSlotProps:v.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:k},ownerState:n,className:X.root});return H.jsx(K,{...it,children:typeof o=="function"?o(N):o})}),SD=Y.forwardRef(function(n,i){const{anchorEl:a,children:o,container:s,direction:c="ltr",disablePortal:f=!1,keepMounted:m=!1,modifiers:h,open:y,placement:p="bottom",popperOptions:v=bD,popperRef:b,style:S,transition:x=!1,slotProps:C={},slots:E={},...k}=n,[O,R]=Y.useState(!0),M=()=>{R(!1)},_=()=>{R(!0)};if(!m&&!y&&(!x||O))return null;let D;if(s)D=s;else if(a){const T=om(a);D=T&&yD(T)?Vh(T).body:Vh(null).body}const L=!y&&m&&(!x||O)?"none":void 0,$=x?{in:y,onEnter:M,onExited:_}:void 0;return H.jsx(mD,{disablePortal:f,container:D,children:H.jsx(xD,{anchorEl:a,direction:c,disablePortal:f,modifiers:h,ref:i,open:x?!O:y,placement:p,popperOptions:v,popperRef:b,slotProps:C,slots:E,...k,style:{position:"fixed",top:0,left:0,display:L,...S},TransitionProps:$,children:o})})}),AD=he(SD,{name:"MuiPopper",slot:"Root"})({}),TD=Y.forwardRef(function(n,i){const a=Mm(),o=r2({props:n,name:"MuiPopper"}),{anchorEl:s,component:c,components:f,componentsProps:m,container:h,disablePortal:y,keepMounted:p,modifiers:v,open:b,placement:S,popperOptions:x,popperRef:C,transition:E,slots:k,slotProps:O,...R}=o,M=(k==null?void 0:k.root)??(f==null?void 0:f.Root),_={anchorEl:s,container:h,disablePortal:y,keepMounted:p,modifiers:v,open:b,placement:S,popperOptions:x,popperRef:C,transition:E,...R};return H.jsx(AD,{as:c,direction:a?"rtl":"ltr",slots:{root:M},slotProps:O??m,..._,ref:i})});function CD(t){const{children:n,defer:i=!1,fallback:a=null}=t,[o,s]=Y.useState(!1);return Ye(()=>{i||s(!0)},[i]),Y.useEffect(()=>{i&&s(!0)},[i]),o?n:a}function wD(){const t=Jt(),n=wt(t,LS),i=wt(t,hl);return n!==void 0?"polar":i!==void 0?"cartesian":"none"}const MD=["trigger","classes","children"],ED=()=>!1,OD=he(TD,{name:"MuiChartsTooltip",slot:"Root"})(({theme:t})=>({pointerEvents:"none",zIndex:t.zIndex.modal}));function _D(t){const n=ir({props:t,name:"MuiChartsTooltipContainer"}),{trigger:i="axis",classes:a,children:o}=n,s=Qt(n,MD),c=s0(),f=Fk(),m=Y.useRef(null),h=i6(()=>({x:0,y:0})),y=wD(),p=Jt(),v=wt(p,i==="axis"?y==="polar"&&t6||y==="cartesian"&&OR||ED:TR),b=f!==null&&v;Y.useEffect(()=>{const C=c.current;if(C===null)return()=>{};const E=k=>{var O;h.current={x:k.clientX,y:k.clientY},(O=m.current)==null||O.update()};return C.addEventListener("pointermove",E),()=>{C.removeEventListener("pointermove",E)}},[c,h]);const S=Y.useMemo(()=>({getBoundingClientRect:()=>({x:h.current.x,y:h.current.y,top:h.current.y,left:h.current.x,right:h.current.x,bottom:h.current.y,width:0,height:0,toJSON:()=>""})}),[h]),x=Y.useMemo(()=>[{name:"offset",options:{offset:()=>(f==null?void 0:f.pointerType)!=="touch"?[0,8]:[0,64]}},...(f==null?void 0:f.pointerType)==="mouse"?[]:[{name:"flip",options:{fallbackPlacements:["top-end","top-start","bottom-end","bottom"]}}]],[f]);return i==="none"?null:H.jsx(CD,{children:b&&H.jsx(OD,I({className:a==null?void 0:a.root,open:b,placement:(f==null?void 0:f.pointerType)==="mouse"?"right-start":"top",popperRef:m,anchorEl:S,modifiers:x},s,{children:o}))})}function RD(t){const{classes:n,trigger:i="axis"}=t,a=h0(n);return H.jsx(_D,I({},t,{classes:a,children:i==="axis"?H.jsx(r6,{classes:a}):H.jsx(Qk,{classes:a})}))}const kD=t=>({type:"series",color:t.color,label:t.label,seriesId:t.seriesId,itemId:t.itemId});function DD(t){return zn("MuiChartsLegend",t)}const zD=t=>{const{classes:n,direction:i}=t;return Nn({root:["root",i],mark:["mark"],label:["label"],series:["series"]},DD,n)},vb=qn("MuiChartsLegend",["root","series","mark","label","vertical","horizontal"]),ND=["slots","slotProps"],UD=["ownerState"],jD=(t,n,i,a)=>{function o(s,c){var M;const f=ir({props:s,name:t}),m=typeof i.defaultProps=="function"?i.defaultProps(f):i.defaultProps??{},h=Fa(m,f),y=h,{slots:p,slotProps:v}=y,b=Qt(y,ND),S=Zo(),x=(M=i.classesResolver)==null?void 0:M.call(i,h,S),C=(p==null?void 0:p[n])??a,E=i.propagateSlots&&!(p!=null&&p[n]),k=Or({elementType:C,externalSlotProps:v==null?void 0:v[n],additionalProps:I({},b,{classes:x},E&&{slots:p,slotProps:v}),ownerState:{}}),O=Qt(k,UD),R=I({},O);for(const _ of i.omitProps??[])delete R[_];return H.jsx(C,I({},R,{ref:c}))}return Y.forwardRef(o)};function $D(t){return zn("MuiChartsLabel",t)}qn("MuiChartsLabel",["root"]);const BD=t=>Nn({root:["root"]},$D,t.classes),LD=["children","className","classes"],HD=i2("MuiChartsLabel",{classesResolver:BD},function(n,i){const{children:a,className:o,classes:s}=n,c=Qt(n,LD);return H.jsx("span",I({className:Mn(s==null?void 0:s.root,o),ref:i},c,{children:a}))}),YD=["direction","onItemClick","className","classes"],GD=he("ul",{name:"MuiChartsLegend",slot:"Root"})(({ownerState:t,theme:n})=>I({},n.typography.caption,{color:(n.vars||n).palette.text.primary,lineHeight:"100%",display:"flex",flexDirection:t.direction==="vertical"?"column":"row",alignItems:t.direction==="vertical"?void 0:"center",flexShrink:0,gap:n.spacing(2),listStyleType:"none",paddingInlineStart:0,marginBlock:n.spacing(1),marginInline:n.spacing(1),flexWrap:"wrap",li:{display:t.direction==="horizontal"?"inline-flex":void 0},[`button.${vb.series}`]:{background:"none",border:"none",padding:0,fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",letterSpacing:"inherit",color:"inherit"},[`& .${vb.series}`]:{display:t.direction==="vertical"?"flex":"inline-flex",alignItems:"center",gap:n.spacing(1)}})),qD=jD("MuiChartsLegend","legend",{defaultProps:{direction:"horizontal"},omitProps:["position"],classesResolver:zD},Y.forwardRef(function(n,i){const a=b5(),{onItemClick:o,className:s,classes:c}=n,f=Qt(n,YD);if(a.items.length===0)return null;const m=o?"button":"div";return H.jsx(GD,I({className:Mn(c==null?void 0:c.root,s),ref:i},f,{ownerState:n,children:a.items.map((h,y)=>H.jsx("li",{children:H.jsxs(m,{className:c==null?void 0:c.series,role:o?"button":void 0,type:o?"button":void 0,onClick:o?p=>o(p,kD(h),y):void 0,children:[H.jsx(Js,{className:c==null?void 0:c.mark,color:h.color,type:h.markType}),H.jsx(HD,{className:c==null?void 0:c.label,children:h.label})]})},h.id))}))}));function ID(t){return zn("MuiChartsAxisHighlight",t)}qn("MuiChartsAxisHighlight",["root"]);const ec=he("path",{name:"MuiChartsAxisHighlight",slot:"Root"})(({theme:t})=>({pointerEvents:"none",variants:[{props:{axisHighlight:"band"},style:I({fill:"white",fillOpacity:.1},t.applyStyles("light",{fill:"gray"}))},{props:{axisHighlight:"line"},style:I({strokeDasharray:"5 2",stroke:"#ffffff"},t.applyStyles("light",{stroke:"#000000"}))}]}));function VD(t){const{type:n,classes:i}=t,{left:a,width:o}=ar(),s=d5(),c=Jt(),f=wt(c,ER),m=Fs(s),h=n==="band"&&f!==null&&$r(s);return H.jsxs(Y.Fragment,{children:[h&&s(f)!==void 0&&H.jsx(ec,{d:`M ${a} ${s(f)-(s.step()-s.bandwidth())/2} l 0 ${s.step()} l ${o} 0 l 0 ${-s.step()} Z`,className:i.root,ownerState:{axisHighlight:"band"}}),n==="line"&&f!==null&&H.jsx(ec,{d:`M ${a} ${m(f)} L ${a+o} ${m(f)}`,className:i.root,ownerState:{axisHighlight:"line"}})]})}function XD(t){const{type:n,classes:i}=t,{top:a,height:o}=ar(),s=f5(),c=Jt(),f=wt(c,MR),m=Fs(s),h=n==="band"&&f!==null&&$r(s);return H.jsxs(Y.Fragment,{children:[h&&s(f)!==void 0&&H.jsx(ec,{d:`M ${s(f)-(s.step()-s.bandwidth())/2} ${a} l ${s.step()} 0 l 0 ${o} l ${-s.step()} 0 Z`,className:i.root,ownerState:{axisHighlight:"band"}}),n==="line"&&f!==null&&H.jsx(ec,{d:`M ${m(f)} ${a} L ${m(f)} ${a+o}`,className:i.root,ownerState:{axisHighlight:"line"}})]})}const PD=()=>Nn({root:["root"]},ID);function ZD(t){const{x:n,y:i}=t,a=PD();return H.jsxs(Y.Fragment,{children:[n&&H.jsx(XD,{type:n,classes:a}),i&&H.jsx(VD,{type:i,classes:a})]})}function QD(t){const{id:n,offset:i}=t,{left:a,top:o,width:s,height:c}=ar(),f=I({top:0,right:0,bottom:0,left:0},i);return H.jsx("clipPath",{id:n,children:H.jsx("rect",{x:a-f.left,y:o-f.top,width:s+f.left+f.right,height:c+f.top+f.bottom})})}function KD(t){return zn("MuiChartsGrid",t)}const bb=qn("MuiChartsGrid",["root","line","horizontalLine","verticalLine"]),FD=he("g",{name:"MuiChartsGrid",slot:"Root",overridesResolver:(t,n)=>[{[`&.${bb.verticalLine}`]:n.verticalLine},{[`&.${bb.horizontalLine}`]:n.horizontalLine},n.root]})({}),x2=he("line",{name:"MuiChartsGrid",slot:"Line"})(({theme:t})=>({stroke:(t.vars||t).palette.divider,shapeRendering:"crispEdges",strokeWidth:1}));function WD(t){const{axis:n,start:i,end:a,classes:o}=t,{scale:s,tickNumber:c,tickInterval:f}=n,m=Bc({scale:s,tickNumber:c,tickInterval:f,direction:"x"});return H.jsx(Y.Fragment,{children:m.map(({value:h,offset:y})=>{var p;return H.jsx(x2,{y1:i,y2:a,x1:y,x2:y,className:o.verticalLine},`vertical-${((p=h.getTime)==null?void 0:p.call(h))??h}`)})})}function JD(t){const{axis:n,start:i,end:a,classes:o}=t,{scale:s,tickNumber:c,tickInterval:f}=n,m=Bc({scale:s,tickNumber:c,tickInterval:f,direction:"y"});return H.jsx(Y.Fragment,{children:m.map(({value:h,offset:y})=>{var p;return H.jsx(x2,{y1:y,y2:y,x1:i,x2:a,className:o.horizontalLine},`horizontal-${((p=h.getTime)==null?void 0:p.call(h))??h}`)})})}const t8=["vertical","horizontal"],e8=({classes:t})=>Nn({root:["root"],verticalLine:["line","verticalLine"],horizontalLine:["line","horizontalLine"]},KD,t);function n8(t){const n=ir({props:t,name:"MuiChartsGrid"}),i=ar(),{vertical:a,horizontal:o}=n,s=Qt(n,t8),{xAxis:c,xAxisIds:f}=Xi(),{yAxis:m,yAxisIds:h}=Pi(),y=e8(n),p=m[h[0]],v=c[f[0]];return H.jsxs(FD,I({},s,{className:y.root,children:[a&&H.jsx(WD,{axis:v,start:i.top,end:i.height+i.top,classes:y}),o&&H.jsx(JD,{axis:p,start:i.left,end:i.width+i.left,classes:y})]}))}const r8=["message"],i8=he("text")(({theme:t})=>I({},t.typography.body2,{stroke:"none",fill:(t.vars||t).palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function a8(t){const{message:n}=t,i=Qt(t,r8),{top:a,left:o,height:s,width:c}=ar(),{localeText:f}=IS();return H.jsx(i8,I({x:o+c/2,y:a+s/2},i,{children:n??f.loading}))}const l8=["message"],o8=he("text")(({theme:t})=>I({},t.typography.body2,{stroke:"none",fill:(t.vars||t).palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function u8(t){const{message:n}=t,i=Qt(t,l8),{top:a,left:o,height:s,width:c}=ar(),{localeText:f}=IS();return H.jsx(o8,I({x:o+c/2,y:a+s/2},i,{children:n??f.noData}))}function s8(){const t=jc();return Object.values(t).every(n=>{if(!n)return!0;const{series:i,seriesOrder:a}=n;return a.every(o=>i[o].data.length===0)})}function c8(t){var i,a,o,s;const n=s8();if(t.loading){const c=((i=t.slots)==null?void 0:i.loadingOverlay)??a8;return H.jsx(c,I({},(a=t.slotProps)==null?void 0:a.loadingOverlay))}if(n){const c=((o=t.slots)==null?void 0:o.noDataOverlay)??u8;return H.jsx(c,I({},(s=t.slotProps)==null?void 0:s.noDataOverlay))}return null}const f8=[Jo,ml,Wo,gl],d8=["xAxis","yAxis","series","width","height","margin","colors","dataset","sx","axisHighlight","grid","children","slots","slotProps","skipAnimation","loading","layout","onItemClick","highlightedItem","onHighlightChange","borderRadius","barLabel","className","hideLegend"],h8=t=>{var st,xt,bt,rt,Rt;const{xAxis:n,yAxis:i,series:a,width:o,height:s,margin:c,colors:f,dataset:m,sx:h,axisHighlight:y,grid:p,children:v,slots:b,slotProps:S,skipAnimation:x,loading:C,layout:E,onItemClick:k,highlightedItem:O,onHighlightChange:R,borderRadius:M,barLabel:_,className:D}=t,L=Qt(t,d8),T=`${xx()}-clip-path`,N=E==="horizontal"||E===void 0&&a.some(vt=>vt.layout==="horizontal"),X=Y.useMemo(()=>[{id:Dm,scaleType:"band",data:Array.from({length:Math.max(...a.map(vt=>(vt.data??m??[]).length))},(vt,Bt)=>Bt)}],[m,a]),K=Y.useMemo(()=>[{id:zm,scaleType:"band",data:Array.from({length:Math.max(...a.map(vt=>(vt.data??m??[]).length))},(vt,Bt)=>Bt)}],[m,a]),it=Y.useMemo(()=>a.map(vt=>I({type:"bar"},vt,{layout:N?"horizontal":"vertical"})),[N,a]),ot=N?void 0:X,j=Y.useMemo(()=>n?N?n:n.map(vt=>I({scaleType:"band"},vt)):ot,[ot,N,n]),P=N?K:void 0,nt=Y.useMemo(()=>i?N?i.map(vt=>I({scaleType:"band"},vt)):i:P,[P,N,i]),ut=I({},L,{series:it,width:o,height:s,margin:c,colors:f,dataset:m,xAxis:j,yAxis:nt,highlightedItem:O,onHighlightChange:R,disableAxisListener:((st=S==null?void 0:S.tooltip)==null?void 0:st.trigger)!=="axis"&&(y==null?void 0:y.x)==="none"&&(y==null?void 0:y.y)==="none",className:D,skipAnimation:x,plugins:f8}),z={onItemClick:k,slots:b,slotProps:S,borderRadius:M,barLabel:_},F={vertical:p==null?void 0:p.vertical,horizontal:p==null?void 0:p.horizontal},at={clipPath:`url(#${T})`},lt={id:T},ct={slots:b,slotProps:S,loading:C},yt={slots:b,slotProps:S},dt=I({},N?{y:"band"}:{x:"band"},y),gt={slots:b,slotProps:S};return{chartsWrapperProps:{sx:h,legendPosition:(bt=(xt=t.slotProps)==null?void 0:xt.legend)==null?void 0:bt.position,legendDirection:(Rt=(rt=t.slotProps)==null?void 0:rt.legend)==null?void 0:Rt.direction},chartContainerProps:ut,barPlotProps:z,gridProps:F,clipPathProps:lt,clipPathGroupProps:at,overlayProps:ct,chartsAxisProps:yt,axisHighlightProps:dt,legendProps:gt,children:v}},_r=11102230246251565e-32,Le=134217729,m8=(3+8*_r)*_r;function Uh(t,n,i,a,o){let s,c,f,m,h=n[0],y=a[0],p=0,v=0;y>h==y>-h?(s=h,h=n[++p]):(s=y,y=a[++v]);let b=0;if(p<t&&v<i)for(y>h==y>-h?(c=h+s,f=s-(c-h),h=n[++p]):(c=y+s,f=s-(c-y),y=a[++v]),s=c,f!==0&&(o[b++]=f);p<t&&v<i;)y>h==y>-h?(c=s+h,m=c-s,f=s-(c-m)+(h-m),h=n[++p]):(c=s+y,m=c-s,f=s-(c-m)+(y-m),y=a[++v]),s=c,f!==0&&(o[b++]=f);for(;p<t;)c=s+h,m=c-s,f=s-(c-m)+(h-m),h=n[++p],s=c,f!==0&&(o[b++]=f);for(;v<i;)c=s+y,m=c-s,f=s-(c-m)+(y-m),y=a[++v],s=c,f!==0&&(o[b++]=f);return(s!==0||b===0)&&(o[b++]=s),b}function g8(t,n){let i=n[0];for(let a=1;a<t;a++)i+=n[a];return i}function iu(t){return new Float64Array(t)}const p8=(3+16*_r)*_r,y8=(2+12*_r)*_r,v8=(9+64*_r)*_r*_r,Ya=iu(4),xb=iu(8),Sb=iu(12),Ab=iu(16),Ve=iu(4);function b8(t,n,i,a,o,s,c){let f,m,h,y,p,v,b,S,x,C,E,k,O,R,M,_,D,L;const $=t-o,T=i-o,N=n-s,X=a-s;R=$*X,v=Le*$,b=v-(v-$),S=$-b,v=Le*X,x=v-(v-X),C=X-x,M=S*C-(R-b*x-S*x-b*C),_=N*T,v=Le*N,b=v-(v-N),S=N-b,v=Le*T,x=v-(v-T),C=T-x,D=S*C-(_-b*x-S*x-b*C),E=M-D,p=M-E,Ya[0]=M-(E+p)+(p-D),k=R+E,p=k-R,O=R-(k-p)+(E-p),E=O-_,p=O-E,Ya[1]=O-(E+p)+(p-_),L=k+E,p=L-k,Ya[2]=k-(L-p)+(E-p),Ya[3]=L;let K=g8(4,Ya),it=y8*c;if(K>=it||-K>=it||(p=t-$,f=t-($+p)+(p-o),p=i-T,h=i-(T+p)+(p-o),p=n-N,m=n-(N+p)+(p-s),p=a-X,y=a-(X+p)+(p-s),f===0&&m===0&&h===0&&y===0)||(it=v8*c+m8*Math.abs(K),K+=$*y+X*f-(N*h+T*m),K>=it||-K>=it))return K;R=f*X,v=Le*f,b=v-(v-f),S=f-b,v=Le*X,x=v-(v-X),C=X-x,M=S*C-(R-b*x-S*x-b*C),_=m*T,v=Le*m,b=v-(v-m),S=m-b,v=Le*T,x=v-(v-T),C=T-x,D=S*C-(_-b*x-S*x-b*C),E=M-D,p=M-E,Ve[0]=M-(E+p)+(p-D),k=R+E,p=k-R,O=R-(k-p)+(E-p),E=O-_,p=O-E,Ve[1]=O-(E+p)+(p-_),L=k+E,p=L-k,Ve[2]=k-(L-p)+(E-p),Ve[3]=L;const ot=Uh(4,Ya,4,Ve,xb);R=$*y,v=Le*$,b=v-(v-$),S=$-b,v=Le*y,x=v-(v-y),C=y-x,M=S*C-(R-b*x-S*x-b*C),_=N*h,v=Le*N,b=v-(v-N),S=N-b,v=Le*h,x=v-(v-h),C=h-x,D=S*C-(_-b*x-S*x-b*C),E=M-D,p=M-E,Ve[0]=M-(E+p)+(p-D),k=R+E,p=k-R,O=R-(k-p)+(E-p),E=O-_,p=O-E,Ve[1]=O-(E+p)+(p-_),L=k+E,p=L-k,Ve[2]=k-(L-p)+(E-p),Ve[3]=L;const j=Uh(ot,xb,4,Ve,Sb);R=f*y,v=Le*f,b=v-(v-f),S=f-b,v=Le*y,x=v-(v-y),C=y-x,M=S*C-(R-b*x-S*x-b*C),_=m*h,v=Le*m,b=v-(v-m),S=m-b,v=Le*h,x=v-(v-h),C=h-x,D=S*C-(_-b*x-S*x-b*C),E=M-D,p=M-E,Ve[0]=M-(E+p)+(p-D),k=R+E,p=k-R,O=R-(k-p)+(E-p),E=O-_,p=O-E,Ve[1]=O-(E+p)+(p-_),L=k+E,p=L-k,Ve[2]=k-(L-p)+(E-p),Ve[3]=L;const P=Uh(j,Sb,4,Ve,Ab);return Ab[P-1]}function Es(t,n,i,a,o,s){const c=(n-s)*(i-o),f=(t-o)*(a-s),m=c-f,h=Math.abs(c+f);return Math.abs(m)>=p8*h?m:-b8(t,n,i,a,o,s,h)}const Tb=Math.pow(2,-52),Os=new Uint32Array(512);class nc{static from(n,i=C8,a=w8){const o=n.length,s=new Float64Array(o*2);for(let c=0;c<o;c++){const f=n[c];s[2*c]=i(f),s[2*c+1]=a(f)}return new nc(s)}constructor(n){const i=n.length>>1;if(i>0&&typeof n[0]!="number")throw new Error("Expected coords to contain numbers.");this.coords=n;const a=Math.max(2*i-5,0);this._triangles=new Uint32Array(a*3),this._halfedges=new Int32Array(a*3),this._hashSize=Math.ceil(Math.sqrt(i)),this._hullPrev=new Uint32Array(i),this._hullNext=new Uint32Array(i),this._hullTri=new Uint32Array(i),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(i),this._dists=new Float64Array(i),this.update()}update(){const{coords:n,_hullPrev:i,_hullNext:a,_hullTri:o,_hullHash:s}=this,c=n.length>>1;let f=1/0,m=1/0,h=-1/0,y=-1/0;for(let $=0;$<c;$++){const T=n[2*$],N=n[2*$+1];T<f&&(f=T),N<m&&(m=N),T>h&&(h=T),N>y&&(y=N),this._ids[$]=$}const p=(f+h)/2,v=(m+y)/2;let b,S,x;for(let $=0,T=1/0;$<c;$++){const N=jh(p,v,n[2*$],n[2*$+1]);N<T&&(b=$,T=N)}const C=n[2*b],E=n[2*b+1];for(let $=0,T=1/0;$<c;$++){if($===b)continue;const N=jh(C,E,n[2*$],n[2*$+1]);N<T&&N>0&&(S=$,T=N)}let k=n[2*S],O=n[2*S+1],R=1/0;for(let $=0;$<c;$++){if($===b||$===S)continue;const T=A8(C,E,k,O,n[2*$],n[2*$+1]);T<R&&(x=$,R=T)}let M=n[2*x],_=n[2*x+1];if(R===1/0){for(let N=0;N<c;N++)this._dists[N]=n[2*N]-n[0]||n[2*N+1]-n[1];Va(this._ids,this._dists,0,c-1);const $=new Uint32Array(c);let T=0;for(let N=0,X=-1/0;N<c;N++){const K=this._ids[N],it=this._dists[K];it>X&&($[T++]=K,X=it)}this.hull=$.subarray(0,T),this.triangles=new Uint32Array(0),this.halfedges=new Uint32Array(0);return}if(Es(C,E,k,O,M,_)<0){const $=S,T=k,N=O;S=x,k=M,O=_,x=$,M=T,_=N}const D=T8(C,E,k,O,M,_);this._cx=D.x,this._cy=D.y;for(let $=0;$<c;$++)this._dists[$]=jh(n[2*$],n[2*$+1],D.x,D.y);Va(this._ids,this._dists,0,c-1),this._hullStart=b;let L=3;a[b]=i[x]=S,a[S]=i[b]=x,a[x]=i[S]=b,o[b]=0,o[S]=1,o[x]=2,s.fill(-1),s[this._hashKey(C,E)]=b,s[this._hashKey(k,O)]=S,s[this._hashKey(M,_)]=x,this.trianglesLen=0,this._addTriangle(b,S,x,-1,-1,-1);for(let $=0,T,N;$<this._ids.length;$++){const X=this._ids[$],K=n[2*X],it=n[2*X+1];if($>0&&Math.abs(K-T)<=Tb&&Math.abs(it-N)<=Tb||(T=K,N=it,X===b||X===S||X===x))continue;let ot=0;for(let z=0,F=this._hashKey(K,it);z<this._hashSize&&(ot=s[(F+z)%this._hashSize],!(ot!==-1&&ot!==a[ot]));z++);ot=i[ot];let j=ot,P;for(;P=a[j],Es(K,it,n[2*j],n[2*j+1],n[2*P],n[2*P+1])>=0;)if(j=P,j===ot){j=-1;break}if(j===-1)continue;let nt=this._addTriangle(j,X,a[j],-1,-1,o[j]);o[X]=this._legalize(nt+2),o[j]=nt,L++;let ut=a[j];for(;P=a[ut],Es(K,it,n[2*ut],n[2*ut+1],n[2*P],n[2*P+1])<0;)nt=this._addTriangle(ut,X,P,o[X],-1,o[ut]),o[X]=this._legalize(nt+2),a[ut]=ut,L--,ut=P;if(j===ot)for(;P=i[j],Es(K,it,n[2*P],n[2*P+1],n[2*j],n[2*j+1])<0;)nt=this._addTriangle(P,X,j,-1,o[j],o[P]),this._legalize(nt+2),o[P]=nt,a[j]=j,L--,j=P;this._hullStart=i[X]=j,a[j]=i[ut]=X,a[X]=ut,s[this._hashKey(K,it)]=X,s[this._hashKey(n[2*j],n[2*j+1])]=j}this.hull=new Uint32Array(L);for(let $=0,T=this._hullStart;$<L;$++)this.hull[$]=T,T=a[T];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(n,i){return Math.floor(x8(n-this._cx,i-this._cy)*this._hashSize)%this._hashSize}_legalize(n){const{_triangles:i,_halfedges:a,coords:o}=this;let s=0,c=0;for(;;){const f=a[n],m=n-n%3;if(c=m+(n+2)%3,f===-1){if(s===0)break;n=Os[--s];continue}const h=f-f%3,y=m+(n+1)%3,p=h+(f+2)%3,v=i[c],b=i[n],S=i[y],x=i[p];if(S8(o[2*v],o[2*v+1],o[2*b],o[2*b+1],o[2*S],o[2*S+1],o[2*x],o[2*x+1])){i[n]=x,i[f]=v;const E=a[p];if(E===-1){let O=this._hullStart;do{if(this._hullTri[O]===p){this._hullTri[O]=n;break}O=this._hullPrev[O]}while(O!==this._hullStart)}this._link(n,E),this._link(f,a[c]),this._link(c,p);const k=h+(f+1)%3;s<Os.length&&(Os[s++]=k)}else{if(s===0)break;n=Os[--s]}}return c}_link(n,i){this._halfedges[n]=i,i!==-1&&(this._halfedges[i]=n)}_addTriangle(n,i,a,o,s,c){const f=this.trianglesLen;return this._triangles[f]=n,this._triangles[f+1]=i,this._triangles[f+2]=a,this._link(f,o),this._link(f+1,s),this._link(f+2,c),this.trianglesLen+=3,f}}function x8(t,n){const i=t/(Math.abs(t)+Math.abs(n));return(n>0?3-i:1+i)/4}function jh(t,n,i,a){const o=t-i,s=n-a;return o*o+s*s}function S8(t,n,i,a,o,s,c,f){const m=t-c,h=n-f,y=i-c,p=a-f,v=o-c,b=s-f,S=m*m+h*h,x=y*y+p*p,C=v*v+b*b;return m*(p*C-x*b)-h*(y*C-x*v)+S*(y*b-p*v)<0}function A8(t,n,i,a,o,s){const c=i-t,f=a-n,m=o-t,h=s-n,y=c*c+f*f,p=m*m+h*h,v=.5/(c*h-f*m),b=(h*y-f*p)*v,S=(c*p-m*y)*v;return b*b+S*S}function T8(t,n,i,a,o,s){const c=i-t,f=a-n,m=o-t,h=s-n,y=c*c+f*f,p=m*m+h*h,v=.5/(c*h-f*m),b=t+(h*y-f*p)*v,S=n+(c*p-m*y)*v;return{x:b,y:S}}function Va(t,n,i,a){if(a-i<=20)for(let o=i+1;o<=a;o++){const s=t[o],c=n[s];let f=o-1;for(;f>=i&&n[t[f]]>c;)t[f+1]=t[f--];t[f+1]=s}else{const o=i+a>>1;let s=i+1,c=a;Ao(t,o,s),n[t[i]]>n[t[a]]&&Ao(t,i,a),n[t[s]]>n[t[a]]&&Ao(t,s,a),n[t[i]]>n[t[s]]&&Ao(t,i,s);const f=t[s],m=n[f];for(;;){do s++;while(n[t[s]]<m);do c--;while(n[t[c]]>m);if(c<s)break;Ao(t,s,c)}t[i+1]=t[c],t[c]=f,a-s+1>=c-i?(Va(t,n,s,a),Va(t,n,i,c-1)):(Va(t,n,i,c-1),Va(t,n,s,a))}}function Ao(t,n,i){const a=t[n];t[n]=t[i],t[i]=a}function C8(t){return t[0]}function w8(t){return t[1]}const Cb=1e-6;class Di{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(n,i){this._+=`M${this._x0=this._x1=+n},${this._y0=this._y1=+i}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(n,i){this._+=`L${this._x1=+n},${this._y1=+i}`}arc(n,i,a){n=+n,i=+i,a=+a;const o=n+a,s=i;if(a<0)throw new Error("negative radius");this._x1===null?this._+=`M${o},${s}`:(Math.abs(this._x1-o)>Cb||Math.abs(this._y1-s)>Cb)&&(this._+="L"+o+","+s),a&&(this._+=`A${a},${a},0,1,1,${n-a},${i}A${a},${a},0,1,1,${this._x1=o},${this._y1=s}`)}rect(n,i,a,o){this._+=`M${this._x0=this._x1=+n},${this._y0=this._y1=+i}h${+a}v${+o}h${-a}Z`}value(){return this._||null}}class um{constructor(){this._=[]}moveTo(n,i){this._.push([n,i])}closePath(){this._.push(this._[0].slice())}lineTo(n,i){this._.push([n,i])}value(){return this._.length?this._:null}}class M8{constructor(n,[i,a,o,s]=[0,0,960,500]){if(!((o=+o)>=(i=+i))||!((s=+s)>=(a=+a)))throw new Error("invalid bounds");this.delaunay=n,this._circumcenters=new Float64Array(n.points.length*2),this.vectors=new Float64Array(n.points.length*2),this.xmax=o,this.xmin=i,this.ymax=s,this.ymin=a,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:n,hull:i,triangles:a},vectors:o}=this;let s,c;const f=this.circumcenters=this._circumcenters.subarray(0,a.length/3*2);for(let x=0,C=0,E=a.length,k,O;x<E;x+=3,C+=2){const R=a[x]*2,M=a[x+1]*2,_=a[x+2]*2,D=n[R],L=n[R+1],$=n[M],T=n[M+1],N=n[_],X=n[_+1],K=$-D,it=T-L,ot=N-D,j=X-L,P=(K*j-it*ot)*2;if(Math.abs(P)<1e-9){if(s===void 0){s=c=0;for(const ut of i)s+=n[ut*2],c+=n[ut*2+1];s/=i.length,c/=i.length}const nt=1e9*Math.sign((s-D)*j-(c-L)*ot);k=(D+N)/2-nt*j,O=(L+X)/2+nt*ot}else{const nt=1/P,ut=K*K+it*it,z=ot*ot+j*j;k=D+(j*ut-it*z)*nt,O=L+(K*z-ot*ut)*nt}f[C]=k,f[C+1]=O}let m=i[i.length-1],h,y=m*4,p,v=n[2*m],b,S=n[2*m+1];o.fill(0);for(let x=0;x<i.length;++x)m=i[x],h=y,p=v,b=S,y=m*4,v=n[2*m],S=n[2*m+1],o[h+2]=o[y]=b-S,o[h+3]=o[y+1]=v-p}render(n){const i=n==null?n=new Di:void 0,{delaunay:{halfedges:a,inedges:o,hull:s},circumcenters:c,vectors:f}=this;if(s.length<=1)return null;for(let y=0,p=a.length;y<p;++y){const v=a[y];if(v<y)continue;const b=Math.floor(y/3)*2,S=Math.floor(v/3)*2,x=c[b],C=c[b+1],E=c[S],k=c[S+1];this._renderSegment(x,C,E,k,n)}let m,h=s[s.length-1];for(let y=0;y<s.length;++y){m=h,h=s[y];const p=Math.floor(o[h]/3)*2,v=c[p],b=c[p+1],S=m*4,x=this._project(v,b,f[S+2],f[S+3]);x&&this._renderSegment(v,b,x[0],x[1],n)}return i&&i.value()}renderBounds(n){const i=n==null?n=new Di:void 0;return n.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),i&&i.value()}renderCell(n,i){const a=i==null?i=new Di:void 0,o=this._clip(n);if(o===null||!o.length)return;i.moveTo(o[0],o[1]);let s=o.length;for(;o[0]===o[s-2]&&o[1]===o[s-1]&&s>1;)s-=2;for(let c=2;c<s;c+=2)(o[c]!==o[c-2]||o[c+1]!==o[c-1])&&i.lineTo(o[c],o[c+1]);return i.closePath(),a&&a.value()}*cellPolygons(){const{delaunay:{points:n}}=this;for(let i=0,a=n.length/2;i<a;++i){const o=this.cellPolygon(i);o&&(o.index=i,yield o)}}cellPolygon(n){const i=new um;return this.renderCell(n,i),i.value()}_renderSegment(n,i,a,o,s){let c;const f=this._regioncode(n,i),m=this._regioncode(a,o);f===0&&m===0?(s.moveTo(n,i),s.lineTo(a,o)):(c=this._clipSegment(n,i,a,o,f,m))&&(s.moveTo(c[0],c[1]),s.lineTo(c[2],c[3]))}contains(n,i,a){return i=+i,i!==i||(a=+a,a!==a)?!1:this.delaunay._step(n,i,a)===n}*neighbors(n){const i=this._clip(n);if(i)for(const a of this.delaunay.neighbors(n)){const o=this._clip(a);if(o){t:for(let s=0,c=i.length;s<c;s+=2)for(let f=0,m=o.length;f<m;f+=2)if(i[s]===o[f]&&i[s+1]===o[f+1]&&i[(s+2)%c]===o[(f+m-2)%m]&&i[(s+3)%c]===o[(f+m-1)%m]){yield a;break t}}}}_cell(n){const{circumcenters:i,delaunay:{inedges:a,halfedges:o,triangles:s}}=this,c=a[n];if(c===-1)return null;const f=[];let m=c;do{const h=Math.floor(m/3);if(f.push(i[h*2],i[h*2+1]),m=m%3===2?m-2:m+1,s[m]!==n)break;m=o[m]}while(m!==c&&m!==-1);return f}_clip(n){if(n===0&&this.delaunay.hull.length===1)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const i=this._cell(n);if(i===null)return null;const{vectors:a}=this,o=n*4;return this._simplify(a[o]||a[o+1]?this._clipInfinite(n,i,a[o],a[o+1],a[o+2],a[o+3]):this._clipFinite(n,i))}_clipFinite(n,i){const a=i.length;let o=null,s,c,f=i[a-2],m=i[a-1],h,y=this._regioncode(f,m),p,v=0;for(let b=0;b<a;b+=2)if(s=f,c=m,f=i[b],m=i[b+1],h=y,y=this._regioncode(f,m),h===0&&y===0)p=v,v=0,o?o.push(f,m):o=[f,m];else{let S,x,C,E,k;if(h===0){if((S=this._clipSegment(s,c,f,m,h,y))===null)continue;[x,C,E,k]=S}else{if((S=this._clipSegment(f,m,s,c,y,h))===null)continue;[E,k,x,C]=S,p=v,v=this._edgecode(x,C),p&&v&&this._edge(n,p,v,o,o.length),o?o.push(x,C):o=[x,C]}p=v,v=this._edgecode(E,k),p&&v&&this._edge(n,p,v,o,o.length),o?o.push(E,k):o=[E,k]}if(o)p=v,v=this._edgecode(o[0],o[1]),p&&v&&this._edge(n,p,v,o,o.length);else if(this.contains(n,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return o}_clipSegment(n,i,a,o,s,c){const f=s<c;for(f&&([n,i,a,o,s,c]=[a,o,n,i,c,s]);;){if(s===0&&c===0)return f?[a,o,n,i]:[n,i,a,o];if(s&c)return null;let m,h,y=s||c;y&8?(m=n+(a-n)*(this.ymax-i)/(o-i),h=this.ymax):y&4?(m=n+(a-n)*(this.ymin-i)/(o-i),h=this.ymin):y&2?(h=i+(o-i)*(this.xmax-n)/(a-n),m=this.xmax):(h=i+(o-i)*(this.xmin-n)/(a-n),m=this.xmin),s?(n=m,i=h,s=this._regioncode(n,i)):(a=m,o=h,c=this._regioncode(a,o))}}_clipInfinite(n,i,a,o,s,c){let f=Array.from(i),m;if((m=this._project(f[0],f[1],a,o))&&f.unshift(m[0],m[1]),(m=this._project(f[f.length-2],f[f.length-1],s,c))&&f.push(m[0],m[1]),f=this._clipFinite(n,f))for(let h=0,y=f.length,p,v=this._edgecode(f[y-2],f[y-1]);h<y;h+=2)p=v,v=this._edgecode(f[h],f[h+1]),p&&v&&(h=this._edge(n,p,v,f,h),y=f.length);else this.contains(n,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(f=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return f}_edge(n,i,a,o,s){for(;i!==a;){let c,f;switch(i){case 5:i=4;continue;case 4:i=6,c=this.xmax,f=this.ymin;break;case 6:i=2;continue;case 2:i=10,c=this.xmax,f=this.ymax;break;case 10:i=8;continue;case 8:i=9,c=this.xmin,f=this.ymax;break;case 9:i=1;continue;case 1:i=5,c=this.xmin,f=this.ymin;break}(o[s]!==c||o[s+1]!==f)&&this.contains(n,c,f)&&(o.splice(s,0,c,f),s+=2)}return s}_project(n,i,a,o){let s=1/0,c,f,m;if(o<0){if(i<=this.ymin)return null;(c=(this.ymin-i)/o)<s&&(m=this.ymin,f=n+(s=c)*a)}else if(o>0){if(i>=this.ymax)return null;(c=(this.ymax-i)/o)<s&&(m=this.ymax,f=n+(s=c)*a)}if(a>0){if(n>=this.xmax)return null;(c=(this.xmax-n)/a)<s&&(f=this.xmax,m=i+(s=c)*o)}else if(a<0){if(n<=this.xmin)return null;(c=(this.xmin-n)/a)<s&&(f=this.xmin,m=i+(s=c)*o)}return[f,m]}_edgecode(n,i){return(n===this.xmin?1:n===this.xmax?2:0)|(i===this.ymin?4:i===this.ymax?8:0)}_regioncode(n,i){return(n<this.xmin?1:n>this.xmax?2:0)|(i<this.ymin?4:i>this.ymax?8:0)}_simplify(n){if(n&&n.length>4){for(let i=0;i<n.length;i+=2){const a=(i+2)%n.length,o=(i+4)%n.length;(n[i]===n[a]&&n[a]===n[o]||n[i+1]===n[a+1]&&n[a+1]===n[o+1])&&(n.splice(a,2),i-=2)}n.length||(n=null)}return n}}const E8=2*Math.PI,Ga=Math.pow;function O8(t){return t[0]}function _8(t){return t[1]}function R8(t){const{triangles:n,coords:i}=t;for(let a=0;a<n.length;a+=3){const o=2*n[a],s=2*n[a+1],c=2*n[a+2];if((i[c]-i[o])*(i[s+1]-i[o+1])-(i[s]-i[o])*(i[c+1]-i[o+1])>1e-10)return!1}return!0}function k8(t,n,i){return[t+Math.sin(t+n)*i,n+Math.cos(t-n)*i]}class S0{static from(n,i=O8,a=_8,o){return new S0("length"in n?D8(n,i,a,o):Float64Array.from(z8(n,i,a,o)))}constructor(n){this._delaunator=new nc(n),this.inedges=new Int32Array(n.length/2),this._hullIndex=new Int32Array(n.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const n=this._delaunator,i=this.points;if(n.hull&&n.hull.length>2&&R8(n)){this.collinear=Int32Array.from({length:i.length/2},(v,b)=>b).sort((v,b)=>i[2*v]-i[2*b]||i[2*v+1]-i[2*b+1]);const m=this.collinear[0],h=this.collinear[this.collinear.length-1],y=[i[2*m],i[2*m+1],i[2*h],i[2*h+1]],p=1e-8*Math.hypot(y[3]-y[1],y[2]-y[0]);for(let v=0,b=i.length/2;v<b;++v){const S=k8(i[2*v],i[2*v+1],p);i[2*v]=S[0],i[2*v+1]=S[1]}this._delaunator=new nc(i)}else delete this.collinear;const a=this.halfedges=this._delaunator.halfedges,o=this.hull=this._delaunator.hull,s=this.triangles=this._delaunator.triangles,c=this.inedges.fill(-1),f=this._hullIndex.fill(-1);for(let m=0,h=a.length;m<h;++m){const y=s[m%3===2?m-2:m+1];(a[m]===-1||c[y]===-1)&&(c[y]=m)}for(let m=0,h=o.length;m<h;++m)f[o[m]]=m;o.length<=2&&o.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=o[0],c[o[0]]=1,o.length===2&&(c[o[1]]=0,this.triangles[1]=o[1],this.triangles[2]=o[1]))}voronoi(n){return new M8(this,n)}*neighbors(n){const{inedges:i,hull:a,_hullIndex:o,halfedges:s,triangles:c,collinear:f}=this;if(f){const p=f.indexOf(n);p>0&&(yield f[p-1]),p<f.length-1&&(yield f[p+1]);return}const m=i[n];if(m===-1)return;let h=m,y=-1;do{if(yield y=c[h],h=h%3===2?h-2:h+1,c[h]!==n)return;if(h=s[h],h===-1){const p=a[(o[n]+1)%a.length];p!==y&&(yield p);return}}while(h!==m)}find(n,i,a=0){if(n=+n,n!==n||(i=+i,i!==i))return-1;const o=a;let s;for(;(s=this._step(a,n,i))>=0&&s!==a&&s!==o;)a=s;return s}_step(n,i,a){const{inedges:o,hull:s,_hullIndex:c,halfedges:f,triangles:m,points:h}=this;if(o[n]===-1||!h.length)return(n+1)%(h.length>>1);let y=n,p=Ga(i-h[n*2],2)+Ga(a-h[n*2+1],2);const v=o[n];let b=v;do{let S=m[b];const x=Ga(i-h[S*2],2)+Ga(a-h[S*2+1],2);if(x<p&&(p=x,y=S),b=b%3===2?b-2:b+1,m[b]!==n)break;if(b=f[b],b===-1){if(b=s[(c[n]+1)%s.length],b!==S&&Ga(i-h[b*2],2)+Ga(a-h[b*2+1],2)<p)return b;break}}while(b!==v);return y}render(n){const i=n==null?n=new Di:void 0,{points:a,halfedges:o,triangles:s}=this;for(let c=0,f=o.length;c<f;++c){const m=o[c];if(m<c)continue;const h=s[c]*2,y=s[m]*2;n.moveTo(a[h],a[h+1]),n.lineTo(a[y],a[y+1])}return this.renderHull(n),i&&i.value()}renderPoints(n,i){i===void 0&&(!n||typeof n.moveTo!="function")&&(i=n,n=null),i=i==null?2:+i;const a=n==null?n=new Di:void 0,{points:o}=this;for(let s=0,c=o.length;s<c;s+=2){const f=o[s],m=o[s+1];n.moveTo(f+i,m),n.arc(f,m,i,0,E8)}return a&&a.value()}renderHull(n){const i=n==null?n=new Di:void 0,{hull:a,points:o}=this,s=a[0]*2,c=a.length;n.moveTo(o[s],o[s+1]);for(let f=1;f<c;++f){const m=2*a[f];n.lineTo(o[m],o[m+1])}return n.closePath(),i&&i.value()}hullPolygon(){const n=new um;return this.renderHull(n),n.value()}renderTriangle(n,i){const a=i==null?i=new Di:void 0,{points:o,triangles:s}=this,c=s[n*=3]*2,f=s[n+1]*2,m=s[n+2]*2;return i.moveTo(o[c],o[c+1]),i.lineTo(o[f],o[f+1]),i.lineTo(o[m],o[m+1]),i.closePath(),a&&a.value()}*trianglePolygons(){const{triangles:n}=this;for(let i=0,a=n.length/3;i<a;++i)yield this.trianglePolygon(i)}trianglePolygon(n){const i=new um;return this.renderTriangle(n,i),i.value()}}function D8(t,n,i,a){const o=t.length,s=new Float64Array(o*2);for(let c=0;c<o;++c){const f=t[c];s[c*2]=n.call(a,f,c,t),s[c*2+1]=i.call(a,f,c,t)}return s}function*z8(t,n,i,a){let o=0;for(const s of t)yield n.call(a,s,o,t),yield i.call(a,s,o,t),++o}const Hc=({svgRef:t,params:n,store:i,instance:a})=>{var _;const{disableVoronoi:o,voronoiMaxRadius:s,onItemClick:c}=n,f=wt(i,Ur),{axis:m,axisIds:h}=wt(i,Gi),{axis:y,axisIds:p}=wt(i,qi),v=wt(i,cS),{series:b,seriesOrder:S}=((_=wt(i,In))==null?void 0:_.scatter)??{},x=Y.useRef({}),C=Y.useRef(void 0),E=Y.useRef(void 0),k=h[0],O=p[0];Ye(()=>{i.update(D=>D.voronoi.isVoronoiEnabled===!o?D:I({},D,{voronoi:{isVoronoiEnabled:!o}}))},[i,o]),Ye(()=>{if(v||S===void 0||b===void 0||o)return;x.current={};let D=[];S.forEach(L=>{const{data:$,xAxisId:T,yAxisId:N}=b[L],X=m[T??k].scale,K=y[N??O].scale,it=Fs(X),ot=Fs(K),j=$.flatMap(({x:P,y:nt})=>{const ut=it(P),z=ot(nt);return a.isPointInside({x:ut,y:z})?[ut,z]:[-f.width,-f.height]});x.current[L]={seriesId:L,startIndex:D.length,endIndex:D.length+j.length},D=D.concat(j)}),C.current=new S0(D),E.current=void 0},[v,k,O,b,S,m,y,f,a,o]),Y.useEffect(()=>{if(t.current===null||o)return;const D=t.current;function L(X){const K=Wh(D,X);if(!a.isPointInside(K))return E.current=void 0,"outside-chart";if(!C.current)return"no-point-found";const it=C.current.find(K.x,K.y,E.current);if(it===void 0)return"no-point-found";E.current=it;const ot=Object.values(x.current).find(P=>2*it>=P.startIndex&&2*it<P.endIndex);if(ot===void 0)return"no-point-found";const j=(2*it-x.current[ot.seriesId].startIndex)/2;if(s!==void 0){const P=C.current.points[2*it],nt=C.current.points[2*it+1];if((P-K.x)**2+(nt-K.y)**2>s**2)return"outside-voronoi-max-radius"}return{seriesId:ot.seriesId,dataIndex:j}}const $=()=>{var X,K;(X=a.cleanInteraction)==null||X.call(a),(K=a.clearHighlight)==null||K.call(a)},T=X=>{var j,P,nt,ut,z,F;const K=L(X);if(K==="outside-chart"){(j=a.cleanInteraction)==null||j.call(a),(P=a.clearHighlight)==null||P.call(a);return}if(K==="outside-voronoi-max-radius"||K==="no-point-found"){(nt=a.removeItemInteraction)==null||nt.call(a),(ut=a.clearHighlight)==null||ut.call(a);return}const{seriesId:it,dataIndex:ot}=K;(z=a.setItemInteraction)==null||z.call(a,{type:"scatter",seriesId:it,dataIndex:ot}),(F=a.setHighlight)==null||F.call(a,{seriesId:it,dataIndex:ot})},N=X=>{if(!c)return;const K=L(X);if(typeof K=="string")return;const{seriesId:it,dataIndex:ot}=K;c(X,{type:"scatter",seriesId:it,dataIndex:ot})};return D.addEventListener("pointerleave",$),D.addEventListener("pointermove",T),D.addEventListener("click",N),()=>{D.removeEventListener("pointerleave",$),D.removeEventListener("pointermove",T),D.removeEventListener("click",N)}},[t,y,m,s,c,o,f,a]);const R=ui(()=>{i.update(D=>I({},D,{voronoi:I({},D.voronoi,{isVoronoiEnabled:!0})}))}),M=ui(()=>{i.update(D=>I({},D,{voronoi:I({},D.voronoi,{isVoronoiEnabled:!1})}))});return{instance:{enableVoronoi:R,disableVoronoi:M}}};Hc.getDefaultizedParams=({params:t})=>I({},t,{disableVoronoi:t.disableVoronoi??!t.series.some(n=>n.type==="scatter")});Hc.getInitialState=t=>({voronoi:{isVoronoiEnabled:!t.disableVoronoi}});Hc.params={disableVoronoi:!0,voronoiMaxRadius:!0,onItemClick:!0};const S2=[Jo,ml,Wo,gl,Hc],N8=["children","localeText","plugins","seriesConfig"],U8=t=>{const{children:n,localeText:i,plugins:a=S2,seriesConfig:o}=t,s=Qt(t,N8),c=Zo(),f={plugins:a,seriesConfig:o,pluginParams:I({theme:c.palette.mode},s)};return{children:n,localeText:i,chartProviderProps:f}};function j8(t){const{children:n,localeText:i,chartProviderProps:a}=U8(t);return H.jsx(E4,I({},a,{children:H.jsx(O5,{localeText:i,children:n})}))}function wb(t){const{isReversed:n,gradientId:i,size:a,direction:o,scale:s,colorMap:c}=t;return a<=0?null:H.jsx("linearGradient",{id:i,x1:"0",x2:"0",y1:"0",y2:"0",[`${o}${n?1:2}`]:`${a}px`,gradientUnits:"userSpaceOnUse",children:c.thresholds.map((f,m)=>{const h=s(f);if(h===void 0)return null;const y=n?1-h/a:h/a;return Number.isNaN(y)?null:H.jsxs(Y.Fragment,{children:[H.jsx("stop",{offset:y,stopColor:c.colors[m],stopOpacity:1}),H.jsx("stop",{offset:y,stopColor:c.colors[m+1],stopOpacity:1})]},f.toString()+m)})})}const $8=10;function Mb(t){const{gradientUnits:n,isReversed:i,gradientId:a,size:o,direction:s,scale:c,colorScale:f,colorMap:m}=t,h=[m.min??0,m.max??100],y=h.map(c).filter(S=>S!==void 0);if(y.length!==2)return null;const p=typeof h[0]=="number"?xe(h[0],h[1]):Lm(h[0],h[1]),v=Math.round((Math.max(...y)-Math.min(...y))/$8),b=`${h[0]}-${h[1]}-`;return H.jsx("linearGradient",{id:a,x1:"0",x2:"0",y1:"0",y2:"0",[`${s}${i?1:2}`]:n==="objectBoundingBox"?1:`${o}px`,gradientUnits:n??"userSpaceOnUse",children:Array.from({length:v+1},(S,x)=>{const C=p(x/v);if(C===void 0)return null;const E=c(C);if(E===void 0)return null;const k=i?1-E/o:E/o,O=f(C);return O===null?null:H.jsx("stop",{offset:k,stopColor:O,stopOpacity:1},b+x)})})}const B8=10,L8=t=>t?{x1:"1",x2:"0",y1:"0",y2:"0"}:{x1:"0",x2:"1",y1:"0",y2:"0"};function $h(t){const{isReversed:n,gradientId:i,colorScale:a,colorMap:o}=t,s=[o.min??0,o.max??100],c=typeof s[0]=="number"?xe(s[0],s[1]):Lm(s[0],s[1]),f=B8,m=`${s[0]}-${s[1]}-`;return H.jsx("linearGradient",I({id:i},L8(n),{gradientUnits:"objectBoundingBox",children:Array.from({length:f+1},(h,y)=>{const p=y/f,v=c(p);if(v===void 0)return null;const b=a(v);return b===null?null:H.jsx("stop",{offset:p,stopColor:b,stopOpacity:1},m+y)})}))}function H8(){const{top:t,height:n,bottom:i,left:a,width:o,right:s}=ar(),c=t+n+i,f=a+o+s,m=x5(),h=S5(),{xAxis:y,xAxisIds:p}=Xi(),{yAxis:v,yAxisIds:b}=Pi(),{zAxis:S,zAxisIds:x}=u0(),C=b.filter(O=>v[O].colorMap!==void 0),E=p.filter(O=>y[O].colorMap!==void 0),k=x.filter(O=>S[O].colorMap!==void 0);return C.length===0&&E.length===0&&k.length===0?null:H.jsxs("defs",{children:[C.map(O=>{const R=m(O),M=h(O),{colorMap:_,scale:D,colorScale:L,reverse:$}=v[O];return(_==null?void 0:_.type)==="piecewise"?H.jsx(wb,{isReversed:!$,scale:D,colorMap:_,size:c,gradientId:R,direction:"y"},R):(_==null?void 0:_.type)==="continuous"?H.jsxs(Y.Fragment,{children:[H.jsx(Mb,{isReversed:!$,scale:D,colorScale:L,colorMap:_,size:c,gradientId:R,direction:"y"}),H.jsx($h,{isReversed:$,colorScale:L,colorMap:_,gradientId:M})]},R):null}),E.map(O=>{const R=m(O),M=h(O),{colorMap:_,scale:D,reverse:L,colorScale:$}=y[O];return(_==null?void 0:_.type)==="piecewise"?H.jsx(wb,{isReversed:L,scale:D,colorMap:_,size:f,gradientId:R,direction:"x"},R):(_==null?void 0:_.type)==="continuous"?H.jsxs(Y.Fragment,{children:[H.jsx(Mb,{isReversed:L,scale:D,colorScale:$,colorMap:_,size:f,gradientId:R,direction:"x"}),H.jsx($h,{isReversed:L,colorScale:$,colorMap:_,gradientId:M})]},R):null}),k.map(O=>{const R=h(O),{colorMap:M,colorScale:_}=S[O];return(M==null?void 0:M.type)==="continuous"?H.jsx($h,{colorScale:_,colorMap:M,gradientId:R},R):null})]})}const Y8=["children","className","title","desc"],G8=he("svg",{name:"MuiChartsSurface",slot:"Root"})(({ownerState:t})=>({width:t.width??"100%",height:t.height??"100%",display:"flex",position:"relative",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",touchAction:"none"})),q8=Y.forwardRef(function(n,i){const a=Jt(),{width:o,height:s}=wt(a,bO),{width:c,height:f}=wt(a,vO),m=s0(),h=Wa(m,i),y=ir({props:n,name:"MuiChartsSurface"}),{children:p,className:v,title:b,desc:S}=y,x=Qt(y,Y8),C=s>0&&o>0;return H.jsxs(G8,I({ownerState:{width:c,height:f},viewBox:`0 0 ${o} ${s}`,className:v},x,{ref:h,children:[b&&H.jsx("title",{children:b}),S&&H.jsx("desc",{children:S}),H.jsx(H8,{}),C&&p]}))}),I8=["width","height","margin","children","series","colors","dataset","desc","onAxisClick","disableVoronoi","voronoiMaxRadius","onItemClick","disableAxisListener","highlightedItem","onHighlightChange","sx","title","xAxis","yAxis","zAxis","rotationAxis","radiusAxis","skipAnimation","seriesConfig","plugins","localeText"],V8=(t,n)=>{const i=t,{width:a,height:o,margin:s,children:c,series:f,colors:m,dataset:h,desc:y,onAxisClick:p,disableVoronoi:v,voronoiMaxRadius:b,onItemClick:S,disableAxisListener:x,highlightedItem:C,onHighlightChange:E,sx:k,title:O,xAxis:R,yAxis:M,zAxis:_,rotationAxis:D,radiusAxis:L,skipAnimation:$,seriesConfig:T,plugins:N,localeText:X}=i,K=Qt(i,I8),it=I({title:O,desc:y,sx:k,ref:n},K);return{chartDataProviderProps:{margin:s,series:f,colors:m,dataset:h,disableAxisListener:x,highlightedItem:C,onHighlightChange:E,onAxisClick:p,disableVoronoi:v,voronoiMaxRadius:b,onItemClick:S,xAxis:R,yAxis:M,zAxis:_,rotationAxis:D,radiusAxis:L,skipAnimation:$,width:a,height:o,localeText:X,seriesConfig:T,plugins:N??S2},chartsSurfaceProps:it,children:c}},X8=(t,n)=>t==="vertical"?(n==null?void 0:n.horizontal)==="start"?"row":"row-reverse":(n==null?void 0:n.vertical)==="bottom"?"column-reverse":"column",P8=(t,n)=>{if(t==="vertical"){if((n==null?void 0:n.vertical)==="top")return"flex-start";if((n==null?void 0:n.vertical)==="bottom")return"flex-end"}if(t==="horizontal"){if((n==null?void 0:n.horizontal)==="start")return"flex-start";if((n==null?void 0:n.horizontal)==="end")return"flex-end"}return"center"},Z8=he("div",{name:"MuiChartsWrapper",slot:"Root"})(({ownerState:t})=>({display:"flex",flexDirection:X8(t.legendDirection,t.legendPosition),flex:1,justifyContent:"center",alignItems:P8(t.legendDirection,t.legendPosition)}));function Q8(t){const{children:n,sx:i}=t,a=C5();return H.jsx(Z8,{ref:a,ownerState:t,sx:i,children:n})}const K8=Y.forwardRef(function(n,i){var k,O;const a=ir({props:n,name:"MuiBarChart"}),{chartsWrapperProps:o,chartContainerProps:s,barPlotProps:c,gridProps:f,clipPathProps:m,clipPathGroupProps:h,overlayProps:y,chartsAxisProps:p,axisHighlightProps:v,legendProps:b,children:S}=h8(a),{chartDataProviderProps:x,chartsSurfaceProps:C}=V8(s,i),E=((k=a.slots)==null?void 0:k.tooltip)??RD;return H.jsx(j8,I({},x,{children:H.jsxs(Q8,I({},o,{children:[!a.hideLegend&&H.jsx(qD,I({},b)),H.jsxs(q8,I({},C,{children:[H.jsx(n8,I({},f)),H.jsxs("g",I({},h,{children:[H.jsx(J5,I({},c)),H.jsx(c8,I({},y)),H.jsx(ZD,I({},v))]})),H.jsx(Dk,I({},p)),!a.loading&&H.jsx(E,I({},(O=a.slotProps)==null?void 0:O.tooltip)),H.jsx(QD,I({},m)),S]}))]}))}))});new TextEncoder;const F8=new TextDecoder,W8=t=>new Uint8Array(t),J8=W8,tz=(t,n,i)=>{let a;return n===void 0?a=t:i===void 0?a=t.subarray(n):a=t.subarray(n,n+i),F8.decode(a)},A2=(t,n,i)=>a=>{const o=(1<<n)-1;let s="",c=0,f=0;for(let m=0;m<a.length;++m)for(f=f<<8|a[m],c+=8;c>n;)c-=n,s+=t[o&f>>c];if(c!==0&&(s+=t[o&f<<n-c]),i)for(;(s.length*n&7)!==0;)s+="=";return s},ez=(t,n,i)=>{const a={};for(let o=0;o<t.length;++o)a[t[o]]=o;return o=>{let s=o.length;for(;i&&o[s-1]==="=";)--s;const c=J8(s*n/8|0);let f=0,m=0,h=0;for(let y=0;y<s;++y){const p=a[o[y]];if(p===void 0)throw new SyntaxError("invalid base string");m=m<<n|p,f+=n,f>=8&&(f-=8,c[h++]=255&m>>f)}if(f>=n||(255&m<<8-f)!==0)throw new SyntaxError("unexpected end of data");return c}},T2="fromBase64"in Uint8Array,C2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nz=ez(C2,6,!1),rz=A2(C2,6,!1),iz=t=>Uint8Array.fromBase64(t,{alphabet:"base64",lastChunkHandling:"loose"}),az=t=>t.toBase64({alphabet:"base64",omitPadding:!0}),lz=T2?iz:nz,oz=T2?az:rz,uz="abcdefghijklmnopqrstuvwxyz234567",sz=A2(uz,5,!1),cz=1,fz=18,dz=85,hz=113,mz=Symbol.for("@atcute/cid-link-wrapper");var Nb;Nb=mz;class A0{constructor(n){Ln(this,"bytes");Ln(this,Nb,!0);this.bytes=n}get $link(){return`b${sz(this.bytes)}`}toJSON(){return{$link:this.$link}}}const gz=t=>new A0(t.bytes),pz=Symbol.for("@atcute/bytes-wrapper");var Ub;Ub=pz;class w2{constructor(n){Ln(this,"buf");Ln(this,Ub,!0);this.buf=n}get $bytes(){return oz(this.buf)}toJSON(){return{$bytes:this.$bytes}}}const yz=t=>new w2(t),Eb=t=>t instanceof w2?t.buf:lz(t.$bytes),Cr=(t,n)=>{if(n<24)return n;switch(n){case 24:return rc(t);case 25:return bz(t);case 26:return xz(t);case 27:return Sz(t)}throw new Error(`invalid argument encoding; got ${n}`)},vz=t=>{const i=(t.v??(t.v=new DataView(t.b.buffer,t.b.byteOffset,t.b.byteLength))).getFloat64(t.p);return t.p+=8,i},rc=t=>t.b[t.p++],bz=t=>{let n=t.p;const i=t.b,a=i[n++]<<8|i[n++];return t.p=n,a},xz=t=>{let n=t.p;const i=t.b,a=(i[n++]<<24|i[n++]<<16|i[n++]<<8|i[n++])>>>0;return t.p=n,a},Sz=t=>{let n=t.p;const i=t.b,a=(i[n++]<<24|i[n++]<<16|i[n++]<<8|i[n++])>>>0;if(a>2097151)throw new RangeError("can't decode integers beyond safe integer range");const o=(i[n++]<<24|i[n++]<<16|i[n++]<<8|i[n++])>>>0,s=a*2**32+o;return t.p=n,s},M2=(t,n)=>{const i=tz(t.b,t.p,n);return t.p+=n,i},Az=(t,n)=>{const i=t.b.subarray(t.p,t.p+=n);return yz(i)},Tz=(t,n)=>{const i=t.b.subarray(t.p+1,t.p+=n);return new A0(i)},Ob=t=>{const n=rc(t),i=n>>5;if(i!==3)throw new TypeError(`expected map to only have string keys; got type ${i}`);const a=n&31,o=Cr(t,a);return M2(t,o)},sm=t=>{const n=t.length,i={b:t,v:null,p:0};let a=null,o;t:for(;i.p<n;){const s=rc(i),c=s>>5,f=s&31;switch(c){case 0:{o=Cr(i,f);break}case 1:{o=-1-Cr(i,f);break}case 2:{o=Az(i,Cr(i,f));break}case 3:{o=M2(i,Cr(i,f));break}case 4:{const m=Cr(i,f),h=new Array(m);if(o=h,m>0){a={t:1,c:h,k:null,r:m,n:a};continue t}break}case 5:{const m=Cr(i,f),h={};if(o=h,m>0){const y=Ob(i);a={t:0,c:h,k:y,r:m,n:a};continue t}break}case 6:{const m=Cr(i,f);switch(m){case 42:{const h=rc(i),y=h>>5,p=h&31;if(y!==2)throw new TypeError(`expected cid-link to be type 2 (bytes); got type ${y}`);const v=Cr(i,p);o=Tz(i,v);break}default:throw new TypeError(`unsupported tag; got ${m}`)}break}case 7:{switch(f){case 20:case 21:{o=f===21;break}case 22:{o=null;break}case 27:{o=vz(i);break}default:throw new Error(`invalid simple value; got ${f}`)}break}default:throw new TypeError(`invalid type; got ${c}`)}for(;a!==null;){switch(a.t){case 0:{const m=a.c,h=a.k;h==="__proto__"&&Object.defineProperty(m,h,{enumerable:!0,configurable:!0,writable:!0}),m[h]=o;break}case 1:{const m=a.c,h=m.length-a.r;m[h]=o;break}}if(--a.r!==0){a.t===0&&(a.k=Ob(i));continue t}o=a.c,a=a.n}break}return[o,t.subarray(i.p)]},E2=t=>{const[n,i]=sm(t);if(i.length!==0)throw new Error("decoded value contains remainder");return n},Cz=t=>{let n=0;return{get pos(){return n},seek(i){if(i>t.length-n)throw new RangeError("unexpected end of data");n+=i},upto(i){return t.subarray(n,n+i)},exactly(i,a){if(i>t.length-n)throw new RangeError("unexpected end of data");const o=t.subarray(n,n+i);return a&&(n+=i),o}}},wz=128,_b=127,Mz=(t,n=0)=>{let i=t.length,a=0,o=0,s=n,c;do{if(s>=i)throw new RangeError("could not decode varint");c=t[s++],a+=o<28?(c&_b)<<o:(c&_b)*Math.pow(2,o),o+=7}while(c>=wz);return[a,s-n]},Ez=t=>{if(t===null||typeof t!="object")return!1;const{version:n,roots:i}=t;return n===1&&Array.isArray(i)&&i.every(a=>a instanceof A0)},O2=(t,n)=>{const i=t.upto(n);if(i.length===0)throw new RangeError("unexpected end of data");const[a,o]=Mz(i);return t.seek(o),a},Oz=t=>{const n=t.pos,i=O2(t,8);if(i===0)throw new RangeError("invalid car header; length=0");const a=t.pos,o=t.exactly(i,!0),s=E2(o);if(!Ez(s))throw new TypeError("expected a car v1 archive");const c=t.pos;return{data:s,headerStart:n,headerEnd:c,dataStart:a,dataEnd:c}},_z=t=>{const n=t.exactly(4,!1),i=n[0],a=n[1],o=n[2],s=n[3];if(i!==cz)throw new RangeError(`incorrect cid version (got v${i})`);if(a!==hz&&a!==dz)throw new RangeError(`incorrect cid codec (got 0x${a.toString(16)})`);if(o!==fz)throw new RangeError(`incorrect cid digest type (got 0x${o.toString(16)})`);if(s!==32&&s!==0)throw new RangeError(`incorrect cid digest size (got ${s})`);const c=t.exactly(4+s,!0),f=c.subarray(4,4+s);return{version:i,codec:a,digest:{codec:o,contents:f},bytes:c}},Rz=t=>({header:Oz(t),*iterate(){for(;t.upto(44).length>0;){const i=t.pos,a=O2(t,8),o=t.pos,s=_z(t),c=t.pos,f=a-(c-o),m=t.exactly(f,!0),h=c,y=t.pos;yield{cid:s,bytes:m,entryStart:i,entryEnd:y,cidStart:o,cidEnd:h,bytesStart:c,bytesEnd:y}}}}),kz=t=>{const n=Cz(t);return Rz(n)};let Dz=()=>({emit(t,...n){for(let i=this.events[t]||[],a=0,o=i.length;a<o;a++)i[a](...n)},events:{},on(t,n){var i;return((i=this.events)[t]||(i[t]=[])).push(n),()=>{var a;this.events[t]=(a=this.events[t])==null?void 0:a.filter(o=>n!==o)}}});class zz{constructor(n={}){Ln(this,"relay");Ln(this,"ws");Ln(this,"cursor","");Ln(this,"emitter",Dz());Ln(this,"autoReconnect");Ln(this,"reconnectTimeout");this.relay=n.relay??"wss://bsky.network",this.cursor=n.cursor??"",this.autoReconnect=n.autoReconnect??!0;const i=this.cursor?`?cursor=${this.cursor}`:"";if(typeof globalThis.WebSocket>"u"&&!n.ws)throw new Error(`No WebSocket implementation was found in your environment. You must provide an implementation as the \`ws\` option.
115
+
116
+
For example, in a Node.js environment, \`npm install ws\` and then:
117
+
import { Firehose } from "@skyware/firehose";
118
+
import WebSocket from "ws";
119
+
120
+
const firehose = new Firehose({
121
+
ws: WebSocket,
122
+
});`);const a=n.ws??globalThis.WebSocket;this.ws=new a(`${this.relay}/xrpc/com.atproto.sync.subscribeRepos${i}`)}start(){this.ws.addEventListener("open",()=>{this.emitter.emit("open")}),this.ws.addEventListener("message",async({data:n})=>{try{const i=await this.parseMessage(n);switch("seq"in i&&i.seq&&!isNaN(i.seq)&&(this.cursor=`${i.seq}`),i.$type){case"com.atproto.sync.subscribeRepos#identity":this.emitter.emit("identity",i);break;case"com.atproto.sync.subscribeRepos#account":this.emitter.emit("account",i);break;case"com.atproto.sync.subscribeRepos#info":this.emitter.emit("info",i);break;case"com.atproto.sync.subscribeRepos#sync":this.emitter.emit("sync",i);break;case"com.atproto.sync.subscribeRepos#commit":this.emitter.emit("commit",i);break;default:this.emitter.emit("unknown",i);break}}catch(i){this.emitter.emit("error",{cursor:this.cursor,error:i})}finally{this.autoReconnect&&this.preventReconnect()}}),this.ws.addEventListener("close",()=>{this.emitter.emit("close",this.cursor)}),this.ws.addEventListener("error",n=>{this.emitter.emit("websocketError",{cursor:this.cursor,error:n})})}close(){var n;(n=this.ws)==null||n.close()}on(n,i){return this.emitter.on(n,i)}async parseMessage(n){var h,y;const i=new Uint8Array(await new Blob(Array.isArray(n)?n:[n]).arrayBuffer()),[a,o]=sm(i),[s,c]=sm(o);if(c.length>0)throw new Error("Excess bytes in message");const{t:f,op:m}=Nz(a);if(m===-1)throw new Error(`Error: ${s.message}
123
+
Error code: ${s.error}`);if(f==="#commit"){const{seq:p,repo:v,commit:b,rev:S,since:x,blocks:C,ops:E,prevData:k,time:O}=s;if(!((h=C==null?void 0:C.$bytes)!=null&&h.length))return{$type:"com.atproto.sync.subscribeRepos#commit",seq:p,repo:v,commit:b.$link,rev:S,since:x,blocks:new Uint8Array,ops:[],...k?{prevData:k.$link}:{},time:O};const R=Eb(C),M=Uz(R),_=[];for(const D of E){const L=D.action;if(L==="create"){if(!D.cid)continue;const $=M.get(D.cid.$link);if(!$)continue;_.push({action:L,path:D.path,cid:D.cid.$link,record:$})}else if(L==="update"){if(!D.cid)continue;const $=M.get(D.cid.$link);if(!$)continue;_.push({action:L,path:D.path,cid:D.cid.$link,...D.prev?{prev:D.prev.$link}:{},record:$})}else if(L==="delete")_.push({action:L,path:D.path,...D.prev?{prev:D.prev.$link}:{}});else throw new Error(`Unknown action: ${L}`)}return{$type:"com.atproto.sync.subscribeRepos#commit",seq:p,repo:v,commit:b.$link,rev:S,since:x,blocks:R,ops:_,...k?{prevData:k.$link}:{},time:O}}else if(f==="#sync"){const{seq:p,did:v,blocks:b,rev:S,time:x}=s,C=(y=b==null?void 0:b.$bytes)!=null&&y.length?Eb(b):new Uint8Array;return{$type:"com.atproto.sync.subscribeRepos#sync",seq:p,did:v,blocks:C,rev:S,time:x}}return{$type:`com.atproto.sync.subscribeRepos${f}`,...s}}preventReconnect(){this.reconnectTimeout&&clearTimeout(this.reconnectTimeout),this.reconnectTimeout=setTimeout(()=>{this.reconnect()},5e3)}reconnect(){var n;(n=this.ws)==null||n.close(),this.start(),this.emitter.emit("reconnect")}}function Nz(t){if(!t||typeof t!="object"||!t.t||typeof t.t!="string"||!t.op||typeof t.op!="number")throw new Error("Invalid header received");return{t:t.t,op:t.op}}function Uz(t){const n=new Map;for(const{cid:i,bytes:a}of kz(t).iterate())n.set(gz(i).$link,E2(a));return n}function jz({url:t,desc:n,onRecieveEvent:i}){const[a,o]=Y.useState("connecting"),[s,c]=Y.useState(0),[f,m]=Y.useState(0);return Y.useEffect(()=>{const h=(p,v)=>{i(p,v),c(b=>b+1)},y=new zz({relay:t});return y.on("open",()=>o("connected")),y.on("close",()=>o("closed")),y.on("reconnect",()=>m(p=>p+1)),y.on("error",p=>{console.error("oops",p),o("errored")}),y.on("websocketError",()=>o("errored")),y.on("commit",p=>h("commit",p)),y.on("sync",p=>h("sync",p)),y.on("account",p=>h("account",p)),y.on("identity",p=>h("identity",p)),y.on("info",(...p)=>console.info("info event",...p)),y.on("unknown",p=>console.warn(`unknown event from ${t}`,p)),y.start(),()=>{y.close()}},[t]),H.jsxs("div",{className:"relay",children:[H.jsx("h2",{children:n}),H.jsx("p",{children:H.jsx("code",{children:t})}),H.jsxs("p",{children:["[",H.jsx("code",{children:a}),"] (",H.jsx("code",{children:s.toLocaleString()})," events)"]}),f>0&&H.jsxs("p",{children:["reconnects: ",H.jsx("code",{children:f})]})]})}const Rb=[{url:"wss://atproto.africa",desc:"Blacksky"},{url:"wss://bsky.network",desc:"Bluesky Rainbow"},{url:"wss://relay2.fire.hose.cam",desc:"microcosm Montreal"},{url:"wss://relay3.fr.hose.cam",desc:"microcosm France"}],kb=1600,$z=6,Db=10*60*1e3,zb=(t,n,i)=>{};function Bz(){const[t,n]=Y.useState([]),[i,a]=Y.useState(()=>zb),[o,s]=Y.useState(()=>()=>{}),[c,f]=Y.useState({series:[]}),[m,h]=Y.useState(!1);Y.useEffect(()=>{let p=performance.now(),v={},b=[],S=requestAnimationFrame(k),x=setTimeout(C,Db);a(()=>(O,R,M)=>{v[O]||(v[O]=0),v[O]+=1}),s(()=>()=>{clearTimeout(x),x=setTimeout(C,Db),h(!1),console.info("keepalive: disconnection timer reset")});function C(){console.info("disconnecting due to inactivity"),n([]),h(!0)}const E=setInterval(()=>{let O=performance.now(),R=O-p;b.length>=$z-1&&b.shift(),b.push({t:O,dt:R,counts:v}),p=O,v={}},kb);function k(){var M;let O=performance.now();const R=Object.keys(((M=b.at(-1))==null?void 0:M.counts)||{}).toSorted();f({xAxis:[{data:b.map(({t:_})=>(-(O-_)/1e3).toFixed(1)).concat(["now"]),label:"bucket (seconds ago)"}],series:R.map(_=>({label:_,data:b.map(({dt:D,counts:L})=>L[_]?(L[_]/(D/1e3)).toFixed(1):null).concat([v[_]?(v[_]/(kb/1e3)).toFixed(1):null])}))}),S=requestAnimationFrame(k)}return()=>{a(()=>zb),s(()=>()=>null),clearInterval(E),cancelAnimationFrame(S)}},[]);function y(p,v){h(!1),n(v?b=>b.includes(p)?b:[...b,p]:b=>b.includes(p)?b.filter(S=>S!==p):b),o()}return H.jsxs(H.Fragment,{children:[H.jsx("h1",{children:"compare hoses"}),H.jsx("p",{children:H.jsx("em",{children:"warning: enabling many relay connections requires a lot of bandwidth"})}),H.jsx("form",{style:{display:"block",textAlign:"left"},children:Rb.map(({url:p,desc:v})=>H.jsx("p",{style:{margin:0},children:H.jsxs("label",{children:[H.jsx("input",{type:"checkbox",onChange:b=>y(p,b.target.checked),checked:t.includes(p)}),` ${v} `,"(",H.jsx("code",{children:p.slice(6)}),")"]})},p))}),H.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"2em",textAlign:"left"},children:t.map(p=>{const{desc:v}=Rb.find(b=>b.url===p);return H.jsx("div",{children:H.jsx(jz,{url:p,desc:v,onRecieveEvent:(b,S)=>i(p,b,S)})},p)})}),m&&H.jsx("p",{children:H.jsx("em",{children:"disconnected to save bandwidth due to inactivity"})}),H.jsx("div",{className:"throughputs",children:H.jsx(K8,{height:300,yAxis:[{label:"events / sec"}],skipAnimation:!0,...c})})]})}const Lz=Rm({colorSchemes:{dark:!0}});JT.createRoot(document.getElementById("root")).render(H.jsx(JC,{injectFirst:!0,children:H.jsx(_E,{theme:Lz,children:H.jsx(Bz,{})})}));
+13
docs/index.html
+13
docs/index.html
···
1
+
<!doctype html>
2
+
<html lang="en">
3
+
<head>
4
+
<meta charset="UTF-8" />
5
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+
<title>compare hoses</title>
7
+
<script type="module" crossorigin src="/assets/index-DprCNRD_.js"></script>
8
+
<link rel="stylesheet" crossorigin href="/assets/index-Br90oyGg.css">
9
+
</head>
10
+
<body>
11
+
<div id="root"></div>
12
+
</body>
13
+
</html>
+1
docs/vite.svg
+1
docs/vite.svg
···
1
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>