1import{a as _}from"./chunk-UVFNZ6E2.js";import{d as P,f as b}from"./chunk-Y676HR6D.js";import"./chunk-GJRX642O.js";import"./chunk-T72CM2YX.js";import"./chunk-F4L5WWOA.js";import"./chunk-SIKJCCZF.js";import"./chunk-ITTWIXOU.js";import{h as x,j as O}from"./chunk-KZVZUYKV.js";import"./chunk-NJUEIQ7N.js";import"./chunk-C4DBOZGV.js";import{Bc as i,Cc as f,Kc as C,Mb as g,Zb as d,cc as e,dc as n,ec as a,nc as u,pc as h,ub as c,vb as l,ya as m}from"./chunk-Q2SFFC6O.js";import"./chunk-GAL4ENT6.js";function v(r,w){if(r&1&&(e(0,"h3"),i(1,"WHEN YOU BEGIN THE CHALLENGE, YOU CAN ACCESS HELP RESOURCES FROM THE ORANGE COLOURED LINKS"),n(),e(2,"div",8)(3,"div",9)(4,"p",10),i(5),n(),e(6,"div"),a(7,"img",11),n()(),e(8,"div",12)(9,"label"),i(10,"Status: Draft"),n(),e(11,"span"),i(12,"|"),n(),e(13,"label"),a(14,"img",13),e(15,"span",14),i(16,"Guidance for Step 1"),n()(),e(17,"span"),i(18,"|"),n(),e(19,"label"),a(20,"img",15),e(21,"span",14),i(22,"Video for Step 1"),n()(),e(23,"span"),i(24,"|"),n(),e(25,"label"),a(26,"img",16),e(27,"span",14),i(28,"Resources for Step 1"),n()()()()),r&2){let t=h();c(5),f(t.title)}}var T=(()=>{class r{constructor(t,s,o,p){this.router=t,this.route=s,this.ChallengeService=o,this.authService=p,this.isCustomTemplate=!1,this.isBasicPlan=!1,this.isOrganization=!1,this.message="You are now ready to create a strategically impactful future for the world! Welcome to the journey of conscious future-making!"}ngOnInit(){this.user$=this.authService.getUser(),this.user$.subscribe(t=>{t&&(this.isOrganization=P.isUserOrganization(t.roles),console.log("isOrganization",this.isOrganization))}),this.isBasicPlan=this.router.url.includes("return-basic-plan-status"),this.isCustomTemplate=this.router.url.includes("return-custom-template-status"),this.sessionId=this.route.snapshot.queryParams.session_id,this.ChallengeService.getSessionStatus(this.sessionId).subscribe(t=>{this.router.url.includes("return-custom-template-status")?this.id=t.id:(this.id=t.challengeId,this.title=t.challengeTitle)},t=>{console.error(t,"error")})}redirectToSolver(){this.router.url.includes("return-custom-template-status")?this.router.navigate(["/solver-flow/custom-template",this.id],{queryParams:{custom_template:!0}}
1):this.isBasicPlan?this.router.navigate(["/the-challenges"],{queryParams:{tab:"Strategy Navigator"}}):this.router.navigate(["/solver-flow",this.id])}static{this.\u0275fac=function(s){return new(s||r)(l(O),l(x),l(_),l(b))}}static{this.\u0275cmp=m({type:r,selectors:[["app-payment-status-component"]],standalone:!0,features:[C],decls:13,vars:1,consts:[[1,"container"],[1,"payment-status-design"],["src","/images/common/success-payment.png","width","250px","height","auto","alt","Payment"],[1,"payment-msg-wrapper"],[1,"col-md-12","text-end","btn-wrapper"],[1,"btn","btn-gradient","btn-bg-blue-gradient","custom-btn",3,"click"],[1,"arrow-btn-wrapper"],["src","/images/home/right-arrow.svg","alt","Arrow","height","20",1,"arrow-icon1"],[1,"challenge-details-wrapper"],[1,"challenge-title"],[2,"width","100%"],["src","/images/common/blue-down.svg","alt","img"],[1,"col-md-12","d-flex","justify-content-end","stepper-status-res-wrapper"],["src","/images/solver-flow/guildance.svg","alt","Guidance"],[1,"resource-label"],["src","/images/solver-flow/video.svg","alt","Video"],["src","/images/solver-flow/resources.svg","alt","Resources"]],template:function(s,o){s&1&&(e(0,"div",0)(1,"div",1),a(2,"img",2),e(3,"div",3)(4,"h2"),i(5,"Payment successfully received!"),n(),a(6,"p"),n()(),g(7,v,29,1),e(8,"div",4)(9,"button",5),u("click",function(){return o.redirectToSolver()}),i(10," CONTINUE "),e(11,"span",6),a(12,"img",7),n()()()()),s&2&&(c(7),d(!o.isCustomTemplate&&!o.isBasicPlan?7:-1))},styles:[".payment-status-design[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:column;align-items:center}.payment-status-design[_ngcontent-%COMP%] .payment-msg-wrapper[_ngcontent-%COMP%]{position:absolute;max-width:611px;text-align:center;margin-left:30px;top:416px}.payment-status-design[_ngcontent-%COMP%] .payment-msg-wrapper[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#0074c1;font-weight:600;margin-bottom:10px}.payment-status-design[_ngcontent-%COMP%] .payment-msg-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:15px;font-weight:500}h3[_ngcontent-%COMP%]{color:#0074c1;font-size:15px;font-weight:500;margin-bottom:10px;text-align:center}.btn-wrapper[_ngcontent-%COMP%]{position:relative;margin-top:64px;display:flex;justify-content:center}.btn-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:20px}.challenge-details-wrapper[_ngcontent-%COMP%]{border:1px solid #bcbcbc;margin-bottom:50px}.challenge-details-wrapper[_ngcontent-%COMP%] .challenge-title[_ngcontent-%COMP%]{display:flex;padding:20px;border-bottom:1px solid #bcbcbc}.challenge-details-wrapper[_ngcontent-%COMP%] .challenge-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:600;font-size:20px;color:#000;margin-right:40px;margin-bottom:0}.challenge-details-wrapper[_ngcontent-%COMP%] .challenge-title[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:#cce3f3;border-radius:5px;padding:16px 12px;display:flex;height:40px;align-items:center;justify-content:center}.challenge-details-wrapper[_ngcontent-%COMP%] .stepper-status-res-wrapper[_ngcontent-%COMP%]{font-size:12px;margin-top:55px;color:#000;padding-bottom:20px;padding-right:20px}.challenge-details-wrapper[_ngcontent-%COMP%] .stepper-status-res-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#bcbcbc}.challenge-details-wrapper[_ngcontent-%COMP%] .stepper-status-res-wrapper[_ngcontent-%COMP%] .resource-label[_ngcontent-%COMP%]{color:#ff7c09;font-weight:600;margin-left:6px}.challenge-details-wrapper[_ngcontent-%COMP%] .stepper-status-res-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin:0 10px}.challenge-details-wrapper[_ngcontent-%COMP%] .stepper-status-res-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:last-child{margin-right:0}"]})}}return r})();export{T as PaymentStatusComponentComponent};
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.