PageSourceSearch

https://myaccount.issaquahreporter.com/9678.b65caa790caea85d.js

js issaquahreporter.com collected 2026-09-24 20:26:41 UTC 51,514 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkSubCon=self.webpackChunkSubCon||[]).push([[9678],{56130:(J,v,r)=>{r.d(v,{u:()=>U});var y=r(61135),I=r(94650);let U=(()=>{const p=class{constructor(){this.walletSource=new y.X({}),this.params$=this.walletSource.asObservable()}updateParams(P){this.walletSource.next({...this.walletSource.value,...P})}getParams(){return this.walletSource.value}};let T=p;return p.\u0275fac=function(t){return new(t||p)},p.\u0275prov=I.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),T})()},39678:(J,v,r)=>{r.r(v),r.d(v,{AutoPaySignUpWizardModule:()=>Ce});var y=r(36895),I=r(86582),U=r(17473),T=r(84162),p=r(88776),c=r(89653),P=r(90965),t=r(94650);const z=[y.ez,P.m];let G=(()=>{const i=class{};let n=i;return i.\u0275fac=function(s){return new(s||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[z]}),n})();var D=r(27379),W=r(95698),O=r(81202),ot=r(79097),at=r(20373),st=r(61135),E=r(39841),u=r(22529),V=r(72133),k=r(2611),m=r(90433),ct=r(22418),g=r(932),rt=r(8279),lt=r(20995);class ut extends rt.o{constructor(i,e){super({tipAmount:new m.p4(null),donationAmount:new m.p4(null),option:new m.p4(null,[m.kI.required]),total:new m.p4({value:null,disabled:!0},[m.kI.required]),termsAndConditions:new m.p4(!1,[m.kI.requiredTrue]),paymentMethodId:new m.p4(null),balance:new m.p4((i<0?Math.abs(i):0).toFixed(2)),transactionId:new m.p4(null),processingFeeAmount:new m.p4({value:null,disabled:!0}),processingFeeTaxAmount:new m.p4({value:null,disabled:!0}),paymentMethodType:new m.p4(null,[m.kI.required]),oneTimeCharges:new m.p4({value:null,disabled:!0})}),this.mpanService=e,this.surchargeType="",this.subscriptionBalance=i,this.updateTotal(),this.calculateOneTimeCharges(),this.setCustomValidators()}get tipAmount(){return this.get("tipAmount")}get donationAmount(){return this.get("donationAmount")}get option(){return this.get("option")}get total(){return this.get("total")}get termsAndConditions(){return this.get("termsAndConditions")}get paymentMethodId(){return this.get("paymentMethodId")}get balance(){return this.get("balance")}get transactionId(){return this.get("transactionId")}get processingFeeAmount(){return this.get("processingFeeAmount")}get processingFeeTaxAmount(){return this.get("processingFeeTaxAmount")}get paymentMethodType(){return this.get("paymentMethodType")}get oneTimeCharges(){return this.get("oneTimeCharges")}get isCreditCardSelected(){return this.selectedMethod!==g.I.BankAccount&&this.selectedMethod!==g.I.PayPal}get isBankAccountSelected(){return this.selectedMethod===g.I.BankAccount||this.selectedMethod===g.I.PayPal}get hasDebt(){return this.subscriptionBalance<0}get showOneTimeProcessingFeeMessage(){return this.processingFeeAmount.value&&this.processingFeeAmount.value>0||this.processingFeeTaxAmount.value&&this.processingFeeTaxAmount.value>0}getWalletParams(){return this.mpanService.getParams()}mapToInputModel(){const i=new ct.P,e=this.getWalletParams();return i.paymentMethodId=this.paymentMethodId.value,i.tipAmount=this.tipAmount.value||0,i.donationAmount=this.donationAmount.value||0,i.term=this.option.value.term,i.length=this.option.value.length,i.paymentOptionAmount="cd"===this.surchargeType.toLowerCase()&&this.isBankAccountSelected?this.option.value.amountExcludingSurcharge||0:this.option.value.amount||0,i.balance=this.balance.value||0,i.transactionId=this.isCreditCardSelected?this.transactionId.value:null,i.processingFeeAmount=this.processingFeeAmount.value||0,i.processingFeeTaxAmount=this.processingFeeTaxAmount.value||0,i.oneTimeCharges=this.oneTimeCharges.value||0,i.graceAmountExcludingSurcharge=this.option.value.graceAmountExcludingSurcharge||0,i.graceCCSurcharge="cd"===this.surchargeType.toLowerCase()&&this.isCreditCardSelected&&this.option.value.graceCCSurcharge||0,i.ccSurcharge="cd"===this.surchargeType.toLowerCase()&&this.isCreditCardSelected&&this.option.value.ccSurcharge||0,i.authorizationCode=e.authorizationCode||null,i.isMpan=e.isMpan||!1,i.transactionId=e.transactionId||null,i.paypalNpEmail=this.paypalNpEmail||null,i}mapToProcessingFeeInputModel(){const i=new lt.v;return i.tipAmount=0,i.donationAmount=this.donationAmount.value||0,i.paymentAmount=this.balance.value||0,i}clearForm(){this.reset(this.value)}setPaymentType(i){this.paymentMethodType.setValue(i),this.paymentMethodType.updateValueAndValidity(),this.updateBalanceBasedOnPaymentMethod(),this.updateTotal()}updateBalanceBasedOnPaymentMethod(){"cd"===this.surchargeType.toLowerCase()&&this.isCreditCardSelected&&this.hasDebt?(this.balance.patchValue(Math.abs(this.option.value.graceAmount).toFixed(2),{emitEvent:!1}),this.subscriptionBalance=-this.option.value.graceAmount):"cd"===this.surchargeType.toLowerCase()&&this.hasDebt&&(this.balance.patchValue(Math.abs(this.option.value.graceAmountExcludingSurcharge).toFixed(2),{emitEvent:!1}),this.subscriptionBalance=-this.option.value.graceAmountExcludingSurcharge),this.calculateOneTimeCharges(),this.updateTotal()}setPaymentOption(i,e){this.option.setValue(i),this.surchargeType=e,this.option.updateV
1alueAndValidity(),this.updateBalanceBasedOnPaymentMethod(),this.updateTotal()}setTipValue(i){i.accepted?(this.tipAmount.setValue(i.amount&&i.amount>0?i.amount:null),this.tipAmount.setValidators([m.kI.required])):(this.tipAmount.setValue(null),this.tipAmount.setValidators(null)),this.tipAmount.updateValueAndValidity(),i.valid||this.tipAmount.setErrors({invalidTip:!0}),this.updateTotal()}setDonationValue(i){i.accepted?(this.donationAmount.setValue(i.amount&&i.amount>0?i.amount:null),this.donationAmount.setValidators([m.kI.required])):(this.donationAmount.setValue(null),this.donationAmount.setValidators(null)),this.donationAmount.updateValueAndValidity(),i.valid||this.donationAmount.setErrors([{invalidDonation:!0}]),this.calculateOneTimeCharges(),this.updateTotal()}selectCreditCard(){this.selectedMethod=g.I.CreditCard,this.creditCardPaymentMethodId||(this.creditCardPaymentMethodId=null),this.paymentMethodId.setValue(this.creditCardPaymentMethodId),this.paymentMethodId.updateValueAndValidity()}selectBankAccount(){this.selectedMethod=g.I.BankAccount,this.bankAccountPaymentMethodId||(this.bankAccountPaymentMethodId=null),this.paymentMethodId.setValue(this.bankAccountPaymentMethodId),this.paymentMethodId.updateV
1alueAndValidity()}setCreditCard(i,e){this.creditCardInfo=i,this.creditCardPaymentMethodId=e,this.setPaymentMethodId(e),this.selectCreditCard()}setBankAccount(i,e){this.bankAccountInfo=i,this.bankAccountPaymentMethodId=e,this.setPaymentMethodId(e),this.selectBankAccount()}selectWalletPayment(){this.selectedMethod=this.paymentMethodType.value===g.I.PayPal?g.I.PayPal:g.I.ApplePay,this.applePayPaymentMethodId||(this.applePayPaymentMethodId=null),this.paymentMethodId.setValue(this.applePayPaymentMethodId),this.paymentMethodId.updateValueAndValidity()}setWalletPayment(i,e,a){this.creditCardInfo=i,this.creditCardPaymentMethodId=e,this.applePayPaymentMethodId=e,this.paypalNpEmail=a,this.setPaymentMethodId(e),this.selectWalletPayment()}setPaymentMethodId(i){this.paymentMethodId.setValue(i),this.paymentMethodId.updateValueAndValidity()}setSurchargeAmounts(i,e){this.processingFeeAmount.setValue(i),this.processingFeeAmount.updateValueAndValidity(),this.processingFeeTaxAmount.setValue(e),this.processingFeeTaxAmount.updateValueAndValidity(),this.calculateOneTimeCharges()}clearSurchargeAmounts(){this.processingFeeAmount.reset(),this.processingFeeTaxAmount.reset(),this.processingFeeAmount.updateValueAndValidity(),this.processingFeeTaxAmount.updateValueAndValidity(),this.updateTotal()}setTransactionId(i){this.transactionId.setValue(i),this.transactionId.updateValueAndValidity()}updateTotal(){const i=this.option.value;let e=0;i&&(e+="cd"===this.surchargeType.toLowerCase()&&this.isBankAccountSelected?i.amountExcludingSurcharge:i.amount),this.tipAmount.value&&(e+=this.tipAmount.value),this.total.setValue(e.toFixed(2)),this.total.updateValueAndValidity()}calculateOneTimeCharges(){let i=0;this.balance.value&&(i+=this.hasDebt?Math.abs(this.subscriptionBalance):0),this.donationAmount.value&&(i+=this.donationAmount.value),this.processingFeeAmount.value&&(i+=this.processingFeeAmount.value),this.processingFeeTaxAmount.value&&(i+=this.processingFeeTaxAmount.value),this.oneTimeCharges.setValue(i.toFixed(2)),this.oneTimeCharges.updateValueAndValidity()}setCustomValidators(){this.paymentMethodType.valueChanges.subscribe(i=>{switch(i){case g.I.CreditCard:this.selectedMethod=g.I.CreditCard;break;case g.I.BankAccount:this.selectedMethod=g.I.BankAccount,this.clearSurchargeAmounts();break;case g.I.ApplePay:this.selectedMethod=g.I.ApplePay;break;case g.I.GooglePay:this.selectedMethod=g.I.GooglePay;break;case g.I.PayPal:this.selectedMethod=g.I.PayPal}})}}var l,n,A=(()=>{return(n=A||(A={}))[n.SelectOption=0]="SelectOption",n[n.PaymentInfo=1]="PaymentInfo",n[n.Confirmation=2]="Confirmation",A;var n})(),dt=r(8046);(n=l||(l={})).Reset=(0,c.PH)("[AutoPaySignUpWizard] Reset State"),n.GetConfiguration=(0,c.PH)("[AutoPaySignUpWizard] Get Configuration"),n.GetConfigurationSuccess=(0,c.PH)("[AutoPaySignUpWizard] Get Configuration Success",(0,c.Ky)()),n.GetConfigurationFailed=(0,c.PH)("[AutoPaySignUpWizard] Get Configuration Failed",(0,c.Ky)()),n.GetAvailability=(0,c.PH)("[AutoPaySignUpWizard] Get Availability"),n.GetAvailabilitySuccess=(0,c.PH)("[AutoPaySignUpWizard] Get Availability Success"),n.GetAvailabilityFailed=(0,c.PH)("[AutoPaySignUpWizard] Get Availability Failed",(0,c.Ky)()),n.GetPaymentOptions=(0,c.PH)("[AutoPaySignUpWizard] Get Payment Options"),n.GetPaymentOptionsSuccess=(0,c.PH)("[AutoPaySignUpWizard] Get Payment Options Success",(0,c.Ky)()),n.GetPaymentOptionsFailed=(0,c.PH)("[AutoPaySignUpWizard] Get Payment Options Failed",(0,c.Ky)()),n.SubmitSignUp=(0,c.PH)("[AutoPaySignUpWizard] Submit Sign Up",(0,c.Ky)()),n.SubmitSignUpSuccess=(0,c.PH)("[AutoPaySignUpWizard] Submit Sign Up Success",(0,c.Ky)()),n.SubmitSignUpFailed=(0,c.PH)("[AutoPaySignUpWizard] Submit Sign Up Failed",(0,c.Ky)()),n.CalculateProcessingFee=(0,c.PH)("[AutoPaySignUpWizard] Calculate Processing Fee",(0,c.Ky)()),n.CalculateProcessingFeeSuccess=(0,c.PH)("[AutoPaySignUpWizard] Calculate Processing Fee Success",(0,c.Ky)()),n.CalculateProcessingFeeFailed=(0,c.PH)("[AutoPaySignUpWizard] Calculate Processing Fee Failed",(0,c.Ky)());var f,pt=r(69814);!function(n){const i=(0,c.ZF)("autoPaySignUpState");n.getCMSPageData=(0,c.P1)(i,e=>e.cmsData),n.getCMSContents=(0,c.P1)(n.getCMSPageData,e=>e.contents),n.getCMSContentById=(0,pt.B)(n.getCMSContents),n.getLoadingState=(0,c.P1)(i,e=>e.loading),n.getLoadingConfiguration=(0,c.P1)(i,e=>e.loadingConfiguration),n.getProcessing=(0,c.P1)(i,e=>e.processing),n.getSubmitted=(0,c.P1)(i,e=>e.submitted),n.getCalculatingAmounts=(0,c.P1)(i,e=>e.calculatingAmounts),n.getMessages=(0,c.P1)(i,e=>e.messages),n.getConfiguration=(0,c.P1)(i,e=>
1e.configuration),n.getProcessingFeeAmount=(0,c.P1)(i,e=>e.processingFeeAmount),n.getProcessingFeeTaxAmount=(0,c.P1)(i,e=>e.processingFeeTaxAmount),n.getPaymentTypesConfiguration=(0,c.P1)(n.getConfiguration,e=>e?e.paymentTypes:null),n.getTipSectionConfiguration=(0,c.P1)(n.getConfiguration,e=>e?e.tipSection:null),n.getDonationSectionConfiguration=(0,c.P1)(n.getConfiguration,e=>e?e.donationSection:null),n.getLoadingPaymentOptions=(0,c.P1)(i,e=>e.loadingPaymentOptions),n.getPaymentOptions=(0,c.P1)(i,e=>({paymentOptions:e.paymentOptions,surchargeType:e.surchargeType}))}(f||(f={}));let B=(()=>{const i=class extends dt.r{constructor(a,s){super(),this.store=a,this.actions$=s,this.onSubmitSignUpSuccess=new t.vpe,this.onSubmitSignUpFailed=new t.vpe,this.onGetPaymentOptionsFailed=new t.vpe,this.onCalculateProcessingFeeSuccess=new t.vpe,this.onCalculateProcessingFeeFailed=new t.vpe,this.setFacadeActive(),this.configureSelectors(),this.setUpOutputEvents()}getConfiguration(){this.store.dispatch(l.GetConfiguration())}resetState(){this.store.dispatch(l.Reset())}getAvailability(){this.store.dispatch(l.GetAvailability())}getPaymentOptions(){this.store.dispatch(l.GetPaymentOptions())}submit(a){this.store.dispatch(l.SubmitSignUp({payload:a}))}calculateProcessingFee(a){this.store.dispatch(l.CalculateProcessingFee({payload:a}))}configureSelectors(){this.getCMSContent$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getCMSContentById)),this.getCMSContents$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getCMSContents)),this.getLoadingState$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getLoadingState)),this.getLoadingConfiguration$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getLoadingConfiguration)),this.getProcessing$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getProcessing)),this.getLoadingPaymentOptions$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getLoadingPaymentOptions)),this.getPaymentOptions$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getPaymentOptions)),this.getSubmittedState$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getSubmitted)),this.getMessages$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getMessages)),this.cmsData$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getCMSPageData)),this.configuration$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getConfiguration)),this.getTipSectionConfiguration$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getTipSectionConfiguration)),this.getDonationSectionConfiguration$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getDonationSectionConfiguration)),this.getPaymentTypesConfiguration$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getPaymentTypesConfiguration)),this.getCalculatingAmounts$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getCalculatingAmounts)),this.getProcessingFeeAmount$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getProcessingFeeAmount)),this.getProcessingFeeTaxAmount$=this.store.pipe((0,u.o)(()=>this.facadeActive),(0,c.Ys)(f.getProcessingFeeTaxAmount))}setUpOutputEvents(){this.actions$.pipe((0,p.l4)(l.SubmitSignUpSuccess)).pipe((0,u.o)(()=>this.facadeActive)).subscribe(a=>{this.onSubmitSignUpSuccess.emit(a.payload.data)}),this.actions$.pipe((0,p.l4)(l.SubmitSignUpFailed)).pipe((0,u.o)(()=>this.facadeActive)).subscribe(a=>{this.onSubmitSignUpFailed.emit(a)}),this.actions$.pipe((0,p.l4)(l.GetPaymentOptionsFailed)).pipe((0,u.o)(()=>this.facadeActive)).subscribe(a=>{this.onGetPaymentOptionsFailed.emit(a.payload)}),this.actions$.pipe((0,p.l4)(l.GetAvailabilitySuccess)).pipe((0,u.o)(()=>this.facadeActive)).subscribe(a=>{this.onGetAvailabilitySuccess.emit()}),this.actions$.pipe((0,p.l4)(l.GetAvailabilityFailed)).pipe((0,u.o)(()=>this.facadeActive)).subscribe(a=>{this.onGetAvailabilityFailed.emit(a.payload)}),this.actions$.pipe((0,p.l4)(l.GetConfigurationSuccess)).pipe((0,u.o)(()=>this.facadeActive)).subscribe(a=>{this.onGetConfigurationSuccess.emit(a.payload)}),this.actions$.pipe((0,p.l4)(l.GetConfigurationFailed)).pipe((0,u.o)(()=>this.facadeActive)).subscribe(a=>{this.onGetConfigurationFailed.emit(a.payload)}),this.actions$.pipe((0,p.l4)(l.CalculateProcessingFeeSuccess)).pipe((0,u.o)(()=>this.facadeActive)).subscribe(a=>{this.onCalculateProcessingFeeSuccess.emit()}),this.actions$.pipe((0,p.l4)(l.CalculateProcessingFeeFailed)).pipe((0,u.o)(()=>this.facadeActive)).subscribe(a=>{this.onCalculateProcessingFeeFailed.emit()})}};let n=i;
1return i.\u0275fac=function(s){return new(s||i)(t.LFG(c.yh),t.LFG(p.eX))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac}),n})();var q=r(94090),Q=r(36396),Y=r(95787),K=r(28954),H=r(36457),j=r(92663),R=r(56130),X=r(70839);const gt=["wizard"];let mt=(()=>{const i=class extends at.T{get isSubscriptionDigitalOnly(){return this.selectedSubscription.subscriptionType===ot.Q.Digital||"mail"===this.selectedSubscription.deliveryMethod?.toLowerCase()||"online"===this.selectedSubscription.deliveryMethod?.toLowerCase()}constructor(a,s,o,d,h,C,S,F,M){super(),this.facade=a,this.sessionFacade=s,this.notificationService=o,this.navigationService=d,this.modalService=h,this.authFacade=C,this.seoService=S,this.mpanService=F,this.config=M,this.enableCreditCard=!1,this.enableBankAccount=!1,this.iconForCurrency="fa fa-usd",this.billingWidgetShouldBeLoaded=!1,this.bankAccountNames=D.T,this.alreadySubmitted=!1,this.hideBillingWidget=!1,this._billingFormData=new st.X(new k.k(1,g.I.CreditCard)),this.billingFormData$=this._billingFormData.asObservable(),this.componentActive=!0}onPaymentTypeOptionSelect(a){this.form.setPaymentType(a)}onAutoPayOptionSelect(a){this.form.setPaymentOption(a.option,a.surchargeType)}onTipChange(a){this.form.setTipValue(a)}onDonationChange(a){this.form.setDonationValue(a)}onCreditCardSelect(){this.form.selectCreditCard()}onCreditCardEdit(){this.form.setCreditCard(null,null)}onCreditCardSubmitted(a){this.sessionFacade.setCCPaymentMethod(a.paymentMethodId,a.creditCard),this.form.setCreditCard(a.creditCard,a.paymentMethodId),this.form.setTransactionId(a.transactionId),this.form.paypalNpEmail=a.paypalNpEmail||null,this.hideBillingWidget=!0,this.submit()}onCreditCardProcessing(){this.alreadySubmitted=!0}onBankAccountSelect(){this.form.selectBankAccount()}onBankAccountEdit(){this.form.setBankAccount(null,null)}onBankAccountSubmitted(a){this.sessionFacade.setBKPaymentMethod(a.paymentMethodId,a.bankAccount),this.form.setBankAccount(a.bankAccount,a.paymentMethodId),this.hideBillingWidget=!0,this.submit()}onWalletSelect(){this.form.selectWalletPayment()}onWalletSubmitted(a){this.sessionFacade.setCCPaymentMethod(a.paymentMethodId,a.creditCard),this.form.setWalletPayment(a.creditCard,a.paymentMethodId,a.paypalNpEmail),this.hideBillingWidget=!0,this.submit()}goToDashboard(){this.navigationService.navigateTo(O.y.dashboard)}print(){window.print()}submit(){if(!this.form.valid)return;const a=this.form.mapToInputModel();this.facade.submit(a)}canDeactivate(){return new Promise(a=>{this.facade.getSubmittedState$.pipe((0,W.q)(1)).subscribe(s=>{s?a(!0):this.sessionFacade.getBillingSession$.pipe((0,W.q)(1)).subscribe(o=>{if(o.paymentMethodWasCreated)if(this.cmsContents&&0!=this.cmsContents.length){let d=V.qU.GetCMSContentById("PaymentIframe.WarningLabel",this.cmsContents).html,h=V.qU.GetCMSContentById("PaymentIframe.WarningMessage",this.cmsContents).html;a(this.modalService.showConfirm(d,h))}else a(this.modalService.showConfirm("Warning","You have already completed the payment method form. Are you sure you want to leave?"));else a(!0)})})})}initialize(){this.sessionFacade.clearBillingSession(),this.configureSelectors(),this.configureNotifications(),this.subscribeToFacadeEvents(),this.configureForm(),this.configureBillingFormData(),this.facade.getPaymentOptions()}configureSelectors(){this.loading$=this.facade.getLoadingState$.pipe((0,u.o)(()=>this.componentActive)),this.loadingConfiguration$=this.facade.getLoadingConfiguration$.pipe((0,u.o)(()=>this.componentActive)),this.contents$=this.facade.getCMSContent$.pipe((0,u.o)(()=>this.componentActive)),this.processing$=this.facade.getProcessing$.pipe((0,u.o)(()=>this.componentActive)),this.submitted$=this.facade.getSubmittedState$.pipe((0,u.o)(()=>this.componentActive)),this.messages$=this.facade.getMessages$.pipe((0,u.o)(()=>this.componentActive)),this.loadingPaymentOptions$=this.facade.getLoadingPaymentOptions$.pipe((0,u.o)(()=>this.componentActive)),this.paymentOptions$=this.facade.getPaymentOptions$.pipe((0,u.o)(()=>this.componentActive)),this.configuration$=this.facade.configuration$.pipe((0,u.o)(()=>this.componentActive)),this.paymentTypesConfiguration$=this.facade.getPaymentTypesConfiguration$.pipe((0,u.o)(()=>this.componentActive)),this.tipSectionConfiguration$=this.facade.getTipSectionConfiguration$.pipe((0,u.o)(()=>this.componentActive)),this.donationSectionConfiguration$=this.facade.getDonationSectionConfiguration$.pipe((0,u.o)(()=>this.componentActive)),this.calculatingAmounts$=this.facade.getCalculatingAmounts$.pipe((0,u.o)(()=>this.componentActive)),this.processingFeeAmount$=this.facade.getProcessingFeeAmount$.pipe((0,u.o)(()=>this.componentActive)),this.processingFeeTaxAmount$=this.facade.getProcessingFeeTaxAmount$.pipe((0,u.o)(()=>this.componentActive)),this.facade.getCMSContents$.subscribe(a=>{a&&a.length>0&&(this.updateTitleAndDescription(a),this.cmsContents=a)}),this.billingWidgetConfiguration=this.config.getBillingWidgetConfiguration()}configureNotifications(){this.messages$.pipe((0,u.o)(()=>this.componentActive)).subscribe(a=>{this.notificationService.showMessages(a)})}createLinkForCanonicalURL(){this.seoService.createLinkForCanonicalURL()}updateTitleAndDescription(a){var s=a.find(C=>"pagetitle"==C.id.toLowerCase()),o=a.find(C=>"pagedescription"==C.id.toLowerCase());if(s&&o){var d=s.html,h=o.html;this.createLinkForCanonicalURL(),this.seoService.updateTitle(d),this.seoService.updateMetaTags(h)}}
1configureForm(){this.form=new ut(this.selectedSubscription.billingInfo.currentBalance,this.mpanService)}subscribeToFacadeEvents(){this.facade.onGetPaymentOptionsFailed.pipe((0,u.o)(()=>this.componentActive)).subscribe(()=>{this.navigationService.navigate(O.y.dashboard)}),this.facade.onCalculateProcessingFeeFailed.pipe((0,u.o)(()=>this.componentActive)).subscribe(()=>{this.goToStep(A.SelectOption)}),this.facade.onCalculateProcessingFeeSuccess.pipe((0,u.o)(()=>this.componentActive)).subscribe(()=>{(0,E.a)([this.processingFeeAmount$,this.processingFeeTaxAmount$]).pipe((0,W.q)(1)).subscribe(([a,s])=>{this.form.setSurchargeAmounts(a,s)})}),this.facade.onSubmitSignUpFailed.pipe((0,u.o)(()=>this.componentActive)).subscribe(a=>{null!=a.payload&&a.payload.length>0&&a.payload.find(o=>"Billing163"==o.code||"Subscriptions229"==o.code)&&this.authFacade.logoutClick(),this.hideBillingWidget=!1}),this.facade.onSubmitSignUpSuccess.pipe((0,u.o)(()=>this.componentActive)).subscribe(()=>{this.goToStep(A.Confirmation),this.hideBillingWidget=!1})}
1paymentInfoStepEnter(a){if(this.form.isCreditCardSelected&&this.form.oneTimeCharges.value&&this.form.oneTimeCharges.value>0&&"pf"==this.form.surchargeType.toLowerCase()){let s=this.form.mapToProcessingFeeInputModel();this.facade.calculateProcessingFee(s)}this.billingWidgetShouldBeLoaded=!0}paymentInfoStepExit(a){this.billingWidgetShouldBeLoaded=!1}goToStep(a){switch(a){case A.SelectOption:this.wizard.goToStep(a);break;case A.PaymentInfo:this.wizard.getStepAtIndex(A.SelectOption).completed=!0,this.wizard.goToStep(a);break;case A.Confirmation:this.wizard.getStepAtIndex(A.SelectOption).completed=!0,this.wizard.getStepAtIndex(A.PaymentInfo).completed=!0,this.wizard.goToStep(a)}}configureBillingFormData(){(0,E.a)([this.form.oneTimeCharges.valueChanges,this.form.paymentMethodType.valueChanges,this.form.option.valueChanges]).pipe((0,u.o)(()=>this.componentActive)).subscribe(([a,s,o])=>{const d=s===g.I.ApplePay&&o?o.term:void 0,h=s===g.I.ApplePay&&o?o.length:void 0,C=s===g.I.ApplePay&&o?"cd"===this.form.surchargeType.toLowerCase()&&this.form.isBankAccountSelected?o.amountExcludingSurcharge:o.amount:void 0;this._billingFormData.next(new k.k(0!=a||s===g.I.ApplePay||s===g.I.GooglePay?a:1,s,d,h,C,s===g.I.ApplePay&&this.billingWidgetConfiguration?.applePayMpan?.recurringPaymentInfo?this.billingWidgetConfiguration.applePayMpan.recurringPaymentInfo:void 0,s===g.I.ApplePay&&this.billingWidgetConfiguration?.applePayMpan?.billingAgreement?this.billingWidgetConfiguration.applePayMpan.billingAgreement:void 0,s===g.I.ApplePay&&this.billingWidgetConfiguration?.applePayMpan?.paymentDescriptor?this.billingWidgetConfiguration.applePayMpan.paymentDescriptor:void 0))})}};let n=i;return i.\u0275fac=function(s){return new(s||i)(t.Y36(B),t.Y36(q.j),t.Y36(Q.g),t.Y36(Y.f),t.Y36(K.Z),t.Y36(H.j),t.Y36(j.v),t.Y36(R.u),t.Y36(X.V))},i.\u0275cmp=t.Xpm({type:i,selectors:[["ng-component"]],viewQuery:function(s,o){if(1&s&&t.Gf(gt,7),2&s){let d;t.iGM(d=t.CRH())&&(o.wizard=d.first)}},features:[t.qOj],decls:0,vars:0,template:function(s,o){},encapsulation:2}),n})();var ht=r(74491),ft=r(99974),Ct=r(45863),At=r(46652),yt=r(28064),vt=r(33712),tt=r(45475),St=r(32624),x=r(79189),Tt=r(37346),Pt=r(14518),xt=r(45298),Zt=r(5938),bt=r(99432),Ft=r(43930);function Mt(n,i){if(1&n&&(t._UZ(0,"span",18),t.ALo(1,"async")),2&n){const e=t.oxw();t.Q6J("CMSContent",t.lcZ(1,1,e.contents$)("SelectOptionStep.Hint"))}}function It(n,i){if(1&n&&(t.TgZ(0,"div",42),t._UZ(1,"input-number",43),t.ALo(2,"async"),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("prepend-icon",e.iconForCurrency)("label",t.lcZ(2,3,e.contents$)("AutoPaySignUp.Balance"))("control",e.form.balance)}}function Ut(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"div",29)(1,"div",14)(2,"tip-option",15),t.NdJ("onChange",function(s){t.CHM(e);const o=t.oxw();return t.KtG(o.onTipChange(s))}),t.ALo(3,"async"),t.qZA()()()}if(2&n){const e=t.oxw();t.xp6(2),t.Q6J("configuration",t.lcZ(3,2,e.tipSectionConfiguration$))("contents",e.contents$)}}function _t(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"div",44)(1,"payment-type-options",45),t.NdJ("onSelect",function(s){t.CHM(e);const o=t.oxw();return t.KtG(o.onPaymentTypeOptionSelect(s))}),t.ALo(2,"async"),t.qZA()()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("contents",e.contents$)("types",t.lcZ(2,2,e.paymentTypesConfiguration$))}}function $t(n,i){if(1&n&&(t._UZ(0,"span",18),t.ALo(1,"async")),2&n){const e=t.oxw();t.Q6J("CMSContent",t.lcZ(1,1,e.contents$)("PaymentInfoStep.Hint"))}}function Lt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw();
1t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("Tip.LabelText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.tipAmount.value)," ")}}function wt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("Donation.LabelText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.donationAmount.value)," ")}}function Wt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.AmountText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.option.value.amountExcludingSurcharge)," ")}}function Ot(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.AmountText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.option.value.amount)," ")}}function Bt(n,i){if(1&n&&t.YNc(0,Ot,6,6,"div",24),2&n){const e=t.oxw();t.Q6J("ngIf",e.form.option.value)}}function Jt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.qZA()),2&n){const e=t.oxw();
1t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.TermText")),t.xp6(2),t.hij(" ",e.form.option.value.description," ")}}function zt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("ProcessingFeeAmount.LabelText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.processingFeeAmount.value)," ")}}function Gt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("ProcessingFeeTaxAmount.LabelText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.processingFeeTaxAmount.value)," ")}}function Qt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.BalanceText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.balance.value)," ")}}function Yt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw();
1t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.TotalAmountText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.total.value)," ")}}function Nt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.OneTimeChargesText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.oneTimeCharges.value)," ")}}function Dt(n,i){if(1&n&&(t.TgZ(0,"div",28),t._UZ(1,"div",18),t.ALo(2,"async"),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("CMSContent",t.lcZ(2,1,e.contents$)("ProcessingFee.OneTime.Message"))}}function Et(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"div",3)(1,"section",47)(2,"billing-widget",48),t.NdJ("onCCSelect",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.onCreditCardSelect())})("onCCEdit",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.onCreditCardEdit())})("onCCSubmitted",function(s){t.CHM(e);const o=t.oxw();return t.KtG(o.onCreditCardSubmitted(s))})("onCCProcessing",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.onCreditCardProcessing())})("onBKSelect",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.onBankAccountSelect())})("onBKEdit",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.onBankAccountEdit())})("onBKSubmitted",function(s){t.CHM(e);const o=t.oxw();return t.KtG(o.onBankAccountSubmitted(s))})("onWalletSelect",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.onWalletSelect())})("onWalletSubmitted",function(s){t.CHM(e);const o=t.oxw();return t.KtG(o.onWalletSubmitted(s))}),t.qZA()()()}if(2&n){const e=t.oxw();
1t.xp6(2),t.Q6J("contents",e.contents$)("data",e.billingFormData$)("paymentMethodType",e.form.paymentMethodType.value)}}function Vt(n,i){if(1&n&&(t._UZ(0,"span",18),t.ALo(1,"async")),2&n){const e=t.oxw();t.Q6J("CMSContent",t.lcZ(1,1,e.contents$)("ConfirmStep.Hint"))}}function kt(n,i){if(1&n&&(t.TgZ(0,"div",37)(1,"div",3)(2,"dl",49)(3,"div",46)(4,"dt"),t._UZ(5,"span",18),t.ALo(6,"async"),t.qZA(),t.TgZ(7,"dd"),t._uU(8),t.qZA()(),t.TgZ(9,"div",46)(10,"dt"),t._UZ(11,"span",18),t.ALo(12,"async"),t.qZA(),t.TgZ(13,"dd"),t._uU(14),t.qZA()(),t.TgZ(15,"div",46)(16,"dt"),t._UZ(17,"span",18),t.ALo(18,"async"),t.qZA(),t.TgZ(19,"dd"),t._uU(20),t.qZA()(),t.TgZ(21,"div",46)(22,"dt"),t._UZ(23,"span",18),t.ALo(24,"async"),t.qZA(),t.TgZ(25,"dd"),t._uU(26),t.qZA()()()()()),2&n){const e=t.oxw();t.xp6(5),t.Q6J("CMSContent",t.lcZ(6,9,e.contents$)("CreditCard.NameLabelText")),t.xp6(3),t.Oqu(e.form.creditCardInfo.ccName),t.xp6(3),t.Q6J("CMSContent",t.lcZ(12,11,e.contents$)("CreditCard.NumberLabelText")),t.xp6(3),t.Oqu(e.form.creditCardInfo.maskedNumber),t.xp6(3),t.Q6J("CMSContent",t.lcZ(18,13,e.contents$)("CreditCard.TypeLabelText")),t.xp6(3),t.Oqu(e.form.creditCardInfo.type),t.xp6(3),t.Q6J("CMSContent",t.lcZ(24,15,e.contents$)("CreditCard.ExpirationLabelText")),t.xp6(3),t.AsE(" ",e.form.creditCardInfo.expMonth,"/",e.form.creditCardInfo.expYear,"")}}function qt(n,i){if(1&n&&(t.TgZ(0,"div",37)(1,"div",3)(2,"dl",49)(3,"div",46)(4,"dt"),t._UZ(5,"span",18),t.ALo(6,"async"),t.qZA(),t.TgZ(7,"dd"),t._uU(8),t.qZA()(),t.TgZ(9,"div",46)(10,"dt"),t._UZ(11,"span",18),t.ALo(12,"async"),t.qZA(),t.TgZ(13,"dd"),t._uU(14),t.qZA()(),t.TgZ(15,"div",46)(16,"dt"),t._UZ(17,"span",18),t.ALo(18,"async"),t.qZA(),t.TgZ(19,"dd"),t._uU(20),t.qZA()(),t.TgZ(21,"div",46)(22,"dt"),t._UZ(23,"span",18),t.ALo(24,"async"),t.qZA(),t.TgZ(25,"dd"),t._uU(26),t.qZA()(),t.TgZ(27,"div",46)(28,"dt"),t._UZ(29,"span",18),t.ALo(30,"async"),t.qZA(),t.TgZ(31,"dd"),t._uU(32),t.qZA()()()()()),2&n){const e=t.oxw();
1t.xp6(5),t.Q6J("CMSContent",t.lcZ(6,10,e.contents$)("BankAccount.InstitutionLabelText")),t.xp6(3),t.hij(" ",e.form.bankAccountInfo.bankName||"-",""),t.xp6(3),t.Q6J("CMSContent",t.lcZ(12,12,e.contents$)("BankAccount.BankAccountHolderNameLabelText")),t.xp6(3),t.hij(" ",e.form.bankAccountInfo.bankAccountHolderName||"-",""),t.xp6(3),t.Q6J("CMSContent",t.lcZ(18,14,e.contents$)("BankAccount.AccountNumberLabelText")),t.xp6(3),t.hij(" ",e.form.bankAccountInfo.accountNumber,""),t.xp6(3),t.Q6J("CMSContent",t.lcZ(24,16,e.contents$)("BankAccount.RoutingNumberLabelText")),t.xp6(3),t.Oqu(e.form.bankAccountInfo.routingNumber),t.xp6(3),t.Q6J("CMSContent",t.lcZ(30,18,e.contents$)("BankAccount.AccountTypeLabelText")),t.xp6(3),t.hij(" ",e.bankAccountNames[e.form.bankAccountInfo.accountType],"")}}function Kt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"dt"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"dd"),t._uU(5),t.ALo(6,"multicurrency"),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("Tip.LabelText")),t.xp6(3),t.Oqu(t.lcZ(6,4,e.form.tipAmount.value))}}function Ht(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"dt"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"dd"),t._uU(5),t.ALo(6,"multicurrency"),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("Donation.LabelText")),t.xp6(3),t.Oqu(t.lcZ(6,4,e.form.donationAmount.value))}}function jt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"dt"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"dd"),t._uU(5),t.ALo(6,"multicurrency"),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.BalanceText")),t.xp6(3),t.Oqu(t.lcZ(6,4,e.form.balance.value))}}function Rt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"strong"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t._uU(4),t.ALo(5,"multicurrency"),t.qZA()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.AmountText")),t.xp6(2),t.hij(" ",t.lcZ(5,4,e.form.option.value.amountExcludingSurcharge)," ")}}function Xt(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"dt"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"dd"),t._uU(5),t.ALo(6,"multicurrency"),t.qZA()()),2&n){const e=t.oxw(3);t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.AmountText")),t.xp6(3),t.Oqu(t.lcZ(6,4,e.form.option.value.amount))}}function te(n,i){if(1&n&&t.YNc(0,Xt,7,6,"div",24),2&n){const e=t.oxw(2);t.Q6J("ngIf",e.form.option.value)}}function ee(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"dt"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"dd"),t._uU(5),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.TermText")),t.xp6(3),t.Oqu(e.form.option.value.description)}}function ne(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"dt"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"dd"),t._uU(5),t.ALo(6,"multicurrency"),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("ProcessingFeeAmount.LabelText")),t.xp6(3),t.Oqu(t.lcZ(6,4,e.form.processingFeeAmount.value))}}function ie(n,i){if(1&n&&(t.TgZ(0,"div",46)(1,"dt"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"dd"),t._uU(5),t.ALo(6,"multicurrency"),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("ProcessingFeeTaxAmount.LabelText")),t.xp6(3),t.Oqu(t.lcZ(6,4,e.form.processingFeeTaxAmount.value))}}function oe(n,i){if(1&n&&(t.TgZ(0,"dl",49),t.YNc(1,Kt,7,6,"div",24),t.YNc(2,Ht,7,6,"div",24),t.YNc(3,jt,7,6,"div",24),t.YNc(4,Rt,6,6,"div",25),t.YNc(5,te,1,1,"ng-template",null,26,t.W1O),t.YNc(7,ee,6,4,"div",24),t.YNc(8,ne,7,6,"div",24),t.YNc(9,ie,7,6,"div",24),t.qZA()),2&n){const e=t.MAs(6),a=t.oxw();t.xp6(1),t.Q6J("ngIf",a.form.tipAmount.value),t.xp6(1),t.Q6J("ngIf",a.form.donationAmount.value),t.xp6(1),t.Q6J("ngIf",a.form.hasDebt),t.xp6(1),t.Q6J("ngIf",a.form.option.value&&a.form.isBankAccountSelected&&"cd"===(null==a.form.surchargeType?null:a.form.surchargeType.toLowerCase()))("ngIfElse",e),t.xp6(3),t.Q6J("ngIf",a.form.option.value),t.xp6(1),t.Q6J("ngIf",a.form.isCreditCardSelected&&a.form.processingFeeAmount.value&&a.form.processingFeeAmount.value>0),t.xp6(1),t.Q6J("ngIf",a.form.isCreditCardSelected&&a.form.processingFeeTaxAmount.value&&a.form.processingFeeTaxAmount.value>0)}}
1function ae(n,i){if(1&n&&(t.TgZ(0,"dl",50)(1,"dt"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"dd"),t._uU(5),t.ALo(6,"multicurrency"),t.qZA()()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.TotalAmountText")),t.xp6(3),t.Oqu(t.lcZ(6,4,e.form.total.value))}}function se(n,i){if(1&n&&(t.TgZ(0,"dl",50)(1,"dt"),t._UZ(2,"span",18),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"dd"),t._uU(5),t.ALo(6,"multicurrency"),t.qZA()()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("CMSContent",t.lcZ(3,2,e.contents$)("AutoPayOption.OneTimeChargesText")),t.xp6(3),t.Oqu(t.lcZ(6,4,e.form.oneTimeCharges.value))}}let et=(()=>{const i=class extends mt{constructor(a,s,o,d,h,C,S,F,M){super(a,s,o,d,h,C,S,F,M),this.facade=a,this.sessionFacade=s,this.notificationService=o,this.navigationService=d,this.modalService=h,this.authFacade=C,this.seoService=S,this.mpanService=F,this.config=M,this.bankAccountNames=D.T}ngOnInit(){this.sessionFacade.getSelectedSubscription$.pipe((0,W.q)(1)).subscribe(a=>{a&&(this.selectedSubscription=a)}),this.initialize()}ngOnDestroy(){this.componentActive=!1,this.facade.setFacadeInactive()}};let n=i;return i.\u0275fac=function(s){return new(s||i)(t.Y36(B),t.Y36(q.j),t.Y36(Q.g),t.Y36(Y.f),t.Y36(K.Z),t.Y36(H.j),t.Y36(j.v),t.Y36(R.u),t.Y36(X.V))},i.\u0275cmp=t.Xpm({type:i,selectors:[["ng-component"]],features:[t.qOj],decls:98,vars:88,consts:[[3,"loading"],["is","12","page-title","",1,"ml-3","mr-3",3,"CMSContent"],["is","12","page-sub-title","",1,"ml-3","mr-3",3,"CMSContent"],["is","12"],["no-gutters","",3,"formGroup"],["disableNavigationBar","true","navigateBackward","allow","navigateForward","allow",1,"custom-global-css","hide-navigation",3,"awNavigationMode"],["wizard",""],["awWizardStepTitle",""],["is","12",3,"CMSContent"],["is","12",1,"mt-3"],[3,"loading","options","contents","onSelect"],["is","12","desktop-is","6","class","mt-3",4,"ngIf"],["is","12","wrap","","class","mt-3","no-gutters","",4,"ngIf"],["is","12","wrap","","no-gutters",""],["is","12","desktop-is","6"],[3,"configuration","contents","onChange"],["is","12","no-gutters","",4,"ngIf"],["formControlName","termsAndConditions",3,"label","control"],[3,"CMSContent"],["is","12","flex","","no-gutters","",1,"mt-3"],["is","12","desktop-is","3"],["primary","","block","","awNextStep","",3,"disabled","CMSContent"],[3,"stepEnter","stepExit"],["is","12","desktop-is","6","no-gutters","",1,"summary-section"],["is","12","row","","between","","wrap","",4,"ngIf"],["is","12","row","","between","","wrap","",4,"ngIf","ngIfElse"],["showAmount",""],["is","12","wrap","","no-gutters","","desktop-is","12","class","mt-3",4,"ngIf"],["is","12","wrap","","no-gutters","","desktop-is","12",1,"mt-3"],["is","12","wrap","","no-gutters","",1,"mt-3"],["is","12",4,"ngIf"],[3,"hidden"],["wrap","","no-gutters",""],["is","12","wrap",""],["is","12","desktop-is","3",1,"mt-3"],["outline","","secondary","","block","","awPreviousStep","",3,"disabled","CMSContent"],["is","12","desktop-is","6","wrap","","no-gutters","",4,"ngIf"],["is","12","desktop-is","6","wrap","","no-gutters",""],["flex","","column","","wrap","","no-gutters","",4,"ngIf"],["flex","","row","","between","","wrap","",4,"ngIf"],["primary","","block","",3,"text","click"],["link","","primary","","block","",3,"text","click"],["is","12","desktop-is","6",1,"mt-3"],["formControlName","balance","placeholder","0.00",3,"prepend-icon","label","control"],["is","12","no-gutters",""],[3,"contents","types","onSelect"],["is","12","row","","between","","wrap",""],["no-gutters","",1,"billing-widget-container"],["no-gutters","",3,"contents","data","paymentMethodType","onCCSelect","onCCEdit","onCCSubmitted","onCCProcessing","onBKSelect","onBKEdit","onBKSubmitted","onWalletSelect","onWalletSubmitted"],["flex","","column","","wrap","","no-gutters",""],["flex","","row","","between","","wrap",""]],template:function(s,o){if(1&s&&(t.TgZ(0,"page",0),t.ALo(1,"async"),t.ALo(2,"async"),t._UZ(3,"section",1),t.ALo(4,"async"),t._UZ(5,"section",2),t.ALo(6,"async"),t.TgZ(7,"section",3)(8,"form",4)(9,"aw-wizard",5,6)(11,"aw-wizard-step"),t.YNc(12,Mt,2,3,"ng-template",7),t.TgZ(13,"div",3),t._UZ(14,"div",8),t.ALo(15,"async"),t._UZ(16,"div",8),t.ALo(17,"async"),t.qZA(),t.TgZ(18,"div",9)(19,"div",3)(20,"div",3)(21,"autopay-options",10),t.NdJ("onSelect",function(h){return o.onAutoPayOptionSelect(h)}),t.ALo(22,"async"),t.ALo(23,"async"),t.qZA()()(),t.YNc(24,It,3,5,"div",11),t.YNc(25,Ut,4,4,"div",12),t.TgZ(26,"div",13)(27,"div",14)(28,"donation-option",15),t.NdJ("onChange",function(h){return o.onDonationChange(h)}),t.ALo(29,"async"),t.qZA()()(),t.YNc(30,_t,3,4,"div",16),t.ALo(31,"async"),t.TgZ(32,"div",3),t._UZ(33,"input-check",17),t.ALo(34,"async"),t.qZA(),t.TgZ(35,"div",3),t._UZ(36,"div",18),t.ALo(37,"async"),t.qZA(),t.TgZ(38,"div",19)(39,"div",20),t._UZ(40,"button",21),t.ALo(41,"async"),t.qZA()()()(),t.TgZ(42,"aw-wizard-step",22),t.NdJ("stepEnter",function(h){return o.paymentInfoStepEnter(h)})("stepExit",function(h){return o.paymentInfoStepExit(h)}),t.YNc(43,$t,2,3,"ng-template",7),t.TgZ(44,"div",3),t._UZ(45,"div",8),t.ALo(46,"async"),t._UZ(47,"div",8),t.ALo(48,"async"),t.qZA(),t.TgZ(49,"div",9)(50,"div",23),t.YNc(51,Lt,6,6,"div",24),t.YNc(52,wt,6,6,"div",24),t.YNc(53,Wt,6,6,"div",25),t.YNc(54,Bt,1,1,"ng-template",null,26,t.W1O),t.YNc(56,Jt,5,4,"div",24),t.YNc(57,zt,6,6,"div",24),t.YNc(58,Gt,6,6,"div",24),t.YNc(59,Qt,6,6,"div",24),t.YNc(60,Yt,6,6,"div",24),t.YNc(61,Nt,6,6,"div",24),t.qZA(),t.YNc(62,Dt,3,3,"div",27),t.TgZ(63,"div",28),t._UZ(64,"div",18),t.ALo(65,"async"),t.qZA(),t.TgZ(66,"div",29),t.YNc(67,Et,3,3,"div",30),t.qZA(),t._UZ(68,"loader",31),t.TgZ(69,"div",32)(70,"div",33)(71,"div",34),t._UZ(72,"button",35),t.ALo(73,"async"),t.qZA()()()()(),t.TgZ(74,"aw-wizard-completion-step"),t.YNc(75,Vt,2,3,"ng-template",7),t.TgZ(76,"div",3),t._UZ(77,"div",8),t.ALo(78,"async"),t._UZ(79,"div",8),t.ALo(80,"async"),t.qZA(),t.TgZ(81,"div",9),t.YNc(82,kt,27,17,"div",36),t.YNc(83,qt,33,20,"div",36),t.TgZ(84,"div",37)(85,"div",3),t.YNc(86,oe,10,8,"dl",38),t._UZ(87,"hr"),t.YNc(88,ae,7,6,"dl",39),t.YNc(89,se,7,6,"dl",39),t.qZA()(),t.TgZ(90,"div",32)(91,"div",33)(92,"div",34)(93,"button",40),t.NdJ("click",function(){return o.print()}),t.ALo(94,"async"),t.qZA()(),t.TgZ(95,"div",34)(96,"button",41),t.NdJ("click",function(){return o.goToDashboard()}),t.ALo(97,"async"),t.qZA()()()()()()()()()()),2&s){const d=t.MAs(55);t.Q6J("loading",t.lcZ(1,46,o.loadingConfiguration$)||t.lcZ(2,48,o.loading$)),t.xp6(3),t.Q6J("CMSContent",t.lcZ(4,50,o.contents$)("Title")),t.xp6(2),t.Q6J("CMSContent",t.lcZ(6,52,o.contents$)("Description")),t.xp6(3),t.Q6J("formGroup",o.form),t.xp6(6),t.Q6J("CMSContent",t.lcZ(1
15,54,o.contents$)("SelectOptionStep.Title")),t.xp6(2),t.Q6J("CMSContent",t.lcZ(17,56,o.contents$)("SelectOptionStep.Description")),t.xp6(5),t.Q6J("loading",t.lcZ(22,58,o.loadingPaymentOptions$))("options",t.lcZ(23,60,o.paymentOptions$))("contents",o.contents$),t.xp6(3),t.Q6J("ngIf",o.form.hasDebt),t.xp6(1),t.Q6J("ngIf",!o.isSubscriptionDigitalOnly),t.xp6(3),t.Q6J("configuration",t.lcZ(29,62,o.donationSectionConfiguration$))("contents",o.contents$),t.xp6(2),t.Q6J("ngIf",t.lcZ(31,64,o.paymentTypesConfiguration$)),t.xp6(3),t.Q6J("label",t.lcZ(34,66,o.contents$)("TermsAndConditionsLabelText"))("control",o.form.termsAndConditions),t.xp6(3),t.Q6J("CMSContent",t.lcZ(37,68,o.contents$)("TermsAndConditions")),t.xp6(4),t.Q6J("disabled",!o.form.valid)("CMSContent",t.lcZ(41,70,o.contents$)("Step.Next")),t.xp6(5),t.Q6J("CMSContent",t.lcZ(46,72,o.contents$)("PaymentInfoStep.Title")),t.xp6(2),t.Q6J("CMSContent",t.lcZ(48,74,o.contents$)("PaymentInfoStep.Description")),t.xp6(4),t.Q6J("ngIf",o.form.tipAmount.value),t.xp6(1),t.Q6J("ngIf",o.form.donationAmount.value),t.xp6(1),t.Q6J("ngIf",o.form.option.value&&o.form.isBankAccountSelected&&"cd"===(null==o.form.surchargeType?null:o.form.surchargeType.toLowerCase()))("ngIfElse",d),t.xp6(3),t.Q6J("ngIf",o.form.option.value),t.xp6(1),t.Q6J("ngIf",o.form.isCreditCardSelected&&o.form.processingFeeAmount.value&&o.form.processingFeeAmount.value>0),t.xp6(1),t.Q6J("ngIf",o.form.isCreditCardSelected&&o.form.processingFeeTaxAmount.value&&o.form.processingFeeTaxAmount.value>0),t.xp6(1),t.Q6J("ngIf",o.form.hasDebt),t.xp6(1),t.Q6J("ngIf",o.form.total.value&&o.form.total.value>0),t.xp6(1),t.Q6J("ngIf",o.form.oneTimeCharges.value&&o.form.oneTimeCharges.value>0),t.xp6(1),t.Q6J("ngIf",o.form.showOneTimeProcessingFeeMessage),t.xp6(2),t.Q6J("CMSContent",t.lcZ(65,76,o.contents$)("ProcessingFee.Recurring.Message")),t.xp6(3),t.Q6J("ngIf",o.billingWidgetShouldBeLoaded&&!o.hideBillingWidget),t.xp6(1),t.Q6J("hidden",!o.hideBillingWidget),t.xp6(4),t.Q6J("disabled",o.alreadySubmitted)("CMSContent",t.lcZ(73,78,o.contents$)("Step.Back")),t.xp6(5),t.Q6J("CMSContent",t.lcZ(78,80,o.contents$)("ConfirmStep.Title")),t.xp6(2),t.Q6J("CMSContent",t.lcZ(80,82,o.contents$)("ConfirmStep.Description")),t.xp6(3),t.Q6J("ngIf",o.form.isCreditCardSelected&&o.form.creditCardInfo),t.xp6(1),t.Q6J("ngIf",o.form.isBankAccountSelected&&o.form.bankAccountInfo),t.xp6(3),t.Q6J("ngIf",o.form.option.value),t.xp6(2),t.Q6J("ngIf",o.form.total&&o.form.total.value>0),t.xp6(1),t.Q6J("ngIf",o.form.oneTimeCharges&&o.form.oneTimeCharges.value>0),t.xp6(4),t.Q6J("text",t.lcZ(94,84,o.contents$)("AutoPayOption.ButtonPrint")),t.xp6(3),t.Q6J("text",t.lcZ(97,86,o.contents$)("AutoPayOption.ButtonGoDashboard"))}},dependencies:[y.O5,ht.R,ft.I,Ct.r,At.l,yt.Q,vt.U,tt.Ow,tt.tQ,St.H,x.Pl,x.GZ,x.t3,x.j,x.ei,x.H8,x.UX,m._Y,m.JJ,m.JL,m.sg,m.u,Tt.r,Pt.Y,xt.c,Zt.V,bt.X,y.Ov,Ft.y],styles:["[_nghost-%COMP%]{width:100%}"]}),n})();var N,_=r(50834);!function(n){const e=(0,c.Lq)({loading:!1,loadingConfiguration:!1,loadingPaymentOptions:!1,processing:!1,submitted:!1,calculatingAmounts:!1,processingFeeAmount:0,processingFeeTaxAmount:0,enableBankAccount:!0,enableCreditCard:!0,messages:[],surchargeType:"",paymentOptions:[],configuration:null,cmsData:null},(0,c.on)(l.Reset,(s,o)=>({...s,loading:!1,processing:!1,messages:[]})),(0,c.on)(l.GetConfiguration,(s,o)=>({...s,loadingConfiguration:!0})),(0,c.on)(l.GetConfigurationSuccess,(s,o)=>({...s,loadingConfiguration:!1,configuration:{...s.configuration,...o.payload.configuration},cmsData:{...s.cmsData,...o.payload.cmsPageData}})),(0,c.on)(l.GetConfigurationFailed,(s,o)=>({...s,loadingConfiguration:!1,available:!1,messages:o.payload})),(0,c.on)(l.GetAvailability,(s,o)=>({...s,loading:!0})),(0,c.on)(l.GetAvailabilitySuccess,(s,o)=>({...s,loading:!1})),(0,c.on)(l.GetAvailabilityFailed,(s,o)=>({...s,loading:!1,messages:_.P.replaceText(o.payload,s.cmsData.notifications)})),(0,c.on)(l.GetPaymentOptions,(s,o)=>({...s,loadingPaymentOptions:!0})),(0,c.on)(l.GetPaymentOptionsSuccess,(s,o)=>({...s,loadingPaymentOptions:!1,paymentOptions:o.payload.options,surchargeType:o.payload.surchargeType})),(0,c.on)(l.GetPaymentOptionsFailed,(s,o)=>({...s,loadingPaymentOptions:!1,messages:_.P.replaceText(o.payload,s.cmsData.notifications)})),(0,c.on)(l.SubmitSignUp,(s,o)=>({...s,processing:!0})),(0,c.on)(l.SubmitSignUpSuccess,(s,o)=>({...s,processing:!1,submitted:!0,messages:_.P.replaceText(o.payload.messages,s.cmsData.notifications)})),(0,c.on)(l.SubmitSignUpFailed,(s,o)=>({...s,processing:!1,messages:_.P.replaceText(o.payload,s.cmsData.notifications)})),(0,c.on)(l.CalculateProcessingFee,(s,o)=>({...s,calculatingAmounts:!0})),(0,c.on)(l.CalculateProcessingFeeSuccess,(s,o)=>({...s,calculatingAmounts:!1,processingFeeAmount:o.payload?o.payload.processingFeeAmount:0,processingFeeTaxAmount:o.payload?o.payload.processingFeeTaxAmount:0})),(0,c.on)(l.CalculateProcessingFeeFailed,(s,o)=>({...s,calculatingAmounts:!1,messages:_.P.replaceText(o.payload,s.cmsData.notifications)})));n.reducer=function a(s,o){return e(s,o)}}(N||(N={}));var $=r(30235),ce=r(94692),re=r(87478);let nt=(()=>{const i=class extends re.b{getConfiguration(){return this.executeGet(`${$.W.Application.Configuration}/${ce.J.AutoPaySignUp}`)}getAvailaibility(){return this.executeGet($.W.AutoPay.GetAvailability)}calculateProcessingFee(a){return this.executePost($.W.Billing.CalculateProcessingFee,a)}getPaymentOptions(){return this.executeGet($.W.AutoPay.GetPaymentOptions)}submitSignUp(a){return this.executePost(`${$.W.AutoPay.SubmitSignUp}`,a)}};let n=i;return i.\u0275fac=function(){let a;return function(o){return(a||(a=t.n5z(i)))(o||i)}}(),i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac}),n})();var le=r(15861),ue=r(47667),Z=r(39646);let it=(()=>{const i=class extends ue.g{constructor(a,s,o){super(a),this.facade=a,this.navigationService=s,this.notificationService=o}resolve(a){var s=this;return new Promise(function(){var o=(0,le.Z)(function*(d,h){s.resolveConfiguration(a).then(C=>{s.resolveAvailability(a).then(()=>{d(!0)}).catch(S=>{s.notificationService.showMessages(S,(0,Z.of)(C?.cmsPageData?.notifications)),s.navigationService.navigate(O.y.dashboard),d(!1)})}).catch(()=>{s.navigationService.navigate(O.y.error500),d(!1)})});return function(d,h){return o.apply(this,arguments)}}())}};let n=i;
1return i.\u0275fac=function(s){return new(s||i)(t.LFG(B),t.LFG(Y.f),t.LFG(Q.g))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac}),n})();var de=r(35279),L=r(63900),b=r(54004),w=r(70262);let pe=(()=>{const i=class{constructor(a,s){this.autopaySignUpService=a,this.actions$=s,this.getConfiguration$=(0,p.GW)(()=>this.actions$.pipe((0,p.l4)(l.GetConfiguration),(0,L.w)(o=>this.autopaySignUpService.getConfiguration().pipe((0,b.U)(d=>l.GetConfigurationSuccess({payload:d.data})),(0,w.K)(d=>(0,Z.of)(l.GetConfigurationFailed({payload:d.error.messages}))))))),this.getAvailability$=(0,p.GW)(()=>this.actions$.pipe((0,p.l4)(l.GetAvailability),(0,L.w)(o=>this.autopaySignUpService.getAvailaibility().pipe((0,b.U)(d=>l.GetAvailabilitySuccess()),(0,w.K)(d=>(0,Z.of)(l.GetAvailabilityFailed({payload:d.error.messages}))))))),this.getPaymentOptions$=(0,p.GW)(()=>this.actions$.pipe((0,p.l4)(l.GetPaymentOptions),(0,L.w)(o=>this.autopaySignUpService.getPaymentOptions().pipe((0,b.U)(d=>l.GetPaymentOptionsSuccess({payload:{options:d.data.options,surchargeType:d.data.surchargeType}})),(0,w.K)(d=>(0,Z.of)(l.GetPaymentOptionsFailed({payload:d.error.messages}))))))),this.onCalculateProcessingFee$=(0,p.GW)(()=>this.actions$.pipe((0,p.l4)(l.CalculateProcessingFee),(0,L.w)(o=>this.autopaySignUpService.calculateProcessingFee(o.payload).pipe((0,b.U)(d=>l.CalculateProcessingFeeSuccess({payload:d.data})),(0,w.K)(d=>(0,Z.of)(l.CalculateProcessingFeeFailed({payload:d.error.messages}))))))),this.submitSignUp$=(0,p.GW)(()=>this.actions$.pipe((0,p.l4)(l.SubmitSignUp),(0,L.w)(o=>this.autopaySignUpService.submitSignUp(o.payload).pipe((0,b.U)(d=>l.SubmitSignUpSuccess({payload:d})),(0,w.K)(d=>(0,Z.of)(l.SubmitSignUpFailed({payload:d.error.messages}))))))),this.onSubmitSignUpSuccess$=(0,p.GW)(()=>this.actions$.pipe((0,p.l4)(l.SubmitSignUpSuccess),(0,b.U)(o=>de.n.RefreshSelectedSubscription())))}};let n=i;return i.\u0275fac=function(s){return new(s||i)(t.LFG(nt),t.LFG(p.eX))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac}),n})();const ge=[{path:"",component:et,canDeactivate:[U.I],resolve:[it]}],me=[c.Aw.forFeature("autoPaySignUpState",N.reducer),p.sQ.forFeature([pe])],he=[y.ez,P.m,T.q,G,I.Bz.forChild(ge),me],fe=[nt,B,it];let Ce=(()=>{const i=class{};let n=i;return i.\u0275fac=function(s){return new(s||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({providers:fe,imports:[he]}),n})()},2611:(J,v,r)=>{r.d(v,{k:()=>y});class y{constructor(U,T,p,c,P,t,z,G){this.amount=U,this.paymentMethodType=T,this.term=p,this.length=c,this.optionAmount=P,this.customBillingMessage1=t,this.customBillingMessage2=z,this.customBillingMessage3=G}}},22418:(J,v,r)=>{r.d(v,{P:()=>y});class y{}}}]);

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.