1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4034],{30038:function(e,t,a){a.r(t),a.d(t,{default:function(){return x}});var l=a(27573),s=a(7653),n=a(76609),r=(0,n.Z)((0,l.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home"),i=a(77997),o=(0,n.Z)((0,l.jsx)("path",{d:"M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99"}),"Call"),c=(0,n.Z)((0,l.jsx)("path",{d:"M18.39 14.56C16.71 13.7 14.53 13 12 13s-4.71.7-6.39 1.56C4.61 15.07 4 16.1 4 17.22V20h16v-2.78c0-1.12-.61-2.15-1.61-2.66M10 12h4c1.66 0 3-1.34 3-3 0-.73-.27-1.4-.71-1.92.13-.33.21-.7.21-1.08 0-1.25-.77-2.32-1.86-2.77C14 2.48 13.06 2 12 2s-2 .48-2.64 1.23C8.27 3.68 7.5 4.75 7.5 6c0 .38.08.75.21 1.08C7.27 7.6 7 8.27 7 9c0 1.66 1.34 3 3 3"}),"Person3");let d=e=>{let{url:t}=e;return(0,l.jsxs)("div",{style:{backgroundImage:"url(".concat(t,")"),filter:"url(#tint-209)"},className:"relative top-2 w-[20px] bg-contain bg-center",children:[(0,l.jsx)("img",{src:t,alt:"go to destinations"}),(0,l.jsx)("svg",{className:"invisible absolute h-0 w-0",children:(0,l.jsx)("defs",{children:(0,l.jsxs)("filter",{id:"tint-209",children:[(0,l.jsx)("feFlood",{floodColor:"#808080"}),(0,l.jsx)("feComposite",{in2:"SourceAlpha",operator:"atop"})]})})})]})};function x(){let{defaultItem:e,defaultItemId:t,defaultItemName:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[n,x]=(0,s.useState)(!1),[m,p]=(0,s.useState)({name:"",email:"",phone:""}),[u,f]=(0,s.useState)(!1),[h,g]=(0,s.useState)(!1),[b,y]=(0,s.useState)(a||""),[j,v]=(0,s.useState)(null!=t?t:null),[N,w]=(0,s.useState)(e||"");(0,s.useEffect)(()=>{let l=l=>{var s,n,r,i,o;y((null===(s=l.detail)||void 0===s?void 0:s.tour)||a||""),v(null!==(o=null!==(i=null===(n=l.detail)||void 0===n?void 0:n.id)&&void 0!==i?i:t)&&void 0!==o?o:null),w((null===(r=l.detail)||void 0===r?void 0:r.item)||e||""),x(!0)};return document.addEventListener("open-enquiry-modal",l),()=>document.removeEventListener("open-enquiry-modal",l)},[]);let A=async()=>{if(u||h||!m.phone.trim()||m.phone.trim().length<10)return;f(!0);let e={name:m.name||"Not provided",email:m.email||"[email protected]",phone:m.phone,purpose:"callback",message:"Callback request",item:N||"others",item_id:j};try{fetch("https://premium.branofy.cloud/api/forms/0a5c81d0674f4364abc4a2f98c75bfde0c1d479103256c07",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).catch(()=>{}),fetch("https://www.privyr.com/api/v1/incoming-leads/0vZfjMQw/oXzoB2j5#generic-webhook",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e.name,email:e.email,phone:e.phone,display_name:e.name,other_fields:{item:e.item,purpose:e.purpose}})}).catch(()=>{}),await fetch("https://api.breakbag.com/api/enquiry",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),g(!0),setTimeout(()=>{x(!1),g(!1),p({name:"",email:"",phone:""})},2e3)}catch(e){}finally{f(!1)}},C=[{t:"Home",l:"/",i:(0,l.jsx)(r,{className:"text-[28px] text-white"})},{t:"Destinations",l:"/destinations",i:(0,l.jsx)(d,{url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQIC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2DpiL0IrfafmCRgf5MNDPAlWPI1nkVxbbP/cDqWJfmqueeAVYnQ4uQfflW5Jz/t1hOKdufj6zyFYx/MmN5NJYQIbmEwRL6ys3/9gdJWtwZsADYAAwjC86bwCchjDLgNuAh5NH5FfAOqY3bncBJmi8ieRfBTpAs+08Ad4DcAiuQCKvjT149MgC8BwxHyErdyZleK+YBL0bIgcJsZU1EZ5zwhmJwtj8Gu2b7AJwLhM4NgKHuQ0g6vaugLIt1mRAhuzULtgHfe9DzXazLgjMR8LuR8nX4SYzMRUJ1C070AF8iSQffrEXSZEdztNmE/N4H4AUk47yU7AOQIhzsQWLi1UYdLCSf8fOd8qXADX7NmcH7EfAqcNy4Iy0j8Ws3cKNxXz8D2yIkBf04dothHl4BdgKfIdlfK/4FHgPGk8fgbuBRpk9dQtED3Idten0SeAT4AOrjgO3ALTT+9ac2mdlJjDX47GPExzdaNR6m/k8KKwmf4ckrNzv2DwHXtHI6izlIvBDaKa2cRJnx1obCp7GLxix4DfmjplcGkfP50Fe3lfyIYX5zBFlcQjvZTMawjx8YBr4I7Ggj+Ry42tDvOiLkv3w7gR+Q+KFsh6fivncgBzptbe3/A+JqxBaoIqoGAAAAAElFTkSuQmCC"})},{t:"Call",l:"tel:+91-7699002674",i:(0,l.jsx)(o,{className:"mb-1 text-[20px] text-white"})},{t:"Profile",l:"/customers/profile",i:(0,l.jsx)(c,{className:"mb-1 text-[20px] text-white"})}];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{id:"fixed-mobile-footer",className:"fixed bottom-0 left-0 right-0 z-10 flex h-[60px] flex-col border-t border-t-black bg-black px-0 pb-0 sm:hidden",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute bottom-0 left-0 top-0 z-0 flex"}),(0,l.jsxs)("div",{role:"tablist",className:"flex flex-1 flex-row justify-between",children:[C.slice(0,2).map((e,t)=>(0,l.jsxs)(i.default,{href:e.l,role:"tab",className:"relative m-0 flex min-w-[20%] cursor-pointer flex-col items-center whitespace-pre-wrap break-words bg-transparent p-0 font-system text-base ".concat(0==t?" items-start justify-end pl-2":" justify-between"),children:[e.i,(0,l.jsx)("span",{className:"text-sm text-white ".concat(1==t?" mb-2":" mb-2 "),children:e.t})]},t)),(0,l.jsx)(i.default,{href:"/reels",tabIndex:0,role:"tab",className:"relative top-[-20px] flex h-[60px] w-[60px] min-w-[60px] max-w-[60px] flex-col rounded-[30px] bg-black p-[3px]",children:(0,l.jsx)("div",{className:"flex flex-1 flex-col items-center justify-center rounded-[54px] bg-primary",children:(0,l.jsx)("div",{className:"font-icomoon text-[24px] text-white",children:"î¤"})})}),C.slice(2).map((e,t)=>"Call"===e.t?(0,l.jsxs)("button",{onClick:()=>x(!0),className:"relative m-0 flex min-w-[20%] cursor-pointer flex-col items-center justify-end whitespace-pre-wrap break-words bg-transparent p-0 font-system text-base border-none",children:[e.i,(0,l.jsx)("span",{className:"mb-2 text-sm text-white",children:e.t})]},t):(0,l.jsxs)(i.default,{href:e.l,role:"tab",className:"relative m-0 flex min-w-[20%] cursor-pointer flex-col items-center justify-end whitespace-pre-wrap break-words bg-transparent p-0 font-system text-base",children:[e.i,(0,l.jsx)("span",{className:"mb-2 text-sm text-white",children:e.t})]},t))]})]}),n&&(0,l.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-end sm:items-center justify-center",onClick:()=>x(!1),children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-black/50"}),(0,l.jsxs)("div",{className:"relative z-10 w-full max-w-md rounded-t-3xl sm:rounded-3xl bg-white p-6 shadow-2xl",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{onClick:()=>x(!1),className:"absolute right-4 top-4 flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 text-gray-500 hover:bg-gray-200",children:(0,l.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,l.jsx)("line",{x1:"18",x2:"6",y1:"6",y2:"18"}),(0,l.jsx)("line",{x1:"6",x2:"18",y1:"6",y2:"18"})]})}),h?(0,l.jsxs)("div",{className:"flex flex-col items-center py-8",children:[(0,l.jsx)("div",{className:"mb-3 flex h-16 w-16 items-center justify-center rounded-full bg-green-100 text-3xl",children:"â"}),(0,l.jsx)("p",{className:"font-sans text-[18px] font-bold text-gray-900",children:"We'll call you back!"}),(0,l.jsx)("p",{className:"mt-1 font-sans text-[13px] text-gray-500",children:"Our travel expert will reach out shortly."})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mb-5",children:[(0,l.jsx)("p",{className:"font-sans text-[13px] font-bold text-primary",children:"Aayra Calling?"}),(0,l.jsx)("p",{className:"font-sans text-[20px] font-bold text-gray-900",children:"Allow Us to Call You Back!"}),b&&(0,l.jsxs)("p",{className:"mt-1 font-sans text-[13px] text-gray-500",children:["Regarding: ",b]})]}),(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsx)("input",{value:m.name,onChange:e=>p(t=>({...t,name:e.target.value})),placeholder:"Your Name",className:"w-full rounded-xl border border-gray-200 px-4 py-3.5 font-sans text-[14px] text-gray-800 placeholder-gray-400 outline-none focus:border-primary"}),(0,l.jsx)("input",{value:m.email,onChange:e=>p(t=>({...t,email:e.target.value})),placeholder:"Your Email",type:"email",className:"w-full rounded-xl border border-gray-200 px-4 py-3.5 font-sans text-[14px] text-gray-800 placeholder-gray-400 outline-none focus:border-primary"}),(0,l.jsx)("input",{value:m.phone,onChange:e=>p(t=>({...t,phone:e.target.value.replace(/\D/g,"").slice(0,10)})),placeholder:"Phone",type:"tel",className:"w-full rounded-xl border border-gray-200 px-4 py-3.5 font-sans text-[14px] text-gray-800 placeholder-gray-400 outline-none focus:border-primary"})]}),(0,l.jsx)("button",{onClick:A,disabled:u||!m.phone.trim(),className:"mt-5 flex w-full items-center justify-center rounded-xl bg-primary py-3.5 font-sans text-[15px] font-bold text-white shadow-lg shadow-primary/30 hover:bg-red-700 disabled:opacity-50",children:u?"Sending...":"Send Enquiry"})]})]})]})]})}},75264:function(e,t,a){a.r(t),a.d(t,{default:function(){return f}});var l=a(27573),s=a(12092),n=a(38985),r=a(27662),i=a(7653),o=a(90250),c=a(66253),d=a.n(c),x=a(1818),m=a.n(x),p=a(20522),u=a(54603);function f(e){let{onDone:t,noProcess:a,purpose:c,msg:x,removeDate:f,btn:h,item:g,item_id:b,slug:y}=e,[j,v]=(0,i.useState)(null),[N,w]=(0,i.useState)(""),[A,C]=(0,i.useState)(""),[S,k]=(0,i.useState)(""),[D,O]=(0,i.useState)(""),[q,E]=(0,i.useState)(!1),[z,M]=(0,i.useState)(""),[L,B]=(0,i.useState)({});(0,u.useRouter)();let T=async e=>{if(console.log({purpose:c,item:g,item_id:b}),e.preventDefault(),q)return;let l={},s=[[N,"name"],[S,"phone"],[A,"email"]];if(f||(s.push([D,"msg"]),s.push([j,"date"])),s.map(e=>
1{let[t,a]=e;delete l[a],t?"email"!=a||m().isEmail(t)?"phone"!=a||m().isMobilePhone(t)||(l.phone="Enter a valid phone number"):l.email="Enter a valid email":l[a]="".concat("msg"==a?x?x+" is required":"Enter a brief message":(0,p.zf)("date"==a?"Travel Date":a)+" is required")}),B(l),M(z+" "),Object.keys(l).length)return;let n={date:null==j?void 0:j.format("YYYY-MM-DD"),email:A,name:N,phone:S,message:D||"Please call me back.",purpose:c,item:g,item_id:b};if(a){t&&t(n);return}E(!0),fetch("https://premium.branofy.cloud/api/forms/0a5c81d0674f4364abc4a2f98c75bfde0c1d479103256c07",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)}).catch(()=>{}),fetch("https://www.privyr.com/api/v1/incoming-leads/0vZfjMQw/oXzoB2j5#generic-webhook",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:n.name,email:n.email||"",phone:n.phone,display_name:n.name,other_fields:{item:n.item,purpose:n.purpose,item_title:n.item,travel_date:n.date}})}).catch(()=>{});let r=await (0,p.uz)("enquiry",n);E(!1),r.message&&(r.statusCode<500||!r.statusCode)&&(0,o.h)(r.message,r.type||(r.error?"error":"success")),"success"===r.type&&(w(""),k(""),C(""),O(""),t&&t(n),window.location.href="/thank-you")};return(0,l.jsxs)("form",{onSubmit:T,className:"grid grid-cols-1 gap-2 text-light [&_input]:placeholder:text-black",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)("input",{placeholder:"Your Name",className:"input",value:N,onChange:e=>w(e.target.value)}),L.name&&(0,l.jsx)("div",{className:"text-sm text-red-500",children:L.name})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)("input",{placeholder:"Your Email",type:"email",className:"input",value:A,onChange:e=>C(e.target.value)}),L.email&&(0,l.jsx)("div",{className:"text-sm text-red-500",children:L.email})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)("input",{placeholder:"Phone",className:" input",inputMode:"numeric",value:S,onChange:e=>k(e.target.value)}),L.phone&&(0,l.jsx)("div",{className:"text-sm text-red-500",children:L.phone})]}),!f&&(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)(s._,{dateAdapter:n.y,children:(0,l.jsx)(r.M,{className:"mui-datepicker w-full rounded-[8px]",minDate:d()(new Date),value:j?d()(j):null,label:" Choose Travel Date",format:"YYYY-MM-DD",onChange:e=>(B({...L,date:void 0}),v(e))})}),L.date&&(0,l.jsx)("div",{className:"text-sm text-red-500",children:L.date})]}),!f&&(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)("textarea",{placeholder:"Message",dir:"auto",className:" input h-[120px] placeholder:text-black",value:D,onChange:e=>O(e.target.value)}),L.msg&&(0,l.jsx)("div",{className:"text-sm text-red-500",children:L.msg})]}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{className:"btn btn-primary w-full text-center font-semibold disabled:opacity-60",type:"submit",disabled:q,children:q?"Sending...":h||"Send Enquiry"})})]})}},78899:function(e,t,a){a.d(t,{Z:function(){return r}});var l=a(27573),s=a(7653),n=a(52905);function r(e){let{item:t,modal:a}=e;return((0,s.useEffect)(()=>{var e;null===(e=document.querySelector(".close-modal"))||void 0===e||e.classList.add("enquiry")},[]),t)?(0,l.jsx)("div",{className:"flex h-full items-center justify-center md:flex-row md:justify-center",children:(0,l.jsx)("div",{className:"modal-content relative z-20 flex w-screen max-w-[90%] flex-col rounded-xl bg-white shadow sm:max-w-[500px]",children:(0,l.jsx)("div",{className:"flex max-h-[95vh] w-full flex-col overflow-y-auto px-4 py-10 custom:p-[40px]",children:(0,l.jsx)(n.default,{item:t,purpose:"call-back",modal:a})})})}):(0,l.jsx)(l.Fragment,{})}},52905:function(e,t,a){a.r(t),a.d(t,{default:function(){return r}});var l=a(27573),s=a(20522),n=a(75264);function r(e){let{item:t,purpose:a,modal:r}=e;return(0,l.jsxs)("div",{className:"overflow-hidden rounded-[12px] border border-gray-100 bg-white shadow-md",suppressHydrationWarning:!0,children:[(0,l.jsxs)("div",{className:"bg-red-50 px-5 py-4",children:[(0,l.jsx)("p",{className:"font-sans text-[13px] font-semibold text-primary",children:"Aayra Calling?"}),(0,l.jsx)("p",{className:"font-sans text-[17px] font-bold text-gray-900",children:"Allow Us to Call You Back!"})]}),(0,l.jsxs)("div",{className:"flex flex-row items-start gap-3 border-b border-gray-100 px-5 py-3",children:[(0,l.jsx)("div",{className:"relative h-[52px] w-[52px] shrink-0 overflow-hidden rounded-[6px] bg-lt-background",children:(0,l.jsx)("img",{src:(0,s.pt)(t.dp),alt:t.title,className:"h-full w-full object-cover"})}),(0,l.jsxs)("div",{className:"flex flex-1 flex-col gap-0.5",children:[(0,l.jsx)("div",{className:"font-sans text-[13px] font-bold text-gray-900 leading-snug",children:t.title}),(0,l.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,l.jsxs)("span",{className:"font-sans text-[12px] text-gray-400 line-through",children:["â¹",Number(t.price).toLocaleStr
1ing()]}),(0,l.jsxs)("span",{className:"font-sans text-[15px] font-bold text-primary",children:["â¹",Number(t.price_1).toLocaleString()]}),(0,l.jsxs)("span",{className:"rounded-[4px] bg-green-50 px-1.5 py-0.5 font-sans text-[10px] font-semibold text-green-600",children:["Save â¹",Number(t.save).toLocaleString()]})]})]})]}),(0,l.jsx)("div",{className:"px-5 py-4",children:(0,l.jsx)(n.default,{purpose:a,item:t.page,item_id:t.id,onDone:r,removeDate:!0,btn:"enquiry"==a?"Send Enquiry":"Request Callback"})})]})}},90250:function(e,t,a){a.d(t,{h:function(){return s}});var l=a(53252);a(78844);let s=(e,t)=>{t||(t="default"),e&&0!==e.length&&("string"==typeof t&&(t={autoClose:5e3,type:t}),Array.isArray(e)&&(e=e.join("\n")),(0,l.toast)(e,{...t}))}},73378:function(e,t,a){a.d(t,{x:function(){return l}});let l=e=>{if(!e||"string"==typeof e&&0==e.length)return"";let t="string"==typeof e?Number(e):e;return(isNaN(t)?0:t).toLocaleString("en-IN",{style:"currency",currency:"INR",unitDisplay:"short",maximumFractionDigits:0,currencyDisplay:"symbol"})}},45286:function(e,t,a){a.d(t,{D$:function(){return l}});let l=(e,t)=>"".concat(t," Night").concat(t>1?"s":""," ").concat(e," Day").concat(e>1?"s":"")},91518:function(e,t,a){a.d(t,{SG:function(){return s},j_:function(){return l}});let l=(e,t)=>"/".concat(e).concat(t?"/".concat(t):""),s=function(e){let t=e.replace(/\D/g,"");return"tel:".concat(t)}("+91-7699002674")}}]);
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.