1"use strict";(self.webpackChunkzoog_vpn=self.webpackChunkzoog_vpn||[]).push([[3094],{3094:(Ne,_,a)=>{a.r(_),a.d(_,{AUTH_ROUTES:()=>Ue});var d=a(9072),b=a(6128),x=a(3616),q=a(7400),Q=a(2700),u=a(1368),Y=a(6716),e=a(4496),w=a(8576),k=a(4260),J=a(5576),L=a(2444);const W=t=>({checkoutPage:t});let M=(()=>{class t{constructor(o,i,n,l){this.router=o,this.activatedRoute=i,this.authFacade=n,this.destroy$=l,this.router.events.pipe((0,x.a)(this.destroy$)).subscribe(p=>{p instanceof d.MT&&(this.isCheckoutPage=p.url.includes("checkout"))}),this.activatedRoute.queryParamMap.pipe((0,q.O)(p=>{const j=p.get("referralID");if(j){const Se=location.origin+this.router.url;return this.authFacade.saveUserSession(Se,j)}return(0,Q.of)(!1)}),(0,x.a)(this.destroy$)).subscribe()}ngOnInit(){}ngAfterViewInit(){setTimeout(()=>{location.host.includes(Y.O.zgProxyDomain)&&document.querySelectorAll("body *").forEach(i=>{1===i.childNodes.length&&3===i.childNodes[0].nodeType&&(i.textContent=i.textContent.replace(/vpn/gi,"Proxy"),i.textContent=i.textContent.replace(/\u0432\u043f\u043d/gi,"\u043f\u0440\u043e\u043a\u0441\u0438"))}),location.host.includes(Y.O.zgVPSDomain)&&document.querySelectorAll("body *").forEach(i=>{1===i.childNodes.length&&3===i.childNodes[0].nodeType&&(i.textContent=i.textContent.replace(/vpn/gi,"VPS"),i.textContent=i.textContent.replace(/VPN/gi,"VPS"),i.textContent=i.textContent.replace(/\u0432\u043f\u043d/gi,"vps"))})})}static{this.\u0275fac=function(i){return new(i||t)(e.GI1(d.E5),e.GI1(d.gV),e.GI1(w.O),e.GI1(k.s))}}static{this.\u0275cmp=e.In1({type:t,selectors:[["zoog-auth"]],standalone:!0,features:[e.UHJ],decls:10,vars:5,consts:[[1,"auth","nk-wrap"],[1,"nk-content","bg-img"],[1,"nk-content-inner"],[1,"nk-content-body"],[1,"nk-block"],[1,"row"],[1,"col-xl-4","col-md-6","page-container",3,"ngClass"]],template:function(i,n){1&i&&(e.I0R(0,"section",0),e.wR5(1,"zoog-header"),e.I0R(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6),e.wR5(8,"router-outlet"),e.C$Y()()()()()(),e.wR5(9,"zoog-footer"),e.C$Y()),2&i&&(e.yG2(),e.E7m("@fadeInOnEnter",void 0),e.yG2(6),e.E7m("ngClass",e.S45(3,W,n.isCheckoutPage)),e.yG2(2),e.E7m("@fadeInOnEnter",void 0))},dependencies:[J.k,L.W,u.MD,u.QF,d.cP],styles:[".auth[_ngcontent-%COMP%]{background:#081721eb url(auth-bg-img-3-min.1076bc3de1f6cc05.webp) 50% 50%;background-size:cover;overflow-x:hidden}.auth[_ngcontent-%COMP%] .nk-content-inner[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-height:calc(100vh - 13.35em)}.auth[_ngcontent-%COMP%] .nk-content-inner[_ngcontent-%COMP%] .card{background:#081721eb;box-shadow:0 0 14px 4px #7aab0080;border-radius:10px}.auth[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{justify-content:center} .verify-success-popup .mat-dialog-container{background-color:#79aa00} .verify-error-popup .mat-dialog-container{background-color:#ec5a50}@media (max-width: 769px){.page-container[_ngcontent-%COMP%]{width:70%}}@media (max-width: 600px){.auth[_ngcontent-%COMP%]{height:100%}.nk-wrap[_ngcontent-%COMP%]{justify-content:space-between}.row[_ngcontent-%COMP%]{margin:0}}@media (max-width: 1024px){.checkoutPage[_ngcontent-%COMP%]{flex:0 0 70%!important;max-width:70%!important}}@media (max-width: 768px){.checkoutPage[_ngcontent-%COMP%]{flex:0 0 80%!important;max-width:80%!important}}@media (max-width: 480px){.page-container[_ngcontent-%COMP%]{width:95%;padding:0}.checkoutPage[_ngcontent-%COMP%]{flex:0 0 64%!important}}",".checkoutPage[_ngcontent-%COMP%]{flex:0 0 50%;max-width:50%}"],data:{animation:[(0,b.rV)()]}})}}return t})();var r=a(6504),I=a(9212),X=a(9144),Z=a(5657),c=a(7304),m=a(4060),h=a(7536),g=a(7816),f=a(2064),O=a(4979),v=a(616),B=a(5152);function H(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Please enter a valid email address"),e.C$Y()())}function K(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Email is required"),e.C$Y()())}function ee(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Password is required"),e.C$Y()())}let V=(()=>{class t{get email(){return this.form.get("email")}get password(){return this.form.get("password")}constructor(o,i,n,l,p){this.router=o,this.authFacade=i,this.activatedRoute=n,this.dialog=l,this.recaptchaV3Service=p,this.form=new r.k1({email:new r.yM("",[r.AQ.required,r.AQ.email]),password:new r.yM("",[r.AQ.required])}),this.destroy$=new Z.E}ngOnInit(){this.activatedRoute.queryParams.pipe((0,x.a)(this.destroy$)).subscribe(o=>{o.token&&o.userId&&this.verifyUser(o.userId,o.token)})}ngAfterViewInit(){}goToForgot(){this.router.navigate(["/forgot-pass"])}goToSignUp(){this.router.navigate(["/sign-up"])}loginUser(){this.form.valid&&this.prodLoginWithCaptcha()}devLoginWithoutCaptcha(){this.authFacade.loginUser({...this.form.value,token:"dev"})}generateRecaptchaToken(o){if(O.I.includes(document.location.hostname))return this.recaptchaV3Service.execute(o);{const i=crypto.randomUUID();return this.authFacade.getCrToken(i)}}prodLoginWithCaptcha(){this.generateRecaptchaToken("signInAction").pipe((0,I.y)(o=>{this.authFacade.loginUser({...this.form.value,token:o})}),(0,X.a)(o=>(this.form.enable(),o))).subscribe()}verifyUser(o,i){this.authFacade.verifyUser(o,i)}ngOnDestroy(){this.destroy$.next()}static{this.\u0275fac=function(i){return new(i||t)(e.GI1(d.E5),e.GI1(w.O),e.GI1(d.gV),e.GI1(B.qW),e.GI1(c.CS))}}static{this.\u0275cmp=e.In1({type:t,selectors:[["zoog-sign-in"]],standalone:!0,features:[e.M5G([{provide:c.us,useValue:v.Y}]),e.UHJ],decls:35,vars:8,consts:[[1,"card","card-inner"],[1,"sign-in"],[1,"row"],[1,"title","col-xl-12"],["translate",""],[1,"login-form","col-12"],[1,"login-form_mail",3,"formGroup"],["color","primary","appearance","outline",1,""],["translate","",1,"color-lbl"],["type","email","matInput","","formControlName","email","placeholder","Ex. [email protected]",1,""],[4,"ngIf"],["appearance","outline",1,""],["type","password","matInput","","formControlName","password",1,"input-text","user-pass"],["mat-raised-button","","color","accent",1,"login-btn",3,"click"],[1,"signup-container"],[1,"text-signup"],["routerLink","/sign-up","translate",""],[1,"login-form_third-party"],[1,"forgot-link","col-xl-12"],["translate","",3,"click"]],template:function(i,n){1&i&&(e.I0R(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),e.OEk(5,"Login to your account"),e.C$Y()()(),e.I0R(6,"div",2)(7,"div",5)(8,"form",6)(9,"mat-form-field",7)(10,"mat-label",8),e.OEk(11,"Email"),e.C$Y(),e.wR5(12,"input",9),e.yuY(13,H,3,0,"mat-error",10)(14,K,3,0,"mat-error",10),e.C$Y(),e.I0R(15,"mat-form-field",11)(16,"mat-label",8),e.OEk(17,"Password"),e.C$Y(),e.wR5(18,"input",12),e.yuY(19,ee,3,0,"mat-error",10),e.C$Y(),e.I0R(20,"button",13),e.qCj("click",function(){return n.loginUser()}),e.OEk(21),e.wVc(22,"translate"),e.C$Y(),e.I0R(23,"div",14)(24,"div",15)(25,"span",4),e.OEk(26,"Don't have an account yet?"),e.C$Y(),e.OEk(27," \xa0 "),e.I0R(28,"a",16),e.OEk(29,"Sign Up"),e.C$Y()()()(),e.wR5(30,"div",17),e.C$Y()(),e.I0R(31,"div",2)(32,"div",18)(33,"a",19),e.qCj("click",function(){return n.goToForgot()}),e.OEk(34,"Forgot Password?"),e.C$Y()()()()()),2&i&&(e.E7m("@jackInTheBoxOnEnter",void 0),e.yG2(8),e.E7m("formGroup",n.form),e.yG2(5),e.E7m("ngIf",(null==n.email?null:n.email.hasError("email"))&&!(null!=n.email&&n.email.hasError("required"))),e.yG2(),e.E7m("ngIf",null==n.email?null:n.email.hasError("required")),e.yG2(5),e.E7m("ngIf",null==n.password?null:n.password.hasError("required")),e.yG2(2),e.cNF(e.kDX(22,6,"Login to your account")))},dependencies:[u.MD,u.u_,r.sl,r.sz,r.ot,r.ue,r.u,r.uW,r.Wo,m.wb,m.Up,m.w5,m.wJ,h.cN,h.yi,g.oJ,g.Gw,d.ER,f.O0,f.sD,f.eM,c.aO],styles:[".sign-in input:-webkit-autofill,.sign-in input:-webkit-autofill:hover,.sign-in input:-webkit-autofill:focus,.sign-in textarea:-webkit-autofill,.sign-in textarea:-webkit-autofill:hover,.sign-in textarea:-webkit-autofill:focus,.sign-in select:-webkit-autofill,.sign-in select:-webkit-autofill:hover,.sign-in select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 50px #19313D inset;border-radius:0;-webkit-text-fill-color:#ffffff}.sign-in .title{text-align:center}.sign-in .login-form_mail{display:flex;flex-direction:column;padding:2em}.sign-in .login-form_mail .mat-placeholder-required,.sign-in .login-form_mail .login-btn{color:#fff}.sign-in .forgot-link{text-align:center}
1.sign-in .forgot-link a{cursor:pointer;transition:.3s;color:#526484}.sign-in .forgot-link a:hover{color:#93c710}.sign-in .input-text{color:#fff!important}.sign-in .input-text::placeholder{color:#fff}.sign-in h1,.sign-in .h1{font-size:28px!important;font-weight:500!important;letter-spacing:-.04em!important;color:#79aa00!important}.sign-in .label-stl{margin:.25em 0;background:#233e4da3;border-radius:5px}.sign-in .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0!important}.sign-in .mat-mdc-form-field-required-marker,.sign-in .color-lbl{color:#fff}.sign-in .signup-container{margin-top:20px}.sign-in .text-signup{text-align:center;color:#fff;margin:15px 5px 10px}.sign-in .text-signup a{transition:.3s}.sign-in .text-signup a:hover{color:#93c710}.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field{margin:.25em 0;background:#233e4da3;border-radius:5px}.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined input,.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined input::placeholder,.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined label{color:#fff}\n"],encapsulation:2,data:{animation:[(0,b.kh)({duration:500,delay:100})]}})}}return t})();var P=a(32),E=a(3992),R=a(7488),y=a(4168);function te(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Please enter a valid email address"),e.C$Y()())}function ne(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Email is required"),e.C$Y()())}function oe(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Min length of password 5"),e.C$Y()())}function ie(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Password is required"),e.C$Y()())}function re(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span"),e.OEk(2,"Password is required"),e.C$Y()())}function ae(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Password must match"),e.C$Y()())}function se(t,s){if(1&t){const o=e.KQA();e.I0R(0,"button",23),e.qCj("click",function(){e.usT(o);const n=e.GaO();return e.CGJ(n.registerUser())}),e.OEk(1),e.wVc(2,"translate"),e.C$Y()}2&t&&(e.yG2(),e.oRS(" ",e.kDX(2,1,"Register Account")," "))}function le(t,s){1&t&&(e.I0R(0,"button",24),e.wR5(1,"mat-spinner",25),e.C$Y()),2&t&&(e.yG2(),e.E7m("diameter",40))}function me(t,s){return o=>{const i=o.get(t),n=o.get(s);return n?.errors&&!n.errors.matching?null:i?.value!==n?.value?(o.get(s)?.setErrors({matching:!0}),{matching:!0}):null}}let $=(()=>{class t{get name(){return this.form.get("name")}get email(){return this.form.get("email")}get password(){return this.form.get("password")}get passwordConfirm(){return this.form.get("passwordConfirm")}constructor(o,i,n,l){this.authFacade=o,this.recaptchaV3Service=i,this.activatedRoute=n,this.route=l,this.isOpen=!1,this.isLoading$=this.authFacade.isLoading(),this.form=new r.k1({name:new r.yM("",[r.AQ.minLength(2)]),email:new r.yM("",[r.AQ.required,r.AQ.email]),password:new r.yM("",[r.AQ.required,r.AQ.minLength(5)]),passwordConfirm:new r.yM("",[r.AQ.required]),promocode:new r.Ku("")},{validators:me("password","passwordConfirm")})}ngOnInit(){this.activatedRoute.queryParams.pipe((0,E.U)(1)).subscribe(o=>{"6915f981c3000"===o.a_aid&&(this.form.get("promocode").setValue("ECTZOOG"),this.isOpen=!0),"zkwjg8fwocf71"===o.a_aid&&(this.form.get("promocode").setValue("VynoVR"),this.isOpen=!0),"fgystvy18sukh"===o.a_aid&&(this.form.get("promocode").setValue("CONNECTED"),this.isOpen=!0),"699c1012592bb"===o.a_aid&&(this.form.get("promocode").setValue("VEZDEHOD"),this.isOpen=!0),"jnx9lbs9nv1yu"===o.a_aid&&(this.form.get("promocode").setValue("MK15"),this.isOpen=!0),"69f3107118cdc"===o.a_aid&&(this.form.get("promocode").setValue("VPNNI"),this.isOpen=!0),"wpkdfa867cgwh"===o.a_aid&&(this.form.get("promocode").setValue("ZOOG15"),this.isOpen=!0),"6972210f246af"===o.a_aid&&(this.form.get("promocode").setValue("TECHJURY"),this.isOpen=!0),"674ac34e5006c"===o.a_aid&&(this.form.get("promocode").setValue("IDEAL15"),this.isOpen=!0),"0ghd3he5rpo13"===o.a_aid&&(this.form.get("promocode").setValue("MARATII"),this.isOpen=!0),"69359a85ac9fd"===o.a_aid&&(this.form.get("promocode").setValue("LITRIAL"),this.isOpen=!0)})}generateRecaptchaToken(o){if(O.I.includes(document.location.hostname))return this.recaptchaV3Service.execute(o);{const i=crypto.randomUUID();return this.authFacade.getCrToken(i)}}registerUser(){this.form.valid&&this.generateRecaptchaToken("signUpAction").pipe((0,E.U)(1),(0,I.y)(o=>{const i={email:this.form.value.email,password:this.form.value.password,passwordConfirm:this.form.value.passwordConfirm,name:this.form.value.name,token:o};this.form.get("promocode")?.value.length>0&&(i.promocode=this.form.get("promocode").value),sessionStorage.setItem("showRewardPopup","true"),this.authFacade.registerUser(i)})).subscribe()}ngOnDestroy(){}static{this.\u0275fac=function(i){return new(i||t)(e.GI1(w.O),e.GI1(c.CS),e.GI1(d.gV),e.GI1(d.gV))}}static{this.\u0275cmp=e.In1({type:t,selectors:[["zoog-sign-up-reward"]],standalone:!0,features:[e.M5G([c.sZ,{provide:c.us,useValue:v.Y}]),e.UHJ],decls:52,vars:16,consts:[[1,"card","card-inner"],[1,"sign-in"],[1,"row"],[1,"title","col-xl-12"],["translate",""],[1,"login-form_mail",3,"formGroup"],[1,"row","login-form"],[1,"col-xl-12"],["appearance","outline",1,"w-100"],["translate","",1,"color-lbl"],["type","email","matInput","","formControlName","email","placeholder","Ex. [email protected]",1,"input-text","user-email"],[4,"ngIf"],["type","password","matInput","","formControlName","password",1,"input-text","user-pass"],["type","password","matInput","","formControlName","passwordConfirm",1,"input-text","user-pass-confirm"],[1,"example-headers-align"],[3,"expanded"],["type","text","matInput","","formControlName","promocode",1,"input-text","user-pass"],[1,"col-xl-12","btn-row"],["mat-raised-button","","color","accent","class","w-100 submit-btn ",3,"click",4,"ngIf","ngIfElse"],["bolwanka",""],[1,"col-xl-12","text-center","text-signin"],["routerLink","/sign-in","translate",""],[1,"login-form_third-party"],["mat-raised-button","","color","accent",1,"w-100","submit-btn",3,"click"],["mat-raised-button","","disabled","",1,"w-100","btn-spinner",2,"display","flex","justify-content","center"],[3,"diameter"]],template:function(i,n){if(1&i&&(e.I0R(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),e.OEk(5,"Register Account"),e.C$Y(),e.I0R(6,"p",4),e.OEk(7,"Get started for free - no credit card required"),e.C$Y()()(),e.I0R(8,"form",5)(9,"div",6)(10,"div",7)(11,"mat-form-field",8)(12,"mat-label",9),e.OEk(13,"Email"),e.C$Y(),e.wR5(14,"input",10),e.yuY(15,te,3,0,"mat-error",11)(16,ne,3,0,"mat-error",11),e.C$Y()(),e.I0R(17,"div",7)(18,"mat-form-field",8)(19,"mat-label",9),e.OEk(20,"Password"),e.C$Y(),e.wR5(21,"input",12),e.yuY(22,oe,3,0,"mat-error",11)(23,ie,3,0,"mat-error",11),e.C$Y(),e.I0R(24,"mat-form-field",8)(25,"mat-label",9),e.OEk(26,"Password Confirm"),e.C$Y(),e.wR5(27,"input",13),e.yuY(28,re,3,0,"mat-error",11)(29,ae,3,0,"mat-error",11),e.C$Y()(),e.I0R(30,"div",7)(31,"mat-accordion",14)(32,"mat-expansion-panel",15)(33,"mat-expansion-panel-header")(34,"mat-panel-title")(35,"span",4),e.OEk(36,"Have a promo code?"),e.C$Y()()(),e.I0R(37,"mat-form-field",8)(38,"mat-label",9),e.OEk(39,"Promo code"),e.C$Y(),e.wR5(4
10,"input",16),e.C$Y()()()(),e.I0R(41,"div",17),e.yuY(42,se,3,3,"button",18),e.wVc(43,"async"),e.yuY(44,le,2,1,"ng-template",null,19,e.gJz),e.C$Y(),e.I0R(46,"div",20),e.OEk(47),e.wVc(48,"translate"),e.I0R(49,"a",21),e.OEk(50,"Sign In"),e.C$Y()()()(),e.wR5(51,"div",22),e.C$Y()()),2&i){const l=e.Gew(45);e.E7m("@jackInTheBoxOnEnter",void 0),e.yG2(8),e.E7m("formGroup",n.form),e.yG2(7),e.E7m("ngIf",(null==n.email?null:n.email.hasError("email"))&&!(null!=n.email&&n.email.hasError("required"))),e.yG2(),e.E7m("ngIf",null==n.email?null:n.email.hasError("required")),e.yG2(6),e.E7m("ngIf",null==n.password?null:n.password.hasError("minlength")),e.yG2(),e.E7m("ngIf",null==n.password?null:n.password.hasError("required")),e.yG2(5),e.E7m("ngIf",null==n.passwordConfirm?null:n.passwordConfirm.hasError("required")),e.yG2(),e.E7m("ngIf",null==n.passwordConfirm?null:n.passwordConfirm.hasError("matching")),e.yG2(3),e.E7m("expanded",n.isOpen),e.yG2(10),e.E7m("ngIf",!e.kDX(43,12,n.isLoading$))("ngIfElse",l),e.yG2(5),e.oRS("",e.kDX(48,14,"Have an account?")," ")}},dependencies:[u.MD,u.u_,u.a,r.sl,r.sz,r.ot,r.ue,r.u,r.uW,r.Wo,d.ER,m.wb,m.Up,m.w5,m.wJ,h.cN,h.yi,g.oJ,g.Gw,R.kB,R.cm,y.CU,y._2,y._s,y.nm,y.CM,f.O0,f.sD,f.eM,c.aO],styles:[".sign-in input:-webkit-autofill,.sign-in input:-webkit-autofill:hover,.sign-in input:-webkit-autofill:focus,.sign-in textarea:-webkit-autofill,.sign-in textarea:-webkit-autofill:hover,.sign-in textarea:-webkit-autofill:focus,.sign-in select:-webkit-autofill,.sign-in select:-webkit-autofill:hover,.sign-in select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 50px #19313D inset;border-radius:0;-webkit-text-fill-color:#ffffff}.sign-in .title{text-align:center}.sign-in .title p{color:#526484}.sign-in .login-form_mail{display:flex;flex-direction:column;padding:2em;padding-bottom:1em!important}.sign-in .login-form_mail .mat-placeholder-required{color:#fff}.sign-in .login-form_mail .mat-expansion-panel{background-color:transparent;box-shadow:none;border:none}.sign-in .login-form_mail .mat-expansion-panel .mat-expansion-panel-header{padding:0 4px}.sign-in .login-form_mail .mat-expansion-panel .mat-expansion-panel-header .mat-expansion-panel-header-title{color:#fff}.sign-in .login-form_mail .mat-expansion-panel .mat-expansion-panel-header .mat-expansion-indicator:after{color:#fff}.sign-in .login-form_mail .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0}.sign-in .login-form_mail .agreement{padding-top:8px}.sign-in .login-form_mail .agreement .mdc-checkbox{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-unselected-icon-color: #fff;--mdc-checkbox-unselected-pressed-icon-color: #fff;--mdc-checkbox-unselected-hover-icon-color: #fff;--mdc-checkbox-unselected-focus-icon-color: #fff}.sign-in .login-form_mail .agreement .mat-mdc-checkbox{--mdc-form-field-label-text-color: white}.sign-in .input-text{color:#fff!important}.sign-in .text-signin{color:#fff}.sign-in .text-signin a{transition:.3s}.sign-in .text-signin a:hover{color:#93c710}.sign-in .btn-row{padding-top:16px;padding-bottom:16px}.sign-in .btn-row .submit-btn{color:#fff}@media (max-width: 480px){form{padding-bottom:.5em!important}}\n",".sign-in input:-webkit-autofill,.sign-in input:-webkit-autofill:hover,.sign-in input:-webkit-autofill:focus,.sign-in textarea:-webkit-autofill,.sign-in textarea:-webkit-autofill:hover,.sign-in textarea:-webkit-autofill:focus,.sign-in select:-webkit-autofill,.sign-in select:-webkit-autofill:hover,.sign-in select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 50px #19313D inset;border-radius:0;-webkit-text-fill-color:#ffffff}.sign-in .title{text-align:center}.sign-in .login-form_mail{display:flex;flex-direction:column;padding:2em}.sign-in .login-form_mail .mat-placeholder-required,.sign-in .login-form_mail .login-btn{color:#fff}.sign-in .forgot-link{text-align:center}.sign-in .forgot-link a{cursor:pointer;transition:.3s;color:#526484}.sign-in .forgot-link a:hover{color:#93c710}.sign-in .input-text{color:#fff!important}.sign-in .input-text::placeholder{color:#fff}.sign-in h1,.sign-in .h1{font-size:28px!important;font-weight:500!important;letter-spacing:-.04em!important;color:#79aa00!important}.sign-in .label-stl{margin:.25em 0;background:#233e4da3;border-radius:5px}.sign-in .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0!important}.sign-in .mat-mdc-form-field-required-marker,.sign-in .color-lbl{color:#fff}.sign-in .signup-container{margin-top:20px}.sign-in .text-signup{text-align:center;color:#fff;margin:15px 5px 10px}.sign-in .text-signup a{transition:.3s}.sign-in .text-signup a:hover{color:#93c710}.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field{margin:.25em 0;background:#233e4da3;border-radius:5px}.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined input,.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined input::placeholder,.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined label{color:#fff}\n"],encapsulation:2,data:{animation:[(0,b.kh)({duration:500,delay:100})]}})}}return t})();var T=a(1624);const ce=["sendBtn"];function de(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span"),e.OEk(2),e.wVc(3,"translate"),e.C$Y()()),2&t&&(e.yG2(2),e.cNF(e.kDX(3,1,"Please enter a valid email address")))}function fe(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",14),e.OEk(2),e.wVc(3,"translate"),e.C$Y()()),2&t&&(e.yG2(2),e.cNF(e.kDX(3,1,"Email is required")))}
1function ue(t,s){1&t&&(e.I0R(0,"span"),e.OEk(1),e.wVc(2,"translate"),e.C$Y()),2&t&&(e.yG2(),e.cNF(e.kDX(2,1,"Send")))}function pe(t,s){if(1&t&&(e.I0R(0,"span",15),e.OEk(1),e.C$Y()),2&t){const o=e.GaO();e.yG2(),e.cNF(o.sec)}}let U=(()=>{class t{get email(){return this.form.get("email")}constructor(o,i,n,l,p){this.authFacade=o,this.recaptchaV3Service=i,this.snackBar=n,this.destroy$=l,this.translate=p,this.form=new r.k1({email:new r.yM("",[r.AQ.required,r.AQ.email])})}ngOnInit(){}generateRecaptchaToken(o){if(O.I.includes(document.location.hostname))return this.recaptchaV3Service.execute(o);{const i=crypto.randomUUID();return this.authFacade.getCrToken(i)}}sendEmailForReset(){this.form.valid&&this.generateRecaptchaToken("forgotPassAction").pipe((0,E.U)(1),(0,I.y)(o=>{this.authFacade.sendEmailForReset({...this.form.value,token:o}).pipe((0,x.a)(this.destroy$)).subscribe(i=>{this.snackBar.open(this.translate.instant(i),"Close",{duration:5e3,panelClass:["snack-bar-success","reset-pass-success"]}),this.timer()},i=>{console.log(i),this.snackBar.open(this.translate.instant(i.error.message),"Close",{duration:5e3,panelClass:["snack-bar-error","reset-pass-error"]}),(i.error.message.includes("Attempts")||429===i.status)&&this.timer()})})).subscribe()}timer(){this.sec=60,this.sendBtn.disabled=!0;let o=setInterval(()=>{--this.sec,0===this.sec&&(clearInterval(o),this.sendBtn.disabled=!1)},1e3)}ngOnDestroy(){}static{this.\u0275fac=function(i){return new(i||t)(e.GI1(w.O),e.GI1(c.CS),e.GI1(T.yS),e.GI1(k.s),e.GI1(f.qS))}}static{this.\u0275cmp=e.In1({type:t,selectors:[["zoog-forgot-pass"]],viewQuery:function(i,n){if(1&i&&e.CC$(ce,5),2&i){let l;e.wto(l=e.Gqi())&&(n.sendBtn=l.first)}},standalone:!0,features:[e.M5G([{provide:c.us,useValue:v.Y}]),e.UHJ],decls:21,vars:12,consts:[[1,"card","card-inner"],[1,"forgotpass"],[1,"forgotpass-email"],[1,"row"],[1,"col-xl-12"],[1,"forgotpass-email-confirm",3,"formGroup"],["appearance","outline",1,"example-full-width","w-100","forgotpass-email-confirm-field"],[1,"color-lbl"],["type","text","matInput","","formControlName","email","placeholder","Ex. [email protected]",1,"forgotpass-email-confirm-input","input-text","user-email"],[4,"ngIf"],["mat-raised-button","","color","accent",1,"forgotpass-email-confirm-btn",3,"click"],["sendBtn",""],[4,"ngIf","ngIfElse"],["timer",""],["translate",""],[1,"sec"]],template:function(i,n){if(1&i&&(e.I0R(0,"div",0)(1,"div",1)(2,"h6"),e.OEk(3),e.wVc(4,"translate"),e.C$Y(),e.I0R(5,"div",2)(6,"div",3)(7,"div",4)(8,"form",5)(9,"mat-form-field",6)(10,"mat-label",7),e.OEk(11),e.wVc(12,"translate"),e.C$Y(),e.wR5(13,"input",8),e.yuY(14,de,4,3,"mat-error",9)(15,fe,4,3,"mat-error",9),e.C$Y(),e.I0R(16,"button",10,11),e.qCj("click",function(){return n.sendEmailForReset()}),e.yuY(18,ue,3,3,"span",12)(19,pe,2,1,"ng-template",null,13,e.gJz),e.C$Y()()()()()()()),2&i){const l=e.Gew(20);e.E7m("@jackInTheBoxOnEnter",void 0),e.yG2(3),e.cNF(e.kDX(4,8,"Enter the email that was used for registration")),e.yG2(5),e.E7m("formGroup",n.form),e.yG2(3),e.cNF(e.kDX(12,10,"Your email")),e.yG2(3),e.E7m("ngIf",(null==n.email?null:n.email.hasError("email"))&&!(null!=n.email&&n.email.hasError("required"))),e.yG2(),e.E7m("ngIf",null==n.email?null:n.email.hasError("required")),e.yG2(3),e.E7m("ngIf",!n.sec)("ngIfElse",l)}},dependencies:[u.MD,u.u_,r.sl,r.sz,r.ot,r.ue,r.u,r.uW,r.Wo,m.wb,m.Up,m.w5,m.wJ,h.cN,h.yi,g.oJ,g.Gw,c.aO,f.O0,f.sD,f.eM],styles:[".forgotpass{padding:0 14px}.forgotpass h6{text-align:center}.forgotpass-email{padding:0 2em}.forgotpass-email-confirm{display:flex;justify-content:center}.forgotpass-email-confirm .label-stl{margin:.25em 0;background:#233e4da3;border-radius:5px}.forgotpass-email-confirm-field .color-lbl{color:#fff}.forgotpass-email-confirm-input{color:#fff!important}.forgotpass-email-confirm ::ng-deep .mat-placeholder-required{color:#fff}.forgotpass-email-confirm-btn{margin-left:10px;margin-top:8px}.forgotpass-email-confirm-btn.mat-mdc-raised-button:not(:disabled){color:#fff}.forgotpass-email-confirm-btn .sec{color:#fff}.forgotpass-email-confirm-btn:hover{background-color:#93c710}.forgotpass .input-text::placeholder{color:#fff}@media (max-width: 480px){.forgotpass .card-inner{width:95%;margin:0 auto}.forgotpass .forgotpass-email-confirm{flex-direction:column}.forgotpass .forgotpass-email-confirm-btn{margin-left:0;width:50%}}.forgotpass-email-confirm-field .mat-mdc-text-field-wrapper.mdc-text-field{margin:.25em 0;background:#233e4da3;border-radius:5px}.forgotpass-email-confirm-field .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined input,.forgotpass-email-confirm-field .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined input::placeholder,.forgotpass-email-confirm-field .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined label{color:#fff}\n"],encapsulation:2,data:{animation:[(0,b.kh)({duration:500,delay:100})]}})}}return t})();
1function ge(t,s){1&t&&(e.I0R(0,"mat-error"),e.OEk(1),e.wVc(2,"translate"),e.I0R(3,"strong"),e.OEk(4,"5"),e.C$Y()()),2&t&&(e.yG2(),e.oRS(" ",e.kDX(2,1,"Min length of password")," "))}function he(t,s){1&t&&(e.I0R(0,"mat-error"),e.OEk(1),e.wVc(2,"translate"),e.I0R(3,"strong"),e.OEk(4),e.wVc(5,"translate"),e.C$Y()()),2&t&&(e.yG2(),e.oRS(" ",e.kDX(2,2,"Password is")," "),e.yG2(3),e.cNF(e.kDX(5,4,"required")))}function we(t,s){1&t&&(e.I0R(0,"mat-error"),e.OEk(1),e.wVc(2,"translate"),e.I0R(3,"strong"),e.OEk(4),e.wVc(5,"translate"),e.C$Y()()),2&t&&(e.yG2(),e.oRS(" ",e.kDX(2,2,"Password is")," "),e.yG2(3),e.cNF(e.kDX(5,4,"required")))}function be(t,s){1&t&&(e.I0R(0,"mat-error"),e.OEk(1),e.wVc(2,"translate"),e.I0R(3,"strong"),e.OEk(4),e.wVc(5,"translate"),e.C$Y()()),2&t&&(e.yG2(),e.oRS(" ",e.kDX(2,2,"Password must")," "),e.yG2(3),e.cNF(e.kDX(5,4,"matches")))}let S=(()=>{class t{get password(){return this.form.get("password")}get passwordConfirm(){return this.form.get("passwordConfirm")}constructor(o,i){this.authFacade=o,this.activatedRoute=i,this.form=new r.k1({userId:new r.yM,token:new r.yM,password:new r.yM("",[r.AQ.required,r.AQ.minLength(5)]),passwordConfirm:new r.yM("",[])},{validators:(0,P.A)("password","passwordConfirm")})}ngOnInit(){const o=this.activatedRoute.snapshot.paramMap.get("userId"),i=this.activatedRoute.snapshot.paramMap.get("resetToken");this.form.get("userId")?.setValue(o),this.form.get("token")?.setValue(i)}sendNewPass(){this.form.valid&&(this.form.get("password")?.setValue(this.form.value.password),this.form.get("passwordConfirm")?.setValue(this.form.value.passwordConfirm),this.authFacade.sendNewPass(this.form.value))}static{this.\u0275fac=function(i){return new(i||t)(e.GI1(w.O),e.GI1(d.gV))}}static{this.\u0275cmp=e.In1({type:t,selectors:[["zoog-reset-pass"]],standalone:!0,features:[e.UHJ],decls:25,vars:18,consts:[[1,"card","card-inner"],[1,"resetpass"],[1,"row"],[1,"col-xl-12"],[1,"resetpass-form",3,"formGroup"],["appearance","outline",1,"example-full-width","w-100","label-stl","resetpass-form-field"],[1,"color-lbl"],["type","password","matInput","","formControlName","password",1,"resetpass-form-field-input","input-text","user-pass"],[4,"ngIf"],["mat-label","",1,"color-lbl"],["type","password","matInput","","formControlName","passwordConfirm",1,"resetpass-form-field-input","input-text","user-pass-confirm"],["mat-raised-button","","color","primary",1,"resetpass-form-confirm",3,"click"]],template:function(i,n){1&i&&(e.I0R(0,"div",0)(1,"div",1)(2,"h6"),e.OEk(3),e.wVc(4,"translate"),e.C$Y(),e.I0R(5,"div",2)(6,"div",3)(7,"form",4)(8,"mat-form-field",5)(9,"mat-label",6),e.OEk(10),e.wVc(11,"translate"),e.C$Y(),e.wR5(12,"input",7),e.yuY(13,ge,5,3,"mat-error",8)(14,he,6,6,"mat-error",8),e.C$Y(),e.I0R(15,"mat-form-field",5)(16,"mat-label",9),e.OEk(17),e.wVc(18,"translate"),e.C$Y(),e.wR5(19,"input",10),e.yuY(20,we,6,6,"mat-error",8)(21,be,6,6,"mat-error",8),e.C$Y(),e.I0R(22,"button",11),e.qCj("click",function(){return n.sendNewPass()}),e.OEk(23),e.wVc(24,"translate"),e.C$Y()()()()()()),2&i&&(e.E7m("@jackInTheBoxOnEnter",void 0),e.yG2(3),e.cNF(e.kDX(4,10,"Enter your new password in the fields below")),e.yG2(4),e.E7m("formGroup",n.form),e.yG2(3),e.cNF(e.kDX(11,12,"Password")),e.yG2(3),e.E7m("ngIf",null==n.password?null:n.password.hasError("minlength")),e.yG2(),e.E7m("ngIf",null==n.password?null:n.password.hasError("required")),e.yG2(3),e.cNF(e.kDX(18,14,"Password confirm")),e.yG2(3),e.E7m("ngIf",null==n.passwordConfirm?null:n.passwordConfirm.hasError("required")),e.yG2(),e.E7m("ngIf",null==n.passwordConfirm?null:n.passwordConfirm.hasError("matching")),e.yG2(2),e.cNF(e.kDX(24,16,"Send")))},dependencies:[u.u_,r.sl,r.sz,r.ot,r.ue,r.u,r.uW,r.Wo,m.wb,m.Up,m.w5,m.wJ,h.cN,h.yi,g.oJ,g.Gw,f.O0,f.sD],styles:[".resetpass[_ngcontent-%COMP%]{padding:0 14px}.resetpass[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{text-align:center}.resetpass-form[_ngcontent-%COMP%]{padding:0 2em;display:flex;flex-direction:column;justify-content:space-between;align-items:center;width:100%}.resetpass-form[_ngcontent-%COMP%] .label-stl[_ngcontent-%COMP%]{margin:.25em 0;background:#233e4da3;border-radius:5px}.resetpass-form-field[_ngcontent-%COMP%] .color-lbl[_ngcontent-%COMP%]{color:#fff}.resetpass-form-field-input[_ngcontent-%COMP%]{color:#fff!important}.resetpass-form-confirm[_ngcontent-%COMP%]{width:50%}.resetpass-form-confirm[_ngcontent-%COMP%]:hover{background-color:#93c710}.resetpass[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-outline{color:transparent}.resetpass[_ngcontent-%COMP%] .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:transparent}.resetpass[_ngcontent-%COMP%] .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#79aa00}.resetpass[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#526484}.resetpass[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0!important}@media (max-width: 480px){.card-inner[_ngcontent-%COMP%]{padding:1rem}}"],data:{animation:[(0,b.kh)({duration:500,delay:100})]}})}}return t})();var G=a(8280),N=a(3840),F=a(4172);function Ce(t,s){1&t&&e.wR5(0,"zoog-header"),2&t&&e.E7m("@fadeInOnEnter",void 0)}function xe(t,s){1&t&&e.wR5(0,"zoog-footer"),2&t&&e.E7m("@fadeInOnEnter",void 0)}let A=(()=>{class t{constructor(o,i,n,l,p){this.facade=o,this.activatedRoute=i,this.router=n,this._snackBar=l,this.destroy$=p,this.emailPreferencesForm=new r.k1({accountEmails:new r.yM(!0),dealEmails:new r.yM(!0),generalEmails:new r.yM(!0)})}ngOnInit(){this.facade.isUserAuth().pipe((0,x.a)(this.destroy$)).subscribe(o=>this.isAuth=o),this.activatedRoute.params.subscribe(o=>{this.url=decodeURIComponent(o.urlHash),this.url||this.router.navigate(["dashboard"])})}saveEmailPreferences(){this.facade.saveEmailPreferences({...this.emailPreferencesForm.value,data:this.url}).subscribe()}static{this.\u0275fac=function(i){return new(i||t)(e.GI1(w.O),e.GI1(d.gV),e.GI1(d.E5),e.GI1(T.yS),e.GI1(k.s))}}static{this.\u0275cmp=e.In1({type:t,selectors:[["zoog-email-unsubscribe"]],standalone:!0,features:[e.M5G([k.s]),e.UHJ],decls:16,vars:6,consts:[[1,"email-unsubscribe"],[4,"ngIf"],[1,"main"],[1,"card","card-inner"],[3,"formGroup"],["formControlName","accountEmails"],["formControlName","dealEmails"],["formControlName","generalEmails"],["mat-raised-button","","color","accent",3,"disabled","click","mouseenter","mouseleave"]],template:function(i,n){1&i&&(e.I0R(0,"section",0),e.yuY(1,Ce,1,1,"zoog-header",1),e.I0R(2,"div",2)(3,"div",3)(4,"p"),e.OEk(5,"Select the type of emails you would like to receive from ZoogVPN."),e.C$Y(),e.I0R(6,"form",4)(7,"mat-checkbox",5),e.OEk(8,"Emails on account management"),e.C$Y(),e.I0R(9,"mat-checkbox",6),e.OEk(10,"Emails on offers and deals for ZoogVPN products & services "),e.C$Y(),e.I0R(11,"mat-checkbox",7),e.OEk(12,"Emails on ZoogVPN and general VPN news & information "),e.C$Y(),e.I0R(13,"button",8),e.qCj("click",function(){return n.saveEmailPreferences()})("mouseenter",function(p){return p.stopImmediatePropagation()})("mouseleave",function(p){return p.stopImmediatePropagation()}),e.OEk(14," Save "),e.C$Y()()()(),e.yuY(15,xe,1,1,"zoog-footer",1),e.C$Y()),2&i&&(e.eAK("auth",n.isAuth),e.yG2(),e.E7m("ngIf",!n.isAuth),e.yG2(5),e.E7m("formGroup",n.emailPreferencesForm),e.yG2(7),e.E7m("disabled",!n.url),e.yG2(2),e.
1E7m("ngIf",!n.isAuth))},dependencies:[u.MD,u.u_,r.sl,r.sz,r.ue,r.u,r.uW,r.Wo,N.Vn,N.WK,g.oJ,g.Gw,F.Wy,F.kT],styles:[".email-unsubscribe[_ngcontent-%COMP%] .main[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px}.email-unsubscribe[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:20px;font-weight:700}.email-unsubscribe[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;justify-content:space-between}.email-unsubscribe[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:32%}.email-unsubscribe[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{margin-bottom:16px}.email-unsubscribe[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] .mat-checkbox-layout{white-space:normal}.email-unsubscribe[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] .mat-checkbox-layout .mat-checkbox-label{line-height:16px}.email-unsubscribe[_ngcontent-%COMP%]:not(.auth){background:#081721eb url(/assets/images/auth-bg-img-3-min.png) 50% 50%;background-size:cover;overflow-x:hidden}.email-unsubscribe[_ngcontent-%COMP%]:not(.auth) .main[_ngcontent-%COMP%]{min-height:calc(100vh - 115px)}.email-unsubscribe[_ngcontent-%COMP%]:not(.auth) .main[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{background:#081721eb;box-shadow:0 0 14px 4px #7aab0080;border-radius:10px;color:#fff}.email-unsubscribe.auth[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:calc(100vh - 62px)}"],data:{animation:[(0,b.rV)({anchor:"enter",duration:700})]}})}}return t})();var D=a(9228),ke=a(667),ve=a(4704),ye=a(7532);let C=(()=>{class t{constructor(o,i){this.store=o,this.router=i}canActivate(o,i){return this.store.select(ke.e6).pipe((0,ve.k)(n=>{if(this.router.url.includes("tv"))return!0;if(o.queryParams.hasOwnProperty("token")&&o.queryParams.hasOwnProperty("userId")&&n)return this.router.createUrlTree(["/plans"],{queryParams:o.queryParams});if(n)switch(localStorage.getItem("firstPathname")||""){case"/forgot-pass":return this.router.createUrlTree(["/profile"]);case"/checkout":return this.router.createUrlTree([`/plans/${o.queryParams.plan}`]);default:return this.router.createUrlTree(["/dashboard"])}return!n}))}static{this.\u0275fac=function(i){return new(i||t)(e.CoB(ye.m_),e.CoB(d.E5))}}static{this.\u0275prov=e.wxM({token:t,factory:t.\u0275fac})}}return t})();var Ie=a(536);function Ee(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Please enter a valid email address"),e.C$Y()())}function Oe(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Email is required"),e.C$Y()())}function Pe(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Min length of password 5"),e.C$Y()())}function Re(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Password is required"),e.C$Y()())}function Ge(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span"),e.OEk(2,"Password is required"),e.C$Y()())}function _e(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Password must match"),e.C$Y()())}function Ye(t,s){if(1&t){const o=e.KQA();e.I0R(0,"button",19),e.qCj("click",function(){e.usT(o);const n=e.GaO();return e.CGJ(n.registerUser())}),e.OEk(1),e.wVc(2,"translate"),e.C$Y()}2&t&&(e.yG2(),e.oRS(" ",e.kDX(2,1,"Register Account")," "))}function Me(t,s){1&t&&(e.I0R(0,"button",20),e.wR5(1,"mat-spinner",21),e.C$Y()),2&t&&(e.yG2(),e.E7m("diameter",40))}function Ve(t,s){1&t&&(e.I0R(0,"mat-error")(1,"span",4),e.OEk(2,"Promo code required"),e.C$Y()())}function $e(t,s){if(1&t){const o=e.KQA();e.I0R(0,"button",19),e.qCj("click",function(){e.usT(o);const n=e.GaO();return e.CGJ(n.loginUser())}),e.OEk(1),e.wVc(2,"translate"),e.C$Y()}2&t&&(e.yG2(),e.oRS(" ",e.kDX(2,1,"Click to login")," "))}let z=(()=>{class t{get email(){return this.form.get("email")}get password(){return this.form.get("password")}get promocode(){return this.form.get("promocode")}constructor(){this.authFacade=(0,e.uUt)(w.O),this.recaptchaV3Service=(0,e.uUt)(c.CS),this.route=(0,e.uUt)(d.gV),this.form=new r.WC({email:new r.Ku("",[r.AQ.required,r.AQ.email]),password:new r.Ku("",[r.AQ.required,r.AQ.minLength(5)]),promocode:new r.Ku("",[r.AQ.required])}),this.loginForm=new r.WC({promocode:new r.Ku("",[r.AQ.required])}),this.route.params.subscribe(o=>{o.userId&&o.oneTimeToken&&this.authFacade.loginByOnetime(o.userId,o.oneTimeToken).subscribe(i=>{})})}registerUser(){this.form.valid?this.recaptchaV3Service.execute("registerWithPromo").pipe((0,E.U)(1),(0,I.y)(o=>{this.authFacade.registerUserWithPromo({email:this.form.value.email,password:this.form.value.password,passwordConfirm:this.form.value.password,promocode:this.form.value.promocode,token:o})})).subscribe():console.log(this.form.valid)}loginUser(){this.loginForm.valid&&this.authFacade.getOnetimeLink(this.loginForm.value.promocode).subscribe(o=>{window.open(o,"_blank")})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=e.In1({type:t,selectors:[["zoog-sign-up-promo"]],standalone:!0,features:[e.M5G([c.sZ,{provide:c.us,useValue:v.Y}]),e.UHJ],decls:55,vars:17,consts:[[1,"card","card-inner"],[1,"sign-in"],[1,"row"],[1,"title","col-xl-12"],["translate",""],[1,"login-form_mail",3,"formGroup"],[1,"row","login-form"],[1,"col-xl-12"],["appearance","outline",1,"w-100"],["translate","",1,"color-lbl"],["type","email","matInput","","formControlName","email","placeholder","Ex. [email protected]",1,"input-text","user-email"],[4,"ngIf"],["type","password","matInput","","formControlName","password",1,"input-text","user-pass"],["type","text","matInput","","formControlName","promocode",1,"input-text","user-pass-confirm"],[1,"col-xl-12","btn-row"],["mat-raised-button","","color","accent","class","w-100 submit-btn ",3,"click",4,"ngIf","ngIfElse"],["bolwanka",""],[1,"login-form_third-party"],["type","text","matInput","","formControlName","promocode",1,"input-text","user-email"],["mat-raised-button","","color","accent",1,"w-100","submit-btn",3,"click"],["mat-raised-button","","disabled","",1,"w-100","btn-spinner",2,"display","flex","justify-content","center"],[3,"diameter"]],template:function(i,n){if(1&i&&(e.I0R(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),e.OEk(5,"Register Account"),e.C$Y(),e.I0R(6,"p",4),e.OEk(7,"Register account for a new customer using the promotion code we sent you. After the registration, you will be able to access WireGuard configurations in the dashboard."),e.C$Y()()(),e.I0R(8,"form",5)(9,"div",6)(10,"div",7)(11,"mat-form-field",8)(12,"mat-label",9),e.OEk(13,"Email"),e.C$Y(),e.wR5(14,"input",10),e.yuY(15,Ee,3,0,"mat-error",11)(16,Oe,3,0,"mat-error",11),e.C$Y()(),e.I0R(17,"div",7)(18,"mat-form-field",8)(19,"mat-label",9),e.OEk(20,"Password"),e.C$Y(),e.wR5(21,"input",12),e.yuY(22,Pe,3,0,"mat-error",11)(23,Re,3,0,"mat-error",11),e.C$Y(),e.I0R(24,"mat-form-field",8)(25,"mat-label",9),e.OEk(26,"Promo code"),e.C$Y(),e.wR5(27,"input",13),e.yuY(28,Ge,3,0,"mat-error",11)(29,_e,3,0,"mat-error",11),e.C$Y()(),e.I0R(30,"div",14),e.yuY(31,Ye,3,3,"button",15),e.wVc(32,"async"),e.yuY(33,Me,2,1,"ng-template",null,16,e.gJz),e.C$Y()()(),e.wR5(35,"div",17),e.C$Y()(),e.I0R(36,"div",0)(37,"div",1)(38,"div",2)(39,"div",3)(40,"h1",4),e.OEk(41,"Login to account as admin"),e.C$Y(),e.I0R(42,"p",4),e.OEk(43,"Enter a promo code here and
1you will be logged in to the account associated with this promo code."),e.C$Y()()(),e.I0R(44,"form",5)(45,"div",6)(46,"div",7)(47,"mat-form-field",8)(48,"mat-label",9),e.OEk(49,"PromoCode"),e.C$Y(),e.wR5(50,"input",18),e.yuY(51,Ve,3,0,"mat-error",11),e.C$Y()(),e.I0R(52,"div",14),e.yuY(53,$e,3,3,"button",15),e.wVc(54,"async"),e.C$Y()()()()()),2&i){const l=e.Gew(34);e.yG2(8),e.E7m("formGroup",n.form),e.yG2(7),e.E7m("ngIf",(null==n.email?null:n.email.hasError("email"))&&!(null!=n.email&&n.email.hasError("required"))),e.yG2(),e.E7m("ngIf",null==n.email?null:n.email.hasError("required")),e.yG2(6),e.E7m("ngIf",null==n.password?null:n.password.hasError("minlength")),e.yG2(),e.E7m("ngIf",null==n.password?null:n.password.hasError("required")),e.yG2(5),e.E7m("ngIf",null==n.promocode?null:n.promocode.hasError("required")),e.yG2(),e.E7m("ngIf",null==n.promocode?null:n.promocode.hasError("matching")),e.yG2(2),e.E7m("ngIf",!e.kDX(32,13,n.isLoading$))("ngIfElse",l),e.yG2(13),e.E7m("formGroup",n.loginForm),e.yG2(7),e.E7m("ngIf",null==n.email?null:n.email.hasError("required")),e.yG2(2),e.E7m("ngIf",!e.kDX(54,15,n.isLoading$))("ngIfElse",l)}},dependencies:[u.a,g.Gw,m.wJ,m.Up,h.yi,m.w5,R.cm,u.u_,r.sl,r.sz,r.ot,r.ue,r.u,r.uW,r.Wo,f.O0,f.sD,f.eM,c.aO],styles:[".sign-in input:-webkit-autofill,.sign-in input:-webkit-autofill:hover,.sign-in input:-webkit-autofill:focus,.sign-in textarea:-webkit-autofill,.sign-in textarea:-webkit-autofill:hover,.sign-in textarea:-webkit-autofill:focus,.sign-in select:-webkit-autofill,.sign-in select:-webkit-autofill:hover,.sign-in select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 50px #19313D inset;border-radius:0;-webkit-text-fill-color:#ffffff}.sign-in .title{text-align:center}.sign-in .login-form_mail{display:flex;flex-direction:column;padding:2em}.sign-in .login-form_mail .mat-placeholder-required,.sign-in .login-form_mail .login-btn{color:#fff}.sign-in .forgot-link{text-align:center}.sign-in .forgot-link a{cursor:pointer;transition:.3s;color:#526484}.sign-in .forgot-link a:hover{color:#93c710}.sign-in .input-text{color:#fff!important}.sign-in .input-text::placeholder{color:#fff}.sign-in h1,.sign-in .h1{font-size:28px!important;font-weight:500!important;letter-spacing:-.04em!important;color:#79aa00!important}.sign-in .label-stl{margin:.25em 0;background:#233e4da3;border-radius:5px}.sign-in .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0!important}.sign-in .mat-mdc-form-field-required-marker,.sign-in .color-lbl{color:#fff}.sign-in .signup-container{margin-top:20px}.sign-in .text-signup{text-align:center;color:#fff;margin:15px 5px 10px}.sign-in .text-signup a{transition:.3s}.sign-in .text-signup a:hover{color:#93c710}.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field{margin:.25em 0;background:#233e4da3;border-radius:5px}.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined input,.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined input::placeholder,.login-form_mail .mat-mdc-text-field-wrapper.mdc-text-field.mdc-text-field--outlined label{color:#fff}\n",".sign-in input:-webkit-autofill,.sign-in input:-webkit-autofill:hover,.sign-in input:-webkit-autofill:focus,.sign-in textarea:-webkit-autofill,.sign-in textarea:-webkit-autofill:hover,.sign-in textarea:-webkit-autofill:focus,.sign-in select:-webkit-autofill,.sign-in select:-webkit-autofill:hover,.sign-in select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 50px #19313D inset;border-radius:0;-webkit-text-fill-color:#ffffff}.sign-in .title{text-align:center}.sign-in .title p{color:#526484}.sign-in .login-form_mail{display:flex;flex-direction:column;padding:2em;padding-bottom:1em!important}.sign-in .login-form_mail .mat-placeholder-required{color:#fff}.sign-in .login-form_mail .mat-expansion-panel{background-color:transparent;box-shadow:none;border:none}.sign-in .login-form_mail .mat-expansion-panel .mat-expansion-panel-header{padding:0 4px}.sign-in .login-form_mail .mat-expansion-panel .mat-expansion-panel-header .mat-expansion-panel-header-title{color:#fff}.sign-in .login-form_mail .mat-expansion-panel .mat-expansion-panel-header .mat-expansion-indicator:after{color:#fff}.sign-in .login-form_mail .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0}.sign-in .login-form_mail .agreement{padding-top:8px}.sign-in .login-form_mail .agreement .mdc-checkbox{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-unselected-icon-color: #fff;--mdc-checkbox-unselected-pressed-icon-color: #fff;--mdc-checkbox-unselected-hover-icon-color: #fff;--mdc-checkbox-unselected-focus-icon-color: #fff}.sign-in .login-form_mail .agreement .mat-mdc-checkbox{--mdc-form-field-label-text-color: white}.sign-in .input-text{color:#fff!important}.sign-in .text-signin{color:#fff}.sign-in .text-signin a{transition:.3s}.sign-in .text-signin a:hover{color:#93c710}.sign-in .btn-row{padding-top:16px;padding-bottom:16px}.sign-in .btn-row .submit-btn{color:#fff}@media (max-width: 480px){form{padding-bottom:.5em!important}}\n"],encapsulation:2,data:{animation:[(0,b.kh)({duration:500,delay:100})]}})}}return t})();var Te=a(7740);const Ue=[{path:"",component:M,canActivate:[D.U],providers:[C,D.U,c.CS,k.s,w.O,Ie.K,{provide:c.us,useValue:v.Y}],children:[{path:"sign-in",component:V,canActivate:[C],providers:[],data:{title:"ZoogVPN - Free & Premium VPN Service | Sign In",content:"Login to ZoogVPN - a trusted VPN service provider. Sign in and get access to Free VPN and Premium services."}},{path:"sign-up",component:P.M,canActivate:[C,Te.S],data:{title:"ZoogVPN - Free & Premium VPN Service | Sign Up",content:"Create a VPN account for free with ZoogVPN - a trusted VPN service provider. Sign up and access dozens of cherry-picked servers around the globe now."}},{path:"sign-up-reward",component:$,canActivate:[C],data:{title:"ZoogVPN - Free & Premium VPN Service | Sign Up",content:"Create a VPN account for free with ZoogVPN - a trusted VPN service provider. Sign up and access dozens of cherry-picked servers around the globe now."}},{path:"sign-up-promo",component:z,canActivate:[C]},{path:"onetime/:userId/:oneTimeToken",component:z},{path:"forgot-pass",component:U,canActivate:[],data:{title:"Password Reset | ZoogVPN",content:"Forgot your password? Reset password now and restore access to ZoogVPN"}},{path:"reset-password/:userId/:resetToken",component:S,canActivate:[C]},{path:"secure-checkout",component:G.C,data:{title:"ZoogVPN - Checkout. Get your VPN plan",content:"Fast & Trusted VPN service - ZoogVPN. Enjoy using a reliable VPN with dozens of server locations worldwide.F"}},{path:"checkout-p",component:G.C,data:{title:"ZoogVPN - Checkout. Get your VPN plan",content:"Fast & Trusted VPN service - ZoogVPN. Enjoy using a reliable VPN with dozens of server locations worldwide.F"}},{path:"",redirectTo:"sign-in",pathMatch:"full"},{path:"tv",loadChildren:()=>Promise.all([a.e(3340),a.e(5820),a.e(168),a.e(2016),a.e(5880)]).then(a.bind(a,1292)).then(t=>t.TvAuthRouters)}]},{path:"email/unsubscribe/:urlHash",component:A}]}}]);
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.