eorzea-weather
Version:
Weather forecast for Eorzea.
3 lines (2 loc) • 18.8 kB
JavaScript
var e=0;function n(n){return"__private_"+e+++"_"+n}function r(e,n){if(!Object.prototype.hasOwnProperty.call(e,n))throw new TypeError("attempted to use private field on non-instance");return e}var a={__proto__:null,amhAraeng:function(e){return e<45?"fairSkies":e<60?"clouds":e<70?"dustStorms":e<80?"heatWaves":"clearSkies"},azysLla:function(e){return e<35?"fairSkies":e<70?"clouds":"thunder"},bozjanSouthernFront:function(e){return e<52?"fairSkies":e<64?"rain":e<76?"wind":e<88?"thunder":"dustStorms"},centralShroud:function(e){return e<5?"thunder":e<20?"rain":e<30?"fog":e<40?"clouds":e<55?"fairSkies":e<85?"clearSkies":"fairSkies"},centralThanalan:function(e){return e<15?"dustStorms":e<55?"clearSkies":e<75?"fairSkies":e<85?"clouds":e<95?"fog":"rain"},coerthasCentralHighlands:function(e){return e<20?"blizzards":e<60?"snow":e<70?"fairSkies":e<75?"clearSkies":e<90?"clouds":"fog"},coerthasWesternHighlands:function(e){return e<20?"blizzards":e<60?"snow":e<70?"fairSkies":e<75?"clearSkies":e<90?"clouds":"fog"},eastShroud:function(e){return e<5?"thunder":e<20?"rain":e<30?"fog":e<40?"clouds":e<55?"fairSkies":e<85?"clearSkies":"fairSkies"},easternLaNoscea:function(e){return e<5?"fog":e<50?"clearSkies":e<80?"fairSkies":e<90?"clouds":e<95?"rain":"showers"},easternThanalan:function(e){return e<40?"clearSkies":e<60?"fairSkies":e<70?"clouds":e<80?"fog":e<85?"rain":"showers"},eulmore:function(e){return e<10?"gales":e<20?"rain":e<30?"fog":e<45?"clouds":e<85?"fairSkies":"clearSkies"},eurekaAnemos:function(e){return e<30?"fairSkies":e<60?"gales":e<90?"showers":"snow"},eurekaHydatos:function(e){return e<12?"fairSkies":e<34?"showers":e<56?"gloom":e<78?"thunderstorms":"snow"},eurekaPagos:function(e){return e<10?"fairSkies":e<28?"fog":e<46?"heatWaves":e<64?"snow":e<82?"thunder":"blizzards"},eurekaPyros:function(e){return e<10?"fairSkies":e<28?"heatWaves":e<46?"thunder":e<64?"blizzards":e<82?"umbralWind":"snow"},gridania:function(e){return e<5||e<20?"rain":e<30?"fog":e<40?"clouds":e<55?"fairSkies":e<85?"clearSkies":"fairSkies"},idyllshire:function(e){return e<10?"clouds":e<20?"fog":e<30?"rain":e<40?"showers":e<70?"clearSkies":"fairSkies"},ilMheg:function(e){return e<10?"rain":e<20?"fog":e<35?"clouds":e<45?"thunderstorms":e<60?"clearSkies":"fairSkies"},ishgard:function(e){return e<60?"snow":e<70?"fairSkies":e<75?"clearSkies":e<90?"clouds":"fog"},kholusia:function(e){return e<10?"gales":e<20?"rain":e<30?"fog":e<45?"clouds":e<85?"fairSkies":"clearSkies"},kugane:function(e){return e<10?"rain":e<20?"fog":e<40?"clouds":e<80?"fairSkies":"clearSkies"},lakeland:function(e){return e<20?"clearSkies":e<60?"fairSkies":e<75?"clouds":e<85?"fog":e<95?"rain":"thunderstorms"},limsaLominsa:function(e){return e<20?"clouds":e<50?"clearSkies":e<80?"fairSkies":e<90?"fog":"rain"},lowerLaNoscea:function(e){return e<20?"clouds":e<50?"clearSkies":e<70?"fairSkies":e<80?"wind":e<90?"fog":"rain"},middleLaNoscea:function(e){return e<20?"clouds":e<50?"clearSkies":e<70?"fairSkies":e<80?"wind":e<90?"fog":"rain"},mist:function(e){return e<20?"clouds":e<50?"clearSkies":e<70||e<80?"fairSkies":e<90?"fog":"rain"},morDhona:function(e){return e<15?"clouds":e<30?"fog":e<60?"gloom":e<75?"clearSkies":"fairSkies"},northShroud:function(e){return e<5?"fog":e<10?"showers":e<25?"rain":e<30?"fog":e<40?"clouds":e<70?"fairSkies":"clearSkies"},northernThanalan:function(e){return e<5?"clearSkies":e<20?"fairSkies":e<50?"clouds":"fog"},outerLaNoscea:function(e){return e<30?"clearSkies":e<50?"fairSkies":e<70?"clouds":e<85?"fog":"rain"},rhalgrsReach:function(e){return e<15?"clearSkies":e<60?"fairSkies":e<80?"clouds":e<90?"fog":"thunder"},shirogane:function(e){return e<10?"rain":e<20?"fog":e<40?"clouds":e<80?"fairSkies":"clearSkies"},southShroud:function(e){return e<5?"fog":e<10?"thunderstorms":e<25?"thunder":e<30?"fog":e<40?"clouds":e<70?"fairSkies":"clearSkies"},southernThanalan:function(e){return e<20?"heatWaves":e<60?"clearSkies":e<80?"fairSkies":e<90?"clouds":"fog"},theAzimSteppe:function(e){return e<5?"gales":e<10?"wind":e<17?"rain":e<25?"fog":e<35?"clouds":e<75?"fairSkies":"clearSkies"},theChurningMists:function(e){return e<10?"clouds":e<20?"gales":e<40?"umbralStatic":e<70?"clearSkies":"fairSkies"},theCrystarium:function(e){return e<20?"clearSkies":e<60?"fairSkies":e<75?"clouds":e<85?"fog":e<95?"rain":"thunderstorms"},theDiadem:function(e){return e<30?"fairSkies":e<60?"fog":e<90?"wind":"umbralWind"},theDravanianForelands:function(e){return e<10?"clouds":e<20?"fog":e<30?"thunder":e<40?"dustStorms":e<70?"clearSkies":"fairSkies"},theDravanianHinterlands:function(e){return e<10?"clouds":e<20?"fog":e<30?"rain":e<40?"showers":e<70?"clearSkies":"fairSkies"},theFringes:function(e){return e<15?"clearSkies":e<60?"fairSkies":e<80?"clouds":e<90?"fog":"thunder"},theGoblet:function(e){return e<40?"clearSkies":e<60?"fairSkies":e<85?"clouds":e<95?"fog":"rain"},theLavenderBeds:function(e){return e<5?"clouds":e<20?"rain":e<30?"fog":e<40?"clouds":e<55?"fairSkies":e<85?"clearSkies":"fairSkies"},theLochs:function(e){return e<20?"clearSkies":e<60?"fairSkies":e<80?"clouds":e<90?"fog":"thunderstorms"},thePeaks:function(e){return e<10?"clearSkies":e<60?"fairSkies":e<75?"clouds":e<85?"fog":e<95?"wind":"dustStorms"},theRaktikaGreatwood:function(e){return e<10?"fog":e<20?"rain":e<30?"umbralWind":e<45?"clearSkies":e<85?"fairSkies":"clouds"},theRubySea:function(e){return e<10?"thunder":e<20?"wind":e<35?"clouds":e<75?"fairSkies":"clearSkies"},theSeaOfClouds:function(e){return e<30?"clearSkies":e<60?"fairSkies":e<70?"clouds":e<80?"fog":e<90?"wind":"umbralWind"},theTempest:function(e){return e<20?"clouds":e<80?"fairSkies":"clearSkies"},uldah:function(e){return e<40?"clearSkies":e<60?"fairSkies":e<85?"clouds":e<95?"fog":"rain"},upperLaNoscea:function(e){return e<30?"clearSkies":e<50?"fairSkies":e<70?"clouds":e<80?"fog":e<90?"thunder":"thunderstorms"},westernLaNoscea:function(e){return e<10?"fog":e<40?"clearSkies":e<60?"fairSkies":e<80?"clouds":e<90?"wind":"gales"},westernThanalan:function(e){return e<40?"clearSkies":e<60?"fairSkies":e<85?"clouds":e<95?"fog":"rain"},wolvesDenPier:function(e){return e<20?"clouds":e<50?"clearSkies":e<80?"fairSkies":e<90?"fog":"thunderstorms"},yanxia:function(e){return e<5?"showers":e<15?"rain":e<25?"fog":e<40?"clouds":e<80?"fairSkies":"clearSkies"},zadnor:function(e){return e<60?"fairSkies":e<70?"rain":e<80?"wind":e<90?"thunder":"snow"}},t={__proto__:null,en:{"weathers.blizzards":"Blizzards","weathers.clearSkies":"Clear Skies","weathers.clouds":"Clouds","weathers.dustStorms":"Dust Storms","weathers.fairSkies":"Fair Skies","weathers.fog":"Fog","weathers.gales":"Gales","weathers.gloom":"Gloom","weathers.heatWaves":"Heat Waves","weathers.rain":"Rain","weathers.showers":"Showers","weathers.snow":"Snow","weathers.thunder":"Thunder","weathers.thunderstorms":"Thunderstorms","weathers.umbralStatic":"Umbral Static","weathers.umbralWind":"Umbral Wind","weathers.wind":"Wind","zones.amhAraeng":"Amh Araeng","zones.azysLla":"Azys Lla","zones.bozjanSouthernFront":"Bozjan Southern Front","zones.centralShroud":"Central Shroud","zones.centralThanalan":"Central Thanalan","zones.coerthasCentralHighlands":"Coerthas Central Highlands","zones.coerthasWesternHighlands":"Coerthas Western Highlands","zones.eastShroud":"East Shroud","zones.easternLaNoscea":"Eastern La Noscea","zones.easternThanalan":"Eastern Thanalan","zones.eulmore":"Eulmore","zones.eurekaAnemos":"Eureka Anemos","zones.eurekaHydatos":"Eureka Hydatos","zones.eurekaPagos":"Eureka Pagos","zones.eurekaPyros":"Eureka Pyros","zones.gridania":"Gridania","zones.idyllshire":"Idyllshire","zones.ilMheg":"Il Mheg","zones.ishgard":"Ishgard","zones.kholusia":"Kholusia","zones.kugane":"Kugane","zones.lakeland":"Lakeland","zones.limsaLominsa":"Limsa Lominsa","zones.lowerLaNoscea":"Lower La Noscea","zones.middleLaNoscea":"Middle La Noscea","zones.mist":"Mist","zones.morDhona":"Mor Dhona","zones.northShroud":"North Shroud","zones.northernThanalan":"Northern Thanalan","zones.outerLaNoscea":"Outer La Noscea","zones.rhalgrsReach":"Rhalgr's Reach","zones.shirogane":"Shirogane","zones.southShroud":"South Shroud","zones.southernThanalan":"Southern Thanalan","zones.theAzimSteppe":"The Azim Steppe","zones.theChurningMists":"The Churning Mists","zones.theCrystarium":"The Crystarium","zones.theDiadem":"The Diadem","zones.theDravanianForelands":"The Dravanian Forelands","zones.theDravanianHinterlands":"The Dravanian Hinterlands","zones.theFringes":"The Fringes","zones.theGoblet":"The Goblet","zones.theLavenderBeds":"The Lavender Beds","zones.theLochs":"The Lochs","zones.thePeaks":"The Peaks","zones.theRaktikaGreatwood":"The Rak'tika Greatwood","zones.theRubySea":"The Ruby Sea","zones.theSeaOfClouds":"The Sea of Clouds","zones.theTempest":"The Tempest","zones.uldah":"Ul'dah","zones.upperLaNoscea":"Upper La Noscea","zones.westernLaNoscea":"Western La Noscea","zones.westernThanalan":"Western Thanalan","zones.wolvesDenPier":"Wolves' Den Pier","zones.yanxia":"Yanxia","zones.zadnor":"Zadnor"},ja:{"weathers.blizzards":"吹雪","weathers.clearSkies":"快晴","weathers.clouds":"曇り","weathers.dustStorms":"砂塵","weathers.fairSkies":"晴れ","weathers.fog":"霧","weathers.gales":"暴風","weathers.gloom":"妖霧","weathers.heatWaves":"灼熱波","weathers.rain":"雨","weathers.showers":"暴雨","weathers.snow":"雪","weathers.thunder":"雷","weathers.thunderstorms":"雷雨","weathers.umbralStatic":"放電","weathers.umbralWind":"霊風","weathers.wind":"風","zones.amhAraeng":"アム・アレーン","zones.azysLla":"アジス・ラー","zones.bozjanSouthernFront":"南方ボズヤ戦線","zones.centralShroud":"黒衣森:中央森林","zones.centralThanalan":"中央ザナラーン","zones.coerthasCentralHighlands":"クルザス中央高地","zones.coerthasWesternHighlands":"クルザス西部高地","zones.eastShroud":"黒衣森:東部森林","zones.easternLaNoscea":"東ラノシア","zones.easternThanalan":"東ザナラーン","zones.eulmore":"ユールモア","zones.eurekaAnemos":"エウレカ:アネモス帯","zones.eurekaHydatos":"エウレカ:ヒュダトス帯","zones.eurekaPagos":"エウレカ:パゴス帯","zones.eurekaPyros":"エウレカ:ピューロス帯","zones.gridania":"グリダニア","zones.idyllshire":"イデルシャイア","zones.ilMheg":"妖精郷イル・メグ","zones.ishgard":"イシュガルド","zones.kholusia":"コルシア島","zones.kugane":"クガネ","zones.lakeland":"レイクランド","zones.limsaLominsa":"リムサ・ロミンサ","zones.lowerLaNoscea":"低地ラノシア","zones.middleLaNoscea":"中央ラノシア","zones.mist":"ミスト・ヴィレッジ","zones.morDhona":"モードゥナ","zones.northernThanalan":"北ザナラーン","zones.northShroud":"黒衣森:北部森林","zones.outerLaNoscea":"外地ラノシア","zones.rhalgrsReach":"ラールガーズリーチ","zones.shirogane":"シロガネ","zones.southShroud":"黒衣森:南部森林","zones.southernThanalan":"南ザナラーン","zones.theAzimSteppe":"アジムステップ","zones.theChurningMists":"ドラヴァニア雲海","zones.theCrystarium":"クリスタリウム","zones.theDiadem":"ディアデム諸島","zones.theDravanianForelands":"高地ドラヴァニア","zones.theDravanianHinterlands":"低地ドラヴァニア","zones.theFringes":"ギラバニア辺境地帯","zones.theGoblet":"ゴブレットビュート","zones.theLavenderBeds":"ラベンダーベッド","zones.theLochs":"ギラバニア湖畔地帯","zones.thePeaks":"ギラバニア山岳地帯","zones.theRaktikaGreatwood":"ラケティカ大森林","zones.theRubySea":"紅玉海","zones.theSeaOfClouds":"アバラシア雲海","zones.theTempest":"テンペスト","zones.uldah":"ウルダハ","zones.upperLaNoscea":"高地ラノシア","zones.westernLaNoscea":"西ラノシア","zones.westernThanalan":"西ザナラーン","zones.wolvesDenPier":"ウルヴズジェイル係船場","zones.yanxia":"ヤンサ","zones.zadnor":"ザトゥノル高原"}},s={__proto__:null,ZONE_AMH_ARAENG:"amhAraeng",ZONE_AZYS_LLA:"azysLla",ZONE_BOZJAN_SOUTHERN_FRONT:"bozjanSouthernFront",ZONE_CENTRAL_SHROUD:"centralShroud",ZONE_CENTRAL_THANALAN:"centralThanalan",ZONE_COERTHAS_CENTRAL_HIGHLANDS:"coerthasCentralHighlands",ZONE_COERTHAS_WESTERN_HIGHLANDS:"coerthasWesternHighlands",ZONE_EAST_SHROUD:"eastShroud",ZONE_EASTERN_LA_NOSCEA:"easternLaNoscea",ZONE_EASTERN_THANALAN:"easternThanalan",ZONE_EULMORE:"eulmore",ZONE_EUREKA_ANEMOS:"eurekaAnemos",ZONE_EUREKA_HYDATOS:"eurekaHydatos",ZONE_EUREKA_PAGOS:"eurekaPagos",ZONE_EUREKA_PYROS:"eurekaPyros",ZONE_GRIDANIA:"gridania",ZONE_IDYLLSHIRE:"idyllshire",ZONE_IL_MHEG:"ilMheg",ZONE_ISHGARD:"ishgard",ZONE_KHOLUSIA:"kholusia",ZONE_KUGANE:"kugane",ZONE_LAKELAND:"lakeland",ZONE_LIMSA_LOMINSA:"limsaLominsa",ZONE_LOWER_LA_NOSCEA:"lowerLaNoscea",ZONE_MIDDLE_LA_NOSCEA:"middleLaNoscea",ZONE_MIST:"mist",ZONE_MOR_DHONA:"morDhona",ZONE_NORTH_SHROUD:"northShroud",ZONE_NORTHERN_THANALAN:"northernThanalan",ZONE_OUTER_LA_NOSCEA:"outerLaNoscea",ZONE_RHALGRS_REACH:"rhalgrsReach",ZONE_SHIROGANE:"shirogane",ZONE_SOUTH_SHROUD:"southShroud",ZONE_SOUTHERN_THANALAN:"southernThanalan",ZONE_THE_AZIM_STEPPE:"theAzimSteppe",ZONE_THE_CHURNING_MISTS:"theChurningMists",ZONE_THE_CRYSTARIUM:"theCrystarium",ZONE_THE_DIADEM:"theDiadem",ZONE_THE_DRAVANIAN_FORELANDS:"theDravanianForelands",ZONE_THE_DRAVANIAN_HINTERLANDS:"theDravanianHinterlands",ZONE_THE_FRINGES:"theFringes",ZONE_THE_GOBLET:"theGoblet",ZONE_THE_LAVENDER_BEDS:"theLavenderBeds",ZONE_THE_LOCHS:"theLochs",ZONE_THE_PEAKS:"thePeaks",ZONE_THE_RAKTIKA_GREATWOOD:"theRaktikaGreatwood",ZONE_THE_RUBY_SEA:"theRubySea",ZONE_THE_SEA_OF_CLOUDS:"theSeaOfClouds",ZONE_THE_TEMPEST:"theTempest",ZONE_ULDAH:"uldah",ZONE_UPPER_LA_NOSCEA:"upperLaNoscea",ZONE_WESTERN_LA_NOSCEA:"westernLaNoscea",ZONE_WESTERN_THANALAN:"westernThanalan",ZONE_WOLVES_DEN_PIER:"wolvesDenPier",ZONE_YANXIA:"yanxia",ZONE_ZADNOR:"zadnor"},o=n("id"),i=n("locale"),u=function(){var e;function n(e,n){var a=(void 0===n?{}:n).locale,t=void 0===a?"en":a;Object.defineProperty(this,o,{writable:!0,value:void 0}),Object.defineProperty(this,i,{writable:!0,value:void 0}),r(this,o)[o]=e,r(this,i)[i]=t}n.getWeather=function(e,r,a){return void 0===a&&(a={}),new n(e,a).getWeather(r)},(e=[{key:"ZONE_AMH_ARAENG",get:function(){return"amhAraeng"}},{key:"ZONE_AZYS_LLA",get:function(){return"azysLla"}},{key:"ZONE_BOZJAN_SOUTHERN_FRONT",get:function(){return"bozjanSouthernFront"}},{key:"ZONE_CENTRAL_SHROUD",get:function(){return"centralShroud"}},{key:"ZONE_CENTRAL_THANALAN",get:function(){return"centralThanalan"}},{key:"ZONE_COERTHAS_CENTRAL_HIGHLANDS",get:function(){return"coerthasCentralHighlands"}},{key:"ZONE_COERTHAS_WESTERN_HIGHLANDS",get:function(){return"coerthasWesternHighlands"}},{key:"ZONE_EAST_SHROUD",get:function(){return"eastShroud"}},{key:"ZONE_EASTERN_LA_NOSCEA",get:function(){return"easternLaNoscea"}},{key:"ZONE_EASTERN_THANALAN",get:function(){return"easternThanalan"}},{key:"ZONE_EULMORE",get:function(){return"eulmore"}},{key:"ZONE_EUREKA_ANEMOS",get:function(){return"eurekaAnemos"}},{key:"ZONE_EUREKA_HYDATOS",get:function(){return"eurekaHydatos"}},{key:"ZONE_EUREKA_PAGOS",get:function(){return"eurekaPagos"}},{key:"ZONE_EUREKA_PYROS",get:function(){return"eurekaPyros"}},{key:"ZONE_GRIDANIA",get:function(){return"gridania"}},{key:"ZONE_IDYLLSHIRE",get:function(){return"idyllshire"}},{key:"ZONE_IL_MHEG",get:function(){return"ilMheg"}},{key:"ZONE_ISHGARD",get:function(){return"ishgard"}},{key:"ZONE_KHOLUSIA",get:function(){return"kholusia"}},{key:"ZONE_KUGANE",get:function(){return"kugane"}},{key:"ZONE_LAKELAND",get:function(){return"lakeland"}},{key:"ZONE_LIMSA_LOMINSA",get:function(){return"limsaLominsa"}},{key:"ZONE_LOWER_LA_NOSCEA",get:function(){return"lowerLaNoscea"}},{key:"ZONE_MIDDLE_LA_NOSCEA",get:function(){return"middleLaNoscea"}},{key:"ZONE_MIST",get:function(){return"mist"}},{key:"ZONE_MOR_DHONA",get:function(){return"morDhona"}},{key:"ZONE_NORTH_SHROUD",get:function(){return"northShroud"}},{key:"ZONE_NORTHERN_THANALAN",get:function(){return"northernThanalan"}},{key:"ZONE_OUTER_LA_NOSCEA",get:function(){return"outerLaNoscea"}},{key:"ZONE_RHALGRS_REACH",get:function(){return"rhalgrsReach"}},{key:"ZONE_SHIROGANE",get:function(){return"shirogane"}},{key:"ZONE_SOUTH_SHROUD",get:function(){return"southShroud"}},{key:"ZONE_SOUTHERN_THANALAN",get:function(){return"southernThanalan"}},{key:"ZONE_THE_AZIM_STEPPE",get:function(){return"theAzimSteppe"}},{key:"ZONE_THE_CHURNING_MISTS",get:function(){return"theChurningMists"}},{key:"ZONE_THE_CRYSTARIUM",get:function(){return"theCrystarium"}},{key:"ZONE_THE_DIADEM",get:function(){return"theDiadem"}},{key:"ZONE_THE_DRAVANIAN_FORELANDS",get:function(){return"theDravanianForelands"}},{key:"ZONE_THE_DRAVANIAN_HINTERLANDS",get:function(){return"theDravanianHinterlands"}},{key:"ZONE_THE_FRINGES",get:function(){return"theFringes"}},{key:"ZONE_THE_GOBLET",get:function(){return"theGoblet"}},{key:"ZONE_THE_LAVENDER_BEDS",get:function(){return"theLavenderBeds"}},{key:"ZONE_THE_LOCHS",get:function(){return"theLochs"}},{key:"ZONE_THE_PEAKS",get:function(){return"thePeaks"}},{key:"ZONE_THE_RAKTIKA_GREATWOOD",get:function(){return"theRaktikaGreatwood"}},{key:"ZONE_THE_RUBY_SEA",get:function(){return"theRubySea"}},{key:"ZONE_THE_SEA_OF_CLOUDS",get:function(){return"theSeaOfClouds"}},{key:"ZONE_THE_TEMPEST",get:function(){return"theTempest"}},{key:"ZONE_ULDAH",get:function(){return"uldah"}},{key:"ZONE_UPPER_LA_NOSCEA",get:function(){return"upperLaNoscea"}},{key:"ZONE_WESTERN_LA_NOSCEA",get:function(){return"westernLaNoscea"}},{key:"ZONE_WESTERN_THANALAN",get:function(){return"westernThanalan"}},{key:"ZONE_WOLVES_DEN_PIER",get:function(){return"wolvesDenPier"}},{key:"ZONE_YANXIA",get:function(){return"yanxia"}},{key:"ZONE_ZADNOR",get:function(){return"zadnor"}}])&&function(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}(n,e);var u=n.prototype;return u.getWeather=function(e){if(!this.validate())throw new TypeError("'"+r(this,o)[o]+"' is undefined zone ID.");var n=function(e){var n=Math.floor(e.getTime()/1e3),r=n/175,a=n/4200,t=100*(a=a<<32>>>0)+(r+8-r%8)%24,s=(t<<11^t)>>>0;return((s>>>8^s)>>>0)%100}(e),t=a[r(this,o)[o]](n);return this.translate("weathers."+t)},u.getZoneName=function(){if(!this.validate())throw new TypeError("'"+r(this,o)[o]+"' is undefined zone ID.");return this.translate("zones."+r(this,o)[o])},u.translate=function(e){var n=t[r(this,i)[i]][e];if(!n)throw new TypeError("'"+e+"' is undefined translate ID.");return n},u.validate=function(){var e="ZONE_"+r(this,o)[o].replace(/[A-Z]/g,function(e){return"_"+e}).toUpperCase();return s[e]===r(this,o)[o]},n}();export default u;
//# sourceMappingURL=eorzea-weather.module.js.map