PageSourceSearch

https://expresstoll.com/chunk-XQ3VTEZZ.js

js expresstoll.com collected 2026-09-25 19:11:05 UTC 14,373 bytes, 1 lines download raw bytes

1import{a as vt,b as Ct,c as ht,d as gt,e as Et,f as Pt,g as xt,h as yt,i as E,j as Tt}from"./chunk-C2H5I4WL.js";import{A as ot,B as nt,C as ct,D as it,E as rt,F as at,G as Y,H as st,J as ae,K,L as ut,M as lt,N as pt,O as mt,P as se,Q as dt,R as At,T as ft,U as O,c as ie,i as P,j as Be,k as je,l as ze,n as We,s as Ze,t as Q,u as Je,w as Xe,x as re,y as et,z as tt}from"./chunk-ETEP2EEH.js";import"./chunk-ALKSYDIP.js";import"./chunk-DHGRDTRY.js";import"./chunk-TN44SRRC.js";import{a as Oe}from"./chunk-5FN7OVJ6.js";import"./chunk-FHJUKZGQ.js";import{W as S,ca as He}from"./chunk-OY3YIBCC.js";import"./chunk-BKL4YIGF.js";import"./chunk-DCKFBICU.js";import{b as T,o as qe}from"./chunk-NNFNS36H.js";import"./chunk-II5I3Z3P.js";import{a as Ke}from"./chunk-JB3WJEOI.js";import{Ba as Ye,L as U,O as De,P as ke,Ua as Ge,a as Ie,da as Me,ha as ce,la as $e,ta as Ne,va as Ue,za as Qe}from"./chunk-KQ2PODEG.js";import{$a as ee,Cb as ye,Ce as be,Db as Te,De as $,E as g,Ea as I,Ee as Re,F as he,Fe as N,Ge as s,He as _e,Ib as d,Ie as Le,Je as f,M as R,Oa as L,Pd as Ve,R as m,Sa as xe,U as x,Yc as y,Zc as Fe,a as A,aa as a,ab as te,b as C,ba as ge,fb as D,ga as J,gb as u,ha as X,hb as p,ib as V,ma as Ee,n as b,o as Ce,p as h,pa as _,pc as Se,qb as oe,sb as ne,t as i,ua as Pe,ub as k,ve as M,ye as we}from"./chunk-EC5DNX5H.js";var Kt=["pageTitle"];function Ot(c,t){if(c&1&&V(0,"lib-alert",11),c&2){let o=k(2);D("subtitle",o.accountCtrl.errors==null?null:o.accountCtrl.errors.serverError)}}function qt(c,t){if(c&1){let o=oe();u(0,"div",8)(1,"p",9),d(2," Let's finish setting up the account you created during an in-person visit or over-the-phone. "),p(),u(3,"p",7),d(4," Please provide your account number or email address to continue "),p()(),u(5,"form",10),ne("ngSubmit",function(){J(o);let n=k();return X(n.onSubmit())}),ee(6,Ot,1,1,"lib-alert",11),u(7,"div",12),V(8,"lib-form-input",13),u(9,"div")(10,"lib-button",14),d(11," Continue "),p()()()(),u(12,"a",15),d(13," Forgot Account Number "),p()}if(c&2){let o=k();I(5),D("formGroup",o.activateAccountForm),I(),te(o.serverError()?6:-1),I(2),D("control",o.accountCtrl)("required",!0)("errorMessage",o.getErrorMessage())}}function Gt(c,t){c&1&&(u(0,"div",7)(1,"p",16),d(2," An email with further instructions has been sent to email associated with your account. Please check your inbox and follow the steps to continue. "),p(),u(3,"p"),d(4," If you do not receive an email, please contact the ExpressToll Service Center at "),u(5,"span",17),d(6," (303) 537-3470 "),p(),d(7," for assistance. "),p()())}var q=class c extends qe{fb=a(Qe);router=a(y);authApiService=a(U);destroyRef=a(Ee);isEmailSent=_(!1);serverError=_(null);pageTitle=Se.required("pageTitle");isFormDirty=_(!1);activateAccountForm=this.fb.group({accountEmail:[""]});ngOnInit(){this.accountCtrl.valueChanges.pipe(Ve(this.destroyRef)).subscribe({next:()=>{this.accountCtrl.clearValidators(),this.isFormDirty.set(this.accountCtrl.dirty),this.serverError.set(null)},complete:()=>{this.isFormDirty.set(!1)}})}ngAfterViewInit(){this.pageTitle().nativeElement.focus()}get accountCtrl(){return this.activateAccountForm.get("accountEmail")}onSubmit(){if(this.validateForm(),this.activateAccountForm.valid){let t={accountNumber:Number(this.accountCtrl.value),url:`${window.location.origin}/activate-account/create-password`};this.authApiService.sendActivateAccountRequest(t).subscribe(o=>{if(o.success)this.isEmailSent.set(!0),this.serverError.set(null);else{let r=o.error?.detail||o.error?.title||"We can\u2019t find an associated account. Please check your information and try again.";this.serverError.set(String(r)),this.accountCtrl.setErrors(C(A({},this.accountCtrl.errors),{notFound:"Invalid Account Number",serverError:r}))}})}}validateForm(){this.accountCtrl.setValidators([ce.required,ce.pattern("^\\d{8}$")]),this.accountCtrl.updateValueAndValidity(),this.activateAccountForm.markAllAsTouched()}onBackToSignIn(){this.router.navigate(["/sign-in"])}getErrorMessage(){return this.accountCtrl.hasError("required")?"This field is required":this.accountCtrl.hasError("pattern")?"Invalid Account Number":this.accountCtrl.hasError("notFound")?this.accountCtrl.getError("notFound"):null}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Pe(c)))(r||c)}})();static \u0275cmp=L({type:c,selectors:[["app-activate-form"]],viewQuery:function(o,r){o&1&&ye(r.pageTitle,Kt,5),o&2&&Te()},features:[xe],decls:11,vars:1,consts:[["pageTitle",""],[1,"flex","w-full"],["icon","back","href","/sign-in",3,"action"],[1,"app-grid-column"],[1,"app-box","mx-auto","flex","w-full","max-w-[328px]","justify-center","md:max-w-[432px]","xl:max-w-[636px]"],[1,"flex","w-[296px]","flex-col","items-center","md:w-[352px]","xl:w-[414px]"],["tabindex","-1",1,"mb-6"],[1,"text-center"],[1,"mb-6"],[1,"mb-[22px]","text-center"],[1,"mb-6","w-full",3,"ngSubmit","formGroup"],["format","text","error","",1,"mb-6",3,"subtitle"],[1,"flex","flex-col"],["label","Account Number","placeholder","Account Number",1,"mb-[20px]","md:mb-6",3,"control","required","errorMessage"],["appearance","filled","size","large","type","button:submit"],["routerLink","/forgot-account-number"],[1,"mb-6","md:mb-4"],[2,"text-decoration","underline","text-underline-offset","2px","white-space","nowrap"]
1],template:function(o,r){if(o&1){let n=oe();u(0,"div",1)(1,"app-back-to",2),ne("action",function(){return J(n),X(r.onBackToSignIn())}),d(2," Back to Sign In "),p()(),u(3,"div",3)(4,"div",4)(5,"div",5)(6,"h6",6,0),d(8,"Activate Online Account"),p(),ee(9,qt,14,5)(10,Gt,8,0,"div",7),p()()()}o&2&&(I(9),te(r.isEmailSent()?10:9))},dependencies:[Ye,Ne,$e,Ue,Ge,M,Ke,Me,Fe],styles:['h6[tabindex="-1"][_ngcontent-%COMP%]:focus{outline:none}'],changeDetection:0})};var v="Activate Account",Ft="Create Account",It="key1",Vt="key2",wt="accountId",bt="accountType";var mo=s("[Activate Account] Init Activate Account"),w=s("[Activate Account] Validate Query Keys Success",void 0),G=s("[Activate Account] Load Contact Info"),ue=s("[Activate Account] Load Contact Info Success",void 0),_t=s("[Activate Account] Load Contact Info Failed"),H=s("[Activate Account] Load Vehicles"),le=s("[Activate Account] Load Vehicles Success",void 0),Lt=s("[Activate Account] Load Vehicles Failed"),pe=s("[Activate Account] Load Communication Preferences"),me=s("[Activate Account] Load Communication Preferences Success",void 0),Dt=s("[Activate Account] Load Communication Preferences Failed"),B=s("[Activate Account] Update Communication Preferences For L2C Profile",void 0),de=s("[Activate Account] Update Communication Preferences For L2C Profile Success"),Ae=s("[Activate Account] Update Communication Preferences For L2C Profile Failed"),j=s("[Activate Account] Process L2C"),z=s("[Activate Account] Process L2C Success"),fe=s("[Activate Account] Process L2C Failed"),W=s("[Activate Account] Set Account Id",void 0),kt=s("[Activate Account] Clear All");var Mt=c=>{let t=a(y),o=a(N),r=T(c.queryParamMap,wt),n=T(c.queryParamMap,bt);return r&&n?(c.data=C(A({},c.data),{headerTitle:Ft,exitLink:"/online-payment"}),o.dispatch(W({accountId:Number(r)})),o.dispatch(G()),h(!0)):(t.navigate(["/sign-in"]),h(!1))};var $t=c=>{let t=a(y),o=a(U),r=a(N),n=a(O),F=T(c.queryParamMap,It),e=T(c.queryParamMap,Vt);return n.flowType()==="payment"?h(!0):F&&e?(c.data=C(A({},c.data),{headerTitle:v,exitLink:"/sign-in"}),o.validateQueryKeys(F,e).pipe(x(l=>{r.dispatch(w({response:l}))}),i(()=>!0),he(()=>(t.navigate(["/sign-in"]),h(!1))))):(t.navigate(["/sign-in"]),h(!1))};var Z=class c{ngOnInit(){window.scrollTo({top:0,behavior:"auto"})}static \u0275fac=function(o){return new(o||c)};static \u0275cmp=L({type:c,selectors:[["app-account-activated"]],decls:11,vars:0,consts:[[1,"flex","flex-col","items-center","text-center"],[1,"image-container"],[1,"w-full"],[1,"mb-8","flex","flex-col","gap-5","xl:max-w-[632px]"],[1,"h5-style"],[1,"button-container"],["appearance","filled","size","large","type","link","link","/sign-in",1,"button"]],template:function(o,r){o&1&&(u(0,"div",0)(1,"div",1),V(2,"lib-success-icon",2),p(),u(3,"div",3)(4,"h2",4),d(5,"Account Created!"),p(),u(6,"p"),d(7,"Please Sign In to review or modify your information."),p()(),u(8,"div",5)(9,"lib-button",6),d(10," Sign In "),p()()())},dependencies:[Oe,M],styles:[".image-container[_ngcontent-%COMP%]{width:100px;padding:10px;margin-bottom:16px;color:#2e7d32}.button-container[_ngcontent-%COMP%]{position:fixed;right:0;bottom:0;left:0;display:flex;flex-direction:column;padding:20px;background-color:#fff}@media screen and (min-width: 1440px){.button-container[_ngcontent-%COMP%]{position:static;padding:0;background-color:transparent}}"],changeDetection:0})};var Nt={accountId:null,accountType:null,accountStatus:null,error:null,loading:!1,tempToken:null},Ut=we({providedIn:"root"},be(Nt),Le($(w,({payload:c},t)=>C(A({},t),{accountId:c.response.accountNumber,accountType:c.response.accountType,accountStatus:c.response.accountStatus,tempToken:c.response.tempTokenResponse?.tempToken})),$(W,({payload:c},t)=>C(A({},t),{accountId:c.accountId})),$(kt,()=>A({},Nt))),_e((c,t=a(Re),o=a(ke),r=a(De),n=a(O),F=a(Ie))=>({validateQueryKeysSuccess$:t.on(w).pipe(m(({payload:e})=>Ce([mt({tempToken:e.response.tempTokenResponse?.tempToken})]))),loadContactInfo$:t.on(G).pipe(m(()=>o.getContactInfo(n.tempToken()).pipe(f({next:e=>ue({contactInfo:e}),error:()=>_t()})))),loadContactInfoSuccess$:t.on(ue).pipe(i(({payload:e})=>We({contactInfo:e.contactInfo}))),loadVehicles$:t.on(H).pipe(m(()=>r.getVehicles(n.tempToken()).pipe(i(e=>S.fromVehicleDtos(e)),f({next:e=>le({vehicles:e}),error:()=>Lt()})))),loadVehiclesSuccess$:t.on(le).pipe(i(({payload:e})=>dt({vehicles:e.vehicles}
1))),loadCommunicationPreferences$:t.on(pe).pipe(m(()=>o.getCommunicationPreferences(n.tempToken()).pipe(f({next:e=>me({preferences:e}),error:()=>Dt()})))),loadCommunicationPreferencesSuccess$:t.on(me).pipe(i(({payload:e})=>At({preferences:e.preferences}))),updateCommunicationPreferencesForL2CProfile$:t.on(B).pipe(m(({payload:{preferences:e}})=>o.updateL2CComunicationPrefs(e,n.tempToken()).pipe(f({next:()=>de(),error:()=>Ae()})))),updateCommunicationPreferencesForL2CProfileSuccess$:t.on(de).pipe(i(()=>lt({idempotencyKey:He()}))),processL2C$:t.on(j).pipe(m(()=>o.processL2C(n.tempToken()).pipe(f({next:()=>z(),error:()=>fe()})))),processL2CSuccess$:t.on(z).pipe(m(()=>[K(),ft()])),saveContactInfo$:t.on(Be).pipe(x(()=>n.pending(!0)),m(({payload:e})=>(e.l2cProfile?o.updateUserL2CProfile(e.contactInfo,n.tempToken()):o.updateUserProfile(e.contactInfo,n.tempToken())).pipe(f({next:()=>je(),error:l=>ze(l.error?.detail)}),R(()=>n.pending(!1))))),createPassword$:t.on(Ze).pipe(x(()=>n.pending(!0)),i(({payload:e})=>({encryptedPassword:F.encryptPassword(n.password(),n.publicKey()),l2cProfile:e.l2cProfile})),m(({encryptedPassword:e,l2cProfile:l})=>(l?o.registerL2CPassword(e,n.tempToken()):o.activateCreatePassword(e,n.tempToken())).pipe(f({next:()=>Q(),error:()=>Je()}),R(()=>n.pending(!1))))),createPasswordSuccess_paymentFlow$:t.on(Q).pipe(g(()=>n.flowType()==="payment"),i(()=>P({newStep:2}))),createPasswordSuccess_activateFlow$:t.on(Q).pipe(g(()=>n.flowType()==="activate"),i(()=>P({newStep:7}))),addVehicle$:t.on(Xe).pipe(m(({payload:e})=>e.l2cProfile?b:r.saveVehicleData(S.toVehicleDto(e.vehicle),n.tempToken()).pipe(f({next:()=>re({vehicle:e.vehicle}),error:()=>et()})))),updateVehicle$:t.on(tt).pipe(i(({payload:e})=>{let l=n.vehicles()[e.index];return{vehicle:A(A({},l),e.vehicle),l2cProfile:e.l2cProfile}}),m(({vehicle:e,l2cProfile:l})=>l?b:r.saveVehicleData(S.toVehicleDto(e),n.tempToken()).pipe(f({next:()=>ot({vehicle:e}),error:()=>nt()})))),deleteVehicle$:t.on(ct).pipe(i(({payload:e})=>{let l=n.vehicles()[e.index];return{vehicle:C(A(A({},l),e.vehicle),{deleteFlag:!0}),l2cProfile:e.l2cProfile}}),m(({vehicle:e,l2cProfile:l})=>l?b:r.saveVehicleData(S.toVehicleDto(e),n.tempToken()).pipe(f({next:()=>it({vehicle:e}),error:()=>rt()})))),registerVehicles$:t.on(at).pipe(x(()=>n.pending(!0)),i(({payload:e})=>({vehicles:S.toVehiclesDto(e.vehicles),l2cProfile:e.l2cProfile})),m(({vehicles:e,l2cProfile:l})=>(l?r.updateL2CVehicleData(e,n.tempToken()).pipe(f({next:()=>Y(),error:()=>st()})):h(Y())).pipe(R(()=>n.pending(!1))))),registerVehiclesSuccess$:t.on(Y).pipe(i(()=>P({newStep:4}))),registerCommunicationPreferencesForL2CProfile$:t.on(ae).pipe(g(({payload:{l2cProfile:e}})=>e),i(({payload:{preferences:e}})=>B({preferences:e}))),registerCommunicationPreferencesForNonL2CProfile$:t.on(ae).pipe(g(({payload:{l2cProfile:e}})=>!e),m(({payload:{preferences:e}})=>o.updateCommunicationPreferences(e,n.tempToken()).pipe(f({next:()=>K(),error:()=>ut()})))),chargeAccountSuccess$:t.on(pt).pipe(i(()=>j())),registerCommunicationPreferencesSuccess$:t.on(K).pipe(i(()=>P({newStep:6}))),activeStepChangeToVehicles$:t.on(P).pipe(g(({payload:e})=>e.newStep===3),g(()=>n.vehicles().length===0),i(()=>H())),activeStepChangeToCommunications$:t.on(P).pipe(g(({payload:e})=>e.newStep===5),g(()=>n.communicationPreferences()===null),i(()=>pe())),addVehicleSuccess$:t.on(re).pipe(i(()=>H())),enableLoading$:t.on(B,j).pipe(i(()=>se({loading:!0}))),disableLoading$:t.on(Ae,z,fe).pipe(i(()=>se({loading:!1})))})));var fn=[{path:"",component:q,canDeactivate:[ie],title:"Activate Account"},{path:"",component:vt,title:"Activate Account",providers:[{provide:ge,multi:!0,useValue:()=>{a(Ut)}}],children:[{path:"contact-information",canDeactivate:[ie],component:yt,canActivate:[Mt],data:{step:0,headerTitle:v,flowType:"activate"},title:"Contact Information"},{path:"create-password",component:Ct,canActivate:[E,$t],data:{step:1,headerTitle:v,flowType:"activate"},title:"Create Password"},{path:"user-agreement",component:Et,canActivate:[E],data:{step:2,headerTitle:v,flowType:"activate"},title:"User Agreement"},{path:"vehicles",component:Pt,canActivate:[E],data:{step:3,headerTitle:v,flowType:"activate"},title:"Vehicles"},{path:"payment-method",component:xt,canActivate:[E],data:{step:4,headerTitle:v,flowType:"activate"},title:"Payment Method"},{path:"communications",component:gt,canActivate:[E],canDeactivate:[Tt],data:{step:5,headerTitle:v,flowType:"activate"},title:"Communications"},{path:"confirmation",component:ht,canActivate:[E],data:{step:6,headerTitle:v,flowType:"activate"},title:"Confirmation"},{path:"activated",component:Z,canActivate:[E],data:{step:7,headerTitle:v,flowType:"activate"},title:"Activated"}]}];export{fn as routes};

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.