PageSourceSearch

https://www.vayabletrip.com/chunk-QUXQQNOI.js

js vayabletrip.com collected 2026-10-06 04:29:58 UTC 17,530 bytes, 1 lines download raw bytes

1import{a as te}from"./chunk-3BMRCOVO.js";import{a as ie}from"./chunk-CDSXUCKK.js";import"./chunk-LRWIMV2R.js";import{b as ee}from"./chunk-IHLYWOYG.js";import{c as O,e as g,f as R,g as W,k as K,p as Y,q as $,x as Z,z as J}from"./chunk-YDDH5PIM.js";import{a as ne}from"./chunk-X5I222RR.js";import{a as X}from"./chunk-3U4GL75H.js";import"./chunk-PQJ3QGRD.js";import{n as L}from"./chunk-FBQTLSQK.js";import{Fb as s,Hb as c,Kb as M,Lb as H,Mb as x,Nb as e,Ob as t,Pb as d,Tc as B,Ua as h,Wa as q,Wb as E,Za as z,_a as a,_b as v,ac as u,ea as b,ja as C,ka as w,lc as Q,nc as l,oc as f,pb as G,pc as k,ta as S}from"./chunk-BCHJVJXW.js";import{a as A}from"./chunk-FBAUZRHD.js";var oe=(r,o)=>o.name;function le(r,o){r&1&&(e(0,"p",75),l(1," Name is required. "),t())}function ae(r,o){if(r&1&&s(0,le,2,0,"p",75),r&2){let i,n=u();c((i=n.contactForm.get("name"))!=null&&i.hasError("required")?0:-1)}}function de(r,o){r&1&&(e(0,"p",75),l(1," Email is required. "),t())}function me(r,o){r&1&&(e(0,"p",75),l(1," Email is invalid. "),t())}function se(r,o){if(r&1&&(s(0,de,2,0,"p",75),s(1,me,2,0,"p",75)),r&2){let i,n,m=u();c((i=m.contactForm.get("email"))!=null&&i.hasError("required")?0:-1),a(),c((n=m.contactForm.get("email"))!=null&&n.hasError("email")?1:-1)}}function ce(r,o){if(r&1){let i=E();e(0,"div",82),v("click",function(m){let p=C(i).$implicit;return u(2).selectCountry(p),w(m.stopPropagation())}),e(1,"span",83),l(2),t(),e(3,"span",84),l(4),t(),e(5,"span",85),l(6),t()()}if(r&2){let i=o.$implicit;a(2),f(i.flag),a(2),f(i.name),a(2),f(i.code)}}function ue(r,o){r&1&&(e(0,"div",81),l(1,"No countries found"),t())}function pe(r,o){if(r&1){let i=E();e(0,"div",40)(1,"div",76)(2,"div",28)(3,"input",77),v("input",function(m){C(i);let p=u();return w(p.countrySearchQuery.set(m.target.value))})("click",function(m){return C(i),w(m.stopPropagation())}),t(),d(4,"i",78),t()(),e(5,"div",79),M(6,ce,7,3,"div",80,oe,!1,ue,2,0,"div",81),t()()}if(r&2){let i=u();a(3),x("value",i.countrySearchQuery()),a(3),H(i.filteredCountryCodes())}}function xe(r,o){r&1&&(e(0,"p",75),l(1," Phone Number is required "),t())}function he(r,o){if(r&1&&(e(0,"p",75),l(1),t()),r&2){let i=u(2);a(),k(" Enter a valid phone number for ",i.selectedCountryCode().name,". ")}}function ge(r,o){if(r&1&&(s(0,xe,2,0,"p",75),s(1,he,2,1,"p",75)),r&2){let i,n,m=u();c((i=m.contactForm.get("phoneNumber"))!=null&&i.hasError("required")?0:-1),a(),c((n=m.contactForm.get("phoneNumber"))!=null&&n.hasError("pattern")?1:-1)}}function fe(r,o){if(r&1&&(e(0,"a",70)(1,"div",86),d(2,"i",87),t()()),r&2){let i,n=u();x("href",(i=n.seo())==null?null:i.whatsAppUrl,h)}}function be(r,o){if(r&1&&(e(0,"a",71)(1,"div",88),d(2,"i",89),t()()),r&2){let i,n=u();x("href",(i=n.seo())==null?null:i.facebookUrl,h)}}function ve(r,o){if(r&1&&(e(0,"a",72)(1,"div",90),d(2,"i",91),t()()),r&2){let i,n=u();x("href",(i=n.seo())==null?null:i.instagramUrl,h)}}function ye(r,o){if(r&1&&(e(0,"a",73)(1,"div",92),d(2,"i",93),t()()),r&2){let i,n=u();x("href",(i=n.seo())==null?null:i.youtubeUrl,h)}}function _e(r,o){if(r&1&&(e(0,"a",74)(1,"div",94),d(2,"i",95),t()()),r&2){let i,n=u();x("href",(i=n.seo())==null?null:i.linkedInUrl,h)}}
1var re=class r{contactForm;fb=b(Z);appService=b(ee);apiService=b(X);seoService=b(ie);seo=this.seoService.siteSeo;staticSeo=b(ne);countryCodes=te;selectedCountryCode=S(this.countryCodes.find(o=>o.code==="+91")||this.countryCodes[0]);showCountryDropdown=S(!1);countrySearchQuery=S("");filteredCountryCodes=B(()=>{let o=this.countrySearchQuery().toLowerCase().trim();return o?this.countryCodes.filter(i=>i.name.toLowerCase().includes(o)||i.code.includes(o)):this.countryCodes});toggleCountryDropdown(o){o.stopPropagation(),this.showCountryDropdown.update(i=>!i),this.showCountryDropdown()&&this.countrySearchQuery.set("")}selectCountry(o){this.selectedCountryCode.set(o),this.showCountryDropdown.set(!1),this.updatePhoneValidator()}updatePhoneValidator(){let o=this.contactForm?.get("phoneNumber");o&&(o.clearValidators(),o.addValidators([g.required,g.pattern(new RegExp(this.selectedCountryCode().pattern))]),o.updateValueAndValidity())}onGlobalClick(o){this.showCountryDropdown.set(!1)}ngOnInit(){this.form(),this.staticSeo.updateSeo({title:"Contact Vayable Trip | Get Free Travel Quotes",description:"Have questions about your next holiday? Our travel experts are here to help you plan the perfect trip. Whether you need help choosing a destination or customizing a travel package, we\u2019re just a message away.",keywords:"Bali tour, Indonesia travel, beach vacation",image:"https://vayabletrip.com/assets/images/tours/bali.jpg"})}form(){this.contactForm=this.fb.group({name:["",g.required],email:["",[g.required,g.email]],phoneNumber:["",[g.required,g.pattern(new RegExp(this.selectedCountryCode().pattern))]],description:[""]})}onSubmit(){if(this.contactForm.invalid){this.contactForm.markAllAsTouched();return}if(this.contactForm.valid){let o=A({},this.contactForm.value);o.phoneNumber&&(o.phoneNumber=this.selectedCountryCode().code+o.phoneNumber),this.apiService.post("ContactUs/add",o).subscribe({next:i=>{i.isSuccess&&(this.contactForm.reset(),this.appService.showSuccess(i.message))},error:i=>{console.log("Error",i)}})}}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=G({type:r,selectors:[["app-contact"]],hostBindings:function(i,n){i&1&&v("click",function(p){return n.onGlobalClick(p)},z)},decls:139,vars:20,consts:[[1,"relative","bg-cover","bg-center","bg-no-repeat","h-[200px]","sm:h-[280px]","md:h-[350px]","flex","items-center","justify-center",2,"background-image","url('https://triprex-nextjs.vercel.app/assets/img/innerpage/inner-banner-bg.png')"],[1,"absolute","inset-0","bg-black/60"],[1,"relative","text-center","text-white","px-4"],[1,"text-sm","sm:text-base","mb-2","sm:mb-3","flex","items-center","justify-center"],["routerLink","/",1,"text-white","hover:text-primary"],[1,"ri-home-line"],[1,"mx-2","text-white"],[1,"text-white"],[1,"capitalize","tracking-wider","text-2xl","sm:text-3xl","font-semibold","mb-3","sm:mb-5"],[1,"mx-auto","my-8","py-6","px-4","sm:px-6","max-w-7xl"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-6","mb-6"],[1,"group","bg-orange-50/50","p-6","rounded-2xl","border","border-orange-100","shadow-sm","transition-all","duration-300","hover:-translate-y-1","hover:bg-white","hover:shadow-md","hover:shadow-orange-100/50"],[1,"w-12","h-12","bg-white","text-orange-600","rounded-xl","flex","items-center","justify-center","mb-3","shadow-sm","group-hover:bg-orange-600","group-hover:text-white","transition-colors","duration-300"],[1,"ri-map-pin-line","text-xl","font-bold"],[1,"font-semibold","text-slate-900","mb-2","tracking-tight","text-lg"],[1,"text-sm","text-slate-600","leading-relaxed","font-medium"],[1,"group","bg-blue-50/50","p-6","rounded-2xl","border","border-blue-100","shadow-sm","transition-all","duration-300","hover:-translate-y-1","hover:bg-white","hover:shadow-md","hover:shadow-blue-100/50"],[1,"w-12","h-12","bg-white","text-blue-600","rounded-xl","flex","items-center","justify-center","mb-3","shadow-sm","group-hover:bg-blue-600","group-hover:text-white","transition-colors","duration-300"],[1,"group","bg-indigo-50/50","p-6","rounded-2xl","border","border-indigo-100","shadow-sm","transition-all","duration-300","hover:-translate-y-1","hover:bg-white","hover:shadow-md","hover:shadow-indigo-100/50"],[1,"w-12","h-12","bg-white","text-indigo-600","rounded-xl","flex","items-center","justify-center","mb-3","shadow-sm","group-hover:bg-indigo-600","group-hover:text-white","transition-colors","duration-300"],[1,"grid","grid-cols-1","lg:grid-cols-3","gap-6","mb-16"],[1,"lg:col-span-2"],[1,"bg-white","rounded-2xl","p-6","border","border-gray-200"],[1,"flex","items-center","mb-6"],[1,"text-xl","font-bold","text-gray-900"],[1,"text-gray-600"],[1,"space-y-6",3,"ngSubmit","formGroup"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4"],[1,"relative"],[1,"input-label"],["type","text","formControlName","name","placeholder","Enter name",1,"input","py-2","input-primary","pl-10"],[1,"ri-user-line","absolute","left-4","top-1/2","transform","-translate-y-1/2","text-gray-400"],["formControlName","email","type","email","placeholder","[email protected]",1,"input","py-2","input-primary","pl-10"],[1,"ri-mail-line","absolute","left-4","top-1/2","transform","-translate-y-1/2","text-gray-400"],[1,"relative","text-start"],[1,"flex","items-stretch","border","border-gray-300","rounded-[20px]","overflow-hidden","focus-within:border-primary","focus-within:ring-1","focus-within:ring-primary","transition","bg-white","h-[46px]"],[1,"relative","flex","items-center","bg-gray-50","border-r","border-gray-300","px-3","cursor-pointer","select-none",3,"click"],[1,"text-lg","mr-1.5"],[1,"text-sm","font-semibold","text-gray-700"],[1,"ri-arrow-down-s-line","text-gray-400","ml-1"],[1,"absolute","left-0","top-full","mt-1.5","w-60","bg-white","border","border-gray-200","rounded-xl","shadow-xl","z-50","overflow-hidden","flex","flex-col",2,"max-height","250px"],[1,"relative","flex-1"],["formControlName","phoneNumber","type","tel",1,"w-full","border-0","focus:ring-0","py-3","pl-3","text-sm","text-gray-800","placeholder-gray-400","focus:outline-none",3,"placeholder"],["formControlName","description","rows","3","placeholder","Tell us about your query...",1,"input","py-2","input-primary","pl-10","rounded-[20px]"],[1,"ri-message-2-line","absolute","left-4","top-4","text-gray-400"],[1,"flex","items-center","space-x-3"],["type","checkbox","id","project-consent","required","",1,"rounded","border-gray-300","text-primary","focus:ring-primary"],["for","project-consent",1,"text-sm","text-gray-600"],["type","submit",1,"relative","btn","btn-primary","w-full","py-4","text-lg"],[1,"ri-send-plane-fill","mr-2"],[1,"space-y-6"],[1,"text-xl","font-bold","text-gray-900","mb-6"],[1,"space-y-4"],[1,"location-pin","border-b","border-gray-100","pb-4"],[1,"flex","items-start","justify-between"],[1,"flex","items-start","space-x-3"],[1,"w-10","h-10","bg-red-100","rounded-xl","flex","items-center","justify-center","text-red-600","mt-1"],[1,"ri-cellphone-line"],[1,"font-semibold","text-gray-900"],[1,"text-gray-600","text-sm",3,"href"],[1,"w-10","h-10","bg-blue-100","rounded-xl","flex","items-center","justify-center","text-blue-600","mt-1"],[1,"ri-mail-line"],[1,"w-10","h-10","bg-green-100","rounded-xl","flex","items-center","justify-center","text-green-600","mt-1"],[1,"ri-receipt-line"],[1,"w-full","flex","items-center","justify-between","gap-2"],[1,"text-blue-500","text-sm","font-medium"],[1,"ri-file-download-l
1ine"],[1,"text-gray-600","text-sm"],["src",q`https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3546800.932303308!2d74.5066407010973!3d29.758181767393104!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xa9d0c768397318a3%3A0xc2fb8d154828aad1!2sVayable%20Trips%20Private%20Limited!5e0!3m2!1sen!2sin!4v1774283127215!5m2!1sen!2sin`,"width","100%","height","270","allowfullscreen","","loading","lazy","referrerpolicy","no-referrer-when-downgrade",1,"rounded-2xl",2,"border","0"],[1,"flex","items-center","justify-center","gap-3"],["target","_blank","title","Whatsapp",3,"href"],["target","_blank","title","Facebook",3,"href"],["target","_blank","title","Instagram",3,"href"],["target","_blank","title","YouTube",3,"href"],["target","_blank","title","Linkedin",3,"href"],[1,"text-red-500","text-sm","mt-1"],[1,"p-2","border-b","border-gray-200","bg-gray-50","sticky","top-0","z-10"],["type","text","placeholder","Search country name or code...",1,"w-full","text-xs","border","border-gray-300","rounded-lg","pl-7","pr-2","py-1.5","focus:outline-none","focus:border-primary","text-gray-800","bg-white",3,"input","click","value"],[1,"ri-search-line","absolute","left-2.5","top-1/2","-translate-y-1/2","text-gray-400","text-xs"],[1,"overflow-y-auto","flex-1"],[1,"flex","items-center","px-3","py-2","hover:bg-gray-50","transition-colors","cursor-pointer","text-left"],[1,"px-3","py-3","text-xs","text-gray-400","text-center","select-none"],[1,"flex","items-center","px-3","py-2","hover:bg-gray-50","transition-colors","cursor-pointer","text-left",3,"click"],[1,"text-base","mr-2","shrink-0"],[1,"text-xs","font-medium","text-gray-700","flex-1","truncate"],[1,"text-xs","text-gray-400","font-semibold","shrink-0","ml-2"],[1,"w-10","h-10","bg-green-100","text-green-500","rounded-xl","inline-flex","items-center","justify-center","hover:bg-green-500","hover:text-white","transition-colors","duration-300"],[1,"ri-whatsapp-line","text-xl"],[1,"w-10","h-10","bg-blue-100","text-blue-500","rounded-xl","inline-flex","items-center","justify-center","hover:bg-blue-500","hover:text-white","transition-colors","duration-300"],[1,"ri-facebook-fill","text-xl"],[1,"w-10","h-10","bg-pink-100","text-pink-500","rounded-xl","inline-flex","items-center","justify-center","hover:bg-pink-500","hover:text-white","transition-colors","duration-300"],[1,"ri-instagram-line","text-xl"],[1,"w-10","h-10","bg-red-100","text-red-500","rounded-xl","inline-flex","items-center","justify-center","hover:bg-red-500","hover:text-white","transition-colors","duration-300"],[1,"ri-youtube-line","text-xl"],[1,"w-10","h-10","bg-blue-100","text-blue-500","rounded-xl","inline-flex","items-center","justify-center","hover:bg-blue-600","hover:text-white","transition-colors","duration-300"],[1,"ri-linkedin-fill","text-xl"]],template:function(i,n){if(i&1&&(e(0,"section",0),d(1,"div",1),e(2,"div",2)(3,"div",3)(4,"a",4),d(5,"i",5),l(6," Home"),t(),e(7,"span",6),l(8,"/"),t(),e(9,"span",7),l(10,"Contact Us"),t()(),e(11,"h1",8),l(12,"Your Adventure Awaits - Connect With Us"),t()()(),e(13,"section",9)(14,"div",10)(15,"div",11)(16,"div",12),d(17,"i",13),t(),e(18,"h4",14),l(19,"Shimla HQ"),t(),e(20,"p",15),l(21," Vayable Trip, 1st Floor, Thakur Vatika, Khalini, Shimla, Himachal - 171002 "),t()(),e(22,"div",16)(23,"div",17),d(24,"i",13),t(),e(25,"h4",14),l(26,"Kerala Branch"),t(),e(27,"p",15),l(28," Vayable Trip, 104 Pullepady Cross Road North Ernakulam, Kerala - 682018 "),t()(),e(29,"div",18)(30,"div",19),d(31,"i",13),t(),e(32,"h4",14),l(33,"Pune Branch"),t(),e(34,"p",15),l(35," Vayable Trip, American Tower, Lane Number 4, Sanjay Park, Viman Nagar, Pune, MH - 411024 "),t()()(),e(36,"div",20)(37,"div",21)(38,"div",22)(39,"div",23)(40,"div")(41,"h2",24),l(42,"Send us a Message"),t(),e(43,"p",25),l(44,"We'll get back to you within hours"),t()()(),e(45,"form",26),v("ngSubmit",function(){return n.onSubmit()}),e(46,"div",27)(47,"div",28)(48,"label",29),l(49,"First Name"),t(),e(50,"div",28),d(51,"input",30)(52,"i",31),t(),s(53,ae,1,1),t(),e(54,"div",28)(55,"label",29),l(56,"Email Address"),t(),e(57,"div",28),d(58,"input",32)(59,"i",33),t(),s(60,se,2,2),t(),e(61,"div",34)(62,"label",29),l(63,"Phone Number"),t(),e(64,"div",35)(65,"div",36),v("click",function(p){return n.toggleCountryDropdown(p)}),e(66,"span",37),l(67),t(),e(68,"span",38),l(69),t(),d(70,"i",39),s(71,pe,9,2,"div",40),t(),e(72,"div",41),d(73,"input",42),t()(),s(74,ge,2,2),t()(),e(75,"div",28)(76,"label",29),l(77,"Message"),t(),e(78,"div",28),d(79,"textarea",43)(80,"i",44),t()(),e(81,"div",45),d(82,"input",46),e(83,"label",47),l(84," I agree to terms & conditions and privacy policy. "),t()(),e(85,"button",48),d(86,"i",49),l(87,"Send Message "),t()()()(),e(88,"div",50)(89,"h3",51),l(90,"Our Contacts"),t(),e(91,"div",52)(92,"div",53)(93,"div",54)(94,"div",55)(95,"div",56),d(96,"i",57),t(),e(97,"div")(98,"h4",58),l(99,"Contact Number"),t(),e(100,"a",59),l(101),t()()()()(),e(102,"div",53)(103,"div",54)(104,"div",55)(105,"div",60),d(106,"i",61),t(),e(107,"div")(108,"h4",58),l(109,"Email"),t(),e(110,"div")(111,"a",59),l(112,"[email protected]"),t(),l(113,", "),e(114,"a",59),l(115),t()()()()()(),e(116,"div",53)(117,"div",54)(118,"div",55)(119,"div",62),d(120,"i",63),t(),e(121,"div")(122,"div",64)(123,"h4",58),l(124,"GST Number"),t(),e(125,"a",65),d(126,"i",66),l(127," Download GST"),t()(),e(128,"div")(129,"span",67),l(130,"GSTIN: 02AAFCV1550H1Z9"),t()()()()()()(),e(131,"div"),d(132,"iframe",68),t(),e(133,"div",69),s(134,fe,3,1,"a",70),s(135,be,3,1,"a",71),s(136,ve,3,1,"a",72),s(137,ye,3,1,"a",73),s(138,_e,3,1,"a",74),t()()()()),i&2){let m,p,y,_,N,T,F,V,j,U,D,I,P;a(45),x("formGroup",n.contactForm),a(8),c((m=n.contactForm.get("name"))!=null&&m.invali
1d&&((m=n.contactForm.get("name"))!=null&&m.touched)?53:-1),a(7),c((p=n.contactForm.get("email"))!=null&&p.invalid&&((p=n.contactForm.get("email"))!=null&&p.touched)?60:-1),a(4),Q("border-red-400",((y=n.contactForm.get("phoneNumber"))==null?null:y.invalid)&&((y=n.contactForm.get("phoneNumber"))==null?null:y.touched)),a(3),f(n.selectedCountryCode().flag),a(2),f(n.selectedCountryCode().code),a(2),c(n.showCountryDropdown()?71:-1),a(2),x("placeholder",n.selectedCountryCode().placeholder),a(),c((_=n.contactForm.get("phoneNumber"))!=null&&_.invalid&&((_=n.contactForm.get("phoneNumber"))!=null&&_.touched)?74:-1),a(26),x("href","tel:"+(((N=n.seo())==null?null:N.primaryPhone)||"+918988133331"),h),a(),k("(+91) ",((T=n.seo())==null?null:T.primaryPhone)||"(+91) 898,813,3331"),a(10),x("href","mailto:[email protected]",h),a(3),x("href","mailto:"+(((F=n.seo())==null?null:F.primaryEmail)||"[email protected]"),h),a(),f(((V=n.seo())==null?null:V.primaryEmail)||"[email protected]"),a(19),c((j=n.seo())!=null&&j.whatsAppUrl?134:-1),a(),c((U=n.seo())!=null&&U.facebookUrl?135:-1),a(),c((D=n.seo())!=null&&D.instagramUrl?136:-1),a(),c((I=n.seo())!=null&&I.youtubeUrl?137:-1),a(),c((P=n.seo())!=null&&P.linkedInUrl?138:-1)}},dependencies:[L,J,K,O,R,W,Y,$],encapsulation:2})};export{re as Contact};

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.