@rr0/ufoathome 0.202.1 → 0.204.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 (381) hide show
  1. package/dist-embed-interview/InterviewMessages_en-Ikx6GjEd.js +3 -0
  2. package/dist-embed-interview/InterviewMessages_es-DKWWyrnb.js +3 -0
  3. package/dist-embed-interview/InterviewMessages_fr-DT0gXAKD.js +3 -0
  4. package/dist-embed-interview/InterviewMessages_it-CF_9MYPt.js +3 -0
  5. package/dist-embed-interview/rr0-interview.mjs +1 -1
  6. package/dist-embed-scene/ModuleSession-Bh6KaOGK.js +3 -0
  7. package/dist-embed-scene/SceneNames_en--zj8Tlec.js +1 -0
  8. package/dist-embed-scene/SceneNames_es-toWs7p7i.js +1 -0
  9. package/dist-embed-scene/SceneNames_fr-w4Xdplid.js +1 -0
  10. package/dist-embed-scene/SceneNames_it-Cwcscdx7.js +1 -0
  11. package/dist-embed-scene/rr0-scene.mjs +302 -302
  12. package/dist-embed-scene/sightingSchema-DoPVOlCB.js +1 -0
  13. package/dist-embed-sighting/{AdsbLolArchiveProvider-CsuxO9wl.js → AdsbLolArchiveProvider-BSewzrRe.js} +1 -1
  14. package/dist-embed-sighting/{AirshipEditor-DkDCkwGG.js → AirshipEditor-BiG7EYoB.js} +2 -2
  15. package/dist-embed-sighting/{AuroraEditor-C4tY9hXK.js → AuroraEditor-C1Y_zbNW.js} +1 -1
  16. package/dist-embed-sighting/{AuroraSimulation-C7LAHgWM.js → AuroraSimulation-B9GaDXC3.js} +2 -2
  17. package/dist-embed-sighting/{BallesterGuaspAssessor-BPaiHWd9.js → BallesterGuaspAssessor-BAXmW7XL.js} +1 -1
  18. package/dist-embed-sighting/BalloonEditor-D54CC7cn.js +24 -0
  19. package/dist-embed-sighting/{BeamEditor-DDzw-fB_.js → BeamEditor-SHXD10FH.js} +1 -1
  20. package/dist-embed-sighting/{BeamSystem-CsNwl_vM.js → BeamSystem-CP3J9Jgx.js} +1 -1
  21. package/dist-embed-sighting/{BirdEditor-BgNNcdhv.js → BirdEditor-BCit7Rs-.js} +1 -1
  22. package/dist-embed-sighting/{BirdFlock-DBgkxsxp.js → BirdFlock-DhsSOJTg.js} +1 -1
  23. package/dist-embed-sighting/{CaseReportExport-BtGCWD7H.js → CaseReportExport-CUy_3oyV.js} +2 -2
  24. package/dist-embed-sighting/{ContrailSystem-Di5w5IVi.js → ContrailSystem-70o5ynhD.js} +1 -1
  25. package/dist-embed-sighting/ControlPasses-DQMrWqA3.js +29 -0
  26. package/dist-embed-sighting/{CoverageAssessor-Cu9wP4ZB.js → CoverageAssessor-BdZ85Hmy.js} +1 -1
  27. package/dist-embed-sighting/{DroneEditor-5nuq52EG.js → DroneEditor-DwQsVj8U.js} +1 -1
  28. package/dist-embed-sighting/{DroneParameters-DHeJ7KyU.js → DroneParameters-91BBY10Y.js} +1 -1
  29. package/dist-embed-sighting/{Flightradar24Provider-p4a3_chL.js → Flightradar24Provider-NbfW-lDQ.js} +1 -1
  30. package/dist-embed-sighting/{GLTFLoader-fbsNsHlp.js → GLTFLoader-CTETHs7e.js} +1 -1
  31. package/dist-embed-sighting/GenerativeKitMessages-hgIQ_sST.js +1 -0
  32. package/dist-embed-sighting/{HeadlightSystem-Ce7sHylX.js → HeadlightSystem-ByKGq-30.js} +1 -1
  33. package/dist-embed-sighting/HvsMessages_en-BiLhEAxJ.js +1 -0
  34. package/dist-embed-sighting/HvsMessages_es-Cbj_6eFs.js +1 -0
  35. package/dist-embed-sighting/HvsMessages_fr-DkvE2qm1.js +1 -0
  36. package/dist-embed-sighting/HvsMessages_it-BIJ87Uyb.js +1 -0
  37. package/dist-embed-sighting/{HynekAssessor-DWDZGeLY.js → HynekAssessor-O1MFR79v.js} +1 -1
  38. package/dist-embed-sighting/InterviewMessages_en-Ikx6GjEd.js +3 -0
  39. package/dist-embed-sighting/InterviewMessages_es-DKWWyrnb.js +3 -0
  40. package/dist-embed-sighting/InterviewMessages_fr-DT0gXAKD.js +3 -0
  41. package/dist-embed-sighting/InterviewMessages_it-CF_9MYPt.js +3 -0
  42. package/dist-embed-sighting/LanternEditor-X0RgF4mn.js +24 -0
  43. package/dist-embed-sighting/{LaunchEditor-BGyLgkGS.js → LaunchEditor-oTKLz_5C.js} +1 -1
  44. package/dist-embed-sighting/{LaunchSimulation-DvexI06i.js → LaunchSimulation-ClRFO1uw.js} +1 -1
  45. package/dist-embed-sighting/ModuleSession-SivjhuIl.js +3 -0
  46. package/dist-embed-sighting/ModuleThree-TrytNggN.js +1 -0
  47. package/dist-embed-sighting/{NearestApproach-CONyx4c5.js → NearestApproach-BM7B5PuM.js} +1 -1
  48. package/dist-embed-sighting/{ParameterForm-DFHcolwG.js → ParameterForm-BghOJXLP.js} +1 -1
  49. package/dist-embed-sighting/{PoherAssessor-DI86qOCu.js → PoherAssessor-DZMtM2pW.js} +1 -1
  50. package/dist-embed-sighting/PoherMatrix-C2fcLqDH.js +1 -0
  51. package/dist-embed-sighting/PoherSelfCheck-PJvhaWFK.js +1 -0
  52. package/dist-embed-sighting/{RailwaySystem-DcJr9BY_.js → RailwaySystem-Dmx9y4gO.js} +1 -1
  53. package/dist-embed-sighting/ReadingCheckTexts_en-C5qzU8K7.js +1 -0
  54. package/dist-embed-sighting/ReadingCheckTexts_es-DdhtmSew.js +1 -0
  55. package/dist-embed-sighting/ReadingCheckTexts_fr-COtovvqc.js +1 -0
  56. package/dist-embed-sighting/ReadingCheckTexts_it-Bz32XGh6.js +1 -0
  57. package/dist-embed-sighting/{ReentryEditor-C6EJJf4l.js → ReentryEditor-DozmlO_l.js} +1 -1
  58. package/dist-embed-sighting/{ReentrySimulation-BFVBOWrm.js → ReentrySimulation-WXW1IU2E.js} +1 -1
  59. package/dist-embed-sighting/{ReferenceSystem-zTvTqp5y.js → ReferenceSystem-BD7gXBee.js} +1 -1
  60. package/dist-embed-sighting/{RoadMarkings-DvWjbrSf.js → RoadMarkings-Bp07bgso.js} +1 -1
  61. package/dist-embed-sighting/SceneNames_en-BarwWQKA.js +1 -0
  62. package/dist-embed-sighting/SceneNames_es-CEdDjAb4.js +1 -0
  63. package/dist-embed-sighting/SceneNames_fr-m5WHqg-1.js +1 -0
  64. package/dist-embed-sighting/SceneNames_it-D_H_iZnc.js +1 -0
  65. package/dist-embed-sighting/{SearchlightEditor-By5Z3ef7.js → SearchlightEditor-BGmKCBrG.js} +1 -1
  66. package/dist-embed-sighting/{SearchlightSystem-PEMBDW1s.js → SearchlightSystem-5FPRRIkH.js} +1 -1
  67. package/dist-embed-sighting/SightingMessages_en-DKFVZnDu.js +1 -0
  68. package/dist-embed-sighting/SightingMessages_es-DYQlWvm0.js +1 -0
  69. package/dist-embed-sighting/SightingMessages_fr-BygVDDY9.js +1 -0
  70. package/dist-embed-sighting/SightingMessages_it-BI7GnXPz.js +1 -0
  71. package/dist-embed-sighting/{SkyLantern-yYihsrun.js → SkyLantern-1Rqy6fNz.js} +1 -1
  72. package/dist-embed-sighting/{TraceSystem-1K0WblAK.js → TraceSystem-DDlP7sxl.js} +2 -2
  73. package/dist-embed-sighting/{UfoMessages_en-CwRXodRE.js → UfoMessages_en-DvUA0KYR.js} +1 -1
  74. package/dist-embed-sighting/{WaterSystem-1VlNXZnO.js → WaterSystem-Ik6QzyT_.js} +2 -2
  75. package/dist-embed-sighting/rr0-sighting.mjs +417 -353
  76. package/dist-embed-sighting/sightingSchema-DoPVOlCB.js +1 -0
  77. package/dist-embed-sighting/{trafficRuntime-BUvbWOcl.js → trafficRuntime-CjDwU1Lk.js} +1 -1
  78. package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-Bz1OjSjY.js → AdsbLolArchiveProvider-CNMGHqqx.js} +1 -1
  79. package/dist-embed-sighting-editor/{AirshipEditor-BlJXyxlr.js → AirshipEditor-BVlkWwdL.js} +1 -1
  80. package/dist-embed-sighting-editor/{AirshipFlight-Cx40Y8JT.js → AirshipFlight-Cvl6xWPY.js} +1 -1
  81. package/dist-embed-sighting-editor/{Aurora-Ldk66p1A.js → Aurora-DOIRpjiG.js} +1 -1
  82. package/dist-embed-sighting-editor/{AuroraEditor-CGSomAFk.js → AuroraEditor-B0tCM7E7.js} +1 -1
  83. package/dist-embed-sighting-editor/{AuroraSimulation-vKcv2Hue.js → AuroraSimulation-CX7V0obh.js} +2 -2
  84. package/dist-embed-sighting-editor/{BallesterGuaspAssessor-CJyRqwvh.js → BallesterGuaspAssessor-DEJId5n8.js} +1 -1
  85. package/dist-embed-sighting-editor/{BalloonEditor-CgO4LaWn.js → BalloonEditor-Drb5evP5.js} +1 -1
  86. package/dist-embed-sighting-editor/{BalloonFlight-hLr_4TFU.js → BalloonFlight-CGXmDbNq.js} +1 -1
  87. package/dist-embed-sighting-editor/{BeamEditor-B8qreA3j.js → BeamEditor-DP2LNObR.js} +1 -1
  88. package/dist-embed-sighting-editor/{BeamSystem-D0hrju5J.js → BeamSystem-BCaOtm3H.js} +1 -1
  89. package/dist-embed-sighting-editor/{BirdEditor-BNzrfSqX.js → BirdEditor-CbYZcYyG.js} +1 -1
  90. package/dist-embed-sighting-editor/{BirdFlock-iSovVEZd.js → BirdFlock-Dv9Awhvf.js} +1 -1
  91. package/dist-embed-sighting-editor/CaseElement-CC4gimF1.js +132 -0
  92. package/dist-embed-sighting-editor/{CaseReportExport-Bv6FWPs2.js → CaseReportExport-DmvvH_GH.js} +1 -1
  93. package/dist-embed-sighting-editor/{ContrailSystem-D3tXAg2r.js → ContrailSystem-ChbOVWp-.js} +1 -1
  94. package/dist-embed-sighting-editor/{ControlPasses-CaVHMhEY.js → ControlPasses-Dgz_D6DL.js} +1 -1
  95. package/dist-embed-sighting-editor/{CoverageAssessor-CTfHqAd_.js → CoverageAssessor-CcVuVsG0.js} +1 -1
  96. package/dist-embed-sighting-editor/{DroneEditor-BFsArPKi.js → DroneEditor-D6k4gYj4.js} +1 -1
  97. package/dist-embed-sighting-editor/{DroneFlight-B96pVrY1.js → DroneFlight-D-MWhrXa.js} +1 -1
  98. package/dist-embed-sighting-editor/{DroneParameters-DW-enQUo.js → DroneParameters-CdQbwFKD.js} +1 -1
  99. package/dist-embed-sighting-editor/{Flightradar24Provider-CBGkjw03.js → Flightradar24Provider-D_eLiI9k.js} +1 -1
  100. package/dist-embed-sighting-editor/{GLTFLoader-CrRPu-Pt.js → GLTFLoader-BIk0ozTu.js} +1 -1
  101. package/dist-embed-sighting-editor/{HeadlightSystem-BmPfcHt1.js → HeadlightSystem-C9tLjvpO.js} +1 -1
  102. package/dist-embed-sighting-editor/HvsMessages_en-BiLhEAxJ.js +1 -0
  103. package/dist-embed-sighting-editor/HvsMessages_es-Cbj_6eFs.js +1 -0
  104. package/dist-embed-sighting-editor/HvsMessages_fr-DkvE2qm1.js +1 -0
  105. package/dist-embed-sighting-editor/HvsMessages_it-BIJ87Uyb.js +1 -0
  106. package/dist-embed-sighting-editor/{HynekAssessor-nBidt6QV.js → HynekAssessor-B4ej1xgG.js} +1 -1
  107. package/dist-embed-sighting-editor/{InterviewEditorElement-CQWfYlGL.js → InterviewEditorElement-Bo4OG2ig.js} +7 -7
  108. package/dist-embed-sighting-editor/InterviewMessages_en-Ikx6GjEd.js +3 -0
  109. package/dist-embed-sighting-editor/InterviewMessages_es-DKWWyrnb.js +3 -0
  110. package/dist-embed-sighting-editor/InterviewMessages_fr-DT0gXAKD.js +3 -0
  111. package/dist-embed-sighting-editor/InterviewMessages_it-CF_9MYPt.js +3 -0
  112. package/dist-embed-sighting-editor/{LanternEditor-CjQVFowY.js → LanternEditor-Hd-8kmET.js} +1 -1
  113. package/dist-embed-sighting-editor/{LaserBeam-BVc8Mvhr.js → LaserBeam-Ca2QUeCT.js} +1 -1
  114. package/dist-embed-sighting-editor/{LaunchEditor-Cz8Mzo4a.js → LaunchEditor-BykQEscN.js} +1 -1
  115. package/dist-embed-sighting-editor/{LaunchPlume-CvBhTPgN.js → LaunchPlume-Dos-OyTV.js} +1 -1
  116. package/dist-embed-sighting-editor/{LaunchSimulation-CkZIG-3P.js → LaunchSimulation-B0DgOoJM.js} +1 -1
  117. package/dist-embed-sighting-editor/{ModelSource-B153oeTu.js → ModelSource-szsl2QtY.js} +1 -1
  118. package/dist-embed-sighting-editor/{ModelThumbnails-BUL_OLFv.js → ModelThumbnails-dnCeD6UT.js} +1 -1
  119. package/dist-embed-sighting-editor/{ModelViewer-BzBLcY9s.js → ModelViewer-BNGSukqO.js} +1 -1
  120. package/dist-embed-sighting-editor/{ModuleConformance-CpMYkYgb.js → ModuleConformance-CEXxsL48.js} +2 -2
  121. package/dist-embed-sighting-editor/ModuleSession-DOhPD2XZ.js +3 -0
  122. package/dist-embed-sighting-editor/ModuleThree-BY0cNbGt.js +1 -0
  123. package/dist-embed-sighting-editor/ModulesPanelElement-DTnJICg0.js +26 -0
  124. package/dist-embed-sighting-editor/ModulesPanelMessages_en-CXQhQMyu.js +1 -0
  125. package/dist-embed-sighting-editor/ModulesPanelMessages_es-Bj-cT3f4.js +1 -0
  126. package/dist-embed-sighting-editor/ModulesPanelMessages_fr-B-eaMXQz.js +1 -0
  127. package/dist-embed-sighting-editor/ModulesPanelMessages_it-C3fS8UFN.js +1 -0
  128. package/dist-embed-sighting-editor/{NearestApproach-Bxo_N7a9.js → NearestApproach-jDpDx7cm.js} +1 -1
  129. package/dist-embed-sighting-editor/{PoherAssessor-CEVA26zd.js → PoherAssessor-yWlnEcoZ.js} +1 -1
  130. package/dist-embed-sighting-editor/{RailwaySystem-Ceb0_MVz.js → RailwaySystem-CAqOaX1c.js} +1 -1
  131. package/dist-embed-sighting-editor/ReadingCheckTexts_en-C5qzU8K7.js +1 -0
  132. package/dist-embed-sighting-editor/ReadingCheckTexts_es-DdhtmSew.js +1 -0
  133. package/dist-embed-sighting-editor/ReadingCheckTexts_fr-COtovvqc.js +1 -0
  134. package/dist-embed-sighting-editor/ReadingCheckTexts_it-Bz32XGh6.js +1 -0
  135. package/dist-embed-sighting-editor/{ReentryEditor-BWCK2g_s.js → ReentryEditor-CNLwoAIZ.js} +2 -2
  136. package/dist-embed-sighting-editor/{ReentrySimulation-B09JXMu5.js → ReentrySimulation-Q-8h8lRK.js} +1 -1
  137. package/dist-embed-sighting-editor/{ReferenceSystem-B15kw0uH.js → ReferenceSystem-B0tZDQ1-.js} +1 -1
  138. package/dist-embed-sighting-editor/SceneNames_en-CTJiUG-r.js +1 -0
  139. package/dist-embed-sighting-editor/SceneNames_es-DHZMjSqb.js +1 -0
  140. package/dist-embed-sighting-editor/SceneNames_fr-C36uyjbM.js +1 -0
  141. package/dist-embed-sighting-editor/SceneNames_it-BQJQm2rT.js +1 -0
  142. package/dist-embed-sighting-editor/{SearchlightEditor-BpwPOhJ6.js → SearchlightEditor-sQh92hx7.js} +1 -1
  143. package/dist-embed-sighting-editor/{SearchlightSystem-D7sdsRYn.js → SearchlightSystem-B_RPbGj4.js} +1 -1
  144. package/dist-embed-sighting-editor/SightingEditorMessages_en-V_dJYjNb.js +12 -0
  145. package/dist-embed-sighting-editor/SightingEditorMessages_es-DauDuhPa.js +12 -0
  146. package/dist-embed-sighting-editor/SightingEditorMessages_fr-zxTvQa2I.js +12 -0
  147. package/dist-embed-sighting-editor/SightingEditorMessages_it-vvaao68O.js +12 -0
  148. package/dist-embed-sighting-editor/SightingElement-BpYuBmJB.js +694 -0
  149. package/dist-embed-sighting-editor/{SightingFileEditor-Du3A9uZm.js → SightingFileEditor-tIOJTG_y.js} +1 -1
  150. package/dist-embed-sighting-editor/SightingLabels_en-dOsFjVRL.js +1 -0
  151. package/dist-embed-sighting-editor/SightingLabels_es-CKlP2BDO.js +1 -0
  152. package/{dist-embed-ufoathome/SightingLabels_fr-D69zENbW.js → dist-embed-sighting-editor/SightingLabels_fr-Cpkcf5_9.js} +1 -1
  153. package/{dist-embed-ufoathome/SightingLabels_it-COLZ2Qth.js → dist-embed-sighting-editor/SightingLabels_it-3127rMXm.js} +1 -1
  154. package/dist-embed-sighting-editor/{SightingMessages_en-CzICxNU3.js → SightingMessages_en-Drcr3k4V.js} +1 -1
  155. package/dist-embed-sighting-editor/{SightingMessages_es-CiVFZlgA.js → SightingMessages_es-BcaWM7Oy.js} +1 -1
  156. package/dist-embed-sighting-editor/{SightingMessages_fr-nopOVDa1.js → SightingMessages_fr-7IYuW095.js} +1 -1
  157. package/dist-embed-sighting-editor/{SightingMessages_it-Cu0nnPts.js → SightingMessages_it-BhDmZn6p.js} +1 -1
  158. package/dist-embed-sighting-editor/{SkyLantern-D6bru_e_.js → SkyLantern-Cj60Cn9B.js} +1 -1
  159. package/dist-embed-sighting-editor/{TraceSystem-Bv4kLpie.js → TraceSystem-BK0y5lRX.js} +2 -2
  160. package/dist-embed-sighting-editor/{WaterSystem-Bbk_RJKg.js → WaterSystem-DMeMEW3i.js} +2 -2
  161. package/dist-embed-sighting-editor/{caseSchema-BEJTs2Ld.js → caseSchema-Cukbjeex.js} +1 -1
  162. package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +508 -439
  163. package/dist-embed-sighting-editor/sightingSchema-DoPVOlCB.js +1 -0
  164. package/dist-embed-sighting-editor/{trafficRuntime-Bu3my6S4.js → trafficRuntime-eGXY41n0.js} +1 -1
  165. package/dist-embed-ufoathome/{AdsbLolArchiveProvider-v1sSwhN1.js → AdsbLolArchiveProvider-Ck345V92.js} +1 -1
  166. package/dist-embed-ufoathome/{AirshipEditor-CBSrQM3J.js → AirshipEditor-EBfUtSiB.js} +1 -1
  167. package/dist-embed-ufoathome/{AirshipFlight-Dzpw8HRM.js → AirshipFlight-6yYGIRn8.js} +1 -1
  168. package/dist-embed-ufoathome/{Aurora-Dc4u2vEw.js → Aurora-CMORgA2p.js} +1 -1
  169. package/dist-embed-ufoathome/{AuroraEditor-CeLzRDPj.js → AuroraEditor-CDZgVOlI.js} +1 -1
  170. package/dist-embed-ufoathome/{AuroraSimulation-BT1CdWX5.js → AuroraSimulation-DqfSBul6.js} +1 -1
  171. package/dist-embed-ufoathome/{BallesterGuaspAssessor-CPW-Omah.js → BallesterGuaspAssessor-DUNQZ9e8.js} +1 -1
  172. package/dist-embed-ufoathome/{BalloonEditor-dCIjTsIz.js → BalloonEditor-Cx3fRab8.js} +2 -2
  173. package/dist-embed-ufoathome/{BalloonFlight-CztT6ddg.js → BalloonFlight-CvE7AHlm.js} +1 -1
  174. package/dist-embed-ufoathome/{BeamEditor-BS73mBZU.js → BeamEditor-gxTjO6Pr.js} +1 -1
  175. package/dist-embed-ufoathome/{BeamSystem-C5EpRhij.js → BeamSystem-C8jjTJtB.js} +1 -1
  176. package/dist-embed-ufoathome/{BirdEditor-Dk3huwHa.js → BirdEditor-CBVGyUnK.js} +1 -1
  177. package/dist-embed-ufoathome/{BodyEditor-BV8WwzAj.js → BodyEditor-DGaBo74A.js} +1 -1
  178. package/dist-embed-ufoathome/CaseEditorElement-BOp207Tr.js +3182 -0
  179. package/dist-embed-ufoathome/CaseElement-BGO5UZLP.js +132 -0
  180. package/dist-embed-ufoathome/{CaseReportExport-XLbFCkPg.js → CaseReportExport-6DFaJzfO.js} +3 -3
  181. package/dist-embed-ufoathome/ColumnResize-DnX89ynB.js +208 -0
  182. package/dist-embed-ufoathome/ConsentMessages_en-DBKCeDAn.js +1 -0
  183. package/dist-embed-ufoathome/ConsentMessages_es-Dby74lUq.js +1 -0
  184. package/dist-embed-ufoathome/ConsentMessages_fr-FGSpqzMc.js +1 -0
  185. package/dist-embed-ufoathome/ConsentMessages_it-BJWfXH6I.js +1 -0
  186. package/dist-embed-ufoathome/{ControlPasses-CKOU_3lG.js → ControlPasses-CeExr5X1.js} +1 -1
  187. package/dist-embed-ufoathome/{CoverageAssessor-BYMf3Qhv.js → CoverageAssessor-BbqRqh0C.js} +1 -1
  188. package/dist-embed-ufoathome/{DroneEditor-D60uhSHO.js → DroneEditor-7X9CM_3H.js} +1 -1
  189. package/dist-embed-ufoathome/{Flightradar24Provider-_QPbhh5s.js → Flightradar24Provider-MzQcuUHn.js} +1 -1
  190. package/dist-embed-ufoathome/{GLTFLoader-DQeHB-Bk.js → GLTFLoader-CPUffC65.js} +1 -1
  191. package/dist-embed-ufoathome/{GeoJsonExport-Pq_pPvjK.js → GeoJsonExport-D7QhWNRC.js} +1 -1
  192. package/dist-embed-ufoathome/{GeographicFigures-KII55iXE.js → GeographicFigures-BvEeCtxr.js} +1 -1
  193. package/dist-embed-ufoathome/HvsMessages_en-BiLhEAxJ.js +1 -0
  194. package/dist-embed-ufoathome/HvsMessages_es-Cbj_6eFs.js +1 -0
  195. package/dist-embed-ufoathome/HvsMessages_fr-DkvE2qm1.js +1 -0
  196. package/dist-embed-ufoathome/HvsMessages_it-BIJ87Uyb.js +1 -0
  197. package/dist-embed-ufoathome/HynekAssessor-BwjRkQWT.js +1 -0
  198. package/dist-embed-ufoathome/{InterviewEditorElement-BSwkegEp.js → InterviewEditorElement-CVCOicLD.js} +6 -6
  199. package/dist-embed-ufoathome/{InterviewElement-CfkDtybc.js → InterviewElement-ZI42DKRx.js} +2 -2
  200. package/dist-embed-ufoathome/InterviewMessages_en-Ikx6GjEd.js +3 -0
  201. package/dist-embed-ufoathome/InterviewMessages_es-DKWWyrnb.js +3 -0
  202. package/dist-embed-ufoathome/InterviewMessages_fr-DT0gXAKD.js +3 -0
  203. package/dist-embed-ufoathome/InterviewMessages_it-CF_9MYPt.js +3 -0
  204. package/dist-embed-ufoathome/{KmlExport-BMNwwys8.js → KmlExport-BX0nxAaA.js} +1 -1
  205. package/dist-embed-ufoathome/{LanternEditor-BapUZdog.js → LanternEditor-BROUv-vx.js} +1 -1
  206. package/dist-embed-ufoathome/{LaserBeam-B-tlAzNB.js → LaserBeam-ChD9aV-N.js} +1 -1
  207. package/dist-embed-ufoathome/LaunchEditor-CM2Wcjv2.js +22 -0
  208. package/dist-embed-ufoathome/{LaunchPlume-D-vSb8tJ.js → LaunchPlume-DeVRe05u.js} +1 -1
  209. package/dist-embed-ufoathome/{LaunchSimulation-CZ8Oba00.js → LaunchSimulation-RROdYccW.js} +1 -1
  210. package/dist-embed-ufoathome/{ModelSource-HSiigkeO.js → ModelSource-nXZ6eIH5.js} +1 -1
  211. package/dist-embed-ufoathome/{ModelThumbnails-DWvRMmj_.js → ModelThumbnails-CRSm49vm.js} +1 -1
  212. package/dist-embed-ufoathome/{ModelViewer-CM7qTW8F.js → ModelViewer-BQsl_Nfn.js} +1 -1
  213. package/dist-embed-ufoathome/ModuleSession-Dac4fD0X.js +3 -0
  214. package/dist-embed-ufoathome/ModulesPanelElement-BvzY1GUF.js +18 -0
  215. package/dist-embed-ufoathome/ModulesPanelMessages_en-Dir0ADQe.js +1 -0
  216. package/dist-embed-ufoathome/ModulesPanelMessages_es-B_ITNG5N.js +1 -0
  217. package/dist-embed-ufoathome/ModulesPanelMessages_fr-DbKLtD8s.js +1 -0
  218. package/dist-embed-ufoathome/ModulesPanelMessages_it-CE0q7D2c.js +1 -0
  219. package/dist-embed-ufoathome/{NearestApproach-PAsV5RlG.js → NearestApproach-DbUpe1iw.js} +1 -1
  220. package/dist-embed-ufoathome/{PoherAssessor-CniYlhUl.js → PoherAssessor-Dmro58tC.js} +1 -1
  221. package/dist-embed-ufoathome/PoherMatrix-C2fcLqDH.js +1 -0
  222. package/dist-embed-ufoathome/PoherSelfCheck-pcYj_hQ1.js +1 -0
  223. package/dist-embed-ufoathome/QuestionnaireFeed-DmyYcwwf.js +1 -0
  224. package/dist-embed-ufoathome/QuestionnaireForm-vT3C3qXt.js +1 -0
  225. package/dist-embed-ufoathome/QuestionnaireImport-BlTDOHWj.js +5 -0
  226. package/dist-embed-ufoathome/ReadingCheckTexts_en-C5qzU8K7.js +1 -0
  227. package/dist-embed-ufoathome/ReadingCheckTexts_es-DdhtmSew.js +1 -0
  228. package/dist-embed-ufoathome/ReadingCheckTexts_fr-COtovvqc.js +1 -0
  229. package/dist-embed-ufoathome/ReadingCheckTexts_it-Bz32XGh6.js +1 -0
  230. package/dist-embed-ufoathome/{ReentryEditor-Qax1sT82.js → ReentryEditor-Di0KzYeZ.js} +1 -1
  231. package/dist-embed-ufoathome/{ReentrySimulation-CTeCaxZl.js → ReentrySimulation-HhdlSVkR.js} +1 -1
  232. package/dist-embed-ufoathome/{ReferenceSystem-CM27OCUo.js → ReferenceSystem-B30-UBHY.js} +1 -1
  233. package/dist-embed-ufoathome/ScenarioReadings-EAUAsx9t.js +1 -0
  234. package/dist-embed-ufoathome/ScenarioSweep-jTxLjnaW.js +1 -0
  235. package/dist-embed-ufoathome/SceneNames_en-sRbx6EJZ.js +1 -0
  236. package/dist-embed-ufoathome/SceneNames_es-pnfHB-7D.js +1 -0
  237. package/dist-embed-ufoathome/SceneNames_fr-BtTlti4C.js +1 -0
  238. package/dist-embed-ufoathome/SceneNames_it-DQKwdCVD.js +1 -0
  239. package/dist-embed-ufoathome/{SearchlightEditor-PuLz84pp.js → SearchlightEditor-B6_BW8FD.js} +1 -1
  240. package/dist-embed-ufoathome/{SearchlightSystem-B-tHvY1M.js → SearchlightSystem-D_DTpDNC.js} +1 -1
  241. package/dist-embed-ufoathome/{ShareDialogElement-EzLob2Tz.js → ShareDialogElement-C0oFh0X4.js} +150 -132
  242. package/dist-embed-ufoathome/Sighting-BX_CmDY2.js +1 -0
  243. package/dist-embed-ufoathome/SightingEditorMessages_en-V_dJYjNb.js +12 -0
  244. package/dist-embed-ufoathome/SightingEditorMessages_es-DauDuhPa.js +12 -0
  245. package/dist-embed-ufoathome/SightingEditorMessages_fr-zxTvQa2I.js +12 -0
  246. package/dist-embed-ufoathome/SightingEditorMessages_it-vvaao68O.js +12 -0
  247. package/dist-embed-ufoathome/SightingElement-DzxTvvLN.js +694 -0
  248. package/dist-embed-ufoathome/{SightingFileEditor-DS1DRU2p.js → SightingFileEditor-D5_GwIsn.js} +1 -1
  249. package/dist-embed-ufoathome/SightingLabels_en-dOsFjVRL.js +1 -0
  250. package/dist-embed-ufoathome/SightingLabels_es-CKlP2BDO.js +1 -0
  251. package/{dist-embed-sighting-editor/SightingLabels_fr-D69zENbW.js → dist-embed-ufoathome/SightingLabels_fr-Cpkcf5_9.js} +1 -1
  252. package/{dist-embed-sighting-editor/SightingLabels_it-COLZ2Qth.js → dist-embed-ufoathome/SightingLabels_it-3127rMXm.js} +1 -1
  253. package/dist-embed-ufoathome/{SightingMessages_en-CzICxNU3.js → SightingMessages_en-Drcr3k4V.js} +1 -1
  254. package/dist-embed-ufoathome/{SightingMessages_es-CiVFZlgA.js → SightingMessages_es-BcaWM7Oy.js} +1 -1
  255. package/dist-embed-ufoathome/{SightingMessages_fr-nopOVDa1.js → SightingMessages_fr-7IYuW095.js} +1 -1
  256. package/dist-embed-ufoathome/{SightingMessages_it-Cu0nnPts.js → SightingMessages_it-BhDmZn6p.js} +1 -1
  257. package/dist-embed-ufoathome/{TraceSystem-8XQX03MS.js → TraceSystem-CiBRo1aU.js} +1 -1
  258. package/dist-embed-ufoathome/UfoAtHomeMessages_en-ByVu39KF.js +1 -0
  259. package/dist-embed-ufoathome/UfoAtHomeMessages_es-D9bLboxq.js +1 -0
  260. package/dist-embed-ufoathome/UfoAtHomeMessages_fr-nTqRf0ZK.js +1 -0
  261. package/dist-embed-ufoathome/UfoAtHomeMessages_it-4cZC5-y5.js +1 -0
  262. package/dist-embed-ufoathome/{VideoButton-WNtEngz-.js → VideoButton-BseBKx2r.js} +1 -1
  263. package/dist-embed-ufoathome/{caseSchema-BEJTs2Ld.js → caseSchema-Cukbjeex.js} +1 -1
  264. package/dist-embed-ufoathome/rr0-ufoathome.mjs +35 -17
  265. package/dist-embed-ufoathome/sightingSchema-DoPVOlCB.js +1 -0
  266. package/dist-embed-ufoathome/{surroundingsSources-UHKGesPa.js → surroundingsSources-BSh42KUu.js} +1 -1
  267. package/dist-embed-ufoathome/{trafficRuntime-CgY_7-NH.js → trafficRuntime-BMTtwn7o.js} +2 -2
  268. package/package.json +1 -1
  269. package/dist-embed-interview/InterviewMessages_en-BrnxG2rl.js +0 -3
  270. package/dist-embed-interview/InterviewMessages_es-Dxfjqrte.js +0 -3
  271. package/dist-embed-interview/InterviewMessages_fr-DIA-1qu8.js +0 -3
  272. package/dist-embed-interview/InterviewMessages_it-CYBEIKX-.js +0 -3
  273. package/dist-embed-scene/ModuleSession-bj7QHWjO.js +0 -3
  274. package/dist-embed-scene/SceneNames_en-BFJsR6Cc.js +0 -1
  275. package/dist-embed-scene/SceneNames_es-BHBTwcJ3.js +0 -1
  276. package/dist-embed-scene/SceneNames_fr-CFsA4XeK.js +0 -1
  277. package/dist-embed-scene/SceneNames_it-DkIgwviv.js +0 -1
  278. package/dist-embed-scene/sightingSchema-9MogCcUd.js +0 -1
  279. package/dist-embed-sighting/BalloonEditor-CaWwqWKK.js +0 -24
  280. package/dist-embed-sighting/ControlPasses-Dr6eP2Mq.js +0 -29
  281. package/dist-embed-sighting/GenerativeKitMessages-NbyGMKAR.js +0 -1
  282. package/dist-embed-sighting/InterviewMessages_en-BrnxG2rl.js +0 -3
  283. package/dist-embed-sighting/InterviewMessages_es-Dxfjqrte.js +0 -3
  284. package/dist-embed-sighting/InterviewMessages_fr-DIA-1qu8.js +0 -3
  285. package/dist-embed-sighting/InterviewMessages_it-CYBEIKX-.js +0 -3
  286. package/dist-embed-sighting/LanternEditor-Be5Io1J-.js +0 -24
  287. package/dist-embed-sighting/ModuleSession-DztK084a.js +0 -3
  288. package/dist-embed-sighting/ModuleThree-BLNSm2eY.js +0 -1
  289. package/dist-embed-sighting/ReadingCheckTexts_en-eq6teExJ.js +0 -1
  290. package/dist-embed-sighting/ReadingCheckTexts_es-CR_JJZMV.js +0 -1
  291. package/dist-embed-sighting/ReadingCheckTexts_fr-pcDleIvY.js +0 -1
  292. package/dist-embed-sighting/ReadingCheckTexts_it-MFKeoXnq.js +0 -1
  293. package/dist-embed-sighting/SceneNames_en-BlRTU7Hq.js +0 -1
  294. package/dist-embed-sighting/SceneNames_es-DMNd9trd.js +0 -1
  295. package/dist-embed-sighting/SceneNames_fr-DlMcv9D0.js +0 -1
  296. package/dist-embed-sighting/SceneNames_it-DqlWMlOE.js +0 -1
  297. package/dist-embed-sighting/SightingMessages_en-D3YVhgUj.js +0 -1
  298. package/dist-embed-sighting/SightingMessages_es-ME6FeTp-.js +0 -1
  299. package/dist-embed-sighting/SightingMessages_fr-BgXYuIq4.js +0 -1
  300. package/dist-embed-sighting/SightingMessages_it-DcE90eAl.js +0 -1
  301. package/dist-embed-sighting/sightingSchema-9MogCcUd.js +0 -1
  302. package/dist-embed-sighting-editor/CaseElement-D80gHg4r.js +0 -131
  303. package/dist-embed-sighting-editor/InterviewMessages_en-BrnxG2rl.js +0 -3
  304. package/dist-embed-sighting-editor/InterviewMessages_es-Dxfjqrte.js +0 -3
  305. package/dist-embed-sighting-editor/InterviewMessages_fr-DIA-1qu8.js +0 -3
  306. package/dist-embed-sighting-editor/InterviewMessages_it-CYBEIKX-.js +0 -3
  307. package/dist-embed-sighting-editor/ModuleSession-b_pmjUfP.js +0 -3
  308. package/dist-embed-sighting-editor/ModuleThree-B_FZVqsf.js +0 -1
  309. package/dist-embed-sighting-editor/ModulesPanelElement-D0gn9Z-y.js +0 -15
  310. package/dist-embed-sighting-editor/ModulesPanelMessages_en-DuwrY3Pm.js +0 -1
  311. package/dist-embed-sighting-editor/ModulesPanelMessages_es-Bq5X-XuT.js +0 -1
  312. package/dist-embed-sighting-editor/ModulesPanelMessages_fr-B8cSDc6o.js +0 -1
  313. package/dist-embed-sighting-editor/ModulesPanelMessages_it-BdC626aJ.js +0 -1
  314. package/dist-embed-sighting-editor/ReadingCheckTexts_en-eq6teExJ.js +0 -1
  315. package/dist-embed-sighting-editor/ReadingCheckTexts_es-CR_JJZMV.js +0 -1
  316. package/dist-embed-sighting-editor/ReadingCheckTexts_fr-pcDleIvY.js +0 -1
  317. package/dist-embed-sighting-editor/ReadingCheckTexts_it-MFKeoXnq.js +0 -1
  318. package/dist-embed-sighting-editor/SceneNames_en-c5zNw0Hi.js +0 -1
  319. package/dist-embed-sighting-editor/SceneNames_es-CDjoBwy_.js +0 -1
  320. package/dist-embed-sighting-editor/SceneNames_fr-CoZNmFu3.js +0 -1
  321. package/dist-embed-sighting-editor/SceneNames_it-CVEahBpq.js +0 -1
  322. package/dist-embed-sighting-editor/SightingEditorMessages_en-k7_ua2OM.js +0 -12
  323. package/dist-embed-sighting-editor/SightingEditorMessages_es-Drqbbr5_.js +0 -12
  324. package/dist-embed-sighting-editor/SightingEditorMessages_fr-B_K5hsuV.js +0 -12
  325. package/dist-embed-sighting-editor/SightingEditorMessages_it-QCLg1d7x.js +0 -12
  326. package/dist-embed-sighting-editor/SightingElement-Bp-t_EAF.js +0 -693
  327. package/dist-embed-sighting-editor/SightingLabels_en-oIpytoq_.js +0 -1
  328. package/dist-embed-sighting-editor/SightingLabels_es-DUh1CTXl.js +0 -1
  329. package/dist-embed-sighting-editor/angular-size-CxoysZle.png +0 -0
  330. package/dist-embed-sighting-editor/azimuth-CvjiPmz0.png +0 -0
  331. package/dist-embed-sighting-editor/elevation-DPr5S6Jt.png +0 -0
  332. package/dist-embed-sighting-editor/geipan-qt-2025-B_RUiH8B.js +0 -7
  333. package/dist-embed-sighting-editor/protractor-DyE30B87.png +0 -0
  334. package/dist-embed-sighting-editor/sightingSchema-9MogCcUd.js +0 -1
  335. package/dist-embed-ufoathome/CaseEditorElement-HR8RFluQ.js +0 -3175
  336. package/dist-embed-ufoathome/CaseElement-vCbCfGOv.js +0 -131
  337. package/dist-embed-ufoathome/ColumnResize-CEXrq3KB.js +0 -164
  338. package/dist-embed-ufoathome/HynekAssessor-wCDhgIB8.js +0 -1
  339. package/dist-embed-ufoathome/InterviewAttachments-BP6Prvdu.js +0 -1
  340. package/dist-embed-ufoathome/InterviewMessages_en-BrnxG2rl.js +0 -3
  341. package/dist-embed-ufoathome/InterviewMessages_es-Dxfjqrte.js +0 -3
  342. package/dist-embed-ufoathome/InterviewMessages_fr-DIA-1qu8.js +0 -3
  343. package/dist-embed-ufoathome/InterviewMessages_it-CYBEIKX-.js +0 -3
  344. package/dist-embed-ufoathome/LaunchEditor-Cy5D-gwU.js +0 -22
  345. package/dist-embed-ufoathome/ModuleSession-BKDWGSEo.js +0 -3
  346. package/dist-embed-ufoathome/ModulesPanelElement-DsOa2zH0.js +0 -15
  347. package/dist-embed-ufoathome/ModulesPanelMessages_en-DuwrY3Pm.js +0 -1
  348. package/dist-embed-ufoathome/ModulesPanelMessages_es-Bq5X-XuT.js +0 -1
  349. package/dist-embed-ufoathome/ModulesPanelMessages_fr-B8cSDc6o.js +0 -1
  350. package/dist-embed-ufoathome/ModulesPanelMessages_it-BdC626aJ.js +0 -1
  351. package/dist-embed-ufoathome/QuestionnaireFeed-CpZqkxlt.js +0 -1
  352. package/dist-embed-ufoathome/QuestionnaireForm-LkllpNx-.js +0 -1
  353. package/dist-embed-ufoathome/QuestionnaireImport-CNROmkT2.js +0 -5
  354. package/dist-embed-ufoathome/ReadingCheckTexts_en-eq6teExJ.js +0 -1
  355. package/dist-embed-ufoathome/ReadingCheckTexts_es-CR_JJZMV.js +0 -1
  356. package/dist-embed-ufoathome/ReadingCheckTexts_fr-pcDleIvY.js +0 -1
  357. package/dist-embed-ufoathome/ReadingCheckTexts_it-MFKeoXnq.js +0 -1
  358. package/dist-embed-ufoathome/ScenarioReadings-Is3HX0n0.js +0 -1
  359. package/dist-embed-ufoathome/ScenarioSweep-BbtX26Fi.js +0 -1
  360. package/dist-embed-ufoathome/SceneNames_en-7OZ7peGc.js +0 -1
  361. package/dist-embed-ufoathome/SceneNames_es-P5-Mavdi.js +0 -1
  362. package/dist-embed-ufoathome/SceneNames_fr-qzw0QzD0.js +0 -1
  363. package/dist-embed-ufoathome/SceneNames_it-Sqf8JFOd.js +0 -1
  364. package/dist-embed-ufoathome/Sighting-B7bsiTIQ.js +0 -1
  365. package/dist-embed-ufoathome/SightingEditorMessages_en-k7_ua2OM.js +0 -12
  366. package/dist-embed-ufoathome/SightingEditorMessages_es-Drqbbr5_.js +0 -12
  367. package/dist-embed-ufoathome/SightingEditorMessages_fr-B_K5hsuV.js +0 -12
  368. package/dist-embed-ufoathome/SightingEditorMessages_it-QCLg1d7x.js +0 -12
  369. package/dist-embed-ufoathome/SightingElement--qpGoyxL.js +0 -693
  370. package/dist-embed-ufoathome/SightingLabels_en-oIpytoq_.js +0 -1
  371. package/dist-embed-ufoathome/SightingLabels_es-DUh1CTXl.js +0 -1
  372. package/dist-embed-ufoathome/UfoAtHomeMessages_en-BK2qJyZN.js +0 -1
  373. package/dist-embed-ufoathome/UfoAtHomeMessages_es-B1-NDCau.js +0 -1
  374. package/dist-embed-ufoathome/UfoAtHomeMessages_fr-BTG047qo.js +0 -1
  375. package/dist-embed-ufoathome/UfoAtHomeMessages_it-Ryxv4HNU.js +0 -1
  376. package/dist-embed-ufoathome/angular-size-CxoysZle.png +0 -0
  377. package/dist-embed-ufoathome/azimuth-CvjiPmz0.png +0 -0
  378. package/dist-embed-ufoathome/elevation-DPr5S6Jt.png +0 -0
  379. package/dist-embed-ufoathome/geipan-qt-2025-B_RUiH8B.js +0 -7
  380. package/dist-embed-ufoathome/protractor-DyE30B87.png +0 -0
  381. package/dist-embed-ufoathome/sightingSchema-9MogCcUd.js +0 -1
