1import{a as S}from"./chunk-EA3TVGRT.js";import{Oa as A,c as p}from"./chunk-NGWGOBAT.js";import"./chunk-HGILL6HD.js";import{a as Q}from"./chunk-MJCXKM4L.js";import"./chunk-JJC5G4BA.js";import"./chunk-O7JCEENH.js";import"./chunk-H3CX6FM7.js";import"./chunk-KM4JZ4GP.js";import"./chunk-FOHGUKBY.js";import"./chunk-OM7OYEMZ.js";import"./chunk-4WAOXYP5.js";import{V as J,ba as K}from"./chunk-VFNYKEY3.js";import"./chunk-WPDKC2FY.js";import"./chunk-S2CQIMTP.js";import"./chunk-RCY4PYVR.js";import{Ab as Y,Jb as q,Qa as z,Ra as f,Ua as G,Xa as y,Ya as _,k as V,s as U}from"./chunk-5VZI4653.js";import{$ as L,Cb as u,Db as F,Hc as c,Ic as k,Mc as R,Nc as B,O as H,Oc as W,Xc as g,bd as d,cc as m,cd as P,da as O,db as h,dc as i,dd as D,ec as o,fc as a,ja as E,jb as l,ka as j,na as C,rc as x,wa as v,wb as s,xa as b}from"./chunk-BWTHOZTY.js";import"./chunk-HX4SWUFH.js";import"./chunk-QBUHZOWM.js";var Z=(()=>{class e{constructor(){}ngOnInit(){}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=u({type:e,selectors:[["cancel-error-modal"]],standalone:!1,decls:10,vars:3,consts:[["id","cancel-error-modal",1,"efx-dialog_content"],[1,"efx-dialog_icon"],[1,"efx-icon-circle__dblue"],[1,"efx-icon","efx-icon--blue-exclamation","efx-icon--xsmall","efx-l-margin-xxsmall--top","efx-icon--inline"],[0,"xlink","href","assets/icons/efx-icon--blue-exclamation.svg#efx-icon--blue-exclamation"],["translate","",1,"h3","efx-type--bold","efx-type--center","efx-l-margin-medium--top","efx-l-margin-medium--bottom","efx-color-menu","efx-dialog-title"],[1,"efx-type--center"],[1,"efx-type-small-body","efx-l-margin-medium--bottom","efx-dialog-description",3,"innerHTML"]],template:function(t,r){t&1&&(i(0,"div",0)(1,"div",1)(2,"div",2),v(),i(3,"svg",3),a(4,"use",4),o()()(),b(),i(5,"h1",5),c(6," onlineCancelSubscription.error.title "),o(),i(7,"div",6),a(8,"p",7),d(9,"translate"),o()()),t&2&&(l(8),m("innerHTML",P(9,1,"onlineCancelSubscription.error.smallDescription"),h))},dependencies:[y,_],styles:["#cancel-error-modal[_ngcontent-%COMP%]{padding-bottom:100px;opacity:.8}.efx-icon-circle__dblue[_ngcontent-%COMP%]{text-align:center}"]})}}return e})();var $=e=>({productDetails:e}),ee=(()=>{class e{constructor(n,t,r){this.router=n,this.cancelSubscriptionService=t,this.featureService=r,this.cancelProductBtnDisabled=!1,this.loading=!1,this.productWithCancelDetails={productId:"",productName:"",productCode:""},this.cancelErrorModal=!1}ngOnInit(){this.productData=this.cancelSubscriptionService.cancelSubscriptionData.getValue(),this.productData&&(this.productWithCancelDetails.productId=this.productData.productId,this.productWithCancelDetails.productCode=this.productData.productCode,this.productWithCancelDetails.productName=this.productData.productName)}ngOnDestroy(){this.cancelSubscriptionService.changeCancelSummaryPageActiveStatus(!1),this.loading=!1}cancelProduct(){this.cancelProductBtnDisabled=!0,this.loading=!0,this.cancelSubscriptionService.getOnlineCancel(this.productWithCancelDetails).pipe(O(n=>{n.productName=this.productWithCancelDetails.productName,this.cancelSubscriptionService.changeCancelCompletePageActiveStatus(!0),this.cancelSubscriptionService.changeCancelSubscriptionData(n)},()=>{this.loading=!1,this.cancelErrorModal=!0,this.cancelProductBtnDisabled=!1}),L(()=>this.featureService.getFeatures()),H(this.gotoCancelCompleteScreen.bind(this))).subscribe()}gotoMyAccountPage(){this.router.navigate(["/"+p.MY_ACCOUNT])}gotoCancelCompleteScreen(){this.router.navigate(["/"+p.CANCEL_SUBSCRIPTION+"/"+p.CANCEL_COMPLETE])}static{this.\u0275fac=function(t){return new(t||e)(s(f),s(S),s(Y))}}static{this.\u0275cmp=u({type:e,selectors:[["cancellation-summary"]],standalone:!1,decls:42,vars:24,consts:[["id","cancel-summary"],[3,"shouldShow","fullScreen"],[1,"efx-hero-banner","efx-hero-banner--primary"],[1,"container"],[1,"row","g-0"],[1,"col-12"],[1,"efx-hero-banner--primary__container"],[1,"row","g-0","align-items-center"],[1,"efx-icon-circle__red","efx-icon-circle__red--large"],[1,"efx-icon","efx-icon--cancel-circle","efx-icon--small","efx-l-margin-large--top","cancel-circle-image"],[0,"xlink","href","assets/icons/efx-cancel-circle.svg#efx-icon--cancel-circle"],["id","cancel-summary-title","translate","",1,"h3","efx-type--bold","efx-l-margin-xxxlarge--top"],[1,"h3","efx-l-margin-medium--top",3,"innerHTML"],[1,"efx-l-wrapper--small"],["translate","",1,"efx-type-title","efx-title--border","efx-type--bold","efx-l-margin-medium--bottom","efx-type-description-notes","efx-type--center"],[1,"efx-type-small-body","efx-l-margin-medium--bottom",3,"innerHTML"],[1,"col-12","efx-type--center"],["id","cancel-summary-yes-btn","translate","",1,"efx-button-primary","efx-l-margin-medium--vert
1ical",3,"click"],["id","cancel-summary-no-btn","translate","",1,"efx-button-link","efx-l-margin-medium--bottom","btn-link","efx-type--center",3,"click"],[1,"row","g-0","align-items-center","efx-l-margin-large--top","efx-l-pad-small--top","efx-l-border--gray--top"],[1,"efx-type-small-body","efx-l-margin-small--top","efx-type--center","cust-phn"],[1,"cancel-subscription-error-modal","error-modal",3,"showChange","onHide","show","title","isSmall","showCancel","showSubmit","fadeIn","showFooter","showClose","preventDefaultClose"]],template:function(t,r){t&1&&(i(0,"div",0),a(1,"mc-spinner-2",1),i(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",5)(9,"div",8),v(),i(10,"svg",9),a(11,"use",10),o()()()(),b(),i(12,"div",7)(13,"div",5)(14,"h2",11),c(15," onlineCancelSubscription.cancelSummary.title1 "),o(),a(16,"p",12),d(17,"translate"),o()()()()()()(),i(18,"div",13)(19,"div",7)(20,"div",5)(21,"h2",14),c(22," onlineCancelSubscription.cancelSummary.importantNotes.title1 "),o(),a(23,"p",15),d(24,"translate"),o()(),i(25,"div",7)(26,"div",16)(27,"button",17),x("click",function(){return r.cancelProduct()}),c(28," onlineCancelSubscription.cancelSummary.yesButton "),i(29,"span"),c(30),o()()()(),i(31,"div",7)(32,"div",16)(33,"button",18),x("click",function(){return r.gotoMyAccountPage()}),c(34," onlineCancelSubscription.cancelSummary.noButton "),i(35,"span"),c(36),o()()()(),i(37,"div",19)(38,"div",5),a(39,"p",20),o()()()(),i(40,"efx-modal",21),W("showChange",function(I){return B(r.cancelErrorModal,I)||(r.cancelErrorModal=I),I}),x("onHide",function(){return r.gotoMyAccountPage()}),a(41,"cancel-error-modal"),o()),t&2&&(l(),m("shouldShow",r.loading)("fullScreen",!0),l(15),m("innerHTML",D(17,14,"onlineCancelSubscription.cancelSummary.description",g(20,$,r.productWithCancelDetails.productName)),h),l(7),m("innerHTML",D(24,17,"onlineCancelSubscription.cancelSummary.importantNotes.line1",g(22,$,r.productWithCancelDetails.productName)),h),l(7),k(r.productWithCancelDetails.productName),l(6),k(r.productWithCancelDetails.productName),l(4),R("show",r.cancelErrorModal),m("isSmall",!1)("showCancel",!1)("showSubmit",!1)("fadeIn",!1)("showFooter",!1)("showClose",!0)("preventDefaultClose",!0))},dependencies:[y,J,K,Z,_],styles:["#cancel-summary[_ngcontent-%COMP%] .efx-button-link[_ngcontent-%COMP%]{text-transform:uppercase;font-size:16px}"]})}}return e})();var le=e=>({productInfo:e}),se=e=>({email:e}),te=(()=>{class e{constructor(n,t,r){this.router=n,this.cancelSubscriptionService=t,this.preferencesService=r}ngOnInit(){this.cancelledProductData=this.cancelSubscriptionService.cancelSubscriptionData.getValue()}ngOnDestroy(){this.cancelSubscriptionService.changeCancelCompletePageActiveStatus(!1),this.cancelSubscriptionService.changeCancelSubscriptionData(null)}gotoDashboard(){this.router.navigate(["/"+p.DASHBOARD])}static{this.\u0275fac=function(t){return new(t||e)(s(f),s(S),s(Q))}}static{this.\u0275cmp=u({type:e,selectors:[["successfully-cancelled"]],standalone:!1,decls:29,vars:11,consts:[["id","cancel-success"],[1,"efx-hero-banner","efx-hero-banner--primary"],[1,"container"],[1,"row","g-0"],[1,"col-12"],[1,"efx-hero-banner--primary__container"],[1,"row","g-0","align-items-center"],[1,"efx-icon-circle__green","efx-icon-circle__green--large"],[1,"efx-icon","efx-icon--white-checkmark","efx-icon--medium","efx-l-margin-medium--top","cancel-success-image"],[0,"xlink","href","assets/icons/efx-icon--white-checkmark.svg#efx-icon--white-checkmark"],[1,"h3","efx-l-margin-xxxlarge--top",3,"innerHTML"],[1,"efx-l-wrapper--small"],[1,"efx-l-margin-mega--bottom"],["translate","",1,"email-description","efx-type-small-body","efx-type--center","efx-l-margin-medium--bottom",3,"translateParams"],["translate","",1,"return-description","efx-type-small-body","efx-type--center"],[1,"col-12","efx-type--center"],["id","goto-dashboard-btn","translate","",1,"efx-button-tertiary","efx-dashboard-button",3,"click"]],template:function(t,r){t&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",4)(8,"div",7),v(),i(9,"svg",8),a(10,"use",9),o()()(),b(),i(11,"div",6)(12,"div",4),a(13,"p",10),d(14,"translate"),o()()()()()()(),i(15,"div",11)(16,"div",2)(17,"div",12)(18,"div",6)(19,"div",4)(20,"p",13),d(21,"async"),c(22,"onlineCancelSubscription.cancelComplete.emailSent"),o(),i(23,"p",14),c(24,"onlineCancelSubscription.cancelComplete.returnInformation"),o()()()(),i(25,"div",6)(26,"div",15)(27,"button",16),x("click",function(){return r.gotoDashboard()}),c(28,"onlineCancelSubscription.cancelComplete.dashBoardButton"),o()()()()()()()),t&2&&(l(13),m("innerHTML",D(14,2,"onlineCancelSubscription.cancelComplete.de
1scription",g(7,le,r.cancelledProductData==null?null:r.cancelledProductData.productName)),h),l(7),m("translateParams",g(9,se,P(21,5,r.preferencesService.email))))},dependencies:[y,V,_],encapsulation:2})}}return e})();var ie=(()=>{class e{constructor(n){this.sidebar=n}ngOnInit(){this.sidebar.hide()}ngOnDestroy(){this.sidebar.show()}static{this.\u0275fac=function(t){return new(t||e)(s(q))}}static{this.\u0275cmp=u({type:e,selectors:[["cancel-subscription"]],standalone:!1,decls:2,vars:0,consts:[[1,"cancel-subscription-container"]],template:function(t,r){t&1&&(i(0,"div",0),a(1,"router-outlet"),o())},dependencies:[z],encapsulation:2})}}return e})();var ne=(()=>{class e{constructor(n,t){this.router=n,this.cancelSubscriptionService=t}canActivate(){return this.cancelSubscriptionService.canShowCompletePage.getValue()?!0:(this.router.navigate(["myAccount"]),!1)}static{this.\u0275fac=function(t){return new(t||e)(C(f),C(S))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var re=(()=>{class e{constructor(n,t){this.router=n,this.cancelSubscriptionService=t}canActivate(){return this.cancelSubscriptionService.canShowSummaryPage.getValue()?!0:(this.router.navigate(["myAccount"]),!1)}static{this.\u0275fac=function(t){return new(t||e)(C(f),C(S))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var oe=[{path:"",component:ie,children:[{path:"",redirectTo:p.CANCEL_SUMMARY,pathMatch:"full"},{path:p.CANCEL_SUMMARY,component:ee,canActivate:[re]},{path:p.CANCEL_COMPLETE,component:te,canActivate:[ne]}]}];var Qe=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=F({type:e})}static{this.\u0275inj=j({imports:[G.forChild(oe),U,A,A]})}}return e})();export{Qe as CancelSubscriptionModule};
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.