@camera.ui/server 2.2.5 → 2.2.7

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 (436) hide show
  1. package/dist/interface/assets/{404-CiOxoqnT.js → 404-C8EoOtBl.js} +1 -1
  2. package/dist/interface/assets/{About-DWOlfWEm.js → About-Q7ZmOGgl.js} +1 -1
  3. package/dist/interface/assets/{Assistant-CXx7EY1W.css → Assistant-BQ6Ld-bt.css} +1 -1
  4. package/dist/interface/assets/Assistant-DFLgklVe.js +1 -0
  5. package/dist/interface/assets/{Automation-BJgwUkUB.js → Automation-D__qvx8c.js} +3 -3
  6. package/dist/interface/assets/{AutomationImport-9GRAndAt.js → AutomationImport-CLQSdqg9.js} +2 -2
  7. package/dist/interface/assets/{AutomationStore-D_HR2Xby.js → AutomationStore-Dt6yTQDb.js} +2 -2
  8. package/dist/interface/assets/{AutomationStoreDetail-B9MxV2py.js → AutomationStoreDetail-DqBrBhUI.js} +2 -2
  9. package/dist/interface/assets/Automations-BH_7lYR7.js +2 -0
  10. package/dist/interface/assets/Camera-BW9ikKqh.css +1 -0
  11. package/dist/interface/assets/Camera-aquPHFwb.js +2 -0
  12. package/dist/interface/assets/{CameraConsole-BKPTLSTO.js → CameraConsole-rhle_cfW.js} +1 -1
  13. package/dist/interface/assets/{Cameras-DcrVCgLy.js → Cameras-Bzy3P0xN.js} +2 -2
  14. package/dist/interface/assets/{Camview-DasO326h.css → Camview-Bri_T7Tq.css} +1 -1
  15. package/dist/interface/assets/Camview-CjcQbtTl.js +1 -0
  16. package/dist/interface/assets/{CertificateUpload-BYFKZCP9.js → CertificateUpload-CWVu_52v.js} +1 -1
  17. package/dist/interface/assets/Config-Dc1zKIPq.js +2 -0
  18. package/dist/interface/assets/{ConfigActionAssistant-DM4tIhoa.js → ConfigActionAssistant-AfQfSqHZ.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionCameraControl-Deo0eDPS.js → ConfigActionCameraControl-BKQdHxqe.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionDelay-_EqbfWgo.js → ConfigActionDelay-B52HeJGb.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionHttp-BxJmoshF.js → ConfigActionHttp-BP5gvpQc.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionImageInput-KrzXFQDm.js → ConfigActionImageInput-DE2mSost.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionMqtt-BoYBomRC.js → ConfigActionMqtt-CYgnZjAE.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionNotification-CSAOijDt.js → ConfigActionNotification-C3q53I4n.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionNotificationControl-BOdyKiOs.js → ConfigActionNotificationControl-eDJ8r5ao.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionOutput-CwsPcnd_.js → ConfigActionOutput-DgYSYvy-.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionPlugin-D3wyULpp.js → ConfigActionPlugin-utolgAXk.js} +1 -1
  28. package/dist/interface/assets/{ConfigActionSensor-BmeaIxYY.js → ConfigActionSensor-CmEKQPqs.js} +1 -1
  29. package/dist/interface/assets/{ConfigActionSnapshot-DbyFKcYr.js → ConfigActionSnapshot-D7XucxVV.js} +1 -1
  30. package/dist/interface/assets/{ConfigActionVariable-cThGJ1Pc.js → ConfigActionVariable-C-Mjm3gr.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionIfElse-BugkJeXR.js → ConfigConditionIfElse-B24Rqb8y.js} +1 -1
  32. package/dist/interface/assets/{ConfigConditionSensorState-Bf-mMf4E.js → ConfigConditionSensorState-42-yFDmK.js} +1 -1
  33. package/dist/interface/assets/{ConfigConditionSwitch-DcpFoYET.js → ConfigConditionSwitch-DezH_nwm.js} +1 -1
  34. package/dist/interface/assets/{ConfigConditionTime-CM4bSMyU.js → ConfigConditionTime-Cg2Lwznd.js} +1 -1
  35. package/dist/interface/assets/{ConfigSensorValueInput-CgAI34__.js → ConfigSensorValueInput-YHBDCTZm.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerDetection-BWK6gfwM.js → ConfigTriggerDetection-DxEpodjG.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerGeofence-Cm3CU7Tl.js → ConfigTriggerGeofence-Bye8syxc.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerManual-DgkR-GWy.js → ConfigTriggerManual-s_lEDTV9.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerMqtt-BMFjTAso.js → ConfigTriggerMqtt-DqdZj7TU.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerSchedule-E_QWfNKy.js → ConfigTriggerSchedule-Q559hn6g.js} +1 -1
  41. package/dist/interface/assets/{ConfigTriggerSensor-DOdJkZRo.js → ConfigTriggerSensor-DIKkdbTF.js} +1 -1
  42. package/dist/interface/assets/{ConfigTriggerSystem-BFDIbZsE.js → ConfigTriggerSystem-CwNZ4xEg.js} +1 -1
  43. package/dist/interface/assets/{ConfigTriggerWebhook-DDoUEVHb.js → ConfigTriggerWebhook-9ZC6X4mK.js} +1 -1
  44. package/dist/interface/assets/Console-BqIDZ5vq.js +1 -0
  45. package/dist/interface/assets/CuiAssistantConversation-BmBhwrNh.css +1 -0
  46. package/dist/interface/assets/CuiAssistantConversation-CM7KdaX2.js +5 -0
  47. package/dist/interface/assets/CuiAutomationRunsDialog-CVjCLiVW.js +1 -0
  48. package/dist/interface/assets/CuiBottomSheet-CFohFiO2.js +1 -0
  49. package/dist/interface/assets/{CuiBottomSheet-FwsPnJ3n.js → CuiBottomSheet-D75L0Zny.js} +1 -1
  50. package/dist/interface/assets/CuiCameraPipCard-eiJjYZ5W.js +1 -0
  51. package/dist/interface/assets/CuiCameraRecordings-DdEWkJrO.js +1 -0
  52. package/dist/interface/assets/{CuiCameraShares-CSFwIYsg.js → CuiCameraShares-8mtgFsQ_.js} +1 -1
  53. package/dist/interface/assets/{CuiCameraTable-DBRfGX3I.js → CuiCameraTable-CmCT-XQF.js} +2 -2
  54. package/dist/interface/assets/CuiCameraTable-DHrKoD9s.js +1 -0
  55. package/dist/interface/assets/CuiChartTable-DCr_AsSw.css +1 -0
  56. package/dist/interface/assets/CuiChartTable-v8sGY6PD.js +1 -0
  57. package/dist/interface/assets/{CuiConsole-DQbAafiz.js → CuiConsole-DYV-FUE0.js} +2 -2
  58. package/dist/interface/assets/{CuiDataTable-JlD7Agky.js → CuiDataTable-C0gsYYpg.js} +1 -1
  59. package/dist/interface/assets/CuiLightControl-CFIwBj3C.js +1 -0
  60. package/dist/interface/assets/{CuiList-Dsu5m0TA.js → CuiList-9TVV8SB6.js} +1 -1
  61. package/dist/interface/assets/CuiPluginCard-DEfqwUhQ.js +2 -0
  62. package/dist/interface/assets/{CuiPluginCategoryChip-B2bR5LQa.js → CuiPluginCategoryChip-DhnIBJHa.js} +1 -1
  63. package/dist/interface/assets/{CuiPluginOAuthButton-DfEjfcY-.js → CuiPluginOAuthButton-DAuzNRAA.js} +2 -2
  64. package/dist/interface/assets/{CuiPluginTrustBadge-C6CW6Soh.js → CuiPluginTrustBadge-Bz710WwC.js} +1 -1
  65. package/dist/interface/assets/{CuiQRCode-DGKBhDib.js → CuiQRCode-B8-4GHSY.js} +1 -1
  66. package/dist/interface/assets/{CuiSchema-pAAVh28m.js → CuiSchema-C_CHuKuf.js} +1 -1
  67. package/dist/interface/assets/{CuiTopNavbarItem-ve-3Dsc3.js → CuiTopNavbarItem-CNEnOPSh.js} +1 -1
  68. package/dist/interface/assets/Faces-DRHMrrxh.js +1 -0
  69. package/dist/interface/assets/FirstSteps-Ci2Iqbe2.js +1 -0
  70. package/dist/interface/assets/Floorplan-CqWIbDbh.js +1 -0
  71. package/dist/interface/assets/Instances-gzKFKB1l.js +1 -0
  72. package/dist/interface/assets/{Logs-BhRactvQ.js → Logs-DL1yw_Pe.js} +2 -2
  73. package/dist/interface/assets/{Menu-DMCmUVDs.js → Menu-C0GQ63aj.js} +1 -1
  74. package/dist/interface/assets/Metrics-BYnnb7M0.js +12 -0
  75. package/dist/interface/assets/Metrics-DsHBab6t.css +1 -0
  76. package/dist/interface/assets/{OAuthDeviceFlow-BMEwVkIa.js → OAuthDeviceFlow-Zd6r9IHU.js} +1 -1
  77. package/dist/interface/assets/Plugin-DJIrYUnZ.js +1 -0
  78. package/dist/interface/assets/{PluginConsole-C4Ba_U_1.js → PluginConsole-ag0jPZQ_.js} +1 -1
  79. package/dist/interface/assets/{PluginDetail-13OWIzdd.js → PluginDetail-DmElwUuV.js} +2 -2
  80. package/dist/interface/assets/{PluginSchema-DN0cSU8s.js → PluginSchema-CxUujnVs.js} +1 -1
  81. package/dist/interface/assets/PluginSearch-B-2zH2Xy.js +1 -0
  82. package/dist/interface/assets/PluginSearch-BqzngVRL.js +2 -0
  83. package/dist/interface/assets/{PluginUpdateProgress-CeWuRp3Z.js → PluginUpdateProgress-CFut0RAe.js} +1 -1
  84. package/dist/interface/assets/Plugins-ZFcB_j6v.js +1 -0
  85. package/dist/interface/assets/{RecentEventsFilter-Kp_lTOuG.js → RecentEventsFilter-CqeHhECT.js} +1 -1
  86. package/dist/interface/assets/Recordings-BEKAn6QK.css +1 -0
  87. package/dist/interface/assets/Recordings-BJrtW9eG.js +1 -0
  88. package/dist/interface/assets/SensorEdit-Bi0gg-CL.js +1 -0
  89. package/dist/interface/assets/{SensorHistory-ClAcOgHj.js → SensorHistory-q0UR3qMG.js} +1 -1
  90. package/dist/interface/assets/Sensors-C_InhcHA.js +2 -0
  91. package/dist/interface/assets/Settings-Cv38rGWn.js +1 -0
  92. package/dist/interface/assets/SettingsAccount-B05739dn.js +1 -0
  93. package/dist/interface/assets/SettingsAccount-gm28wtbl.js +1 -0
  94. package/dist/interface/assets/{SettingsAppearance-CJt4xJEW.js → SettingsAppearance-DdyYUgmV.js} +1 -1
  95. package/dist/interface/assets/SettingsAppearance-DwUknDPV.js +1 -0
  96. package/dist/interface/assets/SettingsAssistant-B0PF3Rdg.css +1 -0
  97. package/dist/interface/assets/SettingsAssistant-ChHfkUKk.js +1 -0
  98. package/dist/interface/assets/{SettingsBackup-DIJmci05.js → SettingsBackup-DKwlPQhD.js} +1 -1
  99. package/dist/interface/assets/{SettingsList-Cb_dLy5T.js → SettingsList-D6hqnvUo.js} +1 -1
  100. package/dist/interface/assets/SettingsMqtt-C01fgLY0.js +1 -0
  101. package/dist/interface/assets/SettingsNotifications-D47cIquQ.js +1 -0
  102. package/dist/interface/assets/{SettingsPermissions-CJiz0Z7B.js → SettingsPermissions-BeTCTrAf.js} +1 -1
  103. package/dist/interface/assets/{SettingsRecordings-BEpwMh-y.js → SettingsRecordings-mwL6Dalr.js} +1 -1
  104. package/dist/interface/assets/SettingsRemote-MhaShPIf.js +2 -0
  105. package/dist/interface/assets/{SettingsSystem-Cncdpx8T.js → SettingsSystem-BXnzXgqm.js} +2 -2
  106. package/dist/interface/assets/{SettingsUsers-DZkz8WlI.js → SettingsUsers-D2mVlJin.js} +1 -1
  107. package/dist/interface/assets/Terminal-C1UoXDRK.js +4 -0
  108. package/dist/interface/assets/Training-A5ynOv_l.js +1 -0
  109. package/dist/interface/assets/{Training-Bkn52mPJ.css → Training-C-ToeAl4.css} +1 -1
  110. package/dist/interface/assets/{Updates-cCvbFq3w.js → Updates-kS_Tm8HD.js} +1 -1
  111. package/dist/interface/assets/{VariableInput-PVsqGYW0.js → VariableInput-D9PfI8Ut.js} +1 -1
  112. package/dist/interface/assets/{VariableSuggestions-DwLtlzVz.js → VariableSuggestions-DArWzQuE.js} +1 -1
  113. package/dist/interface/assets/{VersionsHandler-Df7dhddp.js → VersionsHandler-BZVMpB2v.js} +1 -1
  114. package/dist/interface/assets/{VirtualSensorCreate-FTKANjd-.js → VirtualSensorCreate-Cz-QFo4R.js} +1 -1
  115. package/dist/interface/assets/Workers-2sc4VMi9.js +2 -0
  116. package/dist/interface/assets/api-CGfJbsTz.css +2 -0
  117. package/dist/interface/assets/{api-DpqXhwcx.js → api-CzwdnGAH.js} +1 -1
  118. package/dist/interface/assets/api-DOpXVpef.js +4 -0
  119. package/dist/interface/assets/{assistant-Lz3mFLDo.js → assistant-hGCAgv-f.js} +1 -1
  120. package/dist/interface/assets/{auth-L7_5vsJs.js → auth-By-S-WEr.js} +1 -1
  121. package/dist/interface/assets/{automations-D1XFFSrm.js → automations-vwIwb2PQ.js} +1 -1
  122. package/dist/interface/assets/{cameraSources-DEGJDtmK.js → cameraSources-BMhXvtFt.js} +1 -1
  123. package/dist/interface/assets/cloudHandoff-BnzjCpJ2.js +1 -0
  124. package/dist/interface/assets/{config-CVqy37fG.js → config-BQxEwrK6.js} +1 -1
  125. package/dist/interface/assets/esm-Bn9gXwX4.js +1 -0
  126. package/dist/interface/assets/esm-BzM6y2-F.js +1 -0
  127. package/dist/interface/assets/esm-CP3JWrtj.js +1 -0
  128. package/dist/interface/assets/esm-CjAXkqCf.js +1 -0
  129. package/dist/interface/assets/esm-Cqxk-j1S.js +1 -0
  130. package/dist/interface/assets/esm-DFHd3JNU.js +1 -0
  131. package/dist/interface/assets/esm-DfMLJtug.js +1 -0
  132. package/dist/interface/assets/esm-DhDrpq7a.js +1 -0
  133. package/dist/interface/assets/esm-DvhM-SOd.js +1 -0
  134. package/dist/interface/assets/esm-G63bqygQ.js +1 -0
  135. package/dist/interface/assets/esm-Gn-Y59hU.js +1 -0
  136. package/dist/interface/assets/esm-KJSOz2vj.js +1 -0
  137. package/dist/interface/assets/esm-Ryfc94Tm.js +1 -0
  138. package/dist/interface/assets/esm-rSfI5Poy.js +1 -0
  139. package/dist/interface/assets/{flowSchema-CppNBDy1.js → flowSchema-BPq6iHks.js} +1 -1
  140. package/dist/interface/assets/{intercomService-CjoJaOZ7.js → intercomService-CXcjcPa9.js} +1 -1
  141. package/dist/interface/assets/main-By4L33Im.js +3 -0
  142. package/dist/interface/assets/{main-Bo0Lb1y2.css → main-DVa5U7UB.css} +1 -1
  143. package/dist/interface/assets/mqtt-DE1KQ8Td.js +1 -0
  144. package/dist/interface/assets/native-CZJE8bTs.js +1 -0
  145. package/dist/interface/assets/native-DKZwialB.js +1 -0
  146. package/dist/interface/assets/{notifications-By40oPng.js → notifications-BCyiD-TP.js} +1 -1
  147. package/dist/interface/assets/plugin-DSEMkqaK.js +1 -0
  148. package/dist/interface/assets/{plugins-09rEDbMz.js → plugins-BJPCV1YL.js} +1 -1
  149. package/dist/interface/assets/rooms-Dr4yiakO.js +1 -0
  150. package/dist/interface/assets/{sensorIcons-Csu5s0uk.js → sensorIcons-DofElQ3w.js} +1 -1
  151. package/dist/interface/assets/{sensorSlots-CtbKmsGG.js → sensorSlots-D2KJGvPw.js} +1 -1
  152. package/dist/interface/assets/{sensors-CbzNs18A.js → sensors-3llrL7s3.js} +1 -1
  153. package/dist/interface/assets/server-Dw5DD473.js +1 -0
  154. package/dist/interface/assets/{theme-GhzGwpqd.js → theme-C85LJhOY.js} +1 -1
  155. package/dist/interface/assets/{types-CklFkUXk.js → types-CPhy0Ovw.js} +1 -1
  156. package/dist/interface/assets/{types-D8QWPhe-.js → types-DYKmSGl4.js} +1 -1
  157. package/dist/interface/assets/types-i1kTodPP.js +1 -0
  158. package/dist/interface/assets/ungrouped-BlheTJCh.css +1 -0
  159. package/dist/interface/assets/ungrouped-C2CWO39a.js +1 -0
  160. package/dist/interface/assets/{updates-CGo0T4sn.js → updates-C2LhMkNR.js} +1 -1
  161. package/dist/interface/assets/{useAppVersion-CJlexqyz.js → useAppVersion-DkazK9Vu.js} +1 -1
  162. package/dist/interface/assets/{useAssistantActions-Cc_O6M9_.js → useAssistantActions-BZP6NL18.js} +1 -1
  163. package/dist/interface/assets/useBackupRestore-DMQW_CVC.js +1 -0
  164. package/dist/interface/assets/{useCameraOptions-CFISVNgk.js → useCameraOptions-DnI0xLrX.js} +1 -1
  165. package/dist/interface/assets/useKeyboardInset-Cr7SxKGN.js +1 -0
  166. package/dist/interface/assets/{useLogsSocket-D-ndWAg0.js → useLogsSocket-C3Y8S0Ar.js} +1 -1
  167. package/dist/interface/assets/{useNavLayout-CG0X_3kt.js → useNavLayout-C9pcDuVP.js} +1 -1
  168. package/dist/interface/assets/{usePermissions-BXTw4tII.js → usePermissions-CCTxwXF0.js} +1 -1
  169. package/dist/interface/assets/{usePluginUpdates-nW_dt66E.js → usePluginUpdates-DBhLWAua.js} +1 -1
  170. package/dist/interface/assets/{usePushRegistration-DCqOAxR4.js → usePushRegistration-CPRVdLAx.js} +2 -2
  171. package/dist/interface/assets/{useServerRestart-CxJGxAcU.js → useServerRestart-bScBLJ9r.js} +1 -1
  172. package/dist/interface/assets/{useStreamStatus-CXb1HbAq.js → useStreamStatus-Bfh-WmLH.js} +1 -1
  173. package/dist/interface/assets/{useTabSwipe-DHb8__wU.js → useTabSwipe-C_QOrvSW.js} +1 -1
  174. package/dist/interface/assets/{useUpdateChannel-BR4PMh1R.js → useUpdateChannel-g0h_4c55.js} +1 -1
  175. package/dist/interface/assets/{useUpdatesSocket-DKDRZhvc.js → useUpdatesSocket-CxrLRETs.js} +1 -1
  176. package/dist/interface/assets/{useUserOptions-lyc4WJ4L.js → useUserOptions-DN0t3gBr.js} +1 -1
  177. package/dist/interface/assets/vendor-cameraui-B28aGJJD.js +2326 -0
  178. package/dist/interface/assets/{vendor-capacitor-f9ShAzys.js → vendor-capacitor-Bs_WzL0Q.js} +2 -2
  179. package/dist/interface/assets/{vendor-core-B-Q4es-f.js → vendor-core-DIa0tPNH.js} +1 -1
  180. package/dist/interface/assets/{vendor-primevue-Cmp3VjIC.js → vendor-primevue-CZKUAkMA.js} +77 -77
  181. package/dist/interface/assets/web-BDNQnMmA.js +1 -0
  182. package/dist/interface/assets/web-BhJykCtq.js +1 -0
  183. package/dist/interface/assets/web-BjKL51lK-wWFeZlLg.js +1 -0
  184. package/dist/interface/assets/web-C7nJwIOa.js +1 -0
  185. package/dist/interface/assets/web-CGJsJQDb.js +1 -0
  186. package/dist/interface/assets/web-CJwASxrl.js +1 -0
  187. package/dist/interface/assets/web-CLe0L31Y.js +1 -0
  188. package/dist/interface/assets/web-DEv1hAn1.js +1 -0
  189. package/dist/interface/assets/web-DaeQvsXT.js +1 -0
  190. package/dist/interface/assets/web-H3-wNunW.js +1 -0
  191. package/dist/interface/assets/web-LCdyqJq1.js +1 -0
  192. package/dist/interface/assets/web-XZWYTK65.js +1 -0
  193. package/dist/interface/assets/web-rU5hlxxW.js +1 -0
  194. package/dist/interface/ha/{404-B2T8Gktj.js → 404-tl2VQ3qy.js} +1 -1
  195. package/dist/interface/ha/{About-CrTKzU9_.js → About-Cn7KOblU.js} +3 -3
  196. package/dist/interface/ha/{Assistant-BDHJmYx_.js → Assistant-DG2GGda0.js} +2281 -2128
  197. package/dist/interface/ha/{Automation-Czo5EsAg.js → Automation-D0_WpXx4.js} +170 -170
  198. package/dist/interface/ha/{AutomationImport-CuFAQbiX.js → AutomationImport-DdC3dEaC.js} +6 -6
  199. package/dist/interface/ha/{AutomationStore-D-6x0JIt.js → AutomationStore-BrLn4oBx.js} +73 -73
  200. package/dist/interface/ha/{AutomationStoreDetail-Dad4q1MN.js → AutomationStoreDetail-DoppNsNc.js} +6 -6
  201. package/dist/interface/ha/{Automations-C-oGM5SR.js → Automations-BaUJ9pVq.js} +70 -70
  202. package/dist/interface/ha/Camera-Cj5ImvZG.js +657 -0
  203. package/dist/interface/ha/{CameraConsole-hRGwbjsD.js → CameraConsole-7MhlS2VK.js} +3 -3
  204. package/dist/interface/ha/{Cameras-Bk5TFXA8.js → Cameras-vHYz8uSO.js} +182 -182
  205. package/dist/interface/ha/{Camview-CsKKqxxY.js → Camview-BEglAx26.js} +361 -361
  206. package/dist/interface/ha/{Config-Vl4-K3A_.js → Config-CHiK--zP.js} +110 -110
  207. package/dist/interface/ha/{ConfigActionAssistant-OWUX8glZ.js → ConfigActionAssistant-DynduZYV.js} +4 -4
  208. package/dist/interface/ha/{ConfigActionCameraControl-DEaOot8w.js → ConfigActionCameraControl-BEYePssz.js} +3 -3
  209. package/dist/interface/ha/{ConfigActionHttp-CSr2BpKL.js → ConfigActionHttp-h0vRWqZ5.js} +2 -2
  210. package/dist/interface/ha/{ConfigActionImageInput--O8Tyca-.js → ConfigActionImageInput-B9GMZYAR.js} +1 -1
  211. package/dist/interface/ha/{ConfigActionMqtt-DQJ4-gs2.js → ConfigActionMqtt-BEQpHBgf.js} +4 -4
  212. package/dist/interface/ha/{ConfigActionNotification-wR8CCA_T.js → ConfigActionNotification-BYsz8_aS.js} +3 -3
  213. package/dist/interface/ha/{ConfigActionNotificationControl-DNMrHwPz.js → ConfigActionNotificationControl-BxmIWVE8.js} +2 -2
  214. package/dist/interface/ha/{ConfigActionOutput-C-LVFxFP.js → ConfigActionOutput-DTOQSa1S.js} +1 -1
  215. package/dist/interface/ha/{ConfigActionPlugin-BCREAkNo.js → ConfigActionPlugin-NOsUs3QI.js} +5 -5
  216. package/dist/interface/ha/{ConfigActionSensor-D48CQ6qR.js → ConfigActionSensor-YWnsH_LV.js} +5 -5
  217. package/dist/interface/ha/{ConfigActionSnapshot-DpDy88Mg.js → ConfigActionSnapshot-DHJnTvin.js} +2 -2
  218. package/dist/interface/ha/{ConfigActionVariable-D9BxmwvB.js → ConfigActionVariable-C7UFnvW0.js} +1 -1
  219. package/dist/interface/ha/{ConfigConditionIfElse-CW42tQFY.js → ConfigConditionIfElse-CAHbuhH3.js} +3 -3
  220. package/dist/interface/ha/{ConfigConditionSensorState-BZpij7kB.js → ConfigConditionSensorState-CE6okUeb.js} +4 -4
  221. package/dist/interface/ha/{ConfigConditionSwitch-DlTuJ9Sf.js → ConfigConditionSwitch-D5FULaTy.js} +5 -5
  222. package/dist/interface/ha/{ConfigSensorValueInput-2QLHESlE.js → ConfigSensorValueInput-mo6Gs_aZ.js} +8 -8
  223. package/dist/interface/ha/{ConfigTriggerDetection-DPmUkmUJ.js → ConfigTriggerDetection-Bt-OhHtM.js} +2 -2
  224. package/dist/interface/ha/{ConfigTriggerGeofence--T9OXhGl.js → ConfigTriggerGeofence-Cw3jV5qD.js} +5 -5
  225. package/dist/interface/ha/{ConfigTriggerMqtt-fZn_X6yY.js → ConfigTriggerMqtt-BXeV82UG.js} +1 -1
  226. package/dist/interface/ha/{ConfigTriggerSensor-_3O6iBFX.js → ConfigTriggerSensor-Baqq--nJ.js} +1 -1
  227. package/dist/interface/ha/{ConfigTriggerSystem-CC9lqi8Q.js → ConfigTriggerSystem-braUVGzW.js} +2 -2
  228. package/dist/interface/ha/{ConfigTriggerWebhook-BuBcgXqf.js → ConfigTriggerWebhook-Dm45r-1C.js} +2 -2
  229. package/dist/interface/ha/{Console-DNc49UEt.js → Console-q3TCsxYo.js} +4 -4
  230. package/dist/interface/ha/{CuiAutomationRunsDialog-Dj_iiZht.js → CuiAutomationRunsDialog-DO6h5Tc4.js} +2 -2
  231. package/dist/interface/ha/{CuiBottomSheet-DG7wOV7m.js → CuiBottomSheet-B7ldz0xi.js} +1 -1
  232. package/dist/interface/ha/{CuiCameraRecordings-BlOZTfQ4.js → CuiCameraRecordings-Dq1Vh3qA.js} +11 -11
  233. package/dist/interface/ha/{CuiCameraShares-BOn-mobi.js → CuiCameraShares-DBqcpevG.js} +6 -6
  234. package/dist/interface/ha/{CuiCameraTable-D50FLiK8.js → CuiCameraTable-kL8rK-Uv.js} +2 -2
  235. package/dist/interface/ha/{CuiChartTable-CfcVRvdZ.js → CuiChartTable-BrFyiSt_.js} +82 -67
  236. package/dist/interface/ha/{CuiConsole-UpN0Wihm.js → CuiConsole-DpeXZmJd.js} +1 -1
  237. package/dist/interface/ha/{CuiDataTable-CpADXKNF.js → CuiDataTable-BtqzIz0o.js} +2 -2
  238. package/dist/interface/ha/{CuiPluginCard-CT6ZfL9o.js → CuiPluginCard-lBLypaN4.js} +42 -42
  239. package/dist/interface/ha/{CuiPluginOAuthButton-BJVKd6Ac.js → CuiPluginOAuthButton-CuGauZJA.js} +3 -3
  240. package/dist/interface/ha/{CuiPluginTrustBadge-gb9GI24w.js → CuiPluginTrustBadge-BofBmRYc.js} +1 -1
  241. package/dist/interface/ha/{CuiQRCode-DqKDx9zR.js → CuiQRCode-CdK9bwKb.js} +2 -2
  242. package/dist/interface/ha/{CuiSchema-CHeJkx0k.js → CuiSchema-DqkCLv9Y.js} +152 -152
  243. package/dist/interface/ha/{CuiTopNavbarItem-CFeI6ZYU.js → CuiTopNavbarItem-C2VZB7WV.js} +1 -1
  244. package/dist/interface/ha/{Faces-CTfvhhCj.js → Faces-Crfi-75Z.js} +240 -240
  245. package/dist/interface/ha/{FirstSteps-C-WXJ8IL.js → FirstSteps-CKVG86pf.js} +30 -30
  246. package/dist/interface/ha/{Floorplan-CDKTYN7B.js → Floorplan-CH9_-6hk.js} +156 -156
  247. package/dist/interface/ha/{Instances-n23yvN3L.js → Instances-5gZdPPDA.js} +13 -13
  248. package/dist/interface/ha/{Logs-Dfm0BWOQ.js → Logs-BkzEM70F.js} +12 -12
  249. package/dist/interface/ha/{Menu-76kvdAEF.js → Menu-BuT3_Ggx.js} +15 -15
  250. package/dist/interface/ha/{Metrics-lnivlTWm.js → Metrics-BGrzu0bu.js} +401 -399
  251. package/dist/interface/ha/{OAuthDeviceFlow-4ChaymHu.js → OAuthDeviceFlow-BEJtegqy.js} +3 -3
  252. package/dist/interface/ha/{Plugin-BV8YA8aN.js → Plugin-Bnp2jiC2.js} +209 -209
  253. package/dist/interface/ha/{PluginConsole-csf1Km7f.js → PluginConsole-CmsuPVMz.js} +4 -4
  254. package/dist/interface/ha/{PluginDetail-DTff6cbA.js → PluginDetail-BCNx7vHr.js} +7 -7
  255. package/dist/interface/ha/{PluginSearch-CdjxmFPN.js → PluginSearch-DOdhuxgM.js} +96 -96
  256. package/dist/interface/ha/{PluginUpdateProgress-ClyF4pbA.js → PluginUpdateProgress-CwkKc8Tr.js} +3 -3
  257. package/dist/interface/ha/{Plugins-_xOrqP36.js → Plugins-BrFowCdC.js} +54 -54
  258. package/dist/interface/ha/{Recordings-dTZv0pkp.js → Recordings-BZhf39pJ.js} +332 -334
  259. package/dist/interface/ha/{SensorEdit-DDRkZjmm.js → SensorEdit-Ds6WbN4A.js} +377 -377
  260. package/dist/interface/ha/{SensorHistory-DSGlRITr.js → SensorHistory-CoTIYTJx.js} +2 -2
  261. package/dist/interface/ha/{Sensors-DjhGRUzM.js → Sensors-DZ2MKdlh.js} +103 -103
  262. package/dist/interface/ha/{Settings-DYuvz4de.js → Settings-D3JKr430.js} +10 -10
  263. package/dist/interface/ha/{SettingsAccount-DQAo8SnK.js → SettingsAccount-cvtlSKZw.js} +233 -233
  264. package/dist/interface/ha/{SettingsAppearance-_tbhpUA0.js → SettingsAppearance-CaKuOHRu.js} +7 -7
  265. package/dist/interface/ha/{SettingsAssistant-DSf-dYuD.js → SettingsAssistant-vWVjAUqQ.js} +666 -621
  266. package/dist/interface/ha/{SettingsBackup-wLOa7xtw.js → SettingsBackup-CvzL_bVf.js} +8 -8
  267. package/dist/interface/ha/{SettingsList-CYujivw5.js → SettingsList-C0Ec8x-H.js} +4 -4
  268. package/dist/interface/ha/{SettingsMqtt-DbxJ-h3J.js → SettingsMqtt-COnq-QM5.js} +180 -180
  269. package/dist/interface/ha/{SettingsNotifications-DO2-KJvq.js → SettingsNotifications-BZ68bQzO.js} +3 -3
  270. package/dist/interface/ha/{SettingsRecordings-C47i1UhI.js → SettingsRecordings-BPtNNpDa.js} +4 -4
  271. package/dist/interface/ha/{SettingsRemote-BPvb-KLI.js → SettingsRemote-BXG8IYjf.js} +54 -54
  272. package/dist/interface/ha/{SettingsSystem-BJPrv9JE.js → SettingsSystem-_jHBUhws.js} +9 -9
  273. package/dist/interface/ha/{SettingsUsers-CcpCz6Y1.js → SettingsUsers-CzGj_RJN.js} +25 -25
  274. package/dist/interface/ha/{Terminal-DT7-WNH1.js → Terminal-BP3b8IBP.js} +169 -174
  275. package/dist/interface/ha/{Training-CqGBf8k1.js → Training-C2-6DgY0.js} +224 -219
  276. package/dist/interface/ha/{Updates-CgdrqX6R.js → Updates-BMZsEhmy.js} +14 -14
  277. package/dist/interface/ha/{VariableInput-DOzSFgxT.js → VariableInput-DmI7skCD.js} +1 -1
  278. package/dist/interface/ha/{VersionsHandler-ItklhE2t.js → VersionsHandler-DJd4NqtD.js} +10 -10
  279. package/dist/interface/ha/{VirtualSensorCreate-DbS3VqHC.js → VirtualSensorCreate-DmtGYvAn.js} +7 -7
  280. package/dist/interface/ha/{Workers-6PU7yUv1.js → Workers-2HTPHgKV.js} +26 -26
  281. package/dist/interface/ha/{api-Dv3Lk_g5.js → api-BelbnLQO.js} +9595 -9370
  282. package/dist/interface/ha/{api-anWolhVj.js → api-sy4rqV2N.js} +1 -1
  283. package/dist/interface/ha/{assistant-B3m0Kgev.js → assistant-C6KYXJfi.js} +1 -1
  284. package/dist/interface/ha/{auth-CAkpM_7A.js → auth-Da66mVEd.js} +1 -1
  285. package/dist/interface/ha/{automationBlueprint-DwVvbKbw.js → automationBlueprint-hlqqM17r.js} +3 -3
  286. package/dist/interface/ha/{base-C-TYDHjS.js → base-XgWmQghV.js} +14 -3
  287. package/dist/interface/ha/cameraui-cards.js +1 -1
  288. package/dist/interface/ha/{cards-B0qagpBw.js → cards-BFRRfuM7.js} +1334 -1334
  289. package/dist/interface/ha/{config-C20itAPE.js → config-Cd7JNMpD.js} +1 -1
  290. package/dist/interface/ha/{dist-oFWkn6pD.js → dist-BybVYMVs.js} +19 -19
  291. package/dist/interface/ha/{esm-i8Tigknm.js → esm-C9XVFkXu.js} +4 -4
  292. package/dist/interface/ha/{mqtt-C6JvkA5E.js → mqtt-UZfptWJl.js} +1 -1
  293. package/dist/interface/ha/{native-DBH9ocSq.js → native-BVUxNLM1.js} +4 -4
  294. package/dist/interface/ha/{notifications-gLmNZxwZ.js → notifications-DTHM8fS-.js} +1 -1
  295. package/dist/interface/ha/{pinia-Du8AM917.js → pinia-BokSpDzj.js} +1 -0
  296. package/dist/interface/ha/{plugins-6x0kBuQb.js → plugins-Bwp_GfaX.js} +1 -1
  297. package/dist/interface/ha/{rooms-C-mLT6mX.js → rooms-BvaD0r0q.js} +1 -1
  298. package/dist/interface/ha/{server-DuikIt69.js → server-OWdtITVa.js} +2 -2
  299. package/dist/interface/ha/{types-C0NcQ4Cz.js → types-BFJjyMZe.js} +1 -1
  300. package/dist/interface/ha/{ungrouped-ooCH0Izh.js → ungrouped-x00DHNHO.js} +220 -197
  301. package/dist/interface/ha/{updates-H8MlOQLC.js → updates-C03Qf3Il.js} +6 -6
  302. package/dist/interface/ha/{useAppVersion-DAUCV_cn.js → useAppVersion-CrMd9CC9.js} +1 -1
  303. package/dist/interface/ha/useKeyboardInset-DwUQCWHC.js +27 -0
  304. package/dist/interface/ha/{useLogsSocket-BOLAXPuD.js → useLogsSocket-C6k217mW.js} +1 -1
  305. package/dist/interface/ha/{useNavLayout-B7VoHzM1.js → useNavLayout-DhuQE024.js} +2 -2
  306. package/dist/interface/ha/{useServerRestart-qSH0bqwY.js → useServerRestart-CYaen2r6.js} +1 -1
  307. package/dist/interface/ha/{useTabSwipe-DYzG_gVG.js → useTabSwipe-DAmCFlgg.js} +1 -1
  308. package/dist/interface/ha/{useUpdateChannel-CK7JiWbG.js → useUpdateChannel-Dr1EoU2X.js} +2 -2
  309. package/dist/interface/ha/{useUpdatesSocket-DrqkGMuR.js → useUpdatesSocket-C8Gmhemh.js} +1 -1
  310. package/dist/interface/ha/{useUserOptions-BteVUdaT.js → useUserOptions-BB5wk3Bq.js} +1 -1
  311. package/dist/interface/ha/{web-D_q41D0i.js → web-CLbVbnCW.js} +5 -5
  312. package/dist/interface/index.html +33 -33
  313. package/dist/interface/sw.js +1 -1
  314. package/dist/server/package.json +5 -5
  315. package/dist/server/requirements.txt +1 -1
  316. package/dist/server/src/api/controllers/api.controller.js +1 -1
  317. package/dist/server/src/api/controllers/api.controller.js.map +1 -1
  318. package/dist/server/src/api/controllers/rooms.controller.js +3 -1
  319. package/dist/server/src/api/controllers/rooms.controller.js.map +1 -1
  320. package/dist/server/src/api/database/types.d.ts +1 -0
  321. package/dist/server/src/api/schemas/assistant.schema.d.ts +2 -0
  322. package/dist/server/src/api/schemas/assistant.schema.js +1 -0
  323. package/dist/server/src/api/schemas/assistant.schema.js.map +1 -1
  324. package/dist/server/src/api/services/cameras.service.d.ts +1 -0
  325. package/dist/server/src/api/services/cameras.service.js +8 -0
  326. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  327. package/dist/server/src/api/websocket/nsp/notifications.d.ts +1 -0
  328. package/dist/server/src/api/websocket/nsp/notifications.js +7 -0
  329. package/dist/server/src/api/websocket/nsp/notifications.js.map +1 -1
  330. package/dist/server/src/assistant/automation-catalog.js +12 -2
  331. package/dist/server/src/assistant/automation-catalog.js.map +1 -1
  332. package/dist/server/src/assistant/manager.d.ts +1 -0
  333. package/dist/server/src/assistant/manager.js +1 -1
  334. package/dist/server/src/assistant/manager.js.map +1 -1
  335. package/dist/server/src/assistant/scheduler.js +8 -1
  336. package/dist/server/src/assistant/scheduler.js.map +1 -1
  337. package/dist/server/src/manager/notificationManager.d.ts +1 -0
  338. package/dist/server/src/manager/notificationManager.js +11 -0
  339. package/dist/server/src/manager/notificationManager.js.map +1 -1
  340. package/dist/server/src/plugins/index.js +5 -4
  341. package/dist/server/src/plugins/index.js.map +1 -1
  342. package/dist/server/src/services/config/index.d.ts +1 -0
  343. package/dist/server/src/services/config/index.js +12 -1
  344. package/dist/server/src/services/config/index.js.map +1 -1
  345. package/dist/server/src/utils/ipc.js +23 -17
  346. package/dist/server/src/utils/ipc.js.map +1 -1
  347. package/npm-shrinkwrap.json +14 -14
  348. package/package.json +5 -5
  349. package/dist/interface/assets/Assistant-B1xdMAkA.js +0 -1
  350. package/dist/interface/assets/Automations-Bpw8olkc.js +0 -2
  351. package/dist/interface/assets/Camera-B4ojNnKb.css +0 -1
  352. package/dist/interface/assets/Camera-BpFfZDaS.js +0 -2
  353. package/dist/interface/assets/Camview-C16pyCZk.js +0 -1
  354. package/dist/interface/assets/Config-BmEL5EaW.js +0 -2
  355. package/dist/interface/assets/Console-BIj7cIqO.js +0 -1
  356. package/dist/interface/assets/CuiAssistantConversation-CRNCKRHz.js +0 -5
  357. package/dist/interface/assets/CuiAssistantConversation-DQ0wOJvV.css +0 -1
  358. package/dist/interface/assets/CuiAutomationRunsDialog-DMUfNcsf.js +0 -1
  359. package/dist/interface/assets/CuiBottomSheet-CYi5c3fP.js +0 -1
  360. package/dist/interface/assets/CuiCameraPipCard-Cb_Qbly6.js +0 -1
  361. package/dist/interface/assets/CuiCameraRecordings-BeciatDY.js +0 -1
  362. package/dist/interface/assets/CuiCameraTable-BgL5FZso.js +0 -1
  363. package/dist/interface/assets/CuiChartTable-CtasoxMM.js +0 -1
  364. package/dist/interface/assets/CuiChartTable-DXY7rY3O.css +0 -1
  365. package/dist/interface/assets/CuiLightControl-CLYl5pfN.js +0 -1
  366. package/dist/interface/assets/CuiPluginCard-CC1oXY16.js +0 -2
  367. package/dist/interface/assets/Faces-1xd5yGuO.js +0 -1
  368. package/dist/interface/assets/FirstSteps-E9cMqa0a.js +0 -1
  369. package/dist/interface/assets/Floorplan-BovV_ATh.js +0 -1
  370. package/dist/interface/assets/Instances-BbxyB7vR.js +0 -1
  371. package/dist/interface/assets/Metrics-BgXrNl38.js +0 -12
  372. package/dist/interface/assets/Metrics-ChVnC6f6.css +0 -1
  373. package/dist/interface/assets/Plugin-CDNywaVE.js +0 -1
  374. package/dist/interface/assets/PluginSearch-sPkO8aH3.js +0 -2
  375. package/dist/interface/assets/PluginSearch-xNIlfXk4.js +0 -1
  376. package/dist/interface/assets/Plugins-C8yjhxnQ.js +0 -1
  377. package/dist/interface/assets/Recordings-BHT8Vvv_.js +0 -1
  378. package/dist/interface/assets/Recordings-DwuojaAw.css +0 -1
  379. package/dist/interface/assets/SensorEdit-C-yJdJuP.js +0 -1
  380. package/dist/interface/assets/Sensors-Cza4Et2c.js +0 -2
  381. package/dist/interface/assets/Settings-Cj0leoGd.js +0 -1
  382. package/dist/interface/assets/SettingsAccount-COkcBBSz.js +0 -1
  383. package/dist/interface/assets/SettingsAccount-DjrJdssy.js +0 -1
  384. package/dist/interface/assets/SettingsAppearance-D20YW7Vq.js +0 -1
  385. package/dist/interface/assets/SettingsAssistant-CDdbbG-c.css +0 -1
  386. package/dist/interface/assets/SettingsAssistant-DKWDp1AI.js +0 -1
  387. package/dist/interface/assets/SettingsMqtt-LIuCRPT5.js +0 -1
  388. package/dist/interface/assets/SettingsNotifications-CZxqqH_8.js +0 -1
  389. package/dist/interface/assets/SettingsRemote-DRt-N_yA.js +0 -2
  390. package/dist/interface/assets/Terminal-U4yfJN3O.js +0 -4
  391. package/dist/interface/assets/Training-DfgE_dA8.js +0 -1
  392. package/dist/interface/assets/Workers-Ba37_3cY.js +0 -2
  393. package/dist/interface/assets/api-C1mraOYr.js +0 -4
  394. package/dist/interface/assets/api-z8ZVnoOl.css +0 -2
  395. package/dist/interface/assets/cloudHandoff-DkUx4m3P.js +0 -1
  396. package/dist/interface/assets/esm-0kxqa_1s.js +0 -1
  397. package/dist/interface/assets/esm-4p_M5mFV.js +0 -1
  398. package/dist/interface/assets/esm-8G-vO1KQ.js +0 -1
  399. package/dist/interface/assets/esm-8cB56ICb.js +0 -1
  400. package/dist/interface/assets/esm-B92csSEb.js +0 -1
  401. package/dist/interface/assets/esm-BHiNTIiN.js +0 -1
  402. package/dist/interface/assets/esm-Bu9PMLmw.js +0 -1
  403. package/dist/interface/assets/esm-CS6Ra46d.js +0 -1
  404. package/dist/interface/assets/esm-CWvQWALL.js +0 -1
  405. package/dist/interface/assets/esm-D2UDrwmt.js +0 -1
  406. package/dist/interface/assets/esm-D8OHF2X1.js +0 -1
  407. package/dist/interface/assets/esm-DrXkS8eG.js +0 -1
  408. package/dist/interface/assets/esm-pfoHiO1a.js +0 -1
  409. package/dist/interface/assets/esm-tJSCF7Vh.js +0 -1
  410. package/dist/interface/assets/main-BK3kmiG2.js +0 -3
  411. package/dist/interface/assets/mqtt-BENV9Fx4.js +0 -1
  412. package/dist/interface/assets/native-BEkWOGyD.js +0 -1
  413. package/dist/interface/assets/native-ugMg173F.js +0 -1
  414. package/dist/interface/assets/plugin-eafNQWg2.js +0 -1
  415. package/dist/interface/assets/rooms-LBxn-Uuu.js +0 -1
  416. package/dist/interface/assets/server-Btp5KILd.js +0 -1
  417. package/dist/interface/assets/types-BAwhu9iv.js +0 -1
  418. package/dist/interface/assets/ungrouped-BMk56E3L.js +0 -1
  419. package/dist/interface/assets/ungrouped-BnQIcSQd.css +0 -1
  420. package/dist/interface/assets/useBackupRestore-_s8vS5WF.js +0 -1
  421. package/dist/interface/assets/useKeyboardInset-DkUn62i7.js +0 -1
  422. package/dist/interface/assets/vendor-cameraui-CK4yHsJi.js +0 -2326
  423. package/dist/interface/assets/web-3OOGlctS.js +0 -1
  424. package/dist/interface/assets/web-5NFVd9gs.js +0 -1
  425. package/dist/interface/assets/web-A4yovlXr.js +0 -1
  426. package/dist/interface/assets/web-BBC3YoWX.js +0 -1
  427. package/dist/interface/assets/web-BjKL51lK-DUIsII0n.js +0 -1
  428. package/dist/interface/assets/web-C2-YAfsx.js +0 -1
  429. package/dist/interface/assets/web-CUL_MhvM.js +0 -1
  430. package/dist/interface/assets/web-CZVCXYLV.js +0 -1
  431. package/dist/interface/assets/web-DJ-LUxlV.js +0 -1
  432. package/dist/interface/assets/web-DNsEGLGS.js +0 -1
  433. package/dist/interface/assets/web-DZsU0QT_.js +0 -1
  434. package/dist/interface/assets/web-MoyOTbiU.js +0 -1
  435. package/dist/interface/assets/web-avRH_3t7.js +0 -1
  436. package/dist/interface/ha/Camera-CerkQGbZ.js +0 -654
