1import{b as J}from"./chunk-EHK3XVK6.js";import"./chunk-76CZGVMV.js";import"./chunk-RDNPK4JN.js";import"./chunk-BSYU3A6T.js";import"./chunk-NDN5HPTF.js";import"./chunk-LZQTDS54.js";import"./chunk-FTMTPX4P.js";import"./chunk-4PR2W44Z.js";import"./chunk-64MUE7TD.js";import"./chunk-IPRTGYVJ.js";import"./chunk-RYWZ6RDH.js";import{d as K}from"./chunk-UTRFG6UA.js";import"./chunk-ORHW456O.js";import{E as u,Ra as D,Xa as L,ab as $,be as N,ce as z,fb as R,he as F,ie as G,kb as H,me as V,n as O,sd as k,se as q,ya as X,yb as j}from"./chunk-IJDBQKGN.js";import"./chunk-B5YGGBPK.js";import"./chunk-4R7TFJ2A.js";import{Eb as r,Kb as l,Ld as U,Mc as d,Md as B,Nc as w,Pc as E,Rb as M,Sc as W,Tc as T,Uc as x,Xb as S,dc as v,dd as m,ed as g,fd as I,kc as f,mc as C,nc as P,oc as b,pc as a,qc as t,rc as o,wb as _,yb as y,yc as A}from"./chunk-WPW6PZDG.js";import"./chunk-GAL4ENT6.js";function Y(e,h){e&1&&o(0,"ad-wx-ws")(1,"ad-mw-position-1")}function Z(e,h){if(e&1&&(a(0,"div",5)(1,"div",7)(2,"div"),d(3),t()(),a(4,"div",8)(5,"div",16),d(6),m(7,"date"),t(),o(8,"pre",17),t()()),e&2){let n=h.$implicit;r(3),w(n.title),r(3),E(" Issued: ",I(7,4,n.date,"h:mm a MMM. d, yyyy")," \u2013 ",n.source," "),r(2),v("innerHTML",n.body,_)}}function ee(e,h){if(e&1&&o(0,"img",11),e&2){let n=A();v("src",n.overlayUrl,y)}}function te(e,h){e&1&&(a(0,"div",15),o(1,"ad-taboola",18)(2,"ad-triple-box")(3,"ad-mw-position-5"),t())}var Q=(()=>{class e{constructor(n,s,i,p,c){this.ads=n,this.ups=s,this.mapService=c,this.isPremium=!1,this.severeOverlay=!0,this.ups.isUserLoggedIn().subscribe(()=>{this.isPremium=this.ups.isUserPremium()}),this.lat=u(p,"snapshot.data.currentStation.station.latitude",0)||u(p,"snapshot.data.currentStation.latitude",0),this.long=u(p,"snapshot.data.currentStation.station.longitude",0)||u(p,"snapshot.data.currentStation.longitude",0),this.mapUrl=this.mapService.getMapGeocodeUrl(`${this.lat},${this.long}`,8)+"&product=twcRadarMosaic",this.overlayUrl=this.mapService.getMapGeocodeUrl(`${this.lat},${this.long}`,8)+"&product=twcRadarMosaic,648",this.alerts$=i.getAlerts(this.lat,this.long)}static{this.\u0275fac=function(s){return new(s||e)(l(N),l(L),l(D),l(O),l(X))}}static{this.\u0275cmp=M({type:e,selectors:[["app-severe-alerts"]],decls:29,vars:14,consts:[[3,"hasSidebar"],[1,"region-content-top"],[1,"region-content-main"],[1,"row"],[1,"small-12","large-8","columns"],[1,"data-module"],[1,"small-12","large-4","columns"],[1,"module-header"],[1,"content"],[1,"image-container"],["alt","Local Radar Image","width","400","height","400",1,"radar-image",3,"src"],["alt","Local Severe Image","width","400","height","400",1,"severe-image",3,"src"],[1,"severe-toggle"],["type","checkbox","name","severe-toggle","id","severe-toggle",3,"ngModelChange","ngModel"],["for","severe-toggle"],[1,"region-footer"],[1,"data-title"],[1,"pre-wrap",3,"innerHTML"],["type","today"]],template:function(s,i){s&1&&(a(0,"one-column-layout",0),m(1,"async"),a(2,"div",1),S(3,Y,2,0),m(4,"async"),o(5,"lib-city-header"),t(),a(6,"div",2)(7,"div",3)(8,"div",4)(9,"h2"),d(10,"Active Weather Alerts"),t(),P(11,Z,9,7,"div",5,C),m(13,"async"),t(),a(14,"div",6)(15,"div",5)(16,"div",7)(17,"div"),d(18,"Local Radar"),t()(),a(19,"div",8)(20,"div",9),o(21,"img",10),S(22,ee,1,1,"img",11),t(),a(23,"div",12)(24,"input",13),x("ngModelChange",function(c){return T(i.severeOverlay,c)||(i.severeOverlay=c),c}),t(),a(25,"label",14),d(26,"Severe Overlay"),t()()()()()(),S(27,te,4,0,"div",15),m(28,"async"),t()()),s&2&&(v("hasSidebar",!!g(1,6,i.ads.adsEnabled$)),r(3),f(g(4,8,i.ads.adsEnabled$)?3:-1),r(8),b(g(13,10,i.alerts$)),r(10),v("src",i.mapUrl,y),r(),f(i.severeOverlay?22:-1),r(2),W("ngModel",i.severeOverlay),r(3),f(g(28,12,i.ads.adsEnabled$)?27:-1))},dependencies:[j,$,R,H,U,B,J,K,z,G,q,F,V],styles:[".severe-image[_ngcontent-%COMP%]{top:0;left:0;opacity:.6;display:block;position:absolute}.image-container[_ngcontent-%COMP%]{position:relative}"]})}}return e})();var be=[{path:"",redirectTo:"us/ca/san-francisco",pathMatch:"full"},{path:"**",component:Q,resolve:{currentStation:k},data:{title:"{currentStation.metrics.title}",metatags:{description:"{currentStation.metrics.metaDescription}"},metrics:{pageName:"{currentStation.metrics.omniture.pageName}",channel:"{currentStation.metrics.omniture.channel}",contentType:"{currentStation.metrics.omniture.contentType}",subSection:"{currentStation.metrics.omniture.subSection}"},ads:{page:"severe",adPositions:{default:["WX_WindowShade","WX_Bot300AdX1","WX_Bot300AdX2","WX_Bot300AdX3","WX_Hidden"],mobile:["MW_Position1","MW_Position5","WX_Hidden"]}}}}];export{be as default};
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.