PageSourceSearch

https://www.nvenergy.com/7832.cf8280aa29e1dd55.js

js nvenergy.com collected 2026-09-24 09:33:23 UTC 129,646 bytes, 1 lines download raw bytes

1(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7832],{27605:(q,H,r)=>{"use strict";r.d(H,{O:()=>w});var e=r(81467),t=r(55062),O=r(24006),h=r(89383);let w=(()=>{var m;class Z{constructor(){this.filterText="",console.log("inside cons")}filterTextChanged(){e.A.getInstance().sendFilterData(this.filterText)}}return(m=Z).\u0275fac=function(D){return new(D||m)},m.\u0275cmp=t.Xpm({type:m,selectors:[["nve-account-feed-filter"]],decls:2,vars:4,consts:[["type","text","aria-label","filterbox, type to search through notifications or payment and billing history",1,"form-control","account-feed-filter",3,"ngModel","placeholder","ngModelChange"]],template:function(D,u){1&D&&(t.TgZ(0,"input",0),t.NdJ("ngModelChange",function(s){return u.filterText=s})("ngModelChange",function(){return u.filterTextChanged()}),t.ALo(1,"translate"),t.qZA()),2&D&&(t.s9C("placeholder",t.lcZ(1,2,"COMPONENTS.ACCOUNTFEED.ACCOUNTFEEDFILTER.SEARCHPLACEHOLDER")),t.Q6J("ngModel",u.filterText))},dependencies:[O.Fj,O.JJ,O.On,h.X$],encapsulation:2}),Z})()},88066:(q,H,r)=>{"use strict";r.d(H,{s:()=>Ue});var e=r(15861),t=r(55062),O=r(81467),h=r(68664),w=r(61213),m=r(5296),Z=r(43910),R=r(16418),D=r(27107),u=r(30100),f=r(70723),s=r(15441),x=r(4317),C=r(62245),k=r(90603),A=r(75834),I=r(68835),P=r(89383),B=r(79024),E=r(36895),W=r(15638),X=r(7737),K=r(6766),z=r(8085),G=r(24006),tt=r(97670),et=r(21288);function nt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"ion-checkbox",19,20),t.NdJ("ionChange",function(n){t.CHM(i);const l=t.MAs(1),d=t.oxw(2);return t.KtG(d.selectCheckBox(l.checked,n))}),t.qZA()}if(2&o){const i=t.oxw(2);t.zWS("aria-label","select ",i.accountHistoryItem.description,",\n              ",i.accountHistoryItem.statement.totalBillAmount," dollar"),t.Q6J("checked",i.selectAllBooleanArray[i.pageNumber*i.noOfItemsPerPage-i.noOfItemsPerPage+i.i])}}function T(o,c){if(1&o&&(t.TgZ(0,"div",17),t.YNc(1,nt,2,3,"ion-checkbox",18),t.qZA()),2&o){const i=t.oxw();t.xp6(1),t.Q6J("ngIf","Bill"==i.accountHistoryItem.transType)}}function Y(o,c){1&o&&(t.TgZ(0,"span"),t._uU(1," - "),t.qZA())}function L(o,c){1&o&&(t.TgZ(0,"span"),t._uU(1," + "),t.qZA())}function _(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",21),t.NdJ("click",function(){t.CHM(i);const n=t.oxw();
1return t.KtG(n.expandBillInsert(n.i))}),t.YNc(1,Y,2,0,"span",11),t.YNc(2,L,2,0,"span",11),t._uU(3),t.qZA()}if(2&o){const i=t.oxw();t.xp6(1),t.Q6J("ngIf",i.billInsertArray[i.i]),t.xp6(1),t.Q6J("ngIf",!i.billInsertArray[i.i]),t.xp6(1),t.hij(" ",i.accountHistoryItem.description," ")}}function M(o,c){1&o&&(t.TgZ(0,"div",17),t._UZ(1,"div",22),t.qZA())}function p(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",25),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(2);return t.KtG(n.showPaymentTooltip())}),t._UZ(1,"span",26),t.qZA()}}function v(o,c){if(1&o&&(t.TgZ(0,"div",23)(1,"span"),t._uU(2),t.YNc(3,p,2,0,"a",24),t.qZA()()),2&o){const i=t.oxw();t.uIk("aria-label",i.accountHistoryItem.description),t.xp6(2),t.AsE(" ",i.accountHistoryItem.description," # ",i.accountHistoryItem.payment.paymentConfirmationNumber," "),t.xp6(1),t.Q6J("ngIf","Pending"==i.accountHistoryItem.payment.paymentStatus&&("DRFT"===i.accountHistoryItem.payment.paymentSource||"WEB"===i.accountHistoryItem.payment.paymentSource||"IVR"===i.accountHistoryItem.payment.paymentSource))}}function y(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",25),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(2);return t.KtG(n.showPaymentTooltip())}),t._UZ(1,"span",26),t.qZA()}}function N(o,c){if(1&o&&(t.TgZ(0,"div",27)(1,"span"),t._uU(2),t.YNc(3,y,2,0,"a",24),t.qZA()()),2&o){const i=t.oxw();t.uIk("aria-label",i.accountHistoryItem.description),t.xp6(2),t.AsE(" ",i.accountHistoryItem.description," # ",i.accountHistoryItem.payment.paymentConfirmationNumber," "),t.xp6(1),t.Q6J("ngIf","Pending"==i.accountHistoryItem.payment.paymentStatus&&("DRFT"===i.accountHistoryItem.payment.paymentSource||"WEB"===i.accountHistoryItem.payment.paymentSource||"IVR"===i.accountHistoryItem.payment.paymentSource))}}function U(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",25),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(2);return t.KtG(n.showPaymentTooltip())}),t._UZ(1,"span",26),t.qZA()}}function J(o,c){if(1&o&&(t.TgZ(0,"div",28)(1,"span"),t._uU(2),t.YNc(3,U,2,0,"a",24),t.qZA()()),2&o){const i=t.oxw();t.uIk("aria-label",i.accountHistoryItem.description),t.xp6(2),t.hij(" ",i.accountHistoryItem.description," "),t.xp6(1),t.Q6J("ngIf","Pending"==i.accountHistoryItem.payment.paymentStatus&&("DRFT"===i.accountHistoryItem.payment.paymentSource||"WEB"===i.accountHistoryItem.payment.paymentSource||"IVR"===i.accountHistoryItem.payment.paymentSource))}}function $(o,c){1&o&&(t.TgZ(0,"div",17),t._UZ(1,"div",22),t.qZA())}function j(o,c){1&o&&(t.TgZ(0,"span"),t._uU(1,"-"),t.qZA())}function lt(o,c){1&o&&(t.TgZ(0,"span"),t._uU(1,"+"),t.qZA())}function rt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",29),t.NdJ("click",function(){t.CHM(i);const n=t.oxw();
1return t.KtG(n.expandBillInsert(n.i))}),t.YNc(1,j,2,0,"span",11),t.YNc(2,lt,2,0,"span",11),t._uU(3),t.qZA()}if(2&o){const i=t.oxw();t.xp6(1),t.Q6J("ngIf",i.billInsertArray[i.i]),t.xp6(1),t.Q6J("ngIf",!i.billInsertArray[i.i]),t.xp6(1),t.hij(" ",i.accountHistoryItem.description," ")}}function st(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",30),t.NdJ("click",function(){t.CHM(i);const n=t.oxw();return t.KtG(n.expandBillInsert(n.i))}),t._uU(1),t.qZA()}if(2&o){const i=t.oxw();t.xp6(1),t.hij(" ",i.accountHistoryItem.description," ")}}function dt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",34),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(2);return t.KtG(n.viewUsage(n.accountHistoryItem.statement.endDate,n.accountHistoryItem.statement.startDate))}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&o&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.VIEWUSAGE")))}function pt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",35),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(2);return t.KtG(n.getBill(n.accountHistoryItem))}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&o&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.VIEW")))}function _t(o,c){1&o&&(t.TgZ(0,"span",38),t._uU(1,"*"),t.qZA())}function gt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"button",36),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(2);return t.KtG(n.getMergedBill(n.accountHistoryItem))}),t._uU(1),t.ALo(2,"translate"),t.YNc(3,_t,2,0,"span",37),t.qZA()}if(2&o){const i=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,2,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.VIEWMERGED"),""),t.xp6(2),t.Q6J("ngIf","N"===i.accountHistoryItem.masterDisplayFlag||"E"===i.accountHistoryItem.masterDisplayFlag)}}const at=function(o){return{pendingPaymentDetails:o}};function mt(o,c){if(1&o&&(t.TgZ(0,"button",39),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&o){const i=t.oxw(2);t.Q6J("moveToPage",i.cancelRoute())("setPageToRoot",!1)("moveToPageParam",t.VKq(6,at,i.accountHistoryItem.payment)),t.xp6(1),t.hij(" ",t.lcZ(2,4,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.CANCEL")," ")}}function ut(o,c){if(1&o&&(t.TgZ(0,"div",31),t.YNc(1,dt,3,3,"a",32),t.YNc(2,pt,3,3,"a",13),t.YNc(3,gt,4,4,"button",33),t.YNc(4,mt,3,8,"button",14),t.qZA()),2&o){const i=t.oxw();t.xp6(1),t.Q6J("ngIf","Bill"==i.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","Bill"==i.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf",i.accountHistoryItem.masterDisplayFlag&&"Bill"==i.accountHistoryItem.transType&&!0===i.isMasterAccount),t.xp6(1),t.Q6J("ngIf","Payment"==i.accountHistoryItem.transType&&"Y"==i.accountHistoryItem.payment.cancelEligibleFlag&&"Pending"==i.accountHistoryItem.payment.paymentStatus)}}function ft(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"accountHistoryAmount"),t.qZA()),2&o){const i=t.oxw();t.Q2q("aria-label","",i.accountHistoryItem.payment.paymentAmount," dollar"),t.xp6(1),t.Oqu(t.lcZ(2,2,i.accountHistoryItem.payment.paymentAmount))}}function Ct(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"currency"),t.qZA()),2&o){const i=t.oxw();t.Q2q("aria-label","",i.accountHistoryItem.statement.totalBillAmount," dollar"),t.xp6(1),t.Oqu(t.gM2(2,2,i.accountHistoryItem.statement.totalBillAmount,"USD",!0,"1.2-2"))}}function vt(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"accountHistoryAmount"),t.qZA()),2&o){const i=t.oxw();t.Q2q("aria-label","",i.accountHistoryItem.flexpayItem.fpPayment.totalAmount," dollar"),t.xp6(1),t.Oqu(t.lcZ(2,2,i.accountHistoryItem.flexpayItem.fpPayment.totalAmount))}}function ht(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",34),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(2);return t.KtG(n.viewUsage(n.accountHistoryItem.statement.endDate,n.accountHistoryItem.statement.startDate))}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&o&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.VIEWUSAGE")))}function Ot(o,c){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,ht,3,3,"a",32),t.qZA()),2&o){const i=t.oxw();t.xp6(1),t.Q6J("ngIf","Bill"==i.accountHistoryItem.transType)}}function bt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",35),t.NdJ("click",function(){t.CHM(i);const n=t.oxw();return t.KtG(n.getBill(n.accountHistoryItem))}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&o&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.VIEW")))}function xt(o,c){if(1&o&&(t.TgZ(0,"button",39),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&o){const i=t.oxw();t.Q6J("moveToPage","my-account/cancel-pending-payment")("setPageToRoot",!1)("moveToPageParam",t.VKq(6,at,i.accountHistoryItem.payment)),t.xp6(1),t.hij(" ",t.lcZ(2,4,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.CANCEL")," ")}}function Pt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",40)(1,"i")(2,"button",41),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"button",42)(6,"span",43),t.NdJ("click",function(){t.CHM(i);const n=t.oxw();return t.KtG(n.downloadPDF(n.accountHistoryItem))}),t.qZA()()()()}if(2&o){const i=t.oxw();t.Q2q("aria-label","download ",i.accountHistoryItem.description,""),t.xp6(3),t.hij(" ",t.lcZ(4,2,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.DOWNLOAD")," ")}}function yt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",40)(1,"i")(2,"button",44),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"button",45),t.NdJ("click",function(){t.CHM(i);const n=t.oxw();return t.KtG(n.downloadPDF(n.accountHistoryItem))}),t.qZA()()()}if(2&o){const i=t.oxw();t.Q2q("aria-label","download ",i.accountHistoryItem.description,""),t.xp6(3),t.hij(" ",t.lcZ(4,2,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.PRINT")," ")}}function Mt(o,c){1&o&&(t.TgZ(0,"span",38),t._uU(1,"*"),t.qZA())}function At(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",35),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(3);return t.KtG(n.getMergedBill(n.accountHistoryItem))}),t._uU(1),t.ALo(2,"translate"),t.YNc(3,Mt,2,0,"span",37),t.qZA()}if(2&o){const i=t.oxw(3);t.xp6(1),t.Oqu(t.lcZ(2,2,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.VIEWMERGED")),t.xp6(2),t.Q6J("ngIf","N"===i.accountHistoryItem.masterDisplayFlag||"E"===i.accountHistoryItem.masterDisplayFlag)}}function Tt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",40)(1,"i")(2,"button",41),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"button",42)(6,"span",43),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(3);return t.KtG(n.downloadMergedBill(n.accountHistoryItem))}),t.qZA()()()()}if(2&o){const i=t.oxw(3);t.Q2q("aria-label","download ",i.accountHistoryItem.description,""),t.xp6(3),t.hij(" ",t.lcZ(4,2,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.DOWNLOAD")," ")}}function It(o,c){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,At,4,4,"a",13),t.YNc(2,Tt,7,4,"div",15),t.qZA()),2&o){const i=t.oxw(2);t.xp6(1),t.Q6J("ngIf",i.accountHistoryItem.masterDisplayFlag&&"Bill"===i.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","Bill"==i.accountHistoryItem.transType)}}function Et(o,c){if(1&o&&(t.TgZ(0,"div",12),t.YNc(1,It,3,2,"div",11),t.qZA()),2&o){const i=t.oxw();
1t.xp6(1),t.Q6J("ngIf",i.accountHistoryItem.masterDisplayFlag)}}let Nt=(()=>{var o;class c{constructor(a,n,l){this.modalCtrl=a,this.translateService=n,this.userService=l,this.billInsertArray=void 0,this.selectAllBooleanArray=void 0,this.i=void 0,this.pageNumber=1,this.noOfItemsPerPage=8,this.expandBillInsertEvent=new t.vpe,this.viewUsageEvent=new t.vpe,this.getBillEvent=new t.vpe,this.downloadPDFEvent=new t.vpe,this.selectPDFEvent=new t.vpe,this.getMergedBillEvent=new t.vpe,this.downloadMergedBillEvent=new t.vpe,this.selectAllBooleanArrayChange=new t.vpe,this.isMasterAccount="M"===l.user.currentAccount.billType}getMergedBill(a){this.getMergedBillEvent.emit(a)}downloadMergedBill(a){this.downloadMergedBillEvent.emit(a)}expandBillInsert(a){this.expandBillInsertEvent.emit({i:a})}viewUsage(a,n){this.viewUsageEvent.emit({endDate:a,startDate:n})}getBill(a){this.getBillEvent.emit({accountHistoryItem:a})}downloadPDF(a){this.downloadPDFEvent.emit({accountHistoryItem:a})}selectCheckBox(a,n){this.selectPDFEvent.emit({checked:a}),n.stopPropagation(),this.selectAllBooleanArray[this.pageNumber*this.noOfItemsPerPage-this.noOfItemsPerPage+this.i]=!this.selectAllBooleanArray[this.pageNumber*this.noOfItemsPerPage-this.noOfItemsPerPage+this.i],this.selectAllBooleanArrayChange.emit({i:this.i}),this.selectAllBooleanArray=[...this.selectAllBooleanArray]}showPaymentTooltip(){let a=[],n=new m.v;n.content=String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.MSG2")),a.push(n),this.modalCtrl.create({component:s.g,componentProps:{errorMessages:a,updateUrl:!1}}).then(l=>l.present().then(()=>l.onDidDismiss().then(d=>{})))}cancelRoute(){return z.$.cancelPendingPayment}}return(o=c).\u0275fac=function(a){return new(a||o)(t.Y36(k.IN),t.Y36(P.sK),t.Y36(w.K))},o.\u0275cmp=t.Xpm({type:o,selectors:[["nve-payment-and-billing-item"]],inputs:{accountHistoryItem:"accountHistoryItem",billInsertArray:"billInsertArray",selectAllBooleanArray:"selectAllBooleanArray",i:"i",pageNumber:"pageNumber",noOfItemsPerPage:"noOfItemsPerPage"},outputs:{expandBillInsertEvent:"expandBillInsertEvent",viewUsageEvent:"viewUsageEvent",getBillEvent:"getBillEvent",downloadPDFEvent:"downloadPDFEvent",selectPDFEvent:"selectPDFEvent",getMergedBillEvent:"getMergedBillEvent",downloadMergedBillEvent:"downloadMergedBillEvent",selectAllBooleanArrayChange:"selectAllBooleanArrayChange"},decls:24,vars:21,consts:[[1,"table-row"],["class","table-column checkbox-column",4,"ngIf"],["class","table-column title-column","aria-level","1",3,"click",4,"ngIf"],["class","table-column title-column","role","heading","aria-level","1",4,"ngIf"],["class","table-column title-column","role","heading","aria-level","2",4,"ngIf"],["class","table-column title-column","role","heading","aria-level","3",4,"ngIf"],["class","table-column title-column","role","heading","aria-label","Account History","aria-level","1",3,"click",4,"ngIf"],["class","table-column title-column enrole-flexpay","role","heading","aria-level","4",3,"click",4,"ngIf"],[1,"table-column"],["class","view-usage-mobile hidden-lg",4,"ngIf"],[1,"amount-due"],[4,"ngIf"],[1,"table-column","visible-lg"],["href","javascript:void(0)","aria-hidden","true",3,"click",4,"ngIf"],["class","text-btn text-underline","aria-label","cancel this payment","csrDisable","","tappable","",3,"moveToPage","setPageToRoot","moveToPageParam",4,"ngIf"],["class","service-icon-link",4,"ngIf"],["class","table-column visible-lg",4,"ngIf"],[1,"table-column","checkbox-column"],["mode","md","class","float-left checkbox checkbox-md ng-untouched ng-pristine ng-valid","ngDefaultControl","",3,"checked","ionChange",4,"ngIf"],["mode","md","ngDefaultControl","",1,"float-left","checkbox","checkbox-md","ng-untouched","ng-pristine","ng-valid",3,"checked","ionChange"],["cv",""],["aria-level","1",1,"table-column","title-column",3,"click"],[1,"checkbox-column-blank"],["role","heading","aria-level","1",1,"table-column","title-column"],["class","header-info-icon",3,"click",4,"ngIf"],[1,"header-info-icon",3,"click"],[1,"nve-icon","nve-icon-info"],["role","heading","aria-level","2",1,"table-column","title-column"],["role","heading","aria-level","3",1,"table-column","title-column"],["role","heading","aria-label","Account History","aria-level","1",1,"table-column","title-column",3,"click"],["role","heading","aria-level","4",1,"table-column","title-column","enrole-flexpay",3,"click"],[1,"view-usage-mobile","hidden-lg"],["href","javascript:void(0)",3,"click",4,"ngIf"],["class","text-btn text-underline","aria-hidden","true","csrDisable","",3,"click",4,"ngIf"],["href","javascript:void(0)",3,"click"],["href","javascript:void(0)","aria-hidden","true",3,"click"],["aria-hidden","true","csrDisable","",1,"text-btn","text-underline",3,"click"],["class","display-inline",4,"ngIf"],[1,"display-inline"],["aria-label","cancel this payment","csrDisable","","tappable","",1,"text-btn","text-underline",3,"moveToPage","setPageToRoot","moveToPageParam"],[1,"service-icon-link"],["id","dwnldLnk","csrDisable","",1,"download-pdf","text-btn","text-underline"],["t
1itle","Download","aria-label","download this statement","csrDisable","",1,"text-btn","text-underline"],["csrDisable","",1,"nve-icon","nve-icon-download",3,"click"],["id","dwnldLnk2","csrDisable","",1,"print-pdf","text-btn","text-underline"],["href","javascript:void(0)","title","Print","aria-label","print this statement","csrDisable","",1,"text-btn","text-underline",3,"click"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0),t.YNc(1,T,2,1,"div",1),t.YNc(2,_,4,3,"div",2),t.YNc(3,M,2,0,"div",1),t.YNc(4,v,4,4,"div",3),t.YNc(5,N,4,4,"div",4),t.YNc(6,J,4,3,"div",5),t.YNc(7,$,2,0,"div",1),t.YNc(8,rt,4,3,"div",6),t.YNc(9,st,2,1,"div",7),t.TgZ(10,"div",8),t.YNc(11,ut,5,4,"div",9),t.TgZ(12,"div",10),t.YNc(13,ft,3,4,"span",11),t.YNc(14,Ct,3,7,"span",11),t.YNc(15,vt,3,4,"span",11),t.qZA()(),t.TgZ(16,"div",12),t.YNc(17,Ot,2,1,"div",11),t.qZA(),t.TgZ(18,"div",12),t.YNc(19,bt,3,3,"a",13),t.YNc(20,xt,3,8,"button",14),t.YNc(21,Pt,7,4,"div",15),t.YNc(22,yt,6,4,"div",15),t.qZA(),t.YNc(23,Et,2,1,"div",16),t.qZA()),2&a&&(t.xp6(1),t.Q6J("ngIf","Bill"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","Bill"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","Payment"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","Payment"==n.accountHistoryItem.transType&&n.accountHistoryItem.payment&&"WEB"===n.accountHistoryItem.payment.paymentSource),t.xp6(1),t.Q6J("ngIf","Payment"==n.accountHistoryItem.transType&&n.accountHistoryItem.payment&&"IVR"===n.accountHistoryItem.payment.paymentSource),t.xp6(1),t.Q6J("ngIf","Payment"==n.accountHistoryItem.transType&&n.accountHistoryItem.payment&&"WEB"!==n.accountHistoryItem.payment.paymentSource&&"IVR"!==n.accountHistoryItem.payment.paymentSource),t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"==n.accountHistoryItem.transType&&("Payment"==n.accountHistoryItem.subTransType||"Bill"==n.accountHistoryItem.subTransType||"Usage"==n.accountHistoryItem.subTransType)),t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"==n.accountHistoryItem.transType&&"Enrollment"==n.accountHistoryItem.subTransType),t.xp6(1),t.ekj("transType-bill","Bill"===n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","Enrollment"!=n.accountHistoryItem.subTransType),t.xp6(2),t.Q6J("ngIf","Payment"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","Bill"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"==n.accountHistoryItem.transType&&"Payment"===n.accountHistoryItem.subTransType),t.xp6(2),t.Q6J("ngIf","Enrollment"!=n.accountHistoryItem.subTransType),t.xp6(2),t.Q6J("ngIf","Bill"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","Payment"==n.accountHistoryItem.transType&&"Y"==n.accountHistoryItem.payment.cancelEligibleFlag&&"Pending"==n.accountHistoryItem.payment.paymentStatus),t.xp6(1),t.Q6J("ngIf","Bill"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","Bill"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf",!0===n.isMasterAccount))},dependencies:[E.O5,G.Fj,tt.a,W.$,E.H9,P.X$,et.K],styles:[".nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-checked[_ngcontent-%COMP%]{border-color:#d2c9c7}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-inner[_ngcontent-%COMP%]{top:3px;left:3px;width:12px;height:12px}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{border-color:#d2c9c7;background:#ffffff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]{border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-icon[_ngcontent-%COMP%]{width:20px;height:20px;border-width:1px;border-style:solid;border-radius:1px;border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]   .checkbox-inner[_ngcontent-%COMP%]{top:0;left:7px;width:5px;height:14px}.nve[_ngcontent-%COMP%]   .checkbox-md.checkbox-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-checkbox-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none;background:#ccc}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%], .nve[_ng
1content-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{background:#cccccc}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]::part(container){background:#cccccc}.nve[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:1em;font-weight:400;color:#000}.text-btn[_ngcontent-%COMP%]{font-weight:400}.table-row[_ngcontent-%COMP%]{display:table-row}.checkbox-column[_ngcontent-%COMP%]{width:3%}ion-checkbox[_ngcontent-%COMP%]{--border-width: 1px !important;--border-color: #d2c9c7 !important;--checkmark-color: #5c9d56;--checkmark-width: 2px;--background-checked: white !important;--border-color-checked: #d2c9c7 !important;--border-radius: 0;--size: 20px}.table-column[_ngcontent-%COMP%]{display:table-cell;vertical-align:top}.table-column[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0;line-height:30px}.table-column[_ngcontent-%COMP%]   a.header-info-icon[_ngcontent-%COMP%]{line-height:30px;margin-bottom:0;position:relative;top:auto;left:auto;font-size:16px}.table-column[_ngcontent-%COMP%]   a.header-info-icon[_ngcontent-%COMP%]   .nve-icon-info[_ngcontent-%COMP%]{position:relative;top:auto;font-size:16px}.table-column[_ngcontent-%COMP%]   a.header-info-icon[_ngcontent-%COMP%]   .nve-icon-info[_ngcontent-%COMP%]:before{position:relative;left:5px;font-size:2rem}.table-column[_ngcontent-%COMP%]:nth-child(3){width:25%}.table-column[_ngcontent-%COMP%]:nth-child(3).transType-bill{width:9%}.table-column[_ngcontent-%COMP%]:nth-child(4){width:13%}.table-column[_ngcontent-%COMP%]:nth-child(5){width:15%}.table-column[_ngcontent-%COMP%]:nth-child(6){width:11%}.table-column-100[_ngcontent-%COMP%]{display:table-cell;width:97%}@media (min-width: 1200px){.table-column.visible-lg[_ngcontent-%COMP%]{display:table-cell!important}}.title-column[_ngcontent-%COMP%]{width:27%;color:#008dc9;font-weight:700}@media (max-width: 1023px){.table-column.visible-lg[_ngcontent-%COMP%]{display:none!important}.table-column[_ngcontent-%COMP%]{display:block;width:100%;padding-left:40px}.checkbox-column[_ngcontent-%COMP%]{float:left;display:block;padding-left:0;width:auto}.title-column[_ngcontent-%COMP%]{margin-left:40px;display:block;padding-left:0;width:auto}.table-column[_ngcontent-%COMP%]:nth-child(3){width:100%}.table-column[_ngcontent-%COMP%]:nth-child(3).transType-bill{width:100%}.table-column[_ngcontent-%COMP%]:nth-child(4){width:100%}.table-column[_ngcontent-%COMP%]:nth-child(5){width:100%}.table-column[_ngcontent-%COMP%]:nth-child(6){width:100%}}.service-icon-link[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] > span.nve-icon.nve-icon-download[_ngcontent-%COMP%]{top:0px}a[_ngcontent-%COMP%]{font-weight:400}.next-to-icon[_ngcontent-%COMP%]{display:block;padding-top:2px}.service-icon-link[_ngcontent-%COMP%]{display:inline-block;margin-right:10px}.notifications-important[_ngcontent-%COMP%]{padding-top:0;font-weight:600}.download-pdf[_ngcontent-%COMP%], .print-pdf[_ngcontent-%COMP%]{display:none}.active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:700}.account-history[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .checkbox-column[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{display:block;margin-left:5px;margin-right:5px}"]}),c})();var wt=r(94327),Zt=r(33441);function Ht(o,c){1&o&&(t.TgZ(0,"p"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&o&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.NOINSERT")," "))}function Ut(o,c){1&o&&t._UZ(0,"div",13)}function St(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",9)(1,"div",4),t._UZ(2,"div",5),t.qZA(),t.TgZ(3,"div",10),t._UZ(4,"ion-checkbox",11),t.TgZ(5,"span"),t._uU(6),t.qZA()(),t._UZ(7,"div",12)(8,"div",13),t.TgZ(9,"div",14),t.ALo(10,"translate"),t.TgZ(11,"a",15),t.NdJ("click",function(){const l=t.CHM(i).$implicit,d=t.oxw(2);return t.KtG(d.getBill(l.bill))}),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"button",16),t.NdJ("click",function(){const l=t.CHM(i).$implicit,d=t.oxw(2);return t.KtG(d.downloadBill(l.bill))}),t._UZ(15,"span",17),t.qZA()(),t.YNc(16,Ut,1,0,"div",18),t.qZA()}if(2&o){const i=c.$implicit,a=t.oxw(2);t.xp6(3),t.uIk("aria-label",i.name),t.xp6(3),t.Oqu(i.name),t.xp6(3),t.uIk("aria-label",t.lcZ(10,5,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.VIEWINSERT")),t.xp6(3),t.hij(" ",t.lcZ(13,7,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.VIEWINSERT")," "),t.xp6(4),t.Q6J("ngIf",!0===a.isMasterAccount)}}function Dt(o,c){if(1&o&&(t.TgZ(0,"div",2)(1,"div",3)(2,"div",4),t._UZ(3,"div",5),t.qZA(),t.TgZ(4,"div",6),t.ALo(5,"translate"),t.TgZ(6,"h5"),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.YNc(9,Ht,3,3,"p",7),t.qZA()(),t.YNc(10,St,17,9,"div",8),t.qZA()),2&o){const i=t.oxw();
1t.xp6(4),t.uIk("aria-label",t.lcZ(5,4,"COMPONENTS.ACCOUNTFEED.BILLINSERT")),t.xp6(3),t.Oqu(t.lcZ(8,6,"COMPONENTS.ACCOUNTFEED.BILLINSERT")),t.xp6(2),t.Q6J("ngIf",!i.billInsertRequestData||!i.billInsertRequestData.length),t.xp6(1),t.Q6J("ngForOf",i.billInsertRequestData)}}function kt(o,c){1&o&&(t.TgZ(0,"div",19)(1,"div",3)(2,"div",20),t._UZ(3,"nve-spinner"),t.qZA()()())}let Bt=(()=>{var o;class c{constructor(a,n,l,d,g,b,S){this.accountFeedService=a,this.appUtil=n,this.globalServiceErrorHandler=l,this.translateService=d,this.userService=g,this.platform=b,this.logger=S,this.isMasterAccount=!1,this.loadingProgress=!0,this.isMasterAccount="M"===this.userService.user.currentAccount.billType}ngOnInit(){const a=new Date(this.billInsertRequestDate);this.accountFeedService.getBillInsert(a).then(n=>{this.billInsertRequestData=n,this.loadingProgress=!1}).catch(n=>{this.loadingProgress=!1})}getBill(a){const n=this.appUtil.updateUrl(a);this.platform.is("android")&&this.platform.is("hybrid")?window.open(n,"_system","location=yes,enableViewportScale=yes,hidden=no"):this.appUtil.openNewTab(n)}downloadBill(a){this.accountFeedService.downloadBillInsert(this.appUtil.updateUrl(a)).then(n=>{(0,wt.saveAs)(n,a.split("/").reverse()[0])}).catch(n=>{this.logger.error("Unable to download bill insert",n),this.globalServiceErrorHandler.showToast(String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.MSG3")))})}}return(o=c).\u0275fac=function(a){return new(a||o)(t.Y36(h.A),t.Y36(Z.$),t.Y36(A.o),t.Y36(P.sK),t.Y36(w.K),t.Y36(k.t4),t.Y36(Zt.Y))},o.\u0275cmp=t.Xpm({type:o,selectors:[["nve-billing-insert"]],inputs:{billInsertRequestDate:"billInsertRequestDate"},decls:2,vars:2,consts:[["class","table-wrapper margin-bottom-15",4,"ngIf"],["class","table-wrapper",4,"ngIf"],[1,"table-wrapper","margin-bottom-15"],[1,"table-row"],[1,"table-column","checkbox-column"],[1,"checkbox-column-blank"],["tabindex","0","role","heading",1,"title-column"],[4,"ngIf"],["role","tree","tabindex","0","aria-label","Bill Item","class","table-row",4,"ngFor","ngForOf"],["role","tree","tabindex","0","aria-label","Bill Item",1,"table-row"],["tabindex","0","role","treeitem",1,"table-column","title-column"],["tabindex","-1","mode","md"],[1,"table-column","visible-lg","transType-bill"],[1,"table-column","visible-lg"],["tabindex","0","role","treeitem",1,"table-column"],["tabindex","-1","href","javascript:void(0)","tappable","",3,"click"],["tabindex","-1","tappable","","csrDisable","",1,"hidden-xs","hidden-sm","text-btn","text-underline",3,"click"],[1,"nve-icon","nve-icon-download"],["class","table-column visible-lg",4,"ngIf"],[1,"table-wrapper"],[1,"table-column-100"]],template:function(a,n){1&a&&(t.YNc(0,Dt,11,8,"div",0),t.YNc(1,kt,4,0,"div",1)),2&a&&(t.Q6J("ngIf",!n.loadingProgress),t.xp6(1),t.Q6J("ngIf",n.loadingProgress))},dependencies:[E.sg,E.O5,W.$,K.$,P.X$],styles:[".nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-checked[_ngcontent-%COMP%]{border-color:#d2c9c7}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-inner[_ngcontent-%COMP%]{top:3px;left:3px;width:12px;height:12px}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{border-color:#d2c9c7;background:#ffffff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]{border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-icon[_ngcontent-%COMP%]{width:20px;height:20px;border-width:1px;border-style:solid;border-radius:1px;border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]   .checkbox-inner[_ngcontent-%COMP%]{top:0;left:7px;width:5px;height:14px}.nve[_ngcontent-%COMP%]   .checkbox-md.checkbox-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-checkbox-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none;background:#ccc}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%], .nve[_ng
1content-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{background:#cccccc}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]::part(container){background:#cccccc}.nve[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:1em;font-weight:400;color:#000}ion-checkbox[_ngcontent-%COMP%]{--border-width: 1px !important;--border-color: #d2c9c7 !important;--checkmark-color: #5c9d56;--checkmark-width: 2px;--background-checked: white !important;--border-color-checked: #d2c9c7 !important;--border-radius: 0;margin-right:5px}.text-btn[_ngcontent-%COMP%]{font-weight:400}.bill-insert-title[_ngcontent-%COMP%]{display:inline-block}.bill-insert-service[_ngcontent-%COMP%]{float:right;width:80px}.table-header[_ngcontent-%COMP%]{margin-bottom:10px}a[_ngcontent-%COMP%]{font-weight:400}.next-to-icon[_ngcontent-%COMP%]{display:block;padding-top:2px}.service-icon-link[_ngcontent-%COMP%]{display:inline-block;margin-right:10px}.notifications-important[_ngcontent-%COMP%]{padding-top:0;font-weight:600}.download-pdf[_ngcontent-%COMP%], .print-pdf[_ngcontent-%COMP%]{display:none}.active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:700}.title-column[_ngcontent-%COMP%]{color:#000!important;font-weight:400!important}.title-column[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{margin-top:0!important}.checkbox-column[_ngcontent-%COMP%]{width:1%!important}@media (min-width: 1200px){.checkbox-column[_ngcontent-%COMP%]{width:3%!important}}@media (max-width: 1023px){.title-column[_ngcontent-%COMP%]{display:block!important;width:90%!important;padding-right:15px!important}.title-column[_ngcontent-%COMP%]   ion-checkbox[_ngcontent-%COMP%]{display:none!important}.table-column[_ngcontent-%COMP%]:nth-child(6){display:block!important;margin-bottom:10px!important}}"]}),c})();var ct=r(15083);const Ft=["cv"];function Rt(o,c){1&o&&t._UZ(0,"div",10)}function Lt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",1)(1,"div",2)(2,"ion-checkbox",3,4),t.NdJ("ionChange",function(){t.CHM(i);const n=t.MAs(3),l=t.oxw();return t.KtG(l.checkboxChanged(n.checked))}),t.qZA()(),t.TgZ(4,"div",5),t.ALo(5,"translate"),t.TgZ(6,"span",6),t._uU(7),t.ALo(8,"translate"),t._UZ(9,"nve-tool-tip",7),t.qZA()(),t.TgZ(10,"div",8),t.ALo(11,"translate"),t.TgZ(12,"span",6),t._uU(13),t.ALo(14,"translate"),t._UZ(15,"nve-tool-tip",9),t.qZA()(),t._UZ(16,"div",10)(17,"div",10),t.YNc(18,Rt,1,0,"div",11),t.qZA()}if(2&o){const i=t.oxw();t.xp6(4),t.uIk("aria-label",t.lcZ(5,9,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.SELECTALL")),t.xp6(3),t.hij(" ",t.lcZ(8,11,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.SELECTALL")," "),t.xp6(2),t.Q6J("isToolTip",!0),t.xp6(1),t.ekj("transType-bill",!i.isEnrolledInFlexpay),t.uIk("aria-label",t.lcZ(11,13,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.AMOUNT")),t.xp6(3),t.hij(" ",t.lcZ(14,15,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.AMOUNT")," "),t.xp6(2),t.Q6J("isToolTip",!0),t.xp6(3),t.Q6J("ngIf",i.isMasterAccount)}}function Yt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",1)(1,"div",2)(2,"ion-checkbox",3,4),t.NdJ("ionChange",function(){t.CHM(i);const n=t.MAs(3),l=t.oxw();return t.KtG(l.checkboxChanged(n.checked))}),t.qZA()(),t.TgZ(4,"div",5),t.ALo(5,"translate"),t.TgZ(6,"span",6),t._uU(7),t.ALo(8,"translate"),t._UZ(9,"nve-tool-tip",7),t.qZA()(),t.TgZ(10,"div",8),t.ALo(11,"translate"),t.TgZ(12,"span",6),t._uU(13),t.ALo(14,"translate"),t._UZ(15,"nve-tool-tip",9),t.qZA()(),t.TgZ(16,"div",12)(17,"span",6),t._uU(18),t.ALo(19,"translate"),t._UZ(20,"nve-tool-tip",13),t.qZA()(),t.TgZ(21,"div",14)(22,"span",6),t._uU(23),t.ALo(24,"translate"),t._UZ(25,"nve-tool-tip",15),t.qZA()(),t._UZ(26,"div",10),t.qZA()}2&o&&(t.xp6(4),t.uIk("aria-label",t.lcZ(5,10,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.SELECTALL")),t.xp6(3),t.hij("",t.lcZ(8,12,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.SELECTALL")," "),t.xp6(2),t.Q6J("isToolTip",!0),t.xp6(1),t.uIk("aria-label",t.lcZ(11,14,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.AMOUNT")),t.xp6(3),t.hij(" ",t.lcZ(14,16,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.AMOUNT")," "),t.xp6(2),t.Q6J("isToolTip",!0),t.xp6(3),t.hij("",t.lcZ(19,18,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.FLEXBALANCEHEAD")," "),t.xp6(2),t.Q6J("isToolTip",!0),t.xp6(3),t.hij("",t.lcZ(24,20,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.OUTSTANDINGBALNCEHEAD")," "),t.xp6(2),t.Q6J("isToolTip",!0))}let Jt=(()=>{var o;class c{constructor(a,n){this.userService=a,this.changeRef=n,this.isEnrolledInFlexpay=void 0,this.checkboxChangedEvent=new t.vpe,this.isPageHeaderSelected=!1,this.pageNumber=1,this.isMasterAccount="M"===a.user.currentAccount.billType}ngAfterViewInit(){this.checkBoxRef.nativeElement.checked=!1}
1ngOnChanges(a){var n;const l=null===(n=a.isPageHeaderSelected)||void 0===n?void 0:n.currentValue;var d;void 0!==l&&null!==(d=this.checkBoxRef)&&void 0!==d&&d.nativeElement&&(this.checkBoxRef.nativeElement.checked=l)}checkboxChanged(a){this.isPageHeaderSelected=a,this.checkboxChangedEvent.emit({checked:a}),this.changeRef.detectChanges()}}return(o=c).\u0275fac=function(a){return new(a||o)(t.Y36(w.K),t.Y36(t.sBO))},o.\u0275cmp=t.Xpm({type:o,selectors:[["nve-billing-history-heading"]],viewQuery:function(a,n){if(1&a&&t.Gf(Ft,5),2&a){let l;t.iGM(l=t.CRH())&&(n.checkBoxRef=l.first)}},inputs:{isEnrolledInFlexpay:"isEnrolledInFlexpay",isFilteredItemsPresent:"isFilteredItemsPresent",isPageHeaderSelected:"isPageHeaderSelected",pageNumber:"pageNumber"},outputs:{checkboxChangedEvent:"checkboxChangedEvent"},features:[t.TTD],decls:2,vars:2,consts:[["tabindex","0","aria-label","Headings","class","table-row",4,"ngIf"],["tabindex","0","aria-label","Headings",1,"table-row"],[1,"table-column","checkbox-column"],["mode","md","aria-label","select all payment and billing history","checked","isPageHeaderSelected","ngDefaultControl","",1,"float-left","checkbox","checkbox-md","ng-untouched","ng-pristine","ng-valid",3,"ionChange"],["cv",""],["tabindex","0",1,"table-column","title-column"],[2,"white-space","nowrap"],["type","ToolTipModalComponent","path","/tooltips/select-all.html",3,"isToolTip"],["tabindex","0",1,"table-column","visible-lg"],["type","ToolTipModalComponent","path","/tooltips/amount.html",3,"isToolTip"],[1,"table-column","visible-lg"],["class","table-column visible-lg",4,"ngIf"],["tabindex","0","attr.aria-label","Flexpay Balance",1,"table-column","visible-lg"],["type","ToolTipModalComponent","path","/tooltips/flexpay-balance.html",3,"isToolTip"],["tabindex","0","attr.aria-label","Outstanding Balance",1,"table-column","visible-lg"],["type","ToolTipModalComponent","path","/tooltips/outstanding-balance.html",3,"isToolTip"]],template:function(a,n){1&a&&(t.YNc(0,Lt,19,17,"div",0),t.YNc(1,Yt,27,22,"div",0)),2&a&&(t.Q6J("ngIf",null!=n.isEnrolledInFlexpay&&!n.isEnrolledInFlexpay&&n.isFilteredItemsPresent),t.xp6(1),t.Q6J("ngIf",null!=n.isEnrolledInFlexpay&&n.isEnrolledInFlexpay))},dependencies:[E.O5,G.Fj,ct.I,P.X$],styles:[".nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-checked[_ngcontent-%COMP%]{border-color:#d2c9c7}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-inner[_ngcontent-%COMP%]{top:3px;left:3px;width:12px;height:12px}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{border-color:#d2c9c7;background:#ffffff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]{border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-icon[_ngcontent-%COMP%]{width:20px;height:20px;border-width:1px;border-style:solid;border-radius:1px;border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]   .checkbox-inner[_ngcontent-%COMP%]{top:0;left:7px;width:5px;height:14px}.nve[_ngcontent-%COMP%]   .checkbox-md.checkbox-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-checkbox-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none;background:#ccc}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{background:#cccccc}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]::part(container){background:#cccccc}.nve[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:1em;font-weight:400;color:#000}.table-row[_ngcontent-%COMP%]{display:table-row}.checkbox-column[_ngcontent-%COMP%]{width:3%}ion-checkbox[_ngcontent-%COMP%]{--border-width: 1px !important;--border-color: #d2c9c7 !important;--checkmark-color: #5c9d56;--checkmark-width: 2px;--background-checked: white !important;--border-color-checked: #d2c9c7 !important;--border-radius: 0;--size: 20px}.table-column[_ngcontent-%COMP%]{display:table-cell;vertical-align:top}.table-column[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0;line-height:30px}.table-column[_ngcontent-%COMP%]   a.header-info-icon[_ngcontent-%COMP%]{line-height:30px;margin-bottom:0;position:relative;top:auto;left:auto;font-size:16px}.table-column[_ngcontent-%COMP%]   a.header-info-icon[_ngcontent-%COMP%]   .nve-icon-info[_ngcontent-%COMP%]{position:relative;top:auto;font-size:16px}.table-column[_ngcontent-%COMP%]   a.header-info-icon[_ngcontent-%COMP%]   .nve-icon-info[_ngcontent-%COMP%]:before{position:relative;
1left:5px;font-size:2rem}.table-column[_ngcontent-%COMP%]:nth-child(3){width:25%}.table-column[_ngcontent-%COMP%]:nth-child(3).transType-bill{width:9%}.table-column[_ngcontent-%COMP%]:nth-child(4){width:13%}.table-column[_ngcontent-%COMP%]:nth-child(5){width:15%}.table-column[_ngcontent-%COMP%]:nth-child(6){width:11%}.table-column-100[_ngcontent-%COMP%]{display:table-cell;width:97%}@media (min-width: 1200px){.table-column.visible-lg[_ngcontent-%COMP%]{display:table-cell!important}}.title-column[_ngcontent-%COMP%]{width:27%;color:#008dc9;font-weight:700}@media (max-width: 1023px){.table-column.visible-lg[_ngcontent-%COMP%]{display:none!important}.table-column[_ngcontent-%COMP%]{display:block;width:100%;padding-left:40px}.checkbox-column[_ngcontent-%COMP%]{float:left;display:block;padding-left:0;width:auto}.title-column[_ngcontent-%COMP%]{margin-left:40px;display:block;padding-left:0;width:auto}.table-column[_ngcontent-%COMP%]:nth-child(3){width:100%}.table-column[_ngcontent-%COMP%]:nth-child(3).transType-bill{width:100%}.table-column[_ngcontent-%COMP%]:nth-child(4){width:100%}.table-column[_ngcontent-%COMP%]:nth-child(5){width:100%}.table-column[_ngcontent-%COMP%]:nth-child(6){width:100%}}.account-history[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .checkbox-column[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{display:block;margin-left:5px;margin-right:5px}"]}),c})();var ot=r(64355);function qt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",17),t.NdJ("click",function(){t.CHM(i);const n=t.oxw().$implicit,l=t.oxw(2);return t.KtG(l.openInfoModal(n.tooltipMessage))}),t._UZ(1,"span",18),t.qZA()}}function Qt(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"flexpaycredit"),t.qZA()),2&o){const i=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,i.amount),"")}}function Kt(o,c){1&o&&(t.TgZ(0,"span"),t._uU(1,"-"),t.qZA())}function Gt(o,c){if(1&o&&(t.TgZ(0,"div",4)(1,"div",14)(2,"p"),t._uU(3),t.YNc(4,qt,2,0,"a",15),t.qZA()(),t.TgZ(5,"div",16)(6,"p"),t.YNc(7,Qt,3,3,"span",7),t.YNc(8,Kt,2,0,"span",7),t.qZA()()()),2&o){const i=c.$implicit;t.xp6(3),t.hij(" ",i.title,""),t.xp6(1),t.Q6J("ngIf",i.hasTooltip),t.xp6(3),t.Q6J("ngIf",null!=i.amount),t.xp6(1),t.Q6J("ngIf",null==i.amount)}}function jt(o,c){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Gt,9,4,"div",13),t.qZA()),2&o){const i=t.oxw();t.xp6(1),t.Q6J("ngForOf",i.accountHistoryItem.flexpayItem.fpUsage.energyUsageArray)}}function Wt(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"a",17),t.NdJ("click",function(){t.CHM(i);const n=t.oxw().$implicit,l=t.oxw(2);return t.KtG(l.openInfoModal(n.tooltipMessage))}),t._UZ(1,"span",18),t.qZA()}}function $t(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"flexpaycredit"),t.qZA()),2&o){const i=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,i.amount),"")}}function Vt(o,c){1&o&&(t.TgZ(0,"span"),t._uU(1,"-"),t.qZA())}function Xt(o,c){if(1&o&&(t.TgZ(0,"div",4)(1,"div",14)(2,"p"),t._uU(3),t.YNc(4,Wt,2,0,"a",15),t.qZA()(),t.TgZ(5,"div",16)(6,"p"),t.YNc(7,$t,3,3,"span",7),t.YNc(8,Vt,2,0,"span",7),t.qZA()()()),2&o){const i=c.$implicit;t.xp6(3),t.hij(" ",i.title,""),t.xp6(1),t.Q6J("ngIf",i.hasTooltip),t.xp6(3),t.Q6J("ngIf",null!=i.amount),t.xp6(1),t.Q6J("ngIf",null==i.amount)}}function zt(o,c){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Xt,9,4,"div",13),t.qZA()),2&o){const i=t.oxw();t.xp6(1),t.Q6J("ngForOf",i.accountHistoryItem.flexpayItem.fpUsage.gasUsageArray)}}function te(o,c){if(1&o&&(t.TgZ(0,"div",4)(1,"div",5)(2,"p"),t._uU(3),t.ALo(4,"translate"),t.qZA()(),t.TgZ(5,"div",6)(6,"p"),t._uU(7),t.ALo(8,"flexpaycredit"),t.qZA()()()),2&o){const i=t.oxw();t.xp6(3),t.Oqu(t.lcZ(4,2,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.CHARGEANDTAXES")),t.xp6(4),t.Oqu(t.lcZ(8,4,i.accountHistoryItem.flexpayItem.fpUsage.miscCharges))}}let ee=(()=>{var o;class c{constructor(a){this.modalCtrl=a,this.accountHistoryItem=void 0,this.isGasCustomer=!1}openInfoModal(a){if(void 0!==a){let n=new Array,l=new m.v;l.content=a,n.push(l),this.modalCtrl.create({component:s.g,componentProps:{errorMessages:n,updateUrl:!1}}).then(d=>d.present().then(()=>d.onDidDismiss().then(g=>{})))}}}return(o=c).\u0275fac=function(a){return new(a||o)(t.Y36(k.IN))},o.\u0275cmp=t.Xpm({type:o,selectors:[["nve-flexpay-usage-item"]],inputs:{accountHistoryItem:"accountHistoryItem",isGasCustomer:"isGasCustomer"},decls:51,vars:35,consts:[[1,"table-row"],[1,"table-column","checkbox-column"],[1,"table-column","title-column","align-top"],[1,"table-column","align-top","margin-top-mob-15"],[1,"row"],[1,"col-xs-8"],[1,"col-xs-4"],[4,"ngIf"],["class","row",4,"ngIf"],[1,"visible-xs","visible-sm","visible-md"],["type","ToolTipModalComponent","path","/tooltips/flexpay-balance.html",3,"isToolTip"],["type","ToolTipModalComponent","path","/tooltips/outstanding-balance.html",3,"isToolTip"],[1,"table-column","visible-lg"],["class","row",4,"ngFor","ngForOf"],[1,"col-sm-8","col-xs-8"],["class","header-info-icon",3,"click",4,"ngIf"],[1,"col-sm-4","col-xs-4"],[1,"header-info-icon",3,"click"],[1,"nve-icon","nve-icon-info"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0),t._UZ(1,"div",1)(2,"div",2),t.TgZ(3,"div",3)(4,"div",4)(5,"div",5)(6,"p")(7,"b"),t._uU(8),t.ALo(9,"translate"),t.qZA()()(),t.TgZ(10,"div",6)(11,"p")(12,"b"),t._uU(13),t.ALo(14,"flexpaycredit"),t.qZA()()()(),t.YNc(15,jt,2,1,"div",7),t.YNc(16,zt,2,1,"div",7),t.YNc(17,te,9,6,"div",8),t.TgZ(18,"div",4)(19,"div",5)(20,"p",9)(21,"b"),t._uU(22),t.ALo(23,"translate"),t.qZA(),t._UZ(24,"nve-tool-tip",10),t.qZA()(),t.TgZ(25,"div",6)(26,"p",9)(27,"b"),t._uU(28),t.ALo(29,"currency"),t.qZA()()()(),t.TgZ(30,"div",4)(31,"div",5)(32,"p",9)(33,"b"),t._uU(34),t.ALo(35,"translate"),t.qZA(),t._UZ(36,"nve-tool-tip",11),t.qZA()(),t.TgZ(37,"div",6)(38,"p",9)(39,"b"),t._uU(40),t.ALo(41,"flexpaycredit"),t.qZA()()()()(),t.TgZ(42,"div",12)(43,"p"),t._uU(44),t.ALo(45,"currency"),t.qZA()(),t.TgZ(46,"div",12)(47,"p"),t._uU(48),t.ALo(49,"flexpaycredit"),t.qZA()(),t._UZ(50,"div",12),t.qZA()),2&a&&(t.xp6(8),t.Oqu(t.lcZ(9,13,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.DAILYSNAP")),t.xp6(5),t.Oqu(t.lcZ(14,15,n.accountHistoryItem.flexpayItem.fpUsage.totalAmount)),t.xp6(2),t.Q6J("ngIf",null!=n.accountHistoryItem.flexpayItem.fpUsage.energyUsageArray),t.xp6(1),t.Q6J("ngIf",null!=n.accountHistoryItem.flexpayItem.fpUsage.gasUsageArray),t.xp6(1),t.Q6J("ngIf",null!=n.accountHistoryItem.flexpayItem.fpUsage.miscCharges),t.xp6(5),t.Oqu(t.lcZ(23,17,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.FLEXBALANCEHEAD")),t.xp6(2),t.Q6J("isToolTip",!0),t.xp6(4),t.Oqu(t.gM2(29,19,n.accountHistoryItem.flexpayItem.fpUsage.flexpayBalance,"USD",!0,"1.2-2")),t.xp6(6),t.Oqu(t.lcZ(35,24,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.OUTSTANDINGBALNCEHEAD")),t.xp6(2),t.Q6J("isToolTip",!0),t.xp6(4),t.Oqu(t.lcZ(41,26,n.accountHistoryItem.flexpayItem.fpUsage.outstandingBalance)),t.xp6(4),t.Oqu(t.gM2(45,28,n.accountHistoryItem.flexpayItem.fpUsage.flexpayBalance,"USD",!0,"1.2-2")),t.xp6(4),t.Oqu(t.lcZ(49,33,n.accountHistoryItem.flexpayItem.fpUsage.outstandingBalance)))},dependencies:[E.sg,E.O5,ct.I,E.H9,P.X$,ot.W],encapsulation:2}),c})(),ne=(()=>{var o;class c{constructor(){this.accountHistoryItem=void 0}}return(o=c).\u0275fac=function(a){return new(a||o)}
1,o.\u0275cmp=t.Xpm({type:o,selectors:[["nve-flexpay-payment-item"]],inputs:{accountHistoryItem:"accountHistoryItem"},decls:32,vars:22,consts:[[1,"table-row","flex-pay-details"],[1,"table-column","checkbox-column"],[1,"table-column","title-column","align-top"],[1,"table-column","align-top","margin-top-mob-15"],[1,"row"],[1,"col-sm-8","col-xs-8","flex-pay-payment-descriptions"],[1,"col-sm-4","col-xs-4"],[1,"table-column","visible-lg","align-top"],[1,"table-column","visible-lg"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2),t._uU(3),t.ALo(4,"date"),t.qZA(),t.TgZ(5,"div",3)(6,"div",4)(7,"div",5)(8,"p")(9,"b"),t._uU(10),t.ALo(11,"translate"),t.qZA()(),t.TgZ(12,"p"),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"p"),t._uU(16),t.ALo(17,"translate"),t.qZA()(),t.TgZ(18,"div",6)(19,"p")(20,"b"),t._uU(21),t.ALo(22,"flexpaycredit"),t.qZA()(),t.TgZ(23,"p"),t._uU(24),t.ALo(25,"flexpaycredit"),t.qZA(),t.TgZ(26,"p"),t._uU(27),t.ALo(28,"flexpaycredit"),t.qZA()()()(),t._UZ(29,"div",7)(30,"div",7)(31,"div",8),t.qZA()),2&a&&(t.xp6(3),t.hij(" ",t.xi3(4,7,n.accountHistoryItem.flexpayItem.appliedDate,"MMMM dd, yyyy")," "),t.xp6(7),t.Oqu(t.lcZ(11,10,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.TOTALPAYMENT")),t.xp6(3),t.Oqu(t.lcZ(14,12,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.FLEXBALANCE")),t.xp6(3),t.Oqu(t.lcZ(17,14,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.OUTSTANDINGBALANCE")),t.xp6(5),t.Oqu(t.lcZ(22,16,n.accountHistoryItem.flexpayItem.fpPayment.totalAmount)),t.xp6(3),t.Oqu(t.lcZ(25,18,n.accountHistoryItem.flexpayItem.fpPayment.appliedToFpBalance)),t.xp6(3),t.hij(" ",t.lcZ(28,20,n.accountHistoryItem.flexpayItem.fpPayment.appliedToOutstandingBalance)," "))},dependencies:[E.uU,P.X$,ot.W],encapsulation:2}),c})(),ie=(()=>{var o;class c{constructor(){this.accountHistoryItem=void 0}}return(o=c).\u0275fac=function(a){return new(a||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["nve-flexpay-misc-item"]],inputs:{accountHistoryItem:"accountHistoryItem"},decls:18,vars:7,consts:[[1,"table-row"],[1,"table-column","checkbox-column"],[1,"checkbox-column-blank"],["role","heading",1,"table-column","title-column"],[1,"table-column","align-top","margin-top-mob-15"],[1,"row"],[1,"col-sm-8","col-xs-9"],[1,"col-sm-4","col-xs-3"],[1,"table-column","visible-lg"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3),t._uU(4),t.qZA(),t.TgZ(5,"div",4)(6,"div",5)(7,"div",6)(8,"p"),t._uU(9),t.ALo(10,"titlecase"),t.qZA()(),t.TgZ(11,"div",7)(12,"p"),t._uU(13),t.ALo(14,"flexpaycredit"),t.qZA()()()(),t._UZ(15,"div",8)(16,"div",8)(17,"div",8),t.qZA()),2&a&&(t.xp6(4),t.Oqu(n.accountHistoryItem.description),t.xp6(5),t.Oqu(t.lcZ(10,3,n.accountHistoryItem.flexpayItem.description)),t.xp6(4),t.Oqu(t.lcZ(14,5,n.accountHistoryItem.flexpayItem.amount)))},dependencies:[E.rS,ot.W],encapsulation:2}),c})();function oe(o,c){1&o&&(t.TgZ(0,"div",7),t._UZ(1,"div",8),t.qZA())}function ae(o,c){if(1&o&&(t.TgZ(0,"div",9),t._uU(1),t.qZA()),2&o){const i=t.oxw();t.xp6(1),t.hij(" ",i.accountHistoryItem.description," ")}}function ce(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"currency"),t.qZA()),2&o){const i=t.oxw();t.Q2q("aria-label","",i.accountHistoryItem.flexpayItem.fpPayment.appliedToFpBalance," dollar"),t.xp6(1),t.Oqu(t.gM2(2,2,i.accountHistoryItem.flexpayItem.fpPayment.appliedToFpBalance,"USD",!0,"1.2-2"))}}function le(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"flexpaycredit"),t.qZA()),2&o){const i=t.oxw();t.Q2q("aria-label","",i.accountHistoryItem.flexpayItem.fpPayment.appliedToOutstandingBalance," dollar"),t.xp6(1),t.Oqu(t.lcZ(2,2,i.accountHistoryItem.flexpayItem.fpPayment.appliedToOutstandingBalance))}}let re=(()=>{var o;class c{constructor(){this.accountHistoryItem=void 0}}return(o=c).\u0275fac=function(a){return new(a||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["nve-flexpay-starting-balance-item"]],inputs:{accountHistoryItem:"accountHistoryItem"},decls:12,vars:4,consts:[[1,"table-row"],["class","table-column checkbox-column",4,"ngIf"],["class","table-column title-column","role","heading",4,"ngIf"],[1,"table-column"],[1,"amount-due"],[1,"table-column","visible-lg"],[4,"ngIf"],[1,"table-column","checkbox-column"],[1,"checkbox-column-blank"],["role","heading",1,"table-column","title-column"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0),t.YNc(1,oe,2,0,"div",1),t.YNc(2,ae,2,1,"div",2),t.TgZ(3,"div",3),t._UZ(4,"div",4),t.qZA(),t.TgZ(5,"div",5)(6,"p"),t.YNc(7,ce,3,7,"span",6),t.qZA()(),t.TgZ(8,"div",5)(9,"p"),t.YNc(10,le,3,4,"span",6),t.qZA()(),t._UZ(11,"div",5),t.qZA()),2&a&&(t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"==n.accountHistoryItem.transType),t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"==n.accountHistoryItem.transType&&"Starting Balance"==n.accountHistoryItem.subTransType),t.xp6(5),t.Q6J("ngIf","FlexpayActivityItem"==n.accountHistoryItem.transType&&"Starting Balance"==n.accountHistoryItem.subTransType),t.xp6(3),t.Q6J("ngIf","FlexpayActivityItem"==n.accountHistoryItem.transType&&"Starting Balance"==n.accountHistoryItem.subTransType))},dependencies:[E.O5,E.H9,ot.W],encapsulation:2}),c})(),se=(()=>{var o;class c{constructor(){this.accountHistoryItem=void 0,this.selectAllBooleanArray=void 0,this.i=void 0,this.pageNumber=1,this.noOfItemsPerPage=8,this.viewNoticeEventEmitter=new t.vpe,this.downloadNoticeEventEmitter=new t.vpe,this.selectNoticeEvent=ne
1w t.vpe}viewNotice(){this.viewNoticeEventEmitter.emit({accountHistoryItem:this.accountHistoryItem})}downloadNotice(){this.downloadNoticeEventEmitter.emit({accountHistoryItem:this.accountHistoryItem})}selectCheckBox(a){this.selectNoticeEvent.emit({checked:a})}}return(o=c).\u0275fac=function(a){return new(a||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["nve-notice-item"]],inputs:{accountHistoryItem:"accountHistoryItem",selectAllBooleanArray:"selectAllBooleanArray",i:"i",pageNumber:"pageNumber",noOfItemsPerPage:"noOfItemsPerPage"},outputs:{viewNoticeEventEmitter:"viewNotice",downloadNoticeEventEmitter:"downloadNotice",selectNoticeEvent:"selectNoticeEvent"},decls:22,vars:8,consts:[[1,"table-row"],[1,"table-column","checkbox-column"],["mode","md",1,"float-left",3,"ngModel","click","ngModelChange"],["noticeCheckBox",""],["role","heading",1,"table-column","title-column"],[1,"table-column"],[1,"view-usage-mobile","hidden-lg"],["tabindex","-1","tappable","","csrDisable","",1,"text-btn","text-underline",3,"click"],[1,"align-top","margin-top-mob-15"],[1,"table-column","visible-lg"],[1,"service-icon-link"],["title","Download","aria-label","download this notice","tappable","","csrDisable","",1,"text-btn","text-underline",3,"click"],["csrDisable","",1,"nve-icon","nve-icon-download"]],template:function(a,n){if(1&a){const l=t.EpF();t.TgZ(0,"div",0)(1,"div",1)(2,"ion-checkbox",2,3),t.NdJ("click",function(){t.CHM(l);const g=t.MAs(3);return t.KtG(n.selectCheckBox(g.checked))})("ngModelChange",function(g){return n.selectAllBooleanArray[(n.pageNumber-1)*n.noOfItemsPerPage+n.i]=g}),t.qZA()(),t.TgZ(4,"div",4),t._uU(5),t.qZA(),t.TgZ(6,"div",5)(7,"div",6)(8,"button",7),t.NdJ("click",function(){return n.viewNotice()}),t._uU(9),t.ALo(10,"translate"),t.qZA()(),t._UZ(11,"div",8),t.qZA(),t.TgZ(12,"div",9)(13,"div",10)(14,"i")(15,"button",11),t.NdJ("click",function(){return n.downloadNotice()}),t._UZ(16,"span",12),t.qZA()()()(),t._UZ(17,"div",9),t.TgZ(18,"div",9)(19,"button",7),t.NdJ("click",function(){return n.viewNotice()}),t._uU(20),t.ALo(21,"translate"),t.qZA()()()}2&a&&(t.xp6(2),t.Q6J("ngModel",n.selectAllBooleanArray[(n.pageNumber-1)*n.noOfItemsPerPage+n.i]),t.xp6(3),t.Oqu(n.accountHistoryItem.description),t.xp6(4),t.hij(" ",t.lcZ(10,4,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.VIEWNOTICE")," "),t.xp6(11),t.hij(" ",t.lcZ(21,6,"COMPONENTS.ACCOUNTFEED.SUBCOMPONENTS.FLEXPAY.VIEWNOTICE")," "))},dependencies:[G.JJ,G.On,W.$,P.X$],styles:[".text-btn[_ngcontent-%COMP%]{font-weight:400}"]}),c})();var de=r(54096);const pe=["pagination"];function _e(o,c){1&o&&(t.TgZ(0,"span",5),t._uU(1," -"),t.qZA())}function ge(o,c){1&o&&(t.TgZ(0,"span",5),t._uU(1," +"),t.qZA())}function me(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",13)(1,"button",14),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(3);return t.KtG(n.downloadMultiplePDF())}
1),t._UZ(2,"span",15),t._uU(3),t.ALo(4,"translate"),t.qZA()()}2&o&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.DOWNLOAD")," "))}function ue(o,c){if(1&o&&(t.TgZ(0,"div",11),t.YNc(1,me,5,3,"div",12),t.qZA()),2&o){const i=t.oxw(2);t.xp6(1),t.Q6J("ngIf",i.isDesktop)}}const fe=function(o){return{"table-row-bottom-line":o}};function Ce(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"nve-payment-and-billing-item",26),t.NdJ("getMergedBillEvent",function(n){t.CHM(i);const l=t.oxw(5);return t.KtG(l.getMergedBill(n))})("downloadMergedBillEvent",function(n){t.CHM(i);const l=t.oxw(5);return t.KtG(l.downloadMergedBill(n))})("selectAllBooleanArrayChange",function(n){t.CHM(i);const l=t.oxw(5);return t.KtG(l.checkOne(n))})("expandBillInsertEvent",function(n){t.CHM(i);const l=t.oxw(5);return t.KtG(l.expandBillInsert(n.i))})("viewUsageEvent",function(n){t.CHM(i);const l=t.oxw(5);return t.KtG(l.viewUsage(n))})("getBillEvent",function(n){t.CHM(i);const l=t.oxw(5);return t.KtG(l.getBill(n.accountHistoryItem))})("downloadPDFEvent",function(n){t.CHM(i);const l=t.oxw(5);return t.KtG(l.downloadPDF(n.accountHistoryItem))})("selectPDFEvent",function(n){t.CHM(i);const l=t.oxw(),d=l.index,g=l.$implicit,b=t.oxw(4);return t.KtG(b.selectPDF(n.checked,d,g))}),t.qZA()}if(2&o){const i=t.oxw(),a=i.index,n=i.$implicit,l=t.oxw(4);t.Q6J("noOfItemsPerPage",l.noOfItemsPerPage)("pageNumber",l.pageNumber)("i",a)("accountHistoryItem",n)("selectAllBooleanArray",l.selectAllBooleanArray)("billInsertArray",l.billInsertArray)("ngClass",t.VKq(7,fe,"Enrollment"==n.subTransType))}}function ve(o,c){if(1&o&&t._UZ(0,"nve-billing-insert",27),2&o){const i=t.oxw().$implicit;t.Q6J("billInsertRequestDate",i.statement.transactionDate)}}function he(o,c){if(1&o&&t._UZ(0,"nve-flexpay-payment-item",28),2&o){const i=t.oxw().$implicit;t.Q6J("accountHistoryItem",i)}}function Oe(o,c){if(1&o&&t._UZ(0,"nve-flexpay-usage-item",29),2&o){const i=t.oxw().$implicit,a=t.oxw(4);t.Q6J("accountHistoryItem",i)("isGasCustomer",a.retrieveAccountHistoryResponse.isGasCustomer)}}function be(o,c){if(1&o&&t._UZ(0,"nve-flexpay-starting-balance-item",28),2&o){const i=t.oxw().$implicit;t.Q6J("accountHistoryItem",i)}}function xe(o,c){if(1&o&&t._UZ(0,"nve-flexpay-misc-item",28),2&o){const i=t.oxw().$implicit;t.Q6J("accountHistoryItem",i)}}function Pe(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"nve-notice-item",30),t.NdJ("selectNoticeEvent",function(n){t.CHM(i);const l=t.oxw(),d=l.index,g=l.$implicit,b=t.oxw(4);return t.KtG(b.selectPDF(n.checked,d,g))})("viewNotice",function(n){t.CHM(i);const l=t.oxw(5);return t.KtG(l.getBill(n.accountHistoryItem))})("downloadNotice",function(n){t.CHM(i);const l=t.oxw(5);return t.KtG(l.downloadPDF(n.accountHistoryItem))}),t.qZA()}if(2&o){const i=t.oxw(),a=i.index,n=i.$implicit,l=t.oxw(4);t.Q6J("selectAllBooleanArray",l.selectAllBooleanArray)("noOfItemsPerPage",l.noOfItemsPerPage)("pageNumber",l.pageNumber)("i",a)("accountHistoryItem",n)}}function ye(o,c){if(1&o&&(t.TgZ(0,"div",19),t.YNc(1,Ce,1,9,"nve-payment-and-billing-item",20),t.YNc(2,ve,1,1,"nve-billing-insert",21),t.YNc(3,he,1,1,"nve-flexpay-payment-item",22),t.YNc(4,Oe,1,2,"nve-flexpay-usage-item",23),t.YNc(5,be,1,1,"nve-flexpay-starting-balance-item",22),t.YNc(6,xe,1,1,"nve-flexpay-misc-item",22),t.YNc(7,Pe,1,5,"nve-notice-item",24),t._UZ(8,"div",25),t.qZA()),2&o){const i=c.$implicit,a=c.index,n=t.oxw(4);t.xp6(1),t.Q6J("ngIf",!("FlexpayActivityItem"==i.transType&&("Starting Balance"==i.subTransType||"Misc Charge"==i.subTransType))),t.xp6(1),t.Q6J("ngIf","Bill"==i.transType&&n.billInsertArray[a]),t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"===i.transType&&"Payment"===i.subTransType&&n.billInsertArray[a]),t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"===i.transType&&"Usage"===i.subTransType&&n.billInsertArray[a]),t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"===i.transType&&"Starting Balance"===i.subTransType),t.xp6(1),t.Q6J("ngIf","FlexpayActivityItem"===i.transType&&"Misc Charge"===i.subTransType),t.xp6(1),t.Q6J("ngIf","Notice"==i.transType)}}function Me(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div",31)(1,"pagination-controls",32),t.NdJ("pageChange",function(n){t.CHM(i);const l=t.oxw(4);return l.closeAllContainers(),t.KtG(l.pageNumber=n)}),t.qZA()()}}const Ae=function(o,c,i){return{itemsPerPage:o,currentPage:c,previous:i}};function Te(o,c){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,ye,9,7,"div",17),t.ALo(2,"paginate"),t.YNc(3,Me,2,0,"div",18),t.qZA()),2&o){const i=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",t.xi3(2,2,i.filteredAccountHistoryItems,t.kEZ(5,Ae,i.noOfItemsPerPage,i.pageNumber,i.pageNumber-1))),t.xp6(2),t.Q6J("ngIf",0!=i.filteredAccountHistoryItems.length)}}function Ie(o,c){1&o&&(t.TgZ(0,"div",33)(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&o&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"COMPONENTS.ACCOUNTFEED.SEARCHERROR")))}function Ee(o,c){1&o&&(t.TgZ(0,"div",33)(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&o&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.MSG1")))}function Ne(o,c){if(1&o){const i=t.EpF();t.TgZ(0,"div")(1,"nve-billing-history-heading",16),t.NdJ("checkboxChangedEvent",function(n){t.CHM(i);const l=t.oxw(2);return t.KtG(l.checkAll(n.checked))}),t.qZA(),t.YNc(2,Te,4,9,"div",8),t.YNc(3,Ie,4,3,"div",9),t.YNc(4,Ee,4,3,"div",9),t.qZA()}if(2&o){const i=t.oxw(2);t.xp6(1),t.Q6J("pageNumber",i.pageNumber)("isPageHeaderSelected",i.isPageHeaderSelected[i.pageNumber-1])("isEnrolledInFlexpay",i.retrieveAccountHistoryResponse.isEnrolledInFlexpay)("isFilteredItemsPresent",i.isFilteredItemsPresent),t.xp6(1),t.Q6J("ngIf",null!=i.filteredAccountHistoryItems&&i.filteredAccountHistoryItems.length>0),t.xp6(1),t.Q6J("ngIf",null!=i.accountHistoryItems&&0!=i.accountHistoryItems.length&&null!=i.filteredAccountHistoryItems&&0==i.filteredAccountHistoryItems.length),t.xp6(1),t.Q6J("ngIf",i.isRequestComplete&&null!=i.accountHistoryItems&&0==i.accountHistoryItems.length)}}function we(o,c){1&o&&(t.TgZ(0,"div",33)(1,"p"),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&o&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.MSG1")))}function Ze(o,c){1&o&&(t.TgZ(0,"div",34)(1,"div",1),t._UZ(2,"nve-spinner"),t.qZA()())}function He(o,c){if(1&o&&(t.TgZ(0,"div",6),t.YNc(1,ue,2,1,"div",7),t.YNc(2,Ne,5,7,"div",8),t.YNc(3,we,4,3,"div",9),t.YNc(4,Ze,3,0,"div",10),t.qZA()),2&o){const i=t.oxw();
1t.xp6(1),t.Q6J("ngIf",null!=i.accountHistoryItems&&i.isFilteredItemsPresent),t.xp6(1),t.Q6J("ngIf",null!=i.accountHistoryItems),t.xp6(1),t.Q6J("ngIf",i.isRequestComplete&&null==i.accountHistoryItems),t.xp6(1),t.Q6J("ngIf",null==i.accountHistoryItems&&!i.isRequestComplete)}}let Ue=(()=>{var o;class c{constructor(a,n,l,d,g,b,S,F,Q,it,V){this.modalCtrl=a,this.accountFeedService=n,this.globalServiceErrorHandler=l,this.payMyBillDrawerService=d,this.translateService=g,this.appUtil=b,this.userService=S,this.httpUtility=F,this.payMyBillService=Q,this.platform=it,this.configService=V,this.accountHistorySelected=!1,this.expandAccountHistory=new t.vpe,this.retrieveAccountHistoryResponse=void 0,this.accountHistoryItems=void 0,this.filteredAccountHistoryItems=[],this.billInsertArray=[],this.filterText="",this.pageNumber=1,this.mobilePaginationPageNumber=1,this.noOfItemsPerPage=8,this.selectAllBooleanArray=[],this.isPageHeaderSelected=[],this.isSafari=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),this.isRequestComplete=!1,this.isDesktop=this.platform.is("desktop"),O.A.getInstance().filterDataEvent.subscribe(Se=>{this.filterText=Se.toLowerCase(),this.accountHistoryItems&&this.filterAccountHistory()}),this.userService.user.companyID===D.c.NORTH_NEVADA_COMPANY_CODE?(this.phone="775-834-4444",this.toll_free="800-962-0399"):(this.phone="702-402-5555",this.toll_free="800-331-3103")}ngOnInit(){this.updateData()}updateData(){this.isFilteredItemsPresent=!0,this.accountFeedService.retrieveAccountHistory().then(a=>{this.retrieveAccountHistoryResponse=a,this.accountHistoryItems=this.retrieveAccountHistoryResponse.accountHistoryItems,this.filteredAccountHistoryItems=this.accountHistoryItems,this.lastpage=Math.ceil(this.filteredAccountHistoryItems.length/this.noOfItemsPerPage),this.billInsertArray=(0,C.J)(this.filteredAccountHistoryItems.length,()=>!1),this.isPageHeaderSelected=(0,C.J)(this.lastpage,()=>!1),this.selectAllBooleanArray=(0,C.J)(this.filteredAccountHistoryItems.length,()=>!1),this.isRequestComplete=!0}).catch(a=>{this.isRequestComplete=!0,this.globalServiceErrorHandler.showToast(String(this.translateService.instant("INTERNALSERVERERRORMESSAGE")))}),this.billType=this.accountFeedService.getBillType()}getText(a){let n=new Array,l=new m.v,d={phone:this.phone,toll_free:this.toll_free};l.content=String("RECORDKEYNOTFOUND"===a.ERROR_CODE?this.translateService.instant("FILEOPEN.MERGEDBILL.ERROR.RECORDKEYNOTFOUND",d):"DONOTDISPLAYONLINE"===a.ERROR_CODE?this.translateService.instant("FILEOPEN.MERGEDBILL.ERROR.DONOTDISPLAYONLINE",d):"CANTRETRIEVEFROMSERVER"===a.ERROR_CODE?this.translateService.instant("FILEOPEN.MERGEDBILL.ERROR.CANTRETRIEVEFROMSERVER",d):this.translateService.instant("GENERAL.BILL_ERROR")),n.push(l),this.modalCtrl.create({component:s.g,componentProps:{errorMessages:n,updateUrl:!1}}).then(g=>g.present().then(()=>g.onDidDismiss().then(b=>{})))}getMergedBill(a){var n=this;return(0,e.Z)(function*(){if("Y"===a.masterDisplayFlag&&a.ddsContentString){let d;if(n.httpUtility.toggleUIMsgLoader.emit(!0),n.isDesktop&&!n.appUtil.isIE&&!n.appUtil.isSafari){d=window.open();let g=`${String(R.r.SPINNER_MSG1)} ${String(n.translateService.instant("COMPONENTS.COMMON.SPINLOADER.LOADINGMSG"))} ${R.r.SPINNER_MSG2}`;d.document.write(g)}try{let g,b;b=yield n.payMyBillService.getMergedBill(a.ddsContentString),n.httpUtility.toggleUIMsgLoader.emit(!1),g=b&&b.base64EncodedData,n.appUtil.viewStatement(g,a.statement,d,a.mergedFilename)}catch(g){return n.httpUtility.toggleUIMsgLoader.emit(!1),d&&d.close(),n.getText(g)}}else"E"===a.masterDisplayFlag||"N"===a.masterDisplayFlag?n.getKey(a.masterDisplayFlag):n.getText({ERROR_CODE:"CANTRETRIEVEFROMSERVER"})})()}getKey(a){this.getText("E"===a?{ERROR_CODE:"RECORDKEYNOTFOUND"}:"N"===a?{ERROR_CODE:"DONOTDISPLAYONLINE"}:{ERROR_CODE:"CANTRETRIEVEFROMSERVER"})}downloadMergedBill(a){var n=this;return(0,e.Z)(function*(){if("Y"===a.masterDisplayFlag&&a.ddsContentString)try{let b,S;n.httpUtility.toggleUIMsgLoader.emit(!0),S=yield n.payMyBillService.getMergedBill(a.ddsContentString),b=S&&S.base64EncodedData,n.httpUtility.toggleUIMsgLoader.emit(!1);let F="data:application/pdf;base64,"+b;var l=a.mergedFilename;if(n.appUtil.isSafari){if(null!=document.getElementById("dwnldLnk")){document.getElementById("dwnldLnk").setAttribute("download",l);let Q=document.getElementById("dwnldLnk"),it=n.appUtil.b64ToBlob(b,"application/octet-stream",n.configService.config.base64ToBlobDataSizeSlice);var g=URL.createObjectURL(it);Q.href=g,Q.click()}}else download(F,l,"application/pdf")}catch(b){return n.httpUtility.toggleUIMsgLoader.emit(!1),n.getText(b)}else"E"===a.masterDisplayFlag||"N"===a.masterDisplayFlag?n.getKey(a.masterDisplayFlag):n.getText({ERROR_CODE:"CANTRETRIEVEFROMSERVER"})})()}filterAccountHistory(){this.filteredAccountHistoryItems=[],this.accountHistoryItems.forEac
1h(a=>{"Bill"===a.transType?(-1!==a.description.toLowerCase().indexOf(this.filterText)||-1!==a.statement.totalBillAmount.toString().indexOf(this.filterText))&&this.filteredAccountHistoryItems.push(a):"Payment"===a.transType?(-1!==a.description.toLowerCase().indexOf(this.filterText)||-1!==a.payment.paymentAmount.toString().toLocaleLowerCase().indexOf(this.filterText)||-1!==a.payment.paymentConfirmationNumber.toString().toLocaleLowerCase().indexOf(this.filterText))&&this.filteredAccountHistoryItems.push(a):"FlexpayActivityItem"===a.transType?-1!==a.description.toLowerCase().indexOf(this.filterText)&&this.filteredAccountHistoryItems.push(a):"Notice"===a.transType&&this.filteredAccountHistoryItems.push(a)}),this.isFilteredItemsPresent=!(this.filteredAccountHistoryItems.length<=0),this.lastpage=Math.ceil(this.filteredAccountHistoryItems.length/this.noOfItemsPerPage),this.billInsertArray=(0,C.J)(this.filteredAccountHistoryItems.length,()=>!1),this.selectAllBooleanArray=(0,C.J)(this.filteredAccountHistoryItems.length,()=>!1)}expandMe(){this.expandAccountHistory.emit(!this.accountHistorySelected)}expandBillInsert(a){this.billInsertArray[a]=!this.billInsertArray[a]}getChromeVersion(){var a=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return!!a&&parseInt(a[2],10)>59}getBill(a){let d,n="";"Notice"===a.transType&&(n="Z"),this.isDesktop&&!this.appUtil.isIE&&!this.appUtil.isSafari&&(d=window.open(),d.document.write(R.r.SPINNER)),this.accountFeedService.getBill(a.statement,n).then(g=>{let b="";"Notice"===a.transType?b="notice.pdf":(b=String(a.description),b=`${b.replace(/:/g,"_")}.pdf`),this.appUtil.viewStatement(g,a.statement,d,b)}).catch(g=>{if(d&&d.close(),"Notice"===a.transType){let b=this.appUtil.getPhoneNumberFromCompanyCode(this.appUtil.getCompanyCode(this.userService.getUser().currentAccount.accountNumber)),S=`${String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.ERRORMESSAGE1PART1"))} ${b} ${String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.ERRORMESSAGE1PART2"))}`;this.showErroModal(S)}else this.showErroModal("Could not locate bill to view.")})}viewUsage(a){null!==a.startDate&&null!==a.endDate?this.payMyBillDrawerService.openDrawer({startDate:a.startDate,endDate:a.endDate}):this.showErroModal("No data to display. We are unable to display your Energy Usage because we did not have adequate usage for this meter.")}downloadPDF(a){let n="";"Notice"===a.transType&&(n="Z"),this.accountFeedService.getBill(a.statement,n).then(l=>{let d=l,g="data:application/pdf;base64,"+d;if(this.appUtil.isSafari){if(null!=document.getElementById("dwnldLnk")){"Notice"===a.transType?document.getElementById("dwnldLnk").setAttribute("download","notice.pdf"):document.getElementById("dwnldLnk").setAttribute("download",a.description+".pdf");let F=document.getElementById("dwnldLnk"),Q=this.appUtil.b64ToBlob(d,"application/octet-stream",512);var S=URL.createObjectURL(Q);F.href=S,F.click()}}else"Notice"===a.transType?download(g,"notice.pdf","application/pdf"):download(g,a.description+".pdf","application/pdf")}).catch(l=>{if("Notice"===a.transType){let d=this.appUtil.getPhoneNumberFromCompanyCode(this.appUtil.getCompanyCode(this.userService.getUser().currentAccount.accountNumber)),g=`${String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.ERRORMESSAGE1PART1"))} ${d} ${String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.ERRORMESSAGE1PART2"))}`;this.showErroModal(g)}else{let d=String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.ERRORMESSAGE2"));this.showErroModal(d)}})}downloadMultiplePDF(){let a=0;for(let n=0;n<this.selectAllBooleanArray.length;n++)if(this.selectAllBooleanArray[n]&&this.filteredAccountHistoryItems[n]&&this.filteredAccountHistoryItems[n].statement){a++;let l="";"Notice"===this.filteredAccountHistoryItems[n].transType&&(l="Z"),this.accountFeedService.getBill(this.filteredAccountHistoryItems[n].statement,l).then(d=>{let g=d;if(g)if(this.appUtil.isSafari){if(null!=document.getElementById("dwnldLnk")){"Notice"===this.filteredAccountHistoryItems[n].transType?document.getElementById("dwnldLnk").setAttribute("download","notice.pdf"):document.getElementById("dwnldLnk").setAttribute("download",this.filteredAccountHistoryItems[n].description+".pdf");let F=document.getElementById("dwnldLnk"),Q=this.appUtil.b64ToBlob(g,"application/octet-stream",512);var S=URL.createObjectURL(Q);F.href=S,F.click()}}else{let F="data:application/pdf;base64,"+g;"Notice"===this.filteredAccountHistoryItems[n].transType?download(F,"notice.pdf","application/pdf"):download(F,this.filteredAccountHistoryItems[n].description+".pdf","application/pdf")}}).catch(d=>{if("Notice"===this.filteredAccountHistoryItems[n].transType){let g=this.appUtil.getPhoneNumberFromCompanyCode(this.appUtil.getCompanyCode(this.userService.getUser().currentAccount.accountNumber)),b=`${String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.ERRORMESSAGE1PART1"))} ${g} ${String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.ERRORMESSAGE1PART2"))}`;this.showErroModal(b)}else{let g=String(this.translateService.instant("COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.ERRORMESSAGE2"));this.showErroModal(g)}})}0===a&&alert(String(this.translateService.instant("GENERAL.SELECTDOCUMENT")))}b64ToBlob(a,n,l){const d=atob(a),g=[];for(let S=0;S<d.length;S+=l){const F=d.slice(S,S+l),Q=new Array(F.length);for(let V=0;V<F.length;
1V++)Q[V]=F.charCodeAt(V);const it=new Uint8Array(Q);g.push(it)}return new Blob(g,{type:n})}checkAll(a){if(this.isPageHeaderSelected[this.pageNumber-1]!==a){this.isPageHeaderSelected[this.pageNumber-1]=a;for(let l=this.pageNumber*this.noOfItemsPerPage-this.noOfItemsPerPage;l<this.noOfItemsPerPage*this.pageNumber;l++)this.selectAllBooleanArray[l]=a;this.selectAllBooleanArray=[...this.selectAllBooleanArray]}}checkOne(a){let n=this.pageNumber*this.noOfItemsPerPage-this.noOfItemsPerPage+a.i;this.selectAllBooleanArray[n]=!this.selectAllBooleanArray[n],this.selectAllBooleanArray=[...this.selectAllBooleanArray]}selectPDF(a,n,l){this.selectAllBooleanArray[this.pageNumber*this.noOfItemsPerPage-this.noOfItemsPerPage+n]=a}updateMobilePaginationPage(){this.mobilePaginationPageNumber>0&&this.mobilePaginationPageNumber<=this.lastpage&&this.paginationElement.setCurrent(this.mobilePaginationPageNumber)}eventHandler(a){(32===a.keyCode||13===a.keyCode)&&null!=document.getElementById("accountHistoryHeader")&&(!0===this.accountHistorySelected?document.getElementById("accountHistoryHeader").setAttribute("aria-expanded","false"):document.getElementById("accountHistoryHeader").setAttribute("aria-expanded","true"),this.expandMe())}showErroModal(a){let n=new Array,l=new m.v;l.content=a,n.push(l),this.modalCtrl.create({component:s.g,componentProps:{errorMessages:n,updateUrl:!1}}).then(d=>d.present().then(()=>d.onDidDismiss().then(g=>{})))}closeAllContainers(){this.billInsertArray=(0,C.J)(this.accountHistoryItems.length)}}return(o=c).\u0275fac=function(a){return new(a||o)(t.Y36(k.IN),t.Y36(h.A),t.Y36(A.o),t.Y36(I.B),t.Y36(P.sK),t.Y36(Z.$),t.Y36(w.K),t.Y36(u.r),t.Y36(f.v),t.Y36(B.m),t.Y36(x._))},o.\u0275cmp=t.Xpm({type:o,selectors:[["nve-account-feed-account-history"]],viewQuery:function(a,n){if(1&a&&t.Gf(pe,5),2&a){let l;t.iGM(l=t.CRH())&&(n.paginationElement=l.first)}},inputs:{accountHistorySelected:"accountHistorySelected"},outputs:{expandAccountHistory:"expandAccountHistory"},decls:8,vars:6,consts:[[1,"clearfix"],[1,"col-sm-12"],["aria-label","payment and billing history","role","tree","aria-expanded","false","tabindex","0","id","accountHistoryHeader",1,"heading",3,"click","keypress"],["role","treeitem",4,"ngIf"],["class","account-history","aria-label","in account and billing history",4,"ngIf"],["role","treeitem"],["aria-label","in account and billing history",1,"account-history"],["class","clearfix margin-top-15 margin-bottom-15",4,"ngIf"],[4,"ngIf"],["style","text-align: center",4,"ngIf"],["class","clearfix","aria-label","account and billing history empty",4,"ngIf"],[1,"clearfix","margin-top-15","margin-bottom-15"],["class","hidden-sm hidden-xs",4,"ngIf"],[1,"hidden-sm","hidden-xs"],["aria-label","multiple download button, downloads selected statement","csrDisable","",1,"text-btn","text-underline",3,"click"],[1,"nve-icon","nve-icon-download"],[1,"table-wrapper","table-header",3,"pageNumber","isPageHeaderSelected","isEnrolledInFlexpay","isFilteredItemsPresent","checkboxChangedEvent"],["class","table-striped-item",4,"ngFor","ngForOf"],["class","margin-top-20 pagination-text-align-center",4,"ngIf"],[1,"table-striped-item"],["class","table-wrapper",3,"noOfItemsPerPage","pageNumber","i","accountHistoryItem","selectAllBooleanArray","billInsertArray","ngClass","getMergedBillEvent","downloadMergedBillEvent","selectAllBooleanArrayChange","expandBillInsertEvent","viewUsageEvent","getBillEvent","downloadPDFEvent","selectPDFEvent",4,"ngIf"],["class","bill-insert",3,"billInsertRequestDate",4,"ngIf"],["class","table-wrapper",3,"accountHistoryItem",4,"ngIf"],["class","table-wrapper",3,"accountHistoryItem","isGasCustomer",4,"ngIf"],["class","table-wrapper",3,"selectAllBooleanArray","noOfItemsPerPage","pageNumber","i","accountHistoryItem","selectNoticeEvent","viewNotice","downloadNotice",4,"ngIf"],[2,"clear","both"],[1,"table-wrapper",3,"noOfItemsPerPage","pageNumber","i","accountHistoryItem","selectAllBooleanArray","billInsertArray","ngClass","getMergedBillEvent","downloadMergedBillEvent","selectAllBooleanArrayChange","expandBillInsertEvent","viewUsageEvent","getBillEvent","downloadPDFEvent","selectPDFEvent"],[1,"bill-insert",3,"billInsertRequestDate"],[1,"table-wrapper",3,"accountHistoryItem"],[1,"table-wrapper",3,"accountHistoryItem","isGasCustomer"],[1,"table-wrapper",3,"selectAllBooleanArray","noOfItemsPerPage","pageNumber","i","accountHistoryItem","selectNoticeEvent","viewNotice","downloadNotice"],[1,"margin-top-20","pagination-text-align-center"],[1,"nve-custom-pagination",3,"pageChange"],[2,"text-align","center"],["aria-label","account and billing history empty",1,"clearfix"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0)(1,"div",1)(2,"h1",2),t.NdJ("click",function(){return n.expandMe()})("keypress",function(d){return n.eventHandler(d)}),t.YNc(3,_e,2,0,"span",3),t.YNc(4,ge,2,0,"span",3),t._uU(5),t.ALo(6,"translate"),t.qZA()()(),t.YNc(7,He,5,4,"div",4)),2&a&&(t.xp6(3),t.Q6J("ngIf",n.accountHistorySelected),t.xp6(1),t.Q6J("ngIf",!n.accountHistorySelected),t.xp6(1),t.hij(" ",t.lcZ(6,4,"COMPONENTS.ACCOUNTFEED.ACCOUNTHISTORY.PAYMENTANDBILLINGHISTORY")," "),t.xp6(2),t.Q6J("ngIf",n.accountHistorySelected))}
1,dependencies:[E.mk,E.sg,E.O5,W.$,X.L,K.$,Nt,Bt,Jt,ee,ne,ie,re,se,P.X$,de._],styles:[".nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-checked[_ngcontent-%COMP%]{border-color:#d2c9c7}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-inner[_ngcontent-%COMP%]{top:3px;left:3px;width:12px;height:12px}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{border-color:#d2c9c7;background:#ffffff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]{border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-icon[_ngcontent-%COMP%]{width:20px;height:20px;border-width:1px;border-style:solid;border-radius:1px;border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]   .checkbox-inner[_ngcontent-%COMP%]{top:0;left:7px;width:5px;height:14px}.nve[_ngcontent-%COMP%]   .checkbox-md.checkbox-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-checkbox-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none;background:#ccc}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{background:#cccccc}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]::part(container){background:#cccccc}.nve[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:1em;font-weight:400;color:#000}.account-feed-panel[_ngcontent-%COMP%]{background:#ffffff;border-bottom:1px solid #cccccc;border-top:1px solid #cccccc;width:100%;padding-bottom:15px}  .nve-custom-pagination input{width:40px;text-align:center}  .nve-custom-pagination .form-control{margin:0 0 5px;width:40px;display:inline-block}  .nve-custom-pagination .pagination-next,   .nve-custom-pagination .pagination-previous{display:inline-block;padding-top:0}  .nve-custom-pagination .pagination-text-align-center{text-align:center;margin-top:20px}  .nve-custom-pagination .pagination-next{padding-left:5px}@media only screen and (max-width: 767px){  .nve-custom-pagination .pagination-next.last,   .nve-custom-pagination .pagination-previous.first{width:62px;height:19px}}@media only screen and (max-width: 767px){  .nve-custom-pagination .pagination-next.last:after{margin-left:8px}}@media only screen and (max-width: 767px){  .nve-custom-pagination .pagination-previous.first:before{margin-right:8px}}  .nve-custom-pagination .pagination-next.last:after{margin-left:8px}  .nve-custom-pagination .pagination-previous.first:before{margin-right:8px}  .nve-custom-pagination .pagination-previous{padding-left:5px}  .nve-custom-pagination .current{background:white;padding-left:5px;padding-right:5px;color:gray}  .nve-custom-pagination .disable{cursor:default;pointer-events:none;color:gray}  .nve-custom-pagination .adjust-p{padding-left:8px;padding-right:8px}.margin-top-20[_ngcontent-%COMP%]{margin-top:20px}"]}),c})()},78269:(q,H,r)=>{"use strict";r.d(H,{t:()=>L});var e=r(55062),t=r(62267),O=r(15441),h=r(81467),w=r(68664),m=r(5296),Z=r(75834),R=r(79024),D=r(89383),u=r(90603),f=r(36895),s=r(15638),x=r(7737),C=r(6766),k=r(54096);const A=["pagination"];function I(_,M){1&_&&(e.TgZ(0,"span",7),e._uU(1,"- "),e.qZA())}function P(_,M){1&_&&(e.TgZ(0,"span",7),e._uU(1,"+ "),e.qZA())}function B(_,M){1&_&&e._UZ(0,"span",31)}function E(_,M){if(1&_){const p=e.EpF();e.TgZ(0,"div",32),e.ALo(1,"translate"),e.TgZ(2,"button",33),e.NdJ("click",function(){e.CHM(p);const y=e.oxw().$implicit,N=e.oxw(3);return e.KtG(N.markRead(y.notificationId))}),e._uU(3),e.ALo(4,"translate"),e.qZA()()}2&_&&(e.uIk("aria-label",e.lcZ(1,2,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.MARKREAD")),e.xp6(3),e.hij(" ",e.lcZ(4,4,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.MARKREAD")," "))}function W(_,M){if(1&_){const p=e.EpF();e.TgZ(0,"div",32),e.ALo(1,"translate"),e.TgZ(2,"button",33),e.NdJ("click",function(){e.CHM(p);const y=e.oxw().$implicit,N=e.oxw(3);return e.KtG(N.markUnread(y.notificationId))}),e._uU(3),e.ALo(4,"translate"),e.qZA()()}2&_&&(e.uIk("aria-label",e.lcZ(1,2,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.MARKUNREAD")),e.xp6(3),e.hij(" ",e.lcZ(4,4,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.MARKUNREAD")," "))}function X(_,M){if(1&_){const p=e.EpF();e.TgZ(0,"div",34),e.ALo(1,"translate"),e.TgZ(2,"a",35),e.NdJ("click",function(){e.CHM(p);const y=e.oxw().$implicit,N=e.oxw(3);return e.KtG(N.getNotificationDetail(y.notificationId,y.notificationSystem))}),e._uU(3),e.ALo(4,"translate"),e.qZA()()}2&_&&(e.uIk("aria-label",e.lcZ(1,2,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.VIEW")),e.xp6(3),e.Oqu(e.l
1cZ(4,4,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.VIEW")))}const K=function(_){return{"table-column-bold":_}};function z(_,M){if(1&_&&(e.TgZ(0,"div",20)(1,"div",21)(2,"div",11)(3,"div",22),e.ALo(4,"date"),e.YNc(5,B,1,0,"span",23),e.TgZ(6,"span",24),e._uU(7),e.ALo(8,"date"),e.qZA()(),e.TgZ(9,"div",25),e._uU(10),e.qZA(),e.TgZ(11,"div",25),e._uU(12),e.qZA(),e.TgZ(13,"div",25),e._uU(14),e.qZA(),e.TgZ(15,"div",26),e._UZ(16,"div",27),e.TgZ(17,"div",28),e.YNc(18,E,5,6,"div",29),e.YNc(19,W,5,6,"div",29),e.qZA(),e.YNc(20,X,5,6,"div",30),e.qZA()()()()),2&_){const p=M.$implicit,v=M.index;e.xp6(1),e.Q2q("aria-label","Notification ",v,""),e.xp6(2),e.Q6J("ngClass",e.VKq(24,K,!p.isRead&&p.isImportant)),e.uIk("aria-label",e.xi3(4,18,p.alertDate,"EEE LLLL d, hh:mm a")),e.xp6(2),e.Q6J("ngIf",p.isImportant),e.xp6(2),e.Oqu(e.xi3(8,21,p.alertDate,"EEE LLLL d, hh:mm a")),e.xp6(2),e.Q6J("ngClass",e.VKq(26,K,!p.isRead&&p.isImportant)),e.uIk("aria-label",p.type),e.xp6(1),e.hij(" ",p.type," "),e.xp6(1),e.Q6J("ngClass",e.VKq(28,K,!p.isRead&&p.isImportant)),e.uIk("aria-label",p.description),e.xp6(1),e.hij(" ",p.description," "),e.xp6(1),e.Q6J("ngClass",e.VKq(30,K,!p.isRead&&p.isImportant)),e.uIk("aria-label",p.contactType),e.xp6(1),e.hij(" ",p.contactType," "),e.xp6(1),e.Q6J("ngClass",e.VKq(32,K,!p.isRead&&p.isImportant)),e.xp6(3),e.Q6J("ngIf",p.isImportant&&!p.isRead),e.xp6(1),e.Q6J("ngIf",p.isImportant&&p.isRead),e.xp6(1),e.Q6J("ngIf","Voice"!=p.contactType)}}const G=function(_,M,p){return{itemsPerPage:7,currentPage:_,previous:M,totalItems:p}};function tt(_,M){if(1&_){const p=e.EpF();e.TgZ(0,"div"),e.YNc(1,z,21,34,"div",17),e.ALo(2,"paginate"),e.TgZ(3,"div",18)(4,"pagination-controls",19),e.NdJ("pageChange",function(y){e.CHM(p);const N=e.oxw(2);return e.KtG(N.p=y)}),e.qZA()()()}if(2&_){const p=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",e.xi3(2,1,p.filteredNotificationsList,e.kEZ(4,G,p.p,p.p-1,p.filteredNotificationsList.length)))}}function et(_,M){1&_&&(e.TgZ(0,"div",36)(1,"p"),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&_&&(e.xp6(2),e.Oqu(e.lcZ(3,1,"COMPONENTS.ACCOUNTFEED.SEARCHERROR")))}function nt(_,M){1&_&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&_&&(e.xp6(2),e.Oqu(e.lcZ(3,1,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.MSG1")))}function T(_,M){1&_&&(e.TgZ(0,"div")(1,"div",38),e._UZ(2,"nve-spinner"),e.qZA()())}function Y(_,M){if(1&_&&(e.TgZ(0,"div",8)(1,"div",9)(2,"div",10)(3,"div",11)(4,"div",12),e.ALo(5,"translate"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"div",12),e.ALo(9,"translate"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"div",12),e.ALo(13,"translate"),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.TgZ(16,"div",12),e.ALo(17,"translate"),e._uU(18),e.ALo(19,"translate"),e.qZA(),e._UZ(20,"div",13),e.qZA()()(),e.YNc(21,tt,5,8,"div",14),e.YNc(22,et,4,3,"div",15),e.YNc(23,nt,4,3,"div",16),e.YNc(24,T,3,0,"div",14),e.qZA()),2&_){const p=e.oxw();e.xp6(4),e.uIk("aria-label",e.lcZ(5,12,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.DATE")),e.xp6(2),e.hij(" ",e.lcZ(7,14,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.DATE")," "),e.xp6(2),e.uIk("aria-label",e.lcZ(9,16,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.TYPE")),e.xp6(2),e.hij(" ",e.lcZ(11,18,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.TYPE")," "),e.xp6(2),e.uIk("aria-label",e.lcZ(13,20,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.DESCRIPTION")),e.xp6(2),e.hij(" ",e.lcZ(15,22,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.DESCRIPTION")," "),e.xp6(2),e.uIk("aria-label",e.lcZ(17,24,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.CONTACTTYPE")),e.xp6(2),e.hij(" ",e.lcZ(19,26,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.CONTACTTYPE")," "),e.xp6(3),e.Q6J("ngIf",null!=p.filteredNotificationsList&&0!=p.filteredNotificationsList.length),e.xp6(1),e.Q6J("ngIf",null!=p.notificationsList&&0!=p.notificationsList.length&&null!=p.filteredNotificationsList&&0==p.filteredNotificationsList.length),e.xp6(1),e.Q6J("ngIf",null!=p.notificationsList&&0==p.notificationsList.length),e.xp6(1),e.Q6J("ngIf",null==p.notificationsList)}}let L=(()=>{var _;class M{constructor(v,y,N,U,J,$){this.accountFeedService=v,this.globalServiceErrorHandler=y,this.platform=N,this.translateService=U,this.modalCtrl=J,this.inAppBrowser=$,this.notificationSelected=!1,this.expandNotification=new e.vpe,this.notificationsList=void 0,this.filteredNotificationsList=[],this.numberOfImpNotifications=0,this.filterText="",this.p=1,this.mobilePaginationPageNumber=1,this.noOfItemsPerPage=7,h.A.getInstance().filterDataEvent.subscribe(j=>{this.filterText=j.toLowerCase(),this.filterNotifications()})}ngOnInit(){this.getAllNotifications(!1)}getAllNotifications(v){this.accountFeedService.retrieveNotificationHistory(v).then(y=>{this.notificationsList=y,this.filteredNotificationsList=this.notificationsList,this.lastpage=Math.ceil(this.filteredNotificationsList.length/this.noOfItemsPerPage),this.countImportantNotifications()}).catch(()=>{this.notificationsList=[],this.numberOfImpNotifications=0,this.globalServiceErrorHandler.showToast()})}countImportantNotifications(){this.numberOfImpNotifications=0,this.notificationsList.forEach(v=>{!0===v.isImportant&&!1===v.isRead&&this.numberOfImpNotifications++})}filterNotifications(){this.filteredNotificationsList=[],this.notificationsList.forEach(v=>{(-1!==v.description.toLowerCase().indexOf(this.filterText)||-1!==v.type.toLowerCase().indexOf(this.filterText)||-1!==v.alertDate.toLocaleLowerCase().indexOf(this.filterText))&&this.filteredNotificationsList.push(v)}),this.lastpage=Math.ceil(this.filteredNotificationsList.length/this.noOfItemsPerPage)}expandMe(){this.expandNotification.emit(!this.notificationSelected)}eventHandler(v){(32===v.keyCode||13===v.keyCode)&&(!0===this.notificationSelected?document.getElementById("notificationHeader").setAttribute("aria-expanded","fal
1se"):document.getElementById("notificationHeader").setAttribute("aria-expanded","true"),this.expandMe())}getNotificationDetail(v,y){this.accountFeedService.getNotificationDetail(v,y).then(N=>{if("SMS"===N.contactType){if(N&&N.notificationText){const U=new Array,J=new m.v;J.content=N.notificationText,U.push(J),this.modalCtrl.create({component:O.g,componentProps:{errorMessages:U,updateUrl:!1}}).then($=>$.present())}}else if(!this.platform.is("ios")&&!this.platform.is("android")||this.platform.is("mobileweb")){const U=window.open();U?(U.document.open(),U.document.write(N.notificationText.replace(/[\n\r]/g,"")),U.document.close(),this.accountFeedService.updateNotificationReadToggle(v,!0).then(J=>{J&&this.getAllNotifications(!0)}).catch(()=>{this.globalServiceErrorHandler.showToast()})):this.translateService.get(["ALERTS.ACCOUNTFEED.POPUPBLOCK"]).subscribe(J=>{J["ALERTS.ACCOUNTFEED.POPUPBLOCK"]&&this.globalServiceErrorHandler.showToast(J["ALERTS.ACCOUNTFEED.POPUPBLOCK"])})}else this.platform.platform.ready().then(()=>{const U=this.inAppBrowser.create("about:blank","_blank","location=no,toolbar=yes,closebuttoncaption=Done,enableViewportScale=yes");U.show(),U.on("loadstop").subscribe(()=>{U.executeScript({code:"document.body.innerHTML ='"+N.notificationText.replace(/[\n\r]/g,"")+"';"})})})}).catch(()=>{this.globalServiceErrorHandler.showToast()})}markRead(v){this.accountFeedService.updateNotificationReadToggle(v,!0).then(y=>{!0===y&&this.getAllNotifications(!0)}).catch(()=>{this.globalServiceErrorHandler.showToast()})}markUnread(v){this.accountFeedService.updateNotificationReadToggle(v,!1).then(y=>{!0===y&&this.getAllNotifications(!0)}).catch(()=>{this.globalServiceErrorHandler.showToast()})}updateMobilePaginationPage(){this.mobilePaginationPageNumber>0&&this.mobilePaginationPageNumber<=this.lastpage&&this.paginationElement.setCurrent(this.mobilePaginationPageNumber)}}return(_=M).\u0275fac=function(v){return new(v||_)(e.Y36(w.A),e.Y36(Z.o),e.Y36(R.m),e.Y36(D.sK),e.Y36(u.IN),e.Y36(t.i))},_.\u0275cmp=e.Xpm({type:_,selectors:[["nve-account-feed-notifications"]],viewQuery:function(v,y){if(1&v&&e.Gf(A,5),2&v){let N;e.iGM(N=e.CRH())&&(y.paginationElement=N.first)}},inputs:{notificationSelected:"notificationSelected"},outputs:{expandNotification:"expandNotification"},decls:12,vars:11,consts:[[1,"clearfix"],[1,"col-sm-8","col-xs-12"],["aria-expanded","true","role","tree","tabindex","0","id","notificationHeader",1,"heading",3,"click","keypress"],["role","treeitem",4,"ngIf"],[1,"col-sm-4","col-xs-12","text-right-desktop-left-mobile"],[1,"accent-color-red","notifications-important"],["class","striped-table notifications","aria-label","in notifications list",4,"ngIf"],["role","treeitem"],["aria-label","in notifications list",1,"striped-table","notifications"],["role","treegrid","tabindex","0","attr.aria-label","Heading",1,"table-header"],[1,"table-wrapper","notification-table"],[1,"table-row"],["role","treeitem","tabindex","0",1,"table-column","hidden-sm","hidden-xs"],[1,"table-column","hidden-sm","hidden-xs"],[4,"ngIf"],["class","text-center",4,"ngIf"],["style","text-align: center",4,"ngIf"],["class","table-striped-item",4,"ngFor","ngForOf"],[1,"margin-top-30","margin-bottom-30",2,"text-align","center"],[1,"nve-custom-pagination",3,"pageChange"],[1,"table-striped-item"],["role","treegrid","tabindex","0",1,"table-wrapper","notification-table"],["role","treeitem","tabindex","0",1,"table-column","alert-date",3,"ngClass"],["class","nve-icon nve-icon-alert-02 accent-color-red float-left",4,"ngIf"],[1,"next-to-icon"],["role","treeitem","tabindex","0",1,"table-column",3,"ngClass"],[1,"table-column",3,"ngClass"],[1,"table-column-inline-block","hidden-sm","hidden-xs"],[1,"mark-unread","table-column-inline-block"],["role","treeitem","tabindex","0",4,"ngIf"],["role","treeitem","tabindex","0","class","table-column-inline-block",4,"ngIf"],[1,"nve-icon","nve-icon-alert-02","accent-color-red","float-left"],["role","treeitem","tabindex","0"],["tabindex","-1","csrDisable","",1,"text-btn","text-underline",3,"click"],["role","treeitem","tabindex","0",1,"table-column-inline-block"],["tabindex","-1","href","javascript:void(0)",1,"",3,"click"],[1,"text-center"],[2,"text-align","center"],[1,"col-sm-12"]],template:function(v,y){1&v&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h1",2),e.NdJ("click",function(){return y.expandMe()})("keypress",function(U){return y.eventHandler(U)}),e.YNc(3,I,2,0,"span",3),e.YNc(4,P,2,0,"span",3),e._uU(5),e.ALo(6,"translate"),e.qZA()(),e.TgZ(7,"div",4)(8,"span",5),e._uU(9),e.ALo(10,"translate"),e.qZA()()(),e.YNc(11,Y,25,28,"div",6)),2&v&&(e.xp6(2),e.Q2q("aria-label","Notifications, ",y.numberOfImpNotifications," important"),e.xp6(1),e.Q6J("ngIf",y.notificationSelected),e.xp6(1),e.Q6J("ngIf",!y.notificationSelected),e.xp6(1),e.hij("",e.lcZ(6,7,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.NOTIFICATIONS")," "),e.xp6(4),e.AsE("",y.numberOfImpNotifications," ",e.lcZ(10,9,"COMPONENTS.ACCOUNTFEED.NOTIFICATIONS.IMPORTANT"),""),e.xp6(2),e.Q6J("ngIf",y.notificationSelected))},dependencies:[f.mk,f.sg,f.O5,s.$,x.L,C.$,f.uU,D.X$,k._],styles:[".nve[_ng
1content-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-checked[_ngcontent-%COMP%]{border-color:#d2c9c7}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-inner[_ngcontent-%COMP%]{top:3px;left:3px;width:12px;height:12px}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{border-color:#d2c9c7;background:#ffffff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]{border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-icon[_ngcontent-%COMP%]{width:20px;height:20px;border-width:1px;border-style:solid;border-radius:1px;border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]   .checkbox-inner[_ngcontent-%COMP%]{top:0;left:7px;width:5px;height:14px}.nve[_ngcontent-%COMP%]   .checkbox-md.checkbox-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-checkbox-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none;background:#ccc}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{background:#cccccc}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]::part(container){background:#cccccc}.nve[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:1em;font-weight:400;color:#000}.account-feed-panel[_ngcontent-%COMP%]{background:#ffffff;border-bottom:1px solid #cccccc;border-top:1px solid #cccccc;width:100%;padding-bottom:15px}.text-btn[_ngcontent-%COMP%]{font-weight:700}  .nve-custom-pagination input{width:40px;text-align:center}  .nve-custom-pagination .form-control{margin:0 0 5px;width:40px;display:inline-block}  .nve-custom-pagination .pagination-next,   .nve-custom-pagination .pagination-previous{display:inline-block;padding:0 0 5px}  .nve-custom-pagination .pagination-text-align-center{text-align:center;margin-top:20px}  .nve-custom-pagination .pagination-next{padding-left:5px}@media only screen and (max-width: 767px){  .nve-custom-pagination .pagination-next.last,   .nve-custom-pagination .pagination-previous.first{width:62px;height:19px;padding-top:5px}}@media only screen and (max-width: 767px){  .nve-custom-pagination .pagination-next.last:after{margin-left:8px}}@media only screen and (max-width: 767px){  .nve-custom-pagination .pagination-previous.first:before{margin-right:8px}}  .nve-custom-pagination .pagination-next.last:after{margin-left:8px}  .nve-custom-pagination .pagination-previous.first:before{margin-right:8px}  .nve-custom-pagination .pagination-previous{padding-left:5px}  .nve-custom-pagination .current{background:white;padding-left:5px;padding-right:5px;color:gray}  .nve-custom-pagination .disable{cursor:default;pointer-events:none;color:gray}  .nve-custom-pagination .adjust-p{padding-left:8px;padding-right:8px}.margin-top-20[_ngcontent-%COMP%]{margin-top:20px}.table-striped-item[_ngcontent-%COMP%]:nth-child(odd){background:#f5fbfe}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]{display:table;width:100%}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]{display:table-row}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]{width:20%;display:table-cell;float:none;vertical-align:middle;padding:15px 5px}@media (max-width: 1023px){.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]{padding:5px}}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column-bold[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column-bold[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column-bold[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column-bold[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:700}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column-bold[_ngcontent-%COMP%]   a.nve-icon[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column-bold[_ngcontent-%COMP%]   a.nve-icon[_ngcontent-%COMP%]{font-weight:400}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(1), .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(1){padding-left:15px}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(3), .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(3){width:30%}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(4), .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(4){width:10%}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(5), .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(5){width:20%;text-align:right}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column-inline-block[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column-inline-block[_ngcontent-%COMP%]{display:inline-block;margin:0 15px}@media (max-width: 1023px){.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]{display:block;width:100%}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]{display:block;clear:both;position:relative}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]{display:block;float:none;width:100%;padding:5px 5px 5px 15px!important}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]   .visible-xs[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]   .visible-xs[_ngcontent-%COMP%]{display:inline!important}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .alert-date[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .alert-date[_ngcontent-%COMP%]{width:50%}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .alert-date[_ngcontent-%COMP%]   .next-to-icon[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .alert-date[_ngcontent-%COMP%]   .next-to-icon[_ngcontent-%COMP%]{display:flex}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(3), .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(3){width:100%}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(4), .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(4){width:100%}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(5), .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(5){position:absolute;right:0px;top:0px;width:50%;float:right}.notifications[_ngcontent-%COMP%]   .table-striped-item[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(5)   .table-column-inline-block[_ngcontent-%COMP%], .notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]   .table-row[_ngcontent-%COMP%]   .table-column[_ngcontent-%COMP%]:nth-child(5)   .table-column-inline-block[_ngcontent-%COMP%]{display:block;margin:0 10px 0 0}}@media (max-width: 1023px){.notifications[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]{display:none}}"]}),M})()}
1,77453:(q,H,r)=>{"use strict";r.d(H,{i:()=>x});var e=r(55062),t=r(68835),O=r(36895),h=r(24006),w=r(57807),m=r(78269),Z=r(27605),R=r(88066),D=r(89383);function u(C,k){if(1&C){const A=e.EpF();e.TgZ(0,"div",2)(1,"div",10)(2,"div",11)(3,"div",12)(4,"div",13)(5,"button",14),e.NdJ("click",function(){e.CHM(A);const P=e.oxw();return e.KtG(P.showPaymentAndBilling())}),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"button",14),e.NdJ("click",function(){e.CHM(A);const P=e.oxw();return e.KtG(P.showViewUsage())}),e._uU(9),e.ALo(10,"translate"),e.qZA()()()(),e.TgZ(11,"div",15)(12,"div",16)(13,"div",17)(14,"select",18),e.NdJ("ngModelChange",function(P){e.CHM(A);const B=e.oxw();return e.KtG(B.selectedMenu=P)}),e.TgZ(15,"option",19),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.TgZ(18,"option",20),e._uU(19),e.ALo(20,"translate"),e.qZA()()()()()()()}if(2&C){const A=e.oxw();e.xp6(5),e.ekj("nv-btn-tab-active","viewUsage"!=A.selectedMenu),e.xp6(1),e.hij(" ",e.lcZ(7,9,"COMPONENTS.PAYMYBILL.DRAWER.PAYMENTANDBILLINGHISTORY")," "),e.xp6(2),e.ekj("nv-btn-tab-active","viewUsage"==A.selectedMenu),e.xp6(1),e.hij(" ",e.lcZ(10,11,"COMPONENTS.PAYMYBILL.DRAWER.USAGE")," "),e.xp6(5),e.Q6J("ngModel",A.selectedMenu),e.xp6(2),e.hij(" ",e.lcZ(17,13,"COMPONENTS.PAYMYBILL.DRAWER.PAYMENTANDBILLINGHISTORY")," "),e.xp6(3),e.hij(" ",e.lcZ(20,15,"COMPONENTS.PAYMYBILL.DRAWER.USAGE")," ")}}function f(C,k){if(1&C){const A=e.EpF();e.TgZ(0,"div",21)(1,"div",22)(2,"div",2)(3,"div",23)(4,"h1",24),e._uU(5),e.ALo(6,"translate"),e.qZA()()(),e.TgZ(7,"div",2)(8,"div",25),e._UZ(9,"nve-account-feed-filter"),e.qZA()()(),e.TgZ(10,"div",26)(11,"div",23)(12,"div",27)(13,"nve-account-feed-notifications",28),e.NdJ("expandNotification",function(P){e.CHM(A);const B=e.oxw();return e.KtG(B.expandNotification(P))}),e.qZA()()(),e.TgZ(14,"div",23)(15,"div",29)(16,"nve-account-feed-account-history",30),e.NdJ("expandAccountHistory",function(P){e.CHM(A);const B=e.oxw();return e.KtG(B.expandAccountHistory(P))}),e.qZA()()()()()}if(2&C){const A=e.oxw();
1e.xp6(5),e.Oqu(e.lcZ(6,3,"COMPONENTS.PAYMYBILL.DRAWER.ACCOUNTFEED")),e.xp6(8),e.Q6J("notificationSelected",A.notificationSelected),e.xp6(3),e.Q6J("accountHistorySelected",A.accountHistorySelected)}}function s(C,k){if(1&C&&(e.TgZ(0,"div",31)(1,"div",2)(2,"div",23),e._UZ(3,"nve-charts",32),e.qZA()()()),2&C){const A=e.oxw();e.xp6(3),e.Q6J("endDate",A.endDate)("startDate",A.startDate)}}let x=(()=>{var C;class k{constructor(I){this.payMyBillDrawerService=I,this.notificationSelected=!1,this.accountHistorySelected=!0,this.selectedMenu="paymentAndBilling",this.hideTabs=!1,this.menuUpdatedEvent=new e.vpe}ngOnInit(){"paymentAndBilling"===this.selectedMenu?(this.accountHistorySelected=!0,this.notificationSelected=!1):"notifications"===this.selectedMenu&&(this.accountHistorySelected=!1,this.notificationSelected=!0)}closeDrawer(){this.payMyBillDrawerService.closeDrawer()}showPaymentAndBilling(){this.selectedMenu="paymentAndBilling",this.startDate=void 0,this.endDate=void 0,this.emitMenuUpdatedEvent()}showViewUsage(){this.selectedMenu="viewUsage",this.emitMenuUpdatedEvent()}emitMenuUpdatedEvent(){this.menuUpdatedEvent.emit(this.selectedMenu)}expandNotification(I){!0===I?(this.accountHistorySelected=!1,this.notificationSelected=!0):(this.notificationSelected=!1,this.accountHistorySelected=!1)}expandAccountHistory(I){!0===I?(this.notificationSelected=!1,this.accountHistorySelected=!0):(this.notificationSelected=!1,this.accountHistorySelected=!1)}}return(C=k).\u0275fac=function(I){return new(I||C)(e.Y36(t.B))},C.\u0275cmp=e.Xpm({type:C,selectors:[["nve-pay-my-bill-drawer"]],inputs:{endDate:"endDate",startDate:"startDate",selectedMenu:"selectedMenu",hideTabs:"hideTabs"},outputs:{menuUpdatedEvent:"menuSelected"},decls:10,vars:3,consts:[[1,"pay-my-bill-drawer"],["id","mySidenav",1,"sidenav"],[1,"clearfix"],[1,"col-xs-12","text-right"],["tabindex","0","aria-label","close","role","button",1,"close-modal"],[1,"ion-close-round",3,"click"],["class","clearfix",4,"ngIf"],["class","ion-padding",4,"ngIf"],["class","charts-wrapper",4,"ngIf"],[1,"sidenav-wrapper-backdrop"],[1,"col-xs-12","text-center"],[1,"hidden-sm","hidden-xs"],[1,"nve-tabs"],[1,"wrapper"],[1,"nv-btn","nv-btn-tab",3,"click"],[1,"visible-sm","visible-xs"],[1,"col-md-5","col-sm-12","col-xs-12"],[1,"select-wrapper"],["aria-label","Payment and Billing option",1,"form-control",3,"ngModel","ngModelChange"],["value","paymentAndBilling"],["value","viewUsage"],[1,"ion-padding"],[1,"account-feed-panel"],[1,"col-sm-12"],[1,"heading"],[1,"col-lg-2","col-md-3","col-sm-4","col-xs-6"],[1,"clearfix","account-feed-content"],[1,"toggle-item-wrapper","first"],[3,"notificationSelected","expandNotification"],[1,"toggle-item-wrapper","last"],[3,"accountHistorySelected","expandAccountHistory"],[1,"charts-wrapper"],[3,"endDate","startDate"]],template:function(I,P){1&I&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"a",4)(5,"span",5),e.NdJ("click",function(){return P.closeDrawer()}),e.qZA()()()(),e.YNc(6,u,21,17,"div",6),e.YNc(7,f,17,5,"div",7),e.YNc(8,s,4,2,"div",8),e.qZA()(),e._UZ(9,"div",9)),2&I&&(e.xp6(6),e.Q6J("ngIf",!P.hideTabs),e.xp6(1),e.Q6J("ngIf","paymentAndBilling"==P.selectedMenu||"notifications"==P.selectedMenu),e.xp6(1),e.Q6J("ngIf","viewUsage"==P.selectedMenu))},dependencies:[O.O5,h.YN,h.Kr,h.EJ,h.JJ,h.On,w.Z,m.t,Z.O,R.s,D.X$],styles:[".nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-checked[_ngcontent-%COMP%]{border-color:#d2c9c7}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-inner[_ngcontent-%COMP%]{top:3px;left:3px;width:12px;height:12px}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{border-color:#d2c9c7;background:#ffffff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]{border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-icon[_ngcontent-%COMP%]{width:20px;height:20px;border-width:1px;border-style:solid;border-radius:1px;border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]   .checkbox-inner[_ngcontent-%COMP%]{top:0;left:7px;width:5px;height:14px}.nve[_ngcontent-%COMP%]   .checkbox-md.checkbox-disabled[_ngcontent-%COMP%], .nve[_ng
1content-%COMP%]   .item-md.item-checkbox-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none;background:#ccc}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{background:#cccccc}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]::part(container){background:#cccccc}.nve[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:1em;font-weight:400;color:#000}.pay-my-bill-drawer[_ngcontent-%COMP%]   .close-modal[_ngcontent-%COMP%]{width:auto}.pay-my-bill-drawer[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]{height:100%;width:90%;position:absolute;z-index:101;top:0;left:0;background-color:#fff;overflow-x:hidden;padding-top:15px;animation:_ngcontent-%COMP%_mymove .5s}@media (max-width: 1023px){.pay-my-bill-drawer[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]{width:100%}}.pay-my-bill-drawer[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]{-webkit-animation-timing-function:ease-out}.pay-my-bill-drawer[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]{animation-timing-function:ease-out}@keyframes _ngcontent-%COMP%_mymove{0%{left:-600px}to{left:0px}}.pay-my-bill-drawer[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .closebtn[_ngcontent-%COMP%]{position:absolute;top:0;right:25px;font-size:36px;margin-left:50px}.pay-my-bill-drawer[_ngcontent-%COMP%]   .account-feed-panel[_ngcontent-%COMP%]{border-top:0px;background:#fff;width:100%;padding-bottom:15px;border-bottom:1px solid #ccc;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#ccc}.pay-my-bill-drawer[_ngcontent-%COMP%]   .charts-wrapper[_ngcontent-%COMP%]{padding-bottom:30px;margin-bottom:30px}.pay-my-bill-drawer[_ngcontent-%COMP%]   h1.heading[_ngcontent-%COMP%]{font-size:32px;font-weight:300;color:#de5243;margin-top:-.3rem;margin-bottom:10px}.pay-my-bill-drawer[_ngcontent-%COMP%]   h1.heading[_ngcontent-%COMP%]{font-size:32px;font-weight:300;text-transform:none;color:#de5243}@media print{.pay-my-bill-drawer[_ngcontent-%COMP%]   h1.heading[_ngcontent-%COMP%]{color:#de5243!important}}@media (max-width: 767px){.pay-my-bill-drawer[_ngcontent-%COMP%]   h1.heading[_ngcontent-%COMP%]{font-size:26px}}.pay-my-bill-drawer[_ngcontent-%COMP%]   h1.heading[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#808285}.sidenav-wrapper-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:89}on-app.ios[_ngcontent-%COMP%]   [padding][_ngcontent-%COMP%], ion-app.ios[_ngcontent-%COMP%]   [padding][_ngcontent-%COMP%]   .scroll-content[_ngcontent-%COMP%], ion-app.md[_ngcontent-%COMP%]   [padding][_ngcontent-%COMP%], ion-app.md[_ngcontent-%COMP%]   [padding][_ngcontent-%COMP%]   .scroll-content[_ngcontent-%COMP%], ion-app.wp[_ngcontent-%COMP%]   [padding][_ngcontent-%COMP%], ion-app.wp[_ngcontent-%COMP%]   [padding][_ngcontent-%COMP%]   .scroll-content[_ngcontent-%COMP%]{padding:16px}"]}),k})()},27832:(q,H,r)=>{"use strict";r.r(H),r.d(H,{AccountFeedPageModule:()=>nt});var e=r(36895),t=r(24006),O=r(90603),h=r(89383),w=r(36690),m=r(17914),Z=r(88066),R=r(1912),D=r(61213),u=r(9129),f=r(38738),s=r(55062),x=r(33441),C=r(68835),k=r(77453),A=r(87650),I=r(27605),P=r(78269);const B=["accountHistory"];function E(T,Y){if(1&T&&(s.TgZ(0,"div"),s._UZ(1,"nve-pay-my-bill-drawer",14),s.qZA()),2&T){const L=s.oxw();s.xp6(1),s.Q6J("endDate",L.endDate)("startDate",L.startDate)}}const X=[{path:"",component:(()=>{var T;class Y{constructor(_,M,p,v,y,N,U,J,$){this.router=_,this.navUtil=M,this.loginService=p,this.userService=v,this.logger=y,this.accountListService=N,this.payMyBillDrawerService=U,this.route=J,this.siteRestorationService=$,this.notificationSelected=!0,this.accountHistorySelected=!1,this.showPayMyBillDrawer=!1,this.selectedMenu="viewUsage",this.endDate=void 0,this.startDate=void 0,this.openDrawerSubscription=this.payMyBillDrawerService.openDrawerEvent.subscribe(j=>{this.startDate=j.data.startDate,this.endDate=j.data.endDate,this.showPayMyBillDrawer=!0}),this.closeDrawerSubscription=this.payMyBillDrawerService.closeDrawerEvent.subscribe(()=>{this.showPayMyBillDrawer=!1}
1),this.activateRouteParamsSubscription=this.route.queryParamMap.subscribe(j=>{"paymentandbilling"===j.get("navigateTo")?this.expandAccountHistory():this.expandNotification()})}expandNotification(){this.accountHistorySelected=!1,this.notificationSelected=!0,this.siteRestorationService.updateUrlState({})}expandAccountHistory(){this.notificationSelected=!1,this.accountHistorySelected=!0,this.siteRestorationService.updateUrlState({navigateTo:"paymentandbilling"})}ionViewDidLeave(){this.navUtil.queryParams=void 0}ionViewWillEnter(){this.accountHistory.updateData()}ngOnDestroy(){this.openDrawerSubscription.unsubscribe(),this.closeDrawerSubscription.unsubscribe(),this.activateRouteParamsSubscription.unsubscribe()}}return(T=Y).\u0275fac=function(_){return new(_||T)(s.Y36(w.F0),s.Y36(m.H),s.Y36(u.r),s.Y36(D.K),s.Y36(x.Y),s.Y36(R.x),s.Y36(C.B),s.Y36(w.gz),s.Y36(f.b))},T.\u0275cmp=s.Xpm({type:T,selectors:[["app-account-feed"]],viewQuery:function(_,M){if(1&_&&s.Gf(B,5),2&_){let p;s.iGM(p=s.CRH())&&(M.accountHistory=p.first)}},decls:22,vars:6,consts:[[1,"pageWrapper",2,"position","relative"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12"],["padding-bottom","",1,"account-feed-panel"],[1,"clearfix"],[1,"col-sm-12"],[1,"heading"],[1,"col-lg-2","col-md-3","col-sm-12","col-xs-12"],[1,"clearfix","account-feed-content"],[1,"toggle-item-wrapper","first"],[3,"notificationSelected","expandNotification"],[1,"toggle-item-wrapper","last"],[3,"accountHistorySelected","expandAccountHistory"],["accountHistory",""],[4,"ngIf"],["selectedMenu","viewUsage","hideTabs","true",3,"endDate","startDate"]],template:function(_,M){1&_&&(s.TgZ(0,"nve-ion-content")(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"h1",5),s._uU(7),s.ALo(8,"translate"),s.qZA()()(),s.TgZ(9,"div",3)(10,"div",6),s._UZ(11,"nve-account-feed-filter"),s.qZA()()(),s.TgZ(12,"div")(13,"div",7)(14,"div",4)(15,"div",8)(16,"nve-account-feed-notifications",9),s.NdJ("expandNotification",function(){return M.expandNotification()}),s.qZA()()(),s.TgZ(17,"div",4)(18,"div",10)(19,"nve-account-feed-account-history",11,12),s.NdJ("expandAccountHistory",function(){return M.expandAccountHistory()}),s.qZA()()()(),s.YNc(21,E,2,2,"div",13),s.qZA()()()()),2&_&&(s.xp6(7),s.Oqu(s.lcZ(8,4,"PAGES.ACCOUNTFEED.HEADING")),s.xp6(9),s.Q6J("notificationSelected",M.notificationSelected),s.xp6(3),s.Q6J("accountHistorySelected",M.accountHistorySelected),s.xp6(2),s.Q6J("ngIf",M.showPayMyBillDrawer))},dependencies:[e.O5,k.i,A.S,I.O,Z.s,P.t,h.X$],styles:[".nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-checked[_ngcontent-%COMP%]{border-color:#d2c9c7}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-inner[_ngcontent-%COMP%]{top:3px;left:3px;width:12px;height:12px}.nve[_ngcontent-%COMP%]   .radio-md[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{border-color:#d2c9c7;background:#ffffff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]{border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-icon[_ngcontent-%COMP%]{width:20px;height:20px;border-width:1px;border-style:solid;border-radius:1px;border-color:#d2c9c7;background-color:#fff}.nve[_ngcontent-%COMP%]   .checkbox-md[_ngcontent-%COMP%]   .checkbox-checked[_ngcontent-%COMP%]   .checkbox-inner[_ngcontent-%COMP%]{top:0;left:7px;width:5px;height:14px}.nve[_ngcontent-%COMP%]   .checkbox-md.checkbox-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-checkbox-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none;background:#ccc}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   .radio-md.radio-disabled[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%], .nve[_ngcontent-%COMP%]   .item-md.item-radio-disabled[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]   .radio-icon[_ngcontent-%COMP%]{background:#cccccc}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.nve[_ngcontent-%COMP%]   ion-radio.radio-disabled[_ngcontent-%COMP%]::part(container){background:#cccccc}.nve[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:1em;font-weight:400;color:#000}.account-feed-panel[_ngcontent-%COMP%]{background:#ffffff;border-bottom:1px solid #cccccc;border-top:1px solid #cccccc;width:100%;padding-bottom:15px}"]}),Y})()}];let K=(()=>{var T;class Y{}return(T=Y).\u0275fac=function(_){return new(_||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({imports:[w.Bz.forChild(X),w.Bz]}),Y})();var z=r(37257),G=r(29026),tt=r(52853),et=r(49512);let nt=(()=>{var T;class Y{}return(T=Y).\u0275fac=function(_){return new(_||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({imports:[e.ez,t.u5,O.Pc,K,h.aw,z.o,G.D,tt.JX,et.m]}),Y})()},21288:(q,H,r)=>{"use strict";r.d(H,{K:()=>t});var e=r(55062);let t=(()=>{var O;class h{constructor(){}transform(m){return m&&!isNaN(m)?0==m?"$0.00":m<0?"-$"+Math.abs(m).toFixed(2):"$"+Math.abs(m).toFixed(2)+" CR":"-"}}return(O=h).\u0275fac=function(m){return new(m||O)},O.\u0275pipe=e.Yjl({name:"accountHistoryAmount",type:O,pure:!0}),h})()},64355:(q,H,r)=>{"use strict";r.d(H,{W:()=>t});var e=r(55062);let t=(()=>{var O;class h{transform(m){return m&&m<0?"$"+Math.abs(m).toFixed(2):0==m?"$0.00":"$"+Math.abs(m).toFixed(2)+" CR"}}return(O=h).\u0275fac=function(m){return new(m||O)},O.\u0275pipe=e.Yjl({name:"flexpaycredit",type:O,pure:!1}),h})()},81467:(q,H,r)=>{"use strict";r.d(H,{A:()=>t});var e=r(55062);let t=(()=>{var O;class h{constructor(){this.filterDataEvent=new e.vpe}static getInstance(){return null==h.instance&&(h.isCreating=!0,h.instance=new h,h.isCreating=!1),h.instance}sendFilterData(m){this.filterDataEvent.emit(m)}}return(O=h).isCreating=!1,O.\u0275fac=function(m){return new(m||O)},O.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac}),h})()},16418:(q,H,r)=>{"use strict";r.d(H,{r:()=>e});let e=(()=>{var t;class O{}return(t=O).SPINNER='\n        <html>\n            <head>\n                <style>\n                    .loading-spinner-container {\n                        display: flex;\n                        justify-content: center;\n                        align-items: center;\n                        width: 100%;\n                        z-index: 999;\n                        top: 50%;\n                        position: absolute;\n                    }\n                    .loading-spin .loading {\n                        background: transparent;\n                        width: 2em;\n                        height: 2em;\n                        position: relative;\n                        margin:0 auto;\n                    }\n                    .loading-spin .loading:after {\n                        display: block;\n                        content: "";\n                        border-radius: 50%;\n                        height: 2px;\n                        width: 2px;\n                        position: absolute;\n                        margin: auto;\n                        left: 0;\n                        top: 0;\n                        right: 0;\n                        bottom: 0;\n                        box-shadow: 10px 0 0 2px #333, 7px 7px 0 2px #999, 0 10px 0 2px #999, -7p
1x 7px 0 2px #999, -10px 0 0 2px #999, -7px -7px 0 2px #999, 0 -10px 0 2px #333, 7px -7px 0 2px #111;\n                        -webkit-animation: rotate 1s steps(8) infinite;\n                        -o-animation: rotate 1s steps(8) infinite;\n                        animation: rotate 1s steps(8) infinite;\n                    }\n                    @keyframes rotate {\n                        from {\n                            transform: rotate(0deg);\n                        }\n                        to {\n                            transform: rotate(360deg);\n                        }\n                    }\n                </style>\n            </head>\n            <body>\n                <div class="loading-spinner-container">\n                    <div class="loading-spin">\n                        <div class="loading"></div>\n                    </div>\n                </div>\n            </body>\n        </html>',t.SPINNER_MSG1='\n        <html>\n            <head>\n                <style>\n                    .loading-spinner-container {\n                        display: flex;\n                        justify-content: center;\n                        align-items: center;\n                        width: 100%;\n                        z-index: 999;\n                        top: 50%;\n                        position: absolute;\n                    }\n                    .loading-spin .loading {\n                        background: transparent;\n                        width: 2em;\n                        height: 2em;\n                        position: relative;\n                        margin:0 auto;\n                    }\n                    .loading-spin .loading:after {\n                        display: block;\n                        content: "";\n                        border-radius: 50%;\n                        height: 2px;\n                        width: 2px;\n                        position: absolute;\n                        margin: auto;\n                        left: 0;\n                        top: 0;\n                        right: 0;\n                        bottom: 0;\n                        box-shadow: 10px 0 0 2px #333, 7px 7px 0 2px #999, 0 10px 0 2px #999, -7px 7px 0 2px #999, -10px 0 0 2px #999, -7px -7px 0 2px #999, 0 -10px 0 2px #333, 7px -7px 0 2px #111;\n                        -webkit-animation: rotate 1s steps(8) infinite;\n                        -o-animation: rotate 1s steps(8) infinite;\n                        animation: rotate 1s steps(8) infinite;\n                    }\n                    @keyframes rotate {\n                        from {\n                            transform: rotate(0deg);\n                        }\n                        to {\n                            transform: rotate(360deg);\n                        }\n                    }\n                </style>\n            </head>\n            <body>\n                <div class="loading-spinner-container">\n                    <div class="loading-spin">\n                        <div class="loading"></div>\n                        <div>',t.SPINNER_MSG2="</div>\n                    </div>\n                </div>\n            </body>\n        </html>",O})()},94327:function(q,H){var r,t;void 0!==(t="function"==typeof(r=function(){"use strict";function h(u,f,s){var x=new XMLHttpRequest;x.open("GET",u),x.responseType="blob",x.onload=function(){D(x.response,f,s)},x.onerror=function(){console.error("could not download file")},x.send()}function w(u){var f=new XMLHttpRequest;f.open("HEAD",u,!1);try{f.send()}catch(s){}return 200<=f.status&&299>=f.status}function m(u){try{u.dispatchEvent(new MouseEvent("click"))}catch(s){var f=document.createEvent("MouseEvents");
1f.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(f)}}var Z="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,R=Z.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),D=Z.saveAs||("object"!=typeof window||window!==Z?function(){}:"download"in HTMLAnchorElement.prototype&&!R?function(u,f,s){var x=Z.URL||Z.webkitURL,C=document.createElement("a");C.download=f=f||u.name||"download",C.rel="noopener","string"==typeof u?(C.href=u,C.origin===location.origin?m(C):w(C.href)?h(u,f,s):m(C,C.target="_blank")):(C.href=x.createObjectURL(u),setTimeout(function(){x.revokeObjectURL(C.href)},4e4),setTimeout(function(){m(C)},0))}:"msSaveOrOpenBlob"in navigator?function(u,f,s){if(f=f||u.name||"download","string"!=typeof u)navigator.msSaveOrOpenBlob(function O(u,f){return typeof f>"u"?f={autoBom:!1}:"object"!=typeof f&&(console.warn("Deprecated: Expected third argument to be a object"),f={autoBom:!f}),f.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\ufeff",u],{type:u.type}):u}(u,s),f);else if(w(u))h(u,f,s);else{var x=document.createElement("a");x.href=u,x.target="_blank",setTimeout(function(){m(x)})}}:function(u,f,s,x){if((x=x||open("","_blank"))&&(x.document.title=x.document.body.innerText="downloading..."),"string"==typeof u)return h(u,f,s);var C="application/octet-stream"===u.type,k=/constructor/i.test(Z.HTMLElement)||Z.safari,A=/CriOS\/[\d]+/.test(navigator.userAgent);if((A||C&&k||R)&&typeof FileReader<"u"){var I=new FileReader;I.onloadend=function(){var E=I.result;E=A?E:E.replace(/^data:[^;]*;/,"data:attachment/file;"),x?x.location.href=E:location=E,x=null},I.readAsDataURL(u)}else{var P=Z.URL||Z.webkitURL,B=P.createObjectURL(u);x?x.location=B:location.href=B,x=null,setTimeout(function(){P.revokeObjectURL(B)},4e4)}});Z.saveAs=D.saveAs=D,q.exports=D})?r.apply(H,[]):r)&&(q.exports=t)}}]);

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.