@@ -1,9 +1,9 @@
1
1
  import { c as e } from "./ripple-ZDATPc2w.js";
2
- import { B as t, D as n, Dt as r, G as i, H as a, Jt as o, M as s, Wt as c, Y as ee, _t as l, d as u, f as d, kt as f, l as p, lt as m, ot as h, p as g, qt as _, r as v, rt as y, u as b, ut as x, wt as S, x as C, xt as w, y as T, yt as E, z as te } from "./runtime-core.esm-bundler-_TfE0DWz.js";
2
+ import { B as t, D as n, Dt as r, G as i, H as a, Jt as o, M as s, Wt as c, Y as l, _t as u, d, f, kt as p, l as m, lt as h, ot as g, p as _, qt as v, r as ee, rt as y, u as b, ut as x, wt as S, x as C, xt as w, y as T, yt as E, z as te } from "./runtime-core.esm-bundler-_TfE0DWz.js";
3
3
  import { t as ne } from "./tooltip-BDrlgLof.js";
4
- import { Ar as re, Cn as ie, Dn as ae, E as oe, En as se, Er as D, F as O, Gn as ce, I as le, L as ue, Mn as k, On as de, Si as fe, Wr as A, Wt as j, Xn as pe, Yt as M, _r as me, _t as he, a as ge, g as _e, ht as ve, jn as N, jr as P, kt as F, qr as ye, wn as I, wr as be, yi as xe, yn as Se } from "./api-Dv3Lk_g5.js";
4
+ import { An as re, Ar as ie, Cn as ae, Dn as oe, En as se, Er as D, F as O, Hn as ce, I as le, Jt as ue, Ot as de, P as k, Si as A, Sn as j, T as M, Tn as fe, Ut as pe, Wr as N, Yn as me, _r as he, a as ge, g as _e, gt as ve, jn as P, jr as F, mt as ye, qr as I, vn as be, wr as xe, yi as Se } from "./api-BelbnLQO.js";
5
5
  import { o as Ce } from "./intercomService-B7HkLs6z.js";
