@rr0/ufoathome 0.199.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.
- package/dist-embed-interview/InterviewMessages_en-BRmuWrAg.js +1 -0
- package/dist-embed-interview/InterviewMessages_es-BTotimwY.js +1 -0
- package/dist-embed-interview/InterviewMessages_fr-DBCdGB0r.js +1 -0
- package/dist-embed-interview/InterviewMessages_it-B5EyMD-k.js +1 -0
- package/dist-embed-interview/rr0-interview.mjs +1 -1
- package/dist-embed-scene/{AdsbLolArchiveProvider-BtF4baVw.js → AdsbLolArchiveProvider-C6FJmrLQ.js} +1 -1
- package/dist-embed-scene/AirshipEditor-BnRmKeVs.js +16 -0
- package/dist-embed-scene/AirshipEditorMessages_en-CFafbbN8.js +1 -0
- package/dist-embed-scene/AirshipEditorMessages_es-ht4kFQUD.js +1 -0
- package/dist-embed-scene/AirshipEditorMessages_fr-Bhj6QKCL.js +1 -0
- package/dist-embed-scene/AirshipEditorMessages_it-Cfl9mFjn.js +1 -0
- package/dist-embed-scene/AirshipFlight-C9DSPGwk.js +1 -0
- package/dist-embed-scene/AirshipKindMessages_en-DzGapVTV.js +1 -0
- package/dist-embed-scene/AirshipKindMessages_es-TE93uMSC.js +1 -0
- package/dist-embed-scene/AirshipKindMessages_fr-BTXNsW5W.js +1 -0
- package/dist-embed-scene/AirshipKindMessages_it-Cwa3MnJ-.js +1 -0
- package/dist-embed-scene/AirshipParameterTexts_en-DZxqhSI3.js +1 -0
- package/dist-embed-scene/AirshipParameterTexts_es-BDJUZOmr.js +1 -0
- package/dist-embed-scene/AirshipParameterTexts_fr-Cj-D0Xb_.js +1 -0
- package/dist-embed-scene/AirshipParameterTexts_it-BhC9cEbs.js +1 -0
- package/dist-embed-scene/Aurora-BmVyTP6i.js +1 -0
- package/dist-embed-scene/AuroraEditor-CN6BQMUW.js +8 -0
- package/dist-embed-scene/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
- package/dist-embed-scene/AuroraEditorMessages_es-i8-psDHN.js +1 -0
- package/dist-embed-scene/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
- package/dist-embed-scene/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
- package/dist-embed-scene/AuroraKindMessages_en-D_W4giJa.js +1 -0
- package/dist-embed-scene/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
- package/dist-embed-scene/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
- package/dist-embed-scene/AuroraKindMessages_it-DcwuoMkp.js +1 -0
- package/dist-embed-scene/AuroraParameterTexts_en-shkUd-dT.js +1 -0
- package/dist-embed-scene/AuroraParameterTexts_es-CwGYyafK.js +1 -0
- package/dist-embed-scene/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
- package/dist-embed-scene/AuroraParameterTexts_it-DHniBj_2.js +1 -0
- package/dist-embed-scene/AuroraSimulation-BZpjImM0.js +152 -0
- package/dist-embed-scene/BalloonEditor-BehJs6H-.js +24 -0
- package/dist-embed-scene/BalloonEditorMessages_en-B2n2FutN.js +1 -0
- package/dist-embed-scene/BalloonEditorMessages_es-BXppdrpF.js +1 -0
- package/dist-embed-scene/BalloonEditorMessages_fr-BmUizmQy.js +1 -0
- package/dist-embed-scene/BalloonEditorMessages_it-Dx0JODqK.js +1 -0
- package/dist-embed-scene/BalloonFlight-BYn4diw1.js +1 -0
- package/dist-embed-scene/BalloonKindMessages_en-C6tZ-5gT.js +1 -0
- package/dist-embed-scene/BalloonKindMessages_es-BfoEjhe1.js +1 -0
- package/dist-embed-scene/BalloonKindMessages_fr-C3QJIuDJ.js +1 -0
- package/dist-embed-scene/BalloonKindMessages_it-CkO7mqHp.js +1 -0
- package/dist-embed-scene/BalloonParameterTexts_en-CHm_vRVx.js +1 -0
- package/dist-embed-scene/BalloonParameterTexts_es-BYaljnsn.js +1 -0
- package/dist-embed-scene/BalloonParameterTexts_fr-IhyPRhYG.js +1 -0
- package/dist-embed-scene/BalloonParameterTexts_it-BqBPIfav.js +1 -0
- package/dist-embed-scene/{BeamEditor-Dj1Wt50v.js → BeamEditor-BbbtyCOw.js} +1 -1
- package/dist-embed-scene/BeamSystem-DtRwoKHP.js +1 -0
- package/dist-embed-scene/{BirdEditor-CKpe681e.js → BirdEditor-dOp1sGsz.js} +1 -1
- package/dist-embed-scene/{BirdFlock-B2SbkMme.js → BirdFlock-CfJeXvWu.js} +1 -1
- package/dist-embed-scene/DroneEditor-CBoR4fJ_.js +16 -0
- package/dist-embed-scene/{DroneFlight-BTFHGVWd.js → DroneFlight-DSE1OXqh.js} +1 -1
- package/dist-embed-scene/DroneParameters-D3EOg4oe.js +1 -0
- package/dist-embed-scene/{Flightradar24Provider-BBj_wixV.js → Flightradar24Provider-BZDUU8WC.js} +1 -1
- package/dist-embed-scene/{GLTFLoader-CKDxld-A.js → GLTFLoader-Dwb-fLT2.js} +1 -1
- package/dist-embed-scene/{LanternEditor-iByq1q3j.js → LanternEditor-CbcA7K8y.js} +1 -1
- package/dist-embed-scene/{LaserBeam-BQWS_xWa.js → LaserBeam-AjgGxDIq.js} +1 -1
- package/dist-embed-scene/{LaunchEditor-CjpESdIe.js → LaunchEditor-tMadX67W.js} +1 -1
- package/dist-embed-scene/{LaunchPlume-DVsshxQE.js → LaunchPlume-C7lTPaXd.js} +1 -1
- package/dist-embed-scene/{LaunchSimulation-BU7X_C8t.js → LaunchSimulation-ByGBMtSW.js} +1 -1
- package/dist-embed-scene/ModuleSession-XnOI5Mcr.js +3 -0
- package/dist-embed-scene/ModuleThree-BTQgimAj.js +1 -0
- package/dist-embed-scene/{ParameterForm-BHRESNZ4.js → ParameterForm-CRC9iA-m.js} +1 -1
- package/dist-embed-scene/{ReentryEditor-DpNPIxOG.js → ReentryEditor-Bjh0q9Ii.js} +1 -1
- package/dist-embed-scene/{ReentrySimulation-m-TICP2i.js → ReentrySimulation-Bgnppel8.js} +1 -1
- package/dist-embed-scene/ReferenceSystem-D1BkjwT7.js +1 -0
- package/dist-embed-scene/{SceneNames_en-Dn90NisJ.js → SceneNames_en-BFJsR6Cc.js} +1 -1
- package/dist-embed-scene/{SceneNames_es-DH6GZWja.js → SceneNames_es-BHBTwcJ3.js} +1 -1
- package/dist-embed-scene/{SceneNames_fr-rltu5c_j.js → SceneNames_fr-CFsA4XeK.js} +1 -1
- package/dist-embed-scene/{SceneNames_it-DsNshdIp.js → SceneNames_it-DkIgwviv.js} +1 -1
- package/dist-embed-scene/SearchlightEditor-CogwU9pl.js +8 -0
- package/dist-embed-scene/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
- package/dist-embed-scene/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
- package/dist-embed-scene/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
- package/dist-embed-scene/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
- package/dist-embed-scene/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
- package/dist-embed-scene/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
- package/dist-embed-scene/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
- package/dist-embed-scene/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
- package/dist-embed-scene/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
- package/dist-embed-scene/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
- package/dist-embed-scene/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
- package/dist-embed-scene/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
- package/dist-embed-scene/SearchlightSystem-CX1_nBkz.js +1 -0
- package/dist-embed-scene/{SkyLantern-BKxwl7Po.js → SkyLantern-Dp_B40X0.js} +1 -1
- package/dist-embed-scene/{TimelineTracks-Cjt0OHJS.js → TimelineTracks-iym9uOfD.js} +1 -1
- package/dist-embed-scene/{UfoMessages_en-A8Ku1B0Y.js → UfoMessages_en-CqQ-VdQJ.js} +1 -1
- package/dist-embed-scene/rr0-scene.mjs +401 -326
- package/dist-embed-scene/sightingSchema-9MogCcUd.js +1 -0
- package/dist-embed-sighting/{AdsbLolArchiveProvider-BfWrS1jn.js → AdsbLolArchiveProvider-CsuxO9wl.js} +1 -1
- package/dist-embed-sighting/AirshipEditor-DkDCkwGG.js +16 -0
- package/dist-embed-sighting/AirshipEditorMessages_en-CFafbbN8.js +1 -0
- package/dist-embed-sighting/AirshipEditorMessages_es-ht4kFQUD.js +1 -0
- package/dist-embed-sighting/AirshipEditorMessages_fr-Bhj6QKCL.js +1 -0
- package/dist-embed-sighting/AirshipEditorMessages_it-Cfl9mFjn.js +1 -0
- package/dist-embed-sighting/AirshipFlight-D8fH97A1.js +1 -0
- package/dist-embed-sighting/AirshipKindMessages_en-DzGapVTV.js +1 -0
- package/dist-embed-sighting/AirshipKindMessages_es-TE93uMSC.js +1 -0
- package/dist-embed-sighting/AirshipKindMessages_fr-BTXNsW5W.js +1 -0
- package/dist-embed-sighting/AirshipKindMessages_it-Cwa3MnJ-.js +1 -0
- package/dist-embed-sighting/AirshipParameterTexts_en-DZxqhSI3.js +1 -0
- package/dist-embed-sighting/AirshipParameterTexts_es-BDJUZOmr.js +1 -0
- package/dist-embed-sighting/AirshipParameterTexts_fr-Cj-D0Xb_.js +1 -0
- package/dist-embed-sighting/AirshipParameterTexts_it-BhC9cEbs.js +1 -0
- package/dist-embed-sighting/Aurora-DN89D94m.js +1 -0
- package/dist-embed-sighting/AuroraEditor-C4tY9hXK.js +8 -0
- package/dist-embed-sighting/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
- package/dist-embed-sighting/AuroraEditorMessages_es-i8-psDHN.js +1 -0
- package/dist-embed-sighting/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
- package/dist-embed-sighting/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
- package/dist-embed-sighting/AuroraKindMessages_en-D_W4giJa.js +1 -0
- package/dist-embed-sighting/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
- package/dist-embed-sighting/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
- package/dist-embed-sighting/AuroraKindMessages_it-DcwuoMkp.js +1 -0
- package/dist-embed-sighting/AuroraParameterTexts_en-shkUd-dT.js +1 -0
- package/dist-embed-sighting/AuroraParameterTexts_es-CwGYyafK.js +1 -0
- package/dist-embed-sighting/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
- package/dist-embed-sighting/AuroraParameterTexts_it-DHniBj_2.js +1 -0
- package/dist-embed-sighting/AuroraSimulation-C9hvCV0W.js +152 -0
- package/dist-embed-sighting/BalloonEditor-CaWwqWKK.js +24 -0
- package/dist-embed-sighting/BalloonEditorMessages_en-B2n2FutN.js +1 -0
- package/dist-embed-sighting/BalloonEditorMessages_es-BXppdrpF.js +1 -0
- package/dist-embed-sighting/BalloonEditorMessages_fr-BmUizmQy.js +1 -0
- package/dist-embed-sighting/BalloonEditorMessages_it-Dx0JODqK.js +1 -0
- package/dist-embed-sighting/BalloonFlight-MN_clHSJ.js +1 -0
- package/dist-embed-sighting/BalloonKindMessages_en-C6tZ-5gT.js +1 -0
- package/dist-embed-sighting/BalloonKindMessages_es-BfoEjhe1.js +1 -0
- package/dist-embed-sighting/BalloonKindMessages_fr-C3QJIuDJ.js +1 -0
- package/dist-embed-sighting/BalloonKindMessages_it-CkO7mqHp.js +1 -0
- package/dist-embed-sighting/BalloonParameterTexts_en-CHm_vRVx.js +1 -0
- package/dist-embed-sighting/BalloonParameterTexts_es-BYaljnsn.js +1 -0
- package/dist-embed-sighting/BalloonParameterTexts_fr-IhyPRhYG.js +1 -0
- package/dist-embed-sighting/BalloonParameterTexts_it-BqBPIfav.js +1 -0
- package/dist-embed-sighting/{BeamEditor--mMu1zwv.js → BeamEditor-DDzw-fB_.js} +2 -2
- package/dist-embed-sighting/BeamSystem-CsNwl_vM.js +1 -0
- package/dist-embed-sighting/{BirdEditor-DZ1Ybqeu.js → BirdEditor-BgNNcdhv.js} +1 -1
- package/dist-embed-sighting/{BirdFlock-BZScQXfR.js → BirdFlock-DBgkxsxp.js} +1 -1
- package/dist-embed-sighting/{CaseReportExport-CAuwP-Ec.js → CaseReportExport-DVVsc8gA.js} +1 -1
- package/dist-embed-sighting/DroneEditor-5nuq52EG.js +16 -0
- package/dist-embed-sighting/{DroneFlight-WxqILFs6.js → DroneFlight-sMbiog9j.js} +1 -1
- package/dist-embed-sighting/DroneParameters-DHeJ7KyU.js +1 -0
- package/dist-embed-sighting/{Flightradar24Provider-DJmvd2AL.js → Flightradar24Provider-p4a3_chL.js} +1 -1
- package/dist-embed-sighting/{GLTFLoader-FWVFviG5.js → GLTFLoader-fbsNsHlp.js} +1 -1
- package/dist-embed-sighting/InterviewMessages_en-BRmuWrAg.js +1 -0
- package/dist-embed-sighting/InterviewMessages_es-BTotimwY.js +1 -0
- package/dist-embed-sighting/InterviewMessages_fr-DBCdGB0r.js +1 -0
- package/dist-embed-sighting/InterviewMessages_it-B5EyMD-k.js +1 -0
- package/dist-embed-sighting/{LanternEditor-Do0kggi8.js → LanternEditor-Be5Io1J-.js} +1 -1
- package/dist-embed-sighting/{LaserBeam-CMO6tMze.js → LaserBeam-BRdhNOMZ.js} +1 -1
- package/dist-embed-sighting/{LaunchEditor-CZri7DN4.js → LaunchEditor-BGyLgkGS.js} +1 -1
- package/dist-embed-sighting/{LaunchPlume-DxDfUSlS.js → LaunchPlume-iiiayJ8I.js} +1 -1
- package/dist-embed-sighting/{LaunchSimulation-CTxbrEJw.js → LaunchSimulation-DvexI06i.js} +1 -1
- package/dist-embed-sighting/ModuleSession-ChJsGuTn.js +3 -0
- package/dist-embed-sighting/ModuleThree-whEZoXYF.js +1 -0
- package/dist-embed-sighting/{ParameterForm-B8nX9qW-.js → ParameterForm-DFHcolwG.js} +1 -1
- package/dist-embed-sighting/{ReentryEditor-BbhQfIPi.js → ReentryEditor-C6EJJf4l.js} +1 -1
- package/dist-embed-sighting/{ReentrySimulation-BHbW9YNO.js → ReentrySimulation-BFVBOWrm.js} +1 -1
- package/dist-embed-sighting/ReferenceSystem-zTvTqp5y.js +1 -0
- package/dist-embed-sighting/SearchlightEditor-By5Z3ef7.js +8 -0
- package/dist-embed-sighting/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
- package/dist-embed-sighting/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
- package/dist-embed-sighting/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
- package/dist-embed-sighting/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
- package/dist-embed-sighting/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
- package/dist-embed-sighting/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
- package/dist-embed-sighting/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
- package/dist-embed-sighting/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
- package/dist-embed-sighting/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
- package/dist-embed-sighting/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
- package/dist-embed-sighting/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
- package/dist-embed-sighting/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
- package/dist-embed-sighting/SearchlightSystem-B2-MzG4x.js +1 -0
- package/dist-embed-sighting/{SightingMessages_en-sch1T1ki.js → SightingMessages_en-D3YVhgUj.js} +1 -1
- package/dist-embed-sighting/{SightingMessages_es-DemDEDtF.js → SightingMessages_es-ME6FeTp-.js} +1 -1
- package/dist-embed-sighting/{SightingMessages_fr-DskVkEj0.js → SightingMessages_fr-BgXYuIq4.js} +1 -1
- package/dist-embed-sighting/{SightingMessages_it-CrbYpdv8.js → SightingMessages_it-DcE90eAl.js} +1 -1
- package/dist-embed-sighting/{SkyLantern-COmog7pF.js → SkyLantern-yYihsrun.js} +1 -1
- package/dist-embed-sighting/{TimelineTracks-CYIJdyPF.js → TimelineTracks-Cw7W2uiK.js} +1 -1
- package/dist-embed-sighting/rr0-sighting.mjs +417 -342
- package/dist-embed-sighting/sightingSchema-9MogCcUd.js +1 -0
- package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-BqEnqRP0.js → AdsbLolArchiveProvider-CWpyBqG3.js} +1 -1
- package/dist-embed-sighting-editor/AirshipEditor-BvnVNcF4.js +16 -0
- package/dist-embed-sighting-editor/AirshipEditorMessages_en-CFafbbN8.js +1 -0
- package/dist-embed-sighting-editor/AirshipEditorMessages_es-ht4kFQUD.js +1 -0
- package/dist-embed-sighting-editor/AirshipEditorMessages_fr-Bhj6QKCL.js +1 -0
- package/dist-embed-sighting-editor/AirshipEditorMessages_it-Cfl9mFjn.js +1 -0
- package/dist-embed-sighting-editor/AirshipFlight-CB1Quf68.js +1 -0
- package/dist-embed-sighting-editor/AirshipKindMessages_en-DzGapVTV.js +1 -0
- package/dist-embed-sighting-editor/AirshipKindMessages_es-TE93uMSC.js +1 -0
- package/dist-embed-sighting-editor/AirshipKindMessages_fr-BTXNsW5W.js +1 -0
- package/dist-embed-sighting-editor/AirshipKindMessages_it-Cwa3MnJ-.js +1 -0
- package/dist-embed-sighting-editor/AirshipParameterTexts_en-DZxqhSI3.js +1 -0
- package/dist-embed-sighting-editor/AirshipParameterTexts_es-BDJUZOmr.js +1 -0
- package/dist-embed-sighting-editor/AirshipParameterTexts_fr-Cj-D0Xb_.js +1 -0
- package/dist-embed-sighting-editor/AirshipParameterTexts_it-BhC9cEbs.js +1 -0
- package/dist-embed-sighting-editor/Aurora-BRXvgyRM.js +1 -0
- package/dist-embed-sighting-editor/AuroraEditor-JQ3kRqrq.js +8 -0
- package/dist-embed-sighting-editor/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
- package/dist-embed-sighting-editor/AuroraEditorMessages_es-i8-psDHN.js +1 -0
- package/dist-embed-sighting-editor/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
- package/dist-embed-sighting-editor/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
- package/dist-embed-sighting-editor/AuroraKindMessages_en-D_W4giJa.js +1 -0
- package/dist-embed-sighting-editor/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
- package/dist-embed-sighting-editor/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
- package/dist-embed-sighting-editor/AuroraKindMessages_it-DcwuoMkp.js +1 -0
- package/dist-embed-sighting-editor/AuroraParameterTexts_en-shkUd-dT.js +1 -0
- package/dist-embed-sighting-editor/AuroraParameterTexts_es-CwGYyafK.js +1 -0
- package/dist-embed-sighting-editor/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
- package/dist-embed-sighting-editor/AuroraParameterTexts_it-DHniBj_2.js +1 -0
- package/dist-embed-sighting-editor/AuroraSimulation-i64MFW2z.js +152 -0
- package/dist-embed-sighting-editor/{BallesterGuaspAssessor-BL_yzudf.js → BallesterGuaspAssessor-BaKKAdY3.js} +1 -1
- package/dist-embed-sighting-editor/BalloonEditor-C2oHClW7.js +24 -0
- package/dist-embed-sighting-editor/BalloonEditorMessages_en-B2n2FutN.js +1 -0
- package/dist-embed-sighting-editor/BalloonEditorMessages_es-BXppdrpF.js +1 -0
- package/dist-embed-sighting-editor/BalloonEditorMessages_fr-BmUizmQy.js +1 -0
- package/dist-embed-sighting-editor/BalloonEditorMessages_it-Dx0JODqK.js +1 -0
- package/dist-embed-sighting-editor/BalloonFlight-B9A6MoCj.js +1 -0
- package/dist-embed-sighting-editor/BalloonKindMessages_en-C6tZ-5gT.js +1 -0
- package/dist-embed-sighting-editor/BalloonKindMessages_es-BfoEjhe1.js +1 -0
- package/dist-embed-sighting-editor/BalloonKindMessages_fr-C3QJIuDJ.js +1 -0
- package/dist-embed-sighting-editor/BalloonKindMessages_it-CkO7mqHp.js +1 -0
- package/dist-embed-sighting-editor/BalloonParameterTexts_en-CHm_vRVx.js +1 -0
- package/dist-embed-sighting-editor/BalloonParameterTexts_es-BYaljnsn.js +1 -0
- package/dist-embed-sighting-editor/BalloonParameterTexts_fr-IhyPRhYG.js +1 -0
- package/dist-embed-sighting-editor/BalloonParameterTexts_it-BqBPIfav.js +1 -0
- package/dist-embed-sighting-editor/{BeamEditor-DA29mfqm.js → BeamEditor-CW7mTQjS.js} +1 -1
- package/dist-embed-sighting-editor/BeamSystem-CSfJjLCb.js +1 -0
- package/dist-embed-sighting-editor/BirdEditor-BdxhCoW9.js +16 -0
- package/dist-embed-sighting-editor/{BirdFlock-TI63ZAKZ.js → BirdFlock-DCbrukNp.js} +1 -1
- package/dist-embed-sighting-editor/{BodyEditor-COLTBHzX.js → BodyEditor-DE8ZQrqe.js} +1 -1
- package/dist-embed-sighting-editor/{CaseElement--JmpOsUW.js → CaseElement-C46wM-nU.js} +3 -3
- package/dist-embed-sighting-editor/{CaseReportExport-nFM_7lq4.js → CaseReportExport-UVrInf6H.js} +3 -3
- package/dist-embed-sighting-editor/{ContrailSystem-B0cQbaHc.js → ContrailSystem-CDSSxouG.js} +1 -1
- package/dist-embed-sighting-editor/{ControlPasses-BvS8haeS.js → ControlPasses-CsOVa-jq.js} +1 -1
- package/dist-embed-sighting-editor/{CoverageAssessor-DD1kSvun.js → CoverageAssessor-DWY_gJJX.js} +1 -1
- package/dist-embed-sighting-editor/DroneEditor-DgeuaHdb.js +16 -0
- package/dist-embed-sighting-editor/{DroneFlight-BpnBgJ9K.js → DroneFlight-CFztr-9j.js} +1 -1
- package/dist-embed-sighting-editor/DroneParameters-CHmDmRoC.js +1 -0
- package/dist-embed-sighting-editor/{Flightradar24Provider-D5OdIL0L.js → Flightradar24Provider-e6_3o9Jf.js} +1 -1
- package/dist-embed-sighting-editor/{GLTFLoader-DuqJVU4y.js → GLTFLoader-Df-r7_lf.js} +1 -1
- package/dist-embed-sighting-editor/{GenerativeKitMessages-B8L7U7gD.js → GenerativeKitMessages-CmqG-T2c.js} +1 -1
- package/dist-embed-sighting-editor/{GeoExportTexts-DrGdI2OF.js → GeoExportTexts-Wjc5YKlM.js} +1 -1
- package/dist-embed-sighting-editor/{GeoJsonExport-BZ-0v8fM.js → GeoJsonExport-BSPGzTbG.js} +1 -1
- package/dist-embed-sighting-editor/GeographicFigures-D_TfLkj9.js +1 -0
- package/dist-embed-sighting-editor/{HeadlightSystem-BejdfHqe.js → HeadlightSystem-DljWmzj5.js} +1 -1
- package/dist-embed-sighting-editor/{HynekAssessor-CwzpS7YP.js → HynekAssessor-BCDwoOI9.js} +1 -1
- package/dist-embed-sighting-editor/InterviewEditorElement-KHpgfy3k.js +277 -0
- package/dist-embed-sighting-editor/{InterviewElement-B3tm7y49.js → InterviewElement-DDa53uMq.js} +1 -1
- package/dist-embed-sighting-editor/InterviewMedia-CGVsMdje.js +1 -0
- package/dist-embed-sighting-editor/InterviewMessages_en-BRmuWrAg.js +1 -0
- package/dist-embed-sighting-editor/InterviewMessages_es-BTotimwY.js +1 -0
- package/dist-embed-sighting-editor/InterviewMessages_fr-DBCdGB0r.js +1 -0
- package/dist-embed-sighting-editor/InterviewMessages_it-B5EyMD-k.js +1 -0
- package/dist-embed-sighting-editor/{KmlExport-Bh4eTycx.js → KmlExport-B46AfaoJ.js} +1 -1
- package/dist-embed-sighting-editor/LanternEditor-CkbeitJh.js +24 -0
- package/dist-embed-sighting-editor/{LaserBeam-tqM2fwHf.js → LaserBeam-Ber-PT8j.js} +1 -1
- package/dist-embed-sighting-editor/LaunchEditor-BsvHahqK.js +22 -0
- package/dist-embed-sighting-editor/{LaunchPlume-DWyU0YyJ.js → LaunchPlume-BmPMeGMN.js} +1 -1
- package/dist-embed-sighting-editor/{LaunchSimulation-C_OJQoKC.js → LaunchSimulation-g-ETWhEH.js} +1 -1
- package/dist-embed-sighting-editor/ModelSource-DOUnBBhu.js +1 -0
- package/dist-embed-sighting-editor/{ModelThumbnails-C_8KCF7H.js → ModelThumbnails-TwG1snwZ.js} +1 -1
- package/dist-embed-sighting-editor/{ModelViewer-Cy-6IZBY.js → ModelViewer-Y_B6eM4z.js} +1 -1
- package/dist-embed-sighting-editor/ModuleConformance-CO1S9pa3.js +2 -0
- package/dist-embed-sighting-editor/ModuleSession-VLS0tjAb.js +3 -0
- package/dist-embed-sighting-editor/ModuleThree-DQ2dT7XW.js +1 -0
- package/dist-embed-sighting-editor/{ModulesPanelElement-hDjGLhRa.js → ModulesPanelElement--YQ0QtcW.js} +3 -3
- package/dist-embed-sighting-editor/{NearestApproach-D6tQo7dk.js → NearestApproach-C_8Uvp6i.js} +1 -1
- package/dist-embed-sighting-editor/PictureRegistration-Br0xjLE2.js +1 -0
- package/dist-embed-sighting-editor/{PoherAssessor-BTYpHucH.js → PoherAssessor-DtDcuhWK.js} +1 -1
- package/dist-embed-sighting-editor/QuestionnaireFeed-CvLtuLIH.js +1 -0
- package/dist-embed-sighting-editor/QuestionnaireForm-DA6LPvBt.js +1 -0
- package/dist-embed-sighting-editor/QuestionnaireImport-BYj5QoJS.js +5 -0
- package/dist-embed-sighting-editor/QuestionnaireSeal-DpZYUhnf.js +1 -0
- package/dist-embed-sighting-editor/{RailwaySystem-D_8D64Bu.js → RailwaySystem-eT-ZKfZl.js} +1 -1
- package/dist-embed-sighting-editor/ReentryEditor-CW8H7KaA.js +28 -0
- package/dist-embed-sighting-editor/{ReentrySimulation-Bom073AV.js → ReentrySimulation-DVl__RjO.js} +1 -1
- package/dist-embed-sighting-editor/ReferenceSystem-DxVYO7g9.js +1 -0
- package/dist-embed-sighting-editor/{RoadMarkings-BGK7ToZP.js → RoadMarkings-DJraHdS6.js} +1 -1
- package/dist-embed-sighting-editor/ScenarioReadings-BYqlpLo8.js +1 -0
- package/dist-embed-sighting-editor/ScenarioSweep-Ddtuo_Af.js +1 -0
- package/dist-embed-sighting-editor/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
- package/dist-embed-sighting-editor/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
- package/dist-embed-sighting-editor/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
- package/dist-embed-sighting-editor/ScenarioSweepMessages_it-DANW3_la.js +1 -0
- package/dist-embed-sighting-editor/{SceneNames_en-9zK_E4jO.js → SceneNames_en-p5YNYZhA.js} +1 -1
- package/dist-embed-sighting-editor/{SceneNames_es-B6FtSh6r.js → SceneNames_es-DlMqYLL9.js} +1 -1
- package/dist-embed-sighting-editor/{SceneNames_fr-lUEwaxUk.js → SceneNames_fr-lFA7hY3x.js} +1 -1
- package/dist-embed-sighting-editor/{SceneNames_it-ChU8RE2E.js → SceneNames_it-CDwvX1Nw.js} +1 -1
- package/dist-embed-sighting-editor/SearchlightEditor-BSI8hB1V.js +8 -0
- package/dist-embed-sighting-editor/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
- package/dist-embed-sighting-editor/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
- package/dist-embed-sighting-editor/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
- package/dist-embed-sighting-editor/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
- package/dist-embed-sighting-editor/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
- package/dist-embed-sighting-editor/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
- package/dist-embed-sighting-editor/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
- package/dist-embed-sighting-editor/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
- package/dist-embed-sighting-editor/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
- package/dist-embed-sighting-editor/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
- package/dist-embed-sighting-editor/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
- package/dist-embed-sighting-editor/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
- package/dist-embed-sighting-editor/SearchlightSystem-DHfVi2np.js +1 -0
- package/{dist-embed-ufoathome/SightingEditorMessages_en-CtZXoBSS.js → dist-embed-sighting-editor/SightingEditorMessages_en-k7_ua2OM.js} +1 -1
- package/dist-embed-sighting-editor/{SightingEditorMessages_es-CKXlDIja.js → SightingEditorMessages_es-Drqbbr5_.js} +1 -1
- package/{dist-embed-ufoathome/SightingEditorMessages_fr-DjP6vAKo.js → dist-embed-sighting-editor/SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
- package/{dist-embed-ufoathome/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-sighting-editor/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
- package/dist-embed-sighting-editor/{SightingElement-DsR4mBCh.js → SightingElement-T0x4j9Zt.js} +4 -4
- package/dist-embed-sighting-editor/{SightingFileEditor-0VZmtiOX.js → SightingFileEditor-Du3A9uZm.js} +1 -1
- package/dist-embed-sighting-editor/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
- package/dist-embed-sighting-editor/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
- package/dist-embed-sighting-editor/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
- package/dist-embed-sighting-editor/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
- package/dist-embed-sighting-editor/{SkyLantern-BDpxvmY3.js → SkyLantern-Dl4yl-lc.js} +1 -1
- package/dist-embed-sighting-editor/{TraceSystem-B1mmypS3.js → TraceSystem-Dbu_bgfE.js} +2 -2
- package/dist-embed-sighting-editor/{UfoMessages_en-JeMK-39o.js → UfoMessages_en-BAuHAGgq.js} +1 -1
- package/dist-embed-sighting-editor/{VideoButton-Kxg7pF1Y.js → VideoButton-C8eRmv7A.js} +1 -1
- package/dist-embed-sighting-editor/{WaterSystem-mZ-f2CcD.js → WaterSystem-DpJCe_2Q.js} +2 -2
- package/dist-embed-sighting-editor/angular-size-CxoysZle.png +0 -0
- package/dist-embed-sighting-editor/azimuth-CvjiPmz0.png +0 -0
- package/dist-embed-sighting-editor/caseSchema-BEJTs2Ld.js +1 -0
- package/dist-embed-sighting-editor/elevation-DPr5S6Jt.png +0 -0
- package/dist-embed-sighting-editor/geipan-qt-2025-j-yGY7EN.js +7 -0
- package/dist-embed-sighting-editor/{interviewImport-BlSMFEw_.js → interviewImport-zzDGCbXd.js} +1 -1
- package/dist-embed-sighting-editor/{interviewJson-CsMHIcZ-.js → interviewJson-DngUPqK8.js} +1 -1
- package/dist-embed-sighting-editor/interviewSchema-DRWvRSL2.js +1 -0
- package/dist-embed-sighting-editor/protractor-DyE30B87.png +0 -0
- package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +543 -443
- package/dist-embed-sighting-editor/sightingSchema-9MogCcUd.js +1 -0
- package/dist-embed-sighting-editor/{surroundingsSources-z7680fTA.js → surroundingsSources-lvh4Rw5C.js} +1 -1
- package/dist-embed-sighting-editor/{trafficRuntime-CvK_m6bC.js → trafficRuntime-Drx7CE9H.js} +1 -1
- package/dist-embed-ufoathome/AdsbLolArchiveProvider-CqedGYi5.js +1 -0
- package/dist-embed-ufoathome/AirshipEditor-CBSrQM3J.js +16 -0
- package/dist-embed-ufoathome/AirshipEditorMessages_en-CFafbbN8.js +1 -0
- package/dist-embed-ufoathome/AirshipEditorMessages_es-ht4kFQUD.js +1 -0
- package/dist-embed-ufoathome/AirshipEditorMessages_fr-Bhj6QKCL.js +1 -0
- package/dist-embed-ufoathome/AirshipEditorMessages_it-Cfl9mFjn.js +1 -0
- package/dist-embed-ufoathome/AirshipFlight-Dzpw8HRM.js +1 -0
- package/dist-embed-ufoathome/AirshipKindMessages_en-DzGapVTV.js +1 -0
- package/dist-embed-ufoathome/AirshipKindMessages_es-TE93uMSC.js +1 -0
- package/dist-embed-ufoathome/AirshipKindMessages_fr-BTXNsW5W.js +1 -0
- package/dist-embed-ufoathome/AirshipKindMessages_it-Cwa3MnJ-.js +1 -0
- package/dist-embed-ufoathome/AirshipParameterTexts_en-DZxqhSI3.js +1 -0
- package/dist-embed-ufoathome/AirshipParameterTexts_es-BDJUZOmr.js +1 -0
- package/dist-embed-ufoathome/AirshipParameterTexts_fr-Cj-D0Xb_.js +1 -0
- package/dist-embed-ufoathome/AirshipParameterTexts_it-BhC9cEbs.js +1 -0
- package/dist-embed-ufoathome/Aurora-CpZx9hQ3.js +1 -0
- package/dist-embed-ufoathome/AuroraEditor-D2v8sWVE.js +8 -0
- package/dist-embed-ufoathome/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
- package/dist-embed-ufoathome/AuroraEditorMessages_es-i8-psDHN.js +1 -0
- package/dist-embed-ufoathome/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
- package/dist-embed-ufoathome/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
- package/dist-embed-ufoathome/AuroraKindMessages_en-D_W4giJa.js +1 -0
- package/dist-embed-ufoathome/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
- package/dist-embed-ufoathome/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
- package/dist-embed-ufoathome/AuroraKindMessages_it-DcwuoMkp.js +1 -0
- package/dist-embed-ufoathome/AuroraParameterTexts_en-shkUd-dT.js +1 -0
- package/dist-embed-ufoathome/AuroraParameterTexts_es-CwGYyafK.js +1 -0
- package/dist-embed-ufoathome/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
- package/dist-embed-ufoathome/AuroraParameterTexts_it-DHniBj_2.js +1 -0
- package/dist-embed-ufoathome/AuroraSimulation-DdSP66LD.js +152 -0
- package/dist-embed-ufoathome/BallesterGuaspAssessor-C4IktJ1l.js +1 -0
- package/dist-embed-ufoathome/BalloonEditor-dCIjTsIz.js +24 -0
- package/dist-embed-ufoathome/BalloonEditorMessages_en-B2n2FutN.js +1 -0
- package/dist-embed-ufoathome/BalloonEditorMessages_es-BXppdrpF.js +1 -0
- package/dist-embed-ufoathome/BalloonEditorMessages_fr-BmUizmQy.js +1 -0
- package/dist-embed-ufoathome/BalloonEditorMessages_it-Dx0JODqK.js +1 -0
- package/dist-embed-ufoathome/BalloonFlight-CztT6ddg.js +1 -0
- package/dist-embed-ufoathome/BalloonKindMessages_en-C6tZ-5gT.js +1 -0
- package/dist-embed-ufoathome/BalloonKindMessages_es-BfoEjhe1.js +1 -0
- package/dist-embed-ufoathome/BalloonKindMessages_fr-C3QJIuDJ.js +1 -0
- package/dist-embed-ufoathome/BalloonKindMessages_it-CkO7mqHp.js +1 -0
- package/dist-embed-ufoathome/BalloonParameterTexts_en-CHm_vRVx.js +1 -0
- package/dist-embed-ufoathome/BalloonParameterTexts_es-BYaljnsn.js +1 -0
- package/dist-embed-ufoathome/BalloonParameterTexts_fr-IhyPRhYG.js +1 -0
- package/dist-embed-ufoathome/BalloonParameterTexts_it-BqBPIfav.js +1 -0
- package/dist-embed-ufoathome/{BeamEditor-CFYAfywp.js → BeamEditor-CuW3LVO-.js} +2 -2
- package/dist-embed-ufoathome/BeamSystem-BPEYuCF4.js +1 -0
- package/dist-embed-ufoathome/BirdEditor-Dk3huwHa.js +16 -0
- package/dist-embed-ufoathome/{BodyEditor-B96fap0d.js → BodyEditor-COMX-T65.js} +1 -1
- package/dist-embed-ufoathome/CaseEditorElement-C5BHP8jT.js +3173 -0
- package/dist-embed-ufoathome/{CaseElement-BFDRYL5v.js → CaseElement-CIZvyRVi.js} +3 -3
- package/dist-embed-ufoathome/{CaseReportExport-VrulN0VG.js → CaseReportExport-BFbswUIB.js} +3 -3
- package/dist-embed-ufoathome/{ColumnResize-DD0wwlp2.js → ColumnResize-Dh6Xyspd.js} +6 -6
- package/dist-embed-ufoathome/ContrailSystem-D2AR5Zgy.js +1 -0
- package/dist-embed-ufoathome/ControlPasses-CnL1GmT-.js +29 -0
- package/dist-embed-ufoathome/CoverageAssessor-CiqUEJkN.js +1 -0
- package/dist-embed-ufoathome/DroneEditor-D60uhSHO.js +16 -0
- package/dist-embed-ufoathome/DroneParameters-CfTAaLCT.js +1 -0
- package/dist-embed-ufoathome/Flightradar24Provider-_tNmWf11.js +1 -0
- package/dist-embed-ufoathome/GLTFLoader-BLk8prLt.js +1 -0
- package/dist-embed-ufoathome/GeoJsonExport-DkPKk-7q.js +2 -0
- package/dist-embed-ufoathome/GeoProjection-DvqDbRIx.js +1 -0
- package/dist-embed-ufoathome/{GeographicFigures-Ds8kfyn7.js → GeographicFigures-l-PfHdSR.js} +1 -1
- package/dist-embed-ufoathome/HeadlightSystem-D5-78PFB.js +34 -0
- package/dist-embed-ufoathome/HynekAssessor-BhnvqsYz.js +1 -0
- package/dist-embed-ufoathome/InterviewEditorElement-iw2lnwx8.js +277 -0
- package/dist-embed-ufoathome/{InterviewElement-BrlawcDm.js → InterviewElement-CuRmQ0d3.js} +2 -2
- package/dist-embed-ufoathome/InterviewMedia-CGVsMdje.js +1 -0
- package/dist-embed-ufoathome/InterviewMessages_en-BRmuWrAg.js +1 -0
- package/dist-embed-ufoathome/InterviewMessages_es-BTotimwY.js +1 -0
- package/dist-embed-ufoathome/InterviewMessages_fr-DBCdGB0r.js +1 -0
- package/dist-embed-ufoathome/InterviewMessages_it-B5EyMD-k.js +1 -0
- package/dist-embed-ufoathome/KmlExport-BUl3gOrw.js +19 -0
- package/dist-embed-ufoathome/LanternEditor-BapUZdog.js +24 -0
- package/dist-embed-ufoathome/{LaserBeam-Ced8VujI.js → LaserBeam-C7glTvQN.js} +1 -1
- package/dist-embed-ufoathome/LaunchEditor-DvudtAzp.js +22 -0
- package/dist-embed-ufoathome/{LaunchPlume-DdeLDyDg.js → LaunchPlume-CrDBzsQe.js} +1 -1
- package/dist-embed-ufoathome/LaunchSimulation-DyOA4lPb.js +1 -0
- package/dist-embed-ufoathome/ModelSource-CoT4mxTx.js +1 -0
- package/dist-embed-ufoathome/ModelThumbnails-t59SZ3Vn.js +1 -0
- package/dist-embed-ufoathome/ModelViewer-DEdruEtl.js +1 -0
- package/dist-embed-ufoathome/ModuleConformance-DYDAaJJQ.js +2 -0
- package/dist-embed-ufoathome/ModuleSession-BKDWGSEo.js +3 -0
- package/dist-embed-ufoathome/ModuleThree-D18Rh2Nj.js +1 -0
- package/dist-embed-ufoathome/{ModulesPanelElement-Bio6lzC6.js → ModulesPanelElement-N-ccpGxl.js} +3 -3
- package/dist-embed-ufoathome/{NearestApproach-DAiByBN2.js → NearestApproach-Do15yfeg.js} +1 -1
- package/dist-embed-ufoathome/{ParameterForm-DcVFxrcO.js → ParameterForm-XbqxCLRn.js} +1 -1
- package/dist-embed-ufoathome/PictureRegistration-BJeiCK8A.js +1 -0
- package/dist-embed-ufoathome/PoherAssessor-Cs8-ZBge.js +1 -0
- package/dist-embed-ufoathome/QuestionnaireFeed-BfvRSPoo.js +1 -0
- package/dist-embed-ufoathome/QuestionnaireForm-ByFmq67M.js +1 -0
- package/dist-embed-ufoathome/QuestionnaireImport-Cx1dQiha.js +5 -0
- package/dist-embed-ufoathome/QuestionnaireSeal-DpZYUhnf.js +1 -0
- package/dist-embed-ufoathome/RailwaySystem-KlBj8mLP.js +41 -0
- package/dist-embed-ufoathome/ReentryEditor-CJUFkVFO.js +28 -0
- package/dist-embed-ufoathome/ReentrySimulation-B5QcdOTq.js +1 -0
- package/dist-embed-ufoathome/ReferenceSystem-DyzOUClN.js +1 -0
- package/dist-embed-ufoathome/RoadMarkings-DKUNImjj.js +1 -0
- package/dist-embed-ufoathome/SaidPosition-OJEYhVKN.js +4 -0
- package/dist-embed-ufoathome/ScenarioReadings-CfZehU_P.js +1 -0
- package/dist-embed-ufoathome/ScenarioSweep-CDumnmq2.js +1 -0
- package/dist-embed-ufoathome/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
- package/dist-embed-ufoathome/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
- package/dist-embed-ufoathome/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
- package/dist-embed-ufoathome/ScenarioSweepMessages_it-DANW3_la.js +1 -0
- package/dist-embed-ufoathome/SearchlightEditor-CPDNpfNC.js +8 -0
- package/dist-embed-ufoathome/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
- package/dist-embed-ufoathome/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
- package/dist-embed-ufoathome/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
- package/dist-embed-ufoathome/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
- package/dist-embed-ufoathome/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
- package/dist-embed-ufoathome/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
- package/dist-embed-ufoathome/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
- package/dist-embed-ufoathome/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
- package/dist-embed-ufoathome/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
- package/dist-embed-ufoathome/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
- package/dist-embed-ufoathome/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
- package/dist-embed-ufoathome/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
- package/dist-embed-ufoathome/SearchlightSystem-Ca0rZcXv.js +1 -0
- package/dist-embed-ufoathome/ShareDialogElement-CBeU9ChH.js +5182 -0
- package/dist-embed-ufoathome/Sighting-B7bsiTIQ.js +1 -0
- package/{dist-embed-sighting-editor/SightingEditorMessages_en-CtZXoBSS.js → dist-embed-ufoathome/SightingEditorMessages_en-k7_ua2OM.js} +1 -1
- package/dist-embed-ufoathome/{SightingEditorMessages_es-CKXlDIja.js → SightingEditorMessages_es-Drqbbr5_.js} +1 -1
- package/{dist-embed-sighting-editor/SightingEditorMessages_fr-DjP6vAKo.js → dist-embed-ufoathome/SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
- package/{dist-embed-sighting-editor/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-ufoathome/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
- package/dist-embed-ufoathome/{SightingElement-DTADTDwh.js → SightingElement-BveOM4nF.js} +4 -4
- package/dist-embed-ufoathome/{SightingFileEditor-Cllslp2u.js → SightingFileEditor-DS1DRU2p.js} +1 -1
- package/dist-embed-ufoathome/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
- package/dist-embed-ufoathome/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
- package/dist-embed-ufoathome/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
- package/dist-embed-ufoathome/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
- package/dist-embed-ufoathome/{TimelineTracks-BgZmkKhn.js → TimelineTracks-Daaqw9ly.js} +1 -1
- package/dist-embed-ufoathome/{TraceSystem-BcWYbjQM.js → TraceSystem-CoHX04R3.js} +2 -2
- package/dist-embed-ufoathome/{UfoAtHomeMessages_en-dlx_C679.js → UfoAtHomeMessages_en-BK2qJyZN.js} +1 -1
- package/dist-embed-ufoathome/{UfoAtHomeMessages_es-uLOvtAD0.js → UfoAtHomeMessages_es-B1-NDCau.js} +1 -1
- package/dist-embed-ufoathome/{UfoAtHomeMessages_fr-LR76-eHS.js → UfoAtHomeMessages_fr-BTG047qo.js} +1 -1
- package/dist-embed-ufoathome/{UfoAtHomeMessages_it-CQl4uTnG.js → UfoAtHomeMessages_it-Ryxv4HNU.js} +1 -1
- package/dist-embed-ufoathome/VideoButton-DNQmWtfv.js +1 -0
- package/dist-embed-ufoathome/WaterSystem-BNxlYNtW.js +19 -0
- package/dist-embed-ufoathome/angular-size-CxoysZle.png +0 -0
- package/dist-embed-ufoathome/azimuth-CvjiPmz0.png +0 -0
- package/dist-embed-ufoathome/caseSchema-BEJTs2Ld.js +1 -0
- package/dist-embed-ufoathome/elevation-DPr5S6Jt.png +0 -0
- package/dist-embed-ufoathome/geipan-qt-2025-j-yGY7EN.js +7 -0
- package/dist-embed-ufoathome/interviewSchema-DRWvRSL2.js +1 -0
- package/dist-embed-ufoathome/protractor-DyE30B87.png +0 -0
- package/dist-embed-ufoathome/rr0-ufoathome.mjs +27 -17
- package/dist-embed-ufoathome/sightingSchema-9MogCcUd.js +1 -0
- package/dist-embed-ufoathome/surroundingsSources-C823p3dG.js +1 -0
- package/dist-embed-ufoathome/three.module-CbaHqYFq.js +4116 -0
- package/dist-embed-ufoathome/trafficRuntime-DtXb9B2f.js +2 -0
- package/dist-embed-ufoathome/{upperAirSources-BGuLpdwu.js → upperAirSources-BU0pD84c.js} +1 -1
- package/dist-embed-ufoathome/xyzImageryRaster-Dhxs0B26.js +1 -0
- package/package.json +4 -2
- package/dist-embed-interview/InterviewMessages_en-ru7GkZlQ.js +0 -1
- package/dist-embed-interview/InterviewMessages_es-DkJurNrG.js +0 -1
- package/dist-embed-interview/InterviewMessages_fr-DAYgf8Ms.js +0 -1
- package/dist-embed-interview/InterviewMessages_it-6lenkmSg.js +0 -1
- package/dist-embed-scene/BeamSystem-CaNus1WN.js +0 -1
- package/dist-embed-scene/DroneEditor-BDDLiZPp.js +0 -16
- package/dist-embed-scene/ModuleSession-Hj3QwLuw.js +0 -3
- package/dist-embed-scene/ModuleThree-D1uz5JiH.js +0 -1
- package/dist-embed-scene/ReferenceSystem-B6FHr1Pb.js +0 -1
- package/dist-embed-scene/sightingSchema-CgwoRMl-.js +0 -1
- package/dist-embed-sighting/BeamSystem-Cqe7QaN4.js +0 -1
- package/dist-embed-sighting/DroneEditor-Bo19kUte.js +0 -16
- package/dist-embed-sighting/InterviewMessages_en-ru7GkZlQ.js +0 -1
- package/dist-embed-sighting/InterviewMessages_es-DkJurNrG.js +0 -1
- package/dist-embed-sighting/InterviewMessages_fr-DAYgf8Ms.js +0 -1
- package/dist-embed-sighting/InterviewMessages_it-6lenkmSg.js +0 -1
- package/dist-embed-sighting/ModuleSession-BCtFMDJY.js +0 -3
- package/dist-embed-sighting/ModuleThree-DPVHqcup.js +0 -1
- package/dist-embed-sighting/ReferenceSystem-DCSdp9Bq.js +0 -1
- package/dist-embed-sighting/sightingSchema-CgwoRMl-.js +0 -1
- package/dist-embed-sighting-editor/BeamSystem-DYohqXlF.js +0 -1
- package/dist-embed-sighting-editor/BirdEditor-CAoRqqRV.js +0 -16
- package/dist-embed-sighting-editor/DroneEditor-BRB2-dAw.js +0 -16
- package/dist-embed-sighting-editor/GeographicFigures-DqhWddS9.js +0 -1
- package/dist-embed-sighting-editor/InterviewEditorElement-DbVrB3-g.js +0 -242
- package/dist-embed-sighting-editor/InterviewMedia-CvAxC62V.js +0 -1
- package/dist-embed-sighting-editor/InterviewMessages_en-ru7GkZlQ.js +0 -1
- package/dist-embed-sighting-editor/InterviewMessages_es-DkJurNrG.js +0 -1
- package/dist-embed-sighting-editor/InterviewMessages_fr-DAYgf8Ms.js +0 -1
- package/dist-embed-sighting-editor/InterviewMessages_it-6lenkmSg.js +0 -1
- package/dist-embed-sighting-editor/LanternEditor-BnXAwLuQ.js +0 -24
- package/dist-embed-sighting-editor/LaunchEditor-vwecAGwH.js +0 -22
- package/dist-embed-sighting-editor/ModelSource-D1Wt6VYS.js +0 -1
- package/dist-embed-sighting-editor/ModuleConformance-DYi4XZdB.js +0 -2
- package/dist-embed-sighting-editor/ModuleSession-BDbaoiCf.js +0 -3
- package/dist-embed-sighting-editor/ModuleThree-DRf9SEr_.js +0 -1
- package/dist-embed-sighting-editor/PictureRegistration-DBBH_E6I.js +0 -1
- package/dist-embed-sighting-editor/ReentryEditor-D7HxkvKP.js +0 -28
- package/dist-embed-sighting-editor/ReferenceSystem-D_eueNAb.js +0 -1
- package/dist-embed-sighting-editor/caseSchema-ChUB1-9j.js +0 -1
- package/dist-embed-sighting-editor/interviewSchema-Dk0AWHwc.js +0 -1
- package/dist-embed-sighting-editor/sightingSchema-CgwoRMl-.js +0 -1
- package/dist-embed-ufoathome/AdsbLolArchiveProvider-B9MGq-iQ.js +0 -1
- package/dist-embed-ufoathome/BallesterGuaspAssessor-BehuINgj.js +0 -1
- package/dist-embed-ufoathome/BeamSystem-Bt5Dnpzy.js +0 -1
- package/dist-embed-ufoathome/BirdEditor-07sg3Pt0.js +0 -16
- package/dist-embed-ufoathome/CaseEditorElement-D-RKShTH.js +0 -3148
- package/dist-embed-ufoathome/ContrailSystem-BKeTHlcZ.js +0 -1
- package/dist-embed-ufoathome/ControlPasses-D3vc-NmG.js +0 -29
- package/dist-embed-ufoathome/CoverageAssessor-Be38W7Im.js +0 -1
- package/dist-embed-ufoathome/DroneEditor-ByVlCauS.js +0 -16
- package/dist-embed-ufoathome/Flightradar24Provider-DdPjGVJg.js +0 -1
- package/dist-embed-ufoathome/GLTFLoader-D1_vI_Fe.js +0 -1
- package/dist-embed-ufoathome/GeoJsonExport-B2qogWLj.js +0 -2
- package/dist-embed-ufoathome/HeadlightSystem-BdhHphIq.js +0 -34
- package/dist-embed-ufoathome/HynekAssessor-MqnQfg3F.js +0 -1
- package/dist-embed-ufoathome/InterviewEditorElement-DjQuGytO.js +0 -242
- package/dist-embed-ufoathome/InterviewMedia-CvAxC62V.js +0 -1
- package/dist-embed-ufoathome/InterviewMessages_en-ru7GkZlQ.js +0 -1
- package/dist-embed-ufoathome/InterviewMessages_es-DkJurNrG.js +0 -1
- package/dist-embed-ufoathome/InterviewMessages_fr-DAYgf8Ms.js +0 -1
- package/dist-embed-ufoathome/InterviewMessages_it-6lenkmSg.js +0 -1
- package/dist-embed-ufoathome/KmlExport-AzofE76s.js +0 -19
- package/dist-embed-ufoathome/LanternEditor-BRqgj1S6.js +0 -24
- package/dist-embed-ufoathome/LaunchEditor-D-5OJi90.js +0 -22
- package/dist-embed-ufoathome/LaunchSimulation-BeCHjgE5.js +0 -1
- package/dist-embed-ufoathome/ModelSource-LY5T91ay.js +0 -1
- package/dist-embed-ufoathome/ModelThumbnails-C25E4WMl.js +0 -1
- package/dist-embed-ufoathome/ModelViewer-D6JaOQS7.js +0 -1
- package/dist-embed-ufoathome/ModuleConformance-DGjaEwAM.js +0 -2
- package/dist-embed-ufoathome/ModuleSession-pXE1aOJF.js +0 -3
- package/dist-embed-ufoathome/ModuleThree-xQDeVLs0.js +0 -1
- package/dist-embed-ufoathome/PictureRegistration-Dbr0O7NF.js +0 -1
- package/dist-embed-ufoathome/PoherAssessor-C7NN73NP.js +0 -1
- package/dist-embed-ufoathome/RailwaySystem-D3u3j_tw.js +0 -41
- package/dist-embed-ufoathome/ReentryEditor-s-AkSgbU.js +0 -28
- package/dist-embed-ufoathome/ReentrySimulation-2UWwXU7K.js +0 -1
- package/dist-embed-ufoathome/ReferenceSystem-BhEFpIis.js +0 -1
- package/dist-embed-ufoathome/RoadMarkings-DDRxawvf.js +0 -1
- package/dist-embed-ufoathome/SaidPosition-CXZLm-ck.js +0 -4
- package/dist-embed-ufoathome/ShareDialogElement-C9Uiwt0F.js +0 -9222
- package/dist-embed-ufoathome/Sighting-Ch4eiBNK.js +0 -1
- package/dist-embed-ufoathome/VideoButton-CgfBskVu.js +0 -1
- package/dist-embed-ufoathome/WaterSystem-BsGtTimO.js +0 -19
- package/dist-embed-ufoathome/caseSchema-ChUB1-9j.js +0 -1
- package/dist-embed-ufoathome/interviewSchema-Dk0AWHwc.js +0 -1
- package/dist-embed-ufoathome/sightingSchema-CgwoRMl-.js +0 -1
- package/dist-embed-ufoathome/surroundingsSources-B--F7TR5.js +0 -1
- package/dist-embed-ufoathome/trafficRuntime-B97u9ZY_.js +0 -2
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{n as k,_ as c,b9 as u,b6 as y,$ as O,a1 as x,a0 as T,I as w,Y as M,Z as I,a2 as F,a3 as A}from"./rr0-sighting-editor.mjs";import{S}from"./SkyEventEditorStyle-CvY_AhbI.js";import{B as v,a as m,F as E}from"./BirdFlock-TI63ZAKZ.js";const L=k.catalog({en:()=>c(()=>import("./BirdParameterTexts_en-C6FkYUww.js"),[],import.meta.url).then(l=>l.birdParameterTexts_en),fr:()=>c(()=>import("./BirdParameterTexts_fr-BiTR-olu.js"),[],import.meta.url).then(l=>l.birdParameterTexts_fr),es:()=>c(()=>import("./BirdParameterTexts_es-T8JyeNlI.js"),[],import.meta.url).then(l=>l.birdParameterTexts_es),it:()=>c(()=>import("./BirdParameterTexts_it-oQY4DX6B.js"),[],import.meta.url).then(l=>l.birdParameterTexts_it)});class n{static FLOCK="flock";static FORMATION="formation";static FLIGHT="flight";static LOOK="look";static speciesOf(t){return v.speciesOf(t)}static speciesLabel(t){return t.replace(/-([a-z])/g,(e,i)=>i.toUpperCase())}static formationOf(t){const e=u.read(t,"formation.kind");return typeof e=="string"?e:n.formationUnstated(t)}static formationUnstated(t){return(u.read(t,"count")??1)>1?"cluster":"single"}static flightOf(t){const e=u.read(t,"flight.kind");return typeof e=="string"?e:n.speciesOf(t).flight.kind}static burstOf(t,e){const i=u.read(t,`flight.${e}`);if(typeof i=="number")return i;const s=n.speciesOf(t).flight;return s.kind==="flapping"?n.BURST[e]:s[e]}static BURST={beats:4,glideS:2};static colour(t,e,i){return{type:"colour",key:`colours.${t}`,group:n.LOOK,label:e,...i?{hint:i}:{},effective:s=>m.colourOf(n.speciesOf(s),t)}}static SET={kind:"birds",title:"birds",parameters:[{type:"said",key:"title",label:"name",group:n.FLOCK},{type:"choice",key:"species",required:!0,group:n.FLOCK,label:"species",choices:m.ALL.map(t=>({value:t.id,label:n.speciesLabel(t.id)}))},{type:"number",key:"count",min:1,max:2e3,step:1,group:n.FLOCK,effective:()=>1,label:"howMany"},{type:"set",key:"explains",group:n.FLOCK,label:"standForTheShapes",hint:"theWholeFlockTakenForOne",visibleWhen:t=>t.explainsEach===void 0,options:(t,e)=>{const i=e?.shapes??[],s=(t.explains??[]).filter(o=>!i.some(a=>a.value===o));return[...i,...s.map(o=>({value:o,label:o}))]},empty:"noShape"},{type:"number",key:"seed",min:0,max:4294967295,step:1,group:n.FLOCK,effective:()=>1,label:"draw",hint:"whatTheDrawsStartFrom"},{type:"choice",key:"formation.kind",group:n.FORMATION,label:"pattern",effective:t=>n.formationUnstated(t),choices:[{value:"single",label:"oneBird"},{value:"v",label:"inAV"},{value:"j",label:"inAJ"},{value:"echelon",label:"inEchelon"},{value:"column",label:"inAColumn"},{value:"front",label:"abreast"},{value:"cluster",label:"aLooseCrowd"},{value:"flock",label:"aFlockThatFliesItself"}]},{type:"number",key:"formation.angleDeg",min:5,max:180,step:1,unit:"°",group:n.FORMATION,effective:()=>70,label:"angleBetweenTheArms",hint:"aGooseVMeasures",visibleWhen:t=>["v","j"].includes(n.formationOf(t))},{type:"number",key:"formation.asymmetry",min:0,max:100,step:5,unit:"%",scale:100,group:n.FORMATION,effective:()=>.7,label:"onTheRightArm",visibleWhen:t=>n.formationOf(t)==="j"},{type:"number",key:"formation.spacing",min:.2,max:20,step:.1,group:n.FORMATION,effective:t=>["v","j","echelon","column"].includes(n.formationOf(t))?1:1.5,label:"spacingInWingspans",hint:"betweenNeighbours",visibleWhen:t=>n.formationOf(t)!=="single"},{type:"number",key:"formation.wander",min:0,max:5,step:.05,group:n.FORMATION,effective:t=>["v","j","echelon","column"].includes(n.formationOf(t))?.15:.4,label:"strayInWingspans",hint:"howMuchEachBirdStrays",visibleWhen:t=>!["single","flock"].includes(n.formationOf(t))},{type:"number",key:"formation.informed",min:0,max:100,step:1,unit:"%",scale:100,group:n.FORMATION,effective:()=>E.INFORMED_SHARE,label:"informed",hint:"aFewKnowWhereTheFlockIsGoing",visibleWhen:t=>n.formationOf(t)==="flock"},{type:"number",key:"wingbeatHz",min:.5,max:30,step:.01,unit:"Hz",group:n.FLIGHT,effective:t=>{const e=t,i=v.pathOf(e)[0]?.upM??0;return Math.round(m.wingbeatHz(n.speciesOf(t),m.airDensityAt((e.originElevationM??0)+i))*100)/100},label:"wingbeat",hint:"predictedFromItsSpecies"},{type:"choice",key:"flight.kind",group:n.FLIGHT,label:"howTheyFly",effective:t=>n.speciesOf(t).flight.kind,choices:[{value:"flapping",label:"flappingAllTheTime"},{value:"bursts",label:"inBurstsAndGlides"},{value:"path",label:"asTheirPathAsks"}]},{type:"number",key:"flight.beats",min:1,max:50,step:1,group:n.FLIGHT,label:"wingbeatsABurst",effective:t=>n.burstOf(t,"beats"),visibleWhen:t=>n.flightOf(t)!=="flapping"},{type:"number",key:"flight.glideS",min:0,max:60,step:.1,unit:"s",group:n.FLIGHT,label:"glideBetween",effective:t=>n.burstOf(t,"glideS"),visibleWhen:t=>n.flightOf(t)!=="flapping"},{type:"number",key:"originElevationM",min:-500,max:6e3,step:1,unit:"m",group:n.FLIGHT,effective:()=>0,label:"thePlaceSGroundAboveTheSea",hint:"whatSetsHowThinTheAir"},n.colour("upperColor","upperSide","theBackAndTheUpperSide"),n.colour("underColor","underSide","theBellyAndTheUnderSide"),n.colour("tipColor","wingTips"),n.colour("headColor","head"),n.colour("neckColor","neck"),n.colour("billColor","bill"),{type:"number",key:"lightFromBelow.lux",min:0,max:1e4,step:.1,unit:"lx",group:n.LOOK,effective:()=>0,label:"litFromBelow",hint:"theLampsOfATown"},{type:"colour",key:"lightFromBelow.color",group:n.LOOK,fallback:"#ffd7a0",label:"lightFromBelowColour",visibleWhen:t=>typeof u.read(t,"lightFromBelow.lux")=="number"}]};static angular(t){return typeof t.azimuthDeg=="number"}static WAYPOINT={kind:"birds-waypoint",title:"pointOfThePath",parameters:[{type:"number",key:"t",min:-36e3,max:36e3,step:.1,unit:"s",scale:.001,required:!0,label:"time",hint:"secondsOfTheRecording"},{type:"position",key:"eastM",secondKey:"northM",saidKey:"saidPosition",native:"local",step:1,rangeM:1e5,label:"position",visibleWhen:t=>!n.angular(t)},{type:"number",key:"altitudeM",min:-500,max:1e4,step:.1,unit:"m",required:!0,label:"height",hint:"aboveTheGroundOfThePlace",visibleWhen:t=>!n.angular(t)},{type:"number",key:"azimuthDeg",min:0,max:360,step:.1,unit:"°",required:!0,label:"azimuth",visibleWhen:t=>n.angular(t)},{type:"number",key:"altitudeDeg",min:-90,max:90,step:.1,unit:"°",required:!0,label:"elevation",visibleWhen:t=>n.angular(t)},{type:"number",key:"distanceM",min:0,max:1e5,step:1,unit:"m",required:!0,label:"distance",visibleWhen:t=>n.angular(t)},{type:"number",key:"eyeHeightM",min:0,max:1e4,step:.1,unit:"m",effective:()=>1.6,label:"eyeHeight",visibleWhen:t=>n.angular(t)}]};static waypointAt(t,e){const i=v.pathOf(t),s=g=>Math.round(g*10)/10;if(i.length===0)return{t:e,eastM:0,northM:0,altitudeM:0};const o=i.findIndex(g=>g.t>=e),[a,r]=o<=0?[i[Math.max(o,0)],i[Math.max(o,0)]]:[i[o-1],i[o]],h=o<0?i[i.length-1]:void 0,p=h||r.t===a.t?0:(e-a.t)/(r.t-a.t),d=h??a,b=h??r;return{t:Math.round(e),eastM:s(d.eastM+(b.eastM-d.eastM)*p),northM:s(d.northM+(b.northM-d.northM)*p),altitudeM:s(d.upM+(b.upM-d.upM)*p)}}static publish(){y.publish(n.SET),y.publish(n.WAYPOINT)}}const R=k.catalog({en:()=>c(()=>import("./BirdEditorMessages_en-CN1OJud9.js"),[],import.meta.url).then(l=>l.birdEditorMessages_en),fr:()=>c(()=>import("./BirdEditorMessages_fr-hL72V8wm.js"),[],import.meta.url).then(l=>l.birdEditorMessages_fr),es:()=>c(()=>import("./BirdEditorMessages_es-DDEnjRrz.js"),[],import.meta.url).then(l=>l.birdEditorMessages_es),it:()=>c(()=>import("./BirdEditorMessages_it-BmLyiPYp.js"),[],import.meta.url).then(l=>l.birdEditorMessages_it)});class f{constructor(t,e,i){this.container=t,this.host=e,S.attach(t,"bird-editor-part",f.STYLE),this.language=i,y.of("birds")||n.publish(),this.ready=this.setLanguage(i)}messages;ready;parameterTexts;languageToken=0;currentId;form;list;timeline;pointForm;pointIndex=0;language;shown=[];static STYLE='.bird-editor-part { flex-basis: 100%; min-width: 0; } .bird-editor-part #bird-list, .bird-editor-part #bird-timeline { flex-basis: 100%; min-width: 0; } .bird-editor-part #bird-timeline { padding: 4px 0; } .bird-editor-part #bird-path > .icon-btn { align-self: flex-end; } .bird-editor-part .launch-editor, .bird-editor-part .launch-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .bird-editor-part .launch-fields { flex-basis: 100%; min-width: 0; } .bird-editor-part [hidden] { display: none !important; } .bird-editor-part select { min-width: 0; width: 100%; } .bird-editor-part .launch-intro { flex-basis: 100%; margin: 0; } .bird-editor-part .launch-parameters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; } .bird-editor-part .parameter-group { flex: 1 1 14em; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; align-content: flex-start; } .bird-editor-part input, .bird-editor-part select { max-width: 100%; box-sizing: border-box; } .bird-editor-part input[type="text"] { width: 12em; } .bird-editor-part label { min-width: 0; max-width: 100%; } .bird-editor-part input.parameter-derived::placeholder { opacity: .65; } .bird-editor-part .launch-path { flex: 1 1 100%; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; }';static PATH_COLOR="#3b82c4";async setLanguage(t){const e=++this.languageToken;this.language=t;const[i,s]=await Promise.all([R.load(t),L.load(t)]);e===this.languageToken&&(this.messages=i,this.parameterTexts=s,this.render(),this.sync())}sync(){if(!this.messages)return;const t=this.flocks;this.shown=[...t],t.some(s=>s.id===this.currentId)||(this.currentId=t[0]?.id),this.list?.setItems(t.map(s=>({id:s.id,label:this.labelOf(s)})),this.currentId),this.syncAddState();const e=this.current;if(this.element("bird-fields").hidden=e===void 0,!e)return;const i=this.element("bird-each");i.hidden=e.explainsEach===void 0,i.textContent=this.messages.explainsEachNote.replace("{n}",String(e.explainsEach?.length??0)),this.form??=new O(this.element("bird-parameters"),this.language,"birds.",{said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()}),this.form.show(this.resolved(n.SET),new x(()=>this.current,s=>this.editFlock(o=>s(o)),()=>({shapes:this.host.shapes().map(s=>({value:s.id,label:s.label}))}),this.host.positionPlace?.()),()=>this.written()),this.syncPoint(!0)}refresh(){if(!this.messages)return;this.syncAddState();const t=this.flocks;if(t.length===this.shown.length&&t.every((e,i)=>e.id===this.shown[i].id)){this.syncTimeline();return}this.sync()}setTime(t){this.messages&&this.timeline?.setTime(t)}syncAddState(){const t=this.frontOfObserver()!==void 0;this.list?.setAddState(t,t?void 0:this.messages.addNowhere)}get current(){return this.flocks.find(t=>t.id===this.currentId)}resolved(t){return T.resolve(t,this.parameterTexts)}render(){if(!this.messages)return;const t=this.messages;this.form=void 0,this.pointForm=void 0,this.container.innerHTML=`<div class="launch-editor">
|
|
2
|
-
<p class="launch-intro">${t.intro}</p>
|
|
3
|
-
<div id="bird-list"></div>
|
|
4
|
-
<div id="bird-fields" class="launch-fields">
|
|
5
|
-
<div id="bird-parameters" class="launch-parameters"></div>
|
|
6
|
-
<p id="bird-each" class="launch-intro" hidden></p>
|
|
7
|
-
<div id="bird-timeline"></div>
|
|
8
|
-
<p class="launch-intro">${t.timelineNote}</p>
|
|
9
|
-
<fieldset id="bird-path" class="launch-path">
|
|
10
|
-
<legend>${this.parameterTexts.pointOfThePath}</legend>
|
|
11
|
-
<div id="bird-point-parameters" class="launch-parameters"></div>
|
|
12
|
-
<button id="bird-point-delete" class="icon-btn" type="button" title="${t.deletePoint}" aria-label="${t.deletePoint}">${w.TRASH}</button>
|
|
13
|
-
</fieldset>
|
|
14
|
-
<p class="launch-intro">${t.derivedNote}</p>
|
|
15
|
-
</div>
|
|
16
|
-
</div>`,this.list=new M({header:this.element("bird-list"),body:this.element("bird-fields"),ids:{list:"bird-select",remove:"bird-delete",add:"bird-add"},onSelect:e=>this.show(e),onAdd:()=>this.addFlock(),onRemove:()=>this.deleteCurrent()}),this.list.setLabels({list:t.flock,remove:t.deleteFlock,add:t.addFlock,empty:t.none}),this.timeline=new I(this.element("bird-timeline"),e=>this.host.seekTo?.(e),{addKeyframeHere:t.addPointHere,keyframeHere:t.pointHere,zoomHint:t.zoomHint}),this.element("bird-point-delete").addEventListener("click",()=>this.removePoint())}show(t){this.messages&&(this.currentId=t,this.pointIndex=0,this.sync())}written(){const t=this.current;t&&this.list?.rename(t.id,this.labelOf(t)),this.syncPoint()}pathOf(t){return[...t?.path??[]].sort((e,i)=>e.t-i.t)}static MIN_POINTS=1;syncTimeline(){const t=this.current;if(!this.timeline||!t)return;const e=this.pathOf(t),i={id:"path",label:this.messages.path,color:f.PATH_COLOR,times:e.map(r=>r.t),active:!0,selectedTime:e[this.pointIndex]?.t,open:()=>this.selectPoint(this.pointIndex),pressed:(r,h)=>{const p=h===void 0?-1:this.pathOf(this.current).findIndex(d=>d.t===h);this.selectPoint(p>=0?p:this.pointIndex)},move:(r,h)=>this.movePoint(r,h),add:()=>this.addPointAt(this.host.currentTime?.()??0)},s=e[0]?.t??0,o=e[e.length-1]?.t??0,a=Math.max(500,(o-s)/10);this.timeline.show([i],this.host.duration?.()??o,this.host.currentTime?.()??0,{from:s-a,to:o+a})}syncPoint(t=!1){const e=this.pathOf(this.current);this.pointIndex=Math.max(0,Math.min(this.pointIndex,e.length-1)),this.element("bird-point-delete").disabled=e.length<=f.MIN_POINTS,this.pointForm?this.pointForm.sync(t):(this.pointForm=new O(this.element("bird-point-parameters"),this.language,"birdsPoint."),this.pointForm.show(this.resolved(n.WAYPOINT),new x(()=>this.pathOf(this.current)[this.pointIndex],i=>this.editPoint(this.pointIndex,i),void 0,this.host.positionPlace?.()),()=>{})),this.syncTimeline()}selectPoint(t){this.pointIndex=t;const e=this.pathOf(this.current)[t];e&&this.host.seekTo?.(e.t),this.syncPoint(!0)}editPoint(t,e){let i;this.editFlock(s=>{const o=this.pathOf(s);i={...o[t]},e(i),s.path=o.map((a,r)=>r===t?i:a).sort((a,r)=>a.t-r.t)}),i&&(this.pointIndex=this.current?.path.indexOf(i)??0),this.syncPoint()}movePoint(t,e){const i=this.pathOf(this.current).findIndex(s=>s.t===t);i<0||(this.editPoint(i,s=>{s.t=Math.round(e)}),this.syncPoint(!0))}addPointAt(t){const e=this.current;if(!e)return;const i=this.pathOf(e).findIndex(o=>Math.abs(o.t-t)<1);if(i>=0){this.selectPoint(i);return}const s=n.waypointAt(e,t);this.editFlock(o=>{o.path=[...this.pathOf(o),s].sort((a,r)=>a.t-r.t)}),this.selectPoint(this.current?.path.indexOf(s)??0)}removePoint(){const t=this.pathOf(this.current);if(t.length<=f.MIN_POINTS)return;const e=this.pointIndex;this.editFlock(i=>{i.path=t.filter((s,o)=>o!==e)}),this.syncPoint(!0)}editFlock(t){const e=this.current;if(!e)return;const i=structuredClone(e);t(i),i.formation&&i.formation.kind===void 0&&(Object.entries(i.formation).some(([a,r])=>a!=="kind"&&r!==void 0)?i.formation.kind=e.formation?.kind??((i.count??1)>1?"cluster":"single"):delete i.formation);const s=i.flight;if(s){if(s.kind===void 0)delete i.flight;else if(s.kind!=="flapping"){const o=e.flight?.kind!=="flapping"?e.flight:void 0,a=n.BURST;s.beats??=o?.beats??a.beats,s.glideS??=o?.glideS??a.glideS}}this.writeFlocks(this.flocks.map(o=>o===e?i:o)),this.host.changed()}frontOfObserver(){const t=this.host.sighting(),e=t.event?.place?.[0];if(e?.lat===void 0||e.lng===void 0)return;const i=t.observerTrack?.getInterpolatedPoseAt(this.host.currentTime?.()??0),s=111320,o=i?.lng!==void 0?(i.lng-e.lng)*s*Math.cos(e.lat*Math.PI/180):0,a=i?.lat!==void 0?(i.lat-e.lat)*s:0;return{eastM:o,northM:a,headingRad:(i?.headingDeg??0)*Math.PI/180}}addFlock(){const t=this.frontOfObserver();if(!t)return;let e=this.flocks.length+1;for(;this.flocks.some(a=>a.id===`birds-${e}`);)e++;const i=Math.round(this.host.currentTime?.()??0),s=(a,r,h)=>({t:a,eastM:Math.round(t.eastM+r*Math.sin(t.headingRad)+h*Math.cos(t.headingRad)),northM:Math.round(t.northM+r*Math.cos(t.headingRad)-h*Math.sin(t.headingRad)),altitudeM:60}),o={id:`birds-${e}`,species:"herring-gull",count:12,formation:{kind:"cluster"},path:[s(i,300,-120),s(i+2e4,300,120)],seed:e};this.writeFlocks([...this.flocks,o]),this.host.changed(),this.show(o.id)}deleteCurrent(){const t=this.current;t&&(this.currentId=void 0,this.writeFlocks(this.flocks.filter(e=>e!==t)),this.host.changed(),this.sync())}writeFlocks(t){const e=this.host.sighting(),i={...e.interpretation??{bodies:[]},birds:t.length>0?t:void 0};i.birds===void 0&&delete i.birds;const s=F.saysNothing(i,A.kinds());e.interpretation=s?void 0:i}labelOf(t){const e=this.host.said().read(t.title);return e?`${e} (${t.id})`:t.id}get flocks(){return this.host.sighting().interpretation?.birds??[]}element(t){return this.container.querySelector(`#${t}`)}}export{f as BirdEditor};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{n as v,_ as l,b9 as p,b6 as f,$ as m,a1 as b,a0 as w,I as O,Y as T,Z as I,a2 as M,a3 as k}from"./rr0-sighting-editor.mjs";import{S as L}from"./SkyEventEditorStyle-CvY_AhbI.js";import{D as y,a as c,b as E}from"./DroneFlight-BpnBgJ9K.js";const S=v.catalog({en:()=>l(()=>import("./DroneParameterTexts_en-sL1dR2RG.js"),[],import.meta.url).then(a=>a.droneParameterTexts_en),fr:()=>l(()=>import("./DroneParameterTexts_fr-B8Ym7Yz6.js"),[],import.meta.url).then(a=>a.droneParameterTexts_fr),es:()=>l(()=>import("./DroneParameterTexts_es-Bg8_8XVE.js"),[],import.meta.url).then(a=>a.droneParameterTexts_es),it:()=>l(()=>import("./DroneParameterTexts_it-DfvWjvoc.js"),[],import.meta.url).then(a=>a.droneParameterTexts_it)});class s{static DRONE="drone";static FLIGHT="flight";static LOOK="look";static LIGHT_NAMES=[...new Set(y.ALL.flatMap(t=>Object.keys(t.lights)))];static textKey(t){return t.replace(/-([a-z])/g,(e,i)=>i.toUpperCase())}static flightOf(t){return t}static ownLight(t,e){return c.airframeOf(s.flightOf(t)).lights[e]}static formationUnstated(t){return(p.read(t,"count")??1)>1?"cluster":"single"}static formationOf(t){const e=p.read(t,"formation.kind");return typeof e=="string"?e:s.formationUnstated(t)}static hovers(t){return c.airframeOf(s.flightOf(t)).hovers}static light(t){const e=s.textKey(t),i=o=>s.ownLight(o,t)!==void 0,n=o=>{const h=s.flightOf(o).lights?.[t];return h===!1?!0:typeof h?.off=="boolean"?h.off:s.ownLight(o,t)?.off===!0},r=o=>i(o)&&!n(o);return[{type:"boolean",key:`lights.${t}.off`,group:e,label:"switchedOff",visibleWhen:i,effective:o=>s.flightOf(o).lights?.[t]===!1||s.ownLight(o,t)?.off===!0},{type:"colour",key:`lights.${t}.color`,group:e,label:"colour",visibleWhen:r,effective:o=>s.ownLight(o,t)?.color},{type:"number",key:`lights.${t}.candela`,min:0,max:1e5,step:.1,unit:"cd",group:e,label:"intensity",hint:"eachLed",visibleWhen:r,effective:o=>s.ownLight(o,t)?.candela},{type:"number",key:`lights.${t}.hz`,min:0,max:50,step:.05,unit:"Hz",group:e,label:"flashesASecond",hint:"steadyAtNought",visibleWhen:r,effective:o=>s.ownLight(o,t)?.hz??0},{type:"number",key:`lights.${t}.flashS`,min:.001,max:60,step:.001,unit:"s",group:e,label:"eachFlashLasts",visibleWhen:o=>r(o)&&(p.read(o,`lights.${t}.hz`)??s.ownLight(o,t)?.hz??0)>0,effective:o=>{const h=s.ownLight(o,t),d=p.read(o,`lights.${t}.hz`)??h?.hz??0;return h?.flashS??(d>0?Math.round(500/d)/1e3:void 0)}}]}static SET={kind:"drones",title:"drones",parameters:[{type:"said",key:"title",label:"name",group:s.DRONE},{type:"choice",key:"airframe",required:!0,group:s.DRONE,label:"airframe",choices:y.ALL.map(t=>({value:t.id,label:s.textKey(t.id)}))},{type:"number",key:"count",min:1,max:2e3,step:1,group:s.DRONE,effective:()=>1,label:"howMany"},{type:"set",key:"explains",group:s.DRONE,label:"standForTheShapes",hint:"theWholeGroupTakenForOne",visibleWhen:t=>s.flightOf(t).explainsEach===void 0,options:(t,e)=>{const i=e?.shapes??[],n=(s.flightOf(t).explains??[]).filter(r=>!i.some(o=>o.value===r));return[...i,...n.map(r=>({value:r,label:r}))]},empty:"noShape"},{type:"number",key:"seed",min:0,max:4294967295,step:1,group:s.DRONE,effective:()=>1,label:"draw",hint:"whatTheDrawsStartFrom"},{type:"choice",key:"formation.kind",group:s.FLIGHT,label:"pattern",effective:t=>s.formationUnstated(t),choices:[{value:"single",label:"oneDrone"},{value:"cluster",label:"aLooseGroup"},{value:"line",label:"abreast"}],visibleWhen:t=>(p.read(t,"count")??1)>1},{type:"number",key:"formation.spacingM",min:.5,max:1e3,step:.5,unit:"m",group:s.FLIGHT,effective:t=>s.formationOf(t)==="line"?5:10,label:"spacing",hint:"betweenNeighbours",visibleWhen:t=>(p.read(t,"count")??1)>1&&s.formationOf(t)!=="single"},{type:"number",key:"headingDeg",min:0,max:360,step:1,unit:"°",group:s.FLIGHT,label:"noseTowards",hint:"emptyItFacesWhereItGoes",placeholder:"whereItGoes",visibleWhen:s.hovers},{type:"number",key:"wind.fromDeg",min:0,max:360,step:1,unit:"°",group:s.FLIGHT,label:"windFrom",effective:()=>0,hint:"whatItLeansInto"},{type:"number",key:"wind.speedMS",min:0,max:60,step:.1,unit:"m/s",group:s.FLIGHT,label:"windSpeed",effective:()=>0},{type:"boolean",key:"silent",group:s.FLIGHT,label:"silent",hint:"notEvenItsRotors"},{type:"number",key:"quieterDb",min:0,max:60,step:1,unit:"dB",group:s.FLIGHT,label:"quieter",hint:"thanItsClass",effective:()=>0,visibleWhen:t=>p.read(t,"silent")!==!0},{type:"colour",key:"bodyColor",group:s.LOOK,label:"hull",effective:t=>c.airframeOf(s.flightOf(t)).bodyColor},...s.LIGHT_NAMES.flatMap(t=>s.light(t))]};static angular(t){return typeof t.azimuthDeg=="number"}static WAYPOINT={kind:"drones-waypoint",title:"pointOfThePath",parameters:[{type:"number",key:"t",min:-36e3,max:36e3,step:.1,unit:"s",scale:.001,required:!0,label:"time",hint:"secondsOfTheRecording"},{type:"position",key:"eastM",secondKey:"northM",saidKey:"saidPosition",native:"local",step:1,rangeM:1e5,label:"position",visibleWhen:t=>!s.angular(t)},{type:"number",key:"altitudeM",min:-500,max:2e4,step:.1,unit:"m",required:!0,label:"height",hint:"aboveTheGroundOfThePlace",visibleWhen:t=>!s.angular(t)},{type:"number",key:"azimuthDeg",min:0,max:360,step:.1,unit:"°",required:!0,label:"azimuth",visibleWhen:t=>s.angular(t)},{type:"number",key:"altitudeDeg",min:-90,max:90,step:.1,unit:"°",required:!0,label:"elevation",visibleWhen:t=>s.angular(t)},{type:"number",key:"distanceM",min:0,max:1e5,step:1,unit:"m",required:!0,label:"distance",visibleWhen:t=>s.angular(t)},{type:"number",key:"eyeHeightM",min:0,max:1e4,step:.1,unit:"m",effective:()=>1.6,label:"eyeHeight",visibleWhen:t=>s.angular(t)}]};static waypointAt(t,e){const i=c.pathOf(t);if(i.length===0)return{t:Math.round(e),eastM:0,northM:0,altitudeM:0};const n=new E(i,c.airframeOf(t).hovers).at(e),r=o=>Math.round(o*10)/10;return{t:Math.round(e),eastM:r(n.eastM),northM:r(n.northM),altitudeM:r(n.upM)}}static publish(){f.publish(s.SET),f.publish(s.WAYPOINT)}}const A=v.catalog({en:()=>l(()=>import("./DroneEditorMessages_en-BViHK30c.js"),[],import.meta.url).then(a=>a.droneEditorMessages_en),fr:()=>l(()=>import("./DroneEditorMessages_fr-CvV0RyOT.js"),[],import.meta.url).then(a=>a.droneEditorMessages_fr),es:()=>l(()=>import("./DroneEditorMessages_es-D6bhIOAa.js"),[],import.meta.url).then(a=>a.droneEditorMessages_es),it:()=>l(()=>import("./DroneEditorMessages_it-CYi-jmVN.js"),[],import.meta.url).then(a=>a.droneEditorMessages_it)});class u{constructor(t,e,i){this.container=t,this.host=e,L.attach(t,"drone-editor-part",u.STYLE),this.language=i,f.of("drones")||s.publish(),this.ready=this.setLanguage(i)}messages;ready;parameterTexts;languageToken=0;currentId;form;list;timeline;pointForm;pointIndex=0;language;shown=[];static STYLE='.drone-editor-part { flex-basis: 100%; min-width: 0; } .drone-editor-part #drone-list, .drone-editor-part #drone-timeline { flex-basis: 100%; min-width: 0; } .drone-editor-part #drone-timeline { padding: 4px 0; } .drone-editor-part #drone-path > .icon-btn { align-self: flex-end; } .drone-editor-part .launch-editor, .drone-editor-part .launch-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .drone-editor-part .launch-fields { flex-basis: 100%; min-width: 0; } .drone-editor-part [hidden] { display: none !important; } .drone-editor-part select { min-width: 0; width: 100%; } .drone-editor-part .launch-intro { flex-basis: 100%; margin: 0; } .drone-editor-part .launch-parameters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; } .drone-editor-part .parameter-group { flex: 1 1 14em; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; align-content: flex-start; } .drone-editor-part input, .drone-editor-part select { max-width: 100%; box-sizing: border-box; } .drone-editor-part input[type="text"] { width: 12em; } .drone-editor-part label { min-width: 0; max-width: 100%; } .drone-editor-part input.parameter-derived::placeholder { opacity: .65; } .drone-editor-part .launch-path { flex: 1 1 100%; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; }';static PATH_COLOR="#3b82c4";async setLanguage(t){const e=++this.languageToken;this.language=t;const[i,n]=await Promise.all([A.load(t),S.load(t)]);e===this.languageToken&&(this.messages=i,this.parameterTexts=n,this.render(),this.sync())}sync(){if(!this.messages)return;const t=this.flights;this.shown=[...t],t.some(n=>n.id===this.currentId)||(this.currentId=t[0]?.id),this.list?.setItems(t.map(n=>({id:n.id,label:this.labelOf(n)})),this.currentId),this.syncAddState();const e=this.current;if(this.element("drone-fields").hidden=e===void 0,!e)return;const i=this.element("drone-each");i.hidden=e.explainsEach===void 0,i.textContent=this.messages.explainsEachNote.replace("{n}",String(e.explainsEach?.length??0)),this.form??=new m(this.element("drone-parameters"),this.language,"drones.",{said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()}),this.form.show(this.resolved(s.SET),new b(()=>this.current,n=>this.editFlight(r=>n(r)),()=>({shapes:this.host.shapes().map(n=>({value:n.id,label:n.label}))}),this.host.positionPlace?.()),()=>this.written()),this.syncPoint(!0)}refresh(){if(!this.messages)return;this.syncAddState();const t=this.flights;if(t.length===this.shown.length&&t.every((e,i)=>e.id===this.shown[i].id)){this.syncTimeline();return}this.sync()}setTime(t){this.messages&&this.timeline?.setTime(t)}syncAddState(){const t=this.frontOfObserver()!==void 0;this.list?.setAddState(t,t?void 0:this.messages.addNowhere)}get current(){return this.flights.find(t=>t.id===this.currentId)}resolved(t){return w.resolve(t,this.parameterTexts)}render(){if(!this.messages)return;const t=this.messages;this.form=void 0,this.pointForm=void 0,this.container.innerHTML=`<div class="launch-editor">
|
|
2
|
-
<p class="launch-intro">${t.intro}</p>
|
|
3
|
-
<div id="drone-list"></div>
|
|
4
|
-
<div id="drone-fields" class="launch-fields">
|
|
5
|
-
<div id="drone-parameters" class="launch-parameters"></div>
|
|
6
|
-
<p id="drone-each" class="launch-intro" hidden></p>
|
|
7
|
-
<div id="drone-timeline"></div>
|
|
8
|
-
<p class="launch-intro">${t.timelineNote}</p>
|
|
9
|
-
<fieldset id="drone-path" class="launch-path">
|
|
10
|
-
<legend>${this.parameterTexts.pointOfThePath}</legend>
|
|
11
|
-
<div id="drone-point-parameters" class="launch-parameters"></div>
|
|
12
|
-
<button id="drone-point-delete" class="icon-btn" type="button" title="${t.deletePoint}" aria-label="${t.deletePoint}">${O.TRASH}</button>
|
|
13
|
-
</fieldset>
|
|
14
|
-
<p class="launch-intro">${t.derivedNote}</p>
|
|
15
|
-
</div>
|
|
16
|
-
</div>`,this.list=new T({header:this.element("drone-list"),body:this.element("drone-fields"),ids:{list:"drone-select",remove:"drone-delete",add:"drone-add"},onSelect:e=>this.show(e),onAdd:()=>this.addDrone(),onRemove:()=>this.deleteCurrent()}),this.list.setLabels({list:t.drone,remove:t.deleteDrone,add:t.addDrone,empty:t.none}),this.timeline=new I(this.element("drone-timeline"),e=>this.host.seekTo?.(e),{addKeyframeHere:t.addPointHere,keyframeHere:t.pointHere,zoomHint:t.zoomHint}),this.element("drone-point-delete").addEventListener("click",()=>this.removePoint())}show(t){this.messages&&(this.currentId=t,this.pointIndex=0,this.sync())}written(){const t=this.current;t&&this.list?.rename(t.id,this.labelOf(t)),this.syncPoint()}pathOf(t){return[...t?.path??[]].sort((e,i)=>e.t-i.t)}static MIN_POINTS=1;syncTimeline(){const t=this.current;if(!this.timeline||!t)return;const e=this.pathOf(t),i={id:"path",label:this.messages.path,color:u.PATH_COLOR,times:e.map(h=>h.t),active:!0,selectedTime:e[this.pointIndex]?.t,open:()=>this.selectPoint(this.pointIndex),pressed:(h,d)=>{const g=d===void 0?-1:this.pathOf(this.current).findIndex(x=>x.t===d);this.selectPoint(g>=0?g:this.pointIndex)},move:(h,d)=>this.movePoint(h,d),add:()=>this.addPointAt(this.host.currentTime?.()??0)},n=e[0]?.t??0,r=e[e.length-1]?.t??0,o=Math.max(500,(r-n)/10);this.timeline.show([i],this.host.duration?.()??r,this.host.currentTime?.()??0,{from:n-o,to:r+o})}syncPoint(t=!1){const e=this.pathOf(this.current);this.pointIndex=Math.max(0,Math.min(this.pointIndex,e.length-1)),this.element("drone-point-delete").disabled=e.length<=u.MIN_POINTS,this.pointForm?this.pointForm.sync(t):(this.pointForm=new m(this.element("drone-point-parameters"),this.language,"dronesPoint."),this.pointForm.show(this.resolved(s.WAYPOINT),new b(()=>this.pathOf(this.current)[this.pointIndex],i=>this.editPoint(this.pointIndex,i),void 0,this.host.positionPlace?.()),()=>{})),this.syncTimeline()}selectPoint(t){this.pointIndex=t;const e=this.pathOf(this.current)[t];e&&this.host.seekTo?.(e.t),this.syncPoint(!0)}editPoint(t,e){let i;this.editFlight(n=>{const r=this.pathOf(n);i={...r[t]},e(i),n.path=r.map((o,h)=>h===t?i:o).sort((o,h)=>o.t-h.t)}),i&&(this.pointIndex=this.current?.path.indexOf(i)??0),this.syncPoint()}movePoint(t,e){const i=this.pathOf(this.current).findIndex(n=>n.t===t);i<0||(this.editPoint(i,n=>{n.t=Math.round(e)}),this.syncPoint(!0))}addPointAt(t){const e=this.current;if(!e)return;const i=this.pathOf(e).findIndex(r=>Math.abs(r.t-t)<1);if(i>=0){this.selectPoint(i);return}const n=s.waypointAt(e,t);this.editFlight(r=>{r.path=[...this.pathOf(r),n].sort((o,h)=>o.t-h.t)}),this.selectPoint(this.current?.path.indexOf(n)??0)}removePoint(){const t=this.pathOf(this.current);if(t.length<=u.MIN_POINTS)return;const e=this.pointIndex;this.editFlight(i=>{i.path=t.filter((n,r)=>r!==e)}),this.syncPoint(!0)}editFlight(t){const e=this.current;if(!e)return;const i=structuredClone(e);if(i.lights)for(const[n,r]of Object.entries(i.lights))r===!1&&(i.lights[n]={off:!0});if(t(i),i.formation&&i.formation.kind===void 0&&(Object.entries(i.formation).some(([r,o])=>r!=="kind"&&o!==void 0)?i.formation.kind=e.formation?.kind??((i.count??1)>1?"cluster":"single"):delete i.formation),i.wind&&(i.wind.fromDeg===void 0&&i.wind.speedMS===void 0?delete i.wind:(i.wind.fromDeg??=0,i.wind.speedMS??=0)),i.lights){for(const[n,r]of Object.entries(i.lights))r!==!1&&Object.keys(r).length===0&&delete i.lights[n];Object.keys(i.lights).length===0&&delete i.lights}this.writeFlights(this.flights.map(n=>n===e?i:n)),this.host.changed()}frontOfObserver(){const t=this.host.sighting(),e=t.event?.place?.[0];if(e?.lat===void 0||e.lng===void 0)return;const i=t.observerTrack?.getInterpolatedPoseAt(this.host.currentTime?.()??0),n=111320,r=i?.lng!==void 0?(i.lng-e.lng)*n*Math.cos(e.lat*Math.PI/180):0,o=i?.lat!==void 0?(i.lat-e.lat)*n:0;return{eastM:r,northM:o,headingRad:(i?.headingDeg??0)*Math.PI/180}}addDrone(){const t=this.frontOfObserver();if(!t)return;let e=this.flights.length+1;for(;this.flights.some(o=>o.id===`drone-${e}`);)e++;const i=Math.round(this.host.currentTime?.()??0),n=o=>({t:o,eastM:Math.round(t.eastM+150*Math.sin(t.headingRad)),northM:Math.round(t.northM+150*Math.cos(t.headingRad)),altitudeM:60}),r={id:`drone-${e}`,airframe:"quadcopter",path:[n(i),n(i+2e4)],seed:e};this.writeFlights([...this.flights,r]),this.host.changed(),this.show(r.id)}deleteCurrent(){const t=this.current;t&&(this.currentId=void 0,this.writeFlights(this.flights.filter(e=>e!==t)),this.host.changed(),this.sync())}writeFlights(t){const e=this.host.sighting(),i={...e.interpretation??{bodies:[]},drones:t.length>0?t:void 0};i.drones===void 0&&delete i.drones;const n=M.saysNothing(i,k.kinds());e.interpretation=n?void 0:i}labelOf(t){const e=this.host.said().read(t.title);return e?`${e} (${t.id})`:t.id}get flights(){return this.host.sighting().interpretation?.drones??[]}element(t){return this.container.querySelector(`#${t}`)}}export{u as DroneEditor};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{K as L,B as v,L as k}from"./rr0-sighting-editor.mjs";const b=Math.PI/180;class l{static SIGHT_LINE_M=5e3;static FLAT={heightAt:()=>0};static of(n,t,e){return[...l.observer(n,t),...l.sightLines(n,t,e),...l.bodies(n,t,e),...l.traces(n,t,e)]}static observer(n,t){const e=[];for(const r of n.observerTrack.allKeyframes){const s=L(n,r.t);if(s?.lat===void 0||s.lng===void 0)continue;const d=s.elevationM??0;e.push({t:r.t,at:{lat:s.lat,lng:s.lng,altM:d+v.EYE_HEIGHT_M},...s.headingDeg===void 0?{}:{headingDeg:s.headingDeg},elevationM:d})}if(e.length===0)return[];const o=e[0],a=[{group:"observer",groupName:t.folderObserver,name:l.fill(t.observerPoint,{s:l.seconds(o.t)}),note:l.fill(t.observerNote,{elevation:l.round(o.elevationM,1),heading:o.headingDeg===void 0?"—":l.round(o.headingDeg,0)}),kind:"point",points:[o.at],heights:"observer-ground"}];return e.some(r=>r.at.lat!==o.at.lat||r.at.lng!==o.at.lng)&&a.push({group:"observer",groupName:t.folderObserver,name:t.observerPath,kind:"line",points:e.map(r=>r.at),heights:"observer-ground"}),a}static sightLines(n,t,e){const o=[];for(const a of n.timeline.allKeyframes){const i=L(n,a.t);if(i?.lat===void 0||i.lng===void 0)continue;const r={lat:i.lat,lng:i.lng,altM:(i.elevationM??0)+v.EYE_HEIGHT_M};for(const s of a.shapes){const d=s.shape.aim;d&&o.push({group:"sight-line",groupName:t.folderSightLines,name:l.fill(t.sightLine,{what:l.nameOf(e.read(s.shape.title),s.sourceId,t),s:l.seconds(a.t)}),note:l.fill(t.sightLineNote,{azimuth:l.round(d.azimuthDeg,1),altitude:l.round(d.altitudeDeg,1),km:l.round(l.SIGHT_LINE_M/1e3,0)}),kind:"line",points:[r,l.along(r,d.azimuthDeg,d.altitudeDeg)],heights:"observer-ground"})}}return o}static along(n,t,e){const o=l.SIGHT_LINE_M*Math.cos(e*b),a=k.toGeo({eastM:Math.sin(t*b)*o,northM:Math.cos(t*b)*o},n);return{lat:a.lat,lng:a.lng,altM:n.altM+l.SIGHT_LINE_M*Math.sin(e*b)}}static bodies(n,t,e){const o=n.interpretation?.bodies??[],a=L(n,0);if(o.length===0||a?.lat===void 0||a.lng===void 0)return[];const i={lat:a.lat,lng:a.lng},r=[];for(const s of o){const d=new v(s,l.FLAT,h=>v.eyeOf(n,h,l.FLAT)),f=[];for(const h of[...s.track].sort((c,m)=>c.t-m.t)){const c=d.at(h.t);if(!c)continue;const m=k.toGeo({eastM:c.eastM,northM:c.northM},i),u={lat:m.lat,lng:m.lng,altM:c.upM},M=f[f.length-1];M&&M.lat===u.lat&&M.lng===u.lng&&M.altM===u.altM||f.push(u)}if(f.length===0)continue;const y=l.nameOf(e.read(s.title),s.id,t);r.push({group:"body",groupName:t.folderBodies,name:l.fill(f.length===1?t.bodyPoint:t.bodyPath,{what:y}),note:t.bodyNote,kind:f.length===1?"point":"line",points:f,heights:"observer-ground"})}return r}static traces(n,t,e){return n.traces.map(o=>({group:"trace",groupName:t.folderTraces,name:e.read(o.title)??o.id,...e.read(o.source)?{note:e.read(o.source)}:{},kind:o.kind,points:o.points.map(a=>({lat:a.lat,lng:a.lng,altM:a.altM??0})),heights:o.altitude??"ground",...o.color?{color:o.color}:{}}))}static nameOf(n,t,e){return n&&n.trim()?n.trim():l.fill(e.unnamed,{id:t})}static seconds(n){return l.round(n/1e3,1)}static round(n,t){const e=10**t;return String(Math.round(n*e)/e)}static fill(n,t){return Object.entries(t).reduce((e,[o,a])=>e.replaceAll(`{${o}}`,a),n)}}export{l as G};
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BrowserWhisperProvider-Dn44ZE45.js","./TranscriptionAudio-C_xvRUv2.js","./TranscriptionError-D_TCbYbt.js","./OpenAiTranscriptionProvider-DDW446tK.js","./AssemblyAiTranscriptionProvider-o2kkPD5o.js","./interviewImport-BlSMFEw_.js","./interviewJson-CsMHIcZ-.js","./rr0-sighting-editor.mjs","./SightingFileEditor-0VZmtiOX.js","./index-DSNA74v6.js","./sightingSchema-CgwoRMl-.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{I as x,W as I,M,_ as w,S as A,r as j,a as $,b as z,E as R,H as P,A as B,c as V,s as J,U as G,d as K,e as S,f as C,g as O,h as v,l as Y}from"./rr0-sighting-editor.mjs";import{i as oe}from"./rr0-sighting-editor.mjs";import{InterviewMedia as N}from"./InterviewMedia-CvAxC62V.js";import{register as X}from"./InterviewElement-B3tm7y49.js";import{InterviewFile as f}from"./interviewJson-CsMHIcZ-.js";class g{static partsOf(e){return e.parts?e.parts:e.redacted?[]:[{text:e.text??""}]}static shownRanges(e){const t=[];let r="",s=0;return e.forEach((i,a)=>{const n="redacted"in i?"▮":f.plain(i.text);/[\p{L}\p{N}.,;:!?)»”…▮]$/u.test(r)&&/^[\p{L}\p{N}(«“▮]/u.test(n)&&(s+=1);const o="redacted"in i?0:n.length;t.push({part:a,from:s,to:s+o}),s+=o,r=n}),t}static words(e){return e.trim()===""?0:e.trim().split(/\s+/u).length}static redact(e,t,r,s){const i=[...g.partsOf(e)],a=g.shownRanges(i).find(E=>!("redacted"in i[E.part])&&t>=E.from&&r<=E.to);if(!a)return;const n=f.plain(i[a.part].text),o=/[\p{L}\p{N}'’-]/u;let h=t-a.from,d=r-a.from;for(;h>0&&o.test(n[h-1])&&o.test(n[h]);)h--;for(;d<n.length&&o.test(n[d])&&o.test(n[d-1]);)d++;const l=n.slice(h,d);if(l.trim()==="")return;const c=n.slice(0,h).trimEnd(),m=n.slice(d).trimStart(),p=[...c!==""?[{text:c}]:[],{redacted:{reason:s,words:g.words(l)}},...m!==""?[{text:m}]:[]],b=i.slice(0,a.part).filter(E=>"redacted"in E).length;return i.splice(a.part,1,...p),g.setParts(e,i),{text:l.trim(),nth:b}}static redactWhole(e,t){const r=JSON.stringify({text:e.text,parts:e.parts}),s=g.partsOf(e).reduce((i,a)=>i+("redacted"in a?a.redacted.words??0:g.words(f.plain(a.text))),0);if(delete e.text,delete e.parts,e.redacted={reason:t,...s>0?{words:s}:{}},e.refs)for(const i of e.refs)delete i.range;return r}static restoreWhole(e,t){const{text:r,parts:s}=JSON.parse(t);delete e.redacted,s?e.parts=s:e.text=r??""}static restorePart(e,t,r){const s=[...g.partsOf(e)];let i=-1;const a=s.findIndex(n=>"redacted"in n&&++i===t);a!==-1&&(s.splice(a,1,{text:r}),g.setParts(e,s))}static raw(e,t=()=>{}){let r=-1,s="",i="";for(const a of g.partsOf(e)){const n="redacted"in a?`⟦${t(++r)??"…"}⟧`:a.text;s!==""&&!/\s$/u.test(i)&&!/^\s/u.test(n)&&(s+=" "),s+=n,i=n}return s}static fromRaw(e,t,r){const s=g.partsOf(e).filter(o=>"redacted"in o),i=[],a=new Map;let n=-1;return t.split(/⟦([^⟧]*)⟧/u).forEach((o,h)=>{if(h%2===0){o.trim()!==""&&i.push({text:o.trim()});return}n++;const d=o.trim();d===""||d==="…"||d==="..."?i.push({redacted:s[n]?.redacted??{reason:r}}):(i.push({redacted:{reason:r,words:g.words(d)}}),a.set(n,d))}),delete e.redacted,g.setParts(e,i),a}static setParts(e,t){const r=[];for(const s of t){const i=r[r.length-1],a=!("redacted"in s)&&/^[,.;:!?)»”…]/u.test(s.text)?"":" ";i&&!("redacted"in i)&&!("redacted"in s)?r[r.length-1]={text:`${i.text}${a}${s.text}`.replace(/\s+/gu," ").trim()}:r.push(s)}if(r.some(s=>"redacted"in s)){if(e.parts=r,delete e.text,e.refs)for(const s of e.refs)delete s.range}else e.text=r.map(s=>s.text).join(" "),delete e.parts}}class W{constructor(e,t,r){this.host=t,this.messages=r,e.classList.add("player"),e.innerHTML=`<div class="player-video" hidden></div>
|
|
3
|
-
<div class="player-bar">
|
|
4
|
-
<button type="button" class="icon-btn player-play" disabled>${x.PLAY}</button>
|
|
5
|
-
<span class="player-time">0:00</span>
|
|
6
|
-
<div class="speaker-track" role="slider" tabindex="0" aria-valuemin="0"></div>
|
|
7
|
-
<span class="player-time player-end">0:00</span>
|
|
8
|
-
<button type="button" class="pill-btn player-recordings"></button>
|
|
9
|
-
</div>
|
|
10
|
-
<p class="player-empty"></p>
|
|
11
|
-
<dialog class="recordings-window"><h3></h3><div class="recording-rows"></div><button type="button" class="pill-btn recording-add">${x.PLUS}<span></span></button></dialog>`,this.play=e.querySelector(".player-play"),this.time=e.querySelector(".player-time"),this.end=e.querySelector(".player-end"),this.track=e.querySelector(".speaker-track"),this.video=e.querySelector(".player-video"),this.empty=e.querySelector(".player-empty"),this.open=e.querySelector(".player-recordings"),this.window=e.querySelector(".recordings-window"),this.play.addEventListener("click",()=>{this.media&&(this.media.paused?this.media.play().catch(()=>{}):this.media.pause())}),this.track.addEventListener("pointerdown",s=>{const i=this.track.getBoundingClientRect();i.width>0&&this.seek((s.clientX-i.left)/i.width*this.duration)}),this.track.addEventListener("keydown",s=>{(s.key==="ArrowRight"||s.key==="ArrowLeft")&&this.seek(this.now+(s.key==="ArrowRight"?5:-5))}),this.open.addEventListener("click",()=>this.showWindow()),e.querySelector(".recording-add").addEventListener("click",()=>this.edit(s=>s.push({kind:"audio",src:""}))),I.dialog(this.window,r.close,()=>this.window.close())}static CSS=`
|
|
12
|
-
.player { margin: 0 0 4px; border-radius: 12px; }
|
|
13
|
-
.player-video { aspect-ratio: 16 / 9; margin-bottom: 8px; border-radius: 10px; overflow: hidden; background: #0b1020; }
|
|
14
|
-
.player-video video { width: 100%; height: 100%; display: block; }
|
|
15
|
-
.player-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--ground-sunken); }
|
|
16
|
-
.player-time { font: 500 13px/1 var(--mono); color: var(--ink-dim); font-variant-numeric: tabular-nums; }
|
|
17
|
-
.speaker-track { position: relative; flex: 1 1 auto; height: 28px; border-radius: 6px; cursor: pointer; overflow: hidden;
|
|
18
|
-
background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 4px); }
|
|
19
|
-
.speaker-track .seg { position: absolute; top: 4px; bottom: 4px; border-radius: 2px; }
|
|
20
|
-
.speaker-track .seg[data-role="witness"] { background: #c9a14a; }
|
|
21
|
-
.speaker-track .seg[data-role="interviewer"] { background: #5b8fc4; }
|
|
22
|
-
.speaker-track .seg[data-role="other"] { background: var(--ink-faint); }
|
|
23
|
-
.speaker-track .seg.redacted { background: repeating-linear-gradient(135deg, var(--ink-faint) 0 3px, transparent 3px 6px); }
|
|
24
|
-
.speaker-track .head { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #f5c451; }
|
|
25
|
-
.player-empty { margin: 6px 2px 0; font-size: 13px; color: var(--ink-faint); }
|
|
26
|
-
.recordings-window { max-width: min(36em, 94vw); padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--ground-raised); color: var(--ink); }
|
|
27
|
-
.recordings-window::backdrop { background: rgba(7, 10, 18, .5); }
|
|
28
|
-
.recordings-window h3 { margin: 0 0 12px; font: 600 19px/1.3 var(--serif); }
|
|
29
|
-
.recording-row { display: grid; grid-template-columns: 8em minmax(0, 1fr) 7em auto; gap: 8px; align-items: end; margin-bottom: 10px; }
|
|
30
|
-
.recording-row label { display: flex; flex-direction: column; gap: 4px; font: 600 12px/1.3 var(--sans); color: var(--ink-dim); }
|
|
31
|
-
.recording-row input, .recording-row select { box-sizing: border-box; width: 100%; font-weight: 400; }
|
|
32
|
-
.recording-file { display: flex; gap: 6px; }
|
|
33
|
-
.recording-row .with-unit { display: flex; align-items: center; gap: 4px; font-weight: 400; color: var(--ink); }
|
|
34
|
-
.recording-status { grid-column: 1 / -1; margin: -4px 0 0; font-size: 12px; color: var(--ink-faint); }
|
|
35
|
-
.recording-status.error { color: var(--error); }
|
|
36
|
-
`;json;base;media;mediaFor="";picked=new Map;messages;play;time;end;track;video;empty;open;window;setMessages(e){this.messages=e,this.render()}show(e,t){this.json=e,this.base=t,this.render()}get now(){return this.media?Math.max(0,this.media.currentTime-(this.recordings[0]?.offset??0)):this.position}seek(e){this.position=Math.min(this.duration,Math.max(0,e)),this.media&&(this.media.currentTime=this.position+(this.recordings[0]?.offset??0)),this.placeHead(),this.host.timeChanged(this.position)}position=0;get recordings(){return Array.isArray(this.json?.recordings)?this.json.recordings:[]}get duration(){const e=this.media&&Number.isFinite(this.media.duration)?this.media.duration-(this.recordings[0]?.offset??0):0,t=Math.max(0,...(this.json?.segments??[]).map(r=>r.end??r.start??0));return Math.max(1,e,t)}render(){const e=this.messages,t=this.recordings;this.open.innerHTML='<svg class="icon" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M6 12V3.5l7-1.5V10.5"/><circle cx="4.5" cy="12" r="1.5"/><circle cx="11.5" cy="10.5" r="1.5"/></svg>',this.open.append(e.recordings.replace("{n}",String(t.length))),this.empty.textContent=t.length===0?e.noRecording:"",this.empty.hidden=t.length>0,this.play.title=e.play,this.play.setAttribute("aria-label",e.play),this.track.setAttribute("aria-label",e.recordingsTitle),this.ensureMedia(),this.drawTrack(),this.window.open&&this.drawRows()}ensureMedia(){const e=this.recordings[0],t=e?`${e.kind}|${e.src}`:"";if(t===this.mediaFor||(this.mediaFor=t,this.media?.pause(),this.media=void 0,this.video.replaceChildren(),this.video.hidden=!0,this.play.disabled=!0,!e||e.src===""))return;const r=document.createElement(e.kind==="video"?"video":"audio");r.preload="metadata",r.src=this.urlOf(e.src),r.addEventListener("loadedmetadata",()=>this.drawTrack()),r.addEventListener("timeupdate",()=>{this.placeHead(),this.host.timeChanged(this.now)});const s=()=>{const i=!r.paused;this.play.innerHTML=i?x.PAUSE:x.PLAY;const a=i?this.messages.pause:this.messages.play;this.play.title=a,this.play.setAttribute("aria-label",a)};r.addEventListener("play",s),r.addEventListener("pause",s),e.kind==="video"&&(this.video.append(r),this.video.hidden=!1),this.media=r,this.play.disabled=!1}recordingUrl(){const e=this.recordings[0];return e&&e.src!==""?this.urlOf(e.src):void 0}urlOf(e){const t=this.picked.get(e);if(t)return t;try{return new URL(e,this.base??location.href).href}catch{return e}}drawTrack(){const e=this.json,t=this.duration,r=(e?.segments??[]).filter(i=>i.start!==void 0);this.track.replaceChildren(...r.map(i=>{const a=document.createElement("span"),n=e?.speakers?.[i.speaker]?.role;a.className=i.redacted?"seg redacted":"seg",a.dataset.role=n==="witness"||n==="interviewer"?n:"other";const o=i.start??0,h=i.end??o+1;return a.style.left=`${o/t*100}%`,a.style.width=`${Math.max(.3,(h-o)/t*100)}%`,a}));const s=document.createElement("span");s.className="head",this.track.append(s),this.track.setAttribute("aria-valuemax",String(Math.round(t))),this.end.textContent=f.clock(t),this.placeHead()}placeHead(){const e=this.now,t=this.track.querySelector(".head");t&&(t.style.left=`${Math.min(e,this.duration)/this.duration*100}%`),this.time.textContent=f.clock(Math.floor(e)),this.track.setAttribute("aria-valuenow",String(Math.round(e)))}showWindow(){this.drawRows(),typeof this.window.showModal=="function"?this.window.showModal():this.window.setAttribute("open","")}drawRows(){const e=this.messages;this.window.querySelector("h3").textContent=e.recordingsTitle,this.window.querySelector(".recording-add span").textContent=e.recordingAdd,I.dialog(this.window,e.close,()=>this.window.close()),this.window.querySelector(".recording-rows").replaceChildren(...this.recordings.map((r,s)=>{const i=document.createElement("div");i.className="recording-row";const a=document.createElement("select");a.append(new Option(e.recordingAudio,"audio"),new Option(e.recordingVideo,"video")),a.value=r.kind,a.addEventListener("change",()=>this.edit(p=>{p[s].kind=a.value}));const n=document.createElement("input");n.type="text",n.value=r.src,n.placeholder="interview.mp3",n.addEventListener("change",()=>this.edit(p=>{p[s].src=n.value.trim()}));const o=document.createElement("input");o.type="file",o.accept="audio/*,video/*",o.hidden=!0,o.addEventListener("change",()=>{const p=o.files?.[0];p&&(this.picked.set(p.name,URL.createObjectURL(p)),this.edit(b=>{b[s].src=p.name,p.type.startsWith("video/")&&(b[s].kind="video")}))});const h=document.createElement("button");h.type="button",h.className="icon-btn",h.title=e.recordingFile,h.setAttribute("aria-label",e.recordingFile),h.innerHTML='<svg class="icon" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 4.5h4l1.5 1.5h5.5v6.5h-11z"/></svg>',h.addEventListener("click",()=>o.click());const d=document.createElement("span");d.className="recording-file",d.append(n,h,o);const l=document.createElement("input");l.type="number",l.step="0.1",l.value=r.offset!==void 0?String(r.offset):"",l.placeholder="0",l.addEventListener("change",()=>this.edit(p=>{const b=Number(l.value);l.value.trim()===""||!Number.isFinite(b)||b===0?delete p[s].offset:p[s].offset=b}));const c=document.createElement("button");c.type="button",c.className="icon-btn",c.innerHTML=x.TRASH,c.title=e.recordingRemove,c.setAttribute("aria-label",e.recordingRemove),c.addEventListener("click",()=>this.edit(p=>{p.splice(s,1)}));const m=document.createElement("p");return m.className="recording-status",this.check(r,m),i.append(this.labelled(e.recordingKind,a),this.labelled(e.recordingFile,d),this.labelled(e.recordingOffset,l,"s"),c,m),i}))}labelled(e,t,r){const s=document.createElement("label"),i=document.createElement("span");if(i.textContent=e,r){const a=document.createElement("span");a.className="with-unit",a.append(t,r),s.append(i,a)}else s.append(i,t);return s}check(e,t){if(e.src==="")return;const r=document.createElement(e.kind==="video"?"video":"audio");r.preload="metadata",r.addEventListener("loadedmetadata",()=>{t.textContent=f.clock(Math.round(r.duration)),t.classList.remove("error")}),r.addEventListener("error",()=>{t.textContent=this.messages.loadFailed,t.classList.add("error")}),r.src=this.urlOf(e.src)}edit(e){const t=structuredClone(this.recordings);e(t),this.host.recordingsChanged(t)}}class L{constructor(e,t,r,s){this.sendsAudio=e,this.engine=t,this.load=r,this.downloadBytes=s}loaded;transcribe(e){return this.loaded??=this.load().catch(t=>{throw this.loaded=void 0,t}),this.loaded.then(t=>t.transcribe(e))}}const F="groq",U="openai",H="assemblyai",T=M.point("transcription").provide(M.BUILT_IN,[{id:"whisper-browser",name:"Whisper",credit:"OpenAI Whisper large-v3-turbo (MIT), run by Transformers.js (Apache 2.0)",creditUrl:"https://huggingface.co/onnx-community/whisper-large-v3-turbo",create:()=>new L(!1,"whisper-large-v3-turbo (Transformers.js, in the browser)",async()=>new(await w(async()=>{const{BrowserWhisperProvider:k}=await import("./BrowserWhisperProvider-Dn44ZE45.js");return{BrowserWhisperProvider:k}},__vite__mapDeps([0,1,2]),import.meta.url)).BrowserWhisperProvider,76e7)},{id:F,name:"Groq",credit:"Groq, Whisper large-v3-turbo, on your own key",creditUrl:"https://groq.com/terms-of-use",keyUrl:"https://console.groq.com/keys",create:()=>new L(!0,"whisper-large-v3-turbo (Groq)",async()=>new(await w(async()=>{const{OpenAiTranscriptionProvider:k}=await import("./OpenAiTranscriptionProvider-DDW446tK.js");return{OpenAiTranscriptionProvider:k}},__vite__mapDeps([3,1,2]),import.meta.url)).OpenAiTranscriptionProvider({base:"https://api.groq.com/openai/v1",model:"whisper-large-v3-turbo",key:()=>A.of(F)}))},{id:U,name:"OpenAI",credit:"OpenAI, Whisper, on your own key",creditUrl:"https://openai.com/policies/row-terms-of-use/",keyUrl:"https://platform.openai.com/api-keys",create:()=>new L(!0,"whisper-1 (OpenAI)",async()=>new(await w(async()=>{const{OpenAiTranscriptionProvider:k}=await import("./OpenAiTranscriptionProvider-DDW446tK.js");return{OpenAiTranscriptionProvider:k}},__vite__mapDeps([3,1,2]),import.meta.url)).OpenAiTranscriptionProvider({base:"https://api.openai.com/v1",model:"whisper-1",key:()=>A.of(U)}))},{id:H,name:"AssemblyAI",credit:"AssemblyAI, voices told apart, on your own key",creditUrl:"https://www.assemblyai.com/legal/terms-of-service",keyUrl:"https://www.assemblyai.com/app/api-keys",create:()=>new L(!0,"AssemblyAI (speaker labels)",async()=>new(await w(async()=>{const{AssemblyAiTranscriptionProvider:k}=await import("./AssemblyAiTranscriptionProvider-o2kkPD5o.js");return{AssemblyAiTranscriptionProvider:k}},__vite__mapDeps([4,1,2]),import.meta.url)).AssemblyAiTranscriptionProvider({base:"https://api.assemblyai.com",key:()=>A.of(H)}))}]),_="rr0-interview-editor",Q=`
|
|
37
|
-
<style>
|
|
38
|
-
:host { display: block; }
|
|
39
|
-
/* The colours of the transcript's text editor (see SightingFileEditor): a key, a string, a number or a word, and a mistake. Dark mode redefines them. */
|
|
40
|
-
:host { --file-key: #1a5fb4; --file-string: #26662f; --file-literal: #a5321f; --rr0-alert: #c33; }
|
|
41
|
-
@media (prefers-color-scheme: dark) { :host { --file-key: #8cb8ff; --file-string: #8fd39a; --file-literal: #ffa08a; } }
|
|
42
|
-
[hidden] { display: none !important; }
|
|
43
|
-
/* Two groups as the recording's editor has its own (see sightingEditorTemplate): the open tab raised and joined to its panel. */
|
|
44
|
-
.group-tabs { --tab-line: color-mix(in srgb, CanvasText 35%, transparent); --tab-surface: color-mix(in srgb, CanvasText 5%, Canvas);
|
|
45
|
-
--tab-recessed: color-mix(in srgb, CanvasText 11%, Canvas); --tab-accent: #4a9eff;
|
|
46
|
-
display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0; margin: 0; padding: 0; border-bottom: 1px solid var(--tab-line); }
|
|
47
|
-
.group-tab { -webkit-user-select: none; user-select: none; font: inherit; font-weight: 600; cursor: pointer; color: color-mix(in srgb, CanvasText 70%, transparent); background: var(--tab-recessed);
|
|
48
|
-
border: 1px solid var(--tab-line); border-radius: 8px 8px 0 0; padding: .4em .6em; margin: 0 0 -1px -1px; position: relative; }
|
|
49
|
-
.group-tab:hover { color: CanvasText; background: color-mix(in srgb, CanvasText 16%, Canvas); }
|
|
50
|
-
.group-tab[aria-expanded="true"] { color: CanvasText; background: var(--tab-surface); border-bottom-color: var(--tab-surface); box-shadow: inset 0 2px 0 var(--tab-accent); z-index: 1; }
|
|
51
|
-
.group-tab:focus-visible { outline: 2px solid #4af; outline-offset: -2px; }
|
|
52
|
-
.group-panel { border: 1px solid var(--tab-line, color-mix(in srgb, CanvasText 35%, transparent)); border-top: 0; border-radius: 0 0 4px 4px;
|
|
53
|
-
background: color-mix(in srgb, CanvasText 5%, Canvas); padding: .5em .75em; margin: 0 0 .5em; }
|
|
54
|
-
.row { display: flex; align-items: center; gap: .5em; flex-wrap: wrap; margin-bottom: .5em; }
|
|
55
|
-
.group-panel > .row:last-child { margin-bottom: 0; }
|
|
56
|
-
label { display: flex; align-items: center; gap: .4em; }
|
|
57
|
-
label.wide { flex: 1 1 100%; align-items: flex-start; }
|
|
58
|
-
label.wide textarea { flex: 1 1 auto; min-width: 0; min-height: 9em; }
|
|
59
|
-
label.fill { flex: 1 1 100%; }
|
|
60
|
-
label.fill input { flex: 1 1 auto; }
|
|
61
|
-
input[type="text"] { min-width: 0; }
|
|
62
|
-
#by { width: 16em; }
|
|
63
|
-
input[type="url"] { width: 18em; max-width: 100%; }
|
|
64
|
-
${z.CSS}
|
|
65
|
-
select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
|
|
66
|
-
fieldset.witnesses { display: flex; flex-wrap: wrap; align-items: center; gap: .25em .75em; border: 0; margin: 0; padding: 0; min-width: 0; }
|
|
67
|
-
fieldset.witnesses legend { float: left; padding: 0; margin-right: .4em; }
|
|
68
|
-
#exchanges { --rr0-interview-max-height: 32em; --rr0-interview-overflow: auto; }
|
|
69
|
-
.file-note { margin: .3em 0; }
|
|
70
|
-
${v.rules([".file-note"])}
|
|
71
|
-
.file-editor { min-height: 18em; margin-top: .5em; }
|
|
72
|
-
/* ---- The design handoff's look (design_handoff_editeurs_ufoathome, §2 and §5) ---- */
|
|
73
|
-
:host {
|
|
74
|
-
${R.TOKENS}
|
|
75
|
-
--rr0-field-radius: 8px;
|
|
76
|
-
--rr0-input-font-size: 15px;
|
|
77
|
-
container-type: inline-size;
|
|
78
|
-
font: 400 15px/1.5 var(--sans);
|
|
79
|
-
color: var(--ink);
|
|
80
|
-
}
|
|
81
|
-
${R.HEAD}
|
|
82
|
-
${R.fields(".interview-app")}
|
|
83
|
-
.recordings-window :is(button, input, select) { font: inherit; }
|
|
84
|
-
.recordings-window .pill-btn { min-height: 36px; }
|
|
85
|
-
/* Its parts, underlined, as the case's are. */
|
|
86
|
-
#tabs { display: flex; gap: 6px; padding: 0; border-bottom: 1px solid var(--line); }
|
|
87
|
-
#tabs .group-tab {
|
|
88
|
-
display: inline-flex; align-items: center; gap: 8px; min-height: 0; margin: 0 0 -1px; padding: 12px 10px;
|
|
89
|
-
border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; box-shadow: none; color: var(--ink-dim); font: 600 15px/1.2 var(--sans);
|
|
90
|
-
}
|
|
91
|
-
/* A pictogram before each name, as the case's and the observation's tabs have. */
|
|
92
|
-
#tabs .group-tab > svg { flex: none; width: 16px; height: 16px; }
|
|
93
|
-
#tabs .group-tab:hover { background: none; color: var(--ink); }
|
|
94
|
-
#tabs .group-tab[aria-expanded="true"] { color: var(--ink); border-bottom-color: var(--glow-solid); background: none; box-shadow: none; }
|
|
95
|
-
.interview-app > .group-panel { margin: 0; padding: 18px 0 0; border: 0; border-radius: 0; background: none; color: var(--ink); }
|
|
96
|
-
/* Fields: the label above, the value under it, on a grid that fills the width; the title and what was established the whole width. */
|
|
97
|
-
#group-summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 16px; }
|
|
98
|
-
#group-summary > .row { display: contents; }
|
|
99
|
-
#group-summary label, #group-transcript label { display: flex; flex-direction: column; align-items: stretch; gap: 6px; font: 600 13px/1.3 var(--sans); color: var(--ink-dim); }
|
|
100
|
-
#group-summary :is(label.fill, label.wide) { grid-column: 1 / -1; }
|
|
101
|
-
#group-summary :is(input, select, textarea), #group-transcript input[type="text"] { box-sizing: border-box; width: 100%; font-weight: 400; }
|
|
102
|
-
#group-summary input[type="text"], #group-transcript input[type="text"] { height: 38px; }
|
|
103
|
-
#group-summary textarea { min-height: 9em; }
|
|
104
|
-
fieldset.witnesses { flex-direction: column; align-items: flex-start; gap: 6px; font: 600 13px/1.3 var(--sans); color: var(--ink-dim); }
|
|
105
|
-
/* A witness's name stays on one line beside its box: shrunk to its words, the label broke "Q. B." in two. */
|
|
106
|
-
#group-summary fieldset.witnesses label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; color: var(--ink); white-space: nowrap; }
|
|
107
|
-
/* The exchanges, one card an intervention, the speaker's colour down its side: a list that scrolls past 520 px (440 on a phone). */
|
|
108
|
-
#exchanges { --rr0-interview-max-height: 520px; --rr0-interview-line: var(--line-strong); }
|
|
109
|
-
#exchanges .rr0-interview-turns { padding-right: 4px; }
|
|
110
|
-
#exchanges .intervention { margin: 0 0 10px; padding: 6px 4px; border: 1px solid var(--line-strong); border-left: 3px solid var(--speaker); border-radius: 10px; background: var(--ground); }
|
|
111
|
-
#exchanges .intervention:hover { background: var(--ground-sunken); }
|
|
112
|
-
#exchanges .turn .who { display: inline-block; margin-bottom: 4px; padding: 1px 9px; border-radius: 999px; background: color-mix(in srgb, var(--speaker) 18%, transparent); color: var(--ink); font: 700 12px/1.5 var(--sans); }
|
|
113
|
-
#exchanges .turn .said { font-size: 15px; line-height: 1.55; color: var(--ink); }
|
|
114
|
-
#exchanges .turn .ref { border-color: var(--glow-dim); background: var(--warn-bg); color: var(--ink); font: 600 12px/1.6 var(--sans); padding: 1px 9px; }
|
|
115
|
-
#exchanges .turn.flash { background: var(--warn-bg); }
|
|
116
|
-
#exchanges .rr0-interview-status { padding: 8px 12px; border-radius: 8px; background: var(--warn-bg); color: var(--ink-dim); font-size: 13px; }
|
|
117
|
-
#group-transcript > .row { margin-bottom: 12px; }
|
|
118
|
-
@container (max-width: 640px) { #exchanges { --rr0-interview-max-height: 440px; } }
|
|
119
|
-
${W.CSS}
|
|
120
|
-
${P.CSS}
|
|
121
|
-
${I.CSS}
|
|
122
|
-
${B.CSS}
|
|
123
|
-
${x.CSS}
|
|
124
|
-
/* Who has proofread it, said once above the exchanges, with a box each to say they have (see renderReview); the reader's own line goes. */
|
|
125
|
-
#exchanges .rr0-interview-status { display: none; }
|
|
126
|
-
.review { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 10px; padding: 10px 14px;
|
|
127
|
-
border-radius: 10px; background: var(--warn-bg); font-size: 13px; color: var(--ink-dim); }
|
|
128
|
-
.review[data-done] { background: var(--neutral-bg); }
|
|
129
|
-
.review-boxes { display: flex; flex-wrap: wrap; gap: 14px; }
|
|
130
|
-
.review-boxes label { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
|
|
131
|
-
/* Where the words selected, or the passage taken out pressed, are: why it is taken out, and what to do with it. Fixed, as it is placed
|
|
132
|
-
against what it is about (see openRedactPop); in the top layer where popovers are known. */
|
|
133
|
-
.redact-pop { position: fixed; inset: auto; margin: 0; text-align: start; width: min(24em, calc(100vw - 32px)); box-sizing: border-box; padding: 10px 12px;
|
|
134
|
-
border: 1px solid var(--line-strong); border-radius: 10px; background: var(--ground-raised); color: var(--ink); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
|
|
135
|
-
.redact-pop[hidden] { display: none; }
|
|
136
|
-
/* The words the popover is about, still marked once typing the reason has taken the selection away. */
|
|
137
|
-
::highlight(rr0-redact-pending) { background-color: var(--warn-bg, #fde9b0); color: inherit; text-decoration: underline 2px var(--glow-dim, #c90); }
|
|
138
|
-
.redact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 8px; }
|
|
139
|
-
.redact-actions button[hidden] { display: none; }
|
|
140
|
-
.transcribe { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
|
|
141
|
-
.transcribe-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
|
|
142
|
-
.transcribe-row label { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1.3 var(--sans); color: var(--ink-dim); }
|
|
143
|
-
.transcribe-row input[type="password"] { width: 14em; }
|
|
144
|
-
.transcribe .source-credit { font-size: 12px; color: var(--ink-faint); }
|
|
145
|
-
.transcribe-note { margin: .4em 0 0; }
|
|
146
|
-
.transcribe progress { width: 100%; margin-top: 6px; }
|
|
147
|
-
.redact-reason { display: flex; flex-direction: column; align-items: stretch; gap: 4px; text-align: start; font: 600 12px/1.3 var(--sans); color: var(--ink-dim); }
|
|
148
|
-
.redact-reason input { box-sizing: border-box; width: 100%; font-weight: 400; }
|
|
149
|
-
.redact-note { margin: 6px 0 0; font-size: 13px; color: var(--ink-faint); }
|
|
150
|
-
.redact-note:empty { display: none; }
|
|
151
|
-
.redact-note.error { color: var(--error); }
|
|
152
|
-
/* Each turn: its time, which plays from there; what is taken out as a label that says how much, and puts it back while it is known. */
|
|
153
|
-
#exchanges .turn { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); column-gap: 14px; padding: 8px 10px; }
|
|
154
|
-
#exchanges .turn > .turn-time { grid-row: 1; grid-column: 1; }
|
|
155
|
-
#exchanges .turn > .who { grid-column: 1; align-self: start; }
|
|
156
|
-
#exchanges .turn > :not(.who, .turn-time) { grid-column: 2; }
|
|
157
|
-
#exchanges .turn > .said, #exchanges .turn > .redacted { grid-row: 1 / span 2; }
|
|
158
|
-
#exchanges .turn.goes-on > .who, #exchanges .turn.is-redacted > .who { display: block; visibility: hidden; }
|
|
159
|
-
/* The time is on the turn itself here: the reader's tooltip of it would say it twice. */
|
|
160
|
-
#exchanges .turn[data-time]::after { content: none !important; display: none !important; }
|
|
161
|
-
.turn-time { justify-self: start; min-height: 0; padding: 0; border: 0; background: none; color: var(--sky); font: 600 13px/1.4 var(--mono); cursor: pointer; }
|
|
162
|
-
.turn-time:hover:not(:disabled) { background: none; text-decoration: underline; }
|
|
163
|
-
#exchanges .bar.redacted-label { width: auto; height: auto; padding: 0 8px; border: 1px dashed var(--line-strong); border-radius: 999px; background: none; color: var(--ink-faint);
|
|
164
|
-
font: 600 12px/1.6 var(--sans); vertical-align: baseline; cursor: default; }
|
|
165
|
-
#exchanges .bar.redacted-label { cursor: pointer; }
|
|
166
|
-
#exchanges .bar.redacted-label:hover { border-color: var(--glow-dim); color: var(--ink); }
|
|
167
|
-
.turn-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; margin-top: 6px; }
|
|
168
|
-
.turn-tools button { min-height: 0; padding: 2px 4px; border: 0; background: none; color: var(--ink-faint); font: 600 13px/1.4 var(--sans); }
|
|
169
|
-
.turn-tools button:hover:not(:disabled) { background: none; color: var(--ink); }
|
|
170
|
-
.turn-tools .icon-btn { min-width: 0; }
|
|
171
|
-
#exchanges .turn.current { background: var(--warn-bg); border-radius: 8px; }
|
|
172
|
-
#exchanges .intervention:has(.turn.current) { border-color: var(--glow-dim); }
|
|
173
|
-
#exchanges .turn .refs { align-items: center; }
|
|
174
|
-
#exchanges .turn .ref { display: inline-block; max-width: calc(100% - 2em); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
175
|
-
#exchanges .turn .ref .moment-letter { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; margin-right: 4px; border-radius: 50%; background: var(--glow-solid); color: var(--glow-on-solid); font: 700 11px/1 var(--sans); }
|
|
176
|
-
#exchanges .turn .ref-unlink { min-height: 0; padding: 0 4px; border: 0; background: none; color: var(--ink-faint); font: 600 13px/1 var(--sans); }
|
|
177
|
-
.turn-edit { display: flex; flex-direction: column; gap: 6px; }
|
|
178
|
-
.turn-edit textarea { box-sizing: border-box; width: 100%; min-height: 6em; }
|
|
179
|
-
.turn-edit .hint { font-size: 12px; color: var(--ink-faint); }
|
|
180
|
-
.turn-edit .buttons { display: flex; gap: 8px; }
|
|
181
|
-
</style>
|
|
182
|
-
<div class="interview-app">
|
|
183
|
-
<!-- The player: what plays the interview's recordings, with who speaks along it (see InterviewPlayer). -->
|
|
184
|
-
<div id="player"></div>
|
|
185
|
-
<div id="tabs" class="group-tabs">
|
|
186
|
-
<button class="group-tab" type="button" aria-controls="group-summary" aria-expanded="true">${x.SUMMARY}<span id="label-summary-group"></span></button>
|
|
187
|
-
<button class="group-tab" type="button" aria-controls="group-exchanges" aria-expanded="false">${x.INTERVIEW}<span id="label-exchanges-group"></span></button>
|
|
188
|
-
<button class="group-tab" type="button" aria-controls="group-transcript" aria-expanded="false">${x.FILES}<span id="label-file-group"></span></button>
|
|
189
|
-
</div>
|
|
190
|
-
<section class="group-panel" id="group-summary" aria-labelledby="label-summary-group">
|
|
191
|
-
<div class="row">
|
|
192
|
-
<label class="fill"><span id="label-title"></span> <input id="title" type="text"/></label>
|
|
193
|
-
</div>
|
|
194
|
-
<div class="row">
|
|
195
|
-
<fieldset id="witness" class="witnesses"><legend id="label-witness"></legend></fieldset>
|
|
196
|
-
<label><span id="label-medium"></span> <select id="medium"></select></label>
|
|
197
|
-
<label><span id="label-time"></span> <input id="time" type="text" size="16" placeholder="2026-10-13 21:27"/></label>
|
|
198
|
-
<label><span id="label-by"></span> <input id="by" type="text" autocomplete="off" spellcheck="false"/></label>
|
|
199
|
-
</div>
|
|
200
|
-
<div class="row">
|
|
201
|
-
<label class="wide"><span id="label-summary"></span> <textarea id="summary"></textarea></label>
|
|
202
|
-
</div>
|
|
203
|
-
</section>
|
|
204
|
-
<section class="group-panel" id="group-exchanges" aria-labelledby="label-exchanges-group" hidden>
|
|
205
|
-
<!-- Transcribing the recording (see TranscriptionProvider): what with, what it sends or downloads, how far it has got. -->
|
|
206
|
-
<div id="transcribe" class="transcribe">
|
|
207
|
-
<div class="transcribe-row">
|
|
208
|
-
<span><button id="transcribe-start" type="button" class="pill-btn primary"></button> <span id="transcribe-hint"></span></span>
|
|
209
|
-
<label><span id="label-transcribe-with"></span> <select id="transcribe-source"></select></label>
|
|
210
|
-
<a id="transcribe-credit" class="source-credit" target="_blank" rel="noopener noreferrer"></a>
|
|
211
|
-
<label id="transcribe-key-row" hidden><span id="label-transcribe-key"></span> <input id="transcribe-key" type="password" autocomplete="off" spellcheck="false"/> <a id="transcribe-key-get" class="source-credit" target="_blank" rel="noopener noreferrer"></a></label>
|
|
212
|
-
<button id="transcribe-stop" type="button" class="pill-btn" hidden></button>
|
|
213
|
-
</div>
|
|
214
|
-
<p id="transcribe-note" class="transcribe-note" role="status"></p>
|
|
215
|
-
<progress id="transcribe-progress" hidden></progress>
|
|
216
|
-
</div>
|
|
217
|
-
<div id="review" class="review" hidden></div>
|
|
218
|
-
<div id="redact-pop" class="redact-pop" role="dialog" hidden>
|
|
219
|
-
<label class="redact-reason"><span id="label-redact-reason"></span><input id="redact-reason" type="text" list="redact-reasons" autocomplete="off"/></label>
|
|
220
|
-
<datalist id="redact-reasons"></datalist>
|
|
221
|
-
<p id="redact-note" class="redact-note" role="status"></p>
|
|
222
|
-
<div class="redact-actions">
|
|
223
|
-
<button id="redact-restore" type="button" class="pill-btn"></button>
|
|
224
|
-
<button id="redact-take" type="button" class="pill-btn primary"></button>
|
|
225
|
-
</div>
|
|
226
|
-
</div>
|
|
227
|
-
<rr0-interview id="exchanges"></rr0-interview>
|
|
228
|
-
</section>
|
|
229
|
-
<section class="group-panel" id="group-transcript" aria-labelledby="label-file-group" hidden>
|
|
230
|
-
<div class="row">
|
|
231
|
-
<label class="fill"><span id="label-url"></span> <input id="url" type="text" autocomplete="off" spellcheck="false" placeholder="interview-….json"/></label>
|
|
232
|
-
</div>
|
|
233
|
-
<div class="row toolbar">
|
|
234
|
-
<span class="input-file-row"><span id="label-import-file"></span> <rr0-input-file id="import" name="import" accept="application/json,.json,.txt,.md,.vtt,.srt,text/*" placeholder="https://…/interview.json"></rr0-input-file></span>
|
|
235
|
-
<button id="save" type="button"></button>
|
|
236
|
-
</div>
|
|
237
|
-
<p id="file-note" class="file-note" hidden role="status"></p>
|
|
238
|
-
<div id="file-editor" class="file-editor"></div>
|
|
239
|
-
</section>
|
|
240
|
-
</div>
|
|
241
|
-
`;class u extends HTMLElement{shadow=this.attachShadow({mode:"open"});get importInput(){return this.shadow.getElementById("import")}messages;said=new $(["en"]);language="en";localeToken=0;current;options=[];group="summary";base;text;fileEditor;fileEditorLoading;shownFor;ready=Promise.resolve();player;drawn;takenOut=new Map;redactTarget;exchangesShown=Promise.resolve();lastReason;static transcriptionSourceId=T[0].id;transcribing;constructor(){super(),this.shadow.innerHTML=Q,customElements.upgrade(this.shadow),this.importInput.build();for(const r of["title","time","by","url","summary","witness","medium"])this.shadow.getElementById(r).addEventListener(r==="witness"||r==="medium"?"change":"input",()=>this.write(r));for(const r of this.shadow.querySelectorAll("#tabs .group-tab"))r.addEventListener("click",()=>this.openGroup(u.GROUPS[r.getAttribute("aria-controls")]??"summary"));this.shadow.getElementById("url").addEventListener("change",()=>{this.shownFor=void 0,this.text===void 0&&this.group==="file"&&this.showTranscript()}),this.importInput.addEventListener("filepick",r=>{const s=r.detail;s.file?this.importFromFile(s.file):this.importFromUrl(s.url)}),this.shadow.getElementById("save").addEventListener("click",()=>this.save()),this.shadow.getElementById("transcribe-start").addEventListener("click",()=>void this.transcribe()),this.shadow.getElementById("transcribe-stop").addEventListener("click",()=>this.transcribing?.abort()),this.shadow.getElementById("transcribe-source").addEventListener("change",r=>{u.transcriptionSourceId=r.target.value,this.transcribeOutcome=void 0,this.renderTranscribe()}),this.shadow.getElementById("transcribe-key").addEventListener("input",r=>{A.set(u.transcriptionSourceId,r.target.value),this.renderTranscribeStart()});const e=this.shadow.getElementById("exchanges");e.addEventListener("pointerup",()=>setTimeout(()=>this.selectionMade(),0)),e.addEventListener("keyup",r=>{r.shiftKey&&this.selectionMade()}),e.addEventListener("click",r=>{const s=r.target.closest(".bar.redacted-label");s&&this.openBar(s)}),e.addEventListener("keydown",r=>{const s=r.target.closest(".bar.redacted-label");s&&(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),this.openBar(s))}),this.shadow.getElementById("redact-take").addEventListener("click",()=>void this.redactSelection()),this.shadow.getElementById("redact-restore").addEventListener("click",()=>{const r=this.redactTarget;this.closeRedactPop(),r?.kind==="bar"&&r.restorable&&this.restore(r.restorable)});const t=this.field("redact-reason");t.addEventListener("change",()=>{this.redactTarget?.kind==="bar"&&this.changeReason()}),t.addEventListener("keydown",r=>{r.key==="Escape"&&this.closeRedactPop(),r.key==="Enter"&&(r.preventDefault(),this.redactTarget?.kind==="selection"?this.redactSelection():this.changeReason().then(()=>this.closeRedactPop()))})}static GROUPS={"group-summary":"summary","group-exchanges":"exchanges","group-transcript":"file"};static get observedAttributes(){return["readonly"]}attributeChangedCallback(){this.applyReadonly()}connectedCallback(){this.ready=this.loadLocale(),document.addEventListener("pointerdown",this.pressedElsewhere,!0)}pressedElsewhere=e=>{const t=this.shadow.getElementById("redact-pop");t&&!t.hidden&&!e.composedPath().includes(t)&&this.closeRedactPop()};disconnectedCallback(){document.removeEventListener("pointerdown",this.pressedElsewhere,!0),queueMicrotask(()=>{this.isConnected||this.releaseFileEditor()})}releaseFileEditor(){this.fileEditor&&(this.text=this.fileEditor.text,this.fileEditor.destroy(),this.fileEditor=void 0,this.fileEditorLoading=void 0,this.shownFor=void 0)}get event(){return this.current}set event(e){e!==this.current&&(this.shownFor=void 0),this.current=e,this.render(),this.takenOut.clear(),this.group==="file"&&this.showTranscript(),queueMicrotask(()=>{this.current===e&&this.showExchanges()})}set witnesses(e){this.options=e,this.render()}set documentUrl(e){this.base=e}get transcriptText(){return this.text}set transcriptText(e){this.text=e,this.shownFor=void 0}field(e){return this.shadow.getElementById(e)}async loadLocale(){const e=++this.localeToken,t=V.preferencesFor(this),r=J(t,G),s=await K.load(r);e===this.localeToken&&(this.language=r,this.said=new $(t),this.messages=s,this.player||(this.player=new W(this.shadow.getElementById("player"),{timeChanged:i=>this.markCurrentTurn(i),recordingsChanged:i=>void this.editTranscript(a=>{i.length===0?delete a.recordings:a.recordings=i})},s),this.render()),this.render())}applyReadonly(){const e=this.hasAttribute("readonly");for(const t of["title","time","by","url","summary"])this.field(t).readOnly=e;for(const t of this.shadow.querySelectorAll("#witness input"))t.disabled=e;this.field("medium").disabled=e,this.importInput.disabled=e,this.shadow.getElementById("transcribe").hidden=e}static byText(e){return(e??[]).map(t=>"people"in t?t.people:"org"in t?t.org:t.title??"").filter(t=>t!=="").join(", ")}render(){const e=this.messages;if(!e)return;const t=(l,c)=>{this.shadow.getElementById(l).textContent=c};t("label-summary-group",e.summaryTab),t("label-file-group",e.fileTab),t("label-exchanges-group",e.exchangesTab),t("label-title",e.title),t("label-witness",e.witness),t("label-medium",e.medium),t("label-time",e.time),t("label-by",e.by),t("label-summary",e.summary),t("label-url",e.transcript),P.say(this.shadow.getElementById("label-import-file"),e.importFile,e.importFileHint),t("redact-take",e.redactSelection),t("redact-restore",e.redactRestore),t("label-redact-reason",e.redactReasonLabel);const r=this.field("redact-reason");r.placeholder=e.redactReason,r.title=e.redactReasonHint,t("transcribe-start",e.transcribe),this.shadow.getElementById("transcribe-hint").replaceChildren(P.of(e.transcribeHint)),t("label-transcribe-with",e.transcribeWith),t("label-transcribe-key",e.transcribeKey),t("transcribe-key-get",e.transcribeKeyGet),t("transcribe-stop",e.transcribeStop),this.field("transcribe-key").title=e.transcribeKeyHint,this.renderTranscribe(),this.player?.setMessages(e),this.importInput.messages=e,t("save",e.saveButton),this.field("url").title=e.transcriptHint,this.field("by").title=e.byHint;const s=this.current,i=this.shadow.activeElement,a=(l,c)=>{this.field(l)!==i&&(this.field(l).value=c)};a("title",this.said.read(s?.title)??""),a("time",s?.time??""),a("by",u.byText(s?.by)),a("url",s?.url??""),a("summary",this.said.read(s?.summary)??"");const n=[s?.interviewOf].flat().filter(l=>typeof l=="string"),o=this.shadow.getElementById("witness"),h=[...this.options,...n.filter(l=>!this.options.some(c=>c.id===l)).map(l=>({id:l,label:l}))];o.replaceChildren(o.querySelector("legend"),...h.map(l=>{const c=document.createElement("label"),m=document.createElement("input");return m.type="checkbox",m.value=l.id,m.checked=n.includes(l.id),c.append(m,l.label),c}));const d=this.shadow.getElementById("medium");if(d.replaceChildren(...N.ALL.map(l=>new Option(N.label(l,this.language),l))),s?.medium!==void 0&&!N.ALL.includes(s.medium)&&d.append(new Option(String(s.medium),String(s.medium))),s?.medium===void 0){const l=new Option(e.witnessNone,"");l.disabled=!0,l.hidden=!0,d.prepend(l)}d.value=s?.medium??"",this.applyReadonly()}write(e){const t=this.current;if(!t)return;const r=e==="witness"?"":this.field(e).value;switch(e){case"title":{const s=this.said.write(t.title,r,this.language);s===void 0?delete t.title:t.title=s;break}case"summary":{const s=this.said.write(t.summary,r,this.language);s===void 0?delete t.summary:t.summary=s;break}case"time":r.trim()===""?delete t.time:t.time=r.trim();break;case"url":r.trim()===""?delete t.url:t.url=r.trim();break;case"by":{const s=r.split(",").map(i=>i.trim()).filter(i=>i!=="");s.length===0?delete t.by:t.by=s.map(i=>({people:i}));break}case"witness":{const s=[...this.shadow.querySelectorAll("#witness input:checked")].map(i=>i.value);if(s.length===0){this.render();return}t.interviewOf=s.length===1?s[0]:s;break}case"medium":r===""?delete t.medium:t.medium=r;break}this.dispatchEvent(new CustomEvent(S,{bubbles:!0,composed:!0,detail:{field:e,event:t}})),e==="medium"&&this.render(),e!=="url"&&this.syncFileFromEvent()}openGroup(e){this.group=e;const t={summary:"group-summary",exchanges:"group-exchanges",file:"group-transcript"};for(const r of this.shadow.querySelectorAll("#tabs .group-tab"))r.setAttribute("aria-expanded",String(r.getAttribute("aria-controls")===t[e]));for(const[r,s]of Object.entries(t))this.shadow.getElementById(s).hidden=r!==e;e==="file"&&this.showTranscript(),e==="exchanges"&&this.showExchanges()}exchangesToken=0;async transcriptJson(e){try{const t=this.fileEditor?.text??this.text;if(t!==void 0)return f.read(JSON.parse(t));const r=this.transcriptUrl(e);if(r!==void 0)return f.read(await C.json(r))}catch{}}async showExchanges(){const e=this.current;if(!e)return;const t=++this.exchangesToken,r=await this.transcriptJson(e);await this.ready,!(t!==this.exchangesToken||this.current!==e)&&this.drawExchanges(r)}drawExchanges(e){const t=this.shadow.getElementById("exchanges");t.documentUrl=this.current?this.transcriptUrl(this.current):void 0,t.interview=e,this.drawn=e,this.player?.show(e,this.current?this.transcriptUrl(this.current):void 0),this.renderReview(e),this.renderRedactReasons(e),this.decorateExchanges(e),this.renderTranscribe()}async editTranscript(e){const t=this.current;if(!t||this.hasAttribute("readonly"))return;const r=await this.transcriptJson(t)??JSON.parse(this.template(t));Array.isArray(r.segments)||(r.segments=[]),e(r);const s=u.pretty(u.withEventFields(r,t));this.fileEditor?.replaceText(s,!1),this.onEdited(s),await this.exchangesShown}get redactReason(){return this.reasonOf(this.lastReason)}reasonOf(e){e=e?.trim()||this.messages.redactReason;const t=this.givenReasons(this.drawn).find(r=>this.said.read(r)===e);return t!==void 0?typeof t=="string"?t:{...t}:this.said.write(void 0,e,this.language)??e}givenReasons(e){const t=new Map;for(const r of e?.segments??[])for(const s of[r.redacted,...(r.parts??[]).map(i=>"redacted"in i?i.redacted:void 0)]){if(!s)continue;const i=JSON.stringify(s.reason),a=t.get(i);a?a.n++:t.set(i,{reason:s.reason,n:1})}return[...t.values()].sort((r,s)=>s.n-r.n).map(r=>r.reason)}renderRedactReasons(e){const t=this.messages;if(!t)return;const r=this.givenReasons(e).map(a=>this.said.read(a)??"").filter(a=>a!==""),s=t.redactReasons.filter(a=>!r.some(n=>n.toLowerCase().startsWith(a.toLowerCase()))),i=[...new Set([...r,...s])];this.shadow.getElementById("redact-reasons").replaceChildren(...i.map(a=>new Option(a,a)))}speakerLabel(e,t){const r=f.speakerName(e,t),s=e.speakers?.[t]?.role;return s===f.UNATTRIBUTED&&e.speakers[t].title?this.messages.voiceNamed.replace("{name}",r):r===s&&s in this.messages.roles?this.messages.roles[s]:r}renderReview(e){const t=this.shadow.getElementById("review"),r=Object.entries(e?.speakers??{}).filter(([,o])=>o.role!==f.UNATTRIBUTED).map(([o])=>o);if(t.hidden=!e||r.length===0,!e||r.length===0)return;const s=o=>["approved","covered"].includes(e.proofreading?.[o]?.status??""),i=r.filter(o=>!s(o)),a=document.createElement("span");a.textContent=i.length===0?this.messages.proofreadAll:this.messages.proofreadPending.replace("{names}",i.map(o=>this.speakerLabel(e,o)).join(", ")),t.toggleAttribute("data-done",i.length===0);const n=document.createElement("span");n.className="review-boxes";for(const o of r){const h=document.createElement("label"),d=document.createElement("input");d.type="checkbox",d.checked=s(o),d.disabled=this.hasAttribute("readonly"),d.addEventListener("change",()=>void this.editTranscript(l=>{l.proofreading??={},d.checked?l.proofreading[o]={status:"approved",date:new Date().toISOString().slice(0,10)}:l.proofreading[o]={status:"pending"}})),h.append(d,this.messages.reviewedBy.replace("{name}",this.speakerLabel(e,o))),n.append(h)}t.replaceChildren(a,n)}momentsOf(e,t){const r=e.speakers?.[t]?.of??f.sightingsOf(e)[0];return this.options.find(s=>s.id===r)?.moments??this.options.flatMap(s=>s.moments??[])}decorateExchanges(e){if(!e)return;const t=this.messages,r=this.hasAttribute("readonly");for(const s of this.shadow.querySelectorAll("#exchanges .turn[data-segment]")){const i=Number(s.dataset.segment),a=e.segments[i];if(!a)continue;if(a.start!==void 0){const h=document.createElement("button");h.type="button",h.className="turn-time",h.textContent=f.clock(a.start),h.addEventListener("click",()=>this.player?.seek(a.start)),s.prepend(h)}const n=a.redacted?[a.redacted]:g.partsOf(a).flatMap(h=>"redacted"in h?[h.redacted]:[]);s.querySelectorAll(".bar").forEach((h,d)=>{const l=n[d]?.words;h.textContent=l!==void 0?t.redactedWords.replace("{n}",String(l)):t.redacted,h.classList.add("redacted-label");const c=a.redacted?`${i}:all`:`${i}:${d}`;this.takenOut.has(c)&&(h.dataset.restorable=c)});const o=this.momentsOf(e,a.speaker);s.querySelectorAll(".ref").forEach((h,d)=>{const l=a.refs?.[d];if(!l)return;const c=o.find(p=>Math.abs(p.at-l.at)<.05);if(c){const p=document.createElement("span");p.className="moment-letter",p.textContent=c.label.slice(0,2),h.replaceChildren(p,t.momentLabel.replace("{k}",c.label).replace("{text}",c.note??f.clock(l.at)))}if(r)return;const m=document.createElement("button");m.type="button",m.className="ref-unlink",m.textContent="×",m.title=t.unlinkMoment,m.setAttribute("aria-label",t.unlinkMoment),m.addEventListener("click",()=>void this.editTranscript(p=>{p.segments[i].refs?.splice(d,1),p.segments[i].refs?.length===0&&delete p.segments[i].refs})),h.after(m)}),r||s.append(this.turnTools(e,i,a,o))}}turnTools(e,t,r,s){const i=this.messages,a=document.createElement("div");a.className="turn-tools";const n=(d,l)=>{const c=document.createElement("button");return c.type="button",c.textContent=d,c.addEventListener("click",l),c};if(e.speakers?.[r.speaker]?.role==="witness"&&!r.redacted){const d=n(i.linkMoment,()=>{});a.append(d),new B(d,`moment-menu-${t}`,c=>void this.editTranscript(m=>{const p=m.segments[t].refs??[];p.some(b=>Math.abs(b.at-Number(c))<.05)||p.push({at:Number(c)}),m.segments[t].refs=p}),c=>`moment-${t}-${c}`).setKinds(s.length>0?s.map(c=>({value:String(c.at),label:i.momentLabel.replace("{k}",c.label).replace("{text}",c.note??f.clock(c.at))})):[{value:"",label:i.noMoments,disabledReason:i.noMoments}])}if(r.redacted||a.append(n(i.editTurn,()=>this.editTurn(t))),!r.redacted&&!this.hasAttribute("readonly")){const d=n(i.whoSpeaks,()=>{});a.append(d),new B(d,`speaker-menu-${t}`,c=>void w(async()=>{const{InterviewImport:m}=await import("./interviewImport-BlSMFEw_.js");return{InterviewImport:m}},__vite__mapDeps([5,6,7]),import.meta.url).then(({InterviewImport:m})=>this.editTranscript(p=>{m.attribute(p,t,c)})),c=>`speaker-${t}-${c}`).setKinds(Object.keys(e.speakers??{}).map(c=>({value:c,label:this.speakerLabel(e,c),...c===r.speaker?{disabledReason:this.speakerLabel(e,c)}:{}})))}const o=this.takenOut.has(`${t}:all`)||[...this.takenOut.keys()].some(d=>d.startsWith(`${t}:`));if(r.redacted||r.parts&&o){const d=n(i.restoreAll,()=>void this.restoreAll(t));d.disabled=!o,a.append(d)}else a.append(n(i.redactAll,()=>void this.editTranscript(d=>{this.forget(t),this.takenOut.set(`${t}:all`,g.redactWhole(d.segments[t],this.redactReason))}).then(()=>{const d=this.shadow.querySelector(`#exchanges .turn[data-segment="${t}"] .bar.redacted-label`);d&&this.openBar(d)})));const h=n("",()=>void this.editTranscript(d=>{d.segments.splice(t,1),this.shiftTakenOut(t)}));return h.className="icon-btn",h.innerHTML=x.TRASH,h.title=i.deleteTurn,h.setAttribute("aria-label",i.deleteTurn),a.append(h),a}selectionMade(){const e=this.messages;if(!e||this.hasAttribute("readonly"))return;const t=this.shadow.getSelection?.()??document.getSelection(),r=t&&t.rangeCount>0?t.getRangeAt(0):void 0,s=this.shadow.getElementById("exchanges");if(!r||r.collapsed||!s.contains(r.startContainer)||!s.contains(r.endContainer))return;const i=c=>c instanceof Element?c:c.parentElement,a=i(r.startContainer)?.closest(".said");if(!a&&!i(r.endContainer)?.closest(".said"))return;const n=a&&i(r.endContainer)?.closest(".said")===a&&!i(r.startContainer)?.closest(".bar")&&!i(r.endContainer)?.closest(".bar"),o=r.getBoundingClientRect();if(!n){this.openRedactPop({kind:"selection",index:-1,from:0,to:0},o,e.selectionOnePassage);return}const h=Number(a.closest(".turn").dataset.segment),d=u.offsetIn(a,r.startContainer,r.startOffset),l=u.offsetIn(a,r.endContainer,r.endOffset);this.openRedactPop({kind:"selection",index:h,from:Math.min(d,l),to:Math.max(d,l)},o),u.markPending(r)}static PENDING="rr0-redact-pending";static markPending(e){const t=globalThis.CSS?.highlights,r=globalThis.Highlight;!t||!r||(e?t.set(u.PENDING,new r(e.cloneRange())):t.delete(u.PENDING))}openBar(e){if(this.hasAttribute("readonly"))return;const t=e.closest(".turn");if(!t)return;const r=Number(t.dataset.segment),s=[...t.querySelectorAll(".bar")].indexOf(e),i=this.drawn?.segments[r];if(!i)return;const a=i.redacted?"all":s,n=`${r}:${a}`;this.openRedactPop({kind:"bar",index:r,nth:a,restorable:this.takenOut.has(n)?n:void 0},e.getBoundingClientRect())}openRedactPop(e,t,r){const s=this.shadow.getElementById("redact-pop"),i=this.field("redact-reason");u.markPending(),this.redactTarget=e;const a=this.shadow.getElementById("redact-take"),n=this.shadow.getElementById("redact-restore");a.hidden=e.kind!=="selection",a.disabled=!!r,n.hidden=e.kind!=="bar"||!e.restorable,i.disabled=!!r,i.value=e.kind==="bar"?this.said.read(this.redactionAt(this.drawn,e.index,e.nth)?.reason)??"":this.lastReason??"";const o=this.shadow.getElementById("redact-note");o.textContent=r??"",o.classList.toggle("error",!!r),s.hidden=!1,typeof s.showPopover=="function"&&s.isConnected&&(s.setAttribute("popover","manual"),s.matches(":popover-open")||s.showPopover());const h=s.offsetWidth||320,d=s.offsetHeight||120,l=t.bottom+6+d<=window.innerHeight;s.style.top=`${Math.max(8,l?t.bottom+6:t.top-6-d)}px`,s.style.left=`${Math.max(8,Math.min(t.left,window.innerWidth-h-8))}px`,r||i.focus({preventScroll:!0})}closeRedactPop(){const e=this.shadow.getElementById("redact-pop");this.redactTarget=void 0,u.markPending(),typeof e.hidePopover=="function"&&e.matches?.(":popover-open")&&e.hidePopover(),e.hidden=!0}redactionAt(e,t,r){const s=e?.segments[t];if(s)return r==="all"?s.redacted:g.partsOf(s).flatMap(i=>"redacted"in i?[i.redacted]:[])[r]}async changeReason(){const e=this.redactTarget;if(e?.kind!=="bar")return;const t=this.reasonOf(this.field("redact-reason").value),r=this.redactionAt(this.drawn,e.index,e.nth);!r||JSON.stringify(r.reason)===JSON.stringify(t)||await this.editTranscript(s=>{if(e.nth!=="all"){const a=this.redactionAt(s,e.index,e.nth);a&&(a.reason=t);return}const i=JSON.stringify(s.segments[e.index].redacted?.reason);for(let a=e.index;a<s.segments.length;a++){const n=s.segments[a].redacted;if(!n||a>e.index&&JSON.stringify(n.reason)!==i)break;n.reason=t}})}async redactSelection(){const e=this.messages,t=this.redactTarget;if(t?.kind!=="selection"||t.index<0)return;this.lastReason=this.field("redact-reason").value.trim()||void 0;const r=this.redactReason;let s=!1;if(await this.editTranscript(i=>{const a=g.redact(i.segments[t.index],t.from,t.to,r);a&&(s=!0,this.shiftParts(t.index,a.nth),this.takenOut.set(`${t.index}:${a.nth}`,a.text))}),!s){const i=this.shadow.getElementById("redact-note");i.textContent=e.selectionOnePassage,i.classList.add("error");return}this.closeRedactPop(),(this.shadow.getSelection?.()??document.getSelection())?.removeAllRanges()}static offsetIn(e,t,r){let s=0;const i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode:a=>a.parentElement?.closest(".bar")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT});for(let a=i.nextNode();a;a=i.nextNode()){if(a===t)return s+r;if(t.contains(a)&&t!==a){const o=[...t.childNodes].slice(0,r);return s+o.reduce((h,d)=>h+(d instanceof Element&&d.closest(".bar")?0:(d.textContent??"").length),0)}s+=(a.textContent??"").length}return s}async restore(e){const t=this.takenOut.get(e);if(t===void 0)return;const[r,s]=e.split(":"),i=Number(r);await this.editTranscript(a=>{s==="all"?g.restoreWhole(a.segments[i],t):(g.restorePart(a.segments[i],Number(s),t),this.shiftParts(i,Number(s),-1)),this.takenOut.delete(e)})}async restoreAll(e){if(this.takenOut.has(`${e}:all`)){await this.restore(`${e}:all`);return}const t=[...this.takenOut.keys()].filter(r=>r.startsWith(`${e}:`)).map(r=>Number(r.split(":")[1])).sort((r,s)=>s-r);for(const r of t)await this.restore(`${e}:${r}`)}editTurn(e){const r=this.drawn?.segments[e],s=this.shadow.querySelector(`#exchanges .turn[data-segment="${e}"] .said`);if(!r||!s)return;const i=this.messages,a=document.createElement("div");a.className="turn-edit";const n=document.createElement("textarea");n.value=g.raw(r,c=>this.takenOut.get(`${e}:${c}`));const o=document.createElement("span");o.className="hint",o.textContent=i.turnEditHint;const h=document.createElement("div");h.className="buttons";const d=document.createElement("button");d.type="button",d.className="pill-btn primary",d.textContent=i.saveTurn,d.addEventListener("click",()=>void this.editTranscript(c=>{const m=g.fromRaw(c.segments[e],n.value,this.redactReason);this.forget(e);for(const[p,b]of m)this.takenOut.set(`${e}:${p}`,b)}));const l=document.createElement("button");l.type="button",l.className="pill-btn",l.textContent=i.cancelTurn,l.addEventListener("click",()=>this.drawExchanges(this.drawn)),h.append(d,l),a.append(n,o,h),s.replaceWith(a),n.focus()}forget(e){for(const t of[...this.takenOut.keys()])t.startsWith(`${e}:`)&&this.takenOut.delete(t)}shiftParts(e,t,r=1){const s=[...this.takenOut].filter(([i])=>i.startsWith(`${e}:`)&&i!==`${e}:all`&&Number(i.split(":")[1])>=t+(r<0?1:0));for(const[i]of s)this.takenOut.delete(i);for(const[i,a]of s)this.takenOut.set(`${e}:${Number(i.split(":")[1])+r}`,a)}shiftTakenOut(e){const t=[...this.takenOut];this.takenOut.clear();for(const[r,s]of t){const[i,a]=r.split(":"),n=Number(i);n<e?this.takenOut.set(r,s):n>e&&this.takenOut.set(`${n-1}:${a}`,s)}}markCurrentTurn(e){const t=this.drawn?.segments??[];let r=-1;t.forEach((a,n)=>{a.start!==void 0&&a.start<=e&&(r=n)});for(const a of this.shadow.querySelectorAll("#exchanges .turn.current"))a.classList.remove("current");const s=this.shadow.querySelector(`#exchanges .turn[data-segment="${r}"]`);if(!s)return;s.classList.add("current");const i=s.closest(".rr0-interview-turns");i&&(s.offsetTop<i.scrollTop||s.offsetTop>i.scrollTop+i.clientHeight-s.offsetHeight)&&i.scrollTo({top:s.offsetTop-i.clientHeight/3,behavior:"smooth"})}async revealSegment(e){this.openGroup("exchanges"),await this.showExchanges(),this.shadow.getElementById("exchanges").revealSegment(e)}transcribeOutcome;renderTranscribe(){const e=this.messages;if(!e)return;const t=this.shadow.getElementById("transcribe-source");[...t.options].map(d=>d.value).join()!==T.map(d=>d.id).join()&&t.replaceChildren(...T.map(d=>{const l=new Option(d.name,d.id);return l.title=d.credit,l}));const r=O(T,u.transcriptionSourceId);t.value=r.id;const s=this.shadow.getElementById("transcribe-credit");s.href=r.creditUrl,s.textContent=r.credit,this.shadow.getElementById("transcribe-key-row").hidden=!r.keyUrl,this.shadow.getElementById("transcribe-key-get").href=r.keyUrl??"";const i=this.field("transcribe-key");if(i!==this.shadow.activeElement&&(i.value=A.of(r.id)??""),this.transcribing)return;const a=this.player?.recordingUrl();this.renderTranscribeStart();const n=this.shadow.getElementById("transcribe-note");if(this.transcribeOutcome){v.show(n,this.transcribeOutcome.text,this.transcribeOutcome.kind);return}if(!a){v.show(n,e.transcribeNoRecording);return}const o=r.create(),h=[o.sendsAudio?e.transcribeSends.replace("{name}",r.name):e.transcribeLocal.replace("{mb}",String(Math.round((o.downloadBytes??0)/1e6)))];(this.drawn?.segments?.length??0)>0&&h.push(e.transcribeReplaces),v.show(n,h.join(" "),o.sendsAudio?"warning":"info")}renderTranscribeStart(){if(this.transcribing||!this.messages)return;const e=O(T,u.transcriptionSourceId),t=this.shadow.getElementById("transcribe-start");t.disabled=!!e.keyUrl&&!A.of(e.id),t.title=t.disabled?this.messages.transcribeErrors.noKey:""}showTranscribing(e){this.shadow.getElementById("transcribe-start").disabled=e,this.shadow.getElementById("transcribe-stop").hidden=!e,this.shadow.getElementById("transcribe-source").disabled=e,this.field("transcribe-key").disabled=e,this.shadow.getElementById("transcribe-progress").hidden=!e}showProgress(e){const t=this.messages,r=this.shadow.getElementById("transcribe-note"),s=this.shadow.getElementById("transcribe-progress"),i=a=>String(Math.round(a/1e6));if(e==="reading")s.removeAttribute("value"),v.show(r,t.transcribeReading);else if(e.stage==="loading")e.total?(s.max=e.total,s.value=e.loaded,v.show(r,t.transcribeLoading.replace("{loaded}",i(e.loaded)).replace("{total}",i(e.total)))):(s.removeAttribute("value"),v.show(r,t.transcribeLoadingSoFar.replace("{loaded}",i(e.loaded))));else if(e.stage==="sending"||e.stage==="waiting"){s.removeAttribute("value");const a=O(T,u.transcriptionSourceId).name;v.show(r,(e.stage==="sending"?t.transcribeSending:t.transcribeWaiting).replace("{name}",a))}else s.max=e.total,s.value=e.done,v.show(r,t.transcribeProgress.replace("{done}",f.clock(Math.round(e.done))).replace("{total}",f.clock(Math.round(e.total))))}async transcribe(){const e=this.messages,t=this.current,r=this.player?.recordingUrl();if(!e||!t||this.transcribing||this.hasAttribute("readonly"))return;if(!r){this.player?.showWindow();return}const s=O(T,u.transcriptionSourceId),i=s.create(),a=this.transcribing=new AbortController;this.transcribeOutcome=void 0,this.showTranscribing(!0),this.showProgress("reading");try{const[{TranscriptionAudio:n},{TranscriptionError:o},{InterviewImport:h}]=await Promise.all([w(()=>import("./TranscriptionAudio-C_xvRUv2.js"),[],import.meta.url),w(()=>import("./TranscriptionError-D_TCbYbt.js"),[],import.meta.url),w(()=>import("./interviewImport-BlSMFEw_.js"),__vite__mapDeps([5,6,7]),import.meta.url)]),d=await fetch(r,{signal:a.signal});if(!d.ok)throw new o("failed",`HTTP ${d.status}`);if(Number(d.headers.get("content-length")??0)>n.MAX_BYTES)throw new o("tooLarge");const l=await d.arrayBuffer();if(l.byteLength>n.MAX_BYTES)throw new o("tooLarge");const c=await n.decode(l).catch(()=>{throw new o("failed",e.loadFailed)}),m=this.drawn?.language??this.language,p=await i.transcribe({samples:c,language:m,signal:a.signal,progress:y=>this.showProgress(y)}),b=[t.interviewOf].flat().filter(y=>typeof y=="string"),E=h.transcribed(p,{by:(t.by??[]).flatMap(y=>"people"in y?[y.people]:[]),witnesses:this.options.filter(y=>b.length===0||b.includes(y.id)).map(({id:y,label:D})=>({id:y,label:D}))});if(!E)throw new o("failed",e.exchangesEmpty);if(a.signal.aborted||this.current!==t)throw new DOMException("Aborted","AbortError");const{anonymization:Z,...q}=await this.transcriptJson(t)??{};await this.take({...q,...E,language:m,transcription:{method:"automatic",engine:i.engine,note:`Transcribed in UFO@home by ${i.engine}: whose each voice is was not known, to be attributed, then proofread.`}}),this.transcribeOutcome={text:e.transcribeDone.replace("{engine}",s.name),kind:"info"}}catch(n){const o=n;a.signal.aborted||o?.name==="AbortError"?this.transcribeOutcome={text:e.transcribeStopped,kind:"info"}:o?.name==="TranscriptionError"&&o.code?this.transcribeOutcome={text:e.transcribeErrors[o.code].replace("{detail}",o.detail??""),kind:"error"}:this.transcribeOutcome={text:e.transcribeErrors.failed.replace("{detail}",String(o?.message??n)),kind:"error"}}finally{this.transcribing=void 0,this.showTranscribing(!1),this.renderTranscribe()}}note(e,t="info"){v.show(this.shadow.getElementById("file-note"),e,t)}transcriptUrl(e){return e.url?new URL(e.url,this.base??location.href).href:void 0}static pretty(e){return JSON.stringify(e,null,2)+`
|
|
242
|
-
`}static SHARED=["title","time","medium","by","interviewOf","summary"];static ORDER=["version","id","language","title","time","medium","by","interviewOf","summary","speakers","transcription","proofreading","anonymization","recordings","segments"];static ordered(e){const t={};for(const r of u.ORDER)r in e&&(t[r]=e[r]);for(const r of Object.keys(e))r in t||(t[r]=e[r]);return t}static witnessesOf(e){return[e].flat().filter(t=>typeof t=="string")}static withEventFields(e,t){const r={...e};for(const i of u.SHARED)t[i]===void 0?delete r[i]:r[i]=structuredClone(t[i]);const s=r.speakers;if(typeof s=="object"&&s!==null){const i={...s},a=(n,o,h)=>{h.forEach((d,l)=>{const c=l===0?n:`${n}${l+1}`;i[c]?i[c]={...i[c],[o]:d}:l>0&&(i[c]={role:n,[o]:d})})};a("interviewer","by",t.by??[]),a("witness","of",u.witnessesOf(t.interviewOf)),r.speakers=i}return u.ordered(r)}applyFileToEvent(e,t){const r=this.current;if(!r)return!1;const s=JSON.stringify(u.SHARED.map(n=>r[n])),i=n=>typeof n=="string"||typeof n=="object"&&n!==null&&!Array.isArray(n),a={title:i,summary:i,time:n=>typeof n=="string",medium:n=>typeof n=="string",by:n=>Array.isArray(n),interviewOf:n=>typeof n=="string"||Array.isArray(n)};for(const n of u.SHARED){const o=e[n];o!==void 0&&a[n](o)?r[n]=structuredClone(o):t&&delete r[n]}return JSON.stringify(u.SHARED.map(n=>r[n]))!==s}syncFileFromEvent(){const e=this.current,t=this.fileEditor?.text??this.text;if(!e||t===void 0)return;let r;try{r=JSON.parse(t)}catch{return}if(typeof r!="object"||r===null||Array.isArray(r))return;const s=u.pretty(u.withEventFields(r,e));s!==t&&(this.text=s,this.fileEditor?.replaceText(s,!1),this.dispatchEvent(new CustomEvent(S,{bubbles:!0,composed:!0,detail:{field:"transcript",event:e,text:s}})))}template(e){return u.pretty(u.withEventFields({version:1,language:this.language,speakers:{interviewer:{role:"interviewer"},witness:{role:"witness"}},segments:[]},e))}loadFileEditor(e){return this.fileEditorLoading??=(async()=>{try{const[{SightingFileEditor:t},{default:r},s]=await Promise.all([w(()=>import("./SightingFileEditor-0VZmtiOX.js"),__vite__mapDeps([8,9,10]),import.meta.url),w(()=>import("./interviewSchema-Dk0AWHwc.js"),[],import.meta.url),Y(this.language)]);return this.fileEditor=new t(this.shadow.getElementById("file-editor"),e,i=>this.onEdited(i),this.messages.editorLabel,{baseline:e,phrases:s.fileSearchPhrases,schema:r}),this.fileEditor}catch(t){throw this.fileEditorLoading=void 0,t}})(),this.fileEditorLoading}async showTranscript(){const e=this.current;if(!e||this.shownFor===e)return;this.note(this.messages.loading);let t=this.text;if(t===void 0){const r=this.transcriptUrl(e);if(r!==void 0)try{const s=await C.json(r);this.current===e&&typeof s=="object"&&s!==null&&!Array.isArray(s)?(this.applyFileToEvent(s,!1)&&this.fileChangedEvent(),t=u.pretty(u.withEventFields(s,e))):t=u.pretty(s)}catch{this.note(this.messages.loadFailed,"error")}t??=this.template(e)}if(this.current===e)try{const r=await this.loadFileEditor(t);if(this.current!==e)return;r.replaceText(t,!1),this.shownFor=e,this.text!==void 0||this.transcriptUrl(e)===void 0?this.note(void 0):this.shadow.getElementById("file-note").textContent===this.messages.loading&&this.note(void 0)}catch{this.note(this.messages.loadFailed,"error")}}onEdited(e){this.text=e;let t,r=!0;try{t=JSON.parse(e)}catch{r=!1}this.note(r?void 0:this.messages.invalid,"error");const s=this.current;if(r&&s&&typeof t=="object"&&t!==null&&!Array.isArray(t)&&this.applyFileToEvent(t,!0)&&this.fileChangedEvent(),s&&!s.url&&e.trim()!==""){const i=s.id??"1";s.url=`${i.startsWith("interview")?i:`interview-${i}`}.json`,this.field("url").value=s.url,this.dispatchEvent(new CustomEvent(S,{bubbles:!0,composed:!0,detail:{field:"url",event:s}}))}this.dispatchEvent(new CustomEvent(S,{bubbles:!0,composed:!0,detail:{field:"transcript",event:s,text:e}})),this.exchangesShown=this.showExchanges()}fileChangedEvent(){this.render(),this.dispatchEvent(new CustomEvent(S,{bubbles:!0,composed:!0,detail:{field:"file",event:this.current}}))}async take(e){if(typeof e!="object"||e===null||!Array.isArray(e.segments)){this.note(this.messages.notATranscript,"error");return}const t=this.current;t&&this.applyFileToEvent(e,!1)&&this.fileChangedEvent();const r=u.pretty(t?u.withEventFields(e,t):e);await this.loadFileEditor(r).then(s=>s.replaceText(r,!1),()=>{}),this.shownFor=this.current,this.note(void 0),this.onEdited(r)}async importFromFile(e){try{const t=await e.text();let r;try{r=JSON.parse(t)}catch{r=void 0}if(typeof r!="object"||r===null){const{InterviewImport:s}=await w(async()=>{const{InterviewImport:o}=await import("./interviewImport-BlSMFEw_.js");return{InterviewImport:o}},__vite__mapDeps([5,6,7]),import.meta.url),i=this.current,a=[i?.interviewOf].flat().filter(o=>typeof o=="string"),n=s.parse(t,{by:(i?.by??[]).map(o=>u.byText([o])).filter(o=>o!==""),witnesses:this.options.filter(o=>a.length===0||a.includes(o.id))});r=n&&{...n,transcription:{note:`Imported from ${e.name}: who speaks and when are as the file gave them, to be checked.`}}}r===void 0?this.note(this.messages.notATranscript,"error"):await this.take(r)}catch{this.note(this.messages.loadFailed,"error")}}async importFromUrl(e){try{await this.take(await C.json(new URL(e,this.base??location.href).href))}catch{this.note(this.messages.loadFailed,"error")}}save(){const e=this.fileEditor?.text??this.text;if(e===void 0)return;const t=(this.current?.url??"").split("/").pop()||`${this.current?.id??"interview"}.json`,r=URL.createObjectURL(new Blob([e],{type:"application/json"})),s=document.createElement("a");s.href=r,s.download=t,s.click(),URL.revokeObjectURL(r)}}function ie(){X(),j(),customElements.get(_)||customElements.define(_,u)}export{S as INTERVIEW_CHANGE_EVENT,_ as INTERVIEW_EDITOR_ELEMENT_NAME,oe as INTERVIEW_SEEK_EVENT,u as InterviewEditorElement,ie as register};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
class t{static LABELS={en:{"in-person":"In person",phone:"Phone",video:"Video call",chat:"Chat",email:"Email",letter:"Letter",other:"Other"},fr:{"in-person":"Face à face",phone:"Téléphone",video:"Visioconférence",chat:"Chat",email:"Mail",letter:"Courrier",other:"Autre"},es:{"in-person":"En persona",phone:"Teléfono",video:"Videollamada",chat:"Chat",email:"Correo electrónico",letter:"Carta",other:"Otro"},it:{"in-person":"Di persona",phone:"Telefono",video:"Videochiamata",chat:"Chat",email:"Email",letter:"Lettera",other:"Altro"}};static ALL=["in-person","phone","video","chat","email","letter","other"];static label(e,o){return t.LABELS[o][e]??e}}export{t as InterviewMedia};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={title:"Title",time:"When",by:"Interviewer",medium:"Medium",witness:"Witness",witnessNone:"—",summary:"Description",transcript:"Transcript",transcriptHint:"Address of the anonymised transcript file (optional)",summaryTab:"Summary",fileTab:"File",importFile:"Load a file",importFileHint:"JSON, text, WebVTT, SRT",inputFileFromFile:"from your disk",inputFileFromUrl:"from an address",inputFileModeHint:"Click to give it the other way: a file of yours, or an address",inputFileLoad:"Load",saveButton:"Save",loading:"Loading the transcript…",invalid:"This text is not valid JSON yet: the interview keeps the last transcript it understood.",notATranscript:"That file is not an interview transcript (it has no segments).",loadFailed:"That transcript could not be read.",editorLabel:"Interview transcript as JSON",byHint:"RR0 people ids, separated by commas",exchangesTab:"Exchanges",exchangesEmpty:"Nothing was said yet.",redacted:"Passage removed",colon:": ",proofreadAll:"Proofread by everyone.",proofreadPending:"Not proofread yet by: {names}",play:"Play",pause:"Pause",recordings:"Recordings ({n})",recordingsTitle:"Recordings",recordingKind:"Type",recordingAudio:"Audio",recordingVideo:"Video",recordingFile:"File",recordingOffset:"Offset",recordingRemove:"Remove",recordingAdd:"Add a recording",close:"Close",noRecording:"No recording: add the audio or video file of the interview to listen to it.",redactSelection:"Take out the selection",redactedWords:"passage taken out · {n} word(s)",redactAll:"Take all out",redactRestore:"Restore",restoreAll:"Restore all",editTurn:"Edit",deleteTurn:"Delete this turn",saveTurn:"Save",cancelTurn:"Cancel",turnEditHint:"⟦ … ⟧ marks a passage taken out",selectionOnePassage:"The selection has to stay within one passage not taken out.",reviewedBy:"{name} has proofread",linkMoment:"Link to a moment…",momentLabel:"Moment {k} · {text}",unlinkMoment:"Remove this link",noMoments:"The observation has no named moment yet.",redactReasonLabel:"Reason",redactReasonHint:"Said of every passage taken out next: the reader of the published interview sees it in the passage's place",redactReasons:["private life","identifying detail","off topic","recognition error"],redactReason:"taken out at proofreading",roles:{interviewer:"Interviewer",interviewee:"Interviewee",witness:"Witness",unattributed:"Voice to attribute"},transcribe:"Transcribe the recording",transcribeWith:"with",transcribeHint:"Turns the interview's recording into turns of speech, with their times. Whose each voice is stays to say, turn by turn (Who speaks), then to have proofread.",transcribeLocal:"Nothing leaves your computer. The first time, the model (about {mb} MB) is downloaded, then kept by the browser.",transcribeSends:"The recording will be sent to {name} to be transcribed.",transcribeReplaces:"The current transcript will be replaced.",transcribeNoRecording:"There is no recording of the interview yet: the button opens the window where you add it.",transcribeKey:"Key",transcribeKeyGet:"get a key",transcribeKeyHint:"Kept in memory until the page is reloaded, never stored",transcribeReading:"Reading the recording…",transcribeLoading:"Downloading the model: {loaded} of {total} MB",transcribeLoadingSoFar:"Downloading the model: {loaded} MB",transcribeSending:"Sending the recording to {name}…",transcribeWaiting:"{name} is transcribing the recording…",transcribeProgress:"Transcribing: {done} of {total}",transcribeStop:"Stop",transcribeDone:"Transcribed by {engine}. Say whose each voice is (Who speaks), then have it proofread.",transcribeStopped:"Transcription stopped: nothing was changed.",transcribeErrors:{noKey:"Type your key for this service first.",key:"The service refused the key.",rateLimited:"The service asks to wait (its quota is reached): try again later.",tooLarge:"The recording is too large to be read in the page: give its audio alone.",unsupported:"This browser cannot run the transcription.",failed:"The transcription failed: {detail}"},voiceNamed:"Voice {name}",whoSpeaks:"Who speaks…"};export{e as interviewMessages_en};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={title:"Título",time:"Fecha",by:"Entrevistador",medium:"Medio",witness:"Testigo",witnessNone:"—",summary:"Descripción",transcript:"Transcripción",transcriptHint:"Dirección del archivo de transcripción anonimizada (opcional)",summaryTab:"Resumen",fileTab:"Archivo",importFile:"Cargar un archivo",importFileHint:"JSON, texto, WebVTT, SRT",inputFileFromFile:"desde su disco",inputFileFromUrl:"desde una dirección",inputFileModeHint:"Pulsar para darlo de la otra forma: un archivo suyo o una dirección",inputFileLoad:"Cargar",saveButton:"Guardar",loading:"Cargando la transcripción…",invalid:"Este texto aún no es JSON válido: la entrevista conserva la última transcripción que entendió.",notATranscript:"Ese archivo no es una transcripción de entrevista (no tiene turnos de palabra).",loadFailed:"No se pudo leer esa transcripción.",editorLabel:"Transcripción de la entrevista en JSON",byHint:"Identificadores de personas de RR0, separados por comas",exchangesTab:"Intercambios",exchangesEmpty:"Todavía no se ha dicho nada.",redacted:"Pasaje eliminado",colon:": ",proofreadAll:"Revisado por todos.",proofreadPending:"Aún no revisado por: {names}",play:"Reproducir",pause:"Pausa",recordings:"Grabaciones ({n})",recordingsTitle:"Grabaciones",recordingKind:"Tipo",recordingAudio:"Audio",recordingVideo:"Vídeo",recordingFile:"Archivo",recordingOffset:"Desfase",recordingRemove:"Quitar",recordingAdd:"Añadir una grabación",close:"Cerrar",noRecording:"Sin grabación: añada el archivo de audio o vídeo de la entrevista para poder escucharla.",redactSelection:"Retirar la selección",redactedWords:"pasaje retirado · {n} palabra(s)",redactAll:"Retirar todo",redactRestore:"Restablecer",restoreAll:"Restablecer todo",editTurn:"Modificar",deleteTurn:"Eliminar este turno de palabra",saveTurn:"Guardar",cancelTurn:"Cancelar",turnEditHint:"⟦ … ⟧ marca un pasaje retirado",selectionOnePassage:"La selección debe caber en un solo pasaje no retirado.",reviewedBy:"{name} ha revisado",linkMoment:"Vincular a un momento…",momentLabel:"Momento {k} · {text}",unlinkMoment:"Quitar este vínculo",noMoments:"La observación aún no tiene momentos con nombre.",redactReasonLabel:"Motivo",redactReasonHint:"Se dice de cada pasaje retirado a continuación: el lector de la entrevista publicada lo ve en lugar del pasaje",redactReasons:["vida privada","dato que identifica","fuera de tema","error de reconocimiento"],redactReason:"retirado en la revisión",roles:{interviewer:"Entrevistador",interviewee:"Entrevistado",witness:"Testigo",unattributed:"Voz por atribuir"},transcribe:"Transcribir la grabación",transcribeWith:"con",transcribeHint:"Convierte la grabación de la entrevista en turnos de palabra, con sus tiempos. De quién es cada voz queda por decir, turno por turno (Quién habla), y luego por hacer revisar.",transcribeLocal:"Nada sale de su ordenador. La primera vez, el modelo (unos {mb} MB) se descarga y el navegador lo conserva.",transcribeSends:"La grabación se enviará a {name} para ser transcrita.",transcribeReplaces:"La transcripción actual será reemplazada.",transcribeNoRecording:"La entrevista aún no tiene grabación: el botón abre la ventana donde añadirla.",transcribeKey:"Clave",transcribeKeyGet:"obtener una clave",transcribeKeyHint:"Se guarda en memoria hasta que se recarga la página, nunca se almacena",transcribeReading:"Leyendo la grabación…",transcribeLoading:"Descargando el modelo: {loaded} de {total} MB",transcribeLoadingSoFar:"Descargando el modelo: {loaded} MB",transcribeSending:"Enviando la grabación a {name}…",transcribeWaiting:"{name} transcribe la grabación…",transcribeProgress:"Transcribiendo: {done} de {total}",transcribeStop:"Detener",transcribeDone:"Transcrito por {engine}. Indique de quién es cada voz (Quién habla) y luego hágalo revisar.",transcribeStopped:"Transcripción detenida: no se ha cambiado nada.",transcribeErrors:{noKey:"Escriba primero su clave para este servicio.",key:"El servicio rechazó la clave.",rateLimited:"El servicio pide esperar (cuota alcanzada): inténtelo más tarde.",tooLarge:"La grabación es demasiado grande para leerse en la página: proporcione solo su audio.",unsupported:"Este navegador no puede ejecutar la transcripción.",failed:"La transcripción ha fallado: {detail}"},voiceNamed:"Voz {name}",whoSpeaks:"Quién habla…"};export{e as interviewMessages_es};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={title:"Titre",time:"Date",by:"Enquêteur",medium:"Moyen",witness:"Témoin",witnessNone:"—",summary:"Description",transcript:"Transcription",transcriptHint:"Adresse du fichier de transcription anonymisée (facultative)",summaryTab:"Résumé",fileTab:"Fichier",importFile:"Charger un fichier",importFileHint:"JSON, texte, WebVTT, SRT",inputFileFromFile:"depuis votre disque",inputFileFromUrl:"depuis une adresse",inputFileModeHint:"Cliquer pour le donner autrement : un fichier à vous, ou une adresse",inputFileLoad:"Charger",saveButton:"Sauver",loading:"Chargement de la transcription…",invalid:"Ce texte n'est pas encore du JSON valide : l'interview garde la dernière transcription qu'elle a comprise.",notATranscript:"Ce fichier n'est pas une transcription d'interview (il n'a pas de tours de parole).",loadFailed:"Cette transcription n'a pas pu être lue.",editorLabel:"Transcription de l'interview en JSON",byHint:"Identifiants de personnes RR0, séparés par des virgules",exchangesTab:"Échanges",exchangesEmpty:"Rien n'a encore été dit.",redacted:"Passage retiré",colon:" : ",proofreadAll:"Relu par tous les participants.",proofreadPending:"Pas encore relu par : {names}",play:"Lecture",pause:"Pause",recordings:"Enregistrements ({n})",recordingsTitle:"Enregistrements",recordingKind:"Type",recordingAudio:"Audio",recordingVideo:"Vidéo",recordingFile:"Fichier",recordingOffset:"Décalage",recordingRemove:"Retirer",recordingAdd:"Ajouter un enregistrement",close:"Fermer",noRecording:"Aucun enregistrement : ajoutez le fichier audio ou vidéo de l'entretien pour pouvoir l'écouter.",redactSelection:"Retirer la sélection",redactedWords:"passage retiré · {n} mot(s)",redactAll:"Retirer tout",redactRestore:"Rétablir",restoreAll:"Rétablir tout",editTurn:"Modifier",deleteTurn:"Supprimer ce tour de parole",saveTurn:"Enregistrer",cancelTurn:"Annuler",turnEditHint:"⟦ … ⟧ marque un passage retiré",selectionOnePassage:"La sélection doit tenir dans un seul passage non retiré.",reviewedBy:"{name} a relu",linkMoment:"Relier à un moment…",momentLabel:"Moment {k} · {text}",unlinkMoment:"Retirer ce lien",noMoments:"L'observation n'a pas encore de moment nommé.",redactReasonLabel:"Raison",redactReasonHint:"Dite de chaque passage retiré ensuite : le lecteur de l'interview publiée la voit à la place du passage",redactReasons:["vie privée","détail qui identifie","hors sujet","erreur de reconnaissance"],redactReason:"retiré à la relecture",roles:{interviewer:"Intervieweur",interviewee:"Interviewé",witness:"Témoin",unattributed:"Voix à attribuer"},transcribe:"Transcrire l'enregistrement",transcribeWith:"avec",transcribeHint:"Fait de l'enregistrement de l'entretien des tours de parole, avec leurs instants. À qui est chaque voix reste à dire, tour par tour (Qui parle), puis à faire relire.",transcribeLocal:"Rien ne quitte votre ordinateur. La première fois, le modèle (environ {mb} Mo) est téléchargé, puis gardé par le navigateur.",transcribeSends:"L'enregistrement sera envoyé à {name} pour être transcrit.",transcribeReplaces:"La transcription actuelle sera remplacée.",transcribeNoRecording:"L'interview n'a pas encore d'enregistrement : le bouton ouvre la fenêtre où l'ajouter.",transcribeKey:"Clé",transcribeKeyGet:"obtenir une clé",transcribeKeyHint:"Gardée en mémoire jusqu'au rechargement de la page, jamais enregistrée",transcribeReading:"Lecture de l'enregistrement…",transcribeLoading:"Téléchargement du modèle : {loaded} sur {total} Mo",transcribeLoadingSoFar:"Téléchargement du modèle : {loaded} Mo",transcribeSending:"Envoi de l'enregistrement à {name}…",transcribeWaiting:"{name} transcrit l'enregistrement…",transcribeProgress:"Transcription : {done} sur {total}",transcribeStop:"Arrêter",transcribeDone:"Transcrit par {engine}. Dites à qui est chaque voix (Qui parle), puis faites relire.",transcribeStopped:"Transcription arrêtée : rien n'a été changé.",transcribeErrors:{noKey:"Saisissez d'abord votre clé pour ce service.",key:"Le service a refusé la clé.",rateLimited:"Le service demande d'attendre (quota atteint) : réessayez plus tard.",tooLarge:"L'enregistrement est trop gros pour être lu dans la page : donnez-en l'audio seul.",unsupported:"Ce navigateur ne peut pas faire tourner la transcription.",failed:"La transcription a échoué : {detail}"},voiceNamed:"Voix {name}",whoSpeaks:"Qui parle…"};export{e as interviewMessages_fr};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const i={title:"Titolo",time:"Data",by:"Intervistatore",medium:"Mezzo",witness:"Testimone",witnessNone:"—",summary:"Descrizione",transcript:"Trascrizione",transcriptHint:"Indirizzo del file di trascrizione anonimizzata (facoltativo)",summaryTab:"Riepilogo",fileTab:"File",importFile:"Carica un file",importFileHint:"JSON, testo, WebVTT, SRT",inputFileFromFile:"dal proprio disco",inputFileFromUrl:"da un indirizzo",inputFileModeHint:"Fare clic per darlo nell'altro modo: un proprio file o un indirizzo",inputFileLoad:"Carica",saveButton:"Salva",loading:"Caricamento della trascrizione…",invalid:"Questo testo non è ancora JSON valido: l'intervista conserva l'ultima trascrizione che ha capito.",notATranscript:"Quel file non è una trascrizione di intervista (non ha turni di parola).",loadFailed:"Impossibile leggere quella trascrizione.",editorLabel:"Trascrizione dell'intervista in JSON",byHint:"Identificatori di persone RR0, separati da virgole",exchangesTab:"Scambi",exchangesEmpty:"Non è stato ancora detto nulla.",redacted:"Passaggio rimosso",colon:": ",proofreadAll:"Rivisto da tutti.",proofreadPending:"Non ancora rivisto da: {names}",play:"Riproduci",pause:"Pausa",recordings:"Registrazioni ({n})",recordingsTitle:"Registrazioni",recordingKind:"Tipo",recordingAudio:"Audio",recordingVideo:"Video",recordingFile:"File",recordingOffset:"Scarto",recordingRemove:"Rimuovi",recordingAdd:"Aggiungi una registrazione",close:"Chiudi",noRecording:"Nessuna registrazione: aggiungi il file audio o video dell'intervista per poterla ascoltare.",redactSelection:"Rimuovi la selezione",redactedWords:"passaggio rimosso · {n} parola/e",redactAll:"Rimuovi tutto",redactRestore:"Ripristina",restoreAll:"Ripristina tutto",editTurn:"Modifica",deleteTurn:"Elimina questo turno",saveTurn:"Salva",cancelTurn:"Annulla",turnEditHint:"⟦ … ⟧ indica un passaggio rimosso",selectionOnePassage:"La selezione deve restare in un solo passaggio non rimosso.",reviewedBy:"{name} ha riletto",linkMoment:"Collega a un momento…",momentLabel:"Momento {k} · {text}",unlinkMoment:"Rimuovi questo collegamento",noMoments:"L'osservazione non ha ancora momenti con nome.",redactReasonLabel:"Motivo",redactReasonHint:"Detto di ogni passaggio rimosso in seguito: il lettore dell'intervista pubblicata lo vede al posto del passaggio",redactReasons:["vita privata","dettaglio che identifica","fuori tema","errore di riconoscimento"],redactReason:"rimosso in rilettura",roles:{interviewer:"Intervistatore",interviewee:"Intervistato",witness:"Testimone",unattributed:"Voce da attribuire"},transcribe:"Trascrivi la registrazione",transcribeWith:"con",transcribeHint:"Trasforma la registrazione dell'intervista in turni di parola, con i loro tempi. Di chi sia ogni voce resta da dire, turno per turno (Chi parla), e poi da far rileggere.",transcribeLocal:"Nulla lascia il tuo computer. La prima volta il modello (circa {mb} MB) viene scaricato e poi conservato dal browser.",transcribeSends:"La registrazione sarà inviata a {name} per essere trascritta.",transcribeReplaces:"La trascrizione attuale sarà sostituita.",transcribeNoRecording:"L'intervista non ha ancora una registrazione: il pulsante apre la finestra dove aggiungerla.",transcribeKey:"Chiave",transcribeKeyGet:"ottieni una chiave",transcribeKeyHint:"Tenuta in memoria fino al ricaricamento della pagina, mai salvata",transcribeReading:"Lettura della registrazione…",transcribeLoading:"Download del modello: {loaded} di {total} MB",transcribeLoadingSoFar:"Download del modello: {loaded} MB",transcribeSending:"Invio della registrazione a {name}…",transcribeWaiting:"{name} trascrive la registrazione…",transcribeProgress:"Trascrizione: {done} di {total}",transcribeStop:"Interrompi",transcribeDone:"Trascritto da {engine}. Indica di chi è ogni voce (Chi parla), poi fai rileggere.",transcribeStopped:"Trascrizione interrotta: non è stato cambiato nulla.",transcribeErrors:{noKey:"Inserisci prima la tua chiave per questo servizio.",key:"Il servizio ha rifiutato la chiave.",rateLimited:"Il servizio chiede di attendere (quota raggiunta): riprova più tardi.",tooLarge:"La registrazione è troppo grande per essere letta nella pagina: fornisci solo il suo audio.",unsupported:"Questo browser non può eseguire la trascrizione.",failed:"La trascrizione non è riuscita: {detail}"},voiceNamed:"Voce {name}",whoSpeaks:"Chi parla…"};export{i as interviewMessages_it};
|