PageSourceSearch

https://my.equifax.ca/chunk-M4KTP6AO.js

js equifax.ca collected 2026-09-24 17:41:55 UTC 127,621 bytes, 1 lines download raw bytes

1import{a as gi,b as hi,c as fi,d as _i,e as xi,f as Ci}from"./chunk-D7STWFZJ.js";import{a as Ye}from"./chunk-OCHKCOED.js";import{Aa as ie,D as Xe,N as di,Na as ui,O as li,R as si,X as Ce,c as P,f as xe,j as ri,l as oi,r as Qe,s as W,t as Ee,ta as mi,w as ci,x as pi,y as Ke,za as ke}from"./chunk-DOGJFUEP.js";import{a as ai}from"./chunk-BEEYKQEC.js";import{a as te}from"./chunk-MUJ2D4NV.js";import"./chunk-MNNEX5QD.js";import"./chunk-6XGZYVH3.js";import"./chunk-AJTMPSRS.js";import{b as se,c as me,d as Y,f as H,g as ue,h as Re,i as q}from"./chunk-KM4JZ4GP.js";import"./chunk-JFSVKDZS.js";import"./chunk-YKTVRPTH.js";import{$ as _e,T as Ge,U as Zt,W as ei,ea as ti,fa as ii,ga as ni,k as Jt}from"./chunk-CJRP7CE3.js";import{f as Rt,l as zt}from"./chunk-3ZCFFTOO.js";import{A as Lt,Bb as qt,G as Nt,Gb as $e,Ib as We,Oa as ge,Pa as Ut,Qa as U,Ra as jt,Ta as Vt,Ua as $t,Va as ze,Wa as he,Xa as J,Ya as Wt,c as X,cb as j,d as de,db as Ue,e as z,eb as Gt,gb as Z,ib as je,jb as Qt,k as Ht,kb as fe,l as Ft,lb as Kt,mb as Ve,n as le,qb as Xt,r as At,ub as Yt,zb as ee}from"./chunk-7ZYBXR4G.js";import{$ as Q,$c as p,A as yt,Cb as w,D as Mt,Db as Et,Dc as kt,Hc as m,Ib as _,Ic as g,J as Ot,Jc as T,Kc as Ne,Mc as pt,Nc as dt,O as A,Oc as lt,Pc as oe,Sc as It,U as bt,Uc as O,Vc as k,Wc as K,Xc as st,Y as Tt,Zc as Bt,_c as o,ad as v,ba as S,cc as r,da as pe,db as h,dc as a,dd as we,eb as Se,ec as c,f as V,fb as wt,fc as s,g as ot,h as Be,i as _t,ja as De,jb as i,jc as B,k as N,ka as St,kc as D,l as xt,mc as E,na as R,o as Ct,ob as $,p as vt,pd as Dt,rc as b,tc as u,u as Pt,ua as y,va as M,wa as at,wb as x,xa as ct,xc as Fe,ya as He,yc as Ae,zc as Le}from"./chunk-KLQGYSUH.js";import"./chunk-UZGDKDCV.js";import{a as ce,b as ft}from"./chunk-QBUHZOWM.js";var Ri=(t,d)=>({months:t,monthDuration:d}),ae=t=>({"efx-type--bold":t}),vi=(t,d)=>({trialTotal:t,trialPeriod:d}),zi=t=>({trialPeriod:t}),Ui=t=>({period:t});function ji(t,d){t&1&&(a(0,"div",4),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.new-checkout.summary.FREE")))}function Vi(t,d){if(t&1&&(a(0,"div",4),s(1,"span",5),o(2,"translate"),o(3,"translate"),c()),t&2){let e=u();i(),r("innerHTML",v(3,3,"payment.freeFor",k(6,Ri,e.product==null?null:e.product.offerPeriod,p(2,1,e.billingCycleWord))),h)}}function $i(t,d){t&1&&(a(0,"div",4),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.new-checkout.summary.subTitle")))}function Wi(t,d){if(t&1){let e=E();a(0,"div",13)(1,"button",14),b("click",function(n){y(e);let f=u(2);return M(f.toggleDetails(n))}),m(2),o(3,"translate"),c()()}if(t&2){let e=u(2);i(2),T(" ",p(3,1,e.sDetailExpanded?"payment.new-checkout.summary.detailHide":"payment.new-checkout.summary.detailShow")," ")}}function Gi(t,d){if(t&1&&(a(0,"div",20)(1,"div"),m(2),o(3,"translate"),c(),a(4,"div"),m(5),o(6,"formatPrice"),c()()),t&2){let e=d.$implicit;i(2),g(p(3,2,"accountManagement.billing.taxes."+(e==null?null:e.code))+" "+(e==null?null:e.percentage)+"%"),i(3),g(p(6,4,e==null?null:e.amount))}}function Qi(t,d){if(t&1&&(a(0,"div",15)(1,"div",16)(2,"div",17)(3,"span",18),m(4),o(5,"translate"),c(),a(6,"mc-info-popup",19),o(7,"translate"),a(8,"div"),m(9),o(10,"translate"),c()()(),a(11,"div"),m(12),o(13,"formatPrice"),c()(),a(14,"div")(15,"div",20)(16,"div"),m(17),o(18,"translate"),c(),a(19,"div"),m(20),o(21,"formatPrice"),c()(),_(22,Gi,7,6,"div",21),a(23,"div",20)(24,"div"),m(25),o(26,"translate"),c(),a(27,"div"),m(28),o(29,"formatPrice"),c()()()()),t&2){let e=u(2);i(3),r("ngClass",O(29,ae,e.sDetailExpanded)),i(),g(p(5,13,"payment.exchangeDetails.exchangeRefund")),i(2),r("modalTitle",oe(p(7,15,"payment.exchangeDetails.exchangeRefund"))),i(3),g(p(10,17,"payment.new-checkout.summary.unusedCreditExplained")),i(2),r("@expanded",!e.sDetailExpanded),i(),g(p(13,19,e.product==null?null:e.product.refundTotal)),i(2),r("@expanded",e.sDetailExpanded),i(3),g(p(18,21,"payment.new-checkout.summary.unusedCreditAmount")),i(3),g(p(21,23,e.product==null?null:e.product.refundAmount)),i(2),r("ngForOf",e.product==null?null:e.product.refundTaxes),i(3),g(p(26,25,"payment.new-checkout.summary.unusedCreditTotal")),i(3),g(p(29,27,e.product==null?null:e.product.refundTotal))}}
1function Ki(t,d){if(t&1&&(a(0,"div",20)(1,"div"),m(2),o(3,"translate"),c(),a(4,"div"),m(5),o(6,"formatPrice"),c()()),t&2){let e=d.$implicit;i(2),g(p(3,2,"accountManagement.billing.taxes."+(e==null?null:e.code))+" "+(e==null?null:e.percentage)+"%"),i(3),g(p(6,4,e==null?null:e.amount))}}function Xi(t,d){if(t&1&&(a(0,"div",22)(1,"div",16)(2,"div",18),m(3),o(4,"translate"),c(),a(5,"div"),m(6),o(7,"formatPrice"),o(8,"translate"),c()(),a(9,"div")(10,"div",20)(11,"div"),m(12),o(13,"translate"),c(),a(14,"div"),m(15),o(16,"translate"),c()(),a(17,"div",20)(18,"div"),m(19),o(20,"translate"),c(),a(21,"div"),m(22),o(23,"formatPrice"),c()(),_(24,Ki,7,6,"div",21),a(25,"div",20)(26,"div"),m(27),o(28,"translate"),c(),a(29,"div"),m(30),o(31,"formatPrice"),o(32,"translate"),c()()()()),t&2){let e=u(2);i(2),r("ngClass",O(35,ae,e.sDetailExpanded)),i(),g(p(4,12,"payment.new-checkout.summary.TodayPayment")),i(2),r("@expanded",!e.sDetailExpanded),i(),T(" ",v(8,16,"payment.new-checkout.summary.trialPeriodTotalCost",k(37,vi,p(7,14,e.product==null?null:e.product.trialTotal),e.product==null?null:e.product.trialPeriod))," "),i(3),r("@expanded",e.sDetailExpanded),i(3),g(p(13,19,"payment.new-checkout.summary.PaymentPlan")),i(3),g(v(16,21,"payment.new-checkout.summary.trialPeriod",O(40,zi,e.product==null?null:e.product.trialPeriod))),i(4),g(p(20,24,"payment.new-checkout.summary.ProductSubtotal")),i(3),g(p(23,26,e.product==null?null:e.product.trialPrice)),i(2),r("ngForOf",e.product==null?null:e.product.trialTaxes),i(3),g(p(28,28,"payment.new-checkout.summary.TotalCost")),i(3),T(" ",v(32,32,"payment.new-checkout.summary.trialPeriodTotalCost",k(42,vi,p(31,30,e.product==null?null:e.product.trialTotal),e.product==null?null:e.product.trialPeriod))," ")}}function Yi(t,d){if(t&1&&(a(0,"div",17)(1,"span",18),m(2),o(3,"translate"),c(),a(4,"mc-info-popup",19),o(5,"translate"),a(6,"div"),m(7),o(8,"translate"),o(9,"lowercase"),o(10,"translate"),c()()()),t&2){let e=u(3);i(),r("ngClass",O(16,ae,e.sDetailExpanded)),i(),g(p(3,5,"payment.new-checkout.summary.PartialFee")),i(2),r("modalTitle",oe(p(5,7,"payment.new-checkout.summary.PartialFee"))),i(3),T(" ",v(10,13,"payment.exchangeDetails.chargingDetails",O(18,Ui,p(9,11,p(8,9,e.product==null||e.product.billingPeriod==null?null:e.product.billingPeriod.toLowerCase()))))," ")}}function qi(t,d){if(t&1&&(a(0,"div",18),m(1),o(2,"translate"),c()),t&2){let e=u(3);r("ngClass",O(4,ae,e.sDetailExpanded)),i(),T(" ",p(2,2,"payment.new-checkout.summary.TodayPayment")," ")}}function Ji(t,d){t&1&&(a(0,"div"),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.new-checkout.summary.PartialFeeAmount")))}function Zi(t,d){t&1&&(a(0,"div"),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.new-checkout.summary.ProductSubtotal")))}function en(t,d){if(t&1&&(a(0,"div",20)(1,"div"),m(2),o(3,"translate"),c(),a(4,"div"),m(5),o(6,"formatPrice"),c()()),t&2){let e=d.$implicit;i(2),g(p(3,2,"accountManagement.billing.taxes."+(e==null?null:e.code))+" "+(e==null?null:e.percentage)+"%"),i(3),g(p(6,4,e==null?null:e.amount))}}function tn(t,d){t&1&&(a(0,"div"),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.new-checkout.summary.PartialFeeTotal")))}function nn(t,d){t&1&&(a(0,"div"),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.new-checkout.summary.TotalCost")))}function rn(t,d){if(t&1&&(a(0,"div",23)(1,"div",16),_(2,Yi,11,20,"div",24)(3,qi,3,6,"div",25),a(4,"div"),m(5),o(6,"formatPrice"),c()(),a(7,"div")(8,"div",20)(9,"div"),m(10),o(11,"translate"),c(),a(12,"div"),m(13),o(14,"translate"),c()(),a(15,"div",20),_(16,Ji,3,3,"div",26)(17,Zi,3,3,"div",26),a(18,"div"),m(19),o(20,"formatPrice"),c()(),_(21,en,7,6,"div",21),a(22,"div",20),_(23,tn,3,3,"div",26)(24,nn,3,3,"div",26),a(25,"div"),m(26),o(27,"formatPrice"),c()()()()),t&2){let e=u(2);i(2),r("ngIf",e.product==null?null:e.product.refundTotal),i(),r("ngIf",!(e.product!=null&&e.product.refundTotal)),i(),r("@expanded",!e.sDetailExpanded),i(),g(p(6,14,e.product==null?null:e.product.exchangeTotal)),i(2),r("@expanded",e.sDetailExpanded),i(3),g(p(11,16,"payment.new-checkout.summary.PaymentPlan")),i(3),g(p(14,18,e.product==null||e.product.billingPeriod==null?null:e.product.billingPeriod.toLowerCase())),i(3),r("ngIf",e.product==null?null:e.product.refundTotal),i(),r("ngIf",!(e.product!=null&&e.product.refundTotal)),i(2),g(p(20,20,e.product==null?null:e.product.exchangeAmount)),i(2),r("ngForOf",e.product==null?null:e.product.exchangeTaxes),i(2),r("ngIf",e.product==null?null:e.product.refundTotal),i(),r("ngIf",!(e.product!=null&&e.product.refundTotal)),i(2),g(p(27,22,e.product==null?null:e.product.exchangeTotal))}}function on(t,d){if(t&1&&(a(0,"div",20)(1,"div"),m(2),o(3,"translate"),c(),a(4,"div"),m(5),o(6,"formatPrice"),c()()),t&2){let e=d.$implicit;i(2),g(p(3,2,"accountManagement.billing.taxes."+(e==null?null:e.code))+" "+(e==null?null:e.percentage)+"%"),i(3),g(p(6,4,e==null?null:e.amount))}}function an(t,d){if(t&1&&(a(0,"div",27)(1,"div",16)(2,"div",18),m(3),o(4,"translate"),c(),a(5,"div"),m(6),o(7,"formatPrice"),c()(),a(8,"div")(9,"div",20)(10,"div"),m(11),o(12,"translate"),c(),a(13,"div"),m(14),o(15,"translate"),c()(),a(16,"div",20)(17,"div"),m(18),o(19,"translate"),c(),a(20,"div"),m(21),o(22,"formatPrice"),c()(),_(23,on,7,6,"div",21),a(24,"div",20)(25,"div"),m(26),o(27,"translate"),c(),a(28,"div"),m(29),o(30,"formatPrice"),c()()()()),t&2){let e=u(2);i(2),r("ngClass",O(28,ae,e.sDetailExpanded)),i(),g(p(4,12,"payment.new-checkout.summary.TodayPayment")),i(2),r("@expanded",!e.sDetailExpanded),i(),g(p(7,14,e.product==null?null:e.product.total)),i(2),r("@expanded",e.sDetailExpanded),i(3),g(p(12,16,"payment.new-checkout.summary.PaymentPlan")),i(3),g(p(15,18,e.product==null||e.product.billingPeriod==null?null:e.product.billingPeriod.toLowerCase())),i(4),g(p(19,20,"payment.new-checkout.summary.ProductSubtotal")),i(3),g(p(22,22,e.product==null?null:e.product.subTotal)),i(2),r("ngForOf",e.product==null?null:e.product.taxes),i(3),g(p(27,24,"payment.new-checkout.summary.TotalCost")),i(3),g(p(30,26,e.product==null?null:e.product.total))}}
1function cn(t,d){if(t&1&&(a(0,"div",20)(1,"div"),m(2),o(3,"translate"),c(),a(4,"div"),m(5),o(6,"formatPrice"),c()()),t&2){let e=d.$implicit;i(2),g(p(3,2,"accountManagement.billing.taxes."+(e==null?null:e.code))+" "+(e==null?null:e.percentage)+"%"),i(3),g(p(6,4,e==null?null:e.amount))}}function pn(t,d){if(t&1&&(a(0,"div",28)(1,"div",16)(2,"div",18),m(3),o(4,"translate"),c(),a(5,"div"),m(6),o(7,"formatPrice"),o(8,"translate"),c()(),a(9,"div")(10,"div",20)(11,"div"),m(12),o(13,"translate"),c(),a(14,"div"),m(15),o(16,"translate"),c()(),a(17,"div",20)(18,"div"),m(19),o(20,"translate"),c(),a(21,"div"),m(22),o(23,"formatPrice"),c()(),_(24,cn,7,6,"div",21),a(25,"div",20)(26,"div"),m(27),o(28,"translate"),c(),a(29,"div"),m(30),o(31,"formatPrice"),c()(),a(32,"div",20)(33,"div"),m(34),o(35,"translate"),c(),a(36,"div"),m(37),o(38,"date"),c()()()()),t&2){let e=u(2);i(2),r("ngClass",O(38,ae,e.sDetailExpanded)),i(),g(p(4,15,"payment.new-checkout.summary.NextPayment")),i(2),r("@expanded",!e.sDetailExpanded),i(),Ne("",p(7,17,e.product==null?null:e.product.total)," ",p(8,19,e.billingCyclePer)),i(3),r("@expanded",e.sDetailExpanded),i(3),g(p(13,21,"payment.new-checkout.summary.PaymentPlan")),i(3),g(p(16,23,e.product==null||e.product.billingPeriod==null?null:e.product.billingPeriod.toLowerCase())),i(4),g(p(20,25,"payment.new-checkout.summary.ProductSubtotal")),i(3),g(p(23,27,e.product==null?null:e.product.subTotal)),i(2),r("ngForOf",e.product==null?null:e.product.taxes),i(3),g(p(28,29,"payment.new-checkout.summary.TotalCost")),i(3),g(p(31,31,e.product==null?null:e.product.total)),i(4),g(p(35,33,"payment.new-checkout.summary.YourNextPayment")),i(3),g(v(38,35,e.newMonthlySubscriptionDate,"yyyy/MM/dd"))}}function dn(t,d){if(t&1&&(a(0,"div",6),_(1,Wi,4,3,"div",7)(2,Qi,30,31,"div",8)(3,Xi,33,45,"div",9)(4,rn,28,24,"div",10)(5,an,31,30,"div",11)(6,pn,39,40,"div",12),c()),t&2){let e=u();i(),r("ngIf",!e.sDetailExpandedAlways),i(),r("ngIf",e.product==null?null:e.product.refundTotal),i(),r("ngIf",e.product==null?null:e.product.trialPeriod),i(),r("ngIf",(e.product==null?null:e.product.exchangeTotal)&&!(e.product!=null&&e.product.trialPeriod)),i(),r("ngIf",!e.hasMultipleSections),i(),r("ngIf",!(e.product!=null&&e.product.isFree))}}function ln(t,d){if(t&1&&(a(0,"div",30),m(1),o(2,"formatPrice"),c()),t&2){let e=u(2);i(),g(p(2,1,e.product==null?null:e.product.trialTotal))}}function sn(t,d){if(t&1&&(a(0,"div",30),m(1),o(2,"formatPrice"),c()),t&2){let e=u(2);i(),T(" ",p(2,1,e.product==null?null:e.product.exchangeTotal)," ")}}function mn(t,d){if(t&1&&(a(0,"div",30),m(1),o(2,"formatPrice"),c()),t&2){let e=u(2);i(),g(p(2,1,e.product==null?null:e.product.total))}}function un(t,d){if(t&1&&(a(0,"div",16)(1,"div",18),m(2),o(3,"translate"),c(),_(4,ln,3,3,"div",29)(5,sn,3,3,"div",29)(6,mn,3,3,"div",29),c()),t&2){let e=u();i(),r("ngClass",O(7,ae,e.sDetailExpanded)),i(),g(p(3,5,"payment.new-checkout.summary.TotalCostToday")),i(2),r("ngIf",e.product==null?null:e.product.trialPeriod),i(),r("ngIf",(e.product==null?null:e.product.exchangeTotal)&&!(e.product!=null&&e.product.trialPeriod)),i(),r("ngIf",!(e.product!=null&&e.product.exchangeTotal)&&!(e.product!=null&&e.product.trialPeriod))}}function gn(t,d){t&1&&(a(0,"div",16)(1,"div",31),m(2),o(3,"translate"),c()()),t&2&&(i(2),g(p(3,1,"payment.new-checkout.summary.promoApplied")))}var et=(()=>{class t{constructor(e){this.preferencesService=e,this.isDestroyed$=new V,this.sDetailExpanded=!1,this.sDetailExpandedAlways=!1}ngOnInit(){}ngOnDestroy(){this.isDestroyed$.next(!0),this.isDestroyed$.complete()}get hasMultipleSections(){let e=!!this.product?.refundTotal,l=!!this.product?.isExchange,n=!!this.product?.trialPeriod;return e||l||n}get billingCycleWord(){return this.product?.offerPeriod>1?this.product?.billingPeriod?.toLowerCase()+"WordPLu":this.product?.billingPeriod?.toLowerCase()+"Word"}get billingCyclePer(){return this.product?.billingPeriod?this.product?.billingPeriod?.toLowerCase()+"Slash":""}toggleDetails(e){this.sDetailExpanded=!this.sDetailExpanded,e?.target?.blur()}static{this.\u0275fac=function(l){return new(l||t)(x(te))}}static{this.\u0275cmp=w({type:t,selectors:[["checkout-summary-component"]],inputs:{product:"product",sDetailExpanded:"sDetailExpanded",sDetailExpandedAlways:"sDetailExpandedAlways",newMonthlySubscriptionDate:"newMonthlySubscriptionDate"},standalone:!1,decls:9,vars:9,consts:[[1,"title"],["class","subTitle",4,"ngIf"],["class","separator-container",4,"ngIf"],["class","details-item main",4,"ngIf"],[1,"subTitle"],[3,"innerHTML"],[1,"separator-container"],["class","details",4,"ngIf"],["class","section-refund",4,"ngIf"],["class","section-trial",4,"ngIf"],["class","section-exchange",4,"ngIf"],["class","section-new",4,"ngIf"],["class","section-subscription",4,"ngIf"],[1,"details"],[1,"efx-button-link",3,"click"],[1,"section-refund"],[1,"details-item","main"],[1,"fvc"],[3,"ngClass"],["type","help",1,"ncsPopup",3,"modalTitle"],[1,"details-item","sub"],["class","details-item sub",4,"ngFor","ngForOf"],[1,"section-trial"],[1,"section-exchange"],["class","fvc",4,"ngIf"],[3,"ngClass",4,"ngIf"],[4,"ngIf"],[1,"section-new"],[1,"section-subscription"],["class","todayPrice",4,"ngIf"],[1,"todayPrice"],[1,"discountTag"]],template:function(l,n){l&1&&(a(0,"div",0),m(1),o(2,"translate"),c(),_(3,ji,3,3,"div",1)(4,Vi,4,9,"div",1)(5,$i,3,3,"div",1)(6,dn,7,6,"div",2)(7,un,7,9,"div",3)(8,gn,4,3,"div",3)),l&2&&(i(),g(p(2,7,"payment.new-checkout.summary.title")),i(2),r("ngIf",(n.product==null?null:n.product.isFree)&&!(n.product!=null&&n.product.offerPeriod)),i(),r("ngIf",(n.product==null?null:n.product.isFree)&&(n.product==null?null:n.product.offerPeriod)),i(),r("ngIf",!(n.product!=null&&n.product.isFree)),i(),r("ngIf",!(n.product!=null&&n.product.isFree)),i(),r("ngIf",!(n.product!=null&&n.product.isFree)),i(),r("ngIf",!(n.product!=null&&n.product.isFree)&&(n.product==null||n.product.offer==null?null:n.product.offer.offerCode)&&(n.product==null?null:n.product.productCategoryName)==="PAID"))},dependencies:[X,de,z,Zt,J,Ft,le,ie],styles:["[_nghost-%COMP%]   .title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:36px;text-align:left;margin-bottom:16px}[_nghost-%COMP%]   .subTitle[_ngcontent-%COMP%]{font-size:20px;font-weight:400;line-height:32px;text-align:left}[_nghost-%COMP%]   .separator-container[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:20px;border-top:1px solid #e5ebed;border-bottom:1px solid #e5ebed}[_nghost-%COMP%]   .details[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]   .details[_ngcontent-%COMP%]   .efx-button-link[_ngcontent-%COMP%]{padding:0;margin-top:8px}[_nghost-%COMP%]   .details[_ngcontent-%COMP%]   .efx-button-link[_ngcontent-%COMP%]:hover{color:#0076a3}[_nghost-%COMP%]   .details[_ngcontent-%COMP%]   .efx-button-link[_ngcontent-%COMP%]:focus{color:#0076a3}[_nghost-%COMP%]   .details-item[_ngcontent-%COMP%]{background-color:#fff;display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px}[_nghost-%COMP%]   .details-item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){text-wrap:nowrap;align-self:end}[_nghost-%COMP%]   .details-item[_ngcontent-%COMP%]   .fvc[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%]   .details-item.main[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   .details-item.sub[_ngcontent-%COMP%]{overflow:hidden;padding-left:16px;color:#5f6a72;margin:8px 0}[_nghost-%COMP%]   .summary-checkout-note[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:16px auto 0;font-size:14px;font-weight:400;line-height:20px}[_nghost-%COMP%]   .summary-checkout[_ngcontent-%COMP%]{min-width:250px;display:flex;justify-content:center;margin:5px auto}[_nghost-%COMP%]   .summary-checkout.spacer[_ngcontent-%COMP%]{margin:32px auto}[_nghost-%COMP%]   .summary-checkout-link[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:5px auto 16px}[_nghost-%COMP%]   .todayPrice[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:36px}[_nghost-%COMP%]   .discountTag[_ngcontent-%COMP%]{color:#9e1b32}[_nghost-%COMP%]   .discountRed[_ngcontent-%COMP%]{font-size:24px;line-height:1.2}[_nghost-%COMP%]   .crossedPrice[_ngcontent-%COMP%]{text-decoration:line-through;color:#6c757d}[_nghost-%COMP%]     .ncsPopup{padding-left:5px}[_nghost-%COMP%]     .efx-modal{margin-top:130px}
1"],data:{animation:[me("expanded",[ue("true",H({height:se,visibility:se,opacity:1})),ue("false",H({height:"0",visibility:"hidden",opacity:0})),q("true => false",Y("300ms ease-in")),q("false => true",Y("300ms ease-out"))]),me("flashhighlight",[q("* => true",Y("2s",Re([H({"box-shadow":"0 0 10px #FAD1D9FF",offset:0}),H({"box-shadow":"0 0 10px #E70033FF",offset:.5}),H({"box-shadow":"none",offset:1})])))])]},changeDetection:0})}}return t})();var hn=(t,d)=>({noBorder:t,slim:d}),yi=t=>({slim:t});function fn(t,d){if(t&1&&(s(0,"h2",11),o(1,"translate")),t&2){let e=u();r("innerHTML",p(1,1,e.cardTitle),h)}}function _n(t,d){if(t&1&&s(0,"img",12),t&2){let e=u();r("src",e.productIcon,Se)("ngClass",e.productIconByHeight?"icon-custom-big-height":"icon-custom-big")}}function xn(t,d){if(t&1&&(a(0,"p",13),m(1),o(2,"translate"),a(3,"b"),m(4),c()()),t&2){let e=u();i(),T(" ",p(2,2,"onlineCancelSubscription.yourProduct.expire")," "),i(3),g(e.currentProductBreachExpiry)}}function Cn(t,d){if(t&1&&(a(0,"li"),m(1),c()),t&2){let e=d.$implicit;i(),T(" ",e," ")}}function vn(t,d){if(t&1&&(a(0,"ul"),_(1,Cn,2,1,"li",14),c()),t&2){let e=u();i(),r("ngForOf",e.productBenefits)}}var Mi=(()=>{class t{constructor(){this.theLongerTitle=""}ngOnInit(){this.theOtherTitle&&this.title?this.theLongerTitle=this.theOtherTitle.length>this.title?.length?this.theOtherTitle:this.title:this.theLongerTitle=this.title}get cardTitle(){if(this.currentProductTitle)return this.currentProductTitle;let e=this.isFree?"freeTitle":"paidTitle";return this.isAdditionalAdultProduct&&(e="paidTitle"),this.isExchange&&(e="exchangeTitle"),`payment.productCard.${e}`}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275cmp=w({type:t,selectors:[["generic-product-card"]],inputs:{title:"title",theOtherTitle:"theOtherTitle",description:"description",productIcon:"productIcon",productIconByHeight:"productIconByHeight",productBenefits:"productBenefits",isAdditionalAdultProduct:"isAdditionalAdultProduct",isFree:"isFree",isExchange:"isExchange",currentProductTitle:"currentProductTitle",currentProductBreachExpiry:"currentProductBreachExpiry",noBorder:"noBorder",slim:"slim"},standalone:!1,decls:11,vars:16,consts:[[1,"efx-product-card"],[1,"efx-card",3,"ngClass"],["class","efx-card_head efx-l-pad-large--left",3,"innerHTML",4,"ngIf"],[1,"efx-card_body",3,"ngClass"],[1,"product-title-container",3,"ngClass"],["class","efx-icon product-icon-checkout-view","alt","",3,"src","ngClass",4,"ngIf"],[1,"sizeWrapper"],[1,"efx-type-page-subtitle","efx-l-margin-small--vertical","product-subtitle-checkout-view","generic",3,"innerHTML"],[1,"efx-type-page-subtitle","efx-l-margin-small--vertical","product-subtitle-checkout-view","theOtherTitle",3,"innerHTML"],["class","current-product-expire-text",4,"ngIf"],[4,"ngIf"],[1,"efx-card_head","efx-l-pad-large--left",3,"innerHTML"],["alt","",1,"efx-icon","product-icon-checkout-view",3,"src","ngClass"],[1,"current-product-expire-text"],[4,"ngFor","ngForOf"]],template:function(l,n){l&1&&(a(0,"div",0)(1,"div",1),_(2,fn,2,3,"h2",2),a(3,"div",3)(4,"div",4),_(5,_n,1,2,"img",5),a(6,"div",6),s(7,"h2",7)(8,"h2",8),c()(),_(9,xn,5,4,"p",9)(10,vn,2,1,"ul",10),c()()()),l&2&&(i(),r("ngClass",k(9,hn,n.noBorder,n.slim)),i(),r("ngIf",!n.slim),i(),r("ngClass",O(12,yi,n.slim)),i(),r("ngClass",O(14,yi,n.slim)),i(),r("ngIf",n.productIcon),i(2),r("innerHTML",n.title,h),i(),r("innerHTML",n.theLongerTitle,h),i(),r("ngIf",n.currentProductBreachExpiry),i(),r("ngIf",n.productBenefits))},dependencies:[X,de,z,J],styles:["[_nghost-%COMP%]{height:100%;display:flex}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]{padding:0;background-color:inherit;border:1px solid #e5ebed;border-radius:8px}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card.noBorder[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   .product-title[_ngcontent-%COMP%]{font-size:18px;text-align:left;padding-left:12px}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   .efx-card_head[_ngcontent-%COMP%]{text-align:left;font-size:18px;text-transform:none;background-color:inherit;border-bottom:none;color:#5f6a72;display:block;padding:1.5rem 1rem 0;margin:0!important}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   .efx-card_body[_ngcontent-%COMP%]{padding:1rem 1.5rem}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   .efx-card_body.slim[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   .efx-card_desc[_ngcontent-%COMP%]{padding:20px 0;border-top:solid 1px #ced4da;border-bottom:solid 1px #ced4da}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   .efx-card_desc[_ngcontent-%COMP%]   .efx-card_desc_text[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   .efx-card_blank[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   .efx-card_blank[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:700}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:12px}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding:0 24px}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:disc!important;margin-bottom:15px}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .product-title-container[_ngcontent-%COMP%]{display:flex;align-items:center;border-bottom:1px solid #cfcfcf;padding-bottom:10px;margin-bottom:20px}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .product-title-container.slim[_ngcontent-%COMP%]{border:none;margin-bottom:0;padding:0}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .product-icon-checkout-view[_ngcontent-%COMP%]{width:48px;height:auto}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .sizeWrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .product-subtitle-checkout-view[_ngcontent-%COMP%]{font-size:18px!important;font-weight:700;line-height:24px;letter-spacing:0;text-align:left;padding-left:12px;color:#005270}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .product-subtitle-checkout-view.generic[_ngcontent-%COMP%]{position:absolute}[_nghost-%COMP%]   .efx-product-card[_ngcontent-%COMP%]   .product-subtitle-checkout-view.theOtherTitle[_ngcontent-%COMP%]{visibility:hidden}"],changeDetection:0})}}return t})();var yn=["paymentIframe"],Mn=t=>({spacer:t}
1),On=t=>({productName:t}),bn=t=>({single:t}),Tn=(t,d)=>({buttonText:t,expiry:d}),Sn=(t,d,e)=>({price:t,startingDay:d,phoneNumber:e}),wn=(t,d,e,l)=>({price:t,subscriptionMonthlyPrice:d,startingDay:e,phoneNumber:l}),En=(t,d,e)=>({price:t,trialPeriod:d,phoneNumber:e}),kn=(t,d,e,l)=>({price:t,trialPeriod:d,trialPrice:e,phoneNumber:l}),In=(t,d,e)=>({buttonText:t,expiry:d,productName:e}),Bn=(t,d,e)=>({cardType:t,lastFourDigits:d,payType:e});function Dn(t,d){t&1&&(a(0,"div",3)(1,"span",34),m(2),o(3,"translate"),c()()),t&2&&(i(2),g(p(3,1,"registration.registrationHeader")))}function Hn(t,d){t&1&&(a(0,"div",3)(1,"span",34),m(2),o(3,"translate"),c()()),t&2&&(i(2),g(p(3,1,"payment.checkout.title")))}function Fn(t,d){t&1&&(a(0,"div",35),m(1),o(2,"translate"),c()),t&2&&(i(),T(" ",p(2,1,"payment.new-checkout.summary.CheckoutCardOnFile")," "))}function An(t,d){t&1&&(a(0,"span"),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.checkout.submitButton")))}function Ln(t,d){t&1&&(a(0,"span"),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.paymentDetails.submitButton")))}function Nn(t,d){t&1&&(a(0,"span"),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.new-checkout.summary.CHECKOUT")))}function Rn(t,d){t&1&&s(0,"span",36)}function zn(t,d){t&1&&(a(0,"span"),m(1,"\xA0\xA0"),c())}function Un(t,d){t&1&&(s(0,"span",14),o(1,"translate")),t&2&&r("innerHTML",p(1,1,"payment.new-checkout.processingText"),h)}function jn(t,d){if(t&1){let e=E();a(0,"button",37),b("click",function(){y(e);let n=u();return M(n.onUseAnotherCard.emit())}),m(1," payment.paymentDetails.useDifferentCard "),c()}}function Vn(t,d){t&1&&(a(0,"mat-card",18)(1,"mat-card-header")(2,"mat-card-title",38)(3,"span",39)(4,"div",40),s(5,"img",41),c(),a(6,"span",42),m(7,"payment.checkout.profileInformation"),c()()()(),s(8,"mat-card-content"),c())}function $n(t,d){t&1&&(a(0,"mat-card",18)(1,"mat-card-header")(2,"mat-card-title",38)(3,"span",39)(4,"div",40),s(5,"img",41),c(),a(6,"span",42),m(7,"payment.checkout.accountVerification"),c()()()(),s(8,"mat-card-content"),c())}function Wn(t,d){if(t&1&&(a(0,"mat-card-header")(1,"mat-card-title",38)(2,"span",43),m(3,"3."),c(),a(4,"span"),m(5),o(6,"translate"),c()()()),t&2){let e=u();
1i(5),g(p(6,1,e.isOfferBreach||e.product!=null&&e.product.isFree?"payment.checkout.paymentDetailsBreach":"payment.checkout.paymentDetails"))}}function Gn(t,d){t&1&&(a(0,"div",44)(1,"div",45)(2,"div",46),s(3,"h1",47),o(4,"translate"),c()()()),t&2&&(i(3),r("innerHTML",p(4,1,"payment.checkout.title"),h))}function Qn(t,d){t&1&&s(0,"hr",48)}function Kn(t,d){if(t&1&&(a(0,"div",49)(1,"div",50),s(2,"hr"),a(3,"div",51),m(4),o(5,"translate"),a(6,"span"),m(7),o(8,"async"),c()(),s(9,"div",52),o(10,"translate"),s(11,"hr")(12,"div",53),o(13,"translate"),c()()),t&2){let e=u();i(4),T(" ",p(5,4,"payment.checkout.newAccount.created")," "),i(3),g(p(8,6,e.email$)),i(2),r("innerHTML",p(10,8,"payment.checkout.newAccount.manageProduct"),h),i(3),r("innerHTML",p(13,10,"payment.checkout.newAccount.completeOrder"),h)}}function Xn(t,d){if(t&1&&(a(0,"div",54)(1,"div",55),m(2),o(3,"translate"),c(),s(4,"generic-product-card",4),o(5,"translate"),c()),t&2){let e=u();i(2),g(p(3,6,"payment.new-checkout.summary.exchangeTitle")),i(2),r("slim",!0)("title",e.product!=null&&e.product.productCode?p(5,8,"products."+(e.product==null?null:e.product.productCode)):"")("productIcon",e.product==null?null:e.product.productIcon)("productIconByHeight",(e.product==null?null:e.product.productCode)===e.productBundleKeys.EQUIFAX_COMPLETE_MONITOR)("noBorder",!0)}}function Yn(t,d){if(t&1&&(a(0,"div"),s(1,"generic-product-card",59),o(2,"translate"),o(3,"translate"),o(4,"translate"),c()),t&2){let e=u(2);i(),r("title",p(2,7,"products."+(e.currentProduct==null?null:e.currentProduct.productCode)))("theOtherTitle",p(3,9,"products."+(e.product==null?null:e.product.productCode)))("currentProductBreachExpiry",e.currentProductBreachExpiry)("productIcon",e.currentProductIcon?e.currentProductIcon:"")("currentProductTitle",p(4,11,"payment.currentProductCard.title"))("productBenefits",e.product==null||e.product.activeProductDetails==null?null:e.product.activeProductDetails.productBenefits)("description",e.product==null||e.product.activeProductDetails==null?null:e.product.activeProductDetails.description)}}function qn(t,d){t&1&&(s(0,"img",60),o(1,"translate")),t&2&&r("alt",oe(p(1,2,"payment.currentProductCard.exchangePhrase")))}function Jn(t,d){if(t&1&&(a(0,"div",56),_(1,Yn,5,13,"div",9)(2,qn,2,4,"img",57),s(3,"generic-product-card",58),o(4,"translate"),o(5,"translate"),c()),t&2){let e=u();r("ngClass",O(17,bn,!(e.currentProduct!=null&&e.currentProduct.productCode))),i(),r("ngIf",e.currentProduct==null?null:e.currentProduct.productCode),i(),r("ngIf",e.currentProduct==null?null:e.currentProduct.productCode),i(),r("title",p(4,13,"products."+(e.product==null?null:e.product.productCode)))("theOtherTitle",e.currentProduct!=null&&e.currentProduct.productCode?p(5,15,"products."+(e.currentProduct==null?null:e.currentProduct.productCode)):"")("productIcon",e.product==null?null:e.product.productIcon)("description",e.product==null?null:e.product.description)("productBenefits",e.product==null?null:e.product.productBenefits)("isFree",e.product==null?null:e.product.isFree)("isExchange",e.product==null?null:e.product.isExchange)("isAdditionalAdultProduct",e.commonUtil.isAdditionalAdultProductType(e.product==null?null:e.product.productCode))("productIconByHeight",(e.product==null?null:e.product.productCode)===e.productBundleKeys.EQUIFAX_COMPLETE_MONITOR)("noBorder",!(e.currentProduct!=null&&e.currentProduct.productCode))}}function Zn(t,d){t&1&&(s(0,"div",61),o(1,"translate")),t&2&&r("innerHTML",p(1,1,"payment.new-checkout.summary.quebecDisclaimer"),h)}function er(t,d){t&1&&(s(0,"p",14),o(1,"translate")),t&2&&r("innerHTML",p(1,1,"payment.checkout.upsellToBreach.noticeForFF"),h)}function tr(t,d){if(t&1&&(a(0,"div",66)(1,"div",67),s(2,"p",14),o(3,"translate"),_(4,er,2,3,"p",11),s(5,"p",14),o(6,"translate"),o(7,"translate"),c()()),t&2){let e=u(2);i(2),r("innerHTML",p(3,3,"payment.checkout.upsellToBreach.notice"),h),i(2),r("ngIf",e.isFamilyProductPrimaryType),i(),r("innerHTML",v(7,7,"payment.checkout.upsellToBreach.notice2",k(10,Tn,p(6,5,"payment.checkout.submitButton"),e.upsellToBreachExpiry)),h)}}function ir(t,d){if(t&1&&(s(0,"p",78),o(1,"formatPrice"),o(2,"date"),o(3,"translate")),t&2){let e=u(3);r("innerHTML",v(3,6,"payment.new-checkout.paymentTermsNormal",K(9,Sn,p(1,1,e.product==null?null:e.product.subTotal),v(2,3,e.newMonthlySubscriptionDate,"yyyy/MM/dd"),e.phoneNumber)),h)}}function nr(t,d){if(t&1&&(s(0,"p",78),o(1,"formatPrice"),o(2,"formatPrice"),o(3,"date"),o(4,"translate")),t&2){let e=u(3);r("innerHTML",v(4,8,"payment.new-checkout.paymentTermsExchange",st(11,wn,p(1,1,e.product==null?null:e.product.exchangeAmount),p(2,3,e.product==null?null:e.product.subTotal),v(3,5,e.newMonthlySubscriptionDate,"yyyy/MM/dd"),e.phoneNumber)),h)}}function rr(t,d){if(t&1&&(s(0,"p",78),o(1,"formatPrice"),o(2,"translate")),t&2){let e=u(3);r("innerHTML",v(2,3,"payment.new-checkout.paymentTermsFreeTrial",K(6,En,p(1,1,e.product.subTotal),e.product.trialPeriod,e.phoneNumber)),h)}}function or(t,d){if(t&1&&(s(0,"p",78),o(1,"formatPrice"),o(2,"formatPrice"),o(3,"translate")),t&2){let e=u(3);r("innerHTML",v(3,5,"payment.new-checkout.paymentTermsPaidTrial",st(8,kn,p(1,1,e.product.subTotal),e.product.trialPeriod,p(2,3,e.product.trialPrice),e.phoneNumber)),h)}}function ar(t,d){if(t&1&&(a(0,"div",79),s(1,"p",14),o(2,"translate"),s(3,"p",14),o(4,"translate"),o(5,"translate"),o(6,"translate"),c()),t&2){let e=u(3);i(),r("innerHTML",p(2,2,"payment.checkout.breachUpsellToPaid.notice1"),h),i(2),r("innerHTML",v(6,8,"payment.checkout.breachUpsellToPaid.notice2",K(11,In,p(4,4,e.showExistingCardDetail
1s?"payment.paymentDetails.submitButton":"payment.paymentDetails.submitButton2"),e.currentProductBreachExpiry,p(5,6,"products."+e.product.productCode))),h)}}function cr(t,d){if(t&1&&(s(0,"iframe",80),o(1,"translate")),t&2){let e=u(3);r("title",oe(p(1,3,"payment.paymentDetails.frame")))("srcdoc",e.iFrameSrc,h)}}function pr(t,d){if(t&1&&(s(0,"iframe",81,0),o(2,"translate")),t&2){let e=u(3);r("title",oe(p(2,3,"payment.paymentDetails.frame")))("src",e.iFrameUrl,wt)}}function dr(t,d){if(t&1&&(a(0,"p",90),s(1,"span",14),o(2,"translate"),m(3,": "),a(4,"b"),m(5),c()()),t&2){let e=u(4);i(),r("innerHTML",p(2,2,"payment.paymentDetails.expiringOn"),h),i(4),g(e.billingDetails.expirationDateFormatted)}}function lr(t,d){t&1&&(s(0,"span",14),o(1,"translate")),t&2&&r("innerHTML",p(1,1,"payment.paymentDetails.submitButton"),h)}function sr(t,d){t&1&&s(0,"span",36)}function mr(t,d){t&1&&(a(0,"span"),m(1,"\xA0\xA0"),c())}function ur(t,d){t&1&&(s(0,"span",14),o(1,"translate")),t&2&&r("innerHTML",p(1,1,"payment.new-checkout.processingText"),h)}function gr(t,d){if(t&1){let e=E();a(0,"div",82),s(1,"p",83),o(2,"translate"),_(3,dr,6,4,"p",84),a(4,"button",85),b("click",function(){y(e);let n=u(3);return M(n.onUseAnotherCard.emit())}),m(5," payment.paymentDetails.useDifferentCard "),c(),a(6,"p",86),m(7,"payment.paymentDetails.clickBelowHint"),c(),a(8,"div",87)(9,"button",88),b("click",function(){y(e);let n=u(3);return M(n.clickBuyWithExistingCard.emit())}),_(10,lr,2,3,"span",11)(11,sr,1,0,"span",10)(12,mr,2,0,"span",9)(13,ur,2,3,"span",11),c(),a(14,"div")(15,"a",89),b("click",function(){y(e);let n=u(3);return M(n.dispatchCancel.emit())}),m(16,"common.cancelButton"),c()()()()}if(t&2){let e=u(3);i(),r("innerHTML",v(2,7,e.billingDetails.creditCardType==="Digital Wallet"?"payment.paymentDetails.useCurrentPayment":"payment.paymentDetails.useCurrentCard",K(10,Bn,e.billingDetails.creditCardType,e.billingDetails.lastFourDigits,e.billingDetails.paymentMethodCdType)),h),i(2),r("ngIf",e.billingDetails.expirationDate!=="XXXX"),i(6),r("disabled",e.buttonProcessing),i(),r("ngIf",!e.buttonProcessing),i(),r("ngIf",e.buttonProcessing),i(),r("ngIf",e.buttonProcessing),i(),r("ngIf",e.buttonProcessing)}}function hr(t,d){if(t&1){let e=E();a(0,"div",68),s(1,"h2",69),o(2,"translate"),_(3,ir,4,13,"p",70)(4,nr,5,16,"p",70)(5,rr,3,10,"p",70)(6,or,4,13,"p",70)(7,ar,7,15,"div",71),s(8,"h2",72),o(9,"translate"),a(10,"div",73)(11,"div",74),b("@flashhighlight.done",function(){y(e);let n=u(2);return M(n.flashHightlight=!1)}),_(12,cr,2,5,"iframe",75)(13,pr,3,5,"iframe",76),c(),_(14,gr,17,14,"div",77),c()()}if(t&2){let e=u(2);i(),r("innerHTML",p(2,11,"payment.checkout.paymentTermsTitle"),h),i(2),r("ngIf",!e.isTrial&&!(e.product!=null&&e.product.isExchange)),i(),r("ngIf",e.product==null?null:e.product.isExchange),i(),r("ngIf",e.isTrial&&e.isFreeTrial),i(),r("ngIf",e.isTrial&&!e.isFreeTrial),i(),r("ngIf",e.showUpsellFromBreachToPaidLegal),i(),r("innerHTML",p(9,13,"payment.paymentDetails.title"),h),i(3),r("@flashhighlight",e.flashHightlight),i(),r("ngIf",e.showIframe&&e.iFrameSrc),i(),r("ngIf",e.showIframe&&e.iFrameUrl),i(),r("ngIf",e.showExistingCardDetails)}}function fr(t,d){t&1&&(s(0,"span",14),o(1,"translate")),t&2&&r("innerHTML",p(1,1,"payment.checkout.submitButton"),h)}function _r(t,d){t&1&&s(0,"span",36)}function xr(t,d){t&1&&(a(0,"span"),m(1,"\xA0\xA0"),c())}function Cr(t,d){t&1&&(s(0,"span",14),o(1,"translate")),t&2&&r("innerHTML",p(1,1,"payment.new-checkout.processingText"),h)}function vr(t,d){if(t&1){let e=E();a(0,"div",91)(1,"button",88),b("click",function(){y(e);let n=u(2);return M(n.clickBuyWithFulfill.emit())}),_(2,fr,2,3,"span",11)(3,_r,1,0,"span",10)(4,xr,2,0,"span",9)(5,Cr,2,3,"span",11),c()()}if(t&2){let e=u(2);i(),r("disabled",e.buttonProcessing),i(),r("ngIf",!e.buttonProcessing),i(),r("ngIf",e.buttonProcessing),i(),r("ngIf",e.buttonProcessing),i(),r("ngIf",e.buttonProcessing)}}function Pr(t,d){if(t&1&&(a(0,"div",62),_(1,tr,8,13,"div",63)(2,hr,15,15,"div",64)(3,vr,6,5,"div",65),c()),t&2){let e=u();i(),r("ngIf",e.isOfferBreach),i(),r("ngIf",!(e.product!=null&&e.product.isFree)),i(),r("ngIf",e.isFreeProduct)}}var Oi=(()=>{class t{constructor(e,l){this.preferencesService=e,this.productBundleService=l,this.isDestroyed$=new V,this.commonUtil=W,this.clickBuyWithExistingCard=new $,this.clickBuyWithFulfill=new $,this.clickBuyScrollToIframe=ne
1w $,this.dispatchCancel=new $,this.gotoDashboard=new $,this.logout=new $,this.onUseAnotherCard=new $,this.toggleMarketingCheckBox=new $,this.flashHightlight=!1,this.sDetailExpanded=!1,this.marketingChecked=!1,this.email$=this.preferencesService.email,this.productBundleKeys=j,this.isFamilyProductPrimaryType=!1}ngOnInit(){this.isFamilyProductPrimaryType=this.productBundleService.isFamilyProductPrimaryType()}ngOnDestroy(){this.isDestroyed$.next(!0),this.isDestroyed$.complete()}get hasMultipleSections(){let e=!!this.product?.refundTotal,l=!!this.product?.isExchange,n=!!this.product?.trialPeriod;return e||l||n}get billingCycleWord(){return this.product?.offerPeriod>1?this.product?.billingPeriod?.toLowerCase()+"WordPLu":this.product?.billingPeriod?.toLowerCase()+"Word"}get billingCyclePer(){return this.product?.billingPeriod?this.product?.billingPeriod?.toLowerCase()+"Slash":""}toggleDetails(){this.sDetailExpanded=!this.sDetailExpanded}triggerCheckout(){this.isFreeProduct?this.clickBuyWithFulfill.emit():this.showExistingCardDetails?this.clickBuyWithExistingCard.emit():(document.getElementsByClassName("paymentTitleBlock")?.[0]?.scrollIntoView({behavior:"smooth"}),this.flashHightlight=!0)}static{this.\u0275fac=function(l){return new(l||t)(x(te),x(Z))}}static{this.\u0275cmp=w({type:t,selectors:[["new-checkout-component"]],viewQuery:function(l,n){if(l&1&&Fe(yn,5),l&2){let f;Ae(f=Le())&&(n.paymentIframe=f.first)}},inputs:{loading:"loading",buttonProcessing:"buttonProcessing",currentProduct:"currentProduct",currentProductIcon:"currentProductIcon",isOfferBreach:"isOfferBreach",isFreeProduct:"isFreeProduct",isPromoCodeProduct:"isPromoCodeProduct",hasActiveProduct:"hasActiveProduct",isNewUser:"isNewUser",currentProductBreachExpiry:"currentProductBreachExpiry",product:"product",showExistingCardDetails:"showExistingCardDetails",showIframe:"showIframe",showUpsellFromBreachToPaidLegal:"showUpsellFromBreachToPaidLegal",isTrial:"isTrial",isFreeTrial:"isFreeTrial",newMonthlySubscriptionDate:"newMonthlySubscriptionDate",phoneNumber:"phoneNumber",iFrameSrc:"iFrameSrc",iFrameUrl:"iFrameUrl",billingDetails:"billingDetails",showInvalidInvitationModal:"showInvalidInvitationModal",invalidInvitationStatus:"invalidInvitationStatus",showBlackoutError$:"showBlackoutError$",upsellToBreachExpiry:"upsellToBreachExpiry"},outputs:{clickBuyWithExistingCard:"clickBuyWithExistingCard",clickBuyWithFulfill:"clickBuyWithFulfill",clickBuyScrollToIframe:"clickBuyScrollToIframe",dispatchCancel:"dispatchCancel",gotoDashboard:"gotoDashboard",logout:"logout",onUseAnotherCard:"onUseAnotherCard",toggleMarketingCheckBox:"toggleMarketingCheckBox"},standalone:!1,decls:54,vars:68,consts:[["paymentIframe",""],[1,"checkout-sidebar"],["class","mobile-header-container",4,"ngIf"],[1,"mobile-header-container"],[3,"slim","title","productIcon","productIconByHeight","noBorder"],[1,"summary-container"],[3,"product","newMonthlySubscriptionDate"],["class","summary-checkout-note",4,"ngIf"],[1,"efx-button-primary","summary-checkout",3,"click","ngClass","disabled"],[4,"ngIf"],["class","spinner-border spinner-border-sm","role","status","aria-live","assertive",4,"ngIf"],[3,"innerHTML",4,"ngIf"],["class","efx-button-link summary-checkout-link","style","font-size: 16px","translate","",3,"click",4,"ngIf"],[1,"marketingCheckBox",3,"ngModelChange","ngModel"],[3,"innerHTML"],[1,"sectigo-container-desktop"],[1,"left"],["class","stepper",4,"ngIf"],[1,"stepper"],["class","frow items-center",4,"ngIf"],[1,"content"],["class","divider",4,"ngIf"],["class","checkout-welcome mx-auto",4,"ngIf"],["class","exchangeProductHeader",4,"ngIf"],["class","product-wrapper",3,"ngClass",4,"ngIf"],["class","qcDisclaimer",3,"innerHTML",4,"ngIf"],["class","checkout-container efx-l-margin-medium--top",4,"ngIf"],["id","invalid-invitation-modal",1,"error-modal",3,"showChange","onHide","show","showSubmit","showCancel","showClose","preventDefaultClose","showFooter","fadeIn"],[1,"invitation-invalid-message","text-left",3,"innerHTML"],[1,"text-center","efx-l-margin-xlarge--top"],["id","invitation-invalid-dasboard","translate","",1,"col-md-12","col-lg-8","efx-button","efx-button-tertiary",3,"click"],["id","blackout-error-modal","title","",1,"error-modal","request-issue-modal","efx-modal-md",3,"onHide","show","showClose","showCancel","showSubmit","showFooter","fadeIn","preventDefaultClose"],[3,"showBlackoutMessage"],[1,"sectigo-container-mobile-and-tablet"],[1,"registration-header"],[1,"summary-checkout-note"],["role","status","aria-live","assertive",1,"spinner-border","spinner-border-sm"],["translate","",1,"efx-button-link","summary-checkout-link",2,"font-size","16px",3,"click"],[1,"stepper-title"],[1,"stepper-title-icon"],[1,"wrapper"],["src","assets/icons/efx-icon--registration-checked.svg","alt","checked"],["translate",""],[1,"stepper-number"],[1,"frow","items-center"],[1,"col-md-1-1","col-sm-1-1","col-xs-1-1"],[1,"header-checkout","non-stepper-header"],[1,"text-center",3,"innerHTML"],[1,"divi
1der"],[1,"checkout-welcome","mx-auto"],[1,"efx-type--center","efx-l-margin-xxxlarge--top"],[1,"h3","efx-l-margin-medium--bottom"],[1,"h3","efx-type-large-body","efx-l-pad-medium--bottom",3,"innerHTML"],[1,"h3",3,"innerHTML"],[1,"exchangeProductHeader"],[1,"exChangeTitle"],[1,"product-wrapper",3,"ngClass"],["class","movingTo","src","/assets/icons/efx-icon--arrow-right.svg",3,"alt",4,"ngIf"],[3,"title","theOtherTitle","productIcon","description","productBenefits","isFree","isExchange","isAdditionalAdultProduct","productIconByHeight","noBorder"],[3,"title","theOtherTitle","currentProductBreachExpiry","productIcon","currentProductTitle","productBenefits","description"],["src","/assets/icons/efx-icon--arrow-right.svg",1,"movingTo",3,"alt"],[1,"qcDisclaimer",3,"innerHTML"],[1,"checkout-container","efx-l-margin-medium--top"],["id","breach-upsell","class","efx-l-margin-small--top",4,"ngIf"],["id","payment-details","class","efx-l-margin-small--top payment-details-container",4,"ngIf"],["class","col-md-12 no-current-product-checkout-button-container",4,"ngIf"],["id","breach-upsell",1,"efx-l-margin-small--top"],[1,"efx-l-pad-medium--bottom","breach-upsell-container"],["id","payment-details",1,"efx-l-margin-small--top","payment-details-container"],[1,"efx-l-margin-large--bottom","efx-l-margin-xxxlarge--top","efx-l-pad-medium--top",3,"innerHTML"],["class","payment-term-text",3,"innerHTML",4,"ngIf"],["class","breach-upsell-to-paid",4,"ngIf"],[1,"paymentTitleBlock","efx-l-margin-xlarge--bottom","efx-l-margin-xxxlarge--top","efx-l-pad-medium--top",3,"innerHTML"],[1,"payment-details","efx-l-margin-small--top","payment-separator"],[1,"payment-input-block","efx-l-margin-small--top"],["class","payment-iframe","width","300","height","300",3,"srcdoc","title",4,"ngIf"],["class","payment-iframe","width","300","height","300","allow","payment",3,"src","title",4,"ngIf"],["id","existing-card-details",4,"ngIf"],[1,"payment-term-text",3,"innerHTML"],[1,"breach-upsell-to-paid"],["width","300","height","300",1,"payment-iframe",3,"srcdoc","title"],["width","300","height","300","allow","payment",1,"payment-iframe",3,"src","title"],["id","existing-card-details"],[1,"mb-0",3,"innerHTML"],["class","mb-0",4,"ngIf"],["translate","",1,"efx-button-link","font-weight-normal","p-0",2,"font-size","16px",3,"click"],["translate","",1,"efx-l-margin-xxxlarge--top","text-center",2,"font-size","14px"],[1,"text-center"],[1,"no-current-product-checkout-button",3,"click","disabled"],["routerLink","/dashboard","translate","",1,"efx-button-link",3,"click"],[1,"mb-0"],[1,"col-md-12","no-current-product-checkout-button-container"]],template:function(l,n){l&1&&(a(0,"div",1),_(1,Dn,4,3,"div",2)(2,Hn,4,3,"div",2),a(3,"div",3),s(4,"generic-product-card",4),o(5,"translate"),c(),a(6,"div",5),s(7,"checkout-summary-component",6),_(8,Fn,3,3,"div",7),a(9,"button",8),b("click",function(){return n.triggerCheckout()}),_(10,An,3,3,"span",9)(11,Ln,3,3,"span",9)(12,Nn,3,3,"span",9)(13,Rn,1,0,"span",10)(14,zn,2,0,"span",9)(15,Un,2,3,"span",11),c(),_(16,jn,2,0,"button",12),a(17,"div")(18,"mat-checkbox",13),lt("ngModelChange",function(C){return dt(n.marketingChecked,C)||(n.marketingChecked=C),C}),b("ngModelChange",function(C){return n.toggleMarketingCheckBox.emit(C)}),s(19,"p",14),o(20,"translate"),s(21,"div",14),o(22,"translate"),c()()(),a(23,"div",15),s(24,"sectigo-seal"),c()(),a(25,"div",16),_(26,Vn,9,0,"mat-card",17)(27,$n,9,0,"mat-card",17),a(28,"mat-card",18),_(29,Wn,7,3,"mat-card-header",9)(30,Gn,5,3,"div",19),a(31,"mat-card-content",20),_(32,Qn,1,0,"hr",21)(33,Kn,14,12,"div",22)(34,Xn,6,10,"div",23)(35,Jn,6,19,"div",24)(36,Zn,2,3,"div",25)(37,Pr,4,3,"div",26),a(38,"efx-modal",27),lt("showChange",function(C){return dt(n.showInvalidInvitationModal,C)||(n.showInvalidInvitationModal=C),C}),b("onHide",function(){return n.gotoDashboard.emit()}),a(39,"h3"),s(40,"b",14),o(41,"translate"),c(),s(42,"br")(43,"div",28),o(44,"translate"),o(45,"translate"),a(46,"div",29)(47,"button",30),b("click",function(){return n.gotoDashboard.emit()}),m(48," payment.invalidInvitation.goToMyDashboard "),c()()(),a(49,"efx-modal",31),o(50,"async"),b("onHide",function(){return n.logout.emit()}),s(51,"server-error-modal-content",32),c()()(),a(52,"div",33),s(53,"sectigo-seal"),c()()),l&2&&(i(),r("ngIf",n.isNewUser&&!n.hasActiveProduct),i(),r("ngIf",!n.isNewUser||n.isNewUser&&n.hasActiveProduct),i(2),r("slim",!0)("title",n.product!=null&&n.product.productC
1ode?p(5,49,"products."+(n.product==null?null:n.product.productCode)):"")("productIcon",n.product==null?null:n.product.productIcon)("productIconByHeight",(n.product==null?null:n.product.productCode)===n.productBundleKeys.EQUIFAX_COMPLETE_MONITOR)("noBorder",!0),i(3),r("product",n.product)("newMonthlySubscriptionDate",n.newMonthlySubscriptionDate),i(),r("ngIf",n.showExistingCardDetails),i(),r("ngClass",O(64,Mn,!n.showExistingCardDetails))("disabled",n.buttonProcessing),i(),r("ngIf",!n.buttonProcessing&&(n.product==null?null:n.product.isFree)),i(),r("ngIf",!n.buttonProcessing&&n.showExistingCardDetails),i(),r("ngIf",!n.buttonProcessing&&!(n.product!=null&&n.product.isFree)&&!n.showExistingCardDetails),i(),r("ngIf",n.buttonProcessing),i(),r("ngIf",n.buttonProcessing),i(),r("ngIf",n.buttonProcessing),i(),r("ngIf",n.showExistingCardDetails),i(2),pt("ngModel",n.marketingChecked),i(),r("innerHTML",p(20,51,"payment.new-checkout.summary.marketingCheckBox"),h),i(2),r("innerHTML",p(22,53,"payment.new-checkout.summary.marketingCheckBoxNote"),h),i(5),r("ngIf",n.isNewUser&&!n.hasActiveProduct),i(),r("ngIf",n.isNewUser&&!n.hasActiveProduct),i(2),r("ngIf",n.isNewUser&&!n.hasActiveProduct),i(),r("ngIf",!n.isNewUser&&!n.hasActiveProduct||n.hasActiveProduct),i(2),r("ngIf",n.isNewUser&&!n.hasActiveProduct),i(),r("ngIf",n.isNewUser&&!n.hasActiveProduct),i(),r("ngIf",(n.currentProduct==null?null:n.currentProduct.productCode)&&(n.product==null?null:n.product.productCode)),i(),r("ngIf",n.product),i(),r("ngIf",n.product),i(),r("ngIf",n.product),i(),pt("show",n.showInvalidInvitationModal),r("showSubmit",!1)("showCancel",!1)("showClose",!0)("preventDefaultClose",!1)("showFooter",!1)("fadeIn",!1),i(2),r("innerHTML",p(41,55,"payment.invalidInvitation."+n.invalidInvitationStatus+".header"),h),i(3),r("innerHTML",v(45,59,"payment.invalidInvitation."+n.invalidInvitationStatus+".message",O(66,On,p(44,57,"products."+(n.product==null?null:n.product.productCode)))),h),i(6),r("show",p(50,62,n.showBlackoutError$))("showClose",!1)("showCancel",!1)("showSubmit",!1)("showFooter",!1)("fadeIn",!1)("preventDefaultClose",!1),i(2),r("showBlackoutMessage",!0))},dependencies:[jt,he,X,z,Jt,Rt,zt,Ge,ti,ri,gi,fi,_i,hi,et,Mi,J,Ht,le,ie],styles:["@media(min-width:992px){.modal-open[_nghost-%COMP%]   .checkout-sidebar[_ngcontent-%COMP%], .modal
1-open   [_nghost-%COMP%]   .checkout-sidebar[_ngcontent-%COMP%]{position:relative}}[_nghost-%COMP%]{display:flex;justify-content:center;background-color:#fff;flex-direction:column;align-items:center;gap:24px;padding:20px}@media(min-width:576px){[_nghost-%COMP%]{background-color:#f8f9fa}}@media(min-width:992px){[_nghost-%COMP%]{flex-direction:row-reverse;align-items:flex-start;padding:30px}}[_nghost-%COMP%]   .checkout-sidebar[_ngcontent-%COMP%]{width:100%;max-width:379px;border-radius:8px;display:flex;flex-direction:column;justify-content:center}@media(min-width:992px){[_nghost-%COMP%]   .checkout-sidebar[_ngcontent-%COMP%]{position:sticky;align-self:flex-start;top:0}}[_nghost-%COMP%]   .mobile-header-container[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:8px;margin-bottom:8px}@media(min-width:992px){[_nghost-%COMP%]   .mobile-header-container[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .mobile-header-container[_ngcontent-%COMP%]   .registration-header[_ngcontent-%COMP%]{font-size:24px;color:#333e48;font-weight:700}[_nghost-%COMP%]   .left[_ngcontent-%COMP%]{width:100%;max-width:665px;border-radius:8px}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]{color:#333e48;border:1px solid #e5ebed;background-color:#fff;border-radius:8px;padding:24px;font-size:14px;font-weight:400;line-height:20px}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]   .summary-checkout-note[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:16px auto 0;text-align:center;font-size:14px;font-weight:400;line-height:20px}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]   .summary-checkout[_ngcontent-%COMP%]{min-width:250px;display:flex;justify-content:center;margin:5px auto}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]   .summary-checkout.spacer[_ngcontent-%COMP%]{margin:32px auto}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]   .summary-checkout-link[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:5px auto 16px}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]     .efx-modal{margin-top:130px}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]     .marketingCheckBox .mdc-form-field{align-items:flex-start}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]     .marketingCheckBox .mdc-checkbox{top:-7px}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]     .marketingCheckBox .mdc-checkbox--selected~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:#03a9f41a}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]     .marketingCheckBox .mdc-checkbox--selected~.mdc-checkbox__ripple{background:#03a9f4!important}[_nghost-%COMP%]   .summary-container[_ngcontent-%COMP%]     .marketingCheckBox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background{background-color:#0093c9;border-color:#0093c9}[_nghost-%COMP%]     .sectigo-container-mobile-and-tablet .sectigo-seal{display:flex;justify-content:center}@media(min-width:992px){[_nghost-%COMP%]     .sectigo-container-mobile-and-tablet .sectigo-seal{display:none}}[_nghost-%COMP%]     .sectigo-container-desktop .sectigo-seal{display:none}@media(min-width:992px){[_nghost-%COMP%]     .sectigo-container-desktop .sectigo-seal{display:flex;margin:16px auto;justify-content:center}}[_nghost-%COMP%]   .stepper[_ngcontent-%COMP%]{width:100%;margin-bottom:20px;border-bottom:1px solid #e5ebed}[_nghost-%COMP%]   .stepper[_ngcontent-%COMP%]   .stepper-title[_ngcontent-%COMP%]{font-size:20px;color:#333e48;font-weight:700}@media(min-width:576px){[_nghost-%COMP%]   .stepper[_ngcontent-%COMP%]   .stepper-title[_ngcontent-%COMP%]{font-size:22px}}[_nghost-%COMP%]   .stepper[_ngcontent-%COMP%]   .stepper-title-icon[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%]   .stepper[_ngcontent-%COMP%]   .stepper-title-icon[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin-right:10px}[_nghost-%COMP%]   .stepper[_ngcontent-%COMP%]   .stepper-number[_ngcontent-%COMP%]{margin-right:20px;margin-left:5px}[_nghost-%COMP%]   .stepper[_ngcontent-%COMP%]   .header-checkout[_ngcontent-%COMP%]{margin:24px auto 0;text-align:center;display:none}@media(min-width:992px){[_nghost-%COMP%]   .stepper[_ngcontent-%COMP%]   .header-checkout[_ngcontent-%COMP%]{display:block}}[_nghost-%COMP%]   .stepper[_ngcontent-%COMP%]   .header-checkout.non-stepper-header[_ngcontent-%COMP%]{padding-bottom:0;padding-top:0}[_nghost-%COMP%]   .divider[_ngcontent-%COMP%]{height:3px;background:#5f6a72;border-radius:3px;margin-bottom:50px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]{padding:0 16px 16px}[_nghost-%COMP%]   .checkout-welcome[_ngcontent-%COMP%]{width:100%;max-width:500px}[_nghost-%COMP%]   .exchangeProductHeader[_ngcontent-%COMP%]{margin:20px}[_nghost-%COMP%]   .exchangeProductHeader[_ngcontent-%COMP%]   .exChangeTitle[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:36px;text-align:left}@media(min-width:768px){[_nghost-%COMP%]   .exchangeProductHeader[_ngcontent-%COMP%]   .exChangeTitle[_ngcontent-%COMP%]{font-size:24px}}[_nghost-%COMP%]   .product-wrapper[_ngcontent-%COMP%]{margin:0 auto;display:flex;gap:20px;flex-direction:column}[_nghost-%COMP%]   .product-wrapper.single[_ngcontent-%COMP%]{max-width:500px}@media(min-width:768px){[_nghost-%COMP%]   .product-wrapper[_ngcontent-%COMP%]{flex-direction:row;gap:5px}[_nghost-%COMP%]   .product-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:50%;flex-grow:0;height:auto}[_nghost-%COMP%]   .product-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(2){flex-basis:auto}[_nghost-%COMP%]   .product-wrapper.single[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:100%}}[_nghost-%COMP%]   .product-wrapper[_ngcontent-%COMP%]   .movingTo[_ngcontent-%COMP%]{width:24px;rotate:90deg;margin:0 auto}@media(min-width:768px){[_nghost-%COMP%]   .product-wrapper[_ngcontent-%COMP%]   .movingTo[_ngcontent-%COMP%]{rotate:0deg}}[_nghost-%COMP%]   .qcDisclaimer[_ngcontent-%COMP%]{max-width:500px;margin:20px auto 0}[_nghost-%COMP%]   .checkout-container[_ngcontent-%COMP%]{max-width:500px;margin:0 auto}[_nghost-%COMP%]   .checkout-container[_ngcontent-%COMP%]   .breach-upsell-container[_ngcontent-%COMP%]{margin:30px 0 0}[_nghost-%COMP%]   .checkout-container[_ngcontent-%COMP%]   .payment-term-text[_ngcontent-%COMP%]{margin:auto;font-size:16px;line-height:24px}[_nghost-%COMP%]   .checkout-container[_ngcontent-%COMP%]   .breach-upsell-to-paid[_ngcontent-%COMP%]{margin-top:16px}[_nghost-%COMP%]   .checkout-container[_ngcontent-%COMP%]   .payment-iframe[_ngcontent-%COMP%]{width:100%;height:1200px;border:none}[_nghost-%COMP%]   .checkout-container[_ngcontent-%COMP%]   .payment-iframe-spinner[_ngcontent-%COMP%]{background-image:url(/assets/img/efx-spinner.gif);background-position:center;background-repeat:no-repeat;background-color:#fff}[_nghost-%COMP%]   .checkout-container[_ngcontent-%COMP%]   .no-current-product-checkout-button-container[_ngcontent-%COMP%]{max-width:601px;margin:auto;text-align:center}[_nghost-%COMP%]   .checkout-container[_ngcontent-%COMP%]   .no-current-product-checkout-button[_ngcontent-%COMP%]{outline:none;min-height:56px;width:auto;min-width:250px;border-radius:10px;background-color:#333e48;color:#fff;cursor:pointer;margin:0 auto 10px}
1"],data:{animation:[me("expanded",[ue("true",H({height:se,visibility:se,opacity:1})),ue("false",H({height:"0",visibility:"hidden",opacity:0})),q("true => false",Y("300ms ease-in")),q("false => true",Y("300ms ease-out"))]),me("flashhighlight",[q("* => true",Y("2s",Re([H({"box-shadow":"0 0 10px #FAD1D9FF",offset:0}),H({"box-shadow":"0 0 10px #E70033FF",offset:.5}),H({"box-shadow":"none",offset:1})])))])]},changeDetection:0})}}return t})();var Tr=["NewCheckout"],Si=(()=>{class t{get isTrial(){return!!this.product?.trialPeriod}get isFreeTrial(){return!+this.product?.trialTotal}get exchangeMonthlyAmount(){return this.product?.exchangeTotal.toFixed(2)}get isFreeProduct(){return this.product?.isFree}get isPromoCodeProduct(){return!!this.product?.offer?.offerCode}get isExchangeProduct(){return this.product?.isExchange}get isFreeToPaidExchange(){return this.product?.isFreeToPaidExchange}get isPaymentFormShown(){return!this.isFreeProduct}get showIframe(){return(this.iFrameSrc||this.iFrameUrl)&&(!this.billingDetailsLoaded||this.useAnotherCard)}get showExistingCardDetails(){return this.billingDetailsLoaded&&!this.useAnotherCard}constructor(e,l,n,f,C,I,ye,F,Me,Oe,be,ne,Te,re,L,it,nt,ht,rt,Ni){this.analyticsService=e,this.router=l,this.billingService=n,this.storageService=f,this.fulfillmentService=C,this.route=I,this.roleService=ye,this.efxMessageService=F,this.preferencesService=Me,this.translateService=Oe,this.paymentService=be,this.sanitizer=ne,this.cdRef=Te,this.productBundleService=re,this.authService=L,this.featureService=it,this.phoneNumberHandlerService=nt,this.productInfoService=ht,this.hashTaggingService=rt,this.onboardingFeaturesService=Ni,this.bindedHandlePaymentEvent=this.handlePaymentEvent.bind(this),this.isDestroyed$=new V,this.isInitiateDestroyed$=new V,this.showBlackoutError$=new ot(!1),this.isInitiateCallFinalized=new ot(!1),this.isInitiateCallInCaseOfEmptyDetailsPerformed=!1,this.isProductIntent=!1,this.loading=!1,this.checkoutProcessing=!1,this.iframeProcessing=!1,this.billingDetailsLoaded=!1,this.isAgent=this.roleService.isAgent(),this.showInvalidInvitationModal=!1,this.isAdditionalAdultProduct=!1,this.hasActiveProduct=!1,this.showUpsellFromBreachToPaidLegal=!1,this.upsellToBreachExpiry="",this.currentProductBreachExpiry="",this.isFromMarketing=!1,this.allowCrossSellingExchange=!1,this.isOfferBreach=!1,this.currentMarketingCheckBoxValue=!1,this.useAnotherCard=!1,this.isNewUser=!1,this.stepDefinition={steps:[{label:"payment.checkout.progressBar.info"},{label:"payment.checkout.progressBar.account"},{label:"payment.checkout.progressBar.verify"},{label:"payment.checkout.progressBar.checkout"}],currentValue:4,isFinished:!1},this.messageData={primaryMessage:"",secondaryMessage:""},this.phoneNumber=""}ngOnInit(){this.setHasActiveProduct(),this.clearSessionStorage(),this.getProductInfo(),this.setIsNewUser(),this.currentProduct=this.getCurrentProduct(),this.translateService.onLangChange.pipe(S(this.isDestroyed$)).subscribe(()=>this.getProductInfo()),this.isInitiateCallFinalized.pipe(S(this.isInitiateDestroyed$)).subscribe(e=>{e&&!this.isInitiateCallInCaseOfEmptyDetailsPerformed&&!this.billingDetailsLoaded&&(this.loading=!0,this.onUseAnotherCard())}),this.productInfoService.getProductInfo().pipe(S(this.isDestroyed$)).subscribe(()=>{this.hashTaggingService.trackPIIEvent()}),this.productInfoService.productInfo$.pipe(S(this.isDestroyed$)).subscribe(e=>{let{info:l}=e,{expirationDate:n}=l||{};this.currentProductBreachExpiry=n,this.cdRef.markForCheck()})}ngOnDestroy(){this.isDestroyed$.next(void 0),this.isDestroyed$.complete(),this.storageService.removeItem(Ve.PRODUCT_FOR_CHECKOUT),Ee.removeIframeListener(this.bindedHandlePaymentEvent)}getProductIcon(e){return this.productBundleService.getProductIcon(e)}getCurrentProduct(){let e=this.productBundleService.getAllProductBundles();return e[Object.keys(e||"")[0]]}gotoDashboard(){this.loading=!0,this.showInvalidInvitationModal=!1,this.isAdditionalAdultProduct=!1,this.router.navigate(["/dashboard"]),this.dispatchCancel()}goToEnrolledOrder(){this.router.navigate([P.PAYMENT,P.ENROLLED_ORDER])}handlePaymentEvent(e){let l=!1;this.iFrameSrc&&(l=Ee.isSameOrigin(e)),this.iFrameUrl&&(l=this.newCheckoutComponent?.paymentIframe?.nativeElement?.src?.startsWith(e?.origin)),l&&(e?.data?.action==="mask"&&(this.iframeProcessing=!0,this.cdRef.markForCheck()),e?.data?.action==="unmask"&&(this.iframeProcessing=!1,this.cdRef.markForCheck())),e?.data?.action==="cancel"?(this.dispatchCancel(),Ee.removeIframeListener(this.bindedHandlePaymentEvent),this.initiatePayment().pipe(S(this.isDestroyed$)).subscribe(n=>{this.triggerCheckoutAnalytics({type:"cancelIframeReLoading",err:"cancelIframeReLoading"}),this.handleInitiatePaymentData(n)},n=>{this.handleInitiatePaymentError(n)})):e?.data?.action==="close"&&e?.data?.responsemessage==="Success"?l&&e.data?.uid?(this.triggerCheckoutAnalytics({type:"redeemTriggered",err:"redeemTriggered"}),this.redeem(e.data?.uid)):(this.triggerCheckoutAnalytics({type:"paymentCloseErr",err:"paymentCloseErr"}),this.showErrorPage()):e?.data?.action==="close"&&this.triggerCheckoutAnalytics({type:"paymentCloseNonSuccess",err:"paymentCloseErr"})}gotoGeneralError(){this.router.navigate([P.ERROR,"mc-general-error"])}initiatePayment(){return this.loading=!0,this.cdRef.markForCheck(),Pt(()=>this.useAnotherCard?this.initiatePaymentDHPP():this.getBillingDetails().pipe(Mt(e=>e instanceof Lt&&e.status===404?N(null):xt(e)),Q(()=>this.billingDetailsLoaded?_t:(this.isInitiateCallInCaseOfEmptyDetailsPerformed=!0,this.initiatePaymentDHPP())))).pipe(A(()=>{this.isInitiateCallFinalized.next(!0),this.loading=!1,this.cdRef.markForCheck()}))}onUseAnotherCard(){this.isInitiateDestroyed$.next(void 0),this.useAnotherCard=!0,this.initiatePayment().pipe(A(()=>{this.loading=!1})).subscribe(e=>{this.triggerCheckoutAnalytics({type:"useAnotherCardIframeReLoading",err:"useAnotherCardIframeReLoading"}),this.handleInitiatePaymentData(e)},e=>{this.handleInitiatePaymentError(e)})}fulfillProduct(){let e=sessionStorage.getItem(P.INVITATION_ID_QUERY_PARAM),l=this.product?.offerCode,n=this.campaignCode,f=ce(ce(ce({skuId:this.product?.skuId},l?{promoCode:l}:{}),n?{campaignCode:n}:{}),e?{invitationId:e}:{});
1!e&&W.isAdditionalAdultProductType(this.product?.productCode)&&(f.invitationId="ui-missing-invitationId-for-"+this.product?.productCode),this.loading=!0,this.checkoutProcessing=!0,this.fulfillmentService.fulfillProduct(f).pipe(A(()=>{this.loading=!1,this.checkoutProcessing=!1,this.isAdditionalAdultProduct=!1,this.cdRef.markForCheck()})).subscribe(C=>{this.hasAdditionalAdultProductCheckoutError(C.statusCode)?(this.invalidInvitationStatus=wi[C.statusCode],this.showInvalidInvitationModal=!0):C.hostedPayLinkURL?document.location.href=C.hostedPayLinkURL:this.gotoOrderConfirmation()},C=>{this.triggerCheckoutAnalytics({type:"fulfillErr",err:C}),C.status===403?(this.messageData={primaryMessage:"messages.forbidden",secondaryMessage:"messages.noBillingDetails"},this.efxMessageService.showMessage("error",this.messageData)):this.showErrorPage()})}getProductInfo(){this.route.queryParams.pipe(pe(({skuId:e,invitationId:l,campaignCode:n,efxflow:f})=>{this.skuId=e,this.campaignCode=n;let{efxCheckFlow:C}=history?.state||{};this.showUpsellFromBreachToPaidLegal=C==="upb2p",this.isFromMarketing=f==="mk",this.allowCrossSellingExchange=this.isAgent,l&&(this.isAdditionalAdultProduct=!0,sessionStorage.setItem(P.INVITATION_ID_QUERY_PARAM,l))}),Q(({skuId:e,offerCode:l,campaignCode:n})=>e?this.fetchProduct(e,{offerCode:l,campaignCode:n}):N(null)),pe(e=>{e?(this.product=e,this.product.type="product-for-you"):this.product=this.storageService.get(Ve.PRODUCT_FOR_CHECKOUT),this.phoneNumber=this.phoneNumberHandlerService.determinePhoneByProductType(this.product?.productCategoryName),this.isOfferBreach=this.product?.productCategoryName?.toUpperCase()==="BREACH";let l=this.product?.productCategoryName?.toUpperCase()==="PAID";if(this.newMonthlySubscriptionDate=this.preparePeriodSubscriptionDate(),this.product&&this.product?.type===Ve.PRODUCT_INTENT_ORIGIN&&(this.isProductIntent=!0),Number.isInteger(this.product?.offerPeriod)){let n=new Date,f=new Date(n);f.setMonth(f.getMonth()+this.product?.offerPeriod),this.upsellToBreachExpiry=f.toLocaleString("en-GB",{timeZone:"America/Toronto"}).split(",")[0]}this.currentProduct?.productType==="BREACH"&&l&&(this.showUpsellFromBreachToPaidLegal=!0),this.loading=!1,this.setPageLoadAnalytics()}),Q(e=>{let l=this.isFromMarketing&&this.product?.productCode===this.currentProduct?.productCode;return this.hasActiveProduct&&e?.errorCode?N("backendErrorCodeGoExist"):!this.hasActiveProduct&&e?.errorCode?N("backendErrorCodeGoErr"):l?N("withMarketingBypassButSameProductTier"):this.product?.isFree?N(null):this.initiatePayment()}),S(this.isDestroyed$)).subscribe(e=>{e==="backendErrorCodeGoExist"?(this.triggerCheckoutAnalytics({type:"backendErrorCodeGoExist",err:e?.errorCode+"|"+e?.errorMessage}),this.goToEnrolledOrder()):e==="backendErrorCodeGoErr"?(this.triggerCheckoutAnalytics({type:"backendErrorCodeGoErr",err:e?.errorCode+"|"+e?.errorMessage}),this.showErrorPage()):e==="withMarketingBypassButSameProductTier"?(this.triggerCheckoutAnalytics({type:"alreadyEnrolledErr",err:"alreadyEnrolledErr - SameProductTier"}),this.goToEnrolledOrder()):(this.triggerCheckoutAnalytics({type:"productAndOfferLoaded",err:"productAndOfferLoaded"}),this.handleInitiatePaymentData(e))},e=>{this.handleInitiatePaymentError(e)})}logout(){this.authService.logout()}redeem(e){this.loading=!0,this.checkoutProcessing=!0,this.cdRef.markForCheck(),this.analyticsService.clickEvent("submitOrderAttempted"),this.paymentService.getDetails({campaignCode:this.campaignCode,newCardUid:e}).pipe(Q(()=>this.featureService.getFeatures()),A(()=>{this.checkoutProcessing=!1})).subscribe(()=>this.gotoOrderConfirmation(),l=>{this.triggerCheckoutAnalytics({type:"redeemErr",err:l}),this.showErrorPage()})}dispatchCancel(){this.analyticsService.clickEvent("cancelOrderAttempted")}updateCurrentMarketingCheckBoxValue(e){this.currentMarketingCheckBoxValue=e}setIsNewUser(){this.preferencesService.isNewUser.pipe(S(this.isDestroyed$)).subscribe(e=>{this.isNewUser=e})}getBillingDetails(){return this.billingService.accountSummary().pipe(pe(e=>{e.nameOnCard?(this.billingDetails=ft(ce({},e),{expirationDate:e.expirationDate,expirationDateFormatted:this.billingService.getFormatExpDate(e.expirationDate),lastFourDigits:e.creditCardNumber.slice(-4)}),this.billingDetailsLoaded=!0,this.isExpired(e.expirationDate)&&(this.billingDetailsLoaded=!1)):this.billingDetailsLoaded=!1,this.cdRef.markForCheck()},()=>{this.billingDetailsLoaded=!1}),S(this.isDestroyed$))}isExpired(e){if(!e||typeof e!="string"||!/^\d{4}$/.test(e))return!1;let l=Number.parseInt(e.slice(0,2),10),n=2e3+Number.parseInt(e.slice(2,4),10);if(l<1||l>12)return!1;let f=new Date,C=f.getMonth()+1,I=f.getFullYear();return n<I||n===I&&l<C}initiatePaymentDHPP(){let e=[this.skuId,...this.campaignCode?[this.campaignCode]:[]];return this.paymentService.initiate(...e)}fetchProduct(e,l){return this.loading=!0,this.fulfillmentService.fetchProductCatalog(e,l)}gotoCheckoutError(){this.router.navigateByUrl(Qe.GET_PRODUCT_ERROR.errorUrl)}showErrorPage(){this.isNewUser?this.gotoGeneralError():this.gotoCheckoutError()}triggerCheckoutAnalytics(e){let{type:l,err:n}=e||{},f=typeof n=="string"?n:JSON.stringify(n);f==="{}"&&(f=n?.message||n);try{let C=(this.isNewUser?"OCN-":"OCE-")+l,I={eventName:"AJAXFUNNELERROR",eventIds:["AJAXFUNNELERROR"],errorKey:C,attributes:{errorKey:C,errorMessage:f}};this.analyticsService.appendClickEvent(I)}catch{}}hasAdditionalAdultProductCheckoutError(e){let l=[tt.EXPIRED,tt.CANCELLED,tt.DIFFERENT_PERSONAL_DATA];return this.isAdditionalAdultProduct?l.includes(e):!1}clearSessionStorage(){sessionStorage.removeItem(P.SKU_ID_QUERY_PARAM),sessionStorage.removeItem(P.INVITATION_ID_QUERY_PARAM)}handleInitiatePaymentData(e){typeof e=="string"&&e?.startsWith("https://")?this.iFrameUrl=this.sanitizer.bypassSecurityTrustResourceUrl(e):this.iFrameSrc=this.sanitizer.bypassSecurityTrustHtml(e),Ee.listenIframeEvent(this.bindedHandlePaymentEvent),this.cdRef.markForCheck()}handleInitiatePaymentError(e){this.loading=!1,e instanceof pi?(this.triggerCheckoutAnalytics({type:"blackoutErr",err:e}),this.showBlackoutError$.next(!0)):e.status===429?(this.triggerCheckoutAnalytics({type:"maxCallErr",err:e}),console.log(e.status),this.router.navigate([P.ERROR,"mc-customer-care"])):(this.triggerCheckoutAnalytics({type:"initiatePaymentErr",err:e}),this.showErrorPage())}setPageLoadAnalytics(){let e=this.getPageName(),l=this.analyticsService.configObject.pageLoad["/payment/checkout"];l.pageName=e,this.analyticsService.configObject.otherEvents.checkout.pageName=e,this.analyticsService.configObject.otherEvents.cancelCheckoutProduct.pageName=e,this.analyticsService.configObject.otherEvents.submitOrderAttempted.pageName=e,this.analyticsService.configObject.otherEvents.cancelOrderAttempted.pageName=e,l.attributes=this.getAnalytisEventAttributes(),l.product={productInfo:{productID:this.product?.productC
1ode,productName:this.product?.title,description:this.product?.description}},l.campaignSourceCode=this.getCampaignCode(),this.analyticsService.configObject.pageLoad["/payment/order-confirmation"].campaignSourceCode=this.getCampaignCode(),this.setAnalyticsMetadata()}setAnalyticsMetadata(){this.analyticsService.configObject.otherEvents.submitOrderAttempted.attributes=this.getAnalytisEventAttributes(),this.analyticsService.configObject.otherEvents.cancelOrderAttempted.attributes=this.getAnalytisEventAttributes(),this.analyticsService.configObject.otherEvents.checkout.attributes=this.getAnalytisEventAttributes(),this.analyticsService.configObject.otherEvents.orderConfirmation.attributes=ce({isAgentInitiatedthis:this.isAgent},this.getAnalytisEventAttributes()),this.analyticsService.configObject.otherEvents.cancelCheckoutProduct.attributes=this.getAnalytisEventAttributes(),this.analyticsService.pageLoadRouteEvent(this.router.url),this.analyticsService.clickEvent("checkout")}getPageName(){let e="ucsc order summary";return this.isNewUser?e="ucsc registration order summary":this.productBundleService.hasPaidProduct()&&(e="ucsc exchange order summary"),e}getUpFrontCost(){return this.isTrial?this.product?.trialPrice:this.product?.subTotal}gotoOrderConfirmation(){this.onboardingFeaturesService.resetOnboardingFeatures(),this.cleanDigitalOnboardingStorageParam(),this.triggerCheckoutAnalytics({type:"goToConfirmationSuccess",err:"goToConfirmationSuccess"}),this.currentMarketingCheckBoxValue&&this.preferencesService.updateMarketingOptIn({value:this.currentMarketingCheckBoxValue}).subscribe({error:()=>{}}),this.router.navigate([P.PAYMENT,P.ORDER_CONFIRMATION])}cleanDigitalOnboardingStorageParam(){let e=this.storageService.get(Qt.CUSTOMER_KEY),l=`${Xe.WELCOME_ONBOARDING_DONT}-${e}`;localStorage.removeItem(l)}getCampaignCode(){return sessionStorage.getItem("campaignCode")||"web"}areTaxesPresent(){return this.product?.isExchange?this.product?.exchangeTaxes?.length&&this.product?.exchangeTaxes.length>=1:this.product?.taxes?.length&&this.product?.taxes.length>=1}getAnalytisEventAttributes(){let e=this.productBundleService.hasPaidProduct()?"exchange":"none";return{productID:this.product?.productCode,cartTotal:this.product?.subTotal,cost:this.getUpFrontCost(),monthlyRate:this.product?.subTotal,isExchange:e,isAgentInitiated:this.isAgent,upFrontCost:this.getUpFrontCost(),recurringCost:this.product?.subTotal,pricingOption:this.product?.billingPeriod,isParent:"parent",hasTax:this.areTaxesPresent()}}setHasActiveProduct(){let e=this.productBundleService.getAllProductBundles();for(let l in e)e[l].status===Ue.ACTIVE&&(this.hasActiveProduct=!0)}preparePeriodSubscriptionDate(){let e=this.product?.nextPaymentDateEstimate;return e||W.getNewPeriodSubscriptionDate(this.product?.billingPeriod)}static{this.\u0275fac=function(l){return new(l||t)(x(fe),x(U),x(Ye),x(je),x(Ke),x(ge),x(xe),x(Yt),x(te),x(ze),x(Ce),x(Nt),x(Dt),x(Z),x(li),x(ee),x($e),x(si),x(Ci),x(di))}}static{this.\u0275cmp=w({type:t,selectors:[["checkout"]],viewQuery:function(l,n){if(l&1&&Fe(Tr,5),l&2){let f;Ae(f=Le())&&(n.newCheckoutComponent=f.first)}},standalone:!1,decls:3,vars:27,consts:[["NewCheckout",""],[3,"shouldShow","fullScreen"],[3,"clickBuyWithExistingCard","clickBuyWithFulfill","dispatchCancel","gotoDashboard","logout","onUseAnotherCard","toggleMarketingCheckBox","loading","buttonProcessing","product","currentProductIcon","currentProduct","isOfferBreach","isFreeProduct","isPromoCodeProduct","hasActiveProduct","isNewUser","currentProductBreachExpiry","showExistingCardDetails","showIframe","showUpsellFromBreachToPaidLegal","isTrial","isFreeTrial","newMonthlySubscriptionDate","phoneNumber","iFrameSrc","iFrameUrl","billingDetails","showInvalidInvitationModal","invalidInvitationStatus","showBlackoutError$","upsellToBreachExpiry"]],template:function(l,n){if(l&1){let f=E();s(0,"mc-spinner-2",1),a(1,"new-checkout-component",2,0),b("clickBuyWithExistingCard",function(){return y(f),M(n.redeem())})("clickBuyWithFulfill",function(){return y(f),M(n.fulfillProduct())})("dispatchCancel",function(){return y(f),M(n.dispatchCancel())})("gotoDashboard",function(){return y(f),M(n.gotoDashboard())})("logout",function(){return y(f),M(n.logout())})("onUseAnotherCard",function(){return y(f),M(n.onUseAnotherCard())})("toggleMarketingCheckBox",function(I){return y(f),M(n.updateCurrentMarketingCheckBoxValue(I))}),c()}l&2&&(r("shouldShow",n.loading)("fullScreen",!0),i(),r("loading",n.loading)("buttonProcessing",n.checkoutProcessing||n.iframeProcessing)("product",n.product)("currentProductIcon",n.getProductIcon(n.currentProduct==null?null:n.currentProduct.productC
1ode))("currentProduct",n.currentProduct)("isOfferBreach",n.isOfferBreach)("isFreeProduct",n.isFreeProduct)("isPromoCodeProduct",n.isPromoCodeProduct)("hasActiveProduct",n.hasActiveProduct)("isNewUser",n.isNewUser)("currentProductBreachExpiry",n.currentProductBreachExpiry)("showExistingCardDetails",n.showExistingCardDetails)("showIframe",n.showIframe)("showUpsellFromBreachToPaidLegal",n.showUpsellFromBreachToPaidLegal)("isTrial",n.isTrial)("isFreeTrial",n.isFreeTrial)("newMonthlySubscriptionDate",n.newMonthlySubscriptionDate)("phoneNumber",n.phoneNumber)("iFrameSrc",n.iFrameSrc)("iFrameUrl",n.iFrameUrl)("billingDetails",n.billingDetails)("showInvalidInvitationModal",n.showInvalidInvitationModal)("invalidInvitationStatus",n.invalidInvitationStatus)("showBlackoutError$",n.showBlackoutError$)("upsellToBreachExpiry",n.upsellToBreachExpiry))},dependencies:[_e,Oi],styles:["#blackout-error-modal[_ngcontent-%COMP%]     .modal-header{padding:0}#blackout-error-modal[_ngcontent-%COMP%]     .modal-dialog{max-width:674px}#blackout-error-modal[_ngcontent-%COMP%]     .modal-body{padding:0}#blackout-error-modal[_ngcontent-%COMP%]     .modal-content{padding:80px 58px 4rem}@media(min-width:768px){#blackout-error-modal[_ngcontent-%COMP%]     .modal-content{padding:60px 4rem 70px}}.header-checkout[_ngcontent-%COMP%]{margin:30px auto 0;padding-top:.75rem;padding-bottom:3rem;text-align:center}.header-checkout.non-stepper-header[_ngcontent-%COMP%]{padding-bottom:0;padding-top:0}#checkout[_ngcontent-%COMP%]{margin:-3rem auto 0}#checkout[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-weight:700;line-height:2.25rem}#checkout[_ngcontent-%COMP%]     .efx-progressBar__step{z-index:1}#checkout[_ngcontent-%COMP%]     .efx-progressBar__step span{word-break:break-word}#checkout[_ngcontent-%COMP%]     input[type=number]::-webkit-outer-spin-button, #checkout[_ngcontent-%COMP%]     input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}#checkout[_ngcontent-%COMP%]     input[type=number]{-moz-appearance:textfield}#checkout[_ngcontent-%COMP%]     .efx-button-primary{width:100%}#checkout[_ngcontent-%COMP%]     .no-current-product-checkout-button-container{max-width:601px;margin:auto}#checkout[_ngcontent-%COMP%]     .no-current-product-checkout-button{outline:none!important;min-height:56px!important;width:100%!important;border-radius:10px!important;background-color:#333e48!important;color:#fff!important;cursor:pointer!important;margin-bottom:10px}#checkout[_ngcontent-%COMP%]   .efx-hero-banner[_ngcontent-%COMP%]{padding:0;margin:-1rem}#checkout[_ngcontent-%COMP%]   .efx-hero-banner.non-stepper-banner[_ngcontent-%COMP%]{background-image:none;width:80%;margin:auto auto 1em;min-height:120px}@media(min-width:768px){#checkout[_ngcontent-%COMP%]   .efx-hero-banner.non-stepper-banner[_ngcontent-%COMP%]{margin-bottom:2em}}#checkout[_ngcontent-%COMP%]   .checkout-container[_ngcontent-%COMP%]{margin:0 auto;padding:1.5rem 0 0}#checkout[_ngcontent-%COMP%]   .breach-upsell-container[_ngcontent-%COMP%]{margin:30px 30px 0}#checkout[_ngcontent-%COMP%]   .efx-payment-padding[_ngcontent-%COMP%]{padding:0 15px}#checkout[_ngcontent-%COMP%]   .payment-iframe[_ngcontent-%COMP%]{width:100%;height:1200px;border:none}#checkout[_ngcontent-%COMP%]   .payment-iframe-spinner[_ngcontent-%COMP%]{background-image:url(/assets/img/efx-spinner.gif);background-position:center;background-repeat:no-repeat;background-color:#fff}@media(min-width:768px){#checkout[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{text-align:center}#checkout[_ngcontent-%COMP%]   .efx-payment-padding[_ngcontent-%COMP%]{padding:0}#checkout[_ngcontent-%COMP%]   .checkout-container[_ngcontent-%COMP%]{width:100%}#checkout[_ngcontent-%COMP%]   .efx-hero-banner[_ngcontent-%COMP%]{margin-left:0;margin-right:0}}#checkout[_ngcontent-%COMP%]   .checkout-inner-text[_ngcontent-%COMP%]{text-align:center}#checkout[_ngcontent-%COMP%]   .paymentIframeSpinnerWrapper[_ngcontent-%COMP%]{position:relative;z-index:1}#checkout[_ngcontent-%COMP%]   .paymentIframeSpinnerWrapper[_ngcontent-%COMP%]   .paymentIframeSpinner[_ngcontent-%COMP%]{position:absolute;width:100%;margin-top:50px}#checkout[_ngcontent-%COMP%]   .payment-input-block[_ngcontent-%COMP%]{position:relative;z-index:1;margin-left:-15px;margin-right:-15px}
1#checkout[_ngcontent-%COMP%]   #terms-of-use-section[_ngcontent-%COMP%], #checkout[_ngcontent-%COMP%]   #payment-terms-section[_ngcontent-%COMP%]{display:flex}#checkout[_ngcontent-%COMP%]   #terms-of-use-section[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%], #checkout[_ngcontent-%COMP%]   #payment-terms-section[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{width:60px}#checkout[_ngcontent-%COMP%]   #terms-of-use-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], #checkout[_ngcontent-%COMP%]   #payment-terms-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:-5px;font-size:12px}#checkout[_ngcontent-%COMP%]   .checkout-spinner-modal[_ngcontent-%COMP%]{width:3rem;height:3rem}@media(min-width:768px){#checkout[_ngcontent-%COMP%]{margin:30 auto}.checkout-welcome[_ngcontent-%COMP%]{width:60%}}#invalid-invitation-modal[_ngcontent-%COMP%]    {color:#005270}#invalid-invitation-modal[_ngcontent-%COMP%]     .modal-dialog{max-width:674px}#invalid-invitation-modal[_ngcontent-%COMP%]     .modal-body{padding:0}#invalid-invitation-modal[_ngcontent-%COMP%]     .modal-content{padding:80px 58px 4rem}@media(min-width:768px){#invalid-invitation-modal[_ngcontent-%COMP%]     .modal-content{padding:60px 4rem 70px}}.spinner[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100px}.spinner[_ngcontent-%COMP%]     .spin-mask{position:relative!important}.efx-card[_ngcontent-%COMP%]{padding:0;width:100%;border:1px solid #e5ebed;border-radius:8px}.efx-card[_ngcontent-%COMP%]   .product-title[_ngcontent-%COMP%]{font-size:18px;text-align:left;padding-left:.25rem}.efx-card[_ngcontent-%COMP%]   .efx-card_head[_ngcontent-%COMP%]{background-color:#fff;text-align:left;font-size:18px;text-transform:none;color:#5f6a72;border-bottom:none;padding-top:25px;padding-bottom:0;display:none}@media(min-width:576px){.efx-card[_ngcontent-%COMP%]   .efx-card_head[_ngcontent-%COMP%]{display:block}}.efx-card[_ngcontent-%COMP%]   .efx-card_body[_ngcontent-%COMP%]{padding:.5rem 1.5rem}@media(min-width:576px){.efx-card[_ngcontent-%COMP%]   .efx-card_body[_ngcontent-%COMP%]{padding:.5rem 1.5rem 1rem}}.efx-card[_ngcontent-%COMP%]   .efx-icon[_ngcontent-%COMP%]{height:6em;width:6em}.movingTo[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;font-weight:700;text-align:center;padding:40px;font-size:18px}.root[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:#fff}@media(min-width:576px){.root[_ngcontent-%COMP%]{background-color:#f8f9fa}}.root[_ngcontent-%COMP%]   .stepper-title[_ngcontent-%COMP%]{font-size:22px;color:#333e48;font-weight:700}.root[_ngcontent-%COMP%]   .stepper-title-icon[_ngcontent-%COMP%]{display:flex;align-items:center}.root[_ngcontent-%COMP%]   .checked-icon[_ngcontent-%COMP%]{color:#3fae29;margin-right:20px}.root[_ngcontent-%COMP%]   .stepper-number[_ngcontent-%COMP%]{margin-right:20px;margin-left:5px}.root[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{max-width:665px;border-radius:8px;margin-top:30px}.root[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{margin-left:20px;max-width:379px;border-radius:8px;display:flex;justify-content:center;margin-top:30px}.root[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .registration-header-container[_ngcontent-%COMP%]{display:none}.root[_ngcontent-%COMP%]   .stepper[_ngcontent-%COMP%]{margin-bottom:20px;border-bottom:1px solid #e5ebed}.root[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{height:3px;background:#5f6a72;border-radius:3px;margin-bottom:80px}.root[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin-right:10px}.root[_ngcontent-%COMP%]   .payment-details-container[_ngcontent-%COMP%]{text-align:left;width:80%;margin:auto}.root[_ngcontent-%COMP%]   .payment-term-text[_ngcontent-%COMP%]{text-align:justify;margin:auto}.root[_ngcontent-%COMP%]   .mat-mdc-card[_ngcontent-%COMP%]{box-shadow:none;border-radius:unset}@media(min-width:576px){.root[_ngcontent-%COMP%]   .mat-mdc-card[_ngcontent-%COMP%]{border-radius:var(--mat-card-elevated-container-shape, var(--mat-shape-medium, 4px));box-shadow:0 4px 16px #00000014}}.root[_ngcontent-%COMP%]   .sectigo-container-mobile-and-tablet[_ngcontent-%COMP%]{margin:auto}@media(min-width:576px){.root[_ngcontent-%COMP%]   .sectigo-container-mobile-and-tablet[_ngcontent-%COMP%]{display:none}}.root[_ngcontent-%COMP%]   .sectigo-container-desk-top[_ngcontent-%COMP%]{display:none}@media(min-width:576px){.root[_ngcontent-%COMP%]   .sectigo-container-desk-top[_ngcontent-%COMP%]{margin:auto;display:block}}.root[_ngcontent-%COMP%]   .mat-card-header[_ngcontent-%COMP%]   .mat-card-title[_ngcontent-%COMP%]{margin-bottom:0}.root[_ngcontent-%COMP%]   .current-product-image[_ngcontent-%COMP%]{width:48px;height:auto}@media(min-width:576px){.root[_ngcontent-%COMP%]   .current-product-image[_ngcontent-%COMP%]{width:72px;height:auto}}.root[_ngcontent-%COMP%]   .current-product-title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:24px;letter-spacing:0em;text-align:left;padding-left:12px;color:#005270;padding-top:0}@media(min-width:576px){.root[_ngcontent-%COMP%]   .current-product-title[_ngcontent-%COMP%]{padding-left:0;padding-top:12px}}.root[_ngcontent-%COMP%]   .current-product-expire-text[_ngcontent-%COMP%]{text-align:left;margin-top:10px}.root[_ngcontent-%COMP%]   .efx-card_body_title_container[_ngcontent-%COMP%]{display:flex;margin-top:10px;align-items:center}@media(min-width:576px){.root[_ngcontent-%COMP%]   .efx-card_body_title_container[_ngcontent-%COMP%]{display:block;margin-top:0}}@media only screen and (max-width:995px){.root[_ngcontent-%COMP%]{flex-direction:column-reverse;display:flex}.root[_ngcontent-%COMP%]   .stepper-title[_ngcontent-%COMP%]{font-size:20px}.root[_ngcontent-%COMP%]   .checkout-welcome[_ngcontent-%COMP%]{font-size:16px}.root[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{width:100%;border-radius:8px;margin:30px auto 0}.root[_ngcontent-%COMP%]   .left-inner[_ngcontent-%COMP%]{padding:30px}.root[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{max-width:379px;border-radius:8px;margin:30px auto;display:flex;justify-content:center}.root[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .registration-header-container[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:8px;margin-bottom:8px}.root[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .registration-header[_ngcontent-%COMP%]{font-size:24px;color:#333e48;font-weight:700}.root[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .checkout-container[_ngcontent-%COMP%]{width:350px}.root[_ngcontent-%COMP%]   .sub-label[_ngcontent-%COMP%], .root[_ngcontent-%COMP%]   .payment-details-container[_ngcontent-%COMP%]{width:100%}.root[_ngcontent-%COMP%]   .sectigo-container-mobile-and-tablet[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:10px}}@media only screen and (max-width:995px)and (min-width:576px){.root[_ngcontent-%COMP%]   .sectigo-container-mobile-and-tablet[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:10px}}@media only screen and (max-width:995px){.root[_ngcontent-%COMP%]   .sectigo-container-desk-top[_ngcontent-%COMP%]{margin:10px 0 0 10px;width:140px}}@media only screen and (max-width:995px)and (min-width:576px){.root[_ngcontent-%COMP%]   .sectigo-container-desk-top[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width:995px){.root[_ngcontent-%COMP%]   .mat-card-header[_ngcontent-%COMP%]   .mat-card-title[_ngcontent-%COMP%]{margin-bottom:0}.root[_ngcontent-%COMP%]   .current-product-image[_ngcontent-%COMP%]{width:48px;height:auto}}@media only screen and (max-width:995px)and (min-width:576px){.root[_ngcontent-%COMP%]   .current-product-image[_ngcontent-%COMP%]{width:72px;height:auto}}"],changeDetection:0})}}return t})(),wi=(function(t){return t.EXPIRED="invitationInvalid",t.CANCELLED="invitationInvalid",t.DIFFERENT_PERSONAL_DATA="informationMismatch",t.PAID_PRODUCT="paidProductExists",t})(wi||{}),tt=(function(t){return t.CHECKOUT_SUCCESS="CHECKOUT_SUCCESS",t.CHECKOUT_PAYMENT_ERROR="CHECKOUT_PAYMENT_ERROR",t.EXPIRED="EXPIRED",t.CANCELLED="CANCELLED",t.DIFFERENT_PERSONAL_DATA="DIFFERENT_PERSONAL_DATA",t})(tt||{});var Ei={pageLoad:{"/payment/checkout":{pageName:"ucsc order summary",pageType:"ucsc funnel",eventName:"checkoutPageLoad",eventIds:["ajaxPageLoad"],releaseID:"Canada myEquifax",authenticationStatus:"Y",campaignSourceCode:"web",attributes:{productID:"",cartTotal:"",monthlyRate:"",upFrontCost:"",recurringCost:"",pricingOption:""},product:{productInfo:{productID:"",productName:"",description:""}}},"/payment/order-confirmation":{pageName:"ucsc order confirmation",pageType:"ucsc funnel",eventName:"orderConfirmationPageLoad",eventIds:["ajaxPageLoad"],releaseID:"Canada myEquifax",authenticationStatus:"Y",campaignSourceCode:"web",attributes:{productID:"",cartTotal:"",monthlyRate:"",upFrontCost:"",recurringCost:""},product:{productInfo:{productID:"",productName:"",desciption:""}},transaction:{transactionID:""}},"/payment/enrolled-order":{pageName:"ucsc enrolled order",eventIds:["ajaxPageLoad"],releaseID:"five and dime",authenticationStatus:"Y",product:{productInfo:{productID:"",productName:""}}}},otherEvents:{checkout:{pageName:"ucsc order summary",eventName:"checkout",eventIds:["checkout"],attributes:{productID:"",cartTotal:"",cost:"",monthlyRate:"",isExchange:"",isAgentInitiated:"",upFrontCost:"",recurringCost:"",pricingOption:"",isParent:""}},cancelCheckoutProduct:{pageName:"ucsc order summary",eventName:"cancelCheckoutProduct",eventIds:["cancelCheckoutProduct"],attributes:{productID:"",cartTotal:"",cost:"",monthlyRate:"",isExchange:"",isAgentInitiated:"",upFrontCost:"",recurringCost:""}},submitOrderAttempted:{pageName:"ucsc order summary",eventName:"submitOrderAttempted",eventIds:["submitOrderAttempted"],attributes:{productID:"",cartTotal:"",cost:"",monthlyRate:"",isExchange:"",isAgentInitiated:"",upFrontCost:"",recurringCost:""}},cancelOrderAttempted:{pageName:"ucsc order summary",eventName:"cancelOrderAttempted",eventIds:["cancelOrderAttempted"],attributes:{productID:"",cartTotal:"",cost:"",monthlyRate:"",isExchange:"",isAgentInitiated:"",upFrontCost:"",recurringCost:""}},orderInProcessModalConfirm:{pageName:"ucsc order summary",eventName:"orderInProcessModalConfirm",eventIds:["orderInProcessModalConfirm"]},orderInProcessModalDecline:{pageName:"ucsc order summary",eventName:"orderInProcessModalDecline",eventIds:["orderInProcessModalDecline"]},orderInProcessModalCloseIcon:{pageName:"ucsc order summary",eventName:"orderInProcessModalCloseIcon",eventIds:["orderInProcessModalCloseIcon"]},orderConfirmation:{pageName:"",eventName:"orderConfirmation",eventIds:["orderConfirmation"],attributes:{productID:"",cartTotal:"",cost:"",pricingOption:"",monthlyRate:"",isParent:"",isExchange:"",isAgentInitiated:"",upFrontCost:"",recurringCost:"",promoCode:""}},printOrder:{eventName:"printOrder",eventIds:["printOrder"],attributes:{productID:"",productName:""}},viewMyProduct:{eventName:"viewMyProduct",eventIds:["viewMyProduct"],attributes:{productID:"",productName:""}}}};function Sr(t){let d=Kt.call({config:Ei},t);return d.unsubscribeRouteEvents(),d}var ki=(()=>{class t{constructor(e){this.sidebarService=e,this.sidebarService.hide()}ngOnDestroy(){this.sidebarService.show()}static{this.\u0275fac=function(l){return new(l||t)(x(We))}}static{this.\u0275cmp=w({type:t,selectors:[["payment"]],standalone:!1,features:[It([{provide:fe,useFactory:Sr,deps:[He]}])],decls:1,vars:0,template:function(l,n){l&1&&s(0,"router-outlet")},dependencies:[Ut],encapsulation:2})}}return t})();var wr=t=>({productTitle:t}),Er=t=>({phoneNumber:t}),kr=t=>({productName:t}),Ir=t=>({email:t}),Br=(t,d)=>({email:t,phoneNumber:d}),Dr=(t,d,e,l,n,f)=>({price:t,subscriptionMonthlyPrice:d,startingDay:e,transactionNumber:l,email:n,phoneNumber:f}),Ii=(t,d)=>({trialPeriod:t,price:d}),ut=t=>({price:t}),Bi=(t,d)=>({months:t,monthDuration:d}),Di=(t,d,e)=>({trialPrice:t,trialPeriod:d,price:e});function Hr(t,d){t&1&&(B(0),a(1,"div",43),s(2,"img",44),c(),s(3,"div",45),o(4,"translate"),D()),t&2&&(i(3),r("innerHTML",p(4,1,"payment.orderConfirmation.orderSuccess"),h))}function Fr(t,d){t&1&&(a(0,"h1",46),m(1),o(2,"translate"),c()),t&2&&(i(),g(p(2,1,"payment.enrolled.header")))}function Ar(t,d){if(t&1&&(B(0),s(1,"p",47),o(2,"translate"),a(3,"p",48),m(4),c(),D()),t&2){let e=u();i(),r("innerHTML",p(2,3,"payment.paymentMethod"),h),i(3),Ne("",e.paymentTypeLabel," ",e.lastFourDigits)}}function Lr(t,d){if(t&1&&s(0,"checkout-summary-component",49),t&2){let e=u();r("product",e.product)("newMonthlySubscriptionDate",e.newMonthlySubscriptionDate)("sDetailExpanded",!0)("sDetailExpandedAlways",!0)}}function Nr(t,d){if(t&1&&(a(0,"div",51),s(1,"p",52),o(2,"translate"),c()),t&2){let e=u(2);i(),r("innerHTML",v(2,1,"payment.orderConfirmation.monitorProductTerms",O(4,Ir,e.email)),h)}}function Rr(t,d){if(t&1&&(a(0,"div",51),s(1,"p",52),o(2,"translate"),c()),t&2){let e=u(2);i(),r("innerHTML",v(2,1,"payment.orderConfirmation.freeProductTerms",k(4,Br,e.email,e.phoneNumber)),h)}}function zr(t,d){if(t&1&&(s(0,"p",54),o(1,"translate")),t&2){let e=u(3);r("innerHTML",v(1,1,"payment.new-checkout.confirmation.paidProductTerms",e.paymentTermsParams),h)}}function Ur(t,d){if(t&1&&(s(0,"p",54),o(1,"formatPrice"),o(2,"formatPrice"),o(3,"date"),o(4,"translate")),t&2){let e=u(3);r("innerHTML",v(4,8,"payment.new-checkout.confirmation.paymentTermsExchangeConfirmation",Bt(11,Dr,p(1,1,e.exchangeAmount),p(2,3,e.subTotal),v(3,5,e.newMonthlySubscriptionDate,"yyyy/MM/dd"),e.transactionNumber,e.email,e.phoneNumber)),h)}}function jr(t,d){if(t&1&&(s(0,"p",54),o(1,"translate")),t&2){let e=u(3);r("innerHTML",v(1,1,"payment.new-checkout.confirmation.paidProductPaidTrialTerms",e.paymentTermsParams),h)}}function Vr(t,d){if(t&1&&(s(0,"p",54),o(1,"translate")),t&2){let e=u(3);r("innerHTML",v(1,1,"payment.new-checkout.confirmation.paidProductFreeTrialTerms",e.paymentTermsParams),h)}}function $r(t,d){if(t&1&&(a(0,"div",51),_(1,zr,2,4,"p",53)(2,Ur,5,18,"p",53)(3,jr,2,4,"p",53)(4,Vr,2,4,"p",53),c()),t&2){let e=u(2);i(),r("ngIf",!e.isTrial&&!e.isExchange),i(),r("ngIf",e.isExchange),i(),r("ngIf",e.isTrial&&+e.trialTotal),i(),r("ngIf",e.isTrial&&!+e.trialTotal)}}function Wr(t,d){if(t&1&&(B(0),_(1,Nr,3,6,"div",50)(2,Rr,3,7,"div",50)(3,$r,5,4,"div",50),D()),t&2){let e=u();i(),r("ngIf",e.isFree&&e.isMonitor),i(),r("ngIf",e.isFree&&!e.isMonitor),i(),r("ngIf",!e.isFree)}}function Gr(t,d){if(t&1&&(s(0,"p",17),o(1,"formatPrice")),t&2){let e=u(2);r("innerHTML",p(1,1,e.subTotal),h)}}function Qr(t,d){if(t&1&&(s(0,"p",17),o(1,"formatPrice"),o(2,"translate"),o(3,"translate")),t&2){let e=u(2);r("innerHTML",v(3,5,"payment.trialCost",k(8,Ii,e.trialPeriod,+e.trialSubtotal?p(1,1,e.trialSubtotal):p(2,3,"payment.free"))),h)}}function Kr(t,d){if(t&1&&(a(0,"div")(1,"div",64),s(2,"p",17),o(3,"translate"),c(),a(4,"div",65),s(5,"p",17),o(6,"formatPrice"),c()()),t&2){let e=d.$implicit;i(2),r("innerHTML",p(3,2,"accountManagement.billing.taxes."+e.code)+" "+e.percentage+"%",h),i(3),r("innerHTML",p(6,4,e.amount),h)}}function Xr(t,d){if(t&1&&(a(0,"div",56),_(1,Kr,7,6,"div",63),c()),t&2){let e=u(2);i(),r("ngForOf",e.taxes)}}function Yr(t,d){if(t&1&&(a(0,"div")(1,"div",64),s(2,"p",17),o(3,"translate"),c(),a(4,"div",65),s(5,"p",17),o(6,"formatPrice"),c()()),t&2){let e=d.$implicit;i(2),r("innerHTML",p(3,2,"accountManagement.billing.taxes."+e.code)+" "+e.percentage+"%",h),i(3),r("innerHTML",p(6,4,e.amount),h)}}function qr(t,d){if(t&1&&(a(0,"div",56),_(1,Yr,7,6,"div",63),c()),t&2){let e=u(2);i(),r("ngForOf",e.trialTaxes)}}function Jr(t,d){if(t&1&&(a(0,"p"),s(1,"b",17),o(2,"formatPrice"),c()),t&2){let e=u(2);i(),r("innerHTML",p(2,1,e.total),h)}}function Zr(t,d){if(t&1&&(s(0,"p",17),o(1,"formatPrice"),o(2,"translate")),t&2){let e=u(2);r("innerHTML",v(2,3,"payment.perMonth",O(6,ut,p(1,1,e.total))),h)}}
1function eo(t,d){if(t&1&&(a(0,"p"),s(1,"b",17),o(2,"formatPrice"),m(3),o(4,"translate"),c()),t&2){let e=u(2);i(),r("innerHTML",p(2,2,e.total),h),i(2),T(" ",p(4,4,"payment.productTotalWithTax")," ")}}function to(t,d){if(t&1&&(s(0,"p",17),o(1,"formatPrice"),o(2,"translate"),o(3,"translate")),t&2){let e=u(2);r("innerHTML",v(3,5,"payment.trialCost",k(8,Ii,e.trialPeriod,+e.trialTotal?p(1,1,e.trialTotal):p(2,3,"payment.free"))),h)}}function io(t,d){if(t&1&&(a(0,"h5")(1,"b"),m(2),o(3,"translate"),c()(),a(4,"div",55)(5,"div",56)(6,"div",57),s(7,"p",17),o(8,"translate"),c(),a(9,"div",58),_(10,Gr,2,3,"p",59)(11,Qr,4,11,"p",59),c()(),_(12,Xr,2,1,"div",60)(13,qr,2,1,"div",60),a(14,"div",56)(15,"div",61),s(16,"p",17),o(17,"translate"),c(),a(18,"div",62),_(19,Jr,3,3,"p",24)(20,Zr,3,8,"p",59)(21,eo,5,6,"p",24)(22,to,4,11,"p",59),c()()()),t&2){let e=u();i(2),g(p(3,11,"payment.costSummary")),i(5),r("innerHTML",p(8,13,"payment.productSubTotal"),h),i(3),r("ngIf",!e.isTrial),i(),r("ngIf",e.isTrial),i(),r("ngIf",+e.tax&&!e.isTrial),i(),r("ngIf",+e.tax&&e.isTrial),i(3),r("innerHTML",p(17,15,"payment.totalCost"),h),i(3),r("ngIf",e.isFree&&e.isMonitor),i(),r("ngIf",!e.isTrial&&!+e.tax&&!e.isMonitor),i(),r("ngIf",!e.isTrial&&+e.tax&&!e.isMonitor),i(),r("ngIf",e.isTrial)}}function no(t,d){if(t&1&&(B(0),s(1,"p",67),o(2,"translate"),D()),t&2){let e=u(2);i(),r("innerHTML",v(2,1,"payment.freeFor",k(4,Bi,e.offerPeriod,e.monthDurationText)),h)}}function ro(t,d){t&1&&(B(0),a(1,"p"),s(2,"b",17),o(3,"translate"),c(),D()),t&2&&(i(2),r("innerHTML",p(3,1,"payment.free"),h))}function oo(t,d){if(t&1&&(B(0),s(1,"p",17),o(2,"formatPrice"),o(3,"translate"),o(4,"translate"),D()),t&2){let e=u(2);i(),r("innerHTML",v(4,5,"payment.costWithTrialNoTax",K(8,Di,+e.trialTotal?p(2,1,e.trialTotal):p(3,3,"payment.free"),e.trialPeriod,e.total)),h)}}function ao(t,d){if(t&1&&(B(0),s(1,"p",17),o(2,"formatPrice"),o(3,"translate"),D()),t&2){let e=u(2);i(),r("innerHTML",v(3,3,"payment.perMonth",O(6,ut,p(2,1,e.total))),h)}}function co(t,d){if(t&1&&(a(0,"p",66),s(1,"b",17),o(2,"translate"),c(),_(3,no,3,7,"ng-container",24)(4,ro,4,3,"ng-container",24)(5,oo,5,12,"ng-container",24)(6,ao,4,8,"ng-container",24)),t&2){let e=u();i(),r("innerHTML",p(2,5,"payment.totalCost"),h),i(2),r("ngIf",e.isBreach&&!e.isMonitor),i(),r("ngIf",e.isFree&&(!e.offerPeriod||e.isMonitor)),i(),r("ngIf",e.isTrial),i(),r("ngIf",!e.isTrial&&!e.hasTax&&e.isPaid)}}function po(t,d){if(t&1&&(B(0),s(1,"p",67),o(2,"translate"),D()),t&2){let e=u(2);i(),r("innerHTML",v(2,1,"payment.freeFor",k(4,Bi,e.offerPeriod,e.monthDurationText)),h)}}function lo(t,d){t&1&&(B(0),a(1,"p"),s(2,"b",17),o(3,"translate"),c(),D()),t&2&&(i(2),r("innerHTML",p(3,1,"payment.free"),h))}function so(t,d){if(t&1&&(B(0),s(1,"p",17),o(2,"formatPrice"),o(3,"translate"),o(4,"translate"),D()),t&2){let e=u(2);i(),r("innerHTML",v(4,5,"payment.costWithTrialNoTax",K(8,Di,+e.trialTotal?p(2,1,e.trialTotal):p(3,3,"payment.free"),e.trialPeriod,e.total)),h)}}function mo(t,d){if(t&1&&(B(0),s(1,"p",17),o(2,"formatPrice"),o(3,"translate"),D()),t&2){let e=u(2);i(),r("innerHTML",v(3,3,"payment.perMonth",O(6,ut,p(2,1,e.total))),h)}}function uo(t,d){if(t&1&&(a(0,"p",66),s(1,"b",17),o(2,"translate"),c(),_(3,po,3,7,"ng-container",24)(4,lo,4,3,"ng-container",24)(5,so,5,12,"ng-container",24)(6,mo,4,8,"ng-container",24)),t&2){let e=u();i(),r("innerHTML",p(2,5,"payment.totalCost"),h),i(2),r("ngIf",e.isBreach&&!e.isMonitor),i(),r("ngIf",e.isFree&&(!e.offerPeriod||e.isMonitor)),i(),r("ngIf",e.isTrial),i(),r("ngIf",!e.isTrial&&!e.hasTax&&e.isPaid)}}var gt=(()=>{class t{get billingCycleWord(){return this.product?.offerPeriod>1?this.product?.billingPeriod?.toLowerCase()+"WordPLu":this.product?.billingPeriod?.toLowerCase()+"Word"}get preparedProductName(){return`products.${this.productCode}`}get paymentTermsParams(){return{transactionNumber:this.transactionNumber,email:this.email,trialPeriod:this.trialPeriod,trialPrice:ke(this.trialPrice,this.translateService.currentLang),total:ke(this.total,this.translateService.currentLang),subtotal:ke(this.subTotal,this.translateService.currentLang),tax:ke(this.tax,this.translateService.currentLang),phoneNumber:this.phoneNumber}}get yourAction(){let e=this.isFree?"Enrolled":"Purchased";return this.isAlreadyEnrolled&&(e="AlreadyEnrolled"),W.isAdditionalAdultProductType(this.productC
1ode)&&(e="Purchased"),`payment.orderConfirmation.you${e}`}get actionSectionTitle(){let e="payment.orderConfirmation.",l=this.productCode===j.EQUIFAX_CREDIT_SCORE_AND_REPORT?"exploreProduct":"ready";return e+l}get actionButtonTitle(){return this.isAgent?"common.continueButton":"payment.viewProduct"}get isAlreadyEnrolled(){return this.route.snapshot.data.alreadyEnrolled}get isBreach(){return this.productCode===j.EQUIFAX_COMPLETE_MONITOR||this.productCode===j.EQUIFAX_COMPLETE_PREMIER_PLAN_BREACH}get isMonitor(){return this.productCode===j.EQUIFAX_COMPLETE_MONITOR}get isPaid(){return!this.isFree}get hasTax(){return!!+this.tax}get isAgent(){return this.roleService.isAgent()}get cardType$(){return this.billingService.accountSummary().pipe(bt("creditCardType"),Tt({bufferSize:1,refCount:!0}))}constructor(e,l,n,f,C,I,ye,F,Me,Oe,be,ne,Te){this.billingService=e,this.featureService=l,this.preferencesService=n,this.analyticsService=f,this.router=C,this.route=I,this.checkoutService=ye,this.fulfillmentService=F,this.translateService=Me,this.roleService=Oe,this.productBundleService=be,this.phoneNumberHandlerService=ne,this.storageService=Te,this.isDestroyed$=new V,this.isProductReady$=new Be(1),this.transactionNumber$=new Be(1),this.isPaymentTypeLabelReady$=new Be(1),this.isFree=!1,this.wasOfferCodeUsed=!1,this.showEnrolledModal=!1,this.isLoading=0,this.showAdditionalAdultExisitProductModal=!1,this.sDetailExpanded=!0,this.isNewUser=!1,this.isExchange=!1,this.isFreeToPaidExchange=!1,this.productName="",this.productDescription="",this.orderTermsText="",this.buyingProductCode="";let re=this.router.getCurrentNavigation()?.extras?.state||history?.state||{};this.wasOfferCodeUsed=!!re.hasOfferCode,this.buyingProductCode=re.buyingProductCode,this.wasOfferCodeUsed&&(this.phoneNumber=this.phoneNumberHandlerService.determinePhoneByProductType(re.offerType)),this.billingService.accountSummary().subscribe(L=>{this.cardType=L?.creditCardType,this.lastFourDigits=L?.creditCardNumber?.slice(-4),this.lastFourDigits==="XXXX"&&(this.lastFourDigits=""),this.cardType==="Digital Wallet"&&L?.paymentMethodCdType?this.paymentTypeLabel=L?.paymentMethodCdType:this.paymentTypeLabel=L?.creditCardType,this.isPaymentTypeLabelReady$.next(void 0)},L=>{this.isPaymentTypeLabelReady$.next(void 0)})}ngOnInit(){this.isAlreadyEnrolled||(this.isLoading++,this.featureService.getFeatures().pipe(pe(this.updateTransactionNumber.bind(this)),A(()=>{this.isLoading--})).subscribe({error:this.getErrorHandler()})),this.isAlreadyEnrolled&&(this.fetchProductInfo(),this.transactionNumber$.next(""),this.translateService.onLangChange.pipe(S(this.isDestroyed$)).subscribe(()=>this.fetchProductInfo())),this.setUserData(),this.setIsNewUser(),this.setProductData(),this.setTransactionData(),this.setUpMonthDurationText(),this.newMonthlySubscriptionDate=this.preparePeriodSubscriptionDate(),sessionStorage.getItem(P.INVITATION_ID_QUERY_PARAM)&&this.productBundleService.hasOneActiveProduct()&&setTimeout(()=>{this.showAdditionalAdultExisitProductModal=!0})}ngAfterViewInit(){setTimeout(()=>{this.showEnrolledModal=this.wasOfferCodeUsed})}ngOnDestroy(){this.isDestroyed$.next(void 0),this.isDestroyed$.complete(),this.transactionNumber$.complete(),this.isProductReady$.complete(),this.isPaymentTypeLabelReady$.complete(),this.checkoutService.clearProductForCheckout()}setUpMonthDurationText(){let e=this.translateService.currentLang,l={months:{fr:"mois",en:"months"},month:{fr:"mois",en:"month"}};this.offerPeriod&&(this.monthDurationText=this?.offerPeriod>1?l.months[e]:l.month[e])}gotoNextPage(){if(this.isAgent)return this.gotoResetPage();this.gotoDashboard()}printPage(){this.analyticsService.configObject.otherEvents.printOrder.attributes={productID:this.productCode,productName:this.productName},this.analyticsService.clickEvent("printOrder"),window.print()}gotoDashboard(e=!0){this.analyticsService.configObject.otherEvents.viewMyProduct.attributes={productID:this.productCode,productName:this.productName},e&&this.analyticsService.clickEvent("viewMyProduct"),this.router.navigate([P.DASHBOARD])}setTransactionData(){vt([this.transactionNumber$,this.isProductReady$,this.isPaymentTypeLabelReady$]).pipe(Ot(1)).subscribe(()=>{this.firePageLoadAnalytics(),this.fireOrderConfirmationAnalytics(),this.storageService.store(Xe.PRODUCT.CHECKOUT_CONFIRMED,this.skuId)})}setUserData(){this.preferencesService.email.pipe(S(this.isDestroyed$)).subscribe(e=>{this.email=e}),this.preferencesService.analyticGroup.pipe(S(this.isDestroyed$)).subscribe(e=>{this.analyticGroup=e})}setIsNewUser(){this.preferencesService.isNewUser.pipe(S(this.isDestroyed$)).subscribe(e=>{this.isNewUser=e})}firePageLoadAnalytics(){let e=this.isAlreadyEnrolled?"/payment/enrolled-order":"/payment/order-confirmation";this.isNewUser?this.analyticsService.configObject.pageLoad["/payment/order-confirmation"].pageName="ucsc registration order confirmation":this.isExchange&&(this.analyticsService.configObject.pageLoad["/payment/order-confirmation"].pageName="ucsc exchange order confirmation"),this.analyticsService.configObject.pageLoad["/payment/order-confirmation"].attributes={productID:this.productC
1ode,cartTotal:this.getUpFrontCost(),monthlyRate:this.subTotal,upFrontCost:this.getUpFrontCost(),recurringCost:this.subTotal,hasTax:this.areTaxesPresent()},this.analyticsService.configObject.pageLoad[e].product.productInfo={productID:this.productCode,productName:this.productName,description:this.productDescription},this.analyticsService.configObject.pageLoad["/payment/order-confirmation"].transaction={transactionID:this.transactionNumber},this.analyticsService.pageLoadRouteEvent(e)}fireOrderConfirmationAnalytics(){this.setAnalyticsMetadata(),this.isAlreadyEnrolled||this.analyticsService.clickEvent("orderConfirmation")}setAnalyticsMetadata(){let e=this.isExchange?"exchange":"none";this.analyticsService.configObject.otherEvents.orderConfirmation.attributes={productID:this.productCode,cartTotal:this.getUpFrontCost(),cost:this.getUpFrontCost(),pricingOption:this.product?.billingPeriod,monthlyRate:this.subTotal,isParent:"parent",isExchange:e,upFrontCost:this.getUpFrontCost(),recurringCost:this.subTotal,promoCode:this.promoCode,hasTax:this.areTaxesPresent(),analyticGroup:this.analyticGroup,paymentType:this.paymentTypeLabel},this.isNewUser?this.analyticsService.configObject.otherEvents.orderConfirmation.pageName="ucsc registration order confirmation":this.isExchange&&(this.analyticsService.configObject.otherEvents.orderConfirmation.pageName="ucsc exchange order confirmation")}setProductData(){let e=this.checkoutService.getProductForCheckout();this.phoneNumber=this.phoneNumberHandlerService.determinePhoneByProductType(e?.productCategoryName,!0),this.product=e,this.productCode=e?.productCode,this.skuId=e?.
1skuId,this.promoCode=e?.offerCode;let l=e?.taxes?.length?e?.taxes.map(n=>n.amount).reduce((n,f)=>n+f,0).toString():"0";this.taxes=e?.taxes,this.trialTaxes=e?.trialTaxes,this.productName=e?.title,this.productDescription=e?.description,this.productIcon=e?.productIcon,this.productIcon||(this.productIcon=`assets/icons/${Gt.products.find(({productCode:n})=>this.productCode===n)?.icon}.svg`),this.offerPeriod=e?.offerPeriod,this.subTotal=e?.subTotal,this.tax=l,this.total=e?.total,this.isFree=e?.isFree,this.isTrial=!!e?.trialPeriod,this.trialSubtotal=e?.trialPrice,this.trialTotal=e?.trialTotal,this.trialPrice=e?.trialPrice,this.trialTax=e?.trialTax,this.trialPeriod=e?.trialPeriod,this.exchangeTotal=e?.exchangeTotal,this.exchangeAmount=e?.exchangeAmount,this.isExchange=e?.isExchange,this.isFreeToPaidExchange=e?.isFreeToPaidExchange,this.exchangeTaxes=e?.exchangeTaxes?.length?e?.exchangeTaxes.map(n=>n.amount).reduce((n,f)=>n+f,0).toString():"0",this.productName&&this.isProductReady$.next(void 0)}areTaxesPresent(){return this.isExchange?this.exchangeTaxes!=="0":this.tax!=="0"}fetchProductInfo(){if(this.isLoading++,this.isAlreadyEnrolled){let e,l=this.productBundleService.getAllProductBundles();for(let n in l)if(l[n].status===Ue.ACTIVE){e=l[n];break}this.fulfillmentService.fetchUserProduct(e?.skuId).pipe(A(()=>this.isLoading--)).subscribe(()=>this.setProductData(),this.getErrorHandler())}else{let{skuId:e,offerCode:l,campaignCode:n}=this.checkoutService.getProductForCheckout();this.fulfillmentService.fetchProductCatalog(e,{offerCode:l,campaignCode:n}).pipe(A(()=>this.isLoading--)).subscribe(()=>this.setProductData(),this.getErrorHandler())}}gotoResetPage(){this.router.navigate([P.RECOVERY_PASSWORD,P.EMAIL_CONFIRM],{state:{sendEmail:!0}})}getUpFrontCost(){return this.isTrial?this.trialTotal:this.subTotal}updateTransactionNumber({productBundles:e}){let[l]=Object.values(e),{orderNumber:n}=l||{};this.transactionNumber=n,this.transactionNumber$.next(n)}getErrorHandler(){return e=>{console.error(e),this.router.navigateByUrl(Qe.GET_PRODUCT_ERROR.errorUrl)}}preparePeriodSubscriptionDate(){return this.product?.nextPaymentDateEstimate||W.getNewPeriodSubscriptionDate(this.product?.billingPeriod)}static{this.\u0275fac=function(l){return new(l||t)(x(Ye),x(ee),x(te),x(fe),x(U),x(ge),x(ci),x(Ke),x(ze),x(xe),x(Z),x($e),x(je))}}static{this.\u0275cmp=w({type:t,selectors:[["order-confirmation"]],standalone:!1,decls:70,vars:62,consts:[["enrolledHeader",""],["costSummaryFull",""],["costSummaryShort",""],["exchangeCostSummary",""],["id","order-confirmation"],[1,"order-confirmation-container"],[1,"order-confirmation-header-container"],[1,"container"],[1,"row","justify-content-center"],[1,"col","col-xs-5","col-md-10"],[1,"efx-hero-banner--primary__container"],[4,"ngIf","ngIfElse"],["id","order-information"],[1,"frow-container"],[1,"order-details"],[1,"payment-details"],[1,"frow","justify-content-between"],[3,"innerHTML"],[1,"efx-button-link","hidden-for-mobile",3,"click"],["translate","",1,"efx-type-small-body","efx-l-margin-xxsmall--top"],["src","assets/icons/efx-icon--print.svg","alt","",1,"efx-icon--xxsmall"],[1,"product-info-row"],["alt","",1,"efx-icon",3,"src","ngClass"],["id","product-name",1,"efx-type--bold",3,"innerHTML"],[4,"ngIf"],[1,"new-flow"],[3,"product","newMonthlySubscriptionDate","sDetailExpanded","sDetailExpandedAlways",4,"ngIf"],[1,"view-product"],[1,"efx-l-margin-xxlarge--top","efx-type--bold","efx-l-margin-large--bottom","view-product-title",3,"innerHTML"],[1,"efx-card"],[1,"efx-card_body","efx-l-pad-xlarge--top"],[1,"frow","flex-column","items-center"],["alt","",1,"efx-icon","efx-l-margin-large--vertical",3,"src","ngClass"],[1,"efx-type-small-body","efx-l-margin-small--top","text-center",3,"innerHTML"],["id","order-confirmation-button",1,"efx-button","efx-l-margin-xxxsmall--bottom","efx-l-margin-xxsmall--top","text-uppercase",3,"click","disabled","innerHTML"],[3,"shouldShow","fullScreen"],["title","payment.enrolled.modal.header",1,"error-modal",3,"show","showFooter","showClose"],[1,"frow"],[1,"col-md-12","col-lg-6","efx-l-margin-small--top"],[1,"efx-button-tertiary",3,"click"],["id","existing-product-modal",1,"error-modal",3,"show","showSubmit","showCancel","showClose","preventDefaultClose","showFooter","fadeIn"],[1,"text-center","efx-l-margin-xlarge--top"],["translate","",1,"col-md-12","col-lg-8","efx-button","efx-button-tertiary",3,"click"],[1,"order-success-icon"],["src","assets/icons/efx-icon--order-success.svg","alt",""],["id","order-confirmation-success-title",1,"order-confirmation-title",3,"innerHTML"],[1,"enrolled-product__header"],[1,"efx-type--bold","efx-l-margin-xxxsmall--bottom",3,"innerHTML"],[1,"efx-l-margin-small--bottom"],[3,"product","newMonthlySubscriptionDate","sDetailExpanded","sDetailExpandedAlways"],["class","product-terms",4,"ngIf"],[1,"product-terms"],[1,"efx-type-caption",3,"innerHTML"],["class","efx-type-caption mt-3",3,"innerHTML",4,"ngIf"],[1,"efx-type-caption","mt-3",3,"innerHTML"],[1,"product-wrapper-div"],[1,"div-unwarap"],[1,"product-sub-total-text"],[1,"product-sub-total"],[3,"innerHTML",4,"ngIf"],["class","div-unwarap",4,"ngIf"],[1,"total-cost-text"],[1,"total-cost"],[4,"ngFor","ngForOf"],[1,"tax-amount-text"],[1,"tax-amount"],[1,"mb-0"],[1,"breach-total-cost",3,"innerHTML"]],template:function(l,n){if(l&1){let f=E();a(0,"div",4)(1,"div",5)(2,"div",6)(3,"div",7)(4,"div",8)(5,"div",9)(6,"div",10),_(7,Hr,5,3,"ng-container",11)(8,Fr,3,3,"ng-template",null,0,we),c()()()()(),a(10,"div",12)(11,"div",13)(12,"div",14)(13,"div",15)(14,"div",16),s(15,"h3",17),o(16,"translate"),a(17,"button",18),b("click",function(){return y(f),M(n.printPage())}),a(18,"p",19),s(19,"img",20),m(20," \xA0payment.printPage "),c()()(),s(21,"hr"),a(22,"span",21),s(23,"img",22)(24,"h3",23),o(25,"translate"),c(),s(26,"hr"),_(27,Ar,5,5,"ng-container",24),a(28,"div",25),_(29,Lr,1,4,"checkout-summary-component",26),c(),s(30,"hr"),_(31,Wr,4,3,"ng-container",24),c(),a(32,"div",27),s(33,"h3",28),o(34,"translate"),a(35,"div",29)(36,"div",30)(37,"div",31),s(38,"img",32)(39,"p",33),o(40,"translate"),o(41,"translate"),a(42,"button",34),o(43,"translate"),b("click",function(){return y(f),M(n.gotoNextPage())}),c(),s(44,"mc-spinner-2",35),c()()()()()()()()(),_(45,io,23,17,"ng-template",null,1,we)(47,co,7,7,"ng-template",null,2,we)(49,uo,7,7,"ng-template",null,3,we),a(51,"efx-modal",36),s(52,"p",17),o(53,"translate"),a(54,"div",37)(55,"div",38)(56,"button",39),b("click",function(){return y(f),M(n.showEnrolledModal=!1)}),m(57),o(58,"translate"),c()()()(),a(59,"efx-modal",40)(60,"h3"),s(61,"b",17),o(62,"translate"),c(),s(63,"br")(64,"div",17),o(65,"translate"),o(66,"translate"),a(67,"div",41)(68,"button",42),b("click",function(){return y(f),M(n.gotoDashboard(!1))}
1),m(69," payment.invalidInvitation.goToMyDashboard "),c()()()}if(l&2){let f=kt(9);i(7),r("ngIf",!n.isAlreadyEnrolled)("ngIfElse",f),i(8),r("innerHTML",p(16,31,n.yourAction),h),i(8),r("src",n.productIcon,Se)("ngClass",n.isMonitor?"icon-custom-small-height":"icon-custom-small"),i(),r("innerHTML",p(25,33,n.preparedProductName),h),i(3),r("ngIf",!n.isFree),i(2),r("ngIf",!n.isAlreadyEnrolled),i(2),r("ngIf",!n.isAlreadyEnrolled),i(2),r("innerHTML",p(34,35,n.actionSectionTitle),h),i(5),r("src",n.productIcon,Se)("ngClass",n.isMonitor?"icon-custom-big-height":"icon-custom-big"),i(),r("innerHTML",v(41,39,"payment.orderConfirmation.explore",O(56,wr,p(40,37,n.preparedProductName))),h),i(3),r("disabled",n.isLoading)("innerHTML",p(43,42,n.actionButtonTitle),h),i(2),r("shouldShow",n.isLoading)("fullScreen",!0),i(7),r("show",n.showEnrolledModal)("showFooter",!1)("showClose",!1),i(),r("innerHTML",v(53,44,"payment.enrolled.modal.body",O(58,Er,n.phoneNumber)),h),i(5),g(p(58,47,"payment.enrolled.modal.button")),i(2),r("show",n.showAdditionalAdultExisitProductModal)("showSubmit",!1)("showCancel",!1)("showClose",!0)("preventDefaultClose",!1)("showFooter",!1)("fadeIn",!1),i(2),r("innerHTML",p(62,49,"payment.invalidInvitation.paidProductExists.header"),h),i(3),r("innerHTML",v(66,53,"payment.invalidInvitation.paidProductExists.message",O(60,kr,p(65,51,"products."+n.buyingProductCode))),h)}},dependencies:[he,X,de,z,Ge,_e,et,J,le,ie],styles:['.old-flow[_ngcontent-%COMP%]{border:1px solid red}.hidden-for-mobile[_ngcontent-%COMP%]{display:none}.view-product[_ngcontent-%COMP%]{width:80%;margin:30px auto}.view-product[_ngcontent-%COMP%]   .efx-card[_ngcontent-%COMP%], .view-product[_ngcontent-%COMP%]   .efx-card_body[_ngcontent-%COMP%]{padding:.75rem}.product-terms[_ngcontent-%COMP%]{margin-top:1rem}#order-confirmation[_ngcontent-%COMP%]{width:100%;background-color:#fff}@media(min-width:576px){#order-confirmation[_ngcontent-%COMP%]{background-color:#f8f9fa;padding:40px 0}}#order-confirmation[_ngcontent-%COMP%]   .order-confirmation-container[_ngcontent-%COMP%]{width:350px;max-width:100%;margin:auto;background-color:#fff}@media(min-width:576px){#order-confirmation[_ngcontent-%COMP%]   .order-confirmation-container[_ngcontent-%COMP%]{width:80%;border:1px solid #e5ebed;border-radius:12px}}@media(min-width:768px){#order-confirmation[_ngcontent-%COMP%]   .order-confirmation-container[_ngcontent-%COMP%]{width:856px;border:1px solid #e5ebed;border-radius:12px}}#order-confirmation[_ngcontent-%COMP%]   .order-confirmation-header-contaienr[_ngcontent-%COMP%]{overflow:hidden;position:relative;min-height:240px;border-bottom:1px solid #ced4da;text-align:center;margin:0;display:flex;justify-content:center;align-items:center;flex-direction:column}#order-confirmation[_ngcontent-%COMP%]   .order-success-icon[_ngcontent-%COMP%]{background-color:#fff;margin:30px 0 10px}#order-confirmation[_ngcontent-%COMP%]   .efx-hero-banner--primary__container[_ngcontent-%COMP%]{text-align:center;margin-top:20px}#order-confirmation[_ngcontent-%COMP%]   .efx-icon-circle__green[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-top:23px;height:60px}#order-confirmation[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-bottom:1rem}#order-confirmation[_ngcontent-%COMP%]   .product-info-row[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-top:.5rem}#order-confirmation[_ngcontent-%COMP%]   .efx-icon[_ngcontent-%COMP%]{margin-right:.5rem}#order-confirmation[_ngcontent-%COMP%]   .efx-button[_ngcontent-%COMP%]{min-width:30%}.order-confirmation-title[_ngcontent-%COMP%]{font-size:22px;color:#2f801e}@media(min-width:576px){.order-confirmation-title[_ngcontent-%COMP%]{font-size:32px}}.view-product-title[_ngcontent-%COMP%]{text-align:center}.payment-details[_ngcontent-%COMP%]{width:80%;margin:30px auto;border:solid 1px #dee2e6;border-radius:8px;padding:30px}.view-product-button-container[_ngcontent-%COMP%]{width:200px;height:56px;margin:0 auto 50px}@media(min-width:768px){.hidden-for-mobile[_ngcontent-%COMP%]{display:block}#order-confirmation[_ngcontent-%COMP%]   .efx-hero-banner[_ngcontent-%COMP%]{margin-right:0;margin-left:0}.view-product-title[_ngcontent-%COMP%]{text-align:left}.product-sub-total[_ngcontent-%COMP%]{text-align:right}.product-sub-total-text[_ngcontent-%COMP%], .tax-amount-text[_ngcontent-%COMP%]{float:left;width:35%}
1.tax-amount[_ngcontent-%COMP%]{text-align:right}.total-cost-text[_ngcontent-%COMP%]{float:left;width:35%;font-weight:700}.total-cost[_ngcontent-%COMP%]{text-align:right}.root-container[_ngcontent-%COMP%]{background-color:#fff}.root-inner-container[_ngcontent-%COMP%]{box-shadow:0 4px 12px #00000017;border:solid 1px #e5ebed;border-radius:12px;width:100%;margin:0 auto;background-color:#fff}.payment-details[_ngcontent-%COMP%]{width:80%;margin:30px auto;border:solid 1px #dee2e6;border-radius:8px;padding:30px}.view-product-button-container[_ngcontent-%COMP%]{width:200px;height:56px;margin:0 auto 50px}.product-terms[_ngcontent-%COMP%]{width:100%}}@media(min-width:992px){.payment-details[_ngcontent-%COMP%]{grid-column:1/9}.view-product[_ngcontent-%COMP%]{grid-column:9/13;grid-row:1/3}.product-terms[_ngcontent-%COMP%]{grid-column:1/9}.efx-button[_ngcontent-%COMP%]{min-width:30%}[_nghost-%COMP%]     .efx-modal{margin-top:130px}[_nghost-%COMP%]     .efx-modal .modal-dialog{max-width:701px}}.product-sub-total-text[_ngcontent-%COMP%]{float:left}.product-sub-total[_ngcontent-%COMP%]{text-align:right}.product-wrapper-div[_ngcontent-%COMP%]{margin:0}.product-wrapper-div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:15px}.div-unwarap[_ngcontent-%COMP%]{margin:15px 0}.tax-amount-text[_ngcontent-%COMP%]{float:left}.tax-amount[_ngcontent-%COMP%]{text-align:right}.total-cost-text[_ngcontent-%COMP%]{float:left;font-weight:700}.total-cost[_ngcontent-%COMP%]{text-align:right}.enrolled-product__header[_ngcontent-%COMP%]{font-family:"Noto Serif";font-size:2.5rem;font-weight:700;max-width:465px;line-height:52px;width:100%;margin:0 auto!important;text-align:center}.breach-total-cost[_ngcontent-%COMP%]{color:#333e48;font-family:open-sans,sans-serif;font-size:14px;font-weight:700;line-height:21px}#existing-product-modal[_ngcontent-%COMP%]    {color:#005270}#existing-product-modal[_ngcontent-%COMP%]     .modal-dialog{max-width:674px}#existing-product-modal[_ngcontent-%COMP%]     .modal-body{padding:0}#existing-product-modal[_ngcontent-%COMP%]     .modal-content{padding:80px 58px 4rem}@media(min-width:768px){#existing-product-modal[_ngcontent-%COMP%]     .modal-content{padding:60px 4rem 70px}}@media only screen and (max-width:768px){.root-container[_ngcontent-%COMP%]{background-color:#fff}.root-inner-container[_ngcontent-%COMP%]{box-shadow:0 4px 12px #00000017;border:solid 1px #e5ebed;border-radius:12px;width:100%;margin:0 auto;background-color:#fff}.payment-details[_ngcontent-%COMP%]{width:100%;margin:30px auto;border:solid 1px #dee2e6;border-radius:8px;padding:20px}.view-product-button-container[_ngcontent-%COMP%]{width:200px;height:56px;margin:0 auto 50px}.product-terms[_ngcontent-%COMP%]{width:100%}.view-product[_ngcontent-%COMP%]{width:100%;margin:30px auto}}.efx-type-caption[_ngcontent-%COMP%]{margin-top:2rem!important}@media print{.view-product[_ngcontent-%COMP%]{page-break-before:always;margin-top:80px}}']})}}return t})();var Hi=(()=>{class t{constructor(e,l,n){this.router=e,this.applicationParameterService=l,this.paymentService=n}canActivate(){return this.paymentService.isPaymentCheckoutActive.next(!0),this.applicationParameterService.getApplicationParameter("enabledPaymentFeature")&&this.paymentService.isPaymentCheckoutActive.getValue()?!0:this.router.createUrlTree(["/",P.DASHBOARD])}static{this.\u0275fac=function(l){return new(l||t)(R(U),R(Xt),R(Ce))}}static{this.\u0275prov=De({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function go(t,d){if(t&1){let e=E();a(0,"div")(1,"div",5),at(),a(2,"svg",6),s(3,"use",7),c()(),ct(),s(4,"br"),a(5,"div",8)(6,"h1",9),m(7,"payment.paymentResult.messages.success"),c()(),a(8,"div",10)(9,"button",11),b("click",function(){y(e);let n=u(2);return M(n.navigateDashboard())}),a(10,"span",12),m(11,"payment.paymentResult.messages.dashboardButton"),c()()()()}}function ho(t,d){if(t&1){let e=E();a(0,"div")(1,"div",5),at(),a(2,"svg",13),s(3,"use",14),c()(),ct(),s(4,"br"),a(5,"div",15)(6,"span",9),m(7,"payment.paymentResult.messages.failure"),c()(),a(8,"div",10)(9,"button",11),b("click",function(){y(e);let n=u(2);return M(n.navigateCheckout())}),a(10,"span",12),m(11,"payment.paymentResult.messages.paymentButton"),c()()()()}}function fo(t,d){if(t&1&&(a(0,"div",3),_(1,go,12,0,"div",4)(2,ho,12,0,"div",4),c()),t&2){let e=u();i(),r("ngIf",e.isPaymentSuccess),i(),r("ngIf",!e.isPaymentSuccess)}}var Fi=(()=>{class t{constructor(e,l,n,f,C){this.route=e,this.router=l,this.paymentService=n,this.sidebar=f,this.featureService=C,this.isPaymentSuccess=!1,this.loading=!0}ngOnInit(){this.sidebar.hide(),this.checkPaymentStatus()}navigateDashboard(){this.router.navigate([P.DASHBOARD])}navigateCheckout(){this.skuId?this.router.navigate([P.PAYMENT,P.CHECKOUT],{queryParams:{skuId:this.skuId}}):this.router.navigate(["/myAccount/billing"])}ngOnDestroy(){this.sidebar.show(),this.paymentService.isPaymentStatusActive.next(!1)}checkPaymentStatus(){this.route.queryParams.pipe(Q(({skuId:e})=>{this.skuId=e;let{newCardUid:l}=history?.state||{};return this.paymentService.getDetails({newCardUid:l})}),Q(()=>this.featureService.getFeatures().pipe(A(()=>this.loading=!1)))).subscribe(()=>this.isPaymentSuccess=!0,()=>this.router.navigate([P.ERROR,"mc-general-error"]))}static{this.\u0275fac=function(l){return new(l||t)(x(ge),x(U),x(Ce),x(We),x(ee))}}static{this.\u0275cmp=w({type:t,selectors:[["post-action-page"]],standalone:!1,decls:3,vars:3,consts:[[1,"mc-error__container"],[3,"shouldShow","fullScreen"],["class","wrapper2",4,"ngIf"],[1,"wrapper2"],[4,"ngIf"],[1,"primary-message","svg-center"],[1,"efx-icon","efx-icon__svg","efx-icon--checkmark-green","efx-icon--medium","efx-l-margin-xmedium--top"],[0,"xlink","href","assets/icons/efx-icon--checkmark-green.svg#efx-icon--checkmark-green"],[1,"secondary-message","text-center"],["translate","",1,"h5"],[1,"third-message"],["type","submit",1,"efx-button-primary",3,"click"],["translate",""],[1,"efx-icon","efx-icon__svg","efx-icon--error","efx-icon--medium","efx-l-margin-xmedium--top"],[0,"xlink","href","assets/icons/efx-icon--error.svg#icons-status-efx-icon--error"],[1,"secondary-message","text-left"]],template:function(l,n){l&1&&(a(0,"div",0),s(1,"mc-spinner-2",1),_(2,fo,3,2,"div",2),c()),l&2&&(i(),r("shouldShow",n.loading)("fullScreen",!0),i(),r("ngIf",!n.loading))},dependencies:[he,z,_e],styles:['.mc-error__container[_ngcontent-%COMP%]{background-color:#daf1fb;font-family:Open Sans,sans-serif;padding:15px;
1display:flex;align-items:center;justify-content:center;text-align:center;height:100%;width:100%}.mc-error__wrapper[_ngcontent-%COMP%]{max-width:360px;padding:0 27px}@media(min-width:768px){.mc-error__wrapper[_ngcontent-%COMP%]{padding:0}}.mc-error__message[_ngcontent-%COMP%]   .primary-message[_ngcontent-%COMP%]{font-weight:700;color:#005270;line-height:32px;position:relative;margin:0 auto 20px!important;padding-top:30px;max-width:280px}@media(min-width:768px){.mc-error__message[_ngcontent-%COMP%]   .primary-message[_ngcontent-%COMP%]{max-width:450px}}.mc-error__message[_ngcontent-%COMP%]   .primary-message[_ngcontent-%COMP%]:before{content:"";display:block;background-image:url(/assets/icons/efx-icon--error.svg);width:32px;height:32px;margin:0 auto .5rem;background-size:contain;background-repeat:no-repeat}.mc-error__message[_ngcontent-%COMP%]   .secondary-message[_ngcontent-%COMP%]{color:#005270;font-size:12px;line-height:16px}.mc-error__message[_ngcontent-%COMP%]   .error-code[_ngcontent-%COMP%]{color:#6d8e9f;font-size:13px;font-weight:700}.customer-care__message[_ngcontent-%COMP%]{padding-top:17px}@media(min-width:768px){.customer-care__message[_ngcontent-%COMP%]{padding-top:0}}.customer-care__message[_ngcontent-%COMP%]   .customer-care__phone[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:18px;font-weight:700;color:#005270;line-height:28px}.customer-care__message[_ngcontent-%COMP%]   .customer-care__info[_ngcontent-%COMP%]{margin-top:20px}.customer-care__message[_ngcontent-%COMP%]   .customer-care__info[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;width:65%;font-size:11px;color:#3d3d3d;font-weight:700;margin:0 auto}.customer-care-info[_ngcontent-%COMP%]{padding-top:22.5px;font-size:10px;line-height:12px;color:#005270}@media(max-width:415px){.mc-error__container[_ngcontent-%COMP%]{padding-top:5em;padding-bottom:7em}.customer-care__message[_ngcontent-%COMP%]   .customer-care__info[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:65%;margin:0 auto}}.svg-center[_ngcontent-%COMP%]{margin:auto}.secondary-message[_ngcontent-%COMP%]{margin:20px 0}.text-center[_ngcontent-%COMP%]{text-align:center}.text-left[_ngcontent-%COMP%]{text-align:left}.text-left[_ngcontent-%COMP%]   .h5[_ngcontent-%COMP%]{text-transform:none!important}.mc-error__container[_ngcontent-%COMP%]{background-color:#d9ecfa}']})}}return t})();var Ai=(()=>{class t{constructor(e,l,n,f,C){this.upsellProductsService=e,this.productBundleService=l,this.featureService=n,this.roleService=f,this.router=C}canActivate(e,l){let{skuId:n,invitationId:f,offerType:C,efxflow:I,offerCode:ye}=e.queryParams;return n?this.featureService.hasNoFeatures()?N(!0):(f&&sessionStorage.setItem(P.INVITATION_ID_QUERY_PARAM,f),this.productBundleService.productBundles$.pipe(yt(F=>Object.keys(F).length>0),Ct(()=>{let F=this.upsellProductsService.getProductCodeBySkuId(+n),Me=this.productBundleService.hasProduct(F),Oe=this.upsellProductsService.isProductAvailableForUpsell(F),be=I==="mk",{efxCheckFlow:ne}=this.router.getCurrentNavigation()?.extras?.state||{},Te=ne==="upb2p",re=ne==="partner",L=ne==="loginpopup",it=this.roleService.isAgent(),nt=F===j.EQUIFAX_COMPLETE_MONITOR||F===j.EQUIFAX_COMPLETE_PREMIER_PLAN_BREACH;if(be||Te||it||L||re||!nt&&ye)return!0;if(Me||!Oe){let rt={hasOfferCode:"offerCode"in e.queryParams,offerType:C,buyingProductCode:F};return this.router.navigate([P.PAYMENT,P.ENROLLED_ORDER],{state:rt}),!1}return!0}))):N(!1)}static{this.\u0275fac=function(l){return new(l||t)(R(ai),R(Z),R(ee),R(xe),R(U))}}static{this.\u0275prov=De({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Li=[{path:"",component:ki,children:[{path:"",redirectTo:"checkout",pathMatch:"full"},{path:P.CHECKOUT,component:Si,canActivate:[Ai,Hi]},{path:P.STATUS,component:Fi},{path:P.ORDER_CONFIRMATION,component:gt},{path:P.ENROLLED_ORDER,component:gt,data:{alreadyEnrolled:!0}},{path:P.MC_CHECKOUT_ERROR,component:mi},{path:"**",redirectTo:"/"+P.DASHBOARD}]}];var up=(()=>{class t{static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275mod=Et({type:t})}static{this.\u0275inj=St({imports:[Vt.forChild(Li),Wt.forChild({loader:{provide:$t,useFactory:qt,deps:[He]},extend:!0}),At,ui,ii,ni,oi,ei,xi]})}}return t})();export{up as PaymentModule};

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.