@rr0/ufoathome 0.192.0 → 0.193.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 (390) hide show
  1. package/dist-embed-interview/rr0-interview.mjs +3 -3
  2. package/dist-embed-scene/rr0-scene.mjs +306 -306
  3. package/dist-embed-sighting/CaseMessages_en-BbbbikHH.js +1 -0
  4. package/dist-embed-sighting/CaseMessages_es-AHBxl8Ka.js +1 -0
  5. package/dist-embed-sighting/CaseMessages_fr-CD33PQCH.js +1 -0
  6. package/dist-embed-sighting/CaseMessages_it-DyMACGSU.js +1 -0
  7. package/dist-embed-sighting/{CaseReportExport-dMWWJNIh.js → CaseReportExport-CYeoYzU0.js} +1 -1
  8. package/dist-embed-sighting/rr0-sighting.mjs +345 -330
  9. package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-BrZzIuec.js → AdsbLolArchiveProvider--KjPxNqw.js} +1 -1
  10. package/dist-embed-sighting-editor/{BallesterGuaspAssessor-CXvIvYxV.js → BallesterGuaspAssessor-BTmq0r-G.js} +1 -1
  11. package/dist-embed-sighting-editor/{BeamEditor-5-OlhNfL.js → BeamEditor-CI8-9VOc.js} +1 -1
  12. package/dist-embed-sighting-editor/{BeamSystem-BGdR-Xez.js → BeamSystem-odg570aR.js} +1 -1
  13. package/dist-embed-sighting-editor/BirdEditor-DV3ndYff.js +16 -0
  14. package/dist-embed-sighting-editor/{BirdFlock-DtshFXGT.js → BirdFlock-O7K_g8y7.js} +1 -1
  15. package/dist-embed-sighting-editor/{BodyEditor-Dn5HrH2t.js → BodyEditor-COLTBHzX.js} +1 -1
  16. package/dist-embed-sighting-editor/{CaseEditorMessages_en-DrJY0M8h.js → CaseEditorMessages_en-CoFukfwf.js} +1 -1
  17. package/dist-embed-sighting-editor/{CaseEditorMessages_es-j8EeOBq6.js → CaseEditorMessages_es-DZptbzB7.js} +1 -1
  18. package/dist-embed-sighting-editor/{CaseEditorMessages_fr-BkwEF9mu.js → CaseEditorMessages_fr-DXl2GNmR.js} +1 -1
  19. package/dist-embed-sighting-editor/{CaseEditorMessages_it-d3Z0PBEw.js → CaseEditorMessages_it-ss10VmRM.js} +1 -1
  20. package/dist-embed-sighting-editor/CaseElement-Bo31UxpS.js +100 -0
  21. package/dist-embed-sighting-editor/CaseMessages_en-BbbbikHH.js +1 -0
  22. package/dist-embed-sighting-editor/CaseMessages_es-AHBxl8Ka.js +1 -0
  23. package/dist-embed-sighting-editor/CaseMessages_fr-CD33PQCH.js +1 -0
  24. package/dist-embed-sighting-editor/CaseMessages_it-DyMACGSU.js +1 -0
  25. package/dist-embed-sighting-editor/{CaseReportExport-ByPXoIiq.js → CaseReportExport-DpsJ5_r9.js} +2 -2
  26. package/dist-embed-sighting-editor/{ContrailSystem-BTVyJpmn.js → ContrailSystem-BddkU7fj.js} +1 -1
  27. package/dist-embed-sighting-editor/{ControlPasses-DiQAXMzD.js → ControlPasses-CNlCUT1L.js} +1 -1
  28. package/dist-embed-sighting-editor/{CoverageAssessor-CJQzNdyr.js → CoverageAssessor-DjY8iKp5.js} +1 -1
  29. package/dist-embed-sighting-editor/DroneEditor-DRsM2ash.js +16 -0
  30. package/dist-embed-sighting-editor/{DroneFlight-tXCk1Tg1.js → DroneFlight-Fr4Vgso3.js} +1 -1
  31. package/dist-embed-sighting-editor/{Flightradar24Provider-DUVcPAF2.js → Flightradar24Provider-BxeduRam.js} +1 -1
  32. package/dist-embed-sighting-editor/GLTFLoader-C6nlGTTi.js +1 -0
  33. package/dist-embed-sighting-editor/{GenerativeKitMessages-I8xH2ec9.js → GenerativeKitMessages-B8L7U7gD.js} +1 -1
  34. package/dist-embed-sighting-editor/{GeoExportTexts-DAllttgw.js → GeoExportTexts-DrGdI2OF.js} +1 -1
  35. package/dist-embed-sighting-editor/{GeoJsonExport-_yjIEd4F.js → GeoJsonExport-BZ-0v8fM.js} +1 -1
  36. package/dist-embed-sighting-editor/GeographicFigures-DqhWddS9.js +1 -0
  37. package/dist-embed-sighting-editor/{HeadlightSystem-DRq40K7R.js → HeadlightSystem-DI5wHYZu.js} +1 -1
  38. package/dist-embed-sighting-editor/{HynekAssessor-PxE7JR1h.js → HynekAssessor-DlXalbph.js} +1 -1
  39. package/dist-embed-sighting-editor/InterviewEditorElement-Bbkze5KE.js +240 -0
  40. package/dist-embed-sighting-editor/InterviewElement-B3tm7y49.js +31 -0
  41. package/dist-embed-sighting-editor/{KmlExport-dpml2tIJ.js → KmlExport-Bh4eTycx.js} +1 -1
  42. package/dist-embed-sighting-editor/LanternEditor-M887ltwe.js +24 -0
  43. package/dist-embed-sighting-editor/{LaserBeam-CadJcSMd.js → LaserBeam-Drpkr84G.js} +1 -1
  44. package/dist-embed-sighting-editor/LaunchEditor-BjAk4XZR.js +22 -0
  45. package/dist-embed-sighting-editor/{LaunchPlume-C7My5ccR.js → LaunchPlume-CrzPcqw7.js} +1 -1
  46. package/dist-embed-sighting-editor/{LaunchSimulation-45Z9GUBF.js → LaunchSimulation-C1ZWpKZT.js} +1 -1
  47. package/dist-embed-sighting-editor/{ModelSource-CzGHu4XS.js → ModelSource-Bko_3OJt.js} +1 -1
  48. package/dist-embed-sighting-editor/{ModelThumbnails-CNO_j-KM.js → ModelThumbnails-DSshyLu2.js} +1 -1
  49. package/dist-embed-sighting-editor/{ModelViewer-yfIxofpG.js → ModelViewer-_yhAYvNy.js} +1 -1
  50. package/dist-embed-sighting-editor/{ModuleConformance-C9DED8Lk.js → ModuleConformance-B6iFVb8X.js} +2 -2
  51. package/dist-embed-sighting-editor/{ModuleSession-Cxe0BJue.js → ModuleSession-jKFl1FMo.js} +3 -3
  52. package/dist-embed-sighting-editor/ModuleThree-Fvr5G-Yh.js +1 -0
  53. package/dist-embed-sighting-editor/{ModulesPanelElement-DgbOYqaS.js → ModulesPanelElement-VPRCdjmv.js} +3 -3
  54. package/dist-embed-sighting-editor/{NearestApproach-EbQIYGTt.js → NearestApproach-O8k2n_qL.js} +1 -1
  55. package/dist-embed-sighting-editor/PictureRegistration-DBBH_E6I.js +1 -0
  56. package/dist-embed-sighting-editor/{PoherAssessor-BisQ5ybV.js → PoherAssessor-sTJEnlmb.js} +1 -1
  57. package/dist-embed-sighting-editor/{RailwaySystem-CIAIBvLT.js → RailwaySystem-BZqNSSFA.js} +1 -1
  58. package/dist-embed-sighting-editor/ReentryEditor-DfDGpL5C.js +28 -0
  59. package/dist-embed-sighting-editor/{ReentrySimulation-Crd-CW_o.js → ReentrySimulation-BuUK0niI.js} +1 -1
  60. package/dist-embed-sighting-editor/{ReferenceSystem-DUIJceGg.js → ReferenceSystem-DvcQp167.js} +1 -1
  61. package/dist-embed-sighting-editor/{RoadMarkings-D9-6Cy9S.js → RoadMarkings-BGK7ToZP.js} +1 -1
  62. package/dist-embed-sighting-editor/SightingEditorMessages_en-CTQYcybj.js +12 -0
  63. package/dist-embed-sighting-editor/SightingEditorMessages_es-D-ASD5a3.js +12 -0
  64. package/dist-embed-sighting-editor/SightingEditorMessages_fr-DjUByAq4.js +12 -0
  65. package/dist-embed-sighting-editor/SightingEditorMessages_it-Eat0U-4p.js +12 -0
  66. package/dist-embed-sighting-editor/SightingElement-FJvhqoCj.js +693 -0
  67. package/dist-embed-sighting-editor/SightingLabels_en-oIpytoq_.js +1 -0
  68. package/dist-embed-sighting-editor/SightingLabels_es-DUh1CTXl.js +1 -0
  69. package/dist-embed-sighting-editor/SightingLabels_fr-D69zENbW.js +1 -0
  70. package/dist-embed-sighting-editor/SightingLabels_it-COLZ2Qth.js +1 -0
  71. package/dist-embed-sighting-editor/SightingMessages_en-CYzanHjT.js +1 -0
  72. package/dist-embed-sighting-editor/SightingMessages_es-hjvESK6f.js +1 -0
  73. package/dist-embed-sighting-editor/SightingMessages_fr-BtfWbIP7.js +1 -0
  74. package/dist-embed-sighting-editor/SightingMessages_it-Bqm4pewZ.js +1 -0
  75. package/dist-embed-sighting-editor/{SkyLantern-De_MXfQz.js → SkyLantern-B7UlFgmB.js} +1 -1
  76. package/dist-embed-sighting-editor/{TraceSystem-Ba5H90GB.js → TraceSystem-vZF4B5EC.js} +2 -2
  77. package/dist-embed-sighting-editor/{UfoMessages_en-FAvzKxmR.js → UfoMessages_en-JeMK-39o.js} +1 -1
  78. package/dist-embed-sighting-editor/VideoButton-Kxg7pF1Y.js +1 -0
  79. package/dist-embed-sighting-editor/{WaterSystem-Dpdw46hF.js → WaterSystem-DSWmZbiL.js} +2 -2
  80. package/dist-embed-sighting-editor/{interviewImport-CgWyTdKb.js → interviewImport-BlSMFEw_.js} +1 -1
  81. package/dist-embed-sighting-editor/interviewJson-CsMHIcZ-.js +8 -0
  82. package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +440 -393
  83. package/dist-embed-sighting-editor/{surroundingsSources-YIawBCws.js → surroundingsSources-z7680fTA.js} +1 -1
  84. package/dist-embed-sighting-editor/{trafficRuntime-DwnTE9-7.js → trafficRuntime-C5BXL-G6.js} +1 -1
  85. package/dist-embed-ufoathome/Account-C4jhsVtN.js +1 -0
  86. package/dist-embed-ufoathome/AdsbLolArchiveProvider-886uuL_s.js +1 -0
  87. package/dist-embed-ufoathome/AssemblyAiTranscriptionProvider-o2kkPD5o.js +1 -0
  88. package/dist-embed-ufoathome/BallesterGuaspAssessor-BSKybYn0.js +1 -0
  89. package/dist-embed-ufoathome/BeamEditor-U2XQEG_6.js +30 -0
  90. package/dist-embed-ufoathome/BeamEditorMessages_en-DDvPWAdd.js +1 -0
  91. package/dist-embed-ufoathome/BeamEditorMessages_es-BhCkhUkN.js +1 -0
  92. package/dist-embed-ufoathome/BeamEditorMessages_fr-CtX6uP-x.js +1 -0
  93. package/dist-embed-ufoathome/BeamEditorMessages_it-DVweRQFi.js +1 -0
  94. package/dist-embed-ufoathome/BeamKindMessages_en-5RezNkyz.js +1 -0
  95. package/dist-embed-ufoathome/BeamKindMessages_es-B5vSWVjK.js +1 -0
  96. package/dist-embed-ufoathome/BeamKindMessages_fr--28-36OI.js +1 -0
  97. package/dist-embed-ufoathome/BeamKindMessages_it-X53Fuf2U.js +1 -0
  98. package/dist-embed-ufoathome/BeamParameterTexts_en-DZB75ouZ.js +1 -0
  99. package/dist-embed-ufoathome/BeamParameterTexts_es-AeZmsufG.js +1 -0
  100. package/dist-embed-ufoathome/BeamParameterTexts_fr-BHG3fW40.js +1 -0
  101. package/dist-embed-ufoathome/BeamParameterTexts_it-CPwmQX-g.js +1 -0
  102. package/dist-embed-ufoathome/BeamSystem-eYdKPRQZ.js +1 -0
  103. package/dist-embed-ufoathome/BirdEditor-6vr7bLHy.js +16 -0
  104. package/dist-embed-ufoathome/BirdEditorMessages_en-CN1OJud9.js +1 -0
  105. package/dist-embed-ufoathome/BirdEditorMessages_es-DDEnjRrz.js +1 -0
  106. package/dist-embed-ufoathome/BirdEditorMessages_fr-hL72V8wm.js +1 -0
  107. package/dist-embed-ufoathome/BirdEditorMessages_it-BmLyiPYp.js +1 -0
  108. package/dist-embed-ufoathome/BirdFlock-ByBkJV35.js +1 -0
  109. package/dist-embed-ufoathome/BirdKindMessages_en-c_-L7frF.js +1 -0
  110. package/dist-embed-ufoathome/BirdKindMessages_es-8Zo2t0o4.js +1 -0
  111. package/dist-embed-ufoathome/BirdKindMessages_fr-C1TuqqEj.js +1 -0
  112. package/dist-embed-ufoathome/BirdKindMessages_it-DQZcrCkf.js +1 -0
  113. package/dist-embed-ufoathome/BirdParameterTexts_en-C6FkYUww.js +1 -0
  114. package/dist-embed-ufoathome/BirdParameterTexts_es-T8JyeNlI.js +1 -0
  115. package/dist-embed-ufoathome/BirdParameterTexts_fr-BiTR-olu.js +1 -0
  116. package/dist-embed-ufoathome/BirdParameterTexts_it-oQY4DX6B.js +1 -0
  117. package/dist-embed-ufoathome/BodyEditor-CRlKW7yl.js +28 -0
  118. package/dist-embed-ufoathome/BodyEditorMessages_en-CckxSS1L.js +1 -0
  119. package/dist-embed-ufoathome/BodyEditorMessages_es-B8GlFFBo.js +1 -0
  120. package/dist-embed-ufoathome/BodyEditorMessages_fr-638ypdqf.js +1 -0
  121. package/dist-embed-ufoathome/BodyEditorMessages_it-SKpMkHFI.js +1 -0
  122. package/dist-embed-ufoathome/BodyParameterTexts_en-CKiFdpaz.js +1 -0
  123. package/dist-embed-ufoathome/BodyParameterTexts_es-DT9XO1Hc.js +1 -0
  124. package/dist-embed-ufoathome/BodyParameterTexts_fr-B5jLsE0g.js +1 -0
  125. package/dist-embed-ufoathome/BodyParameterTexts_it-iyJGx4Ta.js +1 -0
  126. package/dist-embed-ufoathome/BrowserWhisperProvider-Dn44ZE45.js +1 -0
  127. package/dist-embed-ufoathome/CaseEditorElement-Ds4yB5UC.js +3033 -0
  128. package/dist-embed-ufoathome/CaseEditorMessages_en-CoFukfwf.js +1 -0
  129. package/dist-embed-ufoathome/CaseEditorMessages_es-DZptbzB7.js +1 -0
  130. package/dist-embed-ufoathome/CaseEditorMessages_fr-DXl2GNmR.js +1 -0
  131. package/dist-embed-ufoathome/CaseEditorMessages_it-ss10VmRM.js +1 -0
  132. package/dist-embed-ufoathome/CaseElement-fKdvuMAp.js +100 -0
  133. package/dist-embed-ufoathome/CaseExportMessages_en-jHlu58Y7.js +1 -0
  134. package/dist-embed-ufoathome/CaseExportMessages_es-dCQQFgjq.js +1 -0
  135. package/dist-embed-ufoathome/CaseExportMessages_fr-sDfEgjWg.js +1 -0
  136. package/dist-embed-ufoathome/CaseExportMessages_it-BJaglZtP.js +1 -0
  137. package/dist-embed-ufoathome/CaseMessages_en-BbbbikHH.js +1 -0
  138. package/dist-embed-ufoathome/CaseMessages_es-AHBxl8Ka.js +1 -0
  139. package/dist-embed-ufoathome/CaseMessages_fr-CD33PQCH.js +1 -0
  140. package/dist-embed-ufoathome/CaseMessages_it-DyMACGSU.js +1 -0
  141. package/dist-embed-ufoathome/CaseReportExport-Dy1xmhTI.js +66 -0
  142. package/dist-embed-ufoathome/CaseReportTexts_en-DlN7p1pC.js +1 -0
  143. package/dist-embed-ufoathome/CaseReportTexts_es-CncAEaey.js +1 -0
  144. package/dist-embed-ufoathome/CaseReportTexts_fr-B5nP6RlP.js +1 -0
  145. package/dist-embed-ufoathome/CaseReportTexts_it-Dc-oPmXB.js +1 -0
  146. package/dist-embed-ufoathome/CaseTimeline-Dq1H2Ucy.js +142 -0
  147. package/dist-embed-ufoathome/ClaudeNarrativeTexts_en-CBLJZ7b6.js +1 -0
  148. package/dist-embed-ufoathome/ClaudeNarrativeTexts_es-BDV0GimU.js +1 -0
  149. package/dist-embed-ufoathome/ClaudeNarrativeTexts_fr-DiKzTF9T.js +1 -0
  150. package/dist-embed-ufoathome/ClaudeNarrativeTexts_it-DwxjRDVG.js +1 -0
  151. package/dist-embed-ufoathome/CloudEditorMessages_en-SmcRKW1O.js +1 -0
  152. package/dist-embed-ufoathome/CloudEditorMessages_es-DFCuS9Qg.js +1 -0
  153. package/dist-embed-ufoathome/CloudEditorMessages_fr-SvL-CR04.js +1 -0
  154. package/dist-embed-ufoathome/CloudEditorMessages_it-BvfiHWV9.js +1 -0
  155. package/dist-embed-ufoathome/CloudParameterTexts_en-NIa0gfgA.js +1 -0
  156. package/dist-embed-ufoathome/CloudParameterTexts_es-DXu4T30p.js +1 -0
  157. package/dist-embed-ufoathome/CloudParameterTexts_fr-Bv-jc2dq.js +1 -0
  158. package/dist-embed-ufoathome/CloudParameterTexts_it-C3RrkRwI.js +1 -0
  159. package/dist-embed-ufoathome/ContrailGrowth-DwHS8If9.js +1 -0
  160. package/dist-embed-ufoathome/ContrailSystem-pwF1XPex.js +1 -0
  161. package/dist-embed-ufoathome/ControlPasses-ApTdQK9r.js +29 -0
  162. package/dist-embed-ufoathome/CoverageAssessor-DFMo5umu.js +1 -0
  163. package/dist-embed-ufoathome/Decor-Dn-cvniW.js +1 -0
  164. package/dist-embed-ufoathome/DecorParameterTexts_en-idbdHsFG.js +1 -0
  165. package/dist-embed-ufoathome/DecorParameterTexts_es-CIkkLQc2.js +1 -0
  166. package/dist-embed-ufoathome/DecorParameterTexts_fr-D9GeuW_Y.js +1 -0
  167. package/dist-embed-ufoathome/DecorParameterTexts_it-v7TBrnsr.js +1 -0
  168. package/dist-embed-ufoathome/DecoyFlare-DUt1_LcW.js +1 -0
  169. package/dist-embed-ufoathome/DroneEditor-C3SH8yYq.js +16 -0
  170. package/dist-embed-ufoathome/DroneEditorMessages_en-BViHK30c.js +1 -0
  171. package/dist-embed-ufoathome/DroneEditorMessages_es-D6bhIOAa.js +1 -0
  172. package/dist-embed-ufoathome/DroneEditorMessages_fr-CvV0RyOT.js +1 -0
  173. package/dist-embed-ufoathome/DroneEditorMessages_it-CYi-jmVN.js +1 -0
  174. package/dist-embed-ufoathome/DroneFlight-CGNIh9XS.js +1 -0
  175. package/dist-embed-ufoathome/DroneKindMessages_en-CLygXcsv.js +1 -0
  176. package/dist-embed-ufoathome/DroneKindMessages_es-B9XFRYnQ.js +1 -0
  177. package/dist-embed-ufoathome/DroneKindMessages_fr-CAX15_pk.js +1 -0
  178. package/dist-embed-ufoathome/DroneKindMessages_it-CSGsCaJQ.js +1 -0
  179. package/dist-embed-ufoathome/DroneParameterTexts_en-sL1dR2RG.js +1 -0
  180. package/dist-embed-ufoathome/DroneParameterTexts_es-Bg8_8XVE.js +1 -0
  181. package/dist-embed-ufoathome/DroneParameterTexts_fr-B8Ym7Yz6.js +1 -0
  182. package/dist-embed-ufoathome/DroneParameterTexts_it-DfvWjvoc.js +1 -0
  183. package/dist-embed-ufoathome/FilmChrome-DYiyzoB_.js +1 -0
  184. package/dist-embed-ufoathome/FlareKindMessages_en-j3CY_TxX.js +1 -0
  185. package/dist-embed-ufoathome/FlareKindMessages_es-CZgrFIOO.js +1 -0
  186. package/dist-embed-ufoathome/FlareKindMessages_fr-B2MezoN2.js +1 -0
  187. package/dist-embed-ufoathome/FlareKindMessages_it-CmZmb3RP.js +1 -0
  188. package/dist-embed-ufoathome/Flightradar24Provider-BT0RC4qJ.js +1 -0
  189. package/dist-embed-ufoathome/GLTFLoader-DpXgTKpb.js +1 -0
  190. package/dist-embed-ufoathome/GenerativeKit-BmhvjjzB.js +9 -0
  191. package/dist-embed-ufoathome/GenerativeKitMessages-BwG7cWZX.js +1 -0
  192. package/dist-embed-ufoathome/GenerativeKitMessages_en-BY4B6yas.js +34 -0
  193. package/dist-embed-ufoathome/GenerativeKitMessages_es-_iYkoRhK.js +34 -0
  194. package/dist-embed-ufoathome/GenerativeKitMessages_fr-BY5yUJwK.js +34 -0
  195. package/dist-embed-ufoathome/GenerativeKitMessages_it-DAgB31P1.js +34 -0
  196. package/dist-embed-ufoathome/GeoExportTexts-3a51cuxQ.js +1 -0
  197. package/dist-embed-ufoathome/GeoExportTexts_en-Dq0fSJQp.js +1 -0
  198. package/dist-embed-ufoathome/GeoExportTexts_es-CoVHdOo0.js +1 -0
  199. package/dist-embed-ufoathome/GeoExportTexts_fr-DVAMpZIR.js +1 -0
  200. package/dist-embed-ufoathome/GeoExportTexts_it-Bh1uJBQp.js +1 -0
  201. package/dist-embed-ufoathome/GeoJsonExport-bpBmwqb7.js +2 -0
  202. package/dist-embed-ufoathome/GeoJsonImport-CIftC0ws.js +1 -0
  203. package/dist-embed-ufoathome/GeographicFigures-B0Bqeh10.js +1 -0
  204. package/dist-embed-ufoathome/GhostSearchView-Dlhj3xWa.js +1 -0
  205. package/dist-embed-ufoathome/HeadlightSystem-CMT7XiIH.js +34 -0
  206. package/dist-embed-ufoathome/HynekAssessor-qlHGyZnD.js +1 -0
  207. package/dist-embed-ufoathome/InterviewEditorElement-B33-sGHI.js +240 -0
  208. package/dist-embed-ufoathome/InterviewElement-CiZNhb70.js +31 -0
  209. package/dist-embed-ufoathome/InterviewMedia-CvAxC62V.js +1 -0
  210. package/dist-embed-ufoathome/InterviewMessages_en-ru7GkZlQ.js +1 -0
  211. package/dist-embed-ufoathome/InterviewMessages_es-DkJurNrG.js +1 -0
  212. package/dist-embed-ufoathome/InterviewMessages_fr-DAYgf8Ms.js +1 -0
  213. package/dist-embed-ufoathome/InterviewMessages_it-6lenkmSg.js +1 -0
  214. package/dist-embed-ufoathome/KmlExport-gFuPcL9A.js +19 -0
  215. package/dist-embed-ufoathome/KmlImport-BMAfiqoV.js +1 -0
  216. package/dist-embed-ufoathome/LanternEditor-BaRDgTw-.js +24 -0
  217. package/dist-embed-ufoathome/LanternEditorMessages_en-DaT3UNfD.js +1 -0
  218. package/dist-embed-ufoathome/LanternEditorMessages_es-TDV5lKeJ.js +1 -0
  219. package/dist-embed-ufoathome/LanternEditorMessages_fr-9mByTFMG.js +1 -0
  220. package/dist-embed-ufoathome/LanternEditorMessages_it-MRkJnDQp.js +1 -0
  221. package/dist-embed-ufoathome/LanternKindMessages_en-CQXdJ-k6.js +1 -0
  222. package/dist-embed-ufoathome/LanternKindMessages_es-BOO6kPjs.js +1 -0
  223. package/dist-embed-ufoathome/LanternKindMessages_fr-D7tQa_tQ.js +1 -0
  224. package/dist-embed-ufoathome/LanternKindMessages_it-B8J-29Mj.js +1 -0
  225. package/dist-embed-ufoathome/LanternParameterTexts_en-CcnGd8UH.js +1 -0
  226. package/dist-embed-ufoathome/LanternParameterTexts_es-CUTgNutZ.js +1 -0
  227. package/dist-embed-ufoathome/LanternParameterTexts_fr-P2JwYOUy.js +1 -0
  228. package/dist-embed-ufoathome/LanternParameterTexts_it-CzNnIUrX.js +1 -0
  229. package/dist-embed-ufoathome/LaserBeam-BKuiBaAN.js +1 -0
  230. package/dist-embed-ufoathome/LaunchEditor-CFsq327k.js +22 -0
  231. package/dist-embed-ufoathome/LaunchEditorMessages_en-BnzNAYW9.js +1 -0
  232. package/dist-embed-ufoathome/LaunchEditorMessages_es-BE0dEl7I.js +1 -0
  233. package/dist-embed-ufoathome/LaunchEditorMessages_fr-Ds_VOB8c.js +1 -0
  234. package/dist-embed-ufoathome/LaunchEditorMessages_it-DPQaR8HY.js +1 -0
  235. package/dist-embed-ufoathome/LaunchKindMessages_en-Batvnyw3.js +1 -0
  236. package/dist-embed-ufoathome/LaunchKindMessages_es-KYyQ9gbu.js +1 -0
  237. package/dist-embed-ufoathome/LaunchKindMessages_fr-CoojboIk.js +1 -0
  238. package/dist-embed-ufoathome/LaunchKindMessages_it-9HA3cjgP.js +1 -0
  239. package/dist-embed-ufoathome/LaunchParameterTexts_en-DvrCwbDM.js +1 -0
  240. package/dist-embed-ufoathome/LaunchParameterTexts_es--RUAegVp.js +1 -0
  241. package/dist-embed-ufoathome/LaunchParameterTexts_fr-Bh_1zVzy.js +1 -0
  242. package/dist-embed-ufoathome/LaunchParameterTexts_it-CWDx9nJy.js +1 -0
  243. package/dist-embed-ufoathome/LaunchPlume-p7V7Yg6y.js +1 -0
  244. package/dist-embed-ufoathome/LaunchSimulation-3vTsM_A7.js +1 -0
  245. package/dist-embed-ufoathome/ModelSource-Cd7ByLN1.js +1 -0
  246. package/dist-embed-ufoathome/ModelThumbnails-CASGbavJ.js +1 -0
  247. package/dist-embed-ufoathome/ModelViewer-DEaj6_6R.js +1 -0
  248. package/dist-embed-ufoathome/ModuleConformance-CSg3Ac74.js +2 -0
  249. package/dist-embed-ufoathome/ModuleSession-BaaLmhnz.js +3 -0
  250. package/dist-embed-ufoathome/ModuleThree-DF_JfVBK.js +1 -0
  251. package/dist-embed-ufoathome/ModulesPanelElement-BqF6eK1X.js +15 -0
  252. package/dist-embed-ufoathome/ModulesPanelMessages_en-DuwrY3Pm.js +1 -0
  253. package/dist-embed-ufoathome/ModulesPanelMessages_es-Bq5X-XuT.js +1 -0
  254. package/dist-embed-ufoathome/ModulesPanelMessages_fr-B8cSDc6o.js +1 -0
  255. package/dist-embed-ufoathome/ModulesPanelMessages_it-BdC626aJ.js +1 -0
  256. package/dist-embed-ufoathome/NearestApproach-DnGPayAo.js +1 -0
  257. package/dist-embed-ufoathome/Obstacles-v9SkfBD7.js +1 -0
  258. package/dist-embed-ufoathome/OffThreadTracer-ByPLWaYU.js +6 -0
  259. package/dist-embed-ufoathome/OpenAiTranscriptionProvider-DDW446tK.js +1 -0
  260. package/dist-embed-ufoathome/PanoramaxPictures-CELY3Ecc.js +1 -0
  261. package/dist-embed-ufoathome/ParameterForm-DfpJQGku.js +91 -0
  262. package/dist-embed-ufoathome/PerceptionMessages_en-B2O6DR64.js +1 -0
  263. package/dist-embed-ufoathome/PerceptionMessages_es-BmkP6OqD.js +1 -0
  264. package/dist-embed-ufoathome/PerceptionMessages_fr-B59TnGBC.js +1 -0
  265. package/dist-embed-ufoathome/PerceptionMessages_it-DPlxRmxu.js +1 -0
  266. package/dist-embed-ufoathome/PictureFetch-C3wgf1ZV.js +1 -0
  267. package/dist-embed-ufoathome/PictureRegistration-BFn75haQ.js +1 -0
  268. package/dist-embed-ufoathome/PoherAssessor-DRTvhhZp.js +1 -0
  269. package/dist-embed-ufoathome/RailwaySystem-CUJHpW5y.js +41 -0
  270. package/dist-embed-ufoathome/ReadingCheckTexts_en-eq6teExJ.js +1 -0
  271. package/dist-embed-ufoathome/ReadingCheckTexts_es-CR_JJZMV.js +1 -0
  272. package/dist-embed-ufoathome/ReadingCheckTexts_fr-pcDleIvY.js +1 -0
  273. package/dist-embed-ufoathome/ReadingCheckTexts_it-MFKeoXnq.js +1 -0
  274. package/dist-embed-ufoathome/ReadingSensitivityMessages_en-ChQHFyxb.js +1 -0
  275. package/dist-embed-ufoathome/ReadingSensitivityMessages_es-BbFqHsvR.js +1 -0
  276. package/dist-embed-ufoathome/ReadingSensitivityMessages_fr-Dl4a8udu.js +1 -0
  277. package/dist-embed-ufoathome/ReadingSensitivityMessages_it-CwiJfUo_.js +1 -0
  278. package/dist-embed-ufoathome/RecordingIssue-BlWT8Xsu.js +3 -0
  279. package/dist-embed-ufoathome/ReentryArchive-CeXHrU7L.js +1 -0
  280. package/dist-embed-ufoathome/ReentryEditor-DynYe51Y.js +28 -0
  281. package/dist-embed-ufoathome/ReentryEditorMessages_en-BmTZMr-m.js +1 -0
  282. package/dist-embed-ufoathome/ReentryEditorMessages_es-edid__Jo.js +1 -0
  283. package/dist-embed-ufoathome/ReentryEditorMessages_fr-DHbcY0tN.js +1 -0
  284. package/dist-embed-ufoathome/ReentryEditorMessages_it-CIzkIU4G.js +1 -0
  285. package/dist-embed-ufoathome/ReentryKindMessages_en-BGZgya17.js +1 -0
  286. package/dist-embed-ufoathome/ReentryKindMessages_es--UxzPNfj.js +1 -0
  287. package/dist-embed-ufoathome/ReentryKindMessages_fr-7mer-cdj.js +1 -0
  288. package/dist-embed-ufoathome/ReentryKindMessages_it-BBVQXE1M.js +1 -0
  289. package/dist-embed-ufoathome/ReentryParameterTexts_en-5BOfwCsS.js +1 -0
  290. package/dist-embed-ufoathome/ReentryParameterTexts_es-ze1-U4jB.js +1 -0
  291. package/dist-embed-ufoathome/ReentryParameterTexts_fr-BgUJROXF.js +1 -0
  292. package/dist-embed-ufoathome/ReentryParameterTexts_it-MTb9Vuq0.js +1 -0
  293. package/dist-embed-ufoathome/ReentrySimulation-BTcyhCCG.js +1 -0
  294. package/dist-embed-ufoathome/ReentryTypeNames_en-CBu890Bd.js +1 -0
  295. package/dist-embed-ufoathome/ReentryTypeNames_es-_LnketjJ.js +1 -0
  296. package/dist-embed-ufoathome/ReentryTypeNames_fr-BXq89mrz.js +1 -0
  297. package/dist-embed-ufoathome/ReentryTypeNames_it-Yfq-TDip.js +1 -0
  298. package/dist-embed-ufoathome/ReferenceSystem-WdAT5UCN.js +1 -0
  299. package/dist-embed-ufoathome/ReferenceTimeline-2kBldQeG.js +1 -0
  300. package/dist-embed-ufoathome/RoadMarkings-BsN3rh0W.js +1 -0
  301. package/dist-embed-ufoathome/SaidPosition-CWiVNaNW.js +4 -0
  302. package/dist-embed-ufoathome/SatellitePasses-Pfro2-0Z.js +1 -0
  303. package/dist-embed-ufoathome/SceneNames_en-7OZ7peGc.js +1 -0
  304. package/dist-embed-ufoathome/SceneNames_es-P5-Mavdi.js +1 -0
  305. package/dist-embed-ufoathome/SceneNames_fr-qzw0QzD0.js +1 -0
  306. package/dist-embed-ufoathome/SceneNames_it-Sqf8JFOd.js +1 -0
  307. package/dist-embed-ufoathome/ShareCodeEditor-DyEYu_9d.js +13 -0
  308. package/dist-embed-ufoathome/ShareDialogElement-C3HL-Smq.js +9222 -0
  309. package/dist-embed-ufoathome/ShareMessages_en-B43x8LgJ.js +1 -0
  310. package/dist-embed-ufoathome/ShareMessages_es-DZCJojSc.js +1 -0
  311. package/dist-embed-ufoathome/ShareMessages_fr-CzZyVbbX.js +1 -0
  312. package/dist-embed-ufoathome/ShareMessages_it-C_Z6eDQK.js +1 -0
  313. package/dist-embed-ufoathome/Sighting-CBpJpdm9.js +1 -0
  314. package/dist-embed-ufoathome/SightingEditorMessages_en-CTQYcybj.js +12 -0
  315. package/dist-embed-ufoathome/SightingEditorMessages_es-D-ASD5a3.js +12 -0
  316. package/dist-embed-ufoathome/SightingEditorMessages_fr-DjUByAq4.js +12 -0
  317. package/dist-embed-ufoathome/SightingEditorMessages_it-Eat0U-4p.js +12 -0
  318. package/dist-embed-ufoathome/SightingElement-CexCUTjH.js +693 -0
  319. package/dist-embed-ufoathome/SightingFileEditor-Cllslp2u.js +8 -0
  320. package/dist-embed-ufoathome/SightingLabels_en-oIpytoq_.js +1 -0
  321. package/dist-embed-ufoathome/SightingLabels_es-DUh1CTXl.js +1 -0
  322. package/dist-embed-ufoathome/SightingLabels_fr-D69zENbW.js +1 -0
  323. package/dist-embed-ufoathome/SightingLabels_it-COLZ2Qth.js +1 -0
  324. package/dist-embed-ufoathome/SightingMessages_en-CYzanHjT.js +1 -0
  325. package/dist-embed-ufoathome/SightingMessages_es-hjvESK6f.js +1 -0
  326. package/dist-embed-ufoathome/SightingMessages_fr-BtfWbIP7.js +1 -0
  327. package/dist-embed-ufoathome/SightingMessages_it-Bqm4pewZ.js +1 -0
  328. package/dist-embed-ufoathome/SkyEventEditorStyle-CvY_AhbI.js +1 -0
  329. package/dist-embed-ufoathome/SkyLantern-DJT_Ibzh.js +1 -0
  330. package/dist-embed-ufoathome/TagNames_es-BfnMpc3D.js +1 -0
  331. package/dist-embed-ufoathome/TagNames_fr-Dnqq6HQ5.js +1 -0
  332. package/dist-embed-ufoathome/TagNames_it-n6E4EGYO.js +1 -0
  333. package/dist-embed-ufoathome/TimelineTracks-X_GEZi12.js +35 -0
  334. package/dist-embed-ufoathome/TraceImport-CntRHXoJ.js +2 -0
  335. package/dist-embed-ufoathome/TraceSystem-Bm9JDfkW.js +393 -0
  336. package/dist-embed-ufoathome/TranscriptionAudio-C_xvRUv2.js +5 -0
  337. package/dist-embed-ufoathome/TranscriptionError-D_TCbYbt.js +1 -0
  338. package/dist-embed-ufoathome/UfoAtHomeMessages_en-dlx_C679.js +1 -0
  339. package/dist-embed-ufoathome/UfoAtHomeMessages_es-uLOvtAD0.js +1 -0
  340. package/dist-embed-ufoathome/UfoAtHomeMessages_fr-LR76-eHS.js +1 -0
  341. package/dist-embed-ufoathome/UfoAtHomeMessages_it-CQl4uTnG.js +1 -0
  342. package/dist-embed-ufoathome/UfoMessages_en-D5OYWJ3K.js +1 -0
  343. package/dist-embed-ufoathome/UfoMessages_es-CO-v8Jl6.js +1 -0
  344. package/dist-embed-ufoathome/UfoMessages_fr-CGkQBn5r.js +1 -0
  345. package/dist-embed-ufoathome/UfoMessages_it-BScqxIaH.js +1 -0
  346. package/dist-embed-ufoathome/VideoButton-CH3rw9kX.js +1 -0
  347. package/dist-embed-ufoathome/VideoExport-B8ZhHNnd.js +169 -0
  348. package/dist-embed-ufoathome/VisualAids-DI-hEL46.js +1 -0
  349. package/dist-embed-ufoathome/WaterSystem-CraSRAgB.js +19 -0
  350. package/dist-embed-ufoathome/browser-CltifEM0.js +1 -0
  351. package/dist-embed-ufoathome/caseSchema-ChUB1-9j.js +1 -0
  352. package/dist-embed-ufoathome/index-C8cdeM8E.js +11 -0
  353. package/dist-embed-ufoathome/index-DqGmxMZD.js +42 -0
  354. package/dist-embed-ufoathome/interviewImport-ym5iXO4Z.js +4 -0
  355. package/{dist-embed-sighting-editor/interviewJson-iURHP4Zk.js → dist-embed-ufoathome/interviewJson-D-i14LTf.js} +1 -1
  356. package/dist-embed-ufoathome/interviewSchema-Dk0AWHwc.js +1 -0
  357. package/dist-embed-ufoathome/logo-h2-w4Mwu.png +0 -0
  358. package/dist-embed-ufoathome/lunar-relief.bin-ByThqxUn.gz +0 -0
  359. package/dist-embed-ufoathome/node.browser-AK49Qif5.js +1 -0
  360. package/dist-embed-ufoathome/node.browser-HEqoqodz.js +1 -0
  361. package/dist-embed-ufoathome/rain-BvWZrB9h.ogg +0 -0
  362. package/dist-embed-ufoathome/rr0-ufoathome.mjs +159 -0
  363. package/dist-embed-ufoathome/sightingSchema-CgwoRMl-.js +1 -0
  364. package/dist-embed-ufoathome/stars-mag7.5-9-BLV2tFmZ.bin +0 -0
  365. package/dist-embed-ufoathome/stars-mag7.5-B43R6Wvg.bin +0 -0
  366. package/dist-embed-ufoathome/surroundingsSources-kPwp7ewe.js +1 -0
  367. package/dist-embed-ufoathome/thunder-DA48qs_v.wav +0 -0
  368. package/dist-embed-ufoathome/trafficRuntime-DM6gQGDZ.js +2 -0
  369. package/dist-embed-ufoathome/upperAirSources-BGuLpdwu.js +1 -0
  370. package/dist-embed-ufoathome/wind-BjklexY7.ogg +0 -0
  371. package/package.json +9 -6
  372. package/dist-embed-sighting/CaseMessages_en-Bv5lKWl_.js +0 -1
  373. package/dist-embed-sighting/CaseMessages_es-BhZv_CtC.js +0 -1
  374. package/dist-embed-sighting/CaseMessages_fr-C5V5YNc_.js +0 -1
  375. package/dist-embed-sighting/CaseMessages_it-NPdAZwa_.js +0 -1
  376. package/dist-embed-sighting-editor/BirdEditor-ESUliJEN.js +0 -16
  377. package/dist-embed-sighting-editor/DroneEditor-DDaJO8FS.js +0 -16
  378. package/dist-embed-sighting-editor/GLTFLoader-DdijxzcI.js +0 -1
  379. package/dist-embed-sighting-editor/GeographicFigures-DC6Tw3ja.js +0 -1
  380. package/dist-embed-sighting-editor/InterviewEditorElement-D-UDHU0L.js +0 -270
  381. package/dist-embed-sighting-editor/LanternEditor-DDcI5Kv1.js +0 -24
  382. package/dist-embed-sighting-editor/LaunchEditor-Pkk0K648.js +0 -22
  383. package/dist-embed-sighting-editor/ModuleThree-DSghL4fp.js +0 -1
  384. package/dist-embed-sighting-editor/PictureRegistration-CbfytwCX.js +0 -1
  385. package/dist-embed-sighting-editor/ReentryEditor-NE8z5aZT.js +0 -28
  386. package/dist-embed-sighting-editor/SightingEditorMessages_en-DSPvgYFi.js +0 -12
  387. package/dist-embed-sighting-editor/SightingEditorMessages_es-Bl3DipHr.js +0 -12
  388. package/dist-embed-sighting-editor/SightingEditorMessages_fr-BTmWQX0n.js +0 -12
  389. package/dist-embed-sighting-editor/SightingEditorMessages_it-lzbDsHjx.js +0 -12
  390. package/dist-embed-sighting-editor/VideoButton-CqCZ65oK.js +0 -1
