@camera.ui/server 2.2.5 → 2.2.6

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 (379) hide show
  1. package/dist/interface/assets/{404-CiOxoqnT.js → 404-BLVuKvLk.js} +1 -1
  2. package/dist/interface/assets/{About-DWOlfWEm.js → About-C-AJ0jfI.js} +1 -1
  3. package/dist/interface/assets/Assistant-BJKGIvVo.js +1 -0
  4. package/dist/interface/assets/{Assistant-CXx7EY1W.css → Assistant-BQ6Ld-bt.css} +1 -1
  5. package/dist/interface/assets/{Automation-BJgwUkUB.js → Automation-C95DzuZb.js} +3 -3
  6. package/dist/interface/assets/{AutomationImport-9GRAndAt.js → AutomationImport-C8VYjDzf.js} +2 -2
  7. package/dist/interface/assets/{AutomationStore-D_HR2Xby.js → AutomationStore-CE4PKRGd.js} +2 -2
  8. package/dist/interface/assets/{AutomationStoreDetail-B9MxV2py.js → AutomationStoreDetail-DavWfjLv.js} +2 -2
  9. package/dist/interface/assets/Automations-BOP_17Ri.js +2 -0
  10. package/dist/interface/assets/Camera-BW9ikKqh.css +1 -0
  11. package/dist/interface/assets/Camera-C5S7eI9a.js +2 -0
  12. package/dist/interface/assets/{CameraConsole-BKPTLSTO.js → CameraConsole-C4AmtcrM.js} +1 -1
  13. package/dist/interface/assets/{Cameras-DcrVCgLy.js → Cameras-DR577Bno.js} +2 -2
  14. package/dist/interface/assets/{Camview-DasO326h.css → Camview-Bri_T7Tq.css} +1 -1
  15. package/dist/interface/assets/Camview-CHxKB41T.js +1 -0
  16. package/dist/interface/assets/{Config-BmEL5EaW.js → Config-BrDDGWpr.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionAssistant-DM4tIhoa.js → ConfigActionAssistant-YtCVI8LZ.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionCameraControl-Deo0eDPS.js → ConfigActionCameraControl-Dg_1zOYt.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionHttp-BxJmoshF.js → ConfigActionHttp-BzwLv2tn.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionImageInput-KrzXFQDm.js → ConfigActionImageInput-CLdY2sV4.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionMqtt-BoYBomRC.js → ConfigActionMqtt-lGqYshl3.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionNotification-CSAOijDt.js → ConfigActionNotification-D5Dj3EoU.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionNotificationControl-BOdyKiOs.js → ConfigActionNotificationControl-Dy5fKamr.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionOutput-CwsPcnd_.js → ConfigActionOutput-DzsQ31L0.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionPlugin-D3wyULpp.js → ConfigActionPlugin-BFrBcXvL.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionSensor-BmeaIxYY.js → ConfigActionSensor-CX8ePlan.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionSnapshot-DbyFKcYr.js → ConfigActionSnapshot-BATLRmh6.js} +1 -1
  28. package/dist/interface/assets/{ConfigActionVariable-cThGJ1Pc.js → ConfigActionVariable-Dgn5jvaR.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionIfElse-BugkJeXR.js → ConfigConditionIfElse-D5IIBjyk.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionSensorState-Bf-mMf4E.js → ConfigConditionSensorState-C0JxBWdG.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionSwitch-DcpFoYET.js → ConfigConditionSwitch-Brlgd0XP.js} +1 -1
  32. package/dist/interface/assets/{ConfigSensorValueInput-CgAI34__.js → ConfigSensorValueInput-CtuH8dCa.js} +1 -1
  33. package/dist/interface/assets/{ConfigTriggerDetection-BWK6gfwM.js → ConfigTriggerDetection-DsL7lLQl.js} +1 -1
  34. package/dist/interface/assets/{ConfigTriggerGeofence-Cm3CU7Tl.js → ConfigTriggerGeofence-CAGIk1_W.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerMqtt-BMFjTAso.js → ConfigTriggerMqtt-B_iFalAQ.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerSensor-DOdJkZRo.js → ConfigTriggerSensor-hYNbLXUu.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSystem-BFDIbZsE.js → ConfigTriggerSystem-DR1EFpE9.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerWebhook-DDoUEVHb.js → ConfigTriggerWebhook-C-B5GGFH.js} +1 -1
  39. package/dist/interface/assets/{Console-BIj7cIqO.js → Console-cIr6lYux.js} +1 -1
  40. package/dist/interface/assets/CuiAssistantConversation-Bigl43Ph.js +5 -0
  41. package/dist/interface/assets/CuiAssistantConversation-BmshW6Vc.css +1 -0
  42. package/dist/interface/assets/{CuiAutomationRunsDialog-DMUfNcsf.js → CuiAutomationRunsDialog-Ci7SWAml.js} +1 -1
  43. package/dist/interface/assets/{CuiBottomSheet-FwsPnJ3n.js → CuiBottomSheet-C2sM2E3M.js} +1 -1
  44. package/dist/interface/assets/CuiBottomSheet-ViBOgklN.js +1 -0
  45. package/dist/interface/assets/CuiCameraPipCard-wdK7xir-.js +1 -0
  46. package/dist/interface/assets/{CuiCameraRecordings-BeciatDY.js → CuiCameraRecordings-BB7bF67B.js} +1 -1
  47. package/dist/interface/assets/{CuiCameraShares-CSFwIYsg.js → CuiCameraShares-B6jdUBVm.js} +1 -1
  48. package/dist/interface/assets/CuiCameraTable-CHnQFkce.js +1 -0
  49. package/dist/interface/assets/{CuiCameraTable-DBRfGX3I.js → CuiCameraTable-CpBo25Qc.js} +1 -1
  50. package/dist/interface/assets/{CuiChartTable-CtasoxMM.js → CuiChartTable-dIcxGtfl.js} +1 -1
  51. package/dist/interface/assets/{CuiConsole-DQbAafiz.js → CuiConsole-BGptpT6r.js} +1 -1
  52. package/dist/interface/assets/{CuiDataTable-JlD7Agky.js → CuiDataTable-CQmp5mAy.js} +1 -1
  53. package/dist/interface/assets/CuiLightControl-wbZi3fA1.js +1 -0
  54. package/dist/interface/assets/CuiPluginCard-BjIc7It9.js +2 -0
  55. package/dist/interface/assets/{CuiPluginCategoryChip-B2bR5LQa.js → CuiPluginCategoryChip-BtJ_6_gN.js} +1 -1
  56. package/dist/interface/assets/{CuiPluginOAuthButton-DfEjfcY-.js → CuiPluginOAuthButton-Duf35I8K.js} +2 -2
  57. package/dist/interface/assets/{CuiPluginTrustBadge-C6CW6Soh.js → CuiPluginTrustBadge-jxXeRTH2.js} +1 -1
  58. package/dist/interface/assets/{CuiQRCode-DGKBhDib.js → CuiQRCode-BNchrpoB.js} +1 -1
  59. package/dist/interface/assets/{CuiSchema-pAAVh28m.js → CuiSchema-DGTMkVSe.js} +1 -1
  60. package/dist/interface/assets/{CuiTopNavbarItem-ve-3Dsc3.js → CuiTopNavbarItem-CHtLvn53.js} +1 -1
  61. package/dist/interface/assets/Faces-p18jNfXl.js +1 -0
  62. package/dist/interface/assets/FirstSteps-HzaBMDbH.js +1 -0
  63. package/dist/interface/assets/Floorplan-DYyEx7WO.js +1 -0
  64. package/dist/interface/assets/Instances-Dl-6rL5O.js +1 -0
  65. package/dist/interface/assets/{Logs-BhRactvQ.js → Logs-DsJkuQFq.js} +2 -2
  66. package/dist/interface/assets/{Menu-DMCmUVDs.js → Menu-D_woMkjL.js} +1 -1
  67. package/dist/interface/assets/Metrics-l3UwykCM.js +12 -0
  68. package/dist/interface/assets/{OAuthDeviceFlow-BMEwVkIa.js → OAuthDeviceFlow-CXfILAE1.js} +1 -1
  69. package/dist/interface/assets/Plugin-Ldj3HygQ.js +1 -0
  70. package/dist/interface/assets/{PluginConsole-C4Ba_U_1.js → PluginConsole-C96m5zKy.js} +1 -1
  71. package/dist/interface/assets/{PluginDetail-13OWIzdd.js → PluginDetail-CnfaI1vh.js} +2 -2
  72. package/dist/interface/assets/{PluginSchema-DN0cSU8s.js → PluginSchema-u1bqXU29.js} +1 -1
  73. package/dist/interface/assets/{PluginSearch-sPkO8aH3.js → PluginSearch-BiXG3Xk2.js} +2 -2
  74. package/dist/interface/assets/PluginSearch-BuE7we1T.js +1 -0
  75. package/dist/interface/assets/{PluginUpdateProgress-CeWuRp3Z.js → PluginUpdateProgress-BT4lN9HT.js} +1 -1
  76. package/dist/interface/assets/{Plugins-C8yjhxnQ.js → Plugins-Csx6AXaW.js} +1 -1
  77. package/dist/interface/assets/Recordings-BEKAn6QK.css +1 -0
  78. package/dist/interface/assets/Recordings-D0KTY5cI.js +1 -0
  79. package/dist/interface/assets/{SensorEdit-C-yJdJuP.js → SensorEdit-zs-f_o1N.js} +1 -1
  80. package/dist/interface/assets/{SensorHistory-ClAcOgHj.js → SensorHistory-Cet35_RO.js} +1 -1
  81. package/dist/interface/assets/Sensors-BLAoalEt.js +2 -0
  82. package/dist/interface/assets/Settings-C-LCDIbK.js +1 -0
  83. package/dist/interface/assets/SettingsAccount-BsN7jGmo.js +1 -0
  84. package/dist/interface/assets/SettingsAccount-DuVyCSE-.js +1 -0
  85. package/dist/interface/assets/{SettingsAppearance-CJt4xJEW.js → SettingsAppearance-BS4EQNjH.js} +1 -1
  86. package/dist/interface/assets/SettingsAppearance-DQcGbYbV.js +1 -0
  87. package/dist/interface/assets/SettingsAssistant-B0PF3Rdg.css +1 -0
  88. package/dist/interface/assets/SettingsAssistant-DViJklFd.js +1 -0
  89. package/dist/interface/assets/{SettingsBackup-DIJmci05.js → SettingsBackup-DBlV1gej.js} +1 -1
  90. package/dist/interface/assets/{SettingsList-Cb_dLy5T.js → SettingsList-D8eSwbBY.js} +1 -1
  91. package/dist/interface/assets/{SettingsMqtt-LIuCRPT5.js → SettingsMqtt-JoszJJgV.js} +1 -1
  92. package/dist/interface/assets/{SettingsNotifications-CZxqqH_8.js → SettingsNotifications-3veSrxa_.js} +1 -1
  93. package/dist/interface/assets/{SettingsRecordings-BEpwMh-y.js → SettingsRecordings-CLz9Zp47.js} +1 -1
  94. package/dist/interface/assets/{SettingsRemote-DRt-N_yA.js → SettingsRemote-DUyl8k7I.js} +2 -2
  95. package/dist/interface/assets/{SettingsSystem-Cncdpx8T.js → SettingsSystem-txTFGomQ.js} +2 -2
  96. package/dist/interface/assets/{SettingsUsers-DZkz8WlI.js → SettingsUsers-CUp6vQPc.js} +1 -1
  97. package/dist/interface/assets/{Terminal-U4yfJN3O.js → Terminal-hln2UuSR.js} +2 -2
  98. package/dist/interface/assets/Training-D6lhvUf-.js +1 -0
  99. package/dist/interface/assets/Updates-BwSWt9w7.js +2 -0
  100. package/dist/interface/assets/{VariableInput-PVsqGYW0.js → VariableInput-183LygmK.js} +1 -1
  101. package/dist/interface/assets/{VersionsHandler-Df7dhddp.js → VersionsHandler-DkbkcypK.js} +1 -1
  102. package/dist/interface/assets/{VirtualSensorCreate-FTKANjd-.js → VirtualSensorCreate-Bn4tgdxA.js} +1 -1
  103. package/dist/interface/assets/Workers-B6b15izn.js +2 -0
  104. package/dist/interface/assets/api-C9mnOxie.js +4 -0
  105. package/dist/interface/assets/api-Cj9a6qPu.css +2 -0
  106. package/dist/interface/assets/{api-DpqXhwcx.js → api-h4HRB3ef.js} +1 -1
  107. package/dist/interface/assets/{assistant-Lz3mFLDo.js → assistant-4hYyIu6D.js} +1 -1
  108. package/dist/interface/assets/{auth-L7_5vsJs.js → auth-DFesRtwI.js} +1 -1
  109. package/dist/interface/assets/{automations-D1XFFSrm.js → automations-D2bnX8uw.js} +1 -1
  110. package/dist/interface/assets/{cameraSources-DEGJDtmK.js → cameraSources-DmVZWs4-.js} +1 -1
  111. package/dist/interface/assets/cloudHandoff-Ba98bzeq.js +1 -0
  112. package/dist/interface/assets/{config-CVqy37fG.js → config-DDaCrMSU.js} +1 -1
  113. package/dist/interface/assets/esm-Bn9gXwX4.js +1 -0
  114. package/dist/interface/assets/esm-BzM6y2-F.js +1 -0
  115. package/dist/interface/assets/esm-CP3JWrtj.js +1 -0
  116. package/dist/interface/assets/esm-CjAXkqCf.js +1 -0
  117. package/dist/interface/assets/esm-Cqxk-j1S.js +1 -0
  118. package/dist/interface/assets/esm-DFHd3JNU.js +1 -0
  119. package/dist/interface/assets/esm-DfMLJtug.js +1 -0
  120. package/dist/interface/assets/esm-DhDrpq7a.js +1 -0
  121. package/dist/interface/assets/esm-DvhM-SOd.js +1 -0
  122. package/dist/interface/assets/esm-G63bqygQ.js +1 -0
  123. package/dist/interface/assets/esm-Gn-Y59hU.js +1 -0
  124. package/dist/interface/assets/esm-KJSOz2vj.js +1 -0
  125. package/dist/interface/assets/esm-Ryfc94Tm.js +1 -0
  126. package/dist/interface/assets/esm-rSfI5Poy.js +1 -0
  127. package/dist/interface/assets/{flowSchema-CppNBDy1.js → flowSchema-YJtAu9gB.js} +1 -1
  128. package/dist/interface/assets/main-C796FmqQ.js +3 -0
  129. package/dist/interface/assets/{main-Bo0Lb1y2.css → main-DVa5U7UB.css} +1 -1
  130. package/dist/interface/assets/{mqtt-BENV9Fx4.js → mqtt-DGBPptzB.js} +1 -1
  131. package/dist/interface/assets/native-CZJE8bTs.js +1 -0
  132. package/dist/interface/assets/native-DKZwialB.js +1 -0
  133. package/dist/interface/assets/{notifications-By40oPng.js → notifications-5yeK345h.js} +1 -1
  134. package/dist/interface/assets/plugin-DSEMkqaK.js +1 -0
  135. package/dist/interface/assets/{plugins-09rEDbMz.js → plugins-BTOdE_zv.js} +1 -1
  136. package/dist/interface/assets/{rooms-LBxn-Uuu.js → rooms-BCdm6IAx.js} +1 -1
  137. package/dist/interface/assets/{sensorIcons-Csu5s0uk.js → sensorIcons-5Ynqwo3e.js} +1 -1
  138. package/dist/interface/assets/{sensorSlots-CtbKmsGG.js → sensorSlots-BF70tpV7.js} +1 -1
  139. package/dist/interface/assets/{sensors-CbzNs18A.js → sensors-CeFEEz8r.js} +1 -1
  140. package/dist/interface/assets/{server-Btp5KILd.js → server-bhW2Mw4D.js} +1 -1
  141. package/dist/interface/assets/{theme-GhzGwpqd.js → theme-DF_XA58O.js} +1 -1
  142. package/dist/interface/assets/{types-D8QWPhe-.js → types-ArGM5-5O.js} +1 -1
  143. package/dist/interface/assets/{types-BAwhu9iv.js → types-BcAxmlqC.js} +1 -1
  144. package/dist/interface/assets/{ungrouped-BMk56E3L.js → ungrouped-CkIlDUwl.js} +1 -1
  145. package/dist/interface/assets/{updates-CGo0T4sn.js → updates-D3x_kPMM.js} +1 -1
  146. package/dist/interface/assets/{useAppVersion-CJlexqyz.js → useAppVersion-Dcvu95bZ.js} +1 -1
  147. package/dist/interface/assets/{useBackupRestore-_s8vS5WF.js → useBackupRestore-xp5KhKVn.js} +1 -1
  148. package/dist/interface/assets/{useCameraOptions-CFISVNgk.js → useCameraOptions-8I4MTDgj.js} +1 -1
  149. package/dist/interface/assets/useKeyboardInset-C0Lp0UcX.js +1 -0
  150. package/dist/interface/assets/{useLogsSocket-D-ndWAg0.js → useLogsSocket-bpOiLgWT.js} +1 -1
  151. package/dist/interface/assets/{useNavLayout-CG0X_3kt.js → useNavLayout-Cjf6Da2u.js} +1 -1
  152. package/dist/interface/assets/{usePluginUpdates-nW_dt66E.js → usePluginUpdates-bOMj-IvL.js} +1 -1
  153. package/dist/interface/assets/{usePushRegistration-DCqOAxR4.js → usePushRegistration-HOvLuUVP.js} +2 -2
  154. package/dist/interface/assets/{useServerRestart-CxJGxAcU.js → useServerRestart-CQN4cdHJ.js} +1 -1
  155. package/dist/interface/assets/{useStreamStatus-CXb1HbAq.js → useStreamStatus-Da7c2Wme.js} +1 -1
  156. package/dist/interface/assets/{useTabSwipe-DHb8__wU.js → useTabSwipe-fFuyJJBQ.js} +1 -1
  157. package/dist/interface/assets/{useUpdateChannel-BR4PMh1R.js → useUpdateChannel-Ca1RX32u.js} +1 -1
  158. package/dist/interface/assets/{useUpdatesSocket-DKDRZhvc.js → useUpdatesSocket-DHZNpLQX.js} +1 -1
  159. package/dist/interface/assets/{useUserOptions-lyc4WJ4L.js → useUserOptions-BQdOB-Dp.js} +1 -1
  160. package/dist/interface/assets/{vendor-capacitor-f9ShAzys.js → vendor-capacitor-Bs_WzL0Q.js} +2 -2
  161. package/dist/interface/assets/web-BDNQnMmA.js +1 -0
  162. package/dist/interface/assets/web-BhJykCtq.js +1 -0
  163. package/dist/interface/assets/web-BjKL51lK-wWFeZlLg.js +1 -0
  164. package/dist/interface/assets/web-C7nJwIOa.js +1 -0
  165. package/dist/interface/assets/web-CGJsJQDb.js +1 -0
  166. package/dist/interface/assets/web-CJwASxrl.js +1 -0
  167. package/dist/interface/assets/web-CLe0L31Y.js +1 -0
  168. package/dist/interface/assets/web-DEv1hAn1.js +1 -0
  169. package/dist/interface/assets/web-DaeQvsXT.js +1 -0
  170. package/dist/interface/assets/web-H3-wNunW.js +1 -0
  171. package/dist/interface/assets/web-LCdyqJq1.js +1 -0
  172. package/dist/interface/assets/web-XZWYTK65.js +1 -0
  173. package/dist/interface/assets/web-rU5hlxxW.js +1 -0
  174. package/dist/interface/ha/{404-B2T8Gktj.js → 404-C0mWQGWl.js} +1 -1
  175. package/dist/interface/ha/{About-CrTKzU9_.js → About-ByE7XErJ.js} +3 -3
  176. package/dist/interface/ha/{Assistant-BDHJmYx_.js → Assistant-Z3FTR868.js} +2264 -2133
  177. package/dist/interface/ha/{Automation-Czo5EsAg.js → Automation-COQqTFNw.js} +170 -170
  178. package/dist/interface/ha/{AutomationImport-CuFAQbiX.js → AutomationImport-ueWqMBX9.js} +6 -6
  179. package/dist/interface/ha/{AutomationStore-D-6x0JIt.js → AutomationStore-DBO4aZqy.js} +73 -73
  180. package/dist/interface/ha/{AutomationStoreDetail-Dad4q1MN.js → AutomationStoreDetail-DMnYu7hf.js} +6 -6
  181. package/dist/interface/ha/{Automations-C-oGM5SR.js → Automations-CMdbidc0.js} +70 -70
  182. package/dist/interface/ha/Camera-C28q_3pu.js +657 -0
  183. package/dist/interface/ha/{CameraConsole-hRGwbjsD.js → CameraConsole-oMNZfKE6.js} +3 -3
  184. package/dist/interface/ha/{Cameras-Bk5TFXA8.js → Cameras-CsqrLx97.js} +182 -182
  185. package/dist/interface/ha/{Camview-CsKKqxxY.js → Camview-Br0LUakz.js} +542 -542
  186. package/dist/interface/ha/{Config-Vl4-K3A_.js → Config-Y5eUNSW7.js} +110 -110
  187. package/dist/interface/ha/{ConfigActionAssistant-OWUX8glZ.js → ConfigActionAssistant-hl-6ZACj.js} +4 -4
  188. package/dist/interface/ha/{ConfigActionCameraControl-DEaOot8w.js → ConfigActionCameraControl-DnXlVFWD.js} +3 -3
  189. package/dist/interface/ha/{ConfigActionHttp-CSr2BpKL.js → ConfigActionHttp-BkpkMmRd.js} +2 -2
  190. package/dist/interface/ha/{ConfigActionImageInput--O8Tyca-.js → ConfigActionImageInput-Dp78_QS_.js} +1 -1
  191. package/dist/interface/ha/{ConfigActionMqtt-DQJ4-gs2.js → ConfigActionMqtt-DA_UWb5j.js} +4 -4
  192. package/dist/interface/ha/{ConfigActionNotification-wR8CCA_T.js → ConfigActionNotification-CQ4Ses3a.js} +3 -3
  193. package/dist/interface/ha/{ConfigActionNotificationControl-DNMrHwPz.js → ConfigActionNotificationControl-Cb5PNGz-.js} +2 -2
  194. package/dist/interface/ha/{ConfigActionOutput-C-LVFxFP.js → ConfigActionOutput-DLuNHwRb.js} +1 -1
  195. package/dist/interface/ha/{ConfigActionPlugin-BCREAkNo.js → ConfigActionPlugin-ChKFCNaj.js} +4 -4
  196. package/dist/interface/ha/{ConfigActionSensor-D48CQ6qR.js → ConfigActionSensor-DOutFalW.js} +5 -5
  197. package/dist/interface/ha/{ConfigActionSnapshot-DpDy88Mg.js → ConfigActionSnapshot-GWgY6YIN.js} +2 -2
  198. package/dist/interface/ha/{ConfigActionVariable-D9BxmwvB.js → ConfigActionVariable-bu-9VYTG.js} +1 -1
  199. package/dist/interface/ha/{ConfigConditionIfElse-CW42tQFY.js → ConfigConditionIfElse-iNp8tlZV.js} +3 -3
  200. package/dist/interface/ha/{ConfigConditionSensorState-BZpij7kB.js → ConfigConditionSensorState-Dn7kcHpJ.js} +4 -4
  201. package/dist/interface/ha/{ConfigConditionSwitch-DlTuJ9Sf.js → ConfigConditionSwitch-DaUlDgo0.js} +4 -4
  202. package/dist/interface/ha/{ConfigSensorValueInput-2QLHESlE.js → ConfigSensorValueInput-D6m6suqJ.js} +7 -7
  203. package/dist/interface/ha/{ConfigTriggerDetection-DPmUkmUJ.js → ConfigTriggerDetection-C5B_DC_L.js} +11 -11
  204. package/dist/interface/ha/{ConfigTriggerGeofence--T9OXhGl.js → ConfigTriggerGeofence-B4WVNcK5.js} +5 -5
  205. package/dist/interface/ha/{ConfigTriggerMqtt-fZn_X6yY.js → ConfigTriggerMqtt-wnMfk_Un.js} +1 -1
  206. package/dist/interface/ha/{ConfigTriggerSensor-_3O6iBFX.js → ConfigTriggerSensor-xFpI5KPu.js} +1 -1
  207. package/dist/interface/ha/{ConfigTriggerSystem-CC9lqi8Q.js → ConfigTriggerSystem-YI9WYYVM.js} +2 -2
  208. package/dist/interface/ha/{ConfigTriggerWebhook-BuBcgXqf.js → ConfigTriggerWebhook-58c2KgUe.js} +2 -2
  209. package/dist/interface/ha/{Console-DNc49UEt.js → Console-Coiqh32K.js} +4 -4
  210. package/dist/interface/ha/{CuiAutomationRunsDialog-Dj_iiZht.js → CuiAutomationRunsDialog-CJ2MGfEY.js} +2 -2
  211. package/dist/interface/ha/{CuiBottomSheet-DG7wOV7m.js → CuiBottomSheet-BlG9Pl9j.js} +1 -1
  212. package/dist/interface/ha/{CuiCameraRecordings-BlOZTfQ4.js → CuiCameraRecordings-DLXEB4Q7.js} +12 -12
  213. package/dist/interface/ha/{CuiCameraShares-BOn-mobi.js → CuiCameraShares-BCIeaM6u.js} +6 -6
  214. package/dist/interface/ha/{CuiCameraTable-D50FLiK8.js → CuiCameraTable-PYYC7sOu.js} +2 -2
  215. package/dist/interface/ha/{CuiChartTable-CfcVRvdZ.js → CuiChartTable-FQ2iR5Hd.js} +4 -4
  216. package/dist/interface/ha/{CuiConsole-UpN0Wihm.js → CuiConsole-C77k5q_-.js} +1 -1
  217. package/dist/interface/ha/{CuiDataTable-CpADXKNF.js → CuiDataTable-CIKQLseG.js} +2 -2
  218. package/dist/interface/ha/{CuiPluginCard-CT6ZfL9o.js → CuiPluginCard-DZNXKP_P.js} +42 -42
  219. package/dist/interface/ha/{CuiPluginOAuthButton-BJVKd6Ac.js → CuiPluginOAuthButton-DVf52_Zc.js} +2 -2
  220. package/dist/interface/ha/{CuiPluginTrustBadge-gb9GI24w.js → CuiPluginTrustBadge-CPljYiM8.js} +1 -1
  221. package/dist/interface/ha/{CuiQRCode-DqKDx9zR.js → CuiQRCode-oe8PLnLj.js} +2 -2
  222. package/dist/interface/ha/{CuiSchema-CHeJkx0k.js → CuiSchema-CQy94ZTs.js} +152 -152
  223. package/dist/interface/ha/{CuiTopNavbarItem-CFeI6ZYU.js → CuiTopNavbarItem-D6OHZLQY.js} +1 -1
  224. package/dist/interface/ha/{Faces-CTfvhhCj.js → Faces-DxAPvemO.js} +15 -15
  225. package/dist/interface/ha/{FirstSteps-C-WXJ8IL.js → FirstSteps-ZINTSaeL.js} +30 -30
  226. package/dist/interface/ha/{Floorplan-CDKTYN7B.js → Floorplan-DkbL8ppT.js} +155 -155
  227. package/dist/interface/ha/{Instances-n23yvN3L.js → Instances-totWtqd7.js} +13 -13
  228. package/dist/interface/ha/{Logs-Dfm0BWOQ.js → Logs-CzabIFja.js} +12 -12
  229. package/dist/interface/ha/{Menu-76kvdAEF.js → Menu-DcVBOQfw.js} +15 -15
  230. package/dist/interface/ha/{Metrics-lnivlTWm.js → Metrics-B_SN5hbp.js} +407 -407
  231. package/dist/interface/ha/{OAuthDeviceFlow-4ChaymHu.js → OAuthDeviceFlow-B28TPsTQ.js} +2 -2
  232. package/dist/interface/ha/{Plugin-BV8YA8aN.js → Plugin-B2PbbB8d.js} +208 -208
  233. package/dist/interface/ha/{PluginConsole-csf1Km7f.js → PluginConsole-_KeG4FvO.js} +4 -4
  234. package/dist/interface/ha/{PluginDetail-DTff6cbA.js → PluginDetail-GK_Fx14e.js} +7 -7
  235. package/dist/interface/ha/{PluginSearch-CdjxmFPN.js → PluginSearch-qSy4aqAW.js} +96 -96
  236. package/dist/interface/ha/{PluginUpdateProgress-ClyF4pbA.js → PluginUpdateProgress-C4Q2j6VO.js} +3 -3
  237. package/dist/interface/ha/{Plugins-_xOrqP36.js → Plugins-D0tvZHie.js} +54 -54
  238. package/dist/interface/ha/{Recordings-dTZv0pkp.js → Recordings-CpxJYaAa.js} +303 -307
  239. package/dist/interface/ha/{SensorEdit-DDRkZjmm.js → SensorEdit-8KtqLXEu.js} +377 -377
  240. package/dist/interface/ha/{SensorHistory-DSGlRITr.js → SensorHistory-CPTTsdjM.js} +2 -2
  241. package/dist/interface/ha/{Sensors-DjhGRUzM.js → Sensors-DJt_Hnn2.js} +102 -102
  242. package/dist/interface/ha/{Settings-DYuvz4de.js → Settings-B-OdG5pG.js} +10 -10
  243. package/dist/interface/ha/{SettingsAccount-DQAo8SnK.js → SettingsAccount-Ba2-2Lbi.js} +233 -233
  244. package/dist/interface/ha/{SettingsAppearance-_tbhpUA0.js → SettingsAppearance-D56HjSuQ.js} +7 -7
  245. package/dist/interface/ha/{SettingsAssistant-DSf-dYuD.js → SettingsAssistant-DglU0auc.js} +666 -621
  246. package/dist/interface/ha/{SettingsBackup-wLOa7xtw.js → SettingsBackup-DZx4McDz.js} +8 -8
  247. package/dist/interface/ha/{SettingsList-CYujivw5.js → SettingsList-D9nIGkbE.js} +4 -4
  248. package/dist/interface/ha/{SettingsMqtt-DbxJ-h3J.js → SettingsMqtt-BOszh--k.js} +180 -180
  249. package/dist/interface/ha/{SettingsNotifications-DO2-KJvq.js → SettingsNotifications-DBVpZfp0.js} +3 -3
  250. package/dist/interface/ha/{SettingsRecordings-C47i1UhI.js → SettingsRecordings-D3oJnizu.js} +3 -3
  251. package/dist/interface/ha/{SettingsRemote-BPvb-KLI.js → SettingsRemote-BOotvcOT.js} +54 -54
  252. package/dist/interface/ha/{SettingsSystem-BJPrv9JE.js → SettingsSystem-Bg11qoQX.js} +9 -9
  253. package/dist/interface/ha/{SettingsUsers-CcpCz6Y1.js → SettingsUsers-KpLs9Jnh.js} +25 -25
  254. package/dist/interface/ha/{Terminal-DT7-WNH1.js → Terminal-D6opTHYI.js} +168 -173
  255. package/dist/interface/ha/{Training-CqGBf8k1.js → Training-OB2KOQ7L.js} +537 -537
  256. package/dist/interface/ha/{Updates-CgdrqX6R.js → Updates-C_OvXJjd.js} +14 -14
  257. package/dist/interface/ha/{VariableInput-DOzSFgxT.js → VariableInput-CfaDp67S.js} +1 -1
  258. package/dist/interface/ha/{VersionsHandler-ItklhE2t.js → VersionsHandler-D1FVeYUZ.js} +10 -10
  259. package/dist/interface/ha/{VirtualSensorCreate-DbS3VqHC.js → VirtualSensorCreate-DJIgMVrt.js} +7 -7
  260. package/dist/interface/ha/{Workers-6PU7yUv1.js → Workers-cJMI4mYX.js} +26 -26
  261. package/dist/interface/ha/{api-anWolhVj.js → api-CDawdL4p.js} +1 -1
  262. package/dist/interface/ha/{api-Dv3Lk_g5.js → api-D2VzV4is.js} +9257 -9084
  263. package/dist/interface/ha/{assistant-B3m0Kgev.js → assistant-BmDAfChm.js} +1 -1
  264. package/dist/interface/ha/{auth-CAkpM_7A.js → auth-CvLz9C4w.js} +1 -1
  265. package/dist/interface/ha/{automationBlueprint-DwVvbKbw.js → automationBlueprint-BhNaeOZ1.js} +2 -2
  266. package/dist/interface/ha/{base-C-TYDHjS.js → base-XgWmQghV.js} +14 -3
  267. package/dist/interface/ha/cameraui-cards.js +1 -1
  268. package/dist/interface/ha/{cards-B0qagpBw.js → cards-MQrnU0T8.js} +1334 -1334
  269. package/dist/interface/ha/{config-C20itAPE.js → config-t_oAKFkJ.js} +1 -1
  270. package/dist/interface/ha/{esm-i8Tigknm.js → esm-C9XVFkXu.js} +4 -4
  271. package/dist/interface/ha/{mqtt-C6JvkA5E.js → mqtt-C20h1uze.js} +1 -1
  272. package/dist/interface/ha/{native-DBH9ocSq.js → native-BVUxNLM1.js} +4 -4
  273. package/dist/interface/ha/{notifications-gLmNZxwZ.js → notifications-Cy9DKiEn.js} +1 -1
  274. package/dist/interface/ha/{pinia-Du8AM917.js → pinia-BokSpDzj.js} +1 -0
  275. package/dist/interface/ha/{plugins-6x0kBuQb.js → plugins-jozYyBhV.js} +1 -1
  276. package/dist/interface/ha/{rooms-C-mLT6mX.js → rooms-DyfT3cXp.js} +1 -1
  277. package/dist/interface/ha/{server-DuikIt69.js → server-hCCjQjZE.js} +1 -1
  278. package/dist/interface/ha/{types-C0NcQ4Cz.js → types-RG0SckNR.js} +1 -1
  279. package/dist/interface/ha/{ungrouped-ooCH0Izh.js → ungrouped-BbyfoCQp.js} +19 -19
  280. package/dist/interface/ha/{updates-H8MlOQLC.js → updates-hUgVDgoD.js} +6 -6
  281. package/dist/interface/ha/{useAppVersion-DAUCV_cn.js → useAppVersion-wNhZDuvR.js} +1 -1
  282. package/dist/interface/ha/useKeyboardInset-Cmbvb_W3.js +27 -0
  283. package/dist/interface/ha/{useLogsSocket-BOLAXPuD.js → useLogsSocket-y9Aex3tJ.js} +1 -1
  284. package/dist/interface/ha/{useNavLayout-B7VoHzM1.js → useNavLayout-Ehb0t34k.js} +2 -2
  285. package/dist/interface/ha/{useServerRestart-qSH0bqwY.js → useServerRestart-CRSVcz3z.js} +1 -1
  286. package/dist/interface/ha/{useTabSwipe-DYzG_gVG.js → useTabSwipe-B_bseZkI.js} +1 -1
  287. package/dist/interface/ha/{useUpdateChannel-CK7JiWbG.js → useUpdateChannel-C_GU6lj6.js} +2 -2
  288. package/dist/interface/ha/{useUpdatesSocket-DrqkGMuR.js → useUpdatesSocket-CYgHb7UX.js} +1 -1
  289. package/dist/interface/ha/{useUserOptions-BteVUdaT.js → useUserOptions-pVYr-s3O.js} +1 -1
  290. package/dist/interface/ha/{web-D_q41D0i.js → web-CLbVbnCW.js} +5 -5
  291. package/dist/interface/index.html +28 -28
  292. package/dist/interface/sw.js +1 -1
  293. package/dist/server/package.json +3 -3
  294. package/dist/server/requirements.txt +1 -1
  295. package/dist/server/src/api/controllers/rooms.controller.js +3 -1
  296. package/dist/server/src/api/controllers/rooms.controller.js.map +1 -1
  297. package/dist/server/src/api/database/types.d.ts +1 -0
  298. package/dist/server/src/api/schemas/assistant.schema.d.ts +2 -0
  299. package/dist/server/src/api/schemas/assistant.schema.js +1 -0
  300. package/dist/server/src/api/schemas/assistant.schema.js.map +1 -1
  301. package/dist/server/src/api/services/cameras.service.d.ts +1 -0
  302. package/dist/server/src/api/services/cameras.service.js +8 -0
  303. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  304. package/dist/server/src/assistant/manager.d.ts +1 -0
  305. package/dist/server/src/assistant/manager.js +1 -1
  306. package/dist/server/src/assistant/manager.js.map +1 -1
  307. package/dist/server/src/assistant/scheduler.js +8 -1
  308. package/dist/server/src/assistant/scheduler.js.map +1 -1
  309. package/dist/server/src/plugins/index.js +5 -4
  310. package/dist/server/src/plugins/index.js.map +1 -1
  311. package/npm-shrinkwrap.json +6 -6
  312. package/package.json +3 -3
  313. package/dist/interface/assets/Assistant-B1xdMAkA.js +0 -1
  314. package/dist/interface/assets/Automations-Bpw8olkc.js +0 -2
  315. package/dist/interface/assets/Camera-B4ojNnKb.css +0 -1
  316. package/dist/interface/assets/Camera-BpFfZDaS.js +0 -2
  317. package/dist/interface/assets/Camview-C16pyCZk.js +0 -1
  318. package/dist/interface/assets/CuiAssistantConversation-CRNCKRHz.js +0 -5
  319. package/dist/interface/assets/CuiAssistantConversation-DQ0wOJvV.css +0 -1
  320. package/dist/interface/assets/CuiBottomSheet-CYi5c3fP.js +0 -1
  321. package/dist/interface/assets/CuiCameraPipCard-Cb_Qbly6.js +0 -1
  322. package/dist/interface/assets/CuiCameraTable-BgL5FZso.js +0 -1
  323. package/dist/interface/assets/CuiLightControl-CLYl5pfN.js +0 -1
  324. package/dist/interface/assets/CuiPluginCard-CC1oXY16.js +0 -2
  325. package/dist/interface/assets/Faces-1xd5yGuO.js +0 -1
  326. package/dist/interface/assets/FirstSteps-E9cMqa0a.js +0 -1
  327. package/dist/interface/assets/Floorplan-BovV_ATh.js +0 -1
  328. package/dist/interface/assets/Instances-BbxyB7vR.js +0 -1
  329. package/dist/interface/assets/Metrics-BgXrNl38.js +0 -12
  330. package/dist/interface/assets/Plugin-CDNywaVE.js +0 -1
  331. package/dist/interface/assets/PluginSearch-xNIlfXk4.js +0 -1
  332. package/dist/interface/assets/Recordings-BHT8Vvv_.js +0 -1
  333. package/dist/interface/assets/Recordings-DwuojaAw.css +0 -1
  334. package/dist/interface/assets/Sensors-Cza4Et2c.js +0 -2
  335. package/dist/interface/assets/Settings-Cj0leoGd.js +0 -1
  336. package/dist/interface/assets/SettingsAccount-COkcBBSz.js +0 -1
  337. package/dist/interface/assets/SettingsAccount-DjrJdssy.js +0 -1
  338. package/dist/interface/assets/SettingsAppearance-D20YW7Vq.js +0 -1
  339. package/dist/interface/assets/SettingsAssistant-CDdbbG-c.css +0 -1
  340. package/dist/interface/assets/SettingsAssistant-DKWDp1AI.js +0 -1
  341. package/dist/interface/assets/Training-DfgE_dA8.js +0 -1
  342. package/dist/interface/assets/Updates-cCvbFq3w.js +0 -2
  343. package/dist/interface/assets/Workers-Ba37_3cY.js +0 -2
  344. package/dist/interface/assets/api-C1mraOYr.js +0 -4
  345. package/dist/interface/assets/api-z8ZVnoOl.css +0 -2
  346. package/dist/interface/assets/cloudHandoff-DkUx4m3P.js +0 -1
  347. package/dist/interface/assets/esm-0kxqa_1s.js +0 -1
  348. package/dist/interface/assets/esm-4p_M5mFV.js +0 -1
  349. package/dist/interface/assets/esm-8G-vO1KQ.js +0 -1
  350. package/dist/interface/assets/esm-8cB56ICb.js +0 -1
  351. package/dist/interface/assets/esm-B92csSEb.js +0 -1
  352. package/dist/interface/assets/esm-BHiNTIiN.js +0 -1
  353. package/dist/interface/assets/esm-Bu9PMLmw.js +0 -1
  354. package/dist/interface/assets/esm-CS6Ra46d.js +0 -1
  355. package/dist/interface/assets/esm-CWvQWALL.js +0 -1
  356. package/dist/interface/assets/esm-D2UDrwmt.js +0 -1
  357. package/dist/interface/assets/esm-D8OHF2X1.js +0 -1
  358. package/dist/interface/assets/esm-DrXkS8eG.js +0 -1
  359. package/dist/interface/assets/esm-pfoHiO1a.js +0 -1
  360. package/dist/interface/assets/esm-tJSCF7Vh.js +0 -1
  361. package/dist/interface/assets/main-BK3kmiG2.js +0 -3
  362. package/dist/interface/assets/native-BEkWOGyD.js +0 -1
  363. package/dist/interface/assets/native-ugMg173F.js +0 -1
  364. package/dist/interface/assets/plugin-eafNQWg2.js +0 -1
  365. package/dist/interface/assets/useKeyboardInset-DkUn62i7.js +0 -1
  366. package/dist/interface/assets/web-3OOGlctS.js +0 -1
  367. package/dist/interface/assets/web-5NFVd9gs.js +0 -1
  368. package/dist/interface/assets/web-A4yovlXr.js +0 -1
  369. package/dist/interface/assets/web-BBC3YoWX.js +0 -1
  370. package/dist/interface/assets/web-BjKL51lK-DUIsII0n.js +0 -1
  371. package/dist/interface/assets/web-C2-YAfsx.js +0 -1
  372. package/dist/interface/assets/web-CUL_MhvM.js +0 -1
  373. package/dist/interface/assets/web-CZVCXYLV.js +0 -1
  374. package/dist/interface/assets/web-DJ-LUxlV.js +0 -1
  375. package/dist/interface/assets/web-DNsEGLGS.js +0 -1
  376. package/dist/interface/assets/web-DZsU0QT_.js +0 -1
  377. package/dist/interface/assets/web-MoyOTbiU.js +0 -1
  378. package/dist/interface/assets/web-avRH_3t7.js +0 -1
  379. package/dist/interface/ha/Camera-CerkQGbZ.js +0 -654