@@ -1,15 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ModuleConformance-DYDAaJJQ.js","./rr0-ufoathome.mjs"])))=>i.map(i=>d[i]);
2
- import{M as _,_ as x,H as y,i as m}from"./rr0-ufoathome.mjs";import{ModuleSession as L}from"./ModuleSession-BKDWGSEo.js";import{M as C}from"./CaseEditorElement-HR8RFluQ.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./GeoProjection-DvqDbRIx.js";import"./SaidPosition-OJEYhVKN.js";import"./ParameterForm-XbqxCLRn.js";import"./ColumnResize-CEXrq3KB.js";import"./ShareDialogElement-EzLob2Tz.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"./Obstacles-v9SkfBD7.js";import"./InterviewAttachments-BP6Prvdu.js";import"./TimelineTracks-Daaqw9ly.js";import"./ReentryArchive-CeXHrU7L.js";import"./ReferenceTimeline-2kBldQeG.js";import"./upperAirSources-BU0pD84c.js";import"./Account-C4jhsVtN.js";const M=_.catalog({en:()=>x(()=>import("./ModulesPanelMessages_en-DuwrY3Pm.js"),[],import.meta.url).then(b=>b.modulesPanelMessages_en),fr:()=>x(()=>import("./ModulesPanelMessages_fr-B8cSDc6o.js"),[],import.meta.url).then(b=>b.modulesPanelMessages_fr),es:()=>x(()=>import("./ModulesPanelMessages_es-Bq5X-XuT.js"),[],import.meta.url).then(b=>b.modulesPanelMessages_es),it:()=>x(()=>import("./ModulesPanelMessages_it-BdC626aJ.js"),[],import.meta.url).then(b=>b.modulesPanelMessages_it)}),N="rr0-modules-panel",P=`
3
- rr0-modules-panel { display: block; }
4
- rr0-modules-panel .mp-add { display: flex; gap: .4em; align-items: center; margin: .4em 0; }
5
- rr0-modules-panel .mp-add input { flex: 1 1 16em; min-width: 0; }
6
- rr0-modules-panel .mp-list { list-style: none; margin: .5em 0; padding: 0; }
7
- rr0-modules-panel .mp-module { padding: .4em 0; border-top: 1px solid color-mix(in srgb, CanvasText 15%, transparent); }
8
- rr0-modules-panel .mp-head { display: flex; gap: .6em; align-items: center; flex-wrap: wrap; }
9
- rr0-modules-panel .mp-name { font-weight: 600; }
10
- rr0-modules-panel .mp-url { overflow-wrap: anywhere; }
11
- rr0-modules-panel .mp-head .mp-remove { margin-left: auto; }
12
- rr0-modules-panel .mp-module p { margin: .2em 0; }
13
- rr0-modules-panel .mp-findings { margin: .3em 0; padding-left: 1.2em; }
14
- rr0-modules-panel .mp-files { display: flex; gap: .6em; flex-wrap: wrap; align-items: center; margin-top: .6em; }
15
- `;class A extends HTMLElement{session=L.shared;messages;languageAsked=!1;named=[];recordingBase;note;languageToken=0;draft="";onChange=()=>this.render();checkContext;checks=new Map;set moduleSession(e){this.session.changes.removeEventListener("change",this.onChange),this.session=e,this.isConnected&&this.session.changes.addEventListener("change",this.onChange),this.render()}get recordingModules(){return[...this.named]}set recordingModules(e){this.named=[...e??[]],this.render()}set base(e){this.recordingBase=e,this.render()}async setLanguage(e){this.languageAsked=!0;const t=++this.languageToken,n=await M.load(e);t===this.languageToken&&(this.messages=n,this.render())}connectedCallback(){this.languageAsked||this.setLanguage(y.preferencesFor(this)[0]??"en"),this.session.changes.addEventListener("change",this.onChange),this.session.start(),this.render()}disconnectedCallback(){this.session.changes.removeEventListener("change",this.onChange)}absolute(e){try{return new URL(e,this.recordingBase??location.href).href}catch{return}}isNamed(e){return this.named.some(t=>this.absolute(t)===e)}setNamed(e,t){t!==this.isNamed(e)&&(this.named=t?[...this.named,C.of(e,this.recordingBase)]:this.named.filter(n=>this.absolute(n)!==e),t&&this.session.require([e]),this.dispatchEvent(new Event("recordingmoduleschange",{bubbles:!0})),this.render())}render(){const e=this.messages;if(!this.isConnected||!this.messages)return;const t=this.ownerDocument,n=t.createElement("style");n.textContent=P;const s=t.createElement("p");s.className=m.INFO,s.textContent=e.intro;const a=t.createElement("form");a.className="mp-add";const i=t.createElement("input");i.type="url",i.id="module-url",i.required=!0,i.placeholder=e.urlPlaceholder,i.value=this.draft,i.addEventListener("input",()=>{this.draft=i.value}),i.setAttribute("aria-label",e.urlPlaceholder);const u=t.createElement("button");u.type="submit",u.textContent=e.add,a.append(i,u),a.addEventListener("submit",r=>{r.preventDefault();const w=i.value.trim();w&&(this.draft="",this.session.add(w))});const l=t.createElement("p");l.className=m.WARNING,l.textContent=e.codeWarning;const c=this.session.list(),p=new Set(c.map(r=>r.url)),v=this.named.map(r=>this.absolute(r)).filter(r=>r!==void 0&&!p.has(r)),g=t.createElement("ul");g.className="mp-list",g.append(...c.map(r=>this.item(r)),...v.map(r=>this.item({url:r,addedByPerson:!1,enabled:!0,status:"loading"})));const k=t.createElement("p");k.className=m.INFO,k.textContent=e.none,k.hidden=g.childElementCount>0;const f=t.createElement("div");f.className="mp-files";const E=t.createElement("button");E.type="button",E.id="modules-export",E.textContent=e.exportConfig,E.disabled=!c.some(r=>r.addedByPerson),E.addEventListener("click",()=>this.download());const h=t.createElement("input");h.type="file",h.id="modules-import",h.accept="application/json,.json",h.hidden=!0;const o=t.createElement("button");o.type="button",o.textContent=e.importConfig,o.addEventListener("click",()=>h.click()),h.addEventListener("change",()=>{const r=h.files?.[0];r&&this.importFile(r),h.value=""}),f.append(E,o,h);const d=t.createElement("p");d.id="modules-note",d.setAttribute("role","status"),m.show(d,this.note?.text,this.note?.kind),this.replaceChildren(n,s,a,l,g,k,f,d)}item(e){const t=this.messages,n=this.ownerDocument,s=e.loaded,a=n.createElement("li");a.className="mp-module",a.dataset.url=e.url;const i=n.createElement("div");if(i.className="mp-head",e.addedByPerson){const o=n.createElement("label"),d=n.createElement("input");d.type="checkbox",d.className="mp-enabled",d.checked=e.enabled,d.addEventListener("change",()=>void this.session.setEnabled(e.url,d.checked)),o.append(d,n.createTextNode(` ${t.enabled}`)),i.append(o)}const u=n.createElement("span");u.className="mp-name",u.textContent=e.loaded?.module.name??e.url,i.append(u);const l=e.loaded?.module.credit;if(l){const o=n.createElement(e.loaded?.module.creditUrl?"a":"span");o.className=m.INFO,o.textContent=l,o instanceof HTMLAnchorElement&&(o.href=e.loaded.module.creditUrl,o.target="_blank",o.rel="noopener noreferrer"),i.append(o)}const c=n.createElement("button");if(c.type="button",c.className="mp-remove",e.addedByPerson?(c.textContent=t.remove,c.addEventListener("click",()=>void this.session.remove(e.url))):(c.textContent=t.addToMine,c.addEventListener("click",()=>void this.session.add(e.url))),e.status==="installed"&&s){const o=n.createElement("button");o.type="button",o.className="mp-check";const d=this.checks.get(e.url),r=d?.of===s&&d.findings===void 0&&d.crash===void 0;o.textContent=r?t.checking:t.check,o.disabled=r,o.addEventListener("click",()=>void this.check(e.url,s)),i.append(o)}i.append(c);const p=n.createElement("p");p.className=`${m.INFO} mp-url`,p.textContent=e.url;const v=n.createElement("p");v.className="mp-status",e.status==="loading"?m.show(v,t.loading):e.status==="failed"?m.show(v,t.failed.replace("{error}",e.error??""),"error"):e.status==="off"?m.show(v,t.off):m.show(v,this.brings(e));const g=n.createElement("p");g.className="mp-code",s?.scriptRun?m.show(g,t.runsCode,"warning"):s?.hasScript?m.show(g,t.codeNotRun,"info"):g.hidden=!0;const k=n.createElement("label");k.title=t.namedByRecordingHint;const f=n.createElement("input");f.type="checkbox",f.className="mp-named",f.checked=this.isNamed(e.url),f.addEventListener("change",()=>this.setNamed(e.url,f.checked)),k.append(f,n.createTextNode(` ${t.namedByRecording}`));const E=n.createElement("p");E.append(k),a.append(i,p,v,g,E);const h=this.checks.get(e.url);return h&&h.of===s&&a.append(...this.checkResult(h)),a}async check(e,t){const n={of:t};this.checks.set(e,n),this.render();try{const{ModuleConformance:s}=await x(async()=>{const{ModuleConformance:a}=await import("./ModuleConformance-DYDAaJJQ.js");return{ModuleConformance:a}},__vite__mapDeps([0,1]),import.meta.url);n.findings=await s.check(t,this.checkContext?.())}catch(s){n.crash=s instanceof Error?s.message:String(s)}this.render()}checkResult(e){const t=this.messages,n=this.ownerDocument,s=(l,c)=>{const p=n.createElement("p");return p.className="mp-check-result",p.setAttribute("role","status"),m.show(p,l,c),p};if(e.crash!==void 0)return[s(t.checkCrashed.replace("{error}",()=>e.crash),"error")];if(!e.findings)return[];const a=e.findings.filter(l=>l.level==="failed"),i=e.findings.filter(l=>l.level==="note"),u=[];if(a.length===0&&u.push(s(t.checkPassed,"info")),a.length+i.length>0){const l=n.createElement("ul");l.className="mp-findings";for(const c of[...a,...i]){const p=n.createElement("li");m.show(p,this.finding(c),c.level==="failed"?"error":"info"),l.append(p)}u.push(l)}return u}finding(e){const t=this.messages,n=e.point===void 0?"":t.points[e.point]??e.point,s=t.checks[e.code].replace("{point}",()=>e.point??"").replace("{detail}",()=>e.detail??""),a=e.source??(e.code==="unknownPoint"||e.code==="notAList"?void 0:n);return a?t.checkAbout.replace("{about}",()=>a).replace("{text}",()=>s):s}brings(e){const t=Object.entries(e.loaded?.module.contributes??{}).filter(([,n])=>Array.isArray(n)&&n.length>0).map(([n,s])=>`${this.messages.points[n]??n} (${s.length})`);return t.length>0?this.messages.brings.replace("{points}",t.join(", ")):this.messages.bringsNothing}download(){const e=new Blob([this.session.exportText()],{type:"application/json"}),t=URL.createObjectURL(e),n=this.ownerDocument.createElement("a");n.href=t,n.download="ufoathome-modules.json",n.click(),URL.revokeObjectURL(t)}async importFile(e){try{await this.session.importText(await e.text());const t=this.session.list().filter(n=>n.addedByPerson).length;this.note={text:this.messages.imported.replace("{count}",String(t)),kind:"info"}}catch(t){this.note={text:this.messages.importFailed.replace("{error}",t instanceof Error?t.message:String(t)),kind:"error"}}this.render()}}function X(){customElements.get(N)||customElements.define(N,A)}export{N as MODULES_PANEL_ELEMENT_NAME,A as ModulesPanelElement,X as register};
@@ -1 +0,0 @@
1
- const e={intro:"A module adds sources (imagery, relief, weather…) and 3D models that others published. The modules you add are kept in this browser; save them to a file to take them elsewhere.",codeWarning:"A module that contains code runs with everything this page can do: only add those whose author you know.",urlPlaceholder:"https://…/ufoathome-module.json",add:"Add",none:"No module.",remove:"Remove",enabled:"On",namedByRecording:"Named by this recording",namedByRecordingHint:"Whoever opens the recording loads this module, so that the models it takes from it are drawn. Its code, if it has any, only runs for those who added it themselves.",addToMine:"Add to my modules",loading:"Loading…",failed:"Could not be loaded: {error}",off:"Off",brings:"Brings: {points}",bringsNothing:"Brings nothing.",runsCode:"Runs code.",codeNotRun:"Its code was not run: add it to your modules to run it.",exportConfig:"Save my modules",importConfig:"Load modules",imported:"{count} module(s) loaded from the file.",importFailed:"This file is not a list of modules: {error}",check:"Check",checking:"Checking…",checkPassed:"Nothing breaks UFO@home's contract. This says nothing of its data being right, or of it being safe.",checkCrashed:"The check could not finish: {error}",checkAbout:"{about}: {text}",checks:{scriptNotRun:"Its code was not checked, since it was not run: add it to your modules.",notAList:'"{point}" must be a list.',unknownPoint:'"{point}" is not a place a module can add to: nothing reads it.',entryField:`The entry's "{detail}" is missing or not valid.`,duplicateId:"This id is given twice at the same place.",createMissing:"The entry has no create function.",createThrew:"create failed: {detail}",createAsked:"create asks the network, when a source listed and not used should cost nothing.",createEmpty:"create returns nothing.",missingMember:'What create returns lacks "{detail}".',weatherNotAsked:"The service was not asked: the open recording needs a place and a date.",weatherNoRecord:"The service has no record for this place and date: its values could not be checked.",weatherThrew:"The service could not be asked: {detail}. A service that refuses other sites (CORS) often says this.",weatherSamples:"Samples received/asked for: {detail}. One per point is needed.",weatherOrder:"The samples are not in the order of the points asked for.",weatherValue:"A value is missing or out of its bounds: {detail}.",weatherWindHigh:"A very strong wind: check that it is in metres a second.",weatherSource:`"source.{detail}" is missing, or its id is not the entry's.`,kindKey:`"key" ({detail}) is not the entry's id.`,kindMessages:"A text is missing or did not load: {detail}.",simulationFailed:"The simulation could not be built: {detail}",secondThree:`"object" is no object of the page's three.js: use the three the script is given.`,updateThrew:"update fails with no events: {detail}",drawnWithoutEvents:"drawnCount is {detail} with no events.",disposeThrew:"dispose failed: {detail}",disposeLeft:"dispose leaves its object in the scene.",readingNotTried:"compute was not tried: the open recording states none.",readingThrew:"compute, or what it gives, failed: {detail}",readingNotAList:"What compute gives does not return a list, though it is called synchronously."},points:{weather:"weather",place:"places",timeZone:"time zones",narrative:"drafting",assessment:"assessments",lightPollution:"light pollution",aircraft:"air traffic",upperAir:"air aloft",elevation:"relief",imagery:"imagery",surroundings:"surroundings",perception:"perception",interpretations:"interpretations",skyEvents:"sky events",decorModels:"3D models"}};export{e as modulesPanelMessages_en};
@@ -1 +0,0 @@
1
- const e={intro:"Un módulo añade fuentes (imágenes, relieve, meteorología…) y modelos 3D publicados por otros. Los módulos que añade se guardan en este navegador; guárdelos en un archivo para usarlos en otro lugar.",codeWarning:"Un módulo que contiene código se ejecuta con todos los derechos de esta página: añada solo aquellos cuyo autor conozca.",urlPlaceholder:"https://…/ufoathome-module.json",add:"Añadir",none:"Ningún módulo.",remove:"Quitar",enabled:"Activo",namedByRecording:"Citado por esta grabación",namedByRecordingHint:"Quien abre la grabación carga este módulo, para que se dibujen los modelos que toma de él. Su código, si lo tiene, solo se ejecuta para quien lo añadió.",addToMine:"Añadir a mis módulos",loading:"Cargando…",failed:"No se pudo cargar: {error}",off:"Inactivo",brings:"Aporta: {points}",bringsNothing:"No aporta nada.",runsCode:"Ejecuta código.",codeNotRun:"Su código no se ejecutó: añádalo a sus módulos para ejecutarlo.",exportConfig:"Guardar mis módulos",importConfig:"Cargar módulos",imported:"{count} módulo(s) leído(s) del archivo.",importFailed:"Este archivo no es una lista de módulos: {error}",check:"Comprobar",checking:"Comprobando…",checkPassed:"Nada contradice el contrato de UFO@home. Esto no dice nada de la exactitud de sus datos ni de su seguridad.",checkCrashed:"La comprobación no pudo terminar: {error}",checkAbout:"{about}: {text}",checks:{scriptNotRun:"Su código no se comprobó, porque no se ejecutó: añádalo a sus módulos.",notAList:"«{point}» debe ser una lista.",unknownPoint:"«{point}» no es un lugar donde un módulo pueda añadir: nada lo lee.",entryField:"El campo «{detail}» de la entrada falta o no es válido.",duplicateId:"Este id se da dos veces en el mismo lugar.",createMissing:"La entrada no tiene función create.",createThrew:"create ha fallado: {detail}",createAsked:"create consulta la red, cuando una fuente listada y sin usar no debería costar nada.",createEmpty:"create no devuelve nada.",missingMember:"A lo que devuelve create le falta «{detail}».",weatherNotAsked:"No se consultó el servicio: la grabación abierta necesita un lugar y una fecha.",weatherNoRecord:"El servicio no tiene registro para este lugar y esta fecha: sus valores no se pudieron comprobar.",weatherThrew:"No se pudo consultar el servicio: {detail}. Un servicio que rechaza a otros sitios (CORS) suele decir esto.",weatherSamples:"Muestras recibidas/pedidas: {detail}. Hace falta una por punto.",weatherOrder:"Las muestras no están en el orden de los puntos pedidos.",weatherValue:"Un valor falta o se sale de sus límites: {detail}.",weatherWindHigh:"Viento muy fuerte: compruebe que está en metros por segundo.",weatherSource:"«source.{detail}» falta, o su id no es el de la entrada.",kindKey:"«key» ({detail}) no es el id de la entrada.",kindMessages:"Un texto falta o no se cargó: {detail}.",simulationFailed:"No se pudo construir la simulación: {detail}",secondThree:"«object» no es un objeto del three.js de la página: use el three que recibe el script.",updateThrew:"update falla sin eventos: {detail}",drawnWithoutEvents:"drawnCount vale {detail} sin ningún evento.",disposeThrew:"dispose ha fallado: {detail}",disposeLeft:"dispose deja su objeto en la escena.",readingNotTried:"compute no se probó: la grabación abierta no declara ninguna.",readingThrew:"compute, o lo que da, ha fallado: {detail}",readingNotAList:"Lo que da compute no devuelve una lista, aunque se llama de forma síncrona."},points:{weather:"meteorología",place:"lugares",timeZone:"husos horarios",narrative:"redacción",assessment:"evaluaciones",lightPollution:"contaminación lumínica",aircraft:"tráfico aéreo",upperAir:"aire en altura",elevation:"relieve",imagery:"imágenes",surroundings:"entorno",perception:"percepción",interpretations:"interpretaciones",skyEvents:"eventos del cielo",decorModels:"modelos 3D"}};export{e as modulesPanelMessages_es};
@@ -1 +0,0 @@
1
- const e={intro:"Un module ajoute des sources (imagerie, relief, météo…) et des modèles 3D publiés par d'autres. Les modules que vous ajoutez sont gardés dans ce navigateur ; enregistrez-les dans un fichier pour les retrouver ailleurs.",codeWarning:"Un module qui contient du code s'exécute avec tous les droits de cette page : n'ajoutez que ceux dont vous connaissez l'auteur.",urlPlaceholder:"https://…/ufoathome-module.json",add:"Ajouter",none:"Aucun module.",remove:"Retirer",enabled:"Actif",namedByRecording:"Nommé par cet enregistrement",namedByRecordingHint:"Qui ouvre l'enregistrement charge ce module, pour que les modèles qu'il y prend soient dessinés. Son code, s'il en a, ne s'exécute que pour qui l'a ajouté lui-même.",addToMine:"Ajouter à mes modules",loading:"Chargement…",failed:"Chargement impossible : {error}",off:"Inactif",brings:"Apporte : {points}",bringsNothing:"N'apporte rien.",runsCode:"Exécute du code.",codeNotRun:"Son code n'a pas été exécuté : ajoutez-le à vos modules pour l'exécuter.",exportConfig:"Enregistrer mes modules",importConfig:"Charger des modules",imported:"{count} module(s) lu(s) dans le fichier.",importFailed:"Ce fichier n'est pas une liste de modules : {error}",check:"Vérifier",checking:"Vérification…",checkPassed:"Rien ne contredit le contrat d'UFO@home. Cela ne dit rien de l'exactitude de ses données ni de sa sûreté.",checkCrashed:"La vérification n'a pas pu aller au bout : {error}",checkAbout:"{about} : {text}",checks:{scriptNotRun:"Son code n'a pas été vérifié, car il n'a pas été exécuté : ajoutez-le à vos modules.",notAList:"« {point} » doit être une liste.",unknownPoint:"« {point} » n'est pas un endroit où un module peut ajouter : rien ne le lit.",entryField:"Le champ « {detail} » de l'entrée manque ou n'est pas valable.",duplicateId:"Cet id est donné deux fois au même endroit.",createMissing:"L'entrée n'a pas de fonction create.",createThrew:"create a échoué : {detail}",createAsked:"create interroge le réseau, alors qu'une source listée sans être utilisée ne doit rien coûter.",createEmpty:"create ne renvoie rien.",missingMember:"Il manque « {detail} » à ce que renvoie create.",weatherNotAsked:"Le service n'a pas été interrogé : il faut un lieu et une date dans l'enregistrement ouvert.",weatherNoRecord:"Le service n'a pas de relevé pour ce lieu et cette date : ses valeurs n'ont pas pu être contrôlées.",weatherThrew:"Le service n'a pas pu être interrogé : {detail}. Un service qui refuse les autres sites (CORS) dit souvent cela.",weatherSamples:"Échantillons reçus/demandés : {detail}. Il en faut un par point.",weatherOrder:"Les échantillons ne sont pas dans l'ordre des points demandés.",weatherValue:"Une valeur manque ou sort de ses limites : {detail}.",weatherWindHigh:"Vent très fort : vérifiez qu'il est bien en mètres par seconde.",weatherSource:"« source.{detail} » manque, ou son id n'est pas celui de l'entrée.",kindKey:"« key » ({detail}) n'est pas l'id de l'entrée.",kindMessages:"Un texte manque ou n'a pas été chargé : {detail}.",simulationFailed:"La simulation n'a pas pu être construite : {detail}",secondThree:"« object » n'est pas un objet du three.js de la page : utilisez le three que reçoit le script.",updateThrew:"update échoue sans événement : {detail}",drawnWithoutEvents:"drawnCount vaut {detail} sans aucun événement.",disposeThrew:"dispose a échoué : {detail}",disposeLeft:"dispose laisse son objet dans la scène.",readingNotTried:"compute n'a pas été essayé : l'enregistrement ouvert n'en énonce aucune.",readingThrew:"compute, ou ce qu'il donne, a échoué : {detail}",readingNotAList:"Ce que donne compute ne renvoie pas une liste, alors qu'il est appelé de façon synchrone."},points:{weather:"météo",place:"lieux",timeZone:"fuseaux horaires",narrative:"rédaction",assessment:"évaluations",lightPollution:"pollution lumineuse",aircraft:"trafic aérien",upperAir:"air en altitude",elevation:"relief",imagery:"imagerie",surroundings:"environs",perception:"perception",interpretations:"interprétations",skyEvents:"événements du ciel",decorModels:"modèles 3D"}};export{e as modulesPanelMessages_fr};
@@ -1 +0,0 @@
1
- const e={intro:"Un modulo aggiunge fonti (immagini, rilievo, meteo…) e modelli 3D pubblicati da altri. I moduli che aggiungi sono conservati in questo browser; salvali in un file per ritrovarli altrove.",codeWarning:"Un modulo che contiene codice viene eseguito con tutti i diritti di questa pagina: aggiungi solo quelli di cui conosci l'autore.",urlPlaceholder:"https://…/ufoathome-module.json",add:"Aggiungi",none:"Nessun modulo.",remove:"Rimuovi",enabled:"Attivo",namedByRecording:"Citato da questa registrazione",namedByRecordingHint:"Chi apre la registrazione carica questo modulo, perché i modelli che ne prende siano disegnati. Il suo codice, se ne ha, viene eseguito solo per chi lo ha aggiunto.",addToMine:"Aggiungi ai miei moduli",loading:"Caricamento…",failed:"Impossibile caricarlo: {error}",off:"Inattivo",brings:"Porta: {points}",bringsNothing:"Non porta nulla.",runsCode:"Esegue codice.",codeNotRun:"Il suo codice non è stato eseguito: aggiungilo ai tuoi moduli per eseguirlo.",exportConfig:"Salva i miei moduli",importConfig:"Carica moduli",imported:"{count} modulo/i letto/i dal file.",importFailed:"Questo file non è un elenco di moduli: {error}",check:"Verifica",checking:"Verifica in corso…",checkPassed:"Nulla contraddice il contratto di UFO@home. Questo non dice nulla sull'esattezza dei suoi dati né sulla sua sicurezza.",checkCrashed:"La verifica non è potuta arrivare in fondo: {error}",checkAbout:"{about}: {text}",checks:{scriptNotRun:"Il suo codice non è stato verificato, perché non è stato eseguito: aggiungilo ai tuoi moduli.",notAList:"«{point}» deve essere un elenco.",unknownPoint:"«{point}» non è un punto a cui un modulo possa aggiungere: nulla lo legge.",entryField:"Il campo «{detail}» della voce manca o non è valido.",duplicateId:"Questo id è dato due volte nello stesso punto.",createMissing:"La voce non ha una funzione create.",createThrew:"create non è riuscita: {detail}",createAsked:"create interroga la rete, mentre una fonte elencata e non usata non dovrebbe costare nulla.",createEmpty:"create non restituisce nulla.",missingMember:"A ciò che create restituisce manca «{detail}».",weatherNotAsked:"Il servizio non è stato interrogato: la registrazione aperta ha bisogno di un luogo e di una data.",weatherNoRecord:"Il servizio non ha dati per questo luogo e questa data: i suoi valori non sono stati verificati.",weatherThrew:"Non è stato possibile interrogare il servizio: {detail}. Un servizio che rifiuta gli altri siti (CORS) dice spesso così.",weatherSamples:"Campioni ricevuti/chiesti: {detail}. Ne serve uno per punto.",weatherOrder:"I campioni non sono nell'ordine dei punti chiesti.",weatherValue:"Un valore manca o esce dai suoi limiti: {detail}.",weatherWindHigh:"Vento molto forte: controlla che sia in metri al secondo.",weatherSource:"«source.{detail}» manca, o il suo id non è quello della voce.",kindKey:"«key» ({detail}) non è l'id della voce.",kindMessages:"Un testo manca o non è stato caricato: {detail}.",simulationFailed:"Non è stato possibile costruire la simulazione: {detail}",secondThree:"«object» non è un oggetto del three.js della pagina: usa il three che lo script riceve.",updateThrew:"update fallisce senza eventi: {detail}",drawnWithoutEvents:"drawnCount vale {detail} senza alcun evento.",disposeThrew:"dispose non è riuscita: {detail}",disposeLeft:"dispose lascia il suo oggetto nella scena.",readingNotTried:"compute non è stato provato: la registrazione aperta non ne dichiara nessuna.",readingThrew:"compute, o ciò che dà, non è riuscito: {detail}",readingNotAList:"Ciò che dà compute non restituisce un elenco, benché sia chiamato in modo sincrono."},points:{weather:"meteo",place:"luoghi",timeZone:"fusi orari",narrative:"redazione",assessment:"valutazioni",lightPollution:"inquinamento luminoso",aircraft:"traffico aereo",upperAir:"aria in quota",elevation:"rilievo",imagery:"immagini",surroundings:"dintorni",perception:"percezione",interpretations:"interpretazioni",skyEvents:"eventi del cielo",decorModels:"modelli 3D"}};export{e as modulesPanelMessages_it};
@@ -1 +0,0 @@
1
- import{QuestionnaireImport as M}from"./QuestionnaireImport-CNROmkT2.js";import{Q as C}from"./CaseEditorElement-HR8RFluQ.js";import"./interviewJson-D-i14LTf.js";import"./rr0-ufoathome.mjs";import"./SaidPosition-OJEYhVKN.js";import"./GeoProjection-DvqDbRIx.js";import"./ParameterForm-XbqxCLRn.js";import"./ColumnResize-CEXrq3KB.js";import"./ShareDialogElement-EzLob2Tz.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";import"./InterviewAttachments-BP6Prvdu.js";import"./TimelineTracks-Daaqw9ly.js";import"./ReentryArchive-CeXHrU7L.js";import"./ReferenceTimeline-2kBldQeG.js";import"./upperAirSources-BU0pD84c.js";import"./Account-C4jhsVtN.js";class d{static PHENOMENON="phenomenon";static apply(s,e,t,o){const m=M.answers(e),i=new Map;for(const r of C.fields(t)){const a=r.feeds?m.get(r.id):void 0;r.feeds&&a&&i.set(r.feeds,{field:r.id,text:a.text,source:{said:{...o!==void 0?{interview:o}:{},segment:a.segment}}})}const l=[],u=(r,a,f)=>({value:r,basis:"stated",rationale:a,source:f}),c=(r,a,f,h)=>{h(),l.push({path:r,value:a,field:f})},n=i.get("narrative");n&&c("description",n.text,n.field,()=>{s.description={[t.language??"fr"]:n.text}});const b=i.get("date"),p=i.get("startTime"),S=b?d.date(b.text):void 0,w=p?d.clock(p.text):void 0;if(S){const r=w!==void 0?`${S}T${d.hms(w)}`:S,a=[b.text,p?.text].filter(f=>f!==void 0).join(", ");c("time",r,p&&w!==void 0?p.field:b.field,()=>{s.time=u(r,a,(w!==void 0?p:b).source)})}const v=i.get("duration"),k=v?d.duration(v.text,w):void 0;v&&k!==void 0&&c("durationSeconds",k,v.field,()=>{s.durationSeconds=u(k,v.text,v.source)});const x=i.get("color"),N=x?d.color(x.text):void 0,g=d.aim(i.get("startAzimuth"),i.get("startElevation")),j=d.aim(i.get("endAzimuth"),i.get("endElevation"));if(N||g||j){const r=(s.timeline??={}).keyframes??=[];let a=r.find(h=>(h.shapes??[]).length>0);a||(a=r.find(h=>h.t===0)??{t:0,shapes:[]},r.includes(a)||r.unshift(a),a.shapes=[{sourceId:d.PHENOMENON,shape:{kind:"oval",color:N??"#ffffff",transparency:0,haloScale:1.5,brightness:.4,angular:{value:{widthDeg:.5,heightDeg:.5},basis:"assumed",rationale:"no size the questionnaire's answers give"}}}]);const f=a.shapes[0];if(N&&c(`timeline.keyframes.${r.indexOf(a)}.shapes.0.shape.color`,N,x.field,()=>{f.shape.color=u(N,x.text,x.source)}),g&&c(`timeline.keyframes.${r.indexOf(a)}.shapes.0.shape.aim`,g.value,g.field,()=>{f.shape.aim=u(g.value,g.said,g.source)}),j){const h=(k??10)*1e3;let $=r.find(O=>O.t===h);$||($={t:h,shapes:[]},r.push($),r.sort((O,L)=>O.t-L.t));const I=$.shapes??=[];let y=I.find(O=>O.sourceId===f.sourceId);y||(y={sourceId:f.sourceId,shape:{}},I.push(y));const z=j;c(`timeline.keyframes.${r.indexOf($)}.shapes.${I.indexOf(y)}.shape.aim`,z.value,z.field,()=>{y.shape.aim=u(z.value,z.said,z.source)})}}return l}static MONTHS={janvier:1,fevrier:2,mars:3,avril:4,mai:5,juin:6,juillet:7,aout:8,septembre:9,octobre:10,novembre:11,decembre:12,january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12,enero:1,febrero:2,marzo:3,abril:4,mayo:5,junio:6,julio:7,agosto:8,septiembre:9,octubre:10,noviembre:11,diciembre:12,gennaio:1,febbraio:2,aprile:4,maggio:5,giugno:6,luglio:7,settembre:9,ottobre:10,dicembre:12};static date(s){const e=c=>String(c).padStart(2,"0"),t=(c,n,b)=>n>=1&&n<=12&&b>=1&&b<=31?`${c}-${e(n)}-${e(b)}`:void 0,o=/(\d{4})-(\d{1,2})-(\d{1,2})/.exec(s);if(o)return t(Number(o[1]),Number(o[2]),Number(o[3]));const m=/(\d{1,2})[/.-](\d{1,2})[/.-](\d{2,4})/.exec(s);if(m){const c=Number(m[3])<100?2e3+Number(m[3]):Number(m[3]);return t(c,Number(m[2]),Number(m[1]))}const i=s.normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase(),l=/(\d{1,2})(?:er)?\s+([a-z]+)\s+(\d{4})/.exec(i),u=l?d.MONTHS[l[2]]:void 0;return l&&u?t(Number(l[3]),u,Number(l[1])):void 0}static clock(s){const e=/(\d{1,2})\s*(?:[:h]\s*(\d{2})?(?:\s*[:m]\s*(\d{2}))?|\s*(?=[ap]\.?m))\s*([ap]\.?m\.?)?/i.exec(s);if(!e)return;let t=Number(e[1]);if(e[4]&&(t=t%12+(/^p/i.test(e[4])?12:0)),!(t>23))return t*3600+Number(e[2]??0)*60+Number(e[3]??0)}static hms(s){const e=t=>String(t).padStart(2,"0");return`${e(Math.floor(s/3600))}:${e(Math.floor(s/60)%60)}:${e(s%60)}`}static duration(s,e){const t=s.toLowerCase().replace(",","."),o=/(\d{1,2})\s*[:h]\s*\d{2}/.exec(t);if(o&&e!==void 0&&(/jusqu|until|till|fin\b|end|termin|hasta|fino/.test(t)||/:/.test(o[0])&&Number(o[1])>=10)){const u=d.clock(o[0]);if(u!==void 0)return(u-e+86400)%86400||void 0}const i=[...t.replace(/(\d+)\s*h\s*(\d{2})(?!\s*(?:min|mn|s\b|sec))/g,"$1 h $2 min").matchAll(/(\d+(?:\.\d+)?)\s*(?:(?:-|–|à|a|to|or|ou|o)\s*(\d+(?:\.\d+)?)\s*)?(h(?:eures?|ours?|oras?|ore)?|min\w*|mn|s(?:ec\w*)?|seg\w*)(?![a-z])/g)];if(i.length>0){const u=i.reduce((c,n)=>{const b=n[3].startsWith("h")?3600:n[3].startsWith("m")?60:1,p=n[2]?(Number(n[1])+Number(n[2]))/2:Number(n[1]);return c+p*b},0);return u>0?Math.round(u):void 0}const l=/^\s*(\d{1,2}):(\d{2})\s*$/.exec(t);return l?Number(l[1])*60+Number(l[2]):void 0}static COLORS=[[/orang/,"#ff8a1f"],[/rouge|red|rojo|ross/,"#ff2a14"],[/jaune|yellow|amarill|giall/,"#ffe14a"],[/vert|green|verde/,"#3ad65a"],[/bleu|blue|azul|azzurr|blu/,"#4a8dff"],[/violet|purple|morad|viola/,"#a35bff"],[/rose|pink/,"#ff7ab8"],[/argent|silver|plat/,"#d8dde3"],[/gris|grey|gray|grig/,"#9a9a9a"],[/noir|black|negr|ner/,"#202020"],[/blanc|white|blanco|bianc/,"#ffffff"]];static color(s){const e=s.toLowerCase();let t;for(const[o,m]of d.COLORS){const i=o.exec(e);i&&(!t||i.index<t.at)&&(t={at:i.index,hex:m})}return t?.hex}static POINTS=[[/nord[- ]?nord[- ]?est|north[- ]?north[- ]?east|\bnne\b/,22.5],[/est[- ]?nord[- ]?est|east[- ]?north[- ]?east|\bene\b/,67.5],[/est[- ]?sud[- ]?est|east[- ]?south[- ]?east|\bese\b/,112.5],[/sud[- ]?sud[- ]?est|south[- ]?south[- ]?east|\bsse\b/,157.5],[/sud[- ]?sud[- ]?ouest|south[- ]?south[- ]?west|\bssw\b|\bsso\b/,202.5],[/ouest[- ]?sud[- ]?ouest|west[- ]?south[- ]?west|\bwsw\b|\boso\b/,247.5],[/ouest[- ]?nord[- ]?ouest|west[- ]?north[- ]?west|\bwnw\b|\bono\b/,292.5],[/nord[- ]?nord[- ]?ouest|north[- ]?north[- ]?west|\bnnw\b|\bnno\b/,337.5],[/nord[- ]?est|north[- ]?east|\bne\b/,45],[/sud[- ]?est|south[- ]?east|\bse\b/,135],[/sud[- ]?ouest|south[- ]?west|\bsw\b|\bso\b/,225],[/nord[- ]?ouest|north[- ]?west|\bnw\b|\bno\b/,315],[/\bnord\b|\bnorth\b|^n$/,0],[/\best\b|\beast\b|^e$/,90],[/\bsud\b|\bsouth\b|^s$/,180],[/\bouest\b|\bwest\b|^o$|^w$/,270]];static azimuth(s){const e=s.normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase().trim(),t=/(\d{1,3}(?:[.,]\d+)?)\s*(?:°|deg|degres?|degrees?)/.exec(e)??/^(?:azimut[h]?\s*)?(\d{1,3}(?:[.,]\d+)?)$/.exec(e);if(t){const o=Number(t[1].replace(",","."));return o>=0&&o<=360?o%360:void 0}return d.POINTS.find(([o])=>o.test(e))?.[1]}static elevation(s){const e=s.normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase(),t=/(-?\d{1,2}(?:[.,]\d+)?)\s*(?:°|deg|degres?|degrees?)/.exec(e)??/^\s*(\d{1,2}(?:[.,]\d+)?)\s*$/.exec(e);if(t){const o=Number(t[1].replace(",","."));return o>=-5&&o<=90?o:void 0}if(/zenith|au-dessus de (?:ma|la) tete|overhead/.test(e))return 90;if(/(?:a|sur|on) l'?horizon|at the horizon/.test(e))return 0}static aim(s,e){const t=s?d.azimuth(s.text):void 0,o=e?d.elevation(e.text):void 0;if(!(t===void 0||o===void 0))return{value:{azimuthDeg:t,altitudeDeg:o},field:s.field,said:`${s.text} ; ${e.text}`,source:s.source}}}export{d as QuestionnaireFeed};
@@ -1 +0,0 @@
1
- import{Q as E}from"./CaseEditorElement-HR8RFluQ.js";import{InterviewFile as N}from"./interviewJson-D-i14LTf.js";import{I as y}from"./InterviewAttachments-BP6Prvdu.js";import{r as A}from"./rr0-ufoathome.mjs";import"./SaidPosition-OJEYhVKN.js";import"./GeoProjection-DvqDbRIx.js";import"./ParameterForm-XbqxCLRn.js";import"./ColumnResize-CEXrq3KB.js";import"./ShareDialogElement-EzLob2Tz.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";import"./TimelineTracks-Daaqw9ly.js";import"./ReentryArchive-CeXHrU7L.js";import"./ReferenceTimeline-2kBldQeG.js";import"./upperAirSources-BU0pD84c.js";import"./Account-C4jhsVtN.js";class x{constructor(e,o,i=()=>{}){this.container=e,this.answered=o,this.gave=i}json;recalled=()=>{};files;show(e,o,i,c,a,d=()=>{},r){this.json=o,this.recalled=d,this.files=r;const s=t=>E.text(t,c),u=[],l=e.intro?s(e.intro):i.intro.replace("{title}",s(e.title));for(const t of l.split(/\n\s*\n/)){const n=document.createElement("p");n.className="form-intro",n.textContent=t.trim(),u.push(n)}if(e.source?.url){const t=document.createElement("p");t.className="form-source";const n=document.createElement("a");n.href=e.source.url,n.target="_blank",n.rel="noopener noreferrer",n.textContent=i.source.replace("{publisher}",e.source.publisher??e.source.title??e.source.url),t.append(n),u.push(t)}const m=new Set(E.fields(e).map(t=>t.id));for(const t of e.sections)u.push(this.section(s(t.title),t.number,t.intro?s(t.intro):void 0,t.fields,o,i,c,a,t.images));const f=(o?.segments??[]).filter(t=>t.field!==void 0&&!m.has(t.field)&&o.speakers[t.speaker]?.role!=="witness").map(t=>({id:t.field,question:N.plain(t.text??t.field),kind:"long",required:!1}));f.length>0&&u.push(this.section(i.other,void 0,void 0,f,o,i,c,a)),this.container.replaceChildren(...u),this.messages=i,this.complete=new WeakSet([...this.container.querySelectorAll(".form-section")].filter(x.isComplete)),this.place()}messages;complete=new WeakSet;place(){const e=this.messages;if(e)for(const o of this.container.querySelectorAll("details.form-section")){const i=[...o.querySelectorAll(".form-field")],c=i.filter(x.isAnswered).length,a=o.querySelector(".form-section-count");a&&(a.textContent=e.sectionAnswered.replace("{n}",String(c)).replace("{total}",String(i.length))),c<i.length?this.complete.delete(o):this.complete.has(o)||(this.complete.add(o),o.open=!1)}}static isComplete(e){return[...e.querySelectorAll(".form-field")].every(x.isAnswered)}static isAnswered(e){return e.querySelector(".form-file-list li")||e.querySelector("input:checked")?!0:[...e.querySelectorAll("textarea, input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=url])")].some(o=>o.value.trim()!=="")}section(e,o,i,c,a,d,r,s,u){const l=document.createElement("details");l.className="form-section";const m=document.createElement("summary"),f=document.createElement("span");f.className="form-section-title",f.textContent=o?`${o}. ${e}`:e;const t=document.createElement("span");t.className="form-section-count",m.append(f,t),l.append(m),l.addEventListener("change",()=>this.place());for(const n of i?.split(/\n\s*\n/)??[]){const h=document.createElement("p");h.className="form-section-intro",h.textContent=n.trim(),l.append(h)}u&&l.append(...x.figures(u,r));for(const n of c){const h=n.confidential?this.recalled(n.id)??"":a?E.answerOf(a,n.id)??"":"";l.append(this.field(n,h,d,r,s))}return l}field(e,o,i,c,a){const d=E.text(e.question,c),r=document.createElement("div");r.className="form-field",r.dataset.field=e.id;const s=document.createElement("label"),u=`form-${e.id.replace(/[^A-Za-z0-9_-]/g,"_")}`;s.htmlFor=u;const l=/^[A-Za-z]?\d/.test(e.id)?`${e.id}. `:"";if(s.textContent=`${l}${d}`,e.required!==!1){const n=document.createElement("span");n.className="required",n.textContent=" *",n.title=i.required,s.append(n)}if(r.append(s),e.hint){const n=document.createElement("p");n.className="form-hint",n.textContent=E.text(e.hint,c),r.append(n)}e.images&&r.append(...x.figures(e.images,c)),e.confidential&&r.append(this.confidentialNote(e,o,i,c));const m=n=>this.answered(e.id,n,d),f=e.kind??"long";if(f==="files")return r.append(this.attached(e,u,d,i,a)),r;if((f==="choice"||f==="scale")&&e.choices){const n=document.createElement("div");n.className=`form-choices ${f}`,n.id=u;const h=f==="choice"&&e.multiple===!0;n.setAttribute("role",h?"group":"radiogroup");const w=h?o.split(";").map(v=>v.trim()):[o.trim()];for(const v of e.choices){const b=document.createElement("label"),p=document.createElement("input");p.type=h?"checkbox":"radio",p.name=u,p.value=v.value,p.checked=w.includes(v.value),p.disabled=a,p.addEventListener("change",()=>{h?m([...n.querySelectorAll("input:checked")].map(k=>k.value).join("; ")):p.checked&&m(v.value)}),b.append(p,` ${E.text(v.label,c)}`),n.append(b)}return r.append(n),r}const t=f==="long"?document.createElement("textarea"):document.createElement("input");return t.id=u,t.value=o,t.disabled=a,t.addEventListener("change",()=>m(t.value)),t instanceof HTMLInputElement&&(f==="date"||f==="time")?r.append(this.when(t,f,o,i,s)):r.append(t),r}when(e,o,i,c,a){const d=o==="date"?/^\d{4}-\d{2}-\d{2}$/:/^\d{2}:\d{2}(:\d{2})?$/,r=document.createElement("div");r.className="form-when";const s=document.createElement("button");s.type="button",s.className="form-when-mode",s.disabled=e.disabled;const u=l=>{const m=e.value;e.type=l?o:"text",o==="time"&&(e.step=l?"1":""),e.placeholder=l?"":o==="date"?c.impreciseDate:c.impreciseTime,e.value=l&&!d.test(m)?"":m,!l&&m===""&&i!==""&&(e.value=i),r.dataset.mode=l?"precise":"imprecise",s.textContent=l?c.precise:c.imprecise,s.title=l?c.preciseHint:c.impreciseHint};return s.addEventListener("click",()=>u(r.dataset.mode!=="precise")),u(i===""||d.test(i.trim())),a.append(" ",s),r.append(e),r}attached(e,o,i,c,a){const d=document.createElement("div");d.className="form-files";const r=this.json?[...E.filesOf(this.json,e.id)]:[],s=document.createElement("ul");s.className="form-file-list";const u=()=>{s.replaceChildren(...r.map((t,n)=>{const h=document.createElement("li"),w=E.fileName(t),v=this.files?.shown(t)??t.src,b=document.createElement("a");if(b.href=v,b.target="_blank",b.rel="noopener noreferrer",y.isImage(t)){const p=document.createElement("img");p.src=v,p.alt=w,p.loading="lazy",b.append(p)}if(b.append(w),h.append(b),!a){const p=document.createElement("button");p.type="button",p.className="form-file-remove",p.textContent="×",p.title=c.removeFile.replace("{name}",w),p.setAttribute("aria-label",p.title),p.addEventListener("click",()=>{r.splice(n,1),u(),this.gave(e.id,[...r],i),this.place()}),h.append(p)}return h})),s.hidden=r.length===0};if(u(),d.append(s),a||!this.files)return d;A();const l=document.createElement("label");l.className="form-file-add";const m=document.createElement("rr0-input-file");m.setAttribute("name",o),m.setAttribute("multiple",""),m.setAttribute("no-button",""),e.accept&&m.setAttribute("accept",e.accept),m.build(),m.messages=this.files.messages;const f=this.files;return m.addEventListener("filepick",t=>{const n=t.detail;if(n.url!==void 0){if(n.url.trim()==="")return;r.push({src:n.url.trim()}),m.url=""}else for(const h of n.files??[n.file])r.push(f.add(h));u(),this.gave(e.id,[...r],i),this.place()}),l.append(`${c.addFile} `,m),d.append(l),d}confidentialNote(e,o,i,c){const a=document.createElement("p");a.className="form-confidential";const d=this.json?.questionnaire?.recipient,r=o===""&&this.json?.segments.some(s=>s.field===e.id&&s.redacted?.sealed!==void 0);if(d){const s=E.text(d.name,c);a.textContent=(r?i.confidentialSealedBefore:i.confidentialSealed).replace("{name}",s)}else a.textContent=i.confidentialNowhere,a.classList.add("nowhere");return a}static figures(e,o){return e.map(i=>{const c=document.createElement("figure");c.className="form-figure";const a=document.createElement("img");if(a.src=i.src,a.alt=E.text(i.alt,o),a.loading="lazy",c.append(a),i.caption){const d=document.createElement("figcaption");d.textContent=E.text(i.caption,o),c.append(d)}return c})}}export{x as QuestionnaireForm};
@@ -1,5 +0,0 @@
1
- import{InterviewFile as x}from"./interviewJson-D-i14LTf.js";import{Q as w}from"./CaseEditorElement-HR8RFluQ.js";import"./rr0-ufoathome.mjs";import"./SaidPosition-OJEYhVKN.js";import"./GeoProjection-DvqDbRIx.js";import"./ParameterForm-XbqxCLRn.js";import"./ColumnResize-CEXrq3KB.js";import"./ShareDialogElement-EzLob2Tz.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";import"./InterviewAttachments-BP6Prvdu.js";import"./TimelineTracks-Daaqw9ly.js";import"./ReentryArchive-CeXHrU7L.js";import"./ReferenceTimeline-2kBldQeG.js";import"./upperAirSources-BU0pD84c.js";import"./Account-C4jhsVtN.js";class d{static UNINFORMED=new RegExp("^(?:"+["je ne sais pas","j'?sais pas","sais pas","ne sait pas","nsp","inconnu","inconnue","aucune id[ée]e","je ne (?:me )?souviens (?:pas|plus)","ne se souvient pas","non renseign[ée]e?","i don'?t know","don'?t know","do not know","dunno","unknown","not known","dk","n/?a","i don'?t remember","can'?t remember","not sure","no s[ée]","no lo s[ée]","desconocido","no recuerdo","non so","non lo so","sconosciuto","non ricordo","\\?+","-+","[—–]","…","\\.{2,}"].join("|")+")[.!]?$","iu");static informed(e){if(e===void 0)return!1;const s=x.plain(e).trim().replace(/\s+/g," ").replace(/[’]/g,"'");return s!==""&&!d.UNINFORMED.test(s)}static parse(e,s={},t){const i=typeof e=="string"?d.fromText(e,t):d.fromJson(e);if(!i||i.fields.length===0)return;const r=d.interview(i.fields,s,i.about);return t&&(r.questionnaire={id:t.id,...t.version?{version:t.version}:{}}),r}static interview(e,s={},t={}){const i={},r=s.by?.[0];i.interviewer={role:"interviewer",...r!==void 0?{by:{people:r}}:{}};const c=s.witnesses?.length===1?s.witnesses[0]:void 0;i.witness={role:"witness",...c?{title:c.label,of:c.id}:{}};const n=[];for(const a of e){n.push({speaker:"interviewer",field:a.id,text:a.question});const l=a.answer?.trim();l&&n.push({speaker:"witness",field:a.id,text:l})}return{version:1,...t.language?{language:t.language}:{},...t.title?{title:t.title}:{},...t.time?{time:t.time}:{},medium:"questionnaire",...c?{interviewOf:c.id}:{},speakers:i,transcription:{method:"manual"},proofreading:{interviewer:{status:"pending"},witness:{status:"pending"}},segments:n}}static answers(e){const s=new Map;return e.segments.forEach((t,i)=>{if(t.field===void 0||s.has(t.field)||e.speakers[t.speaker]?.role!=="witness")return;const r=x.said(t);r!==void 0&&d.informed(r)&&s.set(t.field,{field:t.field,segment:i,text:r.trim()})}),s}static sourceOf(e,s,t){const i=d.answers(e).get(s);if(i)return{said:{...t!==void 0?{interview:t}:{},segment:i.segment}}}static fromJson(e){const s={};let t=e;if(e!==null&&typeof e=="object"&&!Array.isArray(e)){const r=e,c=["fields","questions","answers"].find(n=>Array.isArray(r[n]));if(c){t=r[c];for(const n of["title","time","language"])typeof r[n]=="string"&&(s[n]=r[n])}else{const n=Object.entries(r);return n.length===0||!n.every(([,a])=>d.isAnswer(a))?void 0:{fields:n.map(([a,l],g)=>({id:String(g+1),question:a,...d.answerOf(l)})),about:s}}}if(!Array.isArray(t))return;const i=[];return t.forEach((r,c)=>{if(r===null||typeof r!="object"||Array.isArray(r))return;const n=r,a=(...m)=>m.map(o=>n[o]).find(o=>o!==void 0),l=a("id","number","field","key","name"),g=a("question","label","title","text","q"),p=a("answer","value","response","a","reply");g===void 0&&l===void 0||i.push({id:String(l!==void 0?l:c+1),question:typeof g=="string"&&g.trim()!==""?g.trim():String(l),...d.isAnswer(p)?d.answerOf(p):{}})}),{fields:i,about:s}}static isAnswer(e){return e==null||["string","number","boolean"].includes(typeof e)||Array.isArray(e)&&e.every(s=>["string","number","boolean"].includes(typeof s))}static answerOf(e){if(e==null)return{};const s=Array.isArray(e)?e.map(String).join(", "):String(e);return s.trim()===""?{}:{answer:s.trim()}}static fromText(e,s){const t=e.replace(/^/,"").replace(/\r\n?/g,`
2
- `).replace(/^(?:[ \t]*\n)+|(?:\n[ \t]*)+$/g,"");if(t.trim()==="")return;if(/^\s*[{[]/.test(t))try{return d.fromJson(JSON.parse(t))}catch{}const i=d.table(t);return i?{fields:i,about:{}}:{fields:d.lines(t,s),about:{}}}static table(e){const s=e.split(`
3
- `).filter(t=>t.trim()!=="");for(const t of[" ",";",","]){const i=s.map(n=>d.cells(n,t)),r=i[0].length;if(r<2||!i.every(n=>n.length===r))continue;const c=i[0].some(n=>/^(question|questions|answer|answers|r[ée]ponse|r[ée]ponses|field|champ|n°|no|num[ée]ro|id)$/i.test(n.trim()));return i.slice(c?1:0).map((n,a)=>r===2?{id:String(a+1),question:n[0].trim(),...d.answerOf(n[1])}:{id:n[0].trim()||String(a+1),question:n[1].trim()||n[0].trim(),...d.answerOf(n.slice(2).join(t===" "?" ":`${t} `))})}}static cells(e,s){const t=[];let i="",r=!1;for(let c=0;c<e.length;c++){const n=e[c];r?n==='"'&&e[c+1]==='"'?(i+='"',c++):n==='"'?r=!1:i+=n:n==='"'&&i.trim()===""?(r=!0,i=""):n===s?(t.push(i),i=""):i+=n}return t.push(i),t}static lines(e,s){const t=o=>o.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]/g,""),r=(s?w.fields(s):[]).filter(o=>!/^[A-Za-z]?\d/.test(o.id)).map(o=>({id:o.id,key:t(w.text(o.question,s?.language))})),c=(s?.stops??[]).map(o=>t(w.text(o,s?.language))).filter(o=>o!==""),n=new Set((s?.sections??[]).flatMap(o=>[o.title,o.intro]).filter(o=>o!==void 0).map(o=>t(w.text(o,s?.language)))),a=/^(?:q(?:uestion)?\s*)?([A-Za-z]?\d+[a-z]?['’]?)\s*[.)\-–:]\s*(.*)$/u,l=/\bpage\s*:?\s*\d+(?:\s*\/\s*\d+)?\s*$/i,g=[];let p;const m=[];for(const o of e.split(`
4
- `)){const f=o.trim();if(l.test(f))continue;if(c.some(y=>t(f).startsWith(y))){p=void 0;continue}const u=a.exec(f),v=u&&(!s||w.field(s,d.idOf(u[1])))?u:null,h=v?void 0:r.find(y=>y.key!==""&&t(f).startsWith(y.key));if(v||h){p={id:v?d.idOf(v[1]):h.id,lines:[v?v[2]:f]},g.push(p);continue}if(n.has(t(f))&&f!=="")continue;if(p){p.lines.push(f);continue}if(f===""||s)continue;const q=d.split(f);q&&m.push({id:String(m.length+1),...q})}return g.length===0?m:g.map(o=>{const f=o.lines.join(`
5
- `),u=s?w.field(s,o.id)??w.field(s,o.id.toLowerCase()):void 0,v=u?.id??o.id,h=(u?d.after(f,w.text(u.question,s?.language),t,u.hint===void 0?void 0:w.text(u.hint,s?.language)):void 0)??d.asked(o.lines),q=u?.choices?d.chosen(h.answer,u.choices.map(y=>y.value)):h.answer;return{id:v,question:u?w.text(u.question,s?.language):h.question,...d.answerOf(q)}})}static after(e,s,t,i){const r=(l,g)=>{const p=t(g);let m=0,o=l;for(;o<e.length&&m<p.length;o++){const f=t(e[o]);if(f!==""){if(f!==p[m])return;m++}}return m<p.length?void 0:o},c=r(0,s);if(c===void 0)return;const n=(i!==void 0?r(c,i):void 0)??c,a=e.slice(n).replace(/^[\s*:?.,;…)\]]+/u,"").replace(/\s+/g," ").trim();return{question:s,...a!==""?{answer:a}:{}}}static chosen(e,s){if(e===void 0)return;const t=[...e.matchAll(/(?:[☒☑✓✔]|\[[xX]\])\s*([^\s☐☒☑✓✔[\]]+)/gu)].map(i=>i[1]).filter(i=>s.includes(i));if(t.length>0)return t.join(", ");if(!/[☐]/u.test(e)&&!/^\S+:$/.test(e.trim()))return e}static idOf(e){return e.replace("’","'").toUpperCase().replace(/^Q(?=\d)/,"")}static asked(e){const s=e.findIndex(c=>/[?:*]\s*$/.test(c));if(s>=0&&s<3){const c=e.slice(s+1).join(" ").replace(/\s+/g," ").trim();return{question:e.slice(0,s+1).join(" ").replace(/[\s*:]+$/,"").replace(/\s+/g," ").trim(),...c!==""?{answer:c}:{}}}const t=d.split(e[0])??{question:e[0].trim()},i=e.slice(1).join(" ").replace(/\s+/g," ").trim(),r=[t.answer,i].filter(c=>c!==void 0&&c!=="").join(" ");return{question:t.question,...r!==""?{answer:r}:{}}}static split(e){const s=/\?(?:\s*\*)?(\s|$)|\s?:\s*\*?(\s|$)/.exec(e);if(!s||s.index===0)return;const t=e.slice(0,s.index+(e[s.index]==="?"?1:0)).replace(/[\s*]+$/,"").trim(),i=e.slice(s.index+s[0].length).trim();return{question:t,...i!==""?{answer:i}:{}}}}export{d as QuestionnaireImport};
@@ -1 +0,0 @@
1
- const t={timeWithin:"Its time, {time}, is within what is known of it ({range}).",timeOutside:"Its time, {time}, is outside what is known of it ({range}).",timeChanged:"It moves the time from {from} to {time}, which the observation states.",valueWithin:"Its {what}, {value}, is within what is known of it ({min} to {max}).",valueOutside:"Its {what}, {value}, is outside what is known of it ({min} to {max}).",valueChanged:"It moves the {what} from {from} to {value}, which the observation states.",lightingHolds:"The Sun it puts together ({bearing}° from where the camera looks, {altitude}° high) lights the scene as the picture shows it ({from}° to {to}° from where it looks{altitudes}).",lightingFails:"The Sun it puts together ({bearing}° from where the camera looks, {altitude}° high) does not light the scene as the picture shows it ({from}° to {to}° from where it looks{altitudes}).",altitudes:", {min}° to {max}° high",latitude:"latitude",longitude:"longitude",bestFixed:"Most favourable configuration, computed: standing still in the frame and placed nearest the phenomenon all along: it stays {median}° from it at the median, {max}° at most, for a phenomenon of {size}° that travels {travel}°.",bestOneWay:"Most favourable configuration, computed: driven one way (towards {direction}° from the top of the frame, clockwise) and nearest the phenomenon: it stays {median}° from it at the median, {max}° at most, for a phenomenon of {size}° that travels {travel}°.",bestGhost:"Most favourable configuration, computed: a ghost of the lens (factor {k}) with the Sun where the account allows it ({bearing}° from where the camera looks, {altitude}° high): it stays {median}° from the phenomenon at the median, {max}° at most, for a phenomenon of {size}° that travels {travel}°.",bestGhostNeeds:"Leaving the picture's light aside, the most favourable Sun would be {bearing}° from where the camera looks and {altitude}° high (factor {k}): the ghost would stay {median}° from the phenomenon at the median, {max}° at most.",bestStatedGhost:"Most favourable configuration, computed: a ghost of an optic set before the lens, at the factor ({k}) and offset ({offset}°) that lay it best, the Sun {bearing}° from where the camera looks and {altitude}° high: it stays {median}° from the phenomenon at the median, {max}° at most, for a phenomenon of {size}° that travels {travel}°.",bestNoGhost:"Most favourable configuration, computed: no Sun the account allows is within the lens's reach all along, so it throws no ghost of it.",bestGhostOf:"Most favourable configuration, computed: a ghost through the lens (factor {k}) of the light the reading places, where it places it: it stays {median}° from the phenomenon at the median, {max}° at most, and travels {ghostTravel}° where the phenomenon of {size}° travels {travel}°.",bestRealObject:"Most favourable configuration, computed: on its line of sight, it is where the phenomenon is at every instant, at any distance. At {distance} m, where the reading places it, it would be {width} m across and move at {speed} m/s at least across the line of sight from the camera; both in proportion to the distance.",decimal:"."};export{t as readingCheckTexts_en};
@@ -1 +0,0 @@
1
- const e={timeWithin:"Su hora, {time}, está dentro de lo que se sabe de ella ({range}).",timeOutside:"Su hora, {time}, está fuera de lo que se sabe de ella ({range}).",timeChanged:"Desplaza la hora de {from} a {time}, que la observación indica.",valueWithin:"Su {what}, {value}, está dentro de lo que se sabe ({min} a {max}).",valueOutside:"Su {what}, {value}, está fuera de lo que se sabe ({min} a {max}).",valueChanged:"Desplaza la {what} de {from} a {value}, que la observación indica.",lightingHolds:"El Sol que compone ({bearing}° de la dirección de mira, {altitude}° de altura) ilumina la escena como la muestra la imagen ({from}° a {to}° de la mira{altitudes}).",lightingFails:"El Sol que compone ({bearing}° de la dirección de mira, {altitude}° de altura) no ilumina la escena como la muestra la imagen ({from}° a {to}° de la mira{altitudes}).",altitudes:", {min}° a {max}° de altura",latitude:"latitud",longitude:"longitud",bestFixed:"Configuración más favorable, calculada: fijo en el encuadre y colocado lo más cerca del fenómeno todo el tiempo, queda a {median}° de él en la mediana, {max}° como mucho, para un fenómeno de {size}° que recorre {travel}°.",bestOneWay:"Configuración más favorable, calculada: empujado en un solo sentido (hacia {direction}° desde lo alto del encuadre, en el sentido horario) y lo más cerca del fenómeno, queda a {median}° de él en la mediana, {max}° como mucho, para un fenómeno de {size}° que recorre {travel}°.",bestGhost:"Configuración más favorable, calculada: un reflejo del objetivo (factor {k}) con el Sol donde el relato lo permite ({bearing}° de la visual, {altitude}° de altura), queda a {median}° del fenómeno en la mediana, {max}° como mucho, para un fenómeno de {size}° que recorre {travel}°.",bestGhostNeeds:"Sin atenerse a la iluminación de la imagen, el Sol más favorable estaría a {bearing}° de la visual y {altitude}° de altura (factor {k}): el reflejo quedaría a {median}° del fenómeno en la mediana, {max}° como mucho.",bestStatedGhost:"Configuración más favorable, calculada: un reflejo de una óptica colocada delante del objetivo, con el factor ({k}) y el desplazamiento ({offset}°) que mejor lo sitúan, el Sol a {bearing}° de la visual y {altitude}° de altura, queda a {median}° del fenómeno en la mediana, {max}° como mucho, para un fenómeno de {size}° que recorre {travel}°.",bestNoGhost:"Configuración más favorable, calculada: ningún Sol que el relato permita está al alcance del objetivo todo el tiempo, que no recibe por tanto ningún reflejo de él.",bestGhostOf:"Configuración más favorable, calculada: un reflejo por el objetivo (factor {k}) de la luz que la lectura coloca, donde la coloca, queda a {median}° del fenómeno en la mediana, {max}° como mucho, y recorre {ghostTravel}° cuando el fenómeno de {size}° recorre {travel}°.",bestRealObject:"Configuración más favorable, calculada: en su línea de visión, está donde está el fenómeno en cada instante, a cualquier distancia. A {distance} m, donde la lectura lo coloca, mediría {width} m e iría al menos a {speed} m/s de través respecto a la línea de visión de la cámara; ambos en proporción a la distancia.",decimal:","};export{e as readingCheckTexts_es};
@@ -1 +0,0 @@
1
- const e={timeWithin:"Son heure, {time}, est dans ce qu'on en sait ({range}).",timeOutside:"Son heure, {time}, est hors de ce qu'on en sait ({range}).",timeChanged:"Elle déplace l'heure de {from} à {time}, que l'observation indique.",valueWithin:"Sa {what}, {value}, est dans ce qu'on en sait ({min} à {max}).",valueOutside:"Sa {what}, {value}, est hors de ce qu'on en sait ({min} à {max}).",valueChanged:"Elle déplace la {what} de {from} à {value}, que l'observation indique.",lightingHolds:"Le Soleil qu'elle compose ({bearing}° de la direction de visée, {altitude}° de haut) éclaire la scène comme l'image la montre ({from}° à {to}° de la visée{altitudes}).",lightingFails:"Le Soleil qu'elle compose ({bearing}° de la direction de visée, {altitude}° de haut) n'éclaire pas la scène comme l'image la montre ({from}° à {to}° de la visée{altitudes}).",altitudes:", {min}° à {max}° de haut",latitude:"latitude",longitude:"longitude",bestFixed:"Configuration la plus favorable, calculée : fixe dans le cadre et placé au plus près du phénomène tout au long, il en reste à {median}° en médiane, {max}° au plus, pour un phénomène de {size}° qui parcourt {travel}°.",bestOneWay:"Configuration la plus favorable, calculée : poussé dans un seul sens (vers {direction}° depuis le haut du cadre, dans le sens horaire) et au plus près du phénomène, il en reste à {median}° en médiane, {max}° au plus, pour un phénomène de {size}° qui parcourt {travel}°.",bestGhost:"Configuration la plus favorable, calculée : un reflet de l'objectif (facteur {k}) avec le Soleil où le compte rendu le permet ({bearing}° de la visée, {altitude}° de haut), il reste à {median}° du phénomène en médiane, {max}° au plus, pour un phénomène de {size}° qui parcourt {travel}°.",bestGhostNeeds:"Sans s'en tenir à l'éclairage de l'image, le Soleil le plus favorable serait à {bearing}° de la visée et {altitude}° de haut (facteur {k}) : le reflet resterait à {median}° du phénomène en médiane, {max}° au plus.",bestStatedGhost:"Configuration la plus favorable, calculée : un reflet d'une optique placée devant l'objectif, au facteur ({k}) et au décalage ({offset}°) qui le posent au mieux, le Soleil à {bearing}° de la visée et {altitude}° de haut, il reste à {median}° du phénomène en médiane, {max}° au plus, pour un phénomène de {size}° qui parcourt {travel}°.",bestNoGhost:"Configuration la plus favorable, calculée : aucun Soleil que le compte rendu permet n'est à portée de l'objectif tout au long, qui n'en reçoit donc aucun reflet.",bestGhostOf:"Configuration la plus favorable, calculée : un reflet par l'objectif (facteur {k}) de la lumière que la lecture place, là où elle la place, il reste à {median}° du phénomène en médiane, {max}° au plus, et parcourt {ghostTravel}° quand le phénomène de {size}° en parcourt {travel}°.",bestRealObject:"Configuration la plus favorable, calculée : sur sa ligne de visée, il est là où est le phénomène à chaque instant, à n'importe quelle distance. À {distance} m, où la lecture le place, il mesurerait {width} m et irait au moins à {speed} m/s en travers de la ligne de visée de la caméra ; les deux en proportion de la distance.",decimal:","};export{e as readingCheckTexts_fr};
@@ -1 +0,0 @@
1
- const a={timeWithin:"La sua ora, {time}, è entro ciò che se ne sa ({range}).",timeOutside:"La sua ora, {time}, è fuori da ciò che se ne sa ({range}).",timeChanged:"Sposta l'ora da {from} a {time}, che l'osservazione indica.",valueWithin:"La sua {what}, {value}, è entro ciò che se ne sa (da {min} a {max}).",valueOutside:"La sua {what}, {value}, è fuori da ciò che se ne sa (da {min} a {max}).",valueChanged:"Sposta la {what} da {from} a {value}, che l'osservazione indica.",lightingHolds:"Il Sole che compone ({bearing}° dalla direzione di mira, {altitude}° di altezza) illumina la scena come la mostra l'immagine (da {from}° a {to}° dalla mira{altitudes}).",lightingFails:"Il Sole che compone ({bearing}° dalla direzione di mira, {altitude}° di altezza) non illumina la scena come la mostra l'immagine (da {from}° a {to}° dalla mira{altitudes}).",altitudes:", da {min}° a {max}° di altezza",latitude:"latitudine",longitude:"longitudine",bestFixed:"Configurazione più favorevole, calcolata: fermo nell'inquadratura e posto il più vicino al fenomeno per tutto il tempo, ne resta a {median}° in mediana, {max}° al massimo, per un fenomeno di {size}° che percorre {travel}°.",bestOneWay:"Configurazione più favorevole, calcolata: spinto in un solo senso (verso {direction}° dall'alto dell'inquadratura, in senso orario) e il più vicino al fenomeno, ne resta a {median}° in mediana, {max}° al massimo, per un fenomeno di {size}° che percorre {travel}°.",bestGhost:"Configurazione più favorevole, calcolata: un riflesso dell'obiettivo (fattore {k}) con il Sole dove il resoconto lo consente ({bearing}° dalla visuale, {altitude}° di altezza), resta a {median}° dal fenomeno in mediana, {max}° al massimo, per un fenomeno di {size}° che percorre {travel}°.",bestGhostNeeds:"Lasciando da parte l'illuminazione dell'immagine, il Sole più favorevole sarebbe a {bearing}° dalla visuale e {altitude}° di altezza (fattore {k}): il riflesso resterebbe a {median}° dal fenomeno in mediana, {max}° al massimo.",bestStatedGhost:"Configurazione più favorevole, calcolata: un riflesso di un'ottica posta davanti all'obiettivo, al fattore ({k}) e allo scostamento ({offset}°) che meglio lo collocano, il Sole a {bearing}° dalla visuale e {altitude}° di altezza, resta a {median}° dal fenomeno in mediana, {max}° al massimo, per un fenomeno di {size}° che percorre {travel}°.",bestNoGhost:"Configurazione più favorevole, calcolata: nessun Sole che il resoconto consenta è alla portata dell'obiettivo per tutto il tempo, che quindi non ne riceve alcun riflesso.",bestGhostOf:"Configurazione più favorevole, calcolata: un riflesso attraverso l'obiettivo (fattore {k}) della luce che la lettura colloca, dove la colloca, resta a {median}° dal fenomeno in mediana, {max}° al massimo, e percorre {ghostTravel}° quando il fenomeno di {size}° ne percorre {travel}°.",bestRealObject:"Configurazione più favorevole, calcolata: sulla sua linea di vista, è dove si trova il fenomeno in ogni istante, a qualsiasi distanza. A {distance} m, dove la lettura lo colloca, misurerebbe {width} m e andrebbe almeno a {speed} m/s di traverso rispetto alla linea di vista della telecamera; entrambi in proporzione alla distanza.",decimal:","};export{a as readingCheckTexts_it};
@@ -1 +0,0 @@
1
- import{P as y,p as k,W as h}from"./rr0-ufoathome.mjs";import{ScenarioSweep as j}from"./ScenarioSweep-BbtX26Fi.js";import"./ShareDialogElement-EzLob2Tz.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-HR8RFluQ.js";import"./ParameterForm-XbqxCLRn.js";import"./ColumnResize-CEXrq3KB.js";import"./InterviewAttachments-BP6Prvdu.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};
@@ -1 +0,0 @@
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-EzLob2Tz.js";import{S as y,C as $}from"./CaseEditorElement-HR8RFluQ.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-CEXrq3KB.js";import"./InterviewAttachments-BP6Prvdu.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};
@@ -1 +0,0 @@
1
- import{V as t,D as a}from"./VisualAids-DI-hEL46.js";const r={bodies:{sun:"Sun",moon:"Moon",Venus:"Venus",Mars:"Mars",Jupiter:"Jupiter",Saturn:"Saturn"},stars:{},comets:{},novae:{},satelliteClasses:{},showers:{},lightRigs:{airliner:"Airliner",helicopter:"Helicopter","car-headlights":"Car, headlights on","car-hazards":"Car, hazard flashers","emergency-beacons":"Emergency vehicle beacons","traffic-signal":"Traffic light","pedestrian-signal":"Pedestrian light",streetlamp:"Streetlamp"},instruments:{eye:"Naked eye","rectilinear-lens":"Camera, unknown device","roamer-1-120":"Roamer 1, 120 film","instamatic-126":"Instamatic, 126 film","cine-35mm-broadcast":"35 mm film camera, seen on television","slr-35mm-50":"35 mm SLR, 50 mm lens","slr-35mm-zoom":"35 mm SLR, 70-210 mm zoom","phone-landscape":"Phone, held sideways","phone-portrait":"Phone, held upright",dashcam:"Dashcam",cctv:"Security camera",...a.names(),...t.names()},decorKinds:{building:"Building",tree:"Tree",shrub:"Shrub",bridge:"Bridge",wire:"Overhead line",crop:"Crop row",terrace:"Terrace (restanque)",mound:"Stone heap",wall:"Dry-stone wall",streetlight:"Streetlight",trafficlight:"Traffic light",peak:"Peak",crossing:"Pedestrian crossing",roadsign:"Road sign",vehicle:"Vehicle",observer:"Observer",aircraft:"Aircraft",entity:"Being"},compassPoints:["N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSW","SW","WSW","W","WNW","NW","NNW"],towards:e=>`to the ${e}`,starTooltip:"{name} — mag {mag}, {alt}° above the horizon",starTooltipBelow:"{name} — mag {mag}, {alt}° below the horizontal",decorTooltip:"{name} — {size}, {distance} away",satelliteTooltip:"{name} — satellite, mag {mag}, {height} km up",afterimageTooltip:{name:"Afterimage, in the eye",detail:"{name}: where the image of a light brighter than the Sun fell, the retina's pigment is bleached: for a few seconds it goes on glowing, white then coloured, and then what is seen there looks darker. It stays where it is in the field of view whichever way the eye turns, and takes minutes to fade."},ghostTooltip:{ghost:"Ghost: {name}",halo:"Halo: {name}",double:"Double: {name}",unnamed:"a light",detail:"{name}. {cause}, {where}.",causes:{lens:"A reflection between two surfaces of the lens",sensor:"The sensor's reflection, sent back by its cover glass",filter:"The sensor's reflection, sent back by the filter",glass:"A reflection between the two faces of the glass in front of the lens",drops:"Light scattered by drops on the glass",condensation:"Light scattered by condensation on the glass",dirt:"Light scattered by dirt on the glass"},opposite:"across the centre of the picture from the light",sameSide:"on the same side of the centre as the light",around:"round the light",drop:{lens:"Drop on the lens",filter:"Drop on the filter",window:"Drop on the window",windscreen:"Drop on the windscreen"},dropDetail:"{name}. Like a small lens, it shows upside down and blurred what is on the other side of it, rather than what is behind it."},opticsTooltips:{halo22:"22° halo — a ring round the Sun, from light bent through hexagonal ice crystals in high cirrus; its inner edge is red, at 21.7°",halo46:"46° halo — a rarer, fainter ring: light entering a crystal by a side face and leaving by an end face",oddRadius:"{angle}° halo — an odd-radius ring, rare and faint, made by ice crystals with pyramid ends",parhelion:"Parhelion (sundog) — a bright coloured spot beside the Sun at its own height, from flat plates falling level; red toward the Sun",parhelion120:"120° parhelion — a faint white spot 120° from the Sun, from light reflected inside flat plates",upperTangentArc:"Upper tangent arc — a bright arc resting on top of the 22° halo, from columns lying level",lowerTangentArc:"Lower tangent arc — an arc touching the bottom of the 22° halo, from columns lying level",circumzenithal:"Circumzenithal arc — a vivid band of colour near the zenith, from light entering the top face of flat plates (only with the Sun under 32°)",circumhorizontal:"Circumhorizontal arc — a band of colour low in the sky, from light entering the side face of flat plates (only with the Sun over 58°)",parhelicCircle:"Parhelic circle — a white circle round the whole sky at the Sun's own height, from reflections on the vertical faces of flat plates",pillar:"Light pillar — a shaft of light standing above the Sun, from reflections off slightly tilted flat plates",subsun:"Subsun — a mirror image of the Sun below the horizon, from reflections off the flat faces of plates"},trafficTooltip:{unnamed:"Aircraft {hex}",altitude:"{value} ft",speed:"{value} kt",heading:"heading {value}°",position:"{distance} km away, {elevation}° above the horizon, {bearing}",heard:"Heard at {level} dB(A), left the aircraft {delay} s ago, {lag}° behind it: {character}{pitch}",rumble:"a low rumble, nothing above {cutoff} Hz",muffled:"a dull noise, nothing above {cutoff} Hz",broad:"a broad roar",pitchHigher:", pitch {percent} % higher",pitchLower:", pitch {percent} % lower",inaudible:"Not audible here: {level} dB(A) against {ambient} dB(A) of ambient noise",soundUnknown:"Its sound cannot be worked out: the aircraft was not recorded yet when it left",contrailPersistent:"Leaves a trail that lasts: the air is supersaturated over ice ({rhi} % over ice)",contrailShort:"Leaves a short-lived trail: the air is dry over ice ({rhi} % over ice)",military:"military",restricted:"identity withheld by its owner",candidate:"A compatible candidate, not an identification"},railwayTooltip:{kinds:{rail:"Railway",light_rail:"Light rail",tram:"Tramway",subway:"Metro",funicular:"Funicular"},highSpeed:"High-speed line",service:"Siding",singleTrack:"single track",tracks:"{count} tracks",overhead:"overhead wire {height} m above the rail",overheadVoltage:"overhead wire at {voltage}, {height} m above the rail",thirdRail:"third rail",thirdRailVoltage:"third rail at {voltage}",notElectrified:"not electrified",gauge:"{mm} mm gauge",metreGauge:"metre gauge",distance:"{distance} away"},credits:"Credits",notAVideo:"This is not a video",isASimulation:"It is a real-time simulation."};export{r as sceneNames_en};
@@ -1 +0,0 @@
1
- import{V as a,D as o}from"./VisualAids-DI-hEL46.js";const r={bodies:{sun:"Sol",moon:"Luna",Venus:"Venus",Mars:"Marte",Jupiter:"Júpiter",Saturn:"Saturno"},stars:{Sirius:"Sirio",Canopus:"Canopo",Arcturus:"Arturo",Capella:"Capela",Procyon:"Proción",Aldebaran:"Aldebarán",Spica:"Espiga",Pollux:"Pólux",Castor:"Cástor",Regulus:"Régulo"},comets:{"halley-1910":"cometa Halley","brooks-1911":"cometa Brooks","skjellerup-maristany-1927":"cometa Skjellerup-Maristany","de-kock-paraskevopoulos-1941":"cometa de Kock-Paraskevopoulos","southern-1947":"cometa austral","eclipse-1948":"cometa del eclipse","arend-roland-1957":"cometa Arend-Roland","mrkos-1957":"cometa Mrkos","seki-lines-1962":"cometa Seki-Lines","ikeya-seki-1965":"cometa Ikeya-Seki","bennett-1970":"cometa Bennett","white-ortiz-bolelli-1970":"cometa White-Ortiz-Bolelli","kohoutek-1973":"cometa Kohoutek","west-1976":"cometa West","iras-araki-alcock-1983":"cometa IRAS-Araki-Alcock","halley-1986":"cometa Halley","hyakutake-1996":"cometa Hyakutake","hale-bopp-1997":"cometa Hale-Bopp","mcnaught-2007":"cometa McNaught","lovejoy-2011":"cometa Lovejoy","panstarrs-2013":"cometa PANSTARRS","neowise-2020":"cometa NEOWISE","tsuchinshan-atlas-2024":"cometa Tsuchinshan-ATLAS"},novae:{"sn-1006":"supernova de 1006","sn-1054":"supernova de 1054","sn-1181":"supernova de 1181","sn-1572":"supernova de Tycho","sn-1604":"supernova de Kepler","t-crb-1866":"nova de la Corona Boreal 1866","t-aur-1891":"nova de Auriga 1891","gk-per-1901":"nova de Perseo 1901","dn-gem-1912":"nova de Géminis 1912","v603-aql-1918":"nova del Águila 1918","v476-cyg-1920":"nova del Cisne 1920","rr-pic-1925":"nova del Pintor 1925","dq-her-1934":"nova de Hércules 1934","cp-lac-1936":"nova del Lagarto 1936","cp-pup-1942":"nova de la Popa 1942","t-crb-1946":"nova de la Corona Boreal 1946","v446-her-1960":"nova de Hércules 1960","v533-her-1963":"nova de Hércules 1963","hr-del-1967":"nova del Delfín 1967","lv-vul-1968":"nova de la Zorra 1968","fh-ser-1970":"nova de la Serpiente 1970","v1500-cyg-1975":"nova del Cisne 1975","v842-cen-1986":"nova del Centauro 1986","sn-1987a":"supernova 1987A","v1974-cyg-1992":"nova del Cisne 1992","v382-vel-1999":"nova de las Velas 1999","v1494-aql-1999":"nova del Águila 1999","v4743-sgr-2002":"nova de Sagitario 2002","rs-oph-2006":"nova de Ofiuco 2006","v1280-sco-2007":"nova de Escorpio 2007","v339-del-2013":"nova del Delfín 2013","v1369-cen-2013":"nova del Centauro 2013","rs-oph-2021":"nova de Ofiuco 2021"},satelliteClasses:{echo:"los globos Echo","iridium-flares":"los destellos de los Iridium",iss:"la Estación Espacial Internacional","starlink-trains":"los trenes de Starlink"},showers:{quadrantids:"Cuadrántidas",lyrids:"Líridas de abril","eta-aquariids":"Eta Acuáridas","alpha-capricornids":"Alfa Capricórnidas","southern-delta-aquariids":"Delta Acuáridas del Sur",perseids:"Perseidas","southern-taurids":"Táuridas del Sur",draconids:"Dracónidas de octubre",orionids:"Oriónidas","northern-taurids":"Táuridas del Norte",leonids:"Leónidas",geminids:"Gemínidas",ursids:"Úrsidas"},lightRigs:{airliner:"Avión de pasajeros",helicopter:"Helicóptero","car-headlights":"Coche, faros encendidos","car-hazards":"Coche, luces de emergencia","emergency-beacons":"Rotativos de vehículo de emergencia","traffic-signal":"Semáforo","pedestrian-signal":"Semáforo peatonal",streetlamp:"Farola"},instruments:{eye:"A simple vista","rectilinear-lens":"Cámara, modelo desconocido","roamer-1-120":"Roamer 1, película 120","instamatic-126":"Instamatic, película 126","cine-35mm-broadcast":"Cámara de 35 mm, vista en televisión","slr-35mm-50":"Réflex 35 mm, objetivo 50 mm","slr-35mm-zoom":"Réflex 35 mm, zoom 70-210 mm","phone-landscape":"Teléfono, en horizontal","phone-portrait":"Teléfono, en vertical",dashcam:"Cámara de salpicadero",cctv:"Cámara de vigilancia",...o.names(),...a.names()},decorKinds:{building:"Edificio",tree:"Árbol",shrub:"Arbusto",bridge:"Puente",wire:"Línea aérea",crop:"Hilera de cultivo",terrace:"Bancal (terraza)",mound:"Montón de piedras",wall:"Muro de piedra seca",streetlight:"Farola",trafficlight:"Semáforo",peak:"Cumbre",crossing:"Paso de peatones",roadsign:"Señal de tráfico",vehicle:"Vehículo",observer:"Testigo",aircraft:"Aeronave",entity:"Ser"},compassPoints:["N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSO","SO","OSO","O","ONO","NO","NNO"],towards:e=>`al ${e}`,starTooltip:"{name} — mag {mag}, {alt}° sobre el horizonte",starTooltipBelow:"{name} — mag {mag}, {alt}° bajo la horizontal",decorTooltip:"{name} — {size}, a {distance}",satelliteTooltip:"{name} — satélite, mag {mag}, a {height} km de altitud",afterimageTooltip:{name:"Imagen remanente, en el ojo",detail:"{name}: donde cayó la imagen de una luz más brillante que el Sol, el pigmento de la retina está decolorado: durante unos segundos sigue brillando, blanca y luego de colores, y después lo que se ve allí parece más oscuro. Se queda en el mismo lugar del campo de visión hacia donde se gire la mirada, y tarda minutos en borrarse."},ghostTooltip:{ghost:"Reflejo: {name}",halo:"Halo: {name}",double:"Doble: {name}",unnamed:"una luz",detail:"{name}. {cause}, {where}.",causes:{lens:"Reflejo entre dos superficies del objetivo",sensor:"Reflejo del sensor devuelto por su vidrio protector",filter:"Reflejo del sensor devuelto por el filtro",glass:"Reflejo entre las dos caras del cristal delante del objetivo",drops:"Luz difundida por las gotas sobre el cristal",condensation:"Luz difundida por el vaho sobre el cristal",dirt:"Luz difundida por la suciedad sobre el cristal"},opposite:"al otro lado del centro de la imagen respecto a la luz",sameSide:"del mismo lado del centro que la luz",around:"alrededor de la luz",drop:{lens:"Gota en el objetivo",filter:"Gota en el filtro",window:"Gota en el cristal",windscreen:"Gota en el parabrisas"},dropDetail:"{name}. Como una pequeña lente, muestra al revés y desenfocado lo que hay al otro lado de ella, en lugar de lo que hay detrás."},opticsTooltips:{halo22:"Halo de 22° — un anillo alrededor del Sol, por luz desviada en cristales de hielo hexagonales de los cirros; su borde interior es rojo, a 21,7°",halo46:"Halo de 46° — un anillo más raro y débil: la luz entra por una cara lateral del cristal y sale por una cara del extremo",oddRadius:"Halo de {angle}° — un anillo de radio impar, raro y débil, hecho por cristales de hielo con extremos piramidales",parhelion:"Parhelio — una mancha brillante de colores junto al Sol, a su altura, por placas de hielo que caen planas; rojo hacia el Sol",parhelion120:"Parhelio de 120° — una mancha blanca débil a 120° del Sol, por luz reflejada dentro de placas planas",upperTangentArc:"Arco tangente superior — un arco brillante apoyado sobre el halo de 22°, por columnas tumbadas en horizontal",lowerTangentArc:"Arco tangente inferior — un arco que toca la base del halo de 22°, por columnas tumbadas en horizontal",circumzenithal:"Arco circuncenital — una banda de colores vivos cerca del cenit, por luz que entra por la cara superior de placas planas (solo con el Sol bajo 32°)",circumhorizontal:"Arco circunhorizontal — una banda de colores baja en el cielo, por luz que entra por la cara lateral de placas planas (solo con el Sol sobre 58°)",parhelicCircle:"Círculo parhélico — un círculo blanco alrededor de todo el cielo a la altura del Sol, por reflejos en las caras verticales de placas planas",pillar:"Pilar de luz — una columna de luz sobre el Sol, por reflejos en placas planas ligeramente inclinadas",subsun:"Subsol — una imagen del Sol bajo el horizonte, por reflejos en las caras planas de las placas"},trafficTooltip:{unnamed:"Aeronave {hex}",altitude:"{value} ft",speed:"{value} kt",heading:"rumbo {value}°",position:"a {distance} km, {elevation}° sobre el horizonte, {bearing}",heard:"Se oye a {level} dB(A), salió del avión hace {delay} s, {lag}° detrás de él: {character}{pitch}",rumble:"un rumor grave, nada por encima de {cutoff} Hz",muffled:"un ruido sordo, nada por encima de {cutoff} Hz",broad:"un rugido ancho",pitchHigher:", sonido {percent} % más agudo",pitchLower:", sonido {percent} % más grave",inaudible:"Inaudible aquí: {level} dB(A) frente a {ambient} dB(A) de ruido ambiente",soundUnknown:"Sonido no calculable: el avión aún no estaba registrado cuando salió",contrailPersistent:"Deja una estela que dura: el aire está sobresaturado respecto al hielo ({rhi} % respecto al hielo)",contrailShort:"Deja una estela breve: el aire está seco respecto al hielo ({rhi} % respecto al hielo)",military:"militar",restricted:"identidad oculta por su propietario",candidate:"Un candidato compatible, no una identificación"},railwayTooltip:{kinds:{rail:"Vía férrea",light_rail:"Metro ligero",tram:"Tranvía",subway:"Metro",funicular:"Funicular"},highSpeed:"Línea de alta velocidad",service:"Vía de servicio",singleTrack:"vía única",tracks:"{count} vías",overhead:"catenaria, hilo de contacto a {height} m sobre el carril",overheadVoltage:"catenaria a {voltage}, hilo de contacto a {height} m sobre el carril",thirdRail:"tercer carril",thirdRailVoltage:"tercer carril a {voltage}",notElectrified:"sin electrificar",gauge:"ancho de {mm} mm",metreGauge:"vía métrica",distance:"a {distance}"},credits:"Créditos",notAVideo:"Esto no es un vídeo",isASimulation:"Es una simulación en tiempo real."};export{r as sceneNames_es};
@@ -1 +0,0 @@
1
- import{V as a,D as r}from"./VisualAids-DI-hEL46.js";const i={bodies:{sun:"Soleil",moon:"Lune",Venus:"Vénus",Saturn:"Saturne"},stars:{Betelgeuse:"Bételgeuse",Vega:"Véga",Altair:"Altaïr",Aldebaran:"Aldébaran",Regulus:"Régulus",Antares:"Antarès"},comets:{"halley-1910":"comète de Halley","brooks-1911":"comète Brooks","skjellerup-maristany-1927":"comète Skjellerup-Maristany","de-kock-paraskevopoulos-1941":"comète de Kock-Paraskevopoulos","southern-1947":"comète australe","eclipse-1948":"comète de l'éclipse","arend-roland-1957":"comète Arend-Roland","mrkos-1957":"comète Mrkos","seki-lines-1962":"comète Seki-Lines","ikeya-seki-1965":"comète Ikeya-Seki","bennett-1970":"comète Bennett","white-ortiz-bolelli-1970":"comète White-Ortiz-Bolelli","kohoutek-1973":"comète Kohoutek","west-1976":"comète West","iras-araki-alcock-1983":"comète IRAS-Araki-Alcock","halley-1986":"comète de Halley","hyakutake-1996":"comète Hyakutake","hale-bopp-1997":"comète Hale-Bopp","mcnaught-2007":"comète McNaught","lovejoy-2011":"comète Lovejoy","panstarrs-2013":"comète PANSTARRS","neowise-2020":"comète NEOWISE","tsuchinshan-atlas-2024":"comète Tsuchinshan-ATLAS"},novae:{"sn-1006":"supernova de 1006","sn-1054":"supernova de 1054","sn-1181":"supernova de 1181","sn-1572":"supernova de Tycho","sn-1604":"supernova de Kepler","t-crb-1866":"nova de la Couronne boréale 1866","t-aur-1891":"nova du Cocher 1891","gk-per-1901":"nova de Persée 1901","dn-gem-1912":"nova des Gémeaux 1912","v603-aql-1918":"nova de l'Aigle 1918","v476-cyg-1920":"nova du Cygne 1920","rr-pic-1925":"nova du Peintre 1925","dq-her-1934":"nova d'Hercule 1934","cp-lac-1936":"nova du Lézard 1936","cp-pup-1942":"nova de la Poupe 1942","t-crb-1946":"nova de la Couronne boréale 1946","v446-her-1960":"nova d'Hercule 1960","v533-her-1963":"nova d'Hercule 1963","hr-del-1967":"nova du Dauphin 1967","lv-vul-1968":"nova du Petit Renard 1968","fh-ser-1970":"nova du Serpent 1970","v1500-cyg-1975":"nova du Cygne 1975","v842-cen-1986":"nova du Centaure 1986","sn-1987a":"supernova 1987A","v1974-cyg-1992":"nova du Cygne 1992","v382-vel-1999":"nova des Voiles 1999","v1494-aql-1999":"nova de l'Aigle 1999","v4743-sgr-2002":"nova du Sagittaire 2002","rs-oph-2006":"nova d'Ophiuchus 2006","v1280-sco-2007":"nova du Scorpion 2007","v339-del-2013":"nova du Dauphin 2013","v1369-cen-2013":"nova du Centaure 2013","rs-oph-2021":"nova d'Ophiuchus 2021"},satelliteClasses:{echo:"les ballons Echo","iridium-flares":"les flashes d'Iridium",iss:"la Station spatiale internationale","starlink-trains":"les trains de Starlink"},showers:{quadrantids:"Quadrantides",lyrids:"Lyrides d'avril","eta-aquariids":"Êta Aquarides","alpha-capricornids":"Alpha Capricornides","southern-delta-aquariids":"Delta Aquarides du Sud",perseids:"Perséides","southern-taurids":"Taurides du Sud",draconids:"Draconides d'octobre",orionids:"Orionides","northern-taurids":"Taurides du Nord",leonids:"Léonides",geminids:"Géminides",ursids:"Ursides"},lightRigs:{airliner:"Avion de ligne",helicopter:"Hélicoptère","car-headlights":"Voiture, phares allumés","car-hazards":"Voiture, feux de détresse","emergency-beacons":"Gyrophares de véhicule d'urgence","traffic-signal":"Feu de circulation","pedestrian-signal":"Feu piéton",streetlamp:"Lampadaire"},instruments:{eye:"Œil nu","rectilinear-lens":"Appareil, modèle inconnu","roamer-1-120":"Roamer 1, film 120","instamatic-126":"Instamatic, film 126","cine-35mm-broadcast":"Caméra 35 mm, vue à la télévision","slr-35mm-50":"Reflex 35 mm, objectif 50 mm","slr-35mm-zoom":"Reflex 35 mm, zoom 70-210 mm","phone-landscape":"Téléphone, tenu couché","phone-portrait":"Téléphone, tenu debout",dashcam:"Caméra de tableau de bord",cctv:"Caméra de surveillance",...r.names(),...a.names()},decorKinds:{building:"Bâtiment",tree:"Arbre",shrub:"Buisson",bridge:"Pont",wire:"Ligne aérienne",crop:"Rang de culture",terrace:"Restanque (terrasse)",mound:"Tas de pierres",wall:"Muret de pierres sèches",streetlight:"Lampadaire",trafficlight:"Feu de circulation",peak:"Sommet",crossing:"Passage piéton",roadsign:"Panneau de signalisation",vehicle:"Véhicule",observer:"Témoin",aircraft:"Aéronef",entity:"Être"},compassPoints:["N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSO","SO","OSO","O","ONO","NO","NNO"],towards:e=>/^[EO]/.test(e)?`à l'${e}`:`au ${e}`,starTooltip:"{name} — mag {mag}, {alt}° au-dessus de l'horizon",starTooltipBelow:"{name} — mag {mag}, {alt}° sous l'horizontale",decorTooltip:"{name} — {size}, à {distance}",satelliteTooltip:"{name} — satellite, mag {mag}, à {height} km d'altitude",afterimageTooltip:{name:"Image rémanente, dans l'œil",detail:"{name} : là où est tombée l'image d'une lumière plus brillante que le Soleil, le pigment de la rétine est décoloré : quelques secondes elle luit encore, blanche puis colorée, puis ce qu'on y voit paraît plus sombre. Elle reste à la même place dans le champ de vision, où que se tourne le regard, et met des minutes à s'effacer."},ghostTooltip:{ghost:"Reflet : {name}",halo:"Halo : {name}",double:"Double : {name}",unnamed:"une lumière",detail:"{name}. {cause}, {where}.",causes:{lens:"Reflet entre deux surfaces de l'objectif",sensor:"Reflet du capteur renvoyé par sa vitre de protection",filter:"Reflet du capteur renvoyé par le filtre",glass:"Reflet entre les deux faces de la vitre devant l'objectif",drops:"Lumière diffusée par les gouttes sur le verre",condensation:"Lumière diffusée par la buée sur le verre",dirt:"Lumière diffusée par la saleté sur le verre"},opposite:"à l'opposé de la lumière par rapport au centre de l'image",sameSide:"du même côté du centre que la lumière",around:"autour de la lumière",drop:{lens:"Goutte sur l'objectif",filter:"Goutte sur le filtre",window:"Goutte sur la vitre",windscreen:"Goutte sur le pare-brise"},dropDetail:"{name}. Comme une petite lentille, elle montre à l'envers et flou ce qu'il y a de l'autre côté d'elle, au lieu de ce qui est derrière."},opticsTooltips:{halo22:"Halo de 22° — un anneau autour du Soleil, dû à la lumière déviée par des cristaux de glace hexagonaux dans les cirrus ; son bord interne est rouge, à 21,7°",halo46:"Halo de 46° — un anneau plus rare et plus faible : la lumière entre par une face latérale d'un cristal et sort par une face de bout",oddRadius:"Halo de {angle}° — un anneau à rayon impair, rare et faible, dû à des cristaux de glace à bouts pyramidaux",parhelion:"Parhélie — une tache brillante colorée à côté du Soleil, à sa hauteur, due à des plaquettes de glace tombant à plat ; rouge côté Soleil",parhelion120:"Parhélie à 120° — une faible tache blanche à 120° du Soleil, due à la lumière réfléchie à l'intérieur de plaquettes à plat",upperTangentArc:"Arc tangent supérieur — un arc brillant posé sur le haut du halo de 22°, dû à des colonnes couchées à l'horizontale",lowerTangentArc:"Arc tangent inférieur — un arc touchant le bas du halo de 22°, dû à des colonnes couchées à l'horizontale",circumzenithal:"Arc circumzénithal — une bande vivement colorée près du zénith, due à la lumière entrant par la face du dessus de plaquettes à plat (seulement Soleil sous 32°)",circumhorizontal:"Arc circumhorizontal — une bande colorée basse dans le ciel, due à la lumière entrant par la face latérale de plaquettes à plat (seulement Soleil au-dessus de 58°)",parhelicCircle:"Cercle parhélique — un cercle blanc faisant tout le tour du ciel à la hauteur du Soleil, dû aux reflets sur les faces verticales de plaquettes à plat",pillar:"Pilier de lumière — une colonne de lumière dressée au-dessus du Soleil, due aux reflets sur des plaquettes à plat légèrement inclinées",subsun:"Sous-soleil — une image du Soleil sous l'horizon, due aux reflets sur les faces plates de plaquettes"},trafficTooltip:{unnamed:"Aéronef {hex}",altitude:"{value} ft",speed:"{value} kt",heading:"cap {value}°",position:"à {distance} km, {elevation}° au-dessus de l'horizon, {bearing}",heard:"Entendu à {level} dB(A), parti de l'avion il y a {delay} s, {lag}° derrière lui : {character}{pitch}",rumble:"un grondement grave, rien au-delà de {cutoff} Hz",muffled:"un bruit sourd, rien au-delà de {cutoff} Hz",broad:"un souffle large",pitchHigher:", son plus aigu de {percent} %",pitchLower:", son plus grave de {percent} %",inaudible:"Inaudible ici : {level} dB(A) contre {ambient} dB(A) de bruit ambiant",soundUnknown:"Son non calculable : l'avion n'était pas encore enregistré quand il est parti",contrailPersistent:"Laisse une traînée qui dure : l'air est sursaturé en glace ({rhi} % par rapport à la glace)",contrailShort:"Laisse une traînée brève : l'air est sec par rapport à la glace ({rhi} % par rapport à la glace)",military:"militaire",restricted:"identité masquée par son propriétaire",candidate:"Un candidat compatible, pas une identification"},railwayTooltip:{kinds:{rail:"Voie ferrée",light_rail:"Métro léger",tram:"Tramway",subway:"Métro",funicular:"Funiculaire"},highSpeed:"Ligne à grande vitesse",service:"Voie de service",singleTrack:"voie unique",tracks:"{count} voies",overhead:"caténaire, fil de contact à {height} m au-dessus du rail",overheadVoltage:"caténaire en {voltage}, fil de contact à {height} m au-dessus du rail",thirdRail:"troisième rail",thirdRailVoltage:"troisième rail en {voltage}",notElectrified:"non électrifiée",gauge:"écartement de {mm} mm",metreGauge:"voie métrique",distance:"à {distance}"},credits:"Crédits",notAVideo:"Ceci n'est pas une vidéo",isASimulation:"C'est une simulation en temps réel."};export{i as sceneNames_fr};
@@ -1 +0,0 @@
1
- import{V as a,D as o}from"./VisualAids-DI-hEL46.js";const l={bodies:{sun:"Sole",moon:"Luna",Venus:"Venere",Mars:"Marte",Jupiter:"Giove",Saturn:"Saturno"},stars:{Sirius:"Sirio",Canopus:"Canopo",Arcturus:"Arturo",Procyon:"Procione",Pollux:"Polluce",Castor:"Castore",Regulus:"Regolo"},comets:{"halley-1910":"cometa di Halley","brooks-1911":"cometa Brooks","skjellerup-maristany-1927":"cometa Skjellerup-Maristany","de-kock-paraskevopoulos-1941":"cometa de Kock-Paraskevopoulos","southern-1947":"cometa australe","eclipse-1948":"cometa dell'eclisse","arend-roland-1957":"cometa Arend-Roland","mrkos-1957":"cometa Mrkos","seki-lines-1962":"cometa Seki-Lines","ikeya-seki-1965":"cometa Ikeya-Seki","bennett-1970":"cometa Bennett","white-ortiz-bolelli-1970":"cometa White-Ortiz-Bolelli","kohoutek-1973":"cometa Kohoutek","west-1976":"cometa West","iras-araki-alcock-1983":"cometa IRAS-Araki-Alcock","halley-1986":"cometa di Halley","hyakutake-1996":"cometa Hyakutake","hale-bopp-1997":"cometa Hale-Bopp","mcnaught-2007":"cometa McNaught","lovejoy-2011":"cometa Lovejoy","panstarrs-2013":"cometa PANSTARRS","neowise-2020":"cometa NEOWISE","tsuchinshan-atlas-2024":"cometa Tsuchinshan-ATLAS"},novae:{"sn-1006":"supernova del 1006","sn-1054":"supernova del 1054","sn-1181":"supernova del 1181","sn-1572":"supernova di Tycho","sn-1604":"supernova di Keplero","t-crb-1866":"nova della Corona Boreale 1866","t-aur-1891":"nova dell'Auriga 1891","gk-per-1901":"nova di Perseo 1901","dn-gem-1912":"nova dei Gemelli 1912","v603-aql-1918":"nova dell'Aquila 1918","v476-cyg-1920":"nova del Cigno 1920","rr-pic-1925":"nova del Pittore 1925","dq-her-1934":"nova di Ercole 1934","cp-lac-1936":"nova della Lucertola 1936","cp-pup-1942":"nova della Poppa 1942","t-crb-1946":"nova della Corona Boreale 1946","v446-her-1960":"nova di Ercole 1960","v533-her-1963":"nova di Ercole 1963","hr-del-1967":"nova del Delfino 1967","lv-vul-1968":"nova della Volpetta 1968","fh-ser-1970":"nova del Serpente 1970","v1500-cyg-1975":"nova del Cigno 1975","v842-cen-1986":"nova del Centauro 1986","sn-1987a":"supernova 1987A","v1974-cyg-1992":"nova del Cigno 1992","v382-vel-1999":"nova delle Vele 1999","v1494-aql-1999":"nova dell'Aquila 1999","v4743-sgr-2002":"nova del Sagittario 2002","rs-oph-2006":"nova di Ofiuco 2006","v1280-sco-2007":"nova dello Scorpione 2007","v339-del-2013":"nova del Delfino 2013","v1369-cen-2013":"nova del Centauro 2013","rs-oph-2021":"nova di Ofiuco 2021"},satelliteClasses:{echo:"i palloni Echo","iridium-flares":"i lampi degli Iridium",iss:"la Stazione Spaziale Internazionale","starlink-trains":"i treni di Starlink"},showers:{quadrantids:"Quadrantidi",lyrids:"Liridi di aprile","eta-aquariids":"Eta Aquaridi","alpha-capricornids":"Alfa Capricornidi","southern-delta-aquariids":"Delta Aquaridi australi",perseids:"Perseidi","southern-taurids":"Tauridi australi",draconids:"Draconidi di ottobre",orionids:"Orionidi","northern-taurids":"Tauridi boreali",leonids:"Leonidi",geminids:"Geminidi",ursids:"Ursidi"},lightRigs:{airliner:"Aereo di linea",helicopter:"Elicottero","car-headlights":"Auto, fari accesi","car-hazards":"Auto, luci di emergenza","emergency-beacons":"Lampeggianti di veicolo di soccorso","traffic-signal":"Semaforo","pedestrian-signal":"Semaforo pedonale",streetlamp:"Lampione"},instruments:{eye:"Occhio nudo","rectilinear-lens":"Fotocamera, modello sconosciuto","roamer-1-120":"Roamer 1, pellicola 120","instamatic-126":"Instamatic, pellicola 126","cine-35mm-broadcast":"Cinepresa 35 mm, vista in televisione","slr-35mm-50":"Reflex 35 mm, obiettivo 50 mm","slr-35mm-zoom":"Reflex 35 mm, zoom 70-210 mm","phone-landscape":"Telefono, in orizzontale","phone-portrait":"Telefono, in verticale",dashcam:"Dashcam",cctv:"Telecamera di sorveglianza",...o.names(),...a.names()},decorKinds:{building:"Edificio",tree:"Albero",shrub:"Arbusto",bridge:"Ponte",wire:"Linea aerea",crop:"Filare di coltura",terrace:"Terrazzamento",mound:"Mucchio di pietre",wall:"Muretto a secco",streetlight:"Lampione",trafficlight:"Semaforo",peak:"Vetta",crossing:"Attraversamento pedonale",roadsign:"Segnale stradale",vehicle:"Veicolo",observer:"Testimone",aircraft:"Aeromobile",entity:"Essere"},compassPoints:["N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSO","SO","OSO","O","ONO","NO","NNO"],towards:e=>`verso ${e}`,starTooltip:"{name} — mag {mag}, {alt}° sopra l'orizzonte",starTooltipBelow:"{name} — mag {mag}, {alt}° sotto l'orizzontale",decorTooltip:"{name} — {size}, a {distance}",satelliteTooltip:"{name} — satellite, mag {mag}, a {height} km di quota",afterimageTooltip:{name:"Immagine residua, nell'occhio",detail:"{name}: dove è caduta l'immagine di una luce più brillante del Sole, il pigmento della retina è sbiadito: per qualche secondo continua a brillare, bianca e poi colorata, poi ciò che vi si vede appare più scuro. Resta nello stesso punto del campo visivo ovunque si volga lo sguardo, e impiega minuti a svanire."},ghostTooltip:{ghost:"Riflesso: {name}",halo:"Alone: {name}",double:"Doppio: {name}",unnamed:"una luce",detail:"{name}. {cause}, {where}.",causes:{lens:"Riflesso tra due superfici dell'obiettivo",sensor:"Riflesso del sensore rimandato dal suo vetro protettivo",filter:"Riflesso del sensore rimandato dal filtro",glass:"Riflesso tra le due facce del vetro davanti all'obiettivo",drops:"Luce diffusa dalle gocce sul vetro",condensation:"Luce diffusa dalla condensa sul vetro",dirt:"Luce diffusa dallo sporco sul vetro"},opposite:"dall'altra parte del centro dell'immagine rispetto alla luce",sameSide:"dallo stesso lato del centro della luce",around:"attorno alla luce",drop:{lens:"Goccia sull'obiettivo",filter:"Goccia sul filtro",window:"Goccia sul vetro",windscreen:"Goccia sul parabrezza"},dropDetail:"{name}. Come una piccola lente, mostra capovolto e sfocato ciò che c'è dall'altra parte di essa, invece di ciò che c'è dietro."},opticsTooltips:{halo22:"Alone di 22° — un anello attorno al Sole, dovuto alla luce deviata da cristalli di ghiaccio esagonali nei cirri; il bordo interno è rosso, a 21,7°",halo46:"Alone di 46° — un anello più raro e debole: la luce entra da una faccia laterale del cristallo ed esce da una faccia di estremità",oddRadius:"Alone di {angle}° — un anello a raggio dispari, raro e debole, prodotto da cristalli di ghiaccio con estremità piramidali",parhelion:"Parelio — una macchia luminosa colorata accanto al Sole, alla sua altezza, da lastrine di ghiaccio che cadono piatte; rosso verso il Sole",parhelion120:"Parelio di 120° — una debole macchia bianca a 120° dal Sole, da luce riflessa dentro lastrine piatte",upperTangentArc:"Arco tangente superiore — un arco luminoso appoggiato sull'alone di 22°, da colonne coricate in orizzontale",lowerTangentArc:"Arco tangente inferiore — un arco che tocca la base dell'alone di 22°, da colonne coricate in orizzontale",circumzenithal:"Arco circumzenitale — una banda di colori vivi vicino allo zenit, da luce che entra dalla faccia superiore di lastrine piatte (solo con il Sole sotto i 32°)",circumhorizontal:"Arco circumorizzontale — una banda colorata bassa nel cielo, da luce che entra dalla faccia laterale di lastrine piatte (solo con il Sole sopra i 58°)",parhelicCircle:"Cerchio parelico — un cerchio bianco attorno a tutto il cielo all'altezza del Sole, da riflessi sulle facce verticali di lastrine piatte",pillar:"Colonna di luce — un fascio di luce sopra il Sole, da riflessi su lastrine piatte leggermente inclinate",subsun:"Sotto-sole — un'immagine del Sole sotto l'orizzonte, da riflessi sulle facce piatte delle lastrine"},trafficTooltip:{unnamed:"Aeromobile {hex}",altitude:"{value} ft",speed:"{value} kt",heading:"prua {value}°",position:"a {distance} km, {elevation}° sopra l'orizzonte, {bearing}",heard:"Si sente a {level} dB(A), partito dall'aereo {delay} s fa, {lag}° dietro di esso: {character}{pitch}",rumble:"un rombo grave, nulla oltre {cutoff} Hz",muffled:"un rumore sordo, nulla oltre {cutoff} Hz",broad:"un fragore ampio",pitchHigher:", suono più acuto del {percent} %",pitchLower:", suono più grave del {percent} %",inaudible:"Non si sente qui: {level} dB(A) contro {ambient} dB(A) di rumore ambientale",soundUnknown:"Suono non calcolabile: l'aereo non era ancora registrato quando è partito",contrailPersistent:"Lascia una scia che dura: l'aria è sovrasatura rispetto al ghiaccio ({rhi} % rispetto al ghiaccio)",contrailShort:"Lascia una scia breve: l'aria è secca rispetto al ghiaccio ({rhi} % rispetto al ghiaccio)",military:"militare",restricted:"identità nascosta dal proprietario",candidate:"Un candidato compatibile, non un'identificazione"},railwayTooltip:{kinds:{rail:"Ferrovia",light_rail:"Metropolitana leggera",tram:"Tranvia",subway:"Metropolitana",funicular:"Funicolare"},highSpeed:"Linea ad alta velocità",service:"Binario di servizio",singleTrack:"binario unico",tracks:"{count} binari",overhead:"linea aerea, filo di contatto a {height} m sopra la rotaia",overheadVoltage:"linea aerea a {voltage}, filo di contatto a {height} m sopra la rotaia",thirdRail:"terza rotaia",thirdRailVoltage:"terza rotaia a {voltage}",notElectrified:"non elettrificata",gauge:"scartamento di {mm} mm",metreGauge:"scartamento metrico",distance:"a {distance}"},credits:"Crediti",notAVideo:"Questo non è un video",isASimulation:"È una simulazione in tempo reale."};export{l as sceneNames_it};
@@ -1 +0,0 @@
1
- import{D as Y,V as q}from"./VisualAids-DI-hEL46.js";import{L as Z,J as Q,P as ee}from"./rr0-ufoathome.mjs";class E{static ISO=/^P(?:(\d+(?:[.,]\d+)?)W)?(?:(\d+(?:[.,]\d+)?)D)?(?:T(?:(\d+(?:[.,]\d+)?)H)?(?:(\d+(?:[.,]\d+)?)M)?(?:(\d+(?:[.,]\d+)?)S)?)?$/;static seconds(e){const t=e.trim().toUpperCase(),s=E.ISO.exec(t);if(!s||t==="P"||t.endsWith("T"))return;const[,n,i,o,a,c]=s,d=u=>u===void 0?0:Number(u.replace(",",".")),h=d(n)*604800+d(i)*86400+d(o)*3600+d(a)*60+d(c);return Number.isFinite(h)?h:void 0}static parse(e){let t=e.trim();if(t==="")return;const s=t.slice(-1),n="?~%".includes(s)?s:"";n!==""&&(t=t.slice(0,-1).trim());const i=t.split("/");if(i.length>2)return;const o=i.map(u=>E.seconds(u));if(o.some(u=>u===void 0))return;const[a,c]=o,d=Math.min(a,c??a),h=Math.max(a,c??a);return{doubt:n,minSeconds:d,maxSeconds:h,chosenSeconds:(d+h)/2}}static isExact(e){const t=E.parse(e);return t!==void 0&&t.doubt===""&&t.minSeconds===t.maxSeconds}static format(e){const t=Math.max(0,Math.round(e*10)/10),s=Math.floor(t/3600),n=Math.floor(t%3600/60),i=Math.round(t%60*10)/10;return`PT${`${s>0?`${s}H`:""}${n>0?`${n}M`:""}${i>0||s===0&&n===0?`${i}S`:""}`}`}static say(e){const t=Math.round(e*10)/10;if(t<60)return`${t} s`;const s=Math.floor(t/3600),n=Math.floor(t%3600/60),i=Math.round(t%60*10)/10,o=[];return s>0&&o.push(`${s} h`),n>0&&o.push(`${n} min`),i>0&&o.push(`${i} s`),o.join(" ")}}class L{static MOON_ANGULAR_WIDTH_DEG=.5237;static CANVAS_WIDTH_PX=640;static CANVAS_HEIGHT_PX=360;static angularWidthDeg(e){return 2*Math.atan(e.sizeM/(2*e.distanceM))*180/Math.PI}static inMoons(e){return e/L.MOON_ANGULAR_WIDTH_DEG}static lerpAngular(e,t,s){if(!(!e||!t))return{widthDeg:e.widthDeg+(t.widthDeg-e.widthDeg)*s,heightDeg:e.heightDeg+(t.heightDeg-e.heightDeg)*s}}static sizeMAt(e,t){return 2*e*Math.tan(t*Math.PI/360)}static distanceMAt(e,t){return e/(2*Math.tan(t*Math.PI/360))}}function te(r,e,t){if(!r||!e)return t<1?r:e;const s=((e.azimuthDeg-r.azimuthDeg)%360+540)%360-180;return{azimuthDeg:((r.azimuthDeg+s*t)%360+360)%360,altitudeDeg:r.altitudeDeg+(e.altitudeDeg-r.altitudeDeg)*t}}function se(r,e="#39ff14"){return{kind:"oval",bounds:r,color:e,angle:0,transparency:0,haloScale:0,selected:!1}}function ne(r,e,t="#39ff14"){return{kind:"polygon",bounds:r,points:e,color:t,angle:0,transparency:0,haloScale:0,selected:!1}}function re(r,e="#39ff14"){const{width:t,height:s}=r;return ne(r,[{x:0,y:0},{x:t,y:0},{x:t,y:s},{x:0,y:s}],e)}const ie={oval:se,polygon:re};function Ee(r,e){return{...ie[e.presetId](r,e.color),transparency:e.transparency,haloScale:e.haloScale,blur:e.blur,brightness:e.brightness}}function oe(r,e,t){const{bounds:s}=r;return e>=s.x&&e<=s.x+s.width&&t>=s.y&&t<=s.y+s.height}function Ne(r,e,t){const s=r.bounds.width,n=r.bounds.height;return{...r,bounds:{x:e-s/2,y:t-n/2,width:s,height:n}}}function v(r,e,t){return r+(e-r)*t}function G(r){const e=/^#([0-9a-f]{6})$/i.exec(r);if(!e)return;const t=parseInt(e[1],16);return[t>>16&255,t>>8&255,t&255]}function ae(r){return`#${r.map(e=>Math.round(e).toString(16).padStart(2,"0")).join("")}`}function de(r,e,t){const s=G(r),n=G(e);return!s||!n?t<1?r:e:ae([v(s[0],n[0],t),v(s[1],n[1],t),v(s[2],n[2],t)])}function ce(r,e,t){const s={x:v(r.bounds.x,e.bounds.x,t),y:v(r.bounds.y,e.bounds.y,t),width:v(r.bounds.width,e.bounds.width,t),height:v(r.bounds.height,e.bounds.height,t)},n=v(r.angle,e.angle,t),i=v(r.transparency,e.transparency,t),o=v(r.haloScale,e.haloScale,t),a=v(r.blur??0,e.blur??0,t),c=v(r.brightness??0,e.brightness??0,t),d=de(r.color,e.color,t),h=L.lerpAngular(r.angular,e.angular,t),u=te(r.aim,e.aim,t);return r.kind==="polygon"&&e.kind==="polygon"&&r.points.length===e.points.length?{...r,bounds:s,angle:n,transparency:i,haloScale:o,blur:a,brightness:c,color:d,angular:h,aim:u,points:r.points.map((p,m)=>({x:v(p.x,e.points[m].x,t),y:v(p.y,e.points[m].y,t)}))}:{...t<1?r:e,bounds:s,angle:n,transparency:i,haloScale:o,blur:a,brightness:c,color:d,angular:h,aim:u}}class w{static DEFAULT_COLOR="#e8e6df";static complete(e,t=[]){const s=new Map;return e.map((n,i)=>({keyframe:n,index:i})).sort((n,i)=>n.keyframe.t-i.keyframe.t).map(({keyframe:n,index:i})=>({t:n.t,shapes:(n.shapes??[]).map((o,a)=>{const c=`timeline.keyframes.${i}.shapes.${a}.shape`,d=w.completed(o,s.get(o.sourceId),c,t);return s.set(o.sourceId,d),{sourceId:o.sourceId,shape:d}})}))}static thin(e,t){const s=new Map,n=new Set;return e.map((i,o)=>({t:i.t,shapes:i.shapes.map(a=>{const c=s.get(a.sourceId);if(s.set(a.sourceId,a.shape),!c)return{sourceId:a.sourceId,shape:a.shape};const d=w.thinned(a.shape,c);if(t){const h=d;t(o,a.sourceId)?(delete h.bounds,delete h.points,n.add(a.sourceId)):n.delete(a.sourceId)&&(h.bounds=a.shape.bounds,a.shape.kind==="polygon"&&(h.points=a.shape.points),a.shape.aim&&(h.aim=a.shape.aim),a.shape.angular&&(h.angular=a.shape.angular))}return{sourceId:a.sourceId,shape:d}})}))}static thinned(e,t){const s=t,n={};for(const[i,o]of Object.entries(e))(typeof o=="object"&&o!==null&&!Array.isArray(o)&&"value"in o||o!==s[i]&&JSON.stringify(o)!==JSON.stringify(s[i]))&&(n[i]=o);return"bounds"in n&&(e.aim&&(n.aim=e.aim),e.angular&&(n.angular=e.angular)),n}static completed(e,t,s,n){const i=e.shape??{},o=t??w.firstAppearance(i,s,n),a={...o};i.bounds&&t&&(t.aim||t.angular)&&!i.aim&&!i.angular&&n.push({kind:"pixels-over-angles",path:s}),i.bounds&&(i.aim||delete a.aim,i.angular||delete a.angular);const c=i.kind??o.kind??"oval",d={...a,...i,kind:c};if(c==="polygon"&&!d.points){n.push({kind:"defaulted",path:`${s}.points`,expected:"rectangle"});const{width:h,height:u}=d.bounds;return{...d,points:[{x:0,y:0},{x:h,y:0},{x:h,y:u},{x:0,y:u}]}}return d}static firstAppearance(e,t,s){return e.kind||s.push({kind:"defaulted",path:`${t}.kind`,expected:'"oval"'}),e.color||s.push({kind:"defaulted",path:`${t}.color`,expected:`"${w.DEFAULT_COLOR}"`}),!e.bounds&&!e.aim&&s.push({kind:"unplaced",path:t}),!e.bounds&&!e.angular&&s.push({kind:"unsized",path:t}),{kind:e.kind??"oval",bounds:{...w.NEUTRAL_BOUNDS},color:w.DEFAULT_COLOR,angle:0,transparency:0,haloScale:0,selected:!1}}static NEUTRAL_BOUNDS={x:L.CANVAS_WIDTH_PX/2,y:L.CANVAS_HEIGHT_PX/2,width:1,height:1}}class B{keyframes=[];order=[];groups=[];span=0;addKeyframe(e,t){const s=this.findInsertIndex(e);if(this.keyframes[s]?.t===e){const n=new Set(t.map(i=>i.sourceId));this.keyframes[s]={t:e,shapes:[...this.keyframes[s].shapes.filter(i=>!n.has(i.sourceId)),...t]}}else this.keyframes.splice(s,0,{t:e,shapes:[...t]});for(const n of t)this.order.includes(n.sourceId)||this.order.push(n.sourceId)}findInsertIndex(e){let t=0,s=this.keyframes.length;for(;t<s;){const n=t+s>>>1;this.keyframes[n].t<e?t=n+1:s=n}return t}getKeyframeAt(e){const t=this.findInsertIndex(e),s=this.keyframes[t];return s?.t===e?s:void 0}getShapeAt(e,t){return this.getKeyframeAt(e)?.shapes.find(s=>s.sourceId===t)?.shape}getLatestShapeAt(e,t){let s=this.findInsertIndex(e);for(this.keyframes[s]?.t!==e&&(s-=1);s>=0;s--){const n=this.keyframes[s].shapes.find(i=>i.sourceId===t);if(n)return n.shape}}getInterpolatedShapeAt(e,t){const s=this.findShapeAtOrBefore(e,t);if(s?.t===e)return s.shape;const n=this.findShapeAtOrAfter(e,t);return s?n?ce(s.shape,n.shape,(e-s.t)/(n.t-s.t)):s.shape:n?.shape}findShapeAtOrBefore(e,t){let s=this.findInsertIndex(e);for(this.keyframes[s]?.t!==e&&(s-=1);s>=0;s--){const n=this.keyframes[s].shapes.find(i=>i.sourceId===t);if(n)return{t:this.keyframes[s].t,shape:n.shape}}}findShapeAtOrAfter(e,t){for(let s=this.findInsertIndex(e);s<this.keyframes.length;s++){const n=this.keyframes[s].shapes.find(i=>i.sourceId===t);if(n)return{t:this.keyframes[s].t,shape:n.shape}}}hitTest(e,t,s,n){const i=this.sourceIds;for(let o=i.length-1;o>=0;o--){if(n?.has(i[o]))continue;const a=this.getInterpolatedShapeAt(e,i[o]);if(a&&oe(a,t,s))return{sourceId:i[o],shape:a}}}removeSource(e){for(let t=this.keyframes.length-1;t>=0;t--){const s=this.keyframes[t].shapes.filter(n=>n.sourceId!==e);s.length===0?this.keyframes.splice(t,1):s.length!==this.keyframes[t].shapes.length&&(this.keyframes[t]={t:this.keyframes[t].t,shapes:s})}this.order=this.order.filter(t=>t!==e),this.removeFromGroup(e)}removeShapeAt(e,t){const s=this.findInsertIndex(e),n=this.keyframes[s];if(n?.t!==e)return;const i=n.shapes.filter(o=>o.sourceId!==t);i.length===0?this.keyframes.splice(s,1):i.length!==n.shapes.length&&(this.keyframes[s]={t:e,shapes:i})}group(e,t){const s=new Set(e),n=[];for(const o of e){const a=this.topOf(o),c=a!==o&&this.leavesOf(a).every(d=>s.has(d))?a:o;c===o&&a!==o&&this.removeFromGroup(o),n.includes(c)||n.push(c)}if(n.length<2)return;const i=t??this.freshGroupId();return this.groups.push({id:i,members:n}),i}ungroup(e){const t=this.topOf(e);t!==e&&(this.groups=this.groups.filter(s=>s.id!==t))}groupMembers(e){const t=this.topOf(e);return t===e?void 0:this.leavesOf(t)}get allGroups(){return this.groups}setGroups(e,t=!0){this.groups=e.map(s=>({...s,members:[...s.members]})),t&&this.pruneGroups()}groupOf(e){return this.groups.find(t=>t.id===e)}leavesOf(e,t=new Set){const s=this.groupOf(e);return s?t.has(e)?[]:(t.add(e),s.members.flatMap(n=>this.leavesOf(n,t))):[e]}parentOf(e){return this.groups.find(t=>t.members.includes(e))}topOf(e){let t=e;for(let s=this.parentOf(t),n=0;s&&n<100;s=this.parentOf(t),n++)t=s.id;return t}freshGroupId(){for(let e=this.groups.length+1;;e++){const t=`group-${e}`;if(!this.groupOf(t)&&!this.order.includes(t))return t}}removeFromGroup(e){const t=this.parentOf(e);t&&(t.members=t.members.filter(s=>s!==e),this.collapse())}pruneGroups(){const e=t=>this.order.includes(t)||this.groupOf(t)!==void 0;for(const t of this.groups)t.members=t.members.filter(e);this.collapse()}collapse(){for(let e=this.groups.find(t=>t.members.length<2);e;e=this.groups.find(t=>t.members.length<2)){const t=e;this.groups=this.groups.filter(s=>s!==t);for(const s of this.groups)s.members=s.members.flatMap(n=>n===t.id?t.members:[n])}}bringToFront(e){const t=this.order.indexOf(e);t!==-1&&(this.order.splice(t,1),this.order.push(e))}sendToBack(e){const t=this.order.indexOf(e);t!==-1&&(this.order.splice(t,1),this.order.unshift(e))}get duration(){const e=this.keyframes.length===0?0:this.keyframes[this.keyframes.length-1].t;return Math.max(e,this.span)}get hasSpan(){return this.span>0}setSpan(e){this.span=Math.max(0,e)}get sourceIds(){return[...this.order]}get allKeyframes(){return this.keyframes}toJSON(){return this.span>0?{keyframes:this.keyframes,order:this.order,groups:this.groupsJson(),span:this.span}:{keyframes:this.keyframes,order:this.order,groups:this.groupsJson()}}groupsJson(){return this.groups.map(e=>({...e,members:[...e.members]}))}static fromJSON(e,t,s=!0){const n=new B;for(const i of w.complete(e.keyframes??[],t))n.addKeyframe(i.t,i.shapes);if(e.span!==void 0&&e.span>0&&(n.span=e.span),e.order){const i=n.order.filter(o=>!e.order.includes(o));n.order=[...e.order,...i]}return e.groups&&(n.groups=e.groups.filter(i=>typeof i?.id=="string"&&Array.isArray(i.members)).map(i=>({...i,members:[...i.members]})),s&&n.pruneGroups()),n}}function he(r,e,t){return Math.max(e,Math.min(t,r))}function ue(r,e,t){const s=((e-r)%360+540)%360-180;return((r+s*t)%360+360)%360}function b(r,e,t){return r+(e-r)*t}function le(r,e,t){return{lat:r.lat===void 0||e.lat===void 0?void 0:b(r.lat,e.lat,t),lng:r.lng===void 0||e.lng===void 0?void 0:b(r.lng,e.lng,t),elevationM:b(r.elevationM,e.elevationM,t),...r.altitudeM!==void 0&&e.altitudeM!==void 0?{altitudeM:b(r.altitudeM,e.altitudeM,t)}:{},headingDeg:r.headingDeg===void 0||e.headingDeg===void 0?void 0:ue(r.headingDeg,e.headingDeg,t),pitchDeg:b(r.pitchDeg,e.pitchDeg,t),rollDeg:b(r.rollDeg??0,e.rollDeg??0,t),fovDeg:b(r.fovDeg,e.fovDeg,t),fNumber:r.fNumber,focusDistanceM:r.focusDistanceM,filter:r.filter}}class y{static at(e,t,s,n,i){const o=e[s],c=e[s+1]-o;if(c<=0)return t[s];const d=y.tangent(e,t,s,i),h=y.tangent(e,t,s+1,i),u=(n-o)/c,p=u*u,m=p*u;return(2*m-3*p+1)*t[s]+(m-2*p+u)*c*d+(-2*m+3*p)*t[s+1]+(m-p)*c*h}static SETTLE_MS=120;static ARRIVAL=.5;static gaze(e,t,s,n){const i=e[s],a=e[s+1]-i;if(a<=0)return t[s];const c=h=>h+1<t.length?t[h+1]===t[h]:!0,d=t[s+1]!==t[s];if(d&&c(s+1)){const h=y.tangent(e,t,s,!0),u=y.ARRIVAL*(t[s+1]-t[s])/a;return y.hermite(t[s],h,t[s+1],u,a,(n-i)/a)}return!d&&s>0&&t[s-1]!==t[s]?t[s]+y.settle(e,t,s,n-i,a):y.at(e,t,s,n,!0)}static settle(e,t,s,n,i){const o=e[s]-e[s-1];if(o<=0||n<=0)return 0;const a=y.ARRIVAL*(t[s]-t[s-1])/o,c=Math.min(y.SETTLE_MS,.4*o),d=Number.isFinite(i)?(1-Math.min(1,n/i))**2:1;return a*n*Math.exp(-n/c)*d}static hermite(e,t,s,n,i,o){const a=o*o,c=a*o;return(2*c-3*a+1)*e+(c-2*a+o)*i*t+(-2*c+3*a)*s+(c-a)*i*n}static BRAKE_S=.8;static paced(e,t,s,n){if(!s&&!n)return e;const i=t>0?Math.min(.5,y.BRAKE_S/t):.5;if(s&&n){const a=1/(1-i);return e<=i?a*e*e/(2*i):e>=1-i?1-a*(1-e)*(1-e)/(2*i):a*(e-i/2)}const o=a=>{const c=1/(1-i/2);if(a<=1-i)return c*a;const d=a-(1-i);return c*(1-i)+c*(d-d*d/(2*i))};return n?o(e):1-o(1-e)}static tangent(e,t,s,n){const i=e.length-1,o=m=>(t[m+1]-t[m])/(e[m+1]-e[m]||1);if(s===0)return n?0:o(0);if(s===i)return n?0:o(i-1);const a=o(s-1),c=o(s);if(a*c<=0)return 0;const d=e[s]-e[s-1],h=e[s+1]-e[s],u=2*h+d,p=h+2*d;return(u+p)/(u/a+p/c)}}class U{keyframes=[];addKeyframe(e,t,s){const n=this.findInsertIndex(e),i=this.keyframes[n]?.t===e?this.keyframes[n]:void 0,a=s??i?.viewOnly?{t:e,pose:t,viewOnly:!0}:{t:e,pose:t};i?this.keyframes[n]=a:this.keyframes.splice(n,0,a)}setViewOnly(e,t){const s=this.findInsertIndex(e),n=this.keyframes[s];n?.t===e&&(this.keyframes[s]=t?{...n,viewOnly:!0}:{t:n.t,pose:n.pose})}turnIsViewOnly(e,t){if(this.keyframes.length===0)return!1;const s=Math.max(0,this.findInsertIndex(e)-(this.keyframes[this.findInsertIndex(e)]?.t===e?0:1));for(let n=s;n<this.keyframes.length;n++){const i=this.keyframes[n];if(i.viewOnly)return!0;if(i.t>=t)break}return!1}clear(){this.keyframes.length=0}removeKeyframeAt(e){const t=this.findInsertIndex(e);this.keyframes[t]?.t===e&&this.keyframes.splice(t,1)}findInsertIndex(e){let t=0,s=this.keyframes.length;for(;t<s;){const n=t+s>>>1;this.keyframes[n].t<e?t=n+1:s=n}return t}getLatestPoseAt(e){let t=this.findInsertIndex(e);return this.keyframes[t]?.t!==e&&(t-=1),t>=0?this.keyframes[t].pose:void 0}getInterpolatedPoseAt(e){const t=this.findInsertIndex(e),s=this.keyframes[t]?.t===e?this.keyframes[t]:this.keyframes[t-1];if(s?.t===e)return s.pose;const n=this.keyframes[t]?.t===e?void 0:this.keyframes[t];if(!s)return n?.pose;if(!n)return this.settledAfterEnd(t-1,e);const i=le(s.pose,n.pose,he((e-s.t)/(n.t-s.t),0,1));return this.humanly(t-1,e,i)}settledAfterEnd(e,t){const s=this.keyframes[e];if(e<1)return s.pose;const n=this.keyframes[e-1],i=[n.t,s.t],o=(h,u)=>h===void 0||u===void 0?0:y.settle(i,[h,u],1,t-s.t,1/0),a=n.pose.headingDeg===void 0||s.pose.headingDeg===void 0?void 0:((s.pose.headingDeg-n.pose.headingDeg)%360+540)%360-180,c=s.pose.headingDeg===void 0||a===void 0?s.pose.headingDeg:((s.pose.headingDeg+o(0,a))%360+360)%360,d=s.pose.pitchDeg+o(n.pose.pitchDeg,s.pose.pitchDeg);return c===s.pose.headingDeg&&d===s.pose.pitchDeg?s.pose:{...s.pose,headingDeg:c,pitchDeg:d}}humanly(e,t,s){const n=Math.max(0,e-1),i=Math.min(this.keyframes.length-1,e+2),o=this.keyframes.slice(n,i+1),a=e-n,c=o.map(l=>l.t),d=(l,g)=>{const S=o.map(C=>l(C.pose));if(!S.some(C=>C===void 0))return y.at(c,S,a,t,g)},h=l=>{const g=o.map(S=>l(S.pose));if(!g.some(S=>S===void 0))return y.gaze(c,g,a,t)},u=o.map(l=>l.pose.headingDeg);let p;if(u.every(l=>l!==void 0)){const l=[u[0]];for(let g=1;g<u.length;g++)l.push(l[g-1]+((u[g]-u[g-1])%360+540)%360-180);p=(y.gaze(c,l,a,t)%360+360)%360}const m=this.keyframes[e],k=this.keyframes[e+1],I=(l,g)=>l.lat===g.lat&&l.lng===g.lng&&l.elevationM===g.elevationM,x=!I(m.pose,k.pose),R=x&&e>0&&I(this.keyframes[e-1].pose,m.pose),O=x&&e+2<this.keyframes.length&&I(k.pose,this.keyframes[e+2].pose);let M;if(R||O){const l=y.paced((t-m.t)/(k.t-m.t),(k.t-m.t)/1e3,R,O),g=(S,C)=>S===void 0||C===void 0?void 0:S+(C-S)*l;M={lat:g(m.pose.lat,k.pose.lat),lng:g(m.pose.lng,k.pose.lng),elevationM:g(m.pose.elevationM,k.pose.elevationM)}}return{...s,lat:M?M.lat:d(l=>l.lat,!1)??s.lat,lng:M?M.lng:d(l=>l.lng,!1)??s.lng,elevationM:M?M.elevationM:d(l=>l.elevationM,!1)??s.elevationM,headingDeg:p??s.headingDeg,pitchDeg:h(l=>l.pitchDeg)??s.pitchDeg,rollDeg:d(l=>l.rollDeg??0,!0)??s.rollDeg,fovDeg:d(l=>l.fovDeg,!0)??s.fovDeg}}get duration(){return this.keyframes.length===0?0:this.keyframes[this.keyframes.length-1].t}get allKeyframes(){return this.keyframes}toJSON(){return{keyframes:this.keyframes}}static fromJSON(e){const t=new U;for(const s of e.keyframes)t.addKeyframe(s.t,s.pose,s.viewOnly);return t}}class A{static MAX_CHANGE_PER_S=.05;points;followed;constructor(e){let t="none",s=0;this.points=e.map(({t:n,weather:i})=>(i.precipitationType!=="none"&&(t=i.precipitationType,s=i.precipitationIntensity),{t:n,lastFalling:t,lastFallingIntensity:s,intensity:i.precipitationType==="none"?0:i.precipitationIntensity,type:i.precipitationType})),this.followed=[];for(let n=0;n<this.points.length;n++){if(n===0){this.followed.push(this.points[0].intensity);continue}const i=this.points[n-1],o=this.points[n];this.followed.push(A.follow(this.followed[n-1],i.intensity,o.intensity,(o.t-i.t)/1e3,(o.t-i.t)/1e3))}}at(e){if(this.points.length===0||e<this.points[0].t)return;let t=this.points.length-1;for(;t>0&&this.points[t].t>e;)t--;const s=this.points[t],n=this.points[t+1],i=n?A.follow(this.followed[t],s.intensity,n.intensity,(n.t-s.t)/1e3,(e-s.t)/1e3):A.follow(this.followed[t],s.intensity,s.intensity,1,(e-s.t)/1e3);return{type:A.typeBetween(s,n,e,i),intensity:i,character:A.characterBetween(s,n,e)}}static characterBetween(e,t,s){return e.type==="none"?t&&t.type!=="none"?t.intensity:e.lastFallingIntensity:!t||t.type==="none"?e.intensity:e.intensity+(t.intensity-e.intensity)*(s-e.t)/(t.t-e.t||1)}static typeBetween(e,t,s,n){return e.type==="none"?t&&t.type!=="none"&&s>e.t?t.type:n>0?e.lastFalling:"none":t&&t.type==="none"&&n<=0?"none":e.type}static follow(e,t,s,n,i){const o=A.MAX_CHANGE_PER_S,a=n>0?(s-t)/n:0,c=u=>t+a*Math.min(Math.max(u,0),n);let d=e,h=0;for(let u=0;u<8&&h<i;u++){const p=c(h)-d;if(Math.abs(p)<1e-9){const M=h<n?a:0;if(Math.abs(M)<=o){const g=h<n?Math.min(i,n):i;d=c(g),h=g;continue}const l=Math.min(i,n);d+=Math.sign(M)*o*(l-h),h=l;continue}const m=Math.sign(p),k=h<n?a:0,I=o-m*k,x=I>0?h+Math.abs(p)/I:1/0,R=h<n?n:1/0,O=Math.min(i,x,R);d+=m*o*(O-h),h=O,O===x&&(d=c(h))}return Math.min(1,Math.max(0,d))}}const fe=1e3,Le=.65,Re=.05,$={cloudCover:0,cloudDarkness:0,precipitationType:"none",precipitationIntensity:0,windDirectionDeg:0,windSpeed:0,storm:!1};function H(r){if(r.cloudLayers!==void 0)return r.cloudLayers;const e=[],t=r.lowerCloudCover??r.cloudCover;return t>0&&e.push({id:"lower",type:"cumulus",baseM:r.cloudBaseM??fe,thicknessM:650,coverage:t,sizeM:1400,density:1,darkness:r.cloudDarkness}),(r.highCloudCover??0)>0&&e.push({id:"cirrus",type:"cirrus",baseM:8e3,thicknessM:400,coverage:r.highCloudCover,sizeM:2200,density:.35,darkness:r.cloudDarkness,iceCrystalAlignment:r.iceCrystalAlignment}),e}function f(r,e,t){return r+(e-r)*t}function _(r,e,t){const s=((e-r)%360+540)%360-180;return((r+s*t)%360+360)%360}function me(r,e,t){return Math.max(e,Math.min(t,r))}function pe(r=[],e=[],t){if(!(!r.length&&!e.length))return[...new Set([...r.map(s=>s.id),...e.map(s=>s.id)])].map(s=>{const n=r.find(c=>c.id===s),i=e.find(c=>c.id===s),o=n??{...i,density:0},a=i??{...n,density:0};return{...o,eastM:f(o.eastM,a.eastM,t),northM:f(o.northM,a.northM,t),baseM:f(o.baseM,a.baseM,t),thicknessM:f(o.thicknessM,a.thicknessM,t),widthM:f(o.widthM,a.widthM,t),depthM:f(o.depthM,a.depthM,t),rotationDeg:_(o.rotationDeg,a.rotationDeg,t),density:f(o.density,a.density,t),darkness:f(o.darkness??0,a.darkness??0,t)}})}function ge(r,e,t){if(r.cloudLayers===void 0&&e.cloudLayers===void 0)return;const s=H(r),n=H(e);return t>=1?n.map(o=>({...o})):[...new Set([...s.map(o=>o.id),...n.map(o=>o.id)])].map(o=>{const a=s.find(u=>u.id===o),c=n.find(u=>u.id===o),d=a??{...c,coverage:0},h=c??{...a,coverage:0};return{...d,instances:pe(a?.instances,c?.instances,t),baseM:f(d.baseM,h.baseM,t),thicknessM:f(d.thicknessM,h.thicknessM,t),coverage:f(d.coverage,h.coverage,t),sizeM:f(d.sizeM,h.sizeM,t),density:f(d.density,h.density,t),darkness:f(d.darkness??r.cloudDarkness,h.darkness??e.cloudDarkness,t),iceCrystalAlignment:d.iceCrystalAlignment===void 0||h.iceCrystalAlignment===void 0?void 0:f(d.iceCrystalAlignment,h.iceCrystalAlignment,t),windSpeed:d.windSpeed===void 0&&h.windSpeed===void 0?void 0:f(d.windSpeed??r.windSpeed,h.windSpeed??e.windSpeed,t),windDirectionDeg:d.windDirectionDeg===void 0&&h.windDirectionDeg===void 0?void 0:_(d.windDirectionDeg??r.windDirectionDeg,h.windDirectionDeg??e.windDirectionDeg,t)}})}function ye(r,e,t){return{cloudLayers:ge(r,e,t),cloudCover:f(r.cloudCover,e.cloudCover,t),cloudDarkness:f(r.cloudDarkness,e.cloudDarkness,t),highCloudCover:r.highCloudCover===void 0||e.highCloudCover===void 0?void 0:f(r.highCloudCover,e.highCloudCover,t),iceCrystalAlignment:r.iceCrystalAlignment===void 0||e.iceCrystalAlignment===void 0?void 0:f(r.iceCrystalAlignment,e.iceCrystalAlignment,t),rareIceCrystals:r.rareIceCrystals===void 0||e.rareIceCrystals===void 0?void 0:f(r.rareIceCrystals,e.rareIceCrystals,t),lowerCloudCover:r.lowerCloudCover===void 0||e.lowerCloudCover===void 0?void 0:f(r.lowerCloudCover,e.lowerCloudCover,t),cloudBaseM:r.cloudBaseM===void 0||e.cloudBaseM===void 0?void 0:f(r.cloudBaseM,e.cloudBaseM,t),relativeHumidity:r.relativeHumidity===void 0||e.relativeHumidity===void 0?void 0:f(r.relativeHumidity,e.relativeHumidity,t),visibilityKm:r.visibilityKm===void 0||e.visibilityKm===void 0?void 0:f(r.visibilityKm,e.visibilityKm,t),precipitationType:t<1?r.precipitationType:e.precipitationType,precipitationIntensity:f(r.precipitationIntensity,e.precipitationIntensity,t),windDirectionDeg:_(r.windDirectionDeg,e.windDirectionDeg,t),windSpeed:f(r.windSpeed,e.windSpeed,t),storm:t<1?r.storm:e.storm}}class K{keyframes=[];ramp;addKeyframe(e,t){this.ramp=void 0;const s=this.findInsertIndex(e);this.keyframes[s]?.t===e?this.keyframes[s]={t:e,weather:t}:this.keyframes.splice(s,0,{t:e,weather:t})}clear(){this.ramp=void 0,this.keyframes.length=0}removeKeyframeAt(e){this.ramp=void 0;const t=this.findInsertIndex(e);this.keyframes[t]?.t===e&&this.keyframes.splice(t,1)}findInsertIndex(e){let t=0,s=this.keyframes.length;for(;t<s;){const n=t+s>>>1;this.keyframes[n].t<e?t=n+1:s=n}return t}getLatestWeatherAt(e){let t=this.findInsertIndex(e);return this.keyframes[t]?.t!==e&&(t-=1),t>=0?this.keyframes[t].weather:void 0}getInterpolatedWeatherAt(e){const t=this.findInsertIndex(e),s=this.keyframes[t]?.t===e?this.keyframes[t]:this.keyframes[t-1];if(s?.t===e)return s.weather;const n=this.keyframes[t]?.t===e?void 0:this.keyframes[t];return s?n?ye(s.weather,n.weather,me((e-s.t)/(n.t-s.t),0,1)):s.weather:n?.weather}getActualWeatherAt(e){const t=this.getInterpolatedWeatherAt(e);if(!t)return;const s=(this.ramp??=new A(this.keyframes)).at(e);if(!s)return t;const{type:n,intensity:i,character:o}=s,a=o>0?Math.min(1,i/o):n==="none"?0:1;return{...t,precipitationType:n,precipitationIntensity:o,precipitationAmount:a}}get duration(){return this.keyframes.length===0?0:this.keyframes[this.keyframes.length-1].t}get allKeyframes(){return this.keyframes}toJSON(){return{keyframes:this.keyframes}}static fromJSON(e){const t=new K;for(const s of e.keyframes)t.addKeyframe(s.t,{...$,...s.weather});return t}}class z{keyframes=[];addKeyframe(e,t){const s=this.findInsertIndex(e);this.keyframes[s]?.t===e?this.keyframes[s]={t:e,sound:t}:this.keyframes.splice(s,0,{t:e,sound:t})}clear(){this.keyframes.length=0}removeKeyframeAt(e){const t=this.findInsertIndex(e);this.keyframes[t]?.t===e&&this.keyframes.splice(t,1)}getLatestSoundAt(e){let t=this.findInsertIndex(e);return this.keyframes[t]?.t!==e&&(t-=1),t>=0?this.keyframes[t].sound:void 0}getInterpolatedSoundAt(e){const t=this.findInsertIndex(e),s=this.keyframes[t]?.t===e?this.keyframes[t]:this.keyframes[t-1];if(s?.t===e)return s.sound;const n=this.keyframes[t]?.t===e?void 0:this.keyframes[t];if(!s)return n?.sound;if(!n)return s.sound;const i=(e-s.t)/(n.t-s.t);return this.lerp(s.sound,n.sound,Math.max(0,Math.min(1,i)))}get duration(){return this.keyframes.length===0?0:this.keyframes[this.keyframes.length-1].t}get allKeyframes(){return this.keyframes}toJSON(){return{keyframes:this.keyframes}}static fromJSON(e){const t=new z;for(const s of e.keyframes)t.addKeyframe(s.t,s.sound);return t}lerp(e,t,s){return{kind:s<1?e.kind:t.kind,volume:e.volume+(t.volume-e.volume)*s,pitchHz:e.pitchHz+(t.pitchHz-e.pitchHz)*s,src:s<1?e.src:t.src}}findInsertIndex(e){let t=0,s=this.keyframes.length;for(;t<s;){const n=t+s>>>1;this.keyframes[n].t<e?t=n+1:s=n}return t}}const Pe=["none","hum","whistle","rumble","crackle"],ve=100,ke={kind:"none",volume:0,pitchHz:ve};class N{static MAX_SPECKS=4;static BROADCAST_35MM={framesPerSecond:24,contrast:1.6,tint:[.99,.98,.92],softness:1.6/480,specksPerFrame:1.15,speckRadius:1.6/480,speckRadiusMax:4.5/480,weave:[.25/640,.6/480],grain:.008};static hash(e,t){const s=Math.sin(e*127.1+t*311.7)*43758.5453;return s-Math.floor(s)}static frameAt(e,t){return Math.floor(t*e.framesPerSecond/1e3)}static frame(e,t){const s=a=>N.hash(t,a),n=a=>(s(a)+s(a+1)+s(a+2)-1.5)*2,i=Math.min(1,e.specksPerFrame/N.MAX_SPECKS),o=[];for(let a=0;a<N.MAX_SPECKS;a++){const c=10+a*6;if(s(c)>=i)continue;const d=s(c+3)**3;o.push({u:s(c+1),v:s(c+2),radius:e.speckRadius*.6+d*(e.speckRadiusMax-e.speckRadius*.6),kept:.25+.4*s(c+4)})}return{weave:[n(1)*e.weave[0],n(4)*e.weave[1]],specks:o,seed:s(7)}}}const P=[{id:"eye",category:"eye",name:"Naked eye",projection:"equidistant",stabilization:.97},{id:"rectilinear-lens",category:"camera",name:"Camera, unknown device",projection:"rectilinear",fNumber:8,fNumberRange:{min:2,max:22},exposureSeconds:1/250,exposureRangeSeconds:{min:1/1e3,max:8},apertureBlades:6},{id:"roamer-1-120",filmFormat:"120",category:"camera",name:"Roamer 1, 120 film",projection:"rectilinear",frame:{widthMm:74,heightMm:60,focalLengthMm:100},fNumber:11,exposureSeconds:1/50,years:{from:1930,to:1965},detailUm:40,medium:{kind:"negative",iso:125}},{id:"instamatic-126",filmFormat:"126",category:"camera",name:"Instamatic, 126 film",projection:"rectilinear",frame:{widthMm:28,heightMm:28,focalLengthMm:43},fNumber:11,exposureSeconds:1/90,years:{from:1963,to:1988},apertureBlades:5,detailUm:20,medium:{kind:"negative",iso:64}},{id:"slr-35mm-50",filmFormat:"135",category:"camera",name:"35 mm SLR, 50 mm lens",projection:"rectilinear",frame:{widthMm:36,heightMm:24,focalLengthMm:50},fNumber:8,fNumberRange:{min:2,max:16},exposureSeconds:1/250,exposureRangeSeconds:{min:1/1e3,max:3600},years:{from:1959},apertureBlades:6,detailUm:20,medium:{kind:"negative",iso:100}},{id:"cine-35mm-broadcast",filmFormat:"35mm-cine",category:"camera",name:"35 mm film camera, seen on television",projection:"rectilinear",frame:{widthMm:21.3,heightMm:16,focalLengthMm:50,focalRangeMm:{minMm:18,maxMm:300}},fNumber:11,fNumberRange:{min:2,max:22},exposureSeconds:1/48,exposureRangeSeconds:{min:1/96,max:1/24},years:{from:1950,to:1995},apertureBlades:6,detailUm:15,medium:{kind:"negative",iso:100,print:N.BROADCAST_35MM}},{id:"slr-35mm-zoom",filmFormat:"135",category:"camera",name:"35 mm SLR, 70-210 mm zoom",projection:"rectilinear",frame:{widthMm:36,heightMm:24,focalLengthMm:135,focalRangeMm:{minMm:70,maxMm:210}},fNumber:8,fNumberRange:{min:4,max:22},exposureSeconds:1/250,exposureRangeSeconds:{min:1/1e3,max:3600},apertureBlades:8,years:{from:1975},detailUm:20,medium:{kind:"negative",iso:100}},{id:"phone-landscape",category:"phone",name:"Phone, held sideways",projection:"rectilinear",frame:{widthMm:7.6,heightMm:5.7,focalLengthMm:5.7},fNumber:1.8,exposureSeconds:1/120,exposureRangeSeconds:{min:1/8e3,max:10},years:{from:2007},apertureBlades:void 0,detailUm:1.4,medium:{kind:"sensor",iso:100,autoExposure:!0,maxIso:3200,metering:"highlights",development:"computational"}},{id:"phone-portrait",category:"phone",name:"Phone, held upright",projection:"rectilinear",frame:{widthMm:5.7,heightMm:7.6,focalLengthMm:5.7},fNumber:1.8,exposureSeconds:1/120,exposureRangeSeconds:{min:1/8e3,max:10},years:{from:2007},apertureBlades:void 0,detailUm:1.4,medium:{kind:"sensor",iso:100,autoExposure:!0,maxIso:3200,metering:"highlights",development:"computational"}},{id:"dashcam",mounted:!0,category:"video",name:"Dashcam",projection:"equidistant",frame:{widthMm:5.76,heightMm:3.24,focalLengthMm:3.2},fNumber:2,exposureSeconds:1/30,exposureRangeSeconds:{min:1/1e4,max:1/30},years:{from:2008},apertureBlades:void 0,detailUm:3,medium:{kind:"sensor",iso:100,autoExposure:!0,maxIso:1600,metering:"average",exposureFollowMs:500}},{id:"cctv",mounted:!0,category:"video",name:"Security camera",projection:"rectilinear",frame:{widthMm:4.8,heightMm:3.6,focalLengthMm:3.6},fNumber:2,exposureSeconds:1/50,exposureRangeSeconds:{min:1/1e5,max:1/50},years:{from:1990},apertureBlades:void 0,detailUm:6,medium:{kind:"sensor",iso:100,autoExposure:!0,maxIso:1600,metering:"average",exposureFollowMs:500}},...Y.instruments(),...q.instruments()];class D{static get default(){return P[0]}static byId(e){return P.find(t=>t.id===e)??this.default}static UNAIDED_FIELD_DEG=60;static UNAIDED_ASPECT=16/9;static fieldOfViewDeg(e){const t=e.frame;return t?D.fieldOf(e.projection,t.heightMm,t.focalLengthMm):e.visualAid?.trueFieldDeg??D.UNAIDED_FIELD_DEG}static fieldOf(e,t,s){return(e==="equidistant"?t/s:2*Math.atan(t/(2*s)))*180/Math.PI}static aspectOf(e){const t=e.frame;return t?t.widthMm/t.heightMm:D.UNAIDED_ASPECT}static frameWidthPx(e,t){return Math.round(t*D.aspectOf(e))}static CATEGORIES=["eye","camera","dslr","phone","video","binoculars","telescope"];static unavailability(e,t){const s=e.years;if(!(t===void 0||!s)){if(t<s.from)return{kind:"before",from:s.from};if(s.to!==void 0&&t>s.to)return{kind:"after",to:s.to}}}static availableAt(e){return e===void 0?P:P.filter(t=>!t.years||e>=t.years.from&&(t.years.to===void 0||e<=t.years.to))}static fieldOfViewDegAt(e,t){const s=e.frame;if(!(!s||t<=0))return D.fieldOf(e.projection,s.heightMm,t)}static focalLengthMmFor(e,t){const s=e.frame;if(!(!s||t<=0||t>=180))return e.projection==="equidistant"?s.heightMm/(t*Math.PI/180):s.heightMm/(2*Math.tan(t*Math.PI/360))}static bladesShowing(e,t){if(e.apertureBlades===void 0)return 0;const s=t??e.fNumber,n=e.fNumberRange?.min;if(s===void 0||n===void 0)return 1;const i=Math.max(0,Math.min(1,(s/n-1)/.3));return i*i*(3-2*i)}static starPointsOf(e,t){const s=e.apertureBlades;return s===void 0||s<3||D.bladesShowing(e,t)<.5?0:s%2===0?s:s*2}}const V=["spring","summer","autumn","winter"],F=21,Me=32,Se=/^(?<hour>[01]?\d|2[0-3]):(?<minute>[0-5]\d)(?::(?<second>[0-5]\d))?[?~%]?$/;let De;function Ie(){return De??=new Q}function T(r){return typeof r?.value=="number"?r.value:void 0}function Fe(r){const e=r.trim();if(/^\d{1,2}:/.test(e)){const o=Se.exec(e)?.groups;return o?{year:void 0,month:void 0,day:void 0,hour:Number(o.hour),minute:Number(o.minute),second:o.second?Number(o.second):void 0,raw:e}:void 0}let t;try{t=Z.fromString(e,Ie())}catch{return}const s=T(t.year),n=T(t.month),i=n!==void 0&&n>=F&&n<=Me;if(!(t.timeshift||s!==void 0&&Math.abs(s)>9999)&&!(n!==void 0&&n>12&&!i)&&!(i&&(t.day||t.hour)))return{year:s,month:i?void 0:n,...i?{season:V[(n-F)%4]}:{},day:T(t.day),hour:T(t.hour),minute:T(t.minute),second:T(t.second),raw:e}}function Be(r){if(r.raw!==void 0)return r.raw;if(r.year===void 0){if(r.hour===void 0)return"";let t=`${String(r.hour).padStart(2,"0")}:${String(r.minute??0).padStart(2,"0")}`;return r.second!==void 0&&(t+=`:${String(r.second).padStart(2,"0")}`),t}let e=String(r.year).padStart(4,"0");return r.season!==void 0?`${e}-${F+V.indexOf(r.season)}`:(r.month===void 0||(e+=`-${String(r.month).padStart(2,"0")}`,r.day===void 0)||(e+=`-${String(r.day).padStart(2,"0")}`,r.hour===void 0)||(e+=`T${String(r.hour).padStart(2,"0")}:${String(r.minute??0).padStart(2,"0")}`,r.second!==void 0&&(e+=`:${String(r.second).padStart(2,"0")}`)),e)}function W(r){if(r.year!==void 0)return Date.UTC(r.year,(r.month??1)-1,r.day??1,r.hour??0,r.minute??0,r.second??0)}function J(r){return(((r.day??0)*24+(r.hour??0))*60+(r.minute??0))*6e4+(r.second??0)*1e3}const we=["year","month","day","hour","minute"],Ae=["day","hour","minute"];function j(r,e){return e.filter(t=>r[t]!==void 0).join(",")}function xe(r){if(r.durationSeconds!==void 0)return r.durationSeconds*1e3;const e=r.durationText===void 0?void 0:E.parse(r.durationText);if(e)return e.chosenSeconds*1e3;if(!r.time||!r.endTime)return;const t=r.time.year!==void 0&&r.endTime.year!==void 0,s=t?we:Ae,n=j(r.time,s);if(!(n===""||n!==j(r.endTime,s)))return t?W(r.endTime)-W(r.time):J(r.endTime)-J(r.time)}function Ue(r){if(r.durationSeconds===void 0&&!(!r.time||!r.endTime))return xe(r)===void 0?"imprecise":void 0}class X{constructor(e,t,s,n,i,o,a,c,d=[],h,u,p,m=[],k=[],I=[],x=[]){this.event=e,this.timeline=t,this.observerTrack=s,this.weatherTrack=n,this.soundTrack=i,this.observer=o,this.id=a,this.weather=c,this.decor=d,this.weatherSource=h,this.instrumentId=u,this.exposureSeconds=p,this.milestones=m,this.references=k,this.roads=I,this.traces=x}provenance=ee.empty();loadIssues=[];account;sources;interpretation;variants=[];skyEvents;skySources;snapshots;modules;sway;lightPollution;around;observerMap;iso;film;metering;lens;lighting;vehicle;events;eventsExpansion;sampleMs;get observerCount(){return 1+this.decor.filter(e=>e.kind==="observer").length}get exposure(){return this.exposureSeconds??this.instrument.exposureSeconds}get instrument(){return D.byId(this.instrumentId)}static create(e,t,s){return new X({eventType:"sighting",time:e,place:t},new B,new U,new K,new z,s)}}const be=0,Oe=0;function $e(r,e){const t=r.observerTrack.getInterpolatedPoseAt(e);if(t)return t;const s=r.event.place?.[0];if(s)return{lat:s.lat,lng:s.lng,elevationM:be,headingDeg:void 0,pitchDeg:Oe,fovDeg:D.fieldOfViewDeg(r.instrument)}}function _e(r,e){return r.weatherTrack.getInterpolatedWeatherAt(e)??r.weather??$}function Ke(r,e){return r.weatherTrack.getActualWeatherAt(e)??r.weather??$}function ze(r,e){return r.soundTrack.getInterpolatedSoundAt(e)??ke}export{L as A,E as D,N as F,y as H,D as I,w as K,U as O,Pe as S,B as T,K as W,Le as a,_e as b,$e as c,ne as d,se as e,ze as f,Ue as g,Re as h,Ee as i,P as j,Be as k,X as l,Ne as m,z as n,W as o,Fe as p,$ as q,H as r,xe as s,fe as t,Ke as u};