(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d4c88228"],{"0b8b":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("header",{staticClass:"row profile"},[a("div",{staticClass:"col-md-6 col-sm-12"},[a("h1",{attrs:{property:"name",id:"wb-cont"}},[t._v(t._s(t.title))]),a("translate",{attrs:{tag:"p"}},[t._v("Latest hourly and 7-day weather forecasts for locations across Canada. Plus view local radar and satellite imagery.")])],1),t._m(0)]),a("div",{staticClass:"row visible-md visible-lg visible-print-rv"},[a("section",{staticClass:"col-lg-4 col-md-6"},[a("translate",{attrs:{tag:"h2"}},[t._v("Local Forecasts")]),a("current-location"),a("ul",[a("li",[a("a",{attrs:{href:t.links.baseUrl+"canada"+t.linkSuffix}},[a("translate",[t._v("Canada")])],1)]),t._l(t.provinces,(function(e){return a("li",{key:e.code},[a("a",{attrs:{href:t.links.baseUrl+"forecast/canada/index"+t.linkSuffix+"?id="+e.code}},[t._v(t._s(e.text))])])})),a("li",[a("a",{attrs:{href:t.links["canada.ca"].guide_public,rel:"external"}},[a("translate",[t._v("Guide to Forecasts")])],1)])],2)],1),a("section",{staticClass:"col-lg-4 col-md-6"},[a("translate",{attrs:{tag:"h2"}},[t._v("Weather Radar")]),a("ul",[a("li",[a("router-link",{attrs:{to:{name:"home",query:{layers:["","radar"]},hash:"#wb-cont"}}},[a("translate",[t._v("Canada")])],1)],1),t._l(t.provinces,(function(e){return a("li",{key:e.code},[a("router-link",{attrs:{to:{name:"home",query:{layers:["","radar"],province:e.code},hash:"#wb-cont"}}},[t._v(" "+t._s(e.text)+" ")])],1)}))],2)],1),a("div",{staticClass:"clearfix visible-md"}),a("section",{staticClass:"col-lg-4 col-md-6"},[a("translate",{attrs:{tag:"h2"}},[t._v("Satellite")]),a("ul",[a("li",[a("a",{attrs:{href:t.links.baseUrl+"satellite/index"+t.linkSuffix+"#goes_composites"}},[a("translate",[t._v("GOES Composites")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"satellite/index"+t.linkSuffix+"#goes_east"}},[a("translate",[t._v("GOES East")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"satellite/index"+t.linkSuffix+"#goes_west"}},[a("translate",[t._v("GOES West")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"satellite/index"+t.linkSuffix+"#hrpt"}},[a("translate",[t._v("HRPT NOAA polar orbiting")])],1)])])],1),a("div",{staticClass:"clearfix visible-lg"}),a("section",{staticClass:"col-lg-4 col-md-6"},[a("translate",{attrs:{tag:"h2"}},[t._v("Charts")]),a("ul",[a("li",[a("a",{attrs:{href:t.links.baseUrl+"astro/index"+t.linkSuffix}},[a("translate",[t._v("Astronomy Sky Condition")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"saisons/index"+t.linkSuffix}},[a("translate",[t._v("Seasonal Forecasts")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"jet_stream/index"+t.linkSuffix}},[a("translate",[t._v("Weather at a Glance (Jet Stream)")])],1)])])],1),a("div",{staticClass:"clearfix visible-md"}),a("section",{staticClass:"col-lg-4 col-md-6"},[a("translate",{attrs:{tag:"h2"}},[t._v("Aviation")]),a("ul",[a("li",[a("a",{attrs:{href:t.links["flightplanning.navcanada.ca"].home,rel:"external"}},[a("translate",[t._v("NAV CANADA")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"model_forecast/aviation_products"+t.linkSuffix}},[a("translate",[t._v("Aviation Forecast Model")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"eer/vaac/index"+t.linkSuffix}},[a("translate",[t._v("Volcanic Ash")])],1)])])],1),a("section",{staticClass:"col-lg-4 col-md-6"},[a("translate",{attrs:{tag:"h2"}},[t._v("Text Bulletins")]),a("ul",t._l(t.provinces,(function(e){return a("li",{key:e.code},[a("a",{attrs:{href:t.links.baseUrl+"forecast/public_bulletins"+t.linkSuffix+"#"+e.code}},[t._v(t._s(e.text))])])})),0)],1)]),a("div",{staticClass:"hidden-md hidden-lg hidden-print"},[a("wet-details",[a("summary",[a("translate",{attrs:{tag:"h2"}},[t._v("Local Forecasts")])],1),a("current-location"),a("ul",[a("li",[a("a",{attrs:{href:t.links.baseUrl+"canada"+t.linkSuffix}},[a("translate",[t._v("Canada")])],1)]),t._l(t.provinces,(function(e){return a("li",{key:e.code},[a("a",{attrs:{href:t.links.baseUrl+"forecast/canada/index"+t.linkSuffix+"?id="+e.code}},[t._v(t._s(e.text))])])})),a("li",[a("a",{attrs:{href:t.links["canada.ca"].guide_public,rel:"external"}},[a("translate",[t._v("Guide to Forecasts")])],1)])],2)],1),a("wet-details",[a("summary",[a("translate",{attrs:{tag:"h2"}},[t._v("Weather Radar")])],1),a("ul",[a("li",[a("router-link",{attrs:{to:{name:"home",query:{layers:["","radar"]},hash:"#wb-cont"}}},[a("translate",[t._v("Canada")])],1)],1),t._l(t.provinces,(function(e){return a("li",{key:e.code},[a("router-link",{attrs:{to:{name:"home",query:{layers:["","radar"],province:e.code},hash:"#wb-cont"}}},[t._v(" "+t._s(e.text)+" ")])],1)}))],2)]),a("wet-details",[a("summary",[a("translate",{attrs:{tag:"h2"}},[t._v("Satellite")])],1),a("ul",[a("li",[a("a",{attrs:{href:t.links.baseUrl+"satellite/index"+t.linkSuffix+"#goes_composites"}},[a("translate",[t._v("GOES Composites")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"satellite/index"+t.linkSuffix+"#goes_east"}},[a("translate",[t._v("GOES East")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"satellite/index"+t.linkSuffix+"#goes_west"}},[a("translate",[t._v("GOES West")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"satellite/index"+t.linkSuffix+"#hrpt"}},[a("translate",[t._v("HRPT NOAA polar orbiting")])],1)])])]),a("wet-details",[a("summary",[a("translate",{attrs:{tag:"h2"}},[t._v("Charts")])],1),a("ul",[a("li",[a("a",{attrs:{href:t.links.baseUrl+"astro/index"+t.linkSuffix}},[a("translate",[t._v("Astronomy Sky Condition")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"saisons/index"+t.linkSuffix}},[a("translate",[t._v("Seasonal Forecasts")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"jet_stream/index"+t.linkSuffix}},[a("translate",[t._v("Weather at a Glance (Jet Stream)")])],1)])])]),a("wet-details",[a("summary",[a("translate",{attrs:{tag:"h2"}},[t._v("Aviation")])],1),a("ul",[a("li",[a("a",{attrs:{href:t.links["flightplanning.navcanada.ca"].home,rel:"external"}},[a("translate",[t._v("NAV CANADA")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"model_forecast/aviation_products"+t.linkSuffix}},[a("translate",[t._v("Aviation Forecast Model")])],1)]),a("li",[a("a",{attrs:{href:t.links.baseUrl+"eer/vaac/index"+t.linkSuffix}},[a("translate",[t._v("Volcanic Ash")])],1)])])]),a("wet-details",[a("summary",[a("translate",{attrs:{tag:"h2"}},[t._v("Text Bulletins")])],1),a("ul",t._l(t.provinces,(function(e){return a("li",{key:e.code},[a("a",{attrs:{href:t.links.baseUrl+"forecast/public_bulletins"+t.linkSuffix+"#"+e.code}},[t._v(t._s(e.text))])])})),0)])],1)])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-md-6 margin-top-small hidden-sm hidden-xs"},[s("img",{staticClass:"pull-right img-responsive thumbnail",attrs:{src:a("a12d"),alt:""}})])}],l=a("4df1"),r=a("a755"),n=a("13b3"),o={name:"WeatherMenuView",components:{CurrentLocation:r["a"],WetDetails:n["a"]},data(){return{provinces:[{code:"AB",text:this.$gettext("Alberta")},{code:"BC",text:this.$gettext("British Columbia")},{code:"MB",text:this.$gettext("Manitoba")},{code:"NB",text:this.$gettext("New Brunswick")},{code:"NL",text:this.$gettext("Newfoundland and Labrador")},{code:"NT",text:this.$gettext("Northwest Territories")},{code:"NS",text:this.$gettext("Nova Scotia")},{code:"NU",text:this.$gettext("Nunavut")},{code:"ON",text:this.$gettext("Ontario")},{code:"PE",text:this.$gettext("Prince Edward Island")},{code:"QC",text:this.$gettext("Quebec")},{code:"SK",text:this.$gettext("Saskatchewan")},{code:"YT",text:this.$gettext("Yukon")}],links:l[this.$language.current],linkSuffix:"_"+this.$language.current[0]+".html",title:this.$gettext("Weather")}},created(){this.$store.commit("setBreadcrumbs",[{route:{name:"home"},text:this.$gettext("Weather information")}]),this.$store.commit("resetUpdateTime")},metaInfo(){return{bodyAttrs:{class:"secondary"},title:this.title,meta:[{name:"dcterms.title",vmid:"dcterms.title",content:this.title}]}}},c=o,d=a("2877"),u=Object(d["a"])(c,s,i,!1,null,null,null);e["default"]=u.exports},"13b3":function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("details",[t._t("default",(function(){return[a("summary")]}))],2)},i=[],l=(a("0643"),a("fffc"),a("fd1f")),r={name:"WetDetails",mounted(){window.wb.isReady&&!1===window.Modernizr.details?setTimeout(()=>{const t=window.jQuery(this.$el);t.find("summary").trigger("wb-init.wb-details"),t.on("toggle",t=>{this.$emit("toggle",t)})},l["w"]):this.$el.addEventListener("toggle",t=>{this.$emit("toggle",t)})}},n=r,o=a("2877"),c=Object(o["a"])(n,s,i,!1,null,null,null);e["a"]=c.exports},a12d:function(t,e,a){t.exports=a.p+"img/Leveled-LowWaterConditions-4_520x200.jpg"},a755:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("wet-details",{class:t.panelStyle&&"panel panel-warning",attrs:{id:"gps-jq"},on:{toggle:function(e){return t.showLocation(!1)}}},[a("summary",{class:t.panelStyle&&"panel-heading"},[a("translate",[t._v("Find your location")])],1),t.nearbyLocations.length?a("translate",{key:"nopanel-loc",attrs:{tag:"p"}},[t._v("Closest locations near you:")]):t._e(),t.nearbyLocations.length?a("ol",{staticClass:"mrgn-tp-md"},t._l(t.nearbyLocations,(function(e){return a("li",{key:e.cgndb+"-"+e.distance},[t.$router?a("router-link",{attrs:{to:{name:"location",query:{coords:[e.lat,e.lon]}}}},[a("nearby-location-text",{attrs:{location:e,"dir-map":t.dirMap}})],1):a("a",{attrs:{href:t.baseUrl+t.$language.current+"/location/index.html?coords="+e.lat+","+e.lon}},[a("nearby-location-text",{attrs:{location:e,"dir-map":t.dirMap}})],1)],1)})),0):t._e(),t.$ssrContext?a("noscript",{tag:"component"},[a("translate",[t._v("Please turn on javascript to find your closest location.")])],1):t._e(),a("p",[t._v(t._s(t.locationMessage))])],1)},i=[],l=(a("14d9"),a("5f02")),r=a.n(l),n=a("4df1"),o=a("d8ef"),c=a("13b3"),d={name:"CurrentLocation",components:{WetDetails:c["a"],NearbyLocationText:{functional:!0,props:{location:{type:Object,required:!0},dirMap:{type:Object,required:!0}},render:(t,{parent:e,props:{location:a,dirMap:s}})=>{const i=[a.displayName," ("];return a.distance<1?i.push(1e3*a.distance," ",t("abbr",{attrs:{title:e.$gettext("metres")}},"m")):i.push(a.distance," ",t("abbr",{attrs:{title:e.$gettext("kilometres")}},"km")),i.push(" ",t("abbr",{attrs:{title:s[a.direction_st]}},a.direction_st),")"),i}}},props:{panelStyle:{type:Boolean}},data(){return{locationMessage:"",nearbyLocations:[],dirMap:Object(o["F"])(),baseUrl:n[this.$language.current].baseUrl}},methods:{async showLocation(t){if(t||this.$el.open){this.locationMessage=this.$gettext("Please wait while your location is being obtained...");try{const t=this.$language.current,{coords:{latitude:e,longitude:a}}=await Object(o["i"])();this.nearbyLocations=(await Object(o["g"])().get(n.apiUrl+`/v2/${t}/Nearby/${e},${a}`)).data,this.locationMessage=""}catch(e){let t=e.message;r()(e)&&(t=this.$gettext("Sorry, we cannot locate you")),this.locationMessage=t}}}}},u=d,h=a("2877"),f=Object(h["a"])(u,s,i,!1,null,null,null);e["a"]=f.exports}}]);

AltStyle によって変換されたページ (->オリジナル) /