6
- import { r as we } from "./pinia-Du8AM917.js";
6
+ import { r as we } from "./pinia-BokSpDzj.js";
7
7
  import { n as Te } from "./vue-i18n-D5EAy78K.js";
8
8
  import { f as Ee } from "./eventIcons-BFNUgeGr.js";
9
9
  import { t as De } from "./button-BouAFgf5.js";
@@ -11,9 +11,9 @@ import { t as L } from "./inputtext-C_ygnPrC.js";
11
11
  import { t as Oe } from "./divider-DeFEXTGs.js";
12
12
  import { t as ke } from "./speeddial-B5p0fuqL.js";
13
13
  import { t as Ae } from "./delete-DWdURc9X.js";
14
- import { c as je, d as Me, u as Ne } from "./cards-B0qagpBw.js";
14
+ import { c as je, d as Me, u as Ne } from "./cards-BFRRfuM7.js";
15
15
  import { t as Pe } from "./microphone-C4oQPpzp.js";
16
- import { n as Fe, t as Ie } from "./CuiTopNavbarItem-CFeI6ZYU.js";
16
+ import { n as Fe, t as Ie } from "./CuiTopNavbarItem-C2VZB7WV.js";
17
17
  //#region ~icons/mdi/pencil
18
18
  var Le = {
19
19
  viewBox: "0 0 24 24",
@@ -21,12 +21,12 @@ var Le = {
21
21
  height: "1.2em"
22
22
  };
23
23
  function Re(e, t) {
24
- return a(), g("svg", Le, [...t[0] ||= [b("path", {
24
+ return a(), _("svg", Le, [...t[0] ||= [b("path", {
25
25
  fill: "currentColor",
26
26
  d: "M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83l3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75z"
27
27
  }, null, -1)]]);
28
28
  }
29
- var ze = l({
29
+ var ze = u({
30
30
  name: "mdi-pencil",
31
31
  render: Re
32
32
  }), Be = {
@@ -35,12 +35,12 @@ var ze = l({
35
35
  height: "1.2em"
36
36
  };
37
37
  function Ve(e, t) {
38
- return a(), g("svg", Be, [...t[0] ||= [b("path", {
38
+ return a(), _("svg", Be, [...t[0] ||= [b("path", {
39
39
  fill: "currentColor",
40
40
  d: "m9.5 13.09l1.41 1.41l-4.5 4.5H10v2H3v-7h2v3.59zm1.41-3.59L9.5 10.91L5 6.41V10H3V3h7v2H6.41zm3.59 3.59l4.5 4.5V14h2v7h-7v-2h3.59l-4.5-4.5zM13.09 9.5l4.5-4.5H14V3h7v7h-2V6.41l-4.5 4.5z"
41
41
  }, null, -1)]]);
42
42
  }
43
- var He = l({
43
+ var He = u({
44
44
  name: "mdi-arrow-expand-all",
45
45
  render: Ve
46
46
  }), Ue = {
@@ -49,12 +49,12 @@ var He = l({
49
49
  height: "1.2em"
50
50
  };
51
51
  function We(e, t) {
52
- return a(), g("svg", Ue, [...t[0] ||= [b("path", {
52
+ return a(), _("svg", Ue, [...t[0] ||= [b("path", {
53
53
  fill: "currentColor",
54
54
  d: "M7.5 5.6L5 7l1.4-2.5L5 2l2.5 1.4L10 2L8.6 4.5L10 7zm12 9.8L22 14l-1.4 2.5L22 19l-2.5-1.4L17 19l1.4-2.5L17 14zM22 2l-1.4 2.5L22 7l-2.5-1.4L17 7l1.4-2.5L17 2l2.5 1.4zm-8.66 10.78l2.44-2.44l-2.12-2.12l-2.44 2.44zm1.03-5.49l2.34 2.34c.39.37.39 1.02 0 1.41L5.04 22.71c-.39.39-1.04.39-1.41 0l-2.34-2.34c-.39-.37-.39-1.02 0-1.41L12.96 7.29c.39-.39 1.04-.39 1.41 0"
55
55
  }, null, -1)]]);
56
56
  }
57
- var Ge = l({
57
+ var Ge = u({
58
58
  name: "mdi-auto-fix",
59
59
  render: We
60
60
  }), Ke = {
@@ -63,14 +63,14 @@ var Ge = l({
63
63
  height: "1.2em"
64
64
  };
65
65
  function qe(e, t) {
66
- return a(), g("svg", Ke, [...t[0] ||= [b("path", {
66
+ return a(), _("svg", Ke, [...t[0] ||= [b("path", {
67
67
  fill: "currentColor",
68
68
  "fill-rule": "evenodd",
69
69
  d: "M9 3a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm10 0a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm2 10a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2zM9 15a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2z",
70
70
  "clip-rule": "evenodd"
71
71
  }, null, -1)]]);
72
72
  }
73
- var Je = l({
73
+ var Je = u({
74
74
  name: "mingcute-grid2-fill",
75
75
  render: qe
76
76
  }), Ye = {
@@ -79,12 +79,12 @@ var Je = l({
79
79
  height: "1.2em"
80
80
  };
81
81
  function Xe(e, t) {
82
- return a(), g("svg", Ye, [...t[0] ||= [b("path", {
82
+ return a(), _("svg", Ye, [...t[0] ||= [b("path", {
83
83
  fill: "currentColor",
84
84
  d: "M17.41 2H6.59A4.58 4.58 0 0 0 2 6.59v10.82A4.58 4.58 0 0 0 6.59 22h10.82A4.58 4.58 0 0 0 22 17.41V6.59A4.58 4.58 0 0 0 17.41 2m-2.653 12.447a1.924 1.924 0 0 1-1.924 1.923h-5.86a1.924 1.924 0 0 1-1.923-1.923v-4.87a1.923 1.923 0 0 1 1.927-1.924h5.856a1.925 1.925 0 0 1 1.924 1.924Zm4.2.74a.771.771 0 0 1-1.266.59l-2.211-1.854a.85.85 0 0 1-.3-.653v-2.52a.85.85 0 0 1 .31-.657l2.206-1.82a.769.769 0 0 1 1.26.594Z"
85
85
  }, null, -1)]]);
86
86
  }
87
- var Ze = l({
87
+ var Ze = u({
88
88
  name: "cbi-iosfacetime",
89
89
  render: Xe
90
90
  }), Qe = {
@@ -93,12 +93,12 @@ var Ze = l({
93
93
  height: "1.2em"
94
94
  };
95
95
  function $e(e, t) {
96
- return a(), g("svg", Qe, [...t[0] ||= [b("path", {
96
+ return a(), _("svg", Qe, [...t[0] ||= [b("path", {
97
97
  fill: "currentColor",
98
98
  d: "m8.471 7.237l3.056 12.992c.233.993 1.63 1.04 1.929.065l2.945-9.58l.384 1.527a1 1 0 0 0 .97.756H21a1 1 0 1 0 0-2h-2.466l-1.069-4.241c-.247-.981-1.628-1.017-1.925-.05l-2.912 9.472L9.475 2.771c-.24-1.02-1.688-1.03-1.943-.014l-2.065 8.24H3a1 1 0 0 0 0 2h3.247a1 1 0 0 0 .97-.757z"
99
99
  }, null, -1)]]);
100
100
  }
101
- var et = l({
101
+ var et = u({
102
102
  name: "fluent-pulse-24-filled",
103
103
  render: $e
104
104
  }), R = {
@@ -107,7 +107,7 @@ var et = l({
107
107
  height: "1.2em"
108
108
  };
109
109
  function z(e, t) {
110
- return a(), g("svg", R, [...t[0] ||= [b("path", {
110
+ return a(), _("svg", R, [...t[0] ||= [b("path", {
111
111
  fill: "currentColor",
112
112
  d: "M7.557 2.066A.75.75 0 0 1 8 2.75v10.5a.75.75 0 0 1-1.248.56L3.59 11H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.59l3.162-2.81a.75.75 0 0 1 .805-.124m5.393.984a.75.75 0 1 0-1.06 1.06a5.5 5.5 0 0 1 0 7.78a.75.75 0 1 0 1.06 1.06a7 7 0 0 0 0-9.9"
113
113
  }, null, -1), b("path", {
@@ -115,7 +115,7 @@ function z(e, t) {
115
115
  d: "M10.828 5.172a.75.75 0 1 0-1.06 1.06a2.5 2.5 0 0 1 0 3.536a.75.75 0 1 0 1.06 1.06a4 4 0 0 0 0-5.656"
116
116
  }, null, -1)]]);
117
117
  }
118
- var tt = l({
118
+ var tt = u({
119
119
  name: "heroicons-speaker-wave-16-solid",
120
120
  render: z
121
121
  }), B = {
@@ -124,12 +124,12 @@ var tt = l({
124
124
  height: "1.2em"
125
125
  };
126
126
  function V(e, t) {
127
- return a(), g("svg", B, [...t[0] ||= [b("path", {
127
+ return a(), _("svg", B, [...t[0] ||= [b("path", {
128
128
  fill: "currentColor",
129
129
  d: "M7.557 2.066A.75.75 0 0 1 8 2.75v10.5a.75.75 0 0 1-1.248.56L3.59 11H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.59l3.162-2.81a.75.75 0 0 1 .805-.124M11.28 5.72a.75.75 0 1 0-1.06 1.06L11.44 8l-1.22 1.22a.75.75 0 1 0 1.06 1.06l1.22-1.22l1.22 1.22a.75.75 0 1 0 1.06-1.06L13.56 8l1.22-1.22a.75.75 0 0 0-1.06-1.06L12.5 6.94z"
130
130
  }, null, -1)]]);
131
131
  }
132
- var nt = l({
132
+ var nt = u({
133
133
  name: "heroicons-speaker-x-mark-16-solid",
134
134
  render: V
135
135
  }), H = {
@@ -138,7 +138,7 @@ var nt = l({
138
138
  height: "1.2em"
139
139
  };
140
140
  function U(e, t) {
141
- return a(), g("svg", H, [...t[0] ||= [b("g", {
141
+ return a(), _("svg", H, [...t[0] ||= [b("g", {
142
142
  fill: "none",
143
143
  stroke: "currentColor",
144
144
  "stroke-linejoin": "round",
@@ -151,7 +151,7 @@ function U(e, t) {
151
151
  d: "M31.66 10H41l-10 8h10"
152
152
  })], -1)]]);
153
153
  }
154
- var rt = l({
154
+ var rt = u({
155
155
  name: "icon-park-solid-sleep",
156
156
  render: U
157
157
  }), W = {
@@ -160,12 +160,12 @@ var rt = l({
160
160
  height: "1.2em"
161
161
  };
162
162
  function it(e, t) {
163
- return a(), g("svg", W, [...t[0] ||= [b("path", {
163
+ return a(), _("svg", W, [...t[0] ||= [b("path", {
164
164
  fill: "currentColor",
165
165
  d: "M10.4 13.45h3.2l.6 1.625q.075.2.238.313t.362.112q.35 0 .538-.275t.062-.6l-2.55-6.7q-.075-.2-.237-.312T12.25 7.5h-.5q-.2 0-.363.113t-.237.312L8.625 14.65q-.125.3.05.575t.525.275q.2 0 .363-.112t.237-.313zm.4-1.15L11.95 9h.1l1.15 3.3zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-.8.125-1.6T2.5 8.825q.125-.4.513-.537t.737.062q.375.2.538.588t.037.812q-.15.55-.238 1.113T4 12q0 3.35 2.325 5.675T12 20t5.675-2.325T20 12t-2.325-5.675T12 4q-.6 0-1.187.087T9.65 4.35q-.425.125-.8-.025T8.3 3.8t-.013-.762t.563-.513q.75-.275 1.55-.4T12 2q2.075 0 3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22M4.438 6.563Q4 6.125 4 5.5t.438-1.062T5.5 4t1.063.438T7 5.5t-.437 1.063T5.5 7t-1.062-.437M12 12"
166
166
  }, null, -1)]]);
167
167
  }
168
- var at = l({
168
+ var at = u({
169
169
  name: "material-symbols-motion-photos-auto-outline-rounded",
170
170
  render: it
171
171
  }), G = {
@@ -174,12 +174,12 @@ var at = l({
174
174
  height: "1.2em"
175
175
  };
176
176
  function K(e, t) {
177
- return a(), g("svg", G, [...t[0] ||= [b("path", {
177
+ return a(), _("svg", G, [...t[0] ||= [b("path", {
178
178
  fill: "currentColor",
179
179
  d: "M21 15v3h3v2h-3v3h-2v-3h-3v-2h3v-3zm-7 3H3V6h16v7h2V6c0-1.11-.89-2-2-2H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h11z"
180
180
  }, null, -1)]]);
181
181
  }
182
- var ot = l({
182
+ var ot = u({
183
183
  name: "mdi-card-plus-outline",
184
184
  render: K
185
185
  }), q = {
@@ -188,12 +188,12 @@ var ot = l({
188
188
  height: "1.2em"
189
189
  };
190
190
  function J(e, t) {
191
- return a(), g("svg", q, [...t[0] ||= [b("path", {
191
+ return a(), _("svg", q, [...t[0] ||= [b("path", {
192
192
  fill: "currentColor",
193
193
  d: "M12 2a7 7 0 0 1 7 7a7 7 0 0 1-7 7a7 7 0 0 1-7-7a7 7 0 0 1 7-7m0 2a5 5 0 0 0-5 5a5 5 0 0 0 5 5a5 5 0 0 0 5-5a5 5 0 0 0-5-5m0 2a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3M6 22a2 2 0 0 1-2-2c0-.38.1-.73.29-1.03l1.82-3.16A9 9 0 0 0 12 18c2.25 0 4.31-.83 5.89-2.19l1.82 3.16c.19.3.29.65.29 1.03a2 2 0 0 1-2 2z"
194
194
  }, null, -1)]]);
195
195
  }
196
- var st = l({
196
+ var st = u({
197
197
  name: "mdi-webcam",
198
198
  render: J
199
199
  }), Y = {
@@ -202,12 +202,12 @@ var st = l({
202
202
  height: "1.2em"
203
203
  };
204
204
  function ct(e, t) {
205
- return a(), g("svg", Y, [...t[0] ||= [b("path", {
205
+ return a(), _("svg", Y, [...t[0] ||= [b("path", {
206
206
  fill: "currentColor",
207
207
  d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057M10.25 8a.75.75 0 0 0-1.5 0v8a.75.75 0 0 0 1.5 0v-3.25h3.5V16a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-1.5 0v3.25h-3.5z"
208
208
  }, null, -1)]]);
209
209
  }
210
- var lt = l({
210
+ var lt = u({
211
211
  name: "mynaui-letter-h-square-solid",
212
212
  render: ct
213
213
  }), ut = {
@@ -216,12 +216,12 @@ var lt = l({
216
216
  height: "1.2em"
217
217
  };
218
218
  function dt(e, t) {
219
- return a(), g("svg", ut, [...t[0] ||= [b("path", {
219
+ return a(), _("svg", ut, [...t[0] ||= [b("path", {
220
220
  fill: "currentColor",
221
221
  d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057M10.25 8a.75.75 0 0 0-1.5 0v7.5c0 .414.336.75.75.75H15a.75.75 0 0 0 0-1.5h-4.75z"
222
222
  }, null, -1)]]);
223
223
  }
224
- var ft = l({
224
+ var ft = u({
225
225
  name: "mynaui-letter-l-square-solid",
226
226
  render: dt
227
227
  }), X = {
@@ -230,12 +230,12 @@ var ft = l({
230
230
  height: "1.2em"
231
231
  };
232
232
  function pt(e, t) {
233
- return a(), g("svg", X, [...t[0] ||= [b("path", {
233
+ return a(), _("svg", X, [...t[0] ||= [b("path", {
234
234
  fill: "currentColor",
235
235
  d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057m.233 5.3A.75.75 0 0 0 8.25 8v8a.75.75 0 0 0 1.5 0v-5.75l1.65 2.2a.75.75 0 0 0 1.2 0l1.65-2.2V16a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-1.35-.45l-2.4 3.2z"
236
236
  }, null, -1)]]);
237
237
  }
238
- var mt = l({
238
+ var mt = u({
239
239
  name: "mynaui-letter-m-square-solid",
240
240
  render: pt
241
241
  }), ht = {
@@ -244,54 +244,54 @@ var mt = l({
244
244
  height: "1.2em"
245
245
  };
246
246
  function gt(e, t) {
247
- return a(), g("svg", ht, [...t[0] ||= [b("path", {
247
+ return a(), _("svg", ht, [...t[0] ||= [b("path", {
248
248
  fill: "currentColor",
249
249
  d: "M12 .36A5.4 5.4 0 0 0 6.62 5.3a5.4 5.4 0 0 0-1.22-.14a5.4 5.4 0 0 0-2.143 10.357a5.4 5.4 0 0 0-.737 2.723a5.4 5.4 0 0 0 9.54 3.466a5.4 5.4 0 0 0 8.833-6.137a5.4 5.4 0 0 0-3.505-10.152A5.4 5.4 0 0 0 12 .36M6.283 7.228h10.592c.746 0 1.352.605 1.352 1.349v7.646a1.35 1.35 0 0 1-1.352 1.348h-3.608l-7.24 3.55l1.1-3.55h-.844a1.35 1.35 0 0 1-1.352-1.348V8.577c0-.744.606-1.349 1.352-1.349"
250
250
  }, null, -1)]]);
251
251
  }
252
- var _t = l({
252
+ var _t = u({
253
253
  name: "simple-icons-webrtc",
254
254
  render: gt
255
255
  }), vt = { class: "flex flex-col gap-3" }, yt = { class: "text-wrap" }, bt = { class: "w-full h-full flex items-center justify-center relative" }, xt = /* @__PURE__ */ C({
256
256
  __name: "AudioVisualizer",
257
257
  emits: ["listening"],
258
258
  setup(e, { expose: r, emit: i }) {
259
- let s = i, c = Ce(), ee = fe(), l = n("dialogRefProps"), u = y("canvasRef"), d = S(), f = S(), h = w(!1), _ = p(() => !!l.loading?.value);
260
- async function v() {
261
- if (h.value) C();
259
+ let s = i, c = Ce(), l = A(), u = n("dialogRefProps"), d = y("canvasRef"), f = S(), p = S(), g = w(!1), v = m(() => !!u.loading?.value);
260
+ async function ee() {
261
+ if (g.value) C();
262
262
  else try {
263
- d.value && C();
263
+ f.value && C();
264
264
  let e;
265
265
  try {
266
266
  e = await navigator.mediaDevices.getUserMedia({ audio: !0 });
267
267
  } catch (e) {
268
- ee.add({
268
+ l.add({
269
269
  severity: "warn",
270
270
  detail: "Can not enable AudioVisualizer, see console.",
271
271
  life: 3e3
272
272
  }), c.warn("Can not enable AudioVisualizer", e);
273
273
  return;
274
274
  }
275
- h.value = !0, s("listening", !0), d.value = new AudioContext();
276
- let t = d.value.createAnalyser();
277
- t.fftSize = 1024, f.value = e.getTracks(), d.value.createMediaStreamSource(e).connect(t);
278
- let n, r = u.value?.getContext("2d"), i = () => {
279
- if (u.value && r) {
275
+ g.value = !0, s("listening", !0), f.value = new AudioContext();
276
+ let t = f.value.createAnalyser();
277
+ t.fftSize = 1024, p.value = e.getTracks(), f.value.createMediaStreamSource(e).connect(t);
278
+ let n, r = d.value?.getContext("2d"), i = () => {
279
+ if (d.value && r) {
280
280
  let e = [], a = [];
281
- r.clearRect(0, 0, u.value.width, u.value.height), requestAnimationFrame(i);
281
+ r.clearRect(0, 0, d.value.width, d.value.height), requestAnimationFrame(i);
282
282
  let o = t.frequencyBinCount, s = new Uint8Array(o);
283
283
  t.getByteFrequencyData(s), e.push(s);
284
284
  for (let t = 0; t < e[0].length; t++) a.push(0), e.forEach((e) => {
285
285
  a[t] += e[t];
286
286
  });
287
- let c = u.value.width / 2, ee = u.value.height / 2;
288
- r.beginPath(), r.arc(c, ee, 30, 0, 2 * Math.PI), r.lineWidth = 1, r.stroke(), r.closePath();
287
+ let c = d.value.width / 2, l = d.value.height / 2;
288
+ r.beginPath(), r.arc(c, l, 30, 0, 2 * Math.PI), r.lineWidth = 1, r.stroke(), r.closePath();
289
289
  for (let e = 0; e < 90; e++) {
290
290
  n = a[e] * .4;
291
- let t = Math.PI * 2 / 90, i = c + Math.cos(t * e) * 30, o = ee + Math.sin(t * e) * 30, s = c + Math.cos(t * e) * (30 + n), l = ee + Math.sin(t * e) * (30 + n);
292
- x(r, i, o, s, l, 3);
291
+ let t = Math.PI * 2 / 90, i = c + Math.cos(t * e) * 30, o = l + Math.sin(t * e) * 30, s = c + Math.cos(t * e) * (30 + n), u = l + Math.sin(t * e) * (30 + n);
292
+ x(r, i, o, s, u, 3);
293
293
  }
294
- h.value || r.clearRect(0, 0, u.value.width, u.value.height);
294
+ g.value || r.clearRect(0, 0, d.value.width, d.value.height);
295
295
  }
296
296
  };
297
297
  i();
@@ -304,93 +304,93 @@ var _t = l({
304
304
  o.addColorStop(0, "#5b040f"), o.addColorStop(.5, "#b50b21"), o.addColorStop(.9, "#df2a4c"), o.addColorStop(1, "#df6380"), e.lineWidth = a, e.strokeStyle = o, e.beginPath(), e.moveTo(t, n), e.lineTo(r, i), e.stroke(), e.closePath();
305
305
  }
306
306
  function C() {
307
- d.value?.close(), d.value = void 0, f.value?.forEach((e) => e.stop()), f.value = void 0, h.value = !1, s("listening", !1);
307
+ f.value?.close(), f.value = void 0, p.value?.forEach((e) => e.stop()), p.value = void 0, g.value = !1, s("listening", !1);
308
308
  }
309
309
  return t(() => {
310
310
  C();
311
- }), r({ isLoading: _ }), (e, t) => {
311
+ }), r({ isLoading: v }), (e, t) => {
312
312
  let n = Pe, r = De;
313
- return a(), g("div", vt, [b("span", yt, o(e.$t("components.dialog.message.intercom_info")), 1), b("div", bt, [T(r, {
313
+ return a(), _("div", vt, [b("span", yt, o(e.$t("components.dialog.message.intercom_info")), 1), b("div", bt, [T(r, {
314
314
  rounded: "",
315
315
  class: "w-[60px] h-[60px] absolute z-1",
316
- onClick: v
316
+ onClick: ee
317
317
  }, {
318
- icon: m(() => [T(n, {
318
+ icon: h(() => [T(n, {
319
319
  width: "100%",
320
320
  height: "100%"
321
321
  })]),
322
322
  _: 1
323
323
  }), b("canvas", {
324
324
  ref_key: "canvasRef",
325
- ref: u,
325
+ ref: d,
326
326
  height: "300",
327
327
  width: "300"
328
328
  }, null, 512)])]);
329
329
  };
330
330
  }
331
- }), Z = ["fill"], St = /* @__PURE__ */ C({
331
+ }), St = ["fill"], Z = /* @__PURE__ */ C({
332
332
  __name: "CuiCameraGridIcon1",
333
333
  props: { color: { default: "currentColor" } },
334
334
  setup(e) {
335
335
  let { color: t } = r(e);
336
- return (e, n) => (a(), g("svg", {
336
+ return (e, n) => (a(), _("svg", {
337
337
  xmlns: "http://www.w3.org/2000/svg",
338
338
  viewBox: "0 0 970 550",
339
339
  role: "img",
340
340
  "area-hidden": "true",
341
- fill: f(t)
342
- }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm0 8h952v532H9V9Z" }, null, -1)]], 8, Z));
341
+ fill: p(t)
342
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm0 8h952v532H9V9Z" }, null, -1)]], 8, St));
343
343
  }
344
- }), Q = ["fill"], Ct = /* @__PURE__ */ C({
344
+ }), Ct = ["fill"], wt = /* @__PURE__ */ C({
345
345
  __name: "CuiCameraGridIcon10",
346
346
  props: { color: { default: "currentColor" } },
347
347
  setup(e) {
348
348
  let { color: t } = r(e);
349
- return (e, n) => (a(), g("svg", {
349
+ return (e, n) => (a(), _("svg", {
350
350
  xmlns: "http://www.w3.org/2000/svg",
351
351
  viewBox: "0 0 970 550",
352
352
  role: "img",
353
353
  "area-hidden": "true",
354
- fill: f(t)
355
- }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm726 275h226v130H735V276Zm-242 0h234v130H493V276Zm0 265V414h234v127H493ZM9 541V276h476v265H9Zm726 0V414h226v127H735ZM961 9v121H735V9h226ZM735 138h226v130H735V138ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Z" }, null, -1)]], 8, Q));
354
+ fill: p(t)
355
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm726 275h226v130H735V276Zm-242 0h234v130H493V276Zm0 265V414h234v127H493ZM9 541V276h476v265H9Zm726 0V414h226v127H735ZM961 9v121H735V9h226ZM735 138h226v130H735V138ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Z" }, null, -1)]], 8, Ct));
356
356
  }
357
- }), $ = ["fill"], wt = /* @__PURE__ */ C({
357
+ }), Tt = ["fill"], Q = /* @__PURE__ */ C({
358
358
  __name: "CuiCameraGridIcon12",
359
359
  props: { color: { default: "currentColor" } },
360
360
  setup(e) {
361
361
  let { color: t } = r(e);
362
- return (e, n) => (a(), g("svg", {
362
+ return (e, n) => (a(), _("svg", {
363
363
  xmlns: "http://www.w3.org/2000/svg",
364
364
  viewBox: "0 0 970 550",
365
365
  role: "img",
366
366
  "area-hidden": "true",
367
- fill: f(t)
368
- }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 275v129H810.5V276H961Zm-158.5 0v129h-152V276h152Zm-152 265V413h152v128h-152Zm-8-265v129H493V276h149.5ZM493 541V413h149.5v128H493ZM9 276h476v265H9V276Zm801.5 265V413H961v128H810.5ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, $));
367
+ fill: p(t)
368
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 275v129H810.5V276H961Zm-158.5 0v129h-152V276h152Zm-152 265V413h152v128h-152Zm-8-265v129H493V276h149.5ZM493 541V413h149.5v128H493ZM9 276h476v265H9V276Zm801.5 265V413H961v128H810.5ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, Tt));
369
369
  }
370
- }), Tt = ["fill"], Et = /* @__PURE__ */ C({
370
+ }), $ = ["fill"], Et = /* @__PURE__ */ C({
371
371
  __name: "CuiCameraGridIcon13",
372
372
  props: { color: { default: "currentColor" } },
373
373
  setup(e) {
374
374
  let { color: t } = r(e);
375
- return (e, n) => (a(), g("svg", {
375
+ return (e, n) => (a(), _("svg", {
376
376
  xmlns: "http://www.w3.org/2000/svg",
377
377
  viewBox: "0 0 970 550",
378
378
  role: "img",
379
379
  "area-hidden": "true",
380
- fill: f(t)
381
- }, [...n[0] ||= [b("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-273.5H485v129.5H250.5V276Zm-8 0v129.5H9V276h233.5ZM961 9v121H735V9h226ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Zm250 129h226v130H735V138Zm0 267.5V276h226v129.5H735ZM493 276h234v129.5H493V276Zm0 265V413.5h234V541H493Zm-242.5 0V413.5H485V541H250.5ZM9 541V413.5h233.5V541H9Zm726 0V413.5h226V541H735Z" }, null, -1)]], 8, Tt));
380
+ fill: p(t)
381
+ }, [...n[0] ||= [b("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-273.5H485v129.5H250.5V276Zm-8 0v129.5H9V276h233.5ZM961 9v121H735V9h226ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Zm250 129h226v130H735V138Zm0 267.5V276h226v129.5H735ZM493 276h234v129.5H493V276Zm0 265V413.5h234V541H493Zm-242.5 0V413.5H485V541H250.5ZM9 541V413.5h233.5V541H9Zm726 0V413.5h226V541H735Z" }, null, -1)]], 8, $));
382
382
  }
383
383
  }), Dt = ["fill"], Ot = /* @__PURE__ */ C({
384
384
  __name: "CuiCameraGridIcon15",
385
385
  props: { color: { default: "currentColor" } },
386
386
  setup(e) {
387
387
  let { color: t } = r(e);
388
- return (e, n) => (a(), g("svg", {
388
+ return (e, n) => (a(), _("svg", {
389
389
  xmlns: "http://www.w3.org/2000/svg",
390
390
  viewBox: "0 0 970 550",
391
391
  role: "img",
392
392
  "area-hidden": "true",
393
- fill: f(t)
393
+ fill: p(t)
394
394
  }, [...n[0] ||= [b("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-144V276H485v129.5H250.5Zm-8-129.5v129.5H9V276h233.5Zm570 90H961v82H812.5v-82Zm-160 0h152v82h-152v-82ZM961 276v82H812.5v-82H961Zm-308.5 0h152v82h-152v-82Zm0 180h152v85h-152v-85ZM961 541H812.5v-85H961v85Zm-316.5-93H493v-82h151.5v82Zm0-172v82H493v-82h151.5Zm0 180v85H493v-85h151.5ZM485 413.5V541H250.5V413.5H485Zm-242.5 0V541H9V413.5h233.5ZM961 9v259H493V9h468ZM9 9h476v259H9V9Z" }, null, -1)]], 8, Dt));
395
395
  }
396
396
  }), kt = ["fill"], At = /* @__PURE__ */ C({
@@ -398,12 +398,12 @@ var _t = l({
398
398
  props: { color: { default: "currentColor" } },
399
399
  setup(e) {
400
400
  let { color: t } = r(e);
401
- return (e, n) => (a(), g("svg", {
401
+ return (e, n) => (a(), _("svg", {
402
402
  xmlns: "http://www.w3.org/2000/svg",
403
403
  viewBox: "0 0 970 550",
404
404
  role: "img",
405
405
  "area-hidden": "true",
406
- fill: f(t)
406
+ fill: p(t)
407
407
  }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v121.5H732.5V9H961ZM724.5 9v121.5H493V9h231.5ZM493 268V138.5h231.5V268H493Zm0 137.5V276h231.5v129.5H493Zm468 0H732.5V276H961v129.5ZM493 541V413.5h231.5V541H493Zm468 0H732.5V413.5H961V541Zm0-273H732.5V138.5H961V268ZM485 9v121.5H250.5V9H485ZM250.5 138.5H485V268H250.5V138.5ZM242.5 9v121.5H9V9h233.5ZM9 138.5h233.5V268H9V138.5ZM250.5 276H485v129.5H250.5V276Zm0 137.5H485V541H250.5V413.5Zm-8-137.5v129.5H9V276h233.5ZM9 541V413.5h233.5V541H9Z" }, null, -1)]], 8, kt));
408
408
  }
409
409
  }), jt = ["fill"], Mt = /* @__PURE__ */ C({
@@ -411,12 +411,12 @@ var _t = l({
411
411
  props: { color: { default: "currentColor" } },
412
412
  setup(e) {
413
413
  let { color: t } = r(e);
414
- return (e, n) => (a(), g("svg", {
414
+ return (e, n) => (a(), _("svg", {
415
415
  xmlns: "http://www.w3.org/2000/svg",
416
416
  viewBox: "0 0 970 550",
417
417
  role: "img",
418
418
  "area-hidden": "true",
419
- fill: f(t)
419
+ fill: p(t)
420
420
  }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 94v82H812.5V95H961Zm-156.5 82h-152V95h152v82ZM961 9v78H812.5V9H961ZM652.5 9h152v78h-152V9Zm0 176h152v83h-152v-83ZM961 268H812.5v-83H961v83Zm-308.5 8h152v82h-152v-82Zm160 0H961v82H812.5v-82Zm-168-181v82H493V95h151.5Zm0-86v78H493V9h151.5ZM493 268v-83h151.5v83H493Zm0 90v-82h151.5v82H493ZM9 9h476v259H9V9Zm952 357v82H812.5v-82H961Zm-156.5 0v82h-152v-82h152Zm-152 90h152v85h-152v-85ZM961 541H812.5v-85H961v85ZM644.5 366v82H493v-82h151.5ZM493 541v-85h151.5v85H493ZM9 276h476v265H9V276Z" }, null, -1)]], 8, jt));
421
421
  }
422
422
  }), Nt = ["fill"], Pt = /* @__PURE__ */ C({
@@ -424,12 +424,12 @@ var _t = l({
424
424
  props: { color: { default: "currentColor" } },
425
425
  setup(e) {
426
426
  let { color: t } = r(e);
427
- return (e, n) => (a(), g("svg", {
427
+ return (e, n) => (a(), _("svg", {
428
428
  xmlns: "http://www.w3.org/2000/svg",
429
429
  viewBox: "0 0 970 550",
430
430
  role: "img",
431
431
  "area-hidden": "true",
432
- fill: f(t)
432
+ fill: p(t)
433
433
  }, [...n[0] ||= [b("path", {
434
434
  "fill-rule": "evenodd",
435
435
  d: "M1.5 9A7.5 7.5 0 0 1 9 1.5h952a7.5 7.5 0 0 1 7.5 7.5v532a7.5 7.5 0 0 1-7.5 7.5H9a7.5 7.5 0 0 1-7.5-7.5V9Zm960 168V94h-153v83h153Zm-160 0h-153V94h153v83Zm7-90h153V9a.5.5 0 0 0-.5-.5H808.5V87Zm-7-78.5V87h-153V8.5h153Zm0 175.5v84.5h-153V184h153Zm7 84.5V184h153v84.5h-153Zm-167-91.5V94h-149v83h149Zm0-90V8.5h-149V87h149Zm-149 97h149v84.5h-149V184Zm0 91.5H719V402H492.5V275.5Zm0 133.5v132.5H719V409H492.5Zm233.5 0v132.5h235a.5.5 0 0 0 .5-.5V409H726Zm235.5-7V275.5H726V402h235.5Zm-476-270V8.5H252V132h233.5ZM245 139H8.5v129.5H245V139Zm0-7V8.5H9a.5.5 0 0 0-.5.5v123H245Zm240.5 136.5V139H252v129.5h233.5Zm-477 7h157v81H8.5v-81Zm164 81v-81h153v81h-153Zm153 7h-153v83h153v-83Zm7 83v-83h153v83h-153Zm-7 7h-153v88h153v-88Zm7 88v-88h153v88h-153Zm0-185v-81h153v81h-153Zm-324 7h157v83H8.5v-83Zm0 90h157v88H9a.5.5 0 0 1-.5-.5v-87.5Z"
@@ -440,12 +440,12 @@ var _t = l({
440
440
  props: { color: { default: "currentColor" } },
441
441
  setup(e) {
442
442
  let { color: t } = r(e);
443
- return (e, n) => (a(), g("svg", {
443
+ return (e, n) => (a(), _("svg", {
444
444
  xmlns: "http://www.w3.org/2000/svg",
445
445
  viewBox: "0 0 970 550",
446
446
  role: "img",
447
447
  "area-hidden": "true",
448
- fill: f(t)
448
+ fill: p(t)
449
449
  }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v259H493V9h468ZM493 541V276h468v265H493ZM485 9v259H9V9h476ZM9 541V276h476v265H9Z" }, null, -1)]], 8, Ft));
450
450
  }
451
451
  }), Lt = ["fill"], Rt = /* @__PURE__ */ C({
@@ -453,12 +453,12 @@ var _t = l({
453
453
  props: { color: { default: "currentColor" } },
454
454
  setup(e) {
455
455
  let { color: t } = r(e);
456
- return (e, n) => (a(), g("svg", {
456
+ return (e, n) => (a(), _("svg", {
457
457
  xmlns: "http://www.w3.org/2000/svg",
458
458
  viewBox: "0 0 970 550",
459
459
  role: "img",
460
460
  "area-hidden": "true",
461
- fill: f(t)
461
+ fill: p(t)
462
462
  }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm641.5 187.5H961v171H650.5v-171ZM961 9v171.5H650.5V9H961ZM642.5 9v350.5H9V9h633.5ZM9 541V367.5h315.5V541H9Zm323.5-173.5h310V541h-310V367.5Zm318 0H961V541H650.5V367.5Z" }, null, -1)]], 8, Lt));
463
463
  }
464
464
  }), zt = ["fill"], Bt = /* @__PURE__ */ C({
@@ -466,12 +466,12 @@ var _t = l({
466
466
  props: { color: { default: "currentColor" } },
467
467
  setup(e) {
468
468
  let { color: t } = r(e);
469
- return (e, n) => (a(), g("svg", {
469
+ return (e, n) => (a(), _("svg", {
470
470
  xmlns: "http://www.w3.org/2000/svg",
471
471
  viewBox: "0 0 970 550",
472
472
  role: "img",
473
473
  "area-hidden": "true",
474
- fill: f(t)
474
+ fill: p(t)
475
475
  }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm725.5 275H961v130H734.5V276Zm0 265V414H961v127H734.5Zm-8-265v130H493V276h233.5ZM493 541V414h233.5v127H493ZM9 276h476v265H9V276ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, zt));
476
476
  }
477
477
  }), Vt = ["fill"], Ht = /* @__PURE__ */ C({
@@ -479,12 +479,12 @@ var _t = l({
479
479
  props: { color: { default: "currentColor" } },
480
480
  setup(e) {
481
481
  let { color: t } = r(e);
482
- return (e, n) => (a(), g("svg", {
482
+ return (e, n) => (a(), _("svg", {
483
483
  xmlns: "http://www.w3.org/2000/svg",
484
484
  viewBox: "0 0 970 550",
485
485
  role: "img",
486
486
  "area-hidden": "true",
487
- fill: f(t)
487
+ fill: p(t)
488
488
  }, [...n[0] ||= [b("path", { d: "M969.5 359v-.5h-.5V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V366.5h.5V359ZM961 187v171.5H651V187h310ZM651 541V366.5h310V541H651Zm-8-354v171.5H330V187h313ZM330 541V366.5h313V541H330Zm-8-354v171.5H9V187h313ZM9 541V366.5h313V541H9ZM961 9v170H651V9h310ZM643 9v170H330V9h313ZM322 9v170H9V9h313Z" }, null, -1)]], 8, Vt));
489
489
  }
490
490
  }), Ut = {
@@ -510,8 +510,8 @@ var _t = l({
510
510
  cameras: {},
511
511
  views: {}
512
512
  },
513
- setup(t, { expose: l }) {
514
- let _ = new xe(), x = t, S = Ce(), C = fe(), { t: E } = Te(), ne = n("dialogRefProps"), re = _e(), { user: ie } = we(re), { mutateAsync: ae, isPending: se } = _.createViewQuery(), { mutateAsync: D, isPending: ce } = _.patchViewQuery(), { form: de, type: A, cameras: j, views: pe } = r(x), M = y("formRef"), me = w([
513
+ setup(t, { expose: u }) {
514
+ let v = new Se(), x = t, S = Ce(), C = A(), { t: E } = Te(), ne = n("dialogRefProps"), ie = _e(), { user: ae } = we(ie), { mutateAsync: oe, isPending: se } = v.createViewQuery(), { mutateAsync: D, isPending: ce } = v.patchViewQuery(), { form: ue, type: j, cameras: fe, views: pe } = r(x), N = y("formRef"), me = w([
515
515
  1,
516
516
  4,
517
517
  6,
@@ -524,56 +524,56 @@ var _t = l({
524
524
  16,
525
525
  20,
526
526
  26
527
- ]), he = w(!0), ve = w(!0), P = w([]), ye = w(!!de.value), I = w(de.value ? ge(de.value) : {});
528
- !ye.value && A.value === "view" && (I.value.viewSize = me.value[0]);
529
- let be = p(() => !!(ne.loading?.value || se.value || ce.value));
530
- function Se(e) {
531
- let t = P.value.findIndex((t) => t.name === e.name);
532
- t === -1 ? P.value.push(e) : P.value.splice(t, 1);
527
+ ]), he = w(!0), ve = w(!0), F = w([]), ye = w(!!ue.value), I = w(ue.value ? ge(ue.value) : {});
528
+ !ye.value && j.value === "view" && (I.value.viewSize = me.value[0]);
529
+ let be = m(() => !!(ne.loading?.value || se.value || ce.value));
530
+ function xe(e) {
531
+ let t = F.value.findIndex((t) => t.name === e.name);
532
+ t === -1 ? F.value.push(e) : F.value.splice(t, 1);
533
533
  }
534
534
  function Ee(e) {
535
535
  switch (e) {
536
- case 1: return St;
536
+ case 1: return Z;
537
537
  case 4: return It;
538
538
  case 6: return Rt;
539
539
  case 7: return Bt;
540
540
  case 9: return Ht;
541
- case 10: return Ct;
542
- case 12: return wt;
541
+ case 10: return wt;
542
+ case 12: return Q;
543
543
  case 13: return Et;
544
544
  case 15: return Ot;
545
545
  case 16: return At;
546
546
  case 20: return Mt;
547
547
  case 26: return Pt;
548
- default: return St;
548
+ default: return Z;
549
549
  }
550
550
  }
551
551
  async function De() {
552
- if (!M.value || !ie.value) return;
552
+ if (!N.value || !ae.value) return;
553
553
  let e = pe.value.find((e) => e.name === I.value.name);
554
554
  if (e && !ye.value) return S.error("View already exists", e), C.add({
555
555
  severity: "error",
556
556
  detail: E("components.toast.validation_failed"),
557
557
  life: 3e3
558
558
  }), null;
559
- if (A.value === "dnd") {
559
+ if (j.value === "dnd") {
560
560
  if (ve.value) return S.error("No cameras selected"), C.add({
561
561
  severity: "error",
562
562
  detail: E("components.toast.validation_failed"),
563
563
  life: 3e3
564
564
  }), null;
565
- let e = P.value.map((e, t) => ({
565
+ let e = F.value.map((e, t) => ({
566
566
  cameraId: e._id,
567
567
  index: t
568
568
  }));
569
- I.value.cameras = e, I.value.type = "dnd", I.value.viewSize = 1, M.value.setFieldValue("type", "dnd"), M.value.setFieldValue("viewSize", 1), M.value.setFieldValue("cameras", e);
570
- let t = await M.value.validate();
569
+ I.value.cameras = e, I.value.type = "dnd", I.value.viewSize = 1, N.value.setFieldValue("type", "dnd"), N.value.setFieldValue("viewSize", 1), N.value.setFieldValue("cameras", e);
570
+ let t = await N.value.validate();
571
571
  return t?.valid ? ye.value ? await D({
572
- username: ie.value.username,
572
+ username: ae.value.username,
573
573
  viewid: I.value._id,
574
574
  viewData: I.value
575
- }) : await ae({
576
- username: ie.value.username,
575
+ }) : await oe({
576
+ username: ae.value.username,
577
577
  viewData: I.value
578
578
  }) : (S.error("Validation failed", t), C.add({
579
579
  severity: "error",
@@ -587,8 +587,8 @@ var _t = l({
587
587
  detail: E("components.toast.validation_failed"),
588
588
  life: 3e3
589
589
  }), null;
590
- I.value.cameras = [], I.value.type = "view", M.value.setFieldValue("type", "view"), M.value.setFieldValue("cameras", []);
591
- let e = await M.value.validate();
590
+ I.value.cameras = [], I.value.type = "view", N.value.setFieldValue("type", "view"), N.value.setFieldValue("cameras", []);
591
+ let e = await N.value.validate();
592
592
  return e?.valid ? ge(I.value) : (S.error("Validation failed", e), C.add({
593
593
  severity: "error",
594
594
  detail: E("components.toast.validation_failed"),
@@ -596,49 +596,49 @@ var _t = l({
596
596
  }), null);
597
597
  }
598
598
  }
599
- return h(I, (e) => {
600
- for (let [t, n] of Object.entries(e)) M.value?.setFieldValue(t, n);
599
+ return g(I, (e) => {
600
+ for (let [t, n] of Object.entries(e)) N.value?.setFieldValue(t, n);
601
601
  e.viewSize && (he.value = !1), e.cameras?.length && (ve.value = !1);
602
602
  }, {
603
603
  deep: !0,
604
604
  immediate: !0
605
- }), h(P, (e) => {
605
+ }), g(F, (e) => {
606
606
  ve.value = e.length === 0;
607
607
  }, { deep: !0 }), te(() => {
608
- P.value = j.value?.filter((e) => I.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
609
- }), l({
608
+ F.value = fe.value?.filter((e) => I.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
609
+ }), u({
610
610
  isLoading: be,
611
611
  onConfirm: De
612
612
  }), (t, n) => {
613
- let r = L, l = F, p = Oe, h = N, _ = k;
614
- return a(), u(f(ue), {
613
+ let r = L, u = de, m = Oe, g = re, v = P;
614
+ return a(), d(p(le), {
615
615
  ref_key: "formRef",
616
- ref: M,
616
+ ref: N,
617
617
  class: "flex flex-col gap-6",
618
- "validation-schema": f(oe),
619
- "initial-values": f(I)
618
+ "validation-schema": p(M),
619
+ "initial-values": p(I)
620
620
  }, {
621
- default: m(() => [
622
- T(f(le), {
623
- modelValue: f(I).name,
624
- "onUpdate:modelValue": n[0] ||= (e) => f(I).name = e,
621
+ default: h(() => [
622
+ T(p(O), {
623
+ modelValue: p(I).name,
624
+ "onUpdate:modelValue": n[0] ||= (e) => p(I).name = e,
625
625
  modelModifiers: { trim: !0 },
626
626
  name: "name",
627
627
  as: "div",
628
628
  class: "flex flex-col field-gap"
629
629
  }, {
630
- default: m(({ field: n, errors: i }) => [
630
+ default: h(({ field: n, errors: i }) => [
631
631
  b("label", Ut, o(t.$t("components.form.label.name")), 1),
632
- T(l, null, {
633
- default: m(() => [T(r, s(n, {
632
+ T(u, null, {
633
+ default: h(() => [T(r, s(n, {
634
634
  invalid: i.length > 0,
635
- loading: f(be),
635
+ loading: p(be),
636
636
  type: "text"
637
637
  }), null, 16, ["invalid", "loading"])]),
638
638
  _: 2
639
639
  }, 1024),
640
640
  T(e, { name: "fade" }, {
641
- default: m(() => [T(f(O), {
641
+ default: h(() => [T(p(k), {
642
642
  name: "name",
643
643
  class: "cui-input-error"
644
644
  })]),
@@ -647,35 +647,35 @@ var _t = l({
647
647
  ]),
648
648
  _: 1
649
649
  }, 8, ["modelValue"]),
650
- T(p, { class: "m-0 py-3" }),
651
- f(A) === "dnd" ? (a(), g("div", Wt, [T(e, { name: "fade" }, {
652
- default: m(() => [f(ve) ? (a(), g("span", Gt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : d("", !0)]),
650
+ T(m, { class: "m-0 py-3" }),
651
+ p(j) === "dnd" ? (a(), _("div", Wt, [T(e, { name: "fade" }, {
652
+ default: h(() => [p(ve) ? (a(), _("span", Gt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : f("", !0)]),
653
653
  _: 1
654
- }), b("div", Kt, [b("label", qt, o(t.$t("components.form.label.cameras")), 1), (a(!0), g(v, null, i(f(j), (e, t) => (a(), g("div", {
654
+ }), b("div", Kt, [b("label", qt, o(t.$t("components.form.label.cameras")), 1), (a(!0), _(ee, null, i(p(fe), (e, t) => (a(), _("div", {
655
655
  key: t,
656
656
  class: "cui-list-item"
657
- }, [T(_, {
657
+ }, [T(v, {
658
658
  class: "h-14",
659
- active: f(P).some((t) => t.name === e.name),
660
- onClick: (t) => Se(e)
659
+ active: p(F).some((t) => t.name === e.name),
660
+ onClick: (t) => xe(e)
661
661
  }, {
662
- append: m(() => [T(h, {
663
- "model-value": f(P).some((t) => t.name === e.name),
664
- "onUpdate:modelValue": (t) => Se(e)
662
+ append: h(() => [T(g, {
663
+ "model-value": p(F).some((t) => t.name === e.name),
664
+ "onUpdate:modelValue": (t) => xe(e)
665
665
  }, null, 8, ["model-value", "onUpdate:modelValue"])]),
666
- default: m(() => [b("span", null, o(e.name), 1)]),
666
+ default: h(() => [b("span", null, o(e.name), 1)]),
667
667
  _: 2
668
- }, 1032, ["active", "onClick"])]))), 128))])])) : (a(), g("div", Jt, [T(e, { name: "fade" }, {
669
- default: m(() => [f(he) ? (a(), g("span", Yt, o(t.$t("components.form.error.no_view_selected")), 1)) : d("", !0)]),
668
+ }, 1032, ["active", "onClick"])]))), 128))])])) : (a(), _("div", Jt, [T(e, { name: "fade" }, {
669
+ default: h(() => [p(he) ? (a(), _("span", Yt, o(t.$t("components.form.error.no_view_selected")), 1)) : f("", !0)]),
670
670
  _: 1
671
- }), b("div", Xt, [b("label", Zt, o(t.$t("components.form.label.views")), 1), b("div", Qt, [(a(!0), g(v, null, i(f(me), (e) => (a(), g("div", {
671
+ }), b("div", Xt, [b("label", Zt, o(t.$t("components.form.label.views")), 1), b("div", Qt, [(a(!0), _(ee, null, i(p(me), (e) => (a(), _("div", {
672
672
  key: e,
673
673
  class: "view-select-item w-full",
674
- onClick: (t) => f(I).viewSize = e
675
- }, [b("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": f(I).viewSize === e }]) }, [(a(), u(ee(Ee(e)), { style: {
674
+ onClick: (t) => p(I).viewSize = e
675
+ }, [b("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(I).viewSize === e }]) }, [(a(), d(l(Ee(e)), { style: {
676
676
  width: "100%",
677
677
  height: "100%"
678
- } }))], 2), b("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": f(I).viewSize === e }]) }, o(e) + " " + o(t.$t("views.camview.cameras")), 3)], 8, $t))), 128))])])]))
678
+ } }))], 2), b("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": p(I).viewSize === e }]) }, o(e) + " " + o(t.$t("views.camview.cameras")), 3)], 8, $t))), 128))])])]))
679
679
  ]),
680
680
  _: 1
681
681
  }, 8, ["validation-schema", "initial-values"]);
@@ -694,23 +694,23 @@ var _t = l({
694
694
  navbarLeft: { default: 0 }
695
695
  },
696
696
  setup(t) {
697
- let n = new xe(), i = new M(), l = t, v = Te(), { t: S } = v, C = ve(), te = he(), { bottombarHeight: oe } = P(), { smBreakpoint: D, lgBreakpoint: O, mdBreakpoint: le } = re(), ue = _e(), { user: k } = we(ue), fe = A(), { uiSettings: N } = we(fe), { data: F, isLoading: Ce } = i.getCamerasQuery({
697
+ let n = new Se(), i = new ue(), u = t, ee = Te(), { t: S } = ee, C = ye(), te = ve(), { bottombarHeight: re } = F(), { smBreakpoint: D, lgBreakpoint: O, mdBreakpoint: le } = ie(), de = _e(), { user: k } = we(de), A = N(), { uiSettings: M } = we(A), { data: P, isLoading: Ce } = i.getCamerasQuery({
698
698
  page: 1,
699
699
  pageSize: -1
700
700
  }), { data: L, isLoading: Pe } = n.getViewsQuery(k.value?.username ?? "", {
701
701
  page: 1,
702
702
  pageSize: -1
703
- }), { mutate: Le, isPending: Re } = n.removeViewQuery(), { mutateAsync: Be, isPending: Ve } = n.createViewQuery(), { mutateAsync: Ue, isPending: We } = n.patchViewQuery(), { mutateAsync: Ke } = n.patchViewQuerySilent(), { navbarWidth: qe, navbarLeft: Ye } = r(l), Xe = y("menuRef"), Qe = y("newViewMenuRef"), $e = y("cardFitMenuRef"), R = y("viewDndRef"), z = w({}), B = w(!1), V = w(!1), H = w(!1), U = w(!1), W = w(!1), it = w(!1), G = w(!0), K = w("always-on"), q = w("low-resolution"), J = w("auto"), Y = w([]), ct = w(), ut = w(null), dt = E({
703
+ }), { mutate: Le, isPending: Re } = n.removeViewQuery(), { mutateAsync: Be, isPending: Ve } = n.createViewQuery(), { mutateAsync: Ue, isPending: We } = n.patchViewQuery(), { mutateAsync: Ke } = n.patchViewQuerySilent(), { navbarWidth: qe, navbarLeft: Ye } = r(u), Xe = y("menuRef"), Qe = y("newViewMenuRef"), $e = y("cardFitMenuRef"), R = y("viewDndRef"), z = w({}), B = w(!1), V = w(!1), H = w(!1), U = w(!1), W = w(!1), it = w(!1), G = w(!0), K = w("always-on"), q = w("low-resolution"), J = w("auto"), Y = w([]), ct = w(), ut = w(null), dt = E({
704
704
  sourceRole: q.value,
705
705
  activityMode: K.value,
706
706
  streamingMode: J.value
707
- }), X = p(() => Ce.value || Pe.value || Re.value || Ve.value || We.value), pt = p(() => qe.value + Ye.value), ht = p(() => ({
708
- locale: v.locale.value,
707
+ }), X = m(() => Ce.value || Pe.value || Re.value || Ve.value || We.value), pt = m(() => Ce.value && !P.value || Pe.value && !L.value || Re.value || Ve.value || We.value), ht = m(() => qe.value + Ye.value), gt = m(() => ({
708
+ locale: ee.locale.value,
709
709
  dayNames: C.config.locale?.dayNames,
710
710
  dayNamesShort: C.config.locale?.dayNamesShort,
711
711
  monthNames: C.config.locale?.monthNames,
712
712
  monthNamesShort: C.config.locale?.monthNamesShort
713
- })), gt = p(() => ct.value ?? $.value?.cardFit ?? "aspect"), vt = p(() => [
713
+ })), vt = m(() => ct.value ?? Q.value?.cardFit ?? "aspect"), yt = m(() => [
714
714
  "aspect",
715
715
  "contain",
716
716
  "fill",
@@ -718,97 +718,97 @@ var _t = l({
718
718
  ].map((e) => ({
719
719
  label: S(`views.camview.card_fit_${e}`),
720
720
  description: S(`views.camview.card_fit_${e}_info`),
721
- active: gt.value === e,
722
- onClick: () => Ut(e)
723
- }))), yt = p(() => ({
721
+ active: vt.value === e,
722
+ onClick: () => Wt(e)
723
+ }))), bt = m(() => ({
724
724
  doubleClickZoom: !1,
725
725
  flatCard: !0,
726
- cardFit: gt.value,
726
+ cardFit: vt.value,
727
727
  cameraNameOverlay: !0,
728
728
  control: !0,
729
729
  toolbar: !1,
730
- expandableCard: ($.value?.cameras?.length ?? 0) > 1,
731
- detectionIndicatorOverlay: !H.value && Q.value,
732
- detectionIconsOverlay: !H.value && Q.value,
730
+ expandableCard: (Q.value?.cameras?.length ?? 0) > 1,
731
+ detectionIndicatorOverlay: !H.value && wt.value,
732
+ detectionIconsOverlay: !H.value && wt.value,
733
733
  boundingBoxOverlay: !1,
734
734
  cardClickAction: "expand",
735
735
  viewTransition: !0,
736
736
  cardProps: { pt: { root: { style: "background: #000" } } }
737
- })), bt = p(() => L.value?.result.length ? O.value ? {
737
+ })), St = m(() => L.value?.result.length ? O.value ? {
738
738
  width: W.value ? "calc(100% - 400px)" : "100%",
739
739
  height: "100%",
740
740
  overflowY: "scroll"
741
741
  } : {
742
742
  height: "100%",
743
- paddingBottom: W.value ? oe.value > 0 ? "200px" : "192px" : "0px",
743
+ paddingBottom: W.value ? re.value > 0 ? "200px" : "192px" : "0px",
744
744
  overflowY: "scroll"
745
745
  } : {
746
746
  width: "100%",
747
747
  height: "100%",
748
748
  overflowY: "scroll"
749
- }), Z = p(() => B.value || V.value), St = p(() => !!R.value?.isFullscreen), Q = p(() => N.value.camview.detections !== !1), Ct = p(() => [
749
+ }), Z = m(() => B.value || V.value), Ct = m(() => !!R.value?.isFullscreen), wt = m(() => M.value.camview.detections !== !1), Tt = m(() => [
750
750
  {
751
- label: St.value ? S("components.form.tooltip.fullscreen_off") : S("components.form.tooltip.fullscreen_on"),
752
- icon: St.value ? I : ie,
753
- command: Wt
751
+ label: Ct.value ? S("components.form.tooltip.fullscreen_off") : S("components.form.tooltip.fullscreen_on"),
752
+ icon: Ct.value ? ae : j,
753
+ command: Gt
754
754
  },
755
755
  {
756
756
  label: G.value ? S("components.form.tooltip.unmute") : S("components.form.tooltip.mute"),
757
757
  icon: G.value ? nt : tt,
758
- command: Gt
758
+ command: Kt
759
759
  },
760
760
  {
761
761
  label: S("components.form.tooltip.intercom"),
762
- icon: Se,
763
- command: () => Mt("intercom")
762
+ icon: be,
763
+ command: () => Nt("intercom")
764
764
  },
765
765
  {
766
766
  label: J.value === "auto" ? `${S("components.form.tooltip.mode")}: ${S("components.form.tooltip.streaming_mode_auto")}` : J.value === "webrtc" ? `${S("components.form.tooltip.mode")}: ${S("components.form.tooltip.streaming_mode_webrtc")}` : `${S("components.form.tooltip.mode")}: ${S("components.form.tooltip.streaming_mode_mse")}`,
767
767
  icon: J.value === "auto" ? at : J.value === "webrtc" ? _t : Ze,
768
- command: () => Jt()
768
+ command: () => Yt()
769
769
  },
770
770
  {
771
771
  label: K.value === "always-on" ? S("components.form.tooltip.activity_mode_always_on") : K.value === "standby" ? S("components.form.tooltip.activity_mode_standby") : S("components.form.tooltip.activity_mode_activity"),
772
772
  icon: K.value === "always-on" ? st : K.value === "standby" ? rt : et,
773
- command: () => Kt()
773
+ command: () => qt()
774
774
  },
775
775
  {
776
776
  label: q.value === "low-resolution" ? `${S("components.form.tooltip.resolution")}: ${S("components.form.tooltip.source_role_low")}` : q.value === "mid-resolution" ? `${S("components.form.tooltip.resolution")}: ${S("components.form.tooltip.source_role_mid")}` : `${S("components.form.tooltip.resolution")}: ${S("components.form.tooltip.source_role_high")}`,
777
777
  icon: q.value === "low-resolution" ? ft : q.value === "mid-resolution" ? mt : lt,
778
- command: () => qt()
778
+ command: () => Jt()
779
779
  },
780
780
  {
781
- label: `${S("components.form.tooltip.detections")}: ${Q.value ? S("components.form.tooltip.detections_on") : S("components.form.tooltip.detections_off")}`,
782
- icon: Q.value ? Ee : j,
783
- command: () => N.value.camview.detections = !Q.value
781
+ label: `${S("components.form.tooltip.detections")}: ${wt.value ? S("components.form.tooltip.detections_on") : S("components.form.tooltip.detections_off")}`,
782
+ icon: wt.value ? Ee : pe,
783
+ command: () => M.value.camview.detections = !wt.value
784
784
  }
785
- ]), $ = p(() => {
786
- let e = L.value?.result.find((e) => e._id === N.value.camview.viewid) || L.value?.result[0];
787
- return e ? (z.value = e, N.value.camview.viewid = e._id) : z.value = {}, e;
788
- }), wt = p(() => $.value?.cameras?.map((e) => e.cameraId) ?? []), Tt = p(() => {
785
+ ]), Q = m(() => {
786
+ let e = L.value?.result.find((e) => e._id === M.value.camview.viewid) || L.value?.result[0];
787
+ return e ? (z.value = e, M.value.camview.viewid = e._id) : z.value = {}, e;
788
+ }), $ = m(() => Q.value?.cameras?.map((e) => e.cameraId) ?? []), Et = m(() => {
789
789
  let e = ut.value;
790
- return e && wt.value.includes(e) ? [e] : wt.value;
791
- }), Et = p(() => {
790
+ return e && $.value.includes(e) ? [e] : $.value;
791
+ }), Dt = m(() => {
792
792
  let e = {};
793
- for (let t of F.value?.result ?? []) e[t._id] = t.name;
793
+ for (let t of P.value?.result ?? []) e[t._id] = t.name;
794
794
  return e;
795
- }), { master: Dt } = pe(wt, {
795
+ }), { master: Ot } = me($, {
796
796
  sourceRole: "low",
797
- activeIds: Tt
798
- }), Ot = p(() => Dt.mode.value !== "idle" && Dt.currentTimestamp.value > 0 ? Math.floor(Dt.currentTimestamp.value / 1e3) : void 0), kt = p(() => Z.value && z.value.viewSize > 0 ? z.value.viewSize : $.value ? $.value.viewSize : 1), At = p(() => {
797
+ activeIds: Et
798
+ }), kt = m(() => Ot.mode.value !== "idle" && Ot.currentTimestamp.value > 0 ? Math.floor(Ot.currentTimestamp.value / 1e3) : void 0), At = m(() => Z.value && z.value.viewSize > 0 ? z.value.viewSize : Q.value ? Q.value.viewSize : 1), jt = m(() => {
799
799
  let e = [];
800
800
  for (let t of L.value?.result || []) e.push({
801
801
  label: t.name,
802
- active: t._id === $.value?._id,
803
- onClick: () => Nt(t)
802
+ active: t._id === Q.value?._id,
803
+ onClick: () => Pt(t)
804
804
  });
805
805
  return e;
806
- }), jt = p(() => [{
806
+ }), Mt = m(() => [{
807
807
  label: S("views.camview.new_view"),
808
808
  icon: ot,
809
- onClick: () => Mt("newView")
809
+ onClick: () => Nt("newView")
810
810
  }]);
811
- function Mt(e) {
811
+ function Nt(e) {
812
812
  switch (e) {
813
813
  case "newView":
814
814
  case "editView": {
@@ -821,7 +821,7 @@ var _t = l({
821
821
  contentProps: {
822
822
  form: t ? z.value : void 0,
823
823
  type: "view",
824
- cameras: F.value?.result || [],
824
+ cameras: P.value?.result || [],
825
825
  views: L.value?.result || []
826
826
  }
827
827
  },
@@ -842,7 +842,7 @@ var _t = l({
842
842
  loading: X,
843
843
  contentProps: {}
844
844
  },
845
- events: { listening: Yt }
845
+ events: { listening: Xt }
846
846
  });
847
847
  break;
848
848
  case "removeView": te.openTextDialog({
@@ -852,22 +852,22 @@ var _t = l({
852
852
  contentText: S("components.dialog.message.confirm_remove_layout"),
853
853
  confirmButtonProps: { severity: "danger" }
854
854
  },
855
- onConfirm: Pt
855
+ onConfirm: Ft
856
856
  });
857
857
  }
858
858
  }
859
- function Nt(e) {
860
- N.value.camview.viewid = e._id;
859
+ function Pt(e) {
860
+ M.value.camview.viewid = e._id;
861
861
  }
862
- function Pt() {
863
- $.value && k.value && Le({
862
+ function Ft() {
863
+ Q.value && k.value && Le({
864
864
  username: k.value.username,
865
- viewid: $.value._id
865
+ viewid: Q.value._id
866
866
  }, { onSuccess: (e) => {
867
- e.length ? N.value.camview.viewid = e[0]._id : N.value.camview.viewid = void 0;
867
+ e.length ? M.value.camview.viewid = e[0]._id : M.value.camview.viewid = void 0;
868
868
  } });
869
869
  }
870
- async function Ft() {
870
+ async function It() {
871
871
  if (!k.value || Object.keys(z.value).length === 0) return;
872
872
  let e = Y.value.filter((e) => e.lastDroppedCamera).map((e) => ({
873
873
  cameraId: e.lastDroppedCamera._id,
@@ -877,27 +877,27 @@ var _t = l({
877
877
  })).sort((e, t) => e.index - t.index);
878
878
  if (!e.length) return;
879
879
  let t = ge(z.value);
880
- t.cameras = e, t._id ? Ht(await Ue({
880
+ t.cameras = e, t._id ? Ut(await Ue({
881
881
  username: k.value.username,
882
882
  viewid: t._id,
883
883
  viewData: t
884
- })) : Ht(await Be({
884
+ })) : Ut(await Be({
885
885
  username: k.value.username,
886
886
  viewData: t
887
887
  }));
888
888
  }
889
- function It(e, t) {
889
+ function Lt(e, t) {
890
890
  Y.value[e].lastDroppedCamera = t;
891
891
  }
892
- function Lt(e) {
892
+ function Rt(e) {
893
893
  Y.value = Y.value.map((t) => (t.lastDroppedCamera?.name === e.name && (t.lastDroppedCamera = void 0), t));
894
894
  }
895
- function Rt(e) {
895
+ function zt(e) {
896
896
  return `${D.value ? "mobile" : "desktop"}:${e}`;
897
897
  }
898
- function zt(e) {
899
- let t = $.value?._id;
900
- t && (N.value.camview.layouts || (N.value.camview.layouts = {}), N.value.camview.layouts[Rt(t)] = e.map((e) => ({
898
+ function Bt(e) {
899
+ let t = Q.value?._id;
900
+ t && (M.value.camview.layouts || (M.value.camview.layouts = {}), M.value.camview.layouts[zt(t)] = e.map((e) => ({
901
901
  index: e.index,
902
902
  cameraId: e.cameraId,
903
903
  x: e.x ?? 0,
@@ -906,19 +906,19 @@ var _t = l({
906
906
  h: e.rowSpan ?? 1
907
907
  })));
908
908
  }
909
- function Bt(e, t) {
909
+ function Vt(e, t) {
910
910
  ut.value = t ? e._id : null;
911
911
  }
912
- function Vt(e) {
912
+ function Ht(e) {
913
913
  let t = ut.value;
914
- t && e.cameraId && e.cameraId !== t && wt.value.includes(e.cameraId) && R.value?.expandCameraById(e.cameraId);
914
+ t && e.cameraId && e.cameraId !== t && $.value.includes(e.cameraId) && R.value?.expandCameraById(e.cameraId);
915
915
  }
916
- function Ht(e) {
917
- N.value.camview.viewid = e._id, V.value = !1, B.value = !1;
916
+ function Ut(e) {
917
+ M.value.camview.viewid = e._id, V.value = !1, B.value = !1;
918
918
  }
919
- async function Ut(e) {
920
- let t = $.value, n = k.value?.username;
921
- if (t && n && gt.value !== e) {
919
+ async function Wt(e) {
920
+ let t = Q.value, n = k.value?.username;
921
+ if (t && n && vt.value !== e) {
922
922
  ct.value = e;
923
923
  try {
924
924
  await Ke({
@@ -931,95 +931,95 @@ var _t = l({
931
931
  }
932
932
  }
933
933
  }
934
- function Wt() {
934
+ function Gt() {
935
935
  R.value?.toggleFullscreen();
936
936
  }
937
- function Gt() {
937
+ function Kt() {
938
938
  G.value = !G.value, R.value?.toggleAllPlayerMute(G.value);
939
939
  }
940
- function Kt(e) {
940
+ function qt(e) {
941
941
  let t = K.value;
942
942
  t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), R.value?.toggleAllPlayerActivityMode(t), K.value = t;
943
943
  }
944
- async function qt(e) {
944
+ async function Jt(e) {
945
945
  let t = q.value;
946
946
  t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await R.value?.toggleAllPlayerSourceRole(t), q.value = t;
947
947
  }
948
- async function Jt(e) {
948
+ async function Yt(e) {
949
949
  let t = J.value;
950
950
  t === "auto" && (t = "webrtc");
951
951
  let n = e || (t === "mse" ? "webrtc" : "mse");
952
952
  await R.value?.toggleAllPlayerStreamingMode(n), J.value = n;
953
953
  }
954
- async function Yt(e) {
954
+ async function Xt(e) {
955
955
  await R.value?.toggleAllPlayerMicrophone(e);
956
956
  }
957
- return h(U, (e) => {
957
+ return g(U, (e) => {
958
958
  e && (it.value = !0);
959
- }), h(() => $.value?._id, () => {
959
+ }), g(() => Q.value?._id, () => {
960
960
  ct.value = void 0;
961
- }), h([
962
- kt,
963
- $,
964
- F,
961
+ }), g([
962
+ At,
963
+ Q,
964
+ P,
965
965
  Z,
966
- N,
966
+ M,
967
967
  D
968
968
  ], () => {
969
- let e = Array.from({ length: kt.value }).map((e, t) => ({
969
+ let e = Array.from({ length: At.value }).map((e, t) => ({
970
970
  accept: "camera",
971
971
  index: t,
972
972
  lastDroppedCamera: void 0
973
973
  }));
974
974
  if (!V.value) {
975
- let t = $.value?._id, n = t ? Rt(t) : void 0, r = n ? N.value.camview.layouts?.[n] : void 0, i = new Set(F.value?.result.map((e) => e._id) ?? []), a = !1;
976
- for (let t of $.value?.cameras || []) {
975
+ let t = Q.value?._id, n = t ? zt(t) : void 0, r = n ? M.value.camview.layouts?.[n] : void 0, i = new Set(P.value?.result.map((e) => e._id) ?? []), a = !1;
976
+ for (let t of Q.value?.cameras || []) {
977
977
  if (!e[t.index]) continue;
978
- let n = F.value?.result.find((e) => e._id === t.cameraId);
978
+ let n = P.value?.result.find((e) => e._id === t.cameraId);
979
979
  e[t.index].lastDroppedCamera = n;
980
980
  let o = r?.find((e) => e.index === t.index);
981
981
  o && (!o.cameraId || i.has(o.cameraId) ? (e[t.index].x = o.x, e[t.index].y = o.y, e[t.index].colSpan = o.w, e[t.index].rowSpan = o.h) : a = !0);
982
982
  }
983
- a && n && N.value.camview.layouts?.[n] && (N.value.camview.layouts[n] = N.value.camview.layouts[n].filter((e) => !e.cameraId || i.has(e.cameraId)));
983
+ a && n && M.value.camview.layouts?.[n] && (M.value.camview.layouts[n] = M.value.camview.layouts[n].filter((e) => !e.cameraId || i.has(e.cameraId)));
984
984
  }
985
985
  Y.value = e;
986
986
  }, {
987
987
  deep: !0,
988
988
  immediate: !0
989
989
  }), (t, n) => {
990
- let r = Ie, i = Me, l = me, p = Je, h = Ge, v = He, y = se, S = ae, C = Oe, w = Ae, E = ze, te = Ne, re = Fe, ie = be, ue = ye, k = De, fe = ke, A = de, j = ne;
991
- return a(), g("div", tn, [
992
- T(re, {
993
- "left-offset": f(pt),
990
+ let r = Ie, i = Me, u = he, m = Je, g = Ge, ee = He, y = fe, S = se, C = Oe, w = Ae, E = ze, te = Ne, ie = Fe, ae = xe, ue = I, de = De, k = ke, A = oe, j = ne;
991
+ return a(), _("div", tn, [
992
+ T(ie, {
993
+ "left-offset": p(ht),
994
994
  animate: ""
995
995
  }, {
996
- left: m(() => [!f(V) && f($) ? (a(), u(r, {
996
+ left: h(() => [!p(V) && p(Q) ? (a(), d(r, {
997
997
  key: 0,
998
998
  type: "dropdown",
999
- label: f($).name,
1000
- "menu-open": f(Xe)?.isOpen,
1001
- disabled: f(X) || f(B),
1002
- onClick: n[0] ||= (e) => f(Xe)?.toggleMenu(e)
999
+ label: p(Q).name,
1000
+ "menu-open": p(Xe)?.isOpen,
1001
+ disabled: p(X) || p(B),
1002
+ onClick: n[0] ||= (e) => p(Xe)?.toggleMenu(e)
1003
1003
  }, null, 8, [
1004
1004
  "label",
1005
1005
  "menu-open",
1006
1006
  "disabled"
1007
- ])) : f(V) && f(z).name ? (a(), u(r, {
1007
+ ])) : p(V) && p(z).name ? (a(), d(r, {
1008
1008
  key: 1,
1009
- label: f(z).name,
1010
- disabled: f(X)
1011
- }, null, 8, ["label", "disabled"])) : d("", !0)]),
1012
- right: m(() => [
1013
- !f(Z) && f($) ? x((a(), u(r, {
1009
+ label: p(z).name,
1010
+ disabled: p(X)
1011
+ }, null, 8, ["label", "disabled"])) : f("", !0)]),
1012
+ right: h(() => [
1013
+ !p(Z) && p(Q) ? x((a(), d(r, {
1014
1014
  key: 0,
1015
- active: f(H),
1016
- onClick: n[1] ||= (e) => H.value = !f(H)
1015
+ active: p(H),
1016
+ onClick: n[1] ||= (e) => H.value = !p(H)
1017
1017
  }, {
1018
- icon: m(() => [f(H) ? (a(), u(l, {
1018
+ icon: h(() => [p(H) ? (a(), d(u, {
1019
1019
  key: 1,
1020
1020
  width: "100%",
1021
1021
  height: "100%"
1022
- })) : (a(), u(i, {
1022
+ })) : (a(), d(i, {
1023
1023
  key: 0,
1024
1024
  width: "100%",
1025
1025
  height: "100%"
@@ -1027,15 +1027,15 @@ var _t = l({
1027
1027
  _: 1
1028
1028
  }, 8, ["active"])), [[
1029
1029
  j,
1030
- { value: f(H) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
1030
+ { value: p(H) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
1031
1031
  void 0,
1032
1032
  { bottom: !0 }
1033
- ]]) : d("", !0),
1034
- !f(Z) && f($) && f(H) && !f(D) ? x((a(), u(r, {
1033
+ ]]) : f("", !0),
1034
+ !p(Z) && p(Q) && p(H) && !p(D) ? x((a(), d(r, {
1035
1035
  key: 1,
1036
- onClick: n[2] ||= (e) => f(R)?.fitAspectRatios()
1036
+ onClick: n[2] ||= (e) => p(R)?.fitAspectRatios()
1037
1037
  }, {
1038
- icon: m(() => [T(p, {
1038
+ icon: h(() => [T(m, {
1039
1039
  width: "100%",
1040
1040
  height: "100%"
1041
1041
  })]),
@@ -1045,12 +1045,12 @@ var _t = l({
1045
1045
  { value: t.$t("views.camview.rearrange_fit_aspect") },
1046
1046
  void 0,
1047
1047
  { bottom: !0 }
1048
- ]]) : d("", !0),
1049
- !f(Z) && f($) && f(H) && !f(D) ? x((a(), u(r, {
1048
+ ]]) : f("", !0),
1049
+ !p(Z) && p(Q) && p(H) && !p(D) ? x((a(), d(r, {
1050
1050
  key: 2,
1051
- onClick: n[3] ||= (e) => f(R)?.compactGrid()
1051
+ onClick: n[3] ||= (e) => p(R)?.compactGrid()
1052
1052
  }, {
1053
- icon: m(() => [T(h, {
1053
+ icon: h(() => [T(g, {
1054
1054
  width: "100%",
1055
1055
  height: "100%"
1056
1056
  })]),
@@ -1060,14 +1060,14 @@ var _t = l({
1060
1060
  { value: t.$t("views.camview.rearrange_auto") },
1061
1061
  void 0,
1062
1062
  { bottom: !0 }
1063
- ]]) : d("", !0),
1064
- !f(Z) && f($) ? x((a(), u(r, {
1063
+ ]]) : f("", !0),
1064
+ !p(Z) && p(Q) ? x((a(), d(r, {
1065
1065
  key: 3,
1066
- active: f(gt) !== "aspect",
1067
- "menu-open": f($e)?.isOpen,
1068
- onClick: n[4] ||= (e) => f($e)?.toggleMenu(e)
1066
+ active: p(vt) !== "aspect",
1067
+ "menu-open": p($e)?.isOpen,
1068
+ onClick: n[4] ||= (e) => p($e)?.toggleMenu(e)
1069
1069
  }, {
1070
- icon: m(() => [T(v, {
1070
+ icon: h(() => [T(ee, {
1071
1071
  width: "100%",
1072
1072
  height: "100%"
1073
1073
  })]),
@@ -1077,17 +1077,17 @@ var _t = l({
1077
1077
  { value: t.$t("views.camview.card_fit") },
1078
1078
  void 0,
1079
1079
  { bottom: !0 }
1080
- ]]) : d("", !0),
1081
- !f(Z) && f($) ? x((a(), u(r, {
1080
+ ]]) : f("", !0),
1081
+ !p(Z) && p(Q) ? x((a(), d(r, {
1082
1082
  key: 4,
1083
- active: f(U),
1084
- onClick: n[5] ||= (e) => U.value = !f(U)
1083
+ active: p(U),
1084
+ onClick: n[5] ||= (e) => U.value = !p(U)
1085
1085
  }, {
1086
- icon: m(() => [f(U) ? (a(), u(S, {
1086
+ icon: h(() => [p(U) ? (a(), d(S, {
1087
1087
  key: 1,
1088
1088
  width: "100%",
1089
1089
  height: "100%"
1090
- })) : (a(), u(y, {
1090
+ })) : (a(), d(y, {
1091
1091
  key: 0,
1092
1092
  width: "100%",
1093
1093
  height: "100%"
@@ -1095,20 +1095,20 @@ var _t = l({
1095
1095
  _: 1
1096
1096
  }, 8, ["active"])), [[
1097
1097
  j,
1098
- { value: f(U) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
1098
+ { value: p(U) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
1099
1099
  void 0,
1100
1100
  { bottom: !0 }
1101
- ]]) : d("", !0),
1102
- !f(Z) && f($) ? (a(), u(C, {
1101
+ ]]) : f("", !0),
1102
+ !p(Z) && p(Q) ? (a(), d(C, {
1103
1103
  key: 5,
1104
1104
  layout: "vertical"
1105
- })) : d("", !0),
1106
- !f(Z) && f($) ? x((a(), u(r, {
1105
+ })) : f("", !0),
1106
+ !p(Z) && p(Q) ? x((a(), d(r, {
1107
1107
  key: 6,
1108
- disabled: f(H),
1109
- onClick: n[6] ||= (e) => Mt("removeView")
1108
+ disabled: p(H),
1109
+ onClick: n[6] ||= (e) => Nt("removeView")
1110
1110
  }, {
1111
- icon: m(() => [T(w, {
1111
+ icon: h(() => [T(w, {
1112
1112
  width: "100%",
1113
1113
  height: "100%"
1114
1114
  })]),
@@ -1118,13 +1118,13 @@ var _t = l({
1118
1118
  { value: t.$t("components.form.tooltip.delete") },
1119
1119
  void 0,
1120
1120
  { bottom: !0 }
1121
- ]]) : d("", !0),
1122
- !f(B) && !f(V) && f($) ? x((a(), u(r, {
1121
+ ]]) : f("", !0),
1122
+ !p(B) && !p(V) && p(Q) ? x((a(), d(r, {
1123
1123
  key: 7,
1124
- disabled: f(H),
1124
+ disabled: p(H),
1125
1125
  onClick: n[7] ||= (e) => B.value = !0
1126
1126
  }, {
1127
- icon: m(() => [T(E, {
1127
+ icon: h(() => [T(E, {
1128
1128
  width: "100%",
1129
1129
  height: "100%"
1130
1130
  })]),
@@ -1134,14 +1134,14 @@ var _t = l({
1134
1134
  { value: t.$t("components.form.tooltip.edit") },
1135
1135
  void 0,
1136
1136
  { bottom: !0 }
1137
- ]]) : d("", !0),
1138
- !f(B) && !f(V) ? x((a(), u(r, {
1137
+ ]]) : f("", !0),
1138
+ !p(B) && !p(V) ? x((a(), d(r, {
1139
1139
  key: 8,
1140
- disabled: f(H),
1141
- onClick: f(Qe)?.toggleMenu
1140
+ disabled: p(H),
1141
+ onClick: p(Qe)?.toggleMenu
1142
1142
  }, {
1143
- icon: m(() => [T(te, {
1144
- class: c(["transform transition-transform duration-300", { "rotate-45": f(Qe)?.isOpen }]),
1143
+ icon: h(() => [T(te, {
1144
+ class: c(["transform transition-transform duration-300", { "rotate-45": p(Qe)?.isOpen }]),
1145
1145
  width: "100%",
1146
1146
  height: "100%"
1147
1147
  }, null, 8, ["class"])]),
@@ -1151,58 +1151,58 @@ var _t = l({
1151
1151
  { value: t.$t("components.form.tooltip.new") },
1152
1152
  void 0,
1153
1153
  { bottom: !0 }
1154
- ]]) : d("", !0),
1155
- f(B) || f(V) ? (a(), u(r, {
1154
+ ]]) : f("", !0),
1155
+ p(B) || p(V) ? (a(), d(r, {
1156
1156
  key: 9,
1157
1157
  label: t.$t("components.form.button.cancel"),
1158
- onClick: n[8] ||= (e) => f(B) ? B.value = !1 : V.value = !1
1159
- }, null, 8, ["label"])) : d("", !0),
1160
- f(B) || f(V) ? (a(), u(r, {
1158
+ onClick: n[8] ||= (e) => p(B) ? B.value = !1 : V.value = !1
1159
+ }, null, 8, ["label"])) : f("", !0),
1160
+ p(B) || p(V) ? (a(), d(r, {
1161
1161
  key: 10,
1162
1162
  label: t.$t("components.form.button.save"),
1163
- disabled: f(Y).every((e) => e.lastDroppedCamera === void 0),
1163
+ disabled: p(Y).every((e) => e.lastDroppedCamera === void 0),
1164
1164
  primary: "",
1165
- onClick: Ft
1166
- }, null, 8, ["label", "disabled"])) : d("", !0)
1165
+ onClick: It
1166
+ }, null, 8, ["label", "disabled"])) : f("", !0)
1167
1167
  ]),
1168
1168
  _: 1
1169
1169
  }, 8, ["left-offset"]),
1170
1170
  b("div", {
1171
1171
  class: c(["w-full h-full flex relative", {
1172
- "flex-row": f(O),
1173
- "flex-col": !f(O)
1172
+ "flex-row": p(O),
1173
+ "flex-col": !p(O)
1174
1174
  }]),
1175
- style: _({ paddingTop: `${f(55)}px` })
1175
+ style: v({ paddingTop: `${p(55)}px` })
1176
1176
  }, [b("div", {
1177
1177
  class: c(["flex relative z-1 camview-content-transition", {
1178
- "h-full items-center justify-center": f(O) || !f(L)?.result.length,
1179
- "w-full items-start justify-start": !f(O) && f(L)?.result.length
1178
+ "h-full items-center justify-center": p(O) || !p(L)?.result.length,
1179
+ "w-full items-start justify-start": !p(O) && p(L)?.result.length
1180
1180
  }]),
1181
- style: _(f(bt))
1182
- }, [f(X) ? (a(), g("div", nn, [(a(), u(ie, {
1181
+ style: v(p(St))
1182
+ }, [p(pt) ? (a(), _("div", nn, [(a(), d(ae, {
1183
1183
  key: 0,
1184
1184
  class: "w-[30px] h-[30px] m-0",
1185
1185
  "stroke-width": "5"
1186
- }))])) : !f($) && !f(V) ? (a(), g("div", rn, [b("div", an, [T(ue, { class: "w-12 h-12 text-muted" }), b("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : f($) || f(V) ? (a(), g("div", {
1186
+ }))])) : !p(Q) && !p(V) ? (a(), _("div", rn, [b("div", an, [T(ue, { class: "w-12 h-12 text-muted" }), b("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : p(Q) || p(V) ? (a(), _("div", {
1187
1187
  key: 2,
1188
- class: c(["w-full h-full", { "p-2 pb-0": !f(D) }])
1189
- }, [(a(), u(je, {
1188
+ class: c(["w-full h-full", { "p-2 pb-0": !p(D) }])
1189
+ }, [(a(), d(je, {
1190
1190
  ref_key: "viewDndRef",
1191
1191
  ref: R,
1192
- key: f(N).camview.viewid + (f(V) ? "-new" : f(B) ? "-edit" : "-view"),
1193
- cameras: f(F)?.result || [],
1194
- "edit-mode": f(V) || f(B),
1195
- "rearrange-mode": f(H),
1196
- "view-size": f(V) ? f(z).viewSize : f(kt),
1197
- title: f(z).name,
1198
- cards: f(Y),
1199
- "camera-card-props": f(yt),
1200
- "camera-card-models": f(dt),
1201
- onDrop: It,
1202
- onRemove: Lt,
1203
- onChangeViewSize: n[9] ||= (e) => Mt("editView"),
1204
- onExpand: Bt,
1205
- onRearrange: zt
1192
+ key: p(M).camview.viewid + (p(V) ? "-new" : p(B) ? "-edit" : "-view"),
1193
+ cameras: p(P)?.result || [],
1194
+ "edit-mode": p(V) || p(B),
1195
+ "rearrange-mode": p(H),
1196
+ "view-size": p(V) ? p(z).viewSize : p(At),
1197
+ title: p(z).name,
1198
+ cards: p(Y),
1199
+ "camera-card-props": p(bt),
1200
+ "camera-card-models": p(dt),
1201
+ onDrop: Lt,
1202
+ onRemove: Rt,
1203
+ onChangeViewSize: n[9] ||= (e) => Nt("editView"),
1204
+ onExpand: Vt,
1205
+ onRearrange: Bt
1206
1206
  }, null, 8, [
1207
1207
  "cameras",
1208
1208
  "edit-mode",
@@ -1212,37 +1212,37 @@ var _t = l({
1212
1212
  "cards",
1213
1213
  "camera-card-props",
1214
1214
  "camera-card-models"
1215
- ]))], 2)) : d("", !0)], 6), T(e, {
1216
- name: f(O) ? "slide-left" : "slide-up",
1215
+ ]))], 2)) : f("", !0)], 6), T(e, {
1216
+ name: p(O) ? "slide-left" : "slide-up",
1217
1217
  onBeforeEnter: n[10] ||= (e) => W.value = !0,
1218
1218
  onAfterEnter: n[11] ||= (e) => it.value = !1,
1219
1219
  onBeforeLeave: n[12] ||= (e) => W.value = !1
1220
1220
  }, {
1221
- default: m(() => [f(U) ? (a(), u(f(ce), {
1221
+ default: h(() => [p(U) ? (a(), d(p(ce), {
1222
1222
  key: 0,
1223
- "camera-ids": f(Tt),
1224
- "event-camera-ids": f(wt),
1225
- "camera-names": f(Et),
1226
- "initial-timestamp": f(Ot),
1227
- onEventSelect: Vt,
1228
- loading: f(it),
1229
- type: f(O) ? "vertical" : "horizontal",
1223
+ "camera-ids": p(Et),
1224
+ "event-camera-ids": p($),
1225
+ "camera-names": p(Dt),
1226
+ "initial-timestamp": p(kt),
1227
+ onEventSelect: Ht,
1228
+ loading: p(it),
1229
+ type: p(O) ? "vertical" : "horizontal",
1230
1230
  "dark-mode": "",
1231
- "md-breakpoint": f(le),
1231
+ "md-breakpoint": p(le),
1232
1232
  class: c(["shrink-0 transition-[left] duration-200", {
1233
- "h-full w-[400px] pt-2 pr-2": f(O),
1234
- "h-[200px] pt-2 px-2 pb-2 pb-safe-offset fixed right-safe-offset-0 z-10": !f(O),
1235
- "p-0! pt-2! border-color": f(D)
1233
+ "h-full w-[400px] pt-2 pr-2": p(O),
1234
+ "h-[200px] pt-2 px-2 pb-2 pb-safe-offset fixed right-safe-offset-0 z-10": !p(O),
1235
+ "p-0! pt-2! border-color": p(D)
1236
1236
  }]),
1237
1237
  "card-class": {
1238
1238
  "!shadow-xl": !0,
1239
- "!rounded-none border-l-0! border-r-0!": f(D)
1239
+ "!rounded-none border-l-0! border-r-0!": p(D)
1240
1240
  },
1241
- style: _(f(O) ? void 0 : {
1242
- left: `${f(pt)}px`,
1243
- bottom: `calc(${f(oe)}px + var(--safe-area-inset-bottom))`
1241
+ style: v(p(O) ? void 0 : {
1242
+ left: `${p(ht)}px`,
1243
+ bottom: `calc(${p(re)}px + var(--safe-area-inset-bottom))`
1244
1244
  }),
1245
- "locale-settings": f(ht)
1245
+ "locale-settings": p(gt)
1246
1246
  }, null, 8, [
1247
1247
  "camera-ids",
1248
1248
  "event-camera-ids",
@@ -1255,12 +1255,12 @@ var _t = l({
1255
1255
  "card-class",
1256
1256
  "style",
1257
1257
  "locale-settings"
1258
- ])) : d("", !0)]),
1258
+ ])) : f("", !0)]),
1259
1259
  _: 1
1260
1260
  }, 8, ["name"])], 6),
1261
- !f(Z) && f($) ? (a(), u(fe, {
1261
+ !p(Z) && p(Q) ? (a(), d(k, {
1262
1262
  key: 0,
1263
- model: f(Ct),
1263
+ model: p(Tt),
1264
1264
  direction: "up",
1265
1265
  "transition-delay": 80,
1266
1266
  "tooltip-options": {
@@ -1269,20 +1269,20 @@ var _t = l({
1269
1269
  },
1270
1270
  class: "absolute right-2 z-11 dark-mode",
1271
1271
  pt: { root: { style: "pointer-events: none" } },
1272
- style: _({
1273
- bottom: f(O) ? "0" : `calc(${f(W) ? 192 : 0}px + ${f(oe) > 0 ? "0.5rem" : "0px"})`,
1274
- right: f(O) ? `calc(${f(W) ? 400 : 0}px + 0.5rem)` : "0.5rem",
1272
+ style: v({
1273
+ bottom: p(O) ? "0" : `calc(${p(W) ? 192 : 0}px + ${p(re) > 0 ? "0.5rem" : "0px"})`,
1274
+ right: p(O) ? `calc(${p(W) ? 400 : 0}px + 0.5rem)` : "0.5rem",
1275
1275
  transition: "bottom 0.25s ease-out, right 0.25s ease-out"
1276
1276
  })
1277
1277
  }, {
1278
- button: m(({ visible: e, toggleCallback: t }) => [T(k, {
1278
+ button: h(({ visible: e, toggleCallback: t }) => [T(de, {
1279
1279
  severity: "secondary",
1280
1280
  class: c(["dark-mode opacity-40 hover:opacity-100 active:opacity-100 focus:opacity-100 transition pointer-events-auto", { "opacity-100": e }]),
1281
1281
  rounded: "",
1282
- loading: f(X),
1282
+ loading: p(X),
1283
1283
  onClick: t
1284
1284
  }, {
1285
- icon: m(() => [b("div", sn, [
1285
+ icon: h(() => [b("div", sn, [
1286
1286
  b("div", { class: c(["bg-white absolute top-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] rotate-45 top-1/2 -translate-y-1/2 rounded-none": e }]) }, null, 2),
1287
1287
  b("div", { class: c(["bg-white absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-1.5 h-1.5 rounded-full transition-all duration-100", { "opacity-0 scale-0": e }]) }, null, 2),
1288
1288
  b("div", { class: c(["bg-white absolute bottom-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] -rotate-45 bottom-1/2 translate-y-1/2 rounded-none": e }]) }, null, 2)
@@ -1293,39 +1293,39 @@ var _t = l({
1293
1293
  "loading",
1294
1294
  "onClick"
1295
1295
  ])]),
1296
- item: m(({ item: e, toggleCallback: t }) => [x((a(), u(k, s({
1297
- loading: f(X),
1296
+ item: h(({ item: e, toggleCallback: t }) => [x((a(), d(de, s({
1297
+ loading: p(X),
1298
1298
  severity: "secondary"
1299
1299
  }, e.buttonProps, {
1300
1300
  rounded: "",
1301
1301
  onClick: t
1302
1302
  }), {
1303
- icon: m(() => [(a(), u(ee(e.icon)))]),
1303
+ icon: h(() => [(a(), d(l(e.icon)))]),
1304
1304
  _: 2
1305
1305
  }, 1040, ["loading", "onClick"])), [[j, { value: e.label }]])]),
1306
1306
  _: 1
1307
- }, 8, ["model", "style"])) : d("", !0),
1307
+ }, 8, ["model", "style"])) : f("", !0),
1308
1308
  T(A, {
1309
1309
  ref_key: "menuRef",
1310
1310
  ref: Xe,
1311
- items: f(At),
1311
+ items: p(jt),
1312
1312
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1313
1313
  }, null, 8, ["items"]),
1314
1314
  T(A, {
1315
1315
  ref_key: "cardFitMenuRef",
1316
1316
  ref: $e,
1317
- items: f(vt),
1317
+ items: p(yt),
1318
1318
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1319
1319
  }, null, 8, ["items"]),
1320
1320
  T(A, {
1321
1321
  ref_key: "newViewMenuRef",
1322
1322
  ref: Qe,
1323
- items: f(jt),
1323
+ items: p(Mt),
1324
1324
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1325
1325
  }, null, 8, ["items"])
1326
1326
  ]);
1327
1327
  };
1328
1328
  }
1329
- }), [["__scopeId", "data-v-1f0bed85"]]);
1329
+ }), [["__scopeId", "data-v-6918f9d7"]]);
1330
1330
  //#endregion
1331
1331
  export { cn as default };