@rr0/ufoathome 0.202.0 → 0.203.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 (274) 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/{AirshipEditor-BnRmKeVs.js → AirshipEditor-guE_ib3z.js} +1 -1
  7. package/dist-embed-scene/{AirshipFlight-C9DSPGwk.js → AirshipFlight-DzW0313e.js} +1 -1
  8. package/dist-embed-scene/{BalloonEditor-BehJs6H-.js → BalloonEditor-BIsCy_y4.js} +2 -2
  9. package/dist-embed-scene/{BalloonFlight-BYn4diw1.js → BalloonFlight-gunghgAq.js} +1 -1
  10. package/dist-embed-scene/{BirdEditor-dOp1sGsz.js → BirdEditor-CuLv4Ij5.js} +1 -1
  11. package/dist-embed-scene/{BirdFlock-CfJeXvWu.js → BirdFlock-L3dYU2K_.js} +1 -1
  12. package/dist-embed-scene/{DroneEditor-CBoR4fJ_.js → DroneEditor-BQWPhTyf.js} +1 -1
  13. package/dist-embed-scene/{DroneFlight-DSE1OXqh.js → DroneFlight-ERYah68l.js} +1 -1
  14. package/dist-embed-scene/{DroneParameters-D3EOg4oe.js → DroneParameters-CoWQympS.js} +1 -1
  15. package/dist-embed-scene/{LanternEditor-CbcA7K8y.js → LanternEditor-BpCyb79i.js} +1 -1
  16. package/dist-embed-scene/ModuleSession-Bh6KaOGK.js +3 -0
  17. package/dist-embed-scene/ModuleThree-DRsA8rtL.js +1 -0
  18. package/dist-embed-scene/SearchlightSystem-Ddws2hQY.js +1 -0
  19. package/dist-embed-scene/{SkyLantern-Dp_B40X0.js → SkyLantern-C3BSxHtq.js} +1 -1
  20. package/dist-embed-scene/rr0-scene.mjs +113 -92
  21. package/dist-embed-sighting/{CaseReportExport-CkWf0HNx.js → CaseReportExport--iqqhu1e.js} +1 -1
  22. package/dist-embed-sighting/HvsMessages_en-BiLhEAxJ.js +1 -0
  23. package/dist-embed-sighting/HvsMessages_es-Cbj_6eFs.js +1 -0
  24. package/dist-embed-sighting/HvsMessages_fr-DkvE2qm1.js +1 -0
  25. package/dist-embed-sighting/HvsMessages_it-BIJ87Uyb.js +1 -0
  26. package/dist-embed-sighting/InterviewMessages_en-Ikx6GjEd.js +3 -0
  27. package/dist-embed-sighting/InterviewMessages_es-DKWWyrnb.js +3 -0
  28. package/dist-embed-sighting/InterviewMessages_fr-DT0gXAKD.js +3 -0
  29. package/dist-embed-sighting/InterviewMessages_it-CF_9MYPt.js +3 -0
  30. package/dist-embed-sighting/ModuleSession-_kHZ7Tx3.js +3 -0
  31. package/dist-embed-sighting/{ModuleThree-whEZoXYF.js → ModuleThree-BLNSm2eY.js} +1 -1
  32. package/dist-embed-sighting/ReadingCheckTexts_en-C5qzU8K7.js +1 -0
  33. package/dist-embed-sighting/ReadingCheckTexts_es-DdhtmSew.js +1 -0
  34. package/dist-embed-sighting/ReadingCheckTexts_fr-COtovvqc.js +1 -0
  35. package/dist-embed-sighting/ReadingCheckTexts_it-Bz32XGh6.js +1 -0
  36. package/dist-embed-sighting/SearchlightSystem-PEMBDW1s.js +1 -0
  37. package/dist-embed-sighting/rr0-sighting.mjs +432 -366
  38. package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-Bz1OjSjY.js → AdsbLolArchiveProvider-DNYpHE9t.js} +1 -1
  39. package/dist-embed-sighting-editor/{AirshipEditor-BlJXyxlr.js → AirshipEditor-B_TQEcNk.js} +1 -1
  40. package/dist-embed-sighting-editor/{AirshipFlight-Cx40Y8JT.js → AirshipFlight-zrtPXNvX.js} +1 -1
  41. package/dist-embed-sighting-editor/{Aurora-Ldk66p1A.js → Aurora-wHi_XgNK.js} +1 -1
  42. package/dist-embed-sighting-editor/{AuroraEditor-CGSomAFk.js → AuroraEditor-CHAo9LbG.js} +1 -1
  43. package/dist-embed-sighting-editor/{AuroraSimulation-vKcv2Hue.js → AuroraSimulation-CMoKbd0k.js} +2 -2
  44. package/dist-embed-sighting-editor/{BalloonEditor-CgO4LaWn.js → BalloonEditor-DOmOj25v.js} +1 -1
  45. package/dist-embed-sighting-editor/{BalloonFlight-hLr_4TFU.js → BalloonFlight-DkhpbdZV.js} +1 -1
  46. package/dist-embed-sighting-editor/{BeamEditor-B8qreA3j.js → BeamEditor-CwC6pRPq.js} +1 -1
  47. package/dist-embed-sighting-editor/{BeamSystem-D0hrju5J.js → BeamSystem-Zsq9zuJa.js} +1 -1
  48. package/dist-embed-sighting-editor/{BirdEditor-BNzrfSqX.js → BirdEditor-DslUOI4x.js} +1 -1
  49. package/dist-embed-sighting-editor/{BirdFlock-iSovVEZd.js → BirdFlock-BoXaV-S_.js} +1 -1
  50. package/dist-embed-sighting-editor/{CaseElement-DPlro-7S.js → CaseElement-DFnjs2AU.js} +6 -5
  51. package/dist-embed-sighting-editor/{CaseReportExport-C1g5C8hi.js → CaseReportExport-CX87uNr9.js} +1 -1
  52. package/dist-embed-sighting-editor/{ContrailSystem-D3tXAg2r.js → ContrailSystem-hUtlCEq-.js} +1 -1
  53. package/dist-embed-sighting-editor/{ControlPasses-BMEmppip.js → ControlPasses-C8qq_tSL.js} +1 -1
  54. package/dist-embed-sighting-editor/{DroneEditor-BFsArPKi.js → DroneEditor-M2V3FKbS.js} +1 -1
  55. package/dist-embed-sighting-editor/{DroneFlight-B96pVrY1.js → DroneFlight-C1bur42A.js} +1 -1
  56. package/dist-embed-sighting-editor/{DroneParameters-DW-enQUo.js → DroneParameters-DRfoxMx8.js} +1 -1
  57. package/dist-embed-sighting-editor/{Flightradar24Provider-CBGkjw03.js → Flightradar24Provider-BJDB9e9p.js} +1 -1
  58. package/dist-embed-sighting-editor/{GLTFLoader-2Zbfb3kh.js → GLTFLoader-CQrldtm5.js} +1 -1
  59. package/dist-embed-sighting-editor/{HeadlightSystem-CBmEcC9f.js → HeadlightSystem-BzXjwGDi.js} +1 -1
  60. package/dist-embed-sighting-editor/HvsMessages_en-BiLhEAxJ.js +1 -0
  61. package/dist-embed-sighting-editor/HvsMessages_es-Cbj_6eFs.js +1 -0
  62. package/dist-embed-sighting-editor/HvsMessages_fr-DkvE2qm1.js +1 -0
  63. package/dist-embed-sighting-editor/HvsMessages_it-BIJ87Uyb.js +1 -0
  64. package/dist-embed-sighting-editor/{HynekAssessor-uub2VxTi.js → HynekAssessor-Bpze0IeH.js} +1 -1
  65. package/dist-embed-sighting-editor/{InterviewEditorElement-_1fa2bG7.js → InterviewEditorElement-C6y-8Wze.js} +6 -6
  66. package/dist-embed-sighting-editor/InterviewMessages_en-Ikx6GjEd.js +3 -0
  67. package/dist-embed-sighting-editor/InterviewMessages_es-DKWWyrnb.js +3 -0
  68. package/dist-embed-sighting-editor/InterviewMessages_fr-DT0gXAKD.js +3 -0
  69. package/dist-embed-sighting-editor/InterviewMessages_it-CF_9MYPt.js +3 -0
  70. package/dist-embed-sighting-editor/{LanternEditor-CjQVFowY.js → LanternEditor-6fXL9oHW.js} +1 -1
  71. package/dist-embed-sighting-editor/{LaserBeam-BVc8Mvhr.js → LaserBeam-Cl4c8oJt.js} +1 -1
  72. package/dist-embed-sighting-editor/{LaunchEditor-Cz8Mzo4a.js → LaunchEditor-C9swLaSJ.js} +1 -1
  73. package/dist-embed-sighting-editor/{LaunchPlume-CvBhTPgN.js → LaunchPlume-CPBS4JLE.js} +1 -1
  74. package/dist-embed-sighting-editor/{LaunchSimulation-CkZIG-3P.js → LaunchSimulation-zjImyFHC.js} +1 -1
  75. package/dist-embed-sighting-editor/{ModelSource-B153oeTu.js → ModelSource-ZiTya13j.js} +1 -1
  76. package/dist-embed-sighting-editor/{ModelThumbnails-BUL_OLFv.js → ModelThumbnails-BKl0Wk33.js} +1 -1
  77. package/dist-embed-sighting-editor/{ModelViewer-BzBLcY9s.js → ModelViewer-ZZnOiYz4.js} +1 -1
  78. package/dist-embed-sighting-editor/{ModuleConformance-Cr6fM28A.js → ModuleConformance-CYQ-Mn8w.js} +2 -2
  79. package/dist-embed-sighting-editor/ModuleSession-BklqVucx.js +3 -0
  80. package/dist-embed-sighting-editor/ModuleThree-jNUgMjnf.js +1 -0
  81. package/dist-embed-sighting-editor/ModulesPanelElement-MEFltyZr.js +26 -0
  82. package/dist-embed-sighting-editor/ModulesPanelMessages_en-CXQhQMyu.js +1 -0
  83. package/dist-embed-sighting-editor/ModulesPanelMessages_es-Bj-cT3f4.js +1 -0
  84. package/dist-embed-sighting-editor/ModulesPanelMessages_fr-B-eaMXQz.js +1 -0
  85. package/dist-embed-sighting-editor/ModulesPanelMessages_it-C3fS8UFN.js +1 -0
  86. package/dist-embed-sighting-editor/{RailwaySystem-6bwbv8UB.js → RailwaySystem-Dn-v2OAb.js} +1 -1
  87. package/dist-embed-sighting-editor/ReadingCheckTexts_en-C5qzU8K7.js +1 -0
  88. package/dist-embed-sighting-editor/ReadingCheckTexts_es-DdhtmSew.js +1 -0
  89. package/dist-embed-sighting-editor/ReadingCheckTexts_fr-COtovvqc.js +1 -0
  90. package/dist-embed-sighting-editor/ReadingCheckTexts_it-Bz32XGh6.js +1 -0
  91. package/dist-embed-sighting-editor/{ReentryEditor-BWCK2g_s.js → ReentryEditor-DPt4At81.js} +1 -1
  92. package/dist-embed-sighting-editor/{ReentrySimulation-B09JXMu5.js → ReentrySimulation-DwaQrNN5.js} +1 -1
  93. package/dist-embed-sighting-editor/{ReferenceSystem-8QgwbbAG.js → ReferenceSystem-DlaF5KWz.js} +1 -1
  94. package/dist-embed-sighting-editor/{SearchlightEditor-BpwPOhJ6.js → SearchlightEditor-CdTMwgER.js} +1 -1
  95. package/dist-embed-sighting-editor/SearchlightSystem-jipCae7J.js +1 -0
  96. package/dist-embed-sighting-editor/SightingEditorMessages_en-BmqJK2u_.js +12 -0
  97. package/dist-embed-sighting-editor/SightingEditorMessages_es-avQMqPMq.js +12 -0
  98. package/dist-embed-sighting-editor/SightingEditorMessages_fr-ClEadK1E.js +12 -0
  99. package/dist-embed-sighting-editor/SightingEditorMessages_it-Co5behaA.js +12 -0
  100. package/dist-embed-sighting-editor/{SightingElement-BQdiez39.js → SightingElement-C6CT6DBZ.js} +2 -2
  101. package/dist-embed-sighting-editor/{SkyLantern-D6bru_e_.js → SkyLantern-CYhqKOnv.js} +1 -1
  102. package/dist-embed-sighting-editor/{TraceSystem-DZMUxSn-.js → TraceSystem-Bj0G3fL7.js} +1 -1
  103. package/dist-embed-sighting-editor/{WaterSystem-CB5jE7qB.js → WaterSystem-Cv4v7PXz.js} +2 -2
  104. package/{dist-embed-ufoathome/caseSchema-BEJTs2Ld.js → dist-embed-sighting-editor/caseSchema-Cukbjeex.js} +1 -1
  105. package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +521 -452
  106. package/dist-embed-sighting-editor/{trafficRuntime-Bu3my6S4.js → trafficRuntime-BdBceXei.js} +1 -1
  107. package/dist-embed-ufoathome/{AdsbLolArchiveProvider-KbJPyJ97.js → AdsbLolArchiveProvider-D169IKdZ.js} +1 -1
  108. package/dist-embed-ufoathome/{AirshipEditor-CBSrQM3J.js → AirshipEditor-EBfUtSiB.js} +1 -1
  109. package/dist-embed-ufoathome/{AirshipFlight-Dzpw8HRM.js → AirshipFlight-6yYGIRn8.js} +1 -1
  110. package/dist-embed-ufoathome/{Aurora-C_mCH4JM.js → Aurora-CP_Xi-9o.js} +1 -1
  111. package/dist-embed-ufoathome/{AuroraEditor-Dzvgh6e0.js → AuroraEditor-B_Rxo_6I.js} +1 -1
  112. package/dist-embed-ufoathome/{AuroraSimulation-BRUnHmlp.js → AuroraSimulation-KHkJyuus.js} +1 -1
  113. package/dist-embed-ufoathome/{BallesterGuaspAssessor-DurdUgbG.js → BallesterGuaspAssessor-58lmGHUw.js} +1 -1
  114. package/dist-embed-ufoathome/{BalloonEditor-dCIjTsIz.js → BalloonEditor-CAKXO8DQ.js} +2 -2
  115. package/dist-embed-ufoathome/{BalloonFlight-CztT6ddg.js → BalloonFlight-CvE7AHlm.js} +1 -1
  116. package/dist-embed-ufoathome/{BeamEditor-Ccvx7l7x.js → BeamEditor-BOsTgbHL.js} +1 -1
  117. package/dist-embed-ufoathome/{BeamSystem-CPM8m17q.js → BeamSystem-C7OL1VWr.js} +1 -1
  118. package/dist-embed-ufoathome/{BirdEditor-Dk3huwHa.js → BirdEditor-CBVGyUnK.js} +1 -1
  119. package/dist-embed-ufoathome/{BodyEditor-BG--NjnZ.js → BodyEditor-DZ9-YBfo.js} +1 -1
  120. package/dist-embed-ufoathome/{CaseEditorElement-0J_TCeiq.js → CaseEditorElement-BgT6HnpX.js} +73 -69
  121. package/dist-embed-ufoathome/CaseElement-DVXLO8mr.js +132 -0
  122. package/dist-embed-ufoathome/{CaseReportExport-DKrBXPgZ.js → CaseReportExport-Dui5KDc5.js} +3 -3
  123. package/dist-embed-ufoathome/ColumnResize-CO4e1m-q.js +208 -0
  124. package/dist-embed-ufoathome/ConsentMessages_en-DBKCeDAn.js +1 -0
  125. package/dist-embed-ufoathome/ConsentMessages_es-Dby74lUq.js +1 -0
  126. package/dist-embed-ufoathome/ConsentMessages_fr-FGSpqzMc.js +1 -0
  127. package/dist-embed-ufoathome/ConsentMessages_it-BJWfXH6I.js +1 -0
  128. package/dist-embed-ufoathome/{ControlPasses-CKvTCqTI.js → ControlPasses-CJ2jMdlf.js} +1 -1
  129. package/dist-embed-ufoathome/{CoverageAssessor-MeOMUjkZ.js → CoverageAssessor-CzhOt6fv.js} +1 -1
  130. package/dist-embed-ufoathome/{DroneEditor-D60uhSHO.js → DroneEditor-7X9CM_3H.js} +1 -1
  131. package/dist-embed-ufoathome/{Flightradar24Provider-DxTfswSh.js → Flightradar24Provider-TCNh_VXc.js} +1 -1
  132. package/dist-embed-ufoathome/{GLTFLoader-pi-JKaNa.js → GLTFLoader-BaIfBICM.js} +1 -1
  133. package/dist-embed-ufoathome/{GeoJsonExport-iyhoKOUU.js → GeoJsonExport-B5AFUVEM.js} +1 -1
  134. package/dist-embed-ufoathome/GeographicFigures-DrlbDt4f.js +1 -0
  135. package/dist-embed-ufoathome/HvsMessages_en-BiLhEAxJ.js +1 -0
  136. package/dist-embed-ufoathome/HvsMessages_es-Cbj_6eFs.js +1 -0
  137. package/dist-embed-ufoathome/HvsMessages_fr-DkvE2qm1.js +1 -0
  138. package/dist-embed-ufoathome/HvsMessages_it-BIJ87Uyb.js +1 -0
  139. package/dist-embed-ufoathome/{HynekAssessor-Bda6csgM.js → HynekAssessor-DaCcWwTH.js} +1 -1
  140. package/dist-embed-ufoathome/{InterviewEditorElement-BA060rqJ.js → InterviewEditorElement-o21YUvNz.js} +6 -6
  141. package/dist-embed-ufoathome/{InterviewElement-DvqsCA3I.js → InterviewElement-K_oIXneA.js} +2 -2
  142. package/dist-embed-ufoathome/InterviewMessages_en-Ikx6GjEd.js +3 -0
  143. package/dist-embed-ufoathome/InterviewMessages_es-DKWWyrnb.js +3 -0
  144. package/dist-embed-ufoathome/InterviewMessages_fr-DT0gXAKD.js +3 -0
  145. package/dist-embed-ufoathome/InterviewMessages_it-CF_9MYPt.js +3 -0
  146. package/dist-embed-ufoathome/{KmlExport-DEPgRRWe.js → KmlExport-BfiqE1s2.js} +1 -1
  147. package/dist-embed-ufoathome/{LanternEditor-BapUZdog.js → LanternEditor-CepeoImr.js} +1 -1
  148. package/dist-embed-ufoathome/{LaserBeam--dquPX_h.js → LaserBeam-IRXmv6wc.js} +1 -1
  149. package/dist-embed-ufoathome/{LaunchEditor-D3P0GkLr.js → LaunchEditor-C4hq0VUw.js} +1 -1
  150. package/dist-embed-ufoathome/{LaunchPlume-w4l4TR4A.js → LaunchPlume-CujlF3wZ.js} +1 -1
  151. package/dist-embed-ufoathome/{LaunchSimulation-BpZd-Nov.js → LaunchSimulation-58_ZZy8q.js} +1 -1
  152. package/dist-embed-ufoathome/{ModelSource-Csnm3RH_.js → ModelSource-Bz25TN6e.js} +1 -1
  153. package/dist-embed-ufoathome/{ModelThumbnails-Cnt2GxTb.js → ModelThumbnails-CcYlw6gA.js} +1 -1
  154. package/dist-embed-ufoathome/{ModelViewer-DOfAkPgK.js → ModelViewer-CD90RTYi.js} +1 -1
  155. package/dist-embed-ufoathome/ModuleSession-Dac4fD0X.js +3 -0
  156. package/dist-embed-ufoathome/ModulesPanelElement-DZxFsuuG.js +18 -0
  157. package/dist-embed-ufoathome/ModulesPanelMessages_en-Dir0ADQe.js +1 -0
  158. package/dist-embed-ufoathome/ModulesPanelMessages_es-B_ITNG5N.js +1 -0
  159. package/dist-embed-ufoathome/ModulesPanelMessages_fr-DbKLtD8s.js +1 -0
  160. package/dist-embed-ufoathome/ModulesPanelMessages_it-CE0q7D2c.js +1 -0
  161. package/dist-embed-ufoathome/NearestApproach-DsszB5Rd.js +1 -0
  162. package/dist-embed-ufoathome/{PoherAssessor-4zSdFnFp.js → PoherAssessor-BkCJ1UTQ.js} +1 -1
  163. package/dist-embed-ufoathome/QuestionnaireFeed-DmyYcwwf.js +1 -0
  164. package/dist-embed-ufoathome/QuestionnaireForm-vT3C3qXt.js +1 -0
  165. package/dist-embed-ufoathome/QuestionnaireImport-BlTDOHWj.js +5 -0
  166. package/dist-embed-ufoathome/ReadingCheckTexts_en-C5qzU8K7.js +1 -0
  167. package/dist-embed-ufoathome/ReadingCheckTexts_es-DdhtmSew.js +1 -0
  168. package/dist-embed-ufoathome/ReadingCheckTexts_fr-COtovvqc.js +1 -0
  169. package/dist-embed-ufoathome/ReadingCheckTexts_it-Bz32XGh6.js +1 -0
  170. package/dist-embed-ufoathome/{ReentryEditor-DEi9nT0z.js → ReentryEditor-BjyUUZGU.js} +1 -1
  171. package/dist-embed-ufoathome/{ReentrySimulation-CSO1vgro.js → ReentrySimulation-5VI9Dla4.js} +1 -1
  172. package/dist-embed-ufoathome/{ReferenceSystem--tiMGm4e.js → ReferenceSystem-C0ZXvatV.js} +1 -1
  173. package/dist-embed-ufoathome/ScenarioReadings-CBWjF8TY.js +1 -0
  174. package/dist-embed-ufoathome/ScenarioSweep-MaryBOLs.js +1 -0
  175. package/dist-embed-ufoathome/{SearchlightEditor--1uL8bTa.js → SearchlightEditor-DPU1PgfT.js} +1 -1
  176. package/dist-embed-ufoathome/SearchlightSystem-m0a11CEu.js +1 -0
  177. package/dist-embed-ufoathome/{ShareDialogElement-Dlfy9NCE.js → ShareDialogElement-DqCoQwtn.js} +97 -76
  178. package/dist-embed-ufoathome/{Sighting-B7bsiTIQ.js → Sighting-D-_IYi9n.js} +1 -1
  179. package/dist-embed-ufoathome/SightingEditorMessages_en-BmqJK2u_.js +12 -0
  180. package/dist-embed-ufoathome/SightingEditorMessages_es-avQMqPMq.js +12 -0
  181. package/dist-embed-ufoathome/SightingEditorMessages_fr-ClEadK1E.js +12 -0
  182. package/dist-embed-ufoathome/SightingEditorMessages_it-Co5behaA.js +12 -0
  183. package/dist-embed-ufoathome/{SightingElement-BJSNmFM6.js → SightingElement-CUrYpWRD.js} +2 -2
  184. package/dist-embed-ufoathome/{TraceSystem-Cq2TgP-u.js → TraceSystem-BLumvnJD.js} +1 -1
  185. package/dist-embed-ufoathome/UfoAtHomeMessages_en-ByVu39KF.js +1 -0
  186. package/dist-embed-ufoathome/UfoAtHomeMessages_es-D9bLboxq.js +1 -0
  187. package/dist-embed-ufoathome/UfoAtHomeMessages_fr-nTqRf0ZK.js +1 -0
  188. package/dist-embed-ufoathome/UfoAtHomeMessages_it-4cZC5-y5.js +1 -0
  189. package/dist-embed-ufoathome/{VideoButton-MRJlVNm_.js → VideoButton-hYfTEunC.js} +1 -1
  190. package/{dist-embed-sighting-editor/caseSchema-BEJTs2Ld.js → dist-embed-ufoathome/caseSchema-Cukbjeex.js} +1 -1
  191. package/dist-embed-ufoathome/rr0-ufoathome.mjs +35 -17
  192. package/dist-embed-ufoathome/{surroundingsSources--qffL_nJ.js → surroundingsSources-BWHnZ_qg.js} +1 -1
  193. package/dist-embed-ufoathome/{trafficRuntime-CTCGr90P.js → trafficRuntime-Xpncp71U.js} +2 -2
  194. package/package.json +1 -1
  195. package/dist-embed-interview/InterviewMessages_en-BrnxG2rl.js +0 -3
  196. package/dist-embed-interview/InterviewMessages_es-Dxfjqrte.js +0 -3
  197. package/dist-embed-interview/InterviewMessages_fr-DIA-1qu8.js +0 -3
  198. package/dist-embed-interview/InterviewMessages_it-CYBEIKX-.js +0 -3
  199. package/dist-embed-scene/ModuleSession-XnOI5Mcr.js +0 -3
  200. package/dist-embed-scene/ModuleThree-BTQgimAj.js +0 -1
  201. package/dist-embed-scene/SearchlightSystem-CX1_nBkz.js +0 -1
  202. package/dist-embed-sighting/InterviewMessages_en-BrnxG2rl.js +0 -3
  203. package/dist-embed-sighting/InterviewMessages_es-Dxfjqrte.js +0 -3
  204. package/dist-embed-sighting/InterviewMessages_fr-DIA-1qu8.js +0 -3
  205. package/dist-embed-sighting/InterviewMessages_it-CYBEIKX-.js +0 -3
  206. package/dist-embed-sighting/ModuleSession-ChJsGuTn.js +0 -3
  207. package/dist-embed-sighting/ReadingCheckTexts_en-eq6teExJ.js +0 -1
  208. package/dist-embed-sighting/ReadingCheckTexts_es-CR_JJZMV.js +0 -1
  209. package/dist-embed-sighting/ReadingCheckTexts_fr-pcDleIvY.js +0 -1
  210. package/dist-embed-sighting/ReadingCheckTexts_it-MFKeoXnq.js +0 -1
  211. package/dist-embed-sighting/SearchlightSystem-B2-MzG4x.js +0 -1
  212. package/dist-embed-sighting-editor/InterviewMessages_en-BrnxG2rl.js +0 -3
  213. package/dist-embed-sighting-editor/InterviewMessages_es-Dxfjqrte.js +0 -3
  214. package/dist-embed-sighting-editor/InterviewMessages_fr-DIA-1qu8.js +0 -3
  215. package/dist-embed-sighting-editor/InterviewMessages_it-CYBEIKX-.js +0 -3
  216. package/dist-embed-sighting-editor/ModuleSession-WA6lqfV6.js +0 -3
  217. package/dist-embed-sighting-editor/ModuleThree-CB_EjTOI.js +0 -1
  218. package/dist-embed-sighting-editor/ModulesPanelElement-BsRg3mzl.js +0 -15
  219. package/dist-embed-sighting-editor/ModulesPanelMessages_en-DuwrY3Pm.js +0 -1
  220. package/dist-embed-sighting-editor/ModulesPanelMessages_es-Bq5X-XuT.js +0 -1
  221. package/dist-embed-sighting-editor/ModulesPanelMessages_fr-B8cSDc6o.js +0 -1
  222. package/dist-embed-sighting-editor/ModulesPanelMessages_it-BdC626aJ.js +0 -1
  223. package/dist-embed-sighting-editor/ReadingCheckTexts_en-eq6teExJ.js +0 -1
  224. package/dist-embed-sighting-editor/ReadingCheckTexts_es-CR_JJZMV.js +0 -1
  225. package/dist-embed-sighting-editor/ReadingCheckTexts_fr-pcDleIvY.js +0 -1
  226. package/dist-embed-sighting-editor/ReadingCheckTexts_it-MFKeoXnq.js +0 -1
  227. package/dist-embed-sighting-editor/SearchlightSystem-CEG52QDx.js +0 -1
  228. package/dist-embed-sighting-editor/SightingEditorMessages_en-k7_ua2OM.js +0 -12
  229. package/dist-embed-sighting-editor/SightingEditorMessages_es-Drqbbr5_.js +0 -12
  230. package/dist-embed-sighting-editor/SightingEditorMessages_fr-B_K5hsuV.js +0 -12
  231. package/dist-embed-sighting-editor/SightingEditorMessages_it-QCLg1d7x.js +0 -12
  232. package/dist-embed-sighting-editor/angular-size-CxoysZle.png +0 -0
  233. package/dist-embed-sighting-editor/azimuth-CvjiPmz0.png +0 -0
  234. package/dist-embed-sighting-editor/elevation-DPr5S6Jt.png +0 -0
  235. package/dist-embed-sighting-editor/geipan-qt-2025-B_RUiH8B.js +0 -7
  236. package/dist-embed-sighting-editor/protractor-DyE30B87.png +0 -0
  237. package/dist-embed-ufoathome/CaseElement-CRXPyMMR.js +0 -131
  238. package/dist-embed-ufoathome/ColumnResize-DV-byvDt.js +0 -164
  239. package/dist-embed-ufoathome/GeographicFigures-DBmuFlvH.js +0 -1
  240. package/dist-embed-ufoathome/InterviewAttachments-BP6Prvdu.js +0 -1
  241. package/dist-embed-ufoathome/InterviewMessages_en-BrnxG2rl.js +0 -3
  242. package/dist-embed-ufoathome/InterviewMessages_es-Dxfjqrte.js +0 -3
  243. package/dist-embed-ufoathome/InterviewMessages_fr-DIA-1qu8.js +0 -3
  244. package/dist-embed-ufoathome/InterviewMessages_it-CYBEIKX-.js +0 -3
  245. package/dist-embed-ufoathome/ModuleSession-BKDWGSEo.js +0 -3
  246. package/dist-embed-ufoathome/ModulesPanelElement-DH1oroWm.js +0 -15
  247. package/dist-embed-ufoathome/ModulesPanelMessages_en-DuwrY3Pm.js +0 -1
  248. package/dist-embed-ufoathome/ModulesPanelMessages_es-Bq5X-XuT.js +0 -1
  249. package/dist-embed-ufoathome/ModulesPanelMessages_fr-B8cSDc6o.js +0 -1
  250. package/dist-embed-ufoathome/ModulesPanelMessages_it-BdC626aJ.js +0 -1
  251. package/dist-embed-ufoathome/NearestApproach-DJ98M81-.js +0 -1
  252. package/dist-embed-ufoathome/QuestionnaireFeed-W69udpmT.js +0 -1
  253. package/dist-embed-ufoathome/QuestionnaireForm-U78nFPn5.js +0 -1
  254. package/dist-embed-ufoathome/QuestionnaireImport-Q5uHxQwU.js +0 -5
  255. package/dist-embed-ufoathome/ReadingCheckTexts_en-eq6teExJ.js +0 -1
  256. package/dist-embed-ufoathome/ReadingCheckTexts_es-CR_JJZMV.js +0 -1
  257. package/dist-embed-ufoathome/ReadingCheckTexts_fr-pcDleIvY.js +0 -1
  258. package/dist-embed-ufoathome/ReadingCheckTexts_it-MFKeoXnq.js +0 -1
  259. package/dist-embed-ufoathome/ScenarioReadings-Dzdgopl3.js +0 -1
  260. package/dist-embed-ufoathome/ScenarioSweep-CMcleprC.js +0 -1
  261. package/dist-embed-ufoathome/SearchlightSystem-7bntVtp_.js +0 -1
  262. package/dist-embed-ufoathome/SightingEditorMessages_en-k7_ua2OM.js +0 -12
  263. package/dist-embed-ufoathome/SightingEditorMessages_es-Drqbbr5_.js +0 -12
  264. package/dist-embed-ufoathome/SightingEditorMessages_fr-B_K5hsuV.js +0 -12
  265. package/dist-embed-ufoathome/SightingEditorMessages_it-QCLg1d7x.js +0 -12
  266. package/dist-embed-ufoathome/UfoAtHomeMessages_en-BK2qJyZN.js +0 -1
  267. package/dist-embed-ufoathome/UfoAtHomeMessages_es-B1-NDCau.js +0 -1
  268. package/dist-embed-ufoathome/UfoAtHomeMessages_fr-BTG047qo.js +0 -1
  269. package/dist-embed-ufoathome/UfoAtHomeMessages_it-Ryxv4HNU.js +0 -1
  270. package/dist-embed-ufoathome/angular-size-CxoysZle.png +0 -0
  271. package/dist-embed-ufoathome/azimuth-CvjiPmz0.png +0 -0
  272. package/dist-embed-ufoathome/elevation-DPr5S6Jt.png +0 -0
  273. package/dist-embed-ufoathome/geipan-qt-2025-B_RUiH8B.js +0 -7
  274. package/dist-embed-ufoathome/protractor-DyE30B87.png +0 -0
