1import{a as $e,b as Te,c as Ne,d as Be}from"./chunk-HN522NUE.js";import{b as De,c as Ee,f as K,i as J}from"./chunk-2XJFAMKN.js";import"./chunk-MGJV63TY.js";import{a as Re,b as Ie}from"./chunk-7V2NBRV4.js";import"./chunk-SQZW67JE.js";import{c as b}from"./chunk-5JY4HLUN.js";import"./chunk-TXBYZEBC.js";import"./chunk-ILI3HH6J.js";import"./chunk-RVKYQXK5.js";import{a as Fe}from"./chunk-RCU3ZRIF.js";import"./chunk-QDHRA3RW.js";import"./chunk-4Z2TJCUB.js";import"./chunk-K5V3DMJX.js";import{a as ke}from"./chunk-C5DMIZAL.js";import"./chunk-VTZ4AW6U.js";import"./chunk-B73GKYRA.js";import"./chunk-XE6626LO.js";import"./chunk-CYAWKZP2.js";import"./chunk-VNDR5JVA.js";import{a as B}from"./chunk-6Z5FNPGD.js";import{L as Q,w as ve,x as Se}from"./chunk-53ZYRRKJ.js";import{b as Z}from"./chunk-XWMBWOTN.js";import{Ka as q,R as N,eb as Pe,gc as we,lb as G,mb as ye,nb as be,ob as Me,y as Ce,yb as Oe}from"./chunk-XPV7SQ5Y.js";import{$b as I,Ab as j,Ac as l,Bb as x,Cb as p,Ce as ue,Db as s,Eb as u,F as ae,Fa as re,Fe as ie,Gc as $,Hd as R,Id as le,Ja as F,Kc as W,Kd as Y,Lb as V,Lc as P,Nb as w,Pb as g,Pc as me,Pd as ge,Sc as T,Ta as te,Tb as ce,Ub as se,Vb as pe,Ve as _e,Xa as r,_c as H,cc as C,da as M,dc as E,e as X,ec as v,fc as ne,gb as y,hb as k,kb as D,lf as fe,m as oe,ma as S,pa as d,rf as he,s as ee,tc as de,tf as xe,ub as f,va as L,wa as A,wb as h,yb as U,zb as z,zc as m}from"./chunk-T5IFD54H.js";import"./chunk-TPRNI2PO.js";import"./chunk-OTBLCR3N.js";import"./chunk-CS7K6LXP.js";function Ye(t,e){if(t&1&&C(0),t&2){let o=g().$index;v(" ",o+1,". ")}}function qe(t,e){t&1&&u(0,"app-svg-icon",2)}function Ge(t,e){t&1&&u(0,"app-svg-icon",4)}function Qe(t,e){if(t&1&&(p(0,"div",1),f(1,Ye,1,1)(2,qe,1,0,"app-svg-icon",2),p(3,"span",3),C(4),s(),f(5,Ge,1,0,"app-svg-icon",4),s()),t&2){let o=e.$implicit,n=e.$index,a=e.$count;r(),h(o!=null&&o.completed?2:1),r(2),I("active",o.active),r(),E(o.title),r(),h(n!==a-1?5:-1)}}var Le=(()=>{let e=class e extends B{constructor(){super(...arguments),this.facade=d(b),this.route=d(R),this.router=d(Y),this.cdr=d(T),this.items=[]}ngOnInit(){this.facade.currentPage$.pipe(M(this._destroy$$)).subscribe(n=>{this.refresh(n)})}refresh(n){let a=!0,i=n.split("?")[0];this.items?.forEach(c=>{c.completed=!1,c.active=!1,c.title.toLocaleLowerCase()===i?.toLocaleLowerCase()&&(a=!1,c.active=!0),a&&(c.completed=!0)}),this.cdr.markForCheck()}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=F(e)))(i||e)}})(),e.\u0275cmp=y({type:e,selectors:[["app-fee-progress"]],inputs:{items:"items"},standalone:!1,features:[D],decls:3,vars:0,consts:[[1,"progress"],[1,"progress_t
1ick"],["icon","course_complete",1,"course_complete"],[1,"text-label"],["icon","dd_expander",1,"arrow_icon"]],template:function(a,i){a&1&&(p(0,"div",0),z(1,Qe,6,5,"div",1,U),s()),a&2&&(r(),j(i.items))},dependencies:[ke],styles:[`.active[_ngcontent-%COMP%]{color:#25a2af} 2/*# sourceMappingURL=fee-progress.component-N3IN74QZ.css.map */`],changeDetection:0});let t=e;return t})();var Ae=(()=>{let e=class e{constructor(){this.environment=d(_e);let n=this.environment;this.envName=n.envName}};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=y({type:e,selectors:[["app-fee-header"]],inputs:{scenario:"scenario"},standalone:!1,decls:4,vars:1,consts:[[1,"header","header_box"],[1,"header_wrapper"],[3,"items"]],template:function(a,i){a&1&&(p(0,"div",0)(1,"div",1),u(2,"app-logo")(3,"app-fee-progress",2),s()()),a&2&&(r(3),x("items",i.scenario))},dependencies:[Te,Le],styles:[`.header_wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:60px;padding:0 32px;background:#fff;z-index:22;box-shadow:14px 10px 22px #0000000d;position:fixed;top:0;left:0;width:100%;box-sizing:border-box}@media screen and (max-width:768px){.header_wrapper[_ngcontent-%COMP%]{flex-wrap:wrap;padding:0 24px}}.header_wrapper[_ngcontent-%COMP%]:after{content:"";flex:1}.header_wrapper.no_sidebar[_ngcontent-%COMP%]{margin-left:0}.header_wrapper[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{margin-left:24px;margin-right:16px}.header_wrapper[_ngcontent-%COMP%] app-logo[_ngcontent-%COMP%]{flex:1}@media screen and (max-width:768px){.header_wrapper[_ngcontent-%COMP%] app-logo[_ngcontent-%COMP%]{justify-content:center;margin-top:8px}}@media screen and (max-width:768px){.header_wrapper[_ngcontent-%COMP%] app-fee-progress[_ngcontent-%COMP%]{flex:1 0 100%}}.header_box[_ngcontent-%COMP%]{margin-bottom:0}.header_box[_ngcontent-%COMP%] .brand[_ngcontent-%COMP%]{color:#fff} 3/*# sourceMappingURL=fee-header.component-AWTMKHSW.css.map */`],changeDetection:0});let t=e;return t})();var Ue=(()=>{let e=class e extends B{constructor(){super(...arguments),this.router=d(Y),this.activeRoute=d(R),this.facade=d(b),this.cdr=d(T),this.checkoutEvents=d(Pe),this.currentUser=d(he),this.userService=d(Fe)}ngOnInit(){this.facade.setProgramUrl(this.activeRoute.snapshot.params.programUrl),this.facade.setScenario(this.activeRoute.snapshot.params.scenario),this.facade.setPricingPlanId(this.activeRoute.snapshot.queryParams.pricingPlanId),this.facade.setUserCertificateRequestIds(this.activeRoute.snapshot.queryParams.rids),this.facade.init().pipe(M(this._destroy$$)).subscribe(),this.scenario=this.facade.scenario,ee([this.facade.getProgramPricingPlan(),this.facade.getProgram(),this.facade.getAdditionalProducts()]).pipe(M(this._destroy$$)).subscribe(()=>{this.cdr.markForCheck()}),ee([this.facade.getProgramPricingPlan(),this.userService.getUserScenarioByOption("checkout_order_summary").pipe(ae(()=>oe(null)))]).pipe(M(this._destroy$$)).subscribe({next:([n,a])=>{this.checkoutEvents.beginCheckout(n,{student:this.currentUser.getCurrentUser(),bundle:this.facade.program,couponCode:this.activeRoute.snapshot.queryParams.coupon,scenario:a}),this.cdr.markForCheck()},error:n=>n.status==404&&this.router.navigate([fe.NOT_FOUND])})}ngOnDestroy(){super.ngOnDestroy(),this.checkoutEvents.endCheckoutJourney()}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=F(e)))(i||e)}})(),e.\u0275cmp=y({type:e,selectors:[["app-fee-page"]],standalone:!1,features:[D],decls:3,vars:1,consts:[[3,"scenario"],[1,"wrapper","container"]],template:function(a,i){a&1&&(u(0,"app-fee-header",0),p(1,"div",1),u(2,"router-outlet"),s()),a&2&&x("scenario",i.scenario)},dependencies:[Ae,le],styles:[`[_nghost-%COMP%]{display:block}.wrapper[_ngcontent-%COMP%]{max-width:1185px;margin:32px auto 0}@media screen and (max-width:768px){.wrapper[_ngcontent-%COMP%]{margin:92px auto 0}}@media screen and (max-width:480px){.wrapper[_ngcontent-%COMP%]{margin:120px auto 0}} .progress{display:flex;justify-content:center;margin:0 24px}@media screen and (max-width:768px){ .progress{flex-wrap:wrap;margin:0}}@media screen and (max-width:480px){ .progress{margin:12px 0 20px}} .progress .course_complete{height:20px;width:20px;fill:#25a2af}
3 .progress_tick{display:flex;align-items:center;padding:20px 0;font-weight:700}@media screen and (max-width:480px){ .progress_tick{padding:8px 0 0}} .progress_tick:not(:last-child) .arrow_icon{height:20px;width:20px;fill:#e5e7eb;display:inline-block;transform:rotate(90deg);margin-right:16px} .progress_tick:last-child .text-label{margin-right:0} .progress .text-label{margin:0 24px 0 16px;box-sizing:border-box}@media screen and (max-width:480px){ .progress .text-label{margin:0 8px 0 4px}} 4/*# sourceMappingURL=fee-page.component-NF773ZLF.css.map */`],changeDetection:0});let t=e;return t})();function Je(t,e){if(t&1&&C(0),t&2){let o=g();v(" 1 x Printed ",o.facade.getShortNameWithTrademark(o.program())," Certificate (11x14) ")}}function Xe(t,e){if(t&1&&C(0),t&2){let o,n=g();ne(" ",(o=n.program())==null||o.examDueFee==null||o.examDueFee.pricingPlan==null?null:o.examDueFee.pricingPlan.label," (",n.facade.getShortNameWithTrademark(n.program())," Final Exam) ")}}function et(t,e){if(t&1&&C(0),t&2){let o=g().$implicit,n=g();v(" 1 x Printed ",n.facade.getShortNameWithTrademark(o.program)," Certificate (11x14) ")}}function tt(t,e){if(t&1&&C(0),t&2){let o=g().$implicit,n=g();ne(" ",o.program==null||o.program.examDueFee==null||o.program.examDueFee.pricingPlan==null?null:o.program.examDueFee.pricingPlan.label," (",n.facade.getShortNameWithTrademark(o.program)," Final Exam) ")}}function nt(t,e){if(t&1&&(p(0,"div",2)(1,"div",3),u(2,"div",4),p(3,"span",5),f(4,et,1,1),f(5,tt,1,2),s()(),u(6,"span",6),m(7,"pricingPlanPrice"),s()),t&2){let o=e.$implicit,n=g();r(4),h(n.facade.scenarioName==="printCertificateFee"?4:-1),r(),h(n.facade.scenarioName!=="printCertificateFee"?5:-1),r(),x("innerHTML",l(7,3,o.pricingPlan),te)}}function it(t,e){if(t&1&&(p(0,"div",2)(1,"span",8),C(2),s(),p(3,"div",9),C(4),m(5,"price"),s()()),t&2){let o,n,a=g();r(2),E((o=a.pricingPlan())==null||o.prices==null||o.prices.discounted==null?null:o.prices.discounted.discountName),r(2),v("- ",l(5,2,(n=a.pricingPlan())==null||n.prices==null||n.prices.discounted==null?null:n.prices.discounted.discountAmount))}}function ot(t,e){t&1&&u(0,"span",13)}function at(t,e){if(t&1){let o=V();p(0,"div",10)(1,"button",12),w("click",function(){L(o);let a=g(2);return A(a.submitPayment.emit())}),f(2,ot,1,0,"span",13),C(3),s()()}if(t&2){let o=g(2);r(),x("disabled",o.isButtonDisabled()),r(),h(o.isLoading()?2:-1),r(),v(" ",o.buttonLabel()," ")}}function rt(t,e){if(t&1){let o=V();p(0,"div",11)(1,"app-maxio-paypal-button",14),w("successEvent",function(a){L(o);let i=g(2);return A(i.paypalSuccess.emit(a))}),s()()}if(t&2){let o=g(2);r(),x("form",o.paypalForm())("taxResidence",o.taxResidence())("disabled",o.walletDisabled())}}function ct(t,e){if(t&1){let o=V();p(0,"div",11)(1,"app-maxio-apple-pay-button",15),w("successEvent",function(a){L(o);let i=g(2);return A(i.paypalSuccess.emit(a))}),s()()}if(t&2){let o=g(2);r(),x("form",o.paypalForm())("taxResidence",o.taxResidence())("pricingPlan",o.pricingPlan())("disabled",o.walletDisabled())}}function st(t,e){if(t&1&&(f(0,at,4,3,"div",10),f(1,rt,2,3,"div",11),f(2,ct,2,4,"div",11)),t&2){let o=g();h(o.paymentOption()==="card"?0:-1),r(),h(o.walletCheckoutAllowed()&&o.paymentOption()==="paypal"?1:-1),r(),h(o.walletCheckoutAllowed()&&o.paymentOption()==="applePay"?2:-1)}}var ze=(()=>{let e=class e{constructor(){this.facade=d(b),this.program=P(null),this.pricingPlan=P(null),this.additionalProducts=P(null),this.taxSwitch=P(!1),this.showSubmitButton=P(!1),this.canSubmit=P(!1),this.isSubmitting=P(!1),this.buttonLabel=P("Place Order"),this.walletCheckoutAllowed=P(!1),this.paymentOption=P("card"),this.paypalForm=P(null),this.taxResidence=P(null),this.coupon=me(""),this.couponAppliedEvent=W(),this.submitPayment=W(),this.paypalSuccess=W(),this.isPaymentProcessingPending=N(this.facade.isPaymentProcessingPending$,{initialValue:!1}),this.isLoading=$(()=>this.isSubmitting()||this.isPaymentProcessingPending()),this.isButtonDisabled=$(()=>!this.canSubmit()||this.isLoading()),this.walletDisabled=$(()=>Ce(this.taxResidence()))}};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=y({type:e,selectors:[["app-fee-order-summary"]],inputs:{program:[1,"program"],pricingPlan:[1,"pricingPlan"],additionalProducts:[1,"additionalProducts"],taxSwitch:[1,"taxSwitch"],showSubmitButton:[1,"showSubmitButton"],canSubmit:[1,"canSubmit"],isSubmitting:[1,"isSubmitting"],buttonLabel:[1,"buttonLabel"],walletCheckoutAllowed:[1,"walletCheckoutAllowed"],paymentOption:[1,"paymentOption"],paypalForm:[1,"paypalForm"],taxResidence:[1,"taxResidence"],coupon:[1,"coupon"]},outputs:{coupon:"couponChange",couponAppliedEvent:"couponAppliedEvent",submitPayment:"submitPayment",payp
4alSuccess:"paypalSuccess"},standalone:!1,decls:17,vars:8,consts:[[1,"card_box","summary"],[1,"card_row","card_row_course"],[1,"card_sub_row"],[1,"course-info"],[1,"certificate"],[1,"course_title"],[1,"course_price",3,"innerHTML"],[3,"pricingPlan"],[1,"coupon_name"],[1,"coupon_prices"],[1,"submit-button-wrapper"],[1,"paypal-button-wrapper"],[1,"button","primary",3,"click","disabled"],[1,"spinner"],[3,"successEvent","form","taxResidence","disabled"],[3,"successEvent","form","taxResidence","pricingPlan","disabled"]],template:function(a,i){if(a&1&&(p(0,"div",0)(1,"h3"),C(2,"Order Summary"),s(),p(3,"div",1)(4,"div",2)(5,"div",3),u(6,"div",4),p(7,"span",5),f(8,Je,1,1),f(9,Xe,1,2),s()(),u(10,"span",6),m(11,"pricingPlanPrice"),s(),z(12,nt,8,5,"div",2,U),f(14,it,6,4,"div",2),s(),u(15,"app-order-bill",7),f(16,st,3,3),s()),a&2){let c;r(8),h(i.facade.scenarioName==="printCertificateFee"?8:-1),r(),h(i.facade.scenarioName!=="printCertificateFee"?9:-1),r(),x("innerHTML",l(11,6,i.pricingPlan()),te),r(2),j(i.additionalProducts()),r(2),h(!((c=i.pricingPlan())==null||c.prices==null||c.prices.discounted==null)&&c.prices.discounted.discountAmount?14:-1),r(),x("pricingPlan",i.pricingPlan()),r(),h(i.showSubmitButton()?16:-1)}},dependencies:[De,Ee,$e,ve,Se],styles:[`[_nghost-%COMP%]{display:flex;flex:1 0 100%;width:100%;max-width:448px}@media screen and (max-width:1200px){[_nghost-%COMP%]{display:block;max-width:100%}}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.danger[_ngcontent-%COMP%]{color:#981f1f}.small-info[_ngcontent-%COMP%]{font-size:14px}.card_box[_ngcontent-%COMP%]{box-sizing:border-box;padding:48px 48px 32px;color:#374151}@media screen and (max-width:768px){.card_box[_ngcontent-%COMP%]{padding:24px 24px 8px}}.is_night [_nghost-%COMP%] .card_box{color:#f3f3f3}.card_box.summary[_ngcontent-%COMP%]{font-size:18px}.card_box_big[_ngcontent-%COMP%]{flex:0 0 637px}.card_box[_ngcontent-%COMP%] .coupon_name[_ngcontent-%COMP%]{font-weight:700;text-transform:capitalize}.card_box[_ngcontent-%COMP%] .coupon_prices[_ngcontent-%COMP%]{font-weight:700;white-space:nowrap}.card_box[_ngcontent-%COMP%] .card_row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%;padding:16px 0}.card_box[_ngcontent-%COMP%] .card_row_slim[_ngcontent-%COMP%]{padding:8px 0}.card_box[_ngcontent-%COMP%] .card_row[_ngcontent-%COMP%] .certificate[_ngcontent-%COMP%]{margin-right:16px}.card_box[_ngcontent-%COMP%] .card_info_row[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:18px 0}.card_box[_ngcontent-%COMP%] .card_info_row[_ngcontent-%COMP%] > .card_sub_row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%]{display:block;padding-bottom:32px;margin-bottom:18px;border-bottom:1px solid #e5e7eb}@media screen and (max-width:768px){.card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%]{flex-direction:column;max-width:unset}}.card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%] .course-info[_ngcontent-%COMP%]{display:flex;align-items:center;max-width:280px;width:100%}@media screen and (max-width:1200px){.card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%] .course-info[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%] > .card_sub_row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%] > .card_sub_row[_ngcontent-%COMP%]:not(:first-of-type){margin-top:24px}.card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%] > .card_sub_row.card_sub_row_small[_ngcontent-%COMP%]{font-size:small}.card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%] > .card_sub_row.card_sub_row_small[_ngcontent-%COMP%] .certificate[_ngcontent-%COMP%]:after{min-height:56px}.card_box[_ngcontent-%COMP%] .course_prices[_ngcontent-%COMP%]{display:flex;flex-direction:column}.card_box[_ngcontent-%COMP%] .course_price[_ngcontent-%COMP%]{text-align:right}.card_box[_ngcontent-%COMP%] .course_price.old_price[_ngcontent-%COMP%]{text-decoration:line-through}.card_box[_ngcontent-%COMP%] .course_price.bold[_ngcontent-%COMP%]{font-size:24px;color:#000c3f}.is_night [_nghost-%COMP%] .card_box .course_price.bold{color:#fff}.card_box[_ngcontent-%COMP%] .course_title[_ngcontent-%COMP%]{word-break:break-word;max-width:205px}@media screen and (max-width:1200px){.card_box[_ngcontent-%COMP%] .course_title[_ngcontent-%COMP%]{max-width:calc(100% - 115px)}}@media screen and (max-width:768px){.card_box[_ngcontent-%COMP%] .course_title[_ngcontent-%COMP%]{max-width:unset}}.paypal-button-wrapper[_ngcontent-%COMP%]{margin-top:1rem} 5/*# sourceMappingURL=fee-order-summary.component-4LGZFNE3.css.map */`],changeDetection:0});let t=e;return t})();var je=(()=>{let e=class e extends B{constructor(){super(...arguments),this.facade=d(b),this.activatedRoute=d(R),this.parameterStorage=d(xe),this.cd=d(T),this.program$=this.facade.program$,this.programLoading$=this.facade.programLoading$,this.pricingLoading$=this.facade.pricingLoading$,this.pricingPlan$=this.facade.pricingPlan$,this.additionalProducts$=this.facade.additionalProducts$,this.taxResidence$=this.facade.taxResidence$,this.isPaymentProcessingPending$=this.facade.isPaymentProcessingPending$,this.errorMessage$=this.facade.errorMessage$,this.clearForm$=new X(!1),this.selectedPaymentMethod=null,this.canSubmit=!1,this.isFormProcessing=!1,this.paymentOption=re("card"),this.selectedPaymentMethod$$=new X(null),this.selectedPaymentMethodSignal=N(this.selectedPaymentMethod$$,{initialValue:null}),this.pricingPlanSignal=N(this.pricingPlan$,{initialValue:null}),this.taxResidenceSignal=N(this.taxResidence$,{initialValue:null}),this.walletCheckoutAllowed=$(()=>{let a=this.pricingPlanSignal()?.plan===ie.ONE_TIME,i=!this.selectedPaymentMethodSignal()?.provider;return a&&i}),this.PricingPlanEnum=ie,this.PaymentProviderEnum=ue}ngOnInit(){this.facade.isPaymentProcessingPending$.next(!1);let n=this.activatedRoute.snapshot.queryParams.coupon||null;this.facade.pricingPlan$.pipe(M(this._destroy$$)).subscribe(a=>{if(this.facade.basePricingPlan=a,a?.id&&n){let i=n;n=null,this.facade.loadCoupon(i)}})}onSubmitPayment(){this.paymentForm&&this.paymentForm.submitPayment()}getButtonLabel(){return"Place Order"}onFormStateChange(n){this.canSubmit=n.valid,this.isFormProcessing=n.isProcessing,this.cd.markForCheck()}paymentMethodSelected(n){this.selectedPaymentMethod=n,this.selectedPaymentMethod$$.next(n)}paypalSuccess(n){this.facade.onMaxioCheckoutSuccess(n,this.activatedRoute,this.facade.couponCode)}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=F(e)))(i||e)}})(),e.\u0275cmp=y({type:e,selectors:[["app-fee-payment"]],viewQuery:function(a,i){if(a&1&&ce(K,5),a&2){let c;se(c=pe())&&(i.paymentForm=c.first)}},standalone:!1,features:[D],decls:23,vars:53,consts:[[1,"bulk"],[3,"submitPayment","paypalSuccess","program","pricingPlan","additionalProducts","showSubmitButton","canSubmit","isSubmitting","buttonLabel","walletCheckoutAllowed","paymentOption","paypalForm","taxResidence"],[3,"taxResidenceChangedEvent","paymentMethodSelectedEvent","paymentOptionSelectedEvent","successEvent","errorEvent","formStateEvent","errorMessage","clearForm","showSubmitButton","walletCheckoutAllowed","pricingPlanId"]
5],template:function(a,i){if(a&1&&(p(0,"header")(1,"h1"),C(2),m(3,"async"),s(),u(4,"span",0),s(),p(5,"section"),m(6,"async"),p(7,"app-fee-order-summary",1),m(8,"async"),m(9,"async"),m(10,"async"),m(11,"async"),m(12,"async"),m(13,"async"),m(14,"async"),m(15,"async"),m(16,"async"),m(17,"async"),w("submitPayment",function(){return i.onSubmitPayment()})("paypalSuccess",function(_){return i.paypalSuccess(_)}),s(),p(18,"div")(19,"app-payment-form",2),m(20,"async"),m(21,"async"),m(22,"async"),w("taxResidenceChangedEvent",function(_){return i.facade.loadTaxRate(_)})("paymentMethodSelectedEvent",function(_){return i.paymentMethodSelected(_)})("paymentOptionSelectedEvent",function(_){return i.paymentOption.set(_)})("successEvent",function(_){return i.facade.success(_,i.activatedRoute)})("errorEvent",function(_){return i.facade.failure(_)})("formStateEvent",function(_){return i.onFormStateChange(_)}),s()()()),a&2){let c,_;r(2),E(l(3,23,i.isPaymentProcessingPending$)?"Processing Payment...":"Payment Details"),r(3),I("is_pending",l(6,25,i.isPaymentProcessingPending$)===!0),r(2),I("is_loading",l(8,27,i.programLoading$)||l(9,29,i.pricingLoading$)||l(10,31,i.isPaymentProcessingPending$))("is_overlayed",((c=l(11,33,i.program$))==null||c.actions==null?null:c.actions.paymentAllowed)===!1),x("program",l(12,35,i.program$))("pricingPlan",l(13,37,i.pricingPlan$))("additionalProducts",l(14,39,i.additionalProducts$))("showSubmitButton",!0)("canSubmit",i.canSubmit)("isSubmitting",i.isFormProcessing||l(15,41,i.pricingLoading$)===!0||l(16,43,i.isPaymentProcessingPending$)===!0)("buttonLabel",i.getButtonLabel())("walletCheckoutAllowed",i.walletCheckoutAllowed())("paymentOption",i.paymentOption())("paypalForm",(i.paymentForm==null?null:i.paymentForm.addressFormGroup)??null)("taxResidence",l(17,45,i.taxResidence$)),r(12),x("errorMessage",l(20,47,i.errorMessage$)||"")("clearForm",l(21,49,i.clearForm$)||!1)("showSubmitButton",!1)("walletCheckoutAllowed",i.walletCheckoutAllowed())("pricingPlanId",(_=l(22,51,i.pricingPlan$))==null?null:_.id)}},dependencies:[K,ze,H],styles:[`section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;box-sizing:border-box;align-items:flex-start;margin:0 -16px 32px}@media screen and (max-width:1200px){section[_ngcontent-%COMP%]{display:block}}section[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:0 16px;min-height:427px}@media screen and (max-width:1200px){section[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-height:unset}}section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 0 100%;width:100%;max-width:637px}@media screen and (max-width:1200px){section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{max-width:unset}}@media screen and (max-width:1200px){section[_ngcontent-%COMP%]{flex-direction:column}section[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-top:32px}}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%]{flex:1 0 100%;width:100%;max-width:448px;box-sizing:border-box;padding:48px;color:#374151}@media screen and (max-width:1200px){section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%]{max-width:100%}}section[_ngcontent-%COMP%] .card_box.summary[_ngcontent-%COMP%]{font-size:18px}section[_ngcontent-%COMP%] .card_box_big[_ngcontent-%COMP%]{flex:1 0 100%;width:100%;max-width:637px}@media screen and (max-width:1200px){section[_ngcontent-%COMP%] .card_box_big[_ngcontent-%COMP%]{max-width:100%}}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card_row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:0 -8px 16px;padding:16px 0;width:100%;box-sizing:border-box}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card_row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 50%;max-width:calc(50% - 8px);margin:0 8px}@media screen and (max-width:576px){section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card_row[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card_row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:100%;width:100%}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card_row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-top:16px}}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card_row_slim[_ngcontent-%COMP%]{padding:8px 0}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card_row[_ngcontent-%COMP%] .user_creds[_ngcontent-%COMP%]{flex:0 1 50%}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%]{padding-bottom:32px;margin-bottom:18px;border-bottom:1px solid #e5e7eb}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card_row_course[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:flex-start}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .course_image[_ngcontent-%COMP%]{width:48px;height:36px;display:inline-block;background-size:contain;background-repeat:no-repeat;background-image:url(/assets/images/img_computer.png)}section[_ngcontent-%COMP%] .card_box[_ngcontent-%COMP%] .card-number[_ngcontent-%COMP%]{margin-bottom:16px}section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:16px}section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .content-icon[_ngcontent-%COMP%]{margin-right:16px;width:18px;height:22px}section[_ngcontent-%COMP%] app-fee-order-summary[_ngcontent-%COMP%]{border-radius:8px}section.is_pending[_ngcontent-%COMP%]{align-items:stretch}section.is_pending[_ngcontent-%COMP%] app-fee-order-summary .card_box.summary{display:flex;flex-direction:column;align-items:flex-start;height:100%}[_nghost-%COMP%] app-payment-form{display:block;height:100%}[_nghost-%COMP%] app-payment-form .payment-form-wrapper:not(.migrate-payment-processing){height:100%}[_nghost-%COMP%] app-program-enroll-order-summary.is_overlayed{position:relative}[_nghost-%COMP%] app-program-enroll-order-summary.is_overlayed:after{content:"";display:block;position:absolute;inset:0;width:auto;height:auto;padding:0;margin:0;border-radius:inherit;background:#f9fafbcc;z-index:8} #course_locked_filled{fill:#000c3f} #dd_expander{fill:#1e40af}.cards-img[_ngcontent-%COMP%]{margin:0 0 -2px 16px}@media screen and (max-width:480px){.cards-img[_ngcontent-%COMP%]{display:block;margin:3px 0 0}}header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;position:relative;margin:17px 0 47px}header[_ngcontent-%COMP%]:after{content:"";flex:1}@media screen and (max-width:768px){header[_ngcontent-%COMP%]{margin:0 0 47px;flex-direction:column}}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:0}.highlighted[_ngcontent-%COMP%]{color:#25a2af}.paragraph[_ngcontent-%COMP%]{margin-bottom:16px;display:block}.back_button[_ngcontent-%COMP%]{display:flex;align-items:center;flex:1;margin-bottom:0}@media screen and (max-width:768px){.back_button[_ngcontent-%COMP%]{margin:0 auto 20px 0}}.back_button[_ngcontent-%COMP%] app-svg-icon[_ngcontent-%COMP%]{margin-right:16px;width:16px;height:16px;fill:#1e40af;transition:.2s;cursor:pointer;z-index:2}.buttons-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 -8px;padding:35px 0 33px}.buttons-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:0 8px}@media screen and (max-width:576px){.buttons-wrapper[_ngcontent-%COMP%]{flex-direction:column}.buttons-wrapper[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{align-self:center;width:100%}.buttons-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-top:16px}}.input-wrapper[_ngcontent-%COMP%]{position:relative}.input-wrapper[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:absolute;top:50%;right:17px;transform:translateY(-50%);z-index:3}.input-wrapper[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] .fa-question-circle[_ng
5content-%COMP%]:before{color:#1e40af}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-right:37px}.expanded-title[_ngcontent-%COMP%]{position:relative;font-weight:700;color:#1e40af}.expanded-title[_ngcontent-%COMP%] .expander_icon[_ngcontent-%COMP%]{position:absolute;top:50%;margin-left:10px;width:14px;height:14px;transform:translateY(-50%) rotate(180deg);transition:.3s}.expanded[_ngcontent-%COMP%] .expanded-title[_ngcontent-%COMP%] .expander_icon[_ngcontent-%COMP%]{transform:translateY(-50%) rotate(0)}.expanded-body[_ngcontent-%COMP%]{display:none;transition:all .3s;padding-top:35px}.expanded[_ngcontent-%COMP%] .expanded-body[_ngcontent-%COMP%]{display:block}.small[_ngcontent-%COMP%]{font-size:14px} 6/*# sourceMappingURL=fee-payment.component-EHWGF2ZQ.css.map */`],changeDetection:0});let t=e;return t})();var mt=()=>[];function lt(t,e){if(t&1&&(u(0,"app-success-dialog",0),m(1,"async"),m(2,"async")),t&2){let o=e,n=g();x("showRecipientLink",!0)("titleText",n.facade.scenarioName==="printCertificateFee"?"Thank you for purchasing the Physical Certificate for "+n.facade.getShortNameWithTrademark(o)+n.facade.getAdditionalProductsTrademarks(l(1,7,n.facade==null?null:n.facade.additionalImages$)):"You are now entitled to approach the final exam of "+n.facade.getShortNameWithTrademark(o)+" again!")("upperText",n.facade.scenarioName==="printCertificateFee"?"Your certificate will be delivered to your address within 5-7 business days. You'll receive a tracking number on your email.":"")("animationUrl","/assets/images/welcome.svg")("imageUrl",(n.facade==null||n.facade.program==null||n.facade.program.badgeImage==null||n.facade.program.badgeImage.urls==null?null:n.facade.program.badgeImage.urls.origin)||"/assets/images/certificates/small/badge-bundle.svg")("imageStyle","width: 120px; height: 120px;")("additionalImages",l(2,9,n.facade==null?null:n.facade.additionalImages$)||de(11,mt))}}var Ve=(()=>{let e=class e{constructor(){this.facade=d(b),this.notifierService=d(Oe)}ngOnInit(){this.notifierService.success("Your payment has been successfully processed")}};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=y({type:e,selectors:[["app-fee-success"]],standalone:!1,decls:4,vars:3,consts:[["lowerText","A copy of your receipt has been sent by email.",3,"showRecipientLink","titleText","upperText","animationUrl","imageUrl","imageStyle","additionalImages"]],template:function(a,i){if(a&1&&(p(0,"h1"),C(1,"You're All Set!"),s(),f(2,lt,3,12,"app-success-dialog",0),m(3,"async")),a&2){let c;r(2),h((c=l(3,1,i.facade.program$))?2:-1,c)}},dependencies:[Re,H],styles:[`[_nghost-%COMP%]{display:block}h1[_ngcontent-%COMP%], .card_box[_ngcontent-%COMP%]{margin:0 auto 32px;text-align:center}p[_ngcontent-%COMP%]{text-align:left}.card_box[_ngcontent-%COMP%]{box-sizing:border-box;max-width:562px;width:100%}img[_ngcontent-%COMP%]{width:211px;height:176px}[_nghost-%COMP%] .image-wrapper{background-size:cover;background-repeat:no-repeat;background-position:center;width:211px;height:176px;margin:0 auto 20px;border-radius:4px;overflow:hidden} 7/*# sourceMappingURL=fee-success.component-7SOVW2I6.css.map */`],changeDetection:0});let t=e;return t})();var We=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=k({type:e}),e.\u0275inj=S({imports:[q,Q,Z,J,Be,Ne]});let t=e;return t})();var He=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=k({type:e}),e.\u0275inj=S({providers:[b],imports:[q,Q,Z,J,We,Ie,ge.forChild([{path:":programUrl/:scenario",canActivate:[G,ye],canDeactivate:[be,Me],component:Ue,data:{title:"Fee payment"},resolve:{titleResolver:we},children:[{path:"payment",pathMatch:"full",canActivate:[G],component:je},{path:"success",pathMatch:"full",canActivate:[G],component:Ve}]}])]});let t=e;return t})();var Xn=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=k({type:e}),e.\u0275inj=S({imports:[He]});let t=e;return t})();export{Xn as DashboardUiFeeModule}; 8//# sourceMappingURL=src-636MWXPK.js.map
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.