matterbridge 3.4.0 → 3.4.1-dev-20251127-826b2bf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +128 -112
- package/README-DEV.md +2 -2
- package/README-DOCKER.md +1 -1
- package/README-MACOS-PLIST.md +1 -1
- package/README-NGINX.md +1 -1
- package/README-PODMAN.md +1 -1
- package/README-SERVICE-LOCAL.md +1 -1
- package/README-SERVICE-OPT.md +6 -1
- package/README-SERVICE.md +1 -1
- package/README.md +57 -49
- package/dist/broadcastServer.js +1 -93
- package/dist/broadcastServerTypes.js +0 -24
- package/dist/cli.js +1 -97
- package/dist/cliEmitter.js +0 -37
- package/dist/cliHistory.js +0 -38
- package/dist/clusters/export.js +0 -2
- package/dist/defaultConfigSchema.js +0 -24
- package/dist/deviceManager.js +1 -113
- package/dist/devices/airConditioner.js +0 -57
- package/dist/devices/batteryStorage.js +1 -48
- package/dist/devices/cooktop.js +0 -56
- package/dist/devices/dishwasher.js +0 -57
- package/dist/devices/evse.js +10 -74
- package/dist/devices/export.js +0 -5
- package/dist/devices/extractorHood.js +0 -43
- package/dist/devices/heatPump.js +2 -50
- package/dist/devices/laundryDryer.js +3 -62
- package/dist/devices/laundryWasher.js +4 -70
- package/dist/devices/microwaveOven.js +5 -88
- package/dist/devices/oven.js +0 -85
- package/dist/devices/refrigerator.js +0 -102
- package/dist/devices/roboticVacuumCleaner.js +9 -100
- package/dist/devices/solarPower.js +0 -38
- package/dist/devices/speaker.js +0 -84
- package/dist/devices/temperatureControl.js +3 -24
- package/dist/devices/waterHeater.js +2 -82
- package/dist/dgram/coap.js +13 -126
- package/dist/dgram/dgram.js +2 -114
- package/dist/dgram/mb_coap.js +3 -41
- package/dist/dgram/mb_mdns.js +15 -80
- package/dist/dgram/mdns.js +137 -299
- package/dist/dgram/multicast.js +1 -62
- package/dist/dgram/unicast.js +0 -54
- package/dist/frontend.js +35 -455
- package/dist/frontendTypes.js +0 -45
- package/dist/helpers.js +0 -53
- package/dist/index.js +0 -25
- package/dist/jestutils/export.js +0 -1
- package/dist/jestutils/jestHelpers.js +13 -352
- package/dist/logger/export.js +0 -1
- package/dist/matter/behaviors.js +0 -2
- package/dist/matter/clusters.js +0 -2
- package/dist/matter/devices.js +0 -2
- package/dist/matter/endpoints.js +0 -2
- package/dist/matter/export.js +0 -3
- package/dist/matter/types.js +0 -3
- package/dist/matterNode.js +8 -369
- package/dist/matterbridge.js +74 -788
- package/dist/matterbridgeAccessoryPlatform.js +0 -38
- package/dist/matterbridgeBehaviors.js +5 -68
- package/dist/matterbridgeDeviceTypes.js +14 -635
- package/dist/matterbridgeDynamicPlatform.js +0 -38
- package/dist/matterbridgeEndpoint.js +53 -1444
- package/dist/matterbridgeEndpointHelpers.js +20 -483
- package/dist/matterbridgeEndpointTypes.js +0 -25
- package/dist/matterbridgePlatform.js +2 -460
- package/dist/matterbridgeTypes.js +0 -26
- package/dist/pluginManager.js +5 -340
- package/dist/shelly.js +7 -168
- package/dist/storage/export.js +0 -1
- package/dist/update.js +0 -69
- package/dist/utils/colorUtils.js +2 -97
- package/dist/utils/commandLine.js +0 -60
- package/dist/utils/copyDirectory.js +0 -37
- package/dist/utils/createDirectory.js +0 -33
- package/dist/utils/createZip.js +2 -47
- package/dist/utils/deepCopy.js +0 -39
- package/dist/utils/deepEqual.js +1 -72
- package/dist/utils/error.js +0 -41
- package/dist/utils/export.js +0 -1
- package/dist/utils/format.js +0 -49
- package/dist/utils/hex.js +0 -124
- package/dist/utils/inspector.js +1 -69
- package/dist/utils/isvalid.js +0 -101
- package/dist/utils/network.js +5 -96
- package/dist/utils/spawn.js +1 -71
- package/dist/utils/tracker.js +1 -64
- package/dist/utils/wait.js +8 -60
- package/frontend/build/assets/index.js +4 -4
- package/frontend/build/assets/vendor_mui.js +1 -1
- package/frontend/build/assets/vendor_node_modules.js +19 -83
- package/frontend/build/assets/vendor_qrcode.js +1 -9
- package/frontend/build/assets/vendor_rjsf.js +1 -9
- package/frontend/package-lock.json +229 -439
- package/frontend/package.json +15 -15
- package/marked.ps1 +15 -0
- package/npm-shrinkwrap.json +165 -231
- package/package.json +2 -3
- package/dist/broadcastServer.d.ts +0 -115
- package/dist/broadcastServer.d.ts.map +0 -1
- package/dist/broadcastServer.js.map +0 -1
- package/dist/broadcastServerTypes.d.ts +0 -838
- package/dist/broadcastServerTypes.d.ts.map +0 -1
- package/dist/broadcastServerTypes.js.map +0 -1
- package/dist/cli.d.ts +0 -30
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/cliEmitter.d.ts +0 -50
- package/dist/cliEmitter.d.ts.map +0 -1
- package/dist/cliEmitter.js.map +0 -1
- package/dist/cliHistory.d.ts +0 -48
- package/dist/cliHistory.d.ts.map +0 -1
- package/dist/cliHistory.js.map +0 -1
- package/dist/clusters/export.d.ts +0 -2
- package/dist/clusters/export.d.ts.map +0 -1
- package/dist/clusters/export.js.map +0 -1
- package/dist/defaultConfigSchema.d.ts +0 -28
- package/dist/defaultConfigSchema.d.ts.map +0 -1
- package/dist/defaultConfigSchema.js.map +0 -1
- package/dist/deviceManager.d.ts +0 -135
- package/dist/deviceManager.d.ts.map +0 -1
- package/dist/deviceManager.js.map +0 -1
- package/dist/devices/airConditioner.d.ts +0 -98
- package/dist/devices/airConditioner.d.ts.map +0 -1
- package/dist/devices/airConditioner.js.map +0 -1
- package/dist/devices/batteryStorage.d.ts +0 -48
- package/dist/devices/batteryStorage.d.ts.map +0 -1
- package/dist/devices/batteryStorage.js.map +0 -1
- package/dist/devices/cooktop.d.ts +0 -61
- package/dist/devices/cooktop.d.ts.map +0 -1
- package/dist/devices/cooktop.js.map +0 -1
- package/dist/devices/dishwasher.d.ts +0 -71
- package/dist/devices/dishwasher.d.ts.map +0 -1
- package/dist/devices/dishwasher.js.map +0 -1
- package/dist/devices/evse.d.ts +0 -76
- package/dist/devices/evse.d.ts.map +0 -1
- package/dist/devices/evse.js.map +0 -1
- package/dist/devices/export.d.ts +0 -17
- package/dist/devices/export.d.ts.map +0 -1
- package/dist/devices/export.js.map +0 -1
- package/dist/devices/extractorHood.d.ts +0 -46
- package/dist/devices/extractorHood.d.ts.map +0 -1
- package/dist/devices/extractorHood.js.map +0 -1
- package/dist/devices/heatPump.d.ts +0 -47
- package/dist/devices/heatPump.d.ts.map +0 -1
- package/dist/devices/heatPump.js.map +0 -1
- package/dist/devices/laundryDryer.d.ts +0 -67
- package/dist/devices/laundryDryer.d.ts.map +0 -1
- package/dist/devices/laundryDryer.js.map +0 -1
- package/dist/devices/laundryWasher.d.ts +0 -81
- package/dist/devices/laundryWasher.d.ts.map +0 -1
- package/dist/devices/laundryWasher.js.map +0 -1
- package/dist/devices/microwaveOven.d.ts +0 -168
- package/dist/devices/microwaveOven.d.ts.map +0 -1
- package/dist/devices/microwaveOven.js.map +0 -1
- package/dist/devices/oven.d.ts +0 -105
- package/dist/devices/oven.d.ts.map +0 -1
- package/dist/devices/oven.js.map +0 -1
- package/dist/devices/refrigerator.d.ts +0 -118
- package/dist/devices/refrigerator.d.ts.map +0 -1
- package/dist/devices/refrigerator.js.map +0 -1
- package/dist/devices/roboticVacuumCleaner.d.ts +0 -112
- package/dist/devices/roboticVacuumCleaner.d.ts.map +0 -1
- package/dist/devices/roboticVacuumCleaner.js.map +0 -1
- package/dist/devices/solarPower.d.ts +0 -40
- package/dist/devices/solarPower.d.ts.map +0 -1
- package/dist/devices/solarPower.js.map +0 -1
- package/dist/devices/speaker.d.ts +0 -87
- package/dist/devices/speaker.d.ts.map +0 -1
- package/dist/devices/speaker.js.map +0 -1
- package/dist/devices/temperatureControl.d.ts +0 -166
- package/dist/devices/temperatureControl.d.ts.map +0 -1
- package/dist/devices/temperatureControl.js.map +0 -1
- package/dist/devices/waterHeater.d.ts +0 -111
- package/dist/devices/waterHeater.d.ts.map +0 -1
- package/dist/devices/waterHeater.js.map +0 -1
- package/dist/dgram/coap.d.ts +0 -205
- package/dist/dgram/coap.d.ts.map +0 -1
- package/dist/dgram/coap.js.map +0 -1
- package/dist/dgram/dgram.d.ts +0 -141
- package/dist/dgram/dgram.d.ts.map +0 -1
- package/dist/dgram/dgram.js.map +0 -1
- package/dist/dgram/mb_coap.d.ts +0 -24
- package/dist/dgram/mb_coap.d.ts.map +0 -1
- package/dist/dgram/mb_coap.js.map +0 -1
- package/dist/dgram/mb_mdns.d.ts +0 -24
- package/dist/dgram/mb_mdns.d.ts.map +0 -1
- package/dist/dgram/mb_mdns.js.map +0 -1
- package/dist/dgram/mdns.d.ts +0 -290
- package/dist/dgram/mdns.d.ts.map +0 -1
- package/dist/dgram/mdns.js.map +0 -1
- package/dist/dgram/multicast.d.ts +0 -67
- package/dist/dgram/multicast.d.ts.map +0 -1
- package/dist/dgram/multicast.js.map +0 -1
- package/dist/dgram/unicast.d.ts +0 -56
- package/dist/dgram/unicast.d.ts.map +0 -1
- package/dist/dgram/unicast.js.map +0 -1
- package/dist/frontend.d.ts +0 -238
- package/dist/frontend.d.ts.map +0 -1
- package/dist/frontend.js.map +0 -1
- package/dist/frontendTypes.d.ts +0 -529
- package/dist/frontendTypes.d.ts.map +0 -1
- package/dist/frontendTypes.js.map +0 -1
- package/dist/helpers.d.ts +0 -48
- package/dist/helpers.d.ts.map +0 -1
- package/dist/helpers.js.map +0 -1
- package/dist/index.d.ts +0 -34
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/jestutils/export.d.ts +0 -2
- package/dist/jestutils/export.d.ts.map +0 -1
- package/dist/jestutils/export.js.map +0 -1
- package/dist/jestutils/jestHelpers.d.ts +0 -303
- package/dist/jestutils/jestHelpers.d.ts.map +0 -1
- package/dist/jestutils/jestHelpers.js.map +0 -1
- package/dist/logger/export.d.ts +0 -2
- package/dist/logger/export.d.ts.map +0 -1
- package/dist/logger/export.js.map +0 -1
- package/dist/matter/behaviors.d.ts +0 -2
- package/dist/matter/behaviors.d.ts.map +0 -1
- package/dist/matter/behaviors.js.map +0 -1
- package/dist/matter/clusters.d.ts +0 -2
- package/dist/matter/clusters.d.ts.map +0 -1
- package/dist/matter/clusters.js.map +0 -1
- package/dist/matter/devices.d.ts +0 -2
- package/dist/matter/devices.d.ts.map +0 -1
- package/dist/matter/devices.js.map +0 -1
- package/dist/matter/endpoints.d.ts +0 -2
- package/dist/matter/endpoints.d.ts.map +0 -1
- package/dist/matter/endpoints.js.map +0 -1
- package/dist/matter/export.d.ts +0 -5
- package/dist/matter/export.d.ts.map +0 -1
- package/dist/matter/export.js.map +0 -1
- package/dist/matter/types.d.ts +0 -3
- package/dist/matter/types.d.ts.map +0 -1
- package/dist/matter/types.js.map +0 -1
- package/dist/matterNode.d.ts +0 -342
- package/dist/matterNode.d.ts.map +0 -1
- package/dist/matterNode.js.map +0 -1
- package/dist/matterbridge.d.ts +0 -473
- package/dist/matterbridge.d.ts.map +0 -1
- package/dist/matterbridge.js.map +0 -1
- package/dist/matterbridgeAccessoryPlatform.d.ts +0 -41
- package/dist/matterbridgeAccessoryPlatform.d.ts.map +0 -1
- package/dist/matterbridgeAccessoryPlatform.js.map +0 -1
- package/dist/matterbridgeBehaviors.d.ts +0 -2404
- package/dist/matterbridgeBehaviors.d.ts.map +0 -1
- package/dist/matterbridgeBehaviors.js.map +0 -1
- package/dist/matterbridgeDeviceTypes.d.ts +0 -698
- package/dist/matterbridgeDeviceTypes.d.ts.map +0 -1
- package/dist/matterbridgeDeviceTypes.js.map +0 -1
- package/dist/matterbridgeDynamicPlatform.d.ts +0 -41
- package/dist/matterbridgeDynamicPlatform.d.ts.map +0 -1
- package/dist/matterbridgeDynamicPlatform.js.map +0 -1
- package/dist/matterbridgeEndpoint.d.ts +0 -1507
- package/dist/matterbridgeEndpoint.d.ts.map +0 -1
- package/dist/matterbridgeEndpoint.js.map +0 -1
- package/dist/matterbridgeEndpointHelpers.d.ts +0 -787
- package/dist/matterbridgeEndpointHelpers.d.ts.map +0 -1
- package/dist/matterbridgeEndpointHelpers.js.map +0 -1
- package/dist/matterbridgeEndpointTypes.d.ts +0 -166
- package/dist/matterbridgeEndpointTypes.d.ts.map +0 -1
- package/dist/matterbridgeEndpointTypes.js.map +0 -1
- package/dist/matterbridgePlatform.d.ts +0 -524
- package/dist/matterbridgePlatform.d.ts.map +0 -1
- package/dist/matterbridgePlatform.js.map +0 -1
- package/dist/matterbridgeTypes.d.ts +0 -251
- package/dist/matterbridgeTypes.d.ts.map +0 -1
- package/dist/matterbridgeTypes.js.map +0 -1
- package/dist/pluginManager.d.ts +0 -371
- package/dist/pluginManager.d.ts.map +0 -1
- package/dist/pluginManager.js.map +0 -1
- package/dist/shelly.d.ts +0 -174
- package/dist/shelly.d.ts.map +0 -1
- package/dist/shelly.js.map +0 -1
- package/dist/storage/export.d.ts +0 -2
- package/dist/storage/export.d.ts.map +0 -1
- package/dist/storage/export.js.map +0 -1
- package/dist/update.d.ts +0 -75
- package/dist/update.d.ts.map +0 -1
- package/dist/update.js.map +0 -1
- package/dist/utils/colorUtils.d.ts +0 -101
- package/dist/utils/colorUtils.d.ts.map +0 -1
- package/dist/utils/colorUtils.js.map +0 -1
- package/dist/utils/commandLine.d.ts +0 -66
- package/dist/utils/commandLine.d.ts.map +0 -1
- package/dist/utils/commandLine.js.map +0 -1
- package/dist/utils/copyDirectory.d.ts +0 -35
- package/dist/utils/copyDirectory.d.ts.map +0 -1
- package/dist/utils/copyDirectory.js.map +0 -1
- package/dist/utils/createDirectory.d.ts +0 -34
- package/dist/utils/createDirectory.d.ts.map +0 -1
- package/dist/utils/createDirectory.js.map +0 -1
- package/dist/utils/createZip.d.ts +0 -39
- package/dist/utils/createZip.d.ts.map +0 -1
- package/dist/utils/createZip.js.map +0 -1
- package/dist/utils/deepCopy.d.ts +0 -32
- package/dist/utils/deepCopy.d.ts.map +0 -1
- package/dist/utils/deepCopy.js.map +0 -1
- package/dist/utils/deepEqual.d.ts +0 -54
- package/dist/utils/deepEqual.d.ts.map +0 -1
- package/dist/utils/deepEqual.js.map +0 -1
- package/dist/utils/error.d.ts +0 -44
- package/dist/utils/error.d.ts.map +0 -1
- package/dist/utils/error.js.map +0 -1
- package/dist/utils/export.d.ts +0 -13
- package/dist/utils/export.d.ts.map +0 -1
- package/dist/utils/export.js.map +0 -1
- package/dist/utils/format.d.ts +0 -53
- package/dist/utils/format.d.ts.map +0 -1
- package/dist/utils/format.js.map +0 -1
- package/dist/utils/hex.d.ts +0 -89
- package/dist/utils/hex.d.ts.map +0 -1
- package/dist/utils/hex.js.map +0 -1
- package/dist/utils/inspector.d.ts +0 -87
- package/dist/utils/inspector.d.ts.map +0 -1
- package/dist/utils/inspector.js.map +0 -1
- package/dist/utils/isvalid.d.ts +0 -103
- package/dist/utils/isvalid.d.ts.map +0 -1
- package/dist/utils/isvalid.js.map +0 -1
- package/dist/utils/network.d.ts +0 -111
- package/dist/utils/network.d.ts.map +0 -1
- package/dist/utils/network.js.map +0 -1
- package/dist/utils/spawn.d.ts +0 -33
- package/dist/utils/spawn.d.ts.map +0 -1
- package/dist/utils/spawn.js.map +0 -1
- package/dist/utils/tracker.d.ts +0 -108
- package/dist/utils/tracker.d.ts.map +0 -1
- package/dist/utils/tracker.js.map +0 -1
- package/dist/utils/wait.d.ts +0 -54
- package/dist/utils/wait.d.ts.map +0 -1
- package/dist/utils/wait.js.map +0 -1
|
@@ -32,7 +32,7 @@ const theme = ${JSON.stringify(t,null,2)};
|
|
|
32
32
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
33
33
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
34
34
|
|
|
35
|
-
export default theme;`}function Yr(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const ml=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let o=0;for(let r=0;r<t.length;r+=1)o+=+t[r];return o};function hl(e){Object.assign(e,{alpha(t,o){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof o=="string"?`calc(${o})`:o})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof o=="string"?`calc(${o})`:o})`:go(t,ml(o))},lighten(t,o){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Yr(o)})`:Eo(t,o)},darken(t,o){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Yr(o)})`:Lo(t,o)}})}function Jo(e={},...t){const{breakpoints:o,mixins:r={},spacing:n,palette:s={},transitions:i={},typography:a={},shape:c,colorSpace:u,...f}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(at(20));const h=xr({...s,colorSpace:u}),g=To(e);let y=Fe(g,{mixins:ol(g.breakpoints,r),palette:h,shadows:al.slice(),typography:Qn(h,a),transitions:ul(i),zIndex:{...pl}});return y=Fe(y,f),y=t.reduce((m,w)=>Fe(m,w),y),y.unstable_sxConfig={...oo,...f?.unstable_sxConfig},y.unstable_sx=function(w){return ft({sx:w,theme:this})},y.toRuntimeSource=Zn,hl(y),y}function er(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const gl=[...Array(25)].map((e,t)=>{if(t===0)return"none";const o=er(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function Jn(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function es(e){return e==="dark"?gl:[]}function yl(e){const{palette:t={mode:"light"},opacity:o,overlays:r,colorSpace:n,...s}=e,i=xr({...t,colorSpace:n});return{palette:i,opacity:{...Jn(i.mode),...o},overlays:r||es(i.mode),...s}}function bl(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const vl=e=>[...[...Array(25)].map((t,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],xl=e=>(t,o)=>{const r=e.rootSelector||":root",n=e.colorSchemeSelector;let s=n;if(n==="class"&&(s=".%s"),n==="data"&&(s="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(s=`[${n}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return vl(e.cssVarPrefix).forEach(a=>{i[a]=o[a],delete o[a]}),s==="media"?{[r]:o,"@media (prefers-color-scheme: dark)":{[r]:i}}:s?{[s.replace("%s",t)]:i,[`${r}, ${s.replace("%s",t)}`]:o}:{[r]:{...o,...i}}}if(s&&s!=="media")return`${r}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:o}};if(s)return s.replace("%s",String(t))}return r};function Sl(e,t){t.forEach(o=>{e[o]||(e[o]={})})}function E(e,t,o){!e[t]&&o&&(e[t]=o)}function Ut(e){return typeof e!="string"||!e.startsWith("hsl")?e:Wn(e)}function nt(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Vt(Ut(e[t])))}function Cl(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Je=e=>{try{return e()}catch{}},wl=(e="mui")=>Ia(e);function Go(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;const s=n==="dark"?"dark":"light";if(!r){t[n]=yl({...o,palette:{mode:s,...o?.palette},colorSpace:e});return}const{palette:i,...a}=Jo({...r,palette:{mode:s,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...Jn(s),...o?.opacity},overlays:o?.overlays||es(s)},a}function Pl(e={},...t){const{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:s="mui",nativeColor:i=!1,shouldSkipGeneratingVar:a=bl,colorSchemeSelector:c=o.light&&o.dark?"media":void 0,rootSelector:u=":root",...f}=e,h=Object.keys(o)[0],g=r||(o.light&&h!=="light"?"light":h),y=wl(s),{[g]:m,light:w,dark:x,...C}=o,R={...C};let v=m;if((g==="dark"&&!("dark"in o)||g==="light"&&!("light"in o))&&(v=!0),!v)throw new Error(at(21,g));let b;i&&(b="oklch");const k=Go(b,R,v,f,g);w&&!R.light&&Go(b,R,w,void 0,"light"),x&&!R.dark&&Go(b,R,x,void 0,"dark");let S={defaultColorScheme:g,...k,cssVarPrefix:s,colorSchemeSelector:c,rootSelector:u,getCssVar:y,colorSchemes:R,font:{...tl(k.typography),...k.font},spacing:Cl(f.spacing)};Object.keys(S.colorSchemes).forEach(A=>{const l=S.colorSchemes[A].palette,I=M=>{const L=M.split("-"),F=L[1],W=L[2];return y(M,l[F][W])};l.mode==="light"&&(E(l.common,"background","#fff"),E(l.common,"onBackground","#000")),l.mode==="dark"&&(E(l.common,"background","#000"),E(l.common,"onBackground","#fff"));function P(M,L,F){if(b){let W;return M===yt&&(W=`transparent ${((1-F)*100).toFixed(0)}%`),M===he&&(W=`#000 ${(F*100).toFixed(0)}%`),M===ge&&(W=`#fff ${(F*100).toFixed(0)}%`),`color-mix(in ${b}, ${L}, ${W})`}return M(L,F)}if(Sl(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){E(l.Alert,"errorColor",P(he,l.error.light,.6)),E(l.Alert,"infoColor",P(he,l.info.light,.6)),E(l.Alert,"successColor",P(he,l.success.light,.6)),E(l.Alert,"warningColor",P(he,l.warning.light,.6)),E(l.Alert,"errorFilledBg",I("palette-error-main")),E(l.Alert,"infoFilledBg",I("palette-info-main")),E(l.Alert,"successFilledBg",I("palette-success-main")),E(l.Alert,"warningFilledBg",I("palette-warning-main")),E(l.Alert,"errorFilledColor",Je(()=>l.getContrastText(l.error.main))),E(l.Alert,"infoFilledColor",Je(()=>l.getContrastText(l.info.main))),E(l.Alert,"successFilledColor",Je(()=>l.getContrastText(l.success.main))),E(l.Alert,"warningFilledColor",Je(()=>l.getContrastText(l.warning.main))),E(l.Alert,"errorStandardBg",P(ge,l.error.light,.9)),E(l.Alert,"infoStandardBg",P(ge,l.info.light,.9)),E(l.Alert,"successStandardBg",P(ge,l.success.light,.9)),E(l.Alert,"warningStandardBg",P(ge,l.warning.light,.9)),E(l.Alert,"errorIconColor",I("palette-error-main")),E(l.Alert,"infoIconColor",I("palette-info-main")),E(l.Alert,"successIconColor",I("palette-success-main")),E(l.Alert,"warningIconColor",I("palette-warning-main")),E(l.AppBar,"defaultBg",I("palette-grey-100")),E(l.Avatar,"defaultBg",I("palette-grey-400")),E(l.Button,"inheritContainedBg",I("palette-grey-300")),E(l.Button,"inheritContainedHoverBg",I("palette-grey-A100")),E(l.Chip,"defaultBorder",I("palette-grey-400")),E(l.Chip,"defaultAvatarColor",I("palette-grey-700")),E(l.Chip,"defaultIconColor",I("palette-grey-700")),E(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),E(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),E(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),E(l.LinearProgress,"primaryBg",P(ge,l.primary.main,.62)),E(l.LinearProgress,"secondaryBg",P(ge,l.secondary.main,.62)),E(l.LinearProgress,"errorBg",P(ge,l.error.main,.62)),E(l.LinearProgress,"infoBg",P(ge,l.info.main,.62)),E(l.LinearProgress,"successBg",P(ge,l.success.main,.62)),E(l.LinearProgress,"warningBg",P(ge,l.warning.main,.62)),E(l.Skeleton,"bg",b?P(yt,l.text.primary,.11):`rgba(${I("palette-text-primaryChannel")} / 0.11)`),E(l.Slider,"primaryTrack",P(ge,l.primary.main,.62)),E(l.Slider,"secondaryTrack",P(ge,l.secondary.main,.62)),E(l.Slider,"errorTrack",P(ge,l.error.main,.62)),E(l.Slider,"infoTrack",P(ge,l.info.main,.62)),E(l.Slider,"successTrack",P(ge,l.success.main,.62)),E(l.Slider,"warningTrack",P(ge,l.warning.main,.62));const M=b?P(he,l.background.default,.6825):io(l.background.default,.8);E(l.SnackbarContent,"bg",M),E(l.SnackbarContent,"color",Je(()=>b?Zo.text.primary:l.getContrastText(M))),E(l.SpeedDialAction,"fabHoverBg",io(l.background.paper,.15)),E(l.StepConnector,"border",I("palette-grey-400")),E(l.StepContent,"border",I("palette-grey-400")),E(l.Switch,"defaultColor",I("palette-common-white")),E(l.Switch,"defaultDisabledColor",I("palette-grey-100")),E(l.Switch,"primaryDisabledColor",P(ge,l.primary.main,.62)),E(l.Switch,"secondaryDisabledColor",P(ge,l.secondary.main,.62)),E(l.Switch,"errorDisabledColor",P(ge,l.error.main,.62)),E(l.Switch,"infoDisabledColor",P(ge,l.info.main,.62)),E(l.Switch,"successDisabledColor",P(ge,l.success.main,.62)),E(l.Switch,"warningDisabledColor",P(ge,l.warning.main,.62)),E(l.TableCell,"border",P(ge,P(yt,l.divider,1),.88)),E(l.Tooltip,"bg",P(yt,l.grey[700],.92))}if(l.mode==="dark"){E(l.Alert,"errorColor",P(ge,l.error.light,.6)),E(l.Alert,"infoColor",P(ge,l.info.light,.6)),E(l.Alert,"successColor",P(ge,l.success.light,.6)),E(l.Alert,"warningColor",P(ge,l.warning.light,.6)),E(l.Alert,"errorFilledBg",I("palette-error-dark")),E(l.Alert,"infoFilledBg",I("palette-info-dark")),E(l.Alert,"successFilledBg",I("palette-success-dark")),E(l.Alert,"warningFilledBg",I("palette-warning-dark")),E(l.Alert,"errorFilledColor",Je(()=>l.getContrastText(l.error.dark))),E(l.Alert,"infoFilledColor",Je(()=>l.getContrastText(l.info.dark))),E(l.Alert,"successFilledColor",Je(()=>l.getContrastText(l.success.dark))),E(l.Alert,"warningFilledColor",Je(()=>l.getContrastText(l.warning.dark))),E(l.Alert,"errorStandardBg",P(he,l.error.light,.9)),E(l.Alert,"infoStandardBg",P(he,l.info.light,.9)),E(l.Alert,"successStandardBg",P(he,l.success.light,.9)),E(l.Alert,"warningStandardBg",P(he,l.warning.light,.9)),E(l.Alert,"errorIconColor",I("palette-error-main")),E(l.Alert,"infoIconColor",I("palette-info-main")),E(l.Alert,"successIconColor",I("palette-success-main")),E(l.Alert,"warningIconColor",I("palette-warning-main")),E(l.AppBar,"defaultBg",I("palette-grey-900")),E(l.AppBar,"darkBg",I("palette-background-paper")),E(l.AppBar,"darkColor",I("palette-text-primary")),E(l.Avatar,"defaultBg",I("palette-grey-600")),E(l.Button,"inheritContainedBg",I("palette-grey-800")),E(l.Button,"inheritContainedHoverBg",I("palette-grey-700")),E(l.Chip,"defaultBorder",I("palette-grey-700")),E(l.Chip,"defaultAvatarColor",I("palette-grey-300")),E(l.Chip,"defaultIconColor",I("palette-grey-300")),E(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),E(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),E(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),E(l.LinearProgress,"primaryBg",P(he,l.primary.main,.5)),E(l.LinearProgress,"secondaryBg",P(he,l.secondary.main,.5)),E(l.LinearProgress,"errorBg",P(he,l.error.main,.5)),E(l.LinearProgress,"infoBg",P(he,l.info.main,.5)),E(l.LinearProgress,"successBg",P(he,l.success.main,.5)),E(l.LinearProgress,"warningBg",P(he,l.warning.main,.5)),E(l.Skeleton,"bg",b?P(yt,l.text.primary,.13):`rgba(${I("palette-text-primaryChannel")} / 0.13)`),E(l.Slider,"primaryTrack",P(he,l.primary.main,.5)),E(l.Slider,"secondaryTrack",P(he,l.secondary.main,.5)),E(l.Slider,"errorTrack",P(he,l.error.main,.5)),E(l.Slider,"infoTrack",P(he,l.info.main,.5)),E(l.Slider,"successTrack",P(he,l.success.main,.5)),E(l.Slider,"warningTrack",P(he,l.warning.main,.5));const M=b?P(ge,l.background.default,.985):io(l.background.default,.98);E(l.SnackbarContent,"bg",M),E(l.SnackbarContent,"color",Je(()=>b?Yn.text.primary:l.getContrastText(M))),E(l.SpeedDialAction,"fabHoverBg",io(l.background.paper,.15)),E(l.StepConnector,"border",I("palette-grey-600")),E(l.StepContent,"border",I("palette-grey-600")),E(l.Switch,"defaultColor",I("palette-grey-300")),E(l.Switch,"defaultDisabledColor",I("palette-grey-600")),E(l.Switch,"primaryDisabledColor",P(he,l.primary.main,.55)),E(l.Switch,"secondaryDisabledColor",P(he,l.secondary.main,.55)),E(l.Switch,"errorDisabledColor",P(he,l.error.main,.55)),E(l.Switch,"infoDisabledColor",P(he,l.info.main,.55)),E(l.Switch,"successDisabledColor",P(he,l.success.main,.55)),E(l.Switch,"warningDisabledColor",P(he,l.warning.main,.55)),E(l.TableCell,"border",P(he,P(yt,l.divider,1),.68)),E(l.Tooltip,"bg",P(yt,l.grey[700],.92))}nt(l.background,"default"),nt(l.background,"paper"),nt(l.common,"background"),nt(l.common,"onBackground"),nt(l,"divider"),Object.keys(l).forEach(M=>{const L=l[M];M!=="tonalOffset"&&L&&typeof L=="object"&&(L.main&&E(l[M],"mainChannel",Vt(Ut(L.main))),L.light&&E(l[M],"lightChannel",Vt(Ut(L.light))),L.dark&&E(l[M],"darkChannel",Vt(Ut(L.dark))),L.contrastText&&E(l[M],"contrastTextChannel",Vt(Ut(L.contrastText))),M==="text"&&(nt(l[M],"primary"),nt(l[M],"secondary")),M==="action"&&(L.active&&nt(l[M],"active"),L.selected&&nt(l[M],"selected")))})}),S=t.reduce((A,l)=>Fe(A,l),S);const B={prefix:s,disableCssColorScheme:n,shouldSkipGeneratingVar:a,getSelector:xl(S),enableContrastVars:i},{vars:$,generateThemeVars:T,generateStyleSheets:z}=Ta(S,B);return S.vars=$,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([A,l])=>{S[A]=l}),S.generateThemeVars=T,S.generateStyleSheets=z,S.generateSpacing=function(){return jn(f.spacing,ur(this))},S.getColorSchemeSelector=za(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=a,S.unstable_sxConfig={...oo,...f?.unstable_sxConfig},S.unstable_sx=function(l){return ft({sx:l,theme:this})},S.toRuntimeSource=Zn,S}function Xr(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:xr({...o===!0?{}:o.palette,mode:t})})}function Sr(e={},...t){const{palette:o,cssVariables:r=!1,colorSchemes:n=o?void 0:{light:!0},defaultColorScheme:s=o?.mode,...i}=e,a=s||"light",c=n?.[a],u={...n,...o?{[a]:{...typeof c!="boolean"&&c,palette:o}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Jo(e,...t);let f=o;"palette"in e||u[a]&&(u[a]!==!0?f=u[a].palette:a==="dark"&&(f={mode:"dark"}));const h=Jo({...e,palette:f},...t);return h.defaultColorScheme=a,h.colorSchemes=u,h.palette.mode==="light"&&(h.colorSchemes.light={...u.light!==!0&&u.light,palette:h.palette},Xr(h,"dark",u.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:h.palette},Xr(h,"light",u.light)),h}return!o&&!("light"in u)&&a==="light"&&(u.light=!0),Pl({...i,colorSchemes:u,defaultColorScheme:a,...typeof r!="boolean"&&r},...t)}const Cr=Sr();function Bt(){const e=ro(Cr);return e[ot]||e}function ts(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Oe=e=>ts(e)&&e!=="classes",O=Hn({themeId:ot,defaultTheme:Cr,rootShouldForwardProp:Oe});function Rl({theme:e,...t}){const o=ot in e?e[ot]:void 0;return p.jsx(Kn,{...t,themeId:o?ot:void 0,theme:o||e})}const ao={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:kl}=ka({themeId:ot,theme:()=>Sr({cssVariables:!0}),colorSchemeStorageKey:ao.colorSchemeStorageKey,modeStorageKey:ao.modeStorageKey,defaultColorScheme:{light:ao.defaultLightColorScheme,dark:ao.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Qn(e.palette,e.typography)};return t.unstable_sx=function(r){return ft({sx:r,theme:this})},t}}),Il=kl;function xf({theme:e,...t}){const o=d.useMemo(()=>{if(typeof e=="function")return e;const r=ot in e?e[ot]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?p.jsx(Rl,{theme:o,...t}):p.jsx(Il,{theme:e,...t})}function tr(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}function Ml(e){return p.jsx(On,{...e,defaultTheme:Cr,themeId:ot})}function $l(e){return function(o){return p.jsx(Ml,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}function Tl(){return mr}const oe=ba;function te(e){return ma(e)}function zl(e){return q("MuiSvgIcon",e)}Y("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ll=e=>{const{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${D(t)}`,`fontSize${D(o)}`]};return X(n,zl,r)},El=O("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${D(o.color)}`],t[`fontSize${D(o.fontSize)}`]]}})(oe(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),or=d.forwardRef(function(t,o){const r=te({props:t,name:"MuiSvgIcon"}),{children:n,className:s,color:i="inherit",component:a="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:h,viewBox:g="0 0 24 24",...y}=r,m=d.isValidElement(n)&&n.type==="svg",w={...r,color:i,component:a,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:g,hasSvgAsChild:m},x={};f||(x.viewBox=g);const C=Ll(w);return p.jsxs(El,{as:a,className:H(C.root,s),focusable:"false",color:u,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:o,...x,...y,...m&&n.props,ownerState:w,children:[m?n.props.children:n,h?p.jsx("title",{children:h}):null]})});or.muiName="SvgIcon";function N(e,t){function o(r,n){return p.jsx(or,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=or.muiName,d.memo(d.forwardRef(o))}function os(e,t=166){let o;function r(...n){const s=()=>{e.apply(this,n)};clearTimeout(o),o=setTimeout(s,t)}return r.clear=()=>{clearTimeout(o)},r}function Ve(e){return e&&e.ownerDocument||document}function ct(e){return Ve(e).defaultView||window}function Qr(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Zt(e){const{controlled:t,default:o,name:r,state:n="value"}=e,{current:s}=d.useRef(t!==void 0),[i,a]=d.useState(o),c=s?t:i,u=d.useCallback(f=>{s||a(f)},[]);return[c,u]}function it(e){const t=d.useRef(e);return We(()=>{t.current=e}),d.useRef((...o)=>(0,t.current)(...o)).current}function ze(...e){const t=d.useRef(void 0),o=d.useCallback(r=>{const n=e.map(s=>{if(s==null)return null;if(typeof s=="function"){const i=s,a=i(r);return typeof a=="function"?a:()=>{i(null)}}return s.current=r,()=>{s.current=null}});return()=>{n.forEach(s=>s?.())}},e);return d.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}function Al(e,t){const o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function rs(e,t){if(!e)return t;function o(i,a){const c={};return Object.keys(a).forEach(u=>{Al(u,a[u])&&typeof i[u]=="function"&&(c[u]=(...f)=>{i[u](...f),a[u](...f)})}),c}if(typeof e=="function"||typeof t=="function")return i=>{const a=typeof t=="function"?t(i):t,c=typeof e=="function"?e({...i,...a}):e,u=H(i?.className,a?.className,c?.className),f=o(c,a);return{...a,...c,...f,...!!u&&{className:u},...a?.style&&c?.style&&{style:{...a.style,...c.style}},...a?.sx&&c?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(c.sx)?c.sx:[c.sx]]}}};const r=t,n=o(e,r),s=H(r?.className,e?.className);return{...t,...e,...n,...!!s&&{className:s},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const Zr={};function ns(e,t){const o=d.useRef(Zr);return o.current===Zr&&(o.current=e(t)),o}const Bl=[];function jl(e){d.useEffect(e,Bl)}class Bo{static create(){return new Bo}currentId=null;start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Mt(){const e=ns(Bo.create).current;return jl(e.disposeEffect),e}const ss=e=>e.scrollTop;function bo(e,t){const{timeout:o,easing:r,style:n={}}=e;return{duration:n.transitionDuration??(typeof o=="number"?o:o[t.mode]||0),easing:n.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:n.transitionDelay}}function Ol(e){return q("MuiPaper",e)}Y("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 Fl=e=>{const{square:t,elevation:o,variant:r,classes:n}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return X(s,Ol,n)},Nl=O("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(oe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),jo=d.forwardRef(function(t,o){const r=te({props:t,name:"MuiPaper"}),n=Bt(),{className:s,component:i="div",elevation:a=1,square:c=!1,variant:u="elevation",...f}=r,h={...r,component:i,elevation:a,square:c,variant:u},g=Fl(h);return p.jsx(Nl,{as:i,ownerState:h,className:H(g.root,s),ref:o,...f,style:{...u==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[a],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[a]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${go("#fff",er(a))}, ${go("#fff",er(a))})`}},...f.style}})});function Lt(e){return typeof e=="string"}function is(e,t,o){return e===void 0||Lt(e)?t:{...t,ownerState:{...t.ownerState,...o}}}function as(e,t,o){return typeof e=="function"?e(t,o):e}function ls(e,t=[]){if(e===void 0)return{};const o={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{o[r]=e[r]}),o}function Jr(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(o=>!(o.match(/^on[A-Z]/)&&typeof e[o]=="function")).forEach(o=>{t[o]=e[o]}),t}function cs(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:s}=e;if(!t){const y=H(o?.className,s,n?.className,r?.className),m={...o?.style,...n?.style,...r?.style},w={...o,...n,...r};return y.length>0&&(w.className=y),Object.keys(m).length>0&&(w.style=m),{props:w,internalRef:void 0}}const i=ls({...n,...r}),a=Jr(r),c=Jr(n),u=t(i),f=H(u?.className,o?.className,s,n?.className,r?.className),h={...u?.style,...o?.style,...n?.style,...r?.style},g={...u,...o,...c,...a};return f.length>0&&(g.className=f),Object.keys(h).length>0&&(g.style=h),{props:g,internalRef:u.ref}}function se(e,t){const{className:o,elementType:r,ownerState:n,externalForwardedProps:s,internalForwardedProps:i,shouldForwardComponentProp:a=!1,...c}=t,{component:u,slots:f={[e]:void 0},slotProps:h={[e]:void 0},...g}=s,y=f[e]||r,m=as(h[e],n),{props:{component:w,...x},internalRef:C}=cs({className:o,...c,externalForwardedProps:e==="root"?g:void 0,externalSlotProps:m}),R=ze(C,m?.ref,t.ref),v=e==="root"?w||u:w,b=is(y,{...e==="root"&&!u&&!f[e]&&i,...e!=="root"&&!f[e]&&i,...x,...v&&!a&&{as:v},...v&&a&&{component:v},ref:R},n);return[y,b]}function vo(e){try{return e.matches(":focus-visible")}catch{}return!1}class xo{static create(){return new xo}static use(){const t=ns(xo.create).current,[o,r]=d.useState(!1);return t.shouldMount=o,t.setShouldMount=r,d.useEffect(t.mountEffect,[o]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Hl(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function Dl(){return xo.use()}function Hl(){let e,t;const o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}function Wl(e){const{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:s,rippleSize:i,in:a,onExited:c,timeout:u}=e,[f,h]=d.useState(!1),g=H(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),y={width:i,height:i,top:-(i/2)+s,left:-(i/2)+n},m=H(o.child,f&&o.childLeaving,r&&o.childPulsate);return!a&&!f&&h(!0),d.useEffect(()=>{if(!a&&c!=null){const w=setTimeout(c,u);return()=>{clearTimeout(w)}}},[c,a,u]),p.jsx("span",{className:g,style:y,children:p.jsx("span",{className:m})})}const Ke=Y("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),rr=550,Vl=80,Ul=Jt`
|
|
35
|
+
export default theme;`}function Yr(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const ml=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let o=0;for(let r=0;r<t.length;r+=1)o+=+t[r];return o};function hl(e){Object.assign(e,{alpha(t,o){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof o=="string"?`calc(${o})`:o})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof o=="string"?`calc(${o})`:o})`:go(t,ml(o))},lighten(t,o){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Yr(o)})`:Eo(t,o)},darken(t,o){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Yr(o)})`:Lo(t,o)}})}function Jo(e={},...t){const{breakpoints:o,mixins:r={},spacing:n,palette:s={},transitions:i={},typography:a={},shape:c,colorSpace:u,...f}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(at(20));const h=xr({...s,colorSpace:u}),g=To(e);let y=Fe(g,{mixins:ol(g.breakpoints,r),palette:h,shadows:al.slice(),typography:Qn(h,a),transitions:ul(i),zIndex:{...pl}});return y=Fe(y,f),y=t.reduce((m,w)=>Fe(m,w),y),y.unstable_sxConfig={...oo,...f?.unstable_sxConfig},y.unstable_sx=function(w){return ft({sx:w,theme:this})},y.toRuntimeSource=Zn,hl(y),y}function er(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const gl=[...Array(25)].map((e,t)=>{if(t===0)return"none";const o=er(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function Jn(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function es(e){return e==="dark"?gl:[]}function yl(e){const{palette:t={mode:"light"},opacity:o,overlays:r,colorSpace:n,...s}=e,i=xr({...t,colorSpace:n});return{palette:i,opacity:{...Jn(i.mode),...o},overlays:r||es(i.mode),...s}}function bl(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const vl=e=>[...[...Array(25)].map((t,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],xl=e=>(t,o)=>{const r=e.rootSelector||":root",n=e.colorSchemeSelector;let s=n;if(n==="class"&&(s=".%s"),n==="data"&&(s="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(s=`[${n}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return vl(e.cssVarPrefix).forEach(a=>{i[a]=o[a],delete o[a]}),s==="media"?{[r]:o,"@media (prefers-color-scheme: dark)":{[r]:i}}:s?{[s.replace("%s",t)]:i,[`${r}, ${s.replace("%s",t)}`]:o}:{[r]:{...o,...i}}}if(s&&s!=="media")return`${r}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:o}};if(s)return s.replace("%s",String(t))}return r};function Sl(e,t){t.forEach(o=>{e[o]||(e[o]={})})}function E(e,t,o){!e[t]&&o&&(e[t]=o)}function Ut(e){return typeof e!="string"||!e.startsWith("hsl")?e:Wn(e)}function nt(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Vt(Ut(e[t])))}function Cl(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Je=e=>{try{return e()}catch{}},wl=(e="mui")=>Ia(e);function Go(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;const s=n==="dark"?"dark":"light";if(!r){t[n]=yl({...o,palette:{mode:s,...o?.palette},colorSpace:e});return}const{palette:i,...a}=Jo({...r,palette:{mode:s,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...Jn(s),...o?.opacity},overlays:o?.overlays||es(s)},a}function Pl(e={},...t){const{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:s="mui",nativeColor:i=!1,shouldSkipGeneratingVar:a=bl,colorSchemeSelector:c=o.light&&o.dark?"media":void 0,rootSelector:u=":root",...f}=e,h=Object.keys(o)[0],g=r||(o.light&&h!=="light"?"light":h),y=wl(s),{[g]:m,light:w,dark:x,...C}=o,R={...C};let v=m;if((g==="dark"&&!("dark"in o)||g==="light"&&!("light"in o))&&(v=!0),!v)throw new Error(at(21,g));let b;i&&(b="oklch");const k=Go(b,R,v,f,g);w&&!R.light&&Go(b,R,w,void 0,"light"),x&&!R.dark&&Go(b,R,x,void 0,"dark");let S={defaultColorScheme:g,...k,cssVarPrefix:s,colorSchemeSelector:c,rootSelector:u,getCssVar:y,colorSchemes:R,font:{...tl(k.typography),...k.font},spacing:Cl(f.spacing)};Object.keys(S.colorSchemes).forEach(A=>{const l=S.colorSchemes[A].palette,I=M=>{const L=M.split("-"),F=L[1],W=L[2];return y(M,l[F][W])};l.mode==="light"&&(E(l.common,"background","#fff"),E(l.common,"onBackground","#000")),l.mode==="dark"&&(E(l.common,"background","#000"),E(l.common,"onBackground","#fff"));function P(M,L,F){if(b){let W;return M===yt&&(W=`transparent ${((1-F)*100).toFixed(0)}%`),M===he&&(W=`#000 ${(F*100).toFixed(0)}%`),M===ge&&(W=`#fff ${(F*100).toFixed(0)}%`),`color-mix(in ${b}, ${L}, ${W})`}return M(L,F)}if(Sl(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){E(l.Alert,"errorColor",P(he,l.error.light,.6)),E(l.Alert,"infoColor",P(he,l.info.light,.6)),E(l.Alert,"successColor",P(he,l.success.light,.6)),E(l.Alert,"warningColor",P(he,l.warning.light,.6)),E(l.Alert,"errorFilledBg",I("palette-error-main")),E(l.Alert,"infoFilledBg",I("palette-info-main")),E(l.Alert,"successFilledBg",I("palette-success-main")),E(l.Alert,"warningFilledBg",I("palette-warning-main")),E(l.Alert,"errorFilledColor",Je(()=>l.getContrastText(l.error.main))),E(l.Alert,"infoFilledColor",Je(()=>l.getContrastText(l.info.main))),E(l.Alert,"successFilledColor",Je(()=>l.getContrastText(l.success.main))),E(l.Alert,"warningFilledColor",Je(()=>l.getContrastText(l.warning.main))),E(l.Alert,"errorStandardBg",P(ge,l.error.light,.9)),E(l.Alert,"infoStandardBg",P(ge,l.info.light,.9)),E(l.Alert,"successStandardBg",P(ge,l.success.light,.9)),E(l.Alert,"warningStandardBg",P(ge,l.warning.light,.9)),E(l.Alert,"errorIconColor",I("palette-error-main")),E(l.Alert,"infoIconColor",I("palette-info-main")),E(l.Alert,"successIconColor",I("palette-success-main")),E(l.Alert,"warningIconColor",I("palette-warning-main")),E(l.AppBar,"defaultBg",I("palette-grey-100")),E(l.Avatar,"defaultBg",I("palette-grey-400")),E(l.Button,"inheritContainedBg",I("palette-grey-300")),E(l.Button,"inheritContainedHoverBg",I("palette-grey-A100")),E(l.Chip,"defaultBorder",I("palette-grey-400")),E(l.Chip,"defaultAvatarColor",I("palette-grey-700")),E(l.Chip,"defaultIconColor",I("palette-grey-700")),E(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),E(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),E(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),E(l.LinearProgress,"primaryBg",P(ge,l.primary.main,.62)),E(l.LinearProgress,"secondaryBg",P(ge,l.secondary.main,.62)),E(l.LinearProgress,"errorBg",P(ge,l.error.main,.62)),E(l.LinearProgress,"infoBg",P(ge,l.info.main,.62)),E(l.LinearProgress,"successBg",P(ge,l.success.main,.62)),E(l.LinearProgress,"warningBg",P(ge,l.warning.main,.62)),E(l.Skeleton,"bg",b?P(yt,l.text.primary,.11):`rgba(${I("palette-text-primaryChannel")} / 0.11)`),E(l.Slider,"primaryTrack",P(ge,l.primary.main,.62)),E(l.Slider,"secondaryTrack",P(ge,l.secondary.main,.62)),E(l.Slider,"errorTrack",P(ge,l.error.main,.62)),E(l.Slider,"infoTrack",P(ge,l.info.main,.62)),E(l.Slider,"successTrack",P(ge,l.success.main,.62)),E(l.Slider,"warningTrack",P(ge,l.warning.main,.62));const M=b?P(he,l.background.default,.6825):io(l.background.default,.8);E(l.SnackbarContent,"bg",M),E(l.SnackbarContent,"color",Je(()=>b?Zo.text.primary:l.getContrastText(M))),E(l.SpeedDialAction,"fabHoverBg",io(l.background.paper,.15)),E(l.StepConnector,"border",I("palette-grey-400")),E(l.StepContent,"border",I("palette-grey-400")),E(l.Switch,"defaultColor",I("palette-common-white")),E(l.Switch,"defaultDisabledColor",I("palette-grey-100")),E(l.Switch,"primaryDisabledColor",P(ge,l.primary.main,.62)),E(l.Switch,"secondaryDisabledColor",P(ge,l.secondary.main,.62)),E(l.Switch,"errorDisabledColor",P(ge,l.error.main,.62)),E(l.Switch,"infoDisabledColor",P(ge,l.info.main,.62)),E(l.Switch,"successDisabledColor",P(ge,l.success.main,.62)),E(l.Switch,"warningDisabledColor",P(ge,l.warning.main,.62)),E(l.TableCell,"border",P(ge,P(yt,l.divider,1),.88)),E(l.Tooltip,"bg",P(yt,l.grey[700],.92))}if(l.mode==="dark"){E(l.Alert,"errorColor",P(ge,l.error.light,.6)),E(l.Alert,"infoColor",P(ge,l.info.light,.6)),E(l.Alert,"successColor",P(ge,l.success.light,.6)),E(l.Alert,"warningColor",P(ge,l.warning.light,.6)),E(l.Alert,"errorFilledBg",I("palette-error-dark")),E(l.Alert,"infoFilledBg",I("palette-info-dark")),E(l.Alert,"successFilledBg",I("palette-success-dark")),E(l.Alert,"warningFilledBg",I("palette-warning-dark")),E(l.Alert,"errorFilledColor",Je(()=>l.getContrastText(l.error.dark))),E(l.Alert,"infoFilledColor",Je(()=>l.getContrastText(l.info.dark))),E(l.Alert,"successFilledColor",Je(()=>l.getContrastText(l.success.dark))),E(l.Alert,"warningFilledColor",Je(()=>l.getContrastText(l.warning.dark))),E(l.Alert,"errorStandardBg",P(he,l.error.light,.9)),E(l.Alert,"infoStandardBg",P(he,l.info.light,.9)),E(l.Alert,"successStandardBg",P(he,l.success.light,.9)),E(l.Alert,"warningStandardBg",P(he,l.warning.light,.9)),E(l.Alert,"errorIconColor",I("palette-error-main")),E(l.Alert,"infoIconColor",I("palette-info-main")),E(l.Alert,"successIconColor",I("palette-success-main")),E(l.Alert,"warningIconColor",I("palette-warning-main")),E(l.AppBar,"defaultBg",I("palette-grey-900")),E(l.AppBar,"darkBg",I("palette-background-paper")),E(l.AppBar,"darkColor",I("palette-text-primary")),E(l.Avatar,"defaultBg",I("palette-grey-600")),E(l.Button,"inheritContainedBg",I("palette-grey-800")),E(l.Button,"inheritContainedHoverBg",I("palette-grey-700")),E(l.Chip,"defaultBorder",I("palette-grey-700")),E(l.Chip,"defaultAvatarColor",I("palette-grey-300")),E(l.Chip,"defaultIconColor",I("palette-grey-300")),E(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),E(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),E(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),E(l.LinearProgress,"primaryBg",P(he,l.primary.main,.5)),E(l.LinearProgress,"secondaryBg",P(he,l.secondary.main,.5)),E(l.LinearProgress,"errorBg",P(he,l.error.main,.5)),E(l.LinearProgress,"infoBg",P(he,l.info.main,.5)),E(l.LinearProgress,"successBg",P(he,l.success.main,.5)),E(l.LinearProgress,"warningBg",P(he,l.warning.main,.5)),E(l.Skeleton,"bg",b?P(yt,l.text.primary,.13):`rgba(${I("palette-text-primaryChannel")} / 0.13)`),E(l.Slider,"primaryTrack",P(he,l.primary.main,.5)),E(l.Slider,"secondaryTrack",P(he,l.secondary.main,.5)),E(l.Slider,"errorTrack",P(he,l.error.main,.5)),E(l.Slider,"infoTrack",P(he,l.info.main,.5)),E(l.Slider,"successTrack",P(he,l.success.main,.5)),E(l.Slider,"warningTrack",P(he,l.warning.main,.5));const M=b?P(ge,l.background.default,.985):io(l.background.default,.98);E(l.SnackbarContent,"bg",M),E(l.SnackbarContent,"color",Je(()=>b?Yn.text.primary:l.getContrastText(M))),E(l.SpeedDialAction,"fabHoverBg",io(l.background.paper,.15)),E(l.StepConnector,"border",I("palette-grey-600")),E(l.StepContent,"border",I("palette-grey-600")),E(l.Switch,"defaultColor",I("palette-grey-300")),E(l.Switch,"defaultDisabledColor",I("palette-grey-600")),E(l.Switch,"primaryDisabledColor",P(he,l.primary.main,.55)),E(l.Switch,"secondaryDisabledColor",P(he,l.secondary.main,.55)),E(l.Switch,"errorDisabledColor",P(he,l.error.main,.55)),E(l.Switch,"infoDisabledColor",P(he,l.info.main,.55)),E(l.Switch,"successDisabledColor",P(he,l.success.main,.55)),E(l.Switch,"warningDisabledColor",P(he,l.warning.main,.55)),E(l.TableCell,"border",P(he,P(yt,l.divider,1),.68)),E(l.Tooltip,"bg",P(yt,l.grey[700],.92))}nt(l.background,"default"),nt(l.background,"paper"),nt(l.common,"background"),nt(l.common,"onBackground"),nt(l,"divider"),Object.keys(l).forEach(M=>{const L=l[M];M!=="tonalOffset"&&L&&typeof L=="object"&&(L.main&&E(l[M],"mainChannel",Vt(Ut(L.main))),L.light&&E(l[M],"lightChannel",Vt(Ut(L.light))),L.dark&&E(l[M],"darkChannel",Vt(Ut(L.dark))),L.contrastText&&E(l[M],"contrastTextChannel",Vt(Ut(L.contrastText))),M==="text"&&(nt(l[M],"primary"),nt(l[M],"secondary")),M==="action"&&(L.active&&nt(l[M],"active"),L.selected&&nt(l[M],"selected")))})}),S=t.reduce((A,l)=>Fe(A,l),S);const B={prefix:s,disableCssColorScheme:n,shouldSkipGeneratingVar:a,getSelector:xl(S),enableContrastVars:i},{vars:$,generateThemeVars:T,generateStyleSheets:z}=Ta(S,B);return S.vars=$,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([A,l])=>{S[A]=l}),S.generateThemeVars=T,S.generateStyleSheets=z,S.generateSpacing=function(){return jn(f.spacing,ur(this))},S.getColorSchemeSelector=za(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=a,S.unstable_sxConfig={...oo,...f?.unstable_sxConfig},S.unstable_sx=function(l){return ft({sx:l,theme:this})},S.toRuntimeSource=Zn,S}function Xr(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:xr({...o===!0?{}:o.palette,mode:t})})}function Sr(e={},...t){const{palette:o,cssVariables:r=!1,colorSchemes:n=o?void 0:{light:!0},defaultColorScheme:s=o?.mode,...i}=e,a=s||"light",c=n?.[a],u={...n,...o?{[a]:{...typeof c!="boolean"&&c,palette:o}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Jo(e,...t);let f=o;"palette"in e||u[a]&&(u[a]!==!0?f=u[a].palette:a==="dark"&&(f={mode:"dark"}));const h=Jo({...e,palette:f},...t);return h.defaultColorScheme=a,h.colorSchemes=u,h.palette.mode==="light"&&(h.colorSchemes.light={...u.light!==!0&&u.light,palette:h.palette},Xr(h,"dark",u.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:h.palette},Xr(h,"light",u.light)),h}return!o&&!("light"in u)&&a==="light"&&(u.light=!0),Pl({...i,colorSchemes:u,defaultColorScheme:a,...typeof r!="boolean"&&r},...t)}const Cr=Sr();function Bt(){const e=ro(Cr);return e[ot]||e}function ts(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Oe=e=>ts(e)&&e!=="classes",O=Hn({themeId:ot,defaultTheme:Cr,rootShouldForwardProp:Oe});function Rl({theme:e,...t}){const o=ot in e?e[ot]:void 0;return p.jsx(Kn,{...t,themeId:o?ot:void 0,theme:o||e})}const ao={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:kl}=ka({themeId:ot,theme:()=>Sr({cssVariables:!0}),colorSchemeStorageKey:ao.colorSchemeStorageKey,modeStorageKey:ao.modeStorageKey,defaultColorScheme:{light:ao.defaultLightColorScheme,dark:ao.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Qn(e.palette,e.typography)};return t.unstable_sx=function(r){return ft({sx:r,theme:this})},t}}),Il=kl;function xf({theme:e,...t}){const o=d.useMemo(()=>{if(typeof e=="function")return e;const r=ot in e?e[ot]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?p.jsx(Rl,{theme:o,...t}):p.jsx(Il,{theme:e,...t})}function tr(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}function Ml(e){return p.jsx(On,{...e,defaultTheme:Cr,themeId:ot})}function $l(e){return function(o){return p.jsx(Ml,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}function Tl(){return mr}const oe=ba;function te(e){return ma(e)}function zl(e){return q("MuiSvgIcon",e)}Y("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ll=e=>{const{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${D(t)}`,`fontSize${D(o)}`]};return X(n,zl,r)},El=O("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${D(o.color)}`],t[`fontSize${D(o.fontSize)}`]]}})(oe(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),or=d.forwardRef(function(t,o){const r=te({props:t,name:"MuiSvgIcon"}),{children:n,className:s,color:i="inherit",component:a="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:h,viewBox:g="0 0 24 24",...y}=r,m=d.isValidElement(n)&&n.type==="svg",w={...r,color:i,component:a,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:g,hasSvgAsChild:m},x={};f||(x.viewBox=g);const C=Ll(w);return p.jsxs(El,{as:a,className:H(C.root,s),focusable:"false",color:u,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:o,...x,...y,...m&&n.props,ownerState:w,children:[m?n.props.children:n,h?p.jsx("title",{children:h}):null]})});or.muiName="SvgIcon";function N(e,t){function o(r,n){return p.jsx(or,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=or.muiName,d.memo(d.forwardRef(o))}function os(e,t=166){let o;function r(...n){const s=()=>{e.apply(this,n)};clearTimeout(o),o=setTimeout(s,t)}return r.clear=()=>{clearTimeout(o)},r}function Ve(e){return e&&e.ownerDocument||document}function ct(e){return Ve(e).defaultView||window}function Qr(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Zt(e){const{controlled:t,default:o,name:r,state:n="value"}=e,{current:s}=d.useRef(t!==void 0),[i,a]=d.useState(o),c=s?t:i,u=d.useCallback(f=>{s||a(f)},[]);return[c,u]}function it(e){const t=d.useRef(e);return We(()=>{t.current=e}),d.useRef((...o)=>(0,t.current)(...o)).current}function ze(...e){const t=d.useRef(void 0),o=d.useCallback(r=>{const n=e.map(s=>{if(s==null)return null;if(typeof s=="function"){const i=s,a=i(r);return typeof a=="function"?a:()=>{i(null)}}return s.current=r,()=>{s.current=null}});return()=>{n.forEach(s=>s?.())}},e);return d.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}function Al(e,t){const o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function rs(e,t){if(!e)return t;function o(i,a){const c={};return Object.keys(a).forEach(u=>{Al(u,a[u])&&typeof i[u]=="function"&&(c[u]=(...f)=>{i[u](...f),a[u](...f)})}),c}if(typeof e=="function"||typeof t=="function")return i=>{const a=typeof t=="function"?t(i):t,c=typeof e=="function"?e({...i,...a}):e,u=H(i?.className,a?.className,c?.className),f=o(c,a);return{...a,...c,...f,...!!u&&{className:u},...a?.style&&c?.style&&{style:{...a.style,...c.style}},...a?.sx&&c?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(c.sx)?c.sx:[c.sx]]}}};const r=t,n=o(e,r),s=H(r?.className,e?.className);return{...t,...e,...n,...!!s&&{className:s},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const Zr={};function ns(e,t){const o=d.useRef(Zr);return o.current===Zr&&(o.current=e(t)),o}const Bl=[];function jl(e){d.useEffect(e,Bl)}class Bo{static create(){return new Bo}currentId=null;start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Mt(){const e=ns(Bo.create).current;return jl(e.disposeEffect),e}const ss=e=>e.scrollTop;function bo(e,t){const{timeout:o,easing:r,style:n={}}=e;return{duration:n.transitionDuration??(typeof o=="number"?o:o[t.mode]||0),easing:n.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:n.transitionDelay}}function Lt(e){return typeof e=="string"}function is(e,t,o){return e===void 0||Lt(e)?t:{...t,ownerState:{...t.ownerState,...o}}}function as(e,t,o){return typeof e=="function"?e(t,o):e}function ls(e,t=[]){if(e===void 0)return{};const o={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{o[r]=e[r]}),o}function Jr(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(o=>!(o.match(/^on[A-Z]/)&&typeof e[o]=="function")).forEach(o=>{t[o]=e[o]}),t}function cs(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:s}=e;if(!t){const y=H(o?.className,s,n?.className,r?.className),m={...o?.style,...n?.style,...r?.style},w={...o,...n,...r};return y.length>0&&(w.className=y),Object.keys(m).length>0&&(w.style=m),{props:w,internalRef:void 0}}const i=ls({...n,...r}),a=Jr(r),c=Jr(n),u=t(i),f=H(u?.className,o?.className,s,n?.className,r?.className),h={...u?.style,...o?.style,...n?.style,...r?.style},g={...u,...o,...c,...a};return f.length>0&&(g.className=f),Object.keys(h).length>0&&(g.style=h),{props:g,internalRef:u.ref}}function se(e,t){const{className:o,elementType:r,ownerState:n,externalForwardedProps:s,internalForwardedProps:i,shouldForwardComponentProp:a=!1,...c}=t,{component:u,slots:f={[e]:void 0},slotProps:h={[e]:void 0},...g}=s,y=f[e]||r,m=as(h[e],n),{props:{component:w,...x},internalRef:C}=cs({className:o,...c,externalForwardedProps:e==="root"?g:void 0,externalSlotProps:m}),R=ze(C,m?.ref,t.ref),v=e==="root"?w||u:w,b=is(y,{...e==="root"&&!u&&!f[e]&&i,...e!=="root"&&!f[e]&&i,...x,...v&&!a&&{as:v},...v&&a&&{component:v},ref:R},n);return[y,b]}function Ol(e){return q("MuiPaper",e)}Y("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 Fl=e=>{const{square:t,elevation:o,variant:r,classes:n}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return X(s,Ol,n)},Nl=O("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(oe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),jo=d.forwardRef(function(t,o){const r=te({props:t,name:"MuiPaper"}),n=Bt(),{className:s,component:i="div",elevation:a=1,square:c=!1,variant:u="elevation",...f}=r,h={...r,component:i,elevation:a,square:c,variant:u},g=Fl(h);return p.jsx(Nl,{as:i,ownerState:h,className:H(g.root,s),ref:o,...f,style:{...u==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[a],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[a]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${go("#fff",er(a))}, ${go("#fff",er(a))})`}},...f.style}})});function vo(e){try{return e.matches(":focus-visible")}catch{}return!1}class xo{static create(){return new xo}static use(){const t=ns(xo.create).current,[o,r]=d.useState(!1);return t.shouldMount=o,t.setShouldMount=r,d.useEffect(t.mountEffect,[o]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Hl(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function Dl(){return xo.use()}function Hl(){let e,t;const o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}function Wl(e){const{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:s,rippleSize:i,in:a,onExited:c,timeout:u}=e,[f,h]=d.useState(!1),g=H(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),y={width:i,height:i,top:-(i/2)+s,left:-(i/2)+n},m=H(o.child,f&&o.childLeaving,r&&o.childPulsate);return!a&&!f&&h(!0),d.useEffect(()=>{if(!a&&c!=null){const w=setTimeout(c,u);return()=>{clearTimeout(w)}}},[c,a,u]),p.jsx("span",{className:g,style:y,children:p.jsx("span",{className:m})})}const Ke=Y("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),rr=550,Vl=80,Ul=Jt`
|
|
36
36
|
0% {
|
|
37
37
|
transform: scale(0);
|
|
38
38
|
opacity: 0.1;
|