@tiddlywiki/mws 0.1.13 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -20
- package/dist/metafile-esm.json +1 -1
- package/dist/mws.js +40249 -20249
- package/dist/mws.js.map +1 -1
- package/mws.run.mjs +28 -8
- package/package.json +20 -33
- package/plugins/client/plugin.info +1 -1
- package/plugins/client/src/multiwikiclientadaptor.ts +11 -39
- package/plugins/client/src/mws.d.ts +2 -1
- package/plugins/client/src/new-multiwikiclientadaptor.ts +634 -0
- package/plugins/client/src/types.d.ts +2531 -1036
- package/plugins/client/tiddlers/managetiddleraction.js +0 -5
- package/plugins/client/tiddlers/syncer/multiwikiclientadaptor.js +1 -1
- package/plugins/client/tiddlers/syncer/new-multiwikiclientadaptor.js +432 -0
- package/plugins/client/tiddlers/syncer/syncer.js +123 -241
- package/plugins/client/tsconfig.json +5 -1
- package/prisma/browser.ts +2 -0
- package/prisma/client/browser.ts +84 -0
- package/prisma/client/client.ts +108 -0
- package/prisma/client/commonInputTypes.ts +598 -0
- package/prisma/client/enums.ts +42 -0
- package/prisma/client/internal/class.ts +326 -0
- package/prisma/client/internal/prismaNamespace.ts +1870 -0
- package/prisma/client/internal/prismaNamespaceBrowser.ts +259 -0
- package/prisma/client/models/Bag.ts +1701 -0
- package/prisma/client/models/BagPermission.ts +1284 -0
- package/prisma/client/models/Recipe.ts +1722 -0
- package/prisma/client/models/RecipeBag.ts +1518 -0
- package/prisma/client/models/RecipePermission.ts +1284 -0
- package/prisma/client/models/Roles.ts +1316 -0
- package/prisma/client/models/Sessions.ts +1344 -0
- package/prisma/client/models/Settings.ts +1093 -0
- package/prisma/client/models/Template.ts +1477 -0
- package/prisma/client/models/TemplatePermission.ts +1284 -0
- package/prisma/client/models/Tiddler.ts +1434 -0
- package/prisma/client/models/TiddlerEvent.ts +1360 -0
- package/prisma/client/models/Users.ts +1579 -0
- package/prisma/client/models.ts +24 -0
- package/prisma/client/pjtg.ts +183 -0
- package/prisma/index.ts +74 -0
- package/prisma/migrations/20260708160259_init/migration.sql +172 -0
- package/prisma/migrations-v1/migration_lock.toml +3 -0
- package/prisma/package.json +12 -0
- package/prisma/schema.prisma +147 -89
- package/prisma/types.ts +9 -0
- package/public/.default.html +1 -0
- package/public/admin-vanilla/fish.svg +399 -0
- package/public/admin-vanilla/fish2.svg +389 -0
- package/public/admin-vanilla/main-64WYHWYI.js +1791 -0
- package/public/admin-vanilla/main-64WYHWYI.js.map +7 -0
- package/public/admin-vanilla/main-LYDE4NDJ.css +1 -0
- package/public/admin-vanilla/normalize.css +349 -0
- package/public/admin-vanilla/polyfill-ADOI2A4V.js +2 -0
- package/public/admin-vanilla/polyfill-ADOI2A4V.js.map +7 -0
- package/public/{react-admin → admin-vanilla}/site.webmanifest +1 -1
- package/public/admin-vanilla.html +62 -0
- package/public/admin-vanilla.json +1 -0
- package/public/{react-admin → stats}/stats.html +5 -2
- package/public/{react-admin → stats}/stats.js +2 -1
- package/scripts/build-docs.sh +30 -0
- package/scripts/helpers.mjs +107 -0
- package/scripts/json.js +8 -0
- package/scripts/scripts.mjs +114 -0
- package/prisma/client/client.d.ts +0 -1
- package/prisma/client/client.js +0 -3
- package/prisma/client/default.d.ts +0 -1
- package/prisma/client/default.js +0 -3
- package/prisma/client/edge.d.ts +0 -1
- package/prisma/client/edge.js +0 -297
- package/prisma/client/index-browser.js +0 -275
- package/prisma/client/index.d.ts +0 -17770
- package/prisma/client/index.js +0 -324
- package/prisma/client/package.json +0 -173
- package/prisma/client/query_engine_bg.js +0 -811
- package/prisma/client/query_engine_bg.wasm +0 -0
- package/prisma/client/runtime/edge-esm.js +0 -10000
- package/prisma/client/runtime/edge.js +0 -10036
- package/prisma/client/runtime/index-browser.d.ts +0 -370
- package/prisma/client/runtime/index-browser.js +0 -2300
- package/prisma/client/runtime/library.d.ts +0 -3681
- package/prisma/client/runtime/library.js +0 -10604
- package/prisma/client/runtime/react-native.js +0 -10629
- package/prisma/client/runtime/wasm-compiler-edge.js +0 -11238
- package/prisma/client/runtime/wasm-engine-edge.js +0 -7801
- package/prisma/client/schema.prisma +0 -156
- package/prisma/client/wasm-edge-light-loader.mjs +0 -4
- package/prisma/client/wasm-worker-loader.mjs +0 -4
- package/prisma/client/wasm.d.ts +0 -1
- package/prisma/client/wasm.js +0 -304
- package/prisma/global.ts +0 -53
- package/public/react-admin/chunk-YALWN5OT.js +0 -2
- package/public/react-admin/esm-L4WLVWJN.js +0 -3
- package/public/react-admin/esm-L4WLVWJN.js.map +0 -7
- package/public/react-admin/esm-QMNGI3LF.js +0 -3
- package/public/react-admin/esm-QMNGI3LF.js.map +0 -7
- package/public/react-admin/index.html +0 -36
- package/public/react-admin/main.js +0 -268
- package/public/react-admin/main.js.map +0 -7
- package/public/react-admin/stats.json +0 -1
- package/scripts.mjs +0 -142
- /package/prisma/{migrations → migrations-v1}/20250606001949_init/migration.sql +0 -0
- /package/prisma/{migrations → migrations-v1}/20250613000526_remove_group/migration.sql +0 -0
- /package/prisma/{migrations → migrations-v1}/20250620014502_settings/migration.sql +0 -0
- /package/prisma/{migrations → migrations-v1}/20250707205229_recipes/migration.sql +0 -0
- /package/public/{react-admin → admin-vanilla}/android-chrome-192x192.png +0 -0
- /package/public/{react-admin → admin-vanilla}/android-chrome-512x512.png +0 -0
- /package/public/{react-admin → admin-vanilla}/apple-touch-icon.png +0 -0
- /package/public/{react-admin → admin-vanilla}/favicon-16x16.png +0 -0
- /package/public/{react-admin → admin-vanilla}/favicon-32x32.png +0 -0
- /package/public/{react-admin → admin-vanilla}/favicon.ico +0 -0
- /package/public/{react-admin → admin-vanilla}/favicon.png +0 -0
- /package/public/{react-admin/chunk-YALWN5OT.js.map → admin-vanilla/main-LYDE4NDJ.css.map} +0 -0
- /package/public/{react-admin → admin-vanilla}/missing-favicon.png +0 -0
- /package/public/{react-admin → admin-vanilla}/motovun-jack.jpg +0 -0
- /package/public/{react-admin → admin-vanilla}/mws-icon.png +0 -0
- /package/public/{react-admin → admin-vanilla}/vite.svg +0 -0
- /package/public/{react-admin → stats}/stats.css +0 -0
- /package/public/{react-admin → stats}/stats.svg +0 -0
|
@@ -1,268 +0,0 @@
|
|
|
1
|
-
import{a as po,b as P,c as Vn,d as pl,e as Ef,f as ug}from"./chunk-YALWN5OT.js";var Eb=po(je=>{"use strict";var cc=Symbol.for("react.element"),Jk=Symbol.for("react.portal"),Zk=Symbol.for("react.fragment"),e2=Symbol.for("react.strict_mode"),t2=Symbol.for("react.profiler"),r2=Symbol.for("react.provider"),o2=Symbol.for("react.context"),n2=Symbol.for("react.forward_ref"),s2=Symbol.for("react.suspense"),i2=Symbol.for("react.memo"),a2=Symbol.for("react.lazy"),yb=Symbol.iterator;function l2(e){return e===null||typeof e!="object"?null:(e=yb&&e[yb]||e["@@iterator"],typeof e=="function"?e:null)}var vb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Tb=Object.assign,xb={};function cl(e,t,r){this.props=e,this.context=t,this.refs=xb,this.updater=r||vb}cl.prototype.isReactComponent={};cl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};cl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Pb(){}Pb.prototype=cl.prototype;function dg(e,t,r){this.props=e,this.context=t,this.refs=xb,this.updater=r||vb}var mg=dg.prototype=new Pb;mg.constructor=dg;Tb(mg,cl.prototype);mg.isPureReactComponent=!0;var hb=Array.isArray,bb=Object.prototype.hasOwnProperty,yg={current:null},Sb={key:!0,ref:!0,__self:!0,__source:!0};function Cb(e,t,r){var o,n={},s=null,i=null;if(t!=null)for(o in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)bb.call(t,o)&&!Sb.hasOwnProperty(o)&&(n[o]=t[o]);var a=arguments.length-2;if(a===1)n.children=r;else if(1<a){for(var l=Array(a),p=0;p<a;p++)l[p]=arguments[p+2];n.children=l}if(e&&e.defaultProps)for(o in a=e.defaultProps,a)n[o]===void 0&&(n[o]=a[o]);return{$$typeof:cc,type:e,key:s,ref:i,props:n,_owner:yg.current}}function p2(e,t){return{$$typeof:cc,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function hg(e){return typeof e=="object"&&e!==null&&e.$$typeof===cc}function c2(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var gb=/\/+/g;function fg(e,t){return typeof e=="object"&&e!==null&&e.key!=null?c2(""+e.key):t.toString(36)}function _f(e,t,r,o,n){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case cc:case Jk:i=!0}}if(i)return i=e,n=n(i),e=o===""?"."+fg(i,0):o,hb(n)?(r="",e!=null&&(r=e.replace(gb,"$&/")+"/"),_f(n,t,r,"",function(p){return p})):n!=null&&(hg(n)&&(n=p2(n,r+(!n.key||i&&i.key===n.key?"":(""+n.key).replace(gb,"$&/")+"/")+e)),t.push(n)),1;if(i=0,o=o===""?".":o+":",hb(e))for(var a=0;a<e.length;a++){s=e[a];var l=o+fg(s,a);i+=_f(s,t,r,l,n)}else if(l=l2(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=o+fg(s,a++),i+=_f(s,t,r,l,n);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Rf(e,t,r){if(e==null)return e;var o=[],n=0;return _f(e,o,"","",function(s){return t.call(r,s,n++)}),o}function u2(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Xr={current:null},Of={transition:null},f2={ReactCurrentDispatcher:Xr,ReactCurrentBatchConfig:Of,ReactCurrentOwner:yg};function wb(){throw Error("act(...) is not supported in production builds of React.")}je.Children={map:Rf,forEach:function(e,t,r){Rf(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Rf(e,function(){t++}),t},toArray:function(e){return Rf(e,function(t){return t})||[]},only:function(e){if(!hg(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};je.Component=cl;je.Fragment=Zk;je.Profiler=t2;je.PureComponent=dg;je.StrictMode=e2;je.Suspense=s2;je.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=f2;je.act=wb;je.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=Tb({},e.props),n=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=yg.current),t.key!==void 0&&(n=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)bb.call(t,l)&&!Sb.hasOwnProperty(l)&&(o[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){a=Array(l);for(var p=0;p<l;p++)a[p]=arguments[p+2];o.children=a}return{$$typeof:cc,type:e.type,key:n,ref:s,props:o,_owner:i}};je.createContext=function(e){return e={$$typeof:o2,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:r2,_context:e},e.Consumer=e};je.createElement=Cb;je.createFactory=function(e){var t=Cb.bind(null,e);return t.type=e,t};je.createRef=function(){return{current:null}};je.forwardRef=function(e){return{$$typeof:n2,render:e}};je.isValidElement=hg;je.lazy=function(e){return{$$typeof:a2,_payload:{_status:-1,_result:e},_init:u2}};je.memo=function(e,t){return{$$typeof:i2,type:e,compare:t===void 0?null:t}};je.startTransition=function(e){var t=Of.transition;Of.transition={};try{e()}finally{Of.transition=t}};je.unstable_act=wb;je.useCallback=function(e,t){return Xr.current.useCallback(e,t)};je.useContext=function(e){return Xr.current.useContext(e)};je.useDebugValue=function(){};je.useDeferredValue=function(e){return Xr.current.useDeferredValue(e)};je.useEffect=function(e,t){return Xr.current.useEffect(e,t)};je.useId=function(){return Xr.current.useId()};je.useImperativeHandle=function(e,t,r){return Xr.current.useImperativeHandle(e,t,r)};je.useInsertionEffect=function(e,t){return Xr.current.useInsertionEffect(e,t)};je.useLayoutEffect=function(e,t){return Xr.current.useLayoutEffect(e,t)};je.useMemo=function(e,t){return Xr.current.useMemo(e,t)};je.useReducer=function(e,t,r){return Xr.current.useReducer(e,t,r)};je.useRef=function(e){return Xr.current.useRef(e)};je.useState=function(e){return Xr.current.useState(e)};je.useSyncExternalStore=function(e,t,r){return Xr.current.useSyncExternalStore(e,t,r)};je.useTransition=function(){return Xr.current.useTransition()};je.version="18.3.1"});var N=po((SB,Rb)=>{"use strict";Rb.exports=Eb()});var Fb=po(ut=>{"use strict";function xg(e,t){var r=e.length;e.push(t);e:for(;0<r;){var o=r-1>>>1,n=e[o];if(0<If(n,t))e[o]=t,e[r]=n,r=o;else break e}}function dn(e){return e.length===0?null:e[0]}function Nf(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var o=0,n=e.length,s=n>>>1;o<s;){var i=2*(o+1)-1,a=e[i],l=i+1,p=e[l];if(0>If(a,r))l<n&&0>If(p,a)?(e[o]=p,e[l]=r,o=l):(e[o]=a,e[i]=r,o=i);else if(l<n&&0>If(p,r))e[o]=p,e[l]=r,o=l;else break e}}return t}function If(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(_b=performance,ut.unstable_now=function(){return _b.now()}):(gg=Date,Ob=gg.now(),ut.unstable_now=function(){return gg.now()-Ob});var _b,gg,Ob,Bn=[],Zs=[],d2=1,Ko=null,jr=3,Af=!1,Ji=!1,fc=!1,Nb=typeof setTimeout=="function"?setTimeout:null,Ab=typeof clearTimeout=="function"?clearTimeout:null,Ib=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Pg(e){for(var t=dn(Zs);t!==null;){if(t.callback===null)Nf(Zs);else if(t.startTime<=e)Nf(Zs),t.sortIndex=t.expirationTime,xg(Bn,t);else break;t=dn(Zs)}}function bg(e){if(fc=!1,Pg(e),!Ji)if(dn(Bn)!==null)Ji=!0,Cg(Sg);else{var t=dn(Zs);t!==null&&wg(bg,t.startTime-e)}}function Sg(e,t){Ji=!1,fc&&(fc=!1,Ab(dc),dc=-1),Af=!0;var r=jr;try{for(Pg(t),Ko=dn(Bn);Ko!==null&&(!(Ko.expirationTime>t)||e&&!Db());){var o=Ko.callback;if(typeof o=="function"){Ko.callback=null,jr=Ko.priorityLevel;var n=o(Ko.expirationTime<=t);t=ut.unstable_now(),typeof n=="function"?Ko.callback=n:Ko===dn(Bn)&&Nf(Bn),Pg(t)}else Nf(Bn);Ko=dn(Bn)}if(Ko!==null)var s=!0;else{var i=dn(Zs);i!==null&&wg(bg,i.startTime-t),s=!1}return s}finally{Ko=null,jr=r,Af=!1}}var Mf=!1,kf=null,dc=-1,Mb=5,Lb=-1;function Db(){return!(ut.unstable_now()-Lb<Mb)}function vg(){if(kf!==null){var e=ut.unstable_now();Lb=e;var t=!0;try{t=kf(!0,e)}finally{t?uc():(Mf=!1,kf=null)}}else Mf=!1}var uc;typeof Ib=="function"?uc=function(){Ib(vg)}:typeof MessageChannel<"u"?(Tg=new MessageChannel,kb=Tg.port2,Tg.port1.onmessage=vg,uc=function(){kb.postMessage(null)}):uc=function(){Nb(vg,0)};var Tg,kb;function Cg(e){kf=e,Mf||(Mf=!0,uc())}function wg(e,t){dc=Nb(function(){e(ut.unstable_now())},t)}ut.unstable_IdlePriority=5;ut.unstable_ImmediatePriority=1;ut.unstable_LowPriority=4;ut.unstable_NormalPriority=3;ut.unstable_Profiling=null;ut.unstable_UserBlockingPriority=2;ut.unstable_cancelCallback=function(e){e.callback=null};ut.unstable_continueExecution=function(){Ji||Af||(Ji=!0,Cg(Sg))};ut.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Mb=0<e?Math.floor(1e3/e):5};ut.unstable_getCurrentPriorityLevel=function(){return jr};ut.unstable_getFirstCallbackNode=function(){return dn(Bn)};ut.unstable_next=function(e){switch(jr){case 1:case 2:case 3:var t=3;break;default:t=jr}var r=jr;jr=t;try{return e()}finally{jr=r}};ut.unstable_pauseExecution=function(){};ut.unstable_requestPaint=function(){};ut.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=jr;jr=e;try{return t()}finally{jr=r}};ut.unstable_scheduleCallback=function(e,t,r){var o=ut.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?o+r:o):r=o,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=r+n,e={id:d2++,callback:t,priorityLevel:e,startTime:r,expirationTime:n,sortIndex:-1},r>o?(e.sortIndex=r,xg(Zs,e),dn(Bn)===null&&e===dn(Zs)&&(fc?(Ab(dc),dc=-1):fc=!0,wg(bg,r-o))):(e.sortIndex=n,xg(Bn,e),Ji||Af||(Ji=!0,Cg(Sg))),e};ut.unstable_shouldYield=Db;ut.unstable_wrapCallback=function(e){var t=jr;return function(){var r=jr;jr=t;try{return e.apply(this,arguments)}finally{jr=r}}}});var $b=po((wB,jb)=>{"use strict";jb.exports=Fb()});var zS=po(No=>{"use strict";var m2=N(),Io=$b();function K(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var G0=new Set,Lc={};function ua(e,t){kl(e,t),kl(e+"Capture",t)}function kl(e,t){for(Lc[e]=t,e=0;e<t.length;e++)G0.add(t[e])}var Ts=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kg=Object.prototype.hasOwnProperty,y2=/^[: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]*$/,Vb={},Bb={};function h2(e){return Kg.call(Bb,e)?!0:Kg.call(Vb,e)?!1:y2.test(e)?Bb[e]=!0:(Vb[e]=!0,!1)}function g2(e,t,r,o){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function v2(e,t,r,o){if(t===null||typeof t>"u"||g2(e,t,r,o))return!0;if(o)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function eo(e,t,r,o,n,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=n,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var Sr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Sr[e]=new eo(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Sr[t]=new eo(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Sr[e]=new eo(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Sr[e]=new eo(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Sr[e]=new eo(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Sr[e]=new eo(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Sr[e]=new eo(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Sr[e]=new eo(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Sr[e]=new eo(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vv=/[\-:]([a-z])/g;function Bv(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Vv,Bv);Sr[t]=new eo(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Vv,Bv);Sr[t]=new eo(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Vv,Bv);Sr[t]=new eo(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Sr[e]=new eo(e,1,!1,e.toLowerCase(),null,!1,!1)});Sr.xlinkHref=new eo("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Sr[e]=new eo(e,1,!1,e.toLowerCase(),null,!0,!0)});function Uv(e,t,r,o){var n=Sr.hasOwnProperty(t)?Sr[t]:null;(n!==null?n.type!==0:o||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(v2(t,r,n,o)&&(r=null),o||n===null?h2(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):n.mustUseProperty?e[n.propertyName]=r===null?n.type===3?!1:"":r:(t=n.attributeName,o=n.attributeNamespace,r===null?e.removeAttribute(t):(n=n.type,r=n===3||n===4&&r===!0?"":""+r,o?e.setAttributeNS(o,t,r):e.setAttribute(t,r))))}var Ss=m2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Lf=Symbol.for("react.element"),dl=Symbol.for("react.portal"),ml=Symbol.for("react.fragment"),zv=Symbol.for("react.strict_mode"),Yg=Symbol.for("react.profiler"),q0=Symbol.for("react.provider"),K0=Symbol.for("react.context"),Wv=Symbol.for("react.forward_ref"),Qg=Symbol.for("react.suspense"),Xg=Symbol.for("react.suspense_list"),Hv=Symbol.for("react.memo"),ti=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Y0=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ub=Symbol.iterator;function mc(e){return e===null||typeof e!="object"?null:(e=Ub&&e[Ub]||e["@@iterator"],typeof e=="function"?e:null)}var Rt=Object.assign,Eg;function bc(e){if(Eg===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Eg=t&&t[1]||""}return`
|
|
2
|
-
`+Eg+e}var Rg=!1;function _g(e,t){if(!e||Rg)return"";Rg=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(p){var o=p}Reflect.construct(e,[],t)}else{try{t.call()}catch(p){o=p}e.call(t.prototype)}else{try{throw Error()}catch(p){o=p}e()}}catch(p){if(p&&o&&typeof p.stack=="string"){for(var n=p.stack.split(`
|
|
3
|
-
`),s=o.stack.split(`
|
|
4
|
-
`),i=n.length-1,a=s.length-1;1<=i&&0<=a&&n[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(n[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||n[i]!==s[a]){var l=`
|
|
5
|
-
`+n[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Rg=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?bc(e):""}function T2(e){switch(e.tag){case 5:return bc(e.type);case 16:return bc("Lazy");case 13:return bc("Suspense");case 19:return bc("SuspenseList");case 0:case 2:case 15:return e=_g(e.type,!1),e;case 11:return e=_g(e.type.render,!1),e;case 1:return e=_g(e.type,!0),e;default:return""}}function Jg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ml:return"Fragment";case dl:return"Portal";case Yg:return"Profiler";case zv:return"StrictMode";case Qg:return"Suspense";case Xg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case K0:return(e.displayName||"Context")+".Consumer";case q0:return(e._context.displayName||"Context")+".Provider";case Wv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Hv:return t=e.displayName||null,t!==null?t:Jg(e.type)||"Memo";case ti:t=e._payload,e=e._init;try{return Jg(e(t))}catch{}}return null}function x2(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Jg(t);case 8:return t===zv?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function yi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Q0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function P2(e){var t=Q0(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){o=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(i){o=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Df(e){e._valueTracker||(e._valueTracker=P2(e))}function X0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=Q0(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function cd(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Zg(e,t){var r=t.checked;return Rt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function zb(e,t){var r=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;r=yi(t.value!=null?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function J0(e,t){t=t.checked,t!=null&&Uv(e,"checked",t,!1)}function ev(e,t){J0(e,t);var r=yi(t.value),o=t.type;if(r!=null)o==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?tv(e,t.type,r):t.hasOwnProperty("defaultValue")&&tv(e,t.type,yi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Wb(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function tv(e,t,r){(t!=="number"||cd(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Sc=Array.isArray;function wl(e,t,r,o){if(e=e.options,t){t={};for(var n=0;n<r.length;n++)t["$"+r[n]]=!0;for(r=0;r<e.length;r++)n=t.hasOwnProperty("$"+e[r].value),e[r].selected!==n&&(e[r].selected=n),n&&o&&(e[r].defaultSelected=!0)}else{for(r=""+yi(r),t=null,n=0;n<e.length;n++){if(e[n].value===r){e[n].selected=!0,o&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function rv(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(K(91));return Rt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Hb(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(K(92));if(Sc(r)){if(1<r.length)throw Error(K(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:yi(r)}}function Z0(e,t){var r=yi(t.value),o=yi(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),o!=null&&(e.defaultValue=""+o)}function Gb(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function e1(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ov(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?e1(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ff,t1=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,o,n){MSApp.execUnsafeLocalFunction(function(){return e(t,r,o,n)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ff=Ff||document.createElement("div"),Ff.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ff.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Dc(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ec={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},b2=["Webkit","ms","Moz","O"];Object.keys(Ec).forEach(function(e){b2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ec[t]=Ec[e]})});function r1(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ec.hasOwnProperty(e)&&Ec[e]?(""+t).trim():t+"px"}function o1(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=r.indexOf("--")===0,n=r1(r,t[r],o);r==="float"&&(r="cssFloat"),o?e.setProperty(r,n):e[r]=n}}var S2=Rt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function nv(e,t){if(t){if(S2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(K(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(K(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(K(61))}if(t.style!=null&&typeof t.style!="object")throw Error(K(62))}}function sv(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var iv=null;function Gv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var av=null,El=null,Rl=null;function qb(e){if(e=eu(e)){if(typeof av!="function")throw Error(K(280));var t=e.stateNode;t&&(t=jd(t),av(e.stateNode,e.type,t))}}function n1(e){El?Rl?Rl.push(e):Rl=[e]:El=e}function s1(){if(El){var e=El,t=Rl;if(Rl=El=null,qb(e),t)for(e=0;e<t.length;e++)qb(t[e])}}function i1(e,t){return e(t)}function a1(){}var Og=!1;function l1(e,t,r){if(Og)return e(t,r);Og=!0;try{return i1(e,t,r)}finally{Og=!1,(El!==null||Rl!==null)&&(a1(),s1())}}function Fc(e,t){var r=e.stateNode;if(r===null)return null;var o=jd(r);if(o===null)return null;r=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(K(231,t,typeof r));return r}var lv=!1;if(Ts)try{ul={},Object.defineProperty(ul,"passive",{get:function(){lv=!0}}),window.addEventListener("test",ul,ul),window.removeEventListener("test",ul,ul)}catch{lv=!1}var ul;function C2(e,t,r,o,n,s,i,a,l){var p=Array.prototype.slice.call(arguments,3);try{t.apply(r,p)}catch(c){this.onError(c)}}var Rc=!1,ud=null,fd=!1,pv=null,w2={onError:function(e){Rc=!0,ud=e}};function E2(e,t,r,o,n,s,i,a,l){Rc=!1,ud=null,C2.apply(w2,arguments)}function R2(e,t,r,o,n,s,i,a,l){if(E2.apply(this,arguments),Rc){if(Rc){var p=ud;Rc=!1,ud=null}else throw Error(K(198));fd||(fd=!0,pv=p)}}function fa(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function p1(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Kb(e){if(fa(e)!==e)throw Error(K(188))}function _2(e){var t=e.alternate;if(!t){if(t=fa(e),t===null)throw Error(K(188));return t!==e?null:e}for(var r=e,o=t;;){var n=r.return;if(n===null)break;var s=n.alternate;if(s===null){if(o=n.return,o!==null){r=o;continue}break}if(n.child===s.child){for(s=n.child;s;){if(s===r)return Kb(n),e;if(s===o)return Kb(n),t;s=s.sibling}throw Error(K(188))}if(r.return!==o.return)r=n,o=s;else{for(var i=!1,a=n.child;a;){if(a===r){i=!0,r=n,o=s;break}if(a===o){i=!0,o=n,r=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===r){i=!0,r=s,o=n;break}if(a===o){i=!0,o=s,r=n;break}a=a.sibling}if(!i)throw Error(K(189))}}if(r.alternate!==o)throw Error(K(190))}if(r.tag!==3)throw Error(K(188));return r.stateNode.current===r?e:t}function c1(e){return e=_2(e),e!==null?u1(e):null}function u1(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=u1(e);if(t!==null)return t;e=e.sibling}return null}var f1=Io.unstable_scheduleCallback,Yb=Io.unstable_cancelCallback,O2=Io.unstable_shouldYield,I2=Io.unstable_requestPaint,jt=Io.unstable_now,k2=Io.unstable_getCurrentPriorityLevel,qv=Io.unstable_ImmediatePriority,d1=Io.unstable_UserBlockingPriority,dd=Io.unstable_NormalPriority,N2=Io.unstable_LowPriority,m1=Io.unstable_IdlePriority,Md=null,Hn=null;function A2(e){if(Hn&&typeof Hn.onCommitFiberRoot=="function")try{Hn.onCommitFiberRoot(Md,e,void 0,(e.current.flags&128)===128)}catch{}}var vn=Math.clz32?Math.clz32:D2,M2=Math.log,L2=Math.LN2;function D2(e){return e>>>=0,e===0?32:31-(M2(e)/L2|0)|0}var jf=64,$f=4194304;function Cc(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function md(e,t){var r=e.pendingLanes;if(r===0)return 0;var o=0,n=e.suspendedLanes,s=e.pingedLanes,i=r&268435455;if(i!==0){var a=i&~n;a!==0?o=Cc(a):(s&=i,s!==0&&(o=Cc(s)))}else i=r&~n,i!==0?o=Cc(i):s!==0&&(o=Cc(s));if(o===0)return 0;if(t!==0&&t!==o&&(t&n)===0&&(n=o&-o,s=t&-t,n>=s||n===16&&(s&4194240)!==0))return t;if((o&4)!==0&&(o|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0<t;)r=31-vn(t),n=1<<r,o|=e[r],t&=~n;return o}function F2(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function j2(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,n=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-vn(s),a=1<<i,l=n[i];l===-1?((a&r)===0||(a&o)!==0)&&(n[i]=F2(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function cv(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function y1(){var e=jf;return jf<<=1,(jf&4194240)===0&&(jf=64),e}function Ig(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Jc(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-vn(t),e[t]=r}function $2(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var o=e.eventTimes;for(e=e.expirationTimes;0<r;){var n=31-vn(r),s=1<<n;t[n]=0,o[n]=-1,e[n]=-1,r&=~s}}function Kv(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-vn(r),n=1<<o;n&t|e[o]&t&&(e[o]|=t),r&=~n}}var tt=0;function h1(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var g1,Yv,v1,T1,x1,uv=!1,Vf=[],ai=null,li=null,pi=null,jc=new Map,$c=new Map,oi=[],V2="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 submit".split(" ");function Qb(e,t){switch(e){case"focusin":case"focusout":ai=null;break;case"dragenter":case"dragleave":li=null;break;case"mouseover":case"mouseout":pi=null;break;case"pointerover":case"pointerout":jc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":$c.delete(t.pointerId)}}function yc(e,t,r,o,n,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:s,targetContainers:[n]},t!==null&&(t=eu(t),t!==null&&Yv(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function B2(e,t,r,o,n){switch(t){case"focusin":return ai=yc(ai,e,t,r,o,n),!0;case"dragenter":return li=yc(li,e,t,r,o,n),!0;case"mouseover":return pi=yc(pi,e,t,r,o,n),!0;case"pointerover":var s=n.pointerId;return jc.set(s,yc(jc.get(s)||null,e,t,r,o,n)),!0;case"gotpointercapture":return s=n.pointerId,$c.set(s,yc($c.get(s)||null,e,t,r,o,n)),!0}return!1}function P1(e){var t=ta(e.target);if(t!==null){var r=fa(t);if(r!==null){if(t=r.tag,t===13){if(t=p1(r),t!==null){e.blockedOn=t,x1(e.priority,function(){v1(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ed(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=fv(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r);iv=o,r.target.dispatchEvent(o),iv=null}else return t=eu(r),t!==null&&Yv(t),e.blockedOn=r,!1;t.shift()}return!0}function Xb(e,t,r){ed(e)&&r.delete(t)}function U2(){uv=!1,ai!==null&&ed(ai)&&(ai=null),li!==null&&ed(li)&&(li=null),pi!==null&&ed(pi)&&(pi=null),jc.forEach(Xb),$c.forEach(Xb)}function hc(e,t){e.blockedOn===t&&(e.blockedOn=null,uv||(uv=!0,Io.unstable_scheduleCallback(Io.unstable_NormalPriority,U2)))}function Vc(e){function t(n){return hc(n,e)}if(0<Vf.length){hc(Vf[0],e);for(var r=1;r<Vf.length;r++){var o=Vf[r];o.blockedOn===e&&(o.blockedOn=null)}}for(ai!==null&&hc(ai,e),li!==null&&hc(li,e),pi!==null&&hc(pi,e),jc.forEach(t),$c.forEach(t),r=0;r<oi.length;r++)o=oi[r],o.blockedOn===e&&(o.blockedOn=null);for(;0<oi.length&&(r=oi[0],r.blockedOn===null);)P1(r),r.blockedOn===null&&oi.shift()}var _l=Ss.ReactCurrentBatchConfig,yd=!0;function z2(e,t,r,o){var n=tt,s=_l.transition;_l.transition=null;try{tt=1,Qv(e,t,r,o)}finally{tt=n,_l.transition=s}}function W2(e,t,r,o){var n=tt,s=_l.transition;_l.transition=null;try{tt=4,Qv(e,t,r,o)}finally{tt=n,_l.transition=s}}function Qv(e,t,r,o){if(yd){var n=fv(e,t,r,o);if(n===null)Fg(e,t,o,hd,r),Qb(e,o);else if(B2(n,e,t,r,o))o.stopPropagation();else if(Qb(e,o),t&4&&-1<V2.indexOf(e)){for(;n!==null;){var s=eu(n);if(s!==null&&g1(s),s=fv(e,t,r,o),s===null&&Fg(e,t,o,hd,r),s===n)break;n=s}n!==null&&o.stopPropagation()}else Fg(e,t,o,null,r)}}var hd=null;function fv(e,t,r,o){if(hd=null,e=Gv(o),e=ta(e),e!==null)if(t=fa(e),t===null)e=null;else if(r=t.tag,r===13){if(e=p1(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return hd=e,null}function b1(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(k2()){case qv:return 1;case d1:return 4;case dd:case N2:return 16;case m1:return 536870912;default:return 16}default:return 16}}var si=null,Xv=null,td=null;function S1(){if(td)return td;var e,t=Xv,r=t.length,o,n="value"in si?si.value:si.textContent,s=n.length;for(e=0;e<r&&t[e]===n[e];e++);var i=r-e;for(o=1;o<=i&&t[r-o]===n[s-o];o++);return td=n.slice(e,1<o?1-o:void 0)}function rd(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Bf(){return!0}function Jb(){return!1}function ko(e){function t(r,o,n,s,i){this._reactName=r,this._targetInst=n,this.type=o,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(r=e[a],this[a]=r?r(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Bf:Jb,this.isPropagationStopped=Jb,this}return Rt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Bf)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Bf)},persist:function(){},isPersistent:Bf}),t}var jl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jv=ko(jl),Zc=Rt({},jl,{view:0,detail:0}),H2=ko(Zc),kg,Ng,gc,Ld=Rt({},Zc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zv,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==gc&&(gc&&e.type==="mousemove"?(kg=e.screenX-gc.screenX,Ng=e.screenY-gc.screenY):Ng=kg=0,gc=e),kg)},movementY:function(e){return"movementY"in e?e.movementY:Ng}}),Zb=ko(Ld),G2=Rt({},Ld,{dataTransfer:0}),q2=ko(G2),K2=Rt({},Zc,{relatedTarget:0}),Ag=ko(K2),Y2=Rt({},jl,{animationName:0,elapsedTime:0,pseudoElement:0}),Q2=ko(Y2),X2=Rt({},jl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),J2=ko(X2),Z2=Rt({},jl,{data:0}),e0=ko(Z2),eN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tN={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"},rN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oN(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=rN[e])?!!t[e]:!1}function Zv(){return oN}var nN=Rt({},Zc,{key:function(e){if(e.key){var t=eN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=rd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?tN[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zv,charCode:function(e){return e.type==="keypress"?rd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?rd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),sN=ko(nN),iN=Rt({},Ld,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),t0=ko(iN),aN=Rt({},Zc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zv}),lN=ko(aN),pN=Rt({},jl,{propertyName:0,elapsedTime:0,pseudoElement:0}),cN=ko(pN),uN=Rt({},Ld,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),fN=ko(uN),dN=[9,13,27,32],eT=Ts&&"CompositionEvent"in window,_c=null;Ts&&"documentMode"in document&&(_c=document.documentMode);var mN=Ts&&"TextEvent"in window&&!_c,C1=Ts&&(!eT||_c&&8<_c&&11>=_c),r0=" ",o0=!1;function w1(e,t){switch(e){case"keyup":return dN.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function E1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var yl=!1;function yN(e,t){switch(e){case"compositionend":return E1(t);case"keypress":return t.which!==32?null:(o0=!0,r0);case"textInput":return e=t.data,e===r0&&o0?null:e;default:return null}}function hN(e,t){if(yl)return e==="compositionend"||!eT&&w1(e,t)?(e=S1(),td=Xv=si=null,yl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return C1&&t.locale!=="ko"?null:t.data;default:return null}}var gN={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 n0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gN[e.type]:t==="textarea"}function R1(e,t,r,o){n1(o),t=gd(t,"onChange"),0<t.length&&(r=new Jv("onChange","change",null,r,o),e.push({event:r,listeners:t}))}var Oc=null,Bc=null;function vN(e){j1(e,0)}function Dd(e){var t=vl(e);if(X0(t))return e}function TN(e,t){if(e==="change")return t}var _1=!1;Ts&&(Ts?(zf="oninput"in document,zf||(Mg=document.createElement("div"),Mg.setAttribute("oninput","return;"),zf=typeof Mg.oninput=="function"),Uf=zf):Uf=!1,_1=Uf&&(!document.documentMode||9<document.documentMode));var Uf,zf,Mg;function s0(){Oc&&(Oc.detachEvent("onpropertychange",O1),Bc=Oc=null)}function O1(e){if(e.propertyName==="value"&&Dd(Bc)){var t=[];R1(t,Bc,e,Gv(e)),l1(vN,t)}}function xN(e,t,r){e==="focusin"?(s0(),Oc=t,Bc=r,Oc.attachEvent("onpropertychange",O1)):e==="focusout"&&s0()}function PN(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Dd(Bc)}function bN(e,t){if(e==="click")return Dd(t)}function SN(e,t){if(e==="input"||e==="change")return Dd(t)}function CN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xn=typeof Object.is=="function"?Object.is:CN;function Uc(e,t){if(xn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var n=r[o];if(!Kg.call(t,n)||!xn(e[n],t[n]))return!1}return!0}function i0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function a0(e,t){var r=i0(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=t&&o>=t)return{node:r,offset:t-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=i0(r)}}function I1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?I1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function k1(){for(var e=window,t=cd();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=cd(e.document)}return t}function tT(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function wN(e){var t=k1(),r=e.focusedElem,o=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&I1(r.ownerDocument.documentElement,r)){if(o!==null&&tT(r)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var n=r.textContent.length,s=Math.min(o.start,n);o=o.end===void 0?s:Math.min(o.end,n),!e.extend&&s>o&&(n=o,o=s,s=n),n=a0(r,s);var i=a0(r,o);n&&i&&(e.rangeCount!==1||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(n.node,n.offset),e.removeAllRanges(),s>o?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var EN=Ts&&"documentMode"in document&&11>=document.documentMode,hl=null,dv=null,Ic=null,mv=!1;function l0(e,t,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;mv||hl==null||hl!==cd(o)||(o=hl,"selectionStart"in o&&tT(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Ic&&Uc(Ic,o)||(Ic=o,o=gd(dv,"onSelect"),0<o.length&&(t=new Jv("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=hl)))}function Wf(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var gl={animationend:Wf("Animation","AnimationEnd"),animationiteration:Wf("Animation","AnimationIteration"),animationstart:Wf("Animation","AnimationStart"),transitionend:Wf("Transition","TransitionEnd")},Lg={},N1={};Ts&&(N1=document.createElement("div").style,"AnimationEvent"in window||(delete gl.animationend.animation,delete gl.animationiteration.animation,delete gl.animationstart.animation),"TransitionEvent"in window||delete gl.transitionend.transition);function Fd(e){if(Lg[e])return Lg[e];if(!gl[e])return e;var t=gl[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in N1)return Lg[e]=t[r];return e}var A1=Fd("animationend"),M1=Fd("animationiteration"),L1=Fd("animationstart"),D1=Fd("transitionend"),F1=new Map,p0="abort auxClick 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(" ");function gi(e,t){F1.set(e,t),ua(t,[e])}for(Hf=0;Hf<p0.length;Hf++)Gf=p0[Hf],c0=Gf.toLowerCase(),u0=Gf[0].toUpperCase()+Gf.slice(1),gi(c0,"on"+u0);var Gf,c0,u0,Hf;gi(A1,"onAnimationEnd");gi(M1,"onAnimationIteration");gi(L1,"onAnimationStart");gi("dblclick","onDoubleClick");gi("focusin","onFocus");gi("focusout","onBlur");gi(D1,"onTransitionEnd");kl("onMouseEnter",["mouseout","mouseover"]);kl("onMouseLeave",["mouseout","mouseover"]);kl("onPointerEnter",["pointerout","pointerover"]);kl("onPointerLeave",["pointerout","pointerover"]);ua("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ua("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ua("onBeforeInput",["compositionend","keypress","textInput","paste"]);ua("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ua("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ua("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wc="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(" "),RN=new Set("cancel close invalid load scroll toggle".split(" ").concat(wc));function f0(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,R2(o,t,void 0,e),e.currentTarget=null}function j1(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var o=e[r],n=o.event;o=o.listeners;e:{var s=void 0;if(t)for(var i=o.length-1;0<=i;i--){var a=o[i],l=a.instance,p=a.currentTarget;if(a=a.listener,l!==s&&n.isPropagationStopped())break e;f0(n,a,p),s=l}else for(i=0;i<o.length;i++){if(a=o[i],l=a.instance,p=a.currentTarget,a=a.listener,l!==s&&n.isPropagationStopped())break e;f0(n,a,p),s=l}}}if(fd)throw e=pv,fd=!1,pv=null,e}function yt(e,t){var r=t[Tv];r===void 0&&(r=t[Tv]=new Set);var o=e+"__bubble";r.has(o)||($1(t,e,2,!1),r.add(o))}function Dg(e,t,r){var o=0;t&&(o|=4),$1(r,e,o,t)}var qf="_reactListening"+Math.random().toString(36).slice(2);function zc(e){if(!e[qf]){e[qf]=!0,G0.forEach(function(r){r!=="selectionchange"&&(RN.has(r)||Dg(r,!1,e),Dg(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[qf]||(t[qf]=!0,Dg("selectionchange",!1,t))}}function $1(e,t,r,o){switch(b1(t)){case 1:var n=z2;break;case 4:n=W2;break;default:n=Qv}r=n.bind(null,t,r,e),n=void 0,!lv||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),o?n!==void 0?e.addEventListener(t,r,{capture:!0,passive:n}):e.addEventListener(t,r,!0):n!==void 0?e.addEventListener(t,r,{passive:n}):e.addEventListener(t,r,!1)}function Fg(e,t,r,o,n){var s=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var i=o.tag;if(i===3||i===4){var a=o.stateNode.containerInfo;if(a===n||a.nodeType===8&&a.parentNode===n)break;if(i===4)for(i=o.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===n||l.nodeType===8&&l.parentNode===n))return;i=i.return}for(;a!==null;){if(i=ta(a),i===null)return;if(l=i.tag,l===5||l===6){o=s=i;continue e}a=a.parentNode}}o=o.return}l1(function(){var p=s,c=Gv(r),u=[];e:{var f=F1.get(e);if(f!==void 0){var g=Jv,v=e;switch(e){case"keypress":if(rd(r)===0)break e;case"keydown":case"keyup":g=sN;break;case"focusin":v="focus",g=Ag;break;case"focusout":v="blur",g=Ag;break;case"beforeblur":case"afterblur":g=Ag;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Zb;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=q2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=lN;break;case A1:case M1:case L1:g=Q2;break;case D1:g=cN;break;case"scroll":g=H2;break;case"wheel":g=fN;break;case"copy":case"cut":case"paste":g=J2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=t0}var x=(t&4)!==0,b=!x&&e==="scroll",m=x?f!==null?f+"Capture":null:f;x=[];for(var h=p,d;h!==null;){d=h;var T=d.stateNode;if(d.tag===5&&T!==null&&(d=T,m!==null&&(T=Fc(h,m),T!=null&&x.push(Wc(h,T,d)))),b)break;h=h.return}0<x.length&&(f=new g(f,v,null,r,c),u.push({event:f,listeners:x}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",f&&r!==iv&&(v=r.relatedTarget||r.fromElement)&&(ta(v)||v[xs]))break e;if((g||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,g?(v=r.relatedTarget||r.toElement,g=p,v=v?ta(v):null,v!==null&&(b=fa(v),v!==b||v.tag!==5&&v.tag!==6)&&(v=null)):(g=null,v=p),g!==v)){if(x=Zb,T="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(x=t0,T="onPointerLeave",m="onPointerEnter",h="pointer"),b=g==null?f:vl(g),d=v==null?f:vl(v),f=new x(T,h+"leave",g,r,c),f.target=b,f.relatedTarget=d,T=null,ta(c)===p&&(x=new x(m,h+"enter",v,r,c),x.target=d,x.relatedTarget=b,T=x),b=T,g&&v)t:{for(x=g,m=v,h=0,d=x;d;d=fl(d))h++;for(d=0,T=m;T;T=fl(T))d++;for(;0<h-d;)x=fl(x),h--;for(;0<d-h;)m=fl(m),d--;for(;h--;){if(x===m||m!==null&&x===m.alternate)break t;x=fl(x),m=fl(m)}x=null}else x=null;g!==null&&d0(u,f,g,x,!1),v!==null&&b!==null&&d0(u,b,v,x,!0)}}e:{if(f=p?vl(p):window,g=f.nodeName&&f.nodeName.toLowerCase(),g==="select"||g==="input"&&f.type==="file")var S=TN;else if(n0(f))if(_1)S=SN;else{S=PN;var C=xN}else(g=f.nodeName)&&g.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(S=bN);if(S&&(S=S(e,p))){R1(u,S,r,c);break e}C&&C(e,f,p),e==="focusout"&&(C=f._wrapperState)&&C.controlled&&f.type==="number"&&tv(f,"number",f.value)}switch(C=p?vl(p):window,e){case"focusin":(n0(C)||C.contentEditable==="true")&&(hl=C,dv=p,Ic=null);break;case"focusout":Ic=dv=hl=null;break;case"mousedown":mv=!0;break;case"contextmenu":case"mouseup":case"dragend":mv=!1,l0(u,r,c);break;case"selectionchange":if(EN)break;case"keydown":case"keyup":l0(u,r,c)}var w;if(eT)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else yl?w1(e,r)&&(E="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(E="onCompositionStart");E&&(C1&&r.locale!=="ko"&&(yl||E!=="onCompositionStart"?E==="onCompositionEnd"&&yl&&(w=S1()):(si=c,Xv="value"in si?si.value:si.textContent,yl=!0)),C=gd(p,E),0<C.length&&(E=new e0(E,e,null,r,c),u.push({event:E,listeners:C}),w?E.data=w:(w=E1(r),w!==null&&(E.data=w)))),(w=mN?yN(e,r):hN(e,r))&&(p=gd(p,"onBeforeInput"),0<p.length&&(c=new e0("onBeforeInput","beforeinput",null,r,c),u.push({event:c,listeners:p}),c.data=w))}j1(u,t)})}function Wc(e,t,r){return{instance:e,listener:t,currentTarget:r}}function gd(e,t){for(var r=t+"Capture",o=[];e!==null;){var n=e,s=n.stateNode;n.tag===5&&s!==null&&(n=s,s=Fc(e,r),s!=null&&o.unshift(Wc(e,s,n)),s=Fc(e,t),s!=null&&o.push(Wc(e,s,n))),e=e.return}return o}function fl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function d0(e,t,r,o,n){for(var s=t._reactName,i=[];r!==null&&r!==o;){var a=r,l=a.alternate,p=a.stateNode;if(l!==null&&l===o)break;a.tag===5&&p!==null&&(a=p,n?(l=Fc(r,s),l!=null&&i.unshift(Wc(r,l,a))):n||(l=Fc(r,s),l!=null&&i.push(Wc(r,l,a)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var _N=/\r\n?/g,ON=/\u0000|\uFFFD/g;function m0(e){return(typeof e=="string"?e:""+e).replace(_N,`
|
|
6
|
-
`).replace(ON,"")}function Kf(e,t,r){if(t=m0(t),m0(e)!==t&&r)throw Error(K(425))}function vd(){}var yv=null,hv=null;function gv(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var vv=typeof setTimeout=="function"?setTimeout:void 0,IN=typeof clearTimeout=="function"?clearTimeout:void 0,y0=typeof Promise=="function"?Promise:void 0,kN=typeof queueMicrotask=="function"?queueMicrotask:typeof y0<"u"?function(e){return y0.resolve(null).then(e).catch(NN)}:vv;function NN(e){setTimeout(function(){throw e})}function jg(e,t){var r=t,o=0;do{var n=r.nextSibling;if(e.removeChild(r),n&&n.nodeType===8)if(r=n.data,r==="/$"){if(o===0){e.removeChild(n),Vc(t);return}o--}else r!=="$"&&r!=="$?"&&r!=="$!"||o++;r=n}while(r);Vc(t)}function ci(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function h0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var $l=Math.random().toString(36).slice(2),Wn="__reactFiber$"+$l,Hc="__reactProps$"+$l,xs="__reactContainer$"+$l,Tv="__reactEvents$"+$l,AN="__reactListeners$"+$l,MN="__reactHandles$"+$l;function ta(e){var t=e[Wn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[xs]||r[Wn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=h0(e);e!==null;){if(r=e[Wn])return r;e=h0(e)}return t}e=r,r=e.parentNode}return null}function eu(e){return e=e[Wn]||e[xs],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function vl(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(K(33))}function jd(e){return e[Hc]||null}var xv=[],Tl=-1;function vi(e){return{current:e}}function ht(e){0>Tl||(e.current=xv[Tl],xv[Tl]=null,Tl--)}function ft(e,t){Tl++,xv[Tl]=e.current,e.current=t}var hi={},Ur=vi(hi),fo=vi(!1),ia=hi;function Nl(e,t){var r=e.type.contextTypes;if(!r)return hi;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var n={},s;for(s in r)n[s]=t[s];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n),n}function mo(e){return e=e.childContextTypes,e!=null}function Td(){ht(fo),ht(Ur)}function g0(e,t,r){if(Ur.current!==hi)throw Error(K(168));ft(Ur,t),ft(fo,r)}function V1(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return r;o=o.getChildContext();for(var n in o)if(!(n in t))throw Error(K(108,x2(e)||"Unknown",n));return Rt({},r,o)}function xd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hi,ia=Ur.current,ft(Ur,e),ft(fo,fo.current),!0}function v0(e,t,r){var o=e.stateNode;if(!o)throw Error(K(169));r?(e=V1(e,t,ia),o.__reactInternalMemoizedMergedChildContext=e,ht(fo),ht(Ur),ft(Ur,e)):ht(fo),ft(fo,r)}var ys=null,$d=!1,$g=!1;function B1(e){ys===null?ys=[e]:ys.push(e)}function LN(e){$d=!0,B1(e)}function Ti(){if(!$g&&ys!==null){$g=!0;var e=0,t=tt;try{var r=ys;for(tt=1;e<r.length;e++){var o=r[e];do o=o(!0);while(o!==null)}ys=null,$d=!1}catch(n){throw ys!==null&&(ys=ys.slice(e+1)),f1(qv,Ti),n}finally{tt=t,$g=!1}}return null}var xl=[],Pl=0,Pd=null,bd=0,Yo=[],Qo=0,aa=null,hs=1,gs="";function Zi(e,t){xl[Pl++]=bd,xl[Pl++]=Pd,Pd=e,bd=t}function U1(e,t,r){Yo[Qo++]=hs,Yo[Qo++]=gs,Yo[Qo++]=aa,aa=e;var o=hs;e=gs;var n=32-vn(o)-1;o&=~(1<<n),r+=1;var s=32-vn(t)+n;if(30<s){var i=n-n%5;s=(o&(1<<i)-1).toString(32),o>>=i,n-=i,hs=1<<32-vn(t)+n|r<<n|o,gs=s+e}else hs=1<<s|r<<n|o,gs=e}function rT(e){e.return!==null&&(Zi(e,1),U1(e,1,0))}function oT(e){for(;e===Pd;)Pd=xl[--Pl],xl[Pl]=null,bd=xl[--Pl],xl[Pl]=null;for(;e===aa;)aa=Yo[--Qo],Yo[Qo]=null,gs=Yo[--Qo],Yo[Qo]=null,hs=Yo[--Qo],Yo[Qo]=null}var Oo=null,_o=null,Tt=!1,gn=null;function z1(e,t){var r=Xo(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function T0(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Oo=e,_o=ci(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Oo=e,_o=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=aa!==null?{id:hs,overflow:gs}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Xo(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Oo=e,_o=null,!0):!1;default:return!1}}function Pv(e){return(e.mode&1)!==0&&(e.flags&128)===0}function bv(e){if(Tt){var t=_o;if(t){var r=t;if(!T0(e,t)){if(Pv(e))throw Error(K(418));t=ci(r.nextSibling);var o=Oo;t&&T0(e,t)?z1(o,r):(e.flags=e.flags&-4097|2,Tt=!1,Oo=e)}}else{if(Pv(e))throw Error(K(418));e.flags=e.flags&-4097|2,Tt=!1,Oo=e}}}function x0(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Oo=e}function Yf(e){if(e!==Oo)return!1;if(!Tt)return x0(e),Tt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!gv(e.type,e.memoizedProps)),t&&(t=_o)){if(Pv(e))throw W1(),Error(K(418));for(;t;)z1(e,t),t=ci(t.nextSibling)}if(x0(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(K(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){_o=ci(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}_o=null}}else _o=Oo?ci(e.stateNode.nextSibling):null;return!0}function W1(){for(var e=_o;e;)e=ci(e.nextSibling)}function Al(){_o=Oo=null,Tt=!1}function nT(e){gn===null?gn=[e]:gn.push(e)}var DN=Ss.ReactCurrentBatchConfig;function vc(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(K(309));var o=r.stateNode}if(!o)throw Error(K(147,e));var n=o,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=n.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(K(284));if(!r._owner)throw Error(K(290,e))}return e}function Qf(e,t){throw e=Object.prototype.toString.call(t),Error(K(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function P0(e){var t=e._init;return t(e._payload)}function H1(e){function t(m,h){if(e){var d=m.deletions;d===null?(m.deletions=[h],m.flags|=16):d.push(h)}}function r(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function o(m,h){for(m=new Map;h!==null;)h.key!==null?m.set(h.key,h):m.set(h.index,h),h=h.sibling;return m}function n(m,h){return m=mi(m,h),m.index=0,m.sibling=null,m}function s(m,h,d){return m.index=d,e?(d=m.alternate,d!==null?(d=d.index,d<h?(m.flags|=2,h):d):(m.flags|=2,h)):(m.flags|=1048576,h)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,h,d,T){return h===null||h.tag!==6?(h=Gg(d,m.mode,T),h.return=m,h):(h=n(h,d),h.return=m,h)}function l(m,h,d,T){var S=d.type;return S===ml?c(m,h,d.props.children,T,d.key):h!==null&&(h.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ti&&P0(S)===h.type)?(T=n(h,d.props),T.ref=vc(m,h,d),T.return=m,T):(T=pd(d.type,d.key,d.props,null,m.mode,T),T.ref=vc(m,h,d),T.return=m,T)}function p(m,h,d,T){return h===null||h.tag!==4||h.stateNode.containerInfo!==d.containerInfo||h.stateNode.implementation!==d.implementation?(h=qg(d,m.mode,T),h.return=m,h):(h=n(h,d.children||[]),h.return=m,h)}function c(m,h,d,T,S){return h===null||h.tag!==7?(h=sa(d,m.mode,T,S),h.return=m,h):(h=n(h,d),h.return=m,h)}function u(m,h,d){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Gg(""+h,m.mode,d),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Lf:return d=pd(h.type,h.key,h.props,null,m.mode,d),d.ref=vc(m,null,h),d.return=m,d;case dl:return h=qg(h,m.mode,d),h.return=m,h;case ti:var T=h._init;return u(m,T(h._payload),d)}if(Sc(h)||mc(h))return h=sa(h,m.mode,d,null),h.return=m,h;Qf(m,h)}return null}function f(m,h,d,T){var S=h!==null?h.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return S!==null?null:a(m,h,""+d,T);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Lf:return d.key===S?l(m,h,d,T):null;case dl:return d.key===S?p(m,h,d,T):null;case ti:return S=d._init,f(m,h,S(d._payload),T)}if(Sc(d)||mc(d))return S!==null?null:c(m,h,d,T,null);Qf(m,d)}return null}function g(m,h,d,T,S){if(typeof T=="string"&&T!==""||typeof T=="number")return m=m.get(d)||null,a(h,m,""+T,S);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Lf:return m=m.get(T.key===null?d:T.key)||null,l(h,m,T,S);case dl:return m=m.get(T.key===null?d:T.key)||null,p(h,m,T,S);case ti:var C=T._init;return g(m,h,d,C(T._payload),S)}if(Sc(T)||mc(T))return m=m.get(d)||null,c(h,m,T,S,null);Qf(h,T)}return null}function v(m,h,d,T){for(var S=null,C=null,w=h,E=h=0,_=null;w!==null&&E<d.length;E++){w.index>E?(_=w,w=null):_=w.sibling;var y=f(m,w,d[E],T);if(y===null){w===null&&(w=_);break}e&&w&&y.alternate===null&&t(m,w),h=s(y,h,E),C===null?S=y:C.sibling=y,C=y,w=_}if(E===d.length)return r(m,w),Tt&&Zi(m,E),S;if(w===null){for(;E<d.length;E++)w=u(m,d[E],T),w!==null&&(h=s(w,h,E),C===null?S=w:C.sibling=w,C=w);return Tt&&Zi(m,E),S}for(w=o(m,w);E<d.length;E++)_=g(w,m,E,d[E],T),_!==null&&(e&&_.alternate!==null&&w.delete(_.key===null?E:_.key),h=s(_,h,E),C===null?S=_:C.sibling=_,C=_);return e&&w.forEach(function(R){return t(m,R)}),Tt&&Zi(m,E),S}function x(m,h,d,T){var S=mc(d);if(typeof S!="function")throw Error(K(150));if(d=S.call(d),d==null)throw Error(K(151));for(var C=S=null,w=h,E=h=0,_=null,y=d.next();w!==null&&!y.done;E++,y=d.next()){w.index>E?(_=w,w=null):_=w.sibling;var R=f(m,w,y.value,T);if(R===null){w===null&&(w=_);break}e&&w&&R.alternate===null&&t(m,w),h=s(R,h,E),C===null?S=R:C.sibling=R,C=R,w=_}if(y.done)return r(m,w),Tt&&Zi(m,E),S;if(w===null){for(;!y.done;E++,y=d.next())y=u(m,y.value,T),y!==null&&(h=s(y,h,E),C===null?S=y:C.sibling=y,C=y);return Tt&&Zi(m,E),S}for(w=o(m,w);!y.done;E++,y=d.next())y=g(w,m,E,y.value,T),y!==null&&(e&&y.alternate!==null&&w.delete(y.key===null?E:y.key),h=s(y,h,E),C===null?S=y:C.sibling=y,C=y);return e&&w.forEach(function(I){return t(m,I)}),Tt&&Zi(m,E),S}function b(m,h,d,T){if(typeof d=="object"&&d!==null&&d.type===ml&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Lf:e:{for(var S=d.key,C=h;C!==null;){if(C.key===S){if(S=d.type,S===ml){if(C.tag===7){r(m,C.sibling),h=n(C,d.props.children),h.return=m,m=h;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ti&&P0(S)===C.type){r(m,C.sibling),h=n(C,d.props),h.ref=vc(m,C,d),h.return=m,m=h;break e}r(m,C);break}else t(m,C);C=C.sibling}d.type===ml?(h=sa(d.props.children,m.mode,T,d.key),h.return=m,m=h):(T=pd(d.type,d.key,d.props,null,m.mode,T),T.ref=vc(m,h,d),T.return=m,m=T)}return i(m);case dl:e:{for(C=d.key;h!==null;){if(h.key===C)if(h.tag===4&&h.stateNode.containerInfo===d.containerInfo&&h.stateNode.implementation===d.implementation){r(m,h.sibling),h=n(h,d.children||[]),h.return=m,m=h;break e}else{r(m,h);break}else t(m,h);h=h.sibling}h=qg(d,m.mode,T),h.return=m,m=h}return i(m);case ti:return C=d._init,b(m,h,C(d._payload),T)}if(Sc(d))return v(m,h,d,T);if(mc(d))return x(m,h,d,T);Qf(m,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,h!==null&&h.tag===6?(r(m,h.sibling),h=n(h,d),h.return=m,m=h):(r(m,h),h=Gg(d,m.mode,T),h.return=m,m=h),i(m)):r(m,h)}return b}var Ml=H1(!0),G1=H1(!1),Sd=vi(null),Cd=null,bl=null,sT=null;function iT(){sT=bl=Cd=null}function aT(e){var t=Sd.current;ht(Sd),e._currentValue=t}function Sv(e,t,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}}function Ol(e,t){Cd=e,sT=bl=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(uo=!0),e.firstContext=null)}function Zo(e){var t=e._currentValue;if(sT!==e)if(e={context:e,memoizedValue:t,next:null},bl===null){if(Cd===null)throw Error(K(308));bl=e,Cd.dependencies={lanes:0,firstContext:e}}else bl=bl.next=e;return t}var ra=null;function lT(e){ra===null?ra=[e]:ra.push(e)}function q1(e,t,r,o){var n=t.interleaved;return n===null?(r.next=r,lT(t)):(r.next=n.next,n.next=r),t.interleaved=r,Ps(e,o)}function Ps(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var ri=!1;function pT(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function K1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function vs(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ui(e,t,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(ze&2)!==0){var n=o.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),o.pending=t,Ps(e,r)}return n=o.interleaved,n===null?(t.next=t,lT(o)):(t.next=n.next,n.next=t),o.interleaved=t,Ps(e,r)}function od(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Kv(e,r)}}function b0(e,t){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var n=null,s=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};s===null?n=s=i:s=s.next=i,r=r.next}while(r!==null);s===null?n=s=t:s=s.next=t}else n=s=t;r={baseState:o.baseState,firstBaseUpdate:n,lastBaseUpdate:s,shared:o.shared,effects:o.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function wd(e,t,r,o){var n=e.updateQueue;ri=!1;var s=n.firstBaseUpdate,i=n.lastBaseUpdate,a=n.shared.pending;if(a!==null){n.shared.pending=null;var l=a,p=l.next;l.next=null,i===null?s=p:i.next=p,i=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==i&&(a===null?c.firstBaseUpdate=p:a.next=p,c.lastBaseUpdate=l))}if(s!==null){var u=n.baseState;i=0,c=p=l=null,a=s;do{var f=a.lane,g=a.eventTime;if((o&f)===f){c!==null&&(c=c.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,x=a;switch(f=t,g=r,x.tag){case 1:if(v=x.payload,typeof v=="function"){u=v.call(g,u,f);break e}u=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=x.payload,f=typeof v=="function"?v.call(g,u,f):v,f==null)break e;u=Rt({},u,f);break e;case 2:ri=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=n.effects,f===null?n.effects=[a]:f.push(a))}else g={eventTime:g,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(p=c=g,l=u):c=c.next=g,i|=f;if(a=a.next,a===null){if(a=n.shared.pending,a===null)break;f=a,a=f.next,f.next=null,n.lastBaseUpdate=f,n.shared.pending=null}}while(!0);if(c===null&&(l=u),n.baseState=l,n.firstBaseUpdate=p,n.lastBaseUpdate=c,t=n.shared.interleaved,t!==null){n=t;do i|=n.lane,n=n.next;while(n!==t)}else s===null&&(n.shared.lanes=0);pa|=i,e.lanes=i,e.memoizedState=u}}function S0(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var o=e[t],n=o.callback;if(n!==null){if(o.callback=null,o=r,typeof n!="function")throw Error(K(191,n));n.call(o)}}}var tu={},Gn=vi(tu),Gc=vi(tu),qc=vi(tu);function oa(e){if(e===tu)throw Error(K(174));return e}function cT(e,t){switch(ft(qc,t),ft(Gc,e),ft(Gn,tu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ov(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ov(t,e)}ht(Gn),ft(Gn,t)}function Ll(){ht(Gn),ht(Gc),ht(qc)}function Y1(e){oa(qc.current);var t=oa(Gn.current),r=ov(t,e.type);t!==r&&(ft(Gc,e),ft(Gn,r))}function uT(e){Gc.current===e&&(ht(Gn),ht(Gc))}var wt=vi(0);function Ed(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vg=[];function fT(){for(var e=0;e<Vg.length;e++)Vg[e]._workInProgressVersionPrimary=null;Vg.length=0}var nd=Ss.ReactCurrentDispatcher,Bg=Ss.ReactCurrentBatchConfig,la=0,Et=null,er=null,pr=null,Rd=!1,kc=!1,Kc=0,FN=0;function $r(){throw Error(K(321))}function dT(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!xn(e[r],t[r]))return!1;return!0}function mT(e,t,r,o,n,s){if(la=s,Et=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nd.current=e===null||e.memoizedState===null?BN:UN,e=r(o,n),kc){s=0;do{if(kc=!1,Kc=0,25<=s)throw Error(K(301));s+=1,pr=er=null,t.updateQueue=null,nd.current=zN,e=r(o,n)}while(kc)}if(nd.current=_d,t=er!==null&&er.next!==null,la=0,pr=er=Et=null,Rd=!1,t)throw Error(K(300));return e}function yT(){var e=Kc!==0;return Kc=0,e}function zn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pr===null?Et.memoizedState=pr=e:pr=pr.next=e,pr}function en(){if(er===null){var e=Et.alternate;e=e!==null?e.memoizedState:null}else e=er.next;var t=pr===null?Et.memoizedState:pr.next;if(t!==null)pr=t,er=e;else{if(e===null)throw Error(K(310));er=e,e={memoizedState:er.memoizedState,baseState:er.baseState,baseQueue:er.baseQueue,queue:er.queue,next:null},pr===null?Et.memoizedState=pr=e:pr=pr.next=e}return pr}function Yc(e,t){return typeof t=="function"?t(e):t}function Ug(e){var t=en(),r=t.queue;if(r===null)throw Error(K(311));r.lastRenderedReducer=e;var o=er,n=o.baseQueue,s=r.pending;if(s!==null){if(n!==null){var i=n.next;n.next=s.next,s.next=i}o.baseQueue=n=s,r.pending=null}if(n!==null){s=n.next,o=o.baseState;var a=i=null,l=null,p=s;do{var c=p.lane;if((la&c)===c)l!==null&&(l=l.next={lane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),o=p.hasEagerState?p.eagerState:e(o,p.action);else{var u={lane:c,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};l===null?(a=l=u,i=o):l=l.next=u,Et.lanes|=c,pa|=c}p=p.next}while(p!==null&&p!==s);l===null?i=o:l.next=a,xn(o,t.memoizedState)||(uo=!0),t.memoizedState=o,t.baseState=i,t.baseQueue=l,r.lastRenderedState=o}if(e=r.interleaved,e!==null){n=e;do s=n.lane,Et.lanes|=s,pa|=s,n=n.next;while(n!==e)}else n===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function zg(e){var t=en(),r=t.queue;if(r===null)throw Error(K(311));r.lastRenderedReducer=e;var o=r.dispatch,n=r.pending,s=t.memoizedState;if(n!==null){r.pending=null;var i=n=n.next;do s=e(s,i.action),i=i.next;while(i!==n);xn(s,t.memoizedState)||(uo=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),r.lastRenderedState=s}return[s,o]}function Q1(){}function X1(e,t){var r=Et,o=en(),n=t(),s=!xn(o.memoizedState,n);if(s&&(o.memoizedState=n,uo=!0),o=o.queue,hT(eS.bind(null,r,o,e),[e]),o.getSnapshot!==t||s||pr!==null&&pr.memoizedState.tag&1){if(r.flags|=2048,Qc(9,Z1.bind(null,r,o,n,t),void 0,null),cr===null)throw Error(K(349));(la&30)!==0||J1(r,t,n)}return n}function J1(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Et.updateQueue,t===null?(t={lastEffect:null,stores:null},Et.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Z1(e,t,r,o){t.value=r,t.getSnapshot=o,tS(t)&&rS(e)}function eS(e,t,r){return r(function(){tS(t)&&rS(e)})}function tS(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!xn(e,r)}catch{return!0}}function rS(e){var t=Ps(e,1);t!==null&&Tn(t,e,1,-1)}function C0(e){var t=zn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yc,lastRenderedState:e},t.queue=e,e=e.dispatch=VN.bind(null,Et,e),[t.memoizedState,e]}function Qc(e,t,r,o){return e={tag:e,create:t,destroy:r,deps:o,next:null},t=Et.updateQueue,t===null?(t={lastEffect:null,stores:null},Et.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e)),e}function oS(){return en().memoizedState}function sd(e,t,r,o){var n=zn();Et.flags|=e,n.memoizedState=Qc(1|t,r,void 0,o===void 0?null:o)}function Vd(e,t,r,o){var n=en();o=o===void 0?null:o;var s=void 0;if(er!==null){var i=er.memoizedState;if(s=i.destroy,o!==null&&dT(o,i.deps)){n.memoizedState=Qc(t,r,s,o);return}}Et.flags|=e,n.memoizedState=Qc(1|t,r,s,o)}function w0(e,t){return sd(8390656,8,e,t)}function hT(e,t){return Vd(2048,8,e,t)}function nS(e,t){return Vd(4,2,e,t)}function sS(e,t){return Vd(4,4,e,t)}function iS(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function aS(e,t,r){return r=r!=null?r.concat([e]):null,Vd(4,4,iS.bind(null,t,e),r)}function gT(){}function lS(e,t){var r=en();t=t===void 0?null:t;var o=r.memoizedState;return o!==null&&t!==null&&dT(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function pS(e,t){var r=en();t=t===void 0?null:t;var o=r.memoizedState;return o!==null&&t!==null&&dT(t,o[1])?o[0]:(e=e(),r.memoizedState=[e,t],e)}function cS(e,t,r){return(la&21)===0?(e.baseState&&(e.baseState=!1,uo=!0),e.memoizedState=r):(xn(r,t)||(r=y1(),Et.lanes|=r,pa|=r,e.baseState=!0),t)}function jN(e,t){var r=tt;tt=r!==0&&4>r?r:4,e(!0);var o=Bg.transition;Bg.transition={};try{e(!1),t()}finally{tt=r,Bg.transition=o}}function uS(){return en().memoizedState}function $N(e,t,r){var o=di(e);if(r={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null},fS(e))dS(t,r);else if(r=q1(e,t,r,o),r!==null){var n=Zr();Tn(r,e,o,n),mS(r,t,o)}}function VN(e,t,r){var o=di(e),n={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null};if(fS(e))dS(t,n);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,r);if(n.hasEagerState=!0,n.eagerState=a,xn(a,i)){var l=t.interleaved;l===null?(n.next=n,lT(t)):(n.next=l.next,l.next=n),t.interleaved=n;return}}catch{}finally{}r=q1(e,t,n,o),r!==null&&(n=Zr(),Tn(r,e,o,n),mS(r,t,o))}}function fS(e){var t=e.alternate;return e===Et||t!==null&&t===Et}function dS(e,t){kc=Rd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function mS(e,t,r){if((r&4194240)!==0){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Kv(e,r)}}var _d={readContext:Zo,useCallback:$r,useContext:$r,useEffect:$r,useImperativeHandle:$r,useInsertionEffect:$r,useLayoutEffect:$r,useMemo:$r,useReducer:$r,useRef:$r,useState:$r,useDebugValue:$r,useDeferredValue:$r,useTransition:$r,useMutableSource:$r,useSyncExternalStore:$r,useId:$r,unstable_isNewReconciler:!1},BN={readContext:Zo,useCallback:function(e,t){return zn().memoizedState=[e,t===void 0?null:t],e},useContext:Zo,useEffect:w0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,sd(4194308,4,iS.bind(null,t,e),r)},useLayoutEffect:function(e,t){return sd(4194308,4,e,t)},useInsertionEffect:function(e,t){return sd(4,2,e,t)},useMemo:function(e,t){var r=zn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var o=zn();return t=r!==void 0?r(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=$N.bind(null,Et,e),[o.memoizedState,e]},useRef:function(e){var t=zn();return e={current:e},t.memoizedState=e},useState:C0,useDebugValue:gT,useDeferredValue:function(e){return zn().memoizedState=e},useTransition:function(){var e=C0(!1),t=e[0];return e=jN.bind(null,e[1]),zn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=Et,n=zn();if(Tt){if(r===void 0)throw Error(K(407));r=r()}else{if(r=t(),cr===null)throw Error(K(349));(la&30)!==0||J1(o,t,r)}n.memoizedState=r;var s={value:r,getSnapshot:t};return n.queue=s,w0(eS.bind(null,o,s,e),[e]),o.flags|=2048,Qc(9,Z1.bind(null,o,s,r,t),void 0,null),r},useId:function(){var e=zn(),t=cr.identifierPrefix;if(Tt){var r=gs,o=hs;r=(o&~(1<<32-vn(o)-1)).toString(32)+r,t=":"+t+"R"+r,r=Kc++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=FN++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},UN={readContext:Zo,useCallback:lS,useContext:Zo,useEffect:hT,useImperativeHandle:aS,useInsertionEffect:nS,useLayoutEffect:sS,useMemo:pS,useReducer:Ug,useRef:oS,useState:function(){return Ug(Yc)},useDebugValue:gT,useDeferredValue:function(e){var t=en();return cS(t,er.memoizedState,e)},useTransition:function(){var e=Ug(Yc)[0],t=en().memoizedState;return[e,t]},useMutableSource:Q1,useSyncExternalStore:X1,useId:uS,unstable_isNewReconciler:!1},zN={readContext:Zo,useCallback:lS,useContext:Zo,useEffect:hT,useImperativeHandle:aS,useInsertionEffect:nS,useLayoutEffect:sS,useMemo:pS,useReducer:zg,useRef:oS,useState:function(){return zg(Yc)},useDebugValue:gT,useDeferredValue:function(e){var t=en();return er===null?t.memoizedState=e:cS(t,er.memoizedState,e)},useTransition:function(){var e=zg(Yc)[0],t=en().memoizedState;return[e,t]},useMutableSource:Q1,useSyncExternalStore:X1,useId:uS,unstable_isNewReconciler:!1};function yn(e,t){if(e&&e.defaultProps){t=Rt({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Cv(e,t,r,o){t=e.memoizedState,r=r(o,t),r=r==null?t:Rt({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Bd={isMounted:function(e){return(e=e._reactInternals)?fa(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var o=Zr(),n=di(e),s=vs(o,n);s.payload=t,r!=null&&(s.callback=r),t=ui(e,s,n),t!==null&&(Tn(t,e,n,o),od(t,e,n))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=Zr(),n=di(e),s=vs(o,n);s.tag=1,s.payload=t,r!=null&&(s.callback=r),t=ui(e,s,n),t!==null&&(Tn(t,e,n,o),od(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Zr(),o=di(e),n=vs(r,o);n.tag=2,t!=null&&(n.callback=t),t=ui(e,n,o),t!==null&&(Tn(t,e,o,r),od(t,e,o))}};function E0(e,t,r,o,n,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,s,i):t.prototype&&t.prototype.isPureReactComponent?!Uc(r,o)||!Uc(n,s):!0}function yS(e,t,r){var o=!1,n=hi,s=t.contextType;return typeof s=="object"&&s!==null?s=Zo(s):(n=mo(t)?ia:Ur.current,o=t.contextTypes,s=(o=o!=null)?Nl(e,n):hi),t=new t(r,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Bd,e.stateNode=t,t._reactInternals=e,o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=s),t}function R0(e,t,r,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==e&&Bd.enqueueReplaceState(t,t.state,null)}function wv(e,t,r,o){var n=e.stateNode;n.props=r,n.state=e.memoizedState,n.refs={},pT(e);var s=t.contextType;typeof s=="object"&&s!==null?n.context=Zo(s):(s=mo(t)?ia:Ur.current,n.context=Nl(e,s)),n.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Cv(e,t,s,r),n.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(t=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),t!==n.state&&Bd.enqueueReplaceState(n,n.state,null),wd(e,r,n,o),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308)}function Dl(e,t){try{var r="",o=t;do r+=T2(o),o=o.return;while(o);var n=r}catch(s){n=`
|
|
7
|
-
Error generating stack: `+s.message+`
|
|
8
|
-
`+s.stack}return{value:e,source:t,stack:n,digest:null}}function Wg(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Ev(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var WN=typeof WeakMap=="function"?WeakMap:Map;function hS(e,t,r){r=vs(-1,r),r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){Id||(Id=!0,Dv=o),Ev(e,t)},r}function gS(e,t,r){r=vs(-1,r),r.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var n=t.value;r.payload=function(){return o(n)},r.callback=function(){Ev(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){Ev(e,t),typeof o!="function"&&(fi===null?fi=new Set([this]):fi.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function _0(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new WN;var n=new Set;o.set(t,n)}else n=o.get(t),n===void 0&&(n=new Set,o.set(t,n));n.has(r)||(n.add(r),e=nA.bind(null,e,t,r),t.then(e,e))}function O0(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function I0(e,t,r,o,n){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=vs(-1,1),t.tag=2,ui(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=n,e)}var HN=Ss.ReactCurrentOwner,uo=!1;function Jr(e,t,r,o){t.child=e===null?G1(t,null,r,o):Ml(t,e.child,r,o)}function k0(e,t,r,o,n){r=r.render;var s=t.ref;return Ol(t,n),o=mT(e,t,r,o,s,n),r=yT(),e!==null&&!uo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,bs(e,t,n)):(Tt&&r&&rT(t),t.flags|=1,Jr(e,t,o,n),t.child)}function N0(e,t,r,o,n){if(e===null){var s=r.type;return typeof s=="function"&&!wT(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=s,vS(e,t,s,o,n)):(e=pd(r.type,null,o,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,(e.lanes&n)===0){var i=s.memoizedProps;if(r=r.compare,r=r!==null?r:Uc,r(i,o)&&e.ref===t.ref)return bs(e,t,n)}return t.flags|=1,e=mi(s,o),e.ref=t.ref,e.return=t,t.child=e}function vS(e,t,r,o,n){if(e!==null){var s=e.memoizedProps;if(Uc(s,o)&&e.ref===t.ref)if(uo=!1,t.pendingProps=o=s,(e.lanes&n)!==0)(e.flags&131072)!==0&&(uo=!0);else return t.lanes=e.lanes,bs(e,t,n)}return Rv(e,t,r,o,n)}function TS(e,t,r){var o=t.pendingProps,n=o.children,s=e!==null?e.memoizedState:null;if(o.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ft(Cl,Ro),Ro|=r;else{if((r&1073741824)===0)return e=s!==null?s.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ft(Cl,Ro),Ro|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=s!==null?s.baseLanes:r,ft(Cl,Ro),Ro|=o}else s!==null?(o=s.baseLanes|r,t.memoizedState=null):o=r,ft(Cl,Ro),Ro|=o;return Jr(e,t,n,r),t.child}function xS(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Rv(e,t,r,o,n){var s=mo(r)?ia:Ur.current;return s=Nl(t,s),Ol(t,n),r=mT(e,t,r,o,s,n),o=yT(),e!==null&&!uo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,bs(e,t,n)):(Tt&&o&&rT(t),t.flags|=1,Jr(e,t,r,n),t.child)}function A0(e,t,r,o,n){if(mo(r)){var s=!0;xd(t)}else s=!1;if(Ol(t,n),t.stateNode===null)id(e,t),yS(t,r,o),wv(t,r,o,n),o=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,p=r.contextType;typeof p=="object"&&p!==null?p=Zo(p):(p=mo(r)?ia:Ur.current,p=Nl(t,p));var c=r.getDerivedStateFromProps,u=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";u||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==o||l!==p)&&R0(t,i,o,p),ri=!1;var f=t.memoizedState;i.state=f,wd(t,o,i,n),l=t.memoizedState,a!==o||f!==l||fo.current||ri?(typeof c=="function"&&(Cv(t,r,c,o),l=t.memoizedState),(a=ri||E0(t,r,a,o,f,l,p))?(u||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=l),i.props=o,i.state=l,i.context=p,o=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{i=t.stateNode,K1(e,t),a=t.memoizedProps,p=t.type===t.elementType?a:yn(t.type,a),i.props=p,u=t.pendingProps,f=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=Zo(l):(l=mo(r)?ia:Ur.current,l=Nl(t,l));var g=r.getDerivedStateFromProps;(c=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==u||f!==l)&&R0(t,i,o,l),ri=!1,f=t.memoizedState,i.state=f,wd(t,o,i,n);var v=t.memoizedState;a!==u||f!==v||fo.current||ri?(typeof g=="function"&&(Cv(t,r,g,o),v=t.memoizedState),(p=ri||E0(t,r,p,o,f,v,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(o,v,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(o,v,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=v),i.props=o,i.state=v,i.context=l,o=p):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),o=!1)}return _v(e,t,r,o,s,n)}function _v(e,t,r,o,n,s){xS(e,t);var i=(t.flags&128)!==0;if(!o&&!i)return n&&v0(t,r,!1),bs(e,t,s);o=t.stateNode,HN.current=t;var a=i&&typeof r.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&i?(t.child=Ml(t,e.child,null,s),t.child=Ml(t,null,a,s)):Jr(e,t,a,s),t.memoizedState=o.state,n&&v0(t,r,!0),t.child}function PS(e){var t=e.stateNode;t.pendingContext?g0(e,t.pendingContext,t.pendingContext!==t.context):t.context&&g0(e,t.context,!1),cT(e,t.containerInfo)}function M0(e,t,r,o,n){return Al(),nT(n),t.flags|=256,Jr(e,t,r,o),t.child}var Ov={dehydrated:null,treeContext:null,retryLane:0};function Iv(e){return{baseLanes:e,cachePool:null,transitions:null}}function bS(e,t,r){var o=t.pendingProps,n=wt.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(n&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(n|=1),ft(wt,n&1),e===null)return bv(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(i=o.children,e=o.fallback,s?(o=t.mode,s=t.child,i={mode:"hidden",children:i},(o&1)===0&&s!==null?(s.childLanes=0,s.pendingProps=i):s=Wd(i,o,0,null),e=sa(e,o,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Iv(r),t.memoizedState=Ov,e):vT(t,i));if(n=e.memoizedState,n!==null&&(a=n.dehydrated,a!==null))return GN(e,t,i,o,a,n,r);if(s){s=o.fallback,i=t.mode,n=e.child,a=n.sibling;var l={mode:"hidden",children:o.children};return(i&1)===0&&t.child!==n?(o=t.child,o.childLanes=0,o.pendingProps=l,t.deletions=null):(o=mi(n,l),o.subtreeFlags=n.subtreeFlags&14680064),a!==null?s=mi(a,s):(s=sa(s,i,r,null),s.flags|=2),s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,i=e.child.memoizedState,i=i===null?Iv(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~r,t.memoizedState=Ov,o}return s=e.child,e=s.sibling,o=mi(s,{mode:"visible",children:o.children}),(t.mode&1)===0&&(o.lanes=r),o.return=t,o.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function vT(e,t){return t=Wd({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Xf(e,t,r,o){return o!==null&&nT(o),Ml(t,e.child,null,r),e=vT(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function GN(e,t,r,o,n,s,i){if(r)return t.flags&256?(t.flags&=-257,o=Wg(Error(K(422))),Xf(e,t,i,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=o.fallback,n=t.mode,o=Wd({mode:"visible",children:o.children},n,0,null),s=sa(s,n,i,null),s.flags|=2,o.return=t,s.return=t,o.sibling=s,t.child=o,(t.mode&1)!==0&&Ml(t,e.child,null,i),t.child.memoizedState=Iv(i),t.memoizedState=Ov,s);if((t.mode&1)===0)return Xf(e,t,i,null);if(n.data==="$!"){if(o=n.nextSibling&&n.nextSibling.dataset,o)var a=o.dgst;return o=a,s=Error(K(419)),o=Wg(s,o,void 0),Xf(e,t,i,o)}if(a=(i&e.childLanes)!==0,uo||a){if(o=cr,o!==null){switch(i&-i){case 4:n=2;break;case 16:n=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:n=32;break;case 536870912:n=268435456;break;default:n=0}n=(n&(o.suspendedLanes|i))!==0?0:n,n!==0&&n!==s.retryLane&&(s.retryLane=n,Ps(e,n),Tn(o,e,n,-1))}return CT(),o=Wg(Error(K(421))),Xf(e,t,i,o)}return n.data==="$?"?(t.flags|=128,t.child=e.child,t=sA.bind(null,e),n._reactRetry=t,null):(e=s.treeContext,_o=ci(n.nextSibling),Oo=t,Tt=!0,gn=null,e!==null&&(Yo[Qo++]=hs,Yo[Qo++]=gs,Yo[Qo++]=aa,hs=e.id,gs=e.overflow,aa=t),t=vT(t,o.children),t.flags|=4096,t)}function L0(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Sv(e.return,t,r)}function Hg(e,t,r,o,n){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:n}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=o,s.tail=r,s.tailMode=n)}function SS(e,t,r){var o=t.pendingProps,n=o.revealOrder,s=o.tail;if(Jr(e,t,o.children,r),o=wt.current,(o&2)!==0)o=o&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&L0(e,r,t);else if(e.tag===19)L0(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}if(ft(wt,o),(t.mode&1)===0)t.memoizedState=null;else switch(n){case"forwards":for(r=t.child,n=null;r!==null;)e=r.alternate,e!==null&&Ed(e)===null&&(n=r),r=r.sibling;r=n,r===null?(n=t.child,t.child=null):(n=r.sibling,r.sibling=null),Hg(t,!1,n,r,s);break;case"backwards":for(r=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Ed(e)===null){t.child=n;break}e=n.sibling,n.sibling=r,r=n,n=e}Hg(t,!0,r,null,s);break;case"together":Hg(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function id(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function bs(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),pa|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(K(153));if(t.child!==null){for(e=t.child,r=mi(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=mi(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function qN(e,t,r){switch(t.tag){case 3:PS(t),Al();break;case 5:Y1(t);break;case 1:mo(t.type)&&xd(t);break;case 4:cT(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,n=t.memoizedProps.value;ft(Sd,o._currentValue),o._currentValue=n;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(ft(wt,wt.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?bS(e,t,r):(ft(wt,wt.current&1),e=bs(e,t,r),e!==null?e.sibling:null);ft(wt,wt.current&1);break;case 19:if(o=(r&t.childLanes)!==0,(e.flags&128)!==0){if(o)return SS(e,t,r);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),ft(wt,wt.current),o)break;return null;case 22:case 23:return t.lanes=0,TS(e,t,r)}return bs(e,t,r)}var CS,kv,wS,ES;CS=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};kv=function(){};wS=function(e,t,r,o){var n=e.memoizedProps;if(n!==o){e=t.stateNode,oa(Gn.current);var s=null;switch(r){case"input":n=Zg(e,n),o=Zg(e,o),s=[];break;case"select":n=Rt({},n,{value:void 0}),o=Rt({},o,{value:void 0}),s=[];break;case"textarea":n=rv(e,n),o=rv(e,o),s=[];break;default:typeof n.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=vd)}nv(r,o);var i;r=null;for(p in n)if(!o.hasOwnProperty(p)&&n.hasOwnProperty(p)&&n[p]!=null)if(p==="style"){var a=n[p];for(i in a)a.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else p!=="dangerouslySetInnerHTML"&&p!=="children"&&p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(Lc.hasOwnProperty(p)?s||(s=[]):(s=s||[]).push(p,null));for(p in o){var l=o[p];if(a=n?.[p],o.hasOwnProperty(p)&&l!==a&&(l!=null||a!=null))if(p==="style")if(a){for(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(s||(s=[]),s.push(p,r)),r=l;else p==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(p,l)):p==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(p,""+l):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&(Lc.hasOwnProperty(p)?(l!=null&&p==="onScroll"&&yt("scroll",e),s||a===l||(s=[])):(s=s||[]).push(p,l))}r&&(s=s||[]).push("style",r);var p=s;(t.updateQueue=p)&&(t.flags|=4)}};ES=function(e,t,r,o){r!==o&&(t.flags|=4)};function Tc(e,t){if(!Tt)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Vr(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)for(var n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags&14680064,o|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags,o|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function KN(e,t,r){var o=t.pendingProps;switch(oT(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vr(t),null;case 1:return mo(t.type)&&Td(),Vr(t),null;case 3:return o=t.stateNode,Ll(),ht(fo),ht(Ur),fT(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Yf(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,gn!==null&&($v(gn),gn=null))),kv(e,t),Vr(t),null;case 5:uT(t);var n=oa(qc.current);if(r=t.type,e!==null&&t.stateNode!=null)wS(e,t,r,o,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(K(166));return Vr(t),null}if(e=oa(Gn.current),Yf(t)){o=t.stateNode,r=t.type;var s=t.memoizedProps;switch(o[Wn]=t,o[Hc]=s,e=(t.mode&1)!==0,r){case"dialog":yt("cancel",o),yt("close",o);break;case"iframe":case"object":case"embed":yt("load",o);break;case"video":case"audio":for(n=0;n<wc.length;n++)yt(wc[n],o);break;case"source":yt("error",o);break;case"img":case"image":case"link":yt("error",o),yt("load",o);break;case"details":yt("toggle",o);break;case"input":zb(o,s),yt("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!s.multiple},yt("invalid",o);break;case"textarea":Hb(o,s),yt("invalid",o)}nv(r,s),n=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="children"?typeof a=="string"?o.textContent!==a&&(s.suppressHydrationWarning!==!0&&Kf(o.textContent,a,e),n=["children",a]):typeof a=="number"&&o.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Kf(o.textContent,a,e),n=["children",""+a]):Lc.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&yt("scroll",o)}switch(r){case"input":Df(o),Wb(o,s,!0);break;case"textarea":Df(o),Gb(o);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(o.onclick=vd)}o=n,t.updateQueue=o,o!==null&&(t.flags|=4)}else{i=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=e1(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=i.createElement(r,{is:o.is}):(e=i.createElement(r),r==="select"&&(i=e,o.multiple?i.multiple=!0:o.size&&(i.size=o.size))):e=i.createElementNS(e,r),e[Wn]=t,e[Hc]=o,CS(e,t,!1,!1),t.stateNode=e;e:{switch(i=sv(r,o),r){case"dialog":yt("cancel",e),yt("close",e),n=o;break;case"iframe":case"object":case"embed":yt("load",e),n=o;break;case"video":case"audio":for(n=0;n<wc.length;n++)yt(wc[n],e);n=o;break;case"source":yt("error",e),n=o;break;case"img":case"image":case"link":yt("error",e),yt("load",e),n=o;break;case"details":yt("toggle",e),n=o;break;case"input":zb(e,o),n=Zg(e,o),yt("invalid",e);break;case"option":n=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},n=Rt({},o,{value:void 0}),yt("invalid",e);break;case"textarea":Hb(e,o),n=rv(e,o),yt("invalid",e);break;default:n=o}nv(r,n),a=n;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?o1(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&t1(e,l)):s==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&Dc(e,l):typeof l=="number"&&Dc(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Lc.hasOwnProperty(s)?l!=null&&s==="onScroll"&&yt("scroll",e):l!=null&&Uv(e,s,l,i))}switch(r){case"input":Df(e),Wb(e,o,!1);break;case"textarea":Df(e),Gb(e);break;case"option":o.value!=null&&e.setAttribute("value",""+yi(o.value));break;case"select":e.multiple=!!o.multiple,s=o.value,s!=null?wl(e,!!o.multiple,s,!1):o.defaultValue!=null&&wl(e,!!o.multiple,o.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=vd)}switch(r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Vr(t),null;case 6:if(e&&t.stateNode!=null)ES(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(K(166));if(r=oa(qc.current),oa(Gn.current),Yf(t)){if(o=t.stateNode,r=t.memoizedProps,o[Wn]=t,(s=o.nodeValue!==r)&&(e=Oo,e!==null))switch(e.tag){case 3:Kf(o.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Kf(o.nodeValue,r,(e.mode&1)!==0)}s&&(t.flags|=4)}else o=(r.nodeType===9?r:r.ownerDocument).createTextNode(o),o[Wn]=t,t.stateNode=o}return Vr(t),null;case 13:if(ht(wt),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Tt&&_o!==null&&(t.mode&1)!==0&&(t.flags&128)===0)W1(),Al(),t.flags|=98560,s=!1;else if(s=Yf(t),o!==null&&o.dehydrated!==null){if(e===null){if(!s)throw Error(K(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(K(317));s[Wn]=t}else Al(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Vr(t),s=!1}else gn!==null&&($v(gn),gn=null),s=!0;if(!s)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(wt.current&1)!==0?tr===0&&(tr=3):CT())),t.updateQueue!==null&&(t.flags|=4),Vr(t),null);case 4:return Ll(),kv(e,t),e===null&&zc(t.stateNode.containerInfo),Vr(t),null;case 10:return aT(t.type._context),Vr(t),null;case 17:return mo(t.type)&&Td(),Vr(t),null;case 19:if(ht(wt),s=t.memoizedState,s===null)return Vr(t),null;if(o=(t.flags&128)!==0,i=s.rendering,i===null)if(o)Tc(s,!1);else{if(tr!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Ed(e),i!==null){for(t.flags|=128,Tc(s,!1),o=i.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;r!==null;)s=r,e=o,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ft(wt,wt.current&1|2),t.child}e=e.sibling}s.tail!==null&&jt()>Fl&&(t.flags|=128,o=!0,Tc(s,!1),t.lanes=4194304)}else{if(!o)if(e=Ed(i),e!==null){if(t.flags|=128,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Tc(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!Tt)return Vr(t),null}else 2*jt()-s.renderingStartTime>Fl&&r!==1073741824&&(t.flags|=128,o=!0,Tc(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(r=s.last,r!==null?r.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=jt(),t.sibling=null,r=wt.current,ft(wt,o?r&1|2:r&1),t):(Vr(t),null);case 22:case 23:return ST(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&(t.mode&1)!==0?(Ro&1073741824)!==0&&(Vr(t),t.subtreeFlags&6&&(t.flags|=8192)):Vr(t),null;case 24:return null;case 25:return null}throw Error(K(156,t.tag))}function YN(e,t){switch(oT(t),t.tag){case 1:return mo(t.type)&&Td(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ll(),ht(fo),ht(Ur),fT(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return uT(t),null;case 13:if(ht(wt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(K(340));Al()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ht(wt),null;case 4:return Ll(),null;case 10:return aT(t.type._context),null;case 22:case 23:return ST(),null;case 24:return null;default:return null}}var Jf=!1,Br=!1,QN=typeof WeakSet=="function"?WeakSet:Set,ne=null;function Sl(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(o){At(e,t,o)}else r.current=null}function Nv(e,t,r){try{r()}catch(o){At(e,t,o)}}var D0=!1;function XN(e,t){if(yv=yd,e=k1(),tT(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var n=o.anchorOffset,s=o.focusNode;o=o.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var i=0,a=-1,l=-1,p=0,c=0,u=e,f=null;t:for(;;){for(var g;u!==r||n!==0&&u.nodeType!==3||(a=i+n),u!==s||o!==0&&u.nodeType!==3||(l=i+o),u.nodeType===3&&(i+=u.nodeValue.length),(g=u.firstChild)!==null;)f=u,u=g;for(;;){if(u===e)break t;if(f===r&&++p===n&&(a=i),f===s&&++c===o&&(l=i),(g=u.nextSibling)!==null)break;u=f,f=u.parentNode}u=g}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(hv={focusedElem:e,selectionRange:r},yd=!1,ne=t;ne!==null;)if(t=ne,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ne=e;else for(;ne!==null;){t=ne;try{var v=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var x=v.memoizedProps,b=v.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?x:yn(t.type,x),b);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(K(163))}}catch(T){At(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,ne=e;break}ne=t.return}return v=D0,D0=!1,v}function Nc(e,t,r){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var n=o=o.next;do{if((n.tag&e)===e){var s=n.destroy;n.destroy=void 0,s!==void 0&&Nv(t,r,s)}n=n.next}while(n!==o)}}function Ud(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var o=r.create;r.destroy=o()}r=r.next}while(r!==t)}}function Av(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function RS(e){var t=e.alternate;t!==null&&(e.alternate=null,RS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Wn],delete t[Hc],delete t[Tv],delete t[AN],delete t[MN])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function _S(e){return e.tag===5||e.tag===3||e.tag===4}function F0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_S(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mv(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=vd));else if(o!==4&&(e=e.child,e!==null))for(Mv(e,t,r),e=e.sibling;e!==null;)Mv(e,t,r),e=e.sibling}function Lv(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(Lv(e,t,r),e=e.sibling;e!==null;)Lv(e,t,r),e=e.sibling}var Pr=null,hn=!1;function ei(e,t,r){for(r=r.child;r!==null;)OS(e,t,r),r=r.sibling}function OS(e,t,r){if(Hn&&typeof Hn.onCommitFiberUnmount=="function")try{Hn.onCommitFiberUnmount(Md,r)}catch{}switch(r.tag){case 5:Br||Sl(r,t);case 6:var o=Pr,n=hn;Pr=null,ei(e,t,r),Pr=o,hn=n,Pr!==null&&(hn?(e=Pr,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Pr.removeChild(r.stateNode));break;case 18:Pr!==null&&(hn?(e=Pr,r=r.stateNode,e.nodeType===8?jg(e.parentNode,r):e.nodeType===1&&jg(e,r),Vc(e)):jg(Pr,r.stateNode));break;case 4:o=Pr,n=hn,Pr=r.stateNode.containerInfo,hn=!0,ei(e,t,r),Pr=o,hn=n;break;case 0:case 11:case 14:case 15:if(!Br&&(o=r.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){n=o=o.next;do{var s=n,i=s.destroy;s=s.tag,i!==void 0&&((s&2)!==0||(s&4)!==0)&&Nv(r,t,i),n=n.next}while(n!==o)}ei(e,t,r);break;case 1:if(!Br&&(Sl(r,t),o=r.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=r.memoizedProps,o.state=r.memoizedState,o.componentWillUnmount()}catch(a){At(r,t,a)}ei(e,t,r);break;case 21:ei(e,t,r);break;case 22:r.mode&1?(Br=(o=Br)||r.memoizedState!==null,ei(e,t,r),Br=o):ei(e,t,r);break;default:ei(e,t,r)}}function j0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new QN),t.forEach(function(o){var n=iA.bind(null,e,o);r.has(o)||(r.add(o),o.then(n,n))})}}function mn(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var n=r[o];try{var s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:Pr=a.stateNode,hn=!1;break e;case 3:Pr=a.stateNode.containerInfo,hn=!0;break e;case 4:Pr=a.stateNode.containerInfo,hn=!0;break e}a=a.return}if(Pr===null)throw Error(K(160));OS(s,i,n),Pr=null,hn=!1;var l=n.alternate;l!==null&&(l.return=null),n.return=null}catch(p){At(n,t,p)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)IS(t,e),t=t.sibling}function IS(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mn(t,e),Un(e),o&4){try{Nc(3,e,e.return),Ud(3,e)}catch(x){At(e,e.return,x)}try{Nc(5,e,e.return)}catch(x){At(e,e.return,x)}}break;case 1:mn(t,e),Un(e),o&512&&r!==null&&Sl(r,r.return);break;case 5:if(mn(t,e),Un(e),o&512&&r!==null&&Sl(r,r.return),e.flags&32){var n=e.stateNode;try{Dc(n,"")}catch(x){At(e,e.return,x)}}if(o&4&&(n=e.stateNode,n!=null)){var s=e.memoizedProps,i=r!==null?r.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&J0(n,s),sv(a,i);var p=sv(a,s);for(i=0;i<l.length;i+=2){var c=l[i],u=l[i+1];c==="style"?o1(n,u):c==="dangerouslySetInnerHTML"?t1(n,u):c==="children"?Dc(n,u):Uv(n,c,u,p)}switch(a){case"input":ev(n,s);break;case"textarea":Z0(n,s);break;case"select":var f=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!s.multiple;var g=s.value;g!=null?wl(n,!!s.multiple,g,!1):f!==!!s.multiple&&(s.defaultValue!=null?wl(n,!!s.multiple,s.defaultValue,!0):wl(n,!!s.multiple,s.multiple?[]:"",!1))}n[Hc]=s}catch(x){At(e,e.return,x)}}break;case 6:if(mn(t,e),Un(e),o&4){if(e.stateNode===null)throw Error(K(162));n=e.stateNode,s=e.memoizedProps;try{n.nodeValue=s}catch(x){At(e,e.return,x)}}break;case 3:if(mn(t,e),Un(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{Vc(t.containerInfo)}catch(x){At(e,e.return,x)}break;case 4:mn(t,e),Un(e);break;case 13:mn(t,e),Un(e),n=e.child,n.flags&8192&&(s=n.memoizedState!==null,n.stateNode.isHidden=s,!s||n.alternate!==null&&n.alternate.memoizedState!==null||(PT=jt())),o&4&&j0(e);break;case 22:if(c=r!==null&&r.memoizedState!==null,e.mode&1?(Br=(p=Br)||c,mn(t,e),Br=p):mn(t,e),Un(e),o&8192){if(p=e.memoizedState!==null,(e.stateNode.isHidden=p)&&!c&&(e.mode&1)!==0)for(ne=e,c=e.child;c!==null;){for(u=ne=c;ne!==null;){switch(f=ne,g=f.child,f.tag){case 0:case 11:case 14:case 15:Nc(4,f,f.return);break;case 1:Sl(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){o=f,r=f.return;try{t=o,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(x){At(o,r,x)}}break;case 5:Sl(f,f.return);break;case 22:if(f.memoizedState!==null){V0(u);continue}}g!==null?(g.return=f,ne=g):V0(u)}c=c.sibling}e:for(c=null,u=e;;){if(u.tag===5){if(c===null){c=u;try{n=u.stateNode,p?(s=n.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=u.stateNode,l=u.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=r1("display",i))}catch(x){At(e,e.return,x)}}}else if(u.tag===6){if(c===null)try{u.stateNode.nodeValue=p?"":u.memoizedProps}catch(x){At(e,e.return,x)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break e;for(;u.sibling===null;){if(u.return===null||u.return===e)break e;c===u&&(c=null),u=u.return}c===u&&(c=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:mn(t,e),Un(e),o&4&&j0(e);break;case 21:break;default:mn(t,e),Un(e)}}function Un(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(_S(r)){var o=r;break e}r=r.return}throw Error(K(160))}switch(o.tag){case 5:var n=o.stateNode;o.flags&32&&(Dc(n,""),o.flags&=-33);var s=F0(e);Lv(e,s,n);break;case 3:case 4:var i=o.stateNode.containerInfo,a=F0(e);Mv(e,a,i);break;default:throw Error(K(161))}}catch(l){At(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function JN(e,t,r){ne=e,kS(e,t,r)}function kS(e,t,r){for(var o=(e.mode&1)!==0;ne!==null;){var n=ne,s=n.child;if(n.tag===22&&o){var i=n.memoizedState!==null||Jf;if(!i){var a=n.alternate,l=a!==null&&a.memoizedState!==null||Br;a=Jf;var p=Br;if(Jf=i,(Br=l)&&!p)for(ne=n;ne!==null;)i=ne,l=i.child,i.tag===22&&i.memoizedState!==null?B0(n):l!==null?(l.return=i,ne=l):B0(n);for(;s!==null;)ne=s,kS(s,t,r),s=s.sibling;ne=n,Jf=a,Br=p}$0(e,t,r)}else(n.subtreeFlags&8772)!==0&&s!==null?(s.return=n,ne=s):$0(e,t,r)}}function $0(e){for(;ne!==null;){var t=ne;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Br||Ud(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!Br)if(r===null)o.componentDidMount();else{var n=t.elementType===t.type?r.memoizedProps:yn(t.type,r.memoizedProps);o.componentDidUpdate(n,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&S0(t,s,o);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}S0(t,i,r)}break;case 5:var a=t.stateNode;if(r===null&&t.flags&4){r=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var p=t.alternate;if(p!==null){var c=p.memoizedState;if(c!==null){var u=c.dehydrated;u!==null&&Vc(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(K(163))}Br||t.flags&512&&Av(t)}catch(f){At(t,t.return,f)}}if(t===e){ne=null;break}if(r=t.sibling,r!==null){r.return=t.return,ne=r;break}ne=t.return}}function V0(e){for(;ne!==null;){var t=ne;if(t===e){ne=null;break}var r=t.sibling;if(r!==null){r.return=t.return,ne=r;break}ne=t.return}}function B0(e){for(;ne!==null;){var t=ne;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Ud(4,t)}catch(l){At(t,r,l)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var n=t.return;try{o.componentDidMount()}catch(l){At(t,n,l)}}var s=t.return;try{Av(t)}catch(l){At(t,s,l)}break;case 5:var i=t.return;try{Av(t)}catch(l){At(t,i,l)}}}catch(l){At(t,t.return,l)}if(t===e){ne=null;break}var a=t.sibling;if(a!==null){a.return=t.return,ne=a;break}ne=t.return}}var ZN=Math.ceil,Od=Ss.ReactCurrentDispatcher,TT=Ss.ReactCurrentOwner,Jo=Ss.ReactCurrentBatchConfig,ze=0,cr=null,Ht=null,br=0,Ro=0,Cl=vi(0),tr=0,Xc=null,pa=0,zd=0,xT=0,Ac=null,co=null,PT=0,Fl=1/0,ms=null,Id=!1,Dv=null,fi=null,Zf=!1,ii=null,kd=0,Mc=0,Fv=null,ad=-1,ld=0;function Zr(){return(ze&6)!==0?jt():ad!==-1?ad:ad=jt()}function di(e){return(e.mode&1)===0?1:(ze&2)!==0&&br!==0?br&-br:DN.transition!==null?(ld===0&&(ld=y1()),ld):(e=tt,e!==0||(e=window.event,e=e===void 0?16:b1(e.type)),e)}function Tn(e,t,r,o){if(50<Mc)throw Mc=0,Fv=null,Error(K(185));Jc(e,r,o),((ze&2)===0||e!==cr)&&(e===cr&&((ze&2)===0&&(zd|=r),tr===4&&ni(e,br)),yo(e,o),r===1&&ze===0&&(t.mode&1)===0&&(Fl=jt()+500,$d&&Ti()))}function yo(e,t){var r=e.callbackNode;j2(e,t);var o=md(e,e===cr?br:0);if(o===0)r!==null&&Yb(r),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(r!=null&&Yb(r),t===1)e.tag===0?LN(U0.bind(null,e)):B1(U0.bind(null,e)),kN(function(){(ze&6)===0&&Ti()}),r=null;else{switch(h1(o)){case 1:r=qv;break;case 4:r=d1;break;case 16:r=dd;break;case 536870912:r=m1;break;default:r=dd}r=$S(r,NS.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function NS(e,t){if(ad=-1,ld=0,(ze&6)!==0)throw Error(K(327));var r=e.callbackNode;if(Il()&&e.callbackNode!==r)return null;var o=md(e,e===cr?br:0);if(o===0)return null;if((o&30)!==0||(o&e.expiredLanes)!==0||t)t=Nd(e,o);else{t=o;var n=ze;ze|=2;var s=MS();(cr!==e||br!==t)&&(ms=null,Fl=jt()+500,na(e,t));do try{rA();break}catch(a){AS(e,a)}while(!0);iT(),Od.current=s,ze=n,Ht!==null?t=0:(cr=null,br=0,t=tr)}if(t!==0){if(t===2&&(n=cv(e),n!==0&&(o=n,t=jv(e,n))),t===1)throw r=Xc,na(e,0),ni(e,o),yo(e,jt()),r;if(t===6)ni(e,o);else{if(n=e.current.alternate,(o&30)===0&&!eA(n)&&(t=Nd(e,o),t===2&&(s=cv(e),s!==0&&(o=s,t=jv(e,s))),t===1))throw r=Xc,na(e,0),ni(e,o),yo(e,jt()),r;switch(e.finishedWork=n,e.finishedLanes=o,t){case 0:case 1:throw Error(K(345));case 2:ea(e,co,ms);break;case 3:if(ni(e,o),(o&130023424)===o&&(t=PT+500-jt(),10<t)){if(md(e,0)!==0)break;if(n=e.suspendedLanes,(n&o)!==o){Zr(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=vv(ea.bind(null,e,co,ms),t);break}ea(e,co,ms);break;case 4:if(ni(e,o),(o&4194240)===o)break;for(t=e.eventTimes,n=-1;0<o;){var i=31-vn(o);s=1<<i,i=t[i],i>n&&(n=i),o&=~s}if(o=n,o=jt()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*ZN(o/1960))-o,10<o){e.timeoutHandle=vv(ea.bind(null,e,co,ms),o);break}ea(e,co,ms);break;case 5:ea(e,co,ms);break;default:throw Error(K(329))}}}return yo(e,jt()),e.callbackNode===r?NS.bind(null,e):null}function jv(e,t){var r=Ac;return e.current.memoizedState.isDehydrated&&(na(e,t).flags|=256),e=Nd(e,t),e!==2&&(t=co,co=r,t!==null&&$v(t)),e}function $v(e){co===null?co=e:co.push.apply(co,e)}function eA(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var o=0;o<r.length;o++){var n=r[o],s=n.getSnapshot;n=n.value;try{if(!xn(s(),n))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ni(e,t){for(t&=~xT,t&=~zd,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-vn(t),o=1<<r;e[r]=-1,t&=~o}}function U0(e){if((ze&6)!==0)throw Error(K(327));Il();var t=md(e,0);if((t&1)===0)return yo(e,jt()),null;var r=Nd(e,t);if(e.tag!==0&&r===2){var o=cv(e);o!==0&&(t=o,r=jv(e,o))}if(r===1)throw r=Xc,na(e,0),ni(e,t),yo(e,jt()),r;if(r===6)throw Error(K(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ea(e,co,ms),yo(e,jt()),null}function bT(e,t){var r=ze;ze|=1;try{return e(t)}finally{ze=r,ze===0&&(Fl=jt()+500,$d&&Ti())}}function ca(e){ii!==null&&ii.tag===0&&(ze&6)===0&&Il();var t=ze;ze|=1;var r=Jo.transition,o=tt;try{if(Jo.transition=null,tt=1,e)return e()}finally{tt=o,Jo.transition=r,ze=t,(ze&6)===0&&Ti()}}function ST(){Ro=Cl.current,ht(Cl)}function na(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,IN(r)),Ht!==null)for(r=Ht.return;r!==null;){var o=r;switch(oT(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Td();break;case 3:Ll(),ht(fo),ht(Ur),fT();break;case 5:uT(o);break;case 4:Ll();break;case 13:ht(wt);break;case 19:ht(wt);break;case 10:aT(o.type._context);break;case 22:case 23:ST()}r=r.return}if(cr=e,Ht=e=mi(e.current,null),br=Ro=t,tr=0,Xc=null,xT=zd=pa=0,co=Ac=null,ra!==null){for(t=0;t<ra.length;t++)if(r=ra[t],o=r.interleaved,o!==null){r.interleaved=null;var n=o.next,s=r.pending;if(s!==null){var i=s.next;s.next=n,o.next=i}r.pending=o}ra=null}return e}function AS(e,t){do{var r=Ht;try{if(iT(),nd.current=_d,Rd){for(var o=Et.memoizedState;o!==null;){var n=o.queue;n!==null&&(n.pending=null),o=o.next}Rd=!1}if(la=0,pr=er=Et=null,kc=!1,Kc=0,TT.current=null,r===null||r.return===null){tr=1,Xc=t,Ht=null;break}e:{var s=e,i=r.return,a=r,l=t;if(t=br,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var p=l,c=a,u=c.tag;if((c.mode&1)===0&&(u===0||u===11||u===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var g=O0(i);if(g!==null){g.flags&=-257,I0(g,i,a,s,t),g.mode&1&&_0(s,p,t),t=g,l=p;var v=t.updateQueue;if(v===null){var x=new Set;x.add(l),t.updateQueue=x}else v.add(l);break e}else{if((t&1)===0){_0(s,p,t),CT();break e}l=Error(K(426))}}else if(Tt&&a.mode&1){var b=O0(i);if(b!==null){(b.flags&65536)===0&&(b.flags|=256),I0(b,i,a,s,t),nT(Dl(l,a));break e}}s=l=Dl(l,a),tr!==4&&(tr=2),Ac===null?Ac=[s]:Ac.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=hS(s,l,t);b0(s,m);break e;case 1:a=l;var h=s.type,d=s.stateNode;if((s.flags&128)===0&&(typeof h.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(fi===null||!fi.has(d)))){s.flags|=65536,t&=-t,s.lanes|=t;var T=gS(s,a,t);b0(s,T);break e}}s=s.return}while(s!==null)}DS(r)}catch(S){t=S,Ht===r&&r!==null&&(Ht=r=r.return);continue}break}while(!0)}function MS(){var e=Od.current;return Od.current=_d,e===null?_d:e}function CT(){(tr===0||tr===3||tr===2)&&(tr=4),cr===null||(pa&268435455)===0&&(zd&268435455)===0||ni(cr,br)}function Nd(e,t){var r=ze;ze|=2;var o=MS();(cr!==e||br!==t)&&(ms=null,na(e,t));do try{tA();break}catch(n){AS(e,n)}while(!0);if(iT(),ze=r,Od.current=o,Ht!==null)throw Error(K(261));return cr=null,br=0,tr}function tA(){for(;Ht!==null;)LS(Ht)}function rA(){for(;Ht!==null&&!O2();)LS(Ht)}function LS(e){var t=jS(e.alternate,e,Ro);e.memoizedProps=e.pendingProps,t===null?DS(e):Ht=t,TT.current=null}function DS(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=KN(r,t,Ro),r!==null){Ht=r;return}}else{if(r=YN(r,t),r!==null){r.flags&=32767,Ht=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tr=6,Ht=null;return}}if(t=t.sibling,t!==null){Ht=t;return}Ht=t=e}while(t!==null);tr===0&&(tr=5)}function ea(e,t,r){var o=tt,n=Jo.transition;try{Jo.transition=null,tt=1,oA(e,t,r,o)}finally{Jo.transition=n,tt=o}return null}function oA(e,t,r,o){do Il();while(ii!==null);if((ze&6)!==0)throw Error(K(327));r=e.finishedWork;var n=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(K(177));e.callbackNode=null,e.callbackPriority=0;var s=r.lanes|r.childLanes;if($2(e,s),e===cr&&(Ht=cr=null,br=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||Zf||(Zf=!0,$S(dd,function(){return Il(),null})),s=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||s){s=Jo.transition,Jo.transition=null;var i=tt;tt=1;var a=ze;ze|=4,TT.current=null,XN(e,r),IS(r,e),wN(hv),yd=!!yv,hv=yv=null,e.current=r,JN(r,e,n),I2(),ze=a,tt=i,Jo.transition=s}else e.current=r;if(Zf&&(Zf=!1,ii=e,kd=n),s=e.pendingLanes,s===0&&(fi=null),A2(r.stateNode,o),yo(e,jt()),t!==null)for(o=e.onRecoverableError,r=0;r<t.length;r++)n=t[r],o(n.value,{componentStack:n.stack,digest:n.digest});if(Id)throw Id=!1,e=Dv,Dv=null,e;return(kd&1)!==0&&e.tag!==0&&Il(),s=e.pendingLanes,(s&1)!==0?e===Fv?Mc++:(Mc=0,Fv=e):Mc=0,Ti(),null}function Il(){if(ii!==null){var e=h1(kd),t=Jo.transition,r=tt;try{if(Jo.transition=null,tt=16>e?16:e,ii===null)var o=!1;else{if(e=ii,ii=null,kd=0,(ze&6)!==0)throw Error(K(331));var n=ze;for(ze|=4,ne=e.current;ne!==null;){var s=ne,i=s.child;if((ne.flags&16)!==0){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var p=a[l];for(ne=p;ne!==null;){var c=ne;switch(c.tag){case 0:case 11:case 15:Nc(8,c,s)}var u=c.child;if(u!==null)u.return=c,ne=u;else for(;ne!==null;){c=ne;var f=c.sibling,g=c.return;if(RS(c),c===p){ne=null;break}if(f!==null){f.return=g,ne=f;break}ne=g}}}var v=s.alternate;if(v!==null){var x=v.child;if(x!==null){v.child=null;do{var b=x.sibling;x.sibling=null,x=b}while(x!==null)}}ne=s}}if((s.subtreeFlags&2064)!==0&&i!==null)i.return=s,ne=i;else e:for(;ne!==null;){if(s=ne,(s.flags&2048)!==0)switch(s.tag){case 0:case 11:case 15:Nc(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,ne=m;break e}ne=s.return}}var h=e.current;for(ne=h;ne!==null;){i=ne;var d=i.child;if((i.subtreeFlags&2064)!==0&&d!==null)d.return=i,ne=d;else e:for(i=h;ne!==null;){if(a=ne,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:Ud(9,a)}}catch(S){At(a,a.return,S)}if(a===i){ne=null;break e}var T=a.sibling;if(T!==null){T.return=a.return,ne=T;break e}ne=a.return}}if(ze=n,Ti(),Hn&&typeof Hn.onPostCommitFiberRoot=="function")try{Hn.onPostCommitFiberRoot(Md,e)}catch{}o=!0}return o}finally{tt=r,Jo.transition=t}}return!1}function z0(e,t,r){t=Dl(r,t),t=hS(e,t,1),e=ui(e,t,1),t=Zr(),e!==null&&(Jc(e,1,t),yo(e,t))}function At(e,t,r){if(e.tag===3)z0(e,e,r);else for(;t!==null;){if(t.tag===3){z0(t,e,r);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(fi===null||!fi.has(o))){e=Dl(r,e),e=gS(t,e,1),t=ui(t,e,1),e=Zr(),t!==null&&(Jc(t,1,e),yo(t,e));break}}t=t.return}}function nA(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),t=Zr(),e.pingedLanes|=e.suspendedLanes&r,cr===e&&(br&r)===r&&(tr===4||tr===3&&(br&130023424)===br&&500>jt()-PT?na(e,0):xT|=r),yo(e,t)}function FS(e,t){t===0&&((e.mode&1)===0?t=1:(t=$f,$f<<=1,($f&130023424)===0&&($f=4194304)));var r=Zr();e=Ps(e,t),e!==null&&(Jc(e,t,r),yo(e,r))}function sA(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),FS(e,r)}function iA(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,n=e.memoizedState;n!==null&&(r=n.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(K(314))}o!==null&&o.delete(t),FS(e,r)}var jS;jS=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||fo.current)uo=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return uo=!1,qN(e,t,r);uo=(e.flags&131072)!==0}else uo=!1,Tt&&(t.flags&1048576)!==0&&U1(t,bd,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;id(e,t),e=t.pendingProps;var n=Nl(t,Ur.current);Ol(t,r),n=mT(null,t,o,e,n,r);var s=yT();return t.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,mo(o)?(s=!0,xd(t)):s=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,pT(t),n.updater=Bd,t.stateNode=n,n._reactInternals=t,wv(t,o,e,r),t=_v(null,t,o,!0,s,r)):(t.tag=0,Tt&&s&&rT(t),Jr(null,t,n,r),t=t.child),t;case 16:o=t.elementType;e:{switch(id(e,t),e=t.pendingProps,n=o._init,o=n(o._payload),t.type=o,n=t.tag=lA(o),e=yn(o,e),n){case 0:t=Rv(null,t,o,e,r);break e;case 1:t=A0(null,t,o,e,r);break e;case 11:t=k0(null,t,o,e,r);break e;case 14:t=N0(null,t,o,yn(o.type,e),r);break e}throw Error(K(306,o,""))}return t;case 0:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:yn(o,n),Rv(e,t,o,n,r);case 1:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:yn(o,n),A0(e,t,o,n,r);case 3:e:{if(PS(t),e===null)throw Error(K(387));o=t.pendingProps,s=t.memoizedState,n=s.element,K1(e,t),wd(t,o,null,r);var i=t.memoizedState;if(o=i.element,s.isDehydrated)if(s={element:o,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){n=Dl(Error(K(423)),t),t=M0(e,t,o,r,n);break e}else if(o!==n){n=Dl(Error(K(424)),t),t=M0(e,t,o,r,n);break e}else for(_o=ci(t.stateNode.containerInfo.firstChild),Oo=t,Tt=!0,gn=null,r=G1(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Al(),o===n){t=bs(e,t,r);break e}Jr(e,t,o,r)}t=t.child}return t;case 5:return Y1(t),e===null&&bv(t),o=t.type,n=t.pendingProps,s=e!==null?e.memoizedProps:null,i=n.children,gv(o,n)?i=null:s!==null&&gv(o,s)&&(t.flags|=32),xS(e,t),Jr(e,t,i,r),t.child;case 6:return e===null&&bv(t),null;case 13:return bS(e,t,r);case 4:return cT(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Ml(t,null,o,r):Jr(e,t,o,r),t.child;case 11:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:yn(o,n),k0(e,t,o,n,r);case 7:return Jr(e,t,t.pendingProps,r),t.child;case 8:return Jr(e,t,t.pendingProps.children,r),t.child;case 12:return Jr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,n=t.pendingProps,s=t.memoizedProps,i=n.value,ft(Sd,o._currentValue),o._currentValue=i,s!==null)if(xn(s.value,i)){if(s.children===n.children&&!fo.current){t=bs(e,t,r);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var l=a.firstContext;l!==null;){if(l.context===o){if(s.tag===1){l=vs(-1,r&-r),l.tag=2;var p=s.updateQueue;if(p!==null){p=p.shared;var c=p.pending;c===null?l.next=l:(l.next=c.next,c.next=l),p.pending=l}}s.lanes|=r,l=s.alternate,l!==null&&(l.lanes|=r),Sv(s.return,r,t),a.lanes|=r;break}l=l.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(K(341));i.lanes|=r,a=i.alternate,a!==null&&(a.lanes|=r),Sv(i,r,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Jr(e,t,n.children,r),t=t.child}return t;case 9:return n=t.type,o=t.pendingProps.children,Ol(t,r),n=Zo(n),o=o(n),t.flags|=1,Jr(e,t,o,r),t.child;case 14:return o=t.type,n=yn(o,t.pendingProps),n=yn(o.type,n),N0(e,t,o,n,r);case 15:return vS(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:yn(o,n),id(e,t),t.tag=1,mo(o)?(e=!0,xd(t)):e=!1,Ol(t,r),yS(t,o,n),wv(t,o,n,r),_v(null,t,o,!0,e,r);case 19:return SS(e,t,r);case 22:return TS(e,t,r)}throw Error(K(156,t.tag))};function $S(e,t){return f1(e,t)}function aA(e,t,r,o){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xo(e,t,r,o){return new aA(e,t,r,o)}function wT(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lA(e){if(typeof e=="function")return wT(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Wv)return 11;if(e===Hv)return 14}return 2}function mi(e,t){var r=e.alternate;return r===null?(r=Xo(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function pd(e,t,r,o,n,s){var i=2;if(o=e,typeof e=="function")wT(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ml:return sa(r.children,n,s,t);case zv:i=8,n|=8;break;case Yg:return e=Xo(12,r,t,n|2),e.elementType=Yg,e.lanes=s,e;case Qg:return e=Xo(13,r,t,n),e.elementType=Qg,e.lanes=s,e;case Xg:return e=Xo(19,r,t,n),e.elementType=Xg,e.lanes=s,e;case Y0:return Wd(r,n,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case q0:i=10;break e;case K0:i=9;break e;case Wv:i=11;break e;case Hv:i=14;break e;case ti:i=16,o=null;break e}throw Error(K(130,e==null?e:typeof e,""))}return t=Xo(i,r,t,n),t.elementType=e,t.type=o,t.lanes=s,t}function sa(e,t,r,o){return e=Xo(7,e,o,t),e.lanes=r,e}function Wd(e,t,r,o){return e=Xo(22,e,o,t),e.elementType=Y0,e.lanes=r,e.stateNode={isHidden:!1},e}function Gg(e,t,r){return e=Xo(6,e,null,t),e.lanes=r,e}function qg(e,t,r){return t=Xo(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function pA(e,t,r,o,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ig(0),this.expirationTimes=Ig(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ig(0),this.identifierPrefix=o,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function ET(e,t,r,o,n,s,i,a,l){return e=new pA(e,t,r,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Xo(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:o,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},pT(s),e}function cA(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:dl,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}function VS(e){if(!e)return hi;e=e._reactInternals;e:{if(fa(e)!==e||e.tag!==1)throw Error(K(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(mo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(K(171))}if(e.tag===1){var r=e.type;if(mo(r))return V1(e,r,t)}return t}function BS(e,t,r,o,n,s,i,a,l){return e=ET(r,o,!0,e,n,s,i,a,l),e.context=VS(null),r=e.current,o=Zr(),n=di(r),s=vs(o,n),s.callback=t??null,ui(r,s,n),e.current.lanes=n,Jc(e,n,o),yo(e,o),e}function Hd(e,t,r,o){var n=t.current,s=Zr(),i=di(n);return r=VS(r),t.context===null?t.context=r:t.pendingContext=r,t=vs(s,i),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=ui(n,t,i),e!==null&&(Tn(e,n,i,s),od(e,n,i)),i}function Ad(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function W0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function RT(e,t){W0(e,t),(e=e.alternate)&&W0(e,t)}function uA(){return null}var US=typeof reportError=="function"?reportError:function(e){console.error(e)};function _T(e){this._internalRoot=e}Gd.prototype.render=_T.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(K(409));Hd(e,t,null,null)};Gd.prototype.unmount=_T.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ca(function(){Hd(null,e,null,null)}),t[xs]=null}};function Gd(e){this._internalRoot=e}Gd.prototype.unstable_scheduleHydration=function(e){if(e){var t=T1();e={blockedOn:null,target:e,priority:t};for(var r=0;r<oi.length&&t!==0&&t<oi[r].priority;r++);oi.splice(r,0,e),r===0&&P1(e)}};function OT(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function qd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function H0(){}function fA(e,t,r,o,n){if(n){if(typeof o=="function"){var s=o;o=function(){var p=Ad(i);s.call(p)}}var i=BS(t,o,e,0,null,!1,!1,"",H0);return e._reactRootContainer=i,e[xs]=i.current,zc(e.nodeType===8?e.parentNode:e),ca(),i}for(;n=e.lastChild;)e.removeChild(n);if(typeof o=="function"){var a=o;o=function(){var p=Ad(l);a.call(p)}}var l=ET(e,0,!1,null,null,!1,!1,"",H0);return e._reactRootContainer=l,e[xs]=l.current,zc(e.nodeType===8?e.parentNode:e),ca(function(){Hd(t,l,r,o)}),l}function Kd(e,t,r,o,n){var s=r._reactRootContainer;if(s){var i=s;if(typeof n=="function"){var a=n;n=function(){var l=Ad(i);a.call(l)}}Hd(t,i,e,n)}else i=fA(r,t,e,n,o);return Ad(i)}g1=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=Cc(t.pendingLanes);r!==0&&(Kv(t,r|1),yo(t,jt()),(ze&6)===0&&(Fl=jt()+500,Ti()))}break;case 13:ca(function(){var o=Ps(e,1);if(o!==null){var n=Zr();Tn(o,e,1,n)}}),RT(e,1)}};Yv=function(e){if(e.tag===13){var t=Ps(e,134217728);if(t!==null){var r=Zr();Tn(t,e,134217728,r)}RT(e,134217728)}};v1=function(e){if(e.tag===13){var t=di(e),r=Ps(e,t);if(r!==null){var o=Zr();Tn(r,e,t,o)}RT(e,t)}};T1=function(){return tt};x1=function(e,t){var r=tt;try{return tt=e,t()}finally{tt=r}};av=function(e,t,r){switch(t){case"input":if(ev(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var n=jd(o);if(!n)throw Error(K(90));X0(o),ev(o,n)}}}break;case"textarea":Z0(e,r);break;case"select":t=r.value,t!=null&&wl(e,!!r.multiple,t,!1)}};i1=bT;a1=ca;var dA={usingClientEntryPoint:!1,Events:[eu,vl,jd,n1,s1,bT]},xc={findFiberByHostInstance:ta,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},mA={bundleType:xc.bundleType,version:xc.version,rendererPackageName:xc.rendererPackageName,rendererConfig:xc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ss.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=c1(e),e===null?null:e.stateNode},findFiberByHostInstance:xc.findFiberByHostInstance||uA,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Pc=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Pc.isDisabled&&Pc.supportsFiber))try{Md=Pc.inject(mA),Hn=Pc}catch{}var Pc;No.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dA;No.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!OT(t))throw Error(K(200));return cA(e,t,null,r)};No.createRoot=function(e,t){if(!OT(e))throw Error(K(299));var r=!1,o="",n=US;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=ET(e,1,!1,null,null,r,!1,o,n),e[xs]=t.current,zc(e.nodeType===8?e.parentNode:e),new _T(t)};No.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(K(188)):(e=Object.keys(e).join(","),Error(K(268,e)));return e=c1(t),e=e===null?null:e.stateNode,e};No.flushSync=function(e){return ca(e)};No.hydrate=function(e,t,r){if(!qd(t))throw Error(K(200));return Kd(null,e,t,!0,r)};No.hydrateRoot=function(e,t,r){if(!OT(e))throw Error(K(405));var o=r!=null&&r.hydratedSources||null,n=!1,s="",i=US;if(r!=null&&(r.unstable_strictMode===!0&&(n=!0),r.identifierPrefix!==void 0&&(s=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=BS(t,null,e,1,r??null,n,!1,s,i),e[xs]=t.current,zc(e),o)for(e=0;e<o.length;e++)r=o[e],n=r._getVersion,n=n(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,n]:t.mutableSourceEagerHydrationData.push(r,n);return new Gd(t)};No.render=function(e,t,r){if(!qd(t))throw Error(K(200));return Kd(null,e,t,!1,r)};No.unmountComponentAtNode=function(e){if(!qd(e))throw Error(K(40));return e._reactRootContainer?(ca(function(){Kd(null,null,e,!1,function(){e._reactRootContainer=null,e[xs]=null})}),!0):!1};No.unstable_batchedUpdates=bT;No.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!qd(r))throw Error(K(200));if(e==null||e._reactInternals===void 0)throw Error(K(38));return Kd(e,t,r,!1,o)};No.version="18.3.1-next-f1338f8080-20240426"});var Yd=po((RB,HS)=>{"use strict";function WS(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(WS)}catch(e){console.error(e)}}WS(),HS.exports=zS()});var qS=po(IT=>{"use strict";var GS=Yd();IT.createRoot=GS.createRoot,IT.hydrateRoot=GS.hydrateRoot;var _B});var vC=po(rt=>{"use strict";var fr=typeof Symbol=="function"&&Symbol.for,MT=fr?Symbol.for("react.element"):60103,LT=fr?Symbol.for("react.portal"):60106,nm=fr?Symbol.for("react.fragment"):60107,sm=fr?Symbol.for("react.strict_mode"):60108,im=fr?Symbol.for("react.profiler"):60114,am=fr?Symbol.for("react.provider"):60109,lm=fr?Symbol.for("react.context"):60110,DT=fr?Symbol.for("react.async_mode"):60111,pm=fr?Symbol.for("react.concurrent_mode"):60111,cm=fr?Symbol.for("react.forward_ref"):60112,um=fr?Symbol.for("react.suspense"):60113,MA=fr?Symbol.for("react.suspense_list"):60120,fm=fr?Symbol.for("react.memo"):60115,dm=fr?Symbol.for("react.lazy"):60116,LA=fr?Symbol.for("react.block"):60121,DA=fr?Symbol.for("react.fundamental"):60117,FA=fr?Symbol.for("react.responder"):60118,jA=fr?Symbol.for("react.scope"):60119;function Ao(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case MT:switch(e=e.type,e){case DT:case pm:case nm:case im:case sm:case um:return e;default:switch(e=e&&e.$$typeof,e){case lm:case cm:case dm:case fm:case am:return e;default:return t}}case LT:return t}}}function gC(e){return Ao(e)===pm}rt.AsyncMode=DT;rt.ConcurrentMode=pm;rt.ContextConsumer=lm;rt.ContextProvider=am;rt.Element=MT;rt.ForwardRef=cm;rt.Fragment=nm;rt.Lazy=dm;rt.Memo=fm;rt.Portal=LT;rt.Profiler=im;rt.StrictMode=sm;rt.Suspense=um;rt.isAsyncMode=function(e){return gC(e)||Ao(e)===DT};rt.isConcurrentMode=gC;rt.isContextConsumer=function(e){return Ao(e)===lm};rt.isContextProvider=function(e){return Ao(e)===am};rt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===MT};rt.isForwardRef=function(e){return Ao(e)===cm};rt.isFragment=function(e){return Ao(e)===nm};rt.isLazy=function(e){return Ao(e)===dm};rt.isMemo=function(e){return Ao(e)===fm};rt.isPortal=function(e){return Ao(e)===LT};rt.isProfiler=function(e){return Ao(e)===im};rt.isStrictMode=function(e){return Ao(e)===sm};rt.isSuspense=function(e){return Ao(e)===um};rt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===nm||e===pm||e===im||e===sm||e===um||e===MA||typeof e=="object"&&e!==null&&(e.$$typeof===dm||e.$$typeof===fm||e.$$typeof===am||e.$$typeof===lm||e.$$typeof===cm||e.$$typeof===DA||e.$$typeof===FA||e.$$typeof===jA||e.$$typeof===LA)};rt.typeOf=Ao});var xC=po((uU,TC)=>{"use strict";TC.exports=vC()});var RC=po((fU,EC)=>{"use strict";var FT=xC(),$A={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},VA={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},BA={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},CC={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},jT={};jT[FT.ForwardRef]=BA;jT[FT.Memo]=CC;function PC(e){return FT.isMemo(e)?CC:jT[e.$$typeof]||$A}var UA=Object.defineProperty,zA=Object.getOwnPropertyNames,bC=Object.getOwnPropertySymbols,WA=Object.getOwnPropertyDescriptor,HA=Object.getPrototypeOf,SC=Object.prototype;function wC(e,t,r){if(typeof t!="string"){if(SC){var o=HA(t);o&&o!==SC&&wC(e,o,r)}var n=zA(t);bC&&(n=n.concat(bC(t)));for(var s=PC(e),i=PC(t),a=0;a<n.length;++a){var l=n[a];if(!VA[l]&&!(r&&r[l])&&!(i&&i[l])&&!(s&&s[l])){var p=WA(t,l);try{UA(e,l,p)}catch{}}}}return e}EC.exports=wC});var GC=po(gm=>{"use strict";var lM=N(),pM=Symbol.for("react.element"),cM=Symbol.for("react.fragment"),uM=Object.prototype.hasOwnProperty,fM=lM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dM={key:!0,ref:!0,__self:!0,__source:!0};function HC(e,t,r){var o,n={},s=null,i=null;r!==void 0&&(s=""+r),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(o in t)uM.call(t,o)&&!dM.hasOwnProperty(o)&&(n[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps,t)n[o]===void 0&&(n[o]=t[o]);return{$$typeof:pM,type:e,key:s,ref:i,props:n,_owner:fM.current}}gm.Fragment=cM;gm.jsx=HC;gm.jsxs=HC});var k=po((a6,qC)=>{"use strict";qC.exports=GC()});var XC=po(ct=>{"use strict";var WT=Symbol.for("react.transitional.element"),HT=Symbol.for("react.portal"),vm=Symbol.for("react.fragment"),Tm=Symbol.for("react.strict_mode"),xm=Symbol.for("react.profiler");Symbol.for("react.provider");var Pm=Symbol.for("react.consumer"),bm=Symbol.for("react.context"),Sm=Symbol.for("react.forward_ref"),Cm=Symbol.for("react.suspense"),wm=Symbol.for("react.suspense_list"),Em=Symbol.for("react.memo"),Rm=Symbol.for("react.lazy"),yM=Symbol.for("react.view_transition"),hM=Symbol.for("react.client.reference");function on(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case WT:switch(e=e.type,e){case vm:case xm:case Tm:case Cm:case wm:case yM:return e;default:switch(e=e&&e.$$typeof,e){case bm:case Sm:case Rm:case Em:return e;case Pm:return e;default:return t}}case HT:return t}}}ct.ContextConsumer=Pm;ct.ContextProvider=bm;ct.Element=WT;ct.ForwardRef=Sm;ct.Fragment=vm;ct.Lazy=Rm;ct.Memo=Em;ct.Portal=HT;ct.Profiler=xm;ct.StrictMode=Tm;ct.Suspense=Cm;ct.SuspenseList=wm;ct.isContextConsumer=function(e){return on(e)===Pm};ct.isContextProvider=function(e){return on(e)===bm};ct.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===WT};ct.isForwardRef=function(e){return on(e)===Sm};ct.isFragment=function(e){return on(e)===vm};ct.isLazy=function(e){return on(e)===Rm};ct.isMemo=function(e){return on(e)===Em};ct.isPortal=function(e){return on(e)===HT};ct.isProfiler=function(e){return on(e)===xm};ct.isStrictMode=function(e){return on(e)===Tm};ct.isSuspense=function(e){return on(e)===Cm};ct.isSuspenseList=function(e){return on(e)===wm};ct.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===vm||e===xm||e===Tm||e===Cm||e===wm||typeof e=="object"&&e!==null&&(e.$$typeof===Rm||e.$$typeof===Em||e.$$typeof===bm||e.$$typeof===Pm||e.$$typeof===Sm||e.$$typeof===hM||e.getModuleId!==void 0)};ct.typeOf=on});var ZC=po((T6,JC)=>{"use strict";JC.exports=XC()});var sg=P(N(),1),Yk=P(qS(),1);var yA={black:"#000",white:"#fff"},Vl=yA;var hA={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},da=hA;var gA={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ma=gA;var vA={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ya=vA;var TA={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ha=TA;var xA={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},ga=xA;var PA={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Bl=PA;var bA={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"},KS=bA;function ur(e,...t){let r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(o=>r.searchParams.append("args[]",o)),`Minified MUI error #${e}; visit ${r} for the full message.`}var Cr="$$material";function va(){return va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},va.apply(null,arguments)}var rn=P(N()),mm=P(N());var SA=!1;function CA(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 wA(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 YS=function(){function e(r){var o=this;this._insertTag=function(n){var s;o.tags.length===0?o.insertionPoint?s=o.insertionPoint.nextSibling:o.prepend?s=o.container.firstChild:s=o.before:s=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,s),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!SA:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(wA(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var s=CA(n);try{s.insertRule(o,s.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},e}();var wr="-ms-",ru="-moz-",Ge="-webkit-",Qd="comm",Ul="rule",zl="decl";var QS="@import";var Xd="@keyframes";var XS="@layer";var JS=Math.abs,Ta=String.fromCharCode,ZS=Object.assign;function eC(e,t){return $t(e,0)^45?(((t<<2^$t(e,0))<<2^$t(e,1))<<2^$t(e,2))<<2^$t(e,3):0}function Jd(e){return e.trim()}function kT(e,t){return(e=t.exec(e))?e[0]:e}function $e(e,t,r){return e.replace(t,r)}function ou(e,t){return e.indexOf(t)}function $t(e,t){return e.charCodeAt(t)|0}function xi(e,t,r){return e.slice(t,r)}function to(e){return e.length}function Wl(e){return e.length}function Hl(e,t){return t.push(e),e}function NT(e,t){return e.map(t).join("")}var Zd=1,Gl=1,tC=0,ro=0,Gt=0,Kl="";function nu(e,t,r,o,n,s,i){return{value:e,root:t,parent:r,type:o,props:n,children:s,line:Zd,column:Gl,length:i,return:""}}function Yl(e,t){return ZS(nu("",null,null,"",null,null,0),e,{length:-e.length},t)}function rC(){return Gt}function oC(){return Gt=ro>0?$t(Kl,--ro):0,Gl--,Gt===10&&(Gl=1,Zd--),Gt}function oo(){return Gt=ro<tC?$t(Kl,ro++):0,Gl++,Gt===10&&(Gl=1,Zd++),Gt}function tn(){return $t(Kl,ro)}function su(){return ro}function Ql(e,t){return xi(Kl,e,t)}function ql(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 em(e){return Zd=Gl=1,tC=to(Kl=e),ro=0,[]}function tm(e){return Kl="",e}function Xl(e){return Jd(Ql(ro-1,AT(e===91?e+2:e===40?e+1:e)))}function nC(e){for(;(Gt=tn())&&Gt<33;)oo();return ql(e)>2||ql(Gt)>3?"":" "}function sC(e,t){for(;--t&&oo()&&!(Gt<48||Gt>102||Gt>57&&Gt<65||Gt>70&&Gt<97););return Ql(e,su()+(t<6&&tn()==32&&oo()==32))}function AT(e){for(;oo();)switch(Gt){case e:return ro;case 34:case 39:e!==34&&e!==39&&AT(Gt);break;case 40:e===41&&AT(e);break;case 92:oo();break}return ro}function iC(e,t){for(;oo()&&e+Gt!==57;)if(e+Gt===84&&tn()===47)break;return"/*"+Ql(t,ro-1)+"*"+Ta(e===47?e:oo())}function aC(e){for(;!ql(tn());)oo();return Ql(e,ro)}function cC(e){return tm(rm("",null,null,null,[""],e=em(e),0,[0],e))}function rm(e,t,r,o,n,s,i,a,l){for(var p=0,c=0,u=i,f=0,g=0,v=0,x=1,b=1,m=1,h=0,d="",T=n,S=s,C=o,w=d;b;)switch(v=h,h=oo()){case 40:if(v!=108&&$t(w,u-1)==58){ou(w+=$e(Xl(h),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:w+=Xl(h);break;case 9:case 10:case 13:case 32:w+=nC(v);break;case 92:w+=sC(su()-1,7);continue;case 47:switch(tn()){case 42:case 47:Hl(EA(iC(oo(),su()),t,r),l);break;default:w+="/"}break;case 123*x:a[p++]=to(w)*m;case 125*x:case 59:case 0:switch(h){case 0:case 125:b=0;case 59+c:m==-1&&(w=$e(w,/\f/g,"")),g>0&&to(w)-u&&Hl(g>32?pC(w+";",o,r,u-1):pC($e(w," ","")+";",o,r,u-2),l);break;case 59:w+=";";default:if(Hl(C=lC(w,t,r,p,c,n,a,d,T=[],S=[],u),s),h===123)if(c===0)rm(w,t,C,C,T,s,u,a,S);else switch(f===99&&$t(w,3)===110?100:f){case 100:case 108:case 109:case 115:rm(e,C,C,o&&Hl(lC(e,C,C,0,0,n,a,d,n,T=[],u),S),n,S,u,a,o?T:S);break;default:rm(w,C,C,C,[""],S,0,a,S)}}p=c=g=0,x=m=1,d=w="",u=i;break;case 58:u=1+to(w),g=v;default:if(x<1){if(h==123)--x;else if(h==125&&x++==0&&oC()==125)continue}switch(w+=Ta(h),h*x){case 38:m=c>0?1:(w+="\f",-1);break;case 44:a[p++]=(to(w)-1)*m,m=1;break;case 64:tn()===45&&(w+=Xl(oo())),f=tn(),c=u=to(d=w+=aC(su())),h++;break;case 45:v===45&&to(w)==2&&(x=0)}}return s}function lC(e,t,r,o,n,s,i,a,l,p,c){for(var u=n-1,f=n===0?s:[""],g=Wl(f),v=0,x=0,b=0;v<o;++v)for(var m=0,h=xi(e,u+1,u=JS(x=i[v])),d=e;m<g;++m)(d=Jd(x>0?f[m]+" "+h:$e(h,/&\f/g,f[m])))&&(l[b++]=d);return nu(e,t,r,n===0?Ul:a,l,p,c)}function EA(e,t,r){return nu(e,t,r,Qd,Ta(rC()),xi(e,2,-2),0)}function pC(e,t,r,o){return nu(e,t,r,zl,xi(e,0,o),xi(e,o+1,-1),o)}function xa(e,t){for(var r="",o=Wl(e),n=0;n<o;n++)r+=t(e[n],n,e,t)||"";return r}function uC(e,t,r,o){switch(e.type){case XS:if(e.children.length)break;case QS:case zl:return e.return=e.return||e.value;case Qd:return"";case Xd:return e.return=e.value+"{"+xa(e.children,o)+"}";case Ul:e.value=e.props.join(",")}return to(r=xa(e.children,o))?e.return=e.value+"{"+r+"}":""}function fC(e){var t=Wl(e);return function(r,o,n,s){for(var i="",a=0;a<t;a++)i+=e[a](r,o,n,s)||"";return i}}function dC(e){return function(t){t.root||(t=t.return)&&e(t)}}function om(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var RA=function(t,r,o){for(var n=0,s=0;n=s,s=tn(),n===38&&s===12&&(r[o]=1),!ql(s);)oo();return Ql(t,ro)},_A=function(t,r){var o=-1,n=44;do switch(ql(n)){case 0:n===38&&tn()===12&&(r[o]=1),t[o]+=RA(ro-1,r,o);break;case 2:t[o]+=Xl(n);break;case 4:if(n===44){t[++o]=tn()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=Ta(n)}while(n=oo());return t},OA=function(t,r){return tm(_A(em(t),r))},mC=new WeakMap,IA=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,n=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!mC.get(o))&&!n){mC.set(t,!0);for(var s=[],i=OA(r,s),a=o.props,l=0,p=0;l<i.length;l++)for(var c=0;c<a.length;c++,p++)t.props[p]=s[l]?i[l].replace(/&\f/g,a[c]):a[c]+" "+i[l]}}},kA=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function yC(e,t){switch(eC(e,t)){case 5103:return Ge+"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 Ge+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ge+e+ru+e+wr+e+e;case 6828:case 4268:return Ge+e+wr+e+e;case 6165:return Ge+e+wr+"flex-"+e+e;case 5187:return Ge+e+$e(e,/(\w+).+(:[^]+)/,Ge+"box-$1$2"+wr+"flex-$1$2")+e;case 5443:return Ge+e+wr+"flex-item-"+$e(e,/flex-|-self/,"")+e;case 4675:return Ge+e+wr+"flex-line-pack"+$e(e,/align-content|flex-|-self/,"")+e;case 5548:return Ge+e+wr+$e(e,"shrink","negative")+e;case 5292:return Ge+e+wr+$e(e,"basis","preferred-size")+e;case 6060:return Ge+"box-"+$e(e,"-grow","")+Ge+e+wr+$e(e,"grow","positive")+e;case 4554:return Ge+$e(e,/([^-])(transform)/g,"$1"+Ge+"$2")+e;case 6187:return $e($e($e(e,/(zoom-|grab)/,Ge+"$1"),/(image-set)/,Ge+"$1"),e,"")+e;case 5495:case 3959:return $e(e,/(image-set\([^]*)/,Ge+"$1$`$1");case 4968:return $e($e(e,/(.+:)(flex-)?(.*)/,Ge+"box-pack:$3"+wr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ge+e+e;case 4095:case 3583:case 4068:case 2532:return $e(e,/(.+)-inline(.+)/,Ge+"$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(to(e)-1-t>6)switch($t(e,t+1)){case 109:if($t(e,t+4)!==45)break;case 102:return $e(e,/(.+:)(.+)-([^]+)/,"$1"+Ge+"$2-$3$1"+ru+($t(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ou(e,"stretch")?yC($e(e,"stretch","fill-available"),t)+e:e}break;case 4949:if($t(e,t+1)!==115)break;case 6444:switch($t(e,to(e)-3-(~ou(e,"!important")&&10))){case 107:return $e(e,":",":"+Ge)+e;case 101:return $e(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ge+($t(e,14)===45?"inline-":"")+"box$3$1"+Ge+"$2$3$1"+wr+"$2box$3")+e}break;case 5936:switch($t(e,t+11)){case 114:return Ge+e+wr+$e(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ge+e+wr+$e(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ge+e+wr+$e(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ge+e+wr+e+e}return e}var NA=function(t,r,o,n){if(t.length>-1&&!t.return)switch(t.type){case zl:t.return=yC(t.value,t.length);break;case Xd:return xa([Yl(t,{value:$e(t.value,"@","@"+Ge)})],n);case Ul:if(t.length)return NT(t.props,function(s){switch(kT(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return xa([Yl(t,{props:[$e(s,/:(read-\w+)/,":"+ru+"$1")]})],n);case"::placeholder":return xa([Yl(t,{props:[$e(s,/:(plac\w+)/,":"+Ge+"input-$1")]}),Yl(t,{props:[$e(s,/:(plac\w+)/,":"+ru+"$1")]}),Yl(t,{props:[$e(s,/:(plac\w+)/,wr+"input-$1")]})],n)}return""})}},AA=[NA],hC=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(x){var b=x.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var n=t.stylisPlugins||AA,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(x){for(var b=x.getAttribute("data-emotion").split(" "),m=1;m<b.length;m++)s[b[m]]=!0;a.push(x)});var l,p=[IA,kA];{var c,u=[uC,dC(function(x){c.insert(x)})],f=fC(p.concat(n,u)),g=function(b){return xa(cC(b),f)};l=function(b,m,h,d){c=h,g(b?b+"{"+m.styles+"}":m.styles),d&&(v.inserted[m.name]=!0)}}var v={key:r,sheet:new YS({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return v.sheet.hydrate(a),v};var GA=!0;function iu(e,t,r){var o="";return r.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(o+=n+" ")}),o}var Jl=function(t,r,o){var n=t.key+"-"+r.name;(o===!1||GA===!1)&&t.registered[n]===void 0&&(t.registered[n]=r.styles)},Zl=function(t,r,o){Jl(t,r,o);var n=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+n:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function _C(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 OC={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};var qA=!1,KA=/[A-Z]|^ms/g,YA=/_EMO_([^_]+?)_([^]*?)_EMO_/g,AC=function(t){return t.charCodeAt(1)===45},IC=function(t){return t!=null&&typeof t!="boolean"},$T=om(function(e){return AC(e)?e:e.replace(KA,"-$&").toLowerCase()}),kC=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(YA,function(o,n,s){return qn={name:n,styles:s,next:qn},n})}return OC[t]!==1&&!AC(t)&&typeof r=="number"&&r!==0?r+"px":r},QA="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function au(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return qn={name:n.name,styles:n.styles,next:qn},n.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)qn={name:i.name,styles:i.styles,next:qn},i=i.next;var a=s.styles+";";return a}return XA(e,t,r)}case"function":{if(e!==void 0){var l=qn,p=r(e);return qn=l,au(e,t,p)}break}}var c=r;if(t==null)return c;var u=t[c];return u!==void 0?u:c}function XA(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=au(e,t,r[n])+";";else for(var s in r){var i=r[s];if(typeof i!="object"){var a=i;t!=null&&t[a]!==void 0?o+=s+"{"+t[a]+"}":IC(a)&&(o+=$T(s)+":"+kC(s,a)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&qA)throw new Error(QA);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var l=0;l<i.length;l++)IC(i[l])&&(o+=$T(s)+":"+kC(s,i[l])+";");else{var p=au(e,t,i);switch(s){case"animation":case"animationName":{o+=$T(s)+":"+p+";";break}default:o+=s+"{"+p+"}"}}}}return o}var NC=/label:\s*([^\s;{]+)\s*(;|$)/g,qn;function Cs(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,n="";qn=void 0;var s=e[0];if(s==null||s.raw===void 0)o=!1,n+=au(r,t,s);else{var i=s;n+=i[0]}for(var a=1;a<e.length;a++)if(n+=au(r,t,e[a]),o){var l=s;n+=l[a]}NC.lastIndex=0;for(var p="",c;(c=NC.exec(n))!==null;)p+="-"+c[1];var u=_C(n)+p;return{name:u,styles:n,next:qn}}var lu=P(N()),JA=function(t){return t()},MC=lu.useInsertionEffect?lu.useInsertionEffect:!1,pu=MC||JA,VT=MC||lu.useLayoutEffect;var LC=!1,DC=rn.createContext(typeof HTMLElement<"u"?hC({key:"css"}):null),ZA=DC.Provider;var ep=function(t){return(0,mm.forwardRef)(function(r,o){var n=(0,mm.useContext)(DC);return t(r,n,o)})},Pn=rn.createContext({});var ym={}.hasOwnProperty,BT="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",FC=function(t,r){var o={};for(var n in r)ym.call(r,n)&&(o[n]=r[n]);return o[BT]=t,o},eM=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return Jl(r,o,n),pu(function(){return Zl(r,o,n)}),null},tM=ep(function(e,t,r){var o=e.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var n=e[BT],s=[o],i="";typeof e.className=="string"?i=iu(t.registered,s,e.className):e.className!=null&&(i=e.className+" ");var a=Cs(s,void 0,rn.useContext(Pn));i+=t.key+"-"+a.name;var l={};for(var p in e)ym.call(e,p)&&p!=="css"&&p!==BT&&!LC&&(l[p]=e[p]);return l.className=i,r&&(l.ref=r),rn.createElement(rn.Fragment,null,rn.createElement(eM,{cache:t,serialized:a,isStringTag:typeof n=="string"}),rn.createElement(n,l))}),jC=tM;var Pi=P(N());var VU=P(RC()),$C=function(t,r){var o=arguments;if(r==null||!ym.call(r,"css"))return Pi.createElement.apply(void 0,o);var n=o.length,s=new Array(n);s[0]=jC,s[1]=FC(t,r);for(var i=2;i<n;i++)s[i]=o[i];return Pi.createElement.apply(null,s)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})($C||($C={}));var VC=ep(function(e,t){var r=e.styles,o=Cs([r],void 0,Pi.useContext(Pn)),n=Pi.useRef();return VT(function(){var s=t.key+"-global",i=new t.sheet.constructor({key:s,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+s+" "+o.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",s),i.hydrate([l])),n.current=[i,a],function(){i.flush()}},[t]),VT(function(){var s=n.current,i=s[0],a=s[1];if(a){s[1]=!1;return}if(o.next!==void 0&&Zl(t,o.next,!0),i.tags.length){var l=i.tags[i.tags.length-1].nextElementSibling;i.before=l,i.flush()}t.insert("",o,i,!1)},[t,o.name]),null});function Pa(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Cs(t)}function Kn(){var e=Pa.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 bi=P(N());var rM=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,BC=om(function(e){return rM.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var oM=!1,nM=BC,sM=function(t){return t!=="theme"},UC=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?nM:sM},zC=function(t,r,o){var n;if(r){var s=r.shouldForwardProp;n=t.__emotion_forwardProp&&s?function(i){return t.__emotion_forwardProp(i)&&s(i)}:s}return typeof n!="function"&&o&&(n=t.__emotion_forwardProp),n},iM=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return Jl(r,o,n),pu(function(){return Zl(r,o,n)}),null},WC=function e(t,r){var o=t.__emotion_real===t,n=o&&t.__emotion_base||t,s,i;r!==void 0&&(s=r.label,i=r.target);var a=zC(t,r,o),l=a||UC(n),p=!l("as");return function(){var c=arguments,u=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&u.push("label:"+s+";"),c[0]==null||c[0].raw===void 0)u.push.apply(u,c);else{var f=c[0];u.push(f[0]);for(var g=c.length,v=1;v<g;v++)u.push(c[v],f[v])}var x=ep(function(b,m,h){var d=p&&b.as||n,T="",S=[],C=b;if(b.theme==null){C={};for(var w in b)C[w]=b[w];C.theme=bi.useContext(Pn)}typeof b.className=="string"?T=iu(m.registered,S,b.className):b.className!=null&&(T=b.className+" ");var E=Cs(u.concat(S),m.registered,C);T+=m.key+"-"+E.name,i!==void 0&&(T+=" "+i);var _=p&&a===void 0?UC(d):l,y={};for(var R in b)p&&R==="as"||_(R)&&(y[R]=b[R]);return y.className=T,h&&(y.ref=h),bi.createElement(bi.Fragment,null,bi.createElement(iM,{cache:m,serialized:E,isStringTag:typeof d=="string"}),bi.createElement(d,y))});return x.displayName=s!==void 0?s:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",x.defaultProps=t.defaultProps,x.__emotion_real=x,x.__emotion_base=n,x.__emotion_styles=u,x.__emotion_forwardProp=a,Object.defineProperty(x,"toString",{value:function(){return i===void 0&&oM?"NO_COMPONENT_SELECTOR":"."+i}}),x.withComponent=function(b,m){var h=e(b,va({},r,m,{shouldForwardProp:zC(x,m,!0)}));return h.apply(void 0,u)},x}};var o6=P(N());var aM=["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"],hm=WC.bind(null);aM.forEach(function(e){hm[e]=hm(e)});var l6=P(N());var KC=P(k());function mM(e){return e==null||Object.keys(e).length===0}function ba(e){let{styles:t,defaultTheme:r={}}=e;return(0,KC.jsx)(VC,{styles:typeof t=="function"?n=>t(mM(n)?r:n):t})}function UT(e,t){return hm(e,t)}function QC(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var YC=[];function zT(e){return YC[0]=e,Cs(YC)}var u8=P(N());var GT=P(N()),qT=P(ZC());function Mo(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function ew(e){if(GT.isValidElement(e)||(0,qT.isValidElementType)(e)||!Mo(e))return e;let t={};return Object.keys(e).forEach(r=>{t[r]=ew(e[r])}),t}function qe(e,t,r={clone:!0}){let o=r.clone?{...e}:e;return Mo(e)&&Mo(t)&&Object.keys(t).forEach(n=>{GT.isValidElement(t[n])||(0,qT.isValidElementType)(t[n])?o[n]=t[n]:Mo(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&Mo(e[n])?o[n]=qe(e[n],t[n],r):r.clone?o[n]=Mo(t[n])?ew(t[n]):t[n]:o[n]=t[n]}),o}var gM=e=>{let t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,o)=>r.val-o.val),t.reduce((r,o)=>({...r,[o.key]:o.val}),{})};function KT(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5,...n}=e,s=gM(t),i=Object.keys(s);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-o/100}${r})`}function p(f,g){let v=i.indexOf(g);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r}) and (max-width:${(v!==-1&&typeof t[i[v]]=="number"?t[i[v]]:g)-o/100}${r})`}function c(f){return i.indexOf(f)+1<i.length?p(f,i[i.indexOf(f)+1]):a(f)}function u(f){let g=i.indexOf(f);return g===0?a(i[1]):g===i.length-1?l(i[g]):p(f,i[i.indexOf(f)+1]).replace("@media","@media not all and")}return{keys:i,values:s,up:a,down:l,between:p,only:c,not:u,unit:r,...n}}function YT(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(o=>o.startsWith("@container")).sort((o,n)=>{let s=/min-width:\s*([0-9.]+)/;return+(o.match(s)?.[1]||0)-+(n.match(s)?.[1]||0)});return r.length?r.reduce((o,n)=>{let s=t[n];return delete o[n],o[n]=s,o},{...t}):t}function QT(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function XT(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,o,n]=r,s=Number.isNaN(+o)?o||0:+o;return e.containerQueries(n).up(s)}function _m(e){let t=(s,i)=>s.replace("@media",i?`@container ${i}`:"@container");function r(s,i){s.up=(...a)=>t(e.breakpoints.up(...a),i),s.down=(...a)=>t(e.breakpoints.down(...a),i),s.between=(...a)=>t(e.breakpoints.between(...a),i),s.only=(...a)=>t(e.breakpoints.only(...a),i),s.not=(...a)=>{let l=t(e.breakpoints.not(...a),i);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}let o={},n=s=>(r(o,s),o);return r(n),{...e,containerQueries:n}}var vM={borderRadius:4},tw=vM;function TM(e,t){return t?qe(e,t,{clone:!1}):e}var ws=TM;var cu={xs:0,sm:600,md:900,lg:1200,xl:1536},rw={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${cu[e]}px)`},xM={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:cu[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function dr(e,t,r){let o=e.theme||{};if(Array.isArray(t)){let s=o.breakpoints||rw;return t.reduce((i,a,l)=>(i[s.up(s.keys[l])]=r(t[l]),i),{})}if(typeof t=="object"){let s=o.breakpoints||rw;return Object.keys(t).reduce((i,a)=>{if(QT(s.keys,a)){let l=XT(o.containerQueries?o:xM,a);l&&(i[l]=r(t[a],a))}else if(Object.keys(s.values||cu).includes(a)){let l=s.up(a);i[l]=r(t[a],a)}else{let l=a;i[l]=t[l]}return i},{})}return r(t)}function JT(e={}){return e.keys?.reduce((r,o)=>{let n=e.up(o);return r[n]={},r},{})||{}}function ZT(e,t){return e.reduce((r,o)=>{let n=r[o];return(!n||Object.keys(n).length===0)&&delete r[o],r},t)}function ow(e,...t){let r=JT(e),o=[r,...t].reduce((n,s)=>qe(n,s),{});return ZT(Object.keys(r),o)}function PM(e,t){if(typeof e!="object")return{};let r={},o=Object.keys(t);return Array.isArray(e)?o.forEach((n,s)=>{s<e.length&&(r[n]=!0)}):o.forEach(n=>{e[n]!=null&&(r[n]=!0)}),r}function Om({values:e,breakpoints:t,base:r}){let o=r||PM(e,t),n=Object.keys(o);if(n.length===0)return e;let s;return n.reduce((i,a,l)=>(Array.isArray(e)?(i[a]=e[l]!=null?e[l]:e[s],s=l):typeof e=="object"?(i[a]=e[a]!=null?e[a]:e[s],s=a):i[a]=e,i),{})}function bn(e){if(typeof e!="string")throw new Error(ur(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Sn(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){let o=`vars.${t}`.split(".").reduce((n,s)=>n&&n[s]?n[s]:null,e);if(o!=null)return o}return t.split(".").reduce((o,n)=>o&&o[n]!=null?o[n]:null,e)}function uu(e,t,r,o=r){let n;return typeof e=="function"?n=e(r):Array.isArray(e)?n=e[r]||o:n=Sn(e,r)||o,t&&(n=t(n,o,e)),n}function bM(e){let{prop:t,cssProperty:r=e.prop,themeKey:o,transform:n}=e,s=i=>{if(i[t]==null)return null;let a=i[t],l=i.theme,p=Sn(l,o)||{};return dr(i,a,u=>{let f=uu(p,n,u);return u===f&&typeof u=="string"&&(f=uu(p,n,`${t}${u==="default"?"":bn(u)}`,u)),r===!1?f:{[r]:f}})};return s.propTypes={},s.filterProps=[t],s}var dt=bM;function Im(e){let t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}var SM={m:"margin",p:"padding"},CM={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},nw={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},wM=Im(e=>{if(e.length>2)if(nw[e])e=nw[e];else return[e];let[t,r]=e.split(""),o=SM[t],n=CM[r]||"";return Array.isArray(n)?n.map(s=>o+s):[o+n]}),ex=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],tx=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],sw=[...ex,...tx];function Sa(e,t,r,o){let n=Sn(e,t,!0)??r;return typeof n=="number"||typeof n=="string"?s=>typeof s=="string"?s:typeof n=="string"?`calc(${s} * ${n})`:n*s:Array.isArray(n)?s=>{if(typeof s=="string")return s;let i=Math.abs(s),a=n[i];return s>=0?a:typeof a=="number"?-a:`-${a}`}:typeof n=="function"?n:()=>{}}function Ca(e){return Sa(e,"spacing",8,"spacing")}function Yn(e,t){return typeof t=="string"||t==null?t:e(t)}function EM(e,t){return r=>e.reduce((o,n)=>(o[n]=Yn(t,r),o),{})}function RM(e,t,r,o){if(!t.includes(r))return null;let n=wM(r),s=EM(n,o),i=e[r];return dr(e,i,s)}function rx(e,t){let r=Ca(e.theme);return Object.keys(e).map(o=>RM(e,t,o,r)).reduce(ws,{})}function _t(e){return rx(e,ex)}_t.propTypes={};_t.filterProps=ex;function Ot(e){return rx(e,tx)}Ot.propTypes={};Ot.filterProps=tx;function iw(e){return rx(e,sw)}iw.propTypes={};iw.filterProps=sw;function tp(e=8,t=Ca({spacing:e})){if(e.mui)return e;let r=(...o)=>(o.length===0?[1]:o).map(s=>{let i=t(s);return typeof i=="number"?`${i}px`:i}).join(" ");return r.mui=!0,r}function _M(...e){let t=e.reduce((o,n)=>(n.filterProps.forEach(s=>{o[s]=n}),o),{}),r=o=>Object.keys(o).reduce((n,s)=>t[s]?ws(n,t[s](o)):n,{});return r.propTypes={},r.filterProps=e.reduce((o,n)=>o.concat(n.filterProps),[]),r}var Es=_M;function Lo(e){return typeof e!="number"?e:`${e}px solid`}function nn(e,t){return dt({prop:e,themeKey:"borders",transform:t})}var OM=nn("border",Lo),IM=nn("borderTop",Lo),kM=nn("borderRight",Lo),NM=nn("borderBottom",Lo),AM=nn("borderLeft",Lo),MM=nn("borderColor"),LM=nn("borderTopColor"),DM=nn("borderRightColor"),FM=nn("borderBottomColor"),jM=nn("borderLeftColor"),$M=nn("outline",Lo),VM=nn("outlineColor"),fu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Sa(e.theme,"shape.borderRadius",4,"borderRadius"),r=o=>({borderRadius:Yn(t,o)});return dr(e,e.borderRadius,r)}return null};fu.propTypes={};fu.filterProps=["borderRadius"];var u9=Es(OM,IM,kM,NM,AM,MM,LM,DM,FM,jM,fu,$M,VM);var du=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Sa(e.theme,"spacing",8,"gap"),r=o=>({gap:Yn(t,o)});return dr(e,e.gap,r)}return null};du.propTypes={};du.filterProps=["gap"];var mu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Sa(e.theme,"spacing",8,"columnGap"),r=o=>({columnGap:Yn(t,o)});return dr(e,e.columnGap,r)}return null};mu.propTypes={};mu.filterProps=["columnGap"];var yu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Sa(e.theme,"spacing",8,"rowGap"),r=o=>({rowGap:Yn(t,o)});return dr(e,e.rowGap,r)}return null};yu.propTypes={};yu.filterProps=["rowGap"];var BM=dt({prop:"gridColumn"}),UM=dt({prop:"gridRow"}),zM=dt({prop:"gridAutoFlow"}),WM=dt({prop:"gridAutoColumns"}),HM=dt({prop:"gridAutoRows"}),GM=dt({prop:"gridTemplateColumns"}),qM=dt({prop:"gridTemplateRows"}),KM=dt({prop:"gridTemplateAreas"}),YM=dt({prop:"gridArea"}),g9=Es(du,mu,yu,BM,UM,zM,WM,HM,GM,qM,KM,YM);function wa(e,t){return t==="grey"?t:e}var QM=dt({prop:"color",themeKey:"palette",transform:wa}),XM=dt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:wa}),JM=dt({prop:"backgroundColor",themeKey:"palette",transform:wa}),P9=Es(QM,XM,JM);function ho(e){return e<=1&&e!==0?`${e*100}%`:e}var ZM=dt({prop:"width",transform:ho}),km=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let t=r=>{let o=e.theme?.breakpoints?.values?.[r]||cu[r];return o?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:ho(r)}};return dr(e,e.maxWidth,t)}return null};km.filterProps=["maxWidth"];var eL=dt({prop:"minWidth",transform:ho}),tL=dt({prop:"height",transform:ho}),rL=dt({prop:"maxHeight",transform:ho}),oL=dt({prop:"minHeight",transform:ho}),E9=dt({prop:"size",cssProperty:"width",transform:ho}),R9=dt({prop:"size",cssProperty:"height",transform:ho}),nL=dt({prop:"boxSizing"}),_9=Es(ZM,km,eL,tL,rL,oL,nL);var sL={border:{themeKey:"borders",transform:Lo},borderTop:{themeKey:"borders",transform:Lo},borderRight:{themeKey:"borders",transform:Lo},borderBottom:{themeKey:"borders",transform:Lo},borderLeft:{themeKey:"borders",transform:Lo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Lo},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:fu},color:{themeKey:"palette",transform:wa},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:wa},backgroundColor:{themeKey:"palette",transform:wa},p:{style:Ot},pt:{style:Ot},pr:{style:Ot},pb:{style:Ot},pl:{style:Ot},px:{style:Ot},py:{style:Ot},padding:{style:Ot},paddingTop:{style:Ot},paddingRight:{style:Ot},paddingBottom:{style:Ot},paddingLeft:{style:Ot},paddingX:{style:Ot},paddingY:{style:Ot},paddingInline:{style:Ot},paddingInlineStart:{style:Ot},paddingInlineEnd:{style:Ot},paddingBlock:{style:Ot},paddingBlockStart:{style:Ot},paddingBlockEnd:{style:Ot},m:{style:_t},mt:{style:_t},mr:{style:_t},mb:{style:_t},ml:{style:_t},mx:{style:_t},my:{style:_t},margin:{style:_t},marginTop:{style:_t},marginRight:{style:_t},marginBottom:{style:_t},marginLeft:{style:_t},marginX:{style:_t},marginY:{style:_t},marginInline:{style:_t},marginInlineStart:{style:_t},marginInlineEnd:{style:_t},marginBlock:{style:_t},marginBlockStart:{style:_t},marginBlockEnd:{style:_t},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:du},rowGap:{style:yu},columnGap:{style:mu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ho},maxWidth:{style:km},minWidth:{transform:ho},height:{transform:ho},maxHeight:{transform:ho},minHeight:{transform:ho},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"}},Cn=sL;function iL(...e){let t=e.reduce((o,n)=>o.concat(Object.keys(n)),[]),r=new Set(t);return e.every(o=>r.size===Object.keys(o).length)}function aL(e,t){return typeof e=="function"?e(t):e}function lL(){function e(r,o,n,s){let i={[r]:o,theme:n},a=s[r];if(!a)return{[r]:o};let{cssProperty:l=r,themeKey:p,transform:c,style:u}=a;if(o==null)return null;if(p==="typography"&&o==="inherit")return{[r]:o};let f=Sn(n,p)||{};return u?u(i):dr(i,o,v=>{let x=uu(f,c,v);return v===x&&typeof v=="string"&&(x=uu(f,c,`${r}${v==="default"?"":bn(v)}`,v)),l===!1?x:{[l]:x}})}function t(r){let{sx:o,theme:n={}}=r||{};if(!o)return null;let s=n.unstable_sxConfig??Cn;function i(a){let l=a;if(typeof a=="function")l=a(n);else if(typeof a!="object")return a;if(!l)return null;let p=JT(n.breakpoints),c=Object.keys(p),u=p;return Object.keys(l).forEach(f=>{let g=aL(l[f],n);if(g!=null)if(typeof g=="object")if(s[f])u=ws(u,e(f,g,n,s));else{let v=dr({theme:n},g,x=>({[f]:x}));iL(v,g)?u[f]=t({sx:g,theme:n}):u=ws(u,v)}else u=ws(u,e(f,g,n,s))}),YT(n,ZT(c,u))}return Array.isArray(o)?o.map(i):i(o)}return t}var aw=lL();aw.filterProps=["sx"];var sn=aw;function ox(e,t){let r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function pL(e={},...t){let{breakpoints:r={},palette:o={},spacing:n,shape:s={},...i}=e,a=KT(r),l=tp(n),p=qe({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:l,shape:{...tw,...s}},i);return p=_m(p),p.applyStyles=ox,p=t.reduce((c,u)=>qe(c,u),p),p.unstable_sxConfig={...Cn,...i?.unstable_sxConfig},p.unstable_sx=function(u){return sn({sx:u,theme:this})},p}var wn=pL;var lw=P(N());function cL(e){return Object.keys(e).length===0}function uL(e=null){let t=lw.useContext(Pn);return!t||cL(t)?e:t}var Ea=uL;var fL=wn();function dL(e=fL){return Ea(e)}var Si=dL;var pw=P(k());function mL({styles:e,themeId:t,defaultTheme:r={}}){let o=Si(r),n=typeof e=="function"?e(t&&o[t]||o):e;return(0,pw.jsx)(ba,{styles:n})}var Nm=mL;var yL=e=>{let t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??Cn;return Object.keys(e).forEach(o=>{r[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function rp(e){let{sx:t,...r}=e,{systemProps:o,otherProps:n}=yL(r),s;return Array.isArray(t)?s=[o,...t]:typeof t=="function"?s=(...i)=>{let a=t(...i);return Mo(a)?{...o,...a}:o}:s={...o,...t},{...n,sx:s}}var cw=e=>e,hL=()=>{let e=cw;return{configure(t){e=t},generate(t){return e(t)},reset(){e=cw}}},gL=hL(),nx=gL;function uw(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=uw(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function vL(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=uw(e))&&(o&&(o+=" "),o+=t);return o}var L=vL;var TL={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 U(e,t,r="Mui"){let o=TL[t];return o?`${r}-${o}`:`${nx.generate(e)}-${t}`}function q(e,t,r="Mui"){let o={};return t.forEach(n=>{o[n]=U(e,n,r)}),o}function hu(e){let{variants:t,...r}=e,o={variants:t,style:zT(r),isProcessed:!0};return o.style===r||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=zT(n.style))}),o}var xL=wn();function sx(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function PL(e){return e?(t,r)=>r[e]:null}function bL(e,t,r){e.theme=CL(e.theme)?r:e.theme[t]||e.theme}function Am(e,t){let r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>Am(e,o));if(Array.isArray(r?.variants)){let o;if(r.isProcessed)o=r.style;else{let{variants:n,...s}=r;o=s}return fw(e,r.variants,[o])}return r?.isProcessed?r.style:r}function fw(e,t,r=[]){let o;e:for(let n=0;n<t.length;n+=1){let s=t[n];if(typeof s.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(o))continue}else for(let i in s.props)if(e[i]!==s.props[i]&&e.ownerState?.[i]!==s.props[i])continue e;typeof s.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(s.style(o))):r.push(s.style)}return r}function op(e={}){let{themeId:t,defaultTheme:r=xL,rootShouldForwardProp:o=sx,slotShouldForwardProp:n=sx}=e;function s(a){bL(a,t,r)}return(a,l={})=>{QC(a,S=>S.filter(C=>C!==sn));let{name:p,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:g=PL(EL(c)),...v}=l,x=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,b=f||!1,m=sx;c==="Root"||c==="root"?m=o:c?m=n:wL(a)&&(m=void 0);let h=UT(a,{shouldForwardProp:m,label:SL(p,c),...v}),d=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(w){return Am(w,S)};if(Mo(S)){let C=hu(S);return C.variants?function(E){return Am(E,C)}:C.style}return S},T=(...S)=>{let C=[],w=S.map(d),E=[];if(C.push(s),p&&g&&E.push(function(I){let W=I.theme.components?.[p]?.styleOverrides;if(!W)return null;let M={};for(let A in W)M[A]=Am(I,W[A]);return g(I,M)}),p&&!x&&E.push(function(I){let W=I.theme?.components?.[p]?.variants;return W?fw(I,W):null}),b||E.push(sn),Array.isArray(w[0])){let R=w.shift(),I=new Array(C.length).fill(""),D=new Array(E.length).fill(""),W;W=[...I,...R,...D],W.raw=[...I,...R.raw,...D],C.unshift(W)}let _=[...C,...w,...E],y=h(..._);return a.muiName&&(y.muiName=a.muiName),y};return h.withConfig&&(T.withConfig=h.withConfig),T}}function SL(e,t){return void 0}function CL(e){for(let t in e)return!1;return!0}function wL(e){return typeof e=="string"&&e.charCodeAt(0)>96}function EL(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var RL=op(),gu=RL;function Qn(e,t){let r={...t};for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)){let n=o;if(n==="components"||n==="slots")r[n]={...e[n],...r[n]};else if(n==="componentsProps"||n==="slotProps"){let s=e[n],i=t[n];if(!i)r[n]=s||{};else if(!s)r[n]=i;else{r[n]={...i};for(let a in s)if(Object.prototype.hasOwnProperty.call(s,a)){let l=a;r[n][l]=Qn(s[l],i[l])}}}else r[n]===void 0&&(r[n]=e[n])}return r}function np(e){let{theme:t,name:r,props:o}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?o:Qn(t.components[r].defaultProps,o)}function sp({props:e,name:t,defaultTheme:r,themeId:o}){let n=Si(r);return o&&(n=n[o]||n),np({theme:n,name:t,props:e})}var Rs=P(N());var Mm=P(N()),_L=typeof window<"u"?Mm.useLayoutEffect:Mm.useEffect,rr=_L;function OL(e,t,r,o,n){let[s,i]=Rs.useState(()=>n&&r?r(e).matches:o?o(e).matches:t);return rr(()=>{if(!r)return;let a=r(e),l=()=>{i(a.matches)};return l(),a.addEventListener("change",l),()=>{a.removeEventListener("change",l)}},[e,r]),s}var IL={...Rs},dw=IL.useSyncExternalStore;function kL(e,t,r,o,n){let s=Rs.useCallback(()=>t,[t]),i=Rs.useMemo(()=>{if(n&&r)return()=>r(e).matches;if(o!==null){let{matches:c}=o(e);return()=>c}return s},[s,e,o,n,r]),[a,l]=Rs.useMemo(()=>{if(r===null)return[s,()=>()=>{}];let c=r(e);return[()=>c.matches,u=>(c.addEventListener("change",u),()=>{c.removeEventListener("change",u)})]},[s,r,e]);return dw(l,a,i)}function ix(e={}){let{themeId:t}=e;return function(o,n={}){let s=Ea();s&&t&&(s=s[t]||s);let i=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:a=!1,matchMedia:l=i?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:c=!1}=np({name:"MuiUseMediaQuery",props:n,theme:s}),u=typeof o=="function"?o(s):o;return u=u.replace(/^@media( ?)/m,""),u.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
|
|
9
|
-
`)),(dw!==void 0?kL:OL)(u,a,l,p,c)}}var hz=ix();function NL(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}var ax=NL;function px(e,t=0,r=1){return ax(e,t,r)}function AL(e){e=e.slice(1);let t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&r[0].length===1&&(r=r.map(o=>o+o)),r?`rgb${r.length===4?"a":""}(${r.map((o,n)=>n<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Ci(e){if(e.type)return e;if(e.charAt(0)==="#")return Ci(AL(e));let t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(ur(9,e));let o=e.substring(t+1,e.length-1),n;if(r==="color"){if(o=o.split(" "),n=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(ur(10,n))}else o=o.split(",");return o=o.map(s=>parseFloat(s)),{type:r,values:o,colorSpace:n}}var ML=e=>{let t=Ci(e);return t.values.slice(0,3).map((r,o)=>t.type.includes("hsl")&&o!==0?`${r}%`:r).join(" ")},ip=(e,t)=>{try{return ML(e)}catch{return e}};function Lm(e){let{type:t,colorSpace:r}=e,{values:o}=e;return t.includes("rgb")?o=o.map((n,s)=>s<3?parseInt(n,10):n):t.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.includes("color")?o=`${r} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function cx(e){e=Ci(e);let{values:t}=e,r=t[0],o=t[1]/100,n=t[2]/100,s=o*Math.min(n,1-n),i=(p,c=(p+r/30)%12)=>n-s*Math.max(Math.min(c-3,9-c,1),-1),a="rgb",l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Lm({type:a,values:l})}function lx(e){e=Ci(e);let t=e.type==="hsl"||e.type==="hsla"?Ci(cx(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function mw(e,t){let r=lx(e),o=lx(t);return(Math.max(r,o)+.05)/(Math.min(r,o)+.05)}function ye(e,t){return e=Ci(e),t=px(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Lm(e)}function vu(e,t,r){try{return ye(e,t)}catch{return e}}function _s(e,t){if(e=Ci(e),t=px(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Lm(e)}function nt(e,t,r){try{return _s(e,t)}catch{return e}}function Os(e,t){if(e=Ci(e),t=px(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Lm(e)}function st(e,t,r){try{return Os(e,t)}catch{return e}}function LL(e,t=.15){return lx(e)>.5?_s(e,t):Os(e,t)}function Tu(e,t,r){try{return LL(e,t)}catch{return e}}var Aw=P(N());var Cw=P(N());function ap(...e){return e.reduce((t,r)=>r==null?t:function(...n){t.apply(this,n),r.apply(this,n)},()=>{})}function Ra(e,t=166){let r;function o(...n){let s=()=>{e.apply(this,n)};clearTimeout(r),r=setTimeout(s,t)}return o.clear=()=>{clearTimeout(r)},o}var yw=P(N());function Dm(e,t){return yw.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function or(e){return e&&e.ownerDocument||document}function Do(e){return or(e).defaultView||window}function wi(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var xu=P(N()),hw=0;function DL(e){let[t,r]=xu.useState(e),o=e||t;return xu.useEffect(()=>{t==null&&(hw+=1,r(`mui-${hw}`))},[t]),o}var FL={...xu},gw=FL.useId;function Fo(e){if(gw!==void 0){let t=gw();return e??t}return DL(e)}var _a=P(N());function Is({controlled:e,default:t,name:r,state:o="value"}){let{current:n}=_a.useRef(e!==void 0),[s,i]=_a.useState(t),a=n?e:s,l=_a.useCallback(p=>{n||i(p)},[]);return[a,l]}var ux=P(N());function jL(e){let t=ux.useRef(e);return rr(()=>{t.current=e}),ux.useRef((...r)=>(0,t.current)(...r)).current}var go=jL;var lp=P(N());function qt(...e){let t=lp.useRef(void 0),r=lp.useCallback(o=>{let n=e.map(s=>{if(s==null)return null;if(typeof s=="function"){let i=s,a=i(o);return typeof a=="function"?a:()=>{i(null)}}return s.current=o,()=>{s.current=null}});return()=>{n.forEach(s=>s?.())}},e);return lp.useMemo(()=>e.every(o=>o==null)?null:o=>{t.current&&(t.current(),t.current=void 0),o!=null&&(t.current=r(o))},e)}var Tw=P(N()),vw={};function pp(e,t){let r=Tw.useRef(vw);return r.current===vw&&(r.current=e(t)),r}var xw=P(N()),$L=[];function fx(e){xw.useEffect(e,$L)}var cp=class e{constructor(){Vn(this,"currentId",null);Vn(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Vn(this,"disposeEffect",()=>this.clear)}static create(){return new e}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}};function jo(){let e=pp(cp.create).current;return fx(e.disposeEffect),e}function En(e){try{return e.matches(":focus-visible")}catch{}return!1}function Oa(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}var Fm=P(N()),VL=e=>{let t=Fm.useRef({});return Fm.useEffect(()=>{t.current=e}),t.current},jm=VL;function z(e,t,r=void 0){let o={};for(let n in e){let s=e[n],i="",a=!0;for(let l=0;l<s.length;l+=1){let p=s[l];p&&(i+=(a===!0?"":" ")+t(p),a=!1,r&&r[p]&&(i+=" "+r[p]))}o[n]=i}return o}function BL(e){return typeof e=="string"}var dx=BL;function UL(e,t,r){return e===void 0||dx(e)?t:{...t,ownerState:{...t.ownerState,...r}}}var Pu=UL;function zL(e,t=[]){if(e===void 0)return{};let r={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!t.includes(o)).forEach(o=>{r[o]=e[o]}),r}var bu=zL;function WL(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}var $m=WL;function HL(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:o,externalForwardedProps:n,className:s}=e;if(!t){let g=L(r?.className,s,n?.className,o?.className),v={...r?.style,...n?.style,...o?.style},x={...r,...n,...o};return g.length>0&&(x.className=g),Object.keys(v).length>0&&(x.style=v),{props:x,internalRef:void 0}}let i=bu({...n,...o}),a=$m(o),l=$m(n),p=t(i),c=L(p?.className,r?.className,s,n?.className,o?.className),u={...p?.style,...r?.style,...n?.style,...o?.style},f={...p,...r,...l,...a};return c.length>0&&(f.className=c),Object.keys(u).length>0&&(f.style=u),{props:f,internalRef:p.ref}}var Su=HL;function GL(e,t,r){return typeof e=="function"?e(t,r):e}var Cu=GL;function qL(e){let{elementType:t,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:n=!1,...s}=e,i=n?{}:Cu(r,o),{props:a,internalRef:l}=Su({...s,externalSlotProps:i}),p=qt(l,i?.ref,e.additionalProps?.ref);return Pu(t,{...a,ref:p},o)}var wu=qL;var Pw=P(N());function no(e){return parseInt(Pw.version,10)>=19?e?.props?.ref||null:e?.ref||null}var bw=P(N()),KL=bw.createContext(null),Vm=KL;var mx=P(N());function ks(){return mx.useContext(Vm)}var YL=typeof Symbol=="function"&&Symbol.for,Sw=YL?Symbol.for("mui.nested"):"__THEME_NESTED__";var ww=P(k());function QL(e,t){return typeof t=="function"?t(e):{...e,...t}}function XL(e){let{children:t,theme:r}=e,o=ks(),n=Cw.useMemo(()=>{let s=o===null?{...r}:QL(o,r);return s!=null&&(s[Sw]=o!==null),s},[r,o]);return(0,ww.jsx)(Vm.Provider,{value:n,children:t})}var Bm=XL;var Um=P(N());var Ew=P(k()),Rw=Um.createContext();function JL({value:e,...t}){return(0,Ew.jsx)(Rw.Provider,{value:e??!0,...t})}var up=()=>Um.useContext(Rw)??!1,_w=JL;var zm=P(N());var Ow=P(k()),Iw=zm.createContext(void 0);function ZL({value:e,children:t}){return(0,Ow.jsx)(Iw.Provider,{value:e,children:t})}function eD(e){let{theme:t,name:r,props:o}=e;if(!t||!t.components||!t.components[r])return o;let n=t.components[r];return n.defaultProps?Qn(n.defaultProps,o):!n.styleOverrides&&!n.variants?Qn(n,o):o}function yx({props:e,name:t}){let r=zm.useContext(Iw);return eD({props:e,name:t,theme:{components:r}})}var Wm=ZL;var Eu=P(k()),kw={};function Nw(e,t,r,o=!1){return Aw.useMemo(()=>{let n=e&&t[e]||t;if(typeof r=="function"){let s=r(n),i=e?{...t,[e]:s}:s;return o?()=>i:i}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,o])}function tD(e){let{children:t,theme:r,themeId:o}=e,n=Ea(kw),s=ks()||kw,i=Nw(o,n,r),a=Nw(o,s,r,!0),l=(o?i[o]:i).direction==="rtl";return(0,Eu.jsx)(Bm,{theme:a,children:(0,Eu.jsx)(Pn.Provider,{value:i,children:(0,Eu.jsx)(_w,{value:l,children:(0,Eu.jsx)(Wm,{value:o?i[o].components:i.components,children:t})})})})}var fp=tD;var Mw={theme:void 0};function Hm(e){let t,r;return function(n){let s=t;return(s===void 0||n.theme!==r)&&(Mw.theme=n.theme,s=hu(e(Mw)),t=s,r=n.theme),s}}var Rr=P(N());var XW=P(N()),Lw=P(k()),Ru="mode",_u="color-scheme",rD="data-color-scheme";function hx(e){let{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:o="dark",modeStorageKey:n=Ru,colorSchemeStorageKey:s=_u,attribute:i=rD,colorSchemeNode:a="document.documentElement",nonce:l}=e||{},p="",c=i;if(i==="class"&&(c=".%s"),i==="data"&&(c="[data-%s]"),c.startsWith(".")){let f=c.substring(1);p+=`${a}.classList.remove('${f}'.replace('%s', light), '${f}'.replace('%s', dark));
|
|
10
|
-
${a}.classList.add('${f}'.replace('%s', colorScheme));`}let u=c.match(/\[([^\]]+)\]/);if(u){let[f,g]=u[1].split("=");g||(p+=`${a}.removeAttribute('${f}'.replace('%s', light));
|
|
11
|
-
${a}.removeAttribute('${f}'.replace('%s', dark));`),p+=`
|
|
12
|
-
${a}.setAttribute('${f}'.replace('%s', colorScheme), ${g?`${g}.replace('%s', colorScheme)`:'""'});`}else p+=`${a}.setAttribute('${c}', colorScheme);`;return(0,Lw.jsx)("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
13
|
-
try {
|
|
14
|
-
let colorScheme = '';
|
|
15
|
-
const mode = localStorage.getItem('${n}') || '${t}';
|
|
16
|
-
const dark = localStorage.getItem('${s}-dark') || '${o}';
|
|
17
|
-
const light = localStorage.getItem('${s}-light') || '${r}';
|
|
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")}var Er=P(N());function oD(){}var nD=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(r){if(typeof window>"u")return;if(!t)return r;let o;try{o=t.localStorage.getItem(e)}catch{}return o||r},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return oD;let o=n=>{let s=n.newValue;n.key===e&&r(s)};return t.addEventListener("storage",o),()=>{t.removeEventListener("storage",o)}}}),Dw=nD;function gx(){}function Fw(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function jw(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 sD(e){return jw(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function vx(e){let{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:o,supportedColorSchemes:n=[],modeStorageKey:s=Ru,colorSchemeStorageKey:i=_u,storageWindow:a=typeof window>"u"?void 0:window,storageManager:l=Dw,noSsr:p=!1}=e,c=n.join(","),u=n.length>1,f=Er.useMemo(()=>l?.({key:s,storageWindow:a}),[l,s,a]),g=Er.useMemo(()=>l?.({key:`${i}-light`,storageWindow:a}),[l,i,a]),v=Er.useMemo(()=>l?.({key:`${i}-dark`,storageWindow:a}),[l,i,a]),[x,b]=Er.useState(()=>{let E=f?.get(t)||t,_=g?.get(r)||r,y=v?.get(o)||o;return{mode:E,systemMode:Fw(E),lightColorScheme:_,darkColorScheme:y}}),[m,h]=Er.useState(p||!u);Er.useEffect(()=>{h(!0)},[]);let d=sD(x),T=Er.useCallback(E=>{b(_=>{if(E===_.mode)return _;let y=E??t;return f?.set(y),{..._,mode:y,systemMode:Fw(y)}})},[f,t]),S=Er.useCallback(E=>{E?typeof E=="string"?E&&!c.includes(E)?console.error(`\`${E}\` does not exist in \`theme.colorSchemes\`.`):b(_=>{let y={..._};return jw(_,R=>{R==="light"&&(g?.set(E),y.lightColorScheme=E),R==="dark"&&(v?.set(E),y.darkColorScheme=E)}),y}):b(_=>{let y={..._},R=E.light===null?r:E.light,I=E.dark===null?o:E.dark;return R&&(c.includes(R)?(y.lightColorScheme=R,g?.set(R)):console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`)),I&&(c.includes(I)?(y.darkColorScheme=I,v?.set(I)):console.error(`\`${I}\` does not exist in \`theme.colorSchemes\`.`)),y}):b(_=>(g?.set(r),v?.set(o),{..._,lightColorScheme:r,darkColorScheme:o}))},[c,g,v,r,o]),C=Er.useCallback(E=>{x.mode==="system"&&b(_=>{let y=E?.matches?"dark":"light";return _.systemMode===y?_:{..._,systemMode:y}})},[x.mode]),w=Er.useRef(C);return w.current=C,Er.useEffect(()=>{if(typeof window.matchMedia!="function"||!u)return;let E=(...y)=>w.current(...y),_=window.matchMedia("(prefers-color-scheme: dark)");return _.addListener(E),E(_),()=>{_.removeListener(E)}},[u]),Er.useEffect(()=>{if(u){let E=f?.subscribe(R=>{(!R||["light","dark","system"].includes(R))&&T(R||t)})||gx,_=g?.subscribe(R=>{(!R||c.match(R))&&S({light:R})})||gx,y=v?.subscribe(R=>{(!R||c.match(R))&&S({dark:R})})||gx;return()=>{E(),_(),y()}}},[S,T,c,t,a,u,f,g,v]),{...x,mode:m?x.mode:void 0,systemMode:m?x.systemMode:void 0,colorScheme:m?d:void 0,setMode:T,setColorScheme:S}}var dp=P(k()),iD="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Gm(e){let{themeId:t,theme:r={},modeStorageKey:o=Ru,colorSchemeStorageKey:n=_u,disableTransitionOnChange:s=!1,defaultColorScheme:i,resolveTheme:a}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=Rr.createContext(void 0),c=()=>Rr.useContext(p)||l,u={},f={};function g(m){let{children:h,theme:d,modeStorageKey:T=o,colorSchemeStorageKey:S=n,disableTransitionOnChange:C=s,storageManager:w,storageWindow:E=typeof window>"u"?void 0:window,documentNode:_=typeof document>"u"?void 0:document,colorSchemeNode:y=typeof document>"u"?void 0:document.documentElement,disableNestedContext:R=!1,disableStyleSheetGeneration:I=!1,defaultMode:D="system",noSsr:W}=m,M=Rr.useRef(!1),A=ks(),H=Rr.useContext(p),re=!!H&&!R,V=Rr.useMemo(()=>d||(typeof r=="function"?r():r),[d]),ge=V[t],me=ge||V,{colorSchemes:Ee=u,components:Te=f,cssVarPrefix:ue}=me,X=Object.keys(Ee).filter(Re=>!!Ee[Re]).join(","),Q=Rr.useMemo(()=>X.split(","),[X]),Pe=typeof i=="string"?i:i.light,ae=typeof i=="string"?i:i.dark,ve=Ee[Pe]&&Ee[ae]?D:Ee[me.defaultColorScheme]?.palette?.mode||me.palette?.mode,{mode:fe,setMode:xe,systemMode:ie,lightColorScheme:Be,darkColorScheme:de,colorScheme:be,setColorScheme:at}=vx({supportedColorSchemes:Q,defaultLightColorScheme:Pe,defaultDarkColorScheme:ae,modeStorageKey:T,colorSchemeStorageKey:S,defaultMode:ve,storageManager:w,storageWindow:E,noSsr:W}),ee=fe,Oe=be;re&&(ee=H.mode,Oe=H.colorScheme);let Ce=Rr.useMemo(()=>{let Re=Oe||me.defaultColorScheme,He=me.generateThemeVars?.()||me.vars,lt={...me,components:Te,colorSchemes:Ee,cssVarPrefix:ue,vars:He};if(typeof lt.generateSpacing=="function"&&(lt.spacing=lt.generateSpacing()),Re){let et=Ee[Re];et&&typeof et=="object"&&Object.keys(et).forEach(pt=>{et[pt]&&typeof et[pt]=="object"?lt[pt]={...lt[pt],...et[pt]}:lt[pt]=et[pt]})}return a?a(lt):lt},[me,Oe,Te,Ee,ue]),Me=me.colorSchemeSelector;rr(()=>{if(Oe&&y&&Me&&Me!=="media"){let Re=Me,He=Me;if(Re==="class"&&(He=".%s"),Re==="data"&&(He="[data-%s]"),Re?.startsWith("data-")&&!Re.includes("%s")&&(He=`[${Re}="%s"]`),He.startsWith("."))y.classList.remove(...Q.map(lt=>He.substring(1).replace("%s",lt))),y.classList.add(He.substring(1).replace("%s",Oe));else{let lt=He.replace("%s",Oe).match(/\[([^\]]+)\]/);if(lt){let[et,pt]=lt[1].split("=");pt||Q.forEach(Xe=>{y.removeAttribute(et.replace(Oe,Xe))}),y.setAttribute(et,pt?pt.replace(/"|'/g,""):"")}else y.setAttribute(He,Oe)}}},[Oe,Me,y,Q]),Rr.useEffect(()=>{let Re;if(C&&M.current&&_){let He=_.createElement("style");He.appendChild(_.createTextNode(iD)),_.head.appendChild(He),window.getComputedStyle(_.body),Re=setTimeout(()=>{_.head.removeChild(He)},1)}return()=>{clearTimeout(Re)}},[Oe,C,_]),Rr.useEffect(()=>(M.current=!0,()=>{M.current=!1}),[]);let Fe=Rr.useMemo(()=>({allColorSchemes:Q,colorScheme:Oe,darkColorScheme:de,lightColorScheme:Be,mode:ee,setColorScheme:at,setMode:xe,systemMode:ie}),[Q,Oe,de,Be,ee,at,xe,ie,Ce.colorSchemeSelector]),se=!0;(I||me.cssVariables===!1||re&&A?.cssVarPrefix===ue)&&(se=!1);let vt=(0,dp.jsxs)(Rr.Fragment,{children:[(0,dp.jsx)(fp,{themeId:ge?t:void 0,theme:Ce,children:h}),se&&(0,dp.jsx)(ba,{styles:Ce.generateStyleSheets?.()||[]})]});return re?vt:(0,dp.jsx)(p.Provider,{value:Fe,children:vt})}let v=typeof i=="string"?i:i.light,x=typeof i=="string"?i:i.dark;return{CssVarsProvider:g,useColorScheme:c,getInitColorSchemeScript:m=>hx({colorSchemeStorageKey:n,defaultLightColorScheme:v,defaultDarkColorScheme:x,modeStorageKey:o,...m})}}function qm(e=""){function t(...o){if(!o.length)return"";let n=o[0];return typeof n=="string"&&!n.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}-`:""}${n}${t(...o.slice(1))})`:`, ${n}`}return(o,...n)=>`var(--${e?`${e}-`:""}${o}${t(...n)})`}var $w=(e,t,r,o=[])=>{let n=e;t.forEach((s,i)=>{i===t.length-1?Array.isArray(n)?n[Number(s)]=r:n&&typeof n=="object"&&(n[s]=r):n&&typeof n=="object"&&(n[s]||(n[s]=o.includes(s)?[]:{}),n=n[s])})},aD=(e,t,r)=>{function o(n,s=[],i=[]){Object.entries(n).forEach(([a,l])=>{(!r||r&&!r([...s,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?o(l,[...s,a],Array.isArray(l)?[...i,a]:i):t([...s,a],l,i))})}o(e)},lD=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>e.includes(o))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Ou(e,t){let{prefix:r,shouldSkipGeneratingVar:o}=t||{},n={},s={},i={};return aD(e,(a,l,p)=>{if((typeof l=="string"||typeof l=="number")&&(!o||!o(a,l))){let c=`--${r?`${r}-`:""}${a.join("-")}`,u=lD(a,l);Object.assign(n,{[c]:u}),$w(s,a,`var(${c})`,p),$w(i,a,`var(${c}, ${u})`,p)}},a=>a[0]==="vars"),{css:n,vars:s,varsWithDefaults:i}}function pD(e,t={}){let{getSelector:r=b,disableCssColorScheme:o,colorSchemeSelector:n}=t,{colorSchemes:s={},components:i,defaultColorScheme:a="light",...l}=e,{vars:p,css:c,varsWithDefaults:u}=Ou(l,t),f=u,g={},{[a]:v,...x}=s;if(Object.entries(x||{}).forEach(([d,T])=>{let{vars:S,css:C,varsWithDefaults:w}=Ou(T,t);f=qe(f,w),g[d]={css:C,vars:S}}),v){let{css:d,vars:T,varsWithDefaults:S}=Ou(v,t);f=qe(f,S),g[a]={css:d,vars:T}}function b(d,T){let S=n;if(n==="class"&&(S=".%s"),n==="data"&&(S="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(S=`[${n}="%s"]`),d){if(S==="media")return e.defaultColorScheme===d?":root":{[`@media (prefers-color-scheme: ${s[d]?.palette?.mode||d})`]:{":root":T}};if(S)return e.defaultColorScheme===d?`:root, ${S.replace("%s",String(d))}`:S.replace("%s",String(d))}return":root"}return{vars:f,generateThemeVars:()=>{let d={...p};return Object.entries(g).forEach(([,{vars:T}])=>{d=qe(d,T)}),d},generateStyleSheets:()=>{let d=[],T=e.defaultColorScheme||"light";function S(E,_){Object.keys(_).length&&d.push(typeof E=="string"?{[E]:{..._}}:E)}S(r(void 0,{...c}),c);let{[T]:C,...w}=g;if(C){let{css:E}=C,_=s[T]?.palette?.mode,y=!o&&_?{colorScheme:_,...E}:{...E};S(r(T,{...y}),y)}return Object.entries(w).forEach(([E,{css:_}])=>{let y=s[E]?.palette?.mode,R=!o&&y?{colorScheme:y,..._}:{..._};S(r(E,{...R}),R)}),d}}}var Tx=pD;function xx(e){return function(r){return e==="media"?`@media (prefers-color-scheme: ${r})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}var Vw=P(N());var Bw=P(k()),cD=wn(),uD=gu("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${bn(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),fD=e=>sp({props:e,name:"MuiContainer",defaultTheme:cD}),dD=(e,t)=>{let r=l=>U(t,l),{classes:o,fixed:n,disableGutters:s,maxWidth:i}=e,a={root:["root",i&&`maxWidth${bn(String(i))}`,n&&"fixed",s&&"disableGutters"]};return z(a,r,o)};function Km(e={}){let{createStyledComponent:t=uD,useThemeProps:r=fD,componentName:o="MuiContainer"}=e,n=t(({theme:i,ownerState:a})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!a.disableGutters&&{paddingLeft:i.spacing(2),paddingRight:i.spacing(2),[i.breakpoints.up("sm")]:{paddingLeft:i.spacing(3),paddingRight:i.spacing(3)}}}),({theme:i,ownerState:a})=>a.fixed&&Object.keys(i.breakpoints.values).reduce((l,p)=>{let c=p,u=i.breakpoints.values[c];return u!==0&&(l[i.breakpoints.up(c)]={maxWidth:`${u}${i.breakpoints.unit}`}),l},{}),({theme:i,ownerState:a})=>({...a.maxWidth==="xs"&&{[i.breakpoints.up("xs")]:{maxWidth:Math.max(i.breakpoints.values.xs,444)}},...a.maxWidth&&a.maxWidth!=="xs"&&{[i.breakpoints.up(a.maxWidth)]:{maxWidth:`${i.breakpoints.values[a.maxWidth]}${i.breakpoints.unit}`}}}));return Vw.forwardRef(function(a,l){let p=r(a),{className:c,component:u="div",disableGutters:f=!1,fixed:g=!1,maxWidth:v="lg",classes:x,...b}=p,m={...p,component:u,disableGutters:f,fixed:g,maxWidth:v},h=dD(m,o);return(0,Bw.jsx)(n,{as:u,ownerState:m,className:L(h.root,c),ref:l,...b})})}var mp=P(N());var Uw=P(k()),mD=wn(),yD=gu("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function hD(e){return sp({props:e,name:"MuiStack",defaultTheme:mD})}function gD(e,t){let r=mp.Children.toArray(e).filter(Boolean);return r.reduce((o,n,s)=>(o.push(n),s<r.length-1&&o.push(mp.cloneElement(t,{key:`separator-${s}`})),o),[])}var vD=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],TD=({ownerState:e,theme:t})=>{let r={display:"flex",flexDirection:"column",...dr({theme:t},Om({values:e.direction,breakpoints:t.breakpoints.values}),o=>({flexDirection:o}))};if(e.spacing){let o=Ca(t),n=Object.keys(t.breakpoints.values).reduce((l,p)=>((typeof e.spacing=="object"&&e.spacing[p]!=null||typeof e.direction=="object"&&e.direction[p]!=null)&&(l[p]=!0),l),{}),s=Om({values:e.direction,base:n}),i=Om({values:e.spacing,base:n});typeof s=="object"&&Object.keys(s).forEach((l,p,c)=>{if(!s[l]){let f=p>0?s[c[p-1]]:"column";s[l]=f}}),r=qe(r,dr({theme:t},i,(l,p)=>e.useFlexGap?{gap:Yn(o,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${vD(p?s[p]:e.direction)}`]:Yn(o,l)}}))}return r=ow(t.breakpoints,r),r};function Ym(e={}){let{createStyledComponent:t=yD,useThemeProps:r=hD,componentName:o="MuiStack"}=e,n=()=>z({root:["root"]},l=>U(o,l),{}),s=t(TD);return mp.forwardRef(function(l,p){let c=r(l),u=rp(c),{component:f="div",direction:g="column",spacing:v=0,divider:x,children:b,className:m,useFlexGap:h=!1,...d}=u,T={direction:g,spacing:v,useFlexGap:h},S=n();return(0,Uw.jsx)(s,{as:f,ownerState:T,ref:p,className:L(S.root,m),...d,children:x?gD(b,x):b})})}function Hw(){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:Vl.white,default:Vl.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}}}var xD=Hw();function Gw(){return{text:{primary:Vl.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:Vl.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}}}var zw=Gw();function Ww(e,t,r,o){let n=o.light||o,s=o.dark||o*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Os(e.main,n):t==="dark"&&(e.dark=_s(e.main,s)))}function PD(e="light"){return e==="dark"?{main:ya[200],light:ya[50],dark:ya[400]}:{main:ya[700],light:ya[400],dark:ya[800]}}function bD(e="light"){return e==="dark"?{main:ma[200],light:ma[50],dark:ma[400]}:{main:ma[500],light:ma[300],dark:ma[700]}}function SD(e="light"){return e==="dark"?{main:da[500],light:da[300],dark:da[700]}:{main:da[700],light:da[400],dark:da[800]}}function CD(e="light"){return e==="dark"?{main:ha[400],light:ha[300],dark:ha[700]}:{main:ha[700],light:ha[500],dark:ha[900]}}function wD(e="light"){return e==="dark"?{main:ga[400],light:ga[300],dark:ga[700]}:{main:ga[800],light:ga[500],dark:ga[900]}}function ED(e="light"){return e==="dark"?{main:Bl[400],light:Bl[300],dark:Bl[700]}:{main:"#ed6c02",light:Bl[500],dark:Bl[900]}}function Ia(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:o=.2,...n}=e,s=e.primary||PD(t),i=e.secondary||bD(t),a=e.error||SD(t),l=e.info||CD(t),p=e.success||wD(t),c=e.warning||ED(t);function u(x){return mw(x,zw.text.primary)>=r?zw.text.primary:xD.text.primary}let f=({color:x,name:b,mainShade:m=500,lightShade:h=300,darkShade:d=700})=>{if(x={...x},!x.main&&x[m]&&(x.main=x[m]),!x.hasOwnProperty("main"))throw new Error(ur(11,b?` (${b})`:"",m));if(typeof x.main!="string")throw new Error(ur(12,b?` (${b})`:"",JSON.stringify(x.main)));return Ww(x,"light",h,o),Ww(x,"dark",d,o),x.contrastText||(x.contrastText=u(x.main)),x},g;return t==="light"?g=Hw():t==="dark"&&(g=Gw()),qe({common:{...Vl},mode:t,primary:f({color:s,name:"primary"}),secondary:f({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:p,name:"success"}),grey:KS,contrastThreshold:r,getContrastText:u,augmentColor:f,tonalOffset:o,...g},n)}function Qm(e){let t={};return Object.entries(e).forEach(o=>{let[n,s]=o;typeof s=="object"&&(t[n]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function Px(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function RD(e){return Math.round(e*1e5)/1e5}var qw={textTransform:"uppercase"},Kw='"Roboto", "Helvetica", "Arial", sans-serif';function Iu(e,t){let{fontFamily:r=Kw,fontSize:o=14,fontWeightLight:n=300,fontWeightRegular:s=400,fontWeightMedium:i=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:p,pxToRem:c,...u}=typeof t=="function"?t(e):t,f=o/14,g=c||(b=>`${b/l*f}rem`),v=(b,m,h,d,T)=>({fontFamily:r,fontWeight:b,fontSize:g(m),lineHeight:h,...r===Kw?{letterSpacing:`${RD(d/m)}em`}:{},...T,...p}),x={h1:v(n,96,1.167,-1.5),h2:v(n,60,1.2,-.5),h3:v(s,48,1.167,0),h4:v(s,34,1.235,.25),h5:v(s,24,1.334,0),h6:v(i,20,1.6,.15),subtitle1:v(s,16,1.75,.15),subtitle2:v(i,14,1.57,.1),body1:v(s,16,1.5,.15),body2:v(s,14,1.43,.15),button:v(i,14,1.75,.4,qw),caption:v(s,12,1.66,.4),overline:v(s,12,2.66,1,qw),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qe({htmlFontSize:l,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:n,fontWeightRegular:s,fontWeightMedium:i,fontWeightBold:a,...x},u,{clone:!1})}function xt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var _D=["none",xt(0,2,1,-1,0,1,1,0,0,1,3,0),xt(0,3,1,-2,0,2,2,0,0,1,5,0),xt(0,3,3,-2,0,3,4,0,0,1,8,0),xt(0,2,4,-1,0,4,5,0,0,1,10,0),xt(0,3,5,-1,0,5,8,0,0,1,14,0),xt(0,3,5,-1,0,6,10,0,0,1,18,0),xt(0,4,5,-2,0,7,10,1,0,2,16,1),xt(0,5,5,-3,0,8,10,1,0,3,14,2),xt(0,5,6,-3,0,9,12,1,0,3,16,2),xt(0,6,6,-3,0,10,14,1,0,4,18,3),xt(0,6,7,-4,0,11,15,1,0,4,20,3),xt(0,7,8,-4,0,12,17,2,0,5,22,4),xt(0,7,8,-4,0,13,19,2,0,5,24,4),xt(0,7,9,-4,0,14,21,2,0,5,26,4),xt(0,8,9,-5,0,15,22,2,0,6,28,5),xt(0,8,10,-5,0,16,24,2,0,6,30,5),xt(0,8,11,-5,0,17,26,2,0,6,32,5),xt(0,9,11,-5,0,18,28,2,0,7,34,6),xt(0,9,12,-6,0,19,29,2,0,7,36,6),xt(0,10,13,-6,0,20,31,3,0,8,38,7),xt(0,10,13,-6,0,21,33,3,0,8,40,7),xt(0,10,14,-6,0,22,35,3,0,8,42,7),xt(0,11,14,-7,0,23,36,3,0,9,44,8),xt(0,11,15,-7,0,24,38,3,0,9,46,8)],Yw=_D;var OD={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)"},bx={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Qw(e){return`${Math.round(e)}ms`}function ID(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Sx(e){let t={...OD,...e.easing},r={...bx,...e.duration};return{getAutoHeightDuration:ID,create:(n=["all"],s={})=>{let{duration:i=r.standard,easing:a=t.easeInOut,delay:l=0,...p}=s;return(Array.isArray(n)?n:[n]).map(c=>`${c} ${typeof i=="string"?i:Qw(i)} ${a} ${typeof l=="string"?l:Qw(l)}`).join(",")},...e,easing:t,duration:r}}var kD={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Xw=kD;function ND(e){return Mo(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Xm(e={}){let t={...e};function r(o){let n=Object.entries(o);for(let s=0;s<n.length;s++){let[i,a]=n[s];!ND(a)||i.startsWith("unstable_")?delete o[i]:Mo(a)&&(o[i]={...a},r(o[i]))}}return r(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 AD(e={},...t){let{breakpoints:r,mixins:o={},spacing:n,palette:s={},transitions:i={},typography:a={},shape:l,...p}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(ur(20));let c=Ia(s),u=wn(e),f=qe(u,{mixins:Px(u.breakpoints,o),palette:c,shadows:Yw.slice(),typography:Iu(c,a),transitions:Sx(i),zIndex:{...Xw}});return f=qe(f,p),f=t.reduce((g,v)=>qe(g,v),f),f.unstable_sxConfig={...Cn,...p?.unstable_sxConfig},f.unstable_sx=function(v){return sn({sx:v,theme:this})},f.toRuntimeSource=Xm,f}var ku=AD;function yp(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var MD=[...Array(25)].map((e,t)=>{if(t===0)return"none";let r=yp(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Cx(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function wx(e){return e==="dark"?MD:[]}function Ex(e){let{palette:t={mode:"light"},opacity:r,overlays:o,...n}=e,s=Ia(t);return{palette:s,opacity:{...Cx(s.mode),...r},overlays:o||wx(s.mode),...n}}function Rx(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var LD=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Jw=LD;var Zw=e=>(t,r)=>{let o=e.rootSelector||":root",n=e.colorSchemeSelector,s=n;if(n==="class"&&(s=".%s"),n==="data"&&(s="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(s=`[${n}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){let i={};return Jw(e.cssVarPrefix).forEach(a=>{i[a]=r[a],delete r[a]}),s==="media"?{[o]:r,"@media (prefers-color-scheme: dark)":{[o]:i}}:s?{[s.replace("%s",t)]:i,[`${o}, ${s.replace("%s",t)}`]:r}:{[o]:{...r,...i}}}if(s&&s!=="media")return`${o}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[o]:r}};if(s)return s.replace("%s",String(t))}return o};function DD(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function j(e,t,r){!e[t]&&r&&(e[t]=r)}function Nu(e){return typeof e!="string"||!e.startsWith("hsl")?e:cx(e)}function Ns(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ip(Nu(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
44
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function FD(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}var Xn=e=>{try{return e()}catch{}},jD=(e="mui")=>qm(e);function _x(e,t,r,o){if(!t)return;t=t===!0?{}:t;let n=o==="dark"?"dark":"light";if(!r){e[o]=Ex({...t,palette:{mode:n,...t?.palette}});return}let{palette:s,...i}=ku({...r,palette:{mode:n,...t?.palette}});return e[o]={...t,palette:s,opacity:{...Cx(n),...t?.opacity},overlays:t?.overlays||wx(n)},i}function Ox(e={},...t){let{colorSchemes:r={light:!0},defaultColorScheme:o,disableCssColorScheme:n=!1,cssVarPrefix:s="mui",shouldSkipGeneratingVar:i=Rx,colorSchemeSelector:a=r.light&&r.dark?"media":void 0,rootSelector:l=":root",...p}=e,c=Object.keys(r)[0],u=o||(r.light&&c!=="light"?"light":c),f=jD(s),{[u]:g,light:v,dark:x,...b}=r,m={...b},h=g;if((u==="dark"&&!("dark"in r)||u==="light"&&!("light"in r))&&(h=!0),!h)throw new Error(ur(21,u));let d=_x(m,h,p,u);v&&!m.light&&_x(m,v,void 0,"light"),x&&!m.dark&&_x(m,x,void 0,"dark");let T={defaultColorScheme:u,...d,cssVarPrefix:s,colorSchemeSelector:a,rootSelector:l,getCssVar:f,colorSchemes:m,font:{...Qm(d.typography),...d.font},spacing:FD(p.spacing)};Object.keys(T.colorSchemes).forEach(_=>{let y=T.colorSchemes[_].palette,R=I=>{let D=I.split("-"),W=D[1],M=D[2];return f(I,y[W][M])};if(y.mode==="light"&&(j(y.common,"background","#fff"),j(y.common,"onBackground","#000")),y.mode==="dark"&&(j(y.common,"background","#000"),j(y.common,"onBackground","#fff")),DD(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){j(y.Alert,"errorColor",nt(y.error.light,.6)),j(y.Alert,"infoColor",nt(y.info.light,.6)),j(y.Alert,"successColor",nt(y.success.light,.6)),j(y.Alert,"warningColor",nt(y.warning.light,.6)),j(y.Alert,"errorFilledBg",R("palette-error-main")),j(y.Alert,"infoFilledBg",R("palette-info-main")),j(y.Alert,"successFilledBg",R("palette-success-main")),j(y.Alert,"warningFilledBg",R("palette-warning-main")),j(y.Alert,"errorFilledColor",Xn(()=>y.getContrastText(y.error.main))),j(y.Alert,"infoFilledColor",Xn(()=>y.getContrastText(y.info.main))),j(y.Alert,"successFilledColor",Xn(()=>y.getContrastText(y.success.main))),j(y.Alert,"warningFilledColor",Xn(()=>y.getContrastText(y.warning.main))),j(y.Alert,"errorStandardBg",st(y.error.light,.9)),j(y.Alert,"infoStandardBg",st(y.info.light,.9)),j(y.Alert,"successStandardBg",st(y.success.light,.9)),j(y.Alert,"warningStandardBg",st(y.warning.light,.9)),j(y.Alert,"errorIconColor",R("palette-error-main")),j(y.Alert,"infoIconColor",R("palette-info-main")),j(y.Alert,"successIconColor",R("palette-success-main")),j(y.Alert,"warningIconColor",R("palette-warning-main")),j(y.AppBar,"defaultBg",R("palette-grey-100")),j(y.Avatar,"defaultBg",R("palette-grey-400")),j(y.Button,"inheritContainedBg",R("palette-grey-300")),j(y.Button,"inheritContainedHoverBg",R("palette-grey-A100")),j(y.Chip,"defaultBorder",R("palette-grey-400")),j(y.Chip,"defaultAvatarColor",R("palette-grey-700")),j(y.Chip,"defaultIconColor",R("palette-grey-700")),j(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),j(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),j(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),j(y.LinearProgress,"primaryBg",st(y.primary.main,.62)),j(y.LinearProgress,"secondaryBg",st(y.secondary.main,.62)),j(y.LinearProgress,"errorBg",st(y.error.main,.62)),j(y.LinearProgress,"infoBg",st(y.info.main,.62)),j(y.LinearProgress,"successBg",st(y.success.main,.62)),j(y.LinearProgress,"warningBg",st(y.warning.main,.62)),j(y.Skeleton,"bg",`rgba(${R("palette-text-primaryChannel")} / 0.11)`),j(y.Slider,"primaryTrack",st(y.primary.main,.62)),j(y.Slider,"secondaryTrack",st(y.secondary.main,.62)),j(y.Slider,"errorTrack",st(y.error.main,.62)),j(y.Slider,"infoTrack",st(y.info.main,.62)),j(y.Slider,"successTrack",st(y.success.main,.62)),j(y.Slider,"warningTrack",st(y.warning.main,.62));let I=Tu(y.background.default,.8);j(y.SnackbarContent,"bg",I),j(y.SnackbarContent,"color",Xn(()=>y.getContrastText(I))),j(y.SpeedDialAction,"fabHoverBg",Tu(y.background.paper,.15)),j(y.StepConnector,"border",R("palette-grey-400")),j(y.StepContent,"border",R("palette-grey-400")),j(y.Switch,"defaultColor",R("palette-common-white")),j(y.Switch,"defaultDisabledColor",R("palette-grey-100")),j(y.Switch,"primaryDisabledColor",st(y.primary.main,.62)),j(y.Switch,"secondaryDisabledColor",st(y.secondary.main,.62)),j(y.Switch,"errorDisabledColor",st(y.error.main,.62)),j(y.Switch,"infoDisabledColor",st(y.info.main,.62)),j(y.Switch,"successDisabledColor",st(y.success.main,.62)),j(y.Switch,"warningDisabledColor",st(y.warning.main,.62)),j(y.TableCell,"border",st(vu(y.divider,1),.88)),j(y.Tooltip,"bg",vu(y.grey[700],.92))}if(y.mode==="dark"){j(y.Alert,"errorColor",st(y.error.light,.6)),j(y.Alert,"infoColor",st(y.info.light,.6)),j(y.Alert,"successColor",st(y.success.light,.6)),j(y.Alert,"warningColor",st(y.warning.light,.6)),j(y.Alert,"errorFilledBg",R("palette-error-dark")),j(y.Alert,"infoFilledBg",R("palette-info-dark")),j(y.Alert,"successFilledBg",R("palette-success-dark")),j(y.Alert,"warningFilledBg",R("palette-warning-dark")),j(y.Alert,"errorFilledColor",Xn(()=>y.getContrastText(y.error.dark))),j(y.Alert,"infoFilledColor",Xn(()=>y.getContrastText(y.info.dark))),j(y.Alert,"successFilledColor",Xn(()=>y.getContrastText(y.success.dark))),j(y.Alert,"warningFilledColor",Xn(()=>y.getContrastText(y.warning.dark))),j(y.Alert,"errorStandardBg",nt(y.error.light,.9)),j(y.Alert,"infoStandardBg",nt(y.info.light,.9)),j(y.Alert,"successStandardBg",nt(y.success.light,.9)),j(y.Alert,"warningStandardBg",nt(y.warning.light,.9)),j(y.Alert,"errorIconColor",R("palette-error-main")),j(y.Alert,"infoIconColor",R("palette-info-main")),j(y.Alert,"successIconColor",R("palette-success-main")),j(y.Alert,"warningIconColor",R("palette-warning-main")),j(y.AppBar,"defaultBg",R("palette-grey-900")),j(y.AppBar,"darkBg",R("palette-background-paper")),j(y.AppBar,"darkColor",R("palette-text-primary")),j(y.Avatar,"defaultBg",R("palette-grey-600")),j(y.Button,"inheritContainedBg",R("palette-grey-800")),j(y.Button,"inheritContainedHoverBg",R("palette-grey-700")),j(y.Chip,"defaultBorder",R("palette-grey-700")),j(y.Chip,"defaultAvatarColor",R("palette-grey-300")),j(y.Chip,"defaultIconColor",R("palette-grey-300")),j(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),j(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),j(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),j(y.LinearProgress,"primaryBg",nt(y.primary.main,.5)),j(y.LinearProgress,"secondaryBg",nt(y.secondary.main,.5)),j(y.LinearProgress,"errorBg",nt(y.error.main,.5)),j(y.LinearProgress,"infoBg",nt(y.info.main,.5)),j(y.LinearProgress,"successBg",nt(y.success.main,.5)),j(y.LinearProgress,"warningBg",nt(y.warning.main,.5)),j(y.Skeleton,"bg",`rgba(${R("palette-text-primaryChannel")} / 0.13)`),j(y.Slider,"primaryTrack",nt(y.primary.main,.5)),j(y.Slider,"secondaryTrack",nt(y.secondary.main,.5)),j(y.Slider,"errorTrack",nt(y.error.main,.5)),j(y.Slider,"infoTrack",nt(y.info.main,.5)),j(y.Slider,"successTrack",nt(y.success.main,.5)),j(y.Slider,"warningTrack",nt(y.warning.main,.5));let I=Tu(y.background.default,.98);j(y.SnackbarContent,"bg",I),j(y.SnackbarContent,"color",Xn(()=>y.getContrastText(I))),j(y.SpeedDialAction,"fabHoverBg",Tu(y.background.paper,.15)),j(y.StepConnector,"border",R("palette-grey-600")),j(y.StepContent,"border",R("palette-grey-600")),j(y.Switch,"defaultColor",R("palette-grey-300")),j(y.Switch,"defaultDisabledColor",R("palette-grey-600")),j(y.Switch,"primaryDisabledColor",nt(y.primary.main,.55)),j(y.Switch,"secondaryDisabledColor",nt(y.secondary.main,.55)),j(y.Switch,"errorDisabledColor",nt(y.error.main,.55)),j(y.Switch,"infoDisabledColor",nt(y.info.main,.55)),j(y.Switch,"successDisabledColor",nt(y.success.main,.55)),j(y.Switch,"warningDisabledColor",nt(y.warning.main,.55)),j(y.TableCell,"border",nt(vu(y.divider,1),.68)),j(y.Tooltip,"bg",vu(y.grey[700],.92))}Ns(y.background,"default"),Ns(y.background,"paper"),Ns(y.common,"background"),Ns(y.common,"onBackground"),Ns(y,"divider"),Object.keys(y).forEach(I=>{let D=y[I];I!=="tonalOffset"&&D&&typeof D=="object"&&(D.main&&j(y[I],"mainChannel",ip(Nu(D.main))),D.light&&j(y[I],"lightChannel",ip(Nu(D.light))),D.dark&&j(y[I],"darkChannel",ip(Nu(D.dark))),D.contrastText&&j(y[I],"contrastTextChannel",ip(Nu(D.contrastText))),I==="text"&&(Ns(y[I],"primary"),Ns(y[I],"secondary")),I==="action"&&(D.active&&Ns(y[I],"active"),D.selected&&Ns(y[I],"selected")))})}),T=t.reduce((_,y)=>qe(_,y),T);let S={prefix:s,disableCssColorScheme:n,shouldSkipGeneratingVar:i,getSelector:Zw(T)},{vars:C,generateThemeVars:w,generateStyleSheets:E}=Tx(T,S);return T.vars=C,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([_,y])=>{T[_]=y}),T.generateThemeVars=w,T.generateStyleSheets=E,T.generateSpacing=function(){return tp(p.spacing,Ca(this))},T.getColorSchemeSelector=xx(a),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=i,T.unstable_sxConfig={...Cn,...p?.unstable_sxConfig},T.unstable_sx=function(y){return sn({sx:y,theme:this})},T.toRuntimeSource=Xm,T}function eE(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Ia({...r===!0?{}:r.palette,mode:t})})}function Ei(e={},...t){let{palette:r,cssVariables:o=!1,colorSchemes:n=r?void 0:{light:!0},defaultColorScheme:s=r?.mode,...i}=e,a=s||"light",l=n?.[a],p={...n,...r?{[a]:{...typeof l!="boolean"&&l,palette:r}}:void 0};if(o===!1){if(!("colorSchemes"in e))return ku(e,...t);let c=r;"palette"in e||p[a]&&(p[a]!==!0?c=p[a].palette:a==="dark"&&(c={mode:"dark"}));let u=ku({...e,palette:c},...t);return u.defaultColorScheme=a,u.colorSchemes=p,u.palette.mode==="light"&&(u.colorSchemes.light={...p.light!==!0&&p.light,palette:u.palette},eE(u,"dark",p.dark)),u.palette.mode==="dark"&&(u.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:u.palette},eE(u,"light",p.light)),u}return!r&&!("light"in p)&&a==="light"&&(p.light=!0),Ox({...i,colorSchemes:p,defaultColorScheme:a,...typeof o!="boolean"&&o},...t)}var VD=P(N());var $D=Ei(),hp=$D;function mt(){let e=Si(hp);return e[Cr]||e}function BD(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var Jm=BD;var UD=e=>Jm(e)&&e!=="classes",ot=UD;var zD=op({themeId:Cr,defaultTheme:hp,rootShouldForwardProp:ot}),O=zD;var oE=P(N());var Aq=P(N());var tE=P(k());function Ix({theme:e,...t}){let r=Cr in e?e[Cr]:void 0;return(0,tE.jsx)(fp,{...t,themeId:r?Cr:void 0,theme:r||e})}var $q=P(N());var Fq=P(N());var WD=P(k()),Au={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};var HD=P(k()),{CssVarsProvider:GD,useColorScheme:Gq,getInitColorSchemeScript:qq}=Gm({themeId:Cr,theme:()=>Ei({cssVariables:!0}),colorSchemeStorageKey:Au.colorSchemeStorageKey,modeStorageKey:Au.modeStorageKey,defaultColorScheme:{light:Au.defaultLightColorScheme,dark:Au.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:Iu(e.palette,e.typography)};return t.unstable_sx=function(o){return sn({sx:o,theme:this})},t}});var rE=GD;var kx=P(k());function Zm({theme:e,...t}){let r=oE.useMemo(()=>{if(typeof e=="function")return e;let o=Cr in e?e[Cr]:e;return"colorSchemes"in o?null:"vars"in o?e:{...e,vars:null}},[e]);return r?(0,kx.jsx)(Ix,{theme:r,...t}):(0,kx.jsx)(rE,{theme:e,...t})}var F=bn;var ry=P(N());var ey=P(N());var mK=P(N());var aK=P(N());var nE=P(k());function qD(e){return(0,nE.jsx)(Nm,{...e,defaultTheme:hp,themeId:Cr})}var Nx=qD;var sE=P(k());function Mu(e){return function(r){return(0,sE.jsx)(Nx,{styles:typeof e=="function"?o=>e({theme:o,...r}):e})}}function iE(){return rp}var KD=Hm,Y=KD;var SK=P(N());var YD=P(k());function G(e){return yx(e)}function aE(e){return U("MuiSvgIcon",e)}var kK=q("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var ty=P(k()),QD=e=>{let{color:t,fontSize:r,classes:o}=e,n={root:["root",t!=="inherit"&&`color${F(t)}`,`fontSize${F(r)}`]};return z(n,aE,o)},XD=O("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${F(r.color)}`],t[`fontSize${F(r.fontSize)}`]]}})(Y(({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}}]}))),lE=ey.forwardRef(function(t,r){let o=G({props:t,name:"MuiSvgIcon"}),{children:n,className:s,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:p,inheritViewBox:c=!1,titleAccess:u,viewBox:f="0 0 24 24",...g}=o,v=ey.isValidElement(n)&&n.type==="svg",x={...o,color:i,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:v},b={};c||(b.viewBox=f);let m=QD(x);return(0,ty.jsxs)(XD,{as:a,className:L(m.root,s),focusable:"false",color:p,"aria-hidden":u?void 0:!0,role:u?"img":void 0,ref:r,...b,...g,...v&&n.props,ownerState:x,children:[v?n.props.children:n,u?(0,ty.jsx)("title",{children:u}):null]})});lE.muiName="SvgIcon";var ka=lE;var pE=P(k());function J(e,t){function r(o,n){return(0,pE.jsx)(ka,{"data-testid":`${t}Icon`,ref:n,...o,children:e})}return r.muiName=ka.muiName,ry.memo(ry.forwardRef(r))}var cE=Ra;var gp=Dm;var Na=or;var vp=Do;var Ri=rr;var Aa=Fo;var Ma=Is;var _i=go;var it=qt;function Tp(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return n=>{let s=typeof t=="function"?t(n):t,i=typeof e=="function"?e({...n,...s}):e,a=L(n?.className,s?.className,i?.className);return{...s,...i,...!!a&&{className:a},...s?.style&&i?.style&&{style:{...s.style,...i.style}},...s?.sx&&i?.sx&&{sx:[...Array.isArray(s.sx)?s.sx:[s.sx],...Array.isArray(i.sx)?i.sx:[i.sx]]}}};let r=t,o=L(r?.className,e?.className);return{...t,...e,...!!o&&{className:o},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}var Sp=P(N());function oy(e,t){if(e==null)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;r[o]=e[o]}return r}function ny(e,t){return ny=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},ny(e,t)}function sy(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ny(e,t)}var Lu=P(N()),Du=P(Yd());var Ax={disabled:!1};var uE=P(N()),xp=uE.default.createContext(null);var fE=function(t){return t.scrollTop};var Fu="unmounted",La="exited",Da="entering",bp="entered",Mx="exiting",As=function(e){sy(t,e);function t(o,n){var s;s=e.call(this,o,n)||this;var i=n,a=i&&!i.isMounting?o.enter:o.appear,l;return s.appearStatus=null,o.in?a?(l=La,s.appearStatus=Da):l=bp:o.unmountOnExit||o.mountOnEnter?l=Fu:l=La,s.state={status:l},s.nextCallback=null,s}t.getDerivedStateFromProps=function(n,s){var i=n.in;return i&&s.status===Fu?{status:La}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(n){var s=null;if(n!==this.props){var i=this.state.status;this.props.in?i!==Da&&i!==bp&&(s=Da):(i===Da||i===bp)&&(s=Mx)}this.updateStatus(!1,s)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var n=this.props.timeout,s,i,a;return s=i=a=n,n!=null&&typeof n!="number"&&(s=n.exit,i=n.enter,a=n.appear!==void 0?n.appear:i),{exit:s,enter:i,appear:a}},r.updateStatus=function(n,s){if(n===void 0&&(n=!1),s!==null)if(this.cancelNextCallback(),s===Da){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Du.default.findDOMNode(this);i&&fE(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===La&&this.setState({status:Fu})},r.performEnter=function(n){var s=this,i=this.props.enter,a=this.context?this.context.isMounting:n,l=this.props.nodeRef?[a]:[Du.default.findDOMNode(this),a],p=l[0],c=l[1],u=this.getTimeouts(),f=a?u.appear:u.enter;if(!n&&!i||Ax.disabled){this.safeSetState({status:bp},function(){s.props.onEntered(p)});return}this.props.onEnter(p,c),this.safeSetState({status:Da},function(){s.props.onEntering(p,c),s.onTransitionEnd(f,function(){s.safeSetState({status:bp},function(){s.props.onEntered(p,c)})})})},r.performExit=function(){var n=this,s=this.props.exit,i=this.getTimeouts(),a=this.props.nodeRef?void 0:Du.default.findDOMNode(this);if(!s||Ax.disabled){this.safeSetState({status:La},function(){n.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Mx},function(){n.props.onExiting(a),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:La},function(){n.props.onExited(a)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(n,s){s=this.setNextCallback(s),this.setState(n,s)},r.setNextCallback=function(n){var s=this,i=!0;return this.nextCallback=function(a){i&&(i=!1,s.nextCallback=null,n(a))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},r.onTransitionEnd=function(n,s){this.setNextCallback(s);var i=this.props.nodeRef?this.props.nodeRef.current:Du.default.findDOMNode(this),a=n==null&&!this.props.addEndListener;if(!i||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],p=l[0],c=l[1];this.props.addEndListener(p,c)}n!=null&&setTimeout(this.nextCallback,n)},r.render=function(){var n=this.state.status;if(n===Fu)return null;var s=this.props,i=s.children,a=s.in,l=s.mountOnEnter,p=s.unmountOnExit,c=s.appear,u=s.enter,f=s.exit,g=s.timeout,v=s.addEndListener,x=s.onEnter,b=s.onEntering,m=s.onEntered,h=s.onExit,d=s.onExiting,T=s.onExited,S=s.nodeRef,C=oy(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Lu.default.createElement(xp.Provider,{value:null},typeof i=="function"?i(n,C):Lu.default.cloneElement(Lu.default.Children.only(i),C))},t}(Lu.default.Component);As.contextType=xp;As.propTypes={};function Pp(){}As.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Pp,onEntering:Pp,onEntered:Pp,onExit:Pp,onExiting:Pp,onExited:Pp};As.UNMOUNTED=Fu;As.EXITED=La;As.ENTERING=Da;As.ENTERED=bp;As.EXITING=Mx;var Fa=As;function dE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ju=P(N());var an=P(N());function iy(e,t){var r=function(s){return t&&(0,an.isValidElement)(s)?t(s):s},o=Object.create(null);return e&&an.Children.map(e,function(n){return n}).forEach(function(n){o[n.key]=r(n)}),o}function JD(e,t){e=e||{},t=t||{};function r(c){return c in t?t[c]:e[c]}var o=Object.create(null),n=[];for(var s in e)s in t?n.length&&(o[s]=n,n=[]):n.push(s);var i,a={};for(var l in t){if(o[l])for(i=0;i<o[l].length;i++){var p=o[l][i];a[o[l][i]]=r(p)}a[l]=r(l)}for(i=0;i<n.length;i++)a[n[i]]=r(n[i]);return a}function ja(e,t,r){return r[t]!=null?r[t]:e.props[t]}function mE(e,t){return iy(e.children,function(r){return(0,an.cloneElement)(r,{onExited:t.bind(null,r),in:!0,appear:ja(r,"appear",e),enter:ja(r,"enter",e),exit:ja(r,"exit",e)})})}function yE(e,t,r){var o=iy(e.children),n=JD(t,o);return Object.keys(n).forEach(function(s){var i=n[s];if((0,an.isValidElement)(i)){var a=s in t,l=s in o,p=t[s],c=(0,an.isValidElement)(p)&&!p.props.in;l&&(!a||c)?n[s]=(0,an.cloneElement)(i,{onExited:r.bind(null,i),in:!0,exit:ja(i,"exit",e),enter:ja(i,"enter",e)}):!l&&a&&!c?n[s]=(0,an.cloneElement)(i,{in:!1}):l&&a&&(0,an.isValidElement)(p)&&(n[s]=(0,an.cloneElement)(i,{onExited:r.bind(null,i),in:p.props.in,exit:ja(i,"exit",e),enter:ja(i,"enter",e)}))}}),n}var ZD=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},e5={component:"div",childFactory:function(t){return t}},Lx=function(e){sy(t,e);function t(o,n){var s;s=e.call(this,o,n)||this;var i=s.handleExited.bind(dE(s));return s.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},s}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(n,s){var i=s.children,a=s.handleExited,l=s.firstRender;return{children:l?mE(n,a):yE(n,i,a),firstRender:!1}},r.handleExited=function(n,s){var i=iy(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(s),this.mounted&&this.setState(function(a){var l=va({},a.children);return delete l[n.key],{children:l}}))},r.render=function(){var n=this.props,s=n.component,i=n.childFactory,a=oy(n,["component","childFactory"]),l=this.state.contextValue,p=ZD(this.state.children).map(i);return delete a.appear,delete a.enter,delete a.exit,s===null?ju.default.createElement(xp.Provider,{value:l},p):ju.default.createElement(xp.Provider,{value:l},ju.default.createElement(s,a,p))},t}(ju.default.Component);Lx.propTypes={};Lx.defaultProps=e5;var Dx=Lx;var ay=e=>e.scrollTop;function Ms(e,t){let{timeout:r,easing:o,style:n={}}=e;return{duration:n.transitionDuration??(typeof r=="number"?r:r[t.mode]||0),easing:n.transitionTimingFunction??(typeof o=="object"?o[t.mode]:o),delay:n.transitionDelay}}function hE(e){return U("MuiCollapse",e)}var qY=q("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var $u=P(k()),t5=e=>{let{orientation:t,classes:r}=e,o={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return z(o,hE,r)},r5=O("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],r.state==="entered"&&t.entered,r.state==="exited"&&!r.in&&r.collapsedSize==="0px"&&t.hidden]}})(Y(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),o5=O("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),n5=O("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Fx=Sp.forwardRef(function(t,r){let o=G({props:t,name:"MuiCollapse"}),{addEndListener:n,children:s,className:i,collapsedSize:a="0px",component:l,easing:p,in:c,onEnter:u,onEntered:f,onEntering:g,onExit:v,onExited:x,onExiting:b,orientation:m="vertical",style:h,timeout:d=bx.standard,TransitionComponent:T=Fa,...S}=o,C={...o,orientation:m,collapsedSize:a},w=t5(C),E=mt(),_=jo(),y=Sp.useRef(null),R=Sp.useRef(),I=typeof a=="number"?`${a}px`:a,D=m==="horizontal",W=D?"width":"height",M=Sp.useRef(null),A=it(r,M),H=Q=>Pe=>{if(Q){let ae=M.current;Pe===void 0?Q(ae):Q(ae,Pe)}},re=()=>y.current?y.current[D?"clientWidth":"clientHeight"]:0,V=H((Q,Pe)=>{y.current&&D&&(y.current.style.position="absolute"),Q.style[W]=I,u&&u(Q,Pe)}),ge=H((Q,Pe)=>{let ae=re();y.current&&D&&(y.current.style.position="");let{duration:ve,easing:fe}=Ms({style:h,timeout:d,easing:p},{mode:"enter"});if(d==="auto"){let xe=E.transitions.getAutoHeightDuration(ae);Q.style.transitionDuration=`${xe}ms`,R.current=xe}else Q.style.transitionDuration=typeof ve=="string"?ve:`${ve}ms`;Q.style[W]=`${ae}px`,Q.style.transitionTimingFunction=fe,g&&g(Q,Pe)}),me=H((Q,Pe)=>{Q.style[W]="auto",f&&f(Q,Pe)}),Ee=H(Q=>{Q.style[W]=`${re()}px`,v&&v(Q)}),Te=H(x),ue=H(Q=>{let Pe=re(),{duration:ae,easing:ve}=Ms({style:h,timeout:d,easing:p},{mode:"exit"});if(d==="auto"){let fe=E.transitions.getAutoHeightDuration(Pe);Q.style.transitionDuration=`${fe}ms`,R.current=fe}else Q.style.transitionDuration=typeof ae=="string"?ae:`${ae}ms`;Q.style[W]=I,Q.style.transitionTimingFunction=ve,b&&b(Q)});return(0,$u.jsx)(T,{in:c,onEnter:V,onEntered:me,onEntering:ge,onExit:Ee,onExited:Te,onExiting:ue,addEndListener:Q=>{d==="auto"&&_.start(R.current||0,Q),n&&n(M.current,Q)},nodeRef:M,timeout:d==="auto"?null:d,...S,children:(Q,{ownerState:Pe,...ae})=>(0,$u.jsx)(r5,{as:l,className:L(w.root,i,{entered:w.entered,exited:!c&&I==="0px"&&w.hidden}[Q]),style:{[D?"minWidth":"minHeight"]:I,...h},ref:A,ownerState:{...C,state:Q},...ae,children:(0,$u.jsx)(o5,{ownerState:{...C,state:Q},className:w.wrapper,ref:y,children:(0,$u.jsx)(n5,{ownerState:{...C,state:Q},className:w.wrapperInner,children:s})})})})});Fx&&(Fx.muiSupportAuto=!0);var Cp=Fx;var vE=P(N());function gE(e){return U("MuiPaper",e)}var fQ=q("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"]);var TE=P(k()),s5=e=>{let{square:t,elevation:r,variant:o,classes:n}=e,s={root:["root",o,!t&&"rounded",o==="elevation"&&`elevation${r}`]};return z(s,gE,n)},i5=O("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(Y(({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)"}}]}))),a5=vE.forwardRef(function(t,r){let o=G({props:t,name:"MuiPaper"}),n=mt(),{className:s,component:i="div",elevation:a=1,square:l=!1,variant:p="elevation",...c}=o,u={...o,component:i,elevation:a,square:l,variant:p},f=s5(u);return(0,TE.jsx)(i5,{as:i,ownerState:u,className:L(f.root,s),ref:r,...c,style:{...p==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[a],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[a]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${ye("#fff",yp(a))}, ${ye("#fff",yp(a))})`}},...c.style}})}),$o=a5;function le(e,t){let{className:r,elementType:o,ownerState:n,externalForwardedProps:s,internalForwardedProps:i,shouldForwardComponentProp:a=!1,...l}=t,{component:p,slots:c={[e]:void 0},slotProps:u={[e]:void 0},...f}=s,g=c[e]||o,v=Cu(u[e],n),{props:{component:x,...b},internalRef:m}=Su({className:r,...l,externalForwardedProps:e==="root"?f:void 0,externalSlotProps:v}),h=qt(m,v?.ref,t.ref),d=e==="root"?x||p:x,T=Pu(g,{...e==="root"&&!p&&!c[e]&&i,...e!=="root"&&!c[e]&&i,...b,...d&&!a&&{as:d},...d&&a&&{component:d},ref:h},n);return[g,T]}var Jn=P(N());var ly=P(N());var jx=class e{constructor(){Vn(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new e}static use(){let t=pp(e.create).current,[r,o]=ly.useState(!1);return t.shouldMount=r,t.setShouldMount=o,ly.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=l5(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}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 py(){return jx.use()}function l5(){let e,t,r=new Promise((o,n)=>{e=o,t=n});return r.resolve=e,r.reject=t,r}var nr=P(N());var cy=P(N());var $x=P(k());function p5(e){let{className:t,classes:r,pulsate:o=!1,rippleX:n,rippleY:s,rippleSize:i,in:a,onExited:l,timeout:p}=e,[c,u]=cy.useState(!1),f=L(t,r.ripple,r.rippleVisible,o&&r.ripplePulsate),g={width:i,height:i,top:-(i/2)+s,left:-(i/2)+n},v=L(r.child,c&&r.childLeaving,o&&r.childPulsate);return!a&&!c&&u(!0),cy.useEffect(()=>{if(!a&&l!=null){let x=setTimeout(l,p);return()=>{clearTimeout(x)}}},[l,a,p]),(0,$x.jsx)("span",{className:f,style:g,children:(0,$x.jsx)("span",{className:v})})}var xE=p5;var c5=q("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Vo=c5;var uy=P(k()),Vx=550,u5=80,f5=Kn`
|
|
45
|
-
0% {
|
|
46
|
-
transform: scale(0);
|
|
47
|
-
opacity: 0.1;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
100% {
|
|
51
|
-
transform: scale(1);
|
|
52
|
-
opacity: 0.3;
|
|
53
|
-
}
|
|
54
|
-
`,d5=Kn`
|
|
55
|
-
0% {
|
|
56
|
-
opacity: 1;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
100% {
|
|
60
|
-
opacity: 0;
|
|
61
|
-
}
|
|
62
|
-
`,m5=Kn`
|
|
63
|
-
0% {
|
|
64
|
-
transform: scale(1);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
50% {
|
|
68
|
-
transform: scale(0.92);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
100% {
|
|
72
|
-
transform: scale(1);
|
|
73
|
-
}
|
|
74
|
-
`,y5=O("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),h5=O(xE,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
75
|
-
opacity: 0;
|
|
76
|
-
position: absolute;
|
|
77
|
-
|
|
78
|
-
&.${Vo.rippleVisible} {
|
|
79
|
-
opacity: 0.3;
|
|
80
|
-
transform: scale(1);
|
|
81
|
-
animation-name: ${f5};
|
|
82
|
-
animation-duration: ${Vx}ms;
|
|
83
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&.${Vo.ripplePulsate} {
|
|
87
|
-
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
& .${Vo.child} {
|
|
91
|
-
opacity: 1;
|
|
92
|
-
display: block;
|
|
93
|
-
width: 100%;
|
|
94
|
-
height: 100%;
|
|
95
|
-
border-radius: 50%;
|
|
96
|
-
background-color: currentColor;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
& .${Vo.childLeaving} {
|
|
100
|
-
opacity: 0;
|
|
101
|
-
animation-name: ${d5};
|
|
102
|
-
animation-duration: ${Vx}ms;
|
|
103
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
& .${Vo.childPulsate} {
|
|
107
|
-
position: absolute;
|
|
108
|
-
/* @noflip */
|
|
109
|
-
left: 0px;
|
|
110
|
-
top: 0;
|
|
111
|
-
animation-name: ${m5};
|
|
112
|
-
animation-duration: 2500ms;
|
|
113
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
114
|
-
animation-iteration-count: infinite;
|
|
115
|
-
animation-delay: 200ms;
|
|
116
|
-
}
|
|
117
|
-
`,g5=nr.forwardRef(function(t,r){let o=G({props:t,name:"MuiTouchRipple"}),{center:n=!1,classes:s={},className:i,...a}=o,[l,p]=nr.useState([]),c=nr.useRef(0),u=nr.useRef(null);nr.useEffect(()=>{u.current&&(u.current(),u.current=null)},[l]);let f=nr.useRef(!1),g=jo(),v=nr.useRef(null),x=nr.useRef(null),b=nr.useCallback(T=>{let{pulsate:S,rippleX:C,rippleY:w,rippleSize:E,cb:_}=T;p(y=>[...y,(0,uy.jsx)(h5,{classes:{ripple:L(s.ripple,Vo.ripple),rippleVisible:L(s.rippleVisible,Vo.rippleVisible),ripplePulsate:L(s.ripplePulsate,Vo.ripplePulsate),child:L(s.child,Vo.child),childLeaving:L(s.childLeaving,Vo.childLeaving),childPulsate:L(s.childPulsate,Vo.childPulsate)},timeout:Vx,pulsate:S,rippleX:C,rippleY:w,rippleSize:E},c.current)]),c.current+=1,u.current=_},[s]),m=nr.useCallback((T={},S={},C=()=>{})=>{let{pulsate:w=!1,center:E=n||S.pulsate,fakeElement:_=!1}=S;if(T?.type==="mousedown"&&f.current){f.current=!1;return}T?.type==="touchstart"&&(f.current=!0);let y=_?null:x.current,R=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0},I,D,W;if(E||T===void 0||T.clientX===0&&T.clientY===0||!T.clientX&&!T.touches)I=Math.round(R.width/2),D=Math.round(R.height/2);else{let{clientX:M,clientY:A}=T.touches&&T.touches.length>0?T.touches[0]:T;I=Math.round(M-R.left),D=Math.round(A-R.top)}if(E)W=Math.sqrt((2*R.width**2+R.height**2)/3),W%2===0&&(W+=1);else{let M=Math.max(Math.abs((y?y.clientWidth:0)-I),I)*2+2,A=Math.max(Math.abs((y?y.clientHeight:0)-D),D)*2+2;W=Math.sqrt(M**2+A**2)}T?.touches?v.current===null&&(v.current=()=>{b({pulsate:w,rippleX:I,rippleY:D,rippleSize:W,cb:C})},g.start(u5,()=>{v.current&&(v.current(),v.current=null)})):b({pulsate:w,rippleX:I,rippleY:D,rippleSize:W,cb:C})},[n,b,g]),h=nr.useCallback(()=>{m({},{pulsate:!0})},[m]),d=nr.useCallback((T,S)=>{if(g.clear(),T?.type==="touchend"&&v.current){v.current(),v.current=null,g.start(0,()=>{d(T,S)});return}v.current=null,p(C=>C.length>0?C.slice(1):C),u.current=S},[g]);return nr.useImperativeHandle(r,()=>({pulsate:h,start:m,stop:d}),[h,m,d]),(0,uy.jsx)(y5,{className:L(Vo.root,s.root,i),ref:x,...a,children:(0,uy.jsx)(Dx,{component:null,exit:!0,children:l})})}),PE=g5;function bE(e){return U("MuiButtonBase",e)}var v5=q("MuiButtonBase",["root","disabled","focusVisible"]),SE=v5;var fy=P(k()),T5=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:o,classes:n}=e,i=z({root:["root",t&&"disabled",r&&"focusVisible"]},bE,n);return r&&o&&(i.root+=` ${o}`),i},x5=O("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.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"},[`&.${SE.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),P5=Jn.forwardRef(function(t,r){let o=G({props:t,name:"MuiButtonBase"}),{action:n,centerRipple:s=!1,children:i,className:a,component:l="button",disabled:p=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:f=!1,focusVisibleClassName:g,LinkComponent:v="a",onBlur:x,onClick:b,onContextMenu:m,onDragLeave:h,onFocus:d,onFocusVisible:T,onKeyDown:S,onKeyUp:C,onMouseDown:w,onMouseLeave:E,onMouseUp:_,onTouchEnd:y,onTouchMove:R,onTouchStart:I,tabIndex:D=0,TouchRippleProps:W,touchRippleRef:M,type:A,...H}=o,re=Jn.useRef(null),V=py(),ge=it(V.ref,M),[me,Ee]=Jn.useState(!1);p&&me&&Ee(!1),Jn.useImperativeHandle(n,()=>({focusVisible:()=>{Ee(!0),re.current.focus()}}),[]);let Te=V.shouldMount&&!c&&!p;Jn.useEffect(()=>{me&&f&&!c&&V.pulsate()},[c,f,me,V]);let ue=Ls(V,"start",w,u),X=Ls(V,"stop",m,u),Q=Ls(V,"stop",h,u),Pe=Ls(V,"stop",_,u),ae=Ls(V,"stop",se=>{me&&se.preventDefault(),E&&E(se)},u),ve=Ls(V,"start",I,u),fe=Ls(V,"stop",y,u),xe=Ls(V,"stop",R,u),ie=Ls(V,"stop",se=>{En(se.target)||Ee(!1),x&&x(se)},!1),Be=_i(se=>{re.current||(re.current=se.currentTarget),En(se.target)&&(Ee(!0),T&&T(se)),d&&d(se)}),de=()=>{let se=re.current;return l&&l!=="button"&&!(se.tagName==="A"&&se.href)},be=_i(se=>{f&&!se.repeat&&me&&se.key===" "&&V.stop(se,()=>{V.start(se)}),se.target===se.currentTarget&&de()&&se.key===" "&&se.preventDefault(),S&&S(se),se.target===se.currentTarget&&de()&&se.key==="Enter"&&!p&&(se.preventDefault(),b&&b(se))}),at=_i(se=>{f&&se.key===" "&&me&&!se.defaultPrevented&&V.stop(se,()=>{V.pulsate(se)}),C&&C(se),b&&se.target===se.currentTarget&&de()&&se.key===" "&&!se.defaultPrevented&&b(se)}),ee=l;ee==="button"&&(H.href||H.to)&&(ee=v);let Oe={};ee==="button"?(Oe.type=A===void 0?"button":A,Oe.disabled=p):(!H.href&&!H.to&&(Oe.role="button"),p&&(Oe["aria-disabled"]=p));let Ce=it(r,re),Me={...o,centerRipple:s,component:l,disabled:p,disableRipple:c,disableTouchRipple:u,focusRipple:f,tabIndex:D,focusVisible:me},Fe=T5(Me);return(0,fy.jsxs)(x5,{as:ee,className:L(Fe.root,a),ownerState:Me,onBlur:ie,onClick:b,onContextMenu:X,onFocus:Be,onKeyDown:be,onKeyUp:at,onMouseDown:ue,onMouseLeave:ae,onMouseUp:Pe,onDragLeave:Q,onTouchEnd:fe,onTouchMove:xe,onTouchStart:ve,ref:Ce,tabIndex:p?-1:D,type:A,...Oe,...H,children:[i,Te?(0,fy.jsx)(PE,{ref:ge,center:s,...W}):null]})});function Ls(e,t,r,o=!1){return _i(n=>(r&&r(n),o||e[t](n),!0))}var vo=P5;var jE=P(N());function b5(e){return typeof e.main=="string"}function S5(e,t=[]){if(!b5(e))return!1;for(let r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Ve(e=[]){return([,t])=>t&&S5(t,e)}function CE(e){return U("MuiAlert",e)}var C5=q("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Bx=C5;var my=P(N());var EE=P(N());function wE(e){return U("MuiCircularProgress",e)}var vX=q("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var dy=P(k()),Oi=44,Ux=Kn`
|
|
118
|
-
0% {
|
|
119
|
-
transform: rotate(0deg);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
100% {
|
|
123
|
-
transform: rotate(360deg);
|
|
124
|
-
}
|
|
125
|
-
`,zx=Kn`
|
|
126
|
-
0% {
|
|
127
|
-
stroke-dasharray: 1px, 200px;
|
|
128
|
-
stroke-dashoffset: 0;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
50% {
|
|
132
|
-
stroke-dasharray: 100px, 200px;
|
|
133
|
-
stroke-dashoffset: -15px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
100% {
|
|
137
|
-
stroke-dasharray: 1px, 200px;
|
|
138
|
-
stroke-dashoffset: -126px;
|
|
139
|
-
}
|
|
140
|
-
`,w5=typeof Ux!="string"?Pa`
|
|
141
|
-
animation: ${Ux} 1.4s linear infinite;
|
|
142
|
-
`:null,E5=typeof zx!="string"?Pa`
|
|
143
|
-
animation: ${zx} 1.4s ease-in-out infinite;
|
|
144
|
-
`:null,R5=e=>{let{classes:t,variant:r,color:o,disableShrink:n}=e,s={root:["root",r,`color${F(o)}`],svg:["svg"],circle:["circle",`circle${F(r)}`,n&&"circleDisableShrink"]};return z(s,wE,t)},_5=O("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`color${F(r.color)}`]]}})(Y(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:w5||{animation:`${Ux} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),O5=O("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),I5=O("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.circle,t[`circle${F(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(Y(({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:E5||{animation:`${zx} 1.4s ease-in-out infinite`}}]}))),k5=EE.forwardRef(function(t,r){let o=G({props:t,name:"MuiCircularProgress"}),{className:n,color:s="primary",disableShrink:i=!1,size:a=40,style:l,thickness:p=3.6,value:c=0,variant:u="indeterminate",...f}=o,g={...o,color:s,disableShrink:i,size:a,thickness:p,value:c,variant:u},v=R5(g),x={},b={},m={};if(u==="determinate"){let h=2*Math.PI*((Oi-p)/2);x.strokeDasharray=h.toFixed(3),m["aria-valuenow"]=Math.round(c),x.strokeDashoffset=`${((100-c)/100*h).toFixed(3)}px`,b.transform="rotate(-90deg)"}return(0,dy.jsx)(_5,{className:L(v.root,n),style:{width:a,height:a,...b,...l},ownerState:g,ref:r,role:"progressbar",...m,...f,children:(0,dy.jsx)(O5,{className:v.svg,ownerState:g,viewBox:`${Oi/2} ${Oi/2} ${Oi} ${Oi}`,children:(0,dy.jsx)(I5,{className:v.circle,style:x,ownerState:g,cx:Oi,cy:Oi,r:(Oi-p)/2,fill:"none",strokeWidth:p})})})}),Ii=k5;function RE(e){return U("MuiIconButton",e)}var N5=q("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Wx=N5;var wp=P(k()),A5=e=>{let{classes:t,disabled:r,color:o,edge:n,size:s,loading:i}=e,a={root:["root",i&&"loading",r&&"disabled",o!=="default"&&`color${F(o)}`,n&&`edge${F(n)}`,`size${F(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return z(a,RE,t)},M5=O(vo,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${F(r.color)}`],r.edge&&t[`edge${F(r.edge)}`],t[`size${F(r.size)}`]]}})(Y(({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.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette.action.active,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}}]})),Y(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ye((e.vars||e).palette[t].main,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)}}],[`&.${Wx.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Wx.loading}`]:{color:"transparent"}}))),L5=O("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.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"}}]})),D5=my.forwardRef(function(t,r){let o=G({props:t,name:"MuiIconButton"}),{edge:n=!1,children:s,className:i,color:a="default",disabled:l=!1,disableFocusRipple:p=!1,size:c="medium",id:u,loading:f=null,loadingIndicator:g,...v}=o,x=Aa(u),b=g??(0,wp.jsx)(Ii,{"aria-labelledby":x,color:"inherit",size:16}),m={...o,edge:n,color:a,disabled:l,disableFocusRipple:p,loading:f,loadingIndicator:b,size:c},h=A5(m);return(0,wp.jsxs)(M5,{id:f?x:u,className:L(h.root,i),centerRipple:!0,focusRipple:!p,disabled:l||f,ref:r,...v,ownerState:m,children:[typeof f=="boolean"&&(0,wp.jsx)("span",{className:h.loadingWrapper,style:{display:"contents"},children:(0,wp.jsx)(L5,{className:h.loadingIndicator,ownerState:m,children:f&&b})}),s]})}),We=D5;var XX=P(N());var _E=P(k()),OE=J((0,_E.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"}),"SuccessOutlined");var eJ=P(N());var IE=P(k()),kE=J((0,IE.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined");var oJ=P(N());var NE=P(k()),AE=J((0,NE.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"}),"ErrorOutline");var iJ=P(N());var ME=P(k()),LE=J((0,ME.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"}),"InfoOutlined");var pJ=P(N());var DE=P(k()),yy=J((0,DE.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"}),"Close");var Bo=P(k()),F5=e=>{let{variant:t,color:r,severity:o,classes:n}=e,s={root:["root",`color${F(r||o)}`,`${t}${F(r||o)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return z(s,CE,n)},j5=O($o,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${F(r.color||r.severity)}`]]}})(Y(({theme:e})=>{let t=e.palette.mode==="light"?_s:Os,r=e.palette.mode==="light"?Os:_s;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Ve(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:t(e.palette[o].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${o}StandardBg`]:r(e.palette[o].light,.9),[`& .${Bx.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(Ve(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:t(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${Bx.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(Ve(["dark"])).map(([o])=>({props:{colorSeverity:o,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${o}FilledColor`],backgroundColor:e.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[o].dark:e.palette[o].main,color:e.palette.getContrastText(e.palette[o].main)}}}))]}})),$5=O("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),V5=O("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),B5=O("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),FE={success:(0,Bo.jsx)(OE,{fontSize:"inherit"}),warning:(0,Bo.jsx)(kE,{fontSize:"inherit"}),error:(0,Bo.jsx)(AE,{fontSize:"inherit"}),info:(0,Bo.jsx)(LE,{fontSize:"inherit"})},U5=jE.forwardRef(function(t,r){let o=G({props:t,name:"MuiAlert"}),{action:n,children:s,className:i,closeText:a="Close",color:l,components:p={},componentsProps:c={},icon:u,iconMapping:f=FE,onClose:g,role:v="alert",severity:x="success",slotProps:b={},slots:m={},variant:h="standard",...d}=o,T={...o,color:l,severity:x,variant:h,colorSeverity:l||x},S=F5(T),C={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...m},slotProps:{...c,...b}},[w,E]=le("root",{ref:r,shouldForwardComponentProp:!0,className:L(S.root,i),elementType:j5,externalForwardedProps:{...C,...d},ownerState:T,additionalProps:{role:v,elevation:0}}),[_,y]=le("icon",{className:S.icon,elementType:$5,externalForwardedProps:C,ownerState:T}),[R,I]=le("message",{className:S.message,elementType:V5,externalForwardedProps:C,ownerState:T}),[D,W]=le("action",{className:S.action,elementType:B5,externalForwardedProps:C,ownerState:T}),[M,A]=le("closeButton",{elementType:We,externalForwardedProps:C,ownerState:T}),[H,re]=le("closeIcon",{elementType:yy,externalForwardedProps:C,ownerState:T});return(0,Bo.jsxs)(w,{...E,children:[u!==!1?(0,Bo.jsx)(_,{...y,children:u||f[x]||FE[x]}):null,(0,Bo.jsx)(R,{...I,children:s}),n!=null?(0,Bo.jsx)(D,{...W,children:n}):null,n==null&&g?(0,Bo.jsx)(D,{...W,children:(0,Bo.jsx)(M,{size:"small","aria-label":a,title:a,color:"inherit",onClick:g,...A,children:(0,Bo.jsx)(H,{fontSize:"small",...re})})}):null]})}),Rn=U5;var BE=P(N());function $E(e){return U("MuiTypography",e)}var z5=q("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),hy=z5;var UE=P(k()),W5={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},H5=iE(),G5=e=>{let{align:t,gutterBottom:r,noWrap:o,paragraph:n,variant:s,classes:i}=e,a={root:["root",s,e.align!=="inherit"&&`align${F(t)}`,r&&"gutterBottom",o&&"noWrap",n&&"paragraph"]};return z(a,$E,i)},q5=O("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${F(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(Y(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,r])=>t!=="inherit"&&r&&typeof r=="object").map(([t,r])=>({props:{variant:t},style:r})),...Object.entries(e.palette).filter(Ve()).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${F(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}}]}))),VE={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},K5=BE.forwardRef(function(t,r){let{color:o,...n}=G({props:t,name:"MuiTypography"}),s=!W5[o],i=H5({...n,...s&&{color:o}}),{align:a="inherit",className:l,component:p,gutterBottom:c=!1,noWrap:u=!1,paragraph:f=!1,variant:g="body1",variantMapping:v=VE,...x}=i,b={...i,align:a,color:o,className:l,component:p,gutterBottom:c,noWrap:u,paragraph:f,variant:g,variantMapping:v},m=p||(f?"p":v[g]||VE[g])||"span",h=G5(b);return(0,UE.jsx)(q5,{as:m,ref:r,className:L(h.root,l),...x,ownerState:b,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...x.style}})}),zr=K5;var Ry=P(N());var Kt=P(N());function zE(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function gy(e={}){let{ignoreAccents:t=!0,ignoreCase:r=!0,limit:o,matchFrom:n="any",stringify:s,trim:i=!1}=e;return(a,{inputValue:l,getOptionLabel:p})=>{let c=i?l.trim():l;r&&(c=c.toLowerCase()),t&&(c=zE(c));let u=c?a.filter(f=>{let g=(s||p)(f);return r&&(g=g.toLowerCase()),t&&(g=zE(g)),n==="start"?g.startsWith(c):g.includes(c)}):a;return typeof o=="number"?u.slice(0,o):u}}var Y5=gy(),WE=5,Q5=e=>e.current!==null&&e.current.parentElement?.contains(document.activeElement),X5=[];function HE(e,t,r){if(t||e==null)return"";let o=r(e);return typeof o=="string"?o:""}function J5(e){let{unstable_isActiveElementInListbox:t=Q5,unstable_classNamePrefix:r="Mui",autoComplete:o=!1,autoHighlight:n=!1,autoSelect:s=!1,blurOnSelect:i=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:l=!1,componentName:p="useAutocomplete",defaultValue:c=e.multiple?X5:null,disableClearable:u=!1,disableCloseOnSelect:f=!1,disabled:g,disabledItemsFocusable:v=!1,disableListWrap:x=!1,filterOptions:b=Y5,filterSelectedOptions:m=!1,freeSolo:h=!1,getOptionDisabled:d,getOptionKey:T,getOptionLabel:S=B=>B.label??B,groupBy:C,handleHomeEndKeys:w=!e.freeSolo,id:E,includeInputInList:_=!1,inputValue:y,isOptionEqualToValue:R=(B,$)=>B===$,multiple:I=!1,onChange:D,onClose:W,onHighlightChange:M,onInputChange:A,onOpen:H,open:re,openOnFocus:V=!1,options:ge,readOnly:me=!1,selectOnFocus:Ee=!e.freeSolo,value:Te}=e,ue=Fo(E),X=S;X=B=>{let $=S(B);return typeof $!="string"?String($):$};let Q=Kt.useRef(!1),Pe=Kt.useRef(!0),ae=Kt.useRef(null),ve=Kt.useRef(null),[fe,xe]=Kt.useState(null),[ie,Be]=Kt.useState(-1),de=n?0:-1,be=Kt.useRef(de),at=Kt.useRef(HE(c??Te,I,X)).current,[ee,Oe]=Is({controlled:Te,default:c,name:p}),[Ce,Me]=Is({controlled:y,default:at,name:p,state:"inputValue"}),[Fe,se]=Kt.useState(!1),vt=Kt.useCallback((B,$,Z)=>{if(!(I?ee.length<$.length:$!==null)&&!a)return;let Le=HE($,I,X);Ce!==Le&&(Me(Le),A&&A(B,Le,Z))},[X,Ce,I,A,Me,a,ee]),[Re,He]=Is({controlled:re,default:!1,name:p,state:"open"}),[lt,et]=Kt.useState(!0),pt=!I&&ee!=null&&Ce===X(ee),Xe=Re&&!me,Ue=Xe?b(ge.filter(B=>!(m&&(I?ee:[ee]).some($=>$!==null&&R(B,$)))),{inputValue:pt&<?"":Ce,getOptionLabel:X}):[],Se=jm({filteredOptions:Ue,value:ee,inputValue:Ce});Kt.useEffect(()=>{let B=ee!==Se.value;Fe&&!B||h&&!B||vt(null,ee,"reset")},[ee,vt,Fe,Se.value,h]);let Tr=Re&&Ue.length>0&&!me,Nt=go(B=>{B===-1?ae.current.focus():fe.querySelector(`[data-tag-index="${B}"]`).focus()});Kt.useEffect(()=>{I&&ie>ee.length-1&&(Be(-1),Nt(-1))},[ee,I,ie,Nt]);function Ho(B,$){if(!ve.current||B<0||B>=Ue.length)return-1;let Z=B;for(;;){let Ie=ve.current.querySelector(`[data-option-index="${Z}"]`),Le=v?!1:!Ie||Ie.disabled||Ie.getAttribute("aria-disabled")==="true";if(Ie&&Ie.hasAttribute("tabindex")&&!Le)return Z;if($==="next"?Z=(Z+1)%Ue.length:Z=(Z-1+Ue.length)%Ue.length,Z===B)return-1}}let ce=go(({event:B,index:$,reason:Z})=>{if(be.current=$,$===-1?ae.current.removeAttribute("aria-activedescendant"):ae.current.setAttribute("aria-activedescendant",`${ue}-option-${$}`),M&&["mouse","keyboard","touch"].includes(Z)&&M(B,$===-1?null:Ue[$],Z),!ve.current)return;let Ie=ve.current.querySelector(`[role="option"].${r}-focused`);Ie&&(Ie.classList.remove(`${r}-focused`),Ie.classList.remove(`${r}-focusVisible`));let Le=ve.current;if(ve.current.getAttribute("role")!=="listbox"&&(Le=ve.current.parentElement.querySelector('[role="listbox"]')),!Le)return;if($===-1){Le.scrollTop=0;return}let Je=ve.current.querySelector(`[data-option-index="${$}"]`);if(Je&&(Je.classList.add(`${r}-focused`),Z==="keyboard"&&Je.classList.add(`${r}-focusVisible`),Le.scrollHeight>Le.clientHeight&&Z!=="mouse"&&Z!=="touch")){let Wt=Je,Eo=Le.clientHeight+Le.scrollTop,wf=Wt.offsetTop+Wt.offsetHeight;wf>Eo?Le.scrollTop=wf-Le.clientHeight:Wt.offsetTop-Wt.offsetHeight*(C?1.3:0)<Le.scrollTop&&(Le.scrollTop=Wt.offsetTop-Wt.offsetHeight*(C?1.3:0))}}),_e=go(({event:B,diff:$,direction:Z="next",reason:Ie})=>{if(!Xe)return;let Je=Ho((()=>{let Wt=Ue.length-1;if($==="reset")return de;if($==="start")return 0;if($==="end")return Wt;let Eo=be.current+$;return Eo<0?Eo===-1&&_?-1:x&&be.current!==-1||Math.abs($)>1?0:Wt:Eo>Wt?Eo===Wt+1&&_?-1:x||Math.abs($)>1?Wt:0:Eo})(),Z);if(ce({index:Je,reason:Ie,event:B}),o&&$!=="reset")if(Je===-1)ae.current.value=Ce;else{let Wt=X(Ue[Je]);ae.current.value=Wt,Wt.toLowerCase().indexOf(Ce.toLowerCase())===0&&Ce.length>0&&ae.current.setSelectionRange(Ce.length,Wt.length)}}),Ct=()=>{let B=($,Z)=>{let Ie=$?X($):"",Le=Z?X(Z):"";return Ie===Le};if(be.current!==-1&&Se.filteredOptions&&Se.filteredOptions.length!==Ue.length&&Se.inputValue===Ce&&(I?ee.length===Se.value.length&&Se.value.every(($,Z)=>X(ee[Z])===X($)):B(Se.value,ee))){let $=Se.filteredOptions[be.current];if($)return Ue.findIndex(Z=>X(Z)===X($))}return-1},xr=Kt.useCallback(()=>{if(!Xe)return;let B=Ct();if(B!==-1){be.current=B;return}let $=I?ee[0]:ee;if(Ue.length===0||$==null){_e({diff:"reset"});return}if(ve.current){if($!=null){let Z=Ue[be.current];if(I&&Z&&ee.findIndex(Le=>R(Z,Le))!==-1)return;let Ie=Ue.findIndex(Le=>R(Le,$));Ie===-1?_e({diff:"reset"}):ce({index:Ie});return}if(be.current>=Ue.length-1){ce({index:Ue.length-1});return}ce({index:be.current})}},[Ue.length,I?!1:ee,m,_e,ce,Xe,Ce,I]),Qs=go(B=>{wi(ve,B),B&&xr()});Kt.useEffect(()=>{xr()},[xr]);let wo=B=>{Re||(He(!0),et(!0),H&&H(B))},ds=(B,$)=>{Re&&(He(!1),W&&W(B,$))},Fn=(B,$,Z,Ie)=>{if(I){if(ee.length===$.length&&ee.every((Le,Je)=>Le===$[Je]))return}else if(ee===$)return;D&&D(B,$,Z,Ie),Oe($)},Xs=Kt.useRef(!1),Go=(B,$,Z="selectOption",Ie="options")=>{let Le=Z,Je=$;if(I){Je=Array.isArray(ee)?ee.slice():[];let Wt=Je.findIndex(Eo=>R($,Eo));Wt===-1?Je.push($):Ie!=="freeSolo"&&(Je.splice(Wt,1),Le="removeOption")}vt(B,Je,Le),Fn(B,Je,Le,{option:$}),!f&&(!B||!B.ctrlKey&&!B.metaKey)&&ds(B,Le),(i===!0||i==="touch"&&Xs.current||i==="mouse"&&!Xs.current)&&ae.current.blur()};function al(B,$){if(B===-1)return-1;let Z=B;for(;;){if($==="next"&&Z===ee.length||$==="previous"&&Z===-1)return-1;let Ie=fe.querySelector(`[data-tag-index="${Z}"]`);if(!Ie||!Ie.hasAttribute("tabindex")||Ie.disabled||Ie.getAttribute("aria-disabled")==="true")Z+=$==="next"?1:-1;else return Z}}let ll=(B,$)=>{if(!I)return;Ce===""&&ds(B,"toggleInput");let Z=ie;ie===-1?Ce===""&&$==="previous"&&(Z=ee.length-1):(Z+=$==="next"?1:-1,Z<0&&(Z=0),Z===ee.length&&(Z=-1)),Z=al(Z,$),Be(Z),Nt(Z)},we=B=>{Q.current=!0,Me(""),A&&A(B,"","clear"),Fn(B,I?[]:null,"clear")},qo=B=>$=>{if(B.onKeyDown&&B.onKeyDown($),!$.defaultMuiPrevented&&(ie!==-1&&!["ArrowLeft","ArrowRight"].includes($.key)&&(Be(-1),Nt(-1)),$.which!==229))switch($.key){case"Home":Xe&&w&&($.preventDefault(),_e({diff:"start",direction:"next",reason:"keyboard",event:$}));break;case"End":Xe&&w&&($.preventDefault(),_e({diff:"end",direction:"previous",reason:"keyboard",event:$}));break;case"PageUp":$.preventDefault(),_e({diff:-WE,direction:"previous",reason:"keyboard",event:$}),wo($);break;case"PageDown":$.preventDefault(),_e({diff:WE,direction:"next",reason:"keyboard",event:$}),wo($);break;case"ArrowDown":$.preventDefault(),_e({diff:1,direction:"next",reason:"keyboard",event:$}),wo($);break;case"ArrowUp":$.preventDefault(),_e({diff:-1,direction:"previous",reason:"keyboard",event:$}),wo($);break;case"ArrowLeft":ll($,"previous");break;case"ArrowRight":ll($,"next");break;case"Enter":if(be.current!==-1&&Xe){let Z=Ue[be.current],Ie=d?d(Z):!1;if($.preventDefault(),Ie)return;Go($,Z,"selectOption"),o&&ae.current.setSelectionRange(ae.current.value.length,ae.current.value.length)}else h&&Ce!==""&&pt===!1&&(I&&$.preventDefault(),Go($,Ce,"createOption","freeSolo"));break;case"Escape":Xe?($.preventDefault(),$.stopPropagation(),ds($,"escape")):l&&(Ce!==""||I&&ee.length>0)&&($.preventDefault(),$.stopPropagation(),we($));break;case"Backspace":if(I&&!me&&Ce===""&&ee.length>0){let Z=ie===-1?ee.length-1:ie,Ie=ee.slice();Ie.splice(Z,1),Fn($,Ie,"removeOption",{option:ee[Z]})}break;case"Delete":if(I&&!me&&Ce===""&&ee.length>0&&ie!==-1){let Z=ie,Ie=ee.slice();Ie.splice(Z,1),Fn($,Ie,"removeOption",{option:ee[Z]})}break;default:}},ig=B=>{se(!0),V&&!Q.current&&wo(B)},Xi=B=>{if(t(ve)){ae.current.focus();return}se(!1),Pe.current=!0,Q.current=!1,s&&be.current!==-1&&Xe?Go(B,Ue[be.current],"blur"):s&&h&&Ce!==""?Go(B,Ce,"blur","freeSolo"):a&&vt(B,ee,"blur"),ds(B,"blur")},ic=B=>{let $=B.target.value;Ce!==$&&(Me($),et(!1),A&&A(B,$,"input")),$===""?!u&&!I&&Fn(B,null,"clear"):wo(B)},ac=B=>{let $=Number(B.currentTarget.getAttribute("data-option-index"));be.current!==$&&ce({event:B,index:$,reason:"mouse"})},ag=B=>{ce({event:B,index:Number(B.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Xs.current=!0},lg=B=>{let $=Number(B.currentTarget.getAttribute("data-option-index"));Go(B,Ue[$],"selectOption"),Xs.current=!1},pg=B=>$=>{let Z=ee.slice();Z.splice(B,1),Fn($,Z,"removeOption",{option:ee[B]})},cg=B=>{Re?ds(B,"toggleInput"):wo(B)},lc=B=>{B.currentTarget.contains(B.target)&&B.target.getAttribute("id")!==ue&&B.preventDefault()},Fr=B=>{B.currentTarget.contains(B.target)&&(ae.current.focus(),Ee&&Pe.current&&ae.current.selectionEnd-ae.current.selectionStart===0&&ae.current.select(),Pe.current=!1)},lr=B=>{!g&&(Ce===""||!Re)&&cg(B)},jn=h&&Ce.length>0;jn=jn||(I?ee.length>0:ee!==null);let Cf=Ue;if(C){let B=new Map,$=!1;Cf=Ue.reduce((Z,Ie,Le)=>{let Je=C(Ie);return Z.length>0&&Z[Z.length-1].group===Je?Z[Z.length-1].options.push(Ie):Z.push({key:Le,index:Le,group:Je,options:[Ie]}),Z},[])}return g&&Fe&&Xi(),{getRootProps:(B={})=>({...B,onKeyDown:qo(B),onMouseDown:lc,onClick:Fr}),getInputLabelProps:()=>({id:`${ue}-label`,htmlFor:ue}),getInputProps:()=>({id:ue,value:Ce,onBlur:Xi,onFocus:ig,onChange:ic,onMouseDown:lr,"aria-activedescendant":Xe?"":null,"aria-autocomplete":o?"both":"list","aria-controls":Tr?`${ue}-listbox`:void 0,"aria-expanded":Tr,autoComplete:"off",ref:ae,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:g}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:we}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:cg}),getTagProps:({index:B})=>({key:B,"data-tag-index":B,tabIndex:-1,...!me&&{onDelete:pg(B)}}),getListboxProps:()=>({role:"listbox",id:`${ue}-listbox`,"aria-labelledby":`${ue}-label`,ref:Qs,onMouseDown:B=>{B.preventDefault()}}),getOptionProps:({index:B,option:$})=>{let Z=(I?ee:[ee]).some(Le=>Le!=null&&R($,Le)),Ie=d?d($):!1;return{key:T?.($)??X($),tabIndex:-1,role:"option",id:`${ue}-option-${B}`,onMouseMove:ac,onClick:lg,onTouchStart:ag,"data-option-index":B,"aria-disabled":Ie,"aria-selected":Z}},id:ue,inputValue:Ce,value:ee,dirty:jn,expanded:Xe&&fe,popupOpen:Xe,focused:Fe||ie!==-1,anchorEl:fe,setAnchorEl:xe,focusedTag:ie,groupedOptions:Cf}}var Hx=J5;var hR=P(N());var Wr=P(N());var Mt="top",sr="bottom",Yt="right",Vt="left",vy="auto",ki=[Mt,sr,Yt,Vt],Ds="start",$a="end",GE="clippingParents",Ty="viewport",Ep="popper",qE="reference",Gx=ki.reduce(function(e,t){return e.concat([t+"-"+Ds,t+"-"+$a])},[]),xy=[].concat(ki,[vy]).reduce(function(e,t){return e.concat([t,t+"-"+Ds,t+"-"+$a])},[]),Z5="beforeRead",e4="read",t4="afterRead",r4="beforeMain",o4="main",n4="afterMain",s4="beforeWrite",i4="write",a4="afterWrite",KE=[Z5,e4,t4,r4,o4,n4,s4,i4,a4];function mr(e){return e?(e.nodeName||"").toLowerCase():null}function Pt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ln(e){var t=Pt(e).Element;return e instanceof t||e instanceof Element}function ir(e){var t=Pt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Rp(e){if(typeof ShadowRoot>"u")return!1;var t=Pt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function l4(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},n=t.attributes[r]||{},s=t.elements[r];!ir(s)||!mr(s)||(Object.assign(s.style,o),Object.keys(n).forEach(function(i){var a=n[i];a===!1?s.removeAttribute(i):s.setAttribute(i,a===!0?"":a)}))})}function p4(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var n=t.elements[o],s=t.attributes[o]||{},i=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),a=i.reduce(function(l,p){return l[p]="",l},{});!ir(n)||!mr(n)||(Object.assign(n.style,a),Object.keys(s).forEach(function(l){n.removeAttribute(l)}))})}}var YE={name:"applyStyles",enabled:!0,phase:"write",fn:l4,effect:p4,requires:["computeStyles"]};function yr(e){return e.split("-")[0]}var _n=Math.max,Va=Math.min,Fs=Math.round;function _p(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Vu(){return!/^((?!chrome|android).)*safari/i.test(_p())}function pn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),n=1,s=1;t&&ir(e)&&(n=e.offsetWidth>0&&Fs(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Fs(o.height)/e.offsetHeight||1);var i=ln(e)?Pt(e):window,a=i.visualViewport,l=!Vu()&&r,p=(o.left+(l&&a?a.offsetLeft:0))/n,c=(o.top+(l&&a?a.offsetTop:0))/s,u=o.width/n,f=o.height/s;return{width:u,height:f,top:c,right:p+u,bottom:c+f,left:p,x:p,y:c}}function Ba(e){var t=pn(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function Bu(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Rp(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function so(e){return Pt(e).getComputedStyle(e)}function qx(e){return["table","td","th"].indexOf(mr(e))>=0}function _r(e){return((ln(e)?e.ownerDocument:e.document)||window.document).documentElement}function js(e){return mr(e)==="html"?e:e.assignedSlot||e.parentNode||(Rp(e)?e.host:null)||_r(e)}function QE(e){return!ir(e)||so(e).position==="fixed"?null:e.offsetParent}function c4(e){var t=/firefox/i.test(_p()),r=/Trident/i.test(_p());if(r&&ir(e)){var o=so(e);if(o.position==="fixed")return null}var n=js(e);for(Rp(n)&&(n=n.host);ir(n)&&["html","body"].indexOf(mr(n))<0;){var s=so(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function On(e){for(var t=Pt(e),r=QE(e);r&&qx(r)&&so(r).position==="static";)r=QE(r);return r&&(mr(r)==="html"||mr(r)==="body"&&so(r).position==="static")?t:r||c4(e)||t}function Ua(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function za(e,t,r){return _n(e,Va(t,r))}function XE(e,t,r){var o=za(e,t,r);return o>r?r:o}function Uu(){return{top:0,right:0,bottom:0,left:0}}function zu(e){return Object.assign({},Uu(),e)}function Wu(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var u4=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,zu(typeof t!="number"?t:Wu(t,ki))};function f4(e){var t,r=e.state,o=e.name,n=e.options,s=r.elements.arrow,i=r.modifiersData.popperOffsets,a=yr(r.placement),l=Ua(a),p=[Vt,Yt].indexOf(a)>=0,c=p?"height":"width";if(!(!s||!i)){var u=u4(n.padding,r),f=Ba(s),g=l==="y"?Mt:Vt,v=l==="y"?sr:Yt,x=r.rects.reference[c]+r.rects.reference[l]-i[l]-r.rects.popper[c],b=i[l]-r.rects.reference[l],m=On(s),h=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,d=x/2-b/2,T=u[g],S=h-f[c]-u[v],C=h/2-f[c]/2+d,w=za(T,C,S),E=l;r.modifiersData[o]=(t={},t[E]=w,t.centerOffset=w-C,t)}}function d4(e){var t=e.state,r=e.options,o=r.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||Bu(t.elements.popper,n)&&(t.elements.arrow=n))}var JE={name:"arrow",enabled:!0,phase:"main",fn:f4,effect:d4,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function cn(e){return e.split("-")[1]}var m4={top:"auto",right:"auto",bottom:"auto",left:"auto"};function y4(e,t){var r=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:Fs(r*n)/n||0,y:Fs(o*n)/n||0}}function ZE(e){var t,r=e.popper,o=e.popperRect,n=e.placement,s=e.variation,i=e.offsets,a=e.position,l=e.gpuAcceleration,p=e.adaptive,c=e.roundOffsets,u=e.isFixed,f=i.x,g=f===void 0?0:f,v=i.y,x=v===void 0?0:v,b=typeof c=="function"?c({x:g,y:x}):{x:g,y:x};g=b.x,x=b.y;var m=i.hasOwnProperty("x"),h=i.hasOwnProperty("y"),d=Vt,T=Mt,S=window;if(p){var C=On(r),w="clientHeight",E="clientWidth";if(C===Pt(r)&&(C=_r(r),so(C).position!=="static"&&a==="absolute"&&(w="scrollHeight",E="scrollWidth")),C=C,n===Mt||(n===Vt||n===Yt)&&s===$a){T=sr;var _=u&&C===S&&S.visualViewport?S.visualViewport.height:C[w];x-=_-o.height,x*=l?1:-1}if(n===Vt||(n===Mt||n===sr)&&s===$a){d=Yt;var y=u&&C===S&&S.visualViewport?S.visualViewport.width:C[E];g-=y-o.width,g*=l?1:-1}}var R=Object.assign({position:a},p&&m4),I=c===!0?y4({x:g,y:x},Pt(r)):{x:g,y:x};if(g=I.x,x=I.y,l){var D;return Object.assign({},R,(D={},D[T]=h?"0":"",D[d]=m?"0":"",D.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+x+"px)":"translate3d("+g+"px, "+x+"px, 0)",D))}return Object.assign({},R,(t={},t[T]=h?x+"px":"",t[d]=m?g+"px":"",t.transform="",t))}function h4(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=o===void 0?!0:o,s=r.adaptive,i=s===void 0?!0:s,a=r.roundOffsets,l=a===void 0?!0:a,p={placement:yr(t.placement),variation:cn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ZE(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ZE(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var eR={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:h4,data:{}};var Py={passive:!0};function g4(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,s=n===void 0?!0:n,i=o.resize,a=i===void 0?!0:i,l=Pt(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&p.forEach(function(c){c.addEventListener("scroll",r.update,Py)}),a&&l.addEventListener("resize",r.update,Py),function(){s&&p.forEach(function(c){c.removeEventListener("scroll",r.update,Py)}),a&&l.removeEventListener("resize",r.update,Py)}}var tR={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:g4,data:{}};var v4={left:"right",right:"left",bottom:"top",top:"bottom"};function Op(e){return e.replace(/left|right|bottom|top/g,function(t){return v4[t]})}var T4={start:"end",end:"start"};function by(e){return e.replace(/start|end/g,function(t){return T4[t]})}function Wa(e){var t=Pt(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function Ha(e){return pn(_r(e)).left+Wa(e).scrollLeft}function Kx(e,t){var r=Pt(e),o=_r(e),n=r.visualViewport,s=o.clientWidth,i=o.clientHeight,a=0,l=0;if(n){s=n.width,i=n.height;var p=Vu();(p||!p&&t==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:s,height:i,x:a+Ha(e),y:l}}function Yx(e){var t,r=_r(e),o=Wa(e),n=(t=e.ownerDocument)==null?void 0:t.body,s=_n(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),i=_n(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-o.scrollLeft+Ha(e),l=-o.scrollTop;return so(n||r).direction==="rtl"&&(a+=_n(r.clientWidth,n?n.clientWidth:0)-s),{width:s,height:i,x:a,y:l}}function Ga(e){var t=so(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function Sy(e){return["html","body","#document"].indexOf(mr(e))>=0?e.ownerDocument.body:ir(e)&&Ga(e)?e:Sy(js(e))}function Ni(e,t){var r;t===void 0&&(t=[]);var o=Sy(e),n=o===((r=e.ownerDocument)==null?void 0:r.body),s=Pt(o),i=n?[s].concat(s.visualViewport||[],Ga(o)?o:[]):o,a=t.concat(i);return n?a:a.concat(Ni(js(i)))}function Ip(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function x4(e,t){var r=pn(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function rR(e,t,r){return t===Ty?Ip(Kx(e,r)):ln(t)?x4(t,r):Ip(Yx(_r(e)))}function P4(e){var t=Ni(js(e)),r=["absolute","fixed"].indexOf(so(e).position)>=0,o=r&&ir(e)?On(e):e;return ln(o)?t.filter(function(n){return ln(n)&&Bu(n,o)&&mr(n)!=="body"}):[]}function Qx(e,t,r,o){var n=t==="clippingParents"?P4(e):[].concat(t),s=[].concat(n,[r]),i=s[0],a=s.reduce(function(l,p){var c=rR(e,p,o);return l.top=_n(c.top,l.top),l.right=Va(c.right,l.right),l.bottom=Va(c.bottom,l.bottom),l.left=_n(c.left,l.left),l},rR(e,i,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Hu(e){var t=e.reference,r=e.element,o=e.placement,n=o?yr(o):null,s=o?cn(o):null,i=t.x+t.width/2-r.width/2,a=t.y+t.height/2-r.height/2,l;switch(n){case Mt:l={x:i,y:t.y-r.height};break;case sr:l={x:i,y:t.y+t.height};break;case Yt:l={x:t.x+t.width,y:a};break;case Vt:l={x:t.x-r.width,y:a};break;default:l={x:t.x,y:t.y}}var p=n?Ua(n):null;if(p!=null){var c=p==="y"?"height":"width";switch(s){case Ds:l[p]=l[p]-(t[c]/2-r[c]/2);break;case $a:l[p]=l[p]+(t[c]/2-r[c]/2);break;default:}}return l}function In(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=o===void 0?e.placement:o,s=r.strategy,i=s===void 0?e.strategy:s,a=r.boundary,l=a===void 0?GE:a,p=r.rootBoundary,c=p===void 0?Ty:p,u=r.elementContext,f=u===void 0?Ep:u,g=r.altBoundary,v=g===void 0?!1:g,x=r.padding,b=x===void 0?0:x,m=zu(typeof b!="number"?b:Wu(b,ki)),h=f===Ep?qE:Ep,d=e.rects.popper,T=e.elements[v?h:f],S=Qx(ln(T)?T:T.contextElement||_r(e.elements.popper),l,c,i),C=pn(e.elements.reference),w=Hu({reference:C,element:d,strategy:"absolute",placement:n}),E=Ip(Object.assign({},d,w)),_=f===Ep?E:C,y={top:S.top-_.top+m.top,bottom:_.bottom-S.bottom+m.bottom,left:S.left-_.left+m.left,right:_.right-S.right+m.right},R=e.modifiersData.offset;if(f===Ep&&R){var I=R[n];Object.keys(y).forEach(function(D){var W=[Yt,sr].indexOf(D)>=0?1:-1,M=[Mt,sr].indexOf(D)>=0?"y":"x";y[D]+=I[M]*W})}return y}function Xx(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=r.boundary,s=r.rootBoundary,i=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,p=l===void 0?xy:l,c=cn(o),u=c?a?Gx:Gx.filter(function(v){return cn(v)===c}):ki,f=u.filter(function(v){return p.indexOf(v)>=0});f.length===0&&(f=u);var g=f.reduce(function(v,x){return v[x]=In(e,{placement:x,boundary:n,rootBoundary:s,padding:i})[yr(x)],v},{});return Object.keys(g).sort(function(v,x){return g[v]-g[x]})}function b4(e){if(yr(e)===vy)return[];var t=Op(e);return[by(e),t,by(t)]}function S4(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,s=n===void 0?!0:n,i=r.altAxis,a=i===void 0?!0:i,l=r.fallbackPlacements,p=r.padding,c=r.boundary,u=r.rootBoundary,f=r.altBoundary,g=r.flipVariations,v=g===void 0?!0:g,x=r.allowedAutoPlacements,b=t.options.placement,m=yr(b),h=m===b,d=l||(h||!v?[Op(b)]:b4(b)),T=[b].concat(d).reduce(function(ue,X){return ue.concat(yr(X)===vy?Xx(t,{placement:X,boundary:c,rootBoundary:u,padding:p,flipVariations:v,allowedAutoPlacements:x}):X)},[]),S=t.rects.reference,C=t.rects.popper,w=new Map,E=!0,_=T[0],y=0;y<T.length;y++){var R=T[y],I=yr(R),D=cn(R)===Ds,W=[Mt,sr].indexOf(I)>=0,M=W?"width":"height",A=In(t,{placement:R,boundary:c,rootBoundary:u,altBoundary:f,padding:p}),H=W?D?Yt:Vt:D?sr:Mt;S[M]>C[M]&&(H=Op(H));var re=Op(H),V=[];if(s&&V.push(A[I]<=0),a&&V.push(A[H]<=0,A[re]<=0),V.every(function(ue){return ue})){_=R,E=!1;break}w.set(R,V)}if(E)for(var ge=v?3:1,me=function(X){var Q=T.find(function(Pe){var ae=w.get(Pe);if(ae)return ae.slice(0,X).every(function(ve){return ve})});if(Q)return _=Q,"break"},Ee=ge;Ee>0;Ee--){var Te=me(Ee);if(Te==="break")break}t.placement!==_&&(t.modifiersData[o]._skip=!0,t.placement=_,t.reset=!0)}}var oR={name:"flip",enabled:!0,phase:"main",fn:S4,requiresIfExists:["offset"],data:{_skip:!1}};function nR(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function sR(e){return[Mt,Yt,sr,Vt].some(function(t){return e[t]>=0})}function C4(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,i=In(t,{elementContext:"reference"}),a=In(t,{altBoundary:!0}),l=nR(i,o),p=nR(a,n,s),c=sR(l),u=sR(p);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:p,isReferenceHidden:c,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}var iR={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:C4};function w4(e,t,r){var o=yr(e),n=[Vt,Mt].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=s[0],a=s[1];return i=i||0,a=(a||0)*n,[Vt,Yt].indexOf(o)>=0?{x:a,y:i}:{x:i,y:a}}function E4(e){var t=e.state,r=e.options,o=e.name,n=r.offset,s=n===void 0?[0,0]:n,i=xy.reduce(function(c,u){return c[u]=w4(u,t.rects,s),c},{}),a=i[t.placement],l=a.x,p=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=p),t.modifiersData[o]=i}var aR={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:E4};function R4(e){var t=e.state,r=e.name;t.modifiersData[r]=Hu({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var lR={name:"popperOffsets",enabled:!0,phase:"read",fn:R4,data:{}};function Jx(e){return e==="x"?"y":"x"}function _4(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,s=n===void 0?!0:n,i=r.altAxis,a=i===void 0?!1:i,l=r.boundary,p=r.rootBoundary,c=r.altBoundary,u=r.padding,f=r.tether,g=f===void 0?!0:f,v=r.tetherOffset,x=v===void 0?0:v,b=In(t,{boundary:l,rootBoundary:p,padding:u,altBoundary:c}),m=yr(t.placement),h=cn(t.placement),d=!h,T=Ua(m),S=Jx(T),C=t.modifiersData.popperOffsets,w=t.rects.reference,E=t.rects.popper,_=typeof x=="function"?x(Object.assign({},t.rects,{placement:t.placement})):x,y=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(C){if(s){var D,W=T==="y"?Mt:Vt,M=T==="y"?sr:Yt,A=T==="y"?"height":"width",H=C[T],re=H+b[W],V=H-b[M],ge=g?-E[A]/2:0,me=h===Ds?w[A]:E[A],Ee=h===Ds?-E[A]:-w[A],Te=t.elements.arrow,ue=g&&Te?Ba(Te):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Uu(),Q=X[W],Pe=X[M],ae=za(0,w[A],ue[A]),ve=d?w[A]/2-ge-ae-Q-y.mainAxis:me-ae-Q-y.mainAxis,fe=d?-w[A]/2+ge+ae+Pe+y.mainAxis:Ee+ae+Pe+y.mainAxis,xe=t.elements.arrow&&On(t.elements.arrow),ie=xe?T==="y"?xe.clientTop||0:xe.clientLeft||0:0,Be=(D=R?.[T])!=null?D:0,de=H+ve-Be-ie,be=H+fe-Be,at=za(g?Va(re,de):re,H,g?_n(V,be):V);C[T]=at,I[T]=at-H}if(a){var ee,Oe=T==="x"?Mt:Vt,Ce=T==="x"?sr:Yt,Me=C[S],Fe=S==="y"?"height":"width",se=Me+b[Oe],vt=Me-b[Ce],Re=[Mt,Vt].indexOf(m)!==-1,He=(ee=R?.[S])!=null?ee:0,lt=Re?se:Me-w[Fe]-E[Fe]-He+y.altAxis,et=Re?Me+w[Fe]+E[Fe]-He-y.altAxis:vt,pt=g&&Re?XE(lt,Me,et):za(g?lt:se,Me,g?et:vt);C[S]=pt,I[S]=pt-Me}t.modifiersData[o]=I}}var pR={name:"preventOverflow",enabled:!0,phase:"main",fn:_4,requiresIfExists:["offset"]};function Zx(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function eP(e){return e===Pt(e)||!ir(e)?Wa(e):Zx(e)}function O4(e){var t=e.getBoundingClientRect(),r=Fs(t.width)/e.offsetWidth||1,o=Fs(t.height)/e.offsetHeight||1;return r!==1||o!==1}function tP(e,t,r){r===void 0&&(r=!1);var o=ir(t),n=ir(t)&&O4(t),s=_r(t),i=pn(e,n,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!r)&&((mr(t)!=="body"||Ga(s))&&(a=eP(t)),ir(t)?(l=pn(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Ha(s))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function I4(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function n(s){r.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(a){if(!r.has(a)){var l=t.get(a);l&&n(l)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||n(s)}),o}function rP(e){var t=I4(e);return KE.reduce(function(r,o){return r.concat(t.filter(function(n){return n.phase===o}))},[])}function oP(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function nP(e){var t=e.reduce(function(r,o){var n=r[o.name];return r[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var cR={placement:"bottom",modifiers:[],strategy:"absolute"};function uR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function fR(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,n=t.defaultOptions,s=n===void 0?cR:n;return function(a,l,p){p===void 0&&(p=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},cR,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},u=[],f=!1,g={state:c,setOptions:function(m){var h=typeof m=="function"?m(c.options):m;x(),c.options=Object.assign({},s,c.options,h),c.scrollParents={reference:ln(a)?Ni(a):a.contextElement?Ni(a.contextElement):[],popper:Ni(l)};var d=rP(nP([].concat(o,c.options.modifiers)));return c.orderedModifiers=d.filter(function(T){return T.enabled}),v(),g.update()},forceUpdate:function(){if(!f){var m=c.elements,h=m.reference,d=m.popper;if(uR(h,d)){c.rects={reference:tP(h,On(d),c.options.strategy==="fixed"),popper:Ba(d)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(y){return c.modifiersData[y.name]=Object.assign({},y.data)});for(var T=0;T<c.orderedModifiers.length;T++){if(c.reset===!0){c.reset=!1,T=-1;continue}var S=c.orderedModifiers[T],C=S.fn,w=S.options,E=w===void 0?{}:w,_=S.name;typeof C=="function"&&(c=C({state:c,options:E,name:_,instance:g})||c)}}}},update:oP(function(){return new Promise(function(b){g.forceUpdate(),b(c)})}),destroy:function(){x(),f=!0}};if(!uR(a,l))return g;g.setOptions(p).then(function(b){!f&&p.onFirstUpdate&&p.onFirstUpdate(b)});function v(){c.orderedModifiers.forEach(function(b){var m=b.name,h=b.options,d=h===void 0?{}:h,T=b.effect;if(typeof T=="function"){var S=T({state:c,name:m,instance:g,options:d}),C=function(){};u.push(S||C)}})}function x(){u.forEach(function(b){return b()}),u=[]}return g}}var k4=[tR,lR,eR,YE,aR,oR,pR,JE,iR],sP=fR({defaultModifiers:k4});var $s=P(N()),dR=P(Yd());function N4(e){return typeof e=="function"?e():e}var A4=$s.forwardRef(function(t,r){let{children:o,container:n,disablePortal:s=!1}=t,[i,a]=$s.useState(null),l=qt($s.isValidElement(o)?no(o):null,r);return rr(()=>{s||a(N4(n)||document.body)},[n,s]),rr(()=>{if(i&&!s)return wi(r,i),()=>{wi(r,null)}},[r,i,s]),s?$s.isValidElement(o)?$s.cloneElement(o,{ref:l}):o:i&&dR.createPortal(o,i)}),Gu=A4;function mR(e){return U("MuiPopper",e)}var eoe=q("MuiPopper",["root"]);var Cy=P(k());function M4(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function iP(e){return typeof e=="function"?e():e}function L4(e){return e.nodeType!==void 0}var D4=e=>{let{classes:t}=e;return z({root:["root"]},mR,t)},F4={},j4=Wr.forwardRef(function(t,r){let{anchorEl:o,children:n,direction:s,disablePortal:i,modifiers:a,open:l,placement:p,popperOptions:c,popperRef:u,slotProps:f={},slots:g={},TransitionProps:v,ownerState:x,...b}=t,m=Wr.useRef(null),h=qt(m,r),d=Wr.useRef(null),T=qt(d,u),S=Wr.useRef(T);rr(()=>{S.current=T},[T]),Wr.useImperativeHandle(u,()=>d.current,[]);let C=M4(p,s),[w,E]=Wr.useState(C),[_,y]=Wr.useState(iP(o));Wr.useEffect(()=>{d.current&&d.current.forceUpdate()}),Wr.useEffect(()=>{o&&y(iP(o))},[o]),rr(()=>{if(!_||!l)return;let M=re=>{E(re.placement)},A=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:re})=>{M(re)}}];a!=null&&(A=A.concat(a)),c&&c.modifiers!=null&&(A=A.concat(c.modifiers));let H=sP(_,m.current,{placement:C,...c,modifiers:A});return S.current(H),()=>{H.destroy(),S.current(null)}},[_,i,a,l,c,C]);let R={placement:w};v!==null&&(R.TransitionProps=v);let I=D4(t),D=g.root??"div",W=wu({elementType:D,externalSlotProps:f.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:h},ownerState:t,className:I.root});return(0,Cy.jsx)(D,{...W,children:typeof n=="function"?n(R):n})}),$4=Wr.forwardRef(function(t,r){let{anchorEl:o,children:n,container:s,direction:i="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:p,open:c,placement:u="bottom",popperOptions:f=F4,popperRef:g,style:v,transition:x=!1,slotProps:b={},slots:m={},...h}=t,[d,T]=Wr.useState(!0),S=()=>{T(!1)},C=()=>{T(!0)};if(!l&&!c&&(!x||d))return null;let w;if(s)w=s;else if(o){let y=iP(o);w=y&&L4(y)?or(y).body:or(null).body}let E=!c&&l&&(!x||d)?"none":void 0,_=x?{in:c,onEnter:S,onExited:C}:void 0;return(0,Cy.jsx)(Gu,{disablePortal:a,container:w,children:(0,Cy.jsx)(j4,{anchorEl:o,direction:i,disablePortal:a,modifiers:p,ref:r,open:x?!d:c,placement:u,popperOptions:f,popperRef:g,slotProps:b,slots:m,...h,style:{position:"fixed",top:0,left:0,display:E,...v},TransitionProps:_,children:n})})}),yR=$4;var gR=P(k()),V4=O(yR,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),B4=hR.forwardRef(function(t,r){let o=up(),n=G({props:t,name:"MuiPopper"}),{anchorEl:s,component:i,components:a,componentsProps:l,container:p,disablePortal:c,keepMounted:u,modifiers:f,open:g,placement:v,popperOptions:x,popperRef:b,transition:m,slots:h,slotProps:d,...T}=n,S=h?.root??a?.Root,C={anchorEl:s,container:p,disablePortal:c,keepMounted:u,modifiers:f,open:g,placement:v,popperOptions:x,popperRef:b,transition:m,...T};return(0,gR.jsx)(V4,{as:i,direction:o?"rtl":"ltr",slots:{root:S},slotProps:d??l,...C,ref:r})}),qa=B4;var TR=P(N());function vR(e){return U("MuiListSubheader",e)}var boe=q("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var xR=P(k()),U4=e=>{let{classes:t,color:r,disableGutters:o,inset:n,disableSticky:s}=e,i={root:["root",r!=="default"&&`color${F(r)}`,!o&&"gutters",n&&"inset",!s&&"sticky"]};return z(i,vR,t)},z4=O("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${F(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})(Y(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),aP=TR.forwardRef(function(t,r){let o=G({props:t,name:"MuiListSubheader"}),{className:n,color:s="default",component:i="li",disableGutters:a=!1,disableSticky:l=!1,inset:p=!1,...c}=o,u={...o,color:s,component:i,disableGutters:a,disableSticky:l,inset:p},f=U4(u);return(0,xR.jsx)(z4,{as:i,className:L(f.root,n),ref:r,ownerState:u,...c})});aP&&(aP.muiSkipListHighlight=!0);var lP=aP;var Uo=P(N());var Loe=P(N());var PR=P(k()),bR=J((0,PR.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function SR(e){return U("MuiChip",e)}var W4=q("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),De=W4;var qu=P(k()),H4=e=>{let{classes:t,disabled:r,size:o,color:n,iconColor:s,onDelete:i,clickable:a,variant:l}=e,p={root:["root",l,r&&"disabled",`size${F(o)}`,`color${F(n)}`,a&&"clickable",a&&`clickableColor${F(n)}`,i&&"deletable",i&&`deletableColor${F(n)}`,`${l}${F(n)}`],label:["label",`label${F(o)}`],avatar:["avatar",`avatar${F(o)}`,`avatarColor${F(n)}`],icon:["icon",`icon${F(o)}`,`iconColor${F(s)}`],deleteIcon:["deleteIcon",`deleteIcon${F(o)}`,`deleteIconColor${F(n)}`,`deleteIcon${F(l)}Color${F(n)}`]};return z(p,SR,t)},G4=O("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{color:o,iconColor:n,clickable:s,onDelete:i,size:a,variant:l}=r;return[{[`& .${De.avatar}`]:t.avatar},{[`& .${De.avatar}`]:t[`avatar${F(a)}`]},{[`& .${De.avatar}`]:t[`avatarColor${F(o)}`]},{[`& .${De.icon}`]:t.icon},{[`& .${De.icon}`]:t[`icon${F(a)}`]},{[`& .${De.icon}`]:t[`iconColor${F(n)}`]},{[`& .${De.deleteIcon}`]:t.deleteIcon},{[`& .${De.deleteIcon}`]:t[`deleteIcon${F(a)}`]},{[`& .${De.deleteIcon}`]:t[`deleteIconColor${F(o)}`]},{[`& .${De.deleteIcon}`]:t[`deleteIcon${F(l)}Color${F(o)}`]},t.root,t[`size${F(a)}`],t[`color${F(o)}`],s&&t.clickable,s&&o!=="default"&&t[`clickableColor${F(o)})`],i&&t.deletable,i&&o!=="default"&&t[`deletableColor${F(o)}`],t[l],t[`${l}${F(o)}`]]}})(Y(({theme:e})=>{let t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${De.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${De.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${De.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${De.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${De.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${De.icon}`]:{marginLeft:5,marginRight:-6},[`& .${De.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:ye(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:ye(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${De.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${De.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Ve(["contrastText"])).map(([r])=>({props:{color:r},style:{backgroundColor:(e.vars||e).palette[r].main,color:(e.vars||e).palette[r].contrastText,[`& .${De.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[r].contrastTextChannel} / 0.7)`:ye(e.palette[r].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[r].contrastText}}}})),{props:r=>r.iconColor===r.color,style:{[`& .${De.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:r=>r.iconColor===r.color&&r.color!=="default",style:{[`& .${De.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${De.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ye(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(Ve(["dark"])).map(([r])=>({props:{color:r,onDelete:!0},style:{[`&.${De.focusVisible}`]:{background:(e.vars||e).palette[r].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ye(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${De.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ye(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Ve(["dark"])).map(([r])=>({props:{color:r,clickable:!0},style:{[`&:hover, &.${De.focusVisible}`]:{backgroundColor:(e.vars||e).palette[r].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${De.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${De.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${De.avatar}`]:{marginLeft:4},[`& .${De.avatarSmall}`]:{marginLeft:2},[`& .${De.icon}`]:{marginLeft:4},[`& .${De.iconSmall}`]:{marginLeft:2},[`& .${De.deleteIcon}`]:{marginRight:5},[`& .${De.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Ve()).map(([r])=>({props:{variant:"outlined",color:r},style:{color:(e.vars||e).palette[r].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.7)`:ye(e.palette[r].main,.7)}`,[`&.${De.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette[r].main,e.palette.action.hoverOpacity)},[`&.${De.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.focusOpacity})`:ye(e.palette[r].main,e.palette.action.focusOpacity)},[`& .${De.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.7)`:ye(e.palette[r].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[r].main}}}}))]}})),q4=O("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:r}=e,{size:o}=r;return[t.label,t[`label${F(o)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function CR(e){return e.key==="Backspace"||e.key==="Delete"}var K4=Uo.forwardRef(function(t,r){let o=G({props:t,name:"MuiChip"}),{avatar:n,className:s,clickable:i,color:a="default",component:l,deleteIcon:p,disabled:c=!1,icon:u,label:f,onClick:g,onDelete:v,onKeyDown:x,onKeyUp:b,size:m="medium",variant:h="filled",tabIndex:d,skipFocusWhenDisabled:T=!1,...S}=o,C=Uo.useRef(null),w=it(C,r),E=V=>{V.stopPropagation(),v&&v(V)},_=V=>{V.currentTarget===V.target&&CR(V)&&V.preventDefault(),x&&x(V)},y=V=>{V.currentTarget===V.target&&v&&CR(V)&&v(V),b&&b(V)},R=i!==!1&&g?!0:i,I=R||v?vo:l||"div",D={...o,component:I,disabled:c,size:m,color:a,iconColor:Uo.isValidElement(u)&&u.props.color||a,onDelete:!!v,clickable:R,variant:h},W=H4(D),M=I===vo?{component:l||"div",focusVisibleClassName:W.focusVisible,...v&&{disableRipple:!0}}:{},A=null;v&&(A=p&&Uo.isValidElement(p)?Uo.cloneElement(p,{className:L(p.props.className,W.deleteIcon),onClick:E}):(0,qu.jsx)(bR,{className:L(W.deleteIcon),onClick:E}));let H=null;n&&Uo.isValidElement(n)&&(H=Uo.cloneElement(n,{className:L(W.avatar,n.props.className)}));let re=null;return u&&Uo.isValidElement(u)&&(re=Uo.cloneElement(u,{className:L(W.icon,u.props.className)})),(0,qu.jsxs)(G4,{as:I,className:L(W.root,s),disabled:R&&c?!0:void 0,onClick:g,onKeyDown:_,onKeyUp:y,ref:w,tabIndex:T&&c?-1:d,ownerState:D,...M,...S,children:[H||re,(0,qu.jsx)(q4,{className:L(W.label),ownerState:D,children:f}),A]})}),kp=K4;var Hr=P(N());var zo=P(N());var Ku=P(k());function wy(e){return parseInt(e,10)||0}var Y4={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Q4(e){for(let t in e)return!1;return!0}function wR(e){return Q4(e)||e.outerHeightStyle===0&&!e.overflowing}var X4=zo.forwardRef(function(t,r){let{onChange:o,maxRows:n,minRows:s=1,style:i,value:a,...l}=t,{current:p}=zo.useRef(a!=null),c=zo.useRef(null),u=qt(r,c),f=zo.useRef(null),g=zo.useRef(null),v=zo.useCallback(()=>{let d=c.current,T=g.current;if(!d||!T)return;let C=Do(d).getComputedStyle(d);if(C.width==="0px")return{outerHeightStyle:0,overflowing:!1};T.style.width=C.width,T.value=d.value||t.placeholder||"x",T.value.slice(-1)===`
|
|
145
|
-
`&&(T.value+=" ");let w=C.boxSizing,E=wy(C.paddingBottom)+wy(C.paddingTop),_=wy(C.borderBottomWidth)+wy(C.borderTopWidth),y=T.scrollHeight;T.value="x";let R=T.scrollHeight,I=y;s&&(I=Math.max(Number(s)*R,I)),n&&(I=Math.min(Number(n)*R,I)),I=Math.max(I,R);let D=I+(w==="border-box"?E+_:0),W=Math.abs(I-y)<=1;return{outerHeightStyle:D,overflowing:W}},[n,s,t.placeholder]),x=go(()=>{let d=c.current,T=v();if(!d||!T||wR(T))return!1;let S=T.outerHeightStyle;return f.current!=null&&f.current!==S}),b=zo.useCallback(()=>{let d=c.current,T=v();if(!d||!T||wR(T))return;let S=T.outerHeightStyle;f.current!==S&&(f.current=S,d.style.height=`${S}px`),d.style.overflow=T.overflowing?"hidden":""},[v]),m=zo.useRef(-1);return rr(()=>{let d=Ra(b),T=c?.current;if(!T)return;let S=Do(T);S.addEventListener("resize",d);let C;return typeof ResizeObserver<"u"&&(C=new ResizeObserver(()=>{x()&&(C.unobserve(T),cancelAnimationFrame(m.current),b(),m.current=requestAnimationFrame(()=>{C.observe(T)}))}),C.observe(T)),()=>{d.clear(),cancelAnimationFrame(m.current),S.removeEventListener("resize",d),C&&C.disconnect()}},[v,b,x]),rr(()=>{b()}),(0,Ku.jsxs)(zo.Fragment,{children:[(0,Ku.jsx)("textarea",{value:a,onChange:d=>{p||b(),o&&o(d)},ref:u,rows:s,style:i,...l}),(0,Ku.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:g,tabIndex:-1,style:{...Y4.shadow,...i,paddingTop:0,paddingBottom:0}})]})}),pP=X4;function J4(e){return typeof e=="string"}var Ai=J4;function io({props:e,states:t,muiFormControl:r}){return t.reduce((o,n)=>(o[n]=e[n],r&&typeof e[n]>"u"&&(o[n]=r[n]),o),{})}var ER=P(N()),Z4=ER.createContext(void 0),Np=Z4;var RR=P(N());function hr(){return RR.useContext(Np)}function _R(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ka(e,t=!1){return e&&(_R(e.value)&&e.value!==""||t&&_R(e.defaultValue)&&e.defaultValue!=="")}function OR(e){return e.startAdornment}function IR(e){return U("MuiInputBase",e)}var eF=q("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),ar=eF;var Ya=P(k()),kR,Qa=(e,t)=>{let{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${F(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Xa=(e,t)=>{let{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},tF=e=>{let{classes:t,color:r,disabled:o,error:n,endAdornment:s,focused:i,formControl:a,fullWidth:l,hiddenLabel:p,multiline:c,readOnly:u,size:f,startAdornment:g,type:v}=e,x={root:["root",`color${F(r)}`,o&&"disabled",n&&"error",l&&"fullWidth",i&&"focused",a&&"formControl",f&&f!=="medium"&&`size${F(f)}`,c&&"multiline",g&&"adornedStart",s&&"adornedEnd",p&&"hiddenLabel",u&&"readOnly"],input:["input",o&&"disabled",v==="search"&&"inputTypeSearch",c&&"inputMultiline",f==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",g&&"inputAdornedStart",s&&"inputAdornedEnd",u&&"readOnly"]};return z(x,IR,t)},Ja=O("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Qa})(Y(({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",[`&.${ar.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:r})=>t.multiline&&r==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Za=O("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Xa})(Y(({theme:e})=>{let t=e.palette.mode==="light",r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},o={opacity:"0 !important"},n=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":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${ar.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":n,"&:focus::-moz-placeholder":n,"&:focus::-ms-input-placeholder":n},[`&.${ar.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:s})=>!s.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:s})=>s.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),NR=Mu({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),rF=Hr.forwardRef(function(t,r){let o=G({props:t,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:s,autoFocus:i,className:a,color:l,components:p={},componentsProps:c={},defaultValue:u,disabled:f,disableInjectingGlobalStyles:g,endAdornment:v,error:x,fullWidth:b=!1,id:m,inputComponent:h="input",inputProps:d={},inputRef:T,margin:S,maxRows:C,minRows:w,multiline:E=!1,name:_,onBlur:y,onChange:R,onClick:I,onFocus:D,onKeyDown:W,onKeyUp:M,placeholder:A,readOnly:H,renderSuffix:re,rows:V,size:ge,slotProps:me={},slots:Ee={},startAdornment:Te,type:ue="text",value:X,...Q}=o,Pe=d.value!=null?d.value:X,{current:ae}=Hr.useRef(Pe!=null),ve=Hr.useRef(),fe=Hr.useCallback(Se=>{},[]),xe=it(ve,T,d.ref,fe),[ie,Be]=Hr.useState(!1),de=hr(),be=io({props:o,muiFormControl:de,states:["color","disabled","error","hiddenLabel","size","required","filled"]});be.focused=de?de.focused:ie,Hr.useEffect(()=>{!de&&f&&ie&&(Be(!1),y&&y())},[de,f,ie,y]);let at=de&&de.onFilled,ee=de&&de.onEmpty,Oe=Hr.useCallback(Se=>{Ka(Se)?at&&at():ee&&ee()},[at,ee]);Ri(()=>{ae&&Oe({value:Pe})},[Pe,Oe,ae]);let Ce=Se=>{D&&D(Se),d.onFocus&&d.onFocus(Se),de&&de.onFocus?de.onFocus(Se):Be(!0)},Me=Se=>{y&&y(Se),d.onBlur&&d.onBlur(Se),de&&de.onBlur?de.onBlur(Se):Be(!1)},Fe=(Se,...Tr)=>{if(!ae){let Nt=Se.target||ve.current;if(Nt==null)throw new Error(ur(1));Oe({value:Nt.value})}d.onChange&&d.onChange(Se,...Tr),R&&R(Se,...Tr)};Hr.useEffect(()=>{Oe(ve.current)},[]);let se=Se=>{ve.current&&Se.currentTarget===Se.target&&ve.current.focus(),I&&I(Se)},vt=h,Re=d;E&&vt==="input"&&(V?Re={type:void 0,minRows:V,maxRows:V,...Re}:Re={type:void 0,maxRows:C,minRows:w,...Re},vt=pP);let He=Se=>{Oe(Se.animationName==="mui-auto-fill-cancel"?ve.current:{value:"x"})};Hr.useEffect(()=>{de&&de.setAdornedStart(!!Te)},[de,Te]);let lt={...o,color:be.color||"primary",disabled:be.disabled,endAdornment:v,error:be.error,focused:be.focused,formControl:de,fullWidth:b,hiddenLabel:be.hiddenLabel,multiline:E,size:be.size,startAdornment:Te,type:ue},et=tF(lt),pt=Ee.root||p.Root||Ja,Xe=me.root||c.root||{},Ue=Ee.input||p.Input||Za;return Re={...Re,...me.input??c.input},(0,Ya.jsxs)(Hr.Fragment,{children:[!g&&typeof NR=="function"&&(kR||(kR=(0,Ya.jsx)(NR,{}))),(0,Ya.jsxs)(pt,{...Xe,ref:r,onClick:se,...Q,...!Ai(pt)&&{ownerState:{...lt,...Xe.ownerState}},className:L(et.root,Xe.className,a,H&&"MuiInputBase-readOnly"),children:[Te,(0,Ya.jsx)(Np.Provider,{value:null,children:(0,Ya.jsx)(Ue,{"aria-invalid":be.error,"aria-describedby":n,autoComplete:s,autoFocus:i,defaultValue:u,disabled:be.disabled,id:m,onAnimationStart:He,name:_,placeholder:A,readOnly:H,required:be.required,rows:V,value:Pe,onKeyDown:W,onKeyUp:M,type:ue,...Re,...!Ai(Ue)&&{as:vt,ownerState:{...lt,...Re.ownerState}},ref:xe,className:L(et.input,Re.className,H&&"MuiInputBase-readOnly"),onBlur:Me,onChange:Fe,onFocus:Ce})}),v,re?re({...be,startAdornment:Te}):null]})]})}),el=rF;function AR(e){return U("MuiInput",e)}var oF={...ar,...q("MuiInput",["root","underline","input"])},Zn=oF;function MR(e){return U("MuiOutlinedInput",e)}var nF={...ar,...q("MuiOutlinedInput",["root","notchedOutline","input"])},To=nF;function LR(e){return U("MuiFilledInput",e)}var sF={...ar,...q("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},ao=sF;var Yne=P(N());var DR=P(k()),Ey=J((0,DR.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function FR(e){return U("MuiAutocomplete",e)}var iF=q("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),Ne=iF;var Qt=P(k()),jR,$R,aF=e=>{let{classes:t,disablePortal:r,expanded:o,focused:n,fullWidth:s,hasClearIcon:i,hasPopupIcon:a,inputFocused:l,popupOpen:p,size:c}=e,u={root:["root",o&&"expanded",n&&"focused",s&&"fullWidth",i&&"hasClearIcon",a&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${F(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",p&&"popupIndicatorOpen"],popper:["popper",r&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return z(u,FR,t)},lF=O("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{fullWidth:o,hasClearIcon:n,hasPopupIcon:s,inputFocused:i,size:a}=r;return[{[`& .${Ne.tag}`]:t.tag},{[`& .${Ne.tag}`]:t[`tagSize${F(a)}`]},{[`& .${Ne.inputRoot}`]:t.inputRoot},{[`& .${Ne.input}`]:t.input},{[`& .${Ne.input}`]:i&&t.inputFocused},t.root,o&&t.fullWidth,s&&t.hasPopupIcon,n&&t.hasClearIcon]}})({[`&.${Ne.focused} .${Ne.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ne.clearIndicator}`]:{visibility:"visible"}},[`& .${Ne.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ne.inputRoot}`]:{[`.${Ne.hasPopupIcon}&, .${Ne.hasClearIcon}&`]:{paddingRight:30},[`.${Ne.hasPopupIcon}.${Ne.hasClearIcon}&`]:{paddingRight:56},[`& .${Ne.input}`]:{width:0,minWidth:30}},[`& .${Zn.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Zn.root}.${ar.sizeSmall}`]:{[`& .${Zn.input}`]:{padding:"2px 4px 3px 0"}},[`& .${To.root}`]:{padding:9,[`.${Ne.hasPopupIcon}&, .${Ne.hasClearIcon}&`]:{paddingRight:39},[`.${Ne.hasPopupIcon}.${Ne.hasClearIcon}&`]:{paddingRight:65},[`& .${Ne.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ne.endAdornment}`]:{right:9}},[`& .${To.root}.${ar.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ne.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${ao.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ne.hasPopupIcon}&, .${Ne.hasClearIcon}&`]:{paddingRight:39},[`.${Ne.hasPopupIcon}.${Ne.hasClearIcon}&`]:{paddingRight:65},[`& .${ao.input}`]:{padding:"7px 4px"},[`& .${Ne.endAdornment}`]:{right:9}},[`& .${ao.root}.${ar.sizeSmall}`]:{paddingBottom:1,[`& .${ao.input}`]:{padding:"2.5px 4px"}},[`& .${ar.hiddenLabel}`]:{paddingTop:8},[`& .${ao.root}.${ar.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ne.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${ao.root}.${ar.hiddenLabel}.${ar.sizeSmall}`]:{[`& .${Ne.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ne.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ne.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ne.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ne.inputRoot}`]:{flexWrap:"wrap"}}}]}),pF=O("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),cF=O(We,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),uF=O(We,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.popupIndicator,r.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),fF=O(qa,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${Ne.option}`]:t.option},t.popper,r.disablePortal&&t.popperDisablePortal]}})(Y(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),dF=O($o,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(Y(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),mF=O("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(Y(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),yF=O("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(Y(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),hF=O("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(Y(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ne.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Ne.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ne.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ye(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ne.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ye(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ne.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ye(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),gF=O(lP,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(Y(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),vF=O("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ne.option}`]:{paddingLeft:24}});var TF=Ry.forwardRef(function(t,r){let o=G({props:t,name:"MuiAutocomplete"}),{autoComplete:n=!1,autoHighlight:s=!1,autoSelect:i=!1,blurOnSelect:a=!1,ChipProps:l,className:p,clearIcon:c=jR||(jR=(0,Qt.jsx)(yy,{fontSize:"small"})),clearOnBlur:u=!o.freeSolo,clearOnEscape:f=!1,clearText:g="Clear",closeText:v="Close",componentsProps:x,defaultValue:b=o.multiple?[]:null,disableClearable:m=!1,disableCloseOnSelect:h=!1,disabled:d=!1,disabledItemsFocusable:T=!1,disableListWrap:S=!1,disablePortal:C=!1,filterOptions:w,filterSelectedOptions:E=!1,forcePopupIcon:_="auto",freeSolo:y=!1,fullWidth:R=!1,getLimitTagsText:I=Ke=>`+${Ke}`,getOptionDisabled:D,getOptionKey:W,getOptionLabel:M,isOptionEqualToValue:A,groupBy:H,handleHomeEndKeys:re=!o.freeSolo,id:V,includeInputInList:ge=!1,inputValue:me,limitTags:Ee=-1,ListboxComponent:Te,ListboxProps:ue,loading:X=!1,loadingText:Q="Loading\u2026",multiple:Pe=!1,noOptionsText:ae="No options",onChange:ve,onClose:fe,onHighlightChange:xe,onInputChange:ie,onOpen:Be,open:de,openOnFocus:be=!1,openText:at="Open",options:ee,PaperComponent:Oe,PopperComponent:Ce,popupIcon:Me=$R||($R=(0,Qt.jsx)(Ey,{})),readOnly:Fe=!1,renderGroup:se,renderInput:vt,renderOption:Re,renderTags:He,selectOnFocus:lt=!o.freeSolo,size:et="medium",slots:pt={},slotProps:Xe={},value:Ue,...Se}=o,{getRootProps:Tr,getInputProps:Nt,getInputLabelProps:Ho,getPopupIndicatorProps:ce,getClearProps:_e,getTagProps:Ct,getListboxProps:xr,getOptionProps:Qs,value:wo,dirty:ds,expanded:Fn,id:Xs,popupOpen:Go,focused:al,focusedTag:ll,anchorEl:we,setAnchorEl:qo,inputValue:ig,groupedOptions:Xi}=Hx({...o,componentName:"Autocomplete"}),ic=!m&&!d&&ds&&!Fe,ac=(!y||_===!0)&&_!==!1,{onMouseDown:ag}=Nt(),{ref:lg,...pg}=xr(),lc=M||(Ke=>Ke.label??Ke),Fr={...o,disablePortal:C,expanded:Fn,focused:al,fullWidth:R,getOptionLabel:lc,hasClearIcon:ic,hasPopupIcon:ac,inputFocused:ll===-1,popupOpen:Go,size:et},lr=aF(Fr),jn={slots:{paper:Oe,popper:Ce,...pt},slotProps:{chip:l,listbox:ue,...x,...Xe}},[Cf,B]=le("listbox",{elementType:hF,externalForwardedProps:jn,ownerState:Fr,className:lr.listbox,additionalProps:pg,ref:lg}),[$,Z]=le("paper",{elementType:$o,externalForwardedProps:jn,ownerState:Fr,className:lr.paper}),[Ie,Le]=le("popper",{elementType:qa,externalForwardedProps:jn,ownerState:Fr,className:lr.popper,additionalProps:{disablePortal:C,style:{width:we?we.clientWidth:null},role:"presentation",anchorEl:we,open:Go}}),Je;if(Pe&&wo.length>0){let Ke=$n=>({className:lr.tag,disabled:d,...Ct($n)});He?Je=He(wo,Ke,Fr):Je=wo.map(($n,Js)=>{let{key:pc,...Xk}=Ke({index:Js});return(0,Qt.jsx)(kp,{label:lc($n),size:et,...Xk,...jn.slotProps.chip},pc)})}if(Ee>-1&&Array.isArray(Je)){let Ke=Je.length-Ee;!al&&Ke>0&&(Je=Je.splice(0,Ee),Je.push((0,Qt.jsx)("span",{className:lr.tag,children:I(Ke)},Je.length)))}let Eo=se||(Ke=>(0,Qt.jsxs)("li",{children:[(0,Qt.jsx)(gF,{className:lr.groupLabel,ownerState:Fr,component:"div",children:Ke.group}),(0,Qt.jsx)(vF,{className:lr.groupUl,ownerState:Fr,children:Ke.children})]},Ke.key)),Qk=Re||((Ke,$n)=>{let{key:Js,...pc}=Ke;return(0,Qt.jsx)("li",{...pc,children:lc($n)},Js)}),fb=(Ke,$n)=>{let Js=Qs({option:Ke,index:$n});return Qk({...Js,className:lr.option},Ke,{selected:Js["aria-selected"],index:$n,inputValue:ig},Fr)},db=jn.slotProps.clearIndicator,mb=jn.slotProps.popupIndicator;return(0,Qt.jsxs)(Ry.Fragment,{children:[(0,Qt.jsx)(lF,{ref:r,className:L(lr.root,p),ownerState:Fr,...Tr(Se),children:vt({id:Xs,disabled:d,fullWidth:!0,size:et==="small"?"small":void 0,InputLabelProps:Ho(),InputProps:{ref:qo,className:lr.inputRoot,startAdornment:Je,onMouseDown:Ke=>{Ke.target===Ke.currentTarget&&ag(Ke)},...(ic||ac)&&{endAdornment:(0,Qt.jsxs)(pF,{className:lr.endAdornment,ownerState:Fr,children:[ic?(0,Qt.jsx)(cF,{..._e(),"aria-label":g,title:g,ownerState:Fr,...db,className:L(lr.clearIndicator,db?.className),children:c}):null,ac?(0,Qt.jsx)(uF,{...ce(),disabled:d,"aria-label":Go?v:at,title:Go?v:at,ownerState:Fr,...mb,className:L(lr.popupIndicator,mb?.className),children:Me}):null]})}},inputProps:{className:lr.input,disabled:d,readOnly:Fe,...Nt()}})}),we?(0,Qt.jsx)(fF,{as:Ie,...Le,children:(0,Qt.jsxs)(dF,{as:$,...Z,children:[X&&Xi.length===0?(0,Qt.jsx)(mF,{className:lr.loading,ownerState:Fr,children:Q}):null,Xi.length===0&&!y&&!X?(0,Qt.jsx)(yF,{className:lr.noOptions,ownerState:Fr,role:"presentation",onMouseDown:Ke=>{Ke.preventDefault()},children:ae}):null,Xi.length>0?(0,Qt.jsx)(Cf,{as:Te,...B,children:Xi.map((Ke,$n)=>H?Eo({key:Ke.key,group:Ke.group,children:Ke.options.map((Js,pc)=>fb(Js,Ke.index+pc))}):fb(Ke,$n))}):null]})}):null]})}),tl=TF;var Ap=P(N());var Ese=P(N());var VR=P(k()),BR=J((0,VR.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function UR(e){return U("MuiAvatar",e)}var kse=q("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var _y=P(k()),xF=e=>{let{classes:t,variant:r,colorDefault:o}=e;return z({root:["root",r,o&&"colorDefault"],img:["img"],fallback:["fallback"]},UR,t)},PF=O("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(Y(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),bF=O("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),SF=O(BR,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function CF({crossOrigin:e,referrerPolicy:t,src:r,srcSet:o}){let[n,s]=Ap.useState(!1);return Ap.useEffect(()=>{if(!r&&!o)return;s(!1);let i=!0,a=new Image;return a.onload=()=>{i&&s("loaded")},a.onerror=()=>{i&&s("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=r,o&&(a.srcset=o),()=>{i=!1}},[e,t,r,o]),n}var wF=Ap.forwardRef(function(t,r){let o=G({props:t,name:"MuiAvatar"}),{alt:n,children:s,className:i,component:a="div",slots:l={},slotProps:p={},imgProps:c,sizes:u,src:f,srcSet:g,variant:v="circular",...x}=o,b=null,m={...o,component:a,variant:v},h=CF({...c,...typeof p.img=="function"?p.img(m):p.img,src:f,srcSet:g}),d=f||g,T=d&&h!=="error";m.colorDefault=!T,delete m.ownerState;let S=xF(m),[C,w]=le("img",{className:S.img,elementType:bF,externalForwardedProps:{slots:l,slotProps:{img:{...c,...p.img}}},additionalProps:{alt:n,src:f,srcSet:g,sizes:u},ownerState:m});return T?b=(0,_y.jsx)(C,{...w}):s||s===0?b=s:d&&n?b=n[0]:b=(0,_y.jsx)(SF,{ownerState:m,className:S.fallback}),(0,_y.jsx)(PF,{as:a,className:L(S.root,i),ref:r,...x,ownerState:m,children:b})}),lo=wF;var HR=P(N());var Mp=P(N());var zR=P(k()),EF={entering:{opacity:1},entered:{opacity:1}},RF=Mp.forwardRef(function(t,r){let o=mt(),n={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:s,appear:i=!0,children:a,easing:l,in:p,onEnter:c,onEntered:u,onEntering:f,onExit:g,onExited:v,onExiting:x,style:b,timeout:m=n,TransitionComponent:h=Fa,...d}=t,T=!0,S=Mp.useRef(null),C=it(S,no(a),r),w=M=>A=>{if(M){let H=S.current;A===void 0?M(H):M(H,A)}},E=w(f),_=w((M,A)=>{ay(M);let H=Ms({style:b,timeout:m,easing:l},{mode:"enter"});M.style.webkitTransition=o.transitions.create("opacity",H),M.style.transition=o.transitions.create("opacity",H),c&&c(M,A)}),y=w(u),R=w(x),I=w(M=>{let A=Ms({style:b,timeout:m,easing:l},{mode:"exit"});M.style.webkitTransition=o.transitions.create("opacity",A),M.style.transition=o.transitions.create("opacity",A),g&&g(M)}),D=w(v);return(0,zR.jsx)(h,{appear:i,in:p,nodeRef:T?S:void 0,onEnter:_,onEntered:y,onEntering:E,onExit:I,onExited:D,onExiting:R,addEndListener:M=>{s&&s(S.current,M)},timeout:m,...d,children:(M,{ownerState:A,...H})=>Mp.cloneElement(a,{style:{opacity:0,visibility:M==="exited"&&!p?"hidden":void 0,...EF[M],...b,...a.props.style},ref:C,...H})})}),Lp=RF;function WR(e){return U("MuiBackdrop",e)}var tie=q("MuiBackdrop",["root","invisible"]);var cP=P(k()),_F=e=>{let{classes:t,invisible:r}=e;return z({root:["root",r&&"invisible"]},WR,t)},OF=O("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.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"}}]}),IF=HR.forwardRef(function(t,r){let o=G({props:t,name:"MuiBackdrop"}),{children:n,className:s,component:i="div",invisible:a=!1,open:l,components:p={},componentsProps:c={},slotProps:u={},slots:f={},TransitionComponent:g,transitionDuration:v,...x}=o,b={...o,component:i,invisible:a},m=_F(b),h={transition:g,root:p.Root,...f},d={...c,...u},T={slots:h,slotProps:d},[S,C]=le("root",{elementType:OF,externalForwardedProps:T,className:L(m.root,s),ownerState:b}),[w,E]=le("transition",{elementType:Lp,externalForwardedProps:T,ownerState:b});return(0,cP.jsx)(w,{in:l,timeout:v,...x,...E,children:(0,cP.jsx)(S,{"aria-hidden":!0,...C,classes:m,ref:r,children:n})})}),Yu=IF;var Qu=P(N());function GR(e){return U("MuiButton",e)}var kF=q("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"]),Mi=kF;var qR=P(N()),NF=qR.createContext({}),KR=NF;var YR=P(N()),AF=YR.createContext(void 0),QR=AF;var es=P(k()),MF=e=>{let{color:t,disableElevation:r,fullWidth:o,size:n,variant:s,loading:i,loadingPosition:a,classes:l}=e,p={root:["root",i&&"loading",s,`${s}${F(t)}`,`size${F(n)}`,`${s}Size${F(n)}`,`color${F(t)}`,r&&"disableElevation",o&&"fullWidth",i&&`loadingPosition${F(a)}`],startIcon:["icon","startIcon",`iconSize${F(n)}`],endIcon:["icon","endIcon",`iconSize${F(n)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},c=z(p,GR,l);return{...l,...c}},JR=[{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}}}],LF=O(vo,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${F(r.color)}`],t[`size${F(r.size)}`],t[`${r.variant}Size${F(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(Y(({theme:e})=>{let t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],r=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"},[`&.${Mi.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]},[`&.${Mi.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Mi.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)",[`&.${Mi.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(Ve()).map(([o])=>({props:{color:o},style:{"--variant-textColor":(e.vars||e).palette[o].main,"--variant-outlinedColor":(e.vars||e).palette[o].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[o].mainChannel} / 0.5)`:ye(e.palette[o].main,.5),"--variant-containedColor":(e.vars||e).palette[o].contrastText,"--variant-containedBg":(e.vars||e).palette[o].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[o].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette[o].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[o].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette[o].main,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:r,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette.text.primary,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"},[`&.${Mi.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Mi.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}),[`&.${Mi.loading}`]:{color:"transparent"}}}]}})),DF=O("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${F(r.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}},...JR]})),FF=O("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${F(r.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}},...JR]})),jF=O("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.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}}]})),XR=O("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),$F=Qu.forwardRef(function(t,r){let o=Qu.useContext(KR),n=Qu.useContext(QR),s=Qn(o,t),i=G({props:s,name:"MuiButton"}),{children:a,color:l="primary",component:p="button",className:c,disabled:u=!1,disableElevation:f=!1,disableFocusRipple:g=!1,endIcon:v,focusVisibleClassName:x,fullWidth:b=!1,id:m,loading:h=null,loadingIndicator:d,loadingPosition:T="center",size:S="medium",startIcon:C,type:w,variant:E="text",..._}=i,y=Aa(m),R=d??(0,es.jsx)(Ii,{"aria-labelledby":y,color:"inherit",size:16}),I={...i,color:l,component:p,disabled:u,disableElevation:f,disableFocusRipple:g,fullWidth:b,loading:h,loadingIndicator:R,loadingPosition:T,size:S,type:w,variant:E},D=MF(I),W=(C||h&&T==="start")&&(0,es.jsx)(DF,{className:D.startIcon,ownerState:I,children:C||(0,es.jsx)(XR,{className:D.loadingIconPlaceholder,ownerState:I})}),M=(v||h&&T==="end")&&(0,es.jsx)(FF,{className:D.endIcon,ownerState:I,children:v||(0,es.jsx)(XR,{className:D.loadingIconPlaceholder,ownerState:I})}),A=n||"",H=typeof h=="boolean"?(0,es.jsx)("span",{className:D.loadingWrapper,style:{display:"contents"},children:h&&(0,es.jsx)(jF,{className:D.loadingIndicator,ownerState:I,children:R})}):null;return(0,es.jsxs)(LF,{ownerState:I,className:L(o.className,D.root,c,A),component:p,disabled:u||h,focusRipple:!g,focusVisibleClassName:L(D.focusVisible,x),ref:r,type:w,id:h?y:m,..._,classes:D,children:[W,T!=="end"&&H,a,T==="end"&&H,M]})}),Bt=$F;var e_=P(N());function ZR(e){return U("MuiCard",e)}var Bie=q("MuiCard",["root"]);var t_=P(k()),VF=e=>{let{classes:t}=e;return z({root:["root"]},ZR,t)},BF=O($o,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),UF=e_.forwardRef(function(t,r){let o=G({props:t,name:"MuiCard"}),{className:n,raised:s=!1,...i}=o,a={...o,raised:s},l=VF(a);return(0,t_.jsx)(BF,{className:L(l.root,n),elevation:s?8:void 0,ref:r,ownerState:a,...i})}),Or=UF;var o_=P(N());function r_(e){return U("MuiCardActions",e)}var tae=q("MuiCardActions",["root","spacing"]);var n_=P(k()),zF=e=>{let{classes:t,disableSpacing:r}=e;return z({root:["root",!r&&"spacing"]},r_,t)},WF=O("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),HF=o_.forwardRef(function(t,r){let o=G({props:t,name:"MuiCardActions"}),{disableSpacing:n=!1,className:s,...i}=o,a={...o,disableSpacing:n},l=zF(a);return(0,n_.jsx)(WF,{className:L(l.root,s),ownerState:a,ref:r,...i})}),ts=HF;var i_=P(N());function s_(e){return U("MuiCardContent",e)}var mae=q("MuiCardContent",["root"]);var a_=P(k()),GF=e=>{let{classes:t}=e;return z({root:["root"]},s_,t)},qF=O("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),KF=i_.forwardRef(function(t,r){let o=G({props:t,name:"MuiCardContent"}),{className:n,component:s="div",...i}=o,a={...o,component:s},l=GF(a);return(0,a_.jsx)(qF,{as:s,className:L(l.root,n),ownerState:a,ref:r,...i})}),Lt=KF;var Xu=P(N());var p_=P(N());function l_(e){return U("PrivateSwitchBase",e)}var Rae=q("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var Oy=P(k()),YF=e=>{let{classes:t,checked:r,disabled:o,edge:n}=e,s={root:["root",r&&"checked",o&&"disabled",n&&`edge${F(n)}`],input:["input"]};return z(s,l_,t)},QF=O(vo)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),XF=O("input",{shouldForwardProp:ot})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),JF=p_.forwardRef(function(t,r){let{autoFocus:o,checked:n,checkedIcon:s,defaultChecked:i,disabled:a,disableFocusRipple:l=!1,edge:p=!1,icon:c,id:u,inputProps:f,inputRef:g,name:v,onBlur:x,onChange:b,onFocus:m,readOnly:h,required:d=!1,tabIndex:T,type:S,value:C,slots:w={},slotProps:E={},..._}=t,[y,R]=Ma({controlled:n,default:!!i,name:"SwitchBase",state:"checked"}),I=hr(),D=X=>{m&&m(X),I&&I.onFocus&&I.onFocus(X)},W=X=>{x&&x(X),I&&I.onBlur&&I.onBlur(X)},M=X=>{if(X.nativeEvent.defaultPrevented)return;let Q=X.target.checked;R(Q),b&&b(X,Q)},A=a;I&&typeof A>"u"&&(A=I.disabled);let H=S==="checkbox"||S==="radio",re={...t,checked:y,disabled:A,disableFocusRipple:l,edge:p},V=YF(re),ge={slots:w,slotProps:{input:f,...E}},[me,Ee]=le("root",{ref:r,elementType:QF,className:V.root,shouldForwardComponentProp:!0,externalForwardedProps:{...ge,component:"span",..._},getSlotProps:X=>({...X,onFocus:Q=>{X.onFocus?.(Q),D(Q)},onBlur:Q=>{X.onBlur?.(Q),W(Q)}}),ownerState:re,additionalProps:{centerRipple:!0,focusRipple:!l,disabled:A,role:void 0,tabIndex:null}}),[Te,ue]=le("input",{ref:g,elementType:XF,className:V.input,externalForwardedProps:ge,getSlotProps:X=>({onChange:Q=>{X.onChange?.(Q),M(Q)}}),ownerState:re,additionalProps:{autoFocus:o,checked:n,defaultChecked:i,disabled:A,id:H?u:void 0,name:v,readOnly:h,required:d,tabIndex:T,type:S,...S==="checkbox"&&C===void 0?{}:{value:C}}});return(0,Oy.jsxs)(me,{...Ee,children:[(0,Oy.jsx)(Te,{...ue}),y?s:c]})}),Iy=JF;var $ae=P(N());var c_=P(k()),u_=J((0,c_.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank");var Uae=P(N());var f_=P(k()),d_=J((0,f_.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox");var Hae=P(N());var m_=P(k()),y_=J((0,m_.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function h_(e){return U("MuiCheckbox",e)}var ZF=q("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),ky=ZF;var Ju=P(k()),ej=e=>{let{classes:t,indeterminate:r,color:o,size:n}=e,s={root:["root",r&&"indeterminate",`color${F(o)}`,`size${F(n)}`]},i=z(s,h_,t);return{...t,...i}},tj=O(Iy,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${F(r.size)}`],r.color!=="default"&&t[`color${F(r.color)}`]]}})(Y(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{[`&.${ky.checked}, &.${ky.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${ky.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),rj=(0,Ju.jsx)(d_,{}),oj=(0,Ju.jsx)(u_,{}),nj=(0,Ju.jsx)(y_,{}),sj=Xu.forwardRef(function(t,r){let o=G({props:t,name:"MuiCheckbox"}),{checkedIcon:n=rj,color:s="primary",icon:i=oj,indeterminate:a=!1,indeterminateIcon:l=nj,inputProps:p,size:c="medium",disableRipple:u=!1,className:f,slots:g={},slotProps:v={},...x}=o,b=a?l:i,m=a?l:n,h={...o,disableRipple:u,color:s,indeterminate:a,size:c},d=ej(h),T=v.input??p,[S,C]=le("root",{ref:r,elementType:tj,className:L(d.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:g,slotProps:v,...x},ownerState:h,additionalProps:{type:"checkbox",icon:Xu.cloneElement(b,{fontSize:b.props.fontSize??c}),checkedIcon:Xu.cloneElement(m,{fontSize:m.props.fontSize??c}),disableRipple:u,slots:g,slotProps:{input:Tp(typeof T=="function"?T(h):T,{"data-indeterminate":a})}}});return(0,Ju.jsx)(S,{...C,classes:d})}),Vs=sj;var ij=Km({createStyledComponent:O("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${F(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>G({props:e,name:"MuiContainer"})}),Ny=ij;var g_=P(N());var Zu=P(k()),uP=typeof Mu({})=="function",aj=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),lj=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}}),v_=(e,t=!1)=>{let r={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([s,i])=>{let a=e.getColorSchemeSelector(s);a.startsWith("@")?r[a]={":root":{colorScheme:i.palette?.mode}}:r[a.replace(/\s*&/,"")]={colorScheme:i.palette?.mode}});let o={html:aj(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...lj(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...r},n=e.components?.MuiCssBaseline?.styleOverrides;return n&&(o=[o,n]),o},Ay="mui-ecs",pj=e=>{let t=v_(e,!1),r=Array.isArray(t)?t[0]:t;return!e.vars&&r&&(r.html[`:root:has(${Ay})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,n])=>{let s=e.getColorSchemeSelector(o);s.startsWith("@")?r[s]={[`:root:not(:has(.${Ay}))`]:{colorScheme:n.palette?.mode}}:r[s.replace(/\s*&/,"")]={[`&:not(:has(.${Ay}))`]:{colorScheme:n.palette?.mode}}}),t},cj=Mu(uP?({theme:e,enableColorScheme:t})=>v_(e,t):({theme:e})=>pj(e));function uj(e){let t=G({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:o=!1}=t;return(0,Zu.jsxs)(g_.Fragment,{children:[uP&&(0,Zu.jsx)(cj,{enableColorScheme:o}),!uP&&!o&&(0,Zu.jsx)("span",{className:Ay,style:{display:"none"}}),r]})}var My=uj;var $p=P(N());function fj(e){let t=or(e);return t.body===e?Do(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Dp(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function T_(e){return parseInt(Do(e).getComputedStyle(e).paddingRight,10)||0}function dj(e){let r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),o=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||o}function x_(e,t,r,o,n){let s=[t,r,...o];[].forEach.call(e.children,i=>{let a=!s.includes(i),l=!dj(i);a&&l&&Dp(i,n)})}function fP(e,t){let r=-1;return e.some((o,n)=>t(o)?(r=n,!0):!1),r}function mj(e,t){let r=[],o=e.container;if(!t.disableScrollLock){if(fj(o)){let i=Oa(Do(o));r.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${T_(o)+i}px`;let a=or(o).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${T_(l)+i}px`})}let s;if(o.parentNode instanceof DocumentFragment)s=or(o).body;else{let i=o.parentElement,a=Do(o);s=i?.nodeName==="HTML"&&a.getComputedStyle(i).overflowY==="scroll"?i:o}r.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{r.forEach(({value:s,el:i,property:a})=>{s?i.style.setProperty(a,s):i.style.removeProperty(a)})}}function yj(e){let t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}var Ly=class{constructor(){this.modals=[],this.containers=[]}add(t,r){let o=this.modals.indexOf(t);if(o!==-1)return o;o=this.modals.length,this.modals.push(t),t.modalRef&&Dp(t.modalRef,!1);let n=yj(r);x_(r,t.mount,t.modalRef,n,!0);let s=fP(this.containers,i=>i.container===r);return s!==-1?(this.containers[s].modals.push(t),o):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:n}),o)}mount(t,r){let o=fP(this.containers,s=>s.modals.includes(t)),n=this.containers[o];n.restore||(n.restore=mj(n,r))}remove(t,r=!0){let o=this.modals.indexOf(t);if(o===-1)return o;let n=fP(this.containers,i=>i.modals.includes(t)),s=this.containers[n];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(o,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&Dp(t.modalRef,r),x_(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(n,1);else{let i=s.modals[s.modals.length-1];i.modalRef&&Dp(i.modalRef,!1)}return o}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var Fy=P(N());var Ir=P(N());var ef=P(k()),hj=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function gj(e){let 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 vj(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;let t=o=>e.ownerDocument.querySelector(`input[type="radio"]${o}`),r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Tj(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||vj(e))}function xj(e){let t=[],r=[];return Array.from(e.querySelectorAll(hj)).forEach((o,n)=>{let s=gj(o);s===-1||!Tj(o)||(s===0?t.push(o):r.push({documentOrder:n,tabIndex:s,node:o}))}),r.sort((o,n)=>o.tabIndex===n.tabIndex?o.documentOrder-n.documentOrder:o.tabIndex-n.tabIndex).map(o=>o.node).concat(t)}function Pj(){return!0}function bj(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:n=!1,getTabbable:s=xj,isEnabled:i=Pj,open:a}=e,l=Ir.useRef(!1),p=Ir.useRef(null),c=Ir.useRef(null),u=Ir.useRef(null),f=Ir.useRef(null),g=Ir.useRef(!1),v=Ir.useRef(null),x=qt(no(t),v),b=Ir.useRef(null);Ir.useEffect(()=>{!a||!v.current||(g.current=!r)},[r,a]),Ir.useEffect(()=>{if(!a||!v.current)return;let d=or(v.current);return v.current.contains(d.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),g.current&&v.current.focus()),()=>{n||(u.current&&u.current.focus&&(l.current=!0,u.current.focus()),u.current=null)}},[a]),Ir.useEffect(()=>{if(!a||!v.current)return;let d=or(v.current),T=w=>{b.current=w,!(o||!i()||w.key!=="Tab")&&d.activeElement===v.current&&w.shiftKey&&(l.current=!0,c.current&&c.current.focus())},S=()=>{let w=v.current;if(w===null)return;if(!d.hasFocus()||!i()||l.current){l.current=!1;return}if(w.contains(d.activeElement)||o&&d.activeElement!==p.current&&d.activeElement!==c.current)return;if(d.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!g.current)return;let E=[];if((d.activeElement===p.current||d.activeElement===c.current)&&(E=s(v.current)),E.length>0){let _=!!(b.current?.shiftKey&&b.current?.key==="Tab"),y=E[0],R=E[E.length-1];typeof y!="string"&&typeof R!="string"&&(_?R.focus():y.focus())}else w.focus()};d.addEventListener("focusin",S),d.addEventListener("keydown",T,!0);let C=setInterval(()=>{d.activeElement&&d.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(C),d.removeEventListener("focusin",S),d.removeEventListener("keydown",T,!0)}},[r,o,n,i,a,s]);let m=d=>{u.current===null&&(u.current=d.relatedTarget),g.current=!0,f.current=d.target;let T=t.props.onFocus;T&&T(d)},h=d=>{u.current===null&&(u.current=d.relatedTarget),g.current=!0};return(0,ef.jsxs)(Ir.Fragment,{children:[(0,ef.jsx)("div",{tabIndex:a?0:-1,onFocus:h,ref:p,"data-testid":"sentinelStart"}),Ir.cloneElement(t,{ref:x,onFocus:m}),(0,ef.jsx)("div",{tabIndex:a?0:-1,onFocus:h,ref:c,"data-testid":"sentinelEnd"})]})}var dP=bj;var kn=P(N());function Sj(e){return typeof e=="function"?e():e}function Cj(e){return e?e.props.hasOwnProperty("in"):!1}var P_=()=>{},Dy=new Ly;function wj(e){let{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,closeAfterTransition:n=!1,onTransitionEnter:s,onTransitionExited:i,children:a,onClose:l,open:p,rootRef:c}=e,u=kn.useRef({}),f=kn.useRef(null),g=kn.useRef(null),v=qt(g,c),[x,b]=kn.useState(!p),m=Cj(a),h=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(h=!1);let d=()=>or(f.current),T=()=>(u.current.modalRef=g.current,u.current.mount=f.current,u.current),S=()=>{Dy.mount(T(),{disableScrollLock:o}),g.current&&(g.current.scrollTop=0)},C=go(()=>{let M=Sj(t)||d().body;Dy.add(T(),M),g.current&&S()}),w=()=>Dy.isTopModal(T()),E=go(M=>{f.current=M,M&&(p&&w()?S():g.current&&Dp(g.current,h))}),_=kn.useCallback(()=>{Dy.remove(T(),h)},[h]);kn.useEffect(()=>()=>{_()},[_]),kn.useEffect(()=>{p?C():(!m||!n)&&_()},[p,_,m,n,C]);let y=M=>A=>{M.onKeyDown?.(A),!(A.key!=="Escape"||A.which===229||!w())&&(r||(A.stopPropagation(),l&&l(A,"escapeKeyDown")))},R=M=>A=>{M.onClick?.(A),A.target===A.currentTarget&&l&&l(A,"backdropClick")};return{getRootProps:(M={})=>{let A=bu(e);delete A.onTransitionEnter,delete A.onTransitionExited;let H={...A,...M};return{role:"presentation",...H,onKeyDown:y(H),ref:v}},getBackdropProps:(M={})=>{let A=M;return{"aria-hidden":!0,...A,onClick:R(A),open:p}},getTransitionProps:()=>{let M=()=>{b(!1),s&&s()},A=()=>{b(!0),i&&i(),n&&_()};return{onEnter:ap(M,a?.props.onEnter??P_),onExited:ap(A,a?.props.onExited??P_)}},rootRef:v,portalRef:E,isTopModal:w,exited:x,hasTransition:m}}var b_=wj;function S_(e){return U("MuiModal",e)}var Wle=q("MuiModal",["root","hidden","backdrop"]);var Fp=P(k()),Ej=e=>{let{open:t,exited:r,classes:o}=e;return z({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},S_,o)},Rj=O("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(Y(({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"}}]}))),_j=O(Yu,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Oj=Fy.forwardRef(function(t,r){let o=G({name:"MuiModal",props:t}),{BackdropComponent:n=_j,BackdropProps:s,classes:i,className:a,closeAfterTransition:l=!1,children:p,container:c,component:u,components:f={},componentsProps:g={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:b=!1,disablePortal:m=!1,disableRestoreFocus:h=!1,disableScrollLock:d=!1,hideBackdrop:T=!1,keepMounted:S=!1,onBackdropClick:C,onClose:w,onTransitionEnter:E,onTransitionExited:_,open:y,slotProps:R={},slots:I={},theme:D,...W}=o,M={...o,closeAfterTransition:l,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:b,disablePortal:m,disableRestoreFocus:h,disableScrollLock:d,hideBackdrop:T,keepMounted:S},{getRootProps:A,getBackdropProps:H,getTransitionProps:re,portalRef:V,isTopModal:ge,exited:me,hasTransition:Ee}=b_({...M,rootRef:r}),Te={...M,exited:me},ue=Ej(Te),X={};if(p.props.tabIndex===void 0&&(X.tabIndex="-1"),Ee){let{onEnter:xe,onExited:ie}=re();X.onEnter=xe,X.onExited=ie}let Q={slots:{root:f.Root,backdrop:f.Backdrop,...I},slotProps:{...g,...R}},[Pe,ae]=le("root",{ref:r,elementType:Rj,externalForwardedProps:{...Q,...W,component:u},getSlotProps:A,ownerState:Te,className:L(a,ue?.root,!Te.open&&Te.exited&&ue?.hidden)}),[ve,fe]=le("backdrop",{ref:s?.ref,elementType:n,externalForwardedProps:Q,shouldForwardComponentProp:!0,additionalProps:s,getSlotProps:xe=>H({...xe,onClick:ie=>{C&&C(ie),xe?.onClick&&xe.onClick(ie)}}),className:L(s?.className,ue?.backdrop),ownerState:Te});return!S&&!y&&(!Ee||me)?null:(0,Fp.jsx)(Gu,{ref:V,container:c,disablePortal:m,children:(0,Fp.jsxs)(Pe,{...ae,children:[!T&&n?(0,Fp.jsx)(ve,{...fe}):null,(0,Fp.jsx)(dP,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:h,isEnabled:ge,open:y,children:Fy.cloneElement(p,X)})]})})}),tf=Oj;function C_(e){return U("MuiDialog",e)}var Ij=q("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),jy=Ij;var w_=P(N()),kj=w_.createContext({}),$y=kj;var jp=P(k()),Nj=O(Yu,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),Aj=e=>{let{classes:t,scroll:r,maxWidth:o,fullWidth:n,fullScreen:s}=e,i={root:["root"],container:["container",`scroll${F(r)}`],paper:["paper",`paperScroll${F(r)}`,`paperWidth${F(String(o))}`,n&&"paperFullWidth",s&&"paperFullScreen"]};return z(i,C_,t)},Mj=O(tf,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Lj=O("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.container,t[`scroll${F(r.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),Dj=O($o,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.paper,t[`scrollPaper${F(r.scroll)}`],t[`paperWidth${F(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(Y(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${jy.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${jy.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${jy.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Fj=$p.forwardRef(function(t,r){let o=G({props:t,name:"MuiDialog"}),n=mt(),s={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":a,"aria-modal":l=!0,BackdropComponent:p,BackdropProps:c,children:u,className:f,disableEscapeKeyDown:g=!1,fullScreen:v=!1,fullWidth:x=!1,maxWidth:b="sm",onBackdropClick:m,onClick:h,onClose:d,open:T,PaperComponent:S=$o,PaperProps:C={},scroll:w="paper",slots:E={},slotProps:_={},TransitionComponent:y=Lp,transitionDuration:R=s,TransitionProps:I,...D}=o,W={...o,disableEscapeKeyDown:g,fullScreen:v,fullWidth:x,maxWidth:b,scroll:w},M=Aj(W),A=$p.useRef(),H=de=>{A.current=de.target===de.currentTarget},re=de=>{h&&h(de),A.current&&(A.current=null,m&&m(de),d&&d(de,"backdropClick"))},V=Fo(a),ge=$p.useMemo(()=>({titleId:V}),[V]),me={transition:y,...E},Ee={transition:I,paper:C,backdrop:c,..._},Te={slots:me,slotProps:Ee},[ue,X]=le("root",{elementType:Mj,shouldForwardComponentProp:!0,externalForwardedProps:Te,ownerState:W,className:L(M.root,f),ref:r}),[Q,Pe]=le("backdrop",{elementType:Nj,shouldForwardComponentProp:!0,externalForwardedProps:Te,ownerState:W}),[ae,ve]=le("paper",{elementType:Dj,shouldForwardComponentProp:!0,externalForwardedProps:Te,ownerState:W,className:L(M.paper,C.className)}),[fe,xe]=le("container",{elementType:Lj,externalForwardedProps:Te,ownerState:W,className:L(M.container)}),[ie,Be]=le("transition",{elementType:Lp,externalForwardedProps:Te,ownerState:W,additionalProps:{appear:!0,in:T,timeout:R,role:"presentation"}});return(0,jp.jsx)(ue,{closeAfterTransition:!0,slots:{backdrop:Q},slotProps:{backdrop:{transitionDuration:R,as:p,...Pe}},disableEscapeKeyDown:g,onClose:d,open:T,onClick:re,...X,...D,children:(0,jp.jsx)(ie,{...Be,children:(0,jp.jsx)(fe,{onMouseDown:H,...xe,children:(0,jp.jsx)(ae,{as:S,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":V,"aria-modal":l,...ve,children:(0,jp.jsx)($y.Provider,{value:ge,children:u})})})})})}),Vy=Fj;var O_=P(N());function E_(e){return U("MuiDialogContent",e)}var kpe=q("MuiDialogContent",["root","dividers"]);function R_(e){return U("MuiDialogTitle",e)}var jj=q("MuiDialogTitle",["root"]),__=jj;var I_=P(k()),$j=e=>{let{classes:t,dividers:r}=e;return z({root:["root",r&&"dividers"]},E_,t)},Vj=O("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})(Y(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${__.root} + &`]:{paddingTop:0}}}]}))),Bj=O_.forwardRef(function(t,r){let o=G({props:t,name:"MuiDialogContent"}),{className:n,dividers:s=!1,...i}=o,a={...o,dividers:s},l=$j(a);return(0,I_.jsx)(Vj,{className:L(l.root,n),ownerState:a,ref:r,...i})}),By=Bj;var Uy=P(N());var k_=P(k()),Uj=e=>{let{classes:t}=e;return z({root:["root"]},R_,t)},zj=O(zr,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Wj=Uy.forwardRef(function(t,r){let o=G({props:t,name:"MuiDialogTitle"}),{className:n,id:s,...i}=o,a=o,l=Uj(a),{titleId:p=s}=Uy.useContext($y);return(0,k_.jsx)(zj,{component:"h2",className:L(l.root,n),ownerState:a,ref:r,variant:"h6",id:s??p,...i})}),zy=Wj;var A_=P(N());function N_(e){return U("MuiDivider",e)}var Hj=q("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Wy=Hj;var mP=P(k()),Gj=e=>{let{absolute:t,children:r,classes:o,flexItem:n,light:s,orientation:i,textAlign:a,variant:l}=e;return z({root:["root",t&&"absolute",l,s&&"light",i==="vertical"&&"vertical",n&&"flexItem",r&&"withChildren",r&&i==="vertical"&&"withChildrenVertical",a==="right"&&i!=="vertical"&&"textAlignRight",a==="left"&&i!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",i==="vertical"&&"wrapperVertical"]},N_,o)},qj=O("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&t.textAlignLeft]}})(Y(({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.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:ye(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%"}}}]}))),Kj=O("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(Y(({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)`}}]}))),yP=A_.forwardRef(function(t,r){let o=G({props:t,name:"MuiDivider"}),{absolute:n=!1,children:s,className:i,orientation:a="horizontal",component:l=s||a==="vertical"?"div":"hr",flexItem:p=!1,light:c=!1,role:u=l!=="hr"?"separator":void 0,textAlign:f="center",variant:g="fullWidth",...v}=o,x={...o,absolute:n,component:l,flexItem:p,light:c,orientation:a,role:u,textAlign:f,variant:g},b=Gj(x);return(0,mP.jsx)(qj,{as:l,className:L(b.root,i),role:u,ref:r,ownerState:x,"aria-orientation":u==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...v,children:s?(0,mP.jsx)(Kj,{className:b.wrapper,ownerState:x,children:s}):null})});yP&&(yP.muiSkipListHighlight=!0);var Wo=yP;var M_=P(N());var L_=P(k()),Yj=e=>{let{classes:t,disableUnderline:r,startAdornment:o,endAdornment:n,size:s,hiddenLabel:i,multiline:a}=e,l={root:["root",!r&&"underline",o&&"adornedStart",n&&"adornedEnd",s==="small"&&`size${F(s)}`,i&&"hiddenLabel",a&&"multiline"],input:["input"]},p=z(l,LR,t);return{...t,...p}},Qj=O(Ja,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...Qa(e,t),!r.disableUnderline&&t.underline]}})(Y(({theme:e})=>{let t=e.palette.mode==="light",r=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",n=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,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:n,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${ao.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${ao.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s},variants:[{props:({ownerState:i})=>!i.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"},[`&.${ao.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ao.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:r}`,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(.${ao.disabled}, .${ao.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${ao.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ve()).map(([i])=>({props:{disableUnderline:!1,color:i},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i]?.main}`}}})),{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:12}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:12}},{props:({ownerState:i})=>i.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:i,size:a})=>i.multiline&&a==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel&&i.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),Xj=O(Za,{name:"MuiFilledInput",slot:"Input",overridesResolver:Xa})(Y(({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}}]}))),D_=M_.forwardRef(function(t,r){let o=G({props:t,name:"MuiFilledInput"}),{disableUnderline:n=!1,components:s={},componentsProps:i,fullWidth:a=!1,hiddenLabel:l,inputComponent:p="input",multiline:c=!1,slotProps:u,slots:f={},type:g="text",...v}=o,x={...o,disableUnderline:n,fullWidth:a,inputComponent:p,multiline:c,type:g},b=Yj(o),m={root:{ownerState:x},input:{ownerState:x}},h=u??i?qe(m,u??i):m,d=f.root??s.Root??Qj,T=f.input??s.Input??Xj;return(0,L_.jsx)(el,{slots:{root:d,input:T},slotProps:h,fullWidth:a,inputComponent:p,multiline:c,ref:r,type:g,...v,classes:b})});D_.muiName="Input";var rf=D_;var Gr=P(N());function F_(e){return U("MuiFormControl",e)}var Dce=q("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var hP=P(k()),Jj=e=>{let{classes:t,margin:r,fullWidth:o}=e,n={root:["root",r!=="none"&&`margin${F(r)}`,o&&"fullWidth"]};return z(n,F_,t)},Zj=O("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`margin${F(r.margin)}`],r.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%"}}]}),e$=Gr.forwardRef(function(t,r){let o=G({props:t,name:"MuiFormControl"}),{children:n,className:s,color:i="primary",component:a="div",disabled:l=!1,error:p=!1,focused:c,fullWidth:u=!1,hiddenLabel:f=!1,margin:g="none",required:v=!1,size:x="medium",variant:b="outlined",...m}=o,h={...o,color:i,component:a,disabled:l,error:p,fullWidth:u,hiddenLabel:f,margin:g,required:v,size:x,variant:b},d=Jj(h),[T,S]=Gr.useState(()=>{let A=!1;return n&&Gr.Children.forEach(n,H=>{if(!gp(H,["Input","Select"]))return;let re=gp(H,["Select"])?H.props.input:H;re&&OR(re.props)&&(A=!0)}),A}),[C,w]=Gr.useState(()=>{let A=!1;return n&&Gr.Children.forEach(n,H=>{gp(H,["Input","Select"])&&(Ka(H.props,!0)||Ka(H.props.inputProps,!0))&&(A=!0)}),A}),[E,_]=Gr.useState(!1);l&&E&&_(!1);let y=c!==void 0&&!l?c:E,R,I=Gr.useRef(!1),D=Gr.useCallback(()=>{w(!0)},[]),W=Gr.useCallback(()=>{w(!1)},[]),M=Gr.useMemo(()=>({adornedStart:T,setAdornedStart:S,color:i,disabled:l,error:p,filled:C,focused:y,fullWidth:u,hiddenLabel:f,size:x,onBlur:()=>{_(!1)},onFocus:()=>{_(!0)},onEmpty:W,onFilled:D,registerEffect:R,required:v,variant:b}),[T,i,l,p,C,y,u,f,R,W,D,v,x,b]);return(0,hP.jsx)(Np.Provider,{value:M,children:(0,hP.jsx)(Zj,{as:a,ownerState:h,className:L(d.root,s),ref:r,...m,children:n})})}),gP=e$;var Hy=P(N());function j_(e){return U("MuiFormControlLabel",e)}var t$=q("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Vp=t$;var Bp=P(k()),r$=e=>{let{classes:t,disabled:r,labelPlacement:o,error:n,required:s}=e,i={root:["root",r&&"disabled",`labelPlacement${F(o)}`,n&&"error",s&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",n&&"error"]};return z(i,j_,t)},o$=O("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${Vp.label}`]:t.label},t.root,t[`labelPlacement${F(r.labelPlacement)}`]]}})(Y(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Vp.disabled}`]:{cursor:"default"},[`& .${Vp.label}`]:{[`&.${Vp.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),n$=O("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Y(({theme:e})=>({[`&.${Vp.error}`]:{color:(e.vars||e).palette.error.main}}))),s$=Hy.forwardRef(function(t,r){let o=G({props:t,name:"MuiFormControlLabel"}),{checked:n,className:s,componentsProps:i={},control:a,disabled:l,disableTypography:p,inputRef:c,label:u,labelPlacement:f="end",name:g,onChange:v,required:x,slots:b={},slotProps:m={},value:h,...d}=o,T=hr(),S=l??a.props.disabled??T?.disabled,C=x??a.props.required,w={disabled:S,required:C};["checked","name","onChange","value","inputRef"].forEach(M=>{typeof a.props[M]>"u"&&typeof o[M]<"u"&&(w[M]=o[M])});let E=io({props:o,muiFormControl:T,states:["error"]}),_={...o,disabled:S,labelPlacement:f,required:C,error:E.error},y=r$(_),R={slots:b,slotProps:{...i,...m}},[I,D]=le("typography",{elementType:zr,externalForwardedProps:R,ownerState:_}),W=u;return W!=null&&W.type!==zr&&!p&&(W=(0,Bp.jsx)(I,{component:"span",...D,className:L(y.label,D?.className),children:W})),(0,Bp.jsxs)(o$,{className:L(y.root,s),ownerState:_,ref:r,...d,children:[Hy.cloneElement(a,w),C?(0,Bp.jsxs)("div",{children:[W,(0,Bp.jsxs)(n$,{ownerState:_,"aria-hidden":!0,className:y.asterisk,children:["\u2009","*"]})]}):W]})}),Gy=s$;var B_=P(N());function $_(e){return U("MuiFormHelperText",e)}var i$=q("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),vP=i$;var TP=P(k()),V_,a$=e=>{let{classes:t,contained:r,size:o,disabled:n,error:s,filled:i,focused:a,required:l}=e,p={root:["root",n&&"disabled",s&&"error",o&&`size${F(o)}`,r&&"contained",a&&"focused",i&&"filled",l&&"required"]};return z(p,$_,t)},l$=O("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.size&&t[`size${F(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(Y(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${vP.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${vP.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}}]}))),p$=B_.forwardRef(function(t,r){let o=G({props:t,name:"MuiFormHelperText"}),{children:n,className:s,component:i="p",disabled:a,error:l,filled:p,focused:c,margin:u,required:f,variant:g,...v}=o,x=hr(),b=io({props:o,muiFormControl:x,states:["variant","size","disabled","error","filled","focused","required"]}),m={...o,component:i,contained:b.variant==="filled"||b.variant==="outlined",variant:b.variant,size:b.size,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required};delete m.ownerState;let h=a$(m);return(0,TP.jsx)(l$,{as:i,className:L(h.root,s),ref:r,...v,ownerState:m,children:n===" "?V_||(V_=(0,TP.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):n})}),Bs=p$;var z_=P(N());function U_(e){return U("MuiFormLabel",e)}var c$=q("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Li=c$;var xP=P(k()),u$=e=>{let{classes:t,color:r,focused:o,disabled:n,error:s,filled:i,required:a}=e,l={root:["root",`color${F(r)}`,n&&"disabled",s&&"error",i&&"filled",o&&"focused",a&&"required"],asterisk:["asterisk",s&&"error"]};return z(l,U_,t)},f$=O("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.color==="secondary"&&t.colorSecondary,r.filled&&t.filled]}})(Y(({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(Ve()).map(([t])=>({props:{color:t},style:{[`&.${Li.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Li.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Li.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),d$=O("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Y(({theme:e})=>({[`&.${Li.error}`]:{color:(e.vars||e).palette.error.main}}))),m$=z_.forwardRef(function(t,r){let o=G({props:t,name:"MuiFormLabel"}),{children:n,className:s,color:i,component:a="label",disabled:l,error:p,filled:c,focused:u,required:f,...g}=o,v=hr(),x=io({props:o,muiFormControl:v,states:["color","required","focused","disabled","error","filled"]}),b={...o,color:x.color||"primary",component:a,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},m=u$(b);return(0,xP.jsxs)(f$,{as:a,ownerState:b,className:L(m.root,s),ref:r,...g,children:[n,x.required&&(0,xP.jsxs)(d$,{ownerState:b,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]})}),PP=m$;var rl=P(N());var W_=P(k());function SP(e){return`scale(${e}, ${e**2})`}var y$={entering:{opacity:1,transform:SP(1)},entered:{opacity:1,transform:"none"}},bP=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),CP=rl.forwardRef(function(t,r){let{addEndListener:o,appear:n=!0,children:s,easing:i,in:a,onEnter:l,onEntered:p,onEntering:c,onExit:u,onExited:f,onExiting:g,style:v,timeout:x="auto",TransitionComponent:b=Fa,...m}=t,h=jo(),d=rl.useRef(),T=mt(),S=rl.useRef(null),C=it(S,no(s),r),w=M=>A=>{if(M){let H=S.current;A===void 0?M(H):M(H,A)}},E=w(c),_=w((M,A)=>{ay(M);let{duration:H,delay:re,easing:V}=Ms({style:v,timeout:x,easing:i},{mode:"enter"}),ge;x==="auto"?(ge=T.transitions.getAutoHeightDuration(M.clientHeight),d.current=ge):ge=H,M.style.transition=[T.transitions.create("opacity",{duration:ge,delay:re}),T.transitions.create("transform",{duration:bP?ge:ge*.666,delay:re,easing:V})].join(","),l&&l(M,A)}),y=w(p),R=w(g),I=w(M=>{let{duration:A,delay:H,easing:re}=Ms({style:v,timeout:x,easing:i},{mode:"exit"}),V;x==="auto"?(V=T.transitions.getAutoHeightDuration(M.clientHeight),d.current=V):V=A,M.style.transition=[T.transitions.create("opacity",{duration:V,delay:H}),T.transitions.create("transform",{duration:bP?V:V*.666,delay:bP?H:H||V*.333,easing:re})].join(","),M.style.opacity=0,M.style.transform=SP(.75),u&&u(M)}),D=w(f);return(0,W_.jsx)(b,{appear:n,in:a,nodeRef:S,onEnter:_,onEntered:y,onEntering:E,onExit:I,onExited:D,onExiting:R,addEndListener:M=>{x==="auto"&&h.start(d.current||0,M),o&&o(S.current,M)},timeout:x==="auto"?null:x,...m,children:(M,{ownerState:A,...H})=>rl.cloneElement(s,{style:{opacity:0,transform:SP(.75),visibility:M==="exited"&&!a?"hidden":void 0,...y$[M],...v,...s.props.style},ref:C,...H})})});CP&&(CP.muiSupportAuto=!0);var of=CP;var h$=ix({themeId:Cr}),wP=h$;var H_=P(N());var G_=P(k()),g$=e=>{let{classes:t,disableUnderline:r}=e,n=z({root:["root",!r&&"underline"],input:["input"]},AR,t);return{...t,...n}},v$=O(Ja,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...Qa(e,t),!r.disableUnderline&&t.underline]}})(Y(({theme:e})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:o})=>o.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:o})=>!o.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"},[`&.${Zn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Zn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,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(.${Zn.disabled}, .${Zn.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Zn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ve()).map(([o])=>({props:{color:o,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[o].main}`}}}))]}})),T$=O(Za,{name:"MuiInput",slot:"Input",overridesResolver:Xa})({}),q_=H_.forwardRef(function(t,r){let o=G({props:t,name:"MuiInput"}),{disableUnderline:n=!1,components:s={},componentsProps:i,fullWidth:a=!1,inputComponent:l="input",multiline:p=!1,slotProps:c,slots:u={},type:f="text",...g}=o,v=g$(o),b={root:{ownerState:{disableUnderline:n}}},m=c??i?qe(c??i,b):b,h=u.root??s.Root??v$,d=u.input??s.Input??T$;return(0,G_.jsx)(el,{slots:{root:h,input:d},slotProps:m,fullWidth:a,inputComponent:l,multiline:p,ref:r,type:f,...g,classes:v})});q_.muiName="Input";var nf=q_;var Y_=P(N());function K_(e){return U("MuiInputLabel",e)}var wfe=q("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var Q_=P(k()),x$=e=>{let{classes:t,formControl:r,size:o,shrink:n,disableAnimation:s,variant:i,required:a}=e,l={root:["root",r&&"formControl",!s&&"animated",n&&"shrink",o&&o!=="normal"&&`size${F(o)}`,i],asterisk:[a&&"asterisk"]},p=z(l,K_,t);return{...t,...p}},P$=O(PP,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${Li.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(Y(({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:r})=>t==="filled"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:r,size:o})=>t==="filled"&&r.shrink&&o==="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:r})=>t==="outlined"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),b$=Y_.forwardRef(function(t,r){let o=G({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:s,shrink:i,variant:a,className:l,...p}=o,c=hr(),u=i;typeof u>"u"&&c&&(u=c.filled||c.focused||c.adornedStart);let f=io({props:o,muiFormControl:c,states:["size","variant","required","focused"]}),g={...o,disableAnimation:n,formControl:c,shrink:u,size:f.size,variant:f.variant,required:f.required,focused:f.focused},v=x$(g);return(0,Q_.jsx)(P$,{"data-shrink":u,ref:r,className:L(v.root,l),...p,ownerState:g,classes:v})}),EP=b$;var qy=P(N());function X_(e){return U("MuiLink",e)}var S$=q("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),J_=S$;var C$=({theme:e,ownerState:t})=>{let r=t.color,o=Sn(e,`palette.${r}.main`,!1)||Sn(e,`palette.${r}`,!1)||t.color,n=Sn(e,`palette.${r}.mainChannel`)||Sn(e,`palette.${r}Channel`);return"vars"in e&&n?`rgba(${n} / 0.4)`:ye(o,.4)},Z_=C$;var tO=P(k()),eO={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},w$=e=>{let{classes:t,component:r,focusVisible:o,underline:n}=e,s={root:["root",`underline${F(n)}`,r==="button"&&"button",o&&"focusVisible"]};return z(s,X_,t)},E$=O(zr,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`underline${F(r.underline)}`],r.component==="button"&&t.button]}})(Y(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:r})=>t==="always"&&r.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:ye(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:ye(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:ye(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${J_.focusVisible}`]:{outline:"auto"}}}]}))),R$=qy.forwardRef(function(t,r){let o=G({props:t,name:"MuiLink"}),n=mt(),{className:s,color:i="primary",component:a="a",onBlur:l,onFocus:p,TypographyClasses:c,underline:u="always",variant:f="inherit",sx:g,...v}=o,[x,b]=qy.useState(!1),m=S=>{En(S.target)||b(!1),l&&l(S)},h=S=>{En(S.target)&&b(!0),p&&p(S)},d={...o,color:i,component:a,focusVisible:x,underline:u,variant:f},T=w$(d);return(0,tO.jsx)(E$,{color:i,className:L(T.root,s),classes:c,component:a,onBlur:m,onFocus:h,ref:r,ownerState:d,variant:f,...v,sx:[...eO[i]===void 0?[{color:i}]:[],...Array.isArray(g)?g:[g]],style:{...v.style,...u==="always"&&i!=="inherit"&&!eO[i]&&{"--Link-underlineColor":Z_({theme:n,ownerState:d})}}})}),Up=R$;var Ky=P(N());var rO=P(N()),_$=rO.createContext({}),Xt=_$;function oO(e){return U("MuiList",e)}var dde=q("MuiList",["root","padding","dense","subheader"]);var Yy=P(k()),O$=e=>{let{classes:t,disablePadding:r,dense:o,subheader:n}=e;return z({root:["root",!r&&"padding",o&&"dense",n&&"subheader"]},oO,t)},I$=O("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.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}}]}),k$=Ky.forwardRef(function(t,r){let o=G({props:t,name:"MuiList"}),{children:n,className:s,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:p,...c}=o,u=Ky.useMemo(()=>({dense:a}),[a]),f={...o,component:i,dense:a,disablePadding:l},g=O$(f);return(0,Yy.jsx)(Xt.Provider,{value:u,children:(0,Yy.jsxs)(I$,{as:i,className:L(g.root,s),ref:r,ownerState:f,...c,children:[p,n]})})}),Dt=k$;var rs=P(N());function nO(e){return U("MuiListItem",e)}var Rde=q("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);var Di=P(N());function sO(e){return U("MuiListItemButton",e)}var N$=q("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Us=N$;var RP=P(k()),A$=(e,t)=>{let{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters]},M$=e=>{let{alignItems:t,classes:r,dense:o,disabled:n,disableGutters:s,divider:i,selected:a}=e,p=z({root:["root",o&&"dense",!s&&"gutters",i&&"divider",n&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},sO,r);return{...r,...p}},L$=O(vo,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:A$})(Y(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Us.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ye(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Us.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ye(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Us.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ye(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ye(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Us.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Us.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),D$=Di.forwardRef(function(t,r){let o=G({props:t,name:"MuiListItemButton"}),{alignItems:n="center",autoFocus:s=!1,component:i="div",children:a,dense:l=!1,disableGutters:p=!1,divider:c=!1,focusVisibleClassName:u,selected:f=!1,className:g,...v}=o,x=Di.useContext(Xt),b=Di.useMemo(()=>({dense:l||x.dense||!1,alignItems:n,disableGutters:p}),[n,x.dense,l,p]),m=Di.useRef(null);Ri(()=>{s&&m.current&&m.current.focus()},[s]);let h={...o,alignItems:n,dense:b.dense,disableGutters:p,divider:c,selected:f},d=M$(h),T=it(m,r);return(0,RP.jsx)(Xt.Provider,{value:b,children:(0,RP.jsx)(L$,{ref:T,href:v.href||v.to,component:(v.href||v.to)&&i==="div"?"button":i,focusVisibleClassName:L(d.focusVisible,u),ownerState:h,className:L(d.root,g),...v,classes:d,children:a})})}),qr=D$;var Qy=P(N());function iO(e){return U("MuiListItemSecondaryAction",e)}var Xde=q("MuiListItemSecondaryAction",["root","disableGutters"]);var aO=P(k()),F$=e=>{let{disableGutters:t,classes:r}=e;return z({root:["root",t&&"disableGutters"]},iO,r)},j$=O("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),lO=Qy.forwardRef(function(t,r){let o=G({props:t,name:"MuiListItemSecondaryAction"}),{className:n,...s}=o,i=Qy.useContext(Xt),a={...o,disableGutters:i.disableGutters},l=F$(a);return(0,aO.jsx)(j$,{className:L(l.root,n),ownerState:a,ref:r,...s})});lO.muiName="ListItemSecondaryAction";var _P=lO;var Fi=P(k()),$$=(e,t)=>{let{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.hasSecondaryAction&&t.secondaryAction]},V$=e=>{let{alignItems:t,classes:r,dense:o,disableGutters:n,disablePadding:s,divider:i,hasSecondaryAction:a}=e;return z({root:["root",o&&"dense",!n&&"gutters",!s&&"padding",i&&"divider",t==="flex-start"&&"alignItemsFlexStart",a&&"secondaryAction"],container:["container"]},nO,r)},B$=O("div",{name:"MuiListItem",slot:"Root",overridesResolver:$$})(Y(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${Us.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),U$=O("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),z$=rs.forwardRef(function(t,r){let o=G({props:t,name:"MuiListItem"}),{alignItems:n="center",children:s,className:i,component:a,components:l={},componentsProps:p={},ContainerComponent:c="li",ContainerProps:{className:u,...f}={},dense:g=!1,disableGutters:v=!1,disablePadding:x=!1,divider:b=!1,secondaryAction:m,slotProps:h={},slots:d={},...T}=o,S=rs.useContext(Xt),C=rs.useMemo(()=>({dense:g||S.dense||!1,alignItems:n,disableGutters:v}),[n,S.dense,g,v]),w=rs.useRef(null),E=rs.Children.toArray(s),_=E.length&&gp(E[E.length-1],["ListItemSecondaryAction"]),y={...o,alignItems:n,dense:C.dense,disableGutters:v,disablePadding:x,divider:b,hasSecondaryAction:_},R=V$(y),I=it(w,r),D=d.root||l.Root||B$,W=h.root||p.root||{},M={className:L(R.root,W.className,i),...T},A=a||"li";return _?(A=!M.component&&!a?"div":A,c==="li"&&(A==="li"?A="div":M.component==="li"&&(M.component="div")),(0,Fi.jsx)(Xt.Provider,{value:C,children:(0,Fi.jsxs)(U$,{as:c,className:L(R.container,u),ref:I,ownerState:y,...f,children:[(0,Fi.jsx)(D,{...W,...!Ai(D)&&{as:A,ownerState:{...y,...W.ownerState}},...M,children:E}),E.pop()]})})):(0,Fi.jsx)(Xt.Provider,{value:C,children:(0,Fi.jsxs)(D,{...W,as:A,ref:I,...!Ai(D)&&{ownerState:{...y,...W.ownerState}},...M,children:[E,m&&(0,Fi.jsx)(_P,{children:m})]})})}),os=z$;var Xy=P(N());function pO(e){return U("MuiListItemAvatar",e)}var Rme=q("MuiListItemAvatar",["root","alignItemsFlexStart"]);var cO=P(k()),W$=e=>{let{alignItems:t,classes:r}=e;return z({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},pO,r)},H$=O("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}),G$=Xy.forwardRef(function(t,r){let o=G({props:t,name:"MuiListItemAvatar"}),{className:n,...s}=o,i=Xy.useContext(Xt),a={...o,alignItems:i.alignItems},l=W$(a);return(0,cO.jsx)(H$,{className:L(l.root,n),ownerState:a,ref:r,...s})}),Nn=G$;var Zy=P(N());function uO(e){return U("MuiListItemIcon",e)}var q$=q("MuiListItemIcon",["root","alignItemsFlexStart"]),Jy=q$;var fO=P(k()),K$=e=>{let{alignItems:t,classes:r}=e;return z({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},uO,r)},Y$=O("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(Y(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Q$=Zy.forwardRef(function(t,r){let o=G({props:t,name:"MuiListItemIcon"}),{className:n,...s}=o,i=Zy.useContext(Xt),a={...o,alignItems:i.alignItems},l=K$(a);return(0,fO.jsx)(Y$,{className:L(l.root,n),ownerState:a,ref:r,...s})}),ns=Q$;var eh=P(N());function dO(e){return U("MuiListItemText",e)}var X$=q("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),zs=X$;var sf=P(k()),J$=e=>{let{classes:t,inset:r,primary:o,secondary:n,dense:s}=e;return z({root:["root",r&&"inset",s&&"dense",o&&n&&"multiline"],primary:["primary"],secondary:["secondary"]},dO,t)},Z$=O("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${zs.primary}`]:t.primary},{[`& .${zs.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${hy.root}:where(& .${zs.primary})`]:{display:"block"},[`.${hy.root}:where(& .${zs.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),eV=eh.forwardRef(function(t,r){let o=G({props:t,name:"MuiListItemText"}),{children:n,className:s,disableTypography:i=!1,inset:a=!1,primary:l,primaryTypographyProps:p,secondary:c,secondaryTypographyProps:u,slots:f={},slotProps:g={},...v}=o,{dense:x}=eh.useContext(Xt),b=l??n,m=c,h={...o,disableTypography:i,inset:a,primary:!!b,secondary:!!m,dense:x},d=J$(h),T={slots:f,slotProps:{primary:p,secondary:u,...g}},[S,C]=le("root",{className:L(d.root,s),elementType:Z$,externalForwardedProps:{...T,...v},ownerState:h,ref:r}),[w,E]=le("primary",{className:d.primary,elementType:zr,externalForwardedProps:T,ownerState:h}),[_,y]=le("secondary",{className:d.secondary,elementType:zr,externalForwardedProps:T,ownerState:h});return b!=null&&b.type!==zr&&!i&&(b=(0,sf.jsx)(w,{variant:x?"body2":"body1",component:E?.variant?void 0:"span",...E,children:b})),m!=null&&m.type!==zr&&!i&&(m=(0,sf.jsx)(_,{variant:"body2",color:"textSecondary",...y,children:m})),(0,sf.jsxs)(S,{...C,children:[b,m]})}),It=eV;var ji=P(N());var xo=P(N());var mO=Oa;var hO=P(k());function OP(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function yO(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function gO(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join(""))}function af(e,t,r,o,n,s){let i=!1,a=n(e,t,t?r:!1);for(;a;){if(a===e.firstChild){if(i)return!1;i=!0}let l=o?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!gO(a,s)||l)a=n(e,a,r);else return a.focus(),!0}return!1}var tV=xo.forwardRef(function(t,r){let{actions:o,autoFocus:n=!1,autoFocusItem:s=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:p=!1,onKeyDown:c,variant:u="selectedMenu",...f}=t,g=xo.useRef(null),v=xo.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ri(()=>{n&&g.current.focus()},[n]),xo.useImperativeHandle(o,()=>({adjustStyleForScrollbar:(d,{direction:T})=>{let S=!g.current.style.width;if(d.clientHeight<g.current.clientHeight&&S){let C=`${mO(vp(d))}px`;g.current.style[T==="rtl"?"paddingLeft":"paddingRight"]=C,g.current.style.width=`calc(100% + ${C})`}return g.current}}),[]);let x=d=>{let T=g.current,S=d.key;if(d.ctrlKey||d.metaKey||d.altKey){c&&c(d);return}let w=Na(T).activeElement;if(S==="ArrowDown")d.preventDefault(),af(T,w,p,l,OP);else if(S==="ArrowUp")d.preventDefault(),af(T,w,p,l,yO);else if(S==="Home")d.preventDefault(),af(T,null,p,l,OP);else if(S==="End")d.preventDefault(),af(T,null,p,l,yO);else if(S.length===1){let E=v.current,_=S.toLowerCase(),y=performance.now();E.keys.length>0&&(y-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&_!==E.keys[0]&&(E.repeating=!1)),E.lastTime=y,E.keys.push(_);let R=w&&!E.repeating&&gO(w,E);E.previousKeyMatched&&(R||af(T,w,!1,l,OP,E))?d.preventDefault():E.previousKeyMatched=!1}c&&c(d)},b=it(g,r),m=-1;xo.Children.forEach(i,(d,T)=>{if(!xo.isValidElement(d)){m===T&&(m+=1,m>=i.length&&(m=-1));return}d.props.disabled||(u==="selectedMenu"&&d.props.selected||m===-1)&&(m=T),m===T&&(d.props.disabled||d.props.muiSkipListHighlight||d.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))});let h=xo.Children.map(i,(d,T)=>{if(T===m){let S={};return s&&(S.autoFocus=!0),d.props.tabIndex===void 0&&u==="selectedMenu"&&(S.tabIndex=0),xo.cloneElement(d,S)}return d});return(0,hO.jsx)(Dt,{role:"menu",ref:b,className:a,onKeyDown:x,tabIndex:n?0:-1,...f,children:h})}),IP=tV;var kr=P(N());function vO(e){return U("MuiPopover",e)}var Oye=q("MuiPopover",["root","paper"]);var rh=P(k());function TO(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function xO(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function PO(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function th(e){return typeof e=="function"?e():e}var rV=e=>{let{classes:t}=e;return z({root:["root"],paper:["paper"]},vO,t)},oV=O(tf,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),kP=O($o,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),nV=kr.forwardRef(function(t,r){let o=G({props:t,name:"MuiPopover"}),{action:n,anchorEl:s,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:p,className:c,container:u,elevation:f=8,marginThreshold:g=16,open:v,PaperProps:x={},slots:b={},slotProps:m={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:d,transitionDuration:T="auto",TransitionProps:S={},disableScrollLock:C=!1,...w}=o,E=kr.useRef(),_={...o,anchorOrigin:i,anchorReference:l,elevation:f,marginThreshold:g,transformOrigin:h,TransitionComponent:d,transitionDuration:T,TransitionProps:S},y=rV(_),R=kr.useCallback(()=>{if(l==="anchorPosition")return a;let fe=th(s),ie=(fe&&fe.nodeType===1?fe:Na(E.current).body).getBoundingClientRect();return{top:ie.top+TO(ie,i.vertical),left:ie.left+xO(ie,i.horizontal)}},[s,i.horizontal,i.vertical,a,l]),I=kr.useCallback(fe=>({vertical:TO(fe,h.vertical),horizontal:xO(fe,h.horizontal)}),[h.horizontal,h.vertical]),D=kr.useCallback(fe=>{let xe={width:fe.offsetWidth,height:fe.offsetHeight},ie=I(xe);if(l==="none")return{top:null,left:null,transformOrigin:PO(ie)};let Be=R(),de=Be.top-ie.vertical,be=Be.left-ie.horizontal,at=de+xe.height,ee=be+xe.width,Oe=vp(th(s)),Ce=Oe.innerHeight-g,Me=Oe.innerWidth-g;if(g!==null&&de<g){let Fe=de-g;de-=Fe,ie.vertical+=Fe}else if(g!==null&&at>Ce){let Fe=at-Ce;de-=Fe,ie.vertical+=Fe}if(g!==null&&be<g){let Fe=be-g;be-=Fe,ie.horizontal+=Fe}else if(ee>Me){let Fe=ee-Me;be-=Fe,ie.horizontal+=Fe}return{top:`${Math.round(de)}px`,left:`${Math.round(be)}px`,transformOrigin:PO(ie)}},[s,l,R,I,g]),[W,M]=kr.useState(v),A=kr.useCallback(()=>{let fe=E.current;if(!fe)return;let xe=D(fe);xe.top!==null&&fe.style.setProperty("top",xe.top),xe.left!==null&&(fe.style.left=xe.left),fe.style.transformOrigin=xe.transformOrigin,M(!0)},[D]);kr.useEffect(()=>(C&&window.addEventListener("scroll",A),()=>window.removeEventListener("scroll",A)),[s,C,A]);let H=()=>{A()},re=()=>{M(!1)};kr.useEffect(()=>{v&&A()}),kr.useImperativeHandle(n,()=>v?{updatePosition:()=>{A()}}:null,[v,A]),kr.useEffect(()=>{if(!v)return;let fe=cE(()=>{A()}),xe=vp(th(s));return xe.addEventListener("resize",fe),()=>{fe.clear(),xe.removeEventListener("resize",fe)}},[s,v,A]);let V=T,ge={slots:{transition:d,...b},slotProps:{transition:S,paper:x,...m}},[me,Ee]=le("transition",{elementType:of,externalForwardedProps:ge,ownerState:_,getSlotProps:fe=>({...fe,onEntering:(xe,ie)=>{fe.onEntering?.(xe,ie),H()},onExited:xe=>{fe.onExited?.(xe),re()}}),additionalProps:{appear:!0,in:v}});T==="auto"&&!me.muiSupportAuto&&(V=void 0);let Te=u||(s?Na(th(s)).body:void 0),[ue,{slots:X,slotProps:Q,...Pe}]=le("root",{ref:r,elementType:oV,externalForwardedProps:{...ge,...w},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:b.backdrop},slotProps:{backdrop:Tp(typeof m.backdrop=="function"?m.backdrop(_):m.backdrop,{invisible:!0})},container:Te,open:v},ownerState:_,className:L(y.root,c)}),[ae,ve]=le("paper",{ref:E,className:y.paper,elementType:kP,externalForwardedProps:ge,shouldForwardComponentProp:!0,additionalProps:{elevation:f,style:W?void 0:{opacity:0}},ownerState:_});return(0,rh.jsx)(ue,{...Pe,...!Ai(ue)&&{slots:X,slotProps:Q,disableScrollLock:C},children:(0,rh.jsx)(me,{...Ee,timeout:V,children:(0,rh.jsx)(ae,{...ve,children:p})})})}),NP=nV;function bO(e){return U("MuiMenu",e)}var Jye=q("MuiMenu",["root","paper","list"]);var AP=P(k()),sV={vertical:"top",horizontal:"right"},iV={vertical:"top",horizontal:"left"},aV=e=>{let{classes:t}=e;return z({root:["root"],paper:["paper"],list:["list"]},bO,t)},lV=O(NP,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),pV=O(kP,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),cV=O(IP,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),uV=ji.forwardRef(function(t,r){let o=G({props:t,name:"MuiMenu"}),{autoFocus:n=!0,children:s,className:i,disableAutoFocusItem:a=!1,MenuListProps:l={},onClose:p,open:c,PaperProps:u={},PopoverClasses:f,transitionDuration:g="auto",TransitionProps:{onEntering:v,...x}={},variant:b="selectedMenu",slots:m={},slotProps:h={},...d}=o,T=up(),S={...o,autoFocus:n,disableAutoFocusItem:a,MenuListProps:l,onEntering:v,PaperProps:u,transitionDuration:g,TransitionProps:x,variant:b},C=aV(S),w=n&&!a&&c,E=ji.useRef(null),_=(V,ge)=>{E.current&&E.current.adjustStyleForScrollbar(V,{direction:T?"rtl":"ltr"}),v&&v(V,ge)},y=V=>{V.key==="Tab"&&(V.preventDefault(),p&&p(V,"tabKeyDown"))},R=-1;ji.Children.map(s,(V,ge)=>{ji.isValidElement(V)&&(V.props.disabled||(b==="selectedMenu"&&V.props.selected||R===-1)&&(R=ge))});let I={slots:m,slotProps:{list:l,transition:x,paper:u,...h}},D=wu({elementType:m.root,externalSlotProps:h.root,ownerState:S,className:[C.root,i]}),[W,M]=le("paper",{className:C.paper,elementType:pV,externalForwardedProps:I,shouldForwardComponentProp:!0,ownerState:S}),[A,H]=le("list",{className:L(C.list,l.className),elementType:cV,shouldForwardComponentProp:!0,externalForwardedProps:I,getSlotProps:V=>({...V,onKeyDown:ge=>{y(ge),V.onKeyDown?.(ge)}}),ownerState:S}),re=typeof I.slotProps.transition=="function"?I.slotProps.transition(S):I.slotProps.transition;return(0,AP.jsx)(lV,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:T?"right":"left"},transformOrigin:T?sV:iV,slots:{root:m.root,paper:W,backdrop:m.backdrop,...m.transition&&{transition:m.transition}},slotProps:{root:D,paper:M,backdrop:typeof h.backdrop=="function"?h.backdrop(S):h.backdrop,transition:{...re,onEntering:(...V)=>{_(...V),re?.onEntering?.(...V)}}},open:c,ref:r,transitionDuration:g,ownerState:S,...d,classes:f,children:(0,AP.jsx)(A,{actions:E,autoFocus:n&&(R===-1||a),autoFocusItem:w,variant:b,...H,children:s})})}),zp=uV;var $i=P(N());function SO(e){return U("MuiMenuItem",e)}var fV=q("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Wp=fV;var MP=P(k()),dV=(e,t)=>{let{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},mV=e=>{let{disabled:t,dense:r,divider:o,disableGutters:n,selected:s,classes:i}=e,l=z({root:["root",r&&"dense",t&&"disabled",!n&&"gutters",o&&"divider",s&&"selected"]},SO,i);return{...i,...l}},yV=O(vo,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:dV})(Y(({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"}},[`&.${Wp.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ye(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Wp.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ye(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Wp.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ye(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ye(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Wp.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Wp.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Wy.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Wy.inset}`]:{marginLeft:52},[`& .${zs.root}`]:{marginTop:0,marginBottom:0},[`& .${zs.inset}`]:{paddingLeft:36},[`& .${Jy.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,[`& .${Jy.root} svg`]:{fontSize:"1.25rem"}}}]}))),hV=$i.forwardRef(function(t,r){let o=G({props:t,name:"MuiMenuItem"}),{autoFocus:n=!1,component:s="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:p,role:c="menuitem",tabIndex:u,className:f,...g}=o,v=$i.useContext(Xt),x=$i.useMemo(()=>({dense:i||v.dense||!1,disableGutters:l}),[v.dense,i,l]),b=$i.useRef(null);Ri(()=>{n&&b.current&&b.current.focus()},[n]);let m={...o,dense:x.dense,divider:a,disableGutters:l},h=mV(o),d=it(b,r),T;return o.disabled||(T=u!==void 0?u:-1),(0,MP.jsx)(Xt.Provider,{value:x,children:(0,MP.jsx)(yV,{ref:d,role:c,tabIndex:T,component:s,focusVisibleClassName:L(h.focusVisible,p),className:L(h.root,f),...g,ownerState:m,classes:h})})}),Vi=hV;var nh=P(N());function CO(e){return U("MuiNativeSelect",e)}var gV=q("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),oh=gV;var lf=P(k()),vV=e=>{let{classes:t,variant:r,disabled:o,multiple:n,open:s,error:i}=e,a={select:["select",r,o&&"disabled",n&&"multiple",i&&"error"],icon:["icon",`icon${F(r)}`,s&&"iconOpen",o&&"disabled"]};return z(a,CO,t)},LP=O("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${oh.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}}}]})),TV=O(LP,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ot,overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${oh.multiple}`]:t.multiple}]}})({}),DP=O("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${oh.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}}]})),xV=O(DP,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${F(r.variant)}`],r.open&&t.iconOpen]}})({}),PV=nh.forwardRef(function(t,r){let{className:o,disabled:n,error:s,IconComponent:i,inputRef:a,variant:l="standard",...p}=t,c={...t,disabled:n,variant:l,error:s},u=vV(c);return(0,lf.jsxs)(nh.Fragment,{children:[(0,lf.jsx)(TV,{ownerState:c,className:L(u.select,o),disabled:n,ref:a||r,...p}),t.multiple?null:(0,lf.jsx)(xV,{as:i,ownerState:c,className:u.icon})]})}),wO=PV;var sh=P(N());var qhe=P(N());var pf=P(k()),EO,bV=O("fieldset",{shouldForwardProp:ot})({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%"}),SV=O("legend",{shouldForwardProp:ot})(Y(({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 FP(e){let{children:t,classes:r,className:o,label:n,notched:s,...i}=e,a=n!=null&&n!=="",l={...e,notched:s,withLabel:a};return(0,pf.jsx)(bV,{"aria-hidden":!0,className:o,ownerState:l,...i,children:(0,pf.jsx)(SV,{ownerState:l,children:a?(0,pf.jsx)("span",{children:n}):EO||(EO=(0,pf.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"}))})})}var cf=P(k()),CV=e=>{let{classes:t}=e,o=z({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},MR,t);return{...t,...o}},wV=O(Ja,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Qa})(Y(({theme:e})=>{let 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 .${To.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${To.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${To.focused} .${To.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Ve()).map(([r])=>({props:{color:r},style:{[`&.${To.focused} .${To.notchedOutline}`]:{borderColor:(e.vars||e).palette[r].main}}})),{props:{},style:{[`&.${To.error} .${To.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${To.disabled} .${To.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:14}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:14}},{props:({ownerState:r})=>r.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:r,size:o})=>r.multiline&&o==="small",style:{padding:"8.5px 14px"}}]}})),EV=O(FP,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Y(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),RV=O(Za,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Xa})(Y(({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}}]}))),RO=sh.forwardRef(function(t,r){let o=G({props:t,name:"MuiOutlinedInput"}),{components:n={},fullWidth:s=!1,inputComponent:i="input",label:a,multiline:l=!1,notched:p,slots:c={},slotProps:u={},type:f="text",...g}=o,v=CV(o),x=hr(),b=io({props:o,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),m={...o,color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:x,fullWidth:s,hiddenLabel:b.hiddenLabel,multiline:l,size:b.size,type:f},h=c.root??n.Root??wV,d=c.input??n.Input??RV,[T,S]=le("notchedOutline",{elementType:EV,className:v.notchedOutline,shouldForwardComponentProp:!0,ownerState:m,externalForwardedProps:{slots:c,slotProps:u},additionalProps:{label:a!=null&&a!==""&&b.required?(0,cf.jsxs)(sh.Fragment,{children:[a,"\u2009","*"]}):a}});return(0,cf.jsx)(el,{slots:{root:h,input:d},slotProps:u,renderSuffix:C=>(0,cf.jsx)(T,{...S,notched:typeof p<"u"?p:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:s,inputComponent:i,multiline:l,ref:r,type:f,...g,classes:{...v,notchedOutline:null}})});RO.muiName="Input";var uf=RO;var Gp=P(N());var gt=P(N());function ih(e){return U("MuiSelect",e)}var _V=q("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Hp=_V;var Bi=P(k()),_O,OV=O(LP,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`&.${Hp.select}`]:t.select},{[`&.${Hp.select}`]:t[r.variant]},{[`&.${Hp.error}`]:t.error},{[`&.${Hp.multiple}`]:t.multiple}]}})({[`&.${Hp.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),IV=O(DP,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${F(r.variant)}`],r.open&&t.iconOpen]}})({}),kV=O("input",{shouldForwardProp:e=>Jm(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function OO(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function NV(e){return e==null||typeof e=="string"&&!e.trim()}var AV=e=>{let{classes:t,variant:r,disabled:o,multiple:n,open:s,error:i}=e,a={select:["select",r,o&&"disabled",n&&"multiple",i&&"error"],icon:["icon",`icon${F(r)}`,s&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]};return z(a,ih,t)},MV=gt.forwardRef(function(t,r){let{"aria-describedby":o,"aria-label":n,autoFocus:s,autoWidth:i,children:a,className:l,defaultOpen:p,defaultValue:c,disabled:u,displayEmpty:f,error:g=!1,IconComponent:v,inputRef:x,labelId:b,MenuProps:m={},multiple:h,name:d,onBlur:T,onChange:S,onClose:C,onFocus:w,onOpen:E,open:_,readOnly:y,renderValue:R,required:I,SelectDisplayProps:D={},tabIndex:W,type:M,value:A,variant:H="standard",...re}=t,[V,ge]=Ma({controlled:A,default:c,name:"Select"}),[me,Ee]=Ma({controlled:_,default:p,name:"Select"}),Te=gt.useRef(null),ue=gt.useRef(null),[X,Q]=gt.useState(null),{current:Pe}=gt.useRef(_!=null),[ae,ve]=gt.useState(),fe=it(r,x),xe=gt.useCallback(ce=>{ue.current=ce,ce&&Q(ce)},[]),ie=X?.parentNode;gt.useImperativeHandle(fe,()=>({focus:()=>{ue.current.focus()},node:Te.current,value:V}),[V]),gt.useEffect(()=>{p&&me&&X&&!Pe&&(ve(i?null:ie.clientWidth),ue.current.focus())},[X,i]),gt.useEffect(()=>{s&&ue.current.focus()},[s]),gt.useEffect(()=>{if(!b)return;let ce=Na(ue.current).getElementById(b);if(ce){let _e=()=>{getSelection().isCollapsed&&ue.current.focus()};return ce.addEventListener("click",_e),()=>{ce.removeEventListener("click",_e)}}},[b]);let Be=(ce,_e)=>{ce?E&&E(_e):C&&C(_e),Pe||(ve(i?null:ie.clientWidth),Ee(ce))},de=ce=>{ce.button===0&&(ce.preventDefault(),ue.current.focus(),Be(!0,ce))},be=ce=>{Be(!1,ce)},at=gt.Children.toArray(a),ee=ce=>{let _e=at.find(Ct=>Ct.props.value===ce.target.value);_e!==void 0&&(ge(_e.props.value),S&&S(ce,_e))},Oe=ce=>_e=>{let Ct;if(_e.currentTarget.hasAttribute("tabindex")){if(h){Ct=Array.isArray(V)?V.slice():[];let xr=V.indexOf(ce.props.value);xr===-1?Ct.push(ce.props.value):Ct.splice(xr,1)}else Ct=ce.props.value;if(ce.props.onClick&&ce.props.onClick(_e),V!==Ct&&(ge(Ct),S)){let xr=_e.nativeEvent||_e,Qs=new xr.constructor(xr.type,xr);Object.defineProperty(Qs,"target",{writable:!0,value:{value:Ct,name:d}}),S(Qs,ce)}h||Be(!1,_e)}},Ce=ce=>{y||[" ","ArrowUp","ArrowDown","Enter"].includes(ce.key)&&(ce.preventDefault(),Be(!0,ce))},Me=X!==null&&me,Fe=ce=>{!Me&&T&&(Object.defineProperty(ce,"target",{writable:!0,value:{value:V,name:d}}),T(ce))};delete re["aria-invalid"];let se,vt,Re=[],He=!1,lt=!1;(Ka({value:V})||f)&&(R?se=R(V):He=!0);let et=at.map(ce=>{if(!gt.isValidElement(ce))return null;let _e;if(h){if(!Array.isArray(V))throw new Error(ur(2));_e=V.some(Ct=>OO(Ct,ce.props.value)),_e&&He&&Re.push(ce.props.children)}else _e=OO(V,ce.props.value),_e&&He&&(vt=ce.props.children);return _e&&(lt=!0),gt.cloneElement(ce,{"aria-selected":_e?"true":"false",onClick:Oe(ce),onKeyUp:Ct=>{Ct.key===" "&&Ct.preventDefault(),ce.props.onKeyUp&&ce.props.onKeyUp(Ct)},role:"option",selected:_e,value:void 0,"data-value":ce.props.value})});He&&(h?Re.length===0?se=null:se=Re.reduce((ce,_e,Ct)=>(ce.push(_e),Ct<Re.length-1&&ce.push(", "),ce),[]):se=vt);let pt=ae;!i&&Pe&&X&&(pt=ie.clientWidth);let Xe;typeof W<"u"?Xe=W:Xe=u?null:0;let Ue=D.id||(d?`mui-component-select-${d}`:void 0),Se={...t,variant:H,value:V,open:Me,error:g},Tr=AV(Se),Nt={...m.PaperProps,...m.slotProps?.paper},Ho=Fo();return(0,Bi.jsxs)(gt.Fragment,{children:[(0,Bi.jsx)(OV,{as:"div",ref:xe,tabIndex:Xe,role:"combobox","aria-controls":Me?Ho:void 0,"aria-disabled":u?"true":void 0,"aria-expanded":Me?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[b,Ue].filter(Boolean).join(" ")||void 0,"aria-describedby":o,"aria-required":I?"true":void 0,"aria-invalid":g?"true":void 0,onKeyDown:Ce,onMouseDown:u||y?null:de,onBlur:Fe,onFocus:w,...D,ownerState:Se,className:L(D.className,Tr.select,l),id:Ue,children:NV(se)?_O||(_O=(0,Bi.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):se}),(0,Bi.jsx)(kV,{"aria-invalid":g,value:Array.isArray(V)?V.join(","):V,name:d,ref:Te,"aria-hidden":!0,onChange:ee,tabIndex:-1,disabled:u,className:Tr.nativeInput,autoFocus:s,required:I,...re,ownerState:Se}),(0,Bi.jsx)(IV,{as:v,className:Tr.icon,ownerState:Se}),(0,Bi.jsx)(zp,{id:`menu-${d||""}`,anchorEl:ie,open:Me,onClose:be,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...m,slotProps:{...m.slotProps,list:{"aria-labelledby":b,role:"listbox","aria-multiselectable":h?"true":void 0,disableListWrap:!0,id:Ho,...m.MenuListProps},paper:{...Nt,style:{minWidth:pt,...Nt!=null?Nt.style:null}}},children:et})]})}),IO=MV;var ff=P(k()),LV=e=>{let{classes:t}=e,o=z({root:["root"]},ih,t);return{...t,...o}},jP={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>ot(e)&&e!=="variant",slot:"Root"},DV=O(nf,jP)(""),FV=O(uf,jP)(""),jV=O(rf,jP)(""),kO=Gp.forwardRef(function(t,r){let o=G({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:s,classes:i={},className:a,defaultOpen:l=!1,displayEmpty:p=!1,IconComponent:c=Ey,id:u,input:f,inputProps:g,label:v,labelId:x,MenuProps:b,multiple:m=!1,native:h=!1,onClose:d,onOpen:T,open:S,renderValue:C,SelectDisplayProps:w,variant:E="outlined",..._}=o,y=h?wO:IO,R=hr(),I=io({props:o,muiFormControl:R,states:["variant","error"]}),D=I.variant||E,W={...o,variant:D,classes:i},M=LV(W),{root:A,...H}=M,re=f||{standard:(0,ff.jsx)(DV,{ownerState:W}),outlined:(0,ff.jsx)(FV,{label:v,ownerState:W}),filled:(0,ff.jsx)(jV,{ownerState:W})}[D],V=it(r,no(re));return(0,ff.jsx)(Gp.Fragment,{children:Gp.cloneElement(re,{inputComponent:y,inputProps:{children:s,error:I.error,IconComponent:c,variant:D,type:void 0,multiple:m,...h?{id:u}:{autoWidth:n,defaultOpen:l,displayEmpty:p,labelId:x,MenuProps:b,onClose:d,onOpen:T,open:S,renderValue:C,SelectDisplayProps:{id:u,...w}},...g,classes:g?qe(H,g.classes):H,...f?f.props.inputProps:{}},...(m&&h||p)&&D==="outlined"?{notched:!0}:{},ref:V,className:L(re.props.className,a,M.root),...!f&&{variant:D},..._})})});kO.muiName="Select";var $P=kO;var Ut=P(N());function NO(e){return U("MuiTooltip",e)}var $V=q("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),kt=$V;var Ui=P(k());function VV(e){return Math.round(e*1e5)/1e5}var BV=e=>{let{classes:t,disableInteractive:r,arrow:o,touch:n,placement:s}=e,i={popper:["popper",!r&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",n&&"touch",`tooltipPlacement${F(s.split("-")[0])}`],arrow:["arrow"]};return z(i,NO,t)},UV=O(qa,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(Y(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${kt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${kt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${kt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${kt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${kt.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${kt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${kt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${kt.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),zV=O("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${F(r.placement.split("-")[0])}`]]}})(Y(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:ye(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${kt.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${kt.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${kt.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${kt.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${VV(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${kt.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${kt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${kt.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${kt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${kt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${kt.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${kt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${kt.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${kt.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${kt.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),WV=O("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Y(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:ye(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))),ah=!1,AO=new cp,df={x:0,y:0};function lh(e,t){return(r,...o)=>{t&&t(r,...o),e(r,...o)}}var HV=Ut.forwardRef(function(t,r){let o=G({props:t,name:"MuiTooltip"}),{arrow:n=!1,children:s,classes:i,components:a={},componentsProps:l={},describeChild:p=!1,disableFocusListener:c=!1,disableHoverListener:u=!1,disableInteractive:f=!1,disableTouchListener:g=!1,enterDelay:v=100,enterNextDelay:x=0,enterTouchDelay:b=700,followCursor:m=!1,id:h,leaveDelay:d=0,leaveTouchDelay:T=1500,onClose:S,onOpen:C,open:w,placement:E="bottom",PopperComponent:_,PopperProps:y={},slotProps:R={},slots:I={},title:D,TransitionComponent:W,TransitionProps:M,...A}=o,H=Ut.isValidElement(s)?s:(0,Ui.jsx)("span",{children:s}),re=mt(),V=up(),[ge,me]=Ut.useState(),[Ee,Te]=Ut.useState(null),ue=Ut.useRef(!1),X=f||m,Q=jo(),Pe=jo(),ae=jo(),ve=jo(),[fe,xe]=Ma({controlled:w,default:!1,name:"Tooltip",state:"open"}),ie=fe,Be=Aa(h),de=Ut.useRef(),be=_i(()=>{de.current!==void 0&&(document.body.style.WebkitUserSelect=de.current,de.current=void 0),ve.clear()});Ut.useEffect(()=>be,[be]);let at=we=>{AO.clear(),ah=!0,xe(!0),C&&!ie&&C(we)},ee=_i(we=>{AO.start(800+d,()=>{ah=!1}),xe(!1),S&&ie&&S(we),Q.start(re.transitions.duration.shortest,()=>{ue.current=!1})}),Oe=we=>{ue.current&&we.type!=="touchstart"||(ge&&ge.removeAttribute("title"),Pe.clear(),ae.clear(),v||ah&&x?Pe.start(ah?x:v,()=>{at(we)}):at(we))},Ce=we=>{Pe.clear(),ae.start(d,()=>{ee(we)})},[,Me]=Ut.useState(!1),Fe=we=>{En(we.target)||(Me(!1),Ce(we))},se=we=>{ge||me(we.currentTarget),En(we.target)&&(Me(!0),Oe(we))},vt=we=>{ue.current=!0;let qo=H.props;qo.onTouchStart&&qo.onTouchStart(we)},Re=we=>{vt(we),ae.clear(),Q.clear(),be(),de.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ve.start(b,()=>{document.body.style.WebkitUserSelect=de.current,Oe(we)})},He=we=>{H.props.onTouchEnd&&H.props.onTouchEnd(we),be(),ae.start(T,()=>{ee(we)})};Ut.useEffect(()=>{if(!ie)return;function we(qo){qo.key==="Escape"&&ee(qo)}return document.addEventListener("keydown",we),()=>{document.removeEventListener("keydown",we)}},[ee,ie]);let lt=it(no(H),me,r);!D&&D!==0&&(ie=!1);let et=Ut.useRef(),pt=we=>{let qo=H.props;qo.onMouseMove&&qo.onMouseMove(we),df={x:we.clientX,y:we.clientY},et.current&&et.current.update()},Xe={},Ue=typeof D=="string";p?(Xe.title=!ie&&Ue&&!u?D:null,Xe["aria-describedby"]=ie?Be:null):(Xe["aria-label"]=Ue?D:null,Xe["aria-labelledby"]=ie&&!Ue?Be:null);let Se={...Xe,...A,...H.props,className:L(A.className,H.props.className),onTouchStart:vt,ref:lt,...m?{onMouseMove:pt}:{}},Tr={};g||(Se.onTouchStart=Re,Se.onTouchEnd=He),u||(Se.onMouseOver=lh(Oe,Se.onMouseOver),Se.onMouseLeave=lh(Ce,Se.onMouseLeave),X||(Tr.onMouseOver=Oe,Tr.onMouseLeave=Ce)),c||(Se.onFocus=lh(se,Se.onFocus),Se.onBlur=lh(Fe,Se.onBlur),X||(Tr.onFocus=se,Tr.onBlur=Fe));let Nt={...o,isRtl:V,arrow:n,disableInteractive:X,placement:E,PopperComponentProp:_,touch:ue.current},Ho=typeof R.popper=="function"?R.popper(Nt):R.popper,ce=Ut.useMemo(()=>{let we=[{name:"arrow",enabled:!!Ee,options:{element:Ee,padding:4}}];return y.popperOptions?.modifiers&&(we=we.concat(y.popperOptions.modifiers)),Ho?.popperOptions?.modifiers&&(we=we.concat(Ho.popperOptions.modifiers)),{...y.popperOptions,...Ho?.popperOptions,modifiers:we}},[Ee,y.popperOptions,Ho?.popperOptions]),_e=BV(Nt),Ct=typeof R.transition=="function"?R.transition(Nt):R.transition,xr={slots:{popper:a.Popper,transition:a.Transition??W,tooltip:a.Tooltip,arrow:a.Arrow,...I},slotProps:{arrow:R.arrow??l.arrow,popper:{...y,...Ho??l.popper},tooltip:R.tooltip??l.tooltip,transition:{...M,...Ct??l.transition}}},[Qs,wo]=le("popper",{elementType:UV,externalForwardedProps:xr,ownerState:Nt,className:L(_e.popper,y?.className)}),[ds,Fn]=le("transition",{elementType:of,externalForwardedProps:xr,ownerState:Nt}),[Xs,Go]=le("tooltip",{elementType:zV,className:_e.tooltip,externalForwardedProps:xr,ownerState:Nt}),[al,ll]=le("arrow",{elementType:WV,className:_e.arrow,externalForwardedProps:xr,ownerState:Nt,ref:Te});return(0,Ui.jsxs)(Ut.Fragment,{children:[Ut.cloneElement(H,Se),(0,Ui.jsx)(Qs,{as:_??qa,placement:E,anchorEl:m?{getBoundingClientRect:()=>({top:df.y,left:df.x,right:df.x,bottom:df.y,width:0,height:0})}:ge,popperRef:et,open:ge?ie:!1,id:Be,transition:!0,...Tr,...wo,popperOptions:ce,children:({TransitionProps:we})=>(0,Ui.jsx)(ds,{timeout:re.transitions.duration.shorter,...we,...Fn,children:(0,Ui.jsxs)(Xs,{...Go,children:[D,n?(0,Ui.jsx)(al,{...ll}):null]})})})]})}),Ws=HV;var GV=Ym({createStyledComponent:O("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>G({props:e,name:"MuiStack"})}),he=GV;var LO=P(N());function MO(e){return U("MuiSwitch",e)}var qV=q("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Kr=qV;var qp=P(k()),KV=e=>{let{classes:t,edge:r,size:o,color:n,checked:s,disabled:i}=e,a={root:["root",r&&`edge${F(r)}`,`size${F(o)}`],switchBase:["switchBase",`color${F(n)}`,s&&"checked",i&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=z(a,MO,t);return{...t,...l}},YV=O("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t[`edge${F(r.edge)}`],t[`size${F(r.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Kr.thumb}`]:{width:16,height:16},[`& .${Kr.switchBase}`]:{padding:4,[`&.${Kr.checked}`]:{transform:"translateX(16px)"}}}}]}),QV=O(Iy,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.switchBase,{[`& .${Kr.input}`]:t.input},r.color!=="default"&&t[`color${F(r.color)}`]]}})(Y(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Kr.checked}`]:{transform:"translateX(20px)"},[`&.${Kr.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Kr.checked} + .${Kr.track}`]:{opacity:.5},[`&.${Kr.disabled} + .${Kr.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Kr.input}`]:{left:"-100%",width:"300%"}})),Y(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(Ve(["light"])).map(([t])=>({props:{color:t},style:{[`&.${Kr.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ye(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Kr.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?Os(e.palette[t].main,.62):_s(e.palette[t].main,.55)}`}},[`&.${Kr.checked} + .${Kr.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),XV=O("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(Y(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),JV=O("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(Y(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),ZV=LO.forwardRef(function(t,r){let o=G({props:t,name:"MuiSwitch"}),{className:n,color:s="primary",edge:i=!1,size:a="medium",sx:l,slots:p={},slotProps:c={},...u}=o,f={...o,color:s,edge:i,size:a},g=KV(f),v={slots:p,slotProps:c},[x,b]=le("root",{className:L(g.root,n),elementType:YV,externalForwardedProps:v,ownerState:f,additionalProps:{sx:l}}),[m,h]=le("thumb",{className:g.thumb,elementType:JV,externalForwardedProps:v,ownerState:f}),d=(0,qp.jsx)(m,{...h}),[T,S]=le("track",{className:g.track,elementType:XV,externalForwardedProps:v,ownerState:f});return(0,qp.jsxs)(x,{...b,children:[(0,qp.jsx)(QV,{type:"checkbox",icon:d,checkedIcon:d,ref:r,ownerState:f,...u,classes:{...g,root:g.switchBase},slots:{...p.switchBase&&{root:p.switchBase},...p.input&&{input:p.input}},slotProps:{...c.switchBase&&{root:typeof c.switchBase=="function"?c.switchBase(f):c.switchBase},...c.input&&{input:typeof c.input=="function"?c.input(f):c.input}}}),(0,qp.jsx)(T,{...S})]})}),ph=ZV;var FO=P(N());function DO(e){return U("MuiTextField",e)}var Xve=q("MuiTextField",["root"]);var ol=P(k()),e3={standard:nf,filled:rf,outlined:uf},t3=e=>{let{classes:t}=e;return z({root:["root"]},DO,t)},r3=O(gP,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),o3=FO.forwardRef(function(t,r){let o=G({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:s=!1,children:i,className:a,color:l="primary",defaultValue:p,disabled:c=!1,error:u=!1,FormHelperTextProps:f,fullWidth:g=!1,helperText:v,id:x,InputLabelProps:b,inputProps:m,InputProps:h,inputRef:d,label:T,maxRows:S,minRows:C,multiline:w=!1,name:E,onBlur:_,onChange:y,onFocus:R,placeholder:I,required:D=!1,rows:W,select:M=!1,SelectProps:A,slots:H={},slotProps:re={},type:V,value:ge,variant:me="outlined",...Ee}=o,Te={...o,autoFocus:s,color:l,disabled:c,error:u,fullWidth:g,multiline:w,required:D,select:M,variant:me},ue=t3(Te),X=Fo(x),Q=v&&X?`${X}-helper-text`:void 0,Pe=T&&X?`${X}-label`:void 0,ae=e3[me],ve={slots:H,slotProps:{input:h,inputLabel:b,htmlInput:m,formHelperText:f,select:A,...re}},fe={},xe=ve.slotProps.inputLabel;me==="outlined"&&(xe&&typeof xe.shrink<"u"&&(fe.notched=xe.shrink),fe.label=T),M&&((!A||!A.native)&&(fe.id=void 0),fe["aria-describedby"]=void 0);let[ie,Be]=le("root",{elementType:r3,shouldForwardComponentProp:!0,externalForwardedProps:{...ve,...Ee},ownerState:Te,className:L(ue.root,a),ref:r,additionalProps:{disabled:c,error:u,fullWidth:g,required:D,color:l,variant:me}}),[de,be]=le("input",{elementType:ae,externalForwardedProps:ve,additionalProps:fe,ownerState:Te}),[at,ee]=le("inputLabel",{elementType:EP,externalForwardedProps:ve,ownerState:Te}),[Oe,Ce]=le("htmlInput",{elementType:"input",externalForwardedProps:ve,ownerState:Te}),[Me,Fe]=le("formHelperText",{elementType:Bs,externalForwardedProps:ve,ownerState:Te}),[se,vt]=le("select",{elementType:$P,externalForwardedProps:ve,ownerState:Te}),Re=(0,ol.jsx)(de,{"aria-describedby":Q,autoComplete:n,autoFocus:s,defaultValue:p,fullWidth:g,multiline:w,name:E,rows:W,maxRows:S,minRows:C,type:V,value:ge,id:X,inputRef:d,onBlur:_,onChange:y,onFocus:R,placeholder:I,inputProps:Ce,slots:{input:H.htmlInput?Oe:void 0},...be});return(0,ol.jsxs)(ie,{...Be,children:[T!=null&&T!==""&&(0,ol.jsx)(at,{htmlFor:X,id:Pe,...ee,children:T}),M?(0,ol.jsx)(se,{"aria-describedby":Q,id:X,labelId:Pe,value:ge,input:Re,...vt,children:i}):Re,v&&(0,ol.jsx)(Me,{id:Q,...Fe,children:v})]})}),Nr=o3;var jO=P(k()),$O=J((0,jO.jsx)("path",{d:"M19 6.41 17.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"}),"Close");var VO=P(k()),BO=J((0,VO.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home");var VP=function(e,t){return VP=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n])},VP(e,t)};function zi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");VP(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function UO(e,t,r,o){function n(s){return s instanceof r?s:new r(function(i){i(s)})}return new(r||(r=Promise))(function(s,i){function a(c){try{p(o.next(c))}catch(u){i(u)}}function l(c){try{p(o.throw(c))}catch(u){i(u)}}function p(c){c.done?s(c.value):n(c.value).then(a,l)}p((o=o.apply(e,t||[])).next())})}function ch(e,t){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,n,s,i=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return i.next=a(0),i.throw=a(1),i.return=a(2),typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(p){return function(c){return l([p,c])}}function l(p){if(o)throw new TypeError("Generator is already executing.");for(;i&&(i=0,p[0]&&(r=0)),r;)try{if(o=1,n&&(s=p[0]&2?n.return:p[0]?n.throw||((s=n.return)&&s.call(n),0):n.next)&&!(s=s.call(n,p[1])).done)return s;switch(n=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,n=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){r.label=p[1];break}if(p[0]===6&&r.label<s[1]){r.label=s[1],s=p;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(p);break}s[2]&&r.ops.pop(),r.trys.pop();continue}p=t.call(e,r)}catch(c){p=[6,c],n=0}finally{o=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}}function Hs(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Wi(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),n,s=[],i;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function Hi(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,s;o<n;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}function nl(e){return this instanceof nl?(this.v=e,this):new nl(e)}function zO(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r.apply(e,t||[]),n,s=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",i),n[Symbol.asyncIterator]=function(){return this},n;function i(g){return function(v){return Promise.resolve(v).then(g,u)}}function a(g,v){o[g]&&(n[g]=function(x){return new Promise(function(b,m){s.push([g,x,b,m])>1||l(g,x)})},v&&(n[g]=v(n[g])))}function l(g,v){try{p(o[g](v))}catch(x){f(s[0][3],x)}}function p(g){g.value instanceof nl?Promise.resolve(g.value.v).then(c,u):f(s[0][2],g)}function c(g){l("next",g)}function u(g){l("throw",g)}function f(g,v){g(v),s.shift(),s.length&&l(s[0][0],s[0][1])}}function WO(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Hs=="function"?Hs(e):e[Symbol.iterator](),r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r);function o(s){r[s]=e[s]&&function(i){return new Promise(function(a,l){i=e[s](i),n(a,l,i.done,i.value)})}}function n(s,i,a,l){Promise.resolve(l).then(function(p){s({value:p,done:a})},i)}}function Ze(e){return typeof e=="function"}function uh(e){var t=function(o){Error.call(o),o.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var fh=uh(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
146
|
-
`+r.map(function(o,n){return n+1+") "+o.toString()}).join(`
|
|
147
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function mf(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Gs=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,o,n,s;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=Hs(i),l=a.next();!l.done;l=a.next()){var p=l.value;p.remove(this)}}catch(x){t={error:x}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else i.remove(this);var c=this.initialTeardown;if(Ze(c))try{c()}catch(x){s=x instanceof fh?x.errors:[x]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var f=Hs(u),g=f.next();!g.done;g=f.next()){var v=g.value;try{HO(v)}catch(x){s=s??[],x instanceof fh?s=Hi(Hi([],Wi(s)),Wi(x.errors)):s.push(x)}}}catch(x){o={error:x}}finally{try{g&&!g.done&&(n=f.return)&&n.call(f)}finally{if(o)throw o.error}}}if(s)throw new fh(s)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)HO(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&mf(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&mf(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var BP=Gs.EMPTY;function dh(e){return e instanceof Gs||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function HO(e){Ze(e)?e():e.unsubscribe()}var An={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Kp={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=Kp.delegate;return n?.setTimeout?n.setTimeout.apply(n,Hi([e,t],Wi(r))):setTimeout.apply(void 0,Hi([e,t],Wi(r)))},clearTimeout:function(e){var t=Kp.delegate;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function mh(e){Kp.setTimeout(function(){var t=An.onUnhandledError;if(t)t(e);else throw e})}function yf(){}var GO=function(){return UP("C",void 0,void 0)}();function qO(e){return UP("E",void 0,e)}function KO(e){return UP("N",e,void 0)}function UP(e,t,r){return{kind:e,value:t,error:r}}var sl=null;function Yp(e){if(An.useDeprecatedSynchronousErrorHandling){var t=!sl;if(t&&(sl={errorThrown:!1,error:null}),e(),t){var r=sl,o=r.errorThrown,n=r.error;if(sl=null,o)throw n}}else e()}function YO(e){An.useDeprecatedSynchronousErrorHandling&&sl&&(sl.errorThrown=!0,sl.error=e)}var hf=function(e){zi(t,e);function t(r){var o=e.call(this)||this;return o.isStopped=!1,r?(o.destination=r,dh(r)&&r.add(o)):o.destination=a3,o}return t.create=function(r,o,n){return new hh(r,o,n)},t.prototype.next=function(r){this.isStopped?WP(KO(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?WP(qO(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?WP(GO,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Gs);var n3=Function.prototype.bind;function zP(e,t){return n3.call(e,t)}var s3=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(o){yh(o)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(o){yh(o)}else yh(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){yh(r)}},e}(),hh=function(e){zi(t,e);function t(r,o,n){var s=e.call(this)||this,i;if(Ze(r)||!r)i={next:r??void 0,error:o??void 0,complete:n??void 0};else{var a;s&&An.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return s.unsubscribe()},i={next:r.next&&zP(r.next,a),error:r.error&&zP(r.error,a),complete:r.complete&&zP(r.complete,a)}):i=r}return s.destination=new s3(i),s}return t}(hf);function yh(e){An.useDeprecatedSynchronousErrorHandling?YO(e):mh(e)}function i3(e){throw e}function WP(e,t){var r=An.onStoppedNotification;r&&Kp.setTimeout(function(){return r(e,t)})}var a3={closed:!0,next:yf,error:i3,complete:yf};var Qp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function QO(e){return e}function XO(e){return e.length===0?QO:e.length===1?e[0]:function(r){return e.reduce(function(o,n){return n(o)},r)}}var Jt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,o){var n=this,s=p3(t)?t:new hh(t,r,o);return Yp(function(){var i=n,a=i.operator,l=i.source;s.add(a?a.call(s,l):l?n._subscribe(s):n._trySubscribe(s))}),s},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var o=this;return r=JO(r),new r(function(n,s){var i=new hh({next:function(a){try{t(a)}catch(l){s(l),i.unsubscribe()}},error:s,complete:n});o.subscribe(i)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Qp]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return XO(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=JO(t),new t(function(o,n){var s;r.subscribe(function(i){return s=i},function(i){return n(i)},function(){return o(s)})})},e.create=function(t){return new e(t)},e}();function JO(e){var t;return(t=e??An.Promise)!==null&&t!==void 0?t:Promise}function l3(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}function p3(e){return e&&e instanceof hf||l3(e)&&dh(e)}function c3(e){return Ze(e?.lift)}function Xp(e){return function(t){if(c3(t))return t.lift(function(r){try{return e(r,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}function Jp(e,t,r,o,n){return new u3(e,t,r,o,n)}var u3=function(e){zi(t,e);function t(r,o,n,s,i,a){var l=e.call(this,r)||this;return l.onFinalize=i,l.shouldUnsubscribe=a,l._next=o?function(p){try{o(p)}catch(c){r.error(c)}}:e.prototype._next,l._error=s?function(p){try{s(p)}catch(c){r.error(c)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=n?function(){try{n()}catch(p){r.error(p)}finally{this.unsubscribe()}}:e.prototype._complete,l}return t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var o=this.closed;e.prototype.unsubscribe.call(this),!o&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},t}(hf);var ZO=uh(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var Zp=function(e){zi(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var o=new eI(this,this);return o.operator=r,o},t.prototype._throwIfClosed=function(){if(this.closed)throw new ZO},t.prototype.next=function(r){var o=this;Yp(function(){var n,s;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var i=Hs(o.currentObservers),a=i.next();!a.done;a=i.next()){var l=a.value;l.next(r)}}catch(p){n={error:p}}finally{try{a&&!a.done&&(s=i.return)&&s.call(i)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var o=this;Yp(function(){if(o._throwIfClosed(),!o.isStopped){o.hasError=o.isStopped=!0,o.thrownError=r;for(var n=o.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;Yp(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var o=r.observers;o.length;)o.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var o=this,n=this,s=n.hasError,i=n.isStopped,a=n.observers;return s||i?BP:(this.currentObservers=null,a.push(r),new Gs(function(){o.currentObservers=null,mf(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var o=this,n=o.hasError,s=o.thrownError,i=o.isStopped;n?r.error(s):i&&r.complete()},t.prototype.asObservable=function(){var r=new Jt;return r.source=this,r},t.create=function(r,o){return new eI(r,o)},t}(Jt);var eI=function(e){zi(t,e);function t(r,o){var n=e.call(this)||this;return n.destination=r,n.source=o,n}return t.prototype.next=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,r)},t.prototype.error=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,r)},t.prototype.complete=function(){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||o===void 0||o.call(r)},t.prototype._subscribe=function(r){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(r))!==null&&n!==void 0?n:BP},t}(Zp);function f3(e){return e[e.length-1]}function tI(e){return Ze(f3(e))?e.pop():void 0}var gh=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function vh(e){return Ze(e?.then)}function Th(e){return Ze(e[Qp])}function xh(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}function Ph(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function d3(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var bh=d3();function Sh(e){return Ze(e?.[bh])}function Ch(e){return zO(this,arguments,function(){var r,o,n,s;return ch(this,function(i){switch(i.label){case 0:r=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,nl(r.read())];case 3:return o=i.sent(),n=o.value,s=o.done,s?[4,nl(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,nl(n)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function wh(e){return Ze(e?.getReader)}function Gi(e){if(e instanceof Jt)return e;if(e!=null){if(Th(e))return m3(e);if(gh(e))return y3(e);if(vh(e))return h3(e);if(xh(e))return rI(e);if(Sh(e))return g3(e);if(wh(e))return v3(e)}throw Ph(e)}function m3(e){return new Jt(function(t){var r=e[Qp]();if(Ze(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function y3(e){return new Jt(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function h3(e){return new Jt(function(t){e.then(function(r){t.closed||(t.next(r),t.complete())},function(r){return t.error(r)}).then(null,mh)})}function g3(e){return new Jt(function(t){var r,o;try{for(var n=Hs(e),s=n.next();!s.done;s=n.next()){var i=s.value;if(t.next(i),t.closed)return}}catch(a){r={error:a}}finally{try{s&&!s.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}t.complete()})}function rI(e){return new Jt(function(t){T3(e,t).catch(function(r){return t.error(r)})})}function v3(e){return rI(Ch(e))}function T3(e,t){var r,o,n,s;return UO(this,void 0,void 0,function(){var i,a;return ch(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),r=WO(e),l.label=1;case 1:return[4,r.next()];case 2:if(o=l.sent(),!!o.done)return[3,4];if(i=o.value,t.next(i),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=l.sent(),n={error:a},[3,11];case 6:return l.trys.push([6,,9,10]),o&&!o.done&&(s=r.return)?[4,s.call(r)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(n)throw n.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function ss(e,t,r,o,n){o===void 0&&(o=0),n===void 0&&(n=!1);var s=t.schedule(function(){r(),n?e.add(this.schedule(null,o)):this.unsubscribe()},o);if(e.add(s),!n)return s}function Eh(e,t){return t===void 0&&(t=0),Xp(function(r,o){r.subscribe(Jp(o,function(n){return ss(o,e,function(){return o.next(n)},t)},function(){return ss(o,e,function(){return o.complete()},t)},function(n){return ss(o,e,function(){return o.error(n)},t)}))})}function Rh(e,t){return t===void 0&&(t=0),Xp(function(r,o){o.add(e.schedule(function(){return r.subscribe(o)},t))})}function oI(e,t){return Gi(e).pipe(Rh(t),Eh(t))}function nI(e,t){return Gi(e).pipe(Rh(t),Eh(t))}function sI(e,t){return new Jt(function(r){var o=0;return t.schedule(function(){o===e.length?r.complete():(r.next(e[o++]),r.closed||this.schedule())})})}function iI(e,t){return new Jt(function(r){var o;return ss(r,t,function(){o=e[bh](),ss(r,t,function(){var n,s,i;try{n=o.next(),s=n.value,i=n.done}catch(a){r.error(a);return}i?r.complete():r.next(s)},0,!0)}),function(){return Ze(o?.return)&&o.return()}})}function _h(e,t){if(!e)throw new Error("Iterable cannot be null");return new Jt(function(r){ss(r,t,function(){var o=e[Symbol.asyncIterator]();ss(r,t,function(){o.next().then(function(n){n.done?r.complete():r.next(n.value)})},0,!0)})})}function aI(e,t){return _h(Ch(e),t)}function lI(e,t){if(e!=null){if(Th(e))return oI(e,t);if(gh(e))return sI(e,t);if(vh(e))return nI(e,t);if(xh(e))return _h(e,t);if(Sh(e))return iI(e,t);if(wh(e))return aI(e,t)}throw Ph(e)}function gf(e,t){return t?lI(e,t):Gi(e)}function vf(e,t){return Xp(function(r,o){var n=0;r.subscribe(Jp(o,function(s){o.next(e.call(t,s,n++))}))})}var x3=Array.isArray;function P3(e,t){return x3(t)?e.apply(void 0,Hi([],Wi(t))):e(t)}function pI(e){return vf(function(t){return P3(e,t)})}var b3=Array.isArray,S3=Object.getPrototypeOf,C3=Object.prototype,w3=Object.keys;function cI(e){if(e.length===1){var t=e[0];if(b3(t))return{args:t,keys:null};if(E3(t)){var r=w3(t);return{args:r.map(function(o){return t[o]}),keys:r}}}return{args:e,keys:null}}function E3(e){return e&&typeof e=="object"&&S3(e)===C3}function uI(e,t){return e.reduce(function(r,o,n){return r[o]=t[n],r},{})}function HP(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=tI(e),o=cI(e),n=o.args,s=o.keys,i=new Jt(function(a){var l=n.length;if(!l){a.complete();return}for(var p=new Array(l),c=l,u=l,f=function(v){var x=!1;Gi(n[v]).subscribe(Jp(a,function(b){x||(x=!0,u--),p[v]=b},function(){return c--},void 0,function(){(!c||!x)&&(u||a.next(s?uI(s,p):p),a.complete())}))},g=0;g<l;g++)f(g)});return r?i.pipe(pI(r)):i}var GP=new Jt(yf);var R3=Object.defineProperty,_3=Object.defineProperties,O3=Object.getOwnPropertyDescriptors,fI=Object.getOwnPropertySymbols,I3=Object.prototype.hasOwnProperty,k3=Object.prototype.propertyIsEnumerable,dI=(e,t,r)=>t in e?R3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,is=(e,t)=>{for(var r in t||(t={}))I3.call(t,r)&&dI(e,r,t[r]);if(fI)for(var r of fI(t))k3.call(t,r)&&dI(e,r,t[r]);return e},qi=(e,t)=>_3(e,O3(t));function N3(e){return!!e&&typeof e.then=="function"}function A3(e){return!!e&&typeof e.subscribe=="function"}var M3="https://angular.dev/errors/";var kh=class extends Error{constructor(e,t){super(D3(e,t)),this.code=e}};function L3(e){return`NG0${Math.abs(e)}`}function D3(e,t){let r=L3(e),o=`${r}${t?": "+t:""}`;if(e<0){let s=!o.match(/[.,;!?\n]$/)?".":"";o=`${o}${s} Find more at ${M3}/${r}`}return o}var mI=class extends Zp{constructor(){super()}emit(e){super.next(e)}subscribe(e,t,r){var o,n,s;let i=e,a=t||(()=>null),l=r;if(e&&typeof e=="object"){let c=e;i=(o=c.next)==null?void 0:o.bind(c),a=(n=c.error)==null?void 0:n.bind(c),l=(s=c.complete)==null?void 0:s.bind(c)}let p=super.subscribe({next:i,error:a,complete:l});return e instanceof Gs&&e.add(p),p}};var F3=`
|
|
148
|
-
It looks like you're constructing using a FormControl with both an options argument and an
|
|
149
|
-
async validators argument. Mixing these arguments will cause your async validators to be dropped.
|
|
150
|
-
You should either put all your validators in the options object, or in separate validators
|
|
151
|
-
arguments. For example:
|
|
152
|
-
|
|
153
|
-
// Using validators arguments
|
|
154
|
-
fc = new FormControl(42, Validators.required, myAsyncValidator);
|
|
155
|
-
|
|
156
|
-
// Using AbstractControlOptions
|
|
157
|
-
fc = new FormControl(42, {validators: Validators.required, asyncValidators: myAV});
|
|
158
|
-
|
|
159
|
-
// Do NOT mix them: async validators will be dropped!
|
|
160
|
-
fc = new FormControl(42, {validators: Validators.required}, /* Oops! */ myAsyncValidator);
|
|
161
|
-
`;function TI(e,t){return e?`with name: '${t}'`:`at index: ${t}`}function j3(e){return`
|
|
162
|
-
There are no form controls registered with this ${e?"group":"array"} yet. If you're using ngModel,
|
|
163
|
-
you may want to check next tick (e.g. use setTimeout).
|
|
164
|
-
`}function $3(e,t){return`Cannot find form control ${TI(e,t)}`}function V3(e,t){return`Must supply a value for form control ${TI(e,t)}`}function QP(e){return e==null||XP(e)===0}function XP(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var B3=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ke=class{static min(e){return U3(e)}static max(e){return z3(e)}static required(e){return W3(e)}static requiredTrue(e){return H3(e)}static email(e){return G3(e)}static minLength(e){return q3(e)}static maxLength(e){return K3(e)}static pattern(e){return Y3(e)}static nullValidator(e){return xI(e)}static compose(e){return EI(e)}static composeAsync(e){return RI(e)}};function U3(e){return t=>{if(t.value==null||e==null)return null;let r=parseFloat(t.value);return!isNaN(r)&&r<e?{min:{min:e,actual:t.value}}:null}}function z3(e){return t=>{if(t.value==null||e==null)return null;let r=parseFloat(t.value);return!isNaN(r)&&r>e?{max:{max:e,actual:t.value}}:null}}function W3(e){return QP(e.value)?{required:!0}:null}function H3(e){return e.value===!0?null:{required:!0}}function G3(e){return QP(e.value)||B3.test(e.value)?null:{email:!0}}function q3(e){return t=>{var r,o;let n=(o=(r=t.value)==null?void 0:r.length)!=null?o:XP(t.value);return n===null||n===0?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}function K3(e){return t=>{var r,o;let n=(o=(r=t.value)==null?void 0:r.length)!=null?o:XP(t.value);return n!==null&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}function Y3(e){if(!e)return xI;let t,r;return typeof e=="string"?(r="",e.charAt(0)!=="^"&&(r+="^"),r+=e,e.charAt(e.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=e.toString(),t=e),o=>{if(QP(o.value))return null;let n=o.value;return t.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function xI(e){return null}function PI(e){return e!=null}function bI(e){let t=N3(e)?gf(e):e;if(!A3(t)){let r="Expected async validator to return Promise or Observable.";throw typeof e=="object"&&(r+=" Are you using a synchronous validator where an async validator is expected?"),new kh(-1101,r)}return t}function SI(e){let t={};return e.forEach(r=>{t=r!=null?is(is({},t),r):t}),Object.keys(t).length===0?null:t}function CI(e,t){return t.map(r=>r(e))}function Q3(e){return!e.validate}function wI(e){return e.map(t=>Q3(t)?t:r=>t.validate(r))}function EI(e){if(!e)return null;let t=e.filter(PI);return t.length==0?null:function(r){return SI(CI(r,t))}}function X3(e){return e!=null?EI(wI(e)):null}function RI(e){if(!e)return null;let t=e.filter(PI);return t.length==0?null:function(r){let o=CI(r,t).map(bI);return HP(o).pipe(vf(SI))}}function J3(e){return e!=null?RI(wI(e)):null}function YP(e){return e?Array.isArray(e)?e:[e]:[]}function Nh(e,t){return Array.isArray(e)?e.includes(t):e===t}function yI(e,t){let r=YP(t);return YP(e).forEach(n=>{Nh(r,n)||r.push(n)}),r}function hI(e,t){return YP(t).filter(r=>!Nh(e,r))}var Tf="VALID",Oh="INVALID",ec="PENDING",xf="DISABLED",Ah=class{},gI=class extends Ah{constructor(e,t){super(),this.value=e,this.source=t}},qP=class extends Ah{constructor(e,t){super(),this.pristine=e,this.source=t}},KP=class extends Ah{constructor(e,t){super(),this.touched=e,this.source=t}},Ih=class extends Ah{constructor(e,t){super(),this.status=e,this.source=t}};function JP(e){return(Pf(e)?e.validators:e)||null}function Z3(e){return Array.isArray(e)?X3(e):e||null}function ZP(e,t){if(Pf(t)&&e)throw new Error(F3);return(Pf(t)?t.asyncValidators:e)||null}function eB(e){return Array.isArray(e)?J3(e):e||null}function Pf(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function _I(e,t,r){let o=e.controls;if(!(t?Object.keys(o):o).length)throw new kh(1e3,j3(t));if(!o[r])throw new kh(1001,$3(t,r))}function OI(e,t,r){e._forEachChild((o,n)=>{if(r[n]===void 0)throw new kh(1002,V3(t,n))})}var eb=class{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.statusReactive=void 0,this.pristineReactive=!0,this.touchedReactive=!1,this._events=new Zp,this.events=this._events.asObservable(),this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return this.statusReactive}set status(e){this.statusReactive=e}get valid(){return this.status===Tf}get invalid(){return this.status===Oh}get pending(){return this.status==ec}get disabled(){return this.status===xf}get enabled(){return this.status!==xf}get pristine(){return this.pristineReactive}set pristine(e){this.pristineReactive=e}get dirty(){return!this.pristine}get touched(){return this.touchedReactive}set touched(e){this.touchedReactive=e}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(yI(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(yI(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(hI(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(hI(e,this._rawAsyncValidators))}hasValidator(e){return Nh(this._rawValidators,e)}hasAsyncValidator(e){return Nh(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){var t;let r=this.touched===!1;this.touched=!0;let o=(t=e.sourceControl)!=null?t:this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(qi(is({},e),{sourceControl:o})),r&&e.emitEvent!==!1&&this._events.next(new KP(!0,o))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){var t;let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let o=(t=e.sourceControl)!=null?t:this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:o})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,o),r&&e.emitEvent!==!1&&this._events.next(new KP(!1,o))}markAsDirty(e={}){var t;let r=this.pristine===!0;this.pristine=!1;let o=(t=e.sourceControl)!=null?t:this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(qi(is({},e),{sourceControl:o})),r&&e.emitEvent!==!1&&this._events.next(new qP(!1,o))}markAsPristine(e={}){var t;let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let o=(t=e.sourceControl)!=null?t:this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,o),r&&e.emitEvent!==!1&&this._events.next(new qP(!0,o))}markAsPending(e={}){var t;this.status=ec;let r=(t=e.sourceControl)!=null?t:this;e.emitEvent!==!1&&(this._events.next(new Ih(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(qi(is({},e),{sourceControl:r}))}disable(e={}){var t;let r=this._parentMarkedDirty(e.onlySelf);this.status=xf,this.errors=null,this._forEachChild(n=>{n.disable(qi(is({},e),{onlySelf:!0}))}),this._updateValue();let o=(t=e.sourceControl)!=null?t:this;e.emitEvent!==!1&&(this._events.next(new gI(this.value,o)),this._events.next(new Ih(this.status,o)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(qi(is({},e),{skipPristineCheck:r}),this)}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Tf,this._forEachChild(r=>{r.enable(qi(is({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(qi(is({},e),{skipPristineCheck:t}),this)}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}updateValueAndValidity(e={}){var t;if(this._setInitialStatus(),this._updateValue(),this.enabled){let o=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Tf||this.status===ec)&&this._runAsyncValidator(o,e.emitEvent)}let r=(t=e.sourceControl)!=null?t:this;e.emitEvent!==!1&&(this._events.next(new gI(this.value,r)),this._events.next(new Ih(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(qi(is({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xf:Tf}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=ec,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:e!==!1};let r=bI(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){var e,t,r;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let o=(r=((e=this._hasOwnPendingAsyncValidator)==null?void 0:e.emitEvent)||((t=this._hasOwnPendingAsyncValidator)==null?void 0:t.shouldHaveEmitted))!=null?r:!1;return this._hasOwnPendingAsyncValidator=null,o}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(e,t){let r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new Ih(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,r)}_initObservables(){this.valueChanges=new mI,this.statusChanges=new mI}_calculateStatus(){return this._allControlsDisabled()?xf:this.errors?Oh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ec)?ec:this._anyControlsHaveStatus(Oh)?Oh:Tf}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),o&&this._events.next(new qP(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new KP(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Pf(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Z3(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=eB(this._rawAsyncValidators)}},Mh=class extends eb{constructor(e,t,r){super(JP(t),ZP(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,r={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,t={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,r={}){let o=this._adjustIndex(e);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){OI(this,!1,e),e.forEach((r,o)=>{_I(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(e.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((r,o)=>{r.reset(e[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_forEachChild(e){this.controls.forEach((t,r)=>{e(t,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){var t;return(t=this.at(e))!=null?t:null}};function II(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}function vI(e){II(e)?(this.value=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=e}var tB=class extends eb{constructor(e=null,t,r){super(JP(t),ZP(r,t)),this.defaultValue=null,vI.call(this,e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Pf(t)&&(t.nonNullable||t.initialValueIsDefault)&&(II(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=e,this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){vI.call(this,e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t)}getRawValue(){return this.value}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}_forEachChild(e){}},Ae=tB;var Ar=class extends eb{constructor(e,t,r){super(JP(t),ZP(r,t)),rB(e),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,r={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){OI(this,!0,e),Object.keys(e).forEach(r=>{_I(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(r=>{let o=this.controls[r];o&&o.patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((r,o)=>{r.reset(e?e[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,r)=>(e[r]=t.getRawValue(),e))}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&e(r,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(e,t){let r=e;return this._forEachChild((o,n)=>{r=t(r,o,n)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};function rB(e){let t=Object.keys(e).filter(r=>r.includes("."));if(t.length>0)throw new Error(`FormGroup keys cannot include \`.\`, please replace the keys for: ${t.join(",")}.`)}var Po=P(N(),1);var tc=P(k(),1);function kI(e,t,...r){if(t===void 0)throw new Error("thisArg cannot be undefined, use null if necessary");return(0,Po.useMemo)(()=>e.bind(t,...r),[e,...r])}function bo(e,t,r){let o=(0,Po.useRef)(t),n=(0,Po.useMemo)(()=>oB(e===void 0?GP:e instanceof Promise?gf(e):e,o,r),[e]);return(0,Po.useSyncExternalStore)(n,()=>o.current)}function oB(e,t,r){return o=>{let n=e.subscribe(s=>{t.current=r?r(s):s,o()});return()=>n.unsubscribe()}}function Mn({title:e,required:t,multiple:r,sx:o,control:n,options:s,helperText:i}){let a=(0,Po.useId)();bo(n.events);let l=(0,Po.useMemo)(()=>new Map(s.map(c=>[c.value,c])),[s]),p=(0,Po.useMemo)(()=>r?n.value.map(c=>l.get(c)):n.value&&l.get(n.value),[n.value,r,l]);return(0,tc.jsx)(tl,{sx:o,options:s,disableClearable:t,renderInput:c=>(0,tc.jsx)(Nr,{error:n.touched&&n.invalid,required:t,...c,label:e}),multiple:r,onBlur:()=>n.markAsTouched(),value:p,onChange:(c,u)=>{r?n.setValue(u.map(f=>f.value)):n.setValue(u&&u.value),n.markAsDirty()}})}function il(){return(0,tc.jsx)(ka,{children:(0,tc.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"680",height:"317pt",viewBox:"34 107 510 317",children:(0,tc.jsx)("path",{d:"m204.10294 372.67294 2.81039.8291c3.53151-1.58007 10.63031.86197 14.3959 2.05591-6.934-7.68695-17.38058-18.97509-24.90698-26.09145-2.4704-8.61546-1.41632-17.2848-.88481-26.0799l.10661-.7276c-2.96672 7.0407-6.73159 13.8847-8.75512 21.29577-2.36798 9.99817 10.5243 20.78568 15.5234 26.96817Zm214.89999 42.28504c-19.34998-.54698-27.86099-.49994-37.71558-16.70502l-7.68051.22004c-8.93988-.397-5.2142-.21705-11.1784-.51399-9.9719-.38803-8.37448-9.86297-10.12879-14.86898-2.8063-16.99305 3.71359-34.07392 3.50791-51.07032-.07282-6.03332-8.61032-27.38909-11.6604-35.02423-9.56162 1.80024-19.17511 2.14347-28.8754 2.62683-22.35922-.05477-44.5668-2.79281-66.61382-6.26983-4.29641 17.74804-17.06701 42.58935-6.5111 60.62682 12.81291 18.65766 21.80439 23.82667 35.7414 24.95164 13.93686 1.12406 17.0839 16.85904 13.71207 22.47903-2.98447 3.88403-8.22986 4.58905-12.68646 5.53003l-8.9144.41898c-7.01489-.23599-13.28491-2.12998-19.53552-5.051-10.43848-5.82696-21.2195-17.94095-29.22959-26.63797 1.86481 3.47299 2.97712 10.25293 1.28571 13.40802-4.7359 6.70896-25.21872 6.66797-34.59912 2.49897-10.65598-4.73502-36.40497-37.98197-40.386-62.88245 10.591-20.02872 26.02-37.47495 33.826-59.28323-17.015-10.85694-26.128-28.53113-24.94499-48.55152l.427-2.3175c-16.74199 3.13418-8.05998 1.96809-26.069976 3.33049-57.356004-.17549-107.796005-39.06484-79.393997-99.505786 1.846985-3.57904 3.603989-6.833004 6.735001-5.278994 2.512985 1.24695 2.152008 6.24898.887985 11.79598-16.234985 72.21878 63.111997 72.77153 111.887997 59.40782 4.84098-1.3266 14.46898-10.2612 21.13848-13.22311 10.9019-4.84113 22.7348-6.8053 34.47801-8.22059 29.20767-3.32814 64.31171 12.05838 82.14798 12.56079 17.83648.50239 43.20953-4.27082 58.785-3.26582 11.30133.51708 22.39853 2.55699 33.30252 5.46282 7.05802-34.3909 7.55701-59.737904 24.289-65.6059 9.82001 1.550995 17.38696 14.93298 22.98801 22.08301l.02298-.00403c11.40697-.45001 22.26203 2.44403 33.05499 5.65599 19.54004-2.772964 35.93702-13.74597 53.193-22.28198-.05396.268995-.33594.35998-.50397.54098-16.98199 13.73401-19.35405 36.95803-17.35602 58.43425.74304 11.14415-2.406 23.24344-6.29895 34.65357-7.28503 18.5899-21.35406 38.18498-37.68304 37.17997-6.17298-.19526-9.75901-3.69059-14.34699-7.4223-.89001 7.55863-4.388 14.30321-7.76001 20.98812-7.78698 14.82183-28.13598 21.35339-46.97802 37.18005-18.84076 15.8269 6.02902 72.35141 12.05902 82.65039 6.02902 10.29996 22.85998 14.06796 16.32901 23.36392-1.99799 3.07004-5.05301 4.16806-8.31803 5.35904Z"})})})}var as=P(N(),1);var tb=(e,t)=>{console.log(e,t)};function rc(e,t=async()=>{},r=async()=>{},o=[]){let n=(0,as.useRef)(!1),[s,i]=(0,as.useState)(!0),[a,l]=(0,as.useState)(new Lh),[p,c]=(0,as.useState)(),[u,f]=(0,as.useState)();return(0,as.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,as.useEffect)(()=>{let g=!1,v=!1,x=!1,b=!1,m=!1;return(async()=>{if(await Promise.resolve(),!(!n.current||g)){i(!0);try{v=!0;let h=await e();a.resolve(h),b=!0,n.current&&!g?(c(void 0),f(h),i(!1)):t()}catch(h){if(!n.current)return;m=!0,tb("mount",h),i(!1),c(h),a.reject(h)}finally{x=!0}}})(),()=>{g=!0,(async()=>{if(b)try{if(await t(),!n.current)return;f(void 0)}catch(h){if(!n.current)return;tb("unmount",h)}else if(v&&!m)try{await r()}catch(h){if(!n.current)return;tb("cancel",h)}})(),l(new Lh)}},o),{error:p,loading:s,result:u,promise:a}}var Dh,Fh,Yi,Lh=class extends Promise{constructor(r){let o,n;super((s,i)=>{o=s,n=i,typeof r=="function"&&r(s,i)});Ef(this,Dh);Ef(this,Fh);Ef(this,Yi,!1);this.resolve=o,this.reject=n,r instanceof Promise&&r.then(s=>this.resolve(s))}get done(){return pl(this,Yi)}resolve(r){pl(this,Yi)||(ug(this,Yi,!0),pl(this,Dh).call(this,r))}reject(r){pl(this,Yi)||(ug(this,Yi,!0),pl(this,Fh).call(this,r))}};Dh=new WeakMap,Fh=new WeakMap,Yi=new WeakMap;var ls=P(N(),1);var bf=P(k(),1);function $h(e,t){return r=>{let[o,n]=(0,ls.useState)(new jh),[s,i]=(0,ls.useState)(null),a=(0,ls.useCallback)(()=>{let l=new jh;return n(l),l.promise},[]);return rc(async()=>{let l=await e(r);i(l),o.resolve(l)},void 0,void 0,[o]),s?(0,bf.jsx)(nB,{useRender:()=>t(s,a,r)}):null}}var jh=class{constructor(){Vn(this,"promise");Vn(this,"resolve");Vn(this,"reject");this.promise=new Promise((t,r)=>{this.resolve=t,this.reject=r})}};function nB({useRender:e}){return e()}var rb=ls.default.createContext(null);function Yr(){return ls.default.useContext(rb)}function Mr(e){return async t=>{let r=await fetch(pathPrefix+"/admin/"+e,{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"TiddlyWiki"},body:JSON.stringify(t)});if(!r.ok)throw new Error(`Failed to fetch data for /admin/${e}: ${await r.text()}`);return await r.json()}}var Ye={index_json:Mr("index_json"),user_edit_data:Mr("user_edit_data"),user_list:Mr("user_list"),user_create:Mr("user_create"),user_delete:Mr("user_delete"),user_update:Mr("user_update"),user_update_password:Mr("user_update_password"),recipe_create_or_update:Mr("recipe_create_or_update"),recipe_delete:Mr("recipe_delete"),recipe_acl_update:Mr("recipe_acl_update"),bag_create_or_update:Mr("bag_create_or_update"),bag_delete:Mr("bag_delete"),bag_acl_update:Mr("bag_acl_update"),role_create:Mr("role_create"),role_update:Mr("role_update"),settings_read:Mr("settings_read"),settings_update:Mr("settings_update")};async function NI(){let e=await Ye.index_json(void 0),t=new Map(e.bagList.map(l=>[l.bag_id,l])),r=new Map(e.recipeList.map(l=>[l.recipe_id,l]));return{...e,bagMap:t,recipeMap:r,hasBagAclAccess:l=>(e.isAdmin||e.user_id&&l.owner_id===e.user_id||l._count.acl,!0),getBag:l=>t.get(l),getBagName:l=>t.get(l)?.bag_name,getBagDesc:l=>t.get(l)?.description,hasRecipeAclAccess:l=>e.isAdmin||e.user_id&&l.owner_id===e.user_id?!0:l.recipe_bags.some(p=>t.get(p.bag_id)?._count.acl)}}function Qi({onClick:e,loading:t,...r}){let[o,n]=(0,ls.useState)(!1);return(0,bf.jsx)(Bt,{ref:r.buttonRef,loading:o||t,onClick:s=>{n(!0),e?.(s).finally(()=>{n(!1)})},...r})}function zt(e,t){if(!e)throw new Error(t??`AssertionError: ${e}`)}function ob(e){return!!e}var sB="Login failed. Please check your credentials.",Sf={login1:nb("login1","/login/1"),login2:nb("login2","/login/2"),logout:nb("logout","/logout")};function nb(e,t){let r=async o=>{let n=await fetch(pathPrefix+t,{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"TiddlyWiki"},body:JSON.stringify(o)});if(!n.ok)throw`${await n.text()}`;return await n.json()};return r.path=t,r.key=e,r}function iB(e){return new Promise((t,r)=>{let o=new Blob([e],{type:"application/octet-stream"}),n=new FileReader;n.onerror=r,n.onload=()=>{if(typeof n.result!="string")return r("Failed to read blob");let s=n.result.split(",");if(typeof s[1]!="string")return r("Failed to read blob output");t(s[1])},n.readAsDataURL(o)})}async function aB(e,t){let o=new TextEncoder().encode(e+t),n=await window.crypto.subtle.digest("SHA-256",o);return await iB(n)}async function AI({user_id:e,password:t}){let r=await import("./esm-QMNGI3LF.js");await r.ready;let{clientRegistrationState:o,registrationRequest:n}=r.client.startRegistration({password:t}),s=await Ye.user_update_password({user_id:e,registrationRequest:n});if(!s)throw"Failed to update password";let{registrationRecord:i}=r.client.finishRegistration({clientRegistrationState:o,registrationResponse:s,password:t});await Ye.user_update_password({user_id:e,registrationRecord:i})}async function MI({user_id:e,newPassword:t}){let r=await import("./esm-QMNGI3LF.js");await r.ready;let{clientRegistrationState:o,registrationRequest:n}=r.client.startRegistration({password:t}),s=await Ye.user_update_password({user_id:e,registrationRequest:n});if(!s)throw"Failed to update password";let{registrationRecord:i}=r.client.finishRegistration({clientRegistrationState:o,registrationResponse:s,password:t});await Ye.user_update_password({user_id:e,registrationRecord:i})}async function LI({username:e,password:t,newPassword:r}){let{user_id:o,session_id:n,sessionKey:s,opaque:i}=await sb(e,t),{clientRegistrationState:a,registrationRequest:l}=i.client.startRegistration({password:r}),p=await aB(s,n),c=await Ye.user_update_password({user_id:o,registrationRequest:l,session_id:n,signature:p});if(!c)throw"Failed to update password";let{registrationRecord:u}=i.client.finishRegistration({clientRegistrationState:a,registrationResponse:c,password:r});await Ye.user_update_password({user_id:o,registrationRecord:u,session_id:n,signature:p}),await Sf.logout({session_id:n,signature:p,skipCookie:!0})}async function sb(e,t,r){let o=await import("./esm-QMNGI3LF.js");await o.ready;let{clientLoginState:n,startLoginRequest:s}=o.client.startLogin({password:t}),{loginResponse:i,loginSession:a}=await Sf.login1({username:e,startLoginRequest:s}),l=o.client.finishLogin({clientLoginState:n,loginResponse:i,password:t});if(!l)throw sB;let{finishLoginRequest:p,sessionKey:c,exportKey:u,serverStaticPublicKey:f}=l,{user_id:g,session_id:v}=await Sf.login2({finishLoginRequest:p,loginSession:a,skipCookie:!r});return{user_id:g,session_id:v,username:e,sessionKey:c,exportKey:u,serverStaticPublicKey:f,opaque:o}}var cB=P(N(),1);var So=P(N(),1);var Zt=P(k(),1),DI=(0,So.createContext)(null);function Vh(){return(0,So.useContext)(DI)}function Qr(e){return(...t)=>{let[r,o]=(0,So.useState)(e.blockMode?null:void 0),n=(0,So.useCallback)(()=>{o(void 0)},[]);return[(0,Zt.jsx)(lB,{...e,value:r,onClose:n,args:t,update:o}),o]}}function lB({title:e,maxWidth:t,onClose:r,create:o,render:n,value:s,args:i,update:a,blockMode:l}){let[p,c]=(0,So.useState)({}),u=(0,So.useCallback)(()=>{c({})},[]),f=(0,So.useMemo)(()=>s===void 0?null:o(s),[s,p,o]);bo(f?.valueChanges),bo(f?.statusChanges);let g=Yr(),v=(0,Zt.jsx)(DI.Provider,{value:{form:f,value:s,onClose:r,onReset:u,update:a,indexJson:g,args:i},children:(0,Zt.jsx)(he,{component:"div",spacing:4,paddingBlockStart:2,direction:"column",justifyContent:"flex-start",alignItems:"stretch",children:f&&(0,Zt.jsx)(pB,{render:x=>n(x,...i)})})});return l?v:(0,Zt.jsxs)(Vy,{open:!!f,onClose:()=>{f?.dirty||r()},maxWidth:t??"sm",fullWidth:!0,children:[e!==void 0&&(0,Zt.jsx)(zy,{children:e}),(0,Zt.jsx)(By,{children:v})]})}function pB({render:e}){return e(Vh())}function un({submitLabel:e,onSubmit:t,closeOnDiscard:r,hideClose:o,hideDiscard:n,hideSave:s,alwaysClose:i}){let{form:a,onClose:l,onReset:p}=Vh();bo(a.events);let[c,u]=(0,So.useState)(null),f=(0,So.useCallback)(()=>{r?l():p()},[r,l,a]);return(0,Zt.jsxs)(Zt.Fragment,{children:[c&&c.ok===!1&&(0,Zt.jsx)(Rn,{severity:"error",children:c.message}),c&&c.ok===!0&&(0,Zt.jsx)(Rn,{severity:"success",children:c.message}),(0,Zt.jsxs)(he,{direction:"row",spacing:2,justifyContent:"space-between",alignItems:"center",children:[i&&(0,Zt.jsx)(Bt,{color:"error",onClick:()=>l(),children:"Close"}),(0,Zt.jsxs)(he,{direction:"row-reverse",spacing:2,children:[!s&&(a.dirty||o)&&(0,Zt.jsx)(Qi,{disabled:a.invalid||a.disabled||!a.dirty,variant:"contained",onClick:async()=>{u(null);let g=await t().then(v=>({ok:!0,message:v}),v=>(console.error(v),{ok:!1,message:typeof v=="string"?v:`${v?.message??v}`}));u(g)},children:e||"Save"}),!n&&a.dirty&&(0,Zt.jsx)(Bt,{disabled:a.disabled,onClick:f,children:"Discard"}),!i&&!o&&!a.dirty&&(0,Zt.jsx)(Bt,{onClick:()=>l(),children:"Close"})]})]})]})}var FI=P(k(),1);function ps(e){return t=>{e.setValue(t.target.value),e.markAsDirty()}}function Bh(e){return(t,r)=>{e.setValue(r),e.markAsDirty()}}function gr({control:e,...t}){return(0,FI.jsx)(Nr,{...t,value:e.value,onChange:ps(e),disabled:e.disabled,error:e.touched&&e.invalid||t.error,onBlur:r=>{e.markAsTouched(),t.onBlur?.(r)}})}var Uh=P(N(),1);var cs=P(k(),1),jI=Qr({blockMode:!0,create:e=>new Ar({username:new Ae("",{nonNullable:!0,validators:[ke.required,ke.minLength(3)]}),password:new Ae("",{nonNullable:!0,validators:[ke.required,ke.minLength(4)]})}),render:({form:e})=>{let[t,r]=(0,Uh.useState)(null),o=(0,Uh.useRef)(null);return(0,cs.jsxs)(cs.Fragment,{children:[(0,cs.jsx)(gr,{control:e.controls.username,label:"Username",required:!0},"username"),(0,cs.jsx)(gr,{control:e.controls.password,label:"Password",type:"password",required:!0,onKeyDown:n=>{n.key==="Enter"&&(n.preventDefault(),o.current?.click())}},"password"),t&&t.ok===!1&&(0,cs.jsx)(Rn,{severity:"error",children:t.message}),t&&t.ok===!0&&(0,cs.jsx)(Rn,{severity:"success",children:t.message}),(0,cs.jsx)(Qi,{buttonRef:o,disabled:e.invalid||e.disabled||!e.dirty,variant:"contained",onClick:async()=>{let{username:n,password:s}=e.value;zt(n,"Username is required."),zt(s,"Password is required."),r(null);let i=await sb(n,s,!0).then(a=>{let l=new URLSearchParams(location.search).get("returnUrl");return location.href=l||`${pathPrefix}/`,new Promise(()=>{})},a=>{throw`${a}`}).then(a=>({ok:!0,message:a}),a=>(console.error(a),{ok:!1,message:typeof a=="string"?a:`${a?.message??a}`}));r(i)},children:"Login"})]})}});var $I=P(N(),1),fn=P(k(),1),uB=()=>{let[e,t]=jI();return(0,$I.useEffect)(()=>{t(null)},[]),(0,fn.jsx)(he,{spacing:2,justifyContent:"center",alignItems:"center",height:"100vh",children:(0,fn.jsx)(Ny,{maxWidth:"sm",children:(0,fn.jsx)(Or,{children:(0,fn.jsxs)(Lt,{children:[(0,fn.jsxs)(he,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[(0,fn.jsx)(We,{href:"/",size:"small",color:"primary",children:(0,fn.jsx)(BO,{})}),(0,fn.jsx)("h2",{children:"TiddlyWiki Login"}),(0,fn.jsx)(We,{size:"small",color:"primary",sx:{opacity:0},disabled:!0,children:(0,fn.jsx)($O,{})})]}),e]})})})})},VI=uB;var og=P(N(),1);var KI=P(N(),1);var ib=P(k()),zh=J([(0,ib.jsx)("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6"},"0"),(0,ib.jsx)("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12m0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17"},"1")],"AdminPanelSettings");var BI=P(k()),Wh=J((0,BI.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");var qh=P(N(),1);var UI=P(k()),Hh=J((0,UI.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var zI=P(k()),Gh=J((0,zI.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove");var bt=P(k(),1),WI=e=>new Ar({role_id:new Ae(e?.role_id??null,{nonNullable:!0,validators:[ke.required]}),permission:new Ae(e?.permission??"READ",{nonNullable:!0,validators:[ke.required]})}),Kh=Qr({title:"Edit ACL",create:e=>new Mh(e?.acl?.map(t=>WI(t))??[]),render:({form:e,value:t,indexJson:[r,o],update:n})=>{let s=mt(),i=(0,qh.useMemo)(()=>r.roleList.map(l=>({label:l.role_name,value:l.role_id})),[r.roleList]),a=(0,qh.useCallback)(l=>l===null?"System":(r.userListAdmin||r.userListUser||[]).find(p=>p.user_id===l)?.username??"Unknown",[r]);return bo(e.valueChanges),(0,bt.jsxs)(bt.Fragment,{children:[t&&(0,bt.jsxs)(os,{children:[(0,bt.jsx)(Nn,{children:(0,bt.jsx)(lo,{src:`/${t.type}s/${encodeURIComponent(t.name)}/tiddlers/%24%3A%2Ffavicon.ico`,children:(0,bt.jsx)(il,{})})}),(0,bt.jsx)(It,{primary:(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Up,{href:`/wiki/${encodeURIComponent(t.name)}`,children:t.name}),t.owner_id&&(0,bt.jsxs)("span",{children:[" (by ",a(t.owner_id),")"]})]}),secondary:t.description})]}),(0,bt.jsxs)(he,{direction:"row",spacing:2,justifyContent:"space-between",children:[(0,bt.jsx)("h3",{children:"ACL"}),(0,bt.jsx)(We,{sx:{color:s.palette.primary.main},onClick:()=>{e.insert(0,WI({role_id:null,permission:"READ"})),e.markAsDirty()},children:(0,bt.jsx)(Hh,{})})]}),e.controls.map((l,p)=>(0,bt.jsxs)(he,{direction:"row",spacing:2,children:[(0,bt.jsx)(Mn,{sx:{flexGrow:.75},required:!0,title:"Select Role",control:l.controls.role_id,options:i}),(0,bt.jsx)(Mn,{sx:{flexGrow:.25},required:!0,options:fB,title:"Permission",control:l.controls.permission}),(0,bt.jsx)(We,{onClick:()=>{e.removeAt(p),e.markAsDirty()},sx:{color:s.palette.error.main},children:(0,bt.jsx)(Gh,{})})]})),(0,bt.jsx)(un,{onSubmit:async()=>{if(!t)return"Error: No value";if(console.log(e.value),t.type==="bag"){await Ye.bag_acl_update({bag_name:t.name,acl:e.value.map(c=>c.role_id&&c.permission&&{role_id:c.role_id,permission:c.permission}).filter(ob)});let p=(await o()).bagList.find(c=>c.bag_id===t.id);return p&&n({type:"bag",id:p.bag_id,name:p.bag_name,description:p.description,owner_id:p.owner_id,acl:p.acl}),`Bag ACL updated successfully. ${p?"Refreshed.":"Refresh to see changes."}`}else{await Ye.recipe_acl_update({recipe_name:t.name,acl:e.value.map(c=>c.role_id&&c.permission&&{role_id:c.role_id,permission:c.permission}).filter(ob)});let p=(await o()).recipeList.find(c=>c.recipe_id===t.id);return p&&n({type:"recipe",id:p.recipe_id,name:p.recipe_name,description:p.description,owner_id:p.owner_id,acl:p.acl}),`Recipe ACL updated successfully. ${p?"Refreshed.":"Refresh to see changes."}`}}})]})}}),fB=["READ","WRITE","ADMIN"].map(e=>({value:e,label:e}));var HI=P(N(),1);var Co=P(k(),1),GI=(e,t)=>+e.startsWith("$:/")-+t.startsWith("$:/")||e.localeCompare(t);function Yh({isCreate:e,control:t,helperText:r,type:o}){let[n]=Yr();bo(t.valueChanges);let s=(0,HI.useMemo)(()=>(n.userListAdmin||n.userListUser||[])?.map(i=>({label:i.username,value:i.user_id})),[n.userListAdmin]);return!n.isAdmin||!n.userListAdmin?null:e?(0,Co.jsxs)(Co.Fragment,{children:[(0,Co.jsx)(Gy,{label:"Admin option: Make yourself the owner.",control:(0,Co.jsx)(Vs,{checked:!!t.value,onChange:i=>t.setValue(i.target.checked?n.user_id:null),disabled:t.disabled})}),!!t.value&&(0,Co.jsxs)(Bs,{children:["The ",o," will be owned by you."]}),!t.value&&(0,Co.jsxs)(Bs,{children:["The ",o," will be unowned."]}),r&&(0,Co.jsx)(Bs,{children:r})]}):s?(0,Co.jsxs)(Co.Fragment,{children:[(0,Co.jsx)(Mn,{title:"Owner",control:t,options:s,helperText:r}),r&&(0,Co.jsx)(Bs,{children:r})]}):null}var us=P(k(),1),qI=Qr({create:e=>{console.log(e);let t=new Ar({bag_name:new Ae(e?.bag_name??"",{nonNullable:!0,validators:[ke.required]}),description:new Ae(e?.description??"",{nonNullable:!0,validators:[ke.required]}),owner_id:new Ae(e?.owner_id??null)});return e&&t.controls.bag_name.disable(),t},render:({form:e,value:t,indexJson:[r,o],update:n})=>{let s=t===null;return(0,us.jsxs)(us.Fragment,{children:[!s&&(0,us.jsxs)("h2",{children:["Bag: ",t?.bag_name]}),s&&(0,us.jsx)(Nr,{label:"Bag Name",value:e.controls.bag_name.value,onChange:ps(e.controls.bag_name),disabled:e.controls.bag_name.disabled,helperText:e.controls.bag_name.disabled&&"Bag name cannot be changed."}),(0,us.jsx)(Nr,{label:"Description",value:e.controls.description.value,onChange:ps(e.controls.description),disabled:e.controls.description.disabled}),(0,us.jsx)(Yh,{type:"bag",isCreate:s,control:e.controls.owner_id}),(0,us.jsx)(un,{onSubmit:async()=>{let i=e.value;console.log(i,s);let a=r.isAdmin;if(a?i.owner_id===""&&(i.owner_id=null):i.owner_id=void 0,e.invalid)throw console.log(e.errors),e.errors;let l=s?i.bag_name:t.bag_name;zt(l),zt(i.description);let{bag_id:p}=await Ye.bag_create_or_update({bag_name:l,description:i.description,owner_id:a?i.owner_id:void 0,create_only:s}),u=(await o()).bagList.find(f=>f.bag_id===p);return u&&n(u),`Bag ${s?"created":"updated"} successfully. ${u?"Refreshed.":"Refresh to see changes."}`}})]})}});var St=P(k(),1);function YI(){let[{hasBagAclAccess:e,...t}]=Yr(),r=(0,KI.useCallback)(a=>a===null?"System":(t.userListAdmin||t.userListUser||[]).find(l=>l.user_id===a)?.username??"Unknown",[t]),[o,n]=qI(),[s,i]=Kh();return(0,St.jsx)(Lt,{children:(0,St.jsx)(he,{direction:"column",spacing:2,children:(0,St.jsxs)(Or,{variant:"outlined",children:[(0,St.jsxs)(Lt,{children:[(0,St.jsx)("h1",{children:"Bags"}),(0,St.jsx)(Dt,{children:t.bagList.map(a=>(0,St.jsxs)(qr,{disableRipple:!0,children:[(0,St.jsx)(Nn,{children:(0,St.jsx)(lo,{src:`${pathPrefix}/bag/${encodeURIComponent(a.bag_name)}/tiddlers/%24%3A%2Ffavicon.ico`,children:(0,St.jsx)(il,{})})}),(0,St.jsx)(It,{primary:(0,St.jsxs)(St.Fragment,{children:[a.bag_name,a.owner_id&&(0,St.jsxs)("span",{children:[" (by ",r(a.owner_id),")"]})]}),secondary:a.description}),(0,St.jsxs)(he,{direction:"row",spacing:1,children:[(0,St.jsx)(We,{edge:"end","aria-label":"edit",href:"",onClick:l=>{n(a)},children:(0,St.jsx)(Wh,{})}),e?.(a)&&(0,St.jsx)(We,{edge:"end","aria-label":"open acl",onClick:()=>{i({type:"bag",id:a.bag_id,name:a.bag_name,description:a.description,owner_id:a.owner_id,acl:a.acl})},children:(0,St.jsx)(zh,{})})]})]},a.bag_name))}),o,s]}),(0,St.jsx)(ts,{children:(0,St.jsx)(Bt,{onClick:()=>{n(null)},children:"Create new bag"})})]})})})}var Jh=P(N(),1);var QI=P(k()),XI=J((0,QI.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");var JI=P(k()),ZI=J((0,JI.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");var ek=P(k()),Qh=J((0,ek.jsx)("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm-1.06 13.54L7.4 12l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"}),"GppGood");var tk=P(k()),Xh=J((0,tk.jsx)("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25zM9.91 8.5 8.5 9.91 10.59 12 8.5 14.09l1.41 1.41L12 13.42l2.09 2.08 1.41-1.41L13.42 12l2.08-2.09-1.41-1.41L12 10.59z"}),"GppBadOutlined");var rk=P(k()),ok=J((0,rk.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"ReportProblem");var nk=P(k()),sk=J((0,nk.jsx)("path",{d:"m19.78 22.61-1.63-1.63c-.05 0-.1.02-.15.02h-3.8c0-2.71-2.16-3-2.7-3s-2.7.29-2.7 3H5c-1.1 0-2-.9-2-2v-3.8c2.71 0 3-2.16 3-2.7s-.3-2.7-2.99-2.7V6c0-.05.02-.09.02-.14L1.39 4.22 2.8 2.81l18.38 18.38zm.22-5.44V15c1.38 0 2.5-1.12 2.5-2.5S21.38 10 20 10V6c0-1.1-.9-2-2-2h-4c0-1.38-1.12-2.5-2.5-2.5S9 2.62 9 4H6.83z"}),"ExtensionOff");var ik=P(k()),ak=J((0,ik.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-.14 0-.27.01-.4.04-.39.08-.74.28-1.01.55-.18.18-.33.4-.43.64-.1.23-.16.49-.16.77v14c0 .27.06.54.16.78s.25.45.43.64c.27.27.62.47 1.01.55.13.02.26.03.4.03h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-8 11.17-1.41 1.42L6 12l3.59-3.59L11 9.83 8.83 12zm1-9.92c-.41 0-.75-.34-.75-.75s.34-.75.75-.75.75.34.75.75-.34.75-.75.75m2.41 11.34L13 14.17 15.17 12 13 9.83l1.41-1.42L18 12z"}),"IntegrationInstructions");var lk=P(k()),pk=J((0,lk.jsx)("path",{d:"M3.5 9H5v6H3.5v-2.5h-2V15H0V9h1.5v2h2zm14 0H13c-.55 0-1 .45-1 1v5h1.5v-4.5h1V14H16v-3.51h1V15h1.5v-5c0-.55-.45-1-1-1M11 9H6v1.5h1.75V15h1.5v-4.5H11zm13 6v-1.5h-2.5V9H20v6z"}),"Html");var ck=P(k()),uk=J((0,ck.jsx)("path",{d:"M12 14v-1h1.5v.5h2v-1H13c-.55 0-1-.45-1-1V10c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1h-1.5v-.5h-2v1H16c.55 0 1 .45 1 1V14c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1M9 9v4.5H7.5v-1H6v1c0 .83.67 1.5 1.5 1.5H9c.83 0 1.5-.67 1.5-1.5V9z"}),"Javascript");var fk=P(k()),dk=J((0,fk.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward");var mk=P(k()),yk=J((0,mk.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward");var te=P(k(),1),hk=Qr({create:e=>{let t=new Ar({recipe_name:new Ae(e?.recipe_name??"",{nonNullable:!0,validators:[ke.required]}),description:new Ae(e?.description??"",{nonNullable:!0,validators:[ke.required]}),owner_id:new Ae(e?.owner_id??null,{nonNullable:!0}),bag_names:new Mh(e?e.bag_names.map(r=>ab(r)):[ab({bag_name:"",with_acl:!1})],{validators:[ke.required]}),plugin_names:new Ae(e?.plugin_names??[],{nonNullable:!0,validators:[]}),skip_required_plugins:new Ae(e?.skip_required_plugins??!1,{nonNullable:!0}),skip_core:new Ae(e?.skip_core??!1,{nonNullable:!0}),preload_store:new Ae(e?.preload_store??!1,{nonNullable:!0}),custom_wiki:new Ae(e?.custom_wiki??null,{nonNullable:!1})});return e&&t.controls.recipe_name.disable(),t},render:({form:e,indexJson:[t,r],value:o,update:n})=>{let s=o===null,i=mt(),a=t.isAdmin;return(0,te.jsxs)(te.Fragment,{children:[!s&&(0,te.jsxs)("h2",{children:["Recipe: ",o?.recipe_name]}),s&&(0,te.jsx)(Nr,{label:"Recipe Name",value:e.controls.recipe_name.value,onChange:ps(e.controls.recipe_name),disabled:e.controls.recipe_name.disabled,helperText:e.controls.recipe_name.disabled&&"Recipe name cannot be changed.",required:!e.controls.recipe_name.disabled}),(0,te.jsx)(Nr,{label:"Description",value:e.controls.description.value,onChange:ps(e.controls.description),required:!0}),(0,te.jsx)(Yh,{type:"recipe",isCreate:s,control:e.controls.owner_id}),(0,te.jsxs)(he,{direction:"row",spacing:2,justifyContent:"space-between",children:[(0,te.jsx)("h2",{children:"Bags"}),(0,te.jsx)(We,{sx:{color:i.palette.primary.main},onClick:()=>{e.controls.bag_names.insert(0,ab({bag_name:"",with_acl:!1})),e.controls.bag_names.markAsDirty()},children:(0,te.jsx)(Hh,{})})]}),e.controls.bag_names.controls.map((l,p)=>(0,te.jsx)(dB,{bagRow:l,bag_names:t.bagList.map(c=>c.bag_name),onMoveUp:p>0?()=>{e.controls.bag_names.removeAt(p),e.controls.bag_names.insert(p-1,l),e.controls.bag_names.markAsDirty()}:void 0,onMoveDown:p<e.controls.bag_names.length-1?()=>{e.controls.bag_names.removeAt(p),e.controls.bag_names.insert(p+1,l),e.controls.bag_names.markAsDirty()}:void 0,onRemove:e.controls.bag_names.length>1?()=>{e.controls.bag_names.removeAt(p),e.controls.bag_names.markAsDirty()}:void 0},JSON.stringify(l.value.bag_name))),(0,te.jsx)("h2",{children:"Client Plugins"}),(0,te.jsx)(Mn,{title:"Plugins",multiple:!0,control:e.controls.plugin_names,options:t.clientPlugins.map(l=>({value:l,label:l}))}),(0,te.jsx)(Wo,{}),(0,te.jsxs)(he,{direction:"column",justifyContent:"stretch",alignItems:"stretch",spacing:0,children:[(0,te.jsx)("h2",{children:"Required Plugins"}),(0,te.jsx)("p",{children:"These plugins are always included even if no other client plugins are set."}),(0,te.jsx)("ul",{children:t.corePlugins.map(l=>(0,te.jsx)("li",{children:l}))}),(0,te.jsx)("p",{children:"You can disable these if you want a completely vanilla wiki."}),(0,te.jsxs)(he,{direction:"row",alignItems:"center",children:[(0,te.jsx)(Vs,{checked:e.controls.skip_required_plugins.value,onChange:Bh(e.controls.skip_required_plugins),disabled:e.controls.skip_required_plugins.disabled}),(0,te.jsx)("span",{children:"Skip Required Plugins"})]})]}),(0,te.jsx)(Wo,{}),(0,te.jsxs)(he,{direction:"column",justifyContent:"stretch",alignItems:"stretch",spacing:0,children:[(0,te.jsx)("h2",{children:"TiddlyWiki Core"}),(0,te.jsx)("p",{children:"The TiddlyWiki core is the heart of your wiki. Obviously the only reason to disable this is if you want to write a completely new core from scratch or want to include an older version of the core from a bag."}),(0,te.jsxs)(he,{direction:"row",alignItems:"center",children:[(0,te.jsx)(Vs,{checked:e.controls.skip_core.value,onChange:Bh(e.controls.skip_core),disabled:e.controls.skip_core.disabled}),(0,te.jsx)("span",{children:"Skip The Core!"})]})]}),(0,te.jsx)(Wo,{}),(0,te.jsxs)(he,{direction:"column",justifyContent:"stretch",alignItems:"stretch",spacing:0,children:[(0,te.jsx)("h2",{children:"Store Rendering"}),(0,te.jsxs)("p",{children:["Modern TiddlyWiki versions have a JSON store which is injected on page load. For older wikis, you can add tiddlers via ",(0,te.jsx)("code",{children:"$tw.preloadTiddlers"}),", a much older feature."]}),(0,te.jsxs)(he,{direction:"row",alignItems:"center",children:[(0,te.jsx)(Vs,{checked:e.controls.preload_store.value,onChange:Bh(e.controls.preload_store),disabled:e.controls.preload_store.disabled}),(0,te.jsx)("span",{children:"Preload Tiddlers"})]})]}),(0,te.jsx)(Wo,{}),(0,te.jsxs)(he,{direction:"column",justifyContent:"stretch",alignItems:"stretch",spacing:0,children:[(0,te.jsx)("h2",{children:"Custom Wiki"}),(0,te.jsxs)("p",{children:["The final boss of advanced recipes. This allows you to completely replace the wiki page with a custom one, including raw markup, old versions of core, or even a completely different wiki. All the HTTP endpoints will still work, and the store tiddlers and recipe plugins will be added right before the closing head tag using ",(0,te.jsx)("code",{children:"$tw.preloadTiddlers"}),".",(0,te.jsx)("br",{}),(0,te.jsx)("br",{}),"The options above still apply. Boot, library, and raw markup tiddlers are not read from store and must be included here manually. If the wiki is old enough, all options will need to be enabled.",(0,te.jsx)("br",{}),(0,te.jsx)("br",{}),"If you want to bulk import an older wiki, you can create a separate recipe with the same bag to import the tiddlers using the new bulk save feature, then open this recipe to view the tiddlers in the older version."]}),(0,te.jsx)(Nr,{multiline:!0,rows:10,label:"Custom Wiki",value:e.controls.custom_wiki.value,onChange:l=>e.controls.custom_wiki.setValue(l.target.value),disabled:e.controls.custom_wiki.disabled})]}),!s&&(0,te.jsx)(te.Fragment,{children:(0,te.jsxs)(he,{direction:"column",justifyContent:"stretch",alignItems:"stretch",spacing:0,children:[(0,te.jsx)("h2",{children:"Delete Recipe"}),(0,te.jsx)("p",{children:"If you want to delete this recipe, you can do so here. This will not delete any bags or plugins, but will remove the recipe from the list."}),(0,te.jsx)(Bt,{variant:"contained",color:"error",onClick:async()=>{o.recipe_name&&window.confirm("Are you sure you want to delete this recipe?")&&(await Ye.recipe_delete({recipe_name:o.recipe_name}),r())},disabled:s,children:"Delete Recipe"})]})}),(0,te.jsx)(un,{onSubmit:async()=>{let l=e.value;if(console.log(l,s),a?l.owner_id===""&&(l.owner_id=null):l.owner_id=void 0,l.bag_names?.length===0)throw"Recipe must have at least one bag.";if(e.invalid)throw console.log(e.errors),e.errors;let p=s?l.recipe_name:o.recipe_name;zt(p),zt(l.description),zt(l.bag_names),zt(l.plugin_names);let{plugin_names:c,skip_required_plugins:u=!1,skip_core:f=!1,preload_store:g=!1}=l,{recipe_id:v}=await Ye.recipe_create_or_update({recipe_name:p,description:l.description,owner_id:l.owner_id,bag_names:l.bag_names.map(({bag_name:m,with_acl:h=!1})=>(zt(m),{bag_name:m,with_acl:h})),plugin_names:c,skip_required_plugins:u,skip_core:f,preload_store:g,custom_wiki:l.custom_wiki||null,create_only:s}),b=(await r()).recipeList.find(m=>m.recipe_id===v);return b&&n({...b,bag_names:b.recipe_bags.map(m=>({bag_name:t.getBag(m.bag_id)?.bag_name??"",with_acl:m.with_acl}))}),`Recipe ${s?"created":"updated"} successfully. ${b?"Refreshed.":"Refresh to see changes."}`}})]})}}),ab=e=>new Ar({bag_name:new Ae(e.bag_name,{nonNullable:!0,validators:[ke.required]}),with_acl:new Ae(e.with_acl,{nonNullable:!0})});function dB({bag_names:e,bagRow:t,onMoveDown:r,onMoveUp:o,onRemove:n}){bo(t.valueChanges);let s=mt(),i=wP(s.breakpoints.down("sm"));return(0,te.jsxs)(he,{direction:i?"column":"row",spacing:0,children:[(0,te.jsx)(tl,{sx:{flexGrow:1},options:e.sort(GI),renderInput:a=>(0,te.jsx)(Nr,{error:!t.value.bag_name,required:!0,...a,label:"Bag Name"}),value:t.value.bag_name,onChange:(a,l)=>{t.controls.bag_name.setValue(l??""),t.controls.bag_name.markAsDirty()}}),(0,te.jsxs)(he,{direction:"row",spacing:0,children:[(0,te.jsx)(Vs,{disabled:t.value.bag_name?.startsWith("$:/"),checkedIcon:(0,te.jsx)(Qh,{}),icon:(0,te.jsx)(Xh,{}),defaultChecked:t.value.with_acl,color:"primary",title:"With ACL",value:t.value.with_acl,onChange:(a,l)=>{console.log(l),t.controls.with_acl.setValue(l),t.controls.with_acl.markAsDirty()}}),(0,te.jsx)(We,{disabled:!o,onClick:o,children:(0,te.jsx)(dk,{})}),(0,te.jsx)(We,{disabled:!r,onClick:r,children:(0,te.jsx)(yk,{})}),(0,te.jsx)(We,{disabled:!n,onClick:n,sx:{color:s.palette.error.main},children:(0,te.jsx)(Gh,{})})]})]})}var pe=P(k(),1);function lb(){let[{getBag:e,getBagName:t,getBagDesc:r,hasBagAclAccess:o,hasRecipeAclAccess:n,...s},i]=Yr(),a=(0,Jh.useCallback)(v=>v===null?"System":(s.userListAdmin||s.userListUser||[]).find(x=>x.user_id===v)?.username??"Unknown",[s]),[l,p]=hk(),[c,u]=Kh(),[f,g]=(0,Jh.useState)(null);return(0,pe.jsx)(Lt,{children:(0,pe.jsx)(he,{direction:"column",spacing:2,children:(0,pe.jsxs)(Or,{variant:"outlined",children:[(0,pe.jsxs)(Lt,{children:[(0,pe.jsx)("h1",{children:"Recipes"}),(0,pe.jsx)(Dt,{children:s.recipeList.map(v=>{let x=v.recipe_bags.every(d=>!!e(d.bag_id)),b=v.skip_required_plugins,m=v.skip_core,h=!!v.custom_wiki;return(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsxs)(qr,{disableRipple:!0,children:[h&&(0,pe.jsx)(Ws,{title:"Custom Wiki",children:(0,pe.jsx)(We,{children:(0,pe.jsx)(pk,{color:"error",fontSize:"large"})})}),m&&(0,pe.jsx)(Ws,{title:"Core Disabled",children:(0,pe.jsx)(We,{children:(0,pe.jsx)(ak,{color:"error",fontSize:"large"})})}),(0,pe.jsx)(Nn,{children:x?(0,pe.jsx)(lo,{src:`${pathPrefix}/recipe/${encodeURIComponent(v.recipe_name)}/tiddlers/%24%3A%2Ffavicon.ico`,children:(0,pe.jsx)(il,{})}):(0,pe.jsx)(ok,{color:"warning",fontSize:"large"})}),(0,pe.jsx)(It,{primary:(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(Up,{href:encodeURI(`${pathPrefix}/wiki/${v.recipe_name}`),children:v.recipe_name}),v.owner_id&&(0,pe.jsxs)("span",{children:[" (by ",a(v.owner_id),")"]})]}),secondary:(0,pe.jsxs)(he,{direction:"column",children:[(0,pe.jsx)("span",{children:v.description}),!x&&(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)("span",{children:"You need at least read permission for every bag in this recipe."}),(0,pe.jsx)(Wo,{})]})]})}),(0,pe.jsxs)(he,{direction:"row",spacing:1,children:[b&&(0,pe.jsx)(Ws,{title:"Required Plugins Disabled",children:(0,pe.jsx)(We,{children:(0,pe.jsx)(sk,{})})}),v.preload_store&&(0,pe.jsx)(Ws,{title:"Preload Store Enabled",children:(0,pe.jsx)(We,{children:(0,pe.jsx)(uk,{fontSize:"large"})})}),(0,pe.jsx)(We,{edge:"end","aria-label":"edit recipe",href:"",onClick:()=>{p({...v,bag_names:v.recipe_bags.map(d=>({bag_name:e(d.bag_id)?.bag_name??"",with_acl:d.with_acl}))})},children:(0,pe.jsx)(Wh,{})}),n(v)&&(0,pe.jsx)(We,{edge:"end","aria-label":"open acl",onClick:()=>{u({type:"recipe",id:v.recipe_id,name:v.recipe_name,description:v.description,owner_id:v.owner_id,acl:v.acl})},children:(0,pe.jsx)(zh,{})}),(0,pe.jsx)(We,{edge:"end","aria-label":"show bags",onClick:()=>{g(v.recipe_name===f?null:v.recipe_name)},children:f===v.recipe_name?(0,pe.jsx)(XI,{}):(0,pe.jsx)(ZI,{})})]})]},v.recipe_name),(0,pe.jsx)(Cp,{in:f===v.recipe_name,timeout:"auto",unmountOnExit:!0,children:(0,pe.jsx)(Dt,{sx:{pl:"4.25rem"},component:"div",disablePadding:!0,children:v.recipe_bags.map(d=>(0,pe.jsxs)(os,{children:[(0,pe.jsx)(Nn,{children:(0,pe.jsx)(lo,{src:`${pathPrefix}/bag/${encodeURIComponent(t(d.bag_id))}/tiddlers/%24%3A%2Ffavicon.ico`,children:(0,pe.jsx)(il,{})})}),(0,pe.jsx)(ns,{children:d.with_acl?(0,pe.jsx)(Qh,{}):(0,pe.jsx)(Xh,{})}),(0,pe.jsx)(It,{primary:(0,pe.jsxs)(pe.Fragment,{children:[t(d.bag_id),e(d.bag_id)?.owner_id&&(0,pe.jsxs)("span",{children:[" (by ",e(d.bag_id).owner_id,")"]})]}),secondary:r(d.bag_id)})]},t(d.bag_id)))})})]})})}),l,c]}),(0,pe.jsx)(ts,{children:(0,pe.jsx)(Bt,{onClick:()=>{p(null)},children:"Create new recipe"})})]})})})}var gk=P(k()),vk=J((0,gk.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack");var Tk=P(N(),1),qs=P(k(),1),xk=Qr({blockMode:!0,create:e=>new Ar({userId:new Ae(e?.user_id??""),username:new Ae(e?.username??"",{nonNullable:!0,validators:[ke.required,ke.minLength(3)]}),email:new Ae(e?.email??"",{nonNullable:!0,validators:[ke.required,ke.email]}),role_ids:new Ae(e?.roles?.map(t=>t.role_id)??[],{nonNullable:!0})}),render:({form:e,onReset:t,value:r,update:o},n,s,i)=>!n||!s?null:((0,Tk.useEffect)(()=>{r!==s&&o(s)},[s,r,o]),(0,qs.jsxs)(qs.Fragment,{children:[(0,qs.jsx)(gr,{control:e.controls.username,label:"Username",required:!0},"username"),(0,qs.jsx)(gr,{control:e.controls.email,label:"Email",type:"email",required:!0},"email"),(0,qs.jsx)(Mn,{title:"Roles",multiple:!0,control:e.controls.role_ids,options:n.map(a=>({value:a.role_id,label:a.role_name}))}),(0,qs.jsx)(un,{hideClose:!0,onSubmit:async()=>{let{email:a,role_ids:l,userId:p,username:c}=e.value;if(!p)throw"User ID is required.";if(!c||!a)throw"All fields are required.";if(c.length<3)throw"Username must be at least 3 characters long.";if(!l?.length)throw"Role is required.";return await Ye.user_update({user_id:p,username:c,email:a,role_ids:l}).then(async()=>(i(),"User updated successfully.")).catch(u=>{throw`${u}`})}},"submit")]}))});var oc=P(N(),1);var Ft=P(k(),1),bk=Qr({blockMode:!0,title:"Change Password",maxWidth:"xs",create:e=>{let t=new Ar({username:new Ae(e?.username??"",{nonNullable:!0,validators:[ke.required,ke.minLength(3),r=>e&&r.value!==e.username?{mismatch:!0}:null]}),password:new Ae("",{nonNullable:!0,validators:[ke.required,ke.minLength(4)]}),newPassword:new Ae("",{nonNullable:!0,validators:[ke.required,ke.minLength(4)]}),confirmPassword:new Ae("",{nonNullable:!0,validators:[ke.required,ke.minLength(4)]})});return t.controls.confirmPassword.addValidators([r=>t.controls.newPassword.value!==r.value?{mismatch:!0}:null]),t.updateValueAndValidity(),t},render:({form:e,indexJson:[t],value:r,update:o},n)=>{(0,oc.useEffect)(()=>{r!==n&&o(n)},[n,r,o]),(0,oc.useEffect)(()=>{n&&(t.user_id!==n.user_id?(e.controls.username.disable(),e.controls.password.disable()):(e.controls.username.enable(),e.controls.password.enable()))},[t,e,n]);let s=e.controls.confirmPassword.dirty&&e.controls.newPassword.value!==e.controls.confirmPassword.value,[i,a]=(0,oc.useState)(!1);return(0,Ft.jsxs)(Ft.Fragment,{children:[i||r===null?null:t.user_id===r.user_id?(0,Ft.jsxs)(Ft.Fragment,{children:[(0,Ft.jsx)(gr,{control:e.controls.username,label:"Username",name:"username",required:!0,autoComplete:"username",helperText:e.controls.username.value!==t.username?"Please enter your current username.":void 0,error:e.controls.username.value!==t.username},"username"),(0,Ft.jsx)(gr,{control:e.controls.password,label:"Password",name:"password",type:"password",required:!0,autoComplete:"current-password"},"password"),(0,Ft.jsx)(gr,{control:e.controls.newPassword,label:"New Password",name:"newPassword",type:"password",required:!0,autoCapitalize:"suggest-password"},"password"),(0,Ft.jsx)(gr,{control:e.controls.confirmPassword,label:"Confirm Password",type:"password",name:"confirmPassword",required:!0,autoComplete:"suggest-password",error:s,helperText:s?"Passwords do not match.":void 0},"confirmPassword")]}):t.isAdmin?(0,Ft.jsxs)(Ft.Fragment,{children:[(0,Ft.jsx)(gr,{control:e.controls.newPassword,label:"Password",type:"password",name:"newPassword",required:!0,slotProps:Pk,autoCapitalize:"suggest-password"},"password"),(0,Ft.jsx)(gr,{control:e.controls.confirmPassword,label:"Confirm Password",type:"password",name:"confirmPassword",required:!0,slotProps:Pk,autoComplete:"suggest-password",error:s,helperText:s?"Passwords do not match.":void 0},"confirmPassword")]}):null,(0,Ft.jsx)(mB,{complete:i,setComplete:a,user_id:n?.user_id})]})}});function mB({complete:e,setComplete:t,user_id:r}){let{form:o,indexJson:[n]}=Vh();bo(o.events);let[s,i]=(0,oc.useState)(null);return(0,Ft.jsxs)(Ft.Fragment,{children:[s&&s.ok===!1&&(0,Ft.jsx)(Rn,{severity:"error",children:s.message}),s&&s.ok===!0&&(0,Ft.jsx)(Rn,{severity:"success",children:s.message}),(0,Ft.jsx)(he,{direction:"row-reverse",spacing:2,children:(0,Ft.jsx)(Qi,{disabled:o.invalid||o.disabled||!o.dirty||e,variant:"contained",onClick:async()=>{i(null);let{username:a,password:l,newPassword:p,confirmPassword:c}=o.value;if(n.isAdmin){if(!c||!p)throw"All fields are required."}else if(!a||!l||!c||!p)throw"All fields are required.";if(p!==c)throw"Passwords do not match.";if(!r)throw"Internal Error: USER_ID";let u=await(n.isAdmin?MI({user_id:r,newPassword:p}):LI({username:a,password:l,newPassword:p})).then(()=>(t(!0),"Password successfully changed.")).catch(f=>{throw`${f}`}).then(f=>({ok:!0,message:f}),f=>(console.error(f),{ok:!1,message:typeof f=="string"?f:`${f?.message??f}`}));t(!0),i(u)},children:"Save"})})]})}var Pk={htmlInput:{autoCorrect:"off",autoCapitalize:"none",spellCheck:"false","data-lpignore":"true","data-autofill":"false","data-autocomplete":"off","data-autocorrect":"off","data-autocapitalize":"none","data-spellcheck":"false","data-gramm":"false"}};var Qe=P(k(),1);var yB=async e=>{if(window.confirm("Are you sure you want to delete this user account? This action cannot be undone."))return await Ye.user_delete({user_id:e}).then(()=>"User deleted successfully.").catch(t=>{throw`${t}`});throw"Cancelled."},hB=$h(async e=>await Ye.user_edit_data({user_id:e.userID}),({user:e,allRoles:t},r,o)=>{let[n]=xk(t,e,r),[s]=bk(e),[i]=Yr(),a=i.user_id===e.user_id,l=i.isAdmin,p=mt(),c=e.username?.[0]?.toUpperCase();return(0,Qe.jsx)(Qe.Fragment,{children:(0,Qe.jsxs)(he,{direction:"row",alignItems:"space-between",justifyContent:"space-between",spacing:2,children:[(0,Qe.jsxs)(Or,{sx:{flexGrow:1,borderRadius:6},children:[(0,Qe.jsx)(he,{sx:{bgcolor:p.palette.primary.main},direction:"row",justifyContent:"start",children:(0,Qe.jsx)(We,{size:"large","aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",href:l?"admin/users":" ",sx:{color:p.palette.primary.contrastText},children:(0,Qe.jsx)(vk,{})})}),(0,Qe.jsxs)(he,{spacing:0,sx:{bgcolor:p.palette.primary.main,color:p.palette.primary.contrastText},alignItems:"center",justifyContent:"center",direction:"column",children:[(0,Qe.jsx)(lo,{sx:{bgcolor:p.palette.primary.contrastText,color:p.palette.primary.main,width:"8rem",height:"8rem",fontSize:"3rem",fontWeight:"bold"},children:c}),(0,Qe.jsx)("h1",{children:e.username}),(0,Qe.jsx)("p",{children:e.email})]}),(0,Qe.jsxs)(Lt,{children:[(0,Qe.jsxs)(Dt,{children:[(0,Qe.jsx)(os,{children:(0,Qe.jsx)(It,{primary:"User ID",secondary:e.user_id})}),(0,Qe.jsx)(os,{children:(0,Qe.jsx)(It,{primary:"Created At",secondary:e.created_at?.split("T")[0]})}),(0,Qe.jsx)(os,{children:(0,Qe.jsx)(It,{primary:"Last Login",secondary:e.last_login?.split("T")[0]})})]}),l&&!a&&(0,Qe.jsx)(Qi,{onClick:async()=>{await yB(e.user_id)},variant:"outlined",color:"error",sx:{marginBlock:2},children:"Delete Account"}),(0,Qe.jsxs)("div",{className:"mws-user-profile-roles",children:[(0,Qe.jsx)("h2",{children:"User Role"}),(0,Qe.jsx)("ul",{children:e.roles.map(u=>(0,Qe.jsx)(kp,{label:u.role_name},u.role_id))})]})]})]}),(l||a)&&(0,Qe.jsx)(Or,{sx:{flexGrow:1,borderRadius:6},children:(0,Qe.jsxs)(Lt,{children:[(0,Qe.jsx)("h2",{children:"Manage User"}),l&&n,(0,Qe.jsx)("h2",{children:"Change Password"}),s]})})]})})}),Sk=hB;var Ks=P(k(),1),Ck=Qr({create:e=>new Ar({role_name:new Ae(e?.role_name??"",{nonNullable:!0,validators:[ke.required]}),description:new Ae(e?.description??"",{nonNullable:!0,validators:[ke.required]})}),render:({form:e,value:t,indexJson:[,r],onReset:o})=>{let n=t===null;return(0,Ks.jsxs)(Ks.Fragment,{children:[!n&&(0,Ks.jsxs)("h2",{children:["Role: ",t?.role_name]}),n&&(0,Ks.jsx)(Nr,{label:"Role Name",value:e.controls.role_name.value,onChange:ps(e.controls.role_name)}),(0,Ks.jsx)(Nr,{label:"Description",value:e.controls.description.value,onChange:ps(e.controls.description)}),(0,Ks.jsx)(un,{onSubmit:async()=>{let s=e.value;if(console.log(s,n,t),e.invalid)throw console.log(e.errors),e.errors;if(!n&&!t)throw new Error("No value provided");let i=n?s.role_name:t.role_name,{description:a}=s;zt(i),zt(a);let{role_id:l}=n?await Ye.role_create({role_name:i,description:a}):await Ye.role_update({role_id:t.role_id,role_name:i,description:a}),c=(await r()).roleList.find(u=>u.role_id===l);return c&&o(),`Role ${n?"created":"updated"} successfully. ${c?"Refreshed.":"Refresh to see changes."}`}})]})}});var Lr=P(k(),1),wk=()=>{let[e]=Yr(),[t,r]=Ck();return(0,Lr.jsx)(Lr.Fragment,{children:(0,Lr.jsxs)(Lt,{children:[t,(0,Lr.jsx)(he,{direction:"column",spacing:2,children:(0,Lr.jsxs)(Or,{variant:"outlined",children:[(0,Lr.jsxs)(Lt,{children:[(0,Lr.jsx)("h3",{children:"Roles"}),(0,Lr.jsx)(Dt,{children:e.roleList.map(o=>(0,Lr.jsxs)(qr,{onClick:()=>r(o),children:[(0,Lr.jsx)(Nn,{children:(0,Lr.jsx)(lo,{children:o.role_name[0]})}),(0,Lr.jsx)(It,{primary:o.role_name,secondary:o.description})]},o.role_id))})]}),(0,Lr.jsx)(ts,{children:(0,Lr.jsx)(Bt,{onClick:()=>{r(null)},children:"Create new role"})})]})})]})})};var Ln=P(N()),gB=(0,Ln.createContext)(null),pb={didCatch:!1,error:null},nc=class extends Ln.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=pb}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){let{error:t}=this.state;if(t!==null){for(var r,o,n=arguments.length,s=new Array(n),i=0;i<n;i++)s[i]=arguments[i];(r=(o=this.props).onReset)===null||r===void 0||r.call(o,{args:s,reason:"imperative-api"}),this.setState(pb)}}componentDidCatch(t,r){var o,n;(o=(n=this.props).onError)===null||o===void 0||o.call(n,t,r)}componentDidUpdate(t,r){let{didCatch:o}=this.state,{resetKeys:n}=this.props;if(o&&r.error!==null&&vB(t.resetKeys,n)){var s,i;(s=(i=this.props).onReset)===null||s===void 0||s.call(i,{next:n,prev:t.resetKeys,reason:"keys"}),this.setState(pb)}}render(){let{children:t,fallbackRender:r,FallbackComponent:o,fallback:n}=this.props,{didCatch:s,error:i}=this.state,a=t;if(s){let l={error:i,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")a=r(l);else if(o)a=(0,Ln.createElement)(o,l);else if(n!==void 0)a=n;else throw i}return(0,Ln.createElement)(gB.Provider,{value:{didCatch:s,error:i,resetErrorBoundary:this.resetErrorBoundary}},a)}};function vB(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,o)=>!Object.is(r,t[o]))}var ng=P(N(),1);var Ek=P(k()),Rk=J((0,Ek.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");var _k=P(k()),Zh=J((0,_k.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var Ok=P(k()),Ik=J((0,Ok.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"}),"Logout");var kk=P(k()),Nk=J((0,kk.jsx)("path",{d:"M17 6h-2V3c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v3H7c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2 0 .55.45 1 1 1s1-.45 1-1h6c0 .55.45 1 1 1s1-.45 1-1c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2M8.75 18c-.41 0-.75-.34-.75-.75v-7.5c0-.41.34-.75.75-.75s.75.34.75.75v7.5c0 .41-.34.75-.75.75M12 18c-.41 0-.75-.34-.75-.75v-7.5c0-.41.34-.75.75-.75s.75.34.75.75v7.5c0 .41-.34.75-.75.75m1.5-12h-3V3.5h3zm1.75 12c-.41 0-.75-.34-.75-.75v-7.5c0-.41.34-.75.75-.75s.75.34.75.75v7.5c0 .41-.34.75-.75.75"}),"LuggageRounded");var Ak=P(k()),Mk=J((0,Ak.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Assignment");var Lk=P(k()),cb=J((0,Lk.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person");var Dk=P(k()),Fk=J((0,Dk.jsx)("path",{d:"M12 12.75c1.63 0 3.07.39 4.24.9 1.08.48 1.76 1.56 1.76 2.73V18H6v-1.61c0-1.18.68-2.26 1.76-2.73 1.17-.52 2.61-.91 4.24-.91M4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58C.48 14.9 0 15.62 0 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29M20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m4 3.43c0-.81-.48-1.53-1.22-1.85-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H24zM12 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3"}),"Groups");var jk=P(k()),$k=J((0,jk.jsx)("path",{d:"M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7s2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11"}),"Extension");var eg=P(N(),1);var Dr=P(k(),1),Vk=Symbol("name");function Bk(){let[{clientPlugins:e}]=Yr(),t=(0,eg.useMemo)(()=>{let r={};return e.forEach(o=>{let n=o.split("/"),s=r;n.forEach(i=>{s[i]||(s[i]={}),s=s[i]}),s[Vk]=o}),console.log(r),r},[e]);return(0,Dr.jsx)(Lt,{children:(0,Dr.jsx)(he,{direction:"column",spacing:2,children:(0,Dr.jsx)(Or,{variant:"outlined",children:(0,Dr.jsxs)(Lt,{children:[(0,Dr.jsx)("h1",{children:"TiddlyWiki Plugins"}),(0,Dr.jsx)(Dt,{children:Object.keys(t).map(r=>(0,Dr.jsx)(Uk,{folder:r,tree:t[r]}))})]})})})})}function Uk({folder:e,tree:t}){let[r,o]=(0,eg.useState)(e==="$:");return(0,Dr.jsxs)(Dr.Fragment,{children:[(0,Dr.jsx)(qr,{onClick:()=>{o(n=>!n)},children:(0,Dr.jsx)(It,{primary:e,secondary:Object.keys(t).length?void 0:t[Vk]})},e),(0,Dr.jsx)(Cp,{in:r,timeout:"auto",unmountOnExit:!0,children:(0,Dr.jsx)(Dt,{sx:{paddingLeft:"1rem"},component:"div",disablePadding:!0,children:Object.keys(t).map(n=>(0,Dr.jsx)(Uk,{folder:n,tree:t[n]}))})})]})}var tg=P(N(),1);var Ys=P(k(),1);function ub(){let[e,t]=(0,tg.useState)([]),[r,o]=(0,tg.useState)({}),[n,s]=(0,tg.useState)(""),i=(l,p)=>async()=>{let c=e.indexOf(l),u=[...e];s(l),p==="true"?p="false":p="true",await Ye.settings_update({key:l,value:p}),a.find(f=>f.key===l).value=p,s("")},{result:a}=rc(async()=>await Ye.settings_read(void 0),void 0,void 0,[r]);return(0,Ys.jsx)(Dt,{children:a?.map(({key:l,description:p,valueType:c,value:u})=>(0,Ys.jsxs)(qr,{onClick:i(l,u),children:[(0,Ys.jsx)(ns,{children:(0,Ys.jsx)(Zh,{})}),(0,Ys.jsx)(It,{primary:p}),l===n?(0,Ys.jsx)(Ii,{}):c==="boolean"?(0,Ys.jsx)(ph,{edge:"end",checked:u==="true"}):null]},l))})}var Wk=P(N(),1);var Dn=P(k(),1),rg={htmlInput:{autoCorrect:"off",autoCapitalize:"none",spellCheck:"false","data-lpignore":"true","data-autofill":"false","data-autocomplete":"off","data-autocorrect":"off","data-autocapitalize":"none","data-spellcheck":"false","data-gramm":"false"}},zk=Qr({blockMode:!1,create:()=>new Ar({username:new Ae("",{nonNullable:!0,validators:[ke.required,ke.minLength(3)]}),email:new Ae("",{nonNullable:!0,validators:[ke.required,ke.email]}),role_ids:new Ae([],{nonNullable:!0}),password:new Ae("",{nonNullable:!0,validators:[ke.required,ke.minLength(4)]}),confirmPassword:new Ae("",{nonNullable:!0,validators:[ke.required,ke.minLength(4)]})}),render:({form:e,indexJson:[t,r],onReset:o},n)=>(0,Dn.jsxs)(Dn.Fragment,{children:[(0,Dn.jsx)(gr,{control:e.controls.username,label:"Username",required:!0,slotProps:rg},"username"),(0,Dn.jsx)(gr,{control:e.controls.email,label:"Email",type:"email",required:!0,slotProps:rg},"email"),(0,Dn.jsx)(Mn,{title:"Roles",multiple:!0,control:e.controls.role_ids,options:t.roleList.map(s=>({value:s.role_id,label:s.role_name}))}),(0,Dn.jsx)(gr,{control:e.controls.password,label:"Password",type:"password",required:!0,slotProps:rg},"password"),(0,Dn.jsx)(gr,{control:e.controls.confirmPassword,label:"Confirm Password",type:"password",required:!0,slotProps:rg},"confirmPassword"),(0,Dn.jsx)(un,{alwaysClose:!0,onSubmit:async()=>{let{username:s,email:i,role_ids:a,password:l,confirmPassword:p}=e.value;if(zt(s,"Username is required."),zt(i,"Email is required."),zt(a?.length,"Role is required."),zt(l,"Password is required."),zt(p,"Confirm Password is required."),l!==p)throw"Passwords do not match";let{user_id:c}=await Ye.user_create({username:s,email:i,role_ids:a});return await AI({user_id:c,password:l}),o(),n(),r(),"User added successfully"}},"submit")]})});var vr=P(k(),1);function Hk(){let[e,t]=(0,Wk.useState)({}),r=kI(t,null,{}),[o,n]=zk(r),{result:s}=rc(async()=>await Ye.user_list(void 0),void 0,void 0,[e]);return(0,vr.jsx)(Lt,{children:(0,vr.jsx)(he,{direction:"column",spacing:2,children:(0,vr.jsxs)(Or,{variant:"outlined",children:[(0,vr.jsxs)(Lt,{children:[(0,vr.jsx)("h1",{children:"Users"}),(0,vr.jsx)(Dt,{children:s?.map(i=>(0,vr.jsx)(qr,{href:`admin/users/${i.user_id}`,children:(0,vr.jsx)(It,{primary:(0,vr.jsx)(he,{direction:"row",justifyContent:"space-between",children:(0,vr.jsx)("span",{children:i.username})}),secondary:(0,vr.jsxs)(he,{direction:"column",justifyContent:"space-between",children:[(0,vr.jsx)("span",{children:i.email}),(0,vr.jsxs)("span",{children:["Last Login: ",i.last_login?.slice(0,10)||"Never"]}),(0,vr.jsxs)("span",{children:["Created: ",i.created_at.slice(0,10)]})]})})}))}),o]}),(0,vr.jsx)(ts,{children:(0,vr.jsx)(Bt,{onClick:()=>{n(null)},children:"Create new user"})})]})})})}var oe=P(k(),1);function Gk({children:e}){return(0,oe.jsx)(he,{alignItems:"center",direction:"column",padding:8,children:e})}function TB({title:e,iconUrl:t,menu:r,children:o,center:n,right:s}){let[i,a]=(0,og.useState)(!0);return(0,oe.jsx)(qk.Provider,{value:i,children:(0,oe.jsxs)(he,{direction:"column",minHeight:"100vh",children:[(0,oe.jsxs)(he,{direction:"row",justifyContent:"space-between",spacing:10,children:[(0,oe.jsxs)(he,{direction:"row",alignItems:"center",children:[(0,oe.jsx)(We,{sx:{padding:2},size:"large",onClick:()=>{a(!i)},children:(0,oe.jsx)(Rk,{})}),(0,oe.jsx)(he,{padding:1,children:(0,oe.jsx)("img",{src:t,height:40})}),(0,oe.jsx)(zr,{fontSize:24,children:e})]}),(0,oe.jsx)(he,{direction:"row",children:n}),(0,oe.jsx)(he,{direction:"row",children:s})]}),(0,oe.jsxs)(he,{direction:"row",alignItems:"stretch",justifyContent:"stretch",children:[(0,oe.jsx)(Dt,{component:"nav","aria-label":"main mailbox folders",sx:i?{width:"300px"}:{},children:r}),(0,oe.jsx)(he,{direction:"column",justifyContent:"stretch",alignItems:"stretch",flexGrow:1,margin:1,children:o})]})]})})}var qk=(0,ng.createContext)(!1);function sc({icon:e,text1:t,text2:r,selected:o,onClick:n}){let s=(0,ng.useContext)(qk);return(0,oe.jsxs)(qr,{onClick:n,sx:{borderRadius:10,padding:2,height:"56px"},selected:o,children:[(0,oe.jsx)(ns,{sx:s?{}:{minWidth:"24px"},children:e}),s&&(0,oe.jsx)(It,{primary:t,secondary:r})]})}function Kk(){let[e,t]=(0,og.useState)(null),r=!!e,o=R=>{t(R.currentTarget)},n=()=>{t(null)},[s,i]=Yr(),a=s?.username,l=s?.isAdmin||!1,p=!!s.isLoggedIn,c=s.user_id,u=[[/^\/$/,()=>(0,oe.jsx)(lb,{}),"Recipes"],[/^\/admin\/recipes$/,()=>(0,oe.jsx)(lb,{}),"Recipes"],[/^\/admin\/bags$/,()=>(0,oe.jsx)(YI,{}),"Bags"],[/^\/admin\/client-plugins$/,()=>(0,oe.jsx)(Bk,{}),"Plugins"],[/^\/admin\/users\/?$/,()=>(0,oe.jsx)(Hk,{}),"User Management"],[/^\/admin\/users\/(.*)$/,([,R])=>(0,oe.jsx)(Sk,{userID:R}),"Manage User"],[/^\/admin\/roles$/,()=>(0,oe.jsx)(wk,{}),"Roles"],[/^\/admin\/settings$/,()=>(0,oe.jsx)(ub,{}),"Settings"]],f=location.pathname.slice(pathPrefix.length),g=u.map(([R])=>R.exec(f)),v=g.findIndex(R=>R!==null),x=v>-1&&u[v][1](g[v])||null,b=R=>{window.location.href=pathPrefix+R},m=mt(),h=()=>{b("/admin/recipes")},d=()=>{b("/admin/bags")},T=()=>{b("/admin/client-plugins")},S=()=>{b("/admin/users")},C=()=>{b("/admin/roles")},w=async()=>{b(`/admin/users/${c}`)},[E,_]=(0,og.useState)(!1),y=async()=>{_(!0),await Sf.logout(void 0),_(!1),b("/")};return(0,oe.jsx)(TB,{title:"MWS",iconUrl:"favicon.png",menu:(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(sc,{onClick:h,icon:(0,oe.jsx)(Mk,{}),text1:"Recipes"}),(0,oe.jsx)(sc,{onClick:d,icon:(0,oe.jsx)(Nk,{}),text1:"Bags"}),(0,oe.jsx)(sc,{onClick:T,icon:(0,oe.jsx)($k,{}),text1:"TW5 Plugins"}),l?(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(Wo,{}),(0,oe.jsx)(sc,{onClick:S,icon:(0,oe.jsx)(cb,{}),text1:"Users"}),(0,oe.jsx)(sc,{onClick:C,icon:(0,oe.jsx)(Fk,{}),text1:"Roles"}),(0,oe.jsx)(Wo,{}),(0,oe.jsx)(sc,{onClick:()=>b("/admin/settings"),icon:(0,oe.jsx)(Zh,{}),text1:"Settings"})]}):null]}),right:p?(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(Ws,{title:"User menu",children:(0,oe.jsx)(Bt,{onClick:o,size:"small",sx:{textTransform:"none",fontSize:"0.9em",color:m.palette.text.primary},"aria-controls":r?"account-menu":void 0,"aria-haspopup":"true","aria-expanded":r?"true":void 0,endIcon:(0,oe.jsx)(lo,{}),children:s.username})}),(0,oe.jsxs)(zp,{anchorEl:e,id:"account-menu",open:r,onClose:n,onClick:n,transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},children:[(0,oe.jsxs)(Vi,{onClick:w,children:[(0,oe.jsx)(ns,{children:(0,oe.jsx)(cb,{fontSize:"small"})}),"Profile"]}),(0,oe.jsxs)(Vi,{onClick:y,children:[(0,oe.jsx)(ns,{children:(0,oe.jsx)(Ik,{fontSize:"small"})}),"Logout"]}),(0,oe.jsx)(Wo,{}),(0,oe.jsxs)(Vi,{disabled:!0,children:["TW5: ",s.versions.tw5]}),(0,oe.jsxs)(Vi,{disabled:!0,children:["MWS: ",s.versions.mws]})]})]}):(0,oe.jsx)(Bt,{color:"inherit",onClick:()=>{b("/login")},children:"Login"}),children:(0,oe.jsx)(nc,{fallback:(0,oe.jsx)(Gk,{children:"An error occured"}),children:x??(0,oe.jsx)(Gk,{children:"Page not found"})})})}var fs=P(k(),1),xB=Ei({palette:{background:{default:"#f0f0f0",paper:"#fff"}},colorSchemes:{dark:!0}}),PB=$h(async()=>await NI(),(e,t,r)=>{(0,sg.useEffect)(()=>{window.document.documentElement.classList.add("loaded")},[]);let o=location.pathname.slice(pathPrefix.length);return(0,fs.jsx)(sg.StrictMode,{children:(0,fs.jsxs)(Zm,{theme:xB,defaultMode:"system",noSsr:!0,children:[(0,fs.jsx)(My,{enableColorScheme:!0}),(0,fs.jsx)(rb.Provider,{value:[e,t],children:(0,fs.jsx)(nc,{fallback:null,children:o==="/login"?(0,fs.jsx)(VI,{}):(0,fs.jsx)(Kk,{})})})]})})});(async()=>(0,Yk.createRoot)(document.getElementById("root")).render((0,fs.jsx)(PB,{})))();export{PB as App};
|
|
165
|
-
/*! Bundled license information:
|
|
166
|
-
|
|
167
|
-
react/cjs/react.production.min.js:
|
|
168
|
-
(**
|
|
169
|
-
* @license React
|
|
170
|
-
* react.production.min.js
|
|
171
|
-
*
|
|
172
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
173
|
-
*
|
|
174
|
-
* This source code is licensed under the MIT license found in the
|
|
175
|
-
* LICENSE file in the root directory of this source tree.
|
|
176
|
-
*)
|
|
177
|
-
|
|
178
|
-
scheduler/cjs/scheduler.production.min.js:
|
|
179
|
-
(**
|
|
180
|
-
* @license React
|
|
181
|
-
* scheduler.production.min.js
|
|
182
|
-
*
|
|
183
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
184
|
-
*
|
|
185
|
-
* This source code is licensed under the MIT license found in the
|
|
186
|
-
* LICENSE file in the root directory of this source tree.
|
|
187
|
-
*)
|
|
188
|
-
|
|
189
|
-
react-dom/cjs/react-dom.production.min.js:
|
|
190
|
-
(**
|
|
191
|
-
* @license React
|
|
192
|
-
* react-dom.production.min.js
|
|
193
|
-
*
|
|
194
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
195
|
-
*
|
|
196
|
-
* This source code is licensed under the MIT license found in the
|
|
197
|
-
* LICENSE file in the root directory of this source tree.
|
|
198
|
-
*)
|
|
199
|
-
|
|
200
|
-
react-is/cjs/react-is.production.min.js:
|
|
201
|
-
(** @license React v16.13.1
|
|
202
|
-
* react-is.production.min.js
|
|
203
|
-
*
|
|
204
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
205
|
-
*
|
|
206
|
-
* This source code is licensed under the MIT license found in the
|
|
207
|
-
* LICENSE file in the root directory of this source tree.
|
|
208
|
-
*)
|
|
209
|
-
|
|
210
|
-
react/cjs/react-jsx-runtime.production.min.js:
|
|
211
|
-
(**
|
|
212
|
-
* @license React
|
|
213
|
-
* react-jsx-runtime.production.min.js
|
|
214
|
-
*
|
|
215
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
216
|
-
*
|
|
217
|
-
* This source code is licensed under the MIT license found in the
|
|
218
|
-
* LICENSE file in the root directory of this source tree.
|
|
219
|
-
*)
|
|
220
|
-
|
|
221
|
-
react-is/cjs/react-is.production.js:
|
|
222
|
-
(**
|
|
223
|
-
* @license React
|
|
224
|
-
* react-is.production.js
|
|
225
|
-
*
|
|
226
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
227
|
-
*
|
|
228
|
-
* This source code is licensed under the MIT license found in the
|
|
229
|
-
* LICENSE file in the root directory of this source tree.
|
|
230
|
-
*)
|
|
231
|
-
|
|
232
|
-
@mui/styled-engine/index.js:
|
|
233
|
-
(**
|
|
234
|
-
* @mui/styled-engine v6.4.11
|
|
235
|
-
*
|
|
236
|
-
* @license MIT
|
|
237
|
-
* This source code is licensed under the MIT license found in the
|
|
238
|
-
* LICENSE file in the root directory of this source tree.
|
|
239
|
-
*)
|
|
240
|
-
|
|
241
|
-
@mui/private-theming/index.js:
|
|
242
|
-
(**
|
|
243
|
-
* @mui/private-theming v6.4.9
|
|
244
|
-
*
|
|
245
|
-
* @license MIT
|
|
246
|
-
* This source code is licensed under the MIT license found in the
|
|
247
|
-
* LICENSE file in the root directory of this source tree.
|
|
248
|
-
*)
|
|
249
|
-
|
|
250
|
-
@mui/material/index.js:
|
|
251
|
-
(**
|
|
252
|
-
* @mui/material v6.4.12
|
|
253
|
-
*
|
|
254
|
-
* @license MIT
|
|
255
|
-
* This source code is licensed under the MIT license found in the
|
|
256
|
-
* LICENSE file in the root directory of this source tree.
|
|
257
|
-
*)
|
|
258
|
-
|
|
259
|
-
angular-forms-only/dist/dev/index.js:
|
|
260
|
-
(**
|
|
261
|
-
* @license
|
|
262
|
-
* Copyright Google LLC All Rights Reserved.
|
|
263
|
-
*
|
|
264
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
265
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
266
|
-
*)
|
|
267
|
-
*/
|
|
268
|
-
//# sourceMappingURL=main.js.map
|