@@ -0,0 +1,12 @@
1
+ import{s as e}from"./SightingLabels_it-COLZ2Qth.js";const a={field:"Su che cosa si basa",kinds:{none:"Nulla indicato",said:"Ciò che ha detto il testimone",document:"Un documento",picture:"Una foto della registrazione",tool:"Uno strumento"},interviewField:"Intervista",segmentField:"Passaggio",documentField:"Titolo",atField:"Dove (pagina, domanda)",urlField:"Indirizzo",pictureField:"Foto",toolField:"Strumento (IPACO, QGIS, un teodolito)",free:"Un'ipotesi di lavoro non si basa su nulla: è ciò che dice questa base.",segmentUnnamed:"Turno di parola {n}",interviewOnly:"L'intervista del dossier"},i={title:"Eventi del testimone",phenomenonTitle:"Eventi del fenomeno",bodyTitle:"Eventi di {body}",derivedNote:"Le pose del testimone sono calcolate da questi eventi. Spostare il testimone o girarne lo sguardo a mano scrive pose proprie, che prevalgono su di essi.",overriddenNote:"Le pose proprie di questa registrazione prevalgono sui suoi eventi.",derivedShapesNote:"Le forme del resoconto sono calcolate da ciò che ha fatto il fenomeno. Disegnarle a mano scrive forme proprie, che prevalgono su questi eventi.",overriddenShapesNote:"Le forme proprie di questa registrazione prevalgono sugli eventi del fenomeno.",parts:"{n} parti",who:"Soggetto",part:"Parte",partHint:"Un nodo, un osso o una luce del suo modello (legs, head, front-red), o un gruppo delle sue parti (rear): solo esso, il resto del corpo così com'è",wholeBody:"il corpo intero",derivedBodiesNote:"I fotogrammi chiave di questi corpi sono calcolati da ciò che hanno fatto. I fotogrammi chiave posti a mano prevalgono su questi eventi.",overriddenBodiesNote:"Fotogrammi chiave propri prevalgono su questi eventi.",add:"Aggiungi un evento",remove:"Elimina l'evento",none:"Nessun evento",zoomHint:"Pizzicate, o Ctrl + rotella, per ingrandire; Maiusc + rotella per scorrere",resetToEvents:"Torna agli eventi",kinds:{drive:"Guida",lookAhead:"Guarda la strada",lean:"Si sporge",watch:"Guarda nello specchietto",stand:"Si trova",look:"Guarda",appearance:"Aspetto",walk:"Cammina",follow:"Segue con lo sguardo",blink:"Lampeggia",vanish:"Scompare",motion:"Si muove",spin:"Gira",rise:"Si alza",ride:"Viaggia in",turn:"Si gira",light:"Luce",travel:"Attraversa il cielo",roll:"S'inclina",vibrate:"Vibra",spiral:"Spirale"},params:{vehicle:"Veicolo",path:"Percorso",speeds:"Velocità",speedDivisors:"Velocità divise per",through:"Passa per",eye:"Occhio nel veicolo",fovDeg:"Campo visivo",target:"Guarda",pitchShare:"Alza lo sguardo fino a",keepDeg:"Lo tiene entro",glanceBeyondDeg:"Occhiate oltre",glanceS:"Occhiata",roadS:"Di nuovo sulla strada",offsetM:"Sposta l'occhio di",holdS:"Per",turnS:"In",mirror:"Specchietto",firstS:"Prima",mirrorS:"Nello specchietto",glancesUntil:"Occhiate dirette fino a",place:"Dove",metres:"Dimensione",parts:"Parti",onS:"Acceso",offS:"Spento",off:"Spento, è",motion:"Movimento",turnsPerS:"Giri al secondo",distanceM:"Distanza",angleDeg:"Scarto dalla verticale",stops:"Si ferma",in:"In",aboveM:"Sopra",from:"Da",to:"A",headingDeg:"Rotta",pitchDeg:"Inclinazione",cdM2:"Luminanza",towards:"Verso",sizeDeg:"Dimensione allo zenit",sizeBy:"Dimensione secondo",byDeg:"Di",side:"Lato",seenFrom:"Visto da",reactionS:"Reagisce dopo",lagS:"In ritardo di",toDeg:"Fino a",andBack:"E ritorno",hz:"Volte al secondo",amplitudeShare:"Ampiezza",riseS:"Sale in",turns:"Giri",radiusDeg:"Raggio",shrink:"Si restringe di",clockwise:"Senso orario",rollDeg:"Tonneau",azimuthDeg:"Azimut",altitudeDeg:"Altezza"},from:"da",to:"a",points:"{n} punti",at:"a",paramHints:{pitchShare:"parte della sua altezza",metres:"larghezza, e altezza sopra l'occhio",amplitudeShare:"parte della dimensione"},basisTitle:"Come è stato ottenuto questo valore",basisField:"Base",howField:"Come",rationaleField:"Motivazione",choices:{"sizeBy.":"sempre la stessa","sizeBy.altitude":"la sua altezza (più piccolo verso l'orizzonte)","side.left":"sinistra","side.right":"destra","seenFrom.":"il suolo (come lo vede il testimone)","seenFrom.craft":"il velivolo (come lo direbbe il pilota)"},zenith:"zenit",lookedAt:"Dove guarda",lookedAtHint:"Prende la direzione in cui guarda il testimone alla testina di lettura",atOnce:"di colpo",atOnceHint:"Spuntato: il valore resta quello della riga precedente fino a questo istante, poi passa di colpo a quello di questa riga (una frenata, una partenza brusca). Non spuntato: ci arriva gradualmente dalla riga precedente.",addRow:"Aggiungi una riga",removeRow:"Rimuovi questa riga",basis:{established:"accertato",stated:"dichiarato",derived:"dedotto",assumed:"supposto",measured:"misurato",fitted:"adattato"}},o={title:"Intorno",hint:"Ciò che faceva rumore intorno all'osservatore: ciò contro cui si sentiva un aereo, come contro il vento e la pioggia. Le auto, i camion e le persone presenti insieme, o le strade e il loro traffico, o entrambi.",counted:"Insieme",cars:"Auto",trucks:"Camion e autobus",people:"Persone",talking:"di cui che parlano",within:"entro",roads:"Strade",roadDistance:"A",vehiclesPerMinute:"veicoli",trucksPerMinute:"di cui camion",speed:"a",perMinute:"/ min",addRoad:"Aggiungi una strada",removeRoad:"Togli questa strada",heard:"{level} dB(A) dove si trova l'osservatore",quiet:"Niente di detto: un luogo tranquillo"},t={basisTitle:"Come è stato ottenuto questo valore",basisField:"Base",howField:"Come",rationaleField:"Giustificazione",basisReset:"Base riportata a «dichiarata»: il valore è stato riscritto (era: {basis}).",lawSources:"Fonti: {sources}",extrapolation:"Queste leggi sono misurate su osservazioni notturne: applicarle a un'osservazione diurna è un'estrapolazione.",sectionAccountConditions:"Condizioni della testimonianza",sectionViewing:"Condizioni di visione",sectionMoon:"Calibro Luna",sectionErrorParameters:"Parametri d'errore di questo testimone",errorModelField:"Modello d'errore",delayField:"Ritardo prima di questo racconto",delayUnit:"giorni",versionField:"Versione",wordField:"Parola usata",exposureField:"Esposizione",independenceField:"Indipendenza",independentYes:"senza aver parlato con gli altri testimoni",independentNo:"dopo aver parlato con gli altri testimoni",unknownChoice:"non si sa",darkAdapted:"Adattato al buio",correctedVision:"Vista corretta",correctedVisionHint:"occhiali, lenti",glare:"Luce intensa poco prima",viewingNote:"Il vetro o il parabrezza e il binocolo si impostano in «Visione» qui sopra.",moonIntro:"Il testimone mostra la Luna piena come ha mostrato l'oggetto. Il rapporto dà il suo fattore di dimensione angolare: l'unica misura che rende individuale la legge generale. Da rilevare una volta per testimone.",moonField:"Luna come mostrata",moonHint:"A braccio teso, 1 cm ≈ 1°",moonNone:"Non ancora misurata: si applica la legge generale ({law}).",moonFactor:"Fattore ×{k}: sostituisce la legge generale in tutte le dimensioni angolari di questo testimone.",moonReal:"Luna reale · 0,52°",parametersIntro:"Gli errori di uno stesso testimone sono legati: lo stesso fattore su tutte le dimensioni, lo stesso scarto su tutte le ore. Calcolati, mai scritti: nessun margine «±» si inserisce a mano.",showMore:"Mostra",basis:{established:"◇ accertata",measured:"◆ misurata",stated:"dichiarata",derived:"dedotta",assumed:"supposta",fitted:"⇄ adattata"},how:{clock:"letta su un orologio",anchored:"ancorata a un evento datato",estimated:"stimata","shown-on-the-spot":"mostrata sul posto","arm-length-gauge":"calibro a braccio teso","recalled-object":"riferita a un oggetto noto",instrument:"strumento",landmark:"riferimento del paesaggio",occlusion:"occultazione","known-size":"dimensione nota",triangulation:"triangolazione"},status:{consolidated:"consolidata",individual:"individuale",single:"studio unico",argued:"argomentata",contested:"contestata"},laws:{timeClock:"± {minutes} min (letta su un orologio)",timeAnchored:"± {minutes} min (ancorata a un evento datato)",timeEstimated:"± {minutes} min per 9 testimoni su 10 (stimata)",duration:"da {low} a {high}: ×/÷{factor} (log-normale)",elevationOver:"da {low} a {high}: altezza sovrastimata",measuredInstrument:"± {degrees}° (misurata)",measuredLandmark:"± {degrees}° (da un riferimento)",headingCross:"da {low} a {high}: ± {degrees}°, verso talvolta invertito",sizeMoon:"da {low} a {high}: fattore ×{factor} del calibro Luna",sizeShown:"da {low} a {high}: mostrata sul posto, da +2 a +17 %",sizeRecalled:"da {low} a {high}: riferita a un oggetto noto, ~30 % troppo grande",sizeArm:"da {low} a {high}: sovrastimata da ×{from} a ×{to} a braccio teso",sizeGauge:"da {low} a {high}: calibro, ± {percent} %",distanceAnchored:"Ancorata: il suo errore segue quello di ciò da cui è dedotta",distanceNotData:"Non è un dato: sbagliata di un fattore {factor} o più senza ancoraggio"},parameterNames:{clock:"Scarto dell'orologio",date:"Scarto di data",heading:"Rotazione della direzione",elevation:"Compressione delle altezze",size:"Fattore di dimensione angolare",duration:"Fattore di durata"},parameterScopes:{clock:"tutte le ore",date:"la data",heading:"tutte le direzioni",elevation:"tutte le altezze",size:"tutte le dimensioni angolari",duration:"la durata e la scala della timeline"},parameters:{clockClock:"± {minutes} min (orologio)",clockAnchored:"± {minutes} min (ancorata)",clockEstimated:"± {minutes} min (stimata)",dateShift:"±1 giorno, mese o anno; ora legale ({percent} % delle date)",headingRotation:"± {degrees}°, specchio possibile",elevationCompression:"sovrastimate, mai sottostimate",sizeMoon:"×{factor} (calibro Luna)",sizeArm:"da ×{from} a ×{to} a braccio teso",sizeShown:"da +2 a +17 % mostrata sul posto",durationFactor:"×/÷{factor} (log-normale)"},words:{light:"luce",object:"oggetto",craft:"velivolo",ufo:"ufo",other:"altro"},exposures:{none:"nessuna",press:"stampa",broadcast:"radio, televisione","other-witnesses":"altri testimoni",investigators:"investigatori"},models:{consolidated:"Letture consolidate (UFO@home)",keul:"Keul (dimensioni mostrate sul posto)"},candidates:{title:"Spiegazioni candidate",verdicts:{consolidated:"Compatibile con distorsioni consolidate",contested:"Solo invocando distorsioni contestate",incompatible:"Incompatibile anche ai limiti"},cost:"costo {x} σ",seeVariant:"Vedi questa variante",variantLabel:"Variante: {name}",backToAccount:"Torna al racconto",costNote:"Un costo non è una probabilità: dice quali distorsioni bisogna invocare, e di quanto.",scopeNote:"Matrice di Poher (1977) per la lista di partenza; la Luna, i pianeti, i passaggi di satelliti, i rientri, i bolidi registrati e gli aerei del tracciato sono calcolati e confrontati con il racconto.",fields:{date:"Data",time:"Ora",heading:"Azimut",elevation:"Altezza sull'orizzonte",size:"Larghezza apparente",duration:"Durata",sweep:"Percorso nel cielo"},biases:{date:"data spostata di {x} g",mirror:"direzione invertita (est per ovest)",clock:"scarto dell'orologio {x} min",heading:"rotazione della direzione {x}°",elevation:"altezza sovrastimata ×{x}",size:"dimensione sovrastimata ×{x}",duration:"durata stimata male ×{x}",sweep:"percorso stimato male {x}°"},reasons:{"never-seen":"Mai visibile da questo luogo nel margine dell'ora data.",direction:"Troppo lontano dalla direzione data, anche ai limiti delle leggi.",size:"Dimensione troppo diversa, anche ai limiti delle leggi.",motion:"Non si muove come dice il resoconto, e nulla fa leggere l'uno per l'altro.",growth:"Non cresce come dice il resoconto, né diventa più luminoso."},readingTitle:"Lettura",readings:{grouped:"luci lette come un solo corpo","still-seen-moving":"una luce ferma vista muoversi (effetto autocinetico, nuvole che scorrono)","moving-seen-still":"una luce in moto vista immobile (in arrivo di fronte)","brightening-as-approach":"una luminosità crescente letta come un avvicinamento"},notAgainst:"Non è un argomento contro il racconto.",noDirection:"Il racconto non colloca il fenomeno nel cielo: non c'è nulla da confrontare.",noSky:"Senza data, ora e luogo, nessun astro può essere collocato.",bodies:{Moon:"Luna",Venus:"Venere",Mars:"Marte",Jupiter:"Giove",Saturn:"Saturno"},aircraft:"Aeromobile {name}",interpretation:"Lettura: {name}",keepVariant:"Conserva questa variante",keptTitle:"Varianti conservate ({n})",seeKept:"Vedi",removeVariant:"Rimuovi",keptRecomputed:"ricalcolata: {verdict}, costo {x} σ",keptModel:"modello: {model}",reentry:"Rientro {name}",star:"Stella {name}",fireball:"Bolide {name}",poherLoading:"Caricamento della matrice di Poher…",poherFailed:"Non è stato possibile leggere la matrice di Poher: sono proposti solo gli astri.",poherTitle:"Secondo la matrice {version}",poherIntro:"Gli altri fenomeni noti della matrice, senza traiettoria calcolata qui: il loro punteggio è il giudizio di Poher, da confrontare a mano.",poherIntroRr0:"Gli altri fenomeni noti della matrice, senza traiettoria calcolata qui: ogni punteggio è quello di Poher, o quello di RR0 per ciò che RR0 aggiunge, con la sua ragione; da confrontare a mano.",poherVersion:"Matrice",poherVersions:{"poher-1977":"di Poher (1977)","rr0-2026":"di Poher estesa da RR0 (2026)"},poherAdded:"aggiunto da RR0",poherRr0Reason:"punteggio di RR0: {why}",poherPossible:"Possibili",poherExcluded:"Esclusi ({n})",poherExcludedBy:"escluso da: {list}",poherDoubted:"dubbio secondo stime: {list}",poherScore:"punteggio {x}",poherTag:"Poher: {state}",poherStatePossible:"possibile, punteggio {x}",poherStateExcluded:"escluso",selfCheck:"Coerenza della lettura: interrogata su ciò che mostra la lettura stessa, la matrice mette «{phenomenon}» al posto {rank} su {of}{tied}.",selfCheckTied:" (a pari merito con {n})",selfCheckExcluded:"Coerenza della lettura: interrogata su ciò che mostra la lettura stessa, la matrice esclude «{phenomenon}» ({questions}): la lettura non somiglia a ciò che dice di essere, oppure la matrice sbaglia.",selfCheckUnknown:"Coerenza della lettura: questa versione della matrice non conosce «{phenomenon}».",answersTitle:"Risposte dedotte dalla registrazione ({n})",firm:"ferma",soft:"stima, da sola non esclude nulla"}},r={...e,oval:"Ovale",polygon:"Poligono",modelTriangle:"Triangolo",modelSaucer:"Disco volante",modelCigar:"Sigaro",modelChevron:"Chevron",modelLight:"Luce",modelPartDisc:"disco",modelPartDome:"cupola",addVertex:"Aggiungi vertice",deleteVertex:"Elimina vertice",notAPolygon:"Seleziona una sola forma poligonale",tooFewVertices:"Una forma ha bisogno di almeno 3 punti",shape:"Forma",apparentWidth:"Larghezza apparente",realWidth:"Larghezza reale",distance:"Distanza",shapeRotation:"Rotazione",shapeRotationTitle:"Di quanto la forma è ruotata nel disegno, in senso orario, in gradi: ciò che regola la sua maniglia di rotazione",sizeLock:"Mantieni",lockNone:"niente",lockApparent:"la larghezza apparente",lockReal:"la larghezza reale",lockDistance:"la distanza",apparentSize:"{moons}× la Luna",utcOffsetPlaceholder:"dalla longitudine",realSizeBetween:"La scena delimita quella larghezza: tra {min} e {max} m, in base a ciò che attraversa",realSizeAtLeast:"La scena delimita quella larghezza: almeno {min} m, in base a ciò dietro cui passa",realSizeAtMost:"La scena delimita quella larghezza: al massimo {max} m, in base a ciò davanti a cui passa",realSizeUnknown:"Nulla nella scena delimita quella larghezza: è solo ciò che la distanza implica",realSizeOutside:" — la larghezza qui sopra ne è fuori",blurBound:"Sfocato attraverso questo obiettivo: più vicino di {max} m",blurBoundNoInstrument:"La sfocatura a occhio nudo non delimita alcuna distanza — un occhio non ha un diaframma con cui andare fuori fuoco",blurBoundNotAtInfinity:"La sfocatura delimita una distanza solo per un obiettivo messo a fuoco all'infinito: questo è a fuoco a {focus} m, il che sfoca da entrambi i lati",realSizeContradiction:"Contraddizione: gli attraversamenti dichiarati non possono essere tutti veri",realDistanceHere:" — cioè qui tra {min} e {max} m",clearDistanceHypothesis:"Ritira l'ipotesi di distanza",clearDistanceHypothesisTitle:"Torna a ciò che la registrazione stabilisce",depthStated:"Disegnato a {m} m, come dichiara la registrazione",depthHypothesis:"Disegnato a {m} m: la tua ipotesi — ciò che la scenografia ne nasconde è ciò che perderebbe una cosa così lontana",depthDerived:"Disegnato a {m} m, in base alla camminata stessa del testimone",depthBounded:"Disegnato a {m} m, in base a ciò dietro e davanti a cui passa",depthConventional:"Disegnato a {m} m per convenzione: nulla nella registrazione stabilisce una distanza",addShape:"Aggiungi forma",deleteShape:"Elimina forma",play:"Riproduci",pause:"Pausa",mute:"Disattiva audio",unmute:"Attiva audio",volume:"Volume",noSound:"Nessun suono registrato",noDuration:"Nessuna durata di osservazione",previousKeyframe:"Fotogramma chiave precedente",nextKeyframe:"Fotogramma chiave successivo",keyframeMark:"Fotogramma chiave",shapesTrack:"forme",bodiesTrack:"corpi",observerTrack:"testimone",weatherTrack:"meteo",soundTrack:"suono",group:"Raggruppa",ungroup:"Separa",duplicate:"Duplica",bringToFront:"Porta in primo piano",sendToBack:"Porta in fondo",contextMenuDelete:"Elimina",onlyOneShape:"C'è una sola forma",alreadyAtFront:"Questa forma è già in primo piano",alreadyAtBack:"Questa forma è già in fondo",needTwoShapesToGroup:"Seleziona almeno due forme per raggrupparle",notGrouped:"Questa forma non fa parte di un gruppo",multipleShapesSelected:"Più forme selezionate — selezionane una sola per modificare questo",samplingRate:"Frequenza di campionamento",samplingRateHint:"Vuoto: ogni evento al proprio passo (25 ms per un movimento nel cielo), il registratore ogni {n} ms",currentPosition:"Posizione attuale",switchToElapsed:"clicca per mostrare il tempo trascorso",switchToClockTime:"clicca per mostrare l'ora del giorno",durationPlaceholder:"durata dell'osservazione",durationImprecise:"Queste date non determinano con sufficiente precisione una durata — inseriscila manualmente.",exportKml:"Esporta in KML",exportGeoJson:"Esporta in GeoJSON",exportGeoJsonHint:"Lo stesso, nel GeoJSON che legge ogni GIS: WGS 84, e ogni figura dice a quale gruppo appartiene e da che cosa sono contate le sue altezze.",exportKmlHint:"Dove stava il testimone, le direzioni dichiarate, ciò che una lettura colloca e i tracciati importati — per Google Earth o QGIS.",export:"Salva",snapshotTitle:"Istantanee",snapshotHint:"Ciò che la scena chiederebbe altrimenti a terzi a ogni riproduzione (rilievo, foto del suolo, strade, acqua, ferrovie, alta atmosfera), rilevato al salvataggio e conservato in file accanto alla registrazione, perché si riproduca uguale senza chiedere nulla a nessuno.",snapshotLive:"Interrogare le fonti a ogni riproduzione (nessuna istantanea)",snapshotRelief:"Rilievo",snapshotImagery:"Foto del suolo",snapshotRoads:"Strade",snapshotWater:"Acqua",snapshotRailways:"Ferrovie",snapshotUpperAir:"Alta atmosfera",snapshotMap:"Foto della mappa",fileItemRecording:"Registrazione",fileItemModules:"Moduli",fileItemWeather:"Meteo",fileItemPlace:"Luogo",fileItemLightPollution:"Inquinamento luminoso",fileItemDecor:"Scenografia",weatherStatedByObserver:"come l'ha data il testimone",annexSource:"File",annexStorageInline:"dentro la registrazione stessa",annexEditorLabel:"L'allegato come testo JSON",annexUnreadable:"Questo file non è un allegato di questo tipo: non è cambiato nulla.",snapshotTakenOn:"rilevato il {date}",snapshotPending:"rilevato al salvataggio",snapshotLiveState:"chiesto in diretta",snapshotRefresh:"Aggiorna",snapshotTaking:"Rilevamento: {group}… {done}/{of}",snapshotFailed:"{group}: la fonte non ha risposto, nulla è stato rilevato.",snapshotMissing:"{file} illeggibile: lasciato fuori dall'archivio.",snapshotExported:"Salvato con {count} allegati ({size}), in un archivio da decomprimere dove la registrazione è pubblicata.",identityHint:"Nomina qualcuno solo se vi ha acconsentito o ha pubblicato lui stesso la propria testimonianza; altrimenti bastano le iniziali.",identityAsk:"Questa registrazione nomina o colloca una persona. Rispondi di ciò che pubblichi: nomina qualcuno solo se vi ha acconsentito, o se ha pubblicato lui stesso la propria testimonianza. Altrimenti bastano le iniziali.",identityLastName:"Cognome: {value}",identityFirstNames:"Nome: {value}",identityNameInId:"Nome in un identificativo: {value}",identityNameInText:"Nome nel testo: {value}",identityAddress:"Indirizzo: {value}",identityEmail:"Indirizzo e-mail: {value}",identityPhone:"Numero di telefono: {value}",identityInitials:"Sostituisci con le iniziali",identityKeep:"Salva comunque",identityBack:"Torna indietro",importFile:"Carica un file di osservazione",paramSummaryTitle:"Ciò che indica la registrazione ({n})",wholeKeyframes:"Ogni fotogramma chiave per intero",wholeKeyframesHint:"Altrimenti un fotogramma chiave dice solo ciò che è cambiato dal precedente, come si scrive una registrazione a mano. Cambiare questa scelta svuota la cronologia di annullamento.",importUrlPlaceholder:"https://…/sighting.json",inputFileFromFile:"dal proprio disco",inputFileFromUrl:"da un indirizzo",inputFileModeHint:"Fare clic per darlo nell'altro modo: un proprio file o un indirizzo",inputFileLoad:"Carica",positionRelative:"relativa",positionAbsolute:"assoluta",positionModeHint:"Fare clic per dirla in un altro modo: rispetto a qualcos'altro, o in latitudine e longitudine",positionNoPlace:"La registrazione non ha ancora un luogo: dare prima una latitudine e una longitudine al testimone",positionFrom:"rispetto a",positionObserver:"il testimone",positionEast:"Est",positionNorth:"Nord",positionLatitude:"Latitudine",positionLongitude:"Longitudine",positionLabel:"Posizione",positionBasisHint:"Da dove viene questa posizione",positionBasisStated:"dichiarata",positionBasisEstablished:"accertata",positionBasisMeasured:"misurata",positionBasisDerived:"dedotta",positionBasisAssumed:"supposta",positionBasisFitted:"adattata",positionBasisField:"Base",importError:"Impossibile caricare questa registrazione — controlla il file o l'URL e riprova.",importErrorCors:`Questo indirizzo risponde, ma il browser non ha il permesso di leggerlo da questa pagina. Il file in sé va bene: è il suo server che deve inviarlo con l'intestazione "Access-Control-Allow-Origin: *". Se il server non è tuo, è questo che devi chiedere al suo amministratore.`,importErrorMixedContent:"Una pagina sicura non può caricare un indirizzo che inizia con http://. Usa https:// se quel server lo offre.",importErrorUnreachable:"Nulla ha risposto a questo indirizzo. Controlla come è scritto e di essere connesso.",importErrorStatus:"Quel server ha risposto con un errore ({status}). Probabilmente l'indirizzo è sbagliato o il file è stato spostato.",importErrorMalformed:"Questo indirizzo ha risposto, ma ciò che è tornato non è una registrazione.",formatVersionError:"Questo file indica la versione {found} del suo formato; questo UFO@home legge fino alla versione {supported}. Lo apra con un UFO@home più recente.",record:"Registra",stop:"Ferma",according:"secondo",sourceElevation:"Rilievo",sourceImagery:"Immagini",sourceAircraft:"Traffico aereo",aircraftOwnHint:"Un velivolo che nessun registro riporta (quello di un testimone, un'ipotesi) si inserisce nell'Ambiente, dove riceve la sua traiettoria.",addOwnAircraft:"Aggiungere un velivolo",sourceFile:"File",aircraftGroup:"Aerei",aircraftFlightsColumns:{flight:"Volo",distance:"Distanza",direction:"Direzione",height:"Altezza",altitude:"Quota"},aircraftFlightsIntro:"Candidati compatibili, mai un'identificazione. Scegline uno per guardare verso di lui.",aircraftFlightsDeclaredIntro:"Gli aerei che questa registrazione dichiara nel suo scenario. Scegline uno per guardare verso di lui.",aircraftFlightDeclared:"dichiarato",aircraftFlightDeclaredHint:"Dichiarato nello scenario di questa registrazione, non riportato da un rilevamento del traffico",aircraftFlightAim:"Guarda verso questo volo",aircraftFlightMarked:"Cerchiato sull'immagine: sceglilo di nuovo per togliere l'anello",aircraftFlightLater:"Non è nel cielo in questo momento: sceglilo per andare a quando c'è",aircraftFlightAbsent:"Non è nel cielo durante la registrazione",aircraftFlightNotDrawn:"Non disegnato: troppi aerei sono più vicini",aircraftFlightUnknown:"Tipo sconosciuto",aircraftLoading:"Ricerca degli aerei…",aircraftOutside:"Questo archivio non contiene nulla per questa data.",aircraftByHand:"Cielo inserito a mano (« Cielo dalle fonti » non spuntato): nessun aereo dei registri.",aircraftNone:"Questo archivio non contiene alcun aereo qui in questa data: un'assenza non esclude nulla.",sourceKey:"Chiave API",sourceKeyGet:"Ottieni una chiave",sourceKeyHint:"Conservata in memoria fino al ricaricamento della pagina, mai salvata e inviata solo a questo servizio.",aircraftProblems:{credential:"Chiave assente o rifiutata.",credits:"Nessun credito rimasto su questo account.",rate:"Troppe richieste per ora: riprova tra un minuto.",refused:"Questa richiesta è stata rifiutata: la data potrebbe essere anteriore a quanto consente il tuo piano.",budget:"Questa pagina ha raggiunto il suo limite di spesa: ricaricala per continuare.",network:"Il servizio non è raggiungibile."},aircraftPartial:"Traccia dei {traced} voli più vicini tra i {seen} visti in un raggio di circa {km} km in quel momento: un'assenza non esclude nulla.",aircraftCredits:"Circa {credits} crediti spesi su questa pagina.",sourceKind:"Dati",placeNamePlaceholder:"Valensole, Francia",searchPlace:"Localizza",placeMatch:"Corrispondenze",placeSearching:"Ricerca del luogo…",placeMatchFound:"luogo trovato",placeMatchesFound:"luoghi trovati",placeNotFound:"Nessun luogo con questo nome",placeSearchFailed:"Ricerca dei luoghi momentaneamente non disponibile",utcOffsetNoZone:"Nessun fuso indica questo scarto quel giorno",utcOffsetImplausible:"Questo fuso orario non corrisponde alla longitudine inserita, la cui ora solare è UTC{solar} — eppure la scena e il rilevamento meteo obbediscono a ciò che è dichiarato qui. Svuota il campo per ricavarlo dalla longitudine.",utcOffsetInconsistent:"Incoerente con il luogo: il suo fuso, {zone}, indicava UTC{offset} quel giorno. La scena e la registrazione meteo seguono quanto dichiarato qui, il che è giusto solo se l'ora è stata data su un altro orologio (UTC, per esempio) o se il luogo non seguiva allora le regole di quel fuso.",timeZoneManual:"sconosciuto",altitudeAboveSeaLevel:"Altitudine del testimone sul livello del mare — il suolo del luogo inserito ne fissa il minimo: un testimone sulle Alpi non è a 0 m.",groundAt:"suolo a {m} m",headingPlaceholder:"sconosciuto",edtfInvalid:"Data/ora EDTF non valida (es. 1965-07-01T05:00, 2025-06?, 2025~).",edtfPlaceholder:"AAAA-MM-GGThh:mm[?~%] o hh:mm",observationTimeHint:"EDTF — es. 1965-07-01T05:00, 2025-06? (incerto), 2025~ (approssimativo), o solo 05:00 se la data non è nota",observationEndTimeHint:"EDTF — es. 1965-07-01T05:10, 2025-06? (incerto), 2025~ (approssimativo), o solo 05:10 se la data non è nota",presetsGroupLabel:"Forma dell'UFO",description:"Descrizione",tagsPlaceholder:"separati da virgole",weather:"Meteo",shapeGroup:"Fenomeno",shapesSubgroup:"Forme",bodiesSubgroup:"Corpi",sky:"Cielo",dataSources:"Fonti dei dati",soundGroup:"Suono",close:"Chiudi",editorKicker:"Editor di avvistamento",basisSource:a,witnessError:t,events:i,around:o,expandTracks:"Espandi le tracce",resizeScene:"Trascinare per ingrandire o ridurre la scena (doppio clic: dimensione originale)",viewDragHint:"Alt: la vista di questo solo istante, senza mosso della posa",viewDragHintHeld:"La vista di questo solo istante: la rotazione della fotocamera non è mossa",saveRefused:"Non salvato: {reasons}.",duplicateId:"«{id}» è l'id di più cose ({kinds})",unknownWho:"l'evento n. {n} ({kind}) riguarda «{id}», che nulla ha come id",actorKinds:{observer:"il testimone",shape:"una forma",group:"un gruppo di forme",body:"un corpo",decor:"un oggetto dello scenario"},collapseTracks:"Comprimi le tracce",addKeyframeHere:"Aggiungi un fotogramma chiave qui",keyframeHere:"Qui c'è un fotogramma chiave: modificarlo lo cambia",zoomHint:"Pizzicare o Ctrl + rotella: ingrandire · scorrere di lato o Maiusc + rotella: spostare",overlayHorizon:"Orizzonte · inclinazione {deg}°",overlayHeading:"Orientamento {deg}° · {point}",overlayFov:"Campo visivo {v}° × {h}°",overlayWind:"Soffia verso {point} · {speed} m/s",sectionIdentity:"Identità",sectionProfile:"Profilo",sectionTestimony:"Testimonianza",sectionVision:"Visione",sectionPerception:"Percezione",sectionCoordinates:"Coordinate",sectionGaze:"Sguardo",sectionNightSky:"Cielo notturno",sectionPeriod:"Periodo",sectionSurvey:"Scenario da un rilievo",sectionHeard:"Ciò che è stato udito",sectionSoundRecording:"Registrazione",sectionPicture:"Foto",sectionPose:"Posa",sectionAppearance:"Aspetto",sectionSize:"Dimensioni e distanza",sectionPath:"Traiettoria",moreSettings:"Altre impostazioni ({n})",lessSettings:"Meno impostazioni",showSettings:"Mostra ({n} impostazioni)",showSettingsOne:"Mostra (1 impostazione)",showSettingsAny:"Mostra",hideSettings:"Nascondi",sectionIndex:"Sottosezioni del gruppo",resizeSectionIndex:"Ridimensiona la colonna delle sottosezioni (doppio clic: larghezza predefinita)",save:"Salva",stateNew:"Nuova registrazione",panelIntroObservation:"Cosa è successo, in poche righe, e cosa resta da completare.",panelIntroObserver:"Chi ha visto, e con cosa. Ogni testimone ha il proprio punto di vista nella scena.",panelIntroLocation:"Da dove guardava il testimone, e in quale direzione.",panelIntroTemporal:"Quando è iniziato, quanto è durato, e i momenti del racconto.",panelIntroDecor:"Ciò che circondava il testimone: veicoli, edifici, vegetazione.",panelIntroWeather:"Il tempo che faceva, e ciò che attraversava il cielo senza essere il fenomeno: lanci, fasci.",panelIntroShape:"Ciò che è stato visto, disegnato nella scena dal punto di vista del testimone.",panelIntroSound:"Ciò che è stato udito.",panelIntroReference:"Foto e schizzi, allineati alla scena per confrontarla.",panelIntroFile:"La registrazione completa, da salvare o ricaricare.",temporalGroup:"Data",fileGroup:"File",fileLoading:"Caricamento dell'editor…",weatherEditedAsk:"Questa modifica tocca il meteo, un dato letto dinamicamente da {source}. Vuoi smettere di leggerlo da {source}?",weatherEditedStop:"Smetti di leggerlo",weatherEditedKeep:"Continua a leggerlo (annulla la mia modifica)",fileEditorLabel:"La registrazione come testo JSON",fileSearchPhrases:{Find:"Cerca",Replace:"Sostituisci",next:"successivo",previous:"precedente",all:"tutti","match case":"maiuscole","by word":"parola intera",regexp:"regexp",replace:"sostituisci","replace all":"sostituisci tutto",close:"chiudi","current match":"corrispondenza corrente","on line":"alla riga","replaced $ matches":"$ corrispondenze sostituite","replaced match on line $":"corrispondenza sostituita alla riga $","Go to line":"Vai alla riga",go:"vai"},timeQualifierExact:"Esatta",durationPrecise:"precisa",durationIso:"imprecisa",durationModeTitle:"Dire la durata esattamente, o come è stata enunciata: circa, tra due durate",durationInvalid:"Non è una durata: PT10M, PT1H30M, PT5M/PT10M…",durationHelpTitle:"Che cosa accetta il testo (EDTF)",durationHelpLines:`PT45S — 45 secondi
2
+ PT10M — 10 minuti
3
+ PT1H30M — 1 ora 30 minuti
4
+ PT5M/PT10M — tra 5 e 10 minuti
5
+ Terminare con ? se incerto, ~ se approssimativo, % per entrambi
6
+ 1965-?07 — il dubbio può riguardare anche una parte`,durationChosen:"(simulata: {value})",accountView:"Resoconto",accountView2d:"2D · forme",accountView3d:"3D · corpi",accountViewHint:"Ciò che mostra il render e ciò che si modifica: le forme che il testimone ha disegnato, o i corpi che ha detto che fossero",accountCompare:"Confronta con il resoconto",accountCompareHint:"Disegna a puntini, accanto ai corpi, le forme che il testimone ha disegnato",datePrecise:"precisa",dateEdtf:"imprecisa",dateHelpTitle:"Che cosa accetta il testo (EDTF)",dateHelpLines:`1965 — un anno
7
+ 1965-07 — un mese
8
+ 1965-21 — una stagione (21 primavera, 22 estate, 23 autunno, 24 inverno)
9
+ 1965-07-01 — un giorno
10
+ 1965-07-01T05:00 — un giorno e un'ora
11
+ 05:00 — un'ora, data sconosciuta
12
+ Terminare con ? se incerto, ~ se approssimativo, % per entrambi`,edtfModeTitle:"Scrivi invece una data imprecisa: solo un anno, un mese, un'ora senza data",locationGroup:"Luogo",observerTab:"Testimone",observationGroup:"Riepilogo",weatherWhilePlaying:"Metti in pausa la registrazione per indicare il tempo — mentre scorre, l'istante in cui verrebbe scritto si sposta",weatherInferred:"Fonte",weatherInferredTitle:"Il meteo non è un resoconto: è un fatto misurabile, rilevato per la data, l'ora e il luogo dell'osservazione. Deseleziona per indicare le condizioni riferite dal testimone, che allora prevalgono sul rilevamento.",weatherLookingUp:"Ricerca del rilevamento…",weatherNeedsDateAndPlace:"Servono una data completa e un luogo per cercare il rilevamento",weatherNeedsDate:"Serve una data completa (anno, mese e giorno) per cercare i rilevamenti meteo",weatherNeedsPlace:"Serve un luogo con coordinate per cercare i rilevamenti meteo",weatherNoRecord:"Nessun rilevamento per questa data e questo luogo",weatherLookupFailed:"Rilevamenti meteo momentaneamente irraggiungibili",lightPollutionLookingUp:"Consultazione dell'atlante…",lightPollutionFound:"{artificial} µcd/m² di luce artificiale,",lightPollutionNatural:"Nessuna luce artificiale qui,",lightPollutionOutside:"Fuori dall'atlante (da 85°N a 60°S),",lightPollutionFailed:"Atlante al momento irraggiungibile",lightPollutionTooEarly:"L'atlante descrive il {atlasYear}; il cielo del {year} era più buio, indicarlo se è noto",instrumentOutOfPeriod:"{name} — non di quest'epoca",instrumentCategoryEye:"Occhio nudo",instrumentCategoryCamera:"Fotocamere",instrumentCategoryDslr:"Reflex digitali",instrumentCategoryPhone:"Telefoni",instrumentCategoryVideo:"Videocamere",instrumentCategoryBinoculars:"Binocoli",instrumentCategoryTelescope:"Telescopi",instrumentNotYetOnSale:"Non esisteva ancora nel {year} (in vendita dal {from})",instrumentNoLongerOnSale:"Non esisteva più nel {year} (in vendita fino al {to})",filterNotForInstrument:"Non utilizzabile con questo strumento",unitMillimetres:"mm",unitDegrees:"°",fieldOfViewReadout:"{deg}° di campo",soundSrcPlaceholder:"URL di una registrazione reale",referenceGroup:"Foto",reference:"Foto",referenceTitle:"Nome",referenceSrc:"Immagine",referenceSrcPlaceholder:"https://…/photo.jpg",referenceKind:"Tipo",referencePhoto:"Foto",referencePanorama:"Panorama (360°)",filmStock:"Pellicola",filmStockAny:"non precisata",filmStockNotYet:"non in vendita prima del {from}",filmStockNoLonger:"non più in vendita dopo il {to}",referenceVideo:"Video",referenceVideoT:"Inizia a",referenceVideoFrom:"Dal secondo del file",referenceVideoTo:"Al secondo del file",referenceVideoRate:"Velocità del file",referenceRemoveKey:"Togliere l'allineamento di questo istante",referenceCredit:"Crediti",referenceCreditUrl:"Link dei crediti",referenceT:"Scattata a",referenceDrawing:"Disegno sopra",referenceOpacity:"Opacità",referenceHeading:"Direzione",referencePitch:"Beccheggio",referenceRoll:"Rollio",referenceFov:"Campo verticale",referenceUsePose:"Usa la posa del testimone",addReferenceUrl:"Da un indirizzo",addReferenceFile:"Da un file",deleteReference:"Elimina foto",referenceEmbedded:"{kb} kB incorporati nella registrazione — un indirizzo la terrebbe leggera",referenceUnreachable:"Impossibile caricare la foto: il suo sito non risponde. Controlla l'indirizzo.",referenceNotShared:"Il sito della foto non permette ad altri siti di leggerla (nessuna autorizzazione CORS): salva la foto, poi aggiungila come file.",referenceNotFound:"Il sito della foto ha risposto con un errore ({status}): controlla l'indirizzo.",referenceNotPicture:"Ciò che si trova a questo indirizzo non è un'immagine che il browser sa leggere.",referenceNotVideo:"Ciò che si trova a questo indirizzo non è un video che il browser sa leggere.",referenceRegisterHint:"Trascina per ruotare la foto, rotellina per cambiarne il campo; «Aggiungi un punto di riferimento» per indicare un dettaglio sulla foto, poi lo stesso nel rendering",referenceLandmarkPicture:"Punto di riferimento {n}: clicca il punto sulla foto",referenceLandmarkScene:"Punto di riferimento {n}: clicca lo stesso punto nel rendering",referenceLandmarkOffPicture:"Questo clic non cade sulla foto",referenceNotLoaded:"La foto non è ancora arrivata",referenceLandmarksFit:"{n} punti di riferimento — scarto medio di {deg}°",referenceLandmarks:"Punti di riferimento",addReferenceLandmark:"Aggiungi un punto di riferimento",deleteReferenceLandmark:"Elimina punto di riferimento",referenceLandmarkLabel:"Nome",referenceLandmarkLabelPlaceholder:"Albero che copre, recinzione…",referenceAdoptPose:"Adotta come posa del testimone",referenceAdoptRationale:"Misurato sulla foto «{title}»: {n} punti di riferimento allineati, {deg}° di scarto residuo",referenceStreetSearch:"Foto stradali nei dintorni",referenceStreetNoPlace:"Dai prima un luogo alla registrazione: le foto si cercano intorno",referenceStreetSearching:"Ricerca di foto scattate nei dintorni…",referenceStreetNone:"Nessuna foto stradale entro {m} m (Panoramax)",referenceStreetFailed:"Impossibile raggiungere Panoramax",referenceStreetAdd:"Aggiungi",traceImport:"Tracciati dell'investigatore",traceImportHint:"KML, KMZ, GeoJSON",trace:"Tracciato",deleteTrace:"Elimina il tracciato",traceTitle:"Nome",traceSource:"Fonte",traceImported:"{n} importato/i da {name}.",traceSkipped:"Escluso: {what}.",traceNone:"Nessuna linea, luogo o contorno in questo file.",traceFailed:"Impossibile leggere questo file.",traceKindPoint:"luogo",traceKindLine:"linea",traceKindPolygon:"contorno",referenceStreetItem:"{distance} m a {bearing}°, {date}{panorama}",referenceStreetPanorama:" — 360°",referenceStreetTitle:"Foto stradale a {distance} m a {bearing}°, {date}",skyLine:"Cielo: {parts}",skyStarsEye:"stelle fino alla magnitudine {limit}, il limite che un occhio raggiungeva sotto questo cielo",skyStarsDeeper:"stelle fino alla magnitudine {limit} attraverso un {device} — {gain} magnitudini oltre le {eye} raggiunte dagli occhi del testimone",skyStarsShallower:"stelle fino alla magnitudine {limit} attraverso un {device} — {gain} magnitudini al di qua delle {eye} raggiunte dagli occhi del testimone",skyStarsCatalogue:", disegnate fino a {catalogue}, dove si ferma il catalogo di questo progetto",skyStarsNone:"nessuna stella si distingueva in un cielo così chiaro",skyDetails:"Mostra i rilevamenti completi",skyDetailsHide:"Nascondi i rilevamenti",skyShowerActive:"{name} — radiante a {altitude}° sopra l'orizzonte, {bearing} — circa {rate}/h sotto questo cielo, su un fondo sporadico di {sporadic}/h",skyShowerBelowHorizon:"{name} è attivo, ma il suo radiante è sotto l'orizzonte — non ha potuto produrre nulla",skyNothingActive:"nessuno sciame meteorico attivo in questa data — un fondo sporadico di circa {sporadic}/h",showMeteor:"Mostrami una meteora",noMeteor:"Nessuna meteora visibile",noComet:"Nessuna cometa visibile",noNova:"Nessuna stella nuova visibile",noSatellite:"Nessun satellite visibile",noFireball:"Nessun bolide visibile",skyComet:"La {name}, magnitudine {magnitude}, a {altitude}° sopra l'orizzonte {bearing}, coda lunga {tail}°",skyCometNoTail:"La {name}, magnitudine {magnitude}, a {altitude}° sopra l'orizzonte {bearing}",skyCometBelowHorizon:"La {name} c'era, di magnitudine {magnitude}, ma sotto l'orizzonte — nessuno qui l'ha vista",skyCometInDaylight:"La {name}, magnitudine {magnitude}, a {altitude}° sopra l'orizzonte {bearing} — ma a soli {elongation}° dal Sole",showComet:"Mostrami la cometa",skyNova:"La {name}, una stella nuova di magnitudine {magnitude}, a {altitude}° sopra l'orizzonte {bearing}",skyNovaBelowHorizon:"La {name} brillava di magnitudine {magnitude}, ma sotto l'orizzonte: nessuno qui l'ha vista",showNova:"Mostrami la stella nuova",skyEclipsePartial:"Eclissi di Sole: la Luna nasconde il {percent} % del Sole alle {time}, a {altitude}° sopra l'orizzonte {bearing}",skyEclipseTotal:"Eclissi totale di Sole: il Sole è interamente nascosto dalle {time} per {duration}, a {altitude}° sopra l'orizzonte {bearing}",skySupermoon:"Luna piena a {distance} km: {diameter}° di larghezza, il {percent} % in più che alla distanza media — una «superluna», e non più grande all'orizzonte che in alto",skyMicromoon:"Luna piena a {distance} km: {diameter}° di larghezza, il {percent} % in meno che alla distanza media — una «microluna», e non più piccola all'orizzonte che in alto",skyRedMoon:"La «lune rousse»: la Luna piena della lunazione che segue la Pasqua, a {altitude}° sopra l'orizzonte {bearing} — bassa, quindi arrossata dall'aria che attraversa, e né più grande né più luminosa di un'altra",skySatellitePasses:"{count} satelliti hanno attraversato questo cielo abbastanza luminosi da essere visti, il più luminoso {name}, magnitudine {magnitude}, a {altitude}° sopra l'orizzonte {bearing} alle {time}",skySatellitePassesOne:"un satellite ha attraversato questo cielo abbastanza luminoso da essere visto: {name}, magnitudine {magnitude}, a {altitude}° sopra l'orizzonte {bearing} alle {time}",skySatelliteTrain:"tra cui un treno di {count} Starlink lanciati il {date}",skySatellitePassesNone:"secondo gli elementi orbitali archiviati per quella data, nessun satellite illuminato ha attraversato questo cielo abbastanza luminoso da essere visto",skySatelliteElementsGap:"nessun elemento orbitale archiviato vicino a quella data",skyReentries:"rientri registrati: {list}",skyReentriesMore:"altri {count}",skyReentrySeen:"{name} è ricaduto alle {time}, visto da {place} (a {distance} km)",skyReentryObserved:"{name} è ricaduto alle {time}, visto",skyReentryOffset:", a {minutes} min dall'osservazione",skyReentryPredicted:"{name} è ricaduto verso le {time} ± {hours} h, non si sa dove",skyReentryDay:"{name} è ricaduto il {date} (UTC), senza ora né luogo noti",skyFireballs:"{count} bolidi registrati dalla Global Meteor Network, il più luminoso di magnitudine {magnitude} alle {time}, a {altitude}° di altezza {bearing}, a {distance} km ({stations} stazioni)",skyFireballsOne:"un bolide registrato dalla Global Meteor Network: magnitudine {magnitude} alle {time}, a {altitude}° di altezza {bearing}, a {distance} km ({stations} stazioni)",showFireball:"Mostrami il bolide",showSatellite:"Mostrami un satellite",skyOpticsPossible:"nubi di ghiaccio sufficienti, intorno {source}, per {forms}",skyOpticsAlignment:" — tutto tranne gli anelli richiede cristalli che cadono orizzontali, qui supposti allineati al {alignment}%, poiché nessun rilevamento lo indica",skyOpticsHalo22:"un anello di {angle}°",skyOpticsHalo46:"un anello di {angle}°",skyOpticsParhelia:"pareli a {angle}° da entrambi i lati",skyOpticsTangentArc:"un arco tangente sopra",skyOpticsParhelicCircle:"un cerchio bianco che fa il giro del cielo alla sua stessa altezza",skyOpticsCircumzenithal:"un arco circumzenitale a {angle}° di altezza",skyOpticsCircumhorizontal:"un arco circumorizzontale molto più in basso",skyOpticsPillar:"una colonna eretta sopra",skyOpticsNoIce:"nessuna nube di ghiaccio: né alone né pareli",skyOpticsHidden:"nubi di ghiaccio in quota, ma uno strato più basso tra loro e il testimone",skyOpticsSun:"al Sole",skyOpticsMoon:"alla Luna",skyBowPossible:"pioggia e sole sufficienti per {forms}",skyBowMoon:"pioggia sotto una Luna illuminata al {lit}%, sufficiente per {forms} — un arcobaleno lunare, che l'occhio vede come un arco bianco",skyGlowBand:"la Via Lattea a {contrast}× il fondo del cielo, a {altitude}° di altezza {bearing}",skyGlowCone:"la luce zodiacale a {contrast}× il fondo del cielo, a {altitude}° di altezza {bearing}, a {elongation}° dal Sole — un tenue cono di luce inclinato, dai bordi sfumati, svanito entro un'ora",skyGlowZodiacalBand:"la banda zodiacale a {contrast}× il fondo del cielo, a {altitude}° di altezza {bearing} — tutta l'eclittica debolmente accesa, che non è ciò che la gente riferisce",skyGlowMoon:"né Via Lattea né luce zodiacale: una Luna illuminata al {lit}% teneva il cielo a {sky} magnitudini per secondo d'arco quadrato, dove ne servono 22",skyGlowTwilight:"né Via Lattea né luce zodiacale: il crepuscolo teneva ancora il cielo a {sky} magnitudini per secondo d'arco quadrato, dove ne servono 22",skyGlowTowns:"né Via Lattea né luce zodiacale: il bagliore delle città teneva il cielo a {sky} magnitudini per secondo d'arco quadrato, dove ne servono 22",skyGlowNothingUp:"cielo abbastanza buio ({sky} magnitudini per secondo d'arco quadrato), ma né il piano galattico né l'eclittica vi stavano abbastanza in alto",skyBowPrimary:"un arco di {radius}° di raggio, con la sommità a {top}° di altezza",skyBowSecondary:"un secondo, più tenue, a {radius}°, con i colori invertiti",skyBowSourceTooHigh:"pioggia, ma con l'astro a {altitude}° di altezza nessun arco poteva superare l'orizzonte: si trovano a {radius}° dal punto opposto",skyBowHidden:"pioggia, ma uno strato continuo tra essa e la luce: nessun arco",skyBowNoSource:"pioggia, e niente di illuminato per farne un arco",skySatellitesLit:"l'ombra della Terra era a {height} km sopra il testimone, quindi l'orbita bassa era ancora al sole — {count} oggetti catalogati erano in orbita quel mese",skySatellitesLitWith:"l'ombra della Terra era a {height} km sopra il testimone, quindi l'orbita bassa era ancora al sole — {count} oggetti catalogati erano in orbita quel mese, tra cui {eras}",skySatellitesShadowed:"l'ombra della Terra era a {height} km sopra il testimone: dei {count} oggetti catalogati in orbita quel mese, niente in orbita bassa era illuminato",skySatellitesNotYet:"non era ancora stato messo niente in orbita",skySatellitesDaylight:"tutto ciò che era in orbita era illuminato, come sempre di giorno, e {eras} potevano superare in luminosità persino questo cielo",skySatellitesDaylightOne:"tutto ciò che era in orbita era illuminato, come sempre di giorno, e {eras} poteva superare in luminosità persino questo cielo",skyUnknown:"non determinabile senza una data e un luogo",skyByHand:"cielo inserito a mano: nessuna meteora, bolide, rientro, satellite o aereo oltre a quelli che dice la registrazione",skySources:"Cielo dalle fonti",skySourcesHint:"Spuntato, il cielo contiene, oltre a ciò che dice la registrazione, ciò che le fonti sanno di quella data e di quel luogo: le meteore degli sciami e il fondo sporadico, i bolidi registrati da una rete di telecamere, i rientri noti, i satelliti tracciati, gli aerei di un registro del traffico aereo. Non spuntato, contiene solo ciò che dice la registrazione. Spuntato o no, tutto si può aggiungere a mano: una meteora o un altro rientro in Rientri, dove è apparso e per quanto tempo, un velivolo nell'Ambiente, un lancio, un fascio.",lookAtDecor:"Guardalo",addDecor:"Aggiungi",deleteDecor:"Elimina elemento della scenografia",undo:"Annulla",redo:"Ripristina",viewAccount:"Vedi il resoconto",noObserverRecording:"Nessun URL di registrazione per questo testimone",masks:"Nasconde",masksNone:"Nessun fenomeno da nascondere per ora",masksBodyFully:"nascosto da questo oggetto",masksBodyPartly:"nascosto al {share} % da questo oggetto",masksBodyNot:"non nascosto da questo oggetto",modelPickerTitle:"Scegliere un modello 3D",modelPickerClose:"Chiudere",modelPickerChoose:"Scegliere un modello 3D",modelPickerUse:"Usa questo modello",modelPickerIncomplete:"Non disegnato finché non sono indicati il nome e la licenza del modello",addObserver:"Aggiungi testimone",surveyLabel:"Scenografia ricavata da un rilievo",surveySource:"Scenografia da",surveyDated:"Rilevato il: {dates}.",surveyLaserLabel:"laser",surveyPhotoLabel:"foto aerea",surveyMapLabel:"carta",surveyLampsLabel:"OpenStreetMap",surveyWarning:"⚠ Questa scenografia viene da rilievi del {survey}, successivi all'osservazione ({observation}): non è ciò che c'era allora. Teneteli come riferimento, o eliminateli.",surveyRadius:"Raggio",surveyRadiusTitle:"Fino a dove intorno al testimone si interroga il rilievo, in metri. Un raggio più ampio porta edifici, ponti e linee più lontani; gli alberi vengono dal laser, che si interroga solo entro 150 m.",surveySourceTitle:"Il rilievo da cui sono ricavati, da soli, gli alberi, gli edifici, i ponti e le linee aeree attorno al luogo quando date un luogo alla registrazione: sono messi nell'elenco, al loro posto, con altezza e larghezza misurate. Le coordinate del luogo sono inviate a quel servizio. Nessuno lascia la scenografia a voi soli. Ciò che avete collocato voi non viene mai toccato.",surveySourceNone:"Nessuno (tutto a mano)",surveyBusy:"Ricerca della scenografia attorno al testimone…",surveyDone:"Da {source}: alberi {trees}, edifici {buildings}, ponti {bridges}, linee elettriche {lines}. Sono quelli del giorno del rilievo, non della registrazione: teneteli, spostateli o eliminateli.",surveyNone:"Nessun albero, edificio, ponte né linea elettrica trovato entro {radius} m.",surveyKept:"Ciò che avete collocato voi resta com'è.",surveyUnreachable:"Impossibile raggiungere il rilievo. Riprovate più tardi.",surveyFurniturePending:"Illuminazione pubblica e semafori: in attesa di OpenStreetMap…",surveyFurnitureDone:"Da {source}: lampioni {lamps}, semafori {signals}, attraversamenti {crossings}, segnali {signs}.",surveyFurnitureUnavailable:"Illuminazione pubblica e semafori non disponibili per ora: OpenStreetMap non risponde.",surveyFurnitureRetry:"Riprova",narrativePlaceholder:"Ciò che il testimone ha riferito, con parole sue",narrativeSource:"Redatto da",narrativeNeedsSetting:'Compila "{setting}" ({source}) per generare una ricostruzione dal resoconto',narrativeNeedsAsk:"Ancora niente da inviare",narrativeDraft:"Genera ricostruzione",narrativeStop:"Ferma",narrativeWorking:"Lettura del resoconto…",narrativeApplied:"{count} campi scritti nell'editor",narrativeUnchanged:"Il resoconto non dice ancora nulla che la registrazione possa contenere",narrativeStated:"Ciò che il testimone ha detto",narrativeDerived:"Ricavato dal resoconto",narrativeAssumed:"Supposto, perché la ricostruzione funzioni — da verificare",narrativeGaps:"Ciò che niente ha potuto stabilire",narrativeErrorCredential:"Nessuna chiave, o una chiave rifiutata — controllala su console.anthropic.com",narrativeErrorRateLimited:"Troppe richieste sul tuo account: aspetta un momento e richiedi",narrativeErrorRefused:"Il resoconto non ha avuto risposta. Riformularlo può aiutare; richiederlo no",narrativeErrorMalformed:"La risposta non era una bozza utilizzabile — vale la pena richiederla ancora una volta",narrativeErrorUnreachable:"Nulla ha risposto: controlla la connessione",narrativeErrorRejected:"Rifiutato: {detail}",observerAge:"Età allora",observerBirth:"Nato il",observerOccupation:"Professione",accountSource:"Resoconto raccolto",accountUrl:"Fonte",accountUrlHint:"Indirizzo web (URL) dove è pubblicato il racconto",accountSourceUnknown:"sconosciuto",accountSourceOnSite:"indagine sul posto",accountSourceInterview:"colloquio di persona",accountSourceTelephone:"per telefono",accountSourceQuestionnaire:"questionario",accountSourceLetter:"l'ha scritto il testimone",accountSourceSocialMedia:"l'ha pubblicato il testimone in rete",accountSourcePress:"stampa o radiotelevisione",accountFollowedUp:"Ricontattato",accountEvaluation:{occupationKind:"Categoria",occupationKindHint:"Ciò che i metodi di valutazione classificano; per un pensionato, il mestiere che svolgeva",occupationKinds:{student:"alunno, prima dell'università",worker:"operaio",farmer:"agricoltore",homemaker:"casalinga",merchant:"commerciante",business:"imprenditore",employee:"impiegato",artist:"artista",technician:"tecnico",police:"poliziotto, carabiniere",pilot:"pilota",military:"militare"},graduate:"Laureato",enquiryMinutes:"Durata dell'inchiesta",enquiryMinutesHint:"Tempo passato dall'inquirente con il testimone: sul posto, di persona o al telefono",relation:"Legame tra testimoni",relations:{friends:"amici",family:"famiglia",professional:"colleghi",none:"nessuno"},activity:"Attività",activities:{leisure:"svago, riposo",travelling:"in viaggio",cultural:"culturale o intellettuale",working:"al lavoro o nel tragitto di lavoro"},strangenessSection:"Stranezza",strangenessIntro:"Ciò che resta inspiegato una volta esaminato il racconto, a giudizio degli inquirenti: i sette fattori di Ballester-Olmos e Guasp.",factors:{appearance:"Aspetto anomalo",movement:"Movimenti anomali",incongruity:"Incongruenze fisico-spaziali",detection:"Rilevamento tecnologico",close:"Incontro ravvicinato",beings:"Esseri associati",traces:"Tracce o effetti"},factorHints:{appearance:"Forma o dimensione di nessun aeromobile identificabile, o luci la cui intensità o disposizione le distinguono da quelle consuete",movement:"Velocità o accelerazioni oltre quelle degli aerei più veloci, traiettoria spezzata o elicoidale, discesa a foglia morta",incongruity:"Comparsa o scomparsa sul posto, due oggetti che si fondono in uno, oggetto che si deforma, «luce solida»",detection:"Visto o registrato da uno strumento: radar, telescopio, teodolite, foto, film, video, spettro, suono. Vuoto, secondo lo strumento della registrazione",close:"Entro circa 150 m. Vuoto, secondo la distanza che la scena ricava",beings:"Esseri visti con un oggetto anomalo per aspetto, movimenti o un'incongruenza. Vuoto, secondo gli esseri che la scena colloca",traces:"Tracce fisiche o chimiche lasciate, effetti su persone, macchine o circuiti elettrici"},fromRecording:"dedotto",unknown:"non si sa",yes:"sì",no:"no",minutes:"min"},accountUnknown:"sconosciuto",accountYes:"sì",accountNo:"no",questionUnanswered:"Nulla in questa registrazione risponde a una delle domande che una ricostruzione deve risolvere",durationRequired:"L'osservazione ha bisogno di una durata per poter essere riprodotta — indicala, o un'ora di fine, che può essere approssimativa",questionsUnanswered:"{count} delle domande a cui risponde una ricostruzione completa restano qui senza risposta",emptyDecor:"Nessun elemento della scenografia",emptyMilestones:"Nessun momento",emptyReferences:"Nessuna foto",emptyReferenceLandmarks:"Nessun punto di riferimento",emptyTraces:"Nessun tracciato dell'investigatore",emptyShapes:"Nessuna forma",addReference:"Aggiungi una foto",principalObserver:"Testimone di questo resoconto",deleteObserver:"Elimina il testimone",observerAgeUnit:"anni",observerOccupationExample:"fornaio, pilota di linea…",rollHint:"Di quanto lo strumento era inclinato attorno alla propria linea di mira, positivo in senso orario, come lo vedeva il testimone",utcOffsetHint:"Ore di anticipo su UTC all'orologio del testimone: l'ora legale, che la longitudine non può conoscere (la Francia era a UTC+1 nel 1965)",highCloudCoverHint:"Quanta parte del cielo copriva lo strato alto e ghiacciato: ciò che rifrange un alone o una coppia di pareli",cloudBaseHint:"Altezza della base dello strato nuvoloso sopra il suolo: decide se il testimone è sotto lo strato o sopra",windDirectionHint:"La direzione VERSO cui soffia il vento, in senso orario dal nord vero: l'opposto della convenzione meteorologica delle previsioni",soundPitchHint:"Quanto il suono era grave o acuto: la nota stessa per un ronzio o un fischio, quanto è basso il rumore per un rombo o un crepitio",brightnessHint:"Quanto il testimone l'ha detto abbagliante: una luce che non si può guardare fa tre cose che un alone non fa mai",blurHint:"Quanto il testimone ha detto indistinti i suoi bordi: non la profondità di campo dell'obiettivo, che qui non tocca mai l'oggetto",apparentWidthHint:"Quanto sembrava largo, in gradi: ciò che la registrazione afferma della sua dimensione",realWidthHint:"Quanto misura quell'angolo in metri alla distanza accanto. Dedotto, mai salvato",objectDistanceHint:"A quale distanza lungo la sua linea di mira è disegnata la forma: ciò che decide cosa ne nasconde lo scenario. Un'ipotesi, mai ciò che dice il testimone",sizeLockHint:"Quale delle tre resta fissa mentre se ne modifica un'altra"};export{r as sightingEditorMessages_it};
@@ -1,4 +1,4 @@
1
- import{at as _,au as G,av as y,aw as E,ax as q,ae as W,ay as N,az as K,ap as Z,aq as J,c as U,s as Q,U as X,aA as Y,aB as ee,aC as te,y as se,z as ie,aD as ne,aE as $,a as D,aF as oe,aG as ae,i as S,C as m,ad as P,ao as M,aH as re,aI as H,aJ as he,P as le,aK as de,aL as ce,aM as z,an as V,ar as pe}from"./rr0-sighting-editor.mjs";const ue=`
1
+ import{au as _,av as G,aw as y,ax as E,ay as q,ae as W,az as N,aA as K,aq as Z,ar as J,c as U,s as Q,U as X,aB as Y,aC as ee,aD as te,y as se,z as ie,aE as ne,aF as $,a as D,aG as oe,aH as ae,i as S,C as m,ad as P,ap as M,aI as re,aJ as H,aK as he,P as le,aL as de,aM as ce,aN as z,ao as V,as as pe}from"./rr0-sighting-editor.mjs";const ue=`
2
2
  <div class="toolbar" id="toolbar" hidden>
