@crownpeak/dqm-react-component 1.2.1 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/LICENSE +1 -1
- package/dist/DQMSidebar.d.ts.map +1 -1
- package/dist/auth-ui/assets/index-CcFepUgA.js +158 -0
- package/dist/auth-ui/index.html +1 -1
- package/dist/context/ai/useAITranslation.d.ts.map +1 -1
- package/dist/dqm-widget.esm.js +78 -78
- package/dist/dqm-widget.iife.js +4 -4
- package/dist/index.cjs +38 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3777 -3740
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/dist/auth-ui/assets/index-YKFZYENy.js +0 -158
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
function JR(e,t){for(var i=0;i<t.length;i++){const a=t[i];if(typeof a!="string"&&!Array.isArray(a)){for(const o in a)if(o!=="default"&&!(o in e)){const l=Object.getOwnPropertyDescriptor(a,o);l&&Object.defineProperty(e,o,l.get?l:{enumerable:!0,get:()=>a[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function i(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(o){if(o.ep)return;o.ep=!0;const l=i(o);fetch(o.href,l)}})();function ug(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cp={exports:{}},Ho={};var O1;function eO(){if(O1)return Ho;O1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function i(a,o,l){var c=null;if(l!==void 0&&(c=""+l),o.key!==void 0&&(c=""+o.key),"key"in o){l={};for(var f in o)f!=="key"&&(l[f]=o[f])}else l=o;return o=l.ref,{$$typeof:e,type:a,key:c,ref:o!==void 0?o:null,props:l}}return Ho.Fragment=t,Ho.jsx=i,Ho.jsxs=i,Ho}var M1;function tO(){return M1||(M1=1,cp.exports=eO()),cp.exports}var _=tO(),fp={exports:{}},Ae={};var D1;function nO(){if(D1)return Ae;D1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),v=Symbol.iterator;function x(z){return z===null||typeof z!="object"?null:(z=v&&z[v]||z["@@iterator"],typeof z=="function"?z:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,T={};function D(z,q,se){this.props=z,this.context=q,this.refs=T,this.updater=se||S}D.prototype.isReactComponent={},D.prototype.setState=function(z,q){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,q,"setState")},D.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function N(){}N.prototype=D.prototype;function R(z,q,se){this.props=z,this.context=q,this.refs=T,this.updater=se||S}var w=R.prototype=new N;w.constructor=R,C(w,D.prototype),w.isPureReactComponent=!0;var M=Array.isArray;function L(){}var P={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function G(z,q,se){var oe=se.ref;return{$$typeof:e,type:z,key:q,ref:oe!==void 0?oe:null,props:se}}function Q(z,q){return G(z.type,q,z.props)}function J(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function O(z){var q={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(se){return q[se]})}var Z=/\/+/g;function F(z,q){return typeof z=="object"&&z!==null&&z.key!=null?O(""+z.key):q.toString(36)}function Y(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(L,L):(z.status="pending",z.then(function(q){z.status==="pending"&&(z.status="fulfilled",z.value=q)},function(q){z.status==="pending"&&(z.status="rejected",z.reason=q)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function k(z,q,se,oe,ue){var he=typeof z;(he==="undefined"||he==="boolean")&&(z=null);var me=!1;if(z===null)me=!0;else switch(he){case"bigint":case"string":case"number":me=!0;break;case"object":switch(z.$$typeof){case e:case t:me=!0;break;case g:return me=z._init,k(me(z._payload),q,se,oe,ue)}}if(me)return ue=ue(z),me=oe===""?"."+F(z,0):oe,M(ue)?(se="",me!=null&&(se=me.replace(Z,"$&/")+"/"),k(ue,q,se,"",function(xe){return xe})):ue!=null&&(J(ue)&&(ue=Q(ue,se+(ue.key==null||z&&z.key===ue.key?"":(""+ue.key).replace(Z,"$&/")+"/")+me)),q.push(ue)),1;me=0;var Ue=oe===""?".":oe+":";if(M(z))for(var Se=0;Se<z.length;Se++)oe=z[Se],he=Ue+F(oe,Se),me+=k(oe,q,se,he,ue);else if(Se=x(z),typeof Se=="function")for(z=Se.call(z),Se=0;!(oe=z.next()).done;)oe=oe.value,he=Ue+F(oe,Se++),me+=k(oe,q,se,he,ue);else if(he==="object"){if(typeof z.then=="function")return k(Y(z),q,se,oe,ue);throw q=String(z),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return me}function I(z,q,se){if(z==null)return z;var oe=[],ue=0;return k(z,oe,"","",function(he){return q.call(se,he,ue++)}),oe}function ee(z){if(z._status===-1){var q=z._result;q=q(),q.then(function(se){(z._status===0||z._status===-1)&&(z._status=1,z._result=se)},function(se){(z._status===0||z._status===-1)&&(z._status=2,z._result=se)}),z._status===-1&&(z._status=0,z._result=q)}if(z._status===1)return z._result.default;throw z._result}var ae=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=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(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},le={map:I,forEach:function(z,q,se){I(z,function(){q.apply(this,arguments)},se)},count:function(z){var q=0;return I(z,function(){q++}),q},toArray:function(z){return I(z,function(q){return q})||[]},only:function(z){if(!J(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};return Ae.Activity=y,Ae.Children=le,Ae.Component=D,Ae.Fragment=i,Ae.Profiler=o,Ae.PureComponent=R,Ae.StrictMode=a,Ae.Suspense=h,Ae.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,Ae.__COMPILER_RUNTIME={__proto__:null,c:function(z){return P.H.useMemoCache(z)}},Ae.cache=function(z){return function(){return z.apply(null,arguments)}},Ae.cacheSignal=function(){return null},Ae.cloneElement=function(z,q,se){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var oe=C({},z.props),ue=z.key;if(q!=null)for(he in q.key!==void 0&&(ue=""+q.key),q)!U.call(q,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&q.ref===void 0||(oe[he]=q[he]);var he=arguments.length-2;if(he===1)oe.children=se;else if(1<he){for(var me=Array(he),Ue=0;Ue<he;Ue++)me[Ue]=arguments[Ue+2];oe.children=me}return G(z.type,ue,oe)},Ae.createContext=function(z){return z={$$typeof:c,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:l,_context:z},z},Ae.createElement=function(z,q,se){var oe,ue={},he=null;if(q!=null)for(oe in q.key!==void 0&&(he=""+q.key),q)U.call(q,oe)&&oe!=="key"&&oe!=="__self"&&oe!=="__source"&&(ue[oe]=q[oe]);var me=arguments.length-2;if(me===1)ue.children=se;else if(1<me){for(var Ue=Array(me),Se=0;Se<me;Se++)Ue[Se]=arguments[Se+2];ue.children=Ue}if(z&&z.defaultProps)for(oe in me=z.defaultProps,me)ue[oe]===void 0&&(ue[oe]=me[oe]);return G(z,he,ue)},Ae.createRef=function(){return{current:null}},Ae.forwardRef=function(z){return{$$typeof:f,render:z}},Ae.isValidElement=J,Ae.lazy=function(z){return{$$typeof:g,_payload:{_status:-1,_result:z},_init:ee}},Ae.memo=function(z,q){return{$$typeof:p,type:z,compare:q===void 0?null:q}},Ae.startTransition=function(z){var q=P.T,se={};P.T=se;try{var oe=z(),ue=P.S;ue!==null&&ue(se,oe),typeof oe=="object"&&oe!==null&&typeof oe.then=="function"&&oe.then(L,ae)}catch(he){ae(he)}finally{q!==null&&se.types!==null&&(q.types=se.types),P.T=q}},Ae.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},Ae.use=function(z){return P.H.use(z)},Ae.useActionState=function(z,q,se){return P.H.useActionState(z,q,se)},Ae.useCallback=function(z,q){return P.H.useCallback(z,q)},Ae.useContext=function(z){return P.H.useContext(z)},Ae.useDebugValue=function(){},Ae.useDeferredValue=function(z,q){return P.H.useDeferredValue(z,q)},Ae.useEffect=function(z,q){return P.H.useEffect(z,q)},Ae.useEffectEvent=function(z){return P.H.useEffectEvent(z)},Ae.useId=function(){return P.H.useId()},Ae.useImperativeHandle=function(z,q,se){return P.H.useImperativeHandle(z,q,se)},Ae.useInsertionEffect=function(z,q){return P.H.useInsertionEffect(z,q)},Ae.useLayoutEffect=function(z,q){return P.H.useLayoutEffect(z,q)},Ae.useMemo=function(z,q){return P.H.useMemo(z,q)},Ae.useOptimistic=function(z,q){return P.H.useOptimistic(z,q)},Ae.useReducer=function(z,q,se){return P.H.useReducer(z,q,se)},Ae.useRef=function(z){return P.H.useRef(z)},Ae.useState=function(z){return P.H.useState(z)},Ae.useSyncExternalStore=function(z,q,se){return P.H.useSyncExternalStore(z,q,se)},Ae.useTransition=function(){return P.H.useTransition()},Ae.version="19.2.1",Ae}var _1;function pf(){return _1||(_1=1,fp.exports=nO()),fp.exports}var A=pf();const ti=ug(A),nm=JR({__proto__:null,default:ti},[A]);var dp={exports:{}},Io={},hp={exports:{}},pp={};var N1;function iO(){return N1||(N1=1,(function(e){function t(k,I){var ee=k.length;k.push(I);e:for(;0<ee;){var ae=ee-1>>>1,le=k[ae];if(0<o(le,I))k[ae]=I,k[ee]=le,ee=ae;else break e}}function i(k){return k.length===0?null:k[0]}function a(k){if(k.length===0)return null;var I=k[0],ee=k.pop();if(ee!==I){k[0]=ee;e:for(var ae=0,le=k.length,z=le>>>1;ae<z;){var q=2*(ae+1)-1,se=k[q],oe=q+1,ue=k[oe];if(0>o(se,ee))oe<le&&0>o(ue,se)?(k[ae]=ue,k[oe]=ee,ae=oe):(k[ae]=se,k[q]=ee,ae=q);else if(oe<le&&0>o(ue,ee))k[ae]=ue,k[oe]=ee,ae=oe;else break e}}return I}function o(k,I){var ee=k.sortIndex-I.sortIndex;return ee!==0?ee:k.id-I.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,f=c.now();e.unstable_now=function(){return c.now()-f}}var h=[],p=[],g=1,y=null,v=3,x=!1,S=!1,C=!1,T=!1,D=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function w(k){for(var I=i(p);I!==null;){if(I.callback===null)a(p);else if(I.startTime<=k)a(p),I.sortIndex=I.expirationTime,t(h,I);else break;I=i(p)}}function M(k){if(C=!1,w(k),!S)if(i(h)!==null)S=!0,L||(L=!0,O());else{var I=i(p);I!==null&&Y(M,I.startTime-k)}}var L=!1,P=-1,U=5,G=-1;function Q(){return T?!0:!(e.unstable_now()-G<U)}function J(){if(T=!1,L){var k=e.unstable_now();G=k;var I=!0;try{e:{S=!1,C&&(C=!1,N(P),P=-1),x=!0;var ee=v;try{t:{for(w(k),y=i(h);y!==null&&!(y.expirationTime>k&&Q());){var ae=y.callback;if(typeof ae=="function"){y.callback=null,v=y.priorityLevel;var le=ae(y.expirationTime<=k);if(k=e.unstable_now(),typeof le=="function"){y.callback=le,w(k),I=!0;break t}y===i(h)&&a(h),w(k)}else a(h);y=i(h)}if(y!==null)I=!0;else{var z=i(p);z!==null&&Y(M,z.startTime-k),I=!1}}break e}finally{y=null,v=ee,x=!1}I=void 0}}finally{I?O():L=!1}}}var O;if(typeof R=="function")O=function(){R(J)};else if(typeof MessageChannel<"u"){var Z=new MessageChannel,F=Z.port2;Z.port1.onmessage=J,O=function(){F.postMessage(null)}}else O=function(){D(J,0)};function Y(k,I){P=D(function(){k(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(k){switch(v){case 1:case 2:case 3:var I=3;break;default:I=v}var ee=v;v=I;try{return k()}finally{v=ee}},e.unstable_requestPaint=function(){T=!0},e.unstable_runWithPriority=function(k,I){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var ee=v;v=k;try{return I()}finally{v=ee}},e.unstable_scheduleCallback=function(k,I,ee){var ae=e.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?ae+ee:ae):ee=ae,k){case 1:var le=-1;break;case 2:le=250;break;case 5:le=1073741823;break;case 4:le=1e4;break;default:le=5e3}return le=ee+le,k={id:g++,callback:I,priorityLevel:k,startTime:ee,expirationTime:le,sortIndex:-1},ee>ae?(k.sortIndex=ee,t(p,k),i(h)===null&&k===i(p)&&(C?(N(P),P=-1):C=!0,Y(M,ee-ae))):(k.sortIndex=le,t(h,k),S||x||(S=!0,L||(L=!0,O()))),k},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(k){var I=v;return function(){var ee=v;v=I;try{return k.apply(this,arguments)}finally{v=ee}}}})(pp)),pp}var L1;function rO(){return L1||(L1=1,hp.exports=iO()),hp.exports}var mp={exports:{}},un={};var z1;function aO(){if(z1)return un;z1=1;var e=pf();function t(h){var p="https://react.dev/errors/"+h;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+h+"; visit "+p+" 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(t(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 l(h,p,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:y==null?null:""+y,children:h,containerInfo:p,implementation:g}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(h,p){if(h==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return un.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,un.createPortal=function(h,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return l(h,p,null,g)},un.flushSync=function(h){var p=c.T,g=a.p;try{if(c.T=null,a.p=2,h)return h()}finally{c.T=p,a.p=g,a.d.f()}},un.preconnect=function(h,p){typeof h=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(h,p))},un.prefetchDNS=function(h){typeof h=="string"&&a.d.D(h)},un.preinit=function(h,p){if(typeof h=="string"&&p&&typeof p.as=="string"){var g=p.as,y=f(g,p.crossOrigin),v=typeof p.integrity=="string"?p.integrity:void 0,x=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?a.d.S(h,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:y,integrity:v,fetchPriority:x}):g==="script"&&a.d.X(h,{crossOrigin:y,integrity:v,fetchPriority:x,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},un.preinitModule=function(h,p){if(typeof h=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=f(p.as,p.crossOrigin);a.d.M(h,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(h)},un.preload=function(h,p){if(typeof h=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,y=f(g,p.crossOrigin);a.d.L(h,g,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},un.preloadModule=function(h,p){if(typeof h=="string")if(p){var g=f(p.as,p.crossOrigin);a.d.m(h,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(h)},un.requestFormReset=function(h){a.d.r(h)},un.unstable_batchedUpdates=function(h,p){return h(p)},un.useFormState=function(h,p,g){return c.H.useFormState(h,p,g)},un.useFormStatus=function(){return c.H.useHostTransitionStatus()},un.version="19.2.1",un}var k1;function aT(){if(k1)return mp.exports;k1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),mp.exports=aO(),mp.exports}var P1;function sO(){if(P1)return Io;P1=1;var e=rO(),t=pf(),i=aT();function a(n){var r="https://react.dev/errors/"+n;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)r+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function l(n){var r=n,s=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,(r.flags&4098)!==0&&(s=r.return),n=r.return;while(n)}return r.tag===3?s:null}function c(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function f(n){if(n.tag===31){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function h(n){if(l(n)!==n)throw Error(a(188))}function p(n){var r=n.alternate;if(!r){if(r=l(n),r===null)throw Error(a(188));return r!==n?null:n}for(var s=n,u=r;;){var d=s.return;if(d===null)break;var m=d.alternate;if(m===null){if(u=d.return,u!==null){s=u;continue}break}if(d.child===m.child){for(m=d.child;m;){if(m===s)return h(d),n;if(m===u)return h(d),r;m=m.sibling}throw Error(a(188))}if(s.return!==u.return)s=d,u=m;else{for(var b=!1,E=d.child;E;){if(E===s){b=!0,s=d,u=m;break}if(E===u){b=!0,u=d,s=m;break}E=E.sibling}if(!b){for(E=m.child;E;){if(E===s){b=!0,s=m,u=d;break}if(E===u){b=!0,u=m,s=d;break}E=E.sibling}if(!b)throw Error(a(189))}}if(s.alternate!==u)throw Error(a(190))}if(s.tag!==3)throw Error(a(188));return s.stateNode.current===s?n:r}function g(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n;for(n=n.child;n!==null;){if(r=g(n),r!==null)return r;n=n.sibling}return null}var y=Object.assign,v=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),R=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),Q=Symbol.for("react.memo_cache_sentinel"),J=Symbol.iterator;function O(n){return n===null||typeof n!="object"?null:(n=J&&n[J]||n["@@iterator"],typeof n=="function"?n:null)}var Z=Symbol.for("react.client.reference");function F(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Z?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case C:return"Fragment";case D:return"Profiler";case T:return"StrictMode";case M:return"Suspense";case L:return"SuspenseList";case G:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case S:return"Portal";case R:return n.displayName||"Context";case N:return(n._context.displayName||"Context")+".Consumer";case w:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case P:return r=n.displayName||null,r!==null?r:F(n.type)||"Memo";case U:r=n._payload,n=n._init;try{return F(n(r))}catch{}}return null}var Y=Array.isArray,k=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},ae=[],le=-1;function z(n){return{current:n}}function q(n){0>le||(n.current=ae[le],ae[le]=null,le--)}function se(n,r){le++,ae[le]=n.current,n.current=r}var oe=z(null),ue=z(null),he=z(null),me=z(null);function Ue(n,r){switch(se(he,r),se(ue,n),se(oe,null),r.nodeType){case 9:case 11:n=(n=r.documentElement)&&(n=n.namespaceURI)?Qb(n):0;break;default:if(n=r.tagName,r=r.namespaceURI)r=Qb(r),n=Zb(r,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}q(oe),se(oe,n)}function Se(){q(oe),q(ue),q(he)}function xe(n){n.memoizedState!==null&&se(me,n);var r=oe.current,s=Zb(r,n.type);r!==s&&(se(ue,n),se(oe,s))}function De(n){ue.current===n&&(q(oe),q(ue)),me.current===n&&(q(me),Bo._currentValue=ee)}var Ve,Kt;function Te(n){if(Ve===void 0)try{throw Error()}catch(s){var r=s.stack.trim().match(/\n( *(at )?)/);Ve=r&&r[1]||"",Kt=-1<s.stack.indexOf(`
|
|
2
|
-
at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+Ve+n+Kt}var je=!1;function Gt(n,r){if(!n||je)return"";je=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(r){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(W){var K=W}Reflect.construct(n,[],re)}else{try{re.call()}catch(W){K=W}n.call(re.prototype)}}else{try{throw Error()}catch(W){K=W}(re=n())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(W){if(W&&K&&typeof W.stack=="string")return[W.stack,K.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 m=u.DetermineComponentFrameRoot(),b=m[0],E=m[1];if(b&&E){var j=b.split(`
|
|
4
|
-
`),H=E.split(`
|
|
5
|
-
`);for(d=u=0;u<j.length&&!j[u].includes("DetermineComponentFrameRoot");)u++;for(;d<H.length&&!H[d].includes("DetermineComponentFrameRoot");)d++;if(u===j.length||d===H.length)for(u=j.length-1,d=H.length-1;1<=u&&0<=d&&j[u]!==H[d];)d--;for(;1<=u&&0<=d;u--,d--)if(j[u]!==H[d]){if(u!==1||d!==1)do if(u--,d--,0>d||j[u]!==H[d]){var te=`
|
|
6
|
-
`+j[u].replace(" at new "," at ");return n.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",n.displayName)),te}while(1<=u&&0<=d);break}}}finally{je=!1,Error.prepareStackTrace=s}return(s=n?n.displayName||n.name:"")?Te(s):""}function Lt(n,r){switch(n.tag){case 26:case 27:case 5:return Te(n.type);case 16:return Te("Lazy");case 13:return n.child!==r&&r!==null?Te("Suspense Fallback"):Te("Suspense");case 19:return Te("SuspenseList");case 0:case 15:return Gt(n.type,!1);case 11:return Gt(n.type.render,!1);case 1:return Gt(n.type,!0);case 31:return Te("Activity");default:return""}}function ct(n){try{var r="",s=null;do r+=Lt(n,s),s=n,n=n.return;while(n);return r}catch(u){return`
|
|
7
|
-
Error generating stack: `+u.message+`
|
|
8
|
-
`+u.stack}}var ft=Object.prototype.hasOwnProperty,zt=e.unstable_scheduleCallback,st=e.unstable_cancelCallback,pe=e.unstable_shouldYield,ai=e.unstable_requestPaint,Le=e.unstable_now,ji=e.unstable_getCurrentPriorityLevel,mt=e.unstable_ImmediatePriority,$e=e.unstable_UserBlockingPriority,Ct=e.unstable_NormalPriority,Ht=e.unstable_LowPriority,On=e.unstable_IdlePriority,ot=e.log,si=e.unstable_setDisableYieldValue,$n=null,Qt=null;function bi(n){if(typeof ot=="function"&&si(n),Qt&&typeof Qt.setStrictMode=="function")try{Qt.setStrictMode($n,n)}catch{}}var ln=Math.clz32?Math.clz32:It,ve=Math.log,lt=Math.LN2;function It(n){return n>>>=0,n===0?32:31-(ve(n)/lt|0)|0}var oi=256,Ir=262144,Yl=4194304;function Fr(n){var r=n&42;if(r!==0)return r;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Xl(n,r,s){var u=n.pendingLanes;if(u===0)return 0;var d=0,m=n.suspendedLanes,b=n.pingedLanes;n=n.warmLanes;var E=u&134217727;return E!==0?(u=E&~m,u!==0?d=Fr(u):(b&=E,b!==0?d=Fr(b):s||(s=E&~n,s!==0&&(d=Fr(s))))):(E=u&~m,E!==0?d=Fr(E):b!==0?d=Fr(b):s||(s=u&~n,s!==0&&(d=Fr(s)))),d===0?0:r!==0&&r!==d&&(r&m)===0&&(m=d&-d,s=r&-r,m>=s||m===32&&(s&4194048)!==0)?r:d}function Ws(n,r){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&r)===0}function VE(n,r){switch(n){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 Ny(){var n=Yl;return Yl<<=1,(Yl&62914560)===0&&(Yl=4194304),n}function Zf(n){for(var r=[],s=0;31>s;s++)r.push(n);return r}function Qs(n,r){n.pendingLanes|=r,r!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function $E(n,r,s,u,d,m){var b=n.pendingLanes;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=s,n.entangledLanes&=s,n.errorRecoveryDisabledLanes&=s,n.shellSuspendCounter=0;var E=n.entanglements,j=n.expirationTimes,H=n.hiddenUpdates;for(s=b&~s;0<s;){var te=31-ln(s),re=1<<te;E[te]=0,j[te]=-1;var K=H[te];if(K!==null)for(H[te]=null,te=0;te<K.length;te++){var W=K[te];W!==null&&(W.lane&=-536870913)}s&=~re}u!==0&&Ly(n,u,0),m!==0&&d===0&&n.tag!==0&&(n.suspendedLanes|=m&~(b&~r))}function Ly(n,r,s){n.pendingLanes|=r,n.suspendedLanes&=~r;var u=31-ln(r);n.entangledLanes|=r,n.entanglements[u]=n.entanglements[u]|1073741824|s&261930}function zy(n,r){var s=n.entangledLanes|=r;for(n=n.entanglements;s;){var u=31-ln(s),d=1<<u;d&r|n[u]&r&&(n[u]|=r),s&=~d}}function ky(n,r){var s=r&-r;return s=(s&42)!==0?1:Jf(s),(s&(n.suspendedLanes|r))!==0?0:s}function Jf(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function ed(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Py(){var n=I.p;return n!==0?n:(n=window.event,n===void 0?32:x1(n.type))}function jy(n,r){var s=I.p;try{return I.p=n,r()}finally{I.p=s}}var dr=Math.random().toString(36).slice(2),Zt="__reactFiber$"+dr,yn="__reactProps$"+dr,Oa="__reactContainer$"+dr,td="__reactEvents$"+dr,HE="__reactListeners$"+dr,IE="__reactHandles$"+dr,By="__reactResources$"+dr,Zs="__reactMarker$"+dr;function nd(n){delete n[Zt],delete n[yn],delete n[td],delete n[HE],delete n[IE]}function Ma(n){var r=n[Zt];if(r)return r;for(var s=n.parentNode;s;){if(r=s[Oa]||s[Zt]){if(s=r.alternate,r.child!==null||s!==null&&s.child!==null)for(n=a1(n);n!==null;){if(s=n[Zt])return s;n=a1(n)}return r}n=s,s=n.parentNode}return null}function Da(n){if(n=n[Zt]||n[Oa]){var r=n.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return n}return null}function Js(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n.stateNode;throw Error(a(33))}function _a(n){var r=n[By];return r||(r=n[By]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Yt(n){n[Zs]=!0}var Uy=new Set,Vy={};function qr(n,r){Na(n,r),Na(n+"Capture",r)}function Na(n,r){for(Vy[n]=r,n=0;n<r.length;n++)Uy.add(r[n])}var FE=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]*$"),$y={},Hy={};function qE(n){return ft.call(Hy,n)?!0:ft.call($y,n)?!1:FE.test(n)?Hy[n]=!0:($y[n]=!0,!1)}function Wl(n,r,s){if(qE(r))if(s===null)n.removeAttribute(r);else{switch(typeof s){case"undefined":case"function":case"symbol":n.removeAttribute(r);return;case"boolean":var u=r.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){n.removeAttribute(r);return}}n.setAttribute(r,""+s)}}function Ql(n,r,s){if(s===null)n.removeAttribute(r);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttribute(r,""+s)}}function Bi(n,r,s,u){if(u===null)n.removeAttribute(s);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(s);return}n.setAttributeNS(r,s,""+u)}}function Hn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Iy(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function KE(n,r,s){var u=Object.getOwnPropertyDescriptor(n.constructor.prototype,r);if(!n.hasOwnProperty(r)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var d=u.get,m=u.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return d.call(this)},set:function(b){s=""+b,m.call(this,b)}}),Object.defineProperty(n,r,{enumerable:u.enumerable}),{getValue:function(){return s},setValue:function(b){s=""+b},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function id(n){if(!n._valueTracker){var r=Iy(n)?"checked":"value";n._valueTracker=KE(n,r,""+n[r])}}function Fy(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var s=r.getValue(),u="";return n&&(u=Iy(n)?n.checked?"true":"false":n.value),n=u,n!==s?(r.setValue(n),!0):!1}function Zl(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var GE=/[\n"\\]/g;function In(n){return n.replace(GE,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function rd(n,r,s,u,d,m,b,E){n.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?n.type=b:n.removeAttribute("type"),r!=null?b==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=""+Hn(r)):n.value!==""+Hn(r)&&(n.value=""+Hn(r)):b!=="submit"&&b!=="reset"||n.removeAttribute("value"),r!=null?ad(n,b,Hn(r)):s!=null?ad(n,b,Hn(s)):u!=null&&n.removeAttribute("value"),d==null&&m!=null&&(n.defaultChecked=!!m),d!=null&&(n.checked=d&&typeof d!="function"&&typeof d!="symbol"),E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?n.name=""+Hn(E):n.removeAttribute("name")}function qy(n,r,s,u,d,m,b,E){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(n.type=m),r!=null||s!=null){if(!(m!=="submit"&&m!=="reset"||r!=null)){id(n);return}s=s!=null?""+Hn(s):"",r=r!=null?""+Hn(r):s,E||r===n.value||(n.value=r),n.defaultValue=r}u=u??d,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=E?n.checked:!!u,n.defaultChecked=!!u,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(n.name=b),id(n)}function ad(n,r,s){r==="number"&&Zl(n.ownerDocument)===n||n.defaultValue===""+s||(n.defaultValue=""+s)}function La(n,r,s,u){if(n=n.options,r){r={};for(var d=0;d<s.length;d++)r["$"+s[d]]=!0;for(s=0;s<n.length;s++)d=r.hasOwnProperty("$"+n[s].value),n[s].selected!==d&&(n[s].selected=d),d&&u&&(n[s].defaultSelected=!0)}else{for(s=""+Hn(s),r=null,d=0;d<n.length;d++){if(n[d].value===s){n[d].selected=!0,u&&(n[d].defaultSelected=!0);return}r!==null||n[d].disabled||(r=n[d])}r!==null&&(r.selected=!0)}}function Ky(n,r,s){if(r!=null&&(r=""+Hn(r),r!==n.value&&(n.value=r),s==null)){n.defaultValue!==r&&(n.defaultValue=r);return}n.defaultValue=s!=null?""+Hn(s):""}function Gy(n,r,s,u){if(r==null){if(u!=null){if(s!=null)throw Error(a(92));if(Y(u)){if(1<u.length)throw Error(a(93));u=u[0]}s=u}s==null&&(s=""),r=s}s=Hn(r),n.defaultValue=s,u=n.textContent,u===s&&u!==""&&u!==null&&(n.value=u),id(n)}function za(n,r){if(r){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=r;return}}n.textContent=r}var YE=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 Yy(n,r,s){var u=r.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?u?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="":u?n.setProperty(r,s):typeof s!="number"||s===0||YE.has(r)?r==="float"?n.cssFloat=s:n[r]=(""+s).trim():n[r]=s+"px"}function Xy(n,r,s){if(r!=null&&typeof r!="object")throw Error(a(62));if(n=n.style,s!=null){for(var u in s)!s.hasOwnProperty(u)||r!=null&&r.hasOwnProperty(u)||(u.indexOf("--")===0?n.setProperty(u,""):u==="float"?n.cssFloat="":n[u]="");for(var d in r)u=r[d],r.hasOwnProperty(d)&&s[d]!==u&&Yy(n,d,u)}else for(var m in r)r.hasOwnProperty(m)&&Yy(n,m,r[m])}function sd(n){if(n.indexOf("-")===-1)return!1;switch(n){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 XE=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"]]),WE=/^[\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 Jl(n){return WE.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Ui(){}var od=null;function ld(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var ka=null,Pa=null;function Wy(n){var r=Da(n);if(r&&(n=r.stateNode)){var s=n[yn]||null;e:switch(n=r.stateNode,r.type){case"input":if(rd(n,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),r=s.name,s.type==="radio"&&r!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+In(""+r)+'"][type="radio"]'),r=0;r<s.length;r++){var u=s[r];if(u!==n&&u.form===n.form){var d=u[yn]||null;if(!d)throw Error(a(90));rd(u,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(r=0;r<s.length;r++)u=s[r],u.form===n.form&&Fy(u)}break e;case"textarea":Ky(n,s.value,s.defaultValue);break e;case"select":r=s.value,r!=null&&La(n,!!s.multiple,r,!1)}}}var ud=!1;function Qy(n,r,s){if(ud)return n(r,s);ud=!0;try{var u=n(r);return u}finally{if(ud=!1,(ka!==null||Pa!==null)&&(Vu(),ka&&(r=ka,n=Pa,Pa=ka=null,Wy(r),n)))for(r=0;r<n.length;r++)Wy(n[r])}}function eo(n,r){var s=n.stateNode;if(s===null)return null;var u=s[yn]||null;if(u===null)return null;s=u[r];e: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)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(a(231,r,typeof s));return s}var Vi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cd=!1;if(Vi)try{var to={};Object.defineProperty(to,"passive",{get:function(){cd=!0}}),window.addEventListener("test",to,to),window.removeEventListener("test",to,to)}catch{cd=!1}var hr=null,fd=null,eu=null;function Zy(){if(eu)return eu;var n,r=fd,s=r.length,u,d="value"in hr?hr.value:hr.textContent,m=d.length;for(n=0;n<s&&r[n]===d[n];n++);var b=s-n;for(u=1;u<=b&&r[s-u]===d[m-u];u++);return eu=d.slice(n,1<u?1-u:void 0)}function tu(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function nu(){return!0}function Jy(){return!1}function vn(n){function r(s,u,d,m,b){this._reactName=s,this._targetInst=d,this.type=u,this.nativeEvent=m,this.target=b,this.currentTarget=null;for(var E in n)n.hasOwnProperty(E)&&(s=n[E],this[E]=s?s(m):m[E]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?nu:Jy,this.isPropagationStopped=Jy,this}return y(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=nu)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=nu)},persist:function(){},isPersistent:nu}),r}var Kr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},iu=vn(Kr),no=y({},Kr,{view:0,detail:0}),QE=vn(no),dd,hd,io,ru=y({},no,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:md,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==io&&(io&&n.type==="mousemove"?(dd=n.screenX-io.screenX,hd=n.screenY-io.screenY):hd=dd=0,io=n),dd)},movementY:function(n){return"movementY"in n?n.movementY:hd}}),e0=vn(ru),ZE=y({},ru,{dataTransfer:0}),JE=vn(ZE),eA=y({},no,{relatedTarget:0}),pd=vn(eA),tA=y({},Kr,{animationName:0,elapsedTime:0,pseudoElement:0}),nA=vn(tA),iA=y({},Kr,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),rA=vn(iA),aA=y({},Kr,{data:0}),t0=vn(aA),sA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oA={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"},lA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function uA(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=lA[n])?!!r[n]:!1}function md(){return uA}var cA=y({},no,{key:function(n){if(n.key){var r=sA[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=tu(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?oA[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:md,charCode:function(n){return n.type==="keypress"?tu(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?tu(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),fA=vn(cA),dA=y({},ru,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),n0=vn(dA),hA=y({},no,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:md}),pA=vn(hA),mA=y({},Kr,{propertyName:0,elapsedTime:0,pseudoElement:0}),gA=vn(mA),yA=y({},ru,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),vA=vn(yA),bA=y({},Kr,{newState:0,oldState:0}),SA=vn(bA),xA=[9,13,27,32],gd=Vi&&"CompositionEvent"in window,ro=null;Vi&&"documentMode"in document&&(ro=document.documentMode);var CA=Vi&&"TextEvent"in window&&!ro,i0=Vi&&(!gd||ro&&8<ro&&11>=ro),r0=" ",a0=!1;function s0(n,r){switch(n){case"keyup":return xA.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function o0(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var ja=!1;function TA(n,r){switch(n){case"compositionend":return o0(r);case"keypress":return r.which!==32?null:(a0=!0,r0);case"textInput":return n=r.data,n===r0&&a0?null:n;default:return null}}function wA(n,r){if(ja)return n==="compositionend"||!gd&&s0(n,r)?(n=Zy(),eu=fd=hr=null,ja=!1,n):null;switch(n){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 i0&&r.locale!=="ko"?null:r.data;default:return null}}var EA={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 l0(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!EA[n.type]:r==="textarea"}function u0(n,r,s,u){ka?Pa?Pa.push(u):Pa=[u]:ka=u,r=Gu(r,"onChange"),0<r.length&&(s=new iu("onChange","change",null,s,u),n.push({event:s,listeners:r}))}var ao=null,so=null;function AA(n){qb(n,0)}function au(n){var r=Js(n);if(Fy(r))return n}function c0(n,r){if(n==="change")return r}var f0=!1;if(Vi){var yd;if(Vi){var vd="oninput"in document;if(!vd){var d0=document.createElement("div");d0.setAttribute("oninput","return;"),vd=typeof d0.oninput=="function"}yd=vd}else yd=!1;f0=yd&&(!document.documentMode||9<document.documentMode)}function h0(){ao&&(ao.detachEvent("onpropertychange",p0),so=ao=null)}function p0(n){if(n.propertyName==="value"&&au(so)){var r=[];u0(r,so,n,ld(n)),Qy(AA,r)}}function RA(n,r,s){n==="focusin"?(h0(),ao=r,so=s,ao.attachEvent("onpropertychange",p0)):n==="focusout"&&h0()}function OA(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return au(so)}function MA(n,r){if(n==="click")return au(r)}function DA(n,r){if(n==="input"||n==="change")return au(r)}function _A(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Mn=typeof Object.is=="function"?Object.is:_A;function oo(n,r){if(Mn(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var s=Object.keys(n),u=Object.keys(r);if(s.length!==u.length)return!1;for(u=0;u<s.length;u++){var d=s[u];if(!ft.call(r,d)||!Mn(n[d],r[d]))return!1}return!0}function m0(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function g0(n,r){var s=m0(n);n=0;for(var u;s;){if(s.nodeType===3){if(u=n+s.textContent.length,n<=r&&u>=r)return{node:s,offset:r-n};n=u}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=m0(s)}}function y0(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?y0(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function v0(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var r=Zl(n.document);r instanceof n.HTMLIFrameElement;){try{var s=typeof r.contentWindow.location.href=="string"}catch{s=!1}if(s)n=r.contentWindow;else break;r=Zl(n.document)}return r}function bd(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}var NA=Vi&&"documentMode"in document&&11>=document.documentMode,Ba=null,Sd=null,lo=null,xd=!1;function b0(n,r,s){var u=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;xd||Ba==null||Ba!==Zl(u)||(u=Ba,"selectionStart"in u&&bd(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}),lo&&oo(lo,u)||(lo=u,u=Gu(Sd,"onSelect"),0<u.length&&(r=new iu("onSelect","select",null,r,s),n.push({event:r,listeners:u}),r.target=Ba)))}function Gr(n,r){var s={};return s[n.toLowerCase()]=r.toLowerCase(),s["Webkit"+n]="webkit"+r,s["Moz"+n]="moz"+r,s}var Ua={animationend:Gr("Animation","AnimationEnd"),animationiteration:Gr("Animation","AnimationIteration"),animationstart:Gr("Animation","AnimationStart"),transitionrun:Gr("Transition","TransitionRun"),transitionstart:Gr("Transition","TransitionStart"),transitioncancel:Gr("Transition","TransitionCancel"),transitionend:Gr("Transition","TransitionEnd")},Cd={},S0={};Vi&&(S0=document.createElement("div").style,"AnimationEvent"in window||(delete Ua.animationend.animation,delete Ua.animationiteration.animation,delete Ua.animationstart.animation),"TransitionEvent"in window||delete Ua.transitionend.transition);function Yr(n){if(Cd[n])return Cd[n];if(!Ua[n])return n;var r=Ua[n],s;for(s in r)if(r.hasOwnProperty(s)&&s in S0)return Cd[n]=r[s];return n}var x0=Yr("animationend"),C0=Yr("animationiteration"),T0=Yr("animationstart"),LA=Yr("transitionrun"),zA=Yr("transitionstart"),kA=Yr("transitioncancel"),w0=Yr("transitionend"),E0=new Map,Td="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(" ");Td.push("scrollEnd");function li(n,r){E0.set(n,r),qr(r,[n])}var su=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Fn=[],Va=0,wd=0;function ou(){for(var n=Va,r=wd=Va=0;r<n;){var s=Fn[r];Fn[r++]=null;var u=Fn[r];Fn[r++]=null;var d=Fn[r];Fn[r++]=null;var m=Fn[r];if(Fn[r++]=null,u!==null&&d!==null){var b=u.pending;b===null?d.next=d:(d.next=b.next,b.next=d),u.pending=d}m!==0&&A0(s,d,m)}}function lu(n,r,s,u){Fn[Va++]=n,Fn[Va++]=r,Fn[Va++]=s,Fn[Va++]=u,wd|=u,n.lanes|=u,n=n.alternate,n!==null&&(n.lanes|=u)}function Ed(n,r,s,u){return lu(n,r,s,u),uu(n)}function Xr(n,r){return lu(n,null,null,r),uu(n)}function A0(n,r,s){n.lanes|=s;var u=n.alternate;u!==null&&(u.lanes|=s);for(var d=!1,m=n.return;m!==null;)m.childLanes|=s,u=m.alternate,u!==null&&(u.childLanes|=s),m.tag===22&&(n=m.stateNode,n===null||n._visibility&1||(d=!0)),n=m,m=m.return;return n.tag===3?(m=n.stateNode,d&&r!==null&&(d=31-ln(s),n=m.hiddenUpdates,u=n[d],u===null?n[d]=[r]:u.push(r),r.lane=s|536870912),m):null}function uu(n){if(50<_o)throw _o=0,zh=null,Error(a(185));for(var r=n.return;r!==null;)n=r,r=n.return;return n.tag===3?n.stateNode:null}var $a={};function PA(n,r,s,u){this.tag=n,this.key=s,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 Dn(n,r,s,u){return new PA(n,r,s,u)}function Ad(n){return n=n.prototype,!(!n||!n.isReactComponent)}function $i(n,r){var s=n.alternate;return s===null?(s=Dn(n.tag,r,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=r,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&65011712,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,r=n.dependencies,s.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s.refCleanup=n.refCleanup,s}function R0(n,r){n.flags&=65011714;var s=n.alternate;return s===null?(n.childLanes=0,n.lanes=r,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=s.childLanes,n.lanes=s.lanes,n.child=s.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=s.memoizedProps,n.memoizedState=s.memoizedState,n.updateQueue=s.updateQueue,n.type=s.type,r=s.dependencies,n.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),n}function cu(n,r,s,u,d,m){var b=0;if(u=n,typeof n=="function")Ad(n)&&(b=1);else if(typeof n=="string")b=$R(n,s,oe.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case G:return n=Dn(31,s,r,d),n.elementType=G,n.lanes=m,n;case C:return Wr(s.children,d,m,r);case T:b=8,d|=24;break;case D:return n=Dn(12,s,r,d|2),n.elementType=D,n.lanes=m,n;case M:return n=Dn(13,s,r,d),n.elementType=M,n.lanes=m,n;case L:return n=Dn(19,s,r,d),n.elementType=L,n.lanes=m,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case R:b=10;break e;case N:b=9;break e;case w:b=11;break e;case P:b=14;break e;case U:b=16,u=null;break e}b=29,s=Error(a(130,n===null?"null":typeof n,"")),u=null}return r=Dn(b,s,r,d),r.elementType=n,r.type=u,r.lanes=m,r}function Wr(n,r,s,u){return n=Dn(7,n,u,r),n.lanes=s,n}function Rd(n,r,s){return n=Dn(6,n,null,r),n.lanes=s,n}function O0(n){var r=Dn(18,null,null,0);return r.stateNode=n,r}function Od(n,r,s){return r=Dn(4,n.children!==null?n.children:[],n.key,r),r.lanes=s,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}var M0=new WeakMap;function qn(n,r){if(typeof n=="object"&&n!==null){var s=M0.get(n);return s!==void 0?s:(r={value:n,source:r,stack:ct(r)},M0.set(n,r),r)}return{value:n,source:r,stack:ct(r)}}var Ha=[],Ia=0,fu=null,uo=0,Kn=[],Gn=0,pr=null,Si=1,xi="";function Hi(n,r){Ha[Ia++]=uo,Ha[Ia++]=fu,fu=n,uo=r}function D0(n,r,s){Kn[Gn++]=Si,Kn[Gn++]=xi,Kn[Gn++]=pr,pr=n;var u=Si;n=xi;var d=32-ln(u)-1;u&=~(1<<d),s+=1;var m=32-ln(r)+d;if(30<m){var b=d-d%5;m=(u&(1<<b)-1).toString(32),u>>=b,d-=b,Si=1<<32-ln(r)+d|s<<d|u,xi=m+n}else Si=1<<m|s<<d|u,xi=n}function Md(n){n.return!==null&&(Hi(n,1),D0(n,1,0))}function Dd(n){for(;n===fu;)fu=Ha[--Ia],Ha[Ia]=null,uo=Ha[--Ia],Ha[Ia]=null;for(;n===pr;)pr=Kn[--Gn],Kn[Gn]=null,xi=Kn[--Gn],Kn[Gn]=null,Si=Kn[--Gn],Kn[Gn]=null}function _0(n,r){Kn[Gn++]=Si,Kn[Gn++]=xi,Kn[Gn++]=pr,Si=r.id,xi=r.overflow,pr=n}var Jt=null,dt=null,Pe=!1,mr=null,Yn=!1,_d=Error(a(519));function gr(n){var r=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw co(qn(r,n)),_d}function N0(n){var r=n.stateNode,s=n.type,u=n.memoizedProps;switch(r[Zt]=n,r[yn]=u,s){case"dialog":Ne("cancel",r),Ne("close",r);break;case"iframe":case"object":case"embed":Ne("load",r);break;case"video":case"audio":for(s=0;s<Lo.length;s++)Ne(Lo[s],r);break;case"source":Ne("error",r);break;case"img":case"image":case"link":Ne("error",r),Ne("load",r);break;case"details":Ne("toggle",r);break;case"input":Ne("invalid",r),qy(r,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":Ne("invalid",r);break;case"textarea":Ne("invalid",r),Gy(r,u.value,u.defaultValue,u.children)}s=u.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||r.textContent===""+s||u.suppressHydrationWarning===!0||Xb(r.textContent,s)?(u.popover!=null&&(Ne("beforetoggle",r),Ne("toggle",r)),u.onScroll!=null&&Ne("scroll",r),u.onScrollEnd!=null&&Ne("scrollend",r),u.onClick!=null&&(r.onclick=Ui),r=!0):r=!1,r||gr(n,!0)}function L0(n){for(Jt=n.return;Jt;)switch(Jt.tag){case 5:case 31:case 13:Yn=!1;return;case 27:case 3:Yn=!0;return;default:Jt=Jt.return}}function Fa(n){if(n!==Jt)return!1;if(!Pe)return L0(n),Pe=!0,!1;var r=n.tag,s;if((s=r!==3&&r!==27)&&((s=r===5)&&(s=n.type,s=!(s!=="form"&&s!=="button")||Xh(n.type,n.memoizedProps)),s=!s),s&&dt&&gr(n),L0(n),r===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(a(317));dt=r1(n)}else if(r===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(a(317));dt=r1(n)}else r===27?(r=dt,Dr(n.type)?(n=ep,ep=null,dt=n):dt=r):dt=Jt?Wn(n.stateNode.nextSibling):null;return!0}function Qr(){dt=Jt=null,Pe=!1}function Nd(){var n=mr;return n!==null&&(Cn===null?Cn=n:Cn.push.apply(Cn,n),mr=null),n}function co(n){mr===null?mr=[n]:mr.push(n)}var Ld=z(null),Zr=null,Ii=null;function yr(n,r,s){se(Ld,r._currentValue),r._currentValue=s}function Fi(n){n._currentValue=Ld.current,q(Ld)}function zd(n,r,s){for(;n!==null;){var u=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),n===s)break;n=n.return}}function kd(n,r,s,u){var d=n.child;for(d!==null&&(d.return=n);d!==null;){var m=d.dependencies;if(m!==null){var b=d.child;m=m.firstContext;e:for(;m!==null;){var E=m;m=d;for(var j=0;j<r.length;j++)if(E.context===r[j]){m.lanes|=s,E=m.alternate,E!==null&&(E.lanes|=s),zd(m.return,s,n),u||(b=null);break e}m=E.next}}else if(d.tag===18){if(b=d.return,b===null)throw Error(a(341));b.lanes|=s,m=b.alternate,m!==null&&(m.lanes|=s),zd(b,s,n),b=null}else b=d.child;if(b!==null)b.return=d;else for(b=d;b!==null;){if(b===n){b=null;break}if(d=b.sibling,d!==null){d.return=b.return,b=d;break}b=b.return}d=b}}function qa(n,r,s,u){n=null;for(var d=r,m=!1;d!==null;){if(!m){if((d.flags&524288)!==0)m=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var b=d.alternate;if(b===null)throw Error(a(387));if(b=b.memoizedProps,b!==null){var E=d.type;Mn(d.pendingProps.value,b.value)||(n!==null?n.push(E):n=[E])}}else if(d===me.current){if(b=d.alternate,b===null)throw Error(a(387));b.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(n!==null?n.push(Bo):n=[Bo])}d=d.return}n!==null&&kd(r,n,s,u),r.flags|=262144}function du(n){for(n=n.firstContext;n!==null;){if(!Mn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Jr(n){Zr=n,Ii=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function en(n){return z0(Zr,n)}function hu(n,r){return Zr===null&&Jr(n),z0(n,r)}function z0(n,r){var s=r._currentValue;if(r={context:r,memoizedValue:s,next:null},Ii===null){if(n===null)throw Error(a(308));Ii=r,n.dependencies={lanes:0,firstContext:r},n.flags|=524288}else Ii=Ii.next=r;return s}var jA=typeof AbortController<"u"?AbortController:function(){var n=[],r=this.signal={aborted:!1,addEventListener:function(s,u){n.push(u)}};this.abort=function(){r.aborted=!0,n.forEach(function(s){return s()})}},BA=e.unstable_scheduleCallback,UA=e.unstable_NormalPriority,kt={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Pd(){return{controller:new jA,data:new Map,refCount:0}}function fo(n){n.refCount--,n.refCount===0&&BA(UA,function(){n.controller.abort()})}var ho=null,jd=0,Ka=0,Ga=null;function VA(n,r){if(ho===null){var s=ho=[];jd=0,Ka=Vh(),Ga={status:"pending",value:void 0,then:function(u){s.push(u)}}}return jd++,r.then(k0,k0),r}function k0(){if(--jd===0&&ho!==null){Ga!==null&&(Ga.status="fulfilled");var n=ho;ho=null,Ka=0,Ga=null;for(var r=0;r<n.length;r++)(0,n[r])()}}function $A(n,r){var s=[],u={status:"pending",value:null,reason:null,then:function(d){s.push(d)}};return n.then(function(){u.status="fulfilled",u.value=r;for(var d=0;d<s.length;d++)(0,s[d])(r)},function(d){for(u.status="rejected",u.reason=d,d=0;d<s.length;d++)(0,s[d])(void 0)}),u}var P0=k.S;k.S=function(n,r){bb=Le(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&VA(n,r),P0!==null&&P0(n,r)};var ea=z(null);function Bd(){var n=ea.current;return n!==null?n:ut.pooledCache}function pu(n,r){r===null?se(ea,ea.current):se(ea,r.pool)}function j0(){var n=Bd();return n===null?null:{parent:kt._currentValue,pool:n}}var Ya=Error(a(460)),Ud=Error(a(474)),mu=Error(a(542)),gu={then:function(){}};function B0(n){return n=n.status,n==="fulfilled"||n==="rejected"}function U0(n,r,s){switch(s=n[s],s===void 0?n.push(r):s!==r&&(r.then(Ui,Ui),r=s),r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,$0(n),n;default:if(typeof r.status=="string")r.then(Ui,Ui);else{if(n=ut,n!==null&&100<n.shellSuspendCounter)throw Error(a(482));n=r,n.status="pending",n.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 n=r.reason,$0(n),n}throw na=r,Ya}}function ta(n){try{var r=n._init;return r(n._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(na=s,Ya):s}}var na=null;function V0(){if(na===null)throw Error(a(459));var n=na;return na=null,n}function $0(n){if(n===Ya||n===mu)throw Error(a(483))}var Xa=null,po=0;function yu(n){var r=po;return po+=1,Xa===null&&(Xa=[]),U0(Xa,n,r)}function mo(n,r){r=r.props.ref,n.ref=r!==void 0?r:null}function vu(n,r){throw r.$$typeof===v?Error(a(525)):(n=Object.prototype.toString.call(r),Error(a(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n)))}function H0(n){function r(V,B){if(n){var $=V.deletions;$===null?(V.deletions=[B],V.flags|=16):$.push(B)}}function s(V,B){if(!n)return null;for(;B!==null;)r(V,B),B=B.sibling;return null}function u(V){for(var B=new Map;V!==null;)V.key!==null?B.set(V.key,V):B.set(V.index,V),V=V.sibling;return B}function d(V,B){return V=$i(V,B),V.index=0,V.sibling=null,V}function m(V,B,$){return V.index=$,n?($=V.alternate,$!==null?($=$.index,$<B?(V.flags|=67108866,B):$):(V.flags|=67108866,B)):(V.flags|=1048576,B)}function b(V){return n&&V.alternate===null&&(V.flags|=67108866),V}function E(V,B,$,ie){return B===null||B.tag!==6?(B=Rd($,V.mode,ie),B.return=V,B):(B=d(B,$),B.return=V,B)}function j(V,B,$,ie){var ge=$.type;return ge===C?te(V,B,$.props.children,ie,$.key):B!==null&&(B.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===U&&ta(ge)===B.type)?(B=d(B,$.props),mo(B,$),B.return=V,B):(B=cu($.type,$.key,$.props,null,V.mode,ie),mo(B,$),B.return=V,B)}function H(V,B,$,ie){return B===null||B.tag!==4||B.stateNode.containerInfo!==$.containerInfo||B.stateNode.implementation!==$.implementation?(B=Od($,V.mode,ie),B.return=V,B):(B=d(B,$.children||[]),B.return=V,B)}function te(V,B,$,ie,ge){return B===null||B.tag!==7?(B=Wr($,V.mode,ie,ge),B.return=V,B):(B=d(B,$),B.return=V,B)}function re(V,B,$){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return B=Rd(""+B,V.mode,$),B.return=V,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case x:return $=cu(B.type,B.key,B.props,null,V.mode,$),mo($,B),$.return=V,$;case S:return B=Od(B,V.mode,$),B.return=V,B;case U:return B=ta(B),re(V,B,$)}if(Y(B)||O(B))return B=Wr(B,V.mode,$,null),B.return=V,B;if(typeof B.then=="function")return re(V,yu(B),$);if(B.$$typeof===R)return re(V,hu(V,B),$);vu(V,B)}return null}function K(V,B,$,ie){var ge=B!==null?B.key:null;if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return ge!==null?null:E(V,B,""+$,ie);if(typeof $=="object"&&$!==null){switch($.$$typeof){case x:return $.key===ge?j(V,B,$,ie):null;case S:return $.key===ge?H(V,B,$,ie):null;case U:return $=ta($),K(V,B,$,ie)}if(Y($)||O($))return ge!==null?null:te(V,B,$,ie,null);if(typeof $.then=="function")return K(V,B,yu($),ie);if($.$$typeof===R)return K(V,B,hu(V,$),ie);vu(V,$)}return null}function W(V,B,$,ie,ge){if(typeof ie=="string"&&ie!==""||typeof ie=="number"||typeof ie=="bigint")return V=V.get($)||null,E(B,V,""+ie,ge);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case x:return V=V.get(ie.key===null?$:ie.key)||null,j(B,V,ie,ge);case S:return V=V.get(ie.key===null?$:ie.key)||null,H(B,V,ie,ge);case U:return ie=ta(ie),W(V,B,$,ie,ge)}if(Y(ie)||O(ie))return V=V.get($)||null,te(B,V,ie,ge,null);if(typeof ie.then=="function")return W(V,B,$,yu(ie),ge);if(ie.$$typeof===R)return W(V,B,$,hu(B,ie),ge);vu(B,ie)}return null}function ce(V,B,$,ie){for(var ge=null,He=null,de=B,Me=B=0,ke=null;de!==null&&Me<$.length;Me++){de.index>Me?(ke=de,de=null):ke=de.sibling;var Ie=K(V,de,$[Me],ie);if(Ie===null){de===null&&(de=ke);break}n&&de&&Ie.alternate===null&&r(V,de),B=m(Ie,B,Me),He===null?ge=Ie:He.sibling=Ie,He=Ie,de=ke}if(Me===$.length)return s(V,de),Pe&&Hi(V,Me),ge;if(de===null){for(;Me<$.length;Me++)de=re(V,$[Me],ie),de!==null&&(B=m(de,B,Me),He===null?ge=de:He.sibling=de,He=de);return Pe&&Hi(V,Me),ge}for(de=u(de);Me<$.length;Me++)ke=W(de,V,Me,$[Me],ie),ke!==null&&(n&&ke.alternate!==null&&de.delete(ke.key===null?Me:ke.key),B=m(ke,B,Me),He===null?ge=ke:He.sibling=ke,He=ke);return n&&de.forEach(function(kr){return r(V,kr)}),Pe&&Hi(V,Me),ge}function be(V,B,$,ie){if($==null)throw Error(a(151));for(var ge=null,He=null,de=B,Me=B=0,ke=null,Ie=$.next();de!==null&&!Ie.done;Me++,Ie=$.next()){de.index>Me?(ke=de,de=null):ke=de.sibling;var kr=K(V,de,Ie.value,ie);if(kr===null){de===null&&(de=ke);break}n&&de&&kr.alternate===null&&r(V,de),B=m(kr,B,Me),He===null?ge=kr:He.sibling=kr,He=kr,de=ke}if(Ie.done)return s(V,de),Pe&&Hi(V,Me),ge;if(de===null){for(;!Ie.done;Me++,Ie=$.next())Ie=re(V,Ie.value,ie),Ie!==null&&(B=m(Ie,B,Me),He===null?ge=Ie:He.sibling=Ie,He=Ie);return Pe&&Hi(V,Me),ge}for(de=u(de);!Ie.done;Me++,Ie=$.next())Ie=W(de,V,Me,Ie.value,ie),Ie!==null&&(n&&Ie.alternate!==null&&de.delete(Ie.key===null?Me:Ie.key),B=m(Ie,B,Me),He===null?ge=Ie:He.sibling=Ie,He=Ie);return n&&de.forEach(function(ZR){return r(V,ZR)}),Pe&&Hi(V,Me),ge}function rt(V,B,$,ie){if(typeof $=="object"&&$!==null&&$.type===C&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case x:e:{for(var ge=$.key;B!==null;){if(B.key===ge){if(ge=$.type,ge===C){if(B.tag===7){s(V,B.sibling),ie=d(B,$.props.children),ie.return=V,V=ie;break e}}else if(B.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===U&&ta(ge)===B.type){s(V,B.sibling),ie=d(B,$.props),mo(ie,$),ie.return=V,V=ie;break e}s(V,B);break}else r(V,B);B=B.sibling}$.type===C?(ie=Wr($.props.children,V.mode,ie,$.key),ie.return=V,V=ie):(ie=cu($.type,$.key,$.props,null,V.mode,ie),mo(ie,$),ie.return=V,V=ie)}return b(V);case S:e:{for(ge=$.key;B!==null;){if(B.key===ge)if(B.tag===4&&B.stateNode.containerInfo===$.containerInfo&&B.stateNode.implementation===$.implementation){s(V,B.sibling),ie=d(B,$.children||[]),ie.return=V,V=ie;break e}else{s(V,B);break}else r(V,B);B=B.sibling}ie=Od($,V.mode,ie),ie.return=V,V=ie}return b(V);case U:return $=ta($),rt(V,B,$,ie)}if(Y($))return ce(V,B,$,ie);if(O($)){if(ge=O($),typeof ge!="function")throw Error(a(150));return $=ge.call($),be(V,B,$,ie)}if(typeof $.then=="function")return rt(V,B,yu($),ie);if($.$$typeof===R)return rt(V,B,hu(V,$),ie);vu(V,$)}return typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint"?($=""+$,B!==null&&B.tag===6?(s(V,B.sibling),ie=d(B,$),ie.return=V,V=ie):(s(V,B),ie=Rd($,V.mode,ie),ie.return=V,V=ie),b(V)):s(V,B)}return function(V,B,$,ie){try{po=0;var ge=rt(V,B,$,ie);return Xa=null,ge}catch(de){if(de===Ya||de===mu)throw de;var He=Dn(29,de,null,V.mode);return He.lanes=ie,He.return=V,He}finally{}}}var ia=H0(!0),I0=H0(!1),vr=!1;function Vd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $d(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function br(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Sr(n,r,s){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,(Ge&2)!==0){var d=u.pending;return d===null?r.next=r:(r.next=d.next,d.next=r),u.pending=r,r=uu(n),A0(n,null,s),r}return lu(n,u,r,s),uu(n)}function go(n,r,s){if(r=r.updateQueue,r!==null&&(r=r.shared,(s&4194048)!==0)){var u=r.lanes;u&=n.pendingLanes,s|=u,r.lanes=s,zy(n,s)}}function Hd(n,r){var s=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,s===u)){var d=null,m=null;if(s=s.firstBaseUpdate,s!==null){do{var b={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};m===null?d=m=b:m=m.next=b,s=s.next}while(s!==null);m===null?d=m=r:m=m.next=r}else d=m=r;s={baseState:u.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:u.shared,callbacks:u.callbacks},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=r:n.next=r,s.lastBaseUpdate=r}var Id=!1;function yo(){if(Id){var n=Ga;if(n!==null)throw n}}function vo(n,r,s,u){Id=!1;var d=n.updateQueue;vr=!1;var m=d.firstBaseUpdate,b=d.lastBaseUpdate,E=d.shared.pending;if(E!==null){d.shared.pending=null;var j=E,H=j.next;j.next=null,b===null?m=H:b.next=H,b=j;var te=n.alternate;te!==null&&(te=te.updateQueue,E=te.lastBaseUpdate,E!==b&&(E===null?te.firstBaseUpdate=H:E.next=H,te.lastBaseUpdate=j))}if(m!==null){var re=d.baseState;b=0,te=H=j=null,E=m;do{var K=E.lane&-536870913,W=K!==E.lane;if(W?(ze&K)===K:(u&K)===K){K!==0&&K===Ka&&(Id=!0),te!==null&&(te=te.next={lane:0,tag:E.tag,payload:E.payload,callback:null,next:null});e:{var ce=n,be=E;K=r;var rt=s;switch(be.tag){case 1:if(ce=be.payload,typeof ce=="function"){re=ce.call(rt,re,K);break e}re=ce;break e;case 3:ce.flags=ce.flags&-65537|128;case 0:if(ce=be.payload,K=typeof ce=="function"?ce.call(rt,re,K):ce,K==null)break e;re=y({},re,K);break e;case 2:vr=!0}}K=E.callback,K!==null&&(n.flags|=64,W&&(n.flags|=8192),W=d.callbacks,W===null?d.callbacks=[K]:W.push(K))}else W={lane:K,tag:E.tag,payload:E.payload,callback:E.callback,next:null},te===null?(H=te=W,j=re):te=te.next=W,b|=K;if(E=E.next,E===null){if(E=d.shared.pending,E===null)break;W=E,E=W.next,W.next=null,d.lastBaseUpdate=W,d.shared.pending=null}}while(!0);te===null&&(j=re),d.baseState=j,d.firstBaseUpdate=H,d.lastBaseUpdate=te,m===null&&(d.shared.lanes=0),Er|=b,n.lanes=b,n.memoizedState=re}}function F0(n,r){if(typeof n!="function")throw Error(a(191,n));n.call(r)}function q0(n,r){var s=n.callbacks;if(s!==null)for(n.callbacks=null,n=0;n<s.length;n++)F0(s[n],r)}var Wa=z(null),bu=z(0);function K0(n,r){n=Ji,se(bu,n),se(Wa,r),Ji=n|r.baseLanes}function Fd(){se(bu,Ji),se(Wa,Wa.current)}function qd(){Ji=bu.current,q(Wa),q(bu)}var _n=z(null),Xn=null;function xr(n){var r=n.alternate;se(Dt,Dt.current&1),se(_n,n),Xn===null&&(r===null||Wa.current!==null||r.memoizedState!==null)&&(Xn=n)}function Kd(n){se(Dt,Dt.current),se(_n,n),Xn===null&&(Xn=n)}function G0(n){n.tag===22?(se(Dt,Dt.current),se(_n,n),Xn===null&&(Xn=n)):Cr()}function Cr(){se(Dt,Dt.current),se(_n,_n.current)}function Nn(n){q(_n),Xn===n&&(Xn=null),q(Dt)}var Dt=z(0);function Su(n){for(var r=n;r!==null;){if(r.tag===13){var s=r.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||Zh(s)||Jh(s)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var qi=0,Re=null,nt=null,Pt=null,xu=!1,Qa=!1,ra=!1,Cu=0,bo=0,Za=null,HA=0;function Tt(){throw Error(a(321))}function Gd(n,r){if(r===null)return!1;for(var s=0;s<r.length&&s<n.length;s++)if(!Mn(n[s],r[s]))return!1;return!0}function Yd(n,r,s,u,d,m){return qi=m,Re=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,k.H=n===null||n.memoizedState===null?Dv:uh,ra=!1,m=s(u,d),ra=!1,Qa&&(m=X0(r,s,u,d)),Y0(n),m}function Y0(n){k.H=Co;var r=nt!==null&&nt.next!==null;if(qi=0,Pt=nt=Re=null,xu=!1,bo=0,Za=null,r)throw Error(a(300));n===null||jt||(n=n.dependencies,n!==null&&du(n)&&(jt=!0))}function X0(n,r,s,u){Re=n;var d=0;do{if(Qa&&(Za=null),bo=0,Qa=!1,25<=d)throw Error(a(301));if(d+=1,Pt=nt=null,n.updateQueue!=null){var m=n.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}k.H=_v,m=r(s,u)}while(Qa);return m}function IA(){var n=k.H,r=n.useState()[0];return r=typeof r.then=="function"?So(r):r,n=n.useState()[0],(nt!==null?nt.memoizedState:null)!==n&&(Re.flags|=1024),r}function Xd(){var n=Cu!==0;return Cu=0,n}function Wd(n,r,s){r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~s}function Qd(n){if(xu){for(n=n.memoizedState;n!==null;){var r=n.queue;r!==null&&(r.pending=null),n=n.next}xu=!1}qi=0,Pt=nt=Re=null,Qa=!1,bo=Cu=0,Za=null}function hn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pt===null?Re.memoizedState=Pt=n:Pt=Pt.next=n,Pt}function _t(){if(nt===null){var n=Re.alternate;n=n!==null?n.memoizedState:null}else n=nt.next;var r=Pt===null?Re.memoizedState:Pt.next;if(r!==null)Pt=r,nt=n;else{if(n===null)throw Re.alternate===null?Error(a(467)):Error(a(310));nt=n,n={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},Pt===null?Re.memoizedState=Pt=n:Pt=Pt.next=n}return Pt}function Tu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function So(n){var r=bo;return bo+=1,Za===null&&(Za=[]),n=U0(Za,n,r),r=Re,(Pt===null?r.memoizedState:Pt.next)===null&&(r=r.alternate,k.H=r===null||r.memoizedState===null?Dv:uh),n}function wu(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return So(n);if(n.$$typeof===R)return en(n)}throw Error(a(438,String(n)))}function Zd(n){var r=null,s=Re.updateQueue;if(s!==null&&(r=s.memoCache),r==null){var u=Re.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}),s===null&&(s=Tu(),Re.updateQueue=s),s.memoCache=r,s=r.data[r.index],s===void 0)for(s=r.data[r.index]=Array(n),u=0;u<n;u++)s[u]=Q;return r.index++,s}function Ki(n,r){return typeof r=="function"?r(n):r}function Eu(n){var r=_t();return Jd(r,nt,n)}function Jd(n,r,s){var u=n.queue;if(u===null)throw Error(a(311));u.lastRenderedReducer=s;var d=n.baseQueue,m=u.pending;if(m!==null){if(d!==null){var b=d.next;d.next=m.next,m.next=b}r.baseQueue=d=m,u.pending=null}if(m=n.baseState,d===null)n.memoizedState=m;else{r=d.next;var E=b=null,j=null,H=r,te=!1;do{var re=H.lane&-536870913;if(re!==H.lane?(ze&re)===re:(qi&re)===re){var K=H.revertLane;if(K===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),re===Ka&&(te=!0);else if((qi&K)===K){H=H.next,K===Ka&&(te=!0);continue}else re={lane:0,revertLane:H.revertLane,gesture:null,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},j===null?(E=j=re,b=m):j=j.next=re,Re.lanes|=K,Er|=K;re=H.action,ra&&s(m,re),m=H.hasEagerState?H.eagerState:s(m,re)}else K={lane:re,revertLane:H.revertLane,gesture:H.gesture,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},j===null?(E=j=K,b=m):j=j.next=K,Re.lanes|=re,Er|=re;H=H.next}while(H!==null&&H!==r);if(j===null?b=m:j.next=E,!Mn(m,n.memoizedState)&&(jt=!0,te&&(s=Ga,s!==null)))throw s;n.memoizedState=m,n.baseState=b,n.baseQueue=j,u.lastRenderedState=m}return d===null&&(u.lanes=0),[n.memoizedState,u.dispatch]}function eh(n){var r=_t(),s=r.queue;if(s===null)throw Error(a(311));s.lastRenderedReducer=n;var u=s.dispatch,d=s.pending,m=r.memoizedState;if(d!==null){s.pending=null;var b=d=d.next;do m=n(m,b.action),b=b.next;while(b!==d);Mn(m,r.memoizedState)||(jt=!0),r.memoizedState=m,r.baseQueue===null&&(r.baseState=m),s.lastRenderedState=m}return[m,u]}function W0(n,r,s){var u=Re,d=_t(),m=Pe;if(m){if(s===void 0)throw Error(a(407));s=s()}else s=r();var b=!Mn((nt||d).memoizedState,s);if(b&&(d.memoizedState=s,jt=!0),d=d.queue,ih(J0.bind(null,u,d,n),[n]),d.getSnapshot!==r||b||Pt!==null&&Pt.memoizedState.tag&1){if(u.flags|=2048,Ja(9,{destroy:void 0},Z0.bind(null,u,d,s,r),null),ut===null)throw Error(a(349));m||(qi&127)!==0||Q0(u,r,s)}return s}function Q0(n,r,s){n.flags|=16384,n={getSnapshot:r,value:s},r=Re.updateQueue,r===null?(r=Tu(),Re.updateQueue=r,r.stores=[n]):(s=r.stores,s===null?r.stores=[n]:s.push(n))}function Z0(n,r,s,u){r.value=s,r.getSnapshot=u,ev(r)&&tv(n)}function J0(n,r,s){return s(function(){ev(r)&&tv(n)})}function ev(n){var r=n.getSnapshot;n=n.value;try{var s=r();return!Mn(n,s)}catch{return!0}}function tv(n){var r=Xr(n,2);r!==null&&Tn(r,n,2)}function th(n){var r=hn();if(typeof n=="function"){var s=n;if(n=s(),ra){bi(!0);try{s()}finally{bi(!1)}}}return r.memoizedState=r.baseState=n,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ki,lastRenderedState:n},r}function nv(n,r,s,u){return n.baseState=s,Jd(n,nt,typeof u=="function"?u:Ki)}function FA(n,r,s,u,d){if(Ou(n))throw Error(a(485));if(n=r.action,n!==null){var m={payload:d,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){m.listeners.push(b)}};k.T!==null?s(!0):m.isTransition=!1,u(m),s=r.pending,s===null?(m.next=r.pending=m,iv(r,m)):(m.next=s.next,r.pending=s.next=m)}}function iv(n,r){var s=r.action,u=r.payload,d=n.state;if(r.isTransition){var m=k.T,b={};k.T=b;try{var E=s(d,u),j=k.S;j!==null&&j(b,E),rv(n,r,E)}catch(H){nh(n,r,H)}finally{m!==null&&b.types!==null&&(m.types=b.types),k.T=m}}else try{m=s(d,u),rv(n,r,m)}catch(H){nh(n,r,H)}}function rv(n,r,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(u){av(n,r,u)},function(u){return nh(n,r,u)}):av(n,r,s)}function av(n,r,s){r.status="fulfilled",r.value=s,sv(r),n.state=s,r=n.pending,r!==null&&(s=r.next,s===r?n.pending=null:(s=s.next,r.next=s,iv(n,s)))}function nh(n,r,s){var u=n.pending;if(n.pending=null,u!==null){u=u.next;do r.status="rejected",r.reason=s,sv(r),r=r.next;while(r!==u)}n.action=null}function sv(n){n=n.listeners;for(var r=0;r<n.length;r++)(0,n[r])()}function ov(n,r){return r}function lv(n,r){if(Pe){var s=ut.formState;if(s!==null){e:{var u=Re;if(Pe){if(dt){t:{for(var d=dt,m=Yn;d.nodeType!==8;){if(!m){d=null;break t}if(d=Wn(d.nextSibling),d===null){d=null;break t}}m=d.data,d=m==="F!"||m==="F"?d:null}if(d){dt=Wn(d.nextSibling),u=d.data==="F!";break e}}gr(u)}u=!1}u&&(r=s[0])}}return s=hn(),s.memoizedState=s.baseState=r,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ov,lastRenderedState:r},s.queue=u,s=Rv.bind(null,Re,u),u.dispatch=s,u=th(!1),m=lh.bind(null,Re,!1,u.queue),u=hn(),d={state:r,dispatch:null,action:n,pending:null},u.queue=d,s=FA.bind(null,Re,d,m,s),d.dispatch=s,u.memoizedState=n,[r,s,!1]}function uv(n){var r=_t();return cv(r,nt,n)}function cv(n,r,s){if(r=Jd(n,r,ov)[0],n=Eu(Ki)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var u=So(r)}catch(b){throw b===Ya?mu:b}else u=r;r=_t();var d=r.queue,m=d.dispatch;return s!==r.memoizedState&&(Re.flags|=2048,Ja(9,{destroy:void 0},qA.bind(null,d,s),null)),[u,m,n]}function qA(n,r){n.action=r}function fv(n){var r=_t(),s=nt;if(s!==null)return cv(r,s,n);_t(),r=r.memoizedState,s=_t();var u=s.queue.dispatch;return s.memoizedState=n,[r,u,!1]}function Ja(n,r,s,u){return n={tag:n,create:s,deps:u,inst:r,next:null},r=Re.updateQueue,r===null&&(r=Tu(),Re.updateQueue=r),s=r.lastEffect,s===null?r.lastEffect=n.next=n:(u=s.next,s.next=n,n.next=u,r.lastEffect=n),n}function dv(){return _t().memoizedState}function Au(n,r,s,u){var d=hn();Re.flags|=n,d.memoizedState=Ja(1|r,{destroy:void 0},s,u===void 0?null:u)}function Ru(n,r,s,u){var d=_t();u=u===void 0?null:u;var m=d.memoizedState.inst;nt!==null&&u!==null&&Gd(u,nt.memoizedState.deps)?d.memoizedState=Ja(r,m,s,u):(Re.flags|=n,d.memoizedState=Ja(1|r,m,s,u))}function hv(n,r){Au(8390656,8,n,r)}function ih(n,r){Ru(2048,8,n,r)}function KA(n){Re.flags|=4;var r=Re.updateQueue;if(r===null)r=Tu(),Re.updateQueue=r,r.events=[n];else{var s=r.events;s===null?r.events=[n]:s.push(n)}}function pv(n){var r=_t().memoizedState;return KA({ref:r,nextImpl:n}),function(){if((Ge&2)!==0)throw Error(a(440));return r.impl.apply(void 0,arguments)}}function mv(n,r){return Ru(4,2,n,r)}function gv(n,r){return Ru(4,4,n,r)}function yv(n,r){if(typeof r=="function"){n=n();var s=r(n);return function(){typeof s=="function"?s():r(null)}}if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function vv(n,r,s){s=s!=null?s.concat([n]):null,Ru(4,4,yv.bind(null,r,n),s)}function rh(){}function bv(n,r){var s=_t();r=r===void 0?null:r;var u=s.memoizedState;return r!==null&&Gd(r,u[1])?u[0]:(s.memoizedState=[n,r],n)}function Sv(n,r){var s=_t();r=r===void 0?null:r;var u=s.memoizedState;if(r!==null&&Gd(r,u[1]))return u[0];if(u=n(),ra){bi(!0);try{n()}finally{bi(!1)}}return s.memoizedState=[u,r],u}function ah(n,r,s){return s===void 0||(qi&1073741824)!==0&&(ze&261930)===0?n.memoizedState=r:(n.memoizedState=s,n=xb(),Re.lanes|=n,Er|=n,s)}function xv(n,r,s,u){return Mn(s,r)?s:Wa.current!==null?(n=ah(n,s,u),Mn(n,r)||(jt=!0),n):(qi&42)===0||(qi&1073741824)!==0&&(ze&261930)===0?(jt=!0,n.memoizedState=s):(n=xb(),Re.lanes|=n,Er|=n,r)}function Cv(n,r,s,u,d){var m=I.p;I.p=m!==0&&8>m?m:8;var b=k.T,E={};k.T=E,lh(n,!1,r,s);try{var j=d(),H=k.S;if(H!==null&&H(E,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var te=$A(j,u);xo(n,r,te,kn(n))}else xo(n,r,u,kn(n))}catch(re){xo(n,r,{then:function(){},status:"rejected",reason:re},kn())}finally{I.p=m,b!==null&&E.types!==null&&(b.types=E.types),k.T=b}}function GA(){}function sh(n,r,s,u){if(n.tag!==5)throw Error(a(476));var d=Tv(n).queue;Cv(n,d,r,ee,s===null?GA:function(){return wv(n),s(u)})}function Tv(n){var r=n.memoizedState;if(r!==null)return r;r={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ki,lastRenderedState:ee},next:null};var s={};return r.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ki,lastRenderedState:s},next:null},n.memoizedState=r,n=n.alternate,n!==null&&(n.memoizedState=r),r}function wv(n){var r=Tv(n);r.next===null&&(r=n.alternate.memoizedState),xo(n,r.next.queue,{},kn())}function oh(){return en(Bo)}function Ev(){return _t().memoizedState}function Av(){return _t().memoizedState}function YA(n){for(var r=n.return;r!==null;){switch(r.tag){case 24:case 3:var s=kn();n=br(s);var u=Sr(r,n,s);u!==null&&(Tn(u,r,s),go(u,r,s)),r={cache:Pd()},n.payload=r;return}r=r.return}}function XA(n,r,s){var u=kn();s={lane:u,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Ou(n)?Ov(r,s):(s=Ed(n,r,s,u),s!==null&&(Tn(s,n,u),Mv(s,r,u)))}function Rv(n,r,s){var u=kn();xo(n,r,s,u)}function xo(n,r,s,u){var d={lane:u,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(Ou(n))Ov(r,d);else{var m=n.alternate;if(n.lanes===0&&(m===null||m.lanes===0)&&(m=r.lastRenderedReducer,m!==null))try{var b=r.lastRenderedState,E=m(b,s);if(d.hasEagerState=!0,d.eagerState=E,Mn(E,b))return lu(n,r,d,0),ut===null&&ou(),!1}catch{}finally{}if(s=Ed(n,r,d,u),s!==null)return Tn(s,n,u),Mv(s,r,u),!0}return!1}function lh(n,r,s,u){if(u={lane:2,revertLane:Vh(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Ou(n)){if(r)throw Error(a(479))}else r=Ed(n,s,u,2),r!==null&&Tn(r,n,2)}function Ou(n){var r=n.alternate;return n===Re||r!==null&&r===Re}function Ov(n,r){Qa=xu=!0;var s=n.pending;s===null?r.next=r:(r.next=s.next,s.next=r),n.pending=r}function Mv(n,r,s){if((s&4194048)!==0){var u=r.lanes;u&=n.pendingLanes,s|=u,r.lanes=s,zy(n,s)}}var Co={readContext:en,use:wu,useCallback:Tt,useContext:Tt,useEffect:Tt,useImperativeHandle:Tt,useLayoutEffect:Tt,useInsertionEffect:Tt,useMemo:Tt,useReducer:Tt,useRef:Tt,useState:Tt,useDebugValue:Tt,useDeferredValue:Tt,useTransition:Tt,useSyncExternalStore:Tt,useId:Tt,useHostTransitionStatus:Tt,useFormState:Tt,useActionState:Tt,useOptimistic:Tt,useMemoCache:Tt,useCacheRefresh:Tt};Co.useEffectEvent=Tt;var Dv={readContext:en,use:wu,useCallback:function(n,r){return hn().memoizedState=[n,r===void 0?null:r],n},useContext:en,useEffect:hv,useImperativeHandle:function(n,r,s){s=s!=null?s.concat([n]):null,Au(4194308,4,yv.bind(null,r,n),s)},useLayoutEffect:function(n,r){return Au(4194308,4,n,r)},useInsertionEffect:function(n,r){Au(4,2,n,r)},useMemo:function(n,r){var s=hn();r=r===void 0?null:r;var u=n();if(ra){bi(!0);try{n()}finally{bi(!1)}}return s.memoizedState=[u,r],u},useReducer:function(n,r,s){var u=hn();if(s!==void 0){var d=s(r);if(ra){bi(!0);try{s(r)}finally{bi(!1)}}}else d=r;return u.memoizedState=u.baseState=d,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:d},u.queue=n,n=n.dispatch=XA.bind(null,Re,n),[u.memoizedState,n]},useRef:function(n){var r=hn();return n={current:n},r.memoizedState=n},useState:function(n){n=th(n);var r=n.queue,s=Rv.bind(null,Re,r);return r.dispatch=s,[n.memoizedState,s]},useDebugValue:rh,useDeferredValue:function(n,r){var s=hn();return ah(s,n,r)},useTransition:function(){var n=th(!1);return n=Cv.bind(null,Re,n.queue,!0,!1),hn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,r,s){var u=Re,d=hn();if(Pe){if(s===void 0)throw Error(a(407));s=s()}else{if(s=r(),ut===null)throw Error(a(349));(ze&127)!==0||Q0(u,r,s)}d.memoizedState=s;var m={value:s,getSnapshot:r};return d.queue=m,hv(J0.bind(null,u,m,n),[n]),u.flags|=2048,Ja(9,{destroy:void 0},Z0.bind(null,u,m,s,r),null),s},useId:function(){var n=hn(),r=ut.identifierPrefix;if(Pe){var s=xi,u=Si;s=(u&~(1<<32-ln(u)-1)).toString(32)+s,r="_"+r+"R_"+s,s=Cu++,0<s&&(r+="H"+s.toString(32)),r+="_"}else s=HA++,r="_"+r+"r_"+s.toString(32)+"_";return n.memoizedState=r},useHostTransitionStatus:oh,useFormState:lv,useActionState:lv,useOptimistic:function(n){var r=hn();r.memoizedState=r.baseState=n;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=s,r=lh.bind(null,Re,!0,s),s.dispatch=r,[n,r]},useMemoCache:Zd,useCacheRefresh:function(){return hn().memoizedState=YA.bind(null,Re)},useEffectEvent:function(n){var r=hn(),s={impl:n};return r.memoizedState=s,function(){if((Ge&2)!==0)throw Error(a(440));return s.impl.apply(void 0,arguments)}}},uh={readContext:en,use:wu,useCallback:bv,useContext:en,useEffect:ih,useImperativeHandle:vv,useInsertionEffect:mv,useLayoutEffect:gv,useMemo:Sv,useReducer:Eu,useRef:dv,useState:function(){return Eu(Ki)},useDebugValue:rh,useDeferredValue:function(n,r){var s=_t();return xv(s,nt.memoizedState,n,r)},useTransition:function(){var n=Eu(Ki)[0],r=_t().memoizedState;return[typeof n=="boolean"?n:So(n),r]},useSyncExternalStore:W0,useId:Ev,useHostTransitionStatus:oh,useFormState:uv,useActionState:uv,useOptimistic:function(n,r){var s=_t();return nv(s,nt,n,r)},useMemoCache:Zd,useCacheRefresh:Av};uh.useEffectEvent=pv;var _v={readContext:en,use:wu,useCallback:bv,useContext:en,useEffect:ih,useImperativeHandle:vv,useInsertionEffect:mv,useLayoutEffect:gv,useMemo:Sv,useReducer:eh,useRef:dv,useState:function(){return eh(Ki)},useDebugValue:rh,useDeferredValue:function(n,r){var s=_t();return nt===null?ah(s,n,r):xv(s,nt.memoizedState,n,r)},useTransition:function(){var n=eh(Ki)[0],r=_t().memoizedState;return[typeof n=="boolean"?n:So(n),r]},useSyncExternalStore:W0,useId:Ev,useHostTransitionStatus:oh,useFormState:fv,useActionState:fv,useOptimistic:function(n,r){var s=_t();return nt!==null?nv(s,nt,n,r):(s.baseState=n,[n,s.queue.dispatch])},useMemoCache:Zd,useCacheRefresh:Av};_v.useEffectEvent=pv;function ch(n,r,s,u){r=n.memoizedState,s=s(u,r),s=s==null?r:y({},r,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}var fh={enqueueSetState:function(n,r,s){n=n._reactInternals;var u=kn(),d=br(u);d.payload=r,s!=null&&(d.callback=s),r=Sr(n,d,u),r!==null&&(Tn(r,n,u),go(r,n,u))},enqueueReplaceState:function(n,r,s){n=n._reactInternals;var u=kn(),d=br(u);d.tag=1,d.payload=r,s!=null&&(d.callback=s),r=Sr(n,d,u),r!==null&&(Tn(r,n,u),go(r,n,u))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var s=kn(),u=br(s);u.tag=2,r!=null&&(u.callback=r),r=Sr(n,u,s),r!==null&&(Tn(r,n,s),go(r,n,s))}};function Nv(n,r,s,u,d,m,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,m,b):r.prototype&&r.prototype.isPureReactComponent?!oo(s,u)||!oo(d,m):!0}function Lv(n,r,s,u){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(s,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(s,u),r.state!==n&&fh.enqueueReplaceState(r,r.state,null)}function aa(n,r){var s=r;if("ref"in r){s={};for(var u in r)u!=="ref"&&(s[u]=r[u])}if(n=n.defaultProps){s===r&&(s=y({},s));for(var d in n)s[d]===void 0&&(s[d]=n[d])}return s}function zv(n){su(n)}function kv(n){console.error(n)}function Pv(n){su(n)}function Mu(n,r){try{var s=n.onUncaughtError;s(r.value,{componentStack:r.stack})}catch(u){setTimeout(function(){throw u})}}function jv(n,r,s){try{var u=n.onCaughtError;u(s.value,{componentStack:s.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function dh(n,r,s){return s=br(s),s.tag=3,s.payload={element:null},s.callback=function(){Mu(n,r)},s}function Bv(n){return n=br(n),n.tag=3,n}function Uv(n,r,s,u){var d=s.type.getDerivedStateFromError;if(typeof d=="function"){var m=u.value;n.payload=function(){return d(m)},n.callback=function(){jv(r,s,u)}}var b=s.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(n.callback=function(){jv(r,s,u),typeof d!="function"&&(Ar===null?Ar=new Set([this]):Ar.add(this));var E=u.stack;this.componentDidCatch(u.value,{componentStack:E!==null?E:""})})}function WA(n,r,s,u,d){if(s.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(r=s.alternate,r!==null&&qa(r,s,d,!0),s=_n.current,s!==null){switch(s.tag){case 31:case 13:return Xn===null?$u():s.alternate===null&&wt===0&&(wt=3),s.flags&=-257,s.flags|=65536,s.lanes=d,u===gu?s.flags|=16384:(r=s.updateQueue,r===null?s.updateQueue=new Set([u]):r.add(u),jh(n,u,d)),!1;case 22:return s.flags|=65536,u===gu?s.flags|=16384:(r=s.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([u])},s.updateQueue=r):(s=r.retryQueue,s===null?r.retryQueue=new Set([u]):s.add(u)),jh(n,u,d)),!1}throw Error(a(435,s.tag))}return jh(n,u,d),$u(),!1}if(Pe)return r=_n.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=d,u!==_d&&(n=Error(a(422),{cause:u}),co(qn(n,s)))):(u!==_d&&(r=Error(a(423),{cause:u}),co(qn(r,s))),n=n.current.alternate,n.flags|=65536,d&=-d,n.lanes|=d,u=qn(u,s),d=dh(n.stateNode,u,d),Hd(n,d),wt!==4&&(wt=2)),!1;var m=Error(a(520),{cause:u});if(m=qn(m,s),Do===null?Do=[m]:Do.push(m),wt!==4&&(wt=2),r===null)return!0;u=qn(u,s),s=r;do{switch(s.tag){case 3:return s.flags|=65536,n=d&-d,s.lanes|=n,n=dh(s.stateNode,u,n),Hd(s,n),!1;case 1:if(r=s.type,m=s.stateNode,(s.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Ar===null||!Ar.has(m))))return s.flags|=65536,d&=-d,s.lanes|=d,d=Bv(d),Uv(d,n,s,u),Hd(s,d),!1}s=s.return}while(s!==null);return!1}var hh=Error(a(461)),jt=!1;function tn(n,r,s,u){r.child=n===null?I0(r,null,s,u):ia(r,n.child,s,u)}function Vv(n,r,s,u,d){s=s.render;var m=r.ref;if("ref"in u){var b={};for(var E in u)E!=="ref"&&(b[E]=u[E])}else b=u;return Jr(r),u=Yd(n,r,s,b,m,d),E=Xd(),n!==null&&!jt?(Wd(n,r,d),Gi(n,r,d)):(Pe&&E&&Md(r),r.flags|=1,tn(n,r,u,d),r.child)}function $v(n,r,s,u,d){if(n===null){var m=s.type;return typeof m=="function"&&!Ad(m)&&m.defaultProps===void 0&&s.compare===null?(r.tag=15,r.type=m,Hv(n,r,m,u,d)):(n=cu(s.type,null,u,r,r.mode,d),n.ref=r.ref,n.return=r,r.child=n)}if(m=n.child,!xh(n,d)){var b=m.memoizedProps;if(s=s.compare,s=s!==null?s:oo,s(b,u)&&n.ref===r.ref)return Gi(n,r,d)}return r.flags|=1,n=$i(m,u),n.ref=r.ref,n.return=r,r.child=n}function Hv(n,r,s,u,d){if(n!==null){var m=n.memoizedProps;if(oo(m,u)&&n.ref===r.ref)if(jt=!1,r.pendingProps=u=m,xh(n,d))(n.flags&131072)!==0&&(jt=!0);else return r.lanes=n.lanes,Gi(n,r,d)}return ph(n,r,s,u,d)}function Iv(n,r,s,u){var d=u.children,m=n!==null?n.memoizedState:null;if(n===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((r.flags&128)!==0){if(m=m!==null?m.baseLanes|s:s,n!==null){for(u=r.child=n.child,d=0;u!==null;)d=d|u.lanes|u.childLanes,u=u.sibling;u=d&~m}else u=0,r.child=null;return Fv(n,r,m,s,u)}if((s&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},n!==null&&pu(r,m!==null?m.cachePool:null),m!==null?K0(r,m):Fd(),G0(r);else return u=r.lanes=536870912,Fv(n,r,m!==null?m.baseLanes|s:s,s,u)}else m!==null?(pu(r,m.cachePool),K0(r,m),Cr(),r.memoizedState=null):(n!==null&&pu(r,null),Fd(),Cr());return tn(n,r,d,s),r.child}function To(n,r){return n!==null&&n.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function Fv(n,r,s,u,d){var m=Bd();return m=m===null?null:{parent:kt._currentValue,pool:m},r.memoizedState={baseLanes:s,cachePool:m},n!==null&&pu(r,null),Fd(),G0(r),n!==null&&qa(n,r,u,!0),r.childLanes=d,null}function Du(n,r){return r=Nu({mode:r.mode,children:r.children},n.mode),r.ref=n.ref,n.child=r,r.return=n,r}function qv(n,r,s){return ia(r,n.child,null,s),n=Du(r,r.pendingProps),n.flags|=2,Nn(r),r.memoizedState=null,n}function QA(n,r,s){var u=r.pendingProps,d=(r.flags&128)!==0;if(r.flags&=-129,n===null){if(Pe){if(u.mode==="hidden")return n=Du(r,u),r.lanes=536870912,To(null,n);if(Kd(r),(n=dt)?(n=i1(n,Yn),n=n!==null&&n.data==="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:pr!==null?{id:Si,overflow:xi}:null,retryLane:536870912,hydrationErrors:null},s=O0(n),s.return=r,r.child=s,Jt=r,dt=null)):n=null,n===null)throw gr(r);return r.lanes=536870912,null}return Du(r,u)}var m=n.memoizedState;if(m!==null){var b=m.dehydrated;if(Kd(r),d)if(r.flags&256)r.flags&=-257,r=qv(n,r,s);else if(r.memoizedState!==null)r.child=n.child,r.flags|=128,r=null;else throw Error(a(558));else if(jt||qa(n,r,s,!1),d=(s&n.childLanes)!==0,jt||d){if(u=ut,u!==null&&(b=ky(u,s),b!==0&&b!==m.retryLane))throw m.retryLane=b,Xr(n,b),Tn(u,n,b),hh;$u(),r=qv(n,r,s)}else n=m.treeContext,dt=Wn(b.nextSibling),Jt=r,Pe=!0,mr=null,Yn=!1,n!==null&&_0(r,n),r=Du(r,u),r.flags|=4096;return r}return n=$i(n.child,{mode:u.mode,children:u.children}),n.ref=r.ref,r.child=n,n.return=r,n}function _u(n,r){var s=r.ref;if(s===null)n!==null&&n.ref!==null&&(r.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(a(284));(n===null||n.ref!==s)&&(r.flags|=4194816)}}function ph(n,r,s,u,d){return Jr(r),s=Yd(n,r,s,u,void 0,d),u=Xd(),n!==null&&!jt?(Wd(n,r,d),Gi(n,r,d)):(Pe&&u&&Md(r),r.flags|=1,tn(n,r,s,d),r.child)}function Kv(n,r,s,u,d,m){return Jr(r),r.updateQueue=null,s=X0(r,u,s,d),Y0(n),u=Xd(),n!==null&&!jt?(Wd(n,r,m),Gi(n,r,m)):(Pe&&u&&Md(r),r.flags|=1,tn(n,r,s,m),r.child)}function Gv(n,r,s,u,d){if(Jr(r),r.stateNode===null){var m=$a,b=s.contextType;typeof b=="object"&&b!==null&&(m=en(b)),m=new s(u,m),r.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=fh,r.stateNode=m,m._reactInternals=r,m=r.stateNode,m.props=u,m.state=r.memoizedState,m.refs={},Vd(r),b=s.contextType,m.context=typeof b=="object"&&b!==null?en(b):$a,m.state=r.memoizedState,b=s.getDerivedStateFromProps,typeof b=="function"&&(ch(r,s,b,u),m.state=r.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(b=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),b!==m.state&&fh.enqueueReplaceState(m,m.state,null),vo(r,u,m,d),yo(),m.state=r.memoizedState),typeof m.componentDidMount=="function"&&(r.flags|=4194308),u=!0}else if(n===null){m=r.stateNode;var E=r.memoizedProps,j=aa(s,E);m.props=j;var H=m.context,te=s.contextType;b=$a,typeof te=="object"&&te!==null&&(b=en(te));var re=s.getDerivedStateFromProps;te=typeof re=="function"||typeof m.getSnapshotBeforeUpdate=="function",E=r.pendingProps!==E,te||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(E||H!==b)&&Lv(r,m,u,b),vr=!1;var K=r.memoizedState;m.state=K,vo(r,u,m,d),yo(),H=r.memoizedState,E||K!==H||vr?(typeof re=="function"&&(ch(r,s,re,u),H=r.memoizedState),(j=vr||Nv(r,s,j,u,K,H,b))?(te||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(r.flags|=4194308)):(typeof m.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=H),m.props=u,m.state=H,m.context=b,u=j):(typeof m.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{m=r.stateNode,$d(n,r),b=r.memoizedProps,te=aa(s,b),m.props=te,re=r.pendingProps,K=m.context,H=s.contextType,j=$a,typeof H=="object"&&H!==null&&(j=en(H)),E=s.getDerivedStateFromProps,(H=typeof E=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(b!==re||K!==j)&&Lv(r,m,u,j),vr=!1,K=r.memoizedState,m.state=K,vo(r,u,m,d),yo();var W=r.memoizedState;b!==re||K!==W||vr||n!==null&&n.dependencies!==null&&du(n.dependencies)?(typeof E=="function"&&(ch(r,s,E,u),W=r.memoizedState),(te=vr||Nv(r,s,te,u,K,W,j)||n!==null&&n.dependencies!==null&&du(n.dependencies))?(H||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(u,W,j),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(u,W,j)),typeof m.componentDidUpdate=="function"&&(r.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof m.componentDidUpdate!="function"||b===n.memoizedProps&&K===n.memoizedState||(r.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&K===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=W),m.props=u,m.state=W,m.context=j,u=te):(typeof m.componentDidUpdate!="function"||b===n.memoizedProps&&K===n.memoizedState||(r.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&K===n.memoizedState||(r.flags|=1024),u=!1)}return m=u,_u(n,r),u=(r.flags&128)!==0,m||u?(m=r.stateNode,s=u&&typeof s.getDerivedStateFromError!="function"?null:m.render(),r.flags|=1,n!==null&&u?(r.child=ia(r,n.child,null,d),r.child=ia(r,null,s,d)):tn(n,r,s,d),r.memoizedState=m.state,n=r.child):n=Gi(n,r,d),n}function Yv(n,r,s,u){return Qr(),r.flags|=256,tn(n,r,s,u),r.child}var mh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function gh(n){return{baseLanes:n,cachePool:j0()}}function yh(n,r,s){return n=n!==null?n.childLanes&~s:0,r&&(n|=zn),n}function Xv(n,r,s){var u=r.pendingProps,d=!1,m=(r.flags&128)!==0,b;if((b=m)||(b=n!==null&&n.memoizedState===null?!1:(Dt.current&2)!==0),b&&(d=!0,r.flags&=-129),b=(r.flags&32)!==0,r.flags&=-33,n===null){if(Pe){if(d?xr(r):Cr(),(n=dt)?(n=i1(n,Yn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:pr!==null?{id:Si,overflow:xi}:null,retryLane:536870912,hydrationErrors:null},s=O0(n),s.return=r,r.child=s,Jt=r,dt=null)):n=null,n===null)throw gr(r);return Jh(n)?r.lanes=32:r.lanes=536870912,null}var E=u.children;return u=u.fallback,d?(Cr(),d=r.mode,E=Nu({mode:"hidden",children:E},d),u=Wr(u,d,s,null),E.return=r,u.return=r,E.sibling=u,r.child=E,u=r.child,u.memoizedState=gh(s),u.childLanes=yh(n,b,s),r.memoizedState=mh,To(null,u)):(xr(r),vh(r,E))}var j=n.memoizedState;if(j!==null&&(E=j.dehydrated,E!==null)){if(m)r.flags&256?(xr(r),r.flags&=-257,r=bh(n,r,s)):r.memoizedState!==null?(Cr(),r.child=n.child,r.flags|=128,r=null):(Cr(),E=u.fallback,d=r.mode,u=Nu({mode:"visible",children:u.children},d),E=Wr(E,d,s,null),E.flags|=2,u.return=r,E.return=r,u.sibling=E,r.child=u,ia(r,n.child,null,s),u=r.child,u.memoizedState=gh(s),u.childLanes=yh(n,b,s),r.memoizedState=mh,r=To(null,u));else if(xr(r),Jh(E)){if(b=E.nextSibling&&E.nextSibling.dataset,b)var H=b.dgst;b=H,u=Error(a(419)),u.stack="",u.digest=b,co({value:u,source:null,stack:null}),r=bh(n,r,s)}else if(jt||qa(n,r,s,!1),b=(s&n.childLanes)!==0,jt||b){if(b=ut,b!==null&&(u=ky(b,s),u!==0&&u!==j.retryLane))throw j.retryLane=u,Xr(n,u),Tn(b,n,u),hh;Zh(E)||$u(),r=bh(n,r,s)}else Zh(E)?(r.flags|=192,r.child=n.child,r=null):(n=j.treeContext,dt=Wn(E.nextSibling),Jt=r,Pe=!0,mr=null,Yn=!1,n!==null&&_0(r,n),r=vh(r,u.children),r.flags|=4096);return r}return d?(Cr(),E=u.fallback,d=r.mode,j=n.child,H=j.sibling,u=$i(j,{mode:"hidden",children:u.children}),u.subtreeFlags=j.subtreeFlags&65011712,H!==null?E=$i(H,E):(E=Wr(E,d,s,null),E.flags|=2),E.return=r,u.return=r,u.sibling=E,r.child=u,To(null,u),u=r.child,E=n.child.memoizedState,E===null?E=gh(s):(d=E.cachePool,d!==null?(j=kt._currentValue,d=d.parent!==j?{parent:j,pool:j}:d):d=j0(),E={baseLanes:E.baseLanes|s,cachePool:d}),u.memoizedState=E,u.childLanes=yh(n,b,s),r.memoizedState=mh,To(n.child,u)):(xr(r),s=n.child,n=s.sibling,s=$i(s,{mode:"visible",children:u.children}),s.return=r,s.sibling=null,n!==null&&(b=r.deletions,b===null?(r.deletions=[n],r.flags|=16):b.push(n)),r.child=s,r.memoizedState=null,s)}function vh(n,r){return r=Nu({mode:"visible",children:r},n.mode),r.return=n,n.child=r}function Nu(n,r){return n=Dn(22,n,null,r),n.lanes=0,n}function bh(n,r,s){return ia(r,n.child,null,s),n=vh(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Wv(n,r,s){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),zd(n.return,r,s)}function Sh(n,r,s,u,d,m){var b=n.memoizedState;b===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:d,treeForkCount:m}:(b.isBackwards=r,b.rendering=null,b.renderingStartTime=0,b.last=u,b.tail=s,b.tailMode=d,b.treeForkCount=m)}function Qv(n,r,s){var u=r.pendingProps,d=u.revealOrder,m=u.tail;u=u.children;var b=Dt.current,E=(b&2)!==0;if(E?(b=b&1|2,r.flags|=128):b&=1,se(Dt,b),tn(n,r,u,s),u=Pe?uo:0,!E&&n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Wv(n,s,r);else if(n.tag===19)Wv(n,s,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(d){case"forwards":for(s=r.child,d=null;s!==null;)n=s.alternate,n!==null&&Su(n)===null&&(d=s),s=s.sibling;s=d,s===null?(d=r.child,r.child=null):(d=s.sibling,s.sibling=null),Sh(r,!1,d,s,m,u);break;case"backwards":case"unstable_legacy-backwards":for(s=null,d=r.child,r.child=null;d!==null;){if(n=d.alternate,n!==null&&Su(n)===null){r.child=d;break}n=d.sibling,d.sibling=s,s=d,d=n}Sh(r,!0,s,null,m,u);break;case"together":Sh(r,!1,null,null,void 0,u);break;default:r.memoizedState=null}return r.child}function Gi(n,r,s){if(n!==null&&(r.dependencies=n.dependencies),Er|=r.lanes,(s&r.childLanes)===0)if(n!==null){if(qa(n,r,s,!1),(s&r.childLanes)===0)return null}else return null;if(n!==null&&r.child!==n.child)throw Error(a(153));if(r.child!==null){for(n=r.child,s=$i(n,n.pendingProps),r.child=s,s.return=r;n.sibling!==null;)n=n.sibling,s=s.sibling=$i(n,n.pendingProps),s.return=r;s.sibling=null}return r.child}function xh(n,r){return(n.lanes&r)!==0?!0:(n=n.dependencies,!!(n!==null&&du(n)))}function ZA(n,r,s){switch(r.tag){case 3:Ue(r,r.stateNode.containerInfo),yr(r,kt,n.memoizedState.cache),Qr();break;case 27:case 5:xe(r);break;case 4:Ue(r,r.stateNode.containerInfo);break;case 10:yr(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,Kd(r),null;break;case 13:var u=r.memoizedState;if(u!==null)return u.dehydrated!==null?(xr(r),r.flags|=128,null):(s&r.child.childLanes)!==0?Xv(n,r,s):(xr(r),n=Gi(n,r,s),n!==null?n.sibling:null);xr(r);break;case 19:var d=(n.flags&128)!==0;if(u=(s&r.childLanes)!==0,u||(qa(n,r,s,!1),u=(s&r.childLanes)!==0),d){if(u)return Qv(n,r,s);r.flags|=128}if(d=r.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),se(Dt,Dt.current),u)break;return null;case 22:return r.lanes=0,Iv(n,r,s,r.pendingProps);case 24:yr(r,kt,n.memoizedState.cache)}return Gi(n,r,s)}function Zv(n,r,s){if(n!==null)if(n.memoizedProps!==r.pendingProps)jt=!0;else{if(!xh(n,s)&&(r.flags&128)===0)return jt=!1,ZA(n,r,s);jt=(n.flags&131072)!==0}else jt=!1,Pe&&(r.flags&1048576)!==0&&D0(r,uo,r.index);switch(r.lanes=0,r.tag){case 16:e:{var u=r.pendingProps;if(n=ta(r.elementType),r.type=n,typeof n=="function")Ad(n)?(u=aa(n,u),r.tag=1,r=Gv(null,r,n,u,s)):(r.tag=0,r=ph(null,r,n,u,s));else{if(n!=null){var d=n.$$typeof;if(d===w){r.tag=11,r=Vv(null,r,n,u,s);break e}else if(d===P){r.tag=14,r=$v(null,r,n,u,s);break e}}throw r=F(n)||n,Error(a(306,r,""))}}return r;case 0:return ph(n,r,r.type,r.pendingProps,s);case 1:return u=r.type,d=aa(u,r.pendingProps),Gv(n,r,u,d,s);case 3:e:{if(Ue(r,r.stateNode.containerInfo),n===null)throw Error(a(387));u=r.pendingProps;var m=r.memoizedState;d=m.element,$d(n,r),vo(r,u,null,s);var b=r.memoizedState;if(u=b.cache,yr(r,kt,u),u!==m.cache&&kd(r,[kt],s,!0),yo(),u=b.element,m.isDehydrated)if(m={element:u,isDehydrated:!1,cache:b.cache},r.updateQueue.baseState=m,r.memoizedState=m,r.flags&256){r=Yv(n,r,u,s);break e}else if(u!==d){d=qn(Error(a(424)),r),co(d),r=Yv(n,r,u,s);break e}else{switch(n=r.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(dt=Wn(n.firstChild),Jt=r,Pe=!0,mr=null,Yn=!0,s=I0(r,null,u,s),r.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(Qr(),u===d){r=Gi(n,r,s);break e}tn(n,r,u,s)}r=r.child}return r;case 26:return _u(n,r),n===null?(s=u1(r.type,null,r.pendingProps,null))?r.memoizedState=s:Pe||(s=r.type,n=r.pendingProps,u=Yu(he.current).createElement(s),u[Zt]=r,u[yn]=n,nn(u,s,n),Yt(u),r.stateNode=u):r.memoizedState=u1(r.type,n.memoizedProps,r.pendingProps,n.memoizedState),null;case 27:return xe(r),n===null&&Pe&&(u=r.stateNode=s1(r.type,r.pendingProps,he.current),Jt=r,Yn=!0,d=dt,Dr(r.type)?(ep=d,dt=Wn(u.firstChild)):dt=d),tn(n,r,r.pendingProps.children,s),_u(n,r),n===null&&(r.flags|=4194304),r.child;case 5:return n===null&&Pe&&((d=u=dt)&&(u=OR(u,r.type,r.pendingProps,Yn),u!==null?(r.stateNode=u,Jt=r,dt=Wn(u.firstChild),Yn=!1,d=!0):d=!1),d||gr(r)),xe(r),d=r.type,m=r.pendingProps,b=n!==null?n.memoizedProps:null,u=m.children,Xh(d,m)?u=null:b!==null&&Xh(d,b)&&(r.flags|=32),r.memoizedState!==null&&(d=Yd(n,r,IA,null,null,s),Bo._currentValue=d),_u(n,r),tn(n,r,u,s),r.child;case 6:return n===null&&Pe&&((n=s=dt)&&(s=MR(s,r.pendingProps,Yn),s!==null?(r.stateNode=s,Jt=r,dt=null,n=!0):n=!1),n||gr(r)),null;case 13:return Xv(n,r,s);case 4:return Ue(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=ia(r,null,u,s):tn(n,r,u,s),r.child;case 11:return Vv(n,r,r.type,r.pendingProps,s);case 7:return tn(n,r,r.pendingProps,s),r.child;case 8:return tn(n,r,r.pendingProps.children,s),r.child;case 12:return tn(n,r,r.pendingProps.children,s),r.child;case 10:return u=r.pendingProps,yr(r,r.type,u.value),tn(n,r,u.children,s),r.child;case 9:return d=r.type._context,u=r.pendingProps.children,Jr(r),d=en(d),u=u(d),r.flags|=1,tn(n,r,u,s),r.child;case 14:return $v(n,r,r.type,r.pendingProps,s);case 15:return Hv(n,r,r.type,r.pendingProps,s);case 19:return Qv(n,r,s);case 31:return QA(n,r,s);case 22:return Iv(n,r,s,r.pendingProps);case 24:return Jr(r),u=en(kt),n===null?(d=Bd(),d===null&&(d=ut,m=Pd(),d.pooledCache=m,m.refCount++,m!==null&&(d.pooledCacheLanes|=s),d=m),r.memoizedState={parent:u,cache:d},Vd(r),yr(r,kt,d)):((n.lanes&s)!==0&&($d(n,r),vo(r,null,null,s),yo()),d=n.memoizedState,m=r.memoizedState,d.parent!==u?(d={parent:u,cache:u},r.memoizedState=d,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=d),yr(r,kt,u)):(u=m.cache,yr(r,kt,u),u!==d.cache&&kd(r,[kt],s,!0))),tn(n,r,r.pendingProps.children,s),r.child;case 29:throw r.pendingProps}throw Error(a(156,r.tag))}function Yi(n){n.flags|=4}function Ch(n,r,s,u,d){if((r=(n.mode&32)!==0)&&(r=!1),r){if(n.flags|=16777216,(d&335544128)===d)if(n.stateNode.complete)n.flags|=8192;else if(Eb())n.flags|=8192;else throw na=gu,Ud}else n.flags&=-16777217}function Jv(n,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!p1(r))if(Eb())n.flags|=8192;else throw na=gu,Ud}function Lu(n,r){r!==null&&(n.flags|=4),n.flags&16384&&(r=n.tag!==22?Ny():536870912,n.lanes|=r,is|=r)}function wo(n,r){if(!Pe)switch(n.tailMode){case"hidden":r=n.tail;for(var s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function ht(n){var r=n.alternate!==null&&n.alternate.child===n.child,s=0,u=0;if(r)for(var d=n.child;d!==null;)s|=d.lanes|d.childLanes,u|=d.subtreeFlags&65011712,u|=d.flags&65011712,d.return=n,d=d.sibling;else for(d=n.child;d!==null;)s|=d.lanes|d.childLanes,u|=d.subtreeFlags,u|=d.flags,d.return=n,d=d.sibling;return n.subtreeFlags|=u,n.childLanes=s,r}function JA(n,r,s){var u=r.pendingProps;switch(Dd(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(r),null;case 1:return ht(r),null;case 3:return s=r.stateNode,u=null,n!==null&&(u=n.memoizedState.cache),r.memoizedState.cache!==u&&(r.flags|=2048),Fi(kt),Se(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(n===null||n.child===null)&&(Fa(r)?Yi(r):n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Nd())),ht(r),null;case 26:var d=r.type,m=r.memoizedState;return n===null?(Yi(r),m!==null?(ht(r),Jv(r,m)):(ht(r),Ch(r,d,null,u,s))):m?m!==n.memoizedState?(Yi(r),ht(r),Jv(r,m)):(ht(r),r.flags&=-16777217):(n=n.memoizedProps,n!==u&&Yi(r),ht(r),Ch(r,d,n,u,s)),null;case 27:if(De(r),s=he.current,d=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==u&&Yi(r);else{if(!u){if(r.stateNode===null)throw Error(a(166));return ht(r),null}n=oe.current,Fa(r)?N0(r):(n=s1(d,u,s),r.stateNode=n,Yi(r))}return ht(r),null;case 5:if(De(r),d=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==u&&Yi(r);else{if(!u){if(r.stateNode===null)throw Error(a(166));return ht(r),null}if(m=oe.current,Fa(r))N0(r);else{var b=Yu(he.current);switch(m){case 1:m=b.createElementNS("http://www.w3.org/2000/svg",d);break;case 2:m=b.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;default:switch(d){case"svg":m=b.createElementNS("http://www.w3.org/2000/svg",d);break;case"math":m=b.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;case"script":m=b.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof u.is=="string"?b.createElement("select",{is:u.is}):b.createElement("select"),u.multiple?m.multiple=!0:u.size&&(m.size=u.size);break;default:m=typeof u.is=="string"?b.createElement(d,{is:u.is}):b.createElement(d)}}m[Zt]=r,m[yn]=u;e:for(b=r.child;b!==null;){if(b.tag===5||b.tag===6)m.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===r)break e;for(;b.sibling===null;){if(b.return===null||b.return===r)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}r.stateNode=m;e:switch(nn(m,d,u),d){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&Yi(r)}}return ht(r),Ch(r,r.type,n===null?null:n.memoizedProps,r.pendingProps,s),null;case 6:if(n&&r.stateNode!=null)n.memoizedProps!==u&&Yi(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(a(166));if(n=he.current,Fa(r)){if(n=r.stateNode,s=r.memoizedProps,u=null,d=Jt,d!==null)switch(d.tag){case 27:case 5:u=d.memoizedProps}n[Zt]=r,n=!!(n.nodeValue===s||u!==null&&u.suppressHydrationWarning===!0||Xb(n.nodeValue,s)),n||gr(r,!0)}else n=Yu(n).createTextNode(u),n[Zt]=r,r.stateNode=n}return ht(r),null;case 31:if(s=r.memoizedState,n===null||n.memoizedState!==null){if(u=Fa(r),s!==null){if(n===null){if(!u)throw Error(a(318));if(n=r.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(a(557));n[Zt]=r}else Qr(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;ht(r),n=!1}else s=Nd(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=s),n=!0;if(!n)return r.flags&256?(Nn(r),r):(Nn(r),null);if((r.flags&128)!==0)throw Error(a(558))}return ht(r),null;case 13:if(u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(d=Fa(r),u!==null&&u.dehydrated!==null){if(n===null){if(!d)throw Error(a(318));if(d=r.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(a(317));d[Zt]=r}else Qr(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;ht(r),d=!1}else d=Nd(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=d),d=!0;if(!d)return r.flags&256?(Nn(r),r):(Nn(r),null)}return Nn(r),(r.flags&128)!==0?(r.lanes=s,r):(s=u!==null,n=n!==null&&n.memoizedState!==null,s&&(u=r.child,d=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(d=u.alternate.memoizedState.cachePool.pool),m=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(m=u.memoizedState.cachePool.pool),m!==d&&(u.flags|=2048)),s!==n&&s&&(r.child.flags|=8192),Lu(r,r.updateQueue),ht(r),null);case 4:return Se(),n===null&&Fh(r.stateNode.containerInfo),ht(r),null;case 10:return Fi(r.type),ht(r),null;case 19:if(q(Dt),u=r.memoizedState,u===null)return ht(r),null;if(d=(r.flags&128)!==0,m=u.rendering,m===null)if(d)wo(u,!1);else{if(wt!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(m=Su(n),m!==null){for(r.flags|=128,wo(u,!1),n=m.updateQueue,r.updateQueue=n,Lu(r,n),r.subtreeFlags=0,n=s,s=r.child;s!==null;)R0(s,n),s=s.sibling;return se(Dt,Dt.current&1|2),Pe&&Hi(r,u.treeForkCount),r.child}n=n.sibling}u.tail!==null&&Le()>Bu&&(r.flags|=128,d=!0,wo(u,!1),r.lanes=4194304)}else{if(!d)if(n=Su(m),n!==null){if(r.flags|=128,d=!0,n=n.updateQueue,r.updateQueue=n,Lu(r,n),wo(u,!0),u.tail===null&&u.tailMode==="hidden"&&!m.alternate&&!Pe)return ht(r),null}else 2*Le()-u.renderingStartTime>Bu&&s!==536870912&&(r.flags|=128,d=!0,wo(u,!1),r.lanes=4194304);u.isBackwards?(m.sibling=r.child,r.child=m):(n=u.last,n!==null?n.sibling=m:r.child=m,u.last=m)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=Le(),n.sibling=null,s=Dt.current,se(Dt,d?s&1|2:s&1),Pe&&Hi(r,u.treeForkCount),n):(ht(r),null);case 22:case 23:return Nn(r),qd(),u=r.memoizedState!==null,n!==null?n.memoizedState!==null!==u&&(r.flags|=8192):u&&(r.flags|=8192),u?(s&536870912)!==0&&(r.flags&128)===0&&(ht(r),r.subtreeFlags&6&&(r.flags|=8192)):ht(r),s=r.updateQueue,s!==null&&Lu(r,s.retryQueue),s=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==s&&(r.flags|=2048),n!==null&&q(ea),null;case 24:return s=null,n!==null&&(s=n.memoizedState.cache),r.memoizedState.cache!==s&&(r.flags|=2048),Fi(kt),ht(r),null;case 25:return null;case 30:return null}throw Error(a(156,r.tag))}function eR(n,r){switch(Dd(r),r.tag){case 1:return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return Fi(kt),Se(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 26:case 27:case 5:return De(r),null;case 31:if(r.memoizedState!==null){if(Nn(r),r.alternate===null)throw Error(a(340));Qr()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 13:if(Nn(r),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(a(340));Qr()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return q(Dt),null;case 4:return Se(),null;case 10:return Fi(r.type),null;case 22:case 23:return Nn(r),qd(),n!==null&&q(ea),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 24:return Fi(kt),null;case 25:return null;default:return null}}function eb(n,r){switch(Dd(r),r.tag){case 3:Fi(kt),Se();break;case 26:case 27:case 5:De(r);break;case 4:Se();break;case 31:r.memoizedState!==null&&Nn(r);break;case 13:Nn(r);break;case 19:q(Dt);break;case 10:Fi(r.type);break;case 22:case 23:Nn(r),qd(),n!==null&&q(ea);break;case 24:Fi(kt)}}function Eo(n,r){try{var s=r.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var d=u.next;s=d;do{if((s.tag&n)===n){u=void 0;var m=s.create,b=s.inst;u=m(),b.destroy=u}s=s.next}while(s!==d)}}catch(E){Je(r,r.return,E)}}function Tr(n,r,s){try{var u=r.updateQueue,d=u!==null?u.lastEffect:null;if(d!==null){var m=d.next;u=m;do{if((u.tag&n)===n){var b=u.inst,E=b.destroy;if(E!==void 0){b.destroy=void 0,d=r;var j=s,H=E;try{H()}catch(te){Je(d,j,te)}}}u=u.next}while(u!==m)}}catch(te){Je(r,r.return,te)}}function tb(n){var r=n.updateQueue;if(r!==null){var s=n.stateNode;try{q0(r,s)}catch(u){Je(n,n.return,u)}}}function nb(n,r,s){s.props=aa(n.type,n.memoizedProps),s.state=n.memoizedState;try{s.componentWillUnmount()}catch(u){Je(n,r,u)}}function Ao(n,r){try{var s=n.ref;if(s!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}typeof s=="function"?n.refCleanup=s(u):s.current=u}}catch(d){Je(n,r,d)}}function Ci(n,r){var s=n.ref,u=n.refCleanup;if(s!==null)if(typeof u=="function")try{u()}catch(d){Je(n,r,d)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(d){Je(n,r,d)}else s.current=null}function ib(n){var r=n.type,s=n.memoizedProps,u=n.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":s.autoFocus&&u.focus();break e;case"img":s.src?u.src=s.src:s.srcSet&&(u.srcset=s.srcSet)}}catch(d){Je(n,n.return,d)}}function Th(n,r,s){try{var u=n.stateNode;CR(u,n.type,s,r),u[yn]=r}catch(d){Je(n,n.return,d)}}function rb(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Dr(n.type)||n.tag===4}function wh(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||rb(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Dr(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Eh(n,r,s){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(n,r):(r=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,r.appendChild(n),s=s._reactRootContainer,s!=null||r.onclick!==null||(r.onclick=Ui));else if(u!==4&&(u===27&&Dr(n.type)&&(s=n.stateNode,r=null),n=n.child,n!==null))for(Eh(n,r,s),n=n.sibling;n!==null;)Eh(n,r,s),n=n.sibling}function zu(n,r,s){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?s.insertBefore(n,r):s.appendChild(n);else if(u!==4&&(u===27&&Dr(n.type)&&(s=n.stateNode),n=n.child,n!==null))for(zu(n,r,s),n=n.sibling;n!==null;)zu(n,r,s),n=n.sibling}function ab(n){var r=n.stateNode,s=n.memoizedProps;try{for(var u=n.type,d=r.attributes;d.length;)r.removeAttributeNode(d[0]);nn(r,u,s),r[Zt]=n,r[yn]=s}catch(m){Je(n,n.return,m)}}var Xi=!1,Bt=!1,Ah=!1,sb=typeof WeakSet=="function"?WeakSet:Set,Xt=null;function tR(n,r){if(n=n.containerInfo,Gh=tc,n=v0(n),bd(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var u=s.getSelection&&s.getSelection();if(u&&u.rangeCount!==0){s=u.anchorNode;var d=u.anchorOffset,m=u.focusNode;u=u.focusOffset;try{s.nodeType,m.nodeType}catch{s=null;break e}var b=0,E=-1,j=-1,H=0,te=0,re=n,K=null;t:for(;;){for(var W;re!==s||d!==0&&re.nodeType!==3||(E=b+d),re!==m||u!==0&&re.nodeType!==3||(j=b+u),re.nodeType===3&&(b+=re.nodeValue.length),(W=re.firstChild)!==null;)K=re,re=W;for(;;){if(re===n)break t;if(K===s&&++H===d&&(E=b),K===m&&++te===u&&(j=b),(W=re.nextSibling)!==null)break;re=K,K=re.parentNode}re=W}s=E===-1||j===-1?null:{start:E,end:j}}else s=null}s=s||{start:0,end:0}}else s=null;for(Yh={focusedElem:n,selectionRange:s},tc=!1,Xt=r;Xt!==null;)if(r=Xt,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Xt=n;else for(;Xt!==null;){switch(r=Xt,m=r.alternate,n=r.flags,r.tag){case 0:if((n&4)!==0&&(n=r.updateQueue,n=n!==null?n.events:null,n!==null))for(s=0;s<n.length;s++)d=n[s],d.ref.impl=d.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&m!==null){n=void 0,s=r,d=m.memoizedProps,m=m.memoizedState,u=s.stateNode;try{var ce=aa(s.type,d);n=u.getSnapshotBeforeUpdate(ce,m),u.__reactInternalSnapshotBeforeUpdate=n}catch(be){Je(s,s.return,be)}}break;case 3:if((n&1024)!==0){if(n=r.stateNode.containerInfo,s=n.nodeType,s===9)Qh(n);else if(s===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Qh(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(a(163))}if(n=r.sibling,n!==null){n.return=r.return,Xt=n;break}Xt=r.return}}function ob(n,r,s){var u=s.flags;switch(s.tag){case 0:case 11:case 15:Qi(n,s),u&4&&Eo(5,s);break;case 1:if(Qi(n,s),u&4)if(n=s.stateNode,r===null)try{n.componentDidMount()}catch(b){Je(s,s.return,b)}else{var d=aa(s.type,r.memoizedProps);r=r.memoizedState;try{n.componentDidUpdate(d,r,n.__reactInternalSnapshotBeforeUpdate)}catch(b){Je(s,s.return,b)}}u&64&&tb(s),u&512&&Ao(s,s.return);break;case 3:if(Qi(n,s),u&64&&(n=s.updateQueue,n!==null)){if(r=null,s.child!==null)switch(s.child.tag){case 27:case 5:r=s.child.stateNode;break;case 1:r=s.child.stateNode}try{q0(n,r)}catch(b){Je(s,s.return,b)}}break;case 27:r===null&&u&4&&ab(s);case 26:case 5:Qi(n,s),r===null&&u&4&&ib(s),u&512&&Ao(s,s.return);break;case 12:Qi(n,s);break;case 31:Qi(n,s),u&4&&cb(n,s);break;case 13:Qi(n,s),u&4&&fb(n,s),u&64&&(n=s.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(s=cR.bind(null,s),DR(n,s))));break;case 22:if(u=s.memoizedState!==null||Xi,!u){r=r!==null&&r.memoizedState!==null||Bt,d=Xi;var m=Bt;Xi=u,(Bt=r)&&!m?Zi(n,s,(s.subtreeFlags&8772)!==0):Qi(n,s),Xi=d,Bt=m}break;case 30:break;default:Qi(n,s)}}function lb(n){var r=n.alternate;r!==null&&(n.alternate=null,lb(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&nd(r)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var gt=null,bn=!1;function Wi(n,r,s){for(s=s.child;s!==null;)ub(n,r,s),s=s.sibling}function ub(n,r,s){if(Qt&&typeof Qt.onCommitFiberUnmount=="function")try{Qt.onCommitFiberUnmount($n,s)}catch{}switch(s.tag){case 26:Bt||Ci(s,r),Wi(n,r,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:Bt||Ci(s,r);var u=gt,d=bn;Dr(s.type)&&(gt=s.stateNode,bn=!1),Wi(n,r,s),ko(s.stateNode),gt=u,bn=d;break;case 5:Bt||Ci(s,r);case 6:if(u=gt,d=bn,gt=null,Wi(n,r,s),gt=u,bn=d,gt!==null)if(bn)try{(gt.nodeType===9?gt.body:gt.nodeName==="HTML"?gt.ownerDocument.body:gt).removeChild(s.stateNode)}catch(m){Je(s,r,m)}else try{gt.removeChild(s.stateNode)}catch(m){Je(s,r,m)}break;case 18:gt!==null&&(bn?(n=gt,t1(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,s.stateNode),fs(n)):t1(gt,s.stateNode));break;case 4:u=gt,d=bn,gt=s.stateNode.containerInfo,bn=!0,Wi(n,r,s),gt=u,bn=d;break;case 0:case 11:case 14:case 15:Tr(2,s,r),Bt||Tr(4,s,r),Wi(n,r,s);break;case 1:Bt||(Ci(s,r),u=s.stateNode,typeof u.componentWillUnmount=="function"&&nb(s,r,u)),Wi(n,r,s);break;case 21:Wi(n,r,s);break;case 22:Bt=(u=Bt)||s.memoizedState!==null,Wi(n,r,s),Bt=u;break;default:Wi(n,r,s)}}function cb(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{fs(n)}catch(s){Je(r,r.return,s)}}}function fb(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{fs(n)}catch(s){Je(r,r.return,s)}}function nR(n){switch(n.tag){case 31:case 13:case 19:var r=n.stateNode;return r===null&&(r=n.stateNode=new sb),r;case 22:return n=n.stateNode,r=n._retryCache,r===null&&(r=n._retryCache=new sb),r;default:throw Error(a(435,n.tag))}}function ku(n,r){var s=nR(n);r.forEach(function(u){if(!s.has(u)){s.add(u);var d=fR.bind(null,n,u);u.then(d,d)}})}function Sn(n,r){var s=r.deletions;if(s!==null)for(var u=0;u<s.length;u++){var d=s[u],m=n,b=r,E=b;e:for(;E!==null;){switch(E.tag){case 27:if(Dr(E.type)){gt=E.stateNode,bn=!1;break e}break;case 5:gt=E.stateNode,bn=!1;break e;case 3:case 4:gt=E.stateNode.containerInfo,bn=!0;break e}E=E.return}if(gt===null)throw Error(a(160));ub(m,b,d),gt=null,bn=!1,m=d.alternate,m!==null&&(m.return=null),d.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)db(r,n),r=r.sibling}var ui=null;function db(n,r){var s=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Sn(r,n),xn(n),u&4&&(Tr(3,n,n.return),Eo(3,n),Tr(5,n,n.return));break;case 1:Sn(r,n),xn(n),u&512&&(Bt||s===null||Ci(s,s.return)),u&64&&Xi&&(n=n.updateQueue,n!==null&&(u=n.callbacks,u!==null&&(s=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=s===null?u:s.concat(u))));break;case 26:var d=ui;if(Sn(r,n),xn(n),u&512&&(Bt||s===null||Ci(s,s.return)),u&4){var m=s!==null?s.memoizedState:null;if(u=n.memoizedState,s===null)if(u===null)if(n.stateNode===null){e:{u=n.type,s=n.memoizedProps,d=d.ownerDocument||d;t:switch(u){case"title":m=d.getElementsByTagName("title")[0],(!m||m[Zs]||m[Zt]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=d.createElement(u),d.head.insertBefore(m,d.querySelector("head > title"))),nn(m,u,s),m[Zt]=n,Yt(m),u=m;break e;case"link":var b=d1("link","href",d).get(u+(s.href||""));if(b){for(var E=0;E<b.length;E++)if(m=b[E],m.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&m.getAttribute("rel")===(s.rel==null?null:s.rel)&&m.getAttribute("title")===(s.title==null?null:s.title)&&m.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){b.splice(E,1);break t}}m=d.createElement(u),nn(m,u,s),d.head.appendChild(m);break;case"meta":if(b=d1("meta","content",d).get(u+(s.content||""))){for(E=0;E<b.length;E++)if(m=b[E],m.getAttribute("content")===(s.content==null?null:""+s.content)&&m.getAttribute("name")===(s.name==null?null:s.name)&&m.getAttribute("property")===(s.property==null?null:s.property)&&m.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&m.getAttribute("charset")===(s.charSet==null?null:s.charSet)){b.splice(E,1);break t}}m=d.createElement(u),nn(m,u,s),d.head.appendChild(m);break;default:throw Error(a(468,u))}m[Zt]=n,Yt(m),u=m}n.stateNode=u}else h1(d,n.type,n.stateNode);else n.stateNode=f1(d,u,n.memoizedProps);else m!==u?(m===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):m.count--,u===null?h1(d,n.type,n.stateNode):f1(d,u,n.memoizedProps)):u===null&&n.stateNode!==null&&Th(n,n.memoizedProps,s.memoizedProps)}break;case 27:Sn(r,n),xn(n),u&512&&(Bt||s===null||Ci(s,s.return)),s!==null&&u&4&&Th(n,n.memoizedProps,s.memoizedProps);break;case 5:if(Sn(r,n),xn(n),u&512&&(Bt||s===null||Ci(s,s.return)),n.flags&32){d=n.stateNode;try{za(d,"")}catch(ce){Je(n,n.return,ce)}}u&4&&n.stateNode!=null&&(d=n.memoizedProps,Th(n,d,s!==null?s.memoizedProps:d)),u&1024&&(Ah=!0);break;case 6:if(Sn(r,n),xn(n),u&4){if(n.stateNode===null)throw Error(a(162));u=n.memoizedProps,s=n.stateNode;try{s.nodeValue=u}catch(ce){Je(n,n.return,ce)}}break;case 3:if(Qu=null,d=ui,ui=Xu(r.containerInfo),Sn(r,n),ui=d,xn(n),u&4&&s!==null&&s.memoizedState.isDehydrated)try{fs(r.containerInfo)}catch(ce){Je(n,n.return,ce)}Ah&&(Ah=!1,hb(n));break;case 4:u=ui,ui=Xu(n.stateNode.containerInfo),Sn(r,n),xn(n),ui=u;break;case 12:Sn(r,n),xn(n);break;case 31:Sn(r,n),xn(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,ku(n,u)));break;case 13:Sn(r,n),xn(n),n.child.flags&8192&&n.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(ju=Le()),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,ku(n,u)));break;case 22:d=n.memoizedState!==null;var j=s!==null&&s.memoizedState!==null,H=Xi,te=Bt;if(Xi=H||d,Bt=te||j,Sn(r,n),Bt=te,Xi=H,xn(n),u&8192)e:for(r=n.stateNode,r._visibility=d?r._visibility&-2:r._visibility|1,d&&(s===null||j||Xi||Bt||sa(n)),s=null,r=n;;){if(r.tag===5||r.tag===26){if(s===null){j=s=r;try{if(m=j.stateNode,d)b=m.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{E=j.stateNode;var re=j.memoizedProps.style,K=re!=null&&re.hasOwnProperty("display")?re.display:null;E.style.display=K==null||typeof K=="boolean"?"":(""+K).trim()}}catch(ce){Je(j,j.return,ce)}}}else if(r.tag===6){if(s===null){j=r;try{j.stateNode.nodeValue=d?"":j.memoizedProps}catch(ce){Je(j,j.return,ce)}}}else if(r.tag===18){if(s===null){j=r;try{var W=j.stateNode;d?n1(W,!0):n1(j.stateNode,!1)}catch(ce){Je(j,j.return,ce)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===n)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;s===r&&(s=null),r=r.return}s===r&&(s=null),r.sibling.return=r.return,r=r.sibling}u&4&&(u=n.updateQueue,u!==null&&(s=u.retryQueue,s!==null&&(u.retryQueue=null,ku(n,s))));break;case 19:Sn(r,n),xn(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,ku(n,u)));break;case 30:break;case 21:break;default:Sn(r,n),xn(n)}}function xn(n){var r=n.flags;if(r&2){try{for(var s,u=n.return;u!==null;){if(rb(u)){s=u;break}u=u.return}if(s==null)throw Error(a(160));switch(s.tag){case 27:var d=s.stateNode,m=wh(n);zu(n,m,d);break;case 5:var b=s.stateNode;s.flags&32&&(za(b,""),s.flags&=-33);var E=wh(n);zu(n,E,b);break;case 3:case 4:var j=s.stateNode.containerInfo,H=wh(n);Eh(n,H,j);break;default:throw Error(a(161))}}catch(te){Je(n,n.return,te)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function hb(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var r=n;hb(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),n=n.sibling}}function Qi(n,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)ob(n,r.alternate,r),r=r.sibling}function sa(n){for(n=n.child;n!==null;){var r=n;switch(r.tag){case 0:case 11:case 14:case 15:Tr(4,r,r.return),sa(r);break;case 1:Ci(r,r.return);var s=r.stateNode;typeof s.componentWillUnmount=="function"&&nb(r,r.return,s),sa(r);break;case 27:ko(r.stateNode);case 26:case 5:Ci(r,r.return),sa(r);break;case 22:r.memoizedState===null&&sa(r);break;case 30:sa(r);break;default:sa(r)}n=n.sibling}}function Zi(n,r,s){for(s=s&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var u=r.alternate,d=n,m=r,b=m.flags;switch(m.tag){case 0:case 11:case 15:Zi(d,m,s),Eo(4,m);break;case 1:if(Zi(d,m,s),u=m,d=u.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(H){Je(u,u.return,H)}if(u=m,d=u.updateQueue,d!==null){var E=u.stateNode;try{var j=d.shared.hiddenCallbacks;if(j!==null)for(d.shared.hiddenCallbacks=null,d=0;d<j.length;d++)F0(j[d],E)}catch(H){Je(u,u.return,H)}}s&&b&64&&tb(m),Ao(m,m.return);break;case 27:ab(m);case 26:case 5:Zi(d,m,s),s&&u===null&&b&4&&ib(m),Ao(m,m.return);break;case 12:Zi(d,m,s);break;case 31:Zi(d,m,s),s&&b&4&&cb(d,m);break;case 13:Zi(d,m,s),s&&b&4&&fb(d,m);break;case 22:m.memoizedState===null&&Zi(d,m,s),Ao(m,m.return);break;case 30:break;default:Zi(d,m,s)}r=r.sibling}}function Rh(n,r){var s=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),n=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(n=r.memoizedState.cachePool.pool),n!==s&&(n!=null&&n.refCount++,s!=null&&fo(s))}function Oh(n,r){n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&fo(n))}function ci(n,r,s,u){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)pb(n,r,s,u),r=r.sibling}function pb(n,r,s,u){var d=r.flags;switch(r.tag){case 0:case 11:case 15:ci(n,r,s,u),d&2048&&Eo(9,r);break;case 1:ci(n,r,s,u);break;case 3:ci(n,r,s,u),d&2048&&(n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&fo(n)));break;case 12:if(d&2048){ci(n,r,s,u),n=r.stateNode;try{var m=r.memoizedProps,b=m.id,E=m.onPostCommit;typeof E=="function"&&E(b,r.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(j){Je(r,r.return,j)}}else ci(n,r,s,u);break;case 31:ci(n,r,s,u);break;case 13:ci(n,r,s,u);break;case 23:break;case 22:m=r.stateNode,b=r.alternate,r.memoizedState!==null?m._visibility&2?ci(n,r,s,u):Ro(n,r):m._visibility&2?ci(n,r,s,u):(m._visibility|=2,es(n,r,s,u,(r.subtreeFlags&10256)!==0||!1)),d&2048&&Rh(b,r);break;case 24:ci(n,r,s,u),d&2048&&Oh(r.alternate,r);break;default:ci(n,r,s,u)}}function es(n,r,s,u,d){for(d=d&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var m=n,b=r,E=s,j=u,H=b.flags;switch(b.tag){case 0:case 11:case 15:es(m,b,E,j,d),Eo(8,b);break;case 23:break;case 22:var te=b.stateNode;b.memoizedState!==null?te._visibility&2?es(m,b,E,j,d):Ro(m,b):(te._visibility|=2,es(m,b,E,j,d)),d&&H&2048&&Rh(b.alternate,b);break;case 24:es(m,b,E,j,d),d&&H&2048&&Oh(b.alternate,b);break;default:es(m,b,E,j,d)}r=r.sibling}}function Ro(n,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var s=n,u=r,d=u.flags;switch(u.tag){case 22:Ro(s,u),d&2048&&Rh(u.alternate,u);break;case 24:Ro(s,u),d&2048&&Oh(u.alternate,u);break;default:Ro(s,u)}r=r.sibling}}var Oo=8192;function ts(n,r,s){if(n.subtreeFlags&Oo)for(n=n.child;n!==null;)mb(n,r,s),n=n.sibling}function mb(n,r,s){switch(n.tag){case 26:ts(n,r,s),n.flags&Oo&&n.memoizedState!==null&&HR(s,ui,n.memoizedState,n.memoizedProps);break;case 5:ts(n,r,s);break;case 3:case 4:var u=ui;ui=Xu(n.stateNode.containerInfo),ts(n,r,s),ui=u;break;case 22:n.memoizedState===null&&(u=n.alternate,u!==null&&u.memoizedState!==null?(u=Oo,Oo=16777216,ts(n,r,s),Oo=u):ts(n,r,s));break;default:ts(n,r,s)}}function gb(n){var r=n.alternate;if(r!==null&&(n=r.child,n!==null)){r.child=null;do r=n.sibling,n.sibling=null,n=r;while(n!==null)}}function Mo(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var s=0;s<r.length;s++){var u=r[s];Xt=u,vb(u,n)}gb(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)yb(n),n=n.sibling}function yb(n){switch(n.tag){case 0:case 11:case 15:Mo(n),n.flags&2048&&Tr(9,n,n.return);break;case 3:Mo(n);break;case 12:Mo(n);break;case 22:var r=n.stateNode;n.memoizedState!==null&&r._visibility&2&&(n.return===null||n.return.tag!==13)?(r._visibility&=-3,Pu(n)):Mo(n);break;default:Mo(n)}}function Pu(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var s=0;s<r.length;s++){var u=r[s];Xt=u,vb(u,n)}gb(n)}for(n=n.child;n!==null;){switch(r=n,r.tag){case 0:case 11:case 15:Tr(8,r,r.return),Pu(r);break;case 22:s=r.stateNode,s._visibility&2&&(s._visibility&=-3,Pu(r));break;default:Pu(r)}n=n.sibling}}function vb(n,r){for(;Xt!==null;){var s=Xt;switch(s.tag){case 0:case 11:case 15:Tr(8,s,r);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var u=s.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:fo(s.memoizedState.cache)}if(u=s.child,u!==null)u.return=s,Xt=u;else e:for(s=n;Xt!==null;){u=Xt;var d=u.sibling,m=u.return;if(lb(u),u===s){Xt=null;break e}if(d!==null){d.return=m,Xt=d;break e}Xt=m}}}var iR={getCacheForType:function(n){var r=en(kt),s=r.data.get(n);return s===void 0&&(s=n(),r.data.set(n,s)),s},cacheSignal:function(){return en(kt).controller.signal}},rR=typeof WeakMap=="function"?WeakMap:Map,Ge=0,ut=null,_e=null,ze=0,Ze=0,Ln=null,wr=!1,ns=!1,Mh=!1,Ji=0,wt=0,Er=0,oa=0,Dh=0,zn=0,is=0,Do=null,Cn=null,_h=!1,ju=0,bb=0,Bu=1/0,Uu=null,Ar=null,Ft=0,Rr=null,rs=null,er=0,Nh=0,Lh=null,Sb=null,_o=0,zh=null;function kn(){return(Ge&2)!==0&&ze!==0?ze&-ze:k.T!==null?Vh():Py()}function xb(){if(zn===0)if((ze&536870912)===0||Pe){var n=Ir;Ir<<=1,(Ir&3932160)===0&&(Ir=262144),zn=n}else zn=536870912;return n=_n.current,n!==null&&(n.flags|=32),zn}function Tn(n,r,s){(n===ut&&(Ze===2||Ze===9)||n.cancelPendingCommit!==null)&&(as(n,0),Or(n,ze,zn,!1)),Qs(n,s),((Ge&2)===0||n!==ut)&&(n===ut&&((Ge&2)===0&&(oa|=s),wt===4&&Or(n,ze,zn,!1)),Ti(n))}function Cb(n,r,s){if((Ge&6)!==0)throw Error(a(327));var u=!s&&(r&127)===0&&(r&n.expiredLanes)===0||Ws(n,r),d=u?oR(n,r):Ph(n,r,!0),m=u;do{if(d===0){ns&&!u&&Or(n,r,0,!1);break}else{if(s=n.current.alternate,m&&!aR(s)){d=Ph(n,r,!1),m=!1;continue}if(d===2){if(m=r,n.errorRecoveryDisabledLanes&m)var b=0;else b=n.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){r=b;e:{var E=n;d=Do;var j=E.current.memoizedState.isDehydrated;if(j&&(as(E,b).flags|=256),b=Ph(E,b,!1),b!==2){if(Mh&&!j){E.errorRecoveryDisabledLanes|=m,oa|=m,d=4;break e}m=Cn,Cn=d,m!==null&&(Cn===null?Cn=m:Cn.push.apply(Cn,m))}d=b}if(m=!1,d!==2)continue}}if(d===1){as(n,0),Or(n,r,0,!0);break}e:{switch(u=n,m=d,m){case 0:case 1:throw Error(a(345));case 4:if((r&4194048)!==r)break;case 6:Or(u,r,zn,!wr);break e;case 2:Cn=null;break;case 3:case 5:break;default:throw Error(a(329))}if((r&62914560)===r&&(d=ju+300-Le(),10<d)){if(Or(u,r,zn,!wr),Xl(u,0,!0)!==0)break e;er=r,u.timeoutHandle=Jb(Tb.bind(null,u,s,Cn,Uu,_h,r,zn,oa,is,wr,m,"Throttled",-0,0),d);break e}Tb(u,s,Cn,Uu,_h,r,zn,oa,is,wr,m,null,-0,0)}}break}while(!0);Ti(n)}function Tb(n,r,s,u,d,m,b,E,j,H,te,re,K,W){if(n.timeoutHandle=-1,re=r.subtreeFlags,re&8192||(re&16785408)===16785408){re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ui},mb(r,m,re);var ce=(m&62914560)===m?ju-Le():(m&4194048)===m?bb-Le():0;if(ce=IR(re,ce),ce!==null){er=m,n.cancelPendingCommit=ce(_b.bind(null,n,r,m,s,u,d,b,E,j,te,re,null,K,W)),Or(n,m,b,!H);return}}_b(n,r,m,s,u,d,b,E,j)}function aR(n){for(var r=n;;){var s=r.tag;if((s===0||s===11||s===15)&&r.flags&16384&&(s=r.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var u=0;u<s.length;u++){var d=s[u],m=d.getSnapshot;d=d.value;try{if(!Mn(m(),d))return!1}catch{return!1}}if(s=r.child,r.subtreeFlags&16384&&s!==null)s.return=r,r=s;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Or(n,r,s,u){r&=~Dh,r&=~oa,n.suspendedLanes|=r,n.pingedLanes&=~r,u&&(n.warmLanes|=r),u=n.expirationTimes;for(var d=r;0<d;){var m=31-ln(d),b=1<<m;u[m]=-1,d&=~b}s!==0&&Ly(n,s,r)}function Vu(){return(Ge&6)===0?(No(0),!1):!0}function kh(){if(_e!==null){if(Ze===0)var n=_e.return;else n=_e,Ii=Zr=null,Qd(n),Xa=null,po=0,n=_e;for(;n!==null;)eb(n.alternate,n),n=n.return;_e=null}}function as(n,r){var s=n.timeoutHandle;s!==-1&&(n.timeoutHandle=-1,ER(s)),s=n.cancelPendingCommit,s!==null&&(n.cancelPendingCommit=null,s()),er=0,kh(),ut=n,_e=s=$i(n.current,null),ze=r,Ze=0,Ln=null,wr=!1,ns=Ws(n,r),Mh=!1,is=zn=Dh=oa=Er=wt=0,Cn=Do=null,_h=!1,(r&8)!==0&&(r|=r&32);var u=n.entangledLanes;if(u!==0)for(n=n.entanglements,u&=r;0<u;){var d=31-ln(u),m=1<<d;r|=n[d],u&=~m}return Ji=r,ou(),s}function wb(n,r){Re=null,k.H=Co,r===Ya||r===mu?(r=V0(),Ze=3):r===Ud?(r=V0(),Ze=4):Ze=r===hh?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,Ln=r,_e===null&&(wt=1,Mu(n,qn(r,n.current)))}function Eb(){var n=_n.current;return n===null?!0:(ze&4194048)===ze?Xn===null:(ze&62914560)===ze||(ze&536870912)!==0?n===Xn:!1}function Ab(){var n=k.H;return k.H=Co,n===null?Co:n}function Rb(){var n=k.A;return k.A=iR,n}function $u(){wt=4,wr||(ze&4194048)!==ze&&_n.current!==null||(ns=!0),(Er&134217727)===0&&(oa&134217727)===0||ut===null||Or(ut,ze,zn,!1)}function Ph(n,r,s){var u=Ge;Ge|=2;var d=Ab(),m=Rb();(ut!==n||ze!==r)&&(Uu=null,as(n,r)),r=!1;var b=wt;e:do try{if(Ze!==0&&_e!==null){var E=_e,j=Ln;switch(Ze){case 8:kh(),b=6;break e;case 3:case 2:case 9:case 6:_n.current===null&&(r=!0);var H=Ze;if(Ze=0,Ln=null,ss(n,E,j,H),s&&ns){b=0;break e}break;default:H=Ze,Ze=0,Ln=null,ss(n,E,j,H)}}sR(),b=wt;break}catch(te){wb(n,te)}while(!0);return r&&n.shellSuspendCounter++,Ii=Zr=null,Ge=u,k.H=d,k.A=m,_e===null&&(ut=null,ze=0,ou()),b}function sR(){for(;_e!==null;)Ob(_e)}function oR(n,r){var s=Ge;Ge|=2;var u=Ab(),d=Rb();ut!==n||ze!==r?(Uu=null,Bu=Le()+500,as(n,r)):ns=Ws(n,r);e:do try{if(Ze!==0&&_e!==null){r=_e;var m=Ln;t:switch(Ze){case 1:Ze=0,Ln=null,ss(n,r,m,1);break;case 2:case 9:if(B0(m)){Ze=0,Ln=null,Mb(r);break}r=function(){Ze!==2&&Ze!==9||ut!==n||(Ze=7),Ti(n)},m.then(r,r);break e;case 3:Ze=7;break e;case 4:Ze=5;break e;case 7:B0(m)?(Ze=0,Ln=null,Mb(r)):(Ze=0,Ln=null,ss(n,r,m,7));break;case 5:var b=null;switch(_e.tag){case 26:b=_e.memoizedState;case 5:case 27:var E=_e;if(b?p1(b):E.stateNode.complete){Ze=0,Ln=null;var j=E.sibling;if(j!==null)_e=j;else{var H=E.return;H!==null?(_e=H,Hu(H)):_e=null}break t}}Ze=0,Ln=null,ss(n,r,m,5);break;case 6:Ze=0,Ln=null,ss(n,r,m,6);break;case 8:kh(),wt=6;break e;default:throw Error(a(462))}}lR();break}catch(te){wb(n,te)}while(!0);return Ii=Zr=null,k.H=u,k.A=d,Ge=s,_e!==null?0:(ut=null,ze=0,ou(),wt)}function lR(){for(;_e!==null&&!pe();)Ob(_e)}function Ob(n){var r=Zv(n.alternate,n,Ji);n.memoizedProps=n.pendingProps,r===null?Hu(n):_e=r}function Mb(n){var r=n,s=r.alternate;switch(r.tag){case 15:case 0:r=Kv(s,r,r.pendingProps,r.type,void 0,ze);break;case 11:r=Kv(s,r,r.pendingProps,r.type.render,r.ref,ze);break;case 5:Qd(r);default:eb(s,r),r=_e=R0(r,Ji),r=Zv(s,r,Ji)}n.memoizedProps=n.pendingProps,r===null?Hu(n):_e=r}function ss(n,r,s,u){Ii=Zr=null,Qd(r),Xa=null,po=0;var d=r.return;try{if(WA(n,d,r,s,ze)){wt=1,Mu(n,qn(s,n.current)),_e=null;return}}catch(m){if(d!==null)throw _e=d,m;wt=1,Mu(n,qn(s,n.current)),_e=null;return}r.flags&32768?(Pe||u===1?n=!0:ns||(ze&536870912)!==0?n=!1:(wr=n=!0,(u===2||u===9||u===3||u===6)&&(u=_n.current,u!==null&&u.tag===13&&(u.flags|=16384))),Db(r,n)):Hu(r)}function Hu(n){var r=n;do{if((r.flags&32768)!==0){Db(r,wr);return}n=r.return;var s=JA(r.alternate,r,Ji);if(s!==null){_e=s;return}if(r=r.sibling,r!==null){_e=r;return}_e=r=n}while(r!==null);wt===0&&(wt=5)}function Db(n,r){do{var s=eR(n.alternate,n);if(s!==null){s.flags&=32767,_e=s;return}if(s=n.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!r&&(n=n.sibling,n!==null)){_e=n;return}_e=n=s}while(n!==null);wt=6,_e=null}function _b(n,r,s,u,d,m,b,E,j){n.cancelPendingCommit=null;do Iu();while(Ft!==0);if((Ge&6)!==0)throw Error(a(327));if(r!==null){if(r===n.current)throw Error(a(177));if(m=r.lanes|r.childLanes,m|=wd,$E(n,s,m,b,E,j),n===ut&&(_e=ut=null,ze=0),rs=r,Rr=n,er=s,Nh=m,Lh=d,Sb=u,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,dR(Ct,function(){return Pb(),null})):(n.callbackNode=null,n.callbackPriority=0),u=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||u){u=k.T,k.T=null,d=I.p,I.p=2,b=Ge,Ge|=4;try{tR(n,r,s)}finally{Ge=b,I.p=d,k.T=u}}Ft=1,Nb(),Lb(),zb()}}function Nb(){if(Ft===1){Ft=0;var n=Rr,r=rs,s=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||s){s=k.T,k.T=null;var u=I.p;I.p=2;var d=Ge;Ge|=4;try{db(r,n);var m=Yh,b=v0(n.containerInfo),E=m.focusedElem,j=m.selectionRange;if(b!==E&&E&&E.ownerDocument&&y0(E.ownerDocument.documentElement,E)){if(j!==null&&bd(E)){var H=j.start,te=j.end;if(te===void 0&&(te=H),"selectionStart"in E)E.selectionStart=H,E.selectionEnd=Math.min(te,E.value.length);else{var re=E.ownerDocument||document,K=re&&re.defaultView||window;if(K.getSelection){var W=K.getSelection(),ce=E.textContent.length,be=Math.min(j.start,ce),rt=j.end===void 0?be:Math.min(j.end,ce);!W.extend&&be>rt&&(b=rt,rt=be,be=b);var V=g0(E,be),B=g0(E,rt);if(V&&B&&(W.rangeCount!==1||W.anchorNode!==V.node||W.anchorOffset!==V.offset||W.focusNode!==B.node||W.focusOffset!==B.offset)){var $=re.createRange();$.setStart(V.node,V.offset),W.removeAllRanges(),be>rt?(W.addRange($),W.extend(B.node,B.offset)):($.setEnd(B.node,B.offset),W.addRange($))}}}}for(re=[],W=E;W=W.parentNode;)W.nodeType===1&&re.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof E.focus=="function"&&E.focus(),E=0;E<re.length;E++){var ie=re[E];ie.element.scrollLeft=ie.left,ie.element.scrollTop=ie.top}}tc=!!Gh,Yh=Gh=null}finally{Ge=d,I.p=u,k.T=s}}n.current=r,Ft=2}}function Lb(){if(Ft===2){Ft=0;var n=Rr,r=rs,s=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||s){s=k.T,k.T=null;var u=I.p;I.p=2;var d=Ge;Ge|=4;try{ob(n,r.alternate,r)}finally{Ge=d,I.p=u,k.T=s}}Ft=3}}function zb(){if(Ft===4||Ft===3){Ft=0,ai();var n=Rr,r=rs,s=er,u=Sb;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Ft=5:(Ft=0,rs=Rr=null,kb(n,n.pendingLanes));var d=n.pendingLanes;if(d===0&&(Ar=null),ed(s),r=r.stateNode,Qt&&typeof Qt.onCommitFiberRoot=="function")try{Qt.onCommitFiberRoot($n,r,void 0,(r.current.flags&128)===128)}catch{}if(u!==null){r=k.T,d=I.p,I.p=2,k.T=null;try{for(var m=n.onRecoverableError,b=0;b<u.length;b++){var E=u[b];m(E.value,{componentStack:E.stack})}}finally{k.T=r,I.p=d}}(er&3)!==0&&Iu(),Ti(n),d=n.pendingLanes,(s&261930)!==0&&(d&42)!==0?n===zh?_o++:(_o=0,zh=n):_o=0,No(0)}}function kb(n,r){(n.pooledCacheLanes&=r)===0&&(r=n.pooledCache,r!=null&&(n.pooledCache=null,fo(r)))}function Iu(){return Nb(),Lb(),zb(),Pb()}function Pb(){if(Ft!==5)return!1;var n=Rr,r=Nh;Nh=0;var s=ed(er),u=k.T,d=I.p;try{I.p=32>s?32:s,k.T=null,s=Lh,Lh=null;var m=Rr,b=er;if(Ft=0,rs=Rr=null,er=0,(Ge&6)!==0)throw Error(a(331));var E=Ge;if(Ge|=4,yb(m.current),pb(m,m.current,b,s),Ge=E,No(0,!1),Qt&&typeof Qt.onPostCommitFiberRoot=="function")try{Qt.onPostCommitFiberRoot($n,m)}catch{}return!0}finally{I.p=d,k.T=u,kb(n,r)}}function jb(n,r,s){r=qn(s,r),r=dh(n.stateNode,r,2),n=Sr(n,r,2),n!==null&&(Qs(n,2),Ti(n))}function Je(n,r,s){if(n.tag===3)jb(n,n,s);else for(;r!==null;){if(r.tag===3){jb(r,n,s);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Ar===null||!Ar.has(u))){n=qn(s,n),s=Bv(2),u=Sr(r,s,2),u!==null&&(Uv(s,u,r,n),Qs(u,2),Ti(u));break}}r=r.return}}function jh(n,r,s){var u=n.pingCache;if(u===null){u=n.pingCache=new rR;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(s)||(Mh=!0,d.add(s),n=uR.bind(null,n,r,s),r.then(n,n))}function uR(n,r,s){var u=n.pingCache;u!==null&&u.delete(r),n.pingedLanes|=n.suspendedLanes&s,n.warmLanes&=~s,ut===n&&(ze&s)===s&&(wt===4||wt===3&&(ze&62914560)===ze&&300>Le()-ju?(Ge&2)===0&&as(n,0):Dh|=s,is===ze&&(is=0)),Ti(n)}function Bb(n,r){r===0&&(r=Ny()),n=Xr(n,r),n!==null&&(Qs(n,r),Ti(n))}function cR(n){var r=n.memoizedState,s=0;r!==null&&(s=r.retryLane),Bb(n,s)}function fR(n,r){var s=0;switch(n.tag){case 31:case 13:var u=n.stateNode,d=n.memoizedState;d!==null&&(s=d.retryLane);break;case 19:u=n.stateNode;break;case 22:u=n.stateNode._retryCache;break;default:throw Error(a(314))}u!==null&&u.delete(r),Bb(n,s)}function dR(n,r){return zt(n,r)}var Fu=null,os=null,Bh=!1,qu=!1,Uh=!1,Mr=0;function Ti(n){n!==os&&n.next===null&&(os===null?Fu=os=n:os=os.next=n),qu=!0,Bh||(Bh=!0,pR())}function No(n,r){if(!Uh&&qu){Uh=!0;do for(var s=!1,u=Fu;u!==null;){if(n!==0){var d=u.pendingLanes;if(d===0)var m=0;else{var b=u.suspendedLanes,E=u.pingedLanes;m=(1<<31-ln(42|n)+1)-1,m&=d&~(b&~E),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(s=!0,Hb(u,m))}else m=ze,m=Xl(u,u===ut?m:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(m&3)===0||Ws(u,m)||(s=!0,Hb(u,m));u=u.next}while(s);Uh=!1}}function hR(){Ub()}function Ub(){qu=Bh=!1;var n=0;Mr!==0&&wR()&&(n=Mr);for(var r=Le(),s=null,u=Fu;u!==null;){var d=u.next,m=Vb(u,r);m===0?(u.next=null,s===null?Fu=d:s.next=d,d===null&&(os=s)):(s=u,(n!==0||(m&3)!==0)&&(qu=!0)),u=d}Ft!==0&&Ft!==5||No(n),Mr!==0&&(Mr=0)}function Vb(n,r){for(var s=n.suspendedLanes,u=n.pingedLanes,d=n.expirationTimes,m=n.pendingLanes&-62914561;0<m;){var b=31-ln(m),E=1<<b,j=d[b];j===-1?((E&s)===0||(E&u)!==0)&&(d[b]=VE(E,r)):j<=r&&(n.expiredLanes|=E),m&=~E}if(r=ut,s=ze,s=Xl(n,n===r?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u=n.callbackNode,s===0||n===r&&(Ze===2||Ze===9)||n.cancelPendingCommit!==null)return u!==null&&u!==null&&st(u),n.callbackNode=null,n.callbackPriority=0;if((s&3)===0||Ws(n,s)){if(r=s&-s,r===n.callbackPriority)return r;switch(u!==null&&st(u),ed(s)){case 2:case 8:s=$e;break;case 32:s=Ct;break;case 268435456:s=On;break;default:s=Ct}return u=$b.bind(null,n),s=zt(s,u),n.callbackPriority=r,n.callbackNode=s,r}return u!==null&&u!==null&&st(u),n.callbackPriority=2,n.callbackNode=null,2}function $b(n,r){if(Ft!==0&&Ft!==5)return n.callbackNode=null,n.callbackPriority=0,null;var s=n.callbackNode;if(Iu()&&n.callbackNode!==s)return null;var u=ze;return u=Xl(n,n===ut?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u===0?null:(Cb(n,u,r),Vb(n,Le()),n.callbackNode!=null&&n.callbackNode===s?$b.bind(null,n):null)}function Hb(n,r){if(Iu())return null;Cb(n,r,!0)}function pR(){AR(function(){(Ge&6)!==0?zt(mt,hR):Ub()})}function Vh(){if(Mr===0){var n=Ka;n===0&&(n=oi,oi<<=1,(oi&261888)===0&&(oi=256)),Mr=n}return Mr}function Ib(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Jl(""+n)}function Fb(n,r){var s=r.ownerDocument.createElement("input");return s.name=r.name,s.value=r.value,n.id&&s.setAttribute("form",n.id),r.parentNode.insertBefore(s,r),n=new FormData(n),s.parentNode.removeChild(s),n}function mR(n,r,s,u,d){if(r==="submit"&&s&&s.stateNode===d){var m=Ib((d[yn]||null).action),b=u.submitter;b&&(r=(r=b[yn]||null)?Ib(r.formAction):b.getAttribute("formAction"),r!==null&&(m=r,b=null));var E=new iu("action","action",null,u,d);n.push({event:E,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Mr!==0){var j=b?Fb(d,b):new FormData(d);sh(s,{pending:!0,data:j,method:d.method,action:m},null,j)}}else typeof m=="function"&&(E.preventDefault(),j=b?Fb(d,b):new FormData(d),sh(s,{pending:!0,data:j,method:d.method,action:m},m,j))},currentTarget:d}]})}}for(var $h=0;$h<Td.length;$h++){var Hh=Td[$h],gR=Hh.toLowerCase(),yR=Hh[0].toUpperCase()+Hh.slice(1);li(gR,"on"+yR)}li(x0,"onAnimationEnd"),li(C0,"onAnimationIteration"),li(T0,"onAnimationStart"),li("dblclick","onDoubleClick"),li("focusin","onFocus"),li("focusout","onBlur"),li(LA,"onTransitionRun"),li(zA,"onTransitionStart"),li(kA,"onTransitionCancel"),li(w0,"onTransitionEnd"),Na("onMouseEnter",["mouseout","mouseover"]),Na("onMouseLeave",["mouseout","mouseover"]),Na("onPointerEnter",["pointerout","pointerover"]),Na("onPointerLeave",["pointerout","pointerover"]),qr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),qr("onBeforeInput",["compositionend","keypress","textInput","paste"]),qr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lo="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(" "),vR=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Lo));function qb(n,r){r=(r&4)!==0;for(var s=0;s<n.length;s++){var u=n[s],d=u.event;u=u.listeners;e:{var m=void 0;if(r)for(var b=u.length-1;0<=b;b--){var E=u[b],j=E.instance,H=E.currentTarget;if(E=E.listener,j!==m&&d.isPropagationStopped())break e;m=E,d.currentTarget=H;try{m(d)}catch(te){su(te)}d.currentTarget=null,m=j}else for(b=0;b<u.length;b++){if(E=u[b],j=E.instance,H=E.currentTarget,E=E.listener,j!==m&&d.isPropagationStopped())break e;m=E,d.currentTarget=H;try{m(d)}catch(te){su(te)}d.currentTarget=null,m=j}}}}function Ne(n,r){var s=r[td];s===void 0&&(s=r[td]=new Set);var u=n+"__bubble";s.has(u)||(Kb(r,n,2,!1),s.add(u))}function Ih(n,r,s){var u=0;r&&(u|=4),Kb(s,n,u,r)}var Ku="_reactListening"+Math.random().toString(36).slice(2);function Fh(n){if(!n[Ku]){n[Ku]=!0,Uy.forEach(function(s){s!=="selectionchange"&&(vR.has(s)||Ih(s,!1,n),Ih(s,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Ku]||(r[Ku]=!0,Ih("selectionchange",!1,r))}}function Kb(n,r,s,u){switch(x1(r)){case 2:var d=KR;break;case 8:d=GR;break;default:d=ap}s=d.bind(null,r,s,n),d=void 0,!cd||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(d=!0),u?d!==void 0?n.addEventListener(r,s,{capture:!0,passive:d}):n.addEventListener(r,s,!0):d!==void 0?n.addEventListener(r,s,{passive:d}):n.addEventListener(r,s,!1)}function qh(n,r,s,u,d){var m=u;if((r&1)===0&&(r&2)===0&&u!==null)e:for(;;){if(u===null)return;var b=u.tag;if(b===3||b===4){var E=u.stateNode.containerInfo;if(E===d)break;if(b===4)for(b=u.return;b!==null;){var j=b.tag;if((j===3||j===4)&&b.stateNode.containerInfo===d)return;b=b.return}for(;E!==null;){if(b=Ma(E),b===null)return;if(j=b.tag,j===5||j===6||j===26||j===27){u=m=b;continue e}E=E.parentNode}}u=u.return}Qy(function(){var H=m,te=ld(s),re=[];e:{var K=E0.get(n);if(K!==void 0){var W=iu,ce=n;switch(n){case"keypress":if(tu(s)===0)break e;case"keydown":case"keyup":W=fA;break;case"focusin":ce="focus",W=pd;break;case"focusout":ce="blur",W=pd;break;case"beforeblur":case"afterblur":W=pd;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":W=e0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":W=JE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":W=pA;break;case x0:case C0:case T0:W=nA;break;case w0:W=gA;break;case"scroll":case"scrollend":W=QE;break;case"wheel":W=vA;break;case"copy":case"cut":case"paste":W=rA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":W=n0;break;case"toggle":case"beforetoggle":W=SA}var be=(r&4)!==0,rt=!be&&(n==="scroll"||n==="scrollend"),V=be?K!==null?K+"Capture":null:K;be=[];for(var B=H,$;B!==null;){var ie=B;if($=ie.stateNode,ie=ie.tag,ie!==5&&ie!==26&&ie!==27||$===null||V===null||(ie=eo(B,V),ie!=null&&be.push(zo(B,ie,$))),rt)break;B=B.return}0<be.length&&(K=new W(K,ce,null,s,te),re.push({event:K,listeners:be}))}}if((r&7)===0){e:{if(K=n==="mouseover"||n==="pointerover",W=n==="mouseout"||n==="pointerout",K&&s!==od&&(ce=s.relatedTarget||s.fromElement)&&(Ma(ce)||ce[Oa]))break e;if((W||K)&&(K=te.window===te?te:(K=te.ownerDocument)?K.defaultView||K.parentWindow:window,W?(ce=s.relatedTarget||s.toElement,W=H,ce=ce?Ma(ce):null,ce!==null&&(rt=l(ce),be=ce.tag,ce!==rt||be!==5&&be!==27&&be!==6)&&(ce=null)):(W=null,ce=H),W!==ce)){if(be=e0,ie="onMouseLeave",V="onMouseEnter",B="mouse",(n==="pointerout"||n==="pointerover")&&(be=n0,ie="onPointerLeave",V="onPointerEnter",B="pointer"),rt=W==null?K:Js(W),$=ce==null?K:Js(ce),K=new be(ie,B+"leave",W,s,te),K.target=rt,K.relatedTarget=$,ie=null,Ma(te)===H&&(be=new be(V,B+"enter",ce,s,te),be.target=$,be.relatedTarget=rt,ie=be),rt=ie,W&&ce)t:{for(be=bR,V=W,B=ce,$=0,ie=V;ie;ie=be(ie))$++;ie=0;for(var ge=B;ge;ge=be(ge))ie++;for(;0<$-ie;)V=be(V),$--;for(;0<ie-$;)B=be(B),ie--;for(;$--;){if(V===B||B!==null&&V===B.alternate){be=V;break t}V=be(V),B=be(B)}be=null}else be=null;W!==null&&Gb(re,K,W,be,!1),ce!==null&&rt!==null&&Gb(re,rt,ce,be,!0)}}e:{if(K=H?Js(H):window,W=K.nodeName&&K.nodeName.toLowerCase(),W==="select"||W==="input"&&K.type==="file")var He=c0;else if(l0(K))if(f0)He=DA;else{He=OA;var de=RA}else W=K.nodeName,!W||W.toLowerCase()!=="input"||K.type!=="checkbox"&&K.type!=="radio"?H&&sd(H.elementType)&&(He=c0):He=MA;if(He&&(He=He(n,H))){u0(re,He,s,te);break e}de&&de(n,K,H),n==="focusout"&&H&&K.type==="number"&&H.memoizedProps.value!=null&&ad(K,"number",K.value)}switch(de=H?Js(H):window,n){case"focusin":(l0(de)||de.contentEditable==="true")&&(Ba=de,Sd=H,lo=null);break;case"focusout":lo=Sd=Ba=null;break;case"mousedown":xd=!0;break;case"contextmenu":case"mouseup":case"dragend":xd=!1,b0(re,s,te);break;case"selectionchange":if(NA)break;case"keydown":case"keyup":b0(re,s,te)}var Me;if(gd)e:{switch(n){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else ja?s0(n,s)&&(ke="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(ke="onCompositionStart");ke&&(i0&&s.locale!=="ko"&&(ja||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&ja&&(Me=Zy()):(hr=te,fd="value"in hr?hr.value:hr.textContent,ja=!0)),de=Gu(H,ke),0<de.length&&(ke=new t0(ke,n,null,s,te),re.push({event:ke,listeners:de}),Me?ke.data=Me:(Me=o0(s),Me!==null&&(ke.data=Me)))),(Me=CA?TA(n,s):wA(n,s))&&(ke=Gu(H,"onBeforeInput"),0<ke.length&&(de=new t0("onBeforeInput","beforeinput",null,s,te),re.push({event:de,listeners:ke}),de.data=Me)),mR(re,n,H,s,te)}qb(re,r)})}function zo(n,r,s){return{instance:n,listener:r,currentTarget:s}}function Gu(n,r){for(var s=r+"Capture",u=[];n!==null;){var d=n,m=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||m===null||(d=eo(n,s),d!=null&&u.unshift(zo(n,d,m)),d=eo(n,r),d!=null&&u.push(zo(n,d,m))),n.tag===3)return u;n=n.return}return[]}function bR(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Gb(n,r,s,u,d){for(var m=r._reactName,b=[];s!==null&&s!==u;){var E=s,j=E.alternate,H=E.stateNode;if(E=E.tag,j!==null&&j===u)break;E!==5&&E!==26&&E!==27||H===null||(j=H,d?(H=eo(s,m),H!=null&&b.unshift(zo(s,H,j))):d||(H=eo(s,m),H!=null&&b.push(zo(s,H,j)))),s=s.return}b.length!==0&&n.push({event:r,listeners:b})}var SR=/\r\n?/g,xR=/\u0000|\uFFFD/g;function Yb(n){return(typeof n=="string"?n:""+n).replace(SR,`
|
|
9
|
-
`).replace(xR,"")}function Xb(n,r){return r=Yb(r),Yb(n)===r}function it(n,r,s,u,d,m){switch(s){case"children":typeof u=="string"?r==="body"||r==="textarea"&&u===""||za(n,u):(typeof u=="number"||typeof u=="bigint")&&r!=="body"&&za(n,""+u);break;case"className":Ql(n,"class",u);break;case"tabIndex":Ql(n,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Ql(n,s,u);break;case"style":Xy(n,u,m);break;case"data":if(r!=="object"){Ql(n,"data",u);break}case"src":case"href":if(u===""&&(r!=="a"||s!=="href")){n.removeAttribute(s);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(s);break}u=Jl(""+u),n.setAttribute(s,u);break;case"action":case"formAction":if(typeof u=="function"){n.setAttribute(s,"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 m=="function"&&(s==="formAction"?(r!=="input"&&it(n,r,"name",d.name,d,null),it(n,r,"formEncType",d.formEncType,d,null),it(n,r,"formMethod",d.formMethod,d,null),it(n,r,"formTarget",d.formTarget,d,null)):(it(n,r,"encType",d.encType,d,null),it(n,r,"method",d.method,d,null),it(n,r,"target",d.target,d,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(s);break}u=Jl(""+u),n.setAttribute(s,u);break;case"onClick":u!=null&&(n.onclick=Ui);break;case"onScroll":u!=null&&Ne("scroll",n);break;case"onScrollEnd":u!=null&&Ne("scrollend",n);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(a(61));if(s=u.__html,s!=null){if(d.children!=null)throw Error(a(60));n.innerHTML=s}}break;case"multiple":n.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":n.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"){n.removeAttribute("xlink:href");break}s=Jl(""+u),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);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"?n.setAttribute(s,""+u):n.removeAttribute(s);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"?n.setAttribute(s,""):n.removeAttribute(s);break;case"capture":case"download":u===!0?n.setAttribute(s,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(s,u):n.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?n.setAttribute(s,u):n.removeAttribute(s);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?n.removeAttribute(s):n.setAttribute(s,u);break;case"popover":Ne("beforetoggle",n),Ne("toggle",n),Wl(n,"popover",u);break;case"xlinkActuate":Bi(n,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":Bi(n,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":Bi(n,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":Bi(n,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":Bi(n,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":Bi(n,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":Bi(n,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":Bi(n,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":Bi(n,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Wl(n,"is",u);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=XE.get(s)||s,Wl(n,s,u))}}function Kh(n,r,s,u,d,m){switch(s){case"style":Xy(n,u,m);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(a(61));if(s=u.__html,s!=null){if(d.children!=null)throw Error(a(60));n.innerHTML=s}}break;case"children":typeof u=="string"?za(n,u):(typeof u=="number"||typeof u=="bigint")&&za(n,""+u);break;case"onScroll":u!=null&&Ne("scroll",n);break;case"onScrollEnd":u!=null&&Ne("scrollend",n);break;case"onClick":u!=null&&(n.onclick=Ui);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Vy.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(d=s.endsWith("Capture"),r=s.slice(2,d?s.length-7:void 0),m=n[yn]||null,m=m!=null?m[s]:null,typeof m=="function"&&n.removeEventListener(r,m,d),typeof u=="function")){typeof m!="function"&&m!==null&&(s in n?n[s]=null:n.hasAttribute(s)&&n.removeAttribute(s)),n.addEventListener(r,u,d);break e}s in n?n[s]=u:u===!0?n.setAttribute(s,""):Wl(n,s,u)}}}function nn(n,r,s){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ne("error",n),Ne("load",n);var u=!1,d=!1,m;for(m in s)if(s.hasOwnProperty(m)){var b=s[m];if(b!=null)switch(m){case"src":u=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,r));default:it(n,r,m,b,s,null)}}d&&it(n,r,"srcSet",s.srcSet,s,null),u&&it(n,r,"src",s.src,s,null);return;case"input":Ne("invalid",n);var E=m=b=d=null,j=null,H=null;for(u in s)if(s.hasOwnProperty(u)){var te=s[u];if(te!=null)switch(u){case"name":d=te;break;case"type":b=te;break;case"checked":j=te;break;case"defaultChecked":H=te;break;case"value":m=te;break;case"defaultValue":E=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(a(137,r));break;default:it(n,r,u,te,s,null)}}qy(n,m,E,j,H,b,d,!1);return;case"select":Ne("invalid",n),u=b=m=null;for(d in s)if(s.hasOwnProperty(d)&&(E=s[d],E!=null))switch(d){case"value":m=E;break;case"defaultValue":b=E;break;case"multiple":u=E;default:it(n,r,d,E,s,null)}r=m,s=b,n.multiple=!!u,r!=null?La(n,!!u,r,!1):s!=null&&La(n,!!u,s,!0);return;case"textarea":Ne("invalid",n),m=d=u=null;for(b in s)if(s.hasOwnProperty(b)&&(E=s[b],E!=null))switch(b){case"value":u=E;break;case"defaultValue":d=E;break;case"children":m=E;break;case"dangerouslySetInnerHTML":if(E!=null)throw Error(a(91));break;default:it(n,r,b,E,s,null)}Gy(n,u,d,m);return;case"option":for(j in s)if(s.hasOwnProperty(j)&&(u=s[j],u!=null))switch(j){case"selected":n.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:it(n,r,j,u,s,null)}return;case"dialog":Ne("beforetoggle",n),Ne("toggle",n),Ne("cancel",n),Ne("close",n);break;case"iframe":case"object":Ne("load",n);break;case"video":case"audio":for(u=0;u<Lo.length;u++)Ne(Lo[u],n);break;case"image":Ne("error",n),Ne("load",n);break;case"details":Ne("toggle",n);break;case"embed":case"source":case"link":Ne("error",n),Ne("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(H in s)if(s.hasOwnProperty(H)&&(u=s[H],u!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,r));default:it(n,r,H,u,s,null)}return;default:if(sd(r)){for(te in s)s.hasOwnProperty(te)&&(u=s[te],u!==void 0&&Kh(n,r,te,u,s,void 0));return}}for(E in s)s.hasOwnProperty(E)&&(u=s[E],u!=null&&it(n,r,E,u,s,null))}function CR(n,r,s,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,m=null,b=null,E=null,j=null,H=null,te=null;for(W in s){var re=s[W];if(s.hasOwnProperty(W)&&re!=null)switch(W){case"checked":break;case"value":break;case"defaultValue":j=re;default:u.hasOwnProperty(W)||it(n,r,W,null,u,re)}}for(var K in u){var W=u[K];if(re=s[K],u.hasOwnProperty(K)&&(W!=null||re!=null))switch(K){case"type":m=W;break;case"name":d=W;break;case"checked":H=W;break;case"defaultChecked":te=W;break;case"value":b=W;break;case"defaultValue":E=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(a(137,r));break;default:W!==re&&it(n,r,K,W,u,re)}}rd(n,b,E,j,H,te,m,d);return;case"select":W=b=E=K=null;for(m in s)if(j=s[m],s.hasOwnProperty(m)&&j!=null)switch(m){case"value":break;case"multiple":W=j;default:u.hasOwnProperty(m)||it(n,r,m,null,u,j)}for(d in u)if(m=u[d],j=s[d],u.hasOwnProperty(d)&&(m!=null||j!=null))switch(d){case"value":K=m;break;case"defaultValue":E=m;break;case"multiple":b=m;default:m!==j&&it(n,r,d,m,u,j)}r=E,s=b,u=W,K!=null?La(n,!!s,K,!1):!!u!=!!s&&(r!=null?La(n,!!s,r,!0):La(n,!!s,s?[]:"",!1));return;case"textarea":W=K=null;for(E in s)if(d=s[E],s.hasOwnProperty(E)&&d!=null&&!u.hasOwnProperty(E))switch(E){case"value":break;case"children":break;default:it(n,r,E,null,u,d)}for(b in u)if(d=u[b],m=s[b],u.hasOwnProperty(b)&&(d!=null||m!=null))switch(b){case"value":K=d;break;case"defaultValue":W=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(a(91));break;default:d!==m&&it(n,r,b,d,u,m)}Ky(n,K,W);return;case"option":for(var ce in s)if(K=s[ce],s.hasOwnProperty(ce)&&K!=null&&!u.hasOwnProperty(ce))switch(ce){case"selected":n.selected=!1;break;default:it(n,r,ce,null,u,K)}for(j in u)if(K=u[j],W=s[j],u.hasOwnProperty(j)&&K!==W&&(K!=null||W!=null))switch(j){case"selected":n.selected=K&&typeof K!="function"&&typeof K!="symbol";break;default:it(n,r,j,K,u,W)}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 be in s)K=s[be],s.hasOwnProperty(be)&&K!=null&&!u.hasOwnProperty(be)&&it(n,r,be,null,u,K);for(H in u)if(K=u[H],W=s[H],u.hasOwnProperty(H)&&K!==W&&(K!=null||W!=null))switch(H){case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(a(137,r));break;default:it(n,r,H,K,u,W)}return;default:if(sd(r)){for(var rt in s)K=s[rt],s.hasOwnProperty(rt)&&K!==void 0&&!u.hasOwnProperty(rt)&&Kh(n,r,rt,void 0,u,K);for(te in u)K=u[te],W=s[te],!u.hasOwnProperty(te)||K===W||K===void 0&&W===void 0||Kh(n,r,te,K,u,W);return}}for(var V in s)K=s[V],s.hasOwnProperty(V)&&K!=null&&!u.hasOwnProperty(V)&&it(n,r,V,null,u,K);for(re in u)K=u[re],W=s[re],!u.hasOwnProperty(re)||K===W||K==null&&W==null||it(n,r,re,K,u,W)}function Wb(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function TR(){if(typeof performance.getEntriesByType=="function"){for(var n=0,r=0,s=performance.getEntriesByType("resource"),u=0;u<s.length;u++){var d=s[u],m=d.transferSize,b=d.initiatorType,E=d.duration;if(m&&E&&Wb(b)){for(b=0,E=d.responseEnd,u+=1;u<s.length;u++){var j=s[u],H=j.startTime;if(H>E)break;var te=j.transferSize,re=j.initiatorType;te&&Wb(re)&&(j=j.responseEnd,b+=te*(j<E?1:(E-H)/(j-H)))}if(--u,r+=8*(m+b)/(d.duration/1e3),n++,10<n)break}}if(0<n)return r/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Gh=null,Yh=null;function Yu(n){return n.nodeType===9?n:n.ownerDocument}function Qb(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Zb(n,r){if(n===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&r==="foreignObject"?0:n}function Xh(n,r){return n==="textarea"||n==="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 Wh=null;function wR(){var n=window.event;return n&&n.type==="popstate"?n===Wh?!1:(Wh=n,!0):(Wh=null,!1)}var Jb=typeof setTimeout=="function"?setTimeout:void 0,ER=typeof clearTimeout=="function"?clearTimeout:void 0,e1=typeof Promise=="function"?Promise:void 0,AR=typeof queueMicrotask=="function"?queueMicrotask:typeof e1<"u"?function(n){return e1.resolve(null).then(n).catch(RR)}:Jb;function RR(n){setTimeout(function(){throw n})}function Dr(n){return n==="head"}function t1(n,r){var s=r,u=0;do{var d=s.nextSibling;if(n.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"||s==="/&"){if(u===0){n.removeChild(d),fs(r);return}u--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")u++;else if(s==="html")ko(n.ownerDocument.documentElement);else if(s==="head"){s=n.ownerDocument.head,ko(s);for(var m=s.firstChild;m;){var b=m.nextSibling,E=m.nodeName;m[Zs]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&m.rel.toLowerCase()==="stylesheet"||s.removeChild(m),m=b}}else s==="body"&&ko(n.ownerDocument.body);s=d}while(s);fs(r)}function n1(n,r){var s=n;n=0;do{var u=s.nextSibling;if(s.nodeType===1?r?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(r?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),u&&u.nodeType===8)if(s=u.data,s==="/$"){if(n===0)break;n--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||n++;s=u}while(s)}function Qh(n){var r=n.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var s=r;switch(r=r.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Qh(s),nd(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}n.removeChild(s)}}function OR(n,r,s,u){for(;n.nodeType===1;){var d=s;if(n.nodeName.toLowerCase()!==r.toLowerCase()){if(!u&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(u){if(!n[Zs])switch(r){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(m=n.getAttribute("rel"),m==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(m!==d.rel||n.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||n.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||n.getAttribute("title")!==(d.title==null?null:d.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(m=n.getAttribute("src"),(m!==(d.src==null?null:d.src)||n.getAttribute("type")!==(d.type==null?null:d.type)||n.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&m&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(r==="input"&&n.type==="hidden"){var m=d.name==null?null:""+d.name;if(d.type==="hidden"&&n.getAttribute("name")===m)return n}else return n;if(n=Wn(n.nextSibling),n===null)break}return null}function MR(n,r,s){if(r==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!s||(n=Wn(n.nextSibling),n===null))return null;return n}function i1(n,r){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=Wn(n.nextSibling),n===null))return null;return n}function Zh(n){return n.data==="$?"||n.data==="$~"}function Jh(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function DR(n,r){var s=n.ownerDocument;if(n.data==="$~")n._reactRetry=r;else if(n.data!=="$?"||s.readyState!=="loading")r();else{var u=function(){r(),s.removeEventListener("DOMContentLoaded",u)};s.addEventListener("DOMContentLoaded",u),n._reactRetry=u}}function Wn(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return n}var ep=null;function r1(n){n=n.nextSibling;for(var r=0;n;){if(n.nodeType===8){var s=n.data;if(s==="/$"||s==="/&"){if(r===0)return Wn(n.nextSibling);r--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||r++}n=n.nextSibling}return null}function a1(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(r===0)return n;r--}else s!=="/$"&&s!=="/&"||r++}n=n.previousSibling}return null}function s1(n,r,s){switch(r=Yu(s),n){case"html":if(n=r.documentElement,!n)throw Error(a(452));return n;case"head":if(n=r.head,!n)throw Error(a(453));return n;case"body":if(n=r.body,!n)throw Error(a(454));return n;default:throw Error(a(451))}}function ko(n){for(var r=n.attributes;r.length;)n.removeAttributeNode(r[0]);nd(n)}var Qn=new Map,o1=new Set;function Xu(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var tr=I.d;I.d={f:_R,r:NR,D:LR,C:zR,L:kR,m:PR,X:BR,S:jR,M:UR};function _R(){var n=tr.f(),r=Vu();return n||r}function NR(n){var r=Da(n);r!==null&&r.tag===5&&r.type==="form"?wv(r):tr.r(n)}var ls=typeof document>"u"?null:document;function l1(n,r,s){var u=ls;if(u&&typeof r=="string"&&r){var d=In(r);d='link[rel="'+n+'"][href="'+d+'"]',typeof s=="string"&&(d+='[crossorigin="'+s+'"]'),o1.has(d)||(o1.add(d),n={rel:n,crossOrigin:s,href:r},u.querySelector(d)===null&&(r=u.createElement("link"),nn(r,"link",n),Yt(r),u.head.appendChild(r)))}}function LR(n){tr.D(n),l1("dns-prefetch",n,null)}function zR(n,r){tr.C(n,r),l1("preconnect",n,r)}function kR(n,r,s){tr.L(n,r,s);var u=ls;if(u&&n&&r){var d='link[rel="preload"][as="'+In(r)+'"]';r==="image"&&s&&s.imageSrcSet?(d+='[imagesrcset="'+In(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(d+='[imagesizes="'+In(s.imageSizes)+'"]')):d+='[href="'+In(n)+'"]';var m=d;switch(r){case"style":m=us(n);break;case"script":m=cs(n)}Qn.has(m)||(n=y({rel:"preload",href:r==="image"&&s&&s.imageSrcSet?void 0:n,as:r},s),Qn.set(m,n),u.querySelector(d)!==null||r==="style"&&u.querySelector(Po(m))||r==="script"&&u.querySelector(jo(m))||(r=u.createElement("link"),nn(r,"link",n),Yt(r),u.head.appendChild(r)))}}function PR(n,r){tr.m(n,r);var s=ls;if(s&&n){var u=r&&typeof r.as=="string"?r.as:"script",d='link[rel="modulepreload"][as="'+In(u)+'"][href="'+In(n)+'"]',m=d;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=cs(n)}if(!Qn.has(m)&&(n=y({rel:"modulepreload",href:n},r),Qn.set(m,n),s.querySelector(d)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(jo(m)))return}u=s.createElement("link"),nn(u,"link",n),Yt(u),s.head.appendChild(u)}}}function jR(n,r,s){tr.S(n,r,s);var u=ls;if(u&&n){var d=_a(u).hoistableStyles,m=us(n);r=r||"default";var b=d.get(m);if(!b){var E={loading:0,preload:null};if(b=u.querySelector(Po(m)))E.loading=5;else{n=y({rel:"stylesheet",href:n,"data-precedence":r},s),(s=Qn.get(m))&&tp(n,s);var j=b=u.createElement("link");Yt(j),nn(j,"link",n),j._p=new Promise(function(H,te){j.onload=H,j.onerror=te}),j.addEventListener("load",function(){E.loading|=1}),j.addEventListener("error",function(){E.loading|=2}),E.loading|=4,Wu(b,r,u)}b={type:"stylesheet",instance:b,count:1,state:E},d.set(m,b)}}}function BR(n,r){tr.X(n,r);var s=ls;if(s&&n){var u=_a(s).hoistableScripts,d=cs(n),m=u.get(d);m||(m=s.querySelector(jo(d)),m||(n=y({src:n,async:!0},r),(r=Qn.get(d))&&np(n,r),m=s.createElement("script"),Yt(m),nn(m,"link",n),s.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(d,m))}}function UR(n,r){tr.M(n,r);var s=ls;if(s&&n){var u=_a(s).hoistableScripts,d=cs(n),m=u.get(d);m||(m=s.querySelector(jo(d)),m||(n=y({src:n,async:!0,type:"module"},r),(r=Qn.get(d))&&np(n,r),m=s.createElement("script"),Yt(m),nn(m,"link",n),s.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(d,m))}}function u1(n,r,s,u){var d=(d=he.current)?Xu(d):null;if(!d)throw Error(a(446));switch(n){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(r=us(s.href),s=_a(d).hoistableStyles,u=s.get(r),u||(u={type:"style",instance:null,count:0,state:null},s.set(r,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){n=us(s.href);var m=_a(d).hoistableStyles,b=m.get(n);if(b||(d=d.ownerDocument||d,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(n,b),(m=d.querySelector(Po(n)))&&!m._p&&(b.instance=m,b.state.loading=5),Qn.has(n)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Qn.set(n,s),m||VR(d,n,s,b.state))),r&&u===null)throw Error(a(528,""));return b}if(r&&u!==null)throw Error(a(529,""));return null;case"script":return r=s.async,s=s.src,typeof s=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=cs(s),s=_a(d).hoistableScripts,u=s.get(r),u||(u={type:"script",instance:null,count:0,state:null},s.set(r,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,n))}}function us(n){return'href="'+In(n)+'"'}function Po(n){return'link[rel="stylesheet"]['+n+"]"}function c1(n){return y({},n,{"data-precedence":n.precedence,precedence:null})}function VR(n,r,s,u){n.querySelector('link[rel="preload"][as="style"]['+r+"]")?u.loading=1:(r=n.createElement("link"),u.preload=r,r.addEventListener("load",function(){return u.loading|=1}),r.addEventListener("error",function(){return u.loading|=2}),nn(r,"link",s),Yt(r),n.head.appendChild(r))}function cs(n){return'[src="'+In(n)+'"]'}function jo(n){return"script[async]"+n}function f1(n,r,s){if(r.count++,r.instance===null)switch(r.type){case"style":var u=n.querySelector('style[data-href~="'+In(s.href)+'"]');if(u)return r.instance=u,Yt(u),u;var d=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return u=(n.ownerDocument||n).createElement("style"),Yt(u),nn(u,"style",d),Wu(u,s.precedence,n),r.instance=u;case"stylesheet":d=us(s.href);var m=n.querySelector(Po(d));if(m)return r.state.loading|=4,r.instance=m,Yt(m),m;u=c1(s),(d=Qn.get(d))&&tp(u,d),m=(n.ownerDocument||n).createElement("link"),Yt(m);var b=m;return b._p=new Promise(function(E,j){b.onload=E,b.onerror=j}),nn(m,"link",u),r.state.loading|=4,Wu(m,s.precedence,n),r.instance=m;case"script":return m=cs(s.src),(d=n.querySelector(jo(m)))?(r.instance=d,Yt(d),d):(u=s,(d=Qn.get(m))&&(u=y({},s),np(u,d)),n=n.ownerDocument||n,d=n.createElement("script"),Yt(d),nn(d,"link",u),n.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,Wu(u,s.precedence,n));return r.instance}function Wu(n,r,s){for(var u=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=u.length?u[u.length-1]:null,m=d,b=0;b<u.length;b++){var E=u[b];if(E.dataset.precedence===r)m=E;else if(m!==d)break}m?m.parentNode.insertBefore(n,m.nextSibling):(r=s.nodeType===9?s.head:s,r.insertBefore(n,r.firstChild))}function tp(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.title==null&&(n.title=r.title)}function np(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.integrity==null&&(n.integrity=r.integrity)}var Qu=null;function d1(n,r,s){if(Qu===null){var u=new Map,d=Qu=new Map;d.set(s,u)}else d=Qu,u=d.get(s),u||(u=new Map,d.set(s,u));if(u.has(n))return u;for(u.set(n,null),s=s.getElementsByTagName(n),d=0;d<s.length;d++){var m=s[d];if(!(m[Zs]||m[Zt]||n==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var b=m.getAttribute(r)||"";b=n+b;var E=u.get(b);E?E.push(m):u.set(b,[m])}}return u}function h1(n,r,s){n=n.ownerDocument||n,n.head.insertBefore(s,r==="title"?n.querySelector("head > title"):null)}function $R(n,r,s){if(s===1||r.itemProp!=null)return!1;switch(n){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 n=r.disabled,typeof r.precedence=="string"&&n==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 p1(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function HR(n,r,s,u){if(s.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var d=us(u.href),m=r.querySelector(Po(d));if(m){r=m._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(n.count++,n=Zu.bind(n),r.then(n,n)),s.state.loading|=4,s.instance=m,Yt(m);return}m=r.ownerDocument||r,u=c1(u),(d=Qn.get(d))&&tp(u,d),m=m.createElement("link"),Yt(m);var b=m;b._p=new Promise(function(E,j){b.onload=E,b.onerror=j}),nn(m,"link",u),s.instance=m}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(s,r),(r=s.state.preload)&&(s.state.loading&3)===0&&(n.count++,s=Zu.bind(n),r.addEventListener("load",s),r.addEventListener("error",s))}}var ip=0;function IR(n,r){return n.stylesheets&&n.count===0&&ec(n,n.stylesheets),0<n.count||0<n.imgCount?function(s){var u=setTimeout(function(){if(n.stylesheets&&ec(n,n.stylesheets),n.unsuspend){var m=n.unsuspend;n.unsuspend=null,m()}},6e4+r);0<n.imgBytes&&ip===0&&(ip=62500*TR());var d=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&ec(n,n.stylesheets),n.unsuspend)){var m=n.unsuspend;n.unsuspend=null,m()}},(n.imgBytes>ip?50:800)+r);return n.unsuspend=s,function(){n.unsuspend=null,clearTimeout(u),clearTimeout(d)}}:null}function Zu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ec(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Ju=null;function ec(n,r){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Ju=new Map,r.forEach(FR,n),Ju=null,Zu.call(n))}function FR(n,r){if(!(r.state.loading&4)){var s=Ju.get(n);if(s)var u=s.get(null);else{s=new Map,Ju.set(n,s);for(var d=n.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<d.length;m++){var b=d[m];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(s.set(b.dataset.precedence,b),u=b)}u&&s.set(null,u)}d=r.instance,b=d.getAttribute("data-precedence"),m=s.get(b)||u,m===u&&s.set(null,d),s.set(b,d),this.count++,u=Zu.bind(this),d.addEventListener("load",u),d.addEventListener("error",u),m?m.parentNode.insertBefore(d,m.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(d,n.firstChild)),r.state.loading|=4}}var Bo={$$typeof:R,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function qR(n,r,s,u,d,m,b,E,j){this.tag=1,this.containerInfo=n,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=Zf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zf(0),this.hiddenUpdates=Zf(null),this.identifierPrefix=u,this.onUncaughtError=d,this.onCaughtError=m,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function m1(n,r,s,u,d,m,b,E,j,H,te,re){return n=new qR(n,r,s,b,j,H,te,re,E),r=1,m===!0&&(r|=24),m=Dn(3,null,null,r),n.current=m,m.stateNode=n,r=Pd(),r.refCount++,n.pooledCache=r,r.refCount++,m.memoizedState={element:u,isDehydrated:s,cache:r},Vd(m),n}function g1(n){return n?(n=$a,n):$a}function y1(n,r,s,u,d,m){d=g1(d),u.context===null?u.context=d:u.pendingContext=d,u=br(r),u.payload={element:s},m=m===void 0?null:m,m!==null&&(u.callback=m),s=Sr(n,u,r),s!==null&&(Tn(s,n,r),go(s,n,r))}function v1(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<r?s:r}}function rp(n,r){v1(n,r),(n=n.alternate)&&v1(n,r)}function b1(n){if(n.tag===13||n.tag===31){var r=Xr(n,67108864);r!==null&&Tn(r,n,67108864),rp(n,67108864)}}function S1(n){if(n.tag===13||n.tag===31){var r=kn();r=Jf(r);var s=Xr(n,r);s!==null&&Tn(s,n,r),rp(n,r)}}var tc=!0;function KR(n,r,s,u){var d=k.T;k.T=null;var m=I.p;try{I.p=2,ap(n,r,s,u)}finally{I.p=m,k.T=d}}function GR(n,r,s,u){var d=k.T;k.T=null;var m=I.p;try{I.p=8,ap(n,r,s,u)}finally{I.p=m,k.T=d}}function ap(n,r,s,u){if(tc){var d=sp(u);if(d===null)qh(n,r,u,nc,s),C1(n,u);else if(XR(d,n,r,s,u))u.stopPropagation();else if(C1(n,u),r&4&&-1<YR.indexOf(n)){for(;d!==null;){var m=Da(d);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var b=Fr(m.pendingLanes);if(b!==0){var E=m;for(E.pendingLanes|=2,E.entangledLanes|=2;b;){var j=1<<31-ln(b);E.entanglements[1]|=j,b&=~j}Ti(m),(Ge&6)===0&&(Bu=Le()+500,No(0))}}break;case 31:case 13:E=Xr(m,2),E!==null&&Tn(E,m,2),Vu(),rp(m,2)}if(m=sp(u),m===null&&qh(n,r,u,nc,s),m===d)break;d=m}d!==null&&u.stopPropagation()}else qh(n,r,u,null,s)}}function sp(n){return n=ld(n),op(n)}var nc=null;function op(n){if(nc=null,n=Ma(n),n!==null){var r=l(n);if(r===null)n=null;else{var s=r.tag;if(s===13){if(n=c(r),n!==null)return n;n=null}else if(s===31){if(n=f(r),n!==null)return n;n=null}else if(s===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null)}}return nc=n,null}function x1(n){switch(n){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(ji()){case mt:return 2;case $e:return 8;case Ct:case Ht:return 32;case On:return 268435456;default:return 32}default:return 32}}var lp=!1,_r=null,Nr=null,Lr=null,Uo=new Map,Vo=new Map,zr=[],YR="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 C1(n,r){switch(n){case"focusin":case"focusout":_r=null;break;case"dragenter":case"dragleave":Nr=null;break;case"mouseover":case"mouseout":Lr=null;break;case"pointerover":case"pointerout":Uo.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vo.delete(r.pointerId)}}function $o(n,r,s,u,d,m){return n===null||n.nativeEvent!==m?(n={blockedOn:r,domEventName:s,eventSystemFlags:u,nativeEvent:m,targetContainers:[d]},r!==null&&(r=Da(r),r!==null&&b1(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,d!==null&&r.indexOf(d)===-1&&r.push(d),n)}function XR(n,r,s,u,d){switch(r){case"focusin":return _r=$o(_r,n,r,s,u,d),!0;case"dragenter":return Nr=$o(Nr,n,r,s,u,d),!0;case"mouseover":return Lr=$o(Lr,n,r,s,u,d),!0;case"pointerover":var m=d.pointerId;return Uo.set(m,$o(Uo.get(m)||null,n,r,s,u,d)),!0;case"gotpointercapture":return m=d.pointerId,Vo.set(m,$o(Vo.get(m)||null,n,r,s,u,d)),!0}return!1}function T1(n){var r=Ma(n.target);if(r!==null){var s=l(r);if(s!==null){if(r=s.tag,r===13){if(r=c(s),r!==null){n.blockedOn=r,jy(n.priority,function(){S1(s)});return}}else if(r===31){if(r=f(s),r!==null){n.blockedOn=r,jy(n.priority,function(){S1(s)});return}}else if(r===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function ic(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var s=sp(n.nativeEvent);if(s===null){s=n.nativeEvent;var u=new s.constructor(s.type,s);od=u,s.target.dispatchEvent(u),od=null}else return r=Da(s),r!==null&&b1(r),n.blockedOn=s,!1;r.shift()}return!0}function w1(n,r,s){ic(n)&&s.delete(r)}function WR(){lp=!1,_r!==null&&ic(_r)&&(_r=null),Nr!==null&&ic(Nr)&&(Nr=null),Lr!==null&&ic(Lr)&&(Lr=null),Uo.forEach(w1),Vo.forEach(w1)}function rc(n,r){n.blockedOn===r&&(n.blockedOn=null,lp||(lp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,WR)))}var ac=null;function E1(n){ac!==n&&(ac=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ac===n&&(ac=null);for(var r=0;r<n.length;r+=3){var s=n[r],u=n[r+1],d=n[r+2];if(typeof u!="function"){if(op(u||s)===null)continue;break}var m=Da(s);m!==null&&(n.splice(r,3),r-=3,sh(m,{pending:!0,data:d,method:s.method,action:u},u,d))}}))}function fs(n){function r(j){return rc(j,n)}_r!==null&&rc(_r,n),Nr!==null&&rc(Nr,n),Lr!==null&&rc(Lr,n),Uo.forEach(r),Vo.forEach(r);for(var s=0;s<zr.length;s++){var u=zr[s];u.blockedOn===n&&(u.blockedOn=null)}for(;0<zr.length&&(s=zr[0],s.blockedOn===null);)T1(s),s.blockedOn===null&&zr.shift();if(s=(n.ownerDocument||n).$$reactFormReplay,s!=null)for(u=0;u<s.length;u+=3){var d=s[u],m=s[u+1],b=d[yn]||null;if(typeof m=="function")b||E1(s);else if(b){var E=null;if(m&&m.hasAttribute("formAction")){if(d=m,b=m[yn]||null)E=b.formAction;else if(op(d)!==null)continue}else E=b.action;typeof E=="function"?s[u+1]=E:(s.splice(u,3),u-=3),E1(s)}}}function A1(){function n(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(b){return d=b})},focusReset:"manual",scroll:"manual"})}function r(){d!==null&&(d(),d=null),u||setTimeout(s,20)}function s(){if(!u&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,d=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(s,100),function(){u=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),d!==null&&(d(),d=null)}}}function up(n){this._internalRoot=n}sc.prototype.render=up.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(a(409));var s=r.current,u=kn();y1(s,u,n,r,null,null)},sc.prototype.unmount=up.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;y1(n.current,2,null,n,null,null),Vu(),r[Oa]=null}};function sc(n){this._internalRoot=n}sc.prototype.unstable_scheduleHydration=function(n){if(n){var r=Py();n={blockedOn:null,target:n,priority:r};for(var s=0;s<zr.length&&r!==0&&r<zr[s].priority;s++);zr.splice(s,0,n),s===0&&T1(n)}};var R1=t.version;if(R1!=="19.2.1")throw Error(a(527,R1,"19.2.1"));I.findDOMNode=function(n){var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(a(188)):(n=Object.keys(n).join(","),Error(a(268,n)));return n=p(r),n=n!==null?g(n):null,n=n===null?null:n.stateNode,n};var QR={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{$n=oc.inject(QR),Qt=oc}catch{}}return Io.createRoot=function(n,r){if(!o(n))throw Error(a(299));var s=!1,u="",d=zv,m=kv,b=Pv;return r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(m=r.onCaughtError),r.onRecoverableError!==void 0&&(b=r.onRecoverableError)),r=m1(n,1,!1,null,null,s,u,null,d,m,b,A1),n[Oa]=r.current,Fh(n),new up(r)},Io.hydrateRoot=function(n,r,s){if(!o(n))throw Error(a(299));var u=!1,d="",m=zv,b=kv,E=Pv,j=null;return s!=null&&(s.unstable_strictMode===!0&&(u=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onUncaughtError!==void 0&&(m=s.onUncaughtError),s.onCaughtError!==void 0&&(b=s.onCaughtError),s.onRecoverableError!==void 0&&(E=s.onRecoverableError),s.formState!==void 0&&(j=s.formState)),r=m1(n,1,!0,r,s??null,u,d,j,m,b,E,A1),r.context=g1(null),s=r.current,u=kn(),u=Jf(u),d=br(u),d.callback=null,Sr(s,d,u),s=u,r.current.lanes=s,Qs(r,s),Ti(r),n[Oa]=r.current,Fh(n),new sc(r)},Io.version="19.2.1",Io}var j1;function oO(){if(j1)return dp.exports;j1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),dp.exports=sO(),dp.exports}var lO=oO();const uO=ug(lO),hl={black:"#000",white:"#fff"},ds={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},hs={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},ps={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},ms={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},gs={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Fo={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},cO={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"};function sr(e,...t){const i=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(a=>i.searchParams.append("args[]",a)),`Minified MUI error #${e}; visit ${i} for the full message.`}const _i="$$material";function Vc(){return Vc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},Vc.apply(null,arguments)}function fO(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function dO(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var hO=(function(){function e(i){var a=this;this._insertTag=function(o){var l;a.tags.length===0?a.insertionPoint?l=a.insertionPoint.nextSibling:a.prepend?l=a.container.firstChild:l=a.before:l=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(o,l),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 t=e.prototype;return t.hydrate=function(a){a.forEach(this._insertTag)},t.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(dO(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var l=fO(o);try{l.insertRule(a,l.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(a));this.ctr++},t.flush=function(){this.tags.forEach(function(a){var o;return(o=a.parentNode)==null?void 0:o.removeChild(a)}),this.tags=[],this.ctr=0},e})(),cn="-ms-",$c="-moz-",Ye="-webkit-",sT="comm",cg="rule",fg="decl",pO="@import",oT="@keyframes",mO="@layer",gO=Math.abs,mf=String.fromCharCode,yO=Object.assign;function vO(e,t){return sn(e,0)^45?(((t<<2^sn(e,0))<<2^sn(e,1))<<2^sn(e,2))<<2^sn(e,3):0}function lT(e){return e.trim()}function bO(e,t){return(e=t.exec(e))?e[0]:e}function Xe(e,t,i){return e.replace(t,i)}function im(e,t){return e.indexOf(t)}function sn(e,t){return e.charCodeAt(t)|0}function pl(e,t,i){return e.slice(t,i)}function Ri(e){return e.length}function dg(e){return e.length}function lc(e,t){return t.push(e),e}function SO(e,t){return e.map(t).join("")}var gf=1,zs=1,uT=0,Rn=0,Vt=0,$s="";function yf(e,t,i,a,o,l,c){return{value:e,root:t,parent:i,type:a,props:o,children:l,line:gf,column:zs,length:c,return:""}}function qo(e,t){return yO(yf("",null,null,"",null,null,0),e,{length:-e.length},t)}function xO(){return Vt}function CO(){return Vt=Rn>0?sn($s,--Rn):0,zs--,Vt===10&&(zs=1,gf--),Vt}function Bn(){return Vt=Rn<uT?sn($s,Rn++):0,zs++,Vt===10&&(zs=1,gf++),Vt}function Ni(){return sn($s,Rn)}function Ec(){return Rn}function Ml(e,t){return pl($s,e,t)}function ml(e){switch(e){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 cT(e){return gf=zs=1,uT=Ri($s=e),Rn=0,[]}function fT(e){return $s="",e}function Ac(e){return lT(Ml(Rn-1,rm(e===91?e+2:e===40?e+1:e)))}function TO(e){for(;(Vt=Ni())&&Vt<33;)Bn();return ml(e)>2||ml(Vt)>3?"":" "}function wO(e,t){for(;--t&&Bn()&&!(Vt<48||Vt>102||Vt>57&&Vt<65||Vt>70&&Vt<97););return Ml(e,Ec()+(t<6&&Ni()==32&&Bn()==32))}function rm(e){for(;Bn();)switch(Vt){case e:return Rn;case 34:case 39:e!==34&&e!==39&&rm(Vt);break;case 40:e===41&&rm(e);break;case 92:Bn();break}return Rn}function EO(e,t){for(;Bn()&&e+Vt!==57;)if(e+Vt===84&&Ni()===47)break;return"/*"+Ml(t,Rn-1)+"*"+mf(e===47?e:Bn())}function AO(e){for(;!ml(Ni());)Bn();return Ml(e,Rn)}function RO(e){return fT(Rc("",null,null,null,[""],e=cT(e),0,[0],e))}function Rc(e,t,i,a,o,l,c,f,h){for(var p=0,g=0,y=c,v=0,x=0,S=0,C=1,T=1,D=1,N=0,R="",w=o,M=l,L=a,P=R;T;)switch(S=N,N=Bn()){case 40:if(S!=108&&sn(P,y-1)==58){im(P+=Xe(Ac(N),"&","&\f"),"&\f")!=-1&&(D=-1);break}case 34:case 39:case 91:P+=Ac(N);break;case 9:case 10:case 13:case 32:P+=TO(S);break;case 92:P+=wO(Ec()-1,7);continue;case 47:switch(Ni()){case 42:case 47:lc(OO(EO(Bn(),Ec()),t,i),h);break;default:P+="/"}break;case 123*C:f[p++]=Ri(P)*D;case 125*C:case 59:case 0:switch(N){case 0:case 125:T=0;case 59+g:D==-1&&(P=Xe(P,/\f/g,"")),x>0&&Ri(P)-y&&lc(x>32?U1(P+";",a,i,y-1):U1(Xe(P," ","")+";",a,i,y-2),h);break;case 59:P+=";";default:if(lc(L=B1(P,t,i,p,g,o,f,R,w=[],M=[],y),l),N===123)if(g===0)Rc(P,t,L,L,w,l,y,f,M);else switch(v===99&&sn(P,3)===110?100:v){case 100:case 108:case 109:case 115:Rc(e,L,L,a&&lc(B1(e,L,L,0,0,o,f,R,o,w=[],y),M),o,M,y,f,a?w:M);break;default:Rc(P,L,L,L,[""],M,0,f,M)}}p=g=x=0,C=D=1,R=P="",y=c;break;case 58:y=1+Ri(P),x=S;default:if(C<1){if(N==123)--C;else if(N==125&&C++==0&&CO()==125)continue}switch(P+=mf(N),N*C){case 38:D=g>0?1:(P+="\f",-1);break;case 44:f[p++]=(Ri(P)-1)*D,D=1;break;case 64:Ni()===45&&(P+=Ac(Bn())),v=Ni(),g=y=Ri(R=P+=AO(Ec())),N++;break;case 45:S===45&&Ri(P)==2&&(C=0)}}return l}function B1(e,t,i,a,o,l,c,f,h,p,g){for(var y=o-1,v=o===0?l:[""],x=dg(v),S=0,C=0,T=0;S<a;++S)for(var D=0,N=pl(e,y+1,y=gO(C=c[S])),R=e;D<x;++D)(R=lT(C>0?v[D]+" "+N:Xe(N,/&\f/g,v[D])))&&(h[T++]=R);return yf(e,t,i,o===0?cg:f,h,p,g)}function OO(e,t,i){return yf(e,t,i,sT,mf(xO()),pl(e,2,-2),0)}function U1(e,t,i,a){return yf(e,t,i,fg,pl(e,0,a),pl(e,a+1,-1),a)}function Ds(e,t){for(var i="",a=dg(e),o=0;o<a;o++)i+=t(e[o],o,e,t)||"";return i}function MO(e,t,i,a){switch(e.type){case mO:if(e.children.length)break;case pO:case fg:return e.return=e.return||e.value;case sT:return"";case oT:return e.return=e.value+"{"+Ds(e.children,a)+"}";case cg:e.value=e.props.join(",")}return Ri(i=Ds(e.children,a))?e.return=e.value+"{"+i+"}":""}function DO(e){var t=dg(e);return function(i,a,o,l){for(var c="",f=0;f<t;f++)c+=e[f](i,a,o,l)||"";return c}}function _O(e){return function(t){t.root||(t=t.return)&&e(t)}}function dT(e){var t=Object.create(null);return function(i){return t[i]===void 0&&(t[i]=e(i)),t[i]}}var NO=function(t,i,a){for(var o=0,l=0;o=l,l=Ni(),o===38&&l===12&&(i[a]=1),!ml(l);)Bn();return Ml(t,Rn)},LO=function(t,i){var a=-1,o=44;do switch(ml(o)){case 0:o===38&&Ni()===12&&(i[a]=1),t[a]+=NO(Rn-1,i,a);break;case 2:t[a]+=Ac(o);break;case 4:if(o===44){t[++a]=Ni()===58?"&\f":"",i[a]=t[a].length;break}default:t[a]+=mf(o)}while(o=Bn());return t},zO=function(t,i){return fT(LO(cT(t),i))},V1=new WeakMap,kO=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var i=t.value,a=t.parent,o=t.column===a.column&&t.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(t.props.length===1&&i.charCodeAt(0)!==58&&!V1.get(a))&&!o){V1.set(t,!0);for(var l=[],c=zO(i,l),f=a.props,h=0,p=0;h<c.length;h++)for(var g=0;g<f.length;g++,p++)t.props[p]=l[h]?c[h].replace(/&\f/g,f[g]):f[g]+" "+c[h]}}},PO=function(t){if(t.type==="decl"){var i=t.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(t.return="",t.value="")}};function hT(e,t){switch(vO(e,t)){case 5103:return Ye+"print-"+e+e;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 Ye+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ye+e+$c+e+cn+e+e;case 6828:case 4268:return Ye+e+cn+e+e;case 6165:return Ye+e+cn+"flex-"+e+e;case 5187:return Ye+e+Xe(e,/(\w+).+(:[^]+)/,Ye+"box-$1$2"+cn+"flex-$1$2")+e;case 5443:return Ye+e+cn+"flex-item-"+Xe(e,/flex-|-self/,"")+e;case 4675:return Ye+e+cn+"flex-line-pack"+Xe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ye+e+cn+Xe(e,"shrink","negative")+e;case 5292:return Ye+e+cn+Xe(e,"basis","preferred-size")+e;case 6060:return Ye+"box-"+Xe(e,"-grow","")+Ye+e+cn+Xe(e,"grow","positive")+e;case 4554:return Ye+Xe(e,/([^-])(transform)/g,"$1"+Ye+"$2")+e;case 6187:return Xe(Xe(Xe(e,/(zoom-|grab)/,Ye+"$1"),/(image-set)/,Ye+"$1"),e,"")+e;case 5495:case 3959:return Xe(e,/(image-set\([^]*)/,Ye+"$1$`$1");case 4968:return Xe(Xe(e,/(.+:)(flex-)?(.*)/,Ye+"box-pack:$3"+cn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ye+e+e;case 4095:case 3583:case 4068:case 2532:return Xe(e,/(.+)-inline(.+)/,Ye+"$1$2")+e;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(Ri(e)-1-t>6)switch(sn(e,t+1)){case 109:if(sn(e,t+4)!==45)break;case 102:return Xe(e,/(.+:)(.+)-([^]+)/,"$1"+Ye+"$2-$3$1"+$c+(sn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~im(e,"stretch")?hT(Xe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(sn(e,t+1)!==115)break;case 6444:switch(sn(e,Ri(e)-3-(~im(e,"!important")&&10))){case 107:return Xe(e,":",":"+Ye)+e;case 101:return Xe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ye+(sn(e,14)===45?"inline-":"")+"box$3$1"+Ye+"$2$3$1"+cn+"$2box$3")+e}break;case 5936:switch(sn(e,t+11)){case 114:return Ye+e+cn+Xe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ye+e+cn+Xe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ye+e+cn+Xe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ye+e+cn+e+e}return e}var jO=function(t,i,a,o){if(t.length>-1&&!t.return)switch(t.type){case fg:t.return=hT(t.value,t.length);break;case oT:return Ds([qo(t,{value:Xe(t.value,"@","@"+Ye)})],o);case cg:if(t.length)return SO(t.props,function(l){switch(bO(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ds([qo(t,{props:[Xe(l,/:(read-\w+)/,":"+$c+"$1")]})],o);case"::placeholder":return Ds([qo(t,{props:[Xe(l,/:(plac\w+)/,":"+Ye+"input-$1")]}),qo(t,{props:[Xe(l,/:(plac\w+)/,":"+$c+"$1")]}),qo(t,{props:[Xe(l,/:(plac\w+)/,cn+"input-$1")]})],o)}return""})}},BO=[jO],UO=function(t){var i=t.key;if(i==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(C){var T=C.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(C),C.setAttribute("data-s",""))})}var o=t.stylisPlugins||BO,l={},c,f=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(C){for(var T=C.getAttribute("data-emotion").split(" "),D=1;D<T.length;D++)l[T[D]]=!0;f.push(C)});var h,p=[kO,PO];{var g,y=[MO,_O(function(C){g.insert(C)})],v=DO(p.concat(o,y)),x=function(T){return Ds(RO(T),v)};h=function(T,D,N,R){g=N,x(T?T+"{"+D.styles+"}":D.styles),R&&(S.inserted[D.name]=!0)}}var S={key:i,sheet:new hO({key:i,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:l,registered:{},insert:h};return S.sheet.hydrate(f),S},gp={exports:{}},We={};var $1;function VO(){if($1)return We;$1=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,S=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,D=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function R(M){if(typeof M=="object"&&M!==null){var L=M.$$typeof;switch(L){case t:switch(M=M.type,M){case h:case p:case a:case l:case o:case y:return M;default:switch(M=M&&M.$$typeof,M){case f:case g:case S:case x:case c:return M;default:return L}}case i:return L}}}function w(M){return R(M)===p}return We.AsyncMode=h,We.ConcurrentMode=p,We.ContextConsumer=f,We.ContextProvider=c,We.Element=t,We.ForwardRef=g,We.Fragment=a,We.Lazy=S,We.Memo=x,We.Portal=i,We.Profiler=l,We.StrictMode=o,We.Suspense=y,We.isAsyncMode=function(M){return w(M)||R(M)===h},We.isConcurrentMode=w,We.isContextConsumer=function(M){return R(M)===f},We.isContextProvider=function(M){return R(M)===c},We.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===t},We.isForwardRef=function(M){return R(M)===g},We.isFragment=function(M){return R(M)===a},We.isLazy=function(M){return R(M)===S},We.isMemo=function(M){return R(M)===x},We.isPortal=function(M){return R(M)===i},We.isProfiler=function(M){return R(M)===l},We.isStrictMode=function(M){return R(M)===o},We.isSuspense=function(M){return R(M)===y},We.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===a||M===p||M===l||M===o||M===y||M===v||typeof M=="object"&&M!==null&&(M.$$typeof===S||M.$$typeof===x||M.$$typeof===c||M.$$typeof===f||M.$$typeof===g||M.$$typeof===T||M.$$typeof===D||M.$$typeof===N||M.$$typeof===C)},We.typeOf=R,We}var H1;function $O(){return H1||(H1=1,gp.exports=VO()),gp.exports}var yp,I1;function HO(){if(I1)return yp;I1=1;var e=$O(),t={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},l={};l[e.ForwardRef]=a,l[e.Memo]=o;function c(S){return e.isMemo(S)?o:l[S.$$typeof]||t}var f=Object.defineProperty,h=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,v=Object.prototype;function x(S,C,T){if(typeof C!="string"){if(v){var D=y(C);D&&D!==v&&x(S,D,T)}var N=h(C);p&&(N=N.concat(p(C)));for(var R=c(S),w=c(C),M=0;M<N.length;++M){var L=N[M];if(!i[L]&&!(T&&T[L])&&!(w&&w[L])&&!(R&&R[L])){var P=g(C,L);try{f(S,L,P)}catch{}}}}return S}return yp=x,yp}HO();var IO=!0;function pT(e,t,i){var a="";return i.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(a+=o+" ")}),a}var hg=function(t,i,a){var o=t.key+"-"+i.name;(a===!1||IO===!1)&&t.registered[o]===void 0&&(t.registered[o]=i.styles)},pg=function(t,i,a){hg(t,i,a);var o=t.key+"-"+i.name;if(t.inserted[i.name]===void 0){var l=i;do t.insert(i===l?"."+o:"",l,t.sheet,!0),l=l.next;while(l!==void 0)}};function FO(e){for(var t=0,i,a=0,o=e.length;o>=4;++a,o-=4)i=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,t=(i&65535)*1540483477+((i>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(a+2)&255)<<16;case 2:t^=(e.charCodeAt(a+1)&255)<<8;case 1:t^=e.charCodeAt(a)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var qO={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},KO=/[A-Z]|^ms/g,GO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,mT=function(t){return t.charCodeAt(1)===45},F1=function(t){return t!=null&&typeof t!="boolean"},vp=dT(function(e){return mT(e)?e:e.replace(KO,"-$&").toLowerCase()}),q1=function(t,i){switch(t){case"animation":case"animationName":if(typeof i=="string")return i.replace(GO,function(a,o,l){return Oi={name:o,styles:l,next:Oi},o})}return qO[t]!==1&&!mT(t)&&typeof i=="number"&&i!==0?i+"px":i};function gl(e,t,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 Oi={name:o.name,styles:o.styles,next:Oi},o.name;var l=i;if(l.styles!==void 0){var c=l.next;if(c!==void 0)for(;c!==void 0;)Oi={name:c.name,styles:c.styles,next:Oi},c=c.next;var f=l.styles+";";return f}return YO(e,t,i)}case"function":{if(e!==void 0){var h=Oi,p=i(e);return Oi=h,gl(e,t,p)}break}}var g=i;if(t==null)return g;var y=t[g];return y!==void 0?y:g}function YO(e,t,i){var a="";if(Array.isArray(i))for(var o=0;o<i.length;o++)a+=gl(e,t,i[o])+";";else for(var l in i){var c=i[l];if(typeof c!="object"){var f=c;t!=null&&t[f]!==void 0?a+=l+"{"+t[f]+"}":F1(f)&&(a+=vp(l)+":"+q1(l,f)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var h=0;h<c.length;h++)F1(c[h])&&(a+=vp(l)+":"+q1(l,c[h])+";");else{var p=gl(e,t,c);switch(l){case"animation":case"animationName":{a+=vp(l)+":"+p+";";break}default:a+=l+"{"+p+"}"}}}return a}var K1=/label:\s*([^\s;{]+)\s*(;|$)/g,Oi;function Dl(e,t,i){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var a=!0,o="";Oi=void 0;var l=e[0];if(l==null||l.raw===void 0)a=!1,o+=gl(i,t,l);else{var c=l;o+=c[0]}for(var f=1;f<e.length;f++)if(o+=gl(i,t,e[f]),a){var h=l;o+=h[f]}K1.lastIndex=0;for(var p="",g;(g=K1.exec(o))!==null;)p+="-"+g[1];var y=FO(o)+p;return{name:y,styles:o,next:Oi}}var XO=function(t){return t()},gT=nm.useInsertionEffect?nm.useInsertionEffect:!1,yT=gT||XO,G1=gT||A.useLayoutEffect,vT=A.createContext(typeof HTMLElement<"u"?UO({key:"css"}):null);vT.Provider;var mg=function(t){return A.forwardRef(function(i,a){var o=A.useContext(vT);return t(i,o,a)})},_l=A.createContext({}),gg={}.hasOwnProperty,am="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",WO=function(t,i){var a={};for(var o in i)gg.call(i,o)&&(a[o]=i[o]);return a[am]=t,a},QO=function(t){var i=t.cache,a=t.serialized,o=t.isStringTag;return hg(i,a,o),yT(function(){return pg(i,a,o)}),null},ZO=mg(function(e,t,i){var a=e.css;typeof a=="string"&&t.registered[a]!==void 0&&(a=t.registered[a]);var o=e[am],l=[a],c="";typeof e.className=="string"?c=pT(t.registered,l,e.className):e.className!=null&&(c=e.className+" ");var f=Dl(l,void 0,A.useContext(_l));c+=t.key+"-"+f.name;var h={};for(var p in e)gg.call(e,p)&&p!=="css"&&p!==am&&(h[p]=e[p]);return h.className=c,i&&(h.ref=i),A.createElement(A.Fragment,null,A.createElement(QO,{cache:t,serialized:f,isStringTag:typeof o=="string"}),A.createElement(o,h))}),JO=ZO,Y1=function(t,i){var a=arguments;if(i==null||!gg.call(i,"css"))return A.createElement.apply(void 0,a);var o=a.length,l=new Array(o);l[0]=JO,l[1]=WO(t,i);for(var c=2;c<o;c++)l[c]=a[c];return A.createElement.apply(null,l)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Y1||(Y1={}));var eM=mg(function(e,t){var i=e.styles,a=Dl([i],void 0,A.useContext(_l)),o=A.useRef();return G1(function(){var l=t.key+"-global",c=new t.sheet.constructor({key:l,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),f=!1,h=document.querySelector('style[data-emotion="'+l+" "+a.name+'"]');return t.sheet.tags.length&&(c.before=t.sheet.tags[0]),h!==null&&(f=!0,h.setAttribute("data-emotion",l),c.hydrate([h])),o.current=[c,f],function(){c.flush()}},[t]),G1(function(){var l=o.current,c=l[0],f=l[1];if(f){l[1]=!1;return}if(a.next!==void 0&&pg(t,a.next,!0),c.tags.length){var h=c.tags[c.tags.length-1].nextElementSibling;c.before=h,c.flush()}t.insert("",a,c,!1)},[t,a.name]),null});function yg(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return Dl(t)}function Nl(){var e=yg.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var tM=/^((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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,nM=dT(function(e){return tM.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),iM=nM,rM=function(t){return t!=="theme"},X1=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?iM:rM},W1=function(t,i,a){var o;if(i){var l=i.shouldForwardProp;o=t.__emotion_forwardProp&&l?function(c){return t.__emotion_forwardProp(c)&&l(c)}:l}return typeof o!="function"&&a&&(o=t.__emotion_forwardProp),o},aM=function(t){var i=t.cache,a=t.serialized,o=t.isStringTag;return hg(i,a,o),yT(function(){return pg(i,a,o)}),null},sM=function e(t,i){var a=t.__emotion_real===t,o=a&&t.__emotion_base||t,l,c;i!==void 0&&(l=i.label,c=i.target);var f=W1(t,i,a),h=f||X1(o),p=!h("as");return function(){var g=arguments,y=a&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&y.push("label:"+l+";"),g[0]==null||g[0].raw===void 0)y.push.apply(y,g);else{var v=g[0];y.push(v[0]);for(var x=g.length,S=1;S<x;S++)y.push(g[S],v[S])}var C=mg(function(T,D,N){var R=p&&T.as||o,w="",M=[],L=T;if(T.theme==null){L={};for(var P in T)L[P]=T[P];L.theme=A.useContext(_l)}typeof T.className=="string"?w=pT(D.registered,M,T.className):T.className!=null&&(w=T.className+" ");var U=Dl(y.concat(M),D.registered,L);w+=D.key+"-"+U.name,c!==void 0&&(w+=" "+c);var G=p&&f===void 0?X1(R):h,Q={};for(var J in T)p&&J==="as"||G(J)&&(Q[J]=T[J]);return Q.className=w,N&&(Q.ref=N),A.createElement(A.Fragment,null,A.createElement(aM,{cache:D,serialized:U,isStringTag:typeof R=="string"}),A.createElement(R,Q))});return C.displayName=l!==void 0?l:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=o,C.__emotion_styles=y,C.__emotion_forwardProp=f,Object.defineProperty(C,"toString",{value:function(){return"."+c}}),C.withComponent=function(T,D){var N=e(T,Vc({},i,D,{shouldForwardProp:W1(C,D,!0)}));return N.apply(void 0,y)},C}},oM=["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"],sm=sM.bind(null);oM.forEach(function(e){sm[e]=sm(e)});function lM(e){return e==null||Object.keys(e).length===0}function bT(e){const{styles:t,defaultTheme:i={}}=e,a=typeof t=="function"?o=>t(lM(o)?i:o):t;return _.jsx(eM,{styles:a})}function ST(e,t){return sm(e,t)}function uM(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Q1=[];function jr(e){return Q1[0]=e,Dl(Q1)}var bp={exports:{}},at={};var Z1;function cM(){if(Z1)return at;Z1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function S(C){if(typeof C=="object"&&C!==null){var T=C.$$typeof;switch(T){case e:switch(C=C.type,C){case i:case o:case a:case h:case p:case v:return C;default:switch(C=C&&C.$$typeof,C){case c:case f:case y:case g:return C;case l:return C;default:return T}}case t:return T}}}return at.ContextConsumer=l,at.ContextProvider=c,at.Element=e,at.ForwardRef=f,at.Fragment=i,at.Lazy=y,at.Memo=g,at.Portal=t,at.Profiler=o,at.StrictMode=a,at.Suspense=h,at.SuspenseList=p,at.isContextConsumer=function(C){return S(C)===l},at.isContextProvider=function(C){return S(C)===c},at.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===e},at.isForwardRef=function(C){return S(C)===f},at.isFragment=function(C){return S(C)===i},at.isLazy=function(C){return S(C)===y},at.isMemo=function(C){return S(C)===g},at.isPortal=function(C){return S(C)===t},at.isProfiler=function(C){return S(C)===o},at.isStrictMode=function(C){return S(C)===a},at.isSuspense=function(C){return S(C)===h},at.isSuspenseList=function(C){return S(C)===p},at.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===i||C===o||C===a||C===h||C===p||typeof C=="object"&&C!==null&&(C.$$typeof===y||C.$$typeof===g||C.$$typeof===c||C.$$typeof===l||C.$$typeof===f||C.$$typeof===x||C.getModuleId!==void 0)},at.typeOf=S,at}var J1;function fM(){return J1||(J1=1,bp.exports=cM()),bp.exports}var xT=fM();function Mi(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function CT(e){if(A.isValidElement(e)||xT.isValidElementType(e)||!Mi(e))return e;const t={};return Object.keys(e).forEach(i=>{t[i]=CT(e[i])}),t}function Wt(e,t,i={clone:!0}){const a=i.clone?{...e}:e;return Mi(e)&&Mi(t)&&Object.keys(t).forEach(o=>{A.isValidElement(t[o])||xT.isValidElementType(t[o])?a[o]=t[o]:Mi(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Mi(e[o])?a[o]=Wt(e[o],t[o],i):i.clone?a[o]=Mi(t[o])?CT(t[o]):t[o]:a[o]=t[o]}),a}const dM=e=>{const t=Object.keys(e).map(i=>({key:i,val:e[i]}))||[];return t.sort((i,a)=>i.val-a.val),t.reduce((i,a)=>({...i,[a.key]:a.val}),{})};function hM(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:a=5,...o}=e,l=dM(t),c=Object.keys(l);function f(v){return`@media (min-width:${typeof t[v]=="number"?t[v]:v}${i})`}function h(v){return`@media (max-width:${(typeof t[v]=="number"?t[v]:v)-a/100}${i})`}function p(v,x){const S=c.indexOf(x);return`@media (min-width:${typeof t[v]=="number"?t[v]:v}${i}) and (max-width:${(S!==-1&&typeof t[c[S]]=="number"?t[c[S]]:x)-a/100}${i})`}function g(v){return c.indexOf(v)+1<c.length?p(v,c[c.indexOf(v)+1]):f(v)}function y(v){const x=c.indexOf(v);return x===0?f(c[1]):x===c.length-1?h(c[x]):p(v,c[c.indexOf(v)+1]).replace("@media","@media not all and")}return{keys:c,values:l,up:f,down:h,between:p,only:g,not:y,unit:i,...o}}function eS(e,t){if(!e.containerQueries)return t;const i=Object.keys(t).filter(a=>a.startsWith("@container")).sort((a,o)=>{const l=/min-width:\s*([0-9.]+)/;return+(a.match(l)?.[1]||0)-+(o.match(l)?.[1]||0)});return i.length?i.reduce((a,o)=>{const l=t[o];return delete a[o],a[o]=l,a},{...t}):t}function pM(e,t){return t==="@"||t.startsWith("@")&&(e.some(i=>t.startsWith(`@${i}`))||!!t.match(/^@\d/))}function mM(e,t){const i=t.match(/^@([^/]+)?\/?(.+)?$/);if(!i)return null;const[,a,o]=i,l=Number.isNaN(+a)?a||0:+a;return e.containerQueries(o).up(l)}function gM(e){const t=(l,c)=>l.replace("@media",c?`@container ${c}`:"@container");function i(l,c){l.up=(...f)=>t(e.breakpoints.up(...f),c),l.down=(...f)=>t(e.breakpoints.down(...f),c),l.between=(...f)=>t(e.breakpoints.between(...f),c),l.only=(...f)=>t(e.breakpoints.only(...f),c),l.not=(...f)=>{const h=t(e.breakpoints.not(...f),c);return h.includes("not all and")?h.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):h}}const a={},o=l=>(i(a,l),a);return i(o),{...e,containerQueries:o}}const yM={borderRadius:4};function al(e,t){return t?Wt(e,t,{clone:!1}):e}const vf={xs:0,sm:600,md:900,lg:1200,xl:1536},tS={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${vf[e]}px)`},vM={containerQueries:e=>({up:t=>{let i=typeof t=="number"?t:vf[t]||t;return typeof i=="number"&&(i=`${i}px`),e?`@container ${e} (min-width:${i})`:`@container (min-width:${i})`}})};function mi(e,t,i){const a=e.theme||{};if(Array.isArray(t)){const l=a.breakpoints||tS;return t.reduce((c,f,h)=>(c[l.up(l.keys[h])]=i(t[h]),c),{})}if(typeof t=="object"){const l=a.breakpoints||tS;return Object.keys(t).reduce((c,f)=>{if(pM(l.keys,f)){const h=mM(a.containerQueries?a:vM,f);h&&(c[h]=i(t[f],f))}else if(Object.keys(l.values||vf).includes(f)){const h=l.up(f);c[h]=i(t[f],f)}else{const h=f;c[h]=t[h]}return c},{})}return i(t)}function TT(e={}){return e.keys?.reduce((i,a)=>{const o=e.up(a);return i[o]={},i},{})||{}}function om(e,t){return e.reduce((i,a)=>{const o=i[a];return(!o||Object.keys(o).length===0)&&delete i[a],i},t)}function bM(e,...t){const i=TT(e),a=[i,...t].reduce((o,l)=>Wt(o,l),{});return om(Object.keys(i),a)}function SM(e,t){if(typeof e!="object")return{};const i={},a=Object.keys(t);return Array.isArray(e)?a.forEach((o,l)=>{l<e.length&&(i[o]=!0)}):a.forEach(o=>{e[o]!=null&&(i[o]=!0)}),i}function Sp({values:e,breakpoints:t,base:i}){const a=i||SM(e,t),o=Object.keys(a);if(o.length===0)return e;let l;return o.reduce((c,f,h)=>(Array.isArray(e)?(c[f]=e[h]!=null?e[h]:e[l],l=h):typeof e=="object"?(c[f]=e[f]!=null?e[f]:e[l],l=f):c[f]=e,c),{})}function ye(e){if(typeof e!="string")throw new Error(sr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function bf(e,t,i=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&i){const a=`vars.${t}`.split(".").reduce((o,l)=>o&&o[l]?o[l]:null,e);if(a!=null)return a}return t.split(".").reduce((a,o)=>a&&a[o]!=null?a[o]:null,e)}function Hc(e,t,i,a=i){let o;return typeof e=="function"?o=e(i):Array.isArray(e)?o=e[i]||a:o=bf(e,i)||a,t&&(o=t(o,a,e)),o}function Nt(e){const{prop:t,cssProperty:i=e.prop,themeKey:a,transform:o}=e,l=c=>{if(c[t]==null)return null;const f=c[t],h=c.theme,p=bf(h,a)||{};return mi(c,f,y=>{let v=Hc(p,o,y);return y===v&&typeof y=="string"&&(v=Hc(p,o,`${t}${y==="default"?"":ye(y)}`,y)),i===!1?v:{[i]:v}})};return l.propTypes={},l.filterProps=[t],l}function xM(e){const t={};return i=>(t[i]===void 0&&(t[i]=e(i)),t[i])}const CM={m:"margin",p:"padding"},TM={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},nS={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},wM=xM(e=>{if(e.length>2)if(nS[e])e=nS[e];else return[e];const[t,i]=e.split(""),a=CM[t],o=TM[i]||"";return Array.isArray(o)?o.map(l=>a+l):[a+o]}),vg=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],bg=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...vg,...bg];function Ll(e,t,i,a){const o=bf(e,t,!0)??i;return typeof o=="number"||typeof o=="string"?l=>typeof l=="string"?l:typeof o=="string"?o.startsWith("var(")&&l===0?0:o.startsWith("var(")&&l===1?o:`calc(${l} * ${o})`:o*l:Array.isArray(o)?l=>{if(typeof l=="string")return l;const c=Math.abs(l),f=o[c];return l>=0?f:typeof f=="number"?-f:typeof f=="string"&&f.startsWith("var(")?`calc(-1 * ${f})`:`-${f}`}:typeof o=="function"?o:()=>{}}function Sf(e){return Ll(e,"spacing",8)}function Aa(e,t){return typeof t=="string"||t==null?t:e(t)}function EM(e,t){return i=>e.reduce((a,o)=>(a[o]=Aa(t,i),a),{})}function AM(e,t,i,a){if(!t.includes(i))return null;const o=wM(i),l=EM(o,a),c=e[i];return mi(e,c,l)}function wT(e,t){const i=Sf(e.theme);return Object.keys(e).map(a=>AM(e,t,a,i)).reduce(al,{})}function Et(e){return wT(e,vg)}Et.propTypes={};Et.filterProps=vg;function At(e){return wT(e,bg)}At.propTypes={};At.filterProps=bg;function ET(e=8,t=Sf({spacing:e})){if(e.mui)return e;const i=(...a)=>(a.length===0?[1]:a).map(l=>{const c=t(l);return typeof c=="number"?`${c}px`:c}).join(" ");return i.mui=!0,i}function xf(...e){const t=e.reduce((a,o)=>(o.filterProps.forEach(l=>{a[l]=o}),a),{}),i=a=>Object.keys(a).reduce((o,l)=>t[l]?al(o,t[l](a)):o,{});return i.propTypes={},i.filterProps=e.reduce((a,o)=>a.concat(o.filterProps),[]),i}function ei(e){return typeof e!="number"?e:`${e}px solid`}function ri(e,t){return Nt({prop:e,themeKey:"borders",transform:t})}const RM=ri("border",ei),OM=ri("borderTop",ei),MM=ri("borderRight",ei),DM=ri("borderBottom",ei),_M=ri("borderLeft",ei),NM=ri("borderColor"),LM=ri("borderTopColor"),zM=ri("borderRightColor"),kM=ri("borderBottomColor"),PM=ri("borderLeftColor"),jM=ri("outline",ei),BM=ri("outlineColor"),Cf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ll(e.theme,"shape.borderRadius",4),i=a=>({borderRadius:Aa(t,a)});return mi(e,e.borderRadius,i)}return null};Cf.propTypes={};Cf.filterProps=["borderRadius"];xf(RM,OM,MM,DM,_M,NM,LM,zM,kM,PM,Cf,jM,BM);const Tf=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ll(e.theme,"spacing",8),i=a=>({gap:Aa(t,a)});return mi(e,e.gap,i)}return null};Tf.propTypes={};Tf.filterProps=["gap"];const wf=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ll(e.theme,"spacing",8),i=a=>({columnGap:Aa(t,a)});return mi(e,e.columnGap,i)}return null};wf.propTypes={};wf.filterProps=["columnGap"];const Ef=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ll(e.theme,"spacing",8),i=a=>({rowGap:Aa(t,a)});return mi(e,e.rowGap,i)}return null};Ef.propTypes={};Ef.filterProps=["rowGap"];const UM=Nt({prop:"gridColumn"}),VM=Nt({prop:"gridRow"}),$M=Nt({prop:"gridAutoFlow"}),HM=Nt({prop:"gridAutoColumns"}),IM=Nt({prop:"gridAutoRows"}),FM=Nt({prop:"gridTemplateColumns"}),qM=Nt({prop:"gridTemplateRows"}),KM=Nt({prop:"gridTemplateAreas"}),GM=Nt({prop:"gridArea"});xf(Tf,wf,Ef,UM,VM,$M,HM,IM,FM,qM,KM,GM);function _s(e,t){return t==="grey"?t:e}const YM=Nt({prop:"color",themeKey:"palette",transform:_s}),XM=Nt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:_s}),WM=Nt({prop:"backgroundColor",themeKey:"palette",transform:_s});xf(YM,XM,WM);function Pn(e){return e<=1&&e!==0?`${e*100}%`:e}const QM=Nt({prop:"width",transform:Pn}),Sg=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=i=>{const a=e.theme?.breakpoints?.values?.[i]||vf[i];return a?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:Pn(i)}};return mi(e,e.maxWidth,t)}return null};Sg.filterProps=["maxWidth"];const ZM=Nt({prop:"minWidth",transform:Pn}),JM=Nt({prop:"height",transform:Pn}),e5=Nt({prop:"maxHeight",transform:Pn}),t5=Nt({prop:"minHeight",transform:Pn});Nt({prop:"size",cssProperty:"width",transform:Pn});Nt({prop:"size",cssProperty:"height",transform:Pn});const n5=Nt({prop:"boxSizing"});xf(QM,Sg,ZM,JM,e5,t5,n5);const zl={border:{themeKey:"borders",transform:ei},borderTop:{themeKey:"borders",transform:ei},borderRight:{themeKey:"borders",transform:ei},borderBottom:{themeKey:"borders",transform:ei},borderLeft:{themeKey:"borders",transform:ei},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ei},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Cf},color:{themeKey:"palette",transform:_s},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:_s},backgroundColor:{themeKey:"palette",transform:_s},p:{style:At},pt:{style:At},pr:{style:At},pb:{style:At},pl:{style:At},px:{style:At},py:{style:At},padding:{style:At},paddingTop:{style:At},paddingRight:{style:At},paddingBottom:{style:At},paddingLeft:{style:At},paddingX:{style:At},paddingY:{style:At},paddingInline:{style:At},paddingInlineStart:{style:At},paddingInlineEnd:{style:At},paddingBlock:{style:At},paddingBlockStart:{style:At},paddingBlockEnd:{style:At},m:{style:Et},mt:{style:Et},mr:{style:Et},mb:{style:Et},ml:{style:Et},mx:{style:Et},my:{style:Et},margin:{style:Et},marginTop:{style:Et},marginRight:{style:Et},marginBottom:{style:Et},marginLeft:{style:Et},marginX:{style:Et},marginY:{style:Et},marginInline:{style:Et},marginInlineStart:{style:Et},marginInlineEnd:{style:Et},marginBlock:{style:Et},marginBlockStart:{style:Et},marginBlockEnd:{style:Et},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Tf},rowGap:{style:Ef},columnGap:{style:wf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Pn},maxWidth:{style:Sg},minWidth:{transform:Pn},height:{transform:Pn},maxHeight:{transform:Pn},minHeight:{transform:Pn},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 i5(...e){const t=e.reduce((a,o)=>a.concat(Object.keys(o)),[]),i=new Set(t);return e.every(a=>i.size===Object.keys(a).length)}function r5(e,t){return typeof e=="function"?e(t):e}function a5(){function e(i,a,o,l){const c={[i]:a,theme:o},f=l[i];if(!f)return{[i]:a};const{cssProperty:h=i,themeKey:p,transform:g,style:y}=f;if(a==null)return null;if(p==="typography"&&a==="inherit")return{[i]:a};const v=bf(o,p)||{};return y?y(c):mi(c,a,S=>{let C=Hc(v,g,S);return S===C&&typeof S=="string"&&(C=Hc(v,g,`${i}${S==="default"?"":ye(S)}`,S)),h===!1?C:{[h]:C}})}function t(i){const{sx:a,theme:o={},nested:l}=i||{};if(!a)return null;const c=o.unstable_sxConfig??zl;function f(h){let p=h;if(typeof h=="function")p=h(o);else if(typeof h!="object")return h;if(!p)return null;const g=TT(o.breakpoints),y=Object.keys(g);let v=g;return Object.keys(p).forEach(x=>{const S=r5(p[x],o);if(S!=null)if(typeof S=="object")if(c[x])v=al(v,e(x,S,o,c));else{const C=mi({theme:o},S,T=>({[x]:T}));i5(C,S)?v[x]=t({sx:S,theme:o,nested:!0}):v=al(v,C)}else v=al(v,e(x,S,o,c))}),!l&&o.modularCssLayers?{"@layer sx":eS(o,om(y,v))}:eS(o,om(y,v))}return Array.isArray(a)?a.map(f):f(a)}return t}const Br=a5();Br.filterProps=["sx"];function s5(e,t){const i=this;if(i.vars){if(!i.colorSchemes?.[e]||typeof i.getColorSchemeSelector!="function")return{};let a=i.getColorSchemeSelector(e);return a==="&"?t:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:t})}return i.palette.mode===e?t:{}}function kl(e={},...t){const{breakpoints:i={},palette:a={},spacing:o,shape:l={},...c}=e,f=hM(i),h=ET(o);let p=Wt({breakpoints:f,direction:"ltr",components:{},palette:{mode:"light",...a},spacing:h,shape:{...yM,...l}},c);return p=gM(p),p.applyStyles=s5,p=t.reduce((g,y)=>Wt(g,y),p),p.unstable_sxConfig={...zl,...c?.unstable_sxConfig},p.unstable_sx=function(y){return Br({sx:y,theme:this})},p}function o5(e){return Object.keys(e).length===0}function xg(e=null){const t=A.useContext(_l);return!t||o5(t)?e:t}const l5=kl();function Af(e=l5){return xg(e)}function xp(e){const t=jr(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function AT({styles:e,themeId:t,defaultTheme:i={}}){const a=Af(i),o=t&&a[t]||a;let l=typeof e=="function"?e(o):e;return o.modularCssLayers&&(Array.isArray(l)?l=l.map(c=>xp(typeof c=="function"?c(o):c)):l=xp(l)),_.jsx(bT,{styles:l})}const u5=e=>{const t={systemProps:{},otherProps:{}},i=e?.theme?.unstable_sxConfig??zl;return Object.keys(e).forEach(a=>{i[a]?t.systemProps[a]=e[a]:t.otherProps[a]=e[a]}),t};function Cg(e){const{sx:t,...i}=e,{systemProps:a,otherProps:o}=u5(i);let l;return Array.isArray(t)?l=[a,...t]:typeof t=="function"?l=(...c)=>{const f=t(...c);return Mi(f)?{...a,...f}:a}:l={...a,...t},{...o,sx:l}}const iS=e=>e,c5=()=>{let e=iS;return{configure(t){e=t},generate(t){return e(t)},reset(){e=iS}}},RT=c5();function OT(e){var t,i,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(i=OT(e[t]))&&(a&&(a+=" "),a+=i)}else for(i in e)e[i]&&(a&&(a+=" "),a+=i);return a}function Ce(){for(var e,t,i=0,a="",o=arguments.length;i<o;i++)(e=arguments[i])&&(t=OT(e))&&(a&&(a+=" "),a+=t);return a}function f5(e={}){const{themeId:t,defaultTheme:i,defaultClassName:a="MuiBox-root",generateClassName:o}=e,l=ST("div",{shouldForwardProp:f=>f!=="theme"&&f!=="sx"&&f!=="as"})(Br);return A.forwardRef(function(h,p){const g=Af(i),{className:y,component:v="div",...x}=Cg(h);return _.jsx(l,{as:v,ref:p,className:Ce(y,o?o(a):a),theme:t&&g[t]||g,...x})})}const d5={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 Fe(e,t,i="Mui"){const a=d5[t];return a?`${i}-${a}`:`${RT.generate(e)}-${t}`}function Be(e,t,i="Mui"){const a={};return t.forEach(o=>{a[o]=Fe(e,o,i)}),a}function MT(e){const{variants:t,...i}=e,a={variants:t,style:jr(i),isProcessed:!0};return a.style===i||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=jr(o.style))}),a}const h5=kl();function Cp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ga(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function p5(e){return e?(t,i)=>i[e]:null}function m5(e,t,i){e.theme=y5(e.theme)?i:e.theme[t]||e.theme}function Oc(e,t,i){const a=typeof t=="function"?t(e):t;if(Array.isArray(a))return a.flatMap(o=>Oc(e,o,i));if(Array.isArray(a?.variants)){let o;if(a.isProcessed)o=i?ga(a.style,i):a.style;else{const{variants:l,...c}=a;o=i?ga(jr(c),i):c}return DT(e,a.variants,[o],i)}return a?.isProcessed?i?ga(jr(a.style),i):a.style:i?ga(jr(a),i):a}function DT(e,t,i=[],a=void 0){let o;e:for(let l=0;l<t.length;l+=1){const c=t[l];if(typeof c.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!c.props(o))continue}else for(const f in c.props)if(e[f]!==c.props[f]&&e.ownerState?.[f]!==c.props[f])continue e;typeof c.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},i.push(a?ga(jr(c.style(o)),a):c.style(o))):i.push(a?ga(jr(c.style),a):c.style)}return i}function _T(e={}){const{themeId:t,defaultTheme:i=h5,rootShouldForwardProp:a=Cp,slotShouldForwardProp:o=Cp}=e;function l(f){m5(f,t,i)}return(f,h={})=>{uM(f,L=>L.filter(P=>P!==Br));const{name:p,slot:g,skipVariantsResolver:y,skipSx:v,overridesResolver:x=p5(b5(g)),...S}=h,C=p&&p.startsWith("Mui")||g?"components":"custom",T=y!==void 0?y:g&&g!=="Root"&&g!=="root"||!1,D=v||!1;let N=Cp;g==="Root"||g==="root"?N=a:g?N=o:v5(f)&&(N=void 0);const R=ST(f,{shouldForwardProp:N,label:g5(),...S}),w=L=>{if(L.__emotion_real===L)return L;if(typeof L=="function")return function(U){return Oc(U,L,U.theme.modularCssLayers?C:void 0)};if(Mi(L)){const P=MT(L);return function(G){return P.variants?Oc(G,P,G.theme.modularCssLayers?C:void 0):G.theme.modularCssLayers?ga(P.style,C):P.style}}return L},M=(...L)=>{const P=[],U=L.map(w),G=[];if(P.push(l),p&&x&&G.push(function(Z){const Y=Z.theme.components?.[p]?.styleOverrides;if(!Y)return null;const k={};for(const I in Y)k[I]=Oc(Z,Y[I],Z.theme.modularCssLayers?"theme":void 0);return x(Z,k)}),p&&!T&&G.push(function(Z){const Y=Z.theme?.components?.[p]?.variants;return Y?DT(Z,Y,[],Z.theme.modularCssLayers?"theme":void 0):null}),D||G.push(Br),Array.isArray(U[0])){const O=U.shift(),Z=new Array(P.length).fill(""),F=new Array(G.length).fill("");let Y;Y=[...Z,...O,...F],Y.raw=[...Z,...O.raw,...F],P.unshift(Y)}const Q=[...P,...U,...G],J=R(...Q);return f.muiName&&(J.muiName=f.muiName),J};return R.withConfig&&(M.withConfig=R.withConfig),M}}function g5(e,t){return void 0}function y5(e){for(const t in e)return!1;return!0}function v5(e){return typeof e=="string"&&e.charCodeAt(0)>96}function b5(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const NT=_T();function yl(e,t,i=!1){const a={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const l=o;if(l==="components"||l==="slots")a[l]={...e[l],...a[l]};else if(l==="componentsProps"||l==="slotProps"){const c=e[l],f=t[l];if(!f)a[l]=c||{};else if(!c)a[l]=f;else{a[l]={...f};for(const h in c)if(Object.prototype.hasOwnProperty.call(c,h)){const p=h;a[l][p]=yl(c[p],f[p],i)}}}else l==="className"&&i&&t.className?a.className=Ce(e?.className,t?.className):l==="style"&&i&&t.style?a.style={...e?.style,...t?.style}:a[l]===void 0&&(a[l]=e[l])}return a}function S5(e){const{theme:t,name:i,props:a}=e;return!t||!t.components||!t.components[i]||!t.components[i].defaultProps?a:yl(t.components[i].defaultProps,a)}function LT({props:e,name:t,defaultTheme:i,themeId:a}){let o=Af(i);return a&&(o=o[a]||o),S5({theme:o,name:t,props:e})}const ki=typeof window<"u"?A.useLayoutEffect:A.useEffect;function x5(e,t=Number.MIN_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,i))}function Tg(e,t=0,i=1){return x5(e,t,i)}function C5(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let i=e.match(t);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 Ur(e){if(e.type)return e;if(e.charAt(0)==="#")return Ur(C5(e));const t=e.indexOf("("),i=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(sr(9,e));let a=e.substring(t+1,e.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(sr(10,o))}else a=a.split(",");return a=a.map(l=>parseFloat(l)),{type:i,values:a,colorSpace:o}}const T5=e=>{const t=Ur(e);return t.values.slice(0,3).map((i,a)=>t.type.includes("hsl")&&a!==0?`${i}%`:i).join(" ")},Jo=(e,t)=>{try{return T5(e)}catch{return e}};function Rf(e){const{type:t,colorSpace:i}=e;let{values:a}=e;return t.includes("rgb")?a=a.map((o,l)=>l<3?parseInt(o,10):o):t.includes("hsl")&&(a[1]=`${a[1]}%`,a[2]=`${a[2]}%`),t.includes("color")?a=`${i} ${a.join(" ")}`:a=`${a.join(", ")}`,`${t}(${a})`}function zT(e){e=Ur(e);const{values:t}=e,i=t[0],a=t[1]/100,o=t[2]/100,l=a*Math.min(o,1-o),c=(p,g=(p+i/30)%12)=>o-l*Math.max(Math.min(g-3,9-g,1),-1);let f="rgb";const h=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(f+="a",h.push(t[3])),Rf({type:f,values:h})}function lm(e){e=Ur(e);let t=e.type==="hsl"||e.type==="hsla"?Ur(zT(e)).values:e.values;return t=t.map(i=>(e.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function w5(e,t){const i=lm(e),a=lm(t);return(Math.max(i,a)+.05)/(Math.min(i,a)+.05)}function St(e,t){return e=Ur(e),t=Tg(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Rf(e)}function la(e,t,i){try{return St(e,t)}catch{return e}}function Of(e,t){if(e=Ur(e),t=Tg(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-t;return Rf(e)}function et(e,t,i){try{return Of(e,t)}catch{return e}}function Mf(e,t){if(e=Ur(e),t=Tg(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*t;else if(e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*t;return Rf(e)}function tt(e,t,i){try{return Mf(e,t)}catch{return e}}function E5(e,t=.15){return lm(e)>.5?Of(e,t):Mf(e,t)}function uc(e,t,i){try{return E5(e,t)}catch{return e}}const kT=A.createContext(null);function wg(){return A.useContext(kT)}const A5=typeof Symbol=="function"&&Symbol.for,R5=A5?Symbol.for("mui.nested"):"__THEME_NESTED__";function O5(e,t){return typeof t=="function"?t(e):{...e,...t}}function M5(e){const{children:t,theme:i}=e,a=wg(),o=A.useMemo(()=>{const l=a===null?{...i}:O5(a,i);return l!=null&&(l[R5]=a!==null),l},[i,a]);return _.jsx(kT.Provider,{value:o,children:t})}const PT=A.createContext();function D5({value:e,...t}){return _.jsx(PT.Provider,{value:e??!0,...t})}const _5=()=>A.useContext(PT)??!1,jT=A.createContext(void 0);function N5({value:e,children:t}){return _.jsx(jT.Provider,{value:e,children:t})}function L5(e){const{theme:t,name:i,props:a}=e;if(!t||!t.components||!t.components[i])return a;const o=t.components[i];return o.defaultProps?yl(o.defaultProps,a,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?yl(o,a,t.components.mergeClassNameAndStyle):a}function z5({props:e,name:t}){const i=A.useContext(jT);return L5({props:e,name:t,theme:{components:i}})}let rS=0;function k5(e){const[t,i]=A.useState(e),a=e||t;return A.useEffect(()=>{t==null&&(rS+=1,i(`mui-${rS}`))},[t]),a}const P5={...nm},aS=P5.useId;function Pl(e){if(aS!==void 0){const t=aS();return e??t}return k5(e)}function j5(e){const t=xg(),i=Pl()||"",{modularCssLayers:a}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!a||t!==null?o="":typeof a=="string"?o=a.replace(/mui(?!\.)/g,o):o=`@layer ${o};`,ki(()=>{const l=document.querySelector("head");if(!l)return;const c=l.firstChild;if(o){if(c&&c.hasAttribute?.("data-mui-layer-order")&&c.getAttribute("data-mui-layer-order")===i)return;const f=document.createElement("style");f.setAttribute("data-mui-layer-order",i),f.textContent=o,l.prepend(f)}else l.querySelector(`style[data-mui-layer-order="${i}"]`)?.remove()},[o,i]),o?_.jsx(AT,{styles:o}):null}const sS={};function oS(e,t,i,a=!1){return A.useMemo(()=>{const o=e&&t[e]||t;if(typeof i=="function"){const l=i(o),c=e?{...t,[e]:l}:l;return a?()=>c:c}return e?{...t,[e]:i}:{...t,...i}},[e,t,i,a])}function BT(e){const{children:t,theme:i,themeId:a}=e,o=xg(sS),l=wg()||sS,c=oS(a,o,i),f=oS(a,l,i,!0),h=(a?c[a]:c).direction==="rtl",p=j5(c);return _.jsx(M5,{theme:f,children:_.jsx(_l.Provider,{value:c,children:_.jsx(D5,{value:h,children:_.jsxs(N5,{value:a?c[a].components:c.components,children:[p,t]})})})})}const lS={theme:void 0};function B5(e){let t,i;return function(o){let l=t;return(l===void 0||o.theme!==i)&&(lS.theme=o.theme,l=MT(e(lS)),t=l,i=o.theme),l}}const Eg="mode",Ag="color-scheme",U5="data-color-scheme";function V5(e){const{defaultMode:t="system",defaultLightColorScheme:i="light",defaultDarkColorScheme:a="dark",modeStorageKey:o=Eg,colorSchemeStorageKey:l=Ag,attribute:c=U5,colorSchemeNode:f="document.documentElement",nonce:h}=e||{};let p="",g=c;if(c==="class"&&(g=".%s"),c==="data"&&(g="[data-%s]"),g.startsWith(".")){const v=g.substring(1);p+=`${f}.classList.remove('${v}'.replace('%s', light), '${v}'.replace('%s', dark));
|
|
10
|
-
${f}.classList.add('${v}'.replace('%s', colorScheme));`}const y=g.match(/\[([^[\]]+)\]/);if(y){const[v,x]=y[1].split("=");x||(p+=`${f}.removeAttribute('${v}'.replace('%s', light));
|
|
11
|
-
${f}.removeAttribute('${v}'.replace('%s', dark));`),p+=`
|
|
12
|
-
${f}.setAttribute('${v}'.replace('%s', colorScheme), ${x?`${x}.replace('%s', colorScheme)`:'""'});`}else g!==".%s"&&(p+=`${f}.setAttribute('${g}', colorScheme);`);return _.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?h:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
13
|
-
try {
|
|
14
|
-
let colorScheme = '';
|
|
15
|
-
const mode = localStorage.getItem('${o}') || '${t}';
|
|
16
|
-
const dark = localStorage.getItem('${l}-dark') || '${a}';
|
|
17
|
-
const light = localStorage.getItem('${l}-light') || '${i}';
|
|
18
|
-
if (mode === 'system') {
|
|
19
|
-
// handle system mode
|
|
20
|
-
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
21
|
-
if (mql.matches) {
|
|
22
|
-
colorScheme = dark
|
|
23
|
-
} else {
|
|
24
|
-
colorScheme = light
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
if (mode === 'light') {
|
|
28
|
-
colorScheme = light;
|
|
29
|
-
}
|
|
30
|
-
if (mode === 'dark') {
|
|
31
|
-
colorScheme = dark;
|
|
32
|
-
}
|
|
33
|
-
if (colorScheme) {
|
|
34
|
-
${p}
|
|
35
|
-
}
|
|
36
|
-
} catch(e){}})();`}},"mui-color-scheme-init")}function $5(){}const H5=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(i){if(typeof window>"u")return;if(!t)return i;let a;try{a=t.localStorage.getItem(e)}catch{}return a||i},set:i=>{if(t)try{t.localStorage.setItem(e,i)}catch{}},subscribe:i=>{if(!t)return $5;const a=o=>{const l=o.newValue;o.key===e&&i(l)};return t.addEventListener("storage",a),()=>{t.removeEventListener("storage",a)}}});function Tp(){}function uS(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function UT(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function I5(e){return UT(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function F5(e){const{defaultMode:t="light",defaultLightColorScheme:i,defaultDarkColorScheme:a,supportedColorSchemes:o=[],modeStorageKey:l=Eg,colorSchemeStorageKey:c=Ag,storageWindow:f=typeof window>"u"?void 0:window,storageManager:h=H5,noSsr:p=!1}=e,g=o.join(","),y=o.length>1,v=A.useMemo(()=>h?.({key:l,storageWindow:f}),[h,l,f]),x=A.useMemo(()=>h?.({key:`${c}-light`,storageWindow:f}),[h,c,f]),S=A.useMemo(()=>h?.({key:`${c}-dark`,storageWindow:f}),[h,c,f]),[C,T]=A.useState(()=>{const U=v?.get(t)||t,G=x?.get(i)||i,Q=S?.get(a)||a;return{mode:U,systemMode:uS(U),lightColorScheme:G,darkColorScheme:Q}}),[D,N]=A.useState(p||!y);A.useEffect(()=>{N(!0)},[]);const R=I5(C),w=A.useCallback(U=>{T(G=>{if(U===G.mode)return G;const Q=U??t;return v?.set(Q),{...G,mode:Q,systemMode:uS(Q)}})},[v,t]),M=A.useCallback(U=>{U?typeof U=="string"?U&&!g.includes(U)?console.error(`\`${U}\` does not exist in \`theme.colorSchemes\`.`):T(G=>{const Q={...G};return UT(G,J=>{J==="light"&&(x?.set(U),Q.lightColorScheme=U),J==="dark"&&(S?.set(U),Q.darkColorScheme=U)}),Q}):T(G=>{const Q={...G},J=U.light===null?i:U.light,O=U.dark===null?a:U.dark;return J&&(g.includes(J)?(Q.lightColorScheme=J,x?.set(J)):console.error(`\`${J}\` does not exist in \`theme.colorSchemes\`.`)),O&&(g.includes(O)?(Q.darkColorScheme=O,S?.set(O)):console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`)),Q}):T(G=>(x?.set(i),S?.set(a),{...G,lightColorScheme:i,darkColorScheme:a}))},[g,x,S,i,a]),L=A.useCallback(U=>{C.mode==="system"&&T(G=>{const Q=U?.matches?"dark":"light";return G.systemMode===Q?G:{...G,systemMode:Q}})},[C.mode]),P=A.useRef(L);return P.current=L,A.useEffect(()=>{if(typeof window.matchMedia!="function"||!y)return;const U=(...Q)=>P.current(...Q),G=window.matchMedia("(prefers-color-scheme: dark)");return G.addListener(U),U(G),()=>{G.removeListener(U)}},[y]),A.useEffect(()=>{if(y){const U=v?.subscribe(J=>{(!J||["light","dark","system"].includes(J))&&w(J||t)})||Tp,G=x?.subscribe(J=>{(!J||g.match(J))&&M({light:J})})||Tp,Q=S?.subscribe(J=>{(!J||g.match(J))&&M({dark:J})})||Tp;return()=>{U(),G(),Q()}}},[M,w,g,t,f,y,v,x,S]),{...C,mode:D?C.mode:void 0,systemMode:D?C.systemMode:void 0,colorScheme:D?R:void 0,setMode:w,setColorScheme:M}}const q5="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function K5(e){const{themeId:t,theme:i={},modeStorageKey:a=Eg,colorSchemeStorageKey:o=Ag,disableTransitionOnChange:l=!1,defaultColorScheme:c,resolveTheme:f}=e,h={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=A.createContext(void 0),g=()=>A.useContext(p)||h,y={},v={};function x(D){const{children:N,theme:R,modeStorageKey:w=a,colorSchemeStorageKey:M=o,disableTransitionOnChange:L=l,storageManager:P,storageWindow:U=typeof window>"u"?void 0:window,documentNode:G=typeof document>"u"?void 0:document,colorSchemeNode:Q=typeof document>"u"?void 0:document.documentElement,disableNestedContext:J=!1,disableStyleSheetGeneration:O=!1,defaultMode:Z="system",forceThemeRerender:F=!1,noSsr:Y}=D,k=A.useRef(!1),I=wg(),ee=A.useContext(p),ae=!!ee&&!J,le=A.useMemo(()=>R||(typeof i=="function"?i():i),[R]),z=le[t],q=z||le,{colorSchemes:se=y,components:oe=v,cssVarPrefix:ue}=q,he=Object.keys(se).filter(mt=>!!se[mt]).join(","),me=A.useMemo(()=>he.split(","),[he]),Ue=typeof c=="string"?c:c.light,Se=typeof c=="string"?c:c.dark,xe=se[Ue]&&se[Se]?Z:se[q.defaultColorScheme]?.palette?.mode||q.palette?.mode,{mode:De,setMode:Ve,systemMode:Kt,lightColorScheme:Te,darkColorScheme:je,colorScheme:Gt,setColorScheme:Lt}=F5({supportedColorSchemes:me,defaultLightColorScheme:Ue,defaultDarkColorScheme:Se,modeStorageKey:w,colorSchemeStorageKey:M,defaultMode:xe,storageManager:P,storageWindow:U,noSsr:Y});let ct=De,ft=Gt;ae&&(ct=ee.mode,ft=ee.colorScheme);let zt=ft||q.defaultColorScheme;q.vars&&!F&&(zt=q.defaultColorScheme);const st=A.useMemo(()=>{const mt=q.generateThemeVars?.()||q.vars,$e={...q,components:oe,colorSchemes:se,cssVarPrefix:ue,vars:mt};if(typeof $e.generateSpacing=="function"&&($e.spacing=$e.generateSpacing()),zt){const Ct=se[zt];Ct&&typeof Ct=="object"&&Object.keys(Ct).forEach(Ht=>{Ct[Ht]&&typeof Ct[Ht]=="object"?$e[Ht]={...$e[Ht],...Ct[Ht]}:$e[Ht]=Ct[Ht]})}return f?f($e):$e},[q,zt,oe,se,ue]),pe=q.colorSchemeSelector;ki(()=>{if(ft&&Q&&pe&&pe!=="media"){const mt=pe;let $e=pe;if(mt==="class"&&($e=".%s"),mt==="data"&&($e="[data-%s]"),mt?.startsWith("data-")&&!mt.includes("%s")&&($e=`[${mt}="%s"]`),$e.startsWith("."))Q.classList.remove(...me.map(Ct=>$e.substring(1).replace("%s",Ct))),Q.classList.add($e.substring(1).replace("%s",ft));else{const Ct=$e.replace("%s",ft).match(/\[([^\]]+)\]/);if(Ct){const[Ht,On]=Ct[1].split("=");On||me.forEach(ot=>{Q.removeAttribute(Ht.replace(ft,ot))}),Q.setAttribute(Ht,On?On.replace(/"|'/g,""):"")}else Q.setAttribute($e,ft)}}},[ft,pe,Q,me]),A.useEffect(()=>{let mt;if(L&&k.current&&G){const $e=G.createElement("style");$e.appendChild(G.createTextNode(q5)),G.head.appendChild($e),window.getComputedStyle(G.body),mt=setTimeout(()=>{G.head.removeChild($e)},1)}return()=>{clearTimeout(mt)}},[ft,L,G]),A.useEffect(()=>(k.current=!0,()=>{k.current=!1}),[]);const ai=A.useMemo(()=>({allColorSchemes:me,colorScheme:ft,darkColorScheme:je,lightColorScheme:Te,mode:ct,setColorScheme:Lt,setMode:Ve,systemMode:Kt}),[me,ft,je,Te,ct,Lt,Ve,Kt,st.colorSchemeSelector]);let Le=!0;(O||q.cssVariables===!1||ae&&I?.cssVarPrefix===ue)&&(Le=!1);const ji=_.jsxs(A.Fragment,{children:[_.jsx(BT,{themeId:z?t:void 0,theme:st,children:N}),Le&&_.jsx(bT,{styles:st.generateStyleSheets?.()||[]})]});return ae?ji:_.jsx(p.Provider,{value:ai,children:ji})}const S=typeof c=="string"?c:c.light,C=typeof c=="string"?c:c.dark;return{CssVarsProvider:x,useColorScheme:g,getInitColorSchemeScript:D=>V5({colorSchemeStorageKey:o,defaultLightColorScheme:S,defaultDarkColorScheme:C,modeStorageKey:a,...D})}}function G5(e=""){function t(...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(--${e?`${e}-`:""}${o}${t(...a.slice(1))})`:`, ${o}`}return(a,...o)=>`var(--${e?`${e}-`:""}${a}${t(...o)})`}const cS=(e,t,i,a=[])=>{let o=e;t.forEach((l,c)=>{c===t.length-1?Array.isArray(o)?o[Number(l)]=i:o&&typeof o=="object"&&(o[l]=i):o&&typeof o=="object"&&(o[l]||(o[l]=a.includes(l)?[]:{}),o=o[l])})},Y5=(e,t,i)=>{function a(o,l=[],c=[]){Object.entries(o).forEach(([f,h])=>{(!i||i&&!i([...l,f]))&&h!=null&&(typeof h=="object"&&Object.keys(h).length>0?a(h,[...l,f],Array.isArray(h)?[...c,f]:c):t([...l,f],h,c))})}a(e)},X5=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(a=>e.includes(a))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function wp(e,t){const{prefix:i,shouldSkipGeneratingVar:a}=t||{},o={},l={},c={};return Y5(e,(f,h,p)=>{if((typeof h=="string"||typeof h=="number")&&(!a||!a(f,h))){const g=`--${i?`${i}-`:""}${f.join("-")}`,y=X5(f,h);Object.assign(o,{[g]:y}),cS(l,f,`var(${g})`,p),cS(c,f,`var(${g}, ${y})`,p)}},f=>f[0]==="vars"),{css:o,vars:l,varsWithDefaults:c}}function W5(e,t={}){const{getSelector:i=D,disableCssColorScheme:a,colorSchemeSelector:o,enableContrastVars:l}=t,{colorSchemes:c={},components:f,defaultColorScheme:h="light",...p}=e,{vars:g,css:y,varsWithDefaults:v}=wp(p,t);let x=v;const S={},{[h]:C,...T}=c;if(Object.entries(T||{}).forEach(([w,M])=>{const{vars:L,css:P,varsWithDefaults:U}=wp(M,t);x=Wt(x,U),S[w]={css:P,vars:L}}),C){const{css:w,vars:M,varsWithDefaults:L}=wp(C,t);x=Wt(x,L),S[h]={css:w,vars:M}}function D(w,M){let L=o;if(o==="class"&&(L=".%s"),o==="data"&&(L="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(L=`[${o}="%s"]`),w){if(L==="media")return e.defaultColorScheme===w?":root":{[`@media (prefers-color-scheme: ${c[w]?.palette?.mode||w})`]:{":root":M}};if(L)return e.defaultColorScheme===w?`:root, ${L.replace("%s",String(w))}`:L.replace("%s",String(w))}return":root"}return{vars:x,generateThemeVars:()=>{let w={...g};return Object.entries(S).forEach(([,{vars:M}])=>{w=Wt(w,M)}),w},generateStyleSheets:()=>{const w=[],M=e.defaultColorScheme||"light";function L(G,Q){Object.keys(Q).length&&w.push(typeof G=="string"?{[G]:{...Q}}:G)}L(i(void 0,{...y}),y);const{[M]:P,...U}=S;if(P){const{css:G}=P,Q=c[M]?.palette?.mode,J=!a&&Q?{colorScheme:Q,...G}:{...G};L(i(M,{...J}),J)}return Object.entries(U).forEach(([G,{css:Q}])=>{const J=c[G]?.palette?.mode,O=!a&&J?{colorScheme:J,...Q}:{...Q};L(i(G,{...O}),O)}),l&&w.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),w}}}function Q5(e){return function(i){return e==="media"?`@media (prefers-color-scheme: ${i})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${i}"] &`:e==="class"?`.${i} &`:e==="data"?`[data-${i}] &`:`${e.replace("%s",i)} &`:"&"}}function qe(e,t,i=void 0){const a={};for(const o in e){const l=e[o];let c="",f=!0;for(let h=0;h<l.length;h+=1){const p=l[h];p&&(c+=(f===!0?"":" ")+t(p),f=!1,i&&i[p]&&(c+=" "+i[p]))}a[o]=c}return a}const Z5=kl(),J5=NT("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,t[`maxWidth${ye(String(i.maxWidth))}`],i.fixed&&t.fixed,i.disableGutters&&t.disableGutters]}}),e3=e=>LT({props:e,name:"MuiContainer",defaultTheme:Z5}),t3=(e,t)=>{const i=h=>Fe(t,h),{classes:a,fixed:o,disableGutters:l,maxWidth:c}=e,f={root:["root",c&&`maxWidth${ye(String(c))}`,o&&"fixed",l&&"disableGutters"]};return qe(f,i,a)};function n3(e={}){const{createStyledComponent:t=J5,useThemeProps:i=e3,componentName:a="MuiContainer"}=e,o=t(({theme:c,ownerState:f})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!f.disableGutters&&{paddingLeft:c.spacing(2),paddingRight:c.spacing(2),[c.breakpoints.up("sm")]:{paddingLeft:c.spacing(3),paddingRight:c.spacing(3)}}}),({theme:c,ownerState:f})=>f.fixed&&Object.keys(c.breakpoints.values).reduce((h,p)=>{const g=p,y=c.breakpoints.values[g];return y!==0&&(h[c.breakpoints.up(g)]={maxWidth:`${y}${c.breakpoints.unit}`}),h},{}),({theme:c,ownerState:f})=>({...f.maxWidth==="xs"&&{[c.breakpoints.up("xs")]:{maxWidth:Math.max(c.breakpoints.values.xs,444)}},...f.maxWidth&&f.maxWidth!=="xs"&&{[c.breakpoints.up(f.maxWidth)]:{maxWidth:`${c.breakpoints.values[f.maxWidth]}${c.breakpoints.unit}`}}}));return A.forwardRef(function(f,h){const p=i(f),{className:g,component:y="div",disableGutters:v=!1,fixed:x=!1,maxWidth:S="lg",classes:C,...T}=p,D={...p,component:y,disableGutters:v,fixed:x,maxWidth:S},N=t3(D,a);return _.jsx(o,{as:y,ownerState:D,className:Ce(N.root,g),ref:h,...T})})}function Ep(e,t){return A.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const i3=kl(),r3=NT("div",{name:"MuiStack",slot:"Root"});function a3(e){return LT({props:e,name:"MuiStack",defaultTheme:i3})}function s3(e,t){const i=A.Children.toArray(e).filter(Boolean);return i.reduce((a,o,l)=>(a.push(o),l<i.length-1&&a.push(A.cloneElement(t,{key:`separator-${l}`})),a),[])}const o3=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],l3=({ownerState:e,theme:t})=>{let i={display:"flex",flexDirection:"column",...mi({theme:t},Sp({values:e.direction,breakpoints:t.breakpoints.values}),a=>({flexDirection:a}))};if(e.spacing){const a=Sf(t),o=Object.keys(t.breakpoints.values).reduce((h,p)=>((typeof e.spacing=="object"&&e.spacing[p]!=null||typeof e.direction=="object"&&e.direction[p]!=null)&&(h[p]=!0),h),{}),l=Sp({values:e.direction,base:o}),c=Sp({values:e.spacing,base:o});typeof l=="object"&&Object.keys(l).forEach((h,p,g)=>{if(!l[h]){const v=p>0?l[g[p-1]]:"column";l[h]=v}}),i=Wt(i,mi({theme:t},c,(h,p)=>e.useFlexGap?{gap:Aa(a,h)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o3(p?l[p]:e.direction)}`]:Aa(a,h)}}))}return i=bM(t.breakpoints,i),i};function u3(e={}){const{createStyledComponent:t=r3,useThemeProps:i=a3,componentName:a="MuiStack"}=e,o=()=>qe({root:["root"]},h=>Fe(a,h),{}),l=t(l3);return A.forwardRef(function(h,p){const g=i(h),y=Cg(g),{component:v="div",direction:x="column",spacing:S=0,divider:C,children:T,className:D,useFlexGap:N=!1,...R}=y,w={direction:x,spacing:S,useFlexGap:N},M=o();return _.jsx(l,{as:v,ownerState:w,ref:p,className:Ce(M.root,D),...R,children:C?s3(T,C):T})})}function VT(){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:hl.white,default:hl.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 $T=VT();function HT(){return{text:{primary:hl.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:hl.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 um=HT();function fS(e,t,i,a){const o=a.light||a,l=a.dark||a*1.5;e[t]||(e.hasOwnProperty(i)?e[t]=e[i]:t==="light"?e.light=Mf(e.main,o):t==="dark"&&(e.dark=Of(e.main,l)))}function dS(e,t,i,a,o){const l=o.light||o,c=o.dark||o*1.5;t[i]||(t.hasOwnProperty(a)?t[i]=t[a]:i==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(l*100).toFixed(0)}%)`:i==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(c*100).toFixed(0)}%)`))}function c3(e="light"){return e==="dark"?{main:ps[200],light:ps[50],dark:ps[400]}:{main:ps[700],light:ps[400],dark:ps[800]}}function f3(e="light"){return e==="dark"?{main:hs[200],light:hs[50],dark:hs[400]}:{main:hs[500],light:hs[300],dark:hs[700]}}function d3(e="light"){return e==="dark"?{main:ds[500],light:ds[300],dark:ds[700]}:{main:ds[700],light:ds[400],dark:ds[800]}}function h3(e="light"){return e==="dark"?{main:ms[400],light:ms[300],dark:ms[700]}:{main:ms[700],light:ms[500],dark:ms[900]}}function p3(e="light"){return e==="dark"?{main:gs[400],light:gs[300],dark:gs[700]}:{main:gs[800],light:gs[500],dark:gs[900]}}function m3(e="light"){return e==="dark"?{main:Fo[400],light:Fo[300],dark:Fo[700]}:{main:"#ed6c02",light:Fo[500],dark:Fo[900]}}function g3(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Rg(e){const{mode:t="light",contrastThreshold:i=3,tonalOffset:a=.2,colorSpace:o,...l}=e,c=e.primary||c3(t),f=e.secondary||f3(t),h=e.error||d3(t),p=e.info||h3(t),g=e.success||p3(t),y=e.warning||m3(t);function v(T){return o?g3(T):w5(T,um.text.primary)>=i?um.text.primary:$T.text.primary}const x=({color:T,name:D,mainShade:N=500,lightShade:R=300,darkShade:w=700})=>{if(T={...T},!T.main&&T[N]&&(T.main=T[N]),!T.hasOwnProperty("main"))throw new Error(sr(11,D?` (${D})`:"",N));if(typeof T.main!="string")throw new Error(sr(12,D?` (${D})`:"",JSON.stringify(T.main)));return o?(dS(o,T,"light",R,a),dS(o,T,"dark",w,a)):(fS(T,"light",R,a),fS(T,"dark",w,a)),T.contrastText||(T.contrastText=v(T.main)),T};let S;return t==="light"?S=VT():t==="dark"&&(S=HT()),Wt({common:{...hl},mode:t,primary:x({color:c,name:"primary"}),secondary:x({color:f,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:h,name:"error"}),warning:x({color:y,name:"warning"}),info:x({color:p,name:"info"}),success:x({color:g,name:"success"}),grey:cO,contrastThreshold:i,getContrastText:v,augmentColor:x,tonalOffset:a,...S},l)}function y3(e){const t={};return Object.entries(e).forEach(a=>{const[o,l]=a;typeof l=="object"&&(t[o]=`${l.fontStyle?`${l.fontStyle} `:""}${l.fontVariant?`${l.fontVariant} `:""}${l.fontWeight?`${l.fontWeight} `:""}${l.fontStretch?`${l.fontStretch} `:""}${l.fontSize||""}${l.lineHeight?`/${l.lineHeight} `:""}${l.fontFamily||""}`)}),t}function v3(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function b3(e){return Math.round(e*1e5)/1e5}const hS={textTransform:"uppercase"},pS='"Roboto", "Helvetica", "Arial", sans-serif';function IT(e,t){const{fontFamily:i=pS,fontSize:a=14,fontWeightLight:o=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:f=700,htmlFontSize:h=16,allVariants:p,pxToRem:g,...y}=typeof t=="function"?t(e):t,v=a/14,x=g||(T=>`${T/h*v}rem`),S=(T,D,N,R,w)=>({fontFamily:i,fontWeight:T,fontSize:x(D),lineHeight:N,...i===pS?{letterSpacing:`${b3(R/D)}em`}:{},...w,...p}),C={h1:S(o,96,1.167,-1.5),h2:S(o,60,1.2,-.5),h3:S(l,48,1.167,0),h4:S(l,34,1.235,.25),h5:S(l,24,1.334,0),h6:S(c,20,1.6,.15),subtitle1:S(l,16,1.75,.15),subtitle2:S(c,14,1.57,.1),body1:S(l,16,1.5,.15),body2:S(l,14,1.43,.15),button:S(c,14,1.75,.4,hS),caption:S(l,12,1.66,.4),overline:S(l,12,2.66,1,hS),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Wt({htmlFontSize:h,pxToRem:x,fontFamily:i,fontSize:a,fontWeightLight:o,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:f,...C},y,{clone:!1})}const S3=.2,x3=.14,C3=.12;function yt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${S3})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${x3})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${C3})`].join(",")}const T3=["none",yt(0,2,1,-1,0,1,1,0,0,1,3,0),yt(0,3,1,-2,0,2,2,0,0,1,5,0),yt(0,3,3,-2,0,3,4,0,0,1,8,0),yt(0,2,4,-1,0,4,5,0,0,1,10,0),yt(0,3,5,-1,0,5,8,0,0,1,14,0),yt(0,3,5,-1,0,6,10,0,0,1,18,0),yt(0,4,5,-2,0,7,10,1,0,2,16,1),yt(0,5,5,-3,0,8,10,1,0,3,14,2),yt(0,5,6,-3,0,9,12,1,0,3,16,2),yt(0,6,6,-3,0,10,14,1,0,4,18,3),yt(0,6,7,-4,0,11,15,1,0,4,20,3),yt(0,7,8,-4,0,12,17,2,0,5,22,4),yt(0,7,8,-4,0,13,19,2,0,5,24,4),yt(0,7,9,-4,0,14,21,2,0,5,26,4),yt(0,8,9,-5,0,15,22,2,0,6,28,5),yt(0,8,10,-5,0,16,24,2,0,6,30,5),yt(0,8,11,-5,0,17,26,2,0,6,32,5),yt(0,9,11,-5,0,18,28,2,0,7,34,6),yt(0,9,12,-6,0,19,29,2,0,7,36,6),yt(0,10,13,-6,0,20,31,3,0,8,38,7),yt(0,10,13,-6,0,21,33,3,0,8,40,7),yt(0,10,14,-6,0,22,35,3,0,8,42,7),yt(0,11,14,-7,0,23,36,3,0,9,44,8),yt(0,11,15,-7,0,24,38,3,0,9,46,8)],w3={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)"},E3={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function mS(e){return`${Math.round(e)}ms`}function A3(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function R3(e){const t={...w3,...e.easing},i={...E3,...e.duration};return{getAutoHeightDuration:A3,create:(o=["all"],l={})=>{const{duration:c=i.standard,easing:f=t.easeInOut,delay:h=0,...p}=l;return(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof c=="string"?c:mS(c)} ${f} ${typeof h=="string"?h:mS(h)}`).join(",")},...e,easing:t,duration:i}}const O3={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function M3(e){return Mi(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function FT(e={}){const t={...e};function i(a){const o=Object.entries(a);for(let l=0;l<o.length;l++){const[c,f]=o[l];!M3(f)||c.startsWith("unstable_")?delete a[c]:Mi(f)&&(a[c]={...f},i(a[c]))}}return i(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
37
|
-
|
|
38
|
-
const theme = ${JSON.stringify(t,null,2)};
|
|
39
|
-
|
|
40
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
41
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
42
|
-
|
|
43
|
-
export default theme;`}function gS(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const D3=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let i=0;for(let a=0;a<t.length;a+=1)i+=+t[a];return i};function _3(e){Object.assign(e,{alpha(t,i){const a=this||e;return a.colorSpace?`oklch(from ${t} l c h / ${typeof i=="string"?`calc(${i})`:i})`:a.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof i=="string"?`calc(${i})`:i})`:St(t,D3(i))},lighten(t,i){const a=this||e;return a.colorSpace?`color-mix(in ${a.colorSpace}, ${t}, #fff ${gS(i)})`:Mf(t,i)},darken(t,i){const a=this||e;return a.colorSpace?`color-mix(in ${a.colorSpace}, ${t}, #000 ${gS(i)})`:Of(t,i)}})}function cm(e={},...t){const{breakpoints:i,mixins:a={},spacing:o,palette:l={},transitions:c={},typography:f={},shape:h,colorSpace:p,...g}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(sr(20));const y=Rg({...l,colorSpace:p}),v=kl(e);let x=Wt(v,{mixins:v3(v.breakpoints,a),palette:y,shadows:T3.slice(),typography:IT(y,f),transitions:R3(c),zIndex:{...O3}});return x=Wt(x,g),x=t.reduce((S,C)=>Wt(S,C),x),x.unstable_sxConfig={...zl,...g?.unstable_sxConfig},x.unstable_sx=function(C){return Br({sx:C,theme:this})},x.toRuntimeSource=FT,_3(x),x}function fm(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const N3=[...Array(25)].map((e,t)=>{if(t===0)return"none";const i=fm(t);return`linear-gradient(rgba(255 255 255 / ${i}), rgba(255 255 255 / ${i}))`});function qT(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function KT(e){return e==="dark"?N3:[]}function L3(e){const{palette:t={mode:"light"},opacity:i,overlays:a,colorSpace:o,...l}=e,c=Rg({...t,colorSpace:o});return{palette:c,opacity:{...qT(c.mode),...i},overlays:a||KT(c.mode),...l}}function z3(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const k3=e=>[...[...Array(25)].map((t,i)=>`--${e?`${e}-`:""}overlays-${i}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],P3=e=>(t,i)=>{const a=e.rootSelector||":root",o=e.colorSchemeSelector;let l=o;if(o==="class"&&(l=".%s"),o==="data"&&(l="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(l=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const c={};return k3(e.cssVarPrefix).forEach(f=>{c[f]=i[f],delete i[f]}),l==="media"?{[a]:i,"@media (prefers-color-scheme: dark)":{[a]:c}}:l?{[l.replace("%s",t)]:c,[`${a}, ${l.replace("%s",t)}`]:i}:{[a]:{...i,...c}}}if(l&&l!=="media")return`${a}, ${l.replace("%s",String(t))}`}else if(t){if(l==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[a]:i}};if(l)return l.replace("%s",String(t))}return a};function j3(e,t){t.forEach(i=>{e[i]||(e[i]={})})}function ne(e,t,i){!e[t]&&i&&(e[t]=i)}function el(e){return typeof e!="string"||!e.startsWith("hsl")?e:zT(e)}function nr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Jo(el(e[t])))}function B3(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const wi=e=>{try{return e()}catch{}},U3=(e="mui")=>G5(e);function Ap(e,t,i,a,o){if(!i)return;i=i===!0?{}:i;const l=o==="dark"?"dark":"light";if(!a){t[o]=L3({...i,palette:{mode:l,...i?.palette},colorSpace:e});return}const{palette:c,...f}=cm({...a,palette:{mode:l,...i?.palette},colorSpace:e});return t[o]={...i,palette:c,opacity:{...qT(l),...i?.opacity},overlays:i?.overlays||KT(l)},f}function V3(e={},...t){const{colorSchemes:i={light:!0},defaultColorScheme:a,disableCssColorScheme:o=!1,cssVarPrefix:l="mui",nativeColor:c=!1,shouldSkipGeneratingVar:f=z3,colorSchemeSelector:h=i.light&&i.dark?"media":void 0,rootSelector:p=":root",...g}=e,y=Object.keys(i)[0],v=a||(i.light&&y!=="light"?"light":y),x=U3(l),{[v]:S,light:C,dark:T,...D}=i,N={...D};let R=S;if((v==="dark"&&!("dark"in i)||v==="light"&&!("light"in i))&&(R=!0),!R)throw new Error(sr(21,v));let w;c&&(w="oklch");const M=Ap(w,N,R,g,v);C&&!N.light&&Ap(w,N,C,void 0,"light"),T&&!N.dark&&Ap(w,N,T,void 0,"dark");let L={defaultColorScheme:v,...M,cssVarPrefix:l,colorSchemeSelector:h,rootSelector:p,getCssVar:x,colorSchemes:N,font:{...y3(M.typography),...M.font},spacing:B3(g.spacing)};Object.keys(L.colorSchemes).forEach(J=>{const O=L.colorSchemes[J].palette,Z=Y=>{const k=Y.split("-"),I=k[1],ee=k[2];return x(Y,O[I][ee])};O.mode==="light"&&(ne(O.common,"background","#fff"),ne(O.common,"onBackground","#000")),O.mode==="dark"&&(ne(O.common,"background","#000"),ne(O.common,"onBackground","#fff"));function F(Y,k,I){if(w){let ee;return Y===la&&(ee=`transparent ${((1-I)*100).toFixed(0)}%`),Y===et&&(ee=`#000 ${(I*100).toFixed(0)}%`),Y===tt&&(ee=`#fff ${(I*100).toFixed(0)}%`),`color-mix(in ${w}, ${k}, ${ee})`}return Y(k,I)}if(j3(O,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),O.mode==="light"){ne(O.Alert,"errorColor",F(et,O.error.light,.6)),ne(O.Alert,"infoColor",F(et,O.info.light,.6)),ne(O.Alert,"successColor",F(et,O.success.light,.6)),ne(O.Alert,"warningColor",F(et,O.warning.light,.6)),ne(O.Alert,"errorFilledBg",Z("palette-error-main")),ne(O.Alert,"infoFilledBg",Z("palette-info-main")),ne(O.Alert,"successFilledBg",Z("palette-success-main")),ne(O.Alert,"warningFilledBg",Z("palette-warning-main")),ne(O.Alert,"errorFilledColor",wi(()=>O.getContrastText(O.error.main))),ne(O.Alert,"infoFilledColor",wi(()=>O.getContrastText(O.info.main))),ne(O.Alert,"successFilledColor",wi(()=>O.getContrastText(O.success.main))),ne(O.Alert,"warningFilledColor",wi(()=>O.getContrastText(O.warning.main))),ne(O.Alert,"errorStandardBg",F(tt,O.error.light,.9)),ne(O.Alert,"infoStandardBg",F(tt,O.info.light,.9)),ne(O.Alert,"successStandardBg",F(tt,O.success.light,.9)),ne(O.Alert,"warningStandardBg",F(tt,O.warning.light,.9)),ne(O.Alert,"errorIconColor",Z("palette-error-main")),ne(O.Alert,"infoIconColor",Z("palette-info-main")),ne(O.Alert,"successIconColor",Z("palette-success-main")),ne(O.Alert,"warningIconColor",Z("palette-warning-main")),ne(O.AppBar,"defaultBg",Z("palette-grey-100")),ne(O.Avatar,"defaultBg",Z("palette-grey-400")),ne(O.Button,"inheritContainedBg",Z("palette-grey-300")),ne(O.Button,"inheritContainedHoverBg",Z("palette-grey-A100")),ne(O.Chip,"defaultBorder",Z("palette-grey-400")),ne(O.Chip,"defaultAvatarColor",Z("palette-grey-700")),ne(O.Chip,"defaultIconColor",Z("palette-grey-700")),ne(O.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ne(O.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ne(O.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ne(O.LinearProgress,"primaryBg",F(tt,O.primary.main,.62)),ne(O.LinearProgress,"secondaryBg",F(tt,O.secondary.main,.62)),ne(O.LinearProgress,"errorBg",F(tt,O.error.main,.62)),ne(O.LinearProgress,"infoBg",F(tt,O.info.main,.62)),ne(O.LinearProgress,"successBg",F(tt,O.success.main,.62)),ne(O.LinearProgress,"warningBg",F(tt,O.warning.main,.62)),ne(O.Skeleton,"bg",w?F(la,O.text.primary,.11):`rgba(${Z("palette-text-primaryChannel")} / 0.11)`),ne(O.Slider,"primaryTrack",F(tt,O.primary.main,.62)),ne(O.Slider,"secondaryTrack",F(tt,O.secondary.main,.62)),ne(O.Slider,"errorTrack",F(tt,O.error.main,.62)),ne(O.Slider,"infoTrack",F(tt,O.info.main,.62)),ne(O.Slider,"successTrack",F(tt,O.success.main,.62)),ne(O.Slider,"warningTrack",F(tt,O.warning.main,.62));const Y=w?F(et,O.background.default,.6825):uc(O.background.default,.8);ne(O.SnackbarContent,"bg",Y),ne(O.SnackbarContent,"color",wi(()=>w?um.text.primary:O.getContrastText(Y))),ne(O.SpeedDialAction,"fabHoverBg",uc(O.background.paper,.15)),ne(O.StepConnector,"border",Z("palette-grey-400")),ne(O.StepContent,"border",Z("palette-grey-400")),ne(O.Switch,"defaultColor",Z("palette-common-white")),ne(O.Switch,"defaultDisabledColor",Z("palette-grey-100")),ne(O.Switch,"primaryDisabledColor",F(tt,O.primary.main,.62)),ne(O.Switch,"secondaryDisabledColor",F(tt,O.secondary.main,.62)),ne(O.Switch,"errorDisabledColor",F(tt,O.error.main,.62)),ne(O.Switch,"infoDisabledColor",F(tt,O.info.main,.62)),ne(O.Switch,"successDisabledColor",F(tt,O.success.main,.62)),ne(O.Switch,"warningDisabledColor",F(tt,O.warning.main,.62)),ne(O.TableCell,"border",F(tt,F(la,O.divider,1),.88)),ne(O.Tooltip,"bg",F(la,O.grey[700],.92))}if(O.mode==="dark"){ne(O.Alert,"errorColor",F(tt,O.error.light,.6)),ne(O.Alert,"infoColor",F(tt,O.info.light,.6)),ne(O.Alert,"successColor",F(tt,O.success.light,.6)),ne(O.Alert,"warningColor",F(tt,O.warning.light,.6)),ne(O.Alert,"errorFilledBg",Z("palette-error-dark")),ne(O.Alert,"infoFilledBg",Z("palette-info-dark")),ne(O.Alert,"successFilledBg",Z("palette-success-dark")),ne(O.Alert,"warningFilledBg",Z("palette-warning-dark")),ne(O.Alert,"errorFilledColor",wi(()=>O.getContrastText(O.error.dark))),ne(O.Alert,"infoFilledColor",wi(()=>O.getContrastText(O.info.dark))),ne(O.Alert,"successFilledColor",wi(()=>O.getContrastText(O.success.dark))),ne(O.Alert,"warningFilledColor",wi(()=>O.getContrastText(O.warning.dark))),ne(O.Alert,"errorStandardBg",F(et,O.error.light,.9)),ne(O.Alert,"infoStandardBg",F(et,O.info.light,.9)),ne(O.Alert,"successStandardBg",F(et,O.success.light,.9)),ne(O.Alert,"warningStandardBg",F(et,O.warning.light,.9)),ne(O.Alert,"errorIconColor",Z("palette-error-main")),ne(O.Alert,"infoIconColor",Z("palette-info-main")),ne(O.Alert,"successIconColor",Z("palette-success-main")),ne(O.Alert,"warningIconColor",Z("palette-warning-main")),ne(O.AppBar,"defaultBg",Z("palette-grey-900")),ne(O.AppBar,"darkBg",Z("palette-background-paper")),ne(O.AppBar,"darkColor",Z("palette-text-primary")),ne(O.Avatar,"defaultBg",Z("palette-grey-600")),ne(O.Button,"inheritContainedBg",Z("palette-grey-800")),ne(O.Button,"inheritContainedHoverBg",Z("palette-grey-700")),ne(O.Chip,"defaultBorder",Z("palette-grey-700")),ne(O.Chip,"defaultAvatarColor",Z("palette-grey-300")),ne(O.Chip,"defaultIconColor",Z("palette-grey-300")),ne(O.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ne(O.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ne(O.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ne(O.LinearProgress,"primaryBg",F(et,O.primary.main,.5)),ne(O.LinearProgress,"secondaryBg",F(et,O.secondary.main,.5)),ne(O.LinearProgress,"errorBg",F(et,O.error.main,.5)),ne(O.LinearProgress,"infoBg",F(et,O.info.main,.5)),ne(O.LinearProgress,"successBg",F(et,O.success.main,.5)),ne(O.LinearProgress,"warningBg",F(et,O.warning.main,.5)),ne(O.Skeleton,"bg",w?F(la,O.text.primary,.13):`rgba(${Z("palette-text-primaryChannel")} / 0.13)`),ne(O.Slider,"primaryTrack",F(et,O.primary.main,.5)),ne(O.Slider,"secondaryTrack",F(et,O.secondary.main,.5)),ne(O.Slider,"errorTrack",F(et,O.error.main,.5)),ne(O.Slider,"infoTrack",F(et,O.info.main,.5)),ne(O.Slider,"successTrack",F(et,O.success.main,.5)),ne(O.Slider,"warningTrack",F(et,O.warning.main,.5));const Y=w?F(tt,O.background.default,.985):uc(O.background.default,.98);ne(O.SnackbarContent,"bg",Y),ne(O.SnackbarContent,"color",wi(()=>w?$T.text.primary:O.getContrastText(Y))),ne(O.SpeedDialAction,"fabHoverBg",uc(O.background.paper,.15)),ne(O.StepConnector,"border",Z("palette-grey-600")),ne(O.StepContent,"border",Z("palette-grey-600")),ne(O.Switch,"defaultColor",Z("palette-grey-300")),ne(O.Switch,"defaultDisabledColor",Z("palette-grey-600")),ne(O.Switch,"primaryDisabledColor",F(et,O.primary.main,.55)),ne(O.Switch,"secondaryDisabledColor",F(et,O.secondary.main,.55)),ne(O.Switch,"errorDisabledColor",F(et,O.error.main,.55)),ne(O.Switch,"infoDisabledColor",F(et,O.info.main,.55)),ne(O.Switch,"successDisabledColor",F(et,O.success.main,.55)),ne(O.Switch,"warningDisabledColor",F(et,O.warning.main,.55)),ne(O.TableCell,"border",F(et,F(la,O.divider,1),.68)),ne(O.Tooltip,"bg",F(la,O.grey[700],.92))}nr(O.background,"default"),nr(O.background,"paper"),nr(O.common,"background"),nr(O.common,"onBackground"),nr(O,"divider"),Object.keys(O).forEach(Y=>{const k=O[Y];Y!=="tonalOffset"&&k&&typeof k=="object"&&(k.main&&ne(O[Y],"mainChannel",Jo(el(k.main))),k.light&&ne(O[Y],"lightChannel",Jo(el(k.light))),k.dark&&ne(O[Y],"darkChannel",Jo(el(k.dark))),k.contrastText&&ne(O[Y],"contrastTextChannel",Jo(el(k.contrastText))),Y==="text"&&(nr(O[Y],"primary"),nr(O[Y],"secondary")),Y==="action"&&(k.active&&nr(O[Y],"active"),k.selected&&nr(O[Y],"selected")))})}),L=t.reduce((J,O)=>Wt(J,O),L);const P={prefix:l,disableCssColorScheme:o,shouldSkipGeneratingVar:f,getSelector:P3(L),enableContrastVars:c},{vars:U,generateThemeVars:G,generateStyleSheets:Q}=W5(L,P);return L.vars=U,Object.entries(L.colorSchemes[L.defaultColorScheme]).forEach(([J,O])=>{L[J]=O}),L.generateThemeVars=G,L.generateStyleSheets=Q,L.generateSpacing=function(){return ET(g.spacing,Sf(this))},L.getColorSchemeSelector=Q5(h),L.spacing=L.generateSpacing(),L.shouldSkipGeneratingVar=f,L.unstable_sxConfig={...zl,...g?.unstable_sxConfig},L.unstable_sx=function(O){return Br({sx:O,theme:this})},L.toRuntimeSource=FT,L}function yS(e,t,i){e.colorSchemes&&i&&(e.colorSchemes[t]={...i!==!0&&i,palette:Rg({...i===!0?{}:i.palette,mode:t})})}function Df(e={},...t){const{palette:i,cssVariables:a=!1,colorSchemes:o=i?void 0:{light:!0},defaultColorScheme:l=i?.mode,...c}=e,f=l||"light",h=o?.[f],p={...o,...i?{[f]:{...typeof h!="boolean"&&h,palette:i}}:void 0};if(a===!1){if(!("colorSchemes"in e))return cm(e,...t);let g=i;"palette"in e||p[f]&&(p[f]!==!0?g=p[f].palette:f==="dark"&&(g={mode:"dark"}));const y=cm({...e,palette:g},...t);return y.defaultColorScheme=f,y.colorSchemes=p,y.palette.mode==="light"&&(y.colorSchemes.light={...p.light!==!0&&p.light,palette:y.palette},yS(y,"dark",p.dark)),y.palette.mode==="dark"&&(y.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:y.palette},yS(y,"light",p.light)),y}return!i&&!("light"in p)&&f==="light"&&(p.light=!0),V3({...c,colorSchemes:p,defaultColorScheme:f,...typeof a!="boolean"&&a},...t)}const Og=Df();function Hs(){const e=Af(Og);return e[_i]||e}function GT(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Vn=e=>GT(e)&&e!=="classes",fe=_T({themeId:_i,defaultTheme:Og,rootShouldForwardProp:Vn});function $3({theme:e,...t}){const i=_i in e?e[_i]:void 0;return _.jsx(BT,{...t,themeId:i?_i:void 0,theme:i||e})}const cc={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:H3}=K5({themeId:_i,theme:()=>Df({cssVariables:!0}),colorSchemeStorageKey:cc.colorSchemeStorageKey,modeStorageKey:cc.modeStorageKey,defaultColorScheme:{light:cc.defaultLightColorScheme,dark:cc.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:IT(e.palette,e.typography)};return t.unstable_sx=function(a){return Br({sx:a,theme:this})},t}}),I3=H3;function F3({theme:e,...t}){const i=A.useMemo(()=>{if(typeof e=="function")return e;const a=_i in e?e[_i]:e;return"colorSchemes"in a?null:"vars"in a?e:{...e,vars:null}},[e]);return i?_.jsx($3,{theme:i,...t}):_.jsx(I3,{theme:e,...t})}function vS(...e){return e.reduce((t,i)=>i==null?t:function(...o){t.apply(this,o),i.apply(this,o)},()=>{})}function q3(e){return _.jsx(AT,{...e,defaultTheme:Og,themeId:_i})}function Mg(e){return function(i){return _.jsx(q3,{styles:typeof e=="function"?a=>e({theme:a,...i}):e})}}function K3(){return Cg}const Qe=B5;function Ke(e){return z5(e)}function G3(e){return Fe("MuiSvgIcon",e)}Be("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Y3=e=>{const{color:t,fontSize:i,classes:a}=e,o={root:["root",t!=="inherit"&&`color${ye(t)}`,`fontSize${ye(i)}`]};return qe(o,G3,a)},X3=fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,i.color!=="inherit"&&t[`color${ye(i.color)}`],t[`fontSize${ye(i.fontSize)}`]]}})(Qe(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),dm=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiSvgIcon"}),{children:o,className:l,color:c="inherit",component:f="svg",fontSize:h="medium",htmlColor:p,inheritViewBox:g=!1,titleAccess:y,viewBox:v="0 0 24 24",...x}=a,S=A.isValidElement(o)&&o.type==="svg",C={...a,color:c,component:f,fontSize:h,instanceFontSize:t.fontSize,inheritViewBox:g,viewBox:v,hasSvgAsChild:S},T={};g||(T.viewBox=v);const D=Y3(C);return _.jsxs(X3,{as:f,className:Ce(D.root,l),focusable:"false",color:p,"aria-hidden":y?void 0:!0,role:y?"img":void 0,ref:i,...T,...x,...S&&o.props,ownerState:C,children:[S?o.props.children:o,y?_.jsx("title",{children:y}):null]})});dm.muiName="SvgIcon";function on(e,t){function i(a,o){return _.jsx(dm,{"data-testid":void 0,ref:o,...a,children:e})}return i.muiName=dm.muiName,A.memo(A.forwardRef(i))}function YT(e,t=166){let i;function a(...o){const l=()=>{e.apply(this,o)};clearTimeout(i),i=setTimeout(l,t)}return a.clear=()=>{clearTimeout(i)},a}function gi(e){return e&&e.ownerDocument||document}function or(e){return gi(e).defaultView||window}function bS(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function SS(e){const{controlled:t,default:i,name:a,state:o="value"}=e,{current:l}=A.useRef(t!==void 0),[c,f]=A.useState(i),h=l?t:c,p=A.useCallback(g=>{l||f(g)},[]);return[h,p]}function xa(e){const t=A.useRef(e);return ki(()=>{t.current=e}),A.useRef((...i)=>(0,t.current)(...i)).current}function mn(...e){const t=A.useRef(void 0),i=A.useCallback(a=>{const o=e.map(l=>{if(l==null)return null;if(typeof l=="function"){const c=l,f=c(a);return typeof f=="function"?f:()=>{c(null)}}return l.current=a,()=>{l.current=null}});return()=>{o.forEach(l=>l?.())}},e);return A.useMemo(()=>e.every(a=>a==null)?null:a=>{t.current&&(t.current(),t.current=void 0),a!=null&&(t.current=i(a))},e)}function W3(e,t){const i=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&i>=65&&i<=90&&typeof t=="function"}function Q3(e,t){if(!e)return t;function i(c,f){const h={};return Object.keys(f).forEach(p=>{W3(p,f[p])&&typeof c[p]=="function"&&(h[p]=(...g)=>{c[p](...g),f[p](...g)})}),h}if(typeof e=="function"||typeof t=="function")return c=>{const f=typeof t=="function"?t(c):t,h=typeof e=="function"?e({...c,...f}):e,p=Ce(c?.className,f?.className,h?.className),g=i(h,f);return{...f,...h,...g,...!!p&&{className:p},...f?.style&&h?.style&&{style:{...f.style,...h.style}},...f?.sx&&h?.sx&&{sx:[...Array.isArray(f.sx)?f.sx:[f.sx],...Array.isArray(h.sx)?h.sx:[h.sx]]}}};const a=t,o=i(e,a),l=Ce(a?.className,e?.className);return{...t,...e,...o,...!!l&&{className:l},...a?.style&&e?.style&&{style:{...a.style,...e.style}},...a?.sx&&e?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function XT(e,t){if(e==null)return{};var i={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;i[a]=e[a]}return i}function hm(e,t){return hm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},hm(e,t)}function WT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,hm(e,t)}var QT=aT();const fc=ug(QT),xS={disabled:!1},Ic=ti.createContext(null);var Z3=function(t){return t.scrollTop},tl="unmounted",da="exited",ha="entering",Cs="entered",pm="exiting",Pi=(function(e){WT(t,e);function t(a,o){var l;l=e.call(this,a,o)||this;var c=o,f=c&&!c.isMounting?a.enter:a.appear,h;return l.appearStatus=null,a.in?f?(h=da,l.appearStatus=ha):h=Cs:a.unmountOnExit||a.mountOnEnter?h=tl:h=da,l.state={status:h},l.nextCallback=null,l}t.getDerivedStateFromProps=function(o,l){var c=o.in;return c&&l.status===tl?{status:da}:null};var i=t.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(o){var l=null;if(o!==this.props){var c=this.state.status;this.props.in?c!==ha&&c!==Cs&&(l=ha):(c===ha||c===Cs)&&(l=pm)}this.updateStatus(!1,l)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var o=this.props.timeout,l,c,f;return l=c=f=o,o!=null&&typeof o!="number"&&(l=o.exit,c=o.enter,f=o.appear!==void 0?o.appear:c),{exit:l,enter:c,appear:f}},i.updateStatus=function(o,l){if(o===void 0&&(o=!1),l!==null)if(this.cancelNextCallback(),l===ha){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:fc.findDOMNode(this);c&&Z3(c)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===da&&this.setState({status:tl})},i.performEnter=function(o){var l=this,c=this.props.enter,f=this.context?this.context.isMounting:o,h=this.props.nodeRef?[f]:[fc.findDOMNode(this),f],p=h[0],g=h[1],y=this.getTimeouts(),v=f?y.appear:y.enter;if(!o&&!c||xS.disabled){this.safeSetState({status:Cs},function(){l.props.onEntered(p)});return}this.props.onEnter(p,g),this.safeSetState({status:ha},function(){l.props.onEntering(p,g),l.onTransitionEnd(v,function(){l.safeSetState({status:Cs},function(){l.props.onEntered(p,g)})})})},i.performExit=function(){var o=this,l=this.props.exit,c=this.getTimeouts(),f=this.props.nodeRef?void 0:fc.findDOMNode(this);if(!l||xS.disabled){this.safeSetState({status:da},function(){o.props.onExited(f)});return}this.props.onExit(f),this.safeSetState({status:pm},function(){o.props.onExiting(f),o.onTransitionEnd(c.exit,function(){o.safeSetState({status:da},function(){o.props.onExited(f)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(o,l){l=this.setNextCallback(l),this.setState(o,l)},i.setNextCallback=function(o){var l=this,c=!0;return this.nextCallback=function(f){c&&(c=!1,l.nextCallback=null,o(f))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},i.onTransitionEnd=function(o,l){this.setNextCallback(l);var c=this.props.nodeRef?this.props.nodeRef.current:fc.findDOMNode(this),f=o==null&&!this.props.addEndListener;if(!c||f){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var h=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],p=h[0],g=h[1];this.props.addEndListener(p,g)}o!=null&&setTimeout(this.nextCallback,o)},i.render=function(){var o=this.state.status;if(o===tl)return null;var l=this.props,c=l.children;l.in,l.mountOnEnter,l.unmountOnExit,l.appear,l.enter,l.exit,l.timeout,l.addEndListener,l.onEnter,l.onEntering,l.onEntered,l.onExit,l.onExiting,l.onExited,l.nodeRef;var f=XT(l,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ti.createElement(Ic.Provider,{value:null},typeof c=="function"?c(o,f):ti.cloneElement(ti.Children.only(c),f))},t})(ti.Component);Pi.contextType=Ic;Pi.propTypes={};function ys(){}Pi.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ys,onEntering:ys,onEntered:ys,onExit:ys,onExiting:ys,onExited:ys};Pi.UNMOUNTED=tl;Pi.EXITED=da;Pi.ENTERING=ha;Pi.ENTERED=Cs;Pi.EXITING=pm;function J3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dg(e,t){var i=function(l){return t&&A.isValidElement(l)?t(l):l},a=Object.create(null);return e&&A.Children.map(e,function(o){return o}).forEach(function(o){a[o.key]=i(o)}),a}function eD(e,t){e=e||{},t=t||{};function i(g){return g in t?t[g]:e[g]}var a=Object.create(null),o=[];for(var l in e)l in t?o.length&&(a[l]=o,o=[]):o.push(l);var c,f={};for(var h in t){if(a[h])for(c=0;c<a[h].length;c++){var p=a[h][c];f[a[h][c]]=i(p)}f[h]=i(h)}for(c=0;c<o.length;c++)f[o[c]]=i(o[c]);return f}function ya(e,t,i){return i[t]!=null?i[t]:e.props[t]}function tD(e,t){return Dg(e.children,function(i){return A.cloneElement(i,{onExited:t.bind(null,i),in:!0,appear:ya(i,"appear",e),enter:ya(i,"enter",e),exit:ya(i,"exit",e)})})}function nD(e,t,i){var a=Dg(e.children),o=eD(t,a);return Object.keys(o).forEach(function(l){var c=o[l];if(A.isValidElement(c)){var f=l in t,h=l in a,p=t[l],g=A.isValidElement(p)&&!p.props.in;h&&(!f||g)?o[l]=A.cloneElement(c,{onExited:i.bind(null,c),in:!0,exit:ya(c,"exit",e),enter:ya(c,"enter",e)}):!h&&f&&!g?o[l]=A.cloneElement(c,{in:!1}):h&&f&&A.isValidElement(p)&&(o[l]=A.cloneElement(c,{onExited:i.bind(null,c),in:p.props.in,exit:ya(c,"exit",e),enter:ya(c,"enter",e)}))}}),o}var iD=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},rD={component:"div",childFactory:function(t){return t}},_g=(function(e){WT(t,e);function t(a,o){var l;l=e.call(this,a,o)||this;var c=l.handleExited.bind(J3(l));return l.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},l}var i=t.prototype;return i.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},i.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,l){var c=l.children,f=l.handleExited,h=l.firstRender;return{children:h?tD(o,f):nD(o,c,f),firstRender:!1}},i.handleExited=function(o,l){var c=Dg(this.props.children);o.key in c||(o.props.onExited&&o.props.onExited(l),this.mounted&&this.setState(function(f){var h=Vc({},f.children);return delete h[o.key],{children:h}}))},i.render=function(){var o=this.props,l=o.component,c=o.childFactory,f=XT(o,["component","childFactory"]),h=this.state.contextValue,p=iD(this.state.children).map(c);return delete f.appear,delete f.enter,delete f.exit,l===null?ti.createElement(Ic.Provider,{value:h},p):ti.createElement(Ic.Provider,{value:h},ti.createElement(l,f,p))},t})(ti.Component);_g.propTypes={};_g.defaultProps=rD;const CS={};function ZT(e,t){const i=A.useRef(CS);return i.current===CS&&(i.current=e(t)),i}const aD=[];function sD(e){A.useEffect(e,aD)}class Ng{static create(){return new Ng}currentId=null;start(t,i){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,i()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function JT(){const e=ZT(Ng.create).current;return sD(e.disposeEffect),e}const e2=e=>e.scrollTop;function Fc(e,t){const{timeout:i,easing:a,style:o={}}=e;return{duration:o.transitionDuration??(typeof i=="number"?i:i[t.mode]||0),easing:o.transitionTimingFunction??(typeof a=="object"?a[t.mode]:a),delay:o.transitionDelay}}function qc(e){return typeof e=="string"}function t2(e,t,i){return e===void 0||qc(e)?t:{...t,ownerState:{...t.ownerState,...i}}}function n2(e,t,i){return typeof e=="function"?e(t,i):e}function i2(e,t=[]){if(e===void 0)return{};const i={};return Object.keys(e).filter(a=>a.match(/^on[A-Z]/)&&typeof e[a]=="function"&&!t.includes(a)).forEach(a=>{i[a]=e[a]}),i}function TS(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(i=>!(i.match(/^on[A-Z]/)&&typeof e[i]=="function")).forEach(i=>{t[i]=e[i]}),t}function r2(e){const{getSlotProps:t,additionalProps:i,externalSlotProps:a,externalForwardedProps:o,className:l}=e;if(!t){const x=Ce(i?.className,l,o?.className,a?.className),S={...i?.style,...o?.style,...a?.style},C={...i,...o,...a};return x.length>0&&(C.className=x),Object.keys(S).length>0&&(C.style=S),{props:C,internalRef:void 0}}const c=i2({...o,...a}),f=TS(a),h=TS(o),p=t(c),g=Ce(p?.className,i?.className,l,o?.className,a?.className),y={...p?.style,...i?.style,...o?.style,...a?.style},v={...p,...i,...h,...f};return g.length>0&&(v.className=g),Object.keys(y).length>0&&(v.style=y),{props:v,internalRef:p.ref}}function Ot(e,t){const{className:i,elementType:a,ownerState:o,externalForwardedProps:l,internalForwardedProps:c,shouldForwardComponentProp:f=!1,...h}=t,{component:p,slots:g={[e]:void 0},slotProps:y={[e]:void 0},...v}=l,x=g[e]||a,S=n2(y[e],o),{props:{component:C,...T},internalRef:D}=r2({className:i,...h,externalForwardedProps:e==="root"?v:void 0,externalSlotProps:S}),N=mn(D,S?.ref,t.ref),R=e==="root"?C||p:C,w=t2(x,{...e==="root"&&!p&&!g[e]&&c,...e!=="root"&&!g[e]&&c,...T,...R&&!f&&{as:R},...R&&f&&{component:R},ref:N},o);return[x,w]}function oD(e){return Fe("MuiPaper",e)}Be("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const lD=e=>{const{square:t,elevation:i,variant:a,classes:o}=e,l={root:["root",a,!t&&"rounded",a==="elevation"&&`elevation${i}`]};return qe(l,oD,o)},uD=fe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,t[i.variant],!i.square&&t.rounded,i.variant==="elevation"&&t[`elevation${i.elevation}`]]}})(Qe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Lg=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiPaper"}),o=Hs(),{className:l,component:c="div",elevation:f=1,square:h=!1,variant:p="elevation",...g}=a,y={...a,component:c,elevation:f,square:h,variant:p},v=lD(y);return _.jsx(uD,{as:c,ownerState:y,className:Ce(v.root,l),ref:i,...g,style:{...p==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[f],...o.vars&&{"--Paper-overlay":o.vars.overlays?.[f]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${St("#fff",fm(f))}, ${St("#fff",fm(f))})`}},...g.style}})});function wS(e){try{return e.matches(":focus-visible")}catch{}return!1}class Kc{static create(){return new Kc}static use(){const t=ZT(Kc.create).current,[i,a]=A.useState(!1);return t.shouldMount=i,t.setShouldMount=a,A.useEffect(t.mountEffect,[i]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=fD(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function cD(){return Kc.use()}function fD(){let e,t;const i=new Promise((a,o)=>{e=a,t=o});return i.resolve=e,i.reject=t,i}function dD(e){const{className:t,classes:i,pulsate:a=!1,rippleX:o,rippleY:l,rippleSize:c,in:f,onExited:h,timeout:p}=e,[g,y]=A.useState(!1),v=Ce(t,i.ripple,i.rippleVisible,a&&i.ripplePulsate),x={width:c,height:c,top:-(c/2)+l,left:-(c/2)+o},S=Ce(i.child,g&&i.childLeaving,a&&i.childPulsate);return!f&&!g&&y(!0),A.useEffect(()=>{if(!f&&h!=null){const C=setTimeout(h,p);return()=>{clearTimeout(C)}}},[h,f,p]),_.jsx("span",{className:v,style:x,children:_.jsx("span",{className:S})})}const Jn=Be("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),mm=550,hD=80,pD=Nl`
|
|
44
|
-
0% {
|
|
45
|
-
transform: scale(0);
|
|
46
|
-
opacity: 0.1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
100% {
|
|
50
|
-
transform: scale(1);
|
|
51
|
-
opacity: 0.3;
|
|
52
|
-
}
|
|
53
|
-
`,mD=Nl`
|
|
54
|
-
0% {
|
|
55
|
-
opacity: 1;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
100% {
|
|
59
|
-
opacity: 0;
|
|
60
|
-
}
|
|
61
|
-
`,gD=Nl`
|
|
62
|
-
0% {
|
|
63
|
-
transform: scale(1);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
50% {
|
|
67
|
-
transform: scale(0.92);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
100% {
|
|
71
|
-
transform: scale(1);
|
|
72
|
-
}
|
|
73
|
-
`,yD=fe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),vD=fe(dD,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
74
|
-
opacity: 0;
|
|
75
|
-
position: absolute;
|
|
76
|
-
|
|
77
|
-
&.${Jn.rippleVisible} {
|
|
78
|
-
opacity: 0.3;
|
|
79
|
-
transform: scale(1);
|
|
80
|
-
animation-name: ${pD};
|
|
81
|
-
animation-duration: ${mm}ms;
|
|
82
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&.${Jn.ripplePulsate} {
|
|
86
|
-
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
& .${Jn.child} {
|
|
90
|
-
opacity: 1;
|
|
91
|
-
display: block;
|
|
92
|
-
width: 100%;
|
|
93
|
-
height: 100%;
|
|
94
|
-
border-radius: 50%;
|
|
95
|
-
background-color: currentColor;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
& .${Jn.childLeaving} {
|
|
99
|
-
opacity: 0;
|
|
100
|
-
animation-name: ${mD};
|
|
101
|
-
animation-duration: ${mm}ms;
|
|
102
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
& .${Jn.childPulsate} {
|
|
106
|
-
position: absolute;
|
|
107
|
-
/* @noflip */
|
|
108
|
-
left: 0px;
|
|
109
|
-
top: 0;
|
|
110
|
-
animation-name: ${gD};
|
|
111
|
-
animation-duration: 2500ms;
|
|
112
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
113
|
-
animation-iteration-count: infinite;
|
|
114
|
-
animation-delay: 200ms;
|
|
115
|
-
}
|
|
116
|
-
`,bD=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:l={},className:c,...f}=a,[h,p]=A.useState([]),g=A.useRef(0),y=A.useRef(null);A.useEffect(()=>{y.current&&(y.current(),y.current=null)},[h]);const v=A.useRef(!1),x=JT(),S=A.useRef(null),C=A.useRef(null),T=A.useCallback(w=>{const{pulsate:M,rippleX:L,rippleY:P,rippleSize:U,cb:G}=w;p(Q=>[...Q,_.jsx(vD,{classes:{ripple:Ce(l.ripple,Jn.ripple),rippleVisible:Ce(l.rippleVisible,Jn.rippleVisible),ripplePulsate:Ce(l.ripplePulsate,Jn.ripplePulsate),child:Ce(l.child,Jn.child),childLeaving:Ce(l.childLeaving,Jn.childLeaving),childPulsate:Ce(l.childPulsate,Jn.childPulsate)},timeout:mm,pulsate:M,rippleX:L,rippleY:P,rippleSize:U},g.current)]),g.current+=1,y.current=G},[l]),D=A.useCallback((w={},M={},L=()=>{})=>{const{pulsate:P=!1,center:U=o||M.pulsate,fakeElement:G=!1}=M;if(w?.type==="mousedown"&&v.current){v.current=!1;return}w?.type==="touchstart"&&(v.current=!0);const Q=G?null:C.current,J=Q?Q.getBoundingClientRect():{width:0,height:0,left:0,top:0};let O,Z,F;if(U||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)O=Math.round(J.width/2),Z=Math.round(J.height/2);else{const{clientX:Y,clientY:k}=w.touches&&w.touches.length>0?w.touches[0]:w;O=Math.round(Y-J.left),Z=Math.round(k-J.top)}if(U)F=Math.sqrt((2*J.width**2+J.height**2)/3),F%2===0&&(F+=1);else{const Y=Math.max(Math.abs((Q?Q.clientWidth:0)-O),O)*2+2,k=Math.max(Math.abs((Q?Q.clientHeight:0)-Z),Z)*2+2;F=Math.sqrt(Y**2+k**2)}w?.touches?S.current===null&&(S.current=()=>{T({pulsate:P,rippleX:O,rippleY:Z,rippleSize:F,cb:L})},x.start(hD,()=>{S.current&&(S.current(),S.current=null)})):T({pulsate:P,rippleX:O,rippleY:Z,rippleSize:F,cb:L})},[o,T,x]),N=A.useCallback(()=>{D({},{pulsate:!0})},[D]),R=A.useCallback((w,M)=>{if(x.clear(),w?.type==="touchend"&&S.current){S.current(),S.current=null,x.start(0,()=>{R(w,M)});return}S.current=null,p(L=>L.length>0?L.slice(1):L),y.current=M},[x]);return A.useImperativeHandle(i,()=>({pulsate:N,start:D,stop:R}),[N,D,R]),_.jsx(yD,{className:Ce(Jn.root,l.root,c),ref:C,...f,children:_.jsx(_g,{component:null,exit:!0,children:h})})});function SD(e){return Fe("MuiButtonBase",e)}const xD=Be("MuiButtonBase",["root","disabled","focusVisible"]),CD=e=>{const{disabled:t,focusVisible:i,focusVisibleClassName:a,classes:o}=e,c=qe({root:["root",t&&"disabled",i&&"focusVisible"]},SD,o);return i&&a&&(c.root+=` ${a}`),c},TD=fe("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${xD.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),_f=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:l=!1,children:c,className:f,component:h="button",disabled:p=!1,disableRipple:g=!1,disableTouchRipple:y=!1,focusRipple:v=!1,focusVisibleClassName:x,LinkComponent:S="a",onBlur:C,onClick:T,onContextMenu:D,onDragLeave:N,onFocus:R,onFocusVisible:w,onKeyDown:M,onKeyUp:L,onMouseDown:P,onMouseLeave:U,onMouseUp:G,onTouchEnd:Q,onTouchMove:J,onTouchStart:O,tabIndex:Z=0,TouchRippleProps:F,touchRippleRef:Y,type:k,...I}=a,ee=A.useRef(null),ae=cD(),le=mn(ae.ref,Y),[z,q]=A.useState(!1);p&&z&&q(!1),A.useImperativeHandle(o,()=>({focusVisible:()=>{q(!0),ee.current.focus()}}),[]);const se=ae.shouldMount&&!g&&!p;A.useEffect(()=>{z&&v&&!g&&ae.pulsate()},[g,v,z,ae]);const oe=ir(ae,"start",P,y),ue=ir(ae,"stop",D,y),he=ir(ae,"stop",N,y),me=ir(ae,"stop",G,y),Ue=ir(ae,"stop",pe=>{z&&pe.preventDefault(),U&&U(pe)},y),Se=ir(ae,"start",O,y),xe=ir(ae,"stop",Q,y),De=ir(ae,"stop",J,y),Ve=ir(ae,"stop",pe=>{wS(pe.target)||q(!1),C&&C(pe)},!1),Kt=xa(pe=>{ee.current||(ee.current=pe.currentTarget),wS(pe.target)&&(q(!0),w&&w(pe)),R&&R(pe)}),Te=()=>{const pe=ee.current;return h&&h!=="button"&&!(pe.tagName==="A"&&pe.href)},je=xa(pe=>{v&&!pe.repeat&&z&&pe.key===" "&&ae.stop(pe,()=>{ae.start(pe)}),pe.target===pe.currentTarget&&Te()&&pe.key===" "&&pe.preventDefault(),M&&M(pe),pe.target===pe.currentTarget&&Te()&&pe.key==="Enter"&&!p&&(pe.preventDefault(),T&&T(pe))}),Gt=xa(pe=>{v&&pe.key===" "&&z&&!pe.defaultPrevented&&ae.stop(pe,()=>{ae.pulsate(pe)}),L&&L(pe),T&&pe.target===pe.currentTarget&&Te()&&pe.key===" "&&!pe.defaultPrevented&&T(pe)});let Lt=h;Lt==="button"&&(I.href||I.to)&&(Lt=S);const ct={};if(Lt==="button"){const pe=!!I.formAction;ct.type=k===void 0&&!pe?"button":k,ct.disabled=p}else!I.href&&!I.to&&(ct.role="button"),p&&(ct["aria-disabled"]=p);const ft=mn(i,ee),zt={...a,centerRipple:l,component:h,disabled:p,disableRipple:g,disableTouchRipple:y,focusRipple:v,tabIndex:Z,focusVisible:z},st=CD(zt);return _.jsxs(TD,{as:Lt,className:Ce(st.root,f),ownerState:zt,onBlur:Ve,onClick:T,onContextMenu:ue,onFocus:Kt,onKeyDown:je,onKeyUp:Gt,onMouseDown:oe,onMouseLeave:Ue,onMouseUp:me,onDragLeave:he,onTouchEnd:xe,onTouchMove:De,onTouchStart:Se,ref:ft,tabIndex:p?-1:Z,type:k,...ct,...I,children:[c,se?_.jsx(bD,{ref:le,center:l,...F}):null]})});function ir(e,t,i,a=!1){return xa(o=>(i&&i(o),a||e[t](o),!0))}function wD(e){return typeof e.main=="string"}function ED(e,t=[]){if(!wD(e))return!1;for(const i of t)if(!e.hasOwnProperty(i)||typeof e[i]!="string")return!1;return!0}function Un(e=[]){return([,t])=>t&&ED(t,e)}function AD(e){return Fe("MuiAlert",e)}const ES=Be("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function RD(e){return Fe("MuiCircularProgress",e)}Be("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const fi=44,gm=Nl`
|
|
117
|
-
0% {
|
|
118
|
-
transform: rotate(0deg);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
100% {
|
|
122
|
-
transform: rotate(360deg);
|
|
123
|
-
}
|
|
124
|
-
`,ym=Nl`
|
|
125
|
-
0% {
|
|
126
|
-
stroke-dasharray: 1px, 200px;
|
|
127
|
-
stroke-dashoffset: 0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
50% {
|
|
131
|
-
stroke-dasharray: 100px, 200px;
|
|
132
|
-
stroke-dashoffset: -15px;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
100% {
|
|
136
|
-
stroke-dasharray: 1px, 200px;
|
|
137
|
-
stroke-dashoffset: -126px;
|
|
138
|
-
}
|
|
139
|
-
`,OD=typeof gm!="string"?yg`
|
|
140
|
-
animation: ${gm} 1.4s linear infinite;
|
|
141
|
-
`:null,MD=typeof ym!="string"?yg`
|
|
142
|
-
animation: ${ym} 1.4s ease-in-out infinite;
|
|
143
|
-
`:null,DD=e=>{const{classes:t,variant:i,color:a,disableShrink:o}=e,l={root:["root",i,`color${ye(a)}`],svg:["svg"],track:["track"],circle:["circle",`circle${ye(i)}`,o&&"circleDisableShrink"]};return qe(l,RD,t)},_D=fe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,t[i.variant],t[`color${ye(i.color)}`]]}})(Qe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:OD||{animation:`${gm} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Un()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),ND=fe("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),LD=fe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.circle,t[`circle${ye(i.variant)}`],i.disableShrink&&t.circleDisableShrink]}})(Qe(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:MD||{animation:`${ym} 1.4s ease-in-out infinite`}}]}))),zD=fe("circle",{name:"MuiCircularProgress",slot:"Track"})(Qe(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Ns=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiCircularProgress"}),{className:o,color:l="primary",disableShrink:c=!1,enableTrackSlot:f=!1,size:h=40,style:p,thickness:g=3.6,value:y=0,variant:v="indeterminate",...x}=a,S={...a,color:l,disableShrink:c,size:h,thickness:g,value:y,variant:v,enableTrackSlot:f},C=DD(S),T={},D={},N={};if(v==="determinate"){const R=2*Math.PI*((fi-g)/2);T.strokeDasharray=R.toFixed(3),N["aria-valuenow"]=Math.round(y),T.strokeDashoffset=`${((100-y)/100*R).toFixed(3)}px`,D.transform="rotate(-90deg)"}return _.jsx(_D,{className:Ce(C.root,o),style:{width:h,height:h,...D,...p},ownerState:S,ref:i,role:"progressbar",...N,...x,children:_.jsxs(ND,{className:C.svg,ownerState:S,viewBox:`${fi/2} ${fi/2} ${fi} ${fi}`,children:[f?_.jsx(zD,{className:C.track,ownerState:S,cx:fi,cy:fi,r:(fi-g)/2,fill:"none",strokeWidth:g,"aria-hidden":"true"}):null,_.jsx(LD,{className:C.circle,style:T,ownerState:S,cx:fi,cy:fi,r:(fi-g)/2,fill:"none",strokeWidth:g})]})})});function kD(e){return Fe("MuiIconButton",e)}const AS=Be("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),PD=e=>{const{classes:t,disabled:i,color:a,edge:o,size:l,loading:c}=e,f={root:["root",c&&"loading",i&&"disabled",a!=="default"&&`color${ye(a)}`,o&&`edge${ye(o)}`,`size${ye(l)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return qe(f,kD,t)},jD=fe(_f,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,i.loading&&t.loading,i.color!=="default"&&t[`color${ye(i.color)}`],i.edge&&t[`edge${ye(i.edge)}`],t[`size${ye(i.size)}`]]}})(Qe(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Qe(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Un()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Un()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${AS.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${AS.loading}`]:{color:"transparent"}}))),BD=fe("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),UD=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiIconButton"}),{edge:o=!1,children:l,className:c,color:f="default",disabled:h=!1,disableFocusRipple:p=!1,size:g="medium",id:y,loading:v=null,loadingIndicator:x,...S}=a,C=Pl(y),T=x??_.jsx(Ns,{"aria-labelledby":C,color:"inherit",size:16}),D={...a,edge:o,color:f,disabled:h,disableFocusRipple:p,loading:v,loadingIndicator:T,size:g},N=PD(D);return _.jsxs(jD,{id:v?C:y,className:Ce(N.root,c),centerRipple:!0,focusRipple:!p,disabled:h||v,ref:i,...S,ownerState:D,children:[typeof v=="boolean"&&_.jsx("span",{className:N.loadingWrapper,style:{display:"contents"},children:_.jsx(BD,{className:N.loadingIndicator,ownerState:D,children:v&&T})}),l]})}),VD=on(_.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})),$D=on(_.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),HD=on(_.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),ID=on(_.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"})),FD=on(_.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),qD=e=>{const{variant:t,color:i,severity:a,classes:o}=e,l={root:["root",`color${ye(i||a)}`,`${t}${ye(i||a)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return qe(l,AD,o)},KD=fe(Lg,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,t[i.variant],t[`${i.variant}${ye(i.color||i.severity)}`]]}})(Qe(({theme:e})=>{const t=e.palette.mode==="light"?e.darken:e.lighten,i=e.palette.mode==="light"?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Un(["light"])).map(([a])=>({props:{colorSeverity:a,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${a}Color`]:t(e.palette[a].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${a}StandardBg`]:i(e.palette[a].light,.9),[`& .${ES.icon}`]:e.vars?{color:e.vars.palette.Alert[`${a}IconColor`]}:{color:e.palette[a].main}}})),...Object.entries(e.palette).filter(Un(["light"])).map(([a])=>({props:{colorSeverity:a,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${a}Color`]:t(e.palette[a].light,.6),border:`1px solid ${(e.vars||e).palette[a].light}`,[`& .${ES.icon}`]:e.vars?{color:e.vars.palette.Alert[`${a}IconColor`]}:{color:e.palette[a].main}}})),...Object.entries(e.palette).filter(Un(["dark"])).map(([a])=>({props:{colorSeverity:a,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${a}FilledColor`],backgroundColor:e.vars.palette.Alert[`${a}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[a].dark:e.palette[a].main,color:e.palette.getContrastText(e.palette[a].main)}}}))]}})),GD=fe("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),YD=fe("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),XD=fe("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),RS={success:_.jsx(VD,{fontSize:"inherit"}),warning:_.jsx($D,{fontSize:"inherit"}),error:_.jsx(HD,{fontSize:"inherit"}),info:_.jsx(ID,{fontSize:"inherit"})},a2=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiAlert"}),{action:o,children:l,className:c,closeText:f="Close",color:h,components:p={},componentsProps:g={},icon:y,iconMapping:v=RS,onClose:x,role:S="alert",severity:C="success",slotProps:T={},slots:D={},variant:N="standard",...R}=a,w={...a,color:h,severity:C,variant:N,colorSeverity:h||C},M=qD(w),L={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...D},slotProps:{...g,...T}},[P,U]=Ot("root",{ref:i,shouldForwardComponentProp:!0,className:Ce(M.root,c),elementType:KD,externalForwardedProps:{...L,...R},ownerState:w,additionalProps:{role:S,elevation:0}}),[G,Q]=Ot("icon",{className:M.icon,elementType:GD,externalForwardedProps:L,ownerState:w}),[J,O]=Ot("message",{className:M.message,elementType:YD,externalForwardedProps:L,ownerState:w}),[Z,F]=Ot("action",{className:M.action,elementType:XD,externalForwardedProps:L,ownerState:w}),[Y,k]=Ot("closeButton",{elementType:UD,externalForwardedProps:L,ownerState:w}),[I,ee]=Ot("closeIcon",{elementType:FD,externalForwardedProps:L,ownerState:w});return _.jsxs(P,{...U,children:[y!==!1?_.jsx(G,{...Q,children:y||v[C]||RS[C]}):null,_.jsx(J,{...O,children:l}),o!=null?_.jsx(Z,{...F,children:o}):null,o==null&&x?_.jsx(Z,{...F,children:_.jsx(Y,{size:"small","aria-label":f,title:f,color:"inherit",onClick:x,...k,children:_.jsx(I,{fontSize:"small",...ee})})}):null]})});function WD(e){return Fe("MuiTypography",e)}Be("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const QD={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},ZD=K3(),JD=e=>{const{align:t,gutterBottom:i,noWrap:a,paragraph:o,variant:l,classes:c}=e,f={root:["root",l,e.align!=="inherit"&&`align${ye(t)}`,i&&"gutterBottom",a&&"noWrap",o&&"paragraph"]};return qe(f,WD,c)},e_=fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,i.variant&&t[i.variant],i.align!=="inherit"&&t[`align${ye(i.align)}`],i.noWrap&&t.noWrap,i.gutterBottom&&t.gutterBottom,i.paragraph&&t.paragraph]}})(Qe(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,i])=>t!=="inherit"&&i&&typeof i=="object").map(([t,i])=>({props:{variant:t},style:i})),...Object.entries(e.palette).filter(Un()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${ye(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),OS={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},pt=A.forwardRef(function(t,i){const{color:a,...o}=Ke({props:t,name:"MuiTypography"}),l=!QD[a],c=ZD({...o,...l&&{color:a}}),{align:f="inherit",className:h,component:p,gutterBottom:g=!1,noWrap:y=!1,paragraph:v=!1,variant:x="body1",variantMapping:S=OS,...C}=c,T={...c,align:f,color:a,className:h,component:p,gutterBottom:g,noWrap:y,paragraph:v,variant:x,variantMapping:S},D=p||(v?"p":S[x]||OS[x])||"span",N=JD(T);return _.jsx(e_,{as:D,ref:i,className:Ce(N.root,h),...C,ownerState:T,style:{...f!=="inherit"&&{"--Typography-textAlign":f},...C.style}})});function t_(e){const{elementType:t,externalSlotProps:i,ownerState:a,skipResolvingSlotProps:o=!1,...l}=e,c=o?{}:n2(i,a),{props:f,internalRef:h}=r2({...l,externalSlotProps:c}),p=mn(h,c?.ref,e.additionalProps?.ref);return t2(t,{...f,ref:p},a)}function jl(e){return parseInt(A.version,10)>=19?e?.props?.ref||null:e?.ref||null}function n_(e){return typeof e=="function"?e():e}const i_=A.forwardRef(function(t,i){const{children:a,container:o,disablePortal:l=!1}=t,[c,f]=A.useState(null),h=mn(A.isValidElement(a)?jl(a):null,i);if(ki(()=>{l||f(n_(o)||document.body)},[o,l]),ki(()=>{if(c&&!l)return bS(i,c),()=>{bS(i,null)}},[i,c,l]),l){if(A.isValidElement(a)){const p={ref:h};return A.cloneElement(a,p)}return a}return c&&QT.createPortal(a,c)});function dc(e){return parseInt(e,10)||0}const r_={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function a_(e){for(const t in e)return!1;return!0}function MS(e){return a_(e)||e.outerHeightStyle===0&&!e.overflowing}const s_=A.forwardRef(function(t,i){const{onChange:a,maxRows:o,minRows:l=1,style:c,value:f,...h}=t,{current:p}=A.useRef(f!=null),g=A.useRef(null),y=mn(i,g),v=A.useRef(null),x=A.useRef(null),S=A.useCallback(()=>{const R=g.current,w=x.current;if(!R||!w)return;const L=or(R).getComputedStyle(R);if(L.width==="0px")return{outerHeightStyle:0,overflowing:!1};w.style.width=L.width,w.value=R.value||t.placeholder||"x",w.value.slice(-1)===`
|
|
144
|
-
`&&(w.value+=" ");const P=L.boxSizing,U=dc(L.paddingBottom)+dc(L.paddingTop),G=dc(L.borderBottomWidth)+dc(L.borderTopWidth),Q=w.scrollHeight;w.value="x";const J=w.scrollHeight;let O=Q;l&&(O=Math.max(Number(l)*J,O)),o&&(O=Math.min(Number(o)*J,O)),O=Math.max(O,J);const Z=O+(P==="border-box"?U+G:0),F=Math.abs(O-Q)<=1;return{outerHeightStyle:Z,overflowing:F}},[o,l,t.placeholder]),C=xa(()=>{const R=g.current,w=S();if(!R||!w||MS(w))return!1;const M=w.outerHeightStyle;return v.current!=null&&v.current!==M}),T=A.useCallback(()=>{const R=g.current,w=S();if(!R||!w||MS(w))return;const M=w.outerHeightStyle;v.current!==M&&(v.current=M,R.style.height=`${M}px`),R.style.overflow=w.overflowing?"hidden":""},[S]),D=A.useRef(-1);ki(()=>{const R=YT(T),w=g?.current;if(!w)return;const M=or(w);M.addEventListener("resize",R);let L;return typeof ResizeObserver<"u"&&(L=new ResizeObserver(()=>{C()&&(L.unobserve(w),cancelAnimationFrame(D.current),T(),D.current=requestAnimationFrame(()=>{L.observe(w)}))}),L.observe(w)),()=>{R.clear(),cancelAnimationFrame(D.current),M.removeEventListener("resize",R),L&&L.disconnect()}},[S,T,C]),ki(()=>{T()});const N=R=>{p||T();const w=R.target,M=w.value.length,L=w.value.endsWith(`
|
|
145
|
-
`),P=w.selectionStart===M;L&&P&&w.setSelectionRange(M,M),a&&a(R)};return _.jsxs(A.Fragment,{children:[_.jsx("textarea",{value:f,onChange:N,ref:y,rows:l,style:c,...h}),_.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:x,tabIndex:-1,style:{...r_.shadow,...c,paddingTop:0,paddingBottom:0}})]})});function Is({props:e,states:t,muiFormControl:i}){return t.reduce((a,o)=>(a[o]=e[o],i&&typeof e[o]>"u"&&(a[o]=i[o]),a),{})}const zg=A.createContext(void 0);function Fs(){return A.useContext(zg)}function DS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Gc(e,t=!1){return e&&(DS(e.value)&&e.value!==""||t&&DS(e.defaultValue)&&e.defaultValue!=="")}function o_(e){return e.startAdornment}function l_(e){return Fe("MuiInputBase",e)}const ks=Be("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var _S;const Nf=(e,t)=>{const{ownerState:i}=e;return[t.root,i.formControl&&t.formControl,i.startAdornment&&t.adornedStart,i.endAdornment&&t.adornedEnd,i.error&&t.error,i.size==="small"&&t.sizeSmall,i.multiline&&t.multiline,i.color&&t[`color${ye(i.color)}`],i.fullWidth&&t.fullWidth,i.hiddenLabel&&t.hiddenLabel]},Lf=(e,t)=>{const{ownerState:i}=e;return[t.input,i.size==="small"&&t.inputSizeSmall,i.multiline&&t.inputMultiline,i.type==="search"&&t.inputTypeSearch,i.startAdornment&&t.inputAdornedStart,i.endAdornment&&t.inputAdornedEnd,i.hiddenLabel&&t.inputHiddenLabel]},u_=e=>{const{classes:t,color:i,disabled:a,error:o,endAdornment:l,focused:c,formControl:f,fullWidth:h,hiddenLabel:p,multiline:g,readOnly:y,size:v,startAdornment:x,type:S}=e,C={root:["root",`color${ye(i)}`,a&&"disabled",o&&"error",h&&"fullWidth",c&&"focused",f&&"formControl",v&&v!=="medium"&&`size${ye(v)}`,g&&"multiline",x&&"adornedStart",l&&"adornedEnd",p&&"hiddenLabel",y&&"readOnly"],input:["input",a&&"disabled",S==="search"&&"inputTypeSearch",g&&"inputMultiline",v==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",x&&"inputAdornedStart",l&&"inputAdornedEnd",y&&"readOnly"]};return qe(C,l_,t)},zf=fe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Nf})(Qe(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${ks.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:i})=>t.multiline&&i==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),kf=fe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Lf})(Qe(({theme:e})=>{const t=e.palette.mode==="light",i={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},a={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${ks.formControl} &`]:{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${ks.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:l})=>!l.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:l})=>l.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),NS=Mg({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),kg=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:l,autoFocus:c,className:f,color:h,components:p={},componentsProps:g={},defaultValue:y,disabled:v,disableInjectingGlobalStyles:x,endAdornment:S,error:C,fullWidth:T=!1,id:D,inputComponent:N="input",inputProps:R={},inputRef:w,margin:M,maxRows:L,minRows:P,multiline:U=!1,name:G,onBlur:Q,onChange:J,onClick:O,onFocus:Z,onKeyDown:F,onKeyUp:Y,placeholder:k,readOnly:I,renderSuffix:ee,rows:ae,size:le,slotProps:z={},slots:q={},startAdornment:se,type:oe="text",value:ue,...he}=a,me=R.value!=null?R.value:ue,{current:Ue}=A.useRef(me!=null),Se=A.useRef(),xe=A.useCallback(ot=>{},[]),De=mn(Se,w,R.ref,xe),[Ve,Kt]=A.useState(!1),Te=Fs(),je=Is({props:a,muiFormControl:Te,states:["color","disabled","error","hiddenLabel","size","required","filled"]});je.focused=Te?Te.focused:Ve,A.useEffect(()=>{!Te&&v&&Ve&&(Kt(!1),Q&&Q())},[Te,v,Ve,Q]);const Gt=Te&&Te.onFilled,Lt=Te&&Te.onEmpty,ct=A.useCallback(ot=>{Gc(ot)?Gt&&Gt():Lt&&Lt()},[Gt,Lt]);ki(()=>{Ue&&ct({value:me})},[me,ct,Ue]);const ft=ot=>{Z&&Z(ot),R.onFocus&&R.onFocus(ot),Te&&Te.onFocus?Te.onFocus(ot):Kt(!0)},zt=ot=>{Q&&Q(ot),R.onBlur&&R.onBlur(ot),Te&&Te.onBlur?Te.onBlur(ot):Kt(!1)},st=(ot,...si)=>{if(!Ue){const $n=ot.target||Se.current;if($n==null)throw new Error(sr(1));ct({value:$n.value})}R.onChange&&R.onChange(ot,...si),J&&J(ot,...si)};A.useEffect(()=>{ct(Se.current)},[]);const pe=ot=>{Se.current&&ot.currentTarget===ot.target&&Se.current.focus(),O&&O(ot)};let ai=N,Le=R;U&&ai==="input"&&(ae?Le={type:void 0,minRows:ae,maxRows:ae,...Le}:Le={type:void 0,maxRows:L,minRows:P,...Le},ai=s_);const ji=ot=>{ct(ot.animationName==="mui-auto-fill-cancel"?Se.current:{value:"x"})};A.useEffect(()=>{Te&&Te.setAdornedStart(!!se)},[Te,se]);const mt={...a,color:je.color||"primary",disabled:je.disabled,endAdornment:S,error:je.error,focused:je.focused,formControl:Te,fullWidth:T,hiddenLabel:je.hiddenLabel,multiline:U,size:je.size,startAdornment:se,type:oe},$e=u_(mt),Ct=q.root||p.Root||zf,Ht=z.root||g.root||{},On=q.input||p.Input||kf;return Le={...Le,...z.input??g.input},_.jsxs(A.Fragment,{children:[!x&&typeof NS=="function"&&(_S||(_S=_.jsx(NS,{}))),_.jsxs(Ct,{...Ht,ref:i,onClick:pe,...he,...!qc(Ct)&&{ownerState:{...mt,...Ht.ownerState}},className:Ce($e.root,Ht.className,f,I&&"MuiInputBase-readOnly"),children:[se,_.jsx(zg.Provider,{value:null,children:_.jsx(On,{"aria-invalid":je.error,"aria-describedby":o,autoComplete:l,autoFocus:c,defaultValue:y,disabled:je.disabled,id:D,onAnimationStart:ji,name:G,placeholder:k,readOnly:I,required:je.required,rows:ae,value:me,onKeyDown:F,onKeyUp:Y,type:oe,...Le,...!qc(On)&&{as:ai,ownerState:{...mt,...Le.ownerState}},ref:De,className:Ce($e.input,Le.className,I&&"MuiInputBase-readOnly"),onBlur:zt,onChange:st,onFocus:ft})}),S,ee?ee({...je,startAdornment:se}):null]})]})});function c_(e){return Fe("MuiInput",e)}const Ko={...ks,...Be("MuiInput",["root","underline","input"])};function f_(e){return Fe("MuiOutlinedInput",e)}const Ei={...ks,...Be("MuiOutlinedInput",["root","notchedOutline","input"])};function d_(e){return Fe("MuiFilledInput",e)}const ua={...ks,...Be("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},h_=on(_.jsx("path",{d:"M7 10l5 5 5-5z"})),p_={entering:{opacity:1},entered:{opacity:1}},m_=A.forwardRef(function(t,i){const a=Hs(),o={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{addEndListener:l,appear:c=!0,children:f,easing:h,in:p,onEnter:g,onEntered:y,onEntering:v,onExit:x,onExited:S,onExiting:C,style:T,timeout:D=o,TransitionComponent:N=Pi,...R}=t,w=A.useRef(null),M=mn(w,jl(f),i),L=F=>Y=>{if(F){const k=w.current;Y===void 0?F(k):F(k,Y)}},P=L(v),U=L((F,Y)=>{e2(F);const k=Fc({style:T,timeout:D,easing:h},{mode:"enter"});F.style.webkitTransition=a.transitions.create("opacity",k),F.style.transition=a.transitions.create("opacity",k),g&&g(F,Y)}),G=L(y),Q=L(C),J=L(F=>{const Y=Fc({style:T,timeout:D,easing:h},{mode:"exit"});F.style.webkitTransition=a.transitions.create("opacity",Y),F.style.transition=a.transitions.create("opacity",Y),x&&x(F)}),O=L(S),Z=F=>{l&&l(w.current,F)};return _.jsx(N,{appear:c,in:p,nodeRef:w,onEnter:U,onEntered:G,onEntering:P,onExit:J,onExited:O,onExiting:Q,addEndListener:Z,timeout:D,...R,children:(F,{ownerState:Y,...k})=>A.cloneElement(f,{style:{opacity:0,visibility:F==="exited"&&!p?"hidden":void 0,...p_[F],...T,...f.props.style},ref:M,...k})})});function g_(e){return Fe("MuiBackdrop",e)}Be("MuiBackdrop",["root","invisible"]);const y_=e=>{const{classes:t,invisible:i}=e;return qe({root:["root",i&&"invisible"]},g_,t)},v_=fe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,i.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),b_=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiBackdrop"}),{children:o,className:l,component:c="div",invisible:f=!1,open:h,components:p={},componentsProps:g={},slotProps:y={},slots:v={},TransitionComponent:x,transitionDuration:S,...C}=a,T={...a,component:c,invisible:f},D=y_(T),N={transition:x,root:p.Root,...v},R={...g,...y},w={component:c,slots:N,slotProps:R},[M,L]=Ot("root",{elementType:v_,externalForwardedProps:w,className:Ce(D.root,l),ownerState:T}),[P,U]=Ot("transition",{elementType:m_,externalForwardedProps:w,ownerState:T});return _.jsx(P,{in:h,timeout:S,...C,...U,children:_.jsx(M,{"aria-hidden":!0,...L,classes:D,ref:i,children:o})})}),S_=Be("MuiBox",["root"]),x_=Df(),bt=f5({themeId:_i,defaultTheme:x_,defaultClassName:S_.root,generateClassName:RT.generate});function C_(e){return Fe("MuiButton",e)}const ca=Be("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),T_=A.createContext({}),w_=A.createContext(void 0),E_=e=>{const{color:t,disableElevation:i,fullWidth:a,size:o,variant:l,loading:c,loadingPosition:f,classes:h}=e,p={root:["root",c&&"loading",l,`${l}${ye(t)}`,`size${ye(o)}`,`${l}Size${ye(o)}`,`color${ye(t)}`,i&&"disableElevation",a&&"fullWidth",c&&`loadingPosition${ye(f)}`],startIcon:["icon","startIcon",`iconSize${ye(o)}`],endIcon:["icon","endIcon",`iconSize${ye(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},g=qe(p,C_,h);return{...h,...g}},s2=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],A_=fe(_f,{shouldForwardProp:e=>Vn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,t[i.variant],t[`${i.variant}${ye(i.color)}`],t[`size${ye(i.size)}`],t[`${i.variant}Size${ye(i.size)}`],i.color==="inherit"&&t.colorInherit,i.disableElevation&&t.disableElevation,i.fullWidth&&t.fullWidth,i.loading&&t.loading]}})(Qe(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ca.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${ca.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ca.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${ca.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Un()).map(([a])=>({props:{color:a},style:{"--variant-textColor":(e.vars||e).palette[a].main,"--variant-outlinedColor":(e.vars||e).palette[a].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[a].main,.5),"--variant-containedColor":(e.vars||e).palette[a].contrastText,"--variant-containedBg":(e.vars||e).palette[a].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[a].dark,"--variant-textBg":e.alpha((e.vars||e).palette[a].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[a].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[a].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ca.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ca.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${ca.loading}`]:{color:"transparent"}}}]}})),R_=fe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.startIcon,i.loading&&t.startIconLoadingStart,t[`iconSize${ye(i.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...s2]})),O_=fe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.endIcon,i.loading&&t.endIconLoadingEnd,t[`iconSize${ye(i.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...s2]})),M_=fe("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),LS=fe("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),hc=A.forwardRef(function(t,i){const a=A.useContext(T_),o=A.useContext(w_),l=yl(a,t),c=Ke({props:l,name:"MuiButton"}),{children:f,color:h="primary",component:p="button",className:g,disabled:y=!1,disableElevation:v=!1,disableFocusRipple:x=!1,endIcon:S,focusVisibleClassName:C,fullWidth:T=!1,id:D,loading:N=null,loadingIndicator:R,loadingPosition:w="center",size:M="medium",startIcon:L,type:P,variant:U="text",...G}=c,Q=Pl(D),J=R??_.jsx(Ns,{"aria-labelledby":Q,color:"inherit",size:16}),O={...c,color:h,component:p,disabled:y,disableElevation:v,disableFocusRipple:x,fullWidth:T,loading:N,loadingIndicator:J,loadingPosition:w,size:M,type:P,variant:U},Z=E_(O),F=(L||N&&w==="start")&&_.jsx(R_,{className:Z.startIcon,ownerState:O,children:L||_.jsx(LS,{className:Z.loadingIconPlaceholder,ownerState:O})}),Y=(S||N&&w==="end")&&_.jsx(O_,{className:Z.endIcon,ownerState:O,children:S||_.jsx(LS,{className:Z.loadingIconPlaceholder,ownerState:O})}),k=o||"",I=typeof N=="boolean"?_.jsx("span",{className:Z.loadingWrapper,style:{display:"contents"},children:N&&_.jsx(M_,{className:Z.loadingIndicator,ownerState:O,children:J})}):null;return _.jsxs(A_,{ownerState:O,className:Ce(a.className,Z.root,g,k),component:p,disabled:y||N,focusRipple:!x,focusVisibleClassName:Ce(Z.focusVisible,C),ref:i,type:P,id:N?Q:D,...G,classes:Z,children:[F,w!=="end"&&I,f,w==="end"&&I,Y]})});function D_(e){return Fe("MuiCard",e)}Be("MuiCard",["root"]);const __=e=>{const{classes:t}=e;return qe({root:["root"]},D_,t)},N_=fe(Lg,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),vm=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiCard"}),{className:o,raised:l=!1,...c}=a,f={...a,raised:l},h=__(f);return _.jsx(N_,{className:Ce(h.root,o),elevation:l?8:void 0,ref:i,ownerState:f,...c})});function L_(e){return Fe("MuiCardContent",e)}Be("MuiCardContent",["root"]);const z_=e=>{const{classes:t}=e;return qe({root:["root"]},L_,t)},k_=fe("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),bm=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiCardContent"}),{className:o,component:l="div",...c}=a,f={...a,component:l},h=z_(f);return _.jsx(k_,{as:l,className:Ce(h.root,o),ownerState:f,ref:i,...c})}),Sm=n3({createStyledComponent:fe("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,t[`maxWidth${ye(String(i.maxWidth))}`],i.fixed&&t.fixed,i.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Ke({props:e,name:"MuiContainer"})}),xm=typeof Mg({})=="function",P_=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),j_=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),o2=(e,t=!1)=>{const i={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([l,c])=>{const f=e.getColorSchemeSelector(l);f.startsWith("@")?i[f]={":root":{colorScheme:c.palette?.mode}}:i[f.replace(/\s*&/,"")]={colorScheme:c.palette?.mode}});let a={html:P_(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...j_(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...i};const o=e.components?.MuiCssBaseline?.styleOverrides;return o&&(a=[a,o]),a},Mc="mui-ecs",B_=e=>{const t=o2(e,!1),i=Array.isArray(t)?t[0]:t;return!e.vars&&i&&(i.html[`:root:has(${Mc})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([a,o])=>{const l=e.getColorSchemeSelector(a);l.startsWith("@")?i[l]={[`:root:not(:has(.${Mc}))`]:{colorScheme:o.palette?.mode}}:i[l.replace(/\s*&/,"")]={[`&:not(:has(.${Mc}))`]:{colorScheme:o.palette?.mode}}}),t},U_=Mg(xm?({theme:e,enableColorScheme:t})=>o2(e,t):({theme:e})=>B_(e));function V_(e){const t=Ke({props:e,name:"MuiCssBaseline"}),{children:i,enableColorScheme:a=!1}=t;return _.jsxs(A.Fragment,{children:[xm&&_.jsx(U_,{enableColorScheme:a}),!xm&&!a&&_.jsx("span",{className:Mc,style:{display:"none"}}),i]})}function l2(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function $_(e){const t=gi(e);return t.body===e?or(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function sl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function zS(e){return parseInt(or(e).getComputedStyle(e).paddingRight,10)||0}function H_(e){const i=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),a=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return i||a}function kS(e,t,i,a,o){const l=[t,i,...a];[].forEach.call(e.children,c=>{const f=!l.includes(c),h=!H_(c);f&&h&&sl(c,o)})}function Rp(e,t){let i=-1;return e.some((a,o)=>t(a)?(i=o,!0):!1),i}function I_(e,t){const i=[],a=e.container;if(!t.disableScrollLock){if($_(a)){const c=l2(or(a));i.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${zS(a)+c}px`;const f=gi(a).querySelectorAll(".mui-fixed");[].forEach.call(f,h=>{i.push({value:h.style.paddingRight,property:"padding-right",el:h}),h.style.paddingRight=`${zS(h)+c}px`})}let l;if(a.parentNode instanceof DocumentFragment)l=gi(a).body;else{const c=a.parentElement,f=or(a);l=c?.nodeName==="HTML"&&f.getComputedStyle(c).overflowY==="scroll"?c:a}i.push({value:l.style.overflow,property:"overflow",el:l},{value:l.style.overflowX,property:"overflow-x",el:l},{value:l.style.overflowY,property:"overflow-y",el:l}),l.style.overflow="hidden"}return()=>{i.forEach(({value:l,el:c,property:f})=>{l?c.style.setProperty(f,l):c.style.removeProperty(f)})}}function F_(e){const t=[];return[].forEach.call(e.children,i=>{i.getAttribute("aria-hidden")==="true"&&t.push(i)}),t}class q_{constructor(){this.modals=[],this.containers=[]}add(t,i){let a=this.modals.indexOf(t);if(a!==-1)return a;a=this.modals.length,this.modals.push(t),t.modalRef&&sl(t.modalRef,!1);const o=F_(i);kS(i,t.mount,t.modalRef,o,!0);const l=Rp(this.containers,c=>c.container===i);return l!==-1?(this.containers[l].modals.push(t),a):(this.containers.push({modals:[t],container:i,restore:null,hiddenSiblings:o}),a)}mount(t,i){const a=Rp(this.containers,l=>l.modals.includes(t)),o=this.containers[a];o.restore||(o.restore=I_(o,i))}remove(t,i=!0){const a=this.modals.indexOf(t);if(a===-1)return a;const o=Rp(this.containers,c=>c.modals.includes(t)),l=this.containers[o];if(l.modals.splice(l.modals.indexOf(t),1),this.modals.splice(a,1),l.modals.length===0)l.restore&&l.restore(),t.modalRef&&sl(t.modalRef,i),kS(l.container,t.mount,t.modalRef,l.hiddenSiblings,!1),this.containers.splice(o,1);else{const c=l.modals[l.modals.length-1];c.modalRef&&sl(c.modalRef,!1)}return a}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function nl(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}const K_=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function G_(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Y_(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=a=>e.ownerDocument.querySelector(`input[type="radio"]${a}`);let i=t(`[name="${e.name}"]:checked`);return i||(i=t(`[name="${e.name}"]`)),i!==e}function X_(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Y_(e))}function W_(e){const t=[],i=[];return Array.from(e.querySelectorAll(K_)).forEach((a,o)=>{const l=G_(a);l===-1||!X_(a)||(l===0?t.push(a):i.push({documentOrder:o,tabIndex:l,node:a}))}),i.sort((a,o)=>a.tabIndex===o.tabIndex?a.documentOrder-o.documentOrder:a.tabIndex-o.tabIndex).map(a=>a.node).concat(t)}function Q_(){return!0}function Z_(e){const{children:t,disableAutoFocus:i=!1,disableEnforceFocus:a=!1,disableRestoreFocus:o=!1,getTabbable:l=W_,isEnabled:c=Q_,open:f}=e,h=A.useRef(!1),p=A.useRef(null),g=A.useRef(null),y=A.useRef(null),v=A.useRef(null),x=A.useRef(!1),S=A.useRef(null),C=mn(jl(t),S),T=A.useRef(null);A.useEffect(()=>{!f||!S.current||(x.current=!i)},[i,f]),A.useEffect(()=>{if(!f||!S.current)return;const R=gi(S.current),w=nl(R);return S.current.contains(w)||(S.current.hasAttribute("tabIndex")||S.current.setAttribute("tabIndex","-1"),x.current&&S.current.focus()),()=>{o||(y.current&&y.current.focus&&(h.current=!0,y.current.focus()),y.current=null)}},[f]),A.useEffect(()=>{if(!f||!S.current)return;const R=gi(S.current),w=nl(R),M=U=>{T.current=U,!(a||!c()||U.key!=="Tab")&&w===S.current&&U.shiftKey&&(h.current=!0,g.current&&g.current.focus())},L=()=>{const U=S.current;if(U===null)return;const G=nl(R);if(!R.hasFocus()||!c()||h.current){h.current=!1;return}if(U.contains(G)||a&&G!==p.current&&G!==g.current)return;if(G!==v.current)v.current=null;else if(v.current!==null)return;if(!x.current)return;let Q=[];if((G===p.current||G===g.current)&&(Q=l(S.current)),Q.length>0){const J=!!(T.current?.shiftKey&&T.current?.key==="Tab"),O=Q[0],Z=Q[Q.length-1];typeof O!="string"&&typeof Z!="string"&&(J?Z.focus():O.focus())}else U.focus()};R.addEventListener("focusin",L),R.addEventListener("keydown",M,!0);const P=setInterval(()=>{const U=nl(R);U&&U.tagName==="BODY"&&L()},50);return()=>{clearInterval(P),R.removeEventListener("focusin",L),R.removeEventListener("keydown",M,!0)}},[i,a,o,c,f,l]);const D=R=>{y.current===null&&(y.current=R.relatedTarget),x.current=!0,v.current=R.target;const w=t.props.onFocus;w&&w(R)},N=R=>{y.current===null&&(y.current=R.relatedTarget),x.current=!0};return _.jsxs(A.Fragment,{children:[_.jsx("div",{tabIndex:f?0:-1,onFocus:N,ref:p,"data-testid":"sentinelStart"}),A.cloneElement(t,{ref:C,onFocus:D}),_.jsx("div",{tabIndex:f?0:-1,onFocus:N,ref:g,"data-testid":"sentinelEnd"})]})}function J_(e){return typeof e=="function"?e():e}function e4(e){return e?e.props.hasOwnProperty("in"):!1}const PS=()=>{},pc=new q_;function t4(e){const{container:t,disableEscapeKeyDown:i=!1,disableScrollLock:a=!1,closeAfterTransition:o=!1,onTransitionEnter:l,onTransitionExited:c,children:f,onClose:h,open:p,rootRef:g}=e,y=A.useRef({}),v=A.useRef(null),x=A.useRef(null),S=mn(x,g),[C,T]=A.useState(!p),D=e4(f);let N=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(N=!1);const R=()=>gi(v.current),w=()=>(y.current.modalRef=x.current,y.current.mount=v.current,y.current),M=()=>{pc.mount(w(),{disableScrollLock:a}),x.current&&(x.current.scrollTop=0)},L=xa(()=>{const Y=J_(t)||R().body;pc.add(w(),Y),x.current&&M()}),P=()=>pc.isTopModal(w()),U=xa(Y=>{v.current=Y,Y&&(p&&P()?M():x.current&&sl(x.current,N))}),G=A.useCallback(()=>{pc.remove(w(),N)},[N]);A.useEffect(()=>()=>{G()},[G]),A.useEffect(()=>{p?L():(!D||!o)&&G()},[p,G,D,o,L]);const Q=Y=>k=>{Y.onKeyDown?.(k),!(k.key!=="Escape"||k.which===229||!P())&&(i||(k.stopPropagation(),h&&h(k,"escapeKeyDown")))},J=Y=>k=>{Y.onClick?.(k),k.target===k.currentTarget&&h&&h(k,"backdropClick")};return{getRootProps:(Y={})=>{const k=i2(e);delete k.onTransitionEnter,delete k.onTransitionExited;const I={...k,...Y};return{role:"presentation",...I,onKeyDown:Q(I),ref:S}},getBackdropProps:(Y={})=>{const k=Y;return{"aria-hidden":!0,...k,onClick:J(k),open:p}},getTransitionProps:()=>{const Y=()=>{T(!1),l&&l()},k=()=>{T(!0),c&&c(),o&&G()};return{onEnter:vS(Y,f?.props.onEnter??PS),onExited:vS(k,f?.props.onExited??PS)}},rootRef:S,portalRef:U,isTopModal:P,exited:C,hasTransition:D}}function n4(e){return Fe("MuiModal",e)}Be("MuiModal",["root","hidden","backdrop"]);const i4=e=>{const{open:t,exited:i,classes:a}=e;return qe({root:["root",!t&&i&&"hidden"],backdrop:["backdrop"]},n4,a)},r4=fe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,!i.open&&i.exited&&t.hidden]}})(Qe(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),a4=fe(b_,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),s4=A.forwardRef(function(t,i){const a=Ke({name:"MuiModal",props:t}),{BackdropComponent:o=a4,BackdropProps:l,classes:c,className:f,closeAfterTransition:h=!1,children:p,container:g,component:y,components:v={},componentsProps:x={},disableAutoFocus:S=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:T=!1,disablePortal:D=!1,disableRestoreFocus:N=!1,disableScrollLock:R=!1,hideBackdrop:w=!1,keepMounted:M=!1,onClose:L,onTransitionEnter:P,onTransitionExited:U,open:G,slotProps:Q={},slots:J={},theme:O,...Z}=a,F={...a,closeAfterTransition:h,disableAutoFocus:S,disableEnforceFocus:C,disableEscapeKeyDown:T,disablePortal:D,disableRestoreFocus:N,disableScrollLock:R,hideBackdrop:w,keepMounted:M},{getRootProps:Y,getBackdropProps:k,getTransitionProps:I,portalRef:ee,isTopModal:ae,exited:le,hasTransition:z}=t4({...F,rootRef:i}),q={...F,exited:le},se=i4(q),oe={};if(p.props.tabIndex===void 0&&(oe.tabIndex="-1"),z){const{onEnter:xe,onExited:De}=I();oe.onEnter=xe,oe.onExited=De}const ue={slots:{root:v.Root,backdrop:v.Backdrop,...J},slotProps:{...x,...Q}},[he,me]=Ot("root",{ref:i,elementType:r4,externalForwardedProps:{...ue,...Z,component:y},getSlotProps:Y,ownerState:q,className:Ce(f,se?.root,!q.open&&q.exited&&se?.hidden)}),[Ue,Se]=Ot("backdrop",{ref:l?.ref,elementType:o,externalForwardedProps:ue,shouldForwardComponentProp:!0,additionalProps:l,getSlotProps:xe=>k({...xe,onClick:De=>{xe?.onClick&&xe.onClick(De)}}),className:Ce(l?.className,se?.backdrop),ownerState:q});return!M&&!G&&(!z||le)?null:_.jsx(i_,{ref:ee,container:g,disablePortal:D,children:_.jsxs(he,{...me,children:[!w&&o?_.jsx(Ue,{...Se}):null,_.jsx(Z_,{disableEnforceFocus:C,disableAutoFocus:S,disableRestoreFocus:N,isEnabled:ae,open:G,children:A.cloneElement(p,oe)})]})})});function o4(e){return Fe("MuiDivider",e)}const jS=Be("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),l4=e=>{const{absolute:t,children:i,classes:a,flexItem:o,light:l,orientation:c,textAlign:f,variant:h}=e;return qe({root:["root",t&&"absolute",h,l&&"light",c==="vertical"&&"vertical",o&&"flexItem",i&&"withChildren",i&&c==="vertical"&&"withChildrenVertical",f==="right"&&c!=="vertical"&&"textAlignRight",f==="left"&&c!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",c==="vertical"&&"wrapperVertical"]},o4,a)},u4=fe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,i.absolute&&t.absolute,t[i.variant],i.light&&t.light,i.orientation==="vertical"&&t.vertical,i.flexItem&&t.flexItem,i.children&&t.withChildren,i.children&&i.orientation==="vertical"&&t.withChildrenVertical,i.textAlign==="right"&&i.orientation!=="vertical"&&t.textAlignRight,i.textAlign==="left"&&i.orientation!=="vertical"&&t.textAlignLeft]}})(Qe(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),c4=fe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.wrapper,i.orientation==="vertical"&&t.wrapperVertical]}})(Qe(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Yc=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiDivider"}),{absolute:o=!1,children:l,className:c,orientation:f="horizontal",component:h=l||f==="vertical"?"div":"hr",flexItem:p=!1,light:g=!1,role:y=h!=="hr"?"separator":void 0,textAlign:v="center",variant:x="fullWidth",...S}=a,C={...a,absolute:o,component:h,flexItem:p,light:g,orientation:f,role:y,textAlign:v,variant:x},T=l4(C);return _.jsx(u4,{as:h,className:Ce(T.root,c),role:y,ref:i,ownerState:C,"aria-orientation":y==="separator"&&(h!=="hr"||f==="vertical")?f:void 0,...S,children:l?_.jsx(c4,{className:T.wrapper,ownerState:C,children:l}):null})});Yc&&(Yc.muiSkipListHighlight=!0);function f4(e){return Fe("MuiFab",e)}const BS=Be("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),d4=e=>{const{color:t,variant:i,classes:a,size:o}=e,l={root:["root",i,`size${ye(o)}`,t==="inherit"?"colorInherit":t]},c=qe(l,f4,a);return{...a,...c}},h4=fe(_f,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>Vn(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,t[i.variant],t[`size${ye(i.size)}`],i.color==="inherit"&&t.colorInherit,t[ye(i.size)],t[i.color]]}})(Qe(({theme:e})=>({...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.grey[900]:e.palette.getContrastText?.(e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${BS.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]})),Qe(({theme:e})=>({variants:[...Object.entries(e.palette).filter(Un(["dark","contrastText"])).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}}))]})),Qe(({theme:e})=>({[`&.${BS.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),p4=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiFab"}),{children:o,className:l,color:c="default",component:f="button",disabled:h=!1,disableFocusRipple:p=!1,focusVisibleClassName:g,size:y="large",variant:v="circular",...x}=a,S={...a,color:c,component:f,disabled:h,disableFocusRipple:p,size:y,variant:v},C=d4(S);return _.jsx(h4,{className:Ce(C.root,l),component:f,disabled:h,focusRipple:!p,focusVisibleClassName:Ce(C.focusVisible,g),ownerState:S,ref:i,...x,classes:C,children:o})}),m4=e=>{const{classes:t,disableUnderline:i,startAdornment:a,endAdornment:o,size:l,hiddenLabel:c,multiline:f}=e,h={root:["root",!i&&"underline",a&&"adornedStart",o&&"adornedEnd",l==="small"&&`size${ye(l)}`,c&&"hiddenLabel",f&&"multiline"],input:["input"]},p=qe(h,d_,t);return{...t,...p}},g4=fe(zf,{shouldForwardProp:e=>Vn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[...Nf(e,t),!i.disableUnderline&&t.underline]}})(Qe(({theme:e})=>{const t=e.palette.mode==="light",i=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${ua.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${ua.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l},variants:[{props:({ownerState:c})=>!c.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ua.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ua.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ua.disabled}, .${ua.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${ua.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Un()).map(([c])=>({props:{disableUnderline:!1,color:c},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[c]?.main}`}}})),{props:({ownerState:c})=>c.startAdornment,style:{paddingLeft:12}},{props:({ownerState:c})=>c.endAdornment,style:{paddingRight:12}},{props:({ownerState:c})=>c.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:c,size:f})=>c.multiline&&f==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:c})=>c.multiline&&c.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:c})=>c.multiline&&c.hiddenLabel&&c.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),y4=fe(kf,{name:"MuiFilledInput",slot:"Input",overridesResolver:Lf})(Qe(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Pg=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:l={},componentsProps:c,fullWidth:f=!1,hiddenLabel:h,inputComponent:p="input",multiline:g=!1,slotProps:y,slots:v={},type:x="text",...S}=a,C={...a,disableUnderline:o,fullWidth:f,inputComponent:p,multiline:g,type:x},T=m4(a),D={root:{ownerState:C},input:{ownerState:C}},N=y??c?Wt(D,y??c):D,R=v.root??l.Root??g4,w=v.input??l.Input??y4;return _.jsx(kg,{slots:{root:R,input:w},slotProps:N,fullWidth:f,inputComponent:p,multiline:g,ref:i,type:x,...S,classes:T})});Pg.muiName="Input";function v4(e){return Fe("MuiFormControl",e)}Be("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const b4=e=>{const{classes:t,margin:i,fullWidth:a}=e,o={root:["root",i!=="none"&&`margin${ye(i)}`,a&&"fullWidth"]};return qe(o,v4,t)},S4=fe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,t[`margin${ye(i.margin)}`],i.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),x4=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiFormControl"}),{children:o,className:l,color:c="primary",component:f="div",disabled:h=!1,error:p=!1,focused:g,fullWidth:y=!1,hiddenLabel:v=!1,margin:x="none",required:S=!1,size:C="medium",variant:T="outlined",...D}=a,N={...a,color:c,component:f,disabled:h,error:p,fullWidth:y,hiddenLabel:v,margin:x,required:S,size:C,variant:T},R=b4(N),[w,M]=A.useState(()=>{let Y=!1;return o&&A.Children.forEach(o,k=>{if(!Ep(k,["Input","Select"]))return;const I=Ep(k,["Select"])?k.props.input:k;I&&o_(I.props)&&(Y=!0)}),Y}),[L,P]=A.useState(()=>{let Y=!1;return o&&A.Children.forEach(o,k=>{Ep(k,["Input","Select"])&&(Gc(k.props,!0)||Gc(k.props.inputProps,!0))&&(Y=!0)}),Y}),[U,G]=A.useState(!1);h&&U&&G(!1);const Q=g!==void 0&&!h?g:U;let J;A.useRef(!1);const O=A.useCallback(()=>{P(!0)},[]),Z=A.useCallback(()=>{P(!1)},[]),F=A.useMemo(()=>({adornedStart:w,setAdornedStart:M,color:c,disabled:h,error:p,filled:L,focused:Q,fullWidth:y,hiddenLabel:v,size:C,onBlur:()=>{G(!1)},onFocus:()=>{G(!0)},onEmpty:Z,onFilled:O,registerEffect:J,required:S,variant:T}),[w,c,h,p,L,Q,y,v,J,Z,O,S,C,T]);return _.jsx(zg.Provider,{value:F,children:_.jsx(S4,{as:f,ownerState:N,className:Ce(R.root,l),ref:i,...D,children:o})})});function C4(e){return Fe("MuiFormHelperText",e)}const US=Be("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var VS;const T4=e=>{const{classes:t,contained:i,size:a,disabled:o,error:l,filled:c,focused:f,required:h}=e,p={root:["root",o&&"disabled",l&&"error",a&&`size${ye(a)}`,i&&"contained",f&&"focused",c&&"filled",h&&"required"]};return qe(p,C4,t)},w4=fe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,i.size&&t[`size${ye(i.size)}`],i.contained&&t.contained,i.filled&&t.filled]}})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${US.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${US.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),E4=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiFormHelperText"}),{children:o,className:l,component:c="p",disabled:f,error:h,filled:p,focused:g,margin:y,required:v,variant:x,...S}=a,C=Fs(),T=Is({props:a,muiFormControl:C,states:["variant","size","disabled","error","filled","focused","required"]}),D={...a,component:c,contained:T.variant==="filled"||T.variant==="outlined",variant:T.variant,size:T.size,disabled:T.disabled,error:T.error,filled:T.filled,focused:T.focused,required:T.required};delete D.ownerState;const N=T4(D);return _.jsx(w4,{as:c,className:Ce(N.root,l),ref:i,...S,ownerState:D,children:o===" "?VS||(VS=_.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):o})});function A4(e){return Fe("MuiFormLabel",e)}const ol=Be("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),R4=e=>{const{classes:t,color:i,focused:a,disabled:o,error:l,filled:c,required:f}=e,h={root:["root",`color${ye(i)}`,o&&"disabled",l&&"error",c&&"filled",a&&"focused",f&&"required"],asterisk:["asterisk",l&&"error"]};return qe(h,A4,t)},O4=fe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,i.color==="secondary"&&t.colorSecondary,i.filled&&t.filled]}})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Un()).map(([t])=>({props:{color:t},style:{[`&.${ol.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${ol.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${ol.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),M4=fe("span",{name:"MuiFormLabel",slot:"Asterisk"})(Qe(({theme:e})=>({[`&.${ol.error}`]:{color:(e.vars||e).palette.error.main}}))),D4=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiFormLabel"}),{children:o,className:l,color:c,component:f="label",disabled:h,error:p,filled:g,focused:y,required:v,...x}=a,S=Fs(),C=Is({props:a,muiFormControl:S,states:["color","required","focused","disabled","error","filled"]}),T={...a,color:C.color||"primary",component:f,disabled:C.disabled,error:C.error,filled:C.filled,focused:C.focused,required:C.required},D=R4(T);return _.jsxs(O4,{as:f,ownerState:T,className:Ce(D.root,l),ref:i,...x,children:[o,C.required&&_.jsxs(M4,{ownerState:T,"aria-hidden":!0,className:D.asterisk,children:[" ","*"]})]})});function Cm(e){return`scale(${e}, ${e**2})`}const _4={entering:{opacity:1,transform:Cm(1)},entered:{opacity:1,transform:"none"}},Op=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Tm=A.forwardRef(function(t,i){const{addEndListener:a,appear:o=!0,children:l,easing:c,in:f,onEnter:h,onEntered:p,onEntering:g,onExit:y,onExited:v,onExiting:x,style:S,timeout:C="auto",TransitionComponent:T=Pi,...D}=t,N=JT(),R=A.useRef(),w=Hs(),M=A.useRef(null),L=mn(M,jl(l),i),P=Y=>k=>{if(Y){const I=M.current;k===void 0?Y(I):Y(I,k)}},U=P(g),G=P((Y,k)=>{e2(Y);const{duration:I,delay:ee,easing:ae}=Fc({style:S,timeout:C,easing:c},{mode:"enter"});let le;C==="auto"?(le=w.transitions.getAutoHeightDuration(Y.clientHeight),R.current=le):le=I,Y.style.transition=[w.transitions.create("opacity",{duration:le,delay:ee}),w.transitions.create("transform",{duration:Op?le:le*.666,delay:ee,easing:ae})].join(","),h&&h(Y,k)}),Q=P(p),J=P(x),O=P(Y=>{const{duration:k,delay:I,easing:ee}=Fc({style:S,timeout:C,easing:c},{mode:"exit"});let ae;C==="auto"?(ae=w.transitions.getAutoHeightDuration(Y.clientHeight),R.current=ae):ae=k,Y.style.transition=[w.transitions.create("opacity",{duration:ae,delay:I}),w.transitions.create("transform",{duration:Op?ae:ae*.666,delay:Op?I:I||ae*.333,easing:ee})].join(","),Y.style.opacity=0,Y.style.transform=Cm(.75),y&&y(Y)}),Z=P(v),F=Y=>{C==="auto"&&N.start(R.current||0,Y),a&&a(M.current,Y)};return _.jsx(T,{appear:o,in:f,nodeRef:M,onEnter:G,onEntered:Q,onEntering:U,onExit:O,onExited:Z,onExiting:J,addEndListener:F,timeout:C==="auto"?null:C,...D,children:(Y,{ownerState:k,...I})=>A.cloneElement(l,{style:{opacity:0,transform:Cm(.75),visibility:Y==="exited"&&!f?"hidden":void 0,..._4[Y],...S,...l.props.style},ref:L,...I})})});Tm&&(Tm.muiSupportAuto=!0);const N4=e=>{const{classes:t,disableUnderline:i}=e,o=qe({root:["root",!i&&"underline"],input:["input"]},c_,t);return{...t,...o}},L4=fe(zf,{shouldForwardProp:e=>Vn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[...Nf(e,t),!i.disableUnderline&&t.underline]}})(Qe(({theme:e})=>{let i=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(i=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:a})=>a.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:a})=>!a.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ko.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ko.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ko.disabled}, .${Ko.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${i}`}},[`&.${Ko.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Un()).map(([a])=>({props:{color:a,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[a].main}`}}}))]}})),z4=fe(kf,{name:"MuiInput",slot:"Input",overridesResolver:Lf})({}),jg=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:l={},componentsProps:c,fullWidth:f=!1,inputComponent:h="input",multiline:p=!1,slotProps:g,slots:y={},type:v="text",...x}=a,S=N4(a),T={root:{ownerState:{disableUnderline:o}}},D=g??c?Wt(g??c,T):T,N=y.root??l.Root??L4,R=y.input??l.Input??z4;return _.jsx(kg,{slots:{root:N,input:R},slotProps:D,fullWidth:f,inputComponent:h,multiline:p,ref:i,type:v,...x,classes:S})});jg.muiName="Input";function k4(e){return Fe("MuiInputLabel",e)}Be("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const P4=e=>{const{classes:t,formControl:i,size:a,shrink:o,disableAnimation:l,variant:c,required:f}=e,h={root:["root",i&&"formControl",!l&&"animated",o&&"shrink",a&&a!=="medium"&&`size${ye(a)}`,c],asterisk:[f&&"asterisk"]},p=qe(h,k4,t);return{...t,...p}},j4=fe(D4,{shouldForwardProp:e=>Vn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[{[`& .${ol.asterisk}`]:t.asterisk},t.root,i.formControl&&t.formControl,i.size==="small"&&t.sizeSmall,i.shrink&&t.shrink,!i.disableAnimation&&t.animated,i.focused&&t.focused,t[i.variant]]}})(Qe(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:i})=>t==="filled"&&i.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:i,size:a})=>t==="filled"&&i.shrink&&a==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:i})=>t==="outlined"&&i.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),B4=A.forwardRef(function(t,i){const a=Ke({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:l,shrink:c,variant:f,className:h,...p}=a,g=Fs();let y=c;typeof y>"u"&&g&&(y=g.filled||g.focused||g.adornedStart);const v=Is({props:a,muiFormControl:g,states:["size","variant","required","focused"]}),x={...a,disableAnimation:o,formControl:g,shrink:y,size:v.size,variant:v.variant,required:v.required,focused:v.focused},S=P4(x);return _.jsx(j4,{"data-shrink":y,ref:i,className:Ce(S.root,h),...p,ownerState:x,classes:S})}),wm=A.createContext({});function U4(e){return Fe("MuiList",e)}Be("MuiList",["root","padding","dense","subheader"]);const V4=e=>{const{classes:t,disablePadding:i,dense:a,subheader:o}=e;return qe({root:["root",!i&&"padding",a&&"dense",o&&"subheader"]},U4,t)},$4=fe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.root,!i.disablePadding&&t.padding,i.dense&&t.dense,i.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),H4=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiList"}),{children:o,className:l,component:c="ul",dense:f=!1,disablePadding:h=!1,subheader:p,...g}=a,y=A.useMemo(()=>({dense:f}),[f]),v={...a,component:c,dense:f,disablePadding:h},x=V4(v);return _.jsx(wm.Provider,{value:y,children:_.jsxs($4,{as:c,className:Ce(x.root,l),ref:i,ownerState:v,...g,children:[p,o]})})}),$S=Be("MuiListItemIcon",["root","alignItemsFlexStart"]),HS=Be("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Mp(e,t,i){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:i?null:e.firstChild}function IS(e,t,i){return e===t?i?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:i?null:e.lastChild}function u2(e,t){if(t===void 0)return!0;let i=e.innerText;return i===void 0&&(i=e.textContent),i=i.trim().toLowerCase(),i.length===0?!1:t.repeating?i[0]===t.keys[0]:i.startsWith(t.keys.join(""))}function Go(e,t,i,a,o,l){let c=!1,f=o(e,t,t?i:!1);for(;f;){if(f===e.firstChild){if(c)return!1;c=!0}const h=a?!1:f.disabled||f.getAttribute("aria-disabled")==="true";if(!f.hasAttribute("tabindex")||!u2(f,l)||h)f=o(e,f,i);else return f.focus(),!0}return!1}const I4=A.forwardRef(function(t,i){const{actions:a,autoFocus:o=!1,autoFocusItem:l=!1,children:c,className:f,disabledItemsFocusable:h=!1,disableListWrap:p=!1,onKeyDown:g,variant:y="selectedMenu",...v}=t,x=A.useRef(null),S=A.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ki(()=>{o&&x.current.focus()},[o]),A.useImperativeHandle(a,()=>({adjustStyleForScrollbar:(R,{direction:w})=>{const M=!x.current.style.width;if(R.clientHeight<x.current.clientHeight&&M){const L=`${l2(or(R))}px`;x.current.style[w==="rtl"?"paddingLeft":"paddingRight"]=L,x.current.style.width=`calc(100% + ${L})`}return x.current}}),[]);const C=R=>{const w=x.current,M=R.key;if(R.ctrlKey||R.metaKey||R.altKey){g&&g(R);return}const P=nl(gi(w));if(M==="ArrowDown")R.preventDefault(),Go(w,P,p,h,Mp);else if(M==="ArrowUp")R.preventDefault(),Go(w,P,p,h,IS);else if(M==="Home")R.preventDefault(),Go(w,null,p,h,Mp);else if(M==="End")R.preventDefault(),Go(w,null,p,h,IS);else if(M.length===1){const U=S.current,G=M.toLowerCase(),Q=performance.now();U.keys.length>0&&(Q-U.lastTime>500?(U.keys=[],U.repeating=!0,U.previousKeyMatched=!0):U.repeating&&G!==U.keys[0]&&(U.repeating=!1)),U.lastTime=Q,U.keys.push(G);const J=P&&!U.repeating&&u2(P,U);U.previousKeyMatched&&(J||Go(w,P,!1,h,Mp,U))?R.preventDefault():U.previousKeyMatched=!1}g&&g(R)},T=mn(x,i);let D=-1;A.Children.forEach(c,(R,w)=>{if(!A.isValidElement(R)){D===w&&(D+=1,D>=c.length&&(D=-1));return}R.props.disabled||(y==="selectedMenu"&&R.props.selected||D===-1)&&(D=w),D===w&&(R.props.disabled||R.props.muiSkipListHighlight||R.type.muiSkipListHighlight)&&(D+=1,D>=c.length&&(D=-1))});const N=A.Children.map(c,(R,w)=>{if(w===D){const M={};return l&&(M.autoFocus=!0),R.props.tabIndex===void 0&&y==="selectedMenu"&&(M.tabIndex=0),A.cloneElement(R,M)}return R});return _.jsx(H4,{role:"menu",ref:T,className:f,onKeyDown:C,tabIndex:o?0:-1,...v,children:N})});function F4(e){return Fe("MuiPopover",e)}Be("MuiPopover",["root","paper"]);function FS(e,t){let i=0;return typeof t=="number"?i=t:t==="center"?i=e.height/2:t==="bottom"&&(i=e.height),i}function qS(e,t){let i=0;return typeof t=="number"?i=t:t==="center"?i=e.width/2:t==="right"&&(i=e.width),i}function KS(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function mc(e){return typeof e=="function"?e():e}const q4=e=>{const{classes:t}=e;return qe({root:["root"],paper:["paper"]},F4,t)},K4=fe(s4,{name:"MuiPopover",slot:"Root"})({}),c2=fe(Lg,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),G4=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiPopover"}),{action:o,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:f,anchorReference:h="anchorEl",children:p,className:g,container:y,elevation:v=8,marginThreshold:x=16,open:S,PaperProps:C={},slots:T={},slotProps:D={},transformOrigin:N={vertical:"top",horizontal:"left"},TransitionComponent:R,transitionDuration:w="auto",TransitionProps:M={},disableScrollLock:L=!1,...P}=a,U=A.useRef(),G={...a,anchorOrigin:c,anchorReference:h,elevation:v,marginThreshold:x,transformOrigin:N,TransitionComponent:R,transitionDuration:w,TransitionProps:M},Q=q4(G),J=A.useCallback(()=>{if(h==="anchorPosition")return f;const xe=mc(l),Ve=(xe&&xe.nodeType===1?xe:gi(U.current).body).getBoundingClientRect();return{top:Ve.top+FS(Ve,c.vertical),left:Ve.left+qS(Ve,c.horizontal)}},[l,c.horizontal,c.vertical,f,h]),O=A.useCallback(xe=>({vertical:FS(xe,N.vertical),horizontal:qS(xe,N.horizontal)}),[N.horizontal,N.vertical]),Z=A.useCallback(xe=>{const De={width:xe.offsetWidth,height:xe.offsetHeight},Ve=O(De);if(h==="none")return{top:null,left:null,transformOrigin:KS(Ve)};const Kt=J();let Te=Kt.top-Ve.vertical,je=Kt.left-Ve.horizontal;const Gt=Te+De.height,Lt=je+De.width,ct=or(mc(l)),ft=ct.innerHeight-x,zt=ct.innerWidth-x;if(x!==null&&Te<x){const st=Te-x;Te-=st,Ve.vertical+=st}else if(x!==null&&Gt>ft){const st=Gt-ft;Te-=st,Ve.vertical+=st}if(x!==null&&je<x){const st=je-x;je-=st,Ve.horizontal+=st}else if(Lt>zt){const st=Lt-zt;je-=st,Ve.horizontal+=st}return{top:`${Math.round(Te)}px`,left:`${Math.round(je)}px`,transformOrigin:KS(Ve)}},[l,h,J,O,x]),[F,Y]=A.useState(S),k=A.useCallback(()=>{const xe=U.current;if(!xe)return;const De=Z(xe);De.top!==null&&xe.style.setProperty("top",De.top),De.left!==null&&(xe.style.left=De.left),xe.style.transformOrigin=De.transformOrigin,Y(!0)},[Z]);A.useEffect(()=>(L&&window.addEventListener("scroll",k),()=>window.removeEventListener("scroll",k)),[l,L,k]);const I=()=>{k()},ee=()=>{Y(!1)};A.useEffect(()=>{S&&k()}),A.useImperativeHandle(o,()=>S?{updatePosition:()=>{k()}}:null,[S,k]),A.useEffect(()=>{if(!S)return;const xe=YT(()=>{k()}),De=or(mc(l));return De.addEventListener("resize",xe),()=>{xe.clear(),De.removeEventListener("resize",xe)}},[l,S,k]);let ae=w;const le={slots:{transition:R,...T},slotProps:{transition:M,paper:C,...D}},[z,q]=Ot("transition",{elementType:Tm,externalForwardedProps:le,ownerState:G,getSlotProps:xe=>({...xe,onEntering:(De,Ve)=>{xe.onEntering?.(De,Ve),I()},onExited:De=>{xe.onExited?.(De),ee()}}),additionalProps:{appear:!0,in:S}});w==="auto"&&!z.muiSupportAuto&&(ae=void 0);const se=y||(l?gi(mc(l)).body:void 0),[oe,{slots:ue,slotProps:he,...me}]=Ot("root",{ref:i,elementType:K4,externalForwardedProps:{...le,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:T.backdrop},slotProps:{backdrop:Q3(typeof D.backdrop=="function"?D.backdrop(G):D.backdrop,{invisible:!0})},container:se,open:S},ownerState:G,className:Ce(Q.root,g)}),[Ue,Se]=Ot("paper",{ref:U,className:Q.paper,elementType:c2,externalForwardedProps:le,shouldForwardComponentProp:!0,additionalProps:{elevation:v,style:F?void 0:{opacity:0}},ownerState:G});return _.jsx(oe,{...me,...!qc(oe)&&{slots:ue,slotProps:he,disableScrollLock:L},children:_.jsx(z,{...q,timeout:ae,children:_.jsx(Ue,{...Se,children:p})})})});function Y4(e){return Fe("MuiMenu",e)}Be("MuiMenu",["root","paper","list"]);const X4={vertical:"top",horizontal:"right"},W4={vertical:"top",horizontal:"left"},Q4=e=>{const{classes:t}=e;return qe({root:["root"],paper:["paper"],list:["list"]},Y4,t)},Z4=fe(G4,{shouldForwardProp:e=>Vn(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),J4=fe(c2,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),eN=fe(I4,{name:"MuiMenu",slot:"List"})({outline:0}),f2=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:l,className:c,disableAutoFocusItem:f=!1,MenuListProps:h={},onClose:p,open:g,PaperProps:y={},PopoverClasses:v,transitionDuration:x="auto",TransitionProps:{onEntering:S,...C}={},variant:T="selectedMenu",slots:D={},slotProps:N={},...R}=a,w=_5(),M={...a,autoFocus:o,disableAutoFocusItem:f,MenuListProps:h,onEntering:S,PaperProps:y,transitionDuration:x,TransitionProps:C,variant:T},L=Q4(M),P=o&&!f&&g,U=A.useRef(null),G=(ae,le)=>{U.current&&U.current.adjustStyleForScrollbar(ae,{direction:w?"rtl":"ltr"}),S&&S(ae,le)},Q=ae=>{ae.key==="Tab"&&(ae.preventDefault(),p&&p(ae,"tabKeyDown"))};let J=-1;A.Children.map(l,(ae,le)=>{A.isValidElement(ae)&&(ae.props.disabled||(T==="selectedMenu"&&ae.props.selected||J===-1)&&(J=le))});const O={slots:D,slotProps:{list:h,transition:C,paper:y,...N}},Z=t_({elementType:D.root,externalSlotProps:N.root,ownerState:M,className:[L.root,c]}),[F,Y]=Ot("paper",{className:L.paper,elementType:J4,externalForwardedProps:O,shouldForwardComponentProp:!0,ownerState:M}),[k,I]=Ot("list",{className:Ce(L.list,h.className),elementType:eN,shouldForwardComponentProp:!0,externalForwardedProps:O,getSlotProps:ae=>({...ae,onKeyDown:le=>{Q(le),ae.onKeyDown?.(le)}}),ownerState:M}),ee=typeof O.slotProps.transition=="function"?O.slotProps.transition(M):O.slotProps.transition;return _.jsx(Z4,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?X4:W4,slots:{root:D.root,paper:F,backdrop:D.backdrop,...D.transition&&{transition:D.transition}},slotProps:{root:Z,paper:Y,backdrop:typeof N.backdrop=="function"?N.backdrop(M):N.backdrop,transition:{...ee,onEntering:(...ae)=>{G(...ae),ee?.onEntering?.(...ae)}}},open:g,ref:i,transitionDuration:x,ownerState:M,...R,classes:v,children:_.jsx(k,{actions:U,autoFocus:o&&(J===-1||f),autoFocusItem:P,variant:T,...I,children:l})})});function tN(e){return Fe("MuiMenuItem",e)}const Yo=Be("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),nN=(e,t)=>{const{ownerState:i}=e;return[t.root,i.dense&&t.dense,i.divider&&t.divider,!i.disableGutters&&t.gutters]},iN=e=>{const{disabled:t,dense:i,divider:a,disableGutters:o,selected:l,classes:c}=e,h=qe({root:["root",i&&"dense",t&&"disabled",!o&&"gutters",a&&"divider",l&&"selected"]},tN,c);return{...c,...h}},rN=fe(_f,{shouldForwardProp:e=>Vn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:nN})(Qe(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yo.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Yo.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Yo.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${Yo.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Yo.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${jS.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${jS.inset}`]:{marginLeft:52},[`& .${HS.root}`]:{marginTop:0,marginBottom:0},[`& .${HS.inset}`]:{paddingLeft:36},[`& .${$S.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${$S.root} svg`]:{fontSize:"1.25rem"}}}]}))),GS=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:l="li",dense:c=!1,divider:f=!1,disableGutters:h=!1,focusVisibleClassName:p,role:g="menuitem",tabIndex:y,className:v,...x}=a,S=A.useContext(wm),C=A.useMemo(()=>({dense:c||S.dense||!1,disableGutters:h}),[S.dense,c,h]),T=A.useRef(null);ki(()=>{o&&T.current&&T.current.focus()},[o]);const D={...a,dense:C.dense,divider:f,disableGutters:h},N=iN(a),R=mn(T,i);let w;return a.disabled||(w=y!==void 0?y:-1),_.jsx(wm.Provider,{value:C,children:_.jsx(rN,{ref:R,role:g,tabIndex:w,component:l,focusVisibleClassName:Ce(N.focusVisible,p),className:Ce(N.root,v),...x,ownerState:D,classes:N})})});function aN(e){return Fe("MuiNativeSelect",e)}const Bg=Be("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),sN=e=>{const{classes:t,variant:i,disabled:a,multiple:o,open:l,error:c}=e,f={select:["select",i,a&&"disabled",o&&"multiple",c&&"error"],icon:["icon",`icon${ye(i)}`,l&&"iconOpen",a&&"disabled"]};return qe(f,aN,t)},d2=fe("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Bg.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),oN=fe(d2,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Vn,overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.select,t[i.variant],i.error&&t.error,{[`&.${Bg.multiple}`]:t.multiple}]}})({}),h2=fe("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Bg.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),lN=fe(h2,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.icon,i.variant&&t[`icon${ye(i.variant)}`],i.open&&t.iconOpen]}})({}),uN=A.forwardRef(function(t,i){const{className:a,disabled:o,error:l,IconComponent:c,inputRef:f,variant:h="standard",...p}=t,g={...t,disabled:o,variant:h,error:l},y=sN(g);return _.jsxs(A.Fragment,{children:[_.jsx(oN,{ownerState:g,className:Ce(y.select,a),disabled:o,ref:f||i,...p}),t.multiple?null:_.jsx(lN,{as:c,ownerState:g,className:y.icon})]})});var YS;const cN=fe("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Vn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),fN=fe("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Vn})(Qe(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function dN(e){const{children:t,classes:i,className:a,label:o,notched:l,...c}=e,f=o!=null&&o!=="",h={...e,notched:l,withLabel:f};return _.jsx(cN,{"aria-hidden":!0,className:a,ownerState:h,...c,children:_.jsx(fN,{ownerState:h,children:f?_.jsx("span",{children:o}):YS||(YS=_.jsx("span",{className:"notranslate","aria-hidden":!0,children:""}))})})}const hN=e=>{const{classes:t}=e,a=qe({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},f_,t);return{...t,...a}},pN=fe(zf,{shouldForwardProp:e=>Vn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Nf})(Qe(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Ei.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ei.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Ei.focused} .${Ei.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Un()).map(([i])=>({props:{color:i},style:{[`&.${Ei.focused} .${Ei.notchedOutline}`]:{borderColor:(e.vars||e).palette[i].main}}})),{props:{},style:{[`&.${Ei.error} .${Ei.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ei.disabled} .${Ei.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:14}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:14}},{props:({ownerState:i})=>i.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:i,size:a})=>i.multiline&&a==="small",style:{padding:"8.5px 14px"}}]}})),mN=fe(dN,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Qe(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),gN=fe(kf,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Lf})(Qe(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),Ug=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiOutlinedInput"}),{components:o={},fullWidth:l=!1,inputComponent:c="input",label:f,multiline:h=!1,notched:p,slots:g={},slotProps:y={},type:v="text",...x}=a,S=hN(a),C=Fs(),T=Is({props:a,muiFormControl:C,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),D={...a,color:T.color||"primary",disabled:T.disabled,error:T.error,focused:T.focused,formControl:C,fullWidth:l,hiddenLabel:T.hiddenLabel,multiline:h,size:T.size,type:v},N=g.root??o.Root??pN,R=g.input??o.Input??gN,[w,M]=Ot("notchedOutline",{elementType:mN,className:S.notchedOutline,shouldForwardComponentProp:!0,ownerState:D,externalForwardedProps:{slots:g,slotProps:y},additionalProps:{label:f!=null&&f!==""&&T.required?_.jsxs(A.Fragment,{children:[f," ","*"]}):f}});return _.jsx(kg,{slots:{root:N,input:R},slotProps:y,renderSuffix:L=>_.jsx(w,{...M,notched:typeof p<"u"?p:!!(L.startAdornment||L.filled||L.focused)}),fullWidth:l,inputComponent:c,multiline:h,ref:i,type:v,...x,classes:{...S,notchedOutline:null}})});Ug.muiName="Input";function p2(e){return Fe("MuiSelect",e)}const Xo=Be("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var XS;const yN=fe(d2,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[{[`&.${Xo.select}`]:t.select},{[`&.${Xo.select}`]:t[i.variant]},{[`&.${Xo.error}`]:t.error},{[`&.${Xo.multiple}`]:t.multiple}]}})({[`&.${Xo.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),vN=fe(h2,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:i}=e;return[t.icon,i.variant&&t[`icon${ye(i.variant)}`],i.open&&t.iconOpen]}})({}),bN=fe("input",{shouldForwardProp:e=>GT(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function WS(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function SN(e){return e==null||typeof e=="string"&&!e.trim()}const xN=e=>{const{classes:t,variant:i,disabled:a,multiple:o,open:l,error:c}=e,f={select:["select",i,a&&"disabled",o&&"multiple",c&&"error"],icon:["icon",`icon${ye(i)}`,l&&"iconOpen",a&&"disabled"],nativeInput:["nativeInput"]};return qe(f,p2,t)},CN=A.forwardRef(function(t,i){const{"aria-describedby":a,"aria-label":o,autoFocus:l,autoWidth:c,children:f,className:h,defaultOpen:p,defaultValue:g,disabled:y,displayEmpty:v,error:x=!1,IconComponent:S,inputRef:C,labelId:T,MenuProps:D={},multiple:N,name:R,onBlur:w,onChange:M,onClose:L,onFocus:P,onKeyDown:U,onMouseDown:G,onOpen:Q,open:J,readOnly:O,renderValue:Z,required:F,SelectDisplayProps:Y={},tabIndex:k,type:I,value:ee,variant:ae="standard",...le}=t,[z,q]=SS({controlled:ee,default:g,name:"Select"}),[se,oe]=SS({controlled:J,default:p,name:"Select"}),ue=A.useRef(null),he=A.useRef(null),[me,Ue]=A.useState(null),{current:Se}=A.useRef(J!=null),[xe,De]=A.useState(),Ve=mn(i,C),Kt=A.useCallback(ve=>{he.current=ve,ve&&Ue(ve)},[]),Te=me?.parentNode;A.useImperativeHandle(Ve,()=>({focus:()=>{he.current.focus()},node:ue.current,value:z}),[z]),A.useEffect(()=>{p&&se&&me&&!Se&&(De(c?null:Te.clientWidth),he.current.focus())},[me,c]),A.useEffect(()=>{l&&he.current.focus()},[l]),A.useEffect(()=>{if(!T)return;const ve=gi(he.current).getElementById(T);if(ve){const lt=()=>{getSelection().isCollapsed&&he.current.focus()};return ve.addEventListener("click",lt),()=>{ve.removeEventListener("click",lt)}}},[T]);const je=(ve,lt)=>{ve?Q&&Q(lt):L&&L(lt),Se||(De(c?null:Te.clientWidth),oe(ve))},Gt=ve=>{G?.(ve),ve.button===0&&(ve.preventDefault(),he.current.focus(),je(!0,ve))},Lt=ve=>{je(!1,ve)},ct=A.Children.toArray(f),ft=ve=>{const lt=ct.find(It=>It.props.value===ve.target.value);lt!==void 0&&(q(lt.props.value),M&&M(ve,lt))},zt=ve=>lt=>{let It;if(lt.currentTarget.hasAttribute("tabindex")){if(N){It=Array.isArray(z)?z.slice():[];const oi=z.indexOf(ve.props.value);oi===-1?It.push(ve.props.value):It.splice(oi,1)}else It=ve.props.value;if(ve.props.onClick&&ve.props.onClick(lt),z!==It&&(q(It),M)){const oi=lt.nativeEvent||lt,Ir=new oi.constructor(oi.type,oi);Object.defineProperty(Ir,"target",{writable:!0,value:{value:It,name:R}}),M(Ir,ve)}N||je(!1,lt)}},st=ve=>{O||([" ","ArrowUp","ArrowDown","Enter"].includes(ve.key)&&(ve.preventDefault(),je(!0,ve)),U?.(ve))},pe=me!==null&&se,ai=ve=>{!pe&&w&&(Object.defineProperty(ve,"target",{writable:!0,value:{value:z,name:R}}),w(ve))};delete le["aria-invalid"];let Le,ji;const mt=[];let $e=!1;(Gc({value:z})||v)&&(Z?Le=Z(z):$e=!0);const Ct=ct.map(ve=>{if(!A.isValidElement(ve))return null;let lt;if(N){if(!Array.isArray(z))throw new Error(sr(2));lt=z.some(It=>WS(It,ve.props.value)),lt&&$e&&mt.push(ve.props.children)}else lt=WS(z,ve.props.value),lt&&$e&&(ji=ve.props.children);return A.cloneElement(ve,{"aria-selected":lt?"true":"false",onClick:zt(ve),onKeyUp:It=>{It.key===" "&&It.preventDefault(),ve.props.onKeyUp&&ve.props.onKeyUp(It)},role:"option",selected:lt,value:void 0,"data-value":ve.props.value})});$e&&(N?mt.length===0?Le=null:Le=mt.reduce((ve,lt,It)=>(ve.push(lt),It<mt.length-1&&ve.push(", "),ve),[]):Le=ji);let Ht=xe;!c&&Se&&me&&(Ht=Te.clientWidth);let On;typeof k<"u"?On=k:On=y?null:0;const ot=Y.id||(R?`mui-component-select-${R}`:void 0),si={...t,variant:ae,value:z,open:pe,error:x},$n=xN(si),Qt={...D.PaperProps,...typeof D.slotProps?.paper=="function"?D.slotProps.paper(si):D.slotProps?.paper},bi={...D.MenuListProps,...typeof D.slotProps?.list=="function"?D.slotProps.list(si):D.slotProps?.list},ln=Pl();return _.jsxs(A.Fragment,{children:[_.jsx(yN,{as:"div",ref:Kt,tabIndex:On,role:"combobox","aria-controls":pe?ln:void 0,"aria-disabled":y?"true":void 0,"aria-expanded":pe?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[T,ot].filter(Boolean).join(" ")||void 0,"aria-describedby":a,"aria-required":F?"true":void 0,"aria-invalid":x?"true":void 0,onKeyDown:st,onMouseDown:y||O?null:Gt,onBlur:ai,onFocus:P,...Y,ownerState:si,className:Ce(Y.className,$n.select,h),id:ot,children:SN(Le)?XS||(XS=_.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):Le}),_.jsx(bN,{"aria-invalid":x,value:Array.isArray(z)?z.join(","):z,name:R,ref:ue,"aria-hidden":!0,onChange:ft,tabIndex:-1,disabled:y,className:$n.nativeInput,autoFocus:l,required:F,...le,ownerState:si}),_.jsx(vN,{as:S,className:$n.icon,ownerState:si}),_.jsx(f2,{id:`menu-${R||""}`,anchorEl:Te,open:pe,onClose:Lt,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...D,slotProps:{...D.slotProps,list:{"aria-labelledby":T,role:"listbox","aria-multiselectable":N?"true":void 0,disableListWrap:!0,id:ln,...bi},paper:{...Qt,style:{minWidth:Ht,...Qt!=null?Qt.style:null}}},children:Ct})]})}),TN=e=>{const{classes:t}=e,a=qe({root:["root"]},p2,t);return{...t,...a}},Vg={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Vn(e)&&e!=="variant"},wN=fe(jg,Vg)(""),EN=fe(Ug,Vg)(""),AN=fe(Pg,Vg)(""),m2=A.forwardRef(function(t,i){const a=Ke({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:l,classes:c={},className:f,defaultOpen:h=!1,displayEmpty:p=!1,IconComponent:g=h_,id:y,input:v,inputProps:x,label:S,labelId:C,MenuProps:T,multiple:D=!1,native:N=!1,onClose:R,onOpen:w,open:M,renderValue:L,SelectDisplayProps:P,variant:U="outlined",...G}=a,Q=N?uN:CN,J=Fs(),O=Is({props:a,muiFormControl:J,states:["variant","error"]}),Z=O.variant||U,F={...a,variant:Z,classes:c},Y=TN(F),{root:k,...I}=Y,ee=v||{standard:_.jsx(wN,{ownerState:F}),outlined:_.jsx(EN,{label:S,ownerState:F}),filled:_.jsx(AN,{ownerState:F})}[Z],ae=mn(i,jl(ee));return _.jsx(A.Fragment,{children:A.cloneElement(ee,{inputComponent:Q,inputProps:{children:l,error:O.error,IconComponent:g,variant:Z,type:void 0,multiple:D,...N?{id:y}:{autoWidth:o,defaultOpen:h,displayEmpty:p,labelId:C,MenuProps:T,onClose:R,onOpen:w,open:M,renderValue:L,SelectDisplayProps:{id:y,...P}},...x,classes:x?Wt(I,x.classes):I,...v?v.props.inputProps:{}},...(D&&N||p)&&Z==="outlined"?{notched:!0}:{},ref:ae,className:Ce(ee.props.className,f,Y.root),...!v&&{variant:Z},...G})})});m2.muiName="Select";const pa=u3({createStyledComponent:fe("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>Ke({props:e,name:"MuiStack"})});function RN(e){return Fe("MuiTextField",e)}Be("MuiTextField",["root"]);const ON={standard:jg,filled:Pg,outlined:Ug},MN=e=>{const{classes:t}=e;return qe({root:["root"]},RN,t)},DN=fe(x4,{name:"MuiTextField",slot:"Root"})({}),QS=A.forwardRef(function(t,i){const a=Ke({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:l=!1,children:c,className:f,color:h="primary",defaultValue:p,disabled:g=!1,error:y=!1,FormHelperTextProps:v,fullWidth:x=!1,helperText:S,id:C,InputLabelProps:T,inputProps:D,InputProps:N,inputRef:R,label:w,maxRows:M,minRows:L,multiline:P=!1,name:U,onBlur:G,onChange:Q,onFocus:J,placeholder:O,required:Z=!1,rows:F,select:Y=!1,SelectProps:k,slots:I={},slotProps:ee={},type:ae,value:le,variant:z="outlined",...q}=a,se={...a,autoFocus:l,color:h,disabled:g,error:y,fullWidth:x,multiline:P,required:Z,select:Y,variant:z},oe=MN(se),ue=Pl(C),he=S&&ue?`${ue}-helper-text`:void 0,me=w&&ue?`${ue}-label`:void 0,Ue=ON[z],Se={slots:I,slotProps:{input:N,inputLabel:T,htmlInput:D,formHelperText:v,select:k,...ee}},xe={},De=Se.slotProps.inputLabel;z==="outlined"&&(De&&typeof De.shrink<"u"&&(xe.notched=De.shrink),xe.label=w),Y&&((!k||!k.native)&&(xe.id=void 0),xe["aria-describedby"]=void 0);const[Ve,Kt]=Ot("root",{elementType:DN,shouldForwardComponentProp:!0,externalForwardedProps:{...Se,...q},ownerState:se,className:Ce(oe.root,f),ref:i,additionalProps:{disabled:g,error:y,fullWidth:x,required:Z,color:h,variant:z}}),[Te,je]=Ot("input",{elementType:Ue,externalForwardedProps:Se,additionalProps:xe,ownerState:se}),[Gt,Lt]=Ot("inputLabel",{elementType:B4,externalForwardedProps:Se,ownerState:se}),[ct,ft]=Ot("htmlInput",{elementType:"input",externalForwardedProps:Se,ownerState:se}),[zt,st]=Ot("formHelperText",{elementType:E4,externalForwardedProps:Se,ownerState:se}),[pe,ai]=Ot("select",{elementType:m2,externalForwardedProps:Se,ownerState:se}),Le=_.jsx(Te,{"aria-describedby":he,autoComplete:o,autoFocus:l,defaultValue:p,fullWidth:x,multiline:P,name:U,rows:F,maxRows:M,minRows:L,type:ae,value:le,id:ue,inputRef:R,onBlur:G,onChange:Q,onFocus:J,placeholder:O,inputProps:ft,slots:{input:I.htmlInput?ct:void 0},...je});return _.jsxs(Ve,{...Kt,children:[w!=null&&w!==""&&_.jsx(Gt,{htmlFor:ue,id:me,...Lt,children:w}),Y?_.jsx(pe,{"aria-describedby":he,id:ue,labelId:me,value:le,input:Le,...ai,children:c}):Le,S&&_.jsx(zt,{id:he,...st,children:S})]})});var Dp={exports:{}},_p={};var ZS;function _N(){if(ZS)return _p;ZS=1;var e=pf();function t(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var i=typeof Object.is=="function"?Object.is:t,a=e.useSyncExternalStore,o=e.useRef,l=e.useEffect,c=e.useMemo,f=e.useDebugValue;return _p.useSyncExternalStoreWithSelector=function(h,p,g,y,v){var x=o(null);if(x.current===null){var S={hasValue:!1,value:null};x.current=S}else S=x.current;x=c(function(){function T(M){if(!D){if(D=!0,N=M,M=y(M),v!==void 0&&S.hasValue){var L=S.value;if(v(L,M))return R=L}return R=M}if(L=R,i(N,M))return L;var P=y(M);return v!==void 0&&v(L,P)?(N=M,L):(N=M,R=P)}var D=!1,N,R,w=g===void 0?null:g;return[function(){return T(p())},w===null?void 0:function(){return T(w())}]},[p,g,y,v]);var C=a(h,x[0],x[1]);return l(function(){S.hasValue=!0,S.value=C},[C]),f(C),C},_p}var JS;function NN(){return JS||(JS=1,Dp.exports=_N()),Dp.exports}NN();function LN(e){e()}function zN(){let e=null,t=null;return{clear(){e=null,t=null},notify(){LN(()=>{let i=e;for(;i;)i.callback(),i=i.next})},get(){const i=[];let a=e;for(;a;)i.push(a),a=a.next;return i},subscribe(i){let a=!0;const o=t={callback:i,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!a||e===null||(a=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var ex={notify(){},get:()=>[]};function kN(e,t){let i,a=ex,o=0,l=!1;function c(C){g();const T=a.subscribe(C);let D=!1;return()=>{D||(D=!0,T(),y())}}function f(){a.notify()}function h(){S.onStateChange&&S.onStateChange()}function p(){return l}function g(){o++,i||(i=e.subscribe(h),a=zN())}function y(){o--,i&&o===0&&(i(),i=void 0,a.clear(),a=ex)}function v(){l||(l=!0,g())}function x(){l&&(l=!1,y())}const S={addNestedSub:c,notifyNestedSubs:f,handleChangeWrapper:h,isSubscribed:p,trySubscribe:v,tryUnsubscribe:x,getListeners:()=>a};return S}var PN=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jN=PN(),BN=()=>typeof navigator<"u"&&navigator.product==="ReactNative",UN=BN(),VN=()=>jN||UN?A.useLayoutEffect:A.useEffect,$N=VN(),HN=Symbol.for("react-redux-context"),IN=typeof globalThis<"u"?globalThis:{};function FN(){if(!A.createContext)return{};const e=IN[HN]??=new Map;let t=e.get(A.createContext);return t||(t=A.createContext(null),e.set(A.createContext,t)),t}var g2=FN();function qN(e){const{children:t,context:i,serverState:a,store:o}=e,l=A.useMemo(()=>{const h=kN(o);return{store:o,subscription:h,getServerState:a?()=>a:void 0}},[o,a]),c=A.useMemo(()=>o.getState(),[o]);$N(()=>{const{subscription:h}=l;return h.onStateChange=h.notifyNestedSubs,h.trySubscribe(),c!==o.getState()&&h.notifyNestedSubs(),()=>{h.tryUnsubscribe(),h.onStateChange=void 0}},[l,c]);const f=i||g2;return A.createElement(f.Provider,{value:l},t)}var KN=qN;const GN=(e,t,i,a)=>{const o=[i,{code:t,...a||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);Ca(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...o):console?.warn&&console.warn(...o)},tx={},Em=(e,t,i,a)=>{Ca(i)&&tx[i]||(Ca(i)&&(tx[i]=new Date),GN(e,t,i,a))},y2=(e,t)=>()=>{if(e.isInitialized)t();else{const i=()=>{setTimeout(()=>{e.off("initialized",i)},0),t()};e.on("initialized",i)}},Am=(e,t,i)=>{e.loadNamespaces(t,y2(e,i))},nx=(e,t,i,a)=>{if(Ca(i)&&(i=[i]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Am(e,i,a);i.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(t,y2(e,a))},YN=(e,t,i={})=>!t.languages||!t.languages.length?(Em(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:i.lng,precheck:(a,o)=>{if(i.bindI18n&&i.bindI18n.indexOf("languageChanging")>-1&&a.services.backendConnector.backend&&a.isLanguageChangingTo&&!o(a.isLanguageChangingTo,e))return!1}}),Ca=e=>typeof e=="string",XN=e=>typeof e=="object"&&e!==null,WN=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,QN={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},ZN=e=>QN[e],JN=e=>e.replace(WN,ZN);let Rm={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:JN};const eL=(e={})=>{Rm={...Rm,...e}},tL=()=>Rm;let v2;const nL=e=>{v2=e},iL=()=>v2,rL={type:"3rdParty",init(e){eL(e.options.react),nL(e)}},b2=A.createContext();class aL{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(i=>{this.usedNamespaces[i]||(this.usedNamespaces[i]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const sL=(e,t)=>{const i=A.useRef();return A.useEffect(()=>{i.current=e},[e,t]),i.current},S2=(e,t,i,a)=>e.getFixedT(t,i,a),oL=(e,t,i,a)=>A.useCallback(S2(e,t,i,a),[e,t,i,a]),$g=(e,t={})=>{const{i18n:i}=t,{i18n:a,defaultNS:o}=A.useContext(b2)||{},l=i||a||iL();if(l&&!l.reportNamespaces&&(l.reportNamespaces=new aL),!l){Em(l,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const w=(L,P)=>Ca(P)?P:XN(P)&&Ca(P.defaultValue)?P.defaultValue:Array.isArray(L)?L[L.length-1]:L,M=[w,{},!1];return M.t=w,M.i18n={},M.ready=!1,M}l.options.react?.wait&&Em(l,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const c={...tL(),...l.options.react,...t},{useSuspense:f,keyPrefix:h}=c;let p=e||o||l.options?.defaultNS;p=Ca(p)?[p]:p||["translation"],l.reportNamespaces.addUsedNamespaces?.(p);const g=(l.isInitialized||l.initializedStoreOnce)&&p.every(w=>YN(w,l,c)),y=oL(l,t.lng||null,c.nsMode==="fallback"?p:p[0],h),v=()=>y,x=()=>S2(l,t.lng||null,c.nsMode==="fallback"?p:p[0],h),[S,C]=A.useState(v);let T=p.join();t.lng&&(T=`${t.lng}${T}`);const D=sL(T),N=A.useRef(!0);A.useEffect(()=>{const{bindI18n:w,bindI18nStore:M}=c;N.current=!0,!g&&!f&&(t.lng?nx(l,t.lng,p,()=>{N.current&&C(x)}):Am(l,p,()=>{N.current&&C(x)})),g&&D&&D!==T&&N.current&&C(x);const L=()=>{N.current&&C(x)};return w&&l?.on(w,L),M&&l?.store.on(M,L),()=>{N.current=!1,l&&w&&w?.split(" ").forEach(P=>l.off(P,L)),M&&l&&M.split(" ").forEach(P=>l.store.off(P,L))}},[l,T]),A.useEffect(()=>{N.current&&g&&C(v)},[l,h,g]);const R=[S,l,g];if(R.t=S,R.i18n=l,R.ready=g,g||!g&&!f)return R;throw new Promise(w=>{t.lng?nx(l,t.lng,p,()=>w()):Am(l,p,()=>w())})};function lL({i18n:e,defaultNS:t,children:i}){const a=A.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return A.createElement(b2.Provider,{value:a},i)}function x2(e,t){return function(){return e.apply(t,arguments)}}const{toString:uL}=Object.prototype,{getPrototypeOf:Hg}=Object,{iterator:Pf,toStringTag:C2}=Symbol,jf=(e=>t=>{const i=uL.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),vi=e=>(e=e.toLowerCase(),t=>jf(t)===e),Bf=e=>t=>typeof t===e,{isArray:qs}=Array,Ps=Bf("undefined");function Bl(e){return e!==null&&!Ps(e)&&e.constructor!==null&&!Ps(e.constructor)&&En(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const T2=vi("ArrayBuffer");function cL(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&T2(e.buffer),t}const fL=Bf("string"),En=Bf("function"),w2=Bf("number"),Ul=e=>e!==null&&typeof e=="object",dL=e=>e===!0||e===!1,Dc=e=>{if(jf(e)!=="object")return!1;const t=Hg(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(C2 in e)&&!(Pf in e)},hL=e=>{if(!Ul(e)||Bl(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},pL=vi("Date"),mL=vi("File"),gL=vi("Blob"),yL=vi("FileList"),vL=e=>Ul(e)&&En(e.pipe),bL=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||En(e.append)&&((t=jf(e))==="formdata"||t==="object"&&En(e.toString)&&e.toString()==="[object FormData]"))},SL=vi("URLSearchParams"),[xL,CL,TL,wL]=["ReadableStream","Request","Response","Headers"].map(vi),EL=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Vl(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let a,o;if(typeof e!="object"&&(e=[e]),qs(e))for(a=0,o=e.length;a<o;a++)t.call(null,e[a],a,e);else{if(Bl(e))return;const l=i?Object.getOwnPropertyNames(e):Object.keys(e),c=l.length;let f;for(a=0;a<c;a++)f=l[a],t.call(null,e[f],f,e)}}function E2(e,t){if(Bl(e))return null;t=t.toLowerCase();const i=Object.keys(e);let a=i.length,o;for(;a-- >0;)if(o=i[a],t===o.toLowerCase())return o;return null}const va=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,A2=e=>!Ps(e)&&e!==va;function Om(){const{caseless:e,skipUndefined:t}=A2(this)&&this||{},i={},a=(o,l)=>{const c=e&&E2(i,l)||l;Dc(i[c])&&Dc(o)?i[c]=Om(i[c],o):Dc(o)?i[c]=Om({},o):qs(o)?i[c]=o.slice():(!t||!Ps(o))&&(i[c]=o)};for(let o=0,l=arguments.length;o<l;o++)arguments[o]&&Vl(arguments[o],a);return i}const AL=(e,t,i,{allOwnKeys:a}={})=>(Vl(t,(o,l)=>{i&&En(o)?e[l]=x2(o,i):e[l]=o},{allOwnKeys:a}),e),RL=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),OL=(e,t,i,a)=>{e.prototype=Object.create(t.prototype,a),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},ML=(e,t,i,a)=>{let o,l,c;const f={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),l=o.length;l-- >0;)c=o[l],(!a||a(c,e,t))&&!f[c]&&(t[c]=e[c],f[c]=!0);e=i!==!1&&Hg(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},DL=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const a=e.indexOf(t,i);return a!==-1&&a===i},_L=e=>{if(!e)return null;if(qs(e))return e;let t=e.length;if(!w2(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},NL=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Hg(Uint8Array)),LL=(e,t)=>{const a=(e&&e[Pf]).call(e);let o;for(;(o=a.next())&&!o.done;){const l=o.value;t.call(e,l[0],l[1])}},zL=(e,t)=>{let i;const a=[];for(;(i=e.exec(t))!==null;)a.push(i);return a},kL=vi("HTMLFormElement"),PL=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,a,o){return a.toUpperCase()+o}),ix=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),jL=vi("RegExp"),R2=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),a={};Vl(i,(o,l)=>{let c;(c=t(o,l,e))!==!1&&(a[l]=c||o)}),Object.defineProperties(e,a)},BL=e=>{R2(e,(t,i)=>{if(En(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const a=e[i];if(En(a)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},UL=(e,t)=>{const i={},a=o=>{o.forEach(l=>{i[l]=!0})};return qs(e)?a(e):a(String(e).split(t)),i},VL=()=>{},$L=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function HL(e){return!!(e&&En(e.append)&&e[C2]==="FormData"&&e[Pf])}const IL=e=>{const t=new Array(10),i=(a,o)=>{if(Ul(a)){if(t.indexOf(a)>=0)return;if(Bl(a))return a;if(!("toJSON"in a)){t[o]=a;const l=qs(a)?[]:{};return Vl(a,(c,f)=>{const h=i(c,o+1);!Ps(h)&&(l[f]=h)}),t[o]=void 0,l}}return a};return i(e,0)},FL=vi("AsyncFunction"),qL=e=>e&&(Ul(e)||En(e))&&En(e.then)&&En(e.catch),O2=((e,t)=>e?setImmediate:t?((i,a)=>(va.addEventListener("message",({source:o,data:l})=>{o===va&&l===i&&a.length&&a.shift()()},!1),o=>{a.push(o),va.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",En(va.postMessage)),KL=typeof queueMicrotask<"u"?queueMicrotask.bind(va):typeof process<"u"&&process.nextTick||O2,GL=e=>e!=null&&En(e[Pf]),X={isArray:qs,isArrayBuffer:T2,isBuffer:Bl,isFormData:bL,isArrayBufferView:cL,isString:fL,isNumber:w2,isBoolean:dL,isObject:Ul,isPlainObject:Dc,isEmptyObject:hL,isReadableStream:xL,isRequest:CL,isResponse:TL,isHeaders:wL,isUndefined:Ps,isDate:pL,isFile:mL,isBlob:gL,isRegExp:jL,isFunction:En,isStream:vL,isURLSearchParams:SL,isTypedArray:NL,isFileList:yL,forEach:Vl,merge:Om,extend:AL,trim:EL,stripBOM:RL,inherits:OL,toFlatObject:ML,kindOf:jf,kindOfTest:vi,endsWith:DL,toArray:_L,forEachEntry:LL,matchAll:zL,isHTMLForm:kL,hasOwnProperty:ix,hasOwnProp:ix,reduceDescriptors:R2,freezeMethods:BL,toObjectSet:UL,toCamelCase:PL,noop:VL,toFiniteNumber:$L,findKey:E2,global:va,isContextDefined:A2,isSpecCompliantForm:HL,toJSONObject:IL,isAsyncFn:FL,isThenable:qL,setImmediate:O2,asap:KL,isIterable:GL};function Oe(e,t,i,a,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),a&&(this.request=a),o&&(this.response=o,this.status=o.status?o.status:null)}X.inherits(Oe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});const M2=Oe.prototype,D2={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{D2[e]={value:e}});Object.defineProperties(Oe,D2);Object.defineProperty(M2,"isAxiosError",{value:!0});Oe.from=(e,t,i,a,o,l)=>{const c=Object.create(M2);X.toFlatObject(e,c,function(g){return g!==Error.prototype},p=>p!=="isAxiosError");const f=e&&e.message?e.message:"Error",h=t==null&&e?e.code:t;return Oe.call(c,f,h,i,a,o),e&&c.cause==null&&Object.defineProperty(c,"cause",{value:e,configurable:!0}),c.name=e&&e.name||"Error",l&&Object.assign(c,l),c};const YL=null;function Mm(e){return X.isPlainObject(e)||X.isArray(e)}function _2(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function rx(e,t,i){return e?e.concat(t).map(function(o,l){return o=_2(o),!i&&l?"["+o+"]":o}).join(i?".":""):t}function XL(e){return X.isArray(e)&&!e.some(Mm)}const WL=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});function Uf(e,t,i){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=X.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(C,T){return!X.isUndefined(T[C])});const a=i.metaTokens,o=i.visitor||g,l=i.dots,c=i.indexes,h=(i.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(o))throw new TypeError("visitor must be a function");function p(S){if(S===null)return"";if(X.isDate(S))return S.toISOString();if(X.isBoolean(S))return S.toString();if(!h&&X.isBlob(S))throw new Oe("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(S)||X.isTypedArray(S)?h&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function g(S,C,T){let D=S;if(S&&!T&&typeof S=="object"){if(X.endsWith(C,"{}"))C=a?C:C.slice(0,-2),S=JSON.stringify(S);else if(X.isArray(S)&&XL(S)||(X.isFileList(S)||X.endsWith(C,"[]"))&&(D=X.toArray(S)))return C=_2(C),D.forEach(function(R,w){!(X.isUndefined(R)||R===null)&&t.append(c===!0?rx([C],w,l):c===null?C:C+"[]",p(R))}),!1}return Mm(S)?!0:(t.append(rx(T,C,l),p(S)),!1)}const y=[],v=Object.assign(WL,{defaultVisitor:g,convertValue:p,isVisitable:Mm});function x(S,C){if(!X.isUndefined(S)){if(y.indexOf(S)!==-1)throw Error("Circular reference detected in "+C.join("."));y.push(S),X.forEach(S,function(D,N){(!(X.isUndefined(D)||D===null)&&o.call(t,D,X.isString(N)?N.trim():N,C,v))===!0&&x(D,C?C.concat(N):[N])}),y.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return x(e),t}function ax(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(a){return t[a]})}function Ig(e,t){this._pairs=[],e&&Uf(e,this,t)}const N2=Ig.prototype;N2.append=function(t,i){this._pairs.push([t,i])};N2.toString=function(t){const i=t?function(a){return t.call(this,a,ax)}:ax;return this._pairs.map(function(o){return i(o[0])+"="+i(o[1])},"").join("&")};function QL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function L2(e,t,i){if(!t)return e;const a=i&&i.encode||QL;X.isFunction(i)&&(i={serialize:i});const o=i&&i.serialize;let l;if(o?l=o(t,i):l=X.isURLSearchParams(t)?t.toString():new Ig(t,i).toString(a),l){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class sx{constructor(){this.handlers=[]}use(t,i,a){return this.handlers.push({fulfilled:t,rejected:i,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,function(a){a!==null&&t(a)})}}const z2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ZL=typeof URLSearchParams<"u"?URLSearchParams:Ig,JL=typeof FormData<"u"?FormData:null,ez=typeof Blob<"u"?Blob:null,tz={isBrowser:!0,classes:{URLSearchParams:ZL,FormData:JL,Blob:ez},protocols:["http","https","file","blob","url","data"]},Fg=typeof window<"u"&&typeof document<"u",Dm=typeof navigator=="object"&&navigator||void 0,nz=Fg&&(!Dm||["ReactNative","NativeScript","NS"].indexOf(Dm.product)<0),iz=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",rz=Fg&&window.location.href||"http://localhost",az=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Fg,hasStandardBrowserEnv:nz,hasStandardBrowserWebWorkerEnv:iz,navigator:Dm,origin:rz},Symbol.toStringTag,{value:"Module"})),fn={...az,...tz};function sz(e,t){return Uf(e,new fn.classes.URLSearchParams,{visitor:function(i,a,o,l){return fn.isNode&&X.isBuffer(i)?(this.append(a,i.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...t})}function oz(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function lz(e){const t={},i=Object.keys(e);let a;const o=i.length;let l;for(a=0;a<o;a++)l=i[a],t[l]=e[l];return t}function k2(e){function t(i,a,o,l){let c=i[l++];if(c==="__proto__")return!0;const f=Number.isFinite(+c),h=l>=i.length;return c=!c&&X.isArray(o)?o.length:c,h?(X.hasOwnProp(o,c)?o[c]=[o[c],a]:o[c]=a,!f):((!o[c]||!X.isObject(o[c]))&&(o[c]=[]),t(i,a,o[c],l)&&X.isArray(o[c])&&(o[c]=lz(o[c])),!f)}if(X.isFormData(e)&&X.isFunction(e.entries)){const i={};return X.forEachEntry(e,(a,o)=>{t(oz(a),o,i,0)}),i}return null}function uz(e,t,i){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(i||JSON.stringify)(e)}const $l={transitional:z2,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const a=i.getContentType()||"",o=a.indexOf("application/json")>-1,l=X.isObject(t);if(l&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return o?JSON.stringify(k2(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;if(l){if(a.indexOf("application/x-www-form-urlencoded")>-1)return sz(t,this.formSerializer).toString();if((f=X.isFileList(t))||a.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Uf(f?{"files[]":t}:t,h&&new h,this.formSerializer)}}return l||o?(i.setContentType("application/json",!1),uz(t)):t}],transformResponse:[function(t){const i=this.transitional||$l.transitional,a=i&&i.forcedJSONParsing,o=this.responseType==="json";if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(a&&!this.responseType||o)){const c=!(i&&i.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(f){if(c)throw f.name==="SyntaxError"?Oe.from(f,Oe.ERR_BAD_RESPONSE,this,null,this.response):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fn.classes.FormData,Blob:fn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{$l.headers[e]={}});const cz=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fz=e=>{const t={};let i,a,o;return e&&e.split(`
|
|
146
|
-
`).forEach(function(c){o=c.indexOf(":"),i=c.substring(0,o).trim().toLowerCase(),a=c.substring(o+1).trim(),!(!i||t[i]&&cz[i])&&(i==="set-cookie"?t[i]?t[i].push(a):t[i]=[a]:t[i]=t[i]?t[i]+", "+a:a)}),t},ox=Symbol("internals");function Wo(e){return e&&String(e).trim().toLowerCase()}function _c(e){return e===!1||e==null?e:X.isArray(e)?e.map(_c):String(e)}function dz(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=i.exec(e);)t[a[1]]=a[2];return t}const hz=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Np(e,t,i,a,o){if(X.isFunction(a))return a.call(this,t,i);if(o&&(t=i),!!X.isString(t)){if(X.isString(a))return t.indexOf(a)!==-1;if(X.isRegExp(a))return a.test(t)}}function pz(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,a)=>i.toUpperCase()+a)}function mz(e,t){const i=X.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+i,{value:function(o,l,c){return this[a].call(this,t,o,l,c)},configurable:!0})})}let An=class{constructor(t){t&&this.set(t)}set(t,i,a){const o=this;function l(f,h,p){const g=Wo(h);if(!g)throw new Error("header name must be a non-empty string");const y=X.findKey(o,g);(!y||o[y]===void 0||p===!0||p===void 0&&o[y]!==!1)&&(o[y||h]=_c(f))}const c=(f,h)=>X.forEach(f,(p,g)=>l(p,g,h));if(X.isPlainObject(t)||t instanceof this.constructor)c(t,i);else if(X.isString(t)&&(t=t.trim())&&!hz(t))c(fz(t),i);else if(X.isObject(t)&&X.isIterable(t)){let f={},h,p;for(const g of t){if(!X.isArray(g))throw TypeError("Object iterator must return a key-value pair");f[p=g[0]]=(h=f[p])?X.isArray(h)?[...h,g[1]]:[h,g[1]]:g[1]}c(f,i)}else t!=null&&l(i,t,a);return this}get(t,i){if(t=Wo(t),t){const a=X.findKey(this,t);if(a){const o=this[a];if(!i)return o;if(i===!0)return dz(o);if(X.isFunction(i))return i.call(this,o,a);if(X.isRegExp(i))return i.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=Wo(t),t){const a=X.findKey(this,t);return!!(a&&this[a]!==void 0&&(!i||Np(this,this[a],a,i)))}return!1}delete(t,i){const a=this;let o=!1;function l(c){if(c=Wo(c),c){const f=X.findKey(a,c);f&&(!i||Np(a,a[f],f,i))&&(delete a[f],o=!0)}}return X.isArray(t)?t.forEach(l):l(t),o}clear(t){const i=Object.keys(this);let a=i.length,o=!1;for(;a--;){const l=i[a];(!t||Np(this,this[l],l,t,!0))&&(delete this[l],o=!0)}return o}normalize(t){const i=this,a={};return X.forEach(this,(o,l)=>{const c=X.findKey(a,l);if(c){i[c]=_c(o),delete i[l];return}const f=t?pz(l):String(l).trim();f!==l&&delete i[l],i[f]=_c(o),a[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return X.forEach(this,(a,o)=>{a!=null&&a!==!1&&(i[o]=t&&X.isArray(a)?a.join(", "):a)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(`
|
|
147
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const a=new this(t);return i.forEach(o=>a.set(o)),a}static accessor(t){const a=(this[ox]=this[ox]={accessors:{}}).accessors,o=this.prototype;function l(c){const f=Wo(c);a[f]||(mz(o,c),a[f]=!0)}return X.isArray(t)?t.forEach(l):l(t),this}};An.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(An.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[i]=a}}});X.freezeMethods(An);function Lp(e,t){const i=this||$l,a=t||i,o=An.from(a.headers);let l=a.data;return X.forEach(e,function(f){l=f.call(i,l,o.normalize(),t?t.status:void 0)}),o.normalize(),l}function P2(e){return!!(e&&e.__CANCEL__)}function Ks(e,t,i){Oe.call(this,e??"canceled",Oe.ERR_CANCELED,t,i),this.name="CanceledError"}X.inherits(Ks,Oe,{__CANCEL__:!0});function j2(e,t,i){const a=i.config.validateStatus;!i.status||!a||a(i.status)?e(i):t(new Oe("Request failed with status code "+i.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function gz(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function yz(e,t){e=e||10;const i=new Array(e),a=new Array(e);let o=0,l=0,c;return t=t!==void 0?t:1e3,function(h){const p=Date.now(),g=a[l];c||(c=p),i[o]=h,a[o]=p;let y=l,v=0;for(;y!==o;)v+=i[y++],y=y%e;if(o=(o+1)%e,o===l&&(l=(l+1)%e),p-c<t)return;const x=g&&p-g;return x?Math.round(v*1e3/x):void 0}}function vz(e,t){let i=0,a=1e3/t,o,l;const c=(p,g=Date.now())=>{i=g,o=null,l&&(clearTimeout(l),l=null),e(...p)};return[(...p)=>{const g=Date.now(),y=g-i;y>=a?c(p,g):(o=p,l||(l=setTimeout(()=>{l=null,c(o)},a-y)))},()=>o&&c(o)]}const Xc=(e,t,i=3)=>{let a=0;const o=yz(50,250);return vz(l=>{const c=l.loaded,f=l.lengthComputable?l.total:void 0,h=c-a,p=o(h),g=c<=f;a=c;const y={loaded:c,total:f,progress:f?c/f:void 0,bytes:h,rate:p||void 0,estimated:p&&f&&g?(f-c)/p:void 0,event:l,lengthComputable:f!=null,[t?"download":"upload"]:!0};e(y)},i)},lx=(e,t)=>{const i=e!=null;return[a=>t[0]({lengthComputable:i,total:e,loaded:a}),t[1]]},ux=e=>(...t)=>X.asap(()=>e(...t)),bz=fn.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,fn.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(fn.origin),fn.navigator&&/(msie|trident)/i.test(fn.navigator.userAgent)):()=>!0,Sz=fn.hasStandardBrowserEnv?{write(e,t,i,a,o,l,c){if(typeof document>"u")return;const f=[`${e}=${encodeURIComponent(t)}`];X.isNumber(i)&&f.push(`expires=${new Date(i).toUTCString()}`),X.isString(a)&&f.push(`path=${a}`),X.isString(o)&&f.push(`domain=${o}`),l===!0&&f.push("secure"),X.isString(c)&&f.push(`SameSite=${c}`),document.cookie=f.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function xz(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Cz(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function B2(e,t,i){let a=!xz(t);return e&&(a||i==!1)?Cz(e,t):t}const cx=e=>e instanceof An?{...e}:e;function Ra(e,t){t=t||{};const i={};function a(p,g,y,v){return X.isPlainObject(p)&&X.isPlainObject(g)?X.merge.call({caseless:v},p,g):X.isPlainObject(g)?X.merge({},g):X.isArray(g)?g.slice():g}function o(p,g,y,v){if(X.isUndefined(g)){if(!X.isUndefined(p))return a(void 0,p,y,v)}else return a(p,g,y,v)}function l(p,g){if(!X.isUndefined(g))return a(void 0,g)}function c(p,g){if(X.isUndefined(g)){if(!X.isUndefined(p))return a(void 0,p)}else return a(void 0,g)}function f(p,g,y){if(y in t)return a(p,g);if(y in e)return a(void 0,p)}const h={url:l,method:l,data:l,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:f,headers:(p,g,y)=>o(cx(p),cx(g),y,!0)};return X.forEach(Object.keys({...e,...t}),function(g){const y=h[g]||o,v=y(e[g],t[g],g);X.isUndefined(v)&&y!==f||(i[g]=v)}),i}const U2=e=>{const t=Ra({},e);let{data:i,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:l,headers:c,auth:f}=t;if(t.headers=c=An.from(c),t.url=L2(B2(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),f&&c.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?unescape(encodeURIComponent(f.password)):""))),X.isFormData(i)){if(fn.hasStandardBrowserEnv||fn.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(X.isFunction(i.getHeaders)){const h=i.getHeaders(),p=["content-type","content-length"];Object.entries(h).forEach(([g,y])=>{p.includes(g.toLowerCase())&&c.set(g,y)})}}if(fn.hasStandardBrowserEnv&&(a&&X.isFunction(a)&&(a=a(t)),a||a!==!1&&bz(t.url))){const h=o&&l&&Sz.read(l);h&&c.set(o,h)}return t},Tz=typeof XMLHttpRequest<"u",wz=Tz&&function(e){return new Promise(function(i,a){const o=U2(e);let l=o.data;const c=An.from(o.headers).normalize();let{responseType:f,onUploadProgress:h,onDownloadProgress:p}=o,g,y,v,x,S;function C(){x&&x(),S&&S(),o.cancelToken&&o.cancelToken.unsubscribe(g),o.signal&&o.signal.removeEventListener("abort",g)}let T=new XMLHttpRequest;T.open(o.method.toUpperCase(),o.url,!0),T.timeout=o.timeout;function D(){if(!T)return;const R=An.from("getAllResponseHeaders"in T&&T.getAllResponseHeaders()),M={data:!f||f==="text"||f==="json"?T.responseText:T.response,status:T.status,statusText:T.statusText,headers:R,config:e,request:T};j2(function(P){i(P),C()},function(P){a(P),C()},M),T=null}"onloadend"in T?T.onloadend=D:T.onreadystatechange=function(){!T||T.readyState!==4||T.status===0&&!(T.responseURL&&T.responseURL.indexOf("file:")===0)||setTimeout(D)},T.onabort=function(){T&&(a(new Oe("Request aborted",Oe.ECONNABORTED,e,T)),T=null)},T.onerror=function(w){const M=w&&w.message?w.message:"Network Error",L=new Oe(M,Oe.ERR_NETWORK,e,T);L.event=w||null,a(L),T=null},T.ontimeout=function(){let w=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const M=o.transitional||z2;o.timeoutErrorMessage&&(w=o.timeoutErrorMessage),a(new Oe(w,M.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,e,T)),T=null},l===void 0&&c.setContentType(null),"setRequestHeader"in T&&X.forEach(c.toJSON(),function(w,M){T.setRequestHeader(M,w)}),X.isUndefined(o.withCredentials)||(T.withCredentials=!!o.withCredentials),f&&f!=="json"&&(T.responseType=o.responseType),p&&([v,S]=Xc(p,!0),T.addEventListener("progress",v)),h&&T.upload&&([y,x]=Xc(h),T.upload.addEventListener("progress",y),T.upload.addEventListener("loadend",x)),(o.cancelToken||o.signal)&&(g=R=>{T&&(a(!R||R.type?new Ks(null,e,T):R),T.abort(),T=null)},o.cancelToken&&o.cancelToken.subscribe(g),o.signal&&(o.signal.aborted?g():o.signal.addEventListener("abort",g)));const N=gz(o.url);if(N&&fn.protocols.indexOf(N)===-1){a(new Oe("Unsupported protocol "+N+":",Oe.ERR_BAD_REQUEST,e));return}T.send(l||null)})},Ez=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let a=new AbortController,o;const l=function(p){if(!o){o=!0,f();const g=p instanceof Error?p:this.reason;a.abort(g instanceof Oe?g:new Ks(g instanceof Error?g.message:g))}};let c=t&&setTimeout(()=>{c=null,l(new Oe(`timeout ${t} of ms exceeded`,Oe.ETIMEDOUT))},t);const f=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(l):p.removeEventListener("abort",l)}),e=null)};e.forEach(p=>p.addEventListener("abort",l));const{signal:h}=a;return h.unsubscribe=()=>X.asap(f),h}},Az=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let a=0,o;for(;a<i;)o=a+t,yield e.slice(a,o),a=o},Rz=async function*(e,t){for await(const i of Oz(e))yield*Az(i,t)},Oz=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:a}=await t.read();if(i)break;yield a}}finally{await t.cancel()}},fx=(e,t,i,a)=>{const o=Rz(e,t);let l=0,c,f=h=>{c||(c=!0,a&&a(h))};return new ReadableStream({async pull(h){try{const{done:p,value:g}=await o.next();if(p){f(),h.close();return}let y=g.byteLength;if(i){let v=l+=y;i(v)}h.enqueue(new Uint8Array(g))}catch(p){throw f(p),p}},cancel(h){return f(h),o.return()}},{highWaterMark:2})},dx=64*1024,{isFunction:gc}=X,Mz=(({Request:e,Response:t})=>({Request:e,Response:t}))(X.global),{ReadableStream:hx,TextEncoder:px}=X.global,mx=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Dz=e=>{e=X.merge.call({skipUndefined:!0},Mz,e);const{fetch:t,Request:i,Response:a}=e,o=t?gc(t):typeof fetch=="function",l=gc(i),c=gc(a);if(!o)return!1;const f=o&&gc(hx),h=o&&(typeof px=="function"?(S=>C=>S.encode(C))(new px):async S=>new Uint8Array(await new i(S).arrayBuffer())),p=l&&f&&mx(()=>{let S=!1;const C=new i(fn.origin,{body:new hx,method:"POST",get duplex(){return S=!0,"half"}}).headers.has("Content-Type");return S&&!C}),g=c&&f&&mx(()=>X.isReadableStream(new a("").body)),y={stream:g&&(S=>S.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!y[S]&&(y[S]=(C,T)=>{let D=C&&C[S];if(D)return D.call(C);throw new Oe(`Response type '${S}' is not supported`,Oe.ERR_NOT_SUPPORT,T)})});const v=async S=>{if(S==null)return 0;if(X.isBlob(S))return S.size;if(X.isSpecCompliantForm(S))return(await new i(fn.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(X.isArrayBufferView(S)||X.isArrayBuffer(S))return S.byteLength;if(X.isURLSearchParams(S)&&(S=S+""),X.isString(S))return(await h(S)).byteLength},x=async(S,C)=>{const T=X.toFiniteNumber(S.getContentLength());return T??v(C)};return async S=>{let{url:C,method:T,data:D,signal:N,cancelToken:R,timeout:w,onDownloadProgress:M,onUploadProgress:L,responseType:P,headers:U,withCredentials:G="same-origin",fetchOptions:Q}=U2(S),J=t||fetch;P=P?(P+"").toLowerCase():"text";let O=Ez([N,R&&R.toAbortSignal()],w),Z=null;const F=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let Y;try{if(L&&p&&T!=="get"&&T!=="head"&&(Y=await x(U,D))!==0){let z=new i(C,{method:"POST",body:D,duplex:"half"}),q;if(X.isFormData(D)&&(q=z.headers.get("content-type"))&&U.setContentType(q),z.body){const[se,oe]=lx(Y,Xc(ux(L)));D=fx(z.body,dx,se,oe)}}X.isString(G)||(G=G?"include":"omit");const k=l&&"credentials"in i.prototype,I={...Q,signal:O,method:T.toUpperCase(),headers:U.normalize().toJSON(),body:D,duplex:"half",credentials:k?G:void 0};Z=l&&new i(C,I);let ee=await(l?J(Z,Q):J(C,I));const ae=g&&(P==="stream"||P==="response");if(g&&(M||ae&&F)){const z={};["status","statusText","headers"].forEach(ue=>{z[ue]=ee[ue]});const q=X.toFiniteNumber(ee.headers.get("content-length")),[se,oe]=M&&lx(q,Xc(ux(M),!0))||[];ee=new a(fx(ee.body,dx,se,()=>{oe&&oe(),F&&F()}),z)}P=P||"text";let le=await y[X.findKey(y,P)||"text"](ee,S);return!ae&&F&&F(),await new Promise((z,q)=>{j2(z,q,{data:le,headers:An.from(ee.headers),status:ee.status,statusText:ee.statusText,config:S,request:Z})})}catch(k){throw F&&F(),k&&k.name==="TypeError"&&/Load failed|fetch/i.test(k.message)?Object.assign(new Oe("Network Error",Oe.ERR_NETWORK,S,Z),{cause:k.cause||k}):Oe.from(k,k&&k.code,S,Z)}}},_z=new Map,V2=e=>{let t=e&&e.env||{};const{fetch:i,Request:a,Response:o}=t,l=[a,o,i];let c=l.length,f=c,h,p,g=_z;for(;f--;)h=l[f],p=g.get(h),p===void 0&&g.set(h,p=f?new Map:Dz(t)),g=p;return p};V2();const qg={http:YL,xhr:wz,fetch:{get:V2}};X.forEach(qg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const gx=e=>`- ${e}`,Nz=e=>X.isFunction(e)||e===null||e===!1;function Lz(e,t){e=X.isArray(e)?e:[e];const{length:i}=e;let a,o;const l={};for(let c=0;c<i;c++){a=e[c];let f;if(o=a,!Nz(a)&&(o=qg[(f=String(a)).toLowerCase()],o===void 0))throw new Oe(`Unknown adapter '${f}'`);if(o&&(X.isFunction(o)||(o=o.get(t))))break;l[f||"#"+c]=o}if(!o){const c=Object.entries(l).map(([h,p])=>`adapter ${h} `+(p===!1?"is not supported by the environment":"is not available in the build"));let f=i?c.length>1?`since :
|
|
148
|
-
`+c.map(gx).join(`
|
|
149
|
-
`):" "+gx(c[0]):"as no adapter specified";throw new Oe("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return o}const $2={getAdapter:Lz,adapters:qg};function zp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ks(null,e)}function yx(e){return zp(e),e.headers=An.from(e.headers),e.data=Lp.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$2.getAdapter(e.adapter||$l.adapter,e)(e).then(function(a){return zp(e),a.data=Lp.call(e,e.transformResponse,a),a.headers=An.from(a.headers),a},function(a){return P2(a)||(zp(e),a&&a.response&&(a.response.data=Lp.call(e,e.transformResponse,a.response),a.response.headers=An.from(a.response.headers))),Promise.reject(a)})}const H2="1.13.2",Vf={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Vf[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const vx={};Vf.transitional=function(t,i,a){function o(l,c){return"[Axios v"+H2+"] Transitional option '"+l+"'"+c+(a?". "+a:"")}return(l,c,f)=>{if(t===!1)throw new Oe(o(c," has been removed"+(i?" in "+i:"")),Oe.ERR_DEPRECATED);return i&&!vx[c]&&(vx[c]=!0,console.warn(o(c," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(l,c,f):!0}};Vf.spelling=function(t){return(i,a)=>(console.warn(`${a} is likely a misspelling of ${t}`),!0)};function zz(e,t,i){if(typeof e!="object")throw new Oe("options must be an object",Oe.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let o=a.length;for(;o-- >0;){const l=a[o],c=t[l];if(c){const f=e[l],h=f===void 0||c(f,l,e);if(h!==!0)throw new Oe("option "+l+" must be "+h,Oe.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new Oe("Unknown option "+l,Oe.ERR_BAD_OPTION)}}const Nc={assertOptions:zz,validators:Vf},Ai=Nc.validators;let Ta=class{constructor(t){this.defaults=t||{},this.interceptors={request:new sx,response:new sx}}async request(t,i){try{return await this._request(t,i)}catch(a){if(a instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const l=o.stack?o.stack.replace(/^.+\n/,""):"";try{a.stack?l&&!String(a.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(a.stack+=`
|
|
150
|
-
`+l):a.stack=l}catch{}}throw a}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=Ra(this.defaults,i);const{transitional:a,paramsSerializer:o,headers:l}=i;a!==void 0&&Nc.assertOptions(a,{silentJSONParsing:Ai.transitional(Ai.boolean),forcedJSONParsing:Ai.transitional(Ai.boolean),clarifyTimeoutError:Ai.transitional(Ai.boolean)},!1),o!=null&&(X.isFunction(o)?i.paramsSerializer={serialize:o}:Nc.assertOptions(o,{encode:Ai.function,serialize:Ai.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Nc.assertOptions(i,{baseUrl:Ai.spelling("baseURL"),withXsrfToken:Ai.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let c=l&&X.merge(l.common,l[i.method]);l&&X.forEach(["delete","get","head","post","put","patch","common"],S=>{delete l[S]}),i.headers=An.concat(c,l);const f=[];let h=!0;this.interceptors.request.forEach(function(C){typeof C.runWhen=="function"&&C.runWhen(i)===!1||(h=h&&C.synchronous,f.unshift(C.fulfilled,C.rejected))});const p=[];this.interceptors.response.forEach(function(C){p.push(C.fulfilled,C.rejected)});let g,y=0,v;if(!h){const S=[yx.bind(this),void 0];for(S.unshift(...f),S.push(...p),v=S.length,g=Promise.resolve(i);y<v;)g=g.then(S[y++],S[y++]);return g}v=f.length;let x=i;for(;y<v;){const S=f[y++],C=f[y++];try{x=S(x)}catch(T){C.call(this,T);break}}try{g=yx.call(this,x)}catch(S){return Promise.reject(S)}for(y=0,v=p.length;y<v;)g=g.then(p[y++],p[y++]);return g}getUri(t){t=Ra(this.defaults,t);const i=B2(t.baseURL,t.url,t.allowAbsoluteUrls);return L2(i,t.params,t.paramsSerializer)}};X.forEach(["delete","get","head","options"],function(t){Ta.prototype[t]=function(i,a){return this.request(Ra(a||{},{method:t,url:i,data:(a||{}).data}))}});X.forEach(["post","put","patch"],function(t){function i(a){return function(l,c,f){return this.request(Ra(f||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:l,data:c}))}}Ta.prototype[t]=i(),Ta.prototype[t+"Form"]=i(!0)});let kz=class I2{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(l){i=l});const a=this;this.promise.then(o=>{if(!a._listeners)return;let l=a._listeners.length;for(;l-- >0;)a._listeners[l](o);a._listeners=null}),this.promise.then=o=>{let l;const c=new Promise(f=>{a.subscribe(f),l=f}).then(o);return c.cancel=function(){a.unsubscribe(l)},c},t(function(l,c,f){a.reason||(a.reason=new Ks(l,c,f),i(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const t=new AbortController,i=a=>{t.abort(a)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new I2(function(o){t=o}),cancel:t}}};function Pz(e){return function(i){return e.apply(null,i)}}function jz(e){return X.isObject(e)&&e.isAxiosError===!0}const _m={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(_m).forEach(([e,t])=>{_m[t]=e});function F2(e){const t=new Ta(e),i=x2(Ta.prototype.request,t);return X.extend(i,Ta.prototype,t,{allOwnKeys:!0}),X.extend(i,t,null,{allOwnKeys:!0}),i.create=function(o){return F2(Ra(e,o))},i}const Mt=F2($l);Mt.Axios=Ta;Mt.CanceledError=Ks;Mt.CancelToken=kz;Mt.isCancel=P2;Mt.VERSION=H2;Mt.toFormData=Uf;Mt.AxiosError=Oe;Mt.Cancel=Mt.CanceledError;Mt.all=function(t){return Promise.all(t)};Mt.spread=Pz;Mt.isAxiosError=jz;Mt.mergeConfig=Ra;Mt.AxiosHeaders=An;Mt.formToJSON=e=>k2(X.isHTMLForm(e)?new FormData(e):e);Mt.getAdapter=$2.getAdapter;Mt.HttpStatusCode=_m;Mt.default=Mt;const{Axios:n8,AxiosError:i8,CanceledError:r8,isCancel:a8,CancelToken:s8,VERSION:o8,all:l8,Cancel:u8,isAxiosError:c8,spread:f8,toFormData:d8,AxiosHeaders:h8,HttpStatusCode:p8,formToJSON:m8,getAdapter:g8,mergeConfig:y8}=Mt,Kg=A.createContext({});function Gg(e){const t=A.useRef(null);return t.current===null&&(t.current=e()),t.current}const Yg=typeof window<"u",q2=Yg?A.useLayoutEffect:A.useEffect,$f=A.createContext(null);function Xg(e,t){e.indexOf(t)===-1&&e.push(t)}function Wg(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const lr=(e,t,i)=>i>t?t:i<e?e:i;let Qg=()=>{};const ur={},K2=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function G2(e){return typeof e=="object"&&e!==null}const Y2=e=>/^0[^.\s]+$/u.test(e);function Zg(e){let t;return()=>(t===void 0&&(t=e()),t)}const ii=e=>e,Bz=(e,t)=>i=>t(e(i)),Hl=(...e)=>e.reduce(Bz),vl=(e,t,i)=>{const a=t-e;return a===0?1:(i-e)/a};class Jg{constructor(){this.subscriptions=[]}add(t){return Xg(this.subscriptions,t),()=>Wg(this.subscriptions,t)}notify(t,i,a){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,i,a);else for(let l=0;l<o;l++){const c=this.subscriptions[l];c&&c(t,i,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Li=e=>e*1e3,ni=e=>e/1e3;function X2(e,t){return t?e*(1e3/t):0}const W2=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e,Uz=1e-7,Vz=12;function $z(e,t,i,a,o){let l,c,f=0;do c=t+(i-t)/2,l=W2(c,a,o)-e,l>0?i=c:t=c;while(Math.abs(l)>Uz&&++f<Vz);return c}function Il(e,t,i,a){if(e===t&&i===a)return ii;const o=l=>$z(l,0,1,e,i);return l=>l===0||l===1?l:W2(o(l),t,a)}const Q2=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Z2=e=>t=>1-e(1-t),J2=Il(.33,1.53,.69,.99),ey=Z2(J2),ew=Q2(ey),tw=e=>(e*=2)<1?.5*ey(e):.5*(2-Math.pow(2,-10*(e-1))),ty=e=>1-Math.sin(Math.acos(e)),nw=Z2(ty),iw=Q2(ty),Hz=Il(.42,0,1,1),Iz=Il(0,0,.58,1),rw=Il(.42,0,.58,1),Fz=e=>Array.isArray(e)&&typeof e[0]!="number",aw=e=>Array.isArray(e)&&typeof e[0]=="number",qz={linear:ii,easeIn:Hz,easeInOut:rw,easeOut:Iz,circIn:ty,circInOut:iw,circOut:nw,backIn:ey,backInOut:ew,backOut:J2,anticipate:tw},Kz=e=>typeof e=="string",bx=e=>{if(aw(e)){Qg(e.length===4);const[t,i,a,o]=e;return Il(t,i,a,o)}else if(Kz(e))return qz[e];return e},yc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Gz(e,t){let i=new Set,a=new Set,o=!1,l=!1;const c=new WeakSet;let f={delta:0,timestamp:0,isProcessing:!1};function h(g){c.has(g)&&(p.schedule(g),e()),g(f)}const p={schedule:(g,y=!1,v=!1)=>{const S=v&&o?i:a;return y&&c.add(g),S.has(g)||S.add(g),g},cancel:g=>{a.delete(g),c.delete(g)},process:g=>{if(f=g,o){l=!0;return}o=!0,[i,a]=[a,i],i.forEach(h),i.clear(),o=!1,l&&(l=!1,p.process(g))}};return p}const Yz=40;function sw(e,t){let i=!1,a=!0;const o={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,c=yc.reduce((R,w)=>(R[w]=Gz(l),R),{}),{setup:f,read:h,resolveKeyframes:p,preUpdate:g,update:y,preRender:v,render:x,postRender:S}=c,C=()=>{const R=ur.useManualTiming?o.timestamp:performance.now();i=!1,ur.useManualTiming||(o.delta=a?1e3/60:Math.max(Math.min(R-o.timestamp,Yz),1)),o.timestamp=R,o.isProcessing=!0,f.process(o),h.process(o),p.process(o),g.process(o),y.process(o),v.process(o),x.process(o),S.process(o),o.isProcessing=!1,i&&t&&(a=!1,e(C))},T=()=>{i=!0,a=!0,o.isProcessing||e(C)};return{schedule:yc.reduce((R,w)=>{const M=c[w];return R[w]=(L,P=!1,U=!1)=>(i||T(),M.schedule(L,P,U)),R},{}),cancel:R=>{for(let w=0;w<yc.length;w++)c[yc[w]].cancel(R)},state:o,steps:c}}const{schedule:vt,cancel:Vr,state:an,steps:kp}=sw(typeof requestAnimationFrame<"u"?requestAnimationFrame:ii,!0);let Lc;function Xz(){Lc=void 0}const wn={now:()=>(Lc===void 0&&wn.set(an.isProcessing||ur.useManualTiming?an.timestamp:performance.now()),Lc),set:e=>{Lc=e,queueMicrotask(Xz)}},ow=e=>t=>typeof t=="string"&&t.startsWith(e),ny=ow("--"),Wz=ow("var(--"),iy=e=>Wz(e)?Qz.test(e.split("/*")[0].trim()):!1,Qz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Gs={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},bl={...Gs,transform:e=>lr(0,1,e)},vc={...Gs,default:1},ll=e=>Math.round(e*1e5)/1e5,ry=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Zz(e){return e==null}const Jz=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ay=(e,t)=>i=>!!(typeof i=="string"&&Jz.test(i)&&i.startsWith(e)||t&&!Zz(i)&&Object.prototype.hasOwnProperty.call(i,t)),lw=(e,t,i)=>a=>{if(typeof a!="string")return a;const[o,l,c,f]=a.match(ry);return{[e]:parseFloat(o),[t]:parseFloat(l),[i]:parseFloat(c),alpha:f!==void 0?parseFloat(f):1}},ek=e=>lr(0,255,e),Pp={...Gs,transform:e=>Math.round(ek(e))},ba={test:ay("rgb","red"),parse:lw("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:a=1})=>"rgba("+Pp.transform(e)+", "+Pp.transform(t)+", "+Pp.transform(i)+", "+ll(bl.transform(a))+")"};function tk(e){let t="",i="",a="",o="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),a=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),a=e.substring(3,4),o=e.substring(4,5),t+=t,i+=i,a+=a,o+=o),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(a,16),alpha:o?parseInt(o,16)/255:1}}const Nm={test:ay("#"),parse:tk,transform:ba.transform},Fl=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Pr=Fl("deg"),zi=Fl("%"),we=Fl("px"),nk=Fl("vh"),ik=Fl("vw"),Sx={...zi,parse:e=>zi.parse(e)/100,transform:e=>zi.transform(e*100)},Es={test:ay("hsl","hue"),parse:lw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:a=1})=>"hsla("+Math.round(e)+", "+zi.transform(ll(t))+", "+zi.transform(ll(i))+", "+ll(bl.transform(a))+")"},Ut={test:e=>ba.test(e)||Nm.test(e)||Es.test(e),parse:e=>ba.test(e)?ba.parse(e):Es.test(e)?Es.parse(e):Nm.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ba.transform(e):Es.transform(e),getAnimatableNone:e=>{const t=Ut.parse(e);return t.alpha=0,Ut.transform(t)}},rk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ak(e){return isNaN(e)&&typeof e=="string"&&(e.match(ry)?.length||0)+(e.match(rk)?.length||0)>0}const uw="number",cw="color",sk="var",ok="var(",xx="${}",lk=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Sl(e){const t=e.toString(),i=[],a={color:[],number:[],var:[]},o=[];let l=0;const f=t.replace(lk,h=>(Ut.test(h)?(a.color.push(l),o.push(cw),i.push(Ut.parse(h))):h.startsWith(ok)?(a.var.push(l),o.push(sk),i.push(h)):(a.number.push(l),o.push(uw),i.push(parseFloat(h))),++l,xx)).split(xx);return{values:i,split:f,indexes:a,types:o}}function fw(e){return Sl(e).values}function dw(e){const{split:t,types:i}=Sl(e),a=t.length;return o=>{let l="";for(let c=0;c<a;c++)if(l+=t[c],o[c]!==void 0){const f=i[c];f===uw?l+=ll(o[c]):f===cw?l+=Ut.transform(o[c]):l+=o[c]}return l}}const uk=e=>typeof e=="number"?0:Ut.test(e)?Ut.getAnimatableNone(e):e;function ck(e){const t=fw(e);return dw(e)(t.map(uk))}const $r={test:ak,parse:fw,createTransformer:dw,getAnimatableNone:ck};function jp(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function fk({hue:e,saturation:t,lightness:i,alpha:a}){e/=360,t/=100,i/=100;let o=0,l=0,c=0;if(!t)o=l=c=i;else{const f=i<.5?i*(1+t):i+t-i*t,h=2*i-f;o=jp(h,f,e+1/3),l=jp(h,f,e),c=jp(h,f,e-1/3)}return{red:Math.round(o*255),green:Math.round(l*255),blue:Math.round(c*255),alpha:a}}function Wc(e,t){return i=>i>0?t:e}const xt=(e,t,i)=>e+(t-e)*i,Bp=(e,t,i)=>{const a=e*e,o=i*(t*t-a)+a;return o<0?0:Math.sqrt(o)},dk=[Nm,ba,Es],hk=e=>dk.find(t=>t.test(e));function Cx(e){const t=hk(e);if(!t)return!1;let i=t.parse(e);return t===Es&&(i=fk(i)),i}const Tx=(e,t)=>{const i=Cx(e),a=Cx(t);if(!i||!a)return Wc(e,t);const o={...i};return l=>(o.red=Bp(i.red,a.red,l),o.green=Bp(i.green,a.green,l),o.blue=Bp(i.blue,a.blue,l),o.alpha=xt(i.alpha,a.alpha,l),ba.transform(o))},Lm=new Set(["none","hidden"]);function pk(e,t){return Lm.has(e)?i=>i<=0?e:t:i=>i>=1?t:e}function mk(e,t){return i=>xt(e,t,i)}function sy(e){return typeof e=="number"?mk:typeof e=="string"?iy(e)?Wc:Ut.test(e)?Tx:vk:Array.isArray(e)?hw:typeof e=="object"?Ut.test(e)?Tx:gk:Wc}function hw(e,t){const i=[...e],a=i.length,o=e.map((l,c)=>sy(l)(l,t[c]));return l=>{for(let c=0;c<a;c++)i[c]=o[c](l);return i}}function gk(e,t){const i={...e,...t},a={};for(const o in i)e[o]!==void 0&&t[o]!==void 0&&(a[o]=sy(e[o])(e[o],t[o]));return o=>{for(const l in a)i[l]=a[l](o);return i}}function yk(e,t){const i=[],a={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const l=t.types[o],c=e.indexes[l][a[l]],f=e.values[c]??0;i[o]=f,a[l]++}return i}const vk=(e,t)=>{const i=$r.createTransformer(t),a=Sl(e),o=Sl(t);return a.indexes.var.length===o.indexes.var.length&&a.indexes.color.length===o.indexes.color.length&&a.indexes.number.length>=o.indexes.number.length?Lm.has(e)&&!o.values.length||Lm.has(t)&&!a.values.length?pk(e,t):Hl(hw(yk(a,o),o.values),i):Wc(e,t)};function pw(e,t,i){return typeof e=="number"&&typeof t=="number"&&typeof i=="number"?xt(e,t,i):sy(e)(e,t)}const bk=e=>{const t=({timestamp:i})=>e(i);return{start:(i=!0)=>vt.update(t,i),stop:()=>Vr(t),now:()=>an.isProcessing?an.timestamp:wn.now()}},mw=(e,t,i=10)=>{let a="";const o=Math.max(Math.round(t/i),2);for(let l=0;l<o;l++)a+=Math.round(e(l/(o-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`},Qc=2e4;function oy(e){let t=0;const i=50;let a=e.next(t);for(;!a.done&&t<Qc;)t+=i,a=e.next(t);return t>=Qc?1/0:t}function Sk(e,t=100,i){const a=i({...e,keyframes:[0,t]}),o=Math.min(oy(a),Qc);return{type:"keyframes",ease:l=>a.next(o*l).value/t,duration:ni(o)}}const xk=5;function gw(e,t,i){const a=Math.max(t-xk,0);return X2(i-e(a),t-a)}const Rt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Up=.001;function Ck({duration:e=Rt.duration,bounce:t=Rt.bounce,velocity:i=Rt.velocity,mass:a=Rt.mass}){let o,l,c=1-t;c=lr(Rt.minDamping,Rt.maxDamping,c),e=lr(Rt.minDuration,Rt.maxDuration,ni(e)),c<1?(o=p=>{const g=p*c,y=g*e,v=g-i,x=zm(p,c),S=Math.exp(-y);return Up-v/x*S},l=p=>{const y=p*c*e,v=y*i+i,x=Math.pow(c,2)*Math.pow(p,2)*e,S=Math.exp(-y),C=zm(Math.pow(p,2),c);return(-o(p)+Up>0?-1:1)*((v-x)*S)/C}):(o=p=>{const g=Math.exp(-p*e),y=(p-i)*e+1;return-Up+g*y},l=p=>{const g=Math.exp(-p*e),y=(i-p)*(e*e);return g*y});const f=5/e,h=wk(o,l,f);if(e=Li(e),isNaN(h))return{stiffness:Rt.stiffness,damping:Rt.damping,duration:e};{const p=Math.pow(h,2)*a;return{stiffness:p,damping:c*2*Math.sqrt(a*p),duration:e}}}const Tk=12;function wk(e,t,i){let a=i;for(let o=1;o<Tk;o++)a=a-e(a)/t(a);return a}function zm(e,t){return e*Math.sqrt(1-t*t)}const Ek=["duration","bounce"],Ak=["stiffness","damping","mass"];function wx(e,t){return t.some(i=>e[i]!==void 0)}function Rk(e){let t={velocity:Rt.velocity,stiffness:Rt.stiffness,damping:Rt.damping,mass:Rt.mass,isResolvedFromDuration:!1,...e};if(!wx(e,Ak)&&wx(e,Ek))if(e.visualDuration){const i=e.visualDuration,a=2*Math.PI/(i*1.2),o=a*a,l=2*lr(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:Rt.mass,stiffness:o,damping:l}}else{const i=Ck(e);t={...t,...i,mass:Rt.mass},t.isResolvedFromDuration=!0}return t}function Zc(e=Rt.visualDuration,t=Rt.bounce){const i=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:a,restDelta:o}=i;const l=i.keyframes[0],c=i.keyframes[i.keyframes.length-1],f={done:!1,value:l},{stiffness:h,damping:p,mass:g,duration:y,velocity:v,isResolvedFromDuration:x}=Rk({...i,velocity:-ni(i.velocity||0)}),S=v||0,C=p/(2*Math.sqrt(h*g)),T=c-l,D=ni(Math.sqrt(h/g)),N=Math.abs(T)<5;a||(a=N?Rt.restSpeed.granular:Rt.restSpeed.default),o||(o=N?Rt.restDelta.granular:Rt.restDelta.default);let R;if(C<1){const M=zm(D,C);R=L=>{const P=Math.exp(-C*D*L);return c-P*((S+C*D*T)/M*Math.sin(M*L)+T*Math.cos(M*L))}}else if(C===1)R=M=>c-Math.exp(-D*M)*(T+(S+D*T)*M);else{const M=D*Math.sqrt(C*C-1);R=L=>{const P=Math.exp(-C*D*L),U=Math.min(M*L,300);return c-P*((S+C*D*T)*Math.sinh(U)+M*T*Math.cosh(U))/M}}const w={calculatedDuration:x&&y||null,next:M=>{const L=R(M);if(x)f.done=M>=y;else{let P=M===0?S:0;C<1&&(P=M===0?Li(S):gw(R,M,L));const U=Math.abs(P)<=a,G=Math.abs(c-L)<=o;f.done=U&&G}return f.value=f.done?c:L,f},toString:()=>{const M=Math.min(oy(w),Qc),L=mw(P=>w.next(M*P).value,M,30);return M+"ms "+L},toTransition:()=>{}};return w}Zc.applyToOptions=e=>{const t=Sk(e,100,Zc);return e.ease=t.ease,e.duration=Li(t.duration),e.type="keyframes",e};function km({keyframes:e,velocity:t=0,power:i=.8,timeConstant:a=325,bounceDamping:o=10,bounceStiffness:l=500,modifyTarget:c,min:f,max:h,restDelta:p=.5,restSpeed:g}){const y=e[0],v={done:!1,value:y},x=U=>f!==void 0&&U<f||h!==void 0&&U>h,S=U=>f===void 0?h:h===void 0||Math.abs(f-U)<Math.abs(h-U)?f:h;let C=i*t;const T=y+C,D=c===void 0?T:c(T);D!==T&&(C=D-y);const N=U=>-C*Math.exp(-U/a),R=U=>D+N(U),w=U=>{const G=N(U),Q=R(U);v.done=Math.abs(G)<=p,v.value=v.done?D:Q};let M,L;const P=U=>{x(v.value)&&(M=U,L=Zc({keyframes:[v.value,S(v.value)],velocity:gw(R,U,v.value),damping:o,stiffness:l,restDelta:p,restSpeed:g}))};return P(0),{calculatedDuration:null,next:U=>{let G=!1;return!L&&M===void 0&&(G=!0,w(U),P(U)),M!==void 0&&U>=M?L.next(U-M):(!G&&w(U),v)}}}function Ok(e,t,i){const a=[],o=i||ur.mix||pw,l=e.length-1;for(let c=0;c<l;c++){let f=o(e[c],e[c+1]);if(t){const h=Array.isArray(t)?t[c]||ii:t;f=Hl(h,f)}a.push(f)}return a}function Mk(e,t,{clamp:i=!0,ease:a,mixer:o}={}){const l=e.length;if(Qg(l===t.length),l===1)return()=>t[0];if(l===2&&t[0]===t[1])return()=>t[1];const c=e[0]===e[1];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());const f=Ok(t,a,o),h=f.length,p=g=>{if(c&&g<e[0])return t[0];let y=0;if(h>1)for(;y<e.length-2&&!(g<e[y+1]);y++);const v=vl(e[y],e[y+1],g);return f[y](v)};return i?g=>p(lr(e[0],e[l-1],g)):p}function Dk(e,t){const i=e[e.length-1];for(let a=1;a<=t;a++){const o=vl(0,t,a);e.push(xt(i,1,o))}}function _k(e){const t=[0];return Dk(t,e.length-1),t}function Nk(e,t){return e.map(i=>i*t)}function Lk(e,t){return e.map(()=>t||rw).splice(0,e.length-1)}function ul({duration:e=300,keyframes:t,times:i,ease:a="easeInOut"}){const o=Fz(a)?a.map(bx):bx(a),l={done:!1,value:t[0]},c=Nk(i&&i.length===t.length?i:_k(t),e),f=Mk(c,t,{ease:Array.isArray(o)?o:Lk(t,o)});return{calculatedDuration:e,next:h=>(l.value=f(h),l.done=h>=e,l)}}const zk=e=>e!==null;function ly(e,{repeat:t,repeatType:i="loop"},a,o=1){const l=e.filter(zk),f=o<0||t&&i!=="loop"&&t%2===1?0:l.length-1;return!f||a===void 0?l[f]:a}const kk={decay:km,inertia:km,tween:ul,keyframes:ul,spring:Zc};function yw(e){typeof e.type=="string"&&(e.type=kk[e.type])}class uy{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,i){return this.finished.then(t,i)}}const Pk=e=>e/100;class cy extends uy{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==wn.now()&&this.tick(wn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;yw(t);const{type:i=ul,repeat:a=0,repeatDelay:o=0,repeatType:l,velocity:c=0}=t;let{keyframes:f}=t;const h=i||ul;h!==ul&&typeof f[0]!="number"&&(this.mixKeyframes=Hl(Pk,pw(f[0],f[1])),f=[0,100]);const p=h({...t,keyframes:f});l==="mirror"&&(this.mirroredGenerator=h({...t,keyframes:[...f].reverse(),velocity:-c})),p.calculatedDuration===null&&(p.calculatedDuration=oy(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+o,this.totalDuration=this.resolvedDuration*(a+1)-o,this.generator=p}updateTime(t){const i=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(t,i=!1){const{generator:a,totalDuration:o,mixKeyframes:l,mirroredGenerator:c,resolvedDuration:f,calculatedDuration:h}=this;if(this.startTime===null)return a.next(0);const{delay:p=0,keyframes:g,repeat:y,repeatType:v,repeatDelay:x,type:S,onUpdate:C,finalKeyframe:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),i?this.currentTime=t:this.updateTime(t);const D=this.currentTime-p*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?D<0:D>o;this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let R=this.currentTime,w=a;if(y){const U=Math.min(this.currentTime,o)/f;let G=Math.floor(U),Q=U%1;!Q&&U>=1&&(Q=1),Q===1&&G--,G=Math.min(G,y+1),!!(G%2)&&(v==="reverse"?(Q=1-Q,x&&(Q-=x/f)):v==="mirror"&&(w=c)),R=lr(0,1,Q)*f}const M=N?{done:!1,value:g[0]}:w.next(R);l&&(M.value=l(M.value));let{done:L}=M;!N&&h!==null&&(L=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return P&&S!==km&&(M.value=ly(g,this.options,T,this.speed)),C&&C(M.value),P&&this.finish(),M}then(t,i){return this.finished.then(t,i)}get duration(){return ni(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ni(t)}get time(){return ni(this.currentTime)}set time(t){t=Li(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(wn.now());const i=this.playbackSpeed!==t;this.playbackSpeed=t,i&&(this.time=ni(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=bk,startTime:i}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();const a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=i??a),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(wn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function jk(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Sa=e=>e*180/Math.PI,Pm=e=>{const t=Sa(Math.atan2(e[1],e[0]));return jm(t)},Bk={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Pm,rotateZ:Pm,skewX:e=>Sa(Math.atan(e[1])),skewY:e=>Sa(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},jm=e=>(e=e%360,e<0&&(e+=360),e),Ex=Pm,Ax=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Rx=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Uk={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ax,scaleY:Rx,scale:e=>(Ax(e)+Rx(e))/2,rotateX:e=>jm(Sa(Math.atan2(e[6],e[5]))),rotateY:e=>jm(Sa(Math.atan2(-e[2],e[0]))),rotateZ:Ex,rotate:Ex,skewX:e=>Sa(Math.atan(e[4])),skewY:e=>Sa(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Bm(e){return e.includes("scale")?1:0}function Um(e,t){if(!e||e==="none")return Bm(t);const i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let a,o;if(i)a=Uk,o=i;else{const f=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=Bk,o=f}if(!o)return Bm(t);const l=a[t],c=o[1].split(",").map($k);return typeof l=="function"?l(c):c[l]}const Vk=(e,t)=>{const{transform:i="none"}=getComputedStyle(e);return Um(i,t)};function $k(e){return parseFloat(e.trim())}const Ys=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xs=new Set(Ys),Ox=e=>e===Gs||e===we,Hk=new Set(["x","y","z"]),Ik=Ys.filter(e=>!Hk.has(e));function Fk(e){const t=[];return Ik.forEach(i=>{const a=e.getValue(i);a!==void 0&&(t.push([i,a.get()]),a.set(i.startsWith("scale")?1:0))}),t}const wa={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Um(t,"x"),y:(e,{transform:t})=>Um(t,"y")};wa.translateX=wa.x;wa.translateY=wa.y;const Ea=new Set;let Vm=!1,$m=!1,Hm=!1;function vw(){if($m){const e=Array.from(Ea).filter(a=>a.needsMeasurement),t=new Set(e.map(a=>a.element)),i=new Map;t.forEach(a=>{const o=Fk(a);o.length&&(i.set(a,o),a.render())}),e.forEach(a=>a.measureInitialState()),t.forEach(a=>{a.render();const o=i.get(a);o&&o.forEach(([l,c])=>{a.getValue(l)?.set(c)})}),e.forEach(a=>a.measureEndState()),e.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}$m=!1,Vm=!1,Ea.forEach(e=>e.complete(Hm)),Ea.clear()}function bw(){Ea.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&($m=!0)})}function qk(){Hm=!0,bw(),vw(),Hm=!1}class fy{constructor(t,i,a,o,l,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=i,this.name=a,this.motionValue=o,this.element=l,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(Ea.add(this),Vm||(Vm=!0,vt.read(bw),vt.resolveKeyframes(vw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:i,element:a,motionValue:o}=this;if(t[0]===null){const l=o?.get(),c=t[t.length-1];if(l!==void 0)t[0]=l;else if(a&&i){const f=a.readValue(i,c);f!=null&&(t[0]=f)}t[0]===void 0&&(t[0]=c),o&&l===void 0&&o.set(t[0])}jk(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Ea.delete(this)}cancel(){this.state==="scheduled"&&(Ea.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Kk=e=>e.startsWith("--");function Gk(e,t,i){Kk(t)?e.style.setProperty(t,i):e.style[t]=i}const Yk=Zg(()=>window.ScrollTimeline!==void 0),Xk={};function Wk(e,t){const i=Zg(e);return()=>Xk[t]??i()}const Sw=Wk(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),il=([e,t,i,a])=>`cubic-bezier(${e}, ${t}, ${i}, ${a})`,Mx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:il([0,.65,.55,1]),circOut:il([.55,0,1,.45]),backIn:il([.31,.01,.66,-.59]),backOut:il([.33,1.53,.69,.99])};function xw(e,t){if(e)return typeof e=="function"?Sw()?mw(e,t):"ease-out":aw(e)?il(e):Array.isArray(e)?e.map(i=>xw(i,t)||Mx.easeOut):Mx[e]}function Qk(e,t,i,{delay:a=0,duration:o=300,repeat:l=0,repeatType:c="loop",ease:f="easeOut",times:h}={},p=void 0){const g={[t]:i};h&&(g.offset=h);const y=xw(f,o);Array.isArray(y)&&(g.easing=y);const v={delay:a,duration:o,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:l+1,direction:c==="reverse"?"alternate":"normal"};return p&&(v.pseudoElement=p),e.animate(g,v)}function Cw(e){return typeof e=="function"&&"applyToOptions"in e}function Zk({type:e,...t}){return Cw(e)&&Sw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Jk extends uy{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:i,name:a,keyframes:o,pseudoElement:l,allowFlatten:c=!1,finalKeyframe:f,onComplete:h}=t;this.isPseudoElement=!!l,this.allowFlatten=c,this.options=t,Qg(typeof t.type!="string");const p=Zk(t);this.animation=Qk(i,a,o,p,l),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!l){const g=ly(o,this.options,f,this.speed);this.updateMotionValue?this.updateMotionValue(g):Gk(i,a,g),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return ni(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ni(t)}get time(){return ni(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Li(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&Yk()?(this.animation.timeline=t,ii):i(this)}}const Tw={anticipate:tw,backInOut:ew,circInOut:iw};function eP(e){return e in Tw}function tP(e){typeof e.ease=="string"&&eP(e.ease)&&(e.ease=Tw[e.ease])}const Dx=10;class nP extends Jk{constructor(t){tP(t),yw(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:i,onUpdate:a,onComplete:o,element:l,...c}=this.options;if(!i)return;if(t!==void 0){i.set(t);return}const f=new cy({...c,autoplay:!1}),h=Li(this.finishedTime??this.time);i.setWithVelocity(f.sample(h-Dx).value,f.sample(h).value,Dx),f.stop()}}const _x=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&($r.test(e)||e==="0")&&!e.startsWith("url("));function iP(e){const t=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}function rP(e,t,i,a){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const l=e[e.length-1],c=_x(o,t),f=_x(l,t);return!c||!f?!1:iP(e)||(i==="spring"||Cw(i))&&a}function Im(e){e.duration=0,e.type="keyframes"}const aP=new Set(["opacity","clipPath","filter","transform"]),sP=Zg(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function oP(e){const{motionValue:t,name:i,repeatDelay:a,repeatType:o,damping:l,type:c}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:p}=t.owner.getProps();return sP()&&i&&aP.has(i)&&(i!=="transform"||!p)&&!h&&!a&&o!=="mirror"&&l!==0&&c!=="inertia"}const lP=40;class uP extends uy{constructor({autoplay:t=!0,delay:i=0,type:a="keyframes",repeat:o=0,repeatDelay:l=0,repeatType:c="loop",keyframes:f,name:h,motionValue:p,element:g,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=wn.now();const v={autoplay:t,delay:i,type:a,repeat:o,repeatDelay:l,repeatType:c,name:h,motionValue:p,element:g,...y},x=g?.KeyframeResolver||fy;this.keyframeResolver=new x(f,(S,C,T)=>this.onKeyframesResolved(S,C,v,!T),h,p,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,i,a,o){this.keyframeResolver=void 0;const{name:l,type:c,velocity:f,delay:h,isHandoff:p,onUpdate:g}=a;this.resolvedAt=wn.now(),rP(t,l,c,f)||((ur.instantAnimations||!h)&&g?.(ly(t,a,i)),t[0]=t[t.length-1],Im(a),a.repeat=0);const v={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>lP?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...a,keyframes:t},x=!p&&oP(v)?new nP({...v,element:v.motionValue.owner.current}):new cy(v);x.finished.then(()=>this.notifyFinished()).catch(ii),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}get finished(){return this._animation?this.animation.finished:this._finished}then(t,i){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),qk()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const cP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function fP(e){const t=cP.exec(e);if(!t)return[,];const[,i,a,o]=t;return[`--${i??a}`,o]}function ww(e,t,i=1){const[a,o]=fP(e);if(!a)return;const l=window.getComputedStyle(t).getPropertyValue(a);if(l){const c=l.trim();return K2(c)?parseFloat(c):c}return iy(o)?ww(o,t,i+1):o}function dy(e,t){return e?.[t]??e?.default??e}const Ew=new Set(["width","height","top","left","right","bottom",...Ys]),dP={test:e=>e==="auto",parse:e=>e},Aw=e=>t=>t.test(e),Rw=[Gs,we,zi,Pr,ik,nk,dP],Nx=e=>Rw.find(Aw(e));function hP(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Y2(e):!0}const pP=new Set(["brightness","contrast","saturate","opacity"]);function mP(e){const[t,i]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[a]=i.match(ry)||[];if(!a)return e;const o=i.replace(a,"");let l=pP.has(t)?1:0;return a!==i&&(l*=100),t+"("+l+o+")"}const gP=/\b([a-z-]*)\(.*?\)/gu,Fm={...$r,getAnimatableNone:e=>{const t=e.match(gP);return t?t.map(mP).join(" "):e}},Lx={...Gs,transform:Math.round},yP={rotate:Pr,rotateX:Pr,rotateY:Pr,rotateZ:Pr,scale:vc,scaleX:vc,scaleY:vc,scaleZ:vc,skew:Pr,skewX:Pr,skewY:Pr,distance:we,translateX:we,translateY:we,translateZ:we,x:we,y:we,z:we,perspective:we,transformPerspective:we,opacity:bl,originX:Sx,originY:Sx,originZ:we},hy={borderWidth:we,borderTopWidth:we,borderRightWidth:we,borderBottomWidth:we,borderLeftWidth:we,borderRadius:we,radius:we,borderTopLeftRadius:we,borderTopRightRadius:we,borderBottomRightRadius:we,borderBottomLeftRadius:we,width:we,maxWidth:we,height:we,maxHeight:we,top:we,right:we,bottom:we,left:we,padding:we,paddingTop:we,paddingRight:we,paddingBottom:we,paddingLeft:we,margin:we,marginTop:we,marginRight:we,marginBottom:we,marginLeft:we,backgroundPositionX:we,backgroundPositionY:we,...yP,zIndex:Lx,fillOpacity:bl,strokeOpacity:bl,numOctaves:Lx},vP={...hy,color:Ut,backgroundColor:Ut,outlineColor:Ut,fill:Ut,stroke:Ut,borderColor:Ut,borderTopColor:Ut,borderRightColor:Ut,borderBottomColor:Ut,borderLeftColor:Ut,filter:Fm,WebkitFilter:Fm},Ow=e=>vP[e];function Mw(e,t){let i=Ow(e);return i!==Fm&&(i=$r),i.getAnimatableNone?i.getAnimatableNone(t):void 0}const bP=new Set(["auto","none","0"]);function SP(e,t,i){let a=0,o;for(;a<e.length&&!o;){const l=e[a];typeof l=="string"&&!bP.has(l)&&Sl(l).values.length&&(o=e[a]),a++}if(o&&i)for(const l of t)e[l]=Mw(i,o)}class xP extends fy{constructor(t,i,a,o,l){super(t,i,a,o,l,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:i,name:a}=this;if(!i||!i.current)return;super.readKeyframes();for(let h=0;h<t.length;h++){let p=t[h];if(typeof p=="string"&&(p=p.trim(),iy(p))){const g=ww(p,i.current);g!==void 0&&(t[h]=g),h===t.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!Ew.has(a)||t.length!==2)return;const[o,l]=t,c=Nx(o),f=Nx(l);if(c!==f)if(Ox(c)&&Ox(f))for(let h=0;h<t.length;h++){const p=t[h];typeof p=="string"&&(t[h]=parseFloat(p))}else wa[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:i}=this,a=[];for(let o=0;o<t.length;o++)(t[o]===null||hP(t[o]))&&a.push(o);a.length&&SP(t,a,i)}measureInitialState(){const{element:t,unresolvedKeyframes:i,name:a}=this;if(!t||!t.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=wa[a](t.measureViewportBox(),window.getComputedStyle(t.current)),i[0]=this.measuredOrigin;const o=i[i.length-1];o!==void 0&&t.getValue(a,o).jump(o,!1)}measureEndState(){const{element:t,name:i,unresolvedKeyframes:a}=this;if(!t||!t.current)return;const o=t.getValue(i);o&&o.jump(this.measuredOrigin,!1);const l=a.length-1,c=a[l];a[l]=wa[i](t.measureViewportBox(),window.getComputedStyle(t.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),this.removedTransforms?.length&&this.removedTransforms.forEach(([f,h])=>{t.getValue(f).set(h)}),this.resolveNoneKeyframes()}}function CP(e,t,i){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let a=document;const o=i?.[e]??a.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}const Dw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function _w(e){return G2(e)&&"offsetHeight"in e}const zx=30,TP=e=>!isNaN(parseFloat(e));class wP{constructor(t,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{const o=wn.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const l of this.dependents)l.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=i.owner}setCurrent(t){this.current=t,this.updatedAt=wn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=TP(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new Jg);const a=this.events[t].add(i);return t==="change"?()=>{a(),vt.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,i){this.passiveEffect=t,this.stopPassiveEffect=i}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,i,a){this.set(i),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-a}jump(t,i=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=wn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>zx)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,zx);return X2(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(t){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=t(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function js(e,t){return new wP(e,t)}const{schedule:py}=sw(queueMicrotask,!1),hi={x:!1,y:!1};function Nw(){return hi.x||hi.y}function EP(e){return e==="x"||e==="y"?hi[e]?null:(hi[e]=!0,()=>{hi[e]=!1}):hi.x||hi.y?null:(hi.x=hi.y=!0,()=>{hi.x=hi.y=!1})}function Lw(e,t){const i=CP(e),a=new AbortController,o={passive:!0,...t,signal:a.signal};return[i,o,()=>a.abort()]}function kx(e){return!(e.pointerType==="touch"||Nw())}function AP(e,t,i={}){const[a,o,l]=Lw(e,i),c=f=>{if(!kx(f))return;const{target:h}=f,p=t(h,f);if(typeof p!="function"||!h)return;const g=y=>{kx(y)&&(p(y),h.removeEventListener("pointerleave",g))};h.addEventListener("pointerleave",g,o)};return a.forEach(f=>{f.addEventListener("pointerenter",c,o)}),l}const zw=(e,t)=>t?e===t?!0:zw(e,t.parentElement):!1,my=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,RP=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function OP(e){return RP.has(e.tagName)||e.tabIndex!==-1}const zc=new WeakSet;function Px(e){return t=>{t.key==="Enter"&&e(t)}}function Vp(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const MP=(e,t)=>{const i=e.currentTarget;if(!i)return;const a=Px(()=>{if(zc.has(i))return;Vp(i,"down");const o=Px(()=>{Vp(i,"up")}),l=()=>Vp(i,"cancel");i.addEventListener("keyup",o,t),i.addEventListener("blur",l,t)});i.addEventListener("keydown",a,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",a),t)};function jx(e){return my(e)&&!Nw()}function DP(e,t,i={}){const[a,o,l]=Lw(e,i),c=f=>{const h=f.currentTarget;if(!jx(f))return;zc.add(h);const p=t(h,f),g=(x,S)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",v),zc.has(h)&&zc.delete(h),jx(x)&&typeof p=="function"&&p(x,{success:S})},y=x=>{g(x,h===window||h===document||i.useGlobalTarget||zw(h,x.target))},v=x=>{g(x,!1)};window.addEventListener("pointerup",y,o),window.addEventListener("pointercancel",v,o)};return a.forEach(f=>{(i.useGlobalTarget?window:f).addEventListener("pointerdown",c,o),_w(f)&&(f.addEventListener("focus",p=>MP(p,o)),!OP(f)&&!f.hasAttribute("tabindex")&&(f.tabIndex=0))}),l}function kw(e){return G2(e)&&"ownerSVGElement"in e}function _P(e){return kw(e)&&e.tagName==="svg"}const dn=e=>!!(e&&e.getVelocity),NP=[...Rw,Ut,$r],LP=e=>NP.find(Aw(e)),gy=A.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Bx(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function zP(...e){return t=>{let i=!1;const a=e.map(o=>{const l=Bx(o,t);return!i&&typeof l=="function"&&(i=!0),l});if(i)return()=>{for(let o=0;o<a.length;o++){const l=a[o];typeof l=="function"?l():Bx(e[o],null)}}}}function kP(...e){return A.useCallback(zP(...e),e)}class PP extends A.Component{getSnapshotBeforeUpdate(t){const i=this.props.childRef.current;if(i&&t.isPresent&&!this.props.isPresent){const a=i.offsetParent,o=_w(a)&&a.offsetWidth||0,l=this.props.sizeRef.current;l.height=i.offsetHeight||0,l.width=i.offsetWidth||0,l.top=i.offsetTop,l.left=i.offsetLeft,l.right=o-l.width-l.left}return null}componentDidUpdate(){}render(){return this.props.children}}function jP({children:e,isPresent:t,anchorX:i,root:a}){const o=A.useId(),l=A.useRef(null),c=A.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:f}=A.useContext(gy),h=kP(l,e?.ref);return A.useInsertionEffect(()=>{const{width:p,height:g,top:y,left:v,right:x}=c.current;if(t||!l.current||!p||!g)return;const S=i==="left"?`left: ${v}`:`right: ${x}`;l.current.dataset.motionPopId=o;const C=document.createElement("style");f&&(C.nonce=f);const T=a??document.head;return T.appendChild(C),C.sheet&&C.sheet.insertRule(`
|
|
151
|
-
[data-motion-pop-id="${o}"] {
|
|
152
|
-
position: absolute !important;
|
|
153
|
-
width: ${p}px !important;
|
|
154
|
-
height: ${g}px !important;
|
|
155
|
-
${S}px !important;
|
|
156
|
-
top: ${y}px !important;
|
|
157
|
-
}
|
|
158
|
-
`),()=>{T.contains(C)&&T.removeChild(C)}},[t]),_.jsx(PP,{isPresent:t,childRef:l,sizeRef:c,children:A.cloneElement(e,{ref:h})})}const BP=({children:e,initial:t,isPresent:i,onExitComplete:a,custom:o,presenceAffectsLayout:l,mode:c,anchorX:f,root:h})=>{const p=Gg(UP),g=A.useId();let y=!0,v=A.useMemo(()=>(y=!1,{id:g,initial:t,isPresent:i,custom:o,onExitComplete:x=>{p.set(x,!0);for(const S of p.values())if(!S)return;a&&a()},register:x=>(p.set(x,!1),()=>p.delete(x))}),[i,p,a]);return l&&y&&(v={...v}),A.useMemo(()=>{p.forEach((x,S)=>p.set(S,!1))},[i]),A.useEffect(()=>{!i&&!p.size&&a&&a()},[i]),c==="popLayout"&&(e=_.jsx(jP,{isPresent:i,anchorX:f,root:h,children:e})),_.jsx($f.Provider,{value:v,children:e})};function UP(){return new Map}function Pw(e=!0){const t=A.useContext($f);if(t===null)return[!0,null];const{isPresent:i,onExitComplete:a,register:o}=t,l=A.useId();A.useEffect(()=>{if(e)return o(l)},[e]);const c=A.useCallback(()=>e&&a&&a(l),[l,a,e]);return!i&&a?[!1,c]:[!0]}const bc=e=>e.key||"";function Ux(e){const t=[];return A.Children.forEach(e,i=>{A.isValidElement(i)&&t.push(i)}),t}const VP=({children:e,custom:t,initial:i=!0,onExitComplete:a,presenceAffectsLayout:o=!0,mode:l="sync",propagate:c=!1,anchorX:f="left",root:h})=>{const[p,g]=Pw(c),y=A.useMemo(()=>Ux(e),[e]),v=c&&!p?[]:y.map(bc),x=A.useRef(!0),S=A.useRef(y),C=Gg(()=>new Map),[T,D]=A.useState(y),[N,R]=A.useState(y);q2(()=>{x.current=!1,S.current=y;for(let L=0;L<N.length;L++){const P=bc(N[L]);v.includes(P)?C.delete(P):C.get(P)!==!0&&C.set(P,!1)}},[N,v.length,v.join("-")]);const w=[];if(y!==T){let L=[...y];for(let P=0;P<N.length;P++){const U=N[P],G=bc(U);v.includes(G)||(L.splice(P,0,U),w.push(U))}return l==="wait"&&w.length&&(L=w),R(Ux(L)),D(y),null}const{forceRender:M}=A.useContext(Kg);return _.jsx(_.Fragment,{children:N.map(L=>{const P=bc(L),U=c&&!p?!1:y===N||v.includes(P),G=()=>{if(C.has(P))C.set(P,!0);else return;let Q=!0;C.forEach(J=>{J||(Q=!1)}),Q&&(M?.(),R(S.current),c&&g?.(),a&&a())};return _.jsx(BP,{isPresent:U,initial:!x.current||i?void 0:!1,custom:t,presenceAffectsLayout:o,mode:l,root:h,onExitComplete:U?void 0:G,anchorX:f,children:L},P)})})},jw=A.createContext({strict:!1}),Vx={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Bs={};for(const e in Vx)Bs[e]={isEnabled:t=>Vx[e].some(i=>!!t[i])};function $P(e){for(const t in e)Bs[t]={...Bs[t],...e[t]}}const HP=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Jc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||HP.has(e)}let Bw=e=>!Jc(e);function IP(e){typeof e=="function"&&(Bw=t=>t.startsWith("on")?!Jc(t):e(t))}try{IP(require("@emotion/is-prop-valid").default)}catch{}function FP(e,t,i){const a={};for(const o in e)o==="values"&&typeof e.values=="object"||(Bw(o)||i===!0&&Jc(o)||!t&&!Jc(o)||e.draggable&&o.startsWith("onDrag"))&&(a[o]=e[o]);return a}const Hf=A.createContext({});function If(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function xl(e){return typeof e=="string"||Array.isArray(e)}const yy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],vy=["initial",...yy];function Ff(e){return If(e.animate)||vy.some(t=>xl(e[t]))}function Uw(e){return!!(Ff(e)||e.variants)}function qP(e,t){if(Ff(e)){const{initial:i,animate:a}=e;return{initial:i===!1||xl(i)?i:void 0,animate:xl(a)?a:void 0}}return e.inherit!==!1?t:{}}function KP(e){const{initial:t,animate:i}=qP(e,A.useContext(Hf));return A.useMemo(()=>({initial:t,animate:i}),[$x(t),$x(i)])}function $x(e){return Array.isArray(e)?e.join(" "):e}const Cl={};function GP(e){for(const t in e)Cl[t]=e[t],ny(t)&&(Cl[t].isCSSVariable=!0)}function Vw(e,{layout:t,layoutId:i}){return Xs.has(e)||e.startsWith("origin")||(t||i!==void 0)&&(!!Cl[e]||e==="opacity")}const YP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},XP=Ys.length;function WP(e,t,i){let a="",o=!0;for(let l=0;l<XP;l++){const c=Ys[l],f=e[c];if(f===void 0)continue;let h=!0;if(typeof f=="number"?h=f===(c.startsWith("scale")?1:0):h=parseFloat(f)===0,!h||i){const p=Dw(f,hy[c]);if(!h){o=!1;const g=YP[c]||c;a+=`${g}(${p}) `}i&&(t[c]=p)}}return a=a.trim(),i?a=i(t,o?"":a):o&&(a="none"),a}function by(e,t,i){const{style:a,vars:o,transformOrigin:l}=e;let c=!1,f=!1;for(const h in t){const p=t[h];if(Xs.has(h)){c=!0;continue}else if(ny(h)){o[h]=p;continue}else{const g=Dw(p,hy[h]);h.startsWith("origin")?(f=!0,l[h]=g):a[h]=g}}if(t.transform||(c||i?a.transform=WP(t,e.transform,i):a.transform&&(a.transform="none")),f){const{originX:h="50%",originY:p="50%",originZ:g=0}=l;a.transformOrigin=`${h} ${p} ${g}`}}const Sy=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $w(e,t,i){for(const a in t)!dn(t[a])&&!Vw(a,i)&&(e[a]=t[a])}function QP({transformTemplate:e},t){return A.useMemo(()=>{const i=Sy();return by(i,t,e),Object.assign({},i.vars,i.style)},[t])}function ZP(e,t){const i=e.style||{},a={};return $w(a,i,e),Object.assign(a,QP(e,t)),a}function JP(e,t){const i={},a=ZP(e,t);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=a,i}const ej={offset:"stroke-dashoffset",array:"stroke-dasharray"},tj={offset:"strokeDashoffset",array:"strokeDasharray"};function nj(e,t,i=1,a=0,o=!0){e.pathLength=1;const l=o?ej:tj;e[l.offset]=we.transform(-a);const c=we.transform(t),f=we.transform(i);e[l.array]=`${c} ${f}`}function Hw(e,{attrX:t,attrY:i,attrScale:a,pathLength:o,pathSpacing:l=1,pathOffset:c=0,...f},h,p,g){if(by(e,f,p),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:v}=e;y.transform&&(v.transform=y.transform,delete y.transform),(v.transform||y.transformOrigin)&&(v.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),v.transform&&(v.transformBox=g?.transformBox??"fill-box",delete y.transformBox),t!==void 0&&(y.x=t),i!==void 0&&(y.y=i),a!==void 0&&(y.scale=a),o!==void 0&&nj(y,o,l,c,!1)}const Iw=()=>({...Sy(),attrs:{}}),Fw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ij(e,t,i,a){const o=A.useMemo(()=>{const l=Iw();return Hw(l,t,Fw(a),e.transformTemplate,e.style),{...l.attrs,style:{...l.style}}},[t]);if(e.style){const l={};$w(l,e.style,e),o.style={...l,...o.style}}return o}const rj=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function xy(e){return typeof e!="string"||e.includes("-")?!1:!!(rj.indexOf(e)>-1||/[A-Z]/u.test(e))}function aj(e,t,i,{latestValues:a},o,l=!1){const f=(xy(e)?ij:JP)(t,a,o,e),h=FP(t,typeof e=="string",l),p=e!==A.Fragment?{...h,...f,ref:i}:{},{children:g}=t,y=A.useMemo(()=>dn(g)?g.get():g,[g]);return A.createElement(e,{...p,children:y})}function Hx(e){const t=[{},{}];return e?.values.forEach((i,a)=>{t[0][a]=i.get(),t[1][a]=i.getVelocity()}),t}function Cy(e,t,i,a){if(typeof t=="function"){const[o,l]=Hx(a);t=t(i!==void 0?i:e.custom,o,l)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,l]=Hx(a);t=t(i!==void 0?i:e.custom,o,l)}return t}function kc(e){return dn(e)?e.get():e}function sj({scrapeMotionValuesFromProps:e,createRenderState:t},i,a,o){return{latestValues:oj(i,a,o,e),renderState:t()}}function oj(e,t,i,a){const o={},l=a(e,{});for(const v in l)o[v]=kc(l[v]);let{initial:c,animate:f}=e;const h=Ff(e),p=Uw(e);t&&p&&!h&&e.inherit!==!1&&(c===void 0&&(c=t.initial),f===void 0&&(f=t.animate));let g=i?i.initial===!1:!1;g=g||c===!1;const y=g?f:c;if(y&&typeof y!="boolean"&&!If(y)){const v=Array.isArray(y)?y:[y];for(let x=0;x<v.length;x++){const S=Cy(e,v[x]);if(S){const{transitionEnd:C,transition:T,...D}=S;for(const N in D){let R=D[N];if(Array.isArray(R)){const w=g?R.length-1:0;R=R[w]}R!==null&&(o[N]=R)}for(const N in C)o[N]=C[N]}}}return o}const qw=e=>(t,i)=>{const a=A.useContext(Hf),o=A.useContext($f),l=()=>sj(e,t,a,o);return i?l():Gg(l)};function Ty(e,t,i){const{style:a}=e,o={};for(const l in a)(dn(a[l])||t.style&&dn(t.style[l])||Vw(l,e)||i?.getValue(l)?.liveStyle!==void 0)&&(o[l]=a[l]);return o}const lj=qw({scrapeMotionValuesFromProps:Ty,createRenderState:Sy});function Kw(e,t,i){const a=Ty(e,t,i);for(const o in e)if(dn(e[o])||dn(t[o])){const l=Ys.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;a[l]=e[o]}return a}const uj=qw({scrapeMotionValuesFromProps:Kw,createRenderState:Iw}),cj=Symbol.for("motionComponentSymbol");function As(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function fj(e,t,i){return A.useCallback(a=>{a&&e.onMount&&e.onMount(a),t&&(a?t.mount(a):t.unmount()),i&&(typeof i=="function"?i(a):As(i)&&(i.current=a))},[t])}const wy=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),dj="framerAppearId",Gw="data-"+wy(dj),Yw=A.createContext({});function hj(e,t,i,a,o){const{visualElement:l}=A.useContext(Hf),c=A.useContext(jw),f=A.useContext($f),h=A.useContext(gy).reducedMotion,p=A.useRef(null);a=a||c.renderer,!p.current&&a&&(p.current=a(e,{visualState:t,parent:l,props:i,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:h}));const g=p.current,y=A.useContext(Yw);g&&!g.projection&&o&&(g.type==="html"||g.type==="svg")&&pj(p.current,i,o,y);const v=A.useRef(!1);A.useInsertionEffect(()=>{g&&v.current&&g.update(i,f)});const x=i[Gw],S=A.useRef(!!x&&!window.MotionHandoffIsComplete?.(x)&&window.MotionHasOptimisedAnimation?.(x));return q2(()=>{g&&(v.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),S.current&&g.animationState&&g.animationState.animateChanges())}),A.useEffect(()=>{g&&(!S.current&&g.animationState&&g.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(x)}),S.current=!1),g.enteringChildren=void 0)}),g}function pj(e,t,i,a){const{layoutId:o,layout:l,drag:c,dragConstraints:f,layoutScroll:h,layoutRoot:p,layoutCrossfade:g}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:Xw(e.parent)),e.projection.setOptions({layoutId:o,layout:l,alwaysMeasureLayout:!!c||f&&As(f),visualElement:e,animationType:typeof l=="string"?l:"both",initialPromotionConfig:a,crossfade:g,layoutScroll:h,layoutRoot:p})}function Xw(e){if(e)return e.options.allowProjection!==!1?e.projection:Xw(e.parent)}function $p(e,{forwardMotionProps:t=!1}={},i,a){i&&$P(i);const o=xy(e)?uj:lj;function l(f,h){let p;const g={...A.useContext(gy),...f,layoutId:mj(f)},{isStatic:y}=g,v=KP(f),x=o(f,y);if(!y&&Yg){gj();const S=yj(g);p=S.MeasureLayout,v.visualElement=hj(e,x,g,a,S.ProjectionNode)}return _.jsxs(Hf.Provider,{value:v,children:[p&&v.visualElement?_.jsx(p,{visualElement:v.visualElement,...g}):null,aj(e,f,fj(x,v.visualElement,h),x,y,t)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=A.forwardRef(l);return c[cj]=e,c}function mj({layoutId:e}){const t=A.useContext(Kg).id;return t&&e!==void 0?t+"-"+e:e}function gj(e,t){A.useContext(jw).strict}function yj(e){const{drag:t,layout:i}=Bs;if(!t&&!i)return{};const a={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function vj(e,t){if(typeof Proxy>"u")return $p;const i=new Map,a=(l,c)=>$p(l,c,e,t),o=(l,c)=>a(l,c);return new Proxy(o,{get:(l,c)=>c==="create"?a:(i.has(c)||i.set(c,$p(c,void 0,e,t)),i.get(c))})}function Ww({top:e,left:t,right:i,bottom:a}){return{x:{min:t,max:i},y:{min:e,max:a}}}function bj({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Sj(e,t){if(!t)return e;const i=t({x:e.left,y:e.top}),a=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:a.y,right:a.x}}function Hp(e){return e===void 0||e===1}function qm({scale:e,scaleX:t,scaleY:i}){return!Hp(e)||!Hp(t)||!Hp(i)}function ma(e){return qm(e)||Qw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Qw(e){return Ix(e.x)||Ix(e.y)}function Ix(e){return e&&e!=="0%"}function ef(e,t,i){const a=e-i,o=t*a;return i+o}function Fx(e,t,i,a,o){return o!==void 0&&(e=ef(e,o,a)),ef(e,i,a)+t}function Km(e,t=0,i=1,a,o){e.min=Fx(e.min,t,i,a,o),e.max=Fx(e.max,t,i,a,o)}function Zw(e,{x:t,y:i}){Km(e.x,t.translate,t.scale,t.originPoint),Km(e.y,i.translate,i.scale,i.originPoint)}const qx=.999999999999,Kx=1.0000000000001;function xj(e,t,i,a=!1){const o=i.length;if(!o)return;t.x=t.y=1;let l,c;for(let f=0;f<o;f++){l=i[f],c=l.projectionDelta;const{visualElement:h}=l.options;h&&h.props.style&&h.props.style.display==="contents"||(a&&l.options.layoutScroll&&l.scroll&&l!==l.root&&Os(e,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),c&&(t.x*=c.x.scale,t.y*=c.y.scale,Zw(e,c)),a&&ma(l.latestValues)&&Os(e,l.latestValues))}t.x<Kx&&t.x>qx&&(t.x=1),t.y<Kx&&t.y>qx&&(t.y=1)}function Rs(e,t){e.min=e.min+t,e.max=e.max+t}function Gx(e,t,i,a,o=.5){const l=xt(e.min,e.max,o);Km(e,t,i,l,a)}function Os(e,t){Gx(e.x,t.x,t.scaleX,t.scale,t.originX),Gx(e.y,t.y,t.scaleY,t.scale,t.originY)}function Jw(e,t){return Ww(Sj(e.getBoundingClientRect(),t))}function Cj(e,t,i){const a=Jw(e,i),{scroll:o}=t;return o&&(Rs(a.x,o.offset.x),Rs(a.y,o.offset.y)),a}const Yx=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ms=()=>({x:Yx(),y:Yx()}),Xx=()=>({min:0,max:0}),qt=()=>({x:Xx(),y:Xx()}),Gm={current:null},eE={current:!1};function Tj(){if(eE.current=!0,!!Yg)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Gm.current=e.matches;e.addEventListener("change",t),t()}else Gm.current=!1}const wj=new WeakMap;function Ej(e,t,i){for(const a in t){const o=t[a],l=i[a];if(dn(o))e.addValue(a,o);else if(dn(l))e.addValue(a,js(o,{owner:e}));else if(l!==o)if(e.hasValue(a)){const c=e.getValue(a);c.liveStyle===!0?c.jump(o):c.hasAnimated||c.set(o)}else{const c=e.getStaticValue(a);e.addValue(a,js(c!==void 0?c:o,{owner:e}))}}for(const a in i)t[a]===void 0&&e.removeValue(a);return t}const Wx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Aj{scrapeMotionValuesFromProps(t,i,a){return{}}constructor({parent:t,props:i,presenceContext:a,reducedMotionConfig:o,blockInitialAnimation:l,visualState:c},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=fy,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const v=wn.now();this.renderScheduledAt<v&&(this.renderScheduledAt=v,vt.render(this.render,!1,!0))};const{latestValues:h,renderState:p}=c;this.latestValues=h,this.baseTarget={...h},this.initialValues=i.initial?{...h}:{},this.renderState=p,this.parent=t,this.props=i,this.presenceContext=a,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=f,this.blockInitialAnimation=!!l,this.isControllingVariants=Ff(i),this.isVariantNode=Uw(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:g,...y}=this.scrapeMotionValuesFromProps(i,{},this);for(const v in y){const x=y[v];h[v]!==void 0&&dn(x)&&x.set(h[v])}}mount(t){this.current=t,wj.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,a)=>this.bindToMotionValue(a,i)),eE.current||Tj(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Gm.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Vr(this.notifyUpdate),Vr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const i=this.features[t];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,i){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const a=Xs.has(t);a&&this.onBindTransform&&this.onBindTransform();const o=i.on("change",c=>{this.latestValues[t]=c,this.props.onUpdate&&vt.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let l;window.MotionCheckAppearSync&&(l=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{o(),l&&l(),i.owner&&i.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Bs){const i=Bs[t];if(!i)continue;const{isEnabled:a,Feature:o}=i;if(!this.features[t]&&o&&a(this.props)&&(this.features[t]=new o(this)),this.features[t]){const l=this.features[t];l.isMounted?l.update():(l.mount(),l.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):qt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,i){this.latestValues[t]=i}update(t,i){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let a=0;a<Wx.length;a++){const o=Wx[a];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const l="on"+o,c=t[l];c&&(this.propEventSubscriptions[o]=this.on(o,c))}this.prevMotionValues=Ej(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(t),()=>i.variantChildren.delete(t)}addValue(t,i){const a=this.values.get(t);i!==a&&(a&&this.removeValue(t),this.bindToMotionValue(t,i),this.values.set(t,i),this.latestValues[t]=i.get())}removeValue(t){this.values.delete(t);const i=this.valueSubscriptions.get(t);i&&(i(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,i){if(this.props.values&&this.props.values[t])return this.props.values[t];let a=this.values.get(t);return a===void 0&&i!==void 0&&(a=js(i===null?void 0:i,{owner:this}),this.addValue(t,a)),a}readValue(t,i){let a=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return a!=null&&(typeof a=="string"&&(K2(a)||Y2(a))?a=parseFloat(a):!LP(a)&&$r.test(i)&&(a=Mw(t,i)),this.setBaseTarget(t,dn(a)?a.get():a)),dn(a)?a.get():a}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){const{initial:i}=this.props;let a;if(typeof i=="string"||typeof i=="object"){const l=Cy(this.props,i,this.presenceContext?.custom);l&&(a=l[t])}if(i&&a!==void 0)return a;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!dn(o)?o:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,i){return this.events[t]||(this.events[t]=new Jg),this.events[t].add(i)}notify(t,...i){this.events[t]&&this.events[t].notify(...i)}scheduleRenderMicrotask(){py.render(this.render)}}class tE extends Aj{constructor(){super(...arguments),this.KeyframeResolver=xP}sortInstanceNodePosition(t,i){return t.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(t,i){return t.style?t.style[i]:void 0}removeValueFromRenderState(t,{vars:i,style:a}){delete i[t],delete a[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;dn(t)&&(this.childSubscription=t.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function nE(e,{style:t,vars:i},a,o){const l=e.style;let c;for(c in t)l[c]=t[c];o?.applyProjectionStyles(l,a);for(c in i)l.setProperty(c,i[c])}function Rj(e){return window.getComputedStyle(e)}class Oj extends tE{constructor(){super(...arguments),this.type="html",this.renderInstance=nE}readValueFromInstance(t,i){if(Xs.has(i))return this.projection?.isProjecting?Bm(i):Vk(t,i);{const a=Rj(t),o=(ny(i)?a.getPropertyValue(i):a[i])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:i}){return Jw(t,i)}build(t,i,a){by(t,i,a.transformTemplate)}scrapeMotionValuesFromProps(t,i,a){return Ty(t,i,a)}}const iE=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Mj(e,t,i,a){nE(e,t,void 0,a);for(const o in t.attrs)e.setAttribute(iE.has(o)?o:wy(o),t.attrs[o])}class Dj extends tE{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=qt}getBaseTargetFromProps(t,i){return t[i]}readValueFromInstance(t,i){if(Xs.has(i)){const a=Ow(i);return a&&a.default||0}return i=iE.has(i)?i:wy(i),t.getAttribute(i)}scrapeMotionValuesFromProps(t,i,a){return Kw(t,i,a)}build(t,i,a){Hw(t,i,this.isSVGTag,a.transformTemplate,a.style)}renderInstance(t,i,a,o){Mj(t,i,a,o)}mount(t){this.isSVGTag=Fw(t.tagName),super.mount(t)}}const _j=(e,t)=>xy(e)?new Dj(t):new Oj(t,{allowProjection:e!==A.Fragment});function Ls(e,t,i){const a=e.getProps();return Cy(a,t,i!==void 0?i:a.custom,e)}const Ym=e=>Array.isArray(e);function Nj(e,t,i){e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,js(i))}function Lj(e){return Ym(e)?e[e.length-1]||0:e}function zj(e,t){const i=Ls(e,t);let{transitionEnd:a={},transition:o={},...l}=i||{};l={...l,...a};for(const c in l){const f=Lj(l[c]);Nj(e,c,f)}}function kj(e){return!!(dn(e)&&e.add)}function Xm(e,t){const i=e.getValue("willChange");if(kj(i))return i.add(t);if(!i&&ur.WillChange){const a=new ur.WillChange("auto");e.addValue("willChange",a),a.add(t)}}function rE(e){return e.props[Gw]}const Pj=e=>e!==null;function jj(e,{repeat:t,repeatType:i="loop"},a){const o=e.filter(Pj),l=t&&i!=="loop"&&t%2===1?0:o.length-1;return o[l]}const Bj={type:"spring",stiffness:500,damping:25,restSpeed:10},Uj=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Vj={type:"keyframes",duration:.8},$j={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Hj=(e,{keyframes:t})=>t.length>2?Vj:Xs.has(e)?e.startsWith("scale")?Uj(t[1]):Bj:$j;function Ij({when:e,delay:t,delayChildren:i,staggerChildren:a,staggerDirection:o,repeat:l,repeatType:c,repeatDelay:f,from:h,elapsed:p,...g}){return!!Object.keys(g).length}const Ey=(e,t,i,a={},o,l)=>c=>{const f=dy(a,e)||{},h=f.delay||a.delay||0;let{elapsed:p=0}=a;p=p-Li(h);const g={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...f,delay:-p,onUpdate:v=>{t.set(v),f.onUpdate&&f.onUpdate(v)},onComplete:()=>{c(),f.onComplete&&f.onComplete()},name:e,motionValue:t,element:l?void 0:o};Ij(f)||Object.assign(g,Hj(e,g)),g.duration&&(g.duration=Li(g.duration)),g.repeatDelay&&(g.repeatDelay=Li(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Im(g),g.delay===0&&(y=!0)),(ur.instantAnimations||ur.skipAnimations)&&(y=!0,Im(g),g.delay=0),g.allowFlatten=!f.type&&!f.ease,y&&!l&&t.get()!==void 0){const v=jj(g.keyframes,f);if(v!==void 0){vt.update(()=>{g.onUpdate(v),g.onComplete()});return}}return f.isSync?new cy(g):new uP(g)};function Fj({protectedKeys:e,needsAnimating:t},i){const a=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,a}function aE(e,t,{delay:i=0,transitionOverride:a,type:o}={}){let{transition:l=e.getDefaultTransition(),transitionEnd:c,...f}=t;a&&(l=a);const h=[],p=o&&e.animationState&&e.animationState.getState()[o];for(const g in f){const y=e.getValue(g,e.latestValues[g]??null),v=f[g];if(v===void 0||p&&Fj(p,g))continue;const x={delay:i,...dy(l||{},g)},S=y.get();if(S!==void 0&&!y.isAnimating&&!Array.isArray(v)&&v===S&&!x.velocity)continue;let C=!1;if(window.MotionHandoffAnimation){const D=rE(e);if(D){const N=window.MotionHandoffAnimation(D,g,vt);N!==null&&(x.startTime=N,C=!0)}}Xm(e,g),y.start(Ey(g,y,v,e.shouldReduceMotion&&Ew.has(g)?{type:!1}:x,e,C));const T=y.animation;T&&h.push(T)}return c&&Promise.all(h).then(()=>{vt.update(()=>{c&&zj(e,c)})}),h}function sE(e,t,i,a=0,o=1){const l=Array.from(e).sort((p,g)=>p.sortNodePosition(g)).indexOf(t),c=e.size,f=(c-1)*a;return typeof i=="function"?i(l,c):o===1?l*a:f-l*a}function Wm(e,t,i={}){const a=Ls(e,t,i.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=a||{};i.transitionOverride&&(o=i.transitionOverride);const l=a?()=>Promise.all(aE(e,a,i)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:y}=o;return qj(e,t,h,p,g,y,i)}:()=>Promise.resolve(),{when:f}=o;if(f){const[h,p]=f==="beforeChildren"?[l,c]:[c,l];return h().then(()=>p())}else return Promise.all([l(),c(i.delay)])}function qj(e,t,i=0,a=0,o=0,l=1,c){const f=[];for(const h of e.variantChildren)h.notify("AnimationStart",t),f.push(Wm(h,t,{...c,delay:i+(typeof a=="function"?0:a)+sE(e.variantChildren,h,a,o,l)}).then(()=>h.notify("AnimationComplete",t)));return Promise.all(f)}function Kj(e,t,i={}){e.notify("AnimationStart",t);let a;if(Array.isArray(t)){const o=t.map(l=>Wm(e,l,i));a=Promise.all(o)}else if(typeof t=="string")a=Wm(e,t,i);else{const o=typeof t=="function"?Ls(e,t,i.custom):t;a=Promise.all(aE(e,o,i))}return a.then(()=>{e.notify("AnimationComplete",t)})}function oE(e,t){if(!Array.isArray(t))return!1;const i=t.length;if(i!==e.length)return!1;for(let a=0;a<i;a++)if(t[a]!==e[a])return!1;return!0}const Gj=vy.length;function lE(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?lE(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const t={};for(let i=0;i<Gj;i++){const a=vy[i],o=e.props[a];(xl(o)||o===!1)&&(t[a]=o)}return t}const Yj=[...yy].reverse(),Xj=yy.length;function Wj(e){return t=>Promise.all(t.map(({animation:i,options:a})=>Kj(e,i,a)))}function Qj(e){let t=Wj(e),i=Qx(),a=!0;const o=h=>(p,g)=>{const y=Ls(e,g,h==="exit"?e.presenceContext?.custom:void 0);if(y){const{transition:v,transitionEnd:x,...S}=y;p={...p,...S,...x}}return p};function l(h){t=h(e)}function c(h){const{props:p}=e,g=lE(e.parent)||{},y=[],v=new Set;let x={},S=1/0;for(let T=0;T<Xj;T++){const D=Yj[T],N=i[D],R=p[D]!==void 0?p[D]:g[D],w=xl(R),M=D===h?N.isActive:null;M===!1&&(S=T);let L=R===g[D]&&R!==p[D]&&w;if(L&&a&&e.manuallyAnimateOnMount&&(L=!1),N.protectedKeys={...x},!N.isActive&&M===null||!R&&!N.prevProp||If(R)||typeof R=="boolean")continue;const P=Zj(N.prevProp,R);let U=P||D===h&&N.isActive&&!L&&w||T>S&&w,G=!1;const Q=Array.isArray(R)?R:[R];let J=Q.reduce(o(D),{});M===!1&&(J={});const{prevResolvedValues:O={}}=N,Z={...O,...J},F=I=>{U=!0,v.has(I)&&(G=!0,v.delete(I)),N.needsAnimating[I]=!0;const ee=e.getValue(I);ee&&(ee.liveStyle=!1)};for(const I in Z){const ee=J[I],ae=O[I];if(x.hasOwnProperty(I))continue;let le=!1;Ym(ee)&&Ym(ae)?le=!oE(ee,ae):le=ee!==ae,le?ee!=null?F(I):v.add(I):ee!==void 0&&v.has(I)?F(I):N.protectedKeys[I]=!0}N.prevProp=R,N.prevResolvedValues=J,N.isActive&&(x={...x,...J}),a&&e.blockInitialAnimation&&(U=!1);const Y=L&&P;U&&(!Y||G)&&y.push(...Q.map(I=>{const ee={type:D};if(typeof I=="string"&&a&&!Y&&e.manuallyAnimateOnMount&&e.parent){const{parent:ae}=e,le=Ls(ae,I);if(ae.enteringChildren&&le){const{delayChildren:z}=le.transition||{};ee.delay=sE(ae.enteringChildren,e,z)}}return{animation:I,options:ee}}))}if(v.size){const T={};if(typeof p.initial!="boolean"){const D=Ls(e,Array.isArray(p.initial)?p.initial[0]:p.initial);D&&D.transition&&(T.transition=D.transition)}v.forEach(D=>{const N=e.getBaseTarget(D),R=e.getValue(D);R&&(R.liveStyle=!0),T[D]=N??null}),y.push({animation:T})}let C=!!y.length;return a&&(p.initial===!1||p.initial===p.animate)&&!e.manuallyAnimateOnMount&&(C=!1),a=!1,C?t(y):Promise.resolve()}function f(h,p){if(i[h].isActive===p)return Promise.resolve();e.variantChildren?.forEach(y=>y.animationState?.setActive(h,p)),i[h].isActive=p;const g=c(h);for(const y in i)i[y].protectedKeys={};return g}return{animateChanges:c,setActive:f,setAnimateFunction:l,getState:()=>i,reset:()=>{i=Qx()}}}function Zj(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!oE(t,e):!1}function fa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Qx(){return{animate:fa(!0),whileInView:fa(),whileHover:fa(),whileTap:fa(),whileDrag:fa(),whileFocus:fa(),exit:fa()}}class Hr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Jj extends Hr{constructor(t){super(t),t.animationState||(t.animationState=Qj(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();If(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:i}=this.node.prevProps||{};t!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let e6=0;class t6 extends Hr{constructor(){super(...arguments),this.id=e6++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===a)return;const o=this.node.animationState.setActive("exit",!t);i&&!t&&o.then(()=>{i(this.id)})}mount(){const{register:t,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const n6={animation:{Feature:Jj},exit:{Feature:t6}};function Tl(e,t,i,a={passive:!0}){return e.addEventListener(t,i,a),()=>e.removeEventListener(t,i)}function ql(e){return{point:{x:e.pageX,y:e.pageY}}}const i6=e=>t=>my(t)&&e(t,ql(t));function cl(e,t,i,a){return Tl(e,t,i6(i),a)}const uE=1e-4,r6=1-uE,a6=1+uE,cE=.01,s6=0-cE,o6=0+cE;function pn(e){return e.max-e.min}function l6(e,t,i){return Math.abs(e-t)<=i}function Zx(e,t,i,a=.5){e.origin=a,e.originPoint=xt(t.min,t.max,e.origin),e.scale=pn(i)/pn(t),e.translate=xt(i.min,i.max,e.origin)-e.originPoint,(e.scale>=r6&&e.scale<=a6||isNaN(e.scale))&&(e.scale=1),(e.translate>=s6&&e.translate<=o6||isNaN(e.translate))&&(e.translate=0)}function fl(e,t,i,a){Zx(e.x,t.x,i.x,a?a.originX:void 0),Zx(e.y,t.y,i.y,a?a.originY:void 0)}function Jx(e,t,i){e.min=i.min+t.min,e.max=e.min+pn(t)}function u6(e,t,i){Jx(e.x,t.x,i.x),Jx(e.y,t.y,i.y)}function eC(e,t,i){e.min=t.min-i.min,e.max=e.min+pn(t)}function tf(e,t,i){eC(e.x,t.x,i.x),eC(e.y,t.y,i.y)}function Zn(e){return[e("x"),e("y")]}const fE=({current:e})=>e?e.ownerDocument.defaultView:null,tC=(e,t)=>Math.abs(e-t);function c6(e,t){const i=tC(e.x,t.x),a=tC(e.y,t.y);return Math.sqrt(i**2+a**2)}class dE{constructor(t,i,{transformPagePoint:a,contextWindow:o=window,dragSnapToOrigin:l=!1,distanceThreshold:c=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=Fp(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,S=c6(v.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!S)return;const{point:C}=v,{timestamp:T}=an;this.history.push({...C,timestamp:T});const{onStart:D,onMove:N}=this.handlers;x||(D&&D(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,v)},this.handlePointerMove=(v,x)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=Ip(x,this.transformPagePoint),vt.update(this.updatePoint,!0)},this.handlePointerUp=(v,x)=>{this.end();const{onEnd:S,onSessionEnd:C,resumeAnimation:T}=this.handlers;if(this.dragSnapToOrigin&&T&&T(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const D=Fp(v.type==="pointercancel"?this.lastMoveEventInfo:Ip(x,this.transformPagePoint),this.history);this.startEvent&&S&&S(v,D),C&&C(v,D)},!my(t))return;this.dragSnapToOrigin=l,this.handlers=i,this.transformPagePoint=a,this.distanceThreshold=c,this.contextWindow=o||window;const f=ql(t),h=Ip(f,this.transformPagePoint),{point:p}=h,{timestamp:g}=an;this.history=[{...p,timestamp:g}];const{onSessionStart:y}=i;y&&y(t,Fp(h,this.history)),this.removeListeners=Hl(cl(this.contextWindow,"pointermove",this.handlePointerMove),cl(this.contextWindow,"pointerup",this.handlePointerUp),cl(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vr(this.updatePoint)}}function Ip(e,t){return t?{point:t(e.point)}:e}function nC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Fp({point:e},t){return{point:e,delta:nC(e,hE(t)),offset:nC(e,f6(t)),velocity:d6(t,.1)}}function f6(e){return e[0]}function hE(e){return e[e.length-1]}function d6(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,a=null;const o=hE(e);for(;i>=0&&(a=e[i],!(o.timestamp-a.timestamp>Li(t)));)i--;if(!a)return{x:0,y:0};const l=ni(o.timestamp-a.timestamp);if(l===0)return{x:0,y:0};const c={x:(o.x-a.x)/l,y:(o.y-a.y)/l};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function h6(e,{min:t,max:i},a){return t!==void 0&&e<t?e=a?xt(t,e,a.min):Math.max(e,t):i!==void 0&&e>i&&(e=a?xt(i,e,a.max):Math.min(e,i)),e}function iC(e,t,i){return{min:t!==void 0?e.min+t:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function p6(e,{top:t,left:i,bottom:a,right:o}){return{x:iC(e.x,i,o),y:iC(e.y,t,a)}}function rC(e,t){let i=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,a]=[a,i]),{min:i,max:a}}function m6(e,t){return{x:rC(e.x,t.x),y:rC(e.y,t.y)}}function g6(e,t){let i=.5;const a=pn(e),o=pn(t);return o>a?i=vl(t.min,t.max-a,e.min):a>o&&(i=vl(e.min,e.max-o,t.min)),lr(0,1,i)}function y6(e,t){const i={};return t.min!==void 0&&(i.min=t.min-e.min),t.max!==void 0&&(i.max=t.max-e.min),i}const Qm=.35;function v6(e=Qm){return e===!1?e=0:e===!0&&(e=Qm),{x:aC(e,"left","right"),y:aC(e,"top","bottom")}}function aC(e,t,i){return{min:sC(e,t),max:sC(e,i)}}function sC(e,t){return typeof e=="number"?e:e[t]||0}const b6=new WeakMap;class S6{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=qt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:i=!1,distanceThreshold:a}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const l=y=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(ql(y).point)},c=(y,v)=>{const{drag:x,dragPropagation:S,onDragStart:C}=this.getProps();if(x&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=EP(x),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=v,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Zn(D=>{let N=this.getAxisMotionValue(D).get()||0;if(zi.test(N)){const{projection:R}=this.visualElement;if(R&&R.layout){const w=R.layout.layoutBox[D];w&&(N=pn(w)*(parseFloat(N)/100))}}this.originPoint[D]=N}),C&&vt.postRender(()=>C(y,v)),Xm(this.visualElement,"transform");const{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},f=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v;const{dragPropagation:x,dragDirectionLock:S,onDirectionLock:C,onDrag:T}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:D}=v;if(S&&this.currentDirection===null){this.currentDirection=x6(D),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",v.point,D),this.updateAxis("y",v.point,D),this.visualElement.render(),T&&T(y,v)},h=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v,this.stop(y,v),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>Zn(y=>this.getAnimationState(y)==="paused"&&this.getAxisMotionValue(y).animation?.play()),{dragSnapToOrigin:g}=this.getProps();this.panSession=new dE(t,{onSessionStart:l,onStart:c,onMove:f,onSessionEnd:h,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:a,contextWindow:fE(this.visualElement)})}stop(t,i){const a=t||this.latestPointerEvent,o=i||this.latestPanInfo,l=this.isDragging;if(this.cancel(),!l||!o||!a)return;const{velocity:c}=o;this.startAnimation(c);const{onDragEnd:f}=this.getProps();f&&vt.postRender(()=>f(a,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:i}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(t,i,a){const{drag:o}=this.getProps();if(!a||!Sc(t,o,this.currentDirection))return;const l=this.getAxisMotionValue(t);let c=this.originPoint[t]+a[t];this.constraints&&this.constraints[t]&&(c=h6(c,this.constraints[t],this.elastic[t])),l.set(c)}resolveConstraints(){const{dragConstraints:t,dragElastic:i}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&As(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&a?this.constraints=p6(a.layoutBox,t):this.constraints=!1,this.elastic=v6(i),o!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Zn(l=>{this.constraints!==!1&&this.getAxisMotionValue(l)&&(this.constraints[l]=y6(a.layoutBox[l],this.constraints[l]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!As(t))return!1;const a=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const l=Cj(a,o.root,this.visualElement.getTransformPagePoint());let c=m6(o.layout.layoutBox,l);if(i){const f=i(bj(c));this.hasMutatedConstraints=!!f,f&&(c=Ww(f))}return c}startAnimation(t){const{drag:i,dragMomentum:a,dragElastic:o,dragTransition:l,dragSnapToOrigin:c,onDragTransitionEnd:f}=this.getProps(),h=this.constraints||{},p=Zn(g=>{if(!Sc(g,i,this.currentDirection))return;let y=h&&h[g]||{};c&&(y={min:0,max:0});const v=o?200:1e6,x=o?40:1e7,S={type:"inertia",velocity:a?t[g]:0,bounceStiffness:v,bounceDamping:x,timeConstant:750,restDelta:1,restSpeed:10,...l,...y};return this.startAxisValueAnimation(g,S)});return Promise.all(p).then(f)}startAxisValueAnimation(t,i){const a=this.getAxisMotionValue(t);return Xm(this.visualElement,t),a.start(Ey(t,a,0,i,this.visualElement,!1))}stopAnimation(){Zn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Zn(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const i=`_drag${t.toUpperCase()}`,a=this.visualElement.getProps(),o=a[i];return o||this.visualElement.getValue(t,(a.initial?a.initial[t]:void 0)||0)}snapToCursor(t){Zn(i=>{const{drag:a}=this.getProps();if(!Sc(i,a,this.currentDirection))return;const{projection:o}=this.visualElement,l=this.getAxisMotionValue(i);if(o&&o.layout){const{min:c,max:f}=o.layout.layoutBox[i];l.set(t[i]-xt(c,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:a}=this.visualElement;if(!As(i)||!a||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Zn(c=>{const f=this.getAxisMotionValue(c);if(f&&this.constraints!==!1){const h=f.get();o[c]=g6({min:h,max:h},this.constraints[c])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.resolveConstraints(),Zn(c=>{if(!Sc(c,t,null))return;const f=this.getAxisMotionValue(c),{min:h,max:p}=this.constraints[c];f.set(xt(h,p,o[c]))})}addListeners(){if(!this.visualElement.current)return;b6.set(this.visualElement,this);const t=this.visualElement.current,i=cl(t,"pointerdown",h=>{const{drag:p,dragListener:g=!0}=this.getProps();p&&g&&this.start(h)}),a=()=>{const{dragConstraints:h}=this.getProps();As(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,l=o.addEventListener("measure",a);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),vt.read(a);const c=Tl(window,"resize",()=>this.scalePositionWithinConstraints()),f=o.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:p})=>{this.isDragging&&p&&(Zn(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=h[g].translate,y.set(y.get()+h[g].translate))}),this.visualElement.render())}));return()=>{c(),i(),l(),f&&f()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:a=!1,dragPropagation:o=!1,dragConstraints:l=!1,dragElastic:c=Qm,dragMomentum:f=!0}=t;return{...t,drag:i,dragDirectionLock:a,dragPropagation:o,dragConstraints:l,dragElastic:c,dragMomentum:f}}}function Sc(e,t,i){return(t===!0||t===e)&&(i===null||i===e)}function x6(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}class C6 extends Hr{constructor(t){super(t),this.removeGroupControls=ii,this.removeListeners=ii,this.controls=new S6(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ii}unmount(){this.removeGroupControls(),this.removeListeners()}}const oC=e=>(t,i)=>{e&&vt.postRender(()=>e(t,i))};class T6 extends Hr{constructor(){super(...arguments),this.removePointerDownListener=ii}onPointerDown(t){this.session=new dE(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:fE(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:i,onPan:a,onPanEnd:o}=this.node.getProps();return{onSessionStart:oC(t),onStart:oC(i),onMove:a,onEnd:(l,c)=>{delete this.session,o&&vt.postRender(()=>o(l,c))}}}mount(){this.removePointerDownListener=cl(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Pc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function lC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Qo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(we.test(e))e=parseFloat(e);else return e;const i=lC(e,t.target.x),a=lC(e,t.target.y);return`${i}% ${a}%`}},w6={correct:(e,{treeScale:t,projectionDelta:i})=>{const a=e,o=$r.parse(e);if(o.length>5)return a;const l=$r.createTransformer(e),c=typeof o[0]!="number"?1:0,f=i.x.scale*t.x,h=i.y.scale*t.y;o[0+c]/=f,o[1+c]/=h;const p=xt(f,h,.5);return typeof o[2+c]=="number"&&(o[2+c]/=p),typeof o[3+c]=="number"&&(o[3+c]/=p),l(o)}};let qp=!1;class E6 extends A.Component{componentDidMount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:a,layoutId:o}=this.props,{projection:l}=t;GP(A6),l&&(i.group&&i.group.add(l),a&&a.register&&o&&a.register(l),qp&&l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,onExitComplete:()=>this.safeToRemove()})),Pc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:i,visualElement:a,drag:o,isPresent:l}=this.props,{projection:c}=a;return c&&(c.isPresent=l,qp=!0,o||t.layoutDependency!==i||i===void 0||t.isPresent!==l?c.willUpdate():this.safeToRemove(),t.isPresent!==l&&(l?c.promote():c.relegate()||vt.postRender(()=>{const f=c.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),py.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:a}=this.props,{projection:o}=t;qp=!0,o&&(o.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(o),a&&a.deregister&&a.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function pE(e){const[t,i]=Pw(),a=A.useContext(Kg);return _.jsx(E6,{...e,layoutGroup:a,switchLayoutGroup:A.useContext(Yw),isPresent:t,safeToRemove:i})}const A6={borderRadius:{...Qo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Qo,borderTopRightRadius:Qo,borderBottomLeftRadius:Qo,borderBottomRightRadius:Qo,boxShadow:w6};function R6(e,t,i){const a=dn(e)?e:js(e);return a.start(Ey("",a,t,i)),a.animation}const O6=(e,t)=>e.depth-t.depth;class M6{constructor(){this.children=[],this.isDirty=!1}add(t){Xg(this.children,t),this.isDirty=!0}remove(t){Wg(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(O6),this.isDirty=!1,this.children.forEach(t)}}function D6(e,t){const i=wn.now(),a=({timestamp:o})=>{const l=o-i;l>=t&&(Vr(a),e(l-t))};return vt.setup(a,!0),()=>Vr(a)}const mE=["TopLeft","TopRight","BottomLeft","BottomRight"],_6=mE.length,uC=e=>typeof e=="string"?parseFloat(e):e,cC=e=>typeof e=="number"||we.test(e);function N6(e,t,i,a,o,l){o?(e.opacity=xt(0,i.opacity??1,L6(a)),e.opacityExit=xt(t.opacity??1,0,z6(a))):l&&(e.opacity=xt(t.opacity??1,i.opacity??1,a));for(let c=0;c<_6;c++){const f=`border${mE[c]}Radius`;let h=fC(t,f),p=fC(i,f);if(h===void 0&&p===void 0)continue;h||(h=0),p||(p=0),h===0||p===0||cC(h)===cC(p)?(e[f]=Math.max(xt(uC(h),uC(p),a),0),(zi.test(p)||zi.test(h))&&(e[f]+="%")):e[f]=p}(t.rotate||i.rotate)&&(e.rotate=xt(t.rotate||0,i.rotate||0,a))}function fC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const L6=gE(0,.5,nw),z6=gE(.5,.95,ii);function gE(e,t,i){return a=>a<e?0:a>t?1:i(vl(e,t,a))}function dC(e,t){e.min=t.min,e.max=t.max}function di(e,t){dC(e.x,t.x),dC(e.y,t.y)}function hC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function pC(e,t,i,a,o){return e-=t,e=ef(e,1/i,a),o!==void 0&&(e=ef(e,1/o,a)),e}function k6(e,t=0,i=1,a=.5,o,l=e,c=e){if(zi.test(t)&&(t=parseFloat(t),t=xt(c.min,c.max,t/100)-c.min),typeof t!="number")return;let f=xt(l.min,l.max,a);e===l&&(f-=t),e.min=pC(e.min,t,i,f,o),e.max=pC(e.max,t,i,f,o)}function mC(e,t,[i,a,o],l,c){k6(e,t[i],t[a],t[o],t.scale,l,c)}const P6=["x","scaleX","originX"],j6=["y","scaleY","originY"];function gC(e,t,i,a){mC(e.x,t,P6,i?i.x:void 0,a?a.x:void 0),mC(e.y,t,j6,i?i.y:void 0,a?a.y:void 0)}function yC(e){return e.translate===0&&e.scale===1}function yE(e){return yC(e.x)&&yC(e.y)}function vC(e,t){return e.min===t.min&&e.max===t.max}function B6(e,t){return vC(e.x,t.x)&&vC(e.y,t.y)}function bC(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function vE(e,t){return bC(e.x,t.x)&&bC(e.y,t.y)}function SC(e){return pn(e.x)/pn(e.y)}function xC(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class U6{constructor(){this.members=[]}add(t){Xg(this.members,t),t.scheduleRender()}remove(t){if(Wg(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(t){const i=this.members.findIndex(o=>t===o);if(i===0)return!1;let a;for(let o=i;o>=0;o--){const l=this.members[o];if(l.isPresent!==!1){a=l;break}}return a?(this.promote(a),!0):!1}promote(t,i){const a=this.lead;if(t!==a&&(this.prevLead=a,this.lead=t,t.show(),a)){a.instance&&a.scheduleRender(),t.scheduleRender(),t.resumeFrom=a,i&&(t.resumeFrom.preserveOpacity=!0),a.snapshot&&(t.snapshot=a.snapshot,t.snapshot.latestValues=a.animationValues||a.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&a.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:i,resumingFrom:a}=t;i.onExitComplete&&i.onExitComplete(),a&&a.options.onExitComplete&&a.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function V6(e,t,i){let a="";const o=e.x.translate/t.x,l=e.y.translate/t.y,c=i?.z||0;if((o||l||c)&&(a=`translate3d(${o}px, ${l}px, ${c}px) `),(t.x!==1||t.y!==1)&&(a+=`scale(${1/t.x}, ${1/t.y}) `),i){const{transformPerspective:p,rotate:g,rotateX:y,rotateY:v,skewX:x,skewY:S}=i;p&&(a=`perspective(${p}px) ${a}`),g&&(a+=`rotate(${g}deg) `),y&&(a+=`rotateX(${y}deg) `),v&&(a+=`rotateY(${v}deg) `),x&&(a+=`skewX(${x}deg) `),S&&(a+=`skewY(${S}deg) `)}const f=e.x.scale*t.x,h=e.y.scale*t.y;return(f!==1||h!==1)&&(a+=`scale(${f}, ${h})`),a||"none"}const Kp=["","X","Y","Z"],$6=1e3;let H6=0;function Gp(e,t,i,a){const{latestValues:o}=t;o[e]&&(i[e]=o[e],t.setStaticValue(e,0),a&&(a[e]=0))}function bE(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const i=rE(t);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:o,layoutId:l}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",vt,!(o||l))}const{parent:a}=e;a&&!a.hasCheckedOptimisedAppear&&bE(a)}function SE({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:a,resetTransform:o}){return class{constructor(c={},f=t?.()){this.id=H6++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(q6),this.nodes.forEach(X6),this.nodes.forEach(W6),this.nodes.forEach(K6)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new M6)}addEventListener(c,f){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Jg),this.eventHandlers.get(c).add(f)}notifyListeners(c,...f){const h=this.eventHandlers.get(c);h&&h.notify(...f)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=kw(c)&&!_P(c),this.instance=c;const{layoutId:f,layout:h,visualElement:p}=this.options;if(p&&!p.current&&p.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||f)&&(this.isLayoutDirty=!0),e){let g,y=0;const v=()=>this.root.updateBlockedByResize=!1;vt.read(()=>{y=window.innerWidth}),e(c,()=>{const x=window.innerWidth;x!==y&&(y=x,this.root.updateBlockedByResize=!0,g&&g(),g=D6(v,250),Pc.hasAnimatedSinceResize&&(Pc.hasAnimatedSinceResize=!1,this.nodes.forEach(wC)))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&p&&(f||h)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:v,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||p.getDefaultTransition()||tB,{onLayoutAnimationStart:C,onLayoutAnimationComplete:T}=p.getProps(),D=!this.targetLayout||!vE(this.targetLayout,x),N=!y&&v;if(this.options.layoutRoot||this.resumeFrom||N||y&&(D||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const R={...dy(S,"layout"),onPlay:C,onComplete:T};(p.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R),this.setAnimationOrigin(g,N)}else y||wC(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Vr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Q6),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&bE(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:f,layout:h}=this.options;if(f===void 0&&!h)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(CC);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(TC);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Y6),this.nodes.forEach(I6),this.nodes.forEach(F6)):this.nodes.forEach(TC),this.clearAllSnapshots();const f=wn.now();an.delta=lr(0,1e3/60,f-an.timestamp),an.timestamp=f,an.isProcessing=!0,kp.update.process(an),kp.preRender.process(an),kp.render.process(an),an.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,py.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(G6),this.sharedNodes.forEach(Z6)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,vt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){vt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!pn(this.snapshot.measuredBox.x)&&!pn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=qt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(f=!1),f&&this.instance){const h=a(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:h,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!o)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!yE(this.projectionDelta),h=this.getTransformTemplate(),p=h?h(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;c&&this.instance&&(f||ma(this.latestValues)||g)&&(o(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const f=this.measurePageBox();let h=this.removeElementScroll(f);return c&&(h=this.removeTransform(h)),nB(h),{animationId:this.root.animationId,measuredBox:f,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:c}=this.options;if(!c)return qt();const f=c.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(iB))){const{scroll:p}=this.root;p&&(Rs(f.x,p.offset.x),Rs(f.y,p.offset.y))}return f}removeElementScroll(c){const f=qt();if(di(f,c),this.scroll?.wasRoot)return f;for(let h=0;h<this.path.length;h++){const p=this.path[h],{scroll:g,options:y}=p;p!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&di(f,c),Rs(f.x,g.offset.x),Rs(f.y,g.offset.y))}return f}applyTransform(c,f=!1){const h=qt();di(h,c);for(let p=0;p<this.path.length;p++){const g=this.path[p];!f&&g.options.layoutScroll&&g.scroll&&g!==g.root&&Os(h,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),ma(g.latestValues)&&Os(h,g.latestValues)}return ma(this.latestValues)&&Os(h,this.latestValues),h}removeTransform(c){const f=qt();di(f,c);for(let h=0;h<this.path.length;h++){const p=this.path[h];if(!p.instance||!ma(p.latestValues))continue;qm(p.latestValues)&&p.updateSnapshot();const g=qt(),y=p.measurePageBox();di(g,y),gC(f,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,g)}return ma(this.latestValues)&&gC(f,this.latestValues),f}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==an.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==f;if(!(c||h&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:y}=this.options;if(!this.layout||!(g||y))return;this.resolvedRelativeTargetAt=an.timestamp;const v=this.getClosestProjectingParent();v&&this.linkedParentVersion!==v.layoutVersion&&!v.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(v&&v.layout?this.createRelativeTarget(v,this.layout.layoutBox,v.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=qt(),this.targetWithTransforms=qt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),u6(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):di(this.target,this.layout.layoutBox),Zw(this.target,this.targetDelta)):di(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?this.createRelativeTarget(v,this.target,v.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||qm(this.parent.latestValues)||Qw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(c,f,h){this.relativeParent=c,this.linkedParentVersion=c.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=qt(),this.relativeTargetOrigin=qt(),tf(this.relativeTargetOrigin,f,h),di(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const c=this.getLead(),f=!!this.resumingFrom||this!==c;let h=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(h=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===an.timestamp&&(h=!1),h)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;di(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,v=this.treeScale.y;xj(this.layoutCorrected,this.treeScale,this.path,f),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=qt());const{target:x}=c;if(!x){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(hC(this.prevProjectionDelta.x,this.projectionDelta.x),hC(this.prevProjectionDelta.y,this.projectionDelta.y)),fl(this.projectionDelta,this.layoutCorrected,x,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==v||!xC(this.projectionDelta.x,this.prevProjectionDelta.x)||!xC(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){if(this.options.visualElement?.scheduleRender(),c){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ms(),this.projectionDelta=Ms(),this.projectionDeltaWithTransform=Ms()}setAnimationOrigin(c,f=!1){const h=this.snapshot,p=h?h.latestValues:{},g={...this.latestValues},y=Ms();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const v=qt(),x=h?h.source:void 0,S=this.layout?this.layout.source:void 0,C=x!==S,T=this.getStack(),D=!T||T.members.length<=1,N=!!(C&&!D&&this.options.crossfade===!0&&!this.path.some(eB));this.animationProgress=0;let R;this.mixTargetDelta=w=>{const M=w/1e3;EC(y.x,c.x,M),EC(y.y,c.y,M),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(tf(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),J6(this.relativeTarget,this.relativeTargetOrigin,v,M),R&&B6(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=qt()),di(R,this.relativeTarget)),C&&(this.animationValues=g,N6(g,p,this.latestValues,M,N,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vt.update(()=>{Pc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=js(0)),this.currentAnimation=R6(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:f=>{this.mixTargetDelta(f),c.onUpdate&&c.onUpdate(f)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta($6),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:f,target:h,layout:p,latestValues:g}=c;if(!(!f||!h||!p)){if(this!==c&&this.layout&&p&&xE(this.options.animationType,this.layout.layoutBox,p.layoutBox)){h=this.target||qt();const y=pn(this.layout.layoutBox.x);h.x.min=c.target.x.min,h.x.max=h.x.min+y;const v=pn(this.layout.layoutBox.y);h.y.min=c.target.y.min,h.y.max=h.y.min+v}di(f,h),Os(f,g),fl(this.projectionDeltaWithTransform,this.layoutCorrected,f,g)}}registerSharedNode(c,f){this.sharedNodes.has(c)||this.sharedNodes.set(c,new U6),this.sharedNodes.get(c).add(f);const p=f.options.initialPromotionConfig;f.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(f):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){const{layoutId:c}=this.options;return c?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:c}=this.options;return c?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:f,preserveFollowOpacity:h}={}){const p=this.getStack();p&&p.promote(this,h),c&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let f=!1;const{latestValues:h}=c;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(f=!0),!f)return;const p={};h.z&&Gp("z",c,p,this.animationValues);for(let g=0;g<Kp.length;g++)Gp(`rotate${Kp[g]}`,c,p,this.animationValues),Gp(`skew${Kp[g]}`,c,p,this.animationValues);c.render();for(const g in p)c.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);c.scheduleRender()}applyProjectionStyles(c,f){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=kc(f?.pointerEvents)||"",c.transform=h?h(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=kc(f?.pointerEvents)||""),this.hasProjected&&!ma(this.latestValues)&&(c.transform=h?h({},""):"none",this.hasProjected=!1);return}c.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let y=V6(this.projectionDeltaWithTransform,this.treeScale,g);h&&(y=h(g,y)),c.transform=y;const{x:v,y:x}=this.projectionDelta;c.transformOrigin=`${v.origin*100}% ${x.origin*100}% 0`,p.animationValues?c.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:c.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const S in Cl){if(g[S]===void 0)continue;const{correct:C,applyTo:T,isCSSVariable:D}=Cl[S],N=y==="none"?g[S]:C(g[S],p);if(T){const R=T.length;for(let w=0;w<R;w++)c[T[w]]=N}else D?this.options.visualElement.renderState.vars[S]=N:c[S]=N}this.options.layoutId&&(c.pointerEvents=p===this?kc(f?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>c.currentAnimation?.stop()),this.root.nodes.forEach(CC),this.root.sharedNodes.clear()}}}function I6(e){e.updateLayout()}function F6(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:a}=e.layout,{animationType:o}=e.options,l=t.source!==e.layout.source;o==="size"?Zn(g=>{const y=l?t.measuredBox[g]:t.layoutBox[g],v=pn(y);y.min=i[g].min,y.max=y.min+v}):xE(o,t.layoutBox,i)&&Zn(g=>{const y=l?t.measuredBox[g]:t.layoutBox[g],v=pn(i[g]);y.max=y.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+v)});const c=Ms();fl(c,i,t.layoutBox);const f=Ms();l?fl(f,e.applyTransform(a,!0),t.measuredBox):fl(f,i,t.layoutBox);const h=!yE(c);let p=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:v}=g;if(y&&v){const x=qt();tf(x,t.layoutBox,y.layoutBox);const S=qt();tf(S,i,v.layoutBox),vE(x,S)||(p=!0),g.options.layoutRoot&&(e.relativeTarget=S,e.relativeTargetOrigin=x,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:f,layoutDelta:c,hasLayoutChanged:h,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function q6(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function K6(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function G6(e){e.clearSnapshot()}function CC(e){e.clearMeasurements()}function TC(e){e.isLayoutDirty=!1}function Y6(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function wC(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function X6(e){e.resolveTargetDelta()}function W6(e){e.calcProjection()}function Q6(e){e.resetSkewAndRotation()}function Z6(e){e.removeLeadSnapshot()}function EC(e,t,i){e.translate=xt(t.translate,0,i),e.scale=xt(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function AC(e,t,i,a){e.min=xt(t.min,i.min,a),e.max=xt(t.max,i.max,a)}function J6(e,t,i,a){AC(e.x,t.x,i.x,a),AC(e.y,t.y,i.y,a)}function eB(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const tB={duration:.45,ease:[.4,0,.1,1]},RC=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),OC=RC("applewebkit/")&&!RC("chrome/")?Math.round:ii;function MC(e){e.min=OC(e.min),e.max=OC(e.max)}function nB(e){MC(e.x),MC(e.y)}function xE(e,t,i){return e==="position"||e==="preserve-aspect"&&!l6(SC(t),SC(i),.2)}function iB(e){return e!==e.root&&e.scroll?.wasRoot}const rB=SE({attachResizeListener:(e,t)=>Tl(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Yp={current:void 0},CE=SE({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Yp.current){const e=new rB({});e.mount(window),e.setOptions({layoutScroll:!0}),Yp.current=e}return Yp.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),aB={pan:{Feature:T6},drag:{Feature:C6,ProjectionNode:CE,MeasureLayout:pE}};function DC(e,t,i){const{props:a}=e;e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",i==="Start");const o="onHover"+i,l=a[o];l&&vt.postRender(()=>l(t,ql(t)))}class sB extends Hr{mount(){const{current:t}=this.node;t&&(this.unmount=AP(t,(i,a)=>(DC(this.node,a,"Start"),o=>DC(this.node,o,"End"))))}unmount(){}}class oB extends Hr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Hl(Tl(this.node.current,"focus",()=>this.onFocus()),Tl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function _C(e,t,i){const{props:a}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&a.whileTap&&e.animationState.setActive("whileTap",i==="Start");const o="onTap"+(i==="End"?"":i),l=a[o];l&&vt.postRender(()=>l(t,ql(t)))}class lB extends Hr{mount(){const{current:t}=this.node;t&&(this.unmount=DP(t,(i,a)=>(_C(this.node,a,"Start"),(o,{success:l})=>_C(this.node,o,l?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Zm=new WeakMap,Xp=new WeakMap,uB=e=>{const t=Zm.get(e.target);t&&t(e)},cB=e=>{e.forEach(uB)};function fB({root:e,...t}){const i=e||document;Xp.has(i)||Xp.set(i,{});const a=Xp.get(i),o=JSON.stringify(t);return a[o]||(a[o]=new IntersectionObserver(cB,{root:e,...t})),a[o]}function dB(e,t,i){const a=fB(t);return Zm.set(e,i),a.observe(e),()=>{Zm.delete(e),a.unobserve(e)}}const hB={some:0,all:1};class pB extends Hr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:i,margin:a,amount:o="some",once:l}=t,c={root:i?i.current:void 0,rootMargin:a,threshold:typeof o=="number"?o:hB[o]},f=h=>{const{isIntersecting:p}=h;if(this.isInView===p||(this.isInView=p,l&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),v=p?g:y;v&&v(h)};return dB(this.node.current,c,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:i}=this.node;["amount","margin","root"].some(mB(t,i))&&this.startObserver()}unmount(){}}function mB({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}const gB={inView:{Feature:pB},tap:{Feature:lB},focus:{Feature:oB},hover:{Feature:sB}},yB={layout:{ProjectionNode:CE,MeasureLayout:pE}},vB={...n6,...gB,...aB,...yB},vs=vj(vB,_j),bB=on(_.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"})),NC=on(_.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3"})),SB=on(_.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})),xB=on(_.jsx("path",{d:"M12 8V4l8 8-8 8v-4H4V8z"})),CB=on(_.jsx("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"})),LC=on(_.jsx("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"})),TB=on(_.jsx("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"})),wB=on(_.jsx("path",{d:"M8 5v14l11-7z"})),EB=on(_.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"})),AB=on(_.jsx("path",{d:"m12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7 1.62-4.33L19.12 17z"})),RB=on(_.jsx("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})),OB={en:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="16"><rect width="24" height="16" fill="#fff"/><g stroke-width="0"><rect y="0" width="24" height="2" fill="#b22234"/><rect y="3" width="24" height="2" fill="#b22234"/><rect y="6" width="24" height="2" fill="#b22234"/><rect y="9" width="24" height="2" fill="#b22234"/><rect y="12" width="24" height="2" fill="#b22234"/><rect width="10" height="8" fill="#3c3b6e"/></g></svg>',de:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="16"><rect width="24" height="16" fill="#ffce00"/><rect y="0" width="24" height="5.33" fill="#000"/><rect y="5.33" width="24" height="5.33" fill="#dd0000"/></svg>',es:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="16"><rect width="24" height="16" fill="#c60b1e"/><rect y="4" width="24" height="8" fill="#ffc400"/></svg>'},MB=e=>`url("data:image/svg+xml;utf8,${encodeURIComponent(OB[e])}")`,DB=({locale:e,isUrlControlled:t,userOverride:i,switchLabel:a,sourceLabel:o,localeLabels:l,onSelect:c,onReset:f,resetLabel:h,index:p=1})=>{const[g,y]=ti.useState(null),v=!!g,{palette:{text:{secondary:x}}}=Hs(),S=p===0?{}:{position:"absolute",right:12+p*50,top:12};return _.jsxs(_.Fragment,{children:[_.jsx(p4,{"data-testid":"language-switch",size:"small",color:"primary","aria-label":a,onClick:C=>y(C.currentTarget),disabled:t,sx:{boxShadow:"none",color:x,backgroundColor:"rgba(0, 0, 0, 0.04)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.16)"},...S},children:_.jsx(AB,{fontSize:"small"})}),_.jsxs(f2,{anchorEl:g,open:v,onClose:()=>y(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},sx:{".MuiMenu-paper":{width:240},"li.MuiMenuItem-root":{textWrap:"auto"}},children:[Object.keys(l).map(C=>_.jsxs(GS,{"data-testid":`language-${C}`,selected:e===C,onClick:()=>{c(C),y(null)},sx:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:.25},children:[_.jsxs(bt,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:1,width:"100%"},children:[_.jsxs(bt,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(bt,{component:"span","aria-hidden":"true",sx:{width:22,height:14,backgroundImage:MB(C),backgroundSize:"cover",backgroundRepeat:"no-repeat",boxShadow:"0 0 0 1px rgba(0,0,0,0.12)"}}),_.jsx(Yc,{orientation:"vertical",flexItem:!0}),_.jsx(pt,{variant:"body2",children:l[C]})]}),_.jsx(pt,{component:"span",variant:"caption",color:"text.secondary",textAlign:"right",children:C.toUpperCase()})]}),e===C&&_.jsxs(pt,{variant:"caption",color:t?"warning.main":"text.secondary",children:[t?_.jsx(CB,{fontSize:"inherit",sx:{mr:.5,verticalAlign:"middle"}}):null,o]})]},C)),_.jsx(Yc,{sx:{my:.5}}),_.jsxs(GS,{onClick:()=>{f(),y(null)},disabled:t&&!i,sx:{gap:1},children:[_.jsx(EB,{fontSize:"small"}),_.jsx(pt,{variant:"caption",fontSize:"0.8rem",children:h})]})]})]})};function rn(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var _B=typeof Symbol=="function"&&Symbol.observable||"@@observable",zC=_B,Wp=()=>Math.random().toString(36).substring(7).split("").join("."),NB={INIT:`@@redux/INIT${Wp()}`,REPLACE:`@@redux/REPLACE${Wp()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Wp()}`},nf=NB;function Ay(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function TE(e,t,i){if(typeof e!="function")throw new Error(rn(2));if(typeof t=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(rn(0));if(typeof t=="function"&&typeof i>"u"&&(i=t,t=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(rn(1));return i(TE)(e,t)}let a=e,o=t,l=new Map,c=l,f=0,h=!1;function p(){c===l&&(c=new Map,l.forEach((T,D)=>{c.set(D,T)}))}function g(){if(h)throw new Error(rn(3));return o}function y(T){if(typeof T!="function")throw new Error(rn(4));if(h)throw new Error(rn(5));let D=!0;p();const N=f++;return c.set(N,T),function(){if(D){if(h)throw new Error(rn(6));D=!1,p(),c.delete(N),l=null}}}function v(T){if(!Ay(T))throw new Error(rn(7));if(typeof T.type>"u")throw new Error(rn(8));if(typeof T.type!="string")throw new Error(rn(17));if(h)throw new Error(rn(9));try{h=!0,o=a(o,T)}finally{h=!1}return(l=c).forEach(N=>{N()}),T}function x(T){if(typeof T!="function")throw new Error(rn(10));a=T,v({type:nf.REPLACE})}function S(){const T=y;return{subscribe(D){if(typeof D!="object"||D===null)throw new Error(rn(11));function N(){const w=D;w.next&&w.next(g())}return N(),{unsubscribe:T(N)}},[zC](){return this}}}return v({type:nf.INIT}),{dispatch:v,subscribe:y,getState:g,replaceReducer:x,[zC]:S}}function LB(e){Object.keys(e).forEach(t=>{const i=e[t];if(typeof i(void 0,{type:nf.INIT})>"u")throw new Error(rn(12));if(typeof i(void 0,{type:nf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(rn(13))})}function zB(e){const t=Object.keys(e),i={};for(let l=0;l<t.length;l++){const c=t[l];typeof e[c]=="function"&&(i[c]=e[c])}const a=Object.keys(i);let o;try{LB(i)}catch(l){o=l}return function(c={},f){if(o)throw o;let h=!1;const p={};for(let g=0;g<a.length;g++){const y=a[g],v=i[y],x=c[y],S=v(x,f);if(typeof S>"u")throw f&&f.type,new Error(rn(14));p[y]=S,h=h||S!==x}return h=h||a.length!==Object.keys(c).length,h?p:c}}function rf(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,i)=>(...a)=>t(i(...a)))}function kB(...e){return t=>(i,a)=>{const o=t(i,a);let l=()=>{throw new Error(rn(15))};const c={getState:o.getState,dispatch:(h,...p)=>l(h,...p)},f=e.map(h=>h(c));return l=rf(...f)(o.dispatch),{...o,dispatch:l}}}function PB(e){return Ay(e)&&"type"in e&&typeof e.type=="string"}var wE=Symbol.for("immer-nothing"),kC=Symbol.for("immer-draftable"),gn=Symbol.for("immer-state");function pi(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var jn=Object,Us=jn.getPrototypeOf,af="constructor",qf="prototype",Jm="configurable",sf="enumerable",jc="writable",wl="value",cr=e=>!!e&&!!e[gn];function yi(e){return e?EE(e)||Kf(e)||!!e[kC]||!!e[af]?.[kC]||Gf(e)||Yf(e):!1}var jB=jn[qf][af].toString(),PC=new WeakMap;function EE(e){if(!e||!Ry(e))return!1;const t=Us(e);if(t===null||t===jn[qf])return!0;const i=jn.hasOwnProperty.call(t,af)&&t[af];if(i===Object)return!0;if(!Ts(i))return!1;let a=PC.get(i);return a===void 0&&(a=Function.toString.call(i),PC.set(i,a)),a===jB}function Kl(e,t,i=!0){Gl(e)===0?(i?Reflect.ownKeys(e):jn.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((a,o)=>t(o,a,e))}function Gl(e){const t=e[gn];return t?t.type_:Kf(e)?1:Gf(e)?2:Yf(e)?3:0}var jC=(e,t,i=Gl(e))=>i===2?e.has(t):jn[qf].hasOwnProperty.call(e,t),eg=(e,t,i=Gl(e))=>i===2?e.get(t):e[t],of=(e,t,i,a=Gl(e))=>{a===2?e.set(t,i):a===3?e.add(i):e[t]=i};function BB(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var Kf=Array.isArray,Gf=e=>e instanceof Map,Yf=e=>e instanceof Set,Ry=e=>typeof e=="object",Ts=e=>typeof e=="function",Qp=e=>typeof e=="boolean",rr=e=>e.copy_||e.base_,Oy=e=>e.modified_?e.copy_:e.base_;function tg(e,t){if(Gf(e))return new Map(e);if(Yf(e))return new Set(e);if(Kf(e))return Array[qf].slice.call(e);const i=EE(e);if(t===!0||t==="class_only"&&!i){const a=jn.getOwnPropertyDescriptors(e);delete a[gn];let o=Reflect.ownKeys(a);for(let l=0;l<o.length;l++){const c=o[l],f=a[c];f[jc]===!1&&(f[jc]=!0,f[Jm]=!0),(f.get||f.set)&&(a[c]={[Jm]:!0,[jc]:!0,[sf]:f[sf],[wl]:e[c]})}return jn.create(Us(e),a)}else{const a=Us(e);if(a!==null&&i)return{...e};const o=jn.create(a);return jn.assign(o,e)}}function My(e,t=!1){return Xf(e)||cr(e)||!yi(e)||(Gl(e)>1&&jn.defineProperties(e,{set:xc,add:xc,clear:xc,delete:xc}),jn.freeze(e),t&&Kl(e,(i,a)=>{My(a,!0)},!1)),e}function UB(){pi(2)}var xc={[wl]:UB};function Xf(e){return e===null||!Ry(e)?!0:jn.isFrozen(e)}var lf="MapSet",ng="Patches",AE={};function Vs(e){const t=AE[e];return t||pi(0,e),t}var VB=e=>!!AE[e],El,RE=()=>El,$B=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:VB(lf)?Vs(lf):void 0});function BC(e,t){t&&(e.patchPlugin_=Vs(ng),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ig(e){rg(e),e.drafts_.forEach(HB),e.drafts_=null}function rg(e){e===El&&(El=e.parent_)}var UC=e=>El=$B(El,e);function HB(e){const t=e[gn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function VC(e,t){t.unfinalizedDrafts_=t.drafts_.length;const i=t.drafts_[0];if(e!==void 0&&e!==i){i[gn].modified_&&(ig(t),pi(4)),yi(e)&&(e=$C(t,e));const{patchPlugin_:o}=t;o&&o.generateReplacementPatches_(i[gn].base_,e,t)}else e=$C(t,i);return IB(t,e,!0),ig(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==wE?e:void 0}function $C(e,t){if(Xf(t))return t;const i=t[gn];if(!i)return Dy(t,e.handledSet_,e);if(!Wf(i,e))return t;if(!i.modified_)return i.base_;if(!i.finalized_){const{callbacks_:a}=i;if(a)for(;a.length>0;)a.pop()(e);DE(i,e)}return i.copy_}function IB(e,t,i=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&My(t,i)}function OE(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Wf=(e,t)=>e.scope_===t,FB=[];function ME(e,t,i,a){const o=rr(e),l=e.type_;if(a!==void 0&&eg(o,a,l)===t){of(o,a,i,l);return}if(!e.draftLocations_){const f=e.draftLocations_=new Map;Kl(o,(h,p)=>{if(cr(p)){const g=f.get(p)||[];g.push(h),f.set(p,g)}})}const c=e.draftLocations_.get(t)??FB;for(const f of c)of(o,f,i,l)}function qB(e,t,i){e.callbacks_.push(function(o){const l=t;if(!l||!Wf(l,o))return;o.mapSetPlugin_?.fixSetContents(l);const c=Oy(l);ME(e,l.draft_??l,c,i),DE(l,o)})}function DE(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||(e.assigned_?.size??0)>0)){const{patchPlugin_:a}=t;if(a){const o=a.getPath(e);o&&a.generatePatches_(e,o,t)}OE(e)}}function KB(e,t,i){const{scope_:a}=e;if(cr(i)){const o=i[gn];Wf(o,a)&&o.callbacks_.push(function(){Bc(e);const c=Oy(o);ME(e,i,c,t)})}else yi(i)&&e.callbacks_.push(function(){const l=rr(e);eg(l,t,e.type_)===i&&a.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Dy(eg(e.copy_,t,e.type_),a.handledSet_,a)})}function Dy(e,t,i){return!i.immer_.autoFreeze_&&i.unfinalizedDrafts_<1||cr(e)||t.has(e)||!yi(e)||Xf(e)||(t.add(e),Kl(e,(a,o)=>{if(cr(o)){const l=o[gn];if(Wf(l,i)){const c=Oy(l);of(e,a,c,e.type_),OE(l)}}else yi(o)&&Dy(o,t,i)})),e}function GB(e,t){const i=Kf(e),a={type_:i?1:0,scope_:t?t.scope_:RE(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=a,l=_y;i&&(o=[a],l=Al);const{revoke:c,proxy:f}=Proxy.revocable(o,l);return a.draft_=f,a.revoke_=c,[f,a]}var _y={get(e,t){if(t===gn)return e;const i=rr(e);if(!jC(i,t,e.type_))return YB(e,i,t);const a=i[t];if(e.finalized_||!yi(a))return a;if(a===Zp(e.base_,t)){Bc(e);const o=e.type_===1?+t:t,l=sg(e.scope_,a,e,o);return e.copy_[o]=l}return a},has(e,t){return t in rr(e)},ownKeys(e){return Reflect.ownKeys(rr(e))},set(e,t,i){const a=_E(rr(e),t);if(a?.set)return a.set.call(e.draft_,i),!0;if(!e.modified_){const o=Zp(rr(e),t),l=o?.[gn];if(l&&l.base_===i)return e.copy_[t]=i,e.assigned_.set(t,!1),!0;if(BB(i,o)&&(i!==void 0||jC(e.base_,t,e.type_)))return!0;Bc(e),ag(e)}return e.copy_[t]===i&&(i!==void 0||t in e.copy_)||Number.isNaN(i)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=i,e.assigned_.set(t,!0),KB(e,t,i)),!0},deleteProperty(e,t){return Bc(e),Zp(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),ag(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const i=rr(e),a=Reflect.getOwnPropertyDescriptor(i,t);return a&&{[jc]:!0,[Jm]:e.type_!==1||t!=="length",[sf]:a[sf],[wl]:i[t]}},defineProperty(){pi(11)},getPrototypeOf(e){return Us(e.base_)},setPrototypeOf(){pi(12)}},Al={};Kl(_y,(e,t)=>{Al[e]=function(){const i=arguments;return i[0]=i[0][0],t.apply(this,i)}});Al.deleteProperty=function(e,t){return Al.set.call(this,e,t,void 0)};Al.set=function(e,t,i){return _y.set.call(this,e[0],t,i,e[0])};function Zp(e,t){const i=e[gn];return(i?rr(i):e)[t]}function YB(e,t,i){const a=_E(t,i);return a?wl in a?a[wl]:a.get?.call(e.draft_):void 0}function _E(e,t){if(!(t in e))return;let i=Us(e);for(;i;){const a=Object.getOwnPropertyDescriptor(i,t);if(a)return a;i=Us(i)}}function ag(e){e.modified_||(e.modified_=!0,e.parent_&&ag(e.parent_))}function Bc(e){e.copy_||(e.assigned_=new Map,e.copy_=tg(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var XB=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,i,a)=>{if(Ts(t)&&!Ts(i)){const l=i;i=t;const c=this;return function(h=l,...p){return c.produce(h,g=>i.call(this,g,...p))}}Ts(i)||pi(6),a!==void 0&&!Ts(a)&&pi(7);let o;if(yi(t)){const l=UC(this),c=sg(l,t,void 0);let f=!0;try{o=i(c),f=!1}finally{f?ig(l):rg(l)}return BC(l,a),VC(o,l)}else if(!t||!Ry(t)){if(o=i(t),o===void 0&&(o=t),o===wE&&(o=void 0),this.autoFreeze_&&My(o,!0),a){const l=[],c=[];Vs(ng).generateReplacementPatches_(t,o,{patches_:l,inversePatches_:c}),a(l,c)}return o}else pi(1,t)},this.produceWithPatches=(t,i)=>{if(Ts(t))return(c,...f)=>this.produceWithPatches(c,h=>t(h,...f));let a,o;return[this.produce(t,i,(c,f)=>{a=c,o=f}),a,o]},Qp(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Qp(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Qp(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){yi(e)||pi(8),cr(e)&&(e=WB(e));const t=UC(this),i=sg(t,e,void 0);return i[gn].isManual_=!0,rg(t),i}finishDraft(e,t){const i=e&&e[gn];(!i||!i.isManual_)&&pi(9);const{scope_:a}=i;return BC(a,t),VC(void 0,a)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let i;for(i=t.length-1;i>=0;i--){const o=t[i];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}i>-1&&(t=t.slice(i+1));const a=Vs(ng).applyPatches_;return cr(e)?a(e,t):this.produce(e,o=>a(o,t))}};function sg(e,t,i,a){const[o,l]=Gf(t)?Vs(lf).proxyMap_(t,i):Yf(t)?Vs(lf).proxySet_(t,i):GB(t,i);return(i?.scope_??RE()).drafts_.push(o),l.callbacks_=i?.callbacks_??[],l.key_=a,i&&a!==void 0?qB(i,l,a):l.callbacks_.push(function(h){h.mapSetPlugin_?.fixSetContents(l);const{patchPlugin_:p}=h;l.modified_&&p&&p.generatePatches_(l,[],h)}),o}function WB(e){return cr(e)||pi(10,e),NE(e)}function NE(e){if(!yi(e)||Xf(e))return e;const t=e[gn];let i,a=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,i=tg(e,t.scope_.immer_.useStrictShallowCopy_),a=t.scope_.immer_.shouldUseStrictIteration()}else i=tg(e,!0);return Kl(i,(o,l)=>{of(i,o,NE(l))},a),t&&(t.finalized_=!1),i}var QB=new XB,LE=QB.produce;function zE(e){return({dispatch:i,getState:a})=>o=>l=>typeof l=="function"?l(i,a,e):o(l)}var ZB=zE(),JB=zE,eU=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?rf:rf.apply(null,arguments)};function HC(e,t){function i(...a){if(t){let o=t(...a);if(!o)throw new Error(ar(0));return{type:e,payload:o.payload,..."meta"in o&&{meta:o.meta},..."error"in o&&{error:o.error}}}return{type:e,payload:a[0]}}return i.toString=()=>`${e}`,i.type=e,i.match=a=>PB(a)&&a.type===e,i}var kE=class rl extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,rl.prototype)}static get[Symbol.species](){return rl}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new rl(...t[0].concat(this)):new rl(...t.concat(this))}};function IC(e){return yi(e)?LE(e,()=>{}):e}function Cc(e,t,i){return e.has(t)?e.get(t):e.set(t,i(t)).get(t)}function tU(e){return typeof e=="boolean"}var nU=()=>function(t){const{thunk:i=!0,immutableCheck:a=!0,serializableCheck:o=!0,actionCreatorCheck:l=!0}=t??{};let c=new kE;return i&&(tU(i)?c.push(ZB):c.push(JB(i.extraArgument))),c},iU="RTK_autoBatch",FC=e=>t=>{setTimeout(t,e)},rU=(e={type:"raf"})=>t=>(...i)=>{const a=t(...i);let o=!0,l=!1,c=!1;const f=new Set,h=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:FC(10):e.type==="callback"?e.queueNotification:FC(e.timeout),p=()=>{c=!1,l&&(l=!1,f.forEach(g=>g()))};return Object.assign({},a,{subscribe(g){const y=()=>o&&g(),v=a.subscribe(y);return f.add(g),()=>{v(),f.delete(g)}},dispatch(g){try{return o=!g?.meta?.[iU],l=!o,l&&(c||(c=!0,h(p))),a.dispatch(g)}finally{o=!0}}})},aU=e=>function(i){const{autoBatch:a=!0}=i??{};let o=new kE(e);return a&&o.push(rU(typeof a=="object"?a:void 0)),o};function sU(e){const t=nU(),{reducer:i=void 0,middleware:a,devTools:o=!0,preloadedState:l=void 0,enhancers:c=void 0}=e||{};let f;if(typeof i=="function")f=i;else if(Ay(i))f=zB(i);else throw new Error(ar(1));let h;typeof a=="function"?h=a(t):h=t();let p=rf;o&&(p=eU({trace:!1,...typeof o=="object"&&o}));const g=kB(...h),y=aU(g);let v=typeof c=="function"?c(y):y();const x=p(...v);return TE(f,l,x)}function PE(e){const t={},i=[];let a;const o={addCase(l,c){const f=typeof l=="string"?l:l.type;if(!f)throw new Error(ar(28));if(f in t)throw new Error(ar(29));return t[f]=c,o},addAsyncThunk(l,c){return c.pending&&(t[l.pending.type]=c.pending),c.rejected&&(t[l.rejected.type]=c.rejected),c.fulfilled&&(t[l.fulfilled.type]=c.fulfilled),c.settled&&i.push({matcher:l.settled,reducer:c.settled}),o},addMatcher(l,c){return i.push({matcher:l,reducer:c}),o},addDefaultCase(l){return a=l,o}};return e(o),[t,i,a]}function oU(e){return typeof e=="function"}function lU(e,t){let[i,a,o]=PE(t),l;if(oU(e))l=()=>IC(e());else{const f=IC(e);l=()=>f}function c(f=l(),h){let p=[i[h.type],...a.filter(({matcher:g})=>g(h)).map(({reducer:g})=>g)];return p.filter(g=>!!g).length===0&&(p=[o]),p.reduce((g,y)=>{if(y)if(cr(g)){const x=y(g,h);return x===void 0?g:x}else{if(yi(g))return LE(g,v=>y(v,h));{const v=y(g,h);if(v===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return v}}return g},f)}return c.getInitialState=l,c}var uU=Symbol.for("rtk-slice-createasyncthunk");function cU(e,t){return`${e}/${t}`}function fU({creators:e}={}){const t=e?.asyncThunk?.[uU];return function(a){const{name:o,reducerPath:l=o}=a;if(!o)throw new Error(ar(11));const c=(typeof a.reducers=="function"?a.reducers(pU()):a.reducers)||{},f=Object.keys(c),h={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(R,w){const M=typeof R=="string"?R:R.type;if(!M)throw new Error(ar(12));if(M in h.sliceCaseReducersByType)throw new Error(ar(13));return h.sliceCaseReducersByType[M]=w,p},addMatcher(R,w){return h.sliceMatchers.push({matcher:R,reducer:w}),p},exposeAction(R,w){return h.actionCreators[R]=w,p},exposeCaseReducer(R,w){return h.sliceCaseReducersByName[R]=w,p}};f.forEach(R=>{const w=c[R],M={reducerName:R,type:cU(o,R),createNotation:typeof a.reducers=="function"};gU(w)?vU(M,w,p,t):mU(M,w,p)});function g(){const[R={},w=[],M=void 0]=typeof a.extraReducers=="function"?PE(a.extraReducers):[a.extraReducers],L={...R,...h.sliceCaseReducersByType};return lU(a.initialState,P=>{for(let U in L)P.addCase(U,L[U]);for(let U of h.sliceMatchers)P.addMatcher(U.matcher,U.reducer);for(let U of w)P.addMatcher(U.matcher,U.reducer);M&&P.addDefaultCase(M)})}const y=R=>R,v=new Map,x=new WeakMap;let S;function C(R,w){return S||(S=g()),S(R,w)}function T(){return S||(S=g()),S.getInitialState()}function D(R,w=!1){function M(P){let U=P[R];return typeof U>"u"&&w&&(U=Cc(x,M,T)),U}function L(P=y){const U=Cc(v,w,()=>new WeakMap);return Cc(U,P,()=>{const G={};for(const[Q,J]of Object.entries(a.selectors??{}))G[Q]=dU(J,P,()=>Cc(x,P,T),w);return G})}return{reducerPath:R,getSelectors:L,get selectors(){return L(M)},selectSlice:M}}const N={name:o,reducer:C,actions:h.actionCreators,caseReducers:h.sliceCaseReducersByName,getInitialState:T,...D(l),injectInto(R,{reducerPath:w,...M}={}){const L=w??l;return R.inject({reducerPath:L,reducer:C},M),{...N,...D(L,!0)}}};return N}}function dU(e,t,i,a){function o(l,...c){let f=t(l);return typeof f>"u"&&a&&(f=i()),e(f,...c)}return o.unwrapped=e,o}var hU=fU();function pU(){function e(t,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...i}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...i){return t(...i)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:i}},asyncThunk:e}}function mU({type:e,reducerName:t,createNotation:i},a,o){let l,c;if("reducer"in a){if(i&&!yU(a))throw new Error(ar(17));l=a.reducer,c=a.prepare}else l=a;o.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,c?HC(e,c):HC(e))}function gU(e){return e._reducerDefinitionType==="asyncThunk"}function yU(e){return e._reducerDefinitionType==="reducerWithPrepare"}function vU({type:e,reducerName:t},i,a,o){if(!o)throw new Error(ar(18));const{payloadCreator:l,fulfilled:c,pending:f,rejected:h,settled:p,options:g}=i,y=o(e,l,g);a.exposeAction(t,y),c&&a.addCase(y.fulfilled,c),f&&a.addCase(y.pending,f),h&&a.addCase(y.rejected,h),p&&a.addMatcher(y.settled,p),a.exposeCaseReducer(t,{fulfilled:c||Tc,pending:f||Tc,rejected:h||Tc,settled:p||Tc})}function Tc(){}function ar(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const bU=["en","de"],fr="en",og="dqm.locale",SU="dqmUiLang",Jp=e=>{if(!e)return null;const i=e.toLowerCase().split("-")[0];return bU.includes(i)?i:null},Rl=(e,t,i,a=fr)=>{const o=new URLSearchParams(e||""),l=Jp(o.get(SU));if(l)return{locale:l,source:"url",userOverride:!1};const c=Jp(t);if(c)return{locale:c,source:"user",userOverride:!0};const f=Jp(i);return f?{locale:f,source:"navigator",userOverride:!1}:{locale:a,source:"default",userOverride:!1}},bs=e=>{typeof window>"u"||(e?localStorage.setItem(og,e):localStorage.removeItem(og))},uf=()=>typeof window>"u"?null:localStorage.getItem(og),xU=()=>typeof window>"u"?{locale:fr,source:"default",userOverride:!1}:Rl(window.location.search,uf(),navigator.language,fr),CU=xU(),jE=hU({name:"locale",initialState:CU,reducers:{setResolvedLocale:(e,t)=>{const i=t.payload;e.locale=i.locale,e.source=i.source,e.userOverride=i.userOverride,i.userOverride?bs(i.locale):i.source!=="user"&&bs(null)},setUserLocale:(e,t)=>{e.locale=t.payload,e.source="user",e.userOverride=!0,bs(t.payload)},applyNavigatorLocale:e=>{if(typeof window>"u"||e.userOverride||e.source==="url")return;const t=Rl(window.location.search,uf(),navigator.language,fr);e.locale=t.locale,e.source=t.source,e.userOverride=t.userOverride,t.userOverride?bs(t.locale):bs(null)},resetLocale:e=>{if(typeof window>"u")return;bs(null);const t=Rl(window.location.search,null,navigator.language,fr);e.locale=t.locale,e.source=t.source,e.userOverride=t.userOverride}}}),{setResolvedLocale:qC,setUserLocale:TU,applyNavigatorLocale:wU,resetLocale:EU}=jE.actions,AU=jE.reducer,KC={url:"common:source_url",user:"common:source_user",navigator:"common:source_navigator",default:"common:source_default"},Uc=({index:e=0})=>{const{t}=$g(["common"]),a=A.useContext(g2)?.store,[o,l]=A.useState(()=>a?.getState()?.locale);if(A.useEffect(()=>a?(l(a.getState().locale),a.subscribe(()=>{l(a.getState().locale)})):void 0,[a]),!a||!o)return null;const{locale:c,source:f,userOverride:h}=o,p=S=>{a.dispatch(TU(S))},g=()=>{a.dispatch(EU()),a.dispatch(wU())},y=f==="url",v=KC[f]??KC.default,x=A.useMemo(()=>({en:t("common:language_en"),de:t("common:language_de")}),[t]);return _.jsx(DB,{locale:c,isUrlControlled:y,userOverride:!!h,switchLabel:t("common:language_switch_label"),sourceLabel:t(v),localeLabels:x,onSelect:p,onReset:g,resetLabel:t("common:reset"),index:e})},RU=()=>{const e=Hs(),{t}=$g(["server","common"]),[i,a]=A.useState(!1),[o,l]=A.useState(null),[c,f]=A.useState(""),[h,p]=A.useState(""),[g,y]=A.useState(!0),[v,x]=A.useState(null);A.useEffect(()=>{if(!v||v.paused)return;if(v.countdown===0){const w=new URLSearchParams(window.location.search).get("returnUrl")||"http://localhost:5173",M=new URL(w);M.searchParams.set("sessionToken",v.token),M.searchParams.set("websiteId",v.websiteId),M.searchParams.set("dqm","true"),window.location.href=M.toString();return}const N=setTimeout(()=>{x(R=>R?{...R,countdown:R.countdown-1}:null)},1e3);return()=>clearTimeout(N)},[v]);const S=()=>{x(N=>N?{...N,paused:!N.paused}:null)},C=()=>{localStorage.removeItem("dqm_stored_session_token"),localStorage.removeItem("dqm_stored_website_id"),x(null),y(!1)},T=()=>{if(!v)return;const R=new URLSearchParams(window.location.search).get("returnUrl")||"http://localhost:5173",w=new URL(R);w.searchParams.set("sessionToken",v.token),w.searchParams.set("websiteId",v.websiteId),w.searchParams.set("dqm","true"),window.location.href=w.toString()};A.useEffect(()=>{(async()=>{try{const R=localStorage.getItem("dqm_stored_session_token"),w=localStorage.getItem("dqm_stored_website_id");if(R&&w)if(console.log("[LoginPage] 🔍 Found stored session, validating..."),(await Mt.post("/auth/token/validate",{sessionToken:R})).data.valid){console.log("[LoginPage] ✅ Stored session is valid, showing auto-redirect screen..."),x({websiteId:w,token:R,countdown:5,paused:!1}),y(!1);return}else console.log("[LoginPage] ⚠️ Stored session expired, need new login"),localStorage.removeItem("dqm_stored_session_token"),localStorage.removeItem("dqm_stored_website_id")}catch(R){console.error("[LoginPage] Error checking session:",R),localStorage.removeItem("dqm_stored_session_token"),localStorage.removeItem("dqm_stored_website_id")}finally{y(!1)}})()},[]);const D=async N=>{N.preventDefault(),a(!0),l(null);try{const w=(await Mt.post("/auth/login",{apiKey:c,websiteId:h})).data;console.log("[LoginPage] ✅ Login successful"),console.log("[LoginPage] Session token:",w.sessionToken?.substring(0,20)+"..."),localStorage.setItem("dqm_stored_session_token",w.sessionToken),localStorage.setItem("dqm_stored_website_id",w.websiteId),console.log("[LoginPage] 💾 Session stored for SSO");const L=new URLSearchParams(window.location.search).get("returnUrl")||localStorage.getItem("dqm_return_url")||"http://localhost:5173";console.log("[LoginPage] 🔄 Redirecting back to:",L);const P=new URL(L);P.searchParams.set("sessionToken",w.sessionToken),P.searchParams.set("websiteId",w.websiteId),P.searchParams.set("dqm","true"),window.location.href=P.toString()}catch(R){const w=R.response?.data?.message||R.message||t("server:auth_failed");l(w),console.error("[LoginPage] ❌ Login error:",w)}finally{a(!1)}};return g?_.jsxs(bt,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",background:`linear-gradient(135deg, ${St(e.palette.primary.main,.1)} 0%, ${St(e.palette.secondary.main,.1)} 100%)`},children:[_.jsx(bt,{sx:{position:"absolute",top:16,right:16},children:_.jsx(Uc,{})}),_.jsxs(pa,{alignItems:"center",spacing:2,children:[_.jsx(Ns,{size:60}),_.jsx(pt,{variant:"h6",color:"text.secondary",children:t("server:checking_session")})]})]}):v?_.jsxs(bt,{sx:{minHeight:"100vh",display:"flex",background:`linear-gradient(135deg, ${St(e.palette.primary.main,.1)} 0%, ${St(e.palette.secondary.main,.1)} 100%)`,position:"relative",overflow:"hidden"},children:[_.jsx(bt,{sx:{position:"absolute",top:16,right:16,zIndex:2},children:_.jsx(Uc,{})}),_.jsx(bt,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundImage:"url(https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&q=80&w=2070)",backgroundSize:"cover",backgroundPosition:"center",opacity:.15,zIndex:0}}),_.jsx(Sm,{maxWidth:"sm",sx:{position:"relative",zIndex:1,display:"flex",alignItems:"center",py:4},children:_.jsx(vs.div,{initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},transition:{duration:.5,ease:"easeOut"},style:{width:"100%"},children:_.jsx(vm,{elevation:24,sx:{width:"100%",backdropFilter:"blur(20px)",backgroundColor:St(e.palette.background.paper,.95),borderRadius:4,overflow:"hidden"},children:_.jsx(bm,{sx:{p:4},children:_.jsxs(pa,{spacing:4,alignItems:"center",children:[_.jsx(vs.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{duration:.6,delay:.2,type:"spring",stiffness:200,damping:15},children:_.jsxs(bt,{sx:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center"},children:[_.jsx(Ns,{variant:"determinate",value:(100-(5-v.countdown)/5)*100,size:120,thickness:2,sx:{color:e.palette.success.main,position:"absolute",transition:"all 0.8s ease-in-out"}}),_.jsx(bt,{sx:{width:100,height:100,borderRadius:"50%",background:`linear-gradient(135deg, ${e.palette.success.main} 0%, ${e.palette.success.dark} 100%)`,display:"flex",alignItems:"center",justifyContent:"center",boxShadow:`0 0 30px ${St(e.palette.success.main,.4)}`},children:_.jsx(LC,{sx:{fontSize:50,color:"white"}})})]})}),_.jsxs(vs.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3},style:{textAlign:"center"},children:[_.jsx(pt,{variant:"h4",gutterBottom:!0,fontWeight:700,color:"success.main",children:t("server:already_logged_in")}),_.jsx(pt,{variant:"body1",color:"text.secondary",children:t("server:already_auth")})]}),_.jsx(vs.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.5,delay:.4},style:{width:"100%"},children:_.jsx(bt,{sx:{width:"100%",p:2,borderRadius:2,backgroundColor:St(e.palette.info.main,.05),border:`1px solid ${St(e.palette.info.main,.2)}`},children:_.jsxs(pa,{spacing:1,children:[_.jsxs(bt,{sx:{display:"flex",justifyContent:"space-between"},children:[_.jsx(pt,{variant:"body2",color:"text.secondary",children:t("server:session_website_id")}),_.jsxs(pt,{variant:"body2",fontWeight:600,children:[v.websiteId.substring(0,20),"..."]})]}),_.jsxs(bt,{sx:{display:"flex",justifyContent:"space-between"},children:[_.jsx(pt,{variant:"body2",color:"text.secondary",children:t("server:session_label")}),_.jsx(pt,{variant:"body2",fontWeight:600,color:"success.main",children:t("server:session_active")})]})]})})}),_.jsxs(bt,{sx:{textAlign:"center",minHeight:120},children:[_.jsx(VP,{mode:"wait",children:_.jsx(vs.div,{initial:{scale:1.5,opacity:0,y:-20},animate:{scale:1,opacity:1,y:0},exit:{scale:.5,opacity:0,y:20},transition:{duration:.4,type:"spring",stiffness:300,damping:20},children:_.jsx(pt,{variant:"h1",fontWeight:700,color:"primary.main",sx:{fontSize:"6rem",lineHeight:1,textShadow:`0 0 20px ${St(e.palette.primary.main,.3)}`},children:v.countdown})},v.countdown)}),_.jsx(pt,{variant:"body2",color:"text.secondary",sx:{mt:2},children:t("server:redirecting_in",{count:v.countdown})})]}),_.jsx(vs.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.5},style:{width:"100%"},children:_.jsxs(pa,{spacing:2,sx:{width:"100%"},children:[_.jsxs(pa,{direction:"row",spacing:2,children:[_.jsx(hc,{fullWidth:!0,variant:"contained",color:v.paused?"success":"warning",onClick:S,startIcon:v.paused?_.jsx(wB,{}):_.jsx(TB,{}),sx:{background:v.paused?`linear-gradient(135deg, ${e.palette.success.main} 0%, ${e.palette.success.dark} 100%)`:`linear-gradient(135deg, ${e.palette.warning.main} 0%, ${e.palette.warning.dark} 100%)`,"&:hover":{transform:"translateY(-2px)",boxShadow:v.paused?`0 8px 20px ${St(e.palette.success.main,.4)}`:`0 8px 20px ${St(e.palette.warning.main,.4)}`},transition:"all 0.3s ease"},children:v.paused?t("server:resume"):t("server:pause")}),_.jsx(hc,{fullWidth:!0,variant:"contained",color:"primary",onClick:T,startIcon:_.jsx(xB,{}),sx:{background:`linear-gradient(135deg, ${e.palette.primary.main} 0%, ${e.palette.primary.dark} 100%)`,"&:hover":{background:`linear-gradient(135deg, ${e.palette.primary.dark} 0%, ${e.palette.primary.main} 100%)`,transform:"translateY(-2px)",boxShadow:`0 8px 20px ${St(e.palette.primary.main,.4)}`},transition:"all 0.3s ease"},children:t("server:continue")})]}),_.jsx(hc,{fullWidth:!0,variant:"outlined",color:"error",startIcon:_.jsx(NC,{}),onClick:C,children:t("server:logout")})]})})]})})})})})]}):_.jsxs(bt,{sx:{minHeight:"100vh",display:"flex",background:`linear-gradient(135deg, ${St(e.palette.primary.main,.1)} 0%, ${St(e.palette.secondary.main,.1)} 100%)`,position:"relative",overflow:"hidden"},children:[_.jsx(bt,{sx:{position:"absolute",top:16,right:16,zIndex:2},children:_.jsx(Uc,{})}),_.jsx(bt,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundImage:"url(https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&q=80&w=2070)",backgroundSize:"cover",backgroundPosition:"center",opacity:.15,zIndex:0}}),_.jsx(Sm,{maxWidth:"sm",sx:{position:"relative",zIndex:1,display:"flex",alignItems:"center",py:4},children:_.jsxs(vm,{elevation:24,sx:{width:"100%",backdropFilter:"blur(20px)",backgroundColor:St(e.palette.background.paper,.95),borderRadius:4,overflow:"hidden"},children:[_.jsxs(bt,{sx:{background:`linear-gradient(135deg, ${e.palette.primary.main} 0%, ${e.palette.primary.dark} 100%)`,color:"white",p:4,textAlign:"center"},children:[_.jsx(NC,{sx:{fontSize:64,mb:2,opacity:.9}}),_.jsx(pt,{variant:"h4",fontWeight:"bold",gutterBottom:!0,children:t("server:brand_title")}),_.jsx(pt,{variant:"body2",sx:{opacity:.9},children:t("server:brand_subtitle")})]}),_.jsxs(bm,{sx:{p:4},children:[o&&_.jsx(a2,{severity:"error",sx:{mb:3},children:o}),_.jsx("form",{onSubmit:D,children:_.jsxs(pa,{spacing:3,children:[_.jsxs(bt,{textAlign:"center",children:[_.jsx(pt,{variant:"h6",gutterBottom:!0,children:t("server:login_heading")}),_.jsx(pt,{variant:"body2",color:"text.secondary",children:t("server:login_subheading")})]}),_.jsx(QS,{autoComplete:"username",label:t("server:website_id"),fullWidth:!0,type:"text",required:!0,value:h,onChange:N=>p(N.target.value),disabled:i,placeholder:t("server:website_id")}),_.jsx(QS,{label:t("server:api_key"),type:"password",fullWidth:!0,required:!0,value:c,onChange:N=>f(N.target.value),disabled:i,placeholder:t("server:api_key"),InputProps:{startAdornment:_.jsx(RB,{sx:{mr:1,color:"text.secondary"}})}}),_.jsx(hc,{type:"submit",variant:"contained",size:"large",fullWidth:!0,disabled:i||!c||!h,startIcon:i?_.jsx(Ns,{size:20}):_.jsx(LC,{}),sx:{py:1.5,textTransform:"none",fontSize:"1rem",fontWeight:600,boxShadow:e.shadows[4],"&:hover":{boxShadow:e.shadows[8]}},children:t(i?"server:signin_loading":"server:sign_in")}),_.jsx(bt,{textAlign:"center",mt:2,children:_.jsx(pt,{variant:"caption",color:"text.secondary",children:t("server:credentials_note")})})]})})]}),_.jsx(bt,{sx:{p:2,textAlign:"center",borderTop:1,borderColor:"divider",backgroundColor:St(e.palette.background.default,.5)},children:_.jsx(pt,{variant:"caption",color:"text.secondary",children:t("server:footer")})})]})})]})},OU=()=>{const e=Hs(),{t}=$g(["server","common"]),[i,a]=A.useState("loading"),[o,l]=A.useState(t("server:processing_auth"));return A.useEffect(()=>{(async()=>{try{const f=new URLSearchParams(window.location.search),h=f.get("code"),p=f.get("state"),g=f.get("error");if(g)throw new Error(f.get("error_description")||g);if(!h||!p)throw new Error("Missing authorization code or state parameter");const y=sessionStorage.getItem("auth_state");if(p!==y)throw new Error("Invalid state parameter - possible CSRF attack");const v=await fetch("/auth/callback",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:h,redirectUri:window.location.origin+"/auth/callback"})});if(!v.ok){const S=await v.json();throw new Error(S.message||"Token exchange failed")}const x=await v.json();localStorage.setItem("dqm_sessionToken",x.sessionToken),sessionStorage.removeItem("auth_state"),(window.opener||window.parent!==window)&&(window.opener||window.parent).postMessage({type:"DQM_AUTH_SUCCESS",sessionToken:x.sessionToken,websiteId:x.websiteId},"*"),a("success"),l(t("server:auth_close")),window.opener&&setTimeout(()=>{window.close()},2e3)}catch(f){console.error("[Auth Callback] Error:",f),a("error"),l(f instanceof Error?f.message:"Authentication failed")}})()},[]),_.jsxs(bt,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",background:`linear-gradient(135deg, ${St(e.palette.primary.main,.1)} 0%, ${St(e.palette.secondary.main,.1)} 100%)`},children:[_.jsx(bt,{sx:{position:"absolute",top:16,right:16},children:_.jsx(Uc,{})}),_.jsx(Sm,{maxWidth:"sm",children:_.jsx(vm,{elevation:8,sx:{backdropFilter:"blur(20px)",backgroundColor:St(e.palette.background.paper,.95),borderRadius:4},children:_.jsx(bm,{sx:{p:6},children:_.jsxs(pa,{spacing:4,alignItems:"center",textAlign:"center",children:[i==="loading"&&_.jsxs(_.Fragment,{children:[_.jsx(Ns,{size:64,thickness:4}),_.jsx(pt,{variant:"h5",fontWeight:"600",children:t("server:auth_loading")}),_.jsx(pt,{variant:"body2",color:"text.secondary",children:t("server:auth_wait")})]}),i==="success"&&_.jsxs(_.Fragment,{children:[_.jsx(bB,{sx:{fontSize:80,color:e.palette.success.main}}),_.jsx(pt,{variant:"h5",fontWeight:"600",color:"success.main",children:t("server:auth_success")}),_.jsx(pt,{variant:"body1",color:"text.secondary",children:o})]}),i==="error"&&_.jsxs(_.Fragment,{children:[_.jsx(SB,{sx:{fontSize:80,color:e.palette.error.main}}),_.jsx(pt,{variant:"h5",fontWeight:"600",color:"error.main",children:t("server:auth_failed")}),_.jsx(a2,{severity:"error",sx:{width:"100%"},children:o}),_.jsx(pt,{variant:"body2",color:"text.secondary",children:t("server:auth_retry")})]})]})})})})]})},ws=sU({reducer:{locale:AU}}),Ee=e=>typeof e=="string",Zo=()=>{let e,t;const i=new Promise((a,o)=>{e=a,t=o});return i.resolve=e,i.reject=t,i},GC=e=>e==null?"":""+e,MU=(e,t,i)=>{e.forEach(a=>{t[a]&&(i[a]=t[a])})},DU=/###/g,YC=e=>e&&e.indexOf("###")>-1?e.replace(DU,"."):e,XC=e=>!e||Ee(e),dl=(e,t,i)=>{const a=Ee(t)?t.split("."):t;let o=0;for(;o<a.length-1;){if(XC(e))return{};const l=YC(a[o]);!e[l]&&i&&(e[l]=new i),Object.prototype.hasOwnProperty.call(e,l)?e=e[l]:e={},++o}return XC(e)?{}:{obj:e,k:YC(a[o])}},WC=(e,t,i)=>{const{obj:a,k:o}=dl(e,t,Object);if(a!==void 0||t.length===1){a[o]=i;return}let l=t[t.length-1],c=t.slice(0,t.length-1),f=dl(e,c,Object);for(;f.obj===void 0&&c.length;)l=`${c[c.length-1]}.${l}`,c=c.slice(0,c.length-1),f=dl(e,c,Object),f&&f.obj&&typeof f.obj[`${f.k}.${l}`]<"u"&&(f.obj=void 0);f.obj[`${f.k}.${l}`]=i},_U=(e,t,i,a)=>{const{obj:o,k:l}=dl(e,t,Object);o[l]=o[l]||[],o[l].push(i)},cf=(e,t)=>{const{obj:i,k:a}=dl(e,t);if(i)return i[a]},NU=(e,t,i)=>{const a=cf(e,i);return a!==void 0?a:cf(t,i)},BE=(e,t,i)=>{for(const a in t)a!=="__proto__"&&a!=="constructor"&&(a in e?Ee(e[a])||e[a]instanceof String||Ee(t[a])||t[a]instanceof String?i&&(e[a]=t[a]):BE(e[a],t[a],i):e[a]=t[a]);return e},Ss=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var LU={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const zU=e=>Ee(e)?e.replace(/[&<>"'\/]/g,t=>LU[t]):e;class kU{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const i=this.regExpMap.get(t);if(i!==void 0)return i;const a=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,a),this.regExpQueue.push(t),a}}const PU=[" ",",","?","!",";"],jU=new kU(20),BU=(e,t,i)=>{t=t||"",i=i||"";const a=PU.filter(c=>t.indexOf(c)<0&&i.indexOf(c)<0);if(a.length===0)return!0;const o=jU.getRegExp(`(${a.map(c=>c==="?"?"\\?":c).join("|")})`);let l=!o.test(e);if(!l){const c=e.indexOf(i);c>0&&!o.test(e.substring(0,c))&&(l=!0)}return l},lg=function(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const a=t.split(i);let o=e;for(let l=0;l<a.length;){if(!o||typeof o!="object")return;let c,f="";for(let h=l;h<a.length;++h)if(h!==l&&(f+=i),f+=a[h],c=o[f],c!==void 0){if(["string","number","boolean"].indexOf(typeof c)>-1&&h<a.length-1)continue;l+=h-l+1;break}o=c}return o},ff=e=>e&&e.replace("_","-"),UU={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class df{constructor(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,i)}init(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=i.prefix||"i18next:",this.logger=t||UU,this.options=i,this.debug=i.debug}log(){for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return this.forward(i,"log","",!0)}warn(){for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return this.forward(i,"warn","",!0)}error(){for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return this.forward(i,"error","")}deprecate(){for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return this.forward(i,"warn","WARNING DEPRECATED: ",!0)}forward(t,i,a,o){return o&&!this.debug?null:(Ee(t[0])&&(t[0]=`${a}${this.prefix} ${t[0]}`),this.logger[i](t))}create(t){return new df(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new df(this.logger,t)}}var Di=new df;class Qf{constructor(){this.observers={}}on(t,i){return t.split(" ").forEach(a=>{this.observers[a]||(this.observers[a]=new Map);const o=this.observers[a].get(i)||0;this.observers[a].set(i,o+1)}),this}off(t,i){if(this.observers[t]){if(!i){delete this.observers[t];return}this.observers[t].delete(i)}}emit(t){for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(c=>{let[f,h]=c;for(let p=0;p<h;p++)f(...a)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(c=>{let[f,h]=c;for(let p=0;p<h;p++)f.apply(f,[t,...a])})}}class QC extends Qf{constructor(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=i,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const i=this.options.ns.indexOf(t);i>-1&&this.options.ns.splice(i,1)}getResource(t,i,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const l=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,c=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let f;t.indexOf(".")>-1?f=t.split("."):(f=[t,i],a&&(Array.isArray(a)?f.push(...a):Ee(a)&&l?f.push(...a.split(l)):f.push(a)));const h=cf(this.data,f);return!h&&!i&&!a&&t.indexOf(".")>-1&&(t=f[0],i=f[1],a=f.slice(2).join(".")),h||!c||!Ee(a)?h:lg(this.data&&this.data[t]&&this.data[t][i],a,l)}addResource(t,i,a,o){let l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const c=l.keySeparator!==void 0?l.keySeparator:this.options.keySeparator;let f=[t,i];a&&(f=f.concat(c?a.split(c):a)),t.indexOf(".")>-1&&(f=t.split("."),o=i,i=f[1]),this.addNamespaces(i),WC(this.data,f,o),l.silent||this.emit("added",t,i,a,o)}addResources(t,i,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const l in a)(Ee(a[l])||Array.isArray(a[l]))&&this.addResource(t,i,l,a[l],{silent:!0});o.silent||this.emit("added",t,i,a)}addResourceBundle(t,i,a,o,l){let c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},f=[t,i];t.indexOf(".")>-1&&(f=t.split("."),o=a,a=i,i=f[1]),this.addNamespaces(i);let h=cf(this.data,f)||{};c.skipCopy||(a=JSON.parse(JSON.stringify(a))),o?BE(h,a,l):h={...h,...a},WC(this.data,f,h),c.silent||this.emit("added",t,i,a)}removeResourceBundle(t,i){this.hasResourceBundle(t,i)&&delete this.data[t][i],this.removeNamespaces(i),this.emit("removed",t,i)}hasResourceBundle(t,i){return this.getResource(t,i)!==void 0}getResourceBundle(t,i){return i||(i=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,i)}:this.getResource(t,i)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const i=this.getDataByLanguage(t);return!!(i&&Object.keys(i)||[]).find(o=>i[o]&&Object.keys(i[o]).length>0)}toJSON(){return this.data}}var UE={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,i,a,o){return e.forEach(l=>{this.processors[l]&&(t=this.processors[l].process(t,i,a,o))}),t}};const ZC={};class hf extends Qf{constructor(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),MU(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=i,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Di.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const a=this.resolve(t,i);return a&&a.res!==void 0}extractFromKey(t,i){let a=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let l=i.ns||this.options.defaultNS||[];const c=a&&t.indexOf(a)>-1,f=!this.options.userDefinedKeySeparator&&!i.keySeparator&&!this.options.userDefinedNsSeparator&&!i.nsSeparator&&!BU(t,a,o);if(c&&!f){const h=t.match(this.interpolator.nestingRegexp);if(h&&h.length>0)return{key:t,namespaces:Ee(l)?[l]:l};const p=t.split(a);(a!==o||a===o&&this.options.ns.indexOf(p[0])>-1)&&(l=p.shift()),t=p.join(o)}return{key:t,namespaces:Ee(l)?[l]:l}}translate(t,i,a){if(typeof i!="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i=="object"&&(i={...i}),i||(i={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const o=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,l=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,{key:c,namespaces:f}=this.extractFromKey(t[t.length-1],i),h=f[f.length-1],p=i.lng||this.language,g=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&p.toLowerCase()==="cimode"){if(g){const w=i.nsSeparator||this.options.nsSeparator;return o?{res:`${h}${w}${c}`,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:h,usedParams:this.getUsedParamsDetails(i)}:`${h}${w}${c}`}return o?{res:c,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:h,usedParams:this.getUsedParamsDetails(i)}:c}const y=this.resolve(t,i);let v=y&&y.res;const x=y&&y.usedKey||c,S=y&&y.exactUsedKey||c,C=Object.prototype.toString.apply(v),T=["[object Number]","[object Function]","[object RegExp]"],D=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,N=!this.i18nFormat||this.i18nFormat.handleAsObject,R=!Ee(v)&&typeof v!="boolean"&&typeof v!="number";if(N&&v&&R&&T.indexOf(C)<0&&!(Ee(D)&&Array.isArray(v))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,v,{...i,ns:f}):`key '${c} (${this.language})' returned an object instead of string.`;return o?(y.res=w,y.usedParams=this.getUsedParamsDetails(i),y):w}if(l){const w=Array.isArray(v),M=w?[]:{},L=w?S:x;for(const P in v)if(Object.prototype.hasOwnProperty.call(v,P)){const U=`${L}${l}${P}`;M[P]=this.translate(U,{...i,joinArrays:!1,ns:f}),M[P]===U&&(M[P]=v[P])}v=M}}else if(N&&Ee(D)&&Array.isArray(v))v=v.join(D),v&&(v=this.extendTranslation(v,t,i,a));else{let w=!1,M=!1;const L=i.count!==void 0&&!Ee(i.count),P=hf.hasDefaultValue(i),U=L?this.pluralResolver.getSuffix(p,i.count,i):"",G=i.ordinal&&L?this.pluralResolver.getSuffix(p,i.count,{ordinal:!1}):"",Q=L&&!i.ordinal&&i.count===0&&this.pluralResolver.shouldUseIntlApi(),J=Q&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${U}`]||i[`defaultValue${G}`]||i.defaultValue;!this.isValidLookup(v)&&P&&(w=!0,v=J),this.isValidLookup(v)||(M=!0,v=c);const Z=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&M?void 0:v,F=P&&J!==v&&this.options.updateMissing;if(M||w||F){if(this.logger.log(F?"updateKey":"missingKey",p,h,c,F?J:v),l){const ee=this.resolve(c,{...i,keySeparator:!1});ee&&ee.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Y=[];const k=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&k&&k[0])for(let ee=0;ee<k.length;ee++)Y.push(k[ee]);else this.options.saveMissingTo==="all"?Y=this.languageUtils.toResolveHierarchy(i.lng||this.language):Y.push(i.lng||this.language);const I=(ee,ae,le)=>{const z=P&&le!==v?le:Z;this.options.missingKeyHandler?this.options.missingKeyHandler(ee,h,ae,z,F,i):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(ee,h,ae,z,F,i),this.emit("missingKey",ee,h,ae,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?Y.forEach(ee=>{const ae=this.pluralResolver.getSuffixes(ee,i);Q&&i[`defaultValue${this.options.pluralSeparator}zero`]&&ae.indexOf(`${this.options.pluralSeparator}zero`)<0&&ae.push(`${this.options.pluralSeparator}zero`),ae.forEach(le=>{I([ee],c+le,i[`defaultValue${le}`]||J)})}):I(Y,c,J))}v=this.extendTranslation(v,t,i,y,a),M&&v===c&&this.options.appendNamespaceToMissingKey&&(v=`${h}:${c}`),(M||w)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?v=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${h}:${c}`:c,w?v:void 0):v=this.options.parseMissingKeyHandler(v))}return o?(y.res=v,y.usedParams=this.getUsedParamsDetails(i),y):v}extendTranslation(t,i,a,o,l){var c=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...a},a.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init({...a,interpolation:{...this.options.interpolation,...a.interpolation}});const p=Ee(t)&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let g;if(p){const v=t.match(this.interpolator.nestingRegexp);g=v&&v.length}let y=a.replace&&!Ee(a.replace)?a.replace:a;if(this.options.interpolation.defaultVariables&&(y={...this.options.interpolation.defaultVariables,...y}),t=this.interpolator.interpolate(t,y,a.lng||this.language||o.usedLng,a),p){const v=t.match(this.interpolator.nestingRegexp),x=v&&v.length;g<x&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(a.lng=this.language||o.usedLng),a.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var v=arguments.length,x=new Array(v),S=0;S<v;S++)x[S]=arguments[S];return l&&l[0]===x[0]&&!a.context?(c.logger.warn(`It seems you are nesting recursively key: ${x[0]} in key: ${i[0]}`),null):c.translate(...x,i)},a)),a.interpolation&&this.interpolator.reset()}const f=a.postProcess||this.options.postProcess,h=Ee(f)?[f]:f;return t!=null&&h&&h.length&&a.applyPostProcessor!==!1&&(t=UE.handle(h,t,i,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(a)},...a}:a,this)),t}resolve(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,o,l,c,f;return Ee(t)&&(t=[t]),t.forEach(h=>{if(this.isValidLookup(a))return;const p=this.extractFromKey(h,i),g=p.key;o=g;let y=p.namespaces;this.options.fallbackNS&&(y=y.concat(this.options.fallbackNS));const v=i.count!==void 0&&!Ee(i.count),x=v&&!i.ordinal&&i.count===0&&this.pluralResolver.shouldUseIntlApi(),S=i.context!==void 0&&(Ee(i.context)||typeof i.context=="number")&&i.context!=="",C=i.lngs?i.lngs:this.languageUtils.toResolveHierarchy(i.lng||this.language,i.fallbackLng);y.forEach(T=>{this.isValidLookup(a)||(f=T,!ZC[`${C[0]}-${T}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(f)&&(ZC[`${C[0]}-${T}`]=!0,this.logger.warn(`key "${o}" for languages "${C.join(", ")}" won't get resolved as namespace "${f}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),C.forEach(D=>{if(this.isValidLookup(a))return;c=D;const N=[g];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(N,g,D,T,i);else{let w;v&&(w=this.pluralResolver.getSuffix(D,i.count,i));const M=`${this.options.pluralSeparator}zero`,L=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(v&&(N.push(g+w),i.ordinal&&w.indexOf(L)===0&&N.push(g+w.replace(L,this.options.pluralSeparator)),x&&N.push(g+M)),S){const P=`${g}${this.options.contextSeparator}${i.context}`;N.push(P),v&&(N.push(P+w),i.ordinal&&w.indexOf(L)===0&&N.push(P+w.replace(L,this.options.pluralSeparator)),x&&N.push(P+M))}}let R;for(;R=N.pop();)this.isValidLookup(a)||(l=R,a=this.getResource(D,T,R,i))}))})}),{res:a,usedKey:o,exactUsedKey:l,usedLng:c,usedNS:f}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,i,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,i,a,o):this.resourceStore.getResource(t,i,a,o)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const i=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],a=t.replace&&!Ee(t.replace);let o=a?t.replace:t;if(a&&typeof t.count<"u"&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!a){o={...o};for(const l of i)delete o[l]}return o}static hasDefaultValue(t){const i="defaultValue";for(const a in t)if(Object.prototype.hasOwnProperty.call(t,a)&&i===a.substring(0,i.length)&&t[a]!==void 0)return!0;return!1}}const em=e=>e.charAt(0).toUpperCase()+e.slice(1);class JC{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Di.create("languageUtils")}getScriptPartFromCode(t){if(t=ff(t),!t||t.indexOf("-")<0)return null;const i=t.split("-");return i.length===2||(i.pop(),i[i.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(i.join("-"))}getLanguagePartFromCode(t){if(t=ff(t),!t||t.indexOf("-")<0)return t;const i=t.split("-");return this.formatLanguageCode(i[0])}formatLanguageCode(t){if(Ee(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let o=Intl.getCanonicalLocales(t)[0];if(o&&this.options.lowerCaseLng&&(o=o.toLowerCase()),o)return o}catch{}const i=["hans","hant","latn","cyrl","cans","mong","arab"];let a=t.split("-");return this.options.lowerCaseLng?a=a.map(o=>o.toLowerCase()):a.length===2?(a[0]=a[0].toLowerCase(),a[1]=a[1].toUpperCase(),i.indexOf(a[1].toLowerCase())>-1&&(a[1]=em(a[1].toLowerCase()))):a.length===3&&(a[0]=a[0].toLowerCase(),a[1].length===2&&(a[1]=a[1].toUpperCase()),a[0]!=="sgn"&&a[2].length===2&&(a[2]=a[2].toUpperCase()),i.indexOf(a[1].toLowerCase())>-1&&(a[1]=em(a[1].toLowerCase())),i.indexOf(a[2].toLowerCase())>-1&&(a[2]=em(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let i;return t.forEach(a=>{if(i)return;const o=this.formatLanguageCode(a);(!this.options.supportedLngs||this.isSupportedCode(o))&&(i=o)}),!i&&this.options.supportedLngs&&t.forEach(a=>{if(i)return;const o=this.getLanguagePartFromCode(a);if(this.isSupportedCode(o))return i=o;i=this.options.supportedLngs.find(l=>{if(l===o)return l;if(!(l.indexOf("-")<0&&o.indexOf("-")<0)&&(l.indexOf("-")>0&&o.indexOf("-")<0&&l.substring(0,l.indexOf("-"))===o||l.indexOf(o)===0&&o.length>1))return l})}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}getFallbackCodes(t,i){if(!t)return[];if(typeof t=="function"&&(t=t(i)),Ee(t)&&(t=[t]),Array.isArray(t))return t;if(!i)return t.default||[];let a=t[i];return a||(a=t[this.getScriptPartFromCode(i)]),a||(a=t[this.formatLanguageCode(i)]),a||(a=t[this.getLanguagePartFromCode(i)]),a||(a=t.default),a||[]}toResolveHierarchy(t,i){const a=this.getFallbackCodes(i||this.options.fallbackLng||[],t),o=[],l=c=>{c&&(this.isSupportedCode(c)?o.push(c):this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`))};return Ee(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&l(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&l(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&l(this.getLanguagePartFromCode(t))):Ee(t)&&l(this.formatLanguageCode(t)),a.forEach(c=>{o.indexOf(c)<0&&l(this.formatLanguageCode(c))}),o}}let VU=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],$U={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const HU=["v1","v2","v3"],IU=["v4"],eT={zero:0,one:1,two:2,few:3,many:4,other:5},FU=()=>{const e={};return VU.forEach(t=>{t.lngs.forEach(i=>{e[i]={numbers:t.nr,plurals:$U[t.fc]}})}),e};class qU{constructor(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=i,this.logger=Di.create("pluralResolver"),(!this.options.compatibilityJSON||IU.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=FU(),this.pluralRulesCache={}}addRule(t,i){this.rules[t]=i}clearCache(){this.pluralRulesCache={}}getRule(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const a=ff(t==="dev"?"en":t),o=i.ordinal?"ordinal":"cardinal",l=JSON.stringify({cleanedCode:a,type:o});if(l in this.pluralRulesCache)return this.pluralRulesCache[l];let c;try{c=new Intl.PluralRules(a,{type:o})}catch{if(!t.match(/-|_/))return;const h=this.languageUtils.getLanguagePartFromCode(t);c=this.getRule(h,i)}return this.pluralRulesCache[l]=c,c}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(t,i);return this.shouldUseIntlApi()?a&&a.resolvedOptions().pluralCategories.length>1:a&&a.numbers.length>1}getPluralFormsOfKey(t,i){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,a).map(o=>`${i}${o}`)}getSuffixes(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(t,i);return a?this.shouldUseIntlApi()?a.resolvedOptions().pluralCategories.sort((o,l)=>eT[o]-eT[l]).map(o=>`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${o}`):a.numbers.map(o=>this.getSuffix(t,o,i)):[]}getSuffix(t,i){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(t,a);return o?this.shouldUseIntlApi()?`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${o.select(i)}`:this.getSuffixRetroCompatible(o,i):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,i){const a=t.noAbs?t.plurals(i):t.plurals(Math.abs(i));let o=t.numbers[a];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const l=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?`_plural_${o.toString()}`:l():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?l():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}shouldUseIntlApi(){return!HU.includes(this.options.compatibilityJSON)}}const tT=function(e,t,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,l=NU(e,t,i);return!l&&o&&Ee(i)&&(l=lg(e,i,a),l===void 0&&(l=lg(t,i,a))),l},tm=e=>e.replace(/\$/g,"$$$$");class KU{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Di.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(i=>i),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:i,escapeValue:a,useRawValueToEscape:o,prefix:l,prefixEscaped:c,suffix:f,suffixEscaped:h,formatSeparator:p,unescapeSuffix:g,unescapePrefix:y,nestingPrefix:v,nestingPrefixEscaped:x,nestingSuffix:S,nestingSuffixEscaped:C,nestingOptionsSeparator:T,maxReplaces:D,alwaysFormat:N}=t.interpolation;this.escape=i!==void 0?i:zU,this.escapeValue=a!==void 0?a:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=l?Ss(l):c||"{{",this.suffix=f?Ss(f):h||"}}",this.formatSeparator=p||",",this.unescapePrefix=g?"":y||"-",this.unescapeSuffix=this.unescapePrefix?"":g||"",this.nestingPrefix=v?Ss(v):x||Ss("$t("),this.nestingSuffix=S?Ss(S):C||Ss(")"),this.nestingOptionsSeparator=T||",",this.maxReplaces=D||1e3,this.alwaysFormat=N!==void 0?N:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(i,a)=>i&&i.source===a?(i.lastIndex=0,i):new RegExp(a,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,i,a,o){let l,c,f;const h=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},p=x=>{if(x.indexOf(this.formatSeparator)<0){const D=tT(i,h,x,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(D,void 0,a,{...o,...i,interpolationkey:x}):D}const S=x.split(this.formatSeparator),C=S.shift().trim(),T=S.join(this.formatSeparator).trim();return this.format(tT(i,h,C,this.options.keySeparator,this.options.ignoreJSONStructure),T,a,{...o,...i,interpolationkey:C})};this.resetRegExp();const g=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,y=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:x=>tm(x)},{regex:this.regexp,safeValue:x=>this.escapeValue?tm(this.escape(x)):tm(x)}].forEach(x=>{for(f=0;l=x.regex.exec(t);){const S=l[1].trim();if(c=p(S),c===void 0)if(typeof g=="function"){const T=g(t,l,o);c=Ee(T)?T:""}else if(o&&Object.prototype.hasOwnProperty.call(o,S))c="";else if(y){c=l[0];continue}else this.logger.warn(`missed to pass in variable ${S} for interpolating ${t}`),c="";else!Ee(c)&&!this.useRawValueToEscape&&(c=GC(c));const C=x.safeValue(c);if(t=t.replace(l[0],C),y?(x.regex.lastIndex+=c.length,x.regex.lastIndex-=l[0].length):x.regex.lastIndex=0,f++,f>=this.maxReplaces)break}}),t}nest(t,i){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,l,c;const f=(h,p)=>{const g=this.nestingOptionsSeparator;if(h.indexOf(g)<0)return h;const y=h.split(new RegExp(`${g}[ ]*{`));let v=`{${y[1]}`;h=y[0],v=this.interpolate(v,c);const x=v.match(/'/g),S=v.match(/"/g);(x&&x.length%2===0&&!S||S.length%2!==0)&&(v=v.replace(/'/g,'"'));try{c=JSON.parse(v),p&&(c={...p,...c})}catch(C){return this.logger.warn(`failed parsing options string in nesting for key ${h}`,C),`${h}${g}${v}`}return c.defaultValue&&c.defaultValue.indexOf(this.prefix)>-1&&delete c.defaultValue,h};for(;o=this.nestingRegexp.exec(t);){let h=[];c={...a},c=c.replace&&!Ee(c.replace)?c.replace:c,c.applyPostProcessor=!1,delete c.defaultValue;let p=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const g=o[1].split(this.formatSeparator).map(y=>y.trim());o[1]=g.shift(),h=g,p=!0}if(l=i(f.call(this,o[1].trim(),c),c),l&&o[0]===t&&!Ee(l))return l;Ee(l)||(l=GC(l)),l||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),l=""),p&&(l=h.reduce((g,y)=>this.format(g,y,a.lng,{...a,interpolationkey:o[1].trim()}),l.trim())),t=t.replace(o[0],l),this.regexp.lastIndex=0}return t}}const GU=e=>{let t=e.toLowerCase().trim();const i={};if(e.indexOf("(")>-1){const a=e.split("(");t=a[0].toLowerCase().trim();const o=a[1].substring(0,a[1].length-1);t==="currency"&&o.indexOf(":")<0?i.currency||(i.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?i.range||(i.range=o.trim()):o.split(";").forEach(c=>{if(c){const[f,...h]=c.split(":"),p=h.join(":").trim().replace(/^'+|'+$/g,""),g=f.trim();i[g]||(i[g]=p),p==="false"&&(i[g]=!1),p==="true"&&(i[g]=!0),isNaN(p)||(i[g]=parseInt(p,10))}})}return{formatName:t,formatOptions:i}},xs=e=>{const t={};return(i,a,o)=>{let l=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(l={...l,[o.interpolationkey]:void 0});const c=a+JSON.stringify(l);let f=t[c];return f||(f=e(ff(a),o),t[c]=f),f(i)}};class YU{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Di.create("formatter"),this.options=t,this.formats={number:xs((i,a)=>{const o=new Intl.NumberFormat(i,{...a});return l=>o.format(l)}),currency:xs((i,a)=>{const o=new Intl.NumberFormat(i,{...a,style:"currency"});return l=>o.format(l)}),datetime:xs((i,a)=>{const o=new Intl.DateTimeFormat(i,{...a});return l=>o.format(l)}),relativetime:xs((i,a)=>{const o=new Intl.RelativeTimeFormat(i,{...a});return l=>o.format(l,a.range||"day")}),list:xs((i,a)=>{const o=new Intl.ListFormat(i,{...a});return l=>o.format(l)})},this.init(t)}init(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=i.interpolation.formatSeparator||","}add(t,i){this.formats[t.toLowerCase().trim()]=i}addCached(t,i){this.formats[t.toLowerCase().trim()]=xs(i)}format(t,i,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const l=i.split(this.formatSeparator);if(l.length>1&&l[0].indexOf("(")>1&&l[0].indexOf(")")<0&&l.find(f=>f.indexOf(")")>-1)){const f=l.findIndex(h=>h.indexOf(")")>-1);l[0]=[l[0],...l.splice(1,f)].join(this.formatSeparator)}return l.reduce((f,h)=>{const{formatName:p,formatOptions:g}=GU(h);if(this.formats[p]){let y=f;try{const v=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},x=v.locale||v.lng||o.locale||o.lng||a;y=this.formats[p](f,x,{...g,...o,...v})}catch(v){this.logger.warn(v)}return y}else this.logger.warn(`there was no format function for ${p}`);return f},t)}}const XU=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class WU extends Qf{constructor(t,i,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=i,this.services=a,this.languageUtils=a.languageUtils,this.options=o,this.logger=Di.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(a,o.backend,o)}queueLoad(t,i,a,o){const l={},c={},f={},h={};return t.forEach(p=>{let g=!0;i.forEach(y=>{const v=`${p}|${y}`;!a.reload&&this.store.hasResourceBundle(p,y)?this.state[v]=2:this.state[v]<0||(this.state[v]===1?c[v]===void 0&&(c[v]=!0):(this.state[v]=1,g=!1,c[v]===void 0&&(c[v]=!0),l[v]===void 0&&(l[v]=!0),h[y]===void 0&&(h[y]=!0)))}),g||(f[p]=!0)}),(Object.keys(l).length||Object.keys(c).length)&&this.queue.push({pending:c,pendingCount:Object.keys(c).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(l),pending:Object.keys(c),toLoadLanguages:Object.keys(f),toLoadNamespaces:Object.keys(h)}}loaded(t,i,a){const o=t.split("|"),l=o[0],c=o[1];i&&this.emit("failedLoading",l,c,i),!i&&a&&this.store.addResourceBundle(l,c,a,void 0,void 0,{skipCopy:!0}),this.state[t]=i?-1:2,i&&a&&(this.state[t]=0);const f={};this.queue.forEach(h=>{_U(h.loaded,[l],c),XU(h,t),i&&h.errors.push(i),h.pendingCount===0&&!h.done&&(Object.keys(h.loaded).forEach(p=>{f[p]||(f[p]={});const g=h.loaded[p];g.length&&g.forEach(y=>{f[p][y]===void 0&&(f[p][y]=!0)})}),h.done=!0,h.errors.length?h.callback(h.errors):h.callback())}),this.emit("loaded",f),this.queue=this.queue.filter(h=>!h.done)}read(t,i,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,c=arguments.length>5?arguments[5]:void 0;if(!t.length)return c(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:i,fcName:a,tried:o,wait:l,callback:c});return}this.readingCalls++;const f=(p,g)=>{if(this.readingCalls--,this.waitingReads.length>0){const y=this.waitingReads.shift();this.read(y.lng,y.ns,y.fcName,y.tried,y.wait,y.callback)}if(p&&g&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,t,i,a,o+1,l*2,c)},l);return}c(p,g)},h=this.backend[a].bind(this.backend);if(h.length===2){try{const p=h(t,i);p&&typeof p.then=="function"?p.then(g=>f(null,g)).catch(f):f(null,p)}catch(p){f(p)}return}return h(t,i,f)}prepareLoading(t,i){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();Ee(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Ee(i)&&(i=[i]);const l=this.queueLoad(t,i,a,o);if(!l.toLoad.length)return l.pending.length||o(),null;l.toLoad.forEach(c=>{this.loadOne(c)})}load(t,i,a){this.prepareLoading(t,i,{},a)}reload(t,i,a){this.prepareLoading(t,i,{reload:!0},a)}loadOne(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const a=t.split("|"),o=a[0],l=a[1];this.read(o,l,"read",void 0,void 0,(c,f)=>{c&&this.logger.warn(`${i}loading namespace ${l} for language ${o} failed`,c),!c&&f&&this.logger.log(`${i}loaded namespace ${l} for language ${o}`,f),this.loaded(t,c,f)})}saveMissing(t,i,a,o,l){let c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},f=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(i)){this.logger.warn(`did not save key "${a}" as the namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){const h={...c,isUpdate:l},p=this.backend.create.bind(this.backend);if(p.length<6)try{let g;p.length===5?g=p(t,i,a,o,h):g=p(t,i,a,o),g&&typeof g.then=="function"?g.then(y=>f(null,y)).catch(f):f(null,g)}catch(g){f(g)}else p(t,i,a,o,f,h)}!t||!t[0]||this.store.addResource(t[0],i,a,o)}}}const nT=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Ee(e[1])&&(t.defaultValue=e[1]),Ee(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const i=e[3]||e[2];Object.keys(i).forEach(a=>{t[a]=i[a]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),iT=e=>(Ee(e.ns)&&(e.ns=[e.ns]),Ee(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Ee(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),wc=()=>{},QU=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(i=>{typeof e[i]=="function"&&(e[i]=e[i].bind(e))})};class Ol extends Qf{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(super(),this.options=iT(t),this.services={},this.logger=Di,this.modules={external:[]},QU(this),i&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,i),this;setTimeout(()=>{this.init(t,i)},0)}}init(){var t=this;let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof i=="function"&&(a=i,i={}),!i.defaultNS&&i.defaultNS!==!1&&i.ns&&(Ee(i.ns)?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));const o=nT();this.options={...o,...this.options,...iT(i)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator);const l=g=>g?typeof g=="function"?new g:g:null;if(!this.options.isClone){this.modules.logger?Di.init(l(this.modules.logger),this.options):Di.init(null,this.options);let g;this.modules.formatter?g=this.modules.formatter:typeof Intl<"u"&&(g=YU);const y=new JC(this.options);this.store=new QC(this.options.resources,this.options);const v=this.services;v.logger=Di,v.resourceStore=this.store,v.languageUtils=y,v.pluralResolver=new qU(y,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),g&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(v.formatter=l(g),v.formatter.init(v,this.options),this.options.interpolation.format=v.formatter.format.bind(v.formatter)),v.interpolator=new KU(this.options),v.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},v.backendConnector=new WU(l(this.modules.backend),v.resourceStore,v,this.options),v.backendConnector.on("*",function(x){for(var S=arguments.length,C=new Array(S>1?S-1:0),T=1;T<S;T++)C[T-1]=arguments[T];t.emit(x,...C)}),this.modules.languageDetector&&(v.languageDetector=l(this.modules.languageDetector),v.languageDetector.init&&v.languageDetector.init(v,this.options.detection,this.options)),this.modules.i18nFormat&&(v.i18nFormat=l(this.modules.i18nFormat),v.i18nFormat.init&&v.i18nFormat.init(this)),this.translator=new hf(this.services,this.options),this.translator.on("*",function(x){for(var S=arguments.length,C=new Array(S>1?S-1:0),T=1;T<S;T++)C[T-1]=arguments[T];t.emit(x,...C)}),this.modules.external.forEach(x=>{x.init&&x.init(this)})}if(this.format=this.options.interpolation.format,a||(a=wc),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const g=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);g.length>0&&g[0]!=="dev"&&(this.options.lng=g[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(g=>{this[g]=function(){return t.store[g](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(g=>{this[g]=function(){return t.store[g](...arguments),t}});const h=Zo(),p=()=>{const g=(y,v)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),h.resolve(v),a(y,v)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return g(null,this.t.bind(this));this.changeLanguage(this.options.lng,g)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),h}loadResources(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wc;const o=Ee(t)?t:this.language;if(typeof t=="function"&&(a=t),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return a();const l=[],c=f=>{if(!f||f==="cimode")return;this.services.languageUtils.toResolveHierarchy(f).forEach(p=>{p!=="cimode"&&l.indexOf(p)<0&&l.push(p)})};o?c(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(h=>c(h)),this.options.preload&&this.options.preload.forEach(f=>c(f)),this.services.backendConnector.load(l,this.options.ns,f=>{!f&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),a(f)})}else a(null)}reloadResources(t,i,a){const o=Zo();return typeof t=="function"&&(a=t,t=void 0),typeof i=="function"&&(a=i,i=void 0),t||(t=this.languages),i||(i=this.options.ns),a||(a=wc),this.services.backendConnector.reload(t,i,l=>{o.resolve(),a(l)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&UE.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let i=0;i<this.languages.length;i++){const a=this.languages[i];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}changeLanguage(t,i){var a=this;this.isLanguageChangingTo=t;const o=Zo();this.emit("languageChanging",t);const l=h=>{this.language=h,this.languages=this.services.languageUtils.toResolveHierarchy(h),this.resolvedLanguage=void 0,this.setResolvedLanguage(h)},c=(h,p)=>{p?(l(p),this.translator.changeLanguage(p),this.isLanguageChangingTo=void 0,this.emit("languageChanged",p),this.logger.log("languageChanged",p)):this.isLanguageChangingTo=void 0,o.resolve(function(){return a.t(...arguments)}),i&&i(h,function(){return a.t(...arguments)})},f=h=>{!t&&!h&&this.services.languageDetector&&(h=[]);const p=Ee(h)?h:this.services.languageUtils.getBestMatchFromCodes(h);p&&(this.language||l(p),this.translator.language||this.translator.changeLanguage(p),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(p)),this.loadResources(p,g=>{c(g,p)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?f(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(f):this.services.languageDetector.detect(f):f(t),o}getFixedT(t,i,a){var o=this;const l=function(c,f){let h;if(typeof f!="object"){for(var p=arguments.length,g=new Array(p>2?p-2:0),y=2;y<p;y++)g[y-2]=arguments[y];h=o.options.overloadTranslationOptionHandler([c,f].concat(g))}else h={...f};h.lng=h.lng||l.lng,h.lngs=h.lngs||l.lngs,h.ns=h.ns||l.ns,h.keyPrefix!==""&&(h.keyPrefix=h.keyPrefix||a||l.keyPrefix);const v=o.options.keySeparator||".";let x;return h.keyPrefix&&Array.isArray(c)?x=c.map(S=>`${h.keyPrefix}${v}${S}`):x=h.keyPrefix?`${h.keyPrefix}${v}${c}`:c,o.t(x,h)};return Ee(t)?l.lng=t:l.lngs=t,l.ns=i,l.keyPrefix=a,l}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const a=i.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,l=this.languages[this.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const c=(f,h)=>{const p=this.services.backendConnector.state[`${f}|${h}`];return p===-1||p===0||p===2};if(i.precheck){const f=i.precheck(this,c);if(f!==void 0)return f}return!!(this.hasResourceBundle(a,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||c(a,t)&&(!o||c(l,t)))}loadNamespaces(t,i){const a=Zo();return this.options.ns?(Ee(t)&&(t=[t]),t.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{a.resolve(),i&&i(o)}),a):(i&&i(),Promise.resolve())}loadLanguages(t,i){const a=Zo();Ee(t)&&(t=[t]);const o=this.options.preload||[],l=t.filter(c=>o.indexOf(c)<0&&this.services.languageUtils.isSupportedCode(c));return l.length?(this.options.preload=o.concat(l),this.loadResources(c=>{a.resolve(),i&&i(c)}),a):(i&&i(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const i=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new JC(nT());return i.indexOf(a.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;return new Ol(t,i)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wc;const a=t.forkResourceStore;a&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},l=new Ol(o);return(t.debug!==void 0||t.prefix!==void 0)&&(l.logger=l.logger.clone(t)),["store","services","language"].forEach(f=>{l[f]=this[f]}),l.services={...this.services},l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},a&&(l.store=new QC(this.store.data,o),l.services.resourceStore=l.store),l.translator=new hf(l.services,o),l.translator.on("*",function(f){for(var h=arguments.length,p=new Array(h>1?h-1:0),g=1;g<h;g++)p[g-1]=arguments[g];l.emit(f,...p)}),l.init(o,i),l.translator.options=o,l.translator.backendConnector.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const $t=Ol.createInstance();$t.createInstance=Ol.createInstance;$t.createInstance;$t.dir;$t.init;$t.loadResources;$t.reloadResources;$t.use;$t.changeLanguage;$t.getFixedT;$t.t;$t.exists;$t.setDefaultNamespace;$t.hasLoadedNamespace;$t.loadNamespaces;$t.loadLanguages;const rT={en:{common:{language_switch_label:"Language",language_en:"English",language_de:"German",source_url:"URL overridden",source_user:"Custom selected",source_navigator:"Browser setting",source_default:"Default locale",reset:"Reset",logout:"Logout"},server:{checking_session:"Checking existing session...",already_logged_in:"Already Logged In! ✓",already_auth:"You're already authenticated with DQM",redirecting_in:"Redirecting in {{count}} second",redirecting_in_plural:"Redirecting in {{count}} seconds",pause:"Pause",resume:"Resume",continue:"Continue now",logout:"Logout",go_back:"Back to login",login_heading:"Authenticate to DQM",login_subheading:"Enter your API Key and Website ID to continue",api_key:"API Key",website_id:"Website ID",sign_in:"Sign In",signin_loading:"Signing in...",credentials_note:"Your credentials will be stored securely for future sessions",countdown_label:"Redirecting in {{seconds}}s...",auto_redirect_title:"Already Logged In! ✓",auto_redirect_message:"You're already authenticated with DQM",auth_failed:"Authentication Failed",processing_auth:"Processing authentication...",auth_success:"Success!",auth_wait:"Please wait while we complete your sign-in",auth_close:"Authentication successful! You can close this window.",auth_retry:"Please close this window and try again",auth_loading:"Authenticating...",session_website_id:"Website ID:",session_label:"Session:",session_active:"Active",brand_title:"Crownpeak DQM",brand_subtitle:"Digital Quality Management Platform",footer:"© 2025 Crownpeak Technology GmbH · Powered by Crownpeak DQM"}},de:{common:{language_switch_label:"Sprache",language_en:"Englisch",language_de:"Deutsch",source_url:"URL-Override",source_user:"Durch Benutzer ausgewählt",source_navigator:"Browser-Einstellung",source_default:"Standard-Sprache",reset:"Zurücksetzen",logout:"Abmelden"},server:{checking_session:"Bestehende Sitzung wird geprüft...",already_logged_in:"Bereits eingeloggt! ✓",already_auth:"Sie sind bereits bei DQM angemeldet",redirecting_in:"Weiterleitung in {{count}} Sekunde",redirecting_in_plural:"Weiterleitung in {{count}} Sekunden",pause:"Pause",resume:"Fortsetzen",continue:"Jetzt fortfahren",logout:"Abmelden",go_back:"Zurück zum Login",login_heading:"Bei DQM anmelden",login_subheading:"API-Schlüssel und Website-ID eingeben",api_key:"API-Schlüssel",website_id:"Website-ID",sign_in:"Anmelden",signin_loading:"Anmeldung läuft...",credentials_note:"Ihre Zugangsdaten werden sicher für zukünftige Sitzungen gespeichert",countdown_label:"Weiterleitung in {{seconds}}s...",auto_redirect_title:"Bereits eingeloggt! ✓",auto_redirect_message:"Sie sind bereits bei DQM angemeldet",auth_failed:"Authentifizierung fehlgeschlagen",processing_auth:"Authentifizierung wird verarbeitet...",auth_success:"Erfolg!",auth_wait:"Bitte warten Sie, während wir den Login abschließen",auth_close:"Authentifizierung erfolgreich! Sie können dieses Fenster schließen.",auth_retry:"Bitte schließen Sie dieses Fenster und versuchen Sie es erneut",auth_loading:"Authentifizierung läuft...",session_website_id:"Website-ID:",session_label:"Sitzung:",session_active:"Aktiv",brand_title:"Crownpeak DQM",brand_subtitle:"Plattform für Digitales Qualitätsmanagement",footer:"© 2025 Crownpeak Technology GmbH · Powered by Crownpeak DQM"}}};$t.use(rL).init({resources:rT,lng:fr,fallbackLng:fr,interpolation:{escapeValue:!1},defaultNS:"common",supportedLngs:Object.keys(rT)});const ZU=Df({palette:{mode:"light",primary:{main:"#1976d2",dark:"#115293"},secondary:{main:"#dc004e"}},typography:{fontFamily:'"Inter", "Roboto", "Helvetica", "Arial", sans-serif'},shape:{borderRadius:12},components:{MuiButton:{styleOverrides:{root:{borderRadius:8}}},MuiCard:{styleOverrides:{root:{borderRadius:16}}}}}),JU=()=>window.location.pathname==="/auth/callback"?_.jsx(OU,{}):_.jsx(RU,{});if(typeof window<"u"){const e=Rl(window.location.search,uf(),navigator.language,fr);ws.dispatch(qC(e)),$t.changeLanguage(e.locale),window.addEventListener("languagechange",()=>{const t=ws.getState().locale;if(t.userOverride||t.source==="url")return;const i=Rl(window.location.search,uf(),navigator.language,fr);ws.dispatch(qC(i)),$t.changeLanguage(i.locale)}),ws.subscribe(()=>{const t=ws.getState().locale;$t.changeLanguage(t.locale)})}uO.createRoot(document.getElementById("root")).render(_.jsx(ti.StrictMode,{children:_.jsx(KN,{store:ws,children:_.jsx(lL,{i18n:$t,children:_.jsxs(F3,{theme:ZU,children:[_.jsx(V_,{}),_.jsx(JU,{})]})})})}));
|