@rr0/ufoathome 0.204.1 → 0.204.2
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-scene/rr0-scene.mjs +4 -4
- package/dist-embed-sighting/{CaseReportExport-Dk3rKiVm.js → CaseReportExport-DQ4bO4eb.js} +1 -1
- package/dist-embed-sighting/SightingMessages_en-Bih7ljAQ.js +1 -0
- package/dist-embed-sighting/SightingMessages_es-CHrrXx-N.js +1 -0
- package/dist-embed-sighting/SightingMessages_fr-B2NUAkiz.js +1 -0
- package/dist-embed-sighting/SightingMessages_it-OGLqMUWg.js +1 -0
- package/dist-embed-sighting/rr0-sighting.mjs +85 -81
- package/dist-embed-sighting-editor/{CaseElement-4CRoH54h.js → CaseElement-zFqMRzIe.js} +2 -2
- package/dist-embed-sighting-editor/{CaseReportExport-W1lO4CR3.js → CaseReportExport-C7dPT0eH.js} +1 -1
- package/{dist-embed-ufoathome/SightingEditorMessages_en-V_dJYjNb.js → dist-embed-sighting-editor/SightingEditorMessages_en-CS2iXwDm.js} +1 -1
- package/{dist-embed-ufoathome/SightingEditorMessages_es-DauDuhPa.js → dist-embed-sighting-editor/SightingEditorMessages_es-C8Vw_4b_.js} +1 -1
- package/dist-embed-sighting-editor/{SightingEditorMessages_fr-zxTvQa2I.js → SightingEditorMessages_fr-AYgrnKFD.js} +1 -1
- package/dist-embed-sighting-editor/{SightingEditorMessages_it-vvaao68O.js → SightingEditorMessages_it-DZyzwScx.js} +1 -1
- package/dist-embed-sighting-editor/{SightingElement-4YMo_us5.js → SightingElement-Bf654S_I.js} +5 -5
- package/dist-embed-sighting-editor/{SightingLabels_en-dOsFjVRL.js → SightingLabels_en-trAaLk8Q.js} +1 -1
- package/{dist-embed-ufoathome/SightingLabels_es-CKlP2BDO.js → dist-embed-sighting-editor/SightingLabels_es-Geji-Hhz.js} +1 -1
- package/dist-embed-sighting-editor/{SightingLabels_fr-Cpkcf5_9.js → SightingLabels_fr-BVnntoiD.js} +1 -1
- package/{dist-embed-ufoathome/SightingLabels_it-3127rMXm.js → dist-embed-sighting-editor/SightingLabels_it-B9FWbLXW.js} +1 -1
- package/dist-embed-sighting-editor/{SightingMessages_en-Drcr3k4V.js → SightingMessages_en-D90vDTQ7.js} +1 -1
- package/dist-embed-sighting-editor/{SightingMessages_es-BcaWM7Oy.js → SightingMessages_es-D8laK6OY.js} +1 -1
- package/dist-embed-sighting-editor/{SightingMessages_fr-7IYuW095.js → SightingMessages_fr-Gq3IMFTE.js} +1 -1
- package/dist-embed-sighting-editor/{SightingMessages_it-BhDmZn6p.js → SightingMessages_it-BXDxv-lE.js} +1 -1
- package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +16 -12
- package/dist-embed-ufoathome/{AdsbLolArchiveProvider-BJm3HMv9.js → AdsbLolArchiveProvider-JK7ddZzC.js} +1 -1
- package/dist-embed-ufoathome/{Aurora-DooZfol8.js → Aurora-UBzKnuxt.js} +1 -1
- package/dist-embed-ufoathome/{AuroraEditor-COl6Uq7r.js → AuroraEditor-B0Q9h5C6.js} +1 -1
- package/dist-embed-ufoathome/{AuroraSimulation-8865pkCY.js → AuroraSimulation-Cj8dyvm4.js} +1 -1
- package/dist-embed-ufoathome/{BallesterGuaspAssessor-CKK5Iybb.js → BallesterGuaspAssessor-DZ5guaNx.js} +1 -1
- package/dist-embed-ufoathome/{BeamEditor-D6I1zG9Z.js → BeamEditor-Dgo8WSF9.js} +1 -1
- package/dist-embed-ufoathome/{BeamSystem-BI4-w_0X.js → BeamSystem-BbSsBbZk.js} +1 -1
- package/dist-embed-ufoathome/{BodyEditor-yBNJy9AC.js → BodyEditor-Cav_-OeQ.js} +1 -1
- package/dist-embed-ufoathome/{CaseEditorElement-CPt1laCe.js → CaseEditorElement-CK82yjEn.js} +6 -6
- package/dist-embed-ufoathome/{CaseElement-CTZ3YIL0.js → CaseElement-Bm6xPD0e.js} +3 -3
- package/dist-embed-ufoathome/{CaseReportExport-UNmAQ_xa.js → CaseReportExport-D_I2ml6F.js} +3 -3
- package/dist-embed-ufoathome/{ColumnResize-D6vA9JBg.js → ColumnResize-DksRZriL.js} +4 -4
- package/dist-embed-ufoathome/{ControlPasses-Bwafi16d.js → ControlPasses-BpLNDq5G.js} +1 -1
- package/dist-embed-ufoathome/{CoverageAssessor-DINhJJFz.js → CoverageAssessor-UyH_dVvr.js} +1 -1
- package/dist-embed-ufoathome/{Flightradar24Provider-BEVn6h-k.js → Flightradar24Provider-XASYwL-N.js} +1 -1
- package/dist-embed-ufoathome/{GLTFLoader-CqzCNjEl.js → GLTFLoader-s3EU9qS0.js} +1 -1
- package/dist-embed-ufoathome/{GeoJsonExport-B4GBH7Ei.js → GeoJsonExport-BCtJzQ9B.js} +1 -1
- package/dist-embed-ufoathome/{GeographicFigures-wtF2TmIn.js → GeographicFigures-DINsiWL0.js} +1 -1
- package/dist-embed-ufoathome/{HynekAssessor-De0RmEd0.js → HynekAssessor-D5zxfJ44.js} +1 -1
- package/dist-embed-ufoathome/{InterviewEditorElement-BVfNqEBS.js → InterviewEditorElement-CQNMEirl.js} +1 -1
- package/dist-embed-ufoathome/{InterviewElement-BBEmBs1S.js → InterviewElement-BouR8Xii.js} +1 -1
- package/dist-embed-ufoathome/{KmlExport-C8yk8C7s.js → KmlExport-C8zEY6ew.js} +1 -1
- package/dist-embed-ufoathome/{LaserBeam-BGs1pXaE.js → LaserBeam-CDTsYUwS.js} +1 -1
- package/dist-embed-ufoathome/{LaunchEditor-CBEW_ih2.js → LaunchEditor-C91_y6bJ.js} +1 -1
- package/dist-embed-ufoathome/{LaunchPlume-BbsUUQE0.js → LaunchPlume-Je5cyuGE.js} +1 -1
- package/dist-embed-ufoathome/{LaunchSimulation-DJJaKJGV.js → LaunchSimulation-BsCQGsdb.js} +1 -1
- package/dist-embed-ufoathome/{ModelSource-B2Ie3T9B.js → ModelSource-7jnvikmB.js} +1 -1
- package/dist-embed-ufoathome/{ModelThumbnails-BOfC5SZt.js → ModelThumbnails-DhEg69n0.js} +1 -1
- package/dist-embed-ufoathome/{ModelViewer-CXP4K0sx.js → ModelViewer-BQJyyY66.js} +1 -1
- package/dist-embed-ufoathome/{ModulesPanelElement-DPkBhz-Y.js → ModulesPanelElement-Ct9DMG0-.js} +1 -1
- package/dist-embed-ufoathome/{NearestApproach-D2cz2_44.js → NearestApproach-BFKGUqFb.js} +1 -1
- package/dist-embed-ufoathome/{PoherAssessor-CNOuLGVz.js → PoherAssessor-Cmw5u2Nv.js} +1 -1
- package/dist-embed-ufoathome/{PoherSelfCheck-DnXcStjH.js → PoherSelfCheck-BjmenygA.js} +1 -1
- package/dist-embed-ufoathome/{ReentryEditor-BCQM22Ps.js → ReentryEditor-x_C9chQN.js} +1 -1
- package/dist-embed-ufoathome/{ReentrySimulation-BFhCb4sM.js → ReentrySimulation-D0XIfeyt.js} +1 -1
- package/dist-embed-ufoathome/{ReferenceSystem-aZKW97nH.js → ReferenceSystem-Cv556rkv.js} +1 -1
- package/dist-embed-ufoathome/{ScenarioReadings-_IkJEoIB.js → ScenarioReadings-YJ8iIjyw.js} +1 -1
- package/dist-embed-ufoathome/{ScenarioSweep-DOvp2pYT.js → ScenarioSweep-DTqJSF5a.js} +1 -1
- package/dist-embed-ufoathome/{SearchlightEditor-C8Jwy1VZ.js → SearchlightEditor-Dy-gMDUN.js} +1 -1
- package/dist-embed-ufoathome/{SearchlightSystem-D2TFaVqO.js → SearchlightSystem-C-qAMIFS.js} +1 -1
- package/dist-embed-ufoathome/{ShareDialogElement-Dsc4v4jd.js → ShareDialogElement-DMDY7Hlo.js} +16 -12
- package/{dist-embed-sighting-editor/SightingEditorMessages_en-V_dJYjNb.js → dist-embed-ufoathome/SightingEditorMessages_en-CS2iXwDm.js} +1 -1
- package/{dist-embed-sighting-editor/SightingEditorMessages_es-DauDuhPa.js → dist-embed-ufoathome/SightingEditorMessages_es-C8Vw_4b_.js} +1 -1
- package/dist-embed-ufoathome/{SightingEditorMessages_fr-zxTvQa2I.js → SightingEditorMessages_fr-AYgrnKFD.js} +1 -1
- package/dist-embed-ufoathome/{SightingEditorMessages_it-vvaao68O.js → SightingEditorMessages_it-DZyzwScx.js} +1 -1
- package/dist-embed-ufoathome/{SightingElement-CFItfa0b.js → SightingElement-DZlh5u4N.js} +5 -5
- package/dist-embed-ufoathome/{SightingLabels_en-dOsFjVRL.js → SightingLabels_en-trAaLk8Q.js} +1 -1
- package/{dist-embed-sighting-editor/SightingLabels_es-CKlP2BDO.js → dist-embed-ufoathome/SightingLabels_es-Geji-Hhz.js} +1 -1
- package/dist-embed-ufoathome/{SightingLabels_fr-Cpkcf5_9.js → SightingLabels_fr-BVnntoiD.js} +1 -1
- package/{dist-embed-sighting-editor/SightingLabels_it-3127rMXm.js → dist-embed-ufoathome/SightingLabels_it-B9FWbLXW.js} +1 -1
- package/dist-embed-ufoathome/{SightingMessages_en-Drcr3k4V.js → SightingMessages_en-D90vDTQ7.js} +1 -1
- package/dist-embed-ufoathome/{SightingMessages_es-BcaWM7Oy.js → SightingMessages_es-D8laK6OY.js} +1 -1
- package/dist-embed-ufoathome/{SightingMessages_fr-7IYuW095.js → SightingMessages_fr-Gq3IMFTE.js} +1 -1
- package/dist-embed-ufoathome/{SightingMessages_it-BhDmZn6p.js → SightingMessages_it-BXDxv-lE.js} +1 -1
- package/dist-embed-ufoathome/{TraceSystem-_cZ6PZho.js → TraceSystem-DYmjmB9_.js} +1 -1
- package/dist-embed-ufoathome/{VideoButton-CeAdEi2m.js → VideoButton-CvAmQpx0.js} +1 -1
- package/dist-embed-ufoathome/rr0-ufoathome.mjs +3 -3
- package/dist-embed-ufoathome/{surroundingsSources-B7gbT2Pb.js → surroundingsSources-DtoCfflQ.js} +1 -1
- package/dist-embed-ufoathome/{trafficRuntime-BKNJgPC4.js → trafficRuntime-CyYep5Cc.js} +1 -1
- package/package.json +1 -1
- package/dist-embed-sighting/SightingMessages_en-DKFVZnDu.js +0 -1
- package/dist-embed-sighting/SightingMessages_es-DYQlWvm0.js +0 -1
- package/dist-embed-sighting/SightingMessages_fr-BygVDDY9.js +0 -1
- package/dist-embed-sighting/SightingMessages_it-BI7GnXPz.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={color:"Colore",transparency:"Trasparenza",halo:"Alone",blur:"Sfocatura",brightness:"Brillantezza",shapeTitle:"Nome",utcOffset:"Fuso orario",cloudBase:"Base delle nuvole",elevation:"Altitudine",heightAboveGround:"Altezza dal suolo",duration:"Durata",placeName:"Luogo",latitude:"Latitudine",longitude:"Longitudine",heading:"Orientamento",pitch:"Inclinazione",speed:"Velocità",roll:"Rollio",sway:"Oscillazione a riposo",swayTitle:"Quanto il corpo che regge lo strumento muove la vista quando non cammina: 1 per una persona in piedi, 0 per un treppiede. Vuoto: 1 (0 se il resoconto dice che il testimone era paralizzato)",referenceGhosts:"Riflessi nella foto",referenceFindGhosts:"Cerca i riflessi",referenceGhostsSearching:"Ricerca…",referenceGhostsFound:"{count} riflessi trovati, ciascuno dalla parte opposta della sua luce rispetto all'asse dell'obiettivo.",referenceGhostsFoundScaled:"{count} riflessi trovati, ciascuno a {scale} volte la distanza della sua luce dall'asse dell'obiettivo.",referenceGhostsLow:"Forse {count} riflesso/i: troppo pochi per esserne sicuri.",referenceGhostsNone:"Nessun riflesso trovato: nessuna macchia debole sta dalla parte opposta di una luce rispetto a uno stesso punto.",referenceGhostsCropped:"L'asse dell'obiettivo è spostato dal centro dell'immagine: la foto è stata ritagliata.",referenceGhostsHide:"Nascondi i riflessi",referenceGhostsShow:"Mostra i riflessi",iso:"Sensibilità",isoTitle:"La sensibilità della pellicola, o il guadagno del sensore. Vuota, un apparecchio che regola da sé l'esposizione la sceglie; indicata, è regolata a mano, come nella modalità manuale di un telefono.",metering:"Misurazione della luce",meteringDevice:"quella dell'apparecchio",meteringAverage:"tutta l'immagine (telefoni vecchi, videocamere)",meteringHighlights:"protegge le alte luci (telefoni recenti)",meteringTitle:"Come legge la luce un apparecchio che regola da sé l'esposizione: con la media di tutta l'immagine, che brucia in bianco una luce viva in un'immagine scura, o trattenendosi perché una luce che occupa una parte notevole dell'immagine mantenga il suo colore.",lensGlass:"Attraverso",lensGlassNone:"il solo obiettivo",lensGlassFilter:"un filtro sull'obiettivo",lensGlassWindow:"una finestra",lensGlassWindscreen:"un parabrezza",lensDrops:"Gocce sul vetro",lensDropsTitle:"Da 0 a 1: quanta parte del vetro esterno coprono le gocce d'acqua. Vuoto: secondo la pioggia o la neve che cade, salvo se il vetro è al riparo",lensCondensation:"Condensa",lensCondensationTitle:"Da 0 a 1: condensa sul vetro, come su un obiettivo passato dal caldo al freddo. Vuoto: nessuna",lensDirt:"Sporco",lensDirtTitle:"Da 0 a 1: sporco, unto o impronte sul vetro. Vuoto: nessuno",lensSheltered:"Al riparo dalla pioggia",lensShelteredTitle:"Il vetro esterno era fuori dalla pioggia o dalla neve: sotto un tetto, o dietro un parabrezza con i tergicristalli in funzione",lightPollution:"Cielo notturno",lightPollutionTitle:"Lo zenit di una notte senza Luna in questo luogo, in magnitudini per secondo d'arco quadrato, come lo legge uno Sky Quality Meter o lo dà l'atlante mondiale della brillanza artificiale del cielo (Falchi et al. 2016, lightpollutionmap.info, «SQM»). 22 è un cielo naturale; una periferia è intorno a 19, un centro città a 17. Vuoto: un cielo naturale",observationTime:"Inizio dell'osservazione",observationEndTime:"Fine dell'osservazione",assessmentGroup:"Valutazione",assessmentNames:{coverage:"Dati del testimone"},assessmentVerdicts:{"hynek.nl":"NL — luce notturna","hynek.dd":"DD — disco diurno","hynek.rv":"RV — radar-visivo","hynek.ce1":"IR1 — incontro ravvicinato","hynek.ce2":"IR2 — con traccia fisica","hynek.ce3":"IR3 — con entità","ballester-guasp.pending":"da valutare","poher.0":"0/5 · per nulla strano, o non classificabile","poher.1":"1/5 · punto in linea retta","poher.2":"2/5 · traiettoria anomala","poher.3":"3/5 · strano: erratico, posato o scomparso","poher.4":"4/5 · atterraggio con tracce","poher.5":"5/5 · atterraggio con occupanti"},hypothesisGroup:"Ipotesi",hypotheses:{poher:{"poher-1977":"Matrice di Poher (1977)","rr0-2026":"Matrice di Poher estesa"},hvs:"HVS",tied:"{name} (+{n} a pari merito)",allExcluded:"tutte escluse",noDominant:"nessuna dominante",poherDetail:"Punteggio medio {mean}; {possible} fenomeni non esclusi su {of}",hvsDetail:"HVS {hvs} = CS {cs} × PS {ps}",possible:"Possibili ({n} su {of}):",excluded:"Escluse ({n}):",hvsLine:"HVS {hvs} = CS {cs} × PS {ps}",hvsLineNoPs:"CS {cs}, plausibilità non valutata",admissible:"ammissibile",notAdmissible:"non ammissibile",dominant:"dominante"},timeQualifierApproximate:"Approssimativa",timeQualifierUncertain:"Incerta",timeQualifierBoth:"Incerta e approssimativa",timeSeasonSpring:"Primavera",timeSeasonSummer:"Estate",timeSeasonAutumn:"Autunno",timeSeasonWinter:"Inverno",summaryGroups:{observation:"Osservazione",location:"Posizione",temporal:"Tempo",weather:"Meteo",sound:"Suono"},summaryGroup:"Riepilogo",summaryDescription:"Descrizione",closeDescription:"Chiudi la descrizione",observerGroup:"Testimone",observerId:"ID",observerTitle:"Titolo",observerLastName:"Cognome",observerFirstNames:"Nomi",sightingId:"ID",tags:"Etichette",cloudCover:"Copertura nuvolosa",highCloudCover:"Nubi di ghiaccio (cirri)",focalLength:"Lunghezza focale",fieldOfView:"Campo visivo",aperture:"Apertura",exposure:"Esposizione",focusDistance:"Messa a fuoco a",iceCrystalAlignment:"Allineamento dei cristalli",rareIceCrystals:"Cristalli rari",cloudDarkness:"Oscurità delle nuvole",precipitationType:"Precipitazioni",precipitationNone:"Nessuna",precipitationRain:"Pioggia",precipitationSnow:"Neve",precipitationHail:"Grandine",precipitationIntensity:"Intensità",windDirection:"Direzione del vento",windSpeed:"Velocità del vento",storm:"Temporale",cloudsGroup:"Nuvole",precipitationGroup:"Precipitazioni",windGroup:"Vento",soundKind:"Suono",soundNone:"Nessuno (silenzioso)",soundHum:"Ronzio",soundWhistle:"Fischio",soundRumble:"Rombo",soundCrackle:"Crepitio",soundVolume:"Volume",soundPitch:"Tono",soundSrc:"Registrazione",instrument:"Osservato con",poseInstrument:"In questo momento, attraverso",poseInstrumentOwn:"Quello dell'osservazione",filter:"Davanti",filterNone:"niente",filterSolarVisual:"un filtro solare per l'occhio (occhiali da eclissi, densità 5)",filterSolarPhoto:"una pellicola solare per fotocamera (densità 3,8)",decorAircraft:"Aeromobile",decorEntity:"Essere",decorAltitude:"Altitudine",decorLights:"Luci",decorLightsNone:"nessuna",decor:"Ambiente",decorBuilding:"Edificio",decorTree:"Albero",decorShrub:"Cespuglio",decorBridge:"Ponte",decorWire:"Linea aerea",decorCrop:"Filare di coltura",decorTerrace:"Terrazzamento",decorMound:"Mucchio di pietre",decorWall:"Muretto a secco",decorStreetlight:"Lampione",decorTrafficLight:"Semaforo",decorPeak:"Vetta",decorCrossing:"Attraversamento pedonale",decorRoadSign:"Segnale stradale",decorVehicle:"Veicolo",decorObserver:"Altro testimone",decorEast:"Distanza a est",decorNorth:"Distanza a nord",decorHeading:"Orientamento",decorColor:"Colore",decorLit:"Acceso",decorTitle:"Nome",milestones:"Momenti",milestoneLabel:"Etichetta",milestoneNote:"Cosa succede",addMilestone:"Dai un nome a questo momento",deleteMilestone:"Elimina momento",goToMilestone:"Vai a questo momento",decorWidth:"Larghezza",decorLength:"Lunghezza",decorHeight:"Altezza",decorModel:"Modello 3D",decorModelAdvanced:"Modello da un indirizzo",decorModelUrl:"Indirizzo glTF/GLB",decorModelTitle:"Nome del modello",decorModelAuthor:"Autore",decorModelLicense:"Licenza",decorModelSource:"Provenienza",decorObserverSide:"Posizione del testimone",decorObserverSideNone:"Non presente",decorSideFront:"Davanti",decorSideBehind:"Dietro",decorSideLeft:"Sinistra",decorSideRight:"Destra",decorSideFrontLeft:"Davanti a sinistra",decorSideFrontRight:"Davanti a destra",decorSideBehindLeft:"Dietro a sinistra",decorSideBehindRight:"Dietro a destra"};export{e as s};
|
|
1
|
+
const e={color:"Colore",transparency:"Trasparenza",halo:"Alone",blur:"Sfocatura",brightness:"Brillantezza",shapeTitle:"Nome",utcOffset:"Fuso orario",cloudBase:"Base delle nuvole",elevation:"Altitudine",heightAboveGround:"Altezza dal suolo",duration:"Durata",placeName:"Luogo",latitude:"Latitudine",longitude:"Longitudine",heading:"Orientamento",pitch:"Inclinazione",speed:"Velocità",roll:"Rollio",sway:"Oscillazione a riposo",swayTitle:"Quanto il corpo che regge lo strumento muove la vista quando non cammina: 1 per una persona in piedi, 0 per un treppiede. Vuoto: 1 (0 se il resoconto dice che il testimone era paralizzato)",referenceGhosts:"Riflessi nella foto",referenceFindGhosts:"Cerca i riflessi",referenceGhostsSearching:"Ricerca…",referenceGhostsFound:"{count} riflessi trovati, ciascuno dalla parte opposta della sua luce rispetto all'asse dell'obiettivo.",referenceGhostsFoundScaled:"{count} riflessi trovati, ciascuno a {scale} volte la distanza della sua luce dall'asse dell'obiettivo.",referenceGhostsLow:"Forse {count} riflesso/i: troppo pochi per esserne sicuri.",referenceGhostsNone:"Nessun riflesso trovato: nessuna macchia debole sta dalla parte opposta di una luce rispetto a uno stesso punto.",referenceGhostsCropped:"L'asse dell'obiettivo è spostato dal centro dell'immagine: la foto è stata ritagliata.",referenceGhostsHide:"Nascondi i riflessi",referenceGhostsShow:"Mostra i riflessi",iso:"Sensibilità",isoTitle:"La sensibilità della pellicola, o il guadagno del sensore. Vuota, un apparecchio che regola da sé l'esposizione la sceglie; indicata, è regolata a mano, come nella modalità manuale di un telefono.",metering:"Misurazione della luce",meteringDevice:"quella dell'apparecchio",meteringAverage:"tutta l'immagine (telefoni vecchi, videocamere)",meteringHighlights:"protegge le alte luci (telefoni recenti)",meteringTitle:"Come legge la luce un apparecchio che regola da sé l'esposizione: con la media di tutta l'immagine, che brucia in bianco una luce viva in un'immagine scura, o trattenendosi perché una luce che occupa una parte notevole dell'immagine mantenga il suo colore.",lensGlass:"Attraverso",lensGlassNone:"il solo obiettivo",lensGlassFilter:"un filtro sull'obiettivo",lensGlassWindow:"una finestra",lensGlassWindscreen:"un parabrezza",lensDrops:"Gocce sul vetro",lensDropsTitle:"Da 0 a 1: quanta parte del vetro esterno coprono le gocce d'acqua. Vuoto: secondo la pioggia o la neve che cade, salvo se il vetro è al riparo",lensCondensation:"Condensa",lensCondensationTitle:"Da 0 a 1: condensa sul vetro, come su un obiettivo passato dal caldo al freddo. Vuoto: nessuna",lensDirt:"Sporco",lensDirtTitle:"Da 0 a 1: sporco, unto o impronte sul vetro. Vuoto: nessuno",lensSheltered:"Al riparo dalla pioggia",lensShelteredTitle:"Il vetro esterno era fuori dalla pioggia o dalla neve: sotto un tetto, o dietro un parabrezza con i tergicristalli in funzione",lightPollution:"Cielo notturno",lightPollutionTitle:"Lo zenit di una notte senza Luna in questo luogo, in magnitudini per secondo d'arco quadrato, come lo legge uno Sky Quality Meter o lo dà l'atlante mondiale della brillanza artificiale del cielo (Falchi et al. 2016, lightpollutionmap.info, «SQM»). 22 è un cielo naturale; una periferia è intorno a 19, un centro città a 17. Vuoto: un cielo naturale",observationTime:"Inizio dell'osservazione",observationEndTime:"Fine dell'osservazione",assessmentGroup:"Valutazione",assessmentNames:{coverage:"Dati del testimone"},assessmentVerdicts:{"hynek.nl":"NL — luce notturna","hynek.dd":"DD — disco diurno","hynek.rv":"RV — radar-visivo","hynek.ce1":"IR1 — incontro ravvicinato","hynek.ce2":"IR2 — con traccia fisica","hynek.ce3":"IR3 — con entità","ballester-guasp.pending":"da valutare","poher.0":"0/5 · per nulla strano, o non classificabile","poher.1":"1/5 · punto in linea retta","poher.2":"2/5 · traiettoria anomala","poher.3":"3/5 · strano: erratico, posato o scomparso","poher.4":"4/5 · atterraggio con tracce","poher.5":"5/5 · atterraggio con occupanti"},hypothesisGroup:"Ipotesi",hypotheses:{poher:{"poher-1977":"Matrice di Poher (1977)","rr0-2026":"Matrice di Poher estesa"},hvs:"HVS",tied:"{name} (+{n} a pari merito)",allExcluded:"tutte escluse",noDominant:"nessuna dominante",poherDetail:"Punteggio medio {mean}; {possible} fenomeni non esclusi su {of}",hvsDetail:"HVS {hvs} = CS {cs} × PS {ps}",possible:"Possibili ({n} su {of}):",excluded:"Escluse ({n}):",hvsLine:"HVS {hvs} = CS {cs} × PS {ps}",hvsLineNoPs:"CS {cs}, plausibilità non valutata",detail:"Dettaglio elemento per elemento",admissible:"ammissibile",notAdmissible:"non ammissibile",dominant:"dominante"},timeQualifierApproximate:"Approssimativa",timeQualifierUncertain:"Incerta",timeQualifierBoth:"Incerta e approssimativa",timeSeasonSpring:"Primavera",timeSeasonSummer:"Estate",timeSeasonAutumn:"Autunno",timeSeasonWinter:"Inverno",summaryGroups:{observation:"Osservazione",location:"Posizione",temporal:"Tempo",weather:"Meteo",sound:"Suono"},summaryGroup:"Riepilogo",summaryDescription:"Descrizione",closeDescription:"Chiudi la descrizione",observerGroup:"Testimone",observerId:"ID",observerTitle:"Titolo",observerLastName:"Cognome",observerFirstNames:"Nomi",sightingId:"ID",tags:"Etichette",cloudCover:"Copertura nuvolosa",highCloudCover:"Nubi di ghiaccio (cirri)",focalLength:"Lunghezza focale",fieldOfView:"Campo visivo",aperture:"Apertura",exposure:"Esposizione",focusDistance:"Messa a fuoco a",iceCrystalAlignment:"Allineamento dei cristalli",rareIceCrystals:"Cristalli rari",cloudDarkness:"Oscurità delle nuvole",precipitationType:"Precipitazioni",precipitationNone:"Nessuna",precipitationRain:"Pioggia",precipitationSnow:"Neve",precipitationHail:"Grandine",precipitationIntensity:"Intensità",windDirection:"Direzione del vento",windSpeed:"Velocità del vento",storm:"Temporale",cloudsGroup:"Nuvole",precipitationGroup:"Precipitazioni",windGroup:"Vento",soundKind:"Suono",soundNone:"Nessuno (silenzioso)",soundHum:"Ronzio",soundWhistle:"Fischio",soundRumble:"Rombo",soundCrackle:"Crepitio",soundVolume:"Volume",soundPitch:"Tono",soundSrc:"Registrazione",instrument:"Osservato con",poseInstrument:"In questo momento, attraverso",poseInstrumentOwn:"Quello dell'osservazione",filter:"Davanti",filterNone:"niente",filterSolarVisual:"un filtro solare per l'occhio (occhiali da eclissi, densità 5)",filterSolarPhoto:"una pellicola solare per fotocamera (densità 3,8)",decorAircraft:"Aeromobile",decorEntity:"Essere",decorAltitude:"Altitudine",decorLights:"Luci",decorLightsNone:"nessuna",decor:"Ambiente",decorBuilding:"Edificio",decorTree:"Albero",decorShrub:"Cespuglio",decorBridge:"Ponte",decorWire:"Linea aerea",decorCrop:"Filare di coltura",decorTerrace:"Terrazzamento",decorMound:"Mucchio di pietre",decorWall:"Muretto a secco",decorStreetlight:"Lampione",decorTrafficLight:"Semaforo",decorPeak:"Vetta",decorCrossing:"Attraversamento pedonale",decorRoadSign:"Segnale stradale",decorVehicle:"Veicolo",decorObserver:"Altro testimone",decorEast:"Distanza a est",decorNorth:"Distanza a nord",decorHeading:"Orientamento",decorColor:"Colore",decorLit:"Acceso",decorTitle:"Nome",milestones:"Momenti",milestoneLabel:"Etichetta",milestoneNote:"Cosa succede",addMilestone:"Dai un nome a questo momento",deleteMilestone:"Elimina momento",goToMilestone:"Vai a questo momento",decorWidth:"Larghezza",decorLength:"Lunghezza",decorHeight:"Altezza",decorModel:"Modello 3D",decorModelAdvanced:"Modello da un indirizzo",decorModelUrl:"Indirizzo glTF/GLB",decorModelTitle:"Nome del modello",decorModelAuthor:"Autore",decorModelLicense:"Licenza",decorModelSource:"Provenienza",decorObserverSide:"Posizione del testimone",decorObserverSideNone:"Non presente",decorSideFront:"Davanti",decorSideBehind:"Dietro",decorSideLeft:"Sinistra",decorSideRight:"Destra",decorSideFrontLeft:"Davanti a sinistra",decorSideFrontRight:"Davanti a destra",decorSideBehindLeft:"Dietro a sinistra",decorSideBehindRight:"Dietro a destra"};export{e as s};
|
package/dist-embed-ufoathome/{SightingMessages_en-Drcr3k4V.js → SightingMessages_en-D90vDTQ7.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./SightingLabels_en-
|
|
1
|
+
import{s as e}from"./SightingLabels_en-trAaLk8Q.js";const i={...e,accountBy:"Observation of",unnamedObserver:"Witness {n}",about:"About",close:"Close",observation:"Observation",date:"Date",location:"Location",case:"Case",caseInterviews:"The interviews of this case",description:"Description",source:"Source",basis:{established:"established",measured:"measured",stated:"stated",derived:"derived",assumed:"assumed",fitted:"fitted"},credits:"Credits",editThisObservation:"Edit this observation",share:"Share",embedObservation:"Embed the observation",back:"Back",shareScope:"Share",shareScopeCase:"Whole case",shareOpensOn:"Opens on",shareStartAt:"Start at",shareOptionLabels:"Show summary chips",shareOptionMap:"Open map",shareOptionMilestones:"Show moments",shareOptionCompare:"Compare account",showLabels:"Show what it states",interpretation:"Reading",account:"Account",interpretationBy:"{title}, by {by}",confrontation:"Against the account",confrontationDirection:"{deg}° off",readingVerdict:{incompatible:"Contradicts what is established",unsettled:"Not settled",compatible:"Compatible"},findingOutcome:{holds:"Holds",fails:"Fails",untested:"Could not be tested"},findingAgainst:{established:"against what is established",supposed:"against a supposition"},readingChip:"{verdict} · {n} findings",readingLabel:"Reading",readingChipOne:"{verdict} · 1 finding",confrontationWidth:"width ×{ratio}",confrontationHeight:"height ×{ratio}",showComparison:"Compare with the account",hideComparison:"Stop comparing with the account",hideLabels:"Hide what it states",variant:"Variant: {name}",verdicts:{consolidated:"compatible with consolidated biases",contested:"only by invoking contested biases",incompatible:"incompatible even at the bounds"},variantFields:{date:"Date",time:"Time",heading:"Heading",elevation:"Elevation",size:"Size",duration:"Duration",sweep:"Sweep across the sky"},variantReadings:{grouped:"lights read as one body","still-seen-moving":"a still light seen moving","moving-seen-still":"a moving light seen hovering","brightening-as-approach":"growing brighter read as coming nearer"}};export{i as sightingMessages_en};
|
package/dist-embed-ufoathome/{SightingMessages_es-BcaWM7Oy.js → SightingMessages_es-D8laK6OY.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./SightingLabels_es-
|
|
1
|
+
import{s as e}from"./SightingLabels_es-Geji-Hhz.js";const o={...e,accountBy:"Observación de",unnamedObserver:"Testigo {n}",about:"Acerca de",close:"Cerrar",observation:"Observación",date:"Fecha",location:"Lugar",case:"Caso",caseInterviews:"Las entrevistas de este caso",description:"Descripción",source:"Fuente",basis:{established:"establecido",measured:"medido",stated:"declarado",derived:"deducido",assumed:"supuesto",fitted:"ajustado"},credits:"Créditos",editThisObservation:"Editar esta observación",share:"Compartir",embedObservation:"Insertar la observación",back:"Volver",shareScope:"Compartir",shareScopeCase:"El caso entero",shareOpensOn:"Se abre en",shareStartAt:"Empezar en",shareOptionLabels:"Mostrar los chips",shareOptionMap:"Abrir el mapa",shareOptionMilestones:"Mostrar los momentos",shareOptionCompare:"Comparar con el relato",showLabels:"Mostrar lo que indica",interpretation:"Lectura",account:"Relato",interpretationBy:"{title}, por {by}",confrontation:"Frente al relato",confrontationDirection:"desvío de {deg}°",readingVerdict:{incompatible:"Contradice lo establecido",unsettled:"Sin resolver",compatible:"Compatible"},findingOutcome:{holds:"Se sostiene",fails:"Falla",untested:"No se pudo probar"},findingAgainst:{established:"contra un elemento establecido",supposed:"contra una suposición"},readingChip:"{verdict} · {n} pruebas",readingLabel:"Lectura",readingChipOne:"{verdict} · 1 prueba",confrontationWidth:"anchura ×{ratio}",confrontationHeight:"altura ×{ratio}",showComparison:"Comparar con el relato",hideComparison:"Dejar de comparar con el relato",hideLabels:"Ocultar lo que indica",variant:"Variante: {name}",verdicts:{consolidated:"compatible con sesgos consolidados",contested:"solo invocando sesgos discutidos",incompatible:"incompatible incluso en los límites"},variantFields:{date:"Fecha",time:"Hora",heading:"Dirección",elevation:"Altura",size:"Tamaño",duration:"Duración",sweep:"Recorrido en el cielo"},variantReadings:{grouped:"luces leídas como un solo cuerpo","still-seen-moving":"una luz fija vista en movimiento","moving-seen-still":"una luz en movimiento vista inmóvil","brightening-as-approach":"un brillo creciente leído como un acercamiento"}};export{o as sightingMessages_es};
|
package/dist-embed-ufoathome/{SightingMessages_fr-7IYuW095.js → SightingMessages_fr-Gq3IMFTE.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./SightingLabels_fr-
|
|
1
|
+
import{s as e}from"./SightingLabels_fr-BVnntoiD.js";const i={...e,accountBy:"Observation de",unnamedObserver:"Témoin {n}",about:"À propos",close:"Fermer",observation:"Observation",date:"Date",location:"Lieu",case:"Dossier",caseInterviews:"Les interviews de ce dossier",description:"Description",source:"Source",basis:{established:"établi",measured:"mesuré",stated:"énoncé",derived:"déduit",assumed:"supposé",fitted:"ajusté"},credits:"Crédits",editThisObservation:"Éditer cette observation",share:"Partager",embedObservation:"Intégrer l'observation",back:"Retour",shareScope:"Partager",shareScopeCase:"Le dossier entier",shareOpensOn:"S'ouvre sur",shareStartAt:"Commencer à",shareOptionLabels:"Afficher les chips",shareOptionMap:"Ouvrir la carte",shareOptionMilestones:"Afficher les moments",shareOptionCompare:"Comparer au compte rendu",showLabels:"Afficher ce qu'elle indique",interpretation:"Lecture",account:"Compte rendu",interpretationBy:"{title}, par {by}",confrontation:"Face au compte rendu",confrontationDirection:"écart de {deg}°",readingVerdict:{incompatible:"Contredit ce qui est établi",unsettled:"Non tranchée",compatible:"Compatible"},findingOutcome:{holds:"Tient",fails:"Échoue",untested:"Non testable"},findingAgainst:{established:"contre un élément établi",supposed:"contre une supposition"},readingChip:"{verdict} · {n} constats",readingLabel:"Lecture",readingChipOne:"{verdict} · 1 constat",confrontationWidth:"largeur ×{ratio}",confrontationHeight:"hauteur ×{ratio}",showComparison:"Comparer au compte rendu",hideComparison:"Ne plus comparer au compte rendu",hideLabels:"Masquer ce qu'elle indique",variant:"Variante : {name}",verdicts:{consolidated:"compatible avec des biais consolidés",contested:"seulement en invoquant des biais contestés",incompatible:"incompatible même aux bornes"},variantFields:{date:"Date",time:"Heure",heading:"Direction",elevation:"Hauteur",size:"Taille",duration:"Durée",sweep:"Balayage dans le ciel"},variantReadings:{grouped:"des lumières lues comme un seul corps","still-seen-moving":"une lumière fixe vue en mouvement","moving-seen-still":"une lumière en mouvement vue immobile","brightening-as-approach":"un éclat croissant lu comme un rapprochement"}};export{i as sightingMessages_fr};
|
package/dist-embed-ufoathome/{SightingMessages_it-BhDmZn6p.js → SightingMessages_it-BXDxv-lE.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./SightingLabels_it-
|
|
1
|
+
import{s as e}from"./SightingLabels_it-B9FWbLXW.js";const o={...e,accountBy:"Osservazione di",unnamedObserver:"Testimone {n}",about:"Informazioni",close:"Chiudi",observation:"Osservazione",date:"Data",location:"Luogo",case:"Caso",caseInterviews:"Le interviste di questo caso",description:"Descrizione",source:"Fonte",basis:{established:"accertato",measured:"misurato",stated:"dichiarato",derived:"dedotto",assumed:"supposto",fitted:"adattato"},credits:"Crediti",editThisObservation:"Modifica questa osservazione",share:"Condividi",embedObservation:"Incorpora l'osservazione",back:"Indietro",shareScope:"Condividi",shareScopeCase:"Il caso intero",shareOpensOn:"Si apre su",shareStartAt:"Inizia a",shareOptionLabels:"Mostra i chip",shareOptionMap:"Apri la mappa",shareOptionMilestones:"Mostra i momenti",shareOptionCompare:"Confronta col resoconto",showLabels:"Mostra ciò che indica",interpretation:"Lettura",account:"Resoconto",interpretationBy:"{title}, di {by}",confrontation:"A confronto con il resoconto",confrontationDirection:"scarto di {deg}°",readingVerdict:{incompatible:"Contraddice ciò che è accertato",unsettled:"Non decisa",compatible:"Compatibile"},findingOutcome:{holds:"Regge",fails:"Fallisce",untested:"Non verificabile"},findingAgainst:{established:"contro un elemento accertato",supposed:"contro una supposizione"},readingChip:"{verdict} · {n} verifiche",readingLabel:"Lettura",readingChipOne:"{verdict} · 1 verifica",confrontationWidth:"larghezza ×{ratio}",confrontationHeight:"altezza ×{ratio}",showComparison:"Confronta con il resoconto",hideComparison:"Smetti di confrontare con il resoconto",hideLabels:"Nascondi ciò che indica",variant:"Variante: {name}",verdicts:{consolidated:"compatibile con distorsioni consolidate",contested:"solo invocando distorsioni contestate",incompatible:"incompatibile anche ai limiti"},variantFields:{date:"Data",time:"Ora",heading:"Direzione",elevation:"Altezza",size:"Dimensione",duration:"Durata",sweep:"Percorso nel cielo"},variantReadings:{grouped:"luci lette come un solo corpo","still-seen-moving":"una luce ferma vista muoversi","moving-seen-still":"una luce in moto vista immobile","brightening-as-approach":"una luminosità crescente letta come un avvicinamento"}};export{o as sightingMessages_it};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aF as ee,a0 as F,aG as G,aH as M,aI as te,a8 as j,av as Z,V as E,S as ie,aJ as I,aK as $,j as ne,aL as O,M as se,p as B,aq as oe,a2 as ae,aM as re,I as le,C as ce,w as de,q as fe,J as ue,ai as pe,y as he,ah as V}from"./three.module-CbaHqYFq.js";import{b1 as me}from"./ShareDialogElement-
|
|
1
|
+
import{aF as ee,a0 as F,aG as G,aH as M,aI as te,a8 as j,av as Z,V as E,S as ie,aJ as I,aK as $,j as ne,aL as O,M as se,p as B,aq as oe,a2 as ae,aM as re,I as le,C as ce,w as de,q as fe,J as ue,ai as pe,y as he,ah as V}from"./three.module-CbaHqYFq.js";import{b1 as me}from"./ShareDialogElement-DMDY7Hlo.js";import{g as ge}from"./GeoProjection-DvqDbRIx.js";import"./rr0-ufoathome.mjs";import"./Sighting-C1yj2-s5.js";import"./VisualAids-DI-hEL46.js";import"./SaidPosition-OJEYhVKN.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";const k=new j,P=new E;class Q extends ee{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry";const e=[-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],n=[-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],i=[0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5];this.setIndex(i),this.setAttribute("position",new F(e,3)),this.setAttribute("uv",new F(n,2))}applyMatrix4(e){const n=this.attributes.instanceStart,i=this.attributes.instanceEnd;return n!==void 0&&(n.applyMatrix4(e),i.applyMatrix4(e),n.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}setPositions(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new G(n,6,1);return this.setAttribute("instanceStart",new M(i,3,0)),this.setAttribute("instanceEnd",new M(i,3,3)),this.instanceCount=this.attributes.instanceStart.count,this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e){let n;e instanceof Float32Array?n=e:Array.isArray(e)&&(n=new Float32Array(e));const i=new G(n,6,1);return this.setAttribute("instanceColorStart",new M(i,3,0)),this.setAttribute("instanceColorEnd",new M(i,3,3)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new te(e.geometry)),this}fromLineSegments(e){const n=e.geometry;return this.setPositions(n.attributes.position.array),this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new j);const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;e!==void 0&&n!==void 0&&(this.boundingBox.setFromBufferAttribute(e),k.setFromBufferAttribute(n),this.boundingBox.union(k))}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new Z),this.boundingBox===null&&this.computeBoundingBox();const e=this.attributes.instanceStart,n=this.attributes.instanceEnd;if(e!==void 0&&n!==void 0){const i=this.boundingSphere.center;this.boundingBox.getCenter(i);let t=0;for(let o=0,l=e.count;o<l;o++)P.fromBufferAttribute(e,o),t=Math.max(t,i.distanceToSquared(P)),P.fromBufferAttribute(n,o),t=Math.max(t,i.distanceToSquared(P));this.boundingSphere.radius=Math.sqrt(t),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}}O.line={worldUnits:{value:1},linewidth:{value:1},resolution:{value:new ne},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}};I.line={uniforms:$.merge([O.common,O.fog,O.line]),vertexShader:`
|
|
2
2
|
#include <common>
|
|
3
3
|
#include <color_pars_vertex>
|
|
4
4
|
#include <fog_pars_vertex>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{P as d}from"./ShareDialogElement-
|
|
1
|
+
import{P as d}from"./ShareDialogElement-DMDY7Hlo.js";import"./rr0-ufoathome.mjs";import"./Sighting-C1yj2-s5.js";import"./VisualAids-DI-hEL46.js";import"./three.module-CbaHqYFq.js";import"./SaidPosition-OJEYhVKN.js";import"./GeoProjection-DvqDbRIx.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";class c{constructor(e,t){this.filmer=e,this.element=t??document.createElement("button"),this.element.type="button",this.element.id="video-button",this.element.setAttribute("aria-haspopup","true"),this.element.addEventListener("click",n=>{n.stopPropagation(),this.filming?this.filming.abort():this.toggleOptions()}),this.panel=document.createElement("div"),this.panel.className="video-options",this.panel.hidden=!0;for(const n of["click","pointerdown","pointerup","dblclick"])this.panel.addEventListener(n,o=>o.stopPropagation());this.panel.addEventListener("keydown",n=>{n.key==="Escape"&&(this.closeOptions(),this.element.focus())});const s=document.createElement("label");s.className="video-size",this.sizeLabel=document.createElement("span"),this.sizeSelect=document.createElement("select"),s.append(this.sizeLabel,this.sizeSelect),this.panel.append(s);const i=()=>{const n=document.createElement("div");n.className="video-bound";const o=document.createElement("label"),l=document.createElement("span"),r=document.createElement("input");r.type="text",r.inputMode="numeric",r.size=7,r.addEventListener("input",()=>this.checkBounds()),o.append(l,r);const h=document.createElement("button");return h.type="button",h.className="video-here",h.addEventListener("click",()=>{r.value=c.formatSeconds(this.filmer.positionS()),this.checkBounds()}),n.append(o,h),this.panel.append(n),{label:l,input:r,here:h}};this.bounds={from:i(),to:i()};const a=()=>{const n=document.createElement("label"),o=document.createElement("input");o.type="checkbox";const l=document.createElement("span");return n.append(o,l),this.panel.append(n),{input:o,label:l}};this.checks={caption:a(),time:a(),map:a()},this.startButton=document.createElement("button"),this.startButton.type="button",this.startButton.className="video-start",this.startButton.addEventListener("click",()=>void this.film(this.options(),!1)),this.panel.append(this.startButton),this.kitButton=document.createElement("button"),this.kitButton.type="button",this.kitButton.className="video-kit",this.kitButton.hidden=!this.filmer.generativeKit,this.kitButton.addEventListener("click",()=>void this.film(this.options(),!0)),this.panel.append(this.kitButton),this.restoreOptions(),this.update()}static HEIGHTS=[720,1080,2160];static STORAGE_KEY="rr0-video-options";element;panel;sizeLabel;sizeSelect;checks;bounds;startButton;kitButton;texts;filming;share=0;failure;set messages(e){this.texts=e,this.update()}open(){this.panel.hidden&&this.openOptions()}toggleOptions(){this.panel.hidden?this.openOptions():this.closeOptions()}openOptions(){this.fillSizes(),this.fillBounds(),this.panel.hidden=!1,this.element.setAttribute("aria-expanded","true"),this.startButton.focus(),document.addEventListener("pointerdown",this.closeOnOutside,!0)}closeOptions(){this.panel.hidden=!0,this.element.setAttribute("aria-expanded","false"),document.removeEventListener("pointerdown",this.closeOnOutside,!0)}closeOnOutside=e=>{const t=e.composedPath();!t.includes(this.panel)&&!t.includes(this.element)&&this.closeOptions()};fillSizes(){const e=this.filmer.pictureSize(),t=e.height>0?e.width/e.height:16/9,s=this.sizeSelect.value,i=`${e.width} × ${e.height}`,a=[{value:"",text:(this.texts?.videoSizeScreen??"").replace("{size}",i)}];for(const o of c.HEIGHTS)a.push({value:String(o),text:`${Math.round(o*t/2)*2} × ${o}`});this.sizeSelect.replaceChildren(...a.map(({value:o,text:l})=>{const r=document.createElement("option");return r.value=o,r.textContent=l,r})),this.sizeSelect.value=a.some(o=>o.value===s)?s:"";const n=this.checks.map;n.input.disabled=!this.filmer.hasMap(),n.label.parentElement.classList.toggle("disabled",n.input.disabled)}fillBounds(){this.bounds.from.input.placeholder=c.formatSeconds(0),this.bounds.to.input.placeholder=c.formatSeconds(this.filmer.durationS()),this.checkBounds()}boundsS(){const e=this.filmer.durationS(),t=s=>{const i=c.secondsOf(s);return i===void 0||i>=0&&i<=e+.001?i:NaN};return{fromS:t(this.bounds.from.input.value),toS:t(this.bounds.to.input.value)}}checkBounds(){const{fromS:e,toS:t}=this.boundsS(),s=(e??0)>=(t??this.filmer.durationS()),i=Number.isNaN(e)||s&&e!==void 0,a=Number.isNaN(t)||s&&t!==void 0;this.bounds.from.input.setAttribute("aria-invalid",String(i)),this.bounds.to.input.setAttribute("aria-invalid",String(a)),this.startButton.disabled=i||a||s,this.kitButton.disabled=this.startButton.disabled}static formatSeconds(e){const t=Math.max(0,Math.round(e)),s=Math.floor(t/3600),i=Math.floor(t/60)%60,a=String(t%60).padStart(2,"0");return s>0?`${s}:${String(i).padStart(2,"0")}:${a}`:`${i}:${a}`}static secondsOf(e){const t=e.trim().replace(",",".");if(t!=="")return/^\d+(\.\d+)?$|^\d+(:\d{1,2}){1,2}(\.\d+)?$/.test(t)?t.split(":").reduce((s,i)=>s*60+Number(i),0):NaN}options(){const e=Number(this.sizeSelect.value),{fromS:t,toS:s}=this.boundsS();return{...e>0?{height:e}:{},...t!==void 0&&!Number.isNaN(t)?{fromS:t}:{},...s!==void 0&&!Number.isNaN(s)?{toS:s}:{},caption:this.checks.caption.input.checked,time:this.checks.time.input.checked,map:this.checks.map.input.checked&&!this.checks.map.input.disabled}}restoreOptions(){let e={};try{e=JSON.parse(localStorage.getItem(c.STORAGE_KEY)??"{}")}catch{}this.checks.caption.input.checked=e.caption??!0,this.checks.time.input.checked=e.time??!0,this.checks.map.input.checked=e.map??!1,this.sizeSelect.replaceChildren(new Option("",e.height?String(e.height):"")),this.sizeSelect.value=e.height?String(e.height):""}keepOptions(e){try{const{fromS:t,toS:s,...i}=e;localStorage.setItem(c.STORAGE_KEY,JSON.stringify(i))}catch{}}async film(e,t){this.closeOptions(),this.keepOptions(e);const s=new AbortController;this.filming=s,this.share=0,this.failure=void 0,this.update();try{const i=a=>{this.share=a,this.update()};t&&this.filmer.generativeKit?this.save(await this.filmer.generativeKit(e,i,s.signal),this.filmer.kitFileName?.()??"kit.zip"):this.save(await this.filmer.film(e,i,s.signal),this.filmer.fileName())}catch(i){s.signal.aborted||(this.failure=i instanceof Error?i.message:String(i),console.error(i))}finally{this.filming=void 0,this.update()}}save(e,t){const s=URL.createObjectURL(e),i=document.createElement("a");i.href=s,i.download=t,i.click(),setTimeout(()=>URL.revokeObjectURL(s),6e4)}update(){const e=Math.floor(this.share*100);this.filming?(this.element.textContent=`${e} %`,this.element.classList.add("filming")):(this.element.innerHTML=d.VIDEO,this.element.classList.remove("filming"));const t=this.texts,s=t?this.filming?t.recordingVideo.replace("{percent}",String(e)):this.failure?`${t.recordVideo}. ${t.videoFailed.replace("{reason}",this.failure)}`:t.recordVideo:"";this.element.title=s,this.element.setAttribute("aria-label",s),this.sizeLabel.textContent=t?.videoSize??"",this.checks.caption.label.textContent=t?.videoCaption??"",this.checks.time.label.textContent=t?.videoTime??"",this.checks.map.label.textContent=t?.videoMap??"",this.startButton.textContent=t?.videoStart??"",this.kitButton.textContent=t?.videoKit??"",this.kitButton.title=t?.videoKitHint??"",this.bounds.from.label.textContent=t?.videoFrom??"",this.bounds.to.label.textContent=t?.videoTo??"";for(const{here:i}of Object.values(this.bounds))i.textContent=t?.videoHere??"",i.title=t?.videoHereHint??"";this.panel.hidden||this.fillSizes()}}export{c as VideoButton};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./SkyLantern-DJT_Ibzh.js","./Obstacles-v9SkfBD7.js","./LanternEditor-DEeA3Kf_.js","./SaidPosition-OJEYhVKN.js","./GeoProjection-DvqDbRIx.js","./SkyEventEditorStyle-CvY_AhbI.js","./Sighting-C1yj2-s5.js","./VisualAids-DI-hEL46.js","./ParameterForm-XbqxCLRn.js","./BirdFlock-ByBkJV35.js","./BirdEditor-CBVGyUnK.js","./TimelineTracks-Daaqw9ly.js","./DroneFlight-CGNIh9XS.js","./Decor-Dn-cvniW.js","./DroneEditor-7X9CM_3H.js","./DroneParameters-CfTAaLCT.js","./BalloonEditor-BBAtMeVM.js","./BalloonFlight-CvE7AHlm.js","./AirshipFlight-6yYGIRn8.js","./AirshipEditor-EBfUtSiB.js","./CaseElement-
|
|
2
|
-
const hn="modulepreload",fn=function(n,t){return new URL(n,t).href},ze={},d=function(t,e,r){let s=Promise.resolve();if(e&&e.length>0){let i=function(m){return Promise.all(m.map(p=>Promise.resolve(p).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");s=i(e.map(m=>{if(m=fn(m,r),m in ze)return;ze[m]=!0;const p=m.endsWith(".css"),f=p?'[rel="stylesheet"]':"";if(!!r)for(let E=a.length-1;E>=0;E--){const G=a[E];if(G.href===m&&(!p||G.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${f}`))return;const S=document.createElement("link");if(S.rel=p?"stylesheet":hn,p||(S.as="script"),S.crossOrigin="",S.href=m,c&&S.setAttribute("nonce",c),document.head.appendChild(S),p)return new Promise((E,G)=>{S.addEventListener("load",E),S.addEventListener("error",()=>G(new Error(`Unable to preload CSS for ${m}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},gn="rr0-read",wn="rr0-edit",ve="in-place",yn="rr0-mode";class Xs{static ask(t,e,r){const s=new CustomEvent(e,{detail:r,bubbles:!0,composed:!0,cancelable:!0});return t.dispatchEvent(s),s.defaultPrevented}}class j{constructor(t){this.entries=t}static same(t,e){return typeof t=="number"&&typeof e=="number"?t===e||Math.abs(t-e)<=1e-9*Math.max(1,Math.abs(t),Math.abs(e)):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((r,s)=>j.same(r,e[s])):typeof t=="object"&&t!==null&&typeof e=="object"&&e!==null&&!Array.isArray(t)&&!Array.isArray(e)?[...new Set([...Object.keys(t),...Object.keys(e)])].every(s=>j.same(t[s],e[s])):t===e}static free(t){return t?.basis==="assumed"||t?.basis==="fitted"}static empty(){return new j(new Map)}get size(){return this.entries.size}at(t){return this.entries.get(t)}paths(){return[...this.entries.keys()]}sourced(){return[...this.entries].filter(([,t])=>t.source!==void 0).map(([t,e])=>({path:t,basis:e.basis,source:e.source}))}interviewsCited(){const t=[];for(const{source:e}of this.sourced()){const r=e.said?.interview;r!==void 0&&!t.includes(r)&&t.push(r)}return t}pathsFromInterview(t){return this.sourced().filter(({source:e})=>e.said!==void 0&&e.said.interview===t).map(({path:e})=>e)}set(t,e){e.basis==="stated"&&e.rationale===void 0&&e.how===void 0&&e.range===void 0&&e.source===void 0?this.entries.delete(t):this.entries.set(t,e)}clear(t){for(const e of this.entries.keys())(e===t||e.startsWith(`${t}.`))&&this.entries.delete(e)}static strip(t){const e=new j(new Map);return{recording:j.stripValue(t,[],e),provenance:e}}static restore(t,e){if(e.size===0)return t;const r={...t},s=new Set([r]);for(const o of e.paths()){const i=e.at(o),a=o.split("."),l=j.writableHolderOf(r,a,s);if(!l)continue;const c=a[a.length-1],m=l[c];m!==void 0&&(i.of!==void 0&&!j.same(i.of,m)||(l[c]={value:m,...i.basis==="stated"?{}:{basis:i.basis},...i.rationale===void 0?{}:{rationale:i.rationale},...i.how===void 0?{}:{how:i.how},...i.range===void 0?{}:{range:i.range},...i.source===void 0?{}:{source:i.source}}))}return r}static isWrapper(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&"value"in t}static stripValue(t,e,r){return j.isWrapper(t)?(r.set(e.join("."),{basis:t.basis??"stated",...t.rationale===void 0?{}:{rationale:t.rationale},...t.how===void 0?{}:{how:t.how},...t.range===void 0?{}:{range:t.range},...t.source===void 0?{}:{source:t.source},of:t.value}),j.stripValue(t.value,e,r)):Array.isArray(t)?t.map((s,o)=>j.stripValue(s,[...e,String(o)],r)):typeof t=="object"&&t!==null?Object.fromEntries(Object.entries(t).map(([s,o])=>[s,j.stripValue(o,[...e,s],r)])):t}static writableHolderOf(t,e,r){let s=t;for(const o of e.slice(0,-1)){const i=s[o];if(typeof i!="object"||i===null)return;if(r.has(i)){s=i;continue}const a=Array.isArray(i)?[...i]:{...i};r.add(a),s[o]=a,s=a}return s}}class bn extends Error{constructor(t,e,r){super(typeof e=="number"&&Number.isInteger(e)&&e>=1?`This ${t} file is in version ${e} of its format; this UFO@home reads version ${r}. Read it with the UFO@home that reads its version.`:`This ${t} file states ${JSON.stringify(e)} as its format version, which is not a version.`),this.format=t,this.found=e,this.supported=r,this.name="FormatVersionError"}said(t){return t.replace("{found}",typeof this.found=="number"?String(this.found):JSON.stringify(this.found)).replace("{supported}",String(this.supported))}}class ht{static CURRENT={sighting:4,case:1,interview:1};static SCHEMA_BASE="https://ufoathome.org/schema";static schemaUrl(t,e=ht.CURRENT[t]){return`${ht.SCHEMA_BASE}/${e}/${t}.schema.json`}static of(t){if(typeof t!="object"||t===null)return 1;const e=t.version;return e===void 0?1:typeof e=="object"&&e!==null&&"value"in e?e.value:e}static recording(t){return ht.check(t,"sighting")}static check(t,e){const r=ht.of(t),s=ht.CURRENT[e];if(typeof r!="number"||!Number.isInteger(r)||r!==s)throw new bn(e,r,s);return t}}class N{static built=new WeakMap;static computers=new WeakMap;static loading=new WeakMap;static loaded(t,e){return e.every(r=>N.itemsOf(t,r.key).length===0||N.computers.has(r))}static load(t,e){return Promise.all(e.filter(r=>N.itemsOf(t,r.key).length>0&&!N.computers.has(r)).map(r=>{let s=N.loading.get(r);return s||(s=r.compute().then(o=>{N.computers.set(r,o)}),s.catch(()=>N.loading.delete(r)),N.loading.set(r,s)),s.catch(()=>{})})).then(()=>{})}static of(t){let e=N.built.get(t);return e||(e=t.create(),N.built.set(t,e)),e}static itemsOf(t,e){const r=t?.[e];return Array.isArray(r)?r:[]}static computes(t,e){return e.some(r=>N.itemsOf(t,r.key).length>0)}static expand(t,e,r){return N.expandWithKinds(t,e,r).interpretation}static expandWithKinds(t,e,r){const s=new Map,o=new Map;if(!t||!N.computes(t,e))return{interpretation:t,kindOf:s,phenomenonOf:o};const i=e.flatMap(a=>N.itemsOf(t,a.key).flatMap(l=>{const c=N.computers.get(a);if(!c)return[];const m=c(l,r),p=a.phenomenon?.(l);for(const f of m)s.set(f.id,a),p&&o.set(f.id,p);return m}));return{interpretation:{...t,bodies:[...t.bodies,...i]},kindOf:s,phenomenonOf:o}}static phenomena(t,e){const r=new Set;for(const s of e)for(const o of N.itemsOf(t,s.key)){const i=s.phenomenon?.(o);i&&r.add(i)}return r}static computedPart(t,e){const r={};for(const s of e){const o=N.itemsOf(t,s.key);o.length>0&&(r[s.key]=[...o])}return r}static saysNothing(t,e){return t.bodies.length===0&&t.title===void 0&&t.smoke===void 0&&e.every(r=>t[r.key]===void 0)}}const Js=Object.freeze(Object.defineProperty({__proto__:null,InterpretationKinds:N},Symbol.toStringTag,{value:"Module"}));class Zr extends Error{constructor(t,e,r,s){super(`Module "${t}" gives "${r}" at ${e}, which module "${s}" already gives`),this.moduleId=t,this.point=e,this.sourceId=r,this.ownerId=s,this.name="ModuleConflictError"}}class En{constructor(t){this.id=t}sources=[];owners=new Map;ownerOf(t){return this.owners.get(t)}conflict(t,e){for(const r of e){const s=this.owners.get(r.id);if(s!==void 0&&s!==t)return{sourceId:r.id,ownerId:s}}}provide(t,e){const r=this.conflict(t,e);if(r)throw new Zr(t,this.id,r.sourceId,r.ownerId);this.withdraw(t);const s=t===A.BUILT_IN?this.sources.findIndex(o=>this.owners.get(o.id)!==A.BUILT_IN):-1;s<0?this.sources.push(...e):this.sources.splice(s,0,...e);for(const o of e)this.owners.set(o.id,t);return this.sources}withdraw(t){for(let e=this.sources.length-1;e>=0;e--){const r=this.sources[e].id;this.owners.get(r)===t&&(this.sources.splice(e,1),this.owners.delete(r))}}}class A{static BUILT_IN="ufoathome";static changes=new EventTarget;static points=new Map;static modules=new Map;static point(t){let e=A.points.get(t);return e||(e=new En(t),A.points.set(t,e)),e}static install(t){if(t.id===A.BUILT_IN)throw new Error(`"${A.BUILT_IN}" is the id of the built-in module`);const e=A.contributionsOf(t);for(const[o,i]of e){const a=A.point(o).conflict(t.id,i);if(a)throw new Zr(t.id,o,a.sourceId,a.ownerId)}const r=new Set(e.map(([o])=>o)),s=A.modules.get(t.id);if(s)for(const[o]of A.contributionsOf(s))r.add(o);for(const o of r)A.point(o).withdraw(t.id);for(const[o,i]of e)A.point(o).provide(t.id,i);A.modules.set(t.id,t);for(const o of r)A.announce(o)}static uninstall(t){const e=A.modules.get(t);if(e){A.modules.delete(t);for(const[r]of A.contributionsOf(e))A.point(r).withdraw(t),A.announce(r)}}static installed(){return[...A.modules.values()]}static contributionsOf(t){return Object.entries(t.contributes).filter(e=>Array.isArray(e[1])&&e[1].length>0)}static announce(t){A.changes.dispatchEvent(new CustomEvent("change",{detail:t}))}}const Sn=["en","fr","es","it"];class _{static catalog(t){const e=new Map;return{load(r){const s=_.languageOf(r);let o=e.get(s);return o||(o=t[s](),e.set(s,o),o.catch(()=>e.delete(s))),o}}}static none(){return new Proxy({},{get:()=>""})}static blank(){const t=new Proxy(()=>t,{get:(e,r)=>r===Symbol.toPrimitive?()=>"":r===Symbol.iterator?function*(){}:r==="toString"||r==="valueOf"?()=>"":r==="then"?void 0:t,apply:()=>t,has:()=>!1,ownKeys:()=>[],getOwnPropertyDescriptor:()=>{}});return t}static languageOf(t){const e=t.toLowerCase().split("-")[0];return Sn.includes(e)?e:"en"}}const vn=_.catalog({en:()=>d(()=>import("./FlareKindMessages_en-j3CY_TxX.js"),[],import.meta.url).then(n=>n.flareKindMessages_en),fr:()=>d(()=>import("./FlareKindMessages_fr-B2MezoN2.js"),[],import.meta.url).then(n=>n.flareKindMessages_fr),es:()=>d(()=>import("./FlareKindMessages_es-CZgrFIOO.js"),[],import.meta.url).then(n=>n.flareKindMessages_es),it:()=>d(()=>import("./FlareKindMessages_it-CmZmb3RP.js"),[],import.meta.url).then(n=>n.flareKindMessages_it)});class nt{constructor(t={}){this.options=t,this.fetchImpl=t.fetchImpl??fetch.bind(globalThis),this.wait=t.wait??(e=>new Promise(r=>setTimeout(r,e)))}static URL="https://historical-forecast-api.open-meteo.com/v1/forecast";static CREDIT="Open-Meteo historical forecast";static LEVELS=[850,700,600,500,400,300];static RETRIES=6;static RETRY_MS=2e3;days=new Map;fetchImpl;wait;async profile(t,e,r){const o=new Date(Math.floor(r.getTime()/36e5)*36e5),i=(r.getTime()-o.getTime())/36e5,a=await this.hourly(t,e,o);if(i<1e-6)return a;const l=await this.hourly(t,e,new Date(o.getTime()+36e5));return a.levels.length!==l.levels.length?i<.5?a:l:{...a,hour:r.toISOString().slice(0,16),levels:a.levels.map((c,m)=>{const[p,f]=X.vector(c.wind),[y,S]=X.vector(l.levels[m].wind);return{aboveGroundM:c.aboveGroundM+i*(l.levels[m].aboveGroundM-c.aboveGroundM),wind:X.fromVector(p+i*(y-p),f+i*(S-f))}})}}async hourly(t,e,r){const s=r.toISOString().slice(0,13)+":00",o=s.slice(0,10),i=`${t.toFixed(4)},${e.toFixed(4)},${o}`;let a=this.days.get(i);return a||(a=this.day(t,e,o,i),a.catch(()=>this.days.delete(i)),this.days.set(i,a)),nt.profileOf(await a,s)}static profileOf(t,e){const r=t.hourly,s=r.time.indexOf(e);if(s<0)throw new Error(`No wind for ${e} in the archive's answer`);const o=c=>(c+180)%360,i=[],a=r.wind_speed_10m?.[s],l=r.wind_direction_10m?.[s];typeof a=="number"&&typeof l=="number"&&i.push({aboveGroundM:10,wind:{towardDeg:o(l),speedMS:a}});for(const c of nt.LEVELS){const m=r[`geopotential_height_${c}hPa`]?.[s],p=r[`wind_speed_${c}hPa`]?.[s],f=r[`wind_direction_${c}hPa`]?.[s];if(typeof m!="number"||typeof p!="number"||typeof f!="number")continue;const y=m-t.elevation;y<=(i[i.length-1]?.aboveGroundM??0)||i.push({aboveGroundM:y,wind:{towardDeg:o(f),speedMS:p}})}if(i.length===0)throw new Error(`No wind for ${e} in the archive's answer`);return{lat:t.latitude,lng:t.longitude,elevationM:t.elevation,hour:e,levels:i,credit:nt.CREDIT}}async day(t,e,r,s){const o=await this.options.cache?.get(s);if(o)return JSON.parse(o);const i=["wind_speed_10m","wind_direction_10m",...nt.LEVELS.flatMap(c=>[`wind_speed_${c}hPa`,`wind_direction_${c}hPa`,`geopotential_height_${c}hPa`])],a=new URLSearchParams({latitude:String(t),longitude:String(e),start_date:r,end_date:r,hourly:i.join(","),wind_speed_unit:"ms",timezone:"GMT"}),l=`${this.options.url??nt.URL}?${a}`;for(let c=0;;c++){const m=await this.fetchImpl(l);if(m.ok){const p=await m.text();return await this.options.cache?.set(s,p),JSON.parse(p)}if((m.status===429||m.status>=500)&&c<nt.RETRIES){await this.wait(nt.RETRY_MS*2**c);continue}throw new Error(`The wind archive answered ${m.status} for ${s}`)}}}class X{static at(t,e){const r=t.levels;if(e<=r[0].aboveGroundM)return{...r[0].wind};for(let s=1;s<r.length;s++){const o=r[s-1],i=r[s];if(e<=i.aboveGroundM){const a=(e-o.aboveGroundM)/(i.aboveGroundM-o.aboveGroundM),[l,c]=X.vector(o.wind),[m,p]=X.vector(i.wind);return X.fromVector(l+a*(m-l),c+a*(p-c))}}return{...r[r.length-1].wind}}static vector(t){const e=t.towardDeg*Math.PI/180;return[t.speedMS*Math.sin(e),t.speedMS*Math.cos(e)]}static fromVector(t,e){return{towardDeg:(Math.atan2(t,e)*180/Math.PI+360)%360,speedMS:Math.hypot(t,e)}}static rounded(t){return{towardDeg:Math.round(t.towardDeg)%360,speedMS:Math.round(t.speedMS*100)/100}}}const Zs=Object.freeze(Object.defineProperty({__proto__:null,OpenMeteoWindProfiles:nt,Winds:X},Symbol.toStringTag,{value:"Module"})),xn=X.rounded,We={key:"flares",messages:vn,phenomenon:()=>"DecoyFlare",inWind:(n,t)=>({...n,wind:xn(t.at(n.aircraft.altitudeM))}),compute:()=>d(async()=>{const{DecoyFlare:n}=await import("./DecoyFlare-DUt1_LcW.js");return{DecoyFlare:n}},[],import.meta.url).then(({DecoyFlare:n})=>t=>n.bodiesOf(t))},Mn=_.catalog({en:()=>d(()=>import("./LanternKindMessages_en-CQXdJ-k6.js"),[],import.meta.url).then(n=>n.lanternKindMessages_en),fr:()=>d(()=>import("./LanternKindMessages_fr-D7tQa_tQ.js"),[],import.meta.url).then(n=>n.lanternKindMessages_fr),es:()=>d(()=>import("./LanternKindMessages_es-BOO6kPjs.js"),[],import.meta.url).then(n=>n.lanternKindMessages_es),it:()=>d(()=>import("./LanternKindMessages_it-B8J-29Mj.js"),[],import.meta.url).then(n=>n.lanternKindMessages_it)}),Ye=X.rounded,Xe={key:"lanterns",messages:Mn,phenomenon:()=>"SkyLantern",inWind:(n,t)=>{const e=n.site.altitudeM??0,r=n.windAloft?.atM??1e3;return{...n,wind:Ye(t.at(10)),windAloft:{...Ye(t.at(e+r)),atM:r}}},compute:()=>d(async()=>{const{SkyLantern:n}=await import("./SkyLantern-DJT_Ibzh.js");return{SkyLantern:n}},__vite__mapDeps([0,1]),import.meta.url).then(({SkyLantern:n})=>(t,e)=>n.bodiesOf(t,e?.obstacles)),editor:()=>d(async()=>{const{LanternEditor:n}=await import("./LanternEditor-DEeA3Kf_.js");return{LanternEditor:n}},__vite__mapDeps([2,3,4,5,0,1,6,7,8]),import.meta.url).then(({LanternEditor:n})=>(t,e,r)=>new n(t,e,r))},An=_.catalog({en:()=>d(()=>import("./BirdKindMessages_en-c_-L7frF.js"),[],import.meta.url).then(n=>n.birdKindMessages_en),fr:()=>d(()=>import("./BirdKindMessages_fr-C1TuqqEj.js"),[],import.meta.url).then(n=>n.birdKindMessages_fr),es:()=>d(()=>import("./BirdKindMessages_es-8Zo2t0o4.js"),[],import.meta.url).then(n=>n.birdKindMessages_es),it:()=>d(()=>import("./BirdKindMessages_it-DQZcrCkf.js"),[],import.meta.url).then(n=>n.birdKindMessages_it)}),Je={key:"birds",messages:An,phenomenon:()=>"Birds",compute:()=>d(async()=>{const{BirdFlock:n}=await import("./BirdFlock-ByBkJV35.js").then(t=>t.b);return{BirdFlock:n}},__vite__mapDeps([9,1]),import.meta.url).then(({BirdFlock:n})=>(t,e)=>n.bodiesOf(t,e?.obstacles)),editor:()=>d(async()=>{const{BirdEditor:n}=await import("./BirdEditor-CBVGyUnK.js");return{BirdEditor:n}},__vite__mapDeps([10,3,4,5,9,1,8,11]),import.meta.url).then(({BirdEditor:n})=>(t,e,r)=>new n(t,e,r))},Tn=_.catalog({en:()=>d(()=>import("./DroneKindMessages_en-CLygXcsv.js"),[],import.meta.url).then(n=>n.droneKindMessages_en),fr:()=>d(()=>import("./DroneKindMessages_fr-CAX15_pk.js"),[],import.meta.url).then(n=>n.droneKindMessages_fr),es:()=>d(()=>import("./DroneKindMessages_es-B9XFRYnQ.js"),[],import.meta.url).then(n=>n.droneKindMessages_es),it:()=>d(()=>import("./DroneKindMessages_it-CSGsCaJQ.js"),[],import.meta.url).then(n=>n.droneKindMessages_it)}),Ze={quadcopter:"ConsumerDrone",saucer:"ConsumerDrone","fixed-wing":"MilitaryDrone"},Qe={key:"drones",messages:Tn,phenomenon:n=>Ze[n.airframe]??Ze.quadcopter,compute:()=>d(async()=>{const{DroneFlight:n}=await import("./DroneFlight-CGNIh9XS.js").then(t=>t.c);return{DroneFlight:n}},__vite__mapDeps([12,13]),import.meta.url).then(({DroneFlight:n})=>t=>n.bodiesOf(t)),editor:()=>d(async()=>{const{DroneEditor:n}=await import("./DroneEditor-7X9CM_3H.js");return{DroneEditor:n}},__vite__mapDeps([14,3,4,5,15,12,13,8,11]),import.meta.url).then(({DroneEditor:n})=>(t,e,r)=>new n(t,e,r))},In=_.catalog({en:()=>d(()=>import("./BalloonKindMessages_en-C6tZ-5gT.js"),[],import.meta.url).then(n=>n.balloonKindMessages_en),fr:()=>d(()=>import("./BalloonKindMessages_fr-C3QJIuDJ.js"),[],import.meta.url).then(n=>n.balloonKindMessages_fr),es:()=>d(()=>import("./BalloonKindMessages_es-BfoEjhe1.js"),[],import.meta.url).then(n=>n.balloonKindMessages_es),it:()=>d(()=>import("./BalloonKindMessages_it-CkO7mqHp.js"),[],import.meta.url).then(n=>n.balloonKindMessages_it)}),Qs=["round","star","heart","figure"];class he{static HELIUM_KG_MOL=.0040026;static ALL=[{id:"hot-air",modelId:"ufoathome-balloon-hot-air",envelope:"open",launchVolumeM3:2550,maxVolumeM3:2550,massKg:540,dragCoefficient:.5,aspect:1.461,widthM:16.5,color:"#c8202f",stripeColor:"#f5c400",albedo:.4,burner:{heatingKS:1.2,coolingS:400,blastS:6,maxExcessK:100,flameCdM2:2e4,envelopeCdM2:40,color:"#ffb347"},phenomenon:"WeatherBalloonsOrMongolfieres",durationS:3600},{id:"party",modelId:"ufoathome-balloon-latex",envelope:"elastic",launchVolumeM3:.0115,maxVolumeM3:.0335,massKg:.0045,dragCoefficient:.47,aspect:1.13,color:"#d8263a",albedo:.35,phenomenon:"WeatherBalloonsOrMongolfieres",durationS:3600},{id:"led",modelId:"ufoathome-balloon-led",envelope:"elastic",launchVolumeM3:.0141,maxVolumeM3:.041,massKg:.0075,dragCoefficient:.47,aspect:1.115,color:"#ffffff",albedo:.5,glow:{candela:.5,color:"#ffffff"},phenomenon:"LedBalloon",durationS:3600},{id:"foil",modelId:"ufoathome-balloon-foil",envelope:"vented",launchVolumeM3:.014,maxVolumeM3:.014,massKg:.01,dragCoefficient:.6,aspect:1.034,widthM:.45,depthRatio:.267,color:"#c9cdd2",albedo:.85,finish:"mirror",spins:!0,shapes:{round:{modelId:"ufoathome-balloon-foil",aspect:1.034,widthM:.45,depthRatio:.267,launchVolumeM3:.014,maxVolumeM3:.014,massKg:.01,color:"#c9cdd2"},star:{modelId:"ufoathome-balloon-foil-star",aspect:1.029,widthM:.5,depthRatio:.183,launchVolumeM3:.012,maxVolumeM3:.012,massKg:.009,color:"#e0b83a"},heart:{modelId:"ufoathome-balloon-foil-heart",aspect:.903,widthM:.5,depthRatio:.2,launchVolumeM3:.014,maxVolumeM3:.014,massKg:.01,color:"#d81e3c"},figure:{modelId:"ufoathome-balloon-foil-figure",aspect:1.112,widthM:.8,depthRatio:.127,launchVolumeM3:.05,maxVolumeM3:.05,massKg:.03,color:"#f0a3c8"}},phenomenon:"FoilBalloon",durationS:3600},{id:"pilot",modelId:"ufoathome-balloon-latex",envelope:"elastic",launchVolumeM3:.144,maxVolumeM3:.57,massKg:.045,dragCoefficient:.4,aspect:1.13,color:"#f0e6cf",albedo:.55,lamp:{candela:1,color:"#fff1c4"},phenomenon:"WeatherBalloonsOrMongolfieres",durationS:5400},{id:"weather",modelId:"ufoathome-balloon-latex",envelope:"elastic",launchVolumeM3:1.75,maxVolumeM3:118.9,massKg:.85,dragCoefficient:.3,aspect:1.13,color:"#f2ece0",albedo:.55,phenomenon:"WeatherBalloonsOrMongolfieres",durationS:7200},{id:"stratospheric",modelId:"ufoathome-balloon-stratospheric",envelope:"vented",launchVolumeM3:219,maxVolumeM3:14e3,massKg:210,dragCoefficient:.4,aspect:.91,color:"#e9eef2",albedo:.8,ballastKg:20,phenomenon:"StratosphericBalloons",durationS:10800},{id:"stratospheric-large",modelId:"ufoathome-balloon-stratospheric",envelope:"vented",launchVolumeM3:730,maxVolumeM3:15e4,massKg:700,dragCoefficient:.4,aspect:.91,color:"#e9eef2",albedo:.8,ballastKg:140,phenomenon:"StratosphericBalloons",durationS:14400},{id:"superpressure",modelId:"ufoathome-balloon-latex",envelope:"superpressure",launchVolumeM3:45,maxVolumeM3:523,massKg:44,dragCoefficient:.4,aspect:1.13,color:"#eef1f4",albedo:.8,phenomenon:"StratosphericBalloons",durationS:10800},{id:"infrared",modelId:"ufoathome-balloon-stratospheric",envelope:"open",launchVolumeM3:2075,maxVolumeM3:45e3,massKg:150,dragCoefficient:.4,aspect:.91,color:"#9aa0a8",albedo:.4,insideExcessK:20,phenomenon:"StratosphericBalloons",durationS:10800},{id:"prank-candles",modelId:"ufoathome-balloon-prank",envelope:"open",launchVolumeM3:.25,maxVolumeM3:.25,massKg:.02,dragCoefficient:.6,aspect:1.515,widthM:.6,color:"#f4f4f4",albedo:.6,insideExcessK:60,spins:!0,sways:!0,flames:{count:4,candela:.5,color:"#ffb347",burnS:720,coolingS:15},phenomenon:"SkyLantern",durationS:1200},{id:"prank-flares",modelId:"ufoathome-balloon-prank",envelope:"open",launchVolumeM3:2,maxVolumeM3:2,massKg:.3,dragCoefficient:.6,aspect:1.515,widthM:1.2,color:"#2b2d30",albedo:.1,insideExcessK:80,spins:!0,sways:!0,flames:{count:1,candela:150,color:"#ff3a20",burnS:900,coolingS:30},phenomenon:"SkyLantern",durationS:1500},{id:"anti-hail",modelId:"ufoathome-balloon-latex",envelope:"elastic",launchVolumeM3:.65,maxVolumeM3:8,massKg:.4,dragCoefficient:.35,aspect:1.13,color:"#f2ece0",albedo:.55,torch:{aboveM:600,candela:300,color:"#ff9a3c",burnS:90,fallMS:4},phenomenon:"ParachuteFlare",durationS:1200},{id:"solar",modelId:"ufoathome-balloon-latex",envelope:"open",launchVolumeM3:14,maxVolumeM3:14,massKg:.4,dragCoefficient:.47,aspect:1.13,color:"#151515",albedo:.05,insideExcessK:10,phenomenon:"WeatherBalloonsOrMongolfieres",durationS:3600},{id:"captive",modelId:"ufoathome-balloon-latex",envelope:"sealed",tethered:!0,launchVolumeM3:14,maxVolumeM3:14,massKg:8,dragCoefficient:.47,aspect:1.13,color:"#f4f4f4",albedo:.7,phenomenon:"WeatherBalloonsOrMongolfieres",durationS:3600}];static byId(t){return he.ALL.find(e=>e.id===t)}}const tr=X.rounded,er={key:"balloons",messages:In,phenomenon:n=>{const t=typeof n.balloon=="string"?n.balloon:n.balloon?.id;return(he.byId(t)??he.ALL[0]).phenomenon},inWind:(n,t)=>{const e=n.site.altitudeM??0;return{...n,wind:tr(t.at(10)),windsAloft:t.levels.filter(r=>r>e+10).map(r=>({...tr(t.at(r)),atM:Math.round(r-e)}))}},compute:()=>d(async()=>{const{BalloonFlight:n}=await import("./BalloonFlight-CvE7AHlm.js");return{BalloonFlight:n}},[],import.meta.url).then(({BalloonFlight:n})=>t=>n.bodiesOf(t)),editor:()=>d(async()=>{const{BalloonEditor:n}=await import("./BalloonEditor-BBAtMeVM.js");return{BalloonEditor:n}},__vite__mapDeps([16,3,4,5,15,12,13,17,6,7,8]),import.meta.url).then(({BalloonEditor:n})=>(t,e,r)=>new n(t,e,r))},_n=_.catalog({en:()=>d(()=>import("./AirshipKindMessages_en-DzGapVTV.js"),[],import.meta.url).then(n=>n.airshipKindMessages_en),fr:()=>d(()=>import("./AirshipKindMessages_fr-BTXNsW5W.js"),[],import.meta.url).then(n=>n.airshipKindMessages_fr),es:()=>d(()=>import("./AirshipKindMessages_es-TE93uMSC.js"),[],import.meta.url).then(n=>n.airshipKindMessages_es),it:()=>d(()=>import("./AirshipKindMessages_it-Cwa3MnJ-.js"),[],import.meta.url).then(n=>n.airshipKindMessages_it)}),le=(n,t,e,r=5)=>({"nav-left":{color:"#ff2a1a",candela:r,leds:[{at:n,radiusM:.06}]},"nav-right":{color:"#2aff5a",candela:r,leds:[{at:t,radiusM:.06}]},tail:{color:"#ffffff",candela:r,leds:[{at:e,radiusM:.06}]}});class fe{static ALL=[{id:"blimp",modelId:"ufoathome-airship-blimp",sizeM:{widthM:14.72,lengthM:59.46,heightM:17.59},cruiseMS:15,maxSpeedMS:22,color:"#c9ccd1",finColor:"#1d3f8a",albedo:.6,sign:{color:"#fff4d8",luminanceCdM2:150,lit:!0},lights:{...le([-1.22,-8.6,-9],[1.22,-8.6,-9],[0,0,29.7]),strobe:{color:"#ffffff",candela:400,hz:1,flashS:.06,leds:[{at:[0,-10.15,-9],radiusM:.08}]}},sound:"light-piston",phenomenon:"Airship"},{id:"zeppelin-nt",modelId:"ufoathome-airship-zeppelin-nt",sizeM:{widthM:18.2,lengthM:75.11,heightM:19.55},cruiseMS:19,maxSpeedMS:35,color:"#eef0f2",finColor:"#eef0f2",albedo:.75,sign:{color:"#fff4d8",luminanceCdM2:150,lit:!1},lights:{...le([-1.32,-8.4,-14],[1.32,-8.4,-14],[0,0,37.5]),strobe:{color:"#ffffff",candela:400,hz:1,flashS:.06,leds:[{at:[0,-9.65,-14],radiusM:.08}]}},sound:"light-piston",phenomenon:"Airship"},{id:"lightship",modelId:"ufoathome-airship-lightship",sizeM:{widthM:10.16,lengthM:39.66,heightM:11.98},cruiseMS:13,maxSpeedMS:20,color:"#f4f4f2",finColor:"#f4f4f2",albedo:.7,glowCdM2:20,lights:le([-.82,-5.9,-6],[.82,-5.9,-6],[0,0,19.8]),sound:"light-piston",phenomenon:"Airship"},{id:"aerostat",modelId:"ufoathome-airship-aerostat",sizeM:{widthM:25.14,lengthM:63.6,heightM:27.05},cruiseMS:0,maxSpeedMS:0,tethered:!0,color:"#f2f2f0",finColor:"#f2f2f0",albedo:.7,lights:{nose:{color:"#ff2a1a",candela:2e3,hz:.5,flashS:.6,leds:[{at:[0,-4.2,-30],radiusM:.12}]},stern:{color:"#ff2a1a",candela:2e3,hz:.5,flashS:.6,leds:[{at:[0,-6.3,22],radiusM:.12}]}},phenomenon:"Airship"},{id:"rigid",modelId:"ufoathome-airship-rigid",sizeM:{widthM:33.38,lengthM:236.66,heightM:35.79},cruiseMS:32,maxSpeedMS:36,color:"#b9bcbf",finColor:"#b9bcbf",albedo:.55,lights:le([-3.02,-16.5,-80],[3.02,-16.5,-80],[0,0,118.3],10),sound:"piston-heavy",phenomenon:"Airship"}];static byId(t){return fe.ALL.find(e=>e.id===t)}}const rr={key:"airships",messages:_n,phenomenon:n=>{const t=typeof n.airship=="string"?n.airship:n.airship?.id;return(fe.byId(t)??fe.ALL[0]).phenomenon},compute:()=>d(async()=>{const{AirshipFlight:n}=await import("./AirshipFlight-6yYGIRn8.js");return{AirshipFlight:n}},__vite__mapDeps([18,12,13]),import.meta.url).then(({AirshipFlight:n})=>t=>n.bodiesOf(t)),editor:()=>d(async()=>{const{AirshipEditor:n}=await import("./AirshipEditor-EBfUtSiB.js");return{AirshipEditor:n}},__vite__mapDeps([19,3,4,5,15,12,13,18,8,11]),import.meta.url).then(({AirshipEditor:n})=>(t,e,r)=>new n(t,e,r))},Qr=A.point("interpretations").provide(A.BUILT_IN,[{id:We.key,name:"Decoy flares",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>We},{id:Xe.key,name:"Sky lanterns",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>Xe},{id:Je.key,name:"Birds",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>Je},{id:Qe.key,name:"Drones",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>Qe},{id:er.key,name:"Balloons",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>er},{id:rr.key,name:"Airships",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>rr}]);class $e{static kinds(){return Qr.map(t=>N.of(t))}}const to=Object.freeze(Object.defineProperty({__proto__:null,INTERPRETATION_SOURCES:Qr,InterpretationRegistry:$e},Symbol.toStringTag,{value:"Module"}));class z{static SIGHTING_EVENT="sighting";static INTERPRETATION_EVENT="interpretation";static INTERVIEW_EVENT="interview";static check(t){return ht.check(t,"case")}static isCase(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&Array.isArray(t.events)&&!("timeline"in t)}static sightingUrls(t,e){return(t.events??[]).filter(r=>r.eventType===z.SIGHTING_EVENT&&!r.interpretationOf&&typeof r.url=="string"&&r.url!=="").map(r=>new URL(r.url,e).href)}static accountIds(t,e,r,s){const o=(t.events??[]).filter(i=>i.eventType===z.SIGHTING_EVENT&&i.id!==void 0&&typeof i.url=="string"&&r!==void 0&&new URL(i.url,e).href===r).map(i=>i.id);return s!==void 0&&o.push(s),o}static interpretationEvents(t,e){const r=[e].flat().filter(s=>!!s);return r.length===0?[]:(t.events??[]).filter(s=>s.eventType===z.INTERPRETATION_EVENT?s.sighting!==void 0&&r.includes(s.sighting):s.eventType!==z.SIGHTING_EVENT||s.interpretationOf===void 0?!1:[s.interpretationOf].flat().some(o=>r.includes(o))).map(s=>s)}static problems(t,e){const r=t.events??[],s=new Set,o=new Set;for(const a of r)a.id!==void 0&&(s.has(a.id)&&o.add(a.id),s.add(a.id));const i=[];for(const a of r){const l=a.eventType===z.SIGHTING_EVENT?a.interpretationOf:a.eventType===z.INTERVIEW_EVENT?a.interviewOf:void 0;if(l!==void 0)for(const c of[l].flat())!s.has(c)&&!e.includes(c)&&i.push({reading:a.url??a.id??"",reference:c})}return{duplicateIds:[...o],unresolved:i}}static async interpretationOf(t,e,r){if(t.bodies)return z.withModelsFrom(j.strip({title:t.title,bodies:t.bodies??[],smoke:t.smoke,findings:t.findings,...N.computedPart(t,$e.kinds())}).recording,e);if(!t.url)return{title:t.title,bodies:[]};const s=new URL(t.url,e).href,o=await r(s),i=j.strip("timeline"in o&&o.interpretation?o.interpretation:o).recording;return z.withModelsFrom({title:t.title??i.title,bodies:i.bodies??[],smoke:i.smoke,findings:i.findings,...N.computedPart(i,$e.kinds())},s)}static withModelsFrom(t,e){return{...t,bodies:t.bodies.map(r=>r.model?.url?{...r,model:{...r.model,url:new URL(r.model.url,e).href}}:r)}}}class F{static files=new Map;static hold(t){for(const[e,r]of t)F.files.set(F.key(e),r)}static releaseCopies(){for(const[t,e]of F.files)e.local||F.files.delete(t)}static clear(){F.files.clear()}static localBase(){return new URL(`local/${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}/`,location.href).href}static read(t){const e=F.files.get(F.key(t));return e===void 0?void 0:structuredClone(e.json)}static changed(...t){return t.some(e=>e!==void 0&&F.files.get(F.key(e))?.changed===!0)}static local(t){return t!==void 0&&F.files.get(F.key(t))?.local===!0}static key(t){const e=new URL(t,location.href);return e.hash="",e.href}}class Q{static NAMES=["weather","place","lightPollution","decor"];static KEYS={weather:["weatherTrack","weatherSource"],place:["place"],lightPollution:["lightPollution"],decor:["decor"]};static annexName(t,e){return`${t}.${e.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`)}.json`}static taken(t,e){const r={};if(t==="decor")return Array.isArray(e.decor)&&(r.decor=e.decor.filter(Q.surveyed)),r;for(const s of Q.KEYS[t])e[s]!==void 0&&(r[s]=e[s]);return r}static strip(t,e){if(t==="decor"){const r=Array.isArray(e.decor)?e.decor.filter(s=>!Q.surveyed(s)):[];r.length>0?e.decor=r:delete e.decor;return}for(const r of Q.KEYS[t])delete e[r]}static put(t,e,r){if(t==="decor"){if(!Array.isArray(r.decor))return;const s=Array.isArray(e.decor)?e.decor.filter(o=>!Q.surveyed(o)):[];e.decor=[...s,...r.decor];return}for(const s of Q.KEYS[t])r[s]!==void 0&&(e[s]=r[s])}static surveyed(t){return typeof t=="object"&&t!==null&&typeof t.origin=="string"}static fromFile(t,e){return t?.[e]!==void 0&&t[e].live!==!0}}class tn{static NAMES=["relief","imagery","roads","water","railways","upperAir","map"];static TERRAIN=["relief","imagery","roads","water","railways"];static held(t,e){if(!t||t.live)return;const r=t[e];return r&&!r.live&&!r.refresh&&r.src!==void 0?r:void 0}static isLive(t,e){return t?.live===!0||t?.[e]?.live===!0}static annexName(t,e){const r=e==="relief"||e==="imagery"||e==="map"?"zip":"json",s=e.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`);return`${t}.${s}.${r}`}static isEmpty(t){return!t||!t.live&&tn.NAMES.every(e=>!t[e])&&Q.NAMES.every(e=>!t[e])}}class xt extends Error{constructor(t,e,r){super(`${t}: ${e}${r===void 0?"":` (HTTP ${r})`}`),this.kind=t,this.url=e,this.status=r,this.name="SightingFetchError"}}class jt{static async recording(t){const e=F.read(t);if(e!==void 0)return e;const r=await jt.json(t);for(const s of Q.NAMES){const o=r?.snapshots?.[s];if(!(!o?.src||o.live))try{const i=ht.recording(await jt.json(new URL(o.src,new URL(t,location.href)).href));Q.put(s,r,i)}catch{}}return r}static async json(t){const e=new URL(t,location.href),r=F.read(e.href);if(r!==void 0)return r;if(location.protocol==="https:"&&e.protocol==="http:")throw new xt("mixed-content",t);let s;try{s=await fetch(t)}catch{throw await this.diagnose(t,e)}if(!s.ok)throw new xt("status",t,s.status);try{return await s.json()}catch{throw new xt("malformed",t)}}static async diagnose(t,e){if(e.origin===location.origin)return new xt("unreachable",t);try{return await fetch(t,{mode:"no-cors"}),new xt("cors",t)}catch{return new xt("unreachable",t)}}}const eo=Object.freeze(Object.defineProperty({__proto__:null,SightingFetch:jt,SightingFetchError:xt},Symbol.toStringTag,{value:"Module"}));class Pe{constructor(t,e,r=()=>{}){this.place=t,this.changed=r,e&&this.adopt(e)}reader;editor;handed;get reading(){return this.reader!==void 0}get editorLoaded(){return this.editor!==void 0}adopt(t){this.editor=t,t.switcher=this,t.hasAttribute(ve)||t.setAttribute(ve,""),t.addEventListener(gn,e=>{e.preventDefault();const r=e.detail;this.handed=r.src,this.read(r)})}async read({src:t,track:e}){const[{register:r,CASE_ELEMENT_NAME:s,OPEN_EVENTS_ATTRIBUTE:o},{registerSighting:i,SIGHTING_ELEMENT_NAME:a}]=await Promise.all([d(()=>import("./CaseElement-CTZ3YIL0.js"),__vite__mapDeps([20,21,22,6,7,23,3,4,13,24,25,1,26]),import.meta.url),d(()=>import("./SightingElement-CFItfa0b.js"),__vite__mapDeps([26,22,6,7,23,3,4,13,24,25,1]),import.meta.url)]);i(),r();const l=z.isCase(F.read(t)??await jt.json(t)),c=document.createElement(l?s:a);c.setAttribute(ve,""),c.setAttribute("show-labels",""),l&&e&&c.setAttribute(o,Pe.fileKey(e)),c.setAttribute("src",t),c.addEventListener(wn,m=>{m.preventDefault(),this.edit(m.detail)}),this.reader?.remove(),this.place(c),this.editor&&(this.editor.hidden=!0),this.reader=c,this.changed({mode:"read",src:t,...e?{track:e}:{}})}async edit(t){const e=this.editor;if(e){if(this.dropReader(),F.releaseCopies(),e.hidden=!1,this.changed({mode:"edit"}),t?.src!==void 0&&t.src!==this.handed){this.load(e,t.src,t.track);return}t?.track&&await e.openTrack(t.track);return}const{register:r,CASE_EDITOR_ELEMENT_NAME:s}=await d(async()=>{const{register:i,CASE_EDITOR_ELEMENT_NAME:a}=await import("./CaseEditorElement-CPt1laCe.js").then(l=>l.a);return{register:i,CASE_EDITOR_ELEMENT_NAME:a}},__vite__mapDeps([27,3,4,8,21,22,6,7,23,13,24,25,1,28,29,11,30,31,32,33]),import.meta.url);r();const o=document.createElement(s);this.adopt(o),t?.track&&o.setAttribute("track",t.track),t?.src?o.setAttribute("src",t.src):t?.start&&(o.caseStart=t.start),this.dropReader(),this.place(o),this.changed({mode:"edit"})}async open(t){const e=this.editor;if(this.reading||!e)return this.read({src:t});this.load(e,t)}load(t,e,r){this.handed=void 0,r?t.setAttribute("track",r):t.removeAttribute("track"),t.setAttribute("src",e)}async startNew(t){const e=this.editor;if(!e)return this.edit(t?{start:t}:void 0);this.reading&&await this.edit(),e.askBeforeReplacing(()=>{e.remove(),this.editor=void 0,this.edit(t?{start:t}:void 0)})}dropReader(){this.reader?.remove(),this.reader=void 0}static fileKey(t){return new URL(t,location.href).pathname.split("/").pop().replace(/\.json$/i,"")}}const Fe="rr0-input-file",en={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"},Nn=`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./SkyLantern-DJT_Ibzh.js","./Obstacles-v9SkfBD7.js","./LanternEditor-DEeA3Kf_.js","./SaidPosition-OJEYhVKN.js","./GeoProjection-DvqDbRIx.js","./SkyEventEditorStyle-CvY_AhbI.js","./Sighting-C1yj2-s5.js","./VisualAids-DI-hEL46.js","./ParameterForm-XbqxCLRn.js","./BirdFlock-ByBkJV35.js","./BirdEditor-CBVGyUnK.js","./TimelineTracks-Daaqw9ly.js","./DroneFlight-CGNIh9XS.js","./Decor-Dn-cvniW.js","./DroneEditor-7X9CM_3H.js","./DroneParameters-CfTAaLCT.js","./BalloonEditor-BBAtMeVM.js","./BalloonFlight-CvE7AHlm.js","./AirshipFlight-6yYGIRn8.js","./AirshipEditor-EBfUtSiB.js","./CaseElement-Bm6xPD0e.js","./ColumnResize-DksRZriL.js","./ShareDialogElement-DMDY7Hlo.js","./three.module-CbaHqYFq.js","./RecordingIssue-BlWT8Xsu.js","./xyzImageryRaster-Dhxs0B26.js","./SightingElement-DZlh5u4N.js","./CaseEditorElement-CK82yjEn.js","./PoherSelfCheck-BjmenygA.js","./PoherMatrix-C2fcLqDH.js","./ReentryArchive-CeXHrU7L.js","./ReferenceTimeline-2kBldQeG.js","./upperAirSources-BU0pD84c.js","./Account-C4jhsVtN.js","./UfoMessages_en-D5OYWJ3K.js","./SightingEditorMessages_en-CS2iXwDm.js","./SightingLabels_en-trAaLk8Q.js","./SightingEditorMessages_fr-AYgrnKFD.js","./SightingLabels_fr-BVnntoiD.js","./SightingEditorMessages_es-C8Vw_4b_.js","./SightingLabels_es-Geji-Hhz.js","./SightingEditorMessages_it-DZyzwScx.js","./SightingLabels_it-B9FWbLXW.js","./SightingMessages_en-D90vDTQ7.js","./SightingMessages_fr-Gq3IMFTE.js","./SightingMessages_es-D8laK6OY.js","./SightingMessages_it-BXDxv-lE.js","./UfoAtHomeMessages_en-ByVu39KF.js","./ConsentMessages_en-DBKCeDAn.js","./UfoAtHomeMessages_fr-nTqRf0ZK.js","./ConsentMessages_fr-FGSpqzMc.js","./UfoAtHomeMessages_es-D9bLboxq.js","./ConsentMessages_es-Dby74lUq.js","./UfoAtHomeMessages_it-4cZC5-y5.js","./ConsentMessages_it-BJWfXH6I.js","./SceneNames_en-sRbx6EJZ.js","./SceneNames_fr-BtTlti4C.js","./SceneNames_es-pnfHB-7D.js","./SceneNames_it-DQKwdCVD.js","./ModuleSession-Dac4fD0X.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
const hn="modulepreload",fn=function(n,t){return new URL(n,t).href},ze={},d=function(t,e,r){let s=Promise.resolve();if(e&&e.length>0){let i=function(m){return Promise.all(m.map(p=>Promise.resolve(p).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");s=i(e.map(m=>{if(m=fn(m,r),m in ze)return;ze[m]=!0;const p=m.endsWith(".css"),f=p?'[rel="stylesheet"]':"";if(!!r)for(let E=a.length-1;E>=0;E--){const G=a[E];if(G.href===m&&(!p||G.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${f}`))return;const S=document.createElement("link");if(S.rel=p?"stylesheet":hn,p||(S.as="script"),S.crossOrigin="",S.href=m,c&&S.setAttribute("nonce",c),document.head.appendChild(S),p)return new Promise((E,G)=>{S.addEventListener("load",E),S.addEventListener("error",()=>G(new Error(`Unable to preload CSS for ${m}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},gn="rr0-read",wn="rr0-edit",ve="in-place",yn="rr0-mode";class Xs{static ask(t,e,r){const s=new CustomEvent(e,{detail:r,bubbles:!0,composed:!0,cancelable:!0});return t.dispatchEvent(s),s.defaultPrevented}}class j{constructor(t){this.entries=t}static same(t,e){return typeof t=="number"&&typeof e=="number"?t===e||Math.abs(t-e)<=1e-9*Math.max(1,Math.abs(t),Math.abs(e)):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((r,s)=>j.same(r,e[s])):typeof t=="object"&&t!==null&&typeof e=="object"&&e!==null&&!Array.isArray(t)&&!Array.isArray(e)?[...new Set([...Object.keys(t),...Object.keys(e)])].every(s=>j.same(t[s],e[s])):t===e}static free(t){return t?.basis==="assumed"||t?.basis==="fitted"}static empty(){return new j(new Map)}get size(){return this.entries.size}at(t){return this.entries.get(t)}paths(){return[...this.entries.keys()]}sourced(){return[...this.entries].filter(([,t])=>t.source!==void 0).map(([t,e])=>({path:t,basis:e.basis,source:e.source}))}interviewsCited(){const t=[];for(const{source:e}of this.sourced()){const r=e.said?.interview;r!==void 0&&!t.includes(r)&&t.push(r)}return t}pathsFromInterview(t){return this.sourced().filter(({source:e})=>e.said!==void 0&&e.said.interview===t).map(({path:e})=>e)}set(t,e){e.basis==="stated"&&e.rationale===void 0&&e.how===void 0&&e.range===void 0&&e.source===void 0?this.entries.delete(t):this.entries.set(t,e)}clear(t){for(const e of this.entries.keys())(e===t||e.startsWith(`${t}.`))&&this.entries.delete(e)}static strip(t){const e=new j(new Map);return{recording:j.stripValue(t,[],e),provenance:e}}static restore(t,e){if(e.size===0)return t;const r={...t},s=new Set([r]);for(const o of e.paths()){const i=e.at(o),a=o.split("."),l=j.writableHolderOf(r,a,s);if(!l)continue;const c=a[a.length-1],m=l[c];m!==void 0&&(i.of!==void 0&&!j.same(i.of,m)||(l[c]={value:m,...i.basis==="stated"?{}:{basis:i.basis},...i.rationale===void 0?{}:{rationale:i.rationale},...i.how===void 0?{}:{how:i.how},...i.range===void 0?{}:{range:i.range},...i.source===void 0?{}:{source:i.source}}))}return r}static isWrapper(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&"value"in t}static stripValue(t,e,r){return j.isWrapper(t)?(r.set(e.join("."),{basis:t.basis??"stated",...t.rationale===void 0?{}:{rationale:t.rationale},...t.how===void 0?{}:{how:t.how},...t.range===void 0?{}:{range:t.range},...t.source===void 0?{}:{source:t.source},of:t.value}),j.stripValue(t.value,e,r)):Array.isArray(t)?t.map((s,o)=>j.stripValue(s,[...e,String(o)],r)):typeof t=="object"&&t!==null?Object.fromEntries(Object.entries(t).map(([s,o])=>[s,j.stripValue(o,[...e,s],r)])):t}static writableHolderOf(t,e,r){let s=t;for(const o of e.slice(0,-1)){const i=s[o];if(typeof i!="object"||i===null)return;if(r.has(i)){s=i;continue}const a=Array.isArray(i)?[...i]:{...i};r.add(a),s[o]=a,s=a}return s}}class bn extends Error{constructor(t,e,r){super(typeof e=="number"&&Number.isInteger(e)&&e>=1?`This ${t} file is in version ${e} of its format; this UFO@home reads version ${r}. Read it with the UFO@home that reads its version.`:`This ${t} file states ${JSON.stringify(e)} as its format version, which is not a version.`),this.format=t,this.found=e,this.supported=r,this.name="FormatVersionError"}said(t){return t.replace("{found}",typeof this.found=="number"?String(this.found):JSON.stringify(this.found)).replace("{supported}",String(this.supported))}}class ht{static CURRENT={sighting:4,case:1,interview:1};static SCHEMA_BASE="https://ufoathome.org/schema";static schemaUrl(t,e=ht.CURRENT[t]){return`${ht.SCHEMA_BASE}/${e}/${t}.schema.json`}static of(t){if(typeof t!="object"||t===null)return 1;const e=t.version;return e===void 0?1:typeof e=="object"&&e!==null&&"value"in e?e.value:e}static recording(t){return ht.check(t,"sighting")}static check(t,e){const r=ht.of(t),s=ht.CURRENT[e];if(typeof r!="number"||!Number.isInteger(r)||r!==s)throw new bn(e,r,s);return t}}class N{static built=new WeakMap;static computers=new WeakMap;static loading=new WeakMap;static loaded(t,e){return e.every(r=>N.itemsOf(t,r.key).length===0||N.computers.has(r))}static load(t,e){return Promise.all(e.filter(r=>N.itemsOf(t,r.key).length>0&&!N.computers.has(r)).map(r=>{let s=N.loading.get(r);return s||(s=r.compute().then(o=>{N.computers.set(r,o)}),s.catch(()=>N.loading.delete(r)),N.loading.set(r,s)),s.catch(()=>{})})).then(()=>{})}static of(t){let e=N.built.get(t);return e||(e=t.create(),N.built.set(t,e)),e}static itemsOf(t,e){const r=t?.[e];return Array.isArray(r)?r:[]}static computes(t,e){return e.some(r=>N.itemsOf(t,r.key).length>0)}static expand(t,e,r){return N.expandWithKinds(t,e,r).interpretation}static expandWithKinds(t,e,r){const s=new Map,o=new Map;if(!t||!N.computes(t,e))return{interpretation:t,kindOf:s,phenomenonOf:o};const i=e.flatMap(a=>N.itemsOf(t,a.key).flatMap(l=>{const c=N.computers.get(a);if(!c)return[];const m=c(l,r),p=a.phenomenon?.(l);for(const f of m)s.set(f.id,a),p&&o.set(f.id,p);return m}));return{interpretation:{...t,bodies:[...t.bodies,...i]},kindOf:s,phenomenonOf:o}}static phenomena(t,e){const r=new Set;for(const s of e)for(const o of N.itemsOf(t,s.key)){const i=s.phenomenon?.(o);i&&r.add(i)}return r}static computedPart(t,e){const r={};for(const s of e){const o=N.itemsOf(t,s.key);o.length>0&&(r[s.key]=[...o])}return r}static saysNothing(t,e){return t.bodies.length===0&&t.title===void 0&&t.smoke===void 0&&e.every(r=>t[r.key]===void 0)}}const Js=Object.freeze(Object.defineProperty({__proto__:null,InterpretationKinds:N},Symbol.toStringTag,{value:"Module"}));class Zr extends Error{constructor(t,e,r,s){super(`Module "${t}" gives "${r}" at ${e}, which module "${s}" already gives`),this.moduleId=t,this.point=e,this.sourceId=r,this.ownerId=s,this.name="ModuleConflictError"}}class En{constructor(t){this.id=t}sources=[];owners=new Map;ownerOf(t){return this.owners.get(t)}conflict(t,e){for(const r of e){const s=this.owners.get(r.id);if(s!==void 0&&s!==t)return{sourceId:r.id,ownerId:s}}}provide(t,e){const r=this.conflict(t,e);if(r)throw new Zr(t,this.id,r.sourceId,r.ownerId);this.withdraw(t);const s=t===A.BUILT_IN?this.sources.findIndex(o=>this.owners.get(o.id)!==A.BUILT_IN):-1;s<0?this.sources.push(...e):this.sources.splice(s,0,...e);for(const o of e)this.owners.set(o.id,t);return this.sources}withdraw(t){for(let e=this.sources.length-1;e>=0;e--){const r=this.sources[e].id;this.owners.get(r)===t&&(this.sources.splice(e,1),this.owners.delete(r))}}}class A{static BUILT_IN="ufoathome";static changes=new EventTarget;static points=new Map;static modules=new Map;static point(t){let e=A.points.get(t);return e||(e=new En(t),A.points.set(t,e)),e}static install(t){if(t.id===A.BUILT_IN)throw new Error(`"${A.BUILT_IN}" is the id of the built-in module`);const e=A.contributionsOf(t);for(const[o,i]of e){const a=A.point(o).conflict(t.id,i);if(a)throw new Zr(t.id,o,a.sourceId,a.ownerId)}const r=new Set(e.map(([o])=>o)),s=A.modules.get(t.id);if(s)for(const[o]of A.contributionsOf(s))r.add(o);for(const o of r)A.point(o).withdraw(t.id);for(const[o,i]of e)A.point(o).provide(t.id,i);A.modules.set(t.id,t);for(const o of r)A.announce(o)}static uninstall(t){const e=A.modules.get(t);if(e){A.modules.delete(t);for(const[r]of A.contributionsOf(e))A.point(r).withdraw(t),A.announce(r)}}static installed(){return[...A.modules.values()]}static contributionsOf(t){return Object.entries(t.contributes).filter(e=>Array.isArray(e[1])&&e[1].length>0)}static announce(t){A.changes.dispatchEvent(new CustomEvent("change",{detail:t}))}}const Sn=["en","fr","es","it"];class _{static catalog(t){const e=new Map;return{load(r){const s=_.languageOf(r);let o=e.get(s);return o||(o=t[s](),e.set(s,o),o.catch(()=>e.delete(s))),o}}}static none(){return new Proxy({},{get:()=>""})}static blank(){const t=new Proxy(()=>t,{get:(e,r)=>r===Symbol.toPrimitive?()=>"":r===Symbol.iterator?function*(){}:r==="toString"||r==="valueOf"?()=>"":r==="then"?void 0:t,apply:()=>t,has:()=>!1,ownKeys:()=>[],getOwnPropertyDescriptor:()=>{}});return t}static languageOf(t){const e=t.toLowerCase().split("-")[0];return Sn.includes(e)?e:"en"}}const vn=_.catalog({en:()=>d(()=>import("./FlareKindMessages_en-j3CY_TxX.js"),[],import.meta.url).then(n=>n.flareKindMessages_en),fr:()=>d(()=>import("./FlareKindMessages_fr-B2MezoN2.js"),[],import.meta.url).then(n=>n.flareKindMessages_fr),es:()=>d(()=>import("./FlareKindMessages_es-CZgrFIOO.js"),[],import.meta.url).then(n=>n.flareKindMessages_es),it:()=>d(()=>import("./FlareKindMessages_it-CmZmb3RP.js"),[],import.meta.url).then(n=>n.flareKindMessages_it)});class nt{constructor(t={}){this.options=t,this.fetchImpl=t.fetchImpl??fetch.bind(globalThis),this.wait=t.wait??(e=>new Promise(r=>setTimeout(r,e)))}static URL="https://historical-forecast-api.open-meteo.com/v1/forecast";static CREDIT="Open-Meteo historical forecast";static LEVELS=[850,700,600,500,400,300];static RETRIES=6;static RETRY_MS=2e3;days=new Map;fetchImpl;wait;async profile(t,e,r){const o=new Date(Math.floor(r.getTime()/36e5)*36e5),i=(r.getTime()-o.getTime())/36e5,a=await this.hourly(t,e,o);if(i<1e-6)return a;const l=await this.hourly(t,e,new Date(o.getTime()+36e5));return a.levels.length!==l.levels.length?i<.5?a:l:{...a,hour:r.toISOString().slice(0,16),levels:a.levels.map((c,m)=>{const[p,f]=X.vector(c.wind),[y,S]=X.vector(l.levels[m].wind);return{aboveGroundM:c.aboveGroundM+i*(l.levels[m].aboveGroundM-c.aboveGroundM),wind:X.fromVector(p+i*(y-p),f+i*(S-f))}})}}async hourly(t,e,r){const s=r.toISOString().slice(0,13)+":00",o=s.slice(0,10),i=`${t.toFixed(4)},${e.toFixed(4)},${o}`;let a=this.days.get(i);return a||(a=this.day(t,e,o,i),a.catch(()=>this.days.delete(i)),this.days.set(i,a)),nt.profileOf(await a,s)}static profileOf(t,e){const r=t.hourly,s=r.time.indexOf(e);if(s<0)throw new Error(`No wind for ${e} in the archive's answer`);const o=c=>(c+180)%360,i=[],a=r.wind_speed_10m?.[s],l=r.wind_direction_10m?.[s];typeof a=="number"&&typeof l=="number"&&i.push({aboveGroundM:10,wind:{towardDeg:o(l),speedMS:a}});for(const c of nt.LEVELS){const m=r[`geopotential_height_${c}hPa`]?.[s],p=r[`wind_speed_${c}hPa`]?.[s],f=r[`wind_direction_${c}hPa`]?.[s];if(typeof m!="number"||typeof p!="number"||typeof f!="number")continue;const y=m-t.elevation;y<=(i[i.length-1]?.aboveGroundM??0)||i.push({aboveGroundM:y,wind:{towardDeg:o(f),speedMS:p}})}if(i.length===0)throw new Error(`No wind for ${e} in the archive's answer`);return{lat:t.latitude,lng:t.longitude,elevationM:t.elevation,hour:e,levels:i,credit:nt.CREDIT}}async day(t,e,r,s){const o=await this.options.cache?.get(s);if(o)return JSON.parse(o);const i=["wind_speed_10m","wind_direction_10m",...nt.LEVELS.flatMap(c=>[`wind_speed_${c}hPa`,`wind_direction_${c}hPa`,`geopotential_height_${c}hPa`])],a=new URLSearchParams({latitude:String(t),longitude:String(e),start_date:r,end_date:r,hourly:i.join(","),wind_speed_unit:"ms",timezone:"GMT"}),l=`${this.options.url??nt.URL}?${a}`;for(let c=0;;c++){const m=await this.fetchImpl(l);if(m.ok){const p=await m.text();return await this.options.cache?.set(s,p),JSON.parse(p)}if((m.status===429||m.status>=500)&&c<nt.RETRIES){await this.wait(nt.RETRY_MS*2**c);continue}throw new Error(`The wind archive answered ${m.status} for ${s}`)}}}class X{static at(t,e){const r=t.levels;if(e<=r[0].aboveGroundM)return{...r[0].wind};for(let s=1;s<r.length;s++){const o=r[s-1],i=r[s];if(e<=i.aboveGroundM){const a=(e-o.aboveGroundM)/(i.aboveGroundM-o.aboveGroundM),[l,c]=X.vector(o.wind),[m,p]=X.vector(i.wind);return X.fromVector(l+a*(m-l),c+a*(p-c))}}return{...r[r.length-1].wind}}static vector(t){const e=t.towardDeg*Math.PI/180;return[t.speedMS*Math.sin(e),t.speedMS*Math.cos(e)]}static fromVector(t,e){return{towardDeg:(Math.atan2(t,e)*180/Math.PI+360)%360,speedMS:Math.hypot(t,e)}}static rounded(t){return{towardDeg:Math.round(t.towardDeg)%360,speedMS:Math.round(t.speedMS*100)/100}}}const Zs=Object.freeze(Object.defineProperty({__proto__:null,OpenMeteoWindProfiles:nt,Winds:X},Symbol.toStringTag,{value:"Module"})),xn=X.rounded,We={key:"flares",messages:vn,phenomenon:()=>"DecoyFlare",inWind:(n,t)=>({...n,wind:xn(t.at(n.aircraft.altitudeM))}),compute:()=>d(async()=>{const{DecoyFlare:n}=await import("./DecoyFlare-DUt1_LcW.js");return{DecoyFlare:n}},[],import.meta.url).then(({DecoyFlare:n})=>t=>n.bodiesOf(t))},Mn=_.catalog({en:()=>d(()=>import("./LanternKindMessages_en-CQXdJ-k6.js"),[],import.meta.url).then(n=>n.lanternKindMessages_en),fr:()=>d(()=>import("./LanternKindMessages_fr-D7tQa_tQ.js"),[],import.meta.url).then(n=>n.lanternKindMessages_fr),es:()=>d(()=>import("./LanternKindMessages_es-BOO6kPjs.js"),[],import.meta.url).then(n=>n.lanternKindMessages_es),it:()=>d(()=>import("./LanternKindMessages_it-B8J-29Mj.js"),[],import.meta.url).then(n=>n.lanternKindMessages_it)}),Ye=X.rounded,Xe={key:"lanterns",messages:Mn,phenomenon:()=>"SkyLantern",inWind:(n,t)=>{const e=n.site.altitudeM??0,r=n.windAloft?.atM??1e3;return{...n,wind:Ye(t.at(10)),windAloft:{...Ye(t.at(e+r)),atM:r}}},compute:()=>d(async()=>{const{SkyLantern:n}=await import("./SkyLantern-DJT_Ibzh.js");return{SkyLantern:n}},__vite__mapDeps([0,1]),import.meta.url).then(({SkyLantern:n})=>(t,e)=>n.bodiesOf(t,e?.obstacles)),editor:()=>d(async()=>{const{LanternEditor:n}=await import("./LanternEditor-DEeA3Kf_.js");return{LanternEditor:n}},__vite__mapDeps([2,3,4,5,0,1,6,7,8]),import.meta.url).then(({LanternEditor:n})=>(t,e,r)=>new n(t,e,r))},An=_.catalog({en:()=>d(()=>import("./BirdKindMessages_en-c_-L7frF.js"),[],import.meta.url).then(n=>n.birdKindMessages_en),fr:()=>d(()=>import("./BirdKindMessages_fr-C1TuqqEj.js"),[],import.meta.url).then(n=>n.birdKindMessages_fr),es:()=>d(()=>import("./BirdKindMessages_es-8Zo2t0o4.js"),[],import.meta.url).then(n=>n.birdKindMessages_es),it:()=>d(()=>import("./BirdKindMessages_it-DQZcrCkf.js"),[],import.meta.url).then(n=>n.birdKindMessages_it)}),Je={key:"birds",messages:An,phenomenon:()=>"Birds",compute:()=>d(async()=>{const{BirdFlock:n}=await import("./BirdFlock-ByBkJV35.js").then(t=>t.b);return{BirdFlock:n}},__vite__mapDeps([9,1]),import.meta.url).then(({BirdFlock:n})=>(t,e)=>n.bodiesOf(t,e?.obstacles)),editor:()=>d(async()=>{const{BirdEditor:n}=await import("./BirdEditor-CBVGyUnK.js");return{BirdEditor:n}},__vite__mapDeps([10,3,4,5,9,1,8,11]),import.meta.url).then(({BirdEditor:n})=>(t,e,r)=>new n(t,e,r))},Tn=_.catalog({en:()=>d(()=>import("./DroneKindMessages_en-CLygXcsv.js"),[],import.meta.url).then(n=>n.droneKindMessages_en),fr:()=>d(()=>import("./DroneKindMessages_fr-CAX15_pk.js"),[],import.meta.url).then(n=>n.droneKindMessages_fr),es:()=>d(()=>import("./DroneKindMessages_es-B9XFRYnQ.js"),[],import.meta.url).then(n=>n.droneKindMessages_es),it:()=>d(()=>import("./DroneKindMessages_it-CSGsCaJQ.js"),[],import.meta.url).then(n=>n.droneKindMessages_it)}),Ze={quadcopter:"ConsumerDrone",saucer:"ConsumerDrone","fixed-wing":"MilitaryDrone"},Qe={key:"drones",messages:Tn,phenomenon:n=>Ze[n.airframe]??Ze.quadcopter,compute:()=>d(async()=>{const{DroneFlight:n}=await import("./DroneFlight-CGNIh9XS.js").then(t=>t.c);return{DroneFlight:n}},__vite__mapDeps([12,13]),import.meta.url).then(({DroneFlight:n})=>t=>n.bodiesOf(t)),editor:()=>d(async()=>{const{DroneEditor:n}=await import("./DroneEditor-7X9CM_3H.js");return{DroneEditor:n}},__vite__mapDeps([14,3,4,5,15,12,13,8,11]),import.meta.url).then(({DroneEditor:n})=>(t,e,r)=>new n(t,e,r))},In=_.catalog({en:()=>d(()=>import("./BalloonKindMessages_en-C6tZ-5gT.js"),[],import.meta.url).then(n=>n.balloonKindMessages_en),fr:()=>d(()=>import("./BalloonKindMessages_fr-C3QJIuDJ.js"),[],import.meta.url).then(n=>n.balloonKindMessages_fr),es:()=>d(()=>import("./BalloonKindMessages_es-BfoEjhe1.js"),[],import.meta.url).then(n=>n.balloonKindMessages_es),it:()=>d(()=>import("./BalloonKindMessages_it-CkO7mqHp.js"),[],import.meta.url).then(n=>n.balloonKindMessages_it)}),Qs=["round","star","heart","figure"];class he{static HELIUM_KG_MOL=.0040026;static ALL=[{id:"hot-air",modelId:"ufoathome-balloon-hot-air",envelope:"open",launchVolumeM3:2550,maxVolumeM3:2550,massKg:540,dragCoefficient:.5,aspect:1.461,widthM:16.5,color:"#c8202f",stripeColor:"#f5c400",albedo:.4,burner:{heatingKS:1.2,coolingS:400,blastS:6,maxExcessK:100,flameCdM2:2e4,envelopeCdM2:40,color:"#ffb347"},phenomenon:"WeatherBalloonsOrMongolfieres",durationS:3600},{id:"party",modelId:"ufoathome-balloon-latex",envelope:"elastic",launchVolumeM3:.0115,maxVolumeM3:.0335,massKg:.0045,dragCoefficient:.47,aspect:1.13,color:"#d8263a",albedo:.35,phenomenon:"WeatherBalloonsOrMongolfieres",durationS:3600},{id:"led",modelId:"ufoathome-balloon-led",envelope:"elastic",launchVolumeM3:.0141,maxVolumeM3:.041,massKg:.0075,dragCoefficient:.47,aspect:1.115,color:"#ffffff",albedo:.5,glow:{candela:.5,color:"#ffffff"},phenomenon:"LedBalloon",durationS:3600},{id:"foil",modelId:"ufoathome-balloon-foil",envelope:"vented",launchVolumeM3:.014,maxVolumeM3:.014,massKg:.01,dragCoefficient:.6,aspect:1.034,widthM:.45,depthRatio:.267,color:"#c9cdd2",albedo:.85,finish:"mirror",spins:!0,shapes:{round:{modelId:"ufoathome-balloon-foil",aspect:1.034,widthM:.45,depthRatio:.267,launchVolumeM3:.014,maxVolumeM3:.014,massKg:.01,color:"#c9cdd2"},star:{modelId:"ufoathome-balloon-foil-star",aspect:1.029,widthM:.5,depthRatio:.183,launchVolumeM3:.012,maxVolumeM3:.012,massKg:.009,color:"#e0b83a"},heart:{modelId:"ufoathome-balloon-foil-heart",aspect:.903,widthM:.5,depthRatio:.2,launchVolumeM3:.014,maxVolumeM3:.014,massKg:.01,color:"#d81e3c"},figure:{modelId:"ufoathome-balloon-foil-figure",aspect:1.112,widthM:.8,depthRatio:.127,launchVolumeM3:.05,maxVolumeM3:.05,massKg:.03,color:"#f0a3c8"}},phenomenon:"FoilBalloon",durationS:3600},{id:"pilot",modelId:"ufoathome-balloon-latex",envelope:"elastic",launchVolumeM3:.144,maxVolumeM3:.57,massKg:.045,dragCoefficient:.4,aspect:1.13,color:"#f0e6cf",albedo:.55,lamp:{candela:1,color:"#fff1c4"},phenomenon:"WeatherBalloonsOrMongolfieres",durationS:5400},{id:"weather",modelId:"ufoathome-balloon-latex",envelope:"elastic",launchVolumeM3:1.75,maxVolumeM3:118.9,massKg:.85,dragCoefficient:.3,aspect:1.13,color:"#f2ece0",albedo:.55,phenomenon:"WeatherBalloonsOrMongolfieres",durationS:7200},{id:"stratospheric",modelId:"ufoathome-balloon-stratospheric",envelope:"vented",launchVolumeM3:219,maxVolumeM3:14e3,massKg:210,dragCoefficient:.4,aspect:.91,color:"#e9eef2",albedo:.8,ballastKg:20,phenomenon:"StratosphericBalloons",durationS:10800},{id:"stratospheric-large",modelId:"ufoathome-balloon-stratospheric",envelope:"vented",launchVolumeM3:730,maxVolumeM3:15e4,massKg:700,dragCoefficient:.4,aspect:.91,color:"#e9eef2",albedo:.8,ballastKg:140,phenomenon:"StratosphericBalloons",durationS:14400},{id:"superpressure",modelId:"ufoathome-balloon-latex",envelope:"superpressure",launchVolumeM3:45,maxVolumeM3:523,massKg:44,dragCoefficient:.4,aspect:1.13,color:"#eef1f4",albedo:.8,phenomenon:"StratosphericBalloons",durationS:10800},{id:"infrared",modelId:"ufoathome-balloon-stratospheric",envelope:"open",launchVolumeM3:2075,maxVolumeM3:45e3,massKg:150,dragCoefficient:.4,aspect:.91,color:"#9aa0a8",albedo:.4,insideExcessK:20,phenomenon:"StratosphericBalloons",durationS:10800},{id:"prank-candles",modelId:"ufoathome-balloon-prank",envelope:"open",launchVolumeM3:.25,maxVolumeM3:.25,massKg:.02,dragCoefficient:.6,aspect:1.515,widthM:.6,color:"#f4f4f4",albedo:.6,insideExcessK:60,spins:!0,sways:!0,flames:{count:4,candela:.5,color:"#ffb347",burnS:720,coolingS:15},phenomenon:"SkyLantern",durationS:1200},{id:"prank-flares",modelId:"ufoathome-balloon-prank",envelope:"open",launchVolumeM3:2,maxVolumeM3:2,massKg:.3,dragCoefficient:.6,aspect:1.515,widthM:1.2,color:"#2b2d30",albedo:.1,insideExcessK:80,spins:!0,sways:!0,flames:{count:1,candela:150,color:"#ff3a20",burnS:900,coolingS:30},phenomenon:"SkyLantern",durationS:1500},{id:"anti-hail",modelId:"ufoathome-balloon-latex",envelope:"elastic",launchVolumeM3:.65,maxVolumeM3:8,massKg:.4,dragCoefficient:.35,aspect:1.13,color:"#f2ece0",albedo:.55,torch:{aboveM:600,candela:300,color:"#ff9a3c",burnS:90,fallMS:4},phenomenon:"ParachuteFlare",durationS:1200},{id:"solar",modelId:"ufoathome-balloon-latex",envelope:"open",launchVolumeM3:14,maxVolumeM3:14,massKg:.4,dragCoefficient:.47,aspect:1.13,color:"#151515",albedo:.05,insideExcessK:10,phenomenon:"WeatherBalloonsOrMongolfieres",durationS:3600},{id:"captive",modelId:"ufoathome-balloon-latex",envelope:"sealed",tethered:!0,launchVolumeM3:14,maxVolumeM3:14,massKg:8,dragCoefficient:.47,aspect:1.13,color:"#f4f4f4",albedo:.7,phenomenon:"WeatherBalloonsOrMongolfieres",durationS:3600}];static byId(t){return he.ALL.find(e=>e.id===t)}}const tr=X.rounded,er={key:"balloons",messages:In,phenomenon:n=>{const t=typeof n.balloon=="string"?n.balloon:n.balloon?.id;return(he.byId(t)??he.ALL[0]).phenomenon},inWind:(n,t)=>{const e=n.site.altitudeM??0;return{...n,wind:tr(t.at(10)),windsAloft:t.levels.filter(r=>r>e+10).map(r=>({...tr(t.at(r)),atM:Math.round(r-e)}))}},compute:()=>d(async()=>{const{BalloonFlight:n}=await import("./BalloonFlight-CvE7AHlm.js");return{BalloonFlight:n}},[],import.meta.url).then(({BalloonFlight:n})=>t=>n.bodiesOf(t)),editor:()=>d(async()=>{const{BalloonEditor:n}=await import("./BalloonEditor-BBAtMeVM.js");return{BalloonEditor:n}},__vite__mapDeps([16,3,4,5,15,12,13,17,6,7,8]),import.meta.url).then(({BalloonEditor:n})=>(t,e,r)=>new n(t,e,r))},_n=_.catalog({en:()=>d(()=>import("./AirshipKindMessages_en-DzGapVTV.js"),[],import.meta.url).then(n=>n.airshipKindMessages_en),fr:()=>d(()=>import("./AirshipKindMessages_fr-BTXNsW5W.js"),[],import.meta.url).then(n=>n.airshipKindMessages_fr),es:()=>d(()=>import("./AirshipKindMessages_es-TE93uMSC.js"),[],import.meta.url).then(n=>n.airshipKindMessages_es),it:()=>d(()=>import("./AirshipKindMessages_it-Cwa3MnJ-.js"),[],import.meta.url).then(n=>n.airshipKindMessages_it)}),le=(n,t,e,r=5)=>({"nav-left":{color:"#ff2a1a",candela:r,leds:[{at:n,radiusM:.06}]},"nav-right":{color:"#2aff5a",candela:r,leds:[{at:t,radiusM:.06}]},tail:{color:"#ffffff",candela:r,leds:[{at:e,radiusM:.06}]}});class fe{static ALL=[{id:"blimp",modelId:"ufoathome-airship-blimp",sizeM:{widthM:14.72,lengthM:59.46,heightM:17.59},cruiseMS:15,maxSpeedMS:22,color:"#c9ccd1",finColor:"#1d3f8a",albedo:.6,sign:{color:"#fff4d8",luminanceCdM2:150,lit:!0},lights:{...le([-1.22,-8.6,-9],[1.22,-8.6,-9],[0,0,29.7]),strobe:{color:"#ffffff",candela:400,hz:1,flashS:.06,leds:[{at:[0,-10.15,-9],radiusM:.08}]}},sound:"light-piston",phenomenon:"Airship"},{id:"zeppelin-nt",modelId:"ufoathome-airship-zeppelin-nt",sizeM:{widthM:18.2,lengthM:75.11,heightM:19.55},cruiseMS:19,maxSpeedMS:35,color:"#eef0f2",finColor:"#eef0f2",albedo:.75,sign:{color:"#fff4d8",luminanceCdM2:150,lit:!1},lights:{...le([-1.32,-8.4,-14],[1.32,-8.4,-14],[0,0,37.5]),strobe:{color:"#ffffff",candela:400,hz:1,flashS:.06,leds:[{at:[0,-9.65,-14],radiusM:.08}]}},sound:"light-piston",phenomenon:"Airship"},{id:"lightship",modelId:"ufoathome-airship-lightship",sizeM:{widthM:10.16,lengthM:39.66,heightM:11.98},cruiseMS:13,maxSpeedMS:20,color:"#f4f4f2",finColor:"#f4f4f2",albedo:.7,glowCdM2:20,lights:le([-.82,-5.9,-6],[.82,-5.9,-6],[0,0,19.8]),sound:"light-piston",phenomenon:"Airship"},{id:"aerostat",modelId:"ufoathome-airship-aerostat",sizeM:{widthM:25.14,lengthM:63.6,heightM:27.05},cruiseMS:0,maxSpeedMS:0,tethered:!0,color:"#f2f2f0",finColor:"#f2f2f0",albedo:.7,lights:{nose:{color:"#ff2a1a",candela:2e3,hz:.5,flashS:.6,leds:[{at:[0,-4.2,-30],radiusM:.12}]},stern:{color:"#ff2a1a",candela:2e3,hz:.5,flashS:.6,leds:[{at:[0,-6.3,22],radiusM:.12}]}},phenomenon:"Airship"},{id:"rigid",modelId:"ufoathome-airship-rigid",sizeM:{widthM:33.38,lengthM:236.66,heightM:35.79},cruiseMS:32,maxSpeedMS:36,color:"#b9bcbf",finColor:"#b9bcbf",albedo:.55,lights:le([-3.02,-16.5,-80],[3.02,-16.5,-80],[0,0,118.3],10),sound:"piston-heavy",phenomenon:"Airship"}];static byId(t){return fe.ALL.find(e=>e.id===t)}}const rr={key:"airships",messages:_n,phenomenon:n=>{const t=typeof n.airship=="string"?n.airship:n.airship?.id;return(fe.byId(t)??fe.ALL[0]).phenomenon},compute:()=>d(async()=>{const{AirshipFlight:n}=await import("./AirshipFlight-6yYGIRn8.js");return{AirshipFlight:n}},__vite__mapDeps([18,12,13]),import.meta.url).then(({AirshipFlight:n})=>t=>n.bodiesOf(t)),editor:()=>d(async()=>{const{AirshipEditor:n}=await import("./AirshipEditor-EBfUtSiB.js");return{AirshipEditor:n}},__vite__mapDeps([19,3,4,5,15,12,13,18,8,11]),import.meta.url).then(({AirshipEditor:n})=>(t,e,r)=>new n(t,e,r))},Qr=A.point("interpretations").provide(A.BUILT_IN,[{id:We.key,name:"Decoy flares",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>We},{id:Xe.key,name:"Sky lanterns",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>Xe},{id:Je.key,name:"Birds",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>Je},{id:Qe.key,name:"Drones",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>Qe},{id:er.key,name:"Balloons",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>er},{id:rr.key,name:"Airships",credit:"UFO@home",creditUrl:"https://ufoathome.org/docs/format/",create:()=>rr}]);class $e{static kinds(){return Qr.map(t=>N.of(t))}}const to=Object.freeze(Object.defineProperty({__proto__:null,INTERPRETATION_SOURCES:Qr,InterpretationRegistry:$e},Symbol.toStringTag,{value:"Module"}));class z{static SIGHTING_EVENT="sighting";static INTERPRETATION_EVENT="interpretation";static INTERVIEW_EVENT="interview";static check(t){return ht.check(t,"case")}static isCase(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&Array.isArray(t.events)&&!("timeline"in t)}static sightingUrls(t,e){return(t.events??[]).filter(r=>r.eventType===z.SIGHTING_EVENT&&!r.interpretationOf&&typeof r.url=="string"&&r.url!=="").map(r=>new URL(r.url,e).href)}static accountIds(t,e,r,s){const o=(t.events??[]).filter(i=>i.eventType===z.SIGHTING_EVENT&&i.id!==void 0&&typeof i.url=="string"&&r!==void 0&&new URL(i.url,e).href===r).map(i=>i.id);return s!==void 0&&o.push(s),o}static interpretationEvents(t,e){const r=[e].flat().filter(s=>!!s);return r.length===0?[]:(t.events??[]).filter(s=>s.eventType===z.INTERPRETATION_EVENT?s.sighting!==void 0&&r.includes(s.sighting):s.eventType!==z.SIGHTING_EVENT||s.interpretationOf===void 0?!1:[s.interpretationOf].flat().some(o=>r.includes(o))).map(s=>s)}static problems(t,e){const r=t.events??[],s=new Set,o=new Set;for(const a of r)a.id!==void 0&&(s.has(a.id)&&o.add(a.id),s.add(a.id));const i=[];for(const a of r){const l=a.eventType===z.SIGHTING_EVENT?a.interpretationOf:a.eventType===z.INTERVIEW_EVENT?a.interviewOf:void 0;if(l!==void 0)for(const c of[l].flat())!s.has(c)&&!e.includes(c)&&i.push({reading:a.url??a.id??"",reference:c})}return{duplicateIds:[...o],unresolved:i}}static async interpretationOf(t,e,r){if(t.bodies)return z.withModelsFrom(j.strip({title:t.title,bodies:t.bodies??[],smoke:t.smoke,findings:t.findings,...N.computedPart(t,$e.kinds())}).recording,e);if(!t.url)return{title:t.title,bodies:[]};const s=new URL(t.url,e).href,o=await r(s),i=j.strip("timeline"in o&&o.interpretation?o.interpretation:o).recording;return z.withModelsFrom({title:t.title??i.title,bodies:i.bodies??[],smoke:i.smoke,findings:i.findings,...N.computedPart(i,$e.kinds())},s)}static withModelsFrom(t,e){return{...t,bodies:t.bodies.map(r=>r.model?.url?{...r,model:{...r.model,url:new URL(r.model.url,e).href}}:r)}}}class F{static files=new Map;static hold(t){for(const[e,r]of t)F.files.set(F.key(e),r)}static releaseCopies(){for(const[t,e]of F.files)e.local||F.files.delete(t)}static clear(){F.files.clear()}static localBase(){return new URL(`local/${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}/`,location.href).href}static read(t){const e=F.files.get(F.key(t));return e===void 0?void 0:structuredClone(e.json)}static changed(...t){return t.some(e=>e!==void 0&&F.files.get(F.key(e))?.changed===!0)}static local(t){return t!==void 0&&F.files.get(F.key(t))?.local===!0}static key(t){const e=new URL(t,location.href);return e.hash="",e.href}}class Q{static NAMES=["weather","place","lightPollution","decor"];static KEYS={weather:["weatherTrack","weatherSource"],place:["place"],lightPollution:["lightPollution"],decor:["decor"]};static annexName(t,e){return`${t}.${e.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`)}.json`}static taken(t,e){const r={};if(t==="decor")return Array.isArray(e.decor)&&(r.decor=e.decor.filter(Q.surveyed)),r;for(const s of Q.KEYS[t])e[s]!==void 0&&(r[s]=e[s]);return r}static strip(t,e){if(t==="decor"){const r=Array.isArray(e.decor)?e.decor.filter(s=>!Q.surveyed(s)):[];r.length>0?e.decor=r:delete e.decor;return}for(const r of Q.KEYS[t])delete e[r]}static put(t,e,r){if(t==="decor"){if(!Array.isArray(r.decor))return;const s=Array.isArray(e.decor)?e.decor.filter(o=>!Q.surveyed(o)):[];e.decor=[...s,...r.decor];return}for(const s of Q.KEYS[t])r[s]!==void 0&&(e[s]=r[s])}static surveyed(t){return typeof t=="object"&&t!==null&&typeof t.origin=="string"}static fromFile(t,e){return t?.[e]!==void 0&&t[e].live!==!0}}class tn{static NAMES=["relief","imagery","roads","water","railways","upperAir","map"];static TERRAIN=["relief","imagery","roads","water","railways"];static held(t,e){if(!t||t.live)return;const r=t[e];return r&&!r.live&&!r.refresh&&r.src!==void 0?r:void 0}static isLive(t,e){return t?.live===!0||t?.[e]?.live===!0}static annexName(t,e){const r=e==="relief"||e==="imagery"||e==="map"?"zip":"json",s=e.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`);return`${t}.${s}.${r}`}static isEmpty(t){return!t||!t.live&&tn.NAMES.every(e=>!t[e])&&Q.NAMES.every(e=>!t[e])}}class xt extends Error{constructor(t,e,r){super(`${t}: ${e}${r===void 0?"":` (HTTP ${r})`}`),this.kind=t,this.url=e,this.status=r,this.name="SightingFetchError"}}class jt{static async recording(t){const e=F.read(t);if(e!==void 0)return e;const r=await jt.json(t);for(const s of Q.NAMES){const o=r?.snapshots?.[s];if(!(!o?.src||o.live))try{const i=ht.recording(await jt.json(new URL(o.src,new URL(t,location.href)).href));Q.put(s,r,i)}catch{}}return r}static async json(t){const e=new URL(t,location.href),r=F.read(e.href);if(r!==void 0)return r;if(location.protocol==="https:"&&e.protocol==="http:")throw new xt("mixed-content",t);let s;try{s=await fetch(t)}catch{throw await this.diagnose(t,e)}if(!s.ok)throw new xt("status",t,s.status);try{return await s.json()}catch{throw new xt("malformed",t)}}static async diagnose(t,e){if(e.origin===location.origin)return new xt("unreachable",t);try{return await fetch(t,{mode:"no-cors"}),new xt("cors",t)}catch{return new xt("unreachable",t)}}}const eo=Object.freeze(Object.defineProperty({__proto__:null,SightingFetch:jt,SightingFetchError:xt},Symbol.toStringTag,{value:"Module"}));class Pe{constructor(t,e,r=()=>{}){this.place=t,this.changed=r,e&&this.adopt(e)}reader;editor;handed;get reading(){return this.reader!==void 0}get editorLoaded(){return this.editor!==void 0}adopt(t){this.editor=t,t.switcher=this,t.hasAttribute(ve)||t.setAttribute(ve,""),t.addEventListener(gn,e=>{e.preventDefault();const r=e.detail;this.handed=r.src,this.read(r)})}async read({src:t,track:e}){const[{register:r,CASE_ELEMENT_NAME:s,OPEN_EVENTS_ATTRIBUTE:o},{registerSighting:i,SIGHTING_ELEMENT_NAME:a}]=await Promise.all([d(()=>import("./CaseElement-Bm6xPD0e.js"),__vite__mapDeps([20,21,22,6,7,23,3,4,13,24,25,1,26]),import.meta.url),d(()=>import("./SightingElement-DZlh5u4N.js"),__vite__mapDeps([26,22,6,7,23,3,4,13,24,25,1]),import.meta.url)]);i(),r();const l=z.isCase(F.read(t)??await jt.json(t)),c=document.createElement(l?s:a);c.setAttribute(ve,""),c.setAttribute("show-labels",""),l&&e&&c.setAttribute(o,Pe.fileKey(e)),c.setAttribute("src",t),c.addEventListener(wn,m=>{m.preventDefault(),this.edit(m.detail)}),this.reader?.remove(),this.place(c),this.editor&&(this.editor.hidden=!0),this.reader=c,this.changed({mode:"read",src:t,...e?{track:e}:{}})}async edit(t){const e=this.editor;if(e){if(this.dropReader(),F.releaseCopies(),e.hidden=!1,this.changed({mode:"edit"}),t?.src!==void 0&&t.src!==this.handed){this.load(e,t.src,t.track);return}t?.track&&await e.openTrack(t.track);return}const{register:r,CASE_EDITOR_ELEMENT_NAME:s}=await d(async()=>{const{register:i,CASE_EDITOR_ELEMENT_NAME:a}=await import("./CaseEditorElement-CK82yjEn.js").then(l=>l.a);return{register:i,CASE_EDITOR_ELEMENT_NAME:a}},__vite__mapDeps([27,3,4,8,21,22,6,7,23,13,24,25,1,28,29,11,30,31,32,33]),import.meta.url);r();const o=document.createElement(s);this.adopt(o),t?.track&&o.setAttribute("track",t.track),t?.src?o.setAttribute("src",t.src):t?.start&&(o.caseStart=t.start),this.dropReader(),this.place(o),this.changed({mode:"edit"})}async open(t){const e=this.editor;if(this.reading||!e)return this.read({src:t});this.load(e,t)}load(t,e,r){this.handed=void 0,r?t.setAttribute("track",r):t.removeAttribute("track"),t.setAttribute("src",e)}async startNew(t){const e=this.editor;if(!e)return this.edit(t?{start:t}:void 0);this.reading&&await this.edit(),e.askBeforeReplacing(()=>{e.remove(),this.editor=void 0,this.edit(t?{start:t}:void 0)})}dropReader(){this.reader?.remove(),this.reader=void 0}static fileKey(t){return new URL(t,location.href).pathname.split("/").pop().replace(/\.json$/i,"")}}const Fe="rr0-input-file",en={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"},Nn=`
|
|
3
3
|
rr0-input-file { display: inline-flex; align-items: center; gap: .3em; }
|
|
4
4
|
/* As the date's own switch (see DateInputElement): it reads as part of the label, before the field. */
|
|
5
5
|
rr0-input-file .input-file-mode { order: -1; font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }
|
|
@@ -122,7 +122,7 @@ ${t} :is(select:not([multiple]):not([size]), .rr0-select) {
|
|
|
122
122
|
.consent-dialog p { margin: 0; }
|
|
123
123
|
.consent-dialog ul { margin: 6px 0 10px; padding-left: 1.2em; font-family: var(--mono, monospace); font-size: .85em; overflow-wrap: anywhere; }
|
|
124
124
|
.consent-dialog .actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
|
|
125
|
-
`;class As{static async ask(t,e,r){const s=[...new Set(r.filter(S=>!I.granted(S)).map(S=>I.originOf(S)))];if(s.length===0)return!0;const o=(t instanceof ShadowRoot?t.host:t).ownerDocument,i=o.createElement("div");i.className="consent-dialog",i.id="consent",i.setAttribute("popover","manual"),i.setAttribute("role","dialog");const a=o.createElement("style");a.textContent=Ms;const l=o.createElement("h2");l.id="consent-heading",l.textContent=e?.consentHeading??"",i.setAttribute("aria-labelledby",l.id);const c=o.createElement("p");c.id="consent-text",c.textContent=e?.consentText??"";const m=o.createElement("ul");m.id="consent-origins",m.append(...s.map(S=>Object.assign(o.createElement("li"),{textContent:S})));const p=o.createElement("div");p.className="actions";const f=Object.assign(o.createElement("button"),{type:"button",id:"consent-without",className:"pill-btn",textContent:e?.consentWithout??""}),y=Object.assign(o.createElement("button"),{type:"button",id:"consent-run",className:"pill-btn primary",textContent:e?.consentRun??""});return p.append(f,y),i.append(a,l,c,m,p),t.getElementById?.("consent")?.remove(),t.append(i),new Promise(S=>{const E=G=>{try{i.hidePopover?.()}catch{}i.remove(),G&&I.grant(r),S(G)};y.addEventListener("click",()=>E(!0)),f.addEventListener("click",()=>E(!1));try{i.showPopover?.()}catch{}f.focus()})}}function Ts(n,t){for(const e of n){const r=e.toLowerCase().split("-")[0];if(t.includes(r))return r}return"en"}class me{static preferencesFor(t){const e=navigator.languages??[],r=this.declaredFor(t);return r?[r,...e]:e}static declaredFor(t){for(let e=t;e;){const r=e.closest("[lang]")?.getAttribute("lang")?.trim();if(r)return r;const s=e.getRootNode();e=s instanceof ShadowRoot?s.host:void 0}}}const Is=["en","fr","es","it"],_s={en:()=>d(()=>import("./UfoMessages_en-D5OYWJ3K.js"),__vite__mapDeps([34,24]),import.meta.url).then(n=>n.ufoMessages_en),fr:()=>d(()=>import("./UfoMessages_fr-CGkQBn5r.js"),[],import.meta.url).then(n=>n.ufoMessages_fr),es:()=>d(()=>import("./UfoMessages_es-CO-v8Jl6.js"),[],import.meta.url).then(n=>n.ufoMessages_es),it:()=>d(()=>import("./UfoMessages_it-BScqxIaH.js"),[],import.meta.url).then(n=>n.ufoMessages_it)},so=_.catalog(_s),Ns={en:()=>d(()=>import("./SightingEditorMessages_en-
|
|
125
|
+
`;class As{static async ask(t,e,r){const s=[...new Set(r.filter(S=>!I.granted(S)).map(S=>I.originOf(S)))];if(s.length===0)return!0;const o=(t instanceof ShadowRoot?t.host:t).ownerDocument,i=o.createElement("div");i.className="consent-dialog",i.id="consent",i.setAttribute("popover","manual"),i.setAttribute("role","dialog");const a=o.createElement("style");a.textContent=Ms;const l=o.createElement("h2");l.id="consent-heading",l.textContent=e?.consentHeading??"",i.setAttribute("aria-labelledby",l.id);const c=o.createElement("p");c.id="consent-text",c.textContent=e?.consentText??"";const m=o.createElement("ul");m.id="consent-origins",m.append(...s.map(S=>Object.assign(o.createElement("li"),{textContent:S})));const p=o.createElement("div");p.className="actions";const f=Object.assign(o.createElement("button"),{type:"button",id:"consent-without",className:"pill-btn",textContent:e?.consentWithout??""}),y=Object.assign(o.createElement("button"),{type:"button",id:"consent-run",className:"pill-btn primary",textContent:e?.consentRun??""});return p.append(f,y),i.append(a,l,c,m,p),t.getElementById?.("consent")?.remove(),t.append(i),new Promise(S=>{const E=G=>{try{i.hidePopover?.()}catch{}i.remove(),G&&I.grant(r),S(G)};y.addEventListener("click",()=>E(!0)),f.addEventListener("click",()=>E(!1));try{i.showPopover?.()}catch{}f.focus()})}}function Ts(n,t){for(const e of n){const r=e.toLowerCase().split("-")[0];if(t.includes(r))return r}return"en"}class me{static preferencesFor(t){const e=navigator.languages??[],r=this.declaredFor(t);return r?[r,...e]:e}static declaredFor(t){for(let e=t;e;){const r=e.closest("[lang]")?.getAttribute("lang")?.trim();if(r)return r;const s=e.getRootNode();e=s instanceof ShadowRoot?s.host:void 0}}}const Is=["en","fr","es","it"],_s={en:()=>d(()=>import("./UfoMessages_en-D5OYWJ3K.js"),__vite__mapDeps([34,24]),import.meta.url).then(n=>n.ufoMessages_en),fr:()=>d(()=>import("./UfoMessages_fr-CGkQBn5r.js"),[],import.meta.url).then(n=>n.ufoMessages_fr),es:()=>d(()=>import("./UfoMessages_es-CO-v8Jl6.js"),[],import.meta.url).then(n=>n.ufoMessages_es),it:()=>d(()=>import("./UfoMessages_it-BScqxIaH.js"),[],import.meta.url).then(n=>n.ufoMessages_it)},so=_.catalog(_s),Ns={en:()=>d(()=>import("./SightingEditorMessages_en-CS2iXwDm.js"),__vite__mapDeps([35,36]),import.meta.url).then(n=>n.sightingEditorMessages_en),fr:()=>d(()=>import("./SightingEditorMessages_fr-AYgrnKFD.js"),__vite__mapDeps([37,38]),import.meta.url).then(n=>n.sightingEditorMessages_fr),es:()=>d(()=>import("./SightingEditorMessages_es-C8Vw_4b_.js"),__vite__mapDeps([39,40]),import.meta.url).then(n=>n.sightingEditorMessages_es),it:()=>d(()=>import("./SightingEditorMessages_it-DZyzwScx.js"),__vite__mapDeps([41,42]),import.meta.url).then(n=>n.sightingEditorMessages_it)},Gs=_.catalog(Ns);function oo(n){return Gs.load(n)}const ks={en:()=>d(()=>import("./SightingMessages_en-D90vDTQ7.js"),__vite__mapDeps([43,36]),import.meta.url).then(n=>n.sightingMessages_en),fr:()=>d(()=>import("./SightingMessages_fr-Gq3IMFTE.js"),__vite__mapDeps([44,38]),import.meta.url).then(n=>n.sightingMessages_fr),es:()=>d(()=>import("./SightingMessages_es-D8laK6OY.js"),__vite__mapDeps([45,40]),import.meta.url).then(n=>n.sightingMessages_es),it:()=>d(()=>import("./SightingMessages_it-BXDxv-lE.js"),__vite__mapDeps([46,42]),import.meta.url).then(n=>n.sightingMessages_it)},io=_.catalog(ks),Rs={en:()=>d(()=>import("./CaseMessages_en-BC0lku35.js"),[],import.meta.url).then(n=>n.caseMessages_en),fr:()=>d(()=>import("./CaseMessages_fr-D_6J6ONO.js"),[],import.meta.url).then(n=>n.caseMessages_fr),es:()=>d(()=>import("./CaseMessages_es-Cbktn5vj.js"),[],import.meta.url).then(n=>n.caseMessages_es),it:()=>d(()=>import("./CaseMessages_it-CYyww4oG.js"),[],import.meta.url).then(n=>n.caseMessages_it)},Os=_.catalog(Rs);function ao(n){return Os.load(n)}const Vs={en:()=>d(()=>import("./UfoAtHomeMessages_en-ByVu39KF.js"),__vite__mapDeps([47,48]),import.meta.url).then(n=>n.ufoAtHomeMessages_en),fr:()=>d(()=>import("./UfoAtHomeMessages_fr-nTqRf0ZK.js"),__vite__mapDeps([49,50]),import.meta.url).then(n=>n.ufoAtHomeMessages_fr),es:()=>d(()=>import("./UfoAtHomeMessages_es-D9bLboxq.js"),__vite__mapDeps([51,52]),import.meta.url).then(n=>n.ufoAtHomeMessages_es),it:()=>d(()=>import("./UfoAtHomeMessages_it-4cZC5-y5.js"),__vite__mapDeps([53,54]),import.meta.url).then(n=>n.ufoAtHomeMessages_it)},$s=_.catalog(Vs);function Fs(n){return $s.load(n)}const Ds={en:()=>d(()=>import("./ShareMessages_en-B43x8LgJ.js"),[],import.meta.url).then(n=>n.shareMessages_en),fr:()=>d(()=>import("./ShareMessages_fr-CzZyVbbX.js"),[],import.meta.url).then(n=>n.shareMessages_fr),es:()=>d(()=>import("./ShareMessages_es-DZCJojSc.js"),[],import.meta.url).then(n=>n.shareMessages_es),it:()=>d(()=>import("./ShareMessages_it-C_Z6eDQK.js"),[],import.meta.url).then(n=>n.shareMessages_it)},uo=_.catalog(Ds);function co(n){switch(n){case"fr":return d(()=>import("./TagNames_fr-Dnqq6HQ5.js"),[],import.meta.url).then(t=>t.tagNames_fr);case"es":return d(()=>import("./TagNames_es-BfnMpc3D.js"),[],import.meta.url).then(t=>t.tagNames_es);case"it":return d(()=>import("./TagNames_it-n6E4EGYO.js"),[],import.meta.url).then(t=>t.tagNames_it);default:return Promise.resolve({})}}const Ps={en:()=>d(()=>import("./BodyEditorMessages_en-CckxSS1L.js"),[],import.meta.url).then(n=>n.bodyEditorMessages_en),fr:()=>d(()=>import("./BodyEditorMessages_fr-638ypdqf.js"),[],import.meta.url).then(n=>n.bodyEditorMessages_fr),es:()=>d(()=>import("./BodyEditorMessages_es-B8GlFFBo.js"),[],import.meta.url).then(n=>n.bodyEditorMessages_es),it:()=>d(()=>import("./BodyEditorMessages_it-SKpMkHFI.js"),[],import.meta.url).then(n=>n.bodyEditorMessages_it)},Us={en:()=>d(()=>import("./CaseEditorMessages_en-pog3M_U6.js"),[],import.meta.url).then(n=>n.caseEditorMessages_en),fr:()=>d(()=>import("./CaseEditorMessages_fr-BOKVeIXM.js"),[],import.meta.url).then(n=>n.caseEditorMessages_fr),es:()=>d(()=>import("./CaseEditorMessages_es-Dz1N0VpM.js"),[],import.meta.url).then(n=>n.caseEditorMessages_es),it:()=>d(()=>import("./CaseEditorMessages_it-BKAkbKq-.js"),[],import.meta.url).then(n=>n.caseEditorMessages_it)},Bs={en:()=>d(()=>import("./ReadingSensitivityMessages_en-ChQHFyxb.js"),[],import.meta.url).then(n=>n.readingSensitivityMessages_en),fr:()=>d(()=>import("./ReadingSensitivityMessages_fr-Dl4a8udu.js"),[],import.meta.url).then(n=>n.readingSensitivityMessages_fr),es:()=>d(()=>import("./ReadingSensitivityMessages_es-BbFqHsvR.js"),[],import.meta.url).then(n=>n.readingSensitivityMessages_es),it:()=>d(()=>import("./ReadingSensitivityMessages_it-CwiJfUo_.js"),[],import.meta.url).then(n=>n.readingSensitivityMessages_it)},lo=_.catalog(Bs),Ls={en:()=>d(()=>import("./HvsMessages_en-BiLhEAxJ.js"),[],import.meta.url).then(n=>n.hvsMessages_en),fr:()=>d(()=>import("./HvsMessages_fr-DkvE2qm1.js"),[],import.meta.url).then(n=>n.hvsMessages_fr),es:()=>d(()=>import("./HvsMessages_es-Cbj_6eFs.js"),[],import.meta.url).then(n=>n.hvsMessages_es),it:()=>d(()=>import("./HvsMessages_it-BIJ87Uyb.js"),[],import.meta.url).then(n=>n.hvsMessages_it)},mo=_.catalog(Ls),js={en:()=>d(()=>import("./ScenarioSweepMessages_en-Bf4BscDU.js"),[],import.meta.url).then(n=>n.scenarioSweepMessages_en),fr:()=>d(()=>import("./ScenarioSweepMessages_fr-DlPsO6oI.js"),[],import.meta.url).then(n=>n.scenarioSweepMessages_fr),es:()=>d(()=>import("./ScenarioSweepMessages_es-CBHQfuRB.js"),[],import.meta.url).then(n=>n.scenarioSweepMessages_es),it:()=>d(()=>import("./ScenarioSweepMessages_it-DANW3_la.js"),[],import.meta.url).then(n=>n.scenarioSweepMessages_it)},po=_.catalog(js),Cs={en:()=>d(()=>import("./CaseExportMessages_en-jHlu58Y7.js"),[],import.meta.url).then(n=>n.caseExportMessages_en),fr:()=>d(()=>import("./CaseExportMessages_fr-sDfEgjWg.js"),[],import.meta.url).then(n=>n.caseExportMessages_fr),es:()=>d(()=>import("./CaseExportMessages_es-dCQQFgjq.js"),[],import.meta.url).then(n=>n.caseExportMessages_es),it:()=>d(()=>import("./CaseExportMessages_it-BJaglZtP.js"),[],import.meta.url).then(n=>n.caseExportMessages_it)},ho=_.catalog(Cs),Ks={en:()=>d(()=>import("./InterviewMessages_en-Ikx6GjEd.js"),[],import.meta.url).then(n=>n.interviewMessages_en),fr:()=>d(()=>import("./InterviewMessages_fr-DT0gXAKD.js"),[],import.meta.url).then(n=>n.interviewMessages_fr),es:()=>d(()=>import("./InterviewMessages_es-DKWWyrnb.js"),[],import.meta.url).then(n=>n.interviewMessages_es),it:()=>d(()=>import("./InterviewMessages_it-CF_9MYPt.js"),[],import.meta.url).then(n=>n.interviewMessages_it)},fo=_.catalog(Ks),go=_.catalog(Us),wo=_.catalog(Ps),Hs=_.catalog({en:()=>d(()=>import("./SceneNames_en-sRbx6EJZ.js"),__vite__mapDeps([55,7]),import.meta.url).then(n=>n.sceneNames_en),fr:()=>d(()=>import("./SceneNames_fr-BtTlti4C.js"),__vite__mapDeps([56,7]),import.meta.url).then(n=>n.sceneNames_fr),es:()=>d(()=>import("./SceneNames_es-pnfHB-7D.js"),__vite__mapDeps([57,7]),import.meta.url).then(n=>n.sceneNames_es),it:()=>d(()=>import("./SceneNames_it-DQKwdCVD.js"),__vite__mapDeps([58,7]),import.meta.url).then(n=>n.sceneNames_it)});function yo(n){return Hs.load(n)}const bo=_.catalog({en:()=>d(()=>import("./CloudEditorMessages_en-SmcRKW1O.js"),[],import.meta.url).then(n=>n.cloudEditorMessages_en),fr:()=>d(()=>import("./CloudEditorMessages_fr-SvL-CR04.js"),[],import.meta.url).then(n=>n.cloudEditorMessages_fr),es:()=>d(()=>import("./CloudEditorMessages_es-DFCuS9Qg.js"),[],import.meta.url).then(n=>n.cloudEditorMessages_es),it:()=>d(()=>import("./CloudEditorMessages_it-BvfiHWV9.js"),[],import.meta.url).then(n=>n.cloudEditorMessages_it)}),Jr="rr0-ufoathome",qs='<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"><path d="M8 3v10M3 8h10"/></svg>',zs='<svg 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 4.5h4l1.5 1.5H14v6.5H2z"/></svg>',Ws=`
|
|
126
126
|
<style>
|
|
127
127
|
:host { display: block; ${xe.TOKENS} }
|
|
128
128
|
:host([hidden]) { display: none; }
|