1import{a as r}from"./chunk-G5KNRBSC.js";import{b as f}from"./chunk-2LKIBAP4.js";import{d as a}from"./chunk-IEHBLZGY.js";import{ha as o,ma as s}from"./chunk-HBQGYQK3.js";import{e as i}from"./chunk-PVQQOPSA.js";var w=(()=>{let e=class e{constructor(){this.i18nConfig=s(f),this.preferences=s(a)}static windUnitForRadar(t){switch(t){case i.meterPerSecond:return r.ms;case i.milesPerHour:return r.mph;case i.beaufort:return r.bft;case i.knots:return r.kn;default:return r.kmh}}get units(){if(!this._units){let t=this.i18nConfig.config;this._units={wind:this.preferences.get("windUnit")??t.windUnit,temperature:this.preferences.get("temperatureUnit")??t.temperatureUnit,airPressure:this.preferences.get("airPressureUnit")??t.airPressureUnit,systemOfMeasurement:this.preferences.get("systemOfMeasurement")??t.systemOfMeasurement}}return this._units}get windUnitForRadar(){return e.windUnitForRadar(this.units.wind)}};e.\u0275fac=function(c){return new(c||e)},e.\u0275prov=o({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();export{w as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.