3
3
  <!-- The case this account belongs to, when it was read from one: an observation of a case is shown in its frame, not as a lone
4
4
  recording (the info panel also lists it, but behind a button nobody opens to find out where they are). -->
@@ -689,5 +689,5 @@ ${_.CSS}
689
689
  padding-left: 1.2em;
690
690
  }
691
691
  `;class u{static PLAIN=/^\d+(?:[.,]\d+)?$/;static COLONS=/^(?:(\d+):)?(\d{1,2}):(\d{1,2}(?:[.,]\d+)?)$/;static UNITS=/^(?:(\d+(?:[.,]\d+)?)h)?(?:(\d+(?:[.,]\d+)?)m)?(?:(\d+(?:[.,]\d+)?)s)?$/i;static CLOCK=/^(?:(\d{4})-(\d{2})-(\d{2})[T ])?T?(\d{1,2}):(\d{2})(?::(\d{2}(?:[.,]\d+)?))?$/;static num(e){return e===void 0?0:Number(e.replace(",","."))}static delta(e){const t=(e??"").trim();if(t==="")return;if(u.PLAIN.test(t))return u.num(t);const i=u.COLONS.exec(t);if(i){const[,n,o,a]=i;return Number(o)>=60||u.num(a)>=60?void 0:u.num(n)*3600+Number(o)*60+u.num(a)}const s=u.UNITS.exec(t);return s&&(s[1]!==void 0||s[2]!==void 0||s[3]!==void 0)?u.num(s[1])*3600+u.num(s[2])*60+u.num(s[3]):/^P/i.test(t)?G.seconds(t.toUpperCase()):void 0}static isClock(e){return u.clock(e)!==void 0}static clock(e){const t=u.CLOCK.exec((e??"").trim());if(!t)return;const[,i,s,n,o,a,r]=t,h={hour:Number(o),minute:Number(a),second:u.num(r)};if(!(h.hour>=24||h.minute>=60||h.second>=60)){if(i!==void 0){const c={year:Number(i),month:Number(s),day:Number(n)};if(c.month<1||c.month>12||c.day<1||c.day>31)return;h.date=c}return h}}static elapsedSince(e,t){if(!e||e.hour===void 0||e.minute===void 0)return;const i=e.hour*3600+e.minute*60+(e.second??0),s=t.hour*3600+t.minute*60+t.second;if(t.date){if(e.year===void 0||e.month===void 0||e.day===void 0)return;const o=Date.UTC(t.date.year,t.date.month-1,t.date.day)/1e3+s,a=Date.UTC(e.year,e.month-1,e.day)/1e3+i;return Math.max(0,o-a)}let n=s-i;return n<=-43200&&(n+=86400),Math.max(0,n)}}z();V.register();const T=pe.home(),k="compare-account",I="start-time",j="start-clock",w="observer",A="case-named",L="show-info",B="interpretation",x="hide-pickers",C="case",g="account",O="variant-",R=`${T}/edit/`;class v extends HTMLElement{static get observedAttributes(){return["src","show-labels",L,x,B,A,I,j,w,y,E,k]}shadow;sceneElement;toolbarElement;accountElement;accountPrefix;caseOfElement;observerText;observerSelect;infoButton;infoPanel;infoAppLink;editLink;readingFindingsElement;readingSensible=!1;readingCheck;bestCases;readingScene=!1;readingEntry;static VERDICT_COLOURS={incompatible:"#e04848",unsettled:"#e08a2c",compatible:"#2e9d5b"};infoObservationHeading;infoObservationList;infoCreditsToggle;infoCreditsList;infoCloseButton;shareButton;shareMessages;shareDialog;shareStartOn;shareStart;shareScopeRow;shareScopeLabel;shareScope;shareOpensRow;shareOpensLabel;shareOpens;shareStartLabel;shareOptions;labelsToggle;paramSummary;summaryBuilder;summarySignature="";assessmentEntries=[];assessmentToken=0;supportsPopover=typeof HTMLElement.prototype.showPopover=="function";entries=[];caseSource;interpretationChoice;interpretationLabel;interpretationSelect;confrontationElement;confrontationHeading;confrontationList;compareButton;variantChips;variantMoved;interpretationLoaders=new Map;interpretationToken=0;shownInterpretation;offeredFor;currentSrc;infoOpen=!1;creditsOpen=!1;labelsShown=!1;language="en";messages;ready=Promise.resolve();constructor(){super(),this.shadow=this.attachShadow({mode:"open"});const e=document.createElement("template");e.innerHTML=`<style>${me}</style>${ue}`,this.shadow.appendChild(e.content.cloneNode(!0)),customElements.upgrade(this.shadow),this.sceneElement=document.createElement(q),this.forwardPlayerAttributes(),this.sceneElement.ufoElement.creditShownExternally=!0,this.sceneElement.ownCredits=!1,this.shadow.getElementById("ufo-slot").replaceWith(this.sceneElement),this.toolbarElement=this.shadow.getElementById("toolbar"),this.accountElement=this.shadow.getElementById("account"),this.accountPrefix=this.shadow.getElementById("account-prefix"),this.caseOfElement=this.shadow.getElementById("case-of"),this.observerText=this.shadow.getElementById("observer-text"),this.observerSelect=this.shadow.getElementById("observer"),this.infoButton=this.shadow.getElementById("info-button"),this.infoPanel=this.shadow.getElementById("info-panel"),this.infoAppLink=this.shadow.getElementById("info-app-link"),this.editLink=this.shadow.getElementById("edit-link"),this.infoObservationHeading=this.shadow.getElementById("info-observation-heading"),this.infoObservationList=this.shadow.getElementById("info-observation-list"),this.infoCreditsToggle=this.shadow.getElementById("info-credits-toggle"),this.infoCreditsList=this.shadow.getElementById("info-credits-list"),this.infoCloseButton=this.shadow.getElementById("info-close"),this.labelsToggle=this.shadow.getElementById("labels-button"),this.paramSummary=this.shadow.getElementById("param-summary"),this.labelsToggle.addEventListener("click",()=>{this.showLabels=!this.showLabels}),this.shareButton=document.createElement("button"),this.shareButton.type="button",this.shareButton.id="share-button",this.shareButton.setAttribute("aria-haspopup","dialog"),this.shareButton.innerHTML=W.SHARE,this.sceneElement.ufoElement.addControl(this.shareButton),this.shareDialog=this.shadow.getElementById("share-dialog"),this.shareDialog.subject=this.shareSubject,this.shareStartOn=this.shadow.getElementById("share-start-on"),this.shareStart=this.shadow.getElementById("share-start"),this.shareStartLabel=this.shadow.getElementById("share-start-label"),this.shareScopeRow=this.shadow.getElementById("share-scope-row"),this.shareScopeLabel=this.shadow.getElementById("share-scope-label"),this.shareScope=this.shadow.getElementById("share-scope"),this.shareOpensRow=this.shadow.getElementById("share-opens-row"),this.shareOpensLabel=this.shadow.getElementById("share-opens-label"),this.shareOpens=this.shadow.getElementById("share-opens");const t=s=>({input:this.shadow.getElementById(`share-opt-${s}`),label:this.shadow.getElementById(`share-opt-${s}-label`)});this.shareOptions={labels:t("labels"),map:t("map"),milestones:t("milestones"),compare:t("compare")},this.interpretationChoice=this.shadow.getElementById("interpretation-choice"),this.interpretationLabel=this.shadow.getElementById("interpretation-label"),this.interpretationSelect=this.shadow.getElementById("interpretation"),this.confrontationElement=this.shadow.getElementById("confrontation"),this.confrontationHeading=this.shadow.getElementById("confrontation-heading"),this.confrontationList=this.shadow.getElementById("confrontation-list"),N.register(),this.readingFindingsElement=this.shadow.getElementById("reading-findings");const i=this.shadow.getElementById("reading-chip");i.addEventListener("click",()=>{const s=i.getAttribute("aria-expanded")!=="true";i.setAttribute("aria-expanded",String(s)),this.shadow.getElementById("reading-findings-list").hidden=!s}),this.compareButton=this.shadow.getElementById("compare-account"),this.variantChips=this.shadow.getElementById("variant-chips"),this.variantMoved=this.shadow.getElementById("variant-moved"),this.compareButton.addEventListener("click",()=>this.setComparing(!this.sceneElement.compareAccount)),this.observerSelect.addEventListener("change",()=>this.selectObserver(this.observerSelect.value)),this.interpretationSelect.addEventListener("change",()=>void this.chooseInterpretation(this.interpretationSelect.value)),this.sceneElement.addEventListener(K,s=>this.showConfrontation(s.detail)),this.sceneElement.ufoElement.addEventListener("timeupdate",()=>this.refreshParamSummary()),this.supportsPopover?(this.infoPanel.setAttribute("popover","auto"),this.infoPanel.removeAttribute("hidden"),this.infoButton.setAttribute("popovertarget","info-panel"),this.infoPanel.addEventListener("beforetoggle",s=>{s.newState==="open"&&(this.populateInfoPanel(),this.bringInfoButtonIntoView())}),this.infoPanel.addEventListener("toggle",s=>this.syncInfoOpen(s.newState==="open"))):this.infoButton.addEventListener("click",()=>this.toggleInfoPanel()),this.infoCloseButton.addEventListener("click",()=>this.toggleInfoPanel()),this.infoCreditsToggle.addEventListener("click",()=>this.toggleCredits()),this.shareButton.addEventListener("click",()=>this.openShare()),this.editLink.addEventListener("click",s=>{const n=this.editDetail();n&&Z.ask(this,J,n)&&s.preventDefault()});for(const s of[this.shareStartOn,this.shareStart,...Object.values(this.shareOptions).map(n=>n.input)])s.addEventListener("input",()=>this.refreshShareLinks());for(const s of[this.shareScope,this.shareOpens])s.addEventListener("change",()=>this.refreshShareLinks());this.isConnected&&(this.ready=this.loadLocaleMessages())}get scene(){return this.sceneElement}async loadLocaleMessages(){const e=++this.localeToken,t=U.preferencesFor(this);this.preferences=t;const i=Q(t,X),[s,n,o,a]=await Promise.all([Y.load(i),ee(i),te(i),se.load(i)]);if(e!==this.localeToken)return;const r=i!==this.language||this.messages===void 0;this.language=i,this.messages=s,this.readingCheck=new ie(a),this.bestCases=new ne(a),this.tags=new $(n),this.said=new D(t),this.summaryBuilder=new oe(this.messages,new ae(o),this.said,this.tags,{messages:this.messages,locale:i}),this.accountPrefix.textContent=this.messages?.accountBy??"",this.interpretationLabel.textContent=this.messages?.interpretation??"",this.confrontationHeading.textContent=this.messages?.confrontation??"";const h=this.entries.find(c=>c.src===this.currentSrc);h&&this.offerInterpretations(h),this.updateCompareButton(),this.infoButton.title=this.messages?.about??"",this.infoButton.setAttribute("aria-label",this.messages?.about??""),this.editLink.title=this.messages?.editThisObservation??"",this.editLink.setAttribute("aria-label",this.messages?.editThisObservation??""),this.infoCloseButton.setAttribute("aria-label",this.messages?.close??""),this.infoObservationHeading.textContent=this.messages?.observation??"",this.infoCreditsToggle.textContent=this.messages?.credits??"",this.syncLabelsToggle(),this.refreshParamSummary(),r&&this.currentSrc&&this.runAssessments(),this.shareButton.title=this.messages?.share??"",this.shareButton.setAttribute("aria-label",this.messages?.share??""),this.shareStartLabel.textContent=this.messages?.shareStartAt??"",this.shareScopeLabel.textContent=this.messages?.shareScope??"",this.shareOpensLabel.textContent=this.messages?.shareOpensOn??"",this.shareOptions.labels.label.textContent=this.messages?.shareOptionLabels??"",this.shareOptions.map.label.textContent=this.messages?.shareOptionMap??"",this.shareOptions.milestones.label.textContent=this.messages?.shareOptionMilestones??"",this.shareOptions.compare.label.textContent=this.messages?.shareOptionCompare??"",this.shareStart.setAttribute("aria-label",this.messages?.shareStartAt??""),this.shareDialog.useLanguage(i).then(c=>{c&&(this.shareMessages=c)}),this.infoOpen&&this.populateInfoPanel(),this.updateAccountLine()}preferences=[];localeToken=0;said=new D(["en"]);tags=new $({});connectedCallback(){U.preferencesFor(this).join()!==this.preferences.join()&&(this.ready=this.loadLocaleMessages()),this.applyAskedInfo();const e=this.getAttribute("src");e&&this.loadFromSrc(e)}applyAskedInfo(){this.isConnected&&this.hasAttribute(L)!==this.infoOpen&&this.toggleInfoPanel()}disconnectedCallback(){document.removeEventListener("click",this.handleOutsideClick)}attributeChangedCallback(e,t,i){if(e==="src"&&i&&i!==t&&this.isConnected&&this.loadFromSrc(i),e===B){const s=this.entries.find(n=>n.src===this.currentSrc);s&&i===null&&t!==null&&this.interpretationSelect.value!==g?(this.interpretationSelect.value=g,this.chooseInterpretation(g)):s&&this.offerInterpretations(s)}if(e===x){const s=this.entries.find(n=>n.src===this.currentSrc);this.setEntries(this.entries,this.caseSource),s&&this.offerInterpretations(s)}if(e===L&&this.applyAskedInfo(),e==="show-labels"&&this.applyLabels(this.hasAttribute("show-labels")),(e===y||e===E)&&this.forwardPlayerAttributes(),e===w&&this.entries.length>1){const s=this.entryAsked(this.entries);s&&s.src!==this.currentSrc&&this.selectObserver(s.src)}e===k&&this.setComparing(this.hasAttribute(k))}forwardPlayerAttributes(){for(const e of[y,E]){const t=this.getAttribute(e);t===null?this.sceneElement.removeAttribute(e):this.sceneElement.setAttribute(e,t)}}get loaded(){return this.loading??Promise.resolve()}loading;loadFromSrc(e){const t=this.readFromSrc(e);return this.loading=t.catch(()=>{}),t}async readFromSrc(e){this.startPending=!0;const t=S.recording(e);this.sceneElement.holdForNewScene(t);const i=await t;if(Array.isArray(i))throw new Error(`${e} is a bare list of recordings, which is no longer read: list them as the sighting events of a case.json`);if(m.isCase(i)){m.check(i);const s=m.sightingUrls(i,new URL(e,location.href).href);if(s.length===0)throw new Error(`${e} is a case with no sighting event: no recording to show`);await this.loadObserverUrls(s,{json:i,url:new URL(e,location.href).href})}else this.setEntries([{src:e,sighting:i}],void 0)}get sightingData(){return this.entries.find(e=>e.src===this.currentSrc)?.sighting}set sightingData(e){const t=P.recording(e);this.startPending=!0,this.currentSrc="",this.setEntries([{src:"",sighting:t}],void 0)}seekTo(e,t){const i=this.caseSource,s=t===void 0?void 0:this.entries.find(n=>{const o=this.plain(n).id;return(i?m.accountIds(i.json,i.url,n.src,o):[o]).includes(t)});s&&s.src!==this.currentSrc&&this.selectObserver(s.src),this.sceneElement.ufoElement.currentTime=Math.max(0,e)*1e3}set citedMoments(e){this.sceneElement.ufoElement.citedMoments=e}get playedSeconds(){return this.sceneElement.ufoElement.currentTime/1e3}get observerUrls(){return this.entries.map(e=>e.src)}set observerUrls(e){this.loadObserverUrls(e)}async loadObserverUrls(e,t){const i=await Promise.all(e.map(async s=>({src:s,sighting:await S.recording(s)})));this.setEntries(i,t)}reportCaseProblems(e,t){const{duplicateIds:i,unresolved:s}=m.problems(e,t.map(n=>this.plain(n).id).filter(n=>n!==void 0));for(const n of i)console.warn(`The case ${e.id??""} gives the id "${n}" to more than one event: a reference to it is ambiguous.`);for(const{reading:n,reference:o}of s)console.warn(`The reading ${n} of the case ${e.id??""} is "interpretationOf" "${o}", which no event of the case has as its id, nor any recording it lists.`)}setEntries(e,t){this.entries=e.map(o=>({...o,sighting:P.recording(o.sighting)})),this.caseSource=t,t&&this.reportCaseProblems(t.json,e),this.toolbarElement.hidden=e.length===0;const i=e.length>1&&!this.hasAttribute(x);this.observerSelect.hidden=!i,this.observerText.hidden=i,this.observerSelect.innerHTML="";const s=e.map((o,a)=>this.observerDisplayName(this.plain(o).observer)??this.caseTitleOf(o)??(this.messages?.unnamedObserver??"").replace("{n}",String(a+1)));for(const[o,a]of e.entries()){const r=document.createElement("option");r.value=a.src;const h=s.filter(c=>c===s[o]).length>1;r.textContent=(h?this.caseTitleOf(a):void 0)??s[o],this.observerSelect.appendChild(r)}const n=e.find(o=>o.src===this.currentSrc)??this.entryAsked(e)??e[0];n?this.selectObserver(n.src):this.updateAccountLine()}entryAsked(e){const t=this.getAttribute(w)?.trim();if(!t)return;const i=e.find(o=>this.plain(o).observer?.id===t);if(i)return i;const s=this.caseSource;if(s){const o=e.find(a=>m.accountIds(s.json,s.url,a.src,this.plain(a).id).includes(t));if(o)return o}const n=e.find(o=>o.src.split("/").pop()===t.split("/").pop());return n||(/^\d+$/.test(t)?e[Number(t)-1]:void 0)}observerKeyOf(e){return this.plain(e).observer?.id??String(this.entries.indexOf(e)+1)}sharedEntry(){const e=this.shareScope.value;if(!(!this.caseSource||e===C))return this.entries.find(t=>t.src===e)}get sharesCase(){return this.caseSource!==void 0&&!this.shareScopeRow.hidden&&this.shareScope.value===C}editorUrl(){if(!this.currentSrc)return R;const e=new URL(this.currentSrc,location.href),t=this.caseSource;return t?`${R}?file=${encodeURIComponent(t.url)}&track=${encodeURIComponent(this.shownTrackUrl()??e.href)}`:`${R}?file=${encodeURIComponent(e.href)}`}editDetail(){if(!this.currentSrc)return;const e=new URL(this.currentSrc,location.href).href,t=this.caseSource;return t?{src:t.url,track:this.shownTrackUrl()??e}:{src:e}}get editorHref(){return this.editorUrl()}get shownRecordingUrl(){return this.currentSrc?new URL(this.currentSrc,location.href).href:void 0}get shownReadingUrl(){return this.shownTrackUrl()}shownTrackUrl(){return this.readingUrlOf(this.interpretationSelect.value)}shareSubject={module:"rr0-sighting",link:()=>this.playUrl(),element:()=>this.replayElement()};replayElement(){const e=this.sharedAddress(),i=[...e.observer?[[w,e.observer]]:[],...this.replayAttributes()].map(([s,n])=>n===""?` ${s}`:` ${s}="${n}"`).join("");return`<rr0-sighting src="${e.src}"${i}></rr0-sighting>`}playUrl(){const e=this.sharedAddress(),t=[...e.observer?[`${w}=${encodeURIComponent(e.observer)}`]:[],...this.replayQuery()].join("&");return e.src?`${T}/play/?file=${encodeURIComponent(e.src)}${t&&"&"+t}`:`${T}/play/${t&&"?"+t}`}sharedAddress(){const e=t=>t?new URL(t,location.href).href:"";if(this.sharesCase){const t=this.entries.find(i=>i.src===this.shareOpens.value)??this.entries.find(i=>i.src===this.currentSrc);return{src:e(this.caseSource.url),observer:t?this.observerKeyOf(t):void 0}}return{src:e(this.sharedEntry()?.src??this.currentSrc??"")}}replayAttributes(){const e=this.shareOptions,t=[];return this.shareStartSeconds!==void 0&&t.push([I,String(this.shareStartSeconds)]),e.labels.input.checked&&t.push(["show-labels",""]),e.map.input.checked&&t.push([y,""]),e.milestones.input.checked||t.push([E,""]),e.compare.input.checked&&t.push([k,""]),t}replayQuery(){const e=this.shareOptions,t=[];return this.shareStartSeconds!==void 0&&t.push(`d=${this.shareStartSeconds}`),e.labels.input.checked||t.push("labels=0"),e.map.input.checked&&t.push("map=1"),e.milestones.input.checked||t.push("moments=0"),e.compare.input.checked&&t.push("compare=1"),t}get shareStartSeconds(){const e=Math.floor(Number(this.shareStart.value));return this.shareStartOn.checked&&Number.isFinite(e)&&e>=0?e:void 0}refreshShareLinks(){this.shareOpensRow.hidden=!this.sharesCase,this.shareDialog.refresh()}openShare(){const e=this.sceneElement.ufoElement;this.shareStart.max=String(Math.floor(e.seekableDuration/1e3)),this.shareStart.value=String(Math.floor(e.currentTime/1e3)),this.shareStartOn.checked=!1,this.shareOptions.labels.input.checked=this.labelsShown,this.shareOptions.map.input.checked=e.observerMapOpen,this.shareOptions.milestones.input.checked=e.milestonesVisible,this.shareOptions.compare.input.checked=this.sceneElement.compareAccount,this.offerShareScope(),this.shareOpensRow.hidden=!this.sharesCase;const t=[this.caseSource?.url,this.currentSrc,this.shownTrackUrl(),...this.entries.map(i=>i.src)];this.shareDialog.note=M.changed(...t)?this.shareMessages?.unsaved:void 0,this.shareDialog.open()}offerShareScope(){const e=this.caseSource!==void 0&&this.entries.length>1&&!this.hasAttribute(A);if(this.shareScopeRow.hidden=!e,this.shareScope.innerHTML="",this.shareOpens.innerHTML="",!e)return;const t=(i,s,n)=>{const o=document.createElement("option");o.value=s,o.textContent=n,i.appendChild(o)};t(this.shareScope,C,this.messages?.shareScopeCase??"");for(const i of this.entries){const s=this.observerDisplayName(this.plain(i).observer)??this.caseTitleOf(i)??(this.messages?.unnamedObserver??"").replace("{n}",String(this.entries.indexOf(i)+1));t(this.shareScope,i.src,s),t(this.shareOpens,i.src,s)}this.shareScope.value=C,this.shareOpens.value=this.currentSrc??this.entries[0].src}offerInterpretations(e){const t=this.offeredFor===e.sighting,i=this.interpretationSelect.value;this.offeredFor=e.sighting,this.interpretationToken++,this.interpretationLoaders=new Map,this.interpretationSelect.innerHTML="";const s=(d,l,p)=>{const f=document.createElement("option");f.value=d,f.textContent=l,this.interpretationSelect.appendChild(f),this.interpretationLoaders.set(d,p)},n=e===this.entries.find(d=>d.src===this.currentSrc),o=n?this.sceneElement.ufoElement.sighting.interpretation:void 0;s(g,this.messages?.account??"",()=>Promise.resolve(o));const a=this.caseSource;a&&m.interpretationEvents(a.json,m.accountIds(a.json,a.url,e.src,this.plain(e).id)).forEach((d,l)=>{const p=this.said.read(d.title)??`#${l+1}`,f=(d.by??[]).map(b=>this.agentName(b)).filter(Boolean).join(", ");s(`case-${l}`,f?(this.messages?.interpretationBy??"").replace("{title}",p).replace("{by}",f):p,()=>m.interpretationOf(d,a.url,b=>S.recording(b)))});const r=n?this.keptVariants(e):[];for(const{index:d,kept:l}of r)s(`${O}${d}`,`${this.variantLabel(l)} (${this.messages?.verdicts[l.variant.verdict]??""})`,()=>Promise.resolve(l.bodies.length>0?l:void 0));const h=t&&[...this.interpretationSelect.options].some(d=>d.value===i),c=this.askedInterpretation()??(h?i:g);this.interpretationSelect.value=c,c===g?(this.sceneElement.interpretation!==o&&(this.sceneElement.interpretation=o),this.shownInterpretation=g):(!this.sceneElement.interpretation||this.shownInterpretation!==c)&&this.chooseInterpretation(c),this.interpretationChoice.hidden=this.interpretationSelect.options.length<2||this.hasAttribute(x),this.showConfrontation(this.sceneElement.confrontation),this.updateCompareButton(),this.showVariants(r)}keptVariants(e){const t={consolidated:0,contested:1,incompatible:2};return(e.sighting.variants??[]).map((i,s)=>({index:s,kept:i})).filter(({kept:i})=>i.variant).sort((i,s)=>t[i.kept.variant.verdict]-t[s.kept.variant.verdict]||i.kept.variant.cost-s.kept.variant.cost)}variantLabel(e){return(this.messages?.variant??"").replace("{name}",e.variant.label??e.variant.candidate)}showVariants(e){if(!this.messages)return;if(this.variantChips.innerHTML="",this.variantChips.hidden=e.length===0,e.length===0){this.showVariantMoved();return}const t=(i,s,n)=>{const o=document.createElement("button");o.type="button",o.dataset.value=i,n&&(o.dataset.verdict=n,o.title=this.messages.verdicts[n],o.append(Object.assign(document.createElement("span"),{className:"dot"}))),o.append(s),o.addEventListener("click",()=>{this.interpretationSelect.value!==i&&(this.interpretationSelect.value=i,this.chooseInterpretation(i))}),this.variantChips.append(o)};t(g,this.messages?.account??"");for(const{index:i,kept:s}of e)t(`${O}${i}`,s.variant.label??s.variant.candidate,s.variant.verdict);this.showVariantMoved()}showVariantMoved(){if(!this.messages)return;const e=this.interpretationSelect.value;for(const n of this.variantChips.querySelectorAll("button"))n.setAttribute("aria-pressed",String(n.dataset.value===e));this.variantMoved.innerHTML="";const t=e.startsWith(O)?Number(e.slice(O.length)):-1,i=this.sceneElement.ufoElement.sighting.variants?.[t]?.variant;if(this.variantMoved.hidden=!i||i.moved.length+(i.readings?.length??0)===0,!i)return;const s=new Intl.NumberFormat(this.language,{maximumFractionDigits:1});for(const n of i.moved){const[o,a]=n.field==="date"?["0 d",`${n.variant>0?"+":""}${s.format(n.variant)} d`]:n.field==="time"?["0 min",`${n.variant>0?"+":""}${s.format(n.variant)} min`]:n.field==="duration"?[`${s.format(n.stated)} s`,`${s.format(n.variant)} s`]:[`${s.format(n.stated)}°`,`${s.format(n.variant)}°`],r=document.createElement("span");r.append(`${this.messages.variantFields[n.field]}${this.colon}`,Object.assign(document.createElement("s"),{textContent:o})," → ",Object.assign(document.createElement("b"),{textContent:a})),this.variantMoved.append(r)}for(const n of i.readings??[]){const o=this.messages.variantReadings[n.reading];o&&this.variantMoved.append(Object.assign(document.createElement("span"),{className:"reading",textContent:o}))}}setComparing(e){this.sceneElement.compareAccount=e,this.updateCompareButton(),this.showConfrontation(this.sceneElement.confrontation)}updateCompareButton(){const e=this.sceneElement.compareAccount;this.compareButton.hidden=!this.sceneElement.interpretation,this.compareButton.setAttribute("aria-pressed",String(e));const t=e?this.messages?.hideComparison??"":this.messages?.showComparison??"";this.compareButton.title=t,this.compareButton.setAttribute("aria-label",t)}get colon(){return this.language==="fr"?" : ":": "}askedInterpretation(){const e=this.getAttribute(B)?.trim(),t=this.caseSource;if(!e||!t)return;const i=this.entries.find(o=>o.src===this.currentSrc);if(!i)return;const n=m.interpretationEvents(t.json,m.accountIds(t.json,t.url,i.src,this.plain(i).id)).findIndex(o=>o.id===e||typeof o.url=="string"&&new URL(o.url,t.url).href===new URL(e,location.href).href);return n>=0?`case-${n}`:void 0}async chooseInterpretation(e){const t=++this.interpretationToken,i=this.interpretationLoaders.get(e),s=i?await i().catch(l=>{console.warn(`<rr0-sighting>: could not read interpretation "${e}":`,l)}):void 0,n=this.readingUrlOf(e),o=n?await S.recording(n).catch(()=>{}):void 0;if(t!==this.interpretationToken)return;const a=this.entries.find(l=>l.src===this.currentSrc),r=a&&o&&"timeline"in o?this.bestCases?.bestSceneOf(a.sighting,o):void 0,h=r??o,c=r?.interpretation&&s?{...s,bodies:[...s.bodies.map(l=>{const p=r.interpretation.bodies.find(f=>f.id===l.id);return p?{...l,track:p.track}:l}),...r.interpretation.bodies.filter(l=>!s.bodies.some(p=>p.id===l.id))]}:s,d=a&&h&&"timeline"in h&&v.changesTheScene(a.sighting,h)?{...h,timeline:h.timeline.keyframes?.length?h.timeline:a.sighting.timeline}:void 0;if(d&&n)this.showScene(d,n);else if(this.readingScene&&a)this.showScene(a.sighting,a.src,!0);else if(a){const l=!this.sceneElement.ufoElement.playRequested;n?this.sceneElement.showPoster(this.ownCover(o?.image,n),n,l):a.sighting.image?this.sceneElement.showPoster(a.sighting.image,a.src?new URL(a.src,location.href).href:void 0,l):this.sceneElement.showPoster(this.caseSource?.json.image,this.caseSource?.url,l)}this.readingScene=d!==void 0,this.sceneElement.interpretation=c,this.shownInterpretation=e,this.showReadingFindings(a,h),this.editLink.href=this.editorUrl(),this.dispatchEvent(new CustomEvent(ge,{detail:{track:this.shownTrackUrl()}})),this.updateCompareButton(),this.showConfrontation(this.sceneElement.confrontation),this.showVariantMoved()}readingUrlOf(e){const t=this.caseSource,i=this.entries.find(o=>o.src===this.currentSrc),s=/^case-(\d+)$/.exec(e);if(!t||!i||!s)return;const n=m.interpretationEvents(t.json,m.accountIds(t.json,t.url,i.src,this.plain(i).id))[Number(s[1])];return n?.url?new URL(n.url,t.url).href:void 0}static SCENE_FIELDS=["time","utcOffsetHours","place","observerTrack","weatherTrack","decor","instrument","lens","film","exposureSeconds","iso","references","lighting","lightPollution","vehicle"];static changesTheScene(e,t){const i=s=>JSON.stringify(v.SCENE_FIELDS.map(n=>s[n]));return i(e)!==i(t)}ownCover(e,t){const i=this.entries.find(a=>a.src===this.currentSrc),s=i?.sighting.image;if(!e||!s)return e;const n=(a,r)=>{try{return new URL(a,r??location.href).href}catch{return a}},o=i.src?new URL(i.src,location.href).href:void 0;return n(e,t)===n(s,o)?void 0:e}showScene(e,t,i=!1){const s=this.sceneElement.ufoElement.currentTime;this.sceneElement.documentUrl=t?new URL(t,location.href).href:void 0;const n=!this.sceneElement.ufoElement.playRequested,o=t?new URL(t,location.href).href:void 0,a=i?e.image:this.ownCover(e.image,o);a?this.sceneElement.showPoster(a,o,n):i?this.sceneElement.showPoster(this.caseSource?.json.image,this.caseSource?.url,n):this.sceneElement.showPoster(void 0,void 0,n),this.sceneElement.sightingData=e,this.sceneElement.ufoElement.currentTime=s}showReadingFindings(e,t){const i=this.readingFindingsElement,s=this.messages,n=t?.interpretation?.findings??[],o=e&&t&&this.readingCheck?this.readingCheck.findingsOf(e.sighting,t):[],a=[...n,...o],r=re.of(a);this.readingEntry=s&&r?{group:"summary",field:"reading",label:s.readingLabel,unit:"",fromSource:!1,value:(a.length===1?s.readingChipOne:s.readingChip).replace("{verdict}",s.readingVerdict[r]).replace("{n}",String(a.length)),color:v.VERDICT_COLOURS[r],full:a.map(d=>`${{holds:"✓",fails:"✗",untested:"?"}[d.outcome]} ${this.said.read(d.text)??""}`+(d.outcome==="fails"?` (${s.findingAgainst[d.against??"established"]})`:"")).join(`
