iobroker.assistant 1.0.1 → 1.0.2

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.
Files changed (42) hide show
  1. package/README.md +4 -0
  2. package/admin/custom/.vite/manifest.json +18 -18
  3. package/admin/custom/assets/Components-7BDDNrGP.js +1 -0
  4. package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-DcAGnE2z.js +1 -0
  5. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js} +1 -1
  6. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-CY-9JaDr.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-3mzaJWDF.js} +1 -1
  7. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-O-DuGvHy.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-DS8oaQQt.js} +3 -3
  8. package/admin/custom/assets/{hostInit-YwaHm9Ht.js → hostInit-MshDicd1.js} +1 -1
  9. package/admin/custom/assets/{lib-mwVfdt2u.js → lib-DjwHKtRi.js} +1 -1
  10. package/admin/custom/assets/{mf-entry-bootstrap-0-0e37a5a4.js → mf-entry-bootstrap-0-7c1ddf47.js} +2 -2
  11. package/admin/custom/assets/{pendingShares-Bs_RxVcM.js → pendingShares-CaJDCKLB.js} +1 -1
  12. package/admin/custom/customComponents.js +2 -2
  13. package/admin/custom/i18n/es.json +1 -1
  14. package/admin/custom/i18n/fr.json +1 -1
  15. package/admin/custom/i18n/it.json +1 -1
  16. package/admin/custom/i18n/nl.json +1 -1
  17. package/admin/custom/i18n/pl.json +1 -1
  18. package/admin/custom/i18n/pt.json +1 -1
  19. package/admin/custom/i18n/ru.json +1 -1
  20. package/admin/custom/i18n/uk.json +1 -1
  21. package/admin/custom/i18n/zh-cn.json +1 -1
  22. package/admin/custom/index.html +2 -2
  23. package/admin/custom/mf-manifest.json +1 -1
  24. package/admin/custom/mf-stats.json +1 -1
  25. package/admin/i18n/de.json +3 -2
  26. package/admin/i18n/en.json +3 -2
  27. package/admin/i18n/es.json +42 -2
  28. package/admin/i18n/fr.json +42 -2
  29. package/admin/i18n/it.json +42 -2
  30. package/admin/i18n/nl.json +42 -2
  31. package/admin/i18n/pl.json +42 -2
  32. package/admin/i18n/pt.json +42 -2
  33. package/admin/i18n/ru.json +42 -2
  34. package/admin/i18n/uk.json +42 -2
  35. package/admin/i18n/zh-cn.json +42 -2
  36. package/admin/jsonConfig.json +371 -83
  37. package/build/main.js +25 -0
  38. package/build/main.js.map +1 -1
  39. package/io-package.json +26 -26
  40. package/package.json +5 -5
  41. package/admin/custom/assets/Components-B9RaGibX.js +0 -1
  42. package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-CyY-cfOD.js +0 -1
package/README.md CHANGED
@@ -182,6 +182,10 @@ each one shows up under `assistant.0.satellites.*` like any other.
182
182
  Placeholder for the next version (at the beginning of the line):
183
183
  ### **WORK IN PROGRESS**
184
184
  -->
185
+ ### 1.0.2 (2026-10-14)
186
+ * (@GermanBluefox) Added the missing translations and the sizes for all screens to the settings. The tests run on Windows and macOS too
187
+ * (@GermanBluefox) The ports the adapter really opens (UDP satellites, Wyoming, ESPHome media server) are reported to js-controller 8 as used resources; the satellite port in the settings is no longer listed as an occupied TCP port
188
+
185
189
  ### 1.0.1 (2026-10-13)
186
190
  * (@GermanBluefox) Use first model if not set
187
191
  * (@GermanBluefox) Allowed to run only with local LLM
@@ -14,8 +14,8 @@
14
14
  "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js"
15
15
  ]
16
16
  },
17
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js": {
18
- "file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js",
17
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js": {
18
+ "file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js",
19
19
  "name": "_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js",
20
20
  "imports": [
21
21
  "_rolldown-runtime-Dd_uD5pT.js",
@@ -28,13 +28,13 @@
28
28
  "node_modules/@iobroker/gui-components/build/Components/IconLibrary/iconLibraryData.js"
29
29
  ]
30
30
  },
31
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-CY-9JaDr.js": {
32
- "file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-CY-9JaDr.js",
31
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-3mzaJWDF.js": {
32
+ "file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-3mzaJWDF.js",
33
33
  "name": "_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared",
34
34
  "imports": [
35
35
  "_rolldown-runtime-Dd_uD5pT.js",
36
36
  "_vite-preload-helper-BbbETgeG.js",
37
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js"
37
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js"
38
38
  ],
39
39
  "dynamicImports": [
40
40
  "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__.js"
@@ -82,26 +82,26 @@
82
82
  "isDynamicEntry": true
83
83
  },
84
84
  "node_modules/react-qr-code/lib/index.mjs": {
85
- "file": "assets/lib-mwVfdt2u.js",
85
+ "file": "assets/lib-DjwHKtRi.js",
86
86
  "name": "lib",
87
87
  "src": "node_modules/react-qr-code/lib/index.mjs",
88
88
  "isDynamicEntry": true,
89
89
  "imports": [
90
90
  "_rolldown-runtime-Dd_uD5pT.js",
91
91
  "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js",
92
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js"
92
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js"
93
93
  ]
94
94
  },
95
95
  "src/Components.tsx": {
96
- "file": "assets/Components-B9RaGibX.js",
96
+ "file": "assets/Components-7BDDNrGP.js",
97
97
  "name": "Components",
98
98
  "src": "src/Components.tsx",
99
99
  "isEntry": true,
100
100
  "imports": [
101
101
  "_rolldown-runtime-Dd_uD5pT.js",
102
102
  "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js",
103
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js",
104
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-CY-9JaDr.js"
103
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js",
104
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-3mzaJWDF.js"
105
105
  ]
106
106
  },
107
107
  "virtual:mf-REMOTE_ENTRY_ID:__mfe_internal__ConfigCustomAssistant__customComponents_js": {
@@ -119,7 +119,7 @@
119
119
  ]
120
120
  },
121
121
  "virtual:mf-localSharedImportMap:__mfe_internal__ConfigCustomAssistant__mf_owner__1": {
122
- "file": "assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-CyY-cfOD.js",
122
+ "file": "assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-DcAGnE2z.js",
123
123
  "name": "_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1",
124
124
  "src": "virtual:mf-localSharedImportMap:__mfe_internal__ConfigCustomAssistant__mf_owner__1",
125
125
  "isDynamicEntry": true,
@@ -130,13 +130,13 @@
130
130
  "dynamicImports": [
131
131
  "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js",
132
132
  "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__.js",
133
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js",
133
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js",
134
134
  "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-1XsLCK2M.js",
135
135
  "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__.js"
136
136
  ]
137
137
  },
138
138
  "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__.js": {
139
- "file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-O-DuGvHy.js",
139
+ "file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-DS8oaQQt.js",
140
140
  "name": "_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__",
141
141
  "src": "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__.js",
142
142
  "isDynamicEntry": true,
@@ -145,7 +145,7 @@
145
145
  "_vite-preload-helper-BbbETgeG.js",
146
146
  "_dist-DiU1y0R9.js",
147
147
  "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js",
148
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js"
148
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js"
149
149
  ],
150
150
  "dynamicImports": [
151
151
  "node_modules/react-qr-code/lib/index.mjs"
@@ -161,7 +161,7 @@
161
161
  ]
162
162
  },
163
163
  "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__1__H_A_I__hostAutoInit__H_A_I__.js": {
164
- "file": "assets/hostInit-YwaHm9Ht.js",
164
+ "file": "assets/hostInit-MshDicd1.js",
165
165
  "name": "hostInit",
166
166
  "src": "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__1__H_A_I__hostAutoInit__H_A_I__.js",
167
167
  "imports": [
@@ -174,7 +174,7 @@
174
174
  ]
175
175
  },
