@twinmatrix/ui-sdk 0.0.1
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 +49 -0
- package/THEME_CUSTOMIZATION.md +221 -0
- package/lib/cjs/index.js +224 -0
- package/lib/esm/index.js +224 -0
- package/lib/types/index.d.ts +33 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/internal/alerts/AlertItem.d.ts +9 -0
- package/lib/types/internal/alerts/AlertItem.d.ts.map +1 -0
- package/lib/types/internal/alerts/AlertsList.d.ts +12 -0
- package/lib/types/internal/alerts/AlertsList.d.ts.map +1 -0
- package/lib/types/internal/alerts/index.d.ts +5 -0
- package/lib/types/internal/alerts/index.d.ts.map +1 -0
- package/lib/types/internal/alerts/types.d.ts +11 -0
- package/lib/types/internal/alerts/types.d.ts.map +1 -0
- package/lib/types/internal/alerts/utils.d.ts +2 -0
- package/lib/types/internal/alerts/utils.d.ts.map +1 -0
- package/lib/types/internal/charts/Chart.d.ts +28 -0
- package/lib/types/internal/charts/Chart.d.ts.map +1 -0
- package/lib/types/internal/charts/WidgetContainer.d.ts +16 -0
- package/lib/types/internal/charts/WidgetContainer.d.ts.map +1 -0
- package/lib/types/internal/charts/index.d.ts +5 -0
- package/lib/types/internal/charts/index.d.ts.map +1 -0
- package/lib/types/internal/stores/themeStore.d.ts +13 -0
- package/lib/types/internal/stores/themeStore.d.ts.map +1 -0
- package/lib/types/internal/theme/index.d.ts +26 -0
- package/lib/types/internal/theme/index.d.ts.map +1 -0
- package/lib/types/internal/theme/theme.d.ts +113 -0
- package/lib/types/internal/theme/theme.d.ts.map +1 -0
- package/lib/types/internal/theme/useAppTheme.d.ts +2 -0
- package/lib/types/internal/theme/useAppTheme.d.ts.map +1 -0
- package/lib/types/internal/ui/BottomBar.d.ts +9 -0
- package/lib/types/internal/ui/BottomBar.d.ts.map +1 -0
- package/lib/types/internal/ui/Button.d.ts +17 -0
- package/lib/types/internal/ui/Button.d.ts.map +1 -0
- package/lib/types/internal/ui/Card.d.ts +52 -0
- package/lib/types/internal/ui/Card.d.ts.map +1 -0
- package/lib/types/internal/ui/Dropdown.d.ts +12 -0
- package/lib/types/internal/ui/Dropdown.d.ts.map +1 -0
- package/lib/types/internal/ui/Modal.d.ts +45 -0
- package/lib/types/internal/ui/Modal.d.ts.map +1 -0
- package/lib/types/internal/ui/Panel.d.ts +30 -0
- package/lib/types/internal/ui/Panel.d.ts.map +1 -0
- package/lib/types/internal/ui/RadioButton.d.ts +13 -0
- package/lib/types/internal/ui/RadioButton.d.ts.map +1 -0
- package/lib/types/internal/ui/SidePanel.d.ts +10 -0
- package/lib/types/internal/ui/SidePanel.d.ts.map +1 -0
- package/lib/types/internal/ui/ThemeEditor.d.ts +21 -0
- package/lib/types/internal/ui/ThemeEditor.d.ts.map +1 -0
- package/lib/types/internal/ui/TopBar.d.ts +64 -0
- package/lib/types/internal/ui/TopBar.d.ts.map +1 -0
- package/lib/types/internal/ui/bottombar/Item.d.ts +9 -0
- package/lib/types/internal/ui/bottombar/Item.d.ts.map +1 -0
- package/lib/types/internal/ui/bottombar/Root.d.ts +8 -0
- package/lib/types/internal/ui/bottombar/Root.d.ts.map +1 -0
- package/lib/types/internal/ui/bottombar/styles.d.ts +19 -0
- package/lib/types/internal/ui/bottombar/styles.d.ts.map +1 -0
- package/lib/types/internal/ui/dropdown/Group.d.ts +9 -0
- package/lib/types/internal/ui/dropdown/Group.d.ts.map +1 -0
- package/lib/types/internal/ui/dropdown/Item.d.ts +12 -0
- package/lib/types/internal/ui/dropdown/Item.d.ts.map +1 -0
- package/lib/types/internal/ui/dropdown/Menu.d.ts +12 -0
- package/lib/types/internal/ui/dropdown/Menu.d.ts.map +1 -0
- package/lib/types/internal/ui/dropdown/Root.d.ts +11 -0
- package/lib/types/internal/ui/dropdown/Root.d.ts.map +1 -0
- package/lib/types/internal/ui/dropdown/Trigger.d.ts +11 -0
- package/lib/types/internal/ui/dropdown/Trigger.d.ts.map +1 -0
- package/lib/types/internal/ui/dropdown/styles.d.ts +67 -0
- package/lib/types/internal/ui/dropdown/styles.d.ts.map +1 -0
- package/lib/types/internal/ui/sidepanel/Body.d.ts +15 -0
- package/lib/types/internal/ui/sidepanel/Body.d.ts.map +1 -0
- package/lib/types/internal/ui/sidepanel/DrawerPanel.d.ts +13 -0
- package/lib/types/internal/ui/sidepanel/DrawerPanel.d.ts.map +1 -0
- package/lib/types/internal/ui/sidepanel/Footer.d.ts +5 -0
- package/lib/types/internal/ui/sidepanel/Footer.d.ts.map +1 -0
- package/lib/types/internal/ui/sidepanel/Header.d.ts +10 -0
- package/lib/types/internal/ui/sidepanel/Header.d.ts.map +1 -0
- package/lib/types/internal/ui/sidepanel/SidePanel.d.ts +11 -0
- package/lib/types/internal/ui/sidepanel/SidePanel.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/Actions.d.ts +5 -0
- package/lib/types/internal/ui/topbar/Actions.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/Badge.d.ts +5 -0
- package/lib/types/internal/ui/topbar/Badge.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/Divider.d.ts +5 -0
- package/lib/types/internal/ui/topbar/Divider.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/IconButton.d.ts +10 -0
- package/lib/types/internal/ui/topbar/IconButton.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/LevelSelector.d.ts +6 -0
- package/lib/types/internal/ui/topbar/LevelSelector.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/LocationSelector.d.ts +9 -0
- package/lib/types/internal/ui/topbar/LocationSelector.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/Logo.d.ts +8 -0
- package/lib/types/internal/ui/topbar/Logo.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/Root.d.ts +12 -0
- package/lib/types/internal/ui/topbar/Root.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/Section.d.ts +11 -0
- package/lib/types/internal/ui/topbar/Section.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/SelectBase.d.ts +19 -0
- package/lib/types/internal/ui/topbar/SelectBase.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/Spacer.d.ts +3 -0
- package/lib/types/internal/ui/topbar/Spacer.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/Title.d.ts +5 -0
- package/lib/types/internal/ui/topbar/Title.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/ToggleGroup.d.ts +14 -0
- package/lib/types/internal/ui/topbar/ToggleGroup.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/addons/BackButton.d.ts +6 -0
- package/lib/types/internal/ui/topbar/addons/BackButton.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/addons/EventsBar.d.ts +17 -0
- package/lib/types/internal/ui/topbar/addons/EventsBar.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/addons/LevelSelect.d.ts +6 -0
- package/lib/types/internal/ui/topbar/addons/LevelSelect.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/addons/ListTypeToggle.d.ts +6 -0
- package/lib/types/internal/ui/topbar/addons/ListTypeToggle.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/addons/LocationSelect.d.ts +9 -0
- package/lib/types/internal/ui/topbar/addons/LocationSelect.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/addons/SidebarToggleButton.d.ts +6 -0
- package/lib/types/internal/ui/topbar/addons/SidebarToggleButton.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/addons/ThemeToggleButton.d.ts +5 -0
- package/lib/types/internal/ui/topbar/addons/ThemeToggleButton.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/addons/TimelineToggleButton.d.ts +6 -0
- package/lib/types/internal/ui/topbar/addons/TimelineToggleButton.d.ts.map +1 -0
- package/lib/types/internal/ui/topbar/styles.d.ts +148 -0
- package/lib/types/internal/ui/topbar/styles.d.ts.map +1 -0
- package/lib/types/internal/utils/colorShades.d.ts +12 -0
- package/lib/types/internal/utils/colorShades.d.ts.map +1 -0
- package/lib/types/internal/webrtc/WebRTCManager.d.ts +28 -0
- package/lib/types/internal/webrtc/WebRTCManager.d.ts.map +1 -0
- package/lib/types/internal/webrtc/WebRTCStreamPlayer.d.ts +8 -0
- package/lib/types/internal/webrtc/WebRTCStreamPlayer.d.ts.map +1 -0
- package/lib/types/layout/DashboardBottomRegion.d.ts +17 -0
- package/lib/types/layout/DashboardBottomRegion.d.ts.map +1 -0
- package/lib/types/layout/DashboardMain.d.ts +16 -0
- package/lib/types/layout/DashboardMain.d.ts.map +1 -0
- package/lib/types/layout/DashboardMobileDrawer.d.ts +38 -0
- package/lib/types/layout/DashboardMobileDrawer.d.ts.map +1 -0
- package/lib/types/layout/DashboardShell.d.ts +18 -0
- package/lib/types/layout/DashboardShell.d.ts.map +1 -0
- package/lib/types/layout/DashboardSidePanel.d.ts +30 -0
- package/lib/types/layout/DashboardSidePanel.d.ts.map +1 -0
- package/lib/types/layout/index.d.ts +21 -0
- package/lib/types/layout/index.d.ts.map +1 -0
- package/lib/types/types/generic.d.ts +73 -0
- package/lib/types/types/generic.d.ts.map +1 -0
- package/lib/types/types/index.d.ts +7 -0
- package/lib/types/types/index.d.ts.map +1 -0
- package/lib/types/ui/index.d.ts +21 -0
- package/lib/types/ui/index.d.ts.map +1 -0
- package/lib/types/widgets/AIAnalysisPanel.d.ts +33 -0
- package/lib/types/widgets/AIAnalysisPanel.d.ts.map +1 -0
- package/lib/types/widgets/AlertCameraChart.d.ts +18 -0
- package/lib/types/widgets/AlertCameraChart.d.ts.map +1 -0
- package/lib/types/widgets/AlertSeverityChart.d.ts +20 -0
- package/lib/types/widgets/AlertSeverityChart.d.ts.map +1 -0
- package/lib/types/widgets/AlertTimelineChart.d.ts +18 -0
- package/lib/types/widgets/AlertTimelineChart.d.ts.map +1 -0
- package/lib/types/widgets/AlertTriggerChart.d.ts +18 -0
- package/lib/types/widgets/AlertTriggerChart.d.ts.map +1 -0
- package/lib/types/widgets/AlertsPanel.d.ts +22 -0
- package/lib/types/widgets/AlertsPanel.d.ts.map +1 -0
- package/lib/types/widgets/CameraStreamWidget.d.ts +39 -0
- package/lib/types/widgets/CameraStreamWidget.d.ts.map +1 -0
- package/lib/types/widgets/ChatbotPanel.d.ts +16 -0
- package/lib/types/widgets/ChatbotPanel.d.ts.map +1 -0
- package/lib/types/widgets/RecentActivityFeed.d.ts +18 -0
- package/lib/types/widgets/RecentActivityFeed.d.ts.map +1 -0
- package/lib/types/widgets/TopCamerasList.d.ts +17 -0
- package/lib/types/widgets/TopCamerasList.d.ts.map +1 -0
- package/lib/types/widgets/index.d.ts +27 -0
- package/lib/types/widgets/index.d.ts.map +1 -0
- package/package.json +70 -0
package/lib/cjs/index.js
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("zustand"),o=require("react"),n=require("@iconify/react"),r=require("chart.js"),i=require("react-chartjs-2"),a=require("react-dom");function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(o){if("default"!==o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}}),t.default=e,Object.freeze(t)}var l=s(o),c=s(a);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}function d(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,g(n.key),n)}}function u(e,t,o){return(t=g(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function f(){
|
|
2
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
3
|
+
var e,t,o="function"==typeof Symbol?Symbol:{},n=o.iterator||"@@iterator",r=o.toStringTag||"@@toStringTag";function i(o,n,r,i){var l=n&&n.prototype instanceof s?n:s,c=Object.create(l.prototype);return m(c,"_invoke",function(o,n,r){var i,s,l,c=0,p=r||[],d=!1,u={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,o){return i=t,s=0,l=e,u.n=o,a}};function f(o,n){for(s=o,l=n,t=0;!d&&c&&!r&&t<p.length;t++){var r,i=p[t],f=u.p,m=i[2];o>3?(r=m===n)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((r=o<2&&f<i[1])?(s=0,u.v=n,u.n=i[1]):f<m&&(r=o<3||i[0]>n||n>m)&&(i[4]=o,i[5]=n,u.n=m,s=0))}if(r||o>1)return a;throw d=!0,n}return function(r,p,m){if(c>1)throw TypeError("Generator is already running");for(d&&1===p&&f(p,m),s=p,l=m;(t=s<2?e:l)||!d;){i||(s?s<3?(s>1&&(u.n=-1),f(s,l)):u.n=l:u.v=l);try{if(c=2,i){if(s||(r="next"),t=i[r]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),s=1);i=e}else if((t=(d=u.n<0)?l:o.call(n,u))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(o,r,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var p=[][n]?t(t([][n]())):(m(t={},n,function(){return this}),t),d=c.prototype=s.prototype=Object.create(p);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,m(e,r,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,m(d,"constructor",c),m(c,"constructor",l),l.displayName="GeneratorFunction",m(c,r,"GeneratorFunction"),m(d),m(d,r,"Generator"),m(d,n,function(){return this}),m(d,"toString",function(){return"[object Generator]"}),(f=function(){return{w:i,m:u}})()}function m(e,t,o,n){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}m=function(e,t,o,n){function i(t,o){m(e,t,function(e){return this._invoke(t,o,e)})}t?r?r(e,t,{value:o,enumerable:!n,configurable:!n,writable:!n}):e[t]=o:(i("next",0),i("throw",1),i("return",2))},m(e,t,o,n)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i,a,s=[],l=!0,c=!1;try{if(i=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=i.call(o)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,"string");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function b(e,t){if(e){if("string"==typeof e)return p(e,t);var o={}.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?p(e,t):void 0}}var v="#7393B3",x="#B2BEB5",w="#FFFFFF",S={surface:{app:"#f1f5f9",topbar:"#1e293b",panel:"#f8fafc",card:"#e5e9ec",modal:"#ffffff",control:"#e2e8f0",neutral:"#cbd5e1",backdrop:"rgba(15, 23, 42, 0.5)",hover:"rgba(15, 23, 42, 0.08)"},text:{primary:"#0f172a",muted:"#B2BEB5",onAccent:w,inverted:"#ffffff"},accent:{primary:v,secondary:x},semantic:{success:"#22c55e",warning:"#f59e0b",critical:"#ef4444",info:"#3b82f6"},border:{subtle:"rgba(0,0,0,0.12)",strong:"rgba(0,0,0,0.2)"},chart:{grid:"rgba(148,163,184,0.2)",text:"#0f172a"},state:{hover:"rgba(0,0,0,0.08)",active:"rgba(0,0,0,0.12)",focus:v}},T={surface:{app:"#0f172a",topbar:"#1e293b",panel:"#1e293b",card:"#334155",modal:"#1e293b",control:"rgba(255, 255, 255, 0.08)",backdrop:"rgba(0, 0, 0, 0.6)",neutral:"#334155",hover:"rgba(255, 255, 255, 0.08)"},text:{primary:"#f1f5f9",muted:"#94a3b8",onAccent:w,inverted:"#0f172a"},accent:{primary:v,secondary:x},semantic:{success:"#22c55e",warning:"#fbbf24",critical:"#f87171",info:"#60a5fa"},border:{subtle:"rgba(255,255,255,0.08)",strong:"rgba(255,255,255,0.14)"},chart:{grid:"rgba(226,232,240,0.2)",text:"#e2e8f0"},state:{hover:"rgba(255,255,255,0.06)",active:"rgba(255,255,255,0.12)",focus:v}};function O(e,t){var o=Object.assign({},e);for(var n in t){var r=t[n];if(r&&"object"===y(r)&&!Array.isArray(r)){var i=o[n];i&&"object"===y(i)&&!Array.isArray(i)?o[n]=O(i,r):o[n]=r}else void 0!==r&&(o[n]=r)}return o}var j=function(){var e,t;return e="light"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"dark")?S:T,(t=(arguments.length>1?arguments[1]:void 0)||null)?Object.assign(Object.assign({},e),{surface:t.surface?Object.assign(Object.assign({},e.surface),t.surface):e.surface,text:t.text?Object.assign(Object.assign({},e.text),t.text):e.text,accent:t.accent?Object.assign(Object.assign({},e.accent),t.accent):e.accent,semantic:t.semantic?Object.assign(Object.assign({},e.semantic),t.semantic):e.semantic,border:t.border?Object.assign(Object.assign({},e.border),t.border):e.border,chart:t.chart?Object.assign(Object.assign({},e.chart),t.chart):e.chart,state:t.state?Object.assign(Object.assign({},e.state),t.state):e.state}):e},C=function(e,t){E.getState().setCustomThemeOverride(e,t)},k=function(e){E.getState().resetThemeOverride(e)},E=t.create(function(e){return{mode:"dark",customLightThemeOverride:null,customDarkThemeOverride:null,setMode:function(t){return e({mode:t})},toggleMode:function(){return e(function(e){return{mode:"light"===e.mode?"dark":"light"}})},setCustomThemeOverride:function(t,o){return e(function(e){return"light"===t?{customLightThemeOverride:O(e.customLightThemeOverride||{},o)}:{customDarkThemeOverride:O(e.customDarkThemeOverride||{},o)}})},resetThemeOverride:function(t){return e(function(e){return t?"light"===t?{customLightThemeOverride:null}:"dark"===t?{customDarkThemeOverride:null}:e:{customLightThemeOverride:null,customDarkThemeOverride:null}})}}}),P=function(){var e=E(function(e){return e.mode}),t=E(function(e){return e.customLightThemeOverride}),o=E(function(e){return e.customDarkThemeOverride});return j(e,"light"===e?t:o)};const N=o.createContext({}),R="undefined"!=typeof window,M=R?o.useLayoutEffect:o.useEffect,$=o.createContext(null);function I(e,t){-1===e.indexOf(t)&&e.push(t)}function A(e,t){const o=e.indexOf(t);o>-1&&e.splice(o,1)}const B=(e,t,o)=>o>t?t:o<e?e:o;let L=()=>{},D=()=>{};"undefined"!=typeof process&&"production"!==process.env?.NODE_ENV&&(L=(e,t,o)=>{},D=(e,t,o)=>{if(!e)throw new Error(function(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}(t,o))});const z={},V=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function F(e){return"object"==typeof e&&null!==e}const W=e=>/^0[^.\s]+$/u.test(e);function _(e){let t;return()=>(void 0===t&&(t=e()),t)}const H=e=>e,q=(e,t)=>o=>t(e(o)),U=(...e)=>e.reduce(q),G=(e,t,o)=>{const n=t-e;return 0===n?1:(o-e)/n};class K{constructor(){this.subscriptions=[]}add(e){return I(this.subscriptions,e),()=>A(this.subscriptions,e)}notify(e,t,o){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,o);else for(let r=0;r<n;r++){const n=this.subscriptions[r];n&&n(e,t,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const X=e=>1e3*e,Y=e=>e/1e3;function Z(e,t){return t?e*(1e3/t):0}const J=new Set;function Q(e,t,o){e||J.has(t)||J.add(t)}const ee=(e,t,o)=>(((1-3*o+3*t)*e+(3*o-6*t))*e+3*t)*e;function te(e,t,o,n){if(e===t&&o===n)return H;return r=>0===r||1===r?r:ee(function(e,t,o,n,r){let i,a,s=0;do{a=t+(o-t)/2,i=ee(a,n,r)-e,i>0?o=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(r,0,1,e,o),t,n)}const oe=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ne=e=>t=>1-e(1-t),re=te(.33,1.53,.69,.99),ie=ne(re),ae=oe(ie),se=e=>(e*=2)<1?.5*ie(e):.5*(2-Math.pow(2,-10*(e-1))),le=e=>1-Math.sin(Math.acos(e)),ce=ne(le),pe=oe(le),de=te(.42,0,1,1),ue=te(0,0,.58,1),fe=te(.42,0,.58,1),me=e=>Array.isArray(e)&&"number"==typeof e[0],he={linear:H,easeIn:de,easeInOut:fe,easeOut:ue,circIn:le,circInOut:pe,circOut:ce,backIn:ie,backInOut:ae,backOut:re,anticipate:se},ge=e=>{if(me(e)){D(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,o,n,r]=e;return te(t,o,n,r)}return(e=>"string"==typeof e)(e)?(D(void 0!==he[e],`Invalid easing type '${e}'`,"invalid-easing-type"),he[e]):e},ye=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],be={value:null,addProjectionMetrics:null};function ve(e,t){let o=!1,n=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>o=!0,a=ye.reduce((e,o)=>(e[o]=function(e,t){let o=new Set,n=new Set,r=!1,i=!1;const a=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1},l=0;function c(t){a.has(t)&&(p.schedule(t),e()),l++,t(s)}const p={schedule:(e,t=!1,i=!1)=>{const s=i&&r?o:n;return t&&a.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{s=e,r?i=!0:(r=!0,[o,n]=[n,o],o.forEach(c),t&&be.value&&be.value.frameloop[t].push(l),l=0,o.clear(),r=!1,i&&(i=!1,p.process(e)))}};return p}(i,t?o:void 0),e),{}),{setup:s,read:l,resolveKeyframes:c,preUpdate:p,update:d,preRender:u,render:f,postRender:m}=a,h=()=>{const i=z.useManualTiming?r.timestamp:performance.now();o=!1,z.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(i-r.timestamp,40),1)),r.timestamp=i,r.isProcessing=!0,s.process(r),l.process(r),c.process(r),p.process(r),d.process(r),u.process(r),f.process(r),m.process(r),r.isProcessing=!1,o&&t&&(n=!1,e(h))};return{schedule:ye.reduce((t,i)=>{const s=a[i];return t[i]=(t,i=!1,a=!1)=>(o||(o=!0,n=!0,r.isProcessing||e(h)),s.schedule(t,i,a)),t},{}),cancel:e=>{for(let t=0;t<ye.length;t++)a[ye[t]].cancel(e)},state:r,steps:a}}const{schedule:xe,cancel:we,state:Se,steps:Te}=ve("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:H,!0);let Oe;function je(){Oe=void 0}const Ce={now:()=>(void 0===Oe&&Ce.set(Se.isProcessing||z.useManualTiming?Se.timestamp:performance.now()),Oe),set:e=>{Oe=e,queueMicrotask(je)}},ke={layout:0,mainThread:0,waapi:0},Ee=e=>t=>"string"==typeof t&&t.startsWith(e),Pe=Ee("--"),Ne=Ee("var(--"),Re=e=>!!Ne(e)&&Me.test(e.split("/*")[0].trim()),Me=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function $e(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}const Ie={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Ae={...Ie,transform:e=>B(0,1,e)},Be={...Ie,default:1},Le=e=>Math.round(1e5*e)/1e5,De=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ze=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ve=(e,t)=>o=>Boolean("string"==typeof o&&ze.test(o)&&o.startsWith(e)||t&&!function(e){return null==e}(o)&&Object.prototype.hasOwnProperty.call(o,t)),Fe=(e,t,o)=>n=>{if("string"!=typeof n)return n;const[r,i,a,s]=n.match(De);return{[e]:parseFloat(r),[t]:parseFloat(i),[o]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},We={...Ie,transform:e=>Math.round((e=>B(0,255,e))(e))},_e={test:Ve("rgb","red"),parse:Fe("red","green","blue"),transform:({red:e,green:t,blue:o,alpha:n=1})=>"rgba("+We.transform(e)+", "+We.transform(t)+", "+We.transform(o)+", "+Le(Ae.transform(n))+")"},He={test:Ve("#"),parse:function(e){let t="",o="",n="",r="";return e.length>5?(t=e.substring(1,3),o=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),o=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,o+=o,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(o,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:_e.transform},qe=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Ue=qe("deg"),Ge=qe("%"),Ke=qe("px"),Xe=qe("vh"),Ye=qe("vw"),Ze=(()=>({...Ge,parse:e=>Ge.parse(e)/100,transform:e=>Ge.transform(100*e)}))(),Je={test:Ve("hsl","hue"),parse:Fe("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:o,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ge.transform(Le(t))+", "+Ge.transform(Le(o))+", "+Le(Ae.transform(n))+")"},Qe={test:e=>_e.test(e)||He.test(e)||Je.test(e),parse:e=>_e.test(e)?_e.parse(e):Je.test(e)?Je.parse(e):He.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?_e.transform(e):Je.transform(e),getAnimatableNone:e=>{const t=Qe.parse(e);return t.alpha=0,Qe.transform(t)}},et=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tt="number",ot="color",nt=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function rt(e){const t=e.toString(),o=[],n={color:[],number:[],var:[]},r=[];let i=0;const a=t.replace(nt,e=>(Qe.test(e)?(n.color.push(i),r.push(ot),o.push(Qe.parse(e))):e.startsWith("var(")?(n.var.push(i),r.push("var"),o.push(e)):(n.number.push(i),r.push(tt),o.push(parseFloat(e))),++i,"${}")).split("${}");return{values:o,split:a,indexes:n,types:r}}function it(e){return rt(e).values}function at(e){const{split:t,types:o}=rt(e),n=t.length;return e=>{let r="";for(let i=0;i<n;i++)if(r+=t[i],void 0!==e[i]){const t=o[i];r+=t===tt?Le(e[i]):t===ot?Qe.transform(e[i]):e[i]}return r}}const st=e=>"number"==typeof e?0:Qe.test(e)?Qe.getAnimatableNone(e):e,lt={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(De)?.length||0)+(e.match(et)?.length||0)>0},parse:it,createTransformer:at,getAnimatableNone:function(e){const t=it(e);return at(e)(t.map(st))}};function ct(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function pt(e,t){return o=>o>0?t:e}const dt=(e,t,o)=>e+(t-e)*o,ut=(e,t,o)=>{const n=e*e,r=o*(t*t-n)+n;return r<0?0:Math.sqrt(r)},ft=[He,_e,Je];function mt(e){const t=(e=>ft.find(t=>t.test(e)))(e);if(L(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(t))return!1;let o=t.parse(e);return t===Je&&(o=function({hue:e,saturation:t,lightness:o,alpha:n}){e/=360,o/=100;let r=0,i=0,a=0;if(t/=100){const n=o<.5?o*(1+t):o+t-o*t,s=2*o-n;r=ct(s,n,e+1/3),i=ct(s,n,e),a=ct(s,n,e-1/3)}else r=i=a=o;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(o)),o}const ht=(e,t)=>{const o=mt(e),n=mt(t);if(!o||!n)return pt(e,t);const r={...o};return e=>(r.red=ut(o.red,n.red,e),r.green=ut(o.green,n.green,e),r.blue=ut(o.blue,n.blue,e),r.alpha=dt(o.alpha,n.alpha,e),_e.transform(r))},gt=new Set(["none","hidden"]);function yt(e,t){return o=>dt(e,t,o)}function bt(e){return"number"==typeof e?yt:"string"==typeof e?Re(e)?pt:Qe.test(e)?ht:wt:Array.isArray(e)?vt:"object"==typeof e?Qe.test(e)?ht:xt:pt}function vt(e,t){const o=[...e],n=o.length,r=e.map((e,o)=>bt(e)(e,t[o]));return e=>{for(let t=0;t<n;t++)o[t]=r[t](e);return o}}function xt(e,t){const o={...e,...t},n={};for(const r in o)void 0!==e[r]&&void 0!==t[r]&&(n[r]=bt(e[r])(e[r],t[r]));return e=>{for(const t in n)o[t]=n[t](e);return o}}const wt=(e,t)=>{const o=lt.createTransformer(t),n=rt(e),r=rt(t);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?gt.has(e)&&!r.values.length||gt.has(t)&&!n.values.length?function(e,t){return gt.has(e)?o=>o<=0?e:t:o=>o>=1?t:e}(e,t):U(vt(function(e,t){const o=[],n={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const i=t.types[r],a=e.indexes[i][n[i]],s=e.values[a]??0;o[r]=s,n[i]++}return o}(n,r),r.values),o):(L(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),pt(e,t))};function St(e,t,o){return"number"==typeof e&&"number"==typeof t&&"number"==typeof o?dt(e,t,o):bt(e)(e,t)}const Tt=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>xe.update(t,e),stop:()=>we(t),now:()=>Se.isProcessing?Se.timestamp:Ce.now()}},Ot=(e,t,o=10)=>{let n="";const r=Math.max(Math.round(t/o),2);for(let t=0;t<r;t++)n+=Math.round(1e4*e(t/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},jt=2e4;function Ct(e){let t=0,o=e.next(t);for(;!o.done&&t<jt;)t+=50,o=e.next(t);return t>=jt?1/0:t}function kt(e,t,o){const n=Math.max(t-5,0);return Z(o-e(n),t-n)}const Et=.01,Pt=2,Nt=.005,Rt=.5;const Mt=12;function $t(e,t){return e*Math.sqrt(1-t*t)}const It=["duration","bounce"],At=["stiffness","damping","mass"];function Bt(e,t){return t.some(t=>void 0!==e[t])}function Lt(e=.3,t=.3){const o="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:n,restDelta:r}=o;const i=o.keyframes[0],a=o.keyframes[o.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:c,mass:p,duration:d,velocity:u,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Bt(e,At)&&Bt(e,It))if(e.visualDuration){const o=e.visualDuration,n=2*Math.PI/(1.2*o),r=n*n,i=2*B(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:1,stiffness:r,damping:i}}else{const o=function({duration:e=800,bounce:t=.3,velocity:o=0,mass:n=1}){let r,i;L(e<=X(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=B(.05,1,a),e=B(.01,10,Y(e)),a<1?(r=t=>{const n=t*a,r=n*e;return.001-(n-o)/$t(t,a)*Math.exp(-r)},i=t=>{const n=t*a*e,i=n*o+o,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-n),c=$t(Math.pow(t,2),a);return(.001-r(t)>0?-1:1)*((i-s)*l)/c}):(r=t=>Math.exp(-t*e)*((t-o)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(o-t)));const s=function(e,t,o){let n=o;for(let o=1;o<Mt;o++)n-=e(n)/t(n);return n}(r,i,5/e);if(e=X(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);t={...t,...o,mass:1},t.isResolvedFromDuration=!0}return t}({...o,velocity:-Y(o.velocity||0)}),m=u||0,h=c/(2*Math.sqrt(l*p)),g=a-i,y=Y(Math.sqrt(l/p)),b=Math.abs(g)<5;let v;if(n||(n=b?Et:Pt),r||(r=b?Nt:Rt),h<1){const e=$t(y,h);v=t=>{const o=Math.exp(-h*y*t);return a-o*((m+h*y*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===h)v=e=>a-Math.exp(-y*e)*(g+(m+y*g)*e);else{const e=y*Math.sqrt(h*h-1);v=t=>{const o=Math.exp(-h*y*t),n=Math.min(e*t,300);return a-o*((m+h*y*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}const x={calculatedDuration:f&&d||null,next:e=>{const t=v(e);if(f)s.done=e>=d;else{let o=0===e?m:0;h<1&&(o=0===e?X(m):kt(v,e,t));const i=Math.abs(o)<=n,l=Math.abs(a-t)<=r;s.done=i&&l}return s.value=s.done?a:t,s},toString:()=>{const e=Math.min(Ct(x),jt),t=Ot(t=>x.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return x}function Dt({keyframes:e,velocity:t=0,power:o=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:p}){const d=e[0],u={done:!1,value:d},f=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=o*t;const h=d+m,g=void 0===a?h:a(h);g!==h&&(m=g-d);const y=e=>-m*Math.exp(-e/n),b=e=>g+y(e),v=e=>{const t=y(e),o=b(e);u.done=Math.abs(t)<=c,u.value=u.done?g:o};let x,w;const S=e=>{(e=>void 0!==s&&e<s||void 0!==l&&e>l)(u.value)&&(x=e,w=Lt({keyframes:[u.value,f(u.value)],velocity:kt(b,e,u.value),damping:r,stiffness:i,restDelta:c,restSpeed:p}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,v(e),S(e)),void 0!==x&&e>=x?w.next(e-x):(!t&&v(e),u)}}}function zt(e,t){return e.map(()=>t||fe).splice(0,e.length-1)}function Vt({duration:e=300,keyframes:t,times:o,ease:n="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(n)?n.map(ge):ge(n),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(o&&o.length===t.length?o:function(e){const t=[0];return function(e,t){const o=e[e.length-1];for(let n=1;n<=t;n++){const r=G(0,t,n);e.push(dt(o,1,r))}}(t,e.length-1),t}(t),e),s=function(e,t,{clamp:o=!0,ease:n,mixer:r}={}){const i=e.length;if(D(i===t.length,"Both input and output ranges must be the same length","range-length"),1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,o){const n=[],r=o||z.mix||St,i=e.length-1;for(let o=0;o<i;o++){let i=r(e[o],e[o+1]);if(t){const e=Array.isArray(t)?t[o]||H:t;i=U(e,i)}n.push(i)}return n}(t,n,r),l=s.length,c=o=>{if(a&&o<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(o<e[n+1]);n++);const r=G(e[n],e[n+1],o);return s[n](r)};return o?t=>c(B(e[0],e[i-1],t)):c}(a,t,{ease:Array.isArray(r)?r:zt(t,r)});return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}Lt.applyToOptions=e=>{const t=function(e,t=100){const o=Lt({...e,keyframes:[0,t]}),n=Math.min(Ct(o),jt);return{type:"keyframes",ease:e=>o.next(n*e).value/t,duration:Y(n)}}(e,100);return e.ease=t.ease,e.duration=X(t.duration),e.type="keyframes",e};const Ft=e=>null!==e;function Wt(e,{repeat:t,repeatType:o="loop"},n,r=1){const i=e.filter(Ft),a=r<0||t&&"loop"!==o&&t%2==1?0:i.length-1;return a&&void 0!==n?n:i[a]}const _t={decay:Dt,inertia:Dt,tween:Vt,keyframes:Vt,spring:Lt};function Ht(e){"string"==typeof e.type&&(e.type=_t[e.type])}class qt{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const Ut=e=>e/100;class Gt extends qt{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:e}=this.options;e&&e.updatedAt!==Ce.now()&&this.tick(Ce.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ke.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;Ht(e);const{type:t=Vt,repeat:o=0,repeatDelay:n=0,repeatType:r,velocity:i=0}=e;let{keyframes:a}=e;const s=t||Vt;"production"!==process.env.NODE_ENV&&s!==Vt&&D(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`,"spring-two-frames"),s!==Vt&&"number"!=typeof a[0]&&(this.mixKeyframes=U(Ut,St(a[0],a[1])),a=[0,100]);const l=s({...e,keyframes:a});"mirror"===r&&(this.mirroredGenerator=s({...e,keyframes:[...a].reverse(),velocity:-i})),null===l.calculatedDuration&&(l.calculatedDuration=Ct(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(o+1)-n,this.generator=l}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:o,totalDuration:n,mixKeyframes:r,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return o.next(0);const{delay:l=0,keyframes:c,repeat:p,repeatType:d,repeatDelay:u,type:f,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,v=o;if(p){const e=Math.min(this.currentTime,n)/a;let t=Math.floor(e),o=e%1;!o&&e>=1&&(o=1),1===o&&t--,t=Math.min(t,p+1),Boolean(t%2)&&("reverse"===d?(o=1-o,u&&(o-=u/a)):"mirror"===d&&(v=i)),b=B(0,1,o)*a}const x=y?{done:!1,value:c[0]}:v.next(b);r&&(x.value=r(x.value));let{done:w}=x;y||null===s||(w=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&f!==Dt&&(x.value=Wt(c,this.options,h,this.speed)),m&&m(x.value),S&&this.finish(),x}then(e,t){return this.finished.then(e,t)}get duration(){return Y(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Y(e)}get time(){return Y(this.currentTime)}set time(e){e=X(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Ce.now());const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Y(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Tt,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();const o=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=o):null!==this.holdTime?this.startTime=o-this.holdTime:this.startTime||(this.startTime=t??o),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ce.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,ke.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}const Kt=e=>180*e/Math.PI,Xt=e=>{const t=Kt(Math.atan2(e[1],e[0]));return Zt(t)},Yt={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Xt,rotateZ:Xt,skewX:e=>Kt(Math.atan(e[1])),skewY:e=>Kt(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Zt=e=>((e%=360)<0&&(e+=360),e),Jt=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Qt=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),eo={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Jt,scaleY:Qt,scale:e=>(Jt(e)+Qt(e))/2,rotateX:e=>Zt(Kt(Math.atan2(e[6],e[5]))),rotateY:e=>Zt(Kt(Math.atan2(-e[2],e[0]))),rotateZ:Xt,rotate:Xt,skewX:e=>Kt(Math.atan(e[4])),skewY:e=>Kt(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function to(e){return e.includes("scale")?1:0}function oo(e,t){if(!e||"none"===e)return to(t);const o=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,r;if(o)n=eo,r=o;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=Yt,r=t}if(!r)return to(t);const i=n[t],a=r[1].split(",").map(no);return"function"==typeof i?i(a):a[i]}function no(e){return parseFloat(e.trim())}const ro=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],io=(()=>new Set(ro))(),ao=e=>e===Ie||e===Ke,so=new Set(["x","y","z"]),lo=ro.filter(e=>!so.has(e)),co={width:({x:e},{paddingLeft:t="0",paddingRight:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),height:({y:e},{paddingTop:t="0",paddingBottom:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>oo(t,"x"),y:(e,{transform:t})=>oo(t,"y")};co.translateX=co.x,co.translateY=co.y;const po=new Set;let uo=!1,fo=!1,mo=!1;function ho(){if(fo){const e=Array.from(po).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),o=new Map;t.forEach(e=>{const t=function(e){const t=[];return lo.forEach(o=>{const n=e.getValue(o);void 0!==n&&(t.push([o,n.get()]),n.set(o.startsWith("scale")?1:0))}),t}(e);t.length&&(o.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=o.get(e);t&&t.forEach(([t,o])=>{e.getValue(t)?.set(o)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}fo=!1,uo=!1,po.forEach(e=>e.complete(mo)),po.clear()}function go(){po.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(fo=!0)})}class yo{constructor(e,t,o,n,r,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=o,this.motionValue=n,this.element=r,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(po.add(this),uo||(uo=!0,xe.read(go),xe.resolveKeyframes(ho))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:o,motionValue:n}=this;if(null===e[0]){const r=n?.get(),i=e[e.length-1];if(void 0!==r)e[0]=r;else if(o&&t){const n=o.readValue(t,i);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=i),n&&void 0===r&&n.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),po.delete(this)}cancel(){"scheduled"===this.state&&(po.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const bo=_(()=>void 0!==window.ScrollTimeline),vo={};function xo(e,t){const o=_(e);return()=>vo[t]??o()}const wo=xo(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),So=([e,t,o,n])=>`cubic-bezier(${e}, ${t}, ${o}, ${n})`,To={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:So([0,.65,.55,1]),circOut:So([.55,0,1,.45]),backIn:So([.31,.01,.66,-.59]),backOut:So([.33,1.53,.69,.99])};function Oo(e,t){return e?"function"==typeof e?wo()?Ot(e,t):"ease-out":me(e)?So(e):Array.isArray(e)?e.map(e=>Oo(e,t)||To.easeOut):To[e]:void 0}function jo(e,t,o,{delay:n=0,duration:r=300,repeat:i=0,repeatType:a="loop",ease:s="easeOut",times:l}={},c=void 0){const p={[t]:o};l&&(p.offset=l);const d=Oo(s,r);Array.isArray(d)&&(p.easing=d);const u={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"};return c&&(u.pseudoElement=c),e.animate(p,u)}function Co(e){return"function"==typeof e&&"applyToOptions"in e}class ko extends qt{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:o,keyframes:n,pseudoElement:r,allowFlatten:i=!1,finalKeyframe:a,onComplete:s}=e;this.isPseudoElement=Boolean(r),this.allowFlatten=i,this.options=e,D("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return Co(e)&&wo()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=jo(t,o,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const e=Wt(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,o){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,o):e.style[t]=o}(t,o,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return Y(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Y(e)}get time(){return Y(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=X(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&bo()?(this.animation.timeline=e,H):t(this)}}const Eo={anticipate:se,backInOut:ae,circInOut:pe};class Po extends ko{constructor(e){var t;"string"==typeof(t=e).ease&&t.ease in Eo&&(t.ease=Eo[t.ease]),Ht(e),super(e),void 0!==e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:o,onComplete:n,element:r,...i}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const a=new Gt({...i,autoplay:!1}),s=Math.max(10,Ce.now()-this.startTime),l=B(0,10,s-10);t.setWithVelocity(a.sample(Math.max(0,s-l)).value,a.sample(s).value,l),a.stop()}}const No=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!lt.test(e)&&"0"!==e||e.startsWith("url(")));function Ro(e){e.duration=0,e.type="keyframes"}const Mo=new Set(["opacity","clipPath","filter","transform"]),$o=_(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class Io extends qt{constructor({autoplay:e=!0,delay:t=0,type:o="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:i="loop",keyframes:a,name:s,motionValue:l,element:c,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ce.now();const d={autoplay:e,delay:t,type:o,repeat:n,repeatDelay:r,repeatType:i,name:s,motionValue:l,element:c,...p},u=c?.KeyframeResolver||yo;this.keyframeResolver=new u(a,(e,t,o)=>this.onKeyframesResolved(e,t,d,!o),s,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,o,n){this.keyframeResolver=void 0;const{name:r,type:i,velocity:a,delay:s,isHandoff:l,onUpdate:c}=o;this.resolvedAt=Ce.now(),function(e,t,o,n){const r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],a=No(r,t),s=No(i,t);return L(a===s,`You are trying to animate ${t} from "${r}" to "${i}". "${a?i:r}" is not an animatable value.`,"value-not-animatable"),!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let o=0;o<e.length;o++)if(e[o]!==t)return!0}(e)||("spring"===o||Co(o))&&n)}(e,r,i,a)||(!z.instantAnimations&&s||c?.(Wt(e,o,t)),e[0]=e[e.length-1],Ro(o),o.repeat=0);const p={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...o,keyframes:e},d=!l&&function(e){const{motionValue:t,name:o,repeatDelay:n,repeatType:r,damping:i,type:a}=e,s=t?.owner?.current;if(!(s instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=t.owner.getProps();return $o()&&o&&Mo.has(o)&&("transform"!==o||!c)&&!l&&!n&&"mirror"!==r&&0!==i&&"inertia"!==a}(p)?new Po({...p,element:p.motionValue.owner.current}):new Gt(p);d.finished.then(()=>this.notifyFinished()).catch(H),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),mo=!0,go(),ho(),mo=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Ao=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Bo(e,t,o=1){D(o<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[n,r]=function(e){const t=Ao.exec(e);if(!t)return[,];const[,o,n,r]=t;return[`--${o??n}`,r]}(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const e=i.trim();return V(e)?parseFloat(e):e}return Re(r)?Bo(r,t,o+1):r}function Lo(e,t){return e?.[t]??e?.default??e}const Do=new Set(["width","height","top","left","right","bottom",...ro]),zo=e=>t=>t.test(e),Vo=[Ie,Ke,Ge,Ue,Ye,Xe,{test:e=>"auto"===e,parse:e=>e}],Fo=e=>Vo.find(zo(e));function Wo(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||W(e)}const _o=new Set(["brightness","contrast","saturate","opacity"]);function Ho(e){const[t,o]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=o.match(De)||[];if(!n)return e;const r=o.replace(n,"");let i=_o.has(t)?1:0;return n!==o&&(i*=100),t+"("+i+r+")"}const qo=/\b([a-z-]*)\(.*?\)/gu,Uo={...lt,getAnimatableNone:e=>{const t=e.match(qo);return t?t.map(Ho).join(" "):e}},Go={...Ie,transform:Math.round},Ko={borderWidth:Ke,borderTopWidth:Ke,borderRightWidth:Ke,borderBottomWidth:Ke,borderLeftWidth:Ke,borderRadius:Ke,radius:Ke,borderTopLeftRadius:Ke,borderTopRightRadius:Ke,borderBottomRightRadius:Ke,borderBottomLeftRadius:Ke,width:Ke,maxWidth:Ke,height:Ke,maxHeight:Ke,top:Ke,right:Ke,bottom:Ke,left:Ke,inset:Ke,insetBlock:Ke,insetBlockStart:Ke,insetBlockEnd:Ke,insetInline:Ke,insetInlineStart:Ke,insetInlineEnd:Ke,padding:Ke,paddingTop:Ke,paddingRight:Ke,paddingBottom:Ke,paddingLeft:Ke,paddingBlock:Ke,paddingBlockStart:Ke,paddingBlockEnd:Ke,paddingInline:Ke,paddingInlineStart:Ke,paddingInlineEnd:Ke,margin:Ke,marginTop:Ke,marginRight:Ke,marginBottom:Ke,marginLeft:Ke,marginBlock:Ke,marginBlockStart:Ke,marginBlockEnd:Ke,marginInline:Ke,marginInlineStart:Ke,marginInlineEnd:Ke,backgroundPositionX:Ke,backgroundPositionY:Ke,rotate:Ue,rotateX:Ue,rotateY:Ue,rotateZ:Ue,scale:Be,scaleX:Be,scaleY:Be,scaleZ:Be,skew:Ue,skewX:Ue,skewY:Ue,distance:Ke,translateX:Ke,translateY:Ke,translateZ:Ke,x:Ke,y:Ke,z:Ke,perspective:Ke,transformPerspective:Ke,opacity:Ae,originX:Ze,originY:Ze,originZ:Ke,zIndex:Go,fillOpacity:Ae,strokeOpacity:Ae,numOctaves:Go},Xo={...Ko,color:Qe,backgroundColor:Qe,outlineColor:Qe,fill:Qe,stroke:Qe,borderColor:Qe,borderTopColor:Qe,borderRightColor:Qe,borderBottomColor:Qe,borderLeftColor:Qe,filter:Uo,WebkitFilter:Uo},Yo=e=>Xo[e];function Zo(e,t){let o=Yo(e);return o!==Uo&&(o=lt),o.getAnimatableNone?o.getAnimatableNone(t):void 0}const Jo=new Set(["auto","none","0"]);class Qo extends yo{constructor(e,t,o,n,r){super(e,t,o,n,r,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:o}=this;if(!t||!t.current)return;super.readKeyframes();for(let o=0;o<e.length;o++){let n=e[o];if("string"==typeof n&&(n=n.trim(),Re(n))){const r=Bo(n,t.current);void 0!==r&&(e[o]=r),o===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!Do.has(o)||2!==e.length)return;const[n,r]=e,i=Fo(n),a=Fo(r);if($e(n)!==$e(r)&&co[o])this.needsMeasurement=!0;else if(i!==a)if(ao(i)&&ao(a))for(let t=0;t<e.length;t++){const o=e[t];"string"==typeof o&&(e[t]=parseFloat(o))}else co[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,o=[];for(let t=0;t<e.length;t++)(null===e[t]||Wo(e[t]))&&o.push(t);o.length&&function(e,t,o){let n,r=0;for(;r<e.length&&!n;){const t=e[r];"string"==typeof t&&!Jo.has(t)&&rt(t).values.length&&(n=e[r]),r++}if(n&&o)for(const r of t)e[r]=Zo(o,n)}(e,o,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:o}=this;if(!e||!e.current)return;"height"===o&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=co[o](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const n=t[t.length-1];void 0!==n&&e.getValue(o,n).jump(n,!1)}measureEndState(){const{element:e,name:t,unresolvedKeyframes:o}=this;if(!e||!e.current)return;const n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);const r=o.length-1,i=o[r];o[r]=co[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==i&&void 0===this.finalKeyframe&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,o])=>{e.getValue(t).set(o)}),this.resolveNoneKeyframes()}}const en=(e,t)=>t&&"number"==typeof e?t.transform(e):e;class tn{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{const t=Ce.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Ce.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return"production"!==process.env.NODE_ENV&&Q(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new K);const o=this.events[e].add(t);return"change"===e?()=>{o(),xe.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,o){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-o}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Ce.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Z(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function on(e,t){return new tn(e,t)}const{schedule:nn,cancel:rn}=ve(queueMicrotask,!1),an={x:!1,y:!1};function sn(){return an.x||an.y}function ln(e,t){const o=function(e){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document;const o=t.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}(e),n=new AbortController;return[o,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function cn(e){return!("touch"===e.pointerType||sn())}const pn=(e,t)=>!!t&&(e===t||pn(e,t.parentElement)),dn=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,un=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function fn(e){return un.has(e.tagName)||!0===e.isContentEditable}const mn=new WeakSet;function hn(e){return t=>{"Enter"===t.key&&e(t)}}function gn(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function yn(e){return dn(e)&&!sn()}function bn(e){return F(e)&&"ownerSVGElement"in e}const vn=e=>Boolean(e&&e.getVelocity),xn=[...Vo,Qe,lt],wn=o.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Sn=o.createContext({strict:!1}),Tn={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},On={};for(const e in Tn)On[e]={isEnabled:t=>Tn[e].some(e=>!!t[e])};const jn=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Cn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||jn.has(e)}let kn=e=>!Cn(e);try{"function"==typeof(En=require("@emotion/is-prop-valid").default)&&(kn=e=>e.startsWith("on")?!Cn(e):En(e))}catch{}var En;const Pn=o.createContext({});function Nn(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function Rn(e){return"string"==typeof e||Array.isArray(e)}const Mn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],$n=["initial",...Mn];function In(e){return Nn(e.animate)||$n.some(t=>Rn(e[t]))}function An(e){return Boolean(In(e)||e.variants)}function Bn(e){return Array.isArray(e)?e.join(" "):e}function Ln(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Dn={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Ke.test(e))return e;e=parseFloat(e)}return`${Ln(e,t.target.x)}% ${Ln(e,t.target.y)}%`}},zn={correct:(e,{treeScale:t,projectionDelta:o})=>{const n=e,r=lt.parse(e);if(r.length>5)return n;const i=lt.createTransformer(e),a="number"!=typeof r[0]?1:0,s=o.x.scale*t.x,l=o.y.scale*t.y;r[0+a]/=s,r[1+a]/=l;const c=dt(s,l,.5);return"number"==typeof r[2+a]&&(r[2+a]/=c),"number"==typeof r[3+a]&&(r[3+a]/=c),i(r)}},Vn={borderRadius:{...Dn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Dn,borderTopRightRadius:Dn,borderBottomLeftRadius:Dn,borderBottomRightRadius:Dn,boxShadow:zn};function Fn(e,{layout:t,layoutId:o}){return io.has(e)||e.startsWith("origin")||(t||void 0!==o)&&(!!Vn[e]||"opacity"===e)}const Wn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_n=ro.length;function Hn(e,t,o){const{style:n,vars:r,transformOrigin:i}=e;let a=!1,s=!1;for(const e in t){const o=t[e];if(io.has(e))a=!0;else if(Pe(e))r[e]=o;else{const t=en(o,Ko[e]);e.startsWith("origin")?(s=!0,i[e]=t):n[e]=t}}if(t.transform||(a||o?n.transform=function(e,t,o){let n="",r=!0;for(let i=0;i<_n;i++){const a=ro[i],s=e[a];if(void 0===s)continue;let l=!0;if(l="number"==typeof s?s===(a.startsWith("scale")?1:0):0===parseFloat(s),!l||o){const e=en(s,Ko[a]);l||(r=!1,n+=`${Wn[a]||a}(${e}) `),o&&(t[a]=e)}}return n=n.trim(),o?n=o(t,r?"":n):r&&(n="none"),n}(t,e.transform,o):n.transform&&(n.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:o=0}=i;n.transformOrigin=`${e} ${t} ${o}`}}function qn(e,t,o){for(const n in t)vn(t[n])||Fn(n,o)||(e[n]=t[n])}function Un(e,t){const n={},r=function(e,t){const n={};return qn(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return o.useMemo(()=>{const o={style:{},transform:{},transformOrigin:{},vars:{}};return Hn(o,t,e),Object.assign({},o.vars,o.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Gn={offset:"stroke-dashoffset",array:"stroke-dasharray"},Kn={offset:"strokeDashoffset",array:"strokeDasharray"},Xn=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Yn(e,{attrX:t,attrY:o,attrScale:n,pathLength:r,pathSpacing:i=1,pathOffset:a=0,...s},l,c,p){if(Hn(e,s,c),l)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:u}=e;d.transform&&(u.transform=d.transform,delete d.transform),(u.transform||d.transformOrigin)&&(u.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),u.transform&&(u.transformBox=p?.transformBox??"fill-box",delete d.transformBox);for(const e of Xn)void 0!==d[e]&&(u[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==o&&(d.y=o),void 0!==n&&(d.scale=n),void 0!==r&&function(e,t,o=1,n=0,r=!0){e.pathLength=1;const i=r?Gn:Kn;e[i.offset]=Ke.transform(-n);const a=Ke.transform(t),s=Ke.transform(o);e[i.array]=`${a} ${s}`}(d,r,i,a,!1)}const Zn=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Jn(e,t,n,r){const i=o.useMemo(()=>{const o={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Yn(o,t,Zn(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const t={};qn(t,e.style,e),i.style={...t,...i.style}}return i}const Qn=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function er(e){return"string"==typeof e&&!e.includes("-")&&!!(Qn.indexOf(e)>-1||/[A-Z]/u.test(e))}function tr(e,t,n,{latestValues:r},i,a=!1,s){const l=(s??er(e)?Jn:Un)(t,r,i,e),c=function(e,t,o){const n={};for(const r in e)"values"===r&&"object"==typeof e.values||(kn(r)||!0===o&&Cn(r)||!t&&!Cn(r)||e.draggable&&r.startsWith("onDrag"))&&(n[r]=e[r]);return n}(t,"string"==typeof e,a),p=e!==o.Fragment?{...c,...l,ref:n}:{},{children:d}=t,u=o.useMemo(()=>vn(d)?d.get():d,[d]);return o.createElement(e,{...p,children:u})}function or(e){const t=[{},{}];return e?.values.forEach((e,o)=>{t[0][o]=e.get(),t[1][o]=e.getVelocity()}),t}function nr(e,t,o,n){if("function"==typeof t){const[r,i]=or(n);t=t(void 0!==o?o:e.custom,r,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[r,i]=or(n);t=t(void 0!==o?o:e.custom,r,i)}return t}function rr(e){return vn(e)?e.get():e}function ir(e,t,o,n){const r={},i=n(e,{});for(const e in i)r[e]=rr(i[e]);let{initial:a,animate:s}=e;const l=In(e),c=An(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let p=!!o&&!1===o.initial;p=p||!1===a;const d=p?s:a;if(d&&"boolean"!=typeof d&&!Nn(d)){const t=Array.isArray(d)?d:[d];for(let o=0;o<t.length;o++){const n=nr(e,t[o]);if(n){const{transitionEnd:e,transition:t,...o}=n;for(const e in o){let t=o[e];Array.isArray(t)&&(t=t[p?t.length-1:0]),null!==t&&(r[e]=t)}for(const t in e)r[t]=e[t]}}}return r}const ar=e=>(t,n)=>{const r=o.useContext(Pn),i=o.useContext($),a=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},o,n,r){return{latestValues:ir(o,n,r,e),renderState:t()}}(e,t,r,i);return n?a():function(e){const t=o.useRef(null);return null===t.current&&(t.current=e()),t.current}(a)};function sr(e,t,o){const{style:n}=e,r={};for(const i in n)(vn(n[i])||t.style&&vn(t.style[i])||Fn(i,e)||void 0!==o?.getValue(i)?.liveStyle)&&(r[i]=n[i]);return r}const lr=ar({scrapeMotionValuesFromProps:sr,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})});function cr(e,t,o){const n=sr(e,t,o);for(const o in e)(vn(e[o])||vn(t[o]))&&(n[-1!==ro.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]);return n}const pr=ar({scrapeMotionValuesFromProps:cr,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}})}),dr=Symbol.for("motionComponentSymbol");function ur(e,t,n){const r=o.useRef(n);o.useInsertionEffect(()=>{r.current=n});const i=o.useRef(null);return o.useCallback(o=>{o&&e.onMount?.(o),t&&(o?t.mount(o):t.unmount());const n=r.current;if("function"==typeof n)if(o){const e=n(o);"function"==typeof e&&(i.current=e)}else i.current?(i.current(),i.current=null):n(o);else n&&(n.current=o)},[t])}const fr=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),mr="data-"+fr("framerAppearId"),hr=o.createContext({});function gr(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function yr(e,t,n,r,i,a){const{visualElement:s}=o.useContext(Pn),l=o.useContext(Sn),c=o.useContext($),p=o.useContext(wn).reducedMotion,d=o.useRef(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:s,props:n,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:p,isSVG:a}));const u=d.current,f=o.useContext(hr);!u||u.projection||!i||"html"!==u.type&&"svg"!==u.type||function(e,t,o,n){const{layoutId:r,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c,layoutCrossfade:p}=t;e.projection=new o(e.latestValues,t["data-framer-portal-id"]?void 0:br(e.parent)),e.projection.setOptions({layoutId:r,layout:i,alwaysMeasureLayout:Boolean(a)||s&&gr(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,crossfade:p,layoutScroll:l,layoutRoot:c})}(d.current,n,i,f);const m=o.useRef(!1);o.useInsertionEffect(()=>{u&&m.current&&u.update(n,c)});const h=n[mr],g=o.useRef(Boolean(h)&&!window.MotionHandoffIsComplete?.(h)&&window.MotionHasOptimisedAnimation?.(h));return M(()=>{u&&(m.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),g.current&&u.animationState&&u.animationState.animateChanges())}),o.useEffect(()=>{u&&(!g.current&&u.animationState&&u.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(h)}),g.current=!1),u.enteringChildren=void 0)}),u}function br(e){if(e)return!1!==e.options.allowProjection?e.projection:br(e.parent)}function vr(t,{forwardMotionProps:n=!1,type:r}={},i,a){i&&function(e){for(const t in e)On[t]={...On[t],...e[t]}}(i);const s=r?"svg"===r:er(t),l=s?pr:lr;function c(r,c){let p;const d={...o.useContext(wn),...r,layoutId:xr(r)},{isStatic:u}=d,f=function(e){const{initial:t,animate:n}=function(e,t){if(In(e)){const{initial:t,animate:o}=e;return{initial:!1===t||Rn(t)?t:void 0,animate:Rn(o)?o:void 0}}return!1!==e.inherit?t:{}}(e,o.useContext(Pn));return o.useMemo(()=>({initial:t,animate:n}),[Bn(t),Bn(n)])}(r),m=l(r,u);if(!u&&R){!function(e,t){const n=o.useContext(Sn).strict;if("production"!==process.env.NODE_ENV&&t&&n){const t="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?L(!1,t,"lazy-strict-mode"):D(!1,t,"lazy-strict-mode")}}(d,i);const e=function(e){const{drag:t,layout:o}=On;if(!t&&!o)return{};const n={...t,...o};return{MeasureLayout:t?.isEnabled(e)||o?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);p=e.MeasureLayout,f.visualElement=yr(t,m,d,a,e.ProjectionNode,s)}return e.jsxs(Pn.Provider,{value:f,children:[p&&f.visualElement?e.jsx(p,{visualElement:f.visualElement,...d}):null,tr(t,r,ur(m,f.visualElement,c),m,u,n,s)]})}c.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;const p=o.forwardRef(c);return p[dr]=t,p}function xr({layoutId:e}){const t=o.useContext(N).id;return t&&void 0!==e?t+"-"+e:e}function wr(e,t){if("undefined"==typeof Proxy)return vr;const o=new Map,n=(o,n)=>vr(o,n,e,t);return new Proxy((e,t)=>("production"!==process.env.NODE_ENV&&Q(!1,"motion() is deprecated. Use motion.create() instead."),n(e,t)),{get:(r,i)=>"create"===i?n:(o.has(i)||o.set(i,vr(i,void 0,e,t)),o.get(i))})}function Sr({top:e,left:t,right:o,bottom:n}){return{x:{min:t,max:o},y:{min:e,max:n}}}function Tr(e){return void 0===e||1===e}function Or({scale:e,scaleX:t,scaleY:o}){return!Tr(e)||!Tr(t)||!Tr(o)}function jr(e){return Or(e)||Cr(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Cr(e){return kr(e.x)||kr(e.y)}function kr(e){return e&&"0%"!==e}function Er(e,t,o){return o+t*(e-o)}function Pr(e,t,o,n,r){return void 0!==r&&(e=Er(e,r,n)),Er(e,o,n)+t}function Nr(e,t=0,o=1,n,r){e.min=Pr(e.min,t,o,n,r),e.max=Pr(e.max,t,o,n,r)}function Rr(e,{x:t,y:o}){Nr(e.x,t.translate,t.scale,t.originPoint),Nr(e.y,o.translate,o.scale,o.originPoint)}const Mr=.999999999999,$r=1.0000000000001;function Ir(e,t){e.min=e.min+t,e.max=e.max+t}function Ar(e,t,o,n,r=.5){Nr(e,t,o,dt(e.min,e.max,r),n)}function Br(e,t){Ar(e.x,t.x,t.scaleX,t.scale,t.originX),Ar(e.y,t.y,t.scaleY,t.scale,t.originY)}function Lr(e,t){return Sr(function(e,t){if(!t)return e;const o=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:o.y,left:o.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}const Dr=()=>({x:{min:0,max:0},y:{min:0,max:0}}),zr={current:null},Vr={current:!1},Fr=new WeakMap,Wr=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class _r{scrapeMotionValuesFromProps(e,t,o){return{}}constructor({parent:e,props:t,presenceContext:o,reducedMotionConfig:n,blockInitialAnimation:r,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=yo,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=Ce.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,xe.render(this.render,!1,!0))};const{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=o,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=Boolean(r),this.isControllingVariants=In(t),this.isVariantNode=An(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:c,...p}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in p){const t=p[e];void 0!==s[e]&&vn(t)&&t.set(s[e])}}mount(e){this.current=e,Fr.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(Vr.current||function(){if(Vr.current=!0,R)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>zr.current=e.matches;e.addEventListener("change",t),t()}else zr.current=!1}(),this.shouldReduceMotion=zr.current),"production"!==process.env.NODE_ENV&&Q(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),we(this.notifyUpdate),we(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const o=io.has(e);o&&this.onBindTransform&&this.onBindTransform();const n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&xe.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{n(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in On){const t=On[e];if(!t)continue;const{isEnabled:o,Feature:n}=t;if(!this.features[e]&&n&&o(this.props)&&(this.features[e]=new n(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Wr.length;t++){const o=Wr[t];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const n=e["on"+o];n&&(this.propEventSubscriptions[o]=this.on(o,n))}this.prevMotionValues=function(e,t,o){for(const n in t){const r=t[n],i=o[n];if(vn(r))e.addValue(n,r);else if(vn(i))e.addValue(n,on(r,{owner:e}));else if(i!==r)if(e.hasValue(n)){const t=e.getValue(n);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{const t=e.getStaticValue(n);e.addValue(n,on(void 0!==t?t:r,{owner:e}))}}for(const n in o)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const o=this.values.get(e);t!==o&&(o&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let o=this.values.get(e);return void 0===o&&void 0!==t&&(o=on(null===t?void 0:t,{owner:this}),this.addValue(e,o)),o}readValue(e,t){let o=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=o&&("string"==typeof o&&(V(o)||W(o))?o=parseFloat(o):!(e=>xn.find(zo(e)))(o)&<.test(t)&&(o=Zo(e,t)),this.setBaseTarget(e,vn(o)?o.get():o)),vn(o)?o.get():o}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){const{initial:t}=this.props;let o;if("string"==typeof t||"object"==typeof t){const n=nr(this.props,t,this.presenceContext?.custom);n&&(o=n[e])}if(t&&void 0!==o)return o;const n=this.getBaseTargetFromProps(this.props,e);return void 0===n||vn(n)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new K),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){nn.render(this.render)}}class Hr extends _r{constructor(){super(...arguments),this.KeyframeResolver=Qo}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:o}){delete t[e],delete o[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;vn(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function qr(e,{style:t,vars:o},n,r){const i=e.style;let a;for(a in t)i[a]=t[a];for(a in r?.applyProjectionStyles(i,n),o)i.setProperty(a,o[a])}class Ur extends Hr{constructor(){super(...arguments),this.type="html",this.renderInstance=qr}readValueFromInstance(e,t){if(io.has(t))return this.projection?.isProjecting?to(t):((e,t)=>{const{transform:o="none"}=getComputedStyle(e);return oo(o,t)})(e,t);{const n=(o=e,window.getComputedStyle(o)),r=(Pe(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}var o}measureInstanceViewportBox(e,{transformPagePoint:t}){return Lr(e,t)}build(e,t,o){Hn(e,t,o.transformTemplate)}scrapeMotionValuesFromProps(e,t,o){return sr(e,t,o)}}const Gr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);class Kr extends Hr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Dr}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(io.has(t)){const e=Yo(t);return e&&e.default||0}return t=Gr.has(t)?t:fr(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,o){return cr(e,t,o)}build(e,t,o){Yn(e,t,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(e,t,o,n){!function(e,t,o,n){qr(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(Gr.has(o)?o:fr(o),t.attrs[o])}(e,t,0,n)}mount(e){this.isSVGTag=Zn(e.tagName),super.mount(e)}}const Xr=(e,t)=>t.isSVG??er(e)?new Kr(t):new Ur(t,{allowProjection:e!==o.Fragment});function Yr(e,t,o){const n=e.getProps();return nr(n,t,void 0!==o?o:n.custom,e)}const Zr=e=>Array.isArray(e);function Jr(e,t,o){e.hasValue(t)?e.getValue(t).set(o):e.addValue(t,on(o))}function Qr(e){return Zr(e)?e[e.length-1]||0:e}function ei(e,t){const o=e.getValue("willChange");if(n=o,Boolean(vn(n)&&n.add))return o.add(t);if(!o&&z.WillChange){const o=new z.WillChange("auto");e.addValue("willChange",o),o.add(t)}var n}function ti(e){return e.props[mr]}const oi=e=>null!==e,ni={type:"spring",stiffness:500,damping:25,restSpeed:10},ri={type:"keyframes",duration:.8},ii={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ai=(e,t,o,n={},r,i)=>a=>{const s=Lo(n,e)||{},l=s.delay||n.delay||0;let{elapsed:c=0}=n;c-=X(l);const p={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:r};(function({when:e,delay:t,delayChildren:o,staggerChildren:n,staggerDirection:r,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...p}){return!!Object.keys(p).length})(s)||Object.assign(p,((e,{keyframes:t})=>t.length>2?ri:io.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:ni:ii)(e,p)),p.duration&&(p.duration=X(p.duration)),p.repeatDelay&&(p.repeatDelay=X(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let d=!1;if((!1===p.type||0===p.duration&&!p.repeatDelay)&&(Ro(p),0===p.delay&&(d=!0)),(z.instantAnimations||z.skipAnimations)&&(d=!0,Ro(p),p.delay=0),p.allowFlatten=!s.type&&!s.ease,d&&!i&&void 0!==t.get()){const e=function(e,{repeat:t,repeatType:o="loop"},n){const r=e.filter(oi),i=t&&"loop"!==o&&t%2==1?0:r.length-1;return i&&void 0!==n?n:r[i]}(p.keyframes,s);if(void 0!==e)return void xe.update(()=>{p.onUpdate(e),p.onComplete()})}return s.isSync?new Gt(p):new Io(p)};function si({protectedKeys:e,needsAnimating:t},o){const n=e.hasOwnProperty(o)&&!0!==t[o];return t[o]=!1,n}function li(e,t,{delay:o=0,transitionOverride:n,type:r}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=t;n&&(i=n);const l=[],c=r&&e.animationState&&e.animationState.getState()[r];for(const t in s){const n=e.getValue(t,e.latestValues[t]??null),r=s[t];if(void 0===r||c&&si(c,t))continue;const a={delay:o,...Lo(i||{},t)},p=n.get();if(void 0!==p&&!n.isAnimating&&!Array.isArray(r)&&r===p&&!a.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){const o=ti(e);if(o){const e=window.MotionHandoffAnimation(o,t,xe);null!==e&&(a.startTime=e,d=!0)}}ei(e,t),n.start(ai(t,n,r,e.shouldReduceMotion&&Do.has(t)?{type:!1}:a,e,d));const u=n.animation;u&&l.push(u)}return a&&Promise.all(l).then(()=>{xe.update(()=>{a&&function(e,t){const o=Yr(e,t);let{transitionEnd:n={},transition:r={},...i}=o||{};i={...i,...n};for(const t in i)Jr(e,t,Qr(i[t]))}(e,a)})}),l}function ci(e,t,o,n=0,r=1){const i=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,s=(a-1)*n;return"function"==typeof o?o(i,a):1===r?i*n:s-i*n}function pi(e,t,o={}){const n=Yr(e,t,"exit"===o.type?e.presenceContext?.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=n||{};o.transitionOverride&&(r=o.transitionOverride);const i=n?()=>Promise.all(li(e,n,o)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=r;return function(e,t,o=0,n=0,r=0,i=1,a){const s=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),s.push(pi(l,t,{...a,delay:o+("function"==typeof n?0:n)+ci(e.variantChildren,l,n,r,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,n,i,a,s,o)}:()=>Promise.resolve(),{when:s}=r;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(o.delay)])}function di(e,t){if(!Array.isArray(t))return!1;const o=t.length;if(o!==e.length)return!1;for(let n=0;n<o;n++)if(t[n]!==e[n])return!1;return!0}const ui=$n.length;function fi(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&fi(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let o=0;o<ui;o++){const n=$n[o],r=e.props[n];(Rn(r)||!1===r)&&(t[n]=r)}return t}const mi=[...Mn].reverse(),hi=Mn.length;function gi(e){let t=function(e){return t=>Promise.all(t.map(({animation:t,options:o})=>function(e,t,o={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>pi(e,t,o));n=Promise.all(r)}else if("string"==typeof t)n=pi(e,t,o);else{const r="function"==typeof t?Yr(e,t,o.custom):t;n=Promise.all(li(e,r,o))}return n.then(()=>{e.notify("AnimationComplete",t)})}(e,t,o)))}(e),o=vi(),n=!0;const r=t=>(o,n)=>{const r=Yr(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(r){const{transition:e,transitionEnd:t,...n}=r;o={...o,...n,...t}}return o};function i(i){const{props:a}=e,s=fi(e.parent)||{},l=[],c=new Set;let p={},d=1/0;for(let t=0;t<hi;t++){const u=mi[t],f=o[u],m=void 0!==a[u]?a[u]:s[u],h=Rn(m),g=u===i?f.isActive:null;!1===g&&(d=t);let y=m===s[u]&&m!==a[u]&&h;if(y&&n&&e.manuallyAnimateOnMount&&(y=!1),f.protectedKeys={...p},!f.isActive&&null===g||!m&&!f.prevProp||Nn(m)||"boolean"==typeof m)continue;const b=yi(f.prevProp,m);let v=b||u===i&&f.isActive&&!y&&h||t>d&&h,x=!1;const w=Array.isArray(m)?m:[m];let S=w.reduce(r(u),{});!1===g&&(S={});const{prevResolvedValues:T={}}=f,O={...T,...S},j=t=>{v=!0,c.has(t)&&(x=!0,c.delete(t)),f.needsAnimating[t]=!0;const o=e.getValue(t);o&&(o.liveStyle=!1)};for(const e in O){const t=S[e],o=T[e];if(p.hasOwnProperty(e))continue;let n=!1;n=Zr(t)&&Zr(o)?!di(t,o):t!==o,n?null!=t?j(e):c.add(e):void 0!==t&&c.has(e)?j(e):f.protectedKeys[e]=!0}f.prevProp=m,f.prevResolvedValues=S,f.isActive&&(p={...p,...S}),n&&e.blockInitialAnimation&&(v=!1);const C=y&&b;v&&(!C||x)&&l.push(...w.map(t=>{const o={type:u};if("string"==typeof t&&n&&!C&&e.manuallyAnimateOnMount&&e.parent){const{parent:n}=e,r=Yr(n,t);if(n.enteringChildren&&r){const{delayChildren:t}=r.transition||{};o.delay=ci(n.enteringChildren,e,t)}}return{animation:t,options:o}}))}if(c.size){const t={};if("boolean"!=typeof a.initial){const o=Yr(e,Array.isArray(a.initial)?a.initial[0]:a.initial);o&&o.transition&&(t.transition=o.transition)}c.forEach(o=>{const n=e.getBaseTarget(o),r=e.getValue(o);r&&(r.liveStyle=!0),t[o]=n??null}),l.push({animation:t})}let u=Boolean(l.length);return!n||!1!==a.initial&&a.initial!==a.animate||e.manuallyAnimateOnMount||(u=!1),n=!1,u?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,n){if(o[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),o[t].isActive=n;const r=i(t);for(const e in o)o[e].protectedKeys={};return r},setAnimateFunction:function(o){t=o(e)},getState:()=>o,reset:()=>{o=vi()}}}function yi(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!di(t,e)}function bi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function vi(){return{animate:bi(!0),whileInView:bi(),whileHover:bi(),whileTap:bi(),whileDrag:bi(),whileFocus:bi(),exit:bi()}}class xi{constructor(e){this.isMounted=!1,this.node=e}update(){}}let wi=0;const Si={animation:{Feature:class extends xi{constructor(e){super(e),e.animationState||(e.animationState=gi(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Nn(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends xi{constructor(){super(...arguments),this.id=wi++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===o)return;const n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function Ti(e,t,o,n={passive:!0}){return e.addEventListener(t,o,n),()=>e.removeEventListener(t,o)}function Oi(e){return{point:{x:e.pageX,y:e.pageY}}}function ji(e,t,o,n){return Ti(e,t,(e=>t=>dn(t)&&e(t,Oi(t)))(o),n)}function Ci(e){return e.max-e.min}function ki(e,t,o,n=.5){e.origin=n,e.originPoint=dt(t.min,t.max,e.origin),e.scale=Ci(o)/Ci(t),e.translate=dt(o.min,o.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function Ei(e,t,o,n){ki(e.x,t.x,o.x,n?n.originX:void 0),ki(e.y,t.y,o.y,n?n.originY:void 0)}function Pi(e,t,o){e.min=o.min+t.min,e.max=e.min+Ci(t)}function Ni(e,t,o){e.min=t.min-o.min,e.max=e.min+Ci(t)}function Ri(e,t,o){Ni(e.x,t.x,o.x),Ni(e.y,t.y,o.y)}function Mi(e){return[e("x"),e("y")]}const $i=({current:e})=>e?e.ownerDocument.defaultView:null,Ii=(e,t)=>Math.abs(e-t),Ai=new Set(["auto","scroll"]);class Bi{constructor(e,t,{transformPagePoint:o,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:i=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=zi(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,o=function(e,t){const o=Ii(e.x,t.x),n=Ii(e.y,t.y);return Math.sqrt(o**2+n**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!o)return;const{point:n}=e,{timestamp:r}=Se;this.history.push({...n,timestamp:r});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Li(t,this.transformPagePoint),xe.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:o,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||r&&r(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=zi("pointercancel"===e.type?this.lastMoveEventInfo:Li(t,this.transformPagePoint),this.history);this.startEvent&&o&&o(e,i),n&&n(e,i)},!dn(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=o,this.distanceThreshold=i,this.contextWindow=n||window;const s=Li(Oi(e),this.transformPagePoint),{point:l}=s,{timestamp:c}=Se;this.history=[{...l,timestamp:c}];const{onSessionStart:p}=t;p&&p(e,zi(s,this.history)),this.removeListeners=U(ji(this.contextWindow,"pointermove",this.handlePointerMove),ji(this.contextWindow,"pointerup",this.handlePointerUp),ji(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){const e=getComputedStyle(t);(Ai.has(e.overflowX)||Ai.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const t=this.scrollPositions.get(e);if(!t)return;const o=e===window,n=o?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},r=n.x-t.x,i=n.y-t.y;0===r&&0===i||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r,this.lastMoveEventInfo.point.y+=i):this.history.length>0&&(this.history[0].x-=r,this.history[0].y-=i),this.scrollPositions.set(e,n),xe.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),we(this.updatePoint)}}function Li(e,t){return t?{point:t(e.point)}:e}function Di(e,t){return{x:e.x-t.x,y:e.y-t.y}}function zi({point:e},t){return{point:e,delta:Di(e,Fi(t)),offset:Di(e,Vi(t)),velocity:Wi(t,.1)}}function Vi(e){return e[0]}function Fi(e){return e[e.length-1]}function Wi(e,t){if(e.length<2)return{x:0,y:0};let o=e.length-1,n=null;const r=Fi(e);for(;o>=0&&(n=e[o],!(r.timestamp-n.timestamp>X(t)));)o--;if(!n)return{x:0,y:0};const i=Y(r.timestamp-n.timestamp);if(0===i)return{x:0,y:0};const a={x:(r.x-n.x)/i,y:(r.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function _i(e,t,o){return{min:void 0!==t?e.min+t:void 0,max:void 0!==o?e.max+o-(e.max-e.min):void 0}}function Hi(e,t){let o=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([o,n]=[n,o]),{min:o,max:n}}const qi=.35;function Ui(e,t,o){return{min:Gi(e,t),max:Gi(e,o)}}function Gi(e,t){return"number"==typeof e?e:e[t]||0}const Ki=new WeakMap;class Xi{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:o}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new Bi(e,{onSessionStart:e=>{t?(this.stopAnimation(),this.snapToCursor(Oi(e).point)):this.pauseAnimation()},onStart:(e,t)=>{this.stopAnimation();const{drag:o,dragPropagation:n,onDragStart:r}=this.getProps();if(o&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(i=o)||"y"===i?an[i]?null:(an[i]=!0,()=>{an[i]=!1}):an.x||an.y?null:(an.x=an.y=!0,()=>{an.x=an.y=!1}),!this.openDragLock))return;var i;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Mi(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Ge.test(t)){const{projection:o}=this.visualElement;if(o&&o.layout){const n=o.layout.layoutBox[e];n&&(t=Ci(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&xe.postRender(()=>r(e,t)),ei(this.visualElement,"transform");const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:o,dragDirectionLock:n,onDirectionLock:r,onDrag:i}=this.getProps();if(!o&&!this.openDragLock)return;const{offset:a}=t;if(n&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let o=null;return Math.abs(e.y)>t?o="y":Math.abs(e.x)>t&&(o="x"),o}(a),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>Mi(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:o,contextWindow:$i(this.visualElement),element:this.visualElement.current})}stop(e,t){const o=e||this.latestPointerEvent,n=t||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!o)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&xe.postRender(()=>a(o,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,o){const{drag:n}=this.getProps();if(!o||!Yi(e,n,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+o[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:o},n){return void 0!==t&&e<t?e=n?dt(t,e,n.min):Math.max(e,t):void 0!==o&&e>o&&(e=n?dt(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&gr(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!o)&&function(e,{top:t,left:o,bottom:n,right:r}){return{x:_i(e.x,o,r),y:_i(e.y,t,n)}}(o.layoutBox,e),this.elastic=function(e=qi){return!1===e?e=0:!0===e&&(e=qi),{x:Ui(e,"left","right"),y:Ui(e,"top","bottom")}}(t),n!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Mi(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const o={};return void 0!==t.min&&(o.min=t.min-e.min),void 0!==t.max&&(o.max=t.max-e.min),o}(o.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!gr(e))return!1;const o=e.current;D(null!==o,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const r=function(e,t,o){const n=Lr(e,o),{scroll:r}=t;return r&&(Ir(n.x,r.offset.x),Ir(n.y,r.offset.y)),n}(o,n.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Hi(e.x,t.x),y:Hi(e.y,t.y)}}(n.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Sr(e))}return i}startAnimation(e){const{drag:t,dragMomentum:o,dragElastic:n,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Mi(a=>{if(!Yi(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=n?200:1e6,p=n?40:1e7,d={type:"inertia",velocity:o?e[a]:0,bounceStiffness:c,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const o=this.getAxisMotionValue(e);return ei(this.visualElement,e),o.start(ai(e,o,0,t,this.visualElement,!1))}stopAnimation(){Mi(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Mi(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,o=this.visualElement.getProps();return o[t]||this.visualElement.getValue(e,(o.initial?o.initial[e]:void 0)||0)}snapToCursor(e){Mi(t=>{const{drag:o}=this.getProps();if(!Yi(t,o,this.currentDirection))return;const{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){const{min:o,max:i}=n.layout.layoutBox[t],a=r.get()||0;r.set(e[t]-dt(o,i,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:o}=this.visualElement;if(!gr(t)||!o||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Mi(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const o=t.get();n[e]=function(e,t){let o=.5;const n=Ci(e),r=Ci(t);return r>n?o=G(t.min,t.max-n,e.min):n>r&&(o=G(e.min,e.max-r,t.min)),B(0,1,o)}({min:o,max:o},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Mi(t=>{if(!Yi(t,e,null))return;const o=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];o.set(dt(r,i,n[t]))})}addListeners(){if(!this.visualElement.current)return;Ki.set(this.visualElement,this);const e=ji(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:o=!0}=this.getProps();t&&o&&!fn(e.target)&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();gr(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,n=o.addEventListener("measure",t);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),xe.read(t);const r=Ti(window,"resize",()=>this.scalePositionWithinConstraints()),i=o.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Mi(t=>{const o=this.getAxisMotionValue(t);o&&(this.originPoint[t]+=e[t].translate,o.set(o.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),n(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:o=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:i=qi,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:o,dragPropagation:n,dragConstraints:r,dragElastic:i,dragMomentum:a}}}function Yi(e,t,o){return!(!0!==t&&t!==e||null!==o&&o!==e)}const Zi=e=>(t,o)=>{e&&xe.postRender(()=>e(t,o))},Ji={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Qi=!1;class ea extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:o,layoutId:n}=this.props,{projection:r}=e;r&&(t.group&&t.group.add(r),o&&o.register&&n&&o.register(r),Qi&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Ji.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:o,drag:n,isPresent:r}=this.props,{projection:i}=o;return i?(i.isPresent=r,Qi=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==r?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||xe.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),nn.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:o}=this.props,{projection:n}=e;Qi=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),o&&o.deregister&&o.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function ta(t){const[n,r]=function(e=!0){const t=o.useContext($);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,a=o.useId();o.useEffect(()=>{if(e)return i(a)},[e]);const s=o.useCallback(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,s]:[!0]}(),i=o.useContext(N);return e.jsx(ea,{...t,layoutGroup:i,switchLayoutGroup:o.useContext(hr),isPresent:n,safeToRemove:r})}const oa=(e,t)=>e.depth-t.depth;class na{constructor(){this.children=[],this.isDirty=!1}add(e){I(this.children,e),this.isDirty=!0}remove(e){A(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(oa),this.isDirty=!1,this.children.forEach(e)}}const ra=["TopLeft","TopRight","BottomLeft","BottomRight"],ia=ra.length,aa=e=>"string"==typeof e?parseFloat(e):e,sa=e=>"number"==typeof e||Ke.test(e);function la(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const ca=da(0,.5,ce),pa=da(.5,.95,H);function da(e,t,o){return n=>n<e?0:n>t?1:o(G(e,t,n))}function ua(e,t){e.min=t.min,e.max=t.max}function fa(e,t){ua(e.x,t.x),ua(e.y,t.y)}function ma(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function ha(e,t,o,n,r){return e=Er(e-=t,1/o,n),void 0!==r&&(e=Er(e,1/r,n)),e}function ga(e,t,[o,n,r],i,a){!function(e,t=0,o=1,n=.5,r,i=e,a=e){if(Ge.test(t)&&(t=parseFloat(t),t=dt(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=dt(i.min,i.max,n);e===i&&(s-=t),e.min=ha(e.min,t,o,s,r),e.max=ha(e.max,t,o,s,r)}(e,t[o],t[n],t[r],t.scale,i,a)}const ya=["x","scaleX","originX"],ba=["y","scaleY","originY"];function va(e,t,o,n){ga(e.x,t,ya,o?o.x:void 0,n?n.x:void 0),ga(e.y,t,ba,o?o.y:void 0,n?n.y:void 0)}function xa(e){return 0===e.translate&&1===e.scale}function wa(e){return xa(e.x)&&xa(e.y)}function Sa(e,t){return e.min===t.min&&e.max===t.max}function Ta(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Oa(e,t){return Ta(e.x,t.x)&&Ta(e.y,t.y)}function ja(e){return Ci(e.x)/Ci(e.y)}function Ca(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class ka{constructor(){this.members=[]}add(e){I(this.members,e),e.scheduleRender()}remove(e){if(A(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let o;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){o=t;break}}return!!o&&(this.promote(o),!0)}promote(e,t){const o=this.lead;if(e!==o&&(this.prevLead=o,this.lead=e,e.show(),o)){o.instance&&o.scheduleRender(),e.scheduleRender(),e.resumeFrom=o,t&&(e.resumeFrom.preserveOpacity=!0),o.snapshot&&(e.snapshot=o.snapshot,e.snapshot.latestValues=o.animationValues||o.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;!1===n&&o.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:o}=e;t.onExitComplete&&t.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Ea={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Pa=["","X","Y","Z"];let Na=0;function Ra(e,t,o,n){const{latestValues:r}=t;r[e]&&(o[e]=r[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Ma(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const o=ti(t);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(o,"transform",xe,!(t||n))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&Ma(n)}function $a({attachResizeListener:e,defaultParent:t,measureScroll:o,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(e={},o=t?.()){this.id=Na++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,be.value&&(Ea.nodes=Ea.calculatedTargetDeltas=Ea.calculatedProjections=0),this.nodes.forEach(Ba),this.nodes.forEach(_a),this.nodes.forEach(Ha),this.nodes.forEach(La),be.addProjectionMetrics&&be.addProjectionMetrics(Ea)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new na)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new K),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const o=this.eventHandlers.get(e);o&&o.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;var o;this.isSVG=bn(t)&&!(bn(o=t)&&"svg"===o.tagName),this.instance=t;const{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let o,n=0;const r=()=>this.root.updateBlockedByResize=!1;xe.read(()=>{n=window.innerWidth}),e(t,()=>{const e=window.innerWidth;e!==n&&(n=e,this.root.updateBlockedByResize=!0,o&&o(),o=function(e){const t=Ce.now(),o=({timestamp:n})=>{const r=n-t;r>=250&&(we(o),e(r-250))};return xe.setup(o,!0),()=>we(o)}(r),Ji.hasAnimatedSinceResize&&(Ji.hasAnimatedSinceResize=!1,this.nodes.forEach(Wa)))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:o,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||i.getDefaultTransition()||Ya,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!Oa(this.targetLayout,n),c=!t&&o;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...Lo(r,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else t||Wa(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),we(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(qa),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ma(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:o}=this.options;if(void 0===t&&!o)return;const n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(za);if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(Va);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Fa),this.nodes.forEach(Ia),this.nodes.forEach(Aa)):this.nodes.forEach(Va),this.clearAllSnapshots();const e=Ce.now();Se.delta=B(0,1e3/60,e-Se.timestamp),Se.timestamp=e,Se.isProcessing=!0,Te.update.process(Se),Te.preRender.process(Se),Te.render.process(Se),Se.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Da),this.sharedNodes.forEach(Ua)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,xe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){xe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Ci(this.snapshot.measuredBox.x)||Ci(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();const e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!wa(this.projectionDelta),o=this.getTransformTemplate(),n=o?o(this.latestValues,""):void 0,i=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||jr(this.latestValues)||i)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let o=this.removeElementScroll(t);var n;return e&&(o=this.removeTransform(o)),Qa((n=o).x),Qa(n.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:o,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox();if(!this.scroll?.wasRoot&&!this.path.some(ts)){const{scroll:e}=this.root;e&&(Ir(t.x,e.offset.x),Ir(t.y,e.offset.y))}return t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};if(fa(t,e),this.scroll?.wasRoot)return t;for(let o=0;o<this.path.length;o++){const n=this.path[o],{scroll:r,options:i}=n;n!==this.root&&r&&i.layoutScroll&&(r.wasRoot&&fa(t,e),Ir(t.x,r.offset.x),Ir(t.y,r.offset.y))}return t}applyTransform(e,t=!1){const o={x:{min:0,max:0},y:{min:0,max:0}};fa(o,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&Br(o,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),jr(n.latestValues)&&Br(o,n.latestValues)}return jr(this.latestValues)&&Br(o,this.latestValues),o}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};fa(t,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];if(!o.instance)continue;if(!jr(o.latestValues))continue;Or(o.latestValues)&&o.updateSnapshot();const n=Dr();fa(n,o.measurePageBox()),va(t,o.latestValues,o.snapshot?o.snapshot.layoutBox:void 0,n)}return jr(this.latestValues)&&va(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Se.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){const t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);const o=Boolean(this.resumingFrom)||this!==t;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:n,layoutId:r}=this.options;if(!this.layout||!n&&!r)return;this.resolvedRelativeTargetAt=Se.timestamp;const i=this.getClosestProjectingParent();var a,s,l;i&&this.linkedParentVersion!==i.layoutVersion&&!i.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(i&&i.layout?this.createRelativeTarget(i,this.layout.layoutBox,i.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,Pi(a.x,s.x,l.x),Pi(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):fa(this.target,this.layout.layoutBox),Rr(this.target,this.targetDelta)):fa(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,i&&Boolean(i.resumingFrom)===Boolean(this.resumingFrom)&&!i.options.layoutScroll&&i.target&&1!==this.animationProgress?this.createRelativeTarget(i,this.target,i.target):this.relativeParent=this.relativeTarget=void 0),be.value&&Ea.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!Or(this.parent.latestValues)&&!Cr(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,o){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ri(this.relativeTargetOrigin,t,o),fa(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const e=this.getLead(),t=Boolean(this.resumingFrom)||this!==e;let o=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(o=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===Se.timestamp&&(o=!1),o)return;const{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!n&&!r)return;fa(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,a=this.treeScale.y;!function(e,t,o,n=!1){const r=o.length;if(!r)return;let i,a;t.x=t.y=1;for(let s=0;s<r;s++){i=o[s],a=i.projectionDelta;const{visualElement:r}=i.options;r&&r.props.style&&"contents"===r.props.style.display||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Br(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Rr(e,a)),n&&jr(i.latestValues)&&Br(e,i.latestValues))}t.x<$r&&t.x>Mr&&(t.x=1),t.y<$r&&t.y>Mr&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,t),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:s}=e;s?(this.projectionDelta&&this.prevProjectionDelta?(ma(this.prevProjectionDelta.x,this.projectionDelta.x),ma(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Ei(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===i&&this.treeScale.y===a&&Ca(this.projectionDelta.x,this.prevProjectionDelta.x)&&Ca(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),be.value&&Ea.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const o=this.snapshot,n=o?o.latestValues:{},r={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(o?o.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,p=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Xa));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const o=t/1e3;Ga(i.x,e.x,o),Ga(i.y,e.y,o),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ri(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,o,n){Ka(e.x,t.x,o.x,n),Ka(e.y,t.y,o.y,n)}(this.relativeTarget,this.relativeTargetOrigin,a,o),d&&function(e,t){return Sa(e.x,t.x)&&Sa(e.y,t.y)}(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),fa(d,this.relativeTarget)),s&&(this.animationValues=r,function(e,t,o,n,r,i){r?(e.opacity=dt(0,o.opacity??1,ca(n)),e.opacityExit=dt(t.opacity??1,0,pa(n))):i&&(e.opacity=dt(t.opacity??1,o.opacity??1,n));for(let r=0;r<ia;r++){const i=`border${ra[r]}Radius`;let a=la(t,i),s=la(o,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||sa(a)===sa(s)?(e[i]=Math.max(dt(aa(a),aa(s),n),0),(Ge.test(s)||Ge.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||o.rotate)&&(e.rotate=dt(t.rotate||0,o.rotate||0,n))}(r,n,this.latestValues,o,p,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=o},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(we(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xe.update(()=>{Ji.hasAnimatedSinceResize=!0,ke.layout++,this.motionValue||(this.motionValue=on(0)),this.currentAnimation=function(e,t,o){const n=vn(e)?e:on(e);return n.start(ai("",n,[0,1e3],o)),n.animation}(this.motionValue,0,{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{ke.layout--},onComplete:()=>{ke.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:o,layout:n,latestValues:r}=e;if(t&&o&&n){if(this!==e&&this.layout&&n&&es(this.options.animationType,this.layout.layoutBox,n.layoutBox)){o=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Ci(this.layout.layoutBox.x);o.x.min=e.target.x.min,o.x.max=o.x.min+t;const n=Ci(this.layout.layoutBox.y);o.y.min=e.target.y.min,o.y.max=o.y.min+n}fa(t,o),Br(t,r),Ei(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ka),this.sharedNodes.get(e).add(t);const o=t.options.initialPromotionConfig;t.promote({transition:o?o.transition:void 0,preserveFollowOpacity:o&&o.shouldPreserveFollowOpacity?o.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){const{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:o}={}){const n=this.getStack();n&&n.promote(this,o),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:o}=e;if((o.z||o.rotate||o.rotateX||o.rotateY||o.rotateZ||o.skewX||o.skewY)&&(t=!0),!t)return;const n={};o.z&&Ra("z",e,n,this.animationValues);for(let t=0;t<Pa.length;t++)Ra(`rotate${Pa[t]}`,e,n,this.animationValues),Ra(`skew${Pa[t]}`,e,n,this.animationValues);e.render();for(const t in n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(e.visibility="hidden");const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=rr(t?.pointerEvents)||"",void(e.transform=o?o(this.latestValues,""):"none");const n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target)return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=rr(t?.pointerEvents)||""),void(this.hasProjected&&!jr(this.latestValues)&&(e.transform=o?o({},""):"none",this.hasProjected=!1));e.visibility="";const r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let i=function(e,t,o){let n="";const r=e.x.translate/t.x,i=e.y.translate/t.y,a=o?.z||0;if((r||i||a)&&(n=`translate3d(${r}px, ${i}px, ${a}px) `),1===t.x&&1===t.y||(n+=`scale(${1/t.x}, ${1/t.y}) `),o){const{transformPerspective:e,rotate:t,rotateX:r,rotateY:i,skewX:a,skewY:s}=o;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),r&&(n+=`rotateX(${r}deg) `),i&&(n+=`rotateY(${i}deg) `),a&&(n+=`skewX(${a}deg) `),s&&(n+=`skewY(${s}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);o&&(i=o(r,i)),e.transform=i;const{x:a,y:s}=this.projectionDelta;e.transformOrigin=`${100*a.origin}% ${100*s.origin}% 0`,n.animationValues?e.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:e.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0;for(const t in Vn){if(void 0===r[t])continue;const{correct:o,applyTo:a,isCSSVariable:s}=Vn[t],l="none"===i?r[t]:o(r[t],n);if(a){const t=a.length;for(let o=0;o<t;o++)e[a[o]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?rr(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(za),this.root.sharedNodes.clear()}}}function Ia(e){e.updateLayout()}function Aa(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:n}=e.layout,{animationType:r}=e.options,i=t.source!==e.layout.source;"size"===r?Mi(e=>{const n=i?t.measuredBox[e]:t.layoutBox[e],r=Ci(n);n.min=o[e].min,n.max=n.min+r}):es(r,t.layoutBox,o)&&Mi(n=>{const r=i?t.measuredBox[n]:t.layoutBox[n],a=Ci(o[n]);r.max=r.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ei(a,o,t.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?Ei(s,e.applyTransform(n,!0),t.measuredBox):Ei(s,o,t.layoutBox);const l=!wa(a);let c=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:r,layout:i}=n;if(r&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Ri(a,t.layoutBox,r.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Ri(s,o,i.layoutBox),Oa(a,s)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:t,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Ba(e){be.value&&Ea.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function La(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Da(e){e.clearSnapshot()}function za(e){e.clearMeasurements()}function Va(e){e.isLayoutDirty=!1}function Fa(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Wa(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function _a(e){e.resolveTargetDelta()}function Ha(e){e.calcProjection()}function qa(e){e.resetSkewAndRotation()}function Ua(e){e.removeLeadSnapshot()}function Ga(e,t,o){e.translate=dt(t.translate,0,o),e.scale=dt(t.scale,1,o),e.origin=t.origin,e.originPoint=t.originPoint}function Ka(e,t,o,n){e.min=dt(t.min,o.min,n),e.max=dt(t.max,o.max,n)}function Xa(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Ya={duration:.45,ease:[.4,0,.1,1]},Za=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ja=Za("applewebkit/")&&!Za("chrome/")?Math.round:H;function Qa(e){e.min=Ja(e.min),e.max=Ja(e.max)}function es(e,t,o){return"position"===e||"preserve-aspect"===e&&(n=ja(t),r=ja(o),!(Math.abs(n-r)<=.2));var n,r}function ts(e){return e!==e.root&&e.scroll?.wasRoot}const os=$a({attachResizeListener:(e,t)=>Ti(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ns={current:void 0},rs=$a({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ns.current){const e=new os({});e.mount(window),e.setOptions({layoutScroll:!0}),ns.current=e}return ns.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),is={pan:{Feature:class extends xi{constructor(){super(...arguments),this.removePointerDownListener=H}onPointerDown(e){this.session=new Bi(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:$i(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:o,onPanEnd:n}=this.node.getProps();return{onSessionStart:Zi(e),onStart:Zi(t),onMove:o,onEnd:(e,t)=>{delete this.session,n&&xe.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=ji(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends xi{constructor(e){super(e),this.removeGroupControls=H,this.removeListeners=H,this.controls=new Xi(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||H}update(){const{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:rs,MeasureLayout:ta}};function as(e,t,o){const{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===o);const r=n["onHover"+o];r&&xe.postRender(()=>r(t,Oi(t)))}function ss(e,t,o){const{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===o);const r=n["onTap"+("End"===o?"":o)];r&&xe.postRender(()=>r(t,Oi(t)))}const ls=new WeakMap,cs=new WeakMap,ps=e=>{const t=ls.get(e.target);t&&t(e)},ds=e=>{e.forEach(ps)};const us={some:0,all:1},fs={inView:{Feature:class extends xi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:o,amount:n="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:o,threshold:"number"==typeof n?n:us[n]};return function(e,t,o){const n=function({root:e,...t}){const o=e||document;cs.has(o)||cs.set(o,{});const n=cs.get(o),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(ds,{root:e,...t})),n[r]}(t);return ls.set(e,o),n.observe(e),()=>{ls.delete(e),n.unobserve(e)}}(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:o,onViewportLeave:n}=this.node.getProps(),i=t?o:n;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node,o=["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return o=>e[o]!==t[o]}(e,t));o&&this.startObserver()}unmount(){}}},tap:{Feature:class extends xi{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,o={}){const[n,r,i]=ln(e,o),a=e=>{const n=e.currentTarget;if(!yn(e))return;mn.add(n);const i=t(n,e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),mn.has(n)&&mn.delete(n),yn(e)&&"function"==typeof i&&i(e,{success:t})},s=e=>{a(e,n===window||n===document||o.useGlobalTarget||pn(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,r),window.addEventListener("pointercancel",l,r)};return n.forEach(e=>{var t;(o.useGlobalTarget?window:e).addEventListener("pointerdown",a,r),F(t=e)&&"offsetHeight"in t&&(e.addEventListener("focus",e=>((e,t)=>{const o=e.currentTarget;if(!o)return;const n=hn(()=>{if(mn.has(o))return;gn(o,"down");const e=hn(()=>{gn(o,"up")});o.addEventListener("keyup",e,t),o.addEventListener("blur",()=>gn(o,"cancel"),t)});o.addEventListener("keydown",n,t),o.addEventListener("blur",()=>o.removeEventListener("keydown",n),t)})(e,r)),fn(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),i}(e,(e,t)=>(ss(this.node,t,"Start"),(e,{success:t})=>ss(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends xi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=U(Ti(this.node.current,"focus",()=>this.onFocus()),Ti(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends xi{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,o={}){const[n,r,i]=ln(e,o),a=e=>{if(!cn(e))return;const{target:o}=e,n=t(o,e);if("function"!=typeof n||!o)return;const i=e=>{cn(e)&&(n(e),o.removeEventListener("pointerleave",i))};o.addEventListener("pointerleave",i,r)};return n.forEach(e=>{e.addEventListener("pointerenter",a,r)}),i}(e,(e,t)=>(as(this.node,t,"Start"),e=>as(this.node,e,"End"))))}unmount(){}}}},ms=wr({...Si,...fs,...is,layout:{ProjectionNode:rs,MeasureLayout:ta}},Xr);var hs={SidePanel:function(t){var o=t.side,n=void 0===o?"right":o,r=t.width,i=void 0===r?288:r,a=t.isOpen,s=t.children,l=t.className,c=void 0===l?"":l,p=t.style,d=288===i?"w-72":"",u=288!==i?{width:"".concat(i,"px")}:{},f=P();return e.jsx("div",{className:"fixed top-[74px] ".concat("left"===n?"left-2":"right-2"," h-[calc(100%-64px)] overflow-y-auto scrollbar-hide transform transition-transform duration-300 z-20 ").concat(d," ").concat(c,"\n ").concat(a?"translate-x-0":"left"===n?"-translate-x-full":"translate-x-full","\n "),style:Object.assign(Object.assign(Object.assign({},u),{pointerEvents:a?"auto":"none",backgroundColor:f.surface.panel,color:f.text.primary}),p),children:e.jsx("div",{className:"p-4",children:s})})},DrawerPanel:function(t){var o=t.side,n=void 0===o?"right":o,r=t.isOpen,i=t.onClose,a=t.children,s=t.className,l=void 0===s?"":s,c=t.style,p=t.width,d=void 0===p?360:p,f=t.overlayColor,m=void 0===f?"rgba(0,0,0,0.4)":f;return e.jsxs(e.Fragment,{children:[r&&e.jsx("div",{className:"drawer-overlay",onClick:i,style:{position:"fixed",inset:0,background:m,zIndex:1200}}),e.jsx("aside",{className:"drawer-panel ".concat(l),style:Object.assign(u(u(u(u(u(u(u(u({position:"fixed",top:0,bottom:0},n,0),"width",d),"background","#fff"),"boxShadow","right"===n?"-2px 0 12px rgba(0,0,0,0.12)":"2px 0 12px rgba(0,0,0,0.12)"),"transform",r?"translateX(0)":"right"===n?"translateX(".concat(d,"px)"):"translateX(-".concat(d,"px)")),"transition","transform 0.2s ease"),"zIndex",1201),"overflow","hidden"),c),children:a})]})},Header:function(t){var o=t.title,n=t.actions,r=t.onClose,i=t.delay,a=void 0===i?.1:i,s=t.side,l=void 0===s?"left":s,c=P(),p="left"===l?"-100%":"100%";return e.jsxs(ms.div,{initial:{x:p},animate:{x:0},transition:{type:"spring",stiffness:50,delay:a},className:"text-lg font-medium leading-6 px-4 py-2 rounded-lg capitalize mb-4 text-center relative w-full",style:{color:c.text.primary,backgroundColor:c.surface.card},children:[r&&e.jsx("button",{type:"button",onClick:r,className:"absolute top-2 right-2 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200","aria-label":"Close panel",children:"×"}),o&&e.jsx("span",{children:o}),n&&e.jsx("div",{className:"mt-2",children:n})]})},Body:function(t){var o,n,r=t.children,i=t.delay,a=void 0===i?.2:i,s=t.side,l=void 0===s?"left":s,c=t.className,p=void 0===c?"":c,d=t.style,u=t.useMotion,f=void 0===u||u,m=t.spacing,h=void 0===m||m,g=P(),b="left"===l?"-100%":"100%",v=h?{display:"flex",flexDirection:"column",gap:"object"===y(h)&&null!==(o=h.gap)&&void 0!==o?o:12,paddingBottom:"object"===y(h)&&null!==(n=h.paddingBottom)&&void 0!==n?n:24}:{},x=e.jsx("div",{className:p,style:Object.assign(Object.assign({color:g.text.primary},v),d),children:r});return f?e.jsx(ms.div,{initial:{x:b},animate:{x:0},transition:{type:"spring",stiffness:50,delay:a},children:x}):x},Footer:function(t){var o=t.children,n=P();return e.jsx("div",{className:"sidepanel-footer",style:{padding:"12px 16px",borderTop:"1px solid ".concat(n.border.subtle),background:n.surface.control,color:n.text.primary},children:o})}},gs=function(t){var o=t.title,n=t.description,r=t.actions,i=t.footer,a=t.isLoading,s=t.empty,l=t.children;t.variant;var c=t.containerMinHeight,p=t.bodyMinHeight,d=void 0===p?220:p,u=t.showBody,f=void 0===u||u,m=P(),h=m.surface.card,g="1px solid ".concat(m.border.subtle),y=m.text.primary,b=m.text.muted,v=m.text.primary;return e.jsxs("div",{className:"widget-container",style:{border:g,borderRadius:12,background:h,boxShadow:"0 4px 14px rgba(0,0,0,0.04)",display:"flex",flexDirection:"column",minHeight:null!=c?c:d+140},children:[(o||r||n)&&e.jsxs("div",{style:{padding:"12px 16px",borderBottom:"1px solid ".concat(m.border.subtle),display:"flex",flexDirection:"column",gap:6},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[o&&e.jsx("h3",{style:{margin:0,fontSize:16,fontWeight:600,color:y},children:o}),r&&e.jsx("div",{style:{display:"flex",gap:8},children:r})]}),n&&e.jsx("p",{style:{margin:0,color:b,fontSize:13},children:n})]}),f&&e.jsx("div",{style:{padding:"12px 16px",flex:1,minHeight:d},children:a?e.jsx("div",{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:b,fontSize:14},children:"Loading..."}):s?e.jsx("div",{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:b,fontSize:14},children:"No data available"}):e.jsx("div",{style:{color:v},children:l})}),i&&e.jsx("div",{style:{borderTop:"1px solid ".concat(m.border.subtle),padding:"12px 16px"},children:i})]})},ys=function(t){var o=t.alert,n=t.onClick,r=P(),i={Severe:{dot:r.semantic.critical,bg:"".concat(r.semantic.critical,"1f"),text:r.semantic.critical},Medium:{dot:r.semantic.warning,bg:"".concat(r.semantic.warning,"1f"),text:r.semantic.warning},Normal:{dot:r.semantic.success,bg:"".concat(r.semantic.success,"1f"),text:r.semantic.success},Info:{dot:r.semantic.info,bg:"".concat(r.semantic.info,"1f"),text:r.semantic.info}},a=i[o.severity]||i.Info;return e.jsxs("div",{onClick:function(){return null==n?void 0:n(o)},style:{display:"flex",alignItems:"flex-start",gap:10,padding:"10px 12px",borderRadius:10,background:a.bg,cursor:n?"pointer":"default"},children:[e.jsx("span",{style:{width:10,height:10,borderRadius:"50%",background:a.dot,marginTop:5,flexShrink:0}}),e.jsxs("div",{style:{flex:1},children:[e.jsx("div",{style:{color:r.text.primary,fontSize:13,lineHeight:1.45},children:o.message}),e.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center",marginTop:4},children:[e.jsx("span",{style:{color:r.text.muted,fontSize:12},children:o.time}),e.jsx("span",{style:{color:a.text,fontSize:12,fontWeight:600},children:o.severity})]})]})]})},bs=function(t){t.title;var o=t.alerts,n=t.emptyText,r=void 0===n?"There are currently no active alerts.":n,i=t.onAlertClick,a=t.maxHeight,s=void 0===a?320:a,l=P();return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:"\n .custom-scrollbar::-webkit-scrollbar {\n display: none;\n }\n .custom-scrollbar {\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* IE 10+ */\n }\n "}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:10,maxHeight:s,overflowY:"auto",scrollbarWidth:"none",msOverflowStyle:"none"},className:"custom-scrollbar",children:0===o.length?e.jsx("div",{style:{color:l.text.muted,fontSize:13,padding:"12px 10px",borderRadius:10,background:l.surface.control},children:r}):o.map(function(t){return e.jsx(ys,{alert:t,onClick:i},t.id)})})]})};function vs(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}"function"==typeof SuppressedError&&SuppressedError;var xs=function(t){var o=t.variant,n=void 0===o?"primary":o,r=t.size,i=void 0===r?"medium":r,a=t.children,s=t.bgColor,l=t.textColor,c=t.borderColor,p=vs(t,["variant","size","children","bgColor","textColor","borderColor"]),d=P(),u="dark"===E(function(e){return e.mode})?d.text.primary:function(e){var t=e.replace("#","");return(.299*parseInt(t.slice(0,2),16)+.587*parseInt(t.slice(2,4),16)+.114*parseInt(t.slice(4,6),16))/255<.5}(d.accent.primary)?d.text.onAccent||"#ffffff":d.accent.primary,f={primary:{backgroundColor:null!=s?s:d.accent.primary,color:null!=l?l:d.text.onAccent,border:c?"2px solid ".concat(c):"none"},secondary:{backgroundColor:null!=s?s:d.accent.secondary,color:null!=l?l:d.text.onAccent,border:c?"2px solid ".concat(c):"none"},outline:{backgroundColor:null!=s?s:"transparent",color:null!=l?l:u,border:"2px solid ".concat(null!=c?c:u)},ghost:{backgroundColor:"transparent",color:"inherit",border:"none",padding:0,boxShadow:"none"}};return e.jsx("button",Object.assign({style:Object.assign(Object.assign(Object.assign({},{border:"none",borderRadius:"4px",cursor:"pointer",fontWeight:500,transition:"all 0.2s"}),f[n]),{small:{padding:"6px 12px",fontSize:"12px"},medium:{padding:"10px 20px",fontSize:"14px"},large:{padding:"14px 28px",fontSize:"16px"}}[i])},p,{children:a}))};r.Chart.register(r.CategoryScale,r.LinearScale,r.RadialLinearScale,r.BarElement,r.LineElement,r.PointElement,r.ArcElement,r.Tooltip,r.Legend,r.Filler);var ws=function(t){var o=t.height;return e.jsx("div",{style:{height:null!=o?o:220,display:"flex",alignItems:"center",justifyContent:"center",color:"#64748b",fontSize:14},children:"Loading chart..."})},Ss=function(t){var o=t.height;return e.jsx("div",{style:{height:null!=o?o:220,display:"flex",alignItems:"center",justifyContent:"center",color:"#94a3b8",fontSize:14},children:"No data available"})},Ts=function(t){var n=t.type,r=t.data,a=t.options,s=t.height,l=t.width,c=t.isLoading,p=t.empty,d=t.theme,u=t.className,f=t.style,m=P(),h=o.useMemo(function(){return{palette:{primary:m.accent.primary,secondary:m.accent.secondary,muted:m.accent.primary,grid:m.chart.grid,text:m.chart.text},lineWidth:2,pointRadius:3,fontFamily:"Inter, system-ui, -apple-system, sans-serif"}},[m.accent.primary,m.accent.secondary,m.chart.grid,m.chart.text]),g=o.useMemo(function(){return function(e,t){var o,n,r;return{palette:Object.assign(Object.assign({},e.palette),(null==t?void 0:t.palette)||{}),lineWidth:null!==(o=null==t?void 0:t.lineWidth)&&void 0!==o?o:e.lineWidth,pointRadius:null!==(n=null==t?void 0:t.pointRadius)&&void 0!==n?n:e.pointRadius,fontFamily:null!==(r=null==t?void 0:t.fontFamily)&&void 0!==r?r:e.fontFamily}}(h,d)},[h,d]),y=o.useMemo(function(){var e={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0,labels:{color:g.palette.text,font:{family:g.fontFamily}}},tooltip:{enabled:!0,titleColor:g.palette.text,bodyColor:g.palette.text,backgroundColor:"#fff",borderColor:g.palette.grid,borderWidth:1}},scales:{x:{grid:{color:g.palette.grid},ticks:{color:g.palette.text,font:{family:g.fontFamily}}},y:{grid:{color:g.palette.grid},ticks:{color:g.palette.text,font:{family:g.fontFamily}}}}};return Object.assign(Object.assign({},e),a||{})},[g,a]),b=Object.assign({height:null!=s?s:220,width:l},f);if(c)return e.jsx(ws,{height:s});if(p)return e.jsx(Ss,{height:s});var v={data:r,options:y};switch(n){case"bar":return e.jsx(i.Bar,Object.assign({className:u,style:b},v));case"line":return e.jsx(i.Line,Object.assign({className:u,style:b},v));case"pie":return e.jsx(i.Pie,Object.assign({className:u,style:b},v));case"doughnut":return e.jsx(i.Doughnut,Object.assign({className:u,style:b},v));case"radar":return e.jsx(i.Radar,Object.assign({className:u,style:b},v));case"polarArea":return e.jsx(i.PolarArea,Object.assign({className:u,style:b},v));case"bubble":return e.jsx(i.Bubble,Object.assign({className:u,style:b},v));case"scatter":return e.jsx(i.Scatter,Object.assign({className:u,style:b},v));default:return e.jsx("div",{style:b,children:"Unsupported chart type"})}},Os=function(e,t){var o=parseInt(e.replace("#",""),16),n=Math.round(2.55*t),r=Math.max(0,Math.min(255,(o>>16)+n)),i=Math.max(0,Math.min(255,(o>>8&255)+n)),a=Math.max(0,Math.min(255,(255&o)+n));return"#".concat((16777216+65536*r+256*i+a).toString(16).slice(1))},js=function(e,t){var o=parseInt(e.replace("#",""),16),n=Math.round(2.55*t),r=Math.max(0,Math.min(255,(o>>16)-n)),i=Math.max(0,Math.min(255,(o>>8&255)-n)),a=Math.max(0,Math.min(255,(255&o)-n));return"#".concat((16777216+65536*r+256*i+a).toString(16).slice(1))},Cs=function(e,t){if(t<=0)return[];if(1===t)return[e];for(var o=[],n=100/(t-1),r=0;r<t;r++){var i=r*n;i<=50?o.push(Os(e,50-i)):o.push(js(e,i-50))}return o};const ks={black:"#000",white:"#fff"},Es="#d32f2f",Ps="#42a5f5",Ns="#0288d1",Rs={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Ms(e,...t){const o=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>o.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${o} for the full message.`}var $s="$$material";function Is(){return Is=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Is.apply(null,arguments)}var As=function(){function e(e){var t=this;this._insertTag=function(e){var o;o=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,o),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(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]}(t);try{o.insertRule(e,o.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Bs="-ms-",Ls="-moz-",Ds="-webkit-",zs="comm",Vs="rule",Fs="decl",Ws="@keyframes",_s=Math.abs,Hs=String.fromCharCode,qs=Object.assign;function Us(e){return e.trim()}function Gs(e,t,o){return e.replace(t,o)}function Ks(e,t){return e.indexOf(t)}function Xs(e,t){return 0|e.charCodeAt(t)}function Ys(e,t,o){return e.slice(t,o)}function Zs(e){return e.length}function Js(e){return e.length}function Qs(e,t){return t.push(e),e}var el=1,tl=1,ol=0,nl=0,rl=0,il="";function al(e,t,o,n,r,i,a){return{value:e,root:t,parent:o,type:n,props:r,children:i,line:el,column:tl,length:a,return:""}}function sl(e,t){return qs(al("",null,null,"",null,null,0),e,{length:-e.length},t)}function ll(){return rl=nl>0?Xs(il,--nl):0,tl--,10===rl&&(tl=1,el--),rl}function cl(){return rl=nl<ol?Xs(il,nl++):0,tl++,10===rl&&(tl=1,el++),rl}function pl(){return Xs(il,nl)}function dl(){return nl}function ul(e,t){return Ys(il,e,t)}function fl(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 ml(e){return el=tl=1,ol=Zs(il=e),nl=0,[]}function hl(e){return il="",e}function gl(e){return Us(ul(nl-1,vl(91===e?e+2:40===e?e+1:e)))}function yl(e){for(;(rl=pl())&&rl<33;)cl();return fl(e)>2||fl(rl)>3?"":" "}function bl(e,t){for(;--t&&cl()&&!(rl<48||rl>102||rl>57&&rl<65||rl>70&&rl<97););return ul(e,dl()+(t<6&&32==pl()&&32==cl()))}function vl(e){for(;cl();)switch(rl){case e:return nl;case 34:case 39:34!==e&&39!==e&&vl(rl);break;case 40:41===e&&vl(e);break;case 92:cl()}return nl}function xl(e,t){for(;cl()&&e+rl!==57&&(e+rl!==84||47!==pl()););return"/*"+ul(t,nl-1)+"*"+Hs(47===e?e:cl())}function wl(e){for(;!fl(pl());)cl();return ul(e,nl)}function Sl(e){return hl(Tl("",null,null,null,[""],e=ml(e),0,[0],e))}function Tl(e,t,o,n,r,i,a,s,l){for(var c=0,p=0,d=a,u=0,f=0,m=0,h=1,g=1,y=1,b=0,v="",x=r,w=i,S=n,T=v;g;)switch(m=b,b=cl()){case 40:if(108!=m&&58==Xs(T,d-1)){-1!=Ks(T+=Gs(gl(b),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:T+=gl(b);break;case 9:case 10:case 13:case 32:T+=yl(m);break;case 92:T+=bl(dl()-1,7);continue;case 47:switch(pl()){case 42:case 47:Qs(jl(xl(cl(),dl()),t,o),l);break;default:T+="/"}break;case 123*h:s[c++]=Zs(T)*y;case 125*h:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+p:-1==y&&(T=Gs(T,/\f/g,"")),f>0&&Zs(T)-d&&Qs(f>32?Cl(T+";",n,o,d-1):Cl(Gs(T," ","")+";",n,o,d-2),l);break;case 59:T+=";";default:if(Qs(S=Ol(T,t,o,c,p,r,s,v,x=[],w=[],d),i),123===b)if(0===p)Tl(T,t,S,S,x,i,d,s,w);else switch(99===u&&110===Xs(T,3)?100:u){case 100:case 108:case 109:case 115:Tl(e,S,S,n&&Qs(Ol(e,S,S,0,0,r,s,v,r,x=[],d),w),r,w,d,s,n?x:w);break;default:Tl(T,S,S,S,[""],w,0,s,w)}}c=p=f=0,h=y=1,v=T="",d=a;break;case 58:d=1+Zs(T),f=m;default:if(h<1)if(123==b)--h;else if(125==b&&0==h++&&125==ll())continue;switch(T+=Hs(b),b*h){case 38:y=p>0?1:(T+="\f",-1);break;case 44:s[c++]=(Zs(T)-1)*y,y=1;break;case 64:45===pl()&&(T+=gl(cl())),u=pl(),p=d=Zs(v=T+=wl(dl())),b++;break;case 45:45===m&&2==Zs(T)&&(h=0)}}return i}function Ol(e,t,o,n,r,i,a,s,l,c,p){for(var d=r-1,u=0===r?i:[""],f=Js(u),m=0,h=0,g=0;m<n;++m)for(var y=0,b=Ys(e,d+1,d=_s(h=a[m])),v=e;y<f;++y)(v=Us(h>0?u[y]+" "+b:Gs(b,/&\f/g,u[y])))&&(l[g++]=v);return al(e,t,o,0===r?Vs:s,l,c,p)}function jl(e,t,o){return al(e,t,o,zs,Hs(rl),Ys(e,2,-2),0)}function Cl(e,t,o,n){return al(e,t,o,Fs,Ys(e,0,n),Ys(e,n+1,-1),n)}function kl(e,t){for(var o="",n=Js(e),r=0;r<n;r++)o+=t(e[r],r,e,t)||"";return o}function El(e,t,o,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Fs:return e.return=e.return||e.value;case zs:return"";case Ws:return e.return=e.value+"{"+kl(e.children,n)+"}";case Vs:e.value=e.props.join(",")}return Zs(o=kl(e.children,n))?e.return=e.value+"{"+o+"}":""}function Pl(e){var t=Object.create(null);return function(o){return void 0===t[o]&&(t[o]=e(o)),t[o]}}var Nl=function(e,t,o){for(var n=0,r=0;n=r,r=pl(),38===n&&12===r&&(t[o]=1),!fl(r);)cl();return ul(e,nl)},Rl=new WeakMap,Ml=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,o=e.parent,n=e.column===o.column&&e.line===o.line;"rule"!==o.type;)if(!(o=o.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Rl.get(o))&&!n){Rl.set(e,!0);for(var r=[],i=function(e,t){return hl(function(e,t){var o=-1,n=44;do{switch(fl(n)){case 0:38===n&&12===pl()&&(t[o]=1),e[o]+=Nl(nl-1,t,o);break;case 2:e[o]+=gl(n);break;case 4:if(44===n){e[++o]=58===pl()?"&\f":"",t[o]=e[o].length;break}default:e[o]+=Hs(n)}}while(n=cl());return e}(ml(e),t))}(t,r),a=o.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},$l=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Il(e,t){switch(function(e,t){return 45^Xs(e,0)?(((t<<2^Xs(e,0))<<2^Xs(e,1))<<2^Xs(e,2))<<2^Xs(e,3):0}(e,t)){case 5103:return Ds+"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 Ds+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ds+e+Ls+e+Bs+e+e;case 6828:case 4268:return Ds+e+Bs+e+e;case 6165:return Ds+e+Bs+"flex-"+e+e;case 5187:return Ds+e+Gs(e,/(\w+).+(:[^]+)/,Ds+"box-$1$2"+Bs+"flex-$1$2")+e;case 5443:return Ds+e+Bs+"flex-item-"+Gs(e,/flex-|-self/,"")+e;case 4675:return Ds+e+Bs+"flex-line-pack"+Gs(e,/align-content|flex-|-self/,"")+e;case 5548:return Ds+e+Bs+Gs(e,"shrink","negative")+e;case 5292:return Ds+e+Bs+Gs(e,"basis","preferred-size")+e;case 6060:return Ds+"box-"+Gs(e,"-grow","")+Ds+e+Bs+Gs(e,"grow","positive")+e;case 4554:return Ds+Gs(e,/([^-])(transform)/g,"$1"+Ds+"$2")+e;case 6187:return Gs(Gs(Gs(e,/(zoom-|grab)/,Ds+"$1"),/(image-set)/,Ds+"$1"),e,"")+e;case 5495:case 3959:return Gs(e,/(image-set\([^]*)/,Ds+"$1$`$1");case 4968:return Gs(Gs(e,/(.+:)(flex-)?(.*)/,Ds+"box-pack:$3"+Bs+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ds+e+e;case 4095:case 3583:case 4068:case 2532:return Gs(e,/(.+)-inline(.+)/,Ds+"$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(Zs(e)-1-t>6)switch(Xs(e,t+1)){case 109:if(45!==Xs(e,t+4))break;case 102:return Gs(e,/(.+:)(.+)-([^]+)/,"$1"+Ds+"$2-$3$1"+Ls+(108==Xs(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ks(e,"stretch")?Il(Gs(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Xs(e,t+1))break;case 6444:switch(Xs(e,Zs(e)-3-(~Ks(e,"!important")&&10))){case 107:return Gs(e,":",":"+Ds)+e;case 101:return Gs(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ds+(45===Xs(e,14)?"inline-":"")+"box$3$1"+Ds+"$2$3$1"+Bs+"$2box$3")+e}break;case 5936:switch(Xs(e,t+11)){case 114:return Ds+e+Bs+Gs(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ds+e+Bs+Gs(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ds+e+Bs+Gs(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ds+e+Bs+e+e}return e}var Al=[function(e,t,o,n){if(e.length>-1&&!e.return)switch(e.type){case Fs:e.return=Il(e.value,e.length);break;case Ws:return kl([sl(e,{value:Gs(e.value,"@","@"+Ds)})],n);case Vs:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return kl([sl(e,{props:[Gs(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return kl([sl(e,{props:[Gs(t,/:(plac\w+)/,":"+Ds+"input-$1")]}),sl(e,{props:[Gs(t,/:(plac\w+)/,":-moz-$1")]}),sl(e,{props:[Gs(t,/:(plac\w+)/,Bs+"input-$1")]})],n)}return""})}}],Bl=function(e){var t=e.key;if("css"===t){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var n,r,i=e.stylisPlugins||Al,a={},s=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),o=1;o<t.length;o++)a[t[o]]=!0;s.push(e)});var l,c,p=[El,(c=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],d=function(e){var t=Js(e);return function(o,n,r,i){for(var a="",s=0;s<t;s++)a+=e[s](o,n,r,i)||"";return a}}([Ml,$l].concat(i,p));r=function(e,t,o,n){l=o,function(e){kl(Sl(e),d)}(e?e+"{"+t.styles+"}":t.styles),n&&(u.inserted[t.name]=!0)};var u={key:t,sheet:new As({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return u.sheet.hydrate(s),u},Ll={},Dl={get exports(){return Ll},set exports(e){Ll=e}},zl={},Vl="function"==typeof Symbol&&Symbol.for,Fl=Vl?Symbol.for("react.element"):60103,Wl=Vl?Symbol.for("react.portal"):60106,_l=Vl?Symbol.for("react.fragment"):60107,Hl=Vl?Symbol.for("react.strict_mode"):60108,ql=Vl?Symbol.for("react.profiler"):60114,Ul=Vl?Symbol.for("react.provider"):60109,Gl=Vl?Symbol.for("react.context"):60110,Kl=Vl?Symbol.for("react.async_mode"):60111,Xl=Vl?Symbol.for("react.concurrent_mode"):60111,Yl=Vl?Symbol.for("react.forward_ref"):60112,Zl=Vl?Symbol.for("react.suspense"):60113,Jl=Vl?Symbol.for("react.suspense_list"):60120,Ql=Vl?Symbol.for("react.memo"):60115,ec=Vl?Symbol.for("react.lazy"):60116,tc=Vl?Symbol.for("react.block"):60121,oc=Vl?Symbol.for("react.fundamental"):60117,nc=Vl?Symbol.for("react.responder"):60118,rc=Vl?Symbol.for("react.scope"):60119;function ic(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Fl:switch(e=e.type){case Kl:case Xl:case _l:case ql:case Hl:case Zl:return e;default:switch(e=e&&e.$$typeof){case Gl:case Yl:case ec:case Ql:case Ul:return e;default:return t}}case Wl:return t}}}function ac(e){return ic(e)===Xl}zl.AsyncMode=Kl,zl.ConcurrentMode=Xl,zl.ContextConsumer=Gl,zl.ContextProvider=Ul,zl.Element=Fl,zl.ForwardRef=Yl,zl.Fragment=_l,zl.Lazy=ec,zl.Memo=Ql,zl.Portal=Wl,zl.Profiler=ql,zl.StrictMode=Hl,zl.Suspense=Zl,zl.isAsyncMode=function(e){return ac(e)||ic(e)===Kl},zl.isConcurrentMode=ac,zl.isContextConsumer=function(e){return ic(e)===Gl},zl.isContextProvider=function(e){return ic(e)===Ul},zl.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Fl},zl.isForwardRef=function(e){return ic(e)===Yl},zl.isFragment=function(e){return ic(e)===_l},zl.isLazy=function(e){return ic(e)===ec},zl.isMemo=function(e){return ic(e)===Ql},zl.isPortal=function(e){return ic(e)===Wl},zl.isProfiler=function(e){return ic(e)===ql},zl.isStrictMode=function(e){return ic(e)===Hl},zl.isSuspense=function(e){return ic(e)===Zl},zl.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===_l||e===Xl||e===ql||e===Hl||e===Zl||e===Jl||"object"==typeof e&&null!==e&&(e.$$typeof===ec||e.$$typeof===Ql||e.$$typeof===Ul||e.$$typeof===Gl||e.$$typeof===Yl||e.$$typeof===oc||e.$$typeof===nc||e.$$typeof===rc||e.$$typeof===tc)},zl.typeOf=ic;var sc,lc={};
|
|
4
|
+
/** @license React v16.13.1
|
|
5
|
+
* react-is.development.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case t:var h=e.type;switch(h){case l:case c:case n:case i:case r:case d:return h;default:var g=h&&h.$$typeof;switch(g){case s:case p:case m:case f:case a:return g;default:return u}}case o:return u}}}var x=l,w=c,S=s,T=a,O=t,j=p,C=n,k=m,E=f,P=o,N=i,R=r,M=d,$=!1;function I(e){return v(e)===c}lc.AsyncMode=x,lc.ConcurrentMode=w,lc.ContextConsumer=S,lc.ContextProvider=T,lc.Element=O,lc.ForwardRef=j,lc.Fragment=C,lc.Lazy=k,lc.Memo=E,lc.Portal=P,lc.Profiler=N,lc.StrictMode=R,lc.Suspense=M,lc.isAsyncMode=function(e){return $||($=!0),I(e)||v(e)===l},lc.isConcurrentMode=I,lc.isContextConsumer=function(e){return v(e)===s},lc.isContextProvider=function(e){return v(e)===a},lc.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},lc.isForwardRef=function(e){return v(e)===p},lc.isFragment=function(e){return v(e)===n},lc.isLazy=function(e){return v(e)===m},lc.isMemo=function(e){return v(e)===f},lc.isPortal=function(e){return v(e)===o},lc.isProfiler=function(e){return v(e)===i},lc.isStrictMode=function(e){return v(e)===r},lc.isSuspense=function(e){return v(e)===d},lc.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===r||e===d||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===p||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h)},lc.typeOf=v}(),sc=Dl,"production"===process.env.NODE_ENV?sc.exports=zl:sc.exports=lc;var cc=Ll,pc={};function dc(e,t,o){var n="";return o.split(" ").forEach(function(o){void 0!==e[o]?t.push(e[o]+";"):o&&(n+=o+" ")}),n}pc[cc.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},pc[cc.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var uc=function(e,t,o){var n=e.key+"-"+t.name;!1===o&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},fc=function(e,t,o){uc(e,t,o);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+n:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}},mc={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},hc=/[A-Z]|^ms/g,gc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yc=function(e){return 45===e.charCodeAt(1)},bc=function(e){return null!=e&&"boolean"!=typeof e},vc=Pl(function(e){return yc(e)?e:e.replace(hc,"-$&").toLowerCase()}),xc=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(gc,function(e,t,o){return Sc={name:t,styles:o,next:Sc},t})}return 1===mc[e]||yc(e)||"number"!=typeof t||0===t?t:t+"px"};function wc(e,t,o){if(null==o)return"";var n=o;if(void 0!==n.__emotion_styles)return n;switch(typeof o){case"boolean":return"";case"object":var r=o;if(1===r.anim)return Sc={name:r.name,styles:r.styles,next:Sc},r.name;var i=o;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Sc={name:a.name,styles:a.styles,next:Sc},a=a.next;return i.styles+";"}return function(e,t,o){var n="";if(Array.isArray(o))for(var r=0;r<o.length;r++)n+=wc(e,t,o[r])+";";else for(var i in o){var a=o[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":bc(s)&&(n+=vc(i)+":"+xc(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=wc(e,t,a);switch(i){case"animation":case"animationName":n+=vc(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)bc(a[c])&&(n+=vc(i)+":"+xc(i,a[c])+";")}return n}(e,t,o);case"function":if(void 0!==e){var s=Sc,l=o(e);return Sc=s,wc(e,t,l)}}var c=o;if(null==t)return c;var p=t[c];return void 0!==p?p:c}var Sc,Tc=/label:\s*([^\s;{]+)\s*(;|$)/g;function Oc(e,t,o){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,r="";Sc=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,r+=wc(o,t,i)):r+=i[0];for(var a=1;a<e.length;a++)r+=wc(o,t,e[a]),n&&(r+=i[a]);Tc.lastIndex=0;for(var s,l="";null!==(s=Tc.exec(r));)l+="-"+s[1];var c=function(e){for(var t,o=0,n=0,r=e.length;r>=4;++n,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),o=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&o)+(59797*(o>>>16)<<16);switch(r){case 3:o^=(255&e.charCodeAt(n+2))<<16;case 2:o^=(255&e.charCodeAt(n+1))<<8;case 1:o=1540483477*(65535&(o^=255&e.charCodeAt(n)))+(59797*(o>>>16)<<16)}return(((o=1540483477*(65535&(o^=o>>>13))+(59797*(o>>>16)<<16))^o>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:Sc}}var jc=!!l.useInsertionEffect&&l.useInsertionEffect,Cc=jc||function(e){return e()},kc=jc||l.useLayoutEffect,Ec=l.createContext("undefined"!=typeof HTMLElement?Bl({key:"css"}):null);Ec.Provider;var Pc,Nc,Rc=function(e){return o.forwardRef(function(t,n){var r=o.useContext(Ec);return e(t,r,n)})},Mc=l.createContext({}),$c={}.hasOwnProperty,Ic="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ac=function(e){var t=e.cache,o=e.serialized,n=e.isStringTag;return uc(t,o,n),Cc(function(){return fc(t,o,n)}),null},Bc=Rc(function(e,t,o){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var r=e[Ic],i=[n],a="";"string"==typeof e.className?a=dc(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Oc(i,void 0,l.useContext(Mc));a+=t.key+"-"+s.name;var c={};for(var p in e)$c.call(e,p)&&"css"!==p&&p!==Ic&&(c[p]=e[p]);return c.className=a,o&&(c.ref=o),l.createElement(l.Fragment,null,l.createElement(Ac,{cache:t,serialized:s,isStringTag:"string"==typeof r}),l.createElement(r,c))}),Lc=function(e,t){var o=arguments;if(null==t||!$c.call(t,"css"))return l.createElement.apply(void 0,o);var n=o.length,r=new Array(n);r[0]=Bc,r[1]=function(e,t){var o={};for(var n in t)$c.call(t,n)&&(o[n]=t[n]);return o[Ic]=e,o}(e,t);for(var i=2;i<n;i++)r[i]=o[i];return l.createElement.apply(null,r)};Pc=Lc||(Lc={}),Nc||(Nc=Pc.JSX||(Pc.JSX={}));var Dc=Rc(function(e,t){var o=Oc([e.styles],void 0,l.useContext(Mc)),n=l.useRef();return kc(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),r.hydrate([a])),n.current=[r,i],function(){r.flush()}},[t]),kc(function(){var e=n.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&fc(t,o.next,!0),r.tags.length){var i=r.tags[r.tags.length-1].nextElementSibling;r.before=i,r.flush()}t.insert("",o,r,!1)}},[t,o.name]),null});function zc(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Oc(t)}function Vc(){var e=zc.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 Fc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Wc=Pl(function(e){return Fc.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),_c=function(e){return"theme"!==e},Hc=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Wc:_c},qc=function(e,t,o){var n;if(t){var r=t.shouldForwardProp;n=e.__emotion_forwardProp&&r?function(t){return e.__emotion_forwardProp(t)&&r(t)}:r}return"function"!=typeof n&&o&&(n=e.__emotion_forwardProp),n},Uc=function(e){var t=e.cache,o=e.serialized,n=e.isStringTag;return uc(t,o,n),Cc(function(){return fc(t,o,n)}),null},Gc=function e(t,o){var n,r,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==o&&(n=o.label,r=o.target);var s=qc(t,o,i),c=s||Hc(a),p=!c("as");return function(){var d=arguments,u=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&u.push("label:"+n+";"),null==d[0]||void 0===d[0].raw)u.push.apply(u,d);else{var f=d[0];u.push(f[0]);for(var m=d.length,h=1;h<m;h++)u.push(d[h],f[h])}var g=Rc(function(e,t,o){var n=p&&e.as||a,i="",d=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=l.useContext(Mc)}"string"==typeof e.className?i=dc(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var h=Oc(u.concat(d),t.registered,f);i+=t.key+"-"+h.name,void 0!==r&&(i+=" "+r);var g=p&&void 0===s?Hc(n):c,y={};for(var b in e)p&&"as"===b||g(b)&&(y[b]=e[b]);return y.className=i,o&&(y.ref=o),l.createElement(l.Fragment,null,l.createElement(Uc,{cache:t,serialized:h,isStringTag:"string"==typeof n}),l.createElement(n,y))});return g.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=u,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+r}}),g.withComponent=function(t,n){return e(t,Is({},o,n,{shouldForwardProp:qc(g,n,!0)})).apply(void 0,u)},g}}.bind(null);["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"].forEach(function(e){Gc[e]=Gc(e)});var Kc={},Xc={get exports(){return Kc},set exports(e){Kc=e}},Yc={},Zc={get exports(){return Yc},set exports(e){Yc=e}},Jc={},Qc="function"==typeof Symbol&&Symbol.for,ep=Qc?Symbol.for("react.element"):60103,tp=Qc?Symbol.for("react.portal"):60106,op=Qc?Symbol.for("react.fragment"):60107,np=Qc?Symbol.for("react.strict_mode"):60108,rp=Qc?Symbol.for("react.profiler"):60114,ip=Qc?Symbol.for("react.provider"):60109,ap=Qc?Symbol.for("react.context"):60110,sp=Qc?Symbol.for("react.async_mode"):60111,lp=Qc?Symbol.for("react.concurrent_mode"):60111,cp=Qc?Symbol.for("react.forward_ref"):60112,pp=Qc?Symbol.for("react.suspense"):60113,dp=Qc?Symbol.for("react.suspense_list"):60120,up=Qc?Symbol.for("react.memo"):60115,fp=Qc?Symbol.for("react.lazy"):60116,mp=Qc?Symbol.for("react.block"):60121,hp=Qc?Symbol.for("react.fundamental"):60117,gp=Qc?Symbol.for("react.responder"):60118,yp=Qc?Symbol.for("react.scope"):60119;function bp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ep:switch(e=e.type){case sp:case lp:case op:case rp:case np:case pp:return e;default:switch(e=e&&e.$$typeof){case ap:case cp:case fp:case up:case ip:return e;default:return t}}case tp:return t}}}function vp(e){return bp(e)===lp}Jc.AsyncMode=sp,Jc.ConcurrentMode=lp,Jc.ContextConsumer=ap,Jc.ContextProvider=ip,Jc.Element=ep,Jc.ForwardRef=cp,Jc.Fragment=op,Jc.Lazy=fp,Jc.Memo=up,Jc.Portal=tp,Jc.Profiler=rp,Jc.StrictMode=np,Jc.Suspense=pp,Jc.isAsyncMode=function(e){return vp(e)||bp(e)===sp},Jc.isConcurrentMode=vp,Jc.isContextConsumer=function(e){return bp(e)===ap},Jc.isContextProvider=function(e){return bp(e)===ip},Jc.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ep},Jc.isForwardRef=function(e){return bp(e)===cp},Jc.isFragment=function(e){return bp(e)===op},Jc.isLazy=function(e){return bp(e)===fp},Jc.isMemo=function(e){return bp(e)===up},Jc.isPortal=function(e){return bp(e)===tp},Jc.isProfiler=function(e){return bp(e)===rp},Jc.isStrictMode=function(e){return bp(e)===np},Jc.isSuspense=function(e){return bp(e)===pp},Jc.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===op||e===lp||e===rp||e===np||e===pp||e===dp||"object"==typeof e&&null!==e&&(e.$$typeof===fp||e.$$typeof===up||e.$$typeof===ip||e.$$typeof===ap||e.$$typeof===cp||e.$$typeof===hp||e.$$typeof===gp||e.$$typeof===yp||e.$$typeof===mp)},Jc.typeOf=bp;var xp={};
|
|
12
|
+
/** @license React v16.13.1
|
|
13
|
+
* react-is.development.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case t:var h=e.type;switch(h){case l:case c:case n:case i:case r:case d:return h;default:var g=h&&h.$$typeof;switch(g){case s:case p:case m:case f:case a:return g;default:return u}}case o:return u}}}var x=l,w=c,S=s,T=a,O=t,j=p,C=n,k=m,E=f,P=o,N=i,R=r,M=d,$=!1;function I(e){return v(e)===c}xp.AsyncMode=x,xp.ConcurrentMode=w,xp.ContextConsumer=S,xp.ContextProvider=T,xp.Element=O,xp.ForwardRef=j,xp.Fragment=C,xp.Lazy=k,xp.Memo=E,xp.Portal=P,xp.Profiler=N,xp.StrictMode=R,xp.Suspense=M,xp.isAsyncMode=function(e){return $||($=!0),I(e)||v(e)===l},xp.isConcurrentMode=I,xp.isContextConsumer=function(e){return v(e)===s},xp.isContextProvider=function(e){return v(e)===a},xp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},xp.isForwardRef=function(e){return v(e)===p},xp.isFragment=function(e){return v(e)===n},xp.isLazy=function(e){return v(e)===m},xp.isMemo=function(e){return v(e)===f},xp.isPortal=function(e){return v(e)===o},xp.isProfiler=function(e){return v(e)===i},xp.isStrictMode=function(e){return v(e)===r},xp.isSuspense=function(e){return v(e)===d},xp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===r||e===d||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===p||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h)},xp.typeOf=v}(),function(e){"production"===process.env.NODE_ENV?e.exports=Jc:e.exports=xp}(Zc);
|
|
20
|
+
/*
|
|
21
|
+
object-assign
|
|
22
|
+
(c) Sindre Sorhus
|
|
23
|
+
@license MIT
|
|
24
|
+
*/
|
|
25
|
+
var wp=Object.getOwnPropertySymbols,Sp=Object.prototype.hasOwnProperty,Tp=Object.prototype.propertyIsEnumerable,Op=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;var n=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==n.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var o,n,r=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var a in o=Object(arguments[i]))Sp.call(o,a)&&(r[a]=o[a]);if(wp){n=wp(o);for(var s=0;s<n.length;s++)Tp.call(o,n[s])&&(r[n[s]]=o[n[s]])}}return r},jp="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Cp=Function.call.bind(Object.prototype.hasOwnProperty),kp=function(){};if("production"!==process.env.NODE_ENV){var Ep=jp,Pp={},Np=Cp;kp=function(e){var t="Warning: "+e;try{throw new Error(t)}catch(e){}}}function Rp(e,t,o,n,r){if("production"!==process.env.NODE_ENV)for(var i in e)if(Np(e,i)){var a;try{if("function"!=typeof e[i]){var s=Error((n||"React class")+": "+o+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[i](t,i,n,o,null,Ep)}catch(e){a=e}if(!a||a instanceof Error||kp((n||"React class")+": type specification of "+o+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in Pp)){Pp[a.message]=!0;var l=r?r():"";kp("Failed "+o+" type: "+a.message+(null!=l?l:""))}}}Rp.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Pp={})};var Mp=Yc,$p=Op,Ip=jp,Ap=Cp,Bp=Rp,Lp=function(){};function Dp(){return null}"production"!==process.env.NODE_ENV&&(Lp=function(e){var t="Warning: "+e;try{throw new Error(t)}catch(e){}});var zp=jp;function Vp(){}function Fp(){}if(Fp.resetWarningCache=Vp,"production"!==process.env.NODE_ENV){var Wp=Yc;Xc.exports=function(e){var t="function"==typeof Symbol&&Symbol.iterator,o="<<anonymous>>",n={array:s("array"),bigint:s("bigint"),bool:s("boolean"),func:s("function"),number:s("number"),object:s("object"),string:s("string"),symbol:s("symbol"),any:a(Dp),arrayOf:function(e){return a(function(t,o,n,r,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var s=t[o];if(!Array.isArray(s))return new i("Invalid "+r+" `"+a+"` of type `"+p(s)+"` supplied to `"+n+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,n,r,a+"["+l+"]",Ip);if(c instanceof Error)return c}return null})},element:a(function(t,o,n,r,a){var s=t[o];return e(s)?null:new i("Invalid "+r+" `"+a+"` of type `"+p(s)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:a(function(e,t,o,n,r){var a=e[t];return Mp.isValidElementType(a)?null:new i("Invalid "+n+" `"+r+"` of type `"+p(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")}),instanceOf:function(e){return a(function(t,n,r,a,s){if(!(t[n]instanceof e)){var l=e.name||o;return new i("Invalid "+a+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:o)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var c;return null})},node:a(function(e,t,o,n,r){return c(e[t])?null:new i("Invalid "+n+" `"+r+"` supplied to `"+o+"`, expected a ReactNode.")}),objectOf:function(e){return a(function(t,o,n,r,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var s=t[o],l=p(s);if("object"!==l)return new i("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+n+"`, expected an object.");for(var c in s)if(Ap(s,c)){var d=e(s,c,n,r,a+"."+c,Ip);if(d instanceof Error)return d}return null})},oneOf:function(e){return Array.isArray(e)?a(function(t,o,n,a,s){for(var l=t[o],c=0;c<e.length;c++)if(r(l,e[c]))return null;var p=JSON.stringify(e,function(e,t){return"symbol"===d(t)?String(t):t});return new i("Invalid "+a+" `"+s+"` of value `"+String(l)+"` supplied to `"+n+"`, expected one of "+p+".")}):("production"!==process.env.NODE_ENV&&Lp(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),Dp)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Lp("Invalid argument supplied to oneOfType, expected an instance of array."),Dp;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return Lp("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+u(o)+" at index "+t+"."),Dp}return a(function(t,o,n,r,a){for(var s=[],l=0;l<e.length;l++){var c=(0,e[l])(t,o,n,r,a,Ip);if(null==c)return null;c.data&&Ap(c.data,"expectedType")&&s.push(c.data.expectedType)}return new i("Invalid "+r+" `"+a+"` supplied to `"+n+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")})},shape:function(e){return a(function(t,o,n,r,a){var s=t[o],c=p(s);if("object"!==c)return new i("Invalid "+r+" `"+a+"` of type `"+c+"` supplied to `"+n+"`, expected `object`.");for(var u in e){var f=e[u];if("function"!=typeof f)return l(n,r,a,u,d(f));var m=f(s,u,n,r,a+"."+u,Ip);if(m)return m}return null})},exact:function(e){return a(function(t,o,n,r,a){var s=t[o],c=p(s);if("object"!==c)return new i("Invalid "+r+" `"+a+"` of type `"+c+"` supplied to `"+n+"`, expected `object`.");var u=$p({},t[o],e);for(var f in u){var m=e[f];if(Ap(e,f)&&"function"!=typeof m)return l(n,r,a,f,d(m));if(!m)return new i("Invalid "+r+" `"+a+"` key `"+f+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=m(s,f,n,r,a+"."+f,Ip);if(h)return h}return null})}};function r(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function i(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function a(e){if("production"!==process.env.NODE_ENV);function t(t,n,r,a,s,l,c){if(a=a||o,l=l||r,c!==Ip){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}return null==n[r]?t?null===n[r]?new i("The "+s+" `"+l+"` is marked as required in `"+a+"`, but its value is `null`."):new i("The "+s+" `"+l+"` is marked as required in `"+a+"`, but its value is `undefined`."):null:e(n,r,a,s,l)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function s(e){return a(function(t,o,n,r,a,s){var l=t[o];return p(l)!==e?new i("Invalid "+r+" `"+a+"` of type `"+d(l)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null})}function l(e,t,o,n,r){return new i((e||"React class")+": "+t+" type `"+o+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function c(o){switch(typeof o){case"number":case"string":case"undefined":return!0;case"boolean":return!o;case"object":if(Array.isArray(o))return o.every(c);if(null===o||e(o))return!0;var n=function(e){var o=e&&(t&&e[t]||e["@@iterator"]);if("function"==typeof o)return o}(o);if(!n)return!1;var r,i=n.call(o);if(n!==o.entries){for(;!(r=i.next()).done;)if(!c(r.value))return!1}else for(;!(r=i.next()).done;){var a=r.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function p(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function d(e){if(null==e)return""+e;var t=p(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function u(e){var t=d(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return i.prototype=Error.prototype,n.checkPropTypes=Bp,n.resetWarningCache=Bp.resetWarningCache,n.PropTypes=n,n}(Wp.isElement)}else Xc.exports=function(){function e(e,t,o,n,r,i){if(i!==zp){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Fp,resetWarningCache:Vp};return o.PropTypes=o,o}();let _p;if("object"==typeof document&&(_p=document.querySelector('[name="emotion-insertion-point"]'),!_p)){_p=document.createElement("meta"),_p.setAttribute("name","emotion-insertion-point"),_p.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(_p)}function Hp(t){const{styles:o,defaultTheme:n={}}=t,r="function"==typeof o?e=>{return o(null==(t=e)||0===Object.keys(t).length?n:e);var t}:o;return e.jsx(Dc,{styles:r})}
|
|
26
|
+
/**
|
|
27
|
+
* @mui/styled-engine v7.3.7
|
|
28
|
+
*
|
|
29
|
+
* @license MIT
|
|
30
|
+
* This source code is licensed under the MIT license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/
|
|
33
|
+
function qp(e,t){const o=Gc(e,t);return"production"!==process.env.NODE_ENV?(...e)=>(0===e.length||e.some(e=>void 0===e),o(...e)):o}"production"!==process.env.NODE_ENV&&(Kc.node,Kc.bool,Kc.bool),"production"!==process.env.NODE_ENV&&(Hp.propTypes={defaultTheme:Kc.object,styles:Kc.oneOfType([Kc.array,Kc.string,Kc.object,Kc.func])});const Up=[];function Gp(e){return Up[0]=e,Oc(Up)}var Kp={},Xp={get exports(){return Kp},set exports(e){Kp=e}},Yp={},Zp=Symbol.for("react.transitional.element"),Jp=Symbol.for("react.portal"),Qp=Symbol.for("react.fragment"),ed=Symbol.for("react.strict_mode"),td=Symbol.for("react.profiler"),od=Symbol.for("react.consumer"),nd=Symbol.for("react.context"),rd=Symbol.for("react.forward_ref"),id=Symbol.for("react.suspense"),ad=Symbol.for("react.suspense_list"),sd=Symbol.for("react.memo"),ld=Symbol.for("react.lazy"),cd=Symbol.for("react.view_transition"),pd=Symbol.for("react.client.reference");function dd(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Zp:switch(e=e.type){case Qp:case td:case ed:case id:case ad:case cd:return e;default:switch(e=e&&e.$$typeof){case nd:case rd:case ld:case sd:case od:return e;default:return t}}case Jp:return t}}}Yp.ContextConsumer=od,Yp.ContextProvider=nd,Yp.Element=Zp,Yp.ForwardRef=rd,Yp.Fragment=Qp,Yp.Lazy=ld,Yp.Memo=sd,Yp.Portal=Jp,Yp.Profiler=td,Yp.StrictMode=ed,Yp.Suspense=id,Yp.SuspenseList=ad,Yp.isContextConsumer=function(e){return dd(e)===od},Yp.isContextProvider=function(e){return dd(e)===nd},Yp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Zp},Yp.isForwardRef=function(e){return dd(e)===rd},Yp.isFragment=function(e){return dd(e)===Qp},Yp.isLazy=function(e){return dd(e)===ld},Yp.isMemo=function(e){return dd(e)===sd},Yp.isPortal=function(e){return dd(e)===Jp},Yp.isProfiler=function(e){return dd(e)===td},Yp.isStrictMode=function(e){return dd(e)===ed},Yp.isSuspense=function(e){return dd(e)===id},Yp.isSuspenseList=function(e){return dd(e)===ad},Yp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Qp||e===td||e===ed||e===id||e===ad||"object"==typeof e&&null!==e&&(e.$$typeof===ld||e.$$typeof===sd||e.$$typeof===nd||e.$$typeof===od||e.$$typeof===rd||e.$$typeof===pd||void 0!==e.getModuleId)},Yp.typeOf=dd;var ud={};
|
|
34
|
+
/**
|
|
35
|
+
* @license React
|
|
36
|
+
* react-is.development.js
|
|
37
|
+
*
|
|
38
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/function fd(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function md(e){if(l.isValidElement(e)||Kp.isValidElementType(e)||!fd(e))return e;const t={};return Object.keys(e).forEach(o=>{t[o]=md(e[o])}),t}function hd(e,t,o={clone:!0}){const n=o.clone?{...e}:e;return fd(e)&&fd(t)&&Object.keys(t).forEach(r=>{l.isValidElement(t[r])||Kp.isValidElementType(t[r])?n[r]=t[r]:fd(t[r])&&Object.prototype.hasOwnProperty.call(e,r)&&fd(e[r])?n[r]=hd(e[r],t[r],o):o.clone?n[r]=fd(t[r])?md(t[r]):t[r]:n[r]=t[r]}),n}function gd(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:n=5,...r}=e,i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${o})`}function c(e,r){const i=a.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:r)-n/100}${o})`}return{keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:o,...r}}function yd(e,t){if(!e.containerQueries)return t;const o=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const o=/min-width:\s*([0-9.]+)/;return+(e.match(o)?.[1]||0)-+(t.match(o)?.[1]||0)});return o.length?o.reduce((e,o)=>{const n=t[o];return delete e[o],e[o]=n,e},{...t}):t}"production"!==process.env.NODE_ENV&&function(){function e(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case n:case i:case r:case c:case p:case f:return e;default:switch(e=e&&e.$$typeof){case s:case l:case u:case d:case a:return e;default:return m}}case o:return m}}}var t=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");ud.ContextConsumer=a,ud.ContextProvider=s,ud.Element=t,ud.ForwardRef=l,ud.Fragment=n,ud.Lazy=u,ud.Memo=d,ud.Portal=o,ud.Profiler=i,ud.StrictMode=r,ud.Suspense=c,ud.SuspenseList=p,ud.isContextConsumer=function(t){return e(t)===a},ud.isContextProvider=function(t){return e(t)===s},ud.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ud.isForwardRef=function(t){return e(t)===l},ud.isFragment=function(t){return e(t)===n},ud.isLazy=function(t){return e(t)===u},ud.isMemo=function(t){return e(t)===d},ud.isPortal=function(t){return e(t)===o},ud.isProfiler=function(t){return e(t)===i},ud.isStrictMode=function(t){return e(t)===r},ud.isSuspense=function(t){return e(t)===c},ud.isSuspenseList=function(t){return e(t)===p},ud.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===r||e===c||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===u||e.$$typeof===d||e.$$typeof===s||e.$$typeof===a||e.$$typeof===l||e.$$typeof===m||void 0!==e.getModuleId)},ud.typeOf=e}(),function(e){"production"===process.env.NODE_ENV?e.exports=Yp:e.exports=ud}(Xp);const bd={borderRadius:4},vd="production"!==process.env.NODE_ENV?Kc.oneOfType([Kc.number,Kc.string,Kc.object,Kc.array]):{};function xd(e,t){return t?hd(e,t,{clone:!1}):e}const wd={xs:0,sm:600,md:900,lg:1200,xl:1536},Sd={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wd[e]}px)`},Td={containerQueries:e=>({up:t=>{let o="number"==typeof t?t:wd[t]||t;return"number"==typeof o&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function Od(e,t,o){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Sd;return t.reduce((n,r,i)=>(n[e.up(e.keys[i])]=o(t[i]),n),{})}if("object"==typeof t){const e=n.breakpoints||Sd;return Object.keys(t).reduce((r,i)=>{if(a=e.keys,"@"===(s=i)||s.startsWith("@")&&(a.some(e=>s.startsWith(`@${e}`))||s.match(/^@\d/))){const e=function(e,t){const o=t.match(/^@([^/]+)?\/?(.+)?$/);if(!o){if("production"!==process.env.NODE_ENV)throw new Error("production"!==process.env.NODE_ENV?`MUI: The provided shorthand (${t}) is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ms(18,`(${t})`));return null}const[,n,r]=o,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(r).up(i)}(n.containerQueries?n:Td,i);e&&(r[e]=o(t[i],i))}else if(Object.keys(e.values||wd).includes(i))r[e.up(i)]=o(t[i],i);else{const e=i;r[e]=t[e]}var a,s;return r},{})}return o(t)}function jd(e={}){const t=e.keys?.reduce((t,o)=>(t[e.up(o)]={},t),{});return t||{}}function Cd(e,t){return e.reduce((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e},t)}function kd({values:e,breakpoints:t,base:o}){const n=o||function(e,t){if("object"!=typeof e)return{};const o={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(o[t]=!0)}):n.forEach(t=>{null!=e[t]&&(o[t]=!0)}),o}(e,t),r=Object.keys(n);if(0===r.length)return e;let i;return r.reduce((t,o,n)=>(Array.isArray(e)?(t[o]=null!=e[n]?e[n]:e[i],i=n):"object"==typeof e?(t[o]=null!=e[o]?e[o]:e[i],i=o):t[o]=e,t),{})}function Ed(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Ms(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pd(e,t,o=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&o){const o=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=o)return o}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function Nd(e,t,o,n=o){let r;return r="function"==typeof e?e(o):Array.isArray(e)?e[o]||n:Pd(e,o)||n,t&&(r=t(r,n,e)),r}function Rd(e){const{prop:t,cssProperty:o=e.prop,themeKey:n,transform:r}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Pd(e.theme,n)||{};return Od(e,i,e=>{let n=Nd(a,r,e);return e===n&&"string"==typeof e&&(n=Nd(a,r,`${t}${"default"===e?"":Ed(e)}`,e)),!1===o?n:{[o]:n}})};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:vd}:{},i.filterProps=[t],i}const Md={m:"margin",p:"padding"},$d={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Id={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ad=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!Id[e])return[e];e=Id[e]}const[t,o]=e.split(""),n=Md[t],r=$d[o]||"";return Array.isArray(r)?r.map(e=>n+e):[n+r]})(t)),e[t])}(),Bd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ld=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Dd=[...Bd,...Ld];function zd(e,t,o,n){const r=Pd(e,t,!0)??o;return"number"==typeof r||"string"==typeof r?e=>"string"==typeof e?e:(process.env.NODE_ENV,"string"==typeof r?r.startsWith("var(")&&0===e?0:r.startsWith("var(")&&1===e?r:`calc(${e} * ${r})`:r*e):Array.isArray(r)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);"production"!==process.env.NODE_ENV&&Number.isInteger(t)&&r.length;const o=r[t];return e>=0?o:"number"==typeof o?-o:"string"==typeof o&&o.startsWith("var(")?`calc(-1 * ${o})`:`-${o}`}:"function"==typeof r?r:(process.env.NODE_ENV,()=>{})}function Vd(e){return zd(e,"spacing",8)}function Fd(e,t){return"string"==typeof t||null==t?t:e(t)}function Wd(e,t){const o=Vd(e.theme);return Object.keys(e).map(n=>function(e,t,o,n){if(!t.includes(o))return null;const r=function(e,t){return o=>e.reduce((e,n)=>(e[n]=Fd(t,o),e),{})}(Ad(o),n);return Od(e,e[o],r)}(e,t,n,o)).reduce(xd,{})}function _d(e){return Wd(e,Bd)}function Hd(e){return Wd(e,Ld)}function qd(e){return Wd(e,Dd)}function Ud(e=8,t=Vd({spacing:e})){if(e.mui)return e;const o=(...e)=>("production"!==process.env.NODE_ENV&&e.length,(0===e.length?[1]:e).map(e=>{const o=t(e);return"number"==typeof o?`${o}px`:o}).join(" "));return o.mui=!0,o}function Gd(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(o=>{e[o]=t}),e),{}),o=e=>Object.keys(e).reduce((o,n)=>t[n]?xd(o,t[n](e)):o,{});return o.propTypes="production"!==process.env.NODE_ENV?e.reduce((e,t)=>Object.assign(e,t.propTypes),{}):{},o.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),o}function Kd(e){return"number"!=typeof e?e:`${e}px solid`}function Xd(e,t){return Rd({prop:e,themeKey:"borders",transform:t})}_d.propTypes="production"!==process.env.NODE_ENV?Bd.reduce((e,t)=>(e[t]=vd,e),{}):{},_d.filterProps=Bd,Hd.propTypes="production"!==process.env.NODE_ENV?Ld.reduce((e,t)=>(e[t]=vd,e),{}):{},Hd.filterProps=Ld,qd.propTypes="production"!==process.env.NODE_ENV?Dd.reduce((e,t)=>(e[t]=vd,e),{}):{},qd.filterProps=Dd;const Yd=Xd("border",Kd),Zd=Xd("borderTop",Kd),Jd=Xd("borderRight",Kd),Qd=Xd("borderBottom",Kd),eu=Xd("borderLeft",Kd),tu=Xd("borderColor"),ou=Xd("borderTopColor"),nu=Xd("borderRightColor"),ru=Xd("borderBottomColor"),iu=Xd("borderLeftColor"),au=Xd("outline",Kd),su=Xd("outlineColor"),lu=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=zd(e.theme,"shape.borderRadius",4),o=e=>({borderRadius:Fd(t,e)});return Od(e,e.borderRadius,o)}return null};lu.propTypes="production"!==process.env.NODE_ENV?{borderRadius:vd}:{},lu.filterProps=["borderRadius"];const cu=Gd(Yd,Zd,Jd,Qd,eu,tu,ou,nu,ru,iu,lu,au,su),pu=e=>{if(void 0!==e.gap&&null!==e.gap){const t=zd(e.theme,"spacing",8),o=e=>({gap:Fd(t,e)});return Od(e,e.gap,o)}return null};pu.propTypes="production"!==process.env.NODE_ENV?{gap:vd}:{},pu.filterProps=["gap"];const du=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=zd(e.theme,"spacing",8),o=e=>({columnGap:Fd(t,e)});return Od(e,e.columnGap,o)}return null};du.propTypes="production"!==process.env.NODE_ENV?{columnGap:vd}:{},du.filterProps=["columnGap"];const uu=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=zd(e.theme,"spacing",8),o=e=>({rowGap:Fd(t,e)});return Od(e,e.rowGap,o)}return null};uu.propTypes="production"!==process.env.NODE_ENV?{rowGap:vd}:{},uu.filterProps=["rowGap"];const fu=Gd(pu,du,uu,Rd({prop:"gridColumn"}),Rd({prop:"gridRow"}),Rd({prop:"gridAutoFlow"}),Rd({prop:"gridAutoColumns"}),Rd({prop:"gridAutoRows"}),Rd({prop:"gridTemplateColumns"}),Rd({prop:"gridTemplateRows"}),Rd({prop:"gridTemplateAreas"}),Rd({prop:"gridArea"}));function mu(e,t){return"grey"===t?t:e}const hu=Gd(Rd({prop:"color",themeKey:"palette",transform:mu}),Rd({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mu}),Rd({prop:"backgroundColor",themeKey:"palette",transform:mu}));function gu(e){return e<=1&&0!==e?100*e+"%":e}const yu=Rd({prop:"width",transform:gu}),bu=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const o=e.theme?.breakpoints?.values?.[t]||wd[t];return o?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:gu(t)}};return Od(e,e.maxWidth,t)}return null};bu.filterProps=["maxWidth"];const vu=Rd({prop:"minWidth",transform:gu}),xu=Rd({prop:"height",transform:gu}),wu=Rd({prop:"maxHeight",transform:gu}),Su=Rd({prop:"minHeight",transform:gu});Rd({prop:"size",cssProperty:"width",transform:gu}),Rd({prop:"size",cssProperty:"height",transform:gu});const Tu=Gd(yu,bu,vu,xu,wu,Su,Rd({prop:"boxSizing"})),Ou={border:{themeKey:"borders",transform:Kd},borderTop:{themeKey:"borders",transform:Kd},borderRight:{themeKey:"borders",transform:Kd},borderBottom:{themeKey:"borders",transform:Kd},borderLeft:{themeKey:"borders",transform:Kd},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Kd},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:lu},color:{themeKey:"palette",transform:mu},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mu},backgroundColor:{themeKey:"palette",transform:mu},p:{style:Hd},pt:{style:Hd},pr:{style:Hd},pb:{style:Hd},pl:{style:Hd},px:{style:Hd},py:{style:Hd},padding:{style:Hd},paddingTop:{style:Hd},paddingRight:{style:Hd},paddingBottom:{style:Hd},paddingLeft:{style:Hd},paddingX:{style:Hd},paddingY:{style:Hd},paddingInline:{style:Hd},paddingInlineStart:{style:Hd},paddingInlineEnd:{style:Hd},paddingBlock:{style:Hd},paddingBlockStart:{style:Hd},paddingBlockEnd:{style:Hd},m:{style:_d},mt:{style:_d},mr:{style:_d},mb:{style:_d},ml:{style:_d},mx:{style:_d},my:{style:_d},margin:{style:_d},marginTop:{style:_d},marginRight:{style:_d},marginBottom:{style:_d},marginLeft:{style:_d},marginX:{style:_d},marginY:{style:_d},marginInline:{style:_d},marginInlineStart:{style:_d},marginInlineEnd:{style:_d},marginBlock:{style:_d},marginBlockStart:{style:_d},marginBlockEnd:{style:_d},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:pu},rowGap:{style:uu},columnGap:{style:du},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:gu},maxWidth:{style:bu},minWidth:{transform:gu},height:{transform:gu},maxHeight:{transform:gu},minHeight:{transform:gu},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"}},ju=function(){function e(e,t,o,n){const r={[e]:t,theme:o},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const p=Pd(o,s)||{};return c?c(r):Od(r,t,t=>{let o=Nd(p,l,t);return t===o&&"string"==typeof t&&(o=Nd(p,l,`${e}${"default"===t?"":Ed(t)}`,t)),!1===a?o:{[a]:o}})}return function t(o){const{sx:n,theme:r={},nested:i}=o||{};if(!n)return null;const a=r.unstable_sxConfig??Ou;function s(o){let n=o;if("function"==typeof o)n=o(r);else if("object"!=typeof o)return o;if(!n)return null;const s=jd(r.breakpoints),l=Object.keys(s);let c=s;return Object.keys(n).forEach(o=>{const i=function(e,t){return"function"==typeof e?e(t):e}(n[o],r);if(null!=i)if("object"==typeof i)if(a[o])c=xd(c,e(o,i,r,a));else{const e=Od({theme:r},i,e=>({[o]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),o=new Set(t);return e.every(e=>o.size===Object.keys(e).length)}(e,i)?c=xd(c,e):c[o]=t({sx:i,theme:r,nested:!0})}else c=xd(c,e(o,i,r,a))}),!i&&r.modularCssLayers?{"@layer sx":yd(r,Cd(l,c))}:yd(r,Cd(l,c))}return Array.isArray(n)?n.map(s):s(n)}}();function Cu(e,t){const o=this;if(o.vars){if(!o.colorSchemes?.[e]||"function"!=typeof o.getColorSchemeSelector)return{};let n=o.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return o.palette.mode===e?t:{}}function ku(e={},...t){const{breakpoints:o={},palette:n={},spacing:r,shape:i={},...a}=e;let s=hd({breakpoints:gd(o),direction:"ltr",components:{},palette:{mode:"light",...n},spacing:Ud(r),shape:{...bd,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function o(o,n){o.up=(...o)=>t(e.breakpoints.up(...o),n),o.down=(...o)=>t(e.breakpoints.down(...o),n),o.between=(...o)=>t(e.breakpoints.between(...o),n),o.only=(...o)=>t(e.breakpoints.only(...o),n),o.not=(...o)=>{const r=t(e.breakpoints.not(...o),n);return r.includes("not all and")?r.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):r}}const n={},r=e=>(o(n,e),n);return o(r),{...e,containerQueries:r}}(s),s.applyStyles=Cu,s=t.reduce((e,t)=>hd(e,t),s),s.unstable_sxConfig={...Ou,...a?.unstable_sxConfig},s.unstable_sx=function(e){return ju({sx:e,theme:this})},s}function Eu(e=null){const t=l.useContext(Mc);return t&&(o=t,0!==Object.keys(o).length)?t:e;var o}ju.filterProps=["sx"];const Pu=ku();function Nu(e=Pu){return Eu(e)}function Ru(e){const t=Gp(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Mu({styles:t,themeId:o,defaultTheme:n={}}){const r=Nu(n),i=o&&r[o]||r;let a="function"==typeof t?t(i):t;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Ru("function"==typeof e?e(i):e)):Ru(a)),e.jsx(Hp,{styles:a})}"production"!==process.env.NODE_ENV&&(Mu.propTypes={defaultTheme:Kc.object,styles:Kc.oneOfType([Kc.array,Kc.func,Kc.number,Kc.object,Kc.string,Kc.bool]),themeId:Kc.string});var $u=Gd(Rd({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),Rd({prop:"display"}),Rd({prop:"overflow"}),Rd({prop:"textOverflow"}),Rd({prop:"visibility"}),Rd({prop:"whiteSpace"}));const Iu=Gd(Rd({prop:"flexBasis"}),Rd({prop:"flexDirection"}),Rd({prop:"flexWrap"}),Rd({prop:"justifyContent"}),Rd({prop:"alignItems"}),Rd({prop:"alignContent"}),Rd({prop:"order"}),Rd({prop:"flex"}),Rd({prop:"flexGrow"}),Rd({prop:"flexShrink"}),Rd({prop:"alignSelf"}),Rd({prop:"justifyItems"}),Rd({prop:"justifySelf"}));var Au=Gd(Rd({prop:"position"}),Rd({prop:"zIndex",themeKey:"zIndex"}),Rd({prop:"top"}),Rd({prop:"right"}),Rd({prop:"bottom"}),Rd({prop:"left"}));const Bu=Rd({prop:"boxShadow",themeKey:"shadows"}),Lu=Rd({prop:"fontFamily",themeKey:"typography"}),Du=Rd({prop:"fontSize",themeKey:"typography"}),zu=Rd({prop:"fontStyle",themeKey:"typography"}),Vu=Rd({prop:"fontWeight",themeKey:"typography"}),Fu=Rd({prop:"letterSpacing"}),Wu=Rd({prop:"textTransform"}),_u=Rd({prop:"lineHeight"}),Hu=Rd({prop:"textAlign"}),qu=Gd(Rd({prop:"typography",cssProperty:!1,themeKey:"typography"}),Lu,Du,zu,Vu,Fu,_u,Hu,Wu);function Uu(e){const{sx:t,...o}=e,{systemProps:n,otherProps:r}=(e=>{const t={systemProps:{},otherProps:{}},o=e?.theme?.unstable_sxConfig??Ou;return Object.keys(e).forEach(n=>{o[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t})(o);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const o=t(...e);return fd(o)?{...n,...o}:n}:{...n,...t},{...r,sx:i}}const Gu={borders:cu.filterProps,display:$u.filterProps,flexbox:Iu.filterProps,grid:fu.filterProps,positions:Au.filterProps,palette:hu.filterProps,shadows:Bu.filterProps,sizing:Tu.filterProps,spacing:qd.filterProps,typography:qu.filterProps},Ku={borders:cu,display:$u,flexbox:Iu,grid:fu,positions:Au,palette:hu,shadows:Bu,sizing:Tu,spacing:qd,typography:qu};Object.keys(Gu).reduce((e,t)=>(Gu[t].forEach(o=>{e[o]=Ku[t]}),e),{});const Xu=e=>e,Yu=(()=>{let e=Xu;return{configure(t){e=t},generate:t=>e(t),reset(){e=Xu}}})();function Zu(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(o=Zu(e[t]))&&(n&&(n+=" "),n+=o)}else for(o in e)e[o]&&(n&&(n+=" "),n+=o);return n}function Ju(){for(var e,t,o=0,n="",r=arguments.length;o<r;o++)(e=arguments[o])&&(t=Zu(e))&&(n&&(n+=" "),n+=t);return n}function Qu(t={}){const{themeId:o,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=t,a=qp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(ju);return l.forwardRef(function(t,s){const l=Nu(n),{className:c,component:p="div",...d}=Uu(t);return e.jsx(a,{as:p,ref:s,className:Ju(c,i?i(r):r),theme:o&&l[o]||l,...d})})}const ef={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 tf(e,t,o="Mui"){const n=ef[t];return n?`${o}-${n}`:`${Yu.generate(e)}-${t}`}function of(e,t,o="Mui"){const n={};return t.forEach(t=>{n[t]=tf(e,t,o)}),n}const nf=Qu({defaultClassName:of("MuiBox",["root"]).root,generateClassName:Yu.generate});function rf(e,t=""){return e.displayName||e.name||t}function af(e,t,o){const n=rf(t);return e.displayName||(""!==n?`${o}(${n})`:o)}function sf(e){const{variants:t,...o}=e,n={variants:t,style:Gp(o),isProcessed:!0};return n.style===o||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=Gp(e.style))}),n}"production"!==process.env.NODE_ENV&&(nf.propTypes={children:Kc.node,component:Kc.elementType,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const lf=ku();function cf(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function pf(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function df(e){return e?(t,o)=>o[e]:null}function uf(e,t,o){const n="function"==typeof t?t(e):t;if(Array.isArray(n))return n.flatMap(t=>uf(e,t,o));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=o?pf(n.style,o):n.style;else{const{variants:e,...r}=n;t=o?pf(Gp(r),o):r}return ff(e,n.variants,[t],o)}return n?.isProcessed?o?pf(Gp(n.style),o):n.style:o?pf(Gp(n),o):n}function ff(e,t,o=[],n=void 0){let r;e:for(let i=0;i<t.length;i+=1){const a=t[i];if("function"==typeof a.props){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(r))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(r??={...e,...e.ownerState,ownerState:e.ownerState},o.push(n?pf(Gp(a.style(r)),n):a.style(r))):o.push(n?pf(Gp(a.style),n):a.style)}return o}function mf(e={}){const{themeId:t,defaultTheme:o=lf,rootShouldForwardProp:n=cf,slotShouldForwardProp:r=cf}=e;function i(e){!function(e,t,o){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?o:e.theme[t]||e.theme}(e,t,o)}return(e,t={})=>{!function(e){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=(e=>e.filter(e=>e!==ju))(e.__emotion_styles))}(e);const{name:o,slot:a,skipVariantsResolver:s,skipSx:l,overridesResolver:c=df(gf(a)),...p}=t,d=o&&o.startsWith("Mui")||a?"components":"custom",u=void 0!==s?s:a&&"Root"!==a&&"root"!==a||!1,f=l||!1;let m=cf;"Root"===a||"root"===a?m=n:a?m=r:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const h=qp(e,{shouldForwardProp:m,label:hf(o,a),...p}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return uf(t,e,t.theme.modularCssLayers?d:void 0)};if(fd(e)){const t=sf(e);return function(e){return t.variants?uf(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?pf(t.style,d):t.style}}return e},y=(...t)=>{const n=[],r=t.map(g),s=[];if(n.push(i),o&&c&&s.push(function(e){const t=e.theme,n=t.components?.[o]?.styleOverrides;if(!n)return null;const r={};for(const t in n)r[t]=uf(e,n[t],e.theme.modularCssLayers?"theme":void 0);return c(e,r)}),o&&!u&&s.push(function(e){const t=e.theme,n=t?.components?.[o]?.variants;return n?ff(e,n,[],e.theme.modularCssLayers?"theme":void 0):null}),f||s.push(ju),Array.isArray(r[0])){const e=r.shift(),t=new Array(n.length).fill(""),o=new Array(s.length).fill("");let i;i=[...t,...e,...o],i.raw=[...t,...e.raw,...o],n.unshift(i)}const l=[...n,...r,...s],p=h(...l);return e.muiName&&(p.muiName=e.muiName),"production"!==process.env.NODE_ENV&&(p.displayName=function(e,t,o){return e?`${e}${Ed(t||"")}`:`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return rf(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Kp.ForwardRef:return af(e,e.render,"ForwardRef");case Kp.Memo:return af(e,e.type,"memo");default:return}}}(o)})`}(o,a,e)),p};return h.withConfig&&(y.withConfig=h.withConfig),y}}function hf(e,t){let o;return"production"!==process.env.NODE_ENV&&e&&(o=`${e}-${gf(t||"Root")}`),o}function gf(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const yf=mf();function bf(e,t,o=!1){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const i=r;if("components"===i||"slots"===i)n[i]={...e[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){const r=e[i],a=t[i];if(a)if(r){n[i]={...a};for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)){const t=e;n[i][t]=bf(r[t],a[t],o)}}else n[i]=a;else n[i]=r||{}}else"className"===i&&o&&t.className?n.className=Ju(e?.className,t?.className):"style"===i&&o&&t.style?n.style={...e?.style,...t?.style}:void 0===n[i]&&(n[i]=e[i])}return n}function vf({props:e,name:t,defaultTheme:o,themeId:n}){let r=Nu(o);return n&&(r=r[n]||r),function(e){const{theme:t,name:o,props:n}=e;return t&&t.components&&t.components[o]&&t.components[o].defaultProps?bf(t.components[o].defaultProps,n):n}({theme:r,name:t,props:e})}const xf="undefined"!=typeof window?l.useLayoutEffect:l.useEffect;function wf(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}function Sf(e,t=0,o=1){return process.env.NODE_ENV,wf(e,t,o)}function Tf(e){if(e.type)return e;if("#"===e.charAt(0))return Tf(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map(e=>e+e)),"production"!==process.env.NODE_ENV&&(e.length,e.trim().length),o?`rgb${4===o.length?"a":""}(${o.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),o=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ms(9,e));let n,r=e.substring(t+1,e.length-1);if("color"===o){if(r=r.split(" "),n=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ms(10,n))}else r=r.split(",");return r=r.map(e=>parseFloat(e)),{type:o,values:r,colorSpace:n}}const Of=(e,t)=>{try{return(e=>{const t=Tf(e);return t.values.slice(0,3).map((e,o)=>t.type.includes("hsl")&&0!==o?`${e}%`:e).join(" ")})(e)}catch(o){return t&&process.env.NODE_ENV,e}};function jf(e){const{type:t,colorSpace:o}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${o} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Cf(e){e=Tf(e);const{values:t}=e,o=t[0],n=t[1]/100,r=t[2]/100,i=n*Math.min(r,1-r),a=(e,t=(e+o/30)%12)=>r-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),jf({type:s,values:l})}function kf(e){let t="hsl"===(e=Tf(e)).type||"hsla"===e.type?Tf(Cf(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ef(e,t){const o=kf(e),n=kf(t);return(Math.max(o,n)+.05)/(Math.min(o,n)+.05)}function Pf(e,t){return e=Tf(e),t=Sf(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,jf(e)}function Nf(e,t,o){try{return Pf(e,t)}catch(t){return o&&process.env.NODE_ENV,e}}function Rf(e,t){if(e=Tf(e),t=Sf(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return jf(e)}function Mf(e,t,o){try{return Rf(e,t)}catch(t){return o&&process.env.NODE_ENV,e}}function $f(e,t){if(e=Tf(e),t=Sf(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return jf(e)}function If(e,t,o){try{return $f(e,t)}catch(t){return o&&process.env.NODE_ENV,e}}function Af(e,t=.15){return kf(e)>.5?Rf(e,t):$f(e,t)}function Bf(e,t,o){try{return Af(e,t)}catch(t){return o&&process.env.NODE_ENV,e}}const Lf="exact-prop: ";function Df(e){return"production"===process.env.NODE_ENV?e:{...e,[Lf]:t=>{const o=Object.keys(t).filter(t=>!e.hasOwnProperty(t));return o.length>0?new Error(`The following props are not supported: ${o.map(e=>`\`${e}\``).join(", ")}. Please remove them.`):null}}}const zf=l.createContext(null);function Vf(){const e=l.useContext(zf);return"production"!==process.env.NODE_ENV&&l.useDebugValue(e),e}"production"!==process.env.NODE_ENV&&(zf.displayName="ThemeContext");var Ff="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Wf(t){const{children:o,theme:n}=t,r=Vf();process.env.NODE_ENV;const i=l.useMemo(()=>{const e=null===r?{...n}:function(e,t){if("function"==typeof t){const o=t(e);return process.env.NODE_ENV,o}return{...e,...t}}(r,n);return null!=e&&(e[Ff]=null!==r),e},[n,r]);return e.jsx(zf.Provider,{value:i,children:o})}"production"!==process.env.NODE_ENV&&(Wf.propTypes={children:Kc.node,theme:Kc.oneOfType([Kc.object,Kc.func]).isRequired}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Wf.propTypes=Df(Wf.propTypes));const _f=l.createContext();function Hf({value:t,...o}){return e.jsx(_f.Provider,{value:t??!0,...o})}"production"!==process.env.NODE_ENV&&(Hf.propTypes={children:Kc.node,value:Kc.bool});const qf=()=>l.useContext(_f)??!1,Uf=l.createContext(void 0);function Gf({value:t,children:o}){return e.jsx(Uf.Provider,{value:t,children:o})}"production"!==process.env.NODE_ENV&&(Gf.propTypes={children:Kc.node,value:Kc.object});let Kf=0;const Xf={...l}.useId;function Yf(e){if(void 0!==Xf){const t=Xf();return e??t}return function(e){const[t,o]=l.useState(e),n=e||t;return l.useEffect(()=>{null==t&&(Kf+=1,o(`mui-${Kf}`))},[t]),n}(e)}const Zf={};function Jf(e,t,o,n=!1){return l.useMemo(()=>{const r=e&&t[e]||t;if("function"==typeof o){const i=o(r),a=e?{...t,[e]:i}:i;return n?()=>a:a}return e?{...t,[e]:o}:{...t,...o}},[e,t,o,n])}function Qf(t){const{children:o,theme:n,themeId:r}=t,i=Eu(Zf),a=Vf()||Zf;"production"!==process.env.NODE_ENV&&(null===i&&"function"==typeof n||r&&i&&i[r]);const s=Jf(r,i,n),l=Jf(r,a,n,!0),c="rtl"===(r?s[r]:s).direction,p=function(t){const o=Eu(),n=Yf()||"",{modularCssLayers:r}=t;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return i=r&&null===o?"string"==typeof r?r.replace(/mui(?!\.)/g,i):`@layer ${i};`:"",xf(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(i){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const o=document.createElement("style");o.setAttribute("data-mui-layer-order",n),o.textContent=i,e.prepend(o)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?e.jsx(Mu,{styles:i}):null}(s);return e.jsx(Wf,{theme:l,children:e.jsx(Mc.Provider,{value:s,children:e.jsx(Hf,{value:c,children:e.jsxs(Gf,{value:r?s[r].components:s.components,children:[p,o]})})})})}"production"!==process.env.NODE_ENV&&(Qf.propTypes={children:Kc.node,theme:Kc.oneOfType([Kc.func,Kc.object]).isRequired,themeId:Kc.string}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Qf.propTypes=Df(Qf.propTypes));const em={theme:void 0},tm="mode",om="color-scheme";function nm(e=""){function t(...o){if(!o.length)return"";const n=o[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...o.slice(1))})`}return(o,...n)=>`var(--${e?`${e}-`:""}${o}${t(...n)})`}const rm=(e,t,o,n=[])=>{let r=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(r)?r[Number(e)]=o:r&&"object"==typeof r&&(r[e]=o):r&&"object"==typeof r&&(r[e]||(r[e]=n.includes(e)?[]:{}),r=r[e])})};function im(e,t){const{prefix:o,shouldSkipGeneratingVar:n}=t||{},r={},i={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||n&&n(e,t))){const n=`--${o?`${o}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(r,{[n]:l}),rm(i,e,`var(${n})`,s),rm(a,e,`var(${n}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,o=[],n=[]){Object.entries(t).forEach(([t,r])=>{(!l||l&&!l([...o,t]))&&null!=r&&("object"==typeof r&&Object.keys(r).length>0?e(r,[...o,t],Array.isArray(r)?[...n,t]:n):s([...o,t],r,n))})}(e),{css:r,vars:i,varsWithDefaults:a}}function am(e,t,o=void 0){const n={};for(const r in e){const i=e[r];let a="",s=!0;for(let e=0;e<i.length;e+=1){const n=i[e];n&&(a+=(!0===s?"":" ")+t(n),s=!1,o&&o[n]&&(a+=" "+o[n]))}n[r]=a}return n}const sm=ku(),lm=yf("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`maxWidth${Ed(String(o.maxWidth))}`],o.fixed&&t.fixed,o.disableGutters&&t.disableGutters]}}),cm=e=>vf({props:e,name:"MuiContainer",defaultTheme:sm});function pm(t={}){const{createStyledComponent:o=lm,useThemeProps:n=cm,componentName:r="MuiContainer"}=t,i=o(({theme:e,ownerState:t})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,o)=>{const n=o,r=e.breakpoints.values[n];return 0!==r&&(t[e.breakpoints.up(n)]={maxWidth:`${r}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>({..."xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},...t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}})),a=l.forwardRef(function(t,o){const a=n(t),{className:s,component:l="div",disableGutters:c=!1,fixed:p=!1,maxWidth:d="lg",classes:u,...f}=a,m={...a,component:l,disableGutters:c,fixed:p,maxWidth:d},h=((e,t)=>{const{classes:o,fixed:n,disableGutters:r,maxWidth:i}=e;return am({root:["root",i&&`maxWidth${Ed(String(i))}`,n&&"fixed",r&&"disableGutters"]},e=>tf(t,e),o)})(m,r);return e.jsx(i,{as:l,ownerState:m,className:Ju(h.root,s),ref:o,...f})});return"production"!==process.env.NODE_ENV&&(a.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,disableGutters:Kc.bool,fixed:Kc.bool,maxWidth:Kc.oneOfType([Kc.oneOf(["xs","sm","md","lg","xl",!1]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),a}const dm=pm();function um(e,t){return l.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}"production"!==process.env.NODE_ENV&&(dm.propTypes={children:Kc.node,classes:Kc.object,component:Kc.elementType,disableGutters:Kc.bool,fixed:Kc.bool,maxWidth:Kc.oneOfType([Kc.oneOf(["xs","sm","md","lg","xl",!1]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);const fm=(e,t,o)=>{const n=e.keys[0];var r,i;Array.isArray(t)?t.forEach((t,n)=>{o((t,o)=>{n<=e.keys.length-1&&(0===n?Object.assign(t,o):t[e.up(e.keys[n])]=o)},t)}):t&&"object"==typeof t?(Object.keys(t).length>e.keys.length?e.keys:(r=e.keys,i=Object.keys(t),r.filter(e=>i.includes(e)))).forEach(r=>{if(e.keys.includes(r)){const i=t[r];void 0!==i&&o((t,o)=>{n===r?Object.assign(t,o):t[e.up(r)]=o},i)}}):"number"!=typeof t&&"string"!=typeof t||o((e,t)=>{Object.assign(e,t)},t)};function mm(e){return`--Grid-${e}Spacing`}function hm(e){return`--Grid-parent-${e}Spacing`}const gm="--Grid-columns",ym="--Grid-parent-columns",bm=({theme:e,ownerState:t})=>{const o={};return fm(e.breakpoints,t.size,(e,t)=>{let n={};"grow"===t&&(n={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===t&&(n={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof t&&(n={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${t} / var(${ym}) - (var(${ym}) - ${t}) * (var(${hm("column")}) / var(${ym})))`}),e(o,n)}),o},vm=({theme:e,ownerState:t})=>{const o={};return fm(e.breakpoints,t.offset,(e,t)=>{let n={};"auto"===t&&(n={marginLeft:"auto"}),"number"==typeof t&&(n={marginLeft:0===t?"0px":`calc(100% * ${t} / var(${ym}) + var(${hm("column")}) * ${t} / var(${ym}))`}),e(o,n)}),o},xm=({theme:e,ownerState:t})=>{if(!t.container)return{};const o={[gm]:12};return fm(e.breakpoints,t.columns,(e,t)=>{const n=t??12;e(o,{[gm]:n,"> *":{[ym]:n}})}),o},wm=({theme:e,ownerState:t})=>{if(!t.container)return{};const o={};return fm(e.breakpoints,t.rowSpacing,(t,n)=>{const r="string"==typeof n?n:e.spacing?.(n);t(o,{[mm("row")]:r,"> *":{[hm("row")]:r}})}),o},Sm=({theme:e,ownerState:t})=>{if(!t.container)return{};const o={};return fm(e.breakpoints,t.columnSpacing,(t,n)=>{const r="string"==typeof n?n:e.spacing?.(n);t(o,{[mm("column")]:r,"> *":{[hm("column")]:r}})}),o},Tm=({theme:e,ownerState:t})=>{if(!t.container)return{};const o={};return fm(e.breakpoints,t.direction,(e,t)=>{e(o,{flexDirection:t})}),o},Om=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},gap:`var(${mm("row")}) var(${mm("column")})`}}),jm=e=>{const t=[];return Object.entries(e).forEach(([e,o])=>{!1!==o&&void 0!==o&&t.push(`grid-${e}-${String(o)}`)}),t},Cm=(e,t="xs")=>{function o(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(o(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach(([e,n])=>{o(n)&&t.push(`spacing-${e}-${String(n)}`)}),t}return[]},km=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`],Em=[],Pm=ku(),Nm=yf("div",{name:"MuiGrid",slot:"Root"});function Rm(e){return vf({props:e,name:"MuiGrid",defaultTheme:Pm})}function Mm(t={}){const{createStyledComponent:o=Nm,useThemeProps:n=Rm,useTheme:r=Nu,componentName:i="MuiGrid"}=t;function a(e,t,o=()=>!0){const n={};return null===e||(Array.isArray(e)?e.forEach((e,r)=>{null!==e&&o(e)&&t.keys[r]&&(n[t.keys[r]]=e)}):"object"==typeof e?Object.keys(e).forEach(t=>{const r=e[t];null!=r&&o(r)&&(n[t]=r)}):n[t.keys[0]]=e),n}const s=o(xm,Sm,wm,bm,Tm,Om,vm),c=l.forwardRef(function(t,o){const c=r(),p=Uu(n(t));!function(e,t){const o=[];void 0!==e.item&&(delete e.item,o.push("item")),void 0!==e.zeroMinWidth&&(delete e.zeroMinWidth,o.push("zeroMinWidth")),t.keys.forEach(t=>{void 0!==e[t]&&(o.push(t),delete e[t])}),"production"!==process.env.NODE_ENV&&o.forEach(e=>{Em.includes(e)||Em.push(e)})}(p,c.breakpoints);const{className:d,children:u,columns:f=12,container:m=!1,component:h="div",direction:g="row",wrap:y="wrap",size:b={},offset:v={},spacing:x=0,rowSpacing:w=x,columnSpacing:S=x,unstable_level:T=0,...O}=p,j=a(b,c.breakpoints,e=>!1!==e),C=a(v,c.breakpoints),k=t.columns??(T?void 0:f),E=t.spacing??(T?void 0:x),P=t.rowSpacing??t.spacing??(T?void 0:w),N=t.columnSpacing??t.spacing??(T?void 0:S),R={...p,level:T,columns:k,container:m,direction:g,wrap:y,spacing:E,rowSpacing:P,columnSpacing:N,size:j,offset:C},M=((e,t)=>{const{container:o,direction:n,spacing:r,wrap:a,size:s}=e;return am({root:["root",o&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...km(n),...jm(s),...o?Cm(r,t.breakpoints.keys[0]):[]]},e=>tf(i,e),{})})(R,c);return e.jsx(s,{ref:o,as:h,ownerState:R,className:Ju(M.root,d),...O,children:l.Children.map(u,e=>l.isValidElement(e)&&um(e,["Grid"])&&m&&e.props.container?l.cloneElement(e,{unstable_level:e.props?.unstable_level??T+1}):e)})});return"production"!==process.env.NODE_ENV&&(c.propTypes={children:Kc.node,className:Kc.string,columns:Kc.oneOfType([Kc.arrayOf(Kc.number),Kc.number,Kc.object]),columnSpacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),component:Kc.elementType,container:Kc.bool,direction:Kc.oneOfType([Kc.oneOf(["column-reverse","column","row-reverse","row"]),Kc.arrayOf(Kc.oneOf(["column-reverse","column","row-reverse","row"])),Kc.object]),offset:Kc.oneOfType([Kc.string,Kc.number,Kc.arrayOf(Kc.oneOfType([Kc.string,Kc.number])),Kc.object]),rowSpacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),size:Kc.oneOfType([Kc.string,Kc.bool,Kc.number,Kc.arrayOf(Kc.oneOfType([Kc.string,Kc.bool,Kc.number])),Kc.object]),spacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),wrap:Kc.oneOf(["nowrap","wrap-reverse","wrap"])}),c.muiName="Grid",c}const $m=Mm();"production"!==process.env.NODE_ENV&&($m.propTypes={children:Kc.node,columns:Kc.oneOfType([Kc.arrayOf(Kc.number),Kc.number,Kc.object]),columnSpacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),container:Kc.bool,direction:Kc.oneOfType([Kc.oneOf(["column-reverse","column","row-reverse","row"]),Kc.arrayOf(Kc.oneOf(["column-reverse","column","row-reverse","row"])),Kc.object]),offset:Kc.oneOfType([Kc.string,Kc.number,Kc.arrayOf(Kc.oneOfType([Kc.string,Kc.number])),Kc.object]),rowSpacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),size:Kc.oneOfType([Kc.string,Kc.bool,Kc.number,Kc.arrayOf(Kc.oneOfType([Kc.string,Kc.bool,Kc.number])),Kc.object]),spacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),unstable_level:Kc.number,wrap:Kc.oneOf(["nowrap","wrap-reverse","wrap"])});const Im=["auto","grow",1,2,3,4,5,6,7,8,9,10,11,12];of("MuiGrid",["root","container","item",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...Im.map(e=>`grid-xs-${e}`),...Im.map(e=>`grid-sm-${e}`),...Im.map(e=>`grid-md-${e}`),...Im.map(e=>`grid-lg-${e}`),...Im.map(e=>`grid-xl-${e}`)]);const Am=ku(),Bm=yf("div",{name:"MuiStack",slot:"Root"});function Lm(e){return vf({props:e,name:"MuiStack",defaultTheme:Am})}function Dm(e,t){const o=l.Children.toArray(e).filter(Boolean);return o.reduce((e,n,r)=>(e.push(n),r<o.length-1&&e.push(l.cloneElement(t,{key:`separator-${r}`})),e),[])}const zm=({ownerState:e,theme:t})=>{let o={display:"flex",flexDirection:"column",...Od({theme:t},kd({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){const n=Vd(t),r=Object.keys(t.breakpoints.values).reduce((t,o)=>(("object"==typeof e.spacing&&null!=e.spacing[o]||"object"==typeof e.direction&&null!=e.direction[o])&&(t[o]=!0),t),{}),i=kd({values:e.direction,base:r}),a=kd({values:e.spacing,base:r});"object"==typeof i&&Object.keys(i).forEach((e,t,o)=>{if(!i[e]){const n=t>0?i[o[t-1]]:"column";i[e]=n}}),o=hd(o,Od({theme:t},a,(t,o)=>{return e.useFlexGap?{gap:Fd(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${r=o?i[o]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r]}`]:Fd(n,t)}};var r}))}return o=function(e,...t){const o=jd(e),n=[o,...t].reduce((e,t)=>hd(e,t),{});return Cd(Object.keys(o),n)}(t.breakpoints,o),o};function Vm(t={}){const{createStyledComponent:o=Bm,useThemeProps:n=Lm,componentName:r="MuiStack"}=t,i=o(zm),a=l.forwardRef(function(t,o){const a=Uu(n(t)),{component:s="div",direction:l="column",spacing:c=0,divider:p,children:d,className:u,useFlexGap:f=!1,...m}=a,h={direction:l,spacing:c,useFlexGap:f},g=am({root:["root"]},e=>tf(r,e),{});return e.jsx(i,{as:s,ownerState:h,ref:o,className:Ju(g.root,u),...m,children:p?Dm(d,p):d})});return"production"!==process.env.NODE_ENV&&(a.propTypes={children:Kc.node,direction:Kc.oneOfType([Kc.oneOf(["column-reverse","column","row-reverse","row"]),Kc.arrayOf(Kc.oneOf(["column-reverse","column","row-reverse","row"])),Kc.object]),divider:Kc.node,spacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),a}const Fm=Vm();function Wm(){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:ks.white,default:ks.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}}}"production"!==process.env.NODE_ENV&&(Fm.propTypes={children:Kc.node,component:Kc.elementType,direction:Kc.oneOfType([Kc.oneOf(["column-reverse","column","row-reverse","row"]),Kc.arrayOf(Kc.oneOf(["column-reverse","column","row-reverse","row"])),Kc.object]),divider:Kc.node,spacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),useFlexGap:Kc.bool}),of("MuiStack",["root"]);const _m=Wm();function Hm(){return{text:{primary:ks.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:ks.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const qm=Hm();function Um(e,t,o,n){const r=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=$f(e.main,r):"dark"===t&&(e.dark=Rf(e.main,i)))}function Gm(e,t,o,n,r){const i=r.light||r,a=r.dark||1.5*r;t[o]||(t.hasOwnProperty(n)?t[o]=t[n]:"light"===o?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*i).toFixed(0)}%)`:"dark"===o&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function Km(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:n=.2,colorSpace:r,...i}=e,a=e.primary||function(e="light"){return"dark"===e?{main:"#90caf9",light:"#e3f2fd",dark:Ps}:{main:"#1976d2",light:Ps,dark:"#1565c0"}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:"#ce93d8",light:"#f3e5f5",dark:"#ab47bc"}:{main:"#9c27b0",light:"#ba68c8",dark:"#7b1fa2"}}(t),l=e.error||function(e="light"){return"dark"===e?{main:"#f44336",light:"#e57373",dark:Es}:{main:Es,light:"#ef5350",dark:"#c62828"}}(t),c=e.info||function(e="light"){return"dark"===e?{main:"#29b6f6",light:"#4fc3f7",dark:Ns}:{main:Ns,light:"#03a9f4",dark:"#01579b"}}(t),p=e.success||function(e="light"){return"dark"===e?{main:"#66bb6a",light:"#81c784",dark:"#388e3c"}:{main:"#2e7d32",light:"#4caf50",dark:"#1b5e20"}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:"#ffa726",light:"#ffb74d",dark:"#f57c00"}:{main:"#ed6c02",light:"#ff9800",dark:"#e65100"}}(t);function u(e){if(r)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=Ef(e,qm.text.primary)>=o?qm.text.primary:_m.text.primary;return"production"!==process.env.NODE_ENV&&Ef(e,t),t}const f=({color:e,name:t,mainShade:o=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${o}\` property.`:Ms(11,t?` (${t})`:"",o));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Ms(12,t?` (${t})`:"",JSON.stringify(e.main)));return r?(Gm(r,e,"light",i,n),Gm(r,e,"dark",a,n)):(Um(e,"light",i,n),Um(e,"dark",a,n)),e.contrastText||(e.contrastText=u(e.main)),e};let m;return"light"===t?m=Wm():"dark"===t&&(m=Hm()),process.env.NODE_ENV,hd({common:{...ks},mode:t,primary:f({color:a,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:d,name:"warning"}),info:f({color:c,name:"info"}),success:f({color:p,name:"success"}),grey:Rs,contrastThreshold:o,getContrastText:u,augmentColor:f,tonalOffset:n,...m},i)}function Xm(e){const t={};return Object.entries(e).forEach(e=>{const[o,n]=e;"object"==typeof n&&(t[o]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}const Ym={textTransform:"uppercase"},Zm='"Roboto", "Helvetica", "Arial", sans-serif';function Jm(e,t){const{fontFamily:o=Zm,fontSize:n=14,fontWeightLight:r=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:p,...d}="function"==typeof t?t(e):t;process.env.NODE_ENV;const u=n/14,f=p||(e=>e/l*u+"rem"),m=(e,t,n,r,i)=>{return{fontFamily:o,fontWeight:e,fontSize:f(t),lineHeight:n,...o===Zm?{letterSpacing:(a=r/t,Math.round(1e5*a)/1e5+"em")}:{},...i,...c};var a},h={h1:m(r,96,1.167,-1.5),h2:m(r,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(a,14,1.75,.4,Ym),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,Ym),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return hd({htmlFontSize:l,pxToRem:f,fontFamily:o,fontSize:n,fontWeightLight:r,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...h},d,{clone:!1})}function Qm(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const eh=["none",Qm(0,2,1,-1,0,1,1,0,0,1,3,0),Qm(0,3,1,-2,0,2,2,0,0,1,5,0),Qm(0,3,3,-2,0,3,4,0,0,1,8,0),Qm(0,2,4,-1,0,4,5,0,0,1,10,0),Qm(0,3,5,-1,0,5,8,0,0,1,14,0),Qm(0,3,5,-1,0,6,10,0,0,1,18,0),Qm(0,4,5,-2,0,7,10,1,0,2,16,1),Qm(0,5,5,-3,0,8,10,1,0,3,14,2),Qm(0,5,6,-3,0,9,12,1,0,3,16,2),Qm(0,6,6,-3,0,10,14,1,0,4,18,3),Qm(0,6,7,-4,0,11,15,1,0,4,20,3),Qm(0,7,8,-4,0,12,17,2,0,5,22,4),Qm(0,7,8,-4,0,13,19,2,0,5,24,4),Qm(0,7,9,-4,0,14,21,2,0,5,26,4),Qm(0,8,9,-5,0,15,22,2,0,6,28,5),Qm(0,8,10,-5,0,16,24,2,0,6,30,5),Qm(0,8,11,-5,0,17,26,2,0,6,32,5),Qm(0,9,11,-5,0,18,28,2,0,7,34,6),Qm(0,9,12,-6,0,19,29,2,0,7,36,6),Qm(0,10,13,-6,0,20,31,3,0,8,38,7),Qm(0,10,13,-6,0,21,33,3,0,8,40,7),Qm(0,10,14,-6,0,22,35,3,0,8,42,7),Qm(0,11,14,-7,0,23,36,3,0,9,44,8),Qm(0,11,15,-7,0,24,38,3,0,9,46,8)],th={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)"},oh={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function nh(e){return`${Math.round(e)}ms`}function rh(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function ih(e){const t={...th,...e.easing},o={...oh,...e.duration};return{getAutoHeightDuration:rh,create:(e=["all"],n={})=>{const{duration:r=o.standard,easing:i=t.easeInOut,delay:a=0,...s}=n;if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,o=e=>!Number.isNaN(parseFloat(e));!t(e)&&Array.isArray(e),!o(r)&&t(r),t(i),!o(a)&&t(a),Object.keys(s).length}return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof r?r:nh(r)} ${i} ${"string"==typeof a?a:nh(a)}`).join(",")},...e,easing:t,duration:o}}const ah={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function sh(e){return fd(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function lh(e={}){const t={...e};return function e(t){const o=Object.entries(t);for(let n=0;n<o.length;n++){const[r,i]=o[n];!sh(i)||r.startsWith("unstable_")?delete t[r]:fd(i)&&(t[r]={...i},e(t[r]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function ch(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}function ph(e={},...t){const{breakpoints:o,mixins:n={},spacing:r,palette:i={},transitions:a={},typography:s={},shape:l,colorSpace:c,...p}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Ms(20));const d=Km({...i,colorSpace:c}),u=ku(e);let f=hd(u,{mixins:(m=u.breakpoints,h=n,{toolbar:{minHeight:56,[m.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[m.up("sm")]:{minHeight:64}},...h}),palette:d,shadows:eh.slice(),typography:Jm(d,s),transitions:ih(a),zIndex:{...ah}});var m,h,g;if(f=hd(f,p),f=t.reduce((e,t)=>hd(e,t),f),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,o)=>{let n;for(n in t){const o=t[n];e.includes(n)&&Object.keys(o).length>0&&("production"!==process.env.NODE_ENV&&tf("",n),t[n]={})}};Object.keys(f.components).forEach(e=>{const o=f.components[e].styleOverrides;o&&e.startsWith("Mui")&&t(o,e)})}return f.unstable_sxConfig={...Ou,...p?.unstable_sxConfig},f.unstable_sx=function(e){return ju({sx:e,theme:this})},f.toRuntimeSource=lh,g=f,Object.assign(g,{alpha(e,t){const o=this||g;return o.colorSpace?`oklch(from ${e} l c h / ${"string"==typeof t?`calc(${t})`:t})`:o.vars?`rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof t?`calc(${t})`:t})`:Pf(e,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let o=0;for(let e=0;e<t.length;e+=1)o+=+t[e];return o})(t))},lighten(e,t){const o=this||g;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${e}, #fff ${ch(t)})`:$f(e,t)},darken(e,t){const o=this||g;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${e}, #000 ${ch(t)})`:Rf(e,t)}}),f}function dh(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const uh=[...Array(25)].map((e,t)=>{if(0===t)return"none";const o=dh(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function fh(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function mh(e){return"dark"===e?uh:[]}function hh(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var gh=e=>(t,o)=>{const n=e.rootSelector||":root",r=e.colorSchemeSelector;let i=r;if("class"===r&&(i=".%s"),"data"===r&&(i="[data-%s]"),r?.startsWith("data-")&&!r.includes("%s")&&(i=`[${r}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const r={};return(a=e.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${a?`${a}-`:""}overlays-${t}`),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}palette-AppBar-darkColor`]).forEach(e=>{r[e]=o[e],delete o[e]}),"media"===i?{[n]:o,"@media (prefers-color-scheme: dark)":{[n]:r}}:i?{[i.replace("%s",t)]:r,[`${n}, ${i.replace("%s",t)}`]:o}:{[n]:{...o,...r}}}if(i&&"media"!==i)return`${n}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:o}};if(i)return i.replace("%s",String(t))}var a;return n};function yh(e,t,o){!e[t]&&o&&(e[t]=o)}function bh(e){return"string"==typeof e&&e.startsWith("hsl")?Cf(e):e}function vh(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Of(bh(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().\nTo 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.`))}const xh=e=>{try{return e()}catch(e){}};function wh(e,t,o,n,r){if(!o)return;o=!0===o?{}:o;const i="dark"===r?"dark":"light";if(!n)return void(t[r]=function(e){const{palette:t={mode:"light"},opacity:o,overlays:n,colorSpace:r,...i}=e,a=Km({...t,colorSpace:r});return{palette:a,opacity:{...fh(a.mode),...o},overlays:n||mh(a.mode),...i}}({...o,palette:{mode:i,...o?.palette},colorSpace:e}));const{palette:a,...s}=ph({...n,palette:{mode:i,...o?.palette},colorSpace:e});return t[r]={...o,palette:a,opacity:{...fh(i),...o?.opacity},overlays:o?.overlays||mh(i)},s}function Sh(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...!0!==o&&o,palette:Km({...!0===o?{}:o.palette,mode:t})})}function Th(e={},...t){const{palette:o,cssVariables:n=!1,colorSchemes:r=(o?void 0:{light:!0}),defaultColorScheme:i=o?.mode,...a}=e,s=i||"light",l=r?.[s],c={...r,...o?{[s]:{..."boolean"!=typeof l&&l,palette:o}}:void 0};if(!1===n){if(!("colorSchemes"in e))return ph(e,...t);let n=o;"palette"in e||c[s]&&(!0!==c[s]?n=c[s].palette:"dark"===s&&(n={mode:"dark"}));const r=ph({...e,palette:n},...t);return r.defaultColorScheme=s,r.colorSchemes=c,"light"===r.palette.mode&&(r.colorSchemes.light={...!0!==c.light&&c.light,palette:r.palette},Sh(r,"dark",c.dark)),"dark"===r.palette.mode&&(r.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:r.palette},Sh(r,"light",c.light)),r}return o||"light"in c||"light"!==s||(c.light=!0),function(e={},...t){const{colorSchemes:o={light:!0},defaultColorScheme:n,disableCssColorScheme:r=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=hh,colorSchemeSelector:l=(o.light&&o.dark?"media":void 0),rootSelector:c=":root",...p}=e,d=Object.keys(o)[0],u=n||(o.light&&"light"!==d?"light":d),f=((e="mui")=>nm(e))(i),{[u]:m,light:h,dark:g,...y}=o,b={...y};let v,x=m;if(("dark"===u&&!("dark"in o)||"light"===u&&!("light"in o))&&(x=!0),!x)throw new Error("production"!==process.env.NODE_ENV?`MUI: The \`colorSchemes.${u}\` option is either missing or invalid.`:Ms(21,u));a&&(v="oklch");const w=wh(v,b,x,p,u);h&&!b.light&&wh(v,b,h,void 0,"light"),g&&!b.dark&&wh(v,b,g,void 0,"dark");let S={defaultColorScheme:u,...w,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:c,getCssVar:f,colorSchemes:b,font:{...Xm(w.typography),...w.font},spacing:(T=p.spacing,"number"==typeof T?`${T}px`:"string"==typeof T||"function"==typeof T||Array.isArray(T)?T:"8px")};var T;Object.keys(S.colorSchemes).forEach(e=>{const t=S.colorSchemes[e].palette,o=e=>{const o=e.split("-"),n=o[1],r=o[2];return f(e,t[n][r])};function n(e,t,o){if(v){let n;return e===Nf&&(n=`transparent ${(100*(1-o)).toFixed(0)}%`),e===Mf&&(n=`#000 ${(100*o).toFixed(0)}%`),e===If&&(n=`#fff ${(100*o).toFixed(0)}%`),`color-mix(in ${v}, ${t}, ${n})`}return e(t,o)}var r;if("light"===t.mode&&(yh(t.common,"background","#fff"),yh(t.common,"onBackground","#000")),"dark"===t.mode&&(yh(t.common,"background","#000"),yh(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{r[e]||(r[e]={})}),"light"===t.mode){yh(t.Alert,"errorColor",n(Mf,t.error.light,.6)),yh(t.Alert,"infoColor",n(Mf,t.info.light,.6)),yh(t.Alert,"successColor",n(Mf,t.success.light,.6)),yh(t.Alert,"warningColor",n(Mf,t.warning.light,.6)),yh(t.Alert,"errorFilledBg",o("palette-error-main")),yh(t.Alert,"infoFilledBg",o("palette-info-main")),yh(t.Alert,"successFilledBg",o("palette-success-main")),yh(t.Alert,"warningFilledBg",o("palette-warning-main")),yh(t.Alert,"errorFilledColor",xh(()=>t.getContrastText(t.error.main))),yh(t.Alert,"infoFilledColor",xh(()=>t.getContrastText(t.info.main))),yh(t.Alert,"successFilledColor",xh(()=>t.getContrastText(t.success.main))),yh(t.Alert,"warningFilledColor",xh(()=>t.getContrastText(t.warning.main))),yh(t.Alert,"errorStandardBg",n(If,t.error.light,.9)),yh(t.Alert,"infoStandardBg",n(If,t.info.light,.9)),yh(t.Alert,"successStandardBg",n(If,t.success.light,.9)),yh(t.Alert,"warningStandardBg",n(If,t.warning.light,.9)),yh(t.Alert,"errorIconColor",o("palette-error-main")),yh(t.Alert,"infoIconColor",o("palette-info-main")),yh(t.Alert,"successIconColor",o("palette-success-main")),yh(t.Alert,"warningIconColor",o("palette-warning-main")),yh(t.AppBar,"defaultBg",o("palette-grey-100")),yh(t.Avatar,"defaultBg",o("palette-grey-400")),yh(t.Button,"inheritContainedBg",o("palette-grey-300")),yh(t.Button,"inheritContainedHoverBg",o("palette-grey-A100")),yh(t.Chip,"defaultBorder",o("palette-grey-400")),yh(t.Chip,"defaultAvatarColor",o("palette-grey-700")),yh(t.Chip,"defaultIconColor",o("palette-grey-700")),yh(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),yh(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),yh(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),yh(t.LinearProgress,"primaryBg",n(If,t.primary.main,.62)),yh(t.LinearProgress,"secondaryBg",n(If,t.secondary.main,.62)),yh(t.LinearProgress,"errorBg",n(If,t.error.main,.62)),yh(t.LinearProgress,"infoBg",n(If,t.info.main,.62)),yh(t.LinearProgress,"successBg",n(If,t.success.main,.62)),yh(t.LinearProgress,"warningBg",n(If,t.warning.main,.62)),yh(t.Skeleton,"bg",v?n(Nf,t.text.primary,.11):`rgba(${o("palette-text-primaryChannel")} / 0.11)`),yh(t.Slider,"primaryTrack",n(If,t.primary.main,.62)),yh(t.Slider,"secondaryTrack",n(If,t.secondary.main,.62)),yh(t.Slider,"errorTrack",n(If,t.error.main,.62)),yh(t.Slider,"infoTrack",n(If,t.info.main,.62)),yh(t.Slider,"successTrack",n(If,t.success.main,.62)),yh(t.Slider,"warningTrack",n(If,t.warning.main,.62));const e=v?n(Mf,t.background.default,.6825):Bf(t.background.default,.8);yh(t.SnackbarContent,"bg",e),yh(t.SnackbarContent,"color",xh(()=>v?qm.text.primary:t.getContrastText(e))),yh(t.SpeedDialAction,"fabHoverBg",Bf(t.background.paper,.15)),yh(t.StepConnector,"border",o("palette-grey-400")),yh(t.StepContent,"border",o("palette-grey-400")),yh(t.Switch,"defaultColor",o("palette-common-white")),yh(t.Switch,"defaultDisabledColor",o("palette-grey-100")),yh(t.Switch,"primaryDisabledColor",n(If,t.primary.main,.62)),yh(t.Switch,"secondaryDisabledColor",n(If,t.secondary.main,.62)),yh(t.Switch,"errorDisabledColor",n(If,t.error.main,.62)),yh(t.Switch,"infoDisabledColor",n(If,t.info.main,.62)),yh(t.Switch,"successDisabledColor",n(If,t.success.main,.62)),yh(t.Switch,"warningDisabledColor",n(If,t.warning.main,.62)),yh(t.TableCell,"border",n(If,n(Nf,t.divider,1),.88)),yh(t.Tooltip,"bg",n(Nf,t.grey[700],.92))}if("dark"===t.mode){yh(t.Alert,"errorColor",n(If,t.error.light,.6)),yh(t.Alert,"infoColor",n(If,t.info.light,.6)),yh(t.Alert,"successColor",n(If,t.success.light,.6)),yh(t.Alert,"warningColor",n(If,t.warning.light,.6)),yh(t.Alert,"errorFilledBg",o("palette-error-dark")),yh(t.Alert,"infoFilledBg",o("palette-info-dark")),yh(t.Alert,"successFilledBg",o("palette-success-dark")),yh(t.Alert,"warningFilledBg",o("palette-warning-dark")),yh(t.Alert,"errorFilledColor",xh(()=>t.getContrastText(t.error.dark))),yh(t.Alert,"infoFilledColor",xh(()=>t.getContrastText(t.info.dark))),yh(t.Alert,"successFilledColor",xh(()=>t.getContrastText(t.success.dark))),yh(t.Alert,"warningFilledColor",xh(()=>t.getContrastText(t.warning.dark))),yh(t.Alert,"errorStandardBg",n(Mf,t.error.light,.9)),yh(t.Alert,"infoStandardBg",n(Mf,t.info.light,.9)),yh(t.Alert,"successStandardBg",n(Mf,t.success.light,.9)),yh(t.Alert,"warningStandardBg",n(Mf,t.warning.light,.9)),yh(t.Alert,"errorIconColor",o("palette-error-main")),yh(t.Alert,"infoIconColor",o("palette-info-main")),yh(t.Alert,"successIconColor",o("palette-success-main")),yh(t.Alert,"warningIconColor",o("palette-warning-main")),yh(t.AppBar,"defaultBg",o("palette-grey-900")),yh(t.AppBar,"darkBg",o("palette-background-paper")),yh(t.AppBar,"darkColor",o("palette-text-primary")),yh(t.Avatar,"defaultBg",o("palette-grey-600")),yh(t.Button,"inheritContainedBg",o("palette-grey-800")),yh(t.Button,"inheritContainedHoverBg",o("palette-grey-700")),yh(t.Chip,"defaultBorder",o("palette-grey-700")),yh(t.Chip,"defaultAvatarColor",o("palette-grey-300")),yh(t.Chip,"defaultIconColor",o("palette-grey-300")),yh(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),yh(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),yh(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),yh(t.LinearProgress,"primaryBg",n(Mf,t.primary.main,.5)),yh(t.LinearProgress,"secondaryBg",n(Mf,t.secondary.main,.5)),yh(t.LinearProgress,"errorBg",n(Mf,t.error.main,.5)),yh(t.LinearProgress,"infoBg",n(Mf,t.info.main,.5)),yh(t.LinearProgress,"successBg",n(Mf,t.success.main,.5)),yh(t.LinearProgress,"warningBg",n(Mf,t.warning.main,.5)),yh(t.Skeleton,"bg",v?n(Nf,t.text.primary,.13):`rgba(${o("palette-text-primaryChannel")} / 0.13)`),yh(t.Slider,"primaryTrack",n(Mf,t.primary.main,.5)),yh(t.Slider,"secondaryTrack",n(Mf,t.secondary.main,.5)),yh(t.Slider,"errorTrack",n(Mf,t.error.main,.5)),yh(t.Slider,"infoTrack",n(Mf,t.info.main,.5)),yh(t.Slider,"successTrack",n(Mf,t.success.main,.5)),yh(t.Slider,"warningTrack",n(Mf,t.warning.main,.5));const e=v?n(If,t.background.default,.985):Bf(t.background.default,.98);yh(t.SnackbarContent,"bg",e),yh(t.SnackbarContent,"color",xh(()=>v?_m.text.primary:t.getContrastText(e))),yh(t.SpeedDialAction,"fabHoverBg",Bf(t.background.paper,.15)),yh(t.StepConnector,"border",o("palette-grey-600")),yh(t.StepContent,"border",o("palette-grey-600")),yh(t.Switch,"defaultColor",o("palette-grey-300")),yh(t.Switch,"defaultDisabledColor",o("palette-grey-600")),yh(t.Switch,"primaryDisabledColor",n(Mf,t.primary.main,.55)),yh(t.Switch,"secondaryDisabledColor",n(Mf,t.secondary.main,.55)),yh(t.Switch,"errorDisabledColor",n(Mf,t.error.main,.55)),yh(t.Switch,"infoDisabledColor",n(Mf,t.info.main,.55)),yh(t.Switch,"successDisabledColor",n(Mf,t.success.main,.55)),yh(t.Switch,"warningDisabledColor",n(Mf,t.warning.main,.55)),yh(t.TableCell,"border",n(Mf,n(Nf,t.divider,1),.68)),yh(t.Tooltip,"bg",n(Nf,t.grey[700],.92))}vh(t.background,"default"),vh(t.background,"paper"),vh(t.common,"background"),vh(t.common,"onBackground"),vh(t,"divider"),Object.keys(t).forEach(e=>{const o=t[e];"tonalOffset"!==e&&o&&"object"==typeof o&&(o.main&&yh(t[e],"mainChannel",Of(bh(o.main))),o.light&&yh(t[e],"lightChannel",Of(bh(o.light))),o.dark&&yh(t[e],"darkChannel",Of(bh(o.dark))),o.contrastText&&yh(t[e],"contrastTextChannel",Of(bh(o.contrastText))),"text"===e&&(vh(t[e],"primary"),vh(t[e],"secondary")),"action"===e&&(o.active&&vh(t[e],"active"),o.selected&&vh(t[e],"selected")))})}),S=t.reduce((e,t)=>hd(e,t),S);const O={prefix:i,disableCssColorScheme:r,shouldSkipGeneratingVar:s,getSelector:gh(S),enableContrastVars:a},{vars:j,generateThemeVars:C,generateStyleSheets:k}=function(e,t={}){const{getSelector:o=y,disableCssColorScheme:n,colorSchemeSelector:r,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...c}=e,{vars:p,css:d,varsWithDefaults:u}=im(c,t);let f=u;const m={},{[l]:h,...g}=a;if(Object.entries(g||{}).forEach(([e,o])=>{const{vars:n,css:r,varsWithDefaults:i}=im(o,t);f=hd(f,i),m[e]={css:r,vars:n}}),h){const{css:e,vars:o,varsWithDefaults:n}=im(h,t);f=hd(f,n),m[l]={css:e,vars:o}}function y(t,o){let n=r;if("class"===r&&(n=".%s"),"data"===r&&(n="[data-%s]"),r?.startsWith("data-")&&!r.includes("%s")&&(n=`[${r}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";const n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":o}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"}return{vars:f,generateThemeVars:()=>{let e={...p};return Object.entries(m).forEach(([,{vars:t}])=>{e=hd(e,t)}),e},generateStyleSheets:()=>{const t=[],r=e.defaultColorScheme||"light";function s(e,o){Object.keys(o).length&&t.push("string"==typeof e?{[e]:{...o}}:e)}s(o(void 0,{...d}),d);const{[r]:l,...c}=m;if(l){const{css:e}=l,t=a[r]?.palette?.mode,i=!n&&t?{colorScheme:t,...e}:{...e};s(o(r,{...i}),i)}return Object.entries(c).forEach(([e,{css:t}])=>{const r=a[e]?.palette?.mode,i=!n&&r?{colorScheme:r,...t}:{...t};s(o(e,{...i}),i)}),i&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}}(S,O);return S.vars=j,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=C,S.generateStyleSheets=k,S.generateSpacing=function(){return Ud(p.spacing,Vd(this))},S.getColorSchemeSelector=function(e){return function(t){return"media"===e?(process.env.NODE_ENV,`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(l),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...Ou,...p?.unstable_sxConfig},S.unstable_sx=function(e){return ju({sx:e,theme:this})},S.toRuntimeSource=lh,S}({...a,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof n&&n},...t)}const Oh=Th();function jh(){const e=Nu(Oh);return"production"!==process.env.NODE_ENV&&l.useDebugValue(e),e[$s]||e}function Ch(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const kh=e=>Ch(e)&&"classes"!==e,Eh=mf({themeId:$s,defaultTheme:Oh,rootShouldForwardProp:kh});function Ph(...e){return e.reduce((e,t)=>null==t?e:function(...o){e.apply(this,o),t.apply(this,o)},()=>{})}function Nh(t){return e.jsx(Mu,{...t,defaultTheme:Oh,themeId:$s})}"production"!==process.env.NODE_ENV&&(Kc.string,Kc.string,Kc.string,Kc.string,Kc.string,Kc.oneOf(["dark","light","system"]),Kc.string,Kc.string),function(e){const{themeId:t,theme:o={},modeStorageKey:n=tm,colorSchemeStorageKey:r=om,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:s}=e,c=l.createContext(void 0);"production"!==process.env.NODE_ENV&&(c.displayName="ColorSchemeContext");"production"!==process.env.NODE_ENV&&(Kc.node,Kc.any,Kc.string,Kc.string,Kc.bool,Kc.bool,Kc.bool,Kc.any,Kc.bool,Kc.string,Kc.bool,Kc.func,Kc.any,Kc.object);"string"==typeof a||a.light,"string"==typeof a||a.dark}({themeId:$s,theme:()=>Th({cssVariables:!0}),colorSchemeStorageKey:"mui-color-scheme",modeStorageKey:"mui-mode",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{const t={...e,typography:Jm(e.palette,e.typography)};return t.unstable_sx=function(e){return ju({sx:e,theme:this})},t}}),"production"!==process.env.NODE_ENV&&(Nh.propTypes={styles:Kc.oneOfType([Kc.array,Kc.func,Kc.number,Kc.object,Kc.string,Kc.bool])});const Rh=function(e){let t,o;return function(n){let r=t;return void 0!==r&&n.theme===o||(em.theme=n.theme,r=sf(e(em)),t=r,o=n.theme),r}};function Mh(e){return function({props:e,name:t}){return function(e){const{theme:t,name:o,props:n}=e;if(!t||!t.components||!t.components[o])return n;const r=t.components[o];return r.defaultProps?bf(r.defaultProps,n,t.components.mergeClassNameAndStyle):r.styleOverrides||r.variants?n:bf(r,n,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:l.useContext(Uf)}})}(e)}function $h(e){return tf("MuiSvgIcon",e)}"production"!==process.env.NODE_ENV&&(Kc.node,Kc.object.isRequired),of("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ih=Eh("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"inherit"!==o.color&&t[`color${Ed(o.color)}`],t[`fontSize${Ed(o.fontSize)}`]]}})(Rh(({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:e=>!e.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(([,e])=>e&&e.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}}]}))),Ah=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiSvgIcon"}),{children:r,className:i,color:a="inherit",component:s="svg",fontSize:c="medium",htmlColor:p,inheritViewBox:d=!1,titleAccess:u,viewBox:f="0 0 24 24",...m}=n,h=l.isValidElement(r)&&"svg"===r.type,g={...n,color:a,component:s,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:f,hasSvgAsChild:h},y={};d||(y.viewBox=f);const b=(e=>{const{color:t,fontSize:o,classes:n}=e;return am({root:["root","inherit"!==t&&`color${Ed(t)}`,`fontSize${Ed(o)}`]},$h,n)})(g);return e.jsxs(Ih,{as:s,className:Ju(b.root,i),focusable:"false",color:p,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:o,...y,...m,...h&&r.props,ownerState:g,children:[h?r.props.children:r,u?e.jsx("title",{children:u}):null]})});function Bh(t,o){function n(n,r){return e.jsx(Ah,{"data-testid":"production"!==process.env.NODE_ENV?`${o}Icon`:void 0,ref:r,...n,children:t})}return"production"!==process.env.NODE_ENV&&(n.displayName=`${o}Icon`),n.muiName=Ah.muiName,l.memo(l.forwardRef(n))}function Lh(e,t=166){let o;function n(...n){clearTimeout(o),o=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(o)},n}function Dh(e){return e&&e.ownerDocument||document}function zh(e){return Dh(e).defaultView||window}function Vh(e,t){if("production"===process.env.NODE_ENV)return()=>()=>null;const o=t?{...t.propTypes}:null;return t=>(n,r,i,a,s,...l)=>{const c=s||r,p=o?.[c];if(p){const e=p(n,r,i,a,s,...l);if(e)return e}return void 0===n[r]||n[t]?null:new Error(`The prop \`${c}\` of \`${e}\` can only be used together with the \`${t}\` prop.`)}}function Fh(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Wh(e,t,o,n,r){if("production"===process.env.NODE_ENV)return null;const i=r||t;return void 0!==e[t]?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function _h(e){const{controlled:t,default:o,name:n,state:r="value"}=e,{current:i}=l.useRef(void 0!==t),[a,s]=l.useState(o),c=i?t:a;if("production"!==process.env.NODE_ENV){l.useEffect(()=>{},[r,n,t]);const{current:e}=l.useRef(o);l.useEffect(()=>{!i&&(JSON.stringify(o),JSON.stringify(e))},[JSON.stringify(o)])}return[c,l.useCallback(e=>{i||s(e)},[])]}function Hh(e){const t=l.useRef(e);return xf(()=>{t.current=e}),l.useRef((...e)=>(0,t.current)(...e)).current}function qh(...e){const t=l.useRef(void 0),o=l.useCallback(t=>{const o=e.map(e=>{if(null==e)return null;if("function"==typeof e){const o=e,n=o(t);return"function"==typeof n?n:()=>{o(null)}}return e.current=t,()=>{e.current=null}});return()=>{o.forEach(e=>e?.())}},e);return l.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=o(e))},e)}function Uh(e,t){if(!e)return t;function o(e,t){const o={};return Object.keys(t).forEach(n=>{(function(e,t){const o=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&o>=65&&o<=90&&"function"==typeof t})(n,t[n])&&"function"==typeof e[n]&&(o[n]=(...o)=>{e[n](...o),t[n](...o)})}),o}if("function"==typeof e||"function"==typeof t)return n=>{const r="function"==typeof t?t(n):t,i="function"==typeof e?e({...n,...r}):e,a=Ju(n?.className,r?.className,i?.className),s=o(i,r);return{...r,...i,...s,...!!a&&{className:a},...r?.style&&i?.style&&{style:{...r.style,...i.style}},...r?.sx&&i?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(i.sx)?i.sx:[i.sx]]}}};const n=t,r=o(e,n),i=Ju(n?.className,e?.className);return{...t,...e,...r,...!!i&&{className:i},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Gh(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...o){return e(...o)||t(...o)}}function Kh(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;o[n]=e[n]}return o}function Xh(e,t){return Xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xh(e,t)}function Yh(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xh(e,t)}function Zh(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}"production"!==process.env.NODE_ENV&&(Ah.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Kc.string]),component:Kc.elementType,fontSize:Kc.oneOfType([Kc.oneOf(["inherit","large","medium","small"]),Kc.string]),htmlColor:Kc.string,inheritViewBox:Kc.bool,shapeRendering:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),titleAccess:Kc.string,viewBox:Kc.string}),Ah.muiName="SvgIcon";var Jh="production"!==process.env.NODE_ENV?Kc.oneOfType([Kc.number,Kc.shape({enter:Kc.number,exit:Kc.number,appear:Kc.number}).isRequired]):null,Qh="production"!==process.env.NODE_ENV?Kc.oneOfType([Kc.string,Kc.shape({enter:Kc.string,exit:Kc.string,active:Kc.string}),Kc.shape({enter:Kc.string,enterDone:Kc.string,enterActive:Kc.string,exit:Kc.string,exitDone:Kc.string,exitActive:Kc.string})]):null,eg=l.default.createContext(null),tg=function(e){return e.scrollTop},og="unmounted",ng="exited",rg="entering",ig="entered",ag="exiting",sg=function(e){function t(t,o){var n;n=e.call(this,t,o)||this;var r,i=o&&!o.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(r=ng,n.appearStatus=rg):r=ig:r=t.unmountOnExit||t.mountOnEnter?og:ng,n.state={status:r},n.nextCallback=null,n}Yh(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===og?{status:ng}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==rg&&o!==ig&&(t=rg):o!==rg&&o!==ig||(t=ag)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,o,n=this.props.timeout;return e=t=o=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,o=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:o}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===rg){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:c.default.findDOMNode(this);o&&tg(o)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ng&&this.setState({status:og})},o.performEnter=function(e){var t=this,o=this.props.enter,n=this.context?this.context.isMounting:e,r=this.props.nodeRef?[n]:[c.default.findDOMNode(this),n],i=r[0],a=r[1],s=this.getTimeouts(),l=n?s.appear:s.enter;e||o?(this.props.onEnter(i,a),this.safeSetState({status:rg},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:ig},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:ig},function(){t.props.onEntered(i)})},o.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),n=this.props.nodeRef?void 0:c.default.findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:ag},function(){e.props.onExiting(n),e.onTransitionEnd(o.exit,function(){e.safeSetState({status:ng},function(){e.props.onExited(n)})})})):this.safeSetState({status:ng},function(){e.props.onExited(n)})},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(n){o&&(o=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:c.default.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(o&&!n){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===og)return null;var t=this.props,o=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var n=Kh(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return l.default.createElement(eg.Provider,{value:null},"function"==typeof o?o(e,n):l.default.cloneElement(l.default.Children.only(o),n))},t}(l.default.Component);function lg(){}sg.contextType=eg,sg.propTypes="production"!==process.env.NODE_ENV?{nodeRef:Kc.shape({current:"undefined"==typeof Element?Kc.any:function(e,t,o,n,r,i){var a=e[t];return Kc.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,o,n,r,i)}}),children:Kc.oneOfType([Kc.func.isRequired,Kc.element.isRequired]).isRequired,in:Kc.bool,mountOnEnter:Kc.bool,unmountOnExit:Kc.bool,appear:Kc.bool,enter:Kc.bool,exit:Kc.bool,timeout:function(e){var t=Jh;e.addEndListener||(t=t.isRequired);for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];return t.apply(void 0,[e].concat(n))},addEndListener:Kc.func,onEnter:Kc.func,onEntering:Kc.func,onEntered:Kc.func,onExit:Kc.func,onExiting:Kc.func,onExited:Kc.func}:{},sg.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:lg,onEntering:lg,onEntered:lg,onExit:lg,onExiting:lg,onExited:lg},sg.UNMOUNTED=og,sg.EXITED=ng,sg.ENTERING=rg,sg.ENTERED=ig,sg.EXITING=ag;var cg=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return n=t,void((o=e).classList?o.classList.remove(n):"string"==typeof o.className?o.className=Zh(o.className,n):o.setAttribute("class",Zh(o.className&&o.className.baseVal||"",n)));var o,n})},pg=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,o){var n=t.resolveArguments(e,o),r=n[0],i=n[1];t.removeClasses(r,"exit"),t.addClass(r,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,o)},t.onEntering=function(e,o){var n=t.resolveArguments(e,o),r=n[0],i=n[1]?"appear":"enter";t.addClass(r,i,"active"),t.props.onEntering&&t.props.onEntering(e,o)},t.onEntered=function(e,o){var n=t.resolveArguments(e,o),r=n[0],i=n[1]?"appear":"enter";t.removeClasses(r,i),t.addClass(r,i,"done"),t.props.onEntered&&t.props.onEntered(e,o)},t.onExit=function(e){var o=t.resolveArguments(e)[0];t.removeClasses(o,"appear"),t.removeClasses(o,"enter"),t.addClass(o,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var o=t.resolveArguments(e)[0];t.addClass(o,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var o=t.resolveArguments(e)[0];t.removeClasses(o,"exit"),t.addClass(o,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,o){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,o]},t.getClassNames=function(e){var o=t.props.classNames,n="string"==typeof o,r=n?(n&&o?o+"-":"")+e:o[e];return{baseClassName:r,activeClassName:n?r+"-active":o[e+"Active"],doneClassName:n?r+"-done":o[e+"Done"]}},t}Yh(t,e);var o=t.prototype;return o.addClass=function(e,t,o){var n=this.getClassNames(t)[o+"ClassName"],r=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===o&&r&&(n+=" "+r),"active"===o&&e&&tg(e),n&&(this.appliedClasses[t][o]=n,function(e,t){e&&t&&t.split(" ").forEach(function(t){return n=t,void((o=e).classList?o.classList.add(n):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(o,n)||("string"==typeof o.className?o.className=o.className+" "+n:o.setAttribute("class",(o.className&&o.className.baseVal||"")+" "+n)));var o,n})}(e,n))},o.removeClasses=function(e,t){var o=this.appliedClasses[t],n=o.base,r=o.active,i=o.done;this.appliedClasses[t]={},n&&cg(e,n),r&&cg(e,r),i&&cg(e,i)},o.render=function(){var e=this.props;e.classNames;var t=Kh(e,["classNames"]);return l.default.createElement(sg,Is({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.default.Component);function dg(e,t){var n=Object.create(null);return e&&o.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&o.isValidElement(e)?t(e):e}(e)}),n}function ug(e,t,o){return null!=o[t]?o[t]:e.props[t]}function fg(e,t,n){var r=dg(e.children),i=function(e,t){function o(o){return o in t?t[o]:e[o]}e=e||{},t=t||{};var n,r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(r[l])for(n=0;n<r[l].length;n++){var c=r[l][n];s[r[l][n]]=o(c)}s[l]=o(l)}for(n=0;n<i.length;n++)s[i[n]]=o(i[n]);return s}(t,r);return Object.keys(i).forEach(function(a){var s=i[a];if(o.isValidElement(s)){var l=a in t,c=a in r,p=t[a],d=o.isValidElement(p)&&!p.props.in;!c||l&&!d?c||!l||d?c&&l&&o.isValidElement(p)&&(i[a]=o.cloneElement(s,{onExited:n.bind(null,s),in:p.props.in,exit:ug(s,"exit",e),enter:ug(s,"enter",e)})):i[a]=o.cloneElement(s,{in:!1}):i[a]=o.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:ug(s,"exit",e),enter:ug(s,"enter",e)})}}),i}pg.defaultProps={classNames:""},pg.propTypes="production"!==process.env.NODE_ENV?Is({},sg.propTypes,{classNames:Qh,onEnter:Kc.func,onEntering:Kc.func,onEntered:Kc.func,onExit:Kc.func,onExiting:Kc.func,onExited:Kc.func}):{};var mg,hg,gg=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},yg=function(e){function t(t,o){var n,r=(n=e.call(this,t,o)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},n}Yh(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,dg(n.children,function(e){return o.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:ug(e,"appear",n),enter:ug(e,"enter",n),exit:ug(e,"exit",n)})})):fg(e,i,a),firstRender:!1}},n.handleExited=function(e,t){var o=dg(this.props.children);e.key in o||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var o=Is({},t.children);return delete o[e.key],{children:o}}))},n.render=function(){var e=this.props,t=e.component,o=e.childFactory,n=Kh(e,["component","childFactory"]),r=this.state.contextValue,i=gg(this.state.children).map(o);return delete n.appear,delete n.enter,delete n.exit,null===t?l.default.createElement(eg.Provider,{value:r},i):l.default.createElement(eg.Provider,{value:r},l.default.createElement(t,n,i))},t}(l.default.Component);yg.propTypes="production"!==process.env.NODE_ENV?{component:Kc.any,children:Kc.node,appear:Kc.bool,enter:Kc.bool,exit:Kc.bool,childFactory:Kc.func}:{},yg.defaultProps={component:"div",childFactory:function(e){return e}},(function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).handleEnter=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onEnter",0,o)},t.handleEntering=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onEntering",0,o)},t.handleEntered=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onEntered",0,o)},t.handleExit=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onExit",1,o)},t.handleExiting=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onExiting",1,o)},t.handleExited=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onExited",1,o)},t}Yh(t,e);var o=t.prototype;return o.handleLifecycle=function(e,t,o){var n,r=this.props.children,i=l.default.Children.toArray(r)[t];if(i.props[e]&&(n=i.props)[e].apply(n,o),this.props[e]){var a=i.props.nodeRef?void 0:c.default.findDOMNode(this);this.props[e](a)}},o.render=function(){var e=this.props,t=e.children,o=e.in,n=Kh(e,["children","in"]),r=l.default.Children.toArray(t),i=r[0],a=r[1];return delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,l.default.createElement(yg,n,o?l.default.cloneElement(i,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):l.default.cloneElement(a,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(l.default.Component)).propTypes="production"!==process.env.NODE_ENV?{in:Kc.bool.isRequired,children:function(e,t){return 2!==l.default.Children.count(e[t])?new Error('"'+t+'" must be exactly two transition components.'):null}}:{};var bg="out-in",vg="in-out",xg=function(e,t,o){return function(){var n;e.props[t]&&(n=e.props)[t].apply(n,arguments),o()}},wg=((mg={})[bg]=function(e){var t=e.current,o=e.changeState;return l.default.cloneElement(t,{in:!1,onExited:xg(t,"onExited",function(){o(rg,null)})})},mg[vg]=function(e){var t=e.current,o=e.changeState,n=e.children;return[t,l.default.cloneElement(n,{in:!0,onEntered:xg(n,"onEntered",function(){o(rg)})})]},mg),Sg=((hg={})[bg]=function(e){var t=e.children,o=e.changeState;return l.default.cloneElement(t,{in:!0,onEntered:xg(t,"onEntered",function(){o(ig,l.default.cloneElement(t,{in:!0}))})})},hg[vg]=function(e){var t=e.current,o=e.children,n=e.changeState;return[l.default.cloneElement(t,{in:!1,onExited:xg(t,"onExited",function(){n(ig,l.default.cloneElement(o,{in:!0}))})}),l.default.cloneElement(o,{in:!0})]},hg),Tg=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).state={status:ig,current:null},t.appeared=!1,t.changeState=function(e,o){void 0===o&&(o=t.state.current),t.setState({status:e,current:o})},t}Yh(t,e);var o=t.prototype;return o.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===rg&&e.mode===vg?{status:rg}:!t.current||((o=t.current)===(n=e.children)||l.default.isValidElement(o)&&l.default.isValidElement(n)&&null!=o.key&&o.key===n.key)?{current:l.default.cloneElement(e.children,{in:!0})}:{status:ag};var o,n},o.render=function(){var e,t=this.props,o=t.children,n=t.mode,r=this.state,i=r.status,a=r.current,s={children:o,current:a,changeState:this.changeState,status:i};switch(i){case rg:e=Sg[n](s);break;case ag:e=wg[n](s);break;case ig:e=a}return l.default.createElement(eg.Provider,{value:{isMounting:!this.appeared}},e)},t}(l.default.Component);Tg.propTypes="production"!==process.env.NODE_ENV?{mode:Kc.oneOf([vg,bg]),children:Kc.oneOfType([Kc.element.isRequired])}:{},Tg.defaultProps={mode:bg};const Og={};function jg(e,t){const o=l.useRef(Og);return o.current===Og&&(o.current=e(t)),o}const Cg=[];class kg{static create(){return new kg}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Eg(){const e=jg(kg.create).current;var t;return t=e.disposeEffect,l.useEffect(t,Cg),e}var Pg=Gh(Kc.elementType,function(e,t,o,n,r){const i=e[t],a=r||t;if(null==i||"undefined"==typeof window)return null;let s;return"function"!=typeof i||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(i)||(s="Did you accidentally provide a plain function component instead?"),i===l.Fragment&&(s="Did you accidentally provide a React.Fragment instead?"),void 0!==s?new Error(`Invalid ${n} \`${a}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null});const Ng=e=>e.scrollTop;function Rg(e,t){const{timeout:o,easing:n,style:r={}}=e;return{duration:r.transitionDuration??("number"==typeof o?o:o[t.mode]||0),easing:r.transitionTimingFunction??("object"==typeof n?n[t.mode]:n),delay:r.transitionDelay}}function Mg(e){return"string"==typeof e}function $g(e,t,o){return void 0===e||Mg(e)?t:{...t,ownerState:{...t.ownerState,...o}}}function Ig(e,t,o){return"function"==typeof e?e(t,o):e}function Ag(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o)).forEach(t=>{o[t]=e[t]}),o}function Bg(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(o=>{t[o]=e[o]}),t}function Lg(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:n,externalForwardedProps:r,className:i}=e;if(!t){const e=Ju(o?.className,i,r?.className,n?.className),t={...o?.style,...r?.style,...n?.style},a={...o,...r,...n};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Ag({...r,...n}),s=Bg(n),l=Bg(r),c=t(a),p=Ju(c?.className,o?.className,i,r?.className,n?.className),d={...c?.style,...o?.style,...r?.style,...n?.style},u={...c,...o,...l,...s};return p.length>0&&(u.className=p),Object.keys(d).length>0&&(u.style=d),{props:u,internalRef:c.ref}}function Dg(e,t){const{className:o,elementType:n,ownerState:r,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1,...l}=t,{component:c,slots:p={[e]:void 0},slotProps:d={[e]:void 0},...u}=i,f=p[e]||n,m=Ig(d[e],r),{props:{component:h,...g},internalRef:y}=Lg({className:o,...l,externalForwardedProps:"root"===e?u:void 0,externalSlotProps:m}),b=qh(y,m?.ref,t.ref),v="root"===e?h||c:h;return[f,$g(f,{..."root"===e&&!c&&!p[e]&&a,..."root"!==e&&!p[e]&&a,...g,...v&&!s&&{as:v},...v&&s&&{component:v},ref:b},r)]}function zg(e){return tf("MuiCollapse",e)}of("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Vg=Eh("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],"entered"===o.state&&t.entered,"exited"===o.state&&!o.in&&"0px"===o.collapsedSize&&t.hidden]}})(Rh(({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:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]}))),Fg=Eh("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Wg=Eh("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),_g=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiCollapse"}),{addEndListener:r,children:i,className:a,collapsedSize:s="0px",component:c,easing:p,in:d,onEnter:u,onEntered:f,onEntering:m,onExit:h,onExited:g,onExiting:y,orientation:b="vertical",slots:v={},slotProps:x={},style:w,timeout:S=oh.standard,TransitionComponent:T=sg,...O}=n,j={...n,orientation:b,collapsedSize:s},C=(e=>{const{orientation:t,classes:o}=e;return am({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},zg,o)})(j),k=jh(),E=Eg(),P=l.useRef(null),N=l.useRef(),R="number"==typeof s?`${s}px`:s,M="horizontal"===b,$=M?"width":"height",I=l.useRef(null),A=qh(o,I),B=e=>t=>{if(e){const o=I.current;void 0===t?e(o):e(o,t)}},L=()=>P.current?P.current[M?"clientWidth":"clientHeight"]:0,D=B((e,t)=>{P.current&&M&&(P.current.style.position="absolute"),e.style[$]=R,u&&u(e,t)}),z=B((e,t)=>{const o=L();P.current&&M&&(P.current.style.position="");const{duration:n,easing:r}=Rg({style:w,timeout:S,easing:p},{mode:"enter"});if("auto"===S){const t=k.transitions.getAutoHeightDuration(o);e.style.transitionDuration=`${t}ms`,N.current=t}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[$]=`${o}px`,e.style.transitionTimingFunction=r,m&&m(e,t)}),V=B((e,t)=>{e.style[$]="auto",f&&f(e,t)}),F=B(e=>{e.style[$]=`${L()}px`,h&&h(e)}),W=B(g),_=B(e=>{const t=L(),{duration:o,easing:n}=Rg({style:w,timeout:S,easing:p},{mode:"exit"});if("auto"===S){const o=k.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${o}ms`,N.current=o}else e.style.transitionDuration="string"==typeof o?o:`${o}ms`;e.style[$]=R,e.style.transitionTimingFunction=n,y&&y(e)}),H={slots:v,slotProps:x,component:c},[q,U]=Dg("root",{ref:A,className:Ju(C.root,a),elementType:Vg,externalForwardedProps:H,ownerState:j,additionalProps:{style:{[M?"minWidth":"minHeight"]:R,...w}}}),[G,K]=Dg("wrapper",{ref:P,className:C.wrapper,elementType:Fg,externalForwardedProps:H,ownerState:j}),[X,Y]=Dg("wrapperInner",{className:C.wrapperInner,elementType:Wg,externalForwardedProps:H,ownerState:j});return e.jsx(T,{in:d,onEnter:D,onEntered:V,onEntering:z,onExit:F,onExited:W,onExiting:_,addEndListener:e=>{"auto"===S&&E.start(N.current||0,e),r&&r(I.current,e)},nodeRef:I,timeout:"auto"===S?null:S,...O,children:(t,{ownerState:o,...n})=>{const r={...j,state:t};return e.jsx(q,{...U,className:Ju(U.className,{entered:C.entered,exited:!d&&"0px"===R&&C.hidden}[t]),ownerState:r,...n,children:e.jsx(G,{...K,ownerState:r,children:e.jsx(X,{...Y,ownerState:r,children:i})})})}})});function Hg(e,t,o,n){const r=e[t];if(null==r||!Number.isInteger(r)){const e=function(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return null===e?"null":e.constructor.name;default:return t}}(r);return new RangeError(`Invalid ${n} \`${t}\` of type \`${e}\` supplied to \`${o}\`, expected \`integer\`.`)}return null}function qg(e,t,o,n){return void 0===e[t]?null:Hg(e,t,o,n)}function Ug(){return null}"production"!==process.env.NODE_ENV&&(_g.propTypes={addEndListener:Kc.func,children:Kc.node,classes:Kc.object,className:Kc.string,collapsedSize:Kc.oneOfType([Kc.number,Kc.string]),component:Pg,easing:Kc.oneOfType([Kc.shape({enter:Kc.string,exit:Kc.string}),Kc.string]),in:Kc.bool,onEnter:Kc.func,onEntered:Kc.func,onEntering:Kc.func,onExit:Kc.func,onExited:Kc.func,onExiting:Kc.func,orientation:Kc.oneOf(["horizontal","vertical"]),slotProps:Kc.shape({root:Kc.oneOfType([Kc.func,Kc.object]),wrapper:Kc.oneOfType([Kc.func,Kc.object]),wrapperInner:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({root:Kc.elementType,wrapper:Kc.elementType,wrapperInner:Kc.elementType}),style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),timeout:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})])}),_g&&(_g.muiSupportAuto=!0),qg.isRequired=Hg,Ug.isRequired=Ug;const Gg="production"===process.env.NODE_ENV?Ug:qg;function Kg(e){return tf("MuiPaper",e)}of("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Xg=Eh("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,"elevation"===o.variant&&t[`elevation${o.elevation}`]]}})(Rh(({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:e})=>!e.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)"}}]}))),Yg=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiPaper"}),r=jh(),{className:i,component:a="div",elevation:s=1,square:l=!1,variant:c="elevation",...p}=n,d={...n,component:a,elevation:s,square:l,variant:c},u=(e=>{const{square:t,elevation:o,variant:n,classes:r}=e;return am({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${o}`]},Kg,r)})(d);return"production"!==process.env.NODE_ENV&&r.shadows[s],e.jsx(Xg,{as:a,ownerState:d,className:Ju(u.root,i),ref:o,...p,style:{..."elevation"===c&&{"--Paper-shadow":(r.vars||r).shadows[s],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[s]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${Pf("#fff",dh(s))}, ${Pf("#fff",dh(s))})`}},...p.style}})});"production"!==process.env.NODE_ENV&&(Yg.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,elevation:Gh(Gg,e=>{const{elevation:t,variant:o}=e;return t>0&&"outlined"===o?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${o}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:Kc.bool,style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["elevation","outlined"]),Kc.string])});const Zg=l.createContext({});function Jg(e){return tf("MuiAccordion",e)}"production"!==process.env.NODE_ENV&&(Zg.displayName="AccordionContext");const Qg=of("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),ey=Eh(Yg,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Qg.region}`]:t.region},t.root,!o.square&&t.rounded,!o.disableGutters&&t.gutters]}})(Rh(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${Qg.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Qg.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),Rh(({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${Qg.expanded}`]:{margin:"16px 0"}}}]}))),ty=Eh("h3",{name:"MuiAccordion",slot:"Heading"})({all:"unset"}),oy=Eh("div",{name:"MuiAccordion",slot:"Region"})({}),ny=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAccordion"}),{children:r,className:i,defaultExpanded:a=!1,disabled:s=!1,disableGutters:c=!1,expanded:p,onChange:d,slots:u={},slotProps:f={},TransitionComponent:m,TransitionProps:h,...g}=n,[y,b]=_h({controlled:p,default:a,name:"Accordion",state:"expanded"}),v=l.useCallback(e=>{b(!y),d&&d(e,!y)},[y,d,b]),[x,...w]=l.Children.toArray(r),S=l.useMemo(()=>({expanded:y,disabled:s,disableGutters:c,toggle:v}),[y,s,c,v]),T={...n,disabled:s,disableGutters:c,expanded:y},O=(e=>{const{classes:t,square:o,expanded:n,disabled:r,disableGutters:i}=e;return am({root:["root",!o&&"rounded",n&&"expanded",r&&"disabled",!i&&"gutters"],heading:["heading"],region:["region"]},Jg,t)})(T),j={slots:{transition:m,...u},slotProps:{transition:h,...f}},[C,k]=Dg("root",{elementType:ey,externalForwardedProps:{...j,...g},className:Ju(O.root,i),shouldForwardComponentProp:!0,ownerState:T,ref:o}),[E,P]=Dg("heading",{elementType:ty,externalForwardedProps:j,className:O.heading,ownerState:T}),[N,R]=Dg("transition",{elementType:_g,externalForwardedProps:j,ownerState:T}),[M,$]=Dg("region",{elementType:oy,externalForwardedProps:j,ownerState:T,className:O.region,additionalProps:{"aria-labelledby":x.props.id,id:x.props["aria-controls"],role:"region"}});return e.jsxs(C,{...k,children:[e.jsx(E,{...P,children:e.jsx(Zg.Provider,{value:S,children:x})}),e.jsx(N,{in:y,timeout:"auto",...R,children:e.jsx(M,{...$,children:w})})]})});function ry(e){return tf("MuiAccordionActions",e)}"production"!==process.env.NODE_ENV&&(ny.propTypes={children:Gh(Kc.node.isRequired,e=>{const t=l.Children.toArray(e.children)[0];return Kp.isFragment(t)?new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead."):l.isValidElement(t)?null:new Error("MUI: Expected the first child of Accordion to be a valid element.")}),classes:Kc.object,className:Kc.string,defaultExpanded:Kc.bool,disabled:Kc.bool,disableGutters:Kc.bool,expanded:Kc.bool,onChange:Kc.func,slotProps:Kc.shape({heading:Kc.oneOfType([Kc.func,Kc.object]),region:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({heading:Kc.elementType,region:Kc.elementType,root:Kc.elementType,transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),TransitionComponent:Kc.elementType,TransitionProps:Kc.object}),of("MuiAccordionActions",["root","spacing"]);const iy=Eh("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",variants:[{props:e=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),ay=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAccordionActions"}),{className:r,disableSpacing:i=!1,...a}=n,s={...n,disableSpacing:i},l=(e=>{const{classes:t,disableSpacing:o}=e;return am({root:["root",!o&&"spacing"]},ry,t)})(s);return e.jsx(iy,{className:Ju(l.root,r),ref:o,ownerState:s,...a})});function sy(e){return tf("MuiAccordionDetails",e)}"production"!==process.env.NODE_ENV&&(ay.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,disableSpacing:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiAccordionDetails",["root"]);const ly=Eh("div",{name:"MuiAccordionDetails",slot:"Root"})(Rh(({theme:e})=>({padding:e.spacing(1,2,2)}))),cy=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAccordionDetails"}),{className:r,...i}=n,a=n,s=(e=>{const{classes:t}=e;return am({root:["root"]},sy,t)})(a);return e.jsx(ly,{className:Ju(s.root,r),ref:o,ownerState:a,...i})});"production"!==process.env.NODE_ENV&&(cy.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const py=Kc.oneOfType([Kc.func,Kc.object]);function dy(e){try{return e.matches(":focus-visible")}catch(e){"production"!==process.env.NODE_ENV&&window.navigator.userAgent.includes("jsdom")}return!1}class uy{static create(){return new uy}static use(){const e=jg(uy.create).current,[t,o]=l.useState(!1);return e.shouldMount=t,e.setShouldMount=o,l.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const o=new Promise((o,n)=>{e=o,t=n});return o.resolve=e,o.reject=t,o}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function fy(t){const{className:o,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:s,in:c,onExited:p,timeout:d}=t,[u,f]=l.useState(!1),m=Ju(o,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:s,height:s,top:-s/2+a,left:-s/2+i},g=Ju(n.child,u&&n.childLeaving,r&&n.childPulsate);return c||u||f(!0),l.useEffect(()=>{if(!c&&null!=p){const e=setTimeout(p,d);return()=>{clearTimeout(e)}}},[p,c,d]),e.jsx("span",{className:m,style:h,children:e.jsx("span",{className:g})})}"production"!==process.env.NODE_ENV&&(fy.propTypes={classes:Kc.object.isRequired,className:Kc.string,in:Kc.bool,onExited:Kc.func,pulsate:Kc.bool,rippleSize:Kc.number,rippleX:Kc.number,rippleY:Kc.number,timeout:Kc.number.isRequired});const my=of("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),hy=Vc`
|
|
43
|
+
0% {
|
|
44
|
+
transform: scale(0);
|
|
45
|
+
opacity: 0.1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
100% {
|
|
49
|
+
transform: scale(1);
|
|
50
|
+
opacity: 0.3;
|
|
51
|
+
}
|
|
52
|
+
`,gy=Vc`
|
|
53
|
+
0% {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
100% {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
}
|
|
60
|
+
`,yy=Vc`
|
|
61
|
+
0% {
|
|
62
|
+
transform: scale(1);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
50% {
|
|
66
|
+
transform: scale(0.92);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
100% {
|
|
70
|
+
transform: scale(1);
|
|
71
|
+
}
|
|
72
|
+
`,by=Eh("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),vy=Eh(fy,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
73
|
+
opacity: 0;
|
|
74
|
+
position: absolute;
|
|
75
|
+
|
|
76
|
+
&.${my.rippleVisible} {
|
|
77
|
+
opacity: 0.3;
|
|
78
|
+
transform: scale(1);
|
|
79
|
+
animation-name: ${hy};
|
|
80
|
+
animation-duration: ${550}ms;
|
|
81
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.${my.ripplePulsate} {
|
|
85
|
+
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
& .${my.child} {
|
|
89
|
+
opacity: 1;
|
|
90
|
+
display: block;
|
|
91
|
+
width: 100%;
|
|
92
|
+
height: 100%;
|
|
93
|
+
border-radius: 50%;
|
|
94
|
+
background-color: currentColor;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
& .${my.childLeaving} {
|
|
98
|
+
opacity: 0;
|
|
99
|
+
animation-name: ${gy};
|
|
100
|
+
animation-duration: ${550}ms;
|
|
101
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
& .${my.childPulsate} {
|
|
105
|
+
position: absolute;
|
|
106
|
+
/* @noflip */
|
|
107
|
+
left: 0px;
|
|
108
|
+
top: 0;
|
|
109
|
+
animation-name: ${yy};
|
|
110
|
+
animation-duration: 2500ms;
|
|
111
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
112
|
+
animation-iteration-count: infinite;
|
|
113
|
+
animation-delay: 200ms;
|
|
114
|
+
}
|
|
115
|
+
`,xy=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTouchRipple"}),{center:r=!1,classes:i={},className:a,...s}=n,[c,p]=l.useState([]),d=l.useRef(0),u=l.useRef(null);l.useEffect(()=>{u.current&&(u.current(),u.current=null)},[c]);const f=l.useRef(!1),m=Eg(),h=l.useRef(null),g=l.useRef(null),y=l.useCallback(t=>{const{pulsate:o,rippleX:n,rippleY:r,rippleSize:a,cb:s}=t;p(t=>[...t,e.jsx(vy,{classes:{ripple:Ju(i.ripple,my.ripple),rippleVisible:Ju(i.rippleVisible,my.rippleVisible),ripplePulsate:Ju(i.ripplePulsate,my.ripplePulsate),child:Ju(i.child,my.child),childLeaving:Ju(i.childLeaving,my.childLeaving),childPulsate:Ju(i.childPulsate,my.childPulsate)},timeout:550,pulsate:o,rippleX:n,rippleY:r,rippleSize:a},d.current)]),d.current+=1,u.current=s},[i]),b=l.useCallback((e={},t={},o=()=>{})=>{const{pulsate:n=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e?.type&&f.current)return void(f.current=!1);"touchstart"===e?.type&&(f.current=!0);const s=a?null:g.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,p,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),p=Math.round(l.height/2);else{const{clientX:t,clientY:o}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),p=Math.round(o-l.top)}if(i)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-p),p)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===h.current&&(h.current=()=>{y({pulsate:n,rippleX:c,rippleY:p,rippleSize:d,cb:o})},m.start(80,()=>{h.current&&(h.current(),h.current=null)})):y({pulsate:n,rippleX:c,rippleY:p,rippleSize:d,cb:o})},[r,y,m]),v=l.useCallback(()=>{b({},{pulsate:!0})},[b]),x=l.useCallback((e,t)=>{if(m.clear(),"touchend"===e?.type&&h.current)return h.current(),h.current=null,void m.start(0,()=>{x(e,t)});h.current=null,p(e=>e.length>0?e.slice(1):e),u.current=t},[m]);return l.useImperativeHandle(o,()=>({pulsate:v,start:b,stop:x}),[v,b,x]),e.jsx(by,{className:Ju(my.root,i.root,a),ref:g,...s,children:e.jsx(yg,{component:null,exit:!0,children:c})})});function wy(e){return tf("MuiButtonBase",e)}"production"!==process.env.NODE_ENV&&(xy.propTypes={center:Kc.bool,classes:Kc.object,className:Kc.string});const Sy=of("MuiButtonBase",["root","disabled","focusVisible"]),Ty=Eh("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Sy.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Oy=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiButtonBase"}),{action:r,centerRipple:i=!1,children:a,className:s,component:c="button",disabled:p=!1,disableRipple:d=!1,disableTouchRipple:u=!1,focusRipple:f=!1,focusVisibleClassName:m,LinkComponent:h="a",onBlur:g,onClick:y,onContextMenu:b,onDragLeave:v,onFocus:x,onFocusVisible:w,onKeyDown:S,onKeyUp:T,onMouseDown:O,onMouseLeave:j,onMouseUp:C,onTouchEnd:k,onTouchMove:E,onTouchStart:P,tabIndex:N=0,TouchRippleProps:R,touchRippleRef:M,type:$,...I}=n,A=l.useRef(null),B=uy.use(),L=qh(B.ref,M),[D,z]=l.useState(!1);p&&D&&z(!1),l.useImperativeHandle(r,()=>({focusVisible:()=>{z(!0),A.current.focus()}}),[]);const V=B.shouldMount&&!d&&!p;l.useEffect(()=>{D&&f&&!d&&B.pulsate()},[d,f,D,B]);const F=jy(B,"start",O,u),W=jy(B,"stop",b,u),_=jy(B,"stop",v,u),H=jy(B,"stop",C,u),q=jy(B,"stop",e=>{D&&e.preventDefault(),j&&j(e)},u),U=jy(B,"start",P,u),G=jy(B,"stop",k,u),K=jy(B,"stop",E,u),X=jy(B,"stop",e=>{dy(e.target)||z(!1),g&&g(e)},!1),Y=Hh(e=>{A.current||(A.current=e.currentTarget),dy(e.target)&&(z(!0),w&&w(e)),x&&x(e)}),Z=()=>{const e=A.current;return c&&"button"!==c&&!("A"===e.tagName&&e.href)},J=Hh(e=>{f&&!e.repeat&&D&&" "===e.key&&B.stop(e,()=>{B.start(e)}),e.target===e.currentTarget&&Z()&&" "===e.key&&e.preventDefault(),S&&S(e),e.target===e.currentTarget&&Z()&&"Enter"===e.key&&!p&&(e.preventDefault(),y&&y(e))}),Q=Hh(e=>{f&&" "===e.key&&D&&!e.defaultPrevented&&B.stop(e,()=>{B.pulsate(e)}),T&&T(e),y&&e.target===e.currentTarget&&Z()&&" "===e.key&&!e.defaultPrevented&&y(e)});let ee=c;"button"===ee&&(I.href||I.to)&&(ee=h);const te={};if("button"===ee){const e=!!I.formAction;te.type=void 0!==$||e?$:"button",te.disabled=p}else I.href||I.to||(te.role="button"),p&&(te["aria-disabled"]=p);const oe=qh(o,A),ne={...n,centerRipple:i,component:c,disabled:p,disableRipple:d,disableTouchRipple:u,focusRipple:f,tabIndex:N,focusVisible:D},re=(e=>{const{disabled:t,focusVisible:o,focusVisibleClassName:n,classes:r}=e,i=am({root:["root",t&&"disabled",o&&"focusVisible"]},wy,r);return o&&n&&(i.root+=` ${n}`),i})(ne);return e.jsxs(Ty,{as:ee,className:Ju(re.root,s),ownerState:ne,onBlur:X,onClick:y,onContextMenu:W,onFocus:Y,onKeyDown:J,onKeyUp:Q,onMouseDown:F,onMouseLeave:q,onMouseUp:H,onDragLeave:_,onTouchEnd:G,onTouchMove:K,onTouchStart:U,ref:oe,tabIndex:p?-1:N,type:$,...te,...I,children:[a,V?e.jsx(xy,{ref:L,center:i,...R}):null]})});function jy(e,t,o,n=!1){return Hh(r=>(o&&o(r),n||e[t](r),!0))}function Cy(e){return tf("MuiAccordionSummary",e)}"production"!==process.env.NODE_ENV&&(Oy.propTypes={action:py,centerRipple:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,component:Pg,disabled:Kc.bool,disableRipple:Kc.bool,disableTouchRipple:Kc.bool,focusRipple:Kc.bool,focusVisibleClassName:Kc.string,formAction:Kc.oneOfType([Kc.func,Kc.string]),href:Kc.any,LinkComponent:Kc.elementType,onBlur:Kc.func,onClick:Kc.func,onContextMenu:Kc.func,onDragLeave:Kc.func,onFocus:Kc.func,onFocusVisible:Kc.func,onKeyDown:Kc.func,onKeyUp:Kc.func,onMouseDown:Kc.func,onMouseLeave:Kc.func,onMouseUp:Kc.func,onTouchEnd:Kc.func,onTouchMove:Kc.func,onTouchStart:Kc.func,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),tabIndex:Kc.number,TouchRippleProps:Kc.object,touchRippleRef:Kc.oneOfType([Kc.func,Kc.shape({current:Kc.shape({pulsate:Kc.func.isRequired,start:Kc.func.isRequired,stop:Kc.func.isRequired})})]),type:Kc.oneOfType([Kc.oneOf(["button","reset","submit"]),Kc.string])});const ky=of("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),Ey=Eh(Oy,{name:"MuiAccordionSummary",slot:"Root"})(Rh(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${ky.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ky.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${ky.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${ky.expanded}`]:{minHeight:64}}}]}})),Py=Eh("span",{name:"MuiAccordionSummary",slot:"Content"})(Rh(({theme:e})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${ky.expanded}`]:{margin:"20px 0"}}}]}))),Ny=Eh("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper"})(Rh(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${ky.expanded}`]:{transform:"rotate(180deg)"}}))),Ry=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAccordionSummary"}),{children:r,className:i,expandIcon:a,focusVisibleClassName:s,onClick:c,slots:p,slotProps:d,...u}=n,{disabled:f=!1,disableGutters:m,expanded:h,toggle:g}=l.useContext(Zg),y={...n,expanded:h,disabled:f,disableGutters:m},b=(e=>{const{classes:t,expanded:o,disabled:n,disableGutters:r}=e;return am({root:["root",o&&"expanded",n&&"disabled",!r&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!r&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]},Cy,t)})(y),v={slots:p,slotProps:d},[x,w]=Dg("root",{ref:o,shouldForwardComponentProp:!0,className:Ju(b.root,i),elementType:Ey,externalForwardedProps:{...v,...u},ownerState:y,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:f,"aria-expanded":h,focusVisibleClassName:Ju(b.focusVisible,s)},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),(e=>{g&&g(e),c&&c(e)})(t)}})}),[S,T]=Dg("content",{className:b.content,elementType:Py,externalForwardedProps:v,ownerState:y}),[O,j]=Dg("expandIconWrapper",{className:b.expandIconWrapper,elementType:Ny,externalForwardedProps:v,ownerState:y});return e.jsxs(x,{...w,children:[e.jsx(S,{...T,children:r}),a&&e.jsx(O,{...j,children:a})]})});function My(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const o of t)if(!e.hasOwnProperty(o)||"string"!=typeof e[o])return!1;return!0}(t,e)}function $y(e){return tf("MuiAlert",e)}"production"!==process.env.NODE_ENV&&(Ry.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,expandIcon:Kc.node,focusVisibleClassName:Kc.string,onClick:Kc.func,slotProps:Kc.shape({content:Kc.oneOfType([Kc.func,Kc.object]),expandIconWrapper:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({content:Kc.elementType,expandIconWrapper:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const Iy=of("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Ay(e){return tf("MuiCircularProgress",e)}of("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const By=44,Ly=Vc`
|
|
116
|
+
0% {
|
|
117
|
+
transform: rotate(0deg);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
100% {
|
|
121
|
+
transform: rotate(360deg);
|
|
122
|
+
}
|
|
123
|
+
`,Dy=Vc`
|
|
124
|
+
0% {
|
|
125
|
+
stroke-dasharray: 1px, 200px;
|
|
126
|
+
stroke-dashoffset: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
50% {
|
|
130
|
+
stroke-dasharray: 100px, 200px;
|
|
131
|
+
stroke-dashoffset: -15px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
100% {
|
|
135
|
+
stroke-dasharray: 1px, 200px;
|
|
136
|
+
stroke-dashoffset: -126px;
|
|
137
|
+
}
|
|
138
|
+
`,zy="string"!=typeof Ly?zc`
|
|
139
|
+
animation: ${Ly} 1.4s linear infinite;
|
|
140
|
+
`:null,Vy="string"!=typeof Dy?zc`
|
|
141
|
+
animation: ${Dy} 1.4s ease-in-out infinite;
|
|
142
|
+
`:null,Fy=Eh("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`color${Ed(o.color)}`]]}})(Rh(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:zy||{animation:`${Ly} 1.4s linear infinite`}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Wy=Eh("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),_y=Eh("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.circle,t[`circle${Ed(o.variant)}`],o.disableShrink&&t.circleDisableShrink]}})(Rh(({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:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:Vy||{animation:`${Dy} 1.4s ease-in-out infinite`}}]}))),Hy=Eh("circle",{name:"MuiCircularProgress",slot:"Track"})(Rh(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),qy=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiCircularProgress"}),{className:r,color:i="primary",disableShrink:a=!1,enableTrackSlot:s=!1,size:l=40,style:c,thickness:p=3.6,value:d=0,variant:u="indeterminate",...f}=n,m={...n,color:i,disableShrink:a,size:l,thickness:p,value:d,variant:u,enableTrackSlot:s},h=(e=>{const{classes:t,variant:o,color:n,disableShrink:r}=e;return am({root:["root",o,`color${Ed(n)}`],svg:["svg"],track:["track"],circle:["circle",`circle${Ed(o)}`,r&&"circleDisableShrink"]},Ay,t)})(m),g={},y={},b={};if("determinate"===u){const e=2*Math.PI*((By-p)/2);g.strokeDasharray=e.toFixed(3),b["aria-valuenow"]=Math.round(d),g.strokeDashoffset=`${((100-d)/100*e).toFixed(3)}px`,y.transform="rotate(-90deg)"}return e.jsx(Fy,{className:Ju(h.root,r),style:{width:l,height:l,...y,...c},ownerState:m,ref:o,role:"progressbar",...b,...f,children:e.jsxs(Wy,{className:h.svg,ownerState:m,viewBox:"22 22 44 44",children:[s?e.jsx(Hy,{className:h.track,ownerState:m,cx:By,cy:By,r:(By-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,e.jsx(_y,{className:h.circle,style:g,ownerState:m,cx:By,cy:By,r:(By-p)/2,fill:"none",strokeWidth:p})]})})});function Uy(e){return tf("MuiIconButton",e)}"production"!==process.env.NODE_ENV&&(qy.propTypes={classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["inherit","primary","secondary","error","info","success","warning"]),Kc.string]),disableShrink:Gh(Kc.bool,e=>e.disableShrink&&e.variant&&"indeterminate"!==e.variant?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),enableTrackSlot:Kc.bool,size:Kc.oneOfType([Kc.number,Kc.string]),style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),thickness:Kc.number,value:Kc.number,variant:Kc.oneOf(["determinate","indeterminate"])});const Gy=of("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Ky=Eh(Oy,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.loading&&t.loading,"default"!==o.color&&t[`color${Ed(o.color)}`],o.edge&&t[`edge${Ed(o.edge)}`],t[`size${Ed(o.size)}`]]}})(Rh(({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:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Rh(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Gy.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Gy.loading}`]:{color:"transparent"}}))),Xy=Eh("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Yy=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiIconButton"}),{edge:r=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:p="medium",id:d,loading:u=null,loadingIndicator:f,...m}=n,h=Yf(d),g=f??e.jsx(qy,{"aria-labelledby":h,color:"inherit",size:16}),y={...n,edge:r,color:s,disabled:l,disableFocusRipple:c,loading:u,loadingIndicator:g,size:p},b=(e=>{const{classes:t,disabled:o,color:n,edge:r,size:i,loading:a}=e;return am({root:["root",a&&"loading",o&&"disabled","default"!==n&&`color${Ed(n)}`,r&&`edge${Ed(r)}`,`size${Ed(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Uy,t)})(y);return e.jsxs(Ky,{id:u?h:d,className:Ju(b.root,a),centerRipple:!0,focusRipple:!c,disabled:l||u,ref:o,...m,ownerState:y,children:["boolean"==typeof u&&e.jsx("span",{className:b.loadingWrapper,style:{display:"contents"},children:e.jsx(Xy,{className:b.loadingIndicator,ownerState:y,children:u&&g})}),i]})});"production"!==process.env.NODE_ENV&&(Yy.propTypes={children:Gh(Kc.node,e=>l.Children.toArray(e.children).some(e=>l.isValidElement(e)&&e.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join("\n")):null),classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),Kc.string]),disabled:Kc.bool,disableFocusRipple:Kc.bool,disableRipple:Kc.bool,edge:Kc.oneOf(["end","start",!1]),id:Kc.string,loading:Kc.bool,loadingIndicator:Kc.node,size:Kc.oneOfType([Kc.oneOf(["small","medium","large"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});var Zy=Bh(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"),Jy=Bh(e.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Qy=Bh(e.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"),eb=Bh(e.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"),tb=Bh(e.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");const ob=Eh(Yg,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${Ed(o.color||o.severity)}`]]}})(Rh(({theme:e})=>{const t="light"===e.palette.mode?e.darken:e.lighten,o="light"===e.palette.mode?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(My(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:o(e.palette[n].light,.9),[`& .${Iy.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(My(["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}`,[`& .${Iy.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(My(["dark"])).map(([t])=>({props:{colorSeverity:t,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}}))]}})),nb=Eh("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),rb=Eh("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),ib=Eh("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),ab={success:e.jsx(Zy,{fontSize:"inherit"}),warning:e.jsx(Jy,{fontSize:"inherit"}),error:e.jsx(Qy,{fontSize:"inherit"}),info:e.jsx(eb,{fontSize:"inherit"})},sb=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAlert"}),{action:r,children:i,className:a,closeText:s="Close",color:l,components:c={},componentsProps:p={},icon:d,iconMapping:u=ab,onClose:f,role:m="alert",severity:h="success",slotProps:g={},slots:y={},variant:b="standard",...v}=n,x={...n,color:l,severity:h,variant:b,colorSeverity:l||h},w=(e=>{const{variant:t,color:o,severity:n,classes:r}=e;return am({root:["root",`color${Ed(o||n)}`,`${t}${Ed(o||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]},$y,r)})(x),S={slots:{closeButton:c.CloseButton,closeIcon:c.CloseIcon,...y},slotProps:{...p,...g}},[T,O]=Dg("root",{ref:o,shouldForwardComponentProp:!0,className:Ju(w.root,a),elementType:ob,externalForwardedProps:{...S,...v},ownerState:x,additionalProps:{role:m,elevation:0}}),[j,C]=Dg("icon",{className:w.icon,elementType:nb,externalForwardedProps:S,ownerState:x}),[k,E]=Dg("message",{className:w.message,elementType:rb,externalForwardedProps:S,ownerState:x}),[P,N]=Dg("action",{className:w.action,elementType:ib,externalForwardedProps:S,ownerState:x}),[R,M]=Dg("closeButton",{elementType:Yy,externalForwardedProps:S,ownerState:x}),[$,I]=Dg("closeIcon",{elementType:tb,externalForwardedProps:S,ownerState:x});return e.jsxs(T,{...O,children:[!1!==d?e.jsx(j,{...C,children:d||u[h]}):null,e.jsx(k,{...E,children:i}),null!=r?e.jsx(P,{...N,children:r}):null,null==r&&f?e.jsx(P,{...N,children:e.jsx(R,{size:"small","aria-label":s,title:s,color:"inherit",onClick:f,...M,children:e.jsx($,{fontSize:"small",...I})})}):null]})});function lb(e){return tf("MuiTypography",e)}"production"!==process.env.NODE_ENV&&(sb.propTypes={action:Kc.node,children:Kc.node,classes:Kc.object,className:Kc.string,closeText:Kc.string,color:Kc.oneOfType([Kc.oneOf(["error","info","success","warning"]),Kc.string]),components:Kc.shape({CloseButton:Kc.elementType,CloseIcon:Kc.elementType}),componentsProps:Kc.shape({closeButton:Kc.object,closeIcon:Kc.object}),icon:Kc.node,iconMapping:Kc.shape({error:Kc.node,info:Kc.node,success:Kc.node,warning:Kc.node}),onClose:Kc.func,role:Kc.string,severity:Kc.oneOfType([Kc.oneOf(["error","info","success","warning"]),Kc.string]),slotProps:Kc.shape({action:Kc.oneOfType([Kc.func,Kc.object]),closeButton:Kc.oneOfType([Kc.func,Kc.object]),closeIcon:Kc.oneOfType([Kc.func,Kc.object]),icon:Kc.oneOfType([Kc.func,Kc.object]),message:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({action:Kc.elementType,closeButton:Kc.elementType,closeIcon:Kc.elementType,icon:Kc.elementType,message:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["filled","outlined","standard"]),Kc.string])});const cb=of("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),pb={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},db=Uu,ub=Eh("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],"inherit"!==o.align&&t[`align${Ed(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom,o.paragraph&&t.paragraph]}})(Rh(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${Ed(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),fb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},mb=l.forwardRef(function(t,o){const{color:n,...r}=Mh({props:t,name:"MuiTypography"}),i=db({...r,...!pb[n]&&{color:n}}),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:p=!1,paragraph:d=!1,variant:u="body1",variantMapping:f=fb,...m}=i,h={...i,align:a,color:n,className:s,component:l,gutterBottom:c,noWrap:p,paragraph:d,variant:u,variantMapping:f},g=l||(d?"p":f[u]||fb[u])||"span",y=(e=>{const{align:t,gutterBottom:o,noWrap:n,paragraph:r,variant:i,classes:a}=e;return am({root:["root",i,"inherit"!==e.align&&`align${Ed(t)}`,o&&"gutterBottom",n&&"noWrap",r&&"paragraph"]},lb,a)})(h);return e.jsx(ub,{as:g,ref:o,className:Ju(y.root,s),...m,ownerState:h,style:{..."inherit"!==a&&{"--Typography-textAlign":a},...m.style}})});function hb(e){return tf("MuiAlertTitle",e)}"production"!==process.env.NODE_ENV&&(mb.propTypes={align:Kc.oneOf(["center","inherit","justify","left","right"]),children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),Kc.string]),component:Kc.elementType,gutterBottom:Kc.bool,noWrap:Kc.bool,paragraph:Kc.bool,style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),Kc.string]),variantMapping:Kc.object}),of("MuiAlertTitle",["root"]);const gb=Eh(mb,{name:"MuiAlertTitle",slot:"Root"})(Rh(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),yb=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAlertTitle"}),{className:r,...i}=n,a=n,s=(e=>{const{classes:t}=e;return am({root:["root"]},hb,t)})(a);return e.jsx(gb,{gutterBottom:!0,component:"div",ownerState:a,ref:o,className:Ju(s.root,r),...i})});function bb(e){return tf("MuiAppBar",e)}"production"!==process.env.NODE_ENV&&(yb.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const vb=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,xb=Eh(Yg,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${Ed(o.position)}`],t[`color${Ed(o.color)}`]]}})(Rh(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit",color:"var(--AppBar-color)"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(My(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:e=>!0===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>!1===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?vb(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?vb(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),wb=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAppBar"}),{className:r,color:i="primary",enableColorOnDark:a=!1,position:s="fixed",...l}=n,c={...n,color:i,position:s,enableColorOnDark:a},p=(e=>{const{color:t,position:o,classes:n}=e;return am({root:["root",`color${Ed(t)}`,`position${Ed(o)}`]},bb,n)})(c);return e.jsx(xb,{square:!0,component:"header",ownerState:c,elevation:4,className:Ju(p.root,r,"fixed"===s&&"mui-fixed"),ref:o,...l})});function Sb(e){const t=l.useRef({});return l.useEffect(()=>{t.current=e}),t.current}function Tb({array1:e,array2:t,parser:o=e=>e}){return e&&t&&e.length===t.length&&e.every((e,n)=>o(e)===o(t[n]))}function Ob(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}"production"!==process.env.NODE_ENV&&(wb.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["default","inherit","primary","secondary","transparent","error","info","success","warning"]),Kc.string]),elevation:Kc.number,enableColorOnDark:Kc.bool,position:Kc.oneOf(["absolute","fixed","relative","static","sticky"]),square:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const jb=function(e={}){const{ignoreAccents:t=!0,ignoreCase:o=!0,limit:n,matchFrom:r="any",stringify:i,trim:a=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=a?s.trim():s;o&&(c=c.toLowerCase()),t&&(c=Ob(c));const p=c?e.filter(e=>{let n=(i||l)(e);return o&&(n=n.toLowerCase()),t&&(n=Ob(n)),"start"===r?n.startsWith(c):n.includes(c)}):e;return"number"==typeof n?p.slice(0,n):p}}(),Cb=e=>null!==e.current&&e.current.parentElement?.contains(document.activeElement),kb=[];function Eb(e,t,o,n){if(t||null==e||n)return"";const r=o(e);return"string"==typeof r?r:""}function Pb(e,t,o,n,r){if("production"===process.env.NODE_ENV)return null;const i=e[t],a=r||t;return null==i?null:i&&1!==i.nodeType?new Error(`Invalid ${n} \`${a}\` supplied to \`${o}\`. Expected an HTMLElement.`):null}var Nb="top",Rb="bottom",Mb="right",$b="left",Ib="auto",Ab=[Nb,Rb,Mb,$b],Bb="start",Lb="end",Db="viewport",zb="popper",Vb=Ab.reduce(function(e,t){return e.concat([t+"-"+Bb,t+"-"+Lb])},[]),Fb=[].concat(Ab,[Ib]).reduce(function(e,t){return e.concat([t,t+"-"+Bb,t+"-"+Lb])},[]),Wb=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _b(e){return e?(e.nodeName||"").toLowerCase():null}function Hb(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function qb(e){return e instanceof Hb(e).Element||e instanceof Element}function Ub(e){return e instanceof Hb(e).HTMLElement||e instanceof HTMLElement}function Gb(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Hb(e).ShadowRoot||e instanceof ShadowRoot)}var Kb={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];Ub(r)&&_b(r)&&(Object.assign(r.style,o),Object.keys(n).forEach(function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce(function(e,t){return e[t]="",e},{});Ub(n)&&_b(n)&&(Object.assign(n.style,i),Object.keys(r).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]};function Xb(e){return e.split("-")[0]}var Yb=Math.max,Zb=Math.min,Jb=Math.round;function Qb(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function ev(){return!/^((?!chrome|android).)*safari/i.test(Qb())}function tv(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var n=e.getBoundingClientRect(),r=1,i=1;t&&Ub(e)&&(r=e.offsetWidth>0&&Jb(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Jb(n.height)/e.offsetHeight||1);var a=(qb(e)?Hb(e):window).visualViewport,s=!ev()&&o,l=(n.left+(s&&a?a.offsetLeft:0))/r,c=(n.top+(s&&a?a.offsetTop:0))/i,p=n.width/r,d=n.height/i;return{width:p,height:d,top:c,right:l+p,bottom:c+d,left:l,x:l,y:c}}function ov(e){var t=tv(e),o=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:n}}function nv(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&Gb(o)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function rv(e){return Hb(e).getComputedStyle(e)}function iv(e){return["table","td","th"].indexOf(_b(e))>=0}function av(e){return((qb(e)?e.ownerDocument:e.document)||window.document).documentElement}function sv(e){return"html"===_b(e)?e:e.assignedSlot||e.parentNode||(Gb(e)?e.host:null)||av(e)}function lv(e){return Ub(e)&&"fixed"!==rv(e).position?e.offsetParent:null}function cv(e){for(var t=Hb(e),o=lv(e);o&&iv(o)&&"static"===rv(o).position;)o=lv(o);return o&&("html"===_b(o)||"body"===_b(o)&&"static"===rv(o).position)?t:o||function(e){var t=/firefox/i.test(Qb());if(/Trident/i.test(Qb())&&Ub(e)&&"fixed"===rv(e).position)return null;var o=sv(e);for(Gb(o)&&(o=o.host);Ub(o)&&["html","body"].indexOf(_b(o))<0;){var n=rv(o);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return o;o=o.parentNode}return null}(e)||t}function pv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dv(e,t,o){return Yb(e,Zb(t,o))}function uv(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function fv(e,t){return t.reduce(function(t,o){return t[o]=e,t},{})}var mv={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,n=e.name,r=e.options,i=o.elements.arrow,a=o.modifiersData.popperOffsets,s=Xb(o.placement),l=pv(s),c=[$b,Mb].indexOf(s)>=0?"height":"width";if(i&&a){var p=function(e,t){return uv("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:fv(e,Ab))}(r.padding,o),d=ov(i),u="y"===l?Nb:$b,f="y"===l?Rb:Mb,m=o.rects.reference[c]+o.rects.reference[l]-a[l]-o.rects.popper[c],h=a[l]-o.rects.reference[l],g=cv(i),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=m/2-h/2,v=p[u],x=y-d[c]-p[f],w=y/2-d[c]/2+b,S=dv(v,w,x),T=l;o.modifiersData[n]=((t={})[T]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,o=e.options.element,n=void 0===o?"[data-popper-arrow]":o;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&nv(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function hv(e){return e.split("-")[1]}var gv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yv(e){var t,o=e.popper,n=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,p=e.roundOffsets,d=e.isFixed,u=a.x,f=void 0===u?0:u,m=a.y,h=void 0===m?0:m,g="function"==typeof p?p({x:f,y:h}):{x:f,y:h};f=g.x,h=g.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),v=$b,x=Nb,w=window;if(c){var S=cv(o),T="clientHeight",O="clientWidth";S===Hb(o)&&"static"!==rv(S=av(o)).position&&"absolute"===s&&(T="scrollHeight",O="scrollWidth"),(r===Nb||(r===$b||r===Mb)&&i===Lb)&&(x=Rb,h-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[T])-n.height,h*=l?1:-1),r!==$b&&(r!==Nb&&r!==Rb||i!==Lb)||(v=Mb,f-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[O])-n.width,f*=l?1:-1)}var j,C=Object.assign({position:s},c&&gv),k=!0===p?function(e,t){var o=e.x,n=e.y,r=t.devicePixelRatio||1;return{x:Jb(o*r)/r||0,y:Jb(n*r)/r||0}}({x:f,y:h},Hb(o)):{x:f,y:h};return f=k.x,h=k.y,l?Object.assign({},C,((j={})[x]=b?"0":"",j[v]=y?"0":"",j.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",j)):Object.assign({},C,((t={})[x]=b?h+"px":"",t[v]=y?f+"px":"",t.transform="",t))}var bv={passive:!0},vv={left:"right",right:"left",bottom:"top",top:"bottom"};function xv(e){return e.replace(/left|right|bottom|top/g,function(e){return vv[e]})}var wv={start:"end",end:"start"};function Sv(e){return e.replace(/start|end/g,function(e){return wv[e]})}function Tv(e){var t=Hb(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ov(e){return tv(av(e)).left+Tv(e).scrollLeft}function jv(e){var t=rv(e),o=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+r+n)}function Cv(e){return["html","body","#document"].indexOf(_b(e))>=0?e.ownerDocument.body:Ub(e)&&jv(e)?e:Cv(sv(e))}function kv(e,t){var o;void 0===t&&(t=[]);var n=Cv(e),r=n===(null==(o=e.ownerDocument)?void 0:o.body),i=Hb(n),a=r?[i].concat(i.visualViewport||[],jv(n)?n:[]):n,s=t.concat(a);return r?s:s.concat(kv(sv(a)))}function Ev(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Pv(e,t,o){return t===Db?Ev(function(e,t){var o=Hb(e),n=av(e),r=o.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;var c=ev();(c||!c&&"fixed"===t)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s+Ov(e),y:l}}(e,o)):qb(t)?function(e,t){var o=tv(e,!1,"fixed"===t);return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}(t,o):Ev(function(e){var t,o=av(e),n=Tv(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Yb(o.scrollWidth,o.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Yb(o.scrollHeight,o.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-n.scrollLeft+Ov(e),l=-n.scrollTop;return"rtl"===rv(r||o).direction&&(s+=Yb(o.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(av(e)))}function Nv(e){var t,o=e.reference,n=e.element,r=e.placement,i=r?Xb(r):null,a=r?hv(r):null,s=o.x+o.width/2-n.width/2,l=o.y+o.height/2-n.height/2;switch(i){case Nb:t={x:s,y:o.y-n.height};break;case Rb:t={x:s,y:o.y+o.height};break;case Mb:t={x:o.x+o.width,y:l};break;case $b:t={x:o.x-n.width,y:l};break;default:t={x:o.x,y:o.y}}var c=i?pv(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case Bb:t[c]=t[c]-(o[p]/2-n[p]/2);break;case Lb:t[c]=t[c]+(o[p]/2-n[p]/2)}}return t}function Rv(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=void 0===n?e.placement:n,i=o.strategy,a=void 0===i?e.strategy:i,s=o.boundary,l=void 0===s?"clippingParents":s,c=o.rootBoundary,p=void 0===c?Db:c,d=o.elementContext,u=void 0===d?zb:d,f=o.altBoundary,m=void 0!==f&&f,h=o.padding,g=void 0===h?0:h,y=uv("number"!=typeof g?g:fv(g,Ab)),b=u===zb?"reference":zb,v=e.rects.popper,x=e.elements[m?b:u],w=function(e,t,o,n){var r="clippingParents"===t?function(e){var t=kv(sv(e)),o=["absolute","fixed"].indexOf(rv(e).position)>=0&&Ub(e)?cv(e):e;return qb(o)?t.filter(function(e){return qb(e)&&nv(e,o)&&"body"!==_b(e)}):[]}(e):[].concat(t),i=[].concat(r,[o]),a=i[0],s=i.reduce(function(t,o){var r=Pv(e,o,n);return t.top=Yb(r.top,t.top),t.right=Zb(r.right,t.right),t.bottom=Zb(r.bottom,t.bottom),t.left=Yb(r.left,t.left),t},Pv(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(qb(x)?x:x.contextElement||av(e.elements.popper),l,p,a),S=tv(e.elements.reference),T=Nv({reference:S,element:v,strategy:"absolute",placement:r}),O=Ev(Object.assign({},v,T)),j=u===zb?O:S,C={top:w.top-j.top+y.top,bottom:j.bottom-w.bottom+y.bottom,left:w.left-j.left+y.left,right:j.right-w.right+y.right},k=e.modifiersData.offset;if(u===zb&&k){var E=k[r];Object.keys(C).forEach(function(e){var t=[Mb,Rb].indexOf(e)>=0?1:-1,o=[Nb,Rb].indexOf(e)>=0?"y":"x";C[e]+=E[o]*t})}return C}function Mv(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=o.boundary,i=o.rootBoundary,a=o.padding,s=o.flipVariations,l=o.allowedAutoPlacements,c=void 0===l?Fb:l,p=hv(n),d=p?s?Vb:Vb.filter(function(e){return hv(e)===p}):Ab,u=d.filter(function(e){return c.indexOf(e)>=0});0===u.length&&(u=d);var f=u.reduce(function(t,o){return t[o]=Rv(e,{placement:o,boundary:r,rootBoundary:i,padding:a})[Xb(o)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var $v={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var r=o.mainAxis,i=void 0===r||r,a=o.altAxis,s=void 0===a||a,l=o.fallbackPlacements,c=o.padding,p=o.boundary,d=o.rootBoundary,u=o.altBoundary,f=o.flipVariations,m=void 0===f||f,h=o.allowedAutoPlacements,g=t.options.placement,y=Xb(g),b=l||(y!==g&&m?function(e){if(Xb(e)===Ib)return[];var t=xv(e);return[Sv(e),t,Sv(t)]}(g):[xv(g)]),v=[g].concat(b).reduce(function(e,o){return e.concat(Xb(o)===Ib?Mv(t,{placement:o,boundary:p,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:h}):o)},[]),x=t.rects.reference,w=t.rects.popper,S=new Map,T=!0,O=v[0],j=0;j<v.length;j++){var C=v[j],k=Xb(C),E=hv(C)===Bb,P=[Nb,Rb].indexOf(k)>=0,N=P?"width":"height",R=Rv(t,{placement:C,boundary:p,rootBoundary:d,altBoundary:u,padding:c}),M=P?E?Mb:$b:E?Rb:Nb;x[N]>w[N]&&(M=xv(M));var $=xv(M),I=[];if(i&&I.push(R[k]<=0),s&&I.push(R[M]<=0,R[$]<=0),I.every(function(e){return e})){O=C,T=!1;break}S.set(C,I)}if(T)for(var A=function(e){var t=v.find(function(t){var o=S.get(t);if(o)return o.slice(0,e).every(function(e){return e})});if(t)return O=t,"break"},B=m?3:1;B>0&&"break"!==A(B);B--);t.placement!==O&&(t.modifiersData[n]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Iv(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function Av(e){return[Nb,Mb,Rb,$b].some(function(t){return e[t]>=0})}var Bv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.offset,i=void 0===r?[0,0]:r,a=Fb.reduce(function(e,o){return e[o]=function(e,t,o){var n=Xb(e),r=[$b,Nb].indexOf(n)>=0?-1:1,i="function"==typeof o?o(Object.assign({},t,{placement:e})):o,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[$b,Mb].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(o,t.rects,i),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}},Lv={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.mainAxis,i=void 0===r||r,a=o.altAxis,s=void 0!==a&&a,l=o.boundary,c=o.rootBoundary,p=o.altBoundary,d=o.padding,u=o.tether,f=void 0===u||u,m=o.tetherOffset,h=void 0===m?0:m,g=Rv(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:p}),y=Xb(t.placement),b=hv(t.placement),v=!b,x=pv(y),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,T=t.rects.reference,O=t.rects.popper,j="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,C="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(S){if(i){var P,N="y"===x?Nb:$b,R="y"===x?Rb:Mb,M="y"===x?"height":"width",$=S[x],I=$+g[N],A=$-g[R],B=f?-O[M]/2:0,L=b===Bb?T[M]:O[M],D=b===Bb?-O[M]:-T[M],z=t.elements.arrow,V=f&&z?ov(z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=F[N],_=F[R],H=dv(0,T[M],V[M]),q=v?T[M]/2-B-H-W-C.mainAxis:L-H-W-C.mainAxis,U=v?-T[M]/2+B+H+_+C.mainAxis:D+H+_+C.mainAxis,G=t.elements.arrow&&cv(t.elements.arrow),K=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,X=null!=(P=null==k?void 0:k[x])?P:0,Y=$+U-X,Z=dv(f?Zb(I,$+q-X-K):I,$,f?Yb(A,Y):A);S[x]=Z,E[x]=Z-$}if(s){var J,Q="x"===x?Nb:$b,ee="x"===x?Rb:Mb,te=S[w],oe="y"===w?"height":"width",ne=te+g[Q],re=te-g[ee],ie=-1!==[Nb,$b].indexOf(y),ae=null!=(J=null==k?void 0:k[w])?J:0,se=ie?ne:te-T[oe]-O[oe]-ae+C.altAxis,le=ie?te+T[oe]+O[oe]-ae-C.altAxis:re,ce=f&&ie?function(e,t,o){var n=dv(e,t,o);return n>o?o:n}(se,te,le):dv(f?se:ne,te,f?le:re);S[w]=ce,E[w]=ce-te}t.modifiersData[n]=E}},requiresIfExists:["offset"]};function Dv(e,t,o){void 0===o&&(o=!1);var n=Ub(t),r=Ub(t)&&function(e){var t=e.getBoundingClientRect(),o=Jb(t.width)/e.offsetWidth||1,n=Jb(t.height)/e.offsetHeight||1;return 1!==o||1!==n}(t),i=av(t),a=tv(e,r,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!o)&&(("body"!==_b(t)||jv(i))&&(s=function(e){return e!==Hb(e)&&Ub(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Tv(e);var t}(t)),Ub(t)?((l=tv(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Ov(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function zv(e){var t=new Map,o=new Set,n=[];function r(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!o.has(e)){var n=t.get(e);n&&r(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){o.has(e.name)||r(e)}),n}var Vv={placement:"bottom",modifiers:[],strategy:"absolute"};function Fv(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Wv(e){void 0===e&&(e={});var t=e,o=t.defaultModifiers,n=void 0===o?[]:o,r=t.defaultOptions,i=void 0===r?Vv:r;return function(e,t,o){void 0===o&&(o=i);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Vv,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,p={state:s,setOptions:function(o){var r="function"==typeof o?o(s.options):o;d(),s.options=Object.assign({},i,s.options,r),s.scrollParents={reference:qb(e)?kv(e):e.contextElement?kv(e.contextElement):[],popper:kv(t)};var a,c,u=function(e){var t=zv(e);return Wb.reduce(function(e,o){return e.concat(t.filter(function(e){return e.phase===o}))},[])}((a=[].concat(n,s.options.modifiers),c=a.reduce(function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=u.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,o=e.options,n=void 0===o?{}:o,r=e.effect;if("function"==typeof r){var i=r({state:s,name:t,instance:p,options:n});l.push(i||function(){})}}),p.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,o=e.popper;if(Fv(t,o)){s.rects={reference:Dv(t,cv(o),"fixed"===s.options.strategy),popper:ov(o)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var r=s.orderedModifiers[n],i=r.fn,a=r.options,l=void 0===a?{}:a,d=r.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:p})||s)}else s.reset=!1,n=-1}}},update:(r=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(r())})})),a}),destroy:function(){d(),c=!0}};if(!Fv(e,t))return p;function d(){l.forEach(function(e){return e()}),l=[]}return p.setOptions(o).then(function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)}),p}}var _v=Wv({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,n=e.options,r=n.scroll,i=void 0===r||r,a=n.resize,s=void 0===a||a,l=Hb(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",o.update,bv)}),s&&l.addEventListener("resize",o.update,bv),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",o.update,bv)}),s&&l.removeEventListener("resize",o.update,bv)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=Nv({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,n=o.gpuAcceleration,r=void 0===n||n,i=o.adaptive,a=void 0===i||i,s=o.roundOffsets,l=void 0===s||s,c={placement:Xb(t.placement),variation:hv(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,yv(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,yv(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Kb,Bv,$v,Lv,mv,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,n=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=Rv(t,{elementContext:"reference"}),s=Rv(t,{altBoundary:!0}),l=Iv(a,n),c=Iv(s,r,i),p=Av(l),d=Av(c);t.modifiersData[o]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":d})}}]});function Hv(e){const{elementType:t,externalSlotProps:o,ownerState:n,skipResolvingSlotProps:r=!1,...i}=e,a=r?{}:Ig(o,n),{props:s,internalRef:l}=Lg({...i,externalSlotProps:a});return $g(t,{...s,ref:qh(l,a?.ref,e.additionalProps?.ref)},n)}function qv(e){return parseInt(l.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Uv=l.forwardRef(function(e,t){const{children:o,container:n,disablePortal:r=!1}=e,[i,a]=l.useState(null),s=qh(l.isValidElement(o)?qv(o):null,t);if(xf(()=>{r||a(function(e){return"function"==typeof e?e():e}(n)||document.body)},[n,r]),xf(()=>{if(i&&!r)return Fh(t,i),()=>{Fh(t,null)}},[t,i,r]),r){if(l.isValidElement(o)){const e={ref:s};return l.cloneElement(o,e)}return o}return i?c.createPortal(o,i):i});function Gv(e){return tf("MuiPopper",e)}function Kv(e){return"function"==typeof e?e():e}function Xv(e){return void 0!==e.nodeType}"production"!==process.env.NODE_ENV&&(Uv.propTypes={children:Kc.node,container:Kc.oneOfType([Pb,Kc.func]),disablePortal:Kc.bool}),"production"!==process.env.NODE_ENV&&(Uv.propTypes=Df(Uv.propTypes)),of("MuiPopper",["root"]);const Yv={},Zv=l.forwardRef(function(t,o){const{anchorEl:n,children:r,direction:i,disablePortal:a,modifiers:s,open:c,placement:p,popperOptions:d,popperRef:u,slotProps:f={},slots:m={},TransitionProps:h,ownerState:g,...y}=t,b=l.useRef(null),v=qh(b,o),x=l.useRef(null),w=qh(x,u),S=l.useRef(w);xf(()=>{S.current=w},[w]),l.useImperativeHandle(u,()=>x.current,[]);const T=function(e,t){if("ltr"===t)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}}(p,i),[O,j]=l.useState(T),[C,k]=l.useState(Kv(n));l.useEffect(()=>{x.current&&x.current.forceUpdate()}),l.useEffect(()=>{n&&k(Kv(n))},[n]),xf(()=>{if(!C||!c)return;if("production"!==process.env.NODE_ENV&&C&&Xv(C)&&1===C.nodeType){const e=C.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&e.bottom}let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{j(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=_v(C,b.current,{placement:T,...d,modifiers:e});return S.current(t),()=>{t.destroy(),S.current(null)}},[C,a,s,c,d,T]);const E={placement:O};null!==h&&(E.TransitionProps=h);const P=(e=>{const{classes:t}=e;return am({root:["root"]},Gv,t)})(t),N=m.root??"div",R=Hv({elementType:N,externalSlotProps:f.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:v},ownerState:t,className:P.root});return e.jsx(N,{...R,children:"function"==typeof r?r(E):r})}),Jv=l.forwardRef(function(t,o){const{anchorEl:n,children:r,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:c=!1,modifiers:p,open:d,placement:u="bottom",popperOptions:f=Yv,popperRef:m,style:h,transition:g=!1,slotProps:y={},slots:b={},...v}=t,[x,w]=l.useState(!0);if(!c&&!d&&(!g||x))return null;let S;if(i)S=i;else if(n){const e=Kv(n);S=e&&Xv(e)?Dh(e).body:Dh(null).body}const T=d||!c||g&&!x?void 0:"none",O=g?{in:d,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0;return e.jsx(Uv,{disablePortal:s,container:S,children:e.jsx(Zv,{anchorEl:n,direction:a,disablePortal:s,modifiers:p,ref:o,open:g?!x:d,placement:u,popperOptions:f,popperRef:m,slotProps:y,slots:b,...v,style:{position:"fixed",top:0,left:0,display:T,...h},TransitionProps:O,children:r})})});"production"!==process.env.NODE_ENV&&(Jv.propTypes={anchorEl:Gh(Kc.oneOfType([Pb,Kc.object,Kc.func]),e=>{if(e.open){const t=Kv(e.anchorEl);if(t&&Xv(t)&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||!Xv(t)&&null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join("\n"))}return null}),children:Kc.oneOfType([Kc.node,Kc.func]),container:Kc.oneOfType([Pb,Kc.func]),direction:Kc.oneOf(["ltr","rtl"]),disablePortal:Kc.bool,keepMounted:Kc.bool,modifiers:Kc.arrayOf(Kc.shape({data:Kc.object,effect:Kc.func,enabled:Kc.bool,fn:Kc.func,name:Kc.any,options:Kc.object,phase:Kc.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:Kc.arrayOf(Kc.string),requiresIfExists:Kc.arrayOf(Kc.string)})),open:Kc.bool.isRequired,placement:Kc.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:Kc.shape({modifiers:Kc.array,onFirstUpdate:Kc.func,placement:Kc.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:Kc.oneOf(["absolute","fixed"])}),popperRef:py,slotProps:Kc.shape({root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({root:Kc.elementType}),transition:Kc.bool});const Qv=Eh(Jv,{name:"MuiPopper",slot:"Root"})({}),ex=l.forwardRef(function(t,o){const n=qf(),r=Mh({props:t,name:"MuiPopper"}),{anchorEl:i,component:a,components:s,componentsProps:l,container:c,disablePortal:p,keepMounted:d,modifiers:u,open:f,placement:m,popperOptions:h,popperRef:g,transition:y,slots:b,slotProps:v,...x}=r,w=b?.root??s?.Root,S={anchorEl:i,container:c,disablePortal:p,keepMounted:d,modifiers:u,open:f,placement:m,popperOptions:h,popperRef:g,transition:y,...x};return e.jsx(Qv,{as:a,direction:n?"rtl":"ltr",slots:{root:w},slotProps:v??l,...S,ref:o})});function tx(e){return tf("MuiListSubheader",e)}"production"!==process.env.NODE_ENV&&(ex.propTypes={anchorEl:Kc.oneOfType([Pb,Kc.object,Kc.func]),children:Kc.oneOfType([Kc.node,Kc.func]),component:Kc.elementType,components:Kc.shape({Root:Kc.elementType}),componentsProps:Kc.shape({root:Kc.oneOfType([Kc.func,Kc.object])}),container:Kc.oneOfType([Pb,Kc.func]),disablePortal:Kc.bool,keepMounted:Kc.bool,modifiers:Kc.arrayOf(Kc.shape({data:Kc.object,effect:Kc.func,enabled:Kc.bool,fn:Kc.func,name:Kc.any,options:Kc.object,phase:Kc.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:Kc.arrayOf(Kc.string),requiresIfExists:Kc.arrayOf(Kc.string)})),open:Kc.bool.isRequired,placement:Kc.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:Kc.shape({modifiers:Kc.array,onFirstUpdate:Kc.func,placement:Kc.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:Kc.oneOf(["absolute","fixed"])}),popperRef:py,slotProps:Kc.shape({root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),transition:Kc.bool}),of("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const ox=Eh("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"default"!==o.color&&t[`color${Ed(o.color)}`],!o.disableGutters&&t.gutters,o.inset&&t.inset,!o.disableSticky&&t.sticky]}})(Rh(({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:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),nx=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiListSubheader"}),{className:r,color:i="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1,...p}=n,d={...n,color:i,component:a,disableGutters:s,disableSticky:l,inset:c},u=(e=>{const{classes:t,color:o,disableGutters:n,inset:r,disableSticky:i}=e;return am({root:["root","default"!==o&&`color${Ed(o)}`,!n&&"gutters",r&&"inset",!i&&"sticky"]},tx,t)})(d);return e.jsx(ox,{as:a,className:Ju(u.root,r),ref:o,ownerState:d,...p})});nx&&(nx.muiSkipListHighlight=!0),"production"!==process.env.NODE_ENV&&(nx.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOf(["default","inherit","primary"]),component:Kc.elementType,disableGutters:Kc.bool,disableSticky:Kc.bool,inset:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});var rx=Bh(e.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 ix(e){return tf("MuiChip",e)}const ax=of("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"]),sx=Eh("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{color:n,iconColor:r,clickable:i,onDelete:a,size:s,variant:l}=o;return[{[`& .${ax.avatar}`]:t.avatar},{[`& .${ax.avatar}`]:t[`avatar${Ed(s)}`]},{[`& .${ax.avatar}`]:t[`avatarColor${Ed(n)}`]},{[`& .${ax.icon}`]:t.icon},{[`& .${ax.icon}`]:t[`icon${Ed(s)}`]},{[`& .${ax.icon}`]:t[`iconColor${Ed(r)}`]},{[`& .${ax.deleteIcon}`]:t.deleteIcon},{[`& .${ax.deleteIcon}`]:t[`deleteIcon${Ed(s)}`]},{[`& .${ax.deleteIcon}`]:t[`deleteIconColor${Ed(n)}`]},{[`& .${ax.deleteIcon}`]:t[`deleteIcon${Ed(l)}Color${Ed(n)}`]},t.root,t[`size${Ed(s)}`],t[`color${Ed(n)}`],i&&t.clickable,i&&"default"!==n&&t[`clickableColor${Ed(n)}`],a&&t.deletable,a&&"default"!==n&&t[`deletableColor${Ed(n)}`],t[l],t[`${l}${Ed(n)}`]]}})(Rh(({theme:e})=>{const t="light"===e.palette.mode?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,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,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",[`&.${ax.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ax.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${ax.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ax.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ax.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ax.icon}`]:{marginLeft:5,marginRight:-6},[`& .${ax.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${ax.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${ax.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(My(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${ax.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${ax.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${ax.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${ax.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(My(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${ax.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${ax.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(My(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${ax.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${ax.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ax.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ax.avatar}`]:{marginLeft:4},[`& .${ax.avatarSmall}`]:{marginLeft:2},[`& .${ax.icon}`]:{marginLeft:4},[`& .${ax.iconSmall}`]:{marginLeft:2},[`& .${ax.deleteIcon}`]:{marginRight:5},[`& .${ax.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${ax.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${ax.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${ax.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),lx=Eh("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:o}=e,{size:n}=o;return[t.label,t[`label${Ed(n)}`]]}})({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 cx(e){return"Backspace"===e.key||"Delete"===e.key}const px=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiChip"}),{avatar:r,className:i,clickable:a,color:s="default",component:c,deleteIcon:p,disabled:d=!1,icon:u,label:f,onClick:m,onDelete:h,onKeyDown:g,onKeyUp:y,size:b="medium",variant:v="filled",tabIndex:x,skipFocusWhenDisabled:w=!1,slots:S={},slotProps:T={},...O}=n,j=qh(l.useRef(null),o),C=e=>{e.stopPropagation(),h&&h(e)},k=!(!1===a||!m)||a,E=k||h?Oy:c||"div",P={...n,component:E,disabled:d,size:b,color:s,iconColor:l.isValidElement(u)&&u.props.color||s,onDelete:!!h,clickable:k,variant:v},N=(e=>{const{classes:t,disabled:o,size:n,color:r,iconColor:i,onDelete:a,clickable:s,variant:l}=e;return am({root:["root",l,o&&"disabled",`size${Ed(n)}`,`color${Ed(r)}`,s&&"clickable",s&&`clickableColor${Ed(r)}`,a&&"deletable",a&&`deletableColor${Ed(r)}`,`${l}${Ed(r)}`],label:["label",`label${Ed(n)}`],avatar:["avatar",`avatar${Ed(n)}`,`avatarColor${Ed(r)}`],icon:["icon",`icon${Ed(n)}`,`iconColor${Ed(i)}`],deleteIcon:["deleteIcon",`deleteIcon${Ed(n)}`,`deleteIconColor${Ed(r)}`,`deleteIcon${Ed(l)}Color${Ed(r)}`]},ix,t)})(P),R=E===Oy?{component:c||"div",focusVisibleClassName:N.focusVisible,...h&&{disableRipple:!0}}:{};let M=null;h&&(M=p&&l.isValidElement(p)?l.cloneElement(p,{className:Ju(p.props.className,N.deleteIcon),onClick:C}):e.jsx(rx,{className:N.deleteIcon,onClick:C}));let $=null;r&&l.isValidElement(r)&&($=l.cloneElement(r,{className:Ju(N.avatar,r.props.className)}));let I=null;u&&l.isValidElement(u)&&(I=l.cloneElement(u,{className:Ju(N.icon,u.props.className)})),process.env.NODE_ENV;const A={slots:S,slotProps:T},[B,L]=Dg("root",{elementType:sx,externalForwardedProps:{...A,...O},ownerState:P,shouldForwardComponentProp:!0,ref:j,className:Ju(N.root,i),additionalProps:{disabled:!(!k||!d)||void 0,tabIndex:w&&d?-1:x,...R},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),m?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),(e=>{e.currentTarget===e.target&&cx(e)&&e.preventDefault(),g&&g(e)})(t)},onKeyUp:t=>{e.onKeyUp?.(t),(e=>{e.currentTarget===e.target&&h&&cx(e)&&h(e),y&&y(e)})(t)}})}),[D,z]=Dg("label",{elementType:lx,externalForwardedProps:A,ownerState:P,className:N.label});return e.jsxs(B,{as:E,...L,children:[$||I,e.jsx(D,{...z,children:f}),M]})});function dx(e){return parseInt(e,10)||0}"production"!==process.env.NODE_ENV&&(px.propTypes={avatar:Kc.element,children:Wh,classes:Kc.object,className:Kc.string,clickable:Kc.bool,color:Kc.oneOfType([Kc.oneOf(["default","primary","secondary","error","info","success","warning"]),Kc.string]),component:Kc.elementType,deleteIcon:Kc.element,disabled:Kc.bool,icon:Kc.element,label:Kc.node,onClick:Kc.func,onDelete:Kc.func,onKeyDown:Kc.func,onKeyUp:Kc.func,size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),skipFocusWhenDisabled:Kc.bool,slotProps:Kc.shape({label:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({label:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),tabIndex:Kc.number,variant:Kc.oneOfType([Kc.oneOf(["filled","outlined"]),Kc.string])});const ux={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function fx(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const mx=l.forwardRef(function(t,o){const{onChange:n,maxRows:r,minRows:i=1,style:a,value:s,...c}=t,{current:p}=l.useRef(null!=s),d=l.useRef(null),u=qh(o,d),f=l.useRef(null),m=l.useRef(null),h=l.useCallback(()=>{const e=d.current,o=m.current;if(!e||!o)return;const n=zh(e).getComputedStyle(e);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};o.style.width=n.width,o.value=e.value||t.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");const a=n.boxSizing,s=dx(n.paddingBottom)+dx(n.paddingTop),l=dx(n.borderBottomWidth)+dx(n.borderTopWidth),c=o.scrollHeight;o.value="x";const p=o.scrollHeight;let u=c;return i&&(u=Math.max(Number(i)*p,u)),r&&(u=Math.min(Number(r)*p,u)),u=Math.max(u,p),{outerHeightStyle:u+("border-box"===a?s+l:0),overflowing:Math.abs(u-c)<=1}},[r,i,t.placeholder]),g=Hh(()=>{const e=d.current,t=h();if(!e||!t||fx(t))return!1;const o=t.outerHeightStyle;return null!=f.current&&f.current!==o}),y=l.useCallback(()=>{const e=d.current,t=h();if(!e||!t||fx(t))return;const o=t.outerHeightStyle;f.current!==o&&(f.current=o,e.style.height=`${o}px`),e.style.overflow=t.overflowing?"hidden":""},[h]),b=l.useRef(-1);return xf(()=>{const e=Lh(y),t=d?.current;if(!t)return;const o=zh(t);let n;return o.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(()=>{g()&&(n.unobserve(t),cancelAnimationFrame(b.current),y(),b.current=requestAnimationFrame(()=>{n.observe(t)}))}),n.observe(t)),()=>{e.clear(),cancelAnimationFrame(b.current),o.removeEventListener("resize",e),n&&n.disconnect()}},[h,y,g]),xf(()=>{y()}),e.jsxs(l.Fragment,{children:[e.jsx("textarea",{value:s,onChange:e=>{p||y();const t=e.target,o=t.value.length,r=t.value.endsWith("\n"),i=t.selectionStart===o;r&&i&&t.setSelectionRange(o,o),n&&n(e)},ref:u,rows:i,style:a,...c}),e.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:{...ux,...a,paddingTop:0,paddingBottom:0}})]})});function hx({props:e,states:t,muiFormControl:o}){return t.reduce((t,n)=>(t[n]=e[n],o&&void 0===e[n]&&(t[n]=o[n]),t),{})}"production"!==process.env.NODE_ENV&&(mx.propTypes={className:Kc.string,maxRows:Kc.oneOfType([Kc.number,Kc.string]),minRows:Kc.oneOfType([Kc.number,Kc.string]),onChange:Kc.func,placeholder:Kc.string,style:Kc.object,value:Kc.oneOfType([Kc.arrayOf(Kc.string),Kc.number,Kc.string])});const gx=l.createContext(void 0);function yx(){return l.useContext(gx)}function bx(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function vx(e,t=!1){return e&&(bx(e.value)&&""!==e.value||t&&bx(e.defaultValue)&&""!==e.defaultValue)}function xx(e){return tf("MuiInputBase",e)}"production"!==process.env.NODE_ENV&&(gx.displayName="FormControlContext");const wx=of("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Sx;const Tx=(e,t)=>{const{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,"small"===o.size&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${Ed(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},Ox=(e,t)=>{const{ownerState:o}=e;return[t.input,"small"===o.size&&t.inputSizeSmall,o.multiline&&t.inputMultiline,"search"===o.type&&t.inputTypeSearch,o.startAdornment&&t.inputAdornedStart,o.endAdornment&&t.inputAdornedEnd,o.hiddenLabel&&t.inputHiddenLabel]},jx=Eh("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Tx})(Rh(({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",[`&.${wx.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),Cx=Eh("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Ox})(Rh(({theme:e})=>{const t="light"===e.palette.mode,o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},n={opacity:"0 !important"},r=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":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${wx.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":r,"&:focus::-moz-placeholder":r,"&:focus::-ms-input-placeholder":r},[`&.${wx.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.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:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),kx=function(t){return function(o){return e.jsx(Nh,{styles:"function"==typeof t?e=>t({theme:e,...o}):t})}}({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Ex=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:i,autoFocus:a,className:s,color:c,components:p={},componentsProps:d={},defaultValue:u,disabled:f,disableInjectingGlobalStyles:m,endAdornment:h,error:g,fullWidth:y=!1,id:b,inputComponent:v="input",inputProps:x={},inputRef:w,margin:S,maxRows:T,minRows:O,multiline:j=!1,name:C,onBlur:k,onChange:E,onClick:P,onFocus:N,onKeyDown:R,onKeyUp:M,placeholder:$,readOnly:I,renderSuffix:A,rows:B,size:L,slotProps:D={},slots:z={},startAdornment:V,type:F="text",value:W,..._}=n,H=null!=x.value?x.value:W,{current:q}=l.useRef(null!=H),U=l.useRef(),G=l.useCallback(e=>{"production"!==process.env.NODE_ENV&&e&&"INPUT"!==e.nodeName&&e.focus},[]),K=qh(U,w,x.ref,G),[X,Y]=l.useState(!1),Z=yx();"production"!==process.env.NODE_ENV&&l.useEffect(()=>{if(Z)return Z.registerEffect()},[Z]);const J=hx({props:n,muiFormControl:Z,states:["color","disabled","error","hiddenLabel","size","required","filled"]});J.focused=Z?Z.focused:X,l.useEffect(()=>{!Z&&f&&X&&(Y(!1),k&&k())},[Z,f,X,k]);const Q=Z&&Z.onFilled,ee=Z&&Z.onEmpty,te=l.useCallback(e=>{vx(e)?Q&&Q():ee&&ee()},[Q,ee]);xf(()=>{q&&te({value:H})},[H,te,q]),l.useEffect(()=>{te(U.current)},[]);let oe=v,ne=x;j&&"input"===oe&&(B?(process.env.NODE_ENV,ne={type:void 0,minRows:B,maxRows:B,...ne}):ne={type:void 0,maxRows:T,minRows:O,...ne},oe=mx),l.useEffect(()=>{Z&&Z.setAdornedStart(Boolean(V))},[Z,V]);const re={...n,color:J.color||"primary",disabled:J.disabled,endAdornment:h,error:J.error,focused:J.focused,formControl:Z,fullWidth:y,hiddenLabel:J.hiddenLabel,multiline:j,size:J.size,startAdornment:V,type:F},ie=(e=>{const{classes:t,color:o,disabled:n,error:r,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:p,readOnly:d,size:u,startAdornment:f,type:m}=e;return am({root:["root",`color${Ed(o)}`,n&&"disabled",r&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",u&&"medium"!==u&&`size${Ed(u)}`,p&&"multiline",f&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===m&&"inputTypeSearch",p&&"inputMultiline","small"===u&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},xx,t)})(re),ae=z.root||p.Root||jx,se=D.root||d.root||{},le=z.input||p.Input||Cx;return ne={...ne,...D.input??d.input},e.jsxs(l.Fragment,{children:[!m&&"function"==typeof kx&&(Sx||(Sx=e.jsx(kx,{}))),e.jsxs(ae,{...se,ref:o,onClick:e=>{U.current&&e.currentTarget===e.target&&U.current.focus(),P&&P(e)},..._,...!Mg(ae)&&{ownerState:{...re,...se.ownerState}},className:Ju(ie.root,se.className,s,I&&"MuiInputBase-readOnly"),children:[V,e.jsx(gx.Provider,{value:null,children:e.jsx(le,{"aria-invalid":J.error,"aria-describedby":r,autoComplete:i,autoFocus:a,defaultValue:u,disabled:J.disabled,id:b,onAnimationStart:e=>{te("mui-auto-fill-cancel"===e.animationName?U.current:{value:"x"})},name:C,placeholder:$,readOnly:I,required:J.required,rows:B,value:H,onKeyDown:R,onKeyUp:M,type:F,...ne,...!Mg(le)&&{as:oe,ownerState:{...re,...ne.ownerState}},ref:K,className:Ju(ie.input,ne.className,I&&"MuiInputBase-readOnly"),onBlur:e=>{k&&k(e),x.onBlur&&x.onBlur(e),Z&&Z.onBlur?Z.onBlur(e):Y(!1)},onChange:(e,...t)=>{if(!q){const t=e.target||U.current;if(null==t)throw new Error("production"!==process.env.NODE_ENV?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":Ms(1));te({value:t.value})}x.onChange&&x.onChange(e,...t),E&&E(e,...t)},onFocus:e=>{N&&N(e),x.onFocus&&x.onFocus(e),Z&&Z.onFocus?Z.onFocus(e):Y(!0)}})}),h,A?A({...J,startAdornment:V}):null]})]})});function Px(e){return tf("MuiInput",e)}"production"!==process.env.NODE_ENV&&(Ex.propTypes={"aria-describedby":Kc.string,autoComplete:Kc.string,autoFocus:Kc.bool,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["primary","secondary","error","info","success","warning"]),Kc.string]),components:Kc.shape({Input:Kc.elementType,Root:Kc.elementType}),componentsProps:Kc.shape({input:Kc.object,root:Kc.object}),defaultValue:Kc.any,disabled:Kc.bool,disableInjectingGlobalStyles:Kc.bool,endAdornment:Kc.node,error:Kc.bool,fullWidth:Kc.bool,id:Kc.string,inputComponent:Pg,inputProps:Kc.object,inputRef:py,margin:Kc.oneOf(["dense","none"]),maxRows:Kc.oneOfType([Kc.number,Kc.string]),minRows:Kc.oneOfType([Kc.number,Kc.string]),multiline:Kc.bool,name:Kc.string,onBlur:Kc.func,onChange:Kc.func,onClick:Kc.func,onFocus:Kc.func,onInvalid:Kc.func,onKeyDown:Kc.func,onKeyUp:Kc.func,placeholder:Kc.string,readOnly:Kc.bool,renderSuffix:Kc.func,required:Kc.bool,rows:Kc.oneOfType([Kc.number,Kc.string]),size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),slotProps:Kc.shape({input:Kc.object,root:Kc.object}),slots:Kc.shape({input:Kc.elementType,root:Kc.elementType}),startAdornment:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),type:Kc.string,value:Kc.any});const Nx={...wx,...of("MuiInput",["root","underline","input"])};function Rx(e){return tf("MuiOutlinedInput",e)}const Mx={...wx,...of("MuiOutlinedInput",["root","notchedOutline","input"])};function $x(e){return tf("MuiFilledInput",e)}const Ix={...wx,...of("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])};var Ax=Bh(e.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function Bx(e){return tf("MuiAutocomplete",e)}const Lx=of("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"]);var Dx,zx;const Vx=Eh("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{fullWidth:n,hasClearIcon:r,hasPopupIcon:i,inputFocused:a,size:s}=o;return[{[`& .${Lx.tag}`]:t.tag},{[`& .${Lx.tag}`]:t[`tagSize${Ed(s)}`]},{[`& .${Lx.inputRoot}`]:t.inputRoot},{[`& .${Lx.input}`]:t.input},{[`& .${Lx.input}`]:a&&t.inputFocused},t.root,n&&t.fullWidth,i&&t.hasPopupIcon,r&&t.hasClearIcon]}})({[`&.${Lx.focused} .${Lx.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Lx.clearIndicator}`]:{visibility:"visible"}},[`& .${Lx.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Lx.inputRoot}`]:{[`.${Lx.hasPopupIcon}&, .${Lx.hasClearIcon}&`]:{paddingRight:30},[`.${Lx.hasPopupIcon}.${Lx.hasClearIcon}&`]:{paddingRight:56},[`& .${Lx.input}`]:{width:0,minWidth:30}},[`& .${Nx.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Nx.root}.${wx.sizeSmall}`]:{[`& .${Nx.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Mx.root}`]:{padding:9,[`.${Lx.hasPopupIcon}&, .${Lx.hasClearIcon}&`]:{paddingRight:39},[`.${Lx.hasPopupIcon}.${Lx.hasClearIcon}&`]:{paddingRight:65},[`& .${Lx.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Lx.endAdornment}`]:{right:9}},[`& .${Mx.root}.${wx.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Lx.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Ix.root}`]:{paddingTop:19,paddingLeft:8,[`.${Lx.hasPopupIcon}&, .${Lx.hasClearIcon}&`]:{paddingRight:39},[`.${Lx.hasPopupIcon}.${Lx.hasClearIcon}&`]:{paddingRight:65},[`& .${Ix.input}`]:{padding:"7px 4px"},[`& .${Lx.endAdornment}`]:{right:9}},[`& .${Ix.root}.${wx.sizeSmall}`]:{paddingBottom:1,[`& .${Ix.input}`]:{padding:"2.5px 4px"}},[`& .${wx.hiddenLabel}`]:{paddingTop:8},[`& .${Ix.root}.${wx.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Lx.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Ix.root}.${wx.hiddenLabel}.${wx.sizeSmall}`]:{[`& .${Lx.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Lx.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Lx.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Lx.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Lx.inputRoot}`]:{flexWrap:"wrap"}}}]}),Fx=Eh("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),Wx=Eh(Yy,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),_x=Eh(Yy,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.popupIndicator,o.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),Hx=Eh(ex,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Lx.option}`]:t.option},t.popper,o.disablePortal&&t.popperDisablePortal]}})(Rh(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),qx=Eh(Yg,{name:"MuiAutocomplete",slot:"Paper"})(Rh(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),Ux=Eh("div",{name:"MuiAutocomplete",slot:"Loading"})(Rh(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Gx=Eh("div",{name:"MuiAutocomplete",slot:"NoOptions"})(Rh(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Kx=Eh("ul",{name:"MuiAutocomplete",slot:"Listbox"})(Rh(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Lx.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"},[`&.${Lx.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"},[`&.${Lx.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Lx.focused}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Lx.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))),Xx=Eh(nx,{name:"MuiAutocomplete",slot:"GroupLabel"})(Rh(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Yx=Eh("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${Lx.option}`]:{paddingLeft:24}}),Zx=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAutocomplete"}),{autoComplete:r=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:s=!1,ChipProps:c,className:p,clearIcon:d=Dx||(Dx=e.jsx(tb,{fontSize:"small"})),clearOnBlur:u=!n.freeSolo,clearOnEscape:f=!1,clearText:m="Clear",closeText:h="Close",componentsProps:g,defaultValue:y=(n.multiple?[]:null),disableClearable:b=!1,disableCloseOnSelect:v=!1,disabled:x=!1,disabledItemsFocusable:w=!1,disableListWrap:S=!1,disablePortal:T=!1,filterOptions:O,filterSelectedOptions:j=!1,forcePopupIcon:C="auto",freeSolo:k=!1,fullWidth:E=!1,getLimitTagsText:P=e=>`+${e}`,getOptionDisabled:N,getOptionKey:R,getOptionLabel:M,isOptionEqualToValue:$,groupBy:I,handleHomeEndKeys:A=!n.freeSolo,id:B,includeInputInList:L=!1,inputValue:D,limitTags:z=-1,ListboxComponent:V,ListboxProps:F,loading:W=!1,loadingText:_="Loading…",multiple:H=!1,noOptionsText:q="No options",onChange:U,onClose:G,onHighlightChange:K,onInputChange:X,onOpen:Y,open:Z,openOnFocus:J=!1,openText:Q="Open",options:ee,PaperComponent:te,PopperComponent:oe,popupIcon:ne=zx||(zx=e.jsx(Ax,{})),readOnly:re=!1,renderGroup:ie,renderInput:ae,renderOption:se,renderTags:le,renderValue:ce,selectOnFocus:pe=!n.freeSolo,size:de="medium",slots:ue={},slotProps:fe={},value:me,...he}=n,{getRootProps:ge,getInputProps:ye,getInputLabelProps:be,getPopupIndicatorProps:ve,getClearProps:xe,getItemProps:we,getListboxProps:Se,getOptionProps:Te,value:Oe,dirty:je,expanded:Ce,id:ke,popupOpen:Ee,focused:Pe,focusedItem:Ne,anchorEl:Re,setAnchorEl:Me,inputValue:$e,groupedOptions:Ie}=function(e){const{unstable_isActiveElementInListbox:t=Cb,unstable_classNamePrefix:o="Mui",autoComplete:n=!1,autoHighlight:r=!1,autoSelect:i=!1,blurOnSelect:a=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:c=!1,componentName:p="useAutocomplete",defaultValue:d=(e.multiple?kb:null),disableClearable:u=!1,disableCloseOnSelect:f=!1,disabled:m,disabledItemsFocusable:h=!1,disableListWrap:g=!1,filterOptions:y=jb,filterSelectedOptions:b=!1,freeSolo:v=!1,getOptionDisabled:x,getOptionKey:w,getOptionLabel:S=e=>e.label??e,groupBy:T,handleHomeEndKeys:O=!e.freeSolo,id:j,includeInputInList:C=!1,inputValue:k,isOptionEqualToValue:E=(e,t)=>e===t,multiple:P=!1,onChange:N,onClose:R,onHighlightChange:M,onInputChange:$,onOpen:I,open:A,openOnFocus:B=!1,options:L,readOnly:D=!1,renderValue:z,selectOnFocus:V=!e.freeSolo,value:F}=e,W=Yf(j);let _=S;_=e=>{const t=S(e);return"string"!=typeof t?(process.env.NODE_ENV,String(t)):t};const H=l.useRef(!1),q=l.useRef(!0),U=l.useRef(null),G=l.useRef(null),[K,X]=l.useState(null),[Y,Z]=l.useState(-1),J=r?0:-1,Q=l.useRef(J),ee=l.useRef(Eb(d??F,P,_)).current,[te,oe]=_h({controlled:F,default:d,name:p}),[ne,re]=_h({controlled:k,default:ee,name:p,state:"inputValue"}),[ie,ae]=l.useState(!1),se=l.useCallback((e,t,o)=>{if(!(P?te.length<t.length:null!==t)&&!s)return;const n=Eb(t,P,_,z);ne!==n&&(re(n),$&&$(e,n,o))},[_,ne,P,$,re,s,te,z]),[le,ce]=_h({controlled:A,default:!1,name:p,state:"open"}),[pe,de]=l.useState(!0),ue=!P&&null!=te&&ne===_(te),fe=le&&!D,me=fe?y(L.filter(e=>!b||!(P?te:[te]).some(t=>null!==t&&E(e,t))),{inputValue:ue&&pe?"":ne,getOptionLabel:_}):[],he=Sb({filteredOptions:me,value:te,inputValue:ne});l.useEffect(()=>{const e=te!==he.value;ie&&!e||v&&!e||se(null,te,"reset")},[te,se,ie,he.value,v]);const ge=le&&me.length>0&&!D,ye=Hh(e=>{if(-1===e)U.current.focus();else{const t=z?"data-item-index":"data-tag-index";K.querySelector(`[${t}="${e}"]`).focus()}});l.useEffect(()=>{P&&Y>te.length-1&&(Z(-1),ye(-1))},[te,P,Y,ye]);const be=Hh(({event:e,index:t,reason:n})=>{if(Q.current=t,-1===t?U.current.removeAttribute("aria-activedescendant"):U.current.setAttribute("aria-activedescendant",`${W}-option-${t}`),M&&["mouse","keyboard","touch"].includes(n)&&M(e,-1===t?null:me[t],n),!G.current)return;const r=G.current.querySelector(`[role="option"].${o}-focused`);r&&(r.classList.remove(`${o}-focused`),r.classList.remove(`${o}-focusVisible`));let i=G.current;if("listbox"!==G.current.getAttribute("role")&&(i=G.current.parentElement.querySelector('[role="listbox"]')),!i)return;if(-1===t)return void(i.scrollTop=0);const a=G.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add(`${o}-focused`),"keyboard"===n&&a.classList.add(`${o}-focusVisible`),i.scrollHeight>i.clientHeight&&"mouse"!==n&&"touch"!==n)){const e=a,t=i.clientHeight+i.scrollTop,o=e.offsetTop+e.offsetHeight;o>t?i.scrollTop=o-i.clientHeight:e.offsetTop-e.offsetHeight*(T?1.3:0)<i.scrollTop&&(i.scrollTop=e.offsetTop-e.offsetHeight*(T?1.3:0))}}),ve=Hh(({event:e,diff:t,direction:o="next",reason:r})=>{if(!fe)return;const i=function(e,t){if(!G.current||e<0||e>=me.length)return-1;let o=e;for(;;){const n=G.current.querySelector(`[data-option-index="${o}"]`),r=!h&&(!n||n.disabled||"true"===n.getAttribute("aria-disabled"));if(n&&n.hasAttribute("tabindex")&&!r)return o;if(o="next"===t?(o+1)%me.length:(o-1+me.length)%me.length,o===e)return-1}}((()=>{const e=me.length-1;if("reset"===t)return J;if("start"===t)return 0;if("end"===t)return e;const o=Q.current+t;return o<0?-1===o&&C?-1:g&&-1!==Q.current||Math.abs(t)>1?0:e:o>e?o===e+1&&C?-1:g||Math.abs(t)>1?e:0:o})(),o);if(be({index:i,reason:r,event:e}),n&&"reset"!==t)if(-1===i)U.current.value=ne;else{const e=_(me[i]);U.current.value=e,0===e.toLowerCase().indexOf(ne.toLowerCase())&&ne.length>0&&U.current.setSelectionRange(ne.length,e.length)}}),xe=!Tb({array1:he.filteredOptions,array2:me,parser:_}),we=l.useCallback(()=>{if(!fe)return;const e=(()=>{if(-1!==Q.current&&!Tb({array1:he.filteredOptions,array2:me,parser:_})&&he.inputValue===ne&&(P?te.length===he.value.length&&he.value.every((e,t)=>_(te[t])===_(e)):(e=he.value,t=te,(e?_(e):"")===(t?_(t):"")))){const e=he.filteredOptions[Q.current];if(e)return me.findIndex(t=>_(t)===_(e))}var e,t;return-1})();if(-1!==e)return void(Q.current=e);const t=P?te[0]:te;if(0!==me.length&&null!=t){if(G.current){if(null!=t){const e=me[Q.current];if(P&&e&&-1!==te.findIndex(t=>E(e,t)))return;const o=me.findIndex(e=>E(e,t));return void(-1===o?ve({diff:"reset"}):be({index:o}))}Q.current>=me.length-1?be({index:me.length-1}):be({index:Q.current})}}else ve({diff:"reset"})},[me.length,!P&&te,ve,be,fe,ne,P]),Se=Hh(e=>{Fh(G,e),e&&we()});"production"!==process.env.NODE_ENV&&l.useEffect(()=>{U.current&&"INPUT"===U.current.nodeName||U.current&&U.current.nodeName},[p]),l.useEffect(()=>{(xe||fe)&&we()},[we,xe,fe]);const Te=e=>{le||(ce(!0),de(!0),I&&I(e))},Oe=(e,t)=>{le&&(ce(!1),R&&R(e,t))},je=(e,t,o,n)=>{if(P){if(te.length===t.length&&te.every((e,o)=>e===t[o]))return}else if(te===t)return;N&&N(e,t,o,n),oe(t)},Ce=l.useRef(!1),ke=(e,t,o="selectOption",n="options")=>{let r=o,i=t;if(P){i=Array.isArray(te)?te.slice():[],"production"!==process.env.NODE_ENV&&i.filter(e=>E(t,e)).length;const e=i.findIndex(e=>E(t,e));-1===e?i.push(t):"freeSolo"!==n&&(i.splice(e,1),r="removeOption")}se(e,i,r),je(e,i,r,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||Oe(e,r),(!0===a||"touch"===a&&Ce.current||"mouse"===a&&!Ce.current)&&U.current.blur()},Ee=(e,t)=>{if(!P)return;""===ne&&Oe(e,"toggleInput");let o=Y;-1===Y&&"previous"===t?(o=te.length-1,v&&""!==ne&&(re(""),$&&$(e,"","reset"))):(o+="next"===t?1:-1,o<0&&(o=0),o===te.length&&(o=-1)),o=function(e,t){if(-1===e)return-1;let o=e;for(;;){if("next"===t&&o===te.length||"previous"===t&&-1===o)return-1;const e=z?"data-item-index":"data-tag-index",n=K.querySelector(`[${e}="${o}"]`);if(n&&n.hasAttribute("tabindex")&&!n.disabled&&"true"!==n.getAttribute("aria-disabled"))return o;o+="next"===t?1:-1}}(o,t),Z(o),ye(o)},Pe=e=>{H.current=!0,re(""),$&&$(e,"","clear"),je(e,P?[]:null,"clear")},Ne=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1===Y||["ArrowLeft","ArrowRight"].includes(t.key)||(Z(-1),ye(-1)),229!==t.which))switch(t.key){case"Home":fe&&O&&(t.preventDefault(),ve({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":fe&&O&&(t.preventDefault(),ve({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ve({diff:-5,direction:"previous",reason:"keyboard",event:t}),Te(t);break;case"PageDown":t.preventDefault(),ve({diff:5,direction:"next",reason:"keyboard",event:t}),Te(t);break;case"ArrowDown":t.preventDefault(),ve({diff:1,direction:"next",reason:"keyboard",event:t}),Te(t);break;case"ArrowUp":t.preventDefault(),ve({diff:-1,direction:"previous",reason:"keyboard",event:t}),Te(t);break;case"ArrowLeft":{const e=U.current;if(!e||0!==e.selectionStart||0!==e.selectionEnd)return;!P&&z&&null!=te?(v&&""!==ne&&(re(""),$&&$(t,"","reset")),Z(0),ye(0)):Ee(t,"previous");break}case"ArrowRight":!P&&z?(Z(-1),ye(-1)):Ee(t,"next");break;case"Enter":if(-1!==Q.current&&fe){const e=me[Q.current],o=!!x&&x(e);if(t.preventDefault(),o)return;ke(t,e,"selectOption"),n&&U.current.setSelectionRange(U.current.value.length,U.current.value.length)}else v&&""!==ne&&!1===ue&&(P&&t.preventDefault(),ke(t,ne,"createOption","freeSolo"));break;case"Escape":fe?(t.preventDefault(),t.stopPropagation(),Oe(t,"escape")):c&&(""!==ne||P&&te.length>0||z)&&(t.preventDefault(),t.stopPropagation(),Pe(t));break;case"Backspace":if(P&&!D&&""===ne&&te.length>0){const e=-1===Y?te.length-1:Y,o=te.slice();o.splice(e,1),je(t,o,"removeOption",{option:te[e]})}P||!z||D||""!==ne||je(t,null,"removeOption",{option:te});break;case"Delete":if(P&&!D&&""===ne&&te.length>0&&-1!==Y){const e=Y,o=te.slice();o.splice(e,1),je(t,o,"removeOption",{option:te[e]})}P||!z||D||""!==ne||je(t,null,"removeOption",{option:te})}},Re=e=>{ae(!0),-1!==Y&&(Z(-1),ye(-1)),B&&!H.current&&Te(e)},Me=e=>{t(G)?U.current.focus():(ae(!1),q.current=!0,H.current=!1,i&&-1!==Q.current&&fe?ke(e,me[Q.current],"blur"):i&&v&&""!==ne?ke(e,ne,"blur","freeSolo"):s&&se(e,te,"blur"),Oe(e,"blur"))},$e=e=>{const t=e.target.value;ne!==t&&(re(t),de(!1),$&&$(e,t,"input")),""===t?u||P||z||je(e,null,"clear"):Te(e)},Ie=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Q.current!==t&&be({event:e,index:t,reason:"mouse"})},Ae=e=>{be({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ce.current=!0},Be=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));ke(e,me[t],"selectOption"),Ce.current=!1},Le=e=>t=>{const o=te.slice();o.splice(e,1),je(t,o,"removeOption",{option:te[e]})},De=e=>{je(e,null,"removeOption",{option:te})},ze=e=>{le?Oe(e,"toggleInput"):Te(e)},Ve=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==W&&e.preventDefault()},Fe=e=>{e.currentTarget.contains(e.target)&&(U.current.focus(),V&&q.current&&U.current.selectionEnd-U.current.selectionStart===0&&U.current.select(),q.current=!1)},We=e=>{m||""!==ne&&le||ze(e)};let _e=v&&ne.length>0;_e=_e||(P?te.length>0:null!==te);let He=me;if(T){const e=new Map;let t=!1;He=me.reduce((o,n,r)=>{const i=T(n);return o.length>0&&o[o.length-1].group===i?o[o.length-1].options.push(n):("production"!==process.env.NODE_ENV&&(e.get(i)&&!t&&(t=!0),e.set(i,!0)),o.push({key:r,index:r,group:i,options:[n]})),o},[])}return m&&ie&&Me(),{getRootProps:(e={})=>({...e,onKeyDown:Ne(e),onMouseDown:Ve,onClick:Fe}),getInputLabelProps:()=>({id:`${W}-label`,htmlFor:W}),getInputProps:()=>({id:W,value:ne,onBlur:Me,onFocus:Re,onChange:$e,onMouseDown:We,"aria-activedescendant":fe?"":null,"aria-autocomplete":n?"both":"list","aria-controls":ge?`${W}-listbox`:void 0,"aria-expanded":ge,autoComplete:"off",ref:U,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Pe}),getItemProps:({index:e=0}={})=>({...P&&{key:e},...z?{"data-item-index":e}:{"data-tag-index":e},tabIndex:-1,...!D&&{onDelete:P?Le(e):De}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:ze}),getTagProps:({index:e})=>({key:e,"data-tag-index":e,tabIndex:-1,...!D&&{onDelete:Le(e)}}),getListboxProps:()=>({role:"listbox",id:`${W}-listbox`,"aria-labelledby":`${W}-label`,ref:Se,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const o=(P?te:[te]).some(e=>null!=e&&E(t,e)),n=!!x&&x(t);return{key:w?.(t)??_(t),tabIndex:-1,role:"option",id:`${W}-option-${e}`,onMouseMove:Ie,onClick:Be,onTouchStart:Ae,"data-option-index":e,"aria-disabled":n,"aria-selected":o}},id:W,inputValue:ne,value:te,dirty:_e,expanded:fe&&K,popupOpen:fe,focused:ie||-1!==Y,anchorEl:K,setAnchorEl:X,focusedItem:Y,focusedTag:Y,groupedOptions:He}}({...n,componentName:"Autocomplete"}),Ae=!b&&!x&&je&&!re,Be=(!k||!0===C)&&!1!==C,{onMouseDown:Le}=ye(),{ref:De,...ze}=Se(),Ve=M||(e=>e.label??e),Fe={...n,disablePortal:T,expanded:Ce,focused:Pe,fullWidth:E,getOptionLabel:Ve,hasClearIcon:Ae,hasPopupIcon:Be,inputFocused:-1===Ne,popupOpen:Ee,size:de},We=(e=>{const{classes:t,disablePortal:o,expanded:n,focused:r,fullWidth:i,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:c,size:p}=e;return am({root:["root",n&&"expanded",r&&"focused",i&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${Ed(p)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",o&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},Bx,t)})(Fe),_e={slots:{paper:te,popper:oe,...ue},slotProps:{chip:c,listbox:F,...g,...fe}},[He,qe]=Dg("listbox",{elementType:Kx,externalForwardedProps:_e,ownerState:Fe,className:We.listbox,additionalProps:ze,ref:De}),[Ue,Ge]=Dg("paper",{elementType:Yg,externalForwardedProps:_e,ownerState:Fe,className:We.paper}),[Ke,Xe]=Dg("popper",{elementType:ex,externalForwardedProps:_e,ownerState:Fe,className:We.popper,additionalProps:{disablePortal:T,style:{width:Re?Re.clientWidth:null},role:"presentation",anchorEl:Re,open:Ee}});let Ye;const Ze=e=>({className:We.tag,disabled:x,...we(e)});if(H?Oe.length>0&&(Ye=le?le(Oe,Ze,Fe):ce?ce(Oe,Ze,Fe):Oe.map((t,o)=>{const{key:n,...r}=Ze({index:o});return e.jsx(px,{label:Ve(t),size:de,...r,..._e.slotProps.chip},n)})):ce&&null!=Oe&&(Ye=ce(Oe,Ze,Fe)),z>-1&&Array.isArray(Ye)){const t=Ye.length-z;!Pe&&t>0&&(Ye=Ye.splice(0,z),Ye.push(e.jsx("span",{className:We.tag,children:P(t)},Ye.length)))}const Je=ie||(t=>e.jsxs("li",{children:[e.jsx(Xx,{className:We.groupLabel,ownerState:Fe,component:"div",children:t.group}),e.jsx(Yx,{className:We.groupUl,ownerState:Fe,children:t.children})]},t.key)),Qe=se||((t,o)=>{const{key:n,...r}=t;return e.jsx("li",{...r,children:Ve(o)},n)}),et=(e,t)=>{const o=Te({option:e,index:t});return Qe({...o,className:We.option},e,{selected:o["aria-selected"],index:t,inputValue:$e},Fe)},tt=_e.slotProps.clearIndicator,ot=_e.slotProps.popupIndicator;return e.jsxs(l.Fragment,{children:[e.jsx(Vx,{ref:o,className:Ju(We.root,p),ownerState:Fe,...ge(he),children:ae({id:ke,disabled:x,fullWidth:!0,size:"small"===de?"small":void 0,InputLabelProps:be(),InputProps:{ref:Me,className:We.inputRoot,startAdornment:Ye,onMouseDown:e=>{e.target===e.currentTarget&&Le(e)},...(Ae||Be)&&{endAdornment:e.jsxs(Fx,{className:We.endAdornment,ownerState:Fe,children:[Ae?e.jsx(Wx,{...xe(),"aria-label":m,title:m,ownerState:Fe,...tt,className:Ju(We.clearIndicator,tt?.className),children:d}):null,Be?e.jsx(_x,{...ve(),disabled:x,"aria-label":Ee?h:Q,title:Ee?h:Q,ownerState:Fe,...ot,className:Ju(We.popupIndicator,ot?.className),children:ne}):null]})}},inputProps:{className:We.input,disabled:x,readOnly:re,...ye()}})}),Re?e.jsx(Hx,{as:Ke,...Xe,children:e.jsxs(qx,{as:Ue,...Ge,children:[W&&0===Ie.length?e.jsx(Ux,{className:We.loading,ownerState:Fe,children:_}):null,0!==Ie.length||k||W?null:e.jsx(Gx,{className:We.noOptions,ownerState:Fe,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:q}),Ie.length>0?e.jsx(He,{as:V,...qe,children:Ie.map((e,t)=>I?Je({key:e.key,group:e.group,children:e.options.map((t,o)=>et(t,e.index+o))}):et(e,t))}):null]})}):null]})});"production"!==process.env.NODE_ENV&&(Zx.propTypes={autoComplete:Kc.bool,autoHighlight:Kc.bool,autoSelect:Kc.bool,blurOnSelect:Kc.oneOfType([Kc.oneOf(["mouse","touch"]),Kc.bool]),ChipProps:Kc.object,classes:Kc.object,className:Kc.string,clearIcon:Kc.node,clearOnBlur:Kc.bool,clearOnEscape:Kc.bool,clearText:Kc.string,closeText:Kc.string,componentsProps:Kc.shape({clearIndicator:Kc.object,paper:Kc.object,popper:Kc.object,popupIndicator:Kc.object}),defaultValue:Gh(Kc.any,e=>e.multiple&&void 0!==e.defaultValue&&!Array.isArray(e.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${e.defaultValue} was provided.`].join("\n")):null),disableClearable:Kc.bool,disableCloseOnSelect:Kc.bool,disabled:Kc.bool,disabledItemsFocusable:Kc.bool,disableListWrap:Kc.bool,disablePortal:Kc.bool,filterOptions:Kc.func,filterSelectedOptions:Kc.bool,forcePopupIcon:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.bool]),freeSolo:Kc.bool,fullWidth:Kc.bool,getLimitTagsText:Kc.func,getOptionDisabled:Kc.func,getOptionKey:Kc.func,getOptionLabel:Kc.func,groupBy:Kc.func,handleHomeEndKeys:Kc.bool,id:Kc.string,includeInputInList:Kc.bool,inputValue:Kc.string,isOptionEqualToValue:Kc.func,limitTags:Gg,ListboxComponent:Kc.elementType,ListboxProps:Kc.object,loading:Kc.bool,loadingText:Kc.node,multiple:Kc.bool,noOptionsText:Kc.node,onChange:Kc.func,onClose:Kc.func,onHighlightChange:Kc.func,onInputChange:Kc.func,onKeyDown:Kc.func,onOpen:Kc.func,open:Kc.bool,openOnFocus:Kc.bool,openText:Kc.string,options:Kc.array.isRequired,PaperComponent:Kc.elementType,PopperComponent:Kc.elementType,popupIcon:Kc.node,readOnly:Kc.bool,renderGroup:Kc.func,renderInput:Kc.func.isRequired,renderOption:Kc.func,renderTags:Kc.func,renderValue:Kc.func,selectOnFocus:Kc.bool,size:Kc.oneOfType([Kc.oneOf(["small","medium"]),Kc.string]),slotProps:Kc.shape({chip:Kc.oneOfType([Kc.func,Kc.object]),clearIndicator:Kc.oneOfType([Kc.func,Kc.object]),listbox:Kc.oneOfType([Kc.func,Kc.object]),paper:Kc.oneOfType([Kc.func,Kc.object]),popper:Kc.oneOfType([Kc.func,Kc.object]),popupIndicator:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({listbox:Kc.elementType,paper:Kc.elementType,popper:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Gh(Kc.any,e=>e.multiple&&void 0!==e.value&&!Array.isArray(e.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${e.value} was provided.`].join("\n")):null)});var Jx=Bh(e.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 Qx(e){return tf("MuiAvatar",e)}const ew=of("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),tw=Eh("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],o.colorDefault&&t.colorDefault]}})(Rh(({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]})}}}]}))),ow=Eh("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),nw=Eh(Jx,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"}),rw=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAvatar"}),{alt:r,children:i,className:a,component:s="div",slots:c={},slotProps:p={},imgProps:d,sizes:u,src:f,srcSet:m,variant:h="circular",...g}=n;let y=null;const b={...n,component:s,variant:h},v=function({crossOrigin:e,referrerPolicy:t,src:o,srcSet:n}){const[r,i]=l.useState(!1);return l.useEffect(()=>{if(!o&&!n)return;i(!1);let r=!0;const a=new Image;return a.onload=()=>{r&&i("loaded")},a.onerror=()=>{r&&i("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=o,n&&(a.srcset=n),()=>{r=!1}},[e,t,o,n]),r}({...d,..."function"==typeof p.img?p.img(b):p.img,src:f,srcSet:m}),x=f||m,w=x&&"error"!==v;b.colorDefault=!w,delete b.ownerState;const S=(e=>{const{classes:t,variant:o,colorDefault:n}=e;return am({root:["root",o,n&&"colorDefault"],img:["img"],fallback:["fallback"]},Qx,t)})(b),[T,O]=Dg("root",{ref:o,className:Ju(S.root,a),elementType:tw,externalForwardedProps:{slots:c,slotProps:p,component:s,...g},ownerState:b}),[j,C]=Dg("img",{className:S.img,elementType:ow,externalForwardedProps:{slots:c,slotProps:{img:{...d,...p.img}}},additionalProps:{alt:r,src:f,srcSet:m,sizes:u},ownerState:b}),[k,E]=Dg("fallback",{className:S.fallback,elementType:nw,externalForwardedProps:{slots:c,slotProps:p},shouldForwardComponentProp:!0,ownerState:b});return y=w?e.jsx(j,{...C}):i||0===i?i:x&&r?r[0]:e.jsx(k,{...E}),e.jsx(T,{...O,children:y})});function iw(e){return tf("MuiAvatarGroup",e)}"production"!==process.env.NODE_ENV&&(rw.propTypes={alt:Kc.string,children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,imgProps:Kc.object,sizes:Kc.string,slotProps:Kc.shape({fallback:Kc.oneOfType([Kc.func,Kc.object]),img:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({fallback:Kc.elementType,img:Kc.elementType,root:Kc.elementType}),src:Kc.string,srcSet:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["circular","rounded","square"]),Kc.string])});const aw=of("MuiAvatarGroup",["root","avatar"]),sw={small:-16,medium:-8},lw=Eh("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>[{[`& .${aw.avatar}`]:t.avatar},t.root]})(Rh(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${ew.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),cw=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiAvatarGroup"}),{children:r,className:i,component:a="div",componentsProps:s,max:c=5,renderSurplus:p,slotProps:d={},slots:u={},spacing:f="medium",total:m,variant:h="circular",...g}=n;let y=c<2?2:c;const b={...n,max:c,spacing:f,component:a,variant:h},v=(e=>{const{classes:t}=e;return am({root:["root"],avatar:["avatar"]},iw,t)})(b),x=l.Children.toArray(r).filter(e=>("production"!==process.env.NODE_ENV&&Kp.isFragment(e),l.isValidElement(e))),w=m||x.length;w===y&&(y+=1),y=Math.min(w+1,y);const S=Math.min(x.length,y-1),T=Math.max(w-y,w-S,0),O=p?p(T):`+${T}`;let j;j=b.spacing&&void 0!==sw[b.spacing]?sw[b.spacing]:0===b.spacing?0:-b.spacing||sw.medium;const C={slots:u,slotProps:{surplus:d.additionalAvatar??s?.additionalAvatar,...s,...d}},[k,E]=Dg("surplus",{elementType:rw,externalForwardedProps:C,className:v.avatar,ownerState:b,additionalProps:{variant:h}});return e.jsxs(lw,{as:a,ownerState:b,className:Ju(v.root,i),ref:o,...g,style:{"--AvatarGroup-spacing":`${j}px`,...g.style},children:[T?e.jsx(k,{...E,children:O}):null,x.slice(0,S).reverse().map(e=>l.cloneElement(e,{className:Ju(e.props.className,v.avatar),variant:e.props.variant||h}))]})});function pw(e,t,o,n,r){const i=e[t],a=r||t;if(null==i||"undefined"==typeof window)return null;let s;const l=i.type;return"function"!=typeof l||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(l)||(s="Did you accidentally use a plain function component for an element instead?"),void 0!==s?new Error(`Invalid ${n} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}"production"!==process.env.NODE_ENV&&(cw.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,componentsProps:Kc.shape({additionalAvatar:Kc.object}),max:Gh(Kc.number,e=>e.max<2?new Error(["MUI: The prop `max` should be equal to 2 or above.","A value below is clamped to 2."].join("\n")):null),renderSurplus:Kc.func,slotProps:Kc.shape({additionalAvatar:Kc.object,surplus:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({surplus:Kc.elementType}),spacing:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.number]),style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),total:Kc.number,variant:Kc.oneOfType([Kc.oneOf(["circular","rounded","square"]),Kc.string])});const dw=Gh(Kc.element,pw);dw.isRequired=Gh(Kc.element.isRequired,pw);const uw={entering:{opacity:1},entered:{opacity:1}},fw=l.forwardRef(function(t,o){const n=jh(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:c,in:p,onEnter:d,onEntered:u,onEntering:f,onExit:m,onExited:h,onExiting:g,style:y,timeout:b=r,TransitionComponent:v=sg,...x}=t,w=l.useRef(null),S=qh(w,qv(s),o),T=e=>t=>{if(e){const o=w.current;void 0===t?e(o):e(o,t)}},O=T(f),j=T((e,t)=>{Ng(e);const o=Rg({style:y,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",o),e.style.transition=n.transitions.create("opacity",o),d&&d(e,t)}),C=T(u),k=T(g),E=T(e=>{const t=Rg({style:y,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),m&&m(e)}),P=T(h);return e.jsx(v,{appear:a,in:p,nodeRef:w,onEnter:j,onEntered:C,onEntering:O,onExit:E,onExited:P,onExiting:k,addEndListener:e=>{i&&i(w.current,e)},timeout:b,...x,children:(e,{ownerState:t,...o})=>l.cloneElement(s,{style:{opacity:0,visibility:"exited"!==e||p?void 0:"hidden",...uw[e],...y,...s.props.style},ref:S,...o})})});function mw(e){return tf("MuiBackdrop",e)}"production"!==process.env.NODE_ENV&&(fw.propTypes={addEndListener:Kc.func,appear:Kc.bool,children:dw.isRequired,easing:Kc.oneOfType([Kc.shape({enter:Kc.string,exit:Kc.string}),Kc.string]),in:Kc.bool,onEnter:Kc.func,onEntered:Kc.func,onEntering:Kc.func,onExit:Kc.func,onExited:Kc.func,onExiting:Kc.func,style:Kc.object,timeout:Kc.oneOfType([Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})])}),of("MuiBackdrop",["root","invisible"]);const hw=Eh("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.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"}}]}),gw=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiBackdrop"}),{children:r,className:i,component:a="div",invisible:s=!1,open:l,components:c={},componentsProps:p={},slotProps:d={},slots:u={},TransitionComponent:f,transitionDuration:m,...h}=n,g={...n,component:a,invisible:s},y=(e=>{const{classes:t,invisible:o}=e;return am({root:["root",o&&"invisible"]},mw,t)})(g),b={component:a,slots:{transition:f,root:c.Root,...u},slotProps:{...p,...d}},[v,x]=Dg("root",{elementType:hw,externalForwardedProps:b,className:Ju(y.root,i),ownerState:g}),[w,S]=Dg("transition",{elementType:fw,externalForwardedProps:b,ownerState:g});return e.jsx(w,{in:l,timeout:m,...h,...S,children:e.jsx(v,{"aria-hidden":!0,...x,ref:o,children:r})})});function yw(e){return tf("MuiBadge",e)}"production"!==process.env.NODE_ENV&&(gw.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,components:Kc.shape({Root:Kc.elementType}),componentsProps:Kc.shape({root:Kc.object}),invisible:Kc.bool,open:Kc.bool.isRequired,slotProps:Kc.shape({root:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({root:Kc.elementType,transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),TransitionComponent:Kc.elementType,transitionDuration:Kc.oneOfType([Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})])});const bw=of("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),vw=Eh("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),xw=Eh("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.badge,t[o.variant],t[`anchorOrigin${Ed(o.anchorOrigin.vertical)}${Ed(o.anchorOrigin.horizontal)}${Ed(o.overlap)}`],"default"!==o.color&&t[`color${Ed(o.color)}`],o.invisible&&t.invisible]}})(Rh(({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(My(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${bw.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${bw.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${bw.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${bw.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${bw.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${bw.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${bw.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${bw.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})));function ww(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const Sw=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiBadge"}),{anchorOrigin:r,className:i,classes:a,component:s,components:l={},componentsProps:c={},children:p,overlap:d="rectangular",color:u="default",invisible:f=!1,max:m=99,badgeContent:h,slots:g,slotProps:y,showZero:b=!1,variant:v="standard",...x}=n,{badgeContent:w,invisible:S,max:T,displayValue:O}=function(e){const{badgeContent:t,invisible:o=!1,max:n=99,showZero:r=!1}=e,i=Sb({badgeContent:t,max:n});let a=o;!1!==o||0!==t||r||(a=!0);const{badgeContent:s,max:l=n}=a?i:e;return{badgeContent:s,invisible:a,max:l,displayValue:s&&Number(s)>l?`${l}+`:s}}({max:m,invisible:f,badgeContent:h,showZero:b}),j=Sb({anchorOrigin:ww(r),color:u,overlap:d,variant:v,badgeContent:h}),C=S||null==w&&"dot"!==v,{color:k=u,overlap:E=d,anchorOrigin:P,variant:N=v}=C?j:n,R=ww(P),M="dot"!==N?O:void 0,$={...n,badgeContent:w,invisible:C,max:T,displayValue:M,showZero:b,anchorOrigin:R,color:k,overlap:E,variant:N},I=(e=>{const{color:t,anchorOrigin:o,invisible:n,overlap:r,variant:i,classes:a={}}=e;return am({root:["root"],badge:["badge",i,n&&"invisible",`anchorOrigin${Ed(o.vertical)}${Ed(o.horizontal)}`,`anchorOrigin${Ed(o.vertical)}${Ed(o.horizontal)}${Ed(r)}`,`overlap${Ed(r)}`,"default"!==t&&`color${Ed(t)}`]},yw,a)})($),A={slots:{root:g?.root??l.Root,badge:g?.badge??l.Badge},slotProps:{root:y?.root??c.root,badge:y?.badge??c.badge}},[B,L]=Dg("root",{elementType:vw,externalForwardedProps:{...A,...x},ownerState:$,className:Ju(I.root,i),ref:o,additionalProps:{as:s}}),[D,z]=Dg("badge",{elementType:xw,externalForwardedProps:A,ownerState:$,className:I.badge});return e.jsxs(B,{...L,children:[p,e.jsx(D,{...z,children:M})]})});function Tw(e){return tf("MuiBottomNavigation",e)}"production"!==process.env.NODE_ENV&&(Sw.propTypes={anchorOrigin:Kc.shape({horizontal:Kc.oneOf(["left","right"]),vertical:Kc.oneOf(["bottom","top"])}),badgeContent:Kc.node,children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["default","primary","secondary","error","info","success","warning"]),Kc.string]),component:Kc.elementType,components:Kc.shape({Badge:Kc.elementType,Root:Kc.elementType}),componentsProps:Kc.shape({badge:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),invisible:Kc.bool,max:Kc.number,overlap:Kc.oneOf(["circular","rectangular"]),showZero:Kc.bool,slotProps:Kc.shape({badge:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({badge:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["dot","standard"]),Kc.string])}),of("MuiBottomNavigation",["root"]);const Ow=Eh("div",{name:"MuiBottomNavigation",slot:"Root"})(Rh(({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper}))),jw=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiBottomNavigation"}),{children:r,className:i,component:a="div",onChange:s,showLabels:c=!1,value:p,...d}=n,u={...n,component:a,showLabels:c},f=(e=>{const{classes:t}=e;return am({root:["root"]},Tw,t)})(u);return e.jsx(Ow,{as:a,className:Ju(f.root,i),ref:o,ownerState:u,...d,children:l.Children.map(r,(e,t)=>{if(!l.isValidElement(e))return null;"production"!==process.env.NODE_ENV&&Kp.isFragment(e);const o=void 0===e.props.value?t:e.props.value;return l.cloneElement(e,{selected:o===p,showLabel:void 0!==e.props.showLabel?e.props.showLabel:c,value:o,onChange:s})})})});function Cw(e){return tf("MuiBottomNavigationAction",e)}"production"!==process.env.NODE_ENV&&(jw.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,onChange:Kc.func,showLabels:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any});const kw=of("MuiBottomNavigationAction",["root","iconOnly","selected","label"]),Ew=Eh(Oy,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.showLabel&&!o.selected&&t.iconOnly]}})(Rh(({theme:e})=>({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1",[`&.${kw.selected}`]:{color:(e.vars||e).palette.primary.main},variants:[{props:({showLabel:e,selected:t})=>!e&&!t,style:{paddingTop:14}},{props:({showLabel:e,selected:t,label:o})=>!e&&!t&&!o,style:{paddingTop:0}}]}))),Pw=Eh("span",{name:"MuiBottomNavigationAction",slot:"Label"})(Rh(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s",[`&.${kw.selected}`]:{fontSize:e.typography.pxToRem(14)},variants:[{props:({showLabel:e,selected:t})=>!e&&!t,style:{opacity:0,transitionDelay:"0s"}}]}))),Nw=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiBottomNavigationAction"}),{className:r,icon:i,label:a,onChange:s,onClick:l,selected:c,showLabel:p,value:d,slots:u={},slotProps:f={},...m}=n,h=n,g=(e=>{const{classes:t,showLabel:o,selected:n}=e;return am({root:["root",!o&&!n&&"iconOnly",n&&"selected"],label:["label",!o&&!n&&"iconOnly",n&&"selected"]},Cw,t)})(h),y={slots:u,slotProps:f},[b,v]=Dg("root",{elementType:Ew,externalForwardedProps:{...y,...m},shouldForwardComponentProp:!0,ownerState:h,ref:o,className:Ju(g.root,r),additionalProps:{focusRipple:!0},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),(e=>{s&&s(e,d),l&&l(e)})(t)}})}),[x,w]=Dg("label",{elementType:Pw,externalForwardedProps:y,ownerState:h,className:g.label});return e.jsxs(b,{...v,children:[i,e.jsx(x,{...w,children:a})]})});"production"!==process.env.NODE_ENV&&(Nw.propTypes={children:Wh,classes:Kc.object,className:Kc.string,icon:Kc.node,label:Kc.node,onChange:Kc.func,onClick:Kc.func,showLabel:Kc.bool,slotProps:Kc.shape({label:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({label:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any});const Rw=of("MuiBox",["root"]),Mw=Th(),$w=Qu({themeId:$s,defaultTheme:Mw,defaultClassName:Rw.root,generateClassName:Yu.generate});"production"!==process.env.NODE_ENV&&($w.propTypes={children:Kc.node,component:Kc.elementType,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});var Iw=Bh(e.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");const Aw=Eh(Oy,{name:"MuiBreadcrumbCollapsed"})(Rh(({theme:e})=>({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`,..."light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{..."light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}},"&:active":{boxShadow:e.shadows[0],..."light"===e.palette.mode?{backgroundColor:Af(e.palette.grey[200],.12)}:{backgroundColor:Af(e.palette.grey[600],.12)}}}))),Bw=Eh(Iw)({width:24,height:16});function Lw(t){const{slots:o={},slotProps:n={},...r}=t,i=t;return e.jsx("li",{children:e.jsx(Aw,{focusRipple:!0,...r,ownerState:i,children:e.jsx(Bw,{as:o.CollapsedIcon,ownerState:i,...n.collapsedIcon})})})}function Dw(e){return tf("MuiBreadcrumbs",e)}"production"!==process.env.NODE_ENV&&(Lw.propTypes={slotProps:Kc.shape({collapsedIcon:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({CollapsedIcon:Kc.elementType}),sx:Kc.object});const zw=of("MuiBreadcrumbs",["root","ol","li","separator"]),Vw=Eh(mb,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${zw.li}`]:t.li},t.root]})({}),Fw=Eh("ol",{name:"MuiBreadcrumbs",slot:"Ol"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),Ww=Eh("li",{name:"MuiBreadcrumbs",slot:"Separator"})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function _w(t,o,n,r){return t.reduce((i,a,s)=>(s<t.length-1?i=i.concat(a,e.jsx(Ww,{"aria-hidden":!0,className:o,ownerState:r,children:n},`separator-${s}`)):i.push(a),i),[])}const Hw=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiBreadcrumbs"}),{children:r,className:i,component:a="nav",slots:s={},slotProps:c={},expandText:p="Show path",itemsAfterCollapse:d=1,itemsBeforeCollapse:u=1,maxItems:f=8,separator:m="/",...h}=n,[g,y]=l.useState(!1),b={...n,component:a,expanded:g,expandText:p,itemsAfterCollapse:d,itemsBeforeCollapse:u,maxItems:f,separator:m},v=(e=>{const{classes:t}=e;return am({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},Dw,t)})(b),x=Hv({elementType:s.CollapsedIcon,externalSlotProps:c.collapsedIcon,ownerState:b}),w=l.useRef(null),S=l.Children.toArray(r).filter(e=>("production"!==process.env.NODE_ENV&&Kp.isFragment(e),l.isValidElement(e))).map((t,o)=>e.jsx("li",{className:v.li,children:t},`child-${o}`));return e.jsx(Vw,{ref:o,component:a,color:"textSecondary",className:Ju(v.root,i),ownerState:b,...h,children:e.jsx(Fw,{className:v.ol,ref:w,ownerState:b,children:_w(g||f&&S.length<=f?S:(t=>u+d>=t.length?(process.env.NODE_ENV,t):[...t.slice(0,u),e.jsx(Lw,{"aria-label":p,slots:{CollapsedIcon:s.CollapsedIcon},slotProps:{collapsedIcon:x},onClick:()=>{y(!0);const e=w.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...t.slice(t.length-d,t.length)])(S),v.separator,m,b)})})});function qw(e){return tf("MuiButton",e)}"production"!==process.env.NODE_ENV&&(Hw.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,expandText:Kc.string,itemsAfterCollapse:Gg,itemsBeforeCollapse:Gg,maxItems:Gg,separator:Kc.node,slotProps:Kc.shape({collapsedIcon:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({CollapsedIcon:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const Uw=of("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"]),Gw=l.createContext({});"production"!==process.env.NODE_ENV&&(Gw.displayName="ButtonGroupContext");const Kw=l.createContext(void 0);"production"!==process.env.NODE_ENV&&(Kw.displayName="ButtonGroupButtonContext");const Xw=[{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}}}],Yw=Eh(Oy,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${Ed(o.color)}`],t[`size${Ed(o.size)}`],t[`${o.variant}Size${Ed(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(Rh(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],o="light"===e.palette.mode?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"},[`&.${Uw.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]},[`&.${Uw.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Uw.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)",[`&.${Uw.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(My()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Uw.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Uw.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}),[`&.${Uw.loading}`]:{color:"transparent"}}}]}})),Zw=Eh("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,o.loading&&t.startIconLoadingStart,t[`iconSize${Ed(o.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}},...Xw]})),Jw=Eh("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,o.loading&&t.endIconLoadingEnd,t[`iconSize${Ed(o.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}},...Xw]})),Qw=Eh("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),eS=Eh("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),tS=l.forwardRef(function(t,o){const n=l.useContext(Gw),r=l.useContext(Kw),i=Mh({props:bf(n,t),name:"MuiButton"}),{children:a,color:s="primary",component:c="button",className:p,disabled:d=!1,disableElevation:u=!1,disableFocusRipple:f=!1,endIcon:m,focusVisibleClassName:h,fullWidth:g=!1,id:y,loading:b=null,loadingIndicator:v,loadingPosition:x="center",size:w="medium",startIcon:S,type:T,variant:O="text",...j}=i,C=Yf(y),k=v??e.jsx(qy,{"aria-labelledby":C,color:"inherit",size:16}),E={...i,color:s,component:c,disabled:d,disableElevation:u,disableFocusRipple:f,fullWidth:g,loading:b,loadingIndicator:k,loadingPosition:x,size:w,type:T,variant:O},P=(e=>{const{color:t,disableElevation:o,fullWidth:n,size:r,variant:i,loading:a,loadingPosition:s,classes:l}=e,c=am({root:["root",a&&"loading",i,`${i}${Ed(t)}`,`size${Ed(r)}`,`${i}Size${Ed(r)}`,`color${Ed(t)}`,o&&"disableElevation",n&&"fullWidth",a&&`loadingPosition${Ed(s)}`],startIcon:["icon","startIcon",`iconSize${Ed(r)}`],endIcon:["icon","endIcon",`iconSize${Ed(r)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},qw,l);return{...l,...c}})(E),N=(S||b&&"start"===x)&&e.jsx(Zw,{className:P.startIcon,ownerState:E,children:S||e.jsx(eS,{className:P.loadingIconPlaceholder,ownerState:E})}),R=(m||b&&"end"===x)&&e.jsx(Jw,{className:P.endIcon,ownerState:E,children:m||e.jsx(eS,{className:P.loadingIconPlaceholder,ownerState:E})}),M=r||"",$="boolean"==typeof b?e.jsx("span",{className:P.loadingWrapper,style:{display:"contents"},children:b&&e.jsx(Qw,{className:P.loadingIndicator,ownerState:E,children:k})}):null;return e.jsxs(Yw,{ownerState:E,className:Ju(n.className,P.root,p,M),component:c,disabled:d||b,focusRipple:!f,focusVisibleClassName:Ju(P.focusVisible,h),ref:o,type:T,id:b?C:y,...j,classes:P,children:[N,"end"!==x&&$,a,"end"===x&&$,R]})});function oS(e){return l.Children.toArray(e).filter(e=>l.isValidElement(e))}function nS(e){return tf("MuiButtonGroup",e)}"production"!==process.env.NODE_ENV&&(tS.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["inherit","primary","secondary","success","error","info","warning"]),Kc.string]),component:Kc.elementType,disabled:Kc.bool,disableElevation:Kc.bool,disableFocusRipple:Kc.bool,disableRipple:Kc.bool,endIcon:Kc.node,focusVisibleClassName:Kc.string,fullWidth:Kc.bool,href:Kc.string,id:Kc.string,loading:Kc.bool,loadingIndicator:Kc.node,loadingPosition:Kc.oneOf(["center","end","start"]),size:Kc.oneOfType([Kc.oneOf(["small","medium","large"]),Kc.string]),startIcon:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),type:Kc.oneOfType([Kc.oneOf(["button","reset","submit"]),Kc.string]),variant:Kc.oneOfType([Kc.oneOf(["contained","outlined","text"]),Kc.string])});const rS=of("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","horizontal","vertical","colorPrimary","colorSecondary","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),iS=Eh("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${rS.grouped}`]:t.grouped},{[`& .${rS.grouped}`]:t[`grouped${Ed(o.orientation)}`]},{[`& .${rS.grouped}`]:t[`grouped${Ed(o.variant)}`]},{[`& .${rS.grouped}`]:t[`grouped${Ed(o.variant)}${Ed(o.orientation)}`]},{[`& .${rS.grouped}`]:t[`grouped${Ed(o.variant)}${Ed(o.color)}`]},{[`& .${rS.firstButton}`]:t.firstButton},{[`& .${rS.lastButton}`]:t.lastButton},{[`& .${rS.middleButton}`]:t.middleButton},t.root,t[o.variant],!0===o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,"vertical"===o.orientation&&t.vertical]}})(Rh(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(e.vars||e).shadows[2],[`& .${rS.grouped}`]:{boxShadow:"none","&:hover":{boxShadow:"none"}}}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${rS.lastButton},& .${rS.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${rS.lastButton},& .${rS.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderRight:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${rS.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderBottom:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${rS.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(My()).flatMap(([t])=>[{props:{variant:"text",color:t},style:{[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderColor:e.alpha((e.vars||e).palette[t].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${rS.lastButton},& .${rS.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${rS.lastButton},& .${rS.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${rS.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${rS.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(My(["dark"])).map(([t])=>({props:{variant:"contained",color:t},style:{[`& .${rS.firstButton},& .${rS.middleButton}`]:{borderColor:(e.vars||e).palette[t].dark}}}))],[`& .${rS.grouped}`]:{minWidth:40}}))),aS=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiButtonGroup"}),{children:r,className:i,color:a="primary",component:s="div",disabled:c=!1,disableElevation:p=!1,disableFocusRipple:d=!1,disableRipple:u=!1,fullWidth:f=!1,orientation:m="horizontal",size:h="medium",variant:g="outlined",...y}=n,b={...n,color:a,component:s,disabled:c,disableElevation:p,disableFocusRipple:d,disableRipple:u,fullWidth:f,orientation:m,size:h,variant:g},v=(e=>{const{classes:t,color:o,disabled:n,disableElevation:r,fullWidth:i,orientation:a,variant:s}=e;return am({root:["root",s,a,i&&"fullWidth",r&&"disableElevation",`color${Ed(o)}`],grouped:["grouped",`grouped${Ed(a)}`,`grouped${Ed(s)}`,`grouped${Ed(s)}${Ed(a)}`,`grouped${Ed(s)}${Ed(o)}`,n&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]},nS,t)})(b),x=l.useMemo(()=>({className:v.grouped,color:a,disabled:c,disableElevation:p,disableFocusRipple:d,disableRipple:u,fullWidth:f,size:h,variant:g}),[a,c,p,d,u,f,h,g,v.grouped]),w=oS(r),S=w.length,T=e=>{const t=0===e,o=e===S-1;return t&&o?"":t?v.firstButton:o?v.lastButton:v.middleButton};return e.jsx(iS,{as:s,role:"group",className:Ju(v.root,i),ref:o,ownerState:b,...y,children:e.jsx(Gw.Provider,{value:x,children:w.map((t,o)=>e.jsx(Kw.Provider,{value:T(o),children:t},o))})})});function sS(e){return tf("MuiCard",e)}"production"!==process.env.NODE_ENV&&(aS.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["inherit","primary","secondary","error","info","success","warning"]),Kc.string]),component:Kc.elementType,disabled:Kc.bool,disableElevation:Kc.bool,disableFocusRipple:Kc.bool,disableRipple:Kc.bool,fullWidth:Kc.bool,orientation:Kc.oneOf(["horizontal","vertical"]),size:Kc.oneOfType([Kc.oneOf(["small","medium","large"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["contained","outlined","text"]),Kc.string])}),of("MuiCard",["root"]);const lS=Eh(Yg,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),cS=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiCard"}),{className:r,raised:i=!1,...a}=n,s={...n,raised:i},l=(e=>{const{classes:t}=e;return am({root:["root"]},sS,t)})(s);return e.jsx(lS,{className:Ju(l.root,r),elevation:i?8:void 0,ref:o,ownerState:s,...a})});function pS(e){return tf("MuiCardActionArea",e)}"production"!==process.env.NODE_ENV&&(cS.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,raised:Gh(Kc.bool,e=>e.raised&&"outlined"===e.variant?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const dS=of("MuiCardActionArea",["root","focusVisible","focusHighlight"]),uS=Eh(Oy,{name:"MuiCardActionArea",slot:"Root"})(Rh(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${dS.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${dS.focusVisible} .${dS.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),fS=Eh("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})(Rh(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),mS=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiCardActionArea"}),{children:r,className:i,focusVisibleClassName:a,slots:s={},slotProps:l={},...c}=n,p=n,d=(e=>{const{classes:t}=e;return am({root:["root"],focusHighlight:["focusHighlight"]},pS,t)})(p),u={slots:s,slotProps:l},[f,m]=Dg("root",{elementType:uS,externalForwardedProps:{...u,...c},shouldForwardComponentProp:!0,ownerState:p,ref:o,className:Ju(d.root,i),additionalProps:{focusVisibleClassName:Ju(a,d.focusVisible)}}),[h,g]=Dg("focusHighlight",{elementType:fS,externalForwardedProps:u,ownerState:p,className:d.focusHighlight});return e.jsxs(f,{...m,children:[r,e.jsx(h,{...g})]})});function hS(e){return tf("MuiCardActions",e)}"production"!==process.env.NODE_ENV&&(mS.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,focusVisibleClassName:Kc.string,slotProps:Kc.shape({focusHighlight:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({focusHighlight:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiCardActions",["root","spacing"]);const gS=Eh("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),yS=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiCardActions"}),{disableSpacing:r=!1,className:i,...a}=n,s={...n,disableSpacing:r},l=(e=>{const{classes:t,disableSpacing:o}=e;return am({root:["root",!o&&"spacing"]},hS,t)})(s);return e.jsx(gS,{className:Ju(l.root,i),ownerState:s,ref:o,...a})});function bS(e){return tf("MuiCardContent",e)}"production"!==process.env.NODE_ENV&&(yS.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,disableSpacing:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiCardContent",["root"]);const vS=Eh("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),xS=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiCardContent"}),{className:r,component:i="div",...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return am({root:["root"]},bS,t)})(s);return e.jsx(vS,{as:i,className:Ju(l.root,r),ownerState:s,ref:o,...a})});function wS(e){return tf("MuiCardHeader",e)}"production"!==process.env.NODE_ENV&&(xS.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const SS=of("MuiCardHeader",["root","avatar","action","content","title","subheader"]),TS=Eh("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>[{[`& .${SS.title}`]:t.title},{[`& .${SS.subheader}`]:t.subheader},t.root]})({display:"flex",alignItems:"center",padding:16}),OS=Eh("div",{name:"MuiCardHeader",slot:"Avatar"})({display:"flex",flex:"0 0 auto",marginRight:16}),jS=Eh("div",{name:"MuiCardHeader",slot:"Action"})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),CS=Eh("div",{name:"MuiCardHeader",slot:"Content"})({flex:"1 1 auto",[`.${cb.root}:where(& .${SS.title})`]:{display:"block"},[`.${cb.root}:where(& .${SS.subheader})`]:{display:"block"}}),kS=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiCardHeader"}),{action:r,avatar:i,component:a="div",disableTypography:s=!1,subheader:l,subheaderTypographyProps:c,title:p,titleTypographyProps:d,slots:u={},slotProps:f={},...m}=n,h={...n,component:a,disableTypography:s},g=(e=>{const{classes:t}=e;return am({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},wS,t)})(h),y={slots:u,slotProps:{title:d,subheader:c,...f}};let b=p;const[v,x]=Dg("title",{className:g.title,elementType:mb,externalForwardedProps:y,ownerState:h,additionalProps:{variant:i?"body2":"h5",component:"span"}});null==b||b.type===mb||s||(b=e.jsx(v,{...x,children:b}));let w=l;const[S,T]=Dg("subheader",{className:g.subheader,elementType:mb,externalForwardedProps:y,ownerState:h,additionalProps:{variant:i?"body2":"body1",color:"textSecondary",component:"span"}});null==w||w.type===mb||s||(w=e.jsx(S,{...T,children:w}));const[O,j]=Dg("root",{ref:o,className:g.root,elementType:TS,externalForwardedProps:{...y,...m,component:a},ownerState:h}),[C,k]=Dg("avatar",{className:g.avatar,elementType:OS,externalForwardedProps:y,ownerState:h}),[E,P]=Dg("content",{className:g.content,elementType:CS,externalForwardedProps:y,ownerState:h}),[N,R]=Dg("action",{className:g.action,elementType:jS,externalForwardedProps:y,ownerState:h});return e.jsxs(O,{...j,children:[i&&e.jsx(C,{...k,children:i}),e.jsxs(E,{...P,children:[b,w]}),r&&e.jsx(N,{...R,children:r})]})});function ES(e){return tf("MuiCardMedia",e)}"production"!==process.env.NODE_ENV&&(kS.propTypes={action:Kc.node,avatar:Kc.node,children:Kc.node,classes:Kc.object,component:Kc.elementType,disableTypography:Kc.bool,slotProps:Kc.shape({action:Kc.oneOfType([Kc.func,Kc.object]),avatar:Kc.oneOfType([Kc.func,Kc.object]),content:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),subheader:Kc.oneOfType([Kc.func,Kc.object]),title:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({action:Kc.elementType,avatar:Kc.elementType,content:Kc.elementType,root:Kc.elementType,subheader:Kc.elementType,title:Kc.elementType}),subheader:Kc.node,subheaderTypographyProps:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),title:Kc.node,titleTypographyProps:Kc.object}),of("MuiCardMedia",["root","media","img"]);const PS=Eh("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{isMediaComponent:n,isImageComponent:r}=o;return[t.root,n&&t.media,r&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),NS=["video","audio","picture","iframe","img"],RS=["picture","img"],MS=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiCardMedia"}),{children:r,className:i,component:a="div",image:s,src:l,style:c,...p}=n,d=NS.includes(a),u=!d&&s?{backgroundImage:`url("${s}")`,...c}:c,f={...n,component:a,isMediaComponent:d,isImageComponent:RS.includes(a)},m=(e=>{const{classes:t,isMediaComponent:o,isImageComponent:n}=e;return am({root:["root",o&&"media",n&&"img"]},ES,t)})(f);return e.jsx(PS,{className:Ju(m.root,i),as:a,role:!d&&s?"img":void 0,ref:o,style:u,ownerState:f,src:d?s||l:void 0,...p,children:r})});function $S(e){return tf("PrivateSwitchBase",e)}"production"!==process.env.NODE_ENV&&(MS.propTypes={children:Gh(Kc.node,e=>e.children||e.image||e.src||e.component?null:new Error("MUI: Either `children`, `image`, `src` or `component` prop must be specified.")),classes:Kc.object,className:Kc.string,component:Kc.elementType,image:Kc.string,src:Kc.string,style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const IS=Eh(Oy,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),AS=Eh("input",{name:"MuiSwitchBase",shouldForwardProp:kh})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),BS=l.forwardRef(function(t,o){const{autoFocus:n,checked:r,checkedIcon:i,defaultChecked:a,disabled:s,disableFocusRipple:l=!1,edge:c=!1,icon:p,id:d,inputProps:u,inputRef:f,name:m,onBlur:h,onChange:g,onFocus:y,readOnly:b,required:v=!1,tabIndex:x,type:w,value:S,slots:T={},slotProps:O={},...j}=t,[C,k]=_h({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),E=yx();let P=s;E&&void 0===P&&(P=E.disabled);const N="checkbox"===w||"radio"===w,R={...t,checked:C,disabled:P,disableFocusRipple:l,edge:c},M=(e=>{const{classes:t,checked:o,disabled:n,edge:r}=e;return am({root:["root",o&&"checked",n&&"disabled",r&&`edge${Ed(r)}`],input:["input"]},$S,t)})(R),$={slots:T,slotProps:{input:u,...O}},[I,A]=Dg("root",{ref:o,elementType:IS,className:M.root,shouldForwardComponentProp:!0,externalForwardedProps:{...$,component:"span",...j},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),(e=>{y&&y(e),E&&E.onFocus&&E.onFocus(e)})(t)},onBlur:t=>{e.onBlur?.(t),(e=>{h&&h(e),E&&E.onBlur&&E.onBlur(e)})(t)}}),ownerState:R,additionalProps:{centerRipple:!0,focusRipple:!l,disabled:P,role:void 0,tabIndex:null}}),[B,L]=Dg("input",{ref:f,elementType:AS,className:M.input,externalForwardedProps:$,getSlotProps:e=>({...e,onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented||b)return;const t=e.target.checked;k(t),g&&g(e,t)})(t)}}),ownerState:R,additionalProps:{autoFocus:n,checked:r,defaultChecked:a,disabled:P,id:N?d:void 0,name:m,readOnly:b,required:v,tabIndex:x,type:w,..."checkbox"===w&&void 0===S?{}:{value:S}}});return e.jsxs(I,{...A,children:[e.jsx(B,{...L}),C?i:p]})});"production"!==process.env.NODE_ENV&&(BS.propTypes={autoFocus:Kc.bool,checked:Kc.bool,checkedIcon:Kc.node.isRequired,classes:Kc.object,className:Kc.string,defaultChecked:Kc.bool,disabled:Kc.bool,disableFocusRipple:Kc.bool,edge:Kc.oneOf(["end","start",!1]),icon:Kc.node.isRequired,id:Kc.string,inputProps:Kc.object,inputRef:py,name:Kc.string,onBlur:Kc.func,onChange:Kc.func,onFocus:Kc.func,readOnly:Kc.bool,required:Kc.bool,slotProps:Kc.shape({input:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({input:Kc.elementType,root:Kc.elementType}),sx:Kc.object,tabIndex:Kc.oneOfType([Kc.number,Kc.string]),type:Kc.string.isRequired,value:Kc.any});var LS=Bh(e.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"),DS=Bh(e.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"),zS=Bh(e.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 VS(e){return tf("MuiCheckbox",e)}const FS=of("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),WS=Eh(BS,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t[`size${Ed(o.size)}`],"default"!==o.color&&t[`color${Ed(o.color)}`]]}})(Rh(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{[`&.${FS.checked}, &.${FS.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${FS.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),_S=e.jsx(DS,{}),HS=e.jsx(LS,{}),qS=e.jsx(zS,{}),US=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiCheckbox"}),{checkedIcon:r=_S,color:i="primary",icon:a=HS,indeterminate:s=!1,indeterminateIcon:c=qS,inputProps:p,size:d="medium",disableRipple:u=!1,className:f,slots:m={},slotProps:h={},...g}=n,y=s?c:a,b=s?c:r,v={...n,disableRipple:u,color:i,indeterminate:s,size:d},x=(e=>{const{classes:t,indeterminate:o,color:n,size:r}=e,i=am({root:["root",o&&"indeterminate",`color${Ed(n)}`,`size${Ed(r)}`]},VS,t);return{...t,...i}})(v),w=h.input??p,[S,T]=Dg("root",{ref:o,elementType:WS,className:Ju(x.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:m,slotProps:h,...g},ownerState:v,additionalProps:{type:"checkbox",icon:l.cloneElement(y,{fontSize:y.props.fontSize??d}),checkedIcon:l.cloneElement(b,{fontSize:b.props.fontSize??d}),disableRipple:u,slots:m,slotProps:{input:Uh("function"==typeof w?w(v):w,{"data-indeterminate":s})}}});return e.jsx(S,{...T,classes:x})});function GS(e){return e.substring(2).toLowerCase()}function KS(e){const{children:t,disableReactTree:o=!1,mouseEvent:n="onClick",onClickAway:r,touchEvent:i="onTouchEnd"}=e,a=l.useRef(!1),s=l.useRef(null),c=l.useRef(!1),p=l.useRef(!1);l.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const d=qh(qv(t),s),u=Hh(e=>{const t=p.current;p.current=!1;const n=Dh(s.current);if(!c.current||!s.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,n))return;if(a.current)return void(a.current=!1);let i;i=e.composedPath?e.composedPath().includes(s.current):!n.documentElement.contains(e.target)||s.current.contains(e.target),i||!o&&t||r(e)}),f=e=>o=>{p.current=!0;const n=t.props[e];n&&n(o)},m={ref:d};return!1!==i&&(m[i]=f(i)),l.useEffect(()=>{if(!1!==i){const e=GS(i),t=Dh(s.current),o=()=>{a.current=!0};return t.addEventListener(e,u),t.addEventListener("touchmove",o),()=>{t.removeEventListener(e,u),t.removeEventListener("touchmove",o)}}},[u,i]),!1!==n&&(m[n]=f(n)),l.useEffect(()=>{if(!1!==n){const e=GS(n),t=Dh(s.current);return t.addEventListener(e,u),()=>{t.removeEventListener(e,u)}}},[u,n]),l.cloneElement(t,m)}"production"!==process.env.NODE_ENV&&(US.propTypes={checked:Kc.bool,checkedIcon:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["default","primary","secondary","error","info","success","warning"]),Kc.string]),defaultChecked:Kc.bool,disabled:Kc.bool,disableRipple:Kc.bool,icon:Kc.node,id:Kc.string,indeterminate:Kc.bool,indeterminateIcon:Kc.node,inputProps:Kc.object,onChange:Kc.func,required:Kc.bool,size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),slotProps:Kc.shape({input:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({input:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any}),"production"!==process.env.NODE_ENV&&(KS.propTypes={children:dw.isRequired,disableReactTree:Kc.bool,mouseEvent:Kc.oneOf(["onClick","onMouseDown","onMouseUp","onPointerDown","onPointerUp",!1]),onClickAway:Kc.func.isRequired,touchEvent:Kc.oneOf(["onTouchEnd","onTouchStart",!1])}),"production"!==process.env.NODE_ENV&&(KS.propTypes=Df(KS.propTypes));const XS=pm({createStyledComponent:Eh("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`maxWidth${Ed(String(o.maxWidth))}`],o.fixed&&t.fixed,o.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Mh({props:e,name:"MuiContainer"})});"production"!==process.env.NODE_ENV&&(XS.propTypes={children:Kc.node,classes:Kc.object,component:Kc.elementType,disableGutters:Kc.bool,fixed:Kc.bool,maxWidth:Kc.oneOfType([Kc.oneOf(["xs","sm","md","lg","xl",!1]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);const YS=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),ZS=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}});function JS(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function QS(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function eT(e){return parseFloat(zh(e).getComputedStyle(e).paddingRight)||0}function tT(e,t,o,n,r){const i=[t,o,...n];[].forEach.call(e.children,e=>{const t=!i.includes(e),o=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),o="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||o}(e);t&&o&&QS(e,r)})}function oT(e,t){let o=-1;return e.some((e,n)=>!!t(e)&&(o=n,!0)),o}function nT(e){let t=e.activeElement;for(;null!=t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}"production"!==process.env.NODE_ENV&&(Kc.node,Kc.bool);const rT=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function iT(e){const t=[],o=[];return Array.from(e.querySelectorAll(rT)).forEach((e,n)=>{const r=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===r?t.push(e):o.push({documentOrder:n,tabIndex:r,node:e}))}),o.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function aT(){return!0}function sT(t){const{children:o,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=iT,isEnabled:s=aT,open:c}=t,p=l.useRef(!1),d=l.useRef(null),u=l.useRef(null),f=l.useRef(null),m=l.useRef(null),h=l.useRef(!1),g=l.useRef(null),y=qh(qv(o),g),b=l.useRef(null);l.useEffect(()=>{c&&g.current&&(h.current=!n)},[n,c]),l.useEffect(()=>{if(!c||!g.current)return;const e=nT(Dh(g.current));return g.current.contains(e)||(g.current.hasAttribute("tabIndex")||(process.env.NODE_ENV,g.current.setAttribute("tabIndex","-1")),h.current&&g.current.focus()),()=>{i||(f.current&&f.current.focus&&(p.current=!0,f.current.focus()),f.current=null)}},[c]),l.useEffect(()=>{if(!c||!g.current)return;const e=Dh(g.current),t=t=>{b.current=t,!r&&s()&&"Tab"===t.key&&nT(e)===g.current&&t.shiftKey&&(p.current=!0,u.current&&u.current.focus())},o=()=>{const t=g.current;if(null===t)return;const o=nT(e);if(!e.hasFocus()||!s()||p.current)return void(p.current=!1);if(t.contains(o))return;if(r&&o!==d.current&&o!==u.current)return;if(o!==m.current)m.current=null;else if(null!==m.current)return;if(!h.current)return;let n=[];if(o!==d.current&&o!==u.current||(n=a(g.current)),n.length>0){const e=Boolean(b.current?.shiftKey&&"Tab"===b.current?.key),t=n[0],o=n[n.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else t.focus()};e.addEventListener("focusin",o),e.addEventListener("keydown",t,!0);const n=setInterval(()=>{const t=nT(e);t&&"BODY"===t.tagName&&o()},50);return()=>{clearInterval(n),e.removeEventListener("focusin",o),e.removeEventListener("keydown",t,!0)}},[n,r,i,s,c,a]);const v=e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0};return e.jsxs(l.Fragment,{children:[e.jsx("div",{tabIndex:c?0:-1,onFocus:v,ref:d,"data-testid":"sentinelStart"}),l.cloneElement(o,{ref:y,onFocus:e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0,m.current=e.target;const t=o.props.onFocus;t&&t(e)}}),e.jsx("div",{tabIndex:c?0:-1,onFocus:v,ref:u,"data-testid":"sentinelEnd"})]})}"production"!==process.env.NODE_ENV&&(sT.propTypes={children:dw,disableAutoFocus:Kc.bool,disableEnforceFocus:Kc.bool,disableRestoreFocus:Kc.bool,getTabbable:Kc.func,isEnabled:Kc.func,open:Kc.bool.isRequired}),"production"!==process.env.NODE_ENV&&(sT.propTypes=Df(sT.propTypes));const lT=()=>{},cT=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&QS(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);tT(t,e.mount,e.modalRef,n,!0);const r=oT(this.containers,e=>e.container===t);return-1!==r?(this.containers[r].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),o)}mount(e,t){const o=oT(this.containers,t=>t.modals.includes(e)),n=this.containers[o];n.restore||(n.restore=function(e,t){const o=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=Dh(e);return t.body===e?zh(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=JS(zh(n));o.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${eT(n)+e}px`;const t=Dh(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${eT(t)+e}px`})}let e;if(n.parentNode instanceof DocumentFragment)e=Dh(n).body;else{const t=n.parentElement,o=zh(n);e="HTML"===t?.nodeName&&"scroll"===o.getComputedStyle(t).overflowY?t:n}o.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{o.forEach(({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)})}}(n,t))}remove(e,t=!0){const o=this.modals.indexOf(e);if(-1===o)return o;const n=oT(this.containers,t=>t.modals.includes(e)),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(o,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&QS(e.modalRef,t),tT(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&QS(e.modalRef,!1)}return o}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function pT(e){return tf("MuiModal",e)}of("MuiModal",["root","hidden","backdrop"]);const dT=Eh("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(Rh(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),uT=Eh(gw,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),fT=l.forwardRef(function(t,o){const n=Mh({name:"MuiModal",props:t}),{BackdropComponent:r=uT,BackdropProps:i,classes:a,className:s,closeAfterTransition:c=!1,children:p,container:d,component:u,components:f={},componentsProps:m={},disableAutoFocus:h=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:y=!1,disablePortal:b=!1,disableRestoreFocus:v=!1,disableScrollLock:x=!1,hideBackdrop:w=!1,keepMounted:S=!1,onClose:T,onTransitionEnter:O,onTransitionExited:j,open:C,slotProps:k={},slots:E={},theme:P,...N}=n,R={...n,closeAfterTransition:c,disableAutoFocus:h,disableEnforceFocus:g,disableEscapeKeyDown:y,disablePortal:b,disableRestoreFocus:v,disableScrollLock:x,hideBackdrop:w,keepMounted:S},{getRootProps:M,getBackdropProps:$,getTransitionProps:I,portalRef:A,isTopModal:B,exited:L,hasTransition:D}=function(e){const{container:t,disableEscapeKeyDown:o=!1,disableScrollLock:n=!1,closeAfterTransition:r=!1,onTransitionEnter:i,onTransitionExited:a,children:s,onClose:c,open:p,rootRef:d}=e,u=l.useRef({}),f=l.useRef(null),m=l.useRef(null),h=qh(m,d),[g,y]=l.useState(!p),b=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let v=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(v=!1);const x=()=>(u.current.modalRef=m.current,u.current.mount=f.current,u.current),w=()=>{cT.mount(x(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},S=Hh(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Dh(f.current).body;cT.add(x(),e),m.current&&w()}),T=()=>cT.isTopModal(x()),O=Hh(e=>{f.current=e,e&&(p&&T()?w():m.current&&QS(m.current,v))}),j=l.useCallback(()=>{cT.remove(x(),v)},[v]);l.useEffect(()=>()=>{j()},[j]),l.useEffect(()=>{p?S():b&&r||j()},[p,j,b,r,S]);const C=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&T()&&(o||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},k=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const o=Ag(e);delete o.onTransitionEnter,delete o.onTransitionExited;const n={...o,...t};return{role:"presentation",...n,onKeyDown:C(n),ref:h}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:k(t),open:p}},getTransitionProps:()=>({onEnter:Ph(()=>{y(!1),i&&i()},s?.props.onEnter??lT),onExited:Ph(()=>{y(!0),a&&a(),r&&j()},s?.props.onExited??lT)}),rootRef:h,portalRef:O,isTopModal:T,exited:g,hasTransition:b}}({...R,rootRef:o}),z={...R,exited:L},V=(e=>{const{open:t,exited:o,classes:n}=e;return am({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},pT,n)})(z),F={};if(void 0===p.props.tabIndex&&(F.tabIndex="-1"),D){const{onEnter:e,onExited:t}=I();F.onEnter=e,F.onExited=t}const W={slots:{root:f.Root,backdrop:f.Backdrop,...E},slotProps:{...m,...k}},[_,H]=Dg("root",{ref:o,elementType:dT,externalForwardedProps:{...W,...N,component:u},getSlotProps:M,ownerState:z,className:Ju(s,V?.root,!z.open&&z.exited&&V?.hidden)}),[q,U]=Dg("backdrop",{ref:i?.ref,elementType:r,externalForwardedProps:W,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>$({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:Ju(i?.className,V?.backdrop),ownerState:z});return S||C||D&&!L?e.jsx(Uv,{ref:A,container:d,disablePortal:b,children:e.jsxs(_,{...H,children:[!w&&r?e.jsx(q,{...U}):null,e.jsx(sT,{disableEnforceFocus:g,disableAutoFocus:h,disableRestoreFocus:v,isEnabled:B,open:C,children:l.cloneElement(p,F)})]})}):null});function mT(e){return tf("MuiDialog",e)}"production"!==process.env.NODE_ENV&&(fT.propTypes={BackdropComponent:Kc.elementType,BackdropProps:Kc.object,children:dw.isRequired,classes:Kc.object,className:Kc.string,closeAfterTransition:Kc.bool,component:Kc.elementType,components:Kc.shape({Backdrop:Kc.elementType,Root:Kc.elementType}),componentsProps:Kc.shape({backdrop:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),container:Kc.oneOfType([Pb,Kc.func]),disableAutoFocus:Kc.bool,disableEnforceFocus:Kc.bool,disableEscapeKeyDown:Kc.bool,disablePortal:Kc.bool,disableRestoreFocus:Kc.bool,disableScrollLock:Kc.bool,hideBackdrop:Kc.bool,keepMounted:Kc.bool,onClose:Kc.func,onTransitionEnter:Kc.func,onTransitionExited:Kc.func,open:Kc.bool.isRequired,slotProps:Kc.shape({backdrop:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({backdrop:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const hT=of("MuiDialog",["root","backdrop","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),gT=l.createContext({});"production"!==process.env.NODE_ENV&&(gT.displayName="DialogContext");const yT=Eh(gw,{name:"MuiDialog",slot:"Backdrop"})({zIndex:-1}),bT=Eh(fT,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),vT=Eh("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.container,t[`scroll${Ed(o.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"}}}]}),xT=Eh(Yg,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.paper,t[`scrollPaper${Ed(o.scroll)}`],t[`paperWidth${Ed(String(o.maxWidth))}`],o.fullWidth&&t.paperFullWidth,o.fullScreen&&t.paperFullScreen]}})(Rh(({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:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${hT.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${hT.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${hT.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),wT=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiDialog"}),r=jh(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,"aria-modal":c=!0,BackdropComponent:p,BackdropProps:d,children:u,className:f,disableEscapeKeyDown:m=!1,fullScreen:h=!1,fullWidth:g=!1,maxWidth:y="sm",onClick:b,onClose:v,open:x,PaperComponent:w=Yg,PaperProps:S={},scroll:T="paper",slots:O={},slotProps:j={},TransitionComponent:C=fw,transitionDuration:k=i,TransitionProps:E,...P}=n,N={...n,disableEscapeKeyDown:m,fullScreen:h,fullWidth:g,maxWidth:y,scroll:T},R=(e=>{const{classes:t,scroll:o,maxWidth:n,fullWidth:r,fullScreen:i}=e;return am({root:["root"],backdrop:["backdrop"],container:["container",`scroll${Ed(o)}`],paper:["paper",`paperScroll${Ed(o)}`,`paperWidth${Ed(String(n))}`,r&&"paperFullWidth",i&&"paperFullScreen"]},mT,t)})(N),M=l.useRef(),$=Yf(s),I=l.useMemo(()=>({titleId:$}),[$]),A={slots:{transition:C,...O},slotProps:{transition:E,paper:S,backdrop:d,...j}},[B,L]=Dg("root",{elementType:bT,shouldForwardComponentProp:!0,externalForwardedProps:A,ownerState:N,className:Ju(R.root,f),ref:o}),[D,z]=Dg("backdrop",{elementType:yT,shouldForwardComponentProp:!0,externalForwardedProps:A,ownerState:N,className:R.backdrop}),[V,F]=Dg("paper",{elementType:xT,shouldForwardComponentProp:!0,externalForwardedProps:A,ownerState:N,className:Ju(R.paper,S.className)}),[W,_]=Dg("container",{elementType:vT,externalForwardedProps:A,ownerState:N,className:R.container}),[H,q]=Dg("transition",{elementType:fw,externalForwardedProps:A,ownerState:N,additionalProps:{appear:!0,in:x,timeout:k,role:"presentation"}});return e.jsx(B,{closeAfterTransition:!0,slots:{backdrop:D},slotProps:{backdrop:{transitionDuration:k,as:p,...z}},disableEscapeKeyDown:m,onClose:v,open:x,onClick:e=>{b&&b(e),M.current&&(M.current=null,v&&v(e,"backdropClick"))},...L,...P,children:e.jsx(H,{...q,children:e.jsx(W,{onMouseDown:e=>{M.current=e.target===e.currentTarget},..._,children:e.jsx(V,{as:w,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":$,"aria-modal":c,...F,children:e.jsx(gT.Provider,{value:I,children:u})})})})})});function ST(e){return tf("MuiDialogActions",e)}"production"!==process.env.NODE_ENV&&(wT.propTypes={"aria-describedby":Kc.string,"aria-labelledby":Kc.string,"aria-modal":Kc.oneOfType([Kc.oneOf(["false","true"]),Kc.bool]),BackdropComponent:Kc.elementType,BackdropProps:Kc.object,children:Kc.node,classes:Kc.object,className:Kc.string,disableEscapeKeyDown:Kc.bool,fullScreen:Kc.bool,fullWidth:Kc.bool,maxWidth:Kc.oneOfType([Kc.oneOf(["xs","sm","md","lg","xl",!1]),Kc.string]),onClick:Kc.func,onClose:Kc.func,open:Kc.bool.isRequired,PaperComponent:Kc.elementType,PaperProps:Kc.object,scroll:Kc.oneOf(["body","paper"]),slotProps:Kc.shape({backdrop:Kc.oneOfType([Kc.func,Kc.object]),container:Kc.oneOfType([Kc.func,Kc.object]),paper:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({backdrop:Kc.elementType,container:Kc.elementType,paper:Kc.elementType,root:Kc.elementType,transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),TransitionComponent:Kc.elementType,transitionDuration:Kc.oneOfType([Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})]),TransitionProps:Kc.object}),of("MuiDialogActions",["root","spacing"]);const TT=Eh("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),OT=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiDialogActions"}),{className:r,disableSpacing:i=!1,...a}=n,s={...n,disableSpacing:i},l=(e=>{const{classes:t,disableSpacing:o}=e;return am({root:["root",!o&&"spacing"]},ST,t)})(s);return e.jsx(TT,{className:Ju(l.root,r),ownerState:s,ref:o,...a})});function jT(e){return tf("MuiDialogContent",e)}function CT(e){return tf("MuiDialogTitle",e)}"production"!==process.env.NODE_ENV&&(OT.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,disableSpacing:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiDialogContent",["root","dividers"]);const kT=of("MuiDialogTitle",["root"]),ET=Eh("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dividers&&t.dividers]}})(Rh(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${kT.root} + &`]:{paddingTop:0}}}]}))),PT=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiDialogContent"}),{className:r,dividers:i=!1,...a}=n,s={...n,dividers:i},l=(e=>{const{classes:t,dividers:o}=e;return am({root:["root",o&&"dividers"]},jT,t)})(s);return e.jsx(ET,{className:Ju(l.root,r),ownerState:s,ref:o,...a})});function NT(e){return tf("MuiDialogContentText",e)}"production"!==process.env.NODE_ENV&&(PT.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,dividers:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiDialogContentText",["root"]);const RT=Eh(mb,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root"})({}),MT=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiDialogContentText"}),{children:r,className:i,...a}=n,s=(e=>{const{classes:t}=e,o=am({root:["root"]},NT,t);return{...t,...o}})(a);return e.jsx(RT,{component:"p",variant:"body1",color:"textSecondary",ref:o,ownerState:a,className:Ju(s.root,i),...n,classes:s})});"production"!==process.env.NODE_ENV&&(MT.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const $T=Eh(mb,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),IT=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiDialogTitle"}),{className:r,id:i,...a}=n,s=n,c=(e=>{const{classes:t}=e;return am({root:["root"]},CT,t)})(s),{titleId:p=i}=l.useContext(gT);return e.jsx($T,{component:"h2",className:Ju(c.root,r),ownerState:s,ref:o,variant:"h6",id:i??p,...a})});function AT(e){return tf("MuiDivider",e)}"production"!==process.env.NODE_ENV&&(IT.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,id:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const BT=of("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),LT=Eh("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.absolute&&t.absolute,t[o.variant],o.light&&t.light,"vertical"===o.orientation&&t.vertical,o.flexItem&&t.flexItem,o.children&&t.withChildren,o.children&&"vertical"===o.orientation&&t.withChildrenVertical,"right"===o.textAlign&&"vertical"!==o.orientation&&t.textAlignRight,"left"===o.textAlign&&"vertical"!==o.orientation&&t.textAlignLeft]}})(Rh(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&"vertical"!==e.orientation,style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>"vertical"===e.orientation&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>"right"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>"left"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),DT=Eh("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.wrapper,"vertical"===o.orientation&&t.wrapperVertical]}})(Rh(({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)`}}]}))),zT=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiDivider"}),{absolute:r=!1,children:i,className:a,orientation:s="horizontal",component:l=(i||"vertical"===s?"div":"hr"),flexItem:c=!1,light:p=!1,role:d=("hr"!==l?"separator":void 0),textAlign:u="center",variant:f="fullWidth",...m}=n,h={...n,absolute:r,component:l,flexItem:c,light:p,orientation:s,role:d,textAlign:u,variant:f},g=(e=>{const{absolute:t,children:o,classes:n,flexItem:r,light:i,orientation:a,textAlign:s,variant:l}=e;return am({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",r&&"flexItem",o&&"withChildren",o&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},AT,n)})(h);return e.jsx(LT,{as:l,className:Ju(g.root,a),role:d,ref:o,ownerState:h,"aria-orientation":"separator"!==d||"hr"===l&&"vertical"!==s?void 0:s,...m,children:i?e.jsx(DT,{className:g.wrapper,ownerState:h,children:i}):null})});function VT(e){return"function"==typeof e?e():e}function FT(e,t,o){const n=function(e,t,o){const n=t.getBoundingClientRect(),r=o&&o.getBoundingClientRect(),i=zh(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?r?`translateX(${r.right+s-n.left}px)`:`translateX(${i.innerWidth+s-n.left}px)`:"right"===e?r?`translateX(-${n.right-r.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:"up"===e?r?`translateY(${r.bottom+l-n.top}px)`:`translateY(${i.innerHeight+l-n.top}px)`:r?`translateY(-${n.top-r.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}(e,t,VT(o));n&&(t.style.webkitTransform=n,t.style.transform=n)}zT&&(zT.muiSkipListHighlight=!0),"production"!==process.env.NODE_ENV&&(zT.propTypes={absolute:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,flexItem:Kc.bool,light:Kc.bool,orientation:Kc.oneOf(["horizontal","vertical"]),role:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),textAlign:Kc.oneOf(["center","left","right"]),variant:Kc.oneOfType([Kc.oneOf(["fullWidth","inset","middle"]),Kc.string])});const WT=l.forwardRef(function(t,o){const n=jh(),r={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:c,container:p,direction:d="down",easing:u=r,in:f,onEnter:m,onEntered:h,onEntering:g,onExit:y,onExited:b,onExiting:v,style:x,timeout:w=i,TransitionComponent:S=sg,...T}=t,O=l.useRef(null),j=qh(qv(c),O,o),C=e=>t=>{e&&(void 0===t?e(O.current):e(O.current,t))},k=C((e,t)=>{FT(d,e,p),Ng(e),m&&m(e,t)}),E=C((e,t)=>{const o=Rg({timeout:w,style:x,easing:u},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",{...o}),e.style.transition=n.transitions.create("transform",{...o}),e.style.webkitTransform="none",e.style.transform="none",g&&g(e,t)}),P=C(h),N=C(v),R=C(e=>{const t=Rg({timeout:w,style:x,easing:u},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),FT(d,e,p),y&&y(e)}),M=C(e=>{e.style.webkitTransition="",e.style.transition="",b&&b(e)}),$=l.useCallback(()=>{O.current&&FT(d,O.current,p)},[d,p]);return l.useEffect(()=>{if(f||"down"===d||"right"===d)return;const e=Lh(()=>{O.current&&FT(d,O.current,p)}),t=zh(O.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[d,f,p]),l.useEffect(()=>{f||$()},[f,$]),e.jsx(S,{nodeRef:O,onEnter:k,onEntered:P,onEntering:E,onExit:R,onExited:M,onExiting:N,addEndListener:e=>{a&&a(O.current,e)},appear:s,in:f,timeout:w,...T,children:(e,{ownerState:t,...o})=>l.cloneElement(c,{ref:j,style:{visibility:"exited"!==e||f?void 0:"hidden",...x,...c.props.style},...o})})});function _T(e){return tf("MuiDrawer",e)}"production"!==process.env.NODE_ENV&&(WT.propTypes={addEndListener:Kc.func,appear:Kc.bool,children:dw.isRequired,container:Gh(Kc.oneOfType([Pb,Kc.func]),e=>{if(e.open){const t=VT(e.container);if(t&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `container` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `container` prop provided to the component is invalid.","It should be an HTML element instance."].join("\n"))}return null}),direction:Kc.oneOf(["down","left","right","up"]),easing:Kc.oneOfType([Kc.shape({enter:Kc.string,exit:Kc.string}),Kc.string]),in:Kc.bool,onEnter:Kc.func,onEntered:Kc.func,onEntering:Kc.func,onExit:Kc.func,onExited:Kc.func,onExiting:Kc.func,style:Kc.object,timeout:Kc.oneOfType([Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})])}),of("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const HT=(e,t)=>{const{ownerState:o}=e;return[t.root,("permanent"===o.variant||"persistent"===o.variant)&&t.docked,t.modal]},qT=Eh(fT,{name:"MuiDrawer",slot:"Root",overridesResolver:HT})(Rh(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),UT=Eh("div",{shouldForwardProp:kh,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:HT})({flex:"0 0 auto"}),GT=Eh(Yg,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.paper,t[`paperAnchor${Ed(o.anchor)}`],"temporary"!==o.variant&&t[`paperAnchorDocked${Ed(o.anchor)}`]]}})(Rh(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:e})=>"left"===e.anchor&&"temporary"!==e.variant,style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"top"===e.anchor&&"temporary"!==e.variant,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"right"===e.anchor&&"temporary"!==e.variant,style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"bottom"===e.anchor&&"temporary"!==e.variant,style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),KT={left:"right",right:"left",top:"down",bottom:"up"};function XT(e){return["left","right"].includes(e)}function YT({direction:e},t){return"rtl"===e&&XT(t)?KT[t]:t}const ZT=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiDrawer"}),r=jh(),i=qf(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:c,children:p,className:d,elevation:u=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:m,...h}={},onClose:g,open:y=!1,PaperProps:b={},SlideProps:v,TransitionComponent:x,transitionDuration:w=a,variant:S="temporary",slots:T={},slotProps:O={},...j}=n,C=l.useRef(!1);l.useEffect(()=>{C.current=!0},[]);const k=YT({direction:i?"rtl":"ltr"},s),E=s,P={...n,anchor:E,elevation:u,open:y,variant:S,...j},N=(e=>{const{classes:t,anchor:o,variant:n}=e;return am({root:["root",`anchor${Ed(o)}`],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Ed(o)}`,"temporary"!==n&&`paperAnchorDocked${Ed(o)}`]},_T,t)})(P),R={slots:{transition:x,...T},slotProps:{paper:b,transition:v,...O,backdrop:Uh(O.backdrop||{...c,...m},{transitionDuration:w})}},[M,$]=Dg("root",{ref:o,elementType:qT,className:Ju(N.root,N.modal,d),shouldForwardComponentProp:!0,ownerState:P,externalForwardedProps:{...R,...j,...h},additionalProps:{open:y,onClose:g,hideBackdrop:f,slots:{backdrop:R.slots.backdrop},slotProps:{backdrop:R.slotProps.backdrop}}}),[I,A]=Dg("paper",{elementType:GT,shouldForwardComponentProp:!0,className:Ju(N.paper,b.className),ownerState:P,externalForwardedProps:R,additionalProps:{elevation:"temporary"===S?u:0,square:!0,..."temporary"===S&&{role:"dialog","aria-modal":"true"}}}),[B,L]=Dg("docked",{elementType:UT,ref:o,className:Ju(N.root,N.docked,d),ownerState:P,externalForwardedProps:R,additionalProps:j}),[D,z]=Dg("transition",{elementType:WT,ownerState:P,externalForwardedProps:R,additionalProps:{in:y,direction:KT[k],timeout:w,appear:C.current}}),V=e.jsx(I,{...A,children:p});if("permanent"===S)return e.jsx(B,{...L,children:V});const F=e.jsx(D,{...z,children:V});return"persistent"===S?e.jsx(B,{...L,children:F}):e.jsx(M,{...$,children:F})});function JT(e){return tf("MuiFab",e)}"production"!==process.env.NODE_ENV&&(ZT.propTypes={anchor:Kc.oneOf(["bottom","left","right","top"]),BackdropProps:Kc.object,children:Kc.node,classes:Kc.object,className:Kc.string,elevation:Gg,hideBackdrop:Kc.bool,ModalProps:Kc.object,onClose:Kc.func,open:Kc.bool,PaperProps:Kc.object,SlideProps:Kc.object,slotProps:Kc.shape({backdrop:Kc.oneOfType([Kc.func,Kc.object]),docked:Kc.oneOfType([Kc.func,Kc.object]),paper:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({backdrop:Kc.elementType,docked:Kc.elementType,paper:Kc.elementType,root:Kc.elementType,transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),transitionDuration:Kc.oneOfType([Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})]),variant:Kc.oneOf(["permanent","persistent","temporary"])});const QT=of("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),eO=Eh(Oy,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>kh(e)||"classes"===e,overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`size${Ed(o.size)}`],"inherit"===o.color&&t.colorInherit,t[Ed(o.size)],t[o.color]]}})(Rh(({theme:e})=>({...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.grey[900]:e.palette.getContrastText?.(e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${QT.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]})),Rh(({theme:e})=>({variants:[...Object.entries(e.palette).filter(My(["dark","contrastText"])).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}}))]})),Rh(({theme:e})=>({[`&.${QT.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),tO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiFab"}),{children:r,className:i,color:a="default",component:s="button",disabled:l=!1,disableFocusRipple:c=!1,focusVisibleClassName:p,size:d="large",variant:u="circular",...f}=n,m={...n,color:a,component:s,disabled:l,disableFocusRipple:c,size:d,variant:u},h=(e=>{const{color:t,variant:o,classes:n,size:r}=e,i=am({root:["root",o,`size${Ed(r)}`,"inherit"===t?"colorInherit":t]},JT,n);return{...n,...i}})(m);return e.jsx(eO,{className:Ju(h.root,i),component:s,disabled:l,focusRipple:!c,focusVisibleClassName:Ju(h.focusVisible,p),ownerState:m,ref:o,...f,classes:h,children:r})});"production"!==process.env.NODE_ENV&&(tO.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["default","error","info","inherit","primary","secondary","success","warning"]),Kc.string]),component:Kc.elementType,disabled:Kc.bool,disableFocusRipple:Kc.bool,disableRipple:Kc.bool,focusVisibleClassName:Kc.string,href:Kc.string,size:Kc.oneOfType([Kc.oneOf(["small","medium","large"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["circular","extended"]),Kc.string])});const oO=Eh(jx,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[...Tx(e,t),!o.disableUnderline&&t.underline]}})(Rh(({theme:e})=>{const t="light"===e.palette.mode,o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n,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:r,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n}},[`&.${Ix.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n},[`&.${Ix.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:e})=>!e.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"},[`&.${Ix.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ix.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):o}`,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(.${Ix.disabled}, .${Ix.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Ix.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),nO=Eh(Cx,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ox})(Rh(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),rO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiFilledInput"}),{disableUnderline:r=!1,components:i={},componentsProps:a,fullWidth:s=!1,hiddenLabel:l,inputComponent:c="input",multiline:p=!1,slotProps:d,slots:u={},type:f="text",...m}=n,h={...n,disableUnderline:r,fullWidth:s,inputComponent:c,multiline:p,type:f},g=(e=>{const{classes:t,disableUnderline:o,startAdornment:n,endAdornment:r,size:i,hiddenLabel:a,multiline:s}=e,l=am({root:["root",!o&&"underline",n&&"adornedStart",r&&"adornedEnd","small"===i&&`size${Ed(i)}`,a&&"hiddenLabel",s&&"multiline"],input:["input"]},$x,t);return{...t,...l}})(n),y={root:{ownerState:h},input:{ownerState:h}},b=d??a?hd(y,d??a):y,v=u.root??i.Root??oO,x=u.input??i.Input??nO;return e.jsx(Ex,{slots:{root:v,input:x},slotProps:b,fullWidth:s,inputComponent:c,multiline:p,ref:o,type:f,...m,classes:g})});function iO(e){return tf("MuiFormControl",e)}"production"!==process.env.NODE_ENV&&(rO.propTypes={autoComplete:Kc.string,autoFocus:Kc.bool,classes:Kc.object,color:Kc.oneOfType([Kc.oneOf(["primary","secondary"]),Kc.string]),components:Kc.shape({Input:Kc.elementType,Root:Kc.elementType}),componentsProps:Kc.shape({input:Kc.object,root:Kc.object}),defaultValue:Kc.any,disabled:Kc.bool,disableUnderline:Kc.bool,endAdornment:Kc.node,error:Kc.bool,fullWidth:Kc.bool,hiddenLabel:Kc.bool,id:Kc.string,inputComponent:Kc.elementType,inputProps:Kc.object,inputRef:py,margin:Kc.oneOf(["dense","none"]),maxRows:Kc.oneOfType([Kc.number,Kc.string]),minRows:Kc.oneOfType([Kc.number,Kc.string]),multiline:Kc.bool,name:Kc.string,onChange:Kc.func,placeholder:Kc.string,readOnly:Kc.bool,required:Kc.bool,rows:Kc.oneOfType([Kc.number,Kc.string]),slotProps:Kc.shape({input:Kc.object,root:Kc.object}),slots:Kc.shape({input:Kc.elementType,root:Kc.elementType}),startAdornment:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),type:Kc.string,value:Kc.any}),rO.muiName="Input",of("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const aO=Eh("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`margin${Ed(o.margin)}`],o.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%"}}]}),sO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiFormControl"}),{children:r,className:i,color:a="primary",component:s="div",disabled:c=!1,error:p=!1,focused:d,fullWidth:u=!1,hiddenLabel:f=!1,margin:m="none",required:h=!1,size:g="medium",variant:y="outlined",...b}=n,v={...n,color:a,component:s,disabled:c,error:p,fullWidth:u,hiddenLabel:f,margin:m,required:h,size:g,variant:y},x=(e=>{const{classes:t,margin:o,fullWidth:n}=e;return am({root:["root","none"!==o&&`margin${Ed(o)}`,n&&"fullWidth"]},iO,t)})(v),[w,S]=l.useState(()=>{let e=!1;return r&&l.Children.forEach(r,t=>{if(!um(t,["Input","Select"]))return;const o=um(t,["Select"])?t.props.input:t;o&&o.props.startAdornment&&(e=!0)}),e}),[T,O]=l.useState(()=>{let e=!1;return r&&l.Children.forEach(r,t=>{um(t,["Input","Select"])&&(vx(t.props,!0)||vx(t.props.inputProps,!0))&&(e=!0)}),e}),[j,C]=l.useState(!1);c&&j&&C(!1);const k=void 0===d||c?j:d;let E;const P=l.useRef(!1);"production"!==process.env.NODE_ENV&&(E=()=>(P.current,P.current=!0,()=>{P.current=!1}));const N=l.useCallback(()=>{O(!0)},[]),R=l.useCallback(()=>{O(!1)},[]),M=l.useMemo(()=>({adornedStart:w,setAdornedStart:S,color:a,disabled:c,error:p,filled:T,focused:k,fullWidth:u,hiddenLabel:f,size:g,onBlur:()=>{C(!1)},onFocus:()=>{C(!0)},onEmpty:R,onFilled:N,registerEffect:E,required:h,variant:y}),[w,a,c,p,T,k,u,f,E,R,N,h,g,y]);return e.jsx(gx.Provider,{value:M,children:e.jsx(aO,{as:s,ownerState:v,className:Ju(x.root,i),ref:o,...b,children:r})})});function lO(e){return tf("MuiFormControlLabel",e)}"production"!==process.env.NODE_ENV&&(sO.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["primary","secondary","error","info","success","warning"]),Kc.string]),component:Kc.elementType,disabled:Kc.bool,error:Kc.bool,focused:Kc.bool,fullWidth:Kc.bool,hiddenLabel:Kc.bool,margin:Kc.oneOf(["dense","none","normal"]),required:Kc.bool,size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOf(["filled","outlined","standard"])});const cO=of("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),pO=Eh("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${cO.label}`]:t.label},t.root,t[`labelPlacement${Ed(o.labelPlacement)}`]]}})(Rh(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${cO.disabled}`]:{cursor:"default"},[`& .${cO.label}`]:{[`&.${cO.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:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]}))),dO=Eh("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(Rh(({theme:e})=>({[`&.${cO.error}`]:{color:(e.vars||e).palette.error.main}}))),uO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiFormControlLabel"}),{checked:r,className:i,componentsProps:a={},control:s,disabled:c,disableTypography:p,inputRef:d,label:u,labelPlacement:f="end",name:m,onChange:h,required:g,slots:y={},slotProps:b={},value:v,...x}=n,w=yx(),S=c??s.props.disabled??w?.disabled,T=g??s.props.required,O={disabled:S,required:T};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===s.props[e]&&void 0!==n[e]&&(O[e]=n[e])});const j=hx({props:n,muiFormControl:w,states:["error"]}),C={...n,disabled:S,labelPlacement:f,required:T,error:j.error},k=(e=>{const{classes:t,disabled:o,labelPlacement:n,error:r,required:i}=e;return am({root:["root",o&&"disabled",`labelPlacement${Ed(n)}`,r&&"error",i&&"required"],label:["label",o&&"disabled"],asterisk:["asterisk",r&&"error"]},lO,t)})(C),E={slots:y,slotProps:{...a,...b}},[P,N]=Dg("typography",{elementType:mb,externalForwardedProps:E,ownerState:C});let R=u;return null==R||R.type===mb||p||(R=e.jsx(P,{component:"span",...N,className:Ju(k.label,N?.className),children:R})),e.jsxs(pO,{className:Ju(k.root,i),ownerState:C,ref:o,...x,children:[l.cloneElement(s,O),T?e.jsxs("div",{children:[R,e.jsxs(dO,{ownerState:C,"aria-hidden":!0,className:k.asterisk,children:[" ","*"]})]}):R]})});function fO(e){return tf("MuiFormGroup",e)}"production"!==process.env.NODE_ENV&&(uO.propTypes={checked:Kc.bool,classes:Kc.object,className:Kc.string,componentsProps:Kc.shape({typography:Kc.object}),control:Kc.element.isRequired,disabled:Kc.bool,disableTypography:Kc.bool,inputRef:py,label:Kc.node,labelPlacement:Kc.oneOf(["bottom","end","start","top"]),name:Kc.string,onChange:Kc.func,required:Kc.bool,slotProps:Kc.shape({typography:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({typography:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any}),of("MuiFormGroup",["root","row","error"]);const mO=Eh("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),hO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiFormGroup"}),{className:r,row:i=!1,...a}=n,s=hx({props:n,muiFormControl:yx(),states:["error"]}),l={...n,row:i,error:s.error},c=(e=>{const{classes:t,row:o,error:n}=e;return am({root:["root",o&&"row",n&&"error"]},fO,t)})(l);return e.jsx(mO,{className:Ju(c.root,r),ownerState:l,ref:o,...a})});function gO(e){return tf("MuiFormHelperText",e)}"production"!==process.env.NODE_ENV&&(hO.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,row:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const yO=of("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var bO;const vO=Eh("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.size&&t[`size${Ed(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(Rh(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${yO.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${yO.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),xO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiFormHelperText"}),{children:r,className:i,component:a="p",disabled:s,error:l,filled:c,focused:p,margin:d,required:u,variant:f,...m}=n,h=hx({props:n,muiFormControl:yx(),states:["variant","size","disabled","error","filled","focused","required"]}),g={...n,component:a,contained:"filled"===h.variant||"outlined"===h.variant,variant:h.variant,size:h.size,disabled:h.disabled,error:h.error,filled:h.filled,focused:h.focused,required:h.required};delete g.ownerState;const y=(e=>{const{classes:t,contained:o,size:n,disabled:r,error:i,filled:a,focused:s,required:l}=e;return am({root:["root",r&&"disabled",i&&"error",n&&`size${Ed(n)}`,o&&"contained",s&&"focused",a&&"filled",l&&"required"]},gO,t)})(g);return e.jsx(vO,{as:a,className:Ju(y.root,i),ref:o,...m,ownerState:g,children:" "===r?bO||(bO=e.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):r})});function wO(e){return tf("MuiFormLabel",e)}"production"!==process.env.NODE_ENV&&(xO.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,disabled:Kc.bool,error:Kc.bool,filled:Kc.bool,focused:Kc.bool,margin:Kc.oneOf(["dense"]),required:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["filled","outlined","standard"]),Kc.string])});const SO=of("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),TO=Eh("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"secondary"===o.color&&t.colorSecondary,o.filled&&t.filled]}})(Rh(({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(My()).map(([t])=>({props:{color:t},style:{[`&.${SO.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${SO.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${SO.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),OO=Eh("span",{name:"MuiFormLabel",slot:"Asterisk"})(Rh(({theme:e})=>({[`&.${SO.error}`]:{color:(e.vars||e).palette.error.main}}))),jO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiFormLabel"}),{children:r,className:i,color:a,component:s="label",disabled:l,error:c,filled:p,focused:d,required:u,...f}=n,m=hx({props:n,muiFormControl:yx(),states:["color","required","focused","disabled","error","filled"]}),h={...n,color:m.color||"primary",component:s,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required},g=(e=>{const{classes:t,color:o,focused:n,disabled:r,error:i,filled:a,required:s}=e;return am({root:["root",`color${Ed(o)}`,r&&"disabled",i&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]},wO,t)})(h);return e.jsxs(TO,{as:s,ownerState:h,className:Ju(g.root,i),ref:o,...f,children:[r,m.required&&e.jsxs(OO,{ownerState:h,"aria-hidden":!0,className:g.asterisk,children:[" ","*"]})]})});"production"!==process.env.NODE_ENV&&(jO.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["error","info","primary","secondary","success","warning"]),Kc.string]),component:Kc.elementType,disabled:Kc.bool,error:Kc.bool,filled:Kc.bool,focused:Kc.bool,required:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const CO=l.createContext();function kO(e){return tf("MuiGridLegacy",e)}"production"!==process.env.NODE_ENV&&(CO.displayName="GridLegacyContext");const EO=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],PO=of("MuiGridLegacy",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...EO.map(e=>`grid-xs-${e}`),...EO.map(e=>`grid-sm-${e}`),...EO.map(e=>`grid-md-${e}`),...EO.map(e=>`grid-lg-${e}`),...EO.map(e=>`grid-xl-${e}`)]);let NO=!1;function RO({breakpoints:e,values:t}){let o="";Object.keys(t).forEach(e=>{""===o&&0!==t[e]&&(o=e)});const n=Object.keys(e).sort((t,o)=>e[t]-e[o]);return n.slice(0,n.indexOf(o))}const MO=Eh("div",{name:"MuiGridLegacy",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{container:n,direction:r,item:i,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=o;let p=[];n&&(p=function(e,t,o={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[o[`spacing-xs-${String(e)}`]];const n=[];return t.forEach(t=>{const r=e[t];Number(r)>0&&n.push(o[`spacing-${t}-${String(r)}`])}),n}(a,c,t));const d=[];return c.forEach(e=>{const n=o[e];n&&d.push(t[`grid-${e}-${String(n)}`])}),[t.root,n&&t.container,i&&t.item,l&&t.zeroMinWidth,...p,"row"!==r&&t[`direction-xs-${String(r)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},..."wrap"!==e.wrap&&{flexWrap:e.wrap}}),function({theme:e,ownerState:t}){return Od({theme:e},kd({values:t.direction,breakpoints:e.breakpoints.values}),e=>{const t={flexDirection:e};return e.startsWith("column")&&(t[`& > .${PO.item}`]={maxWidth:"none"}),t})},function({theme:e,ownerState:t}){const{container:o,rowSpacing:n}=t;let r={};if(o&&0!==n){const t=kd({values:n,breakpoints:e.breakpoints.values});let o;"object"==typeof t&&(o=RO({breakpoints:e.breakpoints.values,values:t})),r=Od({theme:e},t,(t,n)=>{const r=e.spacing(t);return"0px"!==r?{marginTop:`calc(-1 * ${r})`,[`& > .${PO.item}`]:{paddingTop:r}}:o?.includes(n)?{}:{marginTop:0,[`& > .${PO.item}`]:{paddingTop:0}}})}return r},function({theme:e,ownerState:t}){const{container:o,columnSpacing:n}=t;let r={};if(o&&0!==n){const t=kd({values:n,breakpoints:e.breakpoints.values});let o;"object"==typeof t&&(o=RO({breakpoints:e.breakpoints.values,values:t})),r=Od({theme:e},t,(t,n)=>{const r=e.spacing(t);return"0px"!==r?{width:`calc(100% + ${r})`,marginLeft:`calc(-1 * ${r})`,[`& > .${PO.item}`]:{paddingLeft:r}}:o?.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${PO.item}`]:{paddingLeft:0}}})}return r},function({theme:e,ownerState:t}){let o;return e.breakpoints.keys.reduce((n,r)=>{let i={};if(t[r]&&(o=t[r]),!o)return n;if(!0===o)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===o)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=kd({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof a?a[r]:a;if(null==s)return n;const l=Math.round(o/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const o=e.spacing(t.columnSpacing);if("0px"!==o){const e=`calc(${l} + ${o})`;c={flexBasis:e,maxWidth:e}}}i={flexBasis:l,flexGrow:0,maxWidth:l,...c}}return 0===e.breakpoints.values[r]?Object.assign(n,i):n[e.breakpoints.up(r)]=i,n},{})}),$O=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiGridLegacy"}),{breakpoints:r}=jh(),i=Uu(n),{className:a,columns:s,columnSpacing:c,component:p="div",container:d=!1,direction:u="row",item:f=!1,rowSpacing:m,spacing:h=0,wrap:g="wrap",zeroMinWidth:y=!1,...b}=i;l.useEffect(()=>{NO||"development"!==process.env.NODE_ENV||(NO=!0)},[]);const v=m||h,x=c||h,w=l.useContext(CO),S=d?s||12:w,T={},O={...b};r.keys.forEach(e=>{null!=b[e]&&(T[e]=b[e],delete O[e])});const j={...i,columns:S,container:d,direction:u,item:f,rowSpacing:v,columnSpacing:x,wrap:g,zeroMinWidth:y,spacing:h,...T,breakpoints:r.keys},C=(e=>{const{classes:t,container:o,direction:n,item:r,spacing:i,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let c=[];o&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const o=[];return t.forEach(t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;o.push(e)}}),o}(i,l));const p=[];return l.forEach(t=>{const o=e[t];o&&p.push(`grid-${t}-${String(o)}`)}),am({root:["root",o&&"container",r&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...p]},kO,t)})(j);return e.jsx(CO.Provider,{value:S,children:e.jsx(MO,{ownerState:j,className:Ju(C.root,a),as:p,ref:o,...O})})});if("production"!==process.env.NODE_ENV&&($O.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,columns:Kc.oneOfType([Kc.arrayOf(Kc.number),Kc.number,Kc.object]),columnSpacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),component:Kc.elementType,container:Kc.bool,direction:Kc.oneOfType([Kc.oneOf(["column-reverse","column","row-reverse","row"]),Kc.arrayOf(Kc.oneOf(["column-reverse","column","row-reverse","row"])),Kc.object]),item:Kc.bool,lg:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.bool]),md:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.bool]),rowSpacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),sm:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.bool]),spacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),wrap:Kc.oneOf(["nowrap","wrap-reverse","wrap"]),xl:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.bool]),xs:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.bool]),zeroMinWidth:Kc.bool}),"production"!==process.env.NODE_ENV){const e=Vh("GridLegacy",$O);$O.propTypes={...$O.propTypes,direction:e("container"),lg:e("item"),md:e("item"),sm:e("item"),spacing:e("container"),wrap:e("container"),xs:e("item"),zeroMinWidth:e("item")}}const IO=Mm({createStyledComponent:Eh("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.container&&t.container]}}),componentName:"MuiGrid",useThemeProps:e=>Mh({props:e,name:"MuiGrid"}),useTheme:jh});if("production"!==process.env.NODE_ENV&&(IO.propTypes={children:Kc.node,columns:Kc.oneOfType([Kc.arrayOf(Kc.number),Kc.number,Kc.object]),columnSpacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),container:Kc.bool,direction:Kc.oneOfType([Kc.oneOf(["column-reverse","column","row-reverse","row"]),Kc.arrayOf(Kc.oneOf(["column-reverse","column","row-reverse","row"])),Kc.object]),offset:Kc.oneOfType([Kc.string,Kc.number,Kc.arrayOf(Kc.oneOfType([Kc.string,Kc.number])),Kc.object]),rowSpacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),size:Kc.oneOfType([Kc.string,Kc.bool,Kc.number,Kc.arrayOf(Kc.oneOfType([Kc.string,Kc.bool,Kc.number])),Kc.object]),spacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),unstable_level:Kc.number,wrap:Kc.oneOf(["nowrap","wrap-reverse","wrap"])}),"production"!==process.env.NODE_ENV){const e=IO,t=Vh("Grid",e);e.propTypes={...e.propTypes,direction:t("container"),spacing:t("container"),wrap:t("container")}}const AO=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function BO(e){return`scale(${e}, ${e**2})`}of("MuiGrid",["root","container",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...AO.map(e=>`grid-xs-${e}`),...AO.map(e=>`grid-sm-${e}`),...AO.map(e=>`grid-md-${e}`),...AO.map(e=>`grid-lg-${e}`),...AO.map(e=>`grid-xl-${e}`)]);const LO={entering:{opacity:1,transform:BO(1)},entered:{opacity:1,transform:"none"}},DO="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),zO=l.forwardRef(function(t,o){const{addEndListener:n,appear:r=!0,children:i,easing:a,in:s,onEnter:c,onEntered:p,onEntering:d,onExit:u,onExited:f,onExiting:m,style:h,timeout:g="auto",TransitionComponent:y=sg,...b}=t,v=Eg(),x=l.useRef(),w=jh(),S=l.useRef(null),T=qh(S,qv(i),o),O=e=>t=>{if(e){const o=S.current;void 0===t?e(o):e(o,t)}},j=O(d),C=O((e,t)=>{Ng(e);const{duration:o,delay:n,easing:r}=Rg({style:h,timeout:g,easing:a},{mode:"enter"});let i;"auto"===g?(i=w.transitions.getAutoHeightDuration(e.clientHeight),x.current=i):i=o,e.style.transition=[w.transitions.create("opacity",{duration:i,delay:n}),w.transitions.create("transform",{duration:DO?i:.666*i,delay:n,easing:r})].join(","),c&&c(e,t)}),k=O(p),E=O(m),P=O(e=>{const{duration:t,delay:o,easing:n}=Rg({style:h,timeout:g,easing:a},{mode:"exit"});let r;"auto"===g?(r=w.transitions.getAutoHeightDuration(e.clientHeight),x.current=r):r=t,e.style.transition=[w.transitions.create("opacity",{duration:r,delay:o}),w.transitions.create("transform",{duration:DO?r:.666*r,delay:DO?o:o||.333*r,easing:n})].join(","),e.style.opacity=0,e.style.transform=BO(.75),u&&u(e)}),N=O(f);return e.jsx(y,{appear:r,in:s,nodeRef:S,onEnter:C,onEntered:k,onEntering:j,onExit:P,onExited:N,onExiting:E,addEndListener:e=>{"auto"===g&&v.start(x.current||0,e),n&&n(S.current,e)},timeout:"auto"===g?null:g,...b,children:(e,{ownerState:t,...o})=>l.cloneElement(i,{style:{opacity:0,transform:BO(.75),visibility:"exited"!==e||s?void 0:"hidden",...LO[e],...h,...i.props.style},ref:T,...o})})});function VO(e){return tf("MuiIcon",e)}"production"!==process.env.NODE_ENV&&(zO.propTypes={addEndListener:Kc.func,appear:Kc.bool,children:dw.isRequired,easing:Kc.oneOfType([Kc.shape({enter:Kc.string,exit:Kc.string}),Kc.string]),in:Kc.bool,onEnter:Kc.func,onEntered:Kc.func,onEntering:Kc.func,onExit:Kc.func,onExited:Kc.func,onExiting:Kc.func,style:Kc.object,timeout:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})])}),zO&&(zO.muiSupportAuto=!0),of("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const FO=Eh("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"inherit"!==o.color&&t[`color${Ed(o.color)}`],t[`fontSize${Ed(o.fontSize)}`]]}})(Rh(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,variants:[{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography.pxToRem(20)}},{props:{fontSize:"medium"},style:{fontSize:e.typography.pxToRem(24)}},{props:{fontSize:"large"},style:{fontSize:e.typography.pxToRem(36)}},{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}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),WO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiIcon"}),{baseClassName:r="material-icons",className:i,color:a="inherit",component:s="span",fontSize:l="medium",...c}=n,p={...n,baseClassName:r,color:a,component:s,fontSize:l},d=(e=>{const{color:t,fontSize:o,classes:n}=e;return am({root:["root","inherit"!==t&&`color${Ed(t)}`,`fontSize${Ed(o)}`]},VO,n)})(p);return e.jsx(FO,{as:s,className:Ju(r,"notranslate",d.root,i),ownerState:p,"aria-hidden":!0,ref:o,...c})});function _O(e){return tf("MuiImageList",e)}"production"!==process.env.NODE_ENV&&(WO.propTypes={baseClassName:Kc.string,children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Kc.string]),component:Kc.elementType,fontSize:Kc.oneOfType([Kc.oneOf(["inherit","large","medium","small"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),WO.muiName="Icon",of("MuiImageList",["root","masonry","quilted","standard","woven"]);const HO=l.createContext({});"production"!==process.env.NODE_ENV&&(HO.displayName="ImageListContext");const qO=Eh("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant]]}})({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch",variants:[{props:{variant:"masonry"},style:{display:"block"}}]}),UO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiImageList"}),{children:r,className:i,cols:a=2,component:s="ul",rowHeight:c="auto",gap:p=4,style:d,variant:u="standard",...f}=n,m=l.useMemo(()=>({rowHeight:c,gap:p,variant:u}),[c,p,u]),h="masonry"===u?{columnCount:a,columnGap:p,...d}:{gridTemplateColumns:`repeat(${a}, 1fr)`,gap:p,...d},g={...n,component:s,gap:p,rowHeight:c,variant:u},y=(e=>{const{classes:t,variant:o}=e;return am({root:["root",o]},_O,t)})(g);return e.jsx(qO,{as:s,className:Ju(y.root,y[u],i),ref:o,style:h,ownerState:g,...f,children:e.jsx(HO.Provider,{value:m,children:r})})});function GO(e){return tf("MuiImageListItem",e)}"production"!==process.env.NODE_ENV&&(UO.propTypes={children:Kc.node.isRequired,classes:Kc.object,className:Kc.string,cols:Gg,component:Kc.elementType,gap:Kc.number,rowHeight:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number]),style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["masonry","quilted","standard","woven"]),Kc.string])});const KO=of("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]),XO=Eh("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${KO.img}`]:t.img},t.root,t[o.variant]]}})({display:"block",position:"relative",[`& .${KO.img}`]:{objectFit:"cover",width:"100%",height:"100%",display:"block"},variants:[{props:{variant:"standard"},style:{display:"flex",flexDirection:"column"}},{props:{variant:"woven"},style:{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}}},{props:{variant:"standard"},style:{[`& .${KO.img}`]:{height:"auto",flexGrow:1}}}]}),YO=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiImageListItem"}),{children:r,className:i,cols:a=1,component:s="li",rows:c=1,style:p,...d}=n,{rowHeight:u="auto",gap:f,variant:m}=l.useContext(HO);let h="auto";"woven"===m?h=void 0:"auto"!==u&&(h=u*c+f*(c-1));const g={...n,cols:a,component:s,gap:f,rowHeight:u,rows:c,variant:m},y=(e=>{const{classes:t,variant:o}=e;return am({root:["root",o],img:["img"]},GO,t)})(g);return e.jsx(XO,{as:s,className:Ju(y.root,y[m],i),ref:o,style:{height:h,gridColumnEnd:"masonry"!==m?`span ${a}`:void 0,gridRowEnd:"masonry"!==m?`span ${c}`:void 0,marginBottom:"masonry"===m?f:void 0,breakInside:"masonry"===m?"avoid":void 0,...p},ownerState:g,...d,children:l.Children.map(r,e=>l.isValidElement(e)?("production"!==process.env.NODE_ENV&&Kp.isFragment(e),"img"===e.type||um(e,["Image"])?l.cloneElement(e,{className:Ju(y.img,e.props.className)}):e):null)})});function ZO(e){return tf("MuiImageListItemBar",e)}"production"!==process.env.NODE_ENV&&(YO.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,cols:Gg,component:Kc.elementType,rows:Gg,style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiImageListItemBar",["root","positionBottom","positionTop","positionBelow","actionPositionLeft","actionPositionRight","titleWrap","titleWrapBottom","titleWrapTop","titleWrapBelow","titleWrapActionPosLeft","titleWrapActionPosRight","title","subtitle","actionIcon","actionIconActionPosLeft","actionIconActionPosRight"]);const JO=Eh("div",{name:"MuiImageListItemBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${Ed(o.position)}`]]}})(Rh(({theme:e})=>({position:"absolute",left:0,right:0,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily,variants:[{props:{position:"bottom"},style:{bottom:0}},{props:{position:"top"},style:{top:0}},{props:{position:"below"},style:{position:"relative",background:"transparent",alignItems:"normal"}}]}))),QO=Eh("div",{name:"MuiImageListItemBar",slot:"TitleWrap",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.titleWrap,t[`titleWrap${Ed(o.position)}`],o.actionIcon&&t[`titleWrapActionPos${Ed(o.actionPosition)}`]]}})(Rh(({theme:e})=>({flexGrow:1,padding:"12px 16px",color:(e.vars||e).palette.common.white,overflow:"hidden",variants:[{props:{position:"below"},style:{padding:"6px 0 12px",color:"inherit"}},{props:({ownerState:e})=>e.actionIcon&&"left"===e.actionPosition,style:{paddingLeft:0}},{props:({ownerState:e})=>e.actionIcon&&"right"===e.actionPosition,style:{paddingRight:0}}]}))),ej=Eh("div",{name:"MuiImageListItemBar",slot:"Title"})(Rh(({theme:e})=>({fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),tj=Eh("div",{name:"MuiImageListItemBar",slot:"Subtitle"})(Rh(({theme:e})=>({fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),oj=Eh("div",{name:"MuiImageListItemBar",slot:"ActionIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.actionIcon,t[`actionIconActionPos${Ed(o.actionPosition)}`]]}})({variants:[{props:{actionPosition:"left"},style:{order:-1}}]}),nj=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiImageListItemBar"}),{actionIcon:r,actionPosition:i="right",className:a,subtitle:s,title:l,position:c="bottom",...p}=n,d={...n,position:c,actionPosition:i},u=(e=>{const{classes:t,position:o,actionIcon:n,actionPosition:r}=e;return am({root:["root",`position${Ed(o)}`,`actionPosition${Ed(r)}`],titleWrap:["titleWrap",`titleWrap${Ed(o)}`,n&&`titleWrapActionPos${Ed(r)}`],title:["title"],subtitle:["subtitle"],actionIcon:["actionIcon",`actionIconActionPos${Ed(r)}`]},ZO,t)})(d);return e.jsxs(JO,{ownerState:d,className:Ju(u.root,a),ref:o,...p,children:[e.jsxs(QO,{ownerState:d,className:u.titleWrap,children:[e.jsx(ej,{className:u.title,children:l}),s?e.jsx(tj,{className:u.subtitle,children:s}):null]}),r?e.jsx(oj,{ownerState:d,className:u.actionIcon,children:r}):null]})});"production"!==process.env.NODE_ENV&&(nj.propTypes={actionIcon:Kc.node,actionPosition:Kc.oneOf(["left","right"]),children:Kc.node,classes:Kc.object,className:Kc.string,position:Kc.oneOf(["below","bottom","top"]),subtitle:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),title:Kc.node});const rj=Eh(jx,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[...Tx(e,t),!o.disableUnderline&&t.underline]}})(Rh(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.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"},[`&.${Nx.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Nx.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,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(.${Nx.disabled}, .${Nx.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${Nx.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),ij=Eh(Cx,{name:"MuiInput",slot:"Input",overridesResolver:Ox})({}),aj=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiInput"}),{disableUnderline:r=!1,components:i={},componentsProps:a,fullWidth:s=!1,inputComponent:l="input",multiline:c=!1,slotProps:p,slots:d={},type:u="text",...f}=n,m=(e=>{const{classes:t,disableUnderline:o}=e,n=am({root:["root",!o&&"underline"],input:["input"]},Px,t);return{...t,...n}})(n),h={root:{ownerState:{disableUnderline:r}}},g=p??a?hd(p??a,h):h,y=d.root??i.Root??rj,b=d.input??i.Input??ij;return e.jsx(Ex,{slots:{root:y,input:b},slotProps:g,fullWidth:s,inputComponent:l,multiline:c,ref:o,type:u,...f,classes:m})});function sj(e){return tf("MuiInputAdornment",e)}"production"!==process.env.NODE_ENV&&(aj.propTypes={autoComplete:Kc.string,autoFocus:Kc.bool,classes:Kc.object,color:Kc.oneOfType([Kc.oneOf(["primary","secondary"]),Kc.string]),components:Kc.shape({Input:Kc.elementType,Root:Kc.elementType}),componentsProps:Kc.shape({input:Kc.object,root:Kc.object}),defaultValue:Kc.any,disabled:Kc.bool,disableUnderline:Kc.bool,endAdornment:Kc.node,error:Kc.bool,fullWidth:Kc.bool,id:Kc.string,inputComponent:Kc.elementType,inputProps:Kc.object,inputRef:py,margin:Kc.oneOf(["dense","none"]),maxRows:Kc.oneOfType([Kc.number,Kc.string]),minRows:Kc.oneOfType([Kc.number,Kc.string]),multiline:Kc.bool,name:Kc.string,onChange:Kc.func,placeholder:Kc.string,readOnly:Kc.bool,required:Kc.bool,rows:Kc.oneOfType([Kc.number,Kc.string]),slotProps:Kc.shape({input:Kc.object,root:Kc.object}),slots:Kc.shape({input:Kc.elementType,root:Kc.elementType}),startAdornment:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),type:Kc.string,value:Kc.any}),aj.muiName="Input";const lj=of("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var cj;const pj=Eh("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${Ed(o.position)}`],!0===o.disablePointerEvents&&t.disablePointerEvents,t[o.variant]]}})(Rh(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${lj.positionStart}&:not(.${lj.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),dj=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiInputAdornment"}),{children:r,className:i,component:a="div",disablePointerEvents:s=!1,disableTypography:c=!1,position:p,variant:d,...u}=n,f=yx()||{};let m=d;d&&f.variant&&"production"!==process.env.NODE_ENV&&f.variant,f&&!m&&(m=f.variant);const h={...n,hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:s,position:p,variant:m},g=(e=>{const{classes:t,disablePointerEvents:o,hiddenLabel:n,position:r,size:i,variant:a}=e;return am({root:["root",o&&"disablePointerEvents",r&&`position${Ed(r)}`,a,n&&"hiddenLabel",i&&`size${Ed(i)}`]},sj,t)})(h);return e.jsx(gx.Provider,{value:null,children:e.jsx(pj,{as:a,ownerState:h,className:Ju(g.root,i),ref:o,...u,children:"string"!=typeof r||c?e.jsxs(l.Fragment,{children:["start"===p?cj||(cj=e.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):null,r]}):e.jsx(mb,{color:"textSecondary",children:r})})})});function uj(e){return tf("MuiInputLabel",e)}"production"!==process.env.NODE_ENV&&(dj.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,disablePointerEvents:Kc.bool,disableTypography:Kc.bool,position:Kc.oneOf(["end","start"]).isRequired,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOf(["filled","outlined","standard"])}),of("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const fj=Eh(jO,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${SO.asterisk}`]:t.asterisk},t.root,o.formControl&&t.formControl,"small"===o.size&&t.sizeSmall,o.shrink&&t.shrink,!o.disableAnimation&&t.animated,o.focused&&t.focused,t[o.variant]]}})(Rh(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.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:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.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:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:o})=>"filled"===e&&t.shrink&&"small"===o,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:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),mj=l.forwardRef(function(t,o){const n=Mh({name:"MuiInputLabel",props:t}),{disableAnimation:r=!1,margin:i,shrink:a,variant:s,className:l,...c}=n,p=yx();let d=a;void 0===d&&p&&(d=p.filled||p.focused||p.adornedStart);const u=hx({props:n,muiFormControl:p,states:["size","variant","required","focused"]}),f={...n,disableAnimation:r,formControl:p,shrink:d,size:u.size,variant:u.variant,required:u.required,focused:u.focused},m=(e=>{const{classes:t,formControl:o,size:n,shrink:r,disableAnimation:i,variant:a,required:s}=e,l=am({root:["root",o&&"formControl",!i&&"animated",r&&"shrink",n&&"medium"!==n&&`size${Ed(n)}`,a],asterisk:[s&&"asterisk"]},uj,t);return{...t,...l}})(f);return e.jsx(fj,{"data-shrink":d,ref:o,className:Ju(m.root,l),...c,ownerState:f,classes:m})});function hj(e){return tf("MuiLinearProgress",e)}"production"!==process.env.NODE_ENV&&(mj.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["error","info","primary","secondary","success","warning"]),Kc.string]),disableAnimation:Kc.bool,disabled:Kc.bool,error:Kc.bool,focused:Kc.bool,margin:Kc.oneOf(["dense"]),required:Kc.bool,shrink:Kc.bool,size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOf(["filled","outlined","standard"])}),of("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const gj=Vc`
|
|
143
|
+
0% {
|
|
144
|
+
left: -35%;
|
|
145
|
+
right: 100%;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
60% {
|
|
149
|
+
left: 100%;
|
|
150
|
+
right: -90%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
100% {
|
|
154
|
+
left: 100%;
|
|
155
|
+
right: -90%;
|
|
156
|
+
}
|
|
157
|
+
`,yj="string"!=typeof gj?zc`
|
|
158
|
+
animation: ${gj} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
159
|
+
`:null,bj=Vc`
|
|
160
|
+
0% {
|
|
161
|
+
left: -200%;
|
|
162
|
+
right: 100%;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
60% {
|
|
166
|
+
left: 107%;
|
|
167
|
+
right: -8%;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
100% {
|
|
171
|
+
left: 107%;
|
|
172
|
+
right: -8%;
|
|
173
|
+
}
|
|
174
|
+
`,vj="string"!=typeof bj?zc`
|
|
175
|
+
animation: ${bj} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
176
|
+
`:null,xj=Vc`
|
|
177
|
+
0% {
|
|
178
|
+
opacity: 1;
|
|
179
|
+
background-position: 0 -23px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
60% {
|
|
183
|
+
opacity: 0;
|
|
184
|
+
background-position: 0 -23px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
100% {
|
|
188
|
+
opacity: 1;
|
|
189
|
+
background-position: -200px -23px;
|
|
190
|
+
}
|
|
191
|
+
`,wj="string"!=typeof xj?zc`
|
|
192
|
+
animation: ${xj} 3s infinite linear;
|
|
193
|
+
`:null,Sj=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.5),Tj=Eh("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${Ed(o.color)}`],t[o.variant]]}})(Rh(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{backgroundColor:Sj(e,t)}})),{props:({ownerState:e})=>"inherit"===e.color&&"buffer"!==e.variant,style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),Oj=Eh("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.dashed,t[`dashedColor${Ed(o.color)}`]]}})(Rh(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(My()).map(([t])=>{const o=Sj(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${o} 0%, ${o} 16%, transparent 42%)`}}})]})),wj||{animation:`${xj} 3s infinite linear`}),jj=Eh("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.bar,t.bar1,t[`barColor${Ed(o.color)}`],("indeterminate"===o.variant||"query"===o.variant)&&t.bar1Indeterminate,"determinate"===o.variant&&t.bar1Determinate,"buffer"===o.variant&&t.bar1Buffer]}})(Rh(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:"transform .4s linear"}},{props:{variant:"buffer"},style:{zIndex:1,transition:"transform .4s linear"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:yj||{animation:`${gj} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),Cj=Eh("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.bar,t.bar2,t[`barColor${Ed(o.color)}`],("indeterminate"===o.variant||"query"===o.variant)&&t.bar2Indeterminate,"buffer"===o.variant&&t.bar2Buffer]}})(Rh(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"!==e.color,style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"===e.color,style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:Sj(e,t),transition:"transform .4s linear"}})),{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:vj||{animation:`${bj} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),kj=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiLinearProgress"}),{className:r,color:i="primary",value:a,valueBuffer:s,variant:l="indeterminate",...c}=n,p={...n,color:i,variant:l},d=(e=>{const{classes:t,variant:o,color:n}=e;return am({root:["root",`color${Ed(n)}`,o],dashed:["dashed",`dashedColor${Ed(n)}`],bar1:["bar","bar1",`barColor${Ed(n)}`,("indeterminate"===o||"query"===o)&&"bar1Indeterminate","determinate"===o&&"bar1Determinate","buffer"===o&&"bar1Buffer"],bar2:["bar","bar2","buffer"!==o&&`barColor${Ed(n)}`,"buffer"===o&&`color${Ed(n)}`,("indeterminate"===o||"query"===o)&&"bar2Indeterminate","buffer"===o&&"bar2Buffer"]},hj,t)})(p),u=qf(),f={},m={bar1:{},bar2:{}};if("determinate"===l||"buffer"===l)if(void 0!==a){f["aria-valuenow"]=Math.round(a),f["aria-valuemin"]=0,f["aria-valuemax"]=100;let e=a-100;u&&(e=-e),m.bar1.transform=`translateX(${e}%)`}else process.env.NODE_ENV;if("buffer"===l)if(void 0!==s){let e=(s||0)-100;u&&(e=-e),m.bar2.transform=`translateX(${e}%)`}else process.env.NODE_ENV;return e.jsxs(Tj,{className:Ju(d.root,r),ownerState:p,role:"progressbar",...f,ref:o,...c,children:["buffer"===l?e.jsx(Oj,{className:d.dashed,ownerState:p}):null,e.jsx(jj,{className:d.bar1,ownerState:p,style:m.bar1}),"determinate"===l?null:e.jsx(Cj,{className:d.bar2,ownerState:p,style:m.bar2})]})});function Ej(e){return tf("MuiLink",e)}"production"!==process.env.NODE_ENV&&(kj.propTypes={classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["inherit","primary","secondary"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.number,valueBuffer:Kc.number,variant:Kc.oneOf(["buffer","determinate","indeterminate","query"])});const Pj=of("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Nj=({theme:e,ownerState:t})=>{const o=t.color;if("colorSpace"in e&&e.colorSpace){const n=Pd(e,`palette.${o}.main`)||Pd(e,`palette.${o}`)||t.color;return e.alpha(n,.4)}const n=Pd(e,`palette.${o}.main`,!1)||Pd(e,`palette.${o}`,!1)||t.color,r=Pd(e,`palette.${o}.mainChannel`)||Pd(e,`palette.${o}Channel`);return"vars"in e&&r?`rgba(${r} / 0.4)`:Pf(n,.4)},Rj={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Mj=Eh(mb,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`underline${Ed(o.underline)}`],"button"===o.component&&t.button]}})(Rh(({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:e,ownerState:t})=>"always"===e&&"inherit"!==t.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"===t.color,style:e.colorSpace?{textDecorationColor:e.alpha("currentColor",.4)}:null},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.alpha((e.vars||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"},[`&.${Pj.focusVisible}`]:{outline:"auto"}}}]}))),$j=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiLink"}),r=jh(),{className:i,color:a="primary",component:s="a",onBlur:c,onFocus:p,TypographyClasses:d,underline:u="always",variant:f="inherit",sx:m,...h}=n,[g,y]=l.useState(!1),b={...n,color:a,component:s,focusVisible:g,underline:u,variant:f},v=(e=>{const{classes:t,component:o,focusVisible:n,underline:r}=e;return am({root:["root",`underline${Ed(r)}`,"button"===o&&"button",n&&"focusVisible"]},Ej,t)})(b);return e.jsx(Mj,{color:a,className:Ju(v.root,i),classes:d,component:s,onBlur:e=>{dy(e.target)||y(!1),c&&c(e)},onFocus:e=>{dy(e.target)&&y(!0),p&&p(e)},ref:o,ownerState:b,variant:f,...h,sx:[...void 0===Rj[a]?[{color:a}]:[],...Array.isArray(m)?m:[m]],style:{...h.style,..."always"===u&&"inherit"!==a&&!Rj[a]&&{"--Link-underlineColor":Nj({theme:r,ownerState:b})}}})});"production"!==process.env.NODE_ENV&&($j.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),Kc.string]),component:Pg,onBlur:Kc.func,onFocus:Kc.func,style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),TypographyClasses:Kc.object,underline:Kc.oneOf(["always","hover","none"]),variant:Kc.oneOfType([Kc.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),Kc.string])});const Ij=l.createContext({});function Aj(e){return tf("MuiList",e)}"production"!==process.env.NODE_ENV&&(Ij.displayName="ListContext"),of("MuiList",["root","padding","dense","subheader"]);const Bj=Eh("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disablePadding&&t.padding,o.dense&&t.dense,o.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}}]}),Lj=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiList"}),{children:r,className:i,component:a="ul",dense:s=!1,disablePadding:c=!1,subheader:p,...d}=n,u=l.useMemo(()=>({dense:s}),[s]),f={...n,component:a,dense:s,disablePadding:c},m=(e=>{const{classes:t,disablePadding:o,dense:n,subheader:r}=e;return am({root:["root",!o&&"padding",n&&"dense",r&&"subheader"]},Aj,t)})(f);return e.jsx(Ij.Provider,{value:u,children:e.jsxs(Bj,{as:a,className:Ju(m.root,i),ref:o,ownerState:f,...d,children:[p,r]})})});function Dj(e){return tf("MuiListItem",e)}function zj(e){return tf("MuiListItemButton",e)}"production"!==process.env.NODE_ENV&&(Lj.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,dense:Kc.bool,disablePadding:Kc.bool,subheader:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);const Vj=of("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Fj=Eh(Oy,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dense&&t.dense,"flex-start"===o.alignItems&&t.alignItemsFlexStart,o.divider&&t.divider,!o.disableGutters&&t.gutters]}})(Rh(({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"}},[`&.${Vj.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Vj.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Vj.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${Vj.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Vj.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),Wj=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:i=!1,component:a="div",children:s,dense:c=!1,disableGutters:p=!1,divider:d=!1,focusVisibleClassName:u,selected:f=!1,className:m,...h}=n,g=l.useContext(Ij),y=l.useMemo(()=>({dense:c||g.dense||!1,alignItems:r,disableGutters:p}),[r,g.dense,c,p]),b=l.useRef(null);xf(()=>{i&&(b.current?b.current.focus():process.env.NODE_ENV)},[i]);const v={...n,alignItems:r,dense:y.dense,disableGutters:p,divider:d,selected:f},x=(e=>{const{alignItems:t,classes:o,dense:n,disabled:r,disableGutters:i,divider:a,selected:s}=e,l=am({root:["root",n&&"dense",!i&&"gutters",a&&"divider",r&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},zj,o);return{...o,...l}})(v),w=qh(b,o);return e.jsx(Ij.Provider,{value:y,children:e.jsx(Fj,{ref:w,href:h.href||h.to,component:(h.href||h.to)&&"div"===a?"button":a,focusVisibleClassName:Ju(x.focusVisible,u),ownerState:v,className:Ju(x.root,m),...h,classes:x,children:s})})});function _j(e){return tf("MuiListItemSecondaryAction",e)}"production"!==process.env.NODE_ENV&&(Wj.propTypes={alignItems:Kc.oneOf(["center","flex-start"]),autoFocus:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,dense:Kc.bool,disabled:Kc.bool,disableGutters:Kc.bool,divider:Kc.bool,focusVisibleClassName:Kc.string,href:Kc.string,selected:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiListItemSecondaryAction",["root","disableGutters"]);const Hj=Eh("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),qj=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiListItemSecondaryAction"}),{className:r,...i}=n,a=l.useContext(Ij),s={...n,disableGutters:a.disableGutters},c=(e=>{const{disableGutters:t,classes:o}=e;return am({root:["root",t&&"disableGutters"]},_j,o)})(s);return e.jsx(Hj,{className:Ju(c.root,r),ownerState:s,ref:o,...i})});"production"!==process.env.NODE_ENV&&(qj.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),qj.muiName="ListItemSecondaryAction";const Uj=Eh("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dense&&t.dense,"flex-start"===o.alignItems&&t.alignItemsFlexStart,o.divider&&t.divider,!o.disableGutters&&t.gutters,!o.disablePadding&&t.padding,o.hasSecondaryAction&&t.secondaryAction]}})(Rh(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${Vj.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.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:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]}))),Gj=Eh("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),Kj=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiListItem"}),{alignItems:r="center",children:i,className:a,component:s,components:c={},componentsProps:p={},ContainerComponent:d="li",ContainerProps:{className:u,...f}={},dense:m=!1,disableGutters:h=!1,disablePadding:g=!1,divider:y=!1,secondaryAction:b,slotProps:v={},slots:x={},...w}=n,S=l.useContext(Ij),T=l.useMemo(()=>({dense:m||S.dense||!1,alignItems:r,disableGutters:h}),[r,S.dense,m,h]),O=l.useRef(null),j=l.Children.toArray(i),C=j.length&&um(j[j.length-1],["ListItemSecondaryAction"]),k={...n,alignItems:r,dense:T.dense,disableGutters:h,disablePadding:g,divider:y,hasSecondaryAction:C},E=(e=>{const{alignItems:t,classes:o,dense:n,disableGutters:r,disablePadding:i,divider:a,hasSecondaryAction:s}=e;return am({root:["root",n&&"dense",!r&&"gutters",!i&&"padding",a&&"divider","flex-start"===t&&"alignItemsFlexStart",s&&"secondaryAction"],container:["container"],secondaryAction:["secondaryAction"]},Dj,o)})(k),P=qh(O,o),N={slots:x,slotProps:v},[R,M]=Dg("secondaryAction",{elementType:qj,externalForwardedProps:N,ownerState:k,className:E.secondaryAction}),$=x.root||c.Root||Uj,I=v.root||p.root||{},A={className:Ju(E.root,I.className,a),...w};let B=s||"li";return C?(B=A.component||s?B:"div","li"===d&&("li"===B?B="div":"li"===A.component&&(A.component="div")),e.jsx(Ij.Provider,{value:T,children:e.jsxs(Gj,{as:d,className:Ju(E.container,u),ref:P,ownerState:k,...f,children:[e.jsx($,{...I,...!Mg($)&&{as:B,ownerState:{...k,...I.ownerState}},...A,children:j}),j.pop()]})})):e.jsx(Ij.Provider,{value:T,children:e.jsxs($,{...I,as:B,ref:P,...!Mg($)&&{ownerState:{...k,...I.ownerState}},...A,children:[j,b&&e.jsx(R,{...M,children:b})]})})});function Xj(e){return tf("MuiListItemAvatar",e)}"production"!==process.env.NODE_ENV&&(Kj.propTypes={alignItems:Kc.oneOf(["center","flex-start"]),children:Gh(Kc.node,e=>{const t=l.Children.toArray(e.children);let o=-1;for(let e=t.length-1;e>=0;e-=1)if(um(t[e],["ListItemSecondaryAction"])){o=e;break}return-1!==o&&o!==t.length-1?new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem."):null}),classes:Kc.object,className:Kc.string,component:Kc.elementType,components:Kc.shape({Root:Kc.elementType}),componentsProps:Kc.shape({root:Kc.object}),ContainerComponent:Pg,ContainerProps:Kc.object,dense:Kc.bool,disableGutters:Kc.bool,disablePadding:Kc.bool,divider:Kc.bool,secondaryAction:Kc.node,slotProps:Kc.shape({root:Kc.object,secondaryAction:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({root:Kc.elementType,secondaryAction:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiListItemAvatar",["root","alignItemsFlexStart"]);const Yj=Eh("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"flex-start"===o.alignItems&&t.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}),Zj=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiListItemAvatar"}),{className:r,...i}=n,a=l.useContext(Ij),s={...n,alignItems:a.alignItems},c=(e=>{const{alignItems:t,classes:o}=e;return am({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Xj,o)})(s);return e.jsx(Yj,{className:Ju(c.root,r),ownerState:s,ref:o,...i})});function Jj(e){return tf("MuiListItemIcon",e)}"production"!==process.env.NODE_ENV&&(Zj.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const Qj=of("MuiListItemIcon",["root","alignItemsFlexStart"]),eC=Eh("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"flex-start"===o.alignItems&&t.alignItemsFlexStart]}})(Rh(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),tC=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiListItemIcon"}),{className:r,...i}=n,a=l.useContext(Ij),s={...n,alignItems:a.alignItems},c=(e=>{const{alignItems:t,classes:o}=e;return am({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Jj,o)})(s);return e.jsx(eC,{className:Ju(c.root,r),ownerState:s,ref:o,...i})});function oC(e){return tf("MuiListItemText",e)}"production"!==process.env.NODE_ENV&&(tC.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const nC=of("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),rC=Eh("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${nC.primary}`]:t.primary},{[`& .${nC.secondary}`]:t.secondary},t.root,o.inset&&t.inset,o.primary&&o.secondary&&t.multiline,o.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${cb.root}:where(& .${nC.primary})`]:{display:"block"},[`.${cb.root}:where(& .${nC.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),iC=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiListItemText"}),{children:r,className:i,disableTypography:a=!1,inset:s=!1,primary:c,primaryTypographyProps:p,secondary:d,secondaryTypographyProps:u,slots:f={},slotProps:m={},...h}=n,{dense:g}=l.useContext(Ij);let y=null!=c?c:r,b=d;const v={...n,disableTypography:a,inset:s,primary:!!y,secondary:!!b,dense:g},x=(e=>{const{classes:t,inset:o,primary:n,secondary:r,dense:i}=e;return am({root:["root",o&&"inset",i&&"dense",n&&r&&"multiline"],primary:["primary"],secondary:["secondary"]},oC,t)})(v),w={slots:f,slotProps:{primary:p,secondary:u,...m}},[S,T]=Dg("root",{className:Ju(x.root,i),elementType:rC,externalForwardedProps:{...w,...h},ownerState:v,ref:o}),[O,j]=Dg("primary",{className:x.primary,elementType:mb,externalForwardedProps:w,ownerState:v}),[C,k]=Dg("secondary",{className:x.secondary,elementType:mb,externalForwardedProps:w,ownerState:v});return null==y||y.type===mb||a||(y=e.jsx(O,{variant:g?"body2":"body1",component:j?.variant?void 0:"span",...j,children:y})),null==b||b.type===mb||a||(b=e.jsx(C,{variant:"body2",color:"textSecondary",...k,children:b})),e.jsxs(S,{...T,children:[y,b]})});function aC(e,t,o){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:o?null:e.firstChild}function sC(e,t,o){return e===t?o?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:o?null:e.lastChild}function lC(e,t){if(void 0===t)return!0;let o=e.innerText;return void 0===o&&(o=e.textContent),o=o.trim().toLowerCase(),0!==o.length&&(t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join("")))}function cC(e,t,o,n,r,i){let a=!1,s=r(e,t,!!t&&o);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&lC(s,i)&&!t)return s.focus(),!0;s=r(e,s,o)}return!1}"production"!==process.env.NODE_ENV&&(iC.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,disableTypography:Kc.bool,inset:Kc.bool,primary:Kc.node,primaryTypographyProps:Kc.object,secondary:Kc.node,secondaryTypographyProps:Kc.object,slotProps:Kc.shape({primary:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),secondary:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({primary:Kc.elementType,root:Kc.elementType,secondary:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const pC=l.forwardRef(function(t,o){const{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:c=!1,disableListWrap:p=!1,onKeyDown:d,variant:u="selectedMenu",...f}=t,m=l.useRef(null),h=l.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});xf(()=>{r&&m.current.focus()},[r]),l.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const o=!m.current.style.width;if(e.clientHeight<m.current.clientHeight&&o){const o=`${JS(zh(e))}px`;m.current.style["rtl"===t?"paddingLeft":"paddingRight"]=o,m.current.style.width=`calc(100% + ${o})`}return m.current}}),[]);const g=qh(m,o);let y=-1;l.Children.forEach(a,(e,t)=>{l.isValidElement(e)?("production"!==process.env.NODE_ENV&&Kp.isFragment(e),e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===y)&&(y=t),y===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(y+=1,y>=a.length&&(y=-1))):y===t&&(y+=1,y>=a.length&&(y=-1))});const b=l.Children.map(a,(e,t)=>{if(t===y){const t={};return i&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),l.cloneElement(e,t)}return e});return e.jsx(Lj,{role:"menu",ref:g,className:s,onKeyDown:e=>{const t=m.current,o=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(d&&d(e));const n=nT(Dh(t));if("ArrowDown"===o)e.preventDefault(),cC(t,n,p,c,aC);else if("ArrowUp"===o)e.preventDefault(),cC(t,n,p,c,sC);else if("Home"===o)e.preventDefault(),cC(t,null,p,c,aC);else if("End"===o)e.preventDefault(),cC(t,null,p,c,sC);else if(1===o.length){const r=h.current,i=o.toLowerCase(),a=performance.now();r.keys.length>0&&(a-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&i!==r.keys[0]&&(r.repeating=!1)),r.lastTime=a,r.keys.push(i);const s=n&&!r.repeating&&lC(n,r);r.previousKeyMatched&&(s||cC(t,n,!1,c,aC,r))?e.preventDefault():r.previousKeyMatched=!1}d&&d(e)},tabIndex:r?0:-1,...f,children:b})});function dC(e){return tf("MuiPopover",e)}function uC(e,t){let o=0;return"number"==typeof t?o=t:"center"===t?o=e.height/2:"bottom"===t&&(o=e.height),o}function fC(e,t){let o=0;return"number"==typeof t?o=t:"center"===t?o=e.width/2:"right"===t&&(o=e.width),o}function mC(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function hC(e){return"function"==typeof e?e():e}"production"!==process.env.NODE_ENV&&(pC.propTypes={autoFocus:Kc.bool,autoFocusItem:Kc.bool,children:Kc.node,className:Kc.string,disabledItemsFocusable:Kc.bool,disableListWrap:Kc.bool,onKeyDown:Kc.func,variant:Kc.oneOf(["menu","selectedMenu"])}),of("MuiPopover",["root","paper"]);const gC=Eh(fT,{name:"MuiPopover",slot:"Root"})({}),yC=Eh(Yg,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),bC=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiPopover"}),{action:r,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:c="anchorEl",children:p,className:d,container:u,elevation:f=8,marginThreshold:m=16,open:h,PaperProps:g={},slots:y={},slotProps:b={},transformOrigin:v={vertical:"top",horizontal:"left"},TransitionComponent:x,transitionDuration:w="auto",TransitionProps:S={},disableScrollLock:T=!1,...O}=n,j=l.useRef(),C={...n,anchorOrigin:a,anchorReference:c,elevation:f,marginThreshold:m,transformOrigin:v,TransitionComponent:x,transitionDuration:w,TransitionProps:S},k=(e=>{const{classes:t}=e;return am({root:["root"],paper:["paper"]},dC,t)})(C),E=l.useCallback(()=>{if("anchorPosition"===c)return process.env.NODE_ENV,s;const e=hC(i),t=e&&1===e.nodeType?e:Dh(j.current).body,o=t.getBoundingClientRect();if("production"!==process.env.NODE_ENV){const e=t.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&e.bottom}return{top:o.top+uC(o,a.vertical),left:o.left+fC(o,a.horizontal)}},[i,a.horizontal,a.vertical,s,c]),P=l.useCallback(e=>({vertical:uC(e,v.vertical),horizontal:fC(e,v.horizontal)}),[v.horizontal,v.vertical]),N=l.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},o=P(t);if("none"===c)return{top:null,left:null,transformOrigin:mC(o)};const n=E();let r=n.top-o.vertical,a=n.left-o.horizontal;const s=r+t.height,l=a+t.width,p=zh(hC(i)),d=p.innerHeight-m,u=p.innerWidth-m;if(null!==m&&r<m){const e=r-m;r-=e,o.vertical+=e}else if(null!==m&&s>d){const e=s-d;r-=e,o.vertical+=e}if(process.env.NODE_ENV,null!==m&&a<m){const e=a-m;a-=e,o.horizontal+=e}else if(l>u){const e=l-u;a-=e,o.horizontal+=e}return{top:`${Math.round(r)}px`,left:`${Math.round(a)}px`,transformOrigin:mC(o)}},[i,c,E,P,m]),[R,M]=l.useState(h),$=l.useCallback(()=>{const e=j.current;if(!e)return;const t=N(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)},[N]);l.useEffect(()=>(T&&window.addEventListener("scroll",$),()=>window.removeEventListener("scroll",$)),[i,T,$]),l.useEffect(()=>{h&&$()}),l.useImperativeHandle(r,()=>h?{updatePosition:()=>{$()}}:null,[h,$]),l.useEffect(()=>{if(!h)return;const e=Lh(()=>{$()}),t=zh(hC(i));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[i,h,$]);let I=w;const A={slots:{transition:x,...y},slotProps:{transition:S,paper:g,...b}},[B,L]=Dg("transition",{elementType:zO,externalForwardedProps:A,ownerState:C,getSlotProps:e=>({...e,onEntering:(t,o)=>{e.onEntering?.(t,o),$()},onExited:t=>{e.onExited?.(t),M(!1)}}),additionalProps:{appear:!0,in:h}});"auto"!==w||B.muiSupportAuto||(I=void 0);const D=u||(i?Dh(hC(i)).body:void 0),[z,{slots:V,slotProps:F,...W}]=Dg("root",{ref:o,elementType:gC,externalForwardedProps:{...A,...O},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:y.backdrop},slotProps:{backdrop:Uh("function"==typeof b.backdrop?b.backdrop(C):b.backdrop,{invisible:!0})},container:D,open:h},ownerState:C,className:Ju(k.root,d)}),[_,H]=Dg("paper",{ref:j,className:k.paper,elementType:yC,externalForwardedProps:A,shouldForwardComponentProp:!0,additionalProps:{elevation:f,style:R?void 0:{opacity:0}},ownerState:C});return e.jsx(z,{...W,...!Mg(z)&&{slots:V,slotProps:F,disableScrollLock:T},children:e.jsx(B,{...L,timeout:I,children:e.jsx(_,{...H,children:p})})})});function vC(e){return tf("MuiMenu",e)}"production"!==process.env.NODE_ENV&&(bC.propTypes={action:py,anchorEl:Gh(Kc.oneOfType([Pb,Kc.func]),e=>{if(e.open&&(!e.anchorReference||"anchorEl"===e.anchorReference)){const t=hC(e.anchorEl);if(!t||1!==t.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join("\n"));{const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}}return null}),anchorOrigin:Kc.shape({horizontal:Kc.oneOfType([Kc.oneOf(["center","left","right"]),Kc.number]).isRequired,vertical:Kc.oneOfType([Kc.oneOf(["bottom","center","top"]),Kc.number]).isRequired}),anchorPosition:Kc.shape({left:Kc.number.isRequired,top:Kc.number.isRequired}),anchorReference:Kc.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:Kc.elementType,BackdropProps:Kc.object,children:Kc.node,classes:Kc.object,className:Kc.string,container:Kc.oneOfType([Pb,Kc.func]),disableScrollLock:Kc.bool,elevation:Gg,marginThreshold:Kc.number,onClose:Kc.func,open:Kc.bool.isRequired,PaperProps:Kc.shape({component:Pg}),slotProps:Kc.shape({backdrop:Kc.oneOfType([Kc.func,Kc.object]),paper:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({backdrop:Kc.elementType,paper:Kc.elementType,root:Kc.elementType,transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),transformOrigin:Kc.shape({horizontal:Kc.oneOfType([Kc.oneOf(["center","left","right"]),Kc.number]).isRequired,vertical:Kc.oneOfType([Kc.oneOf(["bottom","center","top"]),Kc.number]).isRequired}),TransitionComponent:Kc.elementType,transitionDuration:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})]),TransitionProps:Kc.object}),of("MuiMenu",["root","paper","list"]);const xC={vertical:"top",horizontal:"right"},wC={vertical:"top",horizontal:"left"},SC=Eh(bC,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),TC=Eh(yC,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),OC=Eh(pC,{name:"MuiMenu",slot:"List"})({outline:0}),jC=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiMenu"}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:s=!1,MenuListProps:c={},onClose:p,open:d,PaperProps:u={},PopoverClasses:f,transitionDuration:m="auto",TransitionProps:{onEntering:h,...g}={},variant:y="selectedMenu",slots:b={},slotProps:v={},...x}=n,w=qf(),S={...n,autoFocus:r,disableAutoFocusItem:s,MenuListProps:c,onEntering:h,PaperProps:u,transitionDuration:m,TransitionProps:g,variant:y},T=(e=>{const{classes:t}=e;return am({root:["root"],paper:["paper"],list:["list"]},vC,t)})(S),O=r&&!s&&d,j=l.useRef(null);let C=-1;l.Children.map(i,(e,t)=>{l.isValidElement(e)&&("production"!==process.env.NODE_ENV&&Kp.isFragment(e),e.props.disabled||("selectedMenu"===y&&e.props.selected||-1===C)&&(C=t))});const k={slots:b,slotProps:{list:c,transition:g,paper:u,...v}},E=Hv({elementType:b.root,externalSlotProps:v.root,ownerState:S,className:[T.root,a]}),[P,N]=Dg("paper",{className:T.paper,elementType:TC,externalForwardedProps:k,shouldForwardComponentProp:!0,ownerState:S}),[R,M]=Dg("list",{className:Ju(T.list,c.className),elementType:OC,shouldForwardComponentProp:!0,externalForwardedProps:k,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))})(t),e.onKeyDown?.(t)}}),ownerState:S}),$="function"==typeof k.slotProps.transition?k.slotProps.transition(S):k.slotProps.transition;return e.jsx(SC,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?xC:wC,slots:{root:b.root,paper:P,backdrop:b.backdrop,...b.transition&&{transition:b.transition}},slotProps:{root:E,paper:N,backdrop:"function"==typeof v.backdrop?v.backdrop(S):v.backdrop,transition:{...$,onEntering:(...e)=>{((e,t)=>{j.current&&j.current.adjustStyleForScrollbar(e,{direction:w?"rtl":"ltr"}),h&&h(e,t)})(...e),$?.onEntering?.(...e)}}},open:d,ref:o,transitionDuration:m,ownerState:S,...x,classes:f,children:e.jsx(R,{actions:j,autoFocus:r&&(-1===C||s),autoFocusItem:O,variant:y,...M,children:i})})});function CC(e){return tf("MuiMenuItem",e)}"production"!==process.env.NODE_ENV&&(jC.propTypes={anchorEl:Kc.oneOfType([Pb,Kc.func]),autoFocus:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,disableAutoFocusItem:Kc.bool,MenuListProps:Kc.object,onClose:Kc.func,open:Kc.bool.isRequired,PaperProps:Kc.object,PopoverClasses:Kc.object,slotProps:Kc.shape({backdrop:Kc.oneOfType([Kc.func,Kc.object]),list:Kc.oneOfType([Kc.func,Kc.object]),paper:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({backdrop:Kc.elementType,list:Kc.elementType,paper:Kc.elementType,root:Kc.elementType,transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),transitionDuration:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})]),TransitionProps:Kc.object,variant:Kc.oneOf(["menu","selectedMenu"])});const kC=of("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),EC=Eh(Oy,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dense&&t.dense,o.divider&&t.divider,!o.disableGutters&&t.gutters]}})(Rh(({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"}},[`&.${kC.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${kC.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${kC.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${kC.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${kC.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${BT.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${BT.inset}`]:{marginLeft:52},[`& .${nC.root}`]:{marginTop:0,marginBottom:0},[`& .${nC.inset}`]:{paddingLeft:36},[`& .${Qj.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Qj.root} svg`]:{fontSize:"1.25rem"}}}]}))),PC=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiMenuItem"}),{autoFocus:r=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:c=!1,focusVisibleClassName:p,role:d="menuitem",tabIndex:u,className:f,...m}=n,h=l.useContext(Ij),g=l.useMemo(()=>({dense:a||h.dense||!1,disableGutters:c}),[h.dense,a,c]),y=l.useRef(null);xf(()=>{r&&(y.current?y.current.focus():process.env.NODE_ENV)},[r]);const b={...n,dense:g.dense,divider:s,disableGutters:c},v=(e=>{const{disabled:t,dense:o,divider:n,disableGutters:r,selected:i,classes:a}=e,s=am({root:["root",o&&"dense",t&&"disabled",!r&&"gutters",n&&"divider",i&&"selected"]},CC,a);return{...a,...s}})(n),x=qh(y,o);let w;return n.disabled||(w=void 0!==u?u:-1),e.jsx(Ij.Provider,{value:g,children:e.jsx(EC,{ref:x,role:d,tabIndex:w,component:i,focusVisibleClassName:Ju(v.focusVisible,p),className:Ju(v.root,f),...m,ownerState:b,classes:v})})});function NC(e){return tf("MuiMobileStepper",e)}"production"!==process.env.NODE_ENV&&(PC.propTypes={autoFocus:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,dense:Kc.bool,disabled:Kc.bool,disableGutters:Kc.bool,divider:Kc.bool,focusVisibleClassName:Kc.string,role:Kc.string,selected:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),tabIndex:Kc.number}),of("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]);const RC=Eh(Yg,{name:"MuiMobileStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${Ed(o.position)}`]]}})(Rh(({theme:e})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:(e.vars||e).palette.background.default,padding:8,variants:[{props:({position:e})=>"top"===e||"bottom"===e,style:{position:"fixed",left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper}},{props:{position:"top"},style:{top:0}},{props:{position:"bottom"},style:{bottom:0}}]}))),MC=Eh("div",{name:"MuiMobileStepper",slot:"Dots"})({variants:[{props:{variant:"dots"},style:{display:"flex",flexDirection:"row"}}]}),$C=Eh("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:e=>Ch(e)&&"dotActive"!==e,overridesResolver:(e,t)=>{const{dotActive:o}=e;return[t.dot,o&&t.dotActive]}})(Rh(({theme:e})=>({variants:[{props:{variant:"dots"},style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),backgroundColor:(e.vars||e).palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"}},{props:{variant:"dots",dotActive:!0},style:{backgroundColor:(e.vars||e).palette.primary.main}}]}))),IC=Eh(kj,{name:"MuiMobileStepper",slot:"Progress"})({variants:[{props:{variant:"progress"},style:{width:"50%"}}]}),AC=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiMobileStepper"}),{activeStep:r=0,backButton:i,className:a,LinearProgressProps:s,nextButton:c,position:p="bottom",steps:d,variant:u="dots",slots:f={},slotProps:m={},...h}=n,g={...n,activeStep:r,position:p,variant:u};let y;"progress"===u&&(y=1===d?100:Math.ceil(r/(d-1)*100));const b=(e=>{const{classes:t,position:o}=e;return am({root:["root",`position${Ed(o)}`],dots:["dots"],dot:["dot"],dotActive:["dotActive"],progress:["progress"]},NC,t)})(g),v={slots:f,slotProps:{progress:s,...m}},[x,w]=Dg("root",{ref:o,elementType:RC,shouldForwardComponentProp:!0,className:Ju(b.root,a),externalForwardedProps:{...v,...h},ownerState:g,additionalProps:{square:!0,elevation:0}}),[S,T]=Dg("dots",{className:b.dots,elementType:MC,externalForwardedProps:v,ownerState:g}),[O,j]=Dg("dot",{elementType:$C,externalForwardedProps:v,ownerState:g}),[C,k]=Dg("progress",{className:b.progress,elementType:IC,shouldForwardComponentProp:!0,externalForwardedProps:v,ownerState:g,additionalProps:{value:y,variant:"determinate"}});return e.jsxs(x,{...w,children:[i,"text"===u&&e.jsxs(l.Fragment,{children:[r+1," / ",d]}),"dots"===u&&e.jsx(S,{...T,children:[...new Array(d)].map((t,o)=>e.jsx(O,{...j,className:Ju(b.dot,j.className,o===r&&b.dotActive),dotActive:o===r},o))}),"progress"===u&&e.jsx(C,{...k}),c]})});function BC(e){return tf("MuiNativeSelect",e)}"production"!==process.env.NODE_ENV&&(AC.propTypes={activeStep:Gg,backButton:Kc.node,classes:Kc.object,className:Kc.string,LinearProgressProps:Kc.object,nextButton:Kc.node,position:Kc.oneOf(["bottom","static","top"]),slotProps:Kc.shape({dot:Kc.oneOfType([Kc.func,Kc.object]),dots:Kc.oneOfType([Kc.func,Kc.object]),progress:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({dot:Kc.elementType,dots:Kc.elementType,progress:Kc.elementType,root:Kc.elementType}),steps:Gg.isRequired,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOf(["dots","progress","text"])});const LC=of("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),DC=Eh("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${LC.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,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}}}]})),zC=Eh(DC,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:kh,overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${LC.multiple}`]:t.multiple}]}})({}),VC=Eh("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${LC.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),FC=Eh(VC,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${Ed(o.variant)}`],o.open&&t.iconOpen]}})({}),WC=l.forwardRef(function(t,o){const{className:n,disabled:r,error:i,IconComponent:a,inputRef:s,variant:c="standard",...p}=t,d={...t,disabled:r,variant:c,error:i},u=(e=>{const{classes:t,variant:o,disabled:n,multiple:r,open:i,error:a}=e;return am({select:["select",o,n&&"disabled",r&&"multiple",a&&"error"],icon:["icon",`icon${Ed(o)}`,i&&"iconOpen",n&&"disabled"]},BC,t)})(d);return e.jsxs(l.Fragment,{children:[e.jsx(zC,{ownerState:d,className:Ju(u.select,n),disabled:r,ref:s||o,...p}),t.multiple?null:e.jsx(FC,{as:a,ownerState:d,className:u.icon})]})});"production"!==process.env.NODE_ENV&&(WC.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,disabled:Kc.bool,error:Kc.bool,IconComponent:Kc.elementType.isRequired,inputRef:py,multiple:Kc.bool,name:Kc.string,onChange:Kc.func,value:Kc.any,variant:Kc.oneOf(["standard","outlined","filled"])});const _C=e.jsx(aj,{}),HC=l.forwardRef(function(t,o){const n=Mh({name:"MuiNativeSelect",props:t}),{className:r,children:i,classes:a={},IconComponent:s=Ax,input:c=_C,inputProps:p,variant:d,...u}=n,f=hx({props:n,muiFormControl:yx(),states:["variant"]}),m=(e=>{const{classes:t}=e;return am({root:["root"]},BC,t)})({...n,classes:a}),{root:h,...g}=a;return e.jsx(l.Fragment,{children:l.cloneElement(c,{inputComponent:WC,inputProps:{children:i,classes:g,IconComponent:s,variant:f.variant,type:void 0,...p,...c?c.props.inputProps:{}},ref:o,...u,className:Ju(m.root,c.props.className,r)})})});function qC(e){const{children:t,defer:o=!1,fallback:n=null}=e,[r,i]=l.useState(!1);return xf(()=>{o||i(!0)},[o]),l.useEffect(()=>{o&&i(!0)},[o]),r?t:n}var UC;"production"!==process.env.NODE_ENV&&(HC.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,IconComponent:Kc.elementType,input:Kc.element,inputProps:Kc.object,onChange:Kc.func,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any,variant:Kc.oneOf(["filled","outlined","standard"])}),HC.muiName="Select","production"!==process.env.NODE_ENV&&(qC.propTypes={children:Kc.node,defer:Kc.bool,fallback:Kc.node}),"production"!==process.env.NODE_ENV&&(qC.propTypes=Df(qC.propTypes));const GC=Eh("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:kh})({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%"}),KC=Eh("legend",{name:"MuiNotchedOutlined",shouldForwardProp:kh})(Rh(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.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:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function XC(t){const{children:o,classes:n,className:r,label:i,notched:a,...s}=t,l=null!=i&&""!==i,c={...t,notched:a,withLabel:l};return e.jsx(GC,{"aria-hidden":!0,className:r,ownerState:c,...s,children:e.jsx(KC,{ownerState:c,children:l?e.jsx("span",{children:i}):UC||(UC=e.jsx("span",{className:"notranslate","aria-hidden":!0,children:""}))})})}"production"!==process.env.NODE_ENV&&(XC.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,label:Kc.node,notched:Kc.bool.isRequired,style:Kc.object});const YC=Eh(jx,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Tx})(Rh(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Mx.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Mx.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Mx.focused} .${Mx.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{[`&.${Mx.focused} .${Mx.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Mx.error} .${Mx.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Mx.disabled} .${Mx.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),ZC=Eh(XC,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Rh(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),JC=Eh(Cx,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ox})(Rh(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),QC=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiOutlinedInput"}),{components:r={},fullWidth:i=!1,inputComponent:a="input",label:s,multiline:c=!1,notched:p,slots:d={},slotProps:u={},type:f="text",...m}=n,h=(e=>{const{classes:t}=e,o=am({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Rx,t);return{...t,...o}})(n),g=yx(),y=hx({props:n,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),b={...n,color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:g,fullWidth:i,hiddenLabel:y.hiddenLabel,multiline:c,size:y.size,type:f},v=d.root??r.Root??YC,x=d.input??r.Input??JC,[w,S]=Dg("notchedOutline",{elementType:ZC,className:h.notchedOutline,shouldForwardComponentProp:!0,ownerState:b,externalForwardedProps:{slots:d,slotProps:u},additionalProps:{label:null!=s&&""!==s&&y.required?e.jsxs(l.Fragment,{children:[s," ","*"]}):s}});return e.jsx(Ex,{slots:{root:v,input:x},slotProps:u,renderSuffix:t=>e.jsx(w,{...S,notched:void 0!==p?p:Boolean(t.startAdornment||t.filled||t.focused)}),fullWidth:i,inputComponent:a,multiline:c,ref:o,type:f,...m,classes:{...h,notchedOutline:null}})});function ek(e){return tf("MuiPagination",e)}function tk(e){return tf("MuiPaginationItem",e)}"production"!==process.env.NODE_ENV&&(QC.propTypes={autoComplete:Kc.string,autoFocus:Kc.bool,classes:Kc.object,color:Kc.oneOfType([Kc.oneOf(["primary","secondary"]),Kc.string]),components:Kc.shape({Input:Kc.elementType,Root:Kc.elementType}),defaultValue:Kc.any,disabled:Kc.bool,endAdornment:Kc.node,error:Kc.bool,fullWidth:Kc.bool,id:Kc.string,inputComponent:Kc.elementType,inputProps:Kc.object,inputRef:py,label:Kc.node,margin:Kc.oneOf(["dense","none"]),maxRows:Kc.oneOfType([Kc.number,Kc.string]),minRows:Kc.oneOfType([Kc.number,Kc.string]),multiline:Kc.bool,name:Kc.string,notched:Kc.bool,onChange:Kc.func,placeholder:Kc.string,readOnly:Kc.bool,required:Kc.bool,rows:Kc.oneOfType([Kc.number,Kc.string]),slotProps:Kc.shape({input:Kc.object,notchedOutline:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.object}),slots:Kc.shape({input:Kc.elementType,notchedOutline:Kc.elementType,root:Kc.elementType}),startAdornment:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),type:Kc.string,value:Kc.any}),QC.muiName="Input",of("MuiPagination",["root","ul","outlined","text"]);const ok=of("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);var nk=Bh(e.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),rk=Bh(e.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),ik=Bh(e.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),ak=Bh(e.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");const sk=(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`size${Ed(o.size)}`],"text"===o.variant&&t[`text${Ed(o.color)}`],"outlined"===o.variant&&t[`outlined${Ed(o.color)}`],"rounded"===o.shape&&t.rounded,"page"===o.type&&t.page,("start-ellipsis"===o.type||"end-ellipsis"===o.type)&&t.ellipsis,("previous"===o.type||"next"===o.type)&&t.previousNext,("first"===o.type||"last"===o.type)&&t.firstLast]},lk=Eh("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:sk})(Rh(({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${ok.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),ck=Eh(Oy,{name:"MuiPaginationItem",slot:"Root",overridesResolver:sk})(Rh(({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${ok.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ok.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ok.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${ok.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},[`&.${ok.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${ok.selected}`]:{[`&.${ok.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${ok.selected}`]:{[`&.${ok.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(My(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${ok.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${ok.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${ok.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(My(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${ok.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.5)}`,backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.activatedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ok.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))]}))),pk=Eh("div",{name:"MuiPaginationItem",slot:"Icon"})(Rh(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),dk=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiPaginationItem"}),{className:r,color:i="standard",component:a,components:s={},disabled:l=!1,page:c,selected:p=!1,shape:d="circular",size:u="medium",slots:f={},slotProps:m={},type:h="page",variant:g="text",...y}=n,b={...n,color:i,disabled:l,selected:p,shape:d,size:u,type:h,variant:g},v=qf(),x=(e=>{const{classes:t,color:o,disabled:n,selected:r,size:i,shape:a,type:s,variant:l}=e;return am({root:["root",`size${Ed(i)}`,l,a,"standard"!==o&&`color${Ed(o)}`,"standard"!==o&&`${l}${Ed(o)}`,n&&"disabled",r&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]},tk,t)})(b),w={slots:{previous:f.previous??s.previous,next:f.next??s.next,first:f.first??s.first,last:f.last??s.last},slotProps:m},[S,T]=Dg("previous",{elementType:ik,externalForwardedProps:w,ownerState:b}),[O,j]=Dg("next",{elementType:ak,externalForwardedProps:w,ownerState:b}),[C,k]=Dg("first",{elementType:nk,externalForwardedProps:w,ownerState:b}),[E,P]=Dg("last",{elementType:rk,externalForwardedProps:w,ownerState:b}),N=v?{previous:"next",next:"previous",first:"last",last:"first"}[h]:h,R={previous:S,next:O,first:C,last:E}[N],M={previous:T,next:j,first:k,last:P}[N];return"start-ellipsis"===h||"end-ellipsis"===h?e.jsx(lk,{ref:o,ownerState:b,className:Ju(x.root,r),children:"…"}):e.jsxs(ck,{ref:o,ownerState:b,component:a,disabled:l,className:Ju(x.root,r),...y,children:["page"===h&&c,R?e.jsx(pk,{...M,className:x.icon,as:R}):null]})});"production"!==process.env.NODE_ENV&&(dk.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["primary","secondary","standard"]),Kc.string]),component:Kc.elementType,components:Kc.shape({first:Kc.elementType,last:Kc.elementType,next:Kc.elementType,previous:Kc.elementType}),disabled:Kc.bool,page:Kc.node,selected:Kc.bool,shape:Kc.oneOf(["circular","rounded"]),size:Kc.oneOfType([Kc.oneOf(["small","medium","large"]),Kc.string]),slotProps:Kc.shape({first:Kc.oneOfType([Kc.func,Kc.object]),last:Kc.oneOfType([Kc.func,Kc.object]),next:Kc.oneOfType([Kc.func,Kc.object]),previous:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({first:Kc.elementType,last:Kc.elementType,next:Kc.elementType,previous:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),type:Kc.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:Kc.oneOfType([Kc.oneOf(["outlined","text"]),Kc.string])});const uk=Eh("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant]]}})({}),fk=Eh("ul",{name:"MuiPagination",slot:"Ul"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function mk(e,t,o){return"page"===e?`${o?"":"Go to "}page ${t}`:`Go to ${e} page`}const hk=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiPagination"}),{boundaryCount:r=1,className:i,color:a="standard",count:s=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:p=mk,hideNextButton:d=!1,hidePrevButton:u=!1,onChange:f,page:m,renderItem:h=t=>e.jsx(dk,{...t}),shape:g="circular",showFirstButton:y=!1,showLastButton:b=!1,siblingCount:v=1,size:x="medium",variant:w="text",...S}=n,{items:T}=function(e={}){const{boundaryCount:t=1,componentName:o="usePagination",count:n=1,defaultPage:r=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:l,page:c,showFirstButton:p=!1,showLastButton:d=!1,siblingCount:u=1,...f}=e,[m,h]=_h({controlled:c,default:r,name:o,state:"page"}),g=(e,t)=>{c||h(t),l&&l(e,t)},y=(e,t)=>{const o=t-e+1;return Array.from({length:o},(t,o)=>e+o)},b=y(1,Math.min(t,n)),v=y(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(m-u,n-t-2*u-1),t+2),w=Math.min(Math.max(m+u,t+2*u+2),n-t-1),S=[...p?["first"]:[],...s?[]:["previous"],...b,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...y(x,w),...w<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],...v,...a?[]:["next"],...d?["last"]:[]],T=e=>{switch(e){case"first":return 1;case"previous":return m-1;case"next":return m+1;case"last":return n;default:return null}};return{items:S.map(e=>"number"==typeof e?{onClick:t=>{g(t,e)},type:"page",page:e,selected:e===m,disabled:i,"aria-current":e===m?"page":void 0}:{onClick:t=>{g(t,T(e))},type:e,page:T(e),selected:!1,disabled:i||!e.includes("ellipsis")&&("next"===e||"last"===e?m>=n:m<=1)}),...f}}({...n,componentName:"Pagination"}),O={...n,boundaryCount:r,color:a,count:s,defaultPage:l,disabled:c,getItemAriaLabel:p,hideNextButton:d,hidePrevButton:u,renderItem:h,shape:g,showFirstButton:y,showLastButton:b,siblingCount:v,size:x,variant:w},j=(e=>{const{classes:t,variant:o}=e;return am({root:["root",o],ul:["ul"]},ek,t)})(O);return e.jsx(uk,{"aria-label":"pagination navigation",className:Ju(j.root,i),ownerState:O,ref:o,...S,children:e.jsx(fk,{className:j.ul,ownerState:O,children:T.map((t,o)=>e.jsx("li",{children:h({...t,color:a,"aria-label":p(t.type,t.page,t.selected),shape:g,size:x,variant:w})},o))})})});"production"!==process.env.NODE_ENV&&(hk.propTypes={boundaryCount:Gg,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["primary","secondary","standard"]),Kc.string]),count:Gg,defaultPage:Gg,disabled:Kc.bool,getItemAriaLabel:Kc.func,hideNextButton:Kc.bool,hidePrevButton:Kc.bool,onChange:Kc.func,page:Gg,renderItem:Kc.func,shape:Kc.oneOf(["circular","rounded"]),showFirstButton:Kc.bool,showLastButton:Kc.bool,siblingCount:Gg,size:Kc.oneOfType([Kc.oneOf(["small","medium","large"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["outlined","text"]),Kc.string])});var gk=Bh(e.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),yk=Bh(e.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const bk=Eh("span",{name:"MuiRadioButtonIcon",shouldForwardProp:kh})({position:"relative",display:"flex"}),vk=Eh(gk,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),xk=Eh(yk,{name:"MuiRadioButtonIcon"})(Rh(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function wk(t){const{checked:o=!1,classes:n={},fontSize:r}=t,i={...t,checked:o};return e.jsxs(bk,{className:n.root,ownerState:i,children:[e.jsx(vk,{fontSize:r,className:n.background,ownerState:i}),e.jsx(xk,{fontSize:r,className:n.dot,ownerState:i})]})}"production"!==process.env.NODE_ENV&&(wk.propTypes={checked:Kc.bool,classes:Kc.object,fontSize:Kc.oneOf(["small","medium"])});const Sk=l.createContext(void 0);function Tk(e){return tf("MuiRadio",e)}"production"!==process.env.NODE_ENV&&(Sk.displayName="RadioGroupContext");const Ok=of("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),jk=Eh(BS,{shouldForwardProp:e=>kh(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"medium"!==o.size&&t[`size${Ed(o.size)}`],t[`color${Ed(o.color)}`]]}})(Rh(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${Ok.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${Ok.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),Ck=e.jsx(wk,{checked:!0}),kk=e.jsx(wk,{}),Ek=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiRadio"}),{checked:r,checkedIcon:i=Ck,color:a="primary",icon:s=kk,name:c,onChange:p,size:d="medium",className:u,disabled:f,disableRipple:m=!1,slots:h={},slotProps:g={},inputProps:y,...b}=n,v=yx();let x=f;v&&void 0===x&&(x=v.disabled),x??=!1;const w={...n,disabled:x,disableRipple:m,color:a,size:d},S=(e=>{const{classes:t,color:o,size:n}=e,r={root:["root",`color${Ed(o)}`,"medium"!==n&&`size${Ed(n)}`]};return{...t,...am(r,Tk,t)}})(w),T=l.useContext(Sk);let O=r;const j=Ph(p,T&&T.onChange);let C=c;T&&(void 0===O&&(O=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(T.value,n.value)),void 0===C&&(C=T.name));const k=g.input??y,[E,P]=Dg("root",{ref:o,elementType:jk,className:Ju(S.root,u),shouldForwardComponentProp:!0,externalForwardedProps:{slots:h,slotProps:g,...b},getSlotProps:e=>({...e,onChange:(t,...o)=>{e.onChange?.(t,...o),j(t,...o)}}),ownerState:w,additionalProps:{type:"radio",icon:l.cloneElement(s,{fontSize:s.props.fontSize??d}),checkedIcon:l.cloneElement(i,{fontSize:i.props.fontSize??d}),disabled:x,name:C,checked:O,slots:h,slotProps:{input:"function"==typeof k?k(w):k}}});return e.jsx(E,{...P,classes:S})});function Pk(e){return tf("MuiRadioGroup",e)}"production"!==process.env.NODE_ENV&&(Ek.propTypes={checked:Kc.bool,checkedIcon:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["default","primary","secondary","error","info","success","warning"]),Kc.string]),disabled:Kc.bool,disableRipple:Kc.bool,icon:Kc.node,id:Kc.string,inputProps:Kc.object,inputRef:py,name:Kc.string,onChange:Kc.func,required:Kc.bool,size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),slotProps:Kc.shape({input:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({input:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any}),of("MuiRadioGroup",["root","row","error"]);const Nk=l.forwardRef(function(t,o){const{actions:n,children:r,className:i,defaultValue:a,name:s,onChange:c,value:p,...d}=t,u=l.useRef(null),f=(e=>{const{classes:t,row:o,error:n}=e;return am({root:["root",o&&"row",n&&"error"]},Pk,t)})(t),[m,h]=_h({controlled:p,default:a,name:"RadioGroup"});l.useImperativeHandle(n,()=>({focus:()=>{let e=u.current.querySelector("input:not(:disabled):checked");e||(e=u.current.querySelector("input:not(:disabled)")),e&&e.focus()}}),[]);const g=qh(o,u),y=Yf(s),b=l.useMemo(()=>({name:y,onChange(e){h(e.target.value),c&&c(e,e.target.value)},value:m}),[y,c,h,m]);return e.jsx(Sk.Provider,{value:b,children:e.jsx(hO,{role:"radiogroup",ref:g,className:Ju(f.root,i),...d,children:r})})});"production"!==process.env.NODE_ENV&&(Nk.propTypes={children:Kc.node,className:Kc.string,defaultValue:Kc.any,name:Kc.string,onChange:Kc.func,value:Kc.any});const Rk={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var Mk=Bh(e.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),$k=Bh(e.jsx("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function Ik(e){return tf("MuiRating",e)}const Ak=of("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function Bk(e,t){if(null==e)return e;const o=Math.round(e/t)*t;return Number(o.toFixed(function(e){const t=e.toString().split(".")[1];return t?t.length:0}(t)))}const Lk=Eh("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Ak.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${Ed(o.size)}`],o.readOnly&&t.readOnly]}})(Rh(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${Ak.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ak.focusVisible} .${Ak.iconActive}`]:{outline:"1px solid #999"},[`& .${Ak.visuallyHidden}`]:Rk,variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(30)}},{props:({ownerState:e})=>e.readOnly,style:{pointerEvents:"none"}}]}))),Dk=Eh("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})({cursor:"inherit",variants:[{props:({ownerState:e})=>e.emptyValueFocused,style:{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}}]}),zk=Eh("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.iconEmpty&&t.iconEmpty,o.iconFilled&&t.iconFilled,o.iconHover&&t.iconHover,o.iconFocus&&t.iconFocus,o.iconActive&&t.iconActive]}})(Rh(({theme:e})=>({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none",variants:[{props:({ownerState:e})=>e.iconActive,style:{transform:"scale(1.2)"}},{props:({ownerState:e})=>e.iconEmpty,style:{color:(e.vars||e).palette.action.disabled}}]}))),Vk=Eh("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>Ch(e)&&"iconActive"!==e,overridesResolver:(e,t)=>{const{iconActive:o}=e;return[t.decimal,o&&t.iconActive]}})({position:"relative",variants:[{props:({iconActive:e})=>e,style:{transform:"scale(1.2)"}}]});function Fk(t){const{value:o,...n}=t;return e.jsx("span",{...n})}function Wk(t){const{classes:o,disabled:n,emptyIcon:r,focus:i,getLabelText:a,highlightSelectedOnly:s,hover:c,icon:p,IconContainerComponent:d,isActive:u,itemValue:f,labelProps:m,name:h,onBlur:g,onChange:y,onClick:b,onFocus:v,readOnly:x,ownerState:w,ratingValue:S,ratingValueRounded:T,slots:O={},slotProps:j={}}=t,C=s?f===S:f<=S,k=f<=c,E=f<=i,P=f===T,N=`${h}-${Yf()}`,R={slots:O,slotProps:j},[M,$]=Dg("icon",{elementType:zk,className:Ju(o.icon,C?o.iconFilled:o.iconEmpty,k&&o.iconHover,E&&o.iconFocus,u&&o.iconActive),externalForwardedProps:R,ownerState:{...w,iconEmpty:!C,iconFilled:C,iconHover:k,iconFocus:E,iconActive:u},additionalProps:{value:f},internalForwardedProps:{as:d}}),[I,A]=Dg("label",{elementType:Dk,externalForwardedProps:R,ownerState:{...w,emptyValueFocused:void 0},additionalProps:{style:m?.style,htmlFor:N}}),B=e.jsx(M,{...$,children:r&&!C?r:p});return x?e.jsx("span",{...m,children:B}):e.jsxs(l.Fragment,{children:[e.jsxs(I,{...A,children:[B,e.jsx("span",{className:o.visuallyHidden,children:a(f)})]}),e.jsx("input",{className:o.visuallyHidden,onFocus:v,onBlur:g,onChange:y,onClick:b,disabled:n,value:f,id:N,type:"radio",name:h,checked:P})]})}"production"!==process.env.NODE_ENV&&(Fk.propTypes={value:Kc.number.isRequired}),"production"!==process.env.NODE_ENV&&(Wk.propTypes={classes:Kc.object.isRequired,disabled:Kc.bool.isRequired,emptyIcon:Kc.node,focus:Kc.number.isRequired,getLabelText:Kc.func.isRequired,highlightSelectedOnly:Kc.bool.isRequired,hover:Kc.number.isRequired,icon:Kc.node,IconContainerComponent:Kc.elementType.isRequired,isActive:Kc.bool.isRequired,itemValue:Kc.number.isRequired,labelProps:Kc.object,name:Kc.string,onBlur:Kc.func.isRequired,onChange:Kc.func.isRequired,onClick:Kc.func.isRequired,onFocus:Kc.func.isRequired,ownerState:Kc.object.isRequired,ratingValue:Kc.number,ratingValueRounded:Kc.number,readOnly:Kc.bool.isRequired,slotProps:Kc.object,slots:Kc.object});const _k=e.jsx(Mk,{fontSize:"inherit"}),Hk=e.jsx($k,{fontSize:"inherit"});function qk(e){return`${e||"0"} Star${1!==e?"s":""}`}const Uk=l.forwardRef(function(t,n){const r=Mh({name:"MuiRating",props:t}),{component:i="span",className:a,defaultValue:s=null,disabled:c=!1,emptyIcon:p=Hk,emptyLabelText:d="Empty",getLabelText:u=qk,highlightSelectedOnly:f=!1,icon:m=_k,IconContainerComponent:h=Fk,max:g=5,name:y,onChange:b,onChangeActive:v,onMouseLeave:x,onMouseMove:w,precision:S=1,readOnly:T=!1,size:O="medium",value:j,slots:C={},slotProps:k={},...E}=r,P=Yf(y),[N,R]=_h({controlled:j,default:s,name:"Rating"}),M=Bk(N,S),$=qf(),[{hover:I,focus:A},B]=l.useState({hover:-1,focus:-1});let L=M;-1!==I&&(L=I),-1!==A&&(L=A);const[D,z]=l.useState(!1),V=l.useRef(),F=qh(V,n),W=e=>{let t=""===e.target.value?null:parseFloat(e.target.value);-1!==I&&(t=I),R(t),b&&b(e,t)},_=e=>{0===e.clientX&&0===e.clientY||(B({hover:-1,focus:-1}),R(null),b&&parseFloat(e.target.value)===M&&b(e,null))},H=e=>{dy(e.target)&&z(!0);const t=parseFloat(e.target.value);B(e=>({hover:e.hover,focus:t}))},q=e=>{-1===I&&(dy(e.target)||z(!1),B(e=>({hover:e.hover,focus:-1})))},[U,G]=l.useState(!1),K={...r,component:i,defaultValue:s,disabled:c,emptyIcon:p,emptyLabelText:d,emptyValueFocused:U,focusVisible:D,getLabelText:u,icon:m,IconContainerComponent:h,max:g,precision:S,readOnly:T,size:O},X=(e=>{const{classes:t,size:o,readOnly:n,disabled:r,emptyValueFocused:i,focusVisible:a}=e;return am({root:["root",`size${Ed(o)}`,r&&"disabled",a&&"focusVisible",n&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]},Ik,t)})(K),Y={slots:C,slotProps:k},[Z,J]=Dg("root",{ref:F,className:Ju(X.root,a),elementType:Lk,externalForwardedProps:{...Y,...E,component:i},getSlotProps:e=>({...e,onMouseMove:t=>{(e=>{w&&w(e);const t=V.current,{right:o,left:n,width:r}=t.getBoundingClientRect();let i;i=$?(o-e.clientX)/r:(e.clientX-n)/r;let a=Bk(g*i+S/2,S);a=wf(a,S,g),B(e=>e.hover===a&&e.focus===a?e:{hover:a,focus:a}),z(!1),v&&I!==a&&v(e,a)})(t),e.onMouseMove?.(t)},onMouseLeave:t=>{(e=>{x&&x(e),B({hover:-1,focus:-1}),v&&-1!==I&&v(e,-1)})(t),e.onMouseLeave?.(t)}}),ownerState:K,additionalProps:{role:T?"img":null,"aria-label":T?u(L):null}}),[Q,ee]=Dg("label",{className:Ju(X.label,X.labelEmptyValue),elementType:Dk,externalForwardedProps:Y,ownerState:K}),[te,oe]=Dg("decimal",{className:X.decimal,elementType:Vk,externalForwardedProps:Y,ownerState:K});return e.jsxs(Z,{...J,children:[Array.from(new Array(g)).map((t,n)=>{const r=n+1,i={classes:X,disabled:c,emptyIcon:p,focus:A,getLabelText:u,highlightSelectedOnly:f,hover:I,icon:m,IconContainerComponent:h,name:P,onBlur:q,onChange:W,onClick:_,onFocus:H,ratingValue:L,ratingValueRounded:M,readOnly:T,ownerState:K,slots:C,slotProps:k},a=r===Math.ceil(L)&&(-1!==I||-1!==A);if(S<1){const t=Array.from(new Array(1/S));return o.createElement(te,{...oe,key:r,className:Ju(oe.className,a&&X.iconActive),iconActive:a},t.map((o,n)=>{const a=Bk(r-1+(n+1)*S,S);return e.jsx(Wk,{...i,isActive:!1,itemValue:a,labelProps:{style:t.length-1===n?{}:{width:a===L?(n+1)*S*100+"%":"0%",overflow:"hidden",position:"absolute"}}},a)}))}return e.jsx(Wk,{...i,isActive:a,itemValue:r},r)}),!T&&!c&&e.jsxs(Q,{...ee,children:[e.jsx("input",{className:X.visuallyHidden,value:"",id:`${P}-empty`,type:"radio",name:P,checked:null==M,onFocus:()=>G(!0),onBlur:()=>G(!1),onChange:W}),e.jsx("span",{className:X.visuallyHidden,children:d})]})]})});function Gk(e){return tf("MuiScopedCssBaseline",e)}"production"!==process.env.NODE_ENV&&(Uk.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,defaultValue:Kc.number,disabled:Kc.bool,emptyIcon:Kc.node,emptyLabelText:Kc.node,getLabelText:Kc.func,highlightSelectedOnly:Kc.bool,icon:Kc.node,IconContainerComponent:Kc.elementType,max:Kc.number,name:Kc.string,onChange:Kc.func,onChangeActive:Kc.func,onMouseLeave:Kc.func,onMouseMove:Kc.func,precision:Gh(Kc.number,e=>e.precision<.1?new Error(["MUI: The prop `precision` should be above 0.1.","A value below this limit has an imperceptible impact."].join("\n")):null),readOnly:Kc.bool,size:Kc.oneOfType([Kc.oneOf(["small","medium","large"]),Kc.string]),slotProps:Kc.shape({decimal:Kc.oneOfType([Kc.func,Kc.object]),icon:Kc.oneOfType([Kc.func,Kc.object]),label:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({decimal:Kc.elementType,icon:Kc.elementType,label:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.number}),of("MuiScopedCssBaseline",["root"]);const Kk=Eh("div",{name:"MuiScopedCssBaseline",slot:"Root"})(Rh(({theme:e})=>{const t={};return e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,n])=>{const r=e.getColorSchemeSelector(o);r.startsWith("@")?t[r]={colorScheme:n.palette?.mode}:t[`&${r.replace(/\s*&/,"")}`]={colorScheme:n.palette?.mode}}),{...YS(e,!1),...ZS(e),"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold},variants:[{props:{enableColorScheme:!0},style:e.vars?t:{colorScheme:e.palette.mode}}]}})),Xk=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiScopedCssBaseline"}),{className:r,component:i="div",enableColorScheme:a,...s}=n,l={...n,component:i},c=(e=>{const{classes:t}=e;return am({root:["root"]},Gk,t)})(l);return e.jsx(Kk,{as:i,className:Ju(c.root,r),ref:o,ownerState:l,...s})});function Yk(e){return tf("MuiSelect",e)}"production"!==process.env.NODE_ENV&&(Xk.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,enableColorScheme:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const Zk=of("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Jk;const Qk=Eh(DC,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`&.${Zk.select}`]:t.select},{[`&.${Zk.select}`]:t[o.variant]},{[`&.${Zk.error}`]:t.error},{[`&.${Zk.multiple}`]:t.multiple}]}})({[`&.${Zk.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),eE=Eh(VC,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${Ed(o.variant)}`],o.open&&t.iconOpen]}})({}),tE=Eh("input",{shouldForwardProp:e=>Ch(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function oE(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function nE(e){return null==e||"string"==typeof e&&!e.trim()}const rE=l.forwardRef(function(t,o){const{"aria-describedby":n,"aria-label":r,autoFocus:i,autoWidth:a,children:s,className:c,defaultOpen:p,defaultValue:d,disabled:u,displayEmpty:f,error:m=!1,IconComponent:h,inputRef:g,labelId:y,MenuProps:b={},multiple:v,name:x,onBlur:w,onChange:S,onClose:T,onFocus:O,onKeyDown:j,onMouseDown:C,onOpen:k,open:E,readOnly:P,renderValue:N,required:R,SelectDisplayProps:M={},tabIndex:$,type:I,value:A,variant:B="standard",...L}=t,[D,z]=_h({controlled:A,default:d,name:"Select"}),[V,F]=_h({controlled:E,default:p,name:"Select"}),W=l.useRef(null),_=l.useRef(null),[H,q]=l.useState(null),{current:U}=l.useRef(null!=E),[G,K]=l.useState(),X=qh(o,g),Y=l.useCallback(e=>{_.current=e,e&&q(e)},[]),Z=H?.parentNode;l.useImperativeHandle(X,()=>({focus:()=>{_.current.focus()},node:W.current,value:D}),[D]);const J=null!==H&&V;l.useEffect(()=>{if(!J||!Z||a)return;if("undefined"==typeof ResizeObserver)return;const e=new ResizeObserver(()=>{K(Z.clientWidth)});return e.observe(Z),()=>{e.disconnect()}},[J,Z,a]),l.useEffect(()=>{p&&V&&H&&!U&&(K(a?null:Z.clientWidth),_.current.focus())},[H,a]),l.useEffect(()=>{i&&_.current.focus()},[i]),l.useEffect(()=>{if(!y)return;const e=Dh(_.current).getElementById(y);if(e){const t=()=>{getSelection().isCollapsed&&_.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[y]);const Q=(e,t)=>{e?k&&k(t):T&&T(t),U||(K(a?null:Z.clientWidth),F(e))},ee=l.Children.toArray(s),te=e=>t=>{let o;if(t.currentTarget.hasAttribute("tabindex")){if(v){o=Array.isArray(D)?D.slice():[];const t=D.indexOf(e.props.value);-1===t?o.push(e.props.value):o.splice(t,1)}else o=e.props.value;if(e.props.onClick&&e.props.onClick(t),D!==o&&(z(o),S)){const n=t.nativeEvent||t,r=new n.constructor(n.type,n);Object.defineProperty(r,"target",{writable:!0,value:{value:o,name:x}}),S(r,e)}v||Q(!1,t)}};let oe,ne;delete L["aria-invalid"];const re=[];let ie=!1,ae=!1;(vx({value:D})||f)&&(N?oe=N(D):ie=!0);const se=ee.map(e=>{if(!l.isValidElement(e))return null;let t;if("production"!==process.env.NODE_ENV&&Kp.isFragment(e),v){if(!Array.isArray(D))throw new Error("production"!==process.env.NODE_ENV?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":Ms(2));t=D.some(t=>oE(t,e.props.value)),t&&ie&&re.push(e.props.children)}else t=oE(D,e.props.value),t&&ie&&(ne=e.props.children);return t&&(ae=!0),l.cloneElement(e,{"aria-selected":t?"true":"false",onClick:te(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});"production"!==process.env.NODE_ENV&&l.useEffect(()=>{ae||v||""===D||ee.map(e=>e.props.value)},[ae,ee,v,x,D]),ie&&(oe=v?0===re.length?null:re.reduce((e,t,o)=>(e.push(t),o<re.length-1&&e.push(", "),e),[]):ne);let le,ce=G;!a&&U&&H&&(ce=Z.clientWidth),le=void 0!==$?$:u?null:0;const pe=M.id||(x?`mui-component-select-${x}`:void 0),de={...t,variant:B,value:D,open:J,error:m},ue=(e=>{const{classes:t,variant:o,disabled:n,multiple:r,open:i,error:a}=e;return am({select:["select",o,n&&"disabled",r&&"multiple",a&&"error"],icon:["icon",`icon${Ed(o)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},Yk,t)})(de),fe={...b.PaperProps,..."function"==typeof b.slotProps?.paper?b.slotProps.paper(de):b.slotProps?.paper},me={...b.MenuListProps,..."function"==typeof b.slotProps?.list?b.slotProps.list(de):b.slotProps?.list},he=Yf();return e.jsxs(l.Fragment,{children:[e.jsx(Qk,{as:"div",ref:Y,tabIndex:le,role:"combobox","aria-controls":J?he:void 0,"aria-disabled":u?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[y,pe].filter(Boolean).join(" ")||void 0,"aria-describedby":n,"aria-required":R?"true":void 0,"aria-invalid":m?"true":void 0,onKeyDown:e=>{P||([" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),Q(!0,e)),j?.(e))},onMouseDown:u||P?null:e=>{C?.(e),0===e.button&&(e.preventDefault(),_.current.focus(),Q(!0,e))},onBlur:e=>{!J&&w&&(Object.defineProperty(e,"target",{writable:!0,value:{value:D,name:x}}),w(e))},onFocus:O,...M,ownerState:de,className:Ju(M.className,ue.select,c),id:pe,children:nE(oe)?Jk||(Jk=e.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):oe}),e.jsx(tE,{"aria-invalid":m,value:Array.isArray(D)?D.join(","):D,name:x,ref:W,"aria-hidden":!0,onChange:e=>{const t=ee.find(t=>t.props.value===e.target.value);void 0!==t&&(z(t.props.value),S&&S(e,t))},tabIndex:-1,disabled:u,className:ue.nativeInput,autoFocus:i,required:R,...L,ownerState:de}),e.jsx(eE,{as:h,className:ue.icon,ownerState:de}),e.jsx(jC,{id:`menu-${x||""}`,anchorEl:Z,open:J,onClose:e=>{Q(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...b,slotProps:{...b.slotProps,list:{"aria-labelledby":y,role:"listbox","aria-multiselectable":v?"true":void 0,disableListWrap:!0,id:he,...me},paper:{...fe,style:{minWidth:ce,...null!=fe?fe.style:null}}},children:se})]})});"production"!==process.env.NODE_ENV&&(rE.propTypes={"aria-describedby":Kc.string,"aria-label":Kc.string,autoFocus:Kc.bool,autoWidth:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,defaultOpen:Kc.bool,defaultValue:Kc.any,disabled:Kc.bool,displayEmpty:Kc.bool,error:Kc.bool,IconComponent:Kc.elementType.isRequired,inputRef:py,labelId:Kc.string,MenuProps:Kc.object,multiple:Kc.bool,name:Kc.string,onBlur:Kc.func,onChange:Kc.func,onClose:Kc.func,onFocus:Kc.func,onOpen:Kc.func,open:Kc.bool,readOnly:Kc.bool,renderValue:Kc.func,required:Kc.bool,SelectDisplayProps:Kc.object,tabIndex:Kc.oneOfType([Kc.number,Kc.string]),type:Kc.any,value:Kc.any,variant:Kc.oneOf(["standard","outlined","filled"])});const iE={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>kh(e)&&"variant"!==e},aE=Eh(aj,iE)(""),sE=Eh(QC,iE)(""),lE=Eh(rO,iE)(""),cE=l.forwardRef(function(t,o){const n=Mh({name:"MuiSelect",props:t}),{autoWidth:r=!1,children:i,classes:a={},className:s,defaultOpen:c=!1,displayEmpty:p=!1,IconComponent:d=Ax,id:u,input:f,inputProps:m,label:h,labelId:g,MenuProps:y,multiple:b=!1,native:v=!1,onClose:x,onOpen:w,open:S,renderValue:T,SelectDisplayProps:O,variant:j="outlined",...C}=n,k=v?WC:rE,E=hx({props:n,muiFormControl:yx(),states:["variant","error"]}),P=E.variant||j,N={...n,variant:P,classes:a},R=(e=>{const{classes:t}=e,o=am({root:["root"]},Yk,t);return{...t,...o}})(N),{root:M,...$}=R,I=f||{standard:e.jsx(aE,{ownerState:N}),outlined:e.jsx(sE,{label:h,ownerState:N}),filled:e.jsx(lE,{ownerState:N})}[P],A=qh(o,qv(I));return e.jsx(l.Fragment,{children:l.cloneElement(I,{inputComponent:k,inputProps:{children:i,error:E.error,IconComponent:d,variant:P,type:void 0,multiple:b,...v?{id:u}:{autoWidth:r,defaultOpen:c,displayEmpty:p,labelId:g,MenuProps:y,onClose:x,onOpen:w,open:S,renderValue:T,SelectDisplayProps:{id:u,...O}},...m,classes:m?hd($,m.classes):$,...f?f.props.inputProps:{}},...(b&&v||p)&&"outlined"===P?{notched:!0}:{},ref:A,className:Ju(I.props.className,s,R.root),...!f&&{variant:P},...C})})});function pE(e){return tf("MuiSkeleton",e)}"production"!==process.env.NODE_ENV&&(cE.propTypes={autoWidth:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,defaultOpen:Kc.bool,defaultValue:Kc.any,displayEmpty:Kc.bool,IconComponent:Kc.elementType,id:Kc.string,input:Kc.element,inputProps:Kc.object,label:Kc.node,labelId:Kc.string,MenuProps:Kc.object,multiple:Kc.bool,native:Kc.bool,onChange:Kc.func,onClose:Kc.func,onOpen:Kc.func,open:Kc.bool,renderValue:Kc.func,SelectDisplayProps:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.oneOfType([Kc.oneOf([""]),Kc.any]),variant:Kc.oneOf(["filled","outlined","standard"])}),cE.muiName="Select",of("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const dE=Vc`
|
|
194
|
+
0% {
|
|
195
|
+
opacity: 1;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
50% {
|
|
199
|
+
opacity: 0.4;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
100% {
|
|
203
|
+
opacity: 1;
|
|
204
|
+
}
|
|
205
|
+
`,uE=Vc`
|
|
206
|
+
0% {
|
|
207
|
+
transform: translateX(-100%);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
50% {
|
|
211
|
+
/* +0.5s of delay between each loop */
|
|
212
|
+
transform: translateX(100%);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
100% {
|
|
216
|
+
transform: translateX(100%);
|
|
217
|
+
}
|
|
218
|
+
`,fE="string"!=typeof dE?zc`
|
|
219
|
+
animation: ${dE} 2s ease-in-out 0.5s infinite;
|
|
220
|
+
`:null,mE="string"!=typeof uE?zc`
|
|
221
|
+
&::after {
|
|
222
|
+
animation: ${uE} 2s linear 0.5s infinite;
|
|
223
|
+
}
|
|
224
|
+
`:null,hE=Eh("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!1!==o.animation&&t[o.animation],o.hasChildren&&t.withChildren,o.hasChildren&&!o.width&&t.fitContent,o.hasChildren&&!o.height&&t.heightAuto]}})(Rh(({theme:e})=>{const t=(o=e.shape.borderRadius,String(o).match(/[\d.\-+]*\s*(.*)/)[1]||"px");var o;const n=function(e){return parseFloat(e)}(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:e.alpha(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${t}/${Math.round(n/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:"fit-content"}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:"auto"}},{props:{animation:"pulse"},style:fE||{animation:`${dE} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(\n 90deg,\n transparent,\n ${(e.vars||e).palette.action.hover},\n transparent\n )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:mE||{"&::after":{animation:`${uE} 2s linear 0.5s infinite`}}}]}})),gE=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiSkeleton"}),{animation:r="pulse",className:i,component:a="span",height:s,style:l,variant:c="text",width:p,...d}=n,u={...n,animation:r,component:a,variant:c,hasChildren:Boolean(d.children)},f=(e=>{const{classes:t,variant:o,animation:n,hasChildren:r,width:i,height:a}=e;return am({root:["root",o,n,r&&"withChildren",r&&!i&&"fitContent",r&&!a&&"heightAuto"]},pE,t)})(u);return e.jsx(hE,{as:a,ref:o,className:Ju(f.root,i),ownerState:u,...d,style:{width:p,height:s,...l}})});function yE(e,t,o,n,r){return 1===o?Math.min(e+t,r):Math.max(e-t,n)}function bE(e,t){return e-t}function vE(e,t){const{index:o}=e.reduce((e,o,n)=>{const r=Math.abs(t-o);return null===e||r<e.distance||r===e.distance?{distance:r,index:n}:e},null)??{};return o}function xE(e,t){if(void 0!==t.current&&e.changedTouches){const o=e;for(let e=0;e<o.changedTouches.length;e+=1){const n=o.changedTouches[e];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function wE(e,t,o){return 100*(e-t)/(o-t)}function SE({values:e,newValue:t,index:o}){const n=e.slice();return n[o]=t,n.sort(bE)}function TE({sliderRef:e,activeIndex:t,setActive:o}){const n=Dh(e.current);e.current?.contains(n.activeElement)&&Number(n?.activeElement?.getAttribute("data-index"))===t||e.current?.querySelector(`[type="range"][data-index="${t}"]`).focus(),o&&o(t)}function OE(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,o=(e,t)=>e===t){return e.length===t.length&&e.every((e,n)=>o(e,t[n]))}(e,t)}"production"!==process.env.NODE_ENV&&(gE.propTypes={animation:Kc.oneOf(["pulse","wave",!1]),children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,height:Kc.oneOfType([Kc.number,Kc.string]),style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["circular","rectangular","rounded","text"]),Kc.string]),width:Kc.oneOfType([Kc.number,Kc.string])});const jE={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},CE=e=>e;let kE;function EE(){return void 0===kE&&(kE="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),kE}function PE(e){const{"aria-labelledby":t,defaultValue:o,disabled:n=!1,disableSwap:r=!1,isRtl:i=!1,marks:a=!1,max:s=100,min:c=0,name:p,onChange:d,onChangeCommitted:u,orientation:f="horizontal",rootRef:m,scale:h=CE,step:g=1,shiftStep:y=10,tabIndex:b,value:v}=e,x=l.useRef(void 0),[w,S]=l.useState(-1),[T,O]=l.useState(-1),[j,C]=l.useState(!1),k=l.useRef(0),E=l.useRef(null),[P,N]=_h({controlled:v,default:o??c,name:"Slider"}),R=d&&((e,t,o)=>{const n=e.nativeEvent||e,r=new n.constructor(n.type,n);Object.defineProperty(r,"target",{writable:!0,value:{value:t,name:p}}),E.current=t,d(r,t,o)}),M=Array.isArray(P);let $=M?P.slice().sort(bE):[P];$=$.map(e=>null==e?c:wf(e,c,s));const I=!0===a&&null!==g?[...Array(Math.floor((s-c)/g)+1)].map((e,t)=>({value:c+g*t})):a||[],A=I.map(e=>e.value),[B,L]=l.useState(-1),D=l.useRef(null),z=qh(m,D),V=e=>t=>{const o=Number(t.currentTarget.getAttribute("data-index"));dy(t.target)&&L(o),O(o),e?.onFocus?.(t)},F=e=>t=>{dy(t.target)||L(-1),O(-1),e?.onBlur?.(t)},W=(e,t)=>{const o=Number(e.currentTarget.getAttribute("data-index")),n=$[o],i=A.indexOf(n);let a=t;if(I&&null==g){const e=A[A.length-1];a=a>=e?e:a<=A[0]?A[0]:a<n?A[i-1]:A[i+1]}if(a=wf(a,c,s),M){r&&(a=wf(a,$[o-1]||-1/0,$[o+1]||1/0));const e=a;a=SE({values:$,newValue:a,index:o});let t=o;r||(t=a.indexOf(e)),TE({sliderRef:D,activeIndex:t})}N(a),L(o),R&&!OE(a,P)&&R(e,a,o),u&&u(e,E.current??a)},_=e=>t=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(t.key)){t.preventDefault();const e=Number(t.currentTarget.getAttribute("data-index")),o=$[e];let n=null;if(null!=g){const e=t.shiftKey?y:g;switch(t.key){case"ArrowUp":n=yE(o,e,1,c,s);break;case"ArrowRight":n=yE(o,e,i?-1:1,c,s);break;case"ArrowDown":n=yE(o,e,-1,c,s);break;case"ArrowLeft":n=yE(o,e,i?1:-1,c,s);break;case"PageUp":n=yE(o,y,1,c,s);break;case"PageDown":n=yE(o,y,-1,c,s);break;case"Home":n=c;break;case"End":n=s}}else if(I){const e=A[A.length-1],r=A.indexOf(o),a=[i?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];[i?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"].includes(t.key)?n=0===r?A[0]:A[r-1]:a.includes(t.key)&&(n=r===A.length-1?e:A[r+1])}null!=n&&W(t,n)}e?.onKeyDown?.(t)};xf(()=>{n&&D.current.contains(document.activeElement)&&document.activeElement?.blur()},[n]),n&&-1!==w&&S(-1),n&&-1!==B&&L(-1);const H=l.useRef(void 0);let q=f;i&&"horizontal"===f&&(q+="-reverse");const U=({finger:e,move:t=!1})=>{const{current:o}=D,{width:n,height:i,bottom:a,left:l}=o.getBoundingClientRect();let p,d;if(p=q.startsWith("vertical")?(a-e.y)/i:(e.x-l)/n,q.includes("-reverse")&&(p=1-p),d=function(e,t,o){return(o-t)*e+t}(p,c,s),g)d=function(e,t,o){const n=Math.round((e-o)/t)*t+o;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),o=t[0].split(".")[1];return(o?o.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}(d,g,c);else{const e=vE(A,d);d=A[e]}d=wf(d,c,s);let u=0;if(M){u=t?H.current:vE($,d),r&&(d=wf(d,$[u-1]||-1/0,$[u+1]||1/0));const e=d;d=SE({values:$,newValue:d,index:u}),r&&t||(u=d.indexOf(e),H.current=u)}return{newValue:d,activeIndex:u}},G=Hh(e=>{const t=xE(e,x);if(!t)return;if(k.current+=1,"mousemove"===e.type&&0===e.buttons)return void K(e);const{newValue:o,activeIndex:n}=U({finger:t,move:!0});TE({sliderRef:D,activeIndex:n,setActive:S}),N(o),!j&&k.current>2&&C(!0),R&&!OE(o,P)&&R(e,o,n)}),K=Hh(e=>{const t=xE(e,x);if(C(!1),!t)return;const{newValue:o}=U({finger:t,move:!0});S(-1),"touchend"===e.type&&O(-1),u&&u(e,E.current??o),x.current=void 0,Y()}),X=Hh(e=>{if(n)return;EE()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(x.current=t.identifier);const o=xE(e,x);if(!1!==o){const{newValue:t,activeIndex:n}=U({finger:o});TE({sliderRef:D,activeIndex:n,setActive:S}),N(t),R&&!OE(t,P)&&R(e,t,n)}k.current=0;const r=Dh(D.current);r.addEventListener("touchmove",G,{passive:!0}),r.addEventListener("touchend",K,{passive:!0})}),Y=l.useCallback(()=>{const e=Dh(D.current);e.removeEventListener("mousemove",G),e.removeEventListener("mouseup",K),e.removeEventListener("touchmove",G),e.removeEventListener("touchend",K)},[K,G]);l.useEffect(()=>{const{current:e}=D;return e.addEventListener("touchstart",X,{passive:EE()}),()=>{e.removeEventListener("touchstart",X),Y()}},[Y,X]),l.useEffect(()=>{n&&Y()},[n,Y]);const Z=wE(M?$[0]:c,c,s),J=wE($[$.length-1],c,s)-Z,Q=e=>t=>{e.onMouseLeave?.(t),O(-1)};let ee;return"vertical"===f&&(ee=i?"vertical-rl":"vertical-lr"),{active:w,axis:q,axisProps:jE,dragging:j,focusedThumbIndex:B,getHiddenInputProps:(o={})=>{const r=Ag(o),a={onChange:(l=r||{},e=>{l.onChange?.(e),W(e,e.target.valueAsNumber)}),onFocus:V(r||{}),onBlur:F(r||{}),onKeyDown:_(r||{})};var l;const d={...r,...a};return{tabIndex:b,"aria-labelledby":t,"aria-orientation":f,"aria-valuemax":h(s),"aria-valuemin":h(c),name:p,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":e.step??void 0,disabled:n,...o,...d,style:{...Rk,direction:i?"rtl":"ltr",width:"100%",height:"100%",writingMode:ee}}},getRootProps:(e={})=>{const t=Ag(e),o={onMouseDown:(r=t||{},e=>{if(r.onMouseDown?.(e),n)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const t=xE(e,x);if(!1!==t){const{newValue:o,activeIndex:n}=U({finger:t});TE({sliderRef:D,activeIndex:n,setActive:S}),N(o),R&&!OE(o,P)&&R(e,o,n)}k.current=0;const o=Dh(D.current);o.addEventListener("mousemove",G,{passive:!0}),o.addEventListener("mouseup",K)})};var r;const i={...t,...o};return{...e,ref:z,...i}},getThumbProps:(e={})=>{const t=Ag(e),o={onMouseOver:(n=t||{},e=>{n.onMouseOver?.(e);const t=Number(e.currentTarget.getAttribute("data-index"));O(t)}),onMouseLeave:Q(t||{})};var n;return{...e,...t,...o}},marks:I,open:T,range:M,rootRef:z,trackLeap:J,trackOffset:Z,values:$,getThumbStyle:e=>({pointerEvents:-1!==w&&w!==e?"none":void 0})}}function NE(e){return tf("MuiSlider",e)}const RE=of("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);function ME(t){const{children:o,className:n,value:r}=t,i=(e=>{const{open:t}=e;return{offset:Ju(t&&RE.valueLabelOpen),circle:RE.valueLabelCircle,label:RE.valueLabelLabel}})(t);return o?l.cloneElement(o,{className:o.props.className},e.jsxs(l.Fragment,{children:[o.props.children,e.jsx("span",{className:Ju(i.offset,n),"aria-hidden":!0,children:e.jsx("span",{className:i.circle,children:e.jsx("span",{className:i.label,children:r})})})]})):null}function $E(e){return e}"production"!==process.env.NODE_ENV&&(ME.propTypes={children:Kc.element.isRequired,className:Kc.string,value:Kc.node});const IE=Eh("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${Ed(o.color)}`],"medium"!==o.size&&t[`size${Ed(o.size)}`],o.marked&&t.marked,"vertical"===o.orientation&&t.vertical,"inverted"===o.track&&t.trackInverted,!1===o.track&&t.trackFalse]}})(Rh(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${RE.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${RE.dragging}`]:{[`& .${RE.thumb}, & .${RE.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),AE=Eh("span",{name:"MuiSlider",slot:"Rail"})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),BE=Eh("span",{name:"MuiSlider",slot:"Track"})(Rh(({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:e.lighten(e.palette[t].main,.62),borderColor:e.lighten(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:e.darken(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:e.darken(e.palette[t].main,.5)})}}}))]}))),LE=Eh("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.thumb,t[`thumbColor${Ed(o.color)}`],"medium"!==o.size&&t[`thumbSize${Ed(o.size)}`]]}})(Rh(({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${RE.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${RE.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[t].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${RE.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[t].main,.16)}`}}}))]}))),DE=Eh(ME,{name:"MuiSlider",slot:"ValueLabel"})(Rh(({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${RE.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${RE.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})));"production"!==process.env.NODE_ENV&&(DE.propTypes={children:Kc.element.isRequired,index:Kc.number.isRequired,open:Kc.bool.isRequired,value:Kc.node});const zE=Eh("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Ch(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:o}=e;return[t.mark,o&&t.markActive]}})(Rh(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),VE=Eh("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Ch(e)&&"markLabelActive"!==e})(Rh(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),FE=({children:e})=>e,WE=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiSlider"}),r=qf(),{"aria-label":i,"aria-valuetext":a,"aria-labelledby":s,component:c="span",components:p={},componentsProps:d={},color:u="primary",classes:f,className:m,disableSwap:h=!1,disabled:g=!1,getAriaLabel:y,getAriaValueText:b,marks:v=!1,max:x=100,min:w=0,name:S,onChange:T,onChangeCommitted:O,orientation:j="horizontal",shiftStep:C=10,size:k="medium",step:E=1,scale:P=$E,slotProps:N,slots:R,tabIndex:M,track:$="normal",value:I,valueLabelDisplay:A="off",valueLabelFormat:B=$E,...L}=n,D={...n,isRtl:r,max:x,min:w,classes:f,disabled:g,disableSwap:h,orientation:j,marks:v,color:u,size:k,step:E,shiftStep:C,scale:P,track:$,valueLabelDisplay:A,valueLabelFormat:B},{axisProps:z,getRootProps:V,getHiddenInputProps:F,getThumbProps:W,open:_,active:H,axis:q,focusedThumbIndex:U,range:G,dragging:K,marks:X,values:Y,trackOffset:Z,trackLeap:J,getThumbStyle:Q}=PE({...D,rootRef:o});D.marked=X.length>0&&X.some(e=>e.label),D.dragging=K,D.focusedThumbIndex=U;const ee=(e=>{const{disabled:t,dragging:o,marked:n,orientation:r,track:i,classes:a,color:s,size:l}=e;return am({root:["root",t&&"disabled",o&&"dragging",n&&"marked","vertical"===r&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse",s&&`color${Ed(s)}`,l&&`size${Ed(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${Ed(l)}`,s&&`thumbColor${Ed(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},NE,a)})(D),te=R?.root??p.Root??IE,oe=R?.rail??p.Rail??AE,ne=R?.track??p.Track??BE,re=R?.thumb??p.Thumb??LE,ie=R?.valueLabel??p.ValueLabel??DE,ae=R?.mark??p.Mark??zE,se=R?.markLabel??p.MarkLabel??VE,le=R?.input??p.Input??"input",ce=N?.root??d.root,pe=N?.rail??d.rail,de=N?.track??d.track,ue=N?.thumb??d.thumb,fe=N?.valueLabel??d.valueLabel,me=N?.mark??d.mark,he=N?.markLabel??d.markLabel,ge=N?.input??d.input,ye=Hv({elementType:te,getSlotProps:V,externalSlotProps:ce,externalForwardedProps:L,additionalProps:{...(be=te,(!be||!Mg(be))&&{as:c})},ownerState:{...D,...ce?.ownerState},className:[ee.root,m]});var be;const ve=Hv({elementType:oe,externalSlotProps:pe,ownerState:D,className:ee.rail}),xe=Hv({elementType:ne,externalSlotProps:de,additionalProps:{style:{...z[q].offset(Z),...z[q].leap(J)}},ownerState:{...D,...de?.ownerState},className:ee.track}),we=Hv({elementType:re,getSlotProps:W,externalSlotProps:ue,ownerState:{...D,...ue?.ownerState},className:ee.thumb}),Se=Hv({elementType:ie,externalSlotProps:fe,ownerState:{...D,...fe?.ownerState},className:ee.valueLabel}),Te=Hv({elementType:ae,externalSlotProps:me,ownerState:D,className:ee.mark}),Oe=Hv({elementType:se,externalSlotProps:he,ownerState:D,className:ee.markLabel}),je=Hv({elementType:le,getSlotProps:F,externalSlotProps:ge,ownerState:D});return e.jsxs(te,{...ye,children:[e.jsx(oe,{...ve}),e.jsx(ne,{...xe}),X.filter(e=>e.value>=w&&e.value<=x).map((t,o)=>{const n=wE(t.value,w,x),r=z[q].offset(n);let i;return i=!1===$?Y.includes(t.value):"normal"===$&&(G?t.value>=Y[0]&&t.value<=Y[Y.length-1]:t.value<=Y[0])||"inverted"===$&&(G?t.value<=Y[0]||t.value>=Y[Y.length-1]:t.value>=Y[0]),e.jsxs(l.Fragment,{children:[e.jsx(ae,{"data-index":o,...Te,...!Mg(ae)&&{markActive:i},style:{...r,...Te.style},className:Ju(Te.className,i&&ee.markActive)}),null!=t.label?e.jsx(se,{"aria-hidden":!0,"data-index":o,...Oe,...!Mg(se)&&{markLabelActive:i},style:{...r,...Oe.style},className:Ju(ee.markLabel,Oe.className,i&&ee.markLabelActive),children:t.label}):null]},o)}),Y.map((t,o)=>{const n=wE(t,w,x),r=z[q].offset(n),l="off"===A?FE:ie;return e.jsx(l,{...!Mg(l)&&{valueLabelFormat:B,valueLabelDisplay:A,value:"function"==typeof B?B(P(t),o):B,index:o,open:_===o||H===o||"on"===A,disabled:g},...Se,children:e.jsx(re,{"data-index":o,...we,className:Ju(ee.thumb,we.className,H===o&&ee.active,U===o&&ee.focusVisible),style:{...r,...Q(o),...we.style},children:e.jsx(le,{"data-index":o,"aria-label":y?y(o):i,"aria-valuenow":P(t),"aria-labelledby":s,"aria-valuetext":b?b(P(t),o):a,value:Y[o],...je})})},o)})]})});function _E(e){return tf("MuiSnackbarContent",e)}"production"!==process.env.NODE_ENV&&(WE.propTypes={"aria-label":Gh(Kc.string,e=>Array.isArray(e.value||e.defaultValue)&&null!=e["aria-label"]?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":Kc.string,"aria-valuetext":Gh(Kc.string,e=>Array.isArray(e.value||e.defaultValue)&&null!=e["aria-valuetext"]?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["primary","secondary","error","info","success","warning"]),Kc.string]),components:Kc.shape({Input:Kc.elementType,Mark:Kc.elementType,MarkLabel:Kc.elementType,Rail:Kc.elementType,Root:Kc.elementType,Thumb:Kc.elementType,Track:Kc.elementType,ValueLabel:Kc.elementType}),componentsProps:Kc.shape({input:Kc.oneOfType([Kc.func,Kc.object]),mark:Kc.oneOfType([Kc.func,Kc.object]),markLabel:Kc.oneOfType([Kc.func,Kc.object]),rail:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),thumb:Kc.oneOfType([Kc.func,Kc.object]),track:Kc.oneOfType([Kc.func,Kc.object]),valueLabel:Kc.oneOfType([Kc.func,Kc.shape({children:Kc.element,className:Kc.string,open:Kc.bool,style:Kc.object,value:Kc.node,valueLabelDisplay:Kc.oneOf(["auto","off","on"])})])}),defaultValue:Kc.oneOfType([Kc.arrayOf(Kc.number),Kc.number]),disabled:Kc.bool,disableSwap:Kc.bool,getAriaLabel:Kc.func,getAriaValueText:Kc.func,marks:Kc.oneOfType([Kc.arrayOf(Kc.shape({label:Kc.node,value:Kc.number.isRequired})),Kc.bool]),max:Kc.number,min:Kc.number,name:Kc.string,onChange:Kc.func,onChangeCommitted:Kc.func,orientation:Kc.oneOf(["horizontal","vertical"]),scale:Kc.func,shiftStep:Kc.number,size:Kc.oneOfType([Kc.oneOf(["small","medium"]),Kc.string]),slotProps:Kc.shape({input:Kc.oneOfType([Kc.func,Kc.object]),mark:Kc.oneOfType([Kc.func,Kc.object]),markLabel:Kc.oneOfType([Kc.func,Kc.object]),rail:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),thumb:Kc.oneOfType([Kc.func,Kc.object]),track:Kc.oneOfType([Kc.func,Kc.object]),valueLabel:Kc.oneOfType([Kc.func,Kc.shape({children:Kc.element,className:Kc.string,open:Kc.bool,style:Kc.object,value:Kc.node,valueLabelDisplay:Kc.oneOf(["auto","off","on"])})])}),slots:Kc.shape({input:Kc.elementType,mark:Kc.elementType,markLabel:Kc.elementType,rail:Kc.elementType,root:Kc.elementType,thumb:Kc.elementType,track:Kc.elementType,valueLabel:Kc.elementType}),step:Kc.number,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),tabIndex:Kc.number,track:Kc.oneOf(["inverted","normal",!1]),value:Kc.oneOfType([Kc.arrayOf(Kc.number),Kc.number]),valueLabelDisplay:Kc.oneOf(["auto","off","on"]),valueLabelFormat:Kc.oneOfType([Kc.func,Kc.string])}),of("MuiSnackbarContent",["root","message","action"]);const HE=Eh(Yg,{name:"MuiSnackbarContent",slot:"Root"})(Rh(({theme:e})=>{const t="light"===e.palette.mode?.8:.98;return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(Af(e.palette.background.default,t)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:Af(e.palette.background.default,t),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),qE=Eh("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),UE=Eh("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),GE=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiSnackbarContent"}),{action:r,className:i,message:a,role:s="alert",...l}=n,c=n,p=(e=>{const{classes:t}=e;return am({root:["root"],action:["action"],message:["message"]},_E,t)})(c);return e.jsxs(HE,{role:s,elevation:6,className:Ju(p.root,i),ownerState:c,ref:o,...l,children:[e.jsx(qE,{className:p.message,ownerState:c,children:a}),r?e.jsx(UE,{className:p.action,ownerState:c,children:r}):null]})});function KE(e){return tf("MuiSnackbar",e)}"production"!==process.env.NODE_ENV&&(GE.propTypes={action:Kc.node,classes:Kc.object,className:Kc.string,message:Kc.node,role:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const XE=Eh("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`anchorOrigin${Ed(o.anchorOrigin.vertical)}${Ed(o.anchorOrigin.horizontal)}`]]}})(Rh(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical,style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:e})=>"top"!==e.anchorOrigin.vertical,style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:e})=>"left"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:e})=>"right"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:e})=>"center"===e.anchorOrigin.horizontal,style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),YE=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiSnackbar"}),r=jh(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:c}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:d,className:u,ClickAwayListenerProps:f,ContentProps:m,disableWindowBlurListener:h=!1,message:g,onBlur:y,onClose:b,onFocus:v,onMouseEnter:x,onMouseLeave:w,open:S,resumeHideDuration:T,slots:O={},slotProps:j={},TransitionComponent:C,transitionDuration:k=i,TransitionProps:{onEnter:E,onExited:P,...N}={},...R}=n,M={...n,anchorOrigin:{vertical:s,horizontal:c},autoHideDuration:p,disableWindowBlurListener:h,TransitionComponent:C,transitionDuration:k},$=(e=>{const{classes:t,anchorOrigin:o}=e;return am({root:["root",`anchorOrigin${Ed(o.vertical)}${Ed(o.horizontal)}`]},KE,t)})(M),{getRootProps:I,onClickAway:A}=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:o=!1,onClose:n,open:r,resumeHideDuration:i}=e,a=Eg();l.useEffect(()=>{if(r)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"===e.key&&n?.(e,"escapeKeyDown")}},[r,n]);const s=Hh((e,t)=>{n?.(e,t)}),c=Hh(e=>{n&&null!=e&&a.start(e,()=>{s(null,"timeout")})});l.useEffect(()=>(r&&c(t),a.clear),[r,t,c,a]);const p=a.clear,d=l.useCallback(()=>{null!=t&&c(null!=i?i:.5*t)},[t,i,c]),u=e=>t=>{const o=e.onFocus;o?.(t),p()},f=e=>t=>{const o=e.onMouseEnter;o?.(t),p()},m=e=>t=>{const o=e.onMouseLeave;o?.(t),d()};return l.useEffect(()=>{if(!o&&r)return window.addEventListener("focus",d),window.addEventListener("blur",p),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",p)}},[o,r,d,p]),{getRootProps:(t={})=>{const o={...Ag(e),...Ag(t)};return{role:"presentation",...t,...o,onBlur:(n=o,e=>{const t=n.onBlur;t?.(e),d()}),onFocus:u(o),onMouseEnter:f(o),onMouseLeave:m(o)};var n},onClickAway:e=>{n?.(e,"clickaway")}}}(M),[B,L]=l.useState(!0),D={slots:{transition:C,...O},slotProps:{content:m,clickAwayListener:f,transition:N,...j}},[z,V]=Dg("root",{ref:o,className:[$.root,u],elementType:XE,getSlotProps:I,externalForwardedProps:{...D,...R},ownerState:M}),[F,{ownerState:W,..._}]=Dg("clickAwayListener",{elementType:KS,externalForwardedProps:D,getSlotProps:e=>({onClickAway:(...t)=>{const o=t[0];e.onClickAway?.(...t),o?.defaultMuiPrevented||A(...t)}}),ownerState:M}),[H,q]=Dg("content",{elementType:GE,shouldForwardComponentProp:!0,externalForwardedProps:D,additionalProps:{message:g,action:a},ownerState:M}),[U,G]=Dg("transition",{elementType:zO,externalForwardedProps:D,getSlotProps:e=>({onEnter:(...t)=>{e.onEnter?.(...t),((e,t)=>{L(!1),E&&E(e,t)})(...t)},onExited:(...t)=>{e.onExited?.(...t),(e=>{L(!0),P&&P(e)})(...t)}}),additionalProps:{appear:!0,in:S,timeout:k,direction:"top"===s?"down":"up"},ownerState:M});return!S&&B?null:e.jsx(F,{..._,...O.clickAwayListener&&{ownerState:W},children:e.jsx(z,{...V,children:e.jsx(U,{...G,children:d||e.jsx(H,{...q})})})})});"production"!==process.env.NODE_ENV&&(YE.propTypes={action:Kc.node,anchorOrigin:Kc.shape({horizontal:Kc.oneOf(["center","left","right"]).isRequired,vertical:Kc.oneOf(["bottom","top"]).isRequired}),autoHideDuration:Kc.number,children:Kc.element,classes:Kc.object,className:Kc.string,ClickAwayListenerProps:Kc.object,ContentProps:Kc.object,disableWindowBlurListener:Kc.bool,key:()=>null,message:Kc.node,onBlur:Kc.func,onClose:Kc.func,onFocus:Kc.func,onMouseEnter:Kc.func,onMouseLeave:Kc.func,open:Kc.bool,resumeHideDuration:Kc.number,slotProps:Kc.shape({clickAwayListener:Kc.oneOfType([Kc.func,Kc.object]),content:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({clickAwayListener:Kc.elementType,content:Kc.elementType,root:Kc.elementType,transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),TransitionComponent:Kc.elementType,transitionDuration:Kc.oneOfType([Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})]),TransitionProps:Kc.object});const ZE={entering:{transform:"none"},entered:{transform:"none"}},JE=l.forwardRef(function(t,o){const n=jh(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:c,in:p,onEnter:d,onEntered:u,onEntering:f,onExit:m,onExited:h,onExiting:g,style:y,timeout:b=r,TransitionComponent:v=sg,...x}=t,w=l.useRef(null),S=qh(w,qv(s),o),T=e=>t=>{if(e){const o=w.current;void 0===t?e(o):e(o,t)}},O=T(f),j=T((e,t)=>{Ng(e);const o=Rg({style:y,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("transform",o),e.style.transition=n.transitions.create("transform",o),d&&d(e,t)}),C=T(u),k=T(g),E=T(e=>{const t=Rg({style:y,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("transform",t),e.style.transition=n.transitions.create("transform",t),m&&m(e)}),P=T(h);return e.jsx(v,{appear:a,in:p,nodeRef:w,onEnter:j,onEntered:C,onEntering:O,onExit:E,onExited:P,onExiting:k,addEndListener:e=>{i&&i(w.current,e)},timeout:b,...x,children:(e,{ownerState:t,...o})=>l.cloneElement(s,{style:{transform:"scale(0)",visibility:"exited"!==e||p?void 0:"hidden",...ZE[e],...y,...s.props.style},ref:S,...o})})});function QE(e){return tf("MuiSpeedDial",e)}"production"!==process.env.NODE_ENV&&(JE.propTypes={addEndListener:Kc.func,appear:Kc.bool,children:dw.isRequired,easing:Kc.oneOfType([Kc.shape({enter:Kc.string,exit:Kc.string}),Kc.string]),in:Kc.bool,onEnter:Kc.func,onEntered:Kc.func,onEntering:Kc.func,onExit:Kc.func,onExited:Kc.func,onExiting:Kc.func,style:Kc.object,timeout:Kc.oneOfType([Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})])});const eP=of("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]);function tP(e){return"up"===e||"down"===e?"vertical":"right"===e||"left"===e?"horizontal":void 0}const oP=Eh("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`direction${Ed(o.direction)}`]]}})(Rh(({theme:e})=>({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none",variants:[{props:{direction:"up"},style:{flexDirection:"column-reverse",[`& .${eP.actions}`]:{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}}},{props:{direction:"down"},style:{flexDirection:"column",[`& .${eP.actions}`]:{flexDirection:"column",marginTop:-32,paddingTop:48}}},{props:{direction:"left"},style:{flexDirection:"row-reverse",[`& .${eP.actions}`]:{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}}},{props:{direction:"right"},style:{flexDirection:"row",[`& .${eP.actions}`]:{flexDirection:"row",marginLeft:-32,paddingLeft:48}}}]}))),nP=Eh(tO,{name:"MuiSpeedDial",slot:"Fab"})({pointerEvents:"auto"}),rP=Eh("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.actions,!o.open&&t.actionsClosed]}})({display:"flex",pointerEvents:"auto",variants:[{props:({ownerState:e})=>!e.open,style:{transition:"top 0s linear 0.2s",pointerEvents:"none"}}]}),iP=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiSpeedDial"}),r=jh(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{ariaLabel:a,FabProps:{ref:s,...c}={},children:p,className:d,direction:u="up",hidden:f=!1,icon:m,onBlur:h,onClose:g,onFocus:y,onKeyDown:b,onMouseEnter:v,onMouseLeave:x,onOpen:w,open:S,openIcon:T,slots:O={},slotProps:j={},TransitionComponent:C,TransitionProps:k,transitionDuration:E=i,...P}=n,[N,R]=_h({controlled:S,default:!1,name:"SpeedDial",state:"open"}),M={...n,open:N,direction:u},$=(e=>{const{classes:t,open:o,direction:n}=e;return am({root:["root",`direction${Ed(n)}`],fab:["fab"],actions:["actions",!o&&"actionsClosed"]},QE,t)})(M),I=Eg(),A=l.useRef(0),B=l.useRef(),L=l.useRef([]);L.current=[L.current[0]];const D=qh(s,l.useCallback(e=>{L.current[0]=e},[])),z=(e,t,o)=>n=>{L.current[e+1]=n,t&&t(n),o&&o(n)};l.useEffect(()=>{N||(A.current=0,B.current=void 0)},[N]);const V=e=>{"mouseleave"===e.type&&x&&x(e),"blur"===e.type&&h&&h(e),I.clear(),"blur"===e.type?I.start(0,()=>{R(!1),g&&g(e,"blur")}):(R(!1),g&&g(e,"mouseLeave"))},F=e=>{"mouseenter"===e.type&&v&&v(e),"focus"===e.type&&y&&y(e),I.clear(),N||I.start(0,()=>{R(!0),w&&w(e,{focus:"focus",mouseenter:"mouseEnter"}[e.type])})},W=a.replace(/^[^a-z]+|[^\w:.-]+/gi,""),_=l.Children.toArray(p).filter(e=>("production"!==process.env.NODE_ENV&&Kp.isFragment(e),l.isValidElement(e))),H=_.map((e,t)=>{const{FabProps:{ref:o}={},slotProps:n={},tooltipPlacement:r}=e.props,{fab:{ref:i,...a}={},...s}=n,c=r||("vertical"===tP(u)?"left":"top");return l.cloneElement(e,{slotProps:{fab:{...a,ref:z(t,o,i)},...s},delay:30*(N?t:_.length-t),open:N,tooltipPlacement:c,id:`${W}-action-${t}`})}),q={slots:{transition:C,...O},slotProps:{transition:k,...j}},[U,G]=Dg("root",{elementType:oP,externalForwardedProps:{...q,...P},ownerState:M,ref:o,className:Ju($.root,d),additionalProps:{role:"presentation"},getSlotProps:e=>({...e,onKeyDown:t=>{e.onKeyDown?.(t),(e=>{b&&b(e);const t=e.key.replace("Arrow","").toLowerCase(),{current:o=t}=B;if("Escape"===e.key)return R(!1),L.current[0].focus(),void(g&&g(e,"escapeKeyDown"));if(tP(t)===tP(o)&&void 0!==tP(t)){e.preventDefault();const n=t===o?1:-1,r=wf(A.current+n,0,L.current.length-1);L.current[r].focus(),A.current=r,B.current=o}})(t)},onBlur:t=>{e.onBlur?.(t),V(t)},onFocus:t=>{e.onFocus?.(t),F(t)},onMouseEnter:t=>{e.onMouseEnter?.(t),F(t)},onMouseLeave:t=>{e.onMouseLeave?.(t),V(t)}})}),[K,X]=Dg("transition",{elementType:JE,externalForwardedProps:q,ownerState:M});return e.jsxs(U,{...G,children:[e.jsx(K,{in:!f,timeout:E,unmountOnExit:!0,...X,children:e.jsx(nP,{color:"primary","aria-label":a,"aria-haspopup":"true","aria-expanded":N,"aria-controls":`${W}-actions`,...c,onClick:e=>{c.onClick&&c.onClick(e),I.clear(),N?(R(!1),g&&g(e,"toggle")):(R(!0),w&&w(e,"toggle"))},className:Ju($.fab,c.className),ref:D,ownerState:M,children:l.isValidElement(m)&&um(m,["SpeedDialIcon"])?l.cloneElement(m,{open:N}):m})}),e.jsx(rP,{id:`${W}-actions`,role:"menu","aria-orientation":tP(u),className:Ju($.actions,!N&&$.actionsClosed),ownerState:M,children:H})]})});function aP(e){return tf("MuiTooltip",e)}"production"!==process.env.NODE_ENV&&(iP.propTypes={ariaLabel:Kc.string.isRequired,children:Kc.node,classes:Kc.object,className:Kc.string,direction:Kc.oneOf(["down","left","right","up"]),FabProps:Kc.object,hidden:Kc.bool,icon:Kc.node,onBlur:Kc.func,onClose:Kc.func,onFocus:Kc.func,onKeyDown:Kc.func,onMouseEnter:Kc.func,onMouseLeave:Kc.func,onOpen:Kc.func,open:Kc.bool,openIcon:Kc.node,slotProps:Kc.shape({root:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({root:Kc.elementType,transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),TransitionComponent:Kc.elementType,transitionDuration:Kc.oneOfType([Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})]),TransitionProps:Kc.object});const sP=of("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),lP=Eh(ex,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.popper,!o.disableInteractive&&t.popperInteractive,o.arrow&&t.popperArrow,!o.open&&t.popperClose]}})(Rh(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${sP.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${sP.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${sP.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${sP.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${sP.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${sP.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${sP.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${sP.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),cP=Eh("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.tooltip,o.touch&&t.touch,o.arrow&&t.tooltipArrow,t[`tooltipPlacement${Ed(o.placement.split("-")[0])}`]]}})(Rh(({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(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,[`.${sP.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${sP.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${sP.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${sP.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5+"em"),fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${sP.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${sP.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${sP.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${sP.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${sP.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${sP.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${sP.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${sP.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${sP.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${sP.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t})),pP=Eh("span",{name:"MuiTooltip",slot:"Arrow"})(Rh(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let dP=!1;const uP=new kg;let fP={x:0,y:0};function mP(e,t){return(o,...n)=>{t&&t(o,...n),e(o,...n)}}const hP=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTooltip"}),{arrow:r=!1,children:i,classes:a,components:s={},componentsProps:c={},describeChild:p=!1,disableFocusListener:d=!1,disableHoverListener:u=!1,disableInteractive:f=!1,disableTouchListener:m=!1,enterDelay:h=100,enterNextDelay:g=0,enterTouchDelay:y=700,followCursor:b=!1,id:v,leaveDelay:x=0,leaveTouchDelay:w=1500,onClose:S,onOpen:T,open:O,placement:j="bottom",PopperComponent:C,PopperProps:k={},slotProps:E={},slots:P={},title:N,TransitionComponent:R,TransitionProps:M,...$}=n,I=l.isValidElement(i)?i:e.jsx("span",{children:i}),A=jh(),B=qf(),[L,D]=l.useState(),[z,V]=l.useState(null),F=l.useRef(!1),W=f||b,_=Eg(),H=Eg(),q=Eg(),U=Eg(),[G,K]=_h({controlled:O,default:!1,name:"Tooltip",state:"open"});let X=G;if("production"!==process.env.NODE_ENV){const{current:e}=l.useRef(void 0!==O);l.useEffect(()=>{L&&L.disabled&&!e&&""!==N&&L.tagName.toLowerCase()},[N,L,e])}const Y=Yf(v),Z=l.useRef(),J=Hh(()=>{void 0!==Z.current&&(document.body.style.WebkitUserSelect=Z.current,Z.current=void 0),U.clear()});l.useEffect(()=>J,[J]);const Q=e=>{uP.clear(),dP=!0,K(!0),T&&!X&&T(e)},ee=Hh(e=>{uP.start(800+x,()=>{dP=!1}),K(!1),S&&X&&S(e),_.start(A.transitions.duration.shortest,()=>{F.current=!1})}),te=e=>{F.current&&"touchstart"!==e.type||(L&&L.removeAttribute("title"),H.clear(),q.clear(),h||dP&&g?H.start(dP?g:h,()=>{Q(e)}):Q(e))},oe=e=>{H.clear(),q.start(x,()=>{ee(e)})},[,ne]=l.useState(!1),re=e=>{dy(e.target)||(ne(!1),oe(e))},ie=e=>{L||D(e.currentTarget),dy(e.target)&&(ne(!0),te(e))},ae=e=>{F.current=!0;const t=I.props;t.onTouchStart&&t.onTouchStart(e)};l.useEffect(()=>{if(X)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&ee(e)}},[ee,X]);const se=qh(qv(I),D,o);N||0===N||(X=!1);const le=l.useRef(),ce={},pe="string"==typeof N;p?(ce.title=X||!pe||u?null:N,ce["aria-describedby"]=X?Y:null):(ce["aria-label"]=pe?N:null,ce["aria-labelledby"]=X&&!pe?Y:null);const de={...ce,...$,...I.props,className:Ju($.className,I.props.className),onTouchStart:ae,ref:se,...b?{onMouseMove:e=>{const t=I.props;t.onMouseMove&&t.onMouseMove(e),fP={x:e.clientX,y:e.clientY},le.current&&le.current.update()}}:{}};"production"!==process.env.NODE_ENV&&(de["data-mui-internal-clone-element"]=!0,l.useEffect(()=>{L&&L.getAttribute("data-mui-internal-clone-element")},[L]));const ue={};m||(de.onTouchStart=e=>{ae(e),q.clear(),_.clear(),J(),Z.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",U.start(y,()=>{document.body.style.WebkitUserSelect=Z.current,te(e)})},de.onTouchEnd=e=>{I.props.onTouchEnd&&I.props.onTouchEnd(e),J(),q.start(w,()=>{ee(e)})}),u||(de.onMouseOver=mP(te,de.onMouseOver),de.onMouseLeave=mP(oe,de.onMouseLeave),W||(ue.onMouseOver=te,ue.onMouseLeave=oe)),d||(de.onFocus=mP(ie,de.onFocus),de.onBlur=mP(re,de.onBlur),W||(ue.onFocus=ie,ue.onBlur=re)),"production"!==process.env.NODE_ENV&&I.props.title;const fe={...n,isRtl:B,arrow:r,disableInteractive:W,placement:j,PopperComponentProp:C,touch:F.current},me="function"==typeof E.popper?E.popper(fe):E.popper,he=l.useMemo(()=>{let e=[{name:"arrow",enabled:Boolean(z),options:{element:z,padding:4}}];return k.popperOptions?.modifiers&&(e=e.concat(k.popperOptions.modifiers)),me?.popperOptions?.modifiers&&(e=e.concat(me.popperOptions.modifiers)),{...k.popperOptions,...me?.popperOptions,modifiers:e}},[z,k.popperOptions,me?.popperOptions]),ge=(e=>{const{classes:t,disableInteractive:o,arrow:n,touch:r,placement:i}=e;return am({popper:["popper",!o&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",r&&"touch",`tooltipPlacement${Ed(i.split("-")[0])}`],arrow:["arrow"]},aP,t)})(fe),ye="function"==typeof E.transition?E.transition(fe):E.transition,be={slots:{popper:s.Popper,transition:s.Transition??R,tooltip:s.Tooltip,arrow:s.Arrow,...P},slotProps:{arrow:E.arrow??c.arrow,popper:{...k,...me??c.popper},tooltip:E.tooltip??c.tooltip,transition:{...M,...ye??c.transition}}},[ve,xe]=Dg("popper",{elementType:lP,externalForwardedProps:be,ownerState:fe,className:Ju(ge.popper,k?.className)}),[we,Se]=Dg("transition",{elementType:zO,externalForwardedProps:be,ownerState:fe}),[Te,Oe]=Dg("tooltip",{elementType:cP,className:ge.tooltip,externalForwardedProps:be,ownerState:fe}),[je,Ce]=Dg("arrow",{elementType:pP,className:ge.arrow,externalForwardedProps:be,ownerState:fe,ref:V});return e.jsxs(l.Fragment,{children:[l.cloneElement(I,de),e.jsx(ve,{as:C??ex,placement:j,anchorEl:b?{getBoundingClientRect:()=>({top:fP.y,left:fP.x,right:fP.x,bottom:fP.y,width:0,height:0})}:L,popperRef:le,open:!!L&&X,id:Y,transition:!0,...ue,...xe,popperOptions:he,children:({TransitionProps:t})=>e.jsx(we,{timeout:A.transitions.duration.shorter,...t,...Se,children:e.jsxs(Te,{...Oe,children:[N,r?e.jsx(je,{...Ce}):null]})})})]})});function gP(e){return tf("MuiSpeedDialAction",e)}"production"!==process.env.NODE_ENV&&(hP.propTypes={arrow:Kc.bool,children:dw.isRequired,classes:Kc.object,className:Kc.string,components:Kc.shape({Arrow:Kc.elementType,Popper:Kc.elementType,Tooltip:Kc.elementType,Transition:Kc.elementType}),componentsProps:Kc.shape({arrow:Kc.object,popper:Kc.object,tooltip:Kc.object,transition:Kc.object}),describeChild:Kc.bool,disableFocusListener:Kc.bool,disableHoverListener:Kc.bool,disableInteractive:Kc.bool,disableTouchListener:Kc.bool,enterDelay:Kc.number,enterNextDelay:Kc.number,enterTouchDelay:Kc.number,followCursor:Kc.bool,id:Kc.string,leaveDelay:Kc.number,leaveTouchDelay:Kc.number,onClose:Kc.func,onOpen:Kc.func,open:Kc.bool,placement:Kc.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:Kc.elementType,PopperProps:Kc.object,slotProps:Kc.shape({arrow:Kc.oneOfType([Kc.func,Kc.object]),popper:Kc.oneOfType([Kc.func,Kc.object]),tooltip:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({arrow:Kc.elementType,popper:Kc.elementType,tooltip:Kc.elementType,transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),title:Kc.node,TransitionComponent:Kc.elementType,TransitionProps:Kc.object});const yP=of("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]),bP=Eh(tO,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.fab,!o.open&&t.fabClosed]}})(Rh(({theme:e})=>({margin:8,color:(e.vars||e).palette.text.secondary,backgroundColor:(e.vars||e).palette.background.paper,"&:hover":{backgroundColor:e.vars?e.vars.palette.SpeedDialAction.fabHoverBg:Af(e.palette.background.paper,.15)},transition:`${e.transitions.create("transform",{duration:e.transitions.duration.shorter})}, opacity 0.8s`,opacity:1,variants:[{props:({ownerState:e})=>!e.open,style:{opacity:0,transform:"scale(0)"}}]}))),vP=Eh("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.staticTooltip,!o.open&&t.staticTooltipClosed,t[`tooltipPlacement${Ed(o.tooltipPlacement)}`]]}})(Rh(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",[`& .${yP.staticTooltipLabel}`]:{transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1},variants:[{props:({ownerState:e})=>!e.open,style:{[`& .${yP.staticTooltipLabel}`]:{opacity:0,transform:"scale(0.5)"}}},{props:{tooltipPlacement:"left"},style:{[`& .${yP.staticTooltipLabel}`]:{transformOrigin:"100% 50%",right:"100%",marginRight:8}}},{props:{tooltipPlacement:"right"},style:{[`& .${yP.staticTooltipLabel}`]:{transformOrigin:"0% 50%",left:"100%",marginLeft:8}}}]}))),xP=Eh("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel"})(Rh(({theme:e})=>({position:"absolute",...e.typography.body1,backgroundColor:(e.vars||e).palette.background.paper,borderRadius:(e.vars||e).shape.borderRadius,boxShadow:(e.vars||e).shadows[1],color:(e.vars||e).palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"}))),wP=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiSpeedDialAction"}),{className:r,delay:i=0,FabProps:a={},icon:s,id:c,open:p,TooltipClasses:d,tooltipOpen:u=!1,tooltipPlacement:f="left",tooltipTitle:m,slots:h={},slotProps:g={},...y}=n,b={...n,tooltipPlacement:f},v=(e=>{const{open:t,tooltipPlacement:o,classes:n}=e;return am({fab:["fab",!t&&"fabClosed"],staticTooltip:["staticTooltip",`tooltipPlacement${Ed(o)}`,!t&&"staticTooltipClosed"],staticTooltipLabel:["staticTooltipLabel"]},gP,n)})(b),x={slots:h,slotProps:{fab:a,...g,tooltip:Uh("function"==typeof g.tooltip?g.tooltip(b):g.tooltip,{title:m,open:u,placement:f,classes:d})}},[w,S]=l.useState(x.slotProps.tooltip?.open),T={transitionDelay:`${i}ms`},[O,j]=Dg("fab",{elementType:bP,externalForwardedProps:x,ownerState:b,shouldForwardComponentProp:!0,className:Ju(v.fab,r),additionalProps:{style:T,tabIndex:-1,role:"menuitem",size:"small"}}),[C,k]=Dg("tooltip",{elementType:hP,externalForwardedProps:x,shouldForwardComponentProp:!0,ref:o,additionalProps:{id:c},ownerState:b,getSlotProps:e=>({...e,onClose:t=>{e.onClose?.(t),S(!1)},onOpen:t=>{e.onOpen?.(t),S(!0)}})}),[E,P]=Dg("staticTooltip",{elementType:vP,externalForwardedProps:x,ownerState:b,ref:o,className:v.staticTooltip,additionalProps:{id:c}}),[N,R]=Dg("staticTooltipLabel",{elementType:xP,externalForwardedProps:x,ownerState:b,className:v.staticTooltipLabel,additionalProps:{style:T,id:`${c}-label`}}),M=e.jsx(O,{...j,children:s});return k.open?e.jsxs(E,{...P,...y,children:[e.jsx(N,{...R,children:k.title}),l.cloneElement(M,{"aria-labelledby":`${c}-label`})]}):(!p&&w&&S(!1),e.jsx(C,{...k,title:k.title,open:p&&w,placement:k.placement,classes:k.classes,...y,children:M}))});"production"!==process.env.NODE_ENV&&(wP.propTypes={classes:Kc.object,className:Kc.string,delay:Kc.number,FabProps:Kc.object,icon:Kc.node,id:Kc.string,open:Kc.bool,slotProps:Kc.shape({fab:Kc.oneOfType([Kc.func,Kc.object]),staticTooltip:Kc.oneOfType([Kc.func,Kc.object]),staticTooltipLabel:Kc.oneOfType([Kc.func,Kc.object]),tooltip:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({fab:Kc.elementType,staticTooltip:Kc.elementType,staticTooltipLabel:Kc.elementType,tooltip:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),TooltipClasses:Kc.object,tooltipOpen:Kc.bool,tooltipPlacement:Kc.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),tooltipTitle:Kc.node});var SP=Bh(e.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function TP(e){return tf("MuiSpeedDialIcon",e)}const OP=of("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),jP=Eh("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${OP.icon}`]:t.icon},{[`& .${OP.icon}`]:o.open&&t.iconOpen},{[`& .${OP.icon}`]:o.open&&o.openIcon&&t.iconWithOpenIconOpen},{[`& .${OP.openIcon}`]:t.openIcon},{[`& .${OP.openIcon}`]:o.open&&t.openIconOpen},t.root]}})(Rh(({theme:e})=>({height:24,[`& .${OP.icon}`]:{transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short})},[`& .${OP.openIcon}`]:{position:"absolute",transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},variants:[{props:({ownerState:e})=>e.open,style:{[`& .${OP.icon}`]:{transform:"rotate(45deg)"}}},{props:({ownerState:e})=>e.open&&e.openIcon,style:{[`& .${OP.icon}`]:{opacity:0}}},{props:({ownerState:e})=>e.open,style:{[`& .${OP.openIcon}`]:{transform:"rotate(0deg)",opacity:1}}}]}))),CP=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiSpeedDialIcon"}),{className:r,icon:i,open:a,openIcon:s,...c}=n,p=n,d=(e=>{const{classes:t,open:o,openIcon:n}=e;return am({root:["root"],icon:["icon",o&&"iconOpen",n&&o&&"iconWithOpenIconOpen"],openIcon:["openIcon",o&&"openIconOpen"]},TP,t)})(p);function u(e,t){return l.isValidElement(e)?l.cloneElement(e,{className:t}):e}return e.jsxs(jP,{className:Ju(d.root,r),ref:o,ownerState:p,...c,children:[s?u(s,d.openIcon):null,i?u(i,d.icon):e.jsx(SP,{className:d.icon})]})});"production"!==process.env.NODE_ENV&&(CP.propTypes={classes:Kc.object,className:Kc.string,icon:Kc.node,open:Kc.bool,openIcon:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),CP.muiName="SpeedDialIcon";const kP=Vm({createStyledComponent:Eh("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>Mh({props:e,name:"MuiStack"})});"production"!==process.env.NODE_ENV&&(kP.propTypes={children:Kc.node,component:Kc.elementType,direction:Kc.oneOfType([Kc.oneOf(["column-reverse","column","row-reverse","row"]),Kc.arrayOf(Kc.oneOf(["column-reverse","column","row-reverse","row"])),Kc.object]),divider:Kc.node,spacing:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.string])),Kc.number,Kc.object,Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),useFlexGap:Kc.bool}),of("MuiStack",["root"]);const EP=l.createContext({});"production"!==process.env.NODE_ENV&&(EP.displayName="StepperContext");const PP=l.createContext({});function NP(e){return tf("MuiStep",e)}"production"!==process.env.NODE_ENV&&(PP.displayName="StepContext"),of("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const RP=Eh("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}]}),MP=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiStep"}),{active:r,children:i,className:a,component:s="div",completed:c,disabled:p,expanded:d=!1,index:u,last:f,...m}=n,{activeStep:h,connector:g,alternativeLabel:y,orientation:b,nonLinear:v}=l.useContext(EP);let[x=!1,w=!1,S=!1]=[r,c,p];h===u?x=void 0===r||r:!v&&h>u?w=void 0===c||c:!v&&h<u&&(S=void 0===p||p);const T=l.useMemo(()=>({index:u,last:f,expanded:d,icon:u+1,active:x,completed:w,disabled:S}),[u,f,d,x,w,S]),O={...n,active:x,orientation:b,alternativeLabel:y,completed:w,disabled:S,expanded:d,component:s},j=(e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:r}=e;return am({root:["root",o,n&&"alternativeLabel",r&&"completed"]},NP,t)})(O),C=e.jsxs(RP,{as:s,className:Ju(j.root,a),ref:o,ownerState:O,...m,children:[g&&y&&0!==u?g:null,i]});return e.jsx(PP.Provider,{value:T,children:g&&!y&&0!==u?e.jsxs(l.Fragment,{children:[g,C]}):C})});"production"!==process.env.NODE_ENV&&(MP.propTypes={active:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,completed:Kc.bool,component:Kc.elementType,disabled:Kc.bool,expanded:Kc.bool,index:Gg,last:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});var $P=Bh(e.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),IP=Bh(e.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function AP(e){return tf("MuiStepIcon",e)}const BP=of("MuiStepIcon",["root","active","completed","error","text"]);var LP;const DP=Eh(Ah,{name:"MuiStepIcon",slot:"Root"})(Rh(({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${BP.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${BP.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${BP.error}`]:{color:(e.vars||e).palette.error.main}}))),zP=Eh("text",{name:"MuiStepIcon",slot:"Text"})(Rh(({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),VP=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiStepIcon"}),{active:r=!1,className:i,completed:a=!1,error:s=!1,icon:l,...c}=n,p={...n,active:r,completed:a,error:s},d=(e=>{const{classes:t,active:o,completed:n,error:r}=e;return am({root:["root",o&&"active",n&&"completed",r&&"error"],text:["text"]},AP,t)})(p);if("number"==typeof l||"string"==typeof l){const t=Ju(i,d.root);return s?e.jsx(DP,{as:IP,className:t,ref:o,ownerState:p,...c}):a?e.jsx(DP,{as:$P,className:t,ref:o,ownerState:p,...c}):e.jsxs(DP,{className:t,ref:o,ownerState:p,...c,children:[LP||(LP=e.jsx("circle",{cx:"12",cy:"12",r:"12"})),e.jsx(zP,{className:d.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:p,children:l})]})}return l});function FP(e){return tf("MuiStepLabel",e)}"production"!==process.env.NODE_ENV&&(VP.propTypes={active:Kc.bool,classes:Kc.object,className:Kc.string,completed:Kc.bool,error:Kc.bool,icon:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const WP=of("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),_P=Eh("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})({display:"flex",alignItems:"center",[`&.${WP.alternativeLabel}`]:{flexDirection:"column"},[`&.${WP.disabled}`]:{cursor:"default"},variants:[{props:{orientation:"vertical"},style:{textAlign:"left",padding:"8px 0"}}]}),HP=Eh("span",{name:"MuiStepLabel",slot:"Label"})(Rh(({theme:e})=>({...e.typography.body2,display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${WP.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${WP.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${WP.alternativeLabel}`]:{marginTop:16},[`&.${WP.error}`]:{color:(e.vars||e).palette.error.main}}))),qP=Eh("span",{name:"MuiStepLabel",slot:"IconContainer"})({flexShrink:0,display:"flex",paddingRight:8,[`&.${WP.alternativeLabel}`]:{paddingRight:0}}),UP=Eh("span",{name:"MuiStepLabel",slot:"LabelContainer"})(Rh(({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${WP.alternativeLabel}`]:{textAlign:"center"}}))),GP=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiStepLabel"}),{children:r,className:i,componentsProps:a={},error:s=!1,icon:c,optional:p,slots:d={},slotProps:u={},StepIconComponent:f,StepIconProps:m,...h}=n,{alternativeLabel:g,orientation:y}=l.useContext(EP),{active:b,disabled:v,completed:x,icon:w}=l.useContext(PP),S=c||w;let T=f;S&&!T&&(T=VP);const O={...n,active:b,alternativeLabel:g,completed:x,disabled:v,error:s,orientation:y},j=(e=>{const{classes:t,orientation:o,active:n,completed:r,error:i,disabled:a,alternativeLabel:s}=e;return am({root:["root",o,i&&"error",a&&"disabled",s&&"alternativeLabel"],label:["label",n&&"active",r&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",r&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]},FP,t)})(O),C={slots:d,slotProps:{stepIcon:m,...a,...u}},[k,E]=Dg("root",{elementType:_P,externalForwardedProps:{...C,...h},ownerState:O,ref:o,className:Ju(j.root,i)}),[P,N]=Dg("label",{elementType:HP,externalForwardedProps:C,ownerState:O}),[R,M]=Dg("stepIcon",{elementType:T,externalForwardedProps:C,ownerState:O});return e.jsxs(k,{...E,children:[S||R?e.jsx(qP,{className:j.iconContainer,ownerState:O,children:e.jsx(R,{completed:x,active:b,error:s,icon:S,...M})}):null,e.jsxs(UP,{className:j.labelContainer,ownerState:O,children:[r?e.jsx(P,{...N,className:Ju(j.label,N?.className),children:r}):null,p]})]})});function KP(e){return tf("MuiStepButton",e)}"production"!==process.env.NODE_ENV&&(GP.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,componentsProps:Kc.shape({label:Kc.object}),error:Kc.bool,icon:Kc.node,optional:Kc.node,slotProps:Kc.shape({label:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),stepIcon:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({label:Kc.elementType,root:Kc.elementType,stepIcon:Kc.elementType}),StepIconComponent:Kc.elementType,StepIconProps:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),GP.muiName="StepLabel";const XP=of("MuiStepButton",["root","horizontal","vertical","touchRipple"]),YP=Eh(Oy,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${XP.touchRipple}`]:t.touchRipple},t.root,t[o.orientation]]}})({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box",[`& .${XP.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"},variants:[{props:{orientation:"vertical"},style:{justifyContent:"flex-start",padding:"8px",margin:"-8px"}}]}),ZP=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiStepButton"}),{children:r,className:i,icon:a,optional:s,...c}=n,{disabled:p,active:d}=l.useContext(PP),{orientation:u}=l.useContext(EP),f={...n,orientation:u},m=(e=>{const{classes:t,orientation:o}=e;return am({root:["root",o],touchRipple:["touchRipple"]},KP,t)})(f),h={icon:a,optional:s},g=um(r,["StepLabel"])?l.cloneElement(r,h):e.jsx(GP,{...h,children:r});return e.jsx(YP,{focusRipple:!0,disabled:p,TouchRippleProps:{className:m.touchRipple},className:Ju(m.root,i),ref:o,ownerState:f,"aria-current":d?"step":void 0,...c,children:g})});function JP(e){return tf("MuiStepConnector",e)}"production"!==process.env.NODE_ENV&&(ZP.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,icon:Kc.node,optional:Kc.node,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);const QP=Eh("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),eN=Eh("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${Ed(o.orientation)}`]]}})(Rh(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600];return{display:"block",borderColor:e.vars?e.vars.palette.StepConnector.border:t,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}})),tN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiStepConnector"}),{className:r,...i}=n,{alternativeLabel:a,orientation:s="horizontal"}=l.useContext(EP),{active:c,disabled:p,completed:d}=l.useContext(PP),u={...n,alternativeLabel:a,orientation:s,active:c,completed:d,disabled:p},f=(e=>{const{classes:t,orientation:o,alternativeLabel:n,active:r,completed:i,disabled:a}=e;return am({root:["root",o,n&&"alternativeLabel",r&&"active",i&&"completed",a&&"disabled"],line:["line",`line${Ed(o)}`]},JP,t)})(u);return e.jsx(QP,{className:Ju(f.root,r),ref:o,ownerState:u,...i,children:e.jsx(eN,{className:f.line,ownerState:u})})});function oN(e){return tf("MuiStepContent",e)}"production"!==process.env.NODE_ENV&&(tN.propTypes={classes:Kc.object,className:Kc.string,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiStepContent",["root","last","transition"]);const nN=Eh("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.last&&t.last]}})(Rh(({theme:e})=>({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:e.vars?`1px solid ${e.vars.palette.StepContent.border}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}`,variants:[{props:{last:!0},style:{borderLeft:"none"}}]}))),rN=Eh(_g,{name:"MuiStepContent",slot:"Transition"})({}),iN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiStepContent"}),{children:r,className:i,TransitionComponent:a=_g,transitionDuration:s="auto",TransitionProps:c,slots:p={},slotProps:d={},...u}=n,{orientation:f}=l.useContext(EP),{active:m,last:h,expanded:g}=l.useContext(PP),y={...n,last:h},b=(e=>{const{classes:t,last:o}=e;return am({root:["root",o&&"last"],transition:["transition"]},oN,t)})(y);process.env.NODE_ENV;let v=s;"auto"!==s||a.muiSupportAuto||(v=void 0);const x={slots:p,slotProps:{transition:c,...d}},[w,S]=Dg("transition",{elementType:rN,externalForwardedProps:x,ownerState:y,className:b.transition,additionalProps:{in:m||g,timeout:v,unmountOnExit:!0}});return e.jsx(nN,{className:Ju(b.root,i),ref:o,ownerState:y,...u,children:e.jsx(w,{as:a,...S,children:r})})});function aN(e){return tf("MuiStepper",e)}"production"!==process.env.NODE_ENV&&(iN.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,slotProps:Kc.shape({transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({transition:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),TransitionComponent:Kc.elementType,transitionDuration:Kc.oneOfType([Kc.oneOf(["auto"]),Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})]),TransitionProps:Kc.object}),of("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);const sN=Eh("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.nonLinear&&t.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),lN=e.jsx(tN,{}),cN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiStepper"}),{activeStep:r=0,alternativeLabel:i=!1,children:a,className:s,component:c="div",connector:p=lN,nonLinear:d=!1,orientation:u="horizontal",...f}=n,m={...n,nonLinear:d,alternativeLabel:i,orientation:u,component:c},h=(e=>{const{orientation:t,nonLinear:o,alternativeLabel:n,classes:r}=e;return am({root:["root",t,o&&"nonLinear",n&&"alternativeLabel"]},aN,r)})(m),g=l.Children.toArray(a).filter(Boolean),y=g.map((e,t)=>l.cloneElement(e,{index:t,last:t+1===g.length,...e.props})),b=l.useMemo(()=>({activeStep:r,alternativeLabel:i,connector:p,nonLinear:d,orientation:u}),[r,i,p,d,u]);return e.jsx(EP.Provider,{value:b,children:e.jsx(sN,{as:c,ownerState:m,className:Ju(h.root,s),ref:o,...f,children:y})})});"production"!==process.env.NODE_ENV&&(cN.propTypes={activeStep:Gg,alternativeLabel:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,connector:Kc.element,nonLinear:Kc.bool,orientation:Kc.oneOf(["horizontal","vertical"]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const pN=Eh("div",{name:"MuiSwipeArea",shouldForwardProp:kh})(Rh(({theme:e})=>({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1,variants:[{props:{anchor:"left"},style:{right:"auto"}},{props:{anchor:"right"},style:{left:"auto",right:0}},{props:{anchor:"top"},style:{bottom:"auto",right:0}},{props:{anchor:"bottom"},style:{top:"auto",bottom:0,right:0}}]}))),dN=l.forwardRef(function(t,o){const{anchor:n,classes:r={},className:i,width:a,style:s,...l}=t,c=t;return e.jsx(pN,{className:Ju("PrivateSwipeArea-root",r.root,r[`anchor${Ed(n)}`],i),ref:o,style:{[XT(n)?"width":"height"]:a,...s},ownerState:c,...l})});"production"!==process.env.NODE_ENV&&(dN.propTypes={anchor:Kc.oneOf(["left","top","right","bottom"]).isRequired,classes:Kc.object,className:Kc.string,style:Kc.object,width:Kc.number.isRequired});let uN=null;function fN(e,t,o){return"right"===e?o.body.offsetWidth-t[0].pageX:t[0].pageX}function mN(e,t,o){return"bottom"===e?o.innerHeight-t[0].clientY:t[0].clientY}function hN(e,t){return e?t.clientWidth:t.clientHeight}function gN(e,t,o,n){return Math.min(Math.max(o?t-e:n+t-e,0),n)}const yN="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),bN=l.forwardRef(function(t,o){const n=Mh({name:"MuiSwipeableDrawer",props:t}),r=jh(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:a="left",disableBackdropTransition:s=!1,disableDiscovery:p=!1,disableSwipeToOpen:d=yN,hideBackdrop:u,hysteresis:f=.52,allowSwipeInChildren:m=!1,minFlingVelocity:h=450,ModalProps:{BackdropProps:g,...y}={},onClose:b,onOpen:v,open:x=!1,PaperProps:w={},SwipeAreaProps:S,swipeAreaWidth:T=20,transitionDuration:O=i,variant:j="temporary",slots:C={},slotProps:k={},...E}=n,[P,N]=l.useState(!1),R=l.useRef({isSwiping:null}),M=l.useRef(),$=l.useRef(),I=l.useRef(),A=qh(w.ref,I),B=l.useRef(!1),L=l.useRef();xf(()=>{L.current=null},[x]);const D=l.useCallback((e,t={})=>{const{mode:o=null,changeTransition:n=!0}=t,i=YT(r,a),l=["right","bottom"].includes(i)?1:-1,c=XT(a),p=c?`translate(${l*e}px, 0)`:`translate(0, ${l*e}px)`,d=I.current.style;d.webkitTransform=p,d.transform=p;let f="";if(o&&(f=r.transitions.create("all",Rg({easing:void 0,style:void 0,timeout:O},{mode:o}))),n&&(d.webkitTransition=f,d.transition=f),!s&&!u){const t=$.current.style;t.opacity=1-e/hN(c,I.current),n&&(t.webkitTransition=f,t.transition=f)}},[a,s,u,r,O]),z=Hh(e=>{if(!B.current)return;if(uN=null,B.current=!1,c.flushSync(()=>{N(!1)}),!R.current.isSwiping)return void(R.current.isSwiping=null);R.current.isSwiping=null;const t=YT(r,a),o=XT(a);let n;n=o?fN(t,e.changedTouches,Dh(e.currentTarget)):mN(t,e.changedTouches,zh(e.currentTarget));const i=o?R.current.startX:R.current.startY,s=hN(o,I.current),l=gN(n,i,x,s),p=l/s;Math.abs(R.current.velocity)>h&&(L.current=1e3*Math.abs((s-l)/R.current.velocity)),x?R.current.velocity>h||p>f?b():D(0,{mode:"exit"}):R.current.velocity<-h||1-p>f?v():D(hN(o,I.current),{mode:"enter"})}),V=(e=!1)=>{if(!P){!e&&p&&m||c.flushSync(()=>{N(!0)});const t=XT(a);!x&&I.current&&D(hN(t,I.current)+(p?15:-20),{changeTransition:!1}),R.current.velocity=0,R.current.lastTime=null,R.current.lastTranslate=null,R.current.paperHit=!1,B.current=!0}},F=Hh(e=>{if(!I.current||!B.current)return;if(null!==uN&&uN!==R.current)return;V(!0);const t=YT(r,a),o=XT(a),n=fN(t,e.touches,Dh(e.currentTarget)),i=mN(t,e.touches,zh(e.currentTarget));if(x&&I.current.contains(e.target)&&null===uN){const t=function(e,t){const o=[];for(;e&&e!==t.parentElement;){const n=zh(t).getComputedStyle(e);"absolute"===n.getPropertyValue("position")||"hidden"===n.getPropertyValue("overflow-x")||(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&o.push(e),e=e.parentElement}return o}(e.target,I.current),r=function({domTreeShapes:e,start:t,current:o,anchor:n}){const r={x:"scrollLeft",y:"scrollTop"},i={x:"scrollWidth",y:"scrollHeight"},a={x:"clientWidth",y:"clientHeight"};return e.some(e=>{let s=o>=t;"top"!==n&&"left"!==n||(s=!s);const l="left"===n||"right"===n?"x":"y",c=Math.round(e[r[l]]),p=c>0,d=c+e[a[l]]<e[i[l]];return!!(s&&d||!s&&p)})}({domTreeShapes:t,start:o?R.current.startX:R.current.startY,current:o?n:i,anchor:a});if(r)return void(uN=!0);uN=R.current}if(null==R.current.isSwiping){const t=Math.abs(n-R.current.startX),r=Math.abs(i-R.current.startY),a=o?t>r&&t>3:r>t&&r>3;if(a&&e.cancelable&&e.preventDefault(),!0===a||(o?r>3:t>3)){if(R.current.isSwiping=a,!a)return void z(e);R.current.startX=n,R.current.startY=i,p||x||(o?R.current.startX-=20:R.current.startY-=20)}}if(!R.current.isSwiping)return;const s=hN(o,I.current);let l=o?R.current.startX:R.current.startY;x&&!R.current.paperHit&&(l=Math.min(l,s));const c=gN(o?n:i,l,x,s);if(x)if(R.current.paperHit)0===c&&(R.current.startX=n,R.current.startY=i);else{if(!(o?n<s:i<s))return;R.current.paperHit=!0,R.current.startX=n,R.current.startY=i}null===R.current.lastTranslate&&(R.current.lastTranslate=c,R.current.lastTime=performance.now()+1);const d=(c-R.current.lastTranslate)/(performance.now()-R.current.lastTime)*1e3;R.current.velocity=.4*R.current.velocity+.6*d,R.current.lastTranslate=c,R.current.lastTime=performance.now(),e.cancelable&&e.preventDefault(),D(c)}),W=Hh(e=>{if(e.defaultPrevented)return;if(e.defaultMuiPrevented)return;if(x&&(u||!$.current.contains(e.target))&&!I.current.contains(e.target))return;const t=YT(r,a),o=XT(a),n=fN(t,e.touches,Dh(e.currentTarget)),i=mN(t,e.touches,zh(e.currentTarget));if(!x){if(d||!(e.target===M.current||I.current?.contains(e.target)&&("function"==typeof m?m(e,M.current,I.current):m)))return;if(o){if(n>T)return}else if(i>T)return}e.defaultMuiPrevented=!0,uN=null,R.current.startX=n,R.current.startY=i,V()});l.useEffect(()=>{if("temporary"===j){const e=Dh(I.current);return e.addEventListener("touchstart",W),e.addEventListener("touchmove",F,{passive:!x}),e.addEventListener("touchend",z),()=>{e.removeEventListener("touchstart",W),e.removeEventListener("touchmove",F,{passive:!x}),e.removeEventListener("touchend",z)}}},[j,x,W,F,z]),l.useEffect(()=>()=>{uN===R.current&&(uN=null)},[]),l.useEffect(()=>{x||N(!1)},[x]);const[_,H]=Dg("swipeArea",{ref:M,elementType:dN,ownerState:n,externalForwardedProps:{slots:C,slotProps:{swipeArea:S,...k}},additionalProps:{width:T,anchor:a}});return e.jsxs(l.Fragment,{children:[e.jsx(ZT,{open:!("temporary"!==j||!P)||x,variant:j,ModalProps:{BackdropProps:{...g,ref:$},..."temporary"===j&&{keepMounted:!0},...y},hideBackdrop:u,anchor:a,transitionDuration:L.current||O,onClose:b,ref:o,slots:C,slotProps:{...k,backdrop:Uh(k.backdrop??g,{ref:$}),paper:Uh(k.paper??w,{style:{pointerEvents:"temporary"!==j||x||m?"":"none"},ref:A})},...E}),!d&&"temporary"===j&&e.jsx(qC,{children:e.jsx(_,{...H})})]})});function vN(e){return tf("MuiSwitch",e)}"production"!==process.env.NODE_ENV&&(bN.propTypes={allowSwipeInChildren:Kc.oneOfType([Kc.func,Kc.bool]),anchor:Kc.oneOf(["bottom","left","right","top"]),children:Kc.node,disableBackdropTransition:Kc.bool,disableDiscovery:Kc.bool,disableSwipeToOpen:Kc.bool,hideBackdrop:Kc.bool,hysteresis:Kc.number,minFlingVelocity:Kc.number,ModalProps:Kc.shape({BackdropProps:Kc.shape({component:Pg})}),onClose:Kc.func.isRequired,onOpen:Kc.func.isRequired,open:Kc.bool,PaperProps:Kc.shape({component:Pg,style:Kc.object}),slotProps:Kc.shape({backdrop:Kc.oneOfType([Kc.func,Kc.object]),docked:Kc.oneOfType([Kc.func,Kc.object]),paper:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),swipeArea:Kc.oneOfType([Kc.func,Kc.object]),transition:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({backdrop:Kc.elementType,docked:Kc.elementType,paper:Kc.elementType,root:Kc.elementType,swipeArea:Kc.elementType,transition:Kc.elementType}),SwipeAreaProps:Kc.object,swipeAreaWidth:Kc.number,transitionDuration:Kc.oneOfType([Kc.number,Kc.shape({appear:Kc.number,enter:Kc.number,exit:Kc.number})]),variant:Kc.oneOf(["permanent","persistent","temporary"])});const xN=of("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),wN=Eh("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.edge&&t[`edge${Ed(o.edge)}`],t[`size${Ed(o.size)}`]]}})({display:"inline-flex",width:58,height:38,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,[`& .${xN.thumb}`]:{width:16,height:16},[`& .${xN.switchBase}`]:{padding:4,[`&.${xN.checked}`]:{transform:"translateX(16px)"}}}}]}),SN=Eh(BS,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.switchBase,{[`& .${xN.input}`]:t.input},"default"!==o.color&&t[`color${Ed(o.color)}`]]}})(Rh(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${xN.checked}`]:{transform:"translateX(20px)"},[`&.${xN.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${xN.checked} + .${xN.track}`]:{opacity:.5},[`&.${xN.disabled} + .${xN.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${xN.input}`]:{left:"-100%",width:"300%"}})),Rh(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(My(["light"])).map(([t])=>({props:{color:t},style:{[`&.${xN.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${xN.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.55)}`}},[`&.${xN.checked} + .${xN.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),TN=Eh("span",{name:"MuiSwitch",slot:"Track"})(Rh(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),ON=Eh("span",{name:"MuiSwitch",slot:"Thumb"})(Rh(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),jN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiSwitch"}),{className:r,color:i="primary",edge:a=!1,size:s="medium",sx:l,slots:c={},slotProps:p={},...d}=n,u={...n,color:i,edge:a,size:s},f=(e=>{const{classes:t,edge:o,size:n,color:r,checked:i,disabled:a}=e,s=am({root:["root",o&&`edge${Ed(o)}`,`size${Ed(n)}`],switchBase:["switchBase",`color${Ed(r)}`,i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},vN,t);return{...t,...s}})(u),m={slots:c,slotProps:p},[h,g]=Dg("root",{className:Ju(f.root,r),elementType:wN,externalForwardedProps:m,ownerState:u,additionalProps:{sx:l}}),[y,b]=Dg("thumb",{className:f.thumb,elementType:ON,externalForwardedProps:m,ownerState:u}),v=e.jsx(y,{...b}),[x,w]=Dg("track",{className:f.track,elementType:TN,externalForwardedProps:m,ownerState:u});return e.jsxs(h,{...g,children:[e.jsx(SN,{type:"checkbox",icon:v,checkedIcon:v,ref:o,ownerState:u,...d,classes:{...f,root:f.switchBase},slots:{...c.switchBase&&{root:c.switchBase},...c.input&&{input:c.input}},slotProps:{...p.switchBase&&{root:"function"==typeof p.switchBase?p.switchBase(u):p.switchBase},input:{role:"switch"},...p.input&&{input:"function"==typeof p.input?p.input(u):p.input}}}),e.jsx(x,{...w})]})});function CN(e){return tf("MuiTab",e)}"production"!==process.env.NODE_ENV&&(jN.propTypes={checked:Kc.bool,checkedIcon:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["default","primary","secondary","error","info","success","warning"]),Kc.string]),defaultChecked:Kc.bool,disabled:Kc.bool,disableRipple:Kc.bool,edge:Kc.oneOf(["end","start",!1]),icon:Kc.node,id:Kc.string,inputProps:Kc.object,inputRef:py,onChange:Kc.func,required:Kc.bool,size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),slotProps:Kc.shape({input:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),switchBase:Kc.oneOfType([Kc.func,Kc.object]),thumb:Kc.oneOfType([Kc.func,Kc.object]),track:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({input:Kc.elementType,root:Kc.elementType,switchBase:Kc.elementType,thumb:Kc.elementType,track:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any});const kN=of("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),EN=Eh(Oy,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.label&&o.icon&&t.labelIcon,t[`textColor${Ed(o.textColor)}`],o.fullWidth&&t.fullWidth,o.wrapped&&t.wrapped,{[`& .${kN.iconWrapper}`]:t.iconWrapper},{[`& .${kN.icon}`]:t.icon}]}})(Rh(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&("top"===e.iconPosition||"bottom"===e.iconPosition),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&"top"!==e.iconPosition&&"bottom"!==e.iconPosition,style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"top"===t,style:{[`& > .${kN.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"bottom"===t,style:{[`& > .${kN.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"start"===t,style:{[`& > .${kN.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"end"===t,style:{[`& > .${kN.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${kN.selected}`]:{opacity:1},[`&.${kN.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${kN.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${kN.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${kN.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${kN.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),PN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTab"}),{className:r,disabled:i=!1,disableFocusRipple:a=!1,fullWidth:s,icon:c,iconPosition:p="top",indicator:d,label:u,onChange:f,onClick:m,onFocus:h,selected:g,selectionFollowsFocus:y,textColor:b="inherit",value:v,wrapped:x=!1,...w}=n,S={...n,disabled:i,disableFocusRipple:a,selected:g,icon:!!c,iconPosition:p,label:!!u,fullWidth:s,textColor:b,wrapped:x},T=(e=>{const{classes:t,textColor:o,fullWidth:n,wrapped:r,icon:i,label:a,selected:s,disabled:l}=e;return am({root:["root",i&&a&&"labelIcon",`textColor${Ed(o)}`,n&&"fullWidth",r&&"wrapped",s&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]},CN,t)})(S),O=c&&u&&l.isValidElement(c)?l.cloneElement(c,{className:Ju(T.icon,c.props.className)}):c;return e.jsxs(EN,{focusRipple:!a,className:Ju(T.root,r),ref:o,role:"tab","aria-selected":g,disabled:i,onClick:e=>{!g&&f&&f(e,v),m&&m(e)},onFocus:e=>{y&&!g&&f&&f(e,v),h&&h(e)},ownerState:S,tabIndex:g?0:-1,...w,children:["top"===p||"start"===p?e.jsxs(l.Fragment,{children:[O,u]}):e.jsxs(l.Fragment,{children:[u,O]}),d]})});"production"!==process.env.NODE_ENV&&(PN.propTypes={children:Wh,classes:Kc.object,className:Kc.string,disabled:Kc.bool,disableFocusRipple:Kc.bool,disableRipple:Kc.bool,icon:Kc.oneOfType([Kc.element,Kc.string]),iconPosition:Kc.oneOf(["bottom","end","start","top"]),label:Kc.node,onChange:Kc.func,onClick:Kc.func,onFocus:Kc.func,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any,wrapped:Kc.bool});const NN=l.createContext();function RN(e){return tf("MuiTable",e)}"production"!==process.env.NODE_ENV&&(NN.displayName="TableContext"),of("MuiTable",["root","stickyHeader"]);const MN=Eh("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.stickyHeader&&t.stickyHeader]}})(Rh(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:e})=>e.stickyHeader,style:{borderCollapse:"separate"}}]}))),$N="table",IN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTable"}),{className:r,component:i=$N,padding:a="normal",size:s="medium",stickyHeader:c=!1,...p}=n,d={...n,component:i,padding:a,size:s,stickyHeader:c},u=(e=>{const{classes:t,stickyHeader:o}=e;return am({root:["root",o&&"stickyHeader"]},RN,t)})(d),f=l.useMemo(()=>({padding:a,size:s,stickyHeader:c}),[a,s,c]);return e.jsx(NN.Provider,{value:f,children:e.jsx(MN,{as:i,role:i===$N?null:"table",ref:o,className:Ju(u.root,r),ownerState:d,...p})})});"production"!==process.env.NODE_ENV&&(IN.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,padding:Kc.oneOf(["checkbox","none","normal"]),size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),stickyHeader:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const AN=l.createContext();function BN(e){return tf("MuiTableBody",e)}"production"!==process.env.NODE_ENV&&(AN.displayName="Tablelvl2Context"),of("MuiTableBody",["root"]);const LN=Eh("tbody",{name:"MuiTableBody",slot:"Root"})({display:"table-row-group"}),DN={variant:"body"},zN="tbody",VN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTableBody"}),{className:r,component:i=zN,...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return am({root:["root"]},BN,t)})(s);return e.jsx(AN.Provider,{value:DN,children:e.jsx(LN,{className:Ju(l.root,r),as:i,ref:o,role:i===zN?null:"rowgroup",ownerState:s,...a})})});function FN(e){return tf("MuiTableCell",e)}"production"!==process.env.NODE_ENV&&(VN.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const WN=of("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),_N=Eh("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`size${Ed(o.size)}`],"normal"!==o.padding&&t[`padding${Ed(o.padding)}`],"inherit"!==o.align&&t[`align${Ed(o.align)}`],o.stickyHeader&&t.stickyHeader]}})(Rh(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?e.lighten(e.alpha(e.palette.divider,1),.88):e.darken(e.alpha(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${WN.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),HN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTableCell"}),{align:r="inherit",className:i,component:a,padding:s,scope:c,size:p,sortDirection:d,variant:u,...f}=n,m=l.useContext(NN),h=l.useContext(AN),g=h&&"head"===h.variant;let y;y=a||(g?"th":"td");let b=c;"td"===y?b=void 0:!b&&g&&(b="col");const v=u||h&&h.variant,x={...n,align:r,component:y,padding:s||(m&&m.padding?m.padding:"normal"),size:p||(m&&m.size?m.size:"medium"),sortDirection:d,stickyHeader:"head"===v&&m&&m.stickyHeader,variant:v},w=(e=>{const{classes:t,variant:o,align:n,padding:r,size:i,stickyHeader:a}=e;return am({root:["root",o,a&&"stickyHeader","inherit"!==n&&`align${Ed(n)}`,"normal"!==r&&`padding${Ed(r)}`,`size${Ed(i)}`]},FN,t)})(x);let S=null;return d&&(S="asc"===d?"ascending":"descending"),e.jsx(_N,{as:y,ref:o,className:Ju(w.root,i),"aria-sort":S,scope:b,ownerState:x,...f})});function qN(e){return tf("MuiTableContainer",e)}"production"!==process.env.NODE_ENV&&(HN.propTypes={align:Kc.oneOf(["center","inherit","justify","left","right"]),children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,padding:Kc.oneOf(["checkbox","none","normal"]),scope:Kc.string,size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),sortDirection:Kc.oneOf(["asc","desc",!1]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["body","footer","head"]),Kc.string])}),of("MuiTableContainer",["root"]);const UN=Eh("div",{name:"MuiTableContainer",slot:"Root"})({width:"100%",overflowX:"auto"}),GN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTableContainer"}),{className:r,component:i="div",...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return am({root:["root"]},qN,t)})(s);return e.jsx(UN,{ref:o,as:i,className:Ju(l.root,r),ownerState:s,...a})});function KN(e){return tf("MuiTableFooter",e)}"production"!==process.env.NODE_ENV&&(GN.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiTableFooter",["root"]);const XN=Eh("tfoot",{name:"MuiTableFooter",slot:"Root"})({display:"table-footer-group"}),YN={variant:"footer"},ZN="tfoot",JN=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTableFooter"}),{className:r,component:i=ZN,...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return am({root:["root"]},KN,t)})(s);return e.jsx(AN.Provider,{value:YN,children:e.jsx(XN,{as:i,className:Ju(l.root,r),ref:o,role:i===ZN?null:"rowgroup",ownerState:s,...a})})});function QN(e){return tf("MuiTableHead",e)}"production"!==process.env.NODE_ENV&&(JN.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiTableHead",["root"]);const eR=Eh("thead",{name:"MuiTableHead",slot:"Root"})({display:"table-header-group"}),tR={variant:"head"},oR="thead",nR=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTableHead"}),{className:r,component:i=oR,...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return am({root:["root"]},QN,t)})(s);return e.jsx(AN.Provider,{value:tR,children:e.jsx(eR,{as:i,className:Ju(l.root,r),ref:o,role:i===oR?null:"rowgroup",ownerState:s,...a})})});function rR(e){return tf("MuiToolbar",e)}"production"!==process.env.NODE_ENV&&(nR.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])}),of("MuiToolbar",["root","gutters","regular","dense"]);const iR=Eh("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableGutters&&t.gutters,t[o.variant]]}})(Rh(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),aR=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiToolbar"}),{className:r,component:i="div",disableGutters:a=!1,variant:s="regular",...l}=n,c={...n,component:i,disableGutters:a,variant:s},p=(e=>{const{classes:t,disableGutters:o,variant:n}=e;return am({root:["root",!o&&"gutters",n]},rR,t)})(c);return e.jsx(iR,{as:i,className:Ju(p.root,r),ref:o,ownerState:c,...l})});"production"!==process.env.NODE_ENV&&(aR.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,disableGutters:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),variant:Kc.oneOfType([Kc.oneOf(["dense","regular"]),Kc.string])});var sR=Bh(e.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),lR=Bh(e.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function cR(e){return tf("MuiTablePaginationActions",e)}of("MuiTablePaginationActions",["root"]);const pR=Eh("div",{name:"MuiTablePaginationActions",slot:"Root"})({}),dR=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTablePaginationActions"}),{backIconButtonProps:r,className:i,count:a,disabled:s=!1,getItemAriaLabel:l,nextIconButtonProps:c,onPageChange:p,page:d,rowsPerPage:u,showFirstButton:f,showLastButton:m,slots:h={},slotProps:g={},...y}=n,b=qf(),v=(e=>{const{classes:t}=e;return am({root:["root"]},cR,t)})(n),x=h.firstButton??Yy,w=h.lastButton??Yy,S=h.nextButton??Yy,T=h.previousButton??Yy,O=h.firstButtonIcon??nk,j=h.lastButtonIcon??rk,C=h.nextButtonIcon??lR,k=h.previousButtonIcon??sR,E=b?w:x,P=b?S:T,N=b?T:S,R=b?x:w,M=b?g.lastButton:g.firstButton,$=b?g.nextButton:g.previousButton,I=b?g.previousButton:g.nextButton,A=b?g.firstButton:g.lastButton;return e.jsxs(pR,{ref:o,className:Ju(v.root,i),...y,children:[f&&e.jsx(E,{onClick:e=>{p(e,0)},disabled:s||0===d,"aria-label":l("first",d),title:l("first",d),...M,children:b?e.jsx(j,{...g.lastButtonIcon}):e.jsx(O,{...g.firstButtonIcon})}),e.jsx(P,{onClick:e=>{p(e,d-1)},disabled:s||0===d,color:"inherit","aria-label":l("previous",d),title:l("previous",d),...$??r,children:b?e.jsx(C,{...g.nextButtonIcon}):e.jsx(k,{...g.previousButtonIcon})}),e.jsx(N,{onClick:e=>{p(e,d+1)},disabled:s||-1!==a&&d>=Math.ceil(a/u)-1,color:"inherit","aria-label":l("next",d),title:l("next",d),...I??c,children:b?e.jsx(k,{...g.previousButtonIcon}):e.jsx(C,{...g.nextButtonIcon})}),m&&e.jsx(R,{onClick:e=>{p(e,Math.max(0,Math.ceil(a/u)-1))},disabled:s||d>=Math.ceil(a/u)-1,"aria-label":l("last",d),title:l("last",d),...A,children:b?e.jsx(O,{...g.firstButtonIcon}):e.jsx(j,{...g.lastButtonIcon})})]})});function uR(e){return tf("MuiTablePagination",e)}"production"!==process.env.NODE_ENV&&(dR.propTypes={backIconButtonProps:Kc.object,children:Kc.node,classes:Kc.object,className:Kc.string,count:Kc.number.isRequired,disabled:Kc.bool,getItemAriaLabel:Kc.func.isRequired,nextIconButtonProps:Kc.object,onPageChange:Kc.func.isRequired,page:Kc.number.isRequired,rowsPerPage:Kc.number.isRequired,showFirstButton:Kc.bool.isRequired,showLastButton:Kc.bool.isRequired,slotProps:Kc.shape({firstButton:Kc.object,firstButtonIcon:Kc.object,lastButton:Kc.object,lastButtonIcon:Kc.object,nextButton:Kc.object,nextButtonIcon:Kc.object,previousButton:Kc.object,previousButtonIcon:Kc.object}),slots:Kc.shape({firstButton:Kc.elementType,firstButtonIcon:Kc.elementType,lastButton:Kc.elementType,lastButtonIcon:Kc.elementType,nextButton:Kc.elementType,nextButtonIcon:Kc.elementType,previousButton:Kc.elementType,previousButtonIcon:Kc.elementType})});const fR=of("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var mR;const hR=Eh(HN,{name:"MuiTablePagination",slot:"Root"})(Rh(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),gR=Eh(aR,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${fR.actions}`]:t.actions,...t.toolbar})})(Rh(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${fR.actions}`]:{flexShrink:0,marginLeft:20}}))),yR=Eh("div",{name:"MuiTablePagination",slot:"Spacer"})({flex:"1 1 100%"}),bR=Eh("p",{name:"MuiTablePagination",slot:"SelectLabel"})(Rh(({theme:e})=>({...e.typography.body2,flexShrink:0}))),vR=Eh(cE,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${fR.selectIcon}`]:t.selectIcon,[`& .${fR.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${fR.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),xR=Eh(PC,{name:"MuiTablePagination",slot:"MenuItem"})({}),wR=Eh("p",{name:"MuiTablePagination",slot:"DisplayedRows"})(Rh(({theme:e})=>({...e.typography.body2,flexShrink:0})));function SR({from:e,to:t,count:o}){return`${e}–${t} of ${-1!==o?o:`more than ${t}`}`}function TR(e){return`Go to ${e} page`}const OR=l.forwardRef(function(t,n){const r=Mh({props:t,name:"MuiTablePagination"}),{ActionsComponent:i=dR,backIconButtonProps:a,colSpan:s,component:l=HN,count:c,disabled:p=!1,getItemAriaLabel:d=TR,labelDisplayedRows:u=SR,labelRowsPerPage:f="Rows per page:",nextIconButtonProps:m,onPageChange:h,onRowsPerPageChange:g,page:y,rowsPerPage:b,rowsPerPageOptions:v=[10,25,50,100],SelectProps:x={},showFirstButton:w=!1,showLastButton:S=!1,slotProps:T={},slots:O={},...j}=r,C=r,k=(e=>{const{classes:t}=e;return am({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},uR,t)})(C),E=T?.select??x,P=E.native?"option":xR;let N;l!==HN&&"td"!==l||(N=s||1e3);const R=Yf(E.id),M=Yf(E.labelId),$={slots:O,slotProps:T},[I,A]=Dg("root",{ref:n,className:k.root,elementType:hR,externalForwardedProps:{...$,component:l,...j},ownerState:C,additionalProps:{colSpan:N}}),[B,L]=Dg("toolbar",{className:k.toolbar,elementType:gR,externalForwardedProps:$,ownerState:C}),[D,z]=Dg("spacer",{className:k.spacer,elementType:yR,externalForwardedProps:$,ownerState:C}),[V,F]=Dg("selectLabel",{className:k.selectLabel,elementType:bR,externalForwardedProps:$,ownerState:C,additionalProps:{id:M}}),[W,_]=Dg("select",{className:k.select,elementType:vR,externalForwardedProps:$,ownerState:C}),[H,q]=Dg("menuItem",{className:k.menuItem,elementType:P,externalForwardedProps:$,ownerState:C}),[U,G]=Dg("displayedRows",{className:k.displayedRows,elementType:wR,externalForwardedProps:$,ownerState:C});return e.jsx(I,{...A,children:e.jsxs(B,{...L,children:[e.jsx(D,{...z}),v.length>1&&e.jsx(V,{...F,children:f}),v.length>1&&e.jsx(W,{variant:"standard",...!E.variant&&{input:mR||(mR=e.jsx(Ex,{}))},value:b,onChange:g,id:R,labelId:M,...E,classes:{...E.classes,root:Ju(k.input,k.selectRoot,(E.classes||{}).root),select:Ju(k.select,(E.classes||{}).select),icon:Ju(k.selectIcon,(E.classes||{}).icon)},disabled:p,..._,children:v.map(e=>o.createElement(H,{...q,key:e.label?e.label:e,value:e.value?e.value:e},e.label?e.label:e))}),e.jsx(U,{...G,children:u({from:0===c?0:y*b+1,to:-1===c?(y+1)*b:-1===b?c:Math.min(c,(y+1)*b),count:-1===c?-1:c,page:y})}),e.jsx(i,{className:k.actions,backIconButtonProps:a,count:c,nextIconButtonProps:m,onPageChange:h,page:y,rowsPerPage:b,showFirstButton:w,showLastButton:S,slotProps:T.actions,slots:O.actions,getItemAriaLabel:d,disabled:p})]})})});function jR(e){return tf("MuiTableRow",e)}"production"!==process.env.NODE_ENV&&(OR.propTypes={ActionsComponent:Kc.elementType,backIconButtonProps:Kc.object,classes:Kc.object,colSpan:Kc.number,component:Kc.elementType,count:Gg.isRequired,disabled:Kc.bool,getItemAriaLabel:Kc.func,labelDisplayedRows:Kc.func,labelRowsPerPage:Kc.node,nextIconButtonProps:Kc.object,onPageChange:Kc.func.isRequired,onRowsPerPageChange:Kc.func,page:Gh(Gg.isRequired,e=>{const{count:t,page:o,rowsPerPage:n}=e;if(-1===t)return null;const r=Math.max(0,Math.ceil(t/n)-1);return o<0||o>r?new Error(`MUI: The page prop of a TablePagination is out of range (0 to ${r}, but page is ${o}).`):null}),rowsPerPage:Gg.isRequired,rowsPerPageOptions:Kc.arrayOf(Kc.oneOfType([Kc.number,Kc.shape({label:Kc.string.isRequired,value:Kc.number.isRequired})]).isRequired),SelectProps:Kc.object,showFirstButton:Kc.bool,showLastButton:Kc.bool,slotProps:Kc.shape({actions:Kc.shape({firstButton:Kc.object,firstButtonIcon:Kc.object,lastButton:Kc.object,lastButtonIcon:Kc.object,nextButton:Kc.object,nextButtonIcon:Kc.object,previousButton:Kc.object,previousButtonIcon:Kc.object}),displayedRows:Kc.oneOfType([Kc.func,Kc.object]),menuItem:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),select:Kc.object,selectLabel:Kc.oneOfType([Kc.func,Kc.object]),spacer:Kc.oneOfType([Kc.func,Kc.object]),toolbar:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({actions:Kc.shape({firstButton:Kc.elementType,firstButtonIcon:Kc.elementType,lastButton:Kc.elementType,lastButtonIcon:Kc.elementType,nextButton:Kc.elementType,nextButtonIcon:Kc.elementType,previousButton:Kc.elementType,previousButtonIcon:Kc.elementType}),displayedRows:Kc.elementType,menuItem:Kc.elementType,root:Kc.elementType,select:Kc.elementType,selectLabel:Kc.elementType,spacer:Kc.elementType,toolbar:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const CR=of("MuiTableRow",["root","selected","hover","head","footer"]),kR=Eh("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.head&&t.head,o.footer&&t.footer]}})(Rh(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${CR.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${CR.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)}}}))),ER="tr",PR=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTableRow"}),{className:r,component:i=ER,hover:a=!1,selected:s=!1,...c}=n,p=l.useContext(AN),d={...n,component:i,hover:a,selected:s,head:p&&"head"===p.variant,footer:p&&"footer"===p.variant},u=(e=>{const{classes:t,selected:o,hover:n,head:r,footer:i}=e;return am({root:["root",o&&"selected",n&&"hover",r&&"head",i&&"footer"]},jR,t)})(d);return e.jsx(kR,{as:i,ref:o,className:Ju(u.root,r),role:i===ER?null:"row",ownerState:d,...c})});"production"!==process.env.NODE_ENV&&(PR.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,hover:Kc.bool,selected:Kc.bool,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});var NR=Bh(e.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function RR(e){return tf("MuiTableSortLabel",e)}const MR=of("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),$R=Eh(Oy,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.active&&t.active]}})(Rh(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${MR.icon}`]:{opacity:.5}},[`&.${MR.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${MR.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),IR=Eh("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,t[`iconDirection${Ed(o.direction)}`]]}})(Rh(({theme:e})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]}))),AR=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTableSortLabel"}),{active:r=!1,children:i,className:a,direction:s="asc",hideSortIcon:l=!1,IconComponent:c=NR,slots:p={},slotProps:d={},...u}=n,f={...n,active:r,direction:s,hideSortIcon:l,IconComponent:c},m=(e=>{const{classes:t,direction:o,active:n}=e;return am({root:["root",n&&"active",`direction${Ed(o)}`],icon:["icon",`iconDirection${Ed(o)}`]},RR,t)})(f),h={slots:p,slotProps:d},[g,y]=Dg("root",{elementType:$R,externalForwardedProps:h,ownerState:f,className:Ju(m.root,a),ref:o}),[b,v]=Dg("icon",{elementType:IR,externalForwardedProps:h,ownerState:f,className:m.icon});return e.jsxs(g,{disableRipple:!0,component:"span",...y,...u,children:[i,l&&!r?null:e.jsx(b,{as:c,...v})]})});function BR(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}"production"!==process.env.NODE_ENV&&(AR.propTypes={active:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,direction:Kc.oneOf(["asc","desc"]),hideSortIcon:Kc.bool,IconComponent:Kc.elementType,slotProps:Kc.shape({icon:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({icon:Kc.elementType,root:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const LR={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function DR(t){const{onChange:o,...n}=t,r=l.useRef(),i=l.useRef(null),a=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return xf(()=>{const e=Lh(()=>{const e=r.current;a(),e!==r.current&&o(r.current)}),t=zh(i.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[o]),l.useEffect(()=>{a(),o(r.current)},[o]),e.jsx("div",{style:LR,...n,ref:i})}function zR(e){return tf("MuiTabScrollButton",e)}"production"!==process.env.NODE_ENV&&(DR.propTypes={onChange:Kc.func.isRequired});const VR=of("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),FR=Eh(Oy,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.orientation&&t[o.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${VR.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),WR=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTabScrollButton"}),{className:r,slots:i={},slotProps:a={},direction:s,orientation:l,disabled:c,...p}=n,d=qf(),u={isRtl:d,...n},f=(e=>{const{classes:t,orientation:o,disabled:n}=e;return am({root:["root",o,n&&"disabled"]},zR,t)})(u),m=i.StartScrollButtonIcon??sR,h=i.EndScrollButtonIcon??lR,g=Hv({elementType:m,externalSlotProps:a.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:u}),y=Hv({elementType:h,externalSlotProps:a.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:u});return e.jsx(FR,{component:"div",className:Ju(f.root,r),ref:o,role:null,ownerState:u,tabIndex:null,...p,style:{...p.style,..."vertical"===l&&{"--TabScrollButton-svgRotate":`rotate(${d?-90:90}deg)`}},children:"left"===s?e.jsx(m,{...g}):e.jsx(h,{...y})})});function _R(e){return tf("MuiTabs",e)}"production"!==process.env.NODE_ENV&&(WR.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,direction:Kc.oneOf(["left","right"]).isRequired,disabled:Kc.bool,orientation:Kc.oneOf(["horizontal","vertical"]).isRequired,slotProps:Kc.shape({endScrollButtonIcon:Kc.oneOfType([Kc.func,Kc.object]),startScrollButtonIcon:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({EndScrollButtonIcon:Kc.elementType,StartScrollButtonIcon:Kc.elementType}),style:Kc.object,sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object])});const HR=of("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),qR=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,UR=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,GR=(e,t,o)=>{let n=!1,r=o(e,t);for(;r;){if(r===e.firstChild){if(n)return;n=!0}const t=r.disabled||"true"===r.getAttribute("aria-disabled");if(r.hasAttribute("tabindex")&&!t)return void r.focus();r=o(e,r)}},KR=Eh("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${HR.scrollButtons}`]:t.scrollButtons},{[`& .${HR.scrollButtons}`]:o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,o.vertical&&t.vertical]}})(Rh(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${HR.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),XR=Eh("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),YR=Eh("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.list,t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),ZR=Eh("span",{name:"MuiTabs",slot:"Indicator"})(Rh(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]}))),JR=Eh(DR)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),QR={};let eM=!1;const tM=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTabs"}),r=jh(),i=qf(),{"aria-label":a,"aria-labelledby":s,action:c,centered:p=!1,children:d,className:u,component:f="div",allowScrollButtonsMobile:m=!1,indicatorColor:h="primary",onChange:g,orientation:y="horizontal",ScrollButtonComponent:b,scrollButtons:v="auto",selectionFollowsFocus:x,slots:w={},slotProps:S={},TabIndicatorProps:T={},TabScrollButtonProps:O={},textColor:j="primary",value:C,variant:k="standard",visibleScrollbar:E=!1,...P}=n,N="scrollable"===k,R="vertical"===y,M=R?"scrollTop":"scrollLeft",$=R?"top":"left",I=R?"bottom":"right",A=R?"clientHeight":"clientWidth",B=R?"height":"width",L={...n,component:f,allowScrollButtonsMobile:m,indicatorColor:h,orientation:y,vertical:R,scrollButtons:v,textColor:j,variant:k,visibleScrollbar:E,fixed:!N,hideScrollbar:N&&!E,scrollableX:N&&!R,scrollableY:N&&R,centered:p&&!N,scrollButtonsHideMobile:!m},D=(e=>{const{vertical:t,fixed:o,hideScrollbar:n,scrollableX:r,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return am({root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",n&&"hideScrollbar",r&&"scrollableX",i&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[r&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},_R,l)})(L),z=Hv({elementType:w.StartScrollButtonIcon,externalSlotProps:S.startScrollButtonIcon,ownerState:L}),V=Hv({elementType:w.EndScrollButtonIcon,externalSlotProps:S.endScrollButtonIcon,ownerState:L});process.env.NODE_ENV;const[F,W]=l.useState(!1),[_,H]=l.useState(QR),[q,U]=l.useState(!1),[G,K]=l.useState(!1),[X,Y]=l.useState(!1),[Z,J]=l.useState({overflow:"hidden",scrollbarWidth:0}),Q=new Map,ee=l.useRef(null),te=l.useRef(null),oe={slots:w,slotProps:{indicator:T,scrollButtons:O,...S}},ne=()=>{const e=ee.current;let t,o;if(e){const o=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollWidth:e.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(e&&!1!==C){const e=te.current.children;if(e.length>0){const n=e[Q.get(C)];process.env.NODE_ENV,o=n?n.getBoundingClientRect():null,"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&!eM&&o&&0===o.width&&0===o.height&&0!==t.clientWidth&&(t=null,eM=!0)}}return{tabsMeta:t,tabMeta:o}},re=Hh(()=>{const{tabsMeta:e,tabMeta:t}=ne();let o,n=0;R?(o="top",t&&e&&(n=t.top-e.top+e.scrollTop)):(o=i?"right":"left",t&&e&&(n=(i?-1:1)*(t[o]-e[o]+e.scrollLeft)));const r={[o]:n,[B]:t?t[B]:0};if("number"!=typeof _[o]||"number"!=typeof _[B])H(r);else{const e=Math.abs(_[o]-r[o]),t=Math.abs(_[B]-r[B]);(e>=1||t>=1)&&H(r)}}),ie=(e,{animation:t=!0}={})=>{t?function(e,t,o,n={},r=()=>{}){const{ease:i=BR,duration:a=300}=n;let s=null;const l=t[e];let c=!1;const p=n=>{if(c)return void r(new Error("Animation cancelled"));null===s&&(s=n);const d=Math.min(1,(n-s)/a);t[e]=i(d)*(o-l)+l,d>=1?requestAnimationFrame(()=>{r(null)}):requestAnimationFrame(p)};l===o?r(new Error("Element already at target position")):requestAnimationFrame(p)}(M,ee.current,e,{duration:r.transitions.duration.standard}):ee.current[M]=e},ae=e=>{let t=ee.current[M];t+=R?e:e*(i?-1:1),ie(t)},se=()=>{const e=ee.current[A];let t=0;const o=Array.from(te.current.children);for(let n=0;n<o.length;n+=1){const r=o[n];if(t+r[A]>e){0===n&&(t=e);break}t+=r[A]}return t},le=()=>{ae(-1*se())},ce=()=>{ae(se())},[pe,{onChange:de,...ue}]=Dg("scrollbar",{className:Ju(D.scrollableX,D.hideScrollbar),elementType:JR,shouldForwardComponentProp:!0,externalForwardedProps:oe,ownerState:L}),fe=l.useCallback(e=>{de?.(e),J({overflow:null,scrollbarWidth:e})},[de]),[me,he]=Dg("scrollButtons",{className:Ju(D.scrollButtons,O.className),elementType:WR,externalForwardedProps:oe,ownerState:L,additionalProps:{orientation:y,slots:{StartScrollButtonIcon:w.startScrollButtonIcon||w.StartScrollButtonIcon,EndScrollButtonIcon:w.endScrollButtonIcon||w.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:z,endScrollButtonIcon:V}}}),ge=Hh(e=>{const{tabsMeta:t,tabMeta:o}=ne();if(o&&t)if(o[$]<t[$]){const n=t[M]+(o[$]-t[$]);ie(n,{animation:e})}else if(o[I]>t[I]){const n=t[M]+(o[I]-t[I]);ie(n,{animation:e})}}),ye=Hh(()=>{N&&!1!==v&&Y(!X)});l.useEffect(()=>{const e=Lh(()=>{ee.current&&re()});let t;const o=zh(ee.current);let n;return o.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(te.current.children).forEach(e=>{t.observe(e)})),"undefined"!=typeof MutationObserver&&(n=new MutationObserver(o=>{o.forEach(e=>{e.removedNodes.forEach(e=>{t?.unobserve(e)}),e.addedNodes.forEach(e=>{t?.observe(e)})}),e(),ye()}),n.observe(te.current,{childList:!0})),()=>{e.clear(),o.removeEventListener("resize",e),n?.disconnect(),t?.disconnect()}},[re,ye]),l.useEffect(()=>{const e=Array.from(te.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&N&&!1!==v){const o=e[0],n=e[t-1],r={root:ee.current,threshold:.99},i=new IntersectionObserver(e=>{U(!e[0].isIntersecting)},r);i.observe(o);const a=new IntersectionObserver(e=>{K(!e[0].isIntersecting)},r);return a.observe(n),()=>{i.disconnect(),a.disconnect()}}},[N,v,X,d?.length]),l.useEffect(()=>{W(!0)},[]),l.useEffect(()=>{re()}),l.useEffect(()=>{ge(QR!==_)},[ge,_]),l.useImperativeHandle(c,()=>({updateIndicator:re,updateScrollButtons:ye}),[re,ye]);const[be,ve]=Dg("indicator",{className:Ju(D.indicator,T.className),elementType:ZR,externalForwardedProps:oe,ownerState:L,additionalProps:{style:_}}),xe=e.jsx(be,{...ve});let we=0;const Se=l.Children.map(d,e=>{if(!l.isValidElement(e))return null;"production"!==process.env.NODE_ENV&&Kp.isFragment(e);const t=void 0===e.props.value?we:e.props.value;Q.set(t,we);const o=t===C;return we+=1,l.cloneElement(e,{fullWidth:"fullWidth"===k,indicator:o&&!F&&xe,selected:o,selectionFollowsFocus:x,onChange:g,textColor:j,value:t,...1!==we||!1!==C||e.props.tabIndex?{}:{tabIndex:0}})}),Te=(()=>{const t={};t.scrollbarSizeListener=N?e.jsx(pe,{...ue,onChange:fe}):null;const o=N&&("auto"===v&&(q||G)||!0===v);return t.scrollButtonStart=o?e.jsx(me,{direction:i?"right":"left",onClick:le,disabled:!q,...he}):null,t.scrollButtonEnd=o?e.jsx(me,{direction:i?"left":"right",onClick:ce,disabled:!G,...he}):null,t})(),[Oe,je]=Dg("root",{ref:o,className:Ju(D.root,u),elementType:KR,externalForwardedProps:{...oe,...P,component:f},ownerState:L}),[Ce,ke]=Dg("scroller",{ref:ee,className:D.scroller,elementType:XR,externalForwardedProps:oe,ownerState:L,additionalProps:{style:{overflow:Z.overflow,[R?"margin"+(i?"Left":"Right"):"marginBottom"]:E?void 0:-Z.scrollbarWidth}}}),[Ee,Pe]=Dg("list",{ref:te,className:Ju(D.list,D.flexContainer),elementType:YR,externalForwardedProps:oe,ownerState:L,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{if(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)return;const t=te.current,o=nT(Dh(t)),n=o?.getAttribute("role");if("tab"!==n)return;let r="horizontal"===y?"ArrowLeft":"ArrowUp",a="horizontal"===y?"ArrowRight":"ArrowDown";switch("horizontal"===y&&i&&(r="ArrowRight",a="ArrowLeft"),e.key){case r:e.preventDefault(),GR(t,o,UR);break;case a:e.preventDefault(),GR(t,o,qR);break;case"Home":e.preventDefault(),GR(t,null,qR);break;case"End":e.preventDefault(),GR(t,null,UR)}})(t),e.onKeyDown?.(t)}})});return e.jsxs(Oe,{...je,children:[Te.scrollButtonStart,Te.scrollbarSizeListener,e.jsxs(Ce,{...ke,children:[e.jsx(Ee,{"aria-label":a,"aria-labelledby":s,"aria-orientation":"vertical"===y?"vertical":null,role:"tablist",...Pe,children:Se}),F&&xe]}),Te.scrollButtonEnd]})});function oM(e){return tf("MuiTextField",e)}"production"!==process.env.NODE_ENV&&(tM.propTypes={action:py,allowScrollButtonsMobile:Kc.bool,"aria-label":Kc.string,"aria-labelledby":Kc.string,centered:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,component:Kc.elementType,indicatorColor:Kc.oneOfType([Kc.oneOf(["primary","secondary"]),Kc.string]),onChange:Kc.func,orientation:Kc.oneOf(["horizontal","vertical"]),ScrollButtonComponent:Kc.elementType,scrollButtons:Kc.oneOf(["auto",!1,!0]),selectionFollowsFocus:Kc.bool,slotProps:Kc.shape({endScrollButtonIcon:Kc.oneOfType([Kc.func,Kc.object]),indicator:Kc.oneOfType([Kc.func,Kc.object]),list:Kc.oneOfType([Kc.func,Kc.object]),root:Kc.oneOfType([Kc.func,Kc.object]),scrollbar:Kc.oneOfType([Kc.func,Kc.object]),scrollButtons:Kc.oneOfType([Kc.func,Kc.object]),scroller:Kc.oneOfType([Kc.func,Kc.object]),startScrollButtonIcon:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({endScrollButtonIcon:Kc.elementType,EndScrollButtonIcon:Kc.elementType,indicator:Kc.elementType,list:Kc.elementType,root:Kc.elementType,scrollbar:Kc.elementType,scrollButtons:Kc.elementType,scroller:Kc.elementType,startScrollButtonIcon:Kc.elementType,StartScrollButtonIcon:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),TabIndicatorProps:Kc.object,TabScrollButtonProps:Kc.object,textColor:Kc.oneOf(["inherit","primary","secondary"]),value:Kc.any,variant:Kc.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:Kc.bool}),of("MuiTextField",["root"]);const nM={standard:aj,filled:rO,outlined:QC},rM=Eh(sO,{name:"MuiTextField",slot:"Root"})({}),iM=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiTextField"}),{autoComplete:r,autoFocus:i=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:p=!1,error:d=!1,FormHelperTextProps:u,fullWidth:f=!1,helperText:m,id:h,InputLabelProps:g,inputProps:y,InputProps:b,inputRef:v,label:x,maxRows:w,minRows:S,multiline:T=!1,name:O,onBlur:j,onChange:C,onFocus:k,placeholder:E,required:P=!1,rows:N,select:R=!1,SelectProps:M,slots:$={},slotProps:I={},type:A,value:B,variant:L="outlined",...D}=n,z={...n,autoFocus:i,color:l,disabled:p,error:d,fullWidth:f,multiline:T,required:P,select:R,variant:L},V=(e=>{const{classes:t}=e;return am({root:["root"]},oM,t)})(z);process.env.NODE_ENV;const F=Yf(h),W=m&&F?`${F}-helper-text`:void 0,_=x&&F?`${F}-label`:void 0,H=nM[L],q={slots:$,slotProps:{input:b,inputLabel:g,htmlInput:y,formHelperText:u,select:M,...I}},U={},G=q.slotProps.inputLabel;"outlined"===L&&(G&&void 0!==G.shrink&&(U.notched=G.shrink),U.label=x),R&&(M&&M.native||(U.id=void 0),U["aria-describedby"]=void 0);const[K,X]=Dg("root",{elementType:rM,shouldForwardComponentProp:!0,externalForwardedProps:{...q,...D},ownerState:z,className:Ju(V.root,s),ref:o,additionalProps:{disabled:p,error:d,fullWidth:f,required:P,color:l,variant:L}}),[Y,Z]=Dg("input",{elementType:H,externalForwardedProps:q,additionalProps:U,ownerState:z}),[J,Q]=Dg("inputLabel",{elementType:mj,externalForwardedProps:q,ownerState:z}),[ee,te]=Dg("htmlInput",{elementType:"input",externalForwardedProps:q,ownerState:z}),[oe,ne]=Dg("formHelperText",{elementType:xO,externalForwardedProps:q,ownerState:z}),[re,ie]=Dg("select",{elementType:cE,externalForwardedProps:q,ownerState:z}),ae=e.jsx(Y,{"aria-describedby":W,autoComplete:r,autoFocus:i,defaultValue:c,fullWidth:f,multiline:T,name:O,rows:N,maxRows:w,minRows:S,type:A,value:B,id:F,inputRef:v,onBlur:j,onChange:C,onFocus:k,placeholder:E,inputProps:te,slots:{input:$.htmlInput?ee:void 0},...Z});return e.jsxs(K,{...X,children:[null!=x&&""!==x&&e.jsx(J,{htmlFor:F,id:_,...Q,children:x}),R?e.jsx(re,{"aria-describedby":W,id:F,labelId:_,value:B,input:ae,...ie,children:a}):ae,m&&e.jsx(oe,{id:W,...ne,children:m})]})});function aM(e){return tf("MuiToggleButton",e)}"production"!==process.env.NODE_ENV&&(iM.propTypes={autoComplete:Kc.string,autoFocus:Kc.bool,children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["primary","secondary","error","info","success","warning"]),Kc.string]),defaultValue:Kc.any,disabled:Kc.bool,error:Kc.bool,FormHelperTextProps:Kc.object,fullWidth:Kc.bool,helperText:Kc.node,id:Kc.string,InputLabelProps:Kc.object,inputProps:Kc.object,InputProps:Kc.object,inputRef:py,label:Kc.node,margin:Kc.oneOf(["dense","none","normal"]),maxRows:Kc.oneOfType([Kc.number,Kc.string]),minRows:Kc.oneOfType([Kc.number,Kc.string]),multiline:Kc.bool,name:Kc.string,onBlur:Kc.func,onChange:Kc.func,onFocus:Kc.func,placeholder:Kc.string,required:Kc.bool,rows:Kc.oneOfType([Kc.number,Kc.string]),select:Kc.bool,SelectProps:Kc.object,size:Kc.oneOfType([Kc.oneOf(["medium","small"]),Kc.string]),slotProps:Kc.shape({formHelperText:Kc.oneOfType([Kc.func,Kc.object]),htmlInput:Kc.oneOfType([Kc.func,Kc.object]),input:Kc.oneOfType([Kc.func,Kc.object]),inputLabel:Kc.oneOfType([Kc.func,Kc.object]),select:Kc.oneOfType([Kc.func,Kc.object])}),slots:Kc.shape({formHelperText:Kc.elementType,htmlInput:Kc.elementType,input:Kc.elementType,inputLabel:Kc.elementType,root:Kc.elementType,select:Kc.elementType}),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),type:Kc.string,value:Kc.any,variant:Kc.oneOf(["filled","outlined","standard"])});const sM=of("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),lM=l.createContext({});"production"!==process.env.NODE_ENV&&(lM.displayName="ToggleButtonGroupContext");const cM=l.createContext(void 0);function pM(e,t){return void 0!==t&&void 0!==e&&(Array.isArray(t)?t.includes(e):e===t)}"production"!==process.env.NODE_ENV&&(cM.displayName="ToggleButtonGroupButtonContext");const dM=Eh(Oy,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`size${Ed(o.size)}`]]}})(Rh(({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${sM.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${sM.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.text.primary,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(My()).map(([t])=>({props:{color:t},style:{[`&.${sM.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]}))),uM=l.forwardRef(function(t,o){const{value:n,...r}=l.useContext(lM),i=l.useContext(cM),a=Mh({props:bf({...r,selected:pM(t.value,n)},t),name:"MuiToggleButton"}),{children:s,className:c,color:p="standard",disabled:d=!1,disableFocusRipple:u=!1,fullWidth:f=!1,onChange:m,onClick:h,selected:g,size:y="medium",value:b,...v}=a,x={...a,color:p,disabled:d,disableFocusRipple:u,fullWidth:f,size:y},w=(e=>{const{classes:t,fullWidth:o,selected:n,disabled:r,size:i,color:a}=e;return am({root:["root",n&&"selected",r&&"disabled",o&&"fullWidth",`size${Ed(i)}`,a]},aM,t)})(x),S=i||"";return e.jsx(dM,{className:Ju(r.className,w.root,c,S),disabled:d,focusRipple:!u,ref:o,onClick:e=>{h&&(h(e,b),e.defaultPrevented)||m&&m(e,b)},onChange:m,value:b,ownerState:x,"aria-pressed":g,...v,children:s})});function fM(e){return tf("MuiToggleButtonGroup",e)}"production"!==process.env.NODE_ENV&&(uM.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["standard","primary","secondary","error","info","success","warning"]),Kc.string]),disabled:Kc.bool,disableFocusRipple:Kc.bool,disableRipple:Kc.bool,fullWidth:Kc.bool,onChange:Kc.func,onClick:Kc.func,selected:Kc.bool,size:Kc.oneOfType([Kc.oneOf(["small","medium","large"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any.isRequired});const mM=of("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),hM=Eh("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${mM.grouped}`]:t.grouped},{[`& .${mM.grouped}`]:t[`grouped${Ed(o.orientation)}`]},{[`& .${mM.firstButton}`]:t.firstButton},{[`& .${mM.lastButton}`]:t.lastButton},{[`& .${mM.middleButton}`]:t.middleButton},t.root,"vertical"===o.orientation&&t.vertical,o.fullWidth&&t.fullWidth]}})(Rh(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${mM.grouped}`]:{[`&.${mM.selected} + .${mM.grouped}.${mM.selected}`]:{borderTop:0,marginTop:0}},[`& .${mM.firstButton},& .${mM.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${mM.lastButton},& .${mM.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${mM.lastButton}.${sM.disabled},& .${mM.middleButton}.${sM.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${mM.grouped}`]:{[`&.${mM.selected} + .${mM.grouped}.${mM.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${mM.firstButton},& .${mM.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${mM.lastButton},& .${mM.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${mM.lastButton}.${sM.disabled},& .${mM.middleButton}.${sM.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),gM=l.forwardRef(function(t,o){const n=Mh({props:t,name:"MuiToggleButtonGroup"}),{children:r,className:i,color:a="standard",disabled:s=!1,exclusive:c=!1,fullWidth:p=!1,onChange:d,orientation:u="horizontal",size:f="medium",value:m,...h}=n,g={...n,disabled:s,fullWidth:p,orientation:u,size:f},y=(e=>{const{classes:t,orientation:o,fullWidth:n,disabled:r}=e;return am({root:["root",o,n&&"fullWidth"],grouped:["grouped",`grouped${Ed(o)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]},fM,t)})(g),b=l.useCallback((e,t)=>{if(!d)return;const o=m&&m.indexOf(t);let n;m&&o>=0?(n=m.slice(),n.splice(o,1)):n=m?m.concat(t):[t],d(e,n)},[d,m]),v=l.useCallback((e,t)=>{d&&d(e,m===t?null:t)},[d,m]),x=l.useMemo(()=>({className:y.grouped,onChange:c?v:b,value:m,size:f,fullWidth:p,color:a,disabled:s}),[y.grouped,c,v,b,m,f,p,a,s]),w=oS(r),S=w.length,T=e=>{const t=0===e,o=e===S-1;return t&&o?"":t?y.firstButton:o?y.lastButton:y.middleButton};return e.jsx(hM,{role:"group",className:Ju(y.root,i),ref:o,ownerState:g,...h,children:e.jsx(lM.Provider,{value:x,children:w.map((t,o)=>("production"!==process.env.NODE_ENV&&Kp.isFragment(t),e.jsx(cM.Provider,{value:T(o),children:t},o)))})})});"production"!==process.env.NODE_ENV&&(gM.propTypes={children:Kc.node,classes:Kc.object,className:Kc.string,color:Kc.oneOfType([Kc.oneOf(["standard","primary","secondary","error","info","success","warning"]),Kc.string]),disabled:Kc.bool,exclusive:Kc.bool,fullWidth:Kc.bool,onChange:Kc.func,orientation:Kc.oneOf(["horizontal","vertical"]),size:Kc.oneOfType([Kc.oneOf(["small","medium","large"]),Kc.string]),sx:Kc.oneOfType([Kc.arrayOf(Kc.oneOfType([Kc.func,Kc.object,Kc.bool])),Kc.func,Kc.object]),value:Kc.any});var yM=Bh(e.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"),bM=Bh(e.jsx("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen"),vM=function(){return function(e,t){return t&&d(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.connections=new Map,this.refCounts=new Map,this.reconnectTimeouts=new Map,this.listeners=new Map},[{key:"getStreamState",value:function(e){return this.connections.get(e)}},{key:"on",value:function(e,t){this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(t)}},{key:"off",value:function(e,t){var o=this.listeners.get(e);o&&o.delete(t)}},{key:"emit",value:function(e,t){var o=this.listeners.get(e);o&&o.forEach(function(e){return e(t)})}},{key:"connect",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Camera",o=this.refCounts.get(e)||0;if(this.refCounts.set(e,o+1),this.connections.has(e)){var n=this.connections.get(e);if("connected"===n.status||"connecting"===n.status)return this.emit("status:".concat(e),n),n}return this.startStream(e,t)}},{key:"disconnect",value:function(e){var t=this,o=this.refCounts.get(e)||0;o<=1?(this.refCounts.delete(e),setTimeout(function(){t.refCounts.has(e)||t.cleanup(e,!0)},5e3)):this.refCounts.set(e,o-1)}},{key:"startStream",value:function(e,t){return o=this,n=void 0,r=void 0,i=f().m(function o(){var n,r,i,a,s,l,c,p=this;return f().w(function(o){for(;;)switch(o.p=o.n){case 0:return n=this.connections.get(e),r={stream:(null==n?void 0:n.stream)||null,pc:null,status:"connecting",error:null,retryCount:(null==n?void 0:n.retryCount)||0},this.connections.set(e,r),this.emit("status:".concat(e),r),o.p=1,this.cleanup(e,!1),i=new RTCPeerConnection({iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:"stun:stun1.l.google.com:19302"},{urls:"stun:stun2.l.google.com:19302"}],iceCandidatePoolSize:10,bundlePolicy:"max-bundle",rtcpMuxPolicy:"require"}),r.pc=i,i.ontrack=function(t){var o;o=t.streams&&t.streams[0]?t.streams[0]:new MediaStream([t.track]),r.stream=o,r.status="connected",r.error=null,p.emit("status:".concat(e),Object.assign({},r))},i.onconnectionstatechange=function(){"failed"===i.connectionState&&p.handleFailure(e,t,"Connection failed")},o.n=2,i.createOffer({offerToReceiveVideo:!0,offerToReceiveAudio:!1});case 2:return a=o.v,o.n=3,i.setLocalDescription(a);case 3:return o.n=4,fetch(e,{method:"POST",headers:{"Content-Type":"application/sdp",Accept:"application/sdp"},body:a.sdp});case 4:if((s=o.v).ok){o.n=5;break}throw new Error("HTTP ".concat(s.status,": ").concat(s.statusText));case 5:return o.n=6,s.text();case 6:return l=o.v,o.n=7,i.setRemoteDescription({type:"answer",sdp:l});case 7:return o.a(2,r);case 8:return o.p=8,c=o.v,this.handleFailure(e,t,c instanceof Error?c.message:"Connection failed"),o.a(2,r)}},o,this,[[1,8]])}),new(r||(r=Promise))(function(e,t){function a(e){try{l(i.next(e))}catch(e){t(e)}}function s(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var o;t.done?e(t.value):(o=t.value,o instanceof r?o:new r(function(e){e(o)})).then(a,s)}l((i=i.apply(o,n||[])).next())});var o,n,r,i}},{key:"handleFailure",value:function(e,t,o){var n=this,r=this.connections.get(e);if(r){if(r.status="failed",r.error=o,r.retryCount<3){r.retryCount++;var i=2e3+1e3*r.retryCount,a=setTimeout(function(){n.startStream(e,t)},i);this.reconnectTimeouts.set(e,a)}this.emit("status:".concat(e),Object.assign({},r))}}},{key:"cleanup",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=this.reconnectTimeouts.get(e);o&&(clearTimeout(o),this.reconnectTimeouts.delete(e));var n=this.connections.get(e);(null==n?void 0:n.pc)&&(n.pc.close(),n.pc=null),t&&this.connections.delete(e)}},{key:"retry",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Camera",o=this.connections.get(e);o&&(o.retryCount=0,this.startStream(e,t))}}])}(),xM=new vM,wM=function(t){var n,r=t.url,i=t.cameraName,a=t.onOpenFullscreen,s=o.useRef(null),l=h(o.useState(xM.getStreamState(r)||null),2),c=l[0],p=l[1],d=h(o.useState(!1),2),u=d[0],f=d[1];o.useEffect(function(){if(r){xM.connect(r,i),p(xM.getStreamState(r)||null);var e=function(e){p(e)};return xM.on("status:".concat(r),e),function(){xM.off("status:".concat(r),e),xM.disconnect(r)}}},[r,i]),o.useEffect(function(){s.current&&(null==c?void 0:c.stream)&&s.current.srcObject!==c.stream&&(s.current.srcObject=c.stream,s.current.play().catch(function(){}))},[null==c?void 0:c.stream]);var m="connected"===(null==c?void 0:c.status),g="connecting"===(null==c?void 0:c.status),y=null==c?void 0:c.error,b=null!==(n=null==c?void 0:c.retryCount)&&void 0!==n?n:0;return e.jsxs("div",{className:"relative bg-black rounded-lg overflow-hidden h-full w-full",children:[g&&e.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/80 z-10",children:e.jsxs("div",{className:"text-center text-white text-xs",children:[e.jsx("div",{children:"Connecting..."}),b>0&&e.jsxs("div",{className:"mt-1 opacity-80",children:["Retry ",b]})]})}),y&&!m&&e.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-red-900/90 z-10",children:e.jsxs("div",{className:"text-center p-2 text-xs text-white",children:[e.jsx("div",{className:"font-medium",children:"Connection Error"}),e.jsx("div",{className:"mt-1 opacity-80",children:y}),e.jsx("button",{onClick:function(){r&&xM.retry(r,i)},className:"mt-2 px-2 py-1 bg-red-600 rounded text-xs",children:"Retry"})]})}),e.jsx("video",{ref:s,autoPlay:!0,playsInline:!0,muted:!0,className:"w-full h-full object-cover ".concat(m?"block":"hidden")}),m&&e.jsx("button",{onClick:u?function(){document.exitFullscreen&&document.exitFullscreen(),f(!1)}:function(){s.current&&(s.current.requestFullscreen&&s.current.requestFullscreen(),f(!0),null==a||a())},className:"absolute top-2 right-2 p-1.5 bg-black/50 text-white rounded",title:u?"Exit Full Screen":"Enter Full Screen",children:u?"⤫":"⛶"})]})},SM={rootBase:{display:"flex",alignItems:"center",gap:"20px",padding:"12px 24px"},rootLight:{backgroundColor:"#323174",borderBottom:"1px solid rgba(255,255,255,0.08)",color:"#ffffff"},rootDark:{background:"#323174",borderBottom:"1px solid rgba(255,255,255,0.08)",color:"#ffffff"},rootGlass:{background:"rgba(50, 49, 116, 0.8)",backdropFilter:"blur(12px)",borderBottom:"1px solid rgba(255,255,255,0.06)",color:"#ffffff"},logo:{cursor:"pointer",display:"flex",alignItems:"center",gap:"16px"},logoImage:{height:"30px",width:"100%",objectFit:"contain"},search:{flex:1,maxWidth:"400px",display:"flex",alignItems:"center",color:"white"},searchInput:{width:"100%",padding:"8px 16px",border:"1px solid #ddd",borderRadius:"4px",fontSize:"14px"},searchIcon:{marginRight:8,color:"#64748b",display:"inline-flex"},selector:{display:"flex",alignItems:"center",gap:"8px"},selectorLabel:{fontSize:"14px",color:"#666",fontWeight:500},select:{padding:"8px 12px",border:"1px solid rgba(255,255,255,0.3)",borderRadius:"4px",fontSize:"14px",backgroundColor:"transparent",color:"white",cursor:"pointer"},option:{color:"#333",backgroundColor:"white"},actions:{display:"flex",alignItems:"center",gap:"12px",marginLeft:"auto"},title:{fontSize:"20px",fontWeight:600,margin:0,color:"inherit"},hDivider:{width:"100%",height:1,background:"rgba(255,255,255,0.08)"},vDivider:{width:1,height:"100%",background:"rgba(255,255,255,0.12)"},iconButton:{display:"inline-flex",alignItems:"center",justifyContent:"center",gap:6,padding:"8px 12px",borderRadius:10,border:"1px solid rgba(255,255,255,0.12)",background:"rgba(255,255,255,0.04)",color:"#e2e8f0",cursor:"pointer"},iconButtonActive:{borderColor:"rgba(37,99,235,0.8)",background:"linear-gradient(135deg,#2563eb,#7c3aed)",color:"#fff"},badge:{display:"inline-flex",alignItems:"center",padding:"2px 8px",borderRadius:999,background:"rgba(37,99,235,0.15)",color:"#cbd5e1",fontSize:12,fontWeight:600},eventsBar:{display:"flex",gap:8,overflowX:"auto",padding:"8px 0"},eventsChip:{border:"1px solid rgba(255,255,255,0.12)",background:"rgba(255,255,255,0.04)",color:"#e2e8f0",padding:"8px 12px",borderRadius:12,cursor:"pointer",whiteSpace:"nowrap"},eventsChipActive:{background:"linear-gradient(135deg,#16a34a,#22c55e)",color:"#0b1224",borderColor:"transparent",fontWeight:700}},TM=function(t){var o=t.value,n=t.onChange,r=t.options,i=t.placeholder,a=void 0===i?"Select":i,s=t.label,l=t.disabled,c=void 0!==l&&l,p=t.selectorWidth,d=t.labelWidth,u=t.dense,f=void 0!==u&&u,m=P(),h=Object.assign(Object.assign({},SM.selector),f?{gap:"4px"}:{}),g=Object.assign(Object.assign(Object.assign(Object.assign({},SM.select),f?{padding:"6px 8px",fontSize:"13px"}:{}),p?{width:p}:{}),{border:"1px solid ".concat(m.border.subtle),backgroundColor:m.surface.control,color:m.text.primary});return e.jsxs("div",{className:"topbar-select",style:h,children:[s&&e.jsx("span",{style:Object.assign(Object.assign(Object.assign({},SM.selectorLabel),{color:m.text.muted}),d?{width:d,display:"inline-block"}:{}),children:s}),e.jsxs("select",{value:o,onChange:function(e){return n(e.target.value)},disabled:c,style:Object.assign({},g),children:[a&&e.jsx("option",{value:"",disabled:!0,children:a}),r.map(function(t){return e.jsx("option",{value:t.value,children:t.label},t.value)})]})]})},OM=function(t){var n=t.levels,r=vs(t,["levels"]),i=o.useMemo(function(){return n.map(function(e){return{value:e,label:e}})},[n]);return e.jsx(TM,Object.assign({options:i},r))},jM=function(t){var n=t.locations,r=vs(t,["locations"]),i=o.useMemo(function(){return n.map(function(e){return{value:e.id,label:e.name}})},[n]);return e.jsx(TM,Object.assign({options:i},r))},CM=function(t){var o=t.children,n=t.active,r=void 0!==n&&n,i=t.onClick,a=t.title,s=P();return e.jsx("button",{type:"button",className:"topbar-icon-button",title:a,onClick:i,style:Object.assign(Object.assign(Object.assign({},SM.iconButton),{border:"1px solid ".concat(s.border.subtle),background:r?"linear-gradient(135deg, ".concat(s.accent.primary,", ").concat(s.accent.secondary,")"):s.surface.control,color:r?s.text.onAccent:s.text.primary}),r?{borderColor:s.accent.primary+"cc"}:{}),onMouseEnter:function(e){r||(e.currentTarget.style.backgroundColor=s.state.hover)},onMouseLeave:function(e){r||(e.currentTarget.style.backgroundColor=s.surface.control)},children:o})},kM=function(t){var o=t.value,n=t.onChange,r=t.options,i=t.size,a=void 0===i?"md":i;return e.jsx("div",{className:"topbar-toggle-group",style:{display:"inline-flex",border:"1px solid #2d2d2d",borderRadius:999,overflow:"hidden",background:"rgba(255,255,255,0.04)"},children:r.map(function(t){var r=t.value===o;return e.jsx("button",{type:"button",onClick:function(){return n(t.value)},style:{border:"none",background:r?"linear-gradient(135deg,#2563eb,#7c3aed)":"transparent",color:r?"#fff":"#cbd5e1",padding:"sm"===a?"6px 10px":"8px 14px",fontSize:"sm"===a?12:14,fontWeight:600,cursor:"pointer"},children:t.label},t.value)})})},EM=function(t){var o=t.count,n=t.variant,r=void 0===n?"default":n,i=P();return e.jsx("span",{style:{backgroundColor:"danger"===r?i.semantic.critical:i.accent.primary,color:i.text.onAccent,borderRadius:"12px",padding:"2px 8px",fontSize:"12px",fontWeight:600,minWidth:"20px",textAlign:"center"},children:o})},PM={Root:function(t){var o=t.children,n=t.className,r=void 0===n?"":n,i=t.variant,a=void 0===i?"light":i,s=t.height,l=void 0===s?72:s,c=t.sticky,p=void 0===c||c,d=t.zIndex,u=void 0===d?1e3:d,f=t.style,m=P(),h="glass"===a,g=Object.assign(Object.assign(Object.assign({},SM.rootBase),{background:h?"".concat(m.surface.topbar,"cc"):m.surface.topbar,color:m.text.primary,borderBottom:"1px solid ".concat(m.border.subtle),backdropFilter:h?"blur(12px)":void 0,height:l,position:p?"sticky":"relative",zIndex:u}),f);return e.jsx("div",{className:"topbar ".concat(r),style:g,children:o})},Section:function(t){var o=t.children,n=t.align,r=void 0===n?"left":n,i=t.gap,a=void 0===i?12:i,s=t.wrap,l=void 0!==s&&s,c=t.grow,p=void 0!==c&&c,d=t.className,u=void 0===d?"":d,f="right"===r?"flex-end":"center"===r?"center":"flex-start";return e.jsx("div",{className:"topbar-section ".concat(u),style:{display:"flex",alignItems:"center",justifyContent:f,gap:a,flexWrap:l?"wrap":"nowrap",flexGrow:p?1:0},children:o})},Divider:function(t){var o=t.orientation;return"vertical"===(void 0===o?"horizontal":o)?e.jsx("div",{style:SM.vDivider,className:"topbar-divider"}):e.jsx("div",{style:SM.hDivider,className:"topbar-divider"})},Logo:function(t){var o=t.src,n=void 0===o?"/logos/merdeka-118-logo.png":o,r=t.alt,i=void 0===r?"App Logo":r,a=t.onClick;return e.jsxs("div",{className:"topbar-logo",style:SM.logo,onClick:a,children:[e.jsx("img",{src:"/logos/merdeka.png",alt:"Merdeka 118",style:{height:30,objectFit:"contain"}}),e.jsx("div",{style:{width:1,height:24,backgroundColor:"rgba(255,255,255,0.2)"}}),e.jsx("img",{src:n,alt:i,style:SM.logoImage})]})},LevelSelector:function(t){return e.jsx(OM,Object.assign({},t))},LocationSelector:function(t){return e.jsx(jM,Object.assign({},t))},Actions:function(t){var o=t.children;return e.jsx("div",{className:"topbar-actions",style:{display:"flex",alignItems:"center",gap:"12px",marginLeft:"auto"},children:o})},Title:function(t){var o=t.children;return e.jsx("h1",{className:"topbar-title",style:{fontSize:"20px",fontWeight:600,margin:0,color:"inherit"},children:o})},IconButton:CM,Badge:function(t){var o=t.label;return e.jsx("span",{className:"topbar-badge",style:SM.badge,children:o})},SelectBase:TM,ToggleGroup:kM,Spacer:function(){return e.jsx("div",{style:{flex:1,minWidth:8}})},LocationSelect:jM,LevelSelect:OM,ListTypeToggle:function(t){var o=t.value,n=t.onChange;return e.jsx(kM,{value:o,onChange:n,options:[{label:"Events",value:"events"},{label:"Booths",value:"booths"}]})},EventsBar:function(t){var o=t.eventCount,n=void 0===o?0:o,r=t.onClick,i=t.className,a=void 0===i?"":i,s=P();return e.jsxs("div",{className:a,onClick:r,style:{display:"flex",alignItems:"center",gap:8,cursor:r?"pointer":"default",padding:"6px 12px",borderRadius:6,backgroundColor:s.surface.control,border:"1px solid ".concat(s.border.subtle)},children:[e.jsx("span",{style:{fontSize:14,color:s.text.primary},children:"Events"}),n>0&&e.jsx(EM,{count:n,variant:n>10?"danger":"default"})]})},BackButton:function(t){var o=t.label,n=void 0===o?"Back":o,r=t.onClick;return e.jsxs(CM,{onClick:r,title:n,children:["← ",n]})},SidebarToggleButton:function(t){var o=t.active,n=t.onClick;return e.jsx(CM,{active:o,onClick:n,title:"Toggle sidebar",children:"☰"})},ThemeToggleButton:function(t){var o=t.onClick;return e.jsx(CM,{onClick:o,title:"Toggle theme",children:"🌓"})},TimelineToggleButton:function(t){var o=t.active,n=t.onClick;return e.jsx(CM,{active:o,onClick:n,title:"Timeline",children:"🕒"})}},NM={container:{position:"fixed",right:0,top:0,bottom:0,width:"400px",display:"flex",flexDirection:"column",zIndex:1e3},header:{padding:"20px",display:"flex",justifyContent:"space-between",alignItems:"center"},body:{flex:1,padding:"20px",overflowY:"auto"},footer:{padding:"20px"},closeButton:{background:"none",border:"none",fontSize:"24px",cursor:"pointer",padding:"0 10px"}},RM={Root:function(t){var o=t.children,n=t.isOpen;if(t.onClose,!n)return null;var r=P();return e.jsx("div",{className:"panel-container",style:Object.assign(Object.assign({},NM.container),{backgroundColor:r.surface.panel,color:r.text.primary,boxShadow:"-2px 0 8px rgba(0,0,0,0.12)"}),children:o})},Header:function(t){var o=t.title,n=t.onClose,r=P();return e.jsxs("div",{className:"panel-header",style:Object.assign(Object.assign({},NM.header),{borderBottom:"1px solid ".concat(r.border.subtle),color:r.text.primary}),children:[e.jsx("h2",{style:{margin:0},children:o}),n&&e.jsx("button",{onClick:n,style:Object.assign(Object.assign({},NM.closeButton),{color:r.text.primary}),children:"×"})]})},Body:function(t){var o=t.children;return e.jsx("div",{className:"panel-body",style:NM.body,children:o})},Footer:function(t){var o=t.children,n=P();return e.jsx("div",{className:"panel-footer",style:Object.assign(Object.assign({},NM.footer),{borderTop:"1px solid ".concat(n.border.subtle),color:n.text.primary}),children:o})}},MM={root:function(e){return{backgroundColor:e.surface.card,borderRadius:"8px",overflow:"hidden",transition:"all 0.2s",color:e.text.primary}},header:function(e){return{padding:"16px",borderBottom:"1px solid ".concat(e.border.subtle),display:"flex",alignItems:"center",gap:"12px"}},headerImage:{width:"48px",height:"48px",borderRadius:"4px",objectFit:"cover"},headerContent:{flex:1},title:function(e){return{margin:0,fontSize:"16px",fontWeight:600,color:e.text.primary}},subtitle:function(e){return{margin:"4px 0 0 0",fontSize:"14px",color:e.text.muted}},headerActions:{display:"flex",gap:"8px"},body:{padding:"16px"},footer:function(e){return{padding:"12px 16px",borderTop:"1px solid ".concat(e.border.subtle),display:"flex",gap:"8px"}},image:{width:"100%",overflow:"hidden"},imageImg:{width:"100%",height:"100%",objectFit:"cover"}},$M={Root:function(t){var o=t.children,n=t.onClick,r=t.variant,i=void 0===r?"default":r,a=t.className,s=void 0===a?"":a,l=P(),c="outlined"===i?{border:"2px solid ".concat(l.accent.primary)}:"elevated"===i?{boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)"}:{border:"1px solid ".concat(l.border.subtle)};return e.jsx("div",{className:"card card-".concat(i," ").concat(s),style:Object.assign(Object.assign(Object.assign({},MM.root(l)),c),{cursor:n?"pointer":"default"}),onClick:n,children:o})},Header:function(t){var o=t.title,n=t.subtitle,r=t.actions,i=t.image,a=P();return e.jsxs("div",{className:"card-header",style:MM.header(a),children:[i&&e.jsx("img",{src:i,alt:o,style:MM.headerImage}),e.jsxs("div",{style:MM.headerContent,children:[e.jsx("h3",{style:MM.title(a),children:o}),n&&e.jsx("p",{style:MM.subtitle(a),children:n})]}),r&&e.jsx("div",{style:MM.headerActions,children:r})]})},Body:function(t){var o=t.children,n=P();return e.jsx("div",{className:"card-body",style:MM.body,children:e.jsx("div",{style:{color:n.text.primary},children:o})})},Footer:function(t){var o=t.children,n=t.align,r=void 0===n?"left":n,i=P();return e.jsx("div",{className:"card-footer",style:Object.assign(Object.assign({},MM.footer(i)),{justifyContent:"left"===r?"flex-start":"center"===r?"center":"flex-end"}),children:o})},Image:function(t){var o=t.src,n=t.alt,r=t.height,i=void 0===r?"200px":r;return e.jsx("div",{className:"card-image",style:Object.assign(Object.assign({},MM.image),{height:i}),children:e.jsx("img",{src:o,alt:n,style:MM.imageImg})})}},IM={backgroundColor:"#323174",borderBottom:"1px solid rgba(255,255,255,0.08)",color:"#ffffff"},AM={background:"#323174",borderBottom:"1px solid rgba(255,255,255,0.1)",color:"#FFFFFF"},BM={background:"rgba(50, 49, 116, 0.8)",backdropFilter:"blur(12px)",borderBottom:"1px solid rgba(255,255,255,0.06)",color:"#ffffff"},LM={Root:function(t){var n=t.children,r=t.className,i=void 0===r?"":r,a=t.variant,s=void 0===a?"light":a,c=h(o.useState(""),2),p=c[0];c[1];var d=P(),u=function(e,t){var o=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return"rgba(".concat(o,", ").concat(n,", ").concat(r,", ").concat(t,")")},f=function(){if("glass"===s)return Object.assign(Object.assign({},BM),{background:u(d.surface.topbar,.8),backgroundColor:u(d.surface.topbar,.8)});var e="dark"===s?Object.assign({},AM):Object.assign({},IM);return Object.assign(Object.assign({},e),{backgroundColor:d.surface.topbar,background:d.surface.topbar})}();return e.jsx("nav",{style:f,className:"fixed bottom-0 left-0 w-full h-[64px] flex justify-around rounded-t-xl items-center shadow-md z-[40] ".concat(i),children:l.default.Children.map(n,function(e){return l.default.isValidElement(e)&&e.props&&"id"in e.props&&"function"==typeof e.type?l.default.cloneElement(e,{activeTab:p}):e})})},Item:function(t){var n=t.id,r=t.label,i=t.icon,a=t.onClick,s=h(o.useState(""),2);s[0];var l=s[1],c=h(o.useState(!1),2),p=c[0],d=c[1],u=P();return e.jsxs("button",{onClick:function(){l(n),null==a||a()},onMouseDown:function(){d(!0),setTimeout(function(){return d(!1)},300)},className:"flex flex-col items-center justify-center text-xs transition-all duration-200",style:{color:u.accent.secondary},children:[e.jsx("div",{className:"text-2xl transition-transform ".concat(p?"scale-110":"scale-100"),style:{color:u.accent.secondary},children:i}),e.jsx("span",{className:"mt-1",style:{color:u.accent.secondary},children:r})]})}},DM={root:{position:"relative",display:"inline-block"},trigger:{padding:"8px 16px",border:"1px solid #ddd",borderRadius:"4px",backgroundColor:"white",cursor:"pointer",display:"flex",alignItems:"center",gap:"8px",fontSize:"14px",minWidth:"150px",justifyContent:"space-between"},triggerDisabled:{opacity:.5,cursor:"not-allowed"},arrow:{fontSize:"10px",color:"#666"},menu:{position:"absolute",top:"calc(100% + 4px)",left:0,right:0,backgroundColor:"white",border:"1px solid #ddd",borderRadius:"4px",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",zIndex:1e3,maxHeight:"300px",overflowY:"auto"},item:{padding:"10px 16px",cursor:"pointer",fontSize:"14px",transition:"background-color 0.15s"},itemDisabled:{opacity:.5,cursor:"not-allowed"},itemSelected:{backgroundColor:"#e3f2fd",color:"#1a73e8",fontWeight:500},group:{borderBottom:"1px solid #f0f0f0"},groupLabel:{padding:"8px 16px",fontSize:"12px",fontWeight:600,color:"#666",textTransform:"uppercase",backgroundColor:"#f8f8f8"}},zM={Root:function(t){var n=t.value,r=t.onChange,i=t.children,a=t.disabled,s=t.style,c=t.className,p=void 0===c?"":c,d=h(o.useState(!1),2),u=d[0],f=d[1];return e.jsx("div",{className:"dropdown ".concat(p),style:Object.assign(Object.assign({},DM.root),s),children:l.default.Children.map(i,function(e){return l.default.isValidElement(e)?l.default.cloneElement(e,{isOpen:u,setIsOpen:f,value:n,onChange:r,disabled:a}):e})})},Trigger:function(t){var o=t.children,n=t.isOpen,r=t.setIsOpen,i=t.disabled,a=t.style,s=t.className,l=void 0===s?"":s;return e.jsxs("button",{className:"dropdown-trigger ".concat(l),style:Object.assign(Object.assign(Object.assign({},DM.trigger),i?DM.triggerDisabled:{}),a),onClick:function(){return!i&&(null==r?void 0:r(!n))},disabled:i,children:[o,e.jsx("span",{style:DM.arrow,children:n?"▲":"▼"})]})},Menu:function(t){var o=t.children,n=t.isOpen,r=t.setIsOpen,i=t.value,a=t.onChange,s=t.style,c=t.className,p=void 0===c?"":c;return n?e.jsx("div",{className:"dropdown-menu ".concat(p),style:Object.assign(Object.assign({},DM.menu),s),children:l.default.Children.map(o,function(e){return l.default.isValidElement(e)?l.default.cloneElement(e,{isSelected:e.props.value===i,onClick:function(){null==a||a(e.props.value),null==r||r(!1)}}):e})}):null},Item:function(t){var o=t.children,n=t.disabled,r=t.isSelected,i=t.onClick,a=t.style,s=t.className,l=void 0===s?"":s;return e.jsx("div",{className:"dropdown-item ".concat(r?"selected":""," ").concat(l),style:Object.assign(Object.assign(Object.assign(Object.assign({},DM.item),n?DM.itemDisabled:{}),r?DM.itemSelected:{}),a),onClick:function(){return!n&&(null==i?void 0:i())},children:o})},Group:function(t){var o=t.label,n=t.children,r=t.style,i=t.className,a=void 0===i?"":i;return e.jsxs("div",{className:"dropdown-group ".concat(a),style:Object.assign(Object.assign({},DM.group),r),children:[e.jsx("div",{style:DM.groupLabel,children:o}),n]})}},VM={backdrop:{position:"fixed",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",zIndex:2e3},content:{borderRadius:"8px",boxShadow:"0 4px 20px rgba(0, 0, 0, 0.15)",display:"flex",flexDirection:"column",maxHeight:"90vh"},small:{width:"400px"},medium:{width:"600px"},large:{width:"800px"},header:{padding:"20px 24px",display:"flex",justifyContent:"space-between",alignItems:"center"},title:{margin:0,fontSize:"20px",fontWeight:600},headerActions:{display:"flex",alignItems:"center",gap:"12px"},closeButton:{background:"none",border:"none",fontSize:"28px",cursor:"pointer",padding:"0 8px",lineHeight:1,transition:"color 0.2s ease"},body:{padding:"24px",overflowY:"auto",flex:1},footer:{padding:"16px 24px",display:"flex",gap:"12px"}},FM={Root:function(t){var o=t.isOpen,n=t.onClose,r=t.children,i=t.size,a=void 0===i?"medium":i,s=P();return o?e.jsx("div",{className:"modal-backdrop",style:Object.assign(Object.assign({},VM.backdrop),{backgroundColor:s.surface.backdrop}),onClick:n,children:e.jsx("div",{className:"modal-content modal-".concat(a),style:Object.assign(Object.assign(Object.assign({},VM.content),VM[a]),{backgroundColor:s.surface.modal}),onClick:function(e){return e.stopPropagation()},children:r})}):null},Header:function(t){var o=t.title,n=t.onClose,r=t.actions,i=P();return e.jsxs("div",{className:"modal-header",style:Object.assign(Object.assign({},VM.header),{borderBottom:"1px solid ".concat(i.border.subtle)}),children:[e.jsx("h2",{style:Object.assign(Object.assign({},VM.title),{color:i.text.primary}),children:o}),e.jsxs("div",{style:VM.headerActions,children:[r,n&&e.jsx("button",{onClick:n,className:"modal-close",style:Object.assign(Object.assign({},VM.closeButton),{color:i.text.muted}),onMouseEnter:function(e){e.currentTarget.style.color=i.text.primary},onMouseLeave:function(e){e.currentTarget.style.color=i.text.muted},children:"×"})]})]})},Body:function(t){var o=t.children;return e.jsx("div",{className:"modal-body",style:VM.body,children:o})},Footer:function(t){var o=t.children,n=t.align,r=void 0===n?"right":n,i=P();return e.jsx("div",{className:"modal-footer",style:Object.assign(Object.assign({},VM.footer),{borderTop:"1px solid ".concat(i.border.subtle),justifyContent:"left"===r?"flex-start":"center"===r?"center":"flex-end"}),children:o})}},WM=function(t){var o=t.title,n=t.children;return e.jsxs("div",{style:{marginBottom:8},children:[e.jsx("div",{style:{marginBottom:4,fontWeight:500},children:o}),n]})},_M=function(t,o,n){return e.jsxs("label",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,marginBottom:4},children:[e.jsx("span",{children:t}),e.jsx("input",{type:"color",value:o,onChange:function(e){return n(e.target.value)}})]})};exports.AIAnalysisPanel=function(t){var o,r,i=t.insights,a=t.statistics,s=t.topCategories,l=void 0===s?[]:s,c=t.variant,p=void 0===c?"light":c,d=t.isLoading,u=void 0!==d&&d,f=t.title,m=void 0===f?"AI Analysis":f,h=t.description,g=void 0===h?"Insights and recommendations":h,y=t.topCategoriesLabel,b=void 0===y?"Top Alert Types":y,v=t.insightsLabel,x=void 0===v?"Insights & Recommendations":v,w=t.emptyMessage,S=void 0===w?"No data available for analysis":w,T=t.emptyHint,O=P(),j=null!==(o=null==a?void 0:a.totalCount)&&void 0!==o?o:0,C=null!==(r=null==a?void 0:a.criticalCount)&&void 0!==r?r:0,k=j>0||i.length>0||l.length>0,E={critical:O.semantic.critical,warning:O.semantic.warning,success:O.semantic.success,info:O.semantic.info},N={critical:"".concat(O.semantic.critical,"14"),warning:"".concat(O.semantic.warning,"14"),success:"".concat(O.semantic.success,"14"),criticalStrong:"".concat(O.semantic.critical,"1f")},R=function(e){var t;return null!==(t=E[e])&&void 0!==t?t:O.text.muted};return e.jsx(gs,{title:m,description:g,isLoading:u,variant:p,bodyMinHeight:300,children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[j>0&&e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"12px"},children:[e.jsxs("div",{style:{padding:"12px",borderRadius:"8px",backgroundColor:O.surface.control,border:"1px solid ".concat(O.border.subtle)},children:[e.jsx("div",{style:{fontSize:"24px",fontWeight:600,color:O.text.primary,marginBottom:"4px"},children:j}),e.jsx("div",{style:{fontSize:"12px",color:O.text.muted},children:"Total"})]}),C>=0&&e.jsxs("div",{style:{padding:"12px",borderRadius:"8px",backgroundColor:C>0?N.criticalStrong:O.surface.control,border:"1px solid ".concat(C>0?E.critical:O.border.subtle)},children:[e.jsx("div",{style:{fontSize:"24px",fontWeight:600,color:C>0?E.critical:O.text.primary,marginBottom:"4px"},children:C}),e.jsx("div",{style:{fontSize:"12px",color:O.text.muted},children:"Critical"})]})]}),l.length>0&&e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:"13px",fontWeight:600,color:O.text.primary,marginBottom:"8px"},children:b}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:l.map(function(t){var o;return e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px",padding:"10px",borderRadius:"6px",backgroundColor:O.surface.control,border:"1px solid ".concat(O.border.subtle)},children:[e.jsx(n.Icon,{icon:null!==(o=t.icon)&&void 0!==o?o:"mdi:alert",width:20,height:20,style:{color:R(t.severity)}}),e.jsxs("div",{style:{flex:1},children:[e.jsx("div",{style:{fontSize:"13px",fontWeight:500,color:O.text.primary},children:t.label}),e.jsxs("div",{style:{fontSize:"11px",color:O.text.muted},children:[t.count," (",t.percentage,"%)"]})]})]},t.label)})})]}),i.length>0&&e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:"13px",fontWeight:600,color:O.text.primary,marginBottom:"8px"},children:x}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:i.map(function(t,o){var r,i,a,s;return e.jsxs("div",{style:{display:"flex",gap:"12px",padding:"12px",borderRadius:"8px",backgroundColor:null!==(r=N[t.type])&&void 0!==r?r:O.surface.control,border:"1px solid ".concat(null!==(i=E[t.type])&&void 0!==i?i:O.border.subtle)},children:[e.jsx(n.Icon,{icon:null!==(a=t.icon)&&void 0!==a?a:"mdi:information",width:20,height:20,style:{color:null!==(s=E[t.type])&&void 0!==s?s:E.info,flexShrink:0,marginTop:"2px"}}),e.jsxs("div",{style:{flex:1},children:[e.jsx("div",{style:{fontSize:"13px",fontWeight:600,color:O.text.primary,marginBottom:"4px"},children:t.title}),e.jsx("div",{style:{fontSize:"12px",color:O.text.muted,lineHeight:1.5},children:t.message})]})]},o)})})]}),!k&&!u&&e.jsxs("div",{style:{textAlign:"center",padding:"24px",color:O.text.muted},children:[e.jsx(n.Icon,{icon:"mdi:chart-line",width:48,height:48,style:{color:O.text.muted,opacity:.5,marginBottom:"12px"}}),e.jsx("div",{style:{fontSize:"14px"},children:S}),T&&e.jsx("div",{style:{fontSize:"12px",marginTop:"4px"},children:T})]})]})})},exports.AlertCameraChart=function(t){var o=t.data,n=t.variant,r=void 0===n?"dark":n,i=t.title,a=void 0===i?"Top Cameras by Alerts":i,s=t.description,c=void 0===s?"Cameras with most alerts":s,p=P(),d=0===o.values.length,u=l.default.useMemo(function(){var e;return e=o.colors?Array.isArray(o.colors)?o.labels.map(function(e,t){return o.colors[t]||Cs(p.accent.primary,o.labels.length)[t]}):o.labels.map(function(e){return o.colors[e]||Cs(p.accent.primary,o.labels.length)[o.labels.indexOf(e)]}):Cs(p.accent.primary,o.labels.length),{labels:o.labels,datasets:[{label:"Alert Count",data:o.values,backgroundColor:e,borderColor:p.border.subtle,borderWidth:1}]}},[o,p.accent.primary,p.border.subtle]);return e.jsx(gs,{title:a,description:c,variant:r,empty:d,bodyMinHeight:220,children:!d&&e.jsx(Ts,{type:"bar",data:u})})},exports.AlertSeverityChart=function(t){var o=t.data,n=t.variant,r=void 0===n?"dark":n,i=t.title,a=void 0===i?"Alert Severity Distribution":i,s=t.description,c=void 0===s?"Distribution by severity level":s,p=P(),d=0===o.values.length,u={Severe:p.semantic.critical,Critical:p.semantic.critical,Medium:p.semantic.warning,Warning:p.semantic.warning,Normal:p.semantic.success,Success:p.semantic.success,Info:p.semantic.info},f=l.default.useMemo(function(){var e=o.labels.map(function(e,t){var n;if(o.colors){var r=Array.isArray(o.colors)?o.colors[t]:o.colors[e];if(r)return r}return null!==(n=u[e])&&void 0!==n?n:p.accent.primary});return{labels:o.labels,datasets:[{label:"Alert Severity",data:o.values,backgroundColor:e,borderColor:p.border.subtle,borderWidth:1}]}},[o,p.semantic,p.accent.primary,p.border.subtle]);return e.jsx(gs,{title:a,description:c,variant:r,empty:d,bodyMinHeight:220,children:!d&&e.jsx(Ts,{type:"bar",data:f})})},exports.AlertTimelineChart=function(t){var o=t.data,n=t.variant,r=void 0===n?"dark":n,i=t.title,a=void 0===i?"Alerts Timeline":i,s=t.description,c=void 0===s?"Alerts over time":s,p=P(),d=0===o.values.length,u=l.default.useMemo(function(){var e,t;return e=o.colors?Array.isArray(o.colors)?o.colors[0]||p.accent.primary:o.colors[o.labels[0]]||p.accent.primary:p.accent.primary,t="".concat(e,"26"),{labels:o.labels,datasets:[{label:"Alerts",data:o.values,borderColor:e,backgroundColor:t,tension:.3,fill:!0}]}},[o,p.accent.primary]);return e.jsx(gs,{title:a,description:c,variant:r,empty:d,bodyMinHeight:220,children:!d&&e.jsx(Ts,{type:"line",data:u})})},exports.AlertTriggerChart=function(t){var o=t.data,n=t.variant,r=void 0===n?"dark":n,i=t.title,a=void 0===i?"Alerts by Trigger Type":i,s=t.description,c=void 0===s?"Distribution of alerts by trigger":s,p=P(),d=0===o.values.length,u=l.default.useMemo(function(){var e;return e=o.colors?Array.isArray(o.colors)?o.labels.map(function(e,t){return o.colors[t]||Cs(p.accent.primary,o.labels.length)[t]}):o.labels.map(function(e){return o.colors[e]||Cs(p.accent.primary,o.labels.length)[o.labels.indexOf(e)]}):Cs(p.accent.primary,o.labels.length),{labels:o.labels,datasets:[{label:"Alerts by Trigger",data:o.values,backgroundColor:e,borderColor:p.border.subtle,borderWidth:1}]}},[o,p.accent.primary,p.border.subtle]);return e.jsx(gs,{title:a,description:c,variant:r,empty:d,bodyMinHeight:220,children:!d&&e.jsx(Ts,{type:"doughnut",data:u,options:{plugins:{legend:{display:!1}},scales:{x:{display:!1},y:{display:!1}}}})})},exports.AlertsPanel=function(t){var n=t.items,r=t.onItemClick,i=t.variant,a=void 0===i?"light":i,s=t.maxItems,l=void 0===s?30:s,c=t.title,d=void 0===c?"Alerts":c,u=t.description,f=void 0===u?"Critical and warning events":u,m=t.emptyMessage,h=void 0===m?"There are currently no active alerts.":m,g=o.useMemo(function(){var e=function(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n).sort(function(e,t){var o=new Date(e.timestamp||0).getTime(),n=new Date(t.timestamp||0).getTime();return o&&n?n-o:0});return e.slice(0,l).map(function(e){return{id:e.id,message:e.message,time:e.time,severity:e.severity,category:e.category}})},[n,l]);return e.jsx(gs,{title:d,description:f,variant:a,children:e.jsx(bs,{alerts:g,onAlertClick:function(e){if(r){var t=n.find(function(t){return String(t.id)===String(e.id)});t&&r(t)}},maxHeight:220,emptyText:h})})},exports.BottomBar=LM,exports.Button=xs,exports.CameraStreamWidget=function(t){var o=t.camera,n=t.streamUrl,r=t.onClose,i=t.onFullscreen,a=t.variant,s=void 0===a?"dark":a,l=t.StreamComponent,c=t.streamType,p=void 0===c?"unknown":c,d=P(),u=function(){n&&i&&i(n,o.name)},f=l;return f||"webrtc"!==p||(f=function(t){var o=t.url,n=t.cameraName,r=t.onOpenFullscreen;return e.jsx(wM,{url:o,cameraName:n,onOpenFullscreen:r})}),e.jsx(gs,{title:o.name,description:"Live Stream",variant:s,actions:e.jsxs("div",{style:{display:"flex",gap:"4px"},children:[n&&e.jsx(Yy,{size:"small",onClick:u,sx:{color:d.text.muted},title:"Open Fullscreen",children:e.jsx(bM,{fontSize:"small"})}),r&&e.jsx(Yy,{size:"small",onClick:r,sx:{color:d.text.muted},children:e.jsx(yM,{fontSize:"small"})})]}),children:e.jsx("div",{style:{width:"100%",aspectRatio:"16/9",backgroundColor:"#000",borderRadius:8,overflow:"hidden",position:"relative"},children:n?f?e.jsx(f,{url:n,cameraName:o.name,streamType:p,onOpenFullscreen:u}):e.jsxs("div",{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:d.text.muted,padding:"0 12px",textAlign:"center"},children:['No stream renderer configured for type "',p,'". Provide a StreamComponent or use a supported type like "webrtc".']}):e.jsx("div",{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:d.text.muted},children:"No stream URL configured"})})})},exports.Card=$M,exports.Chart=Ts,exports.ChatbotPanel=function(t){var o=t.variant,n=void 0===o?"light":o,r=t.onOpenChat,i=t.title,a=void 0===i?"Chatbot":i,s=t.description,l=void 0===s?"Ask for summaries or actions":s,c=t.placeholderText,p=void 0===c?'Try: "Summarize alerts for the last hour" or "Show top 3 congested zones".':c,d=t.buttonLabel,u=void 0===d?"Open Chat":d;return e.jsx(gs,{title:a,description:l,isLoading:!1,variant:n,children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[e.jsx("p",{style:{marginTop:0,marginBottom:8},children:p}),e.jsx(xs,{variant:"primary",size:"small",style:{width:"100%"},onClick:function(){return r?r():void 0},children:u})]})})},exports.DashboardBottomRegion=function(t){var o=t.children,n=t.leftOffset,r=void 0===n?0:n,i=t.rightOffset,a=void 0===i?0:i,s=t.className,l=void 0===s?"":s,c=t.style,p=Object.assign({position:"absolute",bottom:0,left:r,right:a,zIndex:100,transition:"left 0.3s ease, right 0.3s ease"},c);return e.jsx("div",{className:"dashboard-bottom-region ".concat(l),style:p,children:o})},exports.DashboardMain=function(t){var o=t.children,n=t.overlayLayers,r=t.className,i=void 0===r?"":r,a=t.style,s=Object.assign({flex:1,position:"relative",overflow:"hidden"},a);return e.jsxs("div",{className:"dashboard-main ".concat(i),style:s,children:[o,n&&e.jsx("div",{className:"dashboard-main-overlays",style:{position:"absolute",inset:0,pointerEvents:"none"},children:e.jsx("div",{style:{pointerEvents:"auto"},children:n})})]})},exports.DashboardMobileDrawer=function(t){var o=t.isOpen,n=t.activeSide,r=t.onSelectSide,i=t.onClose,a=t.left,s=t.right,l=t.bodySpacing,c=void 0===l?{gap:16,paddingBottom:24}:l,p=P(),d="left"===n,u=d?a:s;return e.jsxs(e.Fragment,{children:[o&&e.jsx("div",{style:{position:"fixed",inset:0,background:p.surface.backdrop,zIndex:1400,paddingBottom:"20px"},onClick:i}),e.jsxs("div",{style:{position:"fixed",left:0,right:0,bottom:0,transform:o?"translateY(0)":"translateY(110%)",transition:"transform 0.25s ease",background:p.surface.panel,borderTopLeftRadius:16,borderTopRightRadius:16,boxShadow:"0 -12px 32px rgba(0,0,0,0.18)",zIndex:1401,maxHeight:"90vh",display:"flex",flexDirection:"column"},children:[e.jsxs("div",{style:{padding:"12px 16px",display:"flex",gap:8,alignItems:"center",borderBottom:"1px solid ".concat(p.border.subtle)},children:[e.jsx("button",{style:{flex:1,padding:"10px 12px",borderRadius:12,border:d?"2px solid ".concat(p.accent.primary):"1px solid ".concat(p.border.subtle),background:d?"".concat(p.accent.primary,"1a"):p.surface.control,color:p.text.primary,fontWeight:600},onClick:function(){return r("left")},children:a.title}),e.jsx("button",{style:{flex:1,padding:"10px 12px",borderRadius:12,border:d?"1px solid ".concat(p.border.subtle):"2px solid ".concat(p.accent.primary),background:d?p.surface.control:"".concat(p.accent.primary,"1a"),color:p.text.primary,fontWeight:600},onClick:function(){return r("right")},children:s.title}),e.jsx("button",{onClick:i,style:{padding:"10px 10px",borderRadius:12,border:"1px solid ".concat(p.border.subtle),background:p.surface.control,color:p.text.primary,fontWeight:600,display:"inline-flex",alignItems:"center",justifyContent:"center",gap:6},"aria-label":"Close drawer",children:"✕"})]}),e.jsxs(hs.Body,{side:"left",useMotion:!1,spacing:c,style:{overflowY:"auto",padding:"16px 16px 24px",flex:1},className:"mobile-drawer-content",children:[e.jsx("style",{children:"\n .mobile-drawer-content::-webkit-scrollbar {\n display: none;\n }\n .mobile-drawer-content {\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* IE 10+ */\n }\n "}),u.content]})]})]})},exports.DashboardShell=function(t){var o=t.children,n=t.fullScreen,r=void 0===n||n,i=t.gap,a=void 0===i?0:i,s=t.background,l=t.topOffset,c=void 0===l?0:l,p=t.className,d=void 0===p?"":p,u=t.style,f=Object.assign({width:r?"100vw":"100%",height:r?"100vh":"100%",position:"relative",display:"flex",flexDirection:"column",overflow:"hidden",gap:a>0?"".concat(a,"px"):void 0,background:s,marginTop:c>0?"".concat(c,"px"):void 0},u);return e.jsx("div",{className:"dashboard-shell ".concat(d),style:f,children:o})},exports.DashboardSidePanel=function(t){var o=t.side,n=t.width,r=void 0===n?288:n,i=t.isOpen,a=t.title,s=t.headerActions,l=t.children,c=t.bodyProps,p=t.onClose,d=t.className,u=void 0===d?"":d,f=t.style;return e.jsxs(hs.SidePanel,{side:o,width:r,isOpen:i,className:u,style:f,children:[a&&e.jsx(hs.Header,{title:a,actions:s,onClose:p,side:o}),e.jsx(hs.Body,{side:o,className:null==c?void 0:c.className,style:null==c?void 0:c.style,useMotion:null==c?void 0:c.useMotion,spacing:null==c?void 0:c.spacing,children:l})]})},exports.Dropdown=zM,exports.Modal=FM,exports.Panel=RM,exports.RadioButton=function(t){var o=t.name,n=t.value,r=t.label,i=t.checked,a=t.onChange,s=t.textClassName,l=void 0===s?"":s,c=t.circleClassName,p=void 0===c?"":c;return e.jsxs("label",{className:"flex items-center cursor-pointer select-none",children:[e.jsx("input",{type:"radio",name:o,value:n,checked:i,onChange:function(e){return a(e.target.value)},className:"hidden peer"}),e.jsx("div",{className:"\n w-6 h-6 rounded-full flex items-center justify-center transition-all duration-200\n ".concat(p,"\n "),children:e.jsx("div",{className:"\n w-3 h-3 rounded-full bg-black transition-transform duration-200\n scale-0 peer-checked:scale-100\n "})}),e.jsx("span",{className:"ml-3 text-lg ".concat(l),children:r})]})},exports.RecentActivityFeed=function(t){var n=t.items,r=t.variant,i=void 0===r?"dark":r,a=t.maxItems,s=void 0===a?10:a,l=t.onItemClick,c=t.title,p=void 0===c?"Recent Activity":c,d=t.description,u=void 0===d?"Latest events":d,f=P(),m=o.useMemo(function(){return n.slice().sort(function(e,t){var o=new Date(e.timestamp||0).getTime();return new Date(t.timestamp||0).getTime()-o}).slice(0,s)},[n,s]),h=0===m.length,g={Severe:f.semantic.critical,Medium:f.semantic.warning,Info:f.semantic.info,Normal:f.semantic.success};return e.jsx(gs,{title:p,description:u,variant:i,empty:h,bodyMinHeight:220,children:!h&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:m.map(function(t){var o,n,r=(o=t.severity,null!==(n=g[o])&&void 0!==n?n:g.Normal);return e.jsxs("div",{onClick:function(){return null==l?void 0:l(t.id)},style:{display:"flex",flexDirection:"column",gap:4,padding:"10px 12px",borderRadius:8,backgroundColor:f.surface.control,border:"1px solid ".concat(f.border.subtle),cursor:l?"pointer":"default",transition:"background-color 0.2s"},onMouseEnter:function(e){l&&(e.currentTarget.style.backgroundColor=f.surface.hover)},onMouseLeave:function(e){e.currentTarget.style.backgroundColor=f.surface.control},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[e.jsx("span",{style:{width:8,height:8,borderRadius:"50%",backgroundColor:r,flexShrink:0}}),e.jsx("span",{style:{color:f.text.primary,fontSize:13,fontWeight:500,flex:1},children:t.message}),e.jsx("span",{style:{fontSize:11,color:f.text.muted,fontWeight:500},children:t.time})]}),t.category&&e.jsx("div",{style:{fontSize:12,color:f.text.muted,marginLeft:16},children:t.category})]},t.id)})})})},exports.SidePanelUI=hs,exports.ThemeEditor=function(t){var n,r,i,a=t.modeOverride,s=t.position,l=E(function(e){return e.mode}),c=E(function(e){return e.customLightThemeOverride}),p=E(function(e){return e.customDarkThemeOverride}),d=null!==(n=null!=a?a:l)&&void 0!==n?n:"dark",u=o.useMemo(function(){return j(d,"light"===d?c:p)},[d,c,p]),f=h(o.useState(!1),2),m=f[0],g=f[1],y=h(o.useState(u.surface),2),b=y[0],v=y[1],x=h(o.useState(u.text),2),w=x[0],S=x[1],T=h(o.useState(u.accent),2),O=T[0],P=T[1],N=h(o.useState(u.semantic),2),R=N[0],M=N[1],$=h(o.useState(u.border),2),I=$[0],A=$[1],B=h(o.useState(u.chart),2),L=B[0],D=B[1],z=h(o.useState(u.state),2),V=z[0],F=z[1];o.useEffect(function(){v(u.surface),S(u.text),P(u.accent),M(u.semantic),A(u.border),D(u.chart),F(u.state)},[u]);var W=function(e){C(d,e)},_={position:"fixed",bottom:null!==(r=null==s?void 0:s.bottom)&&void 0!==r?r:24,left:null==s?void 0:s.left,right:null!==(i=null==s?void 0:s.right)&&void 0!==i?i:null==(null==s?void 0:s.left)?24:void 0,zIndex:2100};return e.jsxs("div",{style:_,children:[e.jsx(xs,{variant:"secondary",size:"small",onClick:function(){return g(function(e){return!e})},children:m?"Hide SDK Theme":"Edit SDK Theme"}),m&&e.jsxs("div",{style:{marginTop:8,padding:12,borderRadius:8,backgroundColor:u.surface.panel,color:u.text.primary,minWidth:260,maxWidth:320,boxShadow:"0 4px 10px rgba(0,0,0,0.35)",fontSize:12},children:[e.jsxs("div",{style:{marginBottom:8,fontWeight:600,fontSize:13},children:["SDK Theme (mode: ",d,")"]}),e.jsxs(WM,{title:"Surface",children:[_M("topbar",b.topbar,function(e){v(function(t){return Object.assign(Object.assign({},t),{topbar:e})}),W({surface:{topbar:e}})}),_M("panel",b.panel,function(e){v(function(t){return Object.assign(Object.assign({},t),{panel:e})}),W({surface:{panel:e}})}),_M("card",b.card,function(e){v(function(t){return Object.assign(Object.assign({},t),{card:e})}),W({surface:{card:e}})}),_M("modal",b.modal,function(e){v(function(t){return Object.assign(Object.assign({},t),{modal:e})}),W({surface:{modal:e}})}),_M("control",b.control,function(e){v(function(t){return Object.assign(Object.assign({},t),{control:e})}),W({surface:{control:e}})}),_M("neutral",b.neutral,function(e){v(function(t){return Object.assign(Object.assign({},t),{neutral:e})}),W({surface:{neutral:e}})}),_M("backdrop",b.backdrop,function(e){v(function(t){return Object.assign(Object.assign({},t),{backdrop:e})}),W({surface:{backdrop:e}})}),_M("hover",b.hover,function(e){v(function(t){return Object.assign(Object.assign({},t),{hover:e})}),W({surface:{hover:e}})})]}),e.jsxs(WM,{title:"Text",children:[_M("primary",w.primary,function(e){S(function(t){return Object.assign(Object.assign({},t),{primary:e})}),W({text:{primary:e}})}),_M("muted",w.muted,function(e){S(function(t){return Object.assign(Object.assign({},t),{muted:e})}),W({text:{muted:e}})}),_M("onAccent",w.onAccent,function(e){S(function(t){return Object.assign(Object.assign({},t),{onAccent:e})}),W({text:{onAccent:e}})}),_M("inverted",w.inverted,function(e){S(function(t){return Object.assign(Object.assign({},t),{inverted:e})}),W({text:{inverted:e}})})]}),e.jsxs(WM,{title:"Accent",children:[_M("primary",O.primary,function(e){P(function(t){return Object.assign(Object.assign({},t),{primary:e})}),W({accent:{primary:e}})}),_M("secondary",O.secondary,function(e){P(function(t){return Object.assign(Object.assign({},t),{secondary:e})}),W({accent:{secondary:e}})})]}),e.jsxs(WM,{title:"Semantic",children:[_M("success",R.success,function(e){M(function(t){return Object.assign(Object.assign({},t),{success:e})}),W({semantic:{success:e}})}),_M("warning",R.warning,function(e){M(function(t){return Object.assign(Object.assign({},t),{warning:e})}),W({semantic:{warning:e}})}),_M("critical",R.critical,function(e){M(function(t){return Object.assign(Object.assign({},t),{critical:e})}),W({semantic:{critical:e}})}),_M("info",R.info,function(e){M(function(t){return Object.assign(Object.assign({},t),{info:e})}),W({semantic:{info:e}})})]}),e.jsxs(WM,{title:"Border",children:[_M("subtle",I.subtle,function(e){A(function(t){return Object.assign(Object.assign({},t),{subtle:e})}),W({border:{subtle:e}})}),_M("strong",I.strong,function(e){A(function(t){return Object.assign(Object.assign({},t),{strong:e})}),W({border:{strong:e}})})]}),e.jsxs(WM,{title:"Chart",children:[_M("grid",L.grid,function(e){D(function(t){return Object.assign(Object.assign({},t),{grid:e})}),W({chart:{grid:e}})}),_M("text",L.text,function(e){D(function(t){return Object.assign(Object.assign({},t),{text:e})}),W({chart:{text:e}})})]}),e.jsxs(WM,{title:"State",children:[_M("hover",V.hover,function(e){F(function(t){return Object.assign(Object.assign({},t),{hover:e})}),W({state:{hover:e}})}),_M("active",V.active,function(e){F(function(t){return Object.assign(Object.assign({},t),{active:e})}),W({state:{active:e}})}),_M("focus",V.focus,function(e){F(function(t){return Object.assign(Object.assign({},t),{focus:e})}),W({state:{focus:e}})})]}),e.jsx("div",{style:{marginTop:8,display:"flex",justifyContent:"flex-end"},children:e.jsx(xs,{variant:"outline",size:"small",onClick:function(){k(d)},children:"Reset SDK Theme"})})]})]})},exports.TopBar=PM,exports.TopCamerasList=function(t){var o=t.items,n=t.variant,r=void 0===n?"dark":n,i=t.onItemClick,a=t.title,s=t.description,l=void 0===s?"Top sources by activity count":s,c=P(),p=0===o.length,d=null!=a?a:o.length>0?"Top ".concat(o.length," Sources"):"Top Sources";return e.jsx(gs,{title:d,description:l,variant:r,empty:p,bodyMinHeight:180,children:!p&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:o.map(function(t,n){return e.jsxs("div",{onClick:function(){return null==i?void 0:i(t.id)},style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",borderRadius:8,backgroundColor:c.surface.control,border:"1px solid ".concat(c.border.subtle),cursor:i?"pointer":"default",transition:"background-color 0.2s"},onMouseEnter:function(e){i&&(e.currentTarget.style.backgroundColor=c.surface.hover)},onMouseLeave:function(e){e.currentTarget.style.backgroundColor=c.surface.control},children:[e.jsxs("div",{style:{flex:1},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:4},children:[e.jsx("span",{style:{width:20,height:20,borderRadius:"50%",backgroundColor:Cs(c.accent.primary,o.length)[n],display:"flex",alignItems:"center",justifyContent:"center",color:c.text.primary,fontSize:11,fontWeight:600,flexShrink:0},children:n+1}),e.jsx("span",{style:{color:c.text.primary,fontSize:14,fontWeight:500},children:t.name})]}),t.lastActivity&&e.jsxs("div",{style:{fontSize:12,color:c.text.muted,marginLeft:28},children:["Last: ",t.lastActivity]})]}),e.jsx("div",{style:{padding:"4px 10px",borderRadius:12,backgroundColor:"".concat(c.text.inverted,"1f"),color:c.text.muted,fontSize:13,fontWeight:600,minWidth:40,textAlign:"center"},children:t.count})]},t.id)})})})},exports.WidgetContainer=gs,exports.getBaseTheme=function(){return"light"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"dark")?S:T},exports.getTheme=j,exports.resetTheme=k,exports.setCustomTheme=C,exports.setCustomThemes=function(e){e.light&&C("light",e.light),e.dark&&C("dark",e.dark)},exports.useAppTheme=P,exports.useThemeStore=E;
|