@camera.ui/server 2.4.1 → 2.4.3

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 (1584) hide show
  1. package/dist/interface/assets/404-DjAi7TGJ.js +1 -0
  2. package/dist/interface/assets/404-DjAi7TGJ.js.br +0 -0
  3. package/dist/interface/assets/404-DjAi7TGJ.js.gz +0 -0
  4. package/dist/interface/assets/About-DgFgNzrr.js +1 -0
  5. package/dist/interface/assets/About-DgFgNzrr.js.br +0 -0
  6. package/dist/interface/assets/About-DgFgNzrr.js.gz +0 -0
  7. package/dist/interface/assets/Assistant-DFyCH8rW.js +1 -0
  8. package/dist/interface/assets/Assistant-DFyCH8rW.js.br +0 -0
  9. package/dist/interface/assets/Assistant-DFyCH8rW.js.gz +0 -0
  10. package/dist/interface/assets/Automation-Y7gnBVsz.js +3 -0
  11. package/dist/interface/assets/Automation-Y7gnBVsz.js.br +0 -0
  12. package/dist/interface/assets/Automation-Y7gnBVsz.js.gz +0 -0
  13. package/dist/interface/assets/AutomationImport-BAWCUNSF.js +2 -0
  14. package/dist/interface/assets/AutomationImport-BAWCUNSF.js.br +0 -0
  15. package/dist/interface/assets/AutomationImport-BAWCUNSF.js.gz +0 -0
  16. package/dist/interface/assets/AutomationStore-CLFRjxqB.js +2 -0
  17. package/dist/interface/assets/AutomationStore-CLFRjxqB.js.br +0 -0
  18. package/dist/interface/assets/AutomationStore-CLFRjxqB.js.gz +0 -0
  19. package/dist/interface/assets/AutomationStoreDetail-Da_OF8Zw.js +2 -0
  20. package/dist/interface/assets/AutomationStoreDetail-Da_OF8Zw.js.br +0 -0
  21. package/dist/interface/assets/AutomationStoreDetail-Da_OF8Zw.js.gz +0 -0
  22. package/dist/interface/assets/Automations-Dj4vxoes.js +2 -0
  23. package/dist/interface/assets/Automations-Dj4vxoes.js.br +0 -0
  24. package/dist/interface/assets/Automations-Dj4vxoes.js.gz +0 -0
  25. package/dist/interface/assets/BackupRestore-DbHPYoLQ.js +1 -0
  26. package/dist/interface/assets/BackupRestore-DbHPYoLQ.js.br +0 -0
  27. package/dist/interface/assets/BackupRestore-DbHPYoLQ.js.gz +0 -0
  28. package/dist/interface/assets/Camera-DD42OSkZ.js +2 -0
  29. package/dist/interface/assets/Camera-DD42OSkZ.js.br +0 -0
  30. package/dist/interface/assets/Camera-DD42OSkZ.js.gz +0 -0
  31. package/dist/interface/assets/CameraConsole-Cn8I2sC6.js +7 -0
  32. package/dist/interface/assets/CameraConsole-Cn8I2sC6.js.br +0 -0
  33. package/dist/interface/assets/CameraConsole-Cn8I2sC6.js.gz +0 -0
  34. package/dist/interface/assets/Cameras-BA4ZtLCN.js +651 -0
  35. package/dist/interface/assets/Cameras-BA4ZtLCN.js.br +0 -0
  36. package/dist/interface/assets/Cameras-BA4ZtLCN.js.gz +0 -0
  37. package/dist/interface/assets/Camview-CEEyXExJ.js +1 -0
  38. package/dist/interface/assets/Camview-CEEyXExJ.js.br +0 -0
  39. package/dist/interface/assets/Camview-CEEyXExJ.js.gz +0 -0
  40. package/dist/interface/assets/Config-7VDhtZly.js +2 -0
  41. package/dist/interface/assets/Config-7VDhtZly.js.br +0 -0
  42. package/dist/interface/assets/Config-7VDhtZly.js.gz +0 -0
  43. package/dist/interface/assets/ConfigActionAssistant-B_v8QtHd.js +1 -0
  44. package/dist/interface/assets/ConfigActionAssistant-B_v8QtHd.js.br +0 -0
  45. package/dist/interface/assets/ConfigActionAssistant-B_v8QtHd.js.gz +0 -0
  46. package/dist/interface/assets/ConfigActionCameraControl-Cp9htIfC.js +1 -0
  47. package/dist/interface/assets/ConfigActionCameraControl-Cp9htIfC.js.br +0 -0
  48. package/dist/interface/assets/ConfigActionCameraControl-Cp9htIfC.js.gz +0 -0
  49. package/dist/interface/assets/ConfigActionHttp-BrzVENpN.js +1 -0
  50. package/dist/interface/assets/ConfigActionHttp-BrzVENpN.js.br +0 -0
  51. package/dist/interface/assets/ConfigActionHttp-BrzVENpN.js.gz +0 -0
  52. package/dist/interface/assets/ConfigActionImageInput-CH0TW4SM.js +1 -0
  53. package/dist/interface/assets/ConfigActionImageInput-CH0TW4SM.js.br +0 -0
  54. package/dist/interface/assets/ConfigActionImageInput-CH0TW4SM.js.gz +0 -0
  55. package/dist/interface/assets/ConfigActionMqtt-CCMPJXSw.js +1 -0
  56. package/dist/interface/assets/ConfigActionMqtt-CCMPJXSw.js.br +0 -0
  57. package/dist/interface/assets/ConfigActionMqtt-CCMPJXSw.js.gz +0 -0
  58. package/dist/interface/assets/ConfigActionNotification-C2Tu80Lc.js +1 -0
  59. package/dist/interface/assets/ConfigActionNotification-C2Tu80Lc.js.br +0 -0
  60. package/dist/interface/assets/ConfigActionNotification-C2Tu80Lc.js.gz +0 -0
  61. package/dist/interface/assets/ConfigActionNotificationControl-CgED5yJ1.js +1 -0
  62. package/dist/interface/assets/ConfigActionNotificationControl-CgED5yJ1.js.br +0 -0
  63. package/dist/interface/assets/ConfigActionNotificationControl-CgED5yJ1.js.gz +0 -0
  64. package/dist/interface/assets/ConfigActionOutput-CCl-Kmbr.js +1 -0
  65. package/dist/interface/assets/ConfigActionOutput-CCl-Kmbr.js.br +0 -0
  66. package/dist/interface/assets/ConfigActionOutput-CCl-Kmbr.js.gz +0 -0
  67. package/dist/interface/assets/ConfigActionPlugin-D0mqVxPX.js +1 -0
  68. package/dist/interface/assets/ConfigActionPlugin-D0mqVxPX.js.br +0 -0
  69. package/dist/interface/assets/ConfigActionPlugin-D0mqVxPX.js.gz +0 -0
  70. package/dist/interface/assets/ConfigActionSensor-e7FD2s99.js +1 -0
  71. package/dist/interface/assets/ConfigActionSensor-e7FD2s99.js.br +0 -0
  72. package/dist/interface/assets/ConfigActionSensor-e7FD2s99.js.gz +0 -0
  73. package/dist/interface/assets/ConfigActionSnapshot-i5bUsx36.js +1 -0
  74. package/dist/interface/assets/ConfigActionSnapshot-i5bUsx36.js.br +0 -0
  75. package/dist/interface/assets/ConfigActionSnapshot-i5bUsx36.js.gz +0 -0
  76. package/dist/interface/assets/ConfigActionVariable-CVLSQ7C-.js +1 -0
  77. package/dist/interface/assets/ConfigActionVariable-CVLSQ7C-.js.br +0 -0
  78. package/dist/interface/assets/ConfigActionVariable-CVLSQ7C-.js.gz +0 -0
  79. package/dist/interface/assets/ConfigConditionIfElse-CiBQjdcM.js +1 -0
  80. package/dist/interface/assets/ConfigConditionIfElse-CiBQjdcM.js.br +0 -0
  81. package/dist/interface/assets/ConfigConditionIfElse-CiBQjdcM.js.gz +0 -0
  82. package/dist/interface/assets/ConfigConditionSensorState-BsoyEGCq.js +1 -0
  83. package/dist/interface/assets/ConfigConditionSensorState-BsoyEGCq.js.br +0 -0
  84. package/dist/interface/assets/ConfigConditionSensorState-BsoyEGCq.js.gz +0 -0
  85. package/dist/interface/assets/ConfigConditionSwitch-B_nuglnE.js +1 -0
  86. package/dist/interface/assets/ConfigConditionSwitch-B_nuglnE.js.br +0 -0
  87. package/dist/interface/assets/ConfigConditionSwitch-B_nuglnE.js.gz +0 -0
  88. package/dist/interface/assets/ConfigSensorValueInput-CUbuCYJc.js +1 -0
  89. package/dist/interface/assets/ConfigSensorValueInput-CUbuCYJc.js.br +0 -0
  90. package/dist/interface/assets/ConfigSensorValueInput-CUbuCYJc.js.gz +0 -0
  91. package/dist/interface/assets/ConfigTriggerDetection-Bl8KDz38.js +1 -0
  92. package/dist/interface/assets/ConfigTriggerDetection-Bl8KDz38.js.br +0 -0
  93. package/dist/interface/assets/ConfigTriggerDetection-Bl8KDz38.js.gz +0 -0
  94. package/dist/interface/assets/ConfigTriggerGeofence-Cq2fqDc1.js +1 -0
  95. package/dist/interface/assets/ConfigTriggerGeofence-Cq2fqDc1.js.br +0 -0
  96. package/dist/interface/assets/ConfigTriggerGeofence-Cq2fqDc1.js.gz +0 -0
  97. package/dist/interface/assets/ConfigTriggerMqtt-CxJ2kuT0.js +1 -0
  98. package/dist/interface/assets/ConfigTriggerMqtt-CxJ2kuT0.js.br +0 -0
  99. package/dist/interface/assets/ConfigTriggerMqtt-CxJ2kuT0.js.gz +0 -0
  100. package/dist/interface/assets/ConfigTriggerSensor-rxkiy0es.js +1 -0
  101. package/dist/interface/assets/ConfigTriggerSensor-rxkiy0es.js.br +0 -0
  102. package/dist/interface/assets/ConfigTriggerSensor-rxkiy0es.js.gz +0 -0
  103. package/dist/interface/assets/ConfigTriggerSystem-ZqkR-n7U.js +1 -0
  104. package/dist/interface/assets/ConfigTriggerSystem-ZqkR-n7U.js.br +0 -0
  105. package/dist/interface/assets/ConfigTriggerSystem-ZqkR-n7U.js.gz +0 -0
  106. package/dist/interface/assets/ConfigTriggerWebhook-Bwk3dOMV.js +1 -0
  107. package/dist/interface/assets/ConfigTriggerWebhook-Bwk3dOMV.js.br +0 -0
  108. package/dist/interface/assets/ConfigTriggerWebhook-Bwk3dOMV.js.gz +0 -0
  109. package/dist/interface/assets/Console-B1IGz3XF.js +1 -0
  110. package/dist/interface/assets/Console-B1IGz3XF.js.br +0 -0
  111. package/dist/interface/assets/Console-B1IGz3XF.js.gz +0 -0
  112. package/dist/interface/assets/CuiAssistantConversation-COHgYzWP.js +5 -0
  113. package/dist/interface/assets/CuiAssistantConversation-COHgYzWP.js.br +0 -0
  114. package/dist/interface/assets/CuiAssistantConversation-COHgYzWP.js.gz +0 -0
  115. package/dist/interface/assets/CuiAutomationRunsDialog-DHCxr6ag.js +1 -0
  116. package/dist/interface/assets/CuiAutomationRunsDialog-DHCxr6ag.js.br +0 -0
  117. package/dist/interface/assets/CuiAutomationRunsDialog-DHCxr6ag.js.gz +0 -0
  118. package/dist/interface/assets/CuiBottomSheet-BYifCbSl.js +1 -0
  119. package/dist/interface/assets/CuiBottomSheet-BYifCbSl.js.br +0 -0
  120. package/dist/interface/assets/CuiBottomSheet-BYifCbSl.js.gz +0 -0
  121. package/dist/interface/assets/CuiBottomSheet-Dlk-laff.js +1 -0
  122. package/dist/interface/assets/CuiBottomSheet-Dlk-laff.js.br +0 -0
  123. package/dist/interface/assets/CuiBottomSheet-Dlk-laff.js.gz +0 -0
  124. package/dist/interface/assets/CuiCameraPipCard-DiAAKOB3.js +1 -0
  125. package/dist/interface/assets/CuiCameraPipCard-DiAAKOB3.js.br +0 -0
  126. package/dist/interface/assets/CuiCameraPipCard-DiAAKOB3.js.gz +0 -0
  127. package/dist/interface/assets/CuiCameraRecordings-cr_gatvr.js +1 -0
  128. package/dist/interface/assets/CuiCameraRecordings-cr_gatvr.js.br +0 -0
  129. package/dist/interface/assets/CuiCameraRecordings-cr_gatvr.js.gz +0 -0
  130. package/dist/interface/assets/CuiCameraShares-Bs0rA-xA.js +1 -0
  131. package/dist/interface/assets/CuiCameraShares-Bs0rA-xA.js.br +0 -0
  132. package/dist/interface/assets/CuiCameraShares-Bs0rA-xA.js.gz +0 -0
  133. package/dist/interface/assets/CuiCameraTable-CMQYM_iK.js +2 -0
  134. package/dist/interface/assets/CuiCameraTable-CMQYM_iK.js.br +0 -0
  135. package/dist/interface/assets/CuiCameraTable-CMQYM_iK.js.gz +0 -0
  136. package/dist/interface/assets/CuiCameraTable-Zn0xVNzU.js +1 -0
  137. package/dist/interface/assets/CuiCameraTable-Zn0xVNzU.js.br +1 -0
  138. package/dist/interface/assets/CuiCameraTable-Zn0xVNzU.js.gz +0 -0
  139. package/dist/interface/assets/CuiChartTable-Dnr59YcD.js +1 -0
  140. package/dist/interface/assets/CuiChartTable-Dnr59YcD.js.br +0 -0
  141. package/dist/interface/assets/CuiChartTable-Dnr59YcD.js.gz +0 -0
  142. package/dist/interface/assets/CuiConsole-DvxwlxJS.js +5 -0
  143. package/dist/interface/assets/CuiConsole-DvxwlxJS.js.br +0 -0
  144. package/dist/interface/assets/CuiConsole-DvxwlxJS.js.gz +0 -0
  145. package/dist/interface/assets/CuiDataTable-UUvO2yqR.js +1 -0
  146. package/dist/interface/assets/CuiDataTable-UUvO2yqR.js.br +0 -0
  147. package/dist/interface/assets/CuiDataTable-UUvO2yqR.js.gz +0 -0
  148. package/dist/interface/assets/CuiLightControl-X27HMxwD.js +1 -0
  149. package/dist/interface/assets/CuiLightControl-X27HMxwD.js.br +0 -0
  150. package/dist/interface/assets/CuiLightControl-X27HMxwD.js.gz +0 -0
  151. package/dist/interface/assets/CuiMoveCodeForm-D8tUtI-h.js +1 -0
  152. package/dist/interface/assets/CuiMoveCodeForm-D8tUtI-h.js.br +0 -0
  153. package/dist/interface/assets/CuiMoveCodeForm-D8tUtI-h.js.gz +0 -0
  154. package/dist/interface/assets/CuiPluginCard-quiY2N5M.js +2 -0
  155. package/dist/interface/assets/CuiPluginCard-quiY2N5M.js.br +0 -0
  156. package/dist/interface/assets/CuiPluginCard-quiY2N5M.js.gz +0 -0
  157. package/dist/interface/assets/CuiPluginCategoryChip-TPE8kEfF.js +1 -0
  158. package/dist/interface/assets/CuiPluginCategoryChip-TPE8kEfF.js.br +0 -0
  159. package/dist/interface/assets/CuiPluginCategoryChip-TPE8kEfF.js.gz +0 -0
  160. package/dist/interface/assets/CuiPluginOAuthButton-OAaZwA8I.js +2 -0
  161. package/dist/interface/assets/CuiPluginOAuthButton-OAaZwA8I.js.br +0 -0
  162. package/dist/interface/assets/CuiPluginOAuthButton-OAaZwA8I.js.gz +0 -0
  163. package/dist/interface/assets/CuiPluginTrustBadge-DGE2Rk83.js +1 -0
  164. package/dist/interface/assets/CuiPluginTrustBadge-DGE2Rk83.js.br +0 -0
  165. package/dist/interface/assets/CuiPluginTrustBadge-DGE2Rk83.js.gz +0 -0
  166. package/dist/interface/assets/CuiQRCode-lR7MLV88.js +1 -0
  167. package/dist/interface/assets/CuiQRCode-lR7MLV88.js.br +0 -0
  168. package/dist/interface/assets/CuiQRCode-lR7MLV88.js.gz +0 -0
  169. package/dist/interface/assets/CuiSchema-XtfUw6ph.js +1 -0
  170. package/dist/interface/assets/CuiSchema-XtfUw6ph.js.br +0 -0
  171. package/dist/interface/assets/CuiSchema-XtfUw6ph.js.gz +0 -0
  172. package/dist/interface/assets/CuiTopNavbarItem-DTcQlETL.js +1 -0
  173. package/dist/interface/assets/CuiTopNavbarItem-DTcQlETL.js.br +0 -0
  174. package/dist/interface/assets/CuiTopNavbarItem-DTcQlETL.js.gz +0 -0
  175. package/dist/interface/assets/Faces-CTGfzxVA.js +1 -0
  176. package/dist/interface/assets/Faces-CTGfzxVA.js.br +0 -0
  177. package/dist/interface/assets/Faces-CTGfzxVA.js.gz +0 -0
  178. package/dist/interface/assets/FirstSteps-Co4eY2L1.js +1 -0
  179. package/dist/interface/assets/FirstSteps-Co4eY2L1.js.br +0 -0
  180. package/dist/interface/assets/FirstSteps-Co4eY2L1.js.gz +0 -0
  181. package/dist/interface/assets/Floorplan-DKNUfJ1z.js +1 -0
  182. package/dist/interface/assets/Floorplan-DKNUfJ1z.js.br +0 -0
  183. package/dist/interface/assets/Floorplan-DKNUfJ1z.js.gz +0 -0
  184. package/dist/interface/assets/Instances-s7y4bMLZ.js +1 -0
  185. package/dist/interface/assets/Instances-s7y4bMLZ.js.br +0 -0
  186. package/dist/interface/assets/Instances-s7y4bMLZ.js.gz +0 -0
  187. package/dist/interface/assets/Logs-LXnQHfYz.js +6 -0
  188. package/dist/interface/assets/Logs-LXnQHfYz.js.br +0 -0
  189. package/dist/interface/assets/Logs-LXnQHfYz.js.gz +0 -0
  190. package/dist/interface/assets/Menu-CUBh0as4.js +1 -0
  191. package/dist/interface/assets/Menu-CUBh0as4.js.br +0 -0
  192. package/dist/interface/assets/Menu-CUBh0as4.js.gz +0 -0
  193. package/dist/interface/assets/Metrics-BZeB3ViS.js +12 -0
  194. package/dist/interface/assets/Metrics-BZeB3ViS.js.br +0 -0
  195. package/dist/interface/assets/Metrics-BZeB3ViS.js.gz +0 -0
  196. package/dist/interface/assets/OAuthDeviceFlow-B4UyugZs.js +1 -0
  197. package/dist/interface/assets/OAuthDeviceFlow-B4UyugZs.js.br +0 -0
  198. package/dist/interface/assets/OAuthDeviceFlow-B4UyugZs.js.gz +0 -0
  199. package/dist/interface/assets/Plugin-tIUUIABi.js +1 -0
  200. package/dist/interface/assets/Plugin-tIUUIABi.js.br +0 -0
  201. package/dist/interface/assets/Plugin-tIUUIABi.js.gz +0 -0
  202. package/dist/interface/assets/PluginConsole-BNnLHoE0.js +7 -0
  203. package/dist/interface/assets/PluginConsole-BNnLHoE0.js.br +4 -0
  204. package/dist/interface/assets/PluginConsole-BNnLHoE0.js.gz +0 -0
  205. package/dist/interface/assets/PluginDetail-BNNHJ6VT.js +2 -0
  206. package/dist/interface/assets/PluginDetail-BNNHJ6VT.js.br +0 -0
  207. package/dist/interface/assets/PluginDetail-BNNHJ6VT.js.gz +0 -0
  208. package/dist/interface/assets/PluginSchema-BRhnXEuo.js +1 -0
  209. package/dist/interface/assets/PluginSchema-BRhnXEuo.js.br +0 -0
  210. package/dist/interface/assets/PluginSchema-BRhnXEuo.js.gz +0 -0
  211. package/dist/interface/assets/PluginSearch-C4enqdv2.js +2 -0
  212. package/dist/interface/assets/PluginSearch-C4enqdv2.js.br +0 -0
  213. package/dist/interface/assets/PluginSearch-C4enqdv2.js.gz +0 -0
  214. package/dist/interface/assets/PluginSearch-C7HjU4oV.js +1 -0
  215. package/dist/interface/assets/PluginSearch-C7HjU4oV.js.br +1 -0
  216. package/dist/interface/assets/PluginSearch-C7HjU4oV.js.gz +0 -0
  217. package/dist/interface/assets/PluginUpdateProgress-DpJR1951.js +1 -0
  218. package/dist/interface/assets/PluginUpdateProgress-DpJR1951.js.br +0 -0
  219. package/dist/interface/assets/PluginUpdateProgress-DpJR1951.js.gz +0 -0
  220. package/dist/interface/assets/Plugins-d4IPovAj.js +1 -0
  221. package/dist/interface/assets/Plugins-d4IPovAj.js.br +0 -0
  222. package/dist/interface/assets/Plugins-d4IPovAj.js.gz +0 -0
  223. package/dist/interface/assets/RecentEventsFilter-CjRJnw2W.js +1 -0
  224. package/dist/interface/assets/RecentEventsFilter-CjRJnw2W.js.br +0 -0
  225. package/dist/interface/assets/RecentEventsFilter-CjRJnw2W.js.gz +0 -0
  226. package/dist/interface/assets/Recordings-0XmIQL9c.js +1 -0
  227. package/dist/interface/assets/Recordings-0XmIQL9c.js.br +0 -0
  228. package/dist/interface/assets/Recordings-0XmIQL9c.js.gz +0 -0
  229. package/dist/interface/assets/SensorEdit-9nlxNGSS.js +1 -0
  230. package/dist/interface/assets/SensorEdit-9nlxNGSS.js.br +0 -0
  231. package/dist/interface/assets/SensorEdit-9nlxNGSS.js.gz +0 -0
  232. package/dist/interface/assets/SensorHistory-DHa4mmXp.js +1 -0
  233. package/dist/interface/assets/SensorHistory-DHa4mmXp.js.br +0 -0
  234. package/dist/interface/assets/SensorHistory-DHa4mmXp.js.gz +0 -0
  235. package/dist/interface/assets/Sensors-BkI7JNPH.js +2 -0
  236. package/dist/interface/assets/Sensors-BkI7JNPH.js.br +0 -0
  237. package/dist/interface/assets/Sensors-BkI7JNPH.js.gz +0 -0
  238. package/dist/interface/assets/Settings-B4-Rn_Fh.js +1 -0
  239. package/dist/interface/assets/Settings-B4-Rn_Fh.js.br +0 -0
  240. package/dist/interface/assets/Settings-B4-Rn_Fh.js.gz +0 -0
  241. package/dist/interface/assets/SettingsAccount-7Yd2_xCe.js +1 -0
  242. package/dist/interface/assets/SettingsAccount-7Yd2_xCe.js.br +0 -0
  243. package/dist/interface/assets/SettingsAccount-7Yd2_xCe.js.gz +0 -0
  244. package/dist/interface/assets/SettingsAccount-C5TbJjlz.css +1 -0
  245. package/dist/interface/assets/SettingsAccount-C5TbJjlz.css.br +0 -0
  246. package/dist/interface/assets/SettingsAccount-C5TbJjlz.css.gz +0 -0
  247. package/dist/interface/assets/SettingsAccount-Cp56tnsV.js +1 -0
  248. package/dist/interface/assets/SettingsAccount-Cp56tnsV.js.br +0 -0
  249. package/dist/interface/assets/SettingsAccount-Cp56tnsV.js.gz +0 -0
  250. package/dist/interface/assets/SettingsAppearance-BWnr6fl7.js +1 -0
  251. package/dist/interface/assets/SettingsAppearance-BWnr6fl7.js.br +0 -0
  252. package/dist/interface/assets/SettingsAppearance-BWnr6fl7.js.gz +0 -0
  253. package/dist/interface/assets/SettingsAppearance-Bna45w8P.js +1 -0
  254. package/dist/interface/assets/SettingsAppearance-Bna45w8P.js.br +0 -0
  255. package/dist/interface/assets/SettingsAppearance-Bna45w8P.js.gz +0 -0
  256. package/dist/interface/assets/SettingsAssistant-Dy_fTPCt.js +1 -0
  257. package/dist/interface/assets/SettingsAssistant-Dy_fTPCt.js.br +0 -0
  258. package/dist/interface/assets/SettingsAssistant-Dy_fTPCt.js.gz +0 -0
  259. package/dist/interface/assets/SettingsBackup-DCW1lM-Z.js +1 -0
  260. package/dist/interface/assets/SettingsBackup-DCW1lM-Z.js.br +0 -0
  261. package/dist/interface/assets/SettingsBackup-DCW1lM-Z.js.gz +0 -0
  262. package/dist/interface/assets/SettingsList-DcvafqMi.js +1 -0
  263. package/dist/interface/assets/SettingsList-DcvafqMi.js.br +0 -0
  264. package/dist/interface/assets/SettingsList-DcvafqMi.js.gz +0 -0
  265. package/dist/interface/assets/SettingsMqtt-BuPLGzAI.js +1 -0
  266. package/dist/interface/assets/SettingsMqtt-BuPLGzAI.js.br +0 -0
  267. package/dist/interface/assets/SettingsMqtt-BuPLGzAI.js.gz +0 -0
  268. package/dist/interface/assets/SettingsNotifications-CtXPMwEL.js +1 -0
  269. package/dist/interface/assets/SettingsNotifications-CtXPMwEL.js.br +0 -0
  270. package/dist/interface/assets/SettingsNotifications-CtXPMwEL.js.gz +0 -0
  271. package/dist/interface/assets/SettingsPermissions-CskWvMC-.js +1 -0
  272. package/dist/interface/assets/SettingsPermissions-CskWvMC-.js.br +0 -0
  273. package/dist/interface/assets/SettingsPermissions-CskWvMC-.js.gz +0 -0
  274. package/dist/interface/assets/SettingsRecordings-Cw3hykd4.js +1 -0
  275. package/dist/interface/assets/SettingsRecordings-Cw3hykd4.js.br +0 -0
  276. package/dist/interface/assets/SettingsRecordings-Cw3hykd4.js.gz +0 -0
  277. package/dist/interface/assets/SettingsRemote-C5pT1BpH.js +2 -0
  278. package/dist/interface/assets/SettingsRemote-C5pT1BpH.js.br +0 -0
  279. package/dist/interface/assets/SettingsRemote-C5pT1BpH.js.gz +0 -0
  280. package/dist/interface/assets/SettingsSystem-CPpKePdR.js +2 -0
  281. package/dist/interface/assets/SettingsSystem-CPpKePdR.js.br +0 -0
  282. package/dist/interface/assets/SettingsSystem-CPpKePdR.js.gz +0 -0
  283. package/dist/interface/assets/SettingsUsers-DHyf9Fh2.js +1 -0
  284. package/dist/interface/assets/SettingsUsers-DHyf9Fh2.js.br +0 -0
  285. package/dist/interface/assets/SettingsUsers-DHyf9Fh2.js.gz +0 -0
  286. package/dist/interface/assets/Terminal-PSzgxyUK.js +4 -0
  287. package/dist/interface/assets/Terminal-PSzgxyUK.js.br +0 -0
  288. package/dist/interface/assets/Terminal-PSzgxyUK.js.gz +0 -0
  289. package/dist/interface/assets/Training-B8y5oggc.js +1 -0
  290. package/dist/interface/assets/Training-B8y5oggc.js.br +0 -0
  291. package/dist/interface/assets/Training-B8y5oggc.js.gz +0 -0
  292. package/dist/interface/assets/Updates-DM0Q2isz.js +2 -0
  293. package/dist/interface/assets/Updates-DM0Q2isz.js.br +0 -0
  294. package/dist/interface/assets/Updates-DM0Q2isz.js.gz +0 -0
  295. package/dist/interface/assets/VariableInput-CEEKNFMa.js +1 -0
  296. package/dist/interface/assets/VariableInput-CEEKNFMa.js.br +0 -0
  297. package/dist/interface/assets/VariableInput-CEEKNFMa.js.gz +0 -0
  298. package/dist/interface/assets/VersionsHandler-BX_H4fKa.js +7 -0
  299. package/dist/interface/assets/VersionsHandler-BX_H4fKa.js.br +0 -0
  300. package/dist/interface/assets/VersionsHandler-BX_H4fKa.js.gz +0 -0
  301. package/dist/interface/assets/VirtualSensorCreate-V1Ge5Ua1.js +1 -0
  302. package/dist/interface/assets/VirtualSensorCreate-V1Ge5Ua1.js.br +0 -0
  303. package/dist/interface/assets/VirtualSensorCreate-V1Ge5Ua1.js.gz +0 -0
  304. package/dist/interface/assets/Workers-CuICoAdY.js +2 -0
  305. package/dist/interface/assets/Workers-CuICoAdY.js.br +0 -0
  306. package/dist/interface/assets/Workers-CuICoAdY.js.gz +0 -0
  307. package/dist/interface/assets/api-DrGMJXjR.js +1 -0
  308. package/dist/interface/assets/api-DrGMJXjR.js.br +0 -0
  309. package/dist/interface/assets/api-DrGMJXjR.js.gz +0 -0
  310. package/dist/interface/assets/api-TS3iFwhp.js +4 -0
  311. package/dist/interface/assets/api-TS3iFwhp.js.br +0 -0
  312. package/dist/interface/assets/api-TS3iFwhp.js.gz +0 -0
  313. package/dist/interface/assets/api-bOGDCWMd.css +2 -0
  314. package/dist/interface/assets/api-bOGDCWMd.css.br +0 -0
  315. package/dist/interface/assets/api-bOGDCWMd.css.gz +0 -0
  316. package/dist/interface/assets/assistant-BPhn6mY4.js +1 -0
  317. package/dist/interface/assets/assistant-BPhn6mY4.js.br +0 -0
  318. package/dist/interface/assets/assistant-BPhn6mY4.js.gz +0 -0
  319. package/dist/interface/assets/auth-DIf-rMc2.js +1 -0
  320. package/dist/interface/assets/auth-DIf-rMc2.js.br +0 -0
  321. package/dist/interface/assets/auth-DIf-rMc2.js.gz +0 -0
  322. package/dist/interface/assets/automations-LH5xFY2x.js +1 -0
  323. package/dist/interface/assets/automations-LH5xFY2x.js.br +0 -0
  324. package/dist/interface/assets/automations-LH5xFY2x.js.gz +0 -0
  325. package/dist/interface/assets/cameraSources-DlHjs6nH.js +1 -0
  326. package/dist/interface/assets/cameraSources-DlHjs6nH.js.br +0 -0
  327. package/dist/interface/assets/cameraSources-DlHjs6nH.js.gz +0 -0
  328. package/dist/interface/assets/cloudHandoff-CVVUJLRm.js +1 -0
  329. package/dist/interface/assets/cloudHandoff-CVVUJLRm.js.br +1 -0
  330. package/dist/interface/assets/cloudHandoff-CVVUJLRm.js.gz +0 -0
  331. package/dist/interface/assets/config-DN5_kiR_.js +1 -0
  332. package/dist/interface/assets/config-DN5_kiR_.js.br +0 -0
  333. package/dist/interface/assets/config-DN5_kiR_.js.gz +0 -0
  334. package/dist/interface/assets/flowSchema-Bmgr2vJ6.js +1 -0
  335. package/dist/interface/assets/flowSchema-Bmgr2vJ6.js.br +0 -0
  336. package/dist/interface/assets/flowSchema-Bmgr2vJ6.js.gz +0 -0
  337. package/dist/interface/assets/intercomService-Dmpnyb2n.js +1 -0
  338. package/dist/interface/assets/intercomService-Dmpnyb2n.js.br +0 -0
  339. package/dist/interface/assets/intercomService-Dmpnyb2n.js.gz +0 -0
  340. package/dist/interface/assets/main-CfVKT9Ae.js +3 -0
  341. package/dist/interface/assets/main-CfVKT9Ae.js.br +0 -0
  342. package/dist/interface/assets/main-CfVKT9Ae.js.gz +0 -0
  343. package/dist/interface/assets/mqtt-BQ12PoIy.js +1 -0
  344. package/dist/interface/assets/mqtt-BQ12PoIy.js.br +3 -0
  345. package/dist/interface/assets/mqtt-BQ12PoIy.js.gz +0 -0
  346. package/dist/interface/assets/notifications-BboM5nUI.js +1 -0
  347. package/dist/interface/assets/notifications-BboM5nUI.js.br +0 -0
  348. package/dist/interface/assets/notifications-BboM5nUI.js.gz +0 -0
  349. package/dist/interface/assets/plugins-DYcMG0ja.js +1 -0
  350. package/dist/interface/assets/plugins-DYcMG0ja.js.br +0 -0
  351. package/dist/interface/assets/plugins-DYcMG0ja.js.gz +0 -0
  352. package/dist/interface/assets/rooms-D19GFS0T.js +1 -0
  353. package/dist/interface/assets/rooms-D19GFS0T.js.br +4 -0
  354. package/dist/interface/assets/rooms-D19GFS0T.js.gz +0 -0
  355. package/dist/interface/assets/sensorIcons-CG4oAxFn.js +1 -0
  356. package/dist/interface/assets/sensorIcons-CG4oAxFn.js.br +0 -0
  357. package/dist/interface/assets/sensorIcons-CG4oAxFn.js.gz +0 -0
  358. package/dist/interface/assets/sensorSlots-W8up8ZKb.js +1 -0
  359. package/dist/interface/assets/sensorSlots-W8up8ZKb.js.br +1 -0
  360. package/dist/interface/assets/sensorSlots-W8up8ZKb.js.gz +0 -0
  361. package/dist/interface/assets/sensors-BV0Trrvb.js +1 -0
  362. package/dist/interface/assets/sensors-BV0Trrvb.js.br +0 -0
  363. package/dist/interface/assets/sensors-BV0Trrvb.js.gz +0 -0
  364. package/dist/interface/assets/server-DK3nj5jh.js +1 -0
  365. package/dist/interface/assets/server-DK3nj5jh.js.br +0 -0
  366. package/dist/interface/assets/server-DK3nj5jh.js.gz +0 -0
  367. package/dist/interface/assets/theme-1Z9zEekC.js +1 -0
  368. package/dist/interface/assets/theme-1Z9zEekC.js.br +0 -0
  369. package/dist/interface/assets/theme-1Z9zEekC.js.gz +0 -0
  370. package/dist/interface/assets/types-B2RZ2n73.js +1 -0
  371. package/dist/interface/assets/types-B2RZ2n73.js.br +0 -0
  372. package/dist/interface/assets/types-B2RZ2n73.js.gz +0 -0
  373. package/dist/interface/assets/types-C4g382tE.js +1 -0
  374. package/dist/interface/assets/types-C4g382tE.js.br +0 -0
  375. package/dist/interface/assets/types-C4g382tE.js.gz +0 -0
  376. package/dist/interface/assets/types-CWY4rVYg.js +1 -0
  377. package/dist/interface/assets/types-CWY4rVYg.js.br +0 -0
  378. package/dist/interface/assets/types-CWY4rVYg.js.gz +0 -0
  379. package/dist/interface/assets/updates-C8KPyVl4.js +2 -0
  380. package/dist/interface/assets/updates-C8KPyVl4.js.br +0 -0
  381. package/dist/interface/assets/updates-C8KPyVl4.js.gz +0 -0
  382. package/dist/interface/assets/useAppVersion-B5cYcDW5.js +1 -0
  383. package/dist/interface/assets/useAppVersion-B5cYcDW5.js.br +0 -0
  384. package/dist/interface/assets/useAppVersion-B5cYcDW5.js.gz +0 -0
  385. package/dist/interface/assets/useCameraOptions-DnC7rx7V.js +1 -0
  386. package/dist/interface/assets/useCameraOptions-DnC7rx7V.js.br +0 -0
  387. package/dist/interface/assets/useCameraOptions-DnC7rx7V.js.gz +0 -0
  388. package/dist/interface/assets/useKeyboardInset-DzWAPvpD.js +1 -0
  389. package/dist/interface/assets/useKeyboardInset-DzWAPvpD.js.br +0 -0
  390. package/dist/interface/assets/useKeyboardInset-DzWAPvpD.js.gz +0 -0
  391. package/dist/interface/assets/useLogsSocket-DRCl-9rN.js +1 -0
  392. package/dist/interface/assets/useLogsSocket-DRCl-9rN.js.br +0 -0
  393. package/dist/interface/assets/useLogsSocket-DRCl-9rN.js.gz +0 -0
  394. package/dist/interface/assets/useNavLayout-DNoKsxiD.js +1 -0
  395. package/dist/interface/assets/useNavLayout-DNoKsxiD.js.br +0 -0
  396. package/dist/interface/assets/useNavLayout-DNoKsxiD.js.gz +0 -0
  397. package/dist/interface/assets/usePermissions-BhN_r4yu.js +1 -0
  398. package/dist/interface/assets/usePermissions-BhN_r4yu.js.br +0 -0
  399. package/dist/interface/assets/usePermissions-BhN_r4yu.js.gz +0 -0
  400. package/dist/interface/assets/usePlacementLabel-Dnd48LTa.js +1 -0
  401. package/dist/interface/assets/usePlacementLabel-Dnd48LTa.js.br +0 -0
  402. package/dist/interface/assets/usePlacementLabel-Dnd48LTa.js.gz +0 -0
  403. package/dist/interface/assets/usePlacementSocket-DyS_dG0O.js +1 -0
  404. package/dist/interface/assets/usePlacementSocket-DyS_dG0O.js.br +0 -0
  405. package/dist/interface/assets/usePlacementSocket-DyS_dG0O.js.gz +0 -0
  406. package/dist/interface/assets/usePluginUpdates-C9KRZVbI.js +1 -0
  407. package/dist/interface/assets/usePluginUpdates-C9KRZVbI.js.br +0 -0
  408. package/dist/interface/assets/usePluginUpdates-C9KRZVbI.js.gz +0 -0
  409. package/dist/interface/assets/usePluginsSocket-Dkrwgo_a.js +1 -0
  410. package/dist/interface/assets/usePluginsSocket-Dkrwgo_a.js.br +0 -0
  411. package/dist/interface/assets/usePluginsSocket-Dkrwgo_a.js.gz +0 -0
  412. package/dist/interface/assets/usePushRegistration-419l1m2J.js +2 -0
  413. package/dist/interface/assets/usePushRegistration-419l1m2J.js.br +0 -0
  414. package/dist/interface/assets/usePushRegistration-419l1m2J.js.gz +0 -0
  415. package/dist/interface/assets/useServerRestart-svjj-eQC.js +1 -0
  416. package/dist/interface/assets/useServerRestart-svjj-eQC.js.br +0 -0
  417. package/dist/interface/assets/useServerRestart-svjj-eQC.js.gz +0 -0
  418. package/dist/interface/assets/useTabSwipe-Bdr_wGrE.js +1 -0
  419. package/dist/interface/assets/useTabSwipe-Bdr_wGrE.js.br +0 -0
  420. package/dist/interface/assets/useTabSwipe-Bdr_wGrE.js.gz +0 -0
  421. package/dist/interface/assets/useUpdateChannel-DWQGivak.js +1 -0
  422. package/dist/interface/assets/useUpdateChannel-DWQGivak.js.br +0 -0
  423. package/dist/interface/assets/useUpdateChannel-DWQGivak.js.gz +0 -0
  424. package/dist/interface/assets/useUpdatesSocket-CjZRZpB7.js +1 -0
  425. package/dist/interface/assets/useUpdatesSocket-CjZRZpB7.js.br +0 -0
  426. package/dist/interface/assets/useUpdatesSocket-CjZRZpB7.js.gz +0 -0
  427. package/dist/interface/assets/useUserOptions-DrUS3Xze.js +1 -0
  428. package/dist/interface/assets/useUserOptions-DrUS3Xze.js.br +0 -0
  429. package/dist/interface/assets/useUserOptions-DrUS3Xze.js.gz +0 -0
  430. package/dist/interface/assets/vendor-cameraui-CA-wgTPI.css +1 -0
  431. package/dist/interface/assets/vendor-cameraui-CA-wgTPI.css.br +0 -0
  432. package/dist/interface/assets/vendor-cameraui-CA-wgTPI.css.gz +0 -0
  433. package/dist/interface/assets/vendor-cameraui-q2C0VTDU.js +8 -0
  434. package/dist/interface/assets/vendor-cameraui-q2C0VTDU.js.br +0 -0
  435. package/dist/interface/assets/vendor-cameraui-q2C0VTDU.js.gz +0 -0
  436. package/dist/interface/ha/404-DjehM4cX.js +60 -0
  437. package/dist/interface/ha/404-DjehM4cX.js.br +0 -0
  438. package/dist/interface/ha/404-DjehM4cX.js.gz +0 -0
  439. package/dist/interface/ha/About-7QAKCCQ6.js +55 -0
  440. package/dist/interface/ha/About-7QAKCCQ6.js.br +0 -0
  441. package/dist/interface/ha/About-7QAKCCQ6.js.gz +0 -0
  442. package/dist/interface/ha/Assistant-DPBU_wvO.js +11071 -0
  443. package/dist/interface/ha/Assistant-DPBU_wvO.js.br +0 -0
  444. package/dist/interface/ha/Assistant-DPBU_wvO.js.gz +0 -0
  445. package/dist/interface/ha/Automation-B5UO1X7C.js +2009 -0
  446. package/dist/interface/ha/Automation-B5UO1X7C.js.br +0 -0
  447. package/dist/interface/ha/Automation-B5UO1X7C.js.gz +0 -0
  448. package/dist/interface/ha/AutomationImport-B8DEpVCU.js +206 -0
  449. package/dist/interface/ha/AutomationImport-B8DEpVCU.js.br +0 -0
  450. package/dist/interface/ha/AutomationImport-B8DEpVCU.js.gz +0 -0
  451. package/dist/interface/ha/AutomationStore-BmBg14D_.js +336 -0
  452. package/dist/interface/ha/AutomationStore-BmBg14D_.js.br +0 -0
  453. package/dist/interface/ha/AutomationStore-BmBg14D_.js.gz +0 -0
  454. package/dist/interface/ha/AutomationStoreDetail-59sw-pNG.js +121 -0
  455. package/dist/interface/ha/AutomationStoreDetail-59sw-pNG.js.br +0 -0
  456. package/dist/interface/ha/AutomationStoreDetail-59sw-pNG.js.gz +0 -0
  457. package/dist/interface/ha/Automations-BtK741c4.js +423 -0
  458. package/dist/interface/ha/Automations-BtK741c4.js.br +0 -0
  459. package/dist/interface/ha/Automations-BtK741c4.js.gz +0 -0
  460. package/dist/interface/ha/Camera-CiTZFMFQ.js +740 -0
  461. package/dist/interface/ha/Camera-CiTZFMFQ.js.br +0 -0
  462. package/dist/interface/ha/Camera-CiTZFMFQ.js.gz +0 -0
  463. package/dist/interface/ha/CameraConsole-BJi2q_9V.js +52 -0
  464. package/dist/interface/ha/CameraConsole-BJi2q_9V.js.br +0 -0
  465. package/dist/interface/ha/CameraConsole-BJi2q_9V.js.gz +0 -0
  466. package/dist/interface/ha/Cameras-DASeyVlX.js +1934 -0
  467. package/dist/interface/ha/Cameras-DASeyVlX.js.br +0 -0
  468. package/dist/interface/ha/Cameras-DASeyVlX.js.gz +0 -0
  469. package/dist/interface/ha/Camview-Y44Q-xB5.js +1368 -0
  470. package/dist/interface/ha/Camview-Y44Q-xB5.js.br +0 -0
  471. package/dist/interface/ha/Camview-Y44Q-xB5.js.gz +0 -0
  472. package/dist/interface/ha/Config-BAu8B37p.js +354 -0
  473. package/dist/interface/ha/Config-BAu8B37p.js.br +0 -0
  474. package/dist/interface/ha/Config-BAu8B37p.js.gz +0 -0
  475. package/dist/interface/ha/ConfigActionAssistant-Bp8uXk0K.js +182 -0
  476. package/dist/interface/ha/ConfigActionAssistant-Bp8uXk0K.js.br +0 -0
  477. package/dist/interface/ha/ConfigActionAssistant-Bp8uXk0K.js.gz +0 -0
  478. package/dist/interface/ha/ConfigActionCameraControl-DqDWLCor.js +152 -0
  479. package/dist/interface/ha/ConfigActionCameraControl-DqDWLCor.js.br +0 -0
  480. package/dist/interface/ha/ConfigActionCameraControl-DqDWLCor.js.gz +0 -0
  481. package/dist/interface/ha/ConfigActionHttp-BkYg5G42.js +134 -0
  482. package/dist/interface/ha/ConfigActionHttp-BkYg5G42.js.br +0 -0
  483. package/dist/interface/ha/ConfigActionHttp-BkYg5G42.js.gz +0 -0
  484. package/dist/interface/ha/ConfigActionImageInput-Clzyk2h-.js +170 -0
  485. package/dist/interface/ha/ConfigActionImageInput-Clzyk2h-.js.br +0 -0
  486. package/dist/interface/ha/ConfigActionImageInput-Clzyk2h-.js.gz +0 -0
  487. package/dist/interface/ha/ConfigActionMqtt-VRCjxrvt.js +78 -0
  488. package/dist/interface/ha/ConfigActionMqtt-VRCjxrvt.js.br +0 -0
  489. package/dist/interface/ha/ConfigActionMqtt-VRCjxrvt.js.gz +0 -0
  490. package/dist/interface/ha/ConfigActionNotification-BOus9sSL.js +198 -0
  491. package/dist/interface/ha/ConfigActionNotification-BOus9sSL.js.br +0 -0
  492. package/dist/interface/ha/ConfigActionNotification-BOus9sSL.js.gz +0 -0
  493. package/dist/interface/ha/ConfigActionNotificationControl-Bv1l2cmQ.js +111 -0
  494. package/dist/interface/ha/ConfigActionNotificationControl-Bv1l2cmQ.js.br +0 -0
  495. package/dist/interface/ha/ConfigActionNotificationControl-Bv1l2cmQ.js.gz +0 -0
  496. package/dist/interface/ha/ConfigActionOutput-Ddyvdl29.js +98 -0
  497. package/dist/interface/ha/ConfigActionOutput-Ddyvdl29.js.br +0 -0
  498. package/dist/interface/ha/ConfigActionOutput-Ddyvdl29.js.gz +0 -0
  499. package/dist/interface/ha/ConfigActionPlugin-Dg39Us-Q.js +171 -0
  500. package/dist/interface/ha/ConfigActionPlugin-Dg39Us-Q.js.br +0 -0
  501. package/dist/interface/ha/ConfigActionPlugin-Dg39Us-Q.js.gz +0 -0
  502. package/dist/interface/ha/ConfigActionSensor-0CCs9Uo9.js +138 -0
  503. package/dist/interface/ha/ConfigActionSensor-0CCs9Uo9.js.br +0 -0
  504. package/dist/interface/ha/ConfigActionSensor-0CCs9Uo9.js.gz +0 -0
  505. package/dist/interface/ha/ConfigActionSnapshot-BA0enH4Z.js +45 -0
  506. package/dist/interface/ha/ConfigActionSnapshot-BA0enH4Z.js.br +0 -0
  507. package/dist/interface/ha/ConfigActionSnapshot-BA0enH4Z.js.gz +0 -0
  508. package/dist/interface/ha/ConfigActionVariable-CYPIufWq.js +88 -0
  509. package/dist/interface/ha/ConfigActionVariable-CYPIufWq.js.br +0 -0
  510. package/dist/interface/ha/ConfigActionVariable-CYPIufWq.js.gz +0 -0
  511. package/dist/interface/ha/ConfigConditionIfElse-kAEiUD8X.js +124 -0
  512. package/dist/interface/ha/ConfigConditionIfElse-kAEiUD8X.js.br +0 -0
  513. package/dist/interface/ha/ConfigConditionIfElse-kAEiUD8X.js.gz +0 -0
  514. package/dist/interface/ha/ConfigConditionSensorState-q-SV43KZ.js +190 -0
  515. package/dist/interface/ha/ConfigConditionSensorState-q-SV43KZ.js.br +0 -0
  516. package/dist/interface/ha/ConfigConditionSensorState-q-SV43KZ.js.gz +0 -0
  517. package/dist/interface/ha/ConfigConditionSwitch-ClzvEDBd.js +128 -0
  518. package/dist/interface/ha/ConfigConditionSwitch-ClzvEDBd.js.br +0 -0
  519. package/dist/interface/ha/ConfigConditionSwitch-ClzvEDBd.js.gz +0 -0
  520. package/dist/interface/ha/ConfigSensorValueInput-DoPctlgm.js +173 -0
  521. package/dist/interface/ha/ConfigSensorValueInput-DoPctlgm.js.br +0 -0
  522. package/dist/interface/ha/ConfigSensorValueInput-DoPctlgm.js.gz +0 -0
  523. package/dist/interface/ha/ConfigTriggerDetection-Dt8J5UrH.js +241 -0
  524. package/dist/interface/ha/ConfigTriggerDetection-Dt8J5UrH.js.br +0 -0
  525. package/dist/interface/ha/ConfigTriggerDetection-Dt8J5UrH.js.gz +0 -0
  526. package/dist/interface/ha/ConfigTriggerGeofence-8-XaZjbB.js +4836 -0
  527. package/dist/interface/ha/ConfigTriggerGeofence-8-XaZjbB.js.br +0 -0
  528. package/dist/interface/ha/ConfigTriggerGeofence-8-XaZjbB.js.gz +0 -0
  529. package/dist/interface/ha/ConfigTriggerMqtt-gsc4gQwU.js +134 -0
  530. package/dist/interface/ha/ConfigTriggerMqtt-gsc4gQwU.js.br +0 -0
  531. package/dist/interface/ha/ConfigTriggerMqtt-gsc4gQwU.js.gz +0 -0
  532. package/dist/interface/ha/ConfigTriggerSensor-CsMLjIZG.js +73 -0
  533. package/dist/interface/ha/ConfigTriggerSensor-CsMLjIZG.js.br +0 -0
  534. package/dist/interface/ha/ConfigTriggerSensor-CsMLjIZG.js.gz +0 -0
  535. package/dist/interface/ha/ConfigTriggerSystem-Cv0Of6Ky.js +192 -0
  536. package/dist/interface/ha/ConfigTriggerSystem-Cv0Of6Ky.js.br +0 -0
  537. package/dist/interface/ha/ConfigTriggerSystem-Cv0Of6Ky.js.gz +0 -0
  538. package/dist/interface/ha/ConfigTriggerWebhook-DQJsMJoG.js +94 -0
  539. package/dist/interface/ha/ConfigTriggerWebhook-DQJsMJoG.js.br +0 -0
  540. package/dist/interface/ha/ConfigTriggerWebhook-DQJsMJoG.js.gz +0 -0
  541. package/dist/interface/ha/Console-DJBJ3Auh.js +347 -0
  542. package/dist/interface/ha/Console-DJBJ3Auh.js.br +0 -0
  543. package/dist/interface/ha/Console-DJBJ3Auh.js.gz +0 -0
  544. package/dist/interface/ha/CuiAutomationRunsDialog-BkmyKYDO.js +129 -0
  545. package/dist/interface/ha/CuiAutomationRunsDialog-BkmyKYDO.js.br +0 -0
  546. package/dist/interface/ha/CuiAutomationRunsDialog-BkmyKYDO.js.gz +0 -0
  547. package/dist/interface/ha/CuiBottomSheet-Dp2css9c.js +270 -0
  548. package/dist/interface/ha/CuiBottomSheet-Dp2css9c.js.br +0 -0
  549. package/dist/interface/ha/CuiBottomSheet-Dp2css9c.js.gz +0 -0
  550. package/dist/interface/ha/CuiCameraRecordings-pJCel1aF.js +575 -0
  551. package/dist/interface/ha/CuiCameraRecordings-pJCel1aF.js.br +0 -0
  552. package/dist/interface/ha/CuiCameraRecordings-pJCel1aF.js.gz +0 -0
  553. package/dist/interface/ha/CuiCameraShares-B6lFGtMK.js +120 -0
  554. package/dist/interface/ha/CuiCameraShares-B6lFGtMK.js.br +0 -0
  555. package/dist/interface/ha/CuiCameraShares-B6lFGtMK.js.gz +0 -0
  556. package/dist/interface/ha/CuiCameraTable-BZimLh20.js +105 -0
  557. package/dist/interface/ha/CuiCameraTable-BZimLh20.js.br +0 -0
  558. package/dist/interface/ha/CuiCameraTable-BZimLh20.js.gz +0 -0
  559. package/dist/interface/ha/CuiChartTable-CqhQxN4x.js +6797 -0
  560. package/dist/interface/ha/CuiChartTable-CqhQxN4x.js.br +0 -0
  561. package/dist/interface/ha/CuiChartTable-CqhQxN4x.js.gz +0 -0
  562. package/dist/interface/ha/CuiConsole-Cwl8urBW.js +234 -0
  563. package/dist/interface/ha/CuiConsole-Cwl8urBW.js.br +0 -0
  564. package/dist/interface/ha/CuiConsole-Cwl8urBW.js.gz +0 -0
  565. package/dist/interface/ha/CuiDataTable-BHrgDFrC.js +8860 -0
  566. package/dist/interface/ha/CuiDataTable-BHrgDFrC.js.br +0 -0
  567. package/dist/interface/ha/CuiDataTable-BHrgDFrC.js.gz +0 -0
  568. package/dist/interface/ha/CuiMoveCodeForm-CUswjXkC.js +89 -0
  569. package/dist/interface/ha/CuiMoveCodeForm-CUswjXkC.js.br +0 -0
  570. package/dist/interface/ha/CuiMoveCodeForm-CUswjXkC.js.gz +0 -0
  571. package/dist/interface/ha/CuiPluginCard-DQ7uDkEo.js +778 -0
  572. package/dist/interface/ha/CuiPluginCard-DQ7uDkEo.js.br +0 -0
  573. package/dist/interface/ha/CuiPluginCard-DQ7uDkEo.js.gz +0 -0
  574. package/dist/interface/ha/CuiPluginOAuthButton-CMlqqrcU.js +74 -0
  575. package/dist/interface/ha/CuiPluginOAuthButton-CMlqqrcU.js.br +0 -0
  576. package/dist/interface/ha/CuiPluginOAuthButton-CMlqqrcU.js.gz +0 -0
  577. package/dist/interface/ha/CuiPluginTrustBadge-CEUCvbE3.js +122 -0
  578. package/dist/interface/ha/CuiPluginTrustBadge-CEUCvbE3.js.br +0 -0
  579. package/dist/interface/ha/CuiPluginTrustBadge-CEUCvbE3.js.gz +0 -0
  580. package/dist/interface/ha/CuiQRCode-ItQJzBq3.js +86 -0
  581. package/dist/interface/ha/CuiQRCode-ItQJzBq3.js.br +0 -0
  582. package/dist/interface/ha/CuiQRCode-ItQJzBq3.js.gz +0 -0
  583. package/dist/interface/ha/CuiSchema-XqzByvfx.js +952 -0
  584. package/dist/interface/ha/CuiSchema-XqzByvfx.js.br +0 -0
  585. package/dist/interface/ha/CuiSchema-XqzByvfx.js.gz +0 -0
  586. package/dist/interface/ha/CuiTopNavbarItem-Cf4kt7Iy.js +141 -0
  587. package/dist/interface/ha/CuiTopNavbarItem-Cf4kt7Iy.js.br +0 -0
  588. package/dist/interface/ha/CuiTopNavbarItem-Cf4kt7Iy.js.gz +0 -0
  589. package/dist/interface/ha/Faces-CESCstCF.js +1659 -0
  590. package/dist/interface/ha/Faces-CESCstCF.js.br +0 -0
  591. package/dist/interface/ha/Faces-CESCstCF.js.gz +0 -0
  592. package/dist/interface/ha/FirstSteps-DmUPUln0.js +254 -0
  593. package/dist/interface/ha/FirstSteps-DmUPUln0.js.br +0 -0
  594. package/dist/interface/ha/FirstSteps-DmUPUln0.js.gz +0 -0
  595. package/dist/interface/ha/Floorplan-BmHgdtP-.js +3707 -0
  596. package/dist/interface/ha/Floorplan-BmHgdtP-.js.br +0 -0
  597. package/dist/interface/ha/Floorplan-BmHgdtP-.js.gz +0 -0
  598. package/dist/interface/ha/Instances-qpCCqqQJ.js +670 -0
  599. package/dist/interface/ha/Instances-qpCCqqQJ.js.br +0 -0
  600. package/dist/interface/ha/Instances-qpCCqqQJ.js.gz +0 -0
  601. package/dist/interface/ha/Logs-CjNfLDPM.js +417 -0
  602. package/dist/interface/ha/Logs-CjNfLDPM.js.br +0 -0
  603. package/dist/interface/ha/Logs-CjNfLDPM.js.gz +0 -0
  604. package/dist/interface/ha/Menu-BwK4RoyX.js +159 -0
  605. package/dist/interface/ha/Menu-BwK4RoyX.js.br +0 -0
  606. package/dist/interface/ha/Menu-BwK4RoyX.js.gz +0 -0
  607. package/dist/interface/ha/Metrics-DqJ2Ki-J.js +1484 -0
  608. package/dist/interface/ha/Metrics-DqJ2Ki-J.js.br +0 -0
  609. package/dist/interface/ha/Metrics-DqJ2Ki-J.js.gz +0 -0
  610. package/dist/interface/ha/OAuthDeviceFlow-B4v9-2rC.js +112 -0
  611. package/dist/interface/ha/OAuthDeviceFlow-B4v9-2rC.js.br +0 -0
  612. package/dist/interface/ha/OAuthDeviceFlow-B4v9-2rC.js.gz +0 -0
  613. package/dist/interface/ha/Plugin-DGcaCSl1.js +1746 -0
  614. package/dist/interface/ha/Plugin-DGcaCSl1.js.br +0 -0
  615. package/dist/interface/ha/Plugin-DGcaCSl1.js.gz +0 -0
  616. package/dist/interface/ha/PluginConsole-BceJcWVQ.js +56 -0
  617. package/dist/interface/ha/PluginConsole-BceJcWVQ.js.br +0 -0
  618. package/dist/interface/ha/PluginConsole-BceJcWVQ.js.gz +0 -0
  619. package/dist/interface/ha/PluginDetail-Xqm5A9KO.js +804 -0
  620. package/dist/interface/ha/PluginDetail-Xqm5A9KO.js.br +0 -0
  621. package/dist/interface/ha/PluginDetail-Xqm5A9KO.js.gz +0 -0
  622. package/dist/interface/ha/PluginSearch-PN0d9SN4.js +462 -0
  623. package/dist/interface/ha/PluginSearch-PN0d9SN4.js.br +0 -0
  624. package/dist/interface/ha/PluginSearch-PN0d9SN4.js.gz +0 -0
  625. package/dist/interface/ha/PluginUpdateProgress-CbEK0mfO.js +34 -0
  626. package/dist/interface/ha/PluginUpdateProgress-CbEK0mfO.js.br +0 -0
  627. package/dist/interface/ha/PluginUpdateProgress-CbEK0mfO.js.gz +0 -0
  628. package/dist/interface/ha/Plugins-DI8xveiM.js +697 -0
  629. package/dist/interface/ha/Plugins-DI8xveiM.js.br +0 -0
  630. package/dist/interface/ha/Plugins-DI8xveiM.js.gz +0 -0
  631. package/dist/interface/ha/Recordings-DUZXYJO1.js +1916 -0
  632. package/dist/interface/ha/Recordings-DUZXYJO1.js.br +0 -0
  633. package/dist/interface/ha/Recordings-DUZXYJO1.js.gz +0 -0
  634. package/dist/interface/ha/SensorEdit-7SNUYUqX.js +1466 -0
  635. package/dist/interface/ha/SensorEdit-7SNUYUqX.js.br +0 -0
  636. package/dist/interface/ha/SensorEdit-7SNUYUqX.js.gz +0 -0
  637. package/dist/interface/ha/SensorHistory-DkZhVNac.js +54 -0
  638. package/dist/interface/ha/SensorHistory-DkZhVNac.js.br +0 -0
  639. package/dist/interface/ha/SensorHistory-DkZhVNac.js.gz +0 -0
  640. package/dist/interface/ha/Sensors-s6nx5ZAN.js +1400 -0
  641. package/dist/interface/ha/Sensors-s6nx5ZAN.js.br +0 -0
  642. package/dist/interface/ha/Sensors-s6nx5ZAN.js.gz +0 -0
  643. package/dist/interface/ha/Settings-hsJphkj9.js +218 -0
  644. package/dist/interface/ha/Settings-hsJphkj9.js.br +0 -0
  645. package/dist/interface/ha/Settings-hsJphkj9.js.gz +0 -0
  646. package/dist/interface/ha/SettingsAccount-BUJ31i_L.js +968 -0
  647. package/dist/interface/ha/SettingsAccount-BUJ31i_L.js.br +0 -0
  648. package/dist/interface/ha/SettingsAccount-BUJ31i_L.js.gz +0 -0
  649. package/dist/interface/ha/SettingsAppearance-BINO64ro.js +201 -0
  650. package/dist/interface/ha/SettingsAppearance-BINO64ro.js.br +0 -0
  651. package/dist/interface/ha/SettingsAppearance-BINO64ro.js.gz +0 -0
  652. package/dist/interface/ha/SettingsAssistant-DbnHbg2_.js +2134 -0
  653. package/dist/interface/ha/SettingsAssistant-DbnHbg2_.js.br +0 -0
  654. package/dist/interface/ha/SettingsAssistant-DbnHbg2_.js.gz +0 -0
  655. package/dist/interface/ha/SettingsBackup-DM2GBOtz.js +1047 -0
  656. package/dist/interface/ha/SettingsBackup-DM2GBOtz.js.br +0 -0
  657. package/dist/interface/ha/SettingsBackup-DM2GBOtz.js.gz +0 -0
  658. package/dist/interface/ha/SettingsList-D8Q1N9GP.js +40 -0
  659. package/dist/interface/ha/SettingsList-D8Q1N9GP.js.br +0 -0
  660. package/dist/interface/ha/SettingsList-D8Q1N9GP.js.gz +0 -0
  661. package/dist/interface/ha/SettingsMqtt-Dtbcy1ib.js +512 -0
  662. package/dist/interface/ha/SettingsMqtt-Dtbcy1ib.js.br +0 -0
  663. package/dist/interface/ha/SettingsMqtt-Dtbcy1ib.js.gz +0 -0
  664. package/dist/interface/ha/SettingsNotifications-mpApfZLi.js +514 -0
  665. package/dist/interface/ha/SettingsNotifications-mpApfZLi.js.br +0 -0
  666. package/dist/interface/ha/SettingsNotifications-mpApfZLi.js.gz +0 -0
  667. package/dist/interface/ha/SettingsRecordings-Pzkh9MBE.js +152 -0
  668. package/dist/interface/ha/SettingsRecordings-Pzkh9MBE.js.br +0 -0
  669. package/dist/interface/ha/SettingsRecordings-Pzkh9MBE.js.gz +0 -0
  670. package/dist/interface/ha/SettingsRemote-BtYQpwtF.js +1523 -0
  671. package/dist/interface/ha/SettingsRemote-BtYQpwtF.js.br +0 -0
  672. package/dist/interface/ha/SettingsRemote-BtYQpwtF.js.gz +0 -0
  673. package/dist/interface/ha/SettingsSystem-B36A8tHl.js +382 -0
  674. package/dist/interface/ha/SettingsSystem-B36A8tHl.js.br +0 -0
  675. package/dist/interface/ha/SettingsSystem-B36A8tHl.js.gz +0 -0
  676. package/dist/interface/ha/SettingsUsers-izhdA4zS.js +370 -0
  677. package/dist/interface/ha/SettingsUsers-izhdA4zS.js.br +0 -0
  678. package/dist/interface/ha/SettingsUsers-izhdA4zS.js.gz +0 -0
  679. package/dist/interface/ha/Terminal-BtIAJfig.js +611 -0
  680. package/dist/interface/ha/Terminal-BtIAJfig.js.br +0 -0
  681. package/dist/interface/ha/Terminal-BtIAJfig.js.gz +0 -0
  682. package/dist/interface/ha/Training-DWH7U4Nn.js +1829 -0
  683. package/dist/interface/ha/Training-DWH7U4Nn.js.br +0 -0
  684. package/dist/interface/ha/Training-DWH7U4Nn.js.gz +0 -0
  685. package/dist/interface/ha/Updates-MYa-4g7W.js +357 -0
  686. package/dist/interface/ha/Updates-MYa-4g7W.js.br +0 -0
  687. package/dist/interface/ha/Updates-MYa-4g7W.js.gz +0 -0
  688. package/dist/interface/ha/VariableInput-CWZl2NGk.js +52 -0
  689. package/dist/interface/ha/VariableInput-CWZl2NGk.js.br +0 -0
  690. package/dist/interface/ha/VariableInput-CWZl2NGk.js.gz +0 -0
  691. package/dist/interface/ha/VersionsHandler-Q7CBVJk7.js +221 -0
  692. package/dist/interface/ha/VersionsHandler-Q7CBVJk7.js.br +0 -0
  693. package/dist/interface/ha/VersionsHandler-Q7CBVJk7.js.gz +0 -0
  694. package/dist/interface/ha/VirtualSensorCreate-dCuRJxvs.js +102 -0
  695. package/dist/interface/ha/VirtualSensorCreate-dCuRJxvs.js.br +0 -0
  696. package/dist/interface/ha/VirtualSensorCreate-dCuRJxvs.js.gz +0 -0
  697. package/dist/interface/ha/Workers-BkNCDoEB.js +1270 -0
  698. package/dist/interface/ha/Workers-BkNCDoEB.js.br +0 -0
  699. package/dist/interface/ha/Workers-BkNCDoEB.js.gz +0 -0
  700. package/dist/interface/ha/api-B_pmwTpy.js +69083 -0
  701. package/dist/interface/ha/api-B_pmwTpy.js.br +0 -0
  702. package/dist/interface/ha/api-B_pmwTpy.js.gz +0 -0
  703. package/dist/interface/ha/api-scFzFY-A.js +29 -0
  704. package/dist/interface/ha/api-scFzFY-A.js.br +0 -0
  705. package/dist/interface/ha/api-scFzFY-A.js.gz +0 -0
  706. package/dist/interface/ha/assistant-Ch_3P7MW.js +349 -0
  707. package/dist/interface/ha/assistant-Ch_3P7MW.js.br +0 -0
  708. package/dist/interface/ha/assistant-Ch_3P7MW.js.gz +0 -0
  709. package/dist/interface/ha/auth-BBpcHTOU.js +271 -0
  710. package/dist/interface/ha/auth-BBpcHTOU.js.br +0 -0
  711. package/dist/interface/ha/auth-BBpcHTOU.js.gz +0 -0
  712. package/dist/interface/ha/automationBlueprint-Ccto7YVi.js +250 -0
  713. package/dist/interface/ha/automationBlueprint-Ccto7YVi.js.br +0 -0
  714. package/dist/interface/ha/automationBlueprint-Ccto7YVi.js.gz +0 -0
  715. package/dist/interface/ha/cameraui-cards.js +2 -2
  716. package/dist/interface/ha/cards-DoJlucFr.js +13318 -0
  717. package/dist/interface/ha/cards-DoJlucFr.js.br +0 -0
  718. package/dist/interface/ha/cards-DoJlucFr.js.gz +0 -0
  719. package/dist/interface/ha/config-DCG3iQ4f.js +116 -0
  720. package/dist/interface/ha/config-DCG3iQ4f.js.br +0 -0
  721. package/dist/interface/ha/config-DCG3iQ4f.js.gz +0 -0
  722. package/dist/interface/ha/dist-DTq7_9I6.js +4434 -0
  723. package/dist/interface/ha/dist-DTq7_9I6.js.br +0 -0
  724. package/dist/interface/ha/dist-DTq7_9I6.js.gz +0 -0
  725. package/dist/interface/ha/mqtt-B0rVEAka.js +56 -0
  726. package/dist/interface/ha/mqtt-B0rVEAka.js.br +3 -0
  727. package/dist/interface/ha/mqtt-B0rVEAka.js.gz +0 -0
  728. package/dist/interface/ha/notifications-DUGogUCX.js +159 -0
  729. package/dist/interface/ha/notifications-DUGogUCX.js.br +0 -0
  730. package/dist/interface/ha/notifications-DUGogUCX.js.gz +0 -0
  731. package/dist/interface/ha/plugins-ByJracTr.js +592 -0
  732. package/dist/interface/ha/plugins-ByJracTr.js.br +0 -0
  733. package/dist/interface/ha/plugins-ByJracTr.js.gz +0 -0
  734. package/dist/interface/ha/rooms-BQZIB5c7.js +45 -0
  735. package/dist/interface/ha/rooms-BQZIB5c7.js.br +0 -0
  736. package/dist/interface/ha/rooms-BQZIB5c7.js.gz +0 -0
  737. package/dist/interface/ha/server-DlrA_ZgH.js +244 -0
  738. package/dist/interface/ha/server-DlrA_ZgH.js.br +0 -0
  739. package/dist/interface/ha/server-DlrA_ZgH.js.gz +0 -0
  740. package/dist/interface/ha/speeddial-CwmTTb63.js +941 -0
  741. package/dist/interface/ha/speeddial-CwmTTb63.js.br +0 -0
  742. package/dist/interface/ha/speeddial-CwmTTb63.js.gz +0 -0
  743. package/dist/interface/ha/types-uzsIGXM-.js +1073 -0
  744. package/dist/interface/ha/types-uzsIGXM-.js.br +0 -0
  745. package/dist/interface/ha/types-uzsIGXM-.js.gz +0 -0
  746. package/dist/interface/ha/updates-D3rnmCyM.js +414 -0
  747. package/dist/interface/ha/updates-D3rnmCyM.js.br +0 -0
  748. package/dist/interface/ha/updates-D3rnmCyM.js.gz +0 -0
  749. package/dist/interface/ha/useAppVersion-6nYKVVl3.js +22 -0
  750. package/dist/interface/ha/useAppVersion-6nYKVVl3.js.br +2 -0
  751. package/dist/interface/ha/useAppVersion-6nYKVVl3.js.gz +0 -0
  752. package/dist/interface/ha/useKeyboardInset-DHXnyIUl.js +27 -0
  753. package/dist/interface/ha/useKeyboardInset-DHXnyIUl.js.br +0 -0
  754. package/dist/interface/ha/useKeyboardInset-DHXnyIUl.js.gz +0 -0
  755. package/dist/interface/ha/useLogsSocket-DIi4D0eo.js +74 -0
  756. package/dist/interface/ha/useLogsSocket-DIi4D0eo.js.br +0 -0
  757. package/dist/interface/ha/useLogsSocket-DIi4D0eo.js.gz +0 -0
  758. package/dist/interface/ha/useNavLayout-TaG53CpO.js +125 -0
  759. package/dist/interface/ha/useNavLayout-TaG53CpO.js.br +0 -0
  760. package/dist/interface/ha/useNavLayout-TaG53CpO.js.gz +0 -0
  761. package/dist/interface/ha/usePlacementLabel-dUSLpXwS.js +49 -0
  762. package/dist/interface/ha/usePlacementLabel-dUSLpXwS.js.br +0 -0
  763. package/dist/interface/ha/usePlacementLabel-dUSLpXwS.js.gz +0 -0
  764. package/dist/interface/ha/useTabSwipe-D2ZE61KS.js +45 -0
  765. package/dist/interface/ha/useTabSwipe-D2ZE61KS.js.br +0 -0
  766. package/dist/interface/ha/useTabSwipe-D2ZE61KS.js.gz +0 -0
  767. package/dist/interface/ha/useUpdateChannel-oJzH8mGz.js +22 -0
  768. package/dist/interface/ha/useUpdateChannel-oJzH8mGz.js.br +0 -0
  769. package/dist/interface/ha/useUpdateChannel-oJzH8mGz.js.gz +0 -0
  770. package/dist/interface/ha/useUpdatesSocket-C6HDCoov.js +34 -0
  771. package/dist/interface/ha/useUpdatesSocket-C6HDCoov.js.br +0 -0
  772. package/dist/interface/ha/useUpdatesSocket-C6HDCoov.js.gz +0 -0
  773. package/dist/interface/ha/useUserOptions-3kKPw4U3.js +15 -0
  774. package/dist/interface/ha/useUserOptions-3kKPw4U3.js.br +0 -0
  775. package/dist/interface/ha/useUserOptions-3kKPw4U3.js.gz +0 -0
  776. package/dist/interface/index.html +29 -29
  777. package/dist/interface/sw.js +1 -1
  778. package/dist/server/assets/docs.json +1 -1
  779. package/dist/server/package.json +13 -13
  780. package/dist/server/requirements.txt +2 -2
  781. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/device.py +16 -1
  782. package/dist/server/src/api/controllers/cameras.controller.js +1 -2
  783. package/dist/server/src/api/controllers/cameras.controller.js.map +1 -1
  784. package/dist/server/src/api/services/cameras.service.js +8 -1
  785. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  786. package/dist/server/src/assistant/tools/cameras.js +1 -2
  787. package/dist/server/src/assistant/tools/cameras.js.map +1 -1
  788. package/dist/server/src/automations/actions/snapshot.js +2 -4
  789. package/dist/server/src/automations/actions/snapshot.js.map +1 -1
  790. package/dist/server/src/camera/controller.d.ts +0 -1
  791. package/dist/server/src/camera/controller.js +4 -8
  792. package/dist/server/src/camera/controller.js.map +1 -1
  793. package/dist/server/src/camera/decoder/worker.js +2 -3
  794. package/dist/server/src/camera/decoder/worker.js.map +1 -1
  795. package/dist/server/src/camera/index.d.ts +4 -2
  796. package/dist/server/src/camera/index.js +8 -1
  797. package/dist/server/src/camera/index.js.map +1 -1
  798. package/dist/server/src/camera/snapshot-store.d.ts +1 -1
  799. package/dist/server/src/camera/snapshot-store.js +6 -2
  800. package/dist/server/src/camera/snapshot-store.js.map +1 -1
  801. package/dist/server/src/camera/streaming/fmp4-session.js +7 -1
  802. package/dist/server/src/camera/streaming/fmp4-session.js.map +1 -1
  803. package/dist/server/src/camera/streaming/rtp-session.d.ts +1 -0
  804. package/dist/server/src/camera/streaming/rtp-session.js +7 -0
  805. package/dist/server/src/camera/streaming/rtp-session.js.map +1 -1
  806. package/dist/server/src/mqtt/bridge.js +1 -1
  807. package/dist/server/src/mqtt/bridge.js.map +1 -1
  808. package/dist/server/src/plugins/runtime/python/proxy/camera_device.py +12 -4
  809. package/npm-shrinkwrap.json +637 -201
  810. package/package.json +13 -13
  811. package/dist/interface/assets/404-DX4XH2LB.js +0 -1
  812. package/dist/interface/assets/404-DX4XH2LB.js.br +0 -0
  813. package/dist/interface/assets/404-DX4XH2LB.js.gz +0 -0
  814. package/dist/interface/assets/About-TKX85HMQ.js +0 -1
  815. package/dist/interface/assets/About-TKX85HMQ.js.br +0 -0
  816. package/dist/interface/assets/About-TKX85HMQ.js.gz +0 -0
  817. package/dist/interface/assets/Assistant-DoIUDprL.js +0 -1
  818. package/dist/interface/assets/Assistant-DoIUDprL.js.br +0 -0
  819. package/dist/interface/assets/Assistant-DoIUDprL.js.gz +0 -0
  820. package/dist/interface/assets/Automation-txjKQVyV.js +0 -3
  821. package/dist/interface/assets/Automation-txjKQVyV.js.br +0 -0
  822. package/dist/interface/assets/Automation-txjKQVyV.js.gz +0 -0
  823. package/dist/interface/assets/AutomationImport-C64Ut7T_.js +0 -2
  824. package/dist/interface/assets/AutomationImport-C64Ut7T_.js.br +0 -0
  825. package/dist/interface/assets/AutomationImport-C64Ut7T_.js.gz +0 -0
  826. package/dist/interface/assets/AutomationStore-Q01bLhts.js +0 -2
  827. package/dist/interface/assets/AutomationStore-Q01bLhts.js.br +0 -0
  828. package/dist/interface/assets/AutomationStore-Q01bLhts.js.gz +0 -0
  829. package/dist/interface/assets/AutomationStoreDetail-BaoJ9HK2.js +0 -2
  830. package/dist/interface/assets/AutomationStoreDetail-BaoJ9HK2.js.br +0 -0
  831. package/dist/interface/assets/AutomationStoreDetail-BaoJ9HK2.js.gz +0 -0
  832. package/dist/interface/assets/Automations-DrbmawaF.js +0 -2
  833. package/dist/interface/assets/Automations-DrbmawaF.js.br +0 -0
  834. package/dist/interface/assets/Automations-DrbmawaF.js.gz +0 -0
  835. package/dist/interface/assets/BackupRestore-28xfEYA4.js +0 -1
  836. package/dist/interface/assets/BackupRestore-28xfEYA4.js.br +0 -0
  837. package/dist/interface/assets/BackupRestore-28xfEYA4.js.gz +0 -0
  838. package/dist/interface/assets/Camera-BWG1t1eV.js +0 -2
  839. package/dist/interface/assets/Camera-BWG1t1eV.js.br +0 -0
  840. package/dist/interface/assets/Camera-BWG1t1eV.js.gz +0 -0
  841. package/dist/interface/assets/CameraConsole-DTU2a_Ts.js +0 -7
  842. package/dist/interface/assets/CameraConsole-DTU2a_Ts.js.br +0 -0
  843. package/dist/interface/assets/CameraConsole-DTU2a_Ts.js.gz +0 -0
  844. package/dist/interface/assets/Cameras-D_Mile0G.js +0 -651
  845. package/dist/interface/assets/Cameras-D_Mile0G.js.br +0 -0
  846. package/dist/interface/assets/Cameras-D_Mile0G.js.gz +0 -0
  847. package/dist/interface/assets/Camview-O9fMv2IM.js +0 -1
  848. package/dist/interface/assets/Camview-O9fMv2IM.js.br +0 -0
  849. package/dist/interface/assets/Camview-O9fMv2IM.js.gz +0 -0
  850. package/dist/interface/assets/Config-Z5OwrRYV.js +0 -2
  851. package/dist/interface/assets/Config-Z5OwrRYV.js.br +0 -0
  852. package/dist/interface/assets/Config-Z5OwrRYV.js.gz +0 -0
  853. package/dist/interface/assets/ConfigActionAssistant-CQCL2Am2.js +0 -1
  854. package/dist/interface/assets/ConfigActionAssistant-CQCL2Am2.js.br +0 -0
  855. package/dist/interface/assets/ConfigActionAssistant-CQCL2Am2.js.gz +0 -0
  856. package/dist/interface/assets/ConfigActionCameraControl-D_-J3WO0.js +0 -1
  857. package/dist/interface/assets/ConfigActionCameraControl-D_-J3WO0.js.br +0 -0
  858. package/dist/interface/assets/ConfigActionCameraControl-D_-J3WO0.js.gz +0 -0
  859. package/dist/interface/assets/ConfigActionHttp-BnJFthTT.js +0 -1
  860. package/dist/interface/assets/ConfigActionHttp-BnJFthTT.js.br +0 -0
  861. package/dist/interface/assets/ConfigActionHttp-BnJFthTT.js.gz +0 -0
  862. package/dist/interface/assets/ConfigActionImageInput-ALM7KAw2.js +0 -1
  863. package/dist/interface/assets/ConfigActionImageInput-ALM7KAw2.js.br +0 -0
  864. package/dist/interface/assets/ConfigActionImageInput-ALM7KAw2.js.gz +0 -0
  865. package/dist/interface/assets/ConfigActionMqtt-C0XsqWGy.js +0 -1
  866. package/dist/interface/assets/ConfigActionMqtt-C0XsqWGy.js.br +0 -0
  867. package/dist/interface/assets/ConfigActionMqtt-C0XsqWGy.js.gz +0 -0
  868. package/dist/interface/assets/ConfigActionNotification-CtiiN-5F.js +0 -1
  869. package/dist/interface/assets/ConfigActionNotification-CtiiN-5F.js.br +0 -0
  870. package/dist/interface/assets/ConfigActionNotification-CtiiN-5F.js.gz +0 -0
  871. package/dist/interface/assets/ConfigActionNotificationControl-DD8Irm7I.js +0 -1
  872. package/dist/interface/assets/ConfigActionNotificationControl-DD8Irm7I.js.br +0 -0
  873. package/dist/interface/assets/ConfigActionNotificationControl-DD8Irm7I.js.gz +0 -0
  874. package/dist/interface/assets/ConfigActionOutput-D4Wel3De.js +0 -1
  875. package/dist/interface/assets/ConfigActionOutput-D4Wel3De.js.br +0 -0
  876. package/dist/interface/assets/ConfigActionOutput-D4Wel3De.js.gz +0 -0
  877. package/dist/interface/assets/ConfigActionPlugin-CIesNnFQ.js +0 -1
  878. package/dist/interface/assets/ConfigActionPlugin-CIesNnFQ.js.br +0 -0
  879. package/dist/interface/assets/ConfigActionPlugin-CIesNnFQ.js.gz +0 -0
  880. package/dist/interface/assets/ConfigActionSensor-BcYL0qkL.js +0 -1
  881. package/dist/interface/assets/ConfigActionSensor-BcYL0qkL.js.br +0 -0
  882. package/dist/interface/assets/ConfigActionSensor-BcYL0qkL.js.gz +0 -0
  883. package/dist/interface/assets/ConfigActionSnapshot-DJdvQulG.js +0 -1
  884. package/dist/interface/assets/ConfigActionSnapshot-DJdvQulG.js.br +0 -0
  885. package/dist/interface/assets/ConfigActionSnapshot-DJdvQulG.js.gz +0 -0
  886. package/dist/interface/assets/ConfigActionVariable-BhIOexZq.js +0 -1
  887. package/dist/interface/assets/ConfigActionVariable-BhIOexZq.js.br +0 -0
  888. package/dist/interface/assets/ConfigActionVariable-BhIOexZq.js.gz +0 -0
  889. package/dist/interface/assets/ConfigConditionIfElse-smevwPDS.js +0 -1
  890. package/dist/interface/assets/ConfigConditionIfElse-smevwPDS.js.br +0 -0
  891. package/dist/interface/assets/ConfigConditionIfElse-smevwPDS.js.gz +0 -0
  892. package/dist/interface/assets/ConfigConditionSensorState-Cwn8aC7y.js +0 -1
  893. package/dist/interface/assets/ConfigConditionSensorState-Cwn8aC7y.js.br +0 -0
  894. package/dist/interface/assets/ConfigConditionSensorState-Cwn8aC7y.js.gz +0 -0
  895. package/dist/interface/assets/ConfigConditionSwitch-BarJmiQY.js +0 -1
  896. package/dist/interface/assets/ConfigConditionSwitch-BarJmiQY.js.br +0 -0
  897. package/dist/interface/assets/ConfigConditionSwitch-BarJmiQY.js.gz +0 -0
  898. package/dist/interface/assets/ConfigSensorValueInput-C4afzn70.js +0 -1
  899. package/dist/interface/assets/ConfigSensorValueInput-C4afzn70.js.br +0 -0
  900. package/dist/interface/assets/ConfigSensorValueInput-C4afzn70.js.gz +0 -0
  901. package/dist/interface/assets/ConfigTriggerDetection-D0g5ZMbd.js +0 -1
  902. package/dist/interface/assets/ConfigTriggerDetection-D0g5ZMbd.js.br +0 -0
  903. package/dist/interface/assets/ConfigTriggerDetection-D0g5ZMbd.js.gz +0 -0
  904. package/dist/interface/assets/ConfigTriggerGeofence-eWJC6ILP.js +0 -1
  905. package/dist/interface/assets/ConfigTriggerGeofence-eWJC6ILP.js.br +0 -0
  906. package/dist/interface/assets/ConfigTriggerGeofence-eWJC6ILP.js.gz +0 -0
  907. package/dist/interface/assets/ConfigTriggerMqtt-DiKTbPu6.js +0 -1
  908. package/dist/interface/assets/ConfigTriggerMqtt-DiKTbPu6.js.br +0 -0
  909. package/dist/interface/assets/ConfigTriggerMqtt-DiKTbPu6.js.gz +0 -0
  910. package/dist/interface/assets/ConfigTriggerSensor-CS8gsL0m.js +0 -1
  911. package/dist/interface/assets/ConfigTriggerSensor-CS8gsL0m.js.br +0 -0
  912. package/dist/interface/assets/ConfigTriggerSensor-CS8gsL0m.js.gz +0 -0
  913. package/dist/interface/assets/ConfigTriggerSystem-CmuIY_0y.js +0 -1
  914. package/dist/interface/assets/ConfigTriggerSystem-CmuIY_0y.js.br +0 -0
  915. package/dist/interface/assets/ConfigTriggerSystem-CmuIY_0y.js.gz +0 -0
  916. package/dist/interface/assets/ConfigTriggerWebhook-BMFuGGYj.js +0 -1
  917. package/dist/interface/assets/ConfigTriggerWebhook-BMFuGGYj.js.br +0 -0
  918. package/dist/interface/assets/ConfigTriggerWebhook-BMFuGGYj.js.gz +0 -0
  919. package/dist/interface/assets/Console-BymhygMI.js +0 -1
  920. package/dist/interface/assets/Console-BymhygMI.js.br +0 -0
  921. package/dist/interface/assets/Console-BymhygMI.js.gz +0 -0
  922. package/dist/interface/assets/CuiAssistantConversation-Beennkmh.js +0 -5
  923. package/dist/interface/assets/CuiAssistantConversation-Beennkmh.js.br +0 -0
  924. package/dist/interface/assets/CuiAssistantConversation-Beennkmh.js.gz +0 -0
  925. package/dist/interface/assets/CuiAutomationRunsDialog-BUkNp6wR.js +0 -1
  926. package/dist/interface/assets/CuiAutomationRunsDialog-BUkNp6wR.js.br +0 -0
  927. package/dist/interface/assets/CuiAutomationRunsDialog-BUkNp6wR.js.gz +0 -0
  928. package/dist/interface/assets/CuiBottomSheet-Clh6xrtY.js +0 -1
  929. package/dist/interface/assets/CuiBottomSheet-Clh6xrtY.js.br +0 -1
  930. package/dist/interface/assets/CuiBottomSheet-Clh6xrtY.js.gz +0 -0
  931. package/dist/interface/assets/CuiBottomSheet-DHzBdeKE.js +0 -1
  932. package/dist/interface/assets/CuiBottomSheet-DHzBdeKE.js.br +0 -0
  933. package/dist/interface/assets/CuiBottomSheet-DHzBdeKE.js.gz +0 -0
  934. package/dist/interface/assets/CuiCameraPipCard-DV9NVvdU.js +0 -1
  935. package/dist/interface/assets/CuiCameraPipCard-DV9NVvdU.js.br +0 -0
  936. package/dist/interface/assets/CuiCameraPipCard-DV9NVvdU.js.gz +0 -0
  937. package/dist/interface/assets/CuiCameraRecordings-Dgabyi8C.js +0 -1
  938. package/dist/interface/assets/CuiCameraRecordings-Dgabyi8C.js.br +0 -0
  939. package/dist/interface/assets/CuiCameraRecordings-Dgabyi8C.js.gz +0 -0
  940. package/dist/interface/assets/CuiCameraShares-D-CEbeu7.js +0 -1
  941. package/dist/interface/assets/CuiCameraShares-D-CEbeu7.js.br +0 -0
  942. package/dist/interface/assets/CuiCameraShares-D-CEbeu7.js.gz +0 -0
  943. package/dist/interface/assets/CuiCameraTable-CQmKrbaK.js +0 -1
  944. package/dist/interface/assets/CuiCameraTable-CQmKrbaK.js.br +0 -1
  945. package/dist/interface/assets/CuiCameraTable-CQmKrbaK.js.gz +0 -0
  946. package/dist/interface/assets/CuiCameraTable-DJ6BT3GR.js +0 -2
  947. package/dist/interface/assets/CuiCameraTable-DJ6BT3GR.js.br +0 -0
  948. package/dist/interface/assets/CuiCameraTable-DJ6BT3GR.js.gz +0 -0
  949. package/dist/interface/assets/CuiChartTable-D74cis32.js +0 -1
  950. package/dist/interface/assets/CuiChartTable-D74cis32.js.br +0 -0
  951. package/dist/interface/assets/CuiChartTable-D74cis32.js.gz +0 -0
  952. package/dist/interface/assets/CuiConsole-CEckyUH_.js +0 -5
  953. package/dist/interface/assets/CuiConsole-CEckyUH_.js.br +0 -0
  954. package/dist/interface/assets/CuiConsole-CEckyUH_.js.gz +0 -0
  955. package/dist/interface/assets/CuiDataTable-D2CX_Dae.js +0 -1
  956. package/dist/interface/assets/CuiDataTable-D2CX_Dae.js.br +0 -0
  957. package/dist/interface/assets/CuiDataTable-D2CX_Dae.js.gz +0 -0
  958. package/dist/interface/assets/CuiLightControl-DwC2A1_z.js +0 -1
  959. package/dist/interface/assets/CuiLightControl-DwC2A1_z.js.br +0 -0
  960. package/dist/interface/assets/CuiLightControl-DwC2A1_z.js.gz +0 -0
  961. package/dist/interface/assets/CuiMoveCodeForm-9uLXz6E4.js +0 -1
  962. package/dist/interface/assets/CuiMoveCodeForm-9uLXz6E4.js.br +0 -0
  963. package/dist/interface/assets/CuiMoveCodeForm-9uLXz6E4.js.gz +0 -0
  964. package/dist/interface/assets/CuiPluginCard-7Zaj4gGb.js +0 -2
  965. package/dist/interface/assets/CuiPluginCard-7Zaj4gGb.js.br +0 -0
  966. package/dist/interface/assets/CuiPluginCard-7Zaj4gGb.js.gz +0 -0
  967. package/dist/interface/assets/CuiPluginCategoryChip-NZO3F0dE.js +0 -1
  968. package/dist/interface/assets/CuiPluginCategoryChip-NZO3F0dE.js.br +0 -0
  969. package/dist/interface/assets/CuiPluginCategoryChip-NZO3F0dE.js.gz +0 -0
  970. package/dist/interface/assets/CuiPluginOAuthButton-BtXeLBCE.js +0 -2
  971. package/dist/interface/assets/CuiPluginOAuthButton-BtXeLBCE.js.br +0 -0
  972. package/dist/interface/assets/CuiPluginOAuthButton-BtXeLBCE.js.gz +0 -0
  973. package/dist/interface/assets/CuiPluginTrustBadge-DhTB-x34.js +0 -1
  974. package/dist/interface/assets/CuiPluginTrustBadge-DhTB-x34.js.br +0 -0
  975. package/dist/interface/assets/CuiPluginTrustBadge-DhTB-x34.js.gz +0 -0
  976. package/dist/interface/assets/CuiQRCode-CqGj0s6U.js +0 -1
  977. package/dist/interface/assets/CuiQRCode-CqGj0s6U.js.br +0 -0
  978. package/dist/interface/assets/CuiQRCode-CqGj0s6U.js.gz +0 -0
  979. package/dist/interface/assets/CuiSchema-BTF_3aRE.js +0 -1
  980. package/dist/interface/assets/CuiSchema-BTF_3aRE.js.br +0 -0
  981. package/dist/interface/assets/CuiSchema-BTF_3aRE.js.gz +0 -0
  982. package/dist/interface/assets/CuiTopNavbarItem-BWcrLyui.js +0 -1
  983. package/dist/interface/assets/CuiTopNavbarItem-BWcrLyui.js.br +0 -0
  984. package/dist/interface/assets/CuiTopNavbarItem-BWcrLyui.js.gz +0 -0
  985. package/dist/interface/assets/Faces-CSuw4tlQ.js +0 -1
  986. package/dist/interface/assets/Faces-CSuw4tlQ.js.br +0 -0
  987. package/dist/interface/assets/Faces-CSuw4tlQ.js.gz +0 -0
  988. package/dist/interface/assets/FirstSteps-D8MXHO4s.js +0 -1
  989. package/dist/interface/assets/FirstSteps-D8MXHO4s.js.br +0 -0
  990. package/dist/interface/assets/FirstSteps-D8MXHO4s.js.gz +0 -0
  991. package/dist/interface/assets/Floorplan-CJvf82Yr.js +0 -1
  992. package/dist/interface/assets/Floorplan-CJvf82Yr.js.br +0 -0
  993. package/dist/interface/assets/Floorplan-CJvf82Yr.js.gz +0 -0
  994. package/dist/interface/assets/Instances-CGmnFbAU.js +0 -1
  995. package/dist/interface/assets/Instances-CGmnFbAU.js.br +0 -0
  996. package/dist/interface/assets/Instances-CGmnFbAU.js.gz +0 -0
  997. package/dist/interface/assets/Logs-DzRjFZwp.js +0 -6
  998. package/dist/interface/assets/Logs-DzRjFZwp.js.br +0 -0
  999. package/dist/interface/assets/Logs-DzRjFZwp.js.gz +0 -0
  1000. package/dist/interface/assets/Menu-CBDRm_I7.js +0 -1
  1001. package/dist/interface/assets/Menu-CBDRm_I7.js.br +0 -0
  1002. package/dist/interface/assets/Menu-CBDRm_I7.js.gz +0 -0
  1003. package/dist/interface/assets/Metrics-DyvjZEl4.js +0 -12
  1004. package/dist/interface/assets/Metrics-DyvjZEl4.js.br +0 -0
  1005. package/dist/interface/assets/Metrics-DyvjZEl4.js.gz +0 -0
  1006. package/dist/interface/assets/OAuthDeviceFlow-CDjuIKJO.js +0 -1
  1007. package/dist/interface/assets/OAuthDeviceFlow-CDjuIKJO.js.br +0 -0
  1008. package/dist/interface/assets/OAuthDeviceFlow-CDjuIKJO.js.gz +0 -0
  1009. package/dist/interface/assets/Plugin-CXtetRIB.js +0 -1
  1010. package/dist/interface/assets/Plugin-CXtetRIB.js.br +0 -0
  1011. package/dist/interface/assets/Plugin-CXtetRIB.js.gz +0 -0
  1012. package/dist/interface/assets/PluginConsole-6TRc3i3n.js +0 -7
  1013. package/dist/interface/assets/PluginConsole-6TRc3i3n.js.br +0 -0
  1014. package/dist/interface/assets/PluginConsole-6TRc3i3n.js.gz +0 -0
  1015. package/dist/interface/assets/PluginDetail-DBYTEg5y.js +0 -2
  1016. package/dist/interface/assets/PluginDetail-DBYTEg5y.js.br +0 -0
  1017. package/dist/interface/assets/PluginDetail-DBYTEg5y.js.gz +0 -0
  1018. package/dist/interface/assets/PluginSchema-BW_3Fyqe.js +0 -1
  1019. package/dist/interface/assets/PluginSchema-BW_3Fyqe.js.br +0 -0
  1020. package/dist/interface/assets/PluginSchema-BW_3Fyqe.js.gz +0 -0
  1021. package/dist/interface/assets/PluginSearch--ZnY67-0.js +0 -2
  1022. package/dist/interface/assets/PluginSearch--ZnY67-0.js.br +0 -0
  1023. package/dist/interface/assets/PluginSearch--ZnY67-0.js.gz +0 -0
  1024. package/dist/interface/assets/PluginSearch-C53VwojP.js +0 -1
  1025. package/dist/interface/assets/PluginSearch-C53VwojP.js.br +0 -0
  1026. package/dist/interface/assets/PluginSearch-C53VwojP.js.gz +0 -0
  1027. package/dist/interface/assets/PluginUpdateProgress-DwkFjcgH.js +0 -1
  1028. package/dist/interface/assets/PluginUpdateProgress-DwkFjcgH.js.br +0 -0
  1029. package/dist/interface/assets/PluginUpdateProgress-DwkFjcgH.js.gz +0 -0
  1030. package/dist/interface/assets/Plugins-CV1x_hss.js +0 -1
  1031. package/dist/interface/assets/Plugins-CV1x_hss.js.br +0 -0
  1032. package/dist/interface/assets/Plugins-CV1x_hss.js.gz +0 -0
  1033. package/dist/interface/assets/RecentEventsFilter-BFlbTCVN.js +0 -1
  1034. package/dist/interface/assets/RecentEventsFilter-BFlbTCVN.js.br +0 -0
  1035. package/dist/interface/assets/RecentEventsFilter-BFlbTCVN.js.gz +0 -0
  1036. package/dist/interface/assets/Recordings-BNByf_Or.js +0 -1
  1037. package/dist/interface/assets/Recordings-BNByf_Or.js.br +0 -0
  1038. package/dist/interface/assets/Recordings-BNByf_Or.js.gz +0 -0
  1039. package/dist/interface/assets/SensorEdit-DBpz5jrO.js +0 -1
  1040. package/dist/interface/assets/SensorEdit-DBpz5jrO.js.br +0 -0
  1041. package/dist/interface/assets/SensorEdit-DBpz5jrO.js.gz +0 -0
  1042. package/dist/interface/assets/SensorHistory-DwQQ6nFI.js +0 -1
  1043. package/dist/interface/assets/SensorHistory-DwQQ6nFI.js.br +0 -0
  1044. package/dist/interface/assets/SensorHistory-DwQQ6nFI.js.gz +0 -0
  1045. package/dist/interface/assets/Sensors-DTIZnOsc.js +0 -2
  1046. package/dist/interface/assets/Sensors-DTIZnOsc.js.br +0 -0
  1047. package/dist/interface/assets/Sensors-DTIZnOsc.js.gz +0 -0
  1048. package/dist/interface/assets/Settings-BpmZZZ5X.js +0 -1
  1049. package/dist/interface/assets/Settings-BpmZZZ5X.js.br +0 -0
  1050. package/dist/interface/assets/Settings-BpmZZZ5X.js.gz +0 -0
  1051. package/dist/interface/assets/SettingsAccount-BZvGNzRb.js +0 -1
  1052. package/dist/interface/assets/SettingsAccount-BZvGNzRb.js.br +0 -0
  1053. package/dist/interface/assets/SettingsAccount-BZvGNzRb.js.gz +0 -0
  1054. package/dist/interface/assets/SettingsAccount-UaKygscf.css +0 -1
  1055. package/dist/interface/assets/SettingsAccount-UaKygscf.css.br +0 -0
  1056. package/dist/interface/assets/SettingsAccount-UaKygscf.css.gz +0 -0
  1057. package/dist/interface/assets/SettingsAccount-jb4-Xc6f.js +0 -1
  1058. package/dist/interface/assets/SettingsAccount-jb4-Xc6f.js.br +0 -0
  1059. package/dist/interface/assets/SettingsAccount-jb4-Xc6f.js.gz +0 -0
  1060. package/dist/interface/assets/SettingsAppearance-B5785pDk.js +0 -1
  1061. package/dist/interface/assets/SettingsAppearance-B5785pDk.js.br +0 -0
  1062. package/dist/interface/assets/SettingsAppearance-B5785pDk.js.gz +0 -0
  1063. package/dist/interface/assets/SettingsAppearance-BxlHCftL.js +0 -1
  1064. package/dist/interface/assets/SettingsAppearance-BxlHCftL.js.br +0 -0
  1065. package/dist/interface/assets/SettingsAppearance-BxlHCftL.js.gz +0 -0
  1066. package/dist/interface/assets/SettingsAssistant-BqvP2AP3.js +0 -1
  1067. package/dist/interface/assets/SettingsAssistant-BqvP2AP3.js.br +0 -0
  1068. package/dist/interface/assets/SettingsAssistant-BqvP2AP3.js.gz +0 -0
  1069. package/dist/interface/assets/SettingsBackup-BJqeVFG4.js +0 -1
  1070. package/dist/interface/assets/SettingsBackup-BJqeVFG4.js.br +0 -0
  1071. package/dist/interface/assets/SettingsBackup-BJqeVFG4.js.gz +0 -0
  1072. package/dist/interface/assets/SettingsList-Dy_mA9K2.js +0 -1
  1073. package/dist/interface/assets/SettingsList-Dy_mA9K2.js.br +0 -0
  1074. package/dist/interface/assets/SettingsList-Dy_mA9K2.js.gz +0 -0
  1075. package/dist/interface/assets/SettingsMqtt-BYvn5IYr.js +0 -1
  1076. package/dist/interface/assets/SettingsMqtt-BYvn5IYr.js.br +0 -0
  1077. package/dist/interface/assets/SettingsMqtt-BYvn5IYr.js.gz +0 -0
  1078. package/dist/interface/assets/SettingsNotifications-BGaX9Ksi.js +0 -1
  1079. package/dist/interface/assets/SettingsNotifications-BGaX9Ksi.js.br +0 -0
  1080. package/dist/interface/assets/SettingsNotifications-BGaX9Ksi.js.gz +0 -0
  1081. package/dist/interface/assets/SettingsPermissions-GDUHm4Dy.js +0 -1
  1082. package/dist/interface/assets/SettingsPermissions-GDUHm4Dy.js.br +0 -0
  1083. package/dist/interface/assets/SettingsPermissions-GDUHm4Dy.js.gz +0 -0
  1084. package/dist/interface/assets/SettingsRecordings-DYKsAGHM.js +0 -1
  1085. package/dist/interface/assets/SettingsRecordings-DYKsAGHM.js.br +0 -0
  1086. package/dist/interface/assets/SettingsRecordings-DYKsAGHM.js.gz +0 -0
  1087. package/dist/interface/assets/SettingsRemote-Dq65gMYr.js +0 -2
  1088. package/dist/interface/assets/SettingsRemote-Dq65gMYr.js.br +0 -0
  1089. package/dist/interface/assets/SettingsRemote-Dq65gMYr.js.gz +0 -0
  1090. package/dist/interface/assets/SettingsSystem-Ct8hqB0Q.js +0 -2
  1091. package/dist/interface/assets/SettingsSystem-Ct8hqB0Q.js.br +0 -0
  1092. package/dist/interface/assets/SettingsSystem-Ct8hqB0Q.js.gz +0 -0
  1093. package/dist/interface/assets/SettingsUsers-BaY-mpI0.js +0 -1
  1094. package/dist/interface/assets/SettingsUsers-BaY-mpI0.js.br +0 -0
  1095. package/dist/interface/assets/SettingsUsers-BaY-mpI0.js.gz +0 -0
  1096. package/dist/interface/assets/Terminal-BwZVJsrs.js +0 -4
  1097. package/dist/interface/assets/Terminal-BwZVJsrs.js.br +0 -0
  1098. package/dist/interface/assets/Terminal-BwZVJsrs.js.gz +0 -0
  1099. package/dist/interface/assets/Training-Bn0X2TTy.js +0 -1
  1100. package/dist/interface/assets/Training-Bn0X2TTy.js.br +0 -0
  1101. package/dist/interface/assets/Training-Bn0X2TTy.js.gz +0 -0
  1102. package/dist/interface/assets/Updates-C7F84E2k.js +0 -2
  1103. package/dist/interface/assets/Updates-C7F84E2k.js.br +0 -0
  1104. package/dist/interface/assets/Updates-C7F84E2k.js.gz +0 -0
  1105. package/dist/interface/assets/VariableInput-BmTqWbr7.js +0 -1
  1106. package/dist/interface/assets/VariableInput-BmTqWbr7.js.br +0 -4
  1107. package/dist/interface/assets/VariableInput-BmTqWbr7.js.gz +0 -0
  1108. package/dist/interface/assets/VersionsHandler-DLKfxVjW.js +0 -7
  1109. package/dist/interface/assets/VersionsHandler-DLKfxVjW.js.br +0 -0
  1110. package/dist/interface/assets/VersionsHandler-DLKfxVjW.js.gz +0 -0
  1111. package/dist/interface/assets/VirtualSensorCreate-rTcEcAhh.js +0 -1
  1112. package/dist/interface/assets/VirtualSensorCreate-rTcEcAhh.js.br +0 -0
  1113. package/dist/interface/assets/VirtualSensorCreate-rTcEcAhh.js.gz +0 -0
  1114. package/dist/interface/assets/Workers-BmCpS11X.js +0 -2
  1115. package/dist/interface/assets/Workers-BmCpS11X.js.br +0 -0
  1116. package/dist/interface/assets/Workers-BmCpS11X.js.gz +0 -0
  1117. package/dist/interface/assets/api-BnIHl_ph.js +0 -1
  1118. package/dist/interface/assets/api-BnIHl_ph.js.br +0 -2
  1119. package/dist/interface/assets/api-BnIHl_ph.js.gz +0 -0
  1120. package/dist/interface/assets/api-Cr35WxQ9.js +0 -4
  1121. package/dist/interface/assets/api-Cr35WxQ9.js.br +0 -0
  1122. package/dist/interface/assets/api-Cr35WxQ9.js.gz +0 -0
  1123. package/dist/interface/assets/api-Dh8jUlae.css +0 -2
  1124. package/dist/interface/assets/api-Dh8jUlae.css.br +0 -0
  1125. package/dist/interface/assets/api-Dh8jUlae.css.gz +0 -0
  1126. package/dist/interface/assets/assistant-D3LA-H2B.js +0 -1
  1127. package/dist/interface/assets/assistant-D3LA-H2B.js.br +0 -0
  1128. package/dist/interface/assets/assistant-D3LA-H2B.js.gz +0 -0
  1129. package/dist/interface/assets/auth-H0IrVJ07.js +0 -1
  1130. package/dist/interface/assets/auth-H0IrVJ07.js.br +0 -0
  1131. package/dist/interface/assets/auth-H0IrVJ07.js.gz +0 -0
  1132. package/dist/interface/assets/automations-DVloYi1F.js +0 -1
  1133. package/dist/interface/assets/automations-DVloYi1F.js.br +0 -0
  1134. package/dist/interface/assets/automations-DVloYi1F.js.gz +0 -0
  1135. package/dist/interface/assets/cameraSources-C-oeWnEa.js +0 -1
  1136. package/dist/interface/assets/cameraSources-C-oeWnEa.js.br +0 -0
  1137. package/dist/interface/assets/cameraSources-C-oeWnEa.js.gz +0 -0
  1138. package/dist/interface/assets/cloudHandoff-7kajbWnb.js +0 -1
  1139. package/dist/interface/assets/cloudHandoff-7kajbWnb.js.br +0 -1
  1140. package/dist/interface/assets/cloudHandoff-7kajbWnb.js.gz +0 -0
  1141. package/dist/interface/assets/config-CYPq0jKV.js +0 -1
  1142. package/dist/interface/assets/config-CYPq0jKV.js.br +0 -0
  1143. package/dist/interface/assets/config-CYPq0jKV.js.gz +0 -0
  1144. package/dist/interface/assets/flowSchema-DDR5Bkwp.js +0 -1
  1145. package/dist/interface/assets/flowSchema-DDR5Bkwp.js.br +0 -0
  1146. package/dist/interface/assets/flowSchema-DDR5Bkwp.js.gz +0 -0
  1147. package/dist/interface/assets/intercomService-CrNJqjSQ.js +0 -1
  1148. package/dist/interface/assets/intercomService-CrNJqjSQ.js.br +0 -0
  1149. package/dist/interface/assets/intercomService-CrNJqjSQ.js.gz +0 -0
  1150. package/dist/interface/assets/main-DkZ5J9f-.js +0 -3
  1151. package/dist/interface/assets/main-DkZ5J9f-.js.br +0 -0
  1152. package/dist/interface/assets/main-DkZ5J9f-.js.gz +0 -0
  1153. package/dist/interface/assets/mqtt-awK-0sPa.js +0 -1
  1154. package/dist/interface/assets/mqtt-awK-0sPa.js.br +0 -3
  1155. package/dist/interface/assets/mqtt-awK-0sPa.js.gz +0 -0
  1156. package/dist/interface/assets/notifications-C3dI-Mb2.js +0 -1
  1157. package/dist/interface/assets/notifications-C3dI-Mb2.js.br +0 -0
  1158. package/dist/interface/assets/notifications-C3dI-Mb2.js.gz +0 -0
  1159. package/dist/interface/assets/plugins-DNe-IpyD.js +0 -1
  1160. package/dist/interface/assets/plugins-DNe-IpyD.js.br +0 -0
  1161. package/dist/interface/assets/plugins-DNe-IpyD.js.gz +0 -0
  1162. package/dist/interface/assets/rooms-aZ-1yqux.js +0 -1
  1163. package/dist/interface/assets/rooms-aZ-1yqux.js.br +0 -0
  1164. package/dist/interface/assets/rooms-aZ-1yqux.js.gz +0 -0
  1165. package/dist/interface/assets/sensorIcons-B2n8mSA1.js +0 -1
  1166. package/dist/interface/assets/sensorIcons-B2n8mSA1.js.br +0 -0
  1167. package/dist/interface/assets/sensorIcons-B2n8mSA1.js.gz +0 -0
  1168. package/dist/interface/assets/sensorSlots-CZ1jzvW0.js +0 -1
  1169. package/dist/interface/assets/sensorSlots-CZ1jzvW0.js.br +0 -0
  1170. package/dist/interface/assets/sensorSlots-CZ1jzvW0.js.gz +0 -0
  1171. package/dist/interface/assets/sensors-WvDabknx.js +0 -1
  1172. package/dist/interface/assets/sensors-WvDabknx.js.br +0 -0
  1173. package/dist/interface/assets/sensors-WvDabknx.js.gz +0 -0
  1174. package/dist/interface/assets/server-CS00Piad.js +0 -1
  1175. package/dist/interface/assets/server-CS00Piad.js.br +0 -0
  1176. package/dist/interface/assets/server-CS00Piad.js.gz +0 -0
  1177. package/dist/interface/assets/theme-Pa8YlYGw.js +0 -1
  1178. package/dist/interface/assets/theme-Pa8YlYGw.js.br +0 -0
  1179. package/dist/interface/assets/theme-Pa8YlYGw.js.gz +0 -0
  1180. package/dist/interface/assets/types-Bo-NWCAC.js +0 -1
  1181. package/dist/interface/assets/types-Bo-NWCAC.js.br +0 -0
  1182. package/dist/interface/assets/types-Bo-NWCAC.js.gz +0 -0
  1183. package/dist/interface/assets/types-CVAA-zJR.js +0 -1
  1184. package/dist/interface/assets/types-CVAA-zJR.js.br +0 -0
  1185. package/dist/interface/assets/types-CVAA-zJR.js.gz +0 -0
  1186. package/dist/interface/assets/types-OT17v6kT.js +0 -1
  1187. package/dist/interface/assets/types-OT17v6kT.js.br +0 -0
  1188. package/dist/interface/assets/types-OT17v6kT.js.gz +0 -0
  1189. package/dist/interface/assets/updates-B_2JKJzB.js +0 -2
  1190. package/dist/interface/assets/updates-B_2JKJzB.js.br +0 -0
  1191. package/dist/interface/assets/updates-B_2JKJzB.js.gz +0 -0
  1192. package/dist/interface/assets/useAppVersion-CuEpmZ_O.js +0 -1
  1193. package/dist/interface/assets/useAppVersion-CuEpmZ_O.js.br +0 -0
  1194. package/dist/interface/assets/useAppVersion-CuEpmZ_O.js.gz +0 -0
  1195. package/dist/interface/assets/useCameraOptions-CRwLXMIc.js +0 -1
  1196. package/dist/interface/assets/useCameraOptions-CRwLXMIc.js.br +0 -0
  1197. package/dist/interface/assets/useCameraOptions-CRwLXMIc.js.gz +0 -0
  1198. package/dist/interface/assets/useKeyboardInset-e2TuYFch.js +0 -1
  1199. package/dist/interface/assets/useKeyboardInset-e2TuYFch.js.br +0 -0
  1200. package/dist/interface/assets/useKeyboardInset-e2TuYFch.js.gz +0 -0
  1201. package/dist/interface/assets/useLogsSocket-DApiCIRx.js +0 -1
  1202. package/dist/interface/assets/useLogsSocket-DApiCIRx.js.br +0 -0
  1203. package/dist/interface/assets/useLogsSocket-DApiCIRx.js.gz +0 -0
  1204. package/dist/interface/assets/useNavLayout-DDcpWBKr.js +0 -1
  1205. package/dist/interface/assets/useNavLayout-DDcpWBKr.js.br +0 -0
  1206. package/dist/interface/assets/useNavLayout-DDcpWBKr.js.gz +0 -0
  1207. package/dist/interface/assets/usePermissions-Bh_myrIK.js +0 -1
  1208. package/dist/interface/assets/usePermissions-Bh_myrIK.js.br +0 -0
  1209. package/dist/interface/assets/usePermissions-Bh_myrIK.js.gz +0 -0
  1210. package/dist/interface/assets/usePlacementLabel-CeAIoypC.js +0 -1
  1211. package/dist/interface/assets/usePlacementLabel-CeAIoypC.js.br +0 -4
  1212. package/dist/interface/assets/usePlacementLabel-CeAIoypC.js.gz +0 -0
  1213. package/dist/interface/assets/usePlacementSocket-BdUxTN8u.js +0 -1
  1214. package/dist/interface/assets/usePlacementSocket-BdUxTN8u.js.br +0 -0
  1215. package/dist/interface/assets/usePlacementSocket-BdUxTN8u.js.gz +0 -0
  1216. package/dist/interface/assets/usePluginUpdates-CzJHo-c7.js +0 -1
  1217. package/dist/interface/assets/usePluginUpdates-CzJHo-c7.js.br +0 -0
  1218. package/dist/interface/assets/usePluginUpdates-CzJHo-c7.js.gz +0 -0
  1219. package/dist/interface/assets/usePluginsSocket-ClsgHCK0.js +0 -1
  1220. package/dist/interface/assets/usePluginsSocket-ClsgHCK0.js.br +0 -0
  1221. package/dist/interface/assets/usePluginsSocket-ClsgHCK0.js.gz +0 -0
  1222. package/dist/interface/assets/usePushRegistration-CXChru-H.js +0 -2
  1223. package/dist/interface/assets/usePushRegistration-CXChru-H.js.br +0 -0
  1224. package/dist/interface/assets/usePushRegistration-CXChru-H.js.gz +0 -0
  1225. package/dist/interface/assets/useServerRestart-CjwXpwtq.js +0 -1
  1226. package/dist/interface/assets/useServerRestart-CjwXpwtq.js.br +0 -0
  1227. package/dist/interface/assets/useServerRestart-CjwXpwtq.js.gz +0 -0
  1228. package/dist/interface/assets/useTabSwipe-D7mGV0pr.js +0 -1
  1229. package/dist/interface/assets/useTabSwipe-D7mGV0pr.js.br +0 -0
  1230. package/dist/interface/assets/useTabSwipe-D7mGV0pr.js.gz +0 -0
  1231. package/dist/interface/assets/useUpdateChannel-Ba1im3eb.js +0 -1
  1232. package/dist/interface/assets/useUpdateChannel-Ba1im3eb.js.br +0 -0
  1233. package/dist/interface/assets/useUpdateChannel-Ba1im3eb.js.gz +0 -0
  1234. package/dist/interface/assets/useUpdatesSocket-D37pbc6H.js +0 -1
  1235. package/dist/interface/assets/useUpdatesSocket-D37pbc6H.js.br +0 -0
  1236. package/dist/interface/assets/useUpdatesSocket-D37pbc6H.js.gz +0 -0
  1237. package/dist/interface/assets/useUserOptions-CDYyeM93.js +0 -1
  1238. package/dist/interface/assets/useUserOptions-CDYyeM93.js.br +0 -0
  1239. package/dist/interface/assets/useUserOptions-CDYyeM93.js.gz +0 -0
  1240. package/dist/interface/assets/vendor-cameraui-CFuqYfdj.js +0 -8
  1241. package/dist/interface/assets/vendor-cameraui-CFuqYfdj.js.br +0 -0
  1242. package/dist/interface/assets/vendor-cameraui-CFuqYfdj.js.gz +0 -0
  1243. package/dist/interface/assets/vendor-cameraui-zEcMwDN6.css +0 -1
  1244. package/dist/interface/assets/vendor-cameraui-zEcMwDN6.css.br +0 -0
  1245. package/dist/interface/assets/vendor-cameraui-zEcMwDN6.css.gz +0 -0
  1246. package/dist/interface/ha/404-BywY4Jvr.js +0 -60
  1247. package/dist/interface/ha/404-BywY4Jvr.js.br +0 -0
  1248. package/dist/interface/ha/404-BywY4Jvr.js.gz +0 -0
  1249. package/dist/interface/ha/About-8PFRh-Sf.js +0 -55
  1250. package/dist/interface/ha/About-8PFRh-Sf.js.br +0 -0
  1251. package/dist/interface/ha/About-8PFRh-Sf.js.gz +0 -0
  1252. package/dist/interface/ha/Assistant-C77OjjFX.js +0 -11071
  1253. package/dist/interface/ha/Assistant-C77OjjFX.js.br +0 -0
  1254. package/dist/interface/ha/Assistant-C77OjjFX.js.gz +0 -0
  1255. package/dist/interface/ha/Automation-BJMHiGPH.js +0 -2009
  1256. package/dist/interface/ha/Automation-BJMHiGPH.js.br +0 -0
  1257. package/dist/interface/ha/Automation-BJMHiGPH.js.gz +0 -0
  1258. package/dist/interface/ha/AutomationImport-BHuK66Kc.js +0 -206
  1259. package/dist/interface/ha/AutomationImport-BHuK66Kc.js.br +0 -0
  1260. package/dist/interface/ha/AutomationImport-BHuK66Kc.js.gz +0 -0
  1261. package/dist/interface/ha/AutomationStore-CGod8A1N.js +0 -336
  1262. package/dist/interface/ha/AutomationStore-CGod8A1N.js.br +0 -0
  1263. package/dist/interface/ha/AutomationStore-CGod8A1N.js.gz +0 -0
  1264. package/dist/interface/ha/AutomationStoreDetail-6I678hDH.js +0 -121
  1265. package/dist/interface/ha/AutomationStoreDetail-6I678hDH.js.br +0 -0
  1266. package/dist/interface/ha/AutomationStoreDetail-6I678hDH.js.gz +0 -0
  1267. package/dist/interface/ha/Automations-9ppBO6CN.js +0 -423
  1268. package/dist/interface/ha/Automations-9ppBO6CN.js.br +0 -0
  1269. package/dist/interface/ha/Automations-9ppBO6CN.js.gz +0 -0
  1270. package/dist/interface/ha/Camera-DjAyDYgY.js +0 -740
  1271. package/dist/interface/ha/Camera-DjAyDYgY.js.br +0 -0
  1272. package/dist/interface/ha/Camera-DjAyDYgY.js.gz +0 -0
  1273. package/dist/interface/ha/CameraConsole-BM5rWzey.js +0 -52
  1274. package/dist/interface/ha/CameraConsole-BM5rWzey.js.br +0 -0
  1275. package/dist/interface/ha/CameraConsole-BM5rWzey.js.gz +0 -0
  1276. package/dist/interface/ha/Cameras-CBRTfWbL.js +0 -1934
  1277. package/dist/interface/ha/Cameras-CBRTfWbL.js.br +0 -0
  1278. package/dist/interface/ha/Cameras-CBRTfWbL.js.gz +0 -0
  1279. package/dist/interface/ha/Camview-B5cIFdGC.js +0 -1368
  1280. package/dist/interface/ha/Camview-B5cIFdGC.js.br +0 -0
  1281. package/dist/interface/ha/Camview-B5cIFdGC.js.gz +0 -0
  1282. package/dist/interface/ha/Config-DhSdVsF7.js +0 -354
  1283. package/dist/interface/ha/Config-DhSdVsF7.js.br +0 -0
  1284. package/dist/interface/ha/Config-DhSdVsF7.js.gz +0 -0
  1285. package/dist/interface/ha/ConfigActionAssistant-Bw4vlUC0.js +0 -182
  1286. package/dist/interface/ha/ConfigActionAssistant-Bw4vlUC0.js.br +0 -0
  1287. package/dist/interface/ha/ConfigActionAssistant-Bw4vlUC0.js.gz +0 -0
  1288. package/dist/interface/ha/ConfigActionCameraControl-RrZvG6KM.js +0 -152
  1289. package/dist/interface/ha/ConfigActionCameraControl-RrZvG6KM.js.br +0 -0
  1290. package/dist/interface/ha/ConfigActionCameraControl-RrZvG6KM.js.gz +0 -0
  1291. package/dist/interface/ha/ConfigActionHttp-CEiCUR_V.js +0 -134
  1292. package/dist/interface/ha/ConfigActionHttp-CEiCUR_V.js.br +0 -0
  1293. package/dist/interface/ha/ConfigActionHttp-CEiCUR_V.js.gz +0 -0
  1294. package/dist/interface/ha/ConfigActionImageInput-BO0wSY56.js +0 -170
  1295. package/dist/interface/ha/ConfigActionImageInput-BO0wSY56.js.br +0 -0
  1296. package/dist/interface/ha/ConfigActionImageInput-BO0wSY56.js.gz +0 -0
  1297. package/dist/interface/ha/ConfigActionMqtt-CCtnhVk9.js +0 -78
  1298. package/dist/interface/ha/ConfigActionMqtt-CCtnhVk9.js.br +0 -0
  1299. package/dist/interface/ha/ConfigActionMqtt-CCtnhVk9.js.gz +0 -0
  1300. package/dist/interface/ha/ConfigActionNotification-70DQpmHo.js +0 -198
  1301. package/dist/interface/ha/ConfigActionNotification-70DQpmHo.js.br +0 -0
  1302. package/dist/interface/ha/ConfigActionNotification-70DQpmHo.js.gz +0 -0
  1303. package/dist/interface/ha/ConfigActionNotificationControl-DK-3aXGI.js +0 -111
  1304. package/dist/interface/ha/ConfigActionNotificationControl-DK-3aXGI.js.br +0 -0
  1305. package/dist/interface/ha/ConfigActionNotificationControl-DK-3aXGI.js.gz +0 -0
  1306. package/dist/interface/ha/ConfigActionOutput-B0ib6a16.js +0 -98
  1307. package/dist/interface/ha/ConfigActionOutput-B0ib6a16.js.br +0 -0
  1308. package/dist/interface/ha/ConfigActionOutput-B0ib6a16.js.gz +0 -0
  1309. package/dist/interface/ha/ConfigActionPlugin-QkF9yHeH.js +0 -171
  1310. package/dist/interface/ha/ConfigActionPlugin-QkF9yHeH.js.br +0 -0
  1311. package/dist/interface/ha/ConfigActionPlugin-QkF9yHeH.js.gz +0 -0
  1312. package/dist/interface/ha/ConfigActionSensor-CE1DOevQ.js +0 -138
  1313. package/dist/interface/ha/ConfigActionSensor-CE1DOevQ.js.br +0 -0
  1314. package/dist/interface/ha/ConfigActionSensor-CE1DOevQ.js.gz +0 -0
  1315. package/dist/interface/ha/ConfigActionSnapshot-B7dlBztR.js +0 -45
  1316. package/dist/interface/ha/ConfigActionSnapshot-B7dlBztR.js.br +0 -0
  1317. package/dist/interface/ha/ConfigActionSnapshot-B7dlBztR.js.gz +0 -0
  1318. package/dist/interface/ha/ConfigActionVariable-DErggfIp.js +0 -88
  1319. package/dist/interface/ha/ConfigActionVariable-DErggfIp.js.br +0 -0
  1320. package/dist/interface/ha/ConfigActionVariable-DErggfIp.js.gz +0 -0
  1321. package/dist/interface/ha/ConfigConditionIfElse-BIeovH2W.js +0 -124
  1322. package/dist/interface/ha/ConfigConditionIfElse-BIeovH2W.js.br +0 -0
  1323. package/dist/interface/ha/ConfigConditionIfElse-BIeovH2W.js.gz +0 -0
  1324. package/dist/interface/ha/ConfigConditionSensorState-CJpeowpG.js +0 -190
  1325. package/dist/interface/ha/ConfigConditionSensorState-CJpeowpG.js.br +0 -0
  1326. package/dist/interface/ha/ConfigConditionSensorState-CJpeowpG.js.gz +0 -0
  1327. package/dist/interface/ha/ConfigConditionSwitch-CBbPCmwW.js +0 -128
  1328. package/dist/interface/ha/ConfigConditionSwitch-CBbPCmwW.js.br +0 -0
  1329. package/dist/interface/ha/ConfigConditionSwitch-CBbPCmwW.js.gz +0 -0
  1330. package/dist/interface/ha/ConfigSensorValueInput-DQ34op2F.js +0 -173
  1331. package/dist/interface/ha/ConfigSensorValueInput-DQ34op2F.js.br +0 -0
  1332. package/dist/interface/ha/ConfigSensorValueInput-DQ34op2F.js.gz +0 -0
  1333. package/dist/interface/ha/ConfigTriggerDetection-DRKhDMwq.js +0 -241
  1334. package/dist/interface/ha/ConfigTriggerDetection-DRKhDMwq.js.br +0 -0
  1335. package/dist/interface/ha/ConfigTriggerDetection-DRKhDMwq.js.gz +0 -0
  1336. package/dist/interface/ha/ConfigTriggerGeofence-qIlay2IL.js +0 -4836
  1337. package/dist/interface/ha/ConfigTriggerGeofence-qIlay2IL.js.br +0 -0
  1338. package/dist/interface/ha/ConfigTriggerGeofence-qIlay2IL.js.gz +0 -0
  1339. package/dist/interface/ha/ConfigTriggerMqtt-v4qtTZky.js +0 -134
  1340. package/dist/interface/ha/ConfigTriggerMqtt-v4qtTZky.js.br +0 -0
  1341. package/dist/interface/ha/ConfigTriggerMqtt-v4qtTZky.js.gz +0 -0
  1342. package/dist/interface/ha/ConfigTriggerSensor-D41IjJmD.js +0 -73
  1343. package/dist/interface/ha/ConfigTriggerSensor-D41IjJmD.js.br +0 -0
  1344. package/dist/interface/ha/ConfigTriggerSensor-D41IjJmD.js.gz +0 -0
  1345. package/dist/interface/ha/ConfigTriggerSystem-r8UntVtC.js +0 -192
  1346. package/dist/interface/ha/ConfigTriggerSystem-r8UntVtC.js.br +0 -0
  1347. package/dist/interface/ha/ConfigTriggerSystem-r8UntVtC.js.gz +0 -0
  1348. package/dist/interface/ha/ConfigTriggerWebhook-BdB-5oa1.js +0 -94
  1349. package/dist/interface/ha/ConfigTriggerWebhook-BdB-5oa1.js.br +0 -0
  1350. package/dist/interface/ha/ConfigTriggerWebhook-BdB-5oa1.js.gz +0 -0
  1351. package/dist/interface/ha/Console--T_nKTS8.js +0 -347
  1352. package/dist/interface/ha/Console--T_nKTS8.js.br +0 -0
  1353. package/dist/interface/ha/Console--T_nKTS8.js.gz +0 -0
  1354. package/dist/interface/ha/CuiAutomationRunsDialog-Cf606jHZ.js +0 -129
  1355. package/dist/interface/ha/CuiAutomationRunsDialog-Cf606jHZ.js.br +0 -0
  1356. package/dist/interface/ha/CuiAutomationRunsDialog-Cf606jHZ.js.gz +0 -0
  1357. package/dist/interface/ha/CuiBottomSheet-CJEhDFzJ.js +0 -270
  1358. package/dist/interface/ha/CuiBottomSheet-CJEhDFzJ.js.br +0 -0
  1359. package/dist/interface/ha/CuiBottomSheet-CJEhDFzJ.js.gz +0 -0
  1360. package/dist/interface/ha/CuiCameraRecordings-CrmTwIX1.js +0 -575
  1361. package/dist/interface/ha/CuiCameraRecordings-CrmTwIX1.js.br +0 -0
  1362. package/dist/interface/ha/CuiCameraRecordings-CrmTwIX1.js.gz +0 -0
  1363. package/dist/interface/ha/CuiCameraShares-Cr1pVgZz.js +0 -120
  1364. package/dist/interface/ha/CuiCameraShares-Cr1pVgZz.js.br +0 -0
  1365. package/dist/interface/ha/CuiCameraShares-Cr1pVgZz.js.gz +0 -0
  1366. package/dist/interface/ha/CuiCameraTable-ZX4L7FCs.js +0 -105
  1367. package/dist/interface/ha/CuiCameraTable-ZX4L7FCs.js.br +0 -0
  1368. package/dist/interface/ha/CuiCameraTable-ZX4L7FCs.js.gz +0 -0
  1369. package/dist/interface/ha/CuiChartTable-BW62b9Qq.js +0 -6797
  1370. package/dist/interface/ha/CuiChartTable-BW62b9Qq.js.br +0 -0
  1371. package/dist/interface/ha/CuiChartTable-BW62b9Qq.js.gz +0 -0
  1372. package/dist/interface/ha/CuiConsole-DiwBwttJ.js +0 -234
  1373. package/dist/interface/ha/CuiConsole-DiwBwttJ.js.br +0 -0
  1374. package/dist/interface/ha/CuiConsole-DiwBwttJ.js.gz +0 -0
  1375. package/dist/interface/ha/CuiDataTable-CV5ePNzg.js +0 -8860
  1376. package/dist/interface/ha/CuiDataTable-CV5ePNzg.js.br +0 -0
  1377. package/dist/interface/ha/CuiDataTable-CV5ePNzg.js.gz +0 -0
  1378. package/dist/interface/ha/CuiMoveCodeForm-BWx1Cq-F.js +0 -89
  1379. package/dist/interface/ha/CuiMoveCodeForm-BWx1Cq-F.js.br +0 -0
  1380. package/dist/interface/ha/CuiMoveCodeForm-BWx1Cq-F.js.gz +0 -0
  1381. package/dist/interface/ha/CuiPluginCard-BGDlbiOg.js +0 -778
  1382. package/dist/interface/ha/CuiPluginCard-BGDlbiOg.js.br +0 -0
  1383. package/dist/interface/ha/CuiPluginCard-BGDlbiOg.js.gz +0 -0
  1384. package/dist/interface/ha/CuiPluginOAuthButton-BIHbzHVh.js +0 -74
  1385. package/dist/interface/ha/CuiPluginOAuthButton-BIHbzHVh.js.br +0 -0
  1386. package/dist/interface/ha/CuiPluginOAuthButton-BIHbzHVh.js.gz +0 -0
  1387. package/dist/interface/ha/CuiPluginTrustBadge-zofcBVHD.js +0 -122
  1388. package/dist/interface/ha/CuiPluginTrustBadge-zofcBVHD.js.br +0 -0
  1389. package/dist/interface/ha/CuiPluginTrustBadge-zofcBVHD.js.gz +0 -0
  1390. package/dist/interface/ha/CuiQRCode-Ci5CO-6f.js +0 -86
  1391. package/dist/interface/ha/CuiQRCode-Ci5CO-6f.js.br +0 -0
  1392. package/dist/interface/ha/CuiQRCode-Ci5CO-6f.js.gz +0 -0
  1393. package/dist/interface/ha/CuiSchema-2zcLy55L.js +0 -952
  1394. package/dist/interface/ha/CuiSchema-2zcLy55L.js.br +0 -0
  1395. package/dist/interface/ha/CuiSchema-2zcLy55L.js.gz +0 -0
  1396. package/dist/interface/ha/CuiTopNavbarItem-B0732iHw.js +0 -141
  1397. package/dist/interface/ha/CuiTopNavbarItem-B0732iHw.js.br +0 -0
  1398. package/dist/interface/ha/CuiTopNavbarItem-B0732iHw.js.gz +0 -0
  1399. package/dist/interface/ha/Faces-B4aKBeyA.js +0 -1659
  1400. package/dist/interface/ha/Faces-B4aKBeyA.js.br +0 -0
  1401. package/dist/interface/ha/Faces-B4aKBeyA.js.gz +0 -0
  1402. package/dist/interface/ha/FirstSteps-Ctp9YBZ6.js +0 -254
  1403. package/dist/interface/ha/FirstSteps-Ctp9YBZ6.js.br +0 -0
  1404. package/dist/interface/ha/FirstSteps-Ctp9YBZ6.js.gz +0 -0
  1405. package/dist/interface/ha/Floorplan-CXzOZKsI.js +0 -3707
  1406. package/dist/interface/ha/Floorplan-CXzOZKsI.js.br +0 -0
  1407. package/dist/interface/ha/Floorplan-CXzOZKsI.js.gz +0 -0
  1408. package/dist/interface/ha/Instances-CNsMxi15.js +0 -670
  1409. package/dist/interface/ha/Instances-CNsMxi15.js.br +0 -0
  1410. package/dist/interface/ha/Instances-CNsMxi15.js.gz +0 -0
  1411. package/dist/interface/ha/Logs-EnUf7xcF.js +0 -417
  1412. package/dist/interface/ha/Logs-EnUf7xcF.js.br +0 -0
  1413. package/dist/interface/ha/Logs-EnUf7xcF.js.gz +0 -0
  1414. package/dist/interface/ha/Menu-DuJ0iKHi.js +0 -159
  1415. package/dist/interface/ha/Menu-DuJ0iKHi.js.br +0 -0
  1416. package/dist/interface/ha/Menu-DuJ0iKHi.js.gz +0 -0
  1417. package/dist/interface/ha/Metrics-CSnvk_qW.js +0 -1484
  1418. package/dist/interface/ha/Metrics-CSnvk_qW.js.br +0 -0
  1419. package/dist/interface/ha/Metrics-CSnvk_qW.js.gz +0 -0
  1420. package/dist/interface/ha/OAuthDeviceFlow-JM34RDhw.js +0 -112
  1421. package/dist/interface/ha/OAuthDeviceFlow-JM34RDhw.js.br +0 -0
  1422. package/dist/interface/ha/OAuthDeviceFlow-JM34RDhw.js.gz +0 -0
  1423. package/dist/interface/ha/Plugin-BIkF3weH.js +0 -1746
  1424. package/dist/interface/ha/Plugin-BIkF3weH.js.br +0 -0
  1425. package/dist/interface/ha/Plugin-BIkF3weH.js.gz +0 -0
  1426. package/dist/interface/ha/PluginConsole-DPO3htV-.js +0 -56
  1427. package/dist/interface/ha/PluginConsole-DPO3htV-.js.br +0 -0
  1428. package/dist/interface/ha/PluginConsole-DPO3htV-.js.gz +0 -0
  1429. package/dist/interface/ha/PluginDetail-Cud7M8Qx.js +0 -804
  1430. package/dist/interface/ha/PluginDetail-Cud7M8Qx.js.br +0 -0
  1431. package/dist/interface/ha/PluginDetail-Cud7M8Qx.js.gz +0 -0
  1432. package/dist/interface/ha/PluginSearch-DpbGVKcN.js +0 -462
  1433. package/dist/interface/ha/PluginSearch-DpbGVKcN.js.br +0 -0
  1434. package/dist/interface/ha/PluginSearch-DpbGVKcN.js.gz +0 -0
  1435. package/dist/interface/ha/PluginUpdateProgress-Cm8b1STp.js +0 -34
  1436. package/dist/interface/ha/PluginUpdateProgress-Cm8b1STp.js.br +0 -0
  1437. package/dist/interface/ha/PluginUpdateProgress-Cm8b1STp.js.gz +0 -0
  1438. package/dist/interface/ha/Plugins-BmQpdq53.js +0 -697
  1439. package/dist/interface/ha/Plugins-BmQpdq53.js.br +0 -0
  1440. package/dist/interface/ha/Plugins-BmQpdq53.js.gz +0 -0
  1441. package/dist/interface/ha/Recordings-DiyffWNR.js +0 -1916
  1442. package/dist/interface/ha/Recordings-DiyffWNR.js.br +0 -0
  1443. package/dist/interface/ha/Recordings-DiyffWNR.js.gz +0 -0
  1444. package/dist/interface/ha/SensorEdit-7ooblzTY.js +0 -1466
  1445. package/dist/interface/ha/SensorEdit-7ooblzTY.js.br +0 -0
  1446. package/dist/interface/ha/SensorEdit-7ooblzTY.js.gz +0 -0
  1447. package/dist/interface/ha/SensorHistory-BL5BX7az.js +0 -54
  1448. package/dist/interface/ha/SensorHistory-BL5BX7az.js.br +0 -0
  1449. package/dist/interface/ha/SensorHistory-BL5BX7az.js.gz +0 -0
  1450. package/dist/interface/ha/Sensors-Cx69JhE8.js +0 -1400
  1451. package/dist/interface/ha/Sensors-Cx69JhE8.js.br +0 -0
  1452. package/dist/interface/ha/Sensors-Cx69JhE8.js.gz +0 -0
  1453. package/dist/interface/ha/Settings-BOPHH2KY.js +0 -218
  1454. package/dist/interface/ha/Settings-BOPHH2KY.js.br +0 -0
  1455. package/dist/interface/ha/Settings-BOPHH2KY.js.gz +0 -0
  1456. package/dist/interface/ha/SettingsAccount-CtLqZVdb.js +0 -968
  1457. package/dist/interface/ha/SettingsAccount-CtLqZVdb.js.br +0 -0
  1458. package/dist/interface/ha/SettingsAccount-CtLqZVdb.js.gz +0 -0
  1459. package/dist/interface/ha/SettingsAppearance-uDWU75lw.js +0 -201
  1460. package/dist/interface/ha/SettingsAppearance-uDWU75lw.js.br +0 -0
  1461. package/dist/interface/ha/SettingsAppearance-uDWU75lw.js.gz +0 -0
  1462. package/dist/interface/ha/SettingsAssistant-DvvdE6OG.js +0 -2134
  1463. package/dist/interface/ha/SettingsAssistant-DvvdE6OG.js.br +0 -0
  1464. package/dist/interface/ha/SettingsAssistant-DvvdE6OG.js.gz +0 -0
  1465. package/dist/interface/ha/SettingsBackup-BmdfMnIU.js +0 -1047
  1466. package/dist/interface/ha/SettingsBackup-BmdfMnIU.js.br +0 -0
  1467. package/dist/interface/ha/SettingsBackup-BmdfMnIU.js.gz +0 -0
  1468. package/dist/interface/ha/SettingsList-Da4qc9Bj.js +0 -40
  1469. package/dist/interface/ha/SettingsList-Da4qc9Bj.js.br +0 -0
  1470. package/dist/interface/ha/SettingsList-Da4qc9Bj.js.gz +0 -0
  1471. package/dist/interface/ha/SettingsMqtt-CxvlT_-F.js +0 -512
  1472. package/dist/interface/ha/SettingsMqtt-CxvlT_-F.js.br +0 -0
  1473. package/dist/interface/ha/SettingsMqtt-CxvlT_-F.js.gz +0 -0
  1474. package/dist/interface/ha/SettingsNotifications-e7seCZzS.js +0 -514
  1475. package/dist/interface/ha/SettingsNotifications-e7seCZzS.js.br +0 -0
  1476. package/dist/interface/ha/SettingsNotifications-e7seCZzS.js.gz +0 -0
  1477. package/dist/interface/ha/SettingsRecordings-DsbNW8h3.js +0 -152
  1478. package/dist/interface/ha/SettingsRecordings-DsbNW8h3.js.br +0 -0
  1479. package/dist/interface/ha/SettingsRecordings-DsbNW8h3.js.gz +0 -0
  1480. package/dist/interface/ha/SettingsRemote-BhOZCRFm.js +0 -1523
  1481. package/dist/interface/ha/SettingsRemote-BhOZCRFm.js.br +0 -0
  1482. package/dist/interface/ha/SettingsRemote-BhOZCRFm.js.gz +0 -0
  1483. package/dist/interface/ha/SettingsSystem-BTjdaej-.js +0 -382
  1484. package/dist/interface/ha/SettingsSystem-BTjdaej-.js.br +0 -0
  1485. package/dist/interface/ha/SettingsSystem-BTjdaej-.js.gz +0 -0
  1486. package/dist/interface/ha/SettingsUsers-66Bn-ZuP.js +0 -370
  1487. package/dist/interface/ha/SettingsUsers-66Bn-ZuP.js.br +0 -0
  1488. package/dist/interface/ha/SettingsUsers-66Bn-ZuP.js.gz +0 -0
  1489. package/dist/interface/ha/Terminal-Gb4DqytJ.js +0 -611
  1490. package/dist/interface/ha/Terminal-Gb4DqytJ.js.br +0 -0
  1491. package/dist/interface/ha/Terminal-Gb4DqytJ.js.gz +0 -0
  1492. package/dist/interface/ha/Training-B0_5KTik.js +0 -1829
  1493. package/dist/interface/ha/Training-B0_5KTik.js.br +0 -0
  1494. package/dist/interface/ha/Training-B0_5KTik.js.gz +0 -0
  1495. package/dist/interface/ha/Updates-BChc7gSL.js +0 -357
  1496. package/dist/interface/ha/Updates-BChc7gSL.js.br +0 -0
  1497. package/dist/interface/ha/Updates-BChc7gSL.js.gz +0 -0
  1498. package/dist/interface/ha/VariableInput-CF0npLOt.js +0 -52
  1499. package/dist/interface/ha/VariableInput-CF0npLOt.js.br +0 -2
  1500. package/dist/interface/ha/VariableInput-CF0npLOt.js.gz +0 -0
  1501. package/dist/interface/ha/VersionsHandler-DpFooo74.js +0 -221
  1502. package/dist/interface/ha/VersionsHandler-DpFooo74.js.br +0 -0
  1503. package/dist/interface/ha/VersionsHandler-DpFooo74.js.gz +0 -0
  1504. package/dist/interface/ha/VirtualSensorCreate-cGwMMnUa.js +0 -102
  1505. package/dist/interface/ha/VirtualSensorCreate-cGwMMnUa.js.br +0 -0
  1506. package/dist/interface/ha/VirtualSensorCreate-cGwMMnUa.js.gz +0 -0
  1507. package/dist/interface/ha/Workers-0BvEZt5t.js +0 -1270
  1508. package/dist/interface/ha/Workers-0BvEZt5t.js.br +0 -0
  1509. package/dist/interface/ha/Workers-0BvEZt5t.js.gz +0 -0
  1510. package/dist/interface/ha/api-BCqn9EdE.js +0 -69075
  1511. package/dist/interface/ha/api-BCqn9EdE.js.br +0 -0
  1512. package/dist/interface/ha/api-BCqn9EdE.js.gz +0 -0
  1513. package/dist/interface/ha/api-BysLRFXx.js +0 -29
  1514. package/dist/interface/ha/api-BysLRFXx.js.br +0 -0
  1515. package/dist/interface/ha/api-BysLRFXx.js.gz +0 -0
  1516. package/dist/interface/ha/assistant-A23QDBcR.js +0 -349
  1517. package/dist/interface/ha/assistant-A23QDBcR.js.br +0 -0
  1518. package/dist/interface/ha/assistant-A23QDBcR.js.gz +0 -0
  1519. package/dist/interface/ha/auth-DhFoGtmO.js +0 -271
  1520. package/dist/interface/ha/auth-DhFoGtmO.js.br +0 -0
  1521. package/dist/interface/ha/auth-DhFoGtmO.js.gz +0 -0
  1522. package/dist/interface/ha/automationBlueprint-DBXBbXBW.js +0 -250
  1523. package/dist/interface/ha/automationBlueprint-DBXBbXBW.js.br +0 -0
  1524. package/dist/interface/ha/automationBlueprint-DBXBbXBW.js.gz +0 -0
  1525. package/dist/interface/ha/cards-CHOFxf6N.js +0 -13296
  1526. package/dist/interface/ha/cards-CHOFxf6N.js.br +0 -0
  1527. package/dist/interface/ha/cards-CHOFxf6N.js.gz +0 -0
  1528. package/dist/interface/ha/config-CMdrWwWe.js +0 -116
  1529. package/dist/interface/ha/config-CMdrWwWe.js.br +0 -0
  1530. package/dist/interface/ha/config-CMdrWwWe.js.gz +0 -0
  1531. package/dist/interface/ha/dist-rrvfmgLd.js +0 -4425
  1532. package/dist/interface/ha/dist-rrvfmgLd.js.br +0 -0
  1533. package/dist/interface/ha/dist-rrvfmgLd.js.gz +0 -0
  1534. package/dist/interface/ha/mqtt-mSBMQfvC.js +0 -56
  1535. package/dist/interface/ha/mqtt-mSBMQfvC.js.br +0 -0
  1536. package/dist/interface/ha/mqtt-mSBMQfvC.js.gz +0 -0
  1537. package/dist/interface/ha/notifications-Dm7vixDw.js +0 -159
  1538. package/dist/interface/ha/notifications-Dm7vixDw.js.br +0 -0
  1539. package/dist/interface/ha/notifications-Dm7vixDw.js.gz +0 -0
  1540. package/dist/interface/ha/plugins-kJK_P4Pe.js +0 -592
  1541. package/dist/interface/ha/plugins-kJK_P4Pe.js.br +0 -0
  1542. package/dist/interface/ha/plugins-kJK_P4Pe.js.gz +0 -0
  1543. package/dist/interface/ha/rooms-Bgn_uCWa.js +0 -45
  1544. package/dist/interface/ha/rooms-Bgn_uCWa.js.br +0 -0
  1545. package/dist/interface/ha/rooms-Bgn_uCWa.js.gz +0 -0
  1546. package/dist/interface/ha/server-6F-1q6ok.js +0 -244
  1547. package/dist/interface/ha/server-6F-1q6ok.js.br +0 -0
  1548. package/dist/interface/ha/server-6F-1q6ok.js.gz +0 -0
  1549. package/dist/interface/ha/speeddial-C2PO8aXW.js +0 -941
  1550. package/dist/interface/ha/speeddial-C2PO8aXW.js.br +0 -0
  1551. package/dist/interface/ha/speeddial-C2PO8aXW.js.gz +0 -0
  1552. package/dist/interface/ha/types-DcpmATCY.js +0 -1073
  1553. package/dist/interface/ha/types-DcpmATCY.js.br +0 -0
  1554. package/dist/interface/ha/types-DcpmATCY.js.gz +0 -0
  1555. package/dist/interface/ha/updates-D7suFAEb.js +0 -414
  1556. package/dist/interface/ha/updates-D7suFAEb.js.br +0 -0
  1557. package/dist/interface/ha/updates-D7suFAEb.js.gz +0 -0
  1558. package/dist/interface/ha/useAppVersion-BOHQPGyU.js +0 -22
  1559. package/dist/interface/ha/useAppVersion-BOHQPGyU.js.br +0 -0
  1560. package/dist/interface/ha/useAppVersion-BOHQPGyU.js.gz +0 -0
  1561. package/dist/interface/ha/useKeyboardInset-DqEXi6cU.js +0 -27
  1562. package/dist/interface/ha/useKeyboardInset-DqEXi6cU.js.br +0 -0
  1563. package/dist/interface/ha/useKeyboardInset-DqEXi6cU.js.gz +0 -0
  1564. package/dist/interface/ha/useLogsSocket-BYndIF9P.js +0 -74
  1565. package/dist/interface/ha/useLogsSocket-BYndIF9P.js.br +0 -0
  1566. package/dist/interface/ha/useLogsSocket-BYndIF9P.js.gz +0 -0
  1567. package/dist/interface/ha/useNavLayout-C6BUwrGr.js +0 -125
  1568. package/dist/interface/ha/useNavLayout-C6BUwrGr.js.br +0 -0
  1569. package/dist/interface/ha/useNavLayout-C6BUwrGr.js.gz +0 -0
  1570. package/dist/interface/ha/usePlacementLabel-3Zm9fB6D.js +0 -49
  1571. package/dist/interface/ha/usePlacementLabel-3Zm9fB6D.js.br +0 -0
  1572. package/dist/interface/ha/usePlacementLabel-3Zm9fB6D.js.gz +0 -0
  1573. package/dist/interface/ha/useTabSwipe-geIocKKy.js +0 -45
  1574. package/dist/interface/ha/useTabSwipe-geIocKKy.js.br +0 -0
  1575. package/dist/interface/ha/useTabSwipe-geIocKKy.js.gz +0 -0
  1576. package/dist/interface/ha/useUpdateChannel-Czo47qYZ.js +0 -22
  1577. package/dist/interface/ha/useUpdateChannel-Czo47qYZ.js.br +0 -0
  1578. package/dist/interface/ha/useUpdateChannel-Czo47qYZ.js.gz +0 -0
  1579. package/dist/interface/ha/useUpdatesSocket-JwSk5MXu.js +0 -34
  1580. package/dist/interface/ha/useUpdatesSocket-JwSk5MXu.js.br +0 -0
  1581. package/dist/interface/ha/useUpdatesSocket-JwSk5MXu.js.gz +0 -0
  1582. package/dist/interface/ha/useUserOptions-BVYgtZEC.js +0 -15
  1583. package/dist/interface/ha/useUserOptions-BVYgtZEC.js.br +0 -0
  1584. package/dist/interface/ha/useUserOptions-BVYgtZEC.js.gz +0 -0
@@ -1,4836 +0,0 @@
1
- import { o as e, t } from "./rolldown-runtime-BItFwnF5.js";
2
- import { G as n, H as r, I as i, Xt as a, jt as o, l as s, lt as c, ot as l, p as u, r as d, rt as f, u as p, v as m, vt as h, x as g, y as _ } from "./runtime-core.esm-bundler-CrWKbcD2.js";
3
- import { t as ee } from "./message-CZC3zWwJ.js";
4
- import { $i as te, It as ne, Lr as re, Lt as ie, Rt as ae, r as oe } from "./api-BCqn9EdE.js";
5
- import { n as v } from "./vue-i18n-DzDRu5NH.js";
6
- import { t as y } from "./CuiButton-CGAd8xvo.js";
7
- import { t as se } from "./inputtext-DfgvQQt_.js";
8
- import { t as b } from "./select-Ba_XFods.js";
9
- import { t as ce } from "./inputnumber-DRHTgmOE.js";
10
- import { t as x } from "./multiselect-C6iTGDj5.js";
11
- import { t as le } from "./useUserOptions-BVYgtZEC.js";
12
- import { t as S } from "./information-outline-C6Y1CMOv.js";
13
- import { t as ue } from "./copy-Bg8sGRwo.js";
14
- //#region ~icons/mdi/crosshairs-gps
15
- var C = {
16
- viewBox: "0 0 24 24",
17
- width: "1.2em",
18
- height: "1.2em"
19
- };
20
- function w(e, t) {
21
- return r(), u("svg", C, [...t[0] ||= [p("path", {
22
- fill: "currentColor",
23
- d: "M12 8a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m-8.95 5H1v-2h2.05C3.5 6.83 6.83 3.5 11 3.05V1h2v2.05c4.17.45 7.5 3.78 7.95 7.95H23v2h-2.05c-.45 4.17-3.78 7.5-7.95 7.95V23h-2v-2.05C6.83 20.5 3.5 17.17 3.05 13M12 5a7 7 0 0 0-7 7a7 7 0 0 0 7 7a7 7 0 0 0 7-7a7 7 0 0 0-7-7"
24
- }, null, -1)]]);
25
- }
26
- var T = h({
27
- name: "mdi-crosshairs-gps",
28
- render: w
29
- }), E = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t, n) => {
30
- (function(n, r) {
31
- typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n = typeof globalThis < "u" ? globalThis : n || self, r(n.leaflet = {}));
32
- })(n, (function(e) {
33
- var t = "1.9.4";
34
- function n(e) {
35
- for (var t, n = 1, r = arguments.length, i; n < r; n++) for (t in i = arguments[n], i) e[t] = i[t];
36
- return e;
37
- }
38
- var r = Object.create || (function() {
39
- function e() {}
40
- return function(t) {
41
- return e.prototype = t, new e();
42
- };
43
- })();
44
- function i(e, t) {
45
- var n = Array.prototype.slice;
46
- if (e.bind) return e.bind.apply(e, n.call(arguments, 1));
47
- var r = n.call(arguments, 2);
48
- return function() {
49
- return e.apply(t, r.length ? r.concat(n.call(arguments)) : arguments);
50
- };
51
- }
52
- var a = 0;
53
- function o(e) {
54
- return "_leaflet_id" in e || (e._leaflet_id = ++a), e._leaflet_id;
55
- }
56
- function s(e, t, n) {
57
- var r, i, a, o = function() {
58
- r = !1, i &&= (a.apply(n, i), !1);
59
- };
60
- return a = function() {
61
- r ? i = arguments : (e.apply(n, arguments), setTimeout(o, t), r = !0);
62
- }, a;
63
- }
64
- function c(e, t, n) {
65
- var r = t[1], i = t[0], a = r - i;
66
- return e === r && n ? e : ((e - i) % a + a) % a + i;
67
- }
68
- function l() {
69
- return !1;
70
- }
71
- function u(e, t) {
72
- if (t === !1) return e;
73
- var n = 10 ** (t === void 0 ? 6 : t);
74
- return Math.round(e * n) / n;
75
- }
76
- function d(e) {
77
- return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "");
78
- }
79
- function f(e) {
80
- return d(e).split(/\s+/);
81
- }
82
- function p(e, t) {
83
- for (var n in Object.prototype.hasOwnProperty.call(e, "options") || (e.options = e.options ? r(e.options) : {}), t) e.options[n] = t[n];
84
- return e.options;
85
- }
86
- function m(e, t, n) {
87
- var r = [];
88
- for (var i in e) r.push(encodeURIComponent(n ? i.toUpperCase() : i) + "=" + encodeURIComponent(e[i]));
89
- return (!t || t.indexOf("?") === -1 ? "?" : "&") + r.join("&");
90
- }
91
- var h = /\{ *([\w_ -]+) *\}/g;
92
- function g(e, t) {
93
- return e.replace(h, function(e, n) {
94
- var r = t[n];
95
- if (r === void 0) throw Error("No value provided for variable " + e);
96
- return typeof r == "function" && (r = r(t)), r;
97
- });
98
- }
99
- var _ = Array.isArray || function(e) {
100
- return Object.prototype.toString.call(e) === "[object Array]";
101
- };
102
- function ee(e, t) {
103
- for (var n = 0; n < e.length; n++) if (e[n] === t) return n;
104
- return -1;
105
- }
106
- var te = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
107
- function ne(e) {
108
- return window["webkit" + e] || window["moz" + e] || window["ms" + e];
109
- }
110
- var re = 0;
111
- function ie(e) {
112
- var t = +/* @__PURE__ */ new Date(), n = Math.max(0, 16 - (t - re));
113
- return re = t + n, window.setTimeout(e, n);
114
- }
115
- var ae = window.requestAnimationFrame || ne("RequestAnimationFrame") || ie, oe = window.cancelAnimationFrame || ne("CancelAnimationFrame") || ne("CancelRequestAnimationFrame") || function(e) {
116
- window.clearTimeout(e);
117
- };
118
- function v(e, t, n) {
119
- if (n && ae === ie) e.call(t);
120
- else return ae.call(window, i(e, t));
121
- }
122
- function y(e) {
123
- e && oe.call(window, e);
124
- }
125
- var se = {
126
- __proto__: null,
127
- extend: n,
128
- create: r,
129
- bind: i,
130
- get lastId() {
131
- return a;
132
- },
133
- stamp: o,
134
- throttle: s,
135
- wrapNum: c,
136
- falseFn: l,
137
- formatNum: u,
138
- trim: d,
139
- splitWords: f,
140
- setOptions: p,
141
- getParamString: m,
142
- template: g,
143
- isArray: _,
144
- indexOf: ee,
145
- emptyImageUrl: te,
146
- requestFn: ae,
147
- cancelFn: oe,
148
- requestAnimFrame: v,
149
- cancelAnimFrame: y
150
- };
151
- function b() {}
152
- b.extend = function(e) {
153
- var t = function() {
154
- p(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
155
- }, i = t.__super__ = this.prototype, a = r(i);
156
- for (var o in a.constructor = t, t.prototype = a, this) Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (t[o] = this[o]);
157
- return e.statics && n(t, e.statics), e.includes && (ce(e.includes), n.apply(null, [a].concat(e.includes))), n(a, e), delete a.statics, delete a.includes, a.options && (a.options = i.options ? r(i.options) : {}, n(a.options, e.options)), a._initHooks = [], a.callInitHooks = function() {
158
- if (!this._initHooksCalled) {
159
- i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
160
- for (var e = 0, t = a._initHooks.length; e < t; e++) a._initHooks[e].call(this);
161
- }
162
- }, t;
163
- }, b.include = function(e) {
164
- var t = this.prototype.options;
165
- return n(this.prototype, e), e.options && (this.prototype.options = t, this.mergeOptions(e.options)), this;
166
- }, b.mergeOptions = function(e) {
167
- return n(this.prototype.options, e), this;
168
- }, b.addInitHook = function(e) {
169
- var t = Array.prototype.slice.call(arguments, 1), n = typeof e == "function" ? e : function() {
170
- this[e].apply(this, t);
171
- };
172
- return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(n), this;
173
- };
174
- function ce(e) {
175
- if (typeof L < "u" && L && L.Mixin) {
176
- e = _(e) ? e : [e];
177
- for (var t = 0; t < e.length; t++) e[t] === L.Mixin.Events && console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.", (/* @__PURE__ */ Error()).stack);
178
- }
179
- }
180
- var x = {
181
- on: function(e, t, n) {
182
- if (typeof e == "object") for (var r in e) this._on(r, e[r], t);
183
- else {
184
- e = f(e);
185
- for (var i = 0, a = e.length; i < a; i++) this._on(e[i], t, n);
186
- }
187
- return this;
188
- },
189
- off: function(e, t, n) {
190
- if (!arguments.length) delete this._events;
191
- else if (typeof e == "object") for (var r in e) this._off(r, e[r], t);
192
- else {
193
- e = f(e);
194
- for (var i = arguments.length === 1, a = 0, o = e.length; a < o; a++) i ? this._off(e[a]) : this._off(e[a], t, n);
195
- }
196
- return this;
197
- },
198
- _on: function(e, t, n, r) {
199
- if (typeof t != "function") console.warn("wrong listener type: " + typeof t);
200
- else if (this._listens(e, t, n) === !1) {
201
- n === this && (n = void 0);
202
- var i = {
203
- fn: t,
204
- ctx: n
205
- };
206
- r && (i.once = !0), this._events = this._events || {}, this._events[e] = this._events[e] || [], this._events[e].push(i);
207
- }
208
- },
209
- _off: function(e, t, n) {
210
- var r, i, a;
211
- if (this._events && (r = this._events[e], r)) {
212
- if (arguments.length === 1) {
213
- if (this._firingCount) for (i = 0, a = r.length; i < a; i++) r[i].fn = l;
214
- delete this._events[e];
215
- } else if (typeof t != "function") console.warn("wrong listener type: " + typeof t);
216
- else {
217
- var o = this._listens(e, t, n);
218
- if (o !== !1) {
219
- var s = r[o];
220
- this._firingCount && (s.fn = l, this._events[e] = r = r.slice()), r.splice(o, 1);
221
- }
222
- }
223
- }
224
- },
225
- fire: function(e, t, r) {
226
- if (!this.listens(e, r)) return this;
227
- var i = n({}, t, {
228
- type: e,
229
- target: this,
230
- sourceTarget: t && t.sourceTarget || this
231
- });
232
- if (this._events) {
233
- var a = this._events[e];
234
- if (a) {
235
- this._firingCount = this._firingCount + 1 || 1;
236
- for (var o = 0, s = a.length; o < s; o++) {
237
- var c = a[o], l = c.fn;
238
- c.once && this.off(e, l, c.ctx), l.call(c.ctx || this, i);
239
- }
240
- this._firingCount--;
241
- }
242
- }
243
- return r && this._propagateEvent(i), this;
244
- },
245
- listens: function(e, t, n, r) {
246
- typeof e != "string" && console.warn("\"string\" type argument expected");
247
- var i = t;
248
- typeof t != "function" && (r = !!t, i = void 0, n = void 0);
249
- var a = this._events && this._events[e];
250
- if (a && a.length && this._listens(e, i, n) !== !1) return !0;
251
- if (r) {
252
- for (var o in this._eventParents) if (this._eventParents[o].listens(e, t, n, r)) return !0;
253
- }
254
- return !1;
255
- },
256
- _listens: function(e, t, n) {
257
- if (!this._events) return !1;
258
- var r = this._events[e] || [];
259
- if (!t) return !!r.length;
260
- n === this && (n = void 0);
261
- for (var i = 0, a = r.length; i < a; i++) if (r[i].fn === t && r[i].ctx === n) return i;
262
- return !1;
263
- },
264
- once: function(e, t, n) {
265
- if (typeof e == "object") for (var r in e) this._on(r, e[r], t, !0);
266
- else {
267
- e = f(e);
268
- for (var i = 0, a = e.length; i < a; i++) this._on(e[i], t, n, !0);
269
- }
270
- return this;
271
- },
272
- addEventParent: function(e) {
273
- return this._eventParents = this._eventParents || {}, this._eventParents[o(e)] = e, this;
274
- },
275
- removeEventParent: function(e) {
276
- return this._eventParents && delete this._eventParents[o(e)], this;
277
- },
278
- _propagateEvent: function(e) {
279
- for (var t in this._eventParents) this._eventParents[t].fire(e.type, n({
280
- layer: e.target,
281
- propagatedFrom: e.target
282
- }, e), !0);
283
- }
284
- };
285
- x.addEventListener = x.on, x.removeEventListener = x.clearAllEventListeners = x.off, x.addOneTimeEventListener = x.once, x.fireEvent = x.fire, x.hasEventListeners = x.listens;
286
- var le = b.extend(x);
287
- function S(e, t, n) {
288
- this.x = n ? Math.round(e) : e, this.y = n ? Math.round(t) : t;
289
- }
290
- var ue = Math.trunc || function(e) {
291
- return e > 0 ? Math.floor(e) : Math.ceil(e);
292
- };
293
- S.prototype = {
294
- clone: function() {
295
- return new S(this.x, this.y);
296
- },
297
- add: function(e) {
298
- return this.clone()._add(C(e));
299
- },
300
- _add: function(e) {
301
- return this.x += e.x, this.y += e.y, this;
302
- },
303
- subtract: function(e) {
304
- return this.clone()._subtract(C(e));
305
- },
306
- _subtract: function(e) {
307
- return this.x -= e.x, this.y -= e.y, this;
308
- },
309
- divideBy: function(e) {
310
- return this.clone()._divideBy(e);
311
- },
312
- _divideBy: function(e) {
313
- return this.x /= e, this.y /= e, this;
314
- },
315
- multiplyBy: function(e) {
316
- return this.clone()._multiplyBy(e);
317
- },
318
- _multiplyBy: function(e) {
319
- return this.x *= e, this.y *= e, this;
320
- },
321
- scaleBy: function(e) {
322
- return new S(this.x * e.x, this.y * e.y);
323
- },
324
- unscaleBy: function(e) {
325
- return new S(this.x / e.x, this.y / e.y);
326
- },
327
- round: function() {
328
- return this.clone()._round();
329
- },
330
- _round: function() {
331
- return this.x = Math.round(this.x), this.y = Math.round(this.y), this;
332
- },
333
- floor: function() {
334
- return this.clone()._floor();
335
- },
336
- _floor: function() {
337
- return this.x = Math.floor(this.x), this.y = Math.floor(this.y), this;
338
- },
339
- ceil: function() {
340
- return this.clone()._ceil();
341
- },
342
- _ceil: function() {
343
- return this.x = Math.ceil(this.x), this.y = Math.ceil(this.y), this;
344
- },
345
- trunc: function() {
346
- return this.clone()._trunc();
347
- },
348
- _trunc: function() {
349
- return this.x = ue(this.x), this.y = ue(this.y), this;
350
- },
351
- distanceTo: function(e) {
352
- e = C(e);
353
- var t = e.x - this.x, n = e.y - this.y;
354
- return Math.sqrt(t * t + n * n);
355
- },
356
- equals: function(e) {
357
- return e = C(e), e.x === this.x && e.y === this.y;
358
- },
359
- contains: function(e) {
360
- return e = C(e), Math.abs(e.x) <= Math.abs(this.x) && Math.abs(e.y) <= Math.abs(this.y);
361
- },
362
- toString: function() {
363
- return "Point(" + u(this.x) + ", " + u(this.y) + ")";
364
- }
365
- };
366
- function C(e, t, n) {
367
- return e instanceof S ? e : _(e) ? new S(e[0], e[1]) : e == null ? e : typeof e == "object" && "x" in e && "y" in e ? new S(e.x, e.y) : new S(e, t, n);
368
- }
369
- function w(e, t) {
370
- if (e) for (var n = t ? [e, t] : e, r = 0, i = n.length; r < i; r++) this.extend(n[r]);
371
- }
372
- w.prototype = {
373
- extend: function(e) {
374
- var t, n;
375
- if (!e) return this;
376
- if (e instanceof S || typeof e[0] == "number" || "x" in e) t = n = C(e);
377
- else if (e = T(e), t = e.min, n = e.max, !t || !n) return this;
378
- return !this.min && !this.max ? (this.min = t.clone(), this.max = n.clone()) : (this.min.x = Math.min(t.x, this.min.x), this.max.x = Math.max(n.x, this.max.x), this.min.y = Math.min(t.y, this.min.y), this.max.y = Math.max(n.y, this.max.y)), this;
379
- },
380
- getCenter: function(e) {
381
- return C((this.min.x + this.max.x) / 2, (this.min.y + this.max.y) / 2, e);
382
- },
383
- getBottomLeft: function() {
384
- return C(this.min.x, this.max.y);
385
- },
386
- getTopRight: function() {
387
- return C(this.max.x, this.min.y);
388
- },
389
- getTopLeft: function() {
390
- return this.min;
391
- },
392
- getBottomRight: function() {
393
- return this.max;
394
- },
395
- getSize: function() {
396
- return this.max.subtract(this.min);
397
- },
398
- contains: function(e) {
399
- var t, n;
400
- return e = typeof e[0] == "number" || e instanceof S ? C(e) : T(e), e instanceof w ? (t = e.min, n = e.max) : t = n = e, t.x >= this.min.x && n.x <= this.max.x && t.y >= this.min.y && n.y <= this.max.y;
401
- },
402
- intersects: function(e) {
403
- e = T(e);
404
- var t = this.min, n = this.max, r = e.min, i = e.max, a = i.x >= t.x && r.x <= n.x, o = i.y >= t.y && r.y <= n.y;
405
- return a && o;
406
- },
407
- overlaps: function(e) {
408
- e = T(e);
409
- var t = this.min, n = this.max, r = e.min, i = e.max, a = i.x > t.x && r.x < n.x, o = i.y > t.y && r.y < n.y;
410
- return a && o;
411
- },
412
- isValid: function() {
413
- return !!(this.min && this.max);
414
- },
415
- pad: function(e) {
416
- var t = this.min, n = this.max, r = Math.abs(t.x - n.x) * e, i = Math.abs(t.y - n.y) * e;
417
- return T(C(t.x - r, t.y - i), C(n.x + r, n.y + i));
418
- },
419
- equals: function(e) {
420
- return e ? (e = T(e), this.min.equals(e.getTopLeft()) && this.max.equals(e.getBottomRight())) : !1;
421
- }
422
- };
423
- function T(e, t) {
424
- return !e || e instanceof w ? e : new w(e, t);
425
- }
426
- function E(e, t) {
427
- if (e) for (var n = t ? [e, t] : e, r = 0, i = n.length; r < i; r++) this.extend(n[r]);
428
- }
429
- E.prototype = {
430
- extend: function(e) {
431
- var t = this._southWest, n = this._northEast, r, i;
432
- if (e instanceof O) r = e, i = e;
433
- else if (e instanceof E) {
434
- if (r = e._southWest, i = e._northEast, !r || !i) return this;
435
- } else return e ? this.extend(k(e) || D(e)) : this;
436
- return !t && !n ? (this._southWest = new O(r.lat, r.lng), this._northEast = new O(i.lat, i.lng)) : (t.lat = Math.min(r.lat, t.lat), t.lng = Math.min(r.lng, t.lng), n.lat = Math.max(i.lat, n.lat), n.lng = Math.max(i.lng, n.lng)), this;
437
- },
438
- pad: function(e) {
439
- var t = this._southWest, n = this._northEast, r = Math.abs(t.lat - n.lat) * e, i = Math.abs(t.lng - n.lng) * e;
440
- return new E(new O(t.lat - r, t.lng - i), new O(n.lat + r, n.lng + i));
441
- },
442
- getCenter: function() {
443
- return new O((this._southWest.lat + this._northEast.lat) / 2, (this._southWest.lng + this._northEast.lng) / 2);
444
- },
445
- getSouthWest: function() {
446
- return this._southWest;
447
- },
448
- getNorthEast: function() {
449
- return this._northEast;
450
- },
451
- getNorthWest: function() {
452
- return new O(this.getNorth(), this.getWest());
453
- },
454
- getSouthEast: function() {
455
- return new O(this.getSouth(), this.getEast());
456
- },
457
- getWest: function() {
458
- return this._southWest.lng;
459
- },
460
- getSouth: function() {
461
- return this._southWest.lat;
462
- },
463
- getEast: function() {
464
- return this._northEast.lng;
465
- },
466
- getNorth: function() {
467
- return this._northEast.lat;
468
- },
469
- contains: function(e) {
470
- e = typeof e[0] == "number" || e instanceof O || "lat" in e ? k(e) : D(e);
471
- var t = this._southWest, n = this._northEast, r, i;
472
- return e instanceof E ? (r = e.getSouthWest(), i = e.getNorthEast()) : r = i = e, r.lat >= t.lat && i.lat <= n.lat && r.lng >= t.lng && i.lng <= n.lng;
473
- },
474
- intersects: function(e) {
475
- e = D(e);
476
- var t = this._southWest, n = this._northEast, r = e.getSouthWest(), i = e.getNorthEast(), a = i.lat >= t.lat && r.lat <= n.lat, o = i.lng >= t.lng && r.lng <= n.lng;
477
- return a && o;
478
- },
479
- overlaps: function(e) {
480
- e = D(e);
481
- var t = this._southWest, n = this._northEast, r = e.getSouthWest(), i = e.getNorthEast(), a = i.lat > t.lat && r.lat < n.lat, o = i.lng > t.lng && r.lng < n.lng;
482
- return a && o;
483
- },
484
- toBBoxString: function() {
485
- return [
486
- this.getWest(),
487
- this.getSouth(),
488
- this.getEast(),
489
- this.getNorth()
490
- ].join(",");
491
- },
492
- equals: function(e, t) {
493
- return e ? (e = D(e), this._southWest.equals(e.getSouthWest(), t) && this._northEast.equals(e.getNorthEast(), t)) : !1;
494
- },
495
- isValid: function() {
496
- return !!(this._southWest && this._northEast);
497
- }
498
- };
499
- function D(e, t) {
500
- return e instanceof E ? e : new E(e, t);
501
- }
502
- function O(e, t, n) {
503
- if (isNaN(e) || isNaN(t)) throw Error("Invalid LatLng object: (" + e + ", " + t + ")");
504
- this.lat = +e, this.lng = +t, n !== void 0 && (this.alt = +n);
505
- }
506
- O.prototype = {
507
- equals: function(e, t) {
508
- return e ? (e = k(e), Math.max(Math.abs(this.lat - e.lat), Math.abs(this.lng - e.lng)) <= (t === void 0 ? 1e-9 : t)) : !1;
509
- },
510
- toString: function(e) {
511
- return "LatLng(" + u(this.lat, e) + ", " + u(this.lng, e) + ")";
512
- },
513
- distanceTo: function(e) {
514
- return j.distance(this, k(e));
515
- },
516
- wrap: function() {
517
- return j.wrapLatLng(this);
518
- },
519
- toBounds: function(e) {
520
- var t = 180 * e / 40075017, n = t / Math.cos(Math.PI / 180 * this.lat);
521
- return D([this.lat - t, this.lng - n], [this.lat + t, this.lng + n]);
522
- },
523
- clone: function() {
524
- return new O(this.lat, this.lng, this.alt);
525
- }
526
- };
527
- function k(e, t, n) {
528
- return e instanceof O ? e : _(e) && typeof e[0] != "object" ? e.length === 3 ? new O(e[0], e[1], e[2]) : e.length === 2 ? new O(e[0], e[1]) : null : e == null ? e : typeof e == "object" && "lat" in e ? new O(e.lat, "lng" in e ? e.lng : e.lon, e.alt) : t === void 0 ? null : new O(e, t, n);
529
- }
530
- var A = {
531
- latLngToPoint: function(e, t) {
532
- var n = this.projection.project(e), r = this.scale(t);
533
- return this.transformation._transform(n, r);
534
- },
535
- pointToLatLng: function(e, t) {
536
- var n = this.scale(t), r = this.transformation.untransform(e, n);
537
- return this.projection.unproject(r);
538
- },
539
- project: function(e) {
540
- return this.projection.project(e);
541
- },
542
- unproject: function(e) {
543
- return this.projection.unproject(e);
544
- },
545
- scale: function(e) {
546
- return 256 * 2 ** e;
547
- },
548
- zoom: function(e) {
549
- return Math.log(e / 256) / Math.LN2;
550
- },
551
- getProjectedBounds: function(e) {
552
- if (this.infinite) return null;
553
- var t = this.projection.bounds, n = this.scale(e);
554
- return new w(this.transformation.transform(t.min, n), this.transformation.transform(t.max, n));
555
- },
556
- infinite: !1,
557
- wrapLatLng: function(e) {
558
- var t = this.wrapLng ? c(e.lng, this.wrapLng, !0) : e.lng, n = this.wrapLat ? c(e.lat, this.wrapLat, !0) : e.lat, r = e.alt;
559
- return new O(n, t, r);
560
- },
561
- wrapLatLngBounds: function(e) {
562
- var t = e.getCenter(), n = this.wrapLatLng(t), r = t.lat - n.lat, i = t.lng - n.lng;
563
- if (r === 0 && i === 0) return e;
564
- var a = e.getSouthWest(), o = e.getNorthEast();
565
- return new E(new O(a.lat - r, a.lng - i), new O(o.lat - r, o.lng - i));
566
- }
567
- }, j = n({}, A, {
568
- wrapLng: [-180, 180],
569
- R: 6371e3,
570
- distance: function(e, t) {
571
- var n = Math.PI / 180, r = e.lat * n, i = t.lat * n, a = Math.sin((t.lat - e.lat) * n / 2), o = Math.sin((t.lng - e.lng) * n / 2), s = a * a + Math.cos(r) * Math.cos(i) * o * o, c = 2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s));
572
- return this.R * c;
573
- }
574
- }), de = 6378137, fe = {
575
- R: de,
576
- MAX_LATITUDE: 85.0511287798,
577
- project: function(e) {
578
- var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
579
- return new S(this.R * e.lng * t, this.R * Math.log((1 + i) / (1 - i)) / 2);
580
- },
581
- unproject: function(e) {
582
- var t = 180 / Math.PI;
583
- return new O((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
584
- },
585
- bounds: (function() {
586
- var e = de * Math.PI;
587
- return new w([-e, -e], [e, e]);
588
- })()
589
- };
590
- function pe(e, t, n, r) {
591
- _(e) ? (this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3]) : (this._a = e, this._b = t, this._c = n, this._d = r);
592
- }
593
- pe.prototype = {
594
- transform: function(e, t) {
595
- return this._transform(e.clone(), t);
596
- },
597
- _transform: function(e, t) {
598
- return t ||= 1, e.x = t * (this._a * e.x + this._b), e.y = t * (this._c * e.y + this._d), e;
599
- },
600
- untransform: function(e, t) {
601
- return t ||= 1, new S((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
602
- }
603
- };
604
- function me(e, t, n, r) {
605
- return new pe(e, t, n, r);
606
- }
607
- var he = n({}, j, {
608
- code: "EPSG:3857",
609
- projection: fe,
610
- transformation: function() {
611
- var e = .5 / (Math.PI * fe.R);
612
- return me(e, .5, -e, .5);
613
- }()
614
- }), ge = n({}, he, { code: "EPSG:900913" });
615
- function _e(e) {
616
- return document.createElementNS("http://www.w3.org/2000/svg", e);
617
- }
618
- function ve(e, t) {
619
- for (var n = "", r = 0, i, a = e.length, o, s, c; r < a; r++) {
620
- for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
621
- n += t ? P.svg ? "z" : "x" : "";
622
- }
623
- return n || "M0 0";
624
- }
625
- var ye = document.documentElement.style, be = "ActiveXObject" in window, xe = be && !document.addEventListener, Se = "msLaunchUri" in navigator && !("documentMode" in document), Ce = N("webkit"), we = N("android"), Te = N("android 2") || N("android 3"), Ee = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), De = we && N("Google") && Ee < 537 && !("AudioNode" in window), Oe = !!window.opera, ke = !Se && N("chrome"), Ae = N("gecko") && !Ce && !Oe && !be, je = !ke && N("safari"), Me = N("phantom"), Ne = "OTransition" in ye, Pe = navigator.platform.indexOf("Win") === 0, M = be && "transition" in ye, Fe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Te, Ie = "MozPerspective" in ye, Le = !window.L_DISABLE_3D && (M || Fe || Ie) && !Ne && !Me, Re = typeof orientation < "u" || N("mobile"), ze = Re && Ce, Be = Re && Fe, Ve = !window.PointerEvent && window.MSPointerEvent, He = !!(window.PointerEvent || Ve), Ue = "ontouchstart" in window || !!window.TouchEvent, We = !window.L_NO_TOUCH && (Ue || He), Ge = Re && Oe, Ke = Re && Ae, qe = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Je = function() {
626
- var e = !1;
627
- try {
628
- var t = Object.defineProperty({}, "passive", { get: function() {
629
- e = !0;
630
- } });
631
- window.addEventListener("testPassiveEventSupport", l, t), window.removeEventListener("testPassiveEventSupport", l, t);
632
- } catch {}
633
- return e;
634
- }(), Ye = function() {
635
- return !!document.createElement("canvas").getContext;
636
- }(), Xe = !!(document.createElementNS && _e("svg").createSVGRect), Ze = !!Xe && (function() {
637
- var e = document.createElement("div");
638
- return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
639
- })(), Qe = !Xe && function() {
640
- try {
641
- var e = document.createElement("div");
642
- e.innerHTML = "<v:shape adj=\"1\"/>";
643
- var t = e.firstChild;
644
- return t.style.behavior = "url(#default#VML)", t && typeof t.adj == "object";
645
- } catch {
646
- return !1;
647
- }
648
- }(), $e = navigator.platform.indexOf("Mac") === 0, et = navigator.platform.indexOf("Linux") === 0;
649
- function N(e) {
650
- return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
651
- }
652
- var P = {
653
- ie: be,
654
- ielt9: xe,
655
- edge: Se,
656
- webkit: Ce,
657
- android: we,
658
- android23: Te,
659
- androidStock: De,
660
- opera: Oe,
661
- chrome: ke,
662
- gecko: Ae,
663
- safari: je,
664
- phantom: Me,
665
- opera12: Ne,
666
- win: Pe,
667
- ie3d: M,
668
- webkit3d: Fe,
669
- gecko3d: Ie,
670
- any3d: Le,
671
- mobile: Re,
672
- mobileWebkit: ze,
673
- mobileWebkit3d: Be,
674
- msPointer: Ve,
675
- pointer: He,
676
- touch: We,
677
- touchNative: Ue,
678
- mobileOpera: Ge,
679
- mobileGecko: Ke,
680
- retina: qe,
681
- passiveEvents: Je,
682
- canvas: Ye,
683
- svg: Xe,
684
- vml: Qe,
685
- inlineSvg: Ze,
686
- mac: $e,
687
- linux: et
688
- }, tt = P.msPointer ? "MSPointerDown" : "pointerdown", nt = P.msPointer ? "MSPointerMove" : "pointermove", rt = P.msPointer ? "MSPointerUp" : "pointerup", it = P.msPointer ? "MSPointerCancel" : "pointercancel", at = {
689
- touchstart: tt,
690
- touchmove: nt,
691
- touchend: rt,
692
- touchcancel: it
693
- }, ot = {
694
- touchstart: gt,
695
- touchmove: ht,
696
- touchend: ht,
697
- touchcancel: ht
698
- }, st = {}, ct = !1;
699
- function lt(e, t, n) {
700
- return t === "touchstart" && mt(), ot[t] ? (n = ot[t].bind(this, n), e.addEventListener(at[t], n, !1), n) : (console.warn("wrong event specified:", t), l);
701
- }
702
- function ut(e, t, n) {
703
- at[t] ? e.removeEventListener(at[t], n, !1) : console.warn("wrong event specified:", t);
704
- }
705
- function dt(e) {
706
- st[e.pointerId] = e;
707
- }
708
- function ft(e) {
709
- st[e.pointerId] && (st[e.pointerId] = e);
710
- }
711
- function pt(e) {
712
- delete st[e.pointerId];
713
- }
714
- function mt() {
715
- ct ||= (document.addEventListener(tt, dt, !0), document.addEventListener(nt, ft, !0), document.addEventListener(rt, pt, !0), document.addEventListener(it, pt, !0), !0);
716
- }
717
- function ht(e, t) {
718
- if (t.pointerType !== (t.MSPOINTER_TYPE_MOUSE || "mouse")) {
719
- for (var n in t.touches = [], st) t.touches.push(st[n]);
720
- t.changedTouches = [t], e(t);
721
- }
722
- }
723
- function gt(e, t) {
724
- t.MSPOINTER_TYPE_TOUCH && t.pointerType === t.MSPOINTER_TYPE_TOUCH && G(t), ht(e, t);
725
- }
726
- function _t(e) {
727
- var t = {}, n, r;
728
- for (r in e) n = e[r], t[r] = n && n.bind ? n.bind(e) : n;
729
- return e = t, t.type = "dblclick", t.detail = 2, t.isTrusted = !1, t._simulated = !0, t;
730
- }
731
- var vt = 200;
732
- function yt(e, t) {
733
- e.addEventListener("dblclick", t);
734
- var n = 0, r;
735
- function i(e) {
736
- if (e.detail !== 1) r = e.detail;
737
- else if (!(e.pointerType === "mouse" || e.sourceCapabilities && !e.sourceCapabilities.firesTouchEvents)) {
738
- var i = rn(e);
739
- if (!i.some(function(e) {
740
- return e instanceof HTMLLabelElement && e.attributes.for;
741
- }) || i.some(function(e) {
742
- return e instanceof HTMLInputElement || e instanceof HTMLSelectElement;
743
- })) {
744
- var a = Date.now();
745
- a - n <= vt ? (r++, r === 2 && t(_t(e))) : r = 1, n = a;
746
- }
747
- }
748
- }
749
- return e.addEventListener("click", i), {
750
- dblclick: t,
751
- simDblclick: i
752
- };
753
- }
754
- function bt(e, t) {
755
- e.removeEventListener("dblclick", t.dblclick), e.removeEventListener("click", t.simDblclick);
756
- }
757
- var xt = Nt([
758
- "transform",
759
- "webkitTransform",
760
- "OTransform",
761
- "MozTransform",
762
- "msTransform"
763
- ]), St = Nt([
764
- "webkitTransition",
765
- "transition",
766
- "OTransition",
767
- "MozTransition",
768
- "msTransition"
769
- ]), Ct = St === "webkitTransition" || St === "OTransition" ? St + "End" : "transitionend";
770
- function wt(e) {
771
- return typeof e == "string" ? document.getElementById(e) : e;
772
- }
773
- function Tt(e, t) {
774
- var n = e.style[t] || e.currentStyle && e.currentStyle[t];
775
- if ((!n || n === "auto") && document.defaultView) {
776
- var r = document.defaultView.getComputedStyle(e, null);
777
- n = r ? r[t] : null;
778
- }
779
- return n === "auto" ? null : n;
780
- }
781
- function F(e, t, n) {
782
- var r = document.createElement(e);
783
- return r.className = t || "", n && n.appendChild(r), r;
784
- }
785
- function I(e) {
786
- var t = e.parentNode;
787
- t && t.removeChild(e);
788
- }
789
- function Et(e) {
790
- for (; e.firstChild;) e.removeChild(e.firstChild);
791
- }
792
- function Dt(e) {
793
- var t = e.parentNode;
794
- t && t.lastChild !== e && t.appendChild(e);
795
- }
796
- function Ot(e) {
797
- var t = e.parentNode;
798
- t && t.firstChild !== e && t.insertBefore(e, t.firstChild);
799
- }
800
- function kt(e, t) {
801
- if (e.classList !== void 0) return e.classList.contains(t);
802
- var n = jt(e);
803
- return n.length > 0 && RegExp("(^|\\s)" + t + "(\\s|$)").test(n);
804
- }
805
- function R(e, t) {
806
- if (e.classList !== void 0) for (var n = f(t), r = 0, i = n.length; r < i; r++) e.classList.add(n[r]);
807
- else if (!kt(e, t)) {
808
- var a = jt(e);
809
- At(e, (a ? a + " " : "") + t);
810
- }
811
- }
812
- function z(e, t) {
813
- e.classList === void 0 ? At(e, d((" " + jt(e) + " ").replace(" " + t + " ", " "))) : e.classList.remove(t);
814
- }
815
- function At(e, t) {
816
- e.className.baseVal === void 0 ? e.className = t : e.className.baseVal = t;
817
- }
818
- function jt(e) {
819
- return e.correspondingElement && (e = e.correspondingElement), e.className.baseVal === void 0 ? e.className : e.className.baseVal;
820
- }
821
- function B(e, t) {
822
- "opacity" in e.style ? e.style.opacity = t : "filter" in e.style && Mt(e, t);
823
- }
824
- function Mt(e, t) {
825
- var n = !1, r = "DXImageTransform.Microsoft.Alpha";
826
- try {
827
- n = e.filters.item(r);
828
- } catch {
829
- if (t === 1) return;
830
- }
831
- t = Math.round(t * 100), n ? (n.Enabled = t !== 100, n.Opacity = t) : e.style.filter += " progid:" + r + "(opacity=" + t + ")";
832
- }
833
- function Nt(e) {
834
- for (var t = document.documentElement.style, n = 0; n < e.length; n++) if (e[n] in t) return e[n];
835
- return !1;
836
- }
837
- function Pt(e, t, n) {
838
- var r = t || new S(0, 0);
839
- e.style[xt] = (P.ie3d ? "translate(" + r.x + "px," + r.y + "px)" : "translate3d(" + r.x + "px," + r.y + "px,0)") + (n ? " scale(" + n + ")" : "");
840
- }
841
- function V(e, t) {
842
- e._leaflet_pos = t, P.any3d ? Pt(e, t) : (e.style.left = t.x + "px", e.style.top = t.y + "px");
843
- }
844
- function Ft(e) {
845
- return e._leaflet_pos || new S(0, 0);
846
- }
847
- var It, Lt, Rt;
848
- if ("onselectstart" in document) It = function() {
849
- H(window, "selectstart", G);
850
- }, Lt = function() {
851
- W(window, "selectstart", G);
852
- };
853
- else {
854
- var zt = Nt([
855
- "userSelect",
856
- "WebkitUserSelect",
857
- "OUserSelect",
858
- "MozUserSelect",
859
- "msUserSelect"
860
- ]);
861
- It = function() {
862
- if (zt) {
863
- var e = document.documentElement.style;
864
- Rt = e[zt], e[zt] = "none";
865
- }
866
- }, Lt = function() {
867
- zt && (document.documentElement.style[zt] = Rt, Rt = void 0);
868
- };
869
- }
870
- function Bt() {
871
- H(window, "dragstart", G);
872
- }
873
- function Vt() {
874
- W(window, "dragstart", G);
875
- }
876
- var Ht, Ut;
877
- function Wt(e) {
878
- for (; e.tabIndex === -1;) e = e.parentNode;
879
- e.style && (Gt(), Ht = e, Ut = e.style.outlineStyle, e.style.outlineStyle = "none", H(window, "keydown", Gt));
880
- }
881
- function Gt() {
882
- Ht && (Ht.style.outlineStyle = Ut, Ht = void 0, Ut = void 0, W(window, "keydown", Gt));
883
- }
884
- function Kt(e) {
885
- do
886
- e = e.parentNode;
887
- while ((!e.offsetWidth || !e.offsetHeight) && e !== document.body);
888
- return e;
889
- }
890
- function qt(e) {
891
- var t = e.getBoundingClientRect();
892
- return {
893
- x: t.width / e.offsetWidth || 1,
894
- y: t.height / e.offsetHeight || 1,
895
- boundingClientRect: t
896
- };
897
- }
898
- var Jt = {
899
- __proto__: null,
900
- TRANSFORM: xt,
901
- TRANSITION: St,
902
- TRANSITION_END: Ct,
903
- get: wt,
904
- getStyle: Tt,
905
- create: F,
906
- remove: I,
907
- empty: Et,
908
- toFront: Dt,
909
- toBack: Ot,
910
- hasClass: kt,
911
- addClass: R,
912
- removeClass: z,
913
- setClass: At,
914
- getClass: jt,
915
- setOpacity: B,
916
- testProp: Nt,
917
- setTransform: Pt,
918
- setPosition: V,
919
- getPosition: Ft,
920
- get disableTextSelection() {
921
- return It;
922
- },
923
- get enableTextSelection() {
924
- return Lt;
925
- },
926
- disableImageDrag: Bt,
927
- enableImageDrag: Vt,
928
- preventOutline: Wt,
929
- restoreOutline: Gt,
930
- getSizedParentNode: Kt,
931
- getScale: qt
932
- };
933
- function H(e, t, n, r) {
934
- if (t && typeof t == "object") for (var i in t) Zt(e, i, t[i], n);
935
- else {
936
- t = f(t);
937
- for (var a = 0, o = t.length; a < o; a++) Zt(e, t[a], n, r);
938
- }
939
- return this;
940
- }
941
- var U = "_leaflet_events";
942
- function W(e, t, n, r) {
943
- if (arguments.length === 1) Yt(e), delete e[U];
944
- else if (t && typeof t == "object") for (var i in t) Qt(e, i, t[i], n);
945
- else if (t = f(t), arguments.length === 2) Yt(e, function(e) {
946
- return ee(t, e) !== -1;
947
- });
948
- else for (var a = 0, o = t.length; a < o; a++) Qt(e, t[a], n, r);
949
- return this;
950
- }
951
- function Yt(e, t) {
952
- for (var n in e[U]) {
953
- var r = n.split(/\d/)[0];
954
- (!t || t(r)) && Qt(e, r, null, null, n);
955
- }
956
- }
957
- var Xt = {
958
- mouseenter: "mouseover",
959
- mouseleave: "mouseout",
960
- wheel: !("onwheel" in window) && "mousewheel"
961
- };
962
- function Zt(e, t, n, r) {
963
- var i = t + o(n) + (r ? "_" + o(r) : "");
964
- if (e[U] && e[U][i]) return this;
965
- var a = function(t) {
966
- return n.call(r || e, t || window.event);
967
- }, s = a;
968
- !P.touchNative && P.pointer && t.indexOf("touch") === 0 ? a = lt(e, t, a) : P.touch && t === "dblclick" ? a = yt(e, a) : "addEventListener" in e ? t === "touchstart" || t === "touchmove" || t === "wheel" || t === "mousewheel" ? e.addEventListener(Xt[t] || t, a, P.passiveEvents ? { passive: !1 } : !1) : t === "mouseenter" || t === "mouseleave" ? (a = function(t) {
969
- t ||= window.event, cn(e, t) && s(t);
970
- }, e.addEventListener(Xt[t], a, !1)) : e.addEventListener(t, s, !1) : e.attachEvent("on" + t, a), e[U] = e[U] || {}, e[U][i] = a;
971
- }
972
- function Qt(e, t, n, r, i) {
973
- i ||= t + o(n) + (r ? "_" + o(r) : "");
974
- var a = e[U] && e[U][i];
975
- if (!a) return this;
976
- !P.touchNative && P.pointer && t.indexOf("touch") === 0 ? ut(e, t, a) : P.touch && t === "dblclick" ? bt(e, a) : "removeEventListener" in e ? e.removeEventListener(Xt[t] || t, a, !1) : e.detachEvent("on" + t, a), e[U][i] = null;
977
- }
978
- function $t(e) {
979
- return e.stopPropagation ? e.stopPropagation() : e.originalEvent ? e.originalEvent._stopped = !0 : e.cancelBubble = !0, this;
980
- }
981
- function en(e) {
982
- return Zt(e, "wheel", $t), this;
983
- }
984
- function tn(e) {
985
- return H(e, "mousedown touchstart dblclick contextmenu", $t), e._leaflet_disable_click = !0, this;
986
- }
987
- function G(e) {
988
- return e.preventDefault ? e.preventDefault() : e.returnValue = !1, this;
989
- }
990
- function nn(e) {
991
- return G(e), $t(e), this;
992
- }
993
- function rn(e) {
994
- if (e.composedPath) return e.composedPath();
995
- for (var t = [], n = e.target; n;) t.push(n), n = n.parentNode;
996
- return t;
997
- }
998
- function an(e, t) {
999
- if (!t) return new S(e.clientX, e.clientY);
1000
- var n = qt(t), r = n.boundingClientRect;
1001
- return new S((e.clientX - r.left) / n.x - t.clientLeft, (e.clientY - r.top) / n.y - t.clientTop);
1002
- }
1003
- var on = P.linux && P.chrome ? window.devicePixelRatio : P.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
1004
- function sn(e) {
1005
- return P.edge ? e.wheelDeltaY / 2 : e.deltaY && e.deltaMode === 0 ? -e.deltaY / on : e.deltaY && e.deltaMode === 1 ? -e.deltaY * 20 : e.deltaY && e.deltaMode === 2 ? -e.deltaY * 60 : e.deltaX || e.deltaZ ? 0 : e.wheelDelta ? (e.wheelDeltaY || e.wheelDelta) / 2 : e.detail && Math.abs(e.detail) < 32765 ? -e.detail * 20 : e.detail ? e.detail / -32765 * 60 : 0;
1006
- }
1007
- function cn(e, t) {
1008
- var n = t.relatedTarget;
1009
- if (!n) return !0;
1010
- try {
1011
- for (; n && n !== e;) n = n.parentNode;
1012
- } catch {
1013
- return !1;
1014
- }
1015
- return n !== e;
1016
- }
1017
- var ln = {
1018
- __proto__: null,
1019
- on: H,
1020
- off: W,
1021
- stopPropagation: $t,
1022
- disableScrollPropagation: en,
1023
- disableClickPropagation: tn,
1024
- preventDefault: G,
1025
- stop: nn,
1026
- getPropagationPath: rn,
1027
- getMousePosition: an,
1028
- getWheelDelta: sn,
1029
- isExternalTarget: cn,
1030
- addListener: H,
1031
- removeListener: W
1032
- }, un = le.extend({
1033
- run: function(e, t, n, r) {
1034
- this.stop(), this._el = e, this._inProgress = !0, this._duration = n || .25, this._easeOutPower = 1 / Math.max(r || .5, .2), this._startPos = Ft(e), this._offset = t.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
1035
- },
1036
- stop: function() {
1037
- this._inProgress && (this._step(!0), this._complete());
1038
- },
1039
- _animate: function() {
1040
- this._animId = v(this._animate, this), this._step();
1041
- },
1042
- _step: function(e) {
1043
- var t = +/* @__PURE__ */ new Date() - this._startTime, n = this._duration * 1e3;
1044
- t < n ? this._runFrame(this._easeOut(t / n), e) : (this._runFrame(1), this._complete());
1045
- },
1046
- _runFrame: function(e, t) {
1047
- var n = this._startPos.add(this._offset.multiplyBy(e));
1048
- t && n._round(), V(this._el, n), this.fire("step");
1049
- },
1050
- _complete: function() {
1051
- y(this._animId), this._inProgress = !1, this.fire("end");
1052
- },
1053
- _easeOut: function(e) {
1054
- return 1 - (1 - e) ** this._easeOutPower;
1055
- }
1056
- }), K = le.extend({
1057
- options: {
1058
- crs: he,
1059
- center: void 0,
1060
- zoom: void 0,
1061
- minZoom: void 0,
1062
- maxZoom: void 0,
1063
- layers: [],
1064
- maxBounds: void 0,
1065
- renderer: void 0,
1066
- zoomAnimation: !0,
1067
- zoomAnimationThreshold: 4,
1068
- fadeAnimation: !0,
1069
- markerZoomAnimation: !0,
1070
- transform3DLimit: 8388608,
1071
- zoomSnap: 1,
1072
- zoomDelta: 1,
1073
- trackResize: !0
1074
- },
1075
- initialize: function(e, t) {
1076
- t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(k(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = St && P.any3d && !P.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), H(this._proxy, Ct, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
1077
- },
1078
- setView: function(e, t, r) {
1079
- return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(k(e), t, this.options.maxBounds), r ||= {}, this._stop(), this._loaded && !r.reset && r !== !0 && (r.animate !== void 0 && (r.zoom = n({ animate: r.animate }, r.zoom), r.pan = n({
1080
- animate: r.animate,
1081
- duration: r.duration
1082
- }, r.pan)), this._zoom === t ? this._tryAnimatedPan(e, r.pan) : this._tryAnimatedZoom && this._tryAnimatedZoom(e, t, r.zoom)) ? (clearTimeout(this._sizeTimer), this) : (this._resetView(e, t, r.pan && r.pan.noMoveStart), this);
1083
- },
1084
- setZoom: function(e, t) {
1085
- return this._loaded ? this.setView(this.getCenter(), e, { zoom: t }) : (this._zoom = e, this);
1086
- },
1087
- zoomIn: function(e, t) {
1088
- return e ||= P.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom + e, t);
1089
- },
1090
- zoomOut: function(e, t) {
1091
- return e ||= P.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom - e, t);
1092
- },
1093
- setZoomAround: function(e, t, n) {
1094
- var r = this.getZoomScale(t), i = this.getSize().divideBy(2), a = (e instanceof S ? e : this.latLngToContainerPoint(e)).subtract(i).multiplyBy(1 - 1 / r), o = this.containerPointToLatLng(i.add(a));
1095
- return this.setView(o, t, { zoom: n });
1096
- },
1097
- _getBoundsCenterZoom: function(e, t) {
1098
- t ||= {}, e = e.getBounds ? e.getBounds() : D(e);
1099
- var n = C(t.paddingTopLeft || t.padding || [0, 0]), r = C(t.paddingBottomRight || t.padding || [0, 0]), i = this.getBoundsZoom(e, !1, n.add(r));
1100
- if (i = typeof t.maxZoom == "number" ? Math.min(t.maxZoom, i) : i, i === Infinity) return {
1101
- center: e.getCenter(),
1102
- zoom: i
1103
- };
1104
- var a = r.subtract(n).divideBy(2), o = this.project(e.getSouthWest(), i), s = this.project(e.getNorthEast(), i);
1105
- return {
1106
- center: this.unproject(o.add(s).divideBy(2).add(a), i),
1107
- zoom: i
1108
- };
1109
- },
1110
- fitBounds: function(e, t) {
1111
- if (e = D(e), !e.isValid()) throw Error("Bounds are not valid.");
1112
- var n = this._getBoundsCenterZoom(e, t);
1113
- return this.setView(n.center, n.zoom, t);
1114
- },
1115
- fitWorld: function(e) {
1116
- return this.fitBounds([[-90, -180], [90, 180]], e);
1117
- },
1118
- panTo: function(e, t) {
1119
- return this.setView(e, this._zoom, { pan: t });
1120
- },
1121
- panBy: function(e, t) {
1122
- if (e = C(e).round(), t ||= {}, !e.x && !e.y) return this.fire("moveend");
1123
- if (t.animate !== !0 && !this.getSize().contains(e)) return this._resetView(this.unproject(this.project(this.getCenter()).add(e)), this.getZoom()), this;
1124
- if (this._panAnim || (this._panAnim = new un(), this._panAnim.on({
1125
- step: this._onPanTransitionStep,
1126
- end: this._onPanTransitionEnd
1127
- }, this)), t.noMoveStart || this.fire("movestart"), t.animate !== !1) {
1128
- R(this._mapPane, "leaflet-pan-anim");
1129
- var n = this._getMapPanePos().subtract(e).round();
1130
- this._panAnim.run(this._mapPane, n, t.duration || .25, t.easeLinearity);
1131
- } else this._rawPanBy(e), this.fire("move").fire("moveend");
1132
- return this;
1133
- },
1134
- flyTo: function(e, t, n) {
1135
- if (n ||= {}, n.animate === !1 || !P.any3d) return this.setView(e, t, n);
1136
- this._stop();
1137
- var r = this.project(this.getCenter()), i = this.project(e), a = this.getSize(), o = this._zoom;
1138
- e = k(e), t = t === void 0 ? o : t;
1139
- var s = Math.max(a.x, a.y), c = s * this.getZoomScale(o, t), l = i.distanceTo(r) || 1, u = 1.42, d = u * u;
1140
- function f(e) {
1141
- var t = e ? -1 : 1, n = e ? c : s, r = (c * c - s * s + t * d * d * l * l) / (2 * n * d * l), i = Math.sqrt(r * r + 1) - r;
1142
- return i < 1e-9 ? -18 : Math.log(i);
1143
- }
1144
- function p(e) {
1145
- return (Math.exp(e) - Math.exp(-e)) / 2;
1146
- }
1147
- function m(e) {
1148
- return (Math.exp(e) + Math.exp(-e)) / 2;
1149
- }
1150
- function h(e) {
1151
- return p(e) / m(e);
1152
- }
1153
- var g = f(0);
1154
- function _(e) {
1155
- return s * (m(g) / m(g + u * e));
1156
- }
1157
- function ee(e) {
1158
- return s * (m(g) * h(g + u * e) - p(g)) / d;
1159
- }
1160
- function te(e) {
1161
- return 1 - (1 - e) ** 1.5;
1162
- }
1163
- var ne = Date.now(), re = (f(1) - g) / u, ie = n.duration ? 1e3 * n.duration : 1e3 * re * .8;
1164
- function ae() {
1165
- var n = (Date.now() - ne) / ie, a = te(n) * re;
1166
- n <= 1 ? (this._flyToFrame = v(ae, this), this._move(this.unproject(r.add(i.subtract(r).multiplyBy(ee(a) / l)), o), this.getScaleZoom(s / _(a), o), { flyTo: !0 })) : this._move(e, t)._moveEnd(!0);
1167
- }
1168
- return this._moveStart(!0, n.noMoveStart), ae.call(this), this;
1169
- },
1170
- flyToBounds: function(e, t) {
1171
- var n = this._getBoundsCenterZoom(e, t);
1172
- return this.flyTo(n.center, n.zoom, t);
1173
- },
1174
- setMaxBounds: function(e) {
1175
- return e = D(e), this.listens("moveend", this._panInsideMaxBounds) && this.off("moveend", this._panInsideMaxBounds), e.isValid() ? (this.options.maxBounds = e, this._loaded && this._panInsideMaxBounds(), this.on("moveend", this._panInsideMaxBounds)) : (this.options.maxBounds = null, this);
1176
- },
1177
- setMinZoom: function(e) {
1178
- var t = this.options.minZoom;
1179
- return this.options.minZoom = e, this._loaded && t !== e && (this.fire("zoomlevelschange"), this.getZoom() < this.options.minZoom) ? this.setZoom(e) : this;
1180
- },
1181
- setMaxZoom: function(e) {
1182
- var t = this.options.maxZoom;
1183
- return this.options.maxZoom = e, this._loaded && t !== e && (this.fire("zoomlevelschange"), this.getZoom() > this.options.maxZoom) ? this.setZoom(e) : this;
1184
- },
1185
- panInsideBounds: function(e, t) {
1186
- this._enforcingBounds = !0;
1187
- var n = this.getCenter(), r = this._limitCenter(n, this._zoom, D(e));
1188
- return n.equals(r) || this.panTo(r, t), this._enforcingBounds = !1, this;
1189
- },
1190
- panInside: function(e, t) {
1191
- t ||= {};
1192
- var n = C(t.paddingTopLeft || t.padding || [0, 0]), r = C(t.paddingBottomRight || t.padding || [0, 0]), i = this.project(this.getCenter()), a = this.project(e), o = this.getPixelBounds(), s = T([o.min.add(n), o.max.subtract(r)]), c = s.getSize();
1193
- if (!s.contains(a)) {
1194
- this._enforcingBounds = !0;
1195
- var l = a.subtract(s.getCenter()), u = s.extend(a).getSize().subtract(c);
1196
- i.x += l.x < 0 ? -u.x : u.x, i.y += l.y < 0 ? -u.y : u.y, this.panTo(this.unproject(i), t), this._enforcingBounds = !1;
1197
- }
1198
- return this;
1199
- },
1200
- invalidateSize: function(e) {
1201
- if (!this._loaded) return this;
1202
- e = n({
1203
- animate: !1,
1204
- pan: !0
1205
- }, e === !0 ? { animate: !0 } : e);
1206
- var t = this.getSize();
1207
- this._sizeChanged = !0, this._lastCenter = null;
1208
- var r = this.getSize(), a = t.divideBy(2).round(), o = r.divideBy(2).round(), s = a.subtract(o);
1209
- return !s.x && !s.y ? this : (e.animate && e.pan ? this.panBy(s) : (e.pan && this._rawPanBy(s), this.fire("move"), e.debounceMoveend ? (clearTimeout(this._sizeTimer), this._sizeTimer = setTimeout(i(this.fire, this, "moveend"), 200)) : this.fire("moveend")), this.fire("resize", {
1210
- oldSize: t,
1211
- newSize: r
1212
- }));
1213
- },
1214
- stop: function() {
1215
- return this.setZoom(this._limitZoom(this._zoom)), this.options.zoomSnap || this.fire("viewreset"), this._stop();
1216
- },
1217
- locate: function(e) {
1218
- if (e = this._locateOptions = n({
1219
- timeout: 1e4,
1220
- watch: !1
1221
- }, e), !("geolocation" in navigator)) return this._handleGeolocationError({
1222
- code: 0,
1223
- message: "Geolocation not supported."
1224
- }), this;
1225
- var t = i(this._handleGeolocationResponse, this), r = i(this._handleGeolocationError, this);
1226
- return e.watch ? this._locationWatchId = navigator.geolocation.watchPosition(t, r, e) : navigator.geolocation.getCurrentPosition(t, r, e), this;
1227
- },
1228
- stopLocate: function() {
1229
- return navigator.geolocation && navigator.geolocation.clearWatch && navigator.geolocation.clearWatch(this._locationWatchId), this._locateOptions && (this._locateOptions.setView = !1), this;
1230
- },
1231
- _handleGeolocationError: function(e) {
1232
- if (this._container._leaflet_id) {
1233
- var t = e.code, n = e.message || (t === 1 ? "permission denied" : t === 2 ? "position unavailable" : "timeout");
1234
- this._locateOptions.setView && !this._loaded && this.fitWorld(), this.fire("locationerror", {
1235
- code: t,
1236
- message: "Geolocation error: " + n + "."
1237
- });
1238
- }
1239
- },
1240
- _handleGeolocationResponse: function(e) {
1241
- if (this._container._leaflet_id) {
1242
- var t = e.coords.latitude, n = e.coords.longitude, r = new O(t, n), i = r.toBounds(e.coords.accuracy * 2), a = this._locateOptions;
1243
- if (a.setView) {
1244
- var o = this.getBoundsZoom(i);
1245
- this.setView(r, a.maxZoom ? Math.min(o, a.maxZoom) : o);
1246
- }
1247
- var s = {
1248
- latlng: r,
1249
- bounds: i,
1250
- timestamp: e.timestamp
1251
- };
1252
- for (var c in e.coords) typeof e.coords[c] == "number" && (s[c] = e.coords[c]);
1253
- this.fire("locationfound", s);
1254
- }
1255
- },
1256
- addHandler: function(e, t) {
1257
- if (!t) return this;
1258
- var n = this[e] = new t(this);
1259
- return this._handlers.push(n), this.options[e] && n.enable(), this;
1260
- },
1261
- remove: function() {
1262
- if (this._initEvents(!0), this.options.maxBounds && this.off("moveend", this._panInsideMaxBounds), this._containerId !== this._container._leaflet_id) throw Error("Map container is being reused by another instance");
1263
- try {
1264
- delete this._container._leaflet_id, delete this._containerId;
1265
- } catch {
1266
- this._container._leaflet_id = void 0, this._containerId = void 0;
1267
- }
1268
- for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), I(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest &&= (y(this._resizeRequest), null), this._clearHandlers(), this._loaded && this.fire("unload"), this._layers) this._layers[e].remove();
1269
- for (e in this._panes) I(this._panes[e]);
1270
- return this._layers = [], this._panes = [], delete this._mapPane, delete this._renderer, this;
1271
- },
1272
- createPane: function(e, t) {
1273
- var n = F("div", "leaflet-pane" + (e ? " leaflet-" + e.replace("Pane", "") + "-pane" : ""), t || this._mapPane);
1274
- return e && (this._panes[e] = n), n;
1275
- },
1276
- getCenter: function() {
1277
- return this._checkIfLoaded(), this._lastCenter && !this._moved() ? this._lastCenter.clone() : this.layerPointToLatLng(this._getCenterLayerPoint());
1278
- },
1279
- getZoom: function() {
1280
- return this._zoom;
1281
- },
1282
- getBounds: function() {
1283
- var e = this.getPixelBounds();
1284
- return new E(this.unproject(e.getBottomLeft()), this.unproject(e.getTopRight()));
1285
- },
1286
- getMinZoom: function() {
1287
- return this.options.minZoom === void 0 ? this._layersMinZoom || 0 : this.options.minZoom;
1288
- },
1289
- getMaxZoom: function() {
1290
- return this.options.maxZoom === void 0 ? this._layersMaxZoom === void 0 ? Infinity : this._layersMaxZoom : this.options.maxZoom;
1291
- },
1292
- getBoundsZoom: function(e, t, n) {
1293
- e = D(e), n = C(n || [0, 0]);
1294
- var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l = T(this.project(s, r), this.project(o, r)).getSize(), u = P.any3d ? this.options.zoomSnap : 1, d = c.x / l.x, f = c.y / l.y, p = t ? Math.max(d, f) : Math.min(d, f);
1295
- return r = this.getScaleZoom(p, r), u && (r = Math.round(r / (u / 100)) * (u / 100), r = t ? Math.ceil(r / u) * u : Math.floor(r / u) * u), Math.max(i, Math.min(a, r));
1296
- },
1297
- getSize: function() {
1298
- return (!this._size || this._sizeChanged) && (this._size = new S(this._container.clientWidth || 0, this._container.clientHeight || 0), this._sizeChanged = !1), this._size.clone();
1299
- },
1300
- getPixelBounds: function(e, t) {
1301
- var n = this._getTopLeftPoint(e, t);
1302
- return new w(n, n.add(this.getSize()));
1303
- },
1304
- getPixelOrigin: function() {
1305
- return this._checkIfLoaded(), this._pixelOrigin;
1306
- },
1307
- getPixelWorldBounds: function(e) {
1308
- return this.options.crs.getProjectedBounds(e === void 0 ? this.getZoom() : e);
1309
- },
1310
- getPane: function(e) {
1311
- return typeof e == "string" ? this._panes[e] : e;
1312
- },
1313
- getPanes: function() {
1314
- return this._panes;
1315
- },
1316
- getContainer: function() {
1317
- return this._container;
1318
- },
1319
- getZoomScale: function(e, t) {
1320
- var n = this.options.crs;
1321
- return t = t === void 0 ? this._zoom : t, n.scale(e) / n.scale(t);
1322
- },
1323
- getScaleZoom: function(e, t) {
1324
- var n = this.options.crs;
1325
- t = t === void 0 ? this._zoom : t;
1326
- var r = n.zoom(e * n.scale(t));
1327
- return isNaN(r) ? Infinity : r;
1328
- },
1329
- project: function(e, t) {
1330
- return t = t === void 0 ? this._zoom : t, this.options.crs.latLngToPoint(k(e), t);
1331
- },
1332
- unproject: function(e, t) {
1333
- return t = t === void 0 ? this._zoom : t, this.options.crs.pointToLatLng(C(e), t);
1334
- },
1335
- layerPointToLatLng: function(e) {
1336
- var t = C(e).add(this.getPixelOrigin());
1337
- return this.unproject(t);
1338
- },
1339
- latLngToLayerPoint: function(e) {
1340
- return this.project(k(e))._round()._subtract(this.getPixelOrigin());
1341
- },
1342
- wrapLatLng: function(e) {
1343
- return this.options.crs.wrapLatLng(k(e));
1344
- },
1345
- wrapLatLngBounds: function(e) {
1346
- return this.options.crs.wrapLatLngBounds(D(e));
1347
- },
1348
- distance: function(e, t) {
1349
- return this.options.crs.distance(k(e), k(t));
1350
- },
1351
- containerPointToLayerPoint: function(e) {
1352
- return C(e).subtract(this._getMapPanePos());
1353
- },
1354
- layerPointToContainerPoint: function(e) {
1355
- return C(e).add(this._getMapPanePos());
1356
- },
1357
- containerPointToLatLng: function(e) {
1358
- var t = this.containerPointToLayerPoint(C(e));
1359
- return this.layerPointToLatLng(t);
1360
- },
1361
- latLngToContainerPoint: function(e) {
1362
- return this.layerPointToContainerPoint(this.latLngToLayerPoint(k(e)));
1363
- },
1364
- mouseEventToContainerPoint: function(e) {
1365
- return an(e, this._container);
1366
- },
1367
- mouseEventToLayerPoint: function(e) {
1368
- return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e));
1369
- },
1370
- mouseEventToLatLng: function(e) {
1371
- return this.layerPointToLatLng(this.mouseEventToLayerPoint(e));
1372
- },
1373
- _initContainer: function(e) {
1374
- var t = this._container = wt(e);
1375
- if (!t) throw Error("Map container not found.");
1376
- if (t._leaflet_id) throw Error("Map container is already initialized.");
1377
- H(t, "scroll", this._onScroll, this), this._containerId = o(t);
1378
- },
1379
- _initLayout: function() {
1380
- var e = this._container;
1381
- this._fadeAnimated = this.options.fadeAnimation && P.any3d, R(e, "leaflet-container" + (P.touch ? " leaflet-touch" : "") + (P.retina ? " leaflet-retina" : "") + (P.ielt9 ? " leaflet-oldie" : "") + (P.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
1382
- var t = Tt(e, "position");
1383
- t !== "absolute" && t !== "relative" && t !== "fixed" && t !== "sticky" && (e.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
1384
- },
1385
- _initPanes: function() {
1386
- var e = this._panes = {};
1387
- this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), V(this._mapPane, new S(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (R(e.markerPane, "leaflet-zoom-hide"), R(e.shadowPane, "leaflet-zoom-hide"));
1388
- },
1389
- _resetView: function(e, t, n) {
1390
- V(this._mapPane, new S(0, 0));
1391
- var r = !this._loaded;
1392
- this._loaded = !0, t = this._limitZoom(t), this.fire("viewprereset");
1393
- var i = this._zoom !== t;
1394
- this._moveStart(i, n)._move(e, t)._moveEnd(i), this.fire("viewreset"), r && this.fire("load");
1395
- },
1396
- _moveStart: function(e, t) {
1397
- return e && this.fire("zoomstart"), t || this.fire("movestart"), this;
1398
- },
1399
- _move: function(e, t, n, r) {
1400
- t === void 0 && (t = this._zoom);
1401
- var i = this._zoom !== t;
1402
- return this._zoom = t, this._lastCenter = e, this._pixelOrigin = this._getNewPixelOrigin(e), r ? n && n.pinch && this.fire("zoom", n) : ((i || n && n.pinch) && this.fire("zoom", n), this.fire("move", n)), this;
1403
- },
1404
- _moveEnd: function(e) {
1405
- return e && this.fire("zoomend"), this.fire("moveend");
1406
- },
1407
- _stop: function() {
1408
- return y(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
1409
- },
1410
- _rawPanBy: function(e) {
1411
- V(this._mapPane, this._getMapPanePos().subtract(e));
1412
- },
1413
- _getZoomSpan: function() {
1414
- return this.getMaxZoom() - this.getMinZoom();
1415
- },
1416
- _panInsideMaxBounds: function() {
1417
- this._enforcingBounds || this.panInsideBounds(this.options.maxBounds);
1418
- },
1419
- _checkIfLoaded: function() {
1420
- if (!this._loaded) throw Error("Set map center and zoom first.");
1421
- },
1422
- _initEvents: function(e) {
1423
- this._targets = {}, this._targets[o(this._container)] = this;
1424
- var t = e ? W : H;
1425
- t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this), P.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
1426
- },
1427
- _onResize: function() {
1428
- y(this._resizeRequest), this._resizeRequest = v(function() {
1429
- this.invalidateSize({ debounceMoveend: !0 });
1430
- }, this);
1431
- },
1432
- _onScroll: function() {
1433
- this._container.scrollTop = 0, this._container.scrollLeft = 0;
1434
- },
1435
- _onMoveEnd: function() {
1436
- var e = this._getMapPanePos();
1437
- Math.max(Math.abs(e.x), Math.abs(e.y)) >= this.options.transform3DLimit && this._resetView(this.getCenter(), this.getZoom());
1438
- },
1439
- _findEventTargets: function(e, t) {
1440
- for (var n = [], r, i = t === "mouseout" || t === "mouseover", a = e.target || e.srcElement, s = !1; a;) {
1441
- if (r = this._targets[o(a)], r && (t === "click" || t === "preclick") && this._draggableMoved(r)) {
1442
- s = !0;
1443
- break;
1444
- }
1445
- if (r && r.listens(t, !0) && (i && !cn(a, e) || (n.push(r), i)) || a === this._container) break;
1446
- a = a.parentNode;
1447
- }
1448
- return !n.length && !s && !i && this.listens(t, !0) && (n = [this]), n;
1449
- },
1450
- _isClickDisabled: function(e) {
1451
- for (; e && e !== this._container;) {
1452
- if (e._leaflet_disable_click) return !0;
1453
- e = e.parentNode;
1454
- }
1455
- },
1456
- _handleDOMEvent: function(e) {
1457
- var t = e.target || e.srcElement;
1458
- if (!(!this._loaded || t._leaflet_disable_events || e.type === "click" && this._isClickDisabled(t))) {
1459
- var n = e.type;
1460
- n === "mousedown" && Wt(t), this._fireDOMEvent(e, n);
1461
- }
1462
- },
1463
- _mouseEvents: [
1464
- "click",
1465
- "dblclick",
1466
- "mouseover",
1467
- "mouseout",
1468
- "contextmenu"
1469
- ],
1470
- _fireDOMEvent: function(e, t, r) {
1471
- if (e.type === "click") {
1472
- var i = n({}, e);
1473
- i.type = "preclick", this._fireDOMEvent(i, i.type, r);
1474
- }
1475
- var a = this._findEventTargets(e, t);
1476
- if (r) {
1477
- for (var o = [], s = 0; s < r.length; s++) r[s].listens(t, !0) && o.push(r[s]);
1478
- a = o.concat(a);
1479
- }
1480
- if (a.length) {
1481
- t === "contextmenu" && G(e);
1482
- var c = a[0], l = { originalEvent: e };
1483
- if (e.type !== "keypress" && e.type !== "keydown" && e.type !== "keyup") {
1484
- var u = c.getLatLng && (!c._radius || c._radius <= 10);
1485
- l.containerPoint = u ? this.latLngToContainerPoint(c.getLatLng()) : this.mouseEventToContainerPoint(e), l.layerPoint = this.containerPointToLayerPoint(l.containerPoint), l.latlng = u ? c.getLatLng() : this.layerPointToLatLng(l.layerPoint);
1486
- }
1487
- for (s = 0; s < a.length; s++) if (a[s].fire(t, l, !0), l.originalEvent._stopped || a[s].options.bubblingMouseEvents === !1 && ee(this._mouseEvents, t) !== -1) return;
1488
- }
1489
- },
1490
- _draggableMoved: function(e) {
1491
- return e = e.dragging && e.dragging.enabled() ? e : this, e.dragging && e.dragging.moved() || this.boxZoom && this.boxZoom.moved();
1492
- },
1493
- _clearHandlers: function() {
1494
- for (var e = 0, t = this._handlers.length; e < t; e++) this._handlers[e].disable();
1495
- },
1496
- whenReady: function(e, t) {
1497
- return this._loaded ? e.call(t || this, { target: this }) : this.on("load", e, t), this;
1498
- },
1499
- _getMapPanePos: function() {
1500
- return Ft(this._mapPane) || new S(0, 0);
1501
- },
1502
- _moved: function() {
1503
- var e = this._getMapPanePos();
1504
- return e && !e.equals([0, 0]);
1505
- },
1506
- _getTopLeftPoint: function(e, t) {
1507
- return (e && t !== void 0 ? this._getNewPixelOrigin(e, t) : this.getPixelOrigin()).subtract(this._getMapPanePos());
1508
- },
1509
- _getNewPixelOrigin: function(e, t) {
1510
- var n = this.getSize()._divideBy(2);
1511
- return this.project(e, t)._subtract(n)._add(this._getMapPanePos())._round();
1512
- },
1513
- _latLngToNewLayerPoint: function(e, t, n) {
1514
- var r = this._getNewPixelOrigin(n, t);
1515
- return this.project(e, t)._subtract(r);
1516
- },
1517
- _latLngBoundsToNewLayerBounds: function(e, t, n) {
1518
- var r = this._getNewPixelOrigin(n, t);
1519
- return T([
1520
- this.project(e.getSouthWest(), t)._subtract(r),
1521
- this.project(e.getNorthWest(), t)._subtract(r),
1522
- this.project(e.getSouthEast(), t)._subtract(r),
1523
- this.project(e.getNorthEast(), t)._subtract(r)
1524
- ]);
1525
- },
1526
- _getCenterLayerPoint: function() {
1527
- return this.containerPointToLayerPoint(this.getSize()._divideBy(2));
1528
- },
1529
- _getCenterOffset: function(e) {
1530
- return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint());
1531
- },
1532
- _limitCenter: function(e, t, n) {
1533
- if (!n) return e;
1534
- var r = this.project(e, t), i = this.getSize().divideBy(2), a = new w(r.subtract(i), r.add(i)), o = this._getBoundsOffset(a, n, t);
1535
- return Math.abs(o.x) <= 1 && Math.abs(o.y) <= 1 ? e : this.unproject(r.add(o), t);
1536
- },
1537
- _limitOffset: function(e, t) {
1538
- if (!t) return e;
1539
- var n = this.getPixelBounds(), r = new w(n.min.add(e), n.max.add(e));
1540
- return e.add(this._getBoundsOffset(r, t));
1541
- },
1542
- _getBoundsOffset: function(e, t, n) {
1543
- var r = T(this.project(t.getNorthEast(), n), this.project(t.getSouthWest(), n)), i = r.min.subtract(e.min), a = r.max.subtract(e.max);
1544
- return new S(this._rebound(i.x, -a.x), this._rebound(i.y, -a.y));
1545
- },
1546
- _rebound: function(e, t) {
1547
- return e + t > 0 ? Math.round(e - t) / 2 : Math.max(0, Math.ceil(e)) - Math.max(0, Math.floor(t));
1548
- },
1549
- _limitZoom: function(e) {
1550
- var t = this.getMinZoom(), n = this.getMaxZoom(), r = P.any3d ? this.options.zoomSnap : 1;
1551
- return r && (e = Math.round(e / r) * r), Math.max(t, Math.min(n, e));
1552
- },
1553
- _onPanTransitionStep: function() {
1554
- this.fire("move");
1555
- },
1556
- _onPanTransitionEnd: function() {
1557
- z(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
1558
- },
1559
- _tryAnimatedPan: function(e, t) {
1560
- var n = this._getCenterOffset(e)._trunc();
1561
- return (t && t.animate) !== !0 && !this.getSize().contains(n) ? !1 : (this.panBy(n, t), !0);
1562
- },
1563
- _createAnimProxy: function() {
1564
- var e = this._proxy = F("div", "leaflet-proxy leaflet-zoom-animated");
1565
- this._panes.mapPane.appendChild(e), this.on("zoomanim", function(e) {
1566
- var t = xt, n = this._proxy.style[t];
1567
- Pt(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[t] && this._animatingZoom && this._onZoomTransitionEnd();
1568
- }, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
1569
- },
1570
- _destroyAnimProxy: function() {
1571
- I(this._proxy), this.off("load moveend", this._animMoveEnd, this), delete this._proxy;
1572
- },
1573
- _animMoveEnd: function() {
1574
- var e = this.getCenter(), t = this.getZoom();
1575
- Pt(this._proxy, this.project(e, t), this.getZoomScale(t, 1));
1576
- },
1577
- _catchTransitionEnd: function(e) {
1578
- this._animatingZoom && e.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
1579
- },
1580
- _nothingToAnimate: function() {
1581
- return !this._container.getElementsByClassName("leaflet-zoom-animated").length;
1582
- },
1583
- _tryAnimatedZoom: function(e, t, n) {
1584
- if (this._animatingZoom) return !0;
1585
- if (n ||= {}, !this._zoomAnimated || n.animate === !1 || this._nothingToAnimate() || Math.abs(t - this._zoom) > this.options.zoomAnimationThreshold) return !1;
1586
- var r = this.getZoomScale(t), i = this._getCenterOffset(e)._divideBy(1 - 1 / r);
1587
- return n.animate !== !0 && !this.getSize().contains(i) ? !1 : (v(function() {
1588
- this._moveStart(!0, n.noMoveStart || !1)._animateZoom(e, t, !0);
1589
- }, this), !0);
1590
- },
1591
- _animateZoom: function(e, t, n, r) {
1592
- this._mapPane && (n && (this._animatingZoom = !0, this._animateToCenter = e, this._animateToZoom = t, R(this._mapPane, "leaflet-zoom-anim")), this.fire("zoomanim", {
1593
- center: e,
1594
- zoom: t,
1595
- noUpdate: r
1596
- }), this._tempFireZoomEvent ||= this._zoom !== this._animateToZoom, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), setTimeout(i(this._onZoomTransitionEnd, this), 250));
1597
- },
1598
- _onZoomTransitionEnd: function() {
1599
- this._animatingZoom && (this._mapPane && z(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));
1600
- }
1601
- });
1602
- function dn(e, t) {
1603
- return new K(e, t);
1604
- }
1605
- var q = b.extend({
1606
- options: { position: "topright" },
1607
- initialize: function(e) {
1608
- p(this, e);
1609
- },
1610
- getPosition: function() {
1611
- return this.options.position;
1612
- },
1613
- setPosition: function(e) {
1614
- var t = this._map;
1615
- return t && t.removeControl(this), this.options.position = e, t && t.addControl(this), this;
1616
- },
1617
- getContainer: function() {
1618
- return this._container;
1619
- },
1620
- addTo: function(e) {
1621
- this.remove(), this._map = e;
1622
- var t = this._container = this.onAdd(e), n = this.getPosition(), r = e._controlCorners[n];
1623
- return R(t, "leaflet-control"), n.indexOf("bottom") === -1 ? r.appendChild(t) : r.insertBefore(t, r.firstChild), this._map.on("unload", this.remove, this), this;
1624
- },
1625
- remove: function() {
1626
- return this._map &&= (I(this._container), this.onRemove && this.onRemove(this._map), this._map.off("unload", this.remove, this), null), this;
1627
- },
1628
- _refocusOnMap: function(e) {
1629
- this._map && e && e.screenX > 0 && e.screenY > 0 && this._map.getContainer().focus();
1630
- }
1631
- }), fn = function(e) {
1632
- return new q(e);
1633
- };
1634
- K.include({
1635
- addControl: function(e) {
1636
- return e.addTo(this), this;
1637
- },
1638
- removeControl: function(e) {
1639
- return e.remove(), this;
1640
- },
1641
- _initControlPos: function() {
1642
- var e = this._controlCorners = {}, t = "leaflet-", n = this._controlContainer = F("div", t + "control-container", this._container);
1643
- function r(r, i) {
1644
- var a = t + r + " " + t + i;
1645
- e[r + i] = F("div", a, n);
1646
- }
1647
- r("top", "left"), r("top", "right"), r("bottom", "left"), r("bottom", "right");
1648
- },
1649
- _clearControlPos: function() {
1650
- for (var e in this._controlCorners) I(this._controlCorners[e]);
1651
- I(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
1652
- }
1653
- });
1654
- var pn = q.extend({
1655
- options: {
1656
- collapsed: !0,
1657
- position: "topright",
1658
- autoZIndex: !0,
1659
- hideSingleBase: !1,
1660
- sortLayers: !1,
1661
- sortFunction: function(e, t, n, r) {
1662
- return n < r ? -1 : +(r < n);
1663
- }
1664
- },
1665
- initialize: function(e, t, n) {
1666
- for (var r in p(this, n), this._layerControlInputs = [], this._layers = [], this._lastZIndex = 0, this._handlingClick = !1, this._preventClick = !1, e) this._addLayer(e[r], r);
1667
- for (r in t) this._addLayer(t[r], r, !0);
1668
- },
1669
- onAdd: function(e) {
1670
- this._initLayout(), this._update(), this._map = e, e.on("zoomend", this._checkDisabledLayers, this);
1671
- for (var t = 0; t < this._layers.length; t++) this._layers[t].layer.on("add remove", this._onLayerChange, this);
1672
- return this._container;
1673
- },
1674
- addTo: function(e) {
1675
- return q.prototype.addTo.call(this, e), this._expandIfNotCollapsed();
1676
- },
1677
- onRemove: function() {
1678
- this._map.off("zoomend", this._checkDisabledLayers, this);
1679
- for (var e = 0; e < this._layers.length; e++) this._layers[e].layer.off("add remove", this._onLayerChange, this);
1680
- },
1681
- addBaseLayer: function(e, t) {
1682
- return this._addLayer(e, t), this._map ? this._update() : this;
1683
- },
1684
- addOverlay: function(e, t) {
1685
- return this._addLayer(e, t, !0), this._map ? this._update() : this;
1686
- },
1687
- removeLayer: function(e) {
1688
- e.off("add remove", this._onLayerChange, this);
1689
- var t = this._getLayer(o(e));
1690
- return t && this._layers.splice(this._layers.indexOf(t), 1), this._map ? this._update() : this;
1691
- },
1692
- expand: function() {
1693
- R(this._container, "leaflet-control-layers-expanded"), this._section.style.height = null;
1694
- var e = this._map.getSize().y - (this._container.offsetTop + 50);
1695
- return e < this._section.clientHeight ? (R(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = e + "px") : z(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
1696
- },
1697
- collapse: function() {
1698
- return z(this._container, "leaflet-control-layers-expanded"), this;
1699
- },
1700
- _initLayout: function() {
1701
- var e = "leaflet-control-layers", t = this._container = F("div", e), n = this.options.collapsed;
1702
- t.setAttribute("aria-haspopup", !0), tn(t), en(t);
1703
- var r = this._section = F("section", e + "-list");
1704
- n && (this._map.on("click", this.collapse, this), H(t, {
1705
- mouseenter: this._expandSafely,
1706
- mouseleave: this.collapse
1707
- }, this));
1708
- var i = this._layersLink = F("a", e + "-toggle", t);
1709
- i.href = "#", i.title = "Layers", i.setAttribute("role", "button"), H(i, {
1710
- keydown: function(e) {
1711
- e.keyCode === 13 && this._expandSafely();
1712
- },
1713
- click: function(e) {
1714
- G(e), this._expandSafely();
1715
- }
1716
- }, this), n || this.expand(), this._baseLayersList = F("div", e + "-base", r), this._separator = F("div", e + "-separator", r), this._overlaysList = F("div", e + "-overlays", r), t.appendChild(r);
1717
- },
1718
- _getLayer: function(e) {
1719
- for (var t = 0; t < this._layers.length; t++) if (this._layers[t] && o(this._layers[t].layer) === e) return this._layers[t];
1720
- },
1721
- _addLayer: function(e, t, n) {
1722
- this._map && e.on("add remove", this._onLayerChange, this), this._layers.push({
1723
- layer: e,
1724
- name: t,
1725
- overlay: n
1726
- }), this.options.sortLayers && this._layers.sort(i(function(e, t) {
1727
- return this.options.sortFunction(e.layer, t.layer, e.name, t.name);
1728
- }, this)), this.options.autoZIndex && e.setZIndex && (this._lastZIndex++, e.setZIndex(this._lastZIndex)), this._expandIfNotCollapsed();
1729
- },
1730
- _update: function() {
1731
- if (!this._container) return this;
1732
- Et(this._baseLayersList), Et(this._overlaysList), this._layerControlInputs = [];
1733
- var e, t, n, r, i = 0;
1734
- for (n = 0; n < this._layers.length; n++) r = this._layers[n], this._addItem(r), t ||= r.overlay, e ||= !r.overlay, i += +!r.overlay;
1735
- return this.options.hideSingleBase && (e &&= i > 1, this._baseLayersList.style.display = e ? "" : "none"), this._separator.style.display = t && e ? "" : "none", this;
1736
- },
1737
- _onLayerChange: function(e) {
1738
- this._handlingClick || this._update();
1739
- var t = this._getLayer(o(e.target)), n = t.overlay ? e.type === "add" ? "overlayadd" : "overlayremove" : e.type === "add" ? "baselayerchange" : null;
1740
- n && this._map.fire(n, t);
1741
- },
1742
- _createRadioElement: function(e, t) {
1743
- var n = "<input type=\"radio\" class=\"leaflet-control-layers-selector\" name=\"" + e + "\"" + (t ? " checked=\"checked\"" : "") + "/>", r = document.createElement("div");
1744
- return r.innerHTML = n, r.firstChild;
1745
- },
1746
- _addItem: function(e) {
1747
- var t = document.createElement("label"), n = this._map.hasLayer(e.layer), r;
1748
- e.overlay ? (r = document.createElement("input"), r.type = "checkbox", r.className = "leaflet-control-layers-selector", r.defaultChecked = n) : r = this._createRadioElement("leaflet-base-layers_" + o(this), n), this._layerControlInputs.push(r), r.layerId = o(e.layer), H(r, "click", this._onInputClick, this);
1749
- var i = document.createElement("span");
1750
- i.innerHTML = " " + e.name;
1751
- var a = document.createElement("span");
1752
- return t.appendChild(a), a.appendChild(r), a.appendChild(i), (e.overlay ? this._overlaysList : this._baseLayersList).appendChild(t), this._checkDisabledLayers(), t;
1753
- },
1754
- _onInputClick: function() {
1755
- if (!this._preventClick) {
1756
- var e = this._layerControlInputs, t, n, r = [], i = [];
1757
- this._handlingClick = !0;
1758
- for (var a = e.length - 1; a >= 0; a--) t = e[a], n = this._getLayer(t.layerId).layer, t.checked ? r.push(n) : t.checked || i.push(n);
1759
- for (a = 0; a < i.length; a++) this._map.hasLayer(i[a]) && this._map.removeLayer(i[a]);
1760
- for (a = 0; a < r.length; a++) this._map.hasLayer(r[a]) || this._map.addLayer(r[a]);
1761
- this._handlingClick = !1, this._refocusOnMap();
1762
- }
1763
- },
1764
- _checkDisabledLayers: function() {
1765
- for (var e = this._layerControlInputs, t, n, r = this._map.getZoom(), i = e.length - 1; i >= 0; i--) t = e[i], n = this._getLayer(t.layerId).layer, t.disabled = n.options.minZoom !== void 0 && r < n.options.minZoom || n.options.maxZoom !== void 0 && r > n.options.maxZoom;
1766
- },
1767
- _expandIfNotCollapsed: function() {
1768
- return this._map && !this.options.collapsed && this.expand(), this;
1769
- },
1770
- _expandSafely: function() {
1771
- var e = this._section;
1772
- this._preventClick = !0, H(e, "click", G), this.expand();
1773
- var t = this;
1774
- setTimeout(function() {
1775
- W(e, "click", G), t._preventClick = !1;
1776
- });
1777
- }
1778
- }), mn = function(e, t, n) {
1779
- return new pn(e, t, n);
1780
- }, hn = q.extend({
1781
- options: {
1782
- position: "topleft",
1783
- zoomInText: "<span aria-hidden=\"true\">+</span>",
1784
- zoomInTitle: "Zoom in",
1785
- zoomOutText: "<span aria-hidden=\"true\">&#x2212;</span>",
1786
- zoomOutTitle: "Zoom out"
1787
- },
1788
- onAdd: function(e) {
1789
- var t = "leaflet-control-zoom", n = F("div", t + " leaflet-bar"), r = this.options;
1790
- return this._zoomInButton = this._createButton(r.zoomInText, r.zoomInTitle, t + "-in", n, this._zoomIn), this._zoomOutButton = this._createButton(r.zoomOutText, r.zoomOutTitle, t + "-out", n, this._zoomOut), this._updateDisabled(), e.on("zoomend zoomlevelschange", this._updateDisabled, this), n;
1791
- },
1792
- onRemove: function(e) {
1793
- e.off("zoomend zoomlevelschange", this._updateDisabled, this);
1794
- },
1795
- disable: function() {
1796
- return this._disabled = !0, this._updateDisabled(), this;
1797
- },
1798
- enable: function() {
1799
- return this._disabled = !1, this._updateDisabled(), this;
1800
- },
1801
- _zoomIn: function(e) {
1802
- !this._disabled && this._map._zoom < this._map.getMaxZoom() && this._map.zoomIn(this._map.options.zoomDelta * (e.shiftKey ? 3 : 1));
1803
- },
1804
- _zoomOut: function(e) {
1805
- !this._disabled && this._map._zoom > this._map.getMinZoom() && this._map.zoomOut(this._map.options.zoomDelta * (e.shiftKey ? 3 : 1));
1806
- },
1807
- _createButton: function(e, t, n, r, i) {
1808
- var a = F("a", n, r);
1809
- return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t), tn(a), H(a, "click", nn), H(a, "click", i, this), H(a, "click", this._refocusOnMap, this), a;
1810
- },
1811
- _updateDisabled: function() {
1812
- var e = this._map, t = "leaflet-disabled";
1813
- z(this._zoomInButton, t), z(this._zoomOutButton, t), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || e._zoom === e.getMinZoom()) && (R(this._zoomOutButton, t), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || e._zoom === e.getMaxZoom()) && (R(this._zoomInButton, t), this._zoomInButton.setAttribute("aria-disabled", "true"));
1814
- }
1815
- });
1816
- K.mergeOptions({ zoomControl: !0 }), K.addInitHook(function() {
1817
- this.options.zoomControl && (this.zoomControl = new hn(), this.addControl(this.zoomControl));
1818
- });
1819
- var gn = function(e) {
1820
- return new hn(e);
1821
- }, _n = q.extend({
1822
- options: {
1823
- position: "bottomleft",
1824
- maxWidth: 100,
1825
- metric: !0,
1826
- imperial: !0
1827
- },
1828
- onAdd: function(e) {
1829
- var t = "leaflet-control-scale", n = F("div", t), r = this.options;
1830
- return this._addScales(r, t + "-line", n), e.on(r.updateWhenIdle ? "moveend" : "move", this._update, this), e.whenReady(this._update, this), n;
1831
- },
1832
- onRemove: function(e) {
1833
- e.off(this.options.updateWhenIdle ? "moveend" : "move", this._update, this);
1834
- },
1835
- _addScales: function(e, t, n) {
1836
- e.metric && (this._mScale = F("div", t, n)), e.imperial && (this._iScale = F("div", t, n));
1837
- },
1838
- _update: function() {
1839
- var e = this._map, t = e.getSize().y / 2, n = e.distance(e.containerPointToLatLng([0, t]), e.containerPointToLatLng([this.options.maxWidth, t]));
1840
- this._updateScales(n);
1841
- },
1842
- _updateScales: function(e) {
1843
- this.options.metric && e && this._updateMetric(e), this.options.imperial && e && this._updateImperial(e);
1844
- },
1845
- _updateMetric: function(e) {
1846
- var t = this._getRoundNum(e), n = t < 1e3 ? t + " m" : t / 1e3 + " km";
1847
- this._updateScale(this._mScale, n, t / e);
1848
- },
1849
- _updateImperial: function(e) {
1850
- var t = e * 3.2808399, n, r, i;
1851
- t > 5280 ? (n = t / 5280, r = this._getRoundNum(n), this._updateScale(this._iScale, r + " mi", r / n)) : (i = this._getRoundNum(t), this._updateScale(this._iScale, i + " ft", i / t));
1852
- },
1853
- _updateScale: function(e, t, n) {
1854
- e.style.width = Math.round(this.options.maxWidth * n) + "px", e.innerHTML = t;
1855
- },
1856
- _getRoundNum: function(e) {
1857
- var t = 10 ** ((Math.floor(e) + "").length - 1), n = e / t;
1858
- return n = n >= 10 ? 10 : n >= 5 ? 5 : n >= 3 ? 3 : n >= 2 ? 2 : 1, t * n;
1859
- }
1860
- }), vn = function(e) {
1861
- return new _n(e);
1862
- }, yn = q.extend({
1863
- options: {
1864
- position: "bottomright",
1865
- prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (P.inlineSvg ? "<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"8\" viewBox=\"0 0 12 8\" class=\"leaflet-attribution-flag\"><path fill=\"#4C7BE1\" d=\"M0 0h12v4H0z\"/><path fill=\"#FFD500\" d=\"M0 4h12v3H0z\"/><path fill=\"#E0BC00\" d=\"M0 7h12v1H0z\"/></svg> " : "") + "Leaflet</a>"
1866
- },
1867
- initialize: function(e) {
1868
- p(this, e), this._attributions = {};
1869
- },
1870
- onAdd: function(e) {
1871
- for (var t in e.attributionControl = this, this._container = F("div", "leaflet-control-attribution"), tn(this._container), e._layers) e._layers[t].getAttribution && this.addAttribution(e._layers[t].getAttribution());
1872
- return this._update(), e.on("layeradd", this._addAttribution, this), this._container;
1873
- },
1874
- onRemove: function(e) {
1875
- e.off("layeradd", this._addAttribution, this);
1876
- },
1877
- _addAttribution: function(e) {
1878
- e.layer.getAttribution && (this.addAttribution(e.layer.getAttribution()), e.layer.once("remove", function() {
1879
- this.removeAttribution(e.layer.getAttribution());
1880
- }, this));
1881
- },
1882
- setPrefix: function(e) {
1883
- return this.options.prefix = e, this._update(), this;
1884
- },
1885
- addAttribution: function(e) {
1886
- return e && (this._attributions[e] || (this._attributions[e] = 0), this._attributions[e]++, this._update()), this;
1887
- },
1888
- removeAttribution: function(e) {
1889
- return e && this._attributions[e] && (this._attributions[e]--, this._update()), this;
1890
- },
1891
- _update: function() {
1892
- if (this._map) {
1893
- var e = [];
1894
- for (var t in this._attributions) this._attributions[t] && e.push(t);
1895
- var n = [];
1896
- this.options.prefix && n.push(this.options.prefix), e.length && n.push(e.join(", ")), this._container.innerHTML = n.join(" <span aria-hidden=\"true\">|</span> ");
1897
- }
1898
- }
1899
- });
1900
- K.mergeOptions({ attributionControl: !0 }), K.addInitHook(function() {
1901
- this.options.attributionControl && new yn().addTo(this);
1902
- }), q.Layers = pn, q.Zoom = hn, q.Scale = _n, q.Attribution = yn, fn.layers = mn, fn.zoom = gn, fn.scale = vn, fn.attribution = function(e) {
1903
- return new yn(e);
1904
- };
1905
- var J = b.extend({
1906
- initialize: function(e) {
1907
- this._map = e;
1908
- },
1909
- enable: function() {
1910
- return this._enabled || (this._enabled = !0, this.addHooks()), this;
1911
- },
1912
- disable: function() {
1913
- return this._enabled && (this._enabled = !1, this.removeHooks()), this;
1914
- },
1915
- enabled: function() {
1916
- return !!this._enabled;
1917
- }
1918
- });
1919
- J.addTo = function(e, t) {
1920
- return e.addHandler(t, this), this;
1921
- };
1922
- var bn = { Events: x }, xn = P.touch ? "touchstart mousedown" : "mousedown", Sn = le.extend({
1923
- options: { clickTolerance: 3 },
1924
- initialize: function(e, t, n, r) {
1925
- p(this, r), this._element = e, this._dragStartTarget = t || e, this._preventOutline = n;
1926
- },
1927
- enable: function() {
1928
- this._enabled ||= (H(this._dragStartTarget, xn, this._onDown, this), !0);
1929
- },
1930
- disable: function() {
1931
- this._enabled && (Sn._dragging === this && this.finishDrag(!0), W(this._dragStartTarget, xn, this._onDown, this), this._enabled = !1, this._moved = !1);
1932
- },
1933
- _onDown: function(e) {
1934
- if (this._enabled && (this._moved = !1, !kt(this._element, "leaflet-zoom-anim"))) {
1935
- if (e.touches && e.touches.length !== 1) Sn._dragging === this && this.finishDrag();
1936
- else if (!(Sn._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) && (Sn._dragging = this, this._preventOutline && Wt(this._element), Bt(), It(), !this._moving)) {
1937
- this.fire("down");
1938
- var t = e.touches ? e.touches[0] : e, n = Kt(this._element);
1939
- this._startPoint = new S(t.clientX, t.clientY), this._startPos = Ft(this._element), this._parentScale = qt(n);
1940
- var r = e.type === "mousedown";
1941
- H(document, r ? "mousemove" : "touchmove", this._onMove, this), H(document, r ? "mouseup" : "touchend touchcancel", this._onUp, this);
1942
- }
1943
- }
1944
- },
1945
- _onMove: function(e) {
1946
- if (this._enabled) {
1947
- if (e.touches && e.touches.length > 1) this._moved = !0;
1948
- else {
1949
- var t = e.touches && e.touches.length === 1 ? e.touches[0] : e, n = new S(t.clientX, t.clientY)._subtract(this._startPoint);
1950
- (n.x || n.y) && (Math.abs(n.x) + Math.abs(n.y) < this.options.clickTolerance || (n.x /= this._parentScale.x, n.y /= this._parentScale.y, G(e), this._moved || (this.fire("dragstart"), this._moved = !0, R(document.body, "leaflet-dragging"), this._lastTarget = e.target || e.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), R(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(n), this._moving = !0, this._lastEvent = e, this._updatePosition()));
1951
- }
1952
- }
1953
- },
1954
- _updatePosition: function() {
1955
- var e = { originalEvent: this._lastEvent };
1956
- this.fire("predrag", e), V(this._element, this._newPos), this.fire("drag", e);
1957
- },
1958
- _onUp: function() {
1959
- this._enabled && this.finishDrag();
1960
- },
1961
- finishDrag: function(e) {
1962
- z(document.body, "leaflet-dragging"), this._lastTarget &&= (z(this._lastTarget, "leaflet-drag-target"), null), W(document, "mousemove touchmove", this._onMove, this), W(document, "mouseup touchend touchcancel", this._onUp, this), Vt(), Lt();
1963
- var t = this._moved && this._moving;
1964
- this._moving = !1, Sn._dragging = !1, t && this.fire("dragend", {
1965
- noInertia: e,
1966
- distance: this._newPos.distanceTo(this._startPos)
1967
- });
1968
- }
1969
- });
1970
- function Cn(e, t, n) {
1971
- for (var r, i = [
1972
- 1,
1973
- 4,
1974
- 2,
1975
- 8
1976
- ], a = 0, o, s, c, l, u = e.length, d, f; a < u; a++) e[a]._code = In(e[a], t);
1977
- for (s = 0; s < 4; s++) {
1978
- for (d = i[s], r = [], a = 0, u = e.length, o = u - 1; a < u; o = a++) c = e[a], l = e[o], c._code & d ? l._code & d || (f = Fn(l, c, d, t, n), f._code = In(f, t), r.push(f)) : (l._code & d && (f = Fn(l, c, d, t, n), f._code = In(f, t), r.push(f)), r.push(c));
1979
- e = r;
1980
- }
1981
- return e;
1982
- }
1983
- function wn(e, t) {
1984
- var n, r, i, a, o, s, c, l, u;
1985
- if (!e || e.length === 0) throw Error("latlngs not passed");
1986
- Y(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
1987
- var d = k([0, 0]), f = D(e);
1988
- f.getNorthWest().distanceTo(f.getSouthWest()) * f.getNorthEast().distanceTo(f.getNorthWest()) < 1700 && (d = Tn(e));
1989
- var p = e.length, m = [];
1990
- for (n = 0; n < p; n++) {
1991
- var h = k(e[n]);
1992
- m.push(t.project(k([h.lat - d.lat, h.lng - d.lng])));
1993
- }
1994
- for (s = c = l = 0, n = 0, r = p - 1; n < p; r = n++) i = m[n], a = m[r], o = i.y * a.x - a.y * i.x, c += (i.x + a.x) * o, l += (i.y + a.y) * o, s += o * 3;
1995
- u = s === 0 ? m[0] : [c / s, l / s];
1996
- var g = t.unproject(C(u));
1997
- return k([g.lat + d.lat, g.lng + d.lng]);
1998
- }
1999
- function Tn(e) {
2000
- for (var t = 0, n = 0, r = 0, i = 0; i < e.length; i++) {
2001
- var a = k(e[i]);
2002
- t += a.lat, n += a.lng, r++;
2003
- }
2004
- return k([t / r, n / r]);
2005
- }
2006
- var En = {
2007
- __proto__: null,
2008
- clipPolygon: Cn,
2009
- polygonCenter: wn,
2010
- centroid: Tn
2011
- };
2012
- function Dn(e, t) {
2013
- if (!t || !e.length) return e.slice();
2014
- var n = t * t;
2015
- return e = Mn(e, n), e = An(e, n), e;
2016
- }
2017
- function On(e, t, n) {
2018
- return Math.sqrt(Rn(e, t, n, !0));
2019
- }
2020
- function kn(e, t, n) {
2021
- return Rn(e, t, n);
2022
- }
2023
- function An(e, t) {
2024
- var n = e.length, r = new (typeof Uint8Array < "u" ? Uint8Array : Array)(n);
2025
- r[0] = r[n - 1] = 1, jn(e, r, t, 0, n - 1);
2026
- var i, a = [];
2027
- for (i = 0; i < n; i++) r[i] && a.push(e[i]);
2028
- return a;
2029
- }
2030
- function jn(e, t, n, r, i) {
2031
- for (var a = 0, o, s = r + 1, c; s <= i - 1; s++) c = Rn(e[s], e[r], e[i], !0), c > a && (o = s, a = c);
2032
- a > n && (t[o] = 1, jn(e, t, n, r, o), jn(e, t, n, o, i));
2033
- }
2034
- function Mn(e, t) {
2035
- for (var n = [e[0]], r = 1, i = 0, a = e.length; r < a; r++) Ln(e[r], e[i]) > t && (n.push(e[r]), i = r);
2036
- return i < a - 1 && n.push(e[a - 1]), n;
2037
- }
2038
- var Nn;
2039
- function Pn(e, t, n, r, i) {
2040
- var a = r ? Nn : In(e, n), o = In(t, n), s, c, l;
2041
- for (Nn = o;;) {
2042
- if (!(a | o)) return [e, t];
2043
- if (a & o) return !1;
2044
- s = a || o, c = Fn(e, t, s, n, i), l = In(c, n), s === a ? (e = c, a = l) : (t = c, o = l);
2045
- }
2046
- }
2047
- function Fn(e, t, n, r, i) {
2048
- var a = t.x - e.x, o = t.y - e.y, s = r.min, c = r.max, l, u;
2049
- return n & 8 ? (l = e.x + a * (c.y - e.y) / o, u = c.y) : n & 4 ? (l = e.x + a * (s.y - e.y) / o, u = s.y) : n & 2 ? (l = c.x, u = e.y + o * (c.x - e.x) / a) : n & 1 && (l = s.x, u = e.y + o * (s.x - e.x) / a), new S(l, u, i);
2050
- }
2051
- function In(e, t) {
2052
- var n = 0;
2053
- return e.x < t.min.x ? n |= 1 : e.x > t.max.x && (n |= 2), e.y < t.min.y ? n |= 4 : e.y > t.max.y && (n |= 8), n;
2054
- }
2055
- function Ln(e, t) {
2056
- var n = t.x - e.x, r = t.y - e.y;
2057
- return n * n + r * r;
2058
- }
2059
- function Rn(e, t, n, r) {
2060
- var i = t.x, a = t.y, o = n.x - i, s = n.y - a, c = o * o + s * s, l;
2061
- return c > 0 && (l = ((e.x - i) * o + (e.y - a) * s) / c, l > 1 ? (i = n.x, a = n.y) : l > 0 && (i += o * l, a += s * l)), o = e.x - i, s = e.y - a, r ? o * o + s * s : new S(i, a);
2062
- }
2063
- function Y(e) {
2064
- return !_(e[0]) || typeof e[0][0] != "object" && e[0][0] !== void 0;
2065
- }
2066
- function zn(e) {
2067
- return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Y(e);
2068
- }
2069
- function Bn(e, t) {
2070
- var n, r, i, a, o, s, c, l;
2071
- if (!e || e.length === 0) throw Error("latlngs not passed");
2072
- Y(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
2073
- var u = k([0, 0]), d = D(e);
2074
- d.getNorthWest().distanceTo(d.getSouthWest()) * d.getNorthEast().distanceTo(d.getNorthWest()) < 1700 && (u = Tn(e));
2075
- var f = e.length, p = [];
2076
- for (n = 0; n < f; n++) {
2077
- var m = k(e[n]);
2078
- p.push(t.project(k([m.lat - u.lat, m.lng - u.lng])));
2079
- }
2080
- for (n = 0, r = 0; n < f - 1; n++) r += p[n].distanceTo(p[n + 1]) / 2;
2081
- if (r === 0) l = p[0];
2082
- else for (n = 0, a = 0; n < f - 1; n++) if (o = p[n], s = p[n + 1], i = o.distanceTo(s), a += i, a > r) {
2083
- c = (a - r) / i, l = [s.x - c * (s.x - o.x), s.y - c * (s.y - o.y)];
2084
- break;
2085
- }
2086
- var h = t.unproject(C(l));
2087
- return k([h.lat + u.lat, h.lng + u.lng]);
2088
- }
2089
- var Vn = {
2090
- __proto__: null,
2091
- simplify: Dn,
2092
- pointToSegmentDistance: On,
2093
- closestPointOnSegment: kn,
2094
- clipSegment: Pn,
2095
- _getEdgeIntersection: Fn,
2096
- _getBitCode: In,
2097
- _sqClosestPointOnSegment: Rn,
2098
- isFlat: Y,
2099
- _flat: zn,
2100
- polylineCenter: Bn
2101
- }, Hn = {
2102
- project: function(e) {
2103
- return new S(e.lng, e.lat);
2104
- },
2105
- unproject: function(e) {
2106
- return new O(e.y, e.x);
2107
- },
2108
- bounds: new w([-180, -90], [180, 90])
2109
- }, Un = {
2110
- R: 6378137,
2111
- R_MINOR: 6356752.314245179,
2112
- bounds: new w([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),
2113
- project: function(e) {
2114
- var t = Math.PI / 180, n = this.R, r = e.lat * t, i = this.R_MINOR / n, a = Math.sqrt(1 - i * i), o = a * Math.sin(r), s = Math.tan(Math.PI / 4 - r / 2) / ((1 - o) / (1 + o)) ** (a / 2);
2115
- return r = -n * Math.log(Math.max(s, 1e-10)), new S(e.lng * t * n, r);
2116
- },
2117
- unproject: function(e) {
2118
- for (var t = 180 / Math.PI, n = this.R, r = this.R_MINOR / n, i = Math.sqrt(1 - r * r), a = Math.exp(-e.y / n), o = Math.PI / 2 - 2 * Math.atan(a), s = 0, c = .1, l; s < 15 && Math.abs(c) > 1e-7; s++) l = i * Math.sin(o), l = ((1 - l) / (1 + l)) ** (i / 2), c = Math.PI / 2 - 2 * Math.atan(a * l) - o, o += c;
2119
- return new O(o * t, e.x * t / n);
2120
- }
2121
- }, Wn = {
2122
- __proto__: null,
2123
- LonLat: Hn,
2124
- Mercator: Un,
2125
- SphericalMercator: fe
2126
- }, Gn = n({}, j, {
2127
- code: "EPSG:3395",
2128
- projection: Un,
2129
- transformation: function() {
2130
- var e = .5 / (Math.PI * Un.R);
2131
- return me(e, .5, -e, .5);
2132
- }()
2133
- }), Kn = n({}, j, {
2134
- code: "EPSG:4326",
2135
- projection: Hn,
2136
- transformation: me(1 / 180, 1, -1 / 180, .5)
2137
- }), qn = n({}, A, {
2138
- projection: Hn,
2139
- transformation: me(1, 0, -1, 0),
2140
- scale: function(e) {
2141
- return 2 ** e;
2142
- },
2143
- zoom: function(e) {
2144
- return Math.log(e) / Math.LN2;
2145
- },
2146
- distance: function(e, t) {
2147
- var n = t.lng - e.lng, r = t.lat - e.lat;
2148
- return Math.sqrt(n * n + r * r);
2149
- },
2150
- infinite: !0
2151
- });
2152
- A.Earth = j, A.EPSG3395 = Gn, A.EPSG3857 = he, A.EPSG900913 = ge, A.EPSG4326 = Kn, A.Simple = qn;
2153
- var X = le.extend({
2154
- options: {
2155
- pane: "overlayPane",
2156
- attribution: null,
2157
- bubblingMouseEvents: !0
2158
- },
2159
- addTo: function(e) {
2160
- return e.addLayer(this), this;
2161
- },
2162
- remove: function() {
2163
- return this.removeFrom(this._map || this._mapToAdd);
2164
- },
2165
- removeFrom: function(e) {
2166
- return e && e.removeLayer(this), this;
2167
- },
2168
- getPane: function(e) {
2169
- return this._map.getPane(e ? this.options[e] || e : this.options.pane);
2170
- },
2171
- addInteractiveTarget: function(e) {
2172
- return this._map._targets[o(e)] = this, this;
2173
- },
2174
- removeInteractiveTarget: function(e) {
2175
- return delete this._map._targets[o(e)], this;
2176
- },
2177
- getAttribution: function() {
2178
- return this.options.attribution;
2179
- },
2180
- _layerAdd: function(e) {
2181
- var t = e.target;
2182
- if (t.hasLayer(this)) {
2183
- if (this._map = t, this._zoomAnimated = t._zoomAnimated, this.getEvents) {
2184
- var n = this.getEvents();
2185
- t.on(n, this), this.once("remove", function() {
2186
- t.off(n, this);
2187
- }, this);
2188
- }
2189
- this.onAdd(t), this.fire("add"), t.fire("layeradd", { layer: this });
2190
- }
2191
- }
2192
- });
2193
- K.include({
2194
- addLayer: function(e) {
2195
- if (!e._layerAdd) throw Error("The provided object is not a Layer.");
2196
- var t = o(e);
2197
- return this._layers[t] || (this._layers[t] = e, e._mapToAdd = this, e.beforeAdd && e.beforeAdd(this), this.whenReady(e._layerAdd, e)), this;
2198
- },
2199
- removeLayer: function(e) {
2200
- var t = o(e);
2201
- return this._layers[t] && (this._loaded && e.onRemove(this), delete this._layers[t], this._loaded && (this.fire("layerremove", { layer: e }), e.fire("remove")), e._map = e._mapToAdd = null), this;
2202
- },
2203
- hasLayer: function(e) {
2204
- return o(e) in this._layers;
2205
- },
2206
- eachLayer: function(e, t) {
2207
- for (var n in this._layers) e.call(t, this._layers[n]);
2208
- return this;
2209
- },
2210
- _addLayers: function(e) {
2211
- e = e ? _(e) ? e : [e] : [];
2212
- for (var t = 0, n = e.length; t < n; t++) this.addLayer(e[t]);
2213
- },
2214
- _addZoomLimit: function(e) {
2215
- (!isNaN(e.options.maxZoom) || !isNaN(e.options.minZoom)) && (this._zoomBoundLayers[o(e)] = e, this._updateZoomLevels());
2216
- },
2217
- _removeZoomLimit: function(e) {
2218
- var t = o(e);
2219
- this._zoomBoundLayers[t] && (delete this._zoomBoundLayers[t], this._updateZoomLevels());
2220
- },
2221
- _updateZoomLevels: function() {
2222
- var e = Infinity, t = -Infinity, n = this._getZoomSpan();
2223
- for (var r in this._zoomBoundLayers) {
2224
- var i = this._zoomBoundLayers[r].options;
2225
- e = i.minZoom === void 0 ? e : Math.min(e, i.minZoom), t = i.maxZoom === void 0 ? t : Math.max(t, i.maxZoom);
2226
- }
2227
- this._layersMaxZoom = t === -Infinity ? void 0 : t, this._layersMinZoom = e === Infinity ? void 0 : e, n !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
2228
- }
2229
- });
2230
- var Jn = X.extend({
2231
- initialize: function(e, t) {
2232
- p(this, t), this._layers = {};
2233
- var n, r;
2234
- if (e) for (n = 0, r = e.length; n < r; n++) this.addLayer(e[n]);
2235
- },
2236
- addLayer: function(e) {
2237
- var t = this.getLayerId(e);
2238
- return this._layers[t] = e, this._map && this._map.addLayer(e), this;
2239
- },
2240
- removeLayer: function(e) {
2241
- var t = e in this._layers ? e : this.getLayerId(e);
2242
- return this._map && this._layers[t] && this._map.removeLayer(this._layers[t]), delete this._layers[t], this;
2243
- },
2244
- hasLayer: function(e) {
2245
- return (typeof e == "number" ? e : this.getLayerId(e)) in this._layers;
2246
- },
2247
- clearLayers: function() {
2248
- return this.eachLayer(this.removeLayer, this);
2249
- },
2250
- invoke: function(e) {
2251
- var t = Array.prototype.slice.call(arguments, 1), n, r;
2252
- for (n in this._layers) r = this._layers[n], r[e] && r[e].apply(r, t);
2253
- return this;
2254
- },
2255
- onAdd: function(e) {
2256
- this.eachLayer(e.addLayer, e);
2257
- },
2258
- onRemove: function(e) {
2259
- this.eachLayer(e.removeLayer, e);
2260
- },
2261
- eachLayer: function(e, t) {
2262
- for (var n in this._layers) e.call(t, this._layers[n]);
2263
- return this;
2264
- },
2265
- getLayer: function(e) {
2266
- return this._layers[e];
2267
- },
2268
- getLayers: function() {
2269
- var e = [];
2270
- return this.eachLayer(e.push, e), e;
2271
- },
2272
- setZIndex: function(e) {
2273
- return this.invoke("setZIndex", e);
2274
- },
2275
- getLayerId: function(e) {
2276
- return o(e);
2277
- }
2278
- }), Yn = function(e, t) {
2279
- return new Jn(e, t);
2280
- }, Z = Jn.extend({
2281
- addLayer: function(e) {
2282
- return this.hasLayer(e) ? this : (e.addEventParent(this), Jn.prototype.addLayer.call(this, e), this.fire("layeradd", { layer: e }));
2283
- },
2284
- removeLayer: function(e) {
2285
- return this.hasLayer(e) ? (e in this._layers && (e = this._layers[e]), e.removeEventParent(this), Jn.prototype.removeLayer.call(this, e), this.fire("layerremove", { layer: e })) : this;
2286
- },
2287
- setStyle: function(e) {
2288
- return this.invoke("setStyle", e);
2289
- },
2290
- bringToFront: function() {
2291
- return this.invoke("bringToFront");
2292
- },
2293
- bringToBack: function() {
2294
- return this.invoke("bringToBack");
2295
- },
2296
- getBounds: function() {
2297
- var e = new E();
2298
- for (var t in this._layers) {
2299
- var n = this._layers[t];
2300
- e.extend(n.getBounds ? n.getBounds() : n.getLatLng());
2301
- }
2302
- return e;
2303
- }
2304
- }), Xn = function(e, t) {
2305
- return new Z(e, t);
2306
- }, Zn = b.extend({
2307
- options: {
2308
- popupAnchor: [0, 0],
2309
- tooltipAnchor: [0, 0],
2310
- crossOrigin: !1
2311
- },
2312
- initialize: function(e) {
2313
- p(this, e);
2314
- },
2315
- createIcon: function(e) {
2316
- return this._createIcon("icon", e);
2317
- },
2318
- createShadow: function(e) {
2319
- return this._createIcon("shadow", e);
2320
- },
2321
- _createIcon: function(e, t) {
2322
- var n = this._getIconUrl(e);
2323
- if (!n) {
2324
- if (e === "icon") throw Error("iconUrl not set in Icon options (see the docs).");
2325
- return null;
2326
- }
2327
- var r = this._createImg(n, t && t.tagName === "IMG" ? t : null);
2328
- return this._setIconStyles(r, e), (this.options.crossOrigin || this.options.crossOrigin === "") && (r.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), r;
2329
- },
2330
- _setIconStyles: function(e, t) {
2331
- var n = this.options, r = n[t + "Size"];
2332
- typeof r == "number" && (r = [r, r]);
2333
- var i = C(r), a = C(t === "shadow" && n.shadowAnchor || n.iconAnchor || i && i.divideBy(2, !0));
2334
- e.className = "leaflet-marker-" + t + " " + (n.className || ""), a && (e.style.marginLeft = -a.x + "px", e.style.marginTop = -a.y + "px"), i && (e.style.width = i.x + "px", e.style.height = i.y + "px");
2335
- },
2336
- _createImg: function(e, t) {
2337
- return t ||= document.createElement("img"), t.src = e, t;
2338
- },
2339
- _getIconUrl: function(e) {
2340
- return P.retina && this.options[e + "RetinaUrl"] || this.options[e + "Url"];
2341
- }
2342
- });
2343
- function Qn(e) {
2344
- return new Zn(e);
2345
- }
2346
- var $n = Zn.extend({
2347
- options: {
2348
- iconUrl: "marker-icon.png",
2349
- iconRetinaUrl: "marker-icon-2x.png",
2350
- shadowUrl: "marker-shadow.png",
2351
- iconSize: [25, 41],
2352
- iconAnchor: [12, 41],
2353
- popupAnchor: [1, -34],
2354
- tooltipAnchor: [16, -28],
2355
- shadowSize: [41, 41]
2356
- },
2357
- _getIconUrl: function(e) {
2358
- return typeof $n.imagePath != "string" && ($n.imagePath = this._detectIconPath()), (this.options.imagePath || $n.imagePath) + Zn.prototype._getIconUrl.call(this, e);
2359
- },
2360
- _stripUrl: function(e) {
2361
- var t = function(e, t, n) {
2362
- var r = t.exec(e);
2363
- return r && r[n];
2364
- };
2365
- return e = t(e, /^url\((['"])?(.+)\1\)$/, 2), e && t(e, /^(.*)marker-icon\.png$/, 1);
2366
- },
2367
- _detectIconPath: function() {
2368
- var e = F("div", "leaflet-default-icon-path", document.body), t = Tt(e, "background-image") || Tt(e, "backgroundImage");
2369
- if (document.body.removeChild(e), t = this._stripUrl(t), t) return t;
2370
- var n = document.querySelector("link[href$=\"leaflet.css\"]");
2371
- return n ? n.href.substring(0, n.href.length - 11 - 1) : "";
2372
- }
2373
- }), er = J.extend({
2374
- initialize: function(e) {
2375
- this._marker = e;
2376
- },
2377
- addHooks: function() {
2378
- var e = this._marker._icon;
2379
- this._draggable ||= new Sn(e, e, !0), this._draggable.on({
2380
- dragstart: this._onDragStart,
2381
- predrag: this._onPreDrag,
2382
- drag: this._onDrag,
2383
- dragend: this._onDragEnd
2384
- }, this).enable(), R(e, "leaflet-marker-draggable");
2385
- },
2386
- removeHooks: function() {
2387
- this._draggable.off({
2388
- dragstart: this._onDragStart,
2389
- predrag: this._onPreDrag,
2390
- drag: this._onDrag,
2391
- dragend: this._onDragEnd
2392
- }, this).disable(), this._marker._icon && z(this._marker._icon, "leaflet-marker-draggable");
2393
- },
2394
- moved: function() {
2395
- return this._draggable && this._draggable._moved;
2396
- },
2397
- _adjustPan: function(e) {
2398
- var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ft(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = T(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
2399
- if (!c.contains(a)) {
2400
- var l = C((Math.max(c.max.x, a.x) - c.max.x) / (o.max.x - c.max.x) - (Math.min(c.min.x, a.x) - c.min.x) / (o.min.x - c.min.x), (Math.max(c.max.y, a.y) - c.max.y) / (o.max.y - c.max.y) - (Math.min(c.min.y, a.y) - c.min.y) / (o.min.y - c.min.y)).multiplyBy(r);
2401
- n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), V(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = v(this._adjustPan.bind(this, e));
2402
- }
2403
- },
2404
- _onDragStart: function() {
2405
- this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");
2406
- },
2407
- _onPreDrag: function(e) {
2408
- this._marker.options.autoPan && (y(this._panRequest), this._panRequest = v(this._adjustPan.bind(this, e)));
2409
- },
2410
- _onDrag: function(e) {
2411
- var t = this._marker, n = t._shadow, r = Ft(t._icon), i = t._map.layerPointToLatLng(r);
2412
- n && V(n, r), t._latlng = i, e.latlng = i, e.oldLatLng = this._oldLatLng, t.fire("move", e).fire("drag", e);
2413
- },
2414
- _onDragEnd: function(e) {
2415
- y(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", e);
2416
- }
2417
- }), tr = X.extend({
2418
- options: {
2419
- icon: new $n(),
2420
- interactive: !0,
2421
- keyboard: !0,
2422
- title: "",
2423
- alt: "Marker",
2424
- zIndexOffset: 0,
2425
- opacity: 1,
2426
- riseOnHover: !1,
2427
- riseOffset: 250,
2428
- pane: "markerPane",
2429
- shadowPane: "shadowPane",
2430
- bubblingMouseEvents: !1,
2431
- autoPanOnFocus: !0,
2432
- draggable: !1,
2433
- autoPan: !1,
2434
- autoPanPadding: [50, 50],
2435
- autoPanSpeed: 10
2436
- },
2437
- initialize: function(e, t) {
2438
- p(this, t), this._latlng = k(e);
2439
- },
2440
- onAdd: function(e) {
2441
- this._zoomAnimated = this._zoomAnimated && e.options.markerZoomAnimation, this._zoomAnimated && e.on("zoomanim", this._animateZoom, this), this._initIcon(), this.update();
2442
- },
2443
- onRemove: function(e) {
2444
- this.dragging && this.dragging.enabled() && (this.options.draggable = !0, this.dragging.removeHooks()), delete this.dragging, this._zoomAnimated && e.off("zoomanim", this._animateZoom, this), this._removeIcon(), this._removeShadow();
2445
- },
2446
- getEvents: function() {
2447
- return {
2448
- zoom: this.update,
2449
- viewreset: this.update
2450
- };
2451
- },
2452
- getLatLng: function() {
2453
- return this._latlng;
2454
- },
2455
- setLatLng: function(e) {
2456
- var t = this._latlng;
2457
- return this._latlng = k(e), this.update(), this.fire("move", {
2458
- oldLatLng: t,
2459
- latlng: this._latlng
2460
- });
2461
- },
2462
- setZIndexOffset: function(e) {
2463
- return this.options.zIndexOffset = e, this.update();
2464
- },
2465
- getIcon: function() {
2466
- return this.options.icon;
2467
- },
2468
- setIcon: function(e) {
2469
- return this.options.icon = e, this._map && (this._initIcon(), this.update()), this._popup && this.bindPopup(this._popup, this._popup.options), this;
2470
- },
2471
- getElement: function() {
2472
- return this._icon;
2473
- },
2474
- update: function() {
2475
- if (this._icon && this._map) {
2476
- var e = this._map.latLngToLayerPoint(this._latlng).round();
2477
- this._setPos(e);
2478
- }
2479
- return this;
2480
- },
2481
- _initIcon: function() {
2482
- var e = this.options, t = "leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide"), n = e.icon.createIcon(this._icon), r = !1;
2483
- n !== this._icon && (this._icon && this._removeIcon(), r = !0, e.title && (n.title = e.title), n.tagName === "IMG" && (n.alt = e.alt || "")), R(n, t), e.keyboard && (n.tabIndex = "0", n.setAttribute("role", "button")), this._icon = n, e.riseOnHover && this.on({
2484
- mouseover: this._bringToFront,
2485
- mouseout: this._resetZIndex
2486
- }), this.options.autoPanOnFocus && H(n, "focus", this._panOnFocus, this);
2487
- var i = e.icon.createShadow(this._shadow), a = !1;
2488
- i !== this._shadow && (this._removeShadow(), a = !0), i && (R(i, t), i.alt = ""), this._shadow = i, e.opacity < 1 && this._updateOpacity(), r && this.getPane().appendChild(this._icon), this._initInteraction(), i && a && this.getPane(e.shadowPane).appendChild(this._shadow);
2489
- },
2490
- _removeIcon: function() {
2491
- this.options.riseOnHover && this.off({
2492
- mouseover: this._bringToFront,
2493
- mouseout: this._resetZIndex
2494
- }), this.options.autoPanOnFocus && W(this._icon, "focus", this._panOnFocus, this), I(this._icon), this.removeInteractiveTarget(this._icon), this._icon = null;
2495
- },
2496
- _removeShadow: function() {
2497
- this._shadow && I(this._shadow), this._shadow = null;
2498
- },
2499
- _setPos: function(e) {
2500
- this._icon && V(this._icon, e), this._shadow && V(this._shadow, e), this._zIndex = e.y + this.options.zIndexOffset, this._resetZIndex();
2501
- },
2502
- _updateZIndex: function(e) {
2503
- this._icon && (this._icon.style.zIndex = this._zIndex + e);
2504
- },
2505
- _animateZoom: function(e) {
2506
- var t = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center).round();
2507
- this._setPos(t);
2508
- },
2509
- _initInteraction: function() {
2510
- if (this.options.interactive && (R(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), er)) {
2511
- var e = this.options.draggable;
2512
- this.dragging && (e = this.dragging.enabled(), this.dragging.disable()), this.dragging = new er(this), e && this.dragging.enable();
2513
- }
2514
- },
2515
- setOpacity: function(e) {
2516
- return this.options.opacity = e, this._map && this._updateOpacity(), this;
2517
- },
2518
- _updateOpacity: function() {
2519
- var e = this.options.opacity;
2520
- this._icon && B(this._icon, e), this._shadow && B(this._shadow, e);
2521
- },
2522
- _bringToFront: function() {
2523
- this._updateZIndex(this.options.riseOffset);
2524
- },
2525
- _resetZIndex: function() {
2526
- this._updateZIndex(0);
2527
- },
2528
- _panOnFocus: function() {
2529
- var e = this._map;
2530
- if (e) {
2531
- var t = this.options.icon.options, n = t.iconSize ? C(t.iconSize) : C(0, 0), r = t.iconAnchor ? C(t.iconAnchor) : C(0, 0);
2532
- e.panInside(this._latlng, {
2533
- paddingTopLeft: r,
2534
- paddingBottomRight: n.subtract(r)
2535
- });
2536
- }
2537
- },
2538
- _getPopupAnchor: function() {
2539
- return this.options.icon.options.popupAnchor;
2540
- },
2541
- _getTooltipAnchor: function() {
2542
- return this.options.icon.options.tooltipAnchor;
2543
- }
2544
- });
2545
- function nr(e, t) {
2546
- return new tr(e, t);
2547
- }
2548
- var rr = X.extend({
2549
- options: {
2550
- stroke: !0,
2551
- color: "#3388ff",
2552
- weight: 3,
2553
- opacity: 1,
2554
- lineCap: "round",
2555
- lineJoin: "round",
2556
- dashArray: null,
2557
- dashOffset: null,
2558
- fill: !1,
2559
- fillColor: null,
2560
- fillOpacity: .2,
2561
- fillRule: "evenodd",
2562
- interactive: !0,
2563
- bubblingMouseEvents: !0
2564
- },
2565
- beforeAdd: function(e) {
2566
- this._renderer = e.getRenderer(this);
2567
- },
2568
- onAdd: function() {
2569
- this._renderer._initPath(this), this._reset(), this._renderer._addPath(this);
2570
- },
2571
- onRemove: function() {
2572
- this._renderer._removePath(this);
2573
- },
2574
- redraw: function() {
2575
- return this._map && this._renderer._updatePath(this), this;
2576
- },
2577
- setStyle: function(e) {
2578
- return p(this, e), this._renderer && (this._renderer._updateStyle(this), this.options.stroke && e && Object.prototype.hasOwnProperty.call(e, "weight") && this._updateBounds()), this;
2579
- },
2580
- bringToFront: function() {
2581
- return this._renderer && this._renderer._bringToFront(this), this;
2582
- },
2583
- bringToBack: function() {
2584
- return this._renderer && this._renderer._bringToBack(this), this;
2585
- },
2586
- getElement: function() {
2587
- return this._path;
2588
- },
2589
- _reset: function() {
2590
- this._project(), this._update();
2591
- },
2592
- _clickTolerance: function() {
2593
- return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
2594
- }
2595
- }), ir = rr.extend({
2596
- options: {
2597
- fill: !0,
2598
- radius: 10
2599
- },
2600
- initialize: function(e, t) {
2601
- p(this, t), this._latlng = k(e), this._radius = this.options.radius;
2602
- },
2603
- setLatLng: function(e) {
2604
- var t = this._latlng;
2605
- return this._latlng = k(e), this.redraw(), this.fire("move", {
2606
- oldLatLng: t,
2607
- latlng: this._latlng
2608
- });
2609
- },
2610
- getLatLng: function() {
2611
- return this._latlng;
2612
- },
2613
- setRadius: function(e) {
2614
- return this.options.radius = this._radius = e, this.redraw();
2615
- },
2616
- getRadius: function() {
2617
- return this._radius;
2618
- },
2619
- setStyle: function(e) {
2620
- var t = e && e.radius || this._radius;
2621
- return rr.prototype.setStyle.call(this, e), this.setRadius(t), this;
2622
- },
2623
- _project: function() {
2624
- this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
2625
- },
2626
- _updateBounds: function() {
2627
- var e = this._radius, t = this._radiusY || e, n = this._clickTolerance(), r = [e + n, t + n];
2628
- this._pxBounds = new w(this._point.subtract(r), this._point.add(r));
2629
- },
2630
- _update: function() {
2631
- this._map && this._updatePath();
2632
- },
2633
- _updatePath: function() {
2634
- this._renderer._updateCircle(this);
2635
- },
2636
- _empty: function() {
2637
- return this._radius && !this._renderer._bounds.intersects(this._pxBounds);
2638
- },
2639
- _containsPoint: function(e) {
2640
- return e.distanceTo(this._point) <= this._radius + this._clickTolerance();
2641
- }
2642
- });
2643
- function ar(e, t) {
2644
- return new ir(e, t);
2645
- }
2646
- var or = ir.extend({
2647
- initialize: function(e, t, r) {
2648
- if (typeof t == "number" && (t = n({}, r, { radius: t })), p(this, t), this._latlng = k(e), isNaN(this.options.radius)) throw Error("Circle radius cannot be NaN");
2649
- this._mRadius = this.options.radius;
2650
- },
2651
- setRadius: function(e) {
2652
- return this._mRadius = e, this.redraw();
2653
- },
2654
- getRadius: function() {
2655
- return this._mRadius;
2656
- },
2657
- getBounds: function() {
2658
- var e = [this._radius, this._radiusY || this._radius];
2659
- return new E(this._map.layerPointToLatLng(this._point.subtract(e)), this._map.layerPointToLatLng(this._point.add(e)));
2660
- },
2661
- setStyle: rr.prototype.setStyle,
2662
- _project: function() {
2663
- var e = this._latlng.lng, t = this._latlng.lat, n = this._map, r = n.options.crs;
2664
- if (r.distance === j.distance) {
2665
- var i = Math.PI / 180, a = this._mRadius / j.R / i, o = n.project([t + a, e]), s = n.project([t - a, e]), c = o.add(s).divideBy(2), l = n.unproject(c).lat, u = Math.acos((Math.cos(a * i) - Math.sin(t * i) * Math.sin(l * i)) / (Math.cos(t * i) * Math.cos(l * i))) / i;
2666
- (isNaN(u) || u === 0) && (u = a / Math.cos(Math.PI / 180 * t)), this._point = c.subtract(n.getPixelOrigin()), this._radius = isNaN(u) ? 0 : c.x - n.project([l, e - u]).x, this._radiusY = c.y - o.y;
2667
- } else {
2668
- var d = r.unproject(r.project(this._latlng).subtract([this._mRadius, 0]));
2669
- this._point = n.latLngToLayerPoint(this._latlng), this._radius = this._point.x - n.latLngToLayerPoint(d).x;
2670
- }
2671
- this._updateBounds();
2672
- }
2673
- });
2674
- function sr(e, t, n) {
2675
- return new or(e, t, n);
2676
- }
2677
- var Q = rr.extend({
2678
- options: {
2679
- smoothFactor: 1,
2680
- noClip: !1
2681
- },
2682
- initialize: function(e, t) {
2683
- p(this, t), this._setLatLngs(e);
2684
- },
2685
- getLatLngs: function() {
2686
- return this._latlngs;
2687
- },
2688
- setLatLngs: function(e) {
2689
- return this._setLatLngs(e), this.redraw();
2690
- },
2691
- isEmpty: function() {
2692
- return !this._latlngs.length;
2693
- },
2694
- closestLayerPoint: function(e) {
2695
- for (var t = Infinity, n = null, r = Rn, i, a, o = 0, s = this._parts.length; o < s; o++) for (var c = this._parts[o], l = 1, u = c.length; l < u; l++) {
2696
- i = c[l - 1], a = c[l];
2697
- var d = r(e, i, a, !0);
2698
- d < t && (t = d, n = r(e, i, a));
2699
- }
2700
- return n && (n.distance = Math.sqrt(t)), n;
2701
- },
2702
- getCenter: function() {
2703
- if (!this._map) throw Error("Must add layer to map before using getCenter()");
2704
- return Bn(this._defaultShape(), this._map.options.crs);
2705
- },
2706
- getBounds: function() {
2707
- return this._bounds;
2708
- },
2709
- addLatLng: function(e, t) {
2710
- return t ||= this._defaultShape(), e = k(e), t.push(e), this._bounds.extend(e), this.redraw();
2711
- },
2712
- _setLatLngs: function(e) {
2713
- this._bounds = new E(), this._latlngs = this._convertLatLngs(e);
2714
- },
2715
- _defaultShape: function() {
2716
- return Y(this._latlngs) ? this._latlngs : this._latlngs[0];
2717
- },
2718
- _convertLatLngs: function(e) {
2719
- for (var t = [], n = Y(e), r = 0, i = e.length; r < i; r++) n ? (t[r] = k(e[r]), this._bounds.extend(t[r])) : t[r] = this._convertLatLngs(e[r]);
2720
- return t;
2721
- },
2722
- _project: function() {
2723
- var e = new w();
2724
- this._rings = [], this._projectLatlngs(this._latlngs, this._rings, e), this._bounds.isValid() && e.isValid() && (this._rawPxBounds = e, this._updateBounds());
2725
- },
2726
- _updateBounds: function() {
2727
- var e = this._clickTolerance(), t = new S(e, e);
2728
- this._rawPxBounds && (this._pxBounds = new w([this._rawPxBounds.min.subtract(t), this._rawPxBounds.max.add(t)]));
2729
- },
2730
- _projectLatlngs: function(e, t, n) {
2731
- var r = e[0] instanceof O, i = e.length, a, o;
2732
- if (r) {
2733
- for (o = [], a = 0; a < i; a++) o[a] = this._map.latLngToLayerPoint(e[a]), n.extend(o[a]);
2734
- t.push(o);
2735
- } else for (a = 0; a < i; a++) this._projectLatlngs(e[a], t, n);
2736
- },
2737
- _clipPoints: function() {
2738
- var e = this._renderer._bounds;
2739
- if (this._parts = [], this._pxBounds && this._pxBounds.intersects(e)) {
2740
- if (this.options.noClip) this._parts = this._rings;
2741
- else for (var t = this._parts, n = 0, r, i = 0, a = this._rings.length, o, s, c; n < a; n++) for (c = this._rings[n], r = 0, o = c.length; r < o - 1; r++) s = Pn(c[r], c[r + 1], e, r, !0), s && (t[i] = t[i] || [], t[i].push(s[0]), (s[1] !== c[r + 1] || r === o - 2) && (t[i].push(s[1]), i++));
2742
- }
2743
- },
2744
- _simplifyPoints: function() {
2745
- for (var e = this._parts, t = this.options.smoothFactor, n = 0, r = e.length; n < r; n++) e[n] = Dn(e[n], t);
2746
- },
2747
- _update: function() {
2748
- this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
2749
- },
2750
- _updatePath: function() {
2751
- this._renderer._updatePoly(this);
2752
- },
2753
- _containsPoint: function(e, t) {
2754
- var n, r, i, a, o, s, c = this._clickTolerance();
2755
- if (!this._pxBounds || !this._pxBounds.contains(e)) return !1;
2756
- for (n = 0, a = this._parts.length; n < a; n++) for (s = this._parts[n], r = 0, o = s.length, i = o - 1; r < o; i = r++) if ((t || r !== 0) && On(e, s[i], s[r]) <= c) return !0;
2757
- return !1;
2758
- }
2759
- });
2760
- function cr(e, t) {
2761
- return new Q(e, t);
2762
- }
2763
- Q._flat = zn;
2764
- var lr = Q.extend({
2765
- options: { fill: !0 },
2766
- isEmpty: function() {
2767
- return !this._latlngs.length || !this._latlngs[0].length;
2768
- },
2769
- getCenter: function() {
2770
- if (!this._map) throw Error("Must add layer to map before using getCenter()");
2771
- return wn(this._defaultShape(), this._map.options.crs);
2772
- },
2773
- _convertLatLngs: function(e) {
2774
- var t = Q.prototype._convertLatLngs.call(this, e), n = t.length;
2775
- return n >= 2 && t[0] instanceof O && t[0].equals(t[n - 1]) && t.pop(), t;
2776
- },
2777
- _setLatLngs: function(e) {
2778
- Q.prototype._setLatLngs.call(this, e), Y(this._latlngs) && (this._latlngs = [this._latlngs]);
2779
- },
2780
- _defaultShape: function() {
2781
- return Y(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
2782
- },
2783
- _clipPoints: function() {
2784
- var e = this._renderer._bounds, t = this.options.weight, n = new S(t, t);
2785
- if (e = new w(e.min.subtract(n), e.max.add(n)), this._parts = [], this._pxBounds && this._pxBounds.intersects(e)) {
2786
- if (this.options.noClip) this._parts = this._rings;
2787
- else for (var r = 0, i = this._rings.length, a; r < i; r++) a = Cn(this._rings[r], e, !0), a.length && this._parts.push(a);
2788
- }
2789
- },
2790
- _updatePath: function() {
2791
- this._renderer._updatePoly(this, !0);
2792
- },
2793
- _containsPoint: function(e) {
2794
- var t = !1, n, r, i, a, o, s, c, l;
2795
- if (!this._pxBounds || !this._pxBounds.contains(e)) return !1;
2796
- for (a = 0, c = this._parts.length; a < c; a++) for (n = this._parts[a], o = 0, l = n.length, s = l - 1; o < l; s = o++) r = n[o], i = n[s], r.y > e.y != i.y > e.y && e.x < (i.x - r.x) * (e.y - r.y) / (i.y - r.y) + r.x && (t = !t);
2797
- return t || Q.prototype._containsPoint.call(this, e, !0);
2798
- }
2799
- });
2800
- function ur(e, t) {
2801
- return new lr(e, t);
2802
- }
2803
- var dr = Z.extend({
2804
- initialize: function(e, t) {
2805
- p(this, t), this._layers = {}, e && this.addData(e);
2806
- },
2807
- addData: function(e) {
2808
- var t = _(e) ? e : e.features, n, r, i;
2809
- if (t) {
2810
- for (n = 0, r = t.length; n < r; n++) i = t[n], (i.geometries || i.geometry || i.features || i.coordinates) && this.addData(i);
2811
- return this;
2812
- }
2813
- var a = this.options;
2814
- if (a.filter && !a.filter(e)) return this;
2815
- var o = fr(e, a);
2816
- return o ? (o.feature = yr(e), o.defaultOptions = o.options, this.resetStyle(o), a.onEachFeature && a.onEachFeature(e, o), this.addLayer(o)) : this;
2817
- },
2818
- resetStyle: function(e) {
2819
- return e === void 0 ? this.eachLayer(this.resetStyle, this) : (e.options = n({}, e.defaultOptions), this._setLayerStyle(e, this.options.style), this);
2820
- },
2821
- setStyle: function(e) {
2822
- return this.eachLayer(function(t) {
2823
- this._setLayerStyle(t, e);
2824
- }, this);
2825
- },
2826
- _setLayerStyle: function(e, t) {
2827
- e.setStyle && (typeof t == "function" && (t = t(e.feature)), e.setStyle(t));
2828
- }
2829
- });
2830
- function fr(e, t) {
2831
- var n = e.type === "Feature" ? e.geometry : e, r = n ? n.coordinates : null, i = [], a = t && t.pointToLayer, o = t && t.coordsToLatLng || mr, s, c, l, u;
2832
- if (!r && !n) return null;
2833
- switch (n.type) {
2834
- case "Point": return s = o(r), pr(a, e, s, t);
2835
- case "MultiPoint":
2836
- for (l = 0, u = r.length; l < u; l++) s = o(r[l]), i.push(pr(a, e, s, t));
2837
- return new Z(i);
2838
- case "LineString":
2839
- case "MultiLineString": return c = hr(r, n.type === "LineString" ? 0 : 1, o), new Q(c, t);
2840
- case "Polygon":
2841
- case "MultiPolygon": return c = hr(r, n.type === "Polygon" ? 1 : 2, o), new lr(c, t);
2842
- case "GeometryCollection":
2843
- for (l = 0, u = n.geometries.length; l < u; l++) {
2844
- var d = fr({
2845
- geometry: n.geometries[l],
2846
- type: "Feature",
2847
- properties: e.properties
2848
- }, t);
2849
- d && i.push(d);
2850
- }
2851
- return new Z(i);
2852
- case "FeatureCollection":
2853
- for (l = 0, u = n.features.length; l < u; l++) {
2854
- var f = fr(n.features[l], t);
2855
- f && i.push(f);
2856
- }
2857
- return new Z(i);
2858
- default: throw Error("Invalid GeoJSON object.");
2859
- }
2860
- }
2861
- function pr(e, t, n, r) {
2862
- return e ? e(t, n) : new tr(n, r && r.markersInheritOptions && r);
2863
- }
2864
- function mr(e) {
2865
- return new O(e[1], e[0], e[2]);
2866
- }
2867
- function hr(e, t, n) {
2868
- for (var r = [], i = 0, a = e.length, o; i < a; i++) o = t ? hr(e[i], t - 1, n) : (n || mr)(e[i]), r.push(o);
2869
- return r;
2870
- }
2871
- function gr(e, t) {
2872
- return e = k(e), e.alt === void 0 ? [u(e.lng, t), u(e.lat, t)] : [
2873
- u(e.lng, t),
2874
- u(e.lat, t),
2875
- u(e.alt, t)
2876
- ];
2877
- }
2878
- function _r(e, t, n, r) {
2879
- for (var i = [], a = 0, o = e.length; a < o; a++) i.push(t ? _r(e[a], Y(e[a]) ? 0 : t - 1, n, r) : gr(e[a], r));
2880
- return !t && n && i.length > 0 && i.push(i[0].slice()), i;
2881
- }
2882
- function vr(e, t) {
2883
- return e.feature ? n({}, e.feature, { geometry: t }) : yr(t);
2884
- }
2885
- function yr(e) {
2886
- return e.type === "Feature" || e.type === "FeatureCollection" ? e : {
2887
- type: "Feature",
2888
- properties: {},
2889
- geometry: e
2890
- };
2891
- }
2892
- var br = { toGeoJSON: function(e) {
2893
- return vr(this, {
2894
- type: "Point",
2895
- coordinates: gr(this.getLatLng(), e)
2896
- });
2897
- } };
2898
- tr.include(br), or.include(br), ir.include(br), Q.include({ toGeoJSON: function(e) {
2899
- var t = !Y(this._latlngs), n = _r(this._latlngs, +!!t, !1, e);
2900
- return vr(this, {
2901
- type: (t ? "Multi" : "") + "LineString",
2902
- coordinates: n
2903
- });
2904
- } }), lr.include({ toGeoJSON: function(e) {
2905
- var t = !Y(this._latlngs), n = t && !Y(this._latlngs[0]), r = _r(this._latlngs, n ? 2 : +!!t, !0, e);
2906
- return t || (r = [r]), vr(this, {
2907
- type: (n ? "Multi" : "") + "Polygon",
2908
- coordinates: r
2909
- });
2910
- } }), Jn.include({
2911
- toMultiPoint: function(e) {
2912
- var t = [];
2913
- return this.eachLayer(function(n) {
2914
- t.push(n.toGeoJSON(e).geometry.coordinates);
2915
- }), vr(this, {
2916
- type: "MultiPoint",
2917
- coordinates: t
2918
- });
2919
- },
2920
- toGeoJSON: function(e) {
2921
- var t = this.feature && this.feature.geometry && this.feature.geometry.type;
2922
- if (t === "MultiPoint") return this.toMultiPoint(e);
2923
- var n = t === "GeometryCollection", r = [];
2924
- return this.eachLayer(function(t) {
2925
- if (t.toGeoJSON) {
2926
- var i = t.toGeoJSON(e);
2927
- if (n) r.push(i.geometry);
2928
- else {
2929
- var a = yr(i);
2930
- a.type === "FeatureCollection" ? r.push.apply(r, a.features) : r.push(a);
2931
- }
2932
- }
2933
- }), n ? vr(this, {
2934
- geometries: r,
2935
- type: "GeometryCollection"
2936
- }) : {
2937
- type: "FeatureCollection",
2938
- features: r
2939
- };
2940
- }
2941
- });
2942
- function xr(e, t) {
2943
- return new dr(e, t);
2944
- }
2945
- var Sr = xr, Cr = X.extend({
2946
- options: {
2947
- opacity: 1,
2948
- alt: "",
2949
- interactive: !1,
2950
- crossOrigin: !1,
2951
- errorOverlayUrl: "",
2952
- zIndex: 1,
2953
- className: ""
2954
- },
2955
- initialize: function(e, t, n) {
2956
- this._url = e, this._bounds = D(t), p(this, n);
2957
- },
2958
- onAdd: function() {
2959
- this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (R(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
2960
- },
2961
- onRemove: function() {
2962
- I(this._image), this.options.interactive && this.removeInteractiveTarget(this._image);
2963
- },
2964
- setOpacity: function(e) {
2965
- return this.options.opacity = e, this._image && this._updateOpacity(), this;
2966
- },
2967
- setStyle: function(e) {
2968
- return e.opacity && this.setOpacity(e.opacity), this;
2969
- },
2970
- bringToFront: function() {
2971
- return this._map && Dt(this._image), this;
2972
- },
2973
- bringToBack: function() {
2974
- return this._map && Ot(this._image), this;
2975
- },
2976
- setUrl: function(e) {
2977
- return this._url = e, this._image && (this._image.src = e), this;
2978
- },
2979
- setBounds: function(e) {
2980
- return this._bounds = D(e), this._map && this._reset(), this;
2981
- },
2982
- getEvents: function() {
2983
- var e = {
2984
- zoom: this._reset,
2985
- viewreset: this._reset
2986
- };
2987
- return this._zoomAnimated && (e.zoomanim = this._animateZoom), e;
2988
- },
2989
- setZIndex: function(e) {
2990
- return this.options.zIndex = e, this._updateZIndex(), this;
2991
- },
2992
- getBounds: function() {
2993
- return this._bounds;
2994
- },
2995
- getElement: function() {
2996
- return this._image;
2997
- },
2998
- _initImage: function() {
2999
- var e = this._url.tagName === "IMG", t = this._image = e ? this._url : F("img");
3000
- R(t, "leaflet-image-layer"), this._zoomAnimated && R(t, "leaflet-zoom-animated"), this.options.className && R(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onload = i(this.fire, this, "load"), t.onerror = i(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (t.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), e ? this._url = t.src : (t.src = this._url, t.alt = this.options.alt);
3001
- },
3002
- _animateZoom: function(e) {
3003
- var t = this._map.getZoomScale(e.zoom), n = this._map._latLngBoundsToNewLayerBounds(this._bounds, e.zoom, e.center).min;
3004
- Pt(this._image, n, t);
3005
- },
3006
- _reset: function() {
3007
- var e = this._image, t = new w(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())), n = t.getSize();
3008
- V(e, t.min), e.style.width = n.x + "px", e.style.height = n.y + "px";
3009
- },
3010
- _updateOpacity: function() {
3011
- B(this._image, this.options.opacity);
3012
- },
3013
- _updateZIndex: function() {
3014
- this._image && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._image.style.zIndex = this.options.zIndex);
3015
- },
3016
- _overlayOnError: function() {
3017
- this.fire("error");
3018
- var e = this.options.errorOverlayUrl;
3019
- e && this._url !== e && (this._url = e, this._image.src = e);
3020
- },
3021
- getCenter: function() {
3022
- return this._bounds.getCenter();
3023
- }
3024
- }), wr = function(e, t, n) {
3025
- return new Cr(e, t, n);
3026
- }, Tr = Cr.extend({
3027
- options: {
3028
- autoplay: !0,
3029
- loop: !0,
3030
- keepAspectRatio: !0,
3031
- muted: !1,
3032
- playsInline: !0
3033
- },
3034
- _initImage: function() {
3035
- var e = this._url.tagName === "VIDEO", t = this._image = e ? this._url : F("video");
3036
- if (R(t, "leaflet-image-layer"), this._zoomAnimated && R(t, "leaflet-zoom-animated"), this.options.className && R(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onloadeddata = i(this.fire, this, "load"), e) {
3037
- for (var n = t.getElementsByTagName("source"), r = [], a = 0; a < n.length; a++) r.push(n[a].src);
3038
- this._url = n.length > 0 ? r : [t.src];
3039
- } else {
3040
- _(this._url) || (this._url = [this._url]), !this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(t.style, "objectFit") && (t.style.objectFit = "fill"), t.autoplay = !!this.options.autoplay, t.loop = !!this.options.loop, t.muted = !!this.options.muted, t.playsInline = !!this.options.playsInline;
3041
- for (var o = 0; o < this._url.length; o++) {
3042
- var s = F("source");
3043
- s.src = this._url[o], t.appendChild(s);
3044
- }
3045
- }
3046
- }
3047
- });
3048
- function Er(e, t, n) {
3049
- return new Tr(e, t, n);
3050
- }
3051
- var Dr = Cr.extend({ _initImage: function() {
3052
- var e = this._image = this._url;
3053
- R(e, "leaflet-image-layer"), this._zoomAnimated && R(e, "leaflet-zoom-animated"), this.options.className && R(e, this.options.className), e.onselectstart = l, e.onmousemove = l;
3054
- } });
3055
- function Or(e, t, n) {
3056
- return new Dr(e, t, n);
3057
- }
3058
- var $ = X.extend({
3059
- options: {
3060
- interactive: !1,
3061
- offset: [0, 0],
3062
- className: "",
3063
- pane: void 0,
3064
- content: ""
3065
- },
3066
- initialize: function(e, t) {
3067
- e && (e instanceof O || _(e)) ? (this._latlng = k(e), p(this, t)) : (p(this, e), this._source = t), this.options.content && (this._content = this.options.content);
3068
- },
3069
- openOn: function(e) {
3070
- return e = arguments.length ? e : this._source._map, e.hasLayer(this) || e.addLayer(this), this;
3071
- },
3072
- close: function() {
3073
- return this._map && this._map.removeLayer(this), this;
3074
- },
3075
- toggle: function(e) {
3076
- return this._map ? this.close() : (arguments.length ? this._source = e : e = this._source, this._prepareOpen(), this.openOn(e._map)), this;
3077
- },
3078
- onAdd: function(e) {
3079
- this._zoomAnimated = e._zoomAnimated, this._container || this._initLayout(), e._fadeAnimated && B(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), e._fadeAnimated && B(this._container, 1), this.bringToFront(), this.options.interactive && (R(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
3080
- },
3081
- onRemove: function(e) {
3082
- e._fadeAnimated ? (B(this._container, 0), this._removeTimeout = setTimeout(i(I, void 0, this._container), 200)) : I(this._container), this.options.interactive && (z(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
3083
- },
3084
- getLatLng: function() {
3085
- return this._latlng;
3086
- },
3087
- setLatLng: function(e) {
3088
- return this._latlng = k(e), this._map && (this._updatePosition(), this._adjustPan()), this;
3089
- },
3090
- getContent: function() {
3091
- return this._content;
3092
- },
3093
- setContent: function(e) {
3094
- return this._content = e, this.update(), this;
3095
- },
3096
- getElement: function() {
3097
- return this._container;
3098
- },
3099
- update: function() {
3100
- this._map && (this._container.style.visibility = "hidden", this._updateContent(), this._updateLayout(), this._updatePosition(), this._container.style.visibility = "", this._adjustPan());
3101
- },
3102
- getEvents: function() {
3103
- var e = {
3104
- zoom: this._updatePosition,
3105
- viewreset: this._updatePosition
3106
- };
3107
- return this._zoomAnimated && (e.zoomanim = this._animateZoom), e;
3108
- },
3109
- isOpen: function() {
3110
- return !!this._map && this._map.hasLayer(this);
3111
- },
3112
- bringToFront: function() {
3113
- return this._map && Dt(this._container), this;
3114
- },
3115
- bringToBack: function() {
3116
- return this._map && Ot(this._container), this;
3117
- },
3118
- _prepareOpen: function(e) {
3119
- var t = this._source;
3120
- if (!t._map) return !1;
3121
- if (t instanceof Z) {
3122
- t = null;
3123
- var n = this._source._layers;
3124
- for (var r in n) if (n[r]._map) {
3125
- t = n[r];
3126
- break;
3127
- }
3128
- if (!t) return !1;
3129
- this._source = t;
3130
- }
3131
- if (!e) {
3132
- if (t.getCenter) e = t.getCenter();
3133
- else if (t.getLatLng) e = t.getLatLng();
3134
- else if (t.getBounds) e = t.getBounds().getCenter();
3135
- else throw Error("Unable to get source layer LatLng.");
3136
- }
3137
- return this.setLatLng(e), this._map && this.update(), !0;
3138
- },
3139
- _updateContent: function() {
3140
- if (this._content) {
3141
- var e = this._contentNode, t = typeof this._content == "function" ? this._content(this._source || this) : this._content;
3142
- if (typeof t == "string") e.innerHTML = t;
3143
- else {
3144
- for (; e.hasChildNodes();) e.removeChild(e.firstChild);
3145
- e.appendChild(t);
3146
- }
3147
- this.fire("contentupdate");
3148
- }
3149
- },
3150
- _updatePosition: function() {
3151
- if (this._map) {
3152
- var e = this._map.latLngToLayerPoint(this._latlng), t = C(this.options.offset), n = this._getAnchor();
3153
- this._zoomAnimated ? V(this._container, e.add(n)) : t = t.add(e).add(n);
3154
- var r = this._containerBottom = -t.y, i = this._containerLeft = -Math.round(this._containerWidth / 2) + t.x;
3155
- this._container.style.bottom = r + "px", this._container.style.left = i + "px";
3156
- }
3157
- },
3158
- _getAnchor: function() {
3159
- return [0, 0];
3160
- }
3161
- });
3162
- K.include({ _initOverlay: function(e, t, n, r) {
3163
- var i = t;
3164
- return i instanceof e || (i = new e(r).setContent(t)), n && i.setLatLng(n), i;
3165
- } }), X.include({ _initOverlay: function(e, t, n, r) {
3166
- var i = n;
3167
- return i instanceof e ? (p(i, r), i._source = this) : (i = t && !r ? t : new e(r, this), i.setContent(n)), i;
3168
- } });
3169
- var kr = $.extend({
3170
- options: {
3171
- pane: "popupPane",
3172
- offset: [0, 7],
3173
- maxWidth: 300,
3174
- minWidth: 50,
3175
- maxHeight: null,
3176
- autoPan: !0,
3177
- autoPanPaddingTopLeft: null,
3178
- autoPanPaddingBottomRight: null,
3179
- autoPanPadding: [5, 5],
3180
- keepInView: !1,
3181
- closeButton: !0,
3182
- autoClose: !0,
3183
- closeOnEscapeKey: !0,
3184
- className: ""
3185
- },
3186
- openOn: function(e) {
3187
- return e = arguments.length ? e : this._source._map, !e.hasLayer(this) && e._popup && e._popup.options.autoClose && e.removeLayer(e._popup), e._popup = this, $.prototype.openOn.call(this, e);
3188
- },
3189
- onAdd: function(e) {
3190
- $.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof rr || this._source.on("preclick", $t));
3191
- },
3192
- onRemove: function(e) {
3193
- $.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof rr || this._source.off("preclick", $t));
3194
- },
3195
- getEvents: function() {
3196
- var e = $.prototype.getEvents.call(this);
3197
- return (this.options.closeOnClick === void 0 ? this._map.options.closePopupOnClick : this.options.closeOnClick) && (e.preclick = this.close), this.options.keepInView && (e.moveend = this._adjustPan), e;
3198
- },
3199
- _initLayout: function() {
3200
- var e = "leaflet-popup", t = this._container = F("div", e + " " + (this.options.className || "") + " leaflet-zoom-animated"), n = this._wrapper = F("div", e + "-content-wrapper", t);
3201
- if (this._contentNode = F("div", e + "-content", n), tn(t), en(this._contentNode), H(t, "contextmenu", $t), this._tipContainer = F("div", e + "-tip-container", t), this._tip = F("div", e + "-tip", this._tipContainer), this.options.closeButton) {
3202
- var r = this._closeButton = F("a", e + "-close-button", t);
3203
- r.setAttribute("role", "button"), r.setAttribute("aria-label", "Close popup"), r.href = "#close", r.innerHTML = "<span aria-hidden=\"true\">&#215;</span>", H(r, "click", function(e) {
3204
- G(e), this.close();
3205
- }, this);
3206
- }
3207
- },
3208
- _updateLayout: function() {
3209
- var e = this._contentNode, t = e.style;
3210
- t.width = "", t.whiteSpace = "nowrap";
3211
- var n = e.offsetWidth;
3212
- n = Math.min(n, this.options.maxWidth), n = Math.max(n, this.options.minWidth), t.width = n + 1 + "px", t.whiteSpace = "", t.height = "";
3213
- var r = e.offsetHeight, i = this.options.maxHeight, a = "leaflet-popup-scrolled";
3214
- i && r > i ? (t.height = i + "px", R(e, a)) : z(e, a), this._containerWidth = this._container.offsetWidth;
3215
- },
3216
- _animateZoom: function(e) {
3217
- var t = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center), n = this._getAnchor();
3218
- V(this._container, t.add(n));
3219
- },
3220
- _adjustPan: function() {
3221
- if (this.options.autoPan) {
3222
- if (this._map._panAnim && this._map._panAnim.stop(), this._autopanning) this._autopanning = !1;
3223
- else {
3224
- var e = this._map, t = parseInt(Tt(this._container, "marginBottom"), 10) || 0, n = this._container.offsetHeight + t, r = this._containerWidth, i = new S(this._containerLeft, -n - this._containerBottom);
3225
- i._add(Ft(this._container));
3226
- var a = e.layerPointToContainerPoint(i), o = C(this.options.autoPanPadding), s = C(this.options.autoPanPaddingTopLeft || o), c = C(this.options.autoPanPaddingBottomRight || o), l = e.getSize(), u = 0, d = 0;
3227
- a.x + r + c.x > l.x && (u = a.x + r - l.x + c.x), a.x - u - s.x < 0 && (u = a.x - s.x), a.y + n + c.y > l.y && (d = a.y + n - l.y + c.y), a.y - d - s.y < 0 && (d = a.y - s.y), (u || d) && (this.options.keepInView && (this._autopanning = !0), e.fire("autopanstart").panBy([u, d]));
3228
- }
3229
- }
3230
- },
3231
- _getAnchor: function() {
3232
- return C(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
3233
- }
3234
- }), Ar = function(e, t) {
3235
- return new kr(e, t);
3236
- };
3237
- K.mergeOptions({ closePopupOnClick: !0 }), K.include({
3238
- openPopup: function(e, t, n) {
3239
- return this._initOverlay(kr, e, t, n).openOn(this), this;
3240
- },
3241
- closePopup: function(e) {
3242
- return e = arguments.length ? e : this._popup, e && e.close(), this;
3243
- }
3244
- }), X.include({
3245
- bindPopup: function(e, t) {
3246
- return this._popup = this._initOverlay(kr, this._popup, e, t), this._popupHandlersAdded ||= (this.on({
3247
- click: this._openPopup,
3248
- keypress: this._onKeyPress,
3249
- remove: this.closePopup,
3250
- move: this._movePopup
3251
- }), !0), this;
3252
- },
3253
- unbindPopup: function() {
3254
- return this._popup &&= (this.off({
3255
- click: this._openPopup,
3256
- keypress: this._onKeyPress,
3257
- remove: this.closePopup,
3258
- move: this._movePopup
3259
- }), this._popupHandlersAdded = !1, null), this;
3260
- },
3261
- openPopup: function(e) {
3262
- return this._popup && (this instanceof Z || (this._popup._source = this), this._popup._prepareOpen(e || this._latlng) && this._popup.openOn(this._map)), this;
3263
- },
3264
- closePopup: function() {
3265
- return this._popup && this._popup.close(), this;
3266
- },
3267
- togglePopup: function() {
3268
- return this._popup && this._popup.toggle(this), this;
3269
- },
3270
- isPopupOpen: function() {
3271
- return this._popup ? this._popup.isOpen() : !1;
3272
- },
3273
- setPopupContent: function(e) {
3274
- return this._popup && this._popup.setContent(e), this;
3275
- },
3276
- getPopup: function() {
3277
- return this._popup;
3278
- },
3279
- _openPopup: function(e) {
3280
- if (this._popup && this._map) {
3281
- nn(e);
3282
- var t = e.layer || e.target;
3283
- this._popup._source === t && !(t instanceof rr) ? this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(e.latlng) : (this._popup._source = t, this.openPopup(e.latlng));
3284
- }
3285
- },
3286
- _movePopup: function(e) {
3287
- this._popup.setLatLng(e.latlng);
3288
- },
3289
- _onKeyPress: function(e) {
3290
- e.originalEvent.keyCode === 13 && this._openPopup(e);
3291
- }
3292
- });
3293
- var jr = $.extend({
3294
- options: {
3295
- pane: "tooltipPane",
3296
- offset: [0, 0],
3297
- direction: "auto",
3298
- permanent: !1,
3299
- sticky: !1,
3300
- opacity: .9
3301
- },
3302
- onAdd: function(e) {
3303
- $.prototype.onAdd.call(this, e), this.setOpacity(this.options.opacity), e.fire("tooltipopen", { tooltip: this }), this._source && (this.addEventParent(this._source), this._source.fire("tooltipopen", { tooltip: this }, !0));
3304
- },
3305
- onRemove: function(e) {
3306
- $.prototype.onRemove.call(this, e), e.fire("tooltipclose", { tooltip: this }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", { tooltip: this }, !0));
3307
- },
3308
- getEvents: function() {
3309
- var e = $.prototype.getEvents.call(this);
3310
- return this.options.permanent || (e.preclick = this.close), e;
3311
- },
3312
- _initLayout: function() {
3313
- var e = "leaflet-tooltip " + (this.options.className || "") + " leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide");
3314
- this._contentNode = this._container = F("div", e), this._container.setAttribute("role", "tooltip"), this._container.setAttribute("id", "leaflet-tooltip-" + o(this));
3315
- },
3316
- _updateLayout: function() {},
3317
- _adjustPan: function() {},
3318
- _setPosition: function(e) {
3319
- var t, n, r = this._map, i = this._container, a = r.latLngToContainerPoint(r.getCenter()), o = r.layerPointToContainerPoint(e), s = this.options.direction, c = i.offsetWidth, l = i.offsetHeight, u = C(this.options.offset), d = this._getAnchor();
3320
- s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(C(t, n, !0)).add(u).add(d), z(i, "leaflet-tooltip-right"), z(i, "leaflet-tooltip-left"), z(i, "leaflet-tooltip-top"), z(i, "leaflet-tooltip-bottom"), R(i, "leaflet-tooltip-" + s), V(i, e);
3321
- },
3322
- _updatePosition: function() {
3323
- var e = this._map.latLngToLayerPoint(this._latlng);
3324
- this._setPosition(e);
3325
- },
3326
- setOpacity: function(e) {
3327
- this.options.opacity = e, this._container && B(this._container, e);
3328
- },
3329
- _animateZoom: function(e) {
3330
- var t = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center);
3331
- this._setPosition(t);
3332
- },
3333
- _getAnchor: function() {
3334
- return C(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
3335
- }
3336
- }), Mr = function(e, t) {
3337
- return new jr(e, t);
3338
- };
3339
- K.include({
3340
- openTooltip: function(e, t, n) {
3341
- return this._initOverlay(jr, e, t, n).openOn(this), this;
3342
- },
3343
- closeTooltip: function(e) {
3344
- return e.close(), this;
3345
- }
3346
- }), X.include({
3347
- bindTooltip: function(e, t) {
3348
- return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(jr, this._tooltip, e, t), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;
3349
- },
3350
- unbindTooltip: function() {
3351
- return this._tooltip &&= (this._initTooltipInteractions(!0), this.closeTooltip(), null), this;
3352
- },
3353
- _initTooltipInteractions: function(e) {
3354
- if (e || !this._tooltipHandlersAdded) {
3355
- var t = e ? "off" : "on", n = {
3356
- remove: this.closeTooltip,
3357
- move: this._moveTooltip
3358
- };
3359
- this._tooltip.options.permanent ? n.add = this._openTooltip : (n.mouseover = this._openTooltip, n.mouseout = this.closeTooltip, n.click = this._openTooltip, this._map ? this._addFocusListeners() : n.add = this._addFocusListeners), this._tooltip.options.sticky && (n.mousemove = this._moveTooltip), this[t](n), this._tooltipHandlersAdded = !e;
3360
- }
3361
- },
3362
- openTooltip: function(e) {
3363
- return this._tooltip && (this instanceof Z || (this._tooltip._source = this), this._tooltip._prepareOpen(e) && (this._tooltip.openOn(this._map), this.getElement ? this._setAriaDescribedByOnLayer(this) : this.eachLayer && this.eachLayer(this._setAriaDescribedByOnLayer, this))), this;
3364
- },
3365
- closeTooltip: function() {
3366
- if (this._tooltip) return this._tooltip.close();
3367
- },
3368
- toggleTooltip: function() {
3369
- return this._tooltip && this._tooltip.toggle(this), this;
3370
- },
3371
- isTooltipOpen: function() {
3372
- return this._tooltip.isOpen();
3373
- },
3374
- setTooltipContent: function(e) {
3375
- return this._tooltip && this._tooltip.setContent(e), this;
3376
- },
3377
- getTooltip: function() {
3378
- return this._tooltip;
3379
- },
3380
- _addFocusListeners: function() {
3381
- this.getElement ? this._addFocusListenersOnLayer(this) : this.eachLayer && this.eachLayer(this._addFocusListenersOnLayer, this);
3382
- },
3383
- _addFocusListenersOnLayer: function(e) {
3384
- var t = typeof e.getElement == "function" && e.getElement();
3385
- t && (H(t, "focus", function() {
3386
- this._tooltip._source = e, this.openTooltip();
3387
- }, this), H(t, "blur", this.closeTooltip, this));
3388
- },
3389
- _setAriaDescribedByOnLayer: function(e) {
3390
- var t = typeof e.getElement == "function" && e.getElement();
3391
- t && t.setAttribute("aria-describedby", this._tooltip._container.id);
3392
- },
3393
- _openTooltip: function(e) {
3394
- if (this._tooltip && this._map) {
3395
- if (this._map.dragging && this._map.dragging.moving() && !this._openOnceFlag) {
3396
- this._openOnceFlag = !0;
3397
- var t = this;
3398
- this._map.once("moveend", function() {
3399
- t._openOnceFlag = !1, t._openTooltip(e);
3400
- });
3401
- } else this._tooltip._source = e.layer || e.target, this.openTooltip(this._tooltip.options.sticky ? e.latlng : void 0);
3402
- }
3403
- },
3404
- _moveTooltip: function(e) {
3405
- var t = e.latlng, n, r;
3406
- this._tooltip.options.sticky && e.originalEvent && (n = this._map.mouseEventToContainerPoint(e.originalEvent), r = this._map.containerPointToLayerPoint(n), t = this._map.layerPointToLatLng(r)), this._tooltip.setLatLng(t);
3407
- }
3408
- });
3409
- var Nr = Zn.extend({
3410
- options: {
3411
- iconSize: [12, 12],
3412
- html: !1,
3413
- bgPos: null,
3414
- className: "leaflet-div-icon"
3415
- },
3416
- createIcon: function(e) {
3417
- var t = e && e.tagName === "DIV" ? e : document.createElement("div"), n = this.options;
3418
- if (n.html instanceof Element ? (Et(t), t.appendChild(n.html)) : t.innerHTML = n.html === !1 ? "" : n.html, n.bgPos) {
3419
- var r = C(n.bgPos);
3420
- t.style.backgroundPosition = -r.x + "px " + -r.y + "px";
3421
- }
3422
- return this._setIconStyles(t, "icon"), t;
3423
- },
3424
- createShadow: function() {
3425
- return null;
3426
- }
3427
- });
3428
- function Pr(e) {
3429
- return new Nr(e);
3430
- }
3431
- Zn.Default = $n;
3432
- var Fr = X.extend({
3433
- options: {
3434
- tileSize: 256,
3435
- opacity: 1,
3436
- updateWhenIdle: P.mobile,
3437
- updateWhenZooming: !0,
3438
- updateInterval: 200,
3439
- zIndex: 1,
3440
- bounds: null,
3441
- minZoom: 0,
3442
- maxZoom: void 0,
3443
- maxNativeZoom: void 0,
3444
- minNativeZoom: void 0,
3445
- noWrap: !1,
3446
- pane: "tilePane",
3447
- className: "",
3448
- keepBuffer: 2
3449
- },
3450
- initialize: function(e) {
3451
- p(this, e);
3452
- },
3453
- onAdd: function() {
3454
- this._initContainer(), this._levels = {}, this._tiles = {}, this._resetView();
3455
- },
3456
- beforeAdd: function(e) {
3457
- e._addZoomLimit(this);
3458
- },
3459
- onRemove: function(e) {
3460
- this._removeAllTiles(), I(this._container), e._removeZoomLimit(this), this._container = null, this._tileZoom = void 0;
3461
- },
3462
- bringToFront: function() {
3463
- return this._map && (Dt(this._container), this._setAutoZIndex(Math.max)), this;
3464
- },
3465
- bringToBack: function() {
3466
- return this._map && (Ot(this._container), this._setAutoZIndex(Math.min)), this;
3467
- },
3468
- getContainer: function() {
3469
- return this._container;
3470
- },
3471
- setOpacity: function(e) {
3472
- return this.options.opacity = e, this._updateOpacity(), this;
3473
- },
3474
- setZIndex: function(e) {
3475
- return this.options.zIndex = e, this._updateZIndex(), this;
3476
- },
3477
- isLoading: function() {
3478
- return this._loading;
3479
- },
3480
- redraw: function() {
3481
- if (this._map) {
3482
- this._removeAllTiles();
3483
- var e = this._clampZoom(this._map.getZoom());
3484
- e !== this._tileZoom && (this._tileZoom = e, this._updateLevels()), this._update();
3485
- }
3486
- return this;
3487
- },
3488
- getEvents: function() {
3489
- var e = {
3490
- viewprereset: this._invalidateAll,
3491
- viewreset: this._resetView,
3492
- zoom: this._resetView,
3493
- moveend: this._onMoveEnd
3494
- };
3495
- return this.options.updateWhenIdle || (this._onMove ||= s(this._onMoveEnd, this.options.updateInterval, this), e.move = this._onMove), this._zoomAnimated && (e.zoomanim = this._animateZoom), e;
3496
- },
3497
- createTile: function() {
3498
- return document.createElement("div");
3499
- },
3500
- getTileSize: function() {
3501
- var e = this.options.tileSize;
3502
- return e instanceof S ? e : new S(e, e);
3503
- },
3504
- _updateZIndex: function() {
3505
- this._container && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._container.style.zIndex = this.options.zIndex);
3506
- },
3507
- _setAutoZIndex: function(e) {
3508
- for (var t = this.getPane().children, n = -e(-Infinity, Infinity), r = 0, i = t.length, a; r < i; r++) a = t[r].style.zIndex, t[r] !== this._container && a && (n = e(n, +a));
3509
- isFinite(n) && (this.options.zIndex = n + e(-1, 1), this._updateZIndex());
3510
- },
3511
- _updateOpacity: function() {
3512
- if (this._map && !P.ielt9) {
3513
- B(this._container, this.options.opacity);
3514
- var e = +/* @__PURE__ */ new Date(), t = !1, n = !1;
3515
- for (var r in this._tiles) {
3516
- var i = this._tiles[r];
3517
- if (i.current && i.loaded) {
3518
- var a = Math.min(1, (e - i.loaded) / 200);
3519
- B(i.el, a), a < 1 ? t = !0 : (i.active ? n = !0 : this._onOpaqueTile(i), i.active = !0);
3520
- }
3521
- }
3522
- n && !this._noPrune && this._pruneTiles(), t && (y(this._fadeFrame), this._fadeFrame = v(this._updateOpacity, this));
3523
- }
3524
- },
3525
- _onOpaqueTile: l,
3526
- _initContainer: function() {
3527
- this._container || (this._container = F("div", "leaflet-layer " + (this.options.className || "")), this._updateZIndex(), this.options.opacity < 1 && this._updateOpacity(), this.getPane().appendChild(this._container));
3528
- },
3529
- _updateLevels: function() {
3530
- var e = this._tileZoom, t = this.options.maxZoom;
3531
- if (e !== void 0) {
3532
- for (var n in this._levels) n = Number(n), this._levels[n].el.children.length || n === e ? (this._levels[n].el.style.zIndex = t - Math.abs(e - n), this._onUpdateLevel(n)) : (I(this._levels[n].el), this._removeTilesAtZoom(n), this._onRemoveLevel(n), delete this._levels[n]);
3533
- var r = this._levels[e], i = this._map;
3534
- return r || (r = this._levels[e] = {}, r.el = F("div", "leaflet-tile-container leaflet-zoom-animated", this._container), r.el.style.zIndex = t, r.origin = i.project(i.unproject(i.getPixelOrigin()), e).round(), r.zoom = e, this._setZoomTransform(r, i.getCenter(), i.getZoom()), r.el.offsetWidth, this._onCreateLevel(r)), this._level = r, r;
3535
- }
3536
- },
3537
- _onUpdateLevel: l,
3538
- _onRemoveLevel: l,
3539
- _onCreateLevel: l,
3540
- _pruneTiles: function() {
3541
- if (this._map) {
3542
- var e, t, n = this._map.getZoom();
3543
- if (n > this.options.maxZoom || n < this.options.minZoom) this._removeAllTiles();
3544
- else {
3545
- for (e in this._tiles) t = this._tiles[e], t.retain = t.current;
3546
- for (e in this._tiles) if (t = this._tiles[e], t.current && !t.active) {
3547
- var r = t.coords;
3548
- this._retainParent(r.x, r.y, r.z, r.z - 5) || this._retainChildren(r.x, r.y, r.z, r.z + 2);
3549
- }
3550
- for (e in this._tiles) this._tiles[e].retain || this._removeTile(e);
3551
- }
3552
- }
3553
- },
3554
- _removeTilesAtZoom: function(e) {
3555
- for (var t in this._tiles) this._tiles[t].coords.z === e && this._removeTile(t);
3556
- },
3557
- _removeAllTiles: function() {
3558
- for (var e in this._tiles) this._removeTile(e);
3559
- },
3560
- _invalidateAll: function() {
3561
- for (var e in this._levels) I(this._levels[e].el), this._onRemoveLevel(Number(e)), delete this._levels[e];
3562
- this._removeAllTiles(), this._tileZoom = void 0;
3563
- },
3564
- _retainParent: function(e, t, n, r) {
3565
- var i = Math.floor(e / 2), a = Math.floor(t / 2), o = n - 1, s = new S(+i, +a);
3566
- s.z = +o;
3567
- var c = this._tileCoordsToKey(s), l = this._tiles[c];
3568
- return l && l.active ? (l.retain = !0, !0) : (l && l.loaded && (l.retain = !0), o > r && this._retainParent(i, a, o, r));
3569
- },
3570
- _retainChildren: function(e, t, n, r) {
3571
- for (var i = 2 * e; i < 2 * e + 2; i++) for (var a = 2 * t; a < 2 * t + 2; a++) {
3572
- var o = new S(i, a);
3573
- o.z = n + 1;
3574
- var s = this._tileCoordsToKey(o), c = this._tiles[s];
3575
- c && c.active ? c.retain = !0 : (c && c.loaded && (c.retain = !0), n + 1 < r && this._retainChildren(i, a, n + 1, r));
3576
- }
3577
- },
3578
- _resetView: function(e) {
3579
- var t = e && (e.pinch || e.flyTo);
3580
- this._setView(this._map.getCenter(), this._map.getZoom(), t, t);
3581
- },
3582
- _animateZoom: function(e) {
3583
- this._setView(e.center, e.zoom, !0, e.noUpdate);
3584
- },
3585
- _clampZoom: function(e) {
3586
- var t = this.options;
3587
- return t.minNativeZoom !== void 0 && e < t.minNativeZoom ? t.minNativeZoom : t.maxNativeZoom !== void 0 && t.maxNativeZoom < e ? t.maxNativeZoom : e;
3588
- },
3589
- _setView: function(e, t, n, r) {
3590
- var i = Math.round(t);
3591
- i = this.options.maxZoom !== void 0 && i > this.options.maxZoom || this.options.minZoom !== void 0 && i < this.options.minZoom ? void 0 : this._clampZoom(i);
3592
- var a = this.options.updateWhenZooming && i !== this._tileZoom;
3593
- (!r || a) && (this._tileZoom = i, this._abortLoading && this._abortLoading(), this._updateLevels(), this._resetGrid(), i !== void 0 && this._update(e), n || this._pruneTiles(), this._noPrune = !!n), this._setZoomTransforms(e, t);
3594
- },
3595
- _setZoomTransforms: function(e, t) {
3596
- for (var n in this._levels) this._setZoomTransform(this._levels[n], e, t);
3597
- },
3598
- _setZoomTransform: function(e, t, n) {
3599
- var r = this._map.getZoomScale(n, e.zoom), i = e.origin.multiplyBy(r).subtract(this._map._getNewPixelOrigin(t, n)).round();
3600
- P.any3d ? Pt(e.el, i, r) : V(e.el, i);
3601
- },
3602
- _resetGrid: function() {
3603
- var e = this._map, t = e.options.crs, n = this._tileSize = this.getTileSize(), r = this._tileZoom, i = this._map.getPixelWorldBounds(this._tileZoom);
3604
- i && (this._globalTileRange = this._pxBoundsToTileRange(i)), this._wrapX = t.wrapLng && !this.options.noWrap && [Math.floor(e.project([0, t.wrapLng[0]], r).x / n.x), Math.ceil(e.project([0, t.wrapLng[1]], r).x / n.y)], this._wrapY = t.wrapLat && !this.options.noWrap && [Math.floor(e.project([t.wrapLat[0], 0], r).y / n.x), Math.ceil(e.project([t.wrapLat[1], 0], r).y / n.y)];
3605
- },
3606
- _onMoveEnd: function() {
3607
- this._map && !this._map._animatingZoom && this._update();
3608
- },
3609
- _getTiledPixelBounds: function(e) {
3610
- var t = this._map, n = t._animatingZoom ? Math.max(t._animateToZoom, t.getZoom()) : t.getZoom(), r = t.getZoomScale(n, this._tileZoom), i = t.project(e, this._tileZoom).floor(), a = t.getSize().divideBy(r * 2);
3611
- return new w(i.subtract(a), i.add(a));
3612
- },
3613
- _update: function(e) {
3614
- var t = this._map;
3615
- if (t) {
3616
- var n = this._clampZoom(t.getZoom());
3617
- if (e === void 0 && (e = t.getCenter()), this._tileZoom !== void 0) {
3618
- var r = this._getTiledPixelBounds(e), i = this._pxBoundsToTileRange(r), a = i.getCenter(), o = [], s = this.options.keepBuffer, c = new w(i.getBottomLeft().subtract([s, -s]), i.getTopRight().add([s, -s]));
3619
- if (!(isFinite(i.min.x) && isFinite(i.min.y) && isFinite(i.max.x) && isFinite(i.max.y))) throw Error("Attempted to load an infinite number of tiles");
3620
- for (var l in this._tiles) {
3621
- var u = this._tiles[l].coords;
3622
- (u.z !== this._tileZoom || !c.contains(new S(u.x, u.y))) && (this._tiles[l].current = !1);
3623
- }
3624
- if (Math.abs(n - this._tileZoom) > 1) this._setView(e, n);
3625
- else {
3626
- for (var d = i.min.y; d <= i.max.y; d++) for (var f = i.min.x; f <= i.max.x; f++) {
3627
- var p = new S(f, d);
3628
- if (p.z = this._tileZoom, this._isValidTile(p)) {
3629
- var m = this._tiles[this._tileCoordsToKey(p)];
3630
- m ? m.current = !0 : o.push(p);
3631
- }
3632
- }
3633
- if (o.sort(function(e, t) {
3634
- return e.distanceTo(a) - t.distanceTo(a);
3635
- }), o.length !== 0) {
3636
- this._loading || (this._loading = !0, this.fire("loading"));
3637
- var h = document.createDocumentFragment();
3638
- for (f = 0; f < o.length; f++) this._addTile(o[f], h);
3639
- this._level.el.appendChild(h);
3640
- }
3641
- }
3642
- }
3643
- }
3644
- },
3645
- _isValidTile: function(e) {
3646
- var t = this._map.options.crs;
3647
- if (!t.infinite) {
3648
- var n = this._globalTileRange;
3649
- if (!t.wrapLng && (e.x < n.min.x || e.x > n.max.x) || !t.wrapLat && (e.y < n.min.y || e.y > n.max.y)) return !1;
3650
- }
3651
- if (!this.options.bounds) return !0;
3652
- var r = this._tileCoordsToBounds(e);
3653
- return D(this.options.bounds).overlaps(r);
3654
- },
3655
- _keyToBounds: function(e) {
3656
- return this._tileCoordsToBounds(this._keyToTileCoords(e));
3657
- },
3658
- _tileCoordsToNwSe: function(e) {
3659
- var t = this._map, n = this.getTileSize(), r = e.scaleBy(n), i = r.add(n);
3660
- return [t.unproject(r, e.z), t.unproject(i, e.z)];
3661
- },
3662
- _tileCoordsToBounds: function(e) {
3663
- var t = this._tileCoordsToNwSe(e), n = new E(t[0], t[1]);
3664
- return this.options.noWrap || (n = this._map.wrapLatLngBounds(n)), n;
3665
- },
3666
- _tileCoordsToKey: function(e) {
3667
- return e.x + ":" + e.y + ":" + e.z;
3668
- },
3669
- _keyToTileCoords: function(e) {
3670
- var t = e.split(":"), n = new S(+t[0], +t[1]);
3671
- return n.z = +t[2], n;
3672
- },
3673
- _removeTile: function(e) {
3674
- var t = this._tiles[e];
3675
- t && (I(t.el), delete this._tiles[e], this.fire("tileunload", {
3676
- tile: t.el,
3677
- coords: this._keyToTileCoords(e)
3678
- }));
3679
- },
3680
- _initTile: function(e) {
3681
- R(e, "leaflet-tile");
3682
- var t = this.getTileSize();
3683
- e.style.width = t.x + "px", e.style.height = t.y + "px", e.onselectstart = l, e.onmousemove = l, P.ielt9 && this.options.opacity < 1 && B(e, this.options.opacity);
3684
- },
3685
- _addTile: function(e, t) {
3686
- var n = this._getTilePos(e), r = this._tileCoordsToKey(e), a = this.createTile(this._wrapCoords(e), i(this._tileReady, this, e));
3687
- this._initTile(a), this.createTile.length < 2 && v(i(this._tileReady, this, e, null, a)), V(a, n), this._tiles[r] = {
3688
- el: a,
3689
- coords: e,
3690
- current: !0
3691
- }, t.appendChild(a), this.fire("tileloadstart", {
3692
- tile: a,
3693
- coords: e
3694
- });
3695
- },
3696
- _tileReady: function(e, t, n) {
3697
- t && this.fire("tileerror", {
3698
- error: t,
3699
- tile: n,
3700
- coords: e
3701
- });
3702
- var r = this._tileCoordsToKey(e);
3703
- n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (B(n.el, 0), y(this._fadeFrame), this._fadeFrame = v(this._updateOpacity, this)) : (n.active = !0, this._pruneTiles()), t || (R(n.el, "leaflet-tile-loaded"), this.fire("tileload", {
3704
- tile: n.el,
3705
- coords: e
3706
- })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), P.ielt9 || !this._map._fadeAnimated ? v(this._pruneTiles, this) : setTimeout(i(this._pruneTiles, this), 250)));
3707
- },
3708
- _getTilePos: function(e) {
3709
- return e.scaleBy(this.getTileSize()).subtract(this._level.origin);
3710
- },
3711
- _wrapCoords: function(e) {
3712
- var t = new S(this._wrapX ? c(e.x, this._wrapX) : e.x, this._wrapY ? c(e.y, this._wrapY) : e.y);
3713
- return t.z = e.z, t;
3714
- },
3715
- _pxBoundsToTileRange: function(e) {
3716
- var t = this.getTileSize();
3717
- return new w(e.min.unscaleBy(t).floor(), e.max.unscaleBy(t).ceil().subtract([1, 1]));
3718
- },
3719
- _noTilesToLoad: function() {
3720
- for (var e in this._tiles) if (!this._tiles[e].loaded) return !1;
3721
- return !0;
3722
- }
3723
- });
3724
- function Ir(e) {
3725
- return new Fr(e);
3726
- }
3727
- var Lr = Fr.extend({
3728
- options: {
3729
- minZoom: 0,
3730
- maxZoom: 18,
3731
- subdomains: "abc",
3732
- errorTileUrl: "",
3733
- zoomOffset: 0,
3734
- tms: !1,
3735
- zoomReverse: !1,
3736
- detectRetina: !1,
3737
- crossOrigin: !1,
3738
- referrerPolicy: !1
3739
- },
3740
- initialize: function(e, t) {
3741
- this._url = e, t = p(this, t), t.detectRetina && P.retina && t.maxZoom > 0 ? (t.tileSize = Math.floor(t.tileSize / 2), t.zoomReverse ? (t.zoomOffset--, t.minZoom = Math.min(t.maxZoom, t.minZoom + 1)) : (t.zoomOffset++, t.maxZoom = Math.max(t.minZoom, t.maxZoom - 1)), t.minZoom = Math.max(0, t.minZoom)) : t.zoomReverse ? t.minZoom = Math.min(t.maxZoom, t.minZoom) : t.maxZoom = Math.max(t.minZoom, t.maxZoom), typeof t.subdomains == "string" && (t.subdomains = t.subdomains.split("")), this.on("tileunload", this._onTileRemove);
3742
- },
3743
- setUrl: function(e, t) {
3744
- return this._url === e && t === void 0 && (t = !0), this._url = e, t || this.redraw(), this;
3745
- },
3746
- createTile: function(e, t) {
3747
- var n = document.createElement("img");
3748
- return H(n, "load", i(this._tileOnLoad, this, t, n)), H(n, "error", i(this._tileOnError, this, t, n)), (this.options.crossOrigin || this.options.crossOrigin === "") && (n.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), typeof this.options.referrerPolicy == "string" && (n.referrerPolicy = this.options.referrerPolicy), n.alt = "", n.src = this.getTileUrl(e), n;
3749
- },
3750
- getTileUrl: function(e) {
3751
- var t = {
3752
- r: P.retina ? "@2x" : "",
3753
- s: this._getSubdomain(e),
3754
- x: e.x,
3755
- y: e.y,
3756
- z: this._getZoomForUrl()
3757
- };
3758
- if (this._map && !this._map.options.crs.infinite) {
3759
- var r = this._globalTileRange.max.y - e.y;
3760
- this.options.tms && (t.y = r), t["-y"] = r;
3761
- }
3762
- return g(this._url, n(t, this.options));
3763
- },
3764
- _tileOnLoad: function(e, t) {
3765
- P.ielt9 ? setTimeout(i(e, this, null, t), 0) : e(null, t);
3766
- },
3767
- _tileOnError: function(e, t, n) {
3768
- var r = this.options.errorTileUrl;
3769
- r && t.getAttribute("src") !== r && (t.src = r), e(n, t);
3770
- },
3771
- _onTileRemove: function(e) {
3772
- e.tile.onload = null;
3773
- },
3774
- _getZoomForUrl: function() {
3775
- var e = this._tileZoom, t = this.options.maxZoom, n = this.options.zoomReverse, r = this.options.zoomOffset;
3776
- return n && (e = t - e), e + r;
3777
- },
3778
- _getSubdomain: function(e) {
3779
- var t = Math.abs(e.x + e.y) % this.options.subdomains.length;
3780
- return this.options.subdomains[t];
3781
- },
3782
- _abortLoading: function() {
3783
- var e, t;
3784
- for (e in this._tiles) if (this._tiles[e].coords.z !== this._tileZoom && (t = this._tiles[e].el, t.onload = l, t.onerror = l, !t.complete)) {
3785
- t.src = te;
3786
- var n = this._tiles[e].coords;
3787
- I(t), delete this._tiles[e], this.fire("tileabort", {
3788
- tile: t,
3789
- coords: n
3790
- });
3791
- }
3792
- },
3793
- _removeTile: function(e) {
3794
- var t = this._tiles[e];
3795
- if (t) return t.el.setAttribute("src", te), Fr.prototype._removeTile.call(this, e);
3796
- },
3797
- _tileReady: function(e, t, n) {
3798
- if (!(!this._map || n && n.getAttribute("src") === te)) return Fr.prototype._tileReady.call(this, e, t, n);
3799
- }
3800
- });
3801
- function Rr(e, t) {
3802
- return new Lr(e, t);
3803
- }
3804
- var zr = Lr.extend({
3805
- defaultWmsParams: {
3806
- service: "WMS",
3807
- request: "GetMap",
3808
- layers: "",
3809
- styles: "",
3810
- format: "image/jpeg",
3811
- transparent: !1,
3812
- version: "1.1.1"
3813
- },
3814
- options: {
3815
- crs: null,
3816
- uppercase: !1
3817
- },
3818
- initialize: function(e, t) {
3819
- this._url = e;
3820
- var r = n({}, this.defaultWmsParams);
3821
- for (var i in t) i in this.options || (r[i] = t[i]);
3822
- t = p(this, t);
3823
- var a = t.detectRetina && P.retina ? 2 : 1, o = this.getTileSize();
3824
- r.width = o.x * a, r.height = o.y * a, this.wmsParams = r;
3825
- },
3826
- onAdd: function(e) {
3827
- this._crs = this.options.crs || e.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
3828
- var t = this._wmsVersion >= 1.3 ? "crs" : "srs";
3829
- this.wmsParams[t] = this._crs.code, Lr.prototype.onAdd.call(this, e);
3830
- },
3831
- getTileUrl: function(e) {
3832
- var t = this._tileCoordsToNwSe(e), n = this._crs, r = T(n.project(t[0]), n.project(t[1])), i = r.min, a = r.max, o = (this._wmsVersion >= 1.3 && this._crs === Kn ? [
3833
- i.y,
3834
- i.x,
3835
- a.y,
3836
- a.x
3837
- ] : [
3838
- i.x,
3839
- i.y,
3840
- a.x,
3841
- a.y
3842
- ]).join(","), s = Lr.prototype.getTileUrl.call(this, e);
3843
- return s + m(this.wmsParams, s, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + o;
3844
- },
3845
- setParams: function(e, t) {
3846
- return n(this.wmsParams, e), t || this.redraw(), this;
3847
- }
3848
- });
3849
- function Br(e, t) {
3850
- return new zr(e, t);
3851
- }
3852
- Lr.WMS = zr, Rr.wms = Br;
3853
- var Vr = X.extend({
3854
- options: { padding: .1 },
3855
- initialize: function(e) {
3856
- p(this, e), o(this), this._layers = this._layers || {};
3857
- },
3858
- onAdd: function() {
3859
- this._container || (this._initContainer(), R(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);
3860
- },
3861
- onRemove: function() {
3862
- this.off("update", this._updatePaths, this), this._destroyContainer();
3863
- },
3864
- getEvents: function() {
3865
- var e = {
3866
- viewreset: this._reset,
3867
- zoom: this._onZoom,
3868
- moveend: this._update,
3869
- zoomend: this._onZoomEnd
3870
- };
3871
- return this._zoomAnimated && (e.zoomanim = this._onAnimZoom), e;
3872
- },
3873
- _onAnimZoom: function(e) {
3874
- this._updateTransform(e.center, e.zoom);
3875
- },
3876
- _onZoom: function() {
3877
- this._updateTransform(this._map.getCenter(), this._map.getZoom());
3878
- },
3879
- _updateTransform: function(e, t) {
3880
- var n = this._map.getZoomScale(t, this._zoom), r = this._map.getSize().multiplyBy(.5 + this.options.padding), i = this._map.project(this._center, t), a = r.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(e, t));
3881
- P.any3d ? Pt(this._container, a, n) : V(this._container, a);
3882
- },
3883
- _reset: function() {
3884
- for (var e in this._update(), this._updateTransform(this._center, this._zoom), this._layers) this._layers[e]._reset();
3885
- },
3886
- _onZoomEnd: function() {
3887
- for (var e in this._layers) this._layers[e]._project();
3888
- },
3889
- _updatePaths: function() {
3890
- for (var e in this._layers) this._layers[e]._update();
3891
- },
3892
- _update: function() {
3893
- var e = this.options.padding, t = this._map.getSize(), n = this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();
3894
- this._bounds = new w(n, n.add(t.multiplyBy(1 + e * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
3895
- }
3896
- }), Hr = Vr.extend({
3897
- options: { tolerance: 0 },
3898
- getEvents: function() {
3899
- var e = Vr.prototype.getEvents.call(this);
3900
- return e.viewprereset = this._onViewPreReset, e;
3901
- },
3902
- _onViewPreReset: function() {
3903
- this._postponeUpdatePaths = !0;
3904
- },
3905
- onAdd: function() {
3906
- Vr.prototype.onAdd.call(this), this._draw();
3907
- },
3908
- _initContainer: function() {
3909
- var e = this._container = document.createElement("canvas");
3910
- H(e, "mousemove", this._onMouseMove, this), H(e, "click dblclick mousedown mouseup contextmenu", this._onClick, this), H(e, "mouseout", this._handleMouseOut, this), e._leaflet_disable_events = !0, this._ctx = e.getContext("2d");
3911
- },
3912
- _destroyContainer: function() {
3913
- y(this._redrawRequest), delete this._ctx, I(this._container), W(this._container), delete this._container;
3914
- },
3915
- _updatePaths: function() {
3916
- if (!this._postponeUpdatePaths) {
3917
- var e;
3918
- for (var t in this._redrawBounds = null, this._layers) e = this._layers[t], e._update();
3919
- this._redraw();
3920
- }
3921
- },
3922
- _update: function() {
3923
- if (!(this._map._animatingZoom && this._bounds)) {
3924
- Vr.prototype._update.call(this);
3925
- var e = this._bounds, t = this._container, n = e.getSize(), r = P.retina ? 2 : 1;
3926
- V(t, e.min), t.width = r * n.x, t.height = r * n.y, t.style.width = n.x + "px", t.style.height = n.y + "px", P.retina && this._ctx.scale(2, 2), this._ctx.translate(-e.min.x, -e.min.y), this.fire("update");
3927
- }
3928
- },
3929
- _reset: function() {
3930
- Vr.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
3931
- },
3932
- _initPath: function(e) {
3933
- this._updateDashArray(e), this._layers[o(e)] = e;
3934
- var t = e._order = {
3935
- layer: e,
3936
- prev: this._drawLast,
3937
- next: null
3938
- };
3939
- this._drawLast && (this._drawLast.next = t), this._drawLast = t, this._drawFirst = this._drawFirst || this._drawLast;
3940
- },
3941
- _addPath: function(e) {
3942
- this._requestRedraw(e);
3943
- },
3944
- _removePath: function(e) {
3945
- var t = e._order, n = t.next, r = t.prev;
3946
- n ? n.prev = r : this._drawLast = r, r ? r.next = n : this._drawFirst = n, delete e._order, delete this._layers[o(e)], this._requestRedraw(e);
3947
- },
3948
- _updatePath: function(e) {
3949
- this._extendRedrawBounds(e), e._project(), e._update(), this._requestRedraw(e);
3950
- },
3951
- _updateStyle: function(e) {
3952
- this._updateDashArray(e), this._requestRedraw(e);
3953
- },
3954
- _updateDashArray: function(e) {
3955
- if (typeof e.options.dashArray == "string") {
3956
- for (var t = e.options.dashArray.split(/[, ]+/), n = [], r, i = 0; i < t.length; i++) {
3957
- if (r = Number(t[i]), isNaN(r)) return;
3958
- n.push(r);
3959
- }
3960
- e.options._dashArray = n;
3961
- } else e.options._dashArray = e.options.dashArray;
3962
- },
3963
- _requestRedraw: function(e) {
3964
- this._map && (this._extendRedrawBounds(e), this._redrawRequest = this._redrawRequest || v(this._redraw, this));
3965
- },
3966
- _extendRedrawBounds: function(e) {
3967
- if (e._pxBounds) {
3968
- var t = (e.options.weight || 0) + 1;
3969
- this._redrawBounds = this._redrawBounds || new w(), this._redrawBounds.extend(e._pxBounds.min.subtract([t, t])), this._redrawBounds.extend(e._pxBounds.max.add([t, t]));
3970
- }
3971
- },
3972
- _redraw: function() {
3973
- this._redrawRequest = null, this._redrawBounds && (this._redrawBounds.min._floor(), this._redrawBounds.max._ceil()), this._clear(), this._draw(), this._redrawBounds = null;
3974
- },
3975
- _clear: function() {
3976
- var e = this._redrawBounds;
3977
- if (e) {
3978
- var t = e.getSize();
3979
- this._ctx.clearRect(e.min.x, e.min.y, t.x, t.y);
3980
- } else this._ctx.save(), this._ctx.setTransform(1, 0, 0, 1, 0, 0), this._ctx.clearRect(0, 0, this._container.width, this._container.height), this._ctx.restore();
3981
- },
3982
- _draw: function() {
3983
- var e, t = this._redrawBounds;
3984
- if (this._ctx.save(), t) {
3985
- var n = t.getSize();
3986
- this._ctx.beginPath(), this._ctx.rect(t.min.x, t.min.y, n.x, n.y), this._ctx.clip();
3987
- }
3988
- this._drawing = !0;
3989
- for (var r = this._drawFirst; r; r = r.next) e = r.layer, (!t || e._pxBounds && e._pxBounds.intersects(t)) && e._updatePath();
3990
- this._drawing = !1, this._ctx.restore();
3991
- },
3992
- _updatePoly: function(e, t) {
3993
- if (this._drawing) {
3994
- var n, r, i, a, o = e._parts, s = o.length, c = this._ctx;
3995
- if (s) {
3996
- for (c.beginPath(), n = 0; n < s; n++) {
3997
- for (r = 0, i = o[n].length; r < i; r++) a = o[n][r], c[r ? "lineTo" : "moveTo"](a.x, a.y);
3998
- t && c.closePath();
3999
- }
4000
- this._fillStroke(c, e);
4001
- }
4002
- }
4003
- },
4004
- _updateCircle: function(e) {
4005
- if (this._drawing && !e._empty()) {
4006
- var t = e._point, n = this._ctx, r = Math.max(Math.round(e._radius), 1), i = (Math.max(Math.round(e._radiusY), 1) || r) / r;
4007
- i !== 1 && (n.save(), n.scale(1, i)), n.beginPath(), n.arc(t.x, t.y / i, r, 0, Math.PI * 2, !1), i !== 1 && n.restore(), this._fillStroke(n, e);
4008
- }
4009
- },
4010
- _fillStroke: function(e, t) {
4011
- var n = t.options;
4012
- n.fill && (e.globalAlpha = n.fillOpacity, e.fillStyle = n.fillColor || n.color, e.fill(n.fillRule || "evenodd")), n.stroke && n.weight !== 0 && (e.setLineDash && e.setLineDash(t.options && t.options._dashArray || []), e.globalAlpha = n.opacity, e.lineWidth = n.weight, e.strokeStyle = n.color, e.lineCap = n.lineCap, e.lineJoin = n.lineJoin, e.stroke());
4013
- },
4014
- _onClick: function(e) {
4015
- for (var t = this._map.mouseEventToLayerPoint(e), n, r, i = this._drawFirst; i; i = i.next) n = i.layer, n.options.interactive && n._containsPoint(t) && (e.type !== "click" && e.type !== "preclick" || !this._map._draggableMoved(n)) && (r = n);
4016
- this._fireEvent(r ? [r] : !1, e);
4017
- },
4018
- _onMouseMove: function(e) {
4019
- if (!(!this._map || this._map.dragging.moving() || this._map._animatingZoom)) {
4020
- var t = this._map.mouseEventToLayerPoint(e);
4021
- this._handleMouseHover(e, t);
4022
- }
4023
- },
4024
- _handleMouseOut: function(e) {
4025
- var t = this._hoveredLayer;
4026
- t && (z(this._container, "leaflet-interactive"), this._fireEvent([t], e, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
4027
- },
4028
- _handleMouseHover: function(e, t) {
4029
- if (!this._mouseHoverThrottled) {
4030
- for (var n, r, a = this._drawFirst; a; a = a.next) n = a.layer, n.options.interactive && n._containsPoint(t) && (r = n);
4031
- r !== this._hoveredLayer && (this._handleMouseOut(e), r && (R(this._container, "leaflet-interactive"), this._fireEvent([r], e, "mouseover"), this._hoveredLayer = r)), this._fireEvent(this._hoveredLayer ? [this._hoveredLayer] : !1, e), this._mouseHoverThrottled = !0, setTimeout(i(function() {
4032
- this._mouseHoverThrottled = !1;
4033
- }, this), 32);
4034
- }
4035
- },
4036
- _fireEvent: function(e, t, n) {
4037
- this._map._fireDOMEvent(t, n || t.type, e);
4038
- },
4039
- _bringToFront: function(e) {
4040
- var t = e._order;
4041
- if (t) {
4042
- var n = t.next, r = t.prev;
4043
- if (n) n.prev = r;
4044
- else return;
4045
- r ? r.next = n : n && (this._drawFirst = n), t.prev = this._drawLast, this._drawLast.next = t, t.next = null, this._drawLast = t, this._requestRedraw(e);
4046
- }
4047
- },
4048
- _bringToBack: function(e) {
4049
- var t = e._order;
4050
- if (t) {
4051
- var n = t.next, r = t.prev;
4052
- if (r) r.next = n;
4053
- else return;
4054
- n ? n.prev = r : r && (this._drawLast = r), t.prev = null, t.next = this._drawFirst, this._drawFirst.prev = t, this._drawFirst = t, this._requestRedraw(e);
4055
- }
4056
- }
4057
- });
4058
- function Ur(e) {
4059
- return P.canvas ? new Hr(e) : null;
4060
- }
4061
- var Wr = (function() {
4062
- try {
4063
- return document.namespaces.add("lvml", "urn:schemas-microsoft-com:vml"), function(e) {
4064
- return document.createElement("<lvml:" + e + " class=\"lvml\">");
4065
- };
4066
- } catch {}
4067
- return function(e) {
4068
- return document.createElement("<" + e + " xmlns=\"urn:schemas-microsoft.com:vml\" class=\"lvml\">");
4069
- };
4070
- })(), Gr = {
4071
- _initContainer: function() {
4072
- this._container = F("div", "leaflet-vml-container");
4073
- },
4074
- _update: function() {
4075
- this._map._animatingZoom || (Vr.prototype._update.call(this), this.fire("update"));
4076
- },
4077
- _initPath: function(e) {
4078
- var t = e._container = Wr("shape");
4079
- R(t, "leaflet-vml-shape " + (this.options.className || "")), t.coordsize = "1 1", e._path = Wr("path"), t.appendChild(e._path), this._updateStyle(e), this._layers[o(e)] = e;
4080
- },
4081
- _addPath: function(e) {
4082
- var t = e._container;
4083
- this._container.appendChild(t), e.options.interactive && e.addInteractiveTarget(t);
4084
- },
4085
- _removePath: function(e) {
4086
- var t = e._container;
4087
- I(t), e.removeInteractiveTarget(t), delete this._layers[o(e)];
4088
- },
4089
- _updateStyle: function(e) {
4090
- var t = e._stroke, n = e._fill, r = e.options, i = e._container;
4091
- i.stroked = !!r.stroke, i.filled = !!r.fill, r.stroke ? (t ||= e._stroke = Wr("stroke"), i.appendChild(t), t.weight = r.weight + "px", t.color = r.color, t.opacity = r.opacity, r.dashArray ? t.dashStyle = _(r.dashArray) ? r.dashArray.join(" ") : r.dashArray.replace(/( *, *)/g, " ") : t.dashStyle = "", t.endcap = r.lineCap.replace("butt", "flat"), t.joinstyle = r.lineJoin) : t && (i.removeChild(t), e._stroke = null), r.fill ? (n ||= e._fill = Wr("fill"), i.appendChild(n), n.color = r.fillColor || r.color, n.opacity = r.fillOpacity) : n && (i.removeChild(n), e._fill = null);
4092
- },
4093
- _updateCircle: function(e) {
4094
- var t = e._point.round(), n = Math.round(e._radius), r = Math.round(e._radiusY || n);
4095
- this._setPath(e, e._empty() ? "M0 0" : "AL " + t.x + "," + t.y + " " + n + "," + r + " 0,23592600");
4096
- },
4097
- _setPath: function(e, t) {
4098
- e._path.v = t;
4099
- },
4100
- _bringToFront: function(e) {
4101
- Dt(e._container);
4102
- },
4103
- _bringToBack: function(e) {
4104
- Ot(e._container);
4105
- }
4106
- }, Kr = P.vml ? Wr : _e, qr = Vr.extend({
4107
- _initContainer: function() {
4108
- this._container = Kr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Kr("g"), this._container.appendChild(this._rootGroup);
4109
- },
4110
- _destroyContainer: function() {
4111
- I(this._container), W(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
4112
- },
4113
- _update: function() {
4114
- if (!(this._map._animatingZoom && this._bounds)) {
4115
- Vr.prototype._update.call(this);
4116
- var e = this._bounds, t = e.getSize(), n = this._container;
4117
- (!this._svgSize || !this._svgSize.equals(t)) && (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)), V(n, e.min), n.setAttribute("viewBox", [
4118
- e.min.x,
4119
- e.min.y,
4120
- t.x,
4121
- t.y
4122
- ].join(" ")), this.fire("update");
4123
- }
4124
- },
4125
- _initPath: function(e) {
4126
- var t = e._path = Kr("path");
4127
- e.options.className && R(t, e.options.className), e.options.interactive && R(t, "leaflet-interactive"), this._updateStyle(e), this._layers[o(e)] = e;
4128
- },
4129
- _addPath: function(e) {
4130
- this._rootGroup || this._initContainer(), this._rootGroup.appendChild(e._path), e.addInteractiveTarget(e._path);
4131
- },
4132
- _removePath: function(e) {
4133
- I(e._path), e.removeInteractiveTarget(e._path), delete this._layers[o(e)];
4134
- },
4135
- _updatePath: function(e) {
4136
- e._project(), e._update();
4137
- },
4138
- _updateStyle: function(e) {
4139
- var t = e._path, n = e.options;
4140
- t && (n.stroke ? (t.setAttribute("stroke", n.color), t.setAttribute("stroke-opacity", n.opacity), t.setAttribute("stroke-width", n.weight), t.setAttribute("stroke-linecap", n.lineCap), t.setAttribute("stroke-linejoin", n.lineJoin), n.dashArray ? t.setAttribute("stroke-dasharray", n.dashArray) : t.removeAttribute("stroke-dasharray"), n.dashOffset ? t.setAttribute("stroke-dashoffset", n.dashOffset) : t.removeAttribute("stroke-dashoffset")) : t.setAttribute("stroke", "none"), n.fill ? (t.setAttribute("fill", n.fillColor || n.color), t.setAttribute("fill-opacity", n.fillOpacity), t.setAttribute("fill-rule", n.fillRule || "evenodd")) : t.setAttribute("fill", "none"));
4141
- },
4142
- _updatePoly: function(e, t) {
4143
- this._setPath(e, ve(e._parts, t));
4144
- },
4145
- _updateCircle: function(e) {
4146
- var t = e._point, n = Math.max(Math.round(e._radius), 1), r = Math.max(Math.round(e._radiusY), 1) || n, i = "a" + n + "," + r + " 0 1,0 ", a = e._empty() ? "M0 0" : "M" + (t.x - n) + "," + t.y + i + n * 2 + ",0 " + i + -n * 2 + ",0 ";
4147
- this._setPath(e, a);
4148
- },
4149
- _setPath: function(e, t) {
4150
- e._path.setAttribute("d", t);
4151
- },
4152
- _bringToFront: function(e) {
4153
- Dt(e._path);
4154
- },
4155
- _bringToBack: function(e) {
4156
- Ot(e._path);
4157
- }
4158
- });
4159
- P.vml && qr.include(Gr);
4160
- function Jr(e) {
4161
- return P.svg || P.vml ? new qr(e) : null;
4162
- }
4163
- K.include({
4164
- getRenderer: function(e) {
4165
- var t = e.options.renderer || this._getPaneRenderer(e.options.pane) || this.options.renderer || this._renderer;
4166
- return t ||= this._renderer = this._createRenderer(), this.hasLayer(t) || this.addLayer(t), t;
4167
- },
4168
- _getPaneRenderer: function(e) {
4169
- if (e === "overlayPane" || e === void 0) return !1;
4170
- var t = this._paneRenderers[e];
4171
- return t === void 0 && (t = this._createRenderer({ pane: e }), this._paneRenderers[e] = t), t;
4172
- },
4173
- _createRenderer: function(e) {
4174
- return this.options.preferCanvas && Ur(e) || Jr(e);
4175
- }
4176
- });
4177
- var Yr = lr.extend({
4178
- initialize: function(e, t) {
4179
- lr.prototype.initialize.call(this, this._boundsToLatLngs(e), t);
4180
- },
4181
- setBounds: function(e) {
4182
- return this.setLatLngs(this._boundsToLatLngs(e));
4183
- },
4184
- _boundsToLatLngs: function(e) {
4185
- return e = D(e), [
4186
- e.getSouthWest(),
4187
- e.getNorthWest(),
4188
- e.getNorthEast(),
4189
- e.getSouthEast()
4190
- ];
4191
- }
4192
- });
4193
- function Xr(e, t) {
4194
- return new Yr(e, t);
4195
- }
4196
- qr.create = Kr, qr.pointsToPath = ve, dr.geometryToLayer = fr, dr.coordsToLatLng = mr, dr.coordsToLatLngs = hr, dr.latLngToCoords = gr, dr.latLngsToCoords = _r, dr.getFeature = vr, dr.asFeature = yr, K.mergeOptions({ boxZoom: !0 });
4197
- var Zr = J.extend({
4198
- initialize: function(e) {
4199
- this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
4200
- },
4201
- addHooks: function() {
4202
- H(this._container, "mousedown", this._onMouseDown, this);
4203
- },
4204
- removeHooks: function() {
4205
- W(this._container, "mousedown", this._onMouseDown, this);
4206
- },
4207
- moved: function() {
4208
- return this._moved;
4209
- },
4210
- _destroy: function() {
4211
- I(this._pane), delete this._pane;
4212
- },
4213
- _resetState: function() {
4214
- this._resetStateTimeout = 0, this._moved = !1;
4215
- },
4216
- _clearDeferredResetState: function() {
4217
- this._resetStateTimeout !== 0 && (clearTimeout(this._resetStateTimeout), this._resetStateTimeout = 0);
4218
- },
4219
- _onMouseDown: function(e) {
4220
- if (!e.shiftKey || e.which !== 1 && e.button !== 1) return !1;
4221
- this._clearDeferredResetState(), this._resetState(), It(), Bt(), this._startPoint = this._map.mouseEventToContainerPoint(e), H(document, {
4222
- contextmenu: nn,
4223
- mousemove: this._onMouseMove,
4224
- mouseup: this._onMouseUp,
4225
- keydown: this._onKeyDown
4226
- }, this);
4227
- },
4228
- _onMouseMove: function(e) {
4229
- this._moved || (this._moved = !0, this._box = F("div", "leaflet-zoom-box", this._container), R(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(e);
4230
- var t = new w(this._point, this._startPoint), n = t.getSize();
4231
- V(this._box, t.min), this._box.style.width = n.x + "px", this._box.style.height = n.y + "px";
4232
- },
4233
- _finish: function() {
4234
- this._moved && (I(this._box), z(this._container, "leaflet-crosshair")), Lt(), Vt(), W(document, {
4235
- contextmenu: nn,
4236
- mousemove: this._onMouseMove,
4237
- mouseup: this._onMouseUp,
4238
- keydown: this._onKeyDown
4239
- }, this);
4240
- },
4241
- _onMouseUp: function(e) {
4242
- if ((e.which === 1 || e.button === 1) && (this._finish(), this._moved)) {
4243
- this._clearDeferredResetState(), this._resetStateTimeout = setTimeout(i(this._resetState, this), 0);
4244
- var t = new E(this._map.containerPointToLatLng(this._startPoint), this._map.containerPointToLatLng(this._point));
4245
- this._map.fitBounds(t).fire("boxzoomend", { boxZoomBounds: t });
4246
- }
4247
- },
4248
- _onKeyDown: function(e) {
4249
- e.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
4250
- }
4251
- });
4252
- K.addInitHook("addHandler", "boxZoom", Zr), K.mergeOptions({ doubleClickZoom: !0 });
4253
- var Qr = J.extend({
4254
- addHooks: function() {
4255
- this._map.on("dblclick", this._onDoubleClick, this);
4256
- },
4257
- removeHooks: function() {
4258
- this._map.off("dblclick", this._onDoubleClick, this);
4259
- },
4260
- _onDoubleClick: function(e) {
4261
- var t = this._map, n = t.getZoom(), r = t.options.zoomDelta, i = e.originalEvent.shiftKey ? n - r : n + r;
4262
- t.options.doubleClickZoom === "center" ? t.setZoom(i) : t.setZoomAround(e.containerPoint, i);
4263
- }
4264
- });
4265
- K.addInitHook("addHandler", "doubleClickZoom", Qr), K.mergeOptions({
4266
- dragging: !0,
4267
- inertia: !0,
4268
- inertiaDeceleration: 3400,
4269
- inertiaMaxSpeed: Infinity,
4270
- easeLinearity: .2,
4271
- worldCopyJump: !1,
4272
- maxBoundsViscosity: 0
4273
- });
4274
- var $r = J.extend({
4275
- addHooks: function() {
4276
- if (!this._draggable) {
4277
- var e = this._map;
4278
- this._draggable = new Sn(e._mapPane, e._container), this._draggable.on({
4279
- dragstart: this._onDragStart,
4280
- drag: this._onDrag,
4281
- dragend: this._onDragEnd
4282
- }, this), this._draggable.on("predrag", this._onPreDragLimit, this), e.options.worldCopyJump && (this._draggable.on("predrag", this._onPreDragWrap, this), e.on("zoomend", this._onZoomEnd, this), e.whenReady(this._onZoomEnd, this));
4283
- }
4284
- R(this._map._container, "leaflet-grab leaflet-touch-drag"), this._draggable.enable(), this._positions = [], this._times = [];
4285
- },
4286
- removeHooks: function() {
4287
- z(this._map._container, "leaflet-grab"), z(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
4288
- },
4289
- moved: function() {
4290
- return this._draggable && this._draggable._moved;
4291
- },
4292
- moving: function() {
4293
- return this._draggable && this._draggable._moving;
4294
- },
4295
- _onDragStart: function() {
4296
- var e = this._map;
4297
- if (e._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {
4298
- var t = D(this._map.options.maxBounds);
4299
- this._offsetLimit = T(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1), this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity));
4300
- } else this._offsetLimit = null;
4301
- e.fire("movestart").fire("dragstart"), e.options.inertia && (this._positions = [], this._times = []);
4302
- },
4303
- _onDrag: function(e) {
4304
- if (this._map.options.inertia) {
4305
- var t = this._lastTime = +/* @__PURE__ */ new Date(), n = this._lastPos = this._draggable._absPos || this._draggable._newPos;
4306
- this._positions.push(n), this._times.push(t), this._prunePositions(t);
4307
- }
4308
- this._map.fire("move", e).fire("drag", e);
4309
- },
4310
- _prunePositions: function(e) {
4311
- for (; this._positions.length > 1 && e - this._times[0] > 50;) this._positions.shift(), this._times.shift();
4312
- },
4313
- _onZoomEnd: function() {
4314
- var e = this._map.getSize().divideBy(2), t = this._map.latLngToLayerPoint([0, 0]);
4315
- this._initialWorldOffset = t.subtract(e).x, this._worldWidth = this._map.getPixelWorldBounds().getSize().x;
4316
- },
4317
- _viscousLimit: function(e, t) {
4318
- return e - (e - t) * this._viscosity;
4319
- },
4320
- _onPreDragLimit: function() {
4321
- if (this._viscosity && this._offsetLimit) {
4322
- var e = this._draggable._newPos.subtract(this._draggable._startPos), t = this._offsetLimit;
4323
- e.x < t.min.x && (e.x = this._viscousLimit(e.x, t.min.x)), e.y < t.min.y && (e.y = this._viscousLimit(e.y, t.min.y)), e.x > t.max.x && (e.x = this._viscousLimit(e.x, t.max.x)), e.y > t.max.y && (e.y = this._viscousLimit(e.y, t.max.y)), this._draggable._newPos = this._draggable._startPos.add(e);
4324
- }
4325
- },
4326
- _onPreDragWrap: function() {
4327
- var e = this._worldWidth, t = Math.round(e / 2), n = this._initialWorldOffset, r = this._draggable._newPos.x, i = (r - t + n) % e + t - n, a = (r + t + n) % e - t - n, o = Math.abs(i + n) < Math.abs(a + n) ? i : a;
4328
- this._draggable._absPos = this._draggable._newPos.clone(), this._draggable._newPos.x = o;
4329
- },
4330
- _onDragEnd: function(e) {
4331
- var t = this._map, n = t.options, r = !n.inertia || e.noInertia || this._times.length < 2;
4332
- if (t.fire("dragend", e), r) t.fire("moveend");
4333
- else {
4334
- this._prunePositions(+/* @__PURE__ */ new Date());
4335
- var i = this._lastPos.subtract(this._positions[0]), a = (this._lastTime - this._times[0]) / 1e3, o = n.easeLinearity, s = i.multiplyBy(o / a), c = s.distanceTo([0, 0]), l = Math.min(n.inertiaMaxSpeed, c), u = s.multiplyBy(l / c), d = l / (n.inertiaDeceleration * o), f = u.multiplyBy(-d / 2).round();
4336
- !f.x && !f.y ? t.fire("moveend") : (f = t._limitOffset(f, t.options.maxBounds), v(function() {
4337
- t.panBy(f, {
4338
- duration: d,
4339
- easeLinearity: o,
4340
- noMoveStart: !0,
4341
- animate: !0
4342
- });
4343
- }));
4344
- }
4345
- }
4346
- });
4347
- K.addInitHook("addHandler", "dragging", $r), K.mergeOptions({
4348
- keyboard: !0,
4349
- keyboardPanDelta: 80
4350
- });
4351
- var ei = J.extend({
4352
- keyCodes: {
4353
- left: [37],
4354
- right: [39],
4355
- down: [40],
4356
- up: [38],
4357
- zoomIn: [
4358
- 187,
4359
- 107,
4360
- 61,
4361
- 171
4362
- ],
4363
- zoomOut: [
4364
- 189,
4365
- 109,
4366
- 54,
4367
- 173
4368
- ]
4369
- },
4370
- initialize: function(e) {
4371
- this._map = e, this._setPanDelta(e.options.keyboardPanDelta), this._setZoomDelta(e.options.zoomDelta);
4372
- },
4373
- addHooks: function() {
4374
- var e = this._map._container;
4375
- e.tabIndex <= 0 && (e.tabIndex = "0"), H(e, {
4376
- focus: this._onFocus,
4377
- blur: this._onBlur,
4378
- mousedown: this._onMouseDown
4379
- }, this), this._map.on({
4380
- focus: this._addHooks,
4381
- blur: this._removeHooks
4382
- }, this);
4383
- },
4384
- removeHooks: function() {
4385
- this._removeHooks(), W(this._map._container, {
4386
- focus: this._onFocus,
4387
- blur: this._onBlur,
4388
- mousedown: this._onMouseDown
4389
- }, this), this._map.off({
4390
- focus: this._addHooks,
4391
- blur: this._removeHooks
4392
- }, this);
4393
- },
4394
- _onMouseDown: function() {
4395
- if (!this._focused) {
4396
- var e = document.body, t = document.documentElement, n = e.scrollTop || t.scrollTop, r = e.scrollLeft || t.scrollLeft;
4397
- this._map._container.focus(), window.scrollTo(r, n);
4398
- }
4399
- },
4400
- _onFocus: function() {
4401
- this._focused = !0, this._map.fire("focus");
4402
- },
4403
- _onBlur: function() {
4404
- this._focused = !1, this._map.fire("blur");
4405
- },
4406
- _setPanDelta: function(e) {
4407
- for (var t = this._panKeys = {}, n = this.keyCodes, r = 0, i = n.left.length; r < i; r++) t[n.left[r]] = [-1 * e, 0];
4408
- for (r = 0, i = n.right.length; r < i; r++) t[n.right[r]] = [e, 0];
4409
- for (r = 0, i = n.down.length; r < i; r++) t[n.down[r]] = [0, e];
4410
- for (r = 0, i = n.up.length; r < i; r++) t[n.up[r]] = [0, -1 * e];
4411
- },
4412
- _setZoomDelta: function(e) {
4413
- for (var t = this._zoomKeys = {}, n = this.keyCodes, r = 0, i = n.zoomIn.length; r < i; r++) t[n.zoomIn[r]] = e;
4414
- for (r = 0, i = n.zoomOut.length; r < i; r++) t[n.zoomOut[r]] = -e;
4415
- },
4416
- _addHooks: function() {
4417
- H(document, "keydown", this._onKeyDown, this);
4418
- },
4419
- _removeHooks: function() {
4420
- W(document, "keydown", this._onKeyDown, this);
4421
- },
4422
- _onKeyDown: function(e) {
4423
- if (!(e.altKey || e.ctrlKey || e.metaKey)) {
4424
- var t = e.keyCode, n = this._map, r;
4425
- if (t in this._panKeys) {
4426
- if (!n._panAnim || !n._panAnim._inProgress) {
4427
- if (r = this._panKeys[t], e.shiftKey && (r = C(r).multiplyBy(3)), n.options.maxBounds && (r = n._limitOffset(C(r), n.options.maxBounds)), n.options.worldCopyJump) {
4428
- var i = n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(r)));
4429
- n.panTo(i);
4430
- } else n.panBy(r);
4431
- }
4432
- } else if (t in this._zoomKeys) n.setZoom(n.getZoom() + (e.shiftKey ? 3 : 1) * this._zoomKeys[t]);
4433
- else if (t === 27 && n._popup && n._popup.options.closeOnEscapeKey) n.closePopup();
4434
- else return;
4435
- nn(e);
4436
- }
4437
- }
4438
- });
4439
- K.addInitHook("addHandler", "keyboard", ei), K.mergeOptions({
4440
- scrollWheelZoom: !0,
4441
- wheelDebounceTime: 40,
4442
- wheelPxPerZoomLevel: 60
4443
- });
4444
- var ti = J.extend({
4445
- addHooks: function() {
4446
- H(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
4447
- },
4448
- removeHooks: function() {
4449
- W(this._map._container, "wheel", this._onWheelScroll, this);
4450
- },
4451
- _onWheelScroll: function(e) {
4452
- var t = sn(e), n = this._map.options.wheelDebounceTime;
4453
- this._delta += t, this._lastMousePos = this._map.mouseEventToContainerPoint(e), this._startTime ||= +/* @__PURE__ */ new Date();
4454
- var r = Math.max(n - (+/* @__PURE__ */ new Date() - this._startTime), 0);
4455
- clearTimeout(this._timer), this._timer = setTimeout(i(this._performZoom, this), r), nn(e);
4456
- },
4457
- _performZoom: function() {
4458
- var e = this._map, t = e.getZoom(), n = this._map.options.zoomSnap || 0;
4459
- e._stop();
4460
- var r = this._delta / (this._map.options.wheelPxPerZoomLevel * 4), i = 4 * Math.log(2 / (1 + Math.exp(-Math.abs(r)))) / Math.LN2, a = n ? Math.ceil(i / n) * n : i, o = e._limitZoom(t + (this._delta > 0 ? a : -a)) - t;
4461
- this._delta = 0, this._startTime = null, o && (e.options.scrollWheelZoom === "center" ? e.setZoom(t + o) : e.setZoomAround(this._lastMousePos, t + o));
4462
- }
4463
- });
4464
- K.addInitHook("addHandler", "scrollWheelZoom", ti);
4465
- var ni = 600;
4466
- K.mergeOptions({
4467
- tapHold: P.touchNative && P.safari && P.mobile,
4468
- tapTolerance: 15
4469
- });
4470
- var ri = J.extend({
4471
- addHooks: function() {
4472
- H(this._map._container, "touchstart", this._onDown, this);
4473
- },
4474
- removeHooks: function() {
4475
- W(this._map._container, "touchstart", this._onDown, this);
4476
- },
4477
- _onDown: function(e) {
4478
- if (clearTimeout(this._holdTimeout), e.touches.length === 1) {
4479
- var t = e.touches[0];
4480
- this._startPos = this._newPos = new S(t.clientX, t.clientY), this._holdTimeout = setTimeout(i(function() {
4481
- this._cancel(), this._isTapValid() && (H(document, "touchend", G), H(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", t));
4482
- }, this), ni), H(document, "touchend touchcancel contextmenu", this._cancel, this), H(document, "touchmove", this._onMove, this);
4483
- }
4484
- },
4485
- _cancelClickPrevent: function e() {
4486
- W(document, "touchend", G), W(document, "touchend touchcancel", e);
4487
- },
4488
- _cancel: function() {
4489
- clearTimeout(this._holdTimeout), W(document, "touchend touchcancel contextmenu", this._cancel, this), W(document, "touchmove", this._onMove, this);
4490
- },
4491
- _onMove: function(e) {
4492
- var t = e.touches[0];
4493
- this._newPos = new S(t.clientX, t.clientY);
4494
- },
4495
- _isTapValid: function() {
4496
- return this._newPos.distanceTo(this._startPos) <= this._map.options.tapTolerance;
4497
- },
4498
- _simulateEvent: function(e, t) {
4499
- var n = new MouseEvent(e, {
4500
- bubbles: !0,
4501
- cancelable: !0,
4502
- view: window,
4503
- screenX: t.screenX,
4504
- screenY: t.screenY,
4505
- clientX: t.clientX,
4506
- clientY: t.clientY
4507
- });
4508
- n._simulated = !0, t.target.dispatchEvent(n);
4509
- }
4510
- });
4511
- K.addInitHook("addHandler", "tapHold", ri), K.mergeOptions({
4512
- touchZoom: P.touch,
4513
- bounceAtZoomLimits: !0
4514
- });
4515
- var ii = J.extend({
4516
- addHooks: function() {
4517
- R(this._map._container, "leaflet-touch-zoom"), H(this._map._container, "touchstart", this._onTouchStart, this);
4518
- },
4519
- removeHooks: function() {
4520
- z(this._map._container, "leaflet-touch-zoom"), W(this._map._container, "touchstart", this._onTouchStart, this);
4521
- },
4522
- _onTouchStart: function(e) {
4523
- var t = this._map;
4524
- if (!(!e.touches || e.touches.length !== 2 || t._animatingZoom || this._zooming)) {
4525
- var n = t.mouseEventToContainerPoint(e.touches[0]), r = t.mouseEventToContainerPoint(e.touches[1]);
4526
- this._centerPoint = t.getSize()._divideBy(2), this._startLatLng = t.containerPointToLatLng(this._centerPoint), t.options.touchZoom !== "center" && (this._pinchStartLatLng = t.containerPointToLatLng(n.add(r)._divideBy(2))), this._startDist = n.distanceTo(r), this._startZoom = t.getZoom(), this._moved = !1, this._zooming = !0, t._stop(), H(document, "touchmove", this._onTouchMove, this), H(document, "touchend touchcancel", this._onTouchEnd, this), G(e);
4527
- }
4528
- },
4529
- _onTouchMove: function(e) {
4530
- if (e.touches && e.touches.length === 2 && this._zooming) {
4531
- var t = this._map, n = t.mouseEventToContainerPoint(e.touches[0]), r = t.mouseEventToContainerPoint(e.touches[1]), a = n.distanceTo(r) / this._startDist;
4532
- if (this._zoom = t.getScaleZoom(a, this._startZoom), !t.options.bounceAtZoomLimits && (this._zoom < t.getMinZoom() && a < 1 || this._zoom > t.getMaxZoom() && a > 1) && (this._zoom = t._limitZoom(this._zoom)), t.options.touchZoom === "center") {
4533
- if (this._center = this._startLatLng, a === 1) return;
4534
- } else {
4535
- var o = n._add(r)._divideBy(2)._subtract(this._centerPoint);
4536
- if (a === 1 && o.x === 0 && o.y === 0) return;
4537
- this._center = t.unproject(t.project(this._pinchStartLatLng, this._zoom).subtract(o), this._zoom);
4538
- }
4539
- this._moved ||= (t._moveStart(!0, !1), !0), y(this._animRequest);
4540
- var s = i(t._move, t, this._center, this._zoom, {
4541
- pinch: !0,
4542
- round: !1
4543
- }, void 0);
4544
- this._animRequest = v(s, this, !0), G(e);
4545
- }
4546
- },
4547
- _onTouchEnd: function() {
4548
- !this._moved || !this._zooming ? this._zooming = !1 : (this._zooming = !1, y(this._animRequest), W(document, "touchmove", this._onTouchMove, this), W(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom)));
4549
- }
4550
- });
4551
- K.addInitHook("addHandler", "touchZoom", ii), K.BoxZoom = Zr, K.DoubleClickZoom = Qr, K.Drag = $r, K.Keyboard = ei, K.ScrollWheelZoom = ti, K.TapHold = ri, K.TouchZoom = ii, e.Bounds = w, e.Browser = P, e.CRS = A, e.Canvas = Hr, e.Circle = or, e.CircleMarker = ir, e.Class = b, e.Control = q, e.DivIcon = Nr, e.DivOverlay = $, e.DomEvent = ln, e.DomUtil = Jt, e.Draggable = Sn, e.Evented = le, e.FeatureGroup = Z, e.GeoJSON = dr, e.GridLayer = Fr, e.Handler = J, e.Icon = Zn, e.ImageOverlay = Cr, e.LatLng = O, e.LatLngBounds = E, e.Layer = X, e.LayerGroup = Jn, e.LineUtil = Vn, e.Map = K, e.Marker = tr, e.Mixin = bn, e.Path = rr, e.Point = S, e.PolyUtil = En, e.Polygon = lr, e.Polyline = Q, e.Popup = kr, e.PosAnimation = un, e.Projection = Wn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Dr, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = pe, e.Util = se, e.VideoOverlay = Tr, e.bind = i, e.bounds = T, e.canvas = Ur, e.circle = sr, e.circleMarker = ar, e.control = fn, e.divIcon = Pr, e.extend = n, e.featureGroup = Xn, e.geoJSON = xr, e.geoJson = Sr, e.gridLayer = Ir, e.icon = Qn, e.imageOverlay = wr, e.latLng = k, e.latLngBounds = D, e.layerGroup = Yn, e.map = dn, e.marker = nr, e.point = C, e.polygon = ur, e.polyline = cr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Or, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = me, e.version = t, e.videoOverlay = Er;
4552
- var ai = window.L;
4553
- e.noConflict = function() {
4554
- return window.L = ai, this;
4555
- }, window.L = e;
4556
- }));
4557
- })))(), 1), D = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==", O = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=", k = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC";
4558
- //#endregion
4559
- //#region src/composables/useDeviceLocation.ts
4560
- function A() {
4561
- return { getCurrentPosition: async () => new Promise((e, t) => {
4562
- navigator.geolocation ? navigator.geolocation.getCurrentPosition((t) => e({
4563
- latitude: t.coords.latitude,
4564
- longitude: t.coords.longitude
4565
- }), (e) => t(e), {
4566
- enableHighAccuracy: !0,
4567
- timeout: 1e4
4568
- }) : t(/* @__PURE__ */ Error("geolocation unavailable"));
4569
- }) };
4570
- }
4571
- //#endregion
4572
- //#region src/components/CuiAutomation/config/ConfigTriggerGeofence.vue?vue&type=script&setup=true&lang.ts
4573
- var j = { class: "flex flex-col gap-4" }, de = { class: "flex flex-col field-gap" }, fe = { class: "cui-label" }, pe = { class: "flex flex-col field-gap" }, me = { class: "cui-label" }, he = { class: "flex flex-col field-gap" }, ge = { class: "cui-label" }, _e = { class: "flex flex-col field-gap" }, ve = { class: "cui-label" }, ye = { class: "flex flex-col gap-3" }, be = { class: "cui-label" }, xe = { class: "flex flex-col field-gap" }, Se = { class: "cui-label" }, Ce = { class: "flex flex-col field-gap" }, we = { class: "cui-label" }, Te = { class: "flex flex-col field-gap" }, Ee = { class: "cui-label" }, De = {
4574
- key: 0,
4575
- class: "flex flex-col field-gap"
4576
- }, Oe = { class: "cui-label" }, ke = { class: "text-xs text-muted font-medium" }, Ae = {
4577
- key: 1,
4578
- class: "cui-banner cui-banner-warn"
4579
- }, je = /* @__PURE__ */ g({
4580
- __name: "ConfigTriggerGeofence",
4581
- props: { data: {} },
4582
- emits: ["update:data"],
4583
- setup(e, { emit: t }) {
4584
- let h = e, g = t, { t: C } = v(), w = te(), { userOptions: je } = le(), { getCurrentPosition: Me } = A(), Ne = [
4585
- {
4586
- label: C("components.automation_nodes.geofence_event_enter"),
4587
- value: "enter"
4588
- },
4589
- {
4590
- label: C("components.automation_nodes.geofence_event_leave"),
4591
- value: "leave"
4592
- },
4593
- {
4594
- label: C("components.automation_nodes.geofence_event_both"),
4595
- value: "both"
4596
- }
4597
- ], Pe = f("mapContainerRef"), M = null, Fe = null, Ie = null, Le = s(() => `${window.location.origin}/api/automations/location/${h.data.geofenceId || "..."}`), Re = s(() => Object.entries(h.data.geofenceUserSecrets ?? {}));
4598
- function ze() {
4599
- if (!Pe.value) return;
4600
- let e = h.data.latitude || 51.505, t = h.data.longitude || -.09;
4601
- M = E.map(Pe.value).setView([e, t], 15), E.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { attribution: "&copy; OpenStreetMap" }).addTo(M);
4602
- let n = E.icon({
4603
- iconRetinaUrl: D,
4604
- iconUrl: O,
4605
- shadowUrl: k,
4606
- iconSize: [25, 41],
4607
- iconAnchor: [12, 41],
4608
- popupAnchor: [1, -34],
4609
- shadowSize: [41, 41]
4610
- });
4611
- Fe = E.marker([e, t], {
4612
- draggable: !0,
4613
- icon: n
4614
- }).addTo(M), Ie = E.circle([e, t], {
4615
- radius: h.data.radius || 200,
4616
- color: "#3b82f6",
4617
- fillOpacity: .15,
4618
- weight: 2
4619
- }).addTo(M), Fe.on("dragend", () => {
4620
- let e = Fe.getLatLng();
4621
- g("update:data", {
4622
- latitude: e.lat,
4623
- longitude: e.lng
4624
- }), Ie.setLatLng(e);
4625
- });
4626
- }
4627
- function Be(e, t, n) {
4628
- M && (M.setView([e, t], n ?? M.getZoom()), Fe?.setLatLng([e, t]), Ie?.setLatLng([e, t]));
4629
- }
4630
- function Ve(e) {
4631
- e != null && (g("update:data", { latitude: e }), Be(e, h.data.longitude));
4632
- }
4633
- function He(e) {
4634
- e != null && (g("update:data", { longitude: e }), Be(h.data.latitude, e));
4635
- }
4636
- function Ue(e) {
4637
- e != null && (qe("radius", e), Ie?.setRadius(e));
4638
- }
4639
- function We() {
4640
- w.add({
4641
- severity: "error",
4642
- summary: C("components.toast.title_error"),
4643
- detail: C("components.automation_nodes.geofence_location_error"),
4644
- life: 4e3
4645
- });
4646
- }
4647
- async function Ge() {
4648
- try {
4649
- let { latitude: e, longitude: t } = await Me();
4650
- g("update:data", {
4651
- latitude: e,
4652
- longitude: t
4653
- }), Be(e, t, 16);
4654
- } catch {
4655
- We();
4656
- }
4657
- }
4658
- function Ke(e) {
4659
- oe(e);
4660
- }
4661
- function qe(e, t) {
4662
- g("update:data", { [e]: t });
4663
- }
4664
- return l(Pe, (e) => {
4665
- e && !M && ze();
4666
- }), i(() => {
4667
- M?.remove(), M = null, Fe = null, Ie = null;
4668
- }), (t, i) => {
4669
- let s = se, l = T, f = y, h = ce, g = re, te = b, oe = x, v = ee, le = ne, w = ie, E = ae, D = S;
4670
- return r(), u("div", j, [
4671
- p("div", de, [p("label", fe, a(o(C)("components.automation_nodes.geofence_zone_name")), 1), _(s, {
4672
- "model-value": e.data.zoneName,
4673
- placeholder: o(C)("components.automation_nodes.geofence_zone_name_placeholder"),
4674
- class: "w-full",
4675
- "onUpdate:modelValue": i[0] ||= (e) => qe("zoneName", e)
4676
- }, null, 8, ["model-value", "placeholder"])]),
4677
- p("div", pe, [
4678
- p("label", me, a(o(C)("components.automation_nodes.geofence_map_hint")), 1),
4679
- p("div", {
4680
- ref_key: "mapContainerRef",
4681
- ref: Pe,
4682
- class: "rounded-lg overflow-hidden border-[1px] border-color",
4683
- style: { height: "220px" }
4684
- }, null, 512),
4685
- _(f, {
4686
- severity: "secondary",
4687
- outlined: "",
4688
- label: o(C)("components.automation_nodes.geofence_use_my_location"),
4689
- class: "cui-button-small w-full",
4690
- onClick: Ge
4691
- }, {
4692
- icon: c(() => [_(l, { class: "w-4 h-4" })]),
4693
- _: 1
4694
- }, 8, ["label"])
4695
- ]),
4696
- p("div", he, [p("label", ge, a(o(C)("components.automation_nodes.geofence_latitude")), 1), _(h, {
4697
- "model-value": e.data.latitude,
4698
- "min-fraction-digits": 4,
4699
- "max-fraction-digits": 6,
4700
- class: "w-full",
4701
- "onUpdate:modelValue": Ve
4702
- }, null, 8, ["model-value"])]),
4703
- p("div", _e, [p("label", ve, a(o(C)("components.automation_nodes.geofence_longitude")), 1), _(h, {
4704
- "model-value": e.data.longitude,
4705
- "min-fraction-digits": 4,
4706
- "max-fraction-digits": 6,
4707
- class: "w-full",
4708
- "onUpdate:modelValue": He
4709
- }, null, 8, ["model-value"])]),
4710
- p("div", ye, [
4711
- p("label", be, a(o(C)("components.automation_nodes.geofence_radius")), 1),
4712
- _(g, {
4713
- "model-value": e.data.radius || 200,
4714
- min: 50,
4715
- max: 5e3,
4716
- step: 50,
4717
- class: "w-full",
4718
- "onUpdate:modelValue": i[1] ||= (e) => Ue(Array.isArray(e) ? e[0] : e)
4719
- }, null, 8, ["model-value"]),
4720
- _(h, {
4721
- "model-value": e.data.radius || 200,
4722
- min: 50,
4723
- max: 5e3,
4724
- suffix: " m",
4725
- class: "w-full",
4726
- "onUpdate:modelValue": Ue
4727
- }, null, 8, ["model-value"])
4728
- ]),
4729
- p("div", xe, [p("label", Se, a(o(C)("components.automation_nodes.geofence_event")), 1), _(te, {
4730
- "model-value": e.data.event || "both",
4731
- options: Ne,
4732
- "option-label": "label",
4733
- "option-value": "value",
4734
- class: "w-full",
4735
- "onUpdate:modelValue": i[2] ||= (e) => qe("event", e)
4736
- }, null, 8, ["model-value"])]),
4737
- p("div", Ce, [
4738
- p("label", we, a(o(C)("components.automation_nodes.geofence_users")), 1),
4739
- _(oe, {
4740
- "model-value": e.data.users,
4741
- options: o(je),
4742
- "option-label": "label",
4743
- "option-value": "value",
4744
- placeholder: o(C)("components.automation_nodes.geofence_users_placeholder"),
4745
- class: "w-full",
4746
- "onUpdate:modelValue": i[3] ||= (e) => qe("users", e)
4747
- }, null, 8, [
4748
- "model-value",
4749
- "options",
4750
- "placeholder"
4751
- ]),
4752
- _(v, {
4753
- severity: "secondary",
4754
- variant: "simple",
4755
- size: "small",
4756
- class: "cui-input-hint"
4757
- }, {
4758
- default: c(() => [m(a(o(C)("components.automation_nodes.geofence_users_hint")), 1)]),
4759
- _: 1
4760
- })
4761
- ]),
4762
- p("div", Te, [
4763
- p("label", Ee, a(o(C)("components.automation_nodes.geofence_url")), 1),
4764
- _(E, null, {
4765
- default: c(() => [_(s, {
4766
- "model-value": o(Le),
4767
- readonly: "",
4768
- class: "font-mono text-xs"
4769
- }, null, 8, ["model-value"]), _(w, null, {
4770
- default: c(() => [_(le, {
4771
- "action-text": o(C)("components.automation_nodes.webhook_secret_copied"),
4772
- icon: o(ue),
4773
- "button-props": {
4774
- severity: "secondary",
4775
- text: !0
4776
- },
4777
- onAction: i[4] ||= (e) => Ke(o(Le))
4778
- }, null, 8, ["action-text", "icon"])]),
4779
- _: 1
4780
- })]),
4781
- _: 1
4782
- }),
4783
- _(v, {
4784
- severity: "secondary",
4785
- variant: "simple",
4786
- size: "small",
4787
- class: "cui-input-hint"
4788
- }, {
4789
- default: c(() => [m(a(o(C)("components.automation_nodes.geofence_url_hint")), 1)]),
4790
- _: 1
4791
- })
4792
- ]),
4793
- o(Re).length ? (r(), u("div", De, [
4794
- p("label", Oe, a(o(C)("components.automation_nodes.geofence_secret")), 1),
4795
- (r(!0), u(d, null, n(o(Re), ([e, t]) => (r(), u("div", {
4796
- key: e,
4797
- class: "flex flex-col gap-1"
4798
- }, [p("span", ke, a(e), 1), _(E, null, {
4799
- default: c(() => [_(s, {
4800
- "model-value": t,
4801
- readonly: "",
4802
- class: "font-mono text-xs"
4803
- }, null, 8, ["model-value"]), _(w, null, {
4804
- default: c(() => [_(le, {
4805
- "action-text": o(C)("components.automation_nodes.webhook_secret_copied"),
4806
- icon: o(ue),
4807
- "button-props": {
4808
- severity: "secondary",
4809
- text: !0
4810
- },
4811
- onAction: (e) => Ke(t)
4812
- }, null, 8, [
4813
- "action-text",
4814
- "icon",
4815
- "onAction"
4816
- ])]),
4817
- _: 2
4818
- }, 1024)]),
4819
- _: 2
4820
- }, 1024)]))), 128)),
4821
- _(v, {
4822
- severity: "secondary",
4823
- variant: "simple",
4824
- size: "small",
4825
- class: "cui-input-hint"
4826
- }, {
4827
- default: c(() => [m(a(o(C)("components.automation_nodes.geofence_secret_hint")), 1)]),
4828
- _: 1
4829
- })
4830
- ])) : (r(), u("div", Ae, [_(D, { class: "w-5 h-5 shrink-0" }), p("span", null, a(o(C)("components.automation_nodes.geofence_secret_save_hint")), 1)]))
4831
- ]);
4832
- };
4833
- }
4834
- });
4835
- //#endregion
4836
- export { je as default };