176
176
  "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__1__P_S__pendingShares__P_S__.js": {
177
- "file": "assets/pendingShares-Bs_RxVcM.js",
177
+ "file": "assets/pendingShares-CaJDCKLB.js",
178
178
  "name": "pendingShares",
179
179
  "src": "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__1__P_S__pendingShares__P_S__.js",
180
180
  "imports": [
@@ -182,9 +182,9 @@
182
182
  ],
183
183
  "dynamicImports": [
184
184
  "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js",
185
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js",
185
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js",
186
186
  "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-1XsLCK2M.js",
187
- "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-CY-9JaDr.js",
187
+ "__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-3mzaJWDF.js",
188
188
  "virtual:mf-localSharedImportMap:__mfe_internal__ConfigCustomAssistant__mf_owner__1"
189
189
  ]
190
190
  }
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{v as t}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js";import{An as n,At as r,Bt as i,Ft as a,Gn as o,Hn as s,I as c,Jr as l,Jt as u,Kn as ee,Kt as d,Nn as te,O as f,Pn as p,Pt as ne,R as re,Tn as m,Tt as ie,W as ae,Wt as h,Xt as g,Yt as oe,Zt as _,_n as se,_t as ce,bn as le,cn as v,d as ue,dn as y,en as b,f as de,fn as x,gn as fe,hn as pe,in as S,k as me,kr as C,on as w,p as T,qr as E,qt as D,rn as O,un as k,wn as he,yn as ge,zn as _e}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js";import{t as A}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare__shared-3mzaJWDF.js";var j=e({custom_assistant_Announcement:()=>M,custom_assistant_Close:()=>N,custom_assistant_Host:()=>P,custom_assistant_Satellite:()=>F,custom_assistant_Satellites:()=>I,custom_assistant_Speak:()=>L,custom_assistant_Status:()=>R,custom_assistant_auto:()=>z,custom_assistant_device:()=>B,custom_assistant_filter:()=>V,custom_assistant_hint:()=>H,custom_assistant_llm_downloading:()=>ve,custom_assistant_llm_error:()=>ye,custom_assistant_llm_idle:()=>be,custom_assistant_llm_installing:()=>xe,custom_assistant_llm_loading:()=>Se,custom_assistant_llm_ready:()=>Ce,custom_assistant_offline:()=>we,custom_assistant_online:()=>Te,custom_assistant_read:()=>Ee,custom_assistant_room:()=>De,custom_assistant_sat_idle:()=>Oe,custom_assistant_sat_listening:()=>ke,custom_assistant_sat_offline:()=>Ae,custom_assistant_sat_processing:()=>je,custom_assistant_sat_speaking:()=>Me,custom_assistant_type:()=>`Typ`,custom_assistant_wake_word_hint:()=>Ne,custom_assistant_write:()=>Pe,default:()=>Fe}),M=`Ansage`,N=`Schließen`,P=`Host`,F=`Satellit`,I=`Satelliten`,L=`Sprechen`,R=`Status`,z=`automatisch`,B=`Gerät`,V=`Filter`,H=`Deaktivieren Sie die Leseberechtigung, um ein Gerät vor dem Assistenten auszublenden, oder die Schreibberechtigung, um es schreibgeschützt zu halten (z. B. bei Sperren). Geräte sind standardmäßig vollständig zugelassen.`,ve=`Modell wird geladen …`,ye=`Fehler`,be=`inaktiv`,xe=`Engine wird installiert …`,Se=`lädt …`,Ce=`bereit`,we=`offline`,Te=`online`,Ee=`Lesen`,De=`Zimmer`,Oe=`inaktiv`,ke=`hört zu`,Ae=`offline`,je=`verarbeitet`,Me=`spricht`,Ne=`Das Wake-Word läuft auf dem Gerät. Mit der Maus über ein Wort siehst du die trainierten Sprachen — die meisten können nur Englisch.`,Pe=`Schreiben`,Fe={"custom_assistant_%s of %s active":`%s von %s aktiv`,custom_assistant_Announcement:M,"custom_assistant_Clear chat":`Chat leeren`,custom_assistant_Close:N,"custom_assistant_Device cache cleared.":`Gerätecache geleert.`,"custom_assistant_Device settings":`Geräte-Einstellungen`,"custom_assistant_Hide disabled":`Deaktivierte ausblenden`,custom_assistant_Host:P,"custom_assistant_Last seen":`Zuletzt gesehen`,"custom_assistant_Listening…":`Höre zu …`,"custom_assistant_Local model":`Lokales Modell`,"custom_assistant_Name language: %s":`Namens-Sprache: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Es wurden keine Geräte erkannt. Weisen Sie Räumen und Funktionen in ioBroker Zustände zu.`,"custom_assistant_No messages yet. Type a question below.":`Noch keine Nachrichten. Geben Sie unten eine Frage ein.`,"custom_assistant_No satellites registered yet.":`Noch keine Satelliten registriert.`,"custom_assistant_Per-device permissions":`Gerätespezifische Berechtigungen`,"custom_assistant_Play answer (backend TTS)":`Antwort abspielen (Backend-TTS)`,"custom_assistant_Read answers aloud":`Antworten vorlesen`,"custom_assistant_Refresh device cache":`Gerätecache aktualisieren`,custom_assistant_Satellite:F,custom_assistant_Satellites:I,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Speichern Sie die Konfiguration (die Instanz startet neu), bevor Sie chatten.`,"custom_assistant_Send announcement":`Ansage senden`,"custom_assistant_Settings for %s":`Einstellungen für %s`,custom_assistant_Speak:L,"custom_assistant_Speak on all satellites":`Auf allen Satelliten ansagen`,"custom_assistant_Start the assistant instance to chat.":`Starten Sie die Assistenteninstanz, um zu chatten.`,"custom_assistant_Start the assistant instance to load the device list.":`Starten Sie die Assistenteninstanz, um die Geräteliste zu laden.`,custom_assistant_Status:R,"custom_assistant_Stop listening":`Zuhören beenden`,"custom_assistant_Stop reading answers aloud":`Vorlesen beenden`,"custom_assistant_Test chat":`Test-Chat`,"custom_assistant_Thinking…":`Denkt nach …`,"custom_assistant_This satellite exposes no settings.":`Dieser Satellit bietet keine Einstellungen.`,"custom_assistant_Translate all missing (%s)":`Alle fehlenden übersetzen (%s)`,"custom_assistant_Translate name into %s":`Namen nach %s übersetzen`,"custom_assistant_Type a message…":`Nachricht eingeben …`,"custom_assistant_Wake words":`Wake-Words`,custom_assistant_auto:z,"custom_assistant_change it on the Voice tab":`im Voice-Tab umschalten`,custom_assistant_device:B,custom_assistant_filter:V,custom_assistant_hint:H,custom_assistant_llm_downloading:ve,custom_assistant_llm_error:ye,custom_assistant_llm_idle:be,custom_assistant_llm_installing:xe,custom_assistant_llm_loading:Se,"custom_assistant_llm_not installed":`nicht installiert`,custom_assistant_llm_ready:Ce,"custom_assistant_no name in %s (showing %s)":`Kein Name in "%s" — angezeigt: "%s"`,custom_assistant_offline:we,custom_assistant_online:Te,custom_assistant_read:Ee,custom_assistant_room:De,custom_assistant_sat_idle:Oe,custom_assistant_sat_listening:ke,custom_assistant_sat_offline:Ae,custom_assistant_sat_processing:je,custom_assistant_sat_speaking:Me,custom_assistant_type:`Typ`,custom_assistant_wake_word_hint:Ne,custom_assistant_write:Pe},U=e({custom_assistant_Announcement:()=>Ie,custom_assistant_Close:()=>Le,custom_assistant_Host:()=>Re,custom_assistant_Satellite:()=>ze,custom_assistant_Satellites:()=>Be,custom_assistant_Speak:()=>Ve,custom_assistant_Status:()=>He,custom_assistant_auto:()=>Ue,custom_assistant_device:()=>We,custom_assistant_filter:()=>Ge,custom_assistant_hint:()=>Ke,custom_assistant_llm_downloading:()=>qe,custom_assistant_llm_error:()=>Je,custom_assistant_llm_idle:()=>Ye,custom_assistant_llm_installing:()=>Xe,custom_assistant_llm_loading:()=>Ze,custom_assistant_llm_ready:()=>Qe,custom_assistant_offline:()=>$e,custom_assistant_online:()=>et,custom_assistant_read:()=>tt,custom_assistant_room:()=>nt,custom_assistant_sat_idle:()=>rt,custom_assistant_sat_listening:()=>it,custom_assistant_sat_offline:()=>at,custom_assistant_sat_processing:()=>ot,custom_assistant_sat_speaking:()=>st,custom_assistant_type:()=>ct,custom_assistant_wake_word_hint:()=>lt,custom_assistant_write:()=>ut,default:()=>dt}),Ie=`Announcement`,Le=`Close`,Re=`Host`,ze=`Satellite`,Be=`Satellites`,Ve=`Speak`,He=`Status`,Ue=`auto`,We=`Device`,Ge=`Filter`,Ke=`Uncheck read to hide a device from the assistant, or uncheck write to keep it read-only (e.g. locks). Devices default to fully allowed.`,qe=`downloading model…`,Je=`error`,Ye=`idle`,Xe=`installing engine…`,Ze=`loading…`,Qe=`ready`,$e=`offline`,et=`online`,tt=`Read`,nt=`Room`,rt=`idle`,it=`listening`,at=`offline`,ot=`processing`,st=`speaking`,ct=`Type`,lt=`The wake word runs on the device. Hover a word to see which languages it was trained on — most are English only.`,ut=`Write`,dt={"custom_assistant_%s of %s active":`%s of %s active`,custom_assistant_Announcement:Ie,"custom_assistant_Clear chat":`Clear chat`,custom_assistant_Close:Le,"custom_assistant_Device cache cleared.":`Device cache cleared.`,"custom_assistant_Device settings":`Device settings`,"custom_assistant_Hide disabled":`Hide disabled`,custom_assistant_Host:Re,"custom_assistant_Last seen":`Last seen`,"custom_assistant_Listening…":`Listening…`,"custom_assistant_Local model":`Local model`,"custom_assistant_Name language: %s":`Name language: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`No devices detected. Assign states to rooms and functions in ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`No messages yet. Type a question below.`,"custom_assistant_No satellites registered yet.":`No satellites registered yet.`,"custom_assistant_Per-device permissions":`Per-device permissions`,"custom_assistant_Play answer (backend TTS)":`Play answer (backend TTS)`,"custom_assistant_Read answers aloud":`Read answers aloud`,"custom_assistant_Refresh device cache":`Refresh device cache`,custom_assistant_Satellite:ze,custom_assistant_Satellites:Be,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Save the configuration (the instance will restart) before chatting.`,"custom_assistant_Send announcement":`Send announcement`,"custom_assistant_Settings for %s":`Settings for %s`,custom_assistant_Speak:Ve,"custom_assistant_Speak on all satellites":`Speak on all satellites`,"custom_assistant_Start the assistant instance to chat.":`Start the assistant instance to chat.`,"custom_assistant_Start the assistant instance to load the device list.":`Start the assistant instance to load the device list.`,custom_assistant_Status:He,"custom_assistant_Stop listening":`Stop listening`,"custom_assistant_Stop reading answers aloud":`Stop reading answers aloud`,"custom_assistant_Test chat":`Test chat`,"custom_assistant_Thinking…":`Thinking…`,"custom_assistant_This satellite exposes no settings.":`This satellite exposes no settings.`,"custom_assistant_Translate all missing (%s)":`Translate all missing (%s)`,"custom_assistant_Translate name into %s":`Translate name into %s`,"custom_assistant_Type a message…":`Type a message…`,"custom_assistant_Wake words":`Wake words`,custom_assistant_auto:Ue,"custom_assistant_change it on the Voice tab":`change it on the Voice tab`,custom_assistant_device:We,custom_assistant_filter:Ge,custom_assistant_hint:Ke,custom_assistant_llm_downloading:qe,custom_assistant_llm_error:Je,custom_assistant_llm_idle:Ye,custom_assistant_llm_installing:Xe,custom_assistant_llm_loading:Ze,"custom_assistant_llm_not installed":`not installed`,custom_assistant_llm_ready:Qe,"custom_assistant_no name in %s (showing %s)":`No name in "%s" — showing "%s"`,custom_assistant_offline:$e,custom_assistant_online:et,custom_assistant_read:tt,custom_assistant_room:nt,custom_assistant_sat_idle:rt,custom_assistant_sat_listening:it,custom_assistant_sat_offline:at,custom_assistant_sat_processing:ot,custom_assistant_sat_speaking:st,custom_assistant_type:ct,custom_assistant_wake_word_hint:lt,custom_assistant_write:ut},W=e({custom_assistant_Announcement:()=>ft,custom_assistant_Close:()=>pt,custom_assistant_Host:()=>mt,custom_assistant_Satellite:()=>ht,custom_assistant_Satellites:()=>gt,custom_assistant_Speak:()=>_t,custom_assistant_Status:()=>vt,custom_assistant_auto:()=>yt,custom_assistant_device:()=>bt,custom_assistant_filter:()=>xt,custom_assistant_hint:()=>St,custom_assistant_llm_downloading:()=>Ct,custom_assistant_llm_error:()=>wt,custom_assistant_llm_idle:()=>Tt,custom_assistant_llm_installing:()=>Et,custom_assistant_llm_loading:()=>Dt,custom_assistant_llm_ready:()=>Ot,custom_assistant_offline:()=>kt,custom_assistant_online:()=>At,custom_assistant_read:()=>jt,custom_assistant_room:()=>Mt,custom_assistant_sat_idle:()=>Nt,custom_assistant_sat_listening:()=>Pt,custom_assistant_sat_offline:()=>Ft,custom_assistant_sat_processing:()=>It,custom_assistant_sat_speaking:()=>Lt,custom_assistant_type:()=>Rt,custom_assistant_wake_word_hint:()=>zt,custom_assistant_write:()=>Bt,default:()=>Vt}),ft=`Anuncio`,pt=`Close`,mt=`Anfitrión`,ht=`Satélite`,gt=`satélites`,_t=`Hablar`,vt=`Estado`,yt=`auto`,bt=`Dispositivo`,xt=`Filtrar`,St=`Desactive la opción de lectura para ocultar un dispositivo al asistente, o desactive la opción de escritura para mantenerlo en modo de solo lectura (por ejemplo, candados). Los dispositivos vienen configurados por defecto con acceso completo.`,Ct=`Descargando modelo…`,wt=`error`,Tt=`inactivo`,Et=`instalando el motor…`,Dt=`cargando…`,Ot=`listo`,kt=`desconectado`,At=`en línea`,jt=`Leer`,Mt=`Habitación`,Nt=`inactivo`,Pt=`escuchando`,Ft=`desconectado`,It=`tratamiento`,Lt=`discurso`,Rt=`Tipo`,zt=`La palabra de activación se procesa en el dispositivo. Pasa el ratón sobre una palabra para ver en qué idiomas se entrenó — la mayoría solo en inglés.`,Bt=`Escribir`,Vt={"custom_assistant_%s of %s active":`%s of %s active`,custom_assistant_Announcement:ft,"custom_assistant_Clear chat":`Chat claro`,custom_assistant_Close:pt,"custom_assistant_Device cache cleared.":`Se ha borrado la caché del dispositivo.`,"custom_assistant_Device settings":`Device settings`,"custom_assistant_Hide disabled":`Ocultar deshabilitado`,custom_assistant_Host:mt,"custom_assistant_Last seen":`Última vez visto`,"custom_assistant_Listening…":`Escuchando…`,"custom_assistant_Local model":`Modelo local`,"custom_assistant_Name language: %s":`Idioma del nombre: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`No se detectaron dispositivos. Asigne estados a las salas y funciones en ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Aún no hay mensajes. Escribe tu pregunta a continuación.`,"custom_assistant_No satellites registered yet.":`Aún no se han registrado satélites.`,"custom_assistant_Per-device permissions":`Permisos por dispositivo`,"custom_assistant_Play answer (backend TTS)":`Reproducir respuesta (TTS de backend)`,"custom_assistant_Read answers aloud":`Lee las respuestas en voz alta.`,"custom_assistant_Refresh device cache":`Actualizar la caché del dispositivo`,custom_assistant_Satellite:ht,custom_assistant_Satellites:gt,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Guarda la configuración (la instancia se reiniciará) antes de chatear.`,"custom_assistant_Send announcement":`Enviar anuncio`,"custom_assistant_Settings for %s":`Settings for %s`,custom_assistant_Speak:_t,"custom_assistant_Speak on all satellites":`Hablar por todos los satélites`,"custom_assistant_Start the assistant instance to chat.":`Inicia la instancia del asistente para chatear.`,"custom_assistant_Start the assistant instance to load the device list.":`Inicie la instancia del asistente para cargar la lista de dispositivos.`,custom_assistant_Status:vt,"custom_assistant_Stop listening":`Deja de escuchar`,"custom_assistant_Stop reading answers aloud":`Deja de leer las respuestas en voz alta.`,"custom_assistant_Test chat":`Chat de prueba`,"custom_assistant_Thinking…":`Pensamiento…`,"custom_assistant_This satellite exposes no settings.":`This satellite exposes no settings.`,"custom_assistant_Translate all missing (%s)":`Traducir todos los (%s) faltantes`,"custom_assistant_Translate name into %s":`Traducir nombre a %s`,"custom_assistant_Type a message…":`Escribe un mensaje…`,"custom_assistant_Wake words":`Wake words`,custom_assistant_auto:yt,"custom_assistant_change it on the Voice tab":`Cámbialo en la pestaña Voz.`,custom_assistant_device:bt,custom_assistant_filter:xt,custom_assistant_hint:St,custom_assistant_llm_downloading:Ct,custom_assistant_llm_error:wt,custom_assistant_llm_idle:Tt,custom_assistant_llm_installing:Et,custom_assistant_llm_loading:Dt,"custom_assistant_llm_not installed":`no instalado`,custom_assistant_llm_ready:Ot,"custom_assistant_no name in %s (showing %s)":`No se encontró ningún nombre en "%s" — se muestra "%s"`,custom_assistant_offline:kt,custom_assistant_online:At,custom_assistant_read:jt,custom_assistant_room:Mt,custom_assistant_sat_idle:Nt,custom_assistant_sat_listening:Pt,custom_assistant_sat_offline:Ft,custom_assistant_sat_processing:It,custom_assistant_sat_speaking:Lt,custom_assistant_type:Rt,custom_assistant_wake_word_hint:zt,custom_assistant_write:Bt},G=e({custom_assistant_Announcement:()=>Ht,custom_assistant_Close:()=>Ut,custom_assistant_Host:()=>Wt,custom_assistant_Satellite:()=>Gt,custom_assistant_Satellites:()=>Kt,custom_assistant_Speak:()=>qt,custom_assistant_Status:()=>Jt,custom_assistant_auto:()=>Yt,custom_assistant_device:()=>Xt,custom_assistant_filter:()=>Zt,custom_assistant_hint:()=>Qt,custom_assistant_llm_downloading:()=>$t,custom_assistant_llm_error:()=>en,custom_assistant_llm_idle:()=>tn,custom_assistant_llm_installing:()=>nn,custom_assistant_llm_loading:()=>rn,custom_assistant_llm_ready:()=>an,custom_assistant_offline:()=>on,custom_assistant_online:()=>sn,custom_assistant_read:()=>cn,custom_assistant_room:()=>ln,custom_assistant_sat_idle:()=>un,custom_assistant_sat_listening:()=>dn,custom_assistant_sat_offline:()=>fn,custom_assistant_sat_processing:()=>pn,custom_assistant_sat_speaking:()=>mn,custom_assistant_type:()=>hn,custom_assistant_wake_word_hint:()=>gn,custom_assistant_write:()=>_n,default:()=>vn}),Ht=`Annonce`,Ut=`Close`,Wt=`Hôte`,Gt=`Satellite`,Kt=`Satellites`,qt=`Parler`,Jt=`Statut`,Yt=`auto`,Xt=`Appareil`,Zt=`Filtre`,Qt=`Décochez l'option «\xA0Lecture\xA0» pour masquer un périphérique à l'assistant, ou décochez l'option «\xA0Écriture\xA0» pour le rendre accessible en lecture seule (par exemple, les verrous). Par défaut, tous les périphériques sont autorisés.`,$t=`téléchargement du modèle…`,en=`erreur`,tn=`inactif`,nn=`installation du moteur…`,rn=`chargement…`,an=`prêt`,on=`hors ligne`,sn=`en ligne`,cn=`Lire`,ln=`Chambre`,un=`inactif`,dn=`écoute`,fn=`hors ligne`,pn=`traitement`,mn=`Parlant`,hn=`Taper`,gn=`Le mot d'activation s'exécute sur l'appareil. Survolez un mot pour voir dans quelles langues il a été entraîné — la plupart uniquement en anglais.`,_n=`Écrire`,vn={"custom_assistant_%s of %s active":`%s of %s active`,custom_assistant_Announcement:Ht,"custom_assistant_Clear chat":`Discussion claire`,custom_assistant_Close:Ut,"custom_assistant_Device cache cleared.":`Cache du périphérique effacé.`,"custom_assistant_Device settings":`Device settings`,"custom_assistant_Hide disabled":`Masquer les fonctions désactivées`,custom_assistant_Host:Wt,"custom_assistant_Last seen":`Dernière observation`,"custom_assistant_Listening…":`Écoute…`,"custom_assistant_Local model":`Modèle local`,"custom_assistant_Name language: %s":`Langue du nom\xA0: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Aucun appareil détecté. Attribuez des états aux salles et aux fonctions dans ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Aucun message pour l'instant. Posez votre question ci-dessous.`,"custom_assistant_No satellites registered yet.":`Aucun satellite enregistré pour le moment.`,"custom_assistant_Per-device permissions":`Autorisations par appareil`,"custom_assistant_Play answer (backend TTS)":`Réponse de lecture (TTS backend)`,"custom_assistant_Read answers aloud":`Lisez les réponses à voix haute`,"custom_assistant_Refresh device cache":`Actualiser le cache de l'appareil`,custom_assistant_Satellite:Gt,custom_assistant_Satellites:Kt,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Enregistrez la configuration (l'instance redémarrera) avant de discuter.`,"custom_assistant_Send announcement":`Envoyer l'annonce`,"custom_assistant_Settings for %s":`Settings for %s`,custom_assistant_Speak:qt,"custom_assistant_Speak on all satellites":`Parlez sur tous les satellites`,"custom_assistant_Start the assistant instance to chat.":`Démarrez l'instance de l'assistant pour discuter.`,"custom_assistant_Start the assistant instance to load the device list.":`Démarrez l'instance de l'assistant pour charger la liste des périphériques.`,custom_assistant_Status:Jt,"custom_assistant_Stop listening":`Arrêtez d'écouter`,"custom_assistant_Stop reading answers aloud":`Arrêtez de lire les réponses à voix haute`,"custom_assistant_Test chat":`Chat de test`,"custom_assistant_Thinking…":`Pensée…`,"custom_assistant_This satellite exposes no settings.":`This satellite exposes no settings.`,"custom_assistant_Translate all missing (%s)":`Traduire tout ce qui est manquant (%s)`,"custom_assistant_Translate name into %s":`Traduire le nom en %s`,"custom_assistant_Type a message…":`Saisissez un message…`,"custom_assistant_Wake words":`Wake words`,custom_assistant_auto:Yt,"custom_assistant_change it on the Voice tab":`modifiez-le dans l'onglet Voix`,custom_assistant_device:Xt,custom_assistant_filter:Zt,custom_assistant_hint:Qt,custom_assistant_llm_downloading:$t,custom_assistant_llm_error:en,custom_assistant_llm_idle:tn,custom_assistant_llm_installing:nn,custom_assistant_llm_loading:rn,"custom_assistant_llm_not installed":`non installé`,custom_assistant_llm_ready:an,"custom_assistant_no name in %s (showing %s)":`Aucun nom dans « %s » — affichage de « %s »`,custom_assistant_offline:on,custom_assistant_online:sn,custom_assistant_read:cn,custom_assistant_room:ln,custom_assistant_sat_idle:un,custom_assistant_sat_listening:dn,custom_assistant_sat_offline:fn,custom_assistant_sat_processing:pn,custom_assistant_sat_speaking:mn,custom_assistant_type:hn,custom_assistant_wake_word_hint:gn,custom_assistant_write:_n},K=e({custom_assistant_Announcement:()=>yn,custom_assistant_Close:()=>bn,custom_assistant_Host:()=>xn,custom_assistant_Satellite:()=>Sn,custom_assistant_Satellites:()=>Cn,custom_assistant_Speak:()=>wn,custom_assistant_Status:()=>Tn,custom_assistant_auto:()=>En,custom_assistant_device:()=>Dn,custom_assistant_filter:()=>On,custom_assistant_hint:()=>kn,custom_assistant_llm_downloading:()=>An,custom_assistant_llm_error:()=>jn,custom_assistant_llm_idle:()=>Mn,custom_assistant_llm_installing:()=>Nn,custom_assistant_llm_loading:()=>Pn,custom_assistant_llm_ready:()=>Fn,custom_assistant_offline:()=>In,custom_assistant_online:()=>Ln,custom_assistant_read:()=>Rn,custom_assistant_room:()=>zn,custom_assistant_sat_idle:()=>Bn,custom_assistant_sat_listening:()=>Vn,custom_assistant_sat_offline:()=>Hn,custom_assistant_sat_processing:()=>Un,custom_assistant_sat_speaking:()=>Wn,custom_assistant_type:()=>Gn,custom_assistant_wake_word_hint:()=>Kn,custom_assistant_write:()=>qn,default:()=>Jn}),yn=`Annuncio`,bn=`Close`,xn=`Ospite`,Sn=`Satellitare`,Cn=`Satelliti`,wn=`Parlare`,Tn=`Stato`,En=`auto`,Dn=`Dispositivo`,On=`Filtro`,kn=`Deseleziona "Lettura" per nascondere un dispositivo all'assistente, oppure deseleziona "Scrittura" per mantenerlo in sola lettura (ad esempio, per bloccare le serrature). Per impostazione predefinita, i dispositivi sono completamente accessibili.`,An=`modello di download…`,jn=`errore`,Mn=`oziare`,Nn=`installazione del motore…`,Pn=`caricamento…`,Fn=`pronto`,In=`offline`,Ln=`online`,Rn=`Leggere`,zn=`Camera`,Bn=`oziare`,Vn=`ascolto`,Hn=`offline`,Un=`elaborazione`,Wn=`A proposito di`,Gn=`Tipo`,Kn=`La parola di attivazione viene elaborata sul dispositivo. Passa il mouse su una parola per vedere in quali lingue è stata addestrata — la maggior parte solo in inglese.`,qn=`Scrivere`,Jn={"custom_assistant_%s of %s active":`%s of %s active`,custom_assistant_Announcement:yn,"custom_assistant_Clear chat":`Chat chiara`,custom_assistant_Close:bn,"custom_assistant_Device cache cleared.":`Cache del dispositivo svuotata.`,"custom_assistant_Device settings":`Device settings`,"custom_assistant_Hide disabled":`Nascondi disabilitato`,custom_assistant_Host:xn,"custom_assistant_Last seen":`Ultimo avvistamento`,"custom_assistant_Listening…":`Ascolto…`,"custom_assistant_Local model":`Modello locale`,"custom_assistant_Name language: %s":`Lingua del nome: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Nessun dispositivo rilevato. Assegna stati a stanze e funzioni in ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Nessun messaggio ancora. Scrivi una domanda qui sotto.`,"custom_assistant_No satellites registered yet.":`Nessun satellite ancora registrato.`,"custom_assistant_Per-device permissions":`Autorizzazioni per dispositivo`,"custom_assistant_Play answer (backend TTS)":`Riproduci la risposta (TST di backend)`,"custom_assistant_Read answers aloud":`Leggi le risposte ad alta voce`,"custom_assistant_Refresh device cache":`Aggiorna la cache del dispositivo`,custom_assistant_Satellite:Sn,custom_assistant_Satellites:Cn,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Salva la configurazione (l'istanza si riavvierà) prima di iniziare la chat.`,"custom_assistant_Send announcement":`Invia annuncio`,"custom_assistant_Settings for %s":`Settings for %s`,custom_assistant_Speak:wn,"custom_assistant_Speak on all satellites":`Comunicare su tutti i satelliti`,"custom_assistant_Start the assistant instance to chat.":`Avvia l'assistente per chattare.`,"custom_assistant_Start the assistant instance to load the device list.":`Avvia l'istanza dell'assistente per caricare l'elenco dei dispositivi.`,custom_assistant_Status:Tn,"custom_assistant_Stop listening":`Smetti di ascoltare`,"custom_assistant_Stop reading answers aloud":`Smetti di leggere le risposte ad alta voce`,"custom_assistant_Test chat":`Chat di prova`,"custom_assistant_Thinking…":`Pensiero…`,"custom_assistant_This satellite exposes no settings.":`This satellite exposes no settings.`,"custom_assistant_Translate all missing (%s)":`Traduci tutto ciò che manca (%s)`,"custom_assistant_Translate name into %s":`Traduci il nome in %s`,"custom_assistant_Type a message…":`Digita un messaggio…`,"custom_assistant_Wake words":`Wake words`,custom_assistant_auto:En,"custom_assistant_change it on the Voice tab":`modificalo nella scheda Voce`,custom_assistant_device:Dn,custom_assistant_filter:On,custom_assistant_hint:kn,custom_assistant_llm_downloading:An,custom_assistant_llm_error:jn,custom_assistant_llm_idle:Mn,custom_assistant_llm_installing:Nn,custom_assistant_llm_loading:Pn,"custom_assistant_llm_not installed":`non installato`,custom_assistant_llm_ready:Fn,"custom_assistant_no name in %s (showing %s)":`Nessun nome in "%s" — visualizzazione di "%s"`,custom_assistant_offline:In,custom_assistant_online:Ln,custom_assistant_read:Rn,custom_assistant_room:zn,custom_assistant_sat_idle:Bn,custom_assistant_sat_listening:Vn,custom_assistant_sat_offline:Hn,custom_assistant_sat_processing:Un,custom_assistant_sat_speaking:Wn,custom_assistant_type:Gn,custom_assistant_wake_word_hint:Kn,custom_assistant_write:qn},q=e({custom_assistant_Announcement:()=>Yn,custom_assistant_Close:()=>Xn,custom_assistant_Host:()=>Zn,custom_assistant_Satellite:()=>Qn,custom_assistant_Satellites:()=>$n,custom_assistant_Speak:()=>er,custom_assistant_Status:()=>tr,custom_assistant_auto:()=>nr,custom_assistant_device:()=>rr,custom_assistant_filter:()=>ir,custom_assistant_hint:()=>ar,custom_assistant_llm_downloading:()=>or,custom_assistant_llm_error:()=>sr,custom_assistant_llm_idle:()=>cr,custom_assistant_llm_installing:()=>lr,custom_assistant_llm_loading:()=>ur,custom_assistant_llm_ready:()=>dr,custom_assistant_offline:()=>fr,custom_assistant_online:()=>pr,custom_assistant_read:()=>mr,custom_assistant_room:()=>hr,custom_assistant_sat_idle:()=>gr,custom_assistant_sat_listening:()=>_r,custom_assistant_sat_offline:()=>vr,custom_assistant_sat_processing:()=>yr,custom_assistant_sat_speaking:()=>br,custom_assistant_type:()=>xr,custom_assistant_wake_word_hint:()=>Sr,custom_assistant_write:()=>Cr,default:()=>wr}),Yn=`Aankondiging`,Xn=`Close`,Zn=`Gastheer`,Qn=`Satelliet`,$n=`Satellieten`,er=`Spreken`,tr=`Status`,nr=`auto`,rr=`Apparaat`,ir=`Filter`,ar=`Schakel de optie 'Lezen' uit om een apparaat voor de assistent te verbergen, of schakel de optie 'Schrijven' uit om het apparaat alleen-lezen te houden (bijv. sloten). Apparaten zijn standaard volledig toegestaan.`,or=`Model downloaden…`,sr=`fout`,cr=`inactief`,lr=`motor installeren…`,ur=`laden…`,dr=`klaar`,fr=`offline`,pr=`online`,mr=`Lezen`,hr=`Kamer`,gr=`inactief`,_r=`luisteren`,vr=`offline`,yr=`verwerking`,br=`spreken`,xr=`Type`,Sr=`Het activeringswoord draait op het apparaat. Beweeg de muis over een woord om te zien in welke talen het getraind is — de meeste alleen Engels.`,Cr=`Schrijven`,wr={"custom_assistant_%s of %s active":`%s of %s active`,custom_assistant_Announcement:Yn,"custom_assistant_Clear chat":`Duidelijke chat`,custom_assistant_Close:Xn,"custom_assistant_Device cache cleared.":`Apparaatcache gewist.`,"custom_assistant_Device settings":`Device settings`,"custom_assistant_Hide disabled":`Verberg uitgeschakeld`,custom_assistant_Host:Zn,"custom_assistant_Last seen":`Laatst gezien`,"custom_assistant_Listening…":`Luisteren…`,"custom_assistant_Local model":`Lokaal model`,"custom_assistant_Name language: %s":`Naamtaal: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Geen apparaten gedetecteerd. Wijs statussen toe aan kamers en functies in ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Nog geen berichten. Typ hieronder een vraag.`,"custom_assistant_No satellites registered yet.":`Er zijn nog geen satellieten geregistreerd.`,"custom_assistant_Per-device permissions":`Machtigingen per apparaat`,"custom_assistant_Play answer (backend TTS)":`Speel antwoord (backend TTS)`,"custom_assistant_Read answers aloud":`Lees de antwoorden hardop voor.`,"custom_assistant_Refresh device cache":`Vernieuw de apparaatcache.`,custom_assistant_Satellite:Qn,custom_assistant_Satellites:$n,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Sla de configuratie op (het apparaat zal opnieuw opstarten) voordat je gaat chatten.`,"custom_assistant_Send announcement":`Aankondiging verzenden`,"custom_assistant_Settings for %s":`Settings for %s`,custom_assistant_Speak:er,"custom_assistant_Speak on all satellites":`Communiceer via alle satellieten`,"custom_assistant_Start the assistant instance to chat.":`Start de assistent-instantie om te chatten.`,"custom_assistant_Start the assistant instance to load the device list.":`Start de assistent-instantie om de lijst met apparaten te laden.`,custom_assistant_Status:tr,"custom_assistant_Stop listening":`Stop met luisteren`,"custom_assistant_Stop reading answers aloud":`Stop met het hardop voorlezen van antwoorden.`,"custom_assistant_Test chat":`Testchat`,"custom_assistant_Thinking…":`Aan het nadenken…`,"custom_assistant_This satellite exposes no settings.":`This satellite exposes no settings.`,"custom_assistant_Translate all missing (%s)":`Vertaal alle ontbrekende (%) tekens`,"custom_assistant_Translate name into %s":`Vertaal de naam naar %s`,"custom_assistant_Type a message…":`Typ een bericht…`,"custom_assistant_Wake words":`Wake words`,custom_assistant_auto:nr,"custom_assistant_change it on the Voice tab":`Wijzig dit op het tabblad 'Stem'.`,custom_assistant_device:rr,custom_assistant_filter:ir,custom_assistant_hint:ar,custom_assistant_llm_downloading:or,custom_assistant_llm_error:sr,custom_assistant_llm_idle:cr,custom_assistant_llm_installing:lr,custom_assistant_llm_loading:ur,"custom_assistant_llm_not installed":`niet geïnstalleerd`,custom_assistant_llm_ready:dr,"custom_assistant_no name in %s (showing %s)":`Geen naam in "%s" — "%s" wordt weergegeven`,custom_assistant_offline:fr,custom_assistant_online:pr,custom_assistant_read:mr,custom_assistant_room:hr,custom_assistant_sat_idle:gr,custom_assistant_sat_listening:_r,custom_assistant_sat_offline:vr,custom_assistant_sat_processing:yr,custom_assistant_sat_speaking:br,custom_assistant_type:xr,custom_assistant_wake_word_hint:Sr,custom_assistant_write:Cr},J=e({custom_assistant_Announcement:()=>Tr,custom_assistant_Close:()=>Er,custom_assistant_Host:()=>Dr,custom_assistant_Satellite:()=>Or,custom_assistant_Satellites:()=>kr,custom_assistant_Speak:()=>Ar,custom_assistant_Status:()=>jr,custom_assistant_auto:()=>Mr,custom_assistant_device:()=>Nr,custom_assistant_filter:()=>Pr,custom_assistant_hint:()=>Fr,custom_assistant_llm_downloading:()=>Ir,custom_assistant_llm_error:()=>Lr,custom_assistant_llm_idle:()=>Rr,custom_assistant_llm_installing:()=>zr,custom_assistant_llm_loading:()=>Br,custom_assistant_llm_ready:()=>Vr,custom_assistant_offline:()=>Hr,custom_assistant_online:()=>Ur,custom_assistant_read:()=>Wr,custom_assistant_room:()=>Gr,custom_assistant_sat_idle:()=>Kr,custom_assistant_sat_listening:()=>qr,custom_assistant_sat_offline:()=>Jr,custom_assistant_sat_processing:()=>Yr,custom_assistant_sat_speaking:()=>Xr,custom_assistant_type:()=>`Typ`,custom_assistant_wake_word_hint:()=>Zr,custom_assistant_write:()=>Qr,default:()=>$r}),Tr=`Ogłoszenie`,Er=`Close`,Dr=`Gospodarz`,Or=`Satelita`,kr=`Satelity`,Ar=`Mówić`,jr=`Status`,Mr=`automatyczny`,Nr=`Urządzenie`,Pr=`Filtr`,Fr=`Odznacz opcję „Odczyt”, aby ukryć urządzenie przed asystentem, lub odznacz opcję „Zapis”, aby zachować je tylko do odczytu (np. blokady). Domyślnie urządzenia mają pełne uprawnienia.`,Ir=`pobieranie modelu…`,Lr=`błąd`,Rr=`bezczynny`,zr=`instalowanie silnika…`,Br=`załadunek…`,Vr=`gotowy`,Hr=`nieaktywny`,Ur=`w sieci`,Wr=`Czytać`,Gr=`Pokój`,Kr=`bezczynny`,qr=`słuchający`,Jr=`nieaktywny`,Yr=`przetwarzanie`,Xr=`mówiąc`,Zr=`Słowo aktywujące działa na urządzeniu. Najedź na słowo, aby zobaczyć, w jakich językach było trenowane — większość tylko po angielsku.`,Qr=`Pisać`,$r={"custom_assistant_%s of %s active":`%s of %s active`,custom_assistant_Announcement:Tr,"custom_assistant_Clear chat":`Wyczyść czat`,custom_assistant_Close:Er,"custom_assistant_Device cache cleared.":`Pamięć podręczna urządzenia została wyczyszczona.`,"custom_assistant_Device settings":`Device settings`,"custom_assistant_Hide disabled":`Ukryj wyłączone`,custom_assistant_Host:Dr,"custom_assistant_Last seen":`Ostatnio widziany`,"custom_assistant_Listening…":`Słuchający…`,"custom_assistant_Local model":`Model lokalny`,"custom_assistant_Name language: %s":`Język nazwy: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Nie wykryto urządzeń. Przypisz stany do pomieszczeń i funkcji w ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Brak wiadomości. Wpisz pytanie poniżej.`,"custom_assistant_No satellites registered yet.":`Nie zarejestrowano jeszcze żadnych satelitów.`,"custom_assistant_Per-device permissions":`Uprawnienia na urządzenie`,"custom_assistant_Play answer (backend TTS)":`Odtwórz odpowiedź (TTS w tle)`,"custom_assistant_Read answers aloud":`Przeczytaj odpowiedzi na głos`,"custom_assistant_Refresh device cache":`Odśwież pamięć podręczną urządzenia`,custom_assistant_Satellite:Or,custom_assistant_Satellites:kr,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Przed rozpoczęciem czatu zapisz konfigurację (instancja zostanie uruchomiona ponownie).`,"custom_assistant_Send announcement":`Wyślij ogłoszenie`,"custom_assistant_Settings for %s":`Settings for %s`,custom_assistant_Speak:Ar,"custom_assistant_Speak on all satellites":`Mów na wszystkich satelitach`,"custom_assistant_Start the assistant instance to chat.":`Uruchom asystenta, aby rozpocząć rozmowę.`,"custom_assistant_Start the assistant instance to load the device list.":`Uruchom instancję asystenta, aby załadować listę urządzeń.`,custom_assistant_Status:jr,"custom_assistant_Stop listening":`Przestań słuchać`,"custom_assistant_Stop reading answers aloud":`Przestań czytać odpowiedzi na głos`,"custom_assistant_Test chat":`Czat testowy`,"custom_assistant_Thinking…":`Myślący…`,"custom_assistant_This satellite exposes no settings.":`This satellite exposes no settings.`,"custom_assistant_Translate all missing (%s)":`Przetłumacz wszystkie brakujące (%s)`,"custom_assistant_Translate name into %s":`Przetłumacz nazwę na %s`,"custom_assistant_Type a message…":`Wpisz wiadomość…`,"custom_assistant_Wake words":`Wake words`,custom_assistant_auto:Mr,"custom_assistant_change it on the Voice tab":`zmień to na karcie Głos`,custom_assistant_device:Nr,custom_assistant_filter:Pr,custom_assistant_hint:Fr,custom_assistant_llm_downloading:Ir,custom_assistant_llm_error:Lr,custom_assistant_llm_idle:Rr,custom_assistant_llm_installing:zr,custom_assistant_llm_loading:Br,"custom_assistant_llm_not installed":`nie zainstalowano`,custom_assistant_llm_ready:Vr,"custom_assistant_no name in %s (showing %s)":`Brak nazwy w "%s" — wyświetlanie "%s"`,custom_assistant_offline:Hr,custom_assistant_online:Ur,custom_assistant_read:Wr,custom_assistant_room:Gr,custom_assistant_sat_idle:Kr,custom_assistant_sat_listening:qr,custom_assistant_sat_offline:Jr,custom_assistant_sat_processing:Yr,custom_assistant_sat_speaking:Xr,custom_assistant_type:`Typ`,custom_assistant_wake_word_hint:Zr,custom_assistant_write:Qr},Y=e({custom_assistant_Announcement:()=>ei,custom_assistant_Close:()=>ti,custom_assistant_Host:()=>ni,custom_assistant_Satellite:()=>ri,custom_assistant_Satellites:()=>ii,custom_assistant_Speak:()=>ai,custom_assistant_Status:()=>oi,custom_assistant_auto:()=>si,custom_assistant_device:()=>ci,custom_assistant_filter:()=>li,custom_assistant_hint:()=>ui,custom_assistant_llm_downloading:()=>di,custom_assistant_llm_error:()=>fi,custom_assistant_llm_idle:()=>pi,custom_assistant_llm_installing:()=>mi,custom_assistant_llm_loading:()=>hi,custom_assistant_llm_ready:()=>gi,custom_assistant_offline:()=>_i,custom_assistant_online:()=>vi,custom_assistant_read:()=>`Ler`,custom_assistant_room:()=>yi,custom_assistant_sat_idle:()=>bi,custom_assistant_sat_listening:()=>xi,custom_assistant_sat_offline:()=>Si,custom_assistant_sat_processing:()=>Ci,custom_assistant_sat_speaking:()=>wi,custom_assistant_type:()=>Ti,custom_assistant_wake_word_hint:()=>Ei,custom_assistant_write:()=>Di,default:()=>Oi}),ei=`Anúncio`,ti=`Close`,ni=`Hospedar`,ri=`Satélite`,ii=`Satélites`,ai=`Falar`,oi=`Status`,si=`auto`,ci=`Dispositivo`,li=`Filtro`,ui=`Desmarque a opção "Ler" para ocultar um dispositivo do assistente ou desmarque a opção "Gravar" para mantê-lo somente leitura (por exemplo, fechaduras). Os dispositivos são configurados por padrão para permitir totalmente o acesso.`,di=`baixando modelo…`,fi=`erro`,pi=`parado`,mi=`Instalando o motor…`,hi=`carregando…`,gi=`preparar`,_i=`offline`,vi=`on-line`,yi=`Sala`,bi=`parado`,xi=`audição`,Si=`offline`,Ci=`processamento`,wi=`Falando`,Ti=`Tipo`,Ei=`A palavra de ativação é processada no dispositivo. Passe o mouse sobre uma palavra para ver em quais idiomas ela foi treinada — a maioria apenas em inglês.`,Di=`Escrever`,Oi={"custom_assistant_%s of %s active":`%s of %s active`,custom_assistant_Announcement:ei,"custom_assistant_Clear chat":`Chat limpo`,custom_assistant_Close:ti,"custom_assistant_Device cache cleared.":`Cache do dispositivo limpo.`,"custom_assistant_Device settings":`Device settings`,"custom_assistant_Hide disabled":`Ocultar desativado`,custom_assistant_Host:ni,"custom_assistant_Last seen":`Última vez visto`,"custom_assistant_Listening…":`Audição…`,"custom_assistant_Local model":`Modelo local`,"custom_assistant_Name language: %s":`Idioma do nome: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Nenhum dispositivo detectado. Atribua estados a salas e funções no ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Ainda não há mensagens. Digite sua pergunta abaixo.`,"custom_assistant_No satellites registered yet.":`Nenhum satélite registrado ainda.`,"custom_assistant_Per-device permissions":`Permissões por dispositivo`,"custom_assistant_Play answer (backend TTS)":`Reproduzir resposta (TTS em segundo plano)`,"custom_assistant_Read answers aloud":`Leia as respostas em voz alta.`,"custom_assistant_Refresh device cache":`Atualizar cache do dispositivo`,custom_assistant_Satellite:ri,custom_assistant_Satellites:ii,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Salve a configuração (a instância será reiniciada) antes de iniciar o chat.`,"custom_assistant_Send announcement":`Enviar anúncio`,"custom_assistant_Settings for %s":`Settings for %s`,custom_assistant_Speak:ai,"custom_assistant_Speak on all satellites":`Fale em todos os satélites`,"custom_assistant_Start the assistant instance to chat.":`Inicie a instância do assistente para conversar.`,"custom_assistant_Start the assistant instance to load the device list.":`Inicie a instância do assistente para carregar a lista de dispositivos.`,custom_assistant_Status:oi,"custom_assistant_Stop listening":`Pare de ouvir`,"custom_assistant_Stop reading answers aloud":`Pare de ler as respostas em voz alta.`,"custom_assistant_Test chat":`Chat de teste`,"custom_assistant_Thinking…":`Pensamento…`,"custom_assistant_This satellite exposes no settings.":`This satellite exposes no settings.`,"custom_assistant_Translate all missing (%s)":`Traduzir todos os (%s) ausentes`,"custom_assistant_Translate name into %s":`Traduzir nome para %s`,"custom_assistant_Type a message…":`Digite uma mensagem…`,"custom_assistant_Wake words":`Wake words`,custom_assistant_auto:si,"custom_assistant_change it on the Voice tab":`Altere isso na guia Voz.`,custom_assistant_device:ci,custom_assistant_filter:li,custom_assistant_hint:ui,custom_assistant_llm_downloading:di,custom_assistant_llm_error:fi,custom_assistant_llm_idle:pi,custom_assistant_llm_installing:mi,custom_assistant_llm_loading:hi,"custom_assistant_llm_not installed":`não instalado`,custom_assistant_llm_ready:gi,"custom_assistant_no name in %s (showing %s)":`Nenhum nome em "%s" — exibindo "%s"`,custom_assistant_offline:_i,custom_assistant_online:vi,custom_assistant_read:`Ler`,custom_assistant_room:yi,custom_assistant_sat_idle:bi,custom_assistant_sat_listening:xi,custom_assistant_sat_offline:Si,custom_assistant_sat_processing:Ci,custom_assistant_sat_speaking:wi,custom_assistant_type:Ti,custom_assistant_wake_word_hint:Ei,custom_assistant_write:Di},X=e({custom_assistant_Announcement:()=>ki,custom_assistant_Close:()=>Ai,custom_assistant_Host:()=>ji,custom_assistant_Satellite:()=>Mi,custom_assistant_Satellites:()=>Ni,custom_assistant_Speak:()=>Pi,custom_assistant_Status:()=>Fi,custom_assistant_auto:()=>Ii,custom_assistant_device:()=>Li,custom_assistant_filter:()=>Ri,custom_assistant_hint:()=>zi,custom_assistant_llm_downloading:()=>Bi,custom_assistant_llm_error:()=>Vi,custom_assistant_llm_idle:()=>Hi,custom_assistant_llm_installing:()=>Ui,custom_assistant_llm_loading:()=>Wi,custom_assistant_llm_ready:()=>Gi,custom_assistant_offline:()=>Ki,custom_assistant_online:()=>qi,custom_assistant_read:()=>Ji,custom_assistant_room:()=>Yi,custom_assistant_sat_idle:()=>Xi,custom_assistant_sat_listening:()=>Zi,custom_assistant_sat_offline:()=>Qi,custom_assistant_sat_processing:()=>$i,custom_assistant_sat_speaking:()=>ea,custom_assistant_type:()=>ta,custom_assistant_wake_word_hint:()=>na,custom_assistant_write:()=>ra,default:()=>ia}),ki=`Объявление`,Ai=`Закрыть`,ji=`Хозяин`,Mi=`Спутник`,Ni=`Спутники`,Pi=`Говорить`,Fi=`Статус`,Ii=`авто`,Li=`Устройство`,Ri=`Фильтр`,zi=`Снимите флажок «Чтение», чтобы скрыть устройство от голосового помощника, или снимите флажок «Запись», чтобы оставить его только для чтения (например, блокировка). По умолчанию устройствам разрешен полный доступ.`,Bi=`Загрузка модели…`,Vi=`ошибка`,Hi=`праздный`,Ui=`установка двигателя…`,Wi=`Загрузка…`,Gi=`готовый`,Ki=`офлайн`,qi=`онлайн`,Ji=`Читать`,Yi=`Комната`,Xi=`праздный`,Zi=`слушание`,Qi=`офлайн`,$i=`обработка`,ea=`Говорящий`,ta=`Тип`,na=`Слово активации обрабатывается на устройстве. Наведите курсор на слово, чтобы увидеть, на каких языках оно обучено — большинство только на английском.`,ra=`Писать`,ia={"custom_assistant_%s of %s active":`активно %s из %s`,custom_assistant_Announcement:ki,"custom_assistant_Clear chat":`Четкий чат`,custom_assistant_Close:Ai,"custom_assistant_Device cache cleared.":`Кэш устройства очищен.`,"custom_assistant_Device settings":`Настройки устройства`,"custom_assistant_Hide disabled":`Скрыть отключено`,custom_assistant_Host:ji,"custom_assistant_Last seen":`Последний раз видели`,"custom_assistant_Listening…":`Слушаю…`,"custom_assistant_Local model":`Локальная модель`,"custom_assistant_Name language: %s":`Название языка: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Устройства не обнаружены. Назначьте состояния комнатам и функциям в ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Сообщений пока нет. Задайте вопрос ниже.`,"custom_assistant_No satellites registered yet.":`Спутники пока не зарегистрированы.`,"custom_assistant_Per-device permissions":`Разрешения для каждого устройства`,"custom_assistant_Play answer (backend TTS)":`Воспроизвести ответ (синтезатор речи на стороне сервера)`,"custom_assistant_Read answers aloud":`Прочитайте ответы вслух.`,"custom_assistant_Refresh device cache":`Обновить кэш устройства`,custom_assistant_Satellite:Mi,custom_assistant_Satellites:Ni,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Сохраните конфигурацию (при этом экземпляр перезапустится) перед началом чата.`,"custom_assistant_Send announcement":`Отправить объявление`,"custom_assistant_Settings for %s":`Настройки для %s`,custom_assistant_Speak:Pi,"custom_assistant_Speak on all satellites":`Выступить на всех спутниках`,"custom_assistant_Start the assistant instance to chat.":`Запустите экземпляр ассистента для начала чата.`,"custom_assistant_Start the assistant instance to load the device list.":`Запустите экземпляр помощника, чтобы загрузить список устройств.`,custom_assistant_Status:Fi,"custom_assistant_Stop listening":`Прекратите слушать`,"custom_assistant_Stop reading answers aloud":`Прекратите зачитывать ответы вслух.`,"custom_assistant_Test chat":`Тестовый чат`,"custom_assistant_Thinking…":`Размышления…`,"custom_assistant_This satellite exposes no settings.":`Этот сателлит не предоставляет настроек.`,"custom_assistant_Translate all missing (%s)":`Переведите все отсутствующие (%s)`,"custom_assistant_Translate name into %s":`Переведите имя в %s`,"custom_assistant_Type a message…":`Введите сообщение…`,"custom_assistant_Wake words":`Слова активации`,custom_assistant_auto:Ii,"custom_assistant_change it on the Voice tab":`Измените это на вкладке «Голос».`,custom_assistant_device:Li,custom_assistant_filter:Ri,custom_assistant_hint:zi,custom_assistant_llm_downloading:Bi,custom_assistant_llm_error:Vi,custom_assistant_llm_idle:Hi,custom_assistant_llm_installing:Ui,custom_assistant_llm_loading:Wi,"custom_assistant_llm_not installed":`не установлен`,custom_assistant_llm_ready:Gi,"custom_assistant_no name in %s (showing %s)":`Имя отсутствует в "%s" — отображается "%s"`,custom_assistant_offline:Ki,custom_assistant_online:qi,custom_assistant_read:Ji,custom_assistant_room:Yi,custom_assistant_sat_idle:Xi,custom_assistant_sat_listening:Zi,custom_assistant_sat_offline:Qi,custom_assistant_sat_processing:$i,custom_assistant_sat_speaking:ea,custom_assistant_type:ta,custom_assistant_wake_word_hint:na,custom_assistant_write:ra},Z=e({custom_assistant_Announcement:()=>aa,custom_assistant_Close:()=>oa,custom_assistant_Host:()=>sa,custom_assistant_Satellite:()=>ca,custom_assistant_Satellites:()=>la,custom_assistant_Speak:()=>ua,custom_assistant_Status:()=>da,custom_assistant_auto:()=>fa,custom_assistant_device:()=>pa,custom_assistant_filter:()=>ma,custom_assistant_hint:()=>ha,custom_assistant_llm_downloading:()=>ga,custom_assistant_llm_error:()=>_a,custom_assistant_llm_idle:()=>va,custom_assistant_llm_installing:()=>ya,custom_assistant_llm_loading:()=>ba,custom_assistant_llm_ready:()=>xa,custom_assistant_offline:()=>Sa,custom_assistant_online:()=>Ca,custom_assistant_read:()=>wa,custom_assistant_room:()=>Ta,custom_assistant_sat_idle:()=>Ea,custom_assistant_sat_listening:()=>Da,custom_assistant_sat_offline:()=>Oa,custom_assistant_sat_processing:()=>ka,custom_assistant_sat_speaking:()=>Aa,custom_assistant_type:()=>ja,custom_assistant_wake_word_hint:()=>Ma,custom_assistant_write:()=>Na,default:()=>Pa}),aa=`Оголошення`,oa=`Close`,sa=`Хост`,ca=`Супутник`,la=`Супутники`,ua=`Говоріть`,da=`Статус`,fa=`авто`,pa=`Пристрій`,ma=`Фільтр`,ha=`Зніміть позначку «Читання», щоб приховати пристрій від помічника, або «Запис», щоб залишити його в режимі лише для читання (наприклад, блокування). За замовчуванням пристрої повністю дозволені.`,ga=`завантаження моделі…`,_a=`помилка`,va=`бездіяльність`,ya=`встановлення двигуна…`,ba=`завантаження…`,xa=`готовий`,Sa=`офлайн`,Ca=`онлайн`,wa=`Читати`,Ta=`Кімната`,Ea=`бездіяльність`,Da=`прослуховування`,Oa=`офлайн`,ka=`обробка`,Aa=`розмова`,ja=`Тип`,Ma=`Слово активації обробляється на пристрої. Наведіть курсор на слово, щоб побачити, якими мовами його навчено — більшість лише англійською.`,Na=`Написати`,Pa={"custom_assistant_%s of %s active":`%s of %s active`,custom_assistant_Announcement:aa,"custom_assistant_Clear chat":`Очистити чат`,custom_assistant_Close:oa,"custom_assistant_Device cache cleared.":`Кеш пристрою очищено.`,"custom_assistant_Device settings":`Device settings`,"custom_assistant_Hide disabled":`Приховати вимкнено`,custom_assistant_Host:sa,"custom_assistant_Last seen":`Бачили востаннє`,"custom_assistant_Listening…":`Слухання…`,"custom_assistant_Local model":`Локальна модель`,"custom_assistant_Name language: %s":`Мова назви: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Пристроїв не виявлено. Призначте стани кімнатам та функціям в ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Поки що немає повідомлень. Введіть запитання нижче.`,"custom_assistant_No satellites registered yet.":`Поки що не зареєстровано жодного супутника.`,"custom_assistant_Per-device permissions":`Дозволи для кожного пристрою`,"custom_assistant_Play answer (backend TTS)":`Відтворити відповідь (бекенд TTS)`,"custom_assistant_Read answers aloud":`Прочитайте відповіді вголос`,"custom_assistant_Refresh device cache":`Оновити кеш пристрою`,custom_assistant_Satellite:ca,custom_assistant_Satellites:la,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Збережіть конфігурацію (екземпляр перезавантажиться) перед спілкуванням у чаті.`,"custom_assistant_Send announcement":`Надіслати оголошення`,"custom_assistant_Settings for %s":`Settings for %s`,custom_assistant_Speak:ua,"custom_assistant_Speak on all satellites":`Розмовляйте на всіх супутниках`,"custom_assistant_Start the assistant instance to chat.":`Запустіть екземпляр помічника для спілкування в чаті.`,"custom_assistant_Start the assistant instance to load the device list.":`Запустіть екземпляр помічника, щоб завантажити список пристроїв.`,custom_assistant_Status:da,"custom_assistant_Stop listening":`Перестань слухати`,"custom_assistant_Stop reading answers aloud":`Перестаньте читати відповіді вголос`,"custom_assistant_Test chat":`Тестовий чат`,"custom_assistant_Thinking…":`Мислення…`,"custom_assistant_This satellite exposes no settings.":`This satellite exposes no settings.`,"custom_assistant_Translate all missing (%s)":`Перекласти все, що відсутні (%s)`,"custom_assistant_Translate name into %s":`Перекладіть назву мовою %s`,"custom_assistant_Type a message…":`Введіть повідомлення…`,"custom_assistant_Wake words":`Wake words`,custom_assistant_auto:fa,"custom_assistant_change it on the Voice tab":`змінити це на вкладці «Голос»`,custom_assistant_device:pa,custom_assistant_filter:ma,custom_assistant_hint:ha,custom_assistant_llm_downloading:ga,custom_assistant_llm_error:_a,custom_assistant_llm_idle:va,custom_assistant_llm_installing:ya,custom_assistant_llm_loading:ba,"custom_assistant_llm_not installed":`не встановлено`,custom_assistant_llm_ready:xa,"custom_assistant_no name in %s (showing %s)":`Немає імені в "%s" — відображається "%s"`,custom_assistant_offline:Sa,custom_assistant_online:Ca,custom_assistant_read:wa,custom_assistant_room:Ta,custom_assistant_sat_idle:Ea,custom_assistant_sat_listening:Da,custom_assistant_sat_offline:Oa,custom_assistant_sat_processing:ka,custom_assistant_sat_speaking:Aa,custom_assistant_type:ja,custom_assistant_wake_word_hint:Ma,custom_assistant_write:Na},Q=e({custom_assistant_Announcement:()=>$,custom_assistant_Close:()=>Fa,custom_assistant_Host:()=>Ia,custom_assistant_Satellite:()=>La,custom_assistant_Satellites:()=>Ra,custom_assistant_Speak:()=>za,custom_assistant_Status:()=>Ba,custom_assistant_auto:()=>Va,custom_assistant_device:()=>Ha,custom_assistant_filter:()=>Ua,custom_assistant_hint:()=>Wa,custom_assistant_llm_downloading:()=>Ga,custom_assistant_llm_error:()=>Ka,custom_assistant_llm_idle:()=>qa,custom_assistant_llm_installing:()=>Ja,custom_assistant_llm_loading:()=>Ya,custom_assistant_llm_ready:()=>Xa,custom_assistant_offline:()=>Za,custom_assistant_online:()=>Qa,custom_assistant_read:()=>`读`,custom_assistant_room:()=>$a,custom_assistant_sat_idle:()=>eo,custom_assistant_sat_listening:()=>to,custom_assistant_sat_offline:()=>no,custom_assistant_sat_processing:()=>ro,custom_assistant_sat_speaking:()=>io,custom_assistant_type:()=>ao,custom_assistant_wake_word_hint:()=>oo,custom_assistant_write:()=>`写`,default:()=>so}),$=`公告`,Fa=`Close`,Ia=`主持人`,La=`卫星`,Ra=`卫星`,za=`说话`,Ba=`地位`,Va=`汽车`,Ha=`设备`,Ua=`筛选`,Wa=`取消勾选“读取”选项可将设备对语音助手隐藏,取消勾选“写入”选项可将其设置为只读(例如,锁定设备)。设备默认设置为完全允许访问。`,Ga=`正在下载模型…`,Ka=`错误`,qa=`闲置的`,Ja=`安装发动机…`,Ya=`加载中…`,Xa=`准备好`,Za=`离线`,Qa=`在线的`,$a=`房间`,eo=`闲置的`,to=`聆听`,no=`离线`,ro=`加工`,io=`请讲`,ao=`类型`,oo=`唤醒词在设备上运行。将鼠标悬停在某个词上可查看它训练所用的语言——大多数仅支持英语。`,so={"custom_assistant_%s of %s active":`%s of %s active`,custom_assistant_Announcement:$,"custom_assistant_Clear chat":`清晰聊天`,custom_assistant_Close:Fa,"custom_assistant_Device cache cleared.":`设备缓存已清除。`,"custom_assistant_Device settings":`Device settings`,"custom_assistant_Hide disabled":`隐藏已禁用`,custom_assistant_Host:Ia,"custom_assistant_Last seen":`最后一次出现`,"custom_assistant_Listening…":`正在听……`,"custom_assistant_Local model":`本地模型`,"custom_assistant_Name language: %s":`名称语言:%s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`未检测到设备。请在ioBroker中为房间和功能分配状态。`,"custom_assistant_No messages yet. Type a question below.":`暂无消息。请在下方输入问题。`,"custom_assistant_No satellites registered yet.":`目前尚未注册任何卫星。`,"custom_assistant_Per-device permissions":`每个设备的权限`,"custom_assistant_Play answer (backend TTS)":`播放答案(后端 TTS)`,"custom_assistant_Read answers aloud":`大声朗读答案`,"custom_assistant_Refresh device cache":`刷新设备缓存`,custom_assistant_Satellite:La,custom_assistant_Satellites:Ra,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`聊天前请保存配置(实例将重启)。`,"custom_assistant_Send announcement":`发送公告`,"custom_assistant_Settings for %s":`Settings for %s`,custom_assistant_Speak:za,"custom_assistant_Speak on all satellites":`在所有卫星上通话`,"custom_assistant_Start the assistant instance to chat.":`启动助手实例进行聊天。`,"custom_assistant_Start the assistant instance to load the device list.":`启动助手实例以加载设备列表。`,custom_assistant_Status:Ba,"custom_assistant_Stop listening":`别听了`,"custom_assistant_Stop reading answers aloud":`停止大声朗读答案`,"custom_assistant_Test chat":`测试聊天`,"custom_assistant_Thinking…":`思维…`,"custom_assistant_This satellite exposes no settings.":`This satellite exposes no settings.`,"custom_assistant_Translate all missing (%s)":`翻译所有缺失值(%s)`,"custom_assistant_Translate name into %s":`将名称翻译成 %s`,"custom_assistant_Type a message…":`输入消息…`,"custom_assistant_Wake words":`Wake words`,custom_assistant_auto:Va,"custom_assistant_change it on the Voice tab":`在“语音”选项卡上更改。`,custom_assistant_device:Ha,custom_assistant_filter:Ua,custom_assistant_hint:Wa,custom_assistant_llm_downloading:Ga,custom_assistant_llm_error:Ka,custom_assistant_llm_idle:qa,custom_assistant_llm_installing:Ja,custom_assistant_llm_loading:Ya,"custom_assistant_llm_not installed":`未安装`,custom_assistant_llm_ready:Xa,"custom_assistant_no name in %s (showing %s)":`“%s”中没有名称——显示“%s”`,custom_assistant_offline:Za,custom_assistant_online:Qa,custom_assistant_read:`读`,custom_assistant_room:$a,custom_assistant_sat_idle:eo,custom_assistant_sat_listening:to,custom_assistant_sat_offline:no,custom_assistant_sat_processing:ro,custom_assistant_sat_speaking:io,custom_assistant_type:ao,custom_assistant_wake_word_hint:oo,custom_assistant_write:`写`};de();var co={},lo=Object.assign({"./i18n/de.json":j,"./i18n/en.json":U,"./i18n/es.json":W,"./i18n/fr.json":G,"./i18n/it.json":K,"./i18n/nl.json":q,"./i18n/pl.json":J,"./i18n/pt.json":Y,"./i18n/ru.json":X,"./i18n/uk.json":Z,"./i18n/zh-cn.json":Q});for(let[e,t]of Object.entries(lo)){var uo;let n=((uo=e.split(`/`).pop())==null?void 0:uo.replace(`.json`,``))||`en`;co[n]=t.default}T.extendTranslations(co);var fo=new Set([`temperature`,`humidity`,`illuminance`,`motion`,`door`,`window`,`windowTilt`,`fireAlarm`,`floodAlarm`,`camera`,`weatherCurrent`,`weatherForecast`,`warning`,`location`,`info`,`chart`,`image`,`instance`]);function po(e){return e===`lock`?{read:!0,write:!1}:{read:!0,write:!0}}var mo=[{value:`en`,label:`English`},{value:`de`,label:`Deutsch`},{value:`ru`,label:`Русский`},{value:`pt`,label:`Português`},{value:`nl`,label:`Nederlands`},{value:`fr`,label:`Français`},{value:`it`,label:`Italiano`},{value:`es`,label:`Español`},{value:`pl`,label:`Polski`},{value:`uk`,label:`Українська`},{value:`zh-cn`,label:`简体中文`}],ho=class extends A{constructor(e){super(e),C(this,`aliveSubId`,``),C(this,`onAliveChange`,(e,t)=>{let n=!!(t!=null&&t.val);n!==this.state.alive&&this.setState({alive:n,loading:n},()=>{n&&this.loadDevices()})}),this.state={...this.state,devices:[],loading:!0,alive:!1,filter:``,edits:{},savingKey:``,translatingKeys:{},rowStatus:{},hideDisabled:!1}}rowColor(e){switch(this.state.rowStatus[e]){case`dirty`:return`rgba(128,128,128,0.20)`;case`saving`:return`rgba(244,67,54,0.20)`;case`saved`:return`rgba(76,175,80,0.28)`;default:return}}setRowStatus(e,t){this.setState(n=>{let r={...n.rowStatus};return t?r[e]=t:delete r[e],{rowStatus:r}})}get instanceId(){let e=this.props.oContext;return`${e.adapterName}.${e.instance}`}get editLang(){return String(this.props.data.voiceLanguage||``)||T.getLanguage()}componentDidUpdate(e){String(e.data.voiceLanguage||``)!==String(this.props.data.voiceLanguage||``)&&Object.keys(this.state.edits).length&&this.setState({edits:{}})}async componentDidMount(){super.componentDidMount(),this.aliveSubId=`system.adapter.${this.instanceId}.alive`;let e=!1;try{let t=await this.props.oContext.socket.getState(this.aliveSubId);e=!!(t!=null&&t.val)}catch{e=!1}this.setState({alive:e},()=>void this.loadDevices()),this.props.oContext.socket.subscribeState(this.aliveSubId,this.onAliveChange)}componentWillUnmount(){var e;this.aliveSubId&&this.props.oContext.socket.unsubscribeState(this.aliveSubId,this.onAliveChange),(e=super.componentWillUnmount)==null||e.call(this)}async loadDevices(e=4){if(!this.state.alive){this.setState({loading:!1});return}let t=[];try{let e=await this.props.oContext.socket.sendTo(this.instanceId,`getDevices`,{language:T.getLanguage()});t=(Array.isArray(e)?e:[]).filter(e=>e.type!==`button`)}catch{t=[]}!t.length&&e>0?setTimeout(()=>{this.state.alive&&this.loadDevices(e-1)},1200):this.setState({devices:t,edits:{},loading:!1})}nameFor(e){let t=this.editLang,n=e.smartName;if(typeof n==`string`&&n)return{value:n,exact:!0,from:``};if(n&&typeof n==`object`){if(n[t])return{value:n[t],exact:!0,from:t};let e=n.en?`en`:Object.keys(n)[0];if(e&&n[e])return{value:n[e],exact:!1,from:e}}return{value:e.autoName||e.name||``,exact:!1,from:`auto`}}fieldValue(e){return this.state.edits[e.key]??this.nameFor(e).value}onNameChange(e,t){let n=this.state.devices.find(t=>t.key===e),r=n?this.nameFor(n).value:``;this.setState(n=>{let i={...n.rowStatus};return t===r?i[e]===`dirty`&&delete i[e]:i[e]=`dirty`,{edits:{...n.edits,[e]:t},rowStatus:i}})}flashSaved(e){this.setRowStatus(e,`saved`),setTimeout(()=>{this.state.rowStatus[e]===`saved`&&this.setRowStatus(e,null)},2e3)}applyLocalName(e,t,n){this.setState(r=>({devices:r.devices.map(r=>{if(r.key!==e)return r;let i=r.smartName&&typeof r.smartName==`object`?{...r.smartName}:typeof r.smartName==`string`&&r.smartName?{en:r.smartName}:{};return n?i[t]=n:delete i[t],{...r,smartName:i}}),edits:(()=>{let t={...r.edits};return delete t[e],t})()}))}async saveName(e){let t=this.state.edits[e.key];if(t===void 0||t===this.nameFor(e).value)return;let n=this.editLang;this.setState({savingKey:e.key}),this.setRowStatus(e.key,`saving`);try{await this.props.oContext.socket.sendTo(this.instanceId,`setDeviceName`,{stateId:e.key,name:t,language:n}),this.applyLocalName(e.key,n,t.trim()),this.flashSaved(e.key)}catch{this.setRowStatus(e.key,`dirty`)}this.setState({savingKey:``})}async translateName(e){let t=this.nameFor(e).value,n=e.key;if(!t||this.state.translatingKeys[n])return;let r=this.editLang;this.setState(e=>({translatingKeys:{...e.translatingKeys,[n]:!0}})),this.setRowStatus(n,`saving`);try{var i;let e=await this.props.oContext.socket.sendTo(this.instanceId,`translateName`,{text:t,targetLang:r}),a=e==null||(i=e.translation)==null?void 0:i.trim();a?(await this.props.oContext.socket.sendTo(this.instanceId,`setDeviceName`,{stateId:n,name:a,language:r}),this.applyLocalName(n,r,a),this.flashSaved(n)):this.setRowStatus(n,null)}catch{this.setRowStatus(n,null)}this.setState(e=>{let t={...e.translatingKeys};return delete t[n],{translatingKeys:t}})}async translateAllMissing(){let e=this.state.devices.filter(e=>!this.nameFor(e).exact&&!this.state.translatingKeys[e.key]);await Promise.all(e.map(e=>this.translateName(e)))}getAcl(e){var t;return((t=this.props.data.deviceAcl)==null?void 0:t[e.key])||po(e.type)}setAcl(e,t){let n=JSON.parse(JSON.stringify(this.props.data));n.deviceAcl=n.deviceAcl||{};let r=po(e.type),i={...n.deviceAcl[e.key]||r,...t};i.read===r.read&&i.write===r.write?delete n.deviceAcl[e.key]:n.deviceAcl[e.key]=i,this.props.onChange(n)}renderItem(){var e;if(this.state.loading)return E(p,{});if(!this.state.alive)return E(S,{sx:{p:2},color:`warning.main`,children:T.t(`custom_assistant_Start the assistant instance to load the device list.`)});if(!this.state.devices.length)return E(S,{sx:{p:2},children:T.t(`custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.`)});let t=this.state.filter.trim().toLowerCase(),r=t?this.state.devices.filter(e=>`${e.name} ${e.type} ${e.room}`.toLowerCase().includes(t)):this.state.devices;this.state.hideDisabled&&(r=r.filter(e=>this.getAcl(e).read));let a=this.props.oContext.themeType===`dark`;return l(w,{sx:{width:`100%`},children:[E(S,{variant:`h6`,sx:{mt:1},children:T.t(`custom_assistant_Per-device permissions`)}),E(S,{variant:`body2`,sx:{mb:1},color:`text.secondary`,children:T.t(`custom_assistant_hint`)}),l(w,{sx:{display:`flex`,alignItems:`center`,gap:1,mb:1,flexWrap:`wrap`},children:[E(y,{size:`small`,color:`primary`,variant:`outlined`,label:T.t(`custom_assistant_Name language: %s`,((e=mo.find(e=>e.value===this.editLang))==null?void 0:e.label)||this.editLang)}),E(S,{variant:`caption`,color:`text.secondary`,children:T.t(`custom_assistant_change it on the Voice tab`)}),(()=>{let e=this.state.devices.filter(e=>!this.nameFor(e).exact).length,t=Object.keys(this.state.translatingKeys).length>0;return E(v,{size:`small`,variant:`outlined`,startIcon:t?E(x,{size:14}):E(i,{}),disabled:!e||t,onClick:()=>void this.translateAllMissing(),children:T.t(`custom_assistant_Translate all missing (%s)`,e)})})(),E(w,{sx:{flex:1}}),E(m,{control:E(h,{size:`small`,checked:this.state.hideDisabled,onChange:e=>this.setState({hideDisabled:e.target.checked})}),label:T.t(`custom_assistant_Hide disabled`)}),E(b,{variant:`standard`,size:`small`,label:`Filter`,value:this.state.filter,onChange:e=>this.setState({filter:e.target.value}),sx:{width:320}})]}),E(oe,{component:s,sx:{width:`100%`},children:l(d,{size:`small`,children:[E(g,{children:l(_,{sx:{background:a?`#333`:`#DDD`},children:[E(u,{children:T.t(`custom_assistant_device`)}),E(u,{children:T.t(`custom_assistant_type`)}),E(u,{children:T.t(`custom_assistant_room`)}),E(u,{align:`center`,children:T.t(`custom_assistant_read`)}),E(u,{align:`center`,children:T.t(`custom_assistant_write`)})]})}),E(D,{children:r.map(e=>{let t=this.getAcl(e),r=e.writableStateIds.length>0&&!fo.has(e.type),a=!t.read;return l(_,{sx:{background:this.rowColor(e.key),opacity:a?.5:1,transition:`background-color 0.4s`},children:[l(u,{children:[(()=>{let t=this.nameFor(e),r=!!this.state.translatingKeys[e.key],a=this.state.savingKey===e.key||r;return l(w,{sx:{display:`flex`,alignItems:`flex-start`,gap:.5},children:[E(b,{variant:`standard`,size:`small`,fullWidth:!0,value:this.fieldValue(e),disabled:a,error:!t.exact&&!this.state.edits[e.key],helperText:!t.exact&&!this.state.edits[e.key]?T.t(`custom_assistant_no name in %s (showing %s)`,this.editLang,t.from===`auto`?T.t(`custom_assistant_auto`):t.from):` `,onChange:t=>this.onNameChange(e.key,t.target.value),onBlur:()=>void this.saveName(e),onKeyDown:e=>{e.key===`Enter`&&e.target.blur()},slotProps:{input:{endAdornment:this.state.savingKey===e.key?E(x,{size:14}):null}}}),E(O,{title:T.t(`custom_assistant_Translate name into %s`,this.editLang),children:E(`span`,{children:E(n,{size:`small`,disabled:a,onClick:()=>void this.translateName(e),children:r?E(x,{size:16}):E(i,{fontSize:`small`})})})})]})})(),e.stateIds.length?E(S,{variant:`caption`,component:`div`,sx:{wordBreak:`break-all`,fontStyle:`italic`,opacity:.7,fontSize:`smaller`},children:e.stateIds.join(`, `)}):null]}),E(u,{children:l(w,{sx:{display:`flex`,alignItems:`center`,gap:.75},children:[E(ue,{type:e.type,style:{width:20,height:20}}),E(`span`,{children:T.t(`type-${e.type}`)})]})}),E(u,{children:e.room&&e.room!==`No room`?e.room:`-`}),E(u,{align:`center`,children:E(k,{checked:t.read,onChange:()=>this.setAcl(e,{read:!t.read})})}),E(u,{align:`center`,children:E(k,{checked:t.write&&r,disabled:!r,onChange:()=>this.setAcl(e,{write:!t.write})})})]},e.key)})})]})})]})}},go={},_o=Object.assign({"./i18n/de.json":j,"./i18n/en.json":U,"./i18n/es.json":W,"./i18n/fr.json":G,"./i18n/it.json":K,"./i18n/nl.json":q,"./i18n/pl.json":J,"./i18n/pt.json":Y,"./i18n/ru.json":X,"./i18n/uk.json":Z,"./i18n/zh-cn.json":Q});for(let[e,t]of Object.entries(_o)){var vo;let n=((vo=e.split(`/`).pop())==null?void 0:vo.replace(`.json`,``))||`en`;go[n]=t.default}T.extendTranslations(go);var yo=class extends A{constructor(e){super(e),C(this,`scrollRef`,t.createRef()),C(this,`aliveSubId`,``),C(this,`recognition`,null),C(this,`onAliveChange`,(e,t)=>{let n=!!(t!=null&&t.val);this.setState({alive:n}),n&&this.checkTtsAvailable()}),C(this,`onKeyDown`,e=>{e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),this.send())}),this.state={...this.state,messages:[],input:``,sending:!1,alive:!1,listening:!1,speak:!1,ttsPlayingTs:0,ttsAvailable:!1}}async checkTtsAvailable(){try{let e=await this.props.oContext.socket.sendTo(this.instanceId,`ttsAvailable`,{});this.setState({ttsAvailable:!!(e!=null&&e.available)})}catch{this.setState({ttsAvailable:!1})}}get speechSupported(){let e=window;return(!!e.SpeechRecognition||!!e.webkitSpeechRecognition)&&window.isSecureContext}get ttsSupported(){return typeof window<`u`&&`speechSynthesis`in window}speechLang(){return{de:`de-DE`,en:`en-US`,ru:`ru-RU`,pt:`pt-PT`,nl:`nl-NL`,fr:`fr-FR`,it:`it-IT`,es:`es-ES`,pl:`pl-PL`,uk:`uk-UA`,"zh-cn":`zh-CN`}[T.getLanguage()]||`en-US`}get instanceId(){let e=this.props.oContext;return`${e.adapterName}.${e.instance}`}async componentDidMount(){super.componentDidMount(),this.aliveSubId=`system.adapter.${this.instanceId}.alive`;let e=!1;try{let t=await this.props.oContext.socket.getState(this.aliveSubId);e=!!(t!=null&&t.val)}catch{e=!1}this.setState({alive:e}),e&&this.checkTtsAvailable(),this.props.oContext.socket.subscribeState(this.aliveSubId,this.onAliveChange)}componentWillUnmount(){var e;this.aliveSubId&&this.props.oContext.socket.unsubscribeState(this.aliveSubId,this.onAliveChange);try{var t;(t=this.recognition)==null||t.stop()}catch{}this.ttsSupported&&window.speechSynthesis.cancel(),(e=super.componentWillUnmount)==null||e.call(this)}toggleListening(){if(this.state.listening){var e;(e=this.recognition)==null||e.stop();return}let t=window,n=t.SpeechRecognition||t.webkitSpeechRecognition;if(!n)return;let r=new n;r.lang=this.speechLang(),r.interimResults=!1,r.continuous=!1,r.onresult=e=>{var t;let n=((t=e.results)==null||(t=t[0])==null||(t=t[0])==null?void 0:t.transcript)||``;n&&this.setState({input:n},()=>void this.send())},r.onerror=()=>this.setState({listening:!1}),r.onend=()=>this.setState({listening:!1}),this.recognition=r,this.setState({listening:!0});try{r.start()}catch{this.setState({listening:!1})}}speak(e){if(!this.ttsSupported||!e)return;window.speechSynthesis.cancel();let t=new SpeechSynthesisUtterance(e);t.lang=this.speechLang(),window.speechSynthesis.speak(t)}async playViaBackend(e,t){if(this.ready&&t){this.setState({ttsPlayingTs:e});try{let e=await this.props.oContext.socket.sendTo(this.instanceId,`tts`,{text:t});if(e!=null&&e.audio){let t=new Audio(`data:${e.mime||`audio/wav`};base64,${e.audio}`);t.onended=()=>this.setState({ttsPlayingTs:0}),t.onerror=()=>this.setState({ttsPlayingTs:0}),await t.play()}else this.setState({ttsPlayingTs:0})}catch{this.setState({ttsPlayingTs:0})}}}scrollToBottom(){setTimeout(()=>{let e=this.scrollRef.current;e&&(e.scrollTop=e.scrollHeight)},0)}get ready(){return this.state.alive&&!this.props.changed}async send(){let e=this.state.input.trim();if(!e||this.state.sending||!this.ready)return;let t={role:`user`,text:e,ts:Date.now()};this.setState(e=>({messages:[...e.messages,t],input:``,sending:!0})),this.scrollToBottom();let n;try{let t=await this.props.oContext.socket.sendTo(this.instanceId,`ask`,{text:e});n=(t==null?void 0:t.error)===void 0?{role:`assistant`,text:(t==null?void 0:t.answer)??``,ts:Date.now()}:{role:`error`,text:t.error,ts:Date.now()}}catch(e){n={role:`error`,text:e.message,ts:Date.now()}}this.setState(e=>({messages:[...e.messages,n],sending:!1})),this.scrollToBottom(),this.state.speak&&n.role===`assistant`&&this.speak(n.text)}async refreshCache(){if(this.ready)try{await this.props.oContext.socket.sendTo(this.instanceId,`clearCache`,{}),this.setState(e=>({messages:[...e.messages,{role:`info`,text:T.t(`custom_assistant_Device cache cleared.`),ts:Date.now()}]})),this.scrollToBottom()}catch{}}renderMessage(e,t){let r=this.props.oContext.themeType===`dark`;if(e.role===`info`)return E(S,{variant:`caption`,component:`div`,sx:{textAlign:`center`,opacity:.6,my:1,fontStyle:`italic`},children:e.text},t);let i=e.role===`user`,a=e.role===`error`,o;o=i?r?`#1e88e5`:`#2196f3`:a?r?`#5d1f1f`:`#f8d7da`:r?`#3a3a3a`:`#eceff1`;let c=i?`#fff`:a?r?`#ffb4b4`:`#842029`:r?`#eee`:`#111`,u=new Date(e.ts).toLocaleTimeString();return E(w,{sx:{display:`flex`,justifyContent:i?`flex-end`:`flex-start`,mb:1},children:l(s,{elevation:1,sx:{px:1.5,py:1,maxWidth:`75%`,background:o,color:c,borderRadius:2,whiteSpace:`pre-wrap`,wordBreak:`break-word`},children:[E(S,{variant:`body2`,component:`div`,children:e.text}),l(w,{sx:{display:`flex`,alignItems:`center`,justifyContent:`flex-end`,gap:.5},children:[e.role===`assistant`&&this.state.ttsAvailable?E(O,{title:T.t(`custom_assistant_Play answer (backend TTS)`),children:E(`span`,{children:E(n,{size:`small`,disabled:!this.ready||this.state.ttsPlayingTs===e.ts,onClick:()=>void this.playViaBackend(e.ts,e.text),sx:{p:.25,color:`inherit`,opacity:.7},children:this.state.ttsPlayingTs===e.ts?E(x,{size:12}):E(ie,{sx:{fontSize:`0.9rem`}})})})}):null,E(S,{variant:`caption`,component:`div`,sx:{opacity:.6,fontSize:`0.65rem`},children:u})]})]})},t)}renderItem(){let e=this.props.oContext.themeType===`dark`,{alive:t,messages:i,sending:a,input:o,listening:s,speak:c}=this.state,u=this.ready;return l(w,{sx:{width:`100%`,display:`flex`,flexDirection:`column`,height:`calc(100vh - 300px)`},children:[l(w,{sx:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,mb:1},children:[E(S,{variant:`h6`,children:T.t(`custom_assistant_Test chat`)}),l(w,{children:[this.ttsSupported?E(O,{title:T.t(c?`custom_assistant_Stop reading answers aloud`:`custom_assistant_Read answers aloud`),children:E(n,{size:`small`,color:c?`primary`:`default`,onClick:()=>{c&&window.speechSynthesis.cancel(),this.setState({speak:!c})},children:E(c?me:f,{})})}):null,E(O,{title:T.t(`custom_assistant_Refresh device cache`),children:E(`span`,{children:E(n,{size:`small`,disabled:!u,onClick:()=>void this.refreshCache(),children:E(r,{})})})}),E(O,{title:T.t(`custom_assistant_Clear chat`),children:E(`span`,{children:E(n,{size:`small`,disabled:!i.length,onClick:()=>this.setState({messages:[]}),children:E(ae,{})})})})]})]}),u?null:E(S,{sx:{p:2},color:`warning.main`,children:t?T.t(`custom_assistant_Save the configuration (the instance will restart) before chatting.`):T.t(`custom_assistant_Start the assistant instance to chat.`)}),l(w,{ref:this.scrollRef,sx:{flex:1,overflowY:`auto`,p:1,border:`1px solid ${e?`#444`:`#ccc`}`,borderRadius:1,background:e?`#1e1e1e`:`#fafafa`,mb:1},children:[i.length?i.map((e,t)=>this.renderMessage(e,t)):E(S,{sx:{p:2,textAlign:`center`,opacity:.6},variant:`body2`,children:T.t(`custom_assistant_No messages yet. Type a question below.`)}),a?l(w,{sx:{display:`flex`,alignItems:`center`,gap:1,p:1,opacity:.7},children:[E(x,{size:16}),E(S,{variant:`body2`,children:T.t(`custom_assistant_Thinking…`)})]}):null]}),l(w,{sx:{display:`flex`,alignItems:`flex-end`,gap:1},children:[this.speechSupported?E(O,{title:T.t(s?`custom_assistant_Stop listening`:`custom_assistant_Speak`),children:E(`span`,{children:E(n,{color:s?`error`:`primary`,disabled:!u||a,onClick:()=>this.toggleListening(),children:E(ce,{})})})}):null,E(b,{fullWidth:!0,multiline:!0,maxRows:4,size:`small`,variant:`outlined`,placeholder:T.t(s?`custom_assistant_Listening…`:`custom_assistant_Type a message…`),value:o,disabled:!u||a,onChange:e=>this.setState({input:e.target.value}),onKeyDown:this.onKeyDown}),E(n,{color:`primary`,disabled:!u||a||!o.trim(),onClick:()=>void this.send(),children:E(ne,{})})]})]})}},bo={},xo=Object.assign({"./i18n/de.json":j,"./i18n/en.json":U,"./i18n/es.json":W,"./i18n/fr.json":G,"./i18n/it.json":K,"./i18n/nl.json":q,"./i18n/pl.json":J,"./i18n/pt.json":Y,"./i18n/ru.json":X,"./i18n/uk.json":Z,"./i18n/zh-cn.json":Q});for(let[e,t]of Object.entries(xo)){var So;let n=((So=e.split(`/`).pop())==null?void 0:So.replace(`.json`,``))||`en`;bo[n]=t.default}T.extendTranslations(bo);var Co={ready:`success`,error:`error`,installing:`info`,downloading:`info`,loading:`info`},wo=class extends A{constructor(e){super(e),C(this,`statusId`,``),C(this,`progressId`,``),C(this,`onStatus`,(e,t)=>{this.setState({status:(t==null?void 0:t.val)||`idle`})}),C(this,`onProgress`,(e,t)=>{this.setState({progress:Number(t==null?void 0:t.val)||0})}),this.state={...this.state,status:`idle`,progress:0}}get instanceId(){let e=this.props.oContext;return`${e.adapterName}.${e.instance}`}async componentDidMount(){super.componentDidMount(),this.statusId=`${this.instanceId}.localLlm.status`,this.progressId=`${this.instanceId}.localLlm.progress`;let e=this.props.oContext.socket;try{let t=await e.getState(this.statusId),n=await e.getState(this.progressId);this.setState({status:(t==null?void 0:t.val)||`idle`,progress:Number(n==null?void 0:n.val)||0})}catch{}e.subscribeState(this.statusId,this.onStatus),e.subscribeState(this.progressId,this.onProgress)}componentWillUnmount(){var e;let t=this.props.oContext.socket;this.statusId&&(t.unsubscribeState(this.statusId,this.onStatus),t.unsubscribeState(this.progressId,this.onProgress)),(e=super.componentWillUnmount)==null||e.call(this)}renderItem(){let{status:e,progress:t}=this.state,n=e===`installing`||e===`downloading`||e===`loading`,r=e===`downloading`;return l(w,{sx:{width:`100%`,mt:.5,mb:1},children:[l(w,{sx:{display:`flex`,alignItems:`center`,gap:1,mb:.5},children:[l(S,{variant:`body2`,children:[T.t(`custom_assistant_Local model`),`:`]}),E(y,{size:`small`,color:Co[e]||`default`,variant:`outlined`,label:T.t(`custom_assistant_llm_${e}`)}),r?l(S,{variant:`body2`,children:[Math.round(t),`%`]}):null]}),n?E(p,{variant:r?`determinate`:`indeterminate`,value:r?t:void 0}):null]})}};function To(e){return e.common.write===!1}function Eo(e){var n,r;let{values:i,objects:a,loading:s,onWrite:c}=e,u=t.useMemo(()=>{try{let e=i.availableWakeWords;return e?JSON.parse(String(e)):null}catch{return null}},[i.availableWakeWords]),d=String(i.wakeWords??``).split(`,`).map(e=>e.trim()).filter(Boolean),f=e=>{let t=d.includes(e)?d.filter(t=>t!==e):[...d,e];c(`wakeWords`,t.join(`,`))},p=(u==null?void 0:u.max)||0,ne=p>0&&d.length>=p,re=Object.keys(a).sort(),m=new Map;for(let e of re){let t=e.replace(/^controls\./,``),n=t.indexOf(`.`),r=n<0?t:t.slice(0,n);m.set(r,[...m.get(r)||[],e])}function ie(e){let t=a[e],n=t.common,r=n.name&&typeof n.name==`string`?n.name:e,s=i[e];if(n.role===`button`)return E(v,{size:`small`,variant:`outlined`,onClick:()=>c(e,!0),children:r},e);if(To(t))return l(w,{children:[E(S,{variant:`caption`,sx:{opacity:.7},children:r}),E(S,{variant:`body2`,children:s==null?`—`:String(s)})]},e);if(n.type===`boolean`)return l(w,{sx:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[E(S,{variant:`body2`,children:r}),E(h,{size:`small`,checked:!!s,onChange:t=>c(e,t.target.checked)})]},e);if(n.states){let t=Array.isArray(n.states)?Object.fromEntries(n.states.map(e=>[e,e])):n.states;return l(he,{size:`small`,fullWidth:!0,children:[E(te,{children:r}),E(o,{label:r,value:s==null?``:String(s),onChange:t=>c(e,t.target.value),children:Object.entries(t).map(([e,t])=>E(_e,{value:e,children:t},e))})]},e)}if(n.type===`number`&&n.min!==void 0&&n.max!==void 0){let t=Number(s??n.min);return l(w,{children:[l(S,{variant:`body2`,children:[r,l(S,{component:`span`,variant:`caption`,sx:{ml:1,opacity:.7},children:[t,n.unit||``,` (`,n.min,`…`,n.max,`)`]})]}),E(ee,{size:`small`,value:Number.isFinite(t)?t:n.min,min:n.min,max:n.max,step:n.step||1,onChangeCommitted:(t,n)=>c(e,Array.isArray(n)?n[0]:n),valueLabelDisplay:`auto`})]},e)}return E(b,{size:`small`,fullWidth:!0,label:r,defaultValue:s==null?``:String(s),onBlur:t=>c(e,t.target.value),onKeyDown:t=>{t.key===`Enter`&&c(e,t.target.value)}},e)}return l(pe,{open:!0,onClose:e.onClose,maxWidth:`sm`,fullWidth:!0,children:[l(ge,{children:[T.t(`custom_assistant_Settings for %s`,e.satId),e.room?E(S,{variant:`caption`,sx:{ml:1,opacity:.7},children:e.room}):null]}),E(se,{dividers:!0,children:s?E(w,{sx:{display:`flex`,justifyContent:`center`,p:3},children:E(x,{size:28})}):l(w,{sx:{display:`flex`,flexDirection:`column`,gap:2},children:[u!=null&&(n=u.words)!=null&&n.length?l(w,{children:[l(S,{variant:`subtitle2`,children:[T.t(`custom_assistant_Wake words`),E(S,{component:`span`,variant:`caption`,sx:{ml:1,opacity:.7},children:T.t(`custom_assistant_%s of %s active`,d.length,p)})]}),E(w,{sx:{display:`flex`,flexWrap:`wrap`,gap:.5,mt:1},children:u.words.map(e=>{let t=d.includes(e.id);return E(O,{title:e.languages.join(`, `),children:E(y,{size:`small`,label:e.phrase||e.id,color:t?`primary`:`default`,variant:t?`filled`:`outlined`,disabled:!t&&ne,onClick:()=>f(e.id),sx:{border:`1px solid`,borderColor:t?`primary.main`:`text.secondary`,bgcolor:t?void 0:`action.hover`,fontWeight:t?600:400}})},e.id)})}),E(S,{variant:`caption`,sx:{display:`block`,mt:.5,opacity:.7},children:T.t(`custom_assistant_wake_word_hint`)})]}):null,u!=null&&(r=u.words)!=null&&r.length&&m.size?E(le,{}):null,[...m.entries()].map(([e,t])=>l(w,{sx:{display:`flex`,flexDirection:`column`,gap:1},children:[t.length>1?E(S,{variant:`subtitle2`,sx:{opacity:.8},children:e}):null,t.map(ie)]},e)),!m.size&&!u?E(S,{variant:`body2`,sx:{opacity:.7},children:T.t(`custom_assistant_This satellite exposes no settings.`)}):null]})}),E(fe,{children:E(v,{onClick:e.onClose,children:T.t(`custom_assistant_Close`)})})]})}var Do={},Oo=Object.assign({"./i18n/de.json":j,"./i18n/en.json":U,"./i18n/es.json":W,"./i18n/fr.json":G,"./i18n/it.json":K,"./i18n/nl.json":q,"./i18n/pl.json":J,"./i18n/pt.json":Y,"./i18n/ru.json":X,"./i18n/uk.json":Z,"./i18n/zh-cn.json":Q});for(let[e,t]of Object.entries(Oo)){var ko;let n=((ko=e.split(`/`).pop())==null?void 0:ko.replace(`.json`,``))||`en`;Do[n]=t.default}T.extendTranslations(Do);var Ao={idle:`default`,listening:`info`,processing:`warning`,speaking:`success`,offline:`error`},jo=`__all__`,Mo={DeviceAclComponent:ho,ChatComponent:yo,LocalLlmProgress:wo,SatellitesComponent:class extends A{constructor(e){super(e),C(this,`pattern`,``),C(this,`onState`,(e,t)=>{this.setState(n=>{let r={...n.sats},i=this.parse(e);i&&r[i.satId]&&(r[i.satId]={...r[i.satId]}),this.applyToMap(r,e,t);let a={...n.vals};return this.applyToVals(a,e,t),{sats:r,vals:a}})}),this.state={...this.state,sats:{},speak:{},vals:{},settingsFor:null,settingsObjects:{},settingsLoading:!1}}get instanceId(){let e=this.props.oContext;return`${e.adapterName}.${e.instance}`}async componentDidMount(){super.componentDidMount(),this.pattern=`${this.instanceId}.satellites.*`;try{let e=await this.props.oContext.socket.getForeignStates(this.pattern),t={},n={};for(let[r,i]of Object.entries(e||{}))this.applyToMap(t,r,i),this.applyToVals(n,r,i);this.setState({sats:t,vals:n})}catch{}this.props.oContext.socket.subscribeState(this.pattern,this.onState)}componentWillUnmount(){var e;this.pattern&&this.props.oContext.socket.unsubscribeState(this.pattern,this.onState),(e=super.componentWillUnmount)==null||e.call(this)}parse(e){let t=`${this.instanceId}.satellites.`;if(!e.startsWith(t))return null;let n=e.slice(t.length),r=n.indexOf(`.`);return r<0?null:{satId:n.slice(0,r),prop:n.slice(r+1)}}applyToMap(e,t,n){let r=this.parse(t);if(!r)return;let i=e[r.satId]||{status:`idle`,room:``,host:``,alive:!1,lastSeen:0};r.prop===`status`?i.status=String((n==null?void 0:n.val)??`idle`):r.prop===`room`?i.room=String((n==null?void 0:n.val)??``):r.prop===`host`?i.host=String((n==null?void 0:n.val)??``):r.prop===`alive`?i.alive=!!(n!=null&&n.val):r.prop===`lastSeen`&&(i.lastSeen=Number(n==null?void 0:n.val)||0),e[r.satId]=i}applyToVals(e,t,n){let r=this.parse(t);r&&(e[r.satId]={...e[r.satId]||{},[r.prop]:(n==null?void 0:n.val)??null})}async openSettings(e){this.setState({settingsFor:e,settingsObjects:{},settingsLoading:!0});let t=`${this.instanceId}.satellites.${e}.`;try{let e=await this.props.oContext.socket.getForeignObjects(`${t}controls.*`,`state`),n={};for(let[r,i]of Object.entries(e||{}))i!=null&&i.common&&(n[r.slice(t.length)]=i);this.setState({settingsObjects:n,settingsLoading:!1})}catch{this.setState({settingsLoading:!1})}}writeSetting(e,t,n){this.props.oContext.socket.setState(`${this.instanceId}.satellites.${e}.${t}`,{val:n,ack:!1}).catch(()=>{})}announce(e){let t=(this.state.speak[e]||``).trim();if(!t)return;let n=e===jo?`${this.instanceId}.tts.text`:`${this.instanceId}.satellites.${e}.tts`;this.props.oContext.socket.setState(n,{val:t,ack:!1}).catch(()=>{}),this.setState(t=>({speak:{...t.speak,[e]:``}}))}ago(e){if(!e)return`—`;let t=Math.max(0,Math.round((Date.now()-e)/1e3));return t<60?`${t} s`:t<3600?`${Math.round(t/60)} min`:t<86400?`${Math.round(t/3600)} h`:`${Math.round(t/86400)} d`}renderComposer(e,t){let r=this.state.speak[e]||``;return l(w,{sx:{display:`flex`,alignItems:`center`,gap:.5},children:[E(b,{size:`small`,variant:`outlined`,placeholder:t,value:r,onChange:t=>this.setState(n=>({speak:{...n.speak,[e]:t.target.value}})),onKeyDown:t=>{t.key===`Enter`&&(t.preventDefault(),this.announce(e))},sx:{minWidth:180}}),E(O,{title:T.t(`custom_assistant_Send announcement`),children:E(`span`,{children:E(n,{size:`small`,color:`primary`,disabled:!r.trim(),onClick:()=>this.announce(e),children:E(c,{})})})})]})}renderItem(){var e;let t=Object.keys(this.state.sats).sort();return l(w,{sx:{width:`100%`},children:[l(w,{sx:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,mb:1},children:[E(S,{variant:`h6`,children:T.t(`custom_assistant_Satellites`)}),t.length?this.renderComposer(jo,T.t(`custom_assistant_Speak on all satellites`)):null]}),t.length?l(d,{size:`small`,sx:{"& td, & th":{px:1}},children:[E(g,{children:l(_,{children:[E(u,{}),E(u,{children:T.t(`custom_assistant_Satellite`)}),E(u,{children:T.t(`custom_assistant_room`)}),E(u,{children:T.t(`custom_assistant_Host`)}),E(u,{children:T.t(`custom_assistant_Status`)}),E(u,{children:T.t(`custom_assistant_Last seen`)}),E(u,{children:T.t(`custom_assistant_Announcement`)}),E(u,{})]})}),E(D,{children:t.map(e=>{let t=this.state.sats[e];return l(_,{children:[E(u,{sx:{width:24},children:E(O,{title:t.alive?T.t(`custom_assistant_online`):T.t(`custom_assistant_offline`),children:E(re,{sx:{fontSize:`0.8rem`,color:t.alive?`success.main`:`error.main`}})})}),E(u,{children:e}),E(u,{children:t.room||`—`}),E(u,{children:t.host||`—`}),E(u,{children:E(y,{size:`small`,variant:`outlined`,color:Ao[t.status]||`default`,label:T.t(`custom_assistant_sat_${t.status}`)})}),E(u,{children:E(O,{title:t.lastSeen?new Date(t.lastSeen).toLocaleString():``,children:E(`span`,{children:this.ago(t.lastSeen)})})}),E(u,{children:this.renderComposer(e,T.t(`custom_assistant_Type a message…`))}),E(u,{sx:{width:40},children:E(O,{title:T.t(`custom_assistant_Device settings`),children:E(`span`,{children:E(n,{size:`small`,disabled:!t.alive,onClick:()=>void this.openSettings(e),children:E(a,{})})})})})]},e)})})]}):E(S,{sx:{p:2,opacity:.7},variant:`body2`,children:T.t(`custom_assistant_No satellites registered yet.`)}),this.state.settingsFor?E(Eo,{instanceId:this.instanceId,satId:this.state.settingsFor,room:((e=this.state.sats[this.state.settingsFor])==null?void 0:e.room)||``,values:this.state.vals[this.state.settingsFor]||{},objects:this.state.settingsObjects,loading:this.state.settingsLoading,onWrite:(e,t)=>this.writeSetting(this.state.settingsFor,e,t),onClose:()=>this.setState({settingsFor:null,settingsObjects:{}})}):null]})}}};export{Mo as default};
@@ -0,0 +1 @@
1
+ import{t as e}from"./vite-preload-helper-BbbETgeG.js";import"./dist-DiU1y0R9.js";var t=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},n=(e,t,n,r)=>{var i,a;let o=(i=globalThis.__mf_module_cache__)==null?void 0:i.share,s=t.map(e=>o==null?void 0:o[e]).find(e=>e!==void 0),c=e=>{let t=String(e||``).split(/[^0-9]+/).map(Number),r=String(n||``).split(/[^0-9]+/).map(Number);for(let e=0;e<Math.max(t.length,r.length);e++){if((t[e]||0)<(r[e]||0))return!0;if((t[e]||0)>(r[e]||0))return!1}return!1};if(!c((s==null?void 0:s.version)??(s==null||(a=s.default)==null?void 0:a.version)))for(let t of e){var l,u;let e=o==null?void 0:o[t];if(e===void 0)continue;let n=(e==null?void 0:e.version)??(e==null||(l=e.default)==null?void 0:l.version);if(!(n!==void 0&&c(n))&&(!r||typeof(e==null?void 0:e[r])==`function`||typeof(e==null||(u=e.default)==null?void 0:u[r])==`function`)){let n=typeof(e==null?void 0:e[r])==`function`?e:e==null?void 0:e.default,i=n==null?void 0:n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!r||t.endsWith(`/client`)||!i)return e;let a={};for(let e of[`createRoot`,`hydrateRoot`])a[e]=(...t)=>{i.usingClientEntryPoint=!0;try{return n[e](...t)}finally{i.usingClientEntryPoint=!1}};return{...a,default:a}}}},r={react:async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js`).then(e=>e.B),[],import.meta.url),"react/jsx-runtime":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js`),[],import.meta.url),"react-dom":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js`).then(e=>e.vr),[],import.meta.url),"@emotion/react":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js`).then(e=>e.c),[],import.meta.url),"@emotion/styled":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-1XsLCK2M.js`).then(e=>e.r),[],import.meta.url),"@mui/material":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js`).then(e=>e.Jn),[],import.meta.url),"@mui/icons-material":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js`).then(e=>e.Ht),[],import.meta.url),"@iobroker/gui-components":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js`).then(e=>e.S),[],import.meta.url),"@iobroker/json-config":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-DS8oaQQt.js`),[],import.meta.url)},i={react:{name:`react`,version:`19.3.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,get(){let e=i.react;return e.lib?e.lib:(e.loading||=(async()=>{try{let{react:n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react/jsx-runtime":{name:`react/jsx-runtime`,version:`19.3.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,get(){let e=i[`react/jsx-runtime`];if(e.lib)return e.lib;if(e.loading)return e.loading;let a=n([`default:react/jsx-runtime`,`react/jsx-runtime`],[`default:react`,`react`],`19.3.0`,void 0);return a===void 0?(e.loading=(async()=>{try{let{"react/jsx-runtime":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading):(e.lib=function(){return a},e.loaded=!0,e.lib)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react-dom":{name:`react-dom`,version:`19.3.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,get(){let e=i[`react-dom`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"react-dom":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@emotion/react":{name:`@emotion/react`,version:`11.14.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,get(){let e=i[`@emotion/react`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@emotion/react":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@emotion/styled":{name:`@emotion/styled`,version:`11.14.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,get(){let e=i[`@emotion/styled`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@emotion/styled":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@mui/material":{name:`@mui/material`,version:`9.5.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,get(){let e=i[`@mui/material`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@mui/material":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@mui/icons-material":{name:`@mui/icons-material`,version:`9.5.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,get(){let e=i[`@mui/icons-material`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@mui/icons-material":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@iobroker/gui-components":{name:`@iobroker/gui-components`,version:`10.3.10`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,get(){let e=i[`@iobroker/gui-components`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@iobroker/gui-components":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@iobroker/json-config":{name:`@iobroker/json-config`,version:`10.1.2`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,get(){let e=i[`@iobroker/json-config`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@iobroker/json-config":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}}},a=[];export{a as usedRemotes,i as usedShared};
@@ -1,4 +1,4 @@
1
- import{i as e,n as t,t as n}from"./rolldown-runtime-Dd_uD5pT.js";import{t as r}from"./vite-preload-helper-BbbETgeG.js";import{A as i,C as a,D as o,E as s,F as c,I as l,L as u,M as d,N as f,O as p,P as m,R as h,S as g,T as _,V as v,_ as y,b,h as x,i as S,j as C,k as w,n as T,o as E,r as D,t as O,u as k,v as A,w as j,x as M,y as N,z as P}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js";import{t as F}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-1XsLCK2M.js";function ee(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var te=`$$material`,ne=n(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),re=n(((e,t)=>{var n=ne();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=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 s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={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:i,resetWarningCache:r};return a.PropTypes=a,a}})),ie=n(((e,t)=>{t.exports=re()()})),ae=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},oe=Symbol.for(`module-federation.shared-cache-listeners`),se=e=>{let t=e[oe];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,oe,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},ce=(e,t,n)=>{let r=se(e);(r[t.canonical]||=new Set).add(n)},le=Symbol.for(`module-federation.shared-cache-owners`),ue=e=>{let t=e[le];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,le,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},de=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},fe=(e,t)=>{if(e===t)return!0;let n=de(e),r=de(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},pe=(e,t,n,r)=>{var i;let a=ae(e,t);if(a!==void 0&&fe(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[le];r===void 0?s&&delete s[t.canonical]:ue(e)[t.canonical]=r;let c=(i=e[oe])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n},I=`__mf_init__virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__mf_v__runtimeInit__mf_v__.js__`,me=globalThis[I];if(!me){let e,t,n=new Promise((n,r)=>{e=n,t=r});me=globalThis[I]={initPromise:n,initResolve:e,initReject:t}}var he=me.initPromise,ge=`__mf_module_cache__`;globalThis[ge]||={share:{},remote:{}},globalThis[ge].share||={},globalThis[ge].remote||={};var _e=globalThis[ge],ve=e=>{let t=_e.pendingShareLoads||=[];t.push(e);let n=()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)};return e.then(n,n),e};for(let e of Object.keys(_e.share))if(e.startsWith(`default:`)){let t=e.slice(8);_e.share[t]===void 0&&(_e.share[t]=_e.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;_e.share[t]===void 0&&(_e.share[t]=_e.share[e])}var ye=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},be,L,R,xe=e=>{be=e.Fragment,L=e.jsx,R=e.jsxs,e.default};ce(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},xe);var Se=ae(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]});Se===void 0?ve(he.then(()=>{if(Se=ae(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]}),Se!==void 0)xe(Se);else return r(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js`).then(e=>{Se=ye(e),pe(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},Se,`ConfigCustomAssistant`)}),[],import.meta.url)})):xe(Se);var Ce=new Map,we={insert:void 0},Te=(e,t)=>{let n=x(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Ee;if(typeof document==`object`&&(Ee=document.querySelector(`[name="emotion-insertion-point"]`),!Ee)){Ee=document.createElement(`meta`),Ee.setAttribute(`name`,`emotion-insertion-point`),Ee.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Ee)}function De(e,t){if(e||t){class n extends y{insert(e,t){return we.insert?we.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Ee),super.insert(e,t))}}let r=Te({key:t?`mui`:`css`,insertionPoint:e?Ee:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Oe(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=m(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ce.has(e))return Ce.get(e);let r=De(t,n);return Ce.set(e,r),r},[t,n]);return i?L(O,{value:i,children:r}):r}function ke(e){return e==null||Object.keys(e).length===0}function Ae(e){let{styles:t,defaultTheme:n={}}=e;return L(E,{styles:typeof t==`function`?e=>t(ke(e)?n:e):t})}function je(e,t){return F(e,t)}function Me(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Ne=[];function Pe(e){return Ne[0]=e,k(Ne)}var Fe=n((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.view_transition`),f=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||e===d||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===f||e.getModuleId!==void 0))}})),Ie=n(((e,t)=>{t.exports=Fe()}))();function Le(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Re(e){if(_(e)||(0,Ie.isValidElementType)(e)||!Le(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Re(e[n])}),t}function ze(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Le(e)&&Le(t)&&Object.keys(t).forEach(i=>{_(t[i])||(0,Ie.isValidElementType)(t[i])?r[i]=t[i]:Le(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Le(e[i])?r[i]=ze(e[i],t[i],n):n.clone?r[i]=Le(t[i])?Re(t[i]):t[i]:r[i]=t[i]}),r}var Be=e=>{let 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}),{})};function Ve(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Be(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var He=/min-width:\s*([0-9.]+)/;function Ue(e,t){if(!e.containerQueries||!We(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>{var n,r;return+(((n=e.match(He))==null?void 0:n[1])||0)-(((r=t.match(He))==null?void 0:r[1])||0)});let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function We(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function Ge(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ke(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function qe(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Je={borderRadius:4};function Ye(e){if(e==null)return!0;for(let t in e)return!1;return!0}function Xe(e,t){let n=Array.isArray(t),r=Array.isArray(e);return tt(t)?t:nt(e)?rt(t):n&&r?$e(e,t):n===r?it(e,t):rt(t)}function Ze(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=rt(e[t]);return r}function Qe(e){let t={};for(let n in e)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=rt(e[n]));return t}function $e(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=rt(t[r]);return e}function et(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function tt(e){return typeof e!=`object`||!e}function nt(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function rt(e){return et(e)?Array.isArray(e)?Ze(e):Qe(e):e}function it(e,t){for(let n in t)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(e[n]=n in e?Xe(e[n],t[n]):rt(t[n]));return e}var at={},ot={xs:0,sm:600,md:900,lg:1200,xl:1536},st=Ve({values:ot}),ct={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ot[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function lt(e,t,n){let r={};return ut(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:Xe(r,a)})}function ut(e,t,n,r){if(t??=at,Array.isArray(n)){let i=t.breakpoints??st;for(let t=0;t<n.length;t+=1)dt(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??st,a=i.values??ot;for(let o in n)if(Ge(i.keys,o)){let i=Ke(t.containerQueries?t:ct,o);i&&dt(e,i,n[o],o,r)}else if(o in a)dt(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function dt(e,t,n,r,i){e[t]??={},i(t,n,r)}function ft(e=st){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function pt(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];Ye(t[r])&&delete t[r]}return t}function mt(e,...t){return pt(e,[ft(e),...t].reduce((e,t)=>ze(e,t),{}))}function ht(e,t){if(typeof e!=`object`)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{e[t]!=null&&(n[t]=!0)}),n}function gt(e){let{values:t,breakpoints:n,base:r}=e,i=r||ht(t,n),a=Object.keys(i);if(a.length===0)return t;let o;return a.reduce((e,n,r)=>{if(Array.isArray(t))e[n]=t[r]==null?t[o]:t[r],o=r;else if(typeof t==`object`&&t){let r=t;e[n]=r[n]==null?r[o]:r[n],o=n}else e[n]=t;return e},{})}function _t(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(Ge(e.keys,n[t]))return!0}return!1}function vt(e){if(typeof e!=`string`)throw Error(ee(7));return e.charAt(0).toUpperCase()+e.slice(1)}function yt(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&bt(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function bt(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=xt(e.vars,i,r);if(t!=null)return t}return xt(e,i,r)}function xt(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e==="default"?``:vt(e)}`;return r==null?void 0:r[i]}return i}function St(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=bt(o,r)||{};return lt(e,a,e=>{let r=yt(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var Ct={internal_cache:{}},wt={m:`margin`,p:`padding`},Tt={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Et={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Dt={};for(let e in wt)Dt[e]=[wt[e]];for(let e in wt)for(let t in Tt){let n=wt[e],r=Tt[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Dt[e+t]=i}for(let e in Et)Dt[e]=Dt[Et[e]];var Ot=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),kt=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]);[...Ot,...kt];function At(e,t,n,r){let i=bt(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function jt(e){return At(e,`spacing`,8,`spacing`)}function Mt(e,t){return typeof t==`string`||t==null?t:e(t)}var Nt=[``];function Pt(e,t){var n;let r=e.theme??Ct,i=(r==null||(n=r.internal_cache)==null?void 0:n.unarySpacing)??jt(r),a={};for(let n in e){if(!t.has(n))continue;let r=Dt[n]??(Nt[0]=n,Nt),o=e[n];ut(a,e.theme,o,(e,t)=>{let n=e?a[e]:a;for(let e=0;e<r.length;e+=1)n[r[e]]=Mt(i,t)})}return a}function Ft(e){return Pt(e,Ot)}Ft.propTypes={},Ft.filterProps=Ot;var It=Ft;function Lt(e){return Pt(e,kt)}Lt.propTypes={},Lt.filterProps=kt;var Rt=Lt;function zt(e=8,t=jt({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Bt(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&Xe(n,t[r](e));return n};return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Vt(e){return typeof e==`number`?`${e}px solid`:e}function Ht(e,t){return St({prop:e,themeKey:`borders`,transform:t})}var eee=Ht(`border`,Vt),tee=Ht(`borderTop`,Vt),nee=Ht(`borderRight`,Vt),ree=Ht(`borderBottom`,Vt),iee=Ht(`borderLeft`,Vt),aee=Ht(`borderColor`),oee=Ht(`borderTopColor`),see=Ht(`borderRightColor`),cee=Ht(`borderBottomColor`),lee=Ht(`borderLeftColor`),uee=Ht(`outline`,Vt),dee=Ht(`outlineColor`),Ut=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=At(e.theme,`shape.borderRadius`,4,`borderRadius`);return lt(e,e.borderRadius,e=>({borderRadius:Mt(t,e)}))}return null};Ut.propTypes={},Ut.filterProps=[`borderRadius`],Bt(eee,tee,nee,ree,iee,aee,oee,see,cee,lee,Ut,uee,dee);var Wt=e=>{if(e.gap!==void 0&&e.gap!==null){let t=At(e.theme,`spacing`,8,`gap`);return lt(e,e.gap,e=>({gap:Mt(t,e)}))}return null};Wt.propTypes={},Wt.filterProps=[`gap`];var Gt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=At(e.theme,`spacing`,8,`columnGap`);return lt(e,e.columnGap,e=>({columnGap:Mt(t,e)}))}return null};Gt.propTypes={},Gt.filterProps=[`columnGap`];var Kt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=At(e.theme,`spacing`,8,`rowGap`);return lt(e,e.rowGap,e=>({rowGap:Mt(t,e)}))}return null};Kt.propTypes={},Kt.filterProps=[`rowGap`],Bt(Wt,Gt,Kt,St({prop:`gridColumn`}),St({prop:`gridRow`}),St({prop:`gridAutoFlow`}),St({prop:`gridAutoColumns`}),St({prop:`gridAutoRows`}),St({prop:`gridTemplateColumns`}),St({prop:`gridTemplateRows`}),St({prop:`gridTemplateAreas`}),St({prop:`gridArea`}));function qt(e,t){return t===`grey`?t:e}Bt(St({prop:`color`,themeKey:`palette`,transform:qt}),St({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:qt}),St({prop:`backgroundColor`,themeKey:`palette`,transform:qt}));var fee=ot;function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}var pee=St({prop:`width`,transform:Jt}),Yt=e=>e.maxWidth!==void 0&&e.maxWidth!==null?lt(e,e.maxWidth,t=>{var n,r;let i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[t])||fee[t];return i?((r=e.theme)==null||(r=r.breakpoints)==null?void 0:r.unit)===`px`?{maxWidth:i}:{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:Jt(t)}}):null;Yt.filterProps=[`maxWidth`];var mee=St({prop:`minWidth`,transform:Jt}),hee=St({prop:`height`,transform:Jt}),gee=St({prop:`maxHeight`,transform:Jt}),_ee=St({prop:`minHeight`,transform:Jt});St({prop:`size`,cssProperty:`width`,transform:Jt}),St({prop:`size`,cssProperty:`height`,transform:Jt}),Bt(pee,Yt,mee,hee,gee,_ee,St({prop:`boxSizing`}));var Xt={border:{themeKey:`borders`,transform:Vt},borderTop:{themeKey:`borders`,transform:Vt},borderRight:{themeKey:`borders`,transform:Vt},borderBottom:{themeKey:`borders`,transform:Vt},borderLeft:{themeKey:`borders`,transform:Vt},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Vt},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Ut},color:{themeKey:`palette`,transform:qt},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:qt},backgroundColor:{themeKey:`palette`,transform:qt},p:{style:Rt},pt:{style:Rt},pr:{style:Rt},pb:{style:Rt},pl:{style:Rt},px:{style:Rt},py:{style:Rt},padding:{style:Rt},paddingTop:{style:Rt},paddingRight:{style:Rt},paddingBottom:{style:Rt},paddingLeft:{style:Rt},paddingX:{style:Rt},paddingY:{style:Rt},paddingInline:{style:Rt},paddingInlineStart:{style:Rt},paddingInlineEnd:{style:Rt},paddingBlock:{style:Rt},paddingBlockStart:{style:Rt},paddingBlockEnd:{style:Rt},m:{style:It},mt:{style:It},mr:{style:It},mb:{style:It},ml:{style:It},mx:{style:It},my:{style:It},margin:{style:It},marginTop:{style:It},marginRight:{style:It},marginBottom:{style:It},marginLeft:{style:It},marginX:{style:It},marginY:{style:It},marginInline:{style:It},marginInlineStart:{style:It},marginInlineEnd:{style:It},marginBlock:{style:It},marginBlockStart:{style:It},marginBlockEnd:{style:It},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:Wt},rowGap:{style:Kt},columnGap:{style:Gt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Jt},maxWidth:{style:Yt},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},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`}},vee={};function yee(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=vee,nested:i}=t,a=r.unstable_sxConfig??Xt,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??st,l=ft(c);for(let n in s){let i=bee(s[n],r);i!=null&&(typeof i==`object`?a[n]?Qt(l,n,i,r,a):_t(c,i)?ut(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o)):Qt(l,n,i,r,a))}return!i&&r.modularCssLayers?{"@layer sx":Ue(r,pt(c,l))}:Ue(r,pt(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var Zt=yee();function Qt(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){Xe(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=bt(r,o);ut(e,r,n,(n,r)=>{let i=yt(u,l,r,t);c===!1?Xe(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function bee(e,t){return typeof e==`function`?e(t):e}function xee(e,t){let n=this;if(n.vars){var r;if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!=`function`)return{};let i=n.getColorSchemeSelector(e);return i===`&`?t:((i.includes(`data-`)||i.includes(`.`))&&(i=`*:where(${i.replace(/\s*&$/,``)}) &`),{[i]:t})}return n.palette.mode===e?t:{}}function $t(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ve(n),c=zt(i),l=ze({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Je,...a}},o);return l=qe(l),l.applyStyles=xee,l=t.reduce((e,t)=>ze(e,t),l),l.unstable_sxConfig={...Xt,...o==null?void 0:o.unstable_sxConfig},l.unstable_sx=function(e){return Zt({sx:e,theme:this})},l.internal_cache={},l}function See(e){return Object.keys(e).length===0}function en(e=null){let t=w(T);return!t||See(t)?e:t}var Cee=$t();function tn(e=Cee){return en(e)}function nn(e){let t=Pe(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function wee({styles:e,themeId:t,defaultTheme:n={}}){let r=tn(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>nn(typeof e==`function`?e(i):e)):nn(a)),L(Ae,{styles:a})}var Tee=e=>e,rn=(()=>{let e=Tee;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Tee}}})();function an(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=an(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function z(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=an(e))&&(r&&(r+=` `),r+=t);return r}function Eee(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=je(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(Zt);return j(function(e,o){let s=tn(n),{className:c,component:l=`div`,...u}=e;return L(a,{as:l,ref:o,className:z(c,i?i(r):r),theme:t&&s[t]||s,...u})})}var Dee={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 B(e,t,n=`Mui`){let r=Dee[t];return r?`${n}-${r}`:`${rn.generate(e)}-${t}`}function on(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=B(e,t,n)}),r}function Oee(e){let{variants:t,...n}=e,r={variants:t,style:Pe(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Pe(e.style))}),r}var kee=$t();function sn(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function cn(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Aee(e){return e?(t,n)=>n[e]:null}function jee(e,t,n){e.theme=Ye(e.theme)?n:e.theme[t]||e.theme}function ln(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ln(e,t,n));if(Array.isArray(r==null?void 0:r.variants)){let t;if(r.isProcessed)t=n?cn(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?cn(Pe(i),n):i}return un(e,r.variants,[t],n)}return r!=null&&r.isProcessed?n?cn(Pe(r.style),n):r.style:n?cn(Pe(r),n):r}function un(e,t,n=[],r=void 0){let i;variantLoop:for(let o=0;o<t.length;o+=1){let s=t[o];if(typeof s.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(i))continue}else for(let t in s.props){var a;if(e[t]!==s.props[t]&&((a=e.ownerState)==null?void 0:a[t])!==s.props[t])continue variantLoop}typeof s.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?cn(Pe(s.style(i)),r):s.style(i))):n.push(r?cn(Pe(s.style),r):s.style)}return n}function dn(e={}){let{themeId:t,defaultTheme:n=kee,rootShouldForwardProp:r=sn,slotShouldForwardProp:i=sn}=e;function a(e){jee(e,t,n)}return(e,t={})=>{Me(e,e=>e.filter(e=>e!==Zt));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Aee(Nee(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=sn;o===`Root`||o===`root`?m=r:o?m=i:Mee(e)&&(m=void 0);let h=je(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ln(t,e,t.theme.modularCssLayers?d:void 0)};if(Le(e)){let t=Oee(e);return function(e){return t.variants?ln(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?cn(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){var t;let r=(t=e.theme.components)==null||(t=t[n])==null?void 0:t.styleOverrides;if(!r)return null;let i={};for(let t in r)i[t]=ln(e,r[t],e.theme.modularCssLayers?`theme`:void 0);return l(e,i)}),n&&!f&&o.push(function(e){var t;let r=e.theme,i=r==null||(t=r.components)==null||(t=t[n])==null?void 0:t.variants;return i?un(e,i,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(Zt),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function Mee(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Nee(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var fn=dn();function pn(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e,s=i[t],c=o[t];typeof s==`function`||typeof c==`function`?r[a][t]=(...e)=>pn((typeof s==`function`?s(...e):s)??{},(typeof c==`function`?c(...e):c)??{},n):r[a][t]=pn(s??{},c??{},n)}}}else a===`className`&&n&&t.className!==void 0?r.className=z(e==null?void 0:e.className,t==null?void 0:t.className):a===`style`&&n&&t.style?r.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:r[a]===void 0&&(r[a]=e[a])}return r}function mn(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:pn(t.components[n].defaultProps,r)}function hn(e){let{props:t,name:n,defaultTheme:r,themeId:i}=e,a=tn(r);return i&&(a=a[i]||a),mn({theme:a,name:n,props:t})}var gn=typeof window<`u`?f:C;function Pee(e,t,n,r,i){let[a,o]=u(()=>i&&n?n(e).matches:r?r(e).matches:t);return gn(()=>{if(!n)return;let t=n(e),r=()=>{o(t.matches)};return r(),t.addEventListener(`change`,r),()=>{t.removeEventListener(`change`,r)}},[e,n]),a}var Fee={...P}.useSyncExternalStore;function Iee(e,t,n,r,i){let a=p(()=>t,[t]),o=m(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){let{matches:t}=r(e);return()=>t}return a},[a,e,r,i,n]),[s,c]=m(()=>{if(n===null)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[a,n,e]);return Fee(c,s,o)}function Lee(e={}){let{themeId:t}=e;return function(e,n={}){let r=en();r&&t&&(r=r[t]||r);let i=typeof window<`u`&&window.matchMedia!==void 0?window.matchMedia:null,{defaultMatches:a=!1,matchMedia:o,ssrMatchMedia:s=null,noSsr:c=!1}=mn({name:`MuiUseMediaQuery`,props:n,theme:r}),l=m(()=>o===void 0?i===null?null:i.bind(window):o,[o,i]),u=typeof e==`function`?e(r):e;return u=u.replace(/^@media( ?)/m,``),u.includes(`print`)&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.",`Using the print media query to modify print styles can lead to unexpected results.`,"Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
1
+ import{i as e,n as t,t as n}from"./rolldown-runtime-Dd_uD5pT.js";import{t as r}from"./vite-preload-helper-BbbETgeG.js";import{A as i,C as a,D as o,E as s,F as c,I as l,L as u,M as d,N as f,O as p,P as m,R as h,S as g,T as _,V as v,_ as y,b,h as x,i as S,j as C,k as w,n as T,o as E,r as D,t as O,u as k,v as A,w as j,x as M,y as N,z as P}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CzBMxGFr.js";import{t as F}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-1XsLCK2M.js";function ee(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var te=`$$material`,ne=n(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),re=n(((e,t)=>{var n=ne();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=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 s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={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:i,resetWarningCache:r};return a.PropTypes=a,a}})),ie=n(((e,t)=>{t.exports=re()()})),ae=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},oe=Symbol.for(`module-federation.shared-cache-listeners`),se=e=>{let t=e[oe];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,oe,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},ce=(e,t,n)=>{let r=se(e);(r[t.canonical]||=new Set).add(n)},le=Symbol.for(`module-federation.shared-cache-owners`),ue=e=>{let t=e[le];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,le,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},de=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},fe=(e,t)=>{if(e===t)return!0;let n=de(e),r=de(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},pe=(e,t,n,r)=>{var i;let a=ae(e,t);if(a!==void 0&&fe(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[le];r===void 0?s&&delete s[t.canonical]:ue(e)[t.canonical]=r;let c=(i=e[oe])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n},I=`__mf_init__virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__mf_v__runtimeInit__mf_v__.js__`,me=globalThis[I];if(!me){let e,t,n=new Promise((n,r)=>{e=n,t=r});me=globalThis[I]={initPromise:n,initResolve:e,initReject:t}}var he=me.initPromise,ge=`__mf_module_cache__`;globalThis[ge]||={share:{},remote:{}},globalThis[ge].share||={},globalThis[ge].remote||={};var _e=globalThis[ge],ve=e=>{let t=_e.pendingShareLoads||=[];t.push(e);let n=()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)};return e.then(n,n),e};for(let e of Object.keys(_e.share))if(e.startsWith(`default:`)){let t=e.slice(8);_e.share[t]===void 0&&(_e.share[t]=_e.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;_e.share[t]===void 0&&(_e.share[t]=_e.share[e])}var ye=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},be,L,R,xe=e=>{Se=e,be=e.Fragment,L=e.jsx,R=e.jsxs,e.default};ce(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},xe);var Se=ae(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]});Se===void 0?ve(he.then(()=>{if(Se=ae(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]}),Se!==void 0)xe(Se);else return r(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js`).then(e=>{Se=ye(e),pe(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},Se,`ConfigCustomAssistant`)}),[],import.meta.url)})):xe(Se);var Ce=new Map,we={insert:void 0},Te=(e,t)=>{let n=x(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Ee;if(typeof document==`object`&&(Ee=document.querySelector(`[name="emotion-insertion-point"]`),!Ee)){Ee=document.createElement(`meta`),Ee.setAttribute(`name`,`emotion-insertion-point`),Ee.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Ee)}function De(e,t){if(e||t){class n extends y{insert(e,t){return we.insert?we.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Ee),super.insert(e,t))}}let r=Te({key:t?`mui`:`css`,insertionPoint:e?Ee:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Oe(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=m(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ce.has(e))return Ce.get(e);let r=De(t,n);return Ce.set(e,r),r},[t,n]);return i?L(O,{value:i,children:r}):r}function ke(e){return e==null||Object.keys(e).length===0}function Ae(e){let{styles:t,defaultTheme:n={}}=e;return L(E,{styles:typeof t==`function`?e=>t(ke(e)?n:e):t})}function je(e,t){return F(e,t)}function Me(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Ne=[];function Pe(e){return Ne[0]=e,k(Ne)}var Fe=n((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.view_transition`),f=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||e===d||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===f||e.getModuleId!==void 0))}})),Ie=n(((e,t)=>{t.exports=Fe()}))();function Le(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Re(e){if(_(e)||(0,Ie.isValidElementType)(e)||!Le(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Re(e[n])}),t}function ze(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Le(e)&&Le(t)&&Object.keys(t).forEach(i=>{_(t[i])||(0,Ie.isValidElementType)(t[i])?r[i]=t[i]:Le(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Le(e[i])?r[i]=ze(e[i],t[i],n):n.clone?r[i]=Le(t[i])?Re(t[i]):t[i]:r[i]=t[i]}),r}var Be=e=>{let 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}),{})};function Ve(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Be(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var He=/min-width:\s*([0-9.]+)/;function Ue(e,t){if(!e.containerQueries||!We(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>{var n,r;return+(((n=e.match(He))==null?void 0:n[1])||0)-(((r=t.match(He))==null?void 0:r[1])||0)});let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function We(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function Ge(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ke(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function qe(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Je={borderRadius:4};function Ye(e){if(e==null)return!0;for(let t in e)return!1;return!0}function Xe(e,t){let n=Array.isArray(t),r=Array.isArray(e);return tt(t)?t:nt(e)?rt(t):n&&r?$e(e,t):n===r?it(e,t):rt(t)}function Ze(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=rt(e[t]);return r}function Qe(e){let t={};for(let n in e)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=rt(e[n]));return t}function $e(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=rt(t[r]);return e}function et(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function tt(e){return typeof e!=`object`||!e}function nt(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function rt(e){return et(e)?Array.isArray(e)?Ze(e):Qe(e):e}function it(e,t){for(let n in t)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(e[n]=n in e?Xe(e[n],t[n]):rt(t[n]));return e}var at={},ot={xs:0,sm:600,md:900,lg:1200,xl:1536},st=Ve({values:ot}),ct={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ot[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function lt(e,t,n){let r={};return ut(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:Xe(r,a)})}function ut(e,t,n,r){if(t??=at,Array.isArray(n)){let i=t.breakpoints??st;for(let t=0;t<n.length;t+=1)dt(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??st,a=i.values??ot;for(let o in n)if(Ge(i.keys,o)){let i=Ke(t.containerQueries?t:ct,o);i&&dt(e,i,n[o],o,r)}else if(o in a)dt(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function dt(e,t,n,r,i){e[t]??={},i(t,n,r)}function ft(e=st){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function pt(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];Ye(t[r])&&delete t[r]}return t}function mt(e,...t){return pt(e,[ft(e),...t].reduce((e,t)=>ze(e,t),{}))}function ht(e,t){if(typeof e!=`object`)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{e[t]!=null&&(n[t]=!0)}),n}function gt(e){let{values:t,breakpoints:n,base:r}=e,i=r||ht(t,n),a=Object.keys(i);if(a.length===0)return t;let o;return a.reduce((e,n,r)=>{if(Array.isArray(t))e[n]=t[r]==null?t[o]:t[r],o=r;else if(typeof t==`object`&&t){let r=t;e[n]=r[n]==null?r[o]:r[n],o=n}else e[n]=t;return e},{})}function _t(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(Ge(e.keys,n[t]))return!0}return!1}function vt(e){if(typeof e!=`string`)throw Error(ee(7));return e.charAt(0).toUpperCase()+e.slice(1)}function yt(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&bt(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function bt(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=xt(e.vars,i,r);if(t!=null)return t}return xt(e,i,r)}function xt(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e==="default"?``:vt(e)}`;return r==null?void 0:r[i]}return i}function St(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=bt(o,r)||{};return lt(e,a,e=>{let r=yt(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var Ct={internal_cache:{}},wt={m:`margin`,p:`padding`},Tt={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Et={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Dt={};for(let e in wt)Dt[e]=[wt[e]];for(let e in wt)for(let t in Tt){let n=wt[e],r=Tt[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Dt[e+t]=i}for(let e in Et)Dt[e]=Dt[Et[e]];var Ot=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),kt=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]);[...Ot,...kt];function At(e,t,n,r){let i=bt(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function jt(e){return At(e,`spacing`,8,`spacing`)}function Mt(e,t){return typeof t==`string`||t==null?t:e(t)}var Nt=[``];function Pt(e,t){var n;let r=e.theme??Ct,i=(r==null||(n=r.internal_cache)==null?void 0:n.unarySpacing)??jt(r),a={};for(let n in e){if(!t.has(n))continue;let r=Dt[n]??(Nt[0]=n,Nt),o=e[n];ut(a,e.theme,o,(e,t)=>{let n=e?a[e]:a;for(let e=0;e<r.length;e+=1)n[r[e]]=Mt(i,t)})}return a}function Ft(e){return Pt(e,Ot)}Ft.propTypes={},Ft.filterProps=Ot;var It=Ft;function Lt(e){return Pt(e,kt)}Lt.propTypes={},Lt.filterProps=kt;var Rt=Lt;function zt(e=8,t=jt({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Bt(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&Xe(n,t[r](e));return n};return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Vt(e){return typeof e==`number`?`${e}px solid`:e}function Ht(e,t){return St({prop:e,themeKey:`borders`,transform:t})}var eee=Ht(`border`,Vt),tee=Ht(`borderTop`,Vt),nee=Ht(`borderRight`,Vt),ree=Ht(`borderBottom`,Vt),iee=Ht(`borderLeft`,Vt),aee=Ht(`borderColor`),oee=Ht(`borderTopColor`),see=Ht(`borderRightColor`),cee=Ht(`borderBottomColor`),lee=Ht(`borderLeftColor`),uee=Ht(`outline`,Vt),dee=Ht(`outlineColor`),Ut=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=At(e.theme,`shape.borderRadius`,4,`borderRadius`);return lt(e,e.borderRadius,e=>({borderRadius:Mt(t,e)}))}return null};Ut.propTypes={},Ut.filterProps=[`borderRadius`],Bt(eee,tee,nee,ree,iee,aee,oee,see,cee,lee,Ut,uee,dee);var Wt=e=>{if(e.gap!==void 0&&e.gap!==null){let t=At(e.theme,`spacing`,8,`gap`);return lt(e,e.gap,e=>({gap:Mt(t,e)}))}return null};Wt.propTypes={},Wt.filterProps=[`gap`];var Gt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=At(e.theme,`spacing`,8,`columnGap`);return lt(e,e.columnGap,e=>({columnGap:Mt(t,e)}))}return null};Gt.propTypes={},Gt.filterProps=[`columnGap`];var Kt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=At(e.theme,`spacing`,8,`rowGap`);return lt(e,e.rowGap,e=>({rowGap:Mt(t,e)}))}return null};Kt.propTypes={},Kt.filterProps=[`rowGap`],Bt(Wt,Gt,Kt,St({prop:`gridColumn`}),St({prop:`gridRow`}),St({prop:`gridAutoFlow`}),St({prop:`gridAutoColumns`}),St({prop:`gridAutoRows`}),St({prop:`gridTemplateColumns`}),St({prop:`gridTemplateRows`}),St({prop:`gridTemplateAreas`}),St({prop:`gridArea`}));function qt(e,t){return t===`grey`?t:e}Bt(St({prop:`color`,themeKey:`palette`,transform:qt}),St({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:qt}),St({prop:`backgroundColor`,themeKey:`palette`,transform:qt}));var fee=ot;function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}var pee=St({prop:`width`,transform:Jt}),Yt=e=>e.maxWidth!==void 0&&e.maxWidth!==null?lt(e,e.maxWidth,t=>{var n,r;let i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[t])||fee[t];return i?((r=e.theme)==null||(r=r.breakpoints)==null?void 0:r.unit)===`px`?{maxWidth:i}:{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:Jt(t)}}):null;Yt.filterProps=[`maxWidth`];var mee=St({prop:`minWidth`,transform:Jt}),hee=St({prop:`height`,transform:Jt}),gee=St({prop:`maxHeight`,transform:Jt}),_ee=St({prop:`minHeight`,transform:Jt});St({prop:`size`,cssProperty:`width`,transform:Jt}),St({prop:`size`,cssProperty:`height`,transform:Jt}),Bt(pee,Yt,mee,hee,gee,_ee,St({prop:`boxSizing`}));var Xt={border:{themeKey:`borders`,transform:Vt},borderTop:{themeKey:`borders`,transform:Vt},borderRight:{themeKey:`borders`,transform:Vt},borderBottom:{themeKey:`borders`,transform:Vt},borderLeft:{themeKey:`borders`,transform:Vt},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Vt},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Ut},color:{themeKey:`palette`,transform:qt},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:qt},backgroundColor:{themeKey:`palette`,transform:qt},p:{style:Rt},pt:{style:Rt},pr:{style:Rt},pb:{style:Rt},pl:{style:Rt},px:{style:Rt},py:{style:Rt},padding:{style:Rt},paddingTop:{style:Rt},paddingRight:{style:Rt},paddingBottom:{style:Rt},paddingLeft:{style:Rt},paddingX:{style:Rt},paddingY:{style:Rt},paddingInline:{style:Rt},paddingInlineStart:{style:Rt},paddingInlineEnd:{style:Rt},paddingBlock:{style:Rt},paddingBlockStart:{style:Rt},paddingBlockEnd:{style:Rt},m:{style:It},mt:{style:It},mr:{style:It},mb:{style:It},ml:{style:It},mx:{style:It},my:{style:It},margin:{style:It},marginTop:{style:It},marginRight:{style:It},marginBottom:{style:It},marginLeft:{style:It},marginX:{style:It},marginY:{style:It},marginInline:{style:It},marginInlineStart:{style:It},marginInlineEnd:{style:It},marginBlock:{style:It},marginBlockStart:{style:It},marginBlockEnd:{style:It},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:Wt},rowGap:{style:Kt},columnGap:{style:Gt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Jt},maxWidth:{style:Yt},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},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`}},vee={};function yee(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=vee,nested:i}=t,a=r.unstable_sxConfig??Xt,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??st,l=ft(c);for(let n in s){let i=bee(s[n],r);i!=null&&(typeof i==`object`?a[n]?Qt(l,n,i,r,a):_t(c,i)?ut(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o)):Qt(l,n,i,r,a))}return!i&&r.modularCssLayers?{"@layer sx":Ue(r,pt(c,l))}:Ue(r,pt(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var Zt=yee();function Qt(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){Xe(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=bt(r,o);ut(e,r,n,(n,r)=>{let i=yt(u,l,r,t);c===!1?Xe(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function bee(e,t){return typeof e==`function`?e(t):e}function xee(e,t){let n=this;if(n.vars){var r;if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!=`function`)return{};let i=n.getColorSchemeSelector(e);return i===`&`?t:((i.includes(`data-`)||i.includes(`.`))&&(i=`*:where(${i.replace(/\s*&$/,``)}) &`),{[i]:t})}return n.palette.mode===e?t:{}}function $t(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ve(n),c=zt(i),l=ze({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Je,...a}},o);return l=qe(l),l.applyStyles=xee,l=t.reduce((e,t)=>ze(e,t),l),l.unstable_sxConfig={...Xt,...o==null?void 0:o.unstable_sxConfig},l.unstable_sx=function(e){return Zt({sx:e,theme:this})},l.internal_cache={},l}function See(e){return Object.keys(e).length===0}function en(e=null){let t=w(T);return!t||See(t)?e:t}var Cee=$t();function tn(e=Cee){return en(e)}function nn(e){let t=Pe(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function wee({styles:e,themeId:t,defaultTheme:n={}}){let r=tn(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>nn(typeof e==`function`?e(i):e)):nn(a)),L(Ae,{styles:a})}var Tee=e=>e,rn=(()=>{let e=Tee;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Tee}}})();function an(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=an(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function z(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=an(e))&&(r&&(r+=` `),r+=t);return r}function Eee(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=je(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(Zt);return j(function(e,o){let s=tn(n),{className:c,component:l=`div`,...u}=e;return L(a,{as:l,ref:o,className:z(c,i?i(r):r),theme:t&&s[t]||s,...u})})}var Dee={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 B(e,t,n=`Mui`){let r=Dee[t];return r?`${n}-${r}`:`${rn.generate(e)}-${t}`}function on(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=B(e,t,n)}),r}function Oee(e){let{variants:t,...n}=e,r={variants:t,style:Pe(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Pe(e.style))}),r}var kee=$t();function sn(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function cn(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Aee(e){return e?(t,n)=>n[e]:null}function jee(e,t,n){e.theme=Ye(e.theme)?n:e.theme[t]||e.theme}function ln(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ln(e,t,n));if(Array.isArray(r==null?void 0:r.variants)){let t;if(r.isProcessed)t=n?cn(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?cn(Pe(i),n):i}return un(e,r.variants,[t],n)}return r!=null&&r.isProcessed?n?cn(Pe(r.style),n):r.style:n?cn(Pe(r),n):r}function un(e,t,n=[],r=void 0){let i;variantLoop:for(let o=0;o<t.length;o+=1){let s=t[o];if(typeof s.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(i))continue}else for(let t in s.props){var a;if(e[t]!==s.props[t]&&((a=e.ownerState)==null?void 0:a[t])!==s.props[t])continue variantLoop}typeof s.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?cn(Pe(s.style(i)),r):s.style(i))):n.push(r?cn(Pe(s.style),r):s.style)}return n}function dn(e={}){let{themeId:t,defaultTheme:n=kee,rootShouldForwardProp:r=sn,slotShouldForwardProp:i=sn}=e;function a(e){jee(e,t,n)}return(e,t={})=>{Me(e,e=>e.filter(e=>e!==Zt));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Aee(Nee(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=sn;o===`Root`||o===`root`?m=r:o?m=i:Mee(e)&&(m=void 0);let h=je(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ln(t,e,t.theme.modularCssLayers?d:void 0)};if(Le(e)){let t=Oee(e);return function(e){return t.variants?ln(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?cn(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){var t;let r=(t=e.theme.components)==null||(t=t[n])==null?void 0:t.styleOverrides;if(!r)return null;let i={};for(let t in r)i[t]=ln(e,r[t],e.theme.modularCssLayers?`theme`:void 0);return l(e,i)}),n&&!f&&o.push(function(e){var t;let r=e.theme,i=r==null||(t=r.components)==null||(t=t[n])==null?void 0:t.variants;return i?un(e,i,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(Zt),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function Mee(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Nee(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var fn=dn();function pn(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e,s=i[t],c=o[t];typeof s==`function`||typeof c==`function`?r[a][t]=(...e)=>pn((typeof s==`function`?s(...e):s)??{},(typeof c==`function`?c(...e):c)??{},n):r[a][t]=pn(s??{},c??{},n)}}}else a===`className`&&n&&t.className!==void 0?r.className=z(e==null?void 0:e.className,t==null?void 0:t.className):a===`style`&&n&&t.style?r.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:r[a]===void 0&&(r[a]=e[a])}return r}function mn(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:pn(t.components[n].defaultProps,r)}function hn(e){let{props:t,name:n,defaultTheme:r,themeId:i}=e,a=tn(r);return i&&(a=a[i]||a),mn({theme:a,name:n,props:t})}var gn=typeof window<`u`?f:C;function Pee(e,t,n,r,i){let[a,o]=u(()=>i&&n?n(e).matches:r?r(e).matches:t);return gn(()=>{if(!n)return;let t=n(e),r=()=>{o(t.matches)};return r(),t.addEventListener(`change`,r),()=>{t.removeEventListener(`change`,r)}},[e,n]),a}var Fee={...P}.useSyncExternalStore;function Iee(e,t,n,r,i){let a=p(()=>t,[t]),o=m(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){let{matches:t}=r(e);return()=>t}return a},[a,e,r,i,n]),[s,c]=m(()=>{if(n===null)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[a,n,e]);return Fee(c,s,o)}function Lee(e={}){let{themeId:t}=e;return function(e,n={}){let r=en();r&&t&&(r=r[t]||r);let i=typeof window<`u`&&window.matchMedia!==void 0?window.matchMedia:null,{defaultMatches:a=!1,matchMedia:o,ssrMatchMedia:s=null,noSsr:c=!1}=mn({name:`MuiUseMediaQuery`,props:n,theme:r}),l=m(()=>o===void 0?i===null?null:i.bind(window):o,[o,i]),u=typeof e==`function`?e(r):e;return u=u.replace(/^@media( ?)/m,``),u.includes(`print`)&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.",`Using the print media query to modify print styles can lead to unexpected results.`,"Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
2
2
  `)),(Fee===void 0?Pee:Iee)(u,a,l,s,c)}}Lee();function _n(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function vn(e,t=0,n=1){return _n(e,t,n)}function Ree(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function zee(e){let t=e.toString(16);return t.length===1?`0${t}`:t}function yn(e){if(e.type)return e;if(e.charAt(0)===`#`)return yn(Ree(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(ee(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(ee(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var Bee=e=>{let t=yn(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},bn=(e,t)=>{try{return Bee(e)}catch{return e}};function xn(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function Vee(e){if(e.startsWith(`#`))return e;let{values:t}=yn(e);return`#${t.map((e,t)=>zee(t===3?Math.round(255*e):e)).join(``)}`}function Sn(e){e=yn(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),xn({type:s,values:c})}function Cn(e){e=yn(e);let t=e.type===`hsl`||e.type===`hsla`?yn(Sn(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(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 wn(e,t){let n=Cn(e),r=Cn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Tn(e,t){return e=yn(e),t=vn(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,xn(e)}function En(e,t,n){try{return Tn(e,t)}catch{return e}}function Dn(e,t){if(e=yn(e),t=vn(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return xn(e)}function On(e,t,n){try{return Dn(e,t)}catch{return e}}function kn(e,t){if(e=yn(e),t=vn(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return xn(e)}function An(e,t,n){try{return kn(e,t)}catch{return e}}function jn(e,t=.15){return Cn(e)>.5?Dn(e,t):kn(e,t)}function Mn(e,t,n){try{return jn(e,t)}catch{return e}}var Hee=M(null);function Nn(){return w(Hee)}var Uee=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Wee(e,t){return typeof t==`function`?t(e):{...e,...t}}function Gee(e){let{children:t,theme:n}=e,r=Nn(),i=m(()=>{let e=r===null?{...n}:Wee(r,n);return e!=null&&(e[Uee]=r!==null),e},[n,r]);return L(Hee.Provider,{value:i,children:t})}var Kee=M(void 0);function qee({value:e,...t}){return L(Kee.Provider,{value:e??!0,...t})}var Pn=()=>w(Kee)??!1,Jee=M(void 0);function Yee({value:e,children:t}){return L(Jee.Provider,{value:e,children:t})}function Xee(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?pn(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?pn(i,r,t.components.mergeClassNameAndStyle):r}function Zee({props:e,name:t}){return Xee({props:e,name:t,theme:{components:w(Jee)}})}var Qee=0;function $ee(e){let[t,n]=u(e),r=e||t;return C(()=>{t??(Qee+=1,n(`mui-${Qee}`))},[t]),r}var ete={...P}.useId;function Fn(e){if(ete!==void 0){let t=ete();return e??t}return $ee(e)}function tte(e){let t=en(),n=Fn()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,gn(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){var r;if(t&&(r=t.hasAttribute)!=null&&r.call(t,`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let a=document.createElement(`style`);a.setAttribute(`data-mui-layer-order`,n),a.textContent=i,e.prepend(a)}else{var a;(a=e.querySelector(`style[data-mui-layer-order="${n}"]`))==null||a.remove()}},[i,n]),i?L(wee,{styles:i}):null}var nte={};function rte(e,t,n,r=!1){return m(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function In(e){let{children:t,theme:n,themeId:r}=e,i=en(nte),a=Nn()||nte,o=rte(r,i,n),s=rte(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=tte(o);return L(Gee,{theme:s,children:L(T.Provider,{value:o,children:L(qee,{value:c,children:R(Yee,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Ln={theme:void 0};function ite(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Ln.theme=r.theme,i=Oee(e(Ln)),t=i,n=r.theme),i}}var Rn=`mode`,zn=`color-scheme`,ate=`data-color-scheme`,Bn={...P}.useSyncExternalStore,ote=()=>()=>{};function Vn(e){return JSON.stringify(e).replace(/</g,`\\u003c`).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}function Hn(e,t){let n=e.split(`%s`),r=[];for(let e=0;e<n.length;e+=1)e>0&&r.push(t),n[e]&&r.push(Vn(n[e]));return r.join(` + `)||`""`}function ste(){return Bn===void 0||Bn(ote,()=>!1,()=>!0)}function Un(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=Rn,colorSchemeStorageKey:a=zn,attribute:o=ate,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove(${Hn(e,`light`)}, ${Hn(e,`dark`)});
3
3
  ${s}.classList.add(${Hn(e,`colorScheme`)});`}let d=u.match(/\[([^[\]]+)\]/);if(d){let e=d[1].indexOf(`=`),t=e===-1?d[1]:d[1].slice(0,e),n=e===-1?void 0:d[1].slice(e+1);n||(l+=`${s}.removeAttribute(${Hn(t,`light`)});
4
4
  ${s}.removeAttribute(${Hn(t,`dark`)});`);let r=n?Hn(n.replace(/^(['"])(.*)\1$/,`$2`),`colorScheme`):`""`;l+=`
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./utils-towTPKqG.js"])))=>i.map(i=>d[i]);
2
- import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./vite-preload-helper-BbbETgeG.js";import{Xr as n,Yr as r,Zr as i}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-rncPQw0c.js";var a=e({ConfigGeneric:()=>y,ConfigPanel:()=>v,GUI_API_GENERATION:()=>m,JsonConfig:()=>g,JsonConfigComponent:()=>_,__moduleExports:()=>S,checkGuiApiCompatibility:()=>h,default:()=>p}),o=`__mf_init__virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__mf_v__runtimeInit__mf_v__.js__`,s=globalThis[o];if(!s){let e,t,n=new Promise((n,r)=>{e=n,t=r});s=globalThis[o]={initPromise:n,initResolve:e,initReject:t}}var c=s.initPromise,l=`__mf_module_cache__`;globalThis[l]||={share:{},remote:{}},globalThis[l].share||={},globalThis[l].remote||={};var u=globalThis[l],d=e=>{let t=u.pendingShareLoads||=[];t.push(e);let n=()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)};return e.then(n,n),e};for(let e of Object.keys(u.share))if(e.startsWith(`default:`)){let t=e.slice(8);u.share[t]===void 0&&(u.share[t]=u.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;u.share[t]===void 0&&(u.share[t]=u.share[e])}var f=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},p,m,h,g,_,v,y,b=e=>{m=e.GUI_API_GENERATION,h=e.checkGuiApiCompatibility,g=e.JsonConfig,_=e.JsonConfigComponent,v=e.ConfigPanel,y=e.ConfigGeneric,p=e.default??e};n(u.share,{canonical:`default:@iobroker/json-config`,aliases:[`@iobroker/json-config`]},b);var x=r(u.share,{canonical:`default:@iobroker/json-config`,aliases:[`@iobroker/json-config`]});x===void 0?d(c.then(()=>{if(x=r(u.share,{canonical:`default:@iobroker/json-config`,aliases:[`@iobroker/json-config`]}),x!==void 0)b(x);else return t(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-O-DuGvHy.js`).then(e=>{x=f(e),i(u.share,{canonical:`default:@iobroker/json-config`,aliases:[`@iobroker/json-config`]},x,`ConfigCustomAssistant`)}),__vite__mapDeps([0]),import.meta.url)})):b(x);var S=x;export{a as n,y as t};
2
+ import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./vite-preload-helper-BbbETgeG.js";import{Xr as n,Yr as r,Zr as i}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CMv8bcyA.js";var a=e({ConfigGeneric:()=>y,ConfigPanel:()=>v,GUI_API_GENERATION:()=>m,JsonConfig:()=>g,JsonConfigComponent:()=>_,__moduleExports:()=>x,checkGuiApiCompatibility:()=>h,default:()=>p}),o=`__mf_init__virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__mf_v__runtimeInit__mf_v__.js__`,s=globalThis[o];if(!s){let e,t,n=new Promise((n,r)=>{e=n,t=r});s=globalThis[o]={initPromise:n,initResolve:e,initReject:t}}var c=s.initPromise,l=`__mf_module_cache__`;globalThis[l]||={share:{},remote:{}},globalThis[l].share||={},globalThis[l].remote||={};var u=globalThis[l],d=e=>{let t=u.pendingShareLoads||=[];t.push(e);let n=()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)};return e.then(n,n),e};for(let e of Object.keys(u.share))if(e.startsWith(`default:`)){let t=e.slice(8);u.share[t]===void 0&&(u.share[t]=u.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;u.share[t]===void 0&&(u.share[t]=u.share[e])}var f=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},p,m,h,g,_,v,y,b=e=>{x=e,m=e.GUI_API_GENERATION,h=e.checkGuiApiCompatibility,g=e.JsonConfig,_=e.JsonConfigComponent,v=e.ConfigPanel,y=e.ConfigGeneric,p=e.default??e};n(u.share,{canonical:`default:@iobroker/json-config`,aliases:[`@iobroker/json-config`]},b);var x=r(u.share,{canonical:`default:@iobroker/json-config`,aliases:[`@iobroker/json-config`]});x===void 0?d(c.then(()=>{if(x=r(u.share,{canonical:`default:@iobroker/json-config`,aliases:[`@iobroker/json-config`]}),x!==void 0)b(x);else return t(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__198531368674860__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-DS8oaQQt.js`).then(e=>{x=f(e),i(u.share,{canonical:`default:@iobroker/json-config`,aliases:[`@iobroker/json-config`]},x,`ConfigCustomAssistant`)}),__vite__mapDeps([0]),import.meta.url)})):b(x);export{a as n,y as t};