@fmidev/smartmet-alert-client
Version:
Web application for viewing weather and flood alerts
263 lines (262 loc) • 14.7 kB
JavaScript
/**
* name: @fmidev/smartmet-alert-client
* version: v4.7.2
* description: Web application for viewing weather and flood alerts
* author: Finnish Meteorological Institute
* homepage: https://github.com/fmidev/smartmet-alert-client#readme
*/
const e = "Note! If the map is gray and no date is shown on the map, the warnings have not been updated.", n = "Ensure network connection. Check that you have updated your browser and operating system.", i = "List of supported browsers", t = "https://en.ilmatieteenlaitos.fi/site-information", o = "An error occurred while searching for the warnings. Please try again in a moment.", a = "Warnings for following land areas", s = "Warnings for following sea areas", r = "Warnings in effect, 5 days", c = "Warnings in effect, five days", l = "Show all warnings", d = "Mon", h = "Tue", f = "Wed", p = "Thu", g = "Fri", u = "Sat", v = "Sun", m = "Monday", w = "Tuesday", L = "Wednesday", y = "Thursday", W = "Friday", D = "Saturday", S = "Sunday", k = "January", b = "February", F = "March", P = "April", H = "May", I = "June", K = "July", j = "August", T = "September", A = "October", N = "November", B = "December", M = "", x = "Warnings", C = "Updated", E = "at", O = "warning valid between", U = "Many warnings in effect", z = "No particular awareness is needed", R = "Potentially dangerous", V = "Dangerous", G = "Very dangerous", q = "No warnings in effect", J = "No warnings", Y = "info_en", Z = "Pirkanmaa", Q = "Kainuu", _ = "Uusimaa", X = "Satakunta", $ = "Kymenlaakso", ee = "Ostrobothnia", ne = "Lapland", ie = "Åland", te = "Quark", oe = "Sea of Åland", ae = "Sea of Archipelago", se = "Utsjoki", re = "Inari", ce = "Muonio", le = "Kolari", de = "Savukoski", he = "Pelkosenniemi", fe = "Salla", pe = "Pello", ge = "Ylitornio", ue = "Rovaniemi", ve = "Tornio", me = "Tervola", we = "Keminmaa", Le = "Kemi", ye = "Simo", We = "Ranua", De = "Posio", Se = "Kuusamo", ke = "Taivalkoski", be = "Cold warning", Fe = "Flood warning", Pe = "Wildfire warning", He = "Grass fire warning", Ie = "Heat wave warning", Ke = "Pedestrian weather warning", je = "Heavy rain warning", Te = "Ice accretion warning", Ae = "Thunderstorm wind gusts for sea areas", Ne = "Warning for high sea level", Be = "Warning for low sea level", Me = "Wave height warning", xe = "Wind warning for sea areas", Ce = "Severe thunderstorm warning", Ee = "Traffic weather warning", Oe = "UV advisory", Ue = "Wind warning for land areas", ze = "Cold stress complicates outdoor activities. People with chronic illnesses will experience more symptoms than usual.", Re = "Cold stress will significantly complicate all outdoor activities. Symptoms experienced by people with chronic illnesses will become more difficult. Risk of frostbite.", Ve = "Cold stress will significantly complicate all outdoor activities. Symptoms experienced by people with chronic illnesses will become substantially more difficult. Significant risk of frostbite.", Ge = "Flooding of fields and forests and minor disruptions are possible.", qe = "Flood can cause damages to buildings and significant disruptions to traffic.", Je = "Significant risk to human safety and to electricity, water, and telecommunication networks. Flooded buildings and traffic disruptions.", Ye = "Danger of wildfires is pronounced due to soil dryness. In case of windy weather wildfires spread quickly.", Ze = "Danger of wildfires is very pronounced due to soil dryness. In case of windy weather wildfires spread quickly.", Qe = "Danger of uncontrolled wildfires is pronounced due to soil dryness. The fires spread likely quickly.", _e = "Danger of grass fires is pronounced due to soil dryness. In case of windy weather grass fires spread quickly.", Xe = "", $e = "", en = "Many people with chronic illness will experience more symptoms than usual.", nn = "People with chronic illness will experience significant and difficult symptoms. Heat stress will limit the work capability of healthy people.", tn = "This warning level is unlikely with our current climate. Causes very significant health problems. Heat stress will limit the work capability of healthy people.", on = "Pavements are very slippery. Significant risk for slipping accidents.", an = "", sn = "", rn = "Flooding expected in flood-prone underpasses and in low-lying areas. Risk for aquaplaning in road traffic.", cn = "Widespread flooding in built-up regions. Underpasses may be completely filled with water. Streaming flood water can cause danger.", ln = "Severe flooding in urban areas as well as rural areas. Flood ponds and streaming flood water cause danger.", dn = "Heavy ice accretion may reduce a vessel's stability and cause hazard for operation.", hn = "Heavy ice accretion may reduce a vessel's stability and cause hazard for operation.", fn = "Heavy ice accretion may reduce a vessel's stability and cause hazard for operation.", pn = "Possibly dangerous for recreational crafts and small boats.", gn = "Possibly dangerous for recreational crafts and small boats.", un = "Possibly dangerous for recreational crafts and small boats.", vn = "High water level: Coastal flooding in low-lying areas.", mn = "Flooding on coastal roads may cause roads to be closed. Flood-prone sites will get wet.", wn = "Flooding on coastal roads, also in locations without known prior floods. Buildings surrounded by flood water. Significant water damage in built-up areas.", Ln = "Low water level: Difficulties in cargo transport.", yn = "", Wn = "", Dn = "Possibly dangerous for recreational crafts and small boats.", Sn = "Difficulties and danger for marine traffic.", kn = "Significant difficulties, delays and danger for marine traffic.", bn = "Possibly dangerous for recreational crafts and small boats.", Fn = "Difficulties and danger for marine traffic.", Pn = "Significant difficulties, delays and danger for marine traffic.", Hn = "Local and sporadic wind damage. Mostly individual fallen trees. Brief and local disruptions in electricity supply.", In = "Wind damage in numerous areas, including areas of uniform damage. Locally a need for significant debris clearance, long-lasting electricity outages and disruptions in telecommunication networks.", Kn = "Widespread wind damage areas with significant need for debris clearance. Long-lasting disruptions in electricity and drinking water supply as well as telecommunication networks.", jn = "Disruptions in traffic flow. Enhanced risk of traffic accidents.", Tn = "Major traffic disruptions possible. Significant risk of traffic accidents.", An = "Major traffic disruptions likely and traffic connections may be completely broken. Significant risk of traffic accidents.", Nn = "UV radiation is strong. Unprotected skin may burn when exposed to direct sunlight.", Bn = "", Mn = "", xn = "Individual fallen trees in widespread areas. Brief electricity outages.", Cn = "Wind damage in numerous areas, including areas of uniform damage. Locally a need for significant debris clearance, long-lasting electricity outages and disruptions in telecommunication networks.", En = "Widespread wind damage areas with significant need for debris clearance. Long-lasting disruptions in electricity and drinking water supply as well as telecommunication networks.", On = "en-US", Un = "en", zn = "Finnish Meteorological Institute", Rn = "Flood Centre", Vn = "https://www.vesi.fi/", Gn = "Watershed forecasts and flood warnings", qn = "Impact description", Jn = "Zoom in", Yn = "Zoom out", Zn = "Use the arrow keys to move the map", Qn = "Magnifiable map", _n = "Go to text-formatted warnings", Xn = "Warnings", $n = "from", ei = "in zero", ni = "in one", ii = "in two", ti = "in three", oi = "in four", ai = "in five", si = "in six", ri = "in seven", ci = "in eight", li = "in nine", di = "in ten", hi = "in eleven", fi = "in twelve", pi = "in thirteen", gi = "in fourteen", ui = "in fifteen", vi = "in sixteen", mi = "in seventeen", wi = "in eighteen", Li = "in nineteen", yi = "in twenty", Wi = "in twenty-one", Di = "in twenty-two", Si = "in twenty-three", ki = "in twenty-four", bi = "in twenty-five", Fi = "in twenty-six", Pi = "in twenty-seven", Hi = "in twenty-eight", Ii = "in twenty-nine", Ki = "in thirty", ji = "in thirty-one", Ti = "in thirty-two", Ai = "in thirty-three", Ni = "in thirty-four", Bi = "in thirty-five", Mi = "in thirty-six", xi = "in thirty-seven", Ci = "in thirty-eight", Ei = "in thirty-nine", Oi = "in forty", Ui = "in forty-one", zi = "in forty-two", Ri = "in forty-three", Vi = "in forty-four", Gi = "in forty-five", qi = "land area", Ji = "land areas", Yi = "sea area", Zi = "sea areas", Qi = "Go to next section.", _i = "Show current warnings for", Xi = "Close current warnings for", $i = ".", et = "Map legends", nt = "Show legends", it = "Hide legends", tt = "warnings in effect in", ot = "and", at = "Gray scale", st = "On", rt = "Off", ct = {
notInitializedStart: e,
notInitializedEnd: n,
supportedBrowsers: i,
supportedBrowsersLink: t,
failed: o,
regionLand: a,
regionSea: s,
validWarnings: r,
validWarningsAriaLabel: c,
showWarnings: l,
ma: d,
ti: h,
ke: f,
to: p,
pe: g,
la: u,
su: v,
maFull: m,
tiFull: w,
keFull: L,
toFull: y,
peFull: W,
laFull: D,
suFull: S,
month1: k,
month2: b,
month3: F,
month4: P,
month5: H,
month6: I,
month7: K,
month8: j,
month9: T,
month10: A,
month11: N,
month12: B,
monthPartitive: M,
warnings: x,
updated: C,
atTime: E,
valid: O,
severalWarnings: U,
warningLevel1: z,
warningLevel2: R,
warningLevel3: V,
warningLevel4: G,
noWarnings: q,
popupNoWarnings: J,
womlInfoField: Y,
"Kanta-Häme": "Kanta-Häme",
Pirkanmaa: Z,
"Päijät-Häme": "Päijät-Häme",
"Etelä-Karjala": "South Karelia",
"Etelä-Savo": "Etelä-Savo",
"Pohjois-Savo": "Pohjois-Savo",
"Pohjois-Karjala": "North Karelia",
"Keski-Suomi": "Central Finland",
"Etelä-Pohjanmaa": "South Ostrobothnia",
Kainuu: Q,
Uusimaa: _,
"Varsinais-Suomi": "Varsinais-Suomi",
Satakunta: X,
Kymenlaakso: $,
Pohjanmaa: ee,
"Keski-Pohjanmaa": "Central Ostrobothnia",
"Pohjois-Pohjanmaa": "North Ostrobothnia",
"Pohjois-Pohjanmaan länsiosa": "Western part of Northern Ostrobothnia",
Lappi: ne,
Ahvenanmaa: ie,
Merenkurkku: te,
"Suomenlahden itäosa": "Eastern Gulf of Finland",
"Pohjois-Itämeren länsiosa": "Western Part of Northern Baltic",
"Selkämeren eteläosa": "Southern Sea of Bothnia",
"Perämeren pohjoisosa": "Northern Bay of Bothnia",
Ahvenanmeri: oe,
Saaristomeri: ae,
"Perämeren eteläosa": "Southern Bay of Bothnia",
"Selkämeren pohjoisosa": "Northern Sea of Bothnia",
"Suomenlahden länsiosa": "Western Gulf of Finland",
"Pohjois-Itämeren itäosa": "Eastern Part of Northern Baltic",
"Saimaan pohjoisosa": "Northern Lake Saimaa",
"Saimaan eteläosa": "Southern Lake Saimaa",
Enontekiö: "Enontekiö",
Utsjoki: se,
Inari: re,
Muonio: ce,
Kolari: le,
Kittilä: "Kittilä",
Sodankylä: "Sodankylä",
Savukoski: de,
Pelkosenniemi: he,
Salla: fe,
Pello: pe,
Ylitornio: ge,
Rovaniemi: ue,
Kemijärvi: "Kemijärvi",
Tornio: ve,
Tervola: me,
Keminmaa: we,
Kemi: Le,
Simo: ye,
Ranua: We,
Posio: De,
Kuusamo: Se,
Pudasjärvi: "Pudasjärvi",
Taivalkoski: ke,
coldWeather: be,
floodLevel: Fe,
forestFireWeather: Pe,
grassFireWeather: He,
hotWeather: Ie,
pedestrianSafety: Ke,
rain: je,
seaIcing: Te,
seaThunderStorm: Ae,
seaWaterHeightHighWater: Ne,
seaWaterHeightShallowWater: Be,
seaWaveHeight: Me,
seaWind: xe,
thunderStorm: Ce,
trafficWeather: Ee,
uvNote: Oe,
wind: Ue,
coldWeatherDescriptionLevel2: ze,
coldWeatherDescriptionLevel3: Re,
coldWeatherDescriptionLevel4: Ve,
floodLevelDescriptionLevel2: Ge,
floodLevelDescriptionLevel3: qe,
floodLevelDescriptionLevel4: Je,
forestFireWeatherDescriptionLevel2: Ye,
forestFireWeatherDescriptionLevel3: Ze,
forestFireWeatherDescriptionLevel4: Qe,
grassFireWeatherDescriptionLevel2: _e,
grassFireWeatherDescriptionLevel3: Xe,
grassFireWeatherDescriptionLevel4: $e,
hotWeatherDescriptionLevel2: en,
hotWeatherDescriptionLevel3: nn,
hotWeatherDescriptionLevel4: tn,
pedestrianSafetyDescriptionLevel2: on,
pedestrianSafetyDescriptionLevel3: an,
pedestrianSafetyDescriptionLevel4: sn,
rainDescriptionLevel2: rn,
rainDescriptionLevel3: cn,
rainDescriptionLevel4: ln,
seaIcingDescriptionLevel2: dn,
seaIcingDescriptionLevel3: hn,
seaIcingDescriptionLevel4: fn,
seaThunderStormDescriptionLevel2: pn,
seaThunderStormDescriptionLevel3: gn,
seaThunderStormDescriptionLevel4: un,
seaWaterHeightHighWaterDescriptionLevel2: vn,
seaWaterHeightHighWaterDescriptionLevel3: mn,
seaWaterHeightHighWaterDescriptionLevel4: wn,
seaWaterHeightShallowWaterDescriptionLevel2: Ln,
seaWaterHeightShallowWaterDescriptionLevel3: yn,
seaWaterHeightShallowWaterDescriptionLevel4: Wn,
seaWaveHeightDescriptionLevel2: Dn,
seaWaveHeightDescriptionLevel3: Sn,
seaWaveHeightDescriptionLevel4: kn,
seaWindDescriptionLevel2: bn,
seaWindDescriptionLevel3: Fn,
seaWindDescriptionLevel4: Pn,
thunderStormDescriptionLevel2: Hn,
thunderStormDescriptionLevel3: In,
thunderStormDescriptionLevel4: Kn,
trafficWeatherDescriptionLevel2: jn,
trafficWeatherDescriptionLevel3: Tn,
trafficWeatherDescriptionLevel4: An,
uvNoteDescriptionLevel2: Nn,
uvNoteDescriptionLevel3: Bn,
uvNoteDescriptionLevel4: Mn,
windDescriptionLevel2: xn,
windDescriptionLevel3: Cn,
windDescriptionLevel4: En,
capLanguage: On,
metoclientLanguage: Un,
dataProviderFirst: zn,
dataProviderSecond: Rn,
floodLink: Vn,
floodLinkText: Gn,
description: qn,
zoomIn: Jn,
zoomOut: Yn,
moveMap: Zn,
mapAriaLabel: Qn,
toContent: _n,
warningsInAreasStart: Xn,
fromDirection: $n,
in0: ei,
in1: ni,
in2: ii,
in3: ti,
in4: oi,
in5: ai,
in6: si,
in7: ri,
in8: ci,
in9: li,
in10: di,
in11: hi,
in12: fi,
in13: pi,
in14: gi,
in15: ui,
in16: vi,
in17: mi,
in18: wi,
in19: Li,
in20: yi,
in21: Wi,
in22: Di,
in23: Si,
in24: ki,
in25: bi,
in26: Fi,
in27: Pi,
in28: Hi,
in29: Ii,
in30: Ki,
in31: ji,
in32: Ti,
in33: Ai,
in34: Ni,
in35: Bi,
in36: Mi,
in37: xi,
in38: Ci,
in39: Ei,
in40: Oi,
in41: Ui,
in42: zi,
in43: Ri,
in44: Vi,
in45: Gi,
landArea: qi,
landAreas: Ji,
seaArea: Yi,
seaAreas: Zi,
toNextContent: Qi,
infoButtonAriaLabelShowRegion: _i,
infoButtonAriaLabelCloseRegion: Xi,
infoButtonAriaLabelValidWarnings: $i,
legends: et,
showLegends: nt,
hideLegends: it,
warningsInEffect: tt,
and: ot,
grayScale: at,
toggleOn: st,
toggleOff: rt
};
export {
ct as e
};