@@ -1,491 +1,491 @@
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";
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";
5
- import { o as Ce } from "./intercomService-B7HkLs6z.js";
6
- import { r as we } from "./pinia-Du8AM917.js";
7
- import { n as Te } from "./vue-i18n-D5EAy78K.js";
8
- import { f as Ee } from "./eventIcons-BFNUgeGr.js";
9
- import { t as De } from "./button-BouAFgf5.js";
10
- import { t as L } from "./inputtext-C_ygnPrC.js";
11
- import { t as Oe } from "./divider-DeFEXTGs.js";
12
- import { t as ke } from "./speeddial-B5p0fuqL.js";
13
- import { t as Ae } from "./delete-DWdURc9X.js";
14
- import { c as je, d as Me, u as Ne } from "./cards-B0qagpBw.js";
15
- import { t as Pe } from "./microphone-C4oQPpzp.js";
16
- import { n as Fe, t as Ie } from "./CuiTopNavbarItem-CFeI6ZYU.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 y, rt as b, u as x, ut as S, wt as C, x as w, xt as T, y as E, yt as D, z as ee } from "./runtime-core.esm-bundler-_TfE0DWz.js";
3
+ import { t as te } from "./tooltip-BDrlgLof.js";
4
+ import { An as ne, Ar as re, Cn as ie, Dn as ae, En as oe, Er as O, F as k, I as se, Jt as ce, Ot as le, P as A, Si as j, Sn as M, T as N, Tn as ue, Ut as de, Wn as fe, Wr as P, Yn as pe, _r as me, a as he, g as ge, gt as _e, jn as F, jr as I, mt as ve, qr as L, vn as ye, wr as be, yi as xe } from "./api-D2VzV4is.js";
5
+ import { o as Se } from "./intercomService-B7HkLs6z.js";
6
+ import { r as Ce } from "./pinia-BokSpDzj.js";
7
+ import { n as we } from "./vue-i18n-D5EAy78K.js";
8
+ import { f as Te } from "./eventIcons-BFNUgeGr.js";
9
+ import { t as Ee } from "./button-BouAFgf5.js";
10
+ import { t as R } from "./inputtext-C_ygnPrC.js";
11
+ import { t as De } from "./divider-DeFEXTGs.js";
12
+ import { t as Oe } from "./speeddial-B5p0fuqL.js";
13
+ import { t as ke } from "./delete-DWdURc9X.js";
14
+ import { c as Ae, d as je, u as Me } from "./cards-MQrnU0T8.js";
15
+ import { t as Ne } from "./microphone-C4oQPpzp.js";
16
+ import { n as Pe, t as Fe } from "./CuiTopNavbarItem-D6OHZLQY.js";
17
17
  //#region ~icons/mdi/pencil