692
- `)}:void 0,this.summarySignature="\0",this.refreshParamSummary();const h=i.querySelector("#reading-sensitivity");if(this.readingSensible=e&&t?N.resultOf(e.sighting,t)!==void 0:!1,h.show(e?.sighting,t),this.showReadingBox(),!s||!r){i.querySelector("#reading-findings-list").hidden=!0,delete i.dataset.verdict;return}i.dataset.verdict=r,i.querySelector("#reading-verdict").textContent=(a.length===1?s.readingChipOne:s.readingChip).replace("{verdict}",s.readingVerdict[r]).replace("{n}",String(a.length));const c=i.querySelector("#reading-findings-list");i.querySelector("#reading-chip").setAttribute("aria-expanded","false"),c.hidden=!0,c.replaceChildren(...a.map(d=>{const l=document.createElement("li");l.dataset.outcome=d.outcome;const p=document.createElement("span");p.className="finding-mark",p.textContent={holds:"✓",fails:"✗",untested:"?"}[d.outcome],p.title=s.findingOutcome[d.outcome],p.setAttribute("aria-label",s.findingOutcome[d.outcome]);const f=document.createElement("span");if(f.textContent=this.said.read(d.text)??"",l.append(p,f),d.outcome==="fails"){const b=document.createElement("span");b.className="finding-against",b.textContent=`(${s.findingAgainst[d.against??"established"]})`,l.append(b)}return l}))}agentName(e){if("people"in e){const[t,...i]=e.people.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ");return[...i,t].join(" ")}return"org"in e?e.org.replace(/([a-z])([A-Z])/g,"$1 $2"):this.observerDisplayName(e)??""}showConfrontation(e){this.confrontationList.innerHTML="",this.confrontationElement.hidden=!this.sceneElement.interpretation||!this.sceneElement.compareAccount;const t=new Intl.NumberFormat(this.language,{maximumFractionDigits:1,minimumFractionDigits:1}),i=new Intl.NumberFormat(this.language,{maximumFractionDigits:2,minimumFractionDigits:2});for(const s of e){const n=document.createElement("li");n.append(`${this.said.read(s.title)??s.sourceId}${this.colon}`);const o=[];s.separationDeg!==void 0&&o.push([(this.messages?.confrontationDirection??"").replace("{deg}",t.format(s.separationDeg)),s.disagreements.includes("direction")]),s.widthRatio!==void 0&&o.push([(this.messages?.confrontationWidth??"").replace("{ratio}",i.format(s.widthRatio)),s.disagreements.includes("width")]),s.heightRatio!==void 0&&o.push([(this.messages?.confrontationHeight??"").replace("{ratio}",i.format(s.heightRatio)),s.disagreements.includes("height")]),o.forEach(([a,r],h)=>{h>0&&n.append(" · ");const c=document.createElement("span");c.textContent=a,r&&(c.className="disagrees"),n.append(c)}),this.confrontationList.appendChild(n)}}startPending=!1;startSeconds(e){const t=u.clock(this.getAttribute(j)),i=this.plain(e).time;return(t?u.elapsedSince(i===void 0?void 0:H(i),t):void 0)??u.delta(this.getAttribute(I))}selectObserver(e){const t=this.entries.find(s=>s.src===e);if(!t)return;this.currentSrc=e,this.observerSelect.value=e,this.sceneElement.documentUrl=t.src?new URL(t.src,location.href).href:void 0;const i=!this.sceneElement.ufoElement.playRequested;if(this.askedInterpretation()||(t.sighting.image?this.sceneElement.showPoster(t.sighting.image,t.src?new URL(t.src,location.href).href:void 0,i):this.sceneElement.showPoster(this.caseSource?.json.image,this.caseSource?.url,i)),this.sceneElement.holdForNewScene(),this.sceneElement.sightingData=t.sighting,this.readingScene=!1,this.startPending){this.startPending=!1;const s=this.startSeconds(t);s!==void 0&&(this.sceneElement.ufoElement.currentTime=Math.max(0,s)*1e3)}this.offerInterpretations(t),this.updateAccountLine(),this.refreshParamSummary(),this.runAssessments(),this.infoOpen&&this.populateInfoPanel(),this.dispatchEvent(new CustomEvent(fe,{detail:{src:e}}))}async runAssessments(){if(!this.messages)return;const e=++this.assessmentToken,t=await new he(this.messages).read(this.sceneElement.ufoElement.sighting);e===this.assessmentToken&&(this.assessmentEntries=t.entries,this.refreshParamSummary())}updateAccountLine(){const e=this.entries.find(a=>a.src===this.currentSrc),t=e?this.observerDisplayName(this.plain(e).observer):void 0,i=t!==void 0||this.entries.length>1;this.accountElement.hidden=!i,this.observerText.textContent=t??"";const n=!this.hasAttribute(A)&&this.caseSource&&(this.said.read(this.caseSource.json.title)??this.caseSource.json.id);this.caseOfElement.hidden=!n,this.caseOfElement.textContent=n?`${this.messages?.case??""} ${n}`:"";const o=t!==void 0?`${this.messages?.accountBy??""} ${t}`.trim():void 0;this.sceneElement.filmName=[n||void 0,o].filter(Boolean).join(" - ")||void 0,this.editLink.hidden=!this.currentSrc,this.editLink.href=this.editorUrl(),this.shareButton.hidden=M.local(this.caseSource?.url??this.currentSrc),this.editLink.title=this.messages?.editThisObservation??"",this.editLink.setAttribute("aria-label",this.messages?.editThisObservation??"")}caseTitleOf(e){const t=this.caseSource;if(!t)return;const i=t.json.events?.find(s=>s.url!==void 0&&!s.interpretationOf&&new URL(s.url,t.url).href===new URL(e.src,location.href).href);return i?this.said.read(i.title):void 0}observerDisplayName(e){if(!e)return;const t=[...e.firstNames??[],e.lastName].filter(Boolean).join(" ");return this.said.read(e.title)||t||e.id}plainRecordings=new WeakMap;plain(e){return this.stripped(e).recording}stripped(e){let t=this.plainRecordings.get(e.sighting);return t||(t=le.strip(e.sighting),this.plainRecordings.set(e.sighting,t)),t}basisOf(e,t){const i=this.stripped(e).provenance,s={established:-2,measured:-1,stated:0,derived:1,assumed:2,fitted:3},n=i.paths().filter(r=>t.some(h=>r===h||r.startsWith(`${h}.`))).map(r=>i.at(r)),o=n.reduce((r,h)=>s[h.basis]>s[r]?h.basis:r,"stated"),a=n.filter(r=>r.basis===o&&r.rationale).map(r=>this.said.read(r.rationale)??"").filter(r=>r!=="");return{basis:o,rationales:a}}formatDate(e){const t=e.place?.locations?.[0],i=de((e.time?H(e.time):void 0)??{},t?.lng??0,e.utcOffsetHours);if(!i)return;const s=i.getTime()+this.utcOffsetHoursOf(e,t?.lng??0)*36e5;if(Number.isFinite(s))return new Intl.DateTimeFormat(this.language,{dateStyle:"long",timeStyle:"short",timeZone:"UTC"}).format(new Date(s))}utcOffsetHoursOf(e,t){return e.utcOffsetHours??Math.round(t/15)}formatLocation(e){const t=e.place?.locations?.[0];if(t)return`${t.lat.toFixed(4)}, ${t.lng.toFixed(4)}`}toggleInfoPanel(){const e=!this.infoOpen;if(this.supportsPopover){const t=this.infoPanel.matches(":popover-open");e&&!t?this.infoPanel.showPopover():!e&&t&&this.infoPanel.hidePopover();return}e&&this.bringInfoButtonIntoView(),this.syncInfoOpen(e),this.infoPanel.hidden=!e,e?document.addEventListener("click",this.handleOutsideClick):document.removeEventListener("click",this.handleOutsideClick)}bringInfoButtonIntoView(){const e=this.infoButton.getBoundingClientRect(),t=window.innerHeight||document.documentElement.clientHeight;e.top>=0&&e.bottom<=t||this.infoButton.scrollIntoView({block:"center"})}syncInfoOpen(e){e!==this.infoOpen&&(this.infoOpen=e,this.infoButton.setAttribute("aria-expanded",String(e)),e?this.supportsPopover||this.populateInfoPanel():(this.creditsOpen=!1,this.infoCreditsList.hidden=!0,this.infoCreditsToggle.setAttribute("aria-expanded","false")))}handleOutsideClick=e=>{const t=e.composedPath();!t.includes(this.infoPanel)&&!t.includes(this.infoButton)&&this.toggleInfoPanel()};toggleCredits(){this.creditsOpen=!this.creditsOpen,this.infoCreditsList.hidden=!this.creditsOpen,this.infoCreditsToggle.setAttribute("aria-expanded",String(this.creditsOpen)),this.creditsOpen&&this.revealInPanel(this.infoCreditsList)}revealInPanel(e){e.scrollIntoView?.({block:"nearest"})}get showLabels(){return this.labelsShown}set showLabels(e){this.toggleAttribute("show-labels",e)}applyLabels(e){this.labelsShown=e,this.syncLabelsToggle(),this.refreshParamSummary(),this.populateInfoPanel()}syncLabelsToggle(){const e=this.labelsShown?this.messages?.hideLabels??"":this.messages?.showLabels??"";this.labelsToggle.title=e,this.labelsToggle.setAttribute("aria-label",e),this.labelsToggle.setAttribute("aria-pressed",String(this.labelsShown))}showReadingBox(){const e=this.readingFindingsElement,t=this.readingEntry!==void 0&&!this.labelsShown;e.hidden=!t&&!this.readingSensible,e.querySelector("#reading-chip").hidden=!t,t||(e.querySelector("#reading-findings-list").hidden=!0)}refreshParamSummary(){if(this.paramSummary.hidden=!this.labelsShown,this.showReadingBox(),!this.labelsShown){this.paramSummary.replaceChildren(),this.summarySignature="";return}const e=this.sceneElement.ufoElement.sighting,t=this.summaryBuilder?.entriesFor(e,this.sceneElement.ufoElement.currentTime,{roadGradeDeg:this.sceneElement.roadGradeDeg})??[],i=t.map(h=>h.group).lastIndexOf("summary"),s=this.readingEntry?[this.readingEntry]:[],n=[...t.slice(0,i+1),...s,...t.slice(i+1),...this.assessmentEntries],o=n.map(h=>`${h.field}=${h.label}=${h.value}${h.unit}${h.full??""}${h.fromSource?"*":""}`).join("|");if(o===this.summarySignature)return;this.summarySignature=o;const a=[];let r;for(const h of n){r&&r.group!==h.group&&(r=void 0);const c=h.group==="summary"?this.messages?.summaryGroup??"":h.group==="observer"?this.messages?.observerGroup??"":this.messages&&h.group in this.messages.summaryGroups?this.messages.summaryGroups[h.group]:h.group==="assessment"?this.messages?.assessmentGroup??"":void 0;if(c!==void 0&&!r){const l=document.createElement("span");l.className="param-nest";const p=document.createElement("span");p.className="param-nest-label",p.textContent=c,l.append(p),r={group:h.group,element:l},a.push(l)}const d=this.paramItem(h);r?r.element.append(d):a.push(d)}this.paramSummary.replaceChildren(...a),this.syncDescription(n)}openDescription;openDescriptionTitle;syncDescription(e){this.openDescription!==void 0&&!e.some(t=>t.full===this.openDescription)&&(this.openDescription=void 0),_.sync(this.paramSummary,this.openDescription,this.openDescriptionTitle??this.messages?.summaryDescription??"",this.messages?.closeDescription??"",()=>{this.openDescription=void 0,this.syncDescription(e)})}paramItem(e){const t=document.createElement("span");if(t.className=e.fromSource?"param-label from-source":"param-label",e.detail&&(t.title=e.detail),e.full!==void 0){t.classList.add("describable"),t.tabIndex=0,t.setAttribute("role","button");const n=()=>{this.openDescription=e.full,this.openDescriptionTitle=e.label,this.syncDescription([e])};t.addEventListener("click",n),t.addEventListener("keydown",o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),n())})}const i=document.createElement("span");if(i.className="param-label-label",i.textContent=`${e.label} `,t.append(i),e.color!==void 0){const n=document.createElement("span");n.className="param-label-swatch",n.style.background=e.color,t.append(n)}const s=document.createElement("span");return s.className="param-label-value",s.textContent=e.unit===""?e.value:`${e.value} ${e.unit}`,t.append(s),t}populateInfoPanel(){const e=this.entries.find(t=>t.src===this.currentSrc);if(this.infoObservationList.innerHTML="",e){const t=this.caseSource&&(this.caseSource.json.title??this.caseSource.json.id);if(t&&this.appendInfoRow(this.infoObservationList,this.messages?.case??"",t),!this.labelsShown){const n=this.formatDate(this.plain(e));n&&this.appendInfoRow(this.infoObservationList,this.messages?.date??"",n,this.basisOf(e,v.DATE_PATHS));const o=this.formatLocation(this.plain(e));o&&this.appendInfoRow(this.infoObservationList,this.messages?.location??"",o,this.basisOf(e,v.PLACE_PATHS))}const i=this.said.read(this.plain(e).description);i&&!this.labelsShown&&this.appendInfoRow(this.infoObservationList,this.messages?.description??"",i);for(const n of this.plain(e).sources??[])this.appendInfoSource(this.infoObservationList,this.messages?.source??"",n);const s=this.plain(e).tags;!this.labelsShown&&s&&s.length>0&&this.appendInfoRow(this.infoObservationList,this.messages?.tags??"",s.map(n=>this.tags.name(n)).join(", "))}this.infoAppLink.href=T,this.infoAppLink.textContent="UFO@home v0.202.0",ce.fill(this.infoCreditsList,this.sceneElement)}appendInfoSource(e,t,i){const s=document.createElement("dt");s.textContent=t;const n=document.createElement("dd"),o=this.said.read(i.title)??i.url??"";if(i.url&&/^https?:\/\//i.test(i.url)){const r=document.createElement("a");r.href=i.url,r.target="_blank",r.rel="noopener noreferrer",r.textContent=o,n.appendChild(r)}else n.append(o);const a=[i.authors?.join(", "),i.publication?.publisher,i.publication?.time,i.index].filter(Boolean);a.length>0&&n.append(`, ${a.join(", ")}`),e.append(s,n)}static DATE_PATHS=["time","utcOffsetHours","timeZone"];static PLACE_PATHS=["place"];appendInfoRow(e,t,i,s){if(!this.messages)return;const n=document.createElement("dt");n.textContent=t;const o=document.createElement("dd");if(o.textContent=i,s){const a=document.createElement("span");a.className=`basis basis-${s.basis}`,a.textContent=this.messages.basis[s.basis],s.rationales.length>0&&(a.title=s.rationales.join(`
692
+ `)}:void 0,this.summarySignature="\0",this.refreshParamSummary();const h=i.querySelector("#reading-sensitivity");if(this.readingSensible=e&&t?N.resultOf(e.sighting,t)!==void 0:!1,h.show(e?.sighting,t),this.showReadingBox(),!s||!r){i.querySelector("#reading-findings-list").hidden=!0,delete i.dataset.verdict;return}i.dataset.verdict=r,i.querySelector("#reading-verdict").textContent=(a.length===1?s.readingChipOne:s.readingChip).replace("{verdict}",s.readingVerdict[r]).replace("{n}",String(a.length));const c=i.querySelector("#reading-findings-list");i.querySelector("#reading-chip").setAttribute("aria-expanded","false"),c.hidden=!0,c.replaceChildren(...a.map(d=>{const l=document.createElement("li");l.dataset.outcome=d.outcome;const p=document.createElement("span");p.className="finding-mark",p.textContent={holds:"✓",fails:"✗",untested:"?"}[d.outcome],p.title=s.findingOutcome[d.outcome],p.setAttribute("aria-label",s.findingOutcome[d.outcome]);const f=document.createElement("span");if(f.textContent=this.said.read(d.text)??"",l.append(p,f),d.outcome==="fails"){const b=document.createElement("span");b.className="finding-against",b.textContent=`(${s.findingAgainst[d.against??"established"]})`,l.append(b)}return l}))}agentName(e){if("people"in e){const[t,...i]=e.people.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ");return[...i,t].join(" ")}return"org"in e?e.org.replace(/([a-z])([A-Z])/g,"$1 $2"):this.observerDisplayName(e)??""}showConfrontation(e){this.confrontationList.innerHTML="",this.confrontationElement.hidden=!this.sceneElement.interpretation||!this.sceneElement.compareAccount;const t=new Intl.NumberFormat(this.language,{maximumFractionDigits:1,minimumFractionDigits:1}),i=new Intl.NumberFormat(this.language,{maximumFractionDigits:2,minimumFractionDigits:2});for(const s of e){const n=document.createElement("li");n.append(`${this.said.read(s.title)??s.sourceId}${this.colon}`);const o=[];s.separationDeg!==void 0&&o.push([(this.messages?.confrontationDirection??"").replace("{deg}",t.format(s.separationDeg)),s.disagreements.includes("direction")]),s.widthRatio!==void 0&&o.push([(this.messages?.confrontationWidth??"").replace("{ratio}",i.format(s.widthRatio)),s.disagreements.includes("width")]),s.heightRatio!==void 0&&o.push([(this.messages?.confrontationHeight??"").replace("{ratio}",i.format(s.heightRatio)),s.disagreements.includes("height")]),o.forEach(([a,r],h)=>{h>0&&n.append(" · ");const c=document.createElement("span");c.textContent=a,r&&(c.className="disagrees"),n.append(c)}),this.confrontationList.appendChild(n)}}startPending=!1;startSeconds(e){const t=u.clock(this.getAttribute(j)),i=this.plain(e).time;return(t?u.elapsedSince(i===void 0?void 0:H(i),t):void 0)??u.delta(this.getAttribute(I))}selectObserver(e){const t=this.entries.find(s=>s.src===e);if(!t)return;this.currentSrc=e,this.observerSelect.value=e,this.sceneElement.documentUrl=t.src?new URL(t.src,location.href).href:void 0;const i=!this.sceneElement.ufoElement.playRequested;if(this.askedInterpretation()||(t.sighting.image?this.sceneElement.showPoster(t.sighting.image,t.src?new URL(t.src,location.href).href:void 0,i):this.sceneElement.showPoster(this.caseSource?.json.image,this.caseSource?.url,i)),this.sceneElement.holdForNewScene(),this.sceneElement.sightingData=t.sighting,this.readingScene=!1,this.startPending){this.startPending=!1;const s=this.startSeconds(t);s!==void 0&&(this.sceneElement.ufoElement.currentTime=Math.max(0,s)*1e3)}this.offerInterpretations(t),this.updateAccountLine(),this.refreshParamSummary(),this.runAssessments(),this.infoOpen&&this.populateInfoPanel(),this.dispatchEvent(new CustomEvent(fe,{detail:{src:e}}))}async runAssessments(){if(!this.messages)return;const e=++this.assessmentToken,t=await new he(this.messages).read(this.sceneElement.ufoElement.sighting);e===this.assessmentToken&&(this.assessmentEntries=t.entries,this.refreshParamSummary())}updateAccountLine(){const e=this.entries.find(a=>a.src===this.currentSrc),t=e?this.observerDisplayName(this.plain(e).observer):void 0,i=t!==void 0||this.entries.length>1;this.accountElement.hidden=!i,this.observerText.textContent=t??"";const n=!this.hasAttribute(A)&&this.caseSource&&(this.said.read(this.caseSource.json.title)??this.caseSource.json.id);this.caseOfElement.hidden=!n,this.caseOfElement.textContent=n?`${this.messages?.case??""} ${n}`:"";const o=t!==void 0?`${this.messages?.accountBy??""} ${t}`.trim():void 0;this.sceneElement.filmName=[n||void 0,o].filter(Boolean).join(" - ")||void 0,this.editLink.hidden=!this.currentSrc,this.editLink.href=this.editorUrl(),this.shareButton.hidden=M.local(this.caseSource?.url??this.currentSrc),this.editLink.title=this.messages?.editThisObservation??"",this.editLink.setAttribute("aria-label",this.messages?.editThisObservation??"")}caseTitleOf(e){const t=this.caseSource;if(!t)return;const i=t.json.events?.find(s=>s.url!==void 0&&!s.interpretationOf&&new URL(s.url,t.url).href===new URL(e.src,location.href).href);return i?this.said.read(i.title):void 0}observerDisplayName(e){if(!e)return;const t=[...e.firstNames??[],e.lastName].filter(Boolean).join(" ");return this.said.read(e.title)||t||e.id}plainRecordings=new WeakMap;plain(e){return this.stripped(e).recording}stripped(e){let t=this.plainRecordings.get(e.sighting);return t||(t=le.strip(e.sighting),this.plainRecordings.set(e.sighting,t)),t}basisOf(e,t){const i=this.stripped(e).provenance,s={established:-2,measured:-1,stated:0,derived:1,assumed:2,fitted:3},n=i.paths().filter(r=>t.some(h=>r===h||r.startsWith(`${h}.`))).map(r=>i.at(r)),o=n.reduce((r,h)=>s[h.basis]>s[r]?h.basis:r,"stated"),a=n.filter(r=>r.basis===o&&r.rationale).map(r=>this.said.read(r.rationale)??"").filter(r=>r!=="");return{basis:o,rationales:a}}formatDate(e){const t=e.place?.locations?.[0],i=de((e.time?H(e.time):void 0)??{},t?.lng??0,e.utcOffsetHours);if(!i)return;const s=i.getTime()+this.utcOffsetHoursOf(e,t?.lng??0)*36e5;if(Number.isFinite(s))return new Intl.DateTimeFormat(this.language,{dateStyle:"long",timeStyle:"short",timeZone:"UTC"}).format(new Date(s))}utcOffsetHoursOf(e,t){return e.utcOffsetHours??Math.round(t/15)}formatLocation(e){const t=e.place?.locations?.[0];if(t)return`${t.lat.toFixed(4)}, ${t.lng.toFixed(4)}`}toggleInfoPanel(){const e=!this.infoOpen;if(this.supportsPopover){const t=this.infoPanel.matches(":popover-open");e&&!t?this.infoPanel.showPopover():!e&&t&&this.infoPanel.hidePopover();return}e&&this.bringInfoButtonIntoView(),this.syncInfoOpen(e),this.infoPanel.hidden=!e,e?document.addEventListener("click",this.handleOutsideClick):document.removeEventListener("click",this.handleOutsideClick)}bringInfoButtonIntoView(){const e=this.infoButton.getBoundingClientRect(),t=window.innerHeight||document.documentElement.clientHeight;e.top>=0&&e.bottom<=t||this.infoButton.scrollIntoView({block:"center"})}syncInfoOpen(e){e!==this.infoOpen&&(this.infoOpen=e,this.infoButton.setAttribute("aria-expanded",String(e)),e?this.supportsPopover||this.populateInfoPanel():(this.creditsOpen=!1,this.infoCreditsList.hidden=!0,this.infoCreditsToggle.setAttribute("aria-expanded","false")))}handleOutsideClick=e=>{const t=e.composedPath();!t.includes(this.infoPanel)&&!t.includes(this.infoButton)&&this.toggleInfoPanel()};toggleCredits(){this.creditsOpen=!this.creditsOpen,this.infoCreditsList.hidden=!this.creditsOpen,this.infoCreditsToggle.setAttribute("aria-expanded",String(this.creditsOpen)),this.creditsOpen&&this.revealInPanel(this.infoCreditsList)}revealInPanel(e){e.scrollIntoView?.({block:"nearest"})}get showLabels(){return this.labelsShown}set showLabels(e){this.toggleAttribute("show-labels",e)}applyLabels(e){this.labelsShown=e,this.syncLabelsToggle(),this.refreshParamSummary(),this.populateInfoPanel()}syncLabelsToggle(){const e=this.labelsShown?this.messages?.hideLabels??"":this.messages?.showLabels??"";this.labelsToggle.title=e,this.labelsToggle.setAttribute("aria-label",e),this.labelsToggle.setAttribute("aria-pressed",String(this.labelsShown))}showReadingBox(){const e=this.readingFindingsElement,t=this.readingEntry!==void 0&&!this.labelsShown;e.hidden=!t&&!this.readingSensible,e.querySelector("#reading-chip").hidden=!t,t||(e.querySelector("#reading-findings-list").hidden=!0)}refreshParamSummary(){if(this.paramSummary.hidden=!this.labelsShown,this.showReadingBox(),!this.labelsShown){this.paramSummary.replaceChildren(),this.summarySignature="";return}const e=this.sceneElement.ufoElement.sighting,t=this.summaryBuilder?.entriesFor(e,this.sceneElement.ufoElement.currentTime,{roadGradeDeg:this.sceneElement.roadGradeDeg})??[],i=t.map(h=>h.group).lastIndexOf("summary"),s=this.readingEntry?[this.readingEntry]:[],n=[...t.slice(0,i+1),...s,...t.slice(i+1),...this.assessmentEntries],o=n.map(h=>`${h.field}=${h.label}=${h.value}${h.unit}${h.full??""}${h.fromSource?"*":""}`).join("|");if(o===this.summarySignature)return;this.summarySignature=o;const a=[];let r;for(const h of n){r&&r.group!==h.group&&(r=void 0);const c=h.group==="summary"?this.messages?.summaryGroup??"":h.group==="observer"?this.messages?.observerGroup??"":this.messages&&h.group in this.messages.summaryGroups?this.messages.summaryGroups[h.group]:h.group==="assessment"?this.messages?.assessmentGroup??"":void 0;if(c!==void 0&&!r){const l=document.createElement("span");l.className="param-nest";const p=document.createElement("span");p.className="param-nest-label",p.textContent=c,l.append(p),r={group:h.group,element:l},a.push(l)}const d=this.paramItem(h);r?r.element.append(d):a.push(d)}this.paramSummary.replaceChildren(...a),this.syncDescription(n)}openDescription;openDescriptionTitle;syncDescription(e){this.openDescription!==void 0&&!e.some(t=>t.full===this.openDescription)&&(this.openDescription=void 0),_.sync(this.paramSummary,this.openDescription,this.openDescriptionTitle??this.messages?.summaryDescription??"",this.messages?.closeDescription??"",()=>{this.openDescription=void 0,this.syncDescription(e)})}paramItem(e){const t=document.createElement("span");if(t.className=e.fromSource?"param-label from-source":"param-label",e.detail&&(t.title=e.detail),e.full!==void 0){t.classList.add("describable"),t.tabIndex=0,t.setAttribute("role","button");const n=()=>{this.openDescription=e.full,this.openDescriptionTitle=e.label,this.syncDescription([e])};t.addEventListener("click",n),t.addEventListener("keydown",o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),n())})}const i=document.createElement("span");if(i.className="param-label-label",i.textContent=`${e.label} `,t.append(i),e.color!==void 0){const n=document.createElement("span");n.className="param-label-swatch",n.style.background=e.color,t.append(n)}const s=document.createElement("span");return s.className="param-label-value",s.textContent=e.unit===""?e.value:`${e.value} ${e.unit}`,t.append(s),t}populateInfoPanel(){const e=this.entries.find(t=>t.src===this.currentSrc);if(this.infoObservationList.innerHTML="",e){const t=this.caseSource&&(this.caseSource.json.title??this.caseSource.json.id);if(t&&this.appendInfoRow(this.infoObservationList,this.messages?.case??"",t),!this.labelsShown){const n=this.formatDate(this.plain(e));n&&this.appendInfoRow(this.infoObservationList,this.messages?.date??"",n,this.basisOf(e,v.DATE_PATHS));const o=this.formatLocation(this.plain(e));o&&this.appendInfoRow(this.infoObservationList,this.messages?.location??"",o,this.basisOf(e,v.PLACE_PATHS))}const i=this.said.read(this.plain(e).description);i&&!this.labelsShown&&this.appendInfoRow(this.infoObservationList,this.messages?.description??"",i);for(const n of this.plain(e).sources??[])this.appendInfoSource(this.infoObservationList,this.messages?.source??"",n);const s=this.plain(e).tags;!this.labelsShown&&s&&s.length>0&&this.appendInfoRow(this.infoObservationList,this.messages?.tags??"",s.map(n=>this.tags.name(n)).join(", "))}this.infoAppLink.href=T,this.infoAppLink.textContent="UFO@home v0.203.0",ce.fill(this.infoCreditsList,this.sceneElement)}appendInfoSource(e,t,i){const s=document.createElement("dt");s.textContent=t;const n=document.createElement("dd"),o=this.said.read(i.title)??i.url??"";if(i.url&&/^https?:\/\//i.test(i.url)){const r=document.createElement("a");r.href=i.url,r.target="_blank",r.rel="noopener noreferrer",r.textContent=o,n.appendChild(r)}else n.append(o);const a=[i.authors?.join(", "),i.publication?.publisher,i.publication?.time,i.index].filter(Boolean);a.length>0&&n.append(`, ${a.join(", ")}`),e.append(s,n)}static DATE_PATHS=["time","utcOffsetHours","timeZone"];static PLACE_PATHS=["place"];appendInfoRow(e,t,i,s){if(!this.messages)return;const n=document.createElement("dt");n.textContent=t;const o=document.createElement("dd");if(o.textContent=i,s){const a=document.createElement("span");a.className=`basis basis-${s.basis}`,a.textContent=this.messages.basis[s.basis],s.rationales.length>0&&(a.title=s.rationales.join(`
693
693
  `)),o.append(" ",a)}e.appendChild(n),e.appendChild(o)}}const F="rr0-sighting",fe="observerchange",ge="interpretationchange";function ve(){z(),V.register(),customElements.get(F)||customElements.define(F,v)}export{A as CASE_NAMED_ATTRIBUTE,k as COMPARE_ACCOUNT_ATTRIBUTE,x as HIDE_PICKERS_ATTRIBUTE,B as INTERPRETATION_ATTRIBUTE,ge as INTERPRETATION_CHANGE_EVENT,w as OBSERVER_ATTRIBUTE,fe as OBSERVER_CHANGE_EVENT,L as SHOW_INFO_ATTRIBUTE,F as SIGHTING_ELEMENT_NAME,j as START_CLOCK_ATTRIBUTE,I as START_TIME_ATTRIBUTE,v as SightingElement,ve as registerSighting};
@@ -1 +1 @@
1
- import{bd as w}from"./rr0-sighting-editor.mjs";class i{static COMMON={envelopeVolumeM3:.19,massKg:.065,fuelKg:.03,burnS:600,insideExcessK:150,dragAreaM2:.25,luminousIntensityCd:10,widthM:.6,heightM:1,color:"#ff8a24",shape:"classic",paperColor:"#ffffff"};static FLAME_CDM2=5e3;static TITLE={en:"Sky lantern",fr:"Lanterne céleste",es:"Farolillo volador",it:"Lanterna volante"};static FLICKER=.15;static INSIDE_SHARE=2;static PAPER_FULL_CDM2=i.COMMON.luminousIntensityCd/(Math.PI*i.COMMON.widthM/2*i.COMMON.heightM/2);static SAMPLE_MS=1e3;static STEP_S=.05;static COOLING_S=20;static GUST_GROUND_M=2;static TURBULENCE={horizontalMS:.8,verticalMS:.3,timescaleS:30};static G=9.81;static R_AIR=287.05;static LAPSE=.0065;static expand(t){const e=t?.lanterns;return!t||!e||e.length===0?t:{...t,bodies:[...t.bodies,...e.flatMap(s=>i.bodiesOf(s))]}}static bodiesOf(t,e=w.NONE){return i.releasesOf(t).map((s,r)=>i.lanternBody(t,s,r,e))}static releasesOf(t){const e=[...t.releases??[]],s=t.group;if(!s||!(s.count>0))return e;const r=i.randomFrom(s.seed??1),o=n=>n.min+(n.max-n.min)*r(),M=s.count>1?(s.untilT-s.fromT)/(s.count-1):0,c=s.radiusM??20;for(let n=0;n<s.count;n++){const d=s.fromT+M*n+(r()-.5)*M,u=c*Math.sqrt(r()),a=2*Math.PI*r();e.push({t:Math.round(Math.min(s.untilT,Math.max(s.fromT,d))),explains:s.explains,eastM:Math.round(u*Math.sin(a)*10)/10,northM:Math.round(u*Math.cos(a)*10)/10,burnedS:s.burnedS,seed:Math.floor(r()*4294967296),lantern:{burnS:Math.round(o(s.burnS??{min:480,max:900})),insideExcessK:Math.round(o(s.insideExcessK??{min:125,max:175}))}})}return e}static randomFrom(t){let e=t>>>0;return()=>{e=e+1831565813>>>0;let s=e;return s=Math.imul(s^s>>>15,s|1),s^=s+Math.imul(s^s>>>7,s|61),((s^s>>>14)>>>0)/4294967296}}static typeOf(t,e){return{...i.COMMON,...t.lantern,...e.lantern}}static heatShare(t,e){if(e<0||e>=t.burnS)return 0;const s=t.burnS*.75;return e<=s?1:(t.burnS-e)/(t.burnS-s)}static windAt(t,e){const s=i.componentsOf(t.wind),r=t.windAloft;if(!r)return s;const o=i.componentsOf(r),M=Math.max(0,Math.min(1,e/r.atM));return{x:s.x+(o.x-s.x)*M,y:s.y+(o.y-s.y)*M}}static trajectory(t,e,s=i.SAMPLE_MS,r=w.NONE){const o=i.typeOf(t,e),M=t.site,c=M.altitudeM??0,n=Math.max(0,e.burnedS??0),d=M.originElevationM??0,u=(t.airTemperatureC??10)+273.15,a={x:M.eastM+(e.eastM??0),y:M.northM+(e.northM??0),z:e.altitudeM??c,vx:0,vy:0,vz:0,excessK:o.insideExcessK*i.heatShare(o,n)},h=i.STEP_S,y=Math.max(1,Math.round(s/1e3/h)),E=Math.ceil(Math.max(0,o.burnS-n)/h),I=[{t:e.t,x:a.x,y:a.y,z:a.z,light:i.heatShare(o,n),tiltDeg:0,tiltTowardDeg:0}],S=i.gusts(t.turbulence??i.TURBULENCE,i.seedOf(e),h);for(let x=1;x<=E;x++){const C=x*h,A=n+C,P=i.heatShare(o,A);a.excessK+=(o.insideExcessK*P-a.excessK)*Math.min(1,h/i.COOLING_S);const p=a.z-c,T=u-i.LAPSE*Math.max(0,p),b=101325*Math.exp(-(a.z+d)/8400),f=b/(i.R_AIR*T),D=b/(i.R_AIR*(T+a.excessK)),g=o.massKg-o.fuelKg*Math.min(1,A/o.burnS),F=(f-D)*o.envelopeVolumeM3*i.G,K=g+D*o.envelopeVolumeM3+.5*f*o.envelopeVolumeM3,N=i.windAt(t,p),z=S(),G=Math.max(0,Math.min(1,p/i.GUST_GROUND_M)),l={x:N.x+z.x,y:N.y+z.y,z:z.z*G},U=a.vx-l.x,B=a.vy-l.y,V=a.vz-l.z,m=.5*f*o.dragAreaM2*Math.hypot(U,B,V)/K;a.vx=(a.vx+m*h*l.x)/(1+m*h),a.vy=(a.vy+m*h*l.y)/(1+m*h),a.vz=(a.vz+m*h*l.z+(F-g*i.G)/K*h)/(1+m*h);const R=a.z<=c&&a.vz<=0;R&&(a.vx=0,a.vy=0,a.vz=0);const j=a.z;if(a.x+=a.vx*h,a.y+=a.vy*h,a.z=Math.max(c,a.z+a.vz*h),r.empty||i.keptOut(a,j,o.widthM/2,r),x%y===0||x===E){const v=l.x-a.vx,O=l.y-a.vy,q=.5*f*o.dragAreaM2*Math.hypot(v,O,l.z-a.vz)*Math.hypot(v,O);I.push({t:e.t+Math.round(C*1e3),x:a.x,y:a.y,z:a.z,light:P,tiltDeg:R?0:Math.atan2(q,g*i.G)*180/Math.PI,tiltTowardDeg:(Math.atan2(v,O)*180/Math.PI+360)%360})}}return I}static keptOut(t,e,s,r){const o=r.inside(t.x,t.y,t.z,s);if(!o)return;const M=o.box.topM;if(e>=M-1e-6||t.z>=M-1e-6){t.z<M&&(t.z=M,t.vz<0&&(t.vz=0));return}t.x+=o.nx*o.depthM,t.y+=o.ny*o.depthM;const c=t.vx*o.nx+t.vy*o.ny;c<0&&(t.vx-=c*o.nx,t.vy-=c*o.ny)}static seedOf(t){return t.seed!==void 0?t.seed:Math.round(t.t)*2654435761+Math.round((t.eastM??0)*100)*40503+Math.round((t.northM??0)*100)>>>0}static gusts(t,e,s){const r=i.randomFrom(e),o=()=>Math.sqrt(-2*Math.log(Math.max(1e-12,r())))*Math.cos(2*Math.PI*r()),M=t.timescaleS>0?Math.exp(-s/t.timescaleS):0,c=Math.sqrt(1-M*M),n={x:t.horizontalMS*o(),y:t.horizontalMS*o(),z:t.verticalMS*o()};return()=>(n.x=M*n.x+c*t.horizontalMS*o(),n.y=M*n.y+c*t.horizontalMS*o(),n.z=M*n.z+c*t.verticalMS*o(),n)}static componentsOf(t){if(!t)return{x:0,y:0};const e=t.towardDeg*Math.PI/180;return{x:Math.sin(e)*t.speedMS,y:Math.cos(e)*t.speedMS}}static lanternBody(t,e,s,r){const o=i.typeOf(t,e),M=o.luminousIntensityCd/(Math.PI*o.widthM/2*o.heightM/2),c=i.trajectory(t,e,i.SAMPLE_MS,r),n={widthM:o.widthM,lengthM:o.widthM,heightM:o.heightM},d=i.through(o.color,o.paperColor),u=c.map((a,h)=>({t:a.t,eastM:a.x,northM:a.y,altitudeM:a.z,...h===0?{sizeM:n,present:!0}:{},attitude:{headingDeg:Math.round(a.tiltTowardDeg),pitchDeg:-Math.round(a.tiltDeg*10)/10},appearance:{color:d,luminanceCdM2:M*a.light,...h===0?{albedo:.6,haloScale:1}:{}},lights:i.lightsOf(M*a.light)}));return u.push({t:c[c.length-1].t+1,present:!1}),{id:`${t.id}-lantern-${s+1}`,title:i.TITLE,explains:e.explains,model:{id:`ufoathome-sky-lantern-${o.shape}`},modelParameters:{paperColor:o.paperColor},flicker:i.FLICKER,altitudeFrom:{eastM:c[0].x,northM:c[0].y},track:u}}static lightsOf(t){return{paper:t,"paper-inside":t*i.INSIDE_SHARE,flame:t>0?i.FLAME_CDM2*t/i.PAPER_FULL_CDM2:0}}static through(t,e){const s=n=>[1,3,5].map(d=>parseInt(n.slice(d,d+2),16)/255),r=s(t),o=s(e),M=r.map((n,d)=>n*o[d]),c=Math.max(...r)/(Math.max(...M)||1);return"#"+M.map(n=>Math.round(Math.min(1,n*c)*255).toString(16).padStart(2,"0")).join("")}}export{i as SkyLantern};
1
+ import{be as w}from"./rr0-sighting-editor.mjs";class i{static COMMON={envelopeVolumeM3:.19,massKg:.065,fuelKg:.03,burnS:600,insideExcessK:150,dragAreaM2:.25,luminousIntensityCd:10,widthM:.6,heightM:1,color:"#ff8a24",shape:"classic",paperColor:"#ffffff"};static FLAME_CDM2=5e3;static TITLE={en:"Sky lantern",fr:"Lanterne céleste",es:"Farolillo volador",it:"Lanterna volante"};static FLICKER=.15;static INSIDE_SHARE=2;static PAPER_FULL_CDM2=i.COMMON.luminousIntensityCd/(Math.PI*i.COMMON.widthM/2*i.COMMON.heightM/2);static SAMPLE_MS=1e3;static STEP_S=.05;static COOLING_S=20;static GUST_GROUND_M=2;static TURBULENCE={horizontalMS:.8,verticalMS:.3,timescaleS:30};static G=9.81;static R_AIR=287.05;static LAPSE=.0065;static expand(t){const e=t?.lanterns;return!t||!e||e.length===0?t:{...t,bodies:[...t.bodies,...e.flatMap(s=>i.bodiesOf(s))]}}static bodiesOf(t,e=w.NONE){return i.releasesOf(t).map((s,r)=>i.lanternBody(t,s,r,e))}static releasesOf(t){const e=[...t.releases??[]],s=t.group;if(!s||!(s.count>0))return e;const r=i.randomFrom(s.seed??1),o=n=>n.min+(n.max-n.min)*r(),M=s.count>1?(s.untilT-s.fromT)/(s.count-1):0,c=s.radiusM??20;for(let n=0;n<s.count;n++){const d=s.fromT+M*n+(r()-.5)*M,u=c*Math.sqrt(r()),a=2*Math.PI*r();e.push({t:Math.round(Math.min(s.untilT,Math.max(s.fromT,d))),explains:s.explains,eastM:Math.round(u*Math.sin(a)*10)/10,northM:Math.round(u*Math.cos(a)*10)/10,burnedS:s.burnedS,seed:Math.floor(r()*4294967296),lantern:{burnS:Math.round(o(s.burnS??{min:480,max:900})),insideExcessK:Math.round(o(s.insideExcessK??{min:125,max:175}))}})}return e}static randomFrom(t){let e=t>>>0;return()=>{e=e+1831565813>>>0;let s=e;return s=Math.imul(s^s>>>15,s|1),s^=s+Math.imul(s^s>>>7,s|61),((s^s>>>14)>>>0)/4294967296}}static typeOf(t,e){return{...i.COMMON,...t.lantern,...e.lantern}}static heatShare(t,e){if(e<0||e>=t.burnS)return 0;const s=t.burnS*.75;return e<=s?1:(t.burnS-e)/(t.burnS-s)}static windAt(t,e){const s=i.componentsOf(t.wind),r=t.windAloft;if(!r)return s;const o=i.componentsOf(r),M=Math.max(0,Math.min(1,e/r.atM));return{x:s.x+(o.x-s.x)*M,y:s.y+(o.y-s.y)*M}}static trajectory(t,e,s=i.SAMPLE_MS,r=w.NONE){const o=i.typeOf(t,e),M=t.site,c=M.altitudeM??0,n=Math.max(0,e.burnedS??0),d=M.originElevationM??0,u=(t.airTemperatureC??10)+273.15,a={x:M.eastM+(e.eastM??0),y:M.northM+(e.northM??0),z:e.altitudeM??c,vx:0,vy:0,vz:0,excessK:o.insideExcessK*i.heatShare(o,n)},h=i.STEP_S,y=Math.max(1,Math.round(s/1e3/h)),E=Math.ceil(Math.max(0,o.burnS-n)/h),I=[{t:e.t,x:a.x,y:a.y,z:a.z,light:i.heatShare(o,n),tiltDeg:0,tiltTowardDeg:0}],S=i.gusts(t.turbulence??i.TURBULENCE,i.seedOf(e),h);for(let x=1;x<=E;x++){const C=x*h,A=n+C,P=i.heatShare(o,A);a.excessK+=(o.insideExcessK*P-a.excessK)*Math.min(1,h/i.COOLING_S);const p=a.z-c,T=u-i.LAPSE*Math.max(0,p),b=101325*Math.exp(-(a.z+d)/8400),f=b/(i.R_AIR*T),D=b/(i.R_AIR*(T+a.excessK)),g=o.massKg-o.fuelKg*Math.min(1,A/o.burnS),F=(f-D)*o.envelopeVolumeM3*i.G,K=g+D*o.envelopeVolumeM3+.5*f*o.envelopeVolumeM3,N=i.windAt(t,p),z=S(),G=Math.max(0,Math.min(1,p/i.GUST_GROUND_M)),l={x:N.x+z.x,y:N.y+z.y,z:z.z*G},U=a.vx-l.x,B=a.vy-l.y,V=a.vz-l.z,m=.5*f*o.dragAreaM2*Math.hypot(U,B,V)/K;a.vx=(a.vx+m*h*l.x)/(1+m*h),a.vy=(a.vy+m*h*l.y)/(1+m*h),a.vz=(a.vz+m*h*l.z+(F-g*i.G)/K*h)/(1+m*h);const R=a.z<=c&&a.vz<=0;R&&(a.vx=0,a.vy=0,a.vz=0);const j=a.z;if(a.x+=a.vx*h,a.y+=a.vy*h,a.z=Math.max(c,a.z+a.vz*h),r.empty||i.keptOut(a,j,o.widthM/2,r),x%y===0||x===E){const v=l.x-a.vx,O=l.y-a.vy,q=.5*f*o.dragAreaM2*Math.hypot(v,O,l.z-a.vz)*Math.hypot(v,O);I.push({t:e.t+Math.round(C*1e3),x:a.x,y:a.y,z:a.z,light:P,tiltDeg:R?0:Math.atan2(q,g*i.G)*180/Math.PI,tiltTowardDeg:(Math.atan2(v,O)*180/Math.PI+360)%360})}}return I}static keptOut(t,e,s,r){const o=r.inside(t.x,t.y,t.z,s);if(!o)return;const M=o.box.topM;if(e>=M-1e-6||t.z>=M-1e-6){t.z<M&&(t.z=M,t.vz<0&&(t.vz=0));return}t.x+=o.nx*o.depthM,t.y+=o.ny*o.depthM;const c=t.vx*o.nx+t.vy*o.ny;c<0&&(t.vx-=c*o.nx,t.vy-=c*o.ny)}static seedOf(t){return t.seed!==void 0?t.seed:Math.round(t.t)*2654435761+Math.round((t.eastM??0)*100)*40503+Math.round((t.northM??0)*100)>>>0}static gusts(t,e,s){const r=i.randomFrom(e),o=()=>Math.sqrt(-2*Math.log(Math.max(1e-12,r())))*Math.cos(2*Math.PI*r()),M=t.timescaleS>0?Math.exp(-s/t.timescaleS):0,c=Math.sqrt(1-M*M),n={x:t.horizontalMS*o(),y:t.horizontalMS*o(),z:t.verticalMS*o()};return()=>(n.x=M*n.x+c*t.horizontalMS*o(),n.y=M*n.y+c*t.horizontalMS*o(),n.z=M*n.z+c*t.verticalMS*o(),n)}static componentsOf(t){if(!t)return{x:0,y:0};const e=t.towardDeg*Math.PI/180;return{x:Math.sin(e)*t.speedMS,y:Math.cos(e)*t.speedMS}}static lanternBody(t,e,s,r){const o=i.typeOf(t,e),M=o.luminousIntensityCd/(Math.PI*o.widthM/2*o.heightM/2),c=i.trajectory(t,e,i.SAMPLE_MS,r),n={widthM:o.widthM,lengthM:o.widthM,heightM:o.heightM},d=i.through(o.color,o.paperColor),u=c.map((a,h)=>({t:a.t,eastM:a.x,northM:a.y,altitudeM:a.z,...h===0?{sizeM:n,present:!0}:{},attitude:{headingDeg:Math.round(a.tiltTowardDeg),pitchDeg:-Math.round(a.tiltDeg*10)/10},appearance:{color:d,luminanceCdM2:M*a.light,...h===0?{albedo:.6,haloScale:1}:{}},lights:i.lightsOf(M*a.light)}));return u.push({t:c[c.length-1].t+1,present:!1}),{id:`${t.id}-lantern-${s+1}`,title:i.TITLE,explains:e.explains,model:{id:`ufoathome-sky-lantern-${o.shape}`},modelParameters:{paperColor:o.paperColor},flicker:i.FLICKER,altitudeFrom:{eastM:c[0].x,northM:c[0].y},track:u}}static lightsOf(t){return{paper:t,"paper-inside":t*i.INSIDE_SHARE,flame:t>0?i.FLAME_CDM2*t/i.PAPER_FULL_CDM2:0}}static through(t,e){const s=n=>[1,3,5].map(d=>parseInt(n.slice(d,d+2),16)/255),r=s(t),o=s(e),M=r.map((n,d)=>n*o[d]),c=Math.max(...r)/(Math.max(...M)||1);return"#"+M.map(n=>Math.round(Math.min(1,n*c)*255).toString(16).padStart(2,"0")).join("")}}export{i as SkyLantern};
@@ -1,4 +1,4 @@
1
- import{c6 as ee,c4 as F,c7 as j,c8 as M,c9 as te,b7 as G,b8 as Z,Y as E,bM as ie,ca as O,cb as J,b$ as ne,cc as I,b4 as se,bO as B,cd as oe,a1 as ae,ce as re,b1 as le,bD as ce,cf as de,bm as fe,cg as ue,bB as pe,ch as he,ci as me,cj as V,w as ge}from"./rr0-sighting-editor.mjs";const k=new G,P=new E;class Y extends ee{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry";const e=[-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],n=[-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],i=[0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5];this.setIndex(i),this.setAttribute("position",new F(e,3)),this.setAttribute("uv",new F(n,2))}applyMatrix4(e){const n=this.attributes.instanceStart,i=this.attributes.instanceEnd;return n!==void 0&&(n.applyMatrix4(e),i.applyMatrix4(e),n.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}setPositions(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new j(n,6,1);return this.setAttribute("instanceStart",new M(i,3,0)),this.setAttribute("instanceEnd",new M(i,3,3)),this.instanceCount=this.attributes.instanceStart.count,this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new j(n,6,1);return this.setAttribute("instanceColorStart",new M(i,3,0)),this.setAttribute("instanceColorEnd",new M(i,3,3)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new te(e.geometry)),this}fromLineSegments(e){const n=e.geometry;return this.setPositions(n.attributes.position.array),this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new G);const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;e!==void 0&&n!==void 0&&(this.boundingBox.setFromBufferAttribute(e),k.setFromBufferAttribute(n),this.boundingBox.union(k))}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new Z),this.boundingBox===null&&this.computeBoundingBox();const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;if(e!==void 0&&n!==void 0){const i=this.boundingSphere.center;this.boundingBox.getCenter(i);let t=0;for(let o=0,l=e.count;o<l;o++)P.fromBufferAttribute(e,o),t=Math.max(t,i.distanceToSquared(P)),P.fromBufferAttribute(n,o),t=Math.max(t,i.distanceToSquared(P));this.boundingSphere.radius=Math.sqrt(t),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}}I.line={worldUnits:{value:1},linewidth:{value:1},resolution:{value:new ne},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}};O.line={uniforms:J.merge([I.common,I.fog,I.line]),vertexShader:`
1
+ import{c6 as ee,c4 as F,c7 as j,c8 as M,c9 as te,b8 as G,b9 as Z,Y as E,bN as ie,ca as O,cb as J,b$ as ne,cc as I,b5 as se,bP as B,cd as oe,a1 as ae,ce as re,b2 as le,bE as ce,cf as de,bn as fe,cg as ue,bC as pe,ch as he,ci as me,cj as V,w as ge}from"./rr0-sighting-editor.mjs";const k=new G,P=new E;class Y extends ee{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry";const e=[-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],n=[-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],i=[0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5];this.setIndex(i),this.setAttribute("position",new F(e,3)),this.setAttribute("uv",new F(n,2))}applyMatrix4(e){const n=this.attributes.instanceStart,i=this.attributes.instanceEnd;return n!==void 0&&(n.applyMatrix4(e),i.applyMatrix4(e),n.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}setPositions(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new j(n,6,1);return this.setAttribute("instanceStart",new M(i,3,0)),this.setAttribute("instanceEnd",new M(i,3,3)),this.instanceCount=this.attributes.instanceStart.count,this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new j(n,6,1);return this.setAttribute("instanceColorStart",new M(i,3,0)),this.setAttribute("instanceColorEnd",new M(i,3,3)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new te(e.geometry)),this}fromLineSegments(e){const n=e.geometry;return this.setPositions(n.attributes.position.array),this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new G);const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;e!==void 0&&n!==void 0&&(this.boundingBox.setFromBufferAttribute(e),k.setFromBufferAttribute(n),this.boundingBox.union(k))}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new Z),this.boundingBox===null&&this.computeBoundingBox();const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;if(e!==void 0&&n!==void 0){const i=this.boundingSphere.center;this.boundingBox.getCenter(i);let t=0;for(let o=0,l=e.count;o<l;o++)P.fromBufferAttribute(e,o),t=Math.max(t,i.distanceToSquared(P)),P.fromBufferAttribute(n,o),t=Math.max(t,i.distanceToSquared(P));this.boundingSphere.radius=Math.sqrt(t),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}}I.line={worldUnits:{value:1},linewidth:{value:1},resolution:{value:new ne},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}};O.line={uniforms:J.merge([I.common,I.fog,I.line]),vertexShader:`
2
2
  #include <common>
3
3
  #include <color_pars_vertex>
4
4
  #include <fog_pars_vertex>
@@ -1,4 +1,4 @@
1
- import{b1 as A,bZ as F,bD as y,a1 as E,bc as D,Y as M,b_ as I,bO as L,b$ as R,w as N,b4 as U,c0 as C,c1 as P,c2 as O,c3 as B,bm as V,c4 as T}from"./rr0-sighting-editor.mjs";class r{static LIFT_M=.05;static RENDER_ORDER=1.04;static LEVEL_QUANTILE=.2;static BODY_ALBEDO=[.035,.045,.04];static IOR=1.33;static ROUGHNESS=.08;static MAX_SAMPLES=48;static REFLECTION_SCALE=.5;group=new A;material=new F({color:new y(...r.BODY_ALBEDO),roughness:r.ROUGHNESS,metalness:0,ior:r.IOR,polygonOffset:!0,polygonOffsetFactor:-2,polygonOffsetUnits:-2});levels=new Map;reflectionTarget;reflectionUniforms={uWaterReflection:{value:null},uWaterReflectionMatrix:{value:new E},uWaterReflectionOn:{value:0}};mirrorCamera=new D;eye=new M;ahead=new M;up=new M;plane=new I;clip=new L;q=new L;size=new R;bias=new E().set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1);constructor(){this.group.name="water",this.material.onBeforeCompile=t=>{Object.assign(t.uniforms,this.reflectionUniforms),t.vertexShader=t.vertexShader.replace("#include <common>",`#include <common>
1
+ import{b2 as A,bZ as F,bE as b,a1 as y,bd as D,Y as M,b_ as I,bP as L,b$ as R,w as N,b5 as P,c0 as C,c1 as U,c2 as T,c3 as B,bn as V,c4 as O}from"./rr0-sighting-editor.mjs";class r{static LIFT_M=.05;static RENDER_ORDER=1.04;static LEVEL_QUANTILE=.2;static BODY_ALBEDO=[.035,.045,.04];static IOR=1.33;static ROUGHNESS=.08;static MAX_SAMPLES=48;static REFLECTION_SCALE=.5;group=new A;material=new F({color:new b(...r.BODY_ALBEDO),roughness:r.ROUGHNESS,metalness:0,ior:r.IOR,polygonOffset:!0,polygonOffsetFactor:-2,polygonOffsetUnits:-2});levels=new Map;reflectionTarget;reflectionUniforms={uWaterReflection:{value:null},uWaterReflectionMatrix:{value:new y},uWaterReflectionOn:{value:0}};mirrorCamera=new D;eye=new M;ahead=new M;up=new M;plane=new I;clip=new L;q=new L;size=new R;bias=new y().set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1);constructor(){this.group.name="water",this.material.onBeforeCompile=t=>{Object.assign(t.uniforms,this.reflectionUniforms),t.vertexShader=t.vertexShader.replace("#include <common>",`#include <common>
2
2
  varying vec3 vWaterWorld;`).replace("#include <project_vertex>",`#include <project_vertex>
3
3
  vWaterWorld = (modelMatrix * vec4(transformed, 1.0)).xyz;`),t.fragmentShader=t.fragmentShader.replace("#include <common>",`#include <common>
4
4
  varying vec3 vWaterWorld;
@@ -16,4 +16,4 @@ vWaterWorld = (modelMatrix * vec4(transformed, 1.0)).xyz;`),t.fragmentShader=t.f
16
16
  outgoingLight = outgoingLight * (1.0 - mirrored.a * fresnel) + mirrored.rgb * fresnel;
17
17
  }
18
18
  }
19
- #include <opaque_fragment>`)}}set(t,o,e,f,i,a){this.clear();for(const l of t){const h=l.rings.map(n=>r.clip(n.map(u=>N(u.lat,u.lng,o,e)),i)),c=h[0];if(!c||c.length<3)continue;const d=h.slice(1).filter(n=>n.length>=3),p=r.level(c,d,f,a);if(p===void 0)continue;const s=r.geometry(c,d,p+r.LIFT_M);if(!s)continue;const g=new U(s,this.material);g.name=`water ${l.id}`,g.renderOrder=r.RENDER_ORDER,g.receiveShadow=!0,this.group.add(g),this.levels.set(g,{y:p+r.LIFT_M,areaM2:Math.abs(C.area(c.map(n=>new R(n.x,n.z))))})}}get count(){return this.group.children.length}clear(){for(const t of[...this.group.children])t.geometry.dispose(),this.group.remove(t);this.levels.clear()}dispose(){this.clear(),this.material.dispose(),this.reflectionTarget?.dispose()}reflectBodies(t,o,e,f,i,a){const l=this.reflectionUniforms;l.uWaterReflectionOn.value=0;let h;for(const[v,b]of this.levels)v.visible&&(!h||b.areaM2>h.areaM2)&&(h=b);if(!i||!h)return;this.group.updateWorldMatrix(!0,!1);const c=h.y+this.group.position.y;if(e.updateMatrixWorld(),this.eye.setFromMatrixPosition(e.matrixWorld),this.eye.y<=c)return;t.getDrawingBufferSize(this.size);const d=Math.max(16,Math.round(this.size.x*r.REFLECTION_SCALE)),p=Math.max(16,Math.round(this.size.y*r.REFLECTION_SCALE));(!this.reflectionTarget||this.reflectionTarget.width!==d||this.reflectionTarget.height!==p)&&(this.reflectionTarget?.dispose(),this.reflectionTarget=new P(d,p,{type:B,minFilter:O,magFilter:O}));const s=this.mirrorCamera,g=v=>v.setY(2*c-v.y);s.position.copy(g(this.eye.clone())),e.getWorldDirection(this.ahead);const n=g(this.eye.clone().add(this.ahead));this.up.set(0,1,0).applyQuaternion(e.quaternion),s.up.set(this.up.x,-this.up.y,this.up.z),s.lookAt(n),s.fov=a??e.fov,s.aspect=e.aspect,s.near=e.near,s.far=e.far,s.updateProjectionMatrix(),s.updateMatrixWorld(),this.clipAtLevel(s,c),l.uWaterReflectionMatrix.value.copy(this.bias).multiply(s.projectionMatrix).multiply(s.matrixWorldInverse),o.traverseVisible(v=>{v.isLight&&v.layers.enable(f)});const u=t.getRenderTarget(),m=t.autoClear,x=t.shadowMap.autoUpdate,w=o.background,z=t.getClearAlpha();t.getClearColor(r.clearColor),o.background=null,t.shadowMap.autoUpdate=!1,t.setRenderTarget(this.reflectionTarget),t.setClearColor(0,0),t.autoClear=!0,s.layers.set(f),t.render(o,s),t.setRenderTarget(u),t.setClearColor(r.clearColor,z),t.autoClear=m,t.shadowMap.autoUpdate=x,o.background=w,l.uWaterReflection.value=this.reflectionTarget.texture,l.uWaterReflectionOn.value=1}static clearColor=new y;clipAtLevel(t,o){this.plane.setFromNormalAndCoplanarPoint(new M(0,1,0),new M(0,o,0)).applyMatrix4(t.matrixWorldInverse),this.clip.set(this.plane.normal.x,this.plane.normal.y,this.plane.normal.z,this.plane.constant);const e=t.projectionMatrix.elements;this.q.set((Math.sign(this.clip.x)+e[8])/e[0],(Math.sign(this.clip.y)+e[9])/e[5],-1,(1+e[10])/e[14]),this.clip.multiplyScalar(2/this.clip.dot(this.q)),e[2]=this.clip.x,e[6]=this.clip.y,e[10]=this.clip.z+1,e[14]=this.clip.w}static level(t,o,e,f){const i=t.map(n=>n.x),a=t.map(n=>n.z),[l,h,c,d]=[Math.min(...i),Math.max(...i),Math.min(...a),Math.max(...a)],p=Math.max(f,(h-l)/r.MAX_SAMPLES,(d-c)/r.MAX_SAMPLES,.5),s=[];for(let n=c+p/2;n<d;n+=p)for(let u=l+p/2;u<h;u+=p){const m={x:u,z:n};if(!r.contains(t,m)||o.some(w=>r.contains(w,m)))continue;const x=e(u,n);Number.isFinite(x)&&s.push(x)}if(s.length===0)for(const n of t)s.push(e(n.x,n.z));const g=s.filter(Number.isFinite).sort((n,u)=>n-u);if(g.length!==0)return g[Math.floor((g.length-1)*r.LEVEL_QUANTILE)]}static clip(t,o){let e=t;const f=[{inside:i=>i.x>=-o,cross:(i,a)=>r.atX(i,a,-o)},{inside:i=>i.x<=o,cross:(i,a)=>r.atX(i,a,o)},{inside:i=>i.z>=-o,cross:(i,a)=>r.atZ(i,a,-o)},{inside:i=>i.z<=o,cross:(i,a)=>r.atZ(i,a,o)}];for(const i of f){const a=[];for(let l=0;l<e.length;l++){const h=e[l],c=e[(l+e.length-1)%e.length];i.inside(h)?(i.inside(c)||a.push(i.cross(c,h)),a.push(h)):i.inside(c)&&a.push(i.cross(c,h))}if(e=a,e.length===0)break}return e}static atX(t,o,e){return{x:e,z:t.z+(o.z-t.z)*(e-t.x)/(o.x-t.x)}}static atZ(t,o,e){return{x:t.x+(o.x-t.x)*(e-t.z)/(o.z-t.z),z:e}}static contains(t,o){let e=!1;for(let f=0,i=t.length-1;f<t.length;i=f++){const a=t[f],l=t[i];a.z>o.z!=l.z>o.z&&o.x<(l.x-a.x)*(o.z-a.z)/(l.z-a.z)+a.x&&(e=!e)}return e}static geometry(t,o,e){const f=s=>new R(s.x,s.z),i=t.map(f),a=o.map(s=>s.map(f)),l=C.triangulateShape(i,a);if(l.length===0)return;const h=[...i,...a.flat()],c=[];for(const[s,g,n]of l){const[u,m,x]=[h[s],h[g],h[n]],w=(m.y-u.y)*(x.x-u.x)-(m.x-u.x)*(x.y-u.y)>0;for(const z of w?[u,m,x]:[u,x,m])c.push(z.x,e,z.y)}const d=new V;d.setAttribute("position",new T(c,3));const p=new Float32Array(c.length);for(let s=1;s<p.length;s+=3)p[s]=1;return d.setAttribute("normal",new T(p,3)),d.computeBoundingSphere(),d}}export{r as WaterSystem};
19
+ #include <opaque_fragment>`)}}set(t,o,e,f,i,a){this.clear();for(const l of t){const h=l.rings.map(n=>r.clip(n.map(u=>N(u.lat,u.lng,o,e)),i)),c=h[0];if(!c||c.length<3)continue;const d=h.slice(1).filter(n=>n.length>=3),p=r.level(c,d,f,a);if(p===void 0)continue;const s=r.geometry(c,d,p+r.LIFT_M);if(!s)continue;const g=new P(s,this.material);g.name=`water ${l.id}`,g.renderOrder=r.RENDER_ORDER,g.receiveShadow=!0,this.group.add(g),this.levels.set(g,{y:p+r.LIFT_M,areaM2:Math.abs(C.area(c.map(n=>new R(n.x,n.z))))})}}get count(){return this.group.children.length}clear(){for(const t of[...this.group.children])t.geometry.dispose(),this.group.remove(t);this.levels.clear()}dispose(){this.clear(),this.material.dispose(),this.reflectionTarget?.dispose()}reflectBodies(t,o,e,f,i,a){const l=this.reflectionUniforms;l.uWaterReflectionOn.value=0;let h;for(const[v,E]of this.levels)v.visible&&(!h||E.areaM2>h.areaM2)&&(h=E);if(!i||!h)return;this.group.updateWorldMatrix(!0,!1);const c=h.y+this.group.position.y;if(e.updateMatrixWorld(),this.eye.setFromMatrixPosition(e.matrixWorld),this.eye.y<=c)return;t.getDrawingBufferSize(this.size);const d=Math.max(16,Math.round(this.size.x*r.REFLECTION_SCALE)),p=Math.max(16,Math.round(this.size.y*r.REFLECTION_SCALE));(!this.reflectionTarget||this.reflectionTarget.width!==d||this.reflectionTarget.height!==p)&&(this.reflectionTarget?.dispose(),this.reflectionTarget=new U(d,p,{type:B,minFilter:T,magFilter:T}));const s=this.mirrorCamera,g=v=>v.setY(2*c-v.y);s.position.copy(g(this.eye.clone())),e.getWorldDirection(this.ahead);const n=g(this.eye.clone().add(this.ahead));this.up.set(0,1,0).applyQuaternion(e.quaternion),s.up.set(this.up.x,-this.up.y,this.up.z),s.lookAt(n),s.fov=a??e.fov,s.aspect=e.aspect,s.near=e.near,s.far=e.far,s.updateProjectionMatrix(),s.updateMatrixWorld(),this.clipAtLevel(s,c),l.uWaterReflectionMatrix.value.copy(this.bias).multiply(s.projectionMatrix).multiply(s.matrixWorldInverse),o.traverseVisible(v=>{v.isLight&&v.layers.enable(f)});const u=t.getRenderTarget(),m=t.autoClear,x=t.shadowMap.autoUpdate,w=o.background,z=t.getClearAlpha();t.getClearColor(r.clearColor),o.background=null,t.shadowMap.autoUpdate=!1,t.setRenderTarget(this.reflectionTarget),t.setClearColor(0,0),t.autoClear=!0,s.layers.set(f),t.render(o,s),t.setRenderTarget(u),t.setClearColor(r.clearColor,z),t.autoClear=m,t.shadowMap.autoUpdate=x,o.background=w,l.uWaterReflection.value=this.reflectionTarget.texture,l.uWaterReflectionOn.value=1}static clearColor=new b;clipAtLevel(t,o){this.plane.setFromNormalAndCoplanarPoint(new M(0,1,0),new M(0,o,0)).applyMatrix4(t.matrixWorldInverse),this.clip.set(this.plane.normal.x,this.plane.normal.y,this.plane.normal.z,this.plane.constant);const e=t.projectionMatrix.elements;this.q.set((Math.sign(this.clip.x)+e[8])/e[0],(Math.sign(this.clip.y)+e[9])/e[5],-1,(1+e[10])/e[14]),this.clip.multiplyScalar(2/this.clip.dot(this.q)),e[2]=this.clip.x,e[6]=this.clip.y,e[10]=this.clip.z+1,e[14]=this.clip.w}static level(t,o,e,f){const i=t.map(n=>n.x),a=t.map(n=>n.z),[l,h,c,d]=[Math.min(...i),Math.max(...i),Math.min(...a),Math.max(...a)],p=Math.max(f,(h-l)/r.MAX_SAMPLES,(d-c)/r.MAX_SAMPLES,.5),s=[];for(let n=c+p/2;n<d;n+=p)for(let u=l+p/2;u<h;u+=p){const m={x:u,z:n};if(!r.contains(t,m)||o.some(w=>r.contains(w,m)))continue;const x=e(u,n);Number.isFinite(x)&&s.push(x)}if(s.length===0)for(const n of t)s.push(e(n.x,n.z));const g=s.filter(Number.isFinite).sort((n,u)=>n-u);if(g.length!==0)return g[Math.floor((g.length-1)*r.LEVEL_QUANTILE)]}static clip(t,o){let e=t;const f=[{inside:i=>i.x>=-o,cross:(i,a)=>r.atX(i,a,-o)},{inside:i=>i.x<=o,cross:(i,a)=>r.atX(i,a,o)},{inside:i=>i.z>=-o,cross:(i,a)=>r.atZ(i,a,-o)},{inside:i=>i.z<=o,cross:(i,a)=>r.atZ(i,a,o)}];for(const i of f){const a=[];for(let l=0;l<e.length;l++){const h=e[l],c=e[(l+e.length-1)%e.length];i.inside(h)?(i.inside(c)||a.push(i.cross(c,h)),a.push(h)):i.inside(c)&&a.push(i.cross(c,h))}if(e=a,e.length===0)break}return e}static atX(t,o,e){return{x:e,z:t.z+(o.z-t.z)*(e-t.x)/(o.x-t.x)}}static atZ(t,o,e){return{x:t.x+(o.x-t.x)*(e-t.z)/(o.z-t.z),z:e}}static contains(t,o){let e=!1;for(let f=0,i=t.length-1;f<t.length;i=f++){const a=t[f],l=t[i];a.z>o.z!=l.z>o.z&&o.x<(l.x-a.x)*(o.z-a.z)/(l.z-a.z)+a.x&&(e=!e)}return e}static geometry(t,o,e){const f=s=>new R(s.x,s.z),i=t.map(f),a=o.map(s=>s.map(f)),l=C.triangulateShape(i,a);if(l.length===0)return;const h=[...i,...a.flat()],c=[];for(const[s,g,n]of l){const[u,m,x]=[h[s],h[g],h[n]],w=(m.y-u.y)*(x.x-u.x)-(m.x-u.x)*(x.y-u.y)>0;for(const z of w?[u,m,x]:[u,x,m])c.push(z.x,e,z.y)}const d=new V;d.setAttribute("position",new O(c,3));const p=new Float32Array(c.length);for(let s=1;s<p.length;s+=3)p[s]=1;return d.setAttribute("normal",new O(p,3)),d.computeBoundingSphere(),d}}export{r as WaterSystem};
@@ -1 +1 @@
1
- const e={type:"string",doc:"The schema this file was written against, for an editor to check it with: https://ufoathome.org/schema/1/case.schema.json."},t={type:"number",doc:"The version of the format this file is written in (see FormatVersion): 1 when left out, as RR0 writes it."},s={type:"string",doc:"The case's identifier."},a={type:"string"},o={type:"string",doc:"What a link to this case says of it where it is shared as a card (see the Player's share card): a sentence or two, translatable.",loose:!0},i={type:"string",doc:"A picture standing for the case where it is only linked to — see SightingEvent.image."},n={type:"string",doc:'When it happened, as RR0 writes a time ("1948-07-24 02:45", "1954").'},r={type:"array",fields:{type:{type:"enum",values:["event"]},eventType:{type:"string",doc:"What kind of event it is.",suggest:["sighting","interview","interpretation","article","image","book"]},id:{type:"string",doc:"What a reading names an account by (`interpretationOf`), local to the case: it has to be unique among the case's events and nowhere else, so that a reference can be read in the file that writes it."},url:{type:"string"},time:{type:"string"},place:{type:"string",doc:"Where it happened, as RR0 names a place."},by:{type:"array",doc:"Who did it: who held an interview, who made a reading."},medium:{type:"enum",doc:"An interview's: what it was held through (see InterviewMedium).",values:["questionnaire","letter","other","video","in-person","phone","chat","email"]},title:{type:"string",loose:!0},sighting:{type:"string",doc:"An interpretation's, in the older form: the `id` of the recording it interprets."},interpretationOf:{type:"string",doc:"An interpretation's: the `id`, or the ids, of the sightings this one is a reading of.",loose:!0},interviewOf:{type:"string",doc:"An interview's: the `id`, or the ids, of the sighting events of the witnesses it was held with (see CaseFile.INTERVIEW_EVENT).",loose:!0},sealed:{type:"boolean",doc:"Whether what this event lists is frozen: once someone has worked ON a reconstruction — an interview held to hear what the witness makes of it, a hypothesis set against it — a later edit would quietly invalidate that work, so the author freezes the event and clones it to carry on."},summary:{type:"string",doc:"What an event says of itself where its title is not enough: an interview's, what it established.",loose:!0}}},d={type:"object",doc:"The dates and places the case leaves open, each candidate with what supports it: what its readings are played over to say how their verdicts depend on them (see UncertainConditionsJson, ScenarioSweep).",fields:{time:{type:"object",doc:"The dates or instants left open.",fields:{from:{type:"string",doc:'The first instant, ISO local time ("2023-10-14T12:00").'},to:{type:"string",doc:"The last instant, ISO local time."},each:{type:"enum",values:["day","instant"]},sweep:{type:"enum",doc:"How the candidates are iterated: their bounds when absent.",values:["bounds","points","step","deltas"]},points:{type:"array",doc:'With `sweep` "points": the dates ("2023-10-15", at each account\'s own time of day) or instants ("2023-10-15T19:30") to play.'},stepMinutes:{type:"number",doc:'With `sweep` "step": minutes between two candidates; a day (1440) when `each` is "day", an hour otherwise, when absent.'},deltasMinutes:{type:"array",doc:'With `sweep` "deltas": minutes from each account\'s own instant, which is played as well (a delta of 0 need not be listed).'},rationale:{type:"string",doc:"Why these, in a sentence."}}},places:{type:"object",doc:"The places left open, beside each account's own.",fields:{candidates:{type:"array",fields:{id:{type:"string",doc:'What the scenarios at it are named by, unique among the candidates ("pahranagat").'},place:{type:"object",fields:{name:{type:"string",doc:`The place as it is named, fully qualified: "Valensole, Alpes-de-Haute-Provence, Provence-Alpes-Côte d'Azur, France".`},locations:{type:"array",doc:"Where it is: one point for most places, several for one that is not (a road, an area's corners).",fields:{lat:{type:"number",doc:"Latitude, north positive."},lng:{type:"number",doc:"Longitude, east positive."}}},elevation:{type:"number",doc:"Metres above sea level, where it is known."}}},rationale:{type:"string",doc:"Why it is a candidate: the clues that point at it."},sources:{type:"array",fields:{id:{type:"string",doc:"A unique identifier for this data."},dirName:{type:"string",doc:"The directory where the data is stored, relatively to RR0's root."},url:{type:"string",doc:"Public URL of the data (not the RR0 URL)"},events:{type:"array",doc:"Events of the data.",fields:{id:{type:"string",doc:"A unique identifier for this data."},dirName:{type:"string",doc:"The directory where the data is stored, relatively to RR0's root."},url:{type:"string",doc:"Public URL of the data (not the RR0 URL)"},events:{type:"array",doc:"Events of the data.",fields:{}},type:{type:"enum",doc:"The data type",values:["event"]},parent:{type:"string",doc:"Parent data id."},name:{type:"string",doc:"Short name"},surname:{type:"string",doc:"Unofficial name",loose:!0},qualifier:{type:"string",doc:'ex: "senior", "junior", "II"'},title:{type:"string",doc:"Long name, in one or several languages (see SaidText).",loose:!0},next:{type:"string",doc:"If this data is not more relevant, not the latest version, or state of art, this will hold the dirname (or name) of its successor."},note:{type:"string",doc:"A possible note about this data."},description:{type:"string",doc:"A possible short description of this data, in one or several languages (see SaidText).",loose:!0},sources:{type:"array",doc:"External data from which this data was devised.",fields:{}},notes:{type:"array"},tags:{type:"array",doc:"Keywords about that data."},eventType:{type:"enum",values:["book","article","birth","death","image","sighting","interpretation","interview","nationality","move","occupation","union"]},time:{type:"string",doc:'When this event occurred, as EDTF ("2015-05-31T00:50:34", "1965-07-01~").'},place:{type:"string",doc:"Where this event occurred: a reference to a place of RR0 (its name or directory), or the place itself (see PlaceJson), as a recording of UFO@home writes it.",loose:!0}}},type:{type:"enum",doc:"The data type",values:["people","place","org","book","case","event","article","api","product"]},parent:{type:"string",doc:"Parent data id."},name:{type:"string",doc:"Short name"},surname:{type:"string",doc:"Unofficial name",loose:!0},qualifier:{type:"string",doc:'ex: "senior", "junior", "II"'},title:{type:"string",doc:"Long name, in one or several languages (see SaidText).",loose:!0},next:{type:"string",doc:"If this data is not more relevant, not the latest version, or state of art, this will hold the dirname (or name) of its successor."},note:{type:"string",doc:"A possible note about this data."},description:{type:"string",doc:"A possible short description of this data, in one or several languages (see SaidText).",loose:!0},sources:{type:"array",doc:"External data from which this data was devised.",fields:{}},notes:{type:"array"},tags:{type:"array",doc:"Keywords about that data."},subTitle:{type:"string",doc:"A possible subtitle of this source."},authors:{type:"array",doc:"The author(s) name(s) of this source document."},publication:{type:"object",doc:"The details about where and when the source was published.",fields:{publisher:{type:"string",doc:"The editor of the publication."},time:{type:"string",doc:"When the publication occurred."}}},series:{type:"string",doc:"A possible series this source was part of."},summary:{type:"string",doc:"A possible summary of the source's contents."},index:{type:"string",doc:"Chapter, page, etc."}}},for:{type:"array",doc:"The ids of the accounts (their events' `id` in the case) it is a candidate for: every account when absent."}}},sweep:{type:"enum",doc:"How they are iterated: `bounds`, the default, plays every candidate (each is a bound of what the clues leave open); `points` only those named in `points`; `deltas` moves each account's own place by each of `deltasKm`; `step` lays a grid of `stepKm` over the box the candidates and the account's own place span.",values:["bounds","points","step","deltas"]},points:{type:"array",doc:'With `sweep` "points": the `id`s of the candidates to play.'},deltasKm:{type:"array",doc:'With `sweep` "deltas": kilometres east and north of each account\'s own place.',fields:{eastKm:{type:"number"},northKm:{type:"number"}}},stepKm:{type:"number",doc:'With `sweep` "step": kilometres between two points of the grid.'},own:{type:"boolean",doc:"Whether each account's own place, where it is played, is a scenario too: true when absent."}}},keep:{type:"enum",doc:'Which scenarios are kept as readings once the sweep has judged them all (see ScenarioKeep): "telling" when absent.',values:["none","conditional","telling","robust","all"]}}},c={$schema:e,version:t,id:s,title:a,summary:o,image:i,time:n,events:r,conditions:d};export{e as $schema,d as conditions,c as default,r as events,s as id,i as image,o as summary,n as time,a as title,t as version};
1
+ const e={type:"string",doc:"The schema this file was written against, for an editor to check it with: https://ufoathome.org/schema/1/case.schema.json."},t={type:"number",doc:"The version of the format this file is written in (see FormatVersion): 1 when left out, as RR0 writes it."},o={type:"string",doc:"The case's identifier."},s={type:"string"},a={type:"string",doc:"What a link to this case says of it where it is shared as a card (see the Player's share card): a sentence or two, translatable.",loose:!0},i={type:"string",doc:"A picture standing for the case where it is only linked to — see SightingEvent.image."},n={type:"string",doc:'When it happened, as RR0 writes a time ("1948-07-24 02:45", "1954").'},r={type:"array",fields:{type:{type:"enum",values:["event"]},eventType:{type:"string",doc:"What kind of event it is.",suggest:["sighting","interview","interpretation","article","image","book"]},id:{type:"string",doc:"What a reading names an account by (`interpretationOf`), local to the case: it has to be unique among the case's events and nowhere else, so that a reference can be read in the file that writes it."},url:{type:"string"},time:{type:"string"},place:{type:"string",doc:"Where it happened, as RR0 names a place."},by:{type:"array",doc:"Who did it: who held an interview, who made a reading."},medium:{type:"enum",doc:"An interview's: what it was held through (see InterviewMedium).",values:["questionnaire","letter","other","video","in-person","phone","chat","email"]},title:{type:"string",loose:!0},sighting:{type:"string",doc:"An interpretation's, in the older form: the `id` of the recording it interprets."},interpretationOf:{type:"string",doc:"An interpretation's: the `id`, or the ids, of the sightings this one is a reading of.",loose:!0},interviewOf:{type:"string",doc:"An interview's: the `id`, or the ids, of the sighting events of the witnesses it was held with (see CaseFile.INTERVIEW_EVENT).",loose:!0},sealed:{type:"boolean",doc:"Whether what this event lists is frozen: once someone has worked ON a reconstruction — an interview held to hear what the witness makes of it, a hypothesis set against it — a later edit would quietly invalidate that work, so the author freezes the event and clones it to carry on."},summary:{type:"string",doc:"What an event says of itself where its title is not enough: an interview's, what it established.",loose:!0}}},d={type:"object",doc:"The dates and places the case leaves open, each candidate with what supports it: what its readings are played over to say how their verdicts depend on them (see UncertainConditionsJson, ScenarioSweep).",fields:{time:{type:"object",doc:"The dates or instants left open.",fields:{from:{type:"string",doc:'The first instant, ISO local time ("2023-10-14T12:00").'},to:{type:"string",doc:"The last instant, ISO local time."},each:{type:"enum",values:["day","instant"]},sweep:{type:"enum",doc:"How the candidates are iterated: their bounds when absent.",values:["bounds","points","step","deltas"]},points:{type:"array",doc:'With `sweep` "points": the dates ("2023-10-15", at each account\'s own time of day) or instants ("2023-10-15T19:30") to play.'},stepMinutes:{type:"number",doc:'With `sweep` "step": minutes between two candidates; a day (1440) when `each` is "day", an hour otherwise, when absent.'},deltasMinutes:{type:"array",doc:'With `sweep` "deltas": minutes from each account\'s own instant, which is played as well (a delta of 0 need not be listed).'},rationale:{type:"string",doc:"Why these, in a sentence."}}},places:{type:"object",doc:"The places left open, beside each account's own.",fields:{candidates:{type:"array",fields:{id:{type:"string",doc:'What the scenarios at it are named by, unique among the candidates ("pahranagat").'},place:{type:"object",fields:{name:{type:"string",doc:`The place as it is named, fully qualified: "Valensole, Alpes-de-Haute-Provence, Provence-Alpes-Côte d'Azur, France".`},locations:{type:"array",doc:"Where it is: one point for most places, several for one that is not (a road, an area's corners).",fields:{lat:{type:"number",doc:"Latitude, north positive."},lng:{type:"number",doc:"Longitude, east positive."}}},elevation:{type:"number",doc:"Metres above sea level, where it is known."}}},rationale:{type:"string",doc:"Why it is a candidate: the clues that point at it."},sources:{type:"array",fields:{id:{type:"string",doc:"A unique identifier for this data."},dirName:{type:"string",doc:"The directory where the data is stored, relatively to RR0's root."},url:{type:"string",doc:"Public URL of the data (not the RR0 URL)"},events:{type:"array",doc:"Events of the data.",fields:{id:{type:"string",doc:"A unique identifier for this data."},dirName:{type:"string",doc:"The directory where the data is stored, relatively to RR0's root."},url:{type:"string",doc:"Public URL of the data (not the RR0 URL)"},events:{type:"array",doc:"Events of the data.",fields:{}},type:{type:"enum",doc:"The data type",values:["event"]},parent:{type:"string",doc:"Parent data id."},name:{type:"string",doc:"Short name"},surname:{type:"string",doc:"Unofficial name",loose:!0},qualifier:{type:"string",doc:'ex: "senior", "junior", "II"'},title:{type:"string",doc:"Long name, in one or several languages (see SaidText).",loose:!0},next:{type:"string",doc:"If this data is not more relevant, not the latest version, or state of art, this will hold the dirname (or name) of its successor."},note:{type:"string",doc:"A possible note about this data."},description:{type:"string",doc:"A possible short description of this data, in one or several languages (see SaidText).",loose:!0},sources:{type:"array",doc:"External data from which this data was devised.",fields:{}},notes:{type:"array"},tags:{type:"array",doc:"Keywords about that data."},eventType:{type:"enum",values:["book","article","birth","death","image","sighting","interpretation","interview","nationality","move","occupation","union"]},time:{type:"string",doc:'When this event occurred, as EDTF ("2015-05-31T00:50:34", "1965-07-01~").'},place:{type:"string",doc:"Where this event occurred: a reference to a place of RR0 (its name or directory), or the place itself (see PlaceJson), as a recording of UFO@home writes it.",loose:!0}}},type:{type:"enum",doc:"The data type",values:["people","place","org","book","case","event","article","api","product"]},parent:{type:"string",doc:"Parent data id."},name:{type:"string",doc:"Short name"},surname:{type:"string",doc:"Unofficial name",loose:!0},qualifier:{type:"string",doc:'ex: "senior", "junior", "II"'},title:{type:"string",doc:"Long name, in one or several languages (see SaidText).",loose:!0},next:{type:"string",doc:"If this data is not more relevant, not the latest version, or state of art, this will hold the dirname (or name) of its successor."},note:{type:"string",doc:"A possible note about this data."},description:{type:"string",doc:"A possible short description of this data, in one or several languages (see SaidText).",loose:!0},sources:{type:"array",doc:"External data from which this data was devised.",fields:{}},notes:{type:"array"},tags:{type:"array",doc:"Keywords about that data."},subTitle:{type:"string",doc:"A possible subtitle of this source."},authors:{type:"array",doc:"The author(s) name(s) of this source document."},publication:{type:"object",doc:"The details about where and when the source was published.",fields:{publisher:{type:"string",doc:"The editor of the publication."},time:{type:"string",doc:"When the publication occurred."}}},series:{type:"string",doc:"A possible series this source was part of."},summary:{type:"string",doc:"A possible summary of the source's contents."},index:{type:"string",doc:"Chapter, page, etc."}}},for:{type:"array",doc:"The ids of the accounts (their events' `id` in the case) it is a candidate for: every account when absent."}}},sweep:{type:"enum",doc:"How they are iterated: `bounds`, the default, plays every candidate (each is a bound of what the clues leave open); `points` only those named in `points`; `deltas` moves each account's own place by each of `deltasKm`; `step` lays a grid of `stepKm` over the box the candidates and the account's own place span.",values:["bounds","points","step","deltas"]},points:{type:"array",doc:'With `sweep` "points": the `id`s of the candidates to play.'},deltasKm:{type:"array",doc:'With `sweep` "deltas": kilometres east and north of each account\'s own place.',fields:{eastKm:{type:"number"},northKm:{type:"number"}}},stepKm:{type:"number",doc:'With `sweep` "step": kilometres between two points of the grid.'},own:{type:"boolean",doc:"Whether each account's own place, where it is played, is a scenario too: true when absent."}}},keep:{type:"enum",doc:'Which scenarios are kept as readings once the sweep has judged them all (see ScenarioKeep): "telling" when absent.',values:["none","conditional","telling","robust","all"]}}},h={type:"array",doc:"What its accounts say happened, each to be explained or not by a hypothesis: drawn up before any is weighed (see CaseElementJson).",fields:{id:{type:"string",doc:'What a hypothesis names it by: "E1".'},title:{type:"string",doc:'What it is, in a few words: "an orange point of light".',loose:!0},status:{type:"enum",values:["observed","inferred","association"]},of:{type:"string",doc:"The `id` of the event of the account it comes from: an evaluation is an observation's, and two witnesses have two lists."},phenomenon:{type:"object",doc:"The phenomenon of that account whose direction or size it is, by its `sourceId`, and the instant it is at (milliseconds, as the account's timeline counts them; absent, every instant).",fields:{sourceId:{type:"string"},t:{type:"number"}}},source:{type:"object",doc:"What it rests on (see ValueSource).",fields:{said:{type:"object",doc:"What the observer said, and where — see SaidIn.",fields:{interview:{type:"string",doc:"The `id` of the case's interview event."},segment:{type:"number",doc:"Which turn of speech, as an index into the transcript's `segments`."},range:{type:"array",doc:"The part of that segment's text it is about, as `[from, to)` character offsets."}}},document:{type:"string",doc:"A document: the questionnaire, a report, a paper, a register.",loose:!0},at:{type:"string",doc:"Where in it: a page, a question's number, a line."},url:{type:"string",doc:"Its address, where it has one."},picture:{type:"string",doc:"The `id` of a picture of the recording it was measured on (see Reference): a photograph lined up on the scene, which is a measurement and not an illustration."},tool:{type:"string",doc:'The tool the measurement or the calculation was made in: "IPACO", "QGIS", "a theodolite".'}}}}},c={type:"boolean",doc:"Whether the list of elements is frozen: once hypotheses are weighed against it, it is no longer to be cut to fit them."},p={type:"object",doc:"Its hypotheses weighed by Stéphane Baron's HVS protocol, and the rating of its file (see HvsJson).",fields:{protocol:{type:"string",doc:'The version of the protocol it was weighed by: "7.0".'},taxonomy:{type:"string",doc:'The version of its taxonomy of hypotheses: "2.1".'},hypotheses:{type:"array",doc:"The hypotheses weighed, each against every observation of the case, one by one: an evaluation is an observation's.",fields:{id:{type:"string",doc:'What the case names it by: "lantern".'},code:{type:"string",doc:`Its code in the protocol's taxonomy of hypotheses: "T1.4".`},title:{type:"string",doc:'What it is: "balloon or lantern".',loose:!0},phenomenon:{type:"string",doc:"The known phenomenon of Poher's matrix it is (`SkyLantern`, `Airship`, `WeatherBalloonsOrMongolfieres`), or the phenomena of a combined hypothesis (a stimulus and what it set off): the pivot between the protocol's hypotheses and the readings of the case.",loose:!0},readings:{type:"array",doc:"The `id`s of the readings that test it, chosen by hand: in place of those its `phenomenon` finds, for a reading of bodies of no kind (which no phenomenon finds) or to set a variant aside."},explains:{type:"array",doc:"The `id`s of the elements it explains, as the analyst judges."},plausibility:{type:"object",doc:"How plausible it is, apart from this case, on the protocol's three ratings, each 0 to 1 against a reference case: whether the phenomenon is documented (`existence`), whether it is often mistaken (`frequency`), whether it holds physically (`compatibility`); and the `context` factor of the time and the place, 0 to 1.",fields:{existence:{type:"string",loose:!0},frequency:{type:"string",loose:!0},compatibility:{type:"string",loose:!0},context:{type:"string",loose:!0}}},milestone:{type:"enum",doc:"See HvsMilestone.",values:["identified","proven"]}}},observations:{type:"object",doc:"What is said of each observation, by the `id` of its account's event."}}},l={$schema:e,version:t,id:o,title:s,summary:a,image:i,time:n,events:r,conditions:d,elements:h,elementsSealed:c,hvs:p};export{e as $schema,d as conditions,l as default,h as elements,c as elementsSealed,r as events,p as hvs,o as id,i as image,a as summary,n as time,s as title,t as version};