@rr0/ufoathome 0.200.0 → 0.201.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (436) hide show
  1. package/dist-embed-interview/InterviewMessages_en-BRmuWrAg.js +1 -0
  2. package/dist-embed-interview/InterviewMessages_es-BTotimwY.js +1 -0
  3. package/dist-embed-interview/InterviewMessages_fr-DBCdGB0r.js +1 -0
  4. package/dist-embed-interview/InterviewMessages_it-B5EyMD-k.js +1 -0
  5. package/dist-embed-interview/rr0-interview.mjs +1 -1
  6. package/dist-embed-scene/{AirshipEditor-B0RloPOv.js → AirshipEditor-BnRmKeVs.js} +1 -1
  7. package/dist-embed-scene/{AirshipFlight-D6tC26P5.js → AirshipFlight-C9DSPGwk.js} +1 -1
  8. package/dist-embed-scene/Aurora-BmVyTP6i.js +1 -0
  9. package/dist-embed-scene/AuroraEditor-CN6BQMUW.js +8 -0
  10. package/dist-embed-scene/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  11. package/dist-embed-scene/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  12. package/dist-embed-scene/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  13. package/dist-embed-scene/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  14. package/dist-embed-scene/AuroraKindMessages_en-D_W4giJa.js +1 -0
  15. package/dist-embed-scene/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  16. package/dist-embed-scene/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  17. package/dist-embed-scene/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  18. package/dist-embed-scene/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  19. package/dist-embed-scene/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  20. package/dist-embed-scene/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  21. package/dist-embed-scene/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  22. package/dist-embed-scene/AuroraSimulation-BZpjImM0.js +152 -0
  23. package/dist-embed-scene/{BalloonEditor-D1b8pmSn.js → BalloonEditor-BehJs6H-.js} +2 -2
  24. package/dist-embed-scene/{BalloonFlight-D015vbBe.js → BalloonFlight-BYn4diw1.js} +1 -1
  25. package/dist-embed-scene/BeamSystem-DtRwoKHP.js +1 -0
  26. package/dist-embed-scene/{BirdEditor-CxGMe4UD.js → BirdEditor-dOp1sGsz.js} +1 -1
  27. package/dist-embed-scene/{BirdFlock-D2mckZ_l.js → BirdFlock-CfJeXvWu.js} +1 -1
  28. package/dist-embed-scene/{DroneEditor-BNGmR5II.js → DroneEditor-CBoR4fJ_.js} +1 -1
  29. package/dist-embed-scene/{DroneFlight-DKHsNqDw.js → DroneFlight-DSE1OXqh.js} +1 -1
  30. package/dist-embed-scene/{DroneParameters-Bq6XBchK.js → DroneParameters-D3EOg4oe.js} +1 -1
  31. package/dist-embed-scene/{LanternEditor-FU0WHV3j.js → LanternEditor-CbcA7K8y.js} +2 -2
  32. package/dist-embed-scene/ModuleSession-XnOI5Mcr.js +3 -0
  33. package/dist-embed-scene/ModuleThree-BTQgimAj.js +1 -0
  34. package/dist-embed-scene/SearchlightEditor-CogwU9pl.js +8 -0
  35. package/dist-embed-scene/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  36. package/dist-embed-scene/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  37. package/dist-embed-scene/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  38. package/dist-embed-scene/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  39. package/dist-embed-scene/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  40. package/dist-embed-scene/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  41. package/dist-embed-scene/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  42. package/dist-embed-scene/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  43. package/dist-embed-scene/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  44. package/dist-embed-scene/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  45. package/dist-embed-scene/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  46. package/dist-embed-scene/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  47. package/dist-embed-scene/SearchlightSystem-CX1_nBkz.js +1 -0
  48. package/dist-embed-scene/{SkyLantern-a9qLkbZo.js → SkyLantern-Dp_B40X0.js} +1 -1
  49. package/dist-embed-scene/rr0-scene.mjs +397 -322
  50. package/dist-embed-scene/sightingSchema-9MogCcUd.js +1 -0
  51. package/dist-embed-sighting/Aurora-DN89D94m.js +1 -0
  52. package/dist-embed-sighting/AuroraEditor-C4tY9hXK.js +8 -0
  53. package/dist-embed-sighting/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  54. package/dist-embed-sighting/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  55. package/dist-embed-sighting/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  56. package/dist-embed-sighting/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  57. package/dist-embed-sighting/AuroraKindMessages_en-D_W4giJa.js +1 -0
  58. package/dist-embed-sighting/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  59. package/dist-embed-sighting/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  60. package/dist-embed-sighting/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  61. package/dist-embed-sighting/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  62. package/dist-embed-sighting/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  63. package/dist-embed-sighting/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  64. package/dist-embed-sighting/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  65. package/dist-embed-sighting/AuroraSimulation-C9hvCV0W.js +152 -0
  66. package/dist-embed-sighting/BeamSystem-CsNwl_vM.js +1 -0
  67. package/dist-embed-sighting/{CaseReportExport-B13vvVvn.js → CaseReportExport-DVVsc8gA.js} +1 -1
  68. package/dist-embed-sighting/InterviewMessages_en-BRmuWrAg.js +1 -0
  69. package/dist-embed-sighting/InterviewMessages_es-BTotimwY.js +1 -0
  70. package/dist-embed-sighting/InterviewMessages_fr-DBCdGB0r.js +1 -0
  71. package/dist-embed-sighting/InterviewMessages_it-B5EyMD-k.js +1 -0
  72. package/dist-embed-sighting/ModuleSession-ChJsGuTn.js +3 -0
  73. package/dist-embed-sighting/ModuleThree-whEZoXYF.js +1 -0
  74. package/dist-embed-sighting/SearchlightEditor-By5Z3ef7.js +8 -0
  75. package/dist-embed-sighting/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  76. package/dist-embed-sighting/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  77. package/dist-embed-sighting/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  78. package/dist-embed-sighting/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  79. package/dist-embed-sighting/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  80. package/dist-embed-sighting/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  81. package/dist-embed-sighting/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  82. package/dist-embed-sighting/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  83. package/dist-embed-sighting/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  84. package/dist-embed-sighting/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  85. package/dist-embed-sighting/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  86. package/dist-embed-sighting/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  87. package/dist-embed-sighting/SearchlightSystem-B2-MzG4x.js +1 -0
  88. package/dist-embed-sighting/{SightingMessages_en-sch1T1ki.js → SightingMessages_en-D3YVhgUj.js} +1 -1
  89. package/dist-embed-sighting/{SightingMessages_es-DemDEDtF.js → SightingMessages_es-ME6FeTp-.js} +1 -1
  90. package/dist-embed-sighting/{SightingMessages_fr-DskVkEj0.js → SightingMessages_fr-BgXYuIq4.js} +1 -1
  91. package/dist-embed-sighting/{SightingMessages_it-CrbYpdv8.js → SightingMessages_it-DcE90eAl.js} +1 -1
  92. package/dist-embed-sighting/rr0-sighting.mjs +412 -337
  93. package/dist-embed-sighting/sightingSchema-9MogCcUd.js +1 -0
  94. package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-BqEnqRP0.js → AdsbLolArchiveProvider-CWpyBqG3.js} +1 -1
  95. package/dist-embed-sighting-editor/AirshipEditor-BvnVNcF4.js +16 -0
  96. package/dist-embed-sighting-editor/{AirshipFlight-Bh7J0sWg.js → AirshipFlight-CB1Quf68.js} +1 -1
  97. package/dist-embed-sighting-editor/Aurora-BRXvgyRM.js +1 -0
  98. package/dist-embed-sighting-editor/AuroraEditor-JQ3kRqrq.js +8 -0
  99. package/dist-embed-sighting-editor/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  100. package/dist-embed-sighting-editor/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  101. package/dist-embed-sighting-editor/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  102. package/dist-embed-sighting-editor/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  103. package/dist-embed-sighting-editor/AuroraKindMessages_en-D_W4giJa.js +1 -0
  104. package/dist-embed-sighting-editor/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  105. package/dist-embed-sighting-editor/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  106. package/dist-embed-sighting-editor/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  107. package/dist-embed-sighting-editor/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  108. package/dist-embed-sighting-editor/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  109. package/dist-embed-sighting-editor/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  110. package/dist-embed-sighting-editor/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  111. package/dist-embed-sighting-editor/AuroraSimulation-i64MFW2z.js +152 -0
  112. package/dist-embed-sighting-editor/{BallesterGuaspAssessor-BNfSwq_l.js → BallesterGuaspAssessor-BaKKAdY3.js} +1 -1
  113. package/dist-embed-sighting-editor/BalloonEditor-C2oHClW7.js +24 -0
  114. package/dist-embed-sighting-editor/{BalloonFlight-DqwGZzum.js → BalloonFlight-B9A6MoCj.js} +1 -1
  115. package/dist-embed-sighting-editor/{BeamEditor-C9VQ2YBN.js → BeamEditor-CW7mTQjS.js} +1 -1
  116. package/dist-embed-sighting-editor/BeamSystem-CSfJjLCb.js +1 -0
  117. package/dist-embed-sighting-editor/BirdEditor-BdxhCoW9.js +16 -0
  118. package/dist-embed-sighting-editor/{BirdFlock-TI63ZAKZ.js → BirdFlock-DCbrukNp.js} +1 -1
  119. package/dist-embed-sighting-editor/{BodyEditor-COLTBHzX.js → BodyEditor-DE8ZQrqe.js} +1 -1
  120. package/dist-embed-sighting-editor/{CaseElement-D_ItKhFD.js → CaseElement-C46wM-nU.js} +3 -3
  121. package/dist-embed-sighting-editor/{CaseReportExport-BSLhYJJA.js → CaseReportExport-UVrInf6H.js} +3 -3
  122. package/dist-embed-sighting-editor/{ContrailSystem-C8K88Cwo.js → ContrailSystem-CDSSxouG.js} +1 -1
  123. package/dist-embed-sighting-editor/{ControlPasses-DNMyuRwb.js → ControlPasses-CsOVa-jq.js} +1 -1
  124. package/dist-embed-sighting-editor/{CoverageAssessor-p-LX-eEi.js → CoverageAssessor-DWY_gJJX.js} +1 -1
  125. package/dist-embed-sighting-editor/{DroneEditor-v0oaeAUh.js → DroneEditor-DgeuaHdb.js} +1 -1
  126. package/dist-embed-sighting-editor/{DroneFlight-BpnBgJ9K.js → DroneFlight-CFztr-9j.js} +1 -1
  127. package/dist-embed-sighting-editor/{DroneParameters-B1oTz3dZ.js → DroneParameters-CHmDmRoC.js} +1 -1
  128. package/dist-embed-sighting-editor/{Flightradar24Provider-D5OdIL0L.js → Flightradar24Provider-e6_3o9Jf.js} +1 -1
  129. package/dist-embed-sighting-editor/{GLTFLoader-DT3hr416.js → GLTFLoader-Df-r7_lf.js} +1 -1
  130. package/dist-embed-sighting-editor/{GenerativeKitMessages-B8L7U7gD.js → GenerativeKitMessages-CmqG-T2c.js} +1 -1
  131. package/dist-embed-sighting-editor/{GeoExportTexts-DrGdI2OF.js → GeoExportTexts-Wjc5YKlM.js} +1 -1
  132. package/dist-embed-sighting-editor/{GeoJsonExport-BZ-0v8fM.js → GeoJsonExport-BSPGzTbG.js} +1 -1
  133. package/dist-embed-sighting-editor/GeographicFigures-D_TfLkj9.js +1 -0
  134. package/dist-embed-sighting-editor/{HeadlightSystem-DHoSdTng.js → HeadlightSystem-DljWmzj5.js} +1 -1
  135. package/dist-embed-sighting-editor/{HynekAssessor-ByXW15nZ.js → HynekAssessor-BCDwoOI9.js} +1 -1
  136. package/dist-embed-sighting-editor/InterviewEditorElement-KHpgfy3k.js +277 -0
  137. package/dist-embed-sighting-editor/{InterviewElement-B3tm7y49.js → InterviewElement-DDa53uMq.js} +1 -1
  138. package/dist-embed-sighting-editor/InterviewMedia-CGVsMdje.js +1 -0
  139. package/dist-embed-sighting-editor/InterviewMessages_en-BRmuWrAg.js +1 -0
  140. package/dist-embed-sighting-editor/InterviewMessages_es-BTotimwY.js +1 -0
  141. package/dist-embed-sighting-editor/InterviewMessages_fr-DBCdGB0r.js +1 -0
  142. package/dist-embed-sighting-editor/InterviewMessages_it-B5EyMD-k.js +1 -0
  143. package/dist-embed-sighting-editor/{KmlExport-Bh4eTycx.js → KmlExport-B46AfaoJ.js} +1 -1
  144. package/dist-embed-sighting-editor/LanternEditor-CkbeitJh.js +24 -0
  145. package/dist-embed-sighting-editor/{LaserBeam-iHLKAi5q.js → LaserBeam-Ber-PT8j.js} +1 -1
  146. package/dist-embed-sighting-editor/LaunchEditor-BsvHahqK.js +22 -0
  147. package/dist-embed-sighting-editor/{LaunchPlume-BJwW1kU1.js → LaunchPlume-BmPMeGMN.js} +1 -1
  148. package/dist-embed-sighting-editor/LaunchSimulation-g-ETWhEH.js +1 -0
  149. package/dist-embed-sighting-editor/ModelSource-DOUnBBhu.js +1 -0
  150. package/dist-embed-sighting-editor/{ModelThumbnails-C_8KCF7H.js → ModelThumbnails-TwG1snwZ.js} +1 -1
  151. package/dist-embed-sighting-editor/{ModelViewer-Cy-6IZBY.js → ModelViewer-Y_B6eM4z.js} +1 -1
  152. package/dist-embed-sighting-editor/ModuleConformance-CO1S9pa3.js +2 -0
  153. package/dist-embed-sighting-editor/ModuleSession-VLS0tjAb.js +3 -0
  154. package/dist-embed-sighting-editor/ModuleThree-DQ2dT7XW.js +1 -0
  155. package/dist-embed-sighting-editor/{ModulesPanelElement-B9R5rI0T.js → ModulesPanelElement--YQ0QtcW.js} +3 -3
  156. package/dist-embed-sighting-editor/{NearestApproach-pefE2Svz.js → NearestApproach-C_8Uvp6i.js} +1 -1
  157. package/dist-embed-sighting-editor/PictureRegistration-Br0xjLE2.js +1 -0
  158. package/dist-embed-sighting-editor/{PoherAssessor-BEiAV-7m.js → PoherAssessor-DtDcuhWK.js} +1 -1
  159. package/dist-embed-sighting-editor/QuestionnaireFeed-CvLtuLIH.js +1 -0
  160. package/dist-embed-sighting-editor/QuestionnaireForm-DA6LPvBt.js +1 -0
  161. package/dist-embed-sighting-editor/QuestionnaireImport-BYj5QoJS.js +5 -0
  162. package/dist-embed-sighting-editor/QuestionnaireSeal-DpZYUhnf.js +1 -0
  163. package/dist-embed-sighting-editor/{RailwaySystem-7A12KSnk.js → RailwaySystem-eT-ZKfZl.js} +1 -1
  164. package/dist-embed-sighting-editor/ReentryEditor-CW8H7KaA.js +28 -0
  165. package/dist-embed-sighting-editor/{ReentrySimulation-PK2Z7Smw.js → ReentrySimulation-DVl__RjO.js} +1 -1
  166. package/dist-embed-sighting-editor/{ReferenceSystem-Bt7l5nHl.js → ReferenceSystem-DxVYO7g9.js} +1 -1
  167. package/dist-embed-sighting-editor/{RoadMarkings-BGK7ToZP.js → RoadMarkings-DJraHdS6.js} +1 -1
  168. package/dist-embed-sighting-editor/ScenarioReadings-BYqlpLo8.js +1 -0
  169. package/dist-embed-sighting-editor/ScenarioSweep-Ddtuo_Af.js +1 -0
  170. package/dist-embed-sighting-editor/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
  171. package/dist-embed-sighting-editor/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
  172. package/dist-embed-sighting-editor/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
  173. package/dist-embed-sighting-editor/ScenarioSweepMessages_it-DANW3_la.js +1 -0
  174. package/dist-embed-sighting-editor/{SceneNames_en-9zK_E4jO.js → SceneNames_en-p5YNYZhA.js} +1 -1
  175. package/dist-embed-sighting-editor/{SceneNames_es-B6FtSh6r.js → SceneNames_es-DlMqYLL9.js} +1 -1
  176. package/dist-embed-sighting-editor/{SceneNames_fr-lUEwaxUk.js → SceneNames_fr-lFA7hY3x.js} +1 -1
  177. package/dist-embed-sighting-editor/{SceneNames_it-ChU8RE2E.js → SceneNames_it-CDwvX1Nw.js} +1 -1
  178. package/dist-embed-sighting-editor/SearchlightEditor-BSI8hB1V.js +8 -0
  179. package/dist-embed-sighting-editor/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  180. package/dist-embed-sighting-editor/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  181. package/dist-embed-sighting-editor/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  182. package/dist-embed-sighting-editor/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  183. package/dist-embed-sighting-editor/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  184. package/dist-embed-sighting-editor/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  185. package/dist-embed-sighting-editor/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  186. package/dist-embed-sighting-editor/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  187. package/dist-embed-sighting-editor/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  188. package/dist-embed-sighting-editor/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  189. package/dist-embed-sighting-editor/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  190. package/dist-embed-sighting-editor/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  191. package/dist-embed-sighting-editor/SearchlightSystem-DHfVi2np.js +1 -0
  192. package/dist-embed-sighting-editor/{SightingEditorMessages_en-CtZXoBSS.js → SightingEditorMessages_en-k7_ua2OM.js} +1 -1
  193. package/{dist-embed-ufoathome/SightingEditorMessages_es-CKXlDIja.js → dist-embed-sighting-editor/SightingEditorMessages_es-Drqbbr5_.js} +1 -1
  194. package/dist-embed-sighting-editor/{SightingEditorMessages_fr-DjP6vAKo.js → SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
  195. package/{dist-embed-ufoathome/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-sighting-editor/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
  196. package/dist-embed-sighting-editor/{SightingElement-BpRRhJzS.js → SightingElement-T0x4j9Zt.js} +4 -4
  197. package/dist-embed-sighting-editor/{SightingFileEditor-B7GimING.js → SightingFileEditor-Du3A9uZm.js} +1 -1
  198. package/dist-embed-sighting-editor/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
  199. package/dist-embed-sighting-editor/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
  200. package/dist-embed-sighting-editor/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
  201. package/dist-embed-sighting-editor/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
  202. package/dist-embed-sighting-editor/{SkyLantern-BDpxvmY3.js → SkyLantern-Dl4yl-lc.js} +1 -1
  203. package/dist-embed-sighting-editor/{TraceSystem-JWQpvSdA.js → TraceSystem-Dbu_bgfE.js} +2 -2
  204. package/dist-embed-sighting-editor/{UfoMessages_en-JeMK-39o.js → UfoMessages_en-BAuHAGgq.js} +1 -1
  205. package/dist-embed-sighting-editor/{VideoButton-Kxg7pF1Y.js → VideoButton-C8eRmv7A.js} +1 -1
  206. package/dist-embed-sighting-editor/{WaterSystem-DwGepfDm.js → WaterSystem-DpJCe_2Q.js} +2 -2
  207. package/dist-embed-sighting-editor/angular-size-CxoysZle.png +0 -0
  208. package/dist-embed-sighting-editor/azimuth-CvjiPmz0.png +0 -0
  209. package/dist-embed-sighting-editor/caseSchema-BEJTs2Ld.js +1 -0
  210. package/dist-embed-sighting-editor/elevation-DPr5S6Jt.png +0 -0
  211. package/dist-embed-sighting-editor/geipan-qt-2025-j-yGY7EN.js +7 -0
  212. package/dist-embed-sighting-editor/{interviewImport-BlSMFEw_.js → interviewImport-zzDGCbXd.js} +1 -1
  213. package/dist-embed-sighting-editor/{interviewJson-CsMHIcZ-.js → interviewJson-DngUPqK8.js} +1 -1
  214. package/dist-embed-sighting-editor/interviewSchema-DRWvRSL2.js +1 -0
  215. package/dist-embed-sighting-editor/protractor-DyE30B87.png +0 -0
  216. package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +522 -422
  217. package/dist-embed-sighting-editor/sightingSchema-9MogCcUd.js +1 -0
  218. package/dist-embed-sighting-editor/{surroundingsSources-z7680fTA.js → surroundingsSources-lvh4Rw5C.js} +1 -1
  219. package/dist-embed-sighting-editor/{trafficRuntime-CvK_m6bC.js → trafficRuntime-Drx7CE9H.js} +1 -1
  220. package/dist-embed-ufoathome/AdsbLolArchiveProvider-CqedGYi5.js +1 -0
  221. package/dist-embed-ufoathome/AirshipEditor-CBSrQM3J.js +16 -0
  222. package/dist-embed-ufoathome/{AirshipFlight-CX32XrkA.js → AirshipFlight-Dzpw8HRM.js} +1 -1
  223. package/dist-embed-ufoathome/Aurora-CpZx9hQ3.js +1 -0
  224. package/dist-embed-ufoathome/AuroraEditor-D2v8sWVE.js +8 -0
  225. package/dist-embed-ufoathome/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  226. package/dist-embed-ufoathome/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  227. package/dist-embed-ufoathome/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  228. package/dist-embed-ufoathome/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  229. package/dist-embed-ufoathome/AuroraKindMessages_en-D_W4giJa.js +1 -0
  230. package/dist-embed-ufoathome/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  231. package/dist-embed-ufoathome/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  232. package/dist-embed-ufoathome/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  233. package/dist-embed-ufoathome/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  234. package/dist-embed-ufoathome/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  235. package/dist-embed-ufoathome/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  236. package/dist-embed-ufoathome/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  237. package/dist-embed-ufoathome/AuroraSimulation-DdSP66LD.js +152 -0
  238. package/dist-embed-ufoathome/BallesterGuaspAssessor-C4IktJ1l.js +1 -0
  239. package/dist-embed-ufoathome/BalloonEditor-dCIjTsIz.js +24 -0
  240. package/dist-embed-ufoathome/{BalloonFlight-DC31tnhH.js → BalloonFlight-CztT6ddg.js} +1 -1
  241. package/dist-embed-ufoathome/{BeamEditor-WKZhN3Hp.js → BeamEditor-CuW3LVO-.js} +2 -2
  242. package/dist-embed-ufoathome/BeamSystem-BPEYuCF4.js +1 -0
  243. package/dist-embed-ufoathome/BirdEditor-Dk3huwHa.js +16 -0
  244. package/dist-embed-ufoathome/{BodyEditor-uxbNOCFJ.js → BodyEditor-COMX-T65.js} +1 -1
  245. package/dist-embed-ufoathome/CaseEditorElement-C5BHP8jT.js +3173 -0
  246. package/dist-embed-ufoathome/{CaseElement-Lil-kZRm.js → CaseElement-CIZvyRVi.js} +3 -3
  247. package/dist-embed-ufoathome/{CaseReportExport-DX7PQi1u.js → CaseReportExport-BFbswUIB.js} +3 -3
  248. package/dist-embed-ufoathome/{ColumnResize-DXi_g6cq.js → ColumnResize-Dh6Xyspd.js} +6 -6
  249. package/dist-embed-ufoathome/ContrailSystem-D2AR5Zgy.js +1 -0
  250. package/dist-embed-ufoathome/ControlPasses-CnL1GmT-.js +29 -0
  251. package/dist-embed-ufoathome/CoverageAssessor-CiqUEJkN.js +1 -0
  252. package/dist-embed-ufoathome/{DroneEditor-BSYPs6jg.js → DroneEditor-D60uhSHO.js} +1 -1
  253. package/dist-embed-ufoathome/{DroneParameters-O6pYnfX7.js → DroneParameters-CfTAaLCT.js} +1 -1
  254. package/dist-embed-ufoathome/Flightradar24Provider-_tNmWf11.js +1 -0
  255. package/dist-embed-ufoathome/GLTFLoader-BLk8prLt.js +1 -0
  256. package/dist-embed-ufoathome/GeoJsonExport-DkPKk-7q.js +2 -0
  257. package/dist-embed-ufoathome/GeoProjection-DvqDbRIx.js +1 -0
  258. package/dist-embed-ufoathome/{GeographicFigures-D9njFJso.js → GeographicFigures-l-PfHdSR.js} +1 -1
  259. package/dist-embed-ufoathome/HeadlightSystem-D5-78PFB.js +34 -0
  260. package/dist-embed-ufoathome/HynekAssessor-BhnvqsYz.js +1 -0
  261. package/dist-embed-ufoathome/InterviewEditorElement-iw2lnwx8.js +277 -0
  262. package/dist-embed-ufoathome/{InterviewElement-kdRloxH-.js → InterviewElement-CuRmQ0d3.js} +2 -2
  263. package/dist-embed-ufoathome/InterviewMedia-CGVsMdje.js +1 -0
  264. package/dist-embed-ufoathome/InterviewMessages_en-BRmuWrAg.js +1 -0
  265. package/dist-embed-ufoathome/InterviewMessages_es-BTotimwY.js +1 -0
  266. package/dist-embed-ufoathome/InterviewMessages_fr-DBCdGB0r.js +1 -0
  267. package/dist-embed-ufoathome/InterviewMessages_it-B5EyMD-k.js +1 -0
  268. package/dist-embed-ufoathome/KmlExport-BUl3gOrw.js +19 -0
  269. package/dist-embed-ufoathome/LanternEditor-BapUZdog.js +24 -0
  270. package/dist-embed-ufoathome/{LaserBeam-6xHkBslk.js → LaserBeam-C7glTvQN.js} +1 -1
  271. package/dist-embed-ufoathome/LaunchEditor-DvudtAzp.js +22 -0
  272. package/dist-embed-ufoathome/{LaunchPlume-BRYgiI9s.js → LaunchPlume-CrDBzsQe.js} +1 -1
  273. package/dist-embed-ufoathome/LaunchSimulation-DyOA4lPb.js +1 -0
  274. package/dist-embed-ufoathome/ModelSource-CoT4mxTx.js +1 -0
  275. package/dist-embed-ufoathome/ModelThumbnails-t59SZ3Vn.js +1 -0
  276. package/dist-embed-ufoathome/ModelViewer-DEdruEtl.js +1 -0
  277. package/dist-embed-ufoathome/ModuleConformance-DYDAaJJQ.js +2 -0
  278. package/dist-embed-ufoathome/ModuleSession-BKDWGSEo.js +3 -0
  279. package/dist-embed-ufoathome/ModuleThree-D18Rh2Nj.js +1 -0
  280. package/dist-embed-ufoathome/{ModulesPanelElement-fUfO3DeN.js → ModulesPanelElement-N-ccpGxl.js} +3 -3
  281. package/dist-embed-ufoathome/{NearestApproach-MxAHwcUE.js → NearestApproach-Do15yfeg.js} +1 -1
  282. package/dist-embed-ufoathome/{ParameterForm-DcVFxrcO.js → ParameterForm-XbqxCLRn.js} +1 -1
  283. package/dist-embed-ufoathome/PictureRegistration-BJeiCK8A.js +1 -0
  284. package/dist-embed-ufoathome/PoherAssessor-Cs8-ZBge.js +1 -0
  285. package/dist-embed-ufoathome/QuestionnaireFeed-BfvRSPoo.js +1 -0
  286. package/dist-embed-ufoathome/QuestionnaireForm-ByFmq67M.js +1 -0
  287. package/dist-embed-ufoathome/QuestionnaireImport-Cx1dQiha.js +5 -0
  288. package/dist-embed-ufoathome/QuestionnaireSeal-DpZYUhnf.js +1 -0
  289. package/dist-embed-ufoathome/RailwaySystem-KlBj8mLP.js +41 -0
  290. package/dist-embed-ufoathome/ReentryEditor-CJUFkVFO.js +28 -0
  291. package/dist-embed-ufoathome/ReentrySimulation-B5QcdOTq.js +1 -0
  292. package/dist-embed-ufoathome/ReferenceSystem-DyzOUClN.js +1 -0
  293. package/dist-embed-ufoathome/RoadMarkings-DKUNImjj.js +1 -0
  294. package/dist-embed-ufoathome/SaidPosition-OJEYhVKN.js +4 -0
  295. package/dist-embed-ufoathome/ScenarioReadings-CfZehU_P.js +1 -0
  296. package/dist-embed-ufoathome/ScenarioSweep-CDumnmq2.js +1 -0
  297. package/dist-embed-ufoathome/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
  298. package/dist-embed-ufoathome/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
  299. package/dist-embed-ufoathome/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
  300. package/dist-embed-ufoathome/ScenarioSweepMessages_it-DANW3_la.js +1 -0
  301. package/dist-embed-ufoathome/SearchlightEditor-CPDNpfNC.js +8 -0
  302. package/dist-embed-ufoathome/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  303. package/dist-embed-ufoathome/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  304. package/dist-embed-ufoathome/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  305. package/dist-embed-ufoathome/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  306. package/dist-embed-ufoathome/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  307. package/dist-embed-ufoathome/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  308. package/dist-embed-ufoathome/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  309. package/dist-embed-ufoathome/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  310. package/dist-embed-ufoathome/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  311. package/dist-embed-ufoathome/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  312. package/dist-embed-ufoathome/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  313. package/dist-embed-ufoathome/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  314. package/dist-embed-ufoathome/SearchlightSystem-Ca0rZcXv.js +1 -0
  315. package/dist-embed-ufoathome/ShareDialogElement-CBeU9ChH.js +5182 -0
  316. package/dist-embed-ufoathome/Sighting-B7bsiTIQ.js +1 -0
  317. package/dist-embed-ufoathome/{SightingEditorMessages_en-CtZXoBSS.js → SightingEditorMessages_en-k7_ua2OM.js} +1 -1
  318. package/{dist-embed-sighting-editor/SightingEditorMessages_es-CKXlDIja.js → dist-embed-ufoathome/SightingEditorMessages_es-Drqbbr5_.js} +1 -1
  319. package/dist-embed-ufoathome/{SightingEditorMessages_fr-DjP6vAKo.js → SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
  320. package/{dist-embed-sighting-editor/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-ufoathome/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
  321. package/dist-embed-ufoathome/{SightingElement-Ct3sIryk.js → SightingElement-BveOM4nF.js} +4 -4
  322. package/dist-embed-ufoathome/{SightingFileEditor-D1s9Dv6G.js → SightingFileEditor-DS1DRU2p.js} +1 -1
  323. package/dist-embed-ufoathome/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
  324. package/dist-embed-ufoathome/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
  325. package/dist-embed-ufoathome/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
  326. package/dist-embed-ufoathome/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
  327. package/dist-embed-ufoathome/{TimelineTracks-BgZmkKhn.js → TimelineTracks-Daaqw9ly.js} +1 -1
  328. package/dist-embed-ufoathome/{TraceSystem-Bop2Zoa_.js → TraceSystem-CoHX04R3.js} +2 -2
  329. package/dist-embed-ufoathome/{UfoAtHomeMessages_en-dlx_C679.js → UfoAtHomeMessages_en-BK2qJyZN.js} +1 -1
  330. package/dist-embed-ufoathome/{UfoAtHomeMessages_es-uLOvtAD0.js → UfoAtHomeMessages_es-B1-NDCau.js} +1 -1
  331. package/dist-embed-ufoathome/{UfoAtHomeMessages_fr-LR76-eHS.js → UfoAtHomeMessages_fr-BTG047qo.js} +1 -1
  332. package/dist-embed-ufoathome/{UfoAtHomeMessages_it-CQl4uTnG.js → UfoAtHomeMessages_it-Ryxv4HNU.js} +1 -1
  333. package/dist-embed-ufoathome/VideoButton-DNQmWtfv.js +1 -0
  334. package/dist-embed-ufoathome/WaterSystem-BNxlYNtW.js +19 -0
  335. package/dist-embed-ufoathome/angular-size-CxoysZle.png +0 -0
  336. package/dist-embed-ufoathome/azimuth-CvjiPmz0.png +0 -0
  337. package/dist-embed-ufoathome/caseSchema-BEJTs2Ld.js +1 -0
  338. package/dist-embed-ufoathome/elevation-DPr5S6Jt.png +0 -0
  339. package/dist-embed-ufoathome/geipan-qt-2025-j-yGY7EN.js +7 -0
  340. package/dist-embed-ufoathome/interviewSchema-DRWvRSL2.js +1 -0
  341. package/dist-embed-ufoathome/protractor-DyE30B87.png +0 -0
  342. package/dist-embed-ufoathome/rr0-ufoathome.mjs +41 -31
  343. package/dist-embed-ufoathome/sightingSchema-9MogCcUd.js +1 -0
  344. package/dist-embed-ufoathome/surroundingsSources-C823p3dG.js +1 -0
  345. package/dist-embed-ufoathome/three.module-CbaHqYFq.js +4116 -0
  346. package/dist-embed-ufoathome/trafficRuntime-DtXb9B2f.js +2 -0
  347. package/dist-embed-ufoathome/{upperAirSources-BGuLpdwu.js → upperAirSources-BU0pD84c.js} +1 -1
  348. package/dist-embed-ufoathome/xyzImageryRaster-Dhxs0B26.js +1 -0
  349. package/package.json +4 -2
  350. package/dist-embed-interview/InterviewMessages_en-ru7GkZlQ.js +0 -1
  351. package/dist-embed-interview/InterviewMessages_es-DkJurNrG.js +0 -1
  352. package/dist-embed-interview/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  353. package/dist-embed-interview/InterviewMessages_it-6lenkmSg.js +0 -1
  354. package/dist-embed-scene/BeamSystem-BtLpnMXz.js +0 -1
  355. package/dist-embed-scene/ModuleSession-BodXzA3g.js +0 -3
  356. package/dist-embed-scene/ModuleThree-D7qc50Hj.js +0 -1
  357. package/dist-embed-scene/sightingSchema-BDxKVE3v.js +0 -1
  358. package/dist-embed-sighting/BeamSystem-DJZTpG0z.js +0 -1
  359. package/dist-embed-sighting/InterviewMessages_en-ru7GkZlQ.js +0 -1
  360. package/dist-embed-sighting/InterviewMessages_es-DkJurNrG.js +0 -1
  361. package/dist-embed-sighting/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  362. package/dist-embed-sighting/InterviewMessages_it-6lenkmSg.js +0 -1
  363. package/dist-embed-sighting/ModuleSession-BZbes53G.js +0 -3
  364. package/dist-embed-sighting/ModuleThree-CPPPDBO4.js +0 -1
  365. package/dist-embed-sighting/sightingSchema-BDxKVE3v.js +0 -1
  366. package/dist-embed-sighting-editor/AirshipEditor-rA-Sr4D1.js +0 -16
  367. package/dist-embed-sighting-editor/BalloonEditor-CPZoayzz.js +0 -24
  368. package/dist-embed-sighting-editor/BeamSystem-Br0h-uSI.js +0 -1
  369. package/dist-embed-sighting-editor/BirdEditor-CAoRqqRV.js +0 -16
  370. package/dist-embed-sighting-editor/GeographicFigures-DqhWddS9.js +0 -1
  371. package/dist-embed-sighting-editor/InterviewEditorElement-CcXO_w9X.js +0 -242
  372. package/dist-embed-sighting-editor/InterviewMedia-CvAxC62V.js +0 -1
  373. package/dist-embed-sighting-editor/InterviewMessages_en-ru7GkZlQ.js +0 -1
  374. package/dist-embed-sighting-editor/InterviewMessages_es-DkJurNrG.js +0 -1
  375. package/dist-embed-sighting-editor/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  376. package/dist-embed-sighting-editor/InterviewMessages_it-6lenkmSg.js +0 -1
  377. package/dist-embed-sighting-editor/LanternEditor-BnXAwLuQ.js +0 -24
  378. package/dist-embed-sighting-editor/LaunchEditor-f4kJ5pWG.js +0 -22
  379. package/dist-embed-sighting-editor/LaunchSimulation-B3vlOUUu.js +0 -1
  380. package/dist-embed-sighting-editor/ModelSource-D1Wt6VYS.js +0 -1
  381. package/dist-embed-sighting-editor/ModuleConformance-DF6CNBvD.js +0 -2
  382. package/dist-embed-sighting-editor/ModuleSession-BgxzArtm.js +0 -3
  383. package/dist-embed-sighting-editor/ModuleThree-DXFS5Pjb.js +0 -1
  384. package/dist-embed-sighting-editor/PictureRegistration-DBBH_E6I.js +0 -1
  385. package/dist-embed-sighting-editor/ReentryEditor-Ch9_6pS8.js +0 -28
  386. package/dist-embed-sighting-editor/caseSchema-ChUB1-9j.js +0 -1
  387. package/dist-embed-sighting-editor/interviewSchema-Dk0AWHwc.js +0 -1
  388. package/dist-embed-sighting-editor/sightingSchema-C1S-Kr9w.js +0 -1
  389. package/dist-embed-ufoathome/AdsbLolArchiveProvider-DzC2OwjF.js +0 -1
  390. package/dist-embed-ufoathome/AirshipEditor-DDmu9JT8.js +0 -16
  391. package/dist-embed-ufoathome/BallesterGuaspAssessor-Bn5TGAvJ.js +0 -1
  392. package/dist-embed-ufoathome/BalloonEditor-CGrzszk1.js +0 -24
  393. package/dist-embed-ufoathome/BeamSystem-CWJkeTmf.js +0 -1
  394. package/dist-embed-ufoathome/BirdEditor-07sg3Pt0.js +0 -16
  395. package/dist-embed-ufoathome/CaseEditorElement-DNZt-oc7.js +0 -3148
  396. package/dist-embed-ufoathome/ContrailSystem-DBPA_rNt.js +0 -1
  397. package/dist-embed-ufoathome/ControlPasses-BgvVicQS.js +0 -29
  398. package/dist-embed-ufoathome/CoverageAssessor-BiDfEPse.js +0 -1
  399. package/dist-embed-ufoathome/Flightradar24Provider-DJtlvu72.js +0 -1
  400. package/dist-embed-ufoathome/GLTFLoader-2tuw29HP.js +0 -1
  401. package/dist-embed-ufoathome/GeoJsonExport-DHZOlC4h.js +0 -2
  402. package/dist-embed-ufoathome/HeadlightSystem-h2F6DzUW.js +0 -34
  403. package/dist-embed-ufoathome/HynekAssessor-C1TFQQNc.js +0 -1
  404. package/dist-embed-ufoathome/InterviewEditorElement-BythuoeV.js +0 -242
  405. package/dist-embed-ufoathome/InterviewMedia-CvAxC62V.js +0 -1
  406. package/dist-embed-ufoathome/InterviewMessages_en-ru7GkZlQ.js +0 -1
  407. package/dist-embed-ufoathome/InterviewMessages_es-DkJurNrG.js +0 -1
  408. package/dist-embed-ufoathome/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  409. package/dist-embed-ufoathome/InterviewMessages_it-6lenkmSg.js +0 -1
  410. package/dist-embed-ufoathome/KmlExport-Qih5jB1R.js +0 -19
  411. package/dist-embed-ufoathome/LanternEditor-BRqgj1S6.js +0 -24
  412. package/dist-embed-ufoathome/LaunchEditor-D5FlWL04.js +0 -22
  413. package/dist-embed-ufoathome/LaunchSimulation-DS7JtdJz.js +0 -1
  414. package/dist-embed-ufoathome/ModelSource-DQDWsfAb.js +0 -1
  415. package/dist-embed-ufoathome/ModelThumbnails-DovTOA0Y.js +0 -1
  416. package/dist-embed-ufoathome/ModelViewer-DIvwFZDg.js +0 -1
  417. package/dist-embed-ufoathome/ModuleConformance-VMgvNBlc.js +0 -2
  418. package/dist-embed-ufoathome/ModuleSession-D6wg8SbE.js +0 -3
  419. package/dist-embed-ufoathome/ModuleThree-CLkMHq_q.js +0 -1
  420. package/dist-embed-ufoathome/PictureRegistration-Dnh3w7Ph.js +0 -1
  421. package/dist-embed-ufoathome/PoherAssessor-h8_-WKIK.js +0 -1
  422. package/dist-embed-ufoathome/RailwaySystem-DZ2hctVL.js +0 -41
  423. package/dist-embed-ufoathome/ReentryEditor-DxyGO7_Z.js +0 -28
  424. package/dist-embed-ufoathome/ReentrySimulation-B55Uq-6-.js +0 -1
  425. package/dist-embed-ufoathome/ReferenceSystem-DJosChqB.js +0 -1
  426. package/dist-embed-ufoathome/RoadMarkings-DDRxawvf.js +0 -1
  427. package/dist-embed-ufoathome/SaidPosition-CXZLm-ck.js +0 -4
  428. package/dist-embed-ufoathome/ShareDialogElement--Mjaublp.js +0 -9222
  429. package/dist-embed-ufoathome/Sighting-Ch4eiBNK.js +0 -1
  430. package/dist-embed-ufoathome/VideoButton-DzEuUvRs.js +0 -1
  431. package/dist-embed-ufoathome/WaterSystem-KQAAtpYS.js +0 -19
  432. package/dist-embed-ufoathome/caseSchema-ChUB1-9j.js +0 -1
  433. package/dist-embed-ufoathome/interviewSchema-Dk0AWHwc.js +0 -1
  434. package/dist-embed-ufoathome/sightingSchema-C1S-Kr9w.js +0 -1
  435. package/dist-embed-ufoathome/surroundingsSources-LtEaPPRc.js +0 -1
  436. package/dist-embed-ufoathome/trafficRuntime-uPEasExE.js +0 -2
@@ -1,4 +1,4 @@
1
- import{S as T,D as de,r as M,F as it,G as rt,q as O,P as ot,J as V,K as Le,M as me,O as pe,Q as lt,R as at,V as Qe,T as P,U as _,W as ce,X as ct,Y as L,Z as Ee,_ as b,$ as ht,L as ut,s as ft,t as w,e as dt,b as mt,i as pt,c as ke,f as gt,d as xt,a0 as vt,a1 as We,a2 as Ie,a3 as bt,a4 as yt,a5 as De,a6 as Ot,a7 as wt,g as kt,a8 as Ce,H as Ct,a9 as St,aa as Mt,ab as Pt,v as Rt,w as Tt,x as At,ac as Lt,ad as Qt,ae as Et,af as Wt,y as It,ag as Dt,z as Nt,A as Bt,ah as $t,ai as qt,aj as Vt,B as Ht,ak as Kt,al as jt,am as Xt,an as Gt,ao as zt,ap as Ft}from"./index-C8cdeM8E.js";import Yt from"./sightingSchema-C1S-Kr9w.js";const Se=typeof String.prototype.normalize=="function"?i=>i.normalize("NFKD"):i=>i;class K{constructor(e,n,t=0,s=e.length,r,l){this.test=l,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(t,s),this.bufferStart=t,this.normalize=r?o=>r(Se(o)):Se,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return lt(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=ct(e),t=this.bufferStart+this.bufferPos;this.bufferPos+=at(e);let s=this.normalize(n);if(s.length)for(let r=0,l=t,o=!0;;r++){let a=s.charCodeAt(r),c=this.match(a,l,o,this.bufferPos+this.bufferStart,r==s.length-1);if(c)return this.value=c,this;if(r==s.length-1)break;o&&r<n.length&&n.charCodeAt(r)==a?l++:o=!1}}}match(e,n,t,s,r){let l=null;for(let o=0;o<this.matches.length;){let a=this.matches[o],c=!1;this.query.charCodeAt(a.index)==e&&(a.index==this.query.length-1?l={from:a.from,to:s,precise:r&&a.precise}:(a.index++,c=!0)),c?o++:this.matches.splice(o,1)}return this.query.charCodeAt(0)==e&&(this.query.length==1?l={from:n,to:s,precise:t&&r}:this.matches.push({from:n,index:1,precise:t})),l&&this.test&&!this.test(l.from,l.to,this.buffer,this.bufferStart)&&(l=null),l}}typeof Symbol<"u"&&(K.prototype[Symbol.iterator]=function(){return this});const Ne={from:-1,to:-1,match:/.*/.exec(""),precise:!0},ge="gm"+(/x/.unicode==null?"":"u");class Be{constructor(e,n,t,s=0,r=e.length){if(this.text=e,this.to=r,this.curLine="",this.done=!1,this.value=Ne,/\\[sWDnr]|\n|\r|\[\^/.test(n))return new $e(e,n,t,s,r);this.re=new RegExp(n,ge+(t?.ignoreCase?"i":"")),this.test=t?.test,this.iter=e.iter();let l=e.lineAt(s);this.curLineStart=l.from,this.matchPos=ee(e,s),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let t=this.curLineStart+n.index,s=t+n[0].length;if(this.matchPos=ee(this.text,s+(t==s?1:0)),t==this.curLineStart+this.curLine.length&&this.nextLine(),(t<s||t>this.value.to)&&(!this.test||this.test(t,s,n)))return this.value={from:t,to:s,precise:!0,match:n},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}}const le=new WeakMap;class ${constructor(e,n){this.from=e,this.text=n}get to(){return this.from+this.text.length}static get(e,n,t){let s=le.get(e);if(!s||s.from>=t||s.to<=n){let o=new $(n,e.sliceString(n,t));return le.set(e,o),o}if(s.from==n&&s.to==t)return s;let{text:r,from:l}=s;return l>n&&(r=e.sliceString(n,l)+r,l=n),s.to<t&&(r+=e.sliceString(s.to,t)),le.set(e,new $(l,r)),new $(n,r.slice(n-l,t-l))}}class $e{constructor(e,n,t,s,r){this.text=e,this.to=r,this.done=!1,this.value=Ne,this.matchPos=ee(e,s),this.re=new RegExp(n,ge+(t?.ignoreCase?"i":"")),this.test=t?.test,this.flat=$.get(e,s,this.chunkEnd(s+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==e&&(this.re.lastIndex=e+1,n=this.re.exec(this.flat.text)),n){let t=this.flat.from+n.index,s=t+n[0].length;if((this.flat.to>=this.to||n.index+n[0].length<=this.flat.text.length-10)&&(!this.test||this.test(t,s,n)))return this.value={from:t,to:s,precise:!0,match:n},this.matchPos=ee(this.text,s+(t==s?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=$.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Be.prototype[Symbol.iterator]=$e.prototype[Symbol.iterator]=function(){return this});function Zt(i){try{return new RegExp(i,ge),!0}catch{return!1}}function ee(i,e){if(e>=i.length)return e;let n=i.lineAt(e),t;for(;e<n.to&&(t=n.text.charCodeAt(e-n.from))>=56320&&t<57344;)e++;return e}const Ut=i=>{let e=it(i,"cm-goto-line");if(e){let l=e.dom.querySelector("input[type=text]");return l&&l.select(),!0}let{state:n}=i,t=String(n.doc.lineAt(i.state.selection.main.head).number),{close:s,result:r}=rt(i,{class:"cm-goto-line",label:n.phrase("Go to line"),input:{type:"text",name:"line",value:t},focus:!0,submitLabel:n.phrase("go")});return r.then(l=>{let o=l&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(l.elements.line.value);if(!o){i.dispatch({effects:s});return}let a=n.doc.lineAt(n.selection.main.head),[,c,u,h,f]=o,d=h?+h.slice(1):0,m=u?+u:a.number;if(u&&f){let S=m/100;c&&(S=S*(c=="-"?-1:1)+a.number/n.doc.lines),m=Math.round(n.doc.lines*S)}else u&&c&&(m=m*(c=="-"?-1:1)+a.number);let g=n.doc.line(Math.max(1,Math.min(n.doc.lines,m))),x=M.cursor(g.from+Math.max(0,Math.min(d,g.length)));i.dispatch({effects:[s,O.scrollIntoView(x.from,{y:"center"})],selection:x})}),!0},Jt=({state:i,dispatch:e})=>{let{selection:n}=i,t=M.create(n.ranges.map(s=>i.wordAt(s.head)||M.cursor(s.head)),n.mainIndex);return t.eq(n)?!1:(e(i.update({selection:t})),!0)};function _t(i,e){let{main:n,ranges:t}=i.selection,s=i.wordAt(n.head),r=s&&s.from==n.from&&s.to==n.to;for(let l=!1,o=new K(i.doc,e,t[t.length-1].to);;)if(o.next(),o.done){if(l)return null;o=new K(i.doc,e,0,Math.max(0,t[t.length-1].from-1)),l=!0}else{if(l&&t.some(a=>a.from==o.value.from))continue;if(r){let a=i.wordAt(o.value.from);if(!a||a.from!=o.value.from||a.to!=o.value.to)continue}return o.value}}const en=({state:i,dispatch:e})=>{let{ranges:n}=i.selection;if(n.some(r=>r.from===r.to))return Jt({state:i,dispatch:e});let t=i.sliceDoc(n[0].from,n[0].to);if(i.selection.ranges.some(r=>i.sliceDoc(r.from,r.to)!=t))return!1;let s=_t(i,t);return s?(e(i.update({selection:i.selection.addRange(M.range(s.from,s.to),!1),effects:O.scrollIntoView(s.to)})),!0):!1},I=me.define({combine(i){return pe(i,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new gn(e),scrollToMatch:e=>O.scrollIntoView(e)})}});function tn(i){return i?[I.of(i),ue]:ue}class qe{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||Zt(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(n,t)=>t=="n"?`
1
+ import{S as T,D as de,r as M,F as it,G as rt,q as O,P as ot,J as V,K as Le,M as me,O as pe,Q as lt,R as at,V as Qe,T as P,U as _,W as ce,X as ct,Y as L,Z as Ee,_ as b,$ as ht,L as ut,s as ft,t as w,e as dt,b as mt,i as pt,c as ke,f as gt,d as xt,a0 as vt,a1 as We,a2 as Ie,a3 as bt,a4 as yt,a5 as De,a6 as Ot,a7 as wt,g as kt,a8 as Ce,H as Ct,a9 as St,aa as Mt,ab as Pt,v as Rt,w as Tt,x as At,ac as Lt,ad as Qt,ae as Et,af as Wt,y as It,ag as Dt,z as Nt,A as Bt,ah as $t,ai as qt,aj as Vt,B as Ht,ak as Kt,al as jt,am as Xt,an as Gt,ao as zt,ap as Ft}from"./index-C8cdeM8E.js";import Yt from"./sightingSchema-9MogCcUd.js";const Se=typeof String.prototype.normalize=="function"?i=>i.normalize("NFKD"):i=>i;class K{constructor(e,n,t=0,s=e.length,r,l){this.test=l,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(t,s),this.bufferStart=t,this.normalize=r?o=>r(Se(o)):Se,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return lt(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=ct(e),t=this.bufferStart+this.bufferPos;this.bufferPos+=at(e);let s=this.normalize(n);if(s.length)for(let r=0,l=t,o=!0;;r++){let a=s.charCodeAt(r),c=this.match(a,l,o,this.bufferPos+this.bufferStart,r==s.length-1);if(c)return this.value=c,this;if(r==s.length-1)break;o&&r<n.length&&n.charCodeAt(r)==a?l++:o=!1}}}match(e,n,t,s,r){let l=null;for(let o=0;o<this.matches.length;){let a=this.matches[o],c=!1;this.query.charCodeAt(a.index)==e&&(a.index==this.query.length-1?l={from:a.from,to:s,precise:r&&a.precise}:(a.index++,c=!0)),c?o++:this.matches.splice(o,1)}return this.query.charCodeAt(0)==e&&(this.query.length==1?l={from:n,to:s,precise:t&&r}:this.matches.push({from:n,index:1,precise:t})),l&&this.test&&!this.test(l.from,l.to,this.buffer,this.bufferStart)&&(l=null),l}}typeof Symbol<"u"&&(K.prototype[Symbol.iterator]=function(){return this});const Ne={from:-1,to:-1,match:/.*/.exec(""),precise:!0},ge="gm"+(/x/.unicode==null?"":"u");class Be{constructor(e,n,t,s=0,r=e.length){if(this.text=e,this.to=r,this.curLine="",this.done=!1,this.value=Ne,/\\[sWDnr]|\n|\r|\[\^/.test(n))return new $e(e,n,t,s,r);this.re=new RegExp(n,ge+(t?.ignoreCase?"i":"")),this.test=t?.test,this.iter=e.iter();let l=e.lineAt(s);this.curLineStart=l.from,this.matchPos=ee(e,s),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let t=this.curLineStart+n.index,s=t+n[0].length;if(this.matchPos=ee(this.text,s+(t==s?1:0)),t==this.curLineStart+this.curLine.length&&this.nextLine(),(t<s||t>this.value.to)&&(!this.test||this.test(t,s,n)))return this.value={from:t,to:s,precise:!0,match:n},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}}const le=new WeakMap;class ${constructor(e,n){this.from=e,this.text=n}get to(){return this.from+this.text.length}static get(e,n,t){let s=le.get(e);if(!s||s.from>=t||s.to<=n){let o=new $(n,e.sliceString(n,t));return le.set(e,o),o}if(s.from==n&&s.to==t)return s;let{text:r,from:l}=s;return l>n&&(r=e.sliceString(n,l)+r,l=n),s.to<t&&(r+=e.sliceString(s.to,t)),le.set(e,new $(l,r)),new $(n,r.slice(n-l,t-l))}}class $e{constructor(e,n,t,s,r){this.text=e,this.to=r,this.done=!1,this.value=Ne,this.matchPos=ee(e,s),this.re=new RegExp(n,ge+(t?.ignoreCase?"i":"")),this.test=t?.test,this.flat=$.get(e,s,this.chunkEnd(s+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==e&&(this.re.lastIndex=e+1,n=this.re.exec(this.flat.text)),n){let t=this.flat.from+n.index,s=t+n[0].length;if((this.flat.to>=this.to||n.index+n[0].length<=this.flat.text.length-10)&&(!this.test||this.test(t,s,n)))return this.value={from:t,to:s,precise:!0,match:n},this.matchPos=ee(this.text,s+(t==s?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=$.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Be.prototype[Symbol.iterator]=$e.prototype[Symbol.iterator]=function(){return this});function Zt(i){try{return new RegExp(i,ge),!0}catch{return!1}}function ee(i,e){if(e>=i.length)return e;let n=i.lineAt(e),t;for(;e<n.to&&(t=n.text.charCodeAt(e-n.from))>=56320&&t<57344;)e++;return e}const Ut=i=>{let e=it(i,"cm-goto-line");if(e){let l=e.dom.querySelector("input[type=text]");return l&&l.select(),!0}let{state:n}=i,t=String(n.doc.lineAt(i.state.selection.main.head).number),{close:s,result:r}=rt(i,{class:"cm-goto-line",label:n.phrase("Go to line"),input:{type:"text",name:"line",value:t},focus:!0,submitLabel:n.phrase("go")});return r.then(l=>{let o=l&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(l.elements.line.value);if(!o){i.dispatch({effects:s});return}let a=n.doc.lineAt(n.selection.main.head),[,c,u,h,f]=o,d=h?+h.slice(1):0,m=u?+u:a.number;if(u&&f){let S=m/100;c&&(S=S*(c=="-"?-1:1)+a.number/n.doc.lines),m=Math.round(n.doc.lines*S)}else u&&c&&(m=m*(c=="-"?-1:1)+a.number);let g=n.doc.line(Math.max(1,Math.min(n.doc.lines,m))),x=M.cursor(g.from+Math.max(0,Math.min(d,g.length)));i.dispatch({effects:[s,O.scrollIntoView(x.from,{y:"center"})],selection:x})}),!0},Jt=({state:i,dispatch:e})=>{let{selection:n}=i,t=M.create(n.ranges.map(s=>i.wordAt(s.head)||M.cursor(s.head)),n.mainIndex);return t.eq(n)?!1:(e(i.update({selection:t})),!0)};function _t(i,e){let{main:n,ranges:t}=i.selection,s=i.wordAt(n.head),r=s&&s.from==n.from&&s.to==n.to;for(let l=!1,o=new K(i.doc,e,t[t.length-1].to);;)if(o.next(),o.done){if(l)return null;o=new K(i.doc,e,0,Math.max(0,t[t.length-1].from-1)),l=!0}else{if(l&&t.some(a=>a.from==o.value.from))continue;if(r){let a=i.wordAt(o.value.from);if(!a||a.from!=o.value.from||a.to!=o.value.to)continue}return o.value}}const en=({state:i,dispatch:e})=>{let{ranges:n}=i.selection;if(n.some(r=>r.from===r.to))return Jt({state:i,dispatch:e});let t=i.sliceDoc(n[0].from,n[0].to);if(i.selection.ranges.some(r=>i.sliceDoc(r.from,r.to)!=t))return!1;let s=_t(i,t);return s?(e(i.update({selection:i.selection.addRange(M.range(s.from,s.to),!1),effects:O.scrollIntoView(s.to)})),!0):!1},I=me.define({combine(i){return pe(i,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new gn(e),scrollToMatch:e=>O.scrollIntoView(e)})}});function tn(i){return i?[I.of(i),ue]:ue}class qe{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||Zt(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(n,t)=>t=="n"?`
2
2
  `:t=="r"?"\r":t=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new an(this):new rn(this)}getCursor(e,n=0,t){let s=e.doc?e:ce.create({doc:e});return t==null&&(t=s.doc.length),this.regexp?B(this,s,n,t):N(this,s,n,t)}}class Ve{constructor(e){this.spec=e}}function nn(i,e,n){return(t,s,r,l)=>{if(n&&!n(t,s,r,l))return!1;let o=t>=l&&s<=l+r.length?r.slice(t-l,s-l):e.doc.sliceString(t,s);return i(o,e,t,s)}}function N(i,e,n,t){let s;return i.wholeWord&&(s=sn(e.doc,e.charCategorizer(e.selection.main.head))),i.test&&(s=nn(i.test,e,s)),new K(e.doc,i.unquoted,n,t,i.caseSensitive?void 0:r=>r.toLowerCase(),s)}function sn(i,e){return(n,t,s,r)=>((r>n||r+s.length<t)&&(r=Math.max(0,n-2),s=i.sliceString(r,Math.min(i.length,t+2))),(e(te(s,n-r))!=L.Word||e(ne(s,n-r))!=L.Word)&&(e(ne(s,t-r))!=L.Word||e(te(s,t-r))!=L.Word))}class rn extends Ve{constructor(e){super(e)}nextMatch(e,n,t){let s=N(this.spec,e,t,e.doc.length).nextOverlapping();if(s.done){let r=Math.min(e.doc.length,n+this.spec.unquoted.length);s=N(this.spec,e,0,r).nextOverlapping()}return s.done||s.value.from==n&&s.value.to==t?null:s.value}prevMatchInRange(e,n,t){for(let s=t;;){let r=Math.max(n,s-1e4-this.spec.unquoted.length),l=N(this.spec,e,r,s),o=null;for(;!l.nextOverlapping().done;)o=l.value;if(o)return o;if(r==n)return null;s-=1e4}}prevMatch(e,n,t){let s=this.prevMatchInRange(e,0,n);return s||(s=this.prevMatchInRange(e,Math.max(0,t-this.spec.unquoted.length),e.doc.length)),s&&(s.from!=n||s.to!=t)?s:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,n){let t=N(this.spec,e,0,e.doc.length),s=[];for(;!t.next().done;){if(s.length>=n)return null;s.push(t.value)}return s}highlight(e,n,t,s){let r=N(this.spec,e,Math.max(0,n-this.spec.unquoted.length),Math.min(t+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)s(r.value.from,r.value.to)}}function on(i,e,n){return(t,s,r)=>(!n||n(t,s,r))&&i(r[0],e,t,s)}function B(i,e,n,t){let s;return i.wholeWord&&(s=ln(e.charCategorizer(e.selection.main.head))),i.test&&(s=on(i.test,e,s)),new Be(e.doc,i.search,{ignoreCase:!i.caseSensitive,test:s},n,t)}function te(i,e){return i.slice(Ee(i,e,!1),e)}function ne(i,e){return i.slice(e,Ee(i,e))}function ln(i){return(e,n,t)=>!t[0].length||(i(te(t.input,t.index))!=L.Word||i(ne(t.input,t.index))!=L.Word)&&(i(ne(t.input,t.index+t[0].length))!=L.Word||i(te(t.input,t.index+t[0].length))!=L.Word)}class an extends Ve{nextMatch(e,n,t){let s=B(this.spec,e,t,e.doc.length).next();return s.done&&(s=B(this.spec,e,0,n).next()),s.done?null:s.value}prevMatchInRange(e,n,t){for(let s=1;;s++){let r=Math.max(n,t-s*1e4),l=B(this.spec,e,r,t),o=null;for(;!l.next().done;)o=l.value;if(o&&(r==n||o.from>r+10))return o;if(r==n)return null}}prevMatch(e,n,t){return this.prevMatchInRange(e,0,n)||this.prevMatchInRange(e,t,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(n,t)=>{if(t=="&")return e.match[0];if(t=="$")return"$";for(let s=t.length;s>0;s--){let r=+t.slice(0,s);if(r>0&&r<e.match.length)return e.match[r]+t.slice(s)}return n})}matchAll(e,n){let t=B(this.spec,e,0,e.doc.length),s=[];for(;!t.next().done;){if(s.length>=n)return null;s.push(t.value)}return s}highlight(e,n,t,s){let r=B(this.spec,e,Math.max(0,n-250),Math.min(t+250,e.doc.length));for(;!r.next().done;)s(r.value.from,r.value.to)}}const j=T.define(),xe=T.define(),Q=V.define({create(i){return new ae(he(i).create(),null)},update(i,e){for(let n of e.effects)n.is(j)?i=new ae(n.value.create(),i.panel):n.is(xe)&&(i=new ae(i.query,n.value?ve:null));return i},provide:i=>Le.from(i,e=>e.panel)});class ae{constructor(e,n){this.query=e,this.panel=n}}const cn=P.mark({class:"cm-searchMatch"}),hn=P.mark({class:"cm-searchMatch cm-searchMatch-selected"}),un=Qe.fromClass(class{constructor(i){this.view=i,this.decorations=this.highlight(i.state.field(Q))}update(i){let e=i.state.field(Q);(e!=i.startState.field(Q)||i.docChanged||i.selectionSet||i.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:i,panel:e}){if(!e||!i.spec.valid)return P.none;let{view:n}=this,t=new _;for(let s=0,r=n.visibleRanges,l=r.length;s<l;s++){let{from:o,to:a}=r[s];for(;s<l-1&&a>r[s+1].from-500;)a=r[++s].to;i.highlight(n.state,o,a,(c,u)=>{let h=n.state.selection.ranges.some(f=>f.from==c&&f.to==u);t.add(c,u,h?hn:cn)})}return t.finish()}},{decorations:i=>i.decorations});function z(i){return e=>{let n=e.state.field(Q,!1);return n&&n.query.spec.valid?i(e,n):be(e)}}const se=z((i,{query:e})=>{let{to:n}=i.state.selection.main,t=e.nextMatch(i.state,n,n);if(!t)return!1;let s=M.single(t.from,t.to),r=i.state.facet(I);return i.dispatch({selection:s,effects:[ye(i,t),r.scrollToMatch(s.main,i)],userEvent:"select.search"}),Ke(i),!0}),ie=z((i,{query:e})=>{let{state:n}=i,{from:t}=n.selection.main,s=e.prevMatch(n,t,t);if(!s)return!1;let r=M.single(s.from,s.to),l=i.state.facet(I);return i.dispatch({selection:r,effects:[ye(i,s),l.scrollToMatch(r.main,i)],userEvent:"select.search"}),Ke(i),!0}),fn=z((i,{query:e})=>{let n=e.matchAll(i.state,1e3);return!n||!n.length?!1:(i.dispatch({selection:M.create(n.map(t=>M.range(t.from,t.to))),userEvent:"select.search.matches"}),!0)}),dn=({state:i,dispatch:e})=>{let n=i.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:t,to:s}=n.main,r=[],l=0;for(let o=new K(i.doc,i.sliceDoc(t,s));!o.next().done;){if(r.length>1e3)return!1;o.value.from==t&&(l=r.length),r.push(M.range(o.value.from,o.value.to))}return e(i.update({selection:M.create(r,l),userEvent:"select.search.matches"})),!0},Me=z((i,{query:e})=>{let{state:n}=i,{from:t,to:s}=n.selection.main;if(n.readOnly)return!1;let r=e.nextMatch(n,t,t);if(!r)return!1;let l=r,o=[],a,c,u=[];l.precise?l.from==t&&l.to==s&&(c=n.toText(e.getReplacement(l)),o.push({from:l.from,to:l.to,insert:c}),l=e.nextMatch(n,l.from,l.to),u.push(O.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(t).number)+"."))):l=e.nextMatch(n,l.from,l.to);let h=i.state.changes(o);return l&&(a=M.single(l.from,l.to).map(h),u.push(ye(i,l)),u.push(n.facet(I).scrollToMatch(a.main,i))),i.dispatch({changes:h,selection:a,effects:u,userEvent:"input.replace"}),!0}),mn=z((i,{query:e})=>{if(i.state.readOnly)return!1;let n=[];for(let s of e.matchAll(i.state,1e9)){let{from:r,to:l,precise:o}=s;o&&n.push({from:r,to:l,insert:e.getReplacement(s)})}if(!n.length)return!1;let t=i.state.phrase("replaced $ matches",n.length)+".";return i.dispatch({changes:n,effects:O.announce.of(t),userEvent:"input.replace.all"}),!0});function ve(i){return i.state.facet(I).createPanel(i)}function he(i,e){var n,t,s,r,l;let o=i.selection.main,a=o.empty||o.to>o.from+100?"":i.sliceDoc(o.from,o.to);if(e&&!a)return e;let c=i.facet(I);return new qe({search:((n=e?.literal)!==null&&n!==void 0?n:c.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(t=e?.caseSensitive)!==null&&t!==void 0?t:c.caseSensitive,literal:(s=e?.literal)!==null&&s!==void 0?s:c.literal,regexp:(r=e?.regexp)!==null&&r!==void 0?r:c.regexp,wholeWord:(l=e?.wholeWord)!==null&&l!==void 0?l:c.wholeWord})}function He(i){let e=de(i,ve);return e&&e.dom.querySelector("[main-field]")}function Ke(i){let e=He(i);e&&e==i.root.activeElement&&e.select()}const be=i=>{let e=i.state.field(Q,!1);if(e&&e.panel){let n=He(i);if(n&&n!=i.root.activeElement){let t=he(i.state,e.query.spec);t.valid&&i.dispatch({effects:j.of(t)}),n.focus(),n.select()}}else i.dispatch({effects:[xe.of(!0),e?j.of(he(i.state,e.query.spec)):T.appendConfig.of(ue)]});return!0},je=i=>{let e=i.state.field(Q,!1);if(!e||!e.panel)return!1;let n=de(i,ve);return n&&n.dom.contains(i.root.activeElement)&&i.focus(),i.dispatch({effects:xe.of(!1)}),!0},pn=[{key:"Mod-f",run:be,scope:"editor search-panel"},{key:"F3",run:se,shift:ie,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:se,shift:ie,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:je,scope:"editor search-panel"},{key:"Mod-Shift-l",run:dn},{key:"Mod-Alt-g",run:Ut},{key:"Mod-d",run:en,preventDefault:!0}];class gn{constructor(e){this.view=e;let n=this.query=e.state.field(Q).query.spec;this.commit=this.commit.bind(this),this.searchField=b("input",{value:n.search,placeholder:k(e,"Find"),"aria-label":k(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=b("input",{value:n.replace,placeholder:k(e,"Replace"),"aria-label":k(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=b("input",{type:"checkbox",name:"case",form:"",checked:n.caseSensitive,onchange:this.commit}),this.reField=b("input",{type:"checkbox",name:"re",form:"",checked:n.regexp,onchange:this.commit}),this.wordField=b("input",{type:"checkbox",name:"word",form:"",checked:n.wholeWord,onchange:this.commit});function t(s,r,l){return b("button",{class:"cm-button",name:s,onclick:r,type:"button"},l)}this.dom=b("div",{onkeydown:s=>this.keydown(s),class:"cm-search"},[this.searchField,t("next",()=>se(e),[k(e,"next")]),t("prev",()=>ie(e),[k(e,"previous")]),t("select",()=>fn(e),[k(e,"all")]),b("label",null,[this.caseField,k(e,"match case")]),b("label",null,[this.reField,k(e,"regexp")]),b("label",null,[this.wordField,k(e,"by word")]),...e.state.readOnly?[]:[b("br"),this.replaceField,t("replace",()=>Me(e),[k(e,"replace")]),t("replaceAll",()=>mn(e),[k(e,"replace all")])],b("button",{name:"close",onclick:()=>je(e),"aria-label":k(e,"close"),type:"button"},["×"])])}commit(){let e=new qe({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:j.of(e)}))}keydown(e){ht(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?ie:se)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),Me(this.view))}update(e){for(let n of e.transactions)for(let t of n.effects)t.is(j)&&!t.value.eq(this.query)&&this.setQuery(t.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(I).top}}function k(i,e){return i.state.phrase(e)}const Y=30,Z=/[\s\.,:;?!]/;function ye(i,{from:e,to:n}){let t=i.state.doc.lineAt(e),s=i.state.doc.lineAt(n).to,r=Math.max(t.from,e-Y),l=Math.min(s,n+Y),o=i.state.sliceDoc(r,l);if(r!=t.from){for(let a=0;a<Y;a++)if(!Z.test(o[a+1])&&Z.test(o[a])){o=o.slice(a);break}}if(l!=s){for(let a=o.length-1;a>o.length-Y;a--)if(!Z.test(o[a-1])&&Z.test(o[a])){o=o.slice(0,a);break}}return O.announce.of(`${i.state.phrase("current match")}. ${o} ${i.state.phrase("on line")} ${t.number}.`)}const xn=O.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),ue=[Q,ot.low(un),xn],vn=ft({String:w.string,Number:w.number,"True False":w.bool,PropertyName:w.propertyName,Null:w.null,", :":w.separator,"[ ]":w.squareBracket,"{ }":w.brace}),bn=ut.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[vn],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),yn=()=>i=>{try{JSON.parse(i.state.doc.toString())}catch(e){if(!(e instanceof SyntaxError))throw e;const n=On(e,i.state.doc);return[{from:n,message:e.message,severity:"error",to:n}]}return[]};function On(i,e){let n;return(n=i.message.match(/at position (\d+)/))?Math.min(+n[1],e.length):(n=i.message.match(/at line (\d+) column (\d+)/))?Math.min(e.line(+n[1]).from+ +n[2]-1,e.length):0}const Xe=mt.define({name:"json",parser:bn.configure({props:[pt.add({Object:ke({except:/^\s*\}/}),Array:ke({except:/^\s*\]/})}),gt.add({"Object Array":xt})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function wn(){return new dt(Xe)}class Pe{constructor(e,n,t){this.from=e,this.to=n,this.diagnostic=t}}class W{constructor(e,n,t){this.diagnostics=e,this.panel=n,this.selected=t}static init(e,n,t){let s=t.facet(R).markerFilter;s&&(e=s(e,t));let r=e.slice().sort((d,m)=>d.from-m.from||d.to-m.to),l=new _,o=[],a=0,c=t.doc.iter(),u=0,h=t.doc.length;for(let d=0;;){let m=d==r.length?null:r[d];if(!m&&!o.length)break;let g,x;if(o.length)g=a,x=o.reduce((v,y)=>Math.min(v,y.to),m&&m.from>g?m.from:1e8);else{if(g=m.from,g>h)break;x=m.to,o.push(m),d++}for(;d<r.length;){let v=r[d];if(v.from==g&&(v.to>v.from||v.to==g))o.push(v),d++,x=Math.min(v.to,x);else{x=Math.min(v.from,x);break}}x=Math.min(x,h);let S=!1;if(o.some(v=>v.from==g&&(v.to==x||x==h))&&(S=g==x,!S&&x-g<10)){let v=g-(u+c.value.length);v>0&&(c.next(v),u=g);for(let y=g;;){if(y>=x){S=!0;break}if(!c.lineBreak&&u+c.value.length>y)break;y=u+c.value.length,u+=c.value.length,c.next()}}let D=_e(o);if(S)l.add(g,g,P.widget({widget:new Qn(D),diagnostics:o.slice()}));else{let v=o.reduce((y,F)=>F.markClass?y+" "+F.markClass:y,"");l.add(g,x,P.mark({class:"cm-lintRange cm-lintRange-"+D+v,diagnostics:o.slice(),inclusiveEnd:o.some(y=>y.to>x)}))}if(a=x,a==h)break;for(let v=0;v<o.length;v++)o[v].to<=a&&o.splice(v--,1)}let f=l.finish();return new W(f,n,E(f))}}function E(i,e=null,n=0){let t=null;return i.between(n,1e9,(s,r,{spec:l})=>{if(!(e&&l.diagnostics.indexOf(e)<0))if(!t)t=new Pe(s,r,e||l.diagnostics[0]);else{if(l.diagnostics.indexOf(t.diagnostic)<0)return!1;t=new Pe(t.from,r,t.diagnostic)}}),t}function Ge(i,e){let n=e.pos,t=e.end||n,s=i.state.facet(R).hideOn(i,n,t);if(s!=null)return s;let r=i.startState.doc.lineAt(e.pos);return!!(i.effects.some(l=>l.is(re))||i.changes.touchesRange(r.from,Math.max(r.to,t)))}function ze(i,e){return i.field(C,!1)?e:e.concat(T.appendConfig.of(st))}function kn(i,e){return{effects:ze(i,[re.of(e)])}}const re=T.define(),Oe=T.define(),Fe=T.define(),C=V.define({create(){return new W(P.none,null,null)},update(i,e){if(e.docChanged&&i.diagnostics.size){let n=i.diagnostics.map(e.changes),t=null,s=i.panel;if(i.selected){let r=e.changes.mapPos(i.selected.from,1);t=E(n,i.selected.diagnostic,r)||E(n,null,r)}!n.size&&s&&e.state.facet(R).autoPanel&&(s=null),i=new W(n,s,t)}for(let n of e.effects)if(n.is(re)){let t=e.state.facet(R).autoPanel?n.value.length?X.open:null:i.panel;i=W.init(n.value,t,e.state)}else n.is(Oe)?i=new W(i.diagnostics,n.value?X.open:null,i.selected):n.is(Fe)&&(i=new W(i.diagnostics,i.panel,n.value));return i},provide:i=>[Le.from(i,e=>e.panel),O.decorations.from(i,e=>e.diagnostics)]}),Cn=P.mark({class:"cm-lintRange cm-lintRange-active"});function Sn(i,e,n){let{diagnostics:t}=i.state.field(C),s,r=-1,l=-1;t.between(e-(n<0?1:0),e+(n>0?1:0),(a,c,{spec:u})=>{if(e>=a&&e<=c&&(a==c||(e>a||n>0)&&(e<c||n<0)))return s=u.diagnostics,r=a,l=c,!1});let o=i.state.facet(R).tooltipFilter;return s&&o&&(s=o(s,i.state)),s?{pos:r,end:l,above:!0,create(){return{dom:Ye(i,s)}}}:null}function Ye(i,e){return b("ul",{class:"cm-tooltip-lint"},e.map(n=>Je(i,n,!1)))}const Mn=i=>{let e=i.state.field(C,!1);(!e||!e.panel)&&i.dispatch({effects:ze(i.state,[Oe.of(!0)])});let n=de(i,X.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},Re=i=>{let e=i.state.field(C,!1);return!e||!e.panel?!1:(i.dispatch({effects:Oe.of(!1)}),!0)},Pn=i=>{let e=i.state.field(C,!1);if(!e)return!1;let n=i.state.selection.main,t=E(e.diagnostics,null,n.to+1);return!t&&(t=E(e.diagnostics,null,0),!t||t.from==n.from&&t.to==n.to)?!1:(i.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0}),vt(i,t.from,1,{tooltip:nt,until:s=>s.docChanged||s.newSelection.main.head<t.from||s.newSelection.main.head>t.to}),!0)},Rn=[{key:"Mod-Shift-m",run:Mn,preventDefault:!0},{key:"F8",run:Pn}],Ze=Qe.fromClass(class{constructor(i){this.view=i,this.timeout=-1,this.set=!0;let{delay:e}=i.state.facet(R);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){clearTimeout(this.timeout);let i=Date.now();if(i<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-i);else{this.set=!1;let{state:e}=this.view,{sources:n}=e.facet(R);n.length&&Tn(n.map(t=>Promise.resolve(t(this.view))),t=>{this.view.state.doc==e.doc&&this.view.dispatch(kn(this.view.state,t.reduce((s,r)=>s.concat(r))))},t=>{wt(this.view.state,t)})}}update(i){let e=i.state.facet(R);(i.docChanged||e!=i.startState.facet(R)||e.needsRefresh&&e.needsRefresh(i))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}});function Tn(i,e,n){let t=[],s=-1;for(let r of i)r.then(l=>{t.push(l),clearTimeout(s),t.length==i.length?e(t):s=setTimeout(()=>e(t),200)},n)}const R=me.define({combine(i){return{sources:i.map(e=>e.source).filter(e=>e!=null),...pe(i.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:Te,tooltipFilter:Te,needsRefresh:(e,n)=>e?n?t=>e(t)||n(t):e:n,hideOn:(e,n)=>e?n?(t,s,r)=>e(t,s,r)||n(t,s,r):e:n,autoPanel:(e,n)=>e||n})}}});function Te(i,e){return i?e?(n,t)=>e(i(n,t),t):i:e}function An(i,e={}){return[R.of({source:i,config:e}),Ze,st]}function Ln(i){let e=i.plugin(Ze);e&&e.force()}function Ue(i){let e=[];if(i)e:for(let{name:n}of i){for(let t=0;t<n.length;t++){let s=n[t];if(/[a-zA-Z]/.test(s)&&!e.some(r=>r.toLowerCase()==s.toLowerCase())){e.push(s);continue e}}e.push("")}return e}function Je(i,e,n){var t;let s=n?Ue(e.actions):[];return b("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},b("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(i):e.message),(t=e.actions)===null||t===void 0?void 0:t.map((r,l)=>{let o=!1,a=d=>{if(d.preventDefault(),o)return;o=!0;let m=E(i.state.field(C).diagnostics,e);m&&r.apply(i,m.from,m.to)},{name:c}=r,u=s[l]?c.indexOf(s[l]):-1,h=u<0?c:[c.slice(0,u),b("u",c.slice(u,u+1)),c.slice(u+1)],f=r.markClass?" "+r.markClass:"";return b("button",{type:"button",class:"cm-diagnosticAction"+f,onclick:a,onmousedown:a,"aria-label":` Action: ${c}${u<0?"":` (access key "${s[l]})"`}.`},h)}),e.source&&b("div",{class:"cm-diagnosticSource"},e.source))}class Qn extends Ot{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return b("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class Ae{constructor(e,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=Je(e,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class X{constructor(e){this.view=e,this.items=[];let n=s=>{if(!(s.ctrlKey||s.altKey||s.metaKey)){if(s.keyCode==27)Re(this.view),this.view.focus();else if(s.keyCode==38||s.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(s.keyCode==40||s.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(s.keyCode==36)this.moveSelection(0);else if(s.keyCode==35)this.moveSelection(this.items.length-1);else if(s.keyCode==13)this.view.focus();else if(s.keyCode>=65&&s.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:r}=this.items[this.selectedIndex],l=Ue(r.actions);for(let o=0;o<l.length;o++)if(l[o].toUpperCase().charCodeAt(0)==s.keyCode){let a=E(this.view.state.field(C).diagnostics,r);a&&r.actions[o].apply(e,a.from,a.to)}}else return;s.preventDefault()}},t=s=>{for(let r=0;r<this.items.length;r++)this.items[r].dom.contains(s.target)&&this.moveSelection(r)};this.list=b("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:n,onclick:t}),this.dom=b("div",{class:"cm-panel-lint"},this.list,b("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>Re(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(C).selected;if(!e)return-1;for(let n=0;n<this.items.length;n++)if(this.items[n].diagnostic==e.diagnostic)return n;return-1}update(){let{diagnostics:e,selected:n}=this.view.state.field(C),t=0,s=!1,r=null,l=new Set;for(e.between(0,this.view.state.doc.length,(o,a,{spec:c})=>{for(let u of c.diagnostics){if(l.has(u))continue;l.add(u);let h=-1,f;for(let d=t;d<this.items.length;d++)if(this.items[d].diagnostic==u){h=d;break}h<0?(f=new Ae(this.view,u),this.items.splice(t,0,f),s=!0):(f=this.items[h],h>t&&(this.items.splice(t,h-t),s=!0)),n&&f.diagnostic==n.diagnostic?f.dom.hasAttribute("aria-selected")||(f.dom.setAttribute("aria-selected","true"),r=f):f.dom.hasAttribute("aria-selected")&&f.dom.removeAttribute("aria-selected"),t++}});t<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)s=!0,this.items.pop();this.items.length==0&&(this.items.push(new Ae(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),s=!0),r?(this.list.setAttribute("aria-activedescendant",r.id),this.view.requestMeasure({key:this,read:()=>({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:o,panel:a})=>{let c=a.height/this.list.offsetHeight;o.top<a.top?this.list.scrollTop-=(a.top-o.top)/c:o.bottom>a.bottom&&(this.list.scrollTop+=(o.bottom-a.bottom)/c)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),s&&this.sync()}sync(){let e=this.list.firstChild;function n(){let t=e;e=t.nextSibling,t.remove()}for(let t of this.items)if(t.dom.parentNode==this.list){for(;e!=t.dom;)n();e=t.dom.nextSibling}else this.list.insertBefore(t.dom,e);for(;e;)n()}moveSelection(e){if(this.selectedIndex<0)return;let n=this.view.state.field(C),t=E(n.diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:Fe.of(t)})}static open(e){return new X(e)}}function J(i,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${e}>${encodeURIComponent(i)}</svg>')`}function U(i){return J(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${i}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const En=O.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:U("#f11")},".cm-lintRange-warning":{backgroundImage:U("orange")},".cm-lintRange-info":{backgroundImage:U("#999")},".cm-lintRange-hint":{backgroundImage:U("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}});function Wn(i){return i=="error"?4:i=="warning"?3:i=="info"?2:1}function _e(i){let e="hint",n=1;for(let t of i){let s=Wn(t.severity);s>n&&(n=s,e=t.severity)}return e}class et extends De{constructor(e){super(),this.diagnostics=e,this.severity=_e(e)}toDOM(e){let n=document.createElement("div");n.className="cm-lint-marker cm-lint-marker-"+this.severity;let t=this.diagnostics,s=e.state.facet(oe).tooltipFilter;return s&&(t=s(t,e.state)),t.length&&(n.onmouseover=()=>Dn(e,n,t)),n}}function In(i,e){let n=t=>{let s=e.getBoundingClientRect();if(!(t.clientX>s.left-10&&t.clientX<s.right+10&&t.clientY>s.top-10&&t.clientY<s.bottom+10)){for(let r=t.target;r;r=r.parentNode)if(r.nodeType==1&&r.classList.contains("cm-tooltip-lint"))return;window.removeEventListener("mousemove",n),i.state.field(tt)&&i.dispatch({effects:we.of(null)})}};window.addEventListener("mousemove",n)}function Dn(i,e,n){function t(){let l=i.elementAtHeight(e.getBoundingClientRect().top+5-i.documentTop);i.coordsAtPos(l.from)&&i.dispatch({effects:we.of({pos:l.from,above:!1,clip:!1,create(){return{dom:Ye(i,n),getCoords:()=>e.getBoundingClientRect()}}})}),e.onmouseout=e.onmousemove=null,In(i,e)}let{hoverTime:s}=i.state.facet(oe),r=setTimeout(t,s);e.onmouseout=()=>{clearTimeout(r),e.onmouseout=e.onmousemove=null},e.onmousemove=()=>{clearTimeout(r),r=setTimeout(t,s)}}function Nn(i,e){let n=Object.create(null);for(let s of e){let r=i.lineAt(s.from);(n[r.from]||(n[r.from]=[])).push(s)}let t=[];for(let s in n)t.push(new et(n[s]).range(+s));return We.of(t,!0)}const Bn=Ie({class:"cm-gutter-lint",markers:i=>i.state.field(fe),widgetMarker:(i,e,n)=>{let t=[];return i.state.field(fe).between(n.from,n.to,(s,r,l)=>{s>n.from&&s<n.to&&t.push(...l.diagnostics)}),t.length?new et(t):null}}),fe=V.define({create(){return We.empty},update(i,e){i=i.map(e.changes);let n=e.state.facet(oe).markerFilter;for(let t of e.effects)if(t.is(re)){let s=t.value;n&&(s=n(s||[],e.state)),i=Nn(e.state.doc,s.slice(0))}return i}}),we=T.define(),tt=V.define({create(){return null},update(i,e){return i&&e.docChanged&&(i=Ge(e,i)?null:{...i,pos:e.changes.mapPos(i.pos)}),e.effects.reduce((n,t)=>t.is(we)?t.value:n,i)},provide:i=>bt.from(i)}),$n=O.baseTheme({".cm-gutter-lint":{width:"1.4em","& .cm-gutterElement":{padding:".2em"}},".cm-lint-marker":{width:"1em",height:"1em"},".cm-lint-marker-info":{content:J('<path fill="#aaf" stroke="#77e" stroke-width="6" stroke-linejoin="round" d="M5 5L35 5L35 35L5 35Z"/>')},".cm-lint-marker-warning":{content:J('<path fill="#fe8" stroke="#fd7" stroke-width="6" stroke-linejoin="round" d="M20 6L37 35L3 35Z"/>')},".cm-lint-marker-error":{content:J('<circle cx="20" cy="20" r="15" fill="#f87" stroke="#f43" stroke-width="6"/>')}}),nt=yt(Sn,{hideOn:Ge}),st=[C,O.decorations.compute([C],i=>{let{selected:e,panel:n}=i.field(C);return!e||!n||e.from==e.to?P.none:P.set([Cn.range(e.from,e.to)])}),nt,En],oe=me.define({combine(i){return pe(i,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});function qn(i={}){return[oe.of(i),fe,Bn,$n,tt]}class H{constructor(e=[],n=H.FIELDS){this.at=e,this.format=n}static FIELDS=Yt;fieldsAt(e){let n=this.format;for(const t of e)n=n?.[t]?.fields;return n}pathTo(e,n){const t=[];for(let s=e;s;s=s.parent)if(s.name==="Property"){const r=s.getChild("PropertyName");r&&t.unshift(n.slice(r.from,r.to).replace(/^"|"$/g,""))}return[...this.at,...t]}keyCompletions(e){return Object.entries(e).map(([n,t])=>({label:`"${n}"`,apply:`"${n}": `,type:t.type==="enum"?"enum":t.type==="object"||t.type==="array"?"class":"property",detail:t.type==="enum"?t.values?.join(" | "):t.type,...t.doc===void 0?{}:{info:t.doc}}))}valueCompletions(e){return(e.values??e.suggest??[]).map(n=>({label:`"${n}"`,apply:`"${n}"`,type:"enum"}))}get source(){return e=>{const n=e.state.doc.toString(),t=kt(e.state).resolveInner(e.pos,-1),s=n.slice(0,e.pos);if(t.name==="PropertyName")return this.keys(this.pathTo(t.parent?.parent??null,n),t.from,t.to);if(t.name==="String"&&t.parent?.name==="Property")return this.values(this.fieldAt(this.pathTo(t.parent,n)),t.from,t.to);if(/:\s*$/.test(s)){const l=t.name==="Property"?t:this.propertyBefore(t,e.pos);return this.values(l?this.fieldAt(this.pathTo(l,n)):void 0,e.pos)}if(!e.explicit&&!/[{,[]\s*$/.test(s))return null;const r=t.name==="Object"?t:t.parent?.name==="Object"?t.parent:t;return this.keys(this.pathTo(r,n),e.pos)}}keys(e,n,t){const s=this.fieldsAt(e);return s===void 0?null:{from:n,...t===void 0?{}:{to:t},options:this.keyCompletions(s),validFor:H.WORD}}values(e,n,t){return e?.values===void 0&&e?.suggest===void 0?null:{from:n,...t===void 0?{}:{to:t},options:this.valueCompletions(e),validFor:H.WORD}}static WORD=/^"?[\w-]*"?$/;fieldAt(e){return this.fieldsAt(e.slice(0,-1))?.[e[e.length-1]]}propertyBefore(e,n){let t;for(let s=e.firstChild;s;s=s.nextSibling)s.name==="Property"&&s.from<n&&(t=s);return t}}class q{static at(e,n){const t=Ce(e,e.doc.length,50);if(t===null)return[];const s=[];let r=null;for(let l=t.resolveInner(n,-1);l!==null;r=l,l=l.parent)if(l.name==="Property"){const o=l.getChild("PropertyName");o!==null&&s.unshift(JSON.parse(e.sliceDoc(o.from,o.to)))}else l.name==="Array"&&r!==null&&s.unshift(q.indexOf(l,r));return s}static range(e,n){const t=Ce(e,e.doc.length,50);if(t===null)return;let s=t.topNode.firstChild,r;for(const l of n){if(s===null)return;if(typeof l=="number"){if(s.name!=="Array"||(s=q.elements(s)[l]??null,s===null))return;r={from:s.from,to:s.to}}else{if(s.name!=="Object")return;let o=null;for(let a=s.firstChild;a!==null;a=a.nextSibling){if(a.name!=="Property")continue;const c=a.getChild("PropertyName");if(c!==null&&JSON.parse(e.sliceDoc(c.from,c.to))===l){o=a;break}}if(o===null)return;r={from:o.from,to:o.to},s=o.lastChild}}return r}static elements(e){const n=[];for(let t=e.firstChild;t!==null;t=t.nextSibling)["[","]",",","LineComment","BlockComment"].includes(t.name)||n.push(t);return n}static indexOf(e,n){return q.elements(e).findIndex(t=>t.from===n.from&&t.to===n.to)}}class A{static MAX_EDITS=1500;static MAX_WORK=1e6;static changed(e,n){return A.compare(e,n).changed}static compare(e,n){let t=0;for(;t<e.length&&t<n.length&&e[t]===n[t];)t++;let s=e.length,r=n.length;for(;s>t&&r>t&&e[s-1]===n[r-1];)s--,r--;const l=e.slice(t,s),o=n.slice(t,r),a=(g,x)=>Array.from({length:Math.max(0,x-g)},(S,D)=>g+D);if(l.length===0)return{changed:a(t,t+o.length),removed:[]};if(o.length===0)return{changed:[],removed:[t]};const c=A.matchedOf(l,o);if(c===void 0){const g=A.nearOf(l,o);return{changed:g.changed.map(x=>t+x),removed:g.removed.map(x=>t+x)}}const u=[],h=[];let f=-1,d=-1;const m=(g,x)=>{g-f-1>x-d-1&&h.push(t+x)};for(let g=0;g<o.length;g++){const x=c.get(g);if(x===void 0){u.push(t+g);continue}m(x,g),f=x,d=g}return m(l.length,o.length),{changed:u,removed:h}}static LOOKAHEAD=64;static nearOf(e,n){const t=[],s=[];let r=0,l=0;const o=(a,c,u)=>{for(let h=1;h<=A.LOOKAHEAD&&c+h<a.length;h++)if(a[c+h]===u)return h;return 0};for(;r<e.length&&l<n.length;){if(e[r]===n[l]){r++,l++;continue}const a=o(n,l,e[r]),c=o(e,r,n[l]);if(a>0&&(c===0||a<=c)){for(let u=0;u<a;u++)t.push(l+u);l+=a}else c>0?(s.push(l),r+=c):(t.push(l),r++,l++)}for(;l<n.length;l++)t.push(l);return r<e.length&&s.push(n.length),{changed:t,removed:s}}static matchedOf(e,n){const t=e.length,s=n.length,r=Math.min(t+s,A.MAX_EDITS),l=r+1,o=new Int32Array(2*r+3),a=[];let c=0;for(let u=0;u<=r;u++){a.push(o.slice());for(let h=-u;h<=u;h+=2){const f=h===-u||h!==u&&o[l+h-1]<o[l+h+1];let d=f?o[l+h+1]:o[l+h-1]+1,m=d-h;for(;d<t&&m<s&&e[d]===n[m];)d++,m++;if(c+=1+d-(f?o[l+h+1]:o[l+h-1]+1),c>A.MAX_WORK)return;if(o[l+h]=d,d>=t&&m>=s)return A.walkBack(a,u,t,s,l)}}}static walkBack(e,n,t,s,r){const l=new Map;let o=t,a=s;for(let c=n;c>0;c--){const u=e[c],h=o-a,d=h===-c||h!==c&&u[r+h-1]<u[r+h+1]?h+1:h-1,m=u[r+d],g=m-d;for(;o>m&&a>g;)o--,a--,l.set(a,o);o=m,a=g}for(;o>0&&a>0;)o--,a--,l.set(a,o);return l}}class G{static CHUNK=65536;static commonPrefix(e,n){const t=Math.min(e.length,n.length),s=G.CHUNK;let r=0;for(;r+s<=t&&e.slice(r,r+s)===n.slice(r,r+s);)r+=s;for(;r<t&&e.charCodeAt(r)===n.charCodeAt(r);)r++;return r}static commonSuffix(e,n,t){const s=G.CHUNK;let r=0;for(;r+s<=t&&e.slice(e.length-r-s,e.length-r)===n.slice(n.length-r-s,n.length-r);)r+=s;for(;r<t&&e.charCodeAt(e.length-1-r)===n.charCodeAt(n.length-1-r);)r++;return r}}class p{static COLOURS=Ct.define([{tag:w.propertyName,color:"var(--file-key)"},{tag:[w.string,w.attributeValue],color:"var(--file-string)"},{tag:[w.number,w.bool,w.null],color:"var(--file-literal)"},{tag:w.invalid,color:"var(--rr0-alert)"}]);view;placement;changing=!1;cachedText;editedSinceWritten=!1;changedField;silent=!1;static SET_BASELINE=T.define();static WHOLE_TEXT=St.define();static marker(e,n){return new class extends De{toDOM(){const t=document.createElement("div");if(t.className=e?"cm-changed-bar":"cm-changed-none",n){const s=document.createElement("div");s.className="cm-removed-tick",t.appendChild(s)}return t}}}static JSON_LINT=yn();static CHANGED_MARKER=p.marker(!0,!1);static REMOVED_MARKER=p.marker(!1,!0);static BOTH_MARKER=p.marker(!0,!0);static REVEAL=T.define();static revealed=V.define({create:()=>null,update:(e,n)=>{for(const t of n.effects)if(t.is(p.REVEAL))return t.value;return e===null?null:{from:n.changes.mapPos(e.from,1),to:n.changes.mapPos(e.to,-1)}},provide:e=>O.decorations.compute([e],n=>{const t=n.field(e),s=new _;if(t!==null)for(let r=n.doc.lineAt(t.from).number;r<=n.doc.lineAt(Math.min(t.to,n.doc.length)).number;r++)s.add(n.doc.line(r).from,n.doc.line(r).from,P.line({class:"cm-revealed-line"}));return s.finish()})});static removedLines(e,n){return new Set([...n].map(t=>Math.min(t,e.doc.lines-1)))}static changeMarks(e){const n=o=>({text:o,doc:Ft.of(o.split(`
3
3
  `))}),t=(o,a,c)=>{const u=c??a.doc.toString(),h=p.commonPrefix(o.text,u);if(h===o.text.length&&h===u.length)return{baseline:o,changed:new Set,removed:new Set};const f=p.commonSuffix(o.text,u,Math.min(o.text.length,u.length)-h),d=a.doc.lineAt(h).number,m=o.doc.lineAt(o.text.length-f).number,g=a.doc.lineAt(u.length-f).number,x=(y,F)=>y.sliceString(y.line(d).from,y.line(F).to).split(`
4
4
  `),{changed:S,removed:D}=A.compare(x(o.doc,m),x(a.doc,g)),v=d-1;return{baseline:o,changed:new Set(S.map(y=>y+v)),removed:new Set(D.map(y=>y+v))}},s=V.define({create:o=>t(n(e),o),update:(o,a)=>{let c=o.baseline;for(const u of a.effects)u.is(p.SET_BASELINE)&&(c=n(u.value));return!a.docChanged&&c===o.baseline?o:t(c,a.state,a.annotation(p.WHOLE_TEXT))}}),r=O.decorations.compute([s],o=>{const a=o.field(s),c=p.removedLines(o,a.removed),u=new Set([...a.changed,...c]),h=new _;for(const f of[...u].sort((d,m)=>d-m)){if(f>=o.doc.lines)continue;const d=[a.changed.has(f)?"cm-changed-line":"",[...a.removed].some(m=>m===f)?"cm-removed-above":"",[...a.removed].some(m=>m>=o.doc.lines)&&f===o.doc.lines-1?"cm-removed-below":""].filter(Boolean).join(" ");h.add(o.doc.line(f+1).from,o.doc.line(f+1).from,P.line({class:d}))}return h.finish()}),l=Ie({class:"cm-changed-gutter",lineMarker:(o,a)=>{const c=o.state.field(s),u=o.state.doc.lineAt(a.from).number-1,h=c.changed.has(u),f=p.removedLines(o.state,c.removed).has(u);return h&&f?p.BOTH_MARKER:h?p.CHANGED_MARKER:f?p.REMOVED_MARKER:null},lineMarkerChange:o=>o.docChanged||o.transactions.some(a=>a.effects.some(c=>c.is(p.SET_BASELINE))),initialSpacer:()=>p.CHANGED_MARKER});return{field:s,extensions:[s,r,l]}}constructor(e,n,t,s,r={}){const l=[...Dt,...Nt,...Bt,...$t,...qt,...Rn,...pn,Vt],o=p.changeMarks(r.baseline??n);this.changedField=o.field,l.unshift({key:"F7",run:()=>this.gotoChange(1),preventDefault:!0},{key:"Shift-F7",run:()=>this.gotoChange(-1),preventDefault:!0}),this.view=new O({...p.rootOf(e),doc:n,extensions:[...o.extensions,p.revealed,Mt(),tn({top:!0}),ce.phrases.of(r.phrases??{}),Pt(),Rt(),Tt(),At(),Lt(),Qt(),Et(),Wt(),It.of(l),ce.tabSize.of(2),Ht(p.COLOURS,{fallback:!0}),wn(),Xe.data.of({autocomplete:new H([],r.schema).source}),qn(),An(a=>a.dom.isConnected?p.JSON_LINT(a):[]),O.contentAttributes.of({"aria-label":s}),O.theme({"&":{maxHeight:"28rem",fontSize:"0.82em",border:"1px solid color-mix(in srgb, currentColor 25%, transparent)",borderRadius:"4px"},"&.cm-focused":{outline:"2px solid color-mix(in srgb, currentColor 45%, transparent)"},".cm-scroller":{overflow:"auto",fontFamily:"ui-monospace, SFMono-Regular, Menlo, monospace"},".cm-tooltip":{backgroundColor:"Canvas",color:"CanvasText",border:"1px solid color-mix(in srgb, CanvasText 30%, transparent)"},".cm-tooltip-autocomplete > ul > li[aria-selected]":{backgroundColor:"Highlight",color:"HighlightText"},".cm-cursor, .cm-dropCursor":{borderLeftColor:"currentColor"},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground":{backgroundColor:"color-mix(in srgb, currentColor 22%, transparent)"},".cm-gutters":{backgroundColor:"transparent",color:"color-mix(in srgb, currentColor 55%, transparent)",border:"none"},".cm-changed-gutter":{width:"4px"},".cm-changed-bar":{width:"3px",height:"100%",backgroundColor:"#2f81f7"},".cm-changed-gutter .cm-gutterElement":{position:"relative"},".cm-changed-none":{width:"3px",height:"100%"},".cm-removed-tick":{position:"absolute",left:"0",top:"0",width:"0",height:"0",borderTop:"4px solid transparent",borderBottom:"4px solid transparent",borderLeft:"6px solid #e5534b"},".cm-removed-above":{boxShadow:"inset 0 2px 0 #e5534b"},".cm-removed-below":{boxShadow:"inset 0 -2px 0 #e5534b"},".cm-changed-line":{backgroundColor:"color-mix(in srgb, #2f81f7 13%, transparent)"},".cm-revealed-line":{backgroundColor:"color-mix(in srgb, #f2cc60 30%, transparent)",boxShadow:"inset 3px 0 0 #f2cc60"},".cm-panels":{backgroundColor:"color-mix(in srgb, currentColor 6%, var(--ground-raised, Canvas))",color:"inherit",borderColor:"color-mix(in srgb, currentColor 25%, transparent)"},".cm-panels-top":{top:"calc(-1 * var(--group-panel-padding-top, 0px))"},".cm-panel.cm-search input, .cm-panel.cm-search button":{fontSize:"inherit",color:"inherit"},".cm-panel.cm-search input[type=text], .cm-panel.cm-search input:not([type])":{backgroundColor:"color-mix(in srgb, currentColor 8%, transparent)",border:"1px solid color-mix(in srgb, currentColor 35%, transparent)",borderRadius:"3px",padding:"2px 5px"},".cm-panel.cm-search button":{backgroundImage:"none",backgroundColor:"color-mix(in srgb, currentColor 12%, transparent)",border:"1px solid color-mix(in srgb, currentColor 35%, transparent)",borderRadius:"3px"},".cm-panel.cm-search label, .cm-panel.cm-search [name=close]":{color:"inherit"},".cm-searchMatch":{backgroundColor:"color-mix(in srgb, #f2cc60 40%, transparent)"},".cm-searchMatch-selected":{backgroundColor:"color-mix(in srgb, #f2cc60 75%, transparent)"}}),O.updateListener.of(a=>{a.docChanged&&(this.cachedText=void 0),a.docChanged&&!this.changing&&(this.editedSinceWritten=!0,t(this.text)),a.selectionSet&&!this.silent&&!this.changing&&a.view.hasFocus&&(a.state.field(p.revealed)!==null&&queueMicrotask(()=>this.view.dispatch({effects:p.REVEAL.of(null)})),r.caretMoved?.(q.at(a.state,a.state.selection.main.head)))})]}),this.placement=this.placeWhileShown(e)}placeWhileShown(e){const n=()=>{e.append(this.view.dom),Ln(this.view);const{root:s}=p.rootOf(e);s&&s!==this.view.root&&this.view.setRoot(s)};if((typeof e.checkVisibility!="function"||e.checkVisibility())&&n(),typeof ResizeObserver>"u")return;const t=new ResizeObserver(s=>{const r=s[s.length-1].contentRect.width>0;r&&!this.view.dom.isConnected?(n(),this.view.requestMeasure()):!r&&this.view.dom.isConnected&&this.view.dom.remove()});return t.observe(e),t}get text(){return this.cachedText??=this.view.state.doc.toString()}get edited(){return this.editedSinceWritten}set text(e){this.replaceText(e,!1)}replaceText(e,n){const t=this.text;if(e!==t){this.changing=!0;try{const s=Math.min(this.view.state.selection.main.head,e.length);this.view.dispatch({changes:p.changesBetween(t,e),selection:{anchor:s},annotations:[Kt.of("full"),p.WHOLE_TEXT.of(e)]})}finally{this.changing=!1}this.cachedText=e,this.editedSinceWritten=!1,n&&this.revealChange(t,p.MOST_LINES_SHOWN)}}static rootOf(e){const n=e.getRootNode();return n instanceof Document||n instanceof ShadowRoot?{root:n}:{}}static changeBetween(e,n){const t=p.commonPrefix(e,n),s=p.commonSuffix(e,n,Math.min(e.length,n.length)-t);return{from:t,to:e.length-s,insert:n.slice(t,n.length-s)}}static changesBetween(e,n){const t=p.commonPrefix(e,n);if(t===e.length&&t===n.length)return[];const s=p.commonSuffix(e,n,Math.min(e.length,n.length)-t),r=e.lastIndexOf(`
@@ -1 +1 @@
1
- import{s as e}from"./SightingLabels_en-oIpytoq_.js";const i={...e,accountBy:"Observation of",unnamedObserver:"Witness {n}",about:"About",close:"Close",observation:"Observation",date:"Date",location:"Location",case:"Case",caseInterviews:"The interviews of this case",description:"Description",source:"Source",basis:{established:"established",measured:"measured",stated:"stated",derived:"derived",assumed:"assumed",fitted:"fitted"},credits:"Credits",editThisObservation:"Edit this observation",share:"Share",embedObservation:"Embed the observation",back:"Back",shareScope:"Share",shareScopeCase:"Whole case",shareOpensOn:"Opens on",shareStartAt:"Start at",shareOptionLabels:"Show summary chips",shareOptionMap:"Open map",shareOptionMilestones:"Show moments",shareOptionCompare:"Compare account",showLabels:"Show what it states",interpretation:"Reading",account:"Account",interpretationBy:"{title}, by {by}",confrontation:"Against the account",confrontationDirection:"{deg}° off",readingVerdict:{incompatible:"Contradicts what is established",unsettled:"Not settled",compatible:"Compatible"},findingOutcome:{holds:"Holds",fails:"Fails",untested:"Could not be tested"},findingAgainst:{established:"against what is established",supposed:"against a supposition"},readingChip:"{verdict} · {n} findings",readingLabel:"Reading",readingChipOne:"{verdict} · 1 finding",confrontationWidth:"width ×{ratio}",confrontationHeight:"height ×{ratio}",showComparison:"Compare with the account",hideComparison:"Stop comparing with the account",hideLabels:"Hide what it states",variant:"Variant: {name}",verdicts:{consolidated:"compatible with consolidated biases",contested:"only by invoking contested biases",incompatible:"incompatible even at the bounds"},variantFields:{time:"Time",heading:"Heading",elevation:"Elevation",size:"Size",duration:"Duration",sweep:"Sweep across the sky"},variantReadings:{grouped:"lights read as one body","still-seen-moving":"a still light seen moving","moving-seen-still":"a moving light seen hovering","brightening-as-approach":"growing brighter read as coming nearer"}};export{i as sightingMessages_en};
1
+ import{s as e}from"./SightingLabels_en-oIpytoq_.js";const i={...e,accountBy:"Observation of",unnamedObserver:"Witness {n}",about:"About",close:"Close",observation:"Observation",date:"Date",location:"Location",case:"Case",caseInterviews:"The interviews of this case",description:"Description",source:"Source",basis:{established:"established",measured:"measured",stated:"stated",derived:"derived",assumed:"assumed",fitted:"fitted"},credits:"Credits",editThisObservation:"Edit this observation",share:"Share",embedObservation:"Embed the observation",back:"Back",shareScope:"Share",shareScopeCase:"Whole case",shareOpensOn:"Opens on",shareStartAt:"Start at",shareOptionLabels:"Show summary chips",shareOptionMap:"Open map",shareOptionMilestones:"Show moments",shareOptionCompare:"Compare account",showLabels:"Show what it states",interpretation:"Reading",account:"Account",interpretationBy:"{title}, by {by}",confrontation:"Against the account",confrontationDirection:"{deg}° off",readingVerdict:{incompatible:"Contradicts what is established",unsettled:"Not settled",compatible:"Compatible"},findingOutcome:{holds:"Holds",fails:"Fails",untested:"Could not be tested"},findingAgainst:{established:"against what is established",supposed:"against a supposition"},readingChip:"{verdict} · {n} findings",readingLabel:"Reading",readingChipOne:"{verdict} · 1 finding",confrontationWidth:"width ×{ratio}",confrontationHeight:"height ×{ratio}",showComparison:"Compare with the account",hideComparison:"Stop comparing with the account",hideLabels:"Hide what it states",variant:"Variant: {name}",verdicts:{consolidated:"compatible with consolidated biases",contested:"only by invoking contested biases",incompatible:"incompatible even at the bounds"},variantFields:{date:"Date",time:"Time",heading:"Heading",elevation:"Elevation",size:"Size",duration:"Duration",sweep:"Sweep across the sky"},variantReadings:{grouped:"lights read as one body","still-seen-moving":"a still light seen moving","moving-seen-still":"a moving light seen hovering","brightening-as-approach":"growing brighter read as coming nearer"}};export{i as sightingMessages_en};
@@ -1 +1 @@
1
- import{s as e}from"./SightingLabels_es-DUh1CTXl.js";const o={...e,accountBy:"Observación de",unnamedObserver:"Testigo {n}",about:"Acerca de",close:"Cerrar",observation:"Observación",date:"Fecha",location:"Lugar",case:"Caso",caseInterviews:"Las entrevistas de este caso",description:"Descripción",source:"Fuente",basis:{established:"establecido",measured:"medido",stated:"declarado",derived:"deducido",assumed:"supuesto",fitted:"ajustado"},credits:"Créditos",editThisObservation:"Editar esta observación",share:"Compartir",embedObservation:"Insertar la observación",back:"Volver",shareScope:"Compartir",shareScopeCase:"El caso entero",shareOpensOn:"Se abre en",shareStartAt:"Empezar en",shareOptionLabels:"Mostrar los chips",shareOptionMap:"Abrir el mapa",shareOptionMilestones:"Mostrar los momentos",shareOptionCompare:"Comparar con el relato",showLabels:"Mostrar lo que indica",interpretation:"Lectura",account:"Relato",interpretationBy:"{title}, por {by}",confrontation:"Frente al relato",confrontationDirection:"desvío de {deg}°",readingVerdict:{incompatible:"Contradice lo establecido",unsettled:"Sin resolver",compatible:"Compatible"},findingOutcome:{holds:"Se sostiene",fails:"Falla",untested:"No se pudo probar"},findingAgainst:{established:"contra un elemento establecido",supposed:"contra una suposición"},readingChip:"{verdict} · {n} pruebas",readingLabel:"Lectura",readingChipOne:"{verdict} · 1 prueba",confrontationWidth:"anchura ×{ratio}",confrontationHeight:"altura ×{ratio}",showComparison:"Comparar con el relato",hideComparison:"Dejar de comparar con el relato",hideLabels:"Ocultar lo que indica",variant:"Variante: {name}",verdicts:{consolidated:"compatible con sesgos consolidados",contested:"solo invocando sesgos discutidos",incompatible:"incompatible incluso en los límites"},variantFields:{time:"Hora",heading:"Dirección",elevation:"Altura",size:"Tamaño",duration:"Duración",sweep:"Recorrido en el cielo"},variantReadings:{grouped:"luces leídas como un solo cuerpo","still-seen-moving":"una luz fija vista en movimiento","moving-seen-still":"una luz en movimiento vista inmóvil","brightening-as-approach":"un brillo creciente leído como un acercamiento"}};export{o as sightingMessages_es};
1
+ import{s as e}from"./SightingLabels_es-DUh1CTXl.js";const o={...e,accountBy:"Observación de",unnamedObserver:"Testigo {n}",about:"Acerca de",close:"Cerrar",observation:"Observación",date:"Fecha",location:"Lugar",case:"Caso",caseInterviews:"Las entrevistas de este caso",description:"Descripción",source:"Fuente",basis:{established:"establecido",measured:"medido",stated:"declarado",derived:"deducido",assumed:"supuesto",fitted:"ajustado"},credits:"Créditos",editThisObservation:"Editar esta observación",share:"Compartir",embedObservation:"Insertar la observación",back:"Volver",shareScope:"Compartir",shareScopeCase:"El caso entero",shareOpensOn:"Se abre en",shareStartAt:"Empezar en",shareOptionLabels:"Mostrar los chips",shareOptionMap:"Abrir el mapa",shareOptionMilestones:"Mostrar los momentos",shareOptionCompare:"Comparar con el relato",showLabels:"Mostrar lo que indica",interpretation:"Lectura",account:"Relato",interpretationBy:"{title}, por {by}",confrontation:"Frente al relato",confrontationDirection:"desvío de {deg}°",readingVerdict:{incompatible:"Contradice lo establecido",unsettled:"Sin resolver",compatible:"Compatible"},findingOutcome:{holds:"Se sostiene",fails:"Falla",untested:"No se pudo probar"},findingAgainst:{established:"contra un elemento establecido",supposed:"contra una suposición"},readingChip:"{verdict} · {n} pruebas",readingLabel:"Lectura",readingChipOne:"{verdict} · 1 prueba",confrontationWidth:"anchura ×{ratio}",confrontationHeight:"altura ×{ratio}",showComparison:"Comparar con el relato",hideComparison:"Dejar de comparar con el relato",hideLabels:"Ocultar lo que indica",variant:"Variante: {name}",verdicts:{consolidated:"compatible con sesgos consolidados",contested:"solo invocando sesgos discutidos",incompatible:"incompatible incluso en los límites"},variantFields:{date:"Fecha",time:"Hora",heading:"Dirección",elevation:"Altura",size:"Tamaño",duration:"Duración",sweep:"Recorrido en el cielo"},variantReadings:{grouped:"luces leídas como un solo cuerpo","still-seen-moving":"una luz fija vista en movimiento","moving-seen-still":"una luz en movimiento vista inmóvil","brightening-as-approach":"un brillo creciente leído como un acercamiento"}};export{o as sightingMessages_es};
@@ -1 +1 @@
1
- import{s as e}from"./SightingLabels_fr-D69zENbW.js";const i={...e,accountBy:"Observation de",unnamedObserver:"Témoin {n}",about:"À propos",close:"Fermer",observation:"Observation",date:"Date",location:"Lieu",case:"Dossier",caseInterviews:"Les interviews de ce dossier",description:"Description",source:"Source",basis:{established:"établi",measured:"mesuré",stated:"énoncé",derived:"déduit",assumed:"supposé",fitted:"ajusté"},credits:"Crédits",editThisObservation:"Éditer cette observation",share:"Partager",embedObservation:"Intégrer l'observation",back:"Retour",shareScope:"Partager",shareScopeCase:"Le dossier entier",shareOpensOn:"S'ouvre sur",shareStartAt:"Commencer à",shareOptionLabels:"Afficher les chips",shareOptionMap:"Ouvrir la carte",shareOptionMilestones:"Afficher les moments",shareOptionCompare:"Comparer au compte rendu",showLabels:"Afficher ce qu'elle indique",interpretation:"Lecture",account:"Compte rendu",interpretationBy:"{title}, par {by}",confrontation:"Face au compte rendu",confrontationDirection:"écart de {deg}°",readingVerdict:{incompatible:"Contredit ce qui est établi",unsettled:"Non tranchée",compatible:"Compatible"},findingOutcome:{holds:"Tient",fails:"Échoue",untested:"Non testable"},findingAgainst:{established:"contre un élément établi",supposed:"contre une supposition"},readingChip:"{verdict} · {n} constats",readingLabel:"Lecture",readingChipOne:"{verdict} · 1 constat",confrontationWidth:"largeur ×{ratio}",confrontationHeight:"hauteur ×{ratio}",showComparison:"Comparer au compte rendu",hideComparison:"Ne plus comparer au compte rendu",hideLabels:"Masquer ce qu'elle indique",variant:"Variante : {name}",verdicts:{consolidated:"compatible avec des biais consolidés",contested:"seulement en invoquant des biais contestés",incompatible:"incompatible même aux bornes"},variantFields:{time:"Heure",heading:"Direction",elevation:"Hauteur",size:"Taille",duration:"Durée",sweep:"Balayage dans le ciel"},variantReadings:{grouped:"des lumières lues comme un seul corps","still-seen-moving":"une lumière fixe vue en mouvement","moving-seen-still":"une lumière en mouvement vue immobile","brightening-as-approach":"un éclat croissant lu comme un rapprochement"}};export{i as sightingMessages_fr};
1
+ import{s as e}from"./SightingLabels_fr-D69zENbW.js";const i={...e,accountBy:"Observation de",unnamedObserver:"Témoin {n}",about:"À propos",close:"Fermer",observation:"Observation",date:"Date",location:"Lieu",case:"Dossier",caseInterviews:"Les interviews de ce dossier",description:"Description",source:"Source",basis:{established:"établi",measured:"mesuré",stated:"énoncé",derived:"déduit",assumed:"supposé",fitted:"ajusté"},credits:"Crédits",editThisObservation:"Éditer cette observation",share:"Partager",embedObservation:"Intégrer l'observation",back:"Retour",shareScope:"Partager",shareScopeCase:"Le dossier entier",shareOpensOn:"S'ouvre sur",shareStartAt:"Commencer à",shareOptionLabels:"Afficher les chips",shareOptionMap:"Ouvrir la carte",shareOptionMilestones:"Afficher les moments",shareOptionCompare:"Comparer au compte rendu",showLabels:"Afficher ce qu'elle indique",interpretation:"Lecture",account:"Compte rendu",interpretationBy:"{title}, par {by}",confrontation:"Face au compte rendu",confrontationDirection:"écart de {deg}°",readingVerdict:{incompatible:"Contredit ce qui est établi",unsettled:"Non tranchée",compatible:"Compatible"},findingOutcome:{holds:"Tient",fails:"Échoue",untested:"Non testable"},findingAgainst:{established:"contre un élément établi",supposed:"contre une supposition"},readingChip:"{verdict} · {n} constats",readingLabel:"Lecture",readingChipOne:"{verdict} · 1 constat",confrontationWidth:"largeur ×{ratio}",confrontationHeight:"hauteur ×{ratio}",showComparison:"Comparer au compte rendu",hideComparison:"Ne plus comparer au compte rendu",hideLabels:"Masquer ce qu'elle indique",variant:"Variante : {name}",verdicts:{consolidated:"compatible avec des biais consolidés",contested:"seulement en invoquant des biais contestés",incompatible:"incompatible même aux bornes"},variantFields:{date:"Date",time:"Heure",heading:"Direction",elevation:"Hauteur",size:"Taille",duration:"Durée",sweep:"Balayage dans le ciel"},variantReadings:{grouped:"des lumières lues comme un seul corps","still-seen-moving":"une lumière fixe vue en mouvement","moving-seen-still":"une lumière en mouvement vue immobile","brightening-as-approach":"un éclat croissant lu comme un rapprochement"}};export{i as sightingMessages_fr};
@@ -1 +1 @@
1
- import{s as e}from"./SightingLabels_it-COLZ2Qth.js";const o={...e,accountBy:"Osservazione di",unnamedObserver:"Testimone {n}",about:"Informazioni",close:"Chiudi",observation:"Osservazione",date:"Data",location:"Luogo",case:"Caso",caseInterviews:"Le interviste di questo caso",description:"Descrizione",source:"Fonte",basis:{established:"accertato",measured:"misurato",stated:"dichiarato",derived:"dedotto",assumed:"supposto",fitted:"adattato"},credits:"Crediti",editThisObservation:"Modifica questa osservazione",share:"Condividi",embedObservation:"Incorpora l'osservazione",back:"Indietro",shareScope:"Condividi",shareScopeCase:"Il caso intero",shareOpensOn:"Si apre su",shareStartAt:"Inizia a",shareOptionLabels:"Mostra i chip",shareOptionMap:"Apri la mappa",shareOptionMilestones:"Mostra i momenti",shareOptionCompare:"Confronta col resoconto",showLabels:"Mostra ciò che indica",interpretation:"Lettura",account:"Resoconto",interpretationBy:"{title}, di {by}",confrontation:"A confronto con il resoconto",confrontationDirection:"scarto di {deg}°",readingVerdict:{incompatible:"Contraddice ciò che è accertato",unsettled:"Non decisa",compatible:"Compatibile"},findingOutcome:{holds:"Regge",fails:"Fallisce",untested:"Non verificabile"},findingAgainst:{established:"contro un elemento accertato",supposed:"contro una supposizione"},readingChip:"{verdict} · {n} verifiche",readingLabel:"Lettura",readingChipOne:"{verdict} · 1 verifica",confrontationWidth:"larghezza ×{ratio}",confrontationHeight:"altezza ×{ratio}",showComparison:"Confronta con il resoconto",hideComparison:"Smetti di confrontare con il resoconto",hideLabels:"Nascondi ciò che indica",variant:"Variante: {name}",verdicts:{consolidated:"compatibile con distorsioni consolidate",contested:"solo invocando distorsioni contestate",incompatible:"incompatibile anche ai limiti"},variantFields:{time:"Ora",heading:"Direzione",elevation:"Altezza",size:"Dimensione",duration:"Durata",sweep:"Percorso nel cielo"},variantReadings:{grouped:"luci lette come un solo corpo","still-seen-moving":"una luce ferma vista muoversi","moving-seen-still":"una luce in moto vista immobile","brightening-as-approach":"una luminosità crescente letta come un avvicinamento"}};export{o as sightingMessages_it};
1
+ import{s as e}from"./SightingLabels_it-COLZ2Qth.js";const o={...e,accountBy:"Osservazione di",unnamedObserver:"Testimone {n}",about:"Informazioni",close:"Chiudi",observation:"Osservazione",date:"Data",location:"Luogo",case:"Caso",caseInterviews:"Le interviste di questo caso",description:"Descrizione",source:"Fonte",basis:{established:"accertato",measured:"misurato",stated:"dichiarato",derived:"dedotto",assumed:"supposto",fitted:"adattato"},credits:"Crediti",editThisObservation:"Modifica questa osservazione",share:"Condividi",embedObservation:"Incorpora l'osservazione",back:"Indietro",shareScope:"Condividi",shareScopeCase:"Il caso intero",shareOpensOn:"Si apre su",shareStartAt:"Inizia a",shareOptionLabels:"Mostra i chip",shareOptionMap:"Apri la mappa",shareOptionMilestones:"Mostra i momenti",shareOptionCompare:"Confronta col resoconto",showLabels:"Mostra ciò che indica",interpretation:"Lettura",account:"Resoconto",interpretationBy:"{title}, di {by}",confrontation:"A confronto con il resoconto",confrontationDirection:"scarto di {deg}°",readingVerdict:{incompatible:"Contraddice ciò che è accertato",unsettled:"Non decisa",compatible:"Compatibile"},findingOutcome:{holds:"Regge",fails:"Fallisce",untested:"Non verificabile"},findingAgainst:{established:"contro un elemento accertato",supposed:"contro una supposizione"},readingChip:"{verdict} · {n} verifiche",readingLabel:"Lettura",readingChipOne:"{verdict} · 1 verifica",confrontationWidth:"larghezza ×{ratio}",confrontationHeight:"altezza ×{ratio}",showComparison:"Confronta con il resoconto",hideComparison:"Smetti di confrontare con il resoconto",hideLabels:"Nascondi ciò che indica",variant:"Variante: {name}",verdicts:{consolidated:"compatibile con distorsioni consolidate",contested:"solo invocando distorsioni contestate",incompatible:"incompatibile anche ai limiti"},variantFields:{date:"Data",time:"Ora",heading:"Direzione",elevation:"Altezza",size:"Dimensione",duration:"Durata",sweep:"Percorso nel cielo"},variantReadings:{grouped:"luci lette come un solo corpo","still-seen-moving":"una luce ferma vista muoversi","moving-seen-still":"una luce in moto vista immobile","brightening-as-approach":"una luminosità crescente letta come un avvicinamento"}};export{o as sightingMessages_it};
@@ -1,4 +1,4 @@
1
- import{I as u}from"./SaidPosition-CXZLm-ck.js";class p{constructor(t,a,e){this.host=t,this.seek=a,this.messages=e,t.classList.add("timeline-tracks"),this.scroll=document.createElement("div"),this.scroll.className="track-scroll",this.scroll.hidden=!0,this.thumb=document.createElement("div"),this.thumb.className="thumb",this.scroll.append(this.thumb),this.scroll.addEventListener("pointerdown",s=>this.dragWindow(s)),t.addEventListener("wheel",s=>this.wheel(s),{passive:!1})}static CSS=`
1
+ import{I as u}from"./SaidPosition-OJEYhVKN.js";class p{constructor(t,a,e){this.host=t,this.seek=a,this.messages=e,t.classList.add("timeline-tracks"),this.scroll=document.createElement("div"),this.scroll.className="track-scroll",this.scroll.hidden=!0,this.thumb=document.createElement("div"),this.thumb.className="thumb",this.scroll.append(this.thumb),this.scroll.addEventListener("pointerdown",s=>this.dragWindow(s)),t.addEventListener("wheel",s=>this.wheel(s),{passive:!1})}static CSS=`
2
2
  .timeline-tracks { display: grid; grid-template-columns: max-content minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 10px 14px 12px; }
3
3
  .timeline-tracks[hidden] { display: none; }
4
4
  .track-name { display: inline-block; justify-self: start; min-height: 0; padding: 2px 0; border: 0; background: none; color: var(--ink-dim, inherit); font: 600 12px/1.3 var(--sans, inherit); cursor: pointer; }
@@ -1,4 +1,4 @@
1
- import{bl as ee,bh as F,bm as G,bn as M,bo as te,bp as j,bq as $,b7 as E,br as ie,bs as O,bt as J,ba as ne,bu as I,bb as se,b9 as B,bv as oe,b5 as ae,bw as re,b2 as le,b4 as ce,bx as de,bg as fe,by as ue,bz as pe,bA as he,bB as me,bC as V}from"./ShareDialogElement--Mjaublp.js";import{g as ge}from"./SaidPosition-CXZLm-ck.js";import"./rr0-ufoathome.mjs";import"./Sighting-Ch4eiBNK.js";import"./VisualAids-DI-hEL46.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./Obstacles-v9SkfBD7.js";const k=new j,P=new E;class Q extends ee{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry";const e=[-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],n=[-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],i=[0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5];this.setIndex(i),this.setAttribute("position",new F(e,3)),this.setAttribute("uv",new F(n,2))}applyMatrix4(e){const n=this.attributes.instanceStart,i=this.attributes.instanceEnd;return n!==void 0&&(n.applyMatrix4(e),i.applyMatrix4(e),n.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}setPositions(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new G(n,6,1);return this.setAttribute("instanceStart",new M(i,3,0)),this.setAttribute("instanceEnd",new M(i,3,3)),this.instanceCount=this.attributes.instanceStart.count,this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new G(n,6,1);return this.setAttribute("instanceColorStart",new M(i,3,0)),this.setAttribute("instanceColorEnd",new M(i,3,3)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new te(e.geometry)),this}fromLineSegments(e){const n=e.geometry;return this.setPositions(n.attributes.position.array),this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new j);const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;e!==void 0&&n!==void 0&&(this.boundingBox.setFromBufferAttribute(e),k.setFromBufferAttribute(n),this.boundingBox.union(k))}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new $),this.boundingBox===null&&this.computeBoundingBox();const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;if(e!==void 0&&n!==void 0){const i=this.boundingSphere.center;this.boundingBox.getCenter(i);let t=0;for(let o=0,l=e.count;o<l;o++)P.fromBufferAttribute(e,o),t=Math.max(t,i.distanceToSquared(P)),P.fromBufferAttribute(n,o),t=Math.max(t,i.distanceToSquared(P));this.boundingSphere.radius=Math.sqrt(t),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}}I.line={worldUnits:{value:1},linewidth:{value:1},resolution:{value:new ne},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}};O.line={uniforms:J.merge([I.common,I.fog,I.line]),vertexShader:`
1
+ import{aF as ee,a0 as F,aG as G,aH as M,aI as te,a8 as j,av as Z,V as E,S as ie,aJ as I,aK as $,j as ne,aL as O,M as se,p as B,aq as oe,a2 as ae,aM as re,I as le,C as ce,w as de,q as fe,J as ue,ai as pe,y as he,ah as V}from"./three.module-CbaHqYFq.js";import{b0 as me}from"./ShareDialogElement-CBeU9ChH.js";import{g as ge}from"./GeoProjection-DvqDbRIx.js";import"./rr0-ufoathome.mjs";import"./Sighting-B7bsiTIQ.js";import"./VisualAids-DI-hEL46.js";import"./SaidPosition-OJEYhVKN.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";const k=new j,P=new E;class Q extends ee{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry";const e=[-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],n=[-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],i=[0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5];this.setIndex(i),this.setAttribute("position",new F(e,3)),this.setAttribute("uv",new F(n,2))}applyMatrix4(e){const n=this.attributes.instanceStart,i=this.attributes.instanceEnd;return n!==void 0&&(n.applyMatrix4(e),i.applyMatrix4(e),n.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}setPositions(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new G(n,6,1);return this.setAttribute("instanceStart",new M(i,3,0)),this.setAttribute("instanceEnd",new M(i,3,3)),this.instanceCount=this.attributes.instanceStart.count,this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new G(n,6,1);return this.setAttribute("instanceColorStart",new M(i,3,0)),this.setAttribute("instanceColorEnd",new M(i,3,3)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new te(e.geometry)),this}fromLineSegments(e){const n=e.geometry;return this.setPositions(n.attributes.position.array),this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new j);const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;e!==void 0&&n!==void 0&&(this.boundingBox.setFromBufferAttribute(e),k.setFromBufferAttribute(n),this.boundingBox.union(k))}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new Z),this.boundingBox===null&&this.computeBoundingBox();const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;if(e!==void 0&&n!==void 0){const i=this.boundingSphere.center;this.boundingBox.getCenter(i);let t=0;for(let o=0,l=e.count;o<l;o++)P.fromBufferAttribute(e,o),t=Math.max(t,i.distanceToSquared(P)),P.fromBufferAttribute(n,o),t=Math.max(t,i.distanceToSquared(P));this.boundingSphere.radius=Math.sqrt(t),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}}O.line={worldUnits:{value:1},linewidth:{value:1},resolution:{value:new ne},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}};I.line={uniforms:$.merge([O.common,O.fog,O.line]),vertexShader:`
2
2
  #include <common>
3
3
  #include <color_pars_vertex>
4
4
  #include <fog_pars_vertex>
@@ -390,4 +390,4 @@ import{bl as ee,bh as F,bm as G,bn as M,bo as te,bp as j,bq as $,b7 as E,br as i
390
390
  #include <premultiplied_alpha_fragment>
391
391
 
392
392
  }
393
- `};class N extends ie{constructor(e){super({type:"LineMaterial",uniforms:J.clone(O.line.uniforms),vertexShader:O.line.vertexShader,fragmentShader:O.line.fragmentShader,clipping:!0}),this.isLineMaterial=!0,this.setValues(e)}get color(){return this.uniforms.diffuse.value}set color(e){this.uniforms.diffuse.value=e}get worldUnits(){return"WORLD_UNITS"in this.defines}set worldUnits(e){e===!0!==this.worldUnits&&(this.needsUpdate=!0),e===!0?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}get linewidth(){return this.uniforms.linewidth.value}set linewidth(e){this.uniforms.linewidth&&(this.uniforms.linewidth.value=e)}get dashed(){return"USE_DASH"in this.defines}set dashed(e){e===!0!==this.dashed&&(this.needsUpdate=!0),e===!0?this.defines.USE_DASH="":delete this.defines.USE_DASH}get dashScale(){return this.uniforms.dashScale.value}set dashScale(e){this.uniforms.dashScale.value=e}get dashSize(){return this.uniforms.dashSize.value}set dashSize(e){this.uniforms.dashSize.value=e}get dashOffset(){return this.uniforms.dashOffset.value}set dashOffset(e){this.uniforms.dashOffset.value=e}get gapSize(){return this.uniforms.gapSize.value}set gapSize(e){this.uniforms.gapSize.value=e}get opacity(){return this.uniforms.opacity.value}set opacity(e){this.uniforms&&(this.uniforms.opacity.value=e)}get resolution(){return this.uniforms.resolution.value}set resolution(e){this.uniforms.resolution.value.copy(e)}get alphaToCoverage(){return"USE_ALPHA_TO_COVERAGE"in this.defines}set alphaToCoverage(e){this.defines&&(e===!0!==this.alphaToCoverage&&(this.needsUpdate=!0),e===!0?this.defines.USE_ALPHA_TO_COVERAGE="":delete this.defines.USE_ALPHA_TO_COVERAGE)}}const H=new B,q=new E,X=new E,f=new B,u=new B,x=new B,W=new E,R=new ae,p=new oe,K=new E,T=new j,C=new $,S=new B;let b,z;function Z(h,e,n){return S.set(0,0,-e,1).applyMatrix4(h.projectionMatrix),S.multiplyScalar(1/S.w),S.x=z/n.width,S.y=z/n.height,S.applyMatrix4(h.projectionMatrixInverse),S.multiplyScalar(1/S.w),Math.abs(Math.max(S.x,S.y))}function ve(h,e){const n=h.matrixWorld,i=h.geometry,t=i.attributes.instanceStart,o=i.attributes.instanceEnd,l=Math.min(i.instanceCount,t.count);for(let s=0,a=l;s<a;s++){p.start.fromBufferAttribute(t,s),p.end.fromBufferAttribute(o,s),p.applyMatrix4(n);const d=new E,m=new E;b.distanceSqToSegment(p.start,p.end,m,d),m.distanceTo(d)<z*.5&&e.push({point:m,pointOnLine:d,distance:b.origin.distanceTo(m),object:h,face:null,faceIndex:s,uv:null,uv1:null})}}function ye(h,e,n){const i=e.projectionMatrix,o=h.material.resolution,l=h.matrixWorld,s=h.geometry,a=s.attributes.instanceStart,d=s.attributes.instanceEnd,m=Math.min(s.instanceCount,a.count),c=-e.near;b.at(1,x),x.w=1,x.applyMatrix4(e.matrixWorldInverse),x.applyMatrix4(i),x.multiplyScalar(1/x.w),x.x*=o.x/2,x.y*=o.y/2,x.z=0,W.copy(x),R.multiplyMatrices(e.matrixWorldInverse,l);for(let g=0,r=m;g<r;g++){if(f.fromBufferAttribute(a,g),u.fromBufferAttribute(d,g),f.w=1,u.w=1,f.applyMatrix4(R),u.applyMatrix4(R),f.z>c&&u.z>c)continue;if(f.z>c){const _=f.z-u.z,w=(f.z-c)/_;f.lerp(u,w)}else if(u.z>c){const _=u.z-f.z,w=(u.z-c)/_;u.lerp(f,w)}f.applyMatrix4(i),u.applyMatrix4(i),f.multiplyScalar(1/f.w),u.multiplyScalar(1/u.w),f.x*=o.x/2,f.y*=o.y/2,u.x*=o.x/2,u.y*=o.y/2,p.start.copy(f),p.start.z=0,p.end.copy(u),p.end.z=0;const y=p.closestPointToPointParameter(W,!0);p.at(y,K);const L=re.lerp(f.z,u.z,y),U=L>=-1&&L<=1,D=W.distanceTo(K)<z*.5;if(U&&D){p.start.fromBufferAttribute(a,g),p.end.fromBufferAttribute(d,g),p.start.applyMatrix4(l),p.end.applyMatrix4(l);const _=new E,w=new E;b.distanceSqToSegment(p.start,p.end,w,_),n.push({point:w,pointOnLine:_,distance:b.origin.distanceTo(w),object:h,face:null,faceIndex:g,uv:null,uv1:null})}}}class we extends se{constructor(e=new Q,n=new N({color:Math.random()*16777215})){super(e,n),this.isLineSegments2=!0,this.type="LineSegments2"}computeLineDistances(){const e=this.geometry,n=e.attributes.instanceStart,i=e.attributes.instanceEnd,t=new Float32Array(2*n.count);for(let l=0,s=0,a=n.count;l<a;l++,s+=2)q.fromBufferAttribute(n,l),X.fromBufferAttribute(i,l),t[s]=s===0?0:t[s-1],t[s+1]=t[s]+q.distanceTo(X);const o=new G(t,2,1);return e.setAttribute("instanceDistanceStart",new M(o,1,0)),e.setAttribute("instanceDistanceEnd",new M(o,1,1)),this}raycast(e,n){const i=this.material.worldUnits,t=e.camera;if(t===null&&!i&&console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2 while worldUnits is set to false.'),i===!1&&(this.material.resolution.x===0||this.material.resolution.y===0))return;const o=e.params.Line2!==void 0&&e.params.Line2.threshold||0;b=e.ray;const l=this.matrixWorld,s=this.geometry,a=this.material;z=a.linewidth+o,s.boundingSphere===null&&s.computeBoundingSphere(),C.copy(s.boundingSphere).applyMatrix4(l);let d;if(i)d=z*.5;else{const c=Math.max(t.near,C.distanceToPoint(b.origin));d=Z(t,c,a.resolution)}if(C.radius+=d,b.intersectsSphere(C)===!1)return;s.boundingBox===null&&s.computeBoundingBox(),T.copy(s.boundingBox).applyMatrix4(l);let m;if(i)m=z*.5;else{const c=Math.max(t.near,T.distanceToPoint(b.origin));m=Z(t,c,a.resolution)}T.expandByScalar(m),b.intersectsBox(T)!==!1&&(i?ve(this,n):ye(this,t,n))}onBeforeRender(e){const n=this.material.uniforms;n&&n.resolution&&(e.getViewport(H),this.material.uniforms.resolution.value.set(H.z,H.w))}}class Y extends Q{constructor(){super(),this.isLineGeometry=!0,this.type="LineGeometry"}setPositions(e){const n=e.length-3,i=new Float32Array(2*n);for(let t=0;t<n;t+=3)i[2*t]=e[t],i[2*t+1]=e[t+1],i[2*t+2]=e[t+2],i[2*t+3]=e[t+3],i[2*t+4]=e[t+4],i[2*t+5]=e[t+5];return super.setPositions(i),this}setColors(e){const n=e.length-3,i=new Float32Array(2*n);for(let t=0;t<n;t+=3)i[2*t]=e[t],i[2*t+1]=e[t+1],i[2*t+2]=e[t+2],i[2*t+3]=e[t+3],i[2*t+4]=e[t+4],i[2*t+5]=e[t+5];return super.setColors(i),this}setFromPoints(e){const n=e.length-1,i=new Float32Array(6*n);for(let t=0;t<n;t++)i[6*t]=e[t].x,i[6*t+1]=e[t].y,i[6*t+2]=e[t].z||0,i[6*t+3]=e[t+1].x,i[6*t+4]=e[t+1].y,i[6*t+5]=e[t+1].z||0;return super.setPositions(i),this}fromLine(e){const n=e.geometry;return this.setPositions(n.attributes.position.array),this}}class xe extends we{constructor(e=new Y,n=new N({color:Math.random()*16777215})){super(e,n),this.isLine2=!0,this.type="Line2"}}class A{constructor(e){this.layer=e,this.group.name="traces"}static LINE_WIDTH_PX=2.5;static MARKER_SIZE_PX=9;static LABEL_HEIGHT_PX=15;static STEP_M=15;static LIFT_M=.3;group=new le;materials=[];pointsMaterials=[];labels=[];viewportHeightPx=720;fovDeg=60;set(e,n,i,t,o,l){this.empty();for(const s of e){const a=this.positions(s,i,t,o,l),d=new ce(s.color??de),m=n.get(s.id);if(m&&a.length>=3&&this.addLabel(m,this.labelAnchor(a,s.kind)),s.kind==="point"){const c=new fe;c.setAttribute("position",new F(a.slice(0,3),3));const g=new ue({color:d,size:A.MARKER_SIZE_PX,sizeAttenuation:!1,depthTest:!1,fog:!1});this.pointsMaterials.push(g);const r=new pe(c,g);r.name="trace point",r.frustumCulled=!1,r.layers.set(this.layer),this.group.add(r)}else if(a.length>=6){const c=new Y;c.setPositions(s.kind==="polygon"?[...a,a[0],a[1],a[2]]:a);const g=new N({color:d.getHex(),linewidth:A.LINE_WIDTH_PX,worldUnits:!1,transparent:!0,opacity:.92,depthTest:!1,fog:!1});this.materials.push(g);const r=new xe(c,g);r.name=`trace ${s.kind}`,r.frustumCulled=!1,r.layers.set(this.layer),this.group.add(r)}}}setView(e,n){for(const i of this.materials)i.resolution.copy(e);e.y===this.viewportHeightPx&&n===this.fovDeg||(this.viewportHeightPx=e.y,this.fovDeg=n,this.scaleLabels())}get any(){return this.group.children.length>0}dispose(){this.empty()}labelAnchor(e,n){let i=0;if(n==="line"){let t=-1;for(let o=0;o+2<e.length;o+=3){const l=Math.hypot(e[o],e[o+2]);l>t&&(t=l,i=o)}}return[e[i],e[i+1],e[i+2]]}addLabel(e,n){const i=document.createElement("canvas"),t=i.getContext("2d");if(!t)return;const o="bold 30px sans-serif";t.font=o;const l=10;i.width=Math.ceil(t.measureText(e).width)+l*2,i.height=44,t.font=o,t.fillStyle="rgba(0, 0, 0, 0.6)",t.beginPath(),t.roundRect(0,0,i.width,i.height,10),t.fill(),t.fillStyle="#ffffff",t.textBaseline="middle",t.fillText(e,l,i.height/2+2);const s=new he({map:new me(i),depthTest:!1,depthWrite:!1,fog:!1,sizeAttenuation:!1}),a=new V(s);a.name="trace name",a.center.set(0,0),a.position.set(n[0],n[1],n[2]),a.frustumCulled=!1,a.layers.set(this.layer),this.labels.push({sprite:a,aspect:i.width/i.height}),this.group.add(a),this.scaleLabels()}scaleLabels(){const e=A.LABEL_HEIGHT_PX/(this.viewportHeightPx/2)*Math.tan(this.fovDeg*Math.PI/360);for(const{sprite:n,aspect:i}of this.labels)n.scale.set(e*i,e,1)}empty(){for(const e of[...this.group.children])this.group.remove(e),e instanceof V?(e.material.map?.dispose(),e.material.dispose()):e.geometry.dispose();this.labels.length=0;for(const e of this.materials.splice(0))e.dispose();for(const e of this.pointsMaterials.splice(0))e.dispose()}positions(e,n,i,t,o){const l=e.altitude??"ground",s=e.points.map(r=>{const{x:v,z:y}=ge(r.lat,r.lng,n,i);return{x:v,z:y,altM:r.altM??0}}),a=l!=="absolute",d=[],m=(r,v,y)=>l==="absolute"?y-t:o(r,v)+(l==="relative"?y:0)+A.LIFT_M,c=e.kind==="polygon",g=c?s.length:s.length-1;for(let r=0;r<Math.max(g,1);r++){const v=s[r],y=s[(r+1)%s.length],L=a&&e.kind!=="point"?Math.max(1,Math.ceil(Math.hypot(y.x-v.x,y.z-v.z)/A.STEP_M)):1;for(let U=0;U<L;U++){const D=U/L,_=v.x+(y.x-v.x)*D,w=v.z+(y.z-v.z)*D;d.push(_,m(_,w,v.altM+(y.altM-v.altM)*D),w)}}if(!c&&e.kind!=="point"){const r=s[s.length-1];d.push(r.x,m(r.x,r.z,r.altM),r.z)}return d}}export{A as TraceSystem};
393
+ `};class N extends ie{constructor(e){super({type:"LineMaterial",uniforms:$.clone(I.line.uniforms),vertexShader:I.line.vertexShader,fragmentShader:I.line.fragmentShader,clipping:!0}),this.isLineMaterial=!0,this.setValues(e)}get color(){return this.uniforms.diffuse.value}set color(e){this.uniforms.diffuse.value=e}get worldUnits(){return"WORLD_UNITS"in this.defines}set worldUnits(e){e===!0!==this.worldUnits&&(this.needsUpdate=!0),e===!0?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}get linewidth(){return this.uniforms.linewidth.value}set linewidth(e){this.uniforms.linewidth&&(this.uniforms.linewidth.value=e)}get dashed(){return"USE_DASH"in this.defines}set dashed(e){e===!0!==this.dashed&&(this.needsUpdate=!0),e===!0?this.defines.USE_DASH="":delete this.defines.USE_DASH}get dashScale(){return this.uniforms.dashScale.value}set dashScale(e){this.uniforms.dashScale.value=e}get dashSize(){return this.uniforms.dashSize.value}set dashSize(e){this.uniforms.dashSize.value=e}get dashOffset(){return this.uniforms.dashOffset.value}set dashOffset(e){this.uniforms.dashOffset.value=e}get gapSize(){return this.uniforms.gapSize.value}set gapSize(e){this.uniforms.gapSize.value=e}get opacity(){return this.uniforms.opacity.value}set opacity(e){this.uniforms&&(this.uniforms.opacity.value=e)}get resolution(){return this.uniforms.resolution.value}set resolution(e){this.uniforms.resolution.value.copy(e)}get alphaToCoverage(){return"USE_ALPHA_TO_COVERAGE"in this.defines}set alphaToCoverage(e){this.defines&&(e===!0!==this.alphaToCoverage&&(this.needsUpdate=!0),e===!0?this.defines.USE_ALPHA_TO_COVERAGE="":delete this.defines.USE_ALPHA_TO_COVERAGE)}}const H=new B,q=new E,X=new E,f=new B,u=new B,x=new B,W=new E,R=new ae,p=new oe,J=new E,T=new j,C=new Z,S=new B;let b,z;function K(h,e,n){return S.set(0,0,-e,1).applyMatrix4(h.projectionMatrix),S.multiplyScalar(1/S.w),S.x=z/n.width,S.y=z/n.height,S.applyMatrix4(h.projectionMatrixInverse),S.multiplyScalar(1/S.w),Math.abs(Math.max(S.x,S.y))}function ve(h,e){const n=h.matrixWorld,i=h.geometry,t=i.attributes.instanceStart,o=i.attributes.instanceEnd,l=Math.min(i.instanceCount,t.count);for(let s=0,a=l;s<a;s++){p.start.fromBufferAttribute(t,s),p.end.fromBufferAttribute(o,s),p.applyMatrix4(n);const d=new E,m=new E;b.distanceSqToSegment(p.start,p.end,m,d),m.distanceTo(d)<z*.5&&e.push({point:m,pointOnLine:d,distance:b.origin.distanceTo(m),object:h,face:null,faceIndex:s,uv:null,uv1:null})}}function ye(h,e,n){const i=e.projectionMatrix,o=h.material.resolution,l=h.matrixWorld,s=h.geometry,a=s.attributes.instanceStart,d=s.attributes.instanceEnd,m=Math.min(s.instanceCount,a.count),c=-e.near;b.at(1,x),x.w=1,x.applyMatrix4(e.matrixWorldInverse),x.applyMatrix4(i),x.multiplyScalar(1/x.w),x.x*=o.x/2,x.y*=o.y/2,x.z=0,W.copy(x),R.multiplyMatrices(e.matrixWorldInverse,l);for(let g=0,r=m;g<r;g++){if(f.fromBufferAttribute(a,g),u.fromBufferAttribute(d,g),f.w=1,u.w=1,f.applyMatrix4(R),u.applyMatrix4(R),f.z>c&&u.z>c)continue;if(f.z>c){const _=f.z-u.z,w=(f.z-c)/_;f.lerp(u,w)}else if(u.z>c){const _=u.z-f.z,w=(u.z-c)/_;u.lerp(f,w)}f.applyMatrix4(i),u.applyMatrix4(i),f.multiplyScalar(1/f.w),u.multiplyScalar(1/u.w),f.x*=o.x/2,f.y*=o.y/2,u.x*=o.x/2,u.y*=o.y/2,p.start.copy(f),p.start.z=0,p.end.copy(u),p.end.z=0;const y=p.closestPointToPointParameter(W,!0);p.at(y,J);const L=re.lerp(f.z,u.z,y),U=L>=-1&&L<=1,D=W.distanceTo(J)<z*.5;if(U&&D){p.start.fromBufferAttribute(a,g),p.end.fromBufferAttribute(d,g),p.start.applyMatrix4(l),p.end.applyMatrix4(l);const _=new E,w=new E;b.distanceSqToSegment(p.start,p.end,w,_),n.push({point:w,pointOnLine:_,distance:b.origin.distanceTo(w),object:h,face:null,faceIndex:g,uv:null,uv1:null})}}}class we extends se{constructor(e=new Q,n=new N({color:Math.random()*16777215})){super(e,n),this.isLineSegments2=!0,this.type="LineSegments2"}computeLineDistances(){const e=this.geometry,n=e.attributes.instanceStart,i=e.attributes.instanceEnd,t=new Float32Array(2*n.count);for(let l=0,s=0,a=n.count;l<a;l++,s+=2)q.fromBufferAttribute(n,l),X.fromBufferAttribute(i,l),t[s]=s===0?0:t[s-1],t[s+1]=t[s]+q.distanceTo(X);const o=new G(t,2,1);return e.setAttribute("instanceDistanceStart",new M(o,1,0)),e.setAttribute("instanceDistanceEnd",new M(o,1,1)),this}raycast(e,n){const i=this.material.worldUnits,t=e.camera;if(t===null&&!i&&console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2 while worldUnits is set to false.'),i===!1&&(this.material.resolution.x===0||this.material.resolution.y===0))return;const o=e.params.Line2!==void 0&&e.params.Line2.threshold||0;b=e.ray;const l=this.matrixWorld,s=this.geometry,a=this.material;z=a.linewidth+o,s.boundingSphere===null&&s.computeBoundingSphere(),C.copy(s.boundingSphere).applyMatrix4(l);let d;if(i)d=z*.5;else{const c=Math.max(t.near,C.distanceToPoint(b.origin));d=K(t,c,a.resolution)}if(C.radius+=d,b.intersectsSphere(C)===!1)return;s.boundingBox===null&&s.computeBoundingBox(),T.copy(s.boundingBox).applyMatrix4(l);let m;if(i)m=z*.5;else{const c=Math.max(t.near,T.distanceToPoint(b.origin));m=K(t,c,a.resolution)}T.expandByScalar(m),b.intersectsBox(T)!==!1&&(i?ve(this,n):ye(this,t,n))}onBeforeRender(e){const n=this.material.uniforms;n&&n.resolution&&(e.getViewport(H),this.material.uniforms.resolution.value.set(H.z,H.w))}}class Y extends Q{constructor(){super(),this.isLineGeometry=!0,this.type="LineGeometry"}setPositions(e){const n=e.length-3,i=new Float32Array(2*n);for(let t=0;t<n;t+=3)i[2*t]=e[t],i[2*t+1]=e[t+1],i[2*t+2]=e[t+2],i[2*t+3]=e[t+3],i[2*t+4]=e[t+4],i[2*t+5]=e[t+5];return super.setPositions(i),this}setColors(e){const n=e.length-3,i=new Float32Array(2*n);for(let t=0;t<n;t+=3)i[2*t]=e[t],i[2*t+1]=e[t+1],i[2*t+2]=e[t+2],i[2*t+3]=e[t+3],i[2*t+4]=e[t+4],i[2*t+5]=e[t+5];return super.setColors(i),this}setFromPoints(e){const n=e.length-1,i=new Float32Array(6*n);for(let t=0;t<n;t++)i[6*t]=e[t].x,i[6*t+1]=e[t].y,i[6*t+2]=e[t].z||0,i[6*t+3]=e[t+1].x,i[6*t+4]=e[t+1].y,i[6*t+5]=e[t+1].z||0;return super.setPositions(i),this}fromLine(e){const n=e.geometry;return this.setPositions(n.attributes.position.array),this}}class xe extends we{constructor(e=new Y,n=new N({color:Math.random()*16777215})){super(e,n),this.isLine2=!0,this.type="Line2"}}class A{constructor(e){this.layer=e,this.group.name="traces"}static LINE_WIDTH_PX=2.5;static MARKER_SIZE_PX=9;static LABEL_HEIGHT_PX=15;static STEP_M=15;static LIFT_M=.3;group=new le;materials=[];pointsMaterials=[];labels=[];viewportHeightPx=720;fovDeg=60;set(e,n,i,t,o,l){this.empty();for(const s of e){const a=this.positions(s,i,t,o,l),d=new ce(s.color??me),m=n.get(s.id);if(m&&a.length>=3&&this.addLabel(m,this.labelAnchor(a,s.kind)),s.kind==="point"){const c=new de;c.setAttribute("position",new F(a.slice(0,3),3));const g=new fe({color:d,size:A.MARKER_SIZE_PX,sizeAttenuation:!1,depthTest:!1,fog:!1});this.pointsMaterials.push(g);const r=new ue(c,g);r.name="trace point",r.frustumCulled=!1,r.layers.set(this.layer),this.group.add(r)}else if(a.length>=6){const c=new Y;c.setPositions(s.kind==="polygon"?[...a,a[0],a[1],a[2]]:a);const g=new N({color:d.getHex(),linewidth:A.LINE_WIDTH_PX,worldUnits:!1,transparent:!0,opacity:.92,depthTest:!1,fog:!1});this.materials.push(g);const r=new xe(c,g);r.name=`trace ${s.kind}`,r.frustumCulled=!1,r.layers.set(this.layer),this.group.add(r)}}}setView(e,n){for(const i of this.materials)i.resolution.copy(e);e.y===this.viewportHeightPx&&n===this.fovDeg||(this.viewportHeightPx=e.y,this.fovDeg=n,this.scaleLabels())}get any(){return this.group.children.length>0}dispose(){this.empty()}labelAnchor(e,n){let i=0;if(n==="line"){let t=-1;for(let o=0;o+2<e.length;o+=3){const l=Math.hypot(e[o],e[o+2]);l>t&&(t=l,i=o)}}return[e[i],e[i+1],e[i+2]]}addLabel(e,n){const i=document.createElement("canvas"),t=i.getContext("2d");if(!t)return;const o="bold 30px sans-serif";t.font=o;const l=10;i.width=Math.ceil(t.measureText(e).width)+l*2,i.height=44,t.font=o,t.fillStyle="rgba(0, 0, 0, 0.6)",t.beginPath(),t.roundRect(0,0,i.width,i.height,10),t.fill(),t.fillStyle="#ffffff",t.textBaseline="middle",t.fillText(e,l,i.height/2+2);const s=new pe({map:new he(i),depthTest:!1,depthWrite:!1,fog:!1,sizeAttenuation:!1}),a=new V(s);a.name="trace name",a.center.set(0,0),a.position.set(n[0],n[1],n[2]),a.frustumCulled=!1,a.layers.set(this.layer),this.labels.push({sprite:a,aspect:i.width/i.height}),this.group.add(a),this.scaleLabels()}scaleLabels(){const e=A.LABEL_HEIGHT_PX/(this.viewportHeightPx/2)*Math.tan(this.fovDeg*Math.PI/360);for(const{sprite:n,aspect:i}of this.labels)n.scale.set(e*i,e,1)}empty(){for(const e of[...this.group.children])this.group.remove(e),e instanceof V?(e.material.map?.dispose(),e.material.dispose()):e.geometry.dispose();this.labels.length=0;for(const e of this.materials.splice(0))e.dispose();for(const e of this.pointsMaterials.splice(0))e.dispose()}positions(e,n,i,t,o){const l=e.altitude??"ground",s=e.points.map(r=>{const{x:v,z:y}=ge(r.lat,r.lng,n,i);return{x:v,z:y,altM:r.altM??0}}),a=l!=="absolute",d=[],m=(r,v,y)=>l==="absolute"?y-t:o(r,v)+(l==="relative"?y:0)+A.LIFT_M,c=e.kind==="polygon",g=c?s.length:s.length-1;for(let r=0;r<Math.max(g,1);r++){const v=s[r],y=s[(r+1)%s.length],L=a&&e.kind!=="point"?Math.max(1,Math.ceil(Math.hypot(y.x-v.x,y.z-v.z)/A.STEP_M)):1;for(let U=0;U<L;U++){const D=U/L,_=v.x+(y.x-v.x)*D,w=v.z+(y.z-v.z)*D;d.push(_,m(_,w,v.altM+(y.altM-v.altM)*D),w)}}if(!c&&e.kind!=="point"){const r=s[s.length-1];d.push(r.x,m(r.x,r.z,r.altM),r.z)}return d}}export{A as TraceSystem};
@@ -1 +1 @@
1
- const e={inputFileFromFile:"from your disk",inputFileFromUrl:"from an address",inputFileModeHint:"Click to give it the other way: a file of yours, or an address",inputFileLoad:"Open",newFile:"New",newFileHint:"A new observation, in the editor",open:"Open",openHint:"A file of yours or at an address, opened where you are: in the reader if you are reading, in the editor if you are editing",openTogether:"A case can be picked with its observations, to be read with them.",recentHeading:"Recent",recentNone:"No file opened lately in this browser.",recentAddress:"at its address",recentHandles:"read again from your disk",recentCopy:"copy kept in this browser",recentRemove:"Remove from the list",noJson:"None of the files picked is a reconstruction (.json).",openFailed:"This could not be opened."};export{e as ufoAtHomeMessages_en};
1
+ const e={inputFileFromFile:"from your disk",inputFileFromUrl:"from an address",inputFileModeHint:"Click to give it the other way: a file of yours, or an address",inputFileLoad:"Open",newFile:"New",newFileHint:"A new observation, in the editor",open:"Open",openHint:"A file of yours or at an address, opened where you are: in the reader if you are reading, in the editor if you are editing",openTogether:"A case can be picked with its observations, to be read with them.",recentHeading:"Recent",recentNone:"No file opened lately in this browser.",recentAddress:"at its address",recentHandles:"read again from your disk",recentCopy:"copy kept in this browser",recentRemove:"Remove from the list",noJson:"None of the files picked is a reconstruction (.json).",openFailed:"This could not be opened.",caseTemplateFailed:"The case template could not be read: nothing was started."};export{e as ufoAtHomeMessages_en};
@@ -1 +1 @@
1
- const e={inputFileFromFile:"desde tu disco",inputFileFromUrl:"desde una dirección",inputFileModeHint:"Haz clic para darlo de la otra forma: un archivo tuyo, o una dirección",inputFileLoad:"Abrir",newFile:"Nuevo",newFileHint:"Una nueva observación, en el editor",open:"Abrir",openHint:"Un archivo tuyo o en una dirección, abierto donde estás: en el lector si lees, en el editor si editas",openTogether:"Un caso puede elegirse con sus observaciones, para leerse con ellas.",recentHeading:"Recientes",recentNone:"Ningún archivo abierto recientemente en este navegador.",recentAddress:"en su dirección",recentHandles:"releído de tu disco",recentCopy:"copia guardada en este navegador",recentRemove:"Quitar de la lista",noJson:"Ninguno de los archivos elegidos es una reconstrucción (.json).",openFailed:"No se ha podido abrir."};export{e as ufoAtHomeMessages_es};
1
+ const e={inputFileFromFile:"desde tu disco",inputFileFromUrl:"desde una dirección",inputFileModeHint:"Haz clic para darlo de la otra forma: un archivo tuyo, o una dirección",inputFileLoad:"Abrir",newFile:"Nuevo",newFileHint:"Una nueva observación, en el editor",open:"Abrir",openHint:"Un archivo tuyo o en una dirección, abierto donde estás: en el lector si lees, en el editor si editas",openTogether:"Un caso puede elegirse con sus observaciones, para leerse con ellas.",recentHeading:"Recientes",recentNone:"Ningún archivo abierto recientemente en este navegador.",recentAddress:"en su dirección",recentHandles:"releído de tu disco",recentCopy:"copia guardada en este navegador",recentRemove:"Quitar de la lista",noJson:"Ninguno de los archivos elegidos es una reconstrucción (.json).",openFailed:"No se ha podido abrir.",caseTemplateFailed:"No se pudo leer la plantilla de caso: no se ha empezado nada."};export{e as ufoAtHomeMessages_es};
@@ -1 +1 @@
1
- const e={inputFileFromFile:"depuis votre disque",inputFileFromUrl:"depuis une adresse",inputFileModeHint:"Cliquez pour le donner autrement : un fichier à vous, ou une adresse",inputFileLoad:"Ouvrir",newFile:"Nouveau",newFileHint:"Une nouvelle observation, dans l'éditeur",open:"Ouvrir",openHint:"Un fichier à vous ou à une adresse, ouvert là où vous êtes : dans le lecteur si vous lisez, dans l'éditeur si vous éditez",openTogether:"Un dossier peut être choisi avec ses observations, pour être lu avec elles.",recentHeading:"Récents",recentNone:"Aucun fichier ouvert récemment dans ce navigateur.",recentAddress:"à son adresse",recentHandles:"relu sur votre disque",recentCopy:"copie gardée dans ce navigateur",recentRemove:"Retirer de la liste",noJson:"Aucun des fichiers choisis n'est une reconstitution (.json).",openFailed:"Cela n'a pas pu être ouvert."};export{e as ufoAtHomeMessages_fr};
1
+ const e={inputFileFromFile:"depuis votre disque",inputFileFromUrl:"depuis une adresse",inputFileModeHint:"Cliquez pour le donner autrement : un fichier à vous, ou une adresse",inputFileLoad:"Ouvrir",newFile:"Nouveau",newFileHint:"Une nouvelle observation, dans l'éditeur",open:"Ouvrir",openHint:"Un fichier à vous ou à une adresse, ouvert là où vous êtes : dans le lecteur si vous lisez, dans l'éditeur si vous éditez",openTogether:"Un dossier peut être choisi avec ses observations, pour être lu avec elles.",recentHeading:"Récents",recentNone:"Aucun fichier ouvert récemment dans ce navigateur.",recentAddress:"à son adresse",recentHandles:"relu sur votre disque",recentCopy:"copie gardée dans ce navigateur",recentRemove:"Retirer de la liste",noJson:"Aucun des fichiers choisis n'est une reconstitution (.json).",openFailed:"Cela n'a pas pu être ouvert.",caseTemplateFailed:"Le modèle de dossier n'a pas pu être lu : rien n'a été commencé."};export{e as ufoAtHomeMessages_fr};
@@ -1 +1 @@
1
- const e={inputFileFromFile:"dal tuo disco",inputFileFromUrl:"da un indirizzo",inputFileModeHint:"Fai clic per darlo nell'altro modo: un tuo file, o un indirizzo",inputFileLoad:"Apri",newFile:"Nuovo",newFileHint:"Una nuova osservazione, nell'editor",open:"Apri",openHint:"Un tuo file o a un indirizzo, aperto dove sei: nel lettore se stai leggendo, nell'editor se stai modificando",openTogether:"Un caso può essere scelto con le sue osservazioni, per essere letto con esse.",recentHeading:"Recenti",recentNone:"Nessun file aperto di recente in questo browser.",recentAddress:"al suo indirizzo",recentHandles:"riletto dal tuo disco",recentCopy:"copia conservata in questo browser",recentRemove:"Togli dall'elenco",noJson:"Nessuno dei file scelti è una ricostruzione (.json).",openFailed:"Non è stato possibile aprirlo."};export{e as ufoAtHomeMessages_it};
1
+ const e={inputFileFromFile:"dal tuo disco",inputFileFromUrl:"da un indirizzo",inputFileModeHint:"Fai clic per darlo nell'altro modo: un tuo file, o un indirizzo",inputFileLoad:"Apri",newFile:"Nuovo",newFileHint:"Una nuova osservazione, nell'editor",open:"Apri",openHint:"Un tuo file o a un indirizzo, aperto dove sei: nel lettore se stai leggendo, nell'editor se stai modificando",openTogether:"Un caso può essere scelto con le sue osservazioni, per essere letto con esse.",recentHeading:"Recenti",recentNone:"Nessun file aperto di recente in questo browser.",recentAddress:"al suo indirizzo",recentHandles:"riletto dal tuo disco",recentCopy:"copia conservata in questo browser",recentRemove:"Togli dall'elenco",noJson:"Nessuno dei file scelti è una ricostruzione (.json).",openFailed:"Non è stato possibile aprirlo.",caseTemplateFailed:"Non è stato possibile leggere il modello di caso: non è stato avviato nulla."};export{e as ufoAtHomeMessages_it};
@@ -0,0 +1 @@
1
+ import{P as d}from"./ShareDialogElement-CBeU9ChH.js";import"./rr0-ufoathome.mjs";import"./Sighting-B7bsiTIQ.js";import"./VisualAids-DI-hEL46.js";import"./three.module-CbaHqYFq.js";import"./SaidPosition-OJEYhVKN.js";import"./GeoProjection-DvqDbRIx.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";class c{constructor(e,t){this.filmer=e,this.element=t??document.createElement("button"),this.element.type="button",this.element.id="video-button",this.element.setAttribute("aria-haspopup","true"),this.element.addEventListener("click",n=>{n.stopPropagation(),this.filming?this.filming.abort():this.toggleOptions()}),this.panel=document.createElement("div"),this.panel.className="video-options",this.panel.hidden=!0;for(const n of["click","pointerdown","pointerup","dblclick"])this.panel.addEventListener(n,o=>o.stopPropagation());this.panel.addEventListener("keydown",n=>{n.key==="Escape"&&(this.closeOptions(),this.element.focus())});const s=document.createElement("label");s.className="video-size",this.sizeLabel=document.createElement("span"),this.sizeSelect=document.createElement("select"),s.append(this.sizeLabel,this.sizeSelect),this.panel.append(s);const i=()=>{const n=document.createElement("div");n.className="video-bound";const o=document.createElement("label"),l=document.createElement("span"),r=document.createElement("input");r.type="text",r.inputMode="numeric",r.size=7,r.addEventListener("input",()=>this.checkBounds()),o.append(l,r);const h=document.createElement("button");return h.type="button",h.className="video-here",h.addEventListener("click",()=>{r.value=c.formatSeconds(this.filmer.positionS()),this.checkBounds()}),n.append(o,h),this.panel.append(n),{label:l,input:r,here:h}};this.bounds={from:i(),to:i()};const a=()=>{const n=document.createElement("label"),o=document.createElement("input");o.type="checkbox";const l=document.createElement("span");return n.append(o,l),this.panel.append(n),{input:o,label:l}};this.checks={caption:a(),time:a(),map:a()},this.startButton=document.createElement("button"),this.startButton.type="button",this.startButton.className="video-start",this.startButton.addEventListener("click",()=>void this.film(this.options(),!1)),this.panel.append(this.startButton),this.kitButton=document.createElement("button"),this.kitButton.type="button",this.kitButton.className="video-kit",this.kitButton.hidden=!this.filmer.generativeKit,this.kitButton.addEventListener("click",()=>void this.film(this.options(),!0)),this.panel.append(this.kitButton),this.restoreOptions(),this.update()}static HEIGHTS=[720,1080,2160];static STORAGE_KEY="rr0-video-options";element;panel;sizeLabel;sizeSelect;checks;bounds;startButton;kitButton;texts;filming;share=0;failure;set messages(e){this.texts=e,this.update()}open(){this.panel.hidden&&this.openOptions()}toggleOptions(){this.panel.hidden?this.openOptions():this.closeOptions()}openOptions(){this.fillSizes(),this.fillBounds(),this.panel.hidden=!1,this.element.setAttribute("aria-expanded","true"),this.startButton.focus(),document.addEventListener("pointerdown",this.closeOnOutside,!0)}closeOptions(){this.panel.hidden=!0,this.element.setAttribute("aria-expanded","false"),document.removeEventListener("pointerdown",this.closeOnOutside,!0)}closeOnOutside=e=>{const t=e.composedPath();!t.includes(this.panel)&&!t.includes(this.element)&&this.closeOptions()};fillSizes(){const e=this.filmer.pictureSize(),t=e.height>0?e.width/e.height:16/9,s=this.sizeSelect.value,i=`${e.width} × ${e.height}`,a=[{value:"",text:(this.texts?.videoSizeScreen??"").replace("{size}",i)}];for(const o of c.HEIGHTS)a.push({value:String(o),text:`${Math.round(o*t/2)*2} × ${o}`});this.sizeSelect.replaceChildren(...a.map(({value:o,text:l})=>{const r=document.createElement("option");return r.value=o,r.textContent=l,r})),this.sizeSelect.value=a.some(o=>o.value===s)?s:"";const n=this.checks.map;n.input.disabled=!this.filmer.hasMap(),n.label.parentElement.classList.toggle("disabled",n.input.disabled)}fillBounds(){this.bounds.from.input.placeholder=c.formatSeconds(0),this.bounds.to.input.placeholder=c.formatSeconds(this.filmer.durationS()),this.checkBounds()}boundsS(){const e=this.filmer.durationS(),t=s=>{const i=c.secondsOf(s);return i===void 0||i>=0&&i<=e+.001?i:NaN};return{fromS:t(this.bounds.from.input.value),toS:t(this.bounds.to.input.value)}}checkBounds(){const{fromS:e,toS:t}=this.boundsS(),s=(e??0)>=(t??this.filmer.durationS()),i=Number.isNaN(e)||s&&e!==void 0,a=Number.isNaN(t)||s&&t!==void 0;this.bounds.from.input.setAttribute("aria-invalid",String(i)),this.bounds.to.input.setAttribute("aria-invalid",String(a)),this.startButton.disabled=i||a||s,this.kitButton.disabled=this.startButton.disabled}static formatSeconds(e){const t=Math.max(0,Math.round(e)),s=Math.floor(t/3600),i=Math.floor(t/60)%60,a=String(t%60).padStart(2,"0");return s>0?`${s}:${String(i).padStart(2,"0")}:${a}`:`${i}:${a}`}static secondsOf(e){const t=e.trim().replace(",",".");if(t!=="")return/^\d+(\.\d+)?$|^\d+(:\d{1,2}){1,2}(\.\d+)?$/.test(t)?t.split(":").reduce((s,i)=>s*60+Number(i),0):NaN}options(){const e=Number(this.sizeSelect.value),{fromS:t,toS:s}=this.boundsS();return{...e>0?{height:e}:{},...t!==void 0&&!Number.isNaN(t)?{fromS:t}:{},...s!==void 0&&!Number.isNaN(s)?{toS:s}:{},caption:this.checks.caption.input.checked,time:this.checks.time.input.checked,map:this.checks.map.input.checked&&!this.checks.map.input.disabled}}restoreOptions(){let e={};try{e=JSON.parse(localStorage.getItem(c.STORAGE_KEY)??"{}")}catch{}this.checks.caption.input.checked=e.caption??!0,this.checks.time.input.checked=e.time??!0,this.checks.map.input.checked=e.map??!1,this.sizeSelect.replaceChildren(new Option("",e.height?String(e.height):"")),this.sizeSelect.value=e.height?String(e.height):""}keepOptions(e){try{const{fromS:t,toS:s,...i}=e;localStorage.setItem(c.STORAGE_KEY,JSON.stringify(i))}catch{}}async film(e,t){this.closeOptions(),this.keepOptions(e);const s=new AbortController;this.filming=s,this.share=0,this.failure=void 0,this.update();try{const i=a=>{this.share=a,this.update()};t&&this.filmer.generativeKit?this.save(await this.filmer.generativeKit(e,i,s.signal),this.filmer.kitFileName?.()??"kit.zip"):this.save(await this.filmer.film(e,i,s.signal),this.filmer.fileName())}catch(i){s.signal.aborted||(this.failure=i instanceof Error?i.message:String(i),console.error(i))}finally{this.filming=void 0,this.update()}}save(e,t){const s=URL.createObjectURL(e),i=document.createElement("a");i.href=s,i.download=t,i.click(),setTimeout(()=>URL.revokeObjectURL(s),6e4)}update(){const e=Math.floor(this.share*100);this.filming?(this.element.textContent=`${e} %`,this.element.classList.add("filming")):(this.element.innerHTML=d.VIDEO,this.element.classList.remove("filming"));const t=this.texts,s=t?this.filming?t.recordingVideo.replace("{percent}",String(e)):this.failure?`${t.recordVideo}. ${t.videoFailed.replace("{reason}",this.failure)}`:t.recordVideo:"";this.element.title=s,this.element.setAttribute("aria-label",s),this.sizeLabel.textContent=t?.videoSize??"",this.checks.caption.label.textContent=t?.videoCaption??"",this.checks.time.label.textContent=t?.videoTime??"",this.checks.map.label.textContent=t?.videoMap??"",this.startButton.textContent=t?.videoStart??"",this.kitButton.textContent=t?.videoKit??"",this.kitButton.title=t?.videoKitHint??"",this.bounds.from.label.textContent=t?.videoFrom??"",this.bounds.to.label.textContent=t?.videoTo??"";for(const{here:i}of Object.values(this.bounds))i.textContent=t?.videoHere??"",i.title=t?.videoHereHint??"";this.panel.hidden||this.fillSizes()}}export{c as VideoButton};
@@ -0,0 +1,19 @@
1
+ import{I as b,ag as F,C as L,a2 as y,aa as I,V as M,ab as D,p as C,j as R,M as N,aE as T,W as U,L as O,H as P,w as B,a0 as A}from"./three.module-CbaHqYFq.js";import{g as V}from"./GeoProjection-DvqDbRIx.js";class r{static LIFT_M=.05;static RENDER_ORDER=1.04;static LEVEL_QUANTILE=.2;static BODY_ALBEDO=[.035,.045,.04];static IOR=1.33;static ROUGHNESS=.08;static MAX_SAMPLES=48;static REFLECTION_SCALE=.5;group=new b;material=new F({color:new L(...r.BODY_ALBEDO),roughness:r.ROUGHNESS,metalness:0,ior:r.IOR,polygonOffset:!0,polygonOffsetFactor:-2,polygonOffsetUnits:-2});levels=new Map;reflectionTarget;reflectionUniforms={uWaterReflection:{value:null},uWaterReflectionMatrix:{value:new y},uWaterReflectionOn:{value:0}};mirrorCamera=new I;eye=new M;ahead=new M;up=new M;plane=new D;clip=new C;q=new C;size=new R;bias=new y().set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1);constructor(){this.group.name="water",this.material.onBeforeCompile=t=>{Object.assign(t.uniforms,this.reflectionUniforms),t.vertexShader=t.vertexShader.replace("#include <common>",`#include <common>
2
+ varying vec3 vWaterWorld;`).replace("#include <project_vertex>",`#include <project_vertex>
3
+ vWaterWorld = (modelMatrix * vec4(transformed, 1.0)).xyz;`),t.fragmentShader=t.fragmentShader.replace("#include <common>",`#include <common>
4
+ varying vec3 vWaterWorld;
5
+ uniform sampler2D uWaterReflection;
6
+ uniform mat4 uWaterReflectionMatrix;
7
+ uniform float uWaterReflectionOn;`).replace("#include <opaque_fragment>",`
8
+ if (uWaterReflectionOn > 0.5) {
9
+ vec4 at = uWaterReflectionMatrix * vec4(vWaterWorld, 1.0);
10
+ vec2 uv = at.xy / at.w;
11
+ if (at.w > 0.0 && uv.x >= 0.0 && uv.x <= 1.0 && uv.y >= 0.0 && uv.y <= 1.0) {
12
+ vec4 mirrored = texture2D(uWaterReflection, uv);
13
+ float facing = clamp(dot(normal, normalize(vViewPosition)), 0.0, 1.0);
14
+ float fresnel = 0.02 + 0.98 * pow(1.0 - facing, 5.0);
15
+ // Premultiplied: drawn over a picture cleared to nothing, an edge's colour is already its coverage's share.
16
+ outgoingLight = outgoingLight * (1.0 - mirrored.a * fresnel) + mirrored.rgb * fresnel;
17
+ }
18
+ }
19
+ #include <opaque_fragment>`)}}set(t,i,e,p,o,s){this.clear();for(const l of t){const h=l.rings.map(n=>r.clip(n.map(u=>V(u.lat,u.lng,i,e)),o)),c=h[0];if(!c||c.length<3)continue;const d=h.slice(1).filter(n=>n.length>=3),f=r.level(c,d,p,s);if(f===void 0)continue;const a=r.geometry(c,d,f+r.LIFT_M);if(!a)continue;const g=new N(a,this.material);g.name=`water ${l.id}`,g.renderOrder=r.RENDER_ORDER,g.receiveShadow=!0,this.group.add(g),this.levels.set(g,{y:f+r.LIFT_M,areaM2:Math.abs(T.area(c.map(n=>new R(n.x,n.z))))})}}get count(){return this.group.children.length}clear(){for(const t of[...this.group.children])t.geometry.dispose(),this.group.remove(t);this.levels.clear()}dispose(){this.clear(),this.material.dispose(),this.reflectionTarget?.dispose()}reflectBodies(t,i,e,p,o,s){const l=this.reflectionUniforms;l.uWaterReflectionOn.value=0;let h;for(const[v,E]of this.levels)v.visible&&(!h||E.areaM2>h.areaM2)&&(h=E);if(!o||!h)return;this.group.updateWorldMatrix(!0,!1);const c=h.y+this.group.position.y;if(e.updateMatrixWorld(),this.eye.setFromMatrixPosition(e.matrixWorld),this.eye.y<=c)return;t.getDrawingBufferSize(this.size);const d=Math.max(16,Math.round(this.size.x*r.REFLECTION_SCALE)),f=Math.max(16,Math.round(this.size.y*r.REFLECTION_SCALE));(!this.reflectionTarget||this.reflectionTarget.width!==d||this.reflectionTarget.height!==f)&&(this.reflectionTarget?.dispose(),this.reflectionTarget=new U(d,f,{type:P,minFilter:O,magFilter:O}));const a=this.mirrorCamera,g=v=>v.setY(2*c-v.y);a.position.copy(g(this.eye.clone())),e.getWorldDirection(this.ahead);const n=g(this.eye.clone().add(this.ahead));this.up.set(0,1,0).applyQuaternion(e.quaternion),a.up.set(this.up.x,-this.up.y,this.up.z),a.lookAt(n),a.fov=s??e.fov,a.aspect=e.aspect,a.near=e.near,a.far=e.far,a.updateProjectionMatrix(),a.updateMatrixWorld(),this.clipAtLevel(a,c),l.uWaterReflectionMatrix.value.copy(this.bias).multiply(a.projectionMatrix).multiply(a.matrixWorldInverse),i.traverseVisible(v=>{v.isLight&&v.layers.enable(p)});const u=t.getRenderTarget(),m=t.autoClear,x=t.shadowMap.autoUpdate,w=i.background,z=t.getClearAlpha();t.getClearColor(r.clearColor),i.background=null,t.shadowMap.autoUpdate=!1,t.setRenderTarget(this.reflectionTarget),t.setClearColor(0,0),t.autoClear=!0,a.layers.set(p),t.render(i,a),t.setRenderTarget(u),t.setClearColor(r.clearColor,z),t.autoClear=m,t.shadowMap.autoUpdate=x,i.background=w,l.uWaterReflection.value=this.reflectionTarget.texture,l.uWaterReflectionOn.value=1}static clearColor=new L;clipAtLevel(t,i){this.plane.setFromNormalAndCoplanarPoint(new M(0,1,0),new M(0,i,0)).applyMatrix4(t.matrixWorldInverse),this.clip.set(this.plane.normal.x,this.plane.normal.y,this.plane.normal.z,this.plane.constant);const e=t.projectionMatrix.elements;this.q.set((Math.sign(this.clip.x)+e[8])/e[0],(Math.sign(this.clip.y)+e[9])/e[5],-1,(1+e[10])/e[14]),this.clip.multiplyScalar(2/this.clip.dot(this.q)),e[2]=this.clip.x,e[6]=this.clip.y,e[10]=this.clip.z+1,e[14]=this.clip.w}static level(t,i,e,p){const o=t.map(n=>n.x),s=t.map(n=>n.z),[l,h,c,d]=[Math.min(...o),Math.max(...o),Math.min(...s),Math.max(...s)],f=Math.max(p,(h-l)/r.MAX_SAMPLES,(d-c)/r.MAX_SAMPLES,.5),a=[];for(let n=c+f/2;n<d;n+=f)for(let u=l+f/2;u<h;u+=f){const m={x:u,z:n};if(!r.contains(t,m)||i.some(w=>r.contains(w,m)))continue;const x=e(u,n);Number.isFinite(x)&&a.push(x)}if(a.length===0)for(const n of t)a.push(e(n.x,n.z));const g=a.filter(Number.isFinite).sort((n,u)=>n-u);if(g.length!==0)return g[Math.floor((g.length-1)*r.LEVEL_QUANTILE)]}static clip(t,i){let e=t;const p=[{inside:o=>o.x>=-i,cross:(o,s)=>r.atX(o,s,-i)},{inside:o=>o.x<=i,cross:(o,s)=>r.atX(o,s,i)},{inside:o=>o.z>=-i,cross:(o,s)=>r.atZ(o,s,-i)},{inside:o=>o.z<=i,cross:(o,s)=>r.atZ(o,s,i)}];for(const o of p){const s=[];for(let l=0;l<e.length;l++){const h=e[l],c=e[(l+e.length-1)%e.length];o.inside(h)?(o.inside(c)||s.push(o.cross(c,h)),s.push(h)):o.inside(c)&&s.push(o.cross(c,h))}if(e=s,e.length===0)break}return e}static atX(t,i,e){return{x:e,z:t.z+(i.z-t.z)*(e-t.x)/(i.x-t.x)}}static atZ(t,i,e){return{x:t.x+(i.x-t.x)*(e-t.z)/(i.z-t.z),z:e}}static contains(t,i){let e=!1;for(let p=0,o=t.length-1;p<t.length;o=p++){const s=t[p],l=t[o];s.z>i.z!=l.z>i.z&&i.x<(l.x-s.x)*(i.z-s.z)/(l.z-s.z)+s.x&&(e=!e)}return e}static geometry(t,i,e){const p=a=>new R(a.x,a.z),o=t.map(p),s=i.map(a=>a.map(p)),l=T.triangulateShape(o,s);if(l.length===0)return;const h=[...o,...s.flat()],c=[];for(const[a,g,n]of l){const[u,m,x]=[h[a],h[g],h[n]],w=(m.y-u.y)*(x.x-u.x)-(m.x-u.x)*(x.y-u.y)>0;for(const z of w?[u,m,x]:[u,x,m])c.push(z.x,e,z.y)}const d=new B;d.setAttribute("position",new A(c,3));const f=new Float32Array(c.length);for(let a=1;a<f.length;a+=3)f[a]=1;return d.setAttribute("normal",new A(f,3)),d.computeBoundingSphere(),d}}export{r as WaterSystem};
@@ -0,0 +1 @@
1
+ const e={type:"string",doc:"The schema this file was written against, for an editor to check it with: https://ufoathome.org/schema/1/case.schema.json."},t={type:"number",doc:"The version of the format this file is written in (see FormatVersion): 1 when left out, as RR0 writes it."},s={type:"string",doc:"The case's identifier."},a={type:"string"},o={type:"string",doc:"What a link to this case says of it where it is shared as a card (see the Player's share card): a sentence or two, translatable.",loose:!0},i={type:"string",doc:"A picture standing for the case where it is only linked to — see SightingEvent.image."},n={type:"string",doc:'When it happened, as RR0 writes a time ("1948-07-24 02:45", "1954").'},r={type:"array",fields:{type:{type:"enum",values:["event"]},eventType:{type:"string",doc:"What kind of event it is.",suggest:["sighting","interview","interpretation","article","image","book"]},id:{type:"string",doc:"What a reading names an account by (`interpretationOf`), local to the case: it has to be unique among the case's events and nowhere else, so that a reference can be read in the file that writes it."},url:{type:"string"},time:{type:"string"},place:{type:"string",doc:"Where it happened, as RR0 names a place."},by:{type:"array",doc:"Who did it: who held an interview, who made a reading."},medium:{type:"enum",doc:"An interview's: what it was held through (see InterviewMedium).",values:["questionnaire","letter","other","video","in-person","phone","chat","email"]},title:{type:"string",loose:!0},sighting:{type:"string",doc:"An interpretation's, in the older form: the `id` of the recording it interprets."},interpretationOf:{type:"string",doc:"An interpretation's: the `id`, or the ids, of the sightings this one is a reading of.",loose:!0},interviewOf:{type:"string",doc:"An interview's: the `id`, or the ids, of the sighting events of the witnesses it was held with (see CaseFile.INTERVIEW_EVENT).",loose:!0},sealed:{type:"boolean",doc:"Whether what this event lists is frozen: once someone has worked ON a reconstruction — an interview held to hear what the witness makes of it, a hypothesis set against it — a later edit would quietly invalidate that work, so the author freezes the event and clones it to carry on."},summary:{type:"string",doc:"What an event says of itself where its title is not enough: an interview's, what it established.",loose:!0}}},d={type:"object",doc:"The dates and places the case leaves open, each candidate with what supports it: what its readings are played over to say how their verdicts depend on them (see UncertainConditionsJson, ScenarioSweep).",fields:{time:{type:"object",doc:"The dates or instants left open.",fields:{from:{type:"string",doc:'The first instant, ISO local time ("2023-10-14T12:00").'},to:{type:"string",doc:"The last instant, ISO local time."},each:{type:"enum",values:["day","instant"]},sweep:{type:"enum",doc:"How the candidates are iterated: their bounds when absent.",values:["bounds","points","step","deltas"]},points:{type:"array",doc:'With `sweep` "points": the dates ("2023-10-15", at each account\'s own time of day) or instants ("2023-10-15T19:30") to play.'},stepMinutes:{type:"number",doc:'With `sweep` "step": minutes between two candidates; a day (1440) when `each` is "day", an hour otherwise, when absent.'},deltasMinutes:{type:"array",doc:'With `sweep` "deltas": minutes from each account\'s own instant, which is played as well (a delta of 0 need not be listed).'},rationale:{type:"string",doc:"Why these, in a sentence."}}},places:{type:"object",doc:"The places left open, beside each account's own.",fields:{candidates:{type:"array",fields:{id:{type:"string",doc:'What the scenarios at it are named by, unique among the candidates ("pahranagat").'},place:{type:"object",fields:{name:{type:"string",doc:`The place as it is named, fully qualified: "Valensole, Alpes-de-Haute-Provence, Provence-Alpes-Côte d'Azur, France".`},locations:{type:"array",doc:"Where it is: one point for most places, several for one that is not (a road, an area's corners).",fields:{lat:{type:"number",doc:"Latitude, north positive."},lng:{type:"number",doc:"Longitude, east positive."}}},elevation:{type:"number",doc:"Metres above sea level, where it is known."}}},rationale:{type:"string",doc:"Why it is a candidate: the clues that point at it."},sources:{type:"array",fields:{id:{type:"string",doc:"A unique identifier for this data."},dirName:{type:"string",doc:"The directory where the data is stored, relatively to RR0's root."},url:{type:"string",doc:"Public URL of the data (not the RR0 URL)"},events:{type:"array",doc:"Events of the data.",fields:{id:{type:"string",doc:"A unique identifier for this data."},dirName:{type:"string",doc:"The directory where the data is stored, relatively to RR0's root."},url:{type:"string",doc:"Public URL of the data (not the RR0 URL)"},events:{type:"array",doc:"Events of the data.",fields:{}},type:{type:"enum",doc:"The data type",values:["event"]},parent:{type:"string",doc:"Parent data id."},name:{type:"string",doc:"Short name"},surname:{type:"string",doc:"Unofficial name",loose:!0},qualifier:{type:"string",doc:'ex: "senior", "junior", "II"'},title:{type:"string",doc:"Long name, in one or several languages (see SaidText).",loose:!0},next:{type:"string",doc:"If this data is not more relevant, not the latest version, or state of art, this will hold the dirname (or name) of its successor."},note:{type:"string",doc:"A possible note about this data."},description:{type:"string",doc:"A possible short description of this data, in one or several languages (see SaidText).",loose:!0},sources:{type:"array",doc:"External data from which this data was devised.",fields:{}},notes:{type:"array"},tags:{type:"array",doc:"Keywords about that data."},eventType:{type:"enum",values:["book","article","birth","death","image","sighting","interpretation","interview","nationality","move","occupation","union"]},time:{type:"string",doc:'When this event occurred, as EDTF ("2015-05-31T00:50:34", "1965-07-01~").'},place:{type:"string",doc:"Where this event occurred: a reference to a place of RR0 (its name or directory), or the place itself (see PlaceJson), as a recording of UFO@home writes it.",loose:!0}}},type:{type:"enum",doc:"The data type",values:["people","place","org","book","case","event","article","api","product"]},parent:{type:"string",doc:"Parent data id."},name:{type:"string",doc:"Short name"},surname:{type:"string",doc:"Unofficial name",loose:!0},qualifier:{type:"string",doc:'ex: "senior", "junior", "II"'},title:{type:"string",doc:"Long name, in one or several languages (see SaidText).",loose:!0},next:{type:"string",doc:"If this data is not more relevant, not the latest version, or state of art, this will hold the dirname (or name) of its successor."},note:{type:"string",doc:"A possible note about this data."},description:{type:"string",doc:"A possible short description of this data, in one or several languages (see SaidText).",loose:!0},sources:{type:"array",doc:"External data from which this data was devised.",fields:{}},notes:{type:"array"},tags:{type:"array",doc:"Keywords about that data."},subTitle:{type:"string",doc:"A possible subtitle of this source."},authors:{type:"array",doc:"The author(s) name(s) of this source document."},publication:{type:"object",doc:"The details about where and when the source was published.",fields:{publisher:{type:"string",doc:"The editor of the publication."},time:{type:"string",doc:"When the publication occurred."}}},series:{type:"string",doc:"A possible series this source was part of."},summary:{type:"string",doc:"A possible summary of the source's contents."},index:{type:"string",doc:"Chapter, page, etc."}}},for:{type:"array",doc:"The ids of the accounts (their events' `id` in the case) it is a candidate for: every account when absent."}}},sweep:{type:"enum",doc:"How they are iterated: `bounds`, the default, plays every candidate (each is a bound of what the clues leave open); `points` only those named in `points`; `deltas` moves each account's own place by each of `deltasKm`; `step` lays a grid of `stepKm` over the box the candidates and the account's own place span.",values:["bounds","points","step","deltas"]},points:{type:"array",doc:'With `sweep` "points": the `id`s of the candidates to play.'},deltasKm:{type:"array",doc:'With `sweep` "deltas": kilometres east and north of each account\'s own place.',fields:{eastKm:{type:"number"},northKm:{type:"number"}}},stepKm:{type:"number",doc:'With `sweep` "step": kilometres between two points of the grid.'},own:{type:"boolean",doc:"Whether each account's own place, where it is played, is a scenario too: true when absent."}}},keep:{type:"enum",doc:'Which scenarios are kept as readings once the sweep has judged them all (see ScenarioKeep): "telling" when absent.',values:["none","conditional","telling","robust","all"]}}},c={$schema:e,version:t,id:s,title:a,summary:o,image:i,time:n,events:r,conditions:d};export{e as $schema,d as conditions,c as default,r as events,s as id,i as image,o as summary,n as time,a as title,t as version};
@@ -0,0 +1,7 @@
1
+ const e="geipan-qt-2025",n="DTN/DA/GP 2025.0001275",a="fr",t={fr:"Questionnaire technique GEIPAN",en:"GEIPAN technical questionnaire"},i={fr:`Vous avez été témoin direct, sur le territoire français, d’un phénomène aérospatial qui vous a intrigué, et vous souhaitez confier cette observation au GEIPAN pour analyse.
2
+
3
+ Votre témoignage est capital et unique. Il va consister à faire un récit de votre observation, à répondre à des questions précises, à réaliser des dessins et croquis ou joindre des photographies ou des vidéos pour affiner davantage votre description.
4
+
5
+ Il est impératif que vous respectiez les consignes mentionnées à chaque étape afin que nous puissions réunir le plus grand nombre d’informations possible au sujet du phénomène observé.
6
+
7
+ Le questionnaire doit être rempli par le témoin direct de l’observation (un questionnaire par témoin le cas échéant). Le questionnaire ne doit concerner qu’une seule observation à la fois.`},o={publisher:"CNES / GEIPAN",title:"Questionnaire technique GEIPAN",url:"https://www.cnes-geipan.fr/sites/default/files/2025-10/GEIPAN_Questionnaire%20Technique.pdf",date:"2025-10"},s={fr:"Les questions du questionnaire technique public du GEIPAN, numérotées comme lui, sans la page d'état civil ni la concession de droits : celles-ci vont au GEIPAN, pas dans un dossier.",en:"The questions of GEIPAN's public technical questionnaire, numbered as it numbers them, without its page of personal details nor its grant of rights: those go to GEIPAN, not into a case."},r=[{fr:"État civil et coordonnées"},{fr:"Informations complémentaires"},{fr:"Reconstitution en images de votre observation"},{fr:"Dessin/croquis/photo"},{fr:"Concession des droits d’auteur pour les œuvres"}],u=[{title:{fr:"Votre observation"},intro:{fr:"Restituez le maximum d'informations : ce sont souvent les détails qui permettent de résoudre les enquêtes. Si vous n'êtes plus très sûr d'un détail, dites-le, mais n'omettez rien."},fields:[{id:"recit",question:{fr:"Votre récit libre de l'observation"},kind:"long",feeds:"narrative"}]},{title:{fr:"Conditions d'observation du phénomène"},fields:[{id:"A1",question:{fr:"Adresse précise du lieu d'observation (commune, département, rue, …)"},kind:"text",feeds:"place",confidential:{reason:{fr:"Adresse précise",en:"Precise address",es:"Dirección precisa",it:"Indirizzo preciso"}}},{id:"A3",question:{fr:"Si l'observation a eu lieu pendant un déplacement : nom du bateau, de la route ou référence du vol"},kind:"text",required:!1},{id:"B1",question:{fr:"Quelles étaient vos occupations juste avant votre observation ?"},kind:"long"},{id:"B2",question:{fr:"Où vous trouviez-vous exactement ? (Extérieur ou intérieur d'un bâtiment ? quel étage ? si vous regardiez à travers une vitre ? si vous étiez dans un véhicule ? le cas échéant à quelle vitesse rouliez-vous ?)"},kind:"long"},{id:"B3",question:{fr:"Description de la scène d'observation (ville, campagne, sur route, en mer, dans les airs, présence de bâtiments, d'antennes, de fils électriques...)"},kind:"long"},{id:"B4",question:{fr:"Date de l'observation"},kind:"date",feeds:"date"},{id:"B5",question:{fr:"Heure précise de début (en heure locale HH:MM:ss)"},kind:"time",feeds:"startTime"},{id:"B6",question:{fr:"Durée de l'observation ou heure de fin (en heures, minutes, secondes)"},kind:"text",feeds:"duration"},{id:"B7",question:{fr:"D'autres témoins ont-ils vu le même phénomène que vous ? Si oui, combien ?"},kind:"text",hint:{fr:"Le cas échéant, merci de leur demander de nous contacter."}},{id:"B8",question:{fr:"Le cas échéant relation entre ces témoins et vous-même (enfant, conjoint, parent, ami, famille…)"},kind:"text",required:!1},{id:"B9",question:{fr:"L'observation s'est faite de façon"},kind:"choice",choices:[{value:"Continue",label:{fr:"Continue"}},{value:"Discontinue",label:{fr:"Discontinue"}}]},{id:"B10",question:{fr:"Si l'observation s'est faite de façon discontinue, précisez pourquoi elle s'est interrompue et a repris"},kind:"long",required:!1},{id:"B11",question:{fr:"Qu'est-ce qui a provoqué la fin de l'observation ?"},kind:"long"},{id:"B12",question:{fr:"Avez-vous vu le phénomène directement de vos yeux ?"},kind:"choice",choices:[{value:"Oui",label:{fr:"Oui"}},{value:"Non",label:{fr:"Non"}}]},{id:"B13",question:{fr:"Le phénomène a-t-il été observé également au travers d'un instrument (lunettes de vue ou de soleil, jumelles, caméra, appareil photo, smartphone, télescope...) ? Si oui merci de préciser le modèle"},kind:"long"},{id:"B14",question:{fr:"Conditions météorologiques (ciel dégagé, nuages, vent, orage, brume, brouillard, neige, pluie, changement des conditions durant l'observation)"},kind:"long"},{id:"B15",question:{fr:"Conditions astronomiques (position de la Lune, du Soleil, présence ou non d'étoiles ou de planètes etc...)"},kind:"long"},{id:"B16",question:{fr:"Equipements allumés ou actifs pendant l'observation (phares, radio, TV, lumières...)"},kind:"long"},{id:"B17",question:{fr:"Bruits dans l'environnement lors de l'observation (TV ou radio allumées, passage de véhicules, moteur d'avion, tonnerre...)"},kind:"long"}]},{title:{fr:"Description du phénomène"},intro:{fr:"Dans vos descriptions, vous pouvez aussi faire des comparaisons avec des objets connus."},fields:[{id:"C1",question:{fr:"Nombre de phénomènes (unique, multiples ou unique puis se divise... )"},kind:"text"},{id:"C2",question:{fr:"Forme"},kind:"text"},{id:"C3",question:{fr:"Couleur"},kind:"text",feeds:"color"},{id:"C4",question:{fr:"Luminosité du phénomène (sombre, faible, forte, aveuglante, ainsi que pulsante, clignotante, constante) ou en comparaison avec des astres connus (comme Vénus, la Lune), l'éclairage d'un lampadaire, des lumières de voiture, de maison, etc..."},kind:"long"},{id:"C5",question:{fr:"Présence d'une trainée ou d'un halo ? Si oui, de quelle couleur ?"},kind:"text"},{id:"C6",question:{fr:"Taille apparente : exprimez les dimensions du phénomène en millimètres/centimètres comptés sur une règle graduée portée à bout de bras. En l'absence de règle, sachez que la largeur du pouce est d'environ 2.54 cm, ce qui permet d'estimer la taille en distance angulaire (en degré °, selon schéma)."},kind:"text",images:[{src:"angular-size.png",alt:{fr:"Un observateur bras tendu, le pouce entre deux étoiles distantes d'environ 2°",en:"An observer at arm's length, the thumb between two stars about 2° apart"},caption:{fr:"Les deux étoiles ont, pour cet observateur, une distance angulaire d'environ 2°.",en:"For this observer, the two stars are about 2° apart."}}]},{id:"C7",question:{fr:"Bruit provenant du phénomène (sifflement, bourdonnement, détonation, comparaison avec un bruit connu ...)"},kind:"text"},{id:"C8",question:{fr:"Distance entre vous et le phénomène observé, estimée grossièrement, précisez également s'il est passé devant ou derrière un élément du paysage, une construction, un nuage…"},kind:"long"}]},{title:{fr:"Début d'observation (position initiale du PAN dans le ciel)"},fields:[{id:"C9",question:{fr:"Indiquer un point cardinal (Nord, Sud …), ou un azimut en degrés par rapport au Nord, ou un repère visuel ou géographique local (bâtiment, village)"},kind:"text",feeds:"startAzimuth",images:[{src:"azimuth.png",alt:{fr:"Rose des vents : Nord azimut 0°, Nord-Est 45°, Est 90°, Sud-Est 135°, Sud 180°, Sud-Ouest 225°, Ouest 270°, Nord-Ouest 315°",en:"Compass rose: North azimuth 0°, North-East 45°, East 90°, South-East 135°, South 180°, South-West 225°, West 270°, North-West 315°"}}]},{id:"C10",question:{fr:"Indiquer une hauteur en degrés par rapport à l'horizon, ou par rapport à un élément du paysage (ex: 2 fois plus haut que le clocher de l'église)"},kind:"text",feeds:"startElevation",images:[{src:"elevation.png",alt:{fr:"Hauteur au-dessus de l'horizon : 0° à l'horizon, 45°, 90° au zénith",en:"Height above the horizon: 0° at the horizon, 45°, 90° at the zenith"}}]}]},{title:{fr:"Fin d'observation (position finale du PAN dans le ciel)"},fields:[{id:"C11",question:{fr:"Indiquer un point cardinal (Nord, Sud …), ou un azimut en degrés par rapport au Nord, ou un repère visuel ou géographique local (bâtiment, village)."},kind:"text",feeds:"endAzimuth",images:[{src:"azimuth.png",alt:{fr:"Rose des vents : Nord azimut 0°, Nord-Est 45°, Est 90°, Sud-Est 135°, Sud 180°, Sud-Ouest 225°, Ouest 270°, Nord-Ouest 315°",en:"Compass rose: North azimuth 0°, North-East 45°, East 90°, South-East 135°, South 180°, South-West 225°, West 270°, North-West 315°"}}]},{id:"C12",question:{fr:"Indiquer une hauteur en degrés par rapport à l'horizon, ou par rapport à un élément du paysage (ex : 2 fois plus haut que le clocher de l'église)."},kind:"text",feeds:"endElevation",images:[{src:"elevation.png",alt:{fr:"Hauteur au-dessus de l'horizon : 0° à l'horizon, 45°, 90° au zénith",en:"Height above the horizon: 0° at the horizon, 45°, 90° at the zenith"}}]},{id:"C13",question:{fr:"Trajectoire du phénomène (ligne droite, montante, descendante, avec ou sans changement de direction, courbe, etc.)"},kind:"long"},{id:"C14",question:{fr:"Portion du ciel parcourue par le PAN durant l'observation (ex : un quart du ciel ou de 30° à 40° par rapport à l'horizon, etc.)"},kind:"text",images:[{src:"protractor.png",alt:{fr:"Rapporteur posé sur l'horizon, gradué de 0° à 180°",en:"A protractor on the horizon, marked from 0° to 180°"}}]},{id:"C15",question:{fr:"Effet(s) sur l'environnement (trace(s) au sol, effet(s) sur les êtres vivants (animaux) ou le matériel)"},kind:"long"}]},{title:{fr:"Et maintenant ?"},fields:[{id:"E1",question:{fr:"Décrivez les émotions que vous avez ressenties pendant et après l'observation"},kind:"long"},{id:"E1'",question:{fr:"Quelle est votre perception du niveau d'étrangeté de votre observation de 1 à 5 (1 peu étrange, 5 très étrange)"},kind:"scale",choices:[{value:"1",label:{fr:"1"}},{value:"2",label:{fr:"2"}},{value:"3",label:{fr:"3"}},{value:"4",label:{fr:"4"}},{value:"5",label:{fr:"5"}}]},{id:"E2",question:{fr:"Qu'avez-vous fait après votre observation ? En avez-vous parlé ? Comment vos interlocuteurs ont réagi ? Avez-vous fait des recherches pour comprendre ce que vous avez vu ?"},kind:"long"},{id:"E3",question:{fr:"Quelle interprétation donnez-vous à ce que vous avez observé ? Avez-vous pensé à un phénomène connu ? Quels sont les éléments qui permettent de justifier votre interprétation ? Si vous ne savez pas, avez-vous renoncé à comprendre ? Si oui, quand et pourquoi ?"},kind:"long"},{id:"E4",question:{fr:"Avant votre observation, quel intérêt portiez-vous aux phénomènes aérospatiaux étranges ?"},kind:"long"},{id:"E5",question:{fr:"Cette observation a-t-elle changé votre avis sur les PAN ?"},kind:"long"},{id:"E6",question:{fr:"Pensez-vous que la science permettra de donner une explication à votre observation ?"},kind:"long"},{id:"E7",question:{fr:"Pensez-vous que l'expérience que vous avez vécue a modifié quelque chose dans votre vie ? Qu'il peut y avoir un avant et un après ? Expliquez ce que vous ressentez"},kind:"long"}]}],d={id:e,version:n,language:"fr",title:t,intro:i,source:o,note:s,stops:r,sections:u};export{d as default,e as id,i as intro,a as language,s as note,u as sections,o as source,r as stops,t as title,n as version};
@@ -0,0 +1 @@
1
+ const e={type:"string",doc:"The schema this file was written against, for an editor to check it with: https://ufoathome.org/schema/1/interview.schema.json."},t={type:"number",doc:"The version of the format this file is written in (see FormatVersion): 1, the only one so far."},i={type:"string"},s={type:"string"},n={type:"string",doc:"What the interview is called, in the languages it has.",loose:!0},o={type:"string",doc:"When it was held, as RR0 writes a time."},a={type:"enum",doc:"What it was held through: face to face (`in-person`), by `phone`, in a `video` call, by `chat`, by `email`, by `letter`, a `questionnaire` the witness filled in, or `other`.",values:["questionnaire","letter","other","video","in-person","phone","chat","email"]},r={type:"object",doc:"The questionnaire it was filled in on, when it was held through one: the id of its template (see QuestionnaireTemplate) and its version.",fields:{id:{type:"string"},version:{type:"string"},recipient:{type:"object",doc:"Who its confidential answers are sealed for (see QuestionnaireSeal): none, and a confidential answer is kept in no file at all.",fields:{id:{type:"string",doc:"What a sealed answer names it by (see InterviewSeal.for)."},name:{type:"string",loose:!0},publicKey:{type:"object",doc:"Its public key, RSA-OAEP with SHA-256, as a JSON Web Key."}}}}},d={type:"array",doc:"Who held it."},c={type:"string",doc:"The `id`, or the ids, of the sighting events of the case it was held with.",loose:!0},h={type:"string",doc:"What it established, in the languages it has.",loose:!0},p={type:"object"},l={type:"object",fields:{method:{type:"enum",values:["automatic","manual"]},engine:{type:"string"},note:{type:"string"}}},y={type:"object",doc:"Who approved the transcript, by speaker id."},f={type:"object",doc:"What was taken out to anonymise it, and what stands in its place.",fields:{replaced:{type:"array"},marker:{type:"string"}}},g={type:"array",doc:"The recordings of the interview, if any are kept (see InterviewRecording).",fields:{kind:{type:"enum",values:["video","audio"]},src:{type:"string",doc:"Its address, relative to the transcript's file."},offset:{type:"number",doc:"Seconds of the recording before the transcript's time 0."}}},u={type:"array",fields:{speaker:{type:"string"},start:{type:"number"},end:{type:"number"},text:{type:"string"},redacted:{type:"object",fields:{reason:{type:"string",doc:"Why, in the languages it has: what kind of passage (private life, identifying detail, small talk, recognition error).",loose:!0},words:{type:"number",doc:'How many words were taken out: what a reader can be told of a passage whose text is gone ("passage taken out · 10 words").'},sealed:{type:"object",doc:"The passage itself, sealed for the one who may read it (a confidential answer to a questionnaire, see QuestionnaireSeal): taken out for everybody else, kept for them.",fields:{for:{type:"string",doc:"The id of the recipient it is sealed for (see SealRecipient)."},alg:{type:"enum",values:["RSA-OAEP-256+A256GCM"]},key:{type:"string",doc:"The AES key, encrypted with the recipient's public key, in base64."},iv:{type:"string",doc:"The AES-GCM nonce, in base64."},data:{type:"string",doc:"The answer, UTF-8 encrypted with the AES key, in base64."}}}}},parts:{type:"array"},refs:{type:"array",doc:"The moments of the observation this passage tells of.",fields:{sighting:{type:"string",doc:"The `id` of the sighting event of the case; the interview's own `interviewOf` when omitted."},at:{type:"number",doc:"Seconds since the beginning of the observation."},range:{type:"array",doc:"The part of the segment's text it is about, as `[from, to)` character offsets."}}},field:{type:"string",doc:'In a questionnaire the witness filled in, the field this turn asks or answers: its number or its name as the questionnaire gives it ("12", "duration").'}}},m={$schema:e,version:t,id:i,language:s,title:n,time:o,medium:a,questionnaire:r,by:d,interviewOf:c,summary:h,speakers:p,transcription:l,proofreading:y,anonymization:f,recordings:g,segments:u};export{e as $schema,f as anonymization,d as by,m as default,i as id,c as interviewOf,s as language,a as medium,y as proofreading,r as questionnaire,g as recordings,u as segments,p as speakers,h as summary,o as time,n as title,l as transcription,t as version};