1import{a as Ne}from"./chunk-UI47EODH.js";import{a as Wt}from"./chunk-DMEZWVLV.js";import{a as Rt}from"./chunk-3Y4Y26FR.js";import{a as Gt}from"./chunk-ZJAG7ET4.js";import{a as Ht}from"./chunk-WAN6OEWY.js";import{a as De}from"./chunk-PLDTPKBY.js";import{Gh as jt,Ic as Pt,Jf as kt,Kc as ie,Kf as Et,Lc as Z,Lf as Bt,Mc as E,Nc as ve,Nf as Se,Oc as vt,Of as At,Pc as Mt,Pf as Vt,Qc as Le,Rc as H,Sc as wt,T as yt,Tf as Lt,Tg as Fe,U as $,Zf as qt,da as xe,ea as xt,fa as Q,jh as Ut,k as Ct,qf as we,tg as qe,vf as oe,vg as Nt,xf as Oe,yf as Tt}from"./chunk-Z7QJGSO2.js";import{a as Dt}from"./chunk-CAAQCI76.js";import{a as Pe}from"./chunk-2DG4EMG2.js";import"./chunk-HSHVAMXQ.js";import{a as zt}from"./chunk-HT4BWSKW.js";import{e as Ot,i as It,n as St,q as Me,r as Ft}from"./chunk-7IP4N3MI.js";import"./chunk-Y7VNH7AT.js";import{F as _t,G as gt,H as be,J as ut,K as ft,M as Ie,b as at,c as ee,e as _,g as te,h as rt,n as he,o as st,q as lt,u as ct,v as dt,x as pt,y as mt}from"./chunk-SN2LMZH2.js";import{a as ne}from"./chunk-SKJKBA5P.js";import{$a as Ze,$b as J,Ab as v,Ea as re,Fb as x,Fd as F,Hb as s,K as O,Lb as et,Ma as W,Mb as ce,Nb as de,Nc as j,Pa as Qe,Pc as tt,Ra as r,Rb as Ee,Rd as R,S as ge,Sd as ht,Tb as Be,Td as G,Ud as Ce,Vc as nt,Vd as ye,Wb as c,Xb as D,Xd as bt,Ya as m,Yb as k,Yd as w,Zb as ue,_a as I,_c as fe,ac as X,ad as it,bc as K,c as We,eb as q,hc as U,ia as Ye,ic as b,jb as C,jc as Ae,lb as y,md as ot,nb as Je,ob as Xe,oc as S,pb as Ke,pc as Y,qa as u,qb as l,ra as f,rb as o,sa as V,sb as a,sc as pe,ta as L,tb as h,tc as Ve,xa as $e,xb as se,yb as le}from"./chunk-TMJ7EB5C.js";import"./chunk-XLHMB6CO.js";import"./chunk-N2ADYHRH.js";import"./chunk-2N4XUULZ.js";import{a as ke,b as Ge,h as He}from"./chunk-E5QWB6YB.js";var pn=["tierDetailsElem"],mn=["artistListElem"],_n=["collectorListElem"],gn=["galleryListElem"],Yt=n=>({active:n});function un(n,d){if(n&1){let e=v();o(0,"div",8)(1,"div",23)(2,"div",24),x("click",function(){u(e);let i=s();return f(i.changeTab("yearly"))}),o(3,"span"),c(4,"Yearly Billing"),a()(),o(5,"div",24),x("click",function(){u(e);let i=s();return f(i.changeTab("monthly"))}),o(6,"span"),c(7,"Monthly Billing"),a()()()()}if(n&2){let e=s();r(2),l("ngClass",b(2,Yt,e.activeTab==="yearly")),r(3),l("ngClass",b(4,Yt,e.activeTab==="monthly"))}}function fn(n,d){if(n&1&&(o(0,"div",30),c(1),S(2,"currency"),a()),n&2){let e=s(2).$implicit;r(),k("",pe(2,1,(e==null?null:e.monthlyPricing)/100||0,"USD","$","1.0-0")," per month")}}function hn(n,d){if(n&1&&(o(0,"div",30),c(1),a()),n&2){let e=s(3);r(),D(e.noPriceLabel)}}function bn(n,d){if(n&1&&(o(0,"small"),c(1),S(2,"currency"),a()),n&2){let e=s(2).$implicit;r(),k("",pe(2,1,(e==null?null:e.monthlyPricing)*12/100||0,"USD","$","1.0-0")," per year")}}function Cn(n,d){if(n&1&&(o(0,"div",27),C(1,fn,3,6,"div",30),C(2,hn,2,1,"div",30),C(3,bn,3,6,"small"),a()),n&2){let e=s().$implicit,t=s();r(),y((e==null?null:e.monthlyPricing)>0?1:-1),r(),y(!(e!=null&&e.monthlyPricing)||(e==null?null:e.monthlyPricing)===0?2:-1),r(),y((t.allPlanDetails==null?null:t.allPlanDetails.length)>0&&t.isDisplayFrequency()?3:-1)}}function yn(n,d){if(n&1&&(o(0,"div",30),c(1),S(2,"currency"),a()),n&2){let e=s(2).$implicit;r(),k("",pe(2,1,(e==null?null:e.annualPricing)/100||0,"USD","$","1.0-0")," per year")}}function xn(n,d){if(n&1&&(o(0,"div",30),c(1),a()),n&2){let e=s(3);r(),D(e.noPriceLabel)}}function Pn(n,d){if(n&1&&(o(0,"small"),c(1),S(2,"currency"),a()),n&2){let e=s(2).$implicit;r(),k("",pe(2,1,(e==null?null:e.annualPricing)/1200||0,"USD","$","1.0-0")," per month")}}function vn(n,d){if(n&1&&(o(0,"div",28),C(1,yn,3,6,"div",30),C(2,xn,2,1,"div",30),C(3,Pn,3,6,"small"),a()),n&2){let e=s().$implicit,t=s();r(),y((e==null?null:e.annualPricing)>0?1:-1),r(),y(!(e!=null&&e.annualPricing)||(e==null?null:e.annualPricing)===0?2:-1),r(),y((t.allPlanDetails==null?null:t.allPlanDetails.length)>0&&t.isDisplayFrequency()?3:-1)}}function Mn(n,d){if(n&1&&h(0,"div",29),n&2){let e=s().$implicit,t=s();l("innerHTML",t.activeTab==="monthly"&&!(e!=null&&e.monthlyPricing)||t.activeTab==="yearly"&&!(e!=null&&e.annualPricing)?"\xA0":t.displayBenefitTitle,W)}}function wn(n,d){if(n&1&&(o(0,"div",10)(1,"div",25),c(2),a(),o(3,"div",26),C(4,Cn,4,3,"div",27),C(5,vn,4,3,"div",28),a(),o(6,"div",12,1),C(8,Mn,1,1,"div",29),a()()),n&2){let e=d.$implicit,t=s();r(2),k(" ",e==null?null:e.level," "),r(2),y(t.activeTab==="monthly"?4:-1),r(),y(t.activeTab==="yearly"?5:-1),r(3),y(t.displayBenefitTitle?8:-1)}}function On(n,d){n&1&&(o(0,"div",15)(1,"div"),c(2,"This field is required"),a()())}var Jt=(()=>{class n{constructor(e,t,i,p,g,P,B,z,T){this.accountTierService=e,this.router=t,this.modalService=i,this.fb=p,this.referenceDataService=g,this.store=P,this.http=B,this.notifier=z,this.activatedRoute=T,this.allPlanDetails=[],this.discountedPlanDet=null,this.activeTab="yearly",this.reCaptchaToken=Ot,this.captchaFailed=!1,this.messages=Pe,this.formSubmitted=!1,this.isOpened=!1,this.closePlanModal=new $e,this.environment=w,this.showCircleSelection=[!1,!1,
1!1],this.circleList=[],this.selectedCircleId=null,this.selectedCircleTeam=null,this.selectedCircleOwnerId=null,this.amount=null,this.frequencyList=[{label:"One-Time",value:"single"},{label:"Yearly",value:"yearly"},{label:"Monthly",value:"monthly"},{label:"Quarterly",value:"quarterly"}],this.selectedFrequency="yearly",this.noPriceLabel="FREE",this.displayBenefitTitle="",this.noPriceBtnLabel="Contact Sales",this.joinBtnLabel="Join",this.joinPageClicked=!1,this.planToDisplay=29,this.contactForm=p.group({name:["",[_.required]],email:["",[_.required,_.pattern(Me)]],orgName:[""],message:["",[_.required]],recaptcha:["",[_.required]]}),this.store.dispatch(new $("The She Power Hour")),w.production?this.circleList=[{questId:1499,userId:70415,teamId:602,name:"Crohn's & Colitis Foundation"},{questId:1500,userId:70415,teamId:603,name:"Because Jonah Would"},{questId:1501,userId:70415,teamId:604,name:"Charcot-Marie-Tooth Association"},{questId:1502,userId:70415,teamId:605,name:"United Mitochondrial Disease Foundation"},{questId:1503,userId:70415,teamId:607,name:"Baby Essentials of Long \u200BIsland- BELI"},{questId:1498,userId:70415,teamId:606,name:"Other Charity"},{name:"Not at this time",questId:-1}]:this.circleList=[{questId:3515,userId:3467,teamId:1455,name:"Crohn's & Colitis Foundation"},{questId:3516,userId:3467,teamId:1456,name:"Because Jonah Would"},{questId:3517,userId:3467,teamId:1457,name:"Charcot-Marie-Tooth Association"},{questId:3518,userId:3467,teamId:1458,name:"United Mitochondrial Disease Foundation"},{questId:3519,userId:3467,teamId:1459,name:"Baby Essentials of Long \u200BIsland- BELI"},{questId:3520,userId:3467,teamId:1460,name:"Other Charity"},{name:"Not at this time",questId:-1}]}ngOnInit(){this.activatedRoute.queryParams.subscribe(e=>{this.activeTab=e.selectedInterval??"yearly",this.selectedFrequency=e.donationInterval??"yearly",this.planToDisplay=e.planId?Number(e.planId):w.production?29:67,this.amount=e.donateAmount??null,this.selectedCircleId=e.circle??null,this.selectedCircleId&&this.selectCircle(this.circleList.find(t=>t.questId===Number(this.selectedCircleId)))}),this.store.select("userInfo").subscribe(e=>{e&&e.id&&this.contactForm.patchValue({name:e.name,email:e.email,orgName:Lt(e.brand)||""})}),this.store.select("tierUpgrade").subscribe(e=>{e.tierVariantsOf&&e.tierVariantsOf.toLowerCase()==="the she power hour"&&this.allPlanDetails.length===0&&(this.allPlanDetails=e.tierVariants.filter(t=>!w.production&&t.id===this.planToDisplay||w.production&&t.id===this.planToDisplay),this.discountedPlanDet=e.tierVariants.filter(t=>!w.production&&t.id===this.planToDisplay||w.production&&t.id===this.planToDisplay)[0])}),setTimeout(()=>{this.isOpened=!0,this.ngAfterViewInit()},1e3)}ngAfterViewInit(){if(console.log("159",this.artistListElem,this.galleryListElem,this.collectorListElem),window.outerWidth>767&&this.artistListElem&&this.artistListElem.nativeElement&&this.galleryListElem&&this.galleryListElem.nativeElement&&this.collectorListElem&&this.collectorListElem.nativeElement){this.artistListElem.nativeElement.style.removeProperty("height"),this.galleryListElem.nativeElement.style.removeProperty("height"),this.collectorListElem.nativeElement.style.removeProperty("height");let e=Math.max(this.collectorListElem.nativeElement.offsetHeight,this.galleryListElem.nativeElement.offsetHeight,this.artistListElem.nativeElement.offsetHeight);this.galleryListElem.nativeElement.style.height=e+"px",this.artistListElem.nativeElement.style.height=e+"px",this.collectorListElem.nativeElement.style.height=e+"px"}}closePlans(){this.closePlanModal.emit(!0)}changeTab(e){this.activeTab=e}goToPage(){let e=this.allPlanDetails[0].id;if(this.joinPageClicked=!0,!this.selectedCircleId){this.notifier.notify("error","Please select your option");return}if(this.selectedCircleId!=-1&&(!this.amount||this.amount<=0)){this.notifier.notify("error","Please enter amount to donate");return}this.router.navigate(["/join-theshepowerhour/join-user/choose-plan"],{queryParams:{selectedPlan:e,selectedInterval:this.activeTab,donationInterval:this.selectedCircleId==-1?null:this.selectedFrequency,donateAmount:this.selectedCircleId==-1?null:this.amount,circle:this.selectedCircleId==-1?null:this.selectedCircleId,circleTeam:this.selectedCircleId==-1?null:this.selectedCircleTeam,circleOwner:this.selectedCircleId==-1?null:this.selectedCircleOwnerId}})}closeModal(){this.modalReference.close()}onSubmit(){let e=this.contactForm.value,t=It+`contact?name=${e.name}&email=${e.email}&desc=${e.message}`;return this.http.post(t,null).subscribe(i=>{this.contactForm.reset()})}handleSuccess(e){this.referenceDataService.verifyCapcha(e).subscribe(t=>{this.captchaFailed=!t||t&&!t.status||t&&t.status&&t.status!==200;let i=t&&t.status&&t.status===200;this.contactForm.patchValue({recaptcha:i})})}handleReset(){this.contactForm.patchValue({recaptcha:!1})}handleReady(e){e&&e.execute()}handleLoad(){}toggleShowCircle(e){this.showCircleSelection[e]=!0,setTimeout(()=>{this.ngAfterViewInit()},10)}openedDropdown(){setTimeout(()=>{let e=document.getElementsByClassName("ng-select-opened");for(let t=0;t<e.length;t++)e[t].style.zIndex="99"},300)}closedDropdown(){setTimeout(()=>{let e=document.getElementsByClassName("ng-select");for(let t=0;t<e.length;t++)e[t].style.zIndex="9"},500)}selectCircle(e){setTimeout(()=>{this.ngAfterViewInit()},10),this.selectedCircleId=parseInt(e.questId),this.selectedCircleOwnerId=parseInt(e.userId),this.selectedCircleTeam=parseInt(e.teamId||0),this.closedDropdown(),setTimeout(()=>{this.ngAfterViewInit()},10)}isDisplayFrequency(){return this.allPlanDetails.filter(e=>e.monthlyPricing&&Number(e.monthlyPricing)>0).length===this.allPlanDetails.filter(e=>e.annualPricing&&Number(e.annualPricing)>0).length}static{this.\u0275fac=function(t){return new(t||n)(m(De),m(G),m(we),m(be),m(Oe),m(F),m(ot),m(ne),m(R))}}static{this.\u0275cmp=I({type:n,selectors:[["app-custom-upgrade-
1details"]],viewQuery:function(t,i){if(t&1&&et(pn,5,re)(mn,5,re)(_n,5,re)(gn,5,re),t&2){let p;ce(p=de())&&(i.tierDetailsElem=p.first),ce(p=de())&&(i.artistListElem=p.first),ce(p=de())&&(i.collectorListElem=p.first),ce(p=de())&&(i.galleryListElem=p.first)}},outputs:{closePlanModal:"closePlanModal"},standalone:!1,decls:32,vars:14,consts:[["tierDetailsElem",""],["benefitsListRef",""],[1,"c-tier-details"],[1,"c-tier-details__header"],[1,"c-tier-details__header__title"],[1,"c-tier-details__header__close",3,"click"],[1,"icon","icon-dl-close"],[0,"xlink","href","#icon-dl-close"],[1,"c-tier-details__tier-header"],[1,"c-tier-details__tier-plan"],[1,"c-tier-details__tier-plan__cont"],[1,"c-tier-details__tier-plan__cont__title","overlay"],[1,"c-tier-details__tier-plan__cont__benefits-list"],[1,"mb-20"],["bindValue","questId","bindLabel","name",1,"c-n-form__input","force-default-color",3,"ngModelChange","change","open","close","id","searchable","clearable","items","placeholder","ngModel"],["role","alert",1,"c-n-form__alert"],[1,"c-donate__prices__col","own-amount","c-n-form__group"],[1,"c-n-form__input","force-default-color","own-amount-child","c-donate__price"],[1,"label"],["aria-label","Amount","placeholder","Donation Amount","minlength","1","maxlength","9",1,"",3,"ngModelChange","ngModel"],["bindValue","value","bindLabel","label",1,"c-n-form__input","force-default-color",3,"ngModelChange","open","close","searchable","clearable","items","placeholder","ngModel"],[1,"c-n-form__group","mt-20"],["type","button",1,"e-btn","e-btn_dark","w-100p",3,"click"],[1,"c-tier-details__tier-header__buttons-row"],[1,"c-tier-details__tier-header__buttons-row__item",3,"click","ngClass"],[1,"c-tier-details__tier-plan__cont__title"],[1,"c-tier-details__tier-plan__cont__pricing"],[1,"monthly"],[1,"yearly"],[1,"c-tier-details__tier-plan__cont__benefits-list__title",3,"innerHTML"],[1,"pricing-main"]],template:function(t,i){if(t&1){let p=v();o(0,"div",2,0)(2,"div",3)(3,"div",4),c(4,"\xA0"),a(),o(5,"div",5),x("click",function(){return i.closePlans()}),V(),o(6,"svg",6),h(7,"use",7),a()()(),C(8,un,8,6,"div",8),L(),o(9,"div",9),Xe(10,wn,9,4,"div",10,Je),a(),o(12,"div",9)(13,"div",10)(14,"div",11),c(15," Donation Options "),a(),o(16,"div",12)(17,"div",13)(18,"ng-select",14),K("ngModelChange",function(P){return u(p),X(i.selectedCircleId,P)||(i.selectedCircleId=P),f(P)}),x("change",function(P){return i.selectCircle(P)})("open",function(){return i.openedDropdown()})("close",function(){return i.closedDropdown()}),a(),C(19,On,3,0,"div",15),a(),o(20,"div",16)(21,"div",17)(22,"div",18)(23,"span"),c(24,"$"),a()(),o(25,"input",19),K("ngModelChange",function(P){return u(p),X(i.amount,P)||(i.amount=P),f(P)}),a()()(),o(26,"div")(27,"ng-select",20),K("ngModelChange",function(P){return u(p),X(i.selectedFrequency,P)||(i.selectedFrequency=P),f(P)}),x("open",function(){return i.openedDropdown()})("close",function(){return i.closedDropdown()}),a()()(),o(28,"div",21)(29,"button",22),x("click",function(){return i.goToPage()}),o(30,"span"),c(31,"Join Now"),a()()()()()()}t&2&&(r(8),y((i.allPlanDetails==null?null:i.allPlanDetails.length)>0&&i.isDisplayFrequency()?8:-1),r(2),Ke(i.allPlanDetails),r(8),l("id","circle-select-0")("searchable",!0)("clearable",!1)("items",i.circleList)("placeholder","Select an option"),J("ngModel",i.selectedCircleId),r(),y(!i.selectedCircleId&&i.joinPageClicked?19:-1),r(6),J("ngModel",i.amount),r(2),l("searchable",!1)("clearable",!1)("items",i.frequencyList)("placeholder","Please select"),J("ngModel",i.selectedFrequency))},dependencies:[j,oe,ee,te,_t,gt,he,Se,fe],styles:['[_ngcontent-%COMP%]:root{--accent-color: #008297;--accent-color-rgb: 0 130 151;--accent-dark-color: #295967;--accent-bg-light-color: #339BAC;--btn-text-color: #2e3638;--theme-text-dark: #2e3638;--bg-text-color: #2e3638;--theme-text-light: #ffffff;--btn-text-light: #ffffff;--quest-content-bg: #FFFFFF;--quest-highlight-bg: #E5EAED;--white-section-bg: #ffffff;--comment-blue-bg: #E5F2F5;--quest-header-bg: #008297;--lighter-btn-bg: #E5F2F5;--quest-detail-nav: #008297;--quest-detail-nav-dark: #295967;--site-header: #ffffff;--site-header-text: #2e3638;--site-header-highlight: #008297;--site-header-highlight-light: #008297;--site-header-highlight-text: #ffffff;--site-header-highlight-text-invert: #ffffff;--site-header-box-shadow: #00000080;--site-header-badge-bg: #E5F2F5;--site-header-badge-text: #008297;--avatar-border: #e0e0e0;--success-bg-btn: #1D966A;--success-bg-text: #ffffff;--table-row-hover: #F2F9FA;--mission-statement-bg: #E5F2F5;--mission-statement-text: #2e3638;--bg-text-color-light: #6d787e;--bg-white-ghost: #F8F8F9;--bg-milestone: #f3f3f3;--white-bg-original: #ffffff;--modal-bg: #ffffff;--feedback-bg: #f5f7f8;--transparent-white-bg: #FFFFFF;--milestone-task-bg: #f5f7f8;--primary-bg: #f3f3f3;--primary-bg-secondary: #ffffff;--quest-detail-right: #E5EAED;--input-field-bg: #ffffff;--nav-flow-number-bg: #ffffff;--nav-flow-number-color: #000000;--flow-pages-bg: #f3f3f3;--flow-pages-section-bg: #ffffff;--tooltip-bg: #000000;--tooltip-text-color: #ffffff;--close-btn-invert: 0;--close-btn-invert-str: invert(0);--payment-block-row: #ffffff;--search-hover-bg: #f0f0f0;--progress-bar-uncovered: #ffffff;--bg-text-color-secondary: #c5c9cb;--bs-backdrop-bg-custom: #000000;--read-more-gradient: #ffffff;--read-more-btn-text: #2e3638;--dots-bg: #E5F2F5;--dots-color: #2e3638;--total-amount-color: #2e3638;--team-option-bg: #f9f9f9;--team-option-bg-dark: #ededed;--checkbox-selection-color: #ffffff;--comment-text-color: #2e3638;--table-member-bg: #F4F7F7;--table-rank-bg: #ffffff;--table-gutter-bg: #E8E9EA;--error-dark: #D00808;
1--error-dark-hover: #e61c1c;--timeline-bg: #F3F4F5;--marked-milestone-bg: #1D966A;--marked-milestone-bg-hover: #22ab79;--marked-milestone-block: #E8F4F0;--accent-color-secondary-light: #EAEEF0;--sample-primary-bg: #f3f3f3;--sample-quest-content-bg: #ffffff;--sample-bg-text-color: #2e3638;--sample-theme-bg-color: #008297;--sample-theme-bg-color-light: #339BAC;--sample-theme-text-light: #ffffff;--sample-btn-text-light: #ffffff;--sample-btn-text-color: #2e3638;--white-10: rgba(255, 255, 255, .1);--black: #000;--black-70: rgba(0, 0, 0, .7);--black-50: rgba(0, 0, 0, .5);--black-40: rgba(0, 0, 0, .4);--black-10: rgba(0, 0, 0, .1);--black-05: rgba(0, 0, 0, .05);--petrol-70: rgba(0, 81, 102, .7);--petrol-50: rgba(0, 81, 102, .5);--petrol-30: rgba(0, 81, 102, .3);--petrol-15: rgba(0, 81, 102, .05);--blue-stone-15: rgba(0,81,102, .05);--bismark-80: rgba(71,121,133,.8);--cornflowerBlue-10: rgba(36,88,102,.1);--white-70: rgba(255, 255, 255, .7);--white-50: rgba(255, 255, 255, .5);--white-30: rgba(255, 255, 255, .3);--light-blue-grey: #a6dce5;--jungle-mist: #aac9ce;--powder-blue: #b0e0e8;--shakespeare: #3fb1d1;--matisse: #1D728F;--blizzard-blue: #a6e0ec;--aquamarine-blue: #86d0e1;--hippie-blue: #609eae;--purpley-grey: #9e94a2;--ebony-clay: #1f3034;--petrol: #005166;--orient: #006a86;--cutty-sark: #516e75;--juniper: #648288;--smalt-blue: #548b97;--bali-hai: #81a8b3;--golden-fizz: #f8ec31;--amber: #FFC107;--geraldine: #ff7f7f;--cinnabar: #e83d3d;--white: #fff;--silver: #bbb;--shamrock: #2ecc71;--amazon: #347750;--puce: #cc8588;--alto: #dedede;--bermuda: #83cad9;--cornflower: #92d6e5;--bright-yellow: #fff100;--tabasco: #b41212;--casal: #295966;--outer-space: #2e3638;--dove-gray: #646464;--dusty-gray: #979797;--silver-sand: #bec1c1;--tower-gray: #d6dee1;--geyser: #d6dee1;--wild-sand: #f4f4f4;--alabaster: #f9f9f9;--anakiwa: #87ffff;--pelorous: #34a6b1;--shakespeare: #41abcb;--eastern-blue: #168cb2;--tealColor: #008297;--tealLightColor: #339BAC;--tealDarkColor: #295967;--greyDarkColor: #2e3638;--greyColor: #6d787e;--lightGreyColor: #c5c9cb;--ghostWhite: #F8F8F9;--ghostGrey: #EBECED;--paleCyan: #cce6ea;--secondary-bg: #ebebeb;--progress-bg: #f5f7f8;--tealLightBg: #E5EAED;--backgroundOptionsGray: #f5f5f5;--platinum: #A7AEB2;--grayBlueBg: #E5F2F5;--errorRed: #B73622;--warning-color: #EB7200;--orange-warning: #EB7200;--orange-warning-light: #FDF1E5;--orange: #FFB217;--orange-80: rgba(255, 178, 23, .8);--physical: #DB3900;--environmental: #4A8500;--occupational: #E20096;--mental: #018484;--friends: #905CB4;--piggybank: #AD7D00;--teal-01: rgba(41, 89, 103, .1);--teal-005: rgba(41, 89, 103, .05);--light-gold: #F2EBD9;--brown-gold: #A67B00;--border-radius-val: 5px;--borderLightGray: #C5C9CB;--silver-20: #F3F4F5;--teal-70: #4DA7B6;--success-bg: #1D966A;--success-bg-hover: #22ab79;--sinbad: #99CDD5;--btn-theme-bg: #008297;--btn-theme-bg-light-color: #339BAC;--btn-theme-text: #ffffff;--sample-btn-bg-color: #008297;--ab-offset: 0px}.c-tier-details[_ngcontent-%COMP%]{position:fixed;top:66px;z-index:1060;background:var(--primary-bg);width:100%;height:calc(100vh - 66px);padding:20px 30px;color:var(--theme-text-dark);overflow:auto}@media(max-width:570px){.c-tier-details[_ngcontent-%COMP%]{padding:20px;top:56px}}.c-tier-details__header[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.c-tier-details__header__title[_ngcontent-%COMP%]{font-size:20px;font-family:ProximaNova-Bold;line-height:42px}.c-tier-details__header__close[_ngcontent-%COMP%]{cursor:pointer}.c-tier-details__header__close[_ngcontent-%COMP%] .icon-dl-close[_ngcontent-%COMP%]{width:15px;height:15px}.c-tier-details__tier-header[_ngcontent-%COMP%]{text-align:center}.c-tier-details__tier-header__buttons-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center}.c-tier-details__tier-header__buttons-row__item[_ngcontent-%COMP%]{padding:7px 10px;min-width:150px;display:flex;font-size:13px;font-family:ProximaNova-Bold;color:var(--theme-text-dark);cursor:pointer;flex-direction:row;align-items:center;justify-content:center;border:solid 1px var(--btn-theme-bg);border-radius:5px}.c-tier-details__tier-header__buttons-row__item[_ngcontent-%COMP%]:first-child{margin-right:-10px}.c-tier-details__tier-header__buttons-row__item[_ngcontent-%COMP%]:last-child{margin-left:-10px}.c-tier-details__tier-header__buttons-row__item.active[_ngcontent-%COMP%]{background:var(--btn-theme-bg);border-radius:5px;color:var(--btn-text-light);position:relative;z-index:2;margin-left:5px;margin-right:5px}.c-tier-details__tier-header__buttons-row__item.active[_ngcontent-%COMP%] .highlight[_ngcontent-%COMP%]{background-color:var(--teal-70);color:var(--white)}.c-tier-details__tier-header__buttons-row__item[_ngcontent-%COMP%] .highlight[_ngcontent-%COMP%]{border-radius:10px;padding:2px 5px;margin-left:5px;
1font-size:7px;font-family:ProximaNova-Bold;text-transform:uppercase;color:#428fd2;position:relative}.c-tier-details__tier-header__buttons-row__item[_ngcontent-%COMP%] .highlight[_ngcontent-%COMP%]:before{content:"";position:absolute;width:100%;height:100%;background-color:#437dc4;opacity:.15;top:0;left:0;border-radius:10px}.c-tier-details__tier-plan[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;padding:40px 15px 20px}@media(max-width:768px){.c-tier-details__tier-plan[_ngcontent-%COMP%]{flex-direction:column;padding:20px 10px}}.c-tier-details__tier-plan__cont[_ngcontent-%COMP%]{border-radius:10px;border:solid 1px var(--accent-color);box-shadow:0 4px 4px #00000040;padding:32px 32px 25px;width:30%;margin-right:15px;position:relative}.c-tier-details__tier-plan__cont[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{position:relative}@media(max-width:768px){.c-tier-details__tier-plan__cont[_ngcontent-%COMP%]{width:100%;margin-right:0;margin-bottom:20px}}.c-tier-details__tier-plan__cont[_ngcontent-%COMP%]:last-child{margin-right:0}.c-tier-details__tier-plan__cont.current-plan[_ngcontent-%COMP%]{border-color:var(--lightGreyColor)}.c-tier-details__tier-plan__cont__title[_ngcontent-%COMP%]{font-size:22px;font-family:ProximaNova-Bold;text-align:center;text-transform:uppercase}.c-tier-details__tier-plan__cont__title.overlay[_ngcontent-%COMP%]{margin-top:-49px;background:var(--primary-bg);width:auto}.c-tier-details__tier-plan__cont__title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px;color:var(--accent-color);font-weight:400}.c-tier-details__tier-plan__cont__sub-title[_ngcontent-%COMP%]{font-size:12px;color:var(--greyColor);text-align:center}.c-tier-details__tier-plan__cont__allowed-members[_ngcontent-%COMP%]{color:var(--accent-color);padding-top:12px;font-size:10px;font-family:ProximaNova-Bold}.c-tier-details__tier-plan__cont__pricing[_ngcontent-%COMP%]{font-size:18px;font-family:ProximaNova-Bold;margin-top:22px;text-align:center}.c-tier-details__tier-plan__cont__pricing[_ngcontent-%COMP%] .pricing-main[_ngcontent-%COMP%]{line-height:10px}@media(max-width:768px){.c-tier-details__tier-plan__cont__pricing[_ngcontent-%COMP%] .pricing-main[_ngcontent-%COMP%]{line-height:20px}}.c-tier-details__tier-plan__cont__pricing[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-family:ProximaNova-Semibold;font-size:12px;color:var(--greyColor)}.c-tier-details__tier-plan__cont__conditions-text[_ngcontent-%COMP%]{font-size:10px;color:var(--greyColor);margin-top:20px}.c-tier-details__tier-plan__cont__benefits-list[_ngcontent-%COMP%]{margin-top:24px;font-size:17px}.c-tier-details__tier-plan__cont__benefits-list__title[_ngcontent-%COMP%]{font-size:17px;font-family:ProximaNova-Regular;margin-bottom:8px}.c-tier-details__tier-plan__cont__benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none}.c-tier-details__tier-plan__cont__benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;margin-bottom:8px}.c-tier-details__tier-plan__cont__benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .icon-checked[_ngcontent-%COMP%]{fill:var(--accent-color)}.c-tier-details__tier-plan__cont__benefits-list[_ngcontent-%COMP%] .icon-checked[_ngcontent-%COMP%]{margin-right:7px;width:14px;height:14px}.c-tier-details__tier-plan__cont__button-cont[_ngcontent-%COMP%]{margin-top:30px}.c-tier-details__tier-plan__cont__button-cont[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;font-size:15px;padding-top:8px;padding-bottom:8px;height:44px;font-size:18px}.c-tier-details__tier-plan__cont__button-cont[_ngcontent-%COMP%] .diemlife-badge-icon[_ngcontent-%COMP%]{margin-left:10px;width:24px;height:24px}.own-amount[_ngcontent-%COMP%]{width:100%;margin-top:20px}.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%]{display:flex;flex-direction:row;padding:0 10px;justify-content:start}.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:14px;border-right:solid 1px #c5c9cb;padding-right:1.4rem;margin-right:10px}
1.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:var(--bg-text-color-light);margin-top:3px}.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:0;background-color:transparent;width:100%;color:inherit}.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none;border:none}.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:active{outline:none;border:none}']})}}return n})();var N=He(qt());var Xt=n=>({current:n});function Sn(n,d){if(n&1&&(o(0,"div",7)(1,"div",8),V(),o(2,"svg",9),h(3,"use",10),a()(),L(),o(4,"div",11)(5,"h3"),c(6),a(),o(7,"p"),c(8,"During your trial period, accress to the membership plan features will be granted."),a()()()),n&2){let e=s();l("ngClass",b(2,Xt,e.trialPeriodApplied)),r(6),D(e.todayDateForPromo)}}var Kt=(()=>{class n{constructor(e,t,i){this.store=e,this.activatedRoute=t,this.currencyMask=i,this.faqsList=[{question:"If I upgrade now, when can my members start participating?",answer:"Your members can start participating immediately during a trial period and will continue after the first payment due is processed successfully.",isOpen:!1},{question:"What if a member is no longer active?",answer:"You control who is included in your membership. So if someone leaves or is not involved anymore, you can remove them from the list and add someone else.",isOpen:!1},{question:"What if I need extra members once we get started?",answer:"We adjust the billing on a monthly basis, taking into account the total number of active users during that month. So, you can easily add new members, and the billing will be updated accordingly for the upcoming billing cycle.",isOpen:!1}],this.intimationDays=7,this.dateFormat="DD MMMM YYYY",this.trialPeriodApplied=!1,this.donateAmount=0,this.tierState=this.store.select("tierUpgrade"),t.queryParams.subscribe(p=>{this.donateAmount=p&&p.donateAmount,this.donateAmount&&this.store.dispatch(new wt({questId:p.circle,user:p.circleOwner,teamId:p.circleTeam,amount:this.donateAmount,tipAmount:0}))}),this.store.dispatch(new Z(1))}ngOnInit(){this.tierState.subscribe(e=>{if(this.todayDateForPromo=(0,N.default)(new Date).format(this.dateFormat),this.todayDate=(0,N.default)(new Date).format(this.dateFormat),this.trialPeriodApplied=null,e.selectedPlanType&&e.selectedPlanType.planType)if(e.selectedPlanType.planType==="yearly"){let i=new Date(new Date().setFullYear(new Date().getFullYear()+1));this.nextDueDate=(0,N.default)(i).format(this.dateFormat),this.intimationDate=(0,N.default)(i.setDate(i.getDate()-30)).format(this.dateFormat),this.intimationDays=30}else if(e.selectedPlanType.planType==="quarterly"){let i=new Date(new Date().setMonth(new Date().getMonth()+3));this.nextDueDate=(0,N.default)(i).format(this.dateFormat),this.intimationDate=(0,N.default)(i.setDate(i.getDate()-7)).format(this.dateFormat),this.intimationDays=7}else{let i=new Date(new Date().setMonth(new Date().getMonth()+1));this.nextDueDate=(0,N.default)(i).format(this.dateFormat),this.intimationDate=(0,N.default)(i.setDate(i.getDate()-7)).format(this.dateFormat),this.intimationDays=7}})}toggleFaq(e){e.isOpen=!e.isOpen}static{this.\u0275fac=function(t){return new(t||n)(m(F),m(R),m(Ht))}}static{this.\u0275cmp=I({type:n,selectors:[["app-custom-choose-plan"]],standalone:!1,decls:30,vars:6,consts:[[1,"c-tier-upgrade__choose-plan"],[1,"c-tier-upgrade__choose-plan__title"],[1,"c-tier-upgrade__choose-plan__faqs"],[1,"c-tier-upgrade__choose-plan__faqs__item"],[1,"answer"],[1,"c-tier-upgrade__choose-plan__timeline"],[1,"c-tier-upgrade__choose-plan__timeline__parent"],[1,"c-tier-upgrade__choose-plan__timeline__row",3,"ngClass"],[1,"icon-parent"],[1,"icon","diemlife-badge-icon"],[0,"xlink","href","#diemlife-badge-icon"],[1,"definition-parent"],[1,"c-tier-upgrade__choose-plan__timeline__row"]],template:function(t,i){t&1&&(o(0,"div",0)(1,"h1",1),c(2," Confirm Your Plan "),a(),o(3,"section",2)(4,"div",3)(5,"div",4),c(6,"Your TheShePowerHour membership fee includes access to the TheShePowerHour platform, resources, and programming."),a()()(),o(7,"section",5)(8,"h3"),c(9,"What to expect after joining:"),a(),o(10,"div",6),C(11,Sn,9,4,"div",7),o(12,"div",7)(13,"div",8),V(),o(14,"svg",9),h(15,"use",10),a()(),L(),o(16,"div",11)(17,"h3"),c(18),a(),o(19,"p"),c(20,"Start date"),a()()(),o(21,"div",12)(22,"div",8),V(),o(23,"svg",9),h(24,"use",10),a()(),L(),o(25,"div",11)(26,"h3"),c(27),a(),o(28,"p"),c(29,"Automatic renew
1al"),a()()()()()()),t&2&&(r(11),y(i.trialPeriodApplied?11:-1),r(),l("ngClass",b(4,Xt,!i.trialPeriodApplied)),r(6),D(i.todayDate),r(9),D(i.nextDueDate))},dependencies:[j],styles:['[_ngcontent-%COMP%]:root{--accent-color: #008297;--accent-color-rgb: 0 130 151;--accent-dark-color: #295967;--accent-bg-light-color: #339BAC;--btn-text-color: #2e3638;--theme-text-dark: #2e3638;--bg-text-color: #2e3638;--theme-text-light: #ffffff;--btn-text-light: #ffffff;--quest-content-bg: #FFFFFF;--quest-highlight-bg: #E5EAED;--white-section-bg: #ffffff;--comment-blue-bg: #E5F2F5;--quest-header-bg: #008297;--lighter-btn-bg: #E5F2F5;--quest-detail-nav: #008297;--quest-detail-nav-dark: #295967;--site-header: #ffffff;--site-header-text: #2e3638;--site-header-highlight: #008297;--site-header-highlight-light: #008297;--site-header-highlight-text: #ffffff;--site-header-highlight-text-invert: #ffffff;--site-header-box-shadow: #00000080;--site-header-badge-bg: #E5F2F5;--site-header-badge-text: #008297;--avatar-border: #e0e0e0;--success-bg-btn: #1D966A;--success-bg-text: #ffffff;--table-row-hover: #F2F9FA;--mission-statement-bg: #E5F2F5;--mission-statement-text: #2e3638;--bg-text-color-light: #6d787e;--bg-white-ghost: #F8F8F9;--bg-milestone: #f3f3f3;--white-bg-original: #ffffff;--modal-bg: #ffffff;--feedback-bg: #f5f7f8;--transparent-white-bg: #FFFFFF;--milestone-task-bg: #f5f7f8;--primary-bg: #f3f3f3;--primary-bg-secondary: #ffffff;--quest-detail-right: #E5EAED;--input-field-bg: #ffffff;--nav-flow-number-bg: #ffffff;--nav-flow-number-color: #000000;--flow-pages-bg: #f3f3f3;--flow-pages-section-bg: #ffffff;--tooltip-bg: #000000;--tooltip-text-color: #ffffff;--close-btn-invert: 0;--close-btn-invert-str: invert(0);--payment-block-row: #ffffff;--search-hover-bg: #f0f0f0;--progress-bar-uncovered: #ffffff;--bg-text-color-secondary: #c5c9cb;--bs-backdrop-bg-custom: #000000;--read-more-gradient: #ffffff;--read-more-btn-text: #2e3638;--dots-bg: #E5F2F5;--dots-color: #2e3638;--total-amount-color: #2e3638;--team-option-bg: #f9f9f9;--team-option-bg-dark: #ededed;--checkbox-selection-color: #ffffff;--comment-text-color: #2e3638;--table-member-bg: #F4F7F7;--table-rank-bg: #ffffff;--table-gutter-bg: #E8E9EA;--error-dark: #D00808;--error-dark-hover: #e61c1c;--timeline-bg: #F3F4F5;--marked-milestone-bg: #1D966A;--marked-milestone-bg-hover: #22ab79;--marked-milestone-block: #E8F4F0;--accent-color-secondary-light: #EAEEF0;--sample-primary-bg: #f3f3f3;--sample-quest-content-bg: #ffffff;--sample-bg-text-color: #2e3638;--sample-theme-bg-color: #008297;--sample-theme-bg-color-light: #339BAC;--sample-theme-text-light: #ffffff;--sample-btn-text-light: #ffffff;--sample-btn-text-color: #2e3638;--white-10: rgba(255, 255, 255, .1);--black: #000;--black-70: rgba(0, 0, 0, .7);--black-50: rgba(0, 0, 0, .5);--black-40: rgba(0, 0, 0, .4);--black-10: rgba(0, 0, 0, .1);--black-05: rgba(0, 0, 0, .05);--petrol-70: rgba(0, 81, 102, .7);--petrol-50: rgba(0, 81, 102, .5);--petrol-30: rgba(0, 81, 102, .3);--petrol-15: rgba(0, 81, 102, .05);--blue-stone-15: rgba(0,81,102, .05);--bismark-80: rgba(71,121,133,.8);--cornflowerBlue-10: rgba(36,88,102,.1);--white-70: rgba(255, 255, 255, .7);--white-50: rgba(255, 255, 255, .5);--white-30: rgba(255, 255, 255, .3);--light-blue-grey: #a6dce5;--jungle-mist: #aac9ce;--powder-blue: #b0e0e8;--shakespeare: #3fb1d1;--matisse: #1D728F;--blizzard-blue: #a6e0ec;--aquamarine-blue: #86d0e1;--hippie-blue: #609eae;--purpley-grey: #9e94a2;--ebony-clay: #1f3034;--petrol: #005166;--orient: #006a86;--cutty-sark: #516e75;--juniper: #648288;--smalt-blue: #548b97;--bali-hai: #81a8b3;--golden-fizz: #f8ec31;--amber: #FFC107;--geraldine: #ff7f7f;--cinnabar: #e83d3d;--white: #fff;--silver: #bbb;--shamrock: #2ecc71;--amazon: #347750;--puce: #cc8588;--alto: #dedede;--bermuda: #83cad9;--cornflower: #92d6e5;--bright-yellow: #fff100;--tabasco: #b41212;--casal: #295966;--outer-space: #2e3638;--dove-gray: #646464;--dusty-gray: #979797;--silver-sand: #bec1c1;--tower-gray: #d6dee1;--geyser: #d6dee1;--wild-sand: #f4f4f4;--alabaster: #f9f9f9;--anakiwa: #87ffff;--pelorous: #34a6b1;--shakespeare: #41abcb;--eastern-blue: #168cb2;--tealColor: #008297;--tealLightColor: #339BAC;--tealDarkColor: #295967;--greyDarkColor: #2e3638;--greyColor: #6d787e;--lightGreyColor: #c5c9cb;--ghostWhite: #F8F8F9;--ghostGrey: #EBECED;--paleCyan: #cce6ea;--secondary-bg: #ebebeb;--progress-bg: #f5f7f8;--tealLightBg: #E5EAED;--backgroundOptionsGray: #f5f5f5;--platinum: #A7AEB2;--grayBlueBg: #E5F2F5;--errorRed: #B73622;--warning-color: #EB7200;--orange-warning: #EB7200;--orange-warning-light: #FDF1E5;--orange: #FFB217;--orange-80: rgba(255, 178, 23, .8);--physical: #DB3900;--environmental: #4A8500;--occupational: #E20096;--mental: #018484;--friends: #905CB4;--piggybank: #AD7D00;--teal-01: rgba(41, 89, 103, .1);--teal-005: rgba(41, 89, 103, .05);
1--light-gold: #F2EBD9;--brown-gold: #A67B00;--border-radius-val: 5px;--borderLightGray: #C5C9CB;--silver-20: #F3F4F5;--teal-70: #4DA7B6;--success-bg: #1D966A;--success-bg-hover: #22ab79;--sinbad: #99CDD5;--btn-theme-bg: #008297;--btn-theme-bg-light-color: #339BAC;--btn-theme-text: #ffffff;--sample-btn-bg-color: #008297;--ab-offset: 0px}.c-tier-upgrade__choose-plan__title[_ngcontent-%COMP%]{font-size:28px;font-family:ProximaNova-Bold;margin-top:0;margin-bottom:30px;text-transform:capitalize}.c-tier-upgrade__choose-plan__faqs[_ngcontent-%COMP%]{margin-bottom:30px}.c-tier-upgrade__choose-plan__faqs__item[_ngcontent-%COMP%]{padding-bottom:20px;padding-top:20px;border-bottom:solid 1px var(--bg-text-color-secondary)}.c-tier-upgrade__choose-plan__faqs__item[_ngcontent-%COMP%]:first-child{padding-top:0}.c-tier-upgrade__choose-plan__faqs__item[_ngcontent-%COMP%]:last-child{border-bottom-width:0}.c-tier-upgrade__choose-plan__faqs__item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{max-width:calc(100% - 30px);display:inline-block}.c-tier-upgrade__choose-plan__faqs__item[_ngcontent-%COMP%] .question[_ngcontent-%COMP%]{color:var(--accent-color);display:flex;flex-direction:row;justify-content:space-between;font-size:16px;cursor:pointer;font-family:ProximaNova-Bold}.c-tier-upgrade__choose-plan__faqs__item[_ngcontent-%COMP%] .question[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--accent-color)}.c-tier-upgrade__choose-plan__faqs__item[_ngcontent-%COMP%] .answer[_ngcontent-%COMP%]{margin-top:10px;font-size:14px}.c-tier-upgrade__choose-plan__timeline[_ngcontent-%COMP%]{background:var(--bg-milestone);padding:20px}.c-tier-upgrade__choose-plan__timeline[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:14px;text-transform:none;font-family:ProximaNova-Bold}.c-tier-upgrade__choose-plan__timeline__parent[_ngcontent-%COMP%]{color:var(--bg-text-color-light);margin-top:15px;position:relative}.c-tier-upgrade__choose-plan__timeline__parent[_ngcontent-%COMP%]:before{content:"";height:100%;width:1px;background-color:var(--bg-text-color-light);position:absolute;top:24px;left:12px;z-index:1}.c-tier-upgrade__choose-plan__timeline__parent[_ngcontent-%COMP%]:after{content:"";width:4px;height:4px;border-radius:4px;background-color:var(--bg-text-color-light);position:absolute;bottom:-24px;left:10.5px}.c-tier-upgrade__choose-plan__timeline__row[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:25px}.c-tier-upgrade__choose-plan__timeline__row[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ProximaNova-Bold;text-transform:capitalize;margin-bottom:0}.c-tier-upgrade__choose-plan__timeline__row.current[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:var(--accent-color)}.c-tier-upgrade__choose-plan__timeline__row.current[_ngcontent-%COMP%] .icon-parent[_ngcontent-%COMP%]{background:var(--accent-color)}.c-tier-upgrade__choose-plan__timeline__row.current[_ngcontent-%COMP%] .icon-parent[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--btn-text-light)}.c-tier-upgrade__choose-plan__timeline__row[_ngcontent-%COMP%] .icon-parent[_ngcontent-%COMP%]{background:var(--bg-text-color-light);padding:5px;border-radius:100%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:20px;position:relative;z-index:2}.c-tier-upgrade__choose-plan__timeline__row[_ngcontent-%COMP%] .icon-parent[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--btn-text-light);width:14px;height:14px}.c-tier-upgrade__choose-plan__timeline__row[_ngcontent-%COMP%] .definition-parent[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px;margin-bottom:0}.radio-block-row[_ngcontent-%COMP%]{border:solid 1px #C5C9CB;padding:10px;margin-bottom:12px;border-radius:2px}.radio-block-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}.radio-block-row.selected-radio[_ngcontent-%COMP%], .radio-block-row.selected-radio[_ngcontent-%COMP%] .e-radio__icon[_ngcontent-%COMP%]{border-color:var(--tealColor)}.radio-block-row[_ngcontent-%COMP%] .e-radio[_ngcontent-%COMP%]{display:flex;align-items:center}.radio-block-row[_ngcontent-%COMP%] .e-radio__caption[_ngcontent-%COMP%]{width:100%}.radio-block-row[_ngcontent-%COMP%] .e-radio__icon[_ngcontent-%COMP%]{border:solid 1px #C5C9CB}.radio-block-row[_ngcontent-%COMP%] .e-radio__icon[_ngcontent-%COMP%]:after{width:12px;height:12px;background-color:var(--tealColor)}.radio-block-row[_ngcontent-%COMP%] .e-radio__title-left[_ngcontent-%COMP%]{font-size:14px;font-family:ProximaNova-Bold;width:70%}.radio-block-row[_ngcontent-%COMP%] .e-radio__title-right[_ngcontent-%COMP%]{width:30%;font-size:12px;font-family:ProximaNova-Semibold}.radio-block-row[_ngcontent-%COMP%] .e-radio__title-right[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-family:ProximaNova-Bold;font-size:14px}.c-donate__prices[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-left:-5px;margin-right:-5px;margin-bottom:0}.c-donate__prices__col[_ngcontent-%COMP%]{width:17.5%;padding-left:5px;padding-right:5px;margin-bottom:10px}
1@media(max-width:570px){.c-donate__prices__col[_ngcontent-%COMP%]{width:50%}}.c-donate__prices__col.own-amount[_ngcontent-%COMP%]{width:30%}@media(max-width:570px){.c-donate__prices__col.own-amount[_ngcontent-%COMP%]{width:100%}}.c-donate__prices__col.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%]{display:flex;flex-direction:row;padding:0 10px;justify-content:start}.c-donate__prices__col.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:14px;border-right:solid 1px #c5c9cb;padding-right:1.4rem;margin-right:10px}.c-donate__prices__col.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:var(--bg-text-color-light);margin-top:3px}.c-donate__prices__col.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:0;background-color:transparent;width:100%;color:inherit}.c-donate__prices__col.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none;border:none}.c-donate__prices__col.own-amount[_ngcontent-%COMP%] .own-amount-child[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:active{outline:none;border:none}.c-donate__price[_ngcontent-%COMP%]{display:flex;justify-content:center;text-align:center!important;align-items:center;font-family:ProximaNova-Bold;height:44px;font-size:1.6rem}.c-donate__price.is-focus[_ngcontent-%COMP%]{border-width:1px;border-color:var(--accent-color)}.c-donate__tip-cont[_ngcontent-%COMP%]{display:flex;flex-direction:row;border-radius:5px;justify-content:space-between}@media(max-width:570px){.c-donate__tip-cont[_ngcontent-%COMP%]{flex-wrap:wrap;background:transparent}}.c-donate__tip-cont__item[_ngcontent-%COMP%]{width:16.6666666667%;padding:.4rem 1rem;cursor:pointer;font-size:13px;text-align:center;border:solid 1px #c5c9cb;border-collapse:collapse;border-radius:5px;margin:auto 5px}@media(max-width:570px){.c-donate__tip-cont__item[_ngcontent-%COMP%]{width:calc(50% - 5px);margin:0 10px 10px 0;border:solid 1px #c5c9cb;border-radius:5px}}@media(max-width:570px){.c-donate__tip-cont__item[_ngcontent-%COMP%]:nth-child(2n){margin:0 0 10px}}.c-donate__tip-cont__item.selected[_ngcontent-%COMP%]{border:solid 1px var(--accent-color)}.c-donate__frequency[_ngcontent-%COMP%]{margin-bottom:20px}.c-donate__frequency-cont[_ngcontent-%COMP%]{border-radius:20px;background-color:var(--feedback-bg);display:inline-flex;flex-direction:row}.c-donate__frequency-cont__item[_ngcontent-%COMP%]{width:120px;padding:9px 3rem;font-family:ProximaNova-Semibold;font-size:14px;cursor:pointer}.c-donate__frequency-cont__item.selected[_ngcontent-%COMP%]{font-family:ProximaNova-Bold;color:var(--btn-text-light);background-color:var(--accent-color)}.c-donate__frequency-cont__item[_ngcontent-%COMP%]:first-child.selected{border-radius:20px 0 0 20px}.c-donate__frequency-cont__item[_ngcontent-%COMP%]:last-child.selected{border-radius:0 20px 20px 0}.slider-container[_ngcontent-%COMP%]{width:100%;max-width:400px;text-align:center;position:relative;padding-top:35px}.slider-container[_ngcontent-%COMP%] .tip-display[_ngcontent-%COMP%]{font-size:1.4rem;color:var(--bg-text-color);position:absolute;left:0;top:0;padding:3px 5px;box-shadow:0 0 2px #000;border-radius:5px;text-align:center}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]{font-size:1.5rem;width:100%;color:var(--accent-color);--thumb-height: 1.125em;--track-height: .125em;--track-color: rgba(0, 0, 0, .2);--brightness-hover: 80%;--brightness-down: 80%;--clip-edges: .125em}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]{position:relative;background:#fff0;overflow:hidden}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]:active{cursor:grabbing}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]:disabled{filter:grayscale(1);opacity:.3;cursor:not-allowed}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%], .slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-webkit-slider-runnable-track, .slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;transition:all ease .1s;height:var(--thumb-height)}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-webkit-slider-runnable-track, .slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-webkit-slider-thumb{position:relative}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-webkit-slider-thumb{--thumb-radius: calc((var(--thumb-height) * .5) - 1px);--clip-top: calc((var(--thumb-height) - var(--track-height)) * .5 - .5px);--clip-bottom: calc(var(--thumb-height) - var(--clip-top));--clip-further: calc(100% + 1px) ;--box-fill: calc(-100vmax - var(--thumb-width, var(--thumb-height))) 0 0 100vmax currentColor;width:var(--thumb-width, var(--thumb-height));background:linear-gradient(currentColor 0 0) scroll no-repeat left center/50% calc(var(--track-height) + 1px);background-color:currentColor;box-shadow:var(--box-fill);border-radius:var(--thumb-width, var(--thumb-height));
1filter:brightness(100%);clip-path:polygon(100% -1px,var(--clip-edges) -1px,0 var(--clip-top),-100vmax var(--clip-top),-100vmax var(--clip-bottom),0 var(--clip-bottom),var(--clip-edges) 100%,var(--clip-further) var(--clip-further))}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]:hover::-webkit-slider-thumb{filter:brightness(var(--brightness-hover));cursor:grab}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]:active::-webkit-slider-thumb{filter:brightness(var(--brightness-down));cursor:grabbing}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-webkit-slider-runnable-track{background:linear-gradient(var(--track-color) 0 0) scroll no-repeat center/100% calc(var(--track-height) + 1px)}.slider-container[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]:disabled::-webkit-slider-thumb{cursor:not-allowed}']})}}return n})();var M=n=>({"is-required":n}),Fn=n=>({error:n}),Dn=()=>["/legal/privacy"],Tn=()=>["/legal/terms"],kn=n=>({"is-required":n,"hide-empty-option":!0}),En=()=>({"is-required":!1});function Bn(n,d){if(n&1&&(o(0,"app-ui-control",49),h(1,"input",50),a()),n&2){let e=s();l("controlClass","is-required")("formIsSubmitted",e.formIsSubmitted)("control",e.paymentForm.get("personalInfo.firstName"))}}function An(n,d){if(n&1&&(o(0,"app-ui-control",51),h(1,"input",52),a()),n&2){let e=s();l("controlClass","is-required")("formIsSubmitted",e.formIsSubmitted)("control",e.paymentForm.get("personalInfo.lastName"))}}function Vn(n,d){if(n&1&&(o(0,"app-ui-control",53),h(1,"input",54),a()),n&2){let e=s();l("controlClass","is-required")("formIsSubmitted",e.formIsSubmitted)("control",e.paymentForm.get("personalInfo.email"))}}function Ln(n,d){if(n&1){let e=v();o(0,"app-ui-control",55)(1,"app-phone-control",56),x("countryChanged",function(){u(e);let i=s();return f(i.clearCountryField("phone"))}),a()()}if(n&2){let e=s();l("controlClass",b(4,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_phoneNumber))("control",e.paymentForm.get("personalInfo.phone"))("formIsSubmitted",e.formIsSubmitted),r(),l("formControl",e.paymentForm.get("personalInfo.phone"))}}function qn(n,d){if(n&1&&(o(0,"app-ui-control",57),h(1,"input",58),a()),n&2){let e=s();l("control",e.paymentForm.get("personalInfo.lineOne"))("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_address))("formIsSubmitted",e.formIsSubmitted)}}function Nn(n,d){if(n&1&&(o(0,"app-ui-control",59),h(1,"input",60),a()),n&2){let e=s();l("control",e.paymentForm.get("personalInfo.lineTwo"))("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_address))("formIsSubmitted",e.formIsSubmitted)}}function zn(n,d){if(n&1&&(o(0,"app-ui-control",61),h(1,"input",62),a()),n&2){let e=s();l("control",e.paymentForm.get("personalInfo.city"))("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_city))("formIsSubmitted",e.formIsSubmitted)}}function Un(n,d){if(n&1){let e=v();o(0,"div",64)(1,"ng-select",65),x("open",function(){u(e);let i=s(2);return f(i.openedDropdown())})("close",function(){u(e);let i=s(2);return f(i.closedDropdown("personalInfo.state"))})("change",function(){u(e);let i=s(2);return f(i.closedDropdown("personalInfo.state"))}),a()()}if(n&2){let e=s(2);r(),l("searchable",!0)("clearable",!1)("items",e.states)("placeholder","Please select")}}function jn(n,d){if(n&1&&(se(0),q(1,Un,2,4,"ng-template",null,0,Ve),h(3,"app-ui-control",63),le()),n&2){let e=Ee(2),t=s();r(3),l("legend",t.stateLabel)("controlClass",b(5,M,t.fieldsToDisplay==null?null:t.fieldsToDisplay.has_state))("control",t.paymentForm.get("personalInfo.state"))("formIsSubmitted",t.formIsSubmitted)("template",e)}}function Rn(n,d){if(n&1&&(se(0),o(1,"app-ui-control",66),h(2,"input",67),a(),le()),n&2){let e=s();r(),l("control",e.paymentForm.get("personalInfo.state"))("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_state))("formIsSubmitted",e.formIsSubmitted)}}function Gn(n,d){if(n&1){let e=v();o(0,"app-ui-control",68)(1,"input",69),x("change",function(){u(e);let i=s();return f(i.getCityAndState("personalInfo",i.paymentForm.get("personalInfo.zip").value))}),a()()}if(n&2){let e=s();l("controlClass",b(4,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_zip))("formIsSubmitted",e.formIsSubmitted)("control",e.paymentForm.get("personalInfo.zip")),r(),l("validation",!1)}}function Hn(n,d){if(n&1&&h(0,"span",75),n&2){let e=d.item,t=s(2);l("innerHTML",t.buildOption(e.key,e.value),W)}}function Wn(n,d){if(n&1&&h(0,"span",75),n&2){let e=d.item,t=s(2);l("innerHTML",t.buildOption(e.key,e.value),W)}}function Yn(n,d){if(n&1){let e=v();o(0,"div",70)(1,"app-ui-control",71)(2,"ng-select",72),x("change",function(i){u(e);let p=s();return f(p.getStatesForCountry(i))})("open",function(){u(e);let i=s();return f(i.openedDropdown())})("close",function(){u(e);let i=s();return f(i.closedDropdown("personalInfo.country"))})("change",function(){u(e);let i=s();return f(i.closedDropdown("personalInfo.country"))}),q(3,Hn,1,1,"ng-template",73)(4,Wn,1,1,"ng-template",74),a()()()}if(n&2){let e=s();r(),l("control",e.paymentForm.get("personalInfo.country"))("controlClass",b(7,kn,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_country))("formIsSubmitted",e.formIsSubmitted),r(),l("searchable",!0)("clearable",!1)("items",e.countries)("placeholder","Please select country...")}}function $n(n,d){if(n&1&&(o(0,"app-ui-control",76),h(1,"input",77),a()),n&2){let e=s();l("control",e.paymentForm.get("businessInfo.jobTitle"))("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_title))("formIsSubmitted",e.formIsSubmitted)}}function Qn(n,d){if(n&1){let e=v();o(0,"app-ui-control",78)(1,"ng-select",79),x("open",function(){u(e);let i=s();return f(i.openedDropdown())})("close",function(){u(e);let i=s();return f(i.closedDropdown("businessInfo.industry"))})("change",function(){u(e);let i=s();return f(i.closedDropdown("businessInfo.industry"))}),a()()}if(n&2){let e=s();l("control",e.paymentForm.get("businessInfo.industry"))("controlClass",b(7,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_industry))("formIsSubmitted",e.formIsSubmitted),r(),l("searchable",!1)("clearable",!1)("placeholder","Choose your industry...")("items",e.getOptions("has_industry"))}}function Zn(n,d){if(n&1&&(o(0,"app-ui-control",80),h(1,"input",81),a()),n&2){let e=s();l("formIsSubmitted",e.formIsSubmitted)("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_website_cmp))("control",e.paymentForm.get("businessInfo.website"))}}function Jn(n,d){if(n&1&&(o(0,"app-ui-control",57),h(1,"input",58),a()),n&2){let e=s();l("control",e.paymentForm.get("businessInfo.lineOne"))("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_address_cmp))("formIsSubmitted",e.formIsSubmitted)}}function Xn(n,d){if(n&1&&(o(0,"app-ui-control",59),h(1,"input",60),a()),n&2){let e=s();l("control",e.paymentForm.get("businessInfo.lineTwo"))("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_address_cmp))("formIsSubmitted",e.formIsSubmitted)}}function Kn(n,d){if(n&1&&(o(0,"app-ui-control",61),h(1,"input",62),a()),n&2){let e=s();l("control",e.paymentForm.get("businessInfo.city"))("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_city_cmp))("formIsSubmitted",e.formIsSubmitted)}}function ei(n,d){if(n&1){let e=v();o(0,"div",64)(1,"ng-select",65),x("open",function(){u(e);let i=s(2);return f(i.openedDropdown())})("close",function(){u(e);let i=s(2);return f(i.closedDropdown("businessInfo.state"))})("change",function(){u(e);let i=s(2);return f(i.closedDropdown("businessInfo.state"))}),a()()}if(n&2){let e=s(2);r(),l("searchable",!0)("clearable",!1)("items",e.states)("placeholder","Please select")}}function ti(n,d){if(n&1&&(se(0),q(1,ei,2,4,"ng-template",null,0,Ve),h(3,"app-ui-control",63),le()),n&2){let e=Ee(2),t=s();r(3),l("legend",t.stateLabel)("controlClass",U(6,En))("control",t.paymentForm.get("businessInfo.state"))("formIsSubmitted",t.formIsSubmitted)("controlClass",b(7,M,t.fieldsToDisplay==null?null:t.fieldsToDisplay.has_state_cmp))("template",e)}}function ni(n,d){if(n&1&&(se(0),o(1,"app-ui-control",66),h(2,"input",67),a(),le()),n&2){let e=s();r(),l("control",e.paymentForm.get("businessInfo.state"))("controlClass",b(3,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_state_cmp))("formIsSubmitted",e.formIsSubmitted)}}function ii(n,d){if(n&1){let e=v();o(0,"app-ui-control",82)(1,"input",69),x("change",function(){u(e);let i=s();return f(i.getCityAndState("businessInfo",i.paymentForm.get("businessInfo.zip").value))}),a()()}if(n&2){let e=s();l("formIsSubmitted",e.formIsSubmitted)("controlClass",b(4,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_zip_cmp))("control",e.paymentForm.get("businessInfo.zip")),r(),l("validation",!1)}}function oi(n,d){if(n&1&&h(0,"span",75),n&2){let e=d.item,t=s(2);l("innerHTML",t.buildOption(e.key,e.value),W)}}function ai(n,d){if(n&1&&h(0,"span",75),n&2){let e=d.item,t=s(2);l("innerHTML",t.buildOption(e.key,e.value),W)}}function ri(n,d){if(n&1&&(o(0,"div"),c(1),a()),n&2){let e=s(3);r(),D(e.messages.required)}}function si(n,d){if(n&1&&(o(0,"div",85),q(1,ri,2,1,"div",13),a()),n&2){let e=s(2);r(),l("ngIf",e.paymentForm.get("businessInfo").get("country").errors.required)}}function li(n,d){if(n&1){let e=v();o(0,"app-ui-control",83)(1,"ng-select",72),x("change",function(i){u(e);let p=s();return f(p.getStatesForCountry(i))})("open",function(){u(e);let i=s();return f(i.openedDropdown())})("close",function(){u(e);let i=s();return f(i.closedDropdown("businessInfo.country"))}),q(2,oi,1,1,"ng-template",73)(3,ai,1,1,"ng-template",74),a(),q(4,si,2,1,"div",84),a()}if(n&2){let e=s();l("formIsSubmitted",e.formIsSubmitted)("controlClass",b(8,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_country_cmp))("control",e.paymentForm.get("businessInfo.country")),r(),l("searchable",!0)("clearable",!1)("items",e.countries)("placeholder","Please select country..."),r(3),l("ngIf",(e.paymentForm.get("businessInfo").get("country").touched||e.formIsSubmitted)&&e.paymentForm.get("businessInfo").get("country").invalid)}}function ci(n,d){if(n&1){let e=v();o(0,"app-ui-control",86)(1,"app-phone-control",56),x("countryChanged",function(){u(e);let i=s();return f(i.clearCountryField("phone"))}),a()()}if(n&2){let e=s();l("control",e.paymentForm.get("businessInfo.phone"))("controlClass",b(4,M,e.fieldsToDisplay==null?null:e.fieldsToDisplay.has_phoneNumber_cmp))("formIsSubmitted",e.formIsSubmitted),r(),l("formControl",e.paymentForm.get("businessInfo.phone"))}}var en=(()=>{class n{constructor(e,t,i,p,g,P,B,z){this.fB=e,this.store=t,this.router=i,this.referenceDataService=p,this.ticketFlowService=g,this.commonService=P,this.pageManageService=B,this.notifier=z,this.submitFormForPayment=!1,this.updatePaymentIntent=!1,this._submitHandled=!1,this.embedTransactionDetail
1s={amount:0,tip:0},this.messages=Pe,this.formIsSubmitted=!1,this.pageChangeAllowed=!1,this.fieldsToDisplay={},this.stateLabel="State:",this.states=[],this.allAvailableFields=[],this.buildOption=(T,Te)=>` 2 <i class='flag flag-${T.toLowerCase()}'></i> 3 <span>${Te}</span> 4 `,this.getAvailableFields(),this.tierState=this.store.select("tierUpgrade"),this.userState=this.store.select("userInfo"),this.store.dispatch(new Z(2)),this.paymentForm=this.fB.group({personalInfo:this.fB.group({firstName:[""],lastName:[""],email:[""],phone:[null],zip:[""],city:[""],state:[""],country:["US"],lineOne:[""],lineTwo:[""]}),purchasedByCompany:[!1],businessInfo:this.fB.group({name:[""],jobTitle:["",[_.maxLength(200)]],lineOne:[""],lineTwo:[""],website:[""],phone:[""],country:["US"],zip:[""],city:[""],state:[""],industry:[""]}),termsConditions:[!0]}),this.paymentForm.get("purchasedByCompany").valueChanges.subscribe(()=>this.syncCompanyPurchaseControls()),this.syncCompanyPurchaseControls(),this.referenceDataService.getSupportedCountries().subscribe(T=>{this.countries=this.ticketFlowService.prepareKeys(T)}),this.paymentForm.valueChanges.subscribe(()=>{this.store.dispatch(new vt({formValid:!this.paymentForm.invalid&&this.paymentForm.value.termsConditions,formValues:this.paymentForm.value}))})}canDeactivate(){return this.pageChangeAllowed}ngOnInit(){let e=!1;this.tierSubscription=this.tierState.subscribe(t=>{if(!t.selectedTier||t.selectedTier&&(!t.selectedTier.id||t.selectedTier.id<1)){this.pageChangeAllowed=!0,this.router.navigate(["/join-theshepowerhour"],{queryParams:{showPlans:!0}});return}if(this.embedTransactionDetails={amount:0,tip:0,planId:t.selectedTier?.id||null,transactionType:"MEMBERSHIP"},this.fieldsToDisplay=t?.selectedTier?.useFields||{},this.fieldsToDisplay&&Object.keys(this.fieldsToDisplay).length>0&&!e&&(e=!0,this.fieldsToDisplay?.has_firstName&&this.paymentForm.get("personalInfo.firstName").setValidators([_.required,_.minLength(2),_.maxLength(255)]),this.fieldsToDisplay?.has_lastName&&this.paymentForm.get("personalInfo.lastName").setValidators([_.required,_.minLength(2),_.maxLength(255)]),this.fieldsToDisplay?.has_email&&this.paymentForm.get("personalInfo.email").setValidators([_.required,_.email,_.pattern(Me)]),this.fieldsToDisplay?.has_phoneNumber&&this.paymentForm.get("personalInfo.phone").setValidators([_.required]),this.fieldsToDisplay?.has_zip&&this.paymentForm.get("personalInfo.zip").setValidators([_.required]),this.fieldsToDisplay?.has_country&&this.paymentForm.get("personalInfo.country").setValidators([_.required]),this.fieldsToDisplay?.has_city&&this.paymentForm.get("personalInfo.city").setValidators([_.required]),this.fieldsToDisplay?.has_state&&this.paymentForm.get("personalInfo.state").setValidators([_.required]),this.fieldsToDisplay?.has_address&&(this.paymentForm.get("personalInfo.lineOne").setValidators([_.required]),this.paymentForm.get("personalInfo.lineTwo").setValidators([_.required])),this.fieldsToDisplay?.has_title&&this.paymentForm.get("businessInfo.jobTitle").setValidators([_.required,_.maxLength(200)]),this.fieldsToDisplay?.has_address_cmp&&(this.paymentForm.get("businessInfo.lineOne").setValidators([_.required,_.maxLength(250)]),this.paymentForm.get("businessInfo.lineTwo").setValidators([_.required,_.maxLength(250)])),this.fieldsToDisplay?.has_zip_cmp&&this.paymentForm.get("businessInfo.zip").setValidators([_.required]),this.fieldsToDisplay?.has_country_cmp&&this.paymentForm.get("businessInfo.country").setValidators([_.required]),this.fieldsToDisplay?.has_city_cmp&&this.paymentForm.get("businessInfo.city").setValidators([_.required]),this.fieldsToDisplay?.has_state_cmp&&this.paymentForm.get("businessInfo.state").setValidators([_.required]),this.fieldsToDisplay?.has_website_cmp&&this.paymentForm.get("businessInfo.website").setValidators([_.required,_.pattern(Ft),_.maxLength(250)]),this.fieldsToDisplay?.has_phoneNumber_cmp&&this.paymentForm.get("businessInfo.phone").setValidators([_.required]),this.fieldsToDisplay?.has_industry&&this.paymentForm.get("businessInfo.industry").setValidators([_.required]),this.syncCompanyPurchaseControls()),t.submitPayment){if(this._submitHandled)return;if(this._submitHandled=!0,this.formIsSubmitted=!0,this.paymentForm.invali
4d){this.notifier.notify("error","Please fill required fields"),this._submitHandled=!1,this.store.dispatch(new E(!1));return}if(this.paymentForm.controls.termsConditions.setValidators([_.required]),this.paymentForm.get("termsConditions").updateValueAndValidity({emitEvent:!1}),!this.paymentForm.value.termsConditions){this.notifier.notify("error","Please agree to the Terms and Privacy Policy to proceed"),this._submitHandled=!1,this.store.dispatch(new E(!1));return}this.updatePaymentIntent||(this.updatePaymentIntent=!0),this.pageChangeAllowed=!0}else this._submitHandled=!1,this.submitFormForPayment=!1,this.updatePaymentIntent=!1,this.pageChangeAllowed=!1;t.loading?setTimeout(()=>{this.paymentForm.disable({emitEvent:!1})},10):(this.paymentForm.enable({emitEvent:!1}),this.syncCompanyPurchaseControls())}),this.tierState.pipe(O(1)).subscribe(t=>{t.paymentBilling&&t.paymentBilling.formValues&&t.paymentBilling.formValues.personalInfo?this.paymentForm.patchValue(t.paymentBilling.formValues):this.userState.pipe(O(1)).subscribe(i=>{this.paymentForm.patchValue({personalInfo:{firstName:i.firstName,lastName:i.lastName,email:i.email,country:i?.address?.country||"US",zip:i?.address?.zip}})})})}ngOnDestroy(){this.tierSubscription&&this.tierSubscription.unsubscribe()}syncCompanyPurchaseControls(){let e=this.paymentForm.get("businessInfo.name");this.paymentForm.get("purchasedByCompany").value===!0?e.setValidators([_.required,_.maxLength(250)]):e.setValidators([_.maxLength(250)]),e.updateValueAndValidity({emitEvent:!1})}getAvailableFields(){this.pageManageService.getAvailableFields().subscribe(e=>{this.allAvailableFields=[...e]})}getOptions(e){return this.allAvailableFields.length>0?this.allAvailableFields.find(t=>t.code===e).availableValue:[]}hasField(e){return this.fieldsToDisplay&&Object.prototype.hasOwnProperty.call(this.fieldsToDisplay,e)}openedDropdown(){setTimeout(()=>{let e=document.getElementsByClassName("ng-select-opened");for(let t=0;t<e.length;t++)e[t].style.zIndex="99"},300)}closedDropdown(e){this.paymentForm.get(`${e}`).markAsTouched(),setTimeout(()=>{let t=document.getElementsByClassName("ng-select");for(let i=0;i<t.length;i++)t[i].style.zIndex="9"},500)}handleUpdatePaymentIntentStatus(e){this.updatePaymentIntent=!1,e?this.submitFormForPayment=!0:(this.submitFormForPayment=!1,this.store.dispatch(new H(!1)),setTimeout(()=>{this.store.dispatch(new E(!1))},500))}onPaymentUpdate(e){this.submitFormForPayment=!1,e.status==="success"&&e.responseData?.id?(this.store.dispatch(new ve({lastFour:"stripe",paymentMode:"creditCard",token:e.responseData.payment_method||e.responseData.id,save:!1})),this.store.dispatch(new ie(2))):(this.store.dispatch(new H(!1)),setTimeout(()=>{this.store.dispatch(new E(!1))},500))}clearCountryField(e){this.paymentForm.get("businessInfo").get(e).patchValue("")}termsConditionChange(e){e.target.checked||this.notifier.notify("warning","Please agree to the Terms and Privacy Policy to proceed")}getCityAndState(e,t){let i=t;(i+"").length>=5&&this.commonService.getCityAndState(i).subscribe(p=>{if(p.places.length>0){let g=p.places[0];this.paymentForm.get(e).controls.city.setValue(g["place name"]||""),this.paymentForm.get(e).controls.state.setValue(g["state abbreviation"]||"")}})}getStatesForCountry(e){["US","CA","CH"].includes(e.key)?this.loadStates(e.key):this.states=[],this.paymentForm.get("personalInfo.state").patchValue(this.states.length?null:"",{emitEvent:!1,onlySelf:!0}),e.key==="CA"||e.key==="ca"?this.stateLabel="Province:":this.stateLabel="State:"}loadStates(e){this.referenceDataService.getRegions(e.toLowerCase()).subscribe(t=>{this.states=this.ticketFlowService.prepareKeys(t)})}static{this.\u0275fac=function(t){return new(t||n)(m(be),m(F),m(G),m(Oe),m(Rt),m(zt),m(Gt),m(ne))}}static{this.\u0275cmp=I({type:n,selectors:[["app-custom-payment"]],hostBindings:function(t,i){t&1&&x("beforeunload",function(){return i.canDeactivate()},Qe)},standalone:!1,decls:73,vars:46,consts:[["stateControlTemplate",""],[1,"c-tier-upgrade__payment",3,"formGroup"],[1,"c-tier-upgrade__row"],[1,"c-n-form__group"],[1,"c-tier-upgrade__payment__title"],["formGroupName","personalInfo",1,"fields__container"],["class","c-n-form__group mb-0 col-6","legend","First name:",3,"controlClass","formIsSubmitted","control",4,"ngIf"],["class","c-n-form__group mb-0 col-6","legend","Last name:",3,"controlClass","formIsSubmitted","control",4,"ngIf"],["class","c-n-form__group mb-0 col-6","legend","Email:",3,"controlClass","formIsSubmitted","control",4,"ngIf"],["class","c-n-form__group","legend","Phone:",3,"controlClass","control","formIsSubmitted",4,"ngIf"],["class","c-n-form__group","legend","Address line 1:",3,"control","controlClass","formIsSubmitted",4,"ngIf"],["class","c-n-form__group","legend","Address line 2:",3,"control","controlClass","formIsSubmitted",4,"ngIf"],["class","c-n-form__group mt-20-mobile","legend","City:",3,"control","controlClass","formIsSubmitted",4,"ngIf"],[4,"ngIf"],["class","c-n-form__group mb-0 col-6","legend","Zip | Postal code:",3,"controlClass","formIsSubmitted","control",4,"ngIf"],["class","country__elem c-n-form__group mb-0",4,"ngIf"],[1,"hr-break"],["formGroupName","businessInfo",1,"fields__container","pt-0"],["legend","Company name:",1,"c-n-form__group","mb-0","col-6",3,"formIsSubmitted","controlClass","control"],["aria-label","Company name","placeholder","Company name","formControlName","name","type","text",1,"c-n-form__input"],["class","c-n-form__group","legend","Title:",3,"control","controlClass","formIsSubmitted",4,"ngIf"],["class","c-n-form__group","legend","Industry:",3,"control","controlClass","formIsSubmitted",4,"ngIf"],["class","c-n-form__group mb-0 col-6","legend","Company website:",3,"formIsSubmitted","controlClass","control",4,"ngIf"],["class","c-n-form__group mb-0 col-6","legend","Zip | Postal code:",3,"formIsSubmitted","controlClass","control",4,"ngIf"],["class","c-n-form__group mb-0 col-6","legend","Country:",3,"formIsSubmitted","controlClass","control",4,"ngIf"],["class","c-n-form__group","legend","Phone:",3,"control","controlClass","formIsSubmitted",4,"ngIf"],[1,"membership-owner-selector","mb-20"],[1,"membership-owner-selector__title","mb-0"],["
4id","membership-owner-help",1,"membership-owner-selector__help"],[1,"membership-owner-selector__options"],[1,"membership-owner-selector__option"],["formControlName","purchasedByCompany","name","purchasedByCompany","type","radio","aria-describedby","membership-owner-help",1,"sr-only",3,"value"],["aria-hidden","true",1,"icon","icon-user","membership-owner-selector__icon"],[0,"xlink","href","#icon-user"],[1,"membership-owner-selector__label"],[1,"membership-owner-selector__description"],["aria-hidden","true",1,"fa","fa-building-o","membership-owner-selector__icon"],[1,"terms-policy-checkbox"],[1,"c-n-form__group","mb-40",2,"position","relative","z-index","5"],["role","checkbox",1,"e-checkbox"],["aria-label","I agree to privacy policy and terms","formControlName","termsConditions","type","checkbox",3,"change"],[1,"e-checkbox__icon",3,"ngClass"],[1,"icon","icon-checked"],[0,"xlink","href","#icon-checked"],[1,"e-checkbox__caption"],["routerLinkActive","router-link-active","target","_blank",3,"routerLink"],[1,"payment__section"],[1,"c-tier-upgrade__payDialog","c-n-form__group"],[1,"c-tier-upgrade__payDialog__control",3,"updatePaymentIntentStatus","paymentUpdate","isRecurring","showBillingInfo","submitFormForPayment","transactionDetails","updatePaymentIntent"],["legend","First name:",1,"c-n-form__group","mb-0","col-6",3,"controlClass","formIsSubmitted","control"],["aria-label","First name","placeholder","First name","formControlName","firstName","type","text",1,"c-n-form__input"],["legend","Last name:",1,"c-n-form__group","mb-0","col-6",3,"controlClass","formIsSubmitted","control"],["aria-label","Last name","placeholder","Last name","formControlName","lastName","type","text",1,"c-n-form__input"],["legend","Email:",1,"c-n-form__group","mb-0","col-6",3,"controlClass","formIsSubmitted","control"],["aria-label","Email","formControlName","email","type","text","placeholder","Email",1,"c-n-form__input"],["legend","Phone:",1,"c-n-form__group",3,"controlClass","control","formIsSubmitted"],["aria-label","Cell Phone",1,"c-n-form__phone",2,"padding","0",3,"countryChanged","formControl"],["legend","Address line 1:",1,"c-n-form__group",3,"control","controlClass","formIsSubmitted"],["aria-label","Address line 1","formControlName","lineOne","type","text",1,"c-n-form__input"],["legend","Address line 2:",1,"c-n-form__group",3,"control","controlClass","formIsSubmitted"],["aria-label","Address line 2","formControlName","lineTwo","type","text",1,"c-n-form__input"],["legend","City:",1,"c-n-form__group","mt-20-mobile",3,"control","controlClass","formIsSubmitted"],["aria-label","City","formControlName","city","type","text",1,"c-n-form__input"],[1,"c-n-form__group",3,"legend","controlClass","control","formIsSubmitted","template"],["aria-label","State",1,"c-n-form__control","is-required"],["bindValue","key","bindLabel","value","formControlName","state",1,"c-n-form__input",3,"open","close","change","searchable","clearable","items","placeholder"],["legend","State:",1,"c-n-form__group",3,"control","controlClass","formIsSubmitted"],["aria-label","State","formControlName","state","placeholder","Please enter","type","text",1,"c-n-form__input"],["legend","Zip | Postal code:",1,"c-n-form__group","mb-0","col-6",3,"controlClass","formIsSubmitted","control"],["aria-label","Zip | Postal Code","formControlName","zip","mask","00000000000","placeholder","Zip | Postal code","type","text",1,"c-n-form__input",3,"change","validation"],[1,"country__elem","c-n-form__group","mb-0"],["legend","Country:",1,"",3,"control","controlClass","formIsSubmitted"],["bindValue","key","bindLabel","value","formControlName","country",1,"c-n-form__input",3,"change","open","close","searchable","clearable","items","placeholder"],["ng-label-tmp",""],["ng-option-tmp",""],[3,"innerHTML"],["legend","Title:",1,"c-n-form__group",3,"control","controlClass","formIsSubmitted"],["aria-label","Title","formControlName","jobTitle","placeholder","Title","type","text",1,"c-n-form__input"],["legend","Industry:",1,"c-n-form__group",3,"control","controlClass","formIsSubmitted"],["formControlName","industry",1,"c-n-form__input","z-index-more",3,"open","close","change","searchable","clearable","placeholder","items"],["legend","Company website:",1,"c-n-form__group","mb-0","col-6",3,"formIsSubmitted","controlClass","control"],["aria-label","Company website","placeholder","www.example.com","formControlName","website","type","text",1,"c-n-form__input"],["legend","Zip | Postal code:",1,"c-n-form__group","mb-0","col-6",3,"formIsSubmitted","controlClass","control"],["legend","Country:",1,"c-n-form__group","mb-0","col-6",3,"formIsSubmitted","controlClass","control"],["class","c-n-form__message is-red","role","alert",4,"ngIf"],["role","alert",1,"c-n-form__message","is-red"],["legend","Phone:",1,"c-n-form__group",3,"control","controlClass","formIsSubmitted"]],template:function(t,i){t&1&&(o(0,"form",1)(1,"div",2)(2,"div",3)(3,"h2",4),c(4,"Billing info"),a()(),o(5,"div",5),q(6,Bn,2,3,"app-ui-control",6)(7,An,2,3,"app-ui-control",7)(8,Vn,2,3,"app-ui-control",8)(9,Ln,2,6,"app-ui-control",9)(10,qn,2,5,"app-ui-control",10)(11,Nn,2,5,"app-ui-control",11)(12,zn,2,5,"app-ui-control",12)(13,jn,4,7,"ng-container",13)(14,Rn,3,5,"ng-container",13)(15,Gn,2,6,"app-ui-control",14)(16,Yn,5,9,"div",15),a(),h(17,"div",16),o(18,"div",17)(19,"app-ui-control",18),h(20,"input",19),a(),q(21,$n,2,5,"app-ui-control",20)(22,Qn,2,9,"app-ui-control",21)(23,Zn,2,5,"app-ui-control",22)(24,Jn,2,5,"app-ui-control",10)(25,Xn,2,5,"app-ui-control",11)(26,Kn,2,5,"app-ui-control",12)(27,ti,4,9,"ng-container",13)(28,ni,3,5,"ng-container",13)(29,
4ii,2,6,"app-ui-control",23)(30,li,5,10,"app-ui-control",24)(31,ci,2,6,"app-ui-control",25),a(),o(32,"fieldset",26)(33,"legend",27),c(34,"Who is this for?"),a(),o(35,"p",28),c(36," This sets the name shown on your profile and activity. "),a(),o(37,"div",29)(38,"label",30),h(39,"input",31),V(),o(40,"svg",32),h(41,"use",33),a(),L(),o(42,"span",34),c(43,"Me"),a(),o(44,"span",35),c(45,"Appears under your name"),a()(),o(46,"label",30),h(47,"input",31)(48,"i",36),o(49,"span",34),c(50,"An organization"),a(),o(51,"span",35),c(52,"Appears under the org name, members added later"),a()()()(),o(53,"div",37)(54,"div",38)(55,"label",39)(56,"input",40),x("change",function(g){return i.termsConditionChange(g)}),a(),o(57,"span",41),V(),o(58,"svg",42),h(59,"use",43),a()(),L(),o(60,"span",44),c(61," I agree to\xA0 "),o(62,"a",45),c(63,"privacy policy"),a(),c(64,"\xA0and\xA0"),o(65,"a",45),c(66,"terms"),a()()()()(),o(67,"div",46)(68,"div",3)(69,"h2",4),c(70,"Payment"),a()(),o(71,"div",47)(72,"app-stripe-payment-embed",48),x("updatePaymentIntentStatus",function(g){return i.handleUpdatePaymentIntentStatus(g)})("paymentUpdate",function(g){return i.onPaymentUpdate(g)}),a()()()()()),t&2&&(l("formGroup",i.paymentForm),r(6),l("ngIf",i.hasField("has_firstName")),r(),l("ngIf",i.hasField("has_lastName")),r(),l("ngIf",i.hasField("has_email")),r(),l("ngIf",i.hasField("has_phoneNumber")),r(),l("ngIf",i.hasField("has_address")),r(),l("ngIf",i.hasField("has_address")),r(),l("ngIf",i.hasField("has_city")),r(),l("ngIf",i.hasField("has_state")&&(i.states==null?null:i.states.length)>0),r(),l("ngIf",i.hasField("has_state")&&!i.states.length),r(),l("ngIf",i.hasField("has_zip")),r(),l("ngIf",i.hasField("has_country")&&(i.countries==null?null:i.countries.length)>0),r(3),l("formIsSubmitted",i.formIsSubmitted)("controlClass",b(40,M,i.paymentForm.get("purchasedByCompany").value))("control",i.paymentForm.get("businessInfo.name")),r(2),l("ngIf",i.hasField("has_title")),r(),l("ngIf",i.hasField("has_industry")),r(),l("ngIf",i.hasField("has_website_cmp")),r(),l("ngIf",i.hasField("has_address_cmp")),r(),l("ngIf",i.hasField("has_address_cmp")),r(),l("ngIf",i.hasField("has_city_cmp")),r(),l("ngIf",i.hasField("has_state_cmp")&&(i.states==null?null:i.states.length)>0),r(),l("ngIf",i.hasField("has_state_cmp")&&!i.states.length),r(),l("ngIf",i.hasField("has_zip_cmp")),r(),l("ngIf",i.hasField("has_country_cmp")&&i.countries&&i.countries.length>0),r(),l("ngIf",i.hasField("has_phoneNumber_cmp")),r(7),Be("is-selected",i.paymentForm.get("purchasedByCompany").value!==!0),r(),l("value",!1),r(7),Be("is-selected",i.paymentForm.get("purchasedByCompany").value===!0),r(),l("value",!0),r(10),l("ngClass",b(42,Fn,!i.paymentForm.get("termsConditions").value)),r(5),l("routerLink",U(44,Dn)),r(3),l("routerLink",U(45,Tn)),r(7),l("isRecurring",!0)("showBillingInfo",!1)("submitFormForPayment",i.submitFormForPayment)("transactionDetails",i.embedTransactionDetails)("updatePaymentIntent",i.updatePaymentIntent))},dependencies:[j,tt,Vt,Ut,oe,Nt,Tt,Ce,ye,st,ee,at,lt,te,rt,ct,mt,pt,dt,Se,Et,Bt],styles:[".c-tier-upgrade__payment__title[_ngcontent-%COMP%]{text-transform:none;font-family:ProximaNova-Bold;font-size:28px}.c-tier-upgrade__payment[_ngcontent-%COMP%] .c-n-form__row[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.c-tier-upgrade__payment[_ngcontent-%COMP%] .fields__container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;padding-top:20px}.c-tier-upgrade__payment[_ngcontent-%COMP%] .fields__container[_ngcontent-%COMP%] .c-n-form__group[_ngcontent-%COMP%]{width:45%;margin-left:2.5%;margin-right:2.5%}@media(max-width:650px){.c-tier-upgrade__payment[_ngcontent-%COMP%] .fields__container[_ngcontent-%COMP%] .c-n-form__group[_ngcontent-%COMP%]{width:100%;margin-left:0;margin-right:0}}.c-tier-upgrade__payment[_ngcontent-%COMP%] .fields__container[_ngcontent-%COMP%] .c-n-form__group[_ngcontent-%COMP%]:nth-child(odd){margin-left:0}.c-tier-upgrade__payment[_ngcontent-%COMP%] .fields__container[_ngcontent-%COMP%] .c-n-form__group[_ngcontent-%COMP%]:nth-child(2n){margin-right:0}.hr-break[_ngcontent-%COMP%]{background:var(--platinum);height:1px;width:100%;margin-top:0;margin-bottom:20px}.membership-owner-selector[_ngcontent-%COMP%]{min-width:0;padding:0;border:0}.membership-owner-selector__title[_ngcontent-%COMP%]{display:block;width:100%;margin-bottom:0;color:var(--bg-text-color);font-family:ProximaNova-Semibold;font-size:14px}.membership-owner-selector__help[_ngcontent-%COMP%]{margin:0 0 var(--space-4, 16px);color:var(--bg-text-color-light);font-size:13px}.membership-owner-selector__options[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4, 16px)}@media(max-width:650px){.membership-owner-selector__options[_ngcontent-%COMP%]{grid-template-columns:1fr}}.membership-owner-selector__option[_ngcontent-%COMP%]{display:flex;min-height:136px;flex-direction:column;justify-content:center;padding:var(--space-6, 24px);border:1px solid var(--bg-text-color-secondary);border-radius:var(--radius-lg, 8px);background:var(--primary-bg);color:var(--bg-text-color);cursor:pointer}.membership-owner-selector__option[_ngcontent-%COMP%]:not(.is-selected):hover{border-color:var(--color-action-primary-hover, var(--accent-dark-color))}.membership-owner-selector__option[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}.membership-owner-selector__option[_ngcontent-%COMP%]:has(input:focus-visible){box-shadow:0 0 0 2px var(--color-border-focus, var(--accent-dark-color))}.membership-owner-selector__option.is-selected[_ngcontent-%COMP%]{border-width:2px;border-color:var(--color-border-focus, var(--accent-dark-color))}.membership-owner-selector__icon[_ngcontent-%COMP%]{width:24px;height:24px;margin-bottom:var(--space-3, 12px);color:var(--bg-text-color);fill:currentColor;font-size:24px;line-height:1}.membership-owner-selector__label[_ngcontent-%COMP%]{margin-bottom:var(--space-1, 4px);font-family:ProximaNova-Semibold;font-size:18px}.membership-owner-selector__description[_ngcontent-%COMP%]{color:var(--bg-text-color-light);font-size:14px}"]})}}return n})();var tn=(()=>
4{class n{constructor(e,t){this.store=e,this.router=t,this.tierState=this.store.select("tierUpgrade"),this.userInfoState=this.store.select("userInfo"),this.store.dispatch(new Z(3))}ngOnInit(){this.userInfoState.subscribe(e=>{this.userId=e.id}),this.store.dispatch(new ie(3)),this.tierState.subscribe(e=>{if(!e.selectedTier||e.selectedTier&&(!e.selectedTier.id||e.selectedTier.id<1)){this.router.navigate(["/join-theshepowerhour"],{queryParams:{showPlans:!0}});return}}),this.store.dispatch(new yt(this.userId))}static{this.\u0275fac=function(t){return new(t||n)(m(F),m(G))}}static{this.\u0275cmp=I({type:n,selectors:[["app-custom-success"]],standalone:!1,decls:10,vars:0,consts:[[1,"c-tier-upgrade__success"],[1,"c-tier-upgrade__success__title"],[1,"c-tier-upgrade__success__msg"],["href","mailto:[email protected]"]],template:function(t,i){t&1&&(o(0,"div",0)(1,"h1",1),c(2," Welcome to TheShePowerHour, your membership is now active! "),a(),o(3,"p",2),c(4," We are thrilled to have you join us on this movement. "),a(),o(5,"p",2),c(6," You will receive a platform activation email from "),o(7,"a",3),c(8,"[email protected]"),a(),c(9," to your registered email address. If you do not receive this email, please check your spam folder. "),a()())},styles:[".c-tier-upgrade__success__title[_ngcontent-%COMP%]{font-size:18px;font-family:ProximaNova-Bold;text-transform:none;margin-bottom:30px}.c-tier-upgrade__success__msg[_ngcontent-%COMP%]{font-size:16px;font-family:ProximaNova-Semibold}.c-tier-upgrade__success__msg[_ngcontent-%COMP%] .highlight[_ngcontent-%COMP%]{font-family:ProximaNova-Bold;color:var(--tealColor)}.c-tier-upgrade__success__msg[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:inherit}.c-tier-upgrade__success__benefits-list[_ngcontent-%COMP%]{margin-top:24px;font-size:14px;list-style:none}.c-tier-upgrade__success__benefits-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;margin-bottom:8px}.c-tier-upgrade__success__benefits-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .icon-checked[_ngcontent-%COMP%]{fill:currentColor}.c-tier-upgrade__success__benefits-list[_ngcontent-%COMP%] .icon-checked[_ngcontent-%COMP%]{margin-right:7px;width:14px;height:14px}"]})}}return n})();var je=He(qt());var mi=n=>({tierState:n}),Ue=()=>["is-active"],_i=(n,d)=>({"is-valid":n,"is-active":d}),nn=n=>({"is-valid":n}),gi=n=>({"w-100":n}),ui=(n,d)=>({"is-loading":n,"is-disabled":d}),fi=n=>({"is-loading":n});function hi(n,d){if(n&1&&(o(0,"dd",20),c(1),S(2,"currency"),a()),n&2){let e=s(2);r(),ue("",Y(2,2,(e.tierState.selectedPlanType.planPrice||0)/100),"","/"+e.tierState.selectedPlanType.planType)}}function bi(n,d){if(n&1&&(o(0,"dd",20),c(1),S(2,"currency"),a()),n&2){let e=s(2);r(),ue("",Y(2,2,(e.tierState.selectedPlanType.planPrice*3||0)/100),"","/"+e.tierState.selectedPlanType.planType)}}function Ci(n,d){if(n&1&&(o(0,"dl",18)(1,"dt",19)(2,"div")(3,"b"),c(4),a()()(),o(5,"dd",20),c(6),S(7,"currency"),a()()),n&2){let e=s(2),t=s();r(4),k("Donation ",t.circleName!==""?"("+t.circleName+")":""),r(2),ue("",Y(7,3,(e.tierState==null?null:e.tierState.donateData.amount)||0),"",t.defaultDonationInterval=="single"?"":"/"+t.defaultDonationInterval)}}function yi(n,d){n&1&&(o(0,"dt",22),c(1,"Due today"),a())}function xi(n,d){n&1&&(o(0,"dt",22),c(1,"Total"),a())}function Pi(n,d){if(n&1&&(c(0),S(1,"currency")),n&2){let e=s(2);k(" USD ",Y(1,1,(e.tierState.selectedPlanType.planPrice*3+((e.tierState==null||e.tierState.donateData==null?null:e.tierState.donateData.amount)||0)*100||0)/100)," ")}}function vi(n,d){if(n&1&&(c(0),S(1,"currency")),n&2){let e=s(2);k(" USD ",Y(1,1,(e.tierState.selectedPlanType.planPrice+((e.tierState==null||e.tierState.donateData==null?null:e.tierState.donateData.amount)||0)*100||0)/100)," ")}}function Mi(n,d){if(n&1){let e=v();o(0,"button",31),x("click",function(){u(e);let i=s(3);return f(i.validateCoupon())}),o(1,"span"),c(2,"Apply"),a()()}if(n&2){let e=s(3);l("ngClass",Ae(2,ui,e.isCouponLoading,e.couponCode.length<1))("disabled",e.couponCode.length<1)}}function wi(n,d){if(n&1){let e=v();o(0,"button",32),x("click",function(){u(e);let i=s(3);return f(i.clearCoupon(!0))}),o(1,"span"),c(2,"Clear"),a()()}}function Oi(n,d){if(n&1){let e=v();o(0,"div",13)(1,"div",15)(2,"strong",16),c(3,"Summary"),a(),o(4,"div",17)(5,"dl",18)(6,"dt",19)(7,"div")(8,"b"),c(9),a()()(),C(10,hi,3,4,"dd",20),C(11,bi,3,4,"dd",20),a(),C(12,Ci,8,5,"dl",18),o(13,"dl",21),C(14,yi,2,0,"dt",22),C(15,xi,2,0,"dt",22),o(16,"dd",23),C(17,Pi,2,3),C(18,vi,2,3),a()()(),o(19,"div",24)(20,"div",25),c(21,"Add a promo code"),a(),o(22,"div",26)(23,"div",27)(24,"input",28),K("ngModelChange",function(i){u(e);let p=s(2);return X(p.couponCode,i)||(p.couponCode=i),f(i)}),a()(),C(25,Mi,3,5,"button",29),C(26,wi,3,0,"button",30),a()()()()}if(n&2){let e=s(),t=s();r(9),D((e==null||e.tierState==null||e.tierState.selectedTier==null?null:e.tierState.selectedTier.level)||""),r(),y(t.currentBillingInterval!=="quarterly"?10:-1),r(),y(t.currentBillingInterval==="quarterly"?11:-1),r(),y(e.tierState!=null&&e.tierState.donateData&&(e.tierState!=null&&e.tierState.donateData.amount)?12:-1),r(2),y(e.tierState.currentStep===1?14:-1),r(),y(e.tierState.currentStep>1?15:-1),r(2),y(t.currentBillingInterval==="quarterly"?17:-1),r(),y(t.currentBillingInterval!=="quarterly"?18:-1),r(6),l("disabled",t.couponValidated),J("ngModel",t.couponCode),r(),y(t.couponValidated?-1:25),r(),y(t.couponValidated?26:-1)}}function Ii(n,d){n&1&&c(0," Continue ")}function Si(n,d){n&1&&c(0," Agree and pay ")}function Fi(n,d){if(n&1){let e=v();o(0,"div",14)(1,"div",4)(2,"div",33)(3,"button",34),x("click",function(){u(e);let i=s(),p=s();return f(p.goBackStage(i.tierState.currentStep))}),o(4,"span"),c(5,"Back"),a()(),o(6,"button",35),x("click",function(){u(e);let i=s(),p=s();return f(p.goToNextStep(i.tierState.currentStep))}),C(7,Ii,1,0),C(8,Si,1,0),a()()()()}if(n&2){let e=s(),t=s();r(3),l("disabled",t.isLoading),r(3),l("disabled",t.isLoading)("ngClass",b(5,fi,t.isLoading)),r(),y(e.tierState.currentStep===1?7:-1),r(),y(e.tierState.currentStep===2?8:-1)}}function Di(n,d){if(n&1){let e=v();o(0,"div",0)(1,"div",2)(2,"div",3)(3,"nav",4)(4,"ul",5)(5,"li",6)(6,"a",7),x("click",function(){u(e);let i=s();return f(i.goBackStage(2))}),o(7,"span"),c(8,"Confirm"),a()()(),o(9,"li",6)(10,"a",8)(11,"span"),c(12,"Payment"),a()()(),o(13,"li",6)(14,"a",9)(15,"span"),c(16,"Success"),a()()()()()()(),o(17,"div",10)(18,"div",11)(19,"div",12),h(20,"router-outlet"),a(),C(21,Oi,27,12,"div",13),a()(),C(22,Fi,9,7,"div",14),a()}if(n&2){let e=d;r(5),l("routerLinkActive",U(9,Ue))("ngClass",Ae(10,_i,!e.tierState.stepsCompleted||e.tierState.stepsCompleted==1||e.tierState.stepsCompleted==2,e.tierState.currentStep==1)),r(4),l("routerLinkActive",U(13,Ue))("ngClass",b(14,nn,e.tierState.stepsCompleted==1||e.tierState.stepsCompleted==2)),r(4),l("routerLinkActive",U(16,Ue))("ngClass",b(17,nn,e.tierState.stepsCompleted==3)),r(6),l("ngClass",b(19,gi,e.tierState.currentStep==3)),r(2),y(e.tierState.stepsCompleted<3&&e.tierState.selectedPlanType?21:-1),r(),y(e.tierState.currentStep<3?22:-1)}}function Ti(n,d){n&1&&(o(0,"div",1)(1,"div",36),h(2,"div",37),o(3,"h2"),c(4,"Processing Payment..."),a(),o(5,"p")(6,"strong"),c(7,"Please wait while we complete your transaction."),a()(),o(8,"p",38)(9,"b"),c(10,"Do not close this tab or navigate away from this page, as it may interrupt the process."),a()(),o(11,"p"),c(12,"Thank you for your patience."),a()()())}var on=(()=>{class n{constructor(e,t,i,p,g,P,B,z,T,Te,Re){this.store=e,this.router=t,this.accountTierService=i,this.activatedRoute=p,this.notifier=g,this.signUpService=P,this.modalService=B,this.questService=z,this.donateService=T,this.profileService=Te,this.accountService=Re,this.isPaymentSubmit=!1,this.isPaymentSubmitRunning=!1,this.isLoading=!1,this.currentBillingInterval="yearly",this.defaultBillingInterval="yearly",this.defaultDonationInterval="yearly",this.defaultBillingPlanId=0,this.isDefaultIntervalChecked=!1,this.couponValidated=!1,this.couponCode="",this.isCouponLoading=!1,this.yearlyAmountBenefit=0,this.allPlanDetails=[],this.profileLoaded=!1,this.circleName="",this.circleList=[],this.runningDonation=!1,this.tier
4State=this.store.select("tierUpgrade"),this.userInfoState=this.store.select("userInfo"),p.queryParams.subscribe(A=>{A&&A.selectedInterval&&(this.defaultBillingInterval=A.selectedInterval),A&&A.donationInterval&&(this.defaultDonationInterval=A.donationInterval),A&&A.selectedPlan&&(this.defaultBillingPlanId=A.selectedPlan)}),this.store.dispatch(new $("The She Power Hour"))}ngOnInit(){this.todayDate=(0,je.default)(new Date).calendar(),this.userInfoState.subscribe(e=>{this.userId=e.id}),w.production?this.circleList=[{questId:1499,userId:70415,teamId:602,name:"Crohn's & Colitis Foundation"},{questId:1500,userId:70415,teamId:603,name:"Because Jonah Would"},{questId:1501,userId:70415,teamId:604,name:"Charcot-Marie-Tooth Association"},{questId:1502,userId:70415,teamId:605,name:"United Mitochondrial Disease Foundation"},{questId:1503,userId:70415,teamId:607,name:"Baby Essentials of Long \u200BIsland- BELI"},{questId:1498,userId:70415,teamId:606,name:"Other Charity"}]:this.circleList=[{questId:3515,userId:3467,teamId:1455,name:"Crohn's & Colitis Foundation"},{questId:3516,userId:3467,teamId:1456,name:"Because Jonah Would"},{questId:3517,userId:3467,teamId:1457,name:"Charcot-Marie-Tooth Association"},{questId:3518,userId:3467,teamId:1458,name:"United Mitochondrial Disease Foundation"},{questId:3519,userId:3467,teamId:1459,name:"Baby Essentials of Long \u200BIsland- BELI"},{questId:3520,userId:3467,teamId:1460,name:"Other Charity"}],this.tierState.subscribe(e=>{if(e?.donateData?.questId){let t=this.circleList.find(i=>i.questId===Number(e?.donateData?.questId));this.circleName=t?.name||""}if(e.tierVariantsOf&&e.tierVariantsOf.toLowerCase()==="the she power hour"){let t=e.tierVariants;if(this.allPlanDetails=e.tierVariants.filter(i=>!w.production&&i.id===31||w.production&&i.id===22),this.discountedPlanDet=e.tierVariants.filter(i=>!w.production&&i.id===32||w.production&&i.id===23)[0],this.defaultBillingInterval&&this.defaultBillingInterval!==""&&this.defaultBillingPlanId&&!this.isDefaultIntervalChecked&&t&&t.length>0){this.currentBillingInterval=this.defaultBillingInterval;let i=t.find(p=>Number(p.id)===Number(this.defaultBillingPlanId));this.changeInterval(i,this.currentBillingInterval),this.isDefaultIntervalChecked=!0}}this.isPaymentSubmit&&!this.isPaymentSubmitRunning&&e.paymentInfo?.token&&e.paymentInfo.token!==""&&this.submitSubscription(),!e.submitPayment&&this.isPaymentSubmit&&!this.isPaymentSubmitRunning&&(this.isPaymentSubmit=!1,this.isLoading=!1)}),this.username="theshepowerhour",this.getProfileInfo(()=>{this.getLinks(),this.accountService.changeRootColor({accentColor:this.profileInfo.accentColor,themeColor:this.profileInfo.themeColor,secondaryAccentColor:this.profileInfo.secondaryAccentColor},this.profileInfo.id),this.profileLoaded=!0})}getProfileInfo(e){this.profileService.getUserInfoByName(this.username).subscribe(t=>{this.profileInfo=t,this.store.dispatch(new xe(this.profileInfo)),e()},t=>{})}getLinks(){this.profileInfo?.id&&this.profileService.getAllProfileLinks(this.profileInfo.id).subscribe(e=>{this.store.dispatch(new Q(e))},e=>{this.store.dispatch(new Q([]))})}goBackStage(e){e===1?this.tierState.pipe(O(1)).subscribe(t=>{this.router.navigate(["/join-theshepowerhour"],{queryParams:{showPlans:!0,selectedInterval:this.defaultBillingInterval,donationInterval:this.defaultDonationInterval||null,donateAmount:t.donateData?.amount||null,circle:t.donateData?.questId||null}})}):e===2&&this.tierState.pipe(O(1)).subscribe(t=>{this.router.navigate(["/join-theshepowerhour/join-user/choose-plan"],{queryParams:{selectedPlan:this.defaultBillingPlanId,selectedInterval:this.defaultBillingInterval,donationInterval:this.defaultDonationInterval||null,donateAmount:t.donateData?.amount||null,circle:t.donateData?.questId||null,circleOwner:t.donateData?.user||null,circleTeam:t.donateData?.teamId||null}})})}goToNextStep(e){e===1?this.tierState.pipe(O(1)).subscribe(t=>{t.selectedTier.id>0&&this.router.navigate(["/join-theshepowerhour/join-user/payment"])}):e===2&&this.tierState.pipe(O(1)).subscribe(t=>{if(!t.paymentBilling.formValid){this.store.dispatch(new E(!1));return}this.isLoading=!0,this.store.dispatch(new H(!0)),this.isPaymentSubmit=!0,this.store.dispatch(new E(!0))})}submitSubscription(){this.isLoading=!0,this.store.dispatch(new H(!0)),this.isPaymentSubmitRunning=!0,console.log("178 submitting subscription"),this.store.select("auth").pipe(O(1)).subscribe(e=>{if(e.authenticated){this.updateUserInformation(this.userId);return}
4e.authenticated||this.tierState.pipe(O(1)).subscribe(t=>{let i=t.paymentBilling.formValues;this.signUpService.checkEmail(i.personalInfo.email).subscribe(p=>{if(p&&p.exists===!0){this.updateUserInformation(p.userId);return}this.signUpService.createAccount(this.buildCreateAccountPayload(i)).pipe(O(1)).subscribe(g=>{this.goForPurchaseMembership(g.userId,!0)},g=>{this.notifier.notify("error","Issue processing request. Please try again later."),this.store.dispatch(new H(!1)),this.isPaymentSubmitRunning=!1,setTimeout(()=>{this.isPaymentSubmit=!1,this.store.dispatch(new E(!1))},1e3),this.isLoading=!1})})})})}buildCreateAccountPayload(e){let t=null;return t={firstName:e.personalInfo.firstName||"",lastName:e.personalInfo.lastName||"",email:e.personalInfo.email||"",zip:e.personalInfo.zip||"",addLineOne:e.personalInfo.lineOne||null,addLineTwo:e.personalInfo.lineTwo||null,city:e.personalInfo.city,state:e.personalInfo.state,country:"US",receiveEmail:!0,recaptcha:!0,withPin:!0,type:"user",company:{userName:(e.personalInfo.firstName+" "+e.personalInfo.lastName).trim(),businessName:e.businessInfo?.name||null,orgType:"individual",website:e.businessInfo?.website,phone:e.businessInfo?.phone,industry:e.businessInfo?.industry,jobTitle:e.businessInfo?.jobTitle,address:{country:e.businessInfo?.country||"US",zip:e.businessInfo?.zip,lineOne:e.businessInfo?.lineOne,lineTwo:e.businessInfo?.lineTwo,city:e.businessInfo?.city,state:e.businessInfo?.state}}},e.purchasedByCompany===!0&&(t=Ge(ke({},t),{type:"brand",company:{userName:(e.personalInfo.firstName+" "+e.personalInfo.lastName).trim(),businessName:e.businessInfo.name,orgType:St[0].value,website:e.businessInfo.website,phone:e.businessInfo.phone,industry:e.businessInfo.industry,jobTitle:e.businessInfo.jobTitle,address:{country:e.businessInfo.country||"US",zip:e.businessInfo.zip,lineOne:e.businessInfo.lineOne,lineTwo:e.businessInfo.lineTwo,city:e.businessInfo.city,state:e.businessInfo.state}}})),t}updateUserInformation(e,t=!1){this.tierState.pipe(O(1)).subscribe(i=>{let p=ke({userId:e},this.buildCreateAccountPayload(i.paymentBilling.formValues));this.signUpService.updateUserAndBrandInfo(p).subscribe(()=>{this.goForPurchaseMembership(e,t)})})}goForPurchaseMembership(e,t=!1){e&&this.tierState.pipe(O(1)).subscribe(i=>{this.accountTierService.purchaseTierPlan(e,{interval:i.selectedPlanType.planType,stripeTransactionId:i.paymentInfo?.token,plan:i.selectedTier,couponCode:""}).pipe(ge(()=>{this.isPaymentSubmit=!1,this.store.dispatch(new H(!1)),this.store.dispatch(new ve({lastFour:"",paymentMode:"",token:"",save:!1})),setTimeout(()=>{this.store.dispatch(new E(!1))},1e3)})).subscribe(p=>{if(i.donateData&&i.donateData?.questId&&i.donateData?.amount&&Number(i.donateData?.amount)>0){this.goForDonation(i,e),setTimeout(()=>{this.runningDonation||this.tierState.pipe(O(1)).subscribe(g=>{this.goForDonation(g,e)})},14e3);return}setTimeout(()=>{this.isLoading=!1,this.router.navigate(["/join-theshepowerhour/join-user/success"])},50)},p=>{let g=!1,P="Payment failed. Check your details and try again.",B=[p?.error?.description,p?.description,p?.error?.message,p?.message];for(let z in qe){for(let T of B)if(T&&T?.includes(z)){g=!0,P=qe[z];break}if(g)break}this.notifier.notify("error",P),this.isLoading=!1,this.isPaymentSubmitRunning=!1})})}goForDonation(e,t){if(this.runningDonation)return;this.runningDonation=!0;let i={token:e.paymentInfo.token,lastFour:e.paymentInfo.lastFour,paymentMode:e.paymentInfo.paymentMode,amount:Number(e.donateData?.amount)*100,tip:0,brandUserId:this.fundraisingLink&&this.fundraisingLink.brand&&this.fundraisingLink.brand.id||null,secondaryBrandUserId:this.fundraisingLink&&this.fundraisingLink.secondaryBrand&&this.fundraisingLink.secondaryBrand.id||null,currency:"usd",message:"",anonymous:!1,mailing:!1,billingInfo:{personalInfo:{firstName:e.paymentBilling?.formValues?.personalInfo?.firstName||"",lastName:e.paymentBilling?.formValues?.personalInfo?.lastName||"",email:e.paymentBilling?.formValues?.personalInfo?.email||"",zip:e.paymentBilling?.formValues?.personalInfo?.zip||"",addLineOne:e.paymentBilling?.formValues?.personalInfo?.lineOne||null,addLineTwo:e.paymentBilling?.formValues?.personalInfo?.lineTwo||null,city:e.paymentBilling?.formValues?.personalInfo?.city,state:e.paymentBilling?.formValues?.personalInfo?.state,country:"US"},address:{zip:e.paymentBilling?.formValues?.personalInfo?.zip||e.paymentBilling?.formValues?.businessInfo?.zip,addLineOne:e.paymentBilling?.formValues?.personalInfo?.lineOne||e.paymentBilling?.formValues?.businessInfo?.lineOne,addLineTwo:e.paymentBilling?.formValues?.personalInfo?.lineTwo||e.paymentBilling?.formValues?.businessInfo?.lineTwo,city:e.paymentBilling?.formValues?.personalInfo?.city||e.paymentBilling?.formValues?.businessInfo?.city,state:e.paymentBilling?.formValues?.personalInfo?.state||e.paymentBilling?.formValues?.businessInfo?.state,country:"US"}},teamId:Number(e.donateData?.teamId||0),recurrent:this.defaultDonationInterval!=="single",interval:this.defaultDonationInterval==="single"?null:this.defaultDonationInterval,absorbFees:!0,payNow:!0,signUp:!1,stripeTransactionId:e.paymentInfo.token,stripeTransactionUsing:e.paymentInfo.paymentMode,coverFees:!1};this.donateService.backQuest(e.donateData?.questId,e.donateData?.user,i).subscribe(p=>{this.isLoading=!1;let g=(e.paymentBilling?.formValues?.personalInfo?.firstName??"")+" "+(e.paymentBilling?.formValues?.personalInfo?.lastName??""),P={pillarId:3,activityId:54,attributeValue:1,title:"",comment:i.message,location:null,tags:"",images:null,time:{hour:null,minute:null,second:null},taskToComplete:null,calculatedSteps:0,stepsOverride:0,activityRecordListId:null,activityRecordListPoints:null,durationValue:null,countValue:null,completedValue:null,volumeValue:null,distanceValue:null,elevationValue:null,repsValue:null,amountValue:i.amount,teamId:i.teamId,isAnonymous:i.anonymous,displayName:g,questBackingId:p.questBackingId};this.donateService.logDonateActivity(e.donateData?.questId,t,P).pipe(ge(()=>{this.router.navigate(["/join-theshepowerhour/join-user/success"])})).subscribe(B=>{},B=>{})},p=>{this.notifier.notify("error","Issue processing request. Please try again later.")})}changeInterval(e,t){this.currentBillingInterval=t,this.store.dispatch(new Pt(e)),this.store.dispatch(new Mt({planPrice:t==="monthly"||t==="quarterly"?e.monthlyPricing:e.annualPricing,planType:t})),this.store.dispatch(new ie(1)),this.yearlyAmountBenefit=e.monthlyPricing*12-e.annualPricing}changeBillingInterval(e){let i=this.allPlanDetails.find(p=>Number(p.id)===Number(this.defaultBillingPlanId));this.changeInterval(i,e)}validateCoupon(){if(this.couponCode.trim()==="")return;this.isCouponLoading=!0;let e=this.couponCode.trim();this.accountTierService.validateCoupon(e).pipe(ge(()=>this.isCouponLoading=!1)).subscribe(t=>{t&&t.id?(this.couponValidated=!0,this.notifier.notify("success","Promo code applied"),this.store.dispatch(new Le({type:"TRIAL",value:e,freeTrialDays:t.freeTrialDays})),this.changeInterval(this.discountedPlanDet,this.currentBillingInterval)):(this.couponValidated=t&&t.Coupon?t.Coupon.toLowerCase()!=="not found":!1,this.couponValidated||this.notifier.notify("error","Invalid coupon"))},t=>{this.couponValidated=!1,this.notifier.notify("error","There was an issue completing your request. Please try again.")})}clearCoupon(e){this.couponValidated=!1,this.changeInterval(this.allPlanDetails[0],this.currentBillingInterval),this.couponCode="",this.store.dispatch(new Le({type:"",value:"",freeTrialDays:0}
4)),this.todayDate=(0,je.default)(new Date).calendar()}sendAccountVerificationEmail(e,t){e&&this.signUpService.sendVerificationEmail(e,t).subscribe(i=>{},i=>{})}getCircleFundraising(){this.tierState.pipe(O(1)).subscribe(e=>{e.donateData&&e.donateData?.questId&&this.questService.getFundraisingLink(e.donateData?.questId,e.donateData?.user,0,!1).subscribe(t=>{this.fundraisingLink=t})})}static{this.\u0275fac=function(t){return new(t||n)(m(F),m(G),m(De),m(R),m(ne),m(Dt),m(we),m(kt),m(Wt),m(Fe),m(Ie))}}static{this.\u0275cmp=I({type:n,selectors:[["app-custom-user-upgrade"]],standalone:!1,decls:3,vars:6,consts:[[1,"c-tier-upgrade","c-purchase-flow"],[1,"payment-processing-overlay"],[1,""],[1,"c-purchase-flow__nav-header"],[1,"c-container"],[1,"c-purchase-flow__nav-header__steps"],[3,"routerLinkActive","ngClass"],[3,"click"],["routerLink","payment"],["routerLink","success"],[1,"c-container","c-purchase-flow__content-container"],[1,"c-purchase-flow__content-container__body"],[1,"left-panel__parent",3,"ngClass"],[1,"right-panel__parent"],[1,"c-purchase-flow__footer"],[1,"right-panel__parent__content"],[1,"legend"],[1,"infoRow"],[1,"info"],[1,"info__label"],[1,"info__value"],[1,"info","info-total-row"],[1,"info__label","total-payment"],[1,"info__value","total-payment"],[1,"discount__cont"],[1,"c-n-form__legend"],[1,"discount__cont__fields","d-flex","d-flex-align_center"],[1,"c-n-form__control"],["aria-label","Enter promo code","placeholder","Promo Code","type","text",1,"c-n-form__input",3,"ngModelChange","disabled","ngModel"],["type","button","id","promo-code-btn",1,"c-btn","c-btn_ms","c-btn_dark-revert","w-auto",3,"ngClass","disabled"],["id","promo-code-btn","type","button",1,"e-btn","e-btn_ms","e-btn_dark-alternate","w-auto"],["type","button","id","promo-code-btn",1,"c-btn","c-btn_ms","c-btn_dark-revert","w-auto",3,"click","ngClass","disabled"],["id","promo-code-btn","type","button",1,"e-btn","e-btn_ms","e-btn_dark-alternate","w-auto",3,"click"],[1,"c-purchase-flow__footer__inner"],[1,"e-btn","e-btn_ms","e-btn_dark-alternate",3,"click","disabled"],["type","button",1,"e-btn","e-btn_ms","e-btn_dark",3,"click","disabled","ngClass"],[1,"payment-processing-overlay__content"],[1,"is-loading","load-elem"],[2,"margin-bottom","20px"]],template:function(t,i){if(t&1&&(C(0,Di,23,21,"div",0),S(1,"async"),C(2,Ti,13,0,"div",1)),t&2){let p;y((p=b(4,mi,Y(1,2,i.tierState)))?0:-1,p),r(2),y(i.isLoading?2:-1)}},dependencies:[j,oe,ht,Ce,ye,ee,te,he,nt,fe],styles:['[_ngcontent-%COMP%]:root{--accent-color: #008297;--accent-color-rgb: 0 130 151;--accent-dark-color: #295967;--accent-bg-light-color: #339BAC;--btn-text-color: #2e3638;--theme-text-dark: #2e3638;--bg-text-color: #2e3638;--theme-text-light: #ffffff;--btn-text-light: #ffffff;--quest-content-bg: #FFFFFF;--quest-highlight-bg: #E5EAED;--white-section-bg: #ffffff;--comment-blue-bg: #E5F2F5;--quest-header-bg: #008297;--lighter-btn-bg: #E5F2F5;--quest-detail-nav: #008297;--quest-detail-nav-dark: #295967;--site-header: #ffffff;--site-header-text: #2e3638;--site-header-highlight: #008297;--site-header-highlight-light: #008297;--site-header-highlight-text: #ffffff;--site-header-highlight-text-invert: #ffffff;--site-header-box-shadow: #00000080;--site-header-badge-bg: #E5F2F5;--site-header-badge-text: #008297;--avatar-border: #e0e0e0;--success-bg-btn: #1D966A;--success-bg-text: #ffffff;--table-row-hover: #F2F9FA;--mission-statement-bg: #E5F2F5;--mission-statement-text: #2e3638;--bg-text-color-light: #6d787e;--bg-white-ghost: #F8F8F9;--bg-milestone: #f3f3f3;--white-bg-original: #ffffff;--modal-bg: #ffffff;--feedback-bg: #f5f7f8;--transparent-white-bg: #FFFFFF;--milestone-task-bg: #f5f7f8;--primary-bg: #f3f3f3;--primary-bg-secondary: #ffffff;--quest-detail-right: #E5EAED;--input-field-bg: #ffffff;--nav-flow-number-bg: #ffffff;--nav-flow-number-color: #000000;--flow-pages-bg: #f3f3f3;--flow-pages-section-bg: #ffffff;--tooltip-bg: #000000;--tooltip-text-color: #ffffff;--close-btn-invert: 0;--close-btn-invert-str: invert(0);--payment-block-row: #ffffff;--search-hover-bg: #f0f0f0;--progress-bar-uncovered: #ffffff;--bg-text-color-secondary: #c5c9cb;--bs-backdrop-bg-custom: #000000;--read-more-gradient: #ffffff;--read-more-btn-text: #2e3638;--dots-bg: #E5F2F5;--dots-color: #2e3638;--total-amount-color: #2e3638;--team-option-bg: #f9f9f9;--team-option-bg-dark: #ededed;--checkbox-selection-color: #ffffff;--comment-text-color: #2e3638;--table-member-bg: #F4F7F7;--table-rank-bg: #ffffff;--table-gutter-bg: #E8E9EA;--error-dark: #D00808;
4--error-dark-hover: #e61c1c;--timeline-bg: #F3F4F5;--marked-milestone-bg: #1D966A;--marked-milestone-bg-hover: #22ab79;--marked-milestone-block: #E8F4F0;--accent-color-secondary-light: #EAEEF0;--sample-primary-bg: #f3f3f3;--sample-quest-content-bg: #ffffff;--sample-bg-text-color: #2e3638;--sample-theme-bg-color: #008297;--sample-theme-bg-color-light: #339BAC;--sample-theme-text-light: #ffffff;--sample-btn-text-light: #ffffff;--sample-btn-text-color: #2e3638;--white-10: rgba(255, 255, 255, .1);--black: #000;--black-70: rgba(0, 0, 0, .7);--black-50: rgba(0, 0, 0, .5);--black-40: rgba(0, 0, 0, .4);--black-10: rgba(0, 0, 0, .1);--black-05: rgba(0, 0, 0, .05);--petrol-70: rgba(0, 81, 102, .7);--petrol-50: rgba(0, 81, 102, .5);--petrol-30: rgba(0, 81, 102, .3);--petrol-15: rgba(0, 81, 102, .05);--blue-stone-15: rgba(0,81,102, .05);--bismark-80: rgba(71,121,133,.8);--cornflowerBlue-10: rgba(36,88,102,.1);--white-70: rgba(255, 255, 255, .7);--white-50: rgba(255, 255, 255, .5);--white-30: rgba(255, 255, 255, .3);--light-blue-grey: #a6dce5;--jungle-mist: #aac9ce;--powder-blue: #b0e0e8;--shakespeare: #3fb1d1;--matisse: #1D728F;--blizzard-blue: #a6e0ec;--aquamarine-blue: #86d0e1;--hippie-blue: #609eae;--purpley-grey: #9e94a2;--ebony-clay: #1f3034;--petrol: #005166;--orient: #006a86;--cutty-sark: #516e75;--juniper: #648288;--smalt-blue: #548b97;--bali-hai: #81a8b3;--golden-fizz: #f8ec31;--amber: #FFC107;--geraldine: #ff7f7f;--cinnabar: #e83d3d;--white: #fff;--silver: #bbb;--shamrock: #2ecc71;--amazon: #347750;--puce: #cc8588;--alto: #dedede;--bermuda: #83cad9;--cornflower: #92d6e5;--bright-yellow: #fff100;--tabasco: #b41212;--casal: #295966;--outer-space: #2e3638;--dove-gray: #646464;--dusty-gray: #979797;--silver-sand: #bec1c1;--tower-gray: #d6dee1;--geyser: #d6dee1;--wild-sand: #f4f4f4;--alabaster: #f9f9f9;--anakiwa: #87ffff;--pelorous: #34a6b1;--shakespeare: #41abcb;--eastern-blue: #168cb2;--tealColor: #008297;--tealLightColor: #339BAC;--tealDarkColor: #295967;--greyDarkColor: #2e3638;--greyColor: #6d787e;--lightGreyColor: #c5c9cb;--ghostWhite: #F8F8F9;--ghostGrey: #EBECED;--paleCyan: #cce6ea;--secondary-bg: #ebebeb;--progress-bg: #f5f7f8;--tealLightBg: #E5EAED;--backgroundOptionsGray: #f5f5f5;--platinum: #A7AEB2;--grayBlueBg: #E5F2F5;--errorRed: #B73622;--warning-color: #EB7200;--orange-warning: #EB7200;--orange-warning-light: #FDF1E5;--orange: #FFB217;--orange-80: rgba(255, 178, 23, .8);--physical: #DB3900;--environmental: #4A8500;--occupational: #E20096;--mental: #018484;--friends: #905CB4;--piggybank: #AD7D00;--teal-01: rgba(41, 89, 103, .1);--teal-005: rgba(41, 89, 103, .05);--light-gold: #F2EBD9;--brown-gold: #A67B00;--border-radius-val: 5px;--borderLightGray: #C5C9CB;--silver-20: #F3F4F5;--teal-70: #4DA7B6;--success-bg: #1D966A;--success-bg-hover: #22ab79;--sinbad: #99CDD5;--btn-theme-bg: #008297;--btn-theme-bg-light-color: #339BAC;--btn-theme-text: #ffffff;--sample-btn-bg-color: #008297;--ab-offset: 0px}.c-tier-upgrade[_ngcontent-%COMP%] .c-purchase-flow__content-container__body[_ngcontent-%COMP%] .left-panel__parent[_ngcontent-%COMP%]{padding-right:80px}@media(max-width:768px){.c-tier-upgrade[_ngcontent-%COMP%] .c-purchase-flow__content-container__body[_ngcontent-%COMP%] .left-panel__parent[_ngcontent-%COMP%]{padding-right:20px}}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%]{color:var(--bg-text-color)}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .legend[_ngcontent-%COMP%]{font-size:24px;font-style:normal;font-family:ProximaNova-Bold;line-height:42px;margin-top:30px}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%]{margin-top:20px}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{font-size:16px;font-family:ProximaNova-Semibold;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:10px}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%] .info.info-total-row[_ngcontent-%COMP%]{border-top:solid 1px var(--platinum);margin-top:30px;padding-top:30px}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%] .info.info-total-row[_ngcontent-%COMP%] .info__label[_ngcontent-%COMP%]{width:auto}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%] .info.info-total-row[_ngcontent-%COMP%] .info__value[_ngcontent-%COMP%]{width:auto;color:var(--accent-color);text-transform:uppercase}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .info__label[_ngcontent-%COMP%]{font-family:ProximaNova-Semibold}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .info__value[_ngcontent-%COMP%]{font-family:ProximaNova-Semibold;text-align:right}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .total-payment[_ngcontent-%COMP%]{font-family:ProximaNova-Bold}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%] .benefit-row[_ngcontent-%COMP%]{margin-top:30px;font-size:12px}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .infoRow[_ngcontent-%COMP%] .benefit-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .color-tealcolor[_ngcontent-%COMP%]{color:var(--accent-color);font-size:12px;font-family:ProximaNova-Bold}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .first-letter-upper[_ngcontent-%COMP%]:first-letter{text-transform:uppercase}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .discount__cont[_ngcontent-%COMP%]{margin-top:30px}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .discount__cont__fields[_ngcontent-%COMP%]{flex-direction:row}@media(max-width:1145px)and (min-width:767px){.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .discount__cont__fields[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .discount__cont__fields[_ngcontent-%COMP%] .c-n-form__control[_ngcontent-%COMP%]{margin-bottom:10px;width:100%}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .discount__cont__fields[_ngcontent-%COMP%] .e-btn[_ngcontent-%COMP%]{margin:0;max-width:150px}}.c-tier-upgrade[_ngcontent-%COMP%] .right-panel__parent[_ngcontent-%COMP%] .discount__cont[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:24px;font-family:ProximaNova-Bold;line-height:42px;text-transform:capitalize;margin-bottom:0;color:var(--bg-text-color)}.c-tier-upgrade__tier-header[_ngcontent-%COMP%]{text-align:center;margin-bottom:45px}.c-tier-upgrade__tier-header__buttons-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center}.c-tier-upgrade__tier-header__buttons-row__item[_ngcontent-%COMP%]{padding:7px 10px;min-width:150px;display:flex;font-size:13px;font-family:ProximaNova-Bold;color:var(--bg-text-color);cursor:pointer;flex-direction:row;align-items:center;justify-content:center;border:solid 1px var(--btn-theme-bg);border-radius:5px}@media(max-width:1144px){.c-tier-upgrade__tier-header__buttons-row__item[_ngcontent-%COMP%]{min-width:110px;padding:5px 7px}}@media(max-width:847px){.c-tier-upgrade__tier-header__buttons-row__item[_ngcontent-%COMP%]{min-width:110px;padding:5px 7px;font-size:1.2rem}}@media(max-width:768px){.c-tier-upgrade__tier-header__buttons-row__item[_ngcontent-%COMP%]{min-width:90px;padding:5px;font-size:1rem}}@media(max-width:569px){.c-tier-upgrade__tier-header__buttons-row__item[_ngcontent-%COMP%]{min-width:150px;padding:5px 10px;font-size:1.3rem}}.c-tier-upgrade__tier-header__buttons-row__item[_ngcontent-%COMP%]:first-child{margin-right:-10px}.c-tier-upgrade__tier-header__buttons-row__item[_ngcontent-%COMP%]:last-child{margin-left:-10px}.c-tier-upgrade__tier-header__buttons-row__item.active[_ngcontent-%COMP%]{background:var(--btn-theme-bg);border-radius:5px;color:var(--btn-text-light);position:relative;z-index:2;margin-left:0;margin-right:0}.c-tier-upgrade__tier-header__buttons-row__item[_ngcontent-%COMP%] .highlight[_ngcontent-%COMP%]{background-color:var(--teal-70);border-radius:10px;padding:2px 5px;margin-left:5px;
4font-size:7px;font-family:ProximaNova-Bold;text-transform:uppercase;color:var(--white)}@media(max-width:569px){.c-ticket-flow__tools[_ngcontent-%COMP%] .e-btn[_ngcontent-%COMP%]{max-width:100%;width:100%}}.c-ticket-flow__tools[_ngcontent-%COMP%] .e-btn[_ngcontent-%COMP%]:hover{background-color:#428fd2;border-color:#428fd2}.payment-processing-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100vh;color:#fff;z-index:9999;display:flex;align-items:center;justify-content:center;text-align:center}.payment-processing-overlay[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.6}.payment-processing-overlay[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{position:relative;z-index:2}.payment-processing-overlay__content[_ngcontent-%COMP%]{padding:10px 20px}.payment-processing-overlay[_ngcontent-%COMP%] .load-elem[_ngcontent-%COMP%]:before{content:"";position:relative;width:10em;height:10em;border-radius:50%;border:10px solid currentColor;border-bottom-color:transparent;display:inline-block;vertical-align:middle;margin-right:5px;top:-1px;animation:rotating 2s linear infinite}.payment-processing-overlay[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-transform:none;margin-top:2.5rem;margin-bottom:5rem}.payment-processing-overlay[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;margin-bottom:4px}.payment-processing-overlay[_ngcontent-%COMP%] p.strong[_ngcontent-%COMP%]{font-size:16px}.payment-processing-overlay[_ngcontent-%COMP%] p.mb-0[_ngcontent-%COMP%]{margin-bottom:0}']})}}return n})();function ki(n,d){if(n&1){let e=v();o(0,"app-custom-upgrade-details",0),x("closePlanModal",function(){u(e);let i=s();return f(i.openDetailsModal=!1)}),a()}}var an=(()=>{class n{constructor(e,t,i,p){this.store=e,this.activatedRoute=t,this.accountService=i,this.profileService=p,this.openDetailsModal=!1,this.username=null,this.profileLoaded=!1,this.destroyed$=new We,this.environment=w,t.queryParams.subscribe(g=>{g&&g.showPlans&&this.showPlanModal()}),this.routeParamsSubscriber=t.params.subscribe(g=>{this.resetVariables(),setTimeout(()=>{this.initPage()},0)})}ngOnInit(){this.accountService.resetAllRootColors(),this.store.dispatch(new $("The She Power Hour"))}showPlanModal(){this.store.dispatch(new $("The She Power Hour")),this.openDetailsModal=!0}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete(),this.store.dispatch(new xt),this.store.dispatch(new Q([]))}resetVariables(){this.username=null,this.profileInfo=null,this.profileLoaded=!1}initPage(){this.username="theshepowerhour",this.getProfileInfo(()=>{this.getLinks(),this.accountService.changeRootColor({accentColor:this.profileInfo.accentColor,themeColor:this.profileInfo.themeColor,secondaryAccentColor:this.profileInfo.secondaryAccentColor},this.profileInfo.id),this.profileLoaded=!0})}getProfileInfo(e){this.profileService.getUserInfoByName(this.username).subscribe(t=>{this.profileInfo=t,this.store.dispatch(new xe(this.profileInfo)),e()},t=>{})}getLinks(){this.profileInfo?.id&&this.profileService.getAllProfileLinks(this.profileInfo.id).subscribe(e=>{this.store.dispatch(new Q(e))},e=>{this.store.dispatch(new Q([]))})}static{this.\u0275fac=function(t){return new(t||n)(m(F),m(R),m(Ie),m(Fe))}}static{this.\u0275cmp=I({type:n,selectors:[["app-theshepowerhour"]],standalone:!1,decls:1,vars:1,consts:[[3,"closePlanModal"]],template:function(t,i){t&1&&C(0,ki,1,0,"app-custom-upgrade-details"),t&2&&y(i.openDetailsModal?0:-1)},dependencies:[Jt],styles:['[_ngcontent-%COMP%]:root{--accent-color: #008297;--accent-color-rgb: 0 130 151;--accent-dark-color: #295967;--accent-bg-light-color: #339BAC;--btn-text-color: #2e3638;--theme-text-dark: #2e3638;--bg-text-color: #2e3638;--theme-text-light: #ffffff;--btn-text-light: #ffffff;--quest-content-bg: #FFFFFF;--quest-highlight-bg: #E5EAED;--white-section-bg: #ffffff;--comment-blue-bg: #E5F2F5;--quest-header-bg: #008297;--lighter-btn-bg: #E5F2F5;--quest-detail-nav: #008297;--quest-detail-nav-dark: #295967;--site-header: #ffffff;--site-header-text: #2e3638;--site-header-highlight: #008297;--site-header-highlight-light: #008297;--site-header-highlight-text: #ffffff;--site-header-highlight-text-invert: #ffffff;--site-header-box-shadow: #00000080;--site-header-badge-bg: #E5F2F5;--site-header-badge-text: #008297;--avatar-border: #e0e0e0;--success-bg-btn: #1D966A;--success-bg-text: #ffffff;--table-row-hover: #F2F9FA;--mission-statement-bg: #E5F2F5;--mission-statement-text: #2e3638;--bg-text-color-light: #6d787e;--bg-white-ghost: #F8F8F9;--bg-milestone: #f3f3f3;--white-bg-original: #ffffff;--modal-bg: #ffffff;--feedback-bg: #f5f7f8;--transparent-white-bg: #FFFFFF;--milestone-task-bg: #f5f7f8;--primary-bg: #f3f3f3;--primary-bg-secondary: #ffffff;--quest-detail-right: #E5EAED;--input-field-bg: #ffffff;--nav-flow-number-bg: #ffffff;--nav-flow-number-color: #000000;--flow-pages-bg: #f3f3f3;--flow-pages-section-bg: #ffffff;--tooltip-bg: #000000;--tooltip-text-color: #ffffff;--close-btn-invert: 0;--close-btn-invert-str: invert(0);--payment-block-row: #ffffff;--search-hover-bg: #f0f0f0;--progress-bar-uncovered: #ffffff;--bg-text-color-secondary: #c5c9cb;--bs-backdrop-bg-custom: #000000;--read-more-gradient: #ffffff;--read-more-btn-text: #2e3638;--dots-bg: #E5F2F5;--dots-color: #2e3638;--total-amount-color: #2e3638;--team-option-bg: #f9f9f9;--team-option-bg-dark: #ededed;--checkbox-selection-color: #ffffff;--comment-text-color: #2e3638;--table-member-bg: #F4F7F7;--table-rank-bg: #ffffff;--table-gutter-bg: #E8E9EA;--error-dark: #D00808;
4--error-dark-hover: #e61c1c;--timeline-bg: #F3F4F5;--marked-milestone-bg: #1D966A;--marked-milestone-bg-hover: #22ab79;--marked-milestone-block: #E8F4F0;--accent-color-secondary-light: #EAEEF0;--sample-primary-bg: #f3f3f3;--sample-quest-content-bg: #ffffff;--sample-bg-text-color: #2e3638;--sample-theme-bg-color: #008297;--sample-theme-bg-color-light: #339BAC;--sample-theme-text-light: #ffffff;--sample-btn-text-light: #ffffff;--sample-btn-text-color: #2e3638;--white-10: rgba(255, 255, 255, .1);--black: #000;--black-70: rgba(0, 0, 0, .7);--black-50: rgba(0, 0, 0, .5);--black-40: rgba(0, 0, 0, .4);--black-10: rgba(0, 0, 0, .1);--black-05: rgba(0, 0, 0, .05);--petrol-70: rgba(0, 81, 102, .7);--petrol-50: rgba(0, 81, 102, .5);--petrol-30: rgba(0, 81, 102, .3);--petrol-15: rgba(0, 81, 102, .05);--blue-stone-15: rgba(0,81,102, .05);--bismark-80: rgba(71,121,133,.8);--cornflowerBlue-10: rgba(36,88,102,.1);--white-70: rgba(255, 255, 255, .7);--white-50: rgba(255, 255, 255, .5);--white-30: rgba(255, 255, 255, .3);--light-blue-grey: #a6dce5;--jungle-mist: #aac9ce;--powder-blue: #b0e0e8;--shakespeare: #3fb1d1;--matisse: #1D728F;--blizzard-blue: #a6e0ec;--aquamarine-blue: #86d0e1;--hippie-blue: #609eae;--purpley-grey: #9e94a2;--ebony-clay: #1f3034;--petrol: #005166;--orient: #006a86;--cutty-sark: #516e75;--juniper: #648288;--smalt-blue: #548b97;--bali-hai: #81a8b3;--golden-fizz: #f8ec31;--amber: #FFC107;--geraldine: #ff7f7f;--cinnabar: #e83d3d;--white: #fff;--silver: #bbb;--shamrock: #2ecc71;--amazon: #347750;--puce: #cc8588;--alto: #dedede;--bermuda: #83cad9;--cornflower: #92d6e5;--bright-yellow: #fff100;--tabasco: #b41212;--casal: #295966;--outer-space: #2e3638;--dove-gray: #646464;--dusty-gray: #979797;--silver-sand: #bec1c1;--tower-gray: #d6dee1;--geyser: #d6dee1;--wild-sand: #f4f4f4;--alabaster: #f9f9f9;--anakiwa: #87ffff;--pelorous: #34a6b1;--shakespeare: #41abcb;--eastern-blue: #168cb2;--tealColor: #008297;--tealLightColor: #339BAC;--tealDarkColor: #295967;--greyDarkColor: #2e3638;--greyColor: #6d787e;--lightGreyColor: #c5c9cb;--ghostWhite: #F8F8F9;--ghostGrey: #EBECED;--paleCyan: #cce6ea;--secondary-bg: #ebebeb;--progress-bg: #f5f7f8;--tealLightBg: #E5EAED;--backgroundOptionsGray: #f5f5f5;--platinum: #A7AEB2;--grayBlueBg: #E5F2F5;--errorRed: #B73622;--warning-color: #EB7200;--orange-warning: #EB7200;--orange-warning-light: #FDF1E5;--orange: #FFB217;--orange-80: rgba(255, 178, 23, .8);--physical: #DB3900;--environmental: #4A8500;--occupational: #E20096;--mental: #018484;--friends: #905CB4;--piggybank: #AD7D00;--teal-01: rgba(41, 89, 103, .1);--teal-005: rgba(41, 89, 103, .05);--light-gold: #F2EBD9;--brown-gold: #A67B00;--border-radius-val: 5px;--borderLightGray: #C5C9CB;--silver-20: #F3F4F5;--teal-70: #4DA7B6;--success-bg: #1D966A;--success-bg-hover: #22ab79;--sinbad: #99CDD5;--btn-theme-bg: #008297;--btn-theme-bg-light-color: #339BAC;--btn-theme-text: #ffffff;--sample-btn-bg-color: #008297;--ab-offset: 0px}.l-nl-features__content-container[_ngcontent-%COMP%]{padding-top:68px}@media(max-width:569px){.l-nl-features__content-container[_ngcontent-%COMP%]{padding-top:0}}.l-nl-features_block[_ngcontent-%COMP%]{background:var(--tealDarkColor);position:fixed;top:68px;left:0;width:100%;z-index:9}@media(max-width:569px){.l-nl-features_block[_ngcontent-%COMP%]{position:static}}.l-nl-features_block[_ngcontent-%COMP%] .l-nl-feature_row[_ngcontent-%COMP%] .l-nl-feature_row_inner[_ngcontent-%COMP%]{justify-content:center;display:flex;position:relative}.l-nl-features_block[_ngcontent-%COMP%] .l-nl-feature_row[_ngcontent-%COMP%] .l-nl-feature_row_inner[_ngcontent-%COMP%] .l-nl-feature_block[_ngcontent-%COMP%]{padding:0 1.5rem}.l-nl-features_block[_ngcontent-%COMP%] .l-nl-feature_row[_ngcontent-%COMP%] .l-nl-feature_row_inner[_ngcontent-%COMP%] .l-nl-feature_block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;font-size:16px;font-family:ProximaNova-Semibold;padding:.5rem 1.5rem;color:var(--white)}.l-nl-features_block[_ngcontent-%COMP%] .l-nl-feature_row[_ngcontent-%COMP%] .l-nl-feature_row_inner[_ngcontent-%COMP%] .l-nl-feature_block[_ngcontent-%COMP%] a.is-active[_ngcontent-%COMP%]{font-family:ProximaNova-Semibold;position:relative}.l-nl-features_block[_ngcontent-%COMP%] .l-nl-feature_row[_ngcontent-%COMP%] .l-nl-feature_row_inner[_ngcontent-%COMP%] .l-nl-feature_block[_ngcontent-%COMP%] a.is-active[_ngcontent-%COMP%]:after{content:"";height:3px;width:100%;background:#66b4c1;position:absolute;bottom:0;left:0}@media(max-width:569px){.l-nl-features_block[_ngcontent-%COMP%] .l-nl-feature_row[_ngcontent-%COMP%] .l-nl-feature_row_inner[_ngcontent-%COMP%]{flex-direction:column}.l-nl-features_block[_ngcontent-%COMP%] .l-nl-feature_row[_ngcontent-%COMP%] .l-nl-feature_row_inner[_ngcontent-%COMP%] .l-nl-feature_block[_ngcontent-%COMP%]{margin-bottom:1rem}}.use-cases-page[_ngcontent-%COMP%] .c-nl-banner__caption[_ngcontent-%COMP%]{min-height:25rem}.use-cases-page[_ngcontent-%COMP%] .c-nl-banner__paragraph-1-container[_ngcontent-%COMP%]{width:80%;margin:auto;text-align:center}@media(max-width:569px){.use-cases-page[_ngcontent-%COMP%] .c-nl-banner__paragraph-1-container[_ngcontent-%COMP%]{width:100%}}.use-cases-page[_ngcontent-%COMP%] .l-nl-features_block[_ngcontent-%COMP%] .l-nl-feature_row[_ngcontent-%COMP%]{padding-top:25px;padding-bottom:25px}.use-cases-page[_ngcontent-%COMP%] .l-nl-features_block[_ngcontent-%COMP%] .l-nl-feature_block[_ngcontent-%COMP%]{cursor:pointer}.use-cases-page[_ngcontent-%COMP%] .l-nl-showcase__content[_ngcontent-%COMP%]{text-align:center;width:80%;margin:auto}@media(max-width:569px){.use-cases-page[_ngcontent-%COMP%] .l-nl-showcase__content[_ngcontent-%COMP%]{width:100%}}.use-cases-page[_ngcontent-%COMP%] .l-nl-showcase__content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px}.use-cases-page[_ngcontent-%COMP%] .overview-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-bottom:20px}.use-cases-page[_ngcontent-%COMP%] .overview-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{margin-bottom:0}.use-cases-page[_ngcontent-%COMP%] .overview-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:20px 0;padding-left:20px}.use-cases-page[_ngcontent-%COMP%] .l-nl-promotion__desc-from[_ngcontent-%COMP%]{text-align:center}.use-cases-page[_ngcontent-%COMP%] .section-howit-works[_ngcontent-%COMP%] .paragraph-container[_ngcontent-%COMP%]{width:90%;margin:auto;text-align:center;padding-bottom:10px}@media(max-width:569px){.use-cases-page[_ngcontent-%COMP%] .section-howit-works[_ngcontent-%COMP%] .paragraph-container[_ngcontent-%COMP%]{width:100%}}.use-cases-page[_ngcontent-%COMP%] .section-howit-works[_ngcontent-%COMP%] .paragraph-container[_ngcontent-%COMP%] .highlight-item-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap}.use-cases-page[_ngcontent-%COMP%] .section-howit-works[_ngcontent-%COMP%] .paragraph-container[_ngcontent-%COMP%] .highlight-item-container[_ngcontent-%COMP%] .highlight-item[_ngcontent-%COMP%]{width:25%;text-align:center;margin-bottom:50px;font-size:22px;padding:0 30px}@media(max-width:569px){.use-cases-page[_ngcontent-%COMP%] .section-howit-works[_ngcontent-%COMP%] .paragraph-container[_ngcontent-%COMP%] .highlight-item-container[_ngcontent-%COMP%] .highlight-item[_ngcontent-%COMP%]{width:50%;margin-bottom:40px}}.use-cases-page[_ngcontent-%COMP%] .section-howit-works[_ngcontent-%COMP%] .paragraph-container[_ngcontent-%COMP%] .l-nl-article__title[_ngcontent-%COMP%], .use-cases-page[_ngcontent-%COMP%] .main-brands-section[_ngcontent-%COMP%] .c-nl-partners__header[_ngcontent-%COMP%]{text-align:center}.use-cases-page[_ngcontent-%COMP%] .l-nl-article[_ngcontent-%COMP%]{min-height:200px}.use-cases-page[_ngcontent-%COMP%] .l-nl-article[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px}.case-study__content[_ngcontent-%COMP%]{background-color:var(--white)}
4.case-study__content__img-cont[_ngcontent-%COMP%]{text-align:center}.case-study__content__container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}@media(max-width:570px){.case-study__content__container[_ngcontent-%COMP%]{flex-direction:column}}.case-study__content__container__left[_ngcontent-%COMP%]{width:calc(75% - 50px);padding-right:50px;margin-top:-7rem;background-color:var(--white);border-radius:0 20px 0 0;box-shadow:8px 8px 8px #00000026;position:relative;color:var(--theme-text-dark)}@media(max-width:570px){.case-study__content__container__left[_ngcontent-%COMP%]{width:100%;margin-top:0;border-radius:0;padding-right:0;box-shadow:none}}.case-study__content__container__left[_ngcontent-%COMP%]:before{content:"";width:200%;height:100%;background-color:var(--white);position:absolute;top:0;left:-190%;z-index:1}@media(max-width:570px){.case-study__content__container__left[_ngcontent-%COMP%]:before{display:none}}.case-study__content__container__left[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{z-index:2;position:relative}.case-study__content__container__left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-position:inside;font-size:16px;font-family:ProximaNova-Regular;margin-bottom:2.5rem}.case-study__content__container__left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:5px}.case-study__content__container__right[_ngcontent-%COMP%]{width:20%;position:sticky;top:20px;align-self:flex-start}@media(max-width:768px){.case-study__content__container__right[_ngcontent-%COMP%]{width:27%}}@media(max-width:570px){.case-study__content__container__right[_ngcontent-%COMP%]{width:100%;position:static}}.case-study__content__container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-family:ProximaNova-Semibold;font-size:18px;margin-bottom:.8rem;text-transform:capitalize}.case-study__content__container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-family:ProximaNova-Semibold;font-size:16px;margin-bottom:.6rem;text-transform:capitalize}.case-study__content__container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;font-family:ProximaNova-Regular;margin-bottom:2.5rem}.case-study__content__container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-child{padding-bottom:100px}.case-study__content__container[_ngcontent-%COMP%] .mb-40[_ngcontent-%COMP%]{margin-bottom:40px!important}.case-study__content__container[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:16px;font-family:ProximaNova-Semibold;margin-bottom:1.2rem}.case-study__content__container[_ngcontent-%COMP%] .mt-20[_ngcontent-%COMP%]{margin-top:20px}.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{margin:3rem 0;border-bottom:solid 1px var(--accent-color)}@media(max-width:569px){.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:block}}@media(max-width:569px){.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{display:block}}@media(max-width:569px){.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{display:flex;flex-direction:column}}.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:1.5rem 0;font-size:16px;font-family:ProximaNova-Regular;vertical-align:top}@media(max-width:569px){.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block}}.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:20px;text-transform:uppercase;color:var(--accent-color);font-family:ProximaNova-Semibold;padding-right:1rem}@media(max-width:569px){.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding:0}}@media(max-width:569px){.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child{padding-bottom:2rem}}.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%]{padding-bottom:3rem}@media(max-width:569px){.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%]{padding:0}}.case-study__content__container[_ngcontent-%COMP%] table.case-three[_ngcontent-%COMP%]{border-top-color:#ffb809;border-bottom-color:#ffb809}.case-study__content__container[_ngcontent-%COMP%] table.case-three[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{color:#ffb809}.case-study__content__anecdotes[_ngcontent-%COMP%]{margin:4rem 2.8rem 3rem;border-left:solid 5px var(--accent-color)}
4@media(max-width:570px){.case-study__content__anecdotes[_ngcontent-%COMP%]{margin:2rem 1.5rem}}.case-study__content__anecdotes__item[_ngcontent-%COMP%]{margin-left:3rem}.case-study__content__anecdotes[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .case-study__content__anecdotes[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-child{padding-bottom:0}.case-study__content__page-title[_ngcontent-%COMP%]{padding:3.3rem 0 2.5rem}.case-study__content__page-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:30px;font-family:ProximaNova-Semibold;line-height:34px;margin-bottom:0;text-transform:none}.case-study__content__image[_ngcontent-%COMP%]{margin:4rem 0}.case-study__content__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.case-study__content__logo[_ngcontent-%COMP%]{margin:4rem 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:4rem;border-bottom:solid 1px var(--lightGreyColor)}.case-study__content__block-quote[_ngcontent-%COMP%]{width:70%;margin-left:auto;margin-right:auto;text-align:center}@media(max-width:570px){.case-study__content__block-quote[_ngcontent-%COMP%]{width:100%}}.case-study__content__block-quote[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{font-size:20px;font-family:ProximaNova-Light;line-height:22px}.case-study__content__block-quote[_ngcontent-%COMP%] .messenger[_ngcontent-%COMP%]{margin-top:1.5rem;font-family:ProximaNova-Regular;font-size:16px}.case-study__content__highlight-boxes[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap}.case-study__content__highlight-boxes[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:24%;margin-right:1%;border-radius:5px;background:#e5f6f5;padding:.8rem 1.1rem 1.1rem;margin-bottom:1rem;display:flex;flex-direction:column;justify-content:space-between;height:120px}@media(max-width:570px){.case-study__content__highlight-boxes[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:48%;margin-right:2%}}.case-study__content__highlight-boxes[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:12px;font-family:ProximaNova-Semibold}.case-study__content__highlight-boxes[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:#00a99d;font-size:30px;font-family:ProximaNova-Semibold}.case-study__content__highlight-boxes[_ngcontent-%COMP%] .item.item-logo[_ngcontent-%COMP%]{background-color:var(--white);display:flex;align-items:center;justify-content:center;box-shadow:0 1px 8px #0003,0 3px 3px #0000001f,0 3px 3px #00000024}.case-study__content__highlight-boxes.case-two[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background:#e9edf6}.case-study__content__highlight-boxes.case-two[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:#2347a3}.case-study__content__highlight-boxes.case-two[_ngcontent-%COMP%] .item.item-logo[_ngcontent-%COMP%]{background-color:var(--white)}.case-study__content__highlight-boxes.case-three[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background-color:#fff9eb}.case-study__content__highlight-boxes.case-three[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:#ffb809}.case-study__content__highlight-boxes.case-three[_ngcontent-%COMP%] .item.item-logo[_ngcontent-%COMP%]{background-color:var(--white)}.case-study__content__highlight-boxes.case-four[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background-color:#edf5ed}.case-study__content__highlight-boxes.case-four[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:#4b984e}.case-study__content__highlight-boxes.case-four[_ngcontent-%COMP%] .item.item-logo[_ngcontent-%COMP%]{background-color:var(--white)}.case-study__content__benefits-list[_ngcontent-%COMP%]{margin-bottom:4rem;margin-top:5.5rem}.case-study__content__benefits-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding:.5rem .8rem .5rem 32px;margin-bottom:.8rem;font-size:16px;position:relative}.case-study__content__benefits-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-right:10px;fill:var(--accent-color);position:absolute;top:.9rem;left:.8rem}.case-study__content__hash-tags[_ngcontent-%COMP%]{margin-top:4rem;display:flex;flex-wrap:wrap;align-items:baseline}.case-study__content__hash-tags[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background:#e5f6f5;border-radius:5px;padding:.5rem .8rem;margin-bottom:.8rem;margin-right:.8rem;display:inline-block;font-size:16px}.case-study__content__hash-tags.case-two[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background:#e9edf6}.case-study__content__hash-tags.case-three[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background:#fff4da}.case-study__content__hash-tags.case-four[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background:#edf5ed}.case-study__content__highlighted-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background-color:#e9edf6;border-radius:5px;padding:1.6rem;margin-bottom:.8rem;font-size:16px;font-family:ProximaNova-Semibold}.case-study__content__highlighted-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{color:#2347a3;font-family:ProximaNova-Semibold}.case-study__content__highlighted-list.case-four[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background-color:#edf5ed}.case-study__content__highlighted-list.case-four[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{color:#4b984e}.case-study__content[_ngcontent-%COMP%] .line-break[_ngcontent-%COMP%]{height:1px;width:100%;background-color:var(--white)}@media(max-width:569px){.custom-on1-design[_ngcontent-%COMP%] .case-study__content__container[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}
4.custom-on1-design[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-transform:capitalize}.custom-on1-design[_ngcontent-%COMP%] .case-study__content__img-cont[_ngcontent-%COMP%]{max-height:350px;overflow:hidden}@media(max-width:569px){.custom-on1-design[_ngcontent-%COMP%] .case-study__content__img-cont[_ngcontent-%COMP%]{max-height:200px}}@media(max-width:569px){.custom-on1-design[_ngcontent-%COMP%] .e-btn[_ngcontent-%COMP%]{width:100%;max-width:100%}}.custom-on1-design[_ngcontent-%COMP%] .case-study__content__hash-tags[_ngcontent-%COMP%] .item[_ngcontent-%COMP%], .custom-on1-design[_ngcontent-%COMP%] .case-study__content__highlight-boxes[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background-color:#8bbbc7;color:#fff}.custom-on1-design[_ngcontent-%COMP%] .case-study__content__highlight-boxes[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .custom-on1-design[_ngcontent-%COMP%] .case-study__content__highlight-boxes[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:#fff}.custom-on1-design[_ngcontent-%COMP%] .case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border-bottom-color:var(--accent-color)}.custom-on1-design[_ngcontent-%COMP%] .case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .custom-on1-design[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:var(--accent-color)}.custom-on1-design[_ngcontent-%COMP%] table.no-border-bottom[_ngcontent-%COMP%]{border-bottom:0;margin-bottom:0} .l-content{overflow:unset!important}.case-study__content[_ngcontent-%COMP%]{background-color:#000}@media(max-width:570px){.case-study__content[_ngcontent-%COMP%]{background-color:var(--white)}}.case-study__content__container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:28px}.case-study__content__container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:26px;margin-bottom:20px}.case-study__content__container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:19px}.case-study__content__container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-child{padding-bottom:40px}@media(max-width:570px){.case-study__content__container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-child{padding-bottom:10px;margin-bottom:0}}.case-study__content__container[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:18px}.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border-bottom:solid 1px #000000}.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:18px}.case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:22px;color:#000}.case-study__content__anecdotes[_ngcontent-%COMP%]{border-left:solid 5px #000000}.case-study__content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#000}.case-study__content__page-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:40px;line-height:42px;font-family:ProximaNova-Bold}.case-study__content__logo[_ngcontent-%COMP%] .light[_ngcontent-%COMP%]{display:block}@media(max-width:570px){.case-study__content__logo[_ngcontent-%COMP%] .light[_ngcontent-%COMP%]{display:none}}.case-study__content__logo[_ngcontent-%COMP%] .dark[_ngcontent-%COMP%]{display:none}@media(max-width:570px){.case-study__content__logo[_ngcontent-%COMP%] .dark[_ngcontent-%COMP%]{display:block}}.case-study__content__benefits-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{font-size:18px}.case-study__content__benefits-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{fill:#0097b2}.case-study__content[_ngcontent-%COMP%] .line-break[_ngcontent-%COMP%]{background-color:#0097b2}.custom-on1-design[_ngcontent-%COMP%] .e-btn[_ngcontent-%COMP%]{background-color:#0097b2;color:#fff;font-size:18px}.custom-on1-design[_ngcontent-%COMP%] .e-btn[_ngcontent-%COMP%]:hover{background-color:#07b4d3;border-color:#07b4d3}.custom-on1-design[_ngcontent-%COMP%] .case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border-bottom-color:#0097b2}.custom-on1-design[_ngcontent-%COMP%] .case-study__content__container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .custom-on1-design[_ngcontent-%COMP%] h4[_ng
4content-%COMP%]{color:#000}']})}}return n})();var Ei=[{path:"",component:an},{path:"join-user",component:on,children:[{path:"choose-plan",component:Kt},{path:"payment",component:en,canDeactivate:[Ne]},{path:"success",component:tn},{path:"**",redirectTo:"choose-plan"}]},{path:"**",redirectTo:""}],Go=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275mod=Ze({type:n})}static{this.\u0275inj=Ye({providers:[Ne],imports:[it,jt,bt.forChild(Ei),ut,ft,At,Ct]})}}return n})();export{Go as TheshepowerhourModule};
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.