@rr0/ufoathome 0.203.0 → 0.204.1

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 (242) hide show
  1. package/dist-embed-scene/SceneNames_en--zj8Tlec.js +1 -0
  2. package/dist-embed-scene/SceneNames_es-toWs7p7i.js +1 -0
  3. package/dist-embed-scene/SceneNames_fr-w4Xdplid.js +1 -0
  4. package/dist-embed-scene/SceneNames_it-Cwcscdx7.js +1 -0
  5. package/dist-embed-scene/rr0-scene.mjs +296 -296
  6. package/dist-embed-scene/sightingSchema-DoPVOlCB.js +1 -0
  7. package/dist-embed-sighting/{AdsbLolArchiveProvider-CsuxO9wl.js → AdsbLolArchiveProvider-BSewzrRe.js} +1 -1
  8. package/dist-embed-sighting/{AirshipEditor-DkDCkwGG.js → AirshipEditor-BiG7EYoB.js} +2 -2
  9. package/dist-embed-sighting/{AuroraEditor-C4tY9hXK.js → AuroraEditor-C1Y_zbNW.js} +1 -1
  10. package/dist-embed-sighting/{AuroraSimulation-C7LAHgWM.js → AuroraSimulation-B9GaDXC3.js} +2 -2
  11. package/dist-embed-sighting/{BallesterGuaspAssessor-BPaiHWd9.js → BallesterGuaspAssessor-BAXmW7XL.js} +1 -1
  12. package/dist-embed-sighting/BalloonEditor-D54CC7cn.js +24 -0
  13. package/dist-embed-sighting/{BeamEditor-DDzw-fB_.js → BeamEditor-SHXD10FH.js} +1 -1
  14. package/dist-embed-sighting/{BeamSystem-CsNwl_vM.js → BeamSystem-CP3J9Jgx.js} +1 -1
  15. package/dist-embed-sighting/{BirdEditor-BgNNcdhv.js → BirdEditor-BCit7Rs-.js} +1 -1
  16. package/dist-embed-sighting/{BirdFlock-DBgkxsxp.js → BirdFlock-DhsSOJTg.js} +1 -1
  17. package/dist-embed-sighting/{CaseReportExport--iqqhu1e.js → CaseReportExport-Dk3rKiVm.js} +2 -2
  18. package/dist-embed-sighting/{ContrailSystem-Di5w5IVi.js → ContrailSystem-70o5ynhD.js} +1 -1
  19. package/dist-embed-sighting/ControlPasses-DQMrWqA3.js +29 -0
  20. package/dist-embed-sighting/{CoverageAssessor-Cu9wP4ZB.js → CoverageAssessor-BdZ85Hmy.js} +1 -1
  21. package/dist-embed-sighting/{DroneEditor-5nuq52EG.js → DroneEditor-DwQsVj8U.js} +1 -1
  22. package/dist-embed-sighting/{DroneParameters-DHeJ7KyU.js → DroneParameters-91BBY10Y.js} +1 -1
  23. package/dist-embed-sighting/{Flightradar24Provider-p4a3_chL.js → Flightradar24Provider-NbfW-lDQ.js} +1 -1
  24. package/dist-embed-sighting/{GLTFLoader-fbsNsHlp.js → GLTFLoader-CTETHs7e.js} +1 -1
  25. package/dist-embed-sighting/GenerativeKitMessages-hgIQ_sST.js +1 -0
  26. package/dist-embed-sighting/{HeadlightSystem-Ce7sHylX.js → HeadlightSystem-ByKGq-30.js} +1 -1
  27. package/dist-embed-sighting/{HynekAssessor-DWDZGeLY.js → HynekAssessor-O1MFR79v.js} +1 -1
  28. package/dist-embed-sighting/LanternEditor-X0RgF4mn.js +24 -0
  29. package/dist-embed-sighting/{LaunchEditor-BGyLgkGS.js → LaunchEditor-oTKLz_5C.js} +1 -1
  30. package/dist-embed-sighting/{LaunchSimulation-DvexI06i.js → LaunchSimulation-ClRFO1uw.js} +1 -1
  31. package/dist-embed-sighting/{ModuleSession-_kHZ7Tx3.js → ModuleSession-SivjhuIl.js} +3 -3
  32. package/dist-embed-sighting/ModuleThree-TrytNggN.js +1 -0
  33. package/dist-embed-sighting/{NearestApproach-CONyx4c5.js → NearestApproach-BM7B5PuM.js} +1 -1
  34. package/dist-embed-sighting/{ParameterForm-DFHcolwG.js → ParameterForm-BghOJXLP.js} +1 -1
  35. package/dist-embed-sighting/{PoherAssessor-DI86qOCu.js → PoherAssessor-DZMtM2pW.js} +1 -1
  36. package/dist-embed-sighting/PoherMatrix-C2fcLqDH.js +1 -0
  37. package/dist-embed-sighting/PoherSelfCheck-PJvhaWFK.js +1 -0
  38. package/dist-embed-sighting/{RailwaySystem-DcJr9BY_.js → RailwaySystem-Dmx9y4gO.js} +1 -1
  39. package/dist-embed-sighting/{ReentryEditor-C6EJJf4l.js → ReentryEditor-DozmlO_l.js} +1 -1
  40. package/dist-embed-sighting/{ReentrySimulation-BFVBOWrm.js → ReentrySimulation-WXW1IU2E.js} +1 -1
  41. package/dist-embed-sighting/{ReferenceSystem-zTvTqp5y.js → ReferenceSystem-BD7gXBee.js} +1 -1
  42. package/dist-embed-sighting/{RoadMarkings-DvWjbrSf.js → RoadMarkings-Bp07bgso.js} +1 -1
  43. package/dist-embed-sighting/SceneNames_en-BarwWQKA.js +1 -0
  44. package/dist-embed-sighting/SceneNames_es-CEdDjAb4.js +1 -0
  45. package/dist-embed-sighting/SceneNames_fr-m5WHqg-1.js +1 -0
  46. package/dist-embed-sighting/SceneNames_it-D_H_iZnc.js +1 -0
  47. package/dist-embed-sighting/{SearchlightEditor-By5Z3ef7.js → SearchlightEditor-BGmKCBrG.js} +1 -1
  48. package/dist-embed-sighting/{SearchlightSystem-PEMBDW1s.js → SearchlightSystem-5FPRRIkH.js} +1 -1
  49. package/dist-embed-sighting/SightingMessages_en-DKFVZnDu.js +1 -0
  50. package/dist-embed-sighting/SightingMessages_es-DYQlWvm0.js +1 -0
  51. package/dist-embed-sighting/SightingMessages_fr-BygVDDY9.js +1 -0
  52. package/dist-embed-sighting/SightingMessages_it-BI7GnXPz.js +1 -0
  53. package/dist-embed-sighting/{SkyLantern-yYihsrun.js → SkyLantern-1Rqy6fNz.js} +1 -1
  54. package/dist-embed-sighting/{TraceSystem-1K0WblAK.js → TraceSystem-DDlP7sxl.js} +2 -2
  55. package/dist-embed-sighting/{UfoMessages_en-CwRXodRE.js → UfoMessages_en-DvUA0KYR.js} +1 -1
  56. package/dist-embed-sighting/{WaterSystem-1VlNXZnO.js → WaterSystem-Ik6QzyT_.js} +2 -2
  57. package/dist-embed-sighting/rr0-sighting.mjs +344 -325
  58. package/dist-embed-sighting/sightingSchema-DoPVOlCB.js +1 -0
  59. package/dist-embed-sighting/{trafficRuntime-BUvbWOcl.js → trafficRuntime-CjDwU1Lk.js} +1 -1
  60. package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-DNYpHE9t.js → AdsbLolArchiveProvider-CNMGHqqx.js} +1 -1
  61. package/dist-embed-sighting-editor/{AirshipEditor-B_TQEcNk.js → AirshipEditor-BVlkWwdL.js} +1 -1
  62. package/dist-embed-sighting-editor/{AirshipFlight-zrtPXNvX.js → AirshipFlight-Cvl6xWPY.js} +1 -1
  63. package/dist-embed-sighting-editor/{Aurora-wHi_XgNK.js → Aurora-DOIRpjiG.js} +1 -1
  64. package/dist-embed-sighting-editor/{AuroraEditor-CHAo9LbG.js → AuroraEditor-B0tCM7E7.js} +1 -1
  65. package/dist-embed-sighting-editor/{AuroraSimulation-CMoKbd0k.js → AuroraSimulation-CX7V0obh.js} +1 -1
  66. package/dist-embed-sighting-editor/{BallesterGuaspAssessor-Bylahnc2.js → BallesterGuaspAssessor-DEJId5n8.js} +1 -1
  67. package/dist-embed-sighting-editor/{BalloonEditor-DOmOj25v.js → BalloonEditor-Drb5evP5.js} +1 -1
  68. package/dist-embed-sighting-editor/{BalloonFlight-DkhpbdZV.js → BalloonFlight-CGXmDbNq.js} +1 -1
  69. package/dist-embed-sighting-editor/{BeamEditor-CwC6pRPq.js → BeamEditor-DP2LNObR.js} +1 -1
  70. package/dist-embed-sighting-editor/{BeamSystem-Zsq9zuJa.js → BeamSystem-BCaOtm3H.js} +1 -1
  71. package/dist-embed-sighting-editor/{BirdEditor-DslUOI4x.js → BirdEditor-CbYZcYyG.js} +1 -1
  72. package/dist-embed-sighting-editor/{BirdFlock-BoXaV-S_.js → BirdFlock-Dv9Awhvf.js} +1 -1
  73. package/dist-embed-sighting-editor/{CaseElement-DFnjs2AU.js → CaseElement-4CRoH54h.js} +2 -2
  74. package/dist-embed-sighting-editor/{CaseReportExport-CX87uNr9.js → CaseReportExport-W1lO4CR3.js} +1 -1
  75. package/dist-embed-sighting-editor/{ContrailSystem-hUtlCEq-.js → ContrailSystem-ChbOVWp-.js} +1 -1
  76. package/dist-embed-sighting-editor/{ControlPasses-C8qq_tSL.js → ControlPasses-Dgz_D6DL.js} +1 -1
  77. package/dist-embed-sighting-editor/{CoverageAssessor-uzQnTEH8.js → CoverageAssessor-CcVuVsG0.js} +1 -1
  78. package/dist-embed-sighting-editor/{DroneEditor-M2V3FKbS.js → DroneEditor-D6k4gYj4.js} +1 -1
  79. package/dist-embed-sighting-editor/{DroneFlight-C1bur42A.js → DroneFlight-D-MWhrXa.js} +1 -1
  80. package/dist-embed-sighting-editor/{DroneParameters-DRfoxMx8.js → DroneParameters-CdQbwFKD.js} +1 -1
  81. package/dist-embed-sighting-editor/{Flightradar24Provider-BJDB9e9p.js → Flightradar24Provider-D_eLiI9k.js} +1 -1
  82. package/dist-embed-sighting-editor/{GLTFLoader-CQrldtm5.js → GLTFLoader-BIk0ozTu.js} +1 -1
  83. package/dist-embed-sighting-editor/{HeadlightSystem-BzXjwGDi.js → HeadlightSystem-C9tLjvpO.js} +1 -1
  84. package/dist-embed-sighting-editor/{HynekAssessor-Bpze0IeH.js → HynekAssessor-B4ej1xgG.js} +1 -1
  85. package/dist-embed-sighting-editor/{InterviewEditorElement-C6y-8Wze.js → InterviewEditorElement-Bo4OG2ig.js} +3 -3
  86. package/dist-embed-sighting-editor/{LanternEditor-6fXL9oHW.js → LanternEditor-Hd-8kmET.js} +1 -1
  87. package/dist-embed-sighting-editor/{LaserBeam-Cl4c8oJt.js → LaserBeam-Ca2QUeCT.js} +1 -1
  88. package/dist-embed-sighting-editor/{LaunchEditor-C9swLaSJ.js → LaunchEditor-BykQEscN.js} +1 -1
  89. package/dist-embed-sighting-editor/{LaunchPlume-CPBS4JLE.js → LaunchPlume-Dos-OyTV.js} +1 -1
  90. package/dist-embed-sighting-editor/{LaunchSimulation-zjImyFHC.js → LaunchSimulation-B0DgOoJM.js} +1 -1
  91. package/dist-embed-sighting-editor/{ModelSource-ZiTya13j.js → ModelSource-szsl2QtY.js} +1 -1
  92. package/dist-embed-sighting-editor/{ModelThumbnails-BKl0Wk33.js → ModelThumbnails-dnCeD6UT.js} +1 -1
  93. package/dist-embed-sighting-editor/{ModelViewer-ZZnOiYz4.js → ModelViewer-BNGSukqO.js} +1 -1
  94. package/dist-embed-sighting-editor/{ModuleConformance-CYQ-Mn8w.js → ModuleConformance-CEXxsL48.js} +2 -2
  95. package/dist-embed-sighting-editor/{ModuleSession-BklqVucx.js → ModuleSession-DOhPD2XZ.js} +2 -2
  96. package/dist-embed-sighting-editor/ModuleThree-BY0cNbGt.js +1 -0
  97. package/dist-embed-sighting-editor/{ModulesPanelElement-MEFltyZr.js → ModulesPanelElement-DTnJICg0.js} +3 -3
  98. package/dist-embed-sighting-editor/{NearestApproach-Bnx9Ld5_.js → NearestApproach-jDpDx7cm.js} +1 -1
  99. package/dist-embed-sighting-editor/{PoherAssessor-CNj_Nyci.js → PoherAssessor-yWlnEcoZ.js} +1 -1
  100. package/dist-embed-sighting-editor/{RailwaySystem-Dn-v2OAb.js → RailwaySystem-CAqOaX1c.js} +1 -1
  101. package/dist-embed-sighting-editor/{ReentryEditor-DPt4At81.js → ReentryEditor-CNLwoAIZ.js} +2 -2
  102. package/dist-embed-sighting-editor/{ReentrySimulation-DwaQrNN5.js → ReentrySimulation-Q-8h8lRK.js} +1 -1
  103. package/dist-embed-sighting-editor/{ReferenceSystem-DlaF5KWz.js → ReferenceSystem-B0tZDQ1-.js} +1 -1
  104. package/dist-embed-sighting-editor/SceneNames_en-CTJiUG-r.js +1 -0
  105. package/dist-embed-sighting-editor/SceneNames_es-DHZMjSqb.js +1 -0
  106. package/dist-embed-sighting-editor/SceneNames_fr-C36uyjbM.js +1 -0
  107. package/dist-embed-sighting-editor/SceneNames_it-BQJQm2rT.js +1 -0
  108. package/dist-embed-sighting-editor/{SearchlightEditor-CdTMwgER.js → SearchlightEditor-sQh92hx7.js} +1 -1
  109. package/dist-embed-sighting-editor/{SearchlightSystem-jipCae7J.js → SearchlightSystem-B_RPbGj4.js} +1 -1
  110. package/dist-embed-sighting-editor/{SightingEditorMessages_en-BmqJK2u_.js → SightingEditorMessages_en-V_dJYjNb.js} +1 -1
  111. package/{dist-embed-ufoathome/SightingEditorMessages_es-avQMqPMq.js → dist-embed-sighting-editor/SightingEditorMessages_es-DauDuhPa.js} +1 -1
  112. package/dist-embed-sighting-editor/{SightingEditorMessages_fr-ClEadK1E.js → SightingEditorMessages_fr-zxTvQa2I.js} +1 -1
  113. package/dist-embed-sighting-editor/{SightingEditorMessages_it-Co5behaA.js → SightingEditorMessages_it-vvaao68O.js} +1 -1
  114. package/dist-embed-sighting-editor/SightingElement-4YMo_us5.js +694 -0
  115. package/dist-embed-sighting-editor/{SightingFileEditor-Du3A9uZm.js → SightingFileEditor-tIOJTG_y.js} +1 -1
  116. package/dist-embed-sighting-editor/SightingLabels_en-dOsFjVRL.js +1 -0
  117. package/dist-embed-sighting-editor/SightingLabels_es-CKlP2BDO.js +1 -0
  118. package/dist-embed-sighting-editor/{SightingLabels_fr-D69zENbW.js → SightingLabels_fr-Cpkcf5_9.js} +1 -1
  119. package/{dist-embed-ufoathome/SightingLabels_it-COLZ2Qth.js → dist-embed-sighting-editor/SightingLabels_it-3127rMXm.js} +1 -1
  120. package/dist-embed-sighting-editor/{SightingMessages_en-CzICxNU3.js → SightingMessages_en-Drcr3k4V.js} +1 -1
  121. package/dist-embed-sighting-editor/{SightingMessages_es-CiVFZlgA.js → SightingMessages_es-BcaWM7Oy.js} +1 -1
  122. package/dist-embed-sighting-editor/{SightingMessages_fr-nopOVDa1.js → SightingMessages_fr-7IYuW095.js} +1 -1
  123. package/dist-embed-sighting-editor/{SightingMessages_it-Cu0nnPts.js → SightingMessages_it-BhDmZn6p.js} +1 -1
  124. package/dist-embed-sighting-editor/{SkyLantern-CYhqKOnv.js → SkyLantern-Cj60Cn9B.js} +1 -1
  125. package/dist-embed-sighting-editor/{TraceSystem-Bj0G3fL7.js → TraceSystem-BK0y5lRX.js} +2 -2
  126. package/dist-embed-sighting-editor/{WaterSystem-Cv4v7PXz.js → WaterSystem-DMeMEW3i.js} +2 -2
  127. package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +455 -434
  128. package/dist-embed-sighting-editor/sightingSchema-DoPVOlCB.js +1 -0
  129. package/dist-embed-sighting-editor/{trafficRuntime-BdBceXei.js → trafficRuntime-eGXY41n0.js} +1 -1
  130. package/dist-embed-ufoathome/{AdsbLolArchiveProvider-D169IKdZ.js → AdsbLolArchiveProvider-BJm3HMv9.js} +1 -1
  131. package/dist-embed-ufoathome/{Aurora-CP_Xi-9o.js → Aurora-DooZfol8.js} +1 -1
  132. package/dist-embed-ufoathome/{AuroraEditor-B_Rxo_6I.js → AuroraEditor-COl6Uq7r.js} +1 -1
  133. package/dist-embed-ufoathome/{AuroraSimulation-KHkJyuus.js → AuroraSimulation-8865pkCY.js} +1 -1
  134. package/dist-embed-ufoathome/{BallesterGuaspAssessor-58lmGHUw.js → BallesterGuaspAssessor-CKK5Iybb.js} +1 -1
  135. package/dist-embed-ufoathome/{BalloonEditor-CAKXO8DQ.js → BalloonEditor-BBAtMeVM.js} +1 -1
  136. package/dist-embed-ufoathome/{BeamEditor-BOsTgbHL.js → BeamEditor-D6I1zG9Z.js} +1 -1
  137. package/dist-embed-ufoathome/{BeamSystem-C7OL1VWr.js → BeamSystem-BI4-w_0X.js} +1 -1
  138. package/dist-embed-ufoathome/{BodyEditor-DZ9-YBfo.js → BodyEditor-yBNJy9AC.js} +1 -1
  139. package/dist-embed-ufoathome/{CaseEditorElement-BgT6HnpX.js → CaseEditorElement-CPt1laCe.js} +64 -61
  140. package/dist-embed-ufoathome/{CaseElement-DVXLO8mr.js → CaseElement-CTZ3YIL0.js} +3 -3
  141. package/dist-embed-ufoathome/{CaseReportExport-Dui5KDc5.js → CaseReportExport-UNmAQ_xa.js} +3 -3
  142. package/dist-embed-ufoathome/{ColumnResize-CO4e1m-q.js → ColumnResize-D6vA9JBg.js} +9 -9
  143. package/dist-embed-ufoathome/{ControlPasses-CJ2jMdlf.js → ControlPasses-Bwafi16d.js} +1 -1
  144. package/dist-embed-ufoathome/{CoverageAssessor-CzhOt6fv.js → CoverageAssessor-DINhJJFz.js} +1 -1
  145. package/dist-embed-ufoathome/{Flightradar24Provider-TCNh_VXc.js → Flightradar24Provider-BEVn6h-k.js} +1 -1
  146. package/dist-embed-ufoathome/{GLTFLoader-BaIfBICM.js → GLTFLoader-CqzCNjEl.js} +1 -1
  147. package/dist-embed-ufoathome/{GeoJsonExport-B5AFUVEM.js → GeoJsonExport-B4GBH7Ei.js} +1 -1
  148. package/dist-embed-ufoathome/GeographicFigures-wtF2TmIn.js +1 -0
  149. package/dist-embed-ufoathome/HynekAssessor-De0RmEd0.js +1 -0
  150. package/dist-embed-ufoathome/{InterviewEditorElement-o21YUvNz.js → InterviewEditorElement-BVfNqEBS.js} +4 -4
  151. package/dist-embed-ufoathome/{InterviewElement-K_oIXneA.js → InterviewElement-BBEmBs1S.js} +1 -1
  152. package/dist-embed-ufoathome/{KmlExport-BfiqE1s2.js → KmlExport-C8yk8C7s.js} +1 -1
  153. package/dist-embed-ufoathome/{LanternEditor-CepeoImr.js → LanternEditor-DEeA3Kf_.js} +1 -1
  154. package/dist-embed-ufoathome/{LaserBeam-IRXmv6wc.js → LaserBeam-BGs1pXaE.js} +1 -1
  155. package/dist-embed-ufoathome/LaunchEditor-CBEW_ih2.js +22 -0
  156. package/dist-embed-ufoathome/{LaunchPlume-CujlF3wZ.js → LaunchPlume-BbsUUQE0.js} +1 -1
  157. package/dist-embed-ufoathome/{LaunchSimulation-58_ZZy8q.js → LaunchSimulation-DJJaKJGV.js} +1 -1
  158. package/dist-embed-ufoathome/{ModelSource-Bz25TN6e.js → ModelSource-B2Ie3T9B.js} +1 -1
  159. package/dist-embed-ufoathome/{ModelThumbnails-CcYlw6gA.js → ModelThumbnails-BOfC5SZt.js} +1 -1
  160. package/dist-embed-ufoathome/{ModelViewer-CD90RTYi.js → ModelViewer-CXP4K0sx.js} +1 -1
  161. package/dist-embed-ufoathome/{ModulesPanelElement-DZxFsuuG.js → ModulesPanelElement-DPkBhz-Y.js} +2 -2
  162. package/dist-embed-ufoathome/NearestApproach-D2cz2_44.js +1 -0
  163. package/dist-embed-ufoathome/{PoherAssessor-BkCJ1UTQ.js → PoherAssessor-CNOuLGVz.js} +1 -1
  164. package/dist-embed-ufoathome/PoherMatrix-C2fcLqDH.js +1 -0
  165. package/dist-embed-ufoathome/PoherSelfCheck-DnXcStjH.js +1 -0
  166. package/dist-embed-ufoathome/{ReentryEditor-BjyUUZGU.js → ReentryEditor-BCQM22Ps.js} +1 -1
  167. package/dist-embed-ufoathome/{ReentrySimulation-5VI9Dla4.js → ReentrySimulation-BFhCb4sM.js} +1 -1
  168. package/dist-embed-ufoathome/{ReferenceSystem-C0ZXvatV.js → ReferenceSystem-aZKW97nH.js} +1 -1
  169. package/dist-embed-ufoathome/ScenarioReadings-_IkJEoIB.js +1 -0
  170. package/dist-embed-ufoathome/ScenarioSweep-DOvp2pYT.js +1 -0
  171. package/dist-embed-ufoathome/SceneNames_en-sRbx6EJZ.js +1 -0
  172. package/dist-embed-ufoathome/SceneNames_es-pnfHB-7D.js +1 -0
  173. package/dist-embed-ufoathome/SceneNames_fr-BtTlti4C.js +1 -0
  174. package/dist-embed-ufoathome/SceneNames_it-DQKwdCVD.js +1 -0
  175. package/dist-embed-ufoathome/{SearchlightEditor-DPU1PgfT.js → SearchlightEditor-C8Jwy1VZ.js} +1 -1
  176. package/dist-embed-ufoathome/{SearchlightSystem-m0a11CEu.js → SearchlightSystem-D2TFaVqO.js} +1 -1
  177. package/dist-embed-ufoathome/{ShareDialogElement-DqCoQwtn.js → ShareDialogElement-Dsc4v4jd.js} +150 -132
  178. package/dist-embed-ufoathome/Sighting-C1yj2-s5.js +1 -0
  179. package/dist-embed-ufoathome/{SightingEditorMessages_en-BmqJK2u_.js → SightingEditorMessages_en-V_dJYjNb.js} +1 -1
  180. package/{dist-embed-sighting-editor/SightingEditorMessages_es-avQMqPMq.js → dist-embed-ufoathome/SightingEditorMessages_es-DauDuhPa.js} +1 -1
  181. package/dist-embed-ufoathome/{SightingEditorMessages_fr-ClEadK1E.js → SightingEditorMessages_fr-zxTvQa2I.js} +1 -1
  182. package/dist-embed-ufoathome/{SightingEditorMessages_it-Co5behaA.js → SightingEditorMessages_it-vvaao68O.js} +1 -1
  183. package/dist-embed-ufoathome/SightingElement-CFItfa0b.js +694 -0
  184. package/dist-embed-ufoathome/{SightingFileEditor-DS1DRU2p.js → SightingFileEditor-D5_GwIsn.js} +1 -1
  185. package/dist-embed-ufoathome/SightingLabels_en-dOsFjVRL.js +1 -0
  186. package/dist-embed-ufoathome/SightingLabels_es-CKlP2BDO.js +1 -0
  187. package/dist-embed-ufoathome/{SightingLabels_fr-D69zENbW.js → SightingLabels_fr-Cpkcf5_9.js} +1 -1
  188. package/{dist-embed-sighting-editor/SightingLabels_it-COLZ2Qth.js → dist-embed-ufoathome/SightingLabels_it-3127rMXm.js} +1 -1
  189. package/dist-embed-ufoathome/{SightingMessages_en-CzICxNU3.js → SightingMessages_en-Drcr3k4V.js} +1 -1
  190. package/dist-embed-ufoathome/{SightingMessages_es-CiVFZlgA.js → SightingMessages_es-BcaWM7Oy.js} +1 -1
  191. package/dist-embed-ufoathome/{SightingMessages_fr-nopOVDa1.js → SightingMessages_fr-7IYuW095.js} +1 -1
  192. package/dist-embed-ufoathome/{SightingMessages_it-Cu0nnPts.js → SightingMessages_it-BhDmZn6p.js} +1 -1
  193. package/dist-embed-ufoathome/{TraceSystem-BLumvnJD.js → TraceSystem-_cZ6PZho.js} +1 -1
  194. package/dist-embed-ufoathome/{VideoButton-hYfTEunC.js → VideoButton-CeAdEi2m.js} +1 -1
  195. package/dist-embed-ufoathome/rr0-ufoathome.mjs +10 -10
  196. package/dist-embed-ufoathome/sightingSchema-DoPVOlCB.js +1 -0
  197. package/dist-embed-ufoathome/{surroundingsSources-BWHnZ_qg.js → surroundingsSources-B7gbT2Pb.js} +1 -1
  198. package/dist-embed-ufoathome/{trafficRuntime-Xpncp71U.js → trafficRuntime-BKNJgPC4.js} +2 -2
  199. package/package.json +1 -1
  200. package/dist-embed-scene/SceneNames_en-BFJsR6Cc.js +0 -1
  201. package/dist-embed-scene/SceneNames_es-BHBTwcJ3.js +0 -1
  202. package/dist-embed-scene/SceneNames_fr-CFsA4XeK.js +0 -1
  203. package/dist-embed-scene/SceneNames_it-DkIgwviv.js +0 -1
  204. package/dist-embed-scene/sightingSchema-9MogCcUd.js +0 -1
  205. package/dist-embed-sighting/BalloonEditor-CaWwqWKK.js +0 -24
  206. package/dist-embed-sighting/ControlPasses-Dr6eP2Mq.js +0 -29
  207. package/dist-embed-sighting/GenerativeKitMessages-NbyGMKAR.js +0 -1
  208. package/dist-embed-sighting/LanternEditor-Be5Io1J-.js +0 -24
  209. package/dist-embed-sighting/ModuleThree-BLNSm2eY.js +0 -1
  210. package/dist-embed-sighting/SceneNames_en-BlRTU7Hq.js +0 -1
  211. package/dist-embed-sighting/SceneNames_es-DMNd9trd.js +0 -1
  212. package/dist-embed-sighting/SceneNames_fr-DlMcv9D0.js +0 -1
  213. package/dist-embed-sighting/SceneNames_it-DqlWMlOE.js +0 -1
  214. package/dist-embed-sighting/SightingMessages_en-D3YVhgUj.js +0 -1
  215. package/dist-embed-sighting/SightingMessages_es-ME6FeTp-.js +0 -1
  216. package/dist-embed-sighting/SightingMessages_fr-BgXYuIq4.js +0 -1
  217. package/dist-embed-sighting/SightingMessages_it-DcE90eAl.js +0 -1
  218. package/dist-embed-sighting/sightingSchema-9MogCcUd.js +0 -1
  219. package/dist-embed-sighting-editor/ModuleThree-jNUgMjnf.js +0 -1
  220. package/dist-embed-sighting-editor/SceneNames_en-c5zNw0Hi.js +0 -1
  221. package/dist-embed-sighting-editor/SceneNames_es-CDjoBwy_.js +0 -1
  222. package/dist-embed-sighting-editor/SceneNames_fr-CoZNmFu3.js +0 -1
  223. package/dist-embed-sighting-editor/SceneNames_it-CVEahBpq.js +0 -1
  224. package/dist-embed-sighting-editor/SightingElement-C6CT6DBZ.js +0 -693
  225. package/dist-embed-sighting-editor/SightingLabels_en-oIpytoq_.js +0 -1
  226. package/dist-embed-sighting-editor/SightingLabels_es-DUh1CTXl.js +0 -1
  227. package/dist-embed-sighting-editor/sightingSchema-9MogCcUd.js +0 -1
  228. package/dist-embed-ufoathome/GeographicFigures-DrlbDt4f.js +0 -1
  229. package/dist-embed-ufoathome/HynekAssessor-DaCcWwTH.js +0 -1
  230. package/dist-embed-ufoathome/LaunchEditor-C4hq0VUw.js +0 -22
  231. package/dist-embed-ufoathome/NearestApproach-DsszB5Rd.js +0 -1
  232. package/dist-embed-ufoathome/ScenarioReadings-CBWjF8TY.js +0 -1
  233. package/dist-embed-ufoathome/ScenarioSweep-MaryBOLs.js +0 -1
  234. package/dist-embed-ufoathome/SceneNames_en-7OZ7peGc.js +0 -1
  235. package/dist-embed-ufoathome/SceneNames_es-P5-Mavdi.js +0 -1
  236. package/dist-embed-ufoathome/SceneNames_fr-qzw0QzD0.js +0 -1
  237. package/dist-embed-ufoathome/SceneNames_it-Sqf8JFOd.js +0 -1
  238. package/dist-embed-ufoathome/Sighting-D-_IYi9n.js +0 -1
  239. package/dist-embed-ufoathome/SightingElement-CUrYpWRD.js +0 -693
  240. package/dist-embed-ufoathome/SightingLabels_en-oIpytoq_.js +0 -1
  241. package/dist-embed-ufoathome/SightingLabels_es-DUh1CTXl.js +0 -1
  242. package/dist-embed-ufoathome/sightingSchema-9MogCcUd.js +0 -1