@@ -0,0 +1 @@
1
+ const e={intro:"Un haz de luz enviado por el aire desde el suelo durante la grabación: un disparo láser, un reflector. Un hecho del cielo, no una lectura del relato. Su trayecto va del emisor, por posibles espejos, hasta donde termina; su brillo es lo que el aire difunde de él, calculado.",none:"Ningún haz en esta grabación",beam:"Haz",deleteBeam:"Eliminar el haz",addBeam:"Añadir un haz",path:"Trayecto",place:"Punto del trayecto",addPlace:"Añadir un punto al trayecto, en su continuidad",deletePlace:"Quitar este punto",previousPlace:"Punto anterior",nextPlace:"Punto siguiente",addBeamNowhere:"Dé primero un lugar a la grabación: un haz se coloca delante del testigo",derivedNote:"Un campo vacío muestra, en gris, el valor usado. Vacíe un campo para volver a él.",on:"Encendido",zoomHint:"Pellizque, o Ctrl + rueda, para ampliar; Mayús + rueda para desplazar",light:"Luz",colour:"Color",colourHint:"La luz de un láser es de una sola longitud de onda: el color elegido da la longitud de onda de tono más cercano. Un púrpura, que ninguna longitud de onda es, da un extremo del espectro.",deleteKey:"Quitar esta clave",timelineNote:"En la línea de tiempo, una fila pulsada es la que se detalla debajo: cuándo está encendido, su luz, su trayecto. Un rombo pulsado lleva la escena a su instante; arrástrelo para moverlo en el tiempo. El «+» de una fila pone una clave en el cabezal, tal como está el haz entonces.",addHere:"Añadir aquí, en el cabezal",here:"Ya en el cabezal: púlselo para editarlo",lightKeyNote:"Su luz en este instante, unida a la de la clave siguiente. Un campo vacío toma la del haz.",lightNoKeyNote:"Su luz todo el tiempo: ninguna clave. El «+» de la fila Luz pone una en el cabezal, para que la luz cambie en el tiempo.",pathKeyNote:"Su trayecto en este instante: cada punto va hacia el mismo punto de la clave siguiente.",pathNoKeyNote:"Su trayecto todo el tiempo: ninguna clave. El «+» de la fila Trayecto pone una en el cabezal, para que el haz se mueva."};export{e as beamEditorMessages_es};
@@ -0,0 +1 @@
1
+ const e={intro:"Un faisceau de lumière envoyé dans l'air depuis le sol pendant l'enregistrement : un tir laser, un projecteur. Un fait du ciel, pas une lecture du compte rendu. Son trajet va de l'émetteur, par d'éventuels miroirs, jusqu'à là où il finit ; son éclat est ce que l'air en diffuse, calculé.",none:"Aucun faisceau dans cet enregistrement",beam:"Faisceau",deleteBeam:"Supprimer le faisceau",addBeam:"Ajouter un faisceau",path:"Trajet",place:"Point du trajet",addPlace:"Ajouter un point au trajet, dans la continuité",deletePlace:"Retirer ce point",previousPlace:"Point précédent",nextPlace:"Point suivant",addBeamNowhere:"Donnez d'abord un lieu à l'enregistrement : un faisceau est placé devant le témoin",derivedNote:"Un champ vide montre, en grisé, la valeur utilisée. Videz un champ pour y revenir.",on:"Allumé",zoomHint:"Pincez, ou Ctrl + molette, pour zoomer ; Maj + molette pour défiler",light:"Lumière",colour:"Couleur",colourHint:"La lumière d'un laser est d'une seule longueur d'onde : la couleur choisie donne la longueur d'onde de teinte la plus proche. Un violet pourpre, qu'aucune longueur d'onde n'est, donne un bout du spectre.",deleteKey:"Retirer cette image clé",timelineNote:"Sur la frise, une ligne pressée est celle détaillée dessous : quand il est allumé, sa lumière, son trajet. Un losange pressé amène la scène à son instant ; faites-le glisser pour le déplacer dans le temps. Le « + » d'une ligne pose une image clé à la tête de lecture, telle qu'est le faisceau à cet instant.",addHere:"Ajouter ici, à la tête de lecture",here:"Déjà à la tête de lecture : pressez-le pour le modifier",lightKeyNote:"Sa lumière à cet instant, reliée à celle de l'image clé suivante. Un champ vide prend celle du faisceau.",lightNoKeyNote:"Sa lumière tout du long : aucune image clé. Le « + » de la ligne Lumière en pose une à la tête de lecture, pour que la lumière change dans le temps.",pathKeyNote:"Son trajet à cet instant : chaque point va vers le même point de l'image clé suivante.",pathNoKeyNote:"Son trajet tout du long : aucune image clé. Le « + » de la ligne Trajet en pose une à la tête de lecture, pour que le faisceau bouge."};export{e as beamEditorMessages_fr};
@@ -0,0 +1 @@
1
+ const e={intro:"Un fascio di luce inviato nell'aria dal suolo durante la registrazione: un tiro laser, un proiettore. Un fatto del cielo, non una lettura del resoconto. Il suo percorso va dall'emettitore, attraverso eventuali specchi, fin dove finisce; la sua luminosità è ciò che l'aria ne diffonde, calcolata.",none:"Nessun fascio in questa registrazione",beam:"Fascio",deleteBeam:"Elimina il fascio",addBeam:"Aggiungi un fascio",path:"Percorso",place:"Punto del percorso",addPlace:"Aggiungi un punto al percorso, in continuità",deletePlace:"Togli questo punto",previousPlace:"Punto precedente",nextPlace:"Punto successivo",addBeamNowhere:"Dai prima un luogo alla registrazione: un fascio è posto davanti al testimone",derivedNote:"Un campo vuoto mostra, in grigio, il valore usato. Svuota un campo per tornarci.",on:"Acceso",zoomHint:"Pizzicate, o Ctrl + rotella, per ingrandire; Maiusc + rotella per scorrere",light:"Luce",colour:"Colore",colourHint:"La luce di un laser è di una sola lunghezza d'onda: il colore scelto dà la lunghezza d'onda di tinta più vicina. Un porpora, che nessuna lunghezza d'onda è, dà un estremo dello spettro.",deleteKey:"Togliere questa chiave",timelineNote:"Sulla linea del tempo, una riga premuta è quella dettagliata sotto: quando è acceso, la sua luce, il suo percorso. Un rombo premuto porta la scena al suo istante; trascinatelo per spostarlo nel tempo. Il «+» di una riga mette una chiave alla testina, com'è il fascio in quel momento.",addHere:"Aggiungere qui, alla testina",here:"Già alla testina: premetelo per modificarlo",lightKeyNote:"La sua luce in questo istante, unita a quella della chiave seguente. Un campo vuoto prende quella del fascio.",lightNoKeyNote:"La sua luce per tutto il tempo: nessuna chiave. Il «+» della riga Luce ne mette una alla testina, perché la luce cambi nel tempo.",pathKeyNote:"Il suo percorso in questo istante: ogni punto va verso lo stesso punto della chiave seguente.",pathNoKeyNote:"Il suo percorso per tutto il tempo: nessuna chiave. Il «+» della riga Percorso ne mette una alla testina, perché il fascio si muova."};export{e as beamEditorMessages_it};
@@ -0,0 +1 @@
1
+ const e={title:"Beams",name:"Laser",detail:"{name} ({wavelength} nm, {power} W), {distance}"};export{e as beamKindMessages_en};
@@ -0,0 +1 @@
1
+ const e={title:"Haces",name:"Láser",detail:"{name} ({wavelength} nm, {power} W), {distance}"};export{e as beamKindMessages_es};
@@ -0,0 +1 @@
1
+ const e={title:"Faisceaux",name:"Laser",detail:"{name} ({wavelength} nm, {power} W), {distance}"};export{e as beamKindMessages_fr};
@@ -0,0 +1 @@
1
+ const e={title:"Fasci",name:"Laser",detail:"{name} ({wavelength} nm, {power} W), {distance}"};export{e as beamKindMessages_it};
@@ -0,0 +1 @@
1
+ const e={light:"Light",beam:"Beam",when:"When",name:"Name",divergence:"Divergence",howFastItWidensFullAngle:"How fast it widens, full angle: 0.1 mrad is a metre wide at 10 km.",widthAtTheEmitter:"Width at the emitter",unevenHaze:"Uneven haze",howUnevenlyTheHazeItCrosses:"How unevenly the haze it crosses is spread: the beam seen from the side is brighter where it crosses a denser patch, the patches drifting with the wind. 0 is an even haze; the default is judged on photographs, not measured.",itsColour532ForTheGreen:"Its colour: 532 for the green of a frequency-doubled laser, 520 for a green diode, 638 for a red one, 450 for a blue one.",theOpticalPowerItCarriesIts:"The optical power it carries, its mean for a pulsed laser, whose pulses no eye tells apart. What is seen of it is what the air scatters.",wavelength:"Wavelength",power:"Power",time:"Time",secondsOfTheRecording:"Seconds of the recording.",onFrom:"On from",secondsOfTheRecordingEmptyFrom:"Seconds of the recording; empty, from its start.",offAt:"Off at",secondsOfTheRecordingEmptyUntil:"Seconds of the recording; empty, until its end.",pathAtAnInstant:"Path at an instant",pointOfThePath:"Point of the path",position:"Position",altitude:"Altitude",aboveTheSeaNotTheGround:"Above the sea, not the ground: an emitter at a window twelve metres up a building on ground at 160 m is at 172 m."};export{e as beamParameterTexts_en};
@@ -0,0 +1 @@
1
+ const e={light:"Luz",beam:"Haz",when:"Cuándo",name:"Nombre",divergence:"Divergencia",howFastItWidensFullAngle:"Lo rápido que se ensancha, ángulo total: 0,1 mrad es un metro de ancho a 10 km.",widthAtTheEmitter:"Anchura en el emisor",unevenHaze:"Bruma irregular",howUnevenlyTheHazeItCrosses:"Lo desigual que es la bruma que cruza: visto de lado, el haz es más brillante donde cruza una bolsa más densa, y las bolsas derivan con el viento. 0 es una bruma uniforme; el valor por defecto se juzga en fotografías, no se mide.",itsColour532ForTheGreen:"Su color: 532 para el verde de un láser doblado en frecuencia, 520 para un diodo verde, 638 para uno rojo, 450 para uno azul.",theOpticalPowerItCarriesIts:"La potencia óptica que lleva, su media para un láser pulsado, cuyos pulsos ningún ojo distingue. Lo que se ve de él es lo que el aire difunde.",wavelength:"Longitud de onda",power:"Potencia",time:"Instante",secondsOfTheRecording:"Segundos de la grabación.",onFrom:"Encendido a",secondsOfTheRecordingEmptyFrom:"Segundos de la grabación; vacío, desde su inicio.",offAt:"Apagado a",secondsOfTheRecordingEmptyUntil:"Segundos de la grabación; vacío, hasta su final.",pathAtAnInstant:"Trayecto en un instante",pointOfThePath:"Punto del trayecto",position:"Posición",altitude:"Altitud",aboveTheSeaNotTheGround:"Sobre el mar, no sobre el suelo: un emisor en una ventana a doce metros de altura, sobre un suelo a 160 m, está a 172 m."};export{e as beamParameterTexts_es};
@@ -0,0 +1 @@
1
+ const e={light:"Lumière",beam:"Faisceau",when:"Quand",name:"Nom",divergence:"Divergence",howFastItWidensFullAngle:"À quelle vitesse il s'élargit, angle total : 0,1 mrad fait un mètre de large à 10 km.",widthAtTheEmitter:"Largeur à l'émetteur",unevenHaze:"Brume irrégulière",howUnevenlyTheHazeItCrosses:"À quel point la brume qu'il traverse est inégale : vu de côté, le faisceau est plus brillant là où il traverse une poche plus dense, les poches dérivant avec le vent. 0 est une brume égale ; la valeur par défaut est jugée sur des photographies, pas mesurée.",itsColour532ForTheGreen:"Sa couleur : 532 pour le vert d'un laser doublé en fréquence, 520 pour une diode verte, 638 pour une rouge, 450 pour une bleue.",theOpticalPowerItCarriesIts:"La puissance optique qu'il porte, sa moyenne pour un laser pulsé, dont aucun œil ne distingue les impulsions. Ce qui s'en voit est ce que l'air en diffuse.",wavelength:"Longueur d'onde",power:"Puissance",time:"Instant",secondsOfTheRecording:"Secondes de l'enregistrement.",onFrom:"Allumé à",secondsOfTheRecordingEmptyFrom:"Secondes de l'enregistrement ; vide, dès son début.",offAt:"Éteint à",secondsOfTheRecordingEmptyUntil:"Secondes de l'enregistrement ; vide, jusqu'à sa fin.",pathAtAnInstant:"Trajet à un instant",pointOfThePath:"Point du trajet",position:"Position",altitude:"Altitude",aboveTheSeaNotTheGround:"Au-dessus de la mer, pas du sol : un émetteur à une fenêtre à douze mètres de haut, sur un sol à 160 m, est à 172 m."};export{e as beamParameterTexts_fr};
@@ -0,0 +1 @@
1
+ const e={light:"Luce",beam:"Fascio",when:"Quando",name:"Nome",divergence:"Divergenza",howFastItWidensFullAngle:"Quanto in fretta si allarga, angolo totale: 0,1 mrad è un metro di larghezza a 10 km.",widthAtTheEmitter:"Larghezza all'emettitore",unevenHaze:"Foschia irregolare",howUnevenlyTheHazeItCrosses:"Quanto è irregolare la foschia che attraversa: visto di lato, il fascio è più brillante dove attraversa una sacca più densa, e le sacche derivano col vento. 0 è una foschia uniforme; il valore predefinito è giudicato su fotografie, non misurato.",itsColour532ForTheGreen:"Il suo colore: 532 per il verde di un laser a frequenza raddoppiata, 520 per un diodo verde, 638 per uno rosso, 450 per uno blu.",theOpticalPowerItCarriesIts:"La potenza ottica che porta, la sua media per un laser pulsato, i cui impulsi nessun occhio distingue. Ciò che se ne vede è ciò che l'aria diffonde.",wavelength:"Lunghezza d'onda",power:"Potenza",time:"Istante",secondsOfTheRecording:"Secondi della registrazione.",onFrom:"Acceso a",secondsOfTheRecordingEmptyFrom:"Secondi della registrazione; vuoto, dal suo inizio.",offAt:"Spento a",secondsOfTheRecordingEmptyUntil:"Secondi della registrazione; vuoto, fino alla sua fine.",pathAtAnInstant:"Percorso a un istante",pointOfThePath:"Punto del percorso",position:"Posizione",altitude:"Altitudine",aboveTheSeaNotTheGround:"Sul mare, non sul suolo: un emettitore a una finestra a dodici metri d'altezza, su un suolo a 160 m, è a 172 m."};export{e as beamParameterTexts_it};
@@ -0,0 +1 @@
1
+ import{b2 as V,bg as W,bj as N,bb as X,bD as v,bE as D,bG as k}from"./ShareDialogElement-C3HL-Smq.js";import{L as S}from"./LaserBeam-BKuiBaAN.js";import"./rr0-ufoathome.mjs";import"./SaidPosition-CWiVNaNW.js";import"./Sighting-CBpJpdm9.js";import"./VisualAids-DI-hEL46.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./Obstacles-v9SkfBD7.js";class x{static MAX_SEGMENTS=12e3;static MIN_PIXELS=2;static VERTICES_PER_SEGMENT=24;static HALO_RAD=.002;static HALO_SHARE=.15;static BRIGHTEST_RELATIVE=6e4;group=new V;mesh;positions=new Float32Array(x.MAX_SEGMENTS*x.VERTICES_PER_SEGMENT*3);colors=new Float32Array(x.MAX_SEGMENTS*x.VERTICES_PER_SEGMENT*3);segments=0;drawn=[];cut;constructor(){const s=new W;s.setAttribute("position",new N(this.positions,3)),s.setAttribute("color",new N(this.colors,3)),s.setDrawRange(0,0),this.mesh=new X(s,new v({vertexColors:!0,transparent:!0,blending:k,depthWrite:!1,fog:!1,side:D})),this.mesh.frustumCulled=!1,this.mesh.renderOrder=8,this.mesh.name="beams",this.group.name="beams",this.group.add(this.mesh)}get segmentCount(){return this.segments}get object(){return this.group}get drawnCount(){return this.segments}pick(s,t,e){return this.pickAt(s,t,e.toleranceRad)}update(s,t,e){const l=this.viewsOf(s,t,e);let r=0;this.segments=0,this.drawn=[];for(const h of l){const c=S.colourOf(h.wavelengthNm),i=this.place(h,t,e);this.drawn.push({id:h.id,points:i});for(let y=0;y+1<i.length&&!(this.segments>=x.MAX_SEGMENTS);y++){const E=this.pushSegment(r,i[y],i[y+1],h.wavelengthNm,c,e);E>r&&this.segments++,r=E}}const o=this.mesh.geometry;o.setDrawRange(0,r);for(const h of["position","color"]){const c=o.getAttribute(h);c.clearUpdateRanges(),r>0&&c.addUpdateRange(0,r*3),c.needsUpdate=!0}}viewsOf(s,t,e){const{lat:l,lng:r}=e.reference;(!this.cut||this.cut.lat!==l||this.cut.lng!==r||this.cut.air!==e.air)&&(this.cut={lat:l,lng:r,air:e.air,views:new Map});const o=this.cut.views,h=new Set(s);return S.onAt(s,t).map(c=>{if(!h.has(c))return S.viewOf(c,e.reference,e.air);let i=o.get(c);return i||o.set(c,i=S.viewOf(c,e.reference,e.air)),i})}place(s,t,e){const l=[],r=e.wind??{eastMS:0,northMS:0};for(const o of s.samples){const h=e.origin.x+o.eastM*e.eastScale,c=e.origin.z-o.northM,i=o.upM-e.siteElevationM;if(l.length>0&&i<e.groundYAt(h,c))break;const y=r.eastMS*o.dirEast+r.northMS*o.dirNorth,E=r.eastMS*o.dirNorth-r.northMS*o.dirEast,g=S.patchAt(o.fromSourceM,t,{windAlongMS:y,windAcrossMS:E,patchiness:s.patchiness});l.push({x:h,y:i,z:c,altitudeM:o.altitudeM,widthM:o.widthM,powerW:o.powerW,haze:g})}return l}static SMOOTH_RATIO=1.08;static MAX_HALVINGS=6;pushSegment(s,t,e,l,r,o,h=0){const c={x:e.x-t.x,y:e.y-t.y,z:e.z-t.z},i=Math.hypot(c.x,c.y,c.z);if(i<1e-6)return s;const y={x:c.x/i,y:c.y/i,z:c.z/i};if(Math.hypot((t.x+e.x)/2-o.eye.x,(t.y+e.y)/2-o.eye.y,(t.z+e.z)/2-o.eye.z)<.001)return s;const E=n=>{const u={x:o.eye.x-n.x,y:o.eye.y-n.y,z:o.eye.z-n.z},z=Math.hypot(u.x,u.y,u.z)||.001,p=(y.x*u.x+y.y*u.y+y.z*u.z)/z,a=Math.sqrt(Math.max(0,1-p*p)),w=S.coefficientsAt(o.air,l,n.altitudeM),d=S.phasedScattering({...w,aerosolPerM:w.aerosolPerM*n.haze},p);return{sinTurn:a,scattered:d,through:o.transmittanceTo(n.x,n.y,n.z)}},g=n=>x.MIN_PIXELS*o.pixelRad*Math.hypot(n.x-o.eye.x,n.y-o.eye.y,n.z-o.eye.z),m=n=>Math.hypot(n.x-o.eye.x,n.y-o.eye.y,n.z-o.eye.z),R=n=>Math.max(n.widthM,x.HALO_RAD*m(n)),f=n=>{const u=R(n)/g(n),z=Math.min(1,Math.max(0,u-1));return x.HALO_SHARE*z*z*(3-2*z)},O=new Map([t,e].map(n=>[n,E(n)])),M=(n,u,z)=>{const p=Math.max(u,g(n)),{sinTurn:a,scattered:w,through:d}=O.get(n),I=2*z*S.luminanceCdM2(n.powerW,l,w,p,a),H=r.map((P,C)=>Math.min(x.BRIGHTEST_RELATIVE,I*o.relativeScale*P*d[C])),L={x:o.eye.x-n.x,y:o.eye.y-n.y,z:o.eye.z-n.z},_=this.normalise(this.cross(y,L));return{point:n,half:p/2,level:H,across:_}},A=[[M(t,t.widthM,1-f(t)),M(e,e.widthM,1-f(e))],[M(t,R(t),f(t)),M(e,R(e),f(e))]],[G,T]=A[0].map(n=>Math.max(...n.level));if(h<x.MAX_HALVINGS&&Math.max(G,T)>x.SMOOTH_RATIO*Math.max(Math.min(G,T),1e-12)){const n={x:(t.x+e.x)/2,y:(t.y+e.y)/2,z:(t.z+e.z)/2,altitudeM:(t.altitudeM+e.altitudeM)/2,widthM:(t.widthM+e.widthM)/2,powerW:Math.sqrt(t.powerW*e.powerW),haze:(t.haze+e.haze)/2};return this.pushSegment(this.pushSegment(s,t,n,l,r,o,h+1),n,e,l,r,o,h+1)}if((s+x.VERTICES_PER_SEGMENT)*3>this.positions.length)return s;for(const n of A){if(n.every(a=>Math.max(...a.level)<=0))continue;const u=(a,w)=>{const d=s*3;this.positions[d]=a.point.x+a.across.x*a.half*w,this.positions[d+1]=a.point.y+a.across.y*a.half*w,this.positions[d+2]=a.point.z+a.across.z*a.half*w;const I=w===0?1:0;this.colors[d]=a.level[0]*I,this.colors[d+1]=a.level[1]*I,this.colors[d+2]=a.level[2]*I,s++},[z,p]=n;for(const a of[-1,1])u(z,a),u(z,0),u(p,a),u(z,0),u(p,0),u(p,a)}return s}pickAt(s,t,e){let l;for(const r of this.drawn)for(let o=0;o+1<r.points.length;o++){const h=r.points[o],c=r.points[o+1],i={x:c.x-h.x,y:c.y-h.y,z:c.z-h.z},y={x:h.x-s.x,y:h.y-s.y,z:h.z-s.z},E=i.x*i.x+i.y*i.y+i.z*i.z,g=i.x*t.x+i.y*t.y+i.z*t.z,m=i.x*y.x+i.y*y.y+i.z*y.z,R=t.x*y.x+t.y*y.y+t.z*y.z,f=E-g*g,O=f>1e-9?Math.min(1,Math.max(0,(g*R-m)/f)):0,M={x:h.x+i.x*O,y:h.y+i.y*O,z:h.z+i.z*O},A=(M.x-s.x)*t.x+(M.y-s.y)*t.y+(M.z-s.z)*t.z;if(A<=0)continue;const G=Math.hypot(M.x-s.x-t.x*A,M.y-s.y-t.y*A,M.z-s.z-t.z*A),T=Math.atan2(G,A);T<=e&&(!l||T<l.angle)&&(l={id:r.id,distanceM:Math.hypot(M.x-s.x,M.y-s.y,M.z-s.z),angle:T})}return l&&{id:l.id,distanceM:l.distanceM}}cross(s,t){return{x:s.y*t.z-s.z*t.y,y:s.z*t.x-s.x*t.z,z:s.x*t.y-s.y*t.x}}normalise(s){const t=Math.hypot(s.x,s.y,s.z)||1;return{x:s.x/t,y:s.y/t,z:s.z/t}}dispose(){this.mesh.geometry.dispose(),this.mesh.material.dispose(),this.group.removeFromParent()}}export{x as BeamSystem};
@@ -0,0 +1,16 @@
1
+ import{M as k,_ as c,n as T,o as w}from"./rr0-ufoathome.mjs";import{b as u,d as y,P as M,I}from"./SaidPosition-CWiVNaNW.js";import{S as F}from"./SkyEventEditorStyle-CvY_AhbI.js";import{B as v,a as m,F as A}from"./BirdFlock-ByBkJV35.js";import{P as O,a as x,E as S}from"./ParameterForm-DfpJQGku.js";import{T as E}from"./TimelineTracks-X_GEZi12.js";import"./Obstacles-v9SkfBD7.js";const L=k.catalog({en:()=>c(()=>import("./BirdParameterTexts_en-C6FkYUww.js"),[],import.meta.url).then(l=>l.birdParameterTexts_en),fr:()=>c(()=>import("./BirdParameterTexts_fr-BiTR-olu.js"),[],import.meta.url).then(l=>l.birdParameterTexts_fr),es:()=>c(()=>import("./BirdParameterTexts_es-T8JyeNlI.js"),[],import.meta.url).then(l=>l.birdParameterTexts_es),it:()=>c(()=>import("./BirdParameterTexts_it-oQY4DX6B.js"),[],import.meta.url).then(l=>l.birdParameterTexts_it)});class n{static FLOCK="flock";static FORMATION="formation";static FLIGHT="flight";static LOOK="look";static speciesOf(t){return v.speciesOf(t)}static speciesLabel(t){return t.replace(/-([a-z])/g,(e,i)=>i.toUpperCase())}static formationOf(t){const e=u.read(t,"formation.kind");return typeof e=="string"?e:n.formationUnstated(t)}static formationUnstated(t){return(u.read(t,"count")??1)>1?"cluster":"single"}static flightOf(t){const e=u.read(t,"flight.kind");return typeof e=="string"?e:n.speciesOf(t).flight.kind}static burstOf(t,e){const i=u.read(t,`flight.${e}`);if(typeof i=="number")return i;const s=n.speciesOf(t).flight;return s.kind==="flapping"?n.BURST[e]:s[e]}static BURST={beats:4,glideS:2};static colour(t,e,i){return{type:"colour",key:`colours.${t}`,group:n.LOOK,label:e,...i?{hint:i}:{},effective:s=>m.colourOf(n.speciesOf(s),t)}}static SET={kind:"birds",title:"birds",parameters:[{type:"said",key:"title",label:"name",group:n.FLOCK},{type:"choice",key:"species",required:!0,group:n.FLOCK,label:"species",choices:m.ALL.map(t=>({value:t.id,label:n.speciesLabel(t.id)}))},{type:"number",key:"count",min:1,max:2e3,step:1,group:n.FLOCK,effective:()=>1,label:"howMany"},{type:"set",key:"explains",group:n.FLOCK,label:"standForTheShapes",hint:"theWholeFlockTakenForOne",visibleWhen:t=>t.explainsEach===void 0,options:(t,e)=>{const i=e?.shapes??[],s=(t.explains??[]).filter(o=>!i.some(r=>r.value===o));return[...i,...s.map(o=>({value:o,label:o}))]},empty:"noShape"},{type:"number",key:"seed",min:0,max:4294967295,step:1,group:n.FLOCK,effective:()=>1,label:"draw",hint:"whatTheDrawsStartFrom"},{type:"choice",key:"formation.kind",group:n.FORMATION,label:"pattern",effective:t=>n.formationUnstated(t),choices:[{value:"single",label:"oneBird"},{value:"v",label:"inAV"},{value:"j",label:"inAJ"},{value:"echelon",label:"inEchelon"},{value:"column",label:"inAColumn"},{value:"front",label:"abreast"},{value:"cluster",label:"aLooseCrowd"},{value:"flock",label:"aFlockThatFliesItself"}]},{type:"number",key:"formation.angleDeg",min:5,max:180,step:1,unit:"°",group:n.FORMATION,effective:()=>70,label:"angleBetweenTheArms",hint:"aGooseVMeasures",visibleWhen:t=>["v","j"].includes(n.formationOf(t))},{type:"number",key:"formation.asymmetry",min:0,max:100,step:5,unit:"%",scale:100,group:n.FORMATION,effective:()=>.7,label:"onTheRightArm",visibleWhen:t=>n.formationOf(t)==="j"},{type:"number",key:"formation.spacing",min:.2,max:20,step:.1,group:n.FORMATION,effective:t=>["v","j","echelon","column"].includes(n.formationOf(t))?1:1.5,label:"spacingInWingspans",hint:"betweenNeighbours",visibleWhen:t=>n.formationOf(t)!=="single"},{type:"number",key:"formation.wander",min:0,max:5,step:.05,group:n.FORMATION,effective:t=>["v","j","echelon","column"].includes(n.formationOf(t))?.15:.4,label:"strayInWingspans",hint:"howMuchEachBirdStrays",visibleWhen:t=>!["single","flock"].includes(n.formationOf(t))},{type:"number",key:"formation.informed",min:0,max:100,step:1,unit:"%",scale:100,group:n.FORMATION,effective:()=>A.INFORMED_SHARE,label:"informed",hint:"aFewKnowWhereTheFlockIsGoing",visibleWhen:t=>n.formationOf(t)==="flock"},{type:"number",key:"wingbeatHz",min:.5,max:30,step:.01,unit:"Hz",group:n.FLIGHT,effective:t=>{const e=t,i=v.pathOf(e)[0]?.upM??0;return Math.round(m.wingbeatHz(n.speciesOf(t),m.airDensityAt((e.originElevationM??0)+i))*100)/100},label:"wingbeat",hint:"predictedFromItsSpecies"},{type:"choice",key:"flight.kind",group:n.FLIGHT,label:"howTheyFly",effective:t=>n.speciesOf(t).flight.kind,choices:[{value:"flapping",label:"flappingAllTheTime"},{value:"bursts",label:"inBurstsAndGlides"},{value:"path",label:"asTheirPathAsks"}]},{type:"number",key:"flight.beats",min:1,max:50,step:1,group:n.FLIGHT,label:"wingbeatsABurst",effective:t=>n.burstOf(t,"beats"),visibleWhen:t=>n.flightOf(t)!=="flapping"},{type:"number",key:"flight.glideS",min:0,max:60,step:.1,unit:"s",group:n.FLIGHT,label:"glideBetween",effective:t=>n.burstOf(t,"glideS"),visibleWhen:t=>n.flightOf(t)!=="flapping"},{type:"number",key:"originElevationM",min:-500,max:6e3,step:1,unit:"m",group:n.FLIGHT,effective:()=>0,label:"thePlaceSGroundAboveTheSea",hint:"whatSetsHowThinTheAir"},n.colour("upperColor","upperSide","theBackAndTheUpperSide"),n.colour("underColor","underSide","theBellyAndTheUnderSide"),n.colour("tipColor","wingTips"),n.colour("headColor","head"),n.colour("neckColor","neck"),n.colour("billColor","bill"),{type:"number",key:"lightFromBelow.lux",min:0,max:1e4,step:.1,unit:"lx",group:n.LOOK,effective:()=>0,label:"litFromBelow",hint:"theLampsOfATown"},{type:"colour",key:"lightFromBelow.color",group:n.LOOK,fallback:"#ffd7a0",label:"lightFromBelowColour",visibleWhen:t=>typeof u.read(t,"lightFromBelow.lux")=="number"}]};static angular(t){return typeof t.azimuthDeg=="number"}static WAYPOINT={kind:"birds-waypoint",title:"pointOfThePath",parameters:[{type:"number",key:"t",min:-36e3,max:36e3,step:.1,unit:"s",scale:.001,required:!0,label:"time",hint:"secondsOfTheRecording"},{type:"position",key:"eastM",secondKey:"northM",saidKey:"saidPosition",native:"local",step:1,rangeM:1e5,label:"position",visibleWhen:t=>!n.angular(t)},{type:"number",key:"altitudeM",min:-500,max:1e4,step:.1,unit:"m",required:!0,label:"height",hint:"aboveTheGroundOfThePlace",visibleWhen:t=>!n.angular(t)},{type:"number",key:"azimuthDeg",min:0,max:360,step:.1,unit:"°",required:!0,label:"azimuth",visibleWhen:t=>n.angular(t)},{type:"number",key:"altitudeDeg",min:-90,max:90,step:.1,unit:"°",required:!0,label:"elevation",visibleWhen:t=>n.angular(t)},{type:"number",key:"distanceM",min:0,max:1e5,step:1,unit:"m",required:!0,label:"distance",visibleWhen:t=>n.angular(t)},{type:"number",key:"eyeHeightM",min:0,max:1e4,step:.1,unit:"m",effective:()=>1.6,label:"eyeHeight",visibleWhen:t=>n.angular(t)}]};static waypointAt(t,e){const i=v.pathOf(t),s=g=>Math.round(g*10)/10;if(i.length===0)return{t:e,eastM:0,northM:0,altitudeM:0};const o=i.findIndex(g=>g.t>=e),[r,a]=o<=0?[i[Math.max(o,0)],i[Math.max(o,0)]]:[i[o-1],i[o]],h=o<0?i[i.length-1]:void 0,p=h||a.t===r.t?0:(e-r.t)/(a.t-r.t),d=h??r,b=h??a;return{t:Math.round(e),eastM:s(d.eastM+(b.eastM-d.eastM)*p),northM:s(d.northM+(b.northM-d.northM)*p),altitudeM:s(d.upM+(b.upM-d.upM)*p)}}static publish(){y.publish(n.SET),y.publish(n.WAYPOINT)}}const R=k.catalog({en:()=>c(()=>import("./BirdEditorMessages_en-CN1OJud9.js"),[],import.meta.url).then(l=>l.birdEditorMessages_en),fr:()=>c(()=>import("./BirdEditorMessages_fr-hL72V8wm.js"),[],import.meta.url).then(l=>l.birdEditorMessages_fr),es:()=>c(()=>import("./BirdEditorMessages_es-DDEnjRrz.js"),[],import.meta.url).then(l=>l.birdEditorMessages_es),it:()=>c(()=>import("./BirdEditorMessages_it-BmLyiPYp.js"),[],import.meta.url).then(l=>l.birdEditorMessages_it)});class f{constructor(t,e,i){this.container=t,this.host=e,F.attach(t,"bird-editor-part",f.STYLE),this.language=i,y.of("birds")||n.publish(),this.ready=this.setLanguage(i)}messages;ready;parameterTexts;languageToken=0;currentId;form;list;timeline;pointForm;pointIndex=0;language;shown=[];static STYLE='.bird-editor-part { flex-basis: 100%; min-width: 0; } .bird-editor-part #bird-list, .bird-editor-part #bird-timeline { flex-basis: 100%; min-width: 0; } .bird-editor-part #bird-timeline { padding: 4px 0; } .bird-editor-part #bird-path > .icon-btn { align-self: flex-end; } .bird-editor-part .launch-editor, .bird-editor-part .launch-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .bird-editor-part .launch-fields { flex-basis: 100%; min-width: 0; } .bird-editor-part [hidden] { display: none !important; } .bird-editor-part select { min-width: 0; width: 100%; } .bird-editor-part .launch-intro { flex-basis: 100%; margin: 0; } .bird-editor-part .launch-parameters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; } .bird-editor-part .parameter-group { flex: 1 1 14em; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; align-content: flex-start; } .bird-editor-part input, .bird-editor-part select { max-width: 100%; box-sizing: border-box; } .bird-editor-part input[type="text"] { width: 12em; } .bird-editor-part label { min-width: 0; max-width: 100%; } .bird-editor-part input.parameter-derived::placeholder { opacity: .65; } .bird-editor-part .launch-path { flex: 1 1 100%; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; }';static PATH_COLOR="#3b82c4";async setLanguage(t){const e=++this.languageToken;this.language=t;const[i,s]=await Promise.all([R.load(t),L.load(t)]);e===this.languageToken&&(this.messages=i,this.parameterTexts=s,this.render(),this.sync())}sync(){if(!this.messages)return;const t=this.flocks;this.shown=[...t],t.some(s=>s.id===this.currentId)||(this.currentId=t[0]?.id),this.list?.setItems(t.map(s=>({id:s.id,label:this.labelOf(s)})),this.currentId),this.syncAddState();const e=this.current;if(this.element("bird-fields").hidden=e===void 0,!e)return;const i=this.element("bird-each");i.hidden=e.explainsEach===void 0,i.textContent=this.messages.explainsEachNote.replace("{n}",String(e.explainsEach?.length??0)),this.form??=new O(this.element("bird-parameters"),this.language,"birds.",{said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()}),this.form.show(this.resolved(n.SET),new x(()=>this.current,s=>this.editFlock(o=>s(o)),()=>({shapes:this.host.shapes().map(s=>({value:s.id,label:s.label}))}),this.host.positionPlace?.()),()=>this.written()),this.syncPoint(!0)}refresh(){if(!this.messages)return;this.syncAddState();const t=this.flocks;if(t.length===this.shown.length&&t.every((e,i)=>e.id===this.shown[i].id)){this.syncTimeline();return}this.sync()}setTime(t){this.messages&&this.timeline?.setTime(t)}syncAddState(){const t=this.frontOfObserver()!==void 0;this.list?.setAddState(t,t?void 0:this.messages.addNowhere)}get current(){return this.flocks.find(t=>t.id===this.currentId)}resolved(t){return M.resolve(t,this.parameterTexts)}render(){if(!this.messages)return;const t=this.messages;this.form=void 0,this.pointForm=void 0,this.container.innerHTML=`<div class="launch-editor">
2
+ <p class="launch-intro">${t.intro}</p>
3
+ <div id="bird-list"></div>
4
+ <div id="bird-fields" class="launch-fields">
5
+ <div id="bird-parameters" class="launch-parameters"></div>
6
+ <p id="bird-each" class="launch-intro" hidden></p>
7
+ <div id="bird-timeline"></div>
8
+ <p class="launch-intro">${t.timelineNote}</p>
9
+ <fieldset id="bird-path" class="launch-path">
10
+ <legend>${this.parameterTexts.pointOfThePath}</legend>
11
+ <div id="bird-point-parameters" class="launch-parameters"></div>
12
+ <button id="bird-point-delete" class="icon-btn" type="button" title="${t.deletePoint}" aria-label="${t.deletePoint}">${I.TRASH}</button>
13
+ </fieldset>
14
+ <p class="launch-intro">${t.derivedNote}</p>
15
+ </div>
16
+ </div>`,this.list=new S({header:this.element("bird-list"),body:this.element("bird-fields"),ids:{list:"bird-select",remove:"bird-delete",add:"bird-add"},onSelect:e=>this.show(e),onAdd:()=>this.addFlock(),onRemove:()=>this.deleteCurrent()}),this.list.setLabels({list:t.flock,remove:t.deleteFlock,add:t.addFlock,empty:t.none}),this.timeline=new E(this.element("bird-timeline"),e=>this.host.seekTo?.(e),{addKeyframeHere:t.addPointHere,keyframeHere:t.pointHere,zoomHint:t.zoomHint}),this.element("bird-point-delete").addEventListener("click",()=>this.removePoint())}show(t){this.messages&&(this.currentId=t,this.pointIndex=0,this.sync())}written(){const t=this.current;t&&this.list?.rename(t.id,this.labelOf(t)),this.syncPoint()}pathOf(t){return[...t?.path??[]].sort((e,i)=>e.t-i.t)}static MIN_POINTS=1;syncTimeline(){const t=this.current;if(!this.timeline||!t)return;const e=this.pathOf(t),i={id:"path",label:this.messages.path,color:f.PATH_COLOR,times:e.map(a=>a.t),active:!0,selectedTime:e[this.pointIndex]?.t,open:()=>this.selectPoint(this.pointIndex),pressed:(a,h)=>{const p=h===void 0?-1:this.pathOf(this.current).findIndex(d=>d.t===h);this.selectPoint(p>=0?p:this.pointIndex)},move:(a,h)=>this.movePoint(a,h),add:()=>this.addPointAt(this.host.currentTime?.()??0)},s=e[0]?.t??0,o=e[e.length-1]?.t??0,r=Math.max(500,(o-s)/10);this.timeline.show([i],this.host.duration?.()??o,this.host.currentTime?.()??0,{from:s-r,to:o+r})}syncPoint(t=!1){const e=this.pathOf(this.current);this.pointIndex=Math.max(0,Math.min(this.pointIndex,e.length-1)),this.element("bird-point-delete").disabled=e.length<=f.MIN_POINTS,this.pointForm?this.pointForm.sync(t):(this.pointForm=new O(this.element("bird-point-parameters"),this.language,"birdsPoint."),this.pointForm.show(this.resolved(n.WAYPOINT),new x(()=>this.pathOf(this.current)[this.pointIndex],i=>this.editPoint(this.pointIndex,i),void 0,this.host.positionPlace?.()),()=>{})),this.syncTimeline()}selectPoint(t){this.pointIndex=t;const e=this.pathOf(this.current)[t];e&&this.host.seekTo?.(e.t),this.syncPoint(!0)}editPoint(t,e){let i;this.editFlock(s=>{const o=this.pathOf(s);i={...o[t]},e(i),s.path=o.map((r,a)=>a===t?i:r).sort((r,a)=>r.t-a.t)}),i&&(this.pointIndex=this.current?.path.indexOf(i)??0),this.syncPoint()}movePoint(t,e){const i=this.pathOf(this.current).findIndex(s=>s.t===t);i<0||(this.editPoint(i,s=>{s.t=Math.round(e)}),this.syncPoint(!0))}addPointAt(t){const e=this.current;if(!e)return;const i=this.pathOf(e).findIndex(o=>Math.abs(o.t-t)<1);if(i>=0){this.selectPoint(i);return}const s=n.waypointAt(e,t);this.editFlock(o=>{o.path=[...this.pathOf(o),s].sort((r,a)=>r.t-a.t)}),this.selectPoint(this.current?.path.indexOf(s)??0)}removePoint(){const t=this.pathOf(this.current);if(t.length<=f.MIN_POINTS)return;const e=this.pointIndex;this.editFlock(i=>{i.path=t.filter((s,o)=>o!==e)}),this.syncPoint(!0)}editFlock(t){const e=this.current;if(!e)return;const i=structuredClone(e);t(i),i.formation&&i.formation.kind===void 0&&(Object.entries(i.formation).some(([r,a])=>r!=="kind"&&a!==void 0)?i.formation.kind=e.formation?.kind??((i.count??1)>1?"cluster":"single"):delete i.formation);const s=i.flight;if(s){if(s.kind===void 0)delete i.flight;else if(s.kind!=="flapping"){const o=e.flight?.kind!=="flapping"?e.flight:void 0,r=n.BURST;s.beats??=o?.beats??r.beats,s.glideS??=o?.glideS??r.glideS}}this.writeFlocks(this.flocks.map(o=>o===e?i:o)),this.host.changed()}frontOfObserver(){const t=this.host.sighting(),e=t.event?.place?.[0];if(e?.lat===void 0||e.lng===void 0)return;const i=t.observerTrack?.getInterpolatedPoseAt(this.host.currentTime?.()??0),s=111320,o=i?.lng!==void 0?(i.lng-e.lng)*s*Math.cos(e.lat*Math.PI/180):0,r=i?.lat!==void 0?(i.lat-e.lat)*s:0;return{eastM:o,northM:r,headingRad:(i?.headingDeg??0)*Math.PI/180}}addFlock(){const t=this.frontOfObserver();if(!t)return;let e=this.flocks.length+1;for(;this.flocks.some(r=>r.id===`birds-${e}`);)e++;const i=Math.round(this.host.currentTime?.()??0),s=(r,a,h)=>({t:r,eastM:Math.round(t.eastM+a*Math.sin(t.headingRad)+h*Math.cos(t.headingRad)),northM:Math.round(t.northM+a*Math.cos(t.headingRad)-h*Math.sin(t.headingRad)),altitudeM:60}),o={id:`birds-${e}`,species:"herring-gull",count:12,formation:{kind:"cluster"},path:[s(i,300,-120),s(i+2e4,300,120)],seed:e};this.writeFlocks([...this.flocks,o]),this.host.changed(),this.show(o.id)}deleteCurrent(){const t=this.current;t&&(this.currentId=void 0,this.writeFlocks(this.flocks.filter(e=>e!==t)),this.host.changed(),this.sync())}writeFlocks(t){const e=this.host.sighting(),i={...e.interpretation??{bodies:[]},birds:t.length>0?t:void 0};i.birds===void 0&&delete i.birds;const s=T.saysNothing(i,w.kinds());e.interpretation=s?void 0:i}labelOf(t){const e=this.host.said().read(t.title);return e?`${e} (${t.id})`:t.id}get flocks(){return this.host.sighting().interpretation?.birds??[]}element(t){return this.container.querySelector(`#${t}`)}}export{f as BirdEditor};
@@ -0,0 +1 @@
1
+ const e={intro:"What the flocks are: birds read into the account as what it saw. Each bird flies its own track, computed from the species, the arrangement and the path: its wings beat at its species' rate, it banks in its turns — computed, not drawn.",none:"No birds in this recording",flock:"Birds",deleteFlock:"Delete these birds",addFlock:"Add birds",addNowhere:"Give the recording a place first: the birds are put in front of the observer",explainsEachNote:"These birds each stand for a shape of the account, {n} in the order of the flock: change which in the recording's file.",path:"Path",deletePoint:"Remove this point",timelineNote:'On the timeline, a diamond pressed is the point of the path shown below, and the scene goes to its instant; drag it to move it in time. The "+" puts a point at the playhead, where the birds are then. Before the first point and after the last, the birds stay where it puts them.',addPointHere:"Add a point here, at the playhead",pointHere:"A point is at the playhead: press it to edit it",zoomHint:"Pinch, or Ctrl + wheel, to zoom; Shift + wheel to scroll",derivedNote:"An empty field shows, greyed, the value in use: the species' own for its wingbeat, its way of flying and its colours. Empty a field to go back to it."};export{e as birdEditorMessages_en};
@@ -0,0 +1 @@
1
+ const e={intro:"Aves, como lectura del relato: lo que vio era una bandada. Cada ave vuela su propia trayectoria, calculada a partir de la especie, la disposición y el trayecto: sus alas baten al ritmo de su especie, se inclina en los giros — calculado, no dibujado.",none:"Ninguna ave en esta grabación",flock:"Aves",deleteFlock:"Eliminar estas aves",addFlock:"Añadir aves",addNowhere:"Dé primero un lugar a la grabación: las aves se colocan delante del testigo",explainsEachNote:"Estas aves representan cada una una forma del relato, {n} en el orden de la bandada: cambie cuáles en el archivo de la grabación.",path:"Trayecto",deletePoint:"Quitar este punto",timelineNote:"En la línea de tiempo, un rombo pulsado es el punto del trayecto mostrado debajo, y la escena va a su instante; arrástrelo para moverlo en el tiempo. El «+» pone un punto en el cabezal, donde están entonces las aves. Antes del primer punto y después del último, las aves se quedan donde él las pone.",addPointHere:"Añadir un punto aquí, en el cabezal",pointHere:"Hay un punto en el cabezal: púlselo para editarlo",zoomHint:"Pellizque, o Ctrl + rueda, para ampliar; Mayús + rueda para desplazar",derivedNote:"Un campo vacío muestra, en gris, el valor usado: el de la especie para el aleteo, la forma de volar y los colores. Vacíe un campo para volver a él."};export{e as birdEditorMessages_es};
@@ -0,0 +1 @@
1
+ const e={intro:"Des oiseaux, comme lecture du compte rendu : ce qu'il a vu était une nuée. Chaque oiseau vole sa propre trajectoire, calculée d'après l'espèce, la disposition et le trajet : ses ailes battent au rythme de son espèce, il s'incline dans les virages — calculé, pas dessiné.",none:"Aucun oiseau dans cet enregistrement",flock:"Oiseaux",deleteFlock:"Supprimer ces oiseaux",addFlock:"Ajouter des oiseaux",addNowhere:"Donnez d'abord un lieu à l'enregistrement : les oiseaux sont placés devant le témoin",explainsEachNote:"Ces oiseaux représentent chacun une forme du compte rendu, {n} dans l'ordre de la nuée : modifiez lesquelles dans le fichier de l'enregistrement.",path:"Trajet",deletePoint:"Retirer ce point",timelineNote:"Sur la frise, un losange pressé est le point du trajet affiché dessous, et la scène va à son instant ; faites-le glisser pour le déplacer dans le temps. Le « + » pose un point à la tête de lecture, là où sont alors les oiseaux. Avant le premier point et après le dernier, les oiseaux restent où il les place.",addPointHere:"Ajouter un point ici, à la tête de lecture",pointHere:"Un point est à la tête de lecture : pressez-le pour le modifier",zoomHint:"Pincez, ou Ctrl + molette, pour zoomer ; Maj + molette pour défiler",derivedNote:"Un champ vide montre, en grisé, la valeur utilisée : celle de l'espèce pour le battement, la façon de voler et les couleurs. Videz un champ pour y revenir."};export{e as birdEditorMessages_fr};
@@ -0,0 +1 @@
1
+ const e={intro:"Uccelli, come lettura del resoconto: ciò che ha visto era uno stormo. Ogni uccello vola la propria traiettoria, calcolata dalla specie, dalla disposizione e dal tragitto: le sue ali battono al ritmo della sua specie, si inclina nelle virate — calcolato, non disegnato.",none:"Nessun uccello in questa registrazione",flock:"Uccelli",deleteFlock:"Eliminare questi uccelli",addFlock:"Aggiungere uccelli",addNowhere:"Date prima un luogo alla registrazione: gli uccelli sono messi davanti al testimone",explainsEachNote:"Questi uccelli rappresentano ciascuno una forma del resoconto, {n} nell'ordine dello stormo: cambiate quali nel file della registrazione.",path:"Tragitto",deletePoint:"Togliere questo punto",timelineNote:"Sulla linea del tempo, un rombo premuto è il punto del tragitto mostrato sotto, e la scena va al suo istante; trascinatelo per spostarlo nel tempo. Il «+» mette un punto alla testina, dove sono allora gli uccelli. Prima del primo punto e dopo l'ultimo, gli uccelli restano dove lui li mette.",addPointHere:"Aggiungere un punto qui, alla testina",pointHere:"C'è un punto alla testina: premetelo per modificarlo",zoomHint:"Pizzicate, o Ctrl + rotella, per ingrandire; Maiusc + rotella per scorrere",derivedNote:"Un campo vuoto mostra, in grigio, il valore usato: quello della specie per il battito, il modo di volare e i colori. Svuotate un campo per tornarci."};export{e as birdEditorMessages_it};
@@ -0,0 +1 @@
1
+ import{O as jt}from"./Obstacles-v9SkfBD7.js";class V{static G=9.81;static BUILDS={gull:{lengthM:.6,wingspanM:1.4,restM:{widthM:1.4,heightM:.14,lengthM:.653},colours:{upperColor:"#a9b1b9",underColor:"#f3f2ec",tipColor:"#1b1c1f",headColor:"#f3f2ec",neckColor:"#f3f2ec",billColor:"#e6bd35"}},pelican:{lengthM:1.2,wingspanM:2.1,restM:{widthM:2.147,heightM:.281,lengthM:1.299},colours:{upperColor:"#7d7468",underColor:"#4f4840",tipColor:"#3b3631",headColor:"#e9dfb5",neckColor:"#5a3a2a",billColor:"#8d8778"}},goose:{lengthM:.95,wingspanM:1.6,restM:{widthM:1.6,heightM:.22,lengthM:1.003},colours:{upperColor:"#6b5d4f",underColor:"#cfc6b8",tipColor:"#3a332c",headColor:"#1d1c1b",neckColor:"#1d1c1b",billColor:"#1d1c1b"}},duck:{lengthM:.58,wingspanM:.9,restM:{widthM:.9,heightM:.15,lengthM:.633},colours:{upperColor:"#6d6457",underColor:"#b9b2a6",tipColor:"#4d463d",headColor:"#1f5a35",neckColor:"#ece9e1",billColor:"#d9b23a"}},plover:{lengthM:.27,wingspanM:.68,restM:{widthM:.68,heightM:.07,lengthM:.291},colours:{upperColor:"#6f6650",underColor:"#e8e4da",tipColor:"#3b362c",headColor:"#6f6650",neckColor:"#e8e4da",billColor:"#1d1c1b"}}};static ALL=[{id:"herring-gull",name:"Herring gull",build:"gull",lengthM:.6,wingspanM:1.4,massKg:1,wingAreaM2:.2,flight:{kind:"flapping"},plumage:{color:"#e6e8ea",albedo:.6}},{id:"ring-billed-gull",name:"Ring-billed gull",build:"gull",lengthM:.48,wingspanM:1.2,massKg:.5,wingAreaM2:.14,flight:{kind:"flapping"},colours:{upperColor:"#b3bbc3"},plumage:{color:"#e6e8ea",albedo:.6}},{id:"black-headed-gull",name:"Black-headed gull",build:"gull",lengthM:.37,wingspanM:1,massKg:.28,wingAreaM2:.1,flight:{kind:"flapping"},colours:{upperColor:"#c3c9cf",headColor:"#3d2b24",billColor:"#8f1d1d"},plumage:{color:"#e8eaec",albedo:.6}},{id:"brown-pelican",name:"Brown pelican",build:"pelican",lengthM:1.2,wingspanM:2.1,massKg:3.5,wingAreaM2:.55,flight:{kind:"bursts",beats:5,glideS:3},plumage:{color:"#7d7468",albedo:.25}},{id:"american-white-pelican",name:"American white pelican",build:"pelican",lengthM:1.5,wingspanM:2.7,massKg:7,wingAreaM2:.9,flight:{kind:"bursts",beats:6,glideS:3},plumage:{color:"#f3f2ec",albedo:.8},colours:{upperColor:"#f3f2ec",underColor:"#f3f2ec",tipColor:"#1b1c1f",headColor:"#f3f2ec",neckColor:"#f3f2ec",billColor:"#e89a3c"}},{id:"canada-goose",name:"Canada goose",build:"goose",lengthM:.95,wingspanM:1.6,massKg:4,wingAreaM2:.3,flight:{kind:"flapping"},plumage:{color:"#8a7c6c",albedo:.25}},{id:"snow-goose",name:"Snow goose",build:"goose",lengthM:.75,wingspanM:1.45,massKg:2.6,wingAreaM2:.25,flight:{kind:"flapping"},plumage:{color:"#f3f2ec",albedo:.8},colours:{upperColor:"#f3f2ec",underColor:"#f3f2ec",tipColor:"#1b1c1f",headColor:"#f3f2ec",neckColor:"#f3f2ec",billColor:"#d9898a"}},{id:"mallard",name:"Mallard",build:"duck",lengthM:.58,wingspanM:.9,massKg:1.1,wingAreaM2:.095,flight:{kind:"flapping"},plumage:{color:"#8a8074",albedo:.3}},{id:"american-golden-plover",name:"American golden plover",build:"plover",lengthM:.26,wingspanM:.68,massKg:.145,wingAreaM2:.038,flight:{kind:"flapping"},plumage:{color:"#8a8070",albedo:.3}},{id:"killdeer",name:"Killdeer",build:"plover",lengthM:.25,wingspanM:.6,massKg:.09,wingAreaM2:.03,flight:{kind:"flapping"},colours:{upperColor:"#7a6249",headColor:"#7a6249"},plumage:{color:"#9a8a72",albedo:.3}}];static byId(t){return V.ALL.find(a=>a.id===t)}static wingbeatHz(t,a=1.225){return t.massKg**(3/8)*Math.sqrt(V.G)*t.wingspanM**(-23/24)*t.wingAreaM2**(-1/3)*a**(-3/8)}static airDensityAt(t){return 1.225*((288.15-.0065*t)/288.15)**4.2559}static colourOf(t,a){return t.colours?.[a]??V.BUILDS[t.build].colours[a]}static sizeOf(t){const a=V.BUILDS[t.build],e=t.wingspanM/a.wingspanM,o=t.lengthM/a.lengthM;return{widthM:a.restM.widthM*e,lengthM:a.restM.lengthM*o,heightM:a.restM.heightM*o}}}class l{static STEP_S=.05;static NEIGHBOURS=7;static MAX_BANK_DEG=60;static INFORMED_SHARE=.2;static BLIND_HALF_DEG=30;static TURN_LAG_S=.25;static SEPARATION=4;static ALIGNMENT=1;static TURN_FOLLOWING=.8;static COHESION=.6;static EDGE_COHESION=1;static VERTICAL_COHESION=.1;static LEAD=.6;static FOLLOWER_LEAD=.3;static LOOK_AHEAD_S=3;static SPEED_RATE=1.5;static SPEED_COHESION=.5;static STEERING=2;static NOISE=1.5;static OWN_SPEED=.5;static AVOIDANCE=6;static AVOID_AHEAD_S=1;static OVER_WITHIN_M=6;static MAX_RINGS=6;static run(t){const{path:a,count:e,species:o,random:n,sampleMs:r}=t,h=t.obstacles?.empty===!1?t.obstacles:void 0,f=new It(a),g=a[0].t,A=a[a.length-1].t,u=D=>{const S=f.velocityAt(D);return Math.max(Math.hypot(S.east,S.north,S.up),10)},c=t.spacing*o.wingspanM,d=p.slotsOf({kind:"cluster",spacing:t.spacing},e,o.wingspanM,n),w=f.velocityAt(g),M=Math.atan2(w.east,w.north),b=f.at(g),i=e,m=new Float64Array(i),y=new Float64Array(i),E=new Float64Array(i),O=new Float64Array(i),N=new Float64Array(i),I=new Float64Array(i),z=new Float64Array(i),T=new Float64Array(i),P=new Float64Array(i),v=new Float64Array(i),et=new Float64Array(i),at=new Float64Array(i),nt=new Float64Array(i),Ct=new Float64Array(i),Mt=new Uint8Array(i);d.forEach((D,S)=>{m[S]=b.eastM+Math.sin(M)*D.forwardM+Math.cos(M)*D.rightM,y[S]=b.northM+Math.cos(M)*D.forwardM-Math.sin(M)*D.rightM,E[S]=b.upM+D.upM,nt[S]=1+(n()-.5)*.08,O[S]=Math.sin(M)*u(g)*nt[S],N[S]=Math.cos(M)*u(g)*nt[S]});const Ut=Math.max(0,Math.min(1,t.informedShare??l.INFORMED_SHARE)),Vt=i===1?1:Math.min(i,Math.max(2,Math.round(i*Ut)));for(let D=0;D<Vt;){const S=Math.floor(n()*i);Mt[S]||(Mt[S]=1,D++)}const xt=d.map(()=>[]),Wt=d.map(()=>({x:0,y:0,z:0})),Dt=new Yt(i,Math.max(c*1.5,.1)),lt=Math.min(l.NEIGHBOURS,i-1),Nt=new Int32Array(Math.max(lt,1)),st=9.81*Math.tan(l.MAX_BANK_DEG*Math.PI/180),Xt=-Math.cos(l.BLIND_HALF_DEG*Math.PI/180),U=l.STEP_S,ct=Math.min(1,U/l.TURN_LAG_S);let gt=g;for(let D=g;D<=A+1e-6;D+=U*1e3){if(D>=gt-1e-6){for(let s=0;s<i;s++)xt[s].push({t:gt,eastM:m[s],northM:y[s],upM:E[s],headingDeg:0,pitchDeg:0,rollDeg:0});gt+=r}const S=f.at(D),dt=f.velocityAt(D),pt=u(D);Dt.fill(m,y,E);for(let s=0;s<i;s++){const W=Math.max(Math.hypot(O[s],N[s],I[s]),.001),X=O[s]/W,j=N[s]/W,Y=I[s]/W,L=lt>0?Dt.nearest(s,m,y,E,lt,l.MAX_RINGS,Nt,(C,x,K,G)=>(C*X+x*j+K*Y)/G>Xt):0;let Q=0,H=0,ut=0,St=0,Lt=0,zt=0,ft=0,At=0,wt=0,vt=0,Tt=0,Rt=0,Pt=0,Gt=0,Ht=0;for(let C=0;C<L;C++){const x=Nt[C],K=m[x]-m[s],G=y[x]-y[s],q=E[x]-E[s],R=Math.max(Math.hypot(K,G,q),.001);if(R<c){const J=(1-R/c)/R;Q-=K*J,H-=G*J,ut-=q*J}St+=m[x],Lt+=y[x],zt+=E[x],ft+=O[x],At+=N[x],wt+=I[x],vt+=z[x],Tt+=T[x],Rt+=P[x],Pt+=K/R,Gt+=G/R,Ht+=q/R}let _=0,B=0,Z=0,F=nt[s]*pt;const tt=Math.hypot(Q,H,ut);if(tt>0){const C=Math.min(1,tt*c);_+=Q/tt*l.SEPARATION*C,B+=H/tt*l.SEPARATION*C,Z+=ut/tt*l.SEPARATION*C}if(L>0){const C=St/L-m[s],x=Lt/L-y[s],K=zt/L-E[s],G=Math.max(Math.hypot(C,x,K),.001),q=Math.hypot(Pt,Gt,Ht)/L,R=(Math.min(1,G/(2*c))+l.EDGE_COHESION*q)*l.COHESION;_+=C/G*R,B+=x/G*R,Z+=K/G*R;const J=Math.max(Math.hypot(ft,At,wt)/L,.001);Z*=l.VERTICAL_COHESION,_+=ft/L/J*l.ALIGNMENT,B+=At/L/J*l.ALIGNMENT,Z+=wt/L/J*l.ALIGNMENT,F=J+(F-J)*l.OWN_SPEED,F+=(C*X+x*j+K*Y)*l.SPEED_COHESION}if(h){const C=h.inside(m[s]+O[s]*l.AVOID_AHEAD_S,y[s]+N[s]*l.AVOID_AHEAD_S,E[s]+I[s]*l.AVOID_AHEAD_S,c)??h.inside(m[s],y[s],E[s],c);C&&(_+=C.nx*l.AVOIDANCE,B+=C.ny*l.AVOIDANCE,C.belowTopM<l.OVER_WITHIN_M&&(Z+=l.AVOIDANCE))}{const C=l.LOOK_AHEAD_S,x=S.eastM+dt.east*C-m[s],K=S.northM+dt.north*C-y[s],G=S.upM+dt.up*C-E[s],q=Math.max(Math.hypot(x,K,G),.001),R=Mt[s]||L===0?l.LEAD:l.FOLLOWER_LEAD;_+=x/q*R,B+=K/q*R,Z+=G/q*R}const k=Math.hypot(_,B,Z);F=Math.max(.7*pt,Math.min(1.4*pt,F));const bt=l.STEERING*W;let ot=k>1e-6?(_/k-X)*bt:0,rt=k>1e-6?(B/k-j)*bt:0,ht=k>1e-6?(Z/k-Y)*bt:0;L>0&&(ot+=(vt/L-z[s])*l.TURN_FOLLOWING,rt+=(Tt/L-T[s])*l.TURN_FOLLOWING,ht+=(Rt/L-P[s])*l.TURN_FOLLOWING);const $=Wt[s];$.x+=((n()-.5)*2*l.NOISE-$.x)*U,$.y+=((n()-.5)*2*l.NOISE-$.y)*U,$.z+=((n()-.5)*l.NOISE-$.z)*U,ot+=$.x,rt+=$.y,ht+=$.z;const mt=ot*X+rt*j+ht*Y;let Et=ot-mt*X,yt=rt-mt*j,Ot=ht-mt*Y;const it=Math.hypot(Et,yt,Ot);it>st&&(Et*=st/it,yt*=st/it,Ot*=st/it),v[s]=Et,et[s]=yt,at[s]=Ot,Ct[s]=Math.max(-3,Math.min(3,(F-W)*l.SPEED_RATE))}for(let s=0;s<i;s++){z[s]+=(v[s]-z[s])*ct,T[s]+=(et[s]-T[s])*ct,P[s]+=(at[s]-P[s])*ct;const W=Math.max(Math.hypot(O[s],N[s],I[s]),.001),X=O[s]/W,j=N[s]/W,Y=I[s]/W,L=z[s]*X+T[s]*j+P[s]*Y;z[s]-=L*X,T[s]-=L*j,P[s]-=L*Y;const Q=Ct[s];if(O[s]+=(z[s]+X*Q)*U,N[s]+=(T[s]+j*Q)*U,I[s]+=(P[s]+Y*Q)*U,m[s]+=O[s]*U,y[s]+=N[s]*U,E[s]+=I[s]*U,h){const H=h.inside(m[s],y[s],E[s]);H&&(H.belowTopM<H.depthM?E[s]+=H.belowTopM:(m[s]+=H.nx*H.depthM,y[s]+=H.ny*H.depthM))}}}return xt.map(D=>(p.attitudes(D),{samples:D,delayS:0}))}}class Yt{constructor(t,a){this.n=t,this.cellM=a;let e=16;for(;e<t*2;)e*=2;this.size=e,this.start=new Int32Array(e+1),this.counts=new Int32Array(e),this.members=new Int32Array(t),this.slotOf=new Int32Array(t),this.seen=new Int32Array(e),this.distances=new Float64Array(t)}size;start;counts;members;slotOf;seen;search=0;distances;cell(t){return Math.floor(t/this.cellM)}slot(t,a,e){return(Math.imul(t,73856093)^Math.imul(a,19349663)^Math.imul(e,83492791))&this.size-1}fill(t,a,e){this.counts.fill(0);for(let n=0;n<this.n;n++){const r=this.slot(this.cell(t[n]),this.cell(a[n]),this.cell(e[n]));this.slotOf[n]=r,this.counts[r]++}this.start[0]=0;for(let n=0;n<this.size;n++)this.start[n+1]=this.start[n]+this.counts[n];const o=this.start.slice(0,this.size);for(let n=0;n<this.n;n++)this.members[o[this.slotOf[n]]++]=n}nearest(t,a,e,o,n,r,h,f){const g=++this.search,A=this.cell(a[t]),u=this.cell(e[t]),c=this.cell(o[t]);let d=0;const w=this.distances;for(let M=0;M<=r;M++){for(let b=A-M;b<=A+M;b++)for(let i=u-M;i<=u+M;i++)for(let m=c-M;m<=c+M;m++){if(Math.max(Math.abs(b-A),Math.abs(i-u),Math.abs(m-c))!==M)continue;const y=this.slot(b,i,m);if(this.seen[y]!==g){this.seen[y]=g;for(let E=this.start[y];E<this.start[y+1];E++){const O=this.members[E];if(O===t)continue;const N=a[O]-a[t],I=e[O]-e[t],z=o[O]-o[t],T=N*N+I*I+z*z;if(d===n&&T>=w[n-1])continue;const P=Math.sqrt(T);if(P>0&&!f(N,I,z,P))continue;let v=Math.min(d,n-1);for(;v>0&&w[v-1]>T;)w[v]=w[v-1],h[v]=h[v-1],v--;w[v]=T,h[v]=O,d<n&&d++}}}if(d===n&&w[n-1]<=(M*this.cellM)**2)break}return d}}class p{static SAMPLE_MS=100;static MAX_KEYFRAMES=6e4;static computed=new Map;static bodiesOf(t,a=jt.NONE){const e=JSON.stringify(t)+a.signature;let o=p.computed.get(e);return o||(o=p.compute(t,a),p.computed.set(e,o),p.computed.size>16&&p.computed.delete(p.computed.keys().next().value)),o}static speciesOf(t){return V.byId(t.species)??V.ALL[0]}static compute(t,a){const e=p.pathOf(t);if(e.length===0)return[];const o=p.speciesOf(t),n=Math.max(1,Math.floor(t.count??1)),r=p.randomFrom(t.seed??1),h=t.wingbeatHz??V.wingbeatHz(o,V.airDensityAt((t.originElevationM??0)+e[0].upM)),f=t.flight??o.flight,g=e[0].t,A=e[e.length-1].t,u=p.sampleMs(n,A-g),c=t.formation?.kind==="flock"?l.run({path:e,count:n,species:o,spacing:t.formation.spacing??1.5,informedShare:t.formation.informed,obstacles:a,random:r,sampleMs:u}):p.arranged(t,e,o,n,r,u),d=V.sizeOf(o),w={...o.colours,...t.colours};return c.map((M,b)=>{const i=h*(1+(r()-.5)*.06),m=r(),y=M.delayS,E=f.kind==="path"?p.flapsAlong(M.samples,i,f,m):void 0,O=M.samples.map((I,z)=>({t:Math.round(I.t),eastM:p.round(I.eastM),northM:p.round(I.northM),altitudeM:p.round(I.upM-d.heightM/2),...z===0?{sizeM:d,appearance:{color:o.plumage.color,albedo:o.plumage.albedo}}:{},attitude:{headingDeg:p.round(I.headingDeg),pitchDeg:p.round(I.pitchDeg),rollDeg:p.round(I.rollDeg)},motions:{flap:p.round(E?E[z]:p.beatsAt((I.t-g)/1e3-y,i,f,m),1e3)}}));return{id:n>1?`${t.id}-${b+1}`:t.id,...t.title?{title:t.title}:{},...t.explainsEach?t.explainsEach[b]!==void 0?{explains:[t.explainsEach[b]]}:{}:{...t.explains?{explains:t.explains}:{},...n>1?{ensemble:t.id}:{}},model:{id:`ufoathome-bird-${o.build}`},shadow:!1,...Object.keys(w).length>0?{modelParameters:w}:{},...t.lightFromBelow?{lightFromBelow:t.lightFromBelow}:{},track:O}})}static beatsAt(t,a,e,o){if(e.kind==="flapping")return Math.max(0,t*a+o);const r=e.beats/a+e.glideS,h=Math.max(0,t+o*r),f=Math.floor(h/r),g=h-f*r;return f*e.beats+Math.min(e.beats,g*a)}static CLIMB_FLAPS_MS=.3;static DESCENT_GLIDES_MS=-.8;static flapsAlong(t,a,e,o){let n=o,r=!0,h=Math.floor(n),f=0;return t.map((g,A)=>{if(A===0)return n;const u=t[A-1],c=(g.t-u.t)/1e3;if(c<=0)return n;const d=(g.upM-u.upM)/c,w=r?n-h<e.beats:(g.t-f)/1e3>=e.glideS,M=d>p.CLIMB_FLAPS_MS?!0:d<p.DESCENT_GLIDES_MS?!1:w;if(r){const b=n+a*c;!M&&Math.floor(b)>Math.floor(n)?(n=Math.floor(b),r=!1,f=g.t):n=b}else M&&(r=!0,h=n);return n})}static sampleMs(t,a){const e=t*(a/p.SAMPLE_MS+1);return e<=p.MAX_KEYFRAMES?p.SAMPLE_MS:Math.ceil(p.SAMPLE_MS*e/p.MAX_KEYFRAMES/50)*50}static pathOf(t){return[...t.path].sort((a,e)=>a.t-e.t).map(a=>{if("eastM"in a)return{t:a.t,eastM:a.eastM,northM:a.northM,upM:a.altitudeM};const e=a.azimuthDeg*Math.PI/180,o=a.altitudeDeg*Math.PI/180,n=a.distanceM*Math.cos(o);return{t:a.t,eastM:n*Math.sin(e),northM:n*Math.cos(e),upM:(a.eyeHeightM??1.6)+a.distanceM*Math.sin(o)}})}static arranged(t,a,e,o,n,r){const h=t.formation??{kind:o>1?"cluster":"single"},f=p.slotsOf(h,o,e.wingspanM,n),g=h.kind==="v"||h.kind==="j"||h.kind==="echelon"||h.kind==="column",A=(h.wander??(g?.15:.4))*e.wingspanM,u=new It(a),c=Math.max(u.meanSpeedMS(),1);return f.map(d=>{const w=g?Math.max(0,-d.forwardM)/c:0,M=p.swayFrom(n,A),b=[];for(let i=a[0].t;i<=a[a.length-1].t+1e-6;i+=r){const m=(i-a[0].t)/1e3,y=i-w*1e3,E=u.at(y),O=u.velocityAt(y),N=Math.atan2(O.east,O.north),[I,z,T]=M(m),P=g?I:d.forwardM+I,v=d.rightM+z,et=E.eastM+Math.sin(N)*P+Math.cos(N)*v,at=E.northM+Math.cos(N)*P-Math.sin(N)*v;b.push({t:i,eastM:et,northM:at,upM:E.upM+d.upM+T,headingDeg:0,pitchDeg:0,rollDeg:0})}return p.attitudes(b),{samples:b,delayS:w}})}static slotsOf(t,a,e,o){const n=[],r=t.kind;if(r==="single"||a===1)return[{forwardM:0,rightM:0,upM:0}];if(r==="v"||r==="j"||r==="echelon"||r==="column"){const c=(t.spacing??1)*e*(r==="column"?0:1),d=(t.angleDeg??70)/2*Math.PI/180,w=r==="column"?(t.spacing??1)*e:c/Math.tan(d),M=r==="v"?.5:r==="echelon"||r==="column"?1:t.asymmetry??.7;n.push({forwardM:0,rightM:0,upM:0});const b=Math.round(M*(a-1));let i=0,m=0;for(let y=1;y<a;y++){const E=m>=a-1-b||i<b&&i/Math.max(b,1)<=m/Math.max(a-1-b,1),O=E?++i:++m;n.push({forwardM:-w*O,rightM:(E?1:-1)*c*O,upM:-.05*e*O*o()})}return n}const h=(t.spacing??1.5)*e;if(r==="front"){for(let c=0;c<a;c++)n.push({forwardM:(o()-.5)*h*1.2,rightM:(c-(a-1)/2)*h,upM:(o()-.5)*h*.4});return n}const f=a*h**3,g=Math.cbrt(f/(4/3*Math.PI*1*2.8*5.6)),A={up:g,across:2.8*g,along:5.6*g};let u=0;for(;n.length<a&&u<a*200;){u++;const c=2*o()-1,d=2*o()-1,w=2*o()-1;if(c*c+d*d+w*w>1)continue;const M={forwardM:c*A.along,rightM:d*A.across,upM:w*A.up};n.some(b=>(b.forwardM-M.forwardM)**2+(b.rightM-M.rightM)**2+(b.upM-M.upM)**2<(h/2)**2)||n.push(M)}for(;n.length<a;)n.push({forwardM:(o()-.5)*A.along,rightM:(o()-.5)*A.across,upM:0});return n}static swayFrom(t,a){const e=[0,1,2].map(o=>[0,1].map(()=>({period:3+t()*7,phase:t()*2*Math.PI,share:(o===2?.4:o===1?.7:1)*(.4+.6*t())})));return o=>e.map(n=>n.reduce((r,h)=>r+a*h.share*.5*Math.sin(2*Math.PI*o/h.period+h.phase),0))}static attitudes(t){const a=t.length;if(!(a<2)){for(let e=0;e<a;e++){const o=t[Math.max(0,e-1)],n=t[Math.min(a-1,e+1)],r=(n.t-o.t)/1e3,h=(n.eastM-o.eastM)/r,f=(n.northM-o.northM)/r,g=(n.upM-o.upM)/r,A=Math.hypot(h,f),u=t[e];u.headingDeg=A>.05?(Math.atan2(h,f)*180/Math.PI+360)%360:e>0?t[e-1].headingDeg:0,u.pitchDeg=Math.atan2(g,Math.max(A,.5))*180/Math.PI}for(let e=0;e<a;e++){const o=t[Math.max(0,e-2)],n=t[Math.min(a-1,e+2)],r=(n.t-o.t)/1e3;let h=n.headingDeg-o.headingDeg;h=(h+540)%360-180;const f=t[e],g=t[Math.max(0,e-1)],A=t[Math.min(a-1,e+1)],u=Math.hypot(A.eastM-g.eastM,A.northM-g.northM)/Math.max((A.t-g.t)/1e3,.001),c=r>0?h*Math.PI/180/r:0,d=Math.atan(u*c/V.G)*180/Math.PI;f.rollDeg=Math.max(-70,Math.min(70,d))}}}static randomFrom(t){let a=t>>>0;return()=>{a=a+1831565813>>>0;let e=a;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}}static round(t,a=100){return Math.round(t*a)/a}}class It{constructor(t){this.points=t}at(t){const a=this.points;if(a.length===1||t<=a[0].t)return this.extrapolated(t,0);if(t>=a[a.length-1].t)return this.extrapolated(t,a.length-1);let e=0;for(;e<a.length-2&&t>a[e+1].t;)e++;const o=a[Math.max(0,e-1)],n=a[e],r=a[e+1],h=a[Math.min(a.length-1,e+2)],f=(t-n.t)/(r.t-n.t),g=(u,c,d)=>(c[d]-u[d])/Math.max(c.t-u.t,1)*(r.t-n.t),A=u=>{const c=g(o,r,u),d=g(n,h,u),w=f*f,M=w*f;return(2*M-3*w+1)*n[u]+(M-2*w+f)*c+(-2*M+3*w)*r[u]+(M-w)*d};return{t,eastM:A("eastM"),northM:A("northM"),upM:A("upM")}}extrapolated(t,a){const e=this.points,o=e[a];if(e.length<2)return{...o,t};const n=a===0?e[0]:e[e.length-2],r=a===0?e[1]:e[e.length-1],h=(t-o.t)/Math.max(r.t-n.t,1);return{t,eastM:o.eastM+(r.eastM-n.eastM)*h,northM:o.northM+(r.northM-n.northM)*h,upM:o.upM+(r.upM-n.upM)*h}}velocityAt(t){const a=this.at(t-50),e=this.at(t+50);return{east:(e.eastM-a.eastM)/.1,north:(e.northM-a.northM)/.1,up:(e.upM-a.upM)/.1}}meanSpeedMS(){const t=this.points;if(t.length<2)return 0;let a=0;for(let e=1;e<t.length;e++)a+=Math.hypot(t[e].eastM-t[e-1].eastM,t[e].northM-t[e-1].northM,t[e].upM-t[e-1].upM);return a/Math.max((t[t.length-1].t-t[0].t)/1e3,.001)}}const qt=Object.freeze(Object.defineProperty({__proto__:null,BirdFlock:p,FlightPath:It},Symbol.toStringTag,{value:"Module"}));export{p as B,l as F,V as a,qt as b};
@@ -0,0 +1 @@
1
+ const e={title:"Birds",name:"Bird"};export{e as birdKindMessages_en};
@@ -0,0 +1 @@
1
+ const e={title:"Aves",name:"Pájaro"};export{e as birdKindMessages_es};
@@ -0,0 +1 @@
1
+ const e={title:"Oiseaux",name:"Oiseau"};export{e as birdKindMessages_fr};
@@ -0,0 +1 @@
1
+ const e={title:"Uccelli",name:"Uccello"};export{e as birdKindMessages_it};
@@ -0,0 +1 @@
1
+ const e={birds:"Birds",flock:"Flock",formation:"Arrangement",flight:"Flight",look:"Look",name:"Name",species:"Species",howMany:"How many",standForTheShapes:"Stand for the shapes",theWholeFlockTakenForOne:"The whole flock taken for one craft: its outline is the flock's, not any one bird's.",noShape:"No shape",draw:"Draw",whatTheDrawsStartFrom:"What the draws start from: another number, other places in the arrangement and other wingbeats, the same each time for the same number.",pattern:"Pattern",oneBird:"One bird",inAV:"In a V",inAJ:"In a J",inEchelon:"In echelon",inAColumn:"In a column",abreast:"Abreast",aLooseCrowd:"A loose crowd",aFlockThatFliesItself:"A flock that flies itself",informed:"Informed",aFewKnowWhereTheFlockIsGoing:"The share of the birds that know best where the flock is going, and steer it through their neighbours; the others feel it only faintly. A turn starts with them.",angleBetweenTheArms:"Angle between the arms",aGooseVMeasures:"A V of geese measures 34° in photographs, 70° by radar.",onTheRightArm:"On the right arm",spacingInWingspans:"Spacing, in wingspans",betweenNeighbours:"Between neighbours: to the side in a line, to the nearest in a crowd.",strayInWingspans:"Straying, in wingspans",howMuchEachBirdStrays:"How far each bird strays from its place over a few seconds.",wingbeat:"Wingbeat",predictedFromItsSpecies:"Measured, if it was; empty, as Pennycuick's formula predicts it for the species in air this thin.",howTheyFly:"How they fly",flappingAllTheTime:"Flapping all the time",inBurstsAndGlides:"In bursts and glides",asTheirPathAsks:"As their path asks",wingbeatsABurst:"Wingbeats a burst",glideBetween:"Glide between",thePlaceSGroundAboveTheSea:"The place's ground above the sea",whatSetsHowThinTheAir:"What sets how thin the air they beat their wings in is: a bird beats faster high up.",upperSide:"Upper side",theBackAndTheUpperSide:"The back, and the upper side of the wings and tail.",underSide:"Under side",theBellyAndTheUnderSide:"The belly, and the under side of the wings and tail: what a light from below shows.",wingTips:"Wing tips",head:"Head",neck:"Neck",bill:"Bill",litFromBelow:"Lit from below",theLampsOfATown:"The lamps of a town under them: the light on a surface facing down at their height. What lights a night flock's white bellies when nothing else does.",lightFromBelowColour:"Colour of the light from below",pointOfThePath:"Point of the path",time:"Time",secondsOfTheRecording:"Seconds of the recording.",position:"Position",height:"Height",aboveTheGroundOfThePlace:"Above the ground of the recording's place.",azimuth:"Azimuth",elevation:"Height above the horizon",distance:"Distance",eyeHeight:"Eye height",herringGull:"Herring gull",ringBilledGull:"Ring-billed gull",blackHeadedGull:"Black-headed gull",brownPelican:"Brown pelican",americanWhitePelican:"American white pelican",canadaGoose:"Canada goose",snowGoose:"Snow goose",mallard:"Mallard",americanGoldenPlover:"American golden plover",killdeer:"Killdeer"};export{e as birdParameterTexts_en};
@@ -0,0 +1 @@
1
+ const e={birds:"Aves",flock:"Bandada",formation:"Disposición",flight:"Vuelo",look:"Aspecto",name:"Nombre",species:"Especie",howMany:"Cuántas",standForTheShapes:"Representan las formas",theWholeFlockTakenForOne:"La bandada entera tomada por un solo aparato: su contorno es el de la bandada, no el de un ave.",noShape:"Ninguna forma",draw:"Sorteo",whatTheDrawsStartFrom:"De qué parten los sorteos: otro número, otros lugares en la disposición y otros aleteos, los mismos cada vez para el mismo número.",pattern:"Figura",oneBird:"Un ave sola",inAV:"En V",inAJ:"En J",inEchelon:"En escalón",inAColumn:"En fila",abreast:"De frente",aLooseCrowd:"Un grupo suelto",aFlockThatFliesItself:"Una bandada que vuela por sí sola",informed:"Informadas",aFewKnowWhereTheFlockIsGoing:"La parte de las aves que mejor saben adónde va la bandada, y la guían a través de sus vecinas; las demás solo lo sienten débilmente. Un giro empieza por ellas.",angleBetweenTheArms:"Ángulo entre los brazos",aGooseVMeasures:"Una V de gansos mide 34° en fotografía, 70° por radar.",onTheRightArm:"En el brazo derecho",spacingInWingspans:"Separación, en envergaduras",betweenNeighbours:"Entre vecinos: de lado en una línea, hasta el más cercano en un grupo.",strayInWingspans:"Desvío, en envergaduras",howMuchEachBirdStrays:"Cuánto se aparta cada ave de su lugar en unos segundos.",wingbeat:"Aleteo",predictedFromItsSpecies:"Medido, si lo fue; vacío, como la fórmula de Pennycuick lo predice para la especie en un aire así de enrarecido.",howTheyFly:"Forma de volar",flappingAllTheTime:"Aletean sin parar",inBurstsAndGlides:"En ráfagas y planeos",asTheirPathAsks:"Según su trayecto",wingbeatsABurst:"Aleteos por ráfaga",glideBetween:"Planeo entre dos",thePlaceSGroundAboveTheSea:"Suelo del lugar sobre el mar",whatSetsHowThinTheAir:"Lo que fija lo enrarecido del aire en que baten sus alas: un ave bate más rápido en altura.",upperSide:"Parte superior",theBackAndTheUpperSide:"El dorso, y la cara superior de las alas y la cola.",underSide:"Parte inferior",theBellyAndTheUnderSide:"El vientre, y la cara inferior de las alas y la cola: lo que muestra una luz desde abajo.",wingTips:"Puntas de las alas",head:"Cabeza",neck:"Cuello",bill:"Pico",litFromBelow:"Iluminadas desde abajo",theLampsOfATown:"Las farolas de una ciudad debajo: la iluminación de una superficie vuelta hacia abajo a su altura. Lo que ilumina los vientres blancos de una bandada de noche cuando nada más lo hace.",lightFromBelowColour:"Color de la luz de abajo",pointOfThePath:"Punto del trayecto",time:"Instante",secondsOfTheRecording:"Segundos de la grabación.",position:"Posición",height:"Altura",aboveTheGroundOfThePlace:"Sobre el suelo del lugar de la grabación.",azimuth:"Acimut",elevation:"Altura sobre el horizonte",distance:"Distancia",eyeHeight:"Altura del ojo",herringGull:"Gaviota argéntea",ringBilledGull:"Gaviota de Delaware",blackHeadedGull:"Gaviota reidora",brownPelican:"Pelícano pardo",americanWhitePelican:"Pelícano blanco americano",canadaGoose:"Barnacla canadiense",snowGoose:"Ánsar nival",mallard:"Ánade real",americanGoldenPlover:"Chorlito dorado americano",killdeer:"Chorlitejo culirrojo"};export{e as birdParameterTexts_es};
@@ -0,0 +1 @@
1
+ const e={birds:"Oiseaux",flock:"Nuée",formation:"Disposition",flight:"Vol",look:"Aspect",name:"Nom",species:"Espèce",howMany:"Combien",standForTheShapes:"Représentent les formes",theWholeFlockTakenForOne:"La nuée entière prise pour un seul engin : son contour est celui de la nuée, pas celui d'un oiseau.",noShape:"Aucune forme",draw:"Tirage",whatTheDrawsStartFrom:"Ce dont partent les tirages : un autre nombre, d'autres places dans la disposition et d'autres battements, les mêmes à chaque fois pour le même nombre.",pattern:"Figure",oneBird:"Un oiseau seul",inAV:"En V",inAJ:"En J",inEchelon:"En échelon",inAColumn:"En file",abreast:"De front",aLooseCrowd:"Une foule lâche",aFlockThatFliesItself:"Une nuée qui vole d'elle-même",informed:"Informés",aFewKnowWhereTheFlockIsGoing:"La part des oiseaux qui savent le mieux où va la nuée, et la mènent par leurs voisins ; les autres ne le sentent que faiblement. Un virage commence par eux.",angleBetweenTheArms:"Angle entre les branches",aGooseVMeasures:"Un V d'oies mesure 34° en photographie, 70° au radar.",onTheRightArm:"Sur la branche droite",spacingInWingspans:"Espacement, en envergures",betweenNeighbours:"Entre voisins : sur le côté dans une ligne, jusqu'au plus proche dans une foule.",strayInWingspans:"Écart, en envergures",howMuchEachBirdStrays:"De combien chaque oiseau s'écarte de sa place en quelques secondes.",wingbeat:"Battement d'ailes",predictedFromItsSpecies:"Mesuré, s'il l'a été ; vide, comme la formule de Pennycuick le prédit pour l'espèce dans un air aussi raréfié.",howTheyFly:"Façon de voler",flappingAllTheTime:"Battent sans cesse",inBurstsAndGlides:"Par salves et planés",asTheirPathAsks:"Selon leur trajet",wingbeatsABurst:"Battements par salve",glideBetween:"Plané entre deux",thePlaceSGroundAboveTheSea:"Sol du lieu au-dessus de la mer",whatSetsHowThinTheAir:"Ce qui règle la raréfaction de l'air où battent leurs ailes : un oiseau bat plus vite en altitude.",upperSide:"Dessus",theBackAndTheUpperSide:"Le dos, et le dessus des ailes et de la queue.",underSide:"Dessous",theBellyAndTheUnderSide:"Le ventre, et le dessous des ailes et de la queue : ce qu'une lumière venue d'en bas montre.",wingTips:"Bouts des ailes",head:"Tête",neck:"Cou",bill:"Bec",litFromBelow:"Éclairés par-dessous",theLampsOfATown:"Les lampes d'une ville sous eux : l'éclairement d'une surface tournée vers le bas à leur hauteur. Ce qui éclaire les ventres blancs d'une nuée de nuit quand rien d'autre ne le fait.",lightFromBelowColour:"Couleur de la lumière d'en bas",pointOfThePath:"Point du trajet",time:"Instant",secondsOfTheRecording:"Secondes de l'enregistrement.",position:"Position",height:"Hauteur",aboveTheGroundOfThePlace:"Au-dessus du sol du lieu de l'enregistrement.",azimuth:"Azimut",elevation:"Hauteur sur l'horizon",distance:"Distance",eyeHeight:"Hauteur de l'œil",herringGull:"Goéland argenté",ringBilledGull:"Goéland à bec cerclé",blackHeadedGull:"Mouette rieuse",brownPelican:"Pélican brun",americanWhitePelican:"Pélican d'Amérique",canadaGoose:"Bernache du Canada",snowGoose:"Oie des neiges",mallard:"Canard colvert",americanGoldenPlover:"Pluvier bronzé",killdeer:"Pluvier kildir"};export{e as birdParameterTexts_fr};
@@ -0,0 +1 @@
1
+ const e={birds:"Uccelli",flock:"Stormo",formation:"Disposizione",flight:"Volo",look:"Aspetto",name:"Nome",species:"Specie",howMany:"Quanti",standForTheShapes:"Rappresentano le forme",theWholeFlockTakenForOne:"Lo stormo intero preso per un solo velivolo: il suo contorno è quello dello stormo, non di un uccello.",noShape:"Nessuna forma",draw:"Estrazione",whatTheDrawsStartFrom:"Da cosa partono le estrazioni: un altro numero, altri posti nella disposizione e altri battiti, gli stessi ogni volta per lo stesso numero.",pattern:"Figura",oneBird:"Un uccello solo",inAV:"A V",inAJ:"A J",inEchelon:"A scaglione",inAColumn:"In fila",abreast:"Di fronte",aLooseCrowd:"Un gruppo sparso",aFlockThatFliesItself:"Uno stormo che vola da sé",informed:"Informati",aFewKnowWhereTheFlockIsGoing:"La parte degli uccelli che sanno meglio dove va lo stormo, e lo guidano attraverso i vicini; gli altri lo sentono solo debolmente. Una virata comincia da loro.",angleBetweenTheArms:"Angolo tra i bracci",aGooseVMeasures:"Una V di oche misura 34° in fotografia, 70° al radar.",onTheRightArm:"Sul braccio destro",spacingInWingspans:"Distanza, in aperture alari",betweenNeighbours:"Tra vicini: di lato in una linea, fino al più vicino in un gruppo.",strayInWingspans:"Scarto, in aperture alari",howMuchEachBirdStrays:"Di quanto ogni uccello si scosta dal suo posto in pochi secondi.",wingbeat:"Battito d'ali",predictedFromItsSpecies:"Misurato, se lo è stato; vuoto, come la formula di Pennycuick lo prevede per la specie in un'aria così rarefatta.",howTheyFly:"Modo di volare",flappingAllTheTime:"Battono di continuo",inBurstsAndGlides:"A raffiche e planate",asTheirPathAsks:"Secondo il loro tragitto",wingbeatsABurst:"Battiti per raffica",glideBetween:"Planata tra due",thePlaceSGroundAboveTheSea:"Suolo del luogo sul mare",whatSetsHowThinTheAir:"Ciò che fissa la rarefazione dell'aria in cui battono le ali: un uccello batte più in fretta in quota.",upperSide:"Parte superiore",theBackAndTheUpperSide:"Il dorso, e la parte superiore delle ali e della coda.",underSide:"Parte inferiore",theBellyAndTheUnderSide:"Il ventre, e la parte inferiore delle ali e della coda: ciò che mostra una luce dal basso.",wingTips:"Punte delle ali",head:"Testa",neck:"Collo",bill:"Becco",litFromBelow:"Illuminati dal basso",theLampsOfATown:"I lampioni di una città sotto di loro: l'illuminamento di una superficie rivolta in basso alla loro altezza. Ciò che illumina i ventri bianchi di uno stormo di notte quando nient'altro lo fa.",lightFromBelowColour:"Colore della luce dal basso",pointOfThePath:"Punto del tragitto",time:"Istante",secondsOfTheRecording:"Secondi della registrazione.",position:"Posizione",height:"Altezza",aboveTheGroundOfThePlace:"Sopra il suolo del luogo della registrazione.",azimuth:"Azimut",elevation:"Altezza sull'orizzonte",distance:"Distanza",eyeHeight:"Altezza dell'occhio",herringGull:"Gabbiano reale nordico",ringBilledGull:"Gabbiano del Delaware",blackHeadedGull:"Gabbiano comune",brownPelican:"Pellicano bruno",americanWhitePelican:"Pellicano bianco americano",canadaGoose:"Oca del Canada",snowGoose:"Oca delle nevi",mallard:"Germano reale",americanGoldenPlover:"Piviere dorato americano",killdeer:"Corriere vocifero"};export{e as birdParameterTexts_it};
@@ -0,0 +1,28 @@
1
+ import{cW as m}from"./ShareDialogElement-C3HL-Smq.js";import{E as D,P as k,a as w}from"./ParameterForm-DfpJQGku.js";import{I as x,P as O}from"./SaidPosition-CWiVNaNW.js";import{T as E}from"./TimelineTracks-X_GEZi12.js";import{M as I,_ as y,G as C,n as P,o as $}from"./rr0-ufoathome.mjs";import"./Sighting-CBpJpdm9.js";import"./VisualAids-DI-hEL46.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./Obstacles-v9SkfBD7.js";class b{static before(e,o){const i=[...e.track].sort((s,n)=>s.t-n.t);return[...i].reverse().find(s=>s.t<=o)??i[0]}static viewOf(e,o,i){const s=b.before(e,o),n=t=>Number(t.toFixed(2));return{mode:s?.eastM!==void 0&&s.northM!==void 0?"world":"observer",azimuthDeg:n(i.azimuthDeg),elevationDeg:n(i.altitudeDeg),distanceM:n(i.distanceM),eastM:n(i.eastM),northM:n(i.northM),saidPosition:e.track.find(t=>t.t===o)?.saidPosition,aboveGroundM:n(i.aboveGroundM),onGround:s?.onGround===!0,widthM:n(i.sizeM.widthM),lengthM:n(i.sizeM.lengthM),heightM:n(i.sizeM.heightM),headingDeg:n(i.attitude.headingDeg),pitchDeg:n(i.attitude.pitchDeg),rollDeg:n(i.attitude.rollDeg),color:i.appearance.color,albedo:n(i.appearance.albedo),luminanceCdM2:n(i.appearance.luminanceCdM2),transparency:n(i.appearance.transparency??0),haloScale:n(i.appearance.haloScale??1)}}static keyframeOf(e,o,i,s){const n=d=>Number.isFinite(d)?d:0,t=e.mode==="world"?{t:o,eastM:n(e.eastM),northM:n(e.northM),...e.saidPosition?{saidPosition:e.saidPosition}:{},...e.onGround?{onGround:!0}:{altitudeAboveGroundM:n(e.aboveGroundM)}}:{t:o,azimuthDeg:n(e.azimuthDeg),altitudeDeg:n(e.elevationDeg),distanceM:Math.max(.1,n(e.distanceM)),...e.onGround?{onGround:!0}:{}},r=s?{color:e.color,albedo:Math.max(0,Math.min(1,n(e.albedo))),luminanceCdM2:Math.max(0,n(e.luminanceCdM2)),transparency:Math.max(0,Math.min(1,n(e.transparency))),haloScale:Math.max(0,n(e.haloScale))}:i?.appearance;return{...b.withoutPlacement(i),...t,sizeM:{widthM:Math.max(.01,n(e.widthM)),lengthM:Math.max(.01,n(e.lengthM)),heightM:Math.max(.01,n(e.heightM))},attitude:{headingDeg:n(e.headingDeg),pitchDeg:n(e.pitchDeg),rollDeg:n(e.rollDeg)},...r?{appearance:r}:{}}}static withoutPlacement(e){if(!e)return{};const{eastM:o,northM:i,saidPosition:s,azimuthDeg:n,altitudeDeg:t,distanceM:r,onGround:d,altitudeAboveGroundM:a,sizeM:l,attitude:c,appearance:g,...M}=e;return M}}class h{static number(e,o,i,s,n,t,r={}){return{type:"number",key:e,label:o,min:i,max:s,step:n,unit:t,required:!0,...r}}static BODY={kind:"body",title:"body",parameters:[{type:"text",key:"id",required:!0,label:"iD",validate:(e,o,i)=>!(i?.ids??[]).some(s=>s===e&&s!==o.id)},{type:"said",key:"title",label:"name"},{type:"set",key:"explains",label:"standsForTheShapes",options:(e,o)=>{const i=o?.shapes??[],s=(e.explains??[]).filter(n=>!i.some(t=>t.value===n));return[...i,...s.map(n=>({value:n,label:n}))]},empty:"noShape"},{type:"text",key:"outlineNode",label:"partDrawnByTheWitness",placeholder:"nodeOfTheModelE"}]};static KEYFRAME={kind:"body-keyframe",title:"atThePlayhead",parameters:[{type:"choice",key:"mode",required:!0,label:"position",choices:[{value:"observer",label:"fromTheWitness"},{value:"world",label:"inTheWorld"}]},h.number("azimuthDeg","azimuth",0,360,.01,"°",{visibleWhen:e=>e.mode==="observer"}),h.number("elevationDeg","elevation",-90,90,.01,"°",{visibleWhen:e=>e.mode==="observer"}),h.number("distanceM","distance",.1,3e4,.1,"m",{visibleWhen:e=>e.mode==="observer"}),{type:"position",key:"eastM",secondKey:"northM",saidKey:"saidPosition",native:"local",step:.1,label:"inTheWorld",visibleWhen:e=>e.mode==="world"},{type:"boolean",key:"onGround",label:"onTheGround"},h.number("aboveGroundM","aboveTheGround",0,3e4,.1,"m",{visibleWhen:e=>e.mode==="world"&&e.onGround!==!0}),h.number("widthM","width",.01,1e3,.01,"m"),h.number("lengthM","length",.01,1e3,.01,"m"),h.number("heightM","height",.01,1e3,.01,"m"),h.number("headingDeg","heading",0,360,.1,"°"),h.number("pitchDeg","pitch",-90,90,.1,"°"),h.number("rollDeg","roll",-180,180,.1,"°"),{type:"colour",key:"color",label:"colour",fallback:"#c8c8c8",visibleWhen:(e,o)=>o?.drawnFromModel!==!0},h.number("albedo","albedo",0,1,.01,void 0),h.number("luminanceCdM2","lightOfItsOwn",0,1e10,.1,"cd/m²"),h.number("transparency","transparency",0,1,.01,void 0),h.number("haloScale","halo",0,20,.1,"×")]}}const z=I.catalog({en:()=>y(()=>import("./BodyParameterTexts_en-CKiFdpaz.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_en),fr:()=>y(()=>import("./BodyParameterTexts_fr-B5jLsE0g.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_fr),es:()=>y(()=>import("./BodyParameterTexts_es-DT9XO1Hc.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_es),it:()=>y(()=>import("./BodyParameterTexts_it-iyJGx4Ta.js"),[],import.meta.url).then(u=>u.bodyParameterTexts_it)});class p{constructor(e,o,i){this.container=e,this.host=o,this.language=i,this.ready=this.setLanguage(i)}static APPEARANCE_KEYS=["color","albedo","luminanceCdM2","transparency","haloScale"];parameterTexts={};messages;ready;languageToken=0;currentId;catalogueToken=0;shownEntry;syncedId;bodyForm;keyForm;async setLanguage(e){const o=++this.languageToken;this.language=e;const[i,s]=await Promise.all([C.load(e),z.load(e)]);o===this.languageToken&&i!==this.messages&&(this.messages=i,this.parameterTexts=s,this.render())}get selectedId(){return this.currentId}sync(){if(!this.messages)return;const e=this.bodies;e.some(t=>t.id===this.currentId)||(this.currentId=e[0]?.id),this.input("body-interpretation-title").value=this.host.said().read(this.interpretation?.title)??"",this.list?.setItems(e.map(t=>({id:t.id,label:this.labelOf(t)})),this.currentId),this.host.bodySelected?.(this.currentId);const o=this.host.newBodyStart();this.list?.setAddState(o!==void 0,o?o.label!==void 0?this.messages.addBodyHint.replace("{shape}",o.label):this.messages.addBodyHintView:void 0),this.input("body-interpretation-title").closest("label").hidden=!1;const i=this.current;if(this.element("body-fields").hidden=i===void 0,!i)return;this.bodyForm?.sync(),this.syncModelOptions(i);const s=i.model;this.input("body-model-url").value=s.url??"",this.input("body-model-title").value=s.credit?.title??"",this.input("body-model-author").value=s.credit?.author??"",this.input("body-model-license").value=s.credit?.license??"",this.input("body-model-source").value=s.credit?.sourceUrl??"";const n=this.element("body-model-advanced");n.open=s.url!==void 0||n.open&&i.id===this.syncedId,this.syncedId=i.id,this.element("body-model-incomplete").hidden=s.url===void 0||s.credit?.title!==void 0&&s.credit.license!==void 0,this.syncKeyframe()}syncKeyframe(e=!1){if(!this.messages)return;const o=this.current;if(!o)return;const i=this.host.currentTime(),s=this.messages,n=this.host.readingOf(o,i),t=o.track.find(r=>r.t===i);this.element("body-key-legend").textContent=s.atPlayhead.replace("{t}",p.seconds(i)),this.element("body-key-note").textContent=n?t?s.keyframeHere:s.keyframeAdded:s.notPlaced,this.element("body-key-delete").disabled=t===void 0,this.syncTimeline(o,t?.t),this.element("body-key-parameters").hidden=!n,n&&this.keyForm?.sync(e)}syncTimeline(e,o){if(!this.timeline)return;const i=e.track.map(n=>n.t),s=this.host.duration?.()??Math.max(1,...i);this.timeline.show([{id:"keys",label:this.messages.keyframes,color:p.KEY_COLOR,times:i,selectedTime:o,open:()=>{},move:(n,t)=>this.moveKeyframe(n,t),add:()=>this.keyframeHere()}],s,this.host.currentTime(),p.extentOf(i,s))}static extentOf(e,o){if(e.length<2)return{from:Math.min(0,...e),to:Math.max(o,...e)};const i=Math.min(...e),s=Math.max(...e),n=Math.max(500,(s-i)/10);return{from:i-n,to:s+n}}static KEY_COLOR="#c0581b";moveKeyframe(e,o){const i=this.current;if(!i)return;const s=i.track.find(t=>t.t===e);if(!s)return;const n=[...i.track.filter(t=>t!==s&&t.t!==o),{...s,t:o}].sort((t,r)=>t.t-r.t);this.write({...this.interpretation,bodies:this.bodies.map(t=>t===i?{...i,track:n}:t)},!0),this.host.seekTo(o),this.syncKeyframe(!0)}keyframeContext(){const e=this.current?.model;return{drawnFromModel:e===void 0||e.url!==void 0||!m.includes(e.id??"")}}keyframeView(){const e=this.current;if(!e)return;const o=this.host.currentTime(),i=this.host.readingOf(e,o);return i?b.viewOf(e,o,i):void 0}render(){if(!this.messages)return;const e=this.messages,o=(t,r,d="text",a="",l="",c="")=>`<label><span>${r}</span> <input id="${t}" type="${d}" placeholder="${a}" ${c} autocomplete="off"/>${l?` ${l}`:""}</label>`;this.container.innerHTML=`<div class="body-editor">
2
+ <p class="body-intro">${e.intro}</p>
3
+ ${o("body-interpretation-title",e.interpretationTitle)}
4
+ <div id="body-list" class="body-list"></div>
5
+ <div id="body-fields" class="body-fields">
6
+ <div id="body-parameters" class="body-parameters"></div>
7
+ <label><span>${e.model}</span> <select id="body-model"></select></label>
8
+ <details id="body-model-advanced" class="decor-model-advanced" hidden>
9
+ <summary>${e.modelAdvanced}</summary>
10
+ ${o("body-model-url",e.modelUrl,"text",e.modelUrlHint)}
11
+ ${o("body-model-title",e.modelTitle)}
12
+ ${o("body-model-author",e.modelAuthor)}
13
+ ${o("body-model-license",e.modelLicense,"text","CC0 1.0")}
14
+ ${o("body-model-source",e.modelSource,"url","https://…")}
15
+ <p id="body-model-incomplete" class="body-intro" hidden>${e.modelIncomplete}</p>
16
+ <p id="body-model-catalogue" class="body-intro" hidden>${e.modelFromCatalogue}</p>
17
+ </details>
18
+ <div id="body-keys" class="body-keys"></div>
19
+ <fieldset class="body-key">
20
+ <legend id="body-key-legend"></legend>
21
+ <button id="body-key-delete" class="icon-btn" type="button" title="${e.deleteKeyframe}" aria-label="${e.deleteKeyframe}">${x.TRASH}</button>
22
+ <p id="body-key-note" class="body-intro"></p>
23
+ <div id="body-key-parameters" class="body-parameters"></div>
24
+ <p class="body-intro">${e.appearanceNote}</p>
25
+ <p class="body-intro">${e.pictureHint}</p>
26
+ </fieldset>
27
+ </div>
28
+ </div>`;const i=this.element("body-list");this.list=new D({header:i,body:this.element("body-fields"),ids:{list:"body-select",remove:"body-delete",add:"body-add"},actions:[{id:"body-look",glyph:"🎯",onClick:()=>{const t=this.current;t&&this.host.lookAt(t)}}],onSelect:t=>{this.currentId=t,this.sync()},onAdd:()=>void this.addBody(),onRemove:()=>this.deleteCurrent()}),this.list.setLabels({list:e.body,remove:e.deleteBody,add:e.addBody,empty:e.none,actions:{"body-look":e.lookAtBody}}),this.input("body-interpretation-title").addEventListener("change",()=>this.updateInterpretationTitle());for(const t of["body-model-url","body-model-title","body-model-author","body-model-license","body-model-source"])this.input(t).addEventListener("change",()=>this.updateCurrent());this.select("body-model").addEventListener("change",()=>{const t=this.select("body-model").value;t!==""&&(this.input("body-model-url").value=""),this.updateCurrent(),this.syncModelOptions(this.current),t!==""&&this.adoptCatalogueSize(t),this.element("body-model-advanced").open=t!==""&&!m.includes(t)}),this.timeline=new E(this.element("body-keys"),t=>{this.host.seekTo(t),this.syncKeyframe(!0)},{addKeyframeHere:e.addKeyframe,keyframeHere:e.keyframeHere,zoomHint:e.zoomHint}),this.element("body-key-delete").addEventListener("click",()=>this.deleteKeyframe()),this.host.modelPicker().enhance(this.select("body-model"),t=>this.modelSourceOf(t),{current:()=>{const t=this.current?.model;return t?.url===void 0?void 0:{url:t.url,title:t.credit?.title??"",author:t.credit?.author??"",license:t.credit?.license??"",source:t.credit?.sourceUrl??""}},apply:t=>{this.input("body-model-url").value=t.url,this.input("body-model-title").value=t.title,this.input("body-model-author").value=t.author,this.input("body-model-license").value=t.license,this.input("body-model-source").value=t.source,this.shownEntry=void 0,this.select("body-model").value="",this.updateCurrent(),this.syncModelOptions(this.current)}});const s=this.select("body-model").nextElementSibling;s&&(s.disabled=!0,s.title=e.modelFixed),this.input("body-model-url").readOnly=!0;const n={said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()};this.bodyForm=new k(this.element("body-parameters"),this.language,"body.",n),this.bodyForm.show(O.resolve(h.BODY,this.parameterTexts),new w(()=>this.current,t=>this.editBody(t),()=>({ids:this.bodies.map(t=>t.id),shapes:this.host.shapes().map(t=>({value:t.id,label:t.label}))})),()=>{}),this.keyForm=new k(this.element("body-key-parameters"),this.language,"bodyKey."),this.keyForm.show(O.resolve(h.KEYFRAME,this.parameterTexts),new w(()=>this.keyframeView(),(t,r)=>this.editView(t,p.APPEARANCE_KEYS.includes(r.key)),()=>this.keyframeContext(),this.host.positionPlace?.()),()=>{}),this.sync()}async syncModelOptions(e){const o=++this.catalogueToken,i=await this.host.modelProvider().entries().catch(()=>[]);if(o!==this.catalogueToken)return;const s=this.messages,n=this.select("body-model"),t=e.model.url===void 0?e.model.id:void 0,r=t===void 0||m.includes(t)||i.some(a=>a.id===t),d=[s.primitives,s.catalogue,i.map(a=>`${a.id}:${a.name}`).join(),e.model.url!==void 0,r?"":t].join("|");if(n.dataset.signature!==d){n.dataset.signature=d;const a=document.createElement("optgroup");a.label=s.primitives,a.append(...m.map(c=>new Option(s.primitive[c],c)));const l=document.createElement("optgroup");l.label=s.catalogue,l.append(...i.map(c=>new Option(c.name,c.id))),n.replaceChildren(a,l),e.model.url!==void 0&&n.prepend(new Option(s.modelAdvanced,"")),r||n.append(new Option(t,t))}n.value=t??"",this.showCatalogueModel(e.model.url===void 0?i.find(a=>a.id===e.model.id):void 0)}showCatalogueModel(e){const o=this.current;if(!o||o.model.url!==void 0){this.shownEntry=void 0,this.element("body-model-catalogue").hidden=!0;return}this.shownEntry=e;const i=this.container.getRootNode().activeElement,s=[["body-model-url",e?.url],["body-model-title",e?.credit.title],["body-model-author",e?.credit.author],["body-model-license",e?.credit.license],["body-model-source",e?.credit.sourceUrl]];for(const[n,t]of s)this.input(n)!==i&&(this.input(n).value=t??"");this.element("body-model-catalogue").hidden=e===void 0,this.element("body-model-incomplete").hidden=!0}updateInterpretationTitle(){const e=this.interpretation??{bodies:[]},o=this.host.said().write(e.title,this.input("body-interpretation-title").value,this.host.writingLanguage());this.write({...e,title:o})}updateCurrent(){const e=this.current;e&&this.write({...this.interpretation,bodies:this.bodies.map(o=>o===e?{...e,model:this.statedModel(e.model)}:o)})}editBody(e){const o=this.current;if(!o)return;const i=structuredClone(o);e(i),this.currentId=i.id,this.write({...this.interpretation,bodies:this.bodies.map(s=>s===o?i:s)})}editView(e,o=!1){const i=this.current,s=this.keyframeView();if(!i||!s)return;const n=this.host.currentTime();e(s);const t=b.keyframeOf(s,n,i.track.find(d=>d.t===n),o),r=[...i.track.filter(d=>d.t!==n),t].sort((d,a)=>d.t-a.t);this.write({...this.interpretation,bodies:this.bodies.map(d=>d===i?{...i,track:r}:d)}),this.syncKeyframe()}async addBody(){if(!this.host.newBodyStart())return;const e=this.messages,o=await this.host.modelProvider().entries().catch(()=>[]),i=document.createElement("select"),s=document.createElement("optgroup");s.label=e.primitives,s.append(...m.map(t=>new Option(e.primitive[t],t)));const n=document.createElement("optgroup");n.label=e.catalogue,n.append(...o.map(t=>new Option(t.name,t.id))),i.append(s,n),this.host.modelPicker().chooseFrom(i,t=>this.modelSourceOf(t),t=>{this.createBody({id:t}),m.includes(t)||this.adoptCatalogueSize(t)},{current:()=>{},apply:t=>this.createBody({url:t.url,credit:t.title!==""&&t.license!==""?{title:t.title,license:t.license,author:t.author||void 0,sourceUrl:t.source||void 0}:void 0})})}createBody(e){const o=this.host.newBodyStart();if(!o)return;const i=new Set(this.bodies.map(r=>r.id));let s=i.size+1;for(;i.has(`body-${s}`);)s++;const n={id:`body-${s}`,explains:o.sourceId!==void 0?[o.sourceId]:void 0,model:e,track:[o.keyframe]};this.currentId=n.id;const t=this.interpretation??{bodies:[]};this.write({...t,bodies:[...this.bodies,n]},!0)}modelSourceOf(e){return m.includes(e)?Promise.resolve({shape:e}):this.host.modelProvider().entry(e).then(o=>o&&{url:o.url,headingOffsetDeg:o.headingOffsetDeg})}async adoptCatalogueSize(e){const i=(await this.host.modelProvider().entry(e).catch(()=>{}))?.sizeM,s=this.current;if(!i||!s||s.model.id!==e)return;if(!s.track.some(t=>t.sizeM)&&s.track.length>0){const[t,...r]=[...s.track].sort((l,c)=>l.t-c.t),d={widthM:i.widthM??1,lengthM:i.lengthM??i.widthM??1,heightM:i.heightM??1},a=[{...t,sizeM:d},...r];this.write({...this.interpretation,bodies:this.bodies.map(l=>l===s?{...s,track:a}:l)},!0);return}const n=s.track.map(t=>{const r=t.sizeM?.widthM,d=i.widthM??r;if(!t.sizeM||r===void 0||d===void 0||r<=0)return t;const a=d/r,l={widthM:i.widthM??t.sizeM.widthM*a,lengthM:i.lengthM??t.sizeM.lengthM*a,heightM:i.heightM??t.sizeM.heightM*a};return t.distanceM!==void 0&&t.azimuthDeg!==void 0?{...t,sizeM:l,distanceM:Number((t.distanceM*a).toFixed(1))}:{...t,sizeM:l}});this.write({...this.interpretation,bodies:this.bodies.map(t=>t===s?{...s,track:n}:t)},!0)}keyframeHere(){this.editView(()=>{})}get currentBodyId(){return this.current?.id}resize(e){const o=i=>Number(Math.max(.01,i).toFixed(2));this.editView(i=>Object.assign(i,{widthM:o(e.widthM),lengthM:o(e.lengthM),heightM:o(e.heightM)}))}turnTo(e){const o=i=>((i+180)%360+360)%360-180;this.editView(i=>Object.assign(i,{headingDeg:Number(((e.headingDeg%360+360)%360).toFixed(1)),pitchDeg:Number(Math.max(-90,Math.min(90,e.pitchDeg)).toFixed(1)),rollDeg:Number(o(e.rollDeg).toFixed(1))}))}show(e){this.messages&&(!this.bodies.some(o=>o.id===e)||e===this.currentId||(this.currentId=e,this.sync()))}readingNow(){const e=this.current;return e&&this.host.readingOf(e,this.host.currentTime())}dragTo(e,o){const i=this.readingNow();if(!i)return;const s=this.host.currentTime(),n=Math.PI/180,t=r=>Number(r.toFixed(2));this.editView(r=>{const d=r,a=d.onGround?this.host.groundAlong(e,o,s):void 0;if(d.mode==="world"){const l=Math.cos(i.altitudeDeg*n),c=i.eastM-Math.sin(i.azimuthDeg*n)*l*i.distanceM,g=i.northM-Math.cos(i.azimuthDeg*n)*l*i.distanceM,M=Math.hypot(i.eastM-c,i.northM-g),f=a!==void 0?a*Math.cos(o*n):M;if(d.eastM=t(c+Math.sin(e*n)*f),d.northM=t(g+Math.cos(e*n)*f),!d.onGround){const v=T=>Math.max(-89,Math.min(89,T))*n;d.aboveGroundM=t(Math.max(0,i.aboveGroundM+f*(Math.tan(v(o))-Math.tan(v(i.altitudeDeg)))))}}else d.azimuthDeg=t((e%360+360)%360),d.elevationDeg=t(Math.max(-90,Math.min(90,o))),a!==void 0&&(d.distanceM=t(a))})}scaleDistance(e){const o=this.readingNow();if(!o)return;const i=s=>Number(s.toFixed(2));this.editView(s=>{const n=s;if(n.mode==="world"){const t=Math.PI/180,r=Math.cos(o.altitudeDeg*t),d=o.eastM-Math.sin(o.azimuthDeg*t)*r*o.distanceM,a=o.northM-Math.cos(o.azimuthDeg*t)*r*o.distanceM;n.eastM=i(d+(o.eastM-d)*e),n.northM=i(a+(o.northM-a)*e)}else n.distanceM=i(Math.max(.1,o.distanceM*e))})}deleteKeyframe(){const e=this.current;if(!e)return;const o=this.host.currentTime(),i=e.track.filter(s=>s.t!==o);i.length!==e.track.length&&this.write({...this.interpretation,bodies:this.bodies.map(s=>s===e?{...e,track:i}:s)},!0)}static seconds(e){return`${Math.round(e/100)/10} s`}deleteCurrent(){const e=this.current;e&&(this.currentId=void 0,this.write({...this.interpretation,bodies:this.bodies.filter(o=>o!==e)},!0))}statedModel(e){const o=this.stringOrUndefined(this.input("body-model-url").value),i=this.shownEntry,s=t=>this.stringOrUndefined(this.input(t).value);if(i&&o===i.url&&s("body-model-title")===i.credit.title&&s("body-model-author")===i.credit.author&&s("body-model-license")===i.credit.license&&s("body-model-source")===i.credit.sourceUrl)return{id:i.id};if(o){const t=this.stringOrUndefined(this.input("body-model-title").value),r=this.stringOrUndefined(this.input("body-model-license").value);return{url:o,headingOffsetDeg:e.url!==void 0?e.headingOffsetDeg:void 0,credit:t!==void 0&&r!==void 0?{title:t,license:r,author:this.stringOrUndefined(this.input("body-model-author").value),sourceUrl:this.stringOrUndefined(this.input("body-model-source").value)}:void 0}}return{id:this.stringOrUndefined(this.select("body-model").value)??e.id??"ellipsoid"}}write(e,o=!1){const i=P.saysNothing(e,$.kinds());if(this.host.sighting().interpretation=i?void 0:e,this.host.changed(),o){this.sync();return}this.list?.setItems(this.bodies.map(n=>({id:n.id,label:this.labelOf(n)})),this.currentId);const s=this.current;s&&(this.element("body-model-incomplete").hidden=s.model.url===void 0||s.model.credit!==void 0,this.syncModelOptions(s))}labelOf(e){const o=this.host.said().read(e.title);return o?`${o} (${e.id})`:e.id}get interpretation(){return this.host.sighting().interpretation}get bodies(){return this.interpretation?.bodies??[]}get current(){return this.bodies.find(e=>e.id===this.currentId)}stringOrUndefined(e){const o=e.trim();return o===""?void 0:o}list;timeline;element(e){return this.container.querySelector("#"+e)}input(e){return this.element(e)}select(e){return this.element(e)}}export{p as BodyEditor};
@@ -0,0 +1 @@
1
+ const e={intro:"What the witness said the phenomenon was, in 3D: each body stands for one or more of the shapes drawn. Its movement comes from the file.",interpretationTitle:"Reading title",body:"Body",none:"No body yet: the witness said nothing of what it was, or it is still to be entered",deleteBody:"Delete body",addBody:"Add a body",addBodyHintView:"Where the witness is looking now",lookAtBody:"Look at it",addBodyHint:'Standing for the shape "{shape}", where the scene draws it now',model:"3D model",primitives:"Built-in shapes",catalogue:"Catalogue",modelAdvanced:"Model from an address",modelUrl:"glTF/GLB address",modelUrlHint:"Absolute, or relative to this sighting.json",modelTitle:"Model name",modelAuthor:"Author",modelLicense:"Licence",modelSource:"Where it came from",modelIncomplete:"Not drawn until the model's name and licence are given",modelFromCatalogue:"From the catalogue, which the recording names it by. Change a field and it becomes this recording's own address.",keyframes:"Keyframes",zoomHint:"Pinch, or Ctrl + wheel, to zoom; Shift + wheel to scroll",addKeyframe:"Add a keyframe at this instant",atPlayhead:"At {t}",modelFixed:"The model is chosen when the body is added: for another one, delete this body and add one with it",keyframeHere:"A keyframe stands here: editing changes it",keyframeAdded:"Editing adds a keyframe here",appearanceNote:"The colour and the albedo paint the built-in shapes; a model of its own keeps its materials. Light of its own is what it gives out, lit or not.",deleteKeyframe:"Delete this keyframe",pictureHint:"On the picture: drag the body to move it, the wheel takes it nearer or further, the corners and sides size it, the stem turns it (with Shift: up and down pitches it, sideways rolls it).",notPlaced:"Not in the scene at this instant",primitive:{ellipsoid:"Ellipsoid",sphere:"Sphere",disc:"Disc",cylinder:"Cylinder",cone:"Cone",box:"Box",torus:"Torus",figure:"Human figure"}};export{e as bodyEditorMessages_en};
@@ -0,0 +1 @@
1
+ const e={intro:"Lo que el testigo dijo que era el fenómeno, en 3D: cada cuerpo representa una o varias de las formas dibujadas. Su movimiento viene del archivo.",interpretationTitle:"Título de la lectura",body:"Cuerpo",none:"Aún no hay ningún cuerpo: el testigo no dijo nada de lo que era, o falta introducirlo",deleteBody:"Eliminar el cuerpo",addBody:"Añadir un cuerpo",addBodyHintView:"Donde mira el testigo en este momento",lookAtBody:"Mirarlo",addBodyHint:"Representando la forma «{shape}», donde la escena la dibuja en este momento",model:"Modelo 3D",primitives:"Formas básicas",catalogue:"Catálogo",modelAdvanced:"Modelo desde una dirección",modelUrl:"Dirección glTF/GLB",modelUrlHint:"Absoluta, o relativa a este sighting.json",modelTitle:"Nombre del modelo",modelAuthor:"Autor",modelLicense:"Licencia",modelSource:"Procedencia",modelIncomplete:"No se dibuja mientras falten el nombre y la licencia del modelo",modelFromCatalogue:"Del catálogo, por el que la grabación lo nombra. Cambia un campo y pasa a ser la dirección propia de esta grabación.",keyframes:"Fotogramas clave",zoomHint:"Pellizque, o Ctrl + rueda, para ampliar; Mayús + rueda para desplazar",addKeyframe:"Añadir un fotograma clave en este instante",atPlayhead:"En {t}",modelFixed:"El modelo se elige al añadir el cuerpo: para cambiarlo, elimine este cuerpo y añada otro con el nuevo modelo",keyframeHere:"Aquí hay un fotograma clave: editar lo modifica",keyframeAdded:"Editar añade aquí un fotograma clave",appearanceNote:"El color y el albedo pintan las formas básicas; un modelo propio conserva sus materiales. La luz propia es la que emite, esté iluminado o no.",deleteKeyframe:"Eliminar este fotograma clave",pictureHint:"En la imagen: arrastrar el cuerpo lo desplaza, la rueda lo acerca o lo aleja, las esquinas y los lados lo dimensionan, el vástago lo gira (con Mayús: arriba y abajo lo cabecean, los lados lo hacen alabear).",notPlaced:"No está en la escena en este instante",primitive:{ellipsoid:"Elipsoide",sphere:"Esfera",disc:"Disco",cylinder:"Cilindro",cone:"Cono",box:"Caja",torus:"Toro",figure:"Silueta humana"}};export{e as bodyEditorMessages_es};
@@ -0,0 +1 @@
1
+ const e={intro:"Ce que le témoin a dit que le phénomène était, en 3D : chaque corps représente une ou plusieurs des formes dessinées. Son mouvement vient du fichier.",interpretationTitle:"Titre de la lecture",body:"Corps",none:"Aucun corps pour l'instant : le témoin n'a rien dit de ce que c'était, ou c'est encore à saisir",deleteBody:"Supprimer le corps",addBody:"Ajouter un corps",addBodyHintView:"Là où le témoin regarde à cet instant",lookAtBody:"Le regarder",addBodyHint:"Représentant la forme « {shape} », là où la scène la dessine à cet instant",model:"Modèle 3D",primitives:"Formes de base",catalogue:"Catalogue",modelAdvanced:"Modèle depuis une adresse",modelUrl:"Adresse glTF/GLB",modelUrlHint:"Absolue, ou relative à ce sighting.json",modelTitle:"Nom du modèle",modelAuthor:"Auteur",modelLicense:"Licence",modelSource:"Provenance",modelIncomplete:"Pas dessiné tant que le nom et la licence du modèle manquent",modelFromCatalogue:"Du catalogue, par lequel l'enregistrement le nomme. Modifiez un champ et il devient l'adresse propre à cet enregistrement.",keyframes:"Images clés",zoomHint:"Pincez, ou Ctrl + molette, pour zoomer ; Maj + molette pour défiler",addKeyframe:"Ajouter une image clé à cet instant",atPlayhead:"À {t}",modelFixed:"Le modèle se choisit à l'ajout du corps : pour en changer, supprimez ce corps et ajoutez-en un avec l'autre modèle",keyframeHere:"Une image clé est ici : l'éditer la modifie",keyframeAdded:"Éditer ajoute une image clé ici",appearanceNote:"La couleur et l'albédo peignent les formes de base ; un modèle garde ses propres matériaux. La lumière propre est ce qu'il émet, éclairé ou non.",deleteKeyframe:"Supprimer cette image clé",pictureHint:"Sur l'image : glisser le corps le déplace, la molette le rapproche ou l'éloigne, les coins et les côtés le dimensionnent, la tige le tourne (avec Maj : haut et bas le cabrent, les côtés le font rouler).",notPlaced:"Pas dans la scène à cet instant",primitive:{ellipsoid:"Ellipsoïde",sphere:"Sphère",disc:"Disque",cylinder:"Cylindre",cone:"Cône",box:"Boîte",torus:"Tore",figure:"Silhouette humaine"}};export{e as bodyEditorMessages_fr};
@@ -0,0 +1 @@
1
+ const o={intro:"Ciò che il testimone ha detto che era il fenomeno, in 3D: ogni corpo rappresenta una o più delle forme disegnate. Il suo movimento viene dal file.",interpretationTitle:"Titolo della lettura",body:"Corpo",none:"Ancora nessun corpo: il testimone non ha detto nulla di ciò che era, o è ancora da inserire",deleteBody:"Elimina il corpo",addBody:"Aggiungi un corpo",addBodyHintView:"Dove guarda il testimone in questo momento",lookAtBody:"Guardalo",addBodyHint:"In rappresentanza della forma «{shape}», dove la scena la disegna in questo momento",model:"Modello 3D",primitives:"Forme di base",catalogue:"Catalogo",modelAdvanced:"Modello da un indirizzo",modelUrl:"Indirizzo glTF/GLB",modelUrlHint:"Assoluto, o relativo a questo sighting.json",modelTitle:"Nome del modello",modelAuthor:"Autore",modelLicense:"Licenza",modelSource:"Provenienza",modelIncomplete:"Non disegnato finché mancano il nome e la licenza del modello",modelFromCatalogue:"Dal catalogo, con cui la registrazione lo nomina. Modifica un campo e diventa l'indirizzo proprio di questa registrazione.",keyframes:"Fotogrammi chiave",zoomHint:"Pizzicate, o Ctrl + rotella, per ingrandire; Maiusc + rotella per scorrere",addKeyframe:"Aggiungi un fotogramma chiave a questo istante",atPlayhead:"A {t}",modelFixed:"Il modello si sceglie quando si aggiunge il corpo: per cambiarlo, elimina questo corpo e aggiungine uno con l'altro modello",keyframeHere:"Qui c'è un fotogramma chiave: modificarlo lo cambia",keyframeAdded:"Modificare aggiunge qui un fotogramma chiave",appearanceNote:"Il colore e l'albedo dipingono le forme di base; un modello proprio conserva i suoi materiali. La luce propria è quella che emette, illuminato o no.",deleteKeyframe:"Elimina questo fotogramma chiave",pictureHint:"Sull'immagine: trascinare il corpo lo sposta, la rotellina lo avvicina o lo allontana, gli angoli e i lati lo dimensionano, lo stelo lo ruota (con Maiusc: su e giù lo fanno beccheggiare, i lati lo fanno rollare).",notPlaced:"Non è nella scena in questo istante",primitive:{ellipsoid:"Ellissoide",sphere:"Sfera",disc:"Disco",cylinder:"Cilindro",cone:"Cono",box:"Scatola",torus:"Toro",figure:"Sagoma umana"}};export{o as bodyEditorMessages_it};
@@ -0,0 +1 @@
1
+ const e={body:"Body",iD:"ID",name:"Name",standsForTheShapes:"Stands for the shapes",noShape:"No shape",partDrawnByTheWitness:"Part drawn by the witness",nodeOfTheModelE:"Node of the model, e.g. hull",atThePlayhead:"At the playhead",position:"Position",fromTheWitness:"From the witness",inTheWorld:"In the world",azimuth:"Azimuth",elevation:"Elevation",distance:"Distance",onTheGround:"On the ground",aboveTheGround:"Above the ground",width:"Width",length:"Length",height:"Height",heading:"Heading",pitch:"Pitch",roll:"Roll",colour:"Colour",albedo:"Albedo",lightOfItsOwn:"Light of its own",transparency:"Transparency",halo:"Halo"};export{e as bodyParameterTexts_en};
@@ -0,0 +1 @@
1
+ const e={body:"Cuerpo",iD:"Identificador",name:"Nombre",standsForTheShapes:"Representa las formas",noShape:"Ninguna forma",partDrawnByTheWitness:"Parte dibujada por el testigo",nodeOfTheModelE:"Nodo del modelo, p. ej. hull",atThePlayhead:"En el instante actual",position:"Posición",fromTheWitness:"Desde el testigo",inTheWorld:"En el mundo",azimuth:"Acimut",elevation:"Elevación",distance:"Distancia",onTheGround:"En el suelo",aboveTheGround:"Sobre el suelo",width:"Ancho",length:"Largo",height:"Alto",heading:"Rumbo",pitch:"Cabeceo",roll:"Alabeo",colour:"Color",albedo:"Albedo",lightOfItsOwn:"Luz propia",transparency:"Transparencia",halo:"Halo"};export{e as bodyParameterTexts_es};
@@ -0,0 +1 @@
1
+ const e={body:"Corps",iD:"Identifiant",name:"Nom",standsForTheShapes:"Représente les formes",noShape:"Aucune forme",partDrawnByTheWitness:"Partie dessinée par le témoin",nodeOfTheModelE:"Nœud du modèle, par ex. hull",atThePlayhead:"À l'instant courant",position:"Position",fromTheWitness:"Depuis le témoin",inTheWorld:"Dans le monde",azimuth:"Azimut",elevation:"Hauteur",distance:"Distance",onTheGround:"Au sol",aboveTheGround:"Au-dessus du sol",width:"Largeur",length:"Longueur",height:"Hauteur",heading:"Cap",pitch:"Tangage",roll:"Roulis",colour:"Couleur",albedo:"Albédo",lightOfItsOwn:"Lumière propre",transparency:"Transparence",halo:"Halo"};export{e as bodyParameterTexts_fr};
@@ -0,0 +1 @@
1
+ const e={body:"Corpo",iD:"Identificativo",name:"Nome",standsForTheShapes:"Rappresenta le forme",noShape:"Nessuna forma",partDrawnByTheWitness:"Parte disegnata dal testimone",nodeOfTheModelE:"Nodo del modello, ad es. hull",atThePlayhead:"All'istante corrente",position:"Posizione",fromTheWitness:"Dal testimone",inTheWorld:"Nel mondo",azimuth:"Azimut",elevation:"Elevazione",distance:"Distanza",onTheGround:"A terra",aboveTheGround:"Sopra il suolo",width:"Larghezza",length:"Lunghezza",height:"Altezza",heading:"Rotta",pitch:"Beccheggio",roll:"Rollio",colour:"Colore",albedo:"Albedo",lightOfItsOwn:"Luce propria",transparency:"Trasparenza",halo:"Alone"};export{e as bodyParameterTexts_it};
@@ -0,0 +1 @@
1
+ import{TranscriptionAudio as r}from"./TranscriptionAudio-C_xvRUv2.js";import{TranscriptionError as m}from"./TranscriptionError-D_TCbYbt.js";class n{static LIBRARY="https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.3.2/dist/transformers.min.js";static MODEL="onnx-community/whisper-large-v3-turbo";static DTYPE={encoder_model:"q4",decoder_model_merged:"q4"};static BLOCK_SECONDS=60;sendsAudio=!1;downloadBytes=76e7;engine="whisper-large-v3-turbo (Transformers.js, in the browser)";static recognizer;async transcribe(t){const o=await n.load(t),e=t.samples.length/r.RATE,l=[];t.progress?.({stage:"transcribing",done:0,total:e});for(const a of r.blocks(t.samples,n.BLOCK_SECONDS)){if(t.signal?.aborted)throw t.signal.reason??new DOMException("Aborted","AbortError");const c=await o(a.samples,{language:t.language,task:"transcribe",chunk_length_s:30,stride_length_s:5,return_timestamps:!0}),s=a.samples.length/r.RATE;for(const i of c.chunks??[{timestamp:[0,s],text:c.text}]){const[g,d]=i.timestamp;l.push({start:a.start+g,end:a.start+(d??s),text:i.text})}t.progress?.({stage:"transcribing",done:Math.min(e,a.start+s),total:e})}return l}static load(t){return n.recognizer||(n.recognizer=n.create(t).catch(o=>{throw n.recognizer=void 0,o})),n.recognizer}static async create(t){if(typeof WebAssembly>"u")throw new m("unsupported","WebAssembly");const o=new Map;t.progress?.({stage:"loading",loaded:0});const e=await import(n.LIBRARY),l=typeof navigator<"u"&&"gpu"in navigator;return e.pipeline("automatic-speech-recognition",n.MODEL,{device:l?"webgpu":"wasm",dtype:n.DTYPE,progress_callback:a=>{if(a.status!=="progress"||!a.file)return;o.set(a.file,{loaded:a.loaded??0,total:a.total??0});let c=0,s=0;for(const i of o.values())c+=i.loaded,s+=i.total;t.progress?.({stage:"loading",loaded:c,total:s||void 0})}})}}export{n as BrowserWhisperProvider};