@rr0/ufoathome 0.199.0 → 0.201.0

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 (576) hide show
  1. package/dist-embed-interview/InterviewMessages_en-BRmuWrAg.js +1 -0
  2. package/dist-embed-interview/InterviewMessages_es-BTotimwY.js +1 -0
  3. package/dist-embed-interview/InterviewMessages_fr-DBCdGB0r.js +1 -0
  4. package/dist-embed-interview/InterviewMessages_it-B5EyMD-k.js +1 -0
  5. package/dist-embed-interview/rr0-interview.mjs +1 -1
  6. package/dist-embed-scene/{AdsbLolArchiveProvider-BtF4baVw.js → AdsbLolArchiveProvider-C6FJmrLQ.js} +1 -1
  7. package/dist-embed-scene/AirshipEditor-BnRmKeVs.js +16 -0
  8. package/dist-embed-scene/AirshipEditorMessages_en-CFafbbN8.js +1 -0
  9. package/dist-embed-scene/AirshipEditorMessages_es-ht4kFQUD.js +1 -0
  10. package/dist-embed-scene/AirshipEditorMessages_fr-Bhj6QKCL.js +1 -0
  11. package/dist-embed-scene/AirshipEditorMessages_it-Cfl9mFjn.js +1 -0
  12. package/dist-embed-scene/AirshipFlight-C9DSPGwk.js +1 -0
  13. package/dist-embed-scene/AirshipKindMessages_en-DzGapVTV.js +1 -0
  14. package/dist-embed-scene/AirshipKindMessages_es-TE93uMSC.js +1 -0
  15. package/dist-embed-scene/AirshipKindMessages_fr-BTXNsW5W.js +1 -0
  16. package/dist-embed-scene/AirshipKindMessages_it-Cwa3MnJ-.js +1 -0
  17. package/dist-embed-scene/AirshipParameterTexts_en-DZxqhSI3.js +1 -0
  18. package/dist-embed-scene/AirshipParameterTexts_es-BDJUZOmr.js +1 -0
  19. package/dist-embed-scene/AirshipParameterTexts_fr-Cj-D0Xb_.js +1 -0
  20. package/dist-embed-scene/AirshipParameterTexts_it-BhC9cEbs.js +1 -0
  21. package/dist-embed-scene/Aurora-BmVyTP6i.js +1 -0
  22. package/dist-embed-scene/AuroraEditor-CN6BQMUW.js +8 -0
  23. package/dist-embed-scene/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  24. package/dist-embed-scene/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  25. package/dist-embed-scene/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  26. package/dist-embed-scene/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  27. package/dist-embed-scene/AuroraKindMessages_en-D_W4giJa.js +1 -0
  28. package/dist-embed-scene/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  29. package/dist-embed-scene/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  30. package/dist-embed-scene/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  31. package/dist-embed-scene/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  32. package/dist-embed-scene/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  33. package/dist-embed-scene/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  34. package/dist-embed-scene/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  35. package/dist-embed-scene/AuroraSimulation-BZpjImM0.js +152 -0
  36. package/dist-embed-scene/BalloonEditor-BehJs6H-.js +24 -0
  37. package/dist-embed-scene/BalloonEditorMessages_en-B2n2FutN.js +1 -0
  38. package/dist-embed-scene/BalloonEditorMessages_es-BXppdrpF.js +1 -0
  39. package/dist-embed-scene/BalloonEditorMessages_fr-BmUizmQy.js +1 -0
  40. package/dist-embed-scene/BalloonEditorMessages_it-Dx0JODqK.js +1 -0
  41. package/dist-embed-scene/BalloonFlight-BYn4diw1.js +1 -0
  42. package/dist-embed-scene/BalloonKindMessages_en-C6tZ-5gT.js +1 -0
  43. package/dist-embed-scene/BalloonKindMessages_es-BfoEjhe1.js +1 -0
  44. package/dist-embed-scene/BalloonKindMessages_fr-C3QJIuDJ.js +1 -0
  45. package/dist-embed-scene/BalloonKindMessages_it-CkO7mqHp.js +1 -0
  46. package/dist-embed-scene/BalloonParameterTexts_en-CHm_vRVx.js +1 -0
  47. package/dist-embed-scene/BalloonParameterTexts_es-BYaljnsn.js +1 -0
  48. package/dist-embed-scene/BalloonParameterTexts_fr-IhyPRhYG.js +1 -0
  49. package/dist-embed-scene/BalloonParameterTexts_it-BqBPIfav.js +1 -0
  50. package/dist-embed-scene/{BeamEditor-Dj1Wt50v.js → BeamEditor-BbbtyCOw.js} +1 -1
  51. package/dist-embed-scene/BeamSystem-DtRwoKHP.js +1 -0
  52. package/dist-embed-scene/{BirdEditor-CKpe681e.js → BirdEditor-dOp1sGsz.js} +1 -1
  53. package/dist-embed-scene/{BirdFlock-B2SbkMme.js → BirdFlock-CfJeXvWu.js} +1 -1
  54. package/dist-embed-scene/DroneEditor-CBoR4fJ_.js +16 -0
  55. package/dist-embed-scene/{DroneFlight-BTFHGVWd.js → DroneFlight-DSE1OXqh.js} +1 -1
  56. package/dist-embed-scene/DroneParameters-D3EOg4oe.js +1 -0
  57. package/dist-embed-scene/{Flightradar24Provider-BBj_wixV.js → Flightradar24Provider-BZDUU8WC.js} +1 -1
  58. package/dist-embed-scene/{GLTFLoader-CKDxld-A.js → GLTFLoader-Dwb-fLT2.js} +1 -1
  59. package/dist-embed-scene/{LanternEditor-iByq1q3j.js → LanternEditor-CbcA7K8y.js} +1 -1
  60. package/dist-embed-scene/{LaserBeam-BQWS_xWa.js → LaserBeam-AjgGxDIq.js} +1 -1
  61. package/dist-embed-scene/{LaunchEditor-CjpESdIe.js → LaunchEditor-tMadX67W.js} +1 -1
  62. package/dist-embed-scene/{LaunchPlume-DVsshxQE.js → LaunchPlume-C7lTPaXd.js} +1 -1
  63. package/dist-embed-scene/{LaunchSimulation-BU7X_C8t.js → LaunchSimulation-ByGBMtSW.js} +1 -1
  64. package/dist-embed-scene/ModuleSession-XnOI5Mcr.js +3 -0
  65. package/dist-embed-scene/ModuleThree-BTQgimAj.js +1 -0
  66. package/dist-embed-scene/{ParameterForm-BHRESNZ4.js → ParameterForm-CRC9iA-m.js} +1 -1
  67. package/dist-embed-scene/{ReentryEditor-DpNPIxOG.js → ReentryEditor-Bjh0q9Ii.js} +1 -1
  68. package/dist-embed-scene/{ReentrySimulation-m-TICP2i.js → ReentrySimulation-Bgnppel8.js} +1 -1
  69. package/dist-embed-scene/ReferenceSystem-D1BkjwT7.js +1 -0
  70. package/dist-embed-scene/{SceneNames_en-Dn90NisJ.js → SceneNames_en-BFJsR6Cc.js} +1 -1
  71. package/dist-embed-scene/{SceneNames_es-DH6GZWja.js → SceneNames_es-BHBTwcJ3.js} +1 -1
  72. package/dist-embed-scene/{SceneNames_fr-rltu5c_j.js → SceneNames_fr-CFsA4XeK.js} +1 -1
  73. package/dist-embed-scene/{SceneNames_it-DsNshdIp.js → SceneNames_it-DkIgwviv.js} +1 -1
  74. package/dist-embed-scene/SearchlightEditor-CogwU9pl.js +8 -0
  75. package/dist-embed-scene/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  76. package/dist-embed-scene/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  77. package/dist-embed-scene/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  78. package/dist-embed-scene/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  79. package/dist-embed-scene/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  80. package/dist-embed-scene/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  81. package/dist-embed-scene/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  82. package/dist-embed-scene/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  83. package/dist-embed-scene/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  84. package/dist-embed-scene/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  85. package/dist-embed-scene/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  86. package/dist-embed-scene/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  87. package/dist-embed-scene/SearchlightSystem-CX1_nBkz.js +1 -0
  88. package/dist-embed-scene/{SkyLantern-BKxwl7Po.js → SkyLantern-Dp_B40X0.js} +1 -1
  89. package/dist-embed-scene/{TimelineTracks-Cjt0OHJS.js → TimelineTracks-iym9uOfD.js} +1 -1
  90. package/dist-embed-scene/{UfoMessages_en-A8Ku1B0Y.js → UfoMessages_en-CqQ-VdQJ.js} +1 -1
  91. package/dist-embed-scene/rr0-scene.mjs +401 -326
  92. package/dist-embed-scene/sightingSchema-9MogCcUd.js +1 -0
  93. package/dist-embed-sighting/{AdsbLolArchiveProvider-BfWrS1jn.js → AdsbLolArchiveProvider-CsuxO9wl.js} +1 -1
  94. package/dist-embed-sighting/AirshipEditor-DkDCkwGG.js +16 -0
  95. package/dist-embed-sighting/AirshipEditorMessages_en-CFafbbN8.js +1 -0
  96. package/dist-embed-sighting/AirshipEditorMessages_es-ht4kFQUD.js +1 -0
  97. package/dist-embed-sighting/AirshipEditorMessages_fr-Bhj6QKCL.js +1 -0
  98. package/dist-embed-sighting/AirshipEditorMessages_it-Cfl9mFjn.js +1 -0
  99. package/dist-embed-sighting/AirshipFlight-D8fH97A1.js +1 -0
  100. package/dist-embed-sighting/AirshipKindMessages_en-DzGapVTV.js +1 -0
  101. package/dist-embed-sighting/AirshipKindMessages_es-TE93uMSC.js +1 -0
  102. package/dist-embed-sighting/AirshipKindMessages_fr-BTXNsW5W.js +1 -0
  103. package/dist-embed-sighting/AirshipKindMessages_it-Cwa3MnJ-.js +1 -0
  104. package/dist-embed-sighting/AirshipParameterTexts_en-DZxqhSI3.js +1 -0
  105. package/dist-embed-sighting/AirshipParameterTexts_es-BDJUZOmr.js +1 -0
  106. package/dist-embed-sighting/AirshipParameterTexts_fr-Cj-D0Xb_.js +1 -0
  107. package/dist-embed-sighting/AirshipParameterTexts_it-BhC9cEbs.js +1 -0
  108. package/dist-embed-sighting/Aurora-DN89D94m.js +1 -0
  109. package/dist-embed-sighting/AuroraEditor-C4tY9hXK.js +8 -0
  110. package/dist-embed-sighting/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  111. package/dist-embed-sighting/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  112. package/dist-embed-sighting/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  113. package/dist-embed-sighting/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  114. package/dist-embed-sighting/AuroraKindMessages_en-D_W4giJa.js +1 -0
  115. package/dist-embed-sighting/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  116. package/dist-embed-sighting/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  117. package/dist-embed-sighting/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  118. package/dist-embed-sighting/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  119. package/dist-embed-sighting/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  120. package/dist-embed-sighting/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  121. package/dist-embed-sighting/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  122. package/dist-embed-sighting/AuroraSimulation-C9hvCV0W.js +152 -0
  123. package/dist-embed-sighting/BalloonEditor-CaWwqWKK.js +24 -0
  124. package/dist-embed-sighting/BalloonEditorMessages_en-B2n2FutN.js +1 -0
  125. package/dist-embed-sighting/BalloonEditorMessages_es-BXppdrpF.js +1 -0
  126. package/dist-embed-sighting/BalloonEditorMessages_fr-BmUizmQy.js +1 -0
  127. package/dist-embed-sighting/BalloonEditorMessages_it-Dx0JODqK.js +1 -0
  128. package/dist-embed-sighting/BalloonFlight-MN_clHSJ.js +1 -0
  129. package/dist-embed-sighting/BalloonKindMessages_en-C6tZ-5gT.js +1 -0
  130. package/dist-embed-sighting/BalloonKindMessages_es-BfoEjhe1.js +1 -0
  131. package/dist-embed-sighting/BalloonKindMessages_fr-C3QJIuDJ.js +1 -0
  132. package/dist-embed-sighting/BalloonKindMessages_it-CkO7mqHp.js +1 -0
  133. package/dist-embed-sighting/BalloonParameterTexts_en-CHm_vRVx.js +1 -0
  134. package/dist-embed-sighting/BalloonParameterTexts_es-BYaljnsn.js +1 -0
  135. package/dist-embed-sighting/BalloonParameterTexts_fr-IhyPRhYG.js +1 -0
  136. package/dist-embed-sighting/BalloonParameterTexts_it-BqBPIfav.js +1 -0
  137. package/dist-embed-sighting/{BeamEditor--mMu1zwv.js → BeamEditor-DDzw-fB_.js} +2 -2
  138. package/dist-embed-sighting/BeamSystem-CsNwl_vM.js +1 -0
  139. package/dist-embed-sighting/{BirdEditor-DZ1Ybqeu.js → BirdEditor-BgNNcdhv.js} +1 -1
  140. package/dist-embed-sighting/{BirdFlock-BZScQXfR.js → BirdFlock-DBgkxsxp.js} +1 -1
  141. package/dist-embed-sighting/{CaseReportExport-CAuwP-Ec.js → CaseReportExport-DVVsc8gA.js} +1 -1
  142. package/dist-embed-sighting/DroneEditor-5nuq52EG.js +16 -0
  143. package/dist-embed-sighting/{DroneFlight-WxqILFs6.js → DroneFlight-sMbiog9j.js} +1 -1
  144. package/dist-embed-sighting/DroneParameters-DHeJ7KyU.js +1 -0
  145. package/dist-embed-sighting/{Flightradar24Provider-DJmvd2AL.js → Flightradar24Provider-p4a3_chL.js} +1 -1
  146. package/dist-embed-sighting/{GLTFLoader-FWVFviG5.js → GLTFLoader-fbsNsHlp.js} +1 -1
  147. package/dist-embed-sighting/InterviewMessages_en-BRmuWrAg.js +1 -0
  148. package/dist-embed-sighting/InterviewMessages_es-BTotimwY.js +1 -0
  149. package/dist-embed-sighting/InterviewMessages_fr-DBCdGB0r.js +1 -0
  150. package/dist-embed-sighting/InterviewMessages_it-B5EyMD-k.js +1 -0
  151. package/dist-embed-sighting/{LanternEditor-Do0kggi8.js → LanternEditor-Be5Io1J-.js} +1 -1
  152. package/dist-embed-sighting/{LaserBeam-CMO6tMze.js → LaserBeam-BRdhNOMZ.js} +1 -1
  153. package/dist-embed-sighting/{LaunchEditor-CZri7DN4.js → LaunchEditor-BGyLgkGS.js} +1 -1
  154. package/dist-embed-sighting/{LaunchPlume-DxDfUSlS.js → LaunchPlume-iiiayJ8I.js} +1 -1
  155. package/dist-embed-sighting/{LaunchSimulation-CTxbrEJw.js → LaunchSimulation-DvexI06i.js} +1 -1
  156. package/dist-embed-sighting/ModuleSession-ChJsGuTn.js +3 -0
  157. package/dist-embed-sighting/ModuleThree-whEZoXYF.js +1 -0
  158. package/dist-embed-sighting/{ParameterForm-B8nX9qW-.js → ParameterForm-DFHcolwG.js} +1 -1
  159. package/dist-embed-sighting/{ReentryEditor-BbhQfIPi.js → ReentryEditor-C6EJJf4l.js} +1 -1
  160. package/dist-embed-sighting/{ReentrySimulation-BHbW9YNO.js → ReentrySimulation-BFVBOWrm.js} +1 -1
  161. package/dist-embed-sighting/ReferenceSystem-zTvTqp5y.js +1 -0
  162. package/dist-embed-sighting/SearchlightEditor-By5Z3ef7.js +8 -0
  163. package/dist-embed-sighting/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  164. package/dist-embed-sighting/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  165. package/dist-embed-sighting/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  166. package/dist-embed-sighting/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  167. package/dist-embed-sighting/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  168. package/dist-embed-sighting/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  169. package/dist-embed-sighting/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  170. package/dist-embed-sighting/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  171. package/dist-embed-sighting/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  172. package/dist-embed-sighting/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  173. package/dist-embed-sighting/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  174. package/dist-embed-sighting/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  175. package/dist-embed-sighting/SearchlightSystem-B2-MzG4x.js +1 -0
  176. package/dist-embed-sighting/{SightingMessages_en-sch1T1ki.js → SightingMessages_en-D3YVhgUj.js} +1 -1
  177. package/dist-embed-sighting/{SightingMessages_es-DemDEDtF.js → SightingMessages_es-ME6FeTp-.js} +1 -1
  178. package/dist-embed-sighting/{SightingMessages_fr-DskVkEj0.js → SightingMessages_fr-BgXYuIq4.js} +1 -1
  179. package/dist-embed-sighting/{SightingMessages_it-CrbYpdv8.js → SightingMessages_it-DcE90eAl.js} +1 -1
  180. package/dist-embed-sighting/{SkyLantern-COmog7pF.js → SkyLantern-yYihsrun.js} +1 -1
  181. package/dist-embed-sighting/{TimelineTracks-CYIJdyPF.js → TimelineTracks-Cw7W2uiK.js} +1 -1
  182. package/dist-embed-sighting/rr0-sighting.mjs +417 -342
  183. package/dist-embed-sighting/sightingSchema-9MogCcUd.js +1 -0
  184. package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-BqEnqRP0.js → AdsbLolArchiveProvider-CWpyBqG3.js} +1 -1
  185. package/dist-embed-sighting-editor/AirshipEditor-BvnVNcF4.js +16 -0
  186. package/dist-embed-sighting-editor/AirshipEditorMessages_en-CFafbbN8.js +1 -0
  187. package/dist-embed-sighting-editor/AirshipEditorMessages_es-ht4kFQUD.js +1 -0
  188. package/dist-embed-sighting-editor/AirshipEditorMessages_fr-Bhj6QKCL.js +1 -0
  189. package/dist-embed-sighting-editor/AirshipEditorMessages_it-Cfl9mFjn.js +1 -0
  190. package/dist-embed-sighting-editor/AirshipFlight-CB1Quf68.js +1 -0
  191. package/dist-embed-sighting-editor/AirshipKindMessages_en-DzGapVTV.js +1 -0
  192. package/dist-embed-sighting-editor/AirshipKindMessages_es-TE93uMSC.js +1 -0
  193. package/dist-embed-sighting-editor/AirshipKindMessages_fr-BTXNsW5W.js +1 -0
  194. package/dist-embed-sighting-editor/AirshipKindMessages_it-Cwa3MnJ-.js +1 -0
  195. package/dist-embed-sighting-editor/AirshipParameterTexts_en-DZxqhSI3.js +1 -0
  196. package/dist-embed-sighting-editor/AirshipParameterTexts_es-BDJUZOmr.js +1 -0
  197. package/dist-embed-sighting-editor/AirshipParameterTexts_fr-Cj-D0Xb_.js +1 -0
  198. package/dist-embed-sighting-editor/AirshipParameterTexts_it-BhC9cEbs.js +1 -0
  199. package/dist-embed-sighting-editor/Aurora-BRXvgyRM.js +1 -0
  200. package/dist-embed-sighting-editor/AuroraEditor-JQ3kRqrq.js +8 -0
  201. package/dist-embed-sighting-editor/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  202. package/dist-embed-sighting-editor/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  203. package/dist-embed-sighting-editor/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  204. package/dist-embed-sighting-editor/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  205. package/dist-embed-sighting-editor/AuroraKindMessages_en-D_W4giJa.js +1 -0
  206. package/dist-embed-sighting-editor/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  207. package/dist-embed-sighting-editor/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  208. package/dist-embed-sighting-editor/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  209. package/dist-embed-sighting-editor/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  210. package/dist-embed-sighting-editor/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  211. package/dist-embed-sighting-editor/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  212. package/dist-embed-sighting-editor/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  213. package/dist-embed-sighting-editor/AuroraSimulation-i64MFW2z.js +152 -0
  214. package/dist-embed-sighting-editor/{BallesterGuaspAssessor-BL_yzudf.js → BallesterGuaspAssessor-BaKKAdY3.js} +1 -1
  215. package/dist-embed-sighting-editor/BalloonEditor-C2oHClW7.js +24 -0
  216. package/dist-embed-sighting-editor/BalloonEditorMessages_en-B2n2FutN.js +1 -0
  217. package/dist-embed-sighting-editor/BalloonEditorMessages_es-BXppdrpF.js +1 -0
  218. package/dist-embed-sighting-editor/BalloonEditorMessages_fr-BmUizmQy.js +1 -0
  219. package/dist-embed-sighting-editor/BalloonEditorMessages_it-Dx0JODqK.js +1 -0
  220. package/dist-embed-sighting-editor/BalloonFlight-B9A6MoCj.js +1 -0
  221. package/dist-embed-sighting-editor/BalloonKindMessages_en-C6tZ-5gT.js +1 -0
  222. package/dist-embed-sighting-editor/BalloonKindMessages_es-BfoEjhe1.js +1 -0
  223. package/dist-embed-sighting-editor/BalloonKindMessages_fr-C3QJIuDJ.js +1 -0
  224. package/dist-embed-sighting-editor/BalloonKindMessages_it-CkO7mqHp.js +1 -0
  225. package/dist-embed-sighting-editor/BalloonParameterTexts_en-CHm_vRVx.js +1 -0
  226. package/dist-embed-sighting-editor/BalloonParameterTexts_es-BYaljnsn.js +1 -0
  227. package/dist-embed-sighting-editor/BalloonParameterTexts_fr-IhyPRhYG.js +1 -0
  228. package/dist-embed-sighting-editor/BalloonParameterTexts_it-BqBPIfav.js +1 -0
  229. package/dist-embed-sighting-editor/{BeamEditor-DA29mfqm.js → BeamEditor-CW7mTQjS.js} +1 -1
  230. package/dist-embed-sighting-editor/BeamSystem-CSfJjLCb.js +1 -0
  231. package/dist-embed-sighting-editor/BirdEditor-BdxhCoW9.js +16 -0
  232. package/dist-embed-sighting-editor/{BirdFlock-TI63ZAKZ.js → BirdFlock-DCbrukNp.js} +1 -1
  233. package/dist-embed-sighting-editor/{BodyEditor-COLTBHzX.js → BodyEditor-DE8ZQrqe.js} +1 -1
  234. package/dist-embed-sighting-editor/{CaseElement--JmpOsUW.js → CaseElement-C46wM-nU.js} +3 -3
  235. package/dist-embed-sighting-editor/{CaseReportExport-nFM_7lq4.js → CaseReportExport-UVrInf6H.js} +3 -3
  236. package/dist-embed-sighting-editor/{ContrailSystem-B0cQbaHc.js → ContrailSystem-CDSSxouG.js} +1 -1
  237. package/dist-embed-sighting-editor/{ControlPasses-BvS8haeS.js → ControlPasses-CsOVa-jq.js} +1 -1
  238. package/dist-embed-sighting-editor/{CoverageAssessor-DD1kSvun.js → CoverageAssessor-DWY_gJJX.js} +1 -1
  239. package/dist-embed-sighting-editor/DroneEditor-DgeuaHdb.js +16 -0
  240. package/dist-embed-sighting-editor/{DroneFlight-BpnBgJ9K.js → DroneFlight-CFztr-9j.js} +1 -1
  241. package/dist-embed-sighting-editor/DroneParameters-CHmDmRoC.js +1 -0
  242. package/dist-embed-sighting-editor/{Flightradar24Provider-D5OdIL0L.js → Flightradar24Provider-e6_3o9Jf.js} +1 -1
  243. package/dist-embed-sighting-editor/{GLTFLoader-DuqJVU4y.js → GLTFLoader-Df-r7_lf.js} +1 -1
  244. package/dist-embed-sighting-editor/{GenerativeKitMessages-B8L7U7gD.js → GenerativeKitMessages-CmqG-T2c.js} +1 -1
  245. package/dist-embed-sighting-editor/{GeoExportTexts-DrGdI2OF.js → GeoExportTexts-Wjc5YKlM.js} +1 -1
  246. package/dist-embed-sighting-editor/{GeoJsonExport-BZ-0v8fM.js → GeoJsonExport-BSPGzTbG.js} +1 -1
  247. package/dist-embed-sighting-editor/GeographicFigures-D_TfLkj9.js +1 -0
  248. package/dist-embed-sighting-editor/{HeadlightSystem-BejdfHqe.js → HeadlightSystem-DljWmzj5.js} +1 -1
  249. package/dist-embed-sighting-editor/{HynekAssessor-CwzpS7YP.js → HynekAssessor-BCDwoOI9.js} +1 -1
  250. package/dist-embed-sighting-editor/InterviewEditorElement-KHpgfy3k.js +277 -0
  251. package/dist-embed-sighting-editor/{InterviewElement-B3tm7y49.js → InterviewElement-DDa53uMq.js} +1 -1
  252. package/dist-embed-sighting-editor/InterviewMedia-CGVsMdje.js +1 -0
  253. package/dist-embed-sighting-editor/InterviewMessages_en-BRmuWrAg.js +1 -0
  254. package/dist-embed-sighting-editor/InterviewMessages_es-BTotimwY.js +1 -0
  255. package/dist-embed-sighting-editor/InterviewMessages_fr-DBCdGB0r.js +1 -0
  256. package/dist-embed-sighting-editor/InterviewMessages_it-B5EyMD-k.js +1 -0
  257. package/dist-embed-sighting-editor/{KmlExport-Bh4eTycx.js → KmlExport-B46AfaoJ.js} +1 -1
  258. package/dist-embed-sighting-editor/LanternEditor-CkbeitJh.js +24 -0
  259. package/dist-embed-sighting-editor/{LaserBeam-tqM2fwHf.js → LaserBeam-Ber-PT8j.js} +1 -1
  260. package/dist-embed-sighting-editor/LaunchEditor-BsvHahqK.js +22 -0
  261. package/dist-embed-sighting-editor/{LaunchPlume-DWyU0YyJ.js → LaunchPlume-BmPMeGMN.js} +1 -1
  262. package/dist-embed-sighting-editor/{LaunchSimulation-C_OJQoKC.js → LaunchSimulation-g-ETWhEH.js} +1 -1
  263. package/dist-embed-sighting-editor/ModelSource-DOUnBBhu.js +1 -0
  264. package/dist-embed-sighting-editor/{ModelThumbnails-C_8KCF7H.js → ModelThumbnails-TwG1snwZ.js} +1 -1
  265. package/dist-embed-sighting-editor/{ModelViewer-Cy-6IZBY.js → ModelViewer-Y_B6eM4z.js} +1 -1
  266. package/dist-embed-sighting-editor/ModuleConformance-CO1S9pa3.js +2 -0
  267. package/dist-embed-sighting-editor/ModuleSession-VLS0tjAb.js +3 -0
  268. package/dist-embed-sighting-editor/ModuleThree-DQ2dT7XW.js +1 -0
  269. package/dist-embed-sighting-editor/{ModulesPanelElement-hDjGLhRa.js → ModulesPanelElement--YQ0QtcW.js} +3 -3
  270. package/dist-embed-sighting-editor/{NearestApproach-D6tQo7dk.js → NearestApproach-C_8Uvp6i.js} +1 -1
  271. package/dist-embed-sighting-editor/PictureRegistration-Br0xjLE2.js +1 -0
  272. package/dist-embed-sighting-editor/{PoherAssessor-BTYpHucH.js → PoherAssessor-DtDcuhWK.js} +1 -1
  273. package/dist-embed-sighting-editor/QuestionnaireFeed-CvLtuLIH.js +1 -0
  274. package/dist-embed-sighting-editor/QuestionnaireForm-DA6LPvBt.js +1 -0
  275. package/dist-embed-sighting-editor/QuestionnaireImport-BYj5QoJS.js +5 -0
  276. package/dist-embed-sighting-editor/QuestionnaireSeal-DpZYUhnf.js +1 -0
  277. package/dist-embed-sighting-editor/{RailwaySystem-D_8D64Bu.js → RailwaySystem-eT-ZKfZl.js} +1 -1
  278. package/dist-embed-sighting-editor/ReentryEditor-CW8H7KaA.js +28 -0
  279. package/dist-embed-sighting-editor/{ReentrySimulation-Bom073AV.js → ReentrySimulation-DVl__RjO.js} +1 -1
  280. package/dist-embed-sighting-editor/ReferenceSystem-DxVYO7g9.js +1 -0
  281. package/dist-embed-sighting-editor/{RoadMarkings-BGK7ToZP.js → RoadMarkings-DJraHdS6.js} +1 -1
  282. package/dist-embed-sighting-editor/ScenarioReadings-BYqlpLo8.js +1 -0
  283. package/dist-embed-sighting-editor/ScenarioSweep-Ddtuo_Af.js +1 -0
  284. package/dist-embed-sighting-editor/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
  285. package/dist-embed-sighting-editor/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
  286. package/dist-embed-sighting-editor/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
  287. package/dist-embed-sighting-editor/ScenarioSweepMessages_it-DANW3_la.js +1 -0
  288. package/dist-embed-sighting-editor/{SceneNames_en-9zK_E4jO.js → SceneNames_en-p5YNYZhA.js} +1 -1
  289. package/dist-embed-sighting-editor/{SceneNames_es-B6FtSh6r.js → SceneNames_es-DlMqYLL9.js} +1 -1
  290. package/dist-embed-sighting-editor/{SceneNames_fr-lUEwaxUk.js → SceneNames_fr-lFA7hY3x.js} +1 -1
  291. package/dist-embed-sighting-editor/{SceneNames_it-ChU8RE2E.js → SceneNames_it-CDwvX1Nw.js} +1 -1
  292. package/dist-embed-sighting-editor/SearchlightEditor-BSI8hB1V.js +8 -0
  293. package/dist-embed-sighting-editor/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  294. package/dist-embed-sighting-editor/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  295. package/dist-embed-sighting-editor/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  296. package/dist-embed-sighting-editor/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  297. package/dist-embed-sighting-editor/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  298. package/dist-embed-sighting-editor/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  299. package/dist-embed-sighting-editor/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  300. package/dist-embed-sighting-editor/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  301. package/dist-embed-sighting-editor/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  302. package/dist-embed-sighting-editor/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  303. package/dist-embed-sighting-editor/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  304. package/dist-embed-sighting-editor/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  305. package/dist-embed-sighting-editor/SearchlightSystem-DHfVi2np.js +1 -0
  306. package/{dist-embed-ufoathome/SightingEditorMessages_en-CtZXoBSS.js → dist-embed-sighting-editor/SightingEditorMessages_en-k7_ua2OM.js} +1 -1
  307. package/dist-embed-sighting-editor/{SightingEditorMessages_es-CKXlDIja.js → SightingEditorMessages_es-Drqbbr5_.js} +1 -1
  308. package/{dist-embed-ufoathome/SightingEditorMessages_fr-DjP6vAKo.js → dist-embed-sighting-editor/SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
  309. package/{dist-embed-ufoathome/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-sighting-editor/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
  310. package/dist-embed-sighting-editor/{SightingElement-DsR4mBCh.js → SightingElement-T0x4j9Zt.js} +4 -4
  311. package/dist-embed-sighting-editor/{SightingFileEditor-0VZmtiOX.js → SightingFileEditor-Du3A9uZm.js} +1 -1
  312. package/dist-embed-sighting-editor/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
  313. package/dist-embed-sighting-editor/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
  314. package/dist-embed-sighting-editor/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
  315. package/dist-embed-sighting-editor/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
  316. package/dist-embed-sighting-editor/{SkyLantern-BDpxvmY3.js → SkyLantern-Dl4yl-lc.js} +1 -1
  317. package/dist-embed-sighting-editor/{TraceSystem-B1mmypS3.js → TraceSystem-Dbu_bgfE.js} +2 -2
  318. package/dist-embed-sighting-editor/{UfoMessages_en-JeMK-39o.js → UfoMessages_en-BAuHAGgq.js} +1 -1
  319. package/dist-embed-sighting-editor/{VideoButton-Kxg7pF1Y.js → VideoButton-C8eRmv7A.js} +1 -1
  320. package/dist-embed-sighting-editor/{WaterSystem-mZ-f2CcD.js → WaterSystem-DpJCe_2Q.js} +2 -2
  321. package/dist-embed-sighting-editor/angular-size-CxoysZle.png +0 -0
  322. package/dist-embed-sighting-editor/azimuth-CvjiPmz0.png +0 -0
  323. package/dist-embed-sighting-editor/caseSchema-BEJTs2Ld.js +1 -0
  324. package/dist-embed-sighting-editor/elevation-DPr5S6Jt.png +0 -0
  325. package/dist-embed-sighting-editor/geipan-qt-2025-j-yGY7EN.js +7 -0
  326. package/dist-embed-sighting-editor/{interviewImport-BlSMFEw_.js → interviewImport-zzDGCbXd.js} +1 -1
  327. package/dist-embed-sighting-editor/{interviewJson-CsMHIcZ-.js → interviewJson-DngUPqK8.js} +1 -1
  328. package/dist-embed-sighting-editor/interviewSchema-DRWvRSL2.js +1 -0
  329. package/dist-embed-sighting-editor/protractor-DyE30B87.png +0 -0
  330. package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +543 -443
  331. package/dist-embed-sighting-editor/sightingSchema-9MogCcUd.js +1 -0
  332. package/dist-embed-sighting-editor/{surroundingsSources-z7680fTA.js → surroundingsSources-lvh4Rw5C.js} +1 -1
  333. package/dist-embed-sighting-editor/{trafficRuntime-CvK_m6bC.js → trafficRuntime-Drx7CE9H.js} +1 -1
  334. package/dist-embed-ufoathome/AdsbLolArchiveProvider-CqedGYi5.js +1 -0
  335. package/dist-embed-ufoathome/AirshipEditor-CBSrQM3J.js +16 -0
  336. package/dist-embed-ufoathome/AirshipEditorMessages_en-CFafbbN8.js +1 -0
  337. package/dist-embed-ufoathome/AirshipEditorMessages_es-ht4kFQUD.js +1 -0
  338. package/dist-embed-ufoathome/AirshipEditorMessages_fr-Bhj6QKCL.js +1 -0
  339. package/dist-embed-ufoathome/AirshipEditorMessages_it-Cfl9mFjn.js +1 -0
  340. package/dist-embed-ufoathome/AirshipFlight-Dzpw8HRM.js +1 -0
  341. package/dist-embed-ufoathome/AirshipKindMessages_en-DzGapVTV.js +1 -0
  342. package/dist-embed-ufoathome/AirshipKindMessages_es-TE93uMSC.js +1 -0
  343. package/dist-embed-ufoathome/AirshipKindMessages_fr-BTXNsW5W.js +1 -0
  344. package/dist-embed-ufoathome/AirshipKindMessages_it-Cwa3MnJ-.js +1 -0
  345. package/dist-embed-ufoathome/AirshipParameterTexts_en-DZxqhSI3.js +1 -0
  346. package/dist-embed-ufoathome/AirshipParameterTexts_es-BDJUZOmr.js +1 -0
  347. package/dist-embed-ufoathome/AirshipParameterTexts_fr-Cj-D0Xb_.js +1 -0
  348. package/dist-embed-ufoathome/AirshipParameterTexts_it-BhC9cEbs.js +1 -0
  349. package/dist-embed-ufoathome/Aurora-CpZx9hQ3.js +1 -0
  350. package/dist-embed-ufoathome/AuroraEditor-D2v8sWVE.js +8 -0
  351. package/dist-embed-ufoathome/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  352. package/dist-embed-ufoathome/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  353. package/dist-embed-ufoathome/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  354. package/dist-embed-ufoathome/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  355. package/dist-embed-ufoathome/AuroraKindMessages_en-D_W4giJa.js +1 -0
  356. package/dist-embed-ufoathome/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  357. package/dist-embed-ufoathome/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  358. package/dist-embed-ufoathome/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  359. package/dist-embed-ufoathome/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  360. package/dist-embed-ufoathome/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  361. package/dist-embed-ufoathome/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  362. package/dist-embed-ufoathome/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  363. package/dist-embed-ufoathome/AuroraSimulation-DdSP66LD.js +152 -0
  364. package/dist-embed-ufoathome/BallesterGuaspAssessor-C4IktJ1l.js +1 -0
  365. package/dist-embed-ufoathome/BalloonEditor-dCIjTsIz.js +24 -0
  366. package/dist-embed-ufoathome/BalloonEditorMessages_en-B2n2FutN.js +1 -0
  367. package/dist-embed-ufoathome/BalloonEditorMessages_es-BXppdrpF.js +1 -0
  368. package/dist-embed-ufoathome/BalloonEditorMessages_fr-BmUizmQy.js +1 -0
  369. package/dist-embed-ufoathome/BalloonEditorMessages_it-Dx0JODqK.js +1 -0
  370. package/dist-embed-ufoathome/BalloonFlight-CztT6ddg.js +1 -0
  371. package/dist-embed-ufoathome/BalloonKindMessages_en-C6tZ-5gT.js +1 -0
  372. package/dist-embed-ufoathome/BalloonKindMessages_es-BfoEjhe1.js +1 -0
  373. package/dist-embed-ufoathome/BalloonKindMessages_fr-C3QJIuDJ.js +1 -0
  374. package/dist-embed-ufoathome/BalloonKindMessages_it-CkO7mqHp.js +1 -0
  375. package/dist-embed-ufoathome/BalloonParameterTexts_en-CHm_vRVx.js +1 -0
  376. package/dist-embed-ufoathome/BalloonParameterTexts_es-BYaljnsn.js +1 -0
  377. package/dist-embed-ufoathome/BalloonParameterTexts_fr-IhyPRhYG.js +1 -0
  378. package/dist-embed-ufoathome/BalloonParameterTexts_it-BqBPIfav.js +1 -0
  379. package/dist-embed-ufoathome/{BeamEditor-CFYAfywp.js → BeamEditor-CuW3LVO-.js} +2 -2
  380. package/dist-embed-ufoathome/BeamSystem-BPEYuCF4.js +1 -0
  381. package/dist-embed-ufoathome/BirdEditor-Dk3huwHa.js +16 -0
  382. package/dist-embed-ufoathome/{BodyEditor-B96fap0d.js → BodyEditor-COMX-T65.js} +1 -1
  383. package/dist-embed-ufoathome/CaseEditorElement-C5BHP8jT.js +3173 -0
  384. package/dist-embed-ufoathome/{CaseElement-BFDRYL5v.js → CaseElement-CIZvyRVi.js} +3 -3
  385. package/dist-embed-ufoathome/{CaseReportExport-VrulN0VG.js → CaseReportExport-BFbswUIB.js} +3 -3
  386. package/dist-embed-ufoathome/{ColumnResize-DD0wwlp2.js → ColumnResize-Dh6Xyspd.js} +6 -6
  387. package/dist-embed-ufoathome/ContrailSystem-D2AR5Zgy.js +1 -0
  388. package/dist-embed-ufoathome/ControlPasses-CnL1GmT-.js +29 -0
  389. package/dist-embed-ufoathome/CoverageAssessor-CiqUEJkN.js +1 -0
  390. package/dist-embed-ufoathome/DroneEditor-D60uhSHO.js +16 -0
  391. package/dist-embed-ufoathome/DroneParameters-CfTAaLCT.js +1 -0
  392. package/dist-embed-ufoathome/Flightradar24Provider-_tNmWf11.js +1 -0
  393. package/dist-embed-ufoathome/GLTFLoader-BLk8prLt.js +1 -0
  394. package/dist-embed-ufoathome/GeoJsonExport-DkPKk-7q.js +2 -0
  395. package/dist-embed-ufoathome/GeoProjection-DvqDbRIx.js +1 -0
  396. package/dist-embed-ufoathome/{GeographicFigures-Ds8kfyn7.js → GeographicFigures-l-PfHdSR.js} +1 -1
  397. package/dist-embed-ufoathome/HeadlightSystem-D5-78PFB.js +34 -0
  398. package/dist-embed-ufoathome/HynekAssessor-BhnvqsYz.js +1 -0
  399. package/dist-embed-ufoathome/InterviewEditorElement-iw2lnwx8.js +277 -0
  400. package/dist-embed-ufoathome/{InterviewElement-BrlawcDm.js → InterviewElement-CuRmQ0d3.js} +2 -2
  401. package/dist-embed-ufoathome/InterviewMedia-CGVsMdje.js +1 -0
  402. package/dist-embed-ufoathome/InterviewMessages_en-BRmuWrAg.js +1 -0
  403. package/dist-embed-ufoathome/InterviewMessages_es-BTotimwY.js +1 -0
  404. package/dist-embed-ufoathome/InterviewMessages_fr-DBCdGB0r.js +1 -0
  405. package/dist-embed-ufoathome/InterviewMessages_it-B5EyMD-k.js +1 -0
  406. package/dist-embed-ufoathome/KmlExport-BUl3gOrw.js +19 -0
  407. package/dist-embed-ufoathome/LanternEditor-BapUZdog.js +24 -0
  408. package/dist-embed-ufoathome/{LaserBeam-Ced8VujI.js → LaserBeam-C7glTvQN.js} +1 -1
  409. package/dist-embed-ufoathome/LaunchEditor-DvudtAzp.js +22 -0
  410. package/dist-embed-ufoathome/{LaunchPlume-DdeLDyDg.js → LaunchPlume-CrDBzsQe.js} +1 -1
  411. package/dist-embed-ufoathome/LaunchSimulation-DyOA4lPb.js +1 -0
  412. package/dist-embed-ufoathome/ModelSource-CoT4mxTx.js +1 -0
  413. package/dist-embed-ufoathome/ModelThumbnails-t59SZ3Vn.js +1 -0
  414. package/dist-embed-ufoathome/ModelViewer-DEdruEtl.js +1 -0
  415. package/dist-embed-ufoathome/ModuleConformance-DYDAaJJQ.js +2 -0
  416. package/dist-embed-ufoathome/ModuleSession-BKDWGSEo.js +3 -0
  417. package/dist-embed-ufoathome/ModuleThree-D18Rh2Nj.js +1 -0
  418. package/dist-embed-ufoathome/{ModulesPanelElement-Bio6lzC6.js → ModulesPanelElement-N-ccpGxl.js} +3 -3
  419. package/dist-embed-ufoathome/{NearestApproach-DAiByBN2.js → NearestApproach-Do15yfeg.js} +1 -1
  420. package/dist-embed-ufoathome/{ParameterForm-DcVFxrcO.js → ParameterForm-XbqxCLRn.js} +1 -1
  421. package/dist-embed-ufoathome/PictureRegistration-BJeiCK8A.js +1 -0
  422. package/dist-embed-ufoathome/PoherAssessor-Cs8-ZBge.js +1 -0
  423. package/dist-embed-ufoathome/QuestionnaireFeed-BfvRSPoo.js +1 -0
  424. package/dist-embed-ufoathome/QuestionnaireForm-ByFmq67M.js +1 -0
  425. package/dist-embed-ufoathome/QuestionnaireImport-Cx1dQiha.js +5 -0
  426. package/dist-embed-ufoathome/QuestionnaireSeal-DpZYUhnf.js +1 -0
  427. package/dist-embed-ufoathome/RailwaySystem-KlBj8mLP.js +41 -0
  428. package/dist-embed-ufoathome/ReentryEditor-CJUFkVFO.js +28 -0
  429. package/dist-embed-ufoathome/ReentrySimulation-B5QcdOTq.js +1 -0
  430. package/dist-embed-ufoathome/ReferenceSystem-DyzOUClN.js +1 -0
  431. package/dist-embed-ufoathome/RoadMarkings-DKUNImjj.js +1 -0
  432. package/dist-embed-ufoathome/SaidPosition-OJEYhVKN.js +4 -0
  433. package/dist-embed-ufoathome/ScenarioReadings-CfZehU_P.js +1 -0
  434. package/dist-embed-ufoathome/ScenarioSweep-CDumnmq2.js +1 -0
  435. package/dist-embed-ufoathome/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
  436. package/dist-embed-ufoathome/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
  437. package/dist-embed-ufoathome/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
  438. package/dist-embed-ufoathome/ScenarioSweepMessages_it-DANW3_la.js +1 -0
  439. package/dist-embed-ufoathome/SearchlightEditor-CPDNpfNC.js +8 -0
  440. package/dist-embed-ufoathome/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  441. package/dist-embed-ufoathome/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  442. package/dist-embed-ufoathome/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  443. package/dist-embed-ufoathome/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  444. package/dist-embed-ufoathome/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  445. package/dist-embed-ufoathome/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  446. package/dist-embed-ufoathome/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  447. package/dist-embed-ufoathome/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  448. package/dist-embed-ufoathome/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  449. package/dist-embed-ufoathome/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  450. package/dist-embed-ufoathome/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  451. package/dist-embed-ufoathome/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  452. package/dist-embed-ufoathome/SearchlightSystem-Ca0rZcXv.js +1 -0
  453. package/dist-embed-ufoathome/ShareDialogElement-CBeU9ChH.js +5182 -0
  454. package/dist-embed-ufoathome/Sighting-B7bsiTIQ.js +1 -0
  455. package/{dist-embed-sighting-editor/SightingEditorMessages_en-CtZXoBSS.js → dist-embed-ufoathome/SightingEditorMessages_en-k7_ua2OM.js} +1 -1
  456. package/dist-embed-ufoathome/{SightingEditorMessages_es-CKXlDIja.js → SightingEditorMessages_es-Drqbbr5_.js} +1 -1
  457. package/{dist-embed-sighting-editor/SightingEditorMessages_fr-DjP6vAKo.js → dist-embed-ufoathome/SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
  458. package/{dist-embed-sighting-editor/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-ufoathome/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
  459. package/dist-embed-ufoathome/{SightingElement-DTADTDwh.js → SightingElement-BveOM4nF.js} +4 -4
  460. package/dist-embed-ufoathome/{SightingFileEditor-Cllslp2u.js → SightingFileEditor-DS1DRU2p.js} +1 -1
  461. package/dist-embed-ufoathome/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
  462. package/dist-embed-ufoathome/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
  463. package/dist-embed-ufoathome/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
  464. package/dist-embed-ufoathome/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
  465. package/dist-embed-ufoathome/{TimelineTracks-BgZmkKhn.js → TimelineTracks-Daaqw9ly.js} +1 -1
  466. package/dist-embed-ufoathome/{TraceSystem-BcWYbjQM.js → TraceSystem-CoHX04R3.js} +2 -2
  467. package/dist-embed-ufoathome/{UfoAtHomeMessages_en-dlx_C679.js → UfoAtHomeMessages_en-BK2qJyZN.js} +1 -1
  468. package/dist-embed-ufoathome/{UfoAtHomeMessages_es-uLOvtAD0.js → UfoAtHomeMessages_es-B1-NDCau.js} +1 -1
  469. package/dist-embed-ufoathome/{UfoAtHomeMessages_fr-LR76-eHS.js → UfoAtHomeMessages_fr-BTG047qo.js} +1 -1
  470. package/dist-embed-ufoathome/{UfoAtHomeMessages_it-CQl4uTnG.js → UfoAtHomeMessages_it-Ryxv4HNU.js} +1 -1
  471. package/dist-embed-ufoathome/VideoButton-DNQmWtfv.js +1 -0
  472. package/dist-embed-ufoathome/WaterSystem-BNxlYNtW.js +19 -0
  473. package/dist-embed-ufoathome/angular-size-CxoysZle.png +0 -0
  474. package/dist-embed-ufoathome/azimuth-CvjiPmz0.png +0 -0
  475. package/dist-embed-ufoathome/caseSchema-BEJTs2Ld.js +1 -0
  476. package/dist-embed-ufoathome/elevation-DPr5S6Jt.png +0 -0
  477. package/dist-embed-ufoathome/geipan-qt-2025-j-yGY7EN.js +7 -0
  478. package/dist-embed-ufoathome/interviewSchema-DRWvRSL2.js +1 -0
  479. package/dist-embed-ufoathome/protractor-DyE30B87.png +0 -0
  480. package/dist-embed-ufoathome/rr0-ufoathome.mjs +27 -17
  481. package/dist-embed-ufoathome/sightingSchema-9MogCcUd.js +1 -0
  482. package/dist-embed-ufoathome/surroundingsSources-C823p3dG.js +1 -0
  483. package/dist-embed-ufoathome/three.module-CbaHqYFq.js +4116 -0
  484. package/dist-embed-ufoathome/trafficRuntime-DtXb9B2f.js +2 -0
  485. package/dist-embed-ufoathome/{upperAirSources-BGuLpdwu.js → upperAirSources-BU0pD84c.js} +1 -1
  486. package/dist-embed-ufoathome/xyzImageryRaster-Dhxs0B26.js +1 -0
  487. package/package.json +4 -2
  488. package/dist-embed-interview/InterviewMessages_en-ru7GkZlQ.js +0 -1
  489. package/dist-embed-interview/InterviewMessages_es-DkJurNrG.js +0 -1
  490. package/dist-embed-interview/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  491. package/dist-embed-interview/InterviewMessages_it-6lenkmSg.js +0 -1
  492. package/dist-embed-scene/BeamSystem-CaNus1WN.js +0 -1
  493. package/dist-embed-scene/DroneEditor-BDDLiZPp.js +0 -16
  494. package/dist-embed-scene/ModuleSession-Hj3QwLuw.js +0 -3
  495. package/dist-embed-scene/ModuleThree-D1uz5JiH.js +0 -1
  496. package/dist-embed-scene/ReferenceSystem-B6FHr1Pb.js +0 -1
  497. package/dist-embed-scene/sightingSchema-CgwoRMl-.js +0 -1
  498. package/dist-embed-sighting/BeamSystem-Cqe7QaN4.js +0 -1
  499. package/dist-embed-sighting/DroneEditor-Bo19kUte.js +0 -16
  500. package/dist-embed-sighting/InterviewMessages_en-ru7GkZlQ.js +0 -1
  501. package/dist-embed-sighting/InterviewMessages_es-DkJurNrG.js +0 -1
  502. package/dist-embed-sighting/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  503. package/dist-embed-sighting/InterviewMessages_it-6lenkmSg.js +0 -1
  504. package/dist-embed-sighting/ModuleSession-BCtFMDJY.js +0 -3
  505. package/dist-embed-sighting/ModuleThree-DPVHqcup.js +0 -1
  506. package/dist-embed-sighting/ReferenceSystem-DCSdp9Bq.js +0 -1
  507. package/dist-embed-sighting/sightingSchema-CgwoRMl-.js +0 -1
  508. package/dist-embed-sighting-editor/BeamSystem-DYohqXlF.js +0 -1
  509. package/dist-embed-sighting-editor/BirdEditor-CAoRqqRV.js +0 -16
  510. package/dist-embed-sighting-editor/DroneEditor-BRB2-dAw.js +0 -16
  511. package/dist-embed-sighting-editor/GeographicFigures-DqhWddS9.js +0 -1
  512. package/dist-embed-sighting-editor/InterviewEditorElement-DbVrB3-g.js +0 -242
  513. package/dist-embed-sighting-editor/InterviewMedia-CvAxC62V.js +0 -1
  514. package/dist-embed-sighting-editor/InterviewMessages_en-ru7GkZlQ.js +0 -1
  515. package/dist-embed-sighting-editor/InterviewMessages_es-DkJurNrG.js +0 -1
  516. package/dist-embed-sighting-editor/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  517. package/dist-embed-sighting-editor/InterviewMessages_it-6lenkmSg.js +0 -1
  518. package/dist-embed-sighting-editor/LanternEditor-BnXAwLuQ.js +0 -24
  519. package/dist-embed-sighting-editor/LaunchEditor-vwecAGwH.js +0 -22
  520. package/dist-embed-sighting-editor/ModelSource-D1Wt6VYS.js +0 -1
  521. package/dist-embed-sighting-editor/ModuleConformance-DYi4XZdB.js +0 -2
  522. package/dist-embed-sighting-editor/ModuleSession-BDbaoiCf.js +0 -3
  523. package/dist-embed-sighting-editor/ModuleThree-DRf9SEr_.js +0 -1
  524. package/dist-embed-sighting-editor/PictureRegistration-DBBH_E6I.js +0 -1
  525. package/dist-embed-sighting-editor/ReentryEditor-D7HxkvKP.js +0 -28
  526. package/dist-embed-sighting-editor/ReferenceSystem-D_eueNAb.js +0 -1
  527. package/dist-embed-sighting-editor/caseSchema-ChUB1-9j.js +0 -1
  528. package/dist-embed-sighting-editor/interviewSchema-Dk0AWHwc.js +0 -1
  529. package/dist-embed-sighting-editor/sightingSchema-CgwoRMl-.js +0 -1
  530. package/dist-embed-ufoathome/AdsbLolArchiveProvider-B9MGq-iQ.js +0 -1
  531. package/dist-embed-ufoathome/BallesterGuaspAssessor-BehuINgj.js +0 -1
  532. package/dist-embed-ufoathome/BeamSystem-Bt5Dnpzy.js +0 -1
  533. package/dist-embed-ufoathome/BirdEditor-07sg3Pt0.js +0 -16
  534. package/dist-embed-ufoathome/CaseEditorElement-D-RKShTH.js +0 -3148
  535. package/dist-embed-ufoathome/ContrailSystem-BKeTHlcZ.js +0 -1
  536. package/dist-embed-ufoathome/ControlPasses-D3vc-NmG.js +0 -29
  537. package/dist-embed-ufoathome/CoverageAssessor-Be38W7Im.js +0 -1
  538. package/dist-embed-ufoathome/DroneEditor-ByVlCauS.js +0 -16
  539. package/dist-embed-ufoathome/Flightradar24Provider-DdPjGVJg.js +0 -1
  540. package/dist-embed-ufoathome/GLTFLoader-D1_vI_Fe.js +0 -1
  541. package/dist-embed-ufoathome/GeoJsonExport-B2qogWLj.js +0 -2
  542. package/dist-embed-ufoathome/HeadlightSystem-BdhHphIq.js +0 -34
  543. package/dist-embed-ufoathome/HynekAssessor-MqnQfg3F.js +0 -1
  544. package/dist-embed-ufoathome/InterviewEditorElement-DjQuGytO.js +0 -242
  545. package/dist-embed-ufoathome/InterviewMedia-CvAxC62V.js +0 -1
  546. package/dist-embed-ufoathome/InterviewMessages_en-ru7GkZlQ.js +0 -1
  547. package/dist-embed-ufoathome/InterviewMessages_es-DkJurNrG.js +0 -1
  548. package/dist-embed-ufoathome/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  549. package/dist-embed-ufoathome/InterviewMessages_it-6lenkmSg.js +0 -1
  550. package/dist-embed-ufoathome/KmlExport-AzofE76s.js +0 -19
  551. package/dist-embed-ufoathome/LanternEditor-BRqgj1S6.js +0 -24
  552. package/dist-embed-ufoathome/LaunchEditor-D-5OJi90.js +0 -22
  553. package/dist-embed-ufoathome/LaunchSimulation-BeCHjgE5.js +0 -1
  554. package/dist-embed-ufoathome/ModelSource-LY5T91ay.js +0 -1
  555. package/dist-embed-ufoathome/ModelThumbnails-C25E4WMl.js +0 -1
  556. package/dist-embed-ufoathome/ModelViewer-D6JaOQS7.js +0 -1
  557. package/dist-embed-ufoathome/ModuleConformance-DGjaEwAM.js +0 -2
  558. package/dist-embed-ufoathome/ModuleSession-pXE1aOJF.js +0 -3
  559. package/dist-embed-ufoathome/ModuleThree-xQDeVLs0.js +0 -1
  560. package/dist-embed-ufoathome/PictureRegistration-Dbr0O7NF.js +0 -1
  561. package/dist-embed-ufoathome/PoherAssessor-C7NN73NP.js +0 -1
  562. package/dist-embed-ufoathome/RailwaySystem-D3u3j_tw.js +0 -41
  563. package/dist-embed-ufoathome/ReentryEditor-s-AkSgbU.js +0 -28
  564. package/dist-embed-ufoathome/ReentrySimulation-2UWwXU7K.js +0 -1
  565. package/dist-embed-ufoathome/ReferenceSystem-BhEFpIis.js +0 -1
  566. package/dist-embed-ufoathome/RoadMarkings-DDRxawvf.js +0 -1
  567. package/dist-embed-ufoathome/SaidPosition-CXZLm-ck.js +0 -4
  568. package/dist-embed-ufoathome/ShareDialogElement-C9Uiwt0F.js +0 -9222
  569. package/dist-embed-ufoathome/Sighting-Ch4eiBNK.js +0 -1
  570. package/dist-embed-ufoathome/VideoButton-CgfBskVu.js +0 -1
  571. package/dist-embed-ufoathome/WaterSystem-BsGtTimO.js +0 -19
  572. package/dist-embed-ufoathome/caseSchema-ChUB1-9j.js +0 -1
  573. package/dist-embed-ufoathome/interviewSchema-Dk0AWHwc.js +0 -1
  574. package/dist-embed-ufoathome/sightingSchema-CgwoRMl-.js +0 -1
  575. package/dist-embed-ufoathome/surroundingsSources-B--F7TR5.js +0 -1
  576. package/dist-embed-ufoathome/trafficRuntime-B97u9ZY_.js +0 -2
@@ -0,0 +1,28 @@
1
+ import{M as w,_ as I,d as F}from"./rr0-ufoathome.mjs";import{P as S,I as x}from"./SaidPosition-OJEYhVKN.js";import{S as N}from"./SkyEventEditorStyle-CvY_AhbI.js";import{q as b,bm as M,aK as E,aE as C,m as _,s as P,ba as L}from"./ShareDialogElement-CBeU9ChH.js";import{c as G}from"./Sighting-B7bsiTIQ.js";import{P as D,a as k,E as H}from"./ParameterForm-XbqxCLRn.js";import{T as K}from"./TimelineTracks-Daaqw9ly.js";import{R as O}from"./ReentryArchive-CeXHrU7L.js";import"./GeoProjection-DvqDbRIx.js";import"./three.module-CbaHqYFq.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";import"./VisualAids-DI-hEL46.js";const z=w.catalog({en:()=>I(()=>import("./ReentryParameterTexts_en-5BOfwCsS.js"),[],import.meta.url).then(v=>v.reentryParameterTexts_en),fr:()=>I(()=>import("./ReentryParameterTexts_fr-BgUJROXF.js"),[],import.meta.url).then(v=>v.reentryParameterTexts_fr),es:()=>I(()=>import("./ReentryParameterTexts_es-ze1-U4jB.js"),[],import.meta.url).then(v=>v.reentryParameterTexts_es),it:()=>I(()=>import("./ReentryParameterTexts_it-MTb9Vuq0.js"),[],import.meta.url).then(v=>v.reentryParameterTexts_it)});class g{static NAME="name";static OBJECT="object";static LIGHT="light";static WHEN="when";static SEEN="seenByTheWitness";static EARTH_KM=6371;static placeSeen(t,e,n,i){const r=Math.PI/180,o=g.EARTH_KM,a=n*r,s=-o*Math.sin(a)+Math.sqrt((o*Math.sin(a))**2+(o+i)**2-o**2),d=Math.atan2(s*Math.cos(a),o+s*Math.sin(a)),c=t.lat*r,l=e*r,h=Math.asin(Math.sin(c)*Math.cos(d)+Math.cos(c)*Math.sin(d)*Math.cos(l)),m=t.lng*r+Math.atan2(Math.sin(l)*Math.sin(d)*Math.cos(c),Math.cos(d)-Math.sin(c)*Math.sin(h));return{lat:h/r,lng:(m/r+540)%360-180}}static trackFromSeen(t,e){const n=t.seen,{fromAzimuthDeg:i,fromAltitudeDeg:r,toAzimuthDeg:o,toAltitudeDeg:a,durationS:s}=n??{};if(i===void 0||r===void 0||o===void 0||a===void 0||!s)return;const d=t.track[0],c=t.track[t.track.length-1],l=d?.t??0,h=d?.altitudeKm??100,m=c?.altitudeKm??h;return[{t:l,...g.placeSeen(e,i,r,h),altitudeKm:h},{t:l+Math.round(s*1e3),...g.placeSeen(e,o,a,m),altitudeKm:m}]}static placeAt(t,e){const n=b.leadAt(t,e);if(n)return{t:e,lat:n.lat,lng:n.lng,altitudeKm:n.heightM/1e3};const i=t.track,[r,o]=e<(i[0]?.t??0)?[i[0],i[1]]:[i[i.length-2],i[i.length-1]];if(!r||!o||o.t===r.t){const s=r??o??{lat:0,lng:0,altitudeKm:80};return{t:e,lat:s.lat,lng:s.lng,altitudeKm:s.altitudeKm}}const a=(e-r.t)/(o.t-r.t);return{t:e,lat:r.lat+(o.lat-r.lat)*a,lng:r.lng+(o.lng-r.lng)*a,altitudeKm:Math.max(0,r.altitudeKm+(o.altitudeKm-r.altitudeKm)*a)}}static curvePointAt(t,e){return{t:e,absoluteMagnitude:Math.round(b.absoluteMagnitudeAt(t,e)*10)/10}}static instantsOf(t){return[...t.track.map(e=>e.t),...t.fragments.flatMap(e=>[...e.fromT===void 0?[]:[e.fromT],...e.untilT===void 0?[]:[e.untilT],...(e.lightCurve??[]).map(n=>n.t)])]}static instant(t,e,n,i={}){return{type:"number",key:t,min:-3600,max:36e3,step:.1,unit:"s",scale:.001,label:e,hint:n,...i}}static mayBeCatalogued(t){return M.of(t.type)?.nature!=="natural"}static SET={kind:"reentry",title:"fireballOrReEntry",parameters:[{type:"said",key:"title",label:g.NAME},{type:"choice",key:"type",label:"type",hint:"whatCameInNaturalOrPut",empty:"notKnown",choices:[],optionsOf:t=>{const e=t.type,n=M.all().map(i=>({value:i.key,label:M.nameOf(i.key)}));return e===void 0||n.some(i=>i.value===e)?n:[...n,{value:e,label:e}]}},{type:"text",key:"object.name",group:g.OBJECT,visibleWhen:g.mayBeCatalogued,label:"catalogueName",hint:"forAReEntryThePiece"},{type:"text",key:"object.cosparId",group:g.OBJECT,visibleWhen:g.mayBeCatalogued,label:"cosparId",placeholder:"t1968013c"},{type:"number",key:"object.norad",min:1,max:999999,step:1,group:g.OBJECT,visibleWhen:g.mayBeCatalogued,label:"noradNumber"},{type:"number",key:"seen.fromAzimuthDeg",min:0,max:360,step:1,unit:"°",group:g.SEEN,label:"appearedAzimuth",hint:"fromTheNorthTowardsTheEast"},{type:"number",key:"seen.fromAltitudeDeg",min:-5,max:90,step:1,unit:"°",group:g.SEEN,label:"appearedHeight",hint:"aboveTheHorizon"},{type:"number",key:"seen.toAzimuthDeg",min:0,max:360,step:1,unit:"°",group:g.SEEN,label:"wentOutAzimuth",hint:"fromTheNorthTowardsTheEast"},{type:"number",key:"seen.toAltitudeDeg",min:-5,max:90,step:1,unit:"°",group:g.SEEN,label:"wentOutHeight",hint:"aboveTheHorizon"},{type:"number",key:"seen.durationS",min:.1,max:3600,step:.1,unit:"s",group:g.SEEN,label:"seenFor",hint:"allSaidThePathIsWorkedOut"}]};static PLACE={kind:"reentry-place",title:"pointOfThePath",parameters:[g.instant("t","time","secondsOfTheRecordingNegativeBefore",{required:!0}),{type:"position",key:"lat",secondKey:"lng",saidKey:"saidPosition",native:"geo",step:1,rangeM:2e6,label:"position"},{type:"number",key:"altitudeKm",min:0,max:300,step:.1,unit:"km",required:!0,label:"altitude",hint:"aboveTheEllipsoidAMeteorBegins"}]};static trackEnd(t,e){const n=t?.track;if(n?.length)return e==="first"?n[0].t:n[n.length-1].t}static FRAGMENT={kind:"reentry-fragment",title:"piece",parameters:[{type:"text",key:"id",label:"id",validate:(t,e,n)=>!n?.fragments.some(i=>i!==e&&i.id===t)},{type:"number",key:"absoluteMagnitude",min:-40,max:10,step:.1,required:!0,group:g.LIGHT,label:"absoluteMagnitude",hint:"itsBrightnessSeenFrom100Km"},{type:"colour",key:"color",group:g.LIGHT,fallback:b.DEFAULT_COLOR,label:"colour"},{type:"number",key:"trainS",min:0,max:600,step:.1,unit:"s",group:g.LIGHT,effective:()=>b.DEFAULT_TRAIN_S,label:"train",hint:"howLongAStretchOfIts"},{type:"number",key:"lagS",min:0,max:600,step:.1,unit:"s",group:g.WHEN,effective:()=>0,label:"behindTheLead",hint:"secondsBehindTheLeadingPointAlong"},g.instant("fromT","seenFrom","whenItBreaksOffOrBegins",{group:g.WHEN,effective:(t,e)=>g.trackEnd(e,"first")}),g.instant("untilT","outAt","whenItHasBurnedUpOr",{group:g.WHEN,effective:(t,e)=>g.trackEnd(e,"last")})]};static CURVE_POINT={kind:"reentry-curve-point",title:"pointOfTheLightCurve",parameters:[g.instant("t","time","secondsOfTheRecording",{required:!0}),{type:"number",key:"absoluteMagnitude",min:-40,max:10,step:.1,required:!0,label:"absoluteMagnitude"}]}}const $=w.catalog({en:()=>I(()=>import("./ReentryEditorMessages_en-BmTZMr-m.js"),[],import.meta.url).then(v=>v.reentryEditorMessages_en),fr:()=>I(()=>import("./ReentryEditorMessages_fr-DHbcY0tN.js"),[],import.meta.url).then(v=>v.reentryEditorMessages_fr),es:()=>I(()=>import("./ReentryEditorMessages_es-edid__Jo.js"),[],import.meta.url).then(v=>v.reentryEditorMessages_es),it:()=>I(()=>import("./ReentryEditorMessages_it-CIzkIU4G.js"),[],import.meta.url).then(v=>v.reentryEditorMessages_it)});class u{static TIME_MARGIN_MIN=6;static HEADING_MARGIN_DEG=45;static ELEVATION_LOW_FACTOR=.3;static ELEVATION_SLACK_DEG=5;static DURATION_FACTOR=3;static ARCHIVED_MAGNITUDE=-3;static WATCHED_KM=600;static WATCHED_COUNT=5;static NIGHT_SUN_DEG=-12;static SHOWER_MARGIN_DEG=20;static RADIANT_BELOW_DEG=-10;static FIRST_ORBIT_MS=Date.UTC(1957,9,4);static shared={fireballs:new E,reentries:new O};static viewOf(t,e,n){const i=t.track;if(i.length<2)return;const r=i[0],o=i[i.length-1],a=t.seen,s=m=>b.seenFrom(n,{lat:m.lat,lng:m.lng,heightM:m.altitudeKm*1e3}),d=a?.fromAzimuthDeg!==void 0&&a.fromAltitudeDeg!==void 0?{azimuthDeg:a.fromAzimuthDeg,altitudeDeg:a.fromAltitudeDeg}:s(r),c=a?.toAzimuthDeg!==void 0&&a.toAltitudeDeg!==void 0?{azimuthDeg:a.toAzimuthDeg,altitudeDeg:a.toAltitudeDeg}:s(o),l=a?.durationS??(o.t-r.t)/1e3,h=Math.min(...t.fragments.flatMap(m=>[m.absoluteMagnitude,...(m.lightCurve??[]).map(f=>f.absoluteMagnitude)]));return{startMs:e.getTime()+r.t,durationS:l,from:{azimuthDeg:d.azimuthDeg,altitudeDeg:d.altitudeDeg},to:{azimuthDeg:c.azimuthDeg,altitudeDeg:c.altitudeDeg},peakAbsoluteMagnitude:h}}static azimuthOff(t,e){const n=Math.abs(((t-e)%360+360)%360);return Math.min(n,360-n)}static elevationOff(t,e){const n=Math.max(0,t*u.ELEVATION_LOW_FACTOR)-u.ELEVATION_SLACK_DEG,i=t+u.ELEVATION_SLACK_DEG;return e<n?n-e:e>i?e-i:0}static matchFireball(t,e,n){const i=e.t<t.startMs?t.startMs-e.t:0,r=e.t>t.startMs?e.t-t.startMs:0;if(Math.max(i,r)>u.TIME_MARGIN_MIN*6e4)return;const o=b.seenFrom(n,{lat:e.from[0],lng:e.from[1],heightM:e.from[2]*1e3}),a=b.seenFrom(n,{lat:e.to[0],lng:e.to[1],heightM:e.to[2]*1e3});if(o.altitudeDeg<0&&a.altitudeDeg<0)return;const s=Math.max(u.azimuthOff(t.from.azimuthDeg,o.azimuthDeg),u.azimuthOff(t.to.azimuthDeg,a.azimuthDeg));if(s>u.HEADING_MARGIN_DEG||Math.max(u.elevationOff(t.from.altitudeDeg,o.altitudeDeg),u.elevationOff(t.to.altitudeDeg,a.altitudeDeg))>0)return;const c=u.DURATION_FACTOR;if(!(e.durationS>0&&(t.durationS<e.durationS/c||t.durationS>e.durationS*c)))return{record:e,offsetMinutes:Math.round((i+r)/6e4),headingOffDeg:Math.round(s),altitudeOffDeg:Math.round(Math.abs(a.altitudeDeg-t.to.altitudeDeg))}}static async check(t,e,n,i=u.shared){if(!e||!n)return[{verdict:"unchecked",source:"none",reason:"noDateOrPlace"}];const r=u.viewOf(t,e,n);if(!r)return[{verdict:"unchecked",source:"none",reason:"noDateOrPlace"}];const o=M.of(t.type)?.nature,a=[];if(o!=="artificial"&&a.push(...await u.checkFireballs(r,n,o==="natural",i)),o!=="artificial"){const s=u.showerOf(r,n);s&&(s.verdict==="compatible"||o==="natural")&&a.push(s)}return o!=="natural"&&a.push(...await u.checkCatalogue(t,r,n,o==="artificial",i)),o===void 0&&!a.some(s=>s.verdict==="known"||s.verdict==="possible"||s.verdict==="compatible")?[...a.filter(s=>s.verdict==="unchecked"),{verdict:"uninformative",source:"none",reason:"typeUnknown"}]:a}static vectorOf(t,e){const n=Math.PI/180,i=e*n,r=t*n;return[Math.cos(i)*Math.sin(r),Math.cos(i)*Math.cos(r),Math.sin(i)]}static angleDeg(t,e){return Math.acos(Math.max(-1,Math.min(1,t[0]*e[0]+t[1]*e[1]+t[2]*e[2])))*180/Math.PI}static showerOf(t,e){const n=u.vectorOf(t.from.azimuthDeg,t.from.altitudeDeg),i=u.vectorOf(t.to.azimuthDeg,t.to.altitudeDeg),r=u.angleDeg(n,i);if(r<1)return;const o=[n[1]*i[2]-n[2]*i[1],n[2]*i[0]-n[0]*i[2],n[0]*i[1]-n[1]*i[0]],a=Math.hypot(o[0],o[1],o[2]),s=new Date(t.startMs),d=C.activeAt(s);let c;for(const{shower:l,zhr:h}of d){const m=C.radiantPosition(l,s,{lat:e.lat,lng:e.lng,elevationM:e.heightM});if(m.altitudeDeg<u.RADIANT_BELOW_DEG)continue;const f=u.vectorOf(m.azimuthDeg,m.altitudeDeg),p=Math.asin(Math.min(1,Math.abs((f[0]*o[0]+f[1]*o[1]+f[2]*o[2])/a)))*180/Math.PI,y=u.angleDeg(f,n),A=u.angleDeg(f,i);y>=A||A<=r||p<=u.SHOWER_MARGIN_DEG&&(!c||p<c.offDeg)&&(c={showerId:l.id,offDeg:Math.round(p),zhr:Math.round(h)})}return c?{verdict:"compatible",source:"showers",...c}:{verdict:"sporadic",source:"showers",active:d.length}}static async checkFireballs(t,e,n,i){const r=u.TIME_MARGIN_MIN*6e4;if(!E.mayCover(t.startMs))return n?[{verdict:"uninformative",source:"gmn",reason:"beforeArchive"}]:[];const o=await i.fireballs.between(t.startMs-r,t.startMs+r+t.durationS*1e3);if(o===void 0)return n?[{verdict:"unchecked",source:"gmn",reason:"unreachable"}]:[];const a=o.map(m=>u.matchFireball(t,m,e)).filter(m=>m!==void 0).sort((m,f)=>m.offsetMinutes-f.offsetMinutes||m.headingOffDeg-f.headingOffDeg);if(a.length>0)return[{verdict:"known",source:"gmn",match:a[0]}];if(!n)return[];if(t.peakAbsoluteMagnitude>u.ARCHIVED_MAGNITUDE)return[{verdict:"uninformative",source:"gmn",reason:"faint"}];if(_("Sun",new Date(t.startMs),{lat:e.lat,lng:e.lng,elevationM:0}).altitudeDeg>u.NIGHT_SUN_DEG)return[{verdict:"uninformative",source:"gmn",reason:"daylight"}];const s=new Date(t.startMs),d=Date.UTC(s.getUTCFullYear(),s.getUTCMonth(),1),c=Date.UTC(s.getUTCFullYear(),s.getUTCMonth()+1,1)-1,h=(await i.fireballs.between(d,c)??[]).filter(m=>O.distanceKm(e.lat,e.lng,m.from[0],m.from[1])<=u.WATCHED_KM).length;return h<u.WATCHED_COUNT?[{verdict:"uninformative",source:"gmn",reason:"unwatched"}]:[{verdict:"expectedAbsent",source:"gmn",absoluteMagnitude:t.peakAbsoluteMagnitude,watchedCount:h}]}static async checkCatalogue(t,e,n,i,r){if(e.startMs<u.FIRST_ORBIT_MS)return i?[{verdict:"impossible",source:"catalogue"}]:[];const o=u.TIME_MARGIN_MIN*6e4,a=await r.reentries.candidates(e.startMs-o,e.startMs+o+e.durationS*1e3,n);if(a===void 0)return i?[{verdict:"unchecked",source:"catalogue",reason:"unreachable"}]:[];const s=t.object,d=s&&a.find(l=>s.cosparId&&l.record.cosparId===s.cosparId||s.norad!==void 0&&l.record.norad===s.norad);if(d)return[{verdict:"known",source:"catalogue",candidate:d,by:"object"}];const c=a.find(l=>l.record.precision==="minute"&&l.seenKm!==void 0&&(l.offsetMinutes??0)<=u.TIME_MARGIN_MIN);return c?[{verdict:"known",source:"catalogue",candidate:c,by:"seen"}]:a.length>0?a.slice(0,3).map(l=>({verdict:"possible",source:"catalogue",candidate:l})):i?[{verdict:"expectedAbsent",source:"catalogue"}]:[]}}class T{constructor(t,e,n){this.container=t,this.host=e,N.attach(t,"reentry-editor-part",T.STYLE),this.language=n,this.ready=this.setLanguage(n)}messages;ready;parameterTexts;languageToken=0;currentId;form;list;timeline;placeForm;placeIndex=0;row="path";fragmentForm;fragmentIndex=0;curveForm;curveIndex=0;language;shown=[];static STYLE='.reentry-editor-part { flex-basis: 100%; min-width: 0; } .reentry-editor-part #reentry-timeline { flex-basis: 100%; min-width: 0; padding: 4px 0; } .reentry-editor-part #reentry-path > .icon-btn, .reentry-editor-part #reentry-curve > .icon-btn { align-self: flex-end; } .reentry-editor-part #reentry-list, .reentry-editor-part #reentry-places, .reentry-editor-part #reentry-fragment-list, .reentry-editor-part #reentry-curve-list { flex-basis: 100%; min-width: 0; } .reentry-editor-part .launch-editor, .reentry-editor-part .launch-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .reentry-editor-part .launch-fields { flex-basis: 100%; min-width: 0; } .reentry-editor-part [hidden] { display: none !important; } .reentry-editor-part .reentry-evidence { flex-basis: 100%; } .reentry-editor-part .evidence-known, .reentry-editor-part .evidence-impossible, .reentry-editor-part .evidence-expectedAbsent { font-weight: 600; } .reentry-editor-part select { min-width: 0; width: 100%; } .reentry-editor-part .launch-intro { flex-basis: 100%; margin: 0; } .reentry-editor-part .launch-track { flex-basis: 100%; margin: 0; } .reentry-editor-part .launch-parameters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; } .reentry-editor-part .parameter-group { flex: 1 1 14em; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; align-content: flex-start; } .reentry-editor-part input, .reentry-editor-part select { max-width: 100%; box-sizing: border-box; } .reentry-editor-part input[type="text"] { width: 12em; } .reentry-editor-part input[data-key="title"] { width: 18em; } .reentry-editor-part label { min-width: 0; max-width: 100%; } .reentry-editor-part input.parameter-derived::placeholder { opacity: .65; } .reentry-editor-part .launch-path { flex: 1 1 100%; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; }';async setLanguage(t){const e=++this.languageToken;this.language=t;const[n,i,,r]=await Promise.all([$.load(t),z.load(t),M.load(t),F(t).catch(()=>{})]);e===this.languageToken&&(this.sceneNames=r,this.messages=n,this.parameterTexts=i,this.render(),this.sync())}sync(){if(!this.messages)return;const t=this.reentries;this.shown=[...t],t.some(n=>n.id===this.currentId)||(this.currentId=t[0]?.id),this.list?.setItems(t.map(n=>({id:n.id,label:this.labelOf(n)})),this.currentId),this.list?.setKinds(M.all().map(n=>({value:n.key,label:M.nameOf(n.key)}))),this.syncAddState();const e=this.current;this.element("reentry-fields").hidden=e===void 0,e&&(this.syncPlace(!0),this.syncFragments(e,!0),this.syncEvidence(),this.form??=new D(this.element("reentry-parameters"),this.language,"reentry.",{said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()}),this.form.show(this.resolved(g.SET),new k(()=>this.current,n=>this.editReentry(i=>{i.object&&(i.object={...i.object}),i.seen&&(i.seen={...i.seen}),n(i),i.object&&Object.values(i.object).every(a=>a===void 0||a==="")&&delete i.object;const r=this.origin(),o=r&&g.trackFromSeen(i,r);o&&(i.track=o)})),()=>this.written()))}refresh(){if(!this.messages)return;this.syncAddState();const t=this.reentries;if(t.length===this.shown.length&&t.every((e,n)=>e.id===this.shown[n].id)){this.syncTimeline();return}this.sync()}setTime(t){this.messages&&this.timeline?.setTime(t)}syncAddState(){const t=this.origin()!==void 0;this.list?.setAddState(t,t?void 0:this.messages.addNowhere)}get current(){return this.reentries.find(t=>t.id===this.currentId)}show(t){this.messages&&(this.currentId=t,this.row="path",this.placeIndex=0,this.fragmentIndex=0,this.curveIndex=0,this.sync())}resolved(t){return S.resolve(t,this.parameterTexts)}render(){if(!this.messages)return;const t=this.messages;this.form=void 0,this.evidenceFor=void 0,this.container.innerHTML=`<div class="launch-editor">
2
+ <p class="launch-intro">${t.intro}</p>
3
+ <div id="reentry-list"></div>
4
+ <div id="reentry-fields" class="launch-fields">
5
+ <div id="reentry-parameters" class="launch-parameters"></div>
6
+ <div id="reentry-evidence" class="launch-intro reentry-evidence" aria-live="polite"></div>
7
+ <div id="reentry-timeline"></div>
8
+ <button id="reentry-fragment-add" type="button" title="${t.addFragment}">${x.PLUS} ${t.fragment}</button>
9
+ <p class="launch-intro">${t.timelineNote}</p>
10
+ <fieldset id="reentry-path" class="launch-path">
11
+ <legend>${t.path}</legend>
12
+ <div id="reentry-place-parameters" class="launch-parameters"></div>
13
+ <button id="reentry-place-delete" class="icon-btn" type="button" title="${t.deletePlace}" aria-label="${t.deletePlace}">${x.TRASH}</button>
14
+ </fieldset>
15
+ <fieldset id="reentry-fragments" class="launch-path">
16
+ <legend id="reentry-fragment-legend">${t.fragment}</legend>
17
+ <div id="reentry-fragment-parameters" class="launch-parameters"></div>
18
+ <button id="reentry-fragment-delete" class="icon-btn" type="button" title="${t.deleteFragment}" aria-label="${t.deleteFragment}">${x.TRASH}</button>
19
+ <fieldset id="reentry-curve" class="launch-path">
20
+ <legend>${t.curve}</legend>
21
+ <p id="reentry-curve-empty" class="launch-intro">${t.noCurve}</p>
22
+ <div id="reentry-curve-parameters" class="launch-parameters"></div>
23
+ <button id="reentry-curve-delete" class="icon-btn" type="button" title="${t.deleteCurvePoint}" aria-label="${t.deleteCurvePoint}">${x.TRASH}</button>
24
+ </fieldset>
25
+ </fieldset>
26
+ <p class="launch-intro">${t.derivedNote}</p>
27
+ </div>
28
+ </div>`,this.list=new H({header:this.element("reentry-list"),body:this.element("reentry-fields"),ids:{list:"reentry-select",remove:"reentry-delete",add:"reentry-add",kinds:"reentry-add-kind",kind:e=>`reentry-add-${e}`},onSelect:e=>this.show(e),onAdd:e=>{e&&this.addReentry(e)},onRemove:()=>this.deleteCurrent(),actions:this.host.pointAt?[{id:"reentry-point",glyph:"🎯",onClick:()=>this.pointAtCurrent()}]:[]}),this.list.setLabels({list:t.reentry,remove:t.deleteReentry,add:t.addReentry,empty:t.none,actions:{"reentry-point":t.pointAtReentry}}),this.timeline=new K(this.element("reentry-timeline"),e=>this.host.seekTo(e),{addKeyframeHere:t.addPointHere,keyframeHere:t.pointHere,zoomHint:t.zoomHint}),this.element("reentry-place-delete").addEventListener("click",()=>this.removePlace()),this.element("reentry-curve-delete").addEventListener("click",()=>this.removeCurvePoint()),this.placeForm=void 0,this.element("reentry-fragment-add").addEventListener("click",()=>this.addFragment()),this.element("reentry-fragment-delete").addEventListener("click",()=>this.removeFragment()),this.fragmentForm=void 0,this.curveForm=void 0}written(){const t=this.current;t&&this.list?.rename(t.id,this.labelOf(t)),t?.seen&&this.syncPlace(!0),this.syncEvidence()}sceneNames;evidenceTimer;evidenceFor;syncEvidence(){const t=this.current,e=this.element("reentry-evidence");if(clearTimeout(this.evidenceTimer),!t)return;const n=this.host.sighting(),i=n.event?.place?.[0],r=i?.lng!==void 0&&n.event?.time?P(n.event.time,i.lng,n.event.utcOffsetHours):void 0,o=i?.lat!==void 0&&i.lng!==void 0?{lat:i.lat,lng:i.lng,heightM:0}:void 0,a={reentry:t,at:r?.getTime(),lat:o?.lat,lng:o?.lng},s=this.evidenceFor;s&&s.reentry===a.reentry&&s.at===a.at&&s.lat===a.lat&&s.lng===a.lng||(this.evidenceFor=a,e.textContent=`${this.messages.evidence} — ${this.messages.evidenceChecking}`,this.evidenceTimer=setTimeout(()=>{u.check(t,r,o).then(d=>{if(this.evidenceFor!==a)return;const c=this.messages,l=c.margins.replace("{minutes}",String(u.TIME_MARGIN_MIN)).replace("{heading}",String(u.HEADING_MARGIN_DEG)).replace("{factor}",String(u.DURATION_FACTOR)),h=document.createElement("strong");h.textContent=c.evidence;const m=d.map(p=>{const y=document.createElement("span");return y.className=`evidence-${p.verdict}`,y.textContent=this.findingText(p),y}),f=document.createElement("small");f.textContent=l,e.replaceChildren(h,...m.flatMap(p=>[document.createElement("br"),p]),document.createElement("br"),f)},()=>{this.evidenceFor===a&&(e.textContent="")})},400))}findingText(t){const e=this.messages,n=this.language,i=s=>new Intl.DateTimeFormat(n,{dateStyle:"medium",timeStyle:"short",timeZone:"UTC"}).format(s)+" UTC",r=s=>new Intl.DateTimeFormat(n,{dateStyle:"long",timeZone:"UTC"}).format(s),o=s=>s.toLocaleString(n,{maximumFractionDigits:1}),a=(s,d)=>Object.entries(d).reduce((c,[l,h])=>c.replaceAll(`{${l}}`,h===void 0?"?":String(h)),s);switch(t.verdict){case"known":if(t.source==="gmn"){const{record:s,offsetMinutes:d,headingOffDeg:c}=t.match;return a(e.knownFireball,{id:s.id,time:i(s.t),offset:d,stations:s.stations,mag:o(s.peakMagnitude),heading:c})}else{const{record:s,timeMs:d,seenKm:c}=t.candidate,l={name:s.name,cospar:s.cosparId??s.norad,time:i(d),when:s.precision==="day"?r(d):i(d),place:s.seenFrom,km:c===void 0?void 0:Math.round(c)};return a(t.by==="object"?e.knownObject:e.knownSeen,l)}case"possible":{const{record:s,timeMs:d,seenKm:c,offsetMinutes:l}=t.candidate,h={name:s.name,cospar:s.cosparId??s.norad,time:i(d),day:r(d),hours:s.uncertaintyHours,place:s.seenFrom,km:c===void 0?void 0:Math.round(c),offset:l};return a(s.precision==="minute"?e.possibleSeen:s.precision==="hours"?e.possibleWindow:e.possibleDay,h)}case"expectedAbsent":return t.source==="gmn"?a(e.expectedFireball,{mag:o(t.absoluteMagnitude),count:t.watchedCount,km:u.WATCHED_KM}):e.expectedCatalogue;case"impossible":return e.impossibleOrbit;case"uninformative":return t.source==="none"?e.typeUnknown:t.reason==="faint"?e.faintFireball:t.reason==="beforeArchive"?e.beforeGmn:t.reason==="daylight"?e.daylightGmn:a(e.unwatchedGmn,{km:u.WATCHED_KM});case"compatible":return a(e.compatibleShower,{shower:this.sceneNames?.showers[t.showerId]??t.showerId,off:t.offDeg,zhr:t.zhr,margin:u.SHOWER_MARGIN_DEG});case"sporadic":return t.active===0?e.sporadicNoShower:a(e.sporadicShower,{count:t.active});case"unchecked":return t.reason==="noDateOrPlace"?e.noDateOrPlace:t.source==="gmn"?e.unreachableGmn:e.unreachableCatalogue}}syncTimeline(){const t=this.current;if(!this.timeline||!t)return;const e=this.messages,n=t.track[0]?.t??0,i=t.track[t.track.length-1]?.t??0,r={id:"path",label:e.path,color:T.PATH_COLOR,times:t.track.map(l=>l.t),active:this.row==="path",selectedTime:this.row==="path"?t.track[this.placeIndex]?.t:void 0,open:()=>this.selectPlace(this.placeIndex),pressed:(l,h)=>{const m=h===void 0?-1:(this.current?.track??[]).findIndex(f=>f.t===h);this.selectPlace(m>=0?m:this.placeIndex)},move:(l,h)=>this.movePlace(l,h),add:()=>this.addPlaceAt(this.host.currentTime())},o=t.fragments.map((l,h)=>{const m=l.lightCurve??[];return{id:`fragment-${h}`,label:this.fragmentLabel(l,h),color:T.PIECE_COLOR,times:m.map(f=>f.t),spans:[{t:l.fromT??n,until:l.untilT??i,label:""}],active:this.row==="fragment"&&h===this.fragmentIndex,selectedTime:this.row==="fragment"&&h===this.fragmentIndex?m[this.curveIndex]?.t:void 0,open:()=>this.selectFragment(h),pressed:(f,p)=>{const y=p===void 0?-1:(this.current?.fragments[h]?.lightCurve??[]).findIndex(A=>A.t===p);this.selectFragment(h,y>=0?y:void 0)},move:(f,p)=>this.moveCurvePoint(h,f,p),add:()=>this.addCurvePointAt(h,this.host.currentTime())}}),a=g.instantsOf(t),s=Math.min(...a),d=Math.max(...a),c=Math.max(500,(d-s)/10);this.timeline.show([r,...o],this.host.duration(),this.host.currentTime(),{from:s-c,to:d+c})}static PATH_COLOR="#e08a1e";static PIECE_COLOR="#c0581b";static MIN_PLACES=2;syncPlace(t=!1){const e=this.current?.track??[];this.placeIndex=Math.max(0,Math.min(this.placeIndex,e.length-1)),this.element("reentry-place-delete").disabled=e.length<=T.MIN_PLACES,this.placeForm?this.placeForm.sync(t):(this.placeForm=new D(this.element("reentry-place-parameters"),this.language,"reentryPlace."),this.placeForm.show(this.resolved(g.PLACE),new k(()=>this.current?.track[this.placeIndex],n=>this.editPlace(this.placeIndex,n),void 0,this.host.positionPlace?.()),()=>{})),this.syncTimeline()}selectPlace(t){this.row="path",this.placeIndex=t,this.syncDetail(),this.syncPlace(!0)}syncDetail(){this.element("reentry-path").hidden=this.row!=="path",this.element("reentry-fragments").hidden=this.row!=="fragment";const t=this.currentFragment;this.element("reentry-fragment-legend").textContent=t?`${this.messages.fragment} ${this.fragmentLabel(t,this.fragmentIndex)}`:this.messages.fragment}editPlace(t,e){let n;this.editReentry(i=>{n={...i.track[t]},e(n),i.track=i.track.map((r,o)=>o===t?n:r).sort((r,o)=>r.t-o.t)}),n&&(this.placeIndex=this.current?.track.indexOf(n)??0),this.syncPlace()}movePlace(t,e){const n=this.current?.track.findIndex(i=>i.t===t)??-1;n<0||(this.editPlace(n,i=>{i.t=e}),this.syncPlace(!0))}addPlaceAt(t){const e=this.current;if(!e)return;const n=e.track.findIndex(r=>Math.abs(r.t-t)<1);if(n>=0){this.selectPlace(n);return}const i=g.placeAt(e,t);this.editReentry(r=>{r.track=[...r.track,i].sort((o,a)=>o.t-a.t)}),this.selectPlace(this.current?.track.indexOf(i)??0)}removePlace(){if((this.current?.track.length??0)<=T.MIN_PLACES)return;const t=this.placeIndex;this.editReentry(e=>{e.track=e.track.filter((n,i)=>i!==t)}),this.syncPlace(!0)}static MIN_FRAGMENTS=1;fragmentLabel(t,e){return t.id??String(e+1)}syncFragments(t,e=!1){const n=t.fragments;this.fragmentIndex=Math.max(0,Math.min(this.fragmentIndex,n.length-1)),this.element("reentry-fragment-delete").disabled=n.length<=T.MIN_FRAGMENTS,this.syncDetail(),this.fragmentForm?this.fragmentForm.sync(e):(this.fragmentForm=new D(this.element("reentry-fragment-parameters"),this.language,"reentryFragment."),this.fragmentForm.show(this.resolved(g.FRAGMENT),new k(()=>this.currentFragment,i=>this.editFragment(r=>i(r)),()=>this.current),()=>{})),this.syncCurve(e)}selectFragment(t,e){const n=t!==this.fragmentIndex;this.row="fragment",this.fragmentIndex=t,e!==void 0?this.curveIndex=e:n&&(this.curveIndex=0),this.current&&this.syncFragments(this.current,!0)}get currentFragment(){return this.current?.fragments[this.fragmentIndex]}editFragment(t,e=this.fragmentIndex){this.editReentry(n=>{const i={...n.fragments[e]};i.lightCurve&&(i.lightCurve=[...i.lightCurve]),t(i),n.fragments=n.fragments.map((r,o)=>o===e?i:r)}),this.syncDetail(),this.syncTimeline()}addFragment(){const t=this.current;if(!t)return;const e=t.fragments[t.fragments.length-1];let n=t.fragments.length+1;for(;t.fragments.some(r=>r.id===`piece-${n}`);)n++;const i={id:`piece-${n}`,lagS:(e?.lagS??0)+1,absoluteMagnitude:(e?.absoluteMagnitude??-4)+1};this.editReentry(r=>{r.fragments=[...r.fragments,i]}),this.selectFragment((this.current?.fragments.length??1)-1)}removeFragment(){if((this.current?.fragments.length??0)<=T.MIN_FRAGMENTS)return;const t=this.fragmentIndex;this.editReentry(e=>{e.fragments=e.fragments.filter((n,i)=>i!==t)}),this.curveIndex=0,this.selectFragment(Math.min(t,(this.current?.fragments.length??1)-1))}syncCurve(t=!1){const e=this.currentFragment?.lightCurve??[];this.curveIndex=Math.max(0,Math.min(this.curveIndex,e.length-1)),this.element("reentry-curve-empty").hidden=e.length>0,this.element("reentry-curve-parameters").hidden=e.length===0,this.element("reentry-curve-delete").hidden=e.length===0,this.curveForm?this.curveForm.sync(t):(this.curveForm=new D(this.element("reentry-curve-parameters"),this.language,"reentryCurve."),this.curveForm.show(this.resolved(g.CURVE_POINT),new k(()=>this.currentFragment?.lightCurve?.[this.curveIndex],n=>this.editCurvePoint(this.fragmentIndex,this.curveIndex,n)),()=>{})),this.syncTimeline()}editCurvePoint(t,e,n){let i;this.editFragment(r=>{const o=r.lightCurve??[];i={...o[e]},n(i),r.lightCurve=o.map((a,s)=>s===e?i:a).sort((a,s)=>a.t-s.t)},t),i&&(this.curveIndex=this.current?.fragments[t]?.lightCurve?.indexOf(i)??0),this.syncCurve()}moveCurvePoint(t,e,n){const i=this.current?.fragments[t]?.lightCurve?.findIndex(r=>r.t===e)??-1;i<0||(this.fragmentIndex=t,this.editCurvePoint(t,i,r=>{r.t=n}),this.syncFragments(this.current,!0))}addCurvePointAt(t,e){const n=this.current?.fragments[t];if(!n)return;const i=(n.lightCurve??[]).findIndex(o=>Math.abs(o.t-e)<1);if(i>=0){this.selectFragment(t,i);return}const r=g.curvePointAt(n,e);this.editFragment(o=>{o.lightCurve=[...o.lightCurve??[],r].sort((a,s)=>a.t-s.t)},t),this.selectFragment(t,this.current?.fragments[t]?.lightCurve?.indexOf(r)??0)}removeCurvePoint(){if(!this.currentFragment?.lightCurve?.length)return;const t=this.curveIndex;this.editFragment(e=>{const n=(e.lightCurve??[]).filter((i,r)=>r!==t);n.length?e.lightCurve=n:delete e.lightCurve}),this.syncCurve(!0)}editReentry(t){const e=this.current;if(!e)return;const n={...e,track:[...e.track],fragments:[...e.fragments]};t(n),this.writeReentries(this.reentries.map(i=>i===e?n:i)),this.host.changed()}pointAtCurrent(){const t=this.current,e=t?.track;if(!t||!e||e.length<2||!this.host.pointAt)return;const n=e[0].t,i=e[e.length-1].t;let r=this.host.currentTime();(r<n||r>i)&&(r=Math.round(n+Math.min(1e3,(i-n)/2)),this.host.seekTo(r));const o=this.host.sighting(),a=G(o,r),s=o.event?.place?.[0],d=a?.lat??s?.lat,c=a?.lng??s?.lng,l=b.leadAt(t,r);if(d===void 0||c===void 0||!l)return;const h=b.seenFrom({lat:d,lng:c,heightM:a?.elevationM??0},l);this.host.pointAt(h.azimuthDeg,h.altitudeDeg)}origin(){const t=this.host.sighting(),e=t.event?.place?.[0];if(!(e?.lat===void 0||e.lng===void 0))return{lat:e.lat,lng:e.lng,headingRad:(t.observerTrack?.getInterpolatedPoseAt(0)?.headingDeg??0)*Math.PI/180}}newOf(t){const e=this.origin(),n=M.of(t);if(!e||!n)return;const{distanceKm:i,speedKmS:r,durationS:o,fromAltitudeKm:a,toAltitudeKm:s,fragments:d}=n.template,c=Math.round(this.host.currentTime()),l=Math.max(.05,Math.cos(e.lat*Math.PI/180)),h=(f,p)=>{const y=f*Math.cos(e.headingRad)-p*Math.sin(e.headingRad),A=f*Math.sin(e.headingRad)+p*Math.cos(e.headingRad);return{lat:e.lat+y/111.32,lng:e.lng+A/(111.32*l)}},m=r*o/2;return{type:t,track:[{t:c,...h(i,-m),altitudeKm:a},{t:c+o*1e3,...h(i,m),altitudeKm:s}],fragments:d.map(f=>({...f,...f.sheds?{sheds:[...f.sheds]}:{}}))}}addReentry(t){const e=this.newOf(t);if(!e)return;let n=this.reentries.length+1;for(;this.reentries.some(r=>r.id===`${t}-${n}`);)n++;const i={id:`${t}-${n}`,...e};this.writeReentries([...this.reentries,i]),this.host.changed(),this.show(i.id)}deleteCurrent(){const t=this.current;t&&(this.currentId=void 0,this.writeReentries(this.reentries.filter(e=>e!==t)),this.host.changed(),this.sync())}writeReentries(t){const e=this.host.sighting();e.skyEvents=L.written({...e.skyEvents,reentries:t})}labelOf(t){const e=this.host.said().read(t.title)||t.object?.name||(t.type===void 0?"":M.nameOf(t.type));return e?`${e} (${t.id})`:t.id}get reentries(){return this.host.sighting().skyEvents?.reentries??[]}element(t){return this.container.querySelector(`#${t}`)}}export{T as ReentryEditor};
@@ -0,0 +1 @@
1
+ import{bh as S,bi as f,bb as R,bc as b,bj as G,bk as _,bl as F,q as N}from"./ShareDialogElement-CBeU9ChH.js";import{I as y,J as H,w as M,x as w,M as C,V as j,C as k}from"./three.module-CbaHqYFq.js";import"./rr0-ufoathome.mjs";import"./Sighting-B7bsiTIQ.js";import"./VisualAids-DI-hEL46.js";import"./SaidPosition-OJEYhVKN.js";import"./GeoProjection-DvqDbRIx.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";class h{static RADIUS=840;static MAX_SEGMENTS=1024;static VERTICES_PER_SEGMENT=12;static MIN_HALF_WIDTH_DEG=.1;static BRIGHT_HALF_WIDTH_DEG=.22;static TRAIN_SHARE=.9;static TRAIN_FALLOFF=1.2;object=new y;tiers;trains;positions;colors;shown=0;drawn=[];constructor(){this.object.name="reentries",this.tiers=S.map(i=>{const o=new H(new M,f.material(i.size,!1));return f.track(o),o.frustumCulled=!1,this.object.add(o),o});const s=h.MAX_SEGMENTS*h.VERTICES_PER_SEGMENT;this.positions=new Float32Array(s*3),this.colors=new Float32Array(s*3);const t=new M;t.setAttribute("position",new w(this.positions,3)),t.setAttribute("color",new w(this.colors,3)),t.setDrawRange(0,0),this.trains=new C(t,R.material()),this.trains.frustumCulled=!1,R.track(this.trains),this.object.add(this.trains)}nearest(s,t){let i,o=t;for(const e of this.drawn){const n=e.direction.dot(s);(n>o||i&&n===o&&e.magnitude<i.magnitude)&&(o=n,i=e)}return i}static directionOf(s){const{x:t,y:i,z:o}=b(s.altitudeDeg,s.azimuthDeg,1);return new j(t,i,o)}get count(){return this.shown}set(s,t,i,o){const e=this.tiers.map(()=>[]);let n=0,m=0;const a=new k;this.drawn=[];for(const r of s){const u=i(r.head);if(u<=0)continue;const c=r.magnitude-2.5*Math.log10(u);if(c>t)continue;m++,this.drawn.push({direction:h.directionOf(r.head),view:r,magnitude:c}),a.set(r.color);const d=G(c,t)*r.fade,{x:A,y:E,z:g}=b(r.head.altitudeDeg,r.head.azimuthDeg,h.RADIUS),[p,I,T]=o(r.head,c),z=r.fade,D=Math.max(a.r,a.g,a.b)||1;e[_(d)].push({x:A,y:E,z:g,r:p*a.r*z/D,g:I*a.g*z/D,b:T*a.b*z/D}),n=this.pushTrain(n,r.train,d,a)}this.shown=m,this.tiers.forEach((r,u)=>{const c=e[u],d=new Float32Array(c.length*3),A=new Float32Array(c.length*3);c.forEach((g,p)=>{d.set([g.x,g.y,g.z],p*3),A.set([g.r,g.g,g.b],p*3)}),r.geometry.dispose();const E=new M;E.setAttribute("position",new w(d,3)),E.setAttribute("color",new w(A,3)),r.geometry=E});const l=this.trains.geometry;l.setDrawRange(0,n),l.getAttribute("position").needsUpdate=!0,l.getAttribute("color").needsUpdate=!0}pushTrain(s,t,i,o){const e=t.length-1;for(let n=0;n<e;n++){if(s+h.VERTICES_PER_SEGMENT>h.MAX_SEGMENTS*h.VERTICES_PER_SEGMENT)return s;const m=1-n/e,a=1-(n+1)/e,l=b(t[n].altitudeDeg,t[n].azimuthDeg,h.RADIUS),r=b(t[n+1].altitudeDeg,t[n+1].azimuthDeg,h.RADIUS),u=d=>h.RADIUS*((h.MIN_HALF_WIDTH_DEG+h.BRIGHT_HALF_WIDTH_DEG*i*d)*Math.PI/180),c=d=>h.TRAIN_SHARE*i*d**h.TRAIN_FALLOFF;s=this.pushRibbon(s,l,r,u(m),u(a),c(m),c(a),o)}return s}pushRibbon(s,t,i,o,e,n,m,a){const l={x:i.x-t.x,y:i.y-t.y,z:i.z-t.z};if(Math.hypot(l.x,l.y,l.z)<1e-9)return s;const r=this.normalise(this.cross(this.normalise(t),this.normalise(l)));for(const[u,c]of[[-1,0],[0,1]]){const d=this.across(t,r,o,u),A=this.across(i,r,e,u),E=this.across(t,r,o,c),g=this.across(i,r,e,c),p=(I,T)=>I===0?T:0;s=this.push(s,d,p(u,n),a),s=this.push(s,A,p(u,m),a),s=this.push(s,E,p(c,n),a),s=this.push(s,A,p(u,m),a),s=this.push(s,g,p(c,m),a),s=this.push(s,E,p(c,n),a)}return s}across(s,t,i,o){return{x:s.x+t.x*i*o,y:s.y+t.y*i*o,z:s.z+t.z*i*o}}push(s,t,i,o){const e=s*3;this.positions[e]=t.x,this.positions[e+1]=t.y,this.positions[e+2]=t.z;const n=F.relativeOfResponse(Math.max(0,Math.min(1,i)));return this.colors[e]=n*o.r,this.colors[e+1]=n*o.g,this.colors[e+2]=n*o.b,s+1}cross(s,t){return{x:s.y*t.z-s.z*t.y,y:s.z*t.x-s.x*t.z,z:s.x*t.y-s.y*t.x}}normalise(s){const t=Math.hypot(s.x,s.y,s.z)||1;return{x:s.x/t,y:s.y/t,z:s.z/t}}dispose(){for(const s of this.tiers)s.geometry.dispose(),s.material.dispose();this.trains.geometry.dispose(),this.trains.material.dispose(),this.object.removeFromParent()}}class K{inSky=!0;hiddenFromEye=!0;pieces=new h;get object(){return this.pieces.object}get drawnCount(){return this.pieces.count}update(s,t,i){const o=s.length===0?[]:N.viewsAt(s,t,i.observer);o.length===0&&this.pieces.count===0||(this.pieces.set(o,i.magnitudeLimit,e=>i.cloudTransmission(e),(e,n)=>i.arrivingIlluminance(e,n,1)),i.lightFrom(o.map(e=>({position:e.head,magnitude:e.magnitude}))),i.glareFrom(o.map(e=>({key:`${e.reentryId}:${e.fragmentId}`,position:e.head,magnitude:e.magnitude,fade:e.fade}))))}pick(s,t,i){const o=this.pieces.nearest(t,i.nearestCos);return o&&{id:o.view.reentryId,detail:o}}dispose(){this.pieces.dispose()}}export{K as ReentrySimulation};
@@ -0,0 +1 @@
1
+ import{Q as w,aO as M,z as g,L as c,aP as y,M as k,K as O,B as T,a as b,P as E,ac as I}from"./three.module-CbaHqYFq.js";import{R as d}from"./ReferenceTimeline-2kBldQeG.js";import{g as D}from"./GeoProjection-DvqDbRIx.js";import{P as m,a as f}from"./PictureFetch-C3wgf1ZV.js";import{b3 as x}from"./ShareDialogElement-CBeU9ChH.js";import"./rr0-ufoathome.mjs";import"./Sighting-B7bsiTIQ.js";import"./VisualAids-DI-hEL46.js";import"./SaidPosition-OJEYhVKN.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";const v=x.reference,u=800,l=Math.PI/180;class r{constructor(t,i,s=r.fetchImage,e=r.openVideo){this.scene=t,this.onImageLoaded=i,this.loadImage=s,this.loadVideo=e}meshes=new Map;signatures=new Map;images=new Map;loading=new Map;failed=new Map;references=[];views=new Map;shown=!0;observerAt;clock={t:0,playing:!1,timeScale:1};static PRESENT_WITHIN_M=2;static GONE_BEYOND_M=20;static presenceAt(t,i){if(!t.from||!i)return 1;const s=D(i.lat,i.lng,t.from.lat,t.from.lng),a=(Math.hypot(s.x,s.z)-r.PRESENT_WITHIN_M)/(r.GONE_BEYOND_M-r.PRESENT_WITHIN_M),o=Math.min(Math.max(a,0),1);return 1-o*o*(3-2*o)}set(t,i=this.views,s){this.references=t,this.observerAt=s,this.views=i;const e=new Set(t.map(a=>a.id));for(const[a,o]of this.meshes)e.has(a)||(this.dispose(o),this.meshes.delete(a),this.signatures.delete(a));for(const[a,o]of this.images){const n=t.find(p=>p.id===a);if(n&&n.src===o.texture.userData.src&&n.kind==="video"==(o.video!==void 0))continue;r.release(o),this.images.delete(a);const h=this.meshes.get(a);h&&(this.dispose(h),this.meshes.delete(a),this.signatures.delete(a))}for(const a of t){const o=this.images.get(a.id);if(!o){this.load(a);continue}this.build(a,o)}this.follow()}setTime(t){this.clock=t,this.follow()}setShown(t){this.shown=t;for(const i of this.meshes.values())i.visible=t&&this.opacityOf(i.userData.id)>0}setView(t,i){this.views.set(t,i);const s=this.meshes.get(t);s&&this.applyOpacity(s,t)}layer=v;get any(){for(const t of this.meshes.values())if(t.visible)return!0;return!1}place(t){const i=this.held;i&&t.getWorldQuaternion(this.cameraTurn);for(const s of this.meshes.values()){if(!s.visible)continue;s.position.copy(t.position);const e=i?.get(s);e&&s.quaternion.copy(this.cameraTurn).multiply(e),s.updateMatrixWorld()}}hold(t){t.getWorldQuaternion(this.cameraTurn);const i=this.cameraTurn.clone().invert();this.held=new Map([...this.meshes.values()].map(s=>[s,i.clone().multiply(s.quaternion)])),this.registered=new Map([...this.meshes.values()].map(s=>[s,s.quaternion.clone()]))}release(){if(this.held){for(const[t,i]of this.registered??[])t.quaternion.copy(i);this.held=void 0,this.registered=void 0}}registered;held;cameraTurn=new w;get furthestM(){return this.meshes.size>0?u:0}directionOfPixel(t,i,s,e){const a=this.images.get(t.id),o=a?a.width/a.height:1,n=d.registrationAt(t,this.clock.t),h=Math.tan(n.fovDeg/2*l),p=h*o;return e.set((i*2-1)*p,(1-s*2)*h,-1).normalize(),e.applyQuaternion(r.orientation(n))}aspectOf(t){const i=this.images.get(t);return i?i.width/i.height:void 0}failureOf(t){return this.failed.get(t)}follow(){for(const t of this.references){const i=this.meshes.get(t.id),s=this.images.get(t.id)?.video;s&&this.sync(t,s),i&&(t.registrationTrack?.length&&r.point(i,t,d.registrationAt(t,this.clock.t)),t.kind==="video"&&this.applyOpacity(i,t.id))}}sync(t,i){const s=d.mediaSecondsAt(t,this.clock.t,this.clock.timeScale,Number.isFinite(i.duration)?i.duration:void 0);if(s===void 0){i.paused||i.pause();return}const e=d.command(i.currentTime,s,this.clock.playing,d.rateOf(t));i.playbackRate=e.rate,e.seekS!==void 0&&!i.seeking&&(i.currentTime=e.seekS),e.play&&i.paused&&i.play().catch(()=>{}),!e.play&&!i.paused&&i.pause()}load(t){const i=t.src;if(this.loading.has(t.id)||this.failed.has(i))return;const s=t.kind==="video",a=(s?this.loadVideo(i,()=>this.onVideoFrame()):this.loadImage(i)).then(o=>{this.loading.delete(t.id);const n=this.references.find(h=>h.id===t.id);if(!n||n.src!==i||n.kind==="video"!==s){r.release(o);return}o.texture.userData.src=i,this.images.set(t.id,o),this.build(n,o),this.follow(),this.onImageLoaded()},o=>{this.loading.delete(t.id),this.failed.set(i,m.failureOf(o)),this.onImageLoaded()});this.loading.set(t.id,a)}onVideoFrame(){this.follow(),this.onFrame?.()}onFrame;static openVideo(t,i){return new Promise((s,e)=>{const a=document.createElement("video");a.crossOrigin="anonymous",a.muted=!0,a.playsInline=!0,a.preload="auto",a.addEventListener("loadeddata",()=>{const o=new M(a);o.colorSpace=g,o.minFilter=c,o.magFilter=c,o.generateMipmaps=!1,a.addEventListener("seeked",i);const n=()=>{a.paused&&i(),a.src&&a.requestVideoFrameCallback(n)};"requestVideoFrameCallback"in a&&a.requestVideoFrameCallback(n),s({texture:o,width:a.videoWidth,height:a.videoHeight,video:a})},{once:!0}),a.addEventListener("error",()=>{m.whyVideoUnread(t).then(o=>e(new f(t,o)))},{once:!0}),a.src=t})}static release(t){t.texture.dispose();const i=t.video;i&&(i.pause(),i.removeAttribute?.("src"),i.load?.())}static async fetchImage(t){const i=await m.blob(t),s=await createImageBitmap(i,{imageOrientation:"flipY"}).catch(()=>{throw new f(t,{kind:"notPicture"})}),e=new y(s);return e.flipY=!1,e.colorSpace=g,e.minFilter=c,e.magFilter=c,e.generateMipmaps=!1,e.needsUpdate=!0,{texture:e,width:s.width,height:s.height}}build(t,i){const s=r.signatureOf(t,i);let e=this.meshes.get(t.id);if(e&&this.signatures.get(t.id)===s){this.applyOpacity(e,t.id);return}e&&(this.dispose(e),this.meshes.delete(t.id)),e=new k(r.geometryOf(t,i),new O({map:i.texture,transparent:!0,depthTest:!1,depthWrite:!1,fog:!1,toneMapped:!1})),t.kind==="panorama"&&(e.material.side=T),e.frustumCulled=!1,e.layers.set(v),e.userData.id=t.id,r.point(e,t,d.registrationAt(t,this.clock.t)),this.scene.add(e),this.meshes.set(t.id,e),this.signatures.set(t.id,s),this.applyOpacity(e,t.id)}static geometryOf(t,i){if(t.kind==="panorama"){const o=new b(u,64,32,Math.PI/2,Math.PI*2),n=o.attributes.uv;for(let h=0;h<n.count;h++)n.setX(h,1-n.getX(h));return n.needsUpdate=!0,o}const s=2*u*Math.tan(t.registration.fovDeg/2*l),e=s*(i.width/Math.max(i.height,1)),a=new E(e,s);return a.translate(0,0,-u),a}static orientation({headingDeg:t,pitchDeg:i,rollDeg:s}){const e=new I;return e.rotation.set(i*l,-t*l,-(s??0)*l,"YXZ"),e.quaternion}static point(t,i,s){if(t.quaternion.copy(r.orientation(s)),i.kind==="panorama")return;const e=Math.tan(s.fovDeg/2*l)/Math.tan(i.registration.fovDeg/2*l);t.scale.set(e,e,1)}inTime(t){if(t.kind!=="video")return!0;const i=this.images.get(t.id)?.video?.duration;return d.mediaSecondsAt(t,this.clock.t,this.clock.timeScale,i!==void 0&&Number.isFinite(i)?i:void 0)!==void 0}opacityOf(t){const i=this.references.find(a=>a.id===t);if(i&&!this.inTime(i))return 0;const s=this.views.get(t),e=i?r.presenceAt(i,this.observerAt):1;return(s?.opacity??i?.opacity??0)*e}applyOpacity(t,i){const s=this.opacityOf(i);t.material.opacity=s,t.visible=this.shown&&s>0}static signatureOf(t,i){const{headingDeg:s,pitchDeg:e,rollDeg:a,fovDeg:o}=t.registration;return[t.kind,t.src,i.width,i.height,s,e,a??0,o].join("|")}dispose(t){this.scene.remove(t),t.geometry.dispose(),t.material.dispose()}disposeAll(){for(const t of this.meshes.values())this.dispose(t);this.meshes.clear(),this.signatures.clear();for(const t of this.images.values())r.release(t);this.images.clear()}}export{v as REFERENCE_LAYER,r as ReferenceSystem};
@@ -0,0 +1 @@
1
+ import{g as D}from"./GeoProjection-DvqDbRIx.js";class M{static MIN_ROAD_M=5.5;static WIDE_ROAD_M=9;static LINE_WIDTH_M=.12;static DASH_M=3;static GAP_M=10;static RIVE_DASH_M=2.5;static RIVE_GAP_M=3.5;static MIN_DASH_M=.5;static LANE_M=3.5;static SHOULDER_MIN_M=1.5;static SOLID_EDGE_FROM_M=7;static SOLID_EDGE_FROM_KMH=80;static BEND_RADIUS_M=300;static EDGE_SETBACK_M=.4;static PAINT_RADIUS_M=450;static LIFT_M=.015;static BARRIER_MAX_AXES_M=40;static BARRIER_MIN_AXES_M=5;static BARRIER_HEIGHT_M=.8;static BARRIER_HALF_WIDTH_M=.2;static BARRIER_STEP_M=4;static painted(t){return t.surface==="paved"&&t.widthM>=M.MIN_ROAD_M&&t.kind!=="roundabout"}static plan(t){if(!M.painted(t))return[];const u=t.widthM,l=u/2,i=M.EDGE_SETBACK_M;if(!(t.direction!==void 0&&t.lanes!==void 0)){const I=[{offsetM:l-i,pattern:"solid"},{offsetM:-(l-i),pattern:"solid"}],A=u>=M.WIDE_ROAD_M?[-u/4,u/4]:[0];for(const x of A)I.push({offsetM:x,pattern:"dashed"});return I}const s=t.lanes,n=u>=M.SOLID_EDGE_FROM_M||(t.speedKmh??0)>=M.SOLID_EDGE_FROM_KMH?"solid":"rive";if(t.direction==="both"){if(s<2)return[];const I=[{offsetM:l-i,pattern:n},{offsetM:-(l-i),pattern:n}];if(s>=4){I.push({offsetM:.1,pattern:"solid"},{offsetM:-.1,pattern:"solid"});const A=Math.floor(s/2),x=u/s;for(let z=1;z<A;z++)I.push({offsetM:z*x,pattern:"dashed"},{offsetM:-z*x,pattern:"dashed"})}else I.push({offsetM:0,pattern:"dashed",solidInBends:!0});return I}const r=t.direction==="backward"?-1:1,o=I=>r*(l-I),c=Math.min(M.LANE_M,u/Math.max(s,1)),h=s*c,d=u-h,_=(t.kind==="motorway"||t.kind==="dual")&&d>=M.SHOULDER_MIN_M,E=[{offsetM:o(i),pattern:t.kind==="motorway"||t.kind==="dual"?"solid":n}];E.push({offsetM:o(_?h:u-i),pattern:t.kind==="motorway"||t.kind==="dual"?"solid":n});for(let I=1;I<s;I++)E.push({offsetM:o(I*c),pattern:"dashed"});return E}static lay(t,u,l,i){let e=0;const s=(f,n)=>{i(f,M.LINE_WIDTH_M,{offsetM:n,liftM:M.LIFT_M,minHalfM:M.LINE_WIDTH_M/2}),e++};for(const f of t){const n=M.plan(f);if(n.length===0)continue;const r=f.points.map(o=>D(o.lat,o.lng,u,l));for(const o of M.near(r,M.PAINT_RADIUS_M))for(const c of n){if(c.pattern==="solid"){s(o,c.offsetM);continue}const[h,d]=c.pattern==="dashed"?[M.DASH_M,M.GAP_M]:[M.RIVE_DASH_M,M.RIVE_GAP_M];for(const _ of c.solidInBends?M.byBends(o):[{path:o,bend:!1}])if(_.bend)s(_.path,c.offsetM);else for(const E of M.dashes(_.path,h,d))s(E,c.offsetM)}}return e}static byBends(t){if(t.length<3)return[{path:t,bend:!1}];const u=(e,s)=>Math.atan2(s.x-e.x,-(s.z-e.z)),l=new Array(t.length-1).fill(!1);for(let e=1;e<t.length-1;e++){const s=Math.hypot(t[e].x-t[e-1].x,t[e].z-t[e-1].z),f=Math.hypot(t[e+1].x-t[e].x,t[e+1].z-t[e].z);if(s<1e-6||f<1e-6)continue;let n=Math.abs(u(t[e],t[e+1])-u(t[e-1],t[e]));n>Math.PI&&(n=2*Math.PI-n),(s+f)/2/Math.max(n,1e-6)<M.BEND_RADIUS_M&&(l[e-1]=!0,l[e]=!0)}const i=[];for(let e=0;e<l.length;e++){const s=i.at(-1);s&&s.bend===l[e]?s.path.push(t[e+1]):i.push({path:[t[e],t[e+1]],bend:l[e]})}return i}static barriers(t,u,l){const i=t.filter(n=>(n.kind==="motorway"||n.kind==="dual")&&(n.direction==="forward"||n.direction==="backward")),e=i.map(n=>{const r=n.points.map(o=>D(o.lat,o.lng,u,l));return n.direction==="backward"?[...r].reverse():r}),s=[],f=M.BARRIER_STEP_M;return i.forEach((n,r)=>{for(const o of M.near(e[r],M.PAINT_RADIUS_M)){let c=[];for(const h of M.resample(o,f)){const d=M.midwayToOpposite(h,r,i,e);d?c.push(d):c.length>0&&(c.length>=2&&s.push(c),c=[])}c.length>=2&&s.push(c)}}),s}static midwayToOpposite(t,u,l,i){let e;for(let s=0;s<i.length;s++){if(s===u||l[s].id<l[u].id)continue;const f=i[s];for(let n=0;n<f.length-1;n++){const r=f[n+1].x-f[n].x,o=f[n+1].z-f[n].z,c=r*r+o*o;if(c<1e-9||(r*t.dx+o*t.dz)/Math.sqrt(c)>-.9)continue;const h=Math.max(0,Math.min(1,((t.x-f[n].x)*r+(t.z-f[n].z)*o)/c)),d={x:f[n].x+r*h,z:f[n].z+o*h},_=Math.hypot(t.x-d.x,t.z-d.z);_<M.BARRIER_MIN_AXES_M||_>M.BARRIER_MAX_AXES_M||(!e||_<e.distance)&&(e={distance:_,point:d})}}return e?{x:(t.x+e.point.x)/2,z:(t.z+e.point.z)/2}:void 0}static resample(t,u){const l=[];for(let e=0;e<t.length-1;e++){const s=Math.hypot(t[e+1].x-t[e].x,t[e+1].z-t[e].z);if(s<1e-6)continue;const f=(t[e+1].x-t[e].x)/s,n=(t[e+1].z-t[e].z)/s;for(let r=0;r<s;r+=u)l.push({x:t[e].x+f*r,z:t[e].z+n*r,dx:f,dz:n})}const i=l.at(-1);return i&&l.push({...t[t.length-1],dx:i.dx,dz:i.dz}),l}static barrierGeometry(t,u){const l=[],i=[],e=M.BARRIER_HALF_WIDTH_M;for(const s of t){if(s.length<2)continue;const f=l.length/3;for(let n=0;n<s.length;n++){const r=s[Math.max(0,n-1)],o=s[Math.min(s.length-1,n+1)],c=Math.hypot(o.x-r.x,o.z-r.z)||1,h=-(o.z-r.z)/c*e,d=(o.x-r.x)/c*e,_=u(s[n].x,s[n].z);l.push(s[n].x+h,_,s[n].z+d,s[n].x+h,_+M.BARRIER_HEIGHT_M,s[n].z+d,s[n].x-h,_+M.BARRIER_HEIGHT_M,s[n].z-d,s[n].x-h,_,s[n].z-d)}for(let n=0;n<s.length-1;n++){const r=f+n*4,o=r+4;for(let c=0;c<3;c++)i.push(r+c,o+c,r+c+1,r+c+1,o+c,o+c+1)}}return{positions:l,indices:i}}static near(t,u){const l=[];let i;for(let e=0;e<t.length-1;e++)Math.min(Math.hypot(t[e].x,t[e].z),Math.hypot(t[e+1].x,t[e+1].z))<=u||Math.hypot((t[e].x+t[e+1].x)/2,(t[e].z+t[e+1].z)/2)<=u?(i||(i=[t[e]]),i.push(t[e+1])):i&&(l.push(i),i=void 0);return i&&l.push(i),l}static dashes(t,u,l){const i=[],e=u+l;let s=0,f;const n=(o,c)=>({x:t[o].x+(t[o+1].x-t[o].x)*c,z:t[o].z+(t[o+1].z-t[o].z)*c});for(let o=0;o<t.length-1;o++){const c=Math.hypot(t[o+1].x-t[o].x,t[o+1].z-t[o].z);if(c<1e-6)continue;let h=0;for(;h<c;){const d=(s+h)%e,_=d<u,E=_?u-d:e-d,I=Math.min(c,h+E);_&&(f||(f=[n(o,h/c)]),f.push(n(o,I/c)),I-h>=E-1e-9&&(i.push(f),f=void 0)),h=I}s+=c}f&&f.length>=2&&i.push(f);const r=o=>o.slice(1).reduce((c,h,d)=>c+Math.hypot(h.x-o[d].x,h.z-o[d].z),0);return i.filter(o=>o.length>=2&&r(o)>=M.MIN_DASH_M)}}export{M as RoadMarkings};
@@ -0,0 +1,4 @@
1
+ import{g as o,l as A}from"./GeoProjection-DvqDbRIx.js";class n{static read(e,r){let a=e;for(const d of r.split(".")){if(a=n.bare(a),a===null||typeof a!="object")return;a=a[d]}return n.bare(a)}static write(e,r,a){const d=r.split("."),h=[];let l=e;for(let i=0;i<d.length-1;i++){let c=n.bare(l[d[i]]);if(c===null||typeof c!="object"||Array.isArray(c)){if(a===void 0)return;c={}}l[d[i]]=c,h.push({owner:l,part:d[i]}),l=c}const p=d[d.length-1];a===void 0?delete l[p]:l[p]=a;for(let i=h.length-1;i>=0;i--){const c=h[i].owner[h[i].part];if(Object.keys(c).length>0)break;delete h[i].owner[h[i].part]}}static stated(e,r){return n.read(e,r)!==void 0}static bare(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&"value"in e&&"basis"in e?e.value:e}}class w{static sets=new Map;static publish(e){w.sets.set(e.kind,e)}static of(e){return w.sets.get(e)}static kinds(){return[...w.sets.keys()]}}class E{static resolved=new WeakMap;static resolve(e,r){let a=E.resolved.get(e);a||E.resolved.set(e,a=new WeakMap);let d=a.get(r);if(!d){const h=r,l=i=>{if(typeof i!="string")return i;if(typeof h[i]=="string")return h[i];const c=i.split(" ");return c.length>1&&c.every(s=>typeof h[s]=="string")?c.map(s=>h[s]).join(" "):i},p=i=>i.map(c=>({...c,label:l(c.label)}));d={...e,title:l(e.title),parameters:e.parameters.map(i=>{const c={...i,label:l(i.label),hint:l(i.hint),summary:l(i.summary),group:l(i.group),..."placeholder"in i?{placeholder:l(i.placeholder)}:{},..."empty"in i?{empty:l(i.empty)}:{}};if(c.type==="choice"){const s=c.optionsOf;return{...c,choices:p(c.choices),...s?{optionsOf:(v,y)=>p(s(v,y))}:{}}}if(c.type==="set"){const s=c.options;return{...c,options:(v,y)=>p(s(v,y))}}return c})},a.set(r,d)}return d}static missing(e,r){const a=r,d=new Set,h=l=>{if(typeof l=="string")for(const p of l.split(" "))/^[a-z][A-Za-z0-9]*$/.test(p)&&a[p]===void 0&&d.add(p)};h(e.title);for(const l of e.parameters)if(h(l.label),h(l.hint),h(l.summary),h(l.group),"placeholder"in l&&h(l.placeholder),"empty"in l&&h(l.empty),l.type==="choice")for(const p of l.choices)h(p.label);return[...d]}}class t{static draw(e,r="none"){return`<svg class="icon" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true" fill="${r}" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">${e}</svg>`}static TRASH=t.draw('<path d="M2.5 4.5h11"/><path d="M6 4.5V3h4v1.5"/><path d="M4 4.5l.7 9h6.6l.7-9"/><path d="M6.8 7v4.5M9.2 7v4.5"/>');static TARGET=t.draw('<circle cx="8" cy="8" r="5"/><circle cx="8" cy="8" r="1.6"/><path d="M8 1v2.2M8 12.8V15M1 8h2.2M12.8 8H15"/>');static PLAY=t.draw('<path d="M5 3.2v9.6L12.6 8z"/>',"currentColor");static PAUSE=t.draw('<path d="M5.5 3.5v9M10.5 3.5v9"/>');static RECORD=t.draw('<circle cx="8" cy="8" r="4.2" fill="var(--error, #d93025)" stroke="none"/>');static STOP=t.draw('<rect x="4" y="4" width="8" height="8" rx="1.2"/>',"currentColor");static PREVIOUS_MARK=t.draw('<path d="M6.5 4 2.5 8l4 4"/><path d="M11 5.2 13.8 8 11 10.8 8.2 8z"/>');static NEXT_MARK=t.draw('<path d="M9.5 4l4 4-4 4"/><path d="M5 5.2 7.8 8 5 10.8 2.2 8z"/>');static CLOSE=t.draw('<path d="M4 4l8 8M12 4l-8 8"/>');static PLUS=t.draw('<path d="M8 3v10M3 8h10"/>');static COPY=t.draw('<rect x="5.5" y="5.5" width="8" height="8" rx="1.3"/><path d="M10.5 3.2h-7a1.3 1.3 0 0 0-1.3 1.3v7"/>');static CLOCK=t.draw('<circle cx="8" cy="8" r="6"/><path d="M8 4.6V8l2.4 1.6"/>');static INTERVIEW=t.draw('<path d="M13.3 9.2a1.6 1.6 0 0 1-1.6 1.6H6.2L3 13.4V4.4a1.6 1.6 0 0 1 1.6-1.6h7.1a1.6 1.6 0 0 1 1.6 1.6z"/><path d="M5.8 6.1h5.1M5.8 8.4h3.2"/>');static LOCK=t.draw('<rect x="3.2" y="7.2" width="9.6" height="6.4" rx="1.4"/><path d="M5.6 7.2V5.4a2.4 2.4 0 0 1 4.8 0v1.8"/>');static LOCK_OPEN=t.draw('<rect x="3.2" y="7.2" width="9.6" height="6.4" rx="1.4"/><path d="M5.6 7.2V5.4a2.4 2.4 0 0 1 4.6-.7"/>');static METEOR=t.draw('<path d="M2.5 2.5l7 7"/><path d="M5.5 2.5l5 5"/><circle cx="11.5" cy="11.5" r="2"/>');static COMET=t.draw('<circle cx="11" cy="11" r="2.4"/><path d="M9.3 9.3 2.5 2.5M9 11.2 3 7M11.2 9 7 3"/>');static STAR=t.draw('<path d="M8 2.2l1.7 3.6 3.9.5-2.9 2.7.8 3.9L8 11l-3.5 1.9.8-3.9-2.9-2.7 3.9-.5z"/>');static SATELLITE=t.draw('<rect x="6.3" y="6.3" width="3.4" height="3.4" transform="rotate(45 8 8)"/><path d="M5.4 5.4 3 3M10.6 10.6 13 13"/><path d="M1.8 4.2 4.2 1.8M11.8 14.2l2.4-2.4"/><path d="M10.5 3.5a3 3 0 0 1 2 2"/>');static FIREBALL=t.draw('<circle cx="10.5" cy="10.5" r="2.6"/><path d="M8.6 8.6 3 3M8 10.6 4.5 8.5M10.6 8 8.5 4.5"/>');static SUMMARY=t.draw('<rect x="3" y="2" width="10" height="12" rx="1.5"/><path d="M5.5 5.5h5M5.5 8h5M5.5 10.5h3"/>');static WITNESS=t.draw('<circle cx="8" cy="5" r="2.6"/><path d="M2.8 14c.6-3 2.6-4.6 5.2-4.6s4.6 1.6 5.2 4.6"/>');static LOCATION=t.draw('<path d="M8 14.3s4.5-4.3 4.5-7.8a4.5 4.5 0 0 0-9 0c0 3.5 4.5 7.8 4.5 7.8z"/><circle cx="8" cy="6.5" r="1.6"/>');static DATE=t.draw('<rect x="2.3" y="3.3" width="11.4" height="10.4" rx="1.5"/><path d="M2.3 6.6h11.4M5.3 1.8v2.8M10.7 1.8v2.8"/>');static ENVIRONMENT=t.draw('<path d="M1.5 14h13"/><path d="M2.8 14V8.3L6.3 5.5l3.5 2.8V14"/><path d="M12.2 14V9.4"/><circle cx="12.2" cy="7.4" r="2.1"/>');static SKY=t.draw('<path d="M4.6 12.5h7a2.6 2.6 0 0 0 .3-5.2 3.8 3.8 0 0 0-7.3-.6 2.9 2.9 0 0 0 0 5.8z"/>');static PHENOMENON=t.draw('<ellipse cx="8" cy="9" rx="6.3" ry="2.1"/><path d="M4.6 7.8a3.4 3.4 0 0 1 6.8 0"/><path d="M5 13.4l.6-1.4M11 13.4l-.6-1.4M8 14v-1.4"/>');static SOUND=t.draw('<path d="M2.5 6.2h2.3L8 3.5v9L4.8 9.8H2.5z"/><path d="M10.5 6a2.8 2.8 0 0 1 0 4M12.3 4.2a5.4 5.4 0 0 1 0 7.6"/>');static PICTURES=t.draw('<rect x="2" y="3" width="12" height="10" rx="1.5"/><circle cx="5.8" cy="6.4" r="1.2"/><path d="M2.5 12l3.8-3.6 2.4 2.2 2.2-1.8 2.6 2.5"/>');static FILES=t.draw('<path d="M4 1.8h5.2L12.5 5v9.2H4z"/><path d="M9 1.8V5.2h3.5"/>');static RAIN=t.draw('<path d="M4.6 9.3h6.6a2.3 2.3 0 0 0 .3-4.6 3.4 3.4 0 0 0-6.5-.5 2.6 2.6 0 0 0-.4 5.1z"/><path d="M5.6 11.3l-.8 2.2M8.3 11.3l-.8 2.2M11 11.3l-.8 2.2"/>');static WIND=t.draw('<path d="M2 6.2h8.3a2 2 0 1 0-2-2"/><path d="M2 9.6h10.3a1.9 1.9 0 1 1-1.9 1.9"/><path d="M2 13h4.5"/>');static AIRCRAFT=t.draw('<path d="M8 1.8c.6 0 .9.8.9 1.8v3l5.1 2.9v1.3L8.9 9.4v2.8l1.6 1.2v1.1L8 13.8l-2.5.7v-1.1l1.6-1.2V9.4L2 10.8V9.5l5.1-2.9v-3c0-1 .3-1.8.9-1.8z"/>');static LANTERN=t.draw('<path d="M5.2 4.6h5.6l-.9 7.2H6.1z"/><path d="M6.5 4.6V3h3v1.6"/><path d="M8 11.8v2.4"/><path d="M8 7.2c.7.6.7 1.5 0 2.1-.7-.6-.7-1.5 0-2.1z"/>');static BIRD=t.draw('<path d="M1.8 7.8c2-1.8 4-1.6 6.2.9 2.2-2.5 4.2-2.7 6.2-.9"/>');static BALLOON=t.draw('<path d="M8 1.8c2.6 0 4.3 2 4.3 4.4 0 2.7-2.3 4.8-4.3 5.6-2-.8-4.3-2.9-4.3-5.6 0-2.4 1.7-4.4 4.3-4.4z"/><path d="M8 11.8c-.6 1-.2 1.6.4 2.4"/>');static AIRSHIP=t.draw('<ellipse cx="7.4" cy="6.8" rx="5.6" ry="2.9"/><path d="M12.4 5.4 14.6 3.8v6l-2.2-1.6"/><path d="M6 9.7h2.8v1.6H6z"/>');static AURORA=t.draw('<path d="M1.8 6.2c2-2.2 4.2.8 6.2-1.2s4.2.8 6.2-1.2"/><path d="M3.6 6v5.6M6.4 6v7M9.4 5.2v6.2M12.2 4.6v5"/>');static DRONE=t.draw('<rect x="6" y="6.5" width="4" height="3" rx=".8"/><path d="M6 7 3.8 4.8M10 7l2.2-2.2M6 9l-2.2 2.2M10 9l2.2 2.2"/><path d="M2 4.8h3.6M10.4 4.8H14M2 11.2h3.6M10.4 11.2H14"/>');static LAUNCH=t.draw('<path d="M8 1.8c2 1.6 3 3.9 3 6.6V11H5V8.4c0-2.7 1-5 3-6.6z"/><path d="M5 9.2 3.2 11v2.2L5 12M11 9.2l1.8 1.8v2.2L11 12"/><path d="M7 13.2 8 15l1-1.8"/><circle cx="8" cy="6.5" r="1.1"/>');static SEARCHLIGHT=t.draw('<path d="M7.2 12.2 4 4.2M8.8 12.2 12 4.2"/><ellipse cx="3.6" cy="3.2" rx="1.8" ry=".8"/><ellipse cx="12.4" cy="3.2" rx="1.8" ry=".8"/><path d="M6 12.4h4v1.8H6z"/>');static BEAM=t.draw('<path d="M7.4 12.6 4.2 2M8.6 12.6 11.8 2"/><path d="M6.2 12.6h3.6v1.8H6.2z"/>');static SHAPES=t.draw('<circle cx="5.6" cy="6" r="3.2"/><rect x="8.2" y="8.2" width="5.8" height="5.8" rx="1"/>');static BODIES=t.draw('<path d="M8 1.8 13.5 4.8v6.4L8 14.2 2.5 11.2V4.8z"/><path d="M2.5 4.8 8 7.8l5.5-3M8 7.8v6.4"/>');static ID_CARD=t.draw('<rect x="2" y="3.5" width="12" height="9" rx="1.5"/><circle cx="5.8" cy="7.2" r="1.4"/><path d="M3.8 10.8c.4-1.1 1.1-1.6 2-1.6s1.6.5 2 1.6M9.5 6.5h3M9.5 9h2.5"/>');static STRANGE=t.draw('<circle cx="8" cy="8" r="6"/><path d="M6.3 6.3a1.8 1.8 0 1 1 2.5 1.7c-.5.2-.8.6-.8 1.1v.4"/><path d="M8 11.6v.1"/>');static EYE=t.draw('<path d="M1.5 8s2.4-4.3 6.5-4.3S14.5 8 14.5 8 12.1 12.3 8 12.3 1.5 8 1.5 8z"/><circle cx="8" cy="8" r="2"/>');static PERCEPTION=t.draw('<circle cx="8" cy="8" r="2"/><path d="M8 2v2M8 12v2M2 8h2M12 8h2M3.8 3.8l1.4 1.4M10.8 10.8l1.4 1.4M3.8 12.2l1.4-1.4M10.8 5.2l1.4-1.4"/>');static GAUGE=t.draw('<path d="M2.5 11a5.5 5.5 0 0 1 11 0"/><path d="M8 11l2.6-3.2"/><circle cx="8" cy="11" r=".9"/>');static HAZE=t.draw('<path d="M2 5.5h12M3.5 8.5h9M2 11.5h12"/>');static MOON=t.draw('<path d="M10.8 2.6a5.6 5.6 0 1 0 2.6 9.6 4.6 4.6 0 0 1-2.6-9.6z"/>');static SLIDERS=t.draw('<path d="M2.5 4h11M2.5 8h11M2.5 12h11"/><circle cx="6" cy="4" r="1.3" fill="var(--ground-raised, Canvas)"/><circle cx="10.5" cy="8" r="1.3" fill="var(--ground-raised, Canvas)"/><circle cx="5" cy="12" r="1.3" fill="var(--ground-raised, Canvas)"/>');static GLOBE=t.draw('<circle cx="8" cy="8" r="6"/><path d="M2 8h12M8 2c1.8 1.7 2.6 3.7 2.6 6S9.8 12.3 8 14M8 2C6.2 3.7 5.4 5.7 5.4 8s.8 4.3 2.6 6"/>');static GAZE=t.draw('<circle cx="8" cy="8" r="6"/><path d="M10.6 5.4 9 9 5.4 10.6 7 7z"/>');static EVENTS=t.draw('<path d="M2 8h12"/><circle cx="4" cy="8" r="1.4"/><circle cx="8.5" cy="8" r="1.4"/><circle cx="12.5" cy="8" r="1.4"/>');static TOWN=t.draw('<path d="M1.5 13.5h13"/><path d="M3 13.5V9l2.5-2L8 9v4.5"/><path d="M10 13.5v-6h3.5v6"/>');static FLAG=t.draw('<path d="M4 14V2.5"/><path d="M4 3h7.5l-1.8 2.6L11.5 8.2H4"/>');static MIC=t.draw('<rect x="6" y="2" width="4" height="7.5" rx="2"/><path d="M3.8 7.8a4.2 4.2 0 0 0 8.4 0M8 12v2"/>');static CAMERA=t.draw('<path d="M2 5.5h2.6l1.2-1.8h4.4l1.2 1.8H14V13H2z"/><circle cx="8" cy="9" r="2.3"/>');static LANDMARK=t.draw('<path d="M1.5 13.5 6 5l3 5.2 1.6-2.4 3.9 5.7z"/>');static GHOST=t.draw('<path d="M8 2.2 13 5.1v5.8L8 13.8 3 10.9V5.1z"/>');static TRACE=t.draw('<path d="M2.5 12.5c2-4 4-1 6-4s3.5-3 5-5"/><circle cx="2.5" cy="12.5" r="1"/><circle cx="13.5" cy="3.5" r="1"/>');static APPEARANCE=t.draw('<path d="M8 2l1.5 4.5L14 8l-4.5 1.5L8 14l-1.5-4.5L2 8l4.5-1.5z"/>');static RULER=t.draw('<rect x="1.8" y="5.5" width="12.4" height="5" rx="1"/><path d="M4.5 5.5v2M7 5.5v2.6M9.5 5.5v2M12 5.5v2.6"/>');static PATH=t.draw('<path d="M2.5 12C4 6 9 3.5 13 4"/><path d="M10.5 2.3 13 4l-2 2.3"/>');static IDEA=t.draw('<path d="M5.5 10.5a4 4 0 1 1 5 0c-.6.5-.9 1-.9 1.6v.4H6.4v-.4c0-.6-.3-1.1-.9-1.6z"/><path d="M6.5 14.2h3"/>');static section(e){return{"label-section-identity":t.ID_CARD,"label-section-profile":t.WITNESS,"label-section-testimony":t.INTERVIEW,"strangeness-section":t.STRANGE,"label-section-vision":t.EYE,"label-section-perception":t.PERCEPTION,"witness-conditions":t.GAUGE,"viewing-conditions":t.HAZE,"moon-gauge":t.MOON,"error-parameters":t.SLIDERS,"label-section-coordinates":t.GLOBE,"label-section-gaze":t.GAZE,"label-section-events":t.EVENTS,"label-section-night-sky":t.STAR,"around-section":t.TOWN,"label-section-survey":t.ENVIRONMENT,"label-section-period":t.DATE,"label-milestones":t.FLAG,"label-section-heard":t.SOUND,"label-section-sound-recording":t.MIC,"label-section-picture":t.PICTURES,"label-section-pose":t.CAMERA,"label-reference-landmarks":t.LANDMARK,"label-reference-ghosts":t.GHOST,"label-trace-import":t.TRACE,"label-section-appearance":t.APPEARANCE,"label-section-size":t.RULER,"label-section-path":t.PATH,"label-section-phenomenon-events":t.EVENTS,"label-section-bodies-events":t.EVENTS,candidates:t.IDEA}[e]}static part(e){return{"weather-precipitation":t.RAIN,"weather-clouds":t.SKY,"weather-wind":t.WIND,"weather-aircraft":t.AIRCRAFT,"interpretation-lanterns":t.LANTERN,"interpretation-birds":t.BIRD,"interpretation-drones":t.DRONE,"interpretation-balloons":t.BALLOON,"interpretation-airships":t.AIRSHIP,"sky-event-launches":t.LAUNCH,"sky-event-beams":t.BEAM,"sky-event-searchlights":t.SEARCHLIGHT,"sky-event-reentries":t.FIREBALL,"sky-event-auroras":t.AURORA,"shape-shapes":t.SHAPES,"shape-bodies":t.BODIES}[e]}static BY_GLYPH={"🗑":t.TRASH,"🎯":t.TARGET,"+":t.PLUS,"✕":t.CLOSE,"▶":t.PLAY,"⏸":t.PAUSE,"⏺":t.RECORD,"⏹":t.STOP};static show(e,r){if(e.dataset.icon===r&&e.firstChild)return;const a=t.BY_GLYPH[r];a?e.innerHTML=a:e.textContent=r,e.dataset.icon=r}static CSS=`
2
+ .icon { display: block; flex: none; }
3
+ button:has(> .icon:only-child) { display: inline-flex; align-items: center; justify-content: center; }
4
+ `}class M{static isRelative(e){return e!==void 0&&typeof e.eastM=="number"&&typeof e.northM=="number"}static isAbsolute(e){return e!==void 0&&typeof e.lat=="number"&&typeof e.lng=="number"}static referenceOf(e,r){return r.references.find(a=>(a.id??void 0)===(e.relativeTo??void 0))}static resolve(e,r){if(M.isRelative(e)){const a=M.referenceOf(e,r);return a?{eastM:a.eastM+e.eastM,northM:a.northM+e.northM}:void 0}return M.isAbsolute(e)&&r.origin?M.toLocal(e,r.origin):void 0}static restated(e,r,a){if(M.isRelative(e)){const h=M.referenceOf(e,a);return h?M.relative(r.eastM-h.eastM,r.northM-h.northM,e.relativeTo):void 0}if(!a.origin)return e;const d=M.toGeo(r,a.origin);return{lat:M.degrees(d.lat),lng:M.degrees(d.lng)}}static relative(e,r,a){const d={eastM:M.metres(e),northM:M.metres(r)};return a!==void 0&&(d.relativeTo=a),d}static toLocal(e,r){const a=o(e.lat,e.lng,r.lat,r.lng);return{eastM:a.x,northM:-a.z}}static toGeo(e,r){return A(e.eastM,-e.northM,r.lat,r.lng)}static metres(e){return Math.round(e*100)/100}static degrees(e){return Math.round(e*1e7)/1e7}}export{t as I,E as P,M as S,n as a,w as b};
@@ -0,0 +1 @@
1
+ import{P as y,p as k,W as h}from"./rr0-ufoathome.mjs";import{ScenarioSweep as j}from"./ScenarioSweep-CDumnmq2.js";import"./ShareDialogElement-CBeU9ChH.js";import"./Sighting-B7bsiTIQ.js";import"./VisualAids-DI-hEL46.js";import"./three.module-CbaHqYFq.js";import"./SaidPosition-OJEYhVKN.js";import"./GeoProjection-DvqDbRIx.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";import"./CaseEditorElement-C5BHP8jT.js";import"./ParameterForm-XbqxCLRn.js";import"./ColumnResize-Dh6Xyspd.js";import"./TimelineTracks-Daaqw9ly.js";import"./ReentryArchive-CeXHrU7L.js";import"./ReferenceTimeline-2kBldQeG.js";import"./upperAirSources-BU0pD84c.js";import"./Account-C4jhsVtN.js";import"./SatellitePasses-Pfro2-0Z.js";class b{static fileName(c,n){const t=c.replace(/\.json$/,""),d=n.placeId.replace(/[^A-Za-z0-9-]+/g,"-"),p=n.local.replace(/[-:]/g,"").replace("T","-");return`${t}-scenario-${d}-${p}.json`}static recording(c,n,t,d,p,i={}){const a=structuredClone(c),r=y.strip(c).recording,l=a.interpretation;if(!l||!r.interpretation)throw new Error(`${n} states no interpretation`);a.id=`${r.id??n.replace(/\.json$/,"")}-scenario-${t.id}`,t.ownPlace||(a.place={value:{...t.placeName?{name:t.placeName}:{},locations:[{lat:t.lat,lng:t.lng}]},basis:"assumed",rationale:`one of the candidate places of the case, played as scenario ${t.id}${i.placeRationale?`: ${i.placeRationale}`:""}`},delete a.snapshots);const e=r.time?r.time.replace(/[~?%]$/,"").slice(0,16):void 0;return t.local!==e&&(a.time={value:`${t.local}:00`,basis:"assumed",rationale:`one of the candidate instants of the case, played as scenario ${t.id}${i.timeRationale?`: ${i.timeRationale}`:""}`}),delete a.image,d&&b.rewind(l,r.interpretation,d,t,p),l.scenario={id:t.id,of:n,...i.verdict?{verdict:i.verdict}:{}},i.title!==void 0&&(l.title=i.title),a}static rewind(c,n,t,d,p){const i={at:e=>h.at(t,e),levels:t.levels.map(e=>e.aboveGroundM)},a=e=>`${e} archived at ${t.hour} UTC at this place (${t.credit}, grid point ${t.lat.toFixed(3)}, ${t.lng.toFixed(3)}): established given scenario ${d.id} only`;for(const e of p){const f=k.itemsOf(n,e.key);if(!e.inWind||f.length===0)continue;const u=c[e.key];f.forEach((m,v)=>{const s=e.inWind(m,i);for(const o of Object.keys(s))JSON.stringify(s[o])!==JSON.stringify(m[o])&&(u[v][o]=o==="wind"?{value:s[o],basis:"established",rationale:a("the wind at the ground")}:s[o])})}const r=h.at(t,10),l=c.bodies;n.bodies.forEach((e,f)=>{if(!e.drifting)return;const u=j.drifted(e,r),m=l[f].track;!m||!u.track||u.track.forEach((v,s)=>{for(const o of["eastM","northM"]){const w=v[o];if(w===void 0)continue;const g=Math.round(w*100)/100,$=m[s][o];m[s][o]=typeof $=="object"&&$!==null&&"value"in $?{...$,value:g,...s===0?{rationale:a(`drifting with the wind at the ground, ${h.rounded(r).speedMS} m/s towards ${h.rounded(r).towardDeg}°,`)}:{}}:g}})})}}export{b as ScenarioReadings};
@@ -0,0 +1 @@
1
+ import{C as R,P as k,p as A,W as N}from"./rr0-ufoathome.mjs";import{W as P,aR as O,a7 as K,ab as T}from"./ShareDialogElement-CBeU9ChH.js";import{S as y,C as $}from"./CaseEditorElement-C5BHP8jT.js";import{SatellitePasses as S}from"./SatellitePasses-Pfro2-0Z.js";import"./Sighting-B7bsiTIQ.js";import"./VisualAids-DI-hEL46.js";import"./three.module-CbaHqYFq.js";import"./SaidPosition-OJEYhVKN.js";import"./GeoProjection-DvqDbRIx.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";import"./ParameterForm-XbqxCLRn.js";import"./ColumnResize-Dh6Xyspd.js";import"./TimelineTracks-Daaqw9ly.js";import"./ReentryArchive-CeXHrU7L.js";import"./ReferenceTimeline-2kBldQeG.js";import"./upperAirSources-BU0pD84c.js";import"./Account-C4jhsVtN.js";class f{static MAX_SCENARIOS=200;static KM_PER_DEG=111.32;static merged(t,s){return t?s?{...t,...s}:t:s}static scenarios(t,s){const e=f.places(t,s?.places),a=f.instants(t,s?.time),n=[];for(const r of e)for(const i of a){const d=r.placeId==="own"&&i===f.minute(t.local);n.push({id:`${r.placeId}@${i}`,placeId:r.placeId,...r.placeName?{placeName:r.placeName}:{},lat:r.lat,lng:r.lng,local:i,date:f.utc(i,t.utcOffsetHours),own:d,ownPlace:r.placeId==="own"})}if(n.length>f.MAX_SCENARIOS)throw new Error(`${n.length} scenarios for one account: more than ${f.MAX_SCENARIOS}. Take a coarser step or fewer points.`);return n.sort((r,i)=>Number(i.own)-Number(r.own))}static places(t,s){const e={placeId:"own",...t.placeName?{placeName:t.placeName}:{},lat:t.lat,lng:t.lng},a=s?.own===!1?[]:[e],n=(s?.candidates??[]).filter(r=>!r.for||t.eventId===void 0||r.for.includes(t.eventId)).flatMap(r=>{const i=r.place.locations?.[0];return i?[{placeId:r.id,...r.place.name?{placeName:r.place.name}:{},lat:i.lat,lng:i.lng}]:[]});switch(s?.sweep??"bounds"){case"bounds":return[...a,...n];case"points":{const r=new Set(s?.points??[]);return[...a,...n.filter(i=>r.has(i.placeId))]}case"deltas":return[...a,...(s?.deltasKm??[]).filter(r=>r.eastKm!==0||r.northKm!==0).map(r=>({placeId:`own${r.eastKm>=0?"+":""}${r.eastKm},${r.northKm>=0?"+":""}${r.northKm}km`,...t.placeName?{placeName:t.placeName}:{},lat:t.lat+r.northKm/f.KM_PER_DEG,lng:t.lng+r.eastKm/(f.KM_PER_DEG*Math.cos(t.lat*Math.PI/180))}))];case"step":{const r=s?.stepKm;if(!r||r<=0)throw new Error("A sweep of places by step states its stepKm.");const i=[e,...n],d=Math.min(...i.map(u=>u.lat)),o=Math.max(...i.map(u=>u.lat)),l=Math.min(...i.map(u=>u.lng)),c=Math.max(...i.map(u=>u.lng)),h=f.KM_PER_DEG*Math.cos((d+o)/2*Math.PI/180),m=[];for(let u=0;d+u*r/f.KM_PER_DEG<=o+1e-9;u++)for(let p=0;l+p*r/h<=c+1e-9;p++){const g=d+u*r/f.KM_PER_DEG,v=l+p*r/h;m.push({placeId:`grid${g.toFixed(3)},${v.toFixed(3)}`,lat:g,lng:v})}return[...a,...m]}}}static instants(t,s){const e=f.minute(t.local);if(!s)return[e];const a=f.ms(e),n=f.ms(s.from),r=f.ms(s.to),i=s.each??"day",d=864e5,o=c=>{const h=[];if(i==="day"){const m=a+Math.ceil((n-a)/d)*d;for(let u=m;u<=r;u+=c)h.push(u)}else for(let m=n;m<=r;m+=c)h.push(m);return h};let l;switch(s.sweep??"bounds"){case"bounds":{const c=o(i==="day"?d:6e4);l=c.length>0?[c[0],c[c.length-1]]:[];break}case"points":l=(s.points??[]).map(c=>/T/.test(c)?f.ms(c):f.ms(`${c}T${e.slice(11)}`));break;case"step":l=o((s.stepMinutes??(i==="day"?1440:60))*6e4);break;case"deltas":l=[a,...(s.deltasMinutes??[]).map(c=>a+c*6e4)];break}return[...new Set(l)].sort((c,h)=>c-h).map(c=>new Date(c).toISOString().slice(0,16))}static ms(t){const s=t.replace(/[~?%]$/,"").replace(/(Z|[+-]\d\d:\d\d)$/,""),e=s.length===10?`${s}T00:00`:s,a=Date.parse(`${e}Z`);if(Number.isNaN(a))throw new Error(`Not an instant: ${t}`);return a}static minute(t){return new Date(f.ms(t)).toISOString().slice(0,16)}static utc(t,s){return new Date(f.ms(t)-s*36e5)}}class b{constructor(t){this.sources=t,this.model=t.model??P.MODELS[0]}static PLAUSIBLE=O.MEASURABLE;static DRAWN_STEP_MS=500;static STARS=6;static STAR_MAG=1.5;model;async sweep(t,s={}){const e=(t.events??[]).filter(o=>o.eventType===R.SIGHTING_EVENT&&!o.interpretationOf&&o.url).filter(o=>!s.accounts||o.id!==void 0&&s.accounts.includes(o.id)),a=[],n=await Promise.all(e.map(async o=>{const l=await this.sources.load(o.url),c=s.conditions??f.merged(t.conditions,k.strip(l).recording.conditions),h=f.scenarios(b.conditionsOf(l,o.id),c),m=[o.id,k.strip(l).recording.id].filter(p=>!!p),u=R.interpretationEvents(t,m).filter(p=>p.url&&(!s.readings||s.readings.includes(p.url)));return{event:o,accountJson:l,conditions:c,scenarios:h,readings:u}})),r=n.reduce((o,l)=>o+l.scenarios.length*(l.readings.length+(s.sky===!1?0:1)),0);let i=0;const d=()=>s.progress?.(++i,r);for(const{event:o,accountJson:l,conditions:c,scenarios:h,readings:m}of n){const u={...o.id?{eventId:o.id}:{},url:o.url,title:o.title,scenarios:h,readings:[],sky:[]},p=b.judges(l);for(const g of m){const v=await this.sources.load(g.url),w=k.strip(v).recording.interpretation;if(!w||w.scenario){h.forEach(d);continue}const M=await this.replay(g.url,g.title,w,h,p,d);M.kept=b.kept(M,s.keep??c?.keep??"telling"),u.readings.push(M)}if(s.sky!==!1){const g=await this.sky(l,h,d);u.sky=g.replays,g.note&&(u.skyNote=g.note)}a.push(u)}return{accounts:a,alerts:b.alerts(a)}}static conditionsOf(t,s){const e=k.strip(t).recording,a=e.place?.locations?.[0];if(!e.time||!a)throw new Error(`An account with no time or no place cannot be played elsewhere: ${e.id??s}`);return{...s?{eventId:s}:{},local:e.time,utcOffsetHours:e.utcOffsetHours??Math.round(a.lng/15),lat:a.lat,lng:a.lng,...e.place?.name?{placeName:e.place.name}:{}}}static judges(t){const s=O.forAccount(t),e=K(t),a=k.strip(t).recording.timeline?.keyframes??[],n=Math.max(0,...a.map(d=>d.t)),r=Array.from({length:Math.floor(n/b.DRAWN_STEP_MS)+1},(d,o)=>o*b.DRAWN_STEP_MS),i=T.lawsOf(P.MODELS[0],e.account?.conditions);return{said:s,drawn:new O(e,r,i)}}dependsOn(t){return this.sources.kinds.some(e=>e.inWind&&A.itemsOf(t,e.key).length>0)||t.bodies.some(e=>e.drifting)?["wind"]:[]}inWind(t,s){const e={at:n=>N.at(s,n),levels:s.levels.map(n=>n.aboveGroundM)},a={...t};for(const n of this.sources.kinds){const r=A.itemsOf(t,n.key);!n.inWind||r.length===0||(a[n.key]=r.map(i=>n.inWind(i,e)))}return a.bodies=t.bodies.map(n=>n.drifting?b.drifted(n,N.at(s,10)):n),a}static drifted(t,s){const e=t.track;if(!e||e.length<2)return t;const a=e[0],n=e[e.length-1],r=(n.t-a.t)/1e3;if(r<=0||a.eastM===void 0||n.eastM===void 0||a.northM===void 0||n.northM===void 0)return t;const[i,d]=N.vector(s),o=i-(n.eastM-a.eastM)/r,l=d-(n.northM-a.northM)/r;return{...t,track:e.map(c=>c.eastM===void 0||c.northM===void 0?c:{...c,eastM:c.eastM+o*(c.t-a.t)/1e3,northM:c.northM+l*(c.t-a.t)/1e3})}}async bodiesOf(t){return await A.load(t,this.sources.kinds),A.expand(t,this.sources.kinds).bodies}async replay(t,s,e,a,n,r){const i=this.dependsOn(e),d=m=>{const u=b.summary(n.said.comparisons(m)),p=b.summary(n.drawn.comparisons(m));return{said:u,drawn:p,plausible:b.plausible(u,p)}},o=d(await this.bodiesOf(e)),l=[];for(const m of a){if(r(),i.length===0){l.push({scenario:m,...o});continue}try{const u=await this.sources.wind.profile(m.lat,m.lng,m.date);l.push({scenario:m,...d(await this.bodiesOf(this.inWind(e,u))),groundWind:N.at(u,10)})}catch(u){l.push({scenario:m,...o,plausible:o.plausible,error:u.message})}}const c=l.filter(m=>!m.error),h=b.verdict(o.plausible?"plausible":"excluded",c.map(m=>({scenario:m.scenario,plausible:m.plausible})));return i.length===0&&(h.independent=!0),{url:t,title:s,depends:i,asWritten:o,outcomes:l,verdict:h,kept:[]}}static plausible(t,s){const e=t.compared>0?t:s;return e.compared>0&&e.agreedDirection/e.compared>=b.PLAUSIBLE}static summary(t){const s=t.filter(e=>e.separationDeg!==void 0).map(e=>e.separationDeg).sort((e,a)=>e-a);return{agreed:t.filter(e=>e.agrees).length,compared:t.length,agreedDirection:t.filter(e=>!e.contradicted?.includes("direction")).length,...s.length?{medianDeg:s[Math.floor(s.length/2)],worstDeg:s[s.length-1]}:{}}}static verdict(t,s){const e=s.filter(n=>n.plausible),a=s.length;return a===0?{robustness:t==="plausible"?"robust-plausible":"robust-exclusion",asWritten:t,holds:0,played:0,independent:!0}:e.length===a?{robustness:"robust-plausible",asWritten:t,holds:a,played:a}:e.length===0?{robustness:"robust-exclusion",asWritten:t,holds:0,played:a}:{robustness:"conditional",asWritten:t,onlyIf:b.onlyIf(s),holds:e.length,played:a}}static onlyIf(t){const s=n=>{const r=new Map;for(const d of t)r.set(n(d.scenario),[...r.get(n(d.scenario))??[],d.plausible]);const i=[...r.entries()];return i.every(([,d])=>d.every(o=>o)||d.every(o=>!o))?i.filter(([,d])=>d[0]).map(([d])=>d):void 0},e=s(n=>n.placeId);if(e&&new Set(t.map(n=>n.scenario.placeId)).size>1)return{places:e};const a=s(n=>n.local.slice(0,10));return a&&new Set(t.map(n=>n.scenario.local.slice(0,10))).size>1?{dates:a}:{scenarios:t.filter(n=>n.plausible).map(n=>n.scenario.id)}}static kept(t,s){if(s==="none"||t.verdict.independent)return[];const e=t.outcomes.filter(o=>!o.error);if(s==="all")return e.map(o=>o.scenario);const a=t.verdict.robustness!=="conditional";if(s==="robust"&&!a||s==="conditional"&&a)return[];const n=o=>{const l=o.said.compared>0?o.said:o.drawn;return(l.compared?l.agreedDirection/l.compared:0)-(l.medianDeg??180)/1e4},r=[...e].sort((o,l)=>n(l)-n(o));if(a){const o=t.verdict.robustness==="robust-plausible"?r[r.length-1]:r[0];return o?[o.scenario]:[]}const i=r.find(o=>o.plausible),d=[...r].reverse().find(o=>!o.plausible);return[i,d].filter(o=>!!o).map(o=>o.scenario)}async sky(t,s,e){const a=K(t),n=y.statement(a);if(!n)return s.forEach(e),{replays:[],note:"no-direction"};const{statement:r,t:i}=n,d=new $(this.model,a.account?.conditions,{dateShiftDays:[],mirror:!1}),o=p=>this.sources.names?.(p)??p,l=s.find(p=>p.own)??s[0],c={date:l.date,observer:{lat:l.lat,lng:l.lng,elevationM:0}},h=new Set(y.stars(c,i,r,this.sources.limitAt,b.STARS,b.STAR_MAG).map(({star:p})=>p.name)),m=new Map;for(const p of s){e();const g={date:p.date,observer:{lat:p.lat,lng:p.lng,elevationM:0}},v=[{track:y.body("Moon",o("Moon"),g,i,this.sources.limitAt),kind:"body"},...y.PLANETS.map(M=>({track:y.body(M,o(M),g,i,this.sources.limitAt),kind:"body"})),...y.stars(g,i,{...r,aim:void 0},this.sources.limitAt,1/0,b.STAR_MAG).filter(({star:M})=>h.has(M.name)).map(({star:M,track:D})=>({track:{...D,label:o(M.name)},kind:"star"}))],w=await this.issTrack(g,i);w&&v.push({track:w,kind:"satellite"});for(const{track:M,kind:D}of v){const I=d.fit(r,M);let E=m.get(M.id);E||(E={candidate:M.id,label:M.label,kind:D,outcomes:[],verdict:void 0},m.set(M.id,E)),E.outcomes.push({scenario:p,verdict:I.verdict,cost:I.cost,...I.reason?{reason:I.reason}:{}})}}const u=[...m.values()];for(const p of u){const g=p.outcomes.find(w=>w.scenario.own),v=g?g.verdict==="incompatible"?"excluded":"plausible":p.outcomes.every(w=>w.verdict==="incompatible")?"excluded":"plausible";p.verdict=b.verdict(v,p.outcomes.map(w=>({scenario:w.scenario,plausible:w.verdict!=="incompatible"})))}return{replays:u}}async issTrack(t,s){if(!this.sources.satellites)return;const a=(await this.sources.satellites(t.date).catch(()=>{}))?.find(r=>r.norad===y.ISS_NORAD);if(!a)return;const n=new S([a]);return y.satellite(`satellite-${a.norad}`,this.sources.names?.("ISS")??"ISS",r=>n.positionsAt(r,t.observer,-90).find(i=>i.object.norad===a.norad),t,s,this.sources.limitAt)}static alerts(t){return t.flatMap(s=>s.sky.filter(e=>e.kind!=="star"||e.verdict.robustness!=="robust-exclusion").map(e=>({...s.eventId?{eventId:s.eventId}:{},candidate:e.candidate,label:e.label,robustness:e.verdict.robustness,...e.verdict.onlyIf?{onlyIf:e.verdict.onlyIf}:{}})))}}export{b as ScenarioSweep};
@@ -0,0 +1 @@
1
+ const e={heading:"Uncertain place and date:",hint:"When the case leaves the place or the date open, each reading is played again in every scenario its candidates give (by default at their bounds: every candidate place, the first and the last date), with what it takes from the place and the date replaced by what that scenario gives: the wind archived there and then, for whatever the air carries. The candidates of the sky (the Moon, the planets, the bright stars, the ISS) are searched for from each place and at each instant. A verdict is robust when it is the same in every scenario, conditional otherwise. A reading is plausible in a scenario when it reproduces at least half of what the witness is on record as having said. The witness's position and the decor are not moved with the place.",noConditions:"The case states no uncertain place or date: every account is played where and when it says.",open:"Open: {places} candidate places; {dates}.",run:"Play every scenario",running:"Playing… {done} / {total}",failed:"The sweep failed: {error}",robustPlausible:"robust plausible explanation",robustExclusion:"robust exclusion",conditional:"conditional (only if {where})",atPlaces:"at {places}",onDates:"on {dates}",inScenarios:"in {scenarios}",or:" or ",colon:": ",atOwnPlace:"at the place assumed",ownPlace:"the place assumed",asWrittenPlausible:"plausible as written",asWrittenExcluded:"excluded as written",becomesRobust:"becomes robust",becomesRobustExclusion:"becomes a robust exclusion",excludedEverywhere:"excluded in every scenario: only its own choice made it plausible",plausibleEverywhere:"plausible in every scenario: only its own choice excluded it",becomesConditional:"becomes conditional",plausibleOnlyIf:"becomes plausible under conditions",independent:"depends on none of the conditions played",holdsIn:"holds in {holds} of {played} scenarios",dependsWind:"depends on the wind",alertsHeading:"Sky alerts",alertExcluded:"{name} incompatible in every scenario",alertPlausible:"{name} compatible in every scenario",alertConditional:"{name} compatible only {where}",noAlert:"No candidate of the sky to report.",account:"Account",reading:"Reading",verdict:"Verdict",scenario:"Scenario",wind:"Ground wind",asWritten:"as written",said:"Said",drawn:"Drawn",summary:"{agreed} / {compared} directions, median {median}",windValue:"towards {toward}°, {speed} m/s",keep:"Keep the ticked scenarios as readings",kept:"{n} readings added to the case.",bodies:{Moon:"Moon",Venus:"Venus",Mars:"Mars",Jupiter:"Jupiter",Saturn:"Saturn",ISS:"ISS"},scenarioTitle:"{title}, played {place} on {date}"};export{e as scenarioSweepMessages_en};
@@ -0,0 +1 @@
1
+ const e={heading:"Lugar y fecha inciertos:",hint:"Cuando el caso deja abiertos el lugar o la fecha, cada lectura se vuelve a jugar en cada uno de los escenarios que dan sus candidatos (por defecto en sus límites: cada lugar candidato, la primera y la última fecha), sustituyendo lo que toma del lugar y de la fecha por lo que da ese escenario: el viento archivado allí y a esa hora, para todo lo que lleva el aire. Los candidatos del cielo (la Luna, los planetas, las estrellas brillantes, la ISS) se buscan desde cada lugar y en cada instante. Un veredicto es robusto cuando es el mismo en todos los escenarios, condicional si no. Una lectura es plausible en un escenario cuando reproduce al menos la mitad de lo que el testigo dijo según las fuentes. La posición del testigo y el decorado no se mueven con el lugar.",noConditions:"El caso no enuncia ningún lugar ni fecha inciertos: cada testimonio se juega donde y cuando lo dice.",open:"Abierto: {places} lugares candidatos; {dates}.",run:"Jugar todos los escenarios",running:"En curso… {done} / {total}",failed:"El barrido ha fallado: {error}",robustPlausible:"explicación plausible robusta",robustExclusion:"exclusión robusta",conditional:"condicional (solo si {where})",atPlaces:"en {places}",onDates:"el {dates}",inScenarios:"en {scenarios}",or:" o ",colon:": ",atOwnPlace:"en el lugar supuesto",ownPlace:"el lugar supuesto",asWrittenPlausible:"plausible tal como está escrita",asWrittenExcluded:"excluida tal como está escrita",becomesRobust:"se vuelve robusta",becomesRobustExclusion:"se vuelve una exclusión robusta",excludedEverywhere:"excluida en todos los escenarios: solo su propia elección la hacía plausible",plausibleEverywhere:"plausible en todos los escenarios: solo su propia elección la excluía",becomesConditional:"se vuelve condicional",plausibleOnlyIf:"se vuelve plausible bajo condiciones",independent:"no depende de ninguna de las condiciones jugadas",holdsIn:"se sostiene en {holds} de {played} escenarios",dependsWind:"depende del viento",alertsHeading:"Alertas del cielo",alertExcluded:"{name} incompatible en todos los escenarios",alertPlausible:"{name} compatible en todos los escenarios",alertConditional:"{name} compatible solo {where}",noAlert:"Ningún candidato del cielo que señalar.",account:"Testimonio",reading:"Lectura",verdict:"Veredicto",scenario:"Escenario",wind:"Viento en el suelo",asWritten:"tal como está escrita",said:"Dicho",drawn:"Dibujado",summary:"{agreed} / {compared} direcciones, mediana {median}",windValue:"hacia {toward}°, {speed} m/s",keep:"Guardar como lecturas los escenarios marcados",kept:"{n} lecturas añadidas al caso.",bodies:{Moon:"Luna",Venus:"Venus",Mars:"Marte",Jupiter:"Júpiter",Saturn:"Saturno",ISS:"ISS"},scenarioTitle:"{title}, jugada {place} el {date}"};export{e as scenarioSweepMessages_es};
@@ -0,0 +1 @@
1
+ const e={heading:"Lieu et date incertains :",hint:"Quand le dossier laisse le lieu ou la date ouverts, chaque lecture est rejouée dans chacun des scénarios que donnent ses candidats (par défaut à leurs bornes : chaque lieu candidat, la première et la dernière date), ce qu'elle tient du lieu et de la date remplacé par ce que donne ce scénario : le vent archivé à ce lieu et à cette heure, pour tout ce que l'air emporte. Les candidats du ciel (la Lune, les planètes, les étoiles brillantes, l'ISS) sont cherchés depuis chaque lieu et à chaque instant. Un verdict est robuste quand il est le même dans tous les scénarios, conditionnel sinon. Une lecture est plausible dans un scénario quand elle reproduit au moins la moitié de ce que le témoin a dit selon les sources. La position du témoin et le décor ne sont pas déplacés avec le lieu.",noConditions:"Le dossier n'énonce ni lieu ni date incertains : chaque témoignage est joué là et quand il le dit.",open:"Ouvert : {places} lieux candidats ; {dates}.",run:"Jouer tous les scénarios",running:"En cours… {done} / {total}",failed:"Le balayage a échoué : {error}",robustPlausible:"explication plausible robuste",robustExclusion:"exclusion robuste",conditional:"conditionnelle (seulement si {where})",atPlaces:"à {places}",onDates:"le {dates}",inScenarios:"dans {scenarios}",or:" ou ",colon:" : ",atOwnPlace:"au lieu supposé",ownPlace:"le lieu supposé",asWrittenPlausible:"plausible telle qu'écrite",asWrittenExcluded:"exclue telle qu'écrite",becomesRobust:"devient robuste",becomesRobustExclusion:"devient une exclusion robuste",excludedEverywhere:"exclue dans tous les scénarios : seul son propre choix la rendait plausible",plausibleEverywhere:"plausible dans tous les scénarios : seul son propre choix l'excluait",becomesConditional:"devient conditionnelle",plausibleOnlyIf:"devient plausible sous conditions",independent:"ne dépend d'aucune des conditions jouées",holdsIn:"tient dans {holds} scénarios sur {played}",dependsWind:"dépend du vent",alertsHeading:"Alertes du ciel",alertExcluded:"{name} incompatible dans tous les scénarios",alertPlausible:"{name} compatible dans tous les scénarios",alertConditional:"{name} compatible seulement {where}",noAlert:"Aucun candidat du ciel à signaler.",account:"Témoignage",reading:"Lecture",verdict:"Verdict",scenario:"Scénario",wind:"Vent au sol",asWritten:"telle qu'écrite",said:"Dit",drawn:"Dessiné",summary:"{agreed} / {compared} directions, écart médian {median}",windValue:"vers {toward}°, {speed} m/s",keep:"Garder comme lectures les scénarios cochés",kept:"{n} lectures ajoutées au dossier.",bodies:{Moon:"Lune",Venus:"Vénus",Mars:"Mars",Jupiter:"Jupiter",Saturn:"Saturne",ISS:"ISS"},scenarioTitle:"{title}, jouée {place} le {date}"};export{e as scenarioSweepMessages_fr};
@@ -0,0 +1 @@
1
+ const e={heading:"Luogo e data incerti:",hint:"Quando il caso lascia aperti il luogo o la data, ogni lettura viene rigiocata in ciascuno degli scenari che danno i suoi candidati (per impostazione ai loro limiti: ogni luogo candidato, la prima e l'ultima data), sostituendo ciò che prende dal luogo e dalla data con ciò che dà quello scenario: il vento archiviato lì e a quell'ora, per tutto ciò che l'aria trasporta. I candidati del cielo (la Luna, i pianeti, le stelle brillanti, la ISS) sono cercati da ogni luogo e a ogni istante. Un verdetto è robusto quando è lo stesso in tutti gli scenari, condizionale altrimenti. Una lettura è plausibile in uno scenario quando riproduce almeno la metà di ciò che il testimone ha detto secondo le fonti. La posizione del testimone e lo scenario non vengono spostati con il luogo.",noConditions:"Il caso non enuncia né luogo né data incerti: ogni testimonianza è giocata dove e quando lo dice.",open:"Aperto: {places} luoghi candidati; {dates}.",run:"Gioca tutti gli scenari",running:"In corso… {done} / {total}",failed:"La scansione è fallita: {error}",robustPlausible:"spiegazione plausibile robusta",robustExclusion:"esclusione robusta",conditional:"condizionale (solo se {where})",atPlaces:"a {places}",onDates:"il {dates}",inScenarios:"in {scenarios}",or:" o ",colon:": ",atOwnPlace:"nel luogo supposto",ownPlace:"il luogo supposto",asWrittenPlausible:"plausibile così com'è scritta",asWrittenExcluded:"esclusa così com'è scritta",becomesRobust:"diventa robusta",becomesRobustExclusion:"diventa un'esclusione robusta",excludedEverywhere:"esclusa in tutti gli scenari: solo la sua scelta la rendeva plausibile",plausibleEverywhere:"plausibile in tutti gli scenari: solo la sua scelta la escludeva",becomesConditional:"diventa condizionale",plausibleOnlyIf:"diventa plausibile a certe condizioni",independent:"non dipende da nessuna delle condizioni giocate",holdsIn:"regge in {holds} scenari su {played}",dependsWind:"dipende dal vento",alertsHeading:"Allerte del cielo",alertExcluded:"{name} incompatibile in tutti gli scenari",alertPlausible:"{name} compatibile in tutti gli scenari",alertConditional:"{name} compatibile solo {where}",noAlert:"Nessun candidato del cielo da segnalare.",account:"Testimonianza",reading:"Lettura",verdict:"Verdetto",scenario:"Scenario",wind:"Vento al suolo",asWritten:"così com'è scritta",said:"Detto",drawn:"Disegnato",summary:"{agreed} / {compared} direzioni, mediana {median}",windValue:"verso {toward}°, {speed} m/s",keep:"Tieni come letture gli scenari selezionati",kept:"{n} letture aggiunte al caso.",bodies:{Moon:"Luna",Venus:"Venere",Mars:"Marte",Jupiter:"Giove",Saturn:"Saturno",ISS:"ISS"},scenarioTitle:"{title}, giocata {place} il {date}"};export{e as scenarioSweepMessages_it};
@@ -0,0 +1,8 @@
1
+ import{M as c,_ as n}from"./rr0-ufoathome.mjs";import{b as g,P as d}from"./SaidPosition-OJEYhVKN.js";import{bp as r,ba as p}from"./ShareDialogElement-CBeU9ChH.js";import{S as u}from"./SkyEventEditorStyle-CvY_AhbI.js";import{P as f,a as _,E}from"./ParameterForm-XbqxCLRn.js";import"./GeoProjection-DvqDbRIx.js";import"./Sighting-B7bsiTIQ.js";import"./VisualAids-DI-hEL46.js";import"./three.module-CbaHqYFq.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";const v=c.catalog({en:()=>n(()=>import("./SearchlightParameterTexts_en-BwanYoMW.js"),[],import.meta.url).then(i=>i.searchlightParameterTexts_en),fr:()=>n(()=>import("./SearchlightParameterTexts_fr-B7eZQIdG.js"),[],import.meta.url).then(i=>i.searchlightParameterTexts_fr),es:()=>n(()=>import("./SearchlightParameterTexts_es-Cz_rg-Xe.js"),[],import.meta.url).then(i=>i.searchlightParameterTexts_es),it:()=>n(()=>import("./SearchlightParameterTexts_it-BjhuOJre.js"),[],import.meta.url).then(i=>i.searchlightParameterTexts_it)}),y=c.catalog({en:()=>n(()=>import("./SearchlightEditorMessages_en-BWTcGHYC.js"),[],import.meta.url).then(i=>i.searchlightEditorMessages_en),fr:()=>n(()=>import("./SearchlightEditorMessages_fr-CpaD2Il2.js"),[],import.meta.url).then(i=>i.searchlightEditorMessages_fr),es:()=>n(()=>import("./SearchlightEditorMessages_es-PS4IIWFS.js"),[],import.meta.url).then(i=>i.searchlightEditorMessages_es),it:()=>n(()=>import("./SearchlightEditorMessages_it-Br2IjowF.js"),[],import.meta.url).then(i=>i.searchlightEditorMessages_it)});class h{static time(t,e,s){return{type:"number",key:t,min:-36e3,max:36e3,step:1,unit:"s",scale:.001,label:e,hint:s,group:"when"}}static of(t){return t}static SET={kind:"searchlight",title:"searchlight",parameters:[{type:"said",key:"title",label:"name",group:"searchlight"},{type:"position",key:"lat",secondKey:"lng",saidKey:"saidPosition",native:"geo",step:1,label:"position",group:"searchlight"},{type:"number",key:"heightM",min:0,max:500,step:.5,unit:"m",label:"height",hint:"heightHint",group:"searchlight",effective:()=>r.DEFAULT_HEIGHT_M},{type:"number",key:"beams",min:1,max:r.MAX_BEAMS,step:1,label:"beams",hint:"beamsHint",group:"lamp",effective:()=>1},{type:"number",key:"intensityCd",min:1e4,max:1e10,step:1e6,unit:"cd",label:"intensity",hint:"intensityHint",group:"lamp",effective:()=>r.DEFAULT_INTENSITY_CD},{type:"number",key:"divergenceDeg",min:.1,max:20,step:.1,unit:"°",label:"divergence",hint:"divergenceHint",group:"lamp",effective:()=>r.DEFAULT_DIVERGENCE_DEG},{type:"number",key:"colourTemperatureK",min:2e3,max:1e4,step:100,unit:"K",label:"temperature",hint:"temperatureHint",group:"lamp",effective:()=>r.DEFAULT_TEMPERATURE_K},{type:"choice",key:"motion",label:"pattern",hint:"patternHint",group:"motion",effective:t=>r.motionOf(h.of(t)),choices:[{value:"fixed",label:"fixed"},{value:"sweep",label:"sweep"},{value:"rotate",label:"rotate"},{value:"cloverleaf",label:"cloverleaf"}]},{type:"number",key:"tiltDeg",min:0,max:85,step:1,unit:"°",label:"tilt",hint:"tiltHint",group:"motion",effective:()=>r.DEFAULT_TILT_DEG},{type:"number",key:"spreadDeg",min:0,max:360,step:1,unit:"°",label:"spread",hint:"spreadHint",group:"motion",effective:()=>r.DEFAULT_SPREAD_DEG,visibleWhen:t=>r.motionOf(h.of(t))==="sweep"},{type:"number",key:"azimuthDeg",min:0,max:360,step:1,unit:"°",label:"azimuth",hint:"azimuthHint",group:"motion",effective:()=>0},{type:"number",key:"periodS",min:.5,max:600,step:.5,unit:"s",label:"period",hint:"periodHint",group:"motion",effective:()=>r.DEFAULT_PERIOD_S,visibleWhen:t=>r.motionOf(h.of(t))!=="fixed"},h.time("fromT","from","fromHint"),h.time("untilT","until","untilHint")]};static publish(){g.publish(h.SET)}}class m{constructor(t,e,s){this.container=t,this.host=e,u.attach(t,"searchlight-editor-part",m.STYLE),this.language=s,g.of("searchlight")||h.publish(),this.ready=this.setLanguage(s)}messages;parameterTexts;ready;languageToken=0;currentId;form;list;language;shown=[];static STYLE=".searchlight-editor-part { flex-basis: 100%; min-width: 0; } .searchlight-editor-part .searchlight-editor, .searchlight-editor-part .searchlight-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .searchlight-editor-part #searchlight-list, .searchlight-editor-part .searchlight-fields { flex-basis: 100%; min-width: 0; } .searchlight-editor-part [hidden] { display: none !important; } .searchlight-editor-part .searchlight-intro { flex-basis: 100%; margin: 0; } .searchlight-editor-part .searchlight-parameters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; } .searchlight-editor-part .parameter-group { flex: 1 1 14em; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; align-content: flex-start; } .searchlight-editor-part input, .searchlight-editor-part select { max-width: 100%; box-sizing: border-box; } .searchlight-editor-part label { min-width: 0; max-width: 100%; } .searchlight-editor-part input.parameter-derived::placeholder { opacity: .65; }";async setLanguage(t){const e=++this.languageToken;this.language=t;const[s,l]=await Promise.all([y.load(t),v.load(t)]);e===this.languageToken&&(this.messages=s,this.parameterTexts=l,this.render(),this.sync())}sync(){if(!this.messages)return;const t=this.searchlights;this.shown=[...t],t.some(a=>a.id===this.currentId)||(this.currentId=t[0]?.id),this.list?.setItems(t.map(a=>({id:a.id,label:this.labelOf(a)})),this.currentId);const e=this.placeOfNew()!==void 0;this.list?.setAddState(e,e?void 0:this.messages.addNowhere);const s=this.current;if(this.element("searchlight-fields").hidden=s===void 0,!s)return;const l=d.resolve(g.of("searchlight"),this.parameterTexts);this.form??=new f(this.element("searchlight-parameters"),this.language,"",{said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()}),this.form.show(l,new _(()=>this.current,a=>{const o=this.current;o&&a(o)},void 0,this.host.positionPlace?.()),()=>this.host.changed())}refresh(){if(!this.messages)return;const t=this.searchlights;t.length===this.shown.length&&t.every((e,s)=>e===this.shown[s])||this.sync()}setTime(t){}get current(){return this.searchlights.find(t=>t.id===this.currentId)}render(){const t=this.messages;this.form=void 0,this.container.innerHTML=`<div class="searchlight-editor">
2
+ <p class="searchlight-intro">${t.intro}</p>
3
+ <div id="searchlight-list"></div>
4
+ <div id="searchlight-fields" class="searchlight-fields">
5
+ <div id="searchlight-parameters" class="searchlight-parameters"></div>
6
+ <p class="searchlight-intro">${t.defaultsNote}</p>
7
+ </div>
8
+ </div>`,this.list=new E({header:this.element("searchlight-list"),body:this.element("searchlight-fields"),ids:{list:"searchlight-select",remove:"searchlight-delete",add:"searchlight-add"},onSelect:e=>{this.currentId=e,this.sync()},onAdd:()=>this.addSearchlight(),onRemove:()=>this.deleteCurrent()}),this.list.setLabels({list:t.searchlight,remove:t.deleteSearchlight,add:t.addSearchlight,empty:t.none})}placeOfNew(){const t=this.host.sighting().event?.place?.[0];return t?.lat===void 0||t.lng===void 0?void 0:{lat:t.lat,lng:t.lng}}addSearchlight(){const t=this.placeOfNew();if(!t)return;const e=this.host.sighting(),s=new Set(this.searchlights.map(o=>o.id));let l=this.searchlights.length+1;for(;s.has(`searchlight-${l}`);)l++;const a={id:`searchlight-${l}`,lat:t.lat,lng:t.lng,beams:4};e.skyEvents={...e.skyEvents,searchlights:[...this.searchlights,a]},this.currentId=a.id,this.host.changed(),this.sync()}deleteCurrent(){const t=this.current;if(!t)return;const e=this.host.sighting();e.skyEvents=p.written({...e.skyEvents,searchlights:this.searchlights.filter(s=>s!==t)}),this.host.changed(),this.sync()}labelOf(t){const e=t.title?this.host.said().read(t.title):"";return e?`${e} (${t.id})`:t.id}get searchlights(){return this.host.sighting().skyEvents?.searchlights??[]}element(t){return this.container.querySelector(`#${t}`)}}export{m as SearchlightEditor};
@@ -0,0 +1 @@
1
+ const e={intro:"A searchlight on the ground (a skytracker, a skyrose, an event's sky beams) is a fact of the sky. Where its beams meet the base of the clouds they light moving patches, far brighter than the beams themselves, which are what witnesses take for lights in the sky.",none:"No searchlight stated",searchlight:"Searchlight",deleteSearchlight:"Delete this searchlight",addSearchlight:"Add a searchlight",addNowhere:"Give the recording a place first: a searchlight is put beside the witness.",defaultsNote:"An empty field shows the value in force: a four-kilowatt xenon skytracker's."};export{e as searchlightEditorMessages_en};
@@ -0,0 +1 @@
1
+ const e={intro:"Un reflector en el suelo (skytracker, skyrose, haces de cielo de un evento) es un hecho del cielo. Donde sus haces encuentran la base de las nubes iluminan manchas móviles, mucho más brillantes que los propios haces: es lo que los testigos toman por luces en el cielo.",none:"Ningún reflector indicado",searchlight:"Reflector",deleteSearchlight:"Eliminar este reflector",addSearchlight:"Añadir un reflector",addNowhere:"Indique primero un lugar en la grabación: el reflector se coloca junto al testigo.",defaultsNote:"Un campo vacío muestra el valor vigente: el de un skytracker de xenón de cuatro kilovatios."};export{e as searchlightEditorMessages_es};
@@ -0,0 +1 @@
1
+ const e={intro:"Un projecteur au sol (skytracker, skyrose, faisceaux de ciel d'un événement) est un fait du ciel. Là où ses faisceaux rencontrent la base des nuages, ils éclairent des taches mobiles, bien plus lumineuses que les faisceaux eux-mêmes : c'est ce que les témoins prennent pour des lumières dans le ciel.",none:"Aucun projecteur donné",searchlight:"Projecteur",deleteSearchlight:"Supprimer ce projecteur",addSearchlight:"Ajouter un projecteur",addNowhere:"Donnez d'abord un lieu à l'enregistrement : un projecteur est placé à côté du témoin.",defaultsNote:"Un champ vide montre la valeur en vigueur : celle d'un skytracker au xénon de quatre kilowatts."};export{e as searchlightEditorMessages_fr};
@@ -0,0 +1 @@
1
+ const e={intro:"Un proiettore a terra (skytracker, skyrose, fasci da cielo di un evento) è un fatto del cielo. Dove i suoi fasci incontrano la base delle nuvole illuminano macchie mobili, molto più luminose dei fasci stessi: è ciò che i testimoni prendono per luci nel cielo.",none:"Nessun proiettore indicato",searchlight:"Proiettore",deleteSearchlight:"Elimina questo proiettore",addSearchlight:"Aggiungi un proiettore",addNowhere:"Date prima un luogo alla registrazione: il proiettore viene messo accanto al testimone.",defaultsNote:"Un campo vuoto mostra il valore in vigore: quello di uno skytracker allo xeno da quattro chilowatt."};export{e as searchlightEditorMessages_it};
@@ -0,0 +1 @@
1
+ const e={title:"Searchlights",name:"Searchlight",detail:"{name}, beam {beam} of {beams}: {intensity} cd, {distance} away"};export{e as searchlightKindMessages_en};
@@ -0,0 +1 @@
1
+ const e={title:"Reflectores de cielo",name:"Reflector de cielo",detail:"{name}, haz {beam} de {beams}: {intensity} cd, a {distance}"};export{e as searchlightKindMessages_es};
@@ -0,0 +1 @@
1
+ const e={title:"Projecteurs de ciel",name:"Projecteur de ciel",detail:"{name}, faisceau {beam} sur {beams} : {intensity} cd, à {distance}"};export{e as searchlightKindMessages_fr};
@@ -0,0 +1 @@
1
+ const e={title:"Proiettori da cielo",name:"Proiettore da cielo",detail:"{name}, fascio {beam} di {beams}: {intensity} cd, a {distance}"};export{e as searchlightKindMessages_it};
@@ -0,0 +1 @@
1
+ const e={searchlight:"Searchlight",name:"Name",lamp:"Lamp",motion:"Motion",when:"When",position:"Position",height:"Height",heightHint:"Metres above the ground the lamps stand at: 2 on a trailer, more on a roof.",beams:"Beams",beamsHint:"How many beams it sends: 1 for a single head, 4 for a skytracker, more for a skyrose's sheaf.",intensity:"Intensity",intensityHint:"The peak intensity of each beam, candelas: some 300 million for a head of a four-kilowatt xenon skytracker, ten million for a beam moving head.",divergence:"Width",divergenceHint:"How wide each beam is, degrees, full width at half its peak: 0.5 to 1.5 for a xenon searchlight.",temperature:"Colour temperature",temperatureHint:"Kelvins: 5 600 to 6 000 for a xenon arc or a metal halide.",pattern:"Pattern",patternHint:"How the beams move. A skytracker's four heads trace a cloverleaf; a single head sweeps; a skyrose's sheaf turns.",fixed:"Still",sweep:"Sweep to and fro",rotate:"Turning sheaf",cloverleaf:"Cloverleaf",tilt:"Lean",tiltHint:"Degrees from the vertical: the most for a cloverleaf.",spread:"Sweep width",spreadHint:"Degrees of azimuth a sweep goes across.",azimuth:"Azimuth",azimuthHint:"Degrees from true north: the middle of a sweep, the first beam of a sheaf.",period:"Period",periodHint:"Seconds for one turn, or one sweep there and back.",from:"From",fromHint:"Seconds of the recording; negative before it starts. From the start when empty.",until:"Until",untilHint:"Seconds of the recording. Until the end when empty."};export{e as searchlightParameterTexts_en};
@@ -0,0 +1 @@
1
+ const e={searchlight:"Reflector",name:"Nombre",lamp:"Lámpara",motion:"Movimiento",when:"Cuándo",position:"Posición",height:"Altura",heightHint:"Metros sobre el suelo a los que están las lámparas: 2 en un remolque, más en un tejado.",beams:"Haces",beamsHint:"Cuántos haces envía: 1 para un solo cabezal, 4 para un skytracker, más para el abanico de un skyrose.",intensity:"Intensidad",intensityHint:"La intensidad en el centro de cada haz, en candelas: unos 300 millones para un cabezal de skytracker de xenón de cuatro kilovatios, diez millones para una cabeza móvil de haz.",divergence:"Anchura",divergenceHint:"La anchura de cada haz, en grados, a la mitad de su máximo: de 0,5 a 1,5 para un reflector de xenón.",temperature:"Temperatura de color",temperatureHint:"En kelvin: de 5 600 a 6 000 para un arco de xenón o una lámpara de halogenuros.",pattern:"Patrón",patternHint:"Cómo se mueven los haces. Los cuatro cabezales de un skytracker trazan un trébol; un cabezal solo barre; el abanico de un skyrose gira.",fixed:"Inmóvil",sweep:"Barrido de ida y vuelta",rotate:"Abanico giratorio",cloverleaf:"Trébol",tilt:"Inclinación",tiltHint:"En grados desde la vertical: el máximo para un trébol.",spread:"Amplitud del barrido",spreadHint:"Los grados de acimut que recorre un barrido.",azimuth:"Acimut",azimuthHint:"En grados desde el norte verdadero: el centro de un barrido, el primer haz de un abanico.",period:"Período",periodHint:"Segundos para una vuelta, o para un barrido de ida y vuelta.",from:"Desde",fromHint:"Segundos de la grabación; negativos antes de su inicio. Desde el inicio si está vacío.",until:"Hasta",untilHint:"Segundos de la grabación. Hasta el final si está vacío."};export{e as searchlightParameterTexts_es};
@@ -0,0 +1 @@
1
+ const e={searchlight:"Projecteur",name:"Nom",lamp:"Lampe",motion:"Mouvement",when:"Quand",position:"Position",height:"Hauteur",heightHint:"Mètres au-dessus du sol où sont les lampes : 2 sur une remorque, plus sur un toit.",beams:"Faisceaux",beamsHint:"Combien de faisceaux il envoie : 1 pour une seule tête, 4 pour un skytracker, davantage pour la gerbe d'un skyrose.",intensity:"Intensité",intensityHint:"L'intensité au centre de chaque faisceau, en candelas : quelque 300 millions pour une tête de skytracker au xénon de quatre kilowatts, dix millions pour une lyre à faisceau.",divergence:"Largeur",divergenceHint:"La largeur de chaque faisceau, en degrés, à mi-hauteur de son maximum : 0,5 à 1,5 pour un projecteur au xénon.",temperature:"Température de couleur",temperatureHint:"En kelvins : 5 600 à 6 000 pour un arc au xénon ou une lampe aux halogénures.",pattern:"Motif",patternHint:"Comment bougent les faisceaux. Les quatre têtes d'un skytracker tracent un trèfle ; une tête seule balaie ; la gerbe d'un skyrose tourne.",fixed:"Immobile",sweep:"Balayage aller-retour",rotate:"Gerbe tournante",cloverleaf:"Trèfle",tilt:"Inclinaison",tiltHint:"En degrés depuis la verticale : le maximum pour un trèfle.",spread:"Amplitude du balayage",spreadHint:"Les degrés d'azimut que parcourt un balayage.",azimuth:"Azimut",azimuthHint:"En degrés depuis le nord vrai : le milieu d'un balayage, le premier faisceau d'une gerbe.",period:"Période",periodHint:"Secondes pour un tour, ou pour un balayage aller et retour.",from:"De",fromHint:"Secondes de l'enregistrement, négatives avant son début. Depuis le début si vide.",until:"À",untilHint:"Secondes de l'enregistrement. Jusqu'à la fin si vide."};export{e as searchlightParameterTexts_fr};
@@ -0,0 +1 @@
1
+ const i={searchlight:"Proiettore",name:"Nome",lamp:"Lampada",motion:"Movimento",when:"Quando",position:"Posizione",height:"Altezza",heightHint:"Metri dal suolo a cui stanno le lampade: 2 su un rimorchio, di più su un tetto.",beams:"Fasci",beamsHint:"Quanti fasci invia: 1 per una sola testa, 4 per uno skytracker, di più per il ventaglio di uno skyrose.",intensity:"Intensità",intensityHint:"L'intensità al centro di ogni fascio, in candele: circa 300 milioni per una testa di skytracker allo xeno da quattro chilowatt, dieci milioni per una testa mobile a fascio.",divergence:"Larghezza",divergenceHint:"La larghezza di ogni fascio, in gradi, a metà del suo massimo: da 0,5 a 1,5 per un proiettore allo xeno.",temperature:"Temperatura di colore",temperatureHint:"In kelvin: da 5 600 a 6 000 per un arco allo xeno o una lampada agli alogenuri.",pattern:"Motivo",patternHint:"Come si muovono i fasci. Le quattro teste di uno skytracker tracciano un quadrifoglio; una testa sola spazza; il ventaglio di uno skyrose gira.",fixed:"Fermo",sweep:"Spazzata avanti e indietro",rotate:"Ventaglio rotante",cloverleaf:"Quadrifoglio",tilt:"Inclinazione",tiltHint:"In gradi dalla verticale: il massimo per un quadrifoglio.",spread:"Ampiezza della spazzata",spreadHint:"I gradi di azimut percorsi da una spazzata.",azimuth:"Azimut",azimuthHint:"In gradi dal nord vero: il centro di una spazzata, il primo fascio di un ventaglio.",period:"Periodo",periodHint:"Secondi per un giro, o per una spazzata di andata e ritorno.",from:"Da",fromHint:"Secondi della registrazione, negativi prima dell'inizio. Dall'inizio se vuoto.",until:"A",untilHint:"Secondi della registrazione. Fino alla fine se vuoto."};export{i as searchlightParameterTexts_it};
@@ -0,0 +1 @@
1
+ import{BeamSystem as L}from"./BeamSystem-BPEYuCF4.js";import{L as x}from"./LaserBeam-C7glTvQN.js";import{bo as v,bp as r,bq as N,br as O,q as D}from"./ShareDialogElement-CBeU9ChH.js";import"./three.module-CbaHqYFq.js";import"./rr0-ufoathome.mjs";import"./Sighting-B7bsiTIQ.js";import"./VisualAids-DI-hEL46.js";import"./SaidPosition-OJEYhVKN.js";import"./GeoProjection-DvqDbRIx.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";class E{static APERTURE_M=.6;static NEAR_STEP_M=10;static FAR_STEP_M=250;static STEP_SHARE=.05;static CLOUD_STEP_M=25;static SPENT=.003;beams=new L;placed;lineOwners=[];constructor(){this.beams.group.name="searchlights"}get object(){return this.beams.group}get drawnCount(){return this.beams.drawnCount}update(a,s,t){const c=[],M=[];this.lineOwners=[];const n=t.clouds;n?n.dim(this.beams.material):v.apply(this.beams.material,[]);const l=t.wind??{eastMS:0,northMS:0};for(const o of r.onAt(a,s)){const T=this.whereOf(o,t.reference),g=t.origin.x+T.eastM*t.eastScale,d=t.origin.z-T.northM,u=t.groundYAt(g,d)+(o.heightM??r.DEFAULT_HEIGHT_M),e=o.intensityCd??r.DEFAULT_INTENSITY_CD,b=o.divergenceDeg??r.DEFAULT_DIVERGENCE_DEG,S=b*Math.PI/180,m=r.fluxLm(e,b),i=N.ofTemperature(o.colourTemperatureK??r.DEFAULT_TEMPERATURE_K),w=L.white(i);r.aimsAt(o,s).forEach((A,_)=>{const p=r.axisOf(A),h={x:p.east,y:p.up,z:-p.north},P={windAlongMS:l.eastMS*p.east+l.northMS*p.north,windAcrossMS:l.eastMS*p.north-l.northMS*p.east},{points:y,throughBelow:I}=this.walk({x:g,y:u,z:d},h,S,m,s,t,P);if(c.push({id:o.id,points:y,spectrum:w}),this.lineOwners.push({id:o.id,beam:_}),n&&h.y>.02&&n.bottomY>u){const Y=(n.bottomY-u)/h.y,R=t.air.transmittance(t.siteElevationM+u,t.siteElevationM+n.bottomY,Y),C=e*t.relativeScale;M.push({x:g,y:u,z:d,axis:h,fwhmRad:S,rgb:[C*i[0]*R[0],C*i[1]*R[1],C*i[2]*R[2]],throughCloudsBelow:I})}})}this.beams.drawLines(c,t),t.lightClouds?.(M)}walk(a,s,t,c,M,n,l){const o=n.clouds,T=[],g=[],d=[],u=n.siteElevationM+a.y;let e=0,b=0;for(;;){const m=a.x+s.x*e,i=a.y+s.y*e,w=a.z+s.z*e,A=o!==void 0&&i>=o.bottomY&&i<=o.topY,_=Math.exp(-b),p=e>0?n.air.transmittance(u,n.siteElevationM+i,e)[1]:1;if(T.push({x:m,y:i,z:w,altitudeM:n.siteElevationM+i,widthM:E.APERTURE_M+t*e,powerW:c*p*_,haze:x.patchAt(e,M,{...l,patchiness:x.DEFAULT_PATCHINESS})}),g.push(i),d.push(_),e>=r.RANGE_M||i>=r.CEILING_M||_<E.SPENT)break;const h=A?E.CLOUD_STEP_M:Math.min(E.FAR_STEP_M,Math.max(E.NEAR_STEP_M,e*E.STEP_SHARE));if(o&&(A||i<o.bottomY&&i+s.y*h>o.bottomY)){const P=A?h:Math.max(0,(o.bottomY-i)/Math.max(s.y,1e-6));if(!A){e+=Math.max(1,P);continue}b+=o.extinctionAt(m+s.x*h/2,i+s.y*h/2,w+s.z*h/2)*h*O.BEAM_OPACITY}e+=h}return{points:T,throughBelow:m=>{const i=g.findIndex(w=>w>=m);return i<0?d[d.length-1]:d[i]}}}whereOf(a,s){(!this.placed||this.placed.lat!==s.lat||this.placed.lng!==s.lng)&&(this.placed={...s,at:new Map});let t=this.placed.at.get(a);if(!t){const c=D.ecef({lat:s.lat,lng:s.lng,heightM:0}),M=D.ecef({lat:a.lat,lng:a.lng,heightM:0}),n=s.lat*Math.PI/180,l=s.lng*Math.PI/180,o=[M[0]-c[0],M[1]-c[1],M[2]-c[2]];t={eastM:-Math.sin(l)*o[0]+Math.cos(l)*o[1],northM:-Math.sin(n)*Math.cos(l)*o[0]-Math.sin(n)*Math.sin(l)*o[1]+Math.cos(n)*o[2]},this.placed.at.set(a,t)}return t}pick(a,s,t){const c=this.beams.pickAt(a,s,t.toleranceRad);if(c)return{id:c.id,distanceM:c.distanceM,detail:{beam:(this.lineOwners[c.line]?.beam??0)+1}}}dispose(){this.beams.dispose()}}export{E as SearchlightSystem};