PageSourceSearch

https://www.veenaworld.com/chunk-JNOLJ6IS.js

js veenaworld.com collected 2026-10-02 03:14:56 UTC 14,339 bytes, 1 lines download raw bytes

1import{a as pe}from"./chunk-KF6YPXHO.js";import"./chunk-NTK45RHU.js";import{a as le}from"./chunk-5Q57DKQK.js";import{b as re,c as oe,e as ae,j as me}from"./chunk-DPJZKS3P.js";import{a as te,b as ne,c as ie}from"./chunk-JNKE42HR.js";import"./chunk-774C5AH3.js";import"./chunk-7KNJFRGK.js";import"./chunk-AFSKQVLV.js";import"./chunk-7ZMNK4UT.js";import"./chunk-6FOBRQXY.js";import"./chunk-2NJHKTL3.js";import"./chunk-ILMC4I5J.js";import"./chunk-JEX6KF65.js";import"./chunk-Q5HQUVEE.js";import"./chunk-YRO2KUFK.js";import"./chunk-OUMNIS7S.js";import"./chunk-5FU27Z6X.js";import{d as J}from"./chunk-BFMH7T3E.js";import"./chunk-NMXLJAPC.js";import{a as Z,c as $,h as K,o as Y}from"./chunk-6S6LURBO.js";import"./chunk-IGXRGRWZ.js";import"./chunk-3OFZPTGR.js";import"./chunk-UUJ3KNQM.js";import"./chunk-5RYU3FAQ.js";import"./chunk-RT6HR4OI.js";import"./chunk-7EFCMJYD.js";import"./chunk-SRWC3LRT.js";import"./chunk-O3KB7YMP.js";import"./chunk-WZB7H4ID.js";import{k as Q,o as X}from"./chunk-3UKPYJTX.js";import"./chunk-5MXMV6ZB.js";import{a as W}from"./chunk-C3UEYEPN.js";import{J as M,n as ee}from"./chunk-7MEN4UN3.js";import"./chunk-AQW5A5RC.js";import{p as H}from"./chunk-4CDIRK75.js";import"./chunk-LB2ZXEZZ.js";import"./chunk-FJWGKPZB.js";import"./chunk-ALILBKKE.js";import"./chunk-YOQHQKXU.js";import"./chunk-4M6SCADL.js";import"./chunk-S6RN33Q7.js";import"./chunk-PPMQE2JW.js";import{D as R,E as G,I as B,J as j,c as T,e as p,h as k,i as L,k as A,n as f,p as q,x as z,y as V}from"./chunk-NSTW3LM3.js";import"./chunk-BE5FDCUJ.js";import"./chunk-PNTVRP3M.js";import"./chunk-JIYZLQLG.js";import{m as I,q as N}from"./chunk-EG3XDCAK.js";import{Bd as w,Eb as U,Gc as b,Ic as d,Jc as y,Kb as s,Kc as F,Sc as C,Xc as o,Yc as O,Zc as P,hb as x,kd as S,lc as m,mc as n,md as D,nb as a,nc as i,oc as g,ta as _,ua as u,uc as E,yb as h,yc as v}from"./chunk-DKOYUYQY.js";import"./chunk-ODN5LVDJ.js";var de=["*"];function ce(e,l){e&1&&(n(0,"mat-error"),o(1," First name is "),n(2,"strong"),o(3,"required"),i()())}function ge(e,l){e&1&&(n(0,"mat-error"),o(1," First name is "),n(2,"strong"),o(3,"required"),i()())}function fe(e,l){e&1&&(n(0,"mat-error"),o(1," First name should be maximum 15 characters long. "),i())}function _e(e,l){e&1&&(n(0,"mat-error"),o(1," Please enter character only. "),i())}function ue(e,l){e&1&&(n(0,"mat-error"),o(1," Last name is "),n(2,"strong"),o(3,"required"),i()())}function xe(e,l){e&1&&(n(0,"mat-error"),o(1," Last name is "),n(2,"strong"),o(3,"required"),i()())}function he(e,l){e&1&&(n(0,"mat-error"),o(1," Last name should be maximum 15 characters long. "),i())}function ve(e,l){e&1&&(n(0,"mat-error"),o(1," Please enter character only. "),i())}function be(e,l){e&1&&(n(0,"mat-error"),o(1," Email is "),n(2,"strong"),o(3,"required"),i()())}function Ce(e,l){e&1&&(n(0,"mat-error"),o(1," Enter correct email format "),i())}function Se(e,l){e&1&&(n(0,"mat-error",37),o(1,"This field is mandatory "),i())}function we(e,l){if(e&1&&(n(0,"div",38)(1,"mat-error"),o(2),i()()),e&2){let r=d(3);a(2),O(r.errorMessage)}}function Me(e,l){if(e&1){let r=v();n(0,"form",25),b("ngSubmit",function(){_(r);let c=d(2);return u(c.onSubmit())}),n(1,"div",26)(2,"mat-form-field",27)(3,"mat-label"),o(4,"First Name"),i(),g(5,"input",28),s(6,ce,4,0,"mat-error",24)(7,ge,4,0,"mat-error",24)(8,fe,2,0,"mat-error",24)(9,_e,2,0,"mat-error",24),i()(),n(10,"div",26)(11,"mat-form-field",27)(12,"mat-label"),o(13,"Last Name"),i(),g(14,"input",29),s(15,ue,4,0,"mat-error",24)(16,xe,4,0,"mat-error",24)(17,he,2,0,"mat-error",24)(18,ve,2,0,"mat-error",24),i()(),n(19,"div",26)(20,"mat-form-field",27)(21,"mat-label"),o(22,"Email ID"),i(),g(23,"input",30),s(24,be,4,0,"mat-error",24)(25,Ce,2,0,"mat-error",24),i()(),n(26,"div",26)(27,"mat-form-field",27)(28,"mat-label"),o(29,"Birth Date"),i(),g(30,"input",31)(31,"mat-datepicker-toggle",32)(32,"mat-datepicker",null,2),s(34,Se,2,0,"mat-error",33),i()(),s(35,we,3,1,"div",34),n(36,"div",35)(37,"button",36),o(38,"Complete Sign Up"),i()()()}if(e&2){let r=C(33),t=d(2);m("formGroup",t.signUpForm),a(6),m("ngIf",t.signUpForm.get("firstName").hasError("required")&&t.signUpForm.get("firstName").touched),a(),m("ngIf",t.signUpForm.get("firstName").hasError("minlength")&&!t.signUpForm.get("firstName").hasError("required")&&t.signUpForm.get("firstName").touched),a(),m("ngIf",t.signUpForm.get("firstName").hasError("maxlength")&&!t.signUpForm.get("firstName").hasError("required")&&t.signUpForm.get("firstName").touched),a(),m("ngIf",!t.signUpForm.get("firstName").hasError("required")&&t.signUpForm.get("firstName").hasError("pattern")),a(6),m("ngIf",t.signUpForm.get("lastName").hasError("required")&&t.signUpForm.get("lastName").touched),a(),m("ngIf",t.signUpForm.get("lastName").hasError("minlength")&&!t.signUpForm.get("lastName").hasError("required")&&t.signUpForm.get("lastName").touched),a(),m("ngIf",t.signUpForm.get("lastName").hasError("maxlength")&&!t.signUpForm.get("lastName").hasError("required")&&t.signUpForm.get("lastName").touched),a(),m("ngIf",!t.signUpForm.get("lastName").hasError("required")&&t.signUpForm.get("lastName").hasError("pattern")),a(6),m("ngIf",t.signUpForm.get("email").hasError("required")&&t.signUpForm.get("email").touched),a(),m("ngIf",t.signUpForm.get("email").hasError("pattern")&&!t.signUpForm.get("email").hasError("required")&&t.signUpForm.get("email").touched),a(5),m("matDatepicker",r)("min",t.minDateForBirthDay)("max",t.maxDateForBirthDay),a(),m("for",r),a(3),m("ngIf",t.signUpForm.get("birthDate").touched&&t.signUpForm.get("birthDate").hasError("required")),a(),m("ngIf",t.errorMessage),a(2),m("disabled",!t.signUpForm.valid)}}function Ue(e,l){e&1&&E(0)}function Ee(e,l){if(e&1&&(n(0,"div"),s(1,Ue,1,0,"ng-container",39),i()),e&2){d(2);let r=C(19);a(),m("ngTemplateOutlet",r)}}function ye(e,l){if(e&1){let r=v();n(0,"div",16)(1,"div",17)(2,"div",18)(3,"button",19),b("click",function(){_(r);let c=d();return u(c.closeDialog())}),g(4,"img",20),i(),n(5,"div",21)(6,"h3"),o(7,"Complete Signup Process to continue!"),i()()(),n(8,"div",22),s(9,Me,39,18,"form",23)(10,Ee,2,1,"div",24),i()()()}if(e&2){let r=d();a(9),m("ngIf",!r.showLoader),a(),m("ngIf",r.showLoader)}}function Fe(e,l){if(e&1){let r=v();n(0,"div",11)(1,"div",40)(2,"div",41),g(3,"img",42),i(),n(4,"div",43),g(5,"img",44),i(),n(6,"div",45)(7,"h2"),o(8),i(),n(9,"h2")(10,"div",46),o(11,"We can't wait to show you the world!"),i()()(),n(12,"div",47)(13,"button",48),b("click",function(){_(r);let c=d();return u(c.closeDialog())}),o(14,"OK"),i()()()()}if(e&2){let r=d();
1a(3),m("src",S("",r.IMAGE_URL,"/vw-assets/svg/veenaLoginLogo.svg"),x),a(2),m("src",S("",r.IMAGE_URL,"/vw-assets/svg/welcomeSVG.svg"),x),a(3),P("Hi ",r.signUpForm.firstName,"!")}}function Oe(e,l){if(e&1&&g(0,"img",49),e&2){let r=d();m("src",S("",r.IMAGE_URL,"/vw-assets/svg/loader.svg"),x)}}var Ze=(()=>{class e{constructor(r,t,c){this.dialogRef=r,this.signupService=t,this.authService=c,this.signupSuccess=!1,this.showLoader=!1,this.signUpForm=new A({firstName:new f("",{validators:[p.required,p.pattern(/[A-Za-z]$/),p.minLength(1),p.maxLength(15)]}),lastName:new f("",{validators:[p.required,p.pattern(/[A-Za-z]$/),p.minLength(1),p.maxLength(15)]}),email:new f("",{validators:[p.required,p.email,p.pattern(/^[A-Za-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$/)]}),birthDate:new f(null,[p.required])}),this.minDateForBirthDay=M(new Date(Date.now()),99),this.maxDateForBirthDay=M(new Date,1),this.IMAGE_URL=W.IMAGE_URL,this.errorMessage=""}closeDialog(){this.dialogRef.close()}onSubmit(){if(this.signUpForm.invalid)return;let r=this.signUpForm.value;this.showLoader=!0,this.signupService.completeSignUp(r.firstName,r.lastName,r.email,r.birthDate).subscribe(t=>{this.signupSuccess=!0,this.showLoader=!1,this.authService.setToken(t.token.token),this.dialogRef.close()},()=>{this.errorMessage="Something went wrong. Please try again."})}static{this.\u0275fac=function(t){return new(t||e)(h(H),h(X),h(Q))}}static{this.\u0275cmp=U({type:e,selectors:[["vw-complete-sign-up"]],features:[D([{provide:te,useValue:ee},{provide:ie,useValue:pe},{provide:ne,useClass:le}])],ngContentSelectors:de,decls:20,vars:2,consts:[["success",""],["loader",""],["birthDatePicker",""],[1,"sign-up-wrapper"],[1,"dialog"],[1,"dialog-body"],["class","d-flex w-100",4,"ngIf","ngIfElse"],[1,"d-flex"],["id","signupSuccess",1,"modal","fade"],[1,"modal-dialog","topSpaceAlert"],[1,"modal-content","widthPopup"],[1,"row"],[1,"col-12","mb2rem",2,"vertical-align","middle","text-align","left"],[1,"regular","alertWishlistContent"],[1,"col-6"],["type","button","data-bs-dismiss","modal",1,"vw-btn-secondary","btn-brand","btn-brand-black-brd","btn-brand-md","btn-brand-block"],[1,"d-flex","w-100"],[1,"form"],[1,"form-header"],["aria-label","Close",1,"dialog__close-btn",3,"click"],["src","assets/images/close.svg","alt",""],[1,"punchLine"],[1,"form-body"],[3,"formGroup","ngSubmit",4,"ngIf"],[4,"ngIf"],[3,"ngSubmit","formGroup"],[1,"mat-form-field-div","brand-form","brand-form-lg"],["appearance","outline",1,"w-100"],["matInput","","type","text","maxlength","70","formControlName","firstName","minlength","1"],["matInput","","type","text","maxlength","70","formControlName","lastName","minlength","1"],["matInput","","type","email","maxlength","255","formControlName","email"],["matInput","","formControlName","birthDate",3,"matDatepicker","min","max"],["matSuffix","",3,"for"],["class","error",4,"ngIf"],["class","mat-form-field-div",4,"ngIf"],[1,"mat-form-field-div","signup-btn"],["type","submit",1,"vw-btn-primary","btn-brand","btn-brand-yellow","btn-brand-md","btn-brand-block",3,"disabled"],[1,"error"],[1,"mat-form-field-div"],[4,"ngTemplateOutlet"],[1,"col-12","mb2rem"],[1,"ms-4","mt-4"],["alt","Logo small",1,"logoMB",3,"src"],[1,"welComeSvgDiv","mb-5",2,"text-align","center"],["alt","",3,"src"],[1,"extraLight","alertWishlistContent"],[1,"m-auto","w-75"],[1,"text-center","mt-3","mb-4"],["type","button",1,"btn","btn-primary","welcomeBtn","btn-brand","btn-brand-yellow","btn-brand-md",3,"click"],["width","60",1,"mt-5","mb-4","text-center","d-block","mx-auto",3,"src"]],template:function(t,c){if(t&1&&(y(),n(0,"div",3)(1,"div",4),F(2),n(3,"div",5),s(4,ye,11,2,"div",6)(5,Fe,15,5,"ng-template",7,0,w),i()()(),n(7,"div",8)(8,"div",9)(9,"div",10)(10,"div",11)(11,"div",12)(12,"p",13),o(13," Sign Up Successfully! "),i()()(),n(14,"div",11)(15,"div",14)(16,"button",15),o(17,"OK"),i()()()()()(),s(18,Oe,1,2,"ng-template",null,1,w)),t&2){let se=C(6);a(4),m("ngIf",!c.signupSuccess)("ngIfElse",se)}},dependencies:[B,q,T,k,L,R,G,J,Z,I,N,j,V,z,Y,$,me,re,oe,ae,K],styles:[".sign-up-wrapper[_ngcontent-%COMP%]     .mat-form-field{width:100%}.sign-up-wrapper[_ngcontent-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-wrapper{padding-bottom:20px!important}.sign-up-wrapper[_ngcontent-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0 13px!important;border-top:8px solid transparent}.sign-up-wrapper[_ngcontent-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-label{font-size:14px!important}.sign-up-wrapper[_ngcontent-%COMP%]     .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-should-float .mat-form-field-label{font-size:14px!important;line-height:20px!important}.sign-up-wrapper[_ngcontent-%COMP%]     .mat-form-field-appearance-outline.mat-form-field-should-float.mat-focused .mat-form-field-label{font-size:14px!important;line-height:20px!important}.sign-up-wrapper[_ngcontent-%COMP%]     .mat-form-field-appearance-outline.mat-form-field-should-float .mat-form-field-label{font-size:14px!important;line-height:20px!important}.sign-up-wrapper[_ngcontent-%COMP%]     .mat-form-field-label-wrapper{top:-15px!important;padding-top:15px!important}.sign-up-wrapper[_ngcontent-%COMP%]     .mat-input-element{font-size:14px!important}.dialog[_ngcontent-%COMP%]{margin:0 auto;min-height:200px;width:100%;max-width:400px;background-color:var(--brand-white);border-radius:10px;overflow:hidden;box-shadow:0 0 10px #00000040}@media screen and (max-width:767.98px){.dialog[_ngcontent-%COMP%]{max-width:100%}}@media(min-width:768px){.dialog[_ngcontent-%COMP%]{top:10%}}.dialog__close-btn[_ngcontent-%COMP%]{background:#e7e7e766;position:absolute;top:8px;right:8px;
1cursor:pointer;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:none;border-radius:100%}.dialog__close-btn[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:12px}.dialog-body[_ngcontent-%COMP%]{display:flex}.form[_ngcontent-%COMP%]{padding:30px 50px;position:relative}@media screen and (max-width:767.98px){.form[_ngcontent-%COMP%]{padding:30px 30px 50px}}.logoMB[_ngcontent-%COMP%]{position:absolute;left:20px;top:20px;width:50px}.punchLine[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:30px}.punchLine[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:var(--secondary-black-color);font-size:18px;font-weight:700;margin-bottom:20px;line-height:23px}.punchLine[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-weight:400;font-size:13px;line-height:18px;color:var(--brand-black-300)}.punchLine[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:inline}.punchLine[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--secondary-blue-text);text-decoration:underline}.mat-form-field-div[_ngcontent-%COMP%]{text-align:center;width:100%}  .signup-backdrop{background-color:#0009}@media screen and (max-width:767.98px){  .signup-modal{margin-top:auto;max-width:100%!important}}.signup-btn[_ngcontent-%COMP%]{margin-top:13px}.signup-btn[_ngcontent-%COMP%]   .vw-btn-primary[_ngcontent-%COMP%]{height:42px}.alertWishlistContent[_ngcontent-%COMP%]{text-align:center!important}.alertWishlistContent[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-weight:200!important;font-size:1.75rem!important;line-height:2rem!important;color:var(--brand-black)}.welcomeBtn[_ngcontent-%COMP%]{border-radius:0!important;color:var(--brand-black);font-size:1.1rem;background:var(--secondary-yellow);position:relative;padding:.5rem 2.3rem;text-align:center!important;cursor:pointer;border:none!important;text-transform:uppercase;outline:none!important;font-weight:700}.welcomeBtn[_ngcontent-%COMP%]:hover{background-color:var(--brand-black)!important;color:var(--brand-white)!important}"]})}}return e})();export{Ze as CompleteSignUpComponent};

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.