18
- var Le = {
18
+ var Ie = {
19
19
  viewBox: "0 0 24 24",
20
20
  width: "1.2em",
21
21
  height: "1.2em"
22
22
  };
23
- function Re(e, t) {
24
- return a(), g("svg", Le, [...t[0] ||= [b("path", {
23
+ function Le(e, t) {
24
+ return a(), _("svg", Ie, [...t[0] ||= [x("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 Re = u({
30
30
  name: "mdi-pencil",
31
- render: Re
32
- }), Be = {
31
+ render: Le
32
+ }), ze = {
33
33
  viewBox: "0 0 24 24",
34
34
  width: "1.2em",
35
35
  height: "1.2em"
36
36
  };
37
- function Ve(e, t) {
38
- return a(), g("svg", Be, [...t[0] ||= [b("path", {
37
+ function Be(e, t) {
38
+ return a(), _("svg", ze, [...t[0] ||= [x("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 Ve = u({
44
44
  name: "mdi-arrow-expand-all",
45
- render: Ve
46
- }), Ue = {
45
+ render: Be
46
+ }), He = {
47
47
  viewBox: "0 0 24 24",
48
48
  width: "1.2em",
49
49
  height: "1.2em"
50
50
  };
51
- function We(e, t) {
52
- return a(), g("svg", Ue, [...t[0] ||= [b("path", {
51
+ function Ue(e, t) {
52
+ return a(), _("svg", He, [...t[0] ||= [x("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 We = u({
58
58
  name: "mdi-auto-fix",
59
- render: We
60
- }), Ke = {
59
+ render: Ue
60
+ }), Ge = {
61
61
  viewBox: "0 0 24 24",
62
62
  width: "1.2em",
63
63
  height: "1.2em"
64
64
  };
65
- function qe(e, t) {
66
- return a(), g("svg", Ke, [...t[0] ||= [b("path", {
65
+ function Ke(e, t) {
66
+ return a(), _("svg", Ge, [...t[0] ||= [x("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 qe = u({
74
74
  name: "mingcute-grid2-fill",
75
- render: qe
76
- }), Ye = {
75
+ render: Ke
76
+ }), Je = {
77
77
  viewBox: "0 0 24 24",
78
78
  width: "1.2em",
79
79
  height: "1.2em"
80
80
  };
81
- function Xe(e, t) {
82
- return a(), g("svg", Ye, [...t[0] ||= [b("path", {
81
+ function Ye(e, t) {
82
+ return a(), _("svg", Je, [...t[0] ||= [x("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 Xe = u({
88
88
  name: "cbi-iosfacetime",
89
- render: Xe
90
- }), Qe = {
89
+ render: Ye
90
+ }), Ze = {
91
91
  viewBox: "0 0 24 24",
92
92
  width: "1.2em",
93
93
  height: "1.2em"
94
94
  };
95
- function $e(e, t) {
96
- return a(), g("svg", Qe, [...t[0] ||= [b("path", {
95
+ function Qe(e, t) {
96
+ return a(), _("svg", Ze, [...t[0] ||= [x("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 $e = u({
102
102
  name: "fluent-pulse-24-filled",
103
- render: $e
104
- }), R = {
103
+ render: Qe
104
+ }), z = {
105
105
  viewBox: "0 0 16 16",
106
106
  width: "1.2em",
107
107
  height: "1.2em"
108
108
  };
109
- function z(e, t) {
110
- return a(), g("svg", R, [...t[0] ||= [b("path", {
109
+ function B(e, t) {
110
+ return a(), _("svg", z, [...t[0] ||= [x("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
- }, null, -1), b("path", {
113
+ }, null, -1), x("path", {
114
114
  fill: "currentColor",
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 et = u({
119
119
  name: "heroicons-speaker-wave-16-solid",
120
- render: z
121
- }), B = {
120
+ render: B
121
+ }), V = {
122
122
  viewBox: "0 0 16 16",
123
123
  width: "1.2em",
124
124
  height: "1.2em"
125
125
  };
126
- function V(e, t) {
127
- return a(), g("svg", B, [...t[0] ||= [b("path", {
126
+ function H(e, t) {
127
+ return a(), _("svg", V, [...t[0] ||= [x("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 tt = u({
133
133
  name: "heroicons-speaker-x-mark-16-solid",
134
- render: V
135
- }), H = {
134
+ render: H
135
+ }), U = {
136
136
  viewBox: "0 0 48 48",
137
137
  width: "1.2em",
138
138
  height: "1.2em"
139
139
  };
140
- function U(e, t) {
141
- return a(), g("svg", H, [...t[0] ||= [b("g", {
140
+ function W(e, t) {
141
+ return a(), _("svg", U, [...t[0] ||= [x("g", {
142
142
  fill: "none",
143
143
  stroke: "currentColor",
144
144
  "stroke-linejoin": "round",
145
145
  "stroke-width": "4"
146
- }, [b("path", {
146
+ }, [x("path", {
147
147
  fill: "currentColor",
148
148
  d: "M16.866 7.47A18 18 0 0 0 16 13c0 9.941 8.059 18 18 18a17.9 17.9 0 0 0 7.134-1.47C38.801 36.767 32.012 42 24 42c-9.941 0-18-8.059-18-18c0-7.407 4.473-13.768 10.866-16.53Z"
149
- }), b("path", {
149
+ }), x("path", {
150
150
  "stroke-linecap": "round",
151
151
  d: "M31.66 10H41l-10 8h10"
152
152
  })], -1)]]);
153
153
  }
154
- var rt = l({
154
+ var nt = u({
155
155
  name: "icon-park-solid-sleep",
156
- render: U
157
- }), W = {
156
+ render: W
157
+ }), G = {
158
158
  viewBox: "0 0 24 24",
159
159
  width: "1.2em",
160
160
  height: "1.2em"
161
161
  };
162
- function it(e, t) {
163
- return a(), g("svg", W, [...t[0] ||= [b("path", {
162
+ function rt(e, t) {
163
+ return a(), _("svg", G, [...t[0] ||= [x("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 it = u({
169
169
  name: "material-symbols-motion-photos-auto-outline-rounded",
170
- render: it
171
- }), G = {
170
+ render: rt
171
+ }), K = {
172
172
  viewBox: "0 0 24 24",
173
173
  width: "1.2em",
174
174
  height: "1.2em"
175
175
  };
176
- function K(e, t) {
177
- return a(), g("svg", G, [...t[0] ||= [b("path", {
176
+ function q(e, t) {
177
+ return a(), _("svg", K, [...t[0] ||= [x("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 at = u({
183
183
  name: "mdi-card-plus-outline",
184
- render: K
185
- }), q = {
184
+ render: q
185
+ }), J = {
186
186
  viewBox: "0 0 24 24",
187
187
  width: "1.2em",
188
188
  height: "1.2em"
189
189
  };
190
- function J(e, t) {
191
- return a(), g("svg", q, [...t[0] ||= [b("path", {
190
+ function Y(e, t) {
191
+ return a(), _("svg", J, [...t[0] ||= [x("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 ot = u({
197
197
  name: "mdi-webcam",
198
- render: J
199
- }), Y = {
198
+ render: Y
199
+ }), X = {
200
200
  viewBox: "0 0 24 24",
201
201
  width: "1.2em",
202
202
  height: "1.2em"
203
203
  };
204
- function ct(e, t) {
205
- return a(), g("svg", Y, [...t[0] ||= [b("path", {
204
+ function st(e, t) {
205
+ return a(), _("svg", X, [...t[0] ||= [x("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 ct = u({
211
211
  name: "mynaui-letter-h-square-solid",
212
- render: ct
213
- }), ut = {
212
+ render: st
213
+ }), lt = {
214
214
  viewBox: "0 0 24 24",
215
215
  width: "1.2em",
216
216
  height: "1.2em"
217
217
  };
218
- function dt(e, t) {
219
- return a(), g("svg", ut, [...t[0] ||= [b("path", {
218
+ function ut(e, t) {
219
+ return a(), _("svg", lt, [...t[0] ||= [x("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 dt = u({
225
225
  name: "mynaui-letter-l-square-solid",
226
- render: dt
227
- }), X = {
226
+ render: ut
227
+ }), Z = {
228
228
  viewBox: "0 0 24 24",
229
229
  width: "1.2em",
230
230
  height: "1.2em"
231
231
  };
232
- function pt(e, t) {
233
- return a(), g("svg", X, [...t[0] ||= [b("path", {
232
+ function ft(e, t) {
233
+ return a(), _("svg", Z, [...t[0] ||= [x("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 pt = u({
239
239
  name: "mynaui-letter-m-square-solid",
240
- render: pt
241
- }), ht = {
240
+ render: ft
241
+ }), mt = {
242
242
  viewBox: "0 0 24 24",
243
243
  width: "1.2em",
244
244
  height: "1.2em"
245
245
  };
246
- function gt(e, t) {
247
- return a(), g("svg", ht, [...t[0] ||= [b("path", {
246
+ function ht(e, t) {
247
+ return a(), _("svg", mt, [...t[0] ||= [x("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 gt = u({
253
253
  name: "simple-icons-webrtc",
254
- render: gt
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({
254
+ render: ht
255
+ }), _t = { class: "flex flex-col gap-3" }, vt = { class: "text-wrap" }, yt = { class: "w-full h-full flex items-center justify-center relative" }, bt = /* @__PURE__ */ w({
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 = Se(), l = j(), u = n("dialogRefProps"), d = b("canvasRef"), f = C(), p = C(), g = T(!1), v = m(() => !!u.loading?.value);
260
+ async function y() {
261
+ if (g.value) w();
262
262
  else try {
263
- d.value && C();
263
+ f.value && w();
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
+ S(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();
298
298
  } catch (e) {
299
- C(), c.error(e);
299
+ w(), c.error(e);
300
300
  }
301
301
  }
302
- function x(e, t, n, r, i, a) {
302
+ function S(e, t, n, r, i, a) {
303
303
  let o = e.createLinearGradient(t, n, r, i);
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
- 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);
306
+ function w() {
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
- C();
311
- }), r({ isLoading: _ }), (e, t) => {
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, {
310
+ w();
311
+ }), r({ isLoading: v }), (e, t) => {
312
+ let n = Ne, r = Ee;
313
+ return a(), _("div", _t, [x("span", vt, o(e.$t("components.dialog.message.intercom_info")), 1), x("div", yt, [E(r, {
314
314
  rounded: "",
315
315
  class: "w-[60px] h-[60px] absolute z-1",
316
- onClick: v
316
+ onClick: y
317
317
  }, {
318
- icon: m(() => [T(n, {
318
+ icon: h(() => [E(n, {
319
319
  width: "100%",
320
320
  height: "100%"
321
321
  })]),
322
322
  _: 1
323
- }), b("canvas", {
323
+ }), x("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
+ }), xt = ["fill"], Q = /* @__PURE__ */ w({
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] ||= [x("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, xt));
343
343
  }
344
- }), Q = ["fill"], Ct = /* @__PURE__ */ C({
344
+ }), St = ["fill"], Ct = /* @__PURE__ */ w({
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] ||= [x("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, St));
356
356
  }
357
- }), $ = ["fill"], wt = /* @__PURE__ */ C({
357
+ }), wt = ["fill"], $ = /* @__PURE__ */ w({
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] ||= [x("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, wt));
369
369
  }
370
- }), Tt = ["fill"], Et = /* @__PURE__ */ C({
370
+ }), Tt = ["fill"], Et = /* @__PURE__ */ w({
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] ||= [x("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));
382
382
  }
383
- }), Dt = ["fill"], Ot = /* @__PURE__ */ C({
383
+ }), Dt = ["fill"], Ot = /* @__PURE__ */ w({
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)
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));
393
+ fill: p(t)
394
+ }, [...n[0] ||= [x("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
- }), kt = ["fill"], At = /* @__PURE__ */ C({
396
+ }), kt = ["fill"], At = /* @__PURE__ */ w({
397
397
  __name: "CuiCameraGridIcon16",
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)
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));
406
+ fill: p(t)
407
+ }, [...n[0] ||= [x("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
- }), jt = ["fill"], Mt = /* @__PURE__ */ C({
409
+ }), jt = ["fill"], Mt = /* @__PURE__ */ w({
410
410
  __name: "CuiCameraGridIcon20",
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)
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));
419
+ fill: p(t)
420
+ }, [...n[0] ||= [x("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
- }), Nt = ["fill"], Pt = /* @__PURE__ */ C({
422
+ }), Nt = ["fill"], Pt = /* @__PURE__ */ w({
423
423
  __name: "CuiCameraGridIcon26",
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)
433
- }, [...n[0] ||= [b("path", {
432
+ fill: p(t)
433
+ }, [...n[0] ||= [x("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"
436
436
  }, null, -1)]], 8, Nt));
437
437
  }
438
- }), Ft = ["fill"], It = /* @__PURE__ */ C({
438
+ }), Ft = ["fill"], It = /* @__PURE__ */ w({
439
439
  __name: "CuiCameraGridIcon4",
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)
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));
448
+ fill: p(t)
449
+ }, [...n[0] ||= [x("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
- }), Lt = ["fill"], Rt = /* @__PURE__ */ C({
451
+ }), Lt = ["fill"], Rt = /* @__PURE__ */ w({
452
452
  __name: "CuiCameraGridIcon6",
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)
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));
461
+ fill: p(t)
462
+ }, [...n[0] ||= [x("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
- }), zt = ["fill"], Bt = /* @__PURE__ */ C({
464
+ }), zt = ["fill"], Bt = /* @__PURE__ */ w({
465
465
  __name: "CuiCameraGridIcon7",
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)
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));
474
+ fill: p(t)
475
+ }, [...n[0] ||= [x("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
- }), Vt = ["fill"], Ht = /* @__PURE__ */ C({
477
+ }), Vt = ["fill"], Ht = /* @__PURE__ */ w({
478
478
  __name: "CuiCameraGridIcon9",
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)
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));
487
+ fill: p(t)
488
+ }, [...n[0] ||= [x("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 = {
491
491
  for: "name",
@@ -502,7 +502,7 @@ var _t = l({
502
502
  }, Yt = {
503
503
  key: 0,
504
504
  class: "text-red-500 text-center mb-5"
505
- }, Xt = { class: "md:max-h-[450px] overflow-y-auto" }, Zt = { class: "block cui-label mb-3" }, Qt = { class: "view-select-container" }, $t = ["onClick"], en = /*#__PURE__*/ D(/* @__PURE__ */ C({
505
+ }, Xt = { class: "md:max-h-[450px] overflow-y-auto" }, Zt = { class: "block cui-label mb-3" }, Qt = { class: "view-select-container" }, $t = ["onClick"], en = /*#__PURE__*/ O(/* @__PURE__ */ w({
506
506
  __name: "CamviewForm",
507
507
  props: {
508
508
  form: {},
@@ -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 xe(), S = t, C = Se(), w = j(), { t: D } = we(), te = n("dialogRefProps"), re = ge(), { user: ie } = Ce(re), { mutateAsync: ae, isPending: oe } = v.createViewQuery(), { mutateAsync: O, isPending: ce } = v.patchViewQuery(), { form: M, type: ue, cameras: de, views: fe } = r(S), P = b("formRef"), pe = T([
515
515
  1,
516
516
  4,
517
517
  6,
@@ -524,121 +524,121 @@ 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
+ ]), me = T(!0), _e = T(!0), I = T([]), ve = T(!!M.value), L = T(M.value ? he(M.value) : {});
528
+ !ve.value && ue.value === "view" && (L.value.viewSize = pe.value[0]);
529
+ let ye = m(() => !!(te.loading?.value || oe.value || ce.value));
530
+ function be(e) {
531
+ let t = I.value.findIndex((t) => t.name === e.name);
532
+ t === -1 ? I.value.push(e) : I.value.splice(t, 1);
533
533
  }
534
- function Ee(e) {
534
+ function Te(e) {
535
535
  switch (e) {
536
- case 1: return St;
536
+ case 1: return Q;
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
541
  case 10: return Ct;
542
- case 12: return wt;
542
+ case 12: return $;
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 Q;
549
549
  }
550
550
  }
551
- async function De() {
552
- if (!M.value || !ie.value) return;
553
- let e = pe.value.find((e) => e.name === I.value.name);
554
- if (e && !ye.value) return S.error("View already exists", e), C.add({
551
+ async function Ee() {
552
+ if (!P.value || !ie.value) return;
553
+ let e = fe.value.find((e) => e.name === L.value.name);
554
+ if (e && !ve.value) return C.error("View already exists", e), w.add({
555
555
  severity: "error",
556
- detail: E("components.toast.validation_failed"),
556
+ detail: D("components.toast.validation_failed"),
557
557
  life: 3e3
558
558
  }), null;
559
- if (A.value === "dnd") {
560
- if (ve.value) return S.error("No cameras selected"), C.add({
559
+ if (ue.value === "dnd") {
560
+ if (_e.value) return C.error("No cameras selected"), w.add({
561
561
  severity: "error",
562
- detail: E("components.toast.validation_failed"),
562
+ detail: D("components.toast.validation_failed"),
563
563
  life: 3e3
564
564
  }), null;
565
- let e = P.value.map((e, t) => ({
565
+ let e = I.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();
571
- return t?.valid ? ye.value ? await D({
569
+ L.value.cameras = e, L.value.type = "dnd", L.value.viewSize = 1, P.value.setFieldValue("type", "dnd"), P.value.setFieldValue("viewSize", 1), P.value.setFieldValue("cameras", e);
570
+ let t = await P.value.validate();
571
+ return t?.valid ? ve.value ? await O({
572
572
  username: ie.value.username,
573
- viewid: I.value._id,
574
- viewData: I.value
573
+ viewid: L.value._id,
574
+ viewData: L.value
575
575
  }) : await ae({
576
576
  username: ie.value.username,
577
- viewData: I.value
578
- }) : (S.error("Validation failed", t), C.add({
577
+ viewData: L.value
578
+ }) : (C.error("Validation failed", t), w.add({
579
579
  severity: "error",
580
- detail: E("components.toast.validation_failed"),
580
+ detail: D("components.toast.validation_failed"),
581
581
  life: 3e3
582
582
  }), null);
583
583
  }
584
584
  {
585
- if (he.value) return S.error("No view selected"), C.add({
585
+ if (me.value) return C.error("No view selected"), w.add({
586
586
  severity: "error",
587
- detail: E("components.toast.validation_failed"),
587
+ detail: D("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();
592
- return e?.valid ? ge(I.value) : (S.error("Validation failed", e), C.add({
590
+ L.value.cameras = [], L.value.type = "view", P.value.setFieldValue("type", "view"), P.value.setFieldValue("cameras", []);
591
+ let e = await P.value.validate();
592
+ return e?.valid ? he(L.value) : (C.error("Validation failed", e), w.add({
593
593
  severity: "error",
594
- detail: E("components.toast.validation_failed"),
594
+ detail: D("components.toast.validation_failed"),
595
595
  life: 3e3
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);
601
- e.viewSize && (he.value = !1), e.cameras?.length && (ve.value = !1);
599
+ return g(L, (e) => {
600
+ for (let [t, n] of Object.entries(e)) P.value?.setFieldValue(t, n);
601
+ e.viewSize && (me.value = !1), e.cameras?.length && (_e.value = !1);
602
602
  }, {
603
603
  deep: !0,
604
604
  immediate: !0
605
- }), h(P, (e) => {
606
- ve.value = e.length === 0;
607
- }, { deep: !0 }), te(() => {
608
- P.value = j.value?.filter((e) => I.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
609
- }), l({
610
- isLoading: be,
611
- onConfirm: De
605
+ }), g(I, (e) => {
606
+ _e.value = e.length === 0;
607
+ }, { deep: !0 }), ee(() => {
608
+ I.value = de.value?.filter((e) => L.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
609
+ }), u({
610
+ isLoading: ye,
611
+ onConfirm: Ee
612
612
  }), (t, n) => {
613
- let r = L, l = F, p = Oe, h = N, _ = k;
614
- return a(), u(f(ue), {
613
+ let r = R, u = le, m = De, g = ne, v = F;
614
+ return a(), d(p(se), {
615
615
  ref_key: "formRef",
616
- ref: M,
616
+ ref: P,
617
617
  class: "flex flex-col gap-6",
618
- "validation-schema": f(oe),
619
- "initial-values": f(I)
618
+ "validation-schema": p(N),
619
+ "initial-values": p(L)
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
+ E(p(k), {
623
+ modelValue: p(L).name,
624
+ "onUpdate:modelValue": n[0] ||= (e) => p(L).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 }) => [
631
- b("label", Ut, o(t.$t("components.form.label.name")), 1),
632
- T(l, null, {
633
- default: m(() => [T(r, s(n, {
630
+ default: h(({ field: n, errors: i }) => [
631
+ x("label", Ut, o(t.$t("components.form.label.name")), 1),
632
+ E(u, null, {
633
+ default: h(() => [E(r, s(n, {
634
634
  invalid: i.length > 0,
635
- loading: f(be),
635
+ loading: p(ye),
636
636
  type: "text"
637
637
  }), null, 16, ["invalid", "loading"])]),
638
638
  _: 2
639
639
  }, 1024),
640
- T(e, { name: "fade" }, {
641
- default: m(() => [T(f(O), {
640
+ E(e, { name: "fade" }, {
641
+ default: h(() => [E(p(A), {
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
+ E(m, { class: "m-0 py-3" }),
651
+ p(ue) === "dnd" ? (a(), _("div", Wt, [E(e, { name: "fade" }, {
652
+ default: h(() => [p(_e) ? (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
+ }), x("div", Kt, [x("label", qt, o(t.$t("components.form.label.cameras")), 1), (a(!0), _(y, null, i(p(de), (e, t) => (a(), _("div", {
655
655
  key: t,
656
656
  class: "cui-list-item"
657
- }, [T(_, {
657
+ }, [E(v, {
658
658
  class: "h-14",
659
- active: f(P).some((t) => t.name === e.name),
660
- onClick: (t) => Se(e)
659
+ active: p(I).some((t) => t.name === e.name),
660
+ onClick: (t) => be(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(() => [E(g, {
663
+ "model-value": p(I).some((t) => t.name === e.name),
664
+ "onUpdate:modelValue": (t) => be(e)
665
665
  }, null, 8, ["model-value", "onUpdate:modelValue"])]),
666
- default: m(() => [b("span", null, o(e.name), 1)]),
666
+ default: h(() => [x("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, [E(e, { name: "fade" }, {
669
+ default: h(() => [p(me) ? (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
+ }), x("div", Xt, [x("label", Zt, o(t.$t("components.form.label.views")), 1), x("div", Qt, [(a(!0), _(y, null, i(p(pe), (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(L).viewSize = e
675
+ }, [x("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(L).viewSize === e }]) }, [(a(), d(l(Te(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), x("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": p(L).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"]);
@@ -687,217 +687,217 @@ var _t = l({
687
687
  }, rn = {
688
688
  key: 1,
689
689
  class: "flex flex-col w-full h-full"
690
- }, an = { class: "flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4" }, on = { class: "text-muted text-sm" }, sn = { class: "relative w-6 h-6" }, cn = /*#__PURE__*/ D(/* @__PURE__ */ C({
690
+ }, an = { class: "flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4" }, on = { class: "text-muted text-sm" }, sn = { class: "relative w-6 h-6" }, cn = /*#__PURE__*/ O(/* @__PURE__ */ w({
691
691
  __name: "Camview",
692
692
  props: {
693
693
  navbarWidth: { default: 0 },
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 xe(), i = new ce(), u = t, y = we(), { t: C } = y, w = ve(), ee = _e(), { bottombarHeight: ne } = I(), { smBreakpoint: O, lgBreakpoint: k, mdBreakpoint: se } = re(), le = ge(), { user: A } = Ce(le), j = P(), { uiSettings: N } = Ce(j), { data: F, isLoading: Se } = i.getCamerasQuery({
698
698
  page: 1,
699
699
  pageSize: -1
700
- }), { data: L, isLoading: Pe } = n.getViewsQuery(k.value?.username ?? "", {
700
+ }), { data: R, isLoading: Ne } = n.getViewsQuery(A.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({
704
- sourceRole: q.value,
705
- activityMode: K.value,
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,
709
- dayNames: C.config.locale?.dayNames,
710
- dayNamesShort: C.config.locale?.dayNamesShort,
711
- monthNames: C.config.locale?.monthNames,
712
- monthNamesShort: C.config.locale?.monthNamesShort
713
- })), gt = p(() => ct.value ?? $.value?.cardFit ?? "aspect"), vt = p(() => [
703
+ }), { mutate: Ie, isPending: Le } = n.removeViewQuery(), { mutateAsync: ze, isPending: Be } = n.createViewQuery(), { mutateAsync: He, isPending: Ue } = n.patchViewQuery(), { mutateAsync: Ge } = n.patchViewQuerySilent(), { navbarWidth: Ke, navbarLeft: Je } = r(u), Ye = b("menuRef"), Ze = b("newViewMenuRef"), Qe = b("cardFitMenuRef"), z = b("viewDndRef"), B = T({}), V = T(!1), H = T(!1), U = T(!1), W = T(!1), G = T(!1), rt = T(!1), K = T(!0), q = T("always-on"), J = T("low-resolution"), Y = T("auto"), X = T([]), st = T(), lt = T(null), ut = D({
704
+ sourceRole: J.value,
705
+ activityMode: q.value,
706
+ streamingMode: Y.value
707
+ }), Z = m(() => Se.value || Ne.value || Le.value || Be.value || Ue.value), ft = m(() => Se.value && !F.value || Ne.value && !R.value || Le.value || Be.value || Ue.value), mt = m(() => Ke.value + Je.value), ht = m(() => ({
708
+ locale: y.locale.value,
709
+ dayNames: w.config.locale?.dayNames,
710
+ dayNamesShort: w.config.locale?.dayNamesShort,
711
+ monthNames: w.config.locale?.monthNames,
712
+ monthNamesShort: w.config.locale?.monthNamesShort
713
+ })), _t = m(() => st.value ?? $.value?.cardFit ?? "aspect"), vt = m(() => [
714
714
  "aspect",
715
715
  "contain",
716
716
  "fill",
717
717
  "cover"
718
718
  ].map((e) => ({
719
- label: S(`views.camview.card_fit_${e}`),
720
- description: S(`views.camview.card_fit_${e}_info`),
721
- active: gt.value === e,
722
- onClick: () => Ut(e)
723
- }))), yt = p(() => ({
719
+ label: C(`views.camview.card_fit_${e}`),
720
+ description: C(`views.camview.card_fit_${e}_info`),
721
+ active: _t.value === e,
722
+ onClick: () => Wt(e)
723
+ }))), yt = m(() => ({
724
724
  doubleClickZoom: !1,
725
725
  flatCard: !0,
726
- cardFit: gt.value,
726
+ cardFit: _t.value,
727
727
  cameraNameOverlay: !0,
728
728
  control: !0,
729
729
  toolbar: !1,
730
730
  expandableCard: ($.value?.cameras?.length ?? 0) > 1,
731
- detectionIndicatorOverlay: !H.value && Q.value,
732
- detectionIconsOverlay: !H.value && Q.value,
731
+ detectionIndicatorOverlay: !U.value && Ct.value,
732
+ detectionIconsOverlay: !U.value && Ct.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 ? {
738
- width: W.value ? "calc(100% - 400px)" : "100%",
737
+ })), xt = m(() => R.value?.result.length ? k.value ? {
738
+ width: G.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: G.value ? ne.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(() => [
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
754
- },
749
+ }), Q = m(() => V.value || H.value), St = m(() => !!z.value?.isFullscreen), Ct = m(() => N.value.camview.detections !== !1), wt = m(() => [
755
750
  {
756
- label: G.value ? S("components.form.tooltip.unmute") : S("components.form.tooltip.mute"),
757
- icon: G.value ? nt : tt,
751
+ label: St.value ? C("components.form.tooltip.fullscreen_off") : C("components.form.tooltip.fullscreen_on"),
752
+ icon: St.value ? ie : M,
758
753
  command: Gt
759
754
  },
760
755
  {
761
- label: S("components.form.tooltip.intercom"),
762
- icon: Se,
763
- command: () => Mt("intercom")
756
+ label: K.value ? C("components.form.tooltip.unmute") : C("components.form.tooltip.mute"),
757
+ icon: K.value ? tt : et,
758
+ command: Kt
764
759
  },
765
760
  {
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
- icon: J.value === "auto" ? at : J.value === "webrtc" ? _t : Ze,
768
- command: () => Jt()
761
+ label: C("components.form.tooltip.intercom"),
762
+ icon: ye,
763
+ command: () => Nt("intercom")
769
764
  },
770
765
  {
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
- icon: K.value === "always-on" ? st : K.value === "standby" ? rt : et,
773
- command: () => Kt()
766
+ label: Y.value === "auto" ? `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_auto")}` : Y.value === "webrtc" ? `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_webrtc")}` : `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_mse")}`,
767
+ icon: Y.value === "auto" ? it : Y.value === "webrtc" ? gt : Xe,
768
+ command: () => Yt()
774
769
  },
775
770
  {
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
- icon: q.value === "low-resolution" ? ft : q.value === "mid-resolution" ? mt : lt,
771
+ label: q.value === "always-on" ? C("components.form.tooltip.activity_mode_always_on") : q.value === "standby" ? C("components.form.tooltip.activity_mode_standby") : C("components.form.tooltip.activity_mode_activity"),
772
+ icon: q.value === "always-on" ? ot : q.value === "standby" ? nt : $e,
778
773
  command: () => qt()
779
774
  },
780
775
  {
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
776
+ label: J.value === "low-resolution" ? `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_low")}` : J.value === "mid-resolution" ? `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_mid")}` : `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_high")}`,
777
+ icon: J.value === "low-resolution" ? dt : J.value === "mid-resolution" ? pt : ct,
778
+ command: () => Jt()
779
+ },
780
+ {
781
+ label: `${C("components.form.tooltip.detections")}: ${Ct.value ? C("components.form.tooltip.detections_on") : C("components.form.tooltip.detections_off")}`,
782
+ icon: Ct.value ? Te : de,
783
+ command: () => N.value.camview.detections = !Ct.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(() => {
789
- let e = ut.value;
790
- return e && wt.value.includes(e) ? [e] : wt.value;
791
- }), Et = p(() => {
785
+ ]), $ = m(() => {
786
+ let e = R.value?.result.find((e) => e._id === N.value.camview.viewid) || R.value?.result[0];
787
+ return e ? (B.value = e, N.value.camview.viewid = e._id) : B.value = {}, e;
788
+ }), Tt = m(() => $.value?.cameras?.map((e) => e.cameraId) ?? []), Et = m(() => {
789
+ let e = lt.value;
790
+ return e && Tt.value.includes(e) ? [e] : Tt.value;
791
+ }), Dt = m(() => {
792
792
  let e = {};
793
793
  for (let t of F.value?.result ?? []) e[t._id] = t.name;
794
794
  return e;
795
- }), { master: Dt } = pe(wt, {
795
+ }), { master: Ot } = pe(Tt, {
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(() => Q.value && B.value.viewSize > 0 ? B.value.viewSize : $.value ? $.value.viewSize : 1), jt = m(() => {
799
799
  let e = [];
800
- for (let t of L.value?.result || []) e.push({
800
+ for (let t of R.value?.result || []) e.push({
801
801
  label: t.name,
802
802
  active: t._id === $.value?._id,
803
- onClick: () => Nt(t)
803
+ onClick: () => Pt(t)
804
804
  });
805
805
  return e;
806
- }), jt = p(() => [{
807
- label: S("views.camview.new_view"),
808
- icon: ot,
809
- onClick: () => Mt("newView")
806
+ }), Mt = m(() => [{
807
+ label: C("views.camview.new_view"),
808
+ icon: at,
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": {
815
- let t = e === "editView", n = S(t ? "components.dialog.title.edit_view" : "components.dialog.title.new_view");
816
- t ? B.value = !0 : V.value = !0, te.openComponentDialog(en, {
815
+ let t = e === "editView", n = C(t ? "components.dialog.title.edit_view" : "components.dialog.title.new_view");
816
+ t ? V.value = !0 : H.value = !0, ee.openComponentDialog(en, {
817
817
  data: {
818
818
  title: n,
819
- loading: X,
820
- confirmText: S("components.form.button.next"),
819
+ loading: Z,
820
+ confirmText: C("components.form.button.next"),
821
821
  contentProps: {
822
- form: t ? z.value : void 0,
822
+ form: t ? B.value : void 0,
823
823
  type: "view",
824
824
  cameras: F.value?.result || [],
825
- views: L.value?.result || []
825
+ views: R.value?.result || []
826
826
  }
827
827
  },
828
828
  onConfirm: (e) => {
829
- e && (z.value = e);
829
+ e && (B.value = e);
830
830
  },
831
831
  onCancel: () => {
832
- V.value = !1;
832
+ H.value = !1;
833
833
  }
834
834
  });
835
835
  break;
836
836
  }
837
837
  case "intercom":
838
- te.openComponentDialog(xt, {
838
+ ee.openComponentDialog(bt, {
839
839
  data: {
840
- title: S("components.dialog.title.intercom"),
840
+ title: C("components.dialog.title.intercom"),
841
841
  hideConfirmButton: !0,
842
- loading: X,
842
+ loading: Z,
843
843
  contentProps: {}
844
844
  },
845
- events: { listening: Yt }
845
+ events: { listening: Xt }
846
846
  });
847
847
  break;
848
- case "removeView": te.openTextDialog({
848
+ case "removeView": ee.openTextDialog({
849
849
  data: {
850
- title: S("components.dialog.title.confirm"),
851
- confirmText: S("components.form.button.remove"),
852
- contentText: S("components.dialog.message.confirm_remove_layout"),
850
+ title: C("components.dialog.title.confirm"),
851
+ confirmText: C("components.form.button.remove"),
852
+ contentText: C("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) {
859
+ function Pt(e) {
860
860
  N.value.camview.viewid = e._id;
861
861
  }
862
- function Pt() {
863
- $.value && k.value && Le({
864
- username: k.value.username,
862
+ function Ft() {
863
+ $.value && A.value && Ie({
864
+ username: A.value.username,
865
865
  viewid: $.value._id
866
866
  }, { onSuccess: (e) => {
867
867
  e.length ? N.value.camview.viewid = e[0]._id : N.value.camview.viewid = void 0;
868
868
  } });
869
869
  }
870
- async function Ft() {
871
- if (!k.value || Object.keys(z.value).length === 0) return;
872
- let e = Y.value.filter((e) => e.lastDroppedCamera).map((e) => ({
870
+ async function It() {
871
+ if (!A.value || Object.keys(B.value).length === 0) return;
872
+ let e = X.value.filter((e) => e.lastDroppedCamera).map((e) => ({
873
873
  cameraId: e.lastDroppedCamera._id,
874
874
  index: e.index,
875
875
  colSpan: e.colSpan,
876
876
  rowSpan: e.rowSpan
877
877
  })).sort((e, t) => e.index - t.index);
878
878
  if (!e.length) return;
879
- let t = ge(z.value);
880
- t.cameras = e, t._id ? Ht(await Ue({
881
- username: k.value.username,
879
+ let t = he(B.value);
880
+ t.cameras = e, t._id ? Ut(await He({
881
+ username: A.value.username,
882
882
  viewid: t._id,
883
883
  viewData: t
884
- })) : Ht(await Be({
885
- username: k.value.username,
884
+ })) : Ut(await ze({
885
+ username: A.value.username,
886
886
  viewData: t
887
887
  }));
888
888
  }
889
- function It(e, t) {
890
- Y.value[e].lastDroppedCamera = t;
891
- }
892
- function Lt(e) {
893
- Y.value = Y.value.map((t) => (t.lastDroppedCamera?.name === e.name && (t.lastDroppedCamera = void 0), t));
889
+ function Lt(e, t) {
890
+ X.value[e].lastDroppedCamera = t;
894
891
  }
895
892
  function Rt(e) {
896
- return `${D.value ? "mobile" : "desktop"}:${e}`;
893
+ X.value = X.value.map((t) => (t.lastDroppedCamera?.name === e.name && (t.lastDroppedCamera = void 0), t));
897
894
  }
898
895
  function zt(e) {
896
+ return `${O.value ? "mobile" : "desktop"}:${e}`;
897
+ }
898
+ function Bt(e) {
899
899
  let t = $.value?._id;
900
- t && (N.value.camview.layouts || (N.value.camview.layouts = {}), N.value.camview.layouts[Rt(t)] = e.map((e) => ({
900
+ t && (N.value.camview.layouts || (N.value.camview.layouts = {}), N.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,73 +906,73 @@ var _t = l({
906
906
  h: e.rowSpan ?? 1
907
907
  })));
908
908
  }
909
- function Bt(e, t) {
910
- ut.value = t ? e._id : null;
911
- }
912
- function Vt(e) {
913
- let t = ut.value;
914
- t && e.cameraId && e.cameraId !== t && wt.value.includes(e.cameraId) && R.value?.expandCameraById(e.cameraId);
909
+ function Vt(e, t) {
910
+ lt.value = t ? e._id : null;
915
911
  }
916
912
  function Ht(e) {
917
- N.value.camview.viewid = e._id, V.value = !1, B.value = !1;
913
+ let t = lt.value;
914
+ t && e.cameraId && e.cameraId !== t && Tt.value.includes(e.cameraId) && z.value?.expandCameraById(e.cameraId);
915
+ }
916
+ function Ut(e) {
917
+ N.value.camview.viewid = e._id, H.value = !1, V.value = !1;
918
918
  }
919
- async function Ut(e) {
920
- let t = $.value, n = k.value?.username;
921
- if (t && n && gt.value !== e) {
922
- ct.value = e;
919
+ async function Wt(e) {
920
+ let t = $.value, n = A.value?.username;
921
+ if (t && n && _t.value !== e) {
922
+ st.value = e;
923
923
  try {
924
- await Ke({
924
+ await Ge({
925
925
  username: n,
926
926
  viewid: t._id,
927
927
  viewData: { cardFit: e }
928
928
  });
929
929
  } catch {
930
- ct.value = void 0;
930
+ st.value = void 0;
931
931
  }
932
932
  }
933
933
  }
934
- function Wt() {
935
- R.value?.toggleFullscreen();
936
- }
937
934
  function Gt() {
938
- G.value = !G.value, R.value?.toggleAllPlayerMute(G.value);
935
+ z.value?.toggleFullscreen();
939
936
  }
940
- function Kt(e) {
941
- let t = K.value;
942
- t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), R.value?.toggleAllPlayerActivityMode(t), K.value = t;
937
+ function Kt() {
938
+ K.value = !K.value, z.value?.toggleAllPlayerMute(K.value);
943
939
  }
944
- async function qt(e) {
940
+ function qt(e) {
945
941
  let t = q.value;
946
- t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await R.value?.toggleAllPlayerSourceRole(t), q.value = t;
942
+ t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), z.value?.toggleAllPlayerActivityMode(t), q.value = t;
947
943
  }
948
944
  async function Jt(e) {
949
945
  let t = J.value;
946
+ t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await z.value?.toggleAllPlayerSourceRole(t), J.value = t;
947
+ }
948
+ async function Yt(e) {
949
+ let t = Y.value;
950
950
  t === "auto" && (t = "webrtc");
951
951
  let n = e || (t === "mse" ? "webrtc" : "mse");
952
- await R.value?.toggleAllPlayerStreamingMode(n), J.value = n;
952
+ await z.value?.toggleAllPlayerStreamingMode(n), Y.value = n;
953
953
  }
954
- async function Yt(e) {
955
- await R.value?.toggleAllPlayerMicrophone(e);
954
+ async function Xt(e) {
955
+ await z.value?.toggleAllPlayerMicrophone(e);
956
956
  }
957
- return h(U, (e) => {
958
- e && (it.value = !0);
959
- }), h(() => $.value?._id, () => {
960
- ct.value = void 0;
961
- }), h([
962
- kt,
957
+ return g(W, (e) => {
958
+ e && (rt.value = !0);
959
+ }), g(() => $.value?._id, () => {
960
+ st.value = void 0;
961
+ }), g([
962
+ At,
963
963
  $,
964
964
  F,
965
- Z,
965
+ Q,
966
966
  N,
967
- D
967
+ O
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
- 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;
974
+ if (!H.value) {
975
+ let t = $.value?._id, n = t ? zt(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
976
  for (let t of $.value?.cameras || []) {
977
977
  if (!e[t.index]) continue;
978
978
  let n = F.value?.result.find((e) => e._id === t.cameraId);
@@ -982,227 +982,227 @@ var _t = l({
982
982
  }
983
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)));
984
984
  }
985
- Y.value = e;
985
+ X.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 = Fe, i = je, u = me, m = qe, g = We, y = Ve, b = ue, C = oe, w = De, T = ke, D = Re, ee = Me, re = Pe, ie = be, ce = L, le = Ee, A = Oe, j = ae, M = te;
991
+ return a(), _("div", tn, [
992
+ E(re, {
993
+ "left-offset": p(mt),
994
994
  animate: ""
995
995
  }, {
996
- left: m(() => [!f(V) && f($) ? (a(), u(r, {
996
+ left: h(() => [!p(H) && p($) ? (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($).name,
1000
+ "menu-open": p(Ye)?.isOpen,
1001
+ disabled: p(Z) || p(V),
1002
+ onClick: n[0] ||= (e) => p(Ye)?.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(H) && p(B).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(B).name,
1010
+ disabled: p(Z)
1011
+ }, null, 8, ["label", "disabled"])) : f("", !0)]),
1012
+ right: h(() => [
1013
+ !p(Q) && p($) ? S((a(), d(r, {
1014
1014
  key: 0,
1015
- active: f(H),
1016
- onClick: n[1] ||= (e) => H.value = !f(H)
1015
+ active: p(U),
1016
+ onClick: n[1] ||= (e) => U.value = !p(U)
1017
1017
  }, {
1018
- icon: m(() => [f(H) ? (a(), u(l, {
1018
+ icon: h(() => [p(U) ? (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%"
1026
1026
  }))]),
1027
1027
  _: 1
1028
1028
  }, 8, ["active"])), [[
1029
- j,
1030
- { value: f(H) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
1029
+ M,
1030
+ { value: p(U) ? 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(Q) && p($) && p(U) && !p(O) ? S((a(), d(r, {
1035
1035
  key: 1,
1036
- onClick: n[2] ||= (e) => f(R)?.fitAspectRatios()
1036
+ onClick: n[2] ||= (e) => p(z)?.fitAspectRatios()
1037
1037
  }, {
1038
- icon: m(() => [T(p, {
1038
+ icon: h(() => [E(m, {
1039
1039
  width: "100%",
1040
1040
  height: "100%"
1041
1041
  })]),
1042
1042
  _: 1
1043
1043
  })), [[
1044
- j,
1044
+ M,
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(Q) && p($) && p(U) && !p(O) ? S((a(), d(r, {
1050
1050
  key: 2,
1051
- onClick: n[3] ||= (e) => f(R)?.compactGrid()
1051
+ onClick: n[3] ||= (e) => p(z)?.compactGrid()
1052
1052
  }, {
1053
- icon: m(() => [T(h, {
1053
+ icon: h(() => [E(g, {
1054
1054
  width: "100%",
1055
1055
  height: "100%"
1056
1056
  })]),
1057
1057
  _: 1
1058
1058
  })), [[
1059
- j,
1059
+ M,
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(Q) && p($) ? S((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(_t) !== "aspect",
1067
+ "menu-open": p(Qe)?.isOpen,
1068
+ onClick: n[4] ||= (e) => p(Qe)?.toggleMenu(e)
1069
1069
  }, {
1070
- icon: m(() => [T(v, {
1070
+ icon: h(() => [E(y, {
1071
1071
  width: "100%",
1072
1072
  height: "100%"
1073
1073
  })]),
1074
1074
  _: 1
1075
1075
  }, 8, ["active", "menu-open"])), [[
1076
- j,
1076
+ M,
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(Q) && p($) ? S((a(), d(r, {
1082
1082
  key: 4,
1083
- active: f(U),
1084
- onClick: n[5] ||= (e) => U.value = !f(U)
1083
+ active: p(W),
1084
+ onClick: n[5] ||= (e) => W.value = !p(W)
1085
1085
  }, {
1086
- icon: m(() => [f(U) ? (a(), u(S, {
1086
+ icon: h(() => [p(W) ? (a(), d(C, {
1087
1087
  key: 1,
1088
1088
  width: "100%",
1089
1089
  height: "100%"
1090
- })) : (a(), u(y, {
1090
+ })) : (a(), d(b, {
1091
1091
  key: 0,
1092
1092
  width: "100%",
1093
1093
  height: "100%"
1094
1094
  }))]),
1095
1095
  _: 1
1096
1096
  }, 8, ["active"])), [[
1097
- j,
1098
- { value: f(U) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
1097
+ M,
1098
+ { value: p(W) ? 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(Q) && p($) ? (a(), d(w, {
1103
1103
  key: 5,
1104
1104
  layout: "vertical"
1105
- })) : d("", !0),
1106
- !f(Z) && f($) ? x((a(), u(r, {
1105
+ })) : f("", !0),
1106
+ !p(Q) && p($) ? S((a(), d(r, {
1107
1107
  key: 6,
1108
- disabled: f(H),
1109
- onClick: n[6] ||= (e) => Mt("removeView")
1108
+ disabled: p(U),
1109
+ onClick: n[6] ||= (e) => Nt("removeView")
1110
1110
  }, {
1111
- icon: m(() => [T(w, {
1111
+ icon: h(() => [E(T, {
1112
1112
  width: "100%",
1113
1113
  height: "100%"
1114
1114
  })]),
1115
1115
  _: 1
1116
1116
  }, 8, ["disabled"])), [[
1117
- j,
1117
+ M,
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(V) && !p(H) && p($) ? S((a(), d(r, {
1123
1123
  key: 7,
1124
- disabled: f(H),
1125
- onClick: n[7] ||= (e) => B.value = !0
1124
+ disabled: p(U),
1125
+ onClick: n[7] ||= (e) => V.value = !0
1126
1126
  }, {
1127
- icon: m(() => [T(E, {
1127
+ icon: h(() => [E(D, {
1128
1128
  width: "100%",
1129
1129
  height: "100%"
1130
1130
  })]),
1131
1131
  _: 1
1132
1132
  }, 8, ["disabled"])), [[
1133
- j,
1133
+ M,
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(V) && !p(H) ? S((a(), d(r, {
1139
1139
  key: 8,
1140
- disabled: f(H),
1141
- onClick: f(Qe)?.toggleMenu
1140
+ disabled: p(U),
1141
+ onClick: p(Ze)?.toggleMenu
1142
1142
  }, {
1143
- icon: m(() => [T(te, {
1144
- class: c(["transform transition-transform duration-300", { "rotate-45": f(Qe)?.isOpen }]),
1143
+ icon: h(() => [E(ee, {
1144
+ class: c(["transform transition-transform duration-300", { "rotate-45": p(Ze)?.isOpen }]),
1145
1145
  width: "100%",
1146
1146
  height: "100%"
1147
1147
  }, null, 8, ["class"])]),
1148
1148
  _: 1
1149
1149
  }, 8, ["disabled", "onClick"])), [[
1150
- j,
1150
+ M,
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(V) || p(H) ? (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(V) ? V.value = !1 : H.value = !1
1159
+ }, null, 8, ["label"])) : f("", !0),
1160
+ p(V) || p(H) ? (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(X).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
- b("div", {
1170
+ x("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(k),
1173
+ "flex-col": !p(k)
1174
1174
  }]),
1175
- style: _({ paddingTop: `${f(55)}px` })
1176
- }, [b("div", {
1175
+ style: v({ paddingTop: `${p(55)}px` })
1176
+ }, [x("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(k) || !p(R)?.result.length,
1179
+ "w-full items-start justify-start": !p(k) && p(R)?.result.length
1180
1180
  }]),
1181
- style: _(f(bt))
1182
- }, [f(X) ? (a(), g("div", nn, [(a(), u(ie, {
1181
+ style: v(p(xt))
1182
+ }, [p(ft) ? (a(), _("div", nn, [(a(), d(ie, {
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($) && !p(H) ? (a(), _("div", rn, [x("div", an, [E(ce, { class: "w-12 h-12 text-muted" }), x("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : p($) || p(H) ? (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(O) }])
1189
+ }, [(a(), d(Ae, {
1190
1190
  ref_key: "viewDndRef",
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
1191
+ ref: z,
1192
+ key: p(N).camview.viewid + (p(H) ? "-new" : p(V) ? "-edit" : "-view"),
1193
+ cameras: p(F)?.result || [],
1194
+ "edit-mode": p(H) || p(V),
1195
+ "rearrange-mode": p(U),
1196
+ "view-size": p(H) ? p(B).viewSize : p(At),
1197
+ title: p(B).name,
1198
+ cards: p(X),
1199
+ "camera-card-props": p(yt),
1200
+ "camera-card-models": p(ut),
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",
1217
- onBeforeEnter: n[10] ||= (e) => W.value = !0,
1218
- onAfterEnter: n[11] ||= (e) => it.value = !1,
1219
- onBeforeLeave: n[12] ||= (e) => W.value = !1
1215
+ ]))], 2)) : f("", !0)], 6), E(e, {
1216
+ name: p(k) ? "slide-left" : "slide-up",
1217
+ onBeforeEnter: n[10] ||= (e) => G.value = !0,
1218
+ onAfterEnter: n[11] ||= (e) => rt.value = !1,
1219
+ onBeforeLeave: n[12] ||= (e) => G.value = !1
1220
1220
  }, {
1221
- default: m(() => [f(U) ? (a(), u(f(ce), {
1221
+ default: h(() => [p(W) ? (a(), d(p(fe), {
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(Tt),
1225
+ "camera-names": p(Dt),
1226
+ "initial-timestamp": p(kt),
1227
+ onEventSelect: Ht,
1228
+ loading: p(rt),
1229
+ type: p(k) ? "vertical" : "horizontal",
1230
1230
  "dark-mode": "",
1231
- "md-breakpoint": f(le),
1231
+ "md-breakpoint": p(se),
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(k),
1234
+ "h-[200px] pt-2 px-2 pb-2 pb-safe-offset fixed right-safe-offset-0 z-10": !p(k),
1235
+ "p-0! pt-2! border-color": p(O)
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(O)
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(k) ? void 0 : {
1242
+ left: `${p(mt)}px`,
1243
+ bottom: `calc(${p(ne)}px + var(--safe-area-inset-bottom))`
1244
1244
  }),
1245
- "locale-settings": f(ht)
1245
+ "locale-settings": p(ht)
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(Q) && p($) ? (a(), d(A, {
1262
1262
  key: 0,
1263
- model: f(Ct),
1263
+ model: p(wt),
1264
1264
  direction: "up",
1265
1265
  "transition-delay": 80,
1266
1266
  "tooltip-options": {
@@ -1269,23 +1269,23 @@ 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(k) ? "0" : `calc(${p(G) ? 192 : 0}px + ${p(ne) > 0 ? "0.5rem" : "0px"})`,
1274
+ right: p(k) ? `calc(${p(G) ? 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 }) => [E(le, {
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(Z),
1283
1283
  onClick: t
1284
1284
  }, {
1285
- icon: m(() => [b("div", sn, [
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
- 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
- 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)
1285
+ icon: h(() => [x("div", sn, [
1286
+ x("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
+ x("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
+ x("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)
1289
1289
  ])]),
1290
1290
  _: 2
1291
1291
  }, 1032, [
@@ -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 }) => [S((a(), d(le, s({
1297
+ loading: p(Z),
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
- }, 1040, ["loading", "onClick"])), [[j, { value: e.label }]])]),
1305
+ }, 1040, ["loading", "onClick"])), [[M, { value: e.label }]])]),
1306
1306
  _: 1
1307
- }, 8, ["model", "style"])) : d("", !0),
1308
- T(A, {
1307
+ }, 8, ["model", "style"])) : f("", !0),
1308
+ E(j, {
1309
1309
  ref_key: "menuRef",
1310
- ref: Xe,
1311
- items: f(At),
1310
+ ref: Ye,
1311
+ items: p(jt),
1312
1312
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1313
1313
  }, null, 8, ["items"]),
1314
- T(A, {
1314
+ E(j, {
1315
1315
  ref_key: "cardFitMenuRef",
1316
- ref: $e,
1317
- items: f(vt),
1316
+ ref: Qe,
1317
+ items: p(vt),
1318
1318
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1319
1319
  }, null, 8, ["items"]),
1320
- T(A, {
1320
+ E(j, {
1321
1321
  ref_key: "newViewMenuRef",
1322
- ref: Qe,
1323
- items: f(jt),
1322
+ ref: Ze,
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 };