1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2739],{2739:(F,u,o)=>{o.r(u),o.d(u,{ChangeDueDateConfirmationPageModule:()=>b});var s=o(36895),d=o(24006),g=o(90603),E=o(36690),C=o(15861),A=o(15439),m=o(66539),p=o(61213);class T{constructor(){}}var h=o(12377),N=o(17914),e=o(55062),D=o(89383),P=o(75834),_=o(97670);function v(t,l){1&t&&(e.TgZ(0,"h1",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.TITLE1")," "))}function f(t,l){1&t&&(e.TgZ(0,"h1",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.TITLE2")," "))}function M(t,l){if(1&t&&(e.TgZ(0,"div",5),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"strong"),e._uU(4),e.qZA()()),2&t){const a=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,2,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.AMP_PAYMENT_DATE")," "),e.xp6(3),e.Oqu(a.selectedDateString)}}function U(t,l){if(1&t&&(e.TgZ(0,"div",16)(1,"span",17),e._uU(2),e.ALo(3,"translate"),e.TgZ(4,"strong"),e._uU(5),e.ALo(6,"number"),e.qZA()(),e.TgZ(7,"span",18),e._uU(8),e.ALo(9,"translate"),e.TgZ(10,"strong"),e._uU(11),e.ALo(12,"date"),e.qZA()()()),2&t){const a=l.$implicit;e.xp6(2),e.hij(" ",e.lcZ(3,4,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.SCHEDULED_PAYMENT.AMOUNT")," "),e.xp6(3),e.hij("$",e.xi3(6,6,a.paymentAmount,"1.2-2")," "),e.xp6(3),e.hij(" ",e.lcZ(9,9,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.SCHEDULED_PAYMENT.DATE")," "),e.xp6(3),e.hij("",e.xi3(12,11,a.transactionDate,"MM/dd/yyyy")," ")}}const y=function(){return{openAccountHistory:!0}};function Z(t,l){if(1&t&&(e.TgZ(0,"div",13)(1,"div",5),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",5),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"div",5),e.YNc(8,U,13,14,"div",14),e.qZA(),e.TgZ(9,"div",5),e._uU(10),e.ALo(11,"translate"),e.TgZ(12,"a",15),e._uU(13),e.ALo(14,"translate"),e.qZA(),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"div",5),e._uU(18),e.ALo(19,"translate"),e.qZA()()),2&t){const a=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,10,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.NOTE")),e.xp6(3),e.hij(" ",e.lcZ(6,12,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.SCHEDULED_PAYMENT.HEADING")," "),e.xp6(3),e.Q6J("ngForOf",null==a.eligibility?null:a.eligibility.scheduledPayments),e.xp6(2),e.hij(" ",e.lcZ(11,14,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.SCHEDULED_PAYMENT.CHANGE_SCHEDULED_DATE.MESSAGE1")," "),e.xp6(2),e.Q6J("moveToPage","my-account/account-feed")("setPageToRoot",!1)("moveToPageParam",e.DdM(22,y)),e.xp6(1),e.Oqu(e.lcZ(14,16,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.SCHEDULED_PAYMENT.CHANGE_SCHEDULED_DATE.LINK")),e.xp6(2),e.hij(" ",e.lcZ(16,18,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.SCHEDULED_PAYMENT.CHANGE_SCHEDULED_DATE.MESSAGE2")," "),e.xp6(3),e.hij(" ",e.lcZ(19,20,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.SCHEDULED_PAYMENT.CHANGE_SCHEDULED_DATE.MESSAGE3")," ")}}function I(t,l){if(1&t&&(e.TgZ(0,"div",5),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"strong"),e._uU(4),e.ALo(5,"number"),e.qZA(),e._uU(6),e.ALo(7,"translate"),e.TgZ(8,"strong"),e._uU(9),e.ALo(10,"date"),e.qZA(),e._uU(11),e.ALo(12,"translate"),e.qZA()),2&t){const a=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,5,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.COMPLETEPAYMENT")," "),e.xp6(3),e.hij(" $",e.xi3(5,7,a.billAmount,"1.2-2"),""),e.xp6(2),e.hij("",e.lcZ(7,10,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.PAID")," "),e.xp6(3),e.hij(" ",e.xi3(10,12,a.selectedPostponement,"MM/dd/yyyy")," "),e.xp6(2),e.hij(" ",e.lcZ(12,15,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.PAYMYBILLPAGE")," ")}}function S(t,l){1&t&&(e.TgZ(0,"div",5),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.PAYMENTWITHNOPENDINGAMOUNT")," "))}const O=[{path:"",component:(()=>{var t;class l{constructor(i,n,r,c,x,R){this.translateService=i,this.modalCtrl=n,this.navUtil=r,this.postponeDueDateService=c,this.userService=x,this.globalServiceErrorHandler=R}ionViewWillEnter(){this.eligibility=this.postponeDueDateService.eligibility,this.selectedPostponement=this.postponeDueDateService.selectedPostponement,this.redirectToPayMyBill=this.postponeDueDateService.redirectToPayMyBill,this.redirectedFromPayMyBill=this.postponeDueDateService.redirectedFromPayMyBill,this.billAmount=this.postponeDueDateService.billAmount,this.eligibility?(this.billingPeriodFrom=A(this.eligibility.billingPeriodStartDate).format("MMM DD"),this.billingPeriodTo=A(this.eligibility.billingPeriodEndDate).format("MMM DD"),this.selectedDateString=A(this.selectedPostponement).format("MM-DD-YYYY")):this.goBack()}parse(i){return parseInt(i,10)}scheduleDueDate(){let i=new T,n=this.userService.getUser().currentAccount;return i.accountNumber=n.accountNumber,i.serviceAddress=`${n.streetAddressLong} ${n.city},NV ${n.zipCode}`.replace(/[\s]+/g," "),i.billType=n.billType,i.email=this.userService.getUser().email.emailAddress,i.newPostponeDueDate=this.selectedDateString,this.postponeDueDateService.postponeDueDate(i).then(()=>{this.redirectToPayMyBill?this.navUtil.navigate("/my-account/pay-my-bill",!1,{hidePostponeDueDate:!0,postponeDueDate:this.selectedDateString}):this.goBack()}).catch(r=>{this.globalServiceErrorHandler.showToast(String(this.translateService.instant("INTERNALSERVERERRORMESSAGE"))),this.goBack()})}cancel(){var i=this;this.modalCtrl.create({component:m.x}).then(n=>n.present().then((0,C.Z)(function*(){const r=yield n.onDidDismiss(),c=null==r?void 0:r.data;null!=c&&c.isConflictAccepted&&i.goBack()})))}goBack(){this.navUtil.navigate(this.redirectedFromPayMyBill?"/my-account/pay-my-bill":"/my-account",!0)}}return(t=l).\u0275fac=function(i){return new(i||t)(e.Y36(D.sK),e.Y36(g.IN),e.Y36(N.H),e.Y36(h.g),e.Y36(p.K),e.Y36(P.o))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-change-due-date-confirmation"]],decls:33,vars:27,consts:[[1,"change-due-date"],[1,"page-sidebar","picture-background","ion-padding-horizontal"],["tabindex","0",4,"ngIf"],[1,"pageWrapper"],[1,"col-xs-12"],[1,"margin-top-15"],["class","margin-top-15",4,"ngIf"],["class","note",4,"ngIf"],[1,"bottom-nav"],[1,"nv-btn","nv-btn-white","nv-btn-back",3,"click"],[1,"nv-btn","nv-btn-blue","nv-btn-go",3,"click"],[1,"nv-btn","nv-btn-white","nv-btn-cancel",3,"click"],["tabindex","0"],[1,"n
1ote"],["class","payments",4,"ngFor","ngForOf"],[3,"moveToPage","setPageToRoot","moveToPageParam"],[1,"payments"],[1,"col-xs-12","col-md-2","col-sm-4"],[1,"col-xs-12","col-md-10","col-sm-6"]],template:function(i,n){1&i&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,v,3,3,"h1",2),e.YNc(3,f,3,3,"h1",2),e.qZA(),e.TgZ(4,"div",3)(5,"div",4)(6,"div",5),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.TgZ(9,"div",5),e._uU(10),e.ALo(11,"translate"),e.TgZ(12,"strong"),e._uU(13),e.qZA()(),e.TgZ(14,"div",5),e._uU(15),e.ALo(16,"translate"),e.TgZ(17,"strong"),e._uU(18),e.qZA()(),e.YNc(19,M,5,4,"div",6),e.YNc(20,Z,20,23,"div",7),e.YNc(21,I,13,17,"div",6),e.YNc(22,S,3,3,"div",6),e.TgZ(23,"div",8)(24,"button",9),e.NdJ("click",function(){return n.goBack()}),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.TgZ(27,"button",10),e.NdJ("click",function(){return n.scheduleDueDate()}),e._uU(28),e.ALo(29,"translate"),e.qZA(),e.TgZ(30,"button",11),e.NdJ("click",function(){return n.cancel()}),e._uU(31),e.ALo(32,"translate"),e.qZA()()()()()),2&i&&(e.xp6(2),e.Q6J("ngIf",!n.redirectToPayMyBill),e.xp6(1),e.Q6J("ngIf",n.redirectToPayMyBill),e.xp6(4),e.Oqu(e.lcZ(8,15,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.HEADING")),e.xp6(3),e.hij(" ",e.lcZ(11,17,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.BILLING_PERIOD")," "),e.xp6(3),e.AsE("",n.billingPeriodFrom," - ",n.billingPeriodTo,""),e.xp6(2),e.hij(" ",e.lcZ(16,19,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.NEW_DUE_DATE")," "),e.xp6(3),e.Oqu(n.selectedDateString),e.xp6(1),e.Q6J("ngIf",null==n.eligibility?null:n.eligibility.isAmpUser),e.xp6(1),e.Q6J("ngIf",!(null!=n.eligibility&&n.eligibility.isAmpUser)&&(null==n.eligibility?null:n.eligibility.scheduledPayments.length)>0),e.xp6(1),e.Q6J("ngIf",n.redirectToPayMyBill&&n.parse(n.billAmount)>0),e.xp6(1),e.Q6J("ngIf",n.redirectToPayMyBill&&n.parse(n.billAmount)<=0),e.xp6(3),e.hij(" ",e.lcZ(26,21,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.BACK")," "),e.xp6(3),e.hij(" ",e.lcZ(29,23,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.SUBMIT")," "),e.xp6(3),e.hij(" ",e.lcZ(32,25,"PAGES.CHANGE_DUE_DATE_CONFIRMATION.CANCEL")," "))},dependencies:[s.sg,s.O5,_.a,s.JJ,s.uU,D.X$],styles:[".change-due-date[_ngcontent-%COMP%] .margin-left-30[_ngcontent-%COMP%]{margin-left:30px}.change-due-date[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%]{margin-top:5px;display:inline-block;width:100%}"]}),l})()}];let G=(()=>{var t;class l{}return(t=l).\u0275fac=function(i){return new(i||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[E.Bz.forChild(O),E.Bz]}),l})();var L=o(49512),H=o(37257);let b=(()=>{var t;class l{}return(t=l).\u0275fac=function(i){return new(i||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[s.ez,d.u5,g.Pc,G,L.m,D.aw,H.o]}),l})()}}]);
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.