@@ -1 +1 @@
1
- import{I as C,w as V,x as G,M as W,K as X,T as k,A as v}from"./three.module-CbaHqYFq.js";import{L as w}from"./LaserBeam-IRXmv6wc.js";import{b8 as L}from"./ShareDialogElement-DqCoQwtn.js";import"./rr0-ufoathome.mjs";import"./Sighting-D-_IYi9n.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 M{static laser(s){const t=w.colourOf(s),e=w.efficacy(s);return{scatteredAt:(h,n,i,c)=>{const r=w.coefficientsAt(h,s,n),y=e*w.phasedScattering({...r,aerosolPerM:r.aerosolPerM*i},c);return[y*t[0],y*t[1],y*t[2]]}}}static white(s){return{scatteredAt:(t,e,h,n)=>{const i=L.rayleighDensity(e),c=L.aerosolDensity(e)*h;return[0,1,2].map(r=>s[r]*w.phasedScattering({rayleighPerM:t.rayleigh[r]*i,aerosolPerM:t.aerosol[r]*c},n))}}}static MAX_SEGMENTS=12e3;static MIN_PIXELS=2;static VERTICES_PER_SEGMENT=24;static HALO_RAD=.002;static HALO_SHARE=.15;static BRIGHTEST_RELATIVE=6e4;group=new C;mesh;positions=new Float32Array(M.MAX_SEGMENTS*M.VERTICES_PER_SEGMENT*3);colors=new Float32Array(M.MAX_SEGMENTS*M.VERTICES_PER_SEGMENT*3);segments=0;drawn=[];cut;constructor(){const s=new V;s.setAttribute("position",new G(this.positions,3)),s.setAttribute("color",new G(this.colors,3)),s.setDrawRange(0,0),this.mesh=new W(s,new X({vertexColors:!0,transparent:!0,blending:v,depthWrite:!1,fog:!1,side:k})),this.mesh.frustumCulled=!1,this.mesh.renderOrder=8,this.mesh.name="beams",this.group.name="beams",this.group.add(this.mesh)}get segmentCount(){return this.segments}get object(){return this.group}get drawnCount(){return this.segments}pick(s,t,e){return this.pickAt(s,t,e.toleranceRad)}update(s,t,e){this.drawLines(this.viewsOf(s,t,e).map(h=>({id:h.id,points:this.place(h,t,e),spectrum:M.laser(h.wavelengthNm)})),e)}get material(){return this.mesh.material}drawLines(s,t){let e=0;this.segments=0,this.drawn=[];for(const n of s){const i=n.points;this.drawn.push({id:n.id,points:i});for(let c=0;c+1<i.length&&!(this.segments>=M.MAX_SEGMENTS);c++){const r=this.pushSegment(e,i[c],i[c+1],n.spectrum,t);r>e&&this.segments++,e=r}}const h=this.mesh.geometry;h.setDrawRange(0,e);for(const n of["position","color"]){const i=h.getAttribute(n);i.clearUpdateRanges(),e>0&&i.addUpdateRange(0,e*3),i.needsUpdate=!0}}viewsOf(s,t,e){const{lat:h,lng:n}=e.reference;(!this.cut||this.cut.lat!==h||this.cut.lng!==n||this.cut.air!==e.air)&&(this.cut={lat:h,lng:n,air:e.air,views:new Map});const i=this.cut.views,c=new Set(s);return w.onAt(s,t).map(r=>{if(!c.has(r))return w.viewOf(r,e.reference,e.air);let y=i.get(r);return y||i.set(r,y=w.viewOf(r,e.reference,e.air)),y})}place(s,t,e){const h=[],n=e.wind??{eastMS:0,northMS:0};for(const i of s.samples){const c=e.origin.x+i.eastM*e.eastScale,r=e.origin.z-i.northM,y=i.upM-e.siteElevationM;if(h.length>0&&y<e.groundYAt(c,r))break;const u=n.eastMS*i.dirEast+n.northMS*i.dirNorth,p=n.eastMS*i.dirNorth-n.northMS*i.dirEast,m=w.patchAt(i.fromSourceM,t,{windAlongMS:u,windAcrossMS:p,patchiness:s.patchiness});h.push({x:c,y,z:r,altitudeM:i.altitudeM,widthM:i.widthM,powerW:i.powerW,haze:m})}return h}static SMOOTH_RATIO=1.08;static MAX_HALVINGS=6;pushSegment(s,t,e,h,n,i=0){const c={x:e.x-t.x,y:e.y-t.y,z:e.z-t.z},r=Math.hypot(c.x,c.y,c.z);if(r<1e-6)return s;const y={x:c.x/r,y:c.y/r,z:c.z/r};if(Math.hypot((t.x+e.x)/2-n.eye.x,(t.y+e.y)/2-n.eye.y,(t.z+e.z)/2-n.eye.z)<.001)return s;const u=o=>{const l={x:n.eye.x-o.x,y:n.eye.y-o.y,z:n.eye.z-o.z},z=Math.hypot(l.x,l.y,l.z)||.001,d=(y.x*l.x+y.y*l.y+y.z*l.z)/z,a=Math.sqrt(Math.max(0,1-d*d)),A=h.scatteredAt(n.air,o.altitudeM,o.haze,d);return{sinTurn:a,scattered:A,through:n.transmittanceTo(o.x,o.y,o.z)}},p=o=>M.MIN_PIXELS*n.pixelRad*Math.hypot(o.x-n.eye.x,o.y-n.eye.y,o.z-n.eye.z),m=o=>Math.hypot(o.x-n.eye.x,o.y-n.eye.y,o.z-n.eye.z),S=o=>Math.max(o.widthM,M.HALO_RAD*m(o)),T=o=>{const l=S(o)/p(o),z=Math.min(1,Math.max(0,l-1));return M.HALO_SHARE*z*z*(3-2*z)},O=new Map([t,e].map(o=>[o,u(o)])),f=(o,l,z)=>{const d=Math.max(l,p(o)),{sinTurn:a,scattered:A,through:E}=O.get(o),I=2*z*o.powerW/(d*Math.max(a,.001)),N=A.map((_,D)=>Math.min(M.BRIGHTEST_RELATIVE,I*_*n.relativeScale*E[D])),P={x:n.eye.x-o.x,y:n.eye.y-o.y,z:n.eye.z-o.z},H=this.normalise(this.cross(y,P));return{point:o,half:d/2,level:N,across:H}},R=[[f(t,t.widthM,1-T(t)),f(e,e.widthM,1-T(e))],[f(t,S(t),T(t)),f(e,S(e),T(e))]],[x,g]=R[0].map(o=>Math.max(...o.level));if(i<M.MAX_HALVINGS&&Math.max(x,g)>M.SMOOTH_RATIO*Math.max(Math.min(x,g),1e-12)){const o={x:(t.x+e.x)/2,y:(t.y+e.y)/2,z:(t.z+e.z)/2,altitudeM:(t.altitudeM+e.altitudeM)/2,widthM:(t.widthM+e.widthM)/2,powerW:Math.sqrt(t.powerW*e.powerW),haze:(t.haze+e.haze)/2};return this.pushSegment(this.pushSegment(s,t,o,h,n,i+1),o,e,h,n,i+1)}if((s+M.VERTICES_PER_SEGMENT)*3>this.positions.length)return s;for(const o of R){if(o.every(a=>Math.max(...a.level)<=0))continue;const l=(a,A)=>{const E=s*3;this.positions[E]=a.point.x+a.across.x*a.half*A,this.positions[E+1]=a.point.y+a.across.y*a.half*A,this.positions[E+2]=a.point.z+a.across.z*a.half*A;const I=A===0?1:0;this.colors[E]=a.level[0]*I,this.colors[E+1]=a.level[1]*I,this.colors[E+2]=a.level[2]*I,s++},[z,d]=o;for(const a of[-1,1])l(z,a),l(z,0),l(d,a),l(z,0),l(d,0),l(d,a)}return s}pickAt(s,t,e){let h;for(const[n,i]of this.drawn.entries())for(let c=0;c+1<i.points.length;c++){const r=i.points[c],y=i.points[c+1],u={x:y.x-r.x,y:y.y-r.y,z:y.z-r.z},p={x:r.x-s.x,y:r.y-s.y,z:r.z-s.z},m=u.x*u.x+u.y*u.y+u.z*u.z,S=u.x*t.x+u.y*t.y+u.z*t.z,T=u.x*p.x+u.y*p.y+u.z*p.z,O=t.x*p.x+t.y*p.y+t.z*p.z,f=m-S*S,R=f>1e-9?Math.min(1,Math.max(0,(S*O-T)/f)):0,x={x:r.x+u.x*R,y:r.y+u.y*R,z:r.z+u.z*R},g=(x.x-s.x)*t.x+(x.y-s.y)*t.y+(x.z-s.z)*t.z;if(g<=0)continue;const o=Math.hypot(x.x-s.x-t.x*g,x.y-s.y-t.y*g,x.z-s.z-t.z*g),l=Math.atan2(o,g);l<=e&&(!h||l<h.angle)&&(h={id:i.id,distanceM:Math.hypot(x.x-s.x,x.y-s.y,x.z-s.z),angle:l,line:n})}return h&&{id:h.id,distanceM:h.distanceM,line:h.line}}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(){this.mesh.geometry.dispose(),this.mesh.material.dispose(),this.group.removeFromParent()}}export{M as BeamSystem};
1
+ import{I as C,w as V,x as G,M as W,K as X,T as k,A as v}from"./three.module-CbaHqYFq.js";import{L as w}from"./LaserBeam-BGs1pXaE.js";import{b9 as L}from"./ShareDialogElement-Dsc4v4jd.js";import"./rr0-ufoathome.mjs";import"./Sighting-C1yj2-s5.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 M{static laser(s){const t=w.colourOf(s),e=w.efficacy(s);return{scatteredAt:(h,n,i,c)=>{const r=w.coefficientsAt(h,s,n),y=e*w.phasedScattering({...r,aerosolPerM:r.aerosolPerM*i},c);return[y*t[0],y*t[1],y*t[2]]}}}static white(s){return{scatteredAt:(t,e,h,n)=>{const i=L.rayleighDensity(e),c=L.aerosolDensity(e)*h;return[0,1,2].map(r=>s[r]*w.phasedScattering({rayleighPerM:t.rayleigh[r]*i,aerosolPerM:t.aerosol[r]*c},n))}}}static MAX_SEGMENTS=12e3;static MIN_PIXELS=2;static VERTICES_PER_SEGMENT=24;static HALO_RAD=.002;static HALO_SHARE=.15;static BRIGHTEST_RELATIVE=6e4;group=new C;mesh;positions=new Float32Array(M.MAX_SEGMENTS*M.VERTICES_PER_SEGMENT*3);colors=new Float32Array(M.MAX_SEGMENTS*M.VERTICES_PER_SEGMENT*3);segments=0;drawn=[];cut;constructor(){const s=new V;s.setAttribute("position",new G(this.positions,3)),s.setAttribute("color",new G(this.colors,3)),s.setDrawRange(0,0),this.mesh=new W(s,new X({vertexColors:!0,transparent:!0,blending:v,depthWrite:!1,fog:!1,side:k})),this.mesh.frustumCulled=!1,this.mesh.renderOrder=8,this.mesh.name="beams",this.group.name="beams",this.group.add(this.mesh)}get segmentCount(){return this.segments}get object(){return this.group}get drawnCount(){return this.segments}pick(s,t,e){return this.pickAt(s,t,e.toleranceRad)}update(s,t,e){this.drawLines(this.viewsOf(s,t,e).map(h=>({id:h.id,points:this.place(h,t,e),spectrum:M.laser(h.wavelengthNm)})),e)}get material(){return this.mesh.material}drawLines(s,t){let e=0;this.segments=0,this.drawn=[];for(const n of s){const i=n.points;this.drawn.push({id:n.id,points:i});for(let c=0;c+1<i.length&&!(this.segments>=M.MAX_SEGMENTS);c++){const r=this.pushSegment(e,i[c],i[c+1],n.spectrum,t);r>e&&this.segments++,e=r}}const h=this.mesh.geometry;h.setDrawRange(0,e);for(const n of["position","color"]){const i=h.getAttribute(n);i.clearUpdateRanges(),e>0&&i.addUpdateRange(0,e*3),i.needsUpdate=!0}}viewsOf(s,t,e){const{lat:h,lng:n}=e.reference;(!this.cut||this.cut.lat!==h||this.cut.lng!==n||this.cut.air!==e.air)&&(this.cut={lat:h,lng:n,air:e.air,views:new Map});const i=this.cut.views,c=new Set(s);return w.onAt(s,t).map(r=>{if(!c.has(r))return w.viewOf(r,e.reference,e.air);let y=i.get(r);return y||i.set(r,y=w.viewOf(r,e.reference,e.air)),y})}place(s,t,e){const h=[],n=e.wind??{eastMS:0,northMS:0};for(const i of s.samples){const c=e.origin.x+i.eastM*e.eastScale,r=e.origin.z-i.northM,y=i.upM-e.siteElevationM;if(h.length>0&&y<e.groundYAt(c,r))break;const u=n.eastMS*i.dirEast+n.northMS*i.dirNorth,p=n.eastMS*i.dirNorth-n.northMS*i.dirEast,m=w.patchAt(i.fromSourceM,t,{windAlongMS:u,windAcrossMS:p,patchiness:s.patchiness});h.push({x:c,y,z:r,altitudeM:i.altitudeM,widthM:i.widthM,powerW:i.powerW,haze:m})}return h}static SMOOTH_RATIO=1.08;static MAX_HALVINGS=6;pushSegment(s,t,e,h,n,i=0){const c={x:e.x-t.x,y:e.y-t.y,z:e.z-t.z},r=Math.hypot(c.x,c.y,c.z);if(r<1e-6)return s;const y={x:c.x/r,y:c.y/r,z:c.z/r};if(Math.hypot((t.x+e.x)/2-n.eye.x,(t.y+e.y)/2-n.eye.y,(t.z+e.z)/2-n.eye.z)<.001)return s;const u=o=>{const l={x:n.eye.x-o.x,y:n.eye.y-o.y,z:n.eye.z-o.z},z=Math.hypot(l.x,l.y,l.z)||.001,d=(y.x*l.x+y.y*l.y+y.z*l.z)/z,a=Math.sqrt(Math.max(0,1-d*d)),A=h.scatteredAt(n.air,o.altitudeM,o.haze,d);return{sinTurn:a,scattered:A,through:n.transmittanceTo(o.x,o.y,o.z)}},p=o=>M.MIN_PIXELS*n.pixelRad*Math.hypot(o.x-n.eye.x,o.y-n.eye.y,o.z-n.eye.z),m=o=>Math.hypot(o.x-n.eye.x,o.y-n.eye.y,o.z-n.eye.z),S=o=>Math.max(o.widthM,M.HALO_RAD*m(o)),T=o=>{const l=S(o)/p(o),z=Math.min(1,Math.max(0,l-1));return M.HALO_SHARE*z*z*(3-2*z)},O=new Map([t,e].map(o=>[o,u(o)])),f=(o,l,z)=>{const d=Math.max(l,p(o)),{sinTurn:a,scattered:A,through:E}=O.get(o),I=2*z*o.powerW/(d*Math.max(a,.001)),N=A.map((_,D)=>Math.min(M.BRIGHTEST_RELATIVE,I*_*n.relativeScale*E[D])),P={x:n.eye.x-o.x,y:n.eye.y-o.y,z:n.eye.z-o.z},H=this.normalise(this.cross(y,P));return{point:o,half:d/2,level:N,across:H}},R=[[f(t,t.widthM,1-T(t)),f(e,e.widthM,1-T(e))],[f(t,S(t),T(t)),f(e,S(e),T(e))]],[x,g]=R[0].map(o=>Math.max(...o.level));if(i<M.MAX_HALVINGS&&Math.max(x,g)>M.SMOOTH_RATIO*Math.max(Math.min(x,g),1e-12)){const o={x:(t.x+e.x)/2,y:(t.y+e.y)/2,z:(t.z+e.z)/2,altitudeM:(t.altitudeM+e.altitudeM)/2,widthM:(t.widthM+e.widthM)/2,powerW:Math.sqrt(t.powerW*e.powerW),haze:(t.haze+e.haze)/2};return this.pushSegment(this.pushSegment(s,t,o,h,n,i+1),o,e,h,n,i+1)}if((s+M.VERTICES_PER_SEGMENT)*3>this.positions.length)return s;for(const o of R){if(o.every(a=>Math.max(...a.level)<=0))continue;const l=(a,A)=>{const E=s*3;this.positions[E]=a.point.x+a.across.x*a.half*A,this.positions[E+1]=a.point.y+a.across.y*a.half*A,this.positions[E+2]=a.point.z+a.across.z*a.half*A;const I=A===0?1:0;this.colors[E]=a.level[0]*I,this.colors[E+1]=a.level[1]*I,this.colors[E+2]=a.level[2]*I,s++},[z,d]=o;for(const a of[-1,1])l(z,a),l(z,0),l(d,a),l(z,0),l(d,0),l(d,a)}return s}pickAt(s,t,e){let h;for(const[n,i]of this.drawn.entries())for(let c=0;c+1<i.points.length;c++){const r=i.points[c],y=i.points[c+1],u={x:y.x-r.x,y:y.y-r.y,z:y.z-r.z},p={x:r.x-s.x,y:r.y-s.y,z:r.z-s.z},m=u.x*u.x+u.y*u.y+u.z*u.z,S=u.x*t.x+u.y*t.y+u.z*t.z,T=u.x*p.x+u.y*p.y+u.z*p.z,O=t.x*p.x+t.y*p.y+t.z*p.z,f=m-S*S,R=f>1e-9?Math.min(1,Math.max(0,(S*O-T)/f)):0,x={x:r.x+u.x*R,y:r.y+u.y*R,z:r.z+u.z*R},g=(x.x-s.x)*t.x+(x.y-s.y)*t.y+(x.z-s.z)*t.z;if(g<=0)continue;const o=Math.hypot(x.x-s.x-t.x*g,x.y-s.y-t.y*g,x.z-s.z-t.z*g),l=Math.atan2(o,g);l<=e&&(!h||l<h.angle)&&(h={id:i.id,distanceM:Math.hypot(x.x-s.x,x.y-s.y,x.z-s.z),angle:l,line:n})}return h&&{id:h.id,distanceM:h.distanceM,line:h.line}}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(){this.mesh.geometry.dispose(),this.mesh.material.dispose(),this.group.removeFromParent()}}export{M as BeamSystem};
@@ -1,4 +1,4 @@
1
- import{bw as m}from"./ShareDialogElement-DqCoQwtn.js";import{E as D,P as k,a as w}from"./ParameterForm-XbqxCLRn.js";import{I as x,P as O}from"./SaidPosition-OJEYhVKN.js";import{T as E}from"./TimelineTracks-Daaqw9ly.js";import{M as I,_ as y,a1 as C,q as P,t as $}from"./rr0-ufoathome.mjs";import"./Sighting-D-_IYi9n.js";import"./VisualAids-DI-hEL46.js";import"./three.module-CbaHqYFq.js";import"./Decor-Dn-cvniW.js";import"./GeoProjection-DvqDbRIx.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";class b{static before(e,o){const i=[...e.track].sort((s,n)=>s.t-n.t);return[...i].reverse().find(s=>s.t<=o)??i[0]}static viewOf(e,o,i){const s=b.before(e,o),n=t=>Number(t.toFixed(2));return{mode:s?.eastM!==void 0&&s.northM!==void 0?"world":"observer",azimuthDeg:n(i.azimuthDeg),elevationDeg:n(i.altitudeDeg),distanceM:n(i.distanceM),eastM:n(i.eastM),northM:n(i.northM),saidPosition:e.track.find(t=>t.t===o)?.saidPosition,aboveGroundM:n(i.aboveGroundM),onGround:s?.onGround===!0,widthM:n(i.sizeM.widthM),lengthM:n(i.sizeM.lengthM),heightM:n(i.sizeM.heightM),headingDeg:n(i.attitude.headingDeg),pitchDeg:n(i.attitude.pitchDeg),rollDeg:n(i.attitude.rollDeg),color:i.appearance.color,albedo:n(i.appearance.albedo),luminanceCdM2:n(i.appearance.luminanceCdM2),transparency:n(i.appearance.transparency??0),haloScale:n(i.appearance.haloScale??1)}}static keyframeOf(e,o,i,s){const n=d=>Number.isFinite(d)?d:0,t=e.mode==="world"?{t:o,eastM:n(e.eastM),northM:n(e.northM),...e.saidPosition?{saidPosition:e.saidPosition}:{},...e.onGround?{onGround:!0}:{altitudeAboveGroundM:n(e.aboveGroundM)}}:{t:o,azimuthDeg:n(e.azimuthDeg),altitudeDeg:n(e.elevationDeg),distanceM:Math.max(.1,n(e.distanceM)),...e.onGround?{onGround:!0}:{}},r=s?{color:e.color,albedo:Math.max(0,Math.min(1,n(e.albedo))),luminanceCdM2:Math.max(0,n(e.luminanceCdM2)),transparency:Math.max(0,Math.min(1,n(e.transparency))),haloScale:Math.max(0,n(e.haloScale))}:i?.appearance;return{...b.withoutPlacement(i),...t,sizeM:{widthM:Math.max(.01,n(e.widthM)),lengthM:Math.max(.01,n(e.lengthM)),heightM:Math.max(.01,n(e.heightM))},attitude:{headingDeg:n(e.headingDeg),pitchDeg:n(e.pitchDeg),rollDeg:n(e.rollDeg)},...r?{appearance:r}:{}}}static withoutPlacement(e){if(!e)return{};const{eastM:o,northM:i,saidPosition:s,azimuthDeg:n,altitudeDeg:t,distanceM:r,onGround:d,altitudeAboveGroundM:a,sizeM:l,attitude:c,appearance:g,...M}=e;return M}}class h{static number(e,o,i,s,n,t,r={}){return{type:"number",key:e,label:o,min:i,max:s,step:n,unit:t,required:!0,...r}}static BODY={kind:"body",title:"body",parameters:[{type:"text",key:"id",required:!0,label:"iD",validate:(e,o,i)=>!(i?.ids??[]).some(s=>s===e&&s!==o.id)},{type:"said",key:"title",label:"name"},{type:"set",key:"explains",label:"standsForTheShapes",options:(e,o)=>{const i=o?.shapes??[],s=(e.explains??[]).filter(n=>!i.some(t=>t.value===n));return[...i,...s.map(n=>({value:n,label:n}))]},empty:"noShape"},{type:"text",key:"outlineNode",label:"partDrawnByTheWitness",placeholder:"nodeOfTheModelE"}]};static KEYFRAME={kind:"body-keyframe",title:"atThePlayhead",parameters:[{type:"choice",key:"mode",required:!0,label:"position",choices:[{value:"observer",label:"fromTheWitness"},{value:"world",label:"inTheWorld"}]},h.number("azimuthDeg","azimuth",0,360,.01,"°",{visibleWhen:e=>e.mode==="observer"}),h.number("elevationDeg","elevation",-90,90,.01,"°",{visibleWhen:e=>e.mode==="observer"}),h.number("distanceM","distance",.1,3e4,.1,"m",{visibleWhen:e=>e.mode==="observer"}),{type:"position",key:"eastM",secondKey:"northM",saidKey:"saidPosition",native:"local",step:.1,label:"inTheWorld",visibleWhen:e=>e.mode==="world"},{type:"boolean",key:"onGround",label:"onTheGround"},h.number("aboveGroundM","aboveTheGround",0,3e4,.1,"m",{visibleWhen:e=>e.mode==="world"&&e.onGround!==!0}),h.number("widthM","width",.01,1e3,.01,"m"),h.number("lengthM","length",.01,1e3,.01,"m"),h.number("heightM","height",.01,1e3,.01,"m"),h.number("headingDeg","heading",0,360,.1,"°"),h.number("pitchDeg","pitch",-90,90,.1,"°"),h.number("rollDeg","roll",-180,180,.1,"°"),{type:"colour",key:"color",label:"colour",fallback:"#c8c8c8",visibleWhen:(e,o)=>o?.drawnFromModel!==!0},h.number("albedo","albedo",0,1,.01,void 0),h.number("luminanceCdM2","lightOfItsOwn",0,1e10,.1,"cd/m²"),h.number("transparency","transparency",0,1,.01,void 0),h.number("haloScale","halo",0,20,.1,"×")]}}const z=I.catalog({en:()=>y(()=>import("./BodyParameterTexts_en-CKiFdpaz.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_en),fr:()=>y(()=>import("./BodyParameterTexts_fr-B5jLsE0g.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_fr),es:()=>y(()=>import("./BodyParameterTexts_es-DT9XO1Hc.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_es),it:()=>y(()=>import("./BodyParameterTexts_it-iyJGx4Ta.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_it)});class p{constructor(e,o,i){this.container=e,this.host=o,this.language=i,this.ready=this.setLanguage(i)}static APPEARANCE_KEYS=["color","albedo","luminanceCdM2","transparency","haloScale"];parameterTexts={};messages;ready;languageToken=0;currentId;catalogueToken=0;shownEntry;syncedId;bodyForm;keyForm;async setLanguage(e){const o=++this.languageToken;this.language=e;const[i,s]=await Promise.all([C.load(e),z.load(e)]);o===this.languageToken&&i!==this.messages&&(this.messages=i,this.parameterTexts=s,this.render())}get selectedId(){return this.currentId}sync(){if(!this.messages)return;const e=this.bodies;e.some(t=>t.id===this.currentId)||(this.currentId=e[0]?.id),this.input("body-interpretation-title").value=this.host.said().read(this.interpretation?.title)??"",this.list?.setItems(e.map(t=>({id:t.id,label:this.labelOf(t)})),this.currentId),this.host.bodySelected?.(this.currentId);const o=this.host.newBodyStart();this.list?.setAddState(o!==void 0,o?o.label!==void 0?this.messages.addBodyHint.replace("{shape}",o.label):this.messages.addBodyHintView:void 0),this.input("body-interpretation-title").closest("label").hidden=!1;const i=this.current;if(this.element("body-fields").hidden=i===void 0,!i)return;this.bodyForm?.sync(),this.syncModelOptions(i);const s=i.model;this.input("body-model-url").value=s.url??"",this.input("body-model-title").value=s.credit?.title??"",this.input("body-model-author").value=s.credit?.author??"",this.input("body-model-license").value=s.credit?.license??"",this.input("body-model-source").value=s.credit?.sourceUrl??"";const n=this.element("body-model-advanced");n.open=s.url!==void 0||n.open&&i.id===this.syncedId,this.syncedId=i.id,this.element("body-model-incomplete").hidden=s.url===void 0||s.credit?.title!==void 0&&s.credit.license!==void 0,this.syncKeyframe()}syncKeyframe(e=!1){if(!this.messages)return;const o=this.current;if(!o)return;const i=this.host.currentTime(),s=this.messages,n=this.host.readingOf(o,i),t=o.track.find(r=>r.t===i);this.element("body-key-legend").textContent=s.atPlayhead.replace("{t}",p.seconds(i)),this.element("body-key-note").textContent=n?t?s.keyframeHere:s.keyframeAdded:s.notPlaced,this.element("body-key-delete").disabled=t===void 0,this.syncTimeline(o,t?.t),this.element("body-key-parameters").hidden=!n,n&&this.keyForm?.sync(e)}syncTimeline(e,o){if(!this.timeline)return;const i=e.track.map(n=>n.t),s=this.host.duration?.()??Math.max(1,...i);this.timeline.show([{id:"keys",label:this.messages.keyframes,color:p.KEY_COLOR,times:i,selectedTime:o,open:()=>{},move:(n,t)=>this.moveKeyframe(n,t),add:()=>this.keyframeHere()}],s,this.host.currentTime(),p.extentOf(i,s))}static extentOf(e,o){if(e.length<2)return{from:Math.min(0,...e),to:Math.max(o,...e)};const i=Math.min(...e),s=Math.max(...e),n=Math.max(500,(s-i)/10);return{from:i-n,to:s+n}}static KEY_COLOR="#c0581b";moveKeyframe(e,o){const i=this.current;if(!i)return;const s=i.track.find(t=>t.t===e);if(!s)return;const n=[...i.track.filter(t=>t!==s&&t.t!==o),{...s,t:o}].sort((t,r)=>t.t-r.t);this.write({...this.interpretation,bodies:this.bodies.map(t=>t===i?{...i,track:n}:t)},!0),this.host.seekTo(o),this.syncKeyframe(!0)}keyframeContext(){const e=this.current?.model;return{drawnFromModel:e===void 0||e.url!==void 0||!m.includes(e.id??"")}}keyframeView(){const e=this.current;if(!e)return;const o=this.host.currentTime(),i=this.host.readingOf(e,o);return i?b.viewOf(e,o,i):void 0}render(){if(!this.messages)return;const e=this.messages,o=(t,r,d="text",a="",l="",c="")=>`<label><span>${r}</span> <input id="${t}" type="${d}" placeholder="${a}" ${c} autocomplete="off"/>${l?` ${l}`:""}</label>`;this.container.innerHTML=`<div class="body-editor">
1
+ import{bx as m}from"./ShareDialogElement-Dsc4v4jd.js";import{E as D,P as k,a as w}from"./ParameterForm-XbqxCLRn.js";import{I as x,P as O}from"./SaidPosition-OJEYhVKN.js";import{T as E}from"./TimelineTracks-Daaqw9ly.js";import{M as I,_ as y,a1 as C,q as P,t as $}from"./rr0-ufoathome.mjs";import"./Sighting-C1yj2-s5.js";import"./VisualAids-DI-hEL46.js";import"./three.module-CbaHqYFq.js";import"./Decor-Dn-cvniW.js";import"./GeoProjection-DvqDbRIx.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";class b{static before(e,o){const i=[...e.track].sort((s,n)=>s.t-n.t);return[...i].reverse().find(s=>s.t<=o)??i[0]}static viewOf(e,o,i){const s=b.before(e,o),n=t=>Number(t.toFixed(2));return{mode:s?.eastM!==void 0&&s.northM!==void 0?"world":"observer",azimuthDeg:n(i.azimuthDeg),elevationDeg:n(i.altitudeDeg),distanceM:n(i.distanceM),eastM:n(i.eastM),northM:n(i.northM),saidPosition:e.track.find(t=>t.t===o)?.saidPosition,aboveGroundM:n(i.aboveGroundM),onGround:s?.onGround===!0,widthM:n(i.sizeM.widthM),lengthM:n(i.sizeM.lengthM),heightM:n(i.sizeM.heightM),headingDeg:n(i.attitude.headingDeg),pitchDeg:n(i.attitude.pitchDeg),rollDeg:n(i.attitude.rollDeg),color:i.appearance.color,albedo:n(i.appearance.albedo),luminanceCdM2:n(i.appearance.luminanceCdM2),transparency:n(i.appearance.transparency??0),haloScale:n(i.appearance.haloScale??1)}}static keyframeOf(e,o,i,s){const n=d=>Number.isFinite(d)?d:0,t=e.mode==="world"?{t:o,eastM:n(e.eastM),northM:n(e.northM),...e.saidPosition?{saidPosition:e.saidPosition}:{},...e.onGround?{onGround:!0}:{altitudeAboveGroundM:n(e.aboveGroundM)}}:{t:o,azimuthDeg:n(e.azimuthDeg),altitudeDeg:n(e.elevationDeg),distanceM:Math.max(.1,n(e.distanceM)),...e.onGround?{onGround:!0}:{}},r=s?{color:e.color,albedo:Math.max(0,Math.min(1,n(e.albedo))),luminanceCdM2:Math.max(0,n(e.luminanceCdM2)),transparency:Math.max(0,Math.min(1,n(e.transparency))),haloScale:Math.max(0,n(e.haloScale))}:i?.appearance;return{...b.withoutPlacement(i),...t,sizeM:{widthM:Math.max(.01,n(e.widthM)),lengthM:Math.max(.01,n(e.lengthM)),heightM:Math.max(.01,n(e.heightM))},attitude:{headingDeg:n(e.headingDeg),pitchDeg:n(e.pitchDeg),rollDeg:n(e.rollDeg)},...r?{appearance:r}:{}}}static withoutPlacement(e){if(!e)return{};const{eastM:o,northM:i,saidPosition:s,azimuthDeg:n,altitudeDeg:t,distanceM:r,onGround:d,altitudeAboveGroundM:a,sizeM:l,attitude:c,appearance:g,...M}=e;return M}}class h{static number(e,o,i,s,n,t,r={}){return{type:"number",key:e,label:o,min:i,max:s,step:n,unit:t,required:!0,...r}}static BODY={kind:"body",title:"body",parameters:[{type:"text",key:"id",required:!0,label:"iD",validate:(e,o,i)=>!(i?.ids??[]).some(s=>s===e&&s!==o.id)},{type:"said",key:"title",label:"name"},{type:"set",key:"explains",label:"standsForTheShapes",options:(e,o)=>{const i=o?.shapes??[],s=(e.explains??[]).filter(n=>!i.some(t=>t.value===n));return[...i,...s.map(n=>({value:n,label:n}))]},empty:"noShape"},{type:"text",key:"outlineNode",label:"partDrawnByTheWitness",placeholder:"nodeOfTheModelE"}]};static KEYFRAME={kind:"body-keyframe",title:"atThePlayhead",parameters:[{type:"choice",key:"mode",required:!0,label:"position",choices:[{value:"observer",label:"fromTheWitness"},{value:"world",label:"inTheWorld"}]},h.number("azimuthDeg","azimuth",0,360,.01,"°",{visibleWhen:e=>e.mode==="observer"}),h.number("elevationDeg","elevation",-90,90,.01,"°",{visibleWhen:e=>e.mode==="observer"}),h.number("distanceM","distance",.1,3e4,.1,"m",{visibleWhen:e=>e.mode==="observer"}),{type:"position",key:"eastM",secondKey:"northM",saidKey:"saidPosition",native:"local",step:.1,label:"inTheWorld",visibleWhen:e=>e.mode==="world"},{type:"boolean",key:"onGround",label:"onTheGround"},h.number("aboveGroundM","aboveTheGround",0,3e4,.1,"m",{visibleWhen:e=>e.mode==="world"&&e.onGround!==!0}),h.number("widthM","width",.01,1e3,.01,"m"),h.number("lengthM","length",.01,1e3,.01,"m"),h.number("heightM","height",.01,1e3,.01,"m"),h.number("headingDeg","heading",0,360,.1,"°"),h.number("pitchDeg","pitch",-90,90,.1,"°"),h.number("rollDeg","roll",-180,180,.1,"°"),{type:"colour",key:"color",label:"colour",fallback:"#c8c8c8",visibleWhen:(e,o)=>o?.drawnFromModel!==!0},h.number("albedo","albedo",0,1,.01,void 0),h.number("luminanceCdM2","lightOfItsOwn",0,1e10,.1,"cd/m²"),h.number("transparency","transparency",0,1,.01,void 0),h.number("haloScale","halo",0,20,.1,"×")]}}const z=I.catalog({en:()=>y(()=>import("./BodyParameterTexts_en-CKiFdpaz.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_en),fr:()=>y(()=>import("./BodyParameterTexts_fr-B5jLsE0g.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_fr),es:()=>y(()=>import("./BodyParameterTexts_es-DT9XO1Hc.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_es),it:()=>y(()=>import("./BodyParameterTexts_it-iyJGx4Ta.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_it)});class p{constructor(e,o,i){this.container=e,this.host=o,this.language=i,this.ready=this.setLanguage(i)}static APPEARANCE_KEYS=["color","albedo","luminanceCdM2","transparency","haloScale"];parameterTexts={};messages;ready;languageToken=0;currentId;catalogueToken=0;shownEntry;syncedId;bodyForm;keyForm;async setLanguage(e){const o=++this.languageToken;this.language=e;const[i,s]=await Promise.all([C.load(e),z.load(e)]);o===this.languageToken&&i!==this.messages&&(this.messages=i,this.parameterTexts=s,this.render())}get selectedId(){return this.currentId}sync(){if(!this.messages)return;const e=this.bodies;e.some(t=>t.id===this.currentId)||(this.currentId=e[0]?.id),this.input("body-interpretation-title").value=this.host.said().read(this.interpretation?.title)??"",this.list?.setItems(e.map(t=>({id:t.id,label:this.labelOf(t)})),this.currentId),this.host.bodySelected?.(this.currentId);const o=this.host.newBodyStart();this.list?.setAddState(o!==void 0,o?o.label!==void 0?this.messages.addBodyHint.replace("{shape}",o.label):this.messages.addBodyHintView:void 0),this.input("body-interpretation-title").closest("label").hidden=!1;const i=this.current;if(this.element("body-fields").hidden=i===void 0,!i)return;this.bodyForm?.sync(),this.syncModelOptions(i);const s=i.model;this.input("body-model-url").value=s.url??"",this.input("body-model-title").value=s.credit?.title??"",this.input("body-model-author").value=s.credit?.author??"",this.input("body-model-license").value=s.credit?.license??"",this.input("body-model-source").value=s.credit?.sourceUrl??"";const n=this.element("body-model-advanced");n.open=s.url!==void 0||n.open&&i.id===this.syncedId,this.syncedId=i.id,this.element("body-model-incomplete").hidden=s.url===void 0||s.credit?.title!==void 0&&s.credit.license!==void 0,this.syncKeyframe()}syncKeyframe(e=!1){if(!this.messages)return;const o=this.current;if(!o)return;const i=this.host.currentTime(),s=this.messages,n=this.host.readingOf(o,i),t=o.track.find(r=>r.t===i);this.element("body-key-legend").textContent=s.atPlayhead.replace("{t}",p.seconds(i)),this.element("body-key-note").textContent=n?t?s.keyframeHere:s.keyframeAdded:s.notPlaced,this.element("body-key-delete").disabled=t===void 0,this.syncTimeline(o,t?.t),this.element("body-key-parameters").hidden=!n,n&&this.keyForm?.sync(e)}syncTimeline(e,o){if(!this.timeline)return;const i=e.track.map(n=>n.t),s=this.host.duration?.()??Math.max(1,...i);this.timeline.show([{id:"keys",label:this.messages.keyframes,color:p.KEY_COLOR,times:i,selectedTime:o,open:()=>{},move:(n,t)=>this.moveKeyframe(n,t),add:()=>this.keyframeHere()}],s,this.host.currentTime(),p.extentOf(i,s))}static extentOf(e,o){if(e.length<2)return{from:Math.min(0,...e),to:Math.max(o,...e)};const i=Math.min(...e),s=Math.max(...e),n=Math.max(500,(s-i)/10);return{from:i-n,to:s+n}}static KEY_COLOR="#c0581b";moveKeyframe(e,o){const i=this.current;if(!i)return;const s=i.track.find(t=>t.t===e);if(!s)return;const n=[...i.track.filter(t=>t!==s&&t.t!==o),{...s,t:o}].sort((t,r)=>t.t-r.t);this.write({...this.interpretation,bodies:this.bodies.map(t=>t===i?{...i,track:n}:t)},!0),this.host.seekTo(o),this.syncKeyframe(!0)}keyframeContext(){const e=this.current?.model;return{drawnFromModel:e===void 0||e.url!==void 0||!m.includes(e.id??"")}}keyframeView(){const e=this.current;if(!e)return;const o=this.host.currentTime(),i=this.host.readingOf(e,o);return i?b.viewOf(e,o,i):void 0}render(){if(!this.messages)return;const e=this.messages,o=(t,r,d="text",a="",l="",c="")=>`<label><span>${r}</span> <input id="${t}" type="${d}" placeholder="${a}" ${c} autocomplete="off"/>${l?` ${l}`:""}</label>`;this.container.innerHTML=`<div class="body-editor">
2
2
  <p class="body-intro">${e.intro}</p>
3
3
  ${o("body-interpretation-title",e.interpretationTitle)}
4
4
  <div id="body-list" class="body-list"></div>