PageSourceSearch

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

js veenaworld.com collected 2026-09-24 17:47:59 UTC 5,531 bytes, 1 lines download raw bytes

1import{a as G}from"./chunk-IBDPUS5K.js";import{d as N}from"./chunk-BFMH7T3E.js";import"./chunk-NMXLJAPC.js";import{a as E,c as F,o as I}from"./chunk-6S6LURBO.js";import"./chunk-IGXRGRWZ.js";import{c as T,l as j,m as D}from"./chunk-YSNSPAAA.js";import"./chunk-5MXMV6ZB.js";import"./chunk-C3UEYEPN.js";import"./chunk-7MEN4UN3.js";import{h as v}from"./chunk-AQW5A5RC.js";import"./chunk-4Q6JLTWC.js";import"./chunk-LB2ZXEZZ.js";import"./chunk-FJWGKPZB.js";import"./chunk-PPMQE2JW.js";import{I as O,J as P,c as C,e as b,h as x,i as _,k as w,n as S,p as M,x as k,y}from"./chunk-NSTW3LM3.js";import"./chunk-BE5FDCUJ.js";import"./chunk-PNTVRP3M.js";import"./chunk-JIYZLQLG.js";import"./chunk-EG3XDCAK.js";import{Eb as u,Gc as g,Xc as a,ec as l,gc as s,lc as f,mc as n,nb as c,nc as o,oc as h,yb as m}from"./chunk-DKOYUYQY.js";import{a as p}from"./chunk-ODN5LVDJ.js";function z(e,V){e&1&&(n(0,"mat-error"),a(1," Email address is "),n(2,"strong"),a(3,"required"),o()())}function B(e,V){e&1&&(n(0,"mat-error"),a(1," Enter Valid Email Address "),o())}var K=(()=>{class e{ngOnDestroy(){}ngOnInit(){this.createForm()}constructor(r,i,t,d,q){this.localStorageService=r,this.newsletterService=i,this.router=t,this.currencyService=d,this.webengageService=q}createForm(){this.webEngageForm=new w({email:new S("",{validators:[b.email,b.required]})})}submitToSubscribe(){if(this.webEngageForm.valid){this.localStorageService.setItem("isWebEngageSubscribed",!0);let r=p({},this.webEngageForm.value);this.newsletterService.webengageEvent("","","","",r.email.trim()),this.webengageService.sendEvent("User Subscribed",{emailId:r.email.trim()}),this.currencyService.getCurrency()==="INR"&&window.webengage.user.setAttribute("we_email",r.email.trim()),this.router.navigate(["thank-you"])}}static{this.\u0275fac=function(i){return new(i||e)(m(T),m(G),m(v),m(j),m(D))}}static{this.\u0275cmp=u({type:e,selectors:[["vw-subscribe"]],decls:16,vars:3,consts:[[1,"dark-bg","sub-form"],[1,"container"],[1,"top-section"],[1,"bottom-section"],[1,"form-wrap",3,"submit","formGroup"],[1,"form-field","brand-form","brand-form-md","email-input"],["appearance","outline"],["formControlName","email","matInput","","type","text","placeholder","[email protected]"],["type","submit",1,"btn-brand","btn-brand-yellow","btn-brand-md","mt-3","mt-md-0","seo-subscribe-btn",3,"keyup.enter"]],template:function(i,t){i&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"h3"),a(4,"Join a community of more than 650000+ travellers and celebrate life with your near and dear ones. Enter your email for the best offers, deals, travel stories and a whole lot more. "),o()(),n(5,"div",3)(6,"form",4),g("submit",function(){return t.submitToSubscribe()}),n(7,"div",5)(8,"mat-form-field",6)(9,"mat-label"),a(10,"Email ID"),o(),h(11,"input",7),l(12,z,4,0,"mat-error"),l(13,B,2,0,"mat-error"),o()(),n(14,"button",8),g("keyup.enter",function(){return t.submitToSubscribe()}),a(15,"Subscribe"),o()()()()()),i&2&&(c(6),f("formGroup",t.webEngageForm),c(6),s(t.webEngageForm.get("email").hasError("required")?12:-1),c(),s(!t.webEngageForm.get("email").hasError("required")||t.webEngageForm.get("email").hasError("email")?13:-1))},dependencies:[O,M,C,x,_,P,y,k,I,E,N,F],styles:['.dark-bg[_ngcontent-%COMP%]{position:relative;background:var(--brand-blue-500);text-align:center;padding:32px 0}.dark-bg[_ngcontent-%COMP%]:before, .dark-bg[_ngcontent-%COMP%]:after{content:"";position:absolute;background-size:contain;background-repeat:no-repeat;background-position:center center;z-index:0}.dark-bg[_ngcontent-%COMP%]:before{width:60px;height:38px;bottom:20px;left:16px;background-image:url("./media/plane-left-SZWBFTBN.svg")}.dark-bg[_ngcontent-%COMP%]:after{width:120px;height:56px;top:18px;right:2px;background-image:url("./media/plane-right-LX7BBTPU.svg")}.dark-bg[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:var(--brand-white);font-weight:400;margin-bottom:24px;font-size:16px;line-height:24px}.dark-bg[_ngcontent-%COMP%]   .bottom-section[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:144px}@media(min-width:768px){.dark-bg[_ngcontent-%COMP%]:before{width:83px;
1height:53px;left:60px;bottom:28px}.dark-bg[_ngcontent-%COMP%]:after{width:150px;height:60px;top:40px}.dark-bg[_ngcontent-%COMP%]   .top-section[_ngcontent-%COMP%], .dark-bg[_ngcontent-%COMP%]   .bottom-section[_ngcontent-%COMP%]{max-width:595px;margin-left:auto;margin-right:auto}.dark-bg[_ngcontent-%COMP%]   .bottom-section[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:flex-start;gap:16px}}@media(min-width:1024px){.dark-bg[_ngcontent-%COMP%]{padding:44px 0}.dark-bg[_ngcontent-%COMP%]:before{width:110px;height:70px;left:20%;bottom:55px}.dark-bg[_ngcontent-%COMP%]:after{width:200px;height:115px;right:12%}.dark-bg[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:18px;line-height:30px}}@media(min-width:1441px){.dark-bg[_ngcontent-%COMP%]:before{left:26%}.dark-bg[_ngcontent-%COMP%]:after{right:20%}}.email-input[_ngcontent-%COMP%]{--mat-notched-outline-background-color:transparent;--mat-form-field-margin:0;--mat-theme-default:var(--brand-white);--mat-theme-primary:var(--brand-white);--mat-input-placeholder-color:var(--brand-white);--mat-floating-label-color:var(--brand-white);--mat-floating-label-top-background-color:transparent;--mat-input-color:var(--brand-white)}  .sub-form .brand-form .mat-mdc-form-field{display:flex}  .sub-form .brand-form .mat-mdc-form-field .mat-mdc-form-field-subscript-wrapper{display:none}']})}}return e})();export{K as SubscribeComponent};

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.