PageSourceSearch

https://cdn2.pickyourtrail.com/images/assets/veho-web/260924229/_next/static/chunks/5671-4ae09884f072c92f.js

js pickyourtrail.com collected 2026-09-24 09:35:16 UTC 178,534 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5671],{28644:function(e,i,l){l.d(i,{b:function(){return t}});let t=async(e,i,l,t)=>await i({url:"packages",method:"POST",body:e,signal:t,locale:l})},64910:function(e,i,l){var t=l(85893),n=l(5335),o=l(39396),s=l(5152),r=l.n(s),a=l(67294),d=l(68991),c=l(39131);let g=r()(()=>Promise.resolve().then(l.bind(l,22004)),{loadableGenerated:{webpack:()=>[22004]},ssr:!1}),u=(0,n.zo)(o.xu,{position:"relative",width:"100%",height:"100%",backgroundColor:"$black","@lg":{height:"inherit"},".video-player video":{width:"100%",height:"100%",zIndex:1,opacity:1,transition:"opacity .25s cubic-bezier(.05,0,0,1)",objectFit:"cover",position:"absolute"}}),h=e=>{let{bannerMedia:i,fallbackImage:l}=e,[n,o]=(0,a.useState)(!1),s=(0,a.useRef)(null),r=()=>{let e=document.getElementsByClassName("react-player__play-icon")[0];e&&(null==e||e.click())};return(0,a.useEffect)(()=>{r()},[]),(0,t.jsxs)(u,{children:[(0,t.jsx)(g,{onReady:()=>{o(!0)},url:i,poster:(0,d.Z)("".concat(i,"?time=1")),playing:!0,loop:!0,width:"inherit",height:"inherit",className:"video-player",muted:!0,playsinline:!0}),(0,t.jsx)(c.Z,{src:(0,d.Z)("".concat(i,"?time=1")),fallback:l.url,alt:"pyt-banner"+(null==i?void 0:i.slice(20)),fill:!0,style:{objectFit:"cover",opacity:n?0:1,transition:"opacity 0.5s ease-out"},wrapperRef:s})]})};i.Z=h},28913:function(e,i,l){l.d(i,{lI:function(){return a},z7:function(){return d},pb:function(){return c},wt:function(){return u},Li:function(){return p},BS:function(){return x},wv:function(){return v},iL:function(){return h},Ee:function(){return g},JL:function(){return m}});var t=l(92077),n=l.n(t),o=l(88116);let s={ae:"dh",us:"dollar",sg:"dollar",gb:"pound",it:"euro",de:"euro",fr:"euro",au:"dollar",in:"inr"},r={dollar:"$",dh:"AED",inr:o.X.rupee_unicode,pound:"\xa3",euro:"€"};n().defaultFormat("0.0a");let a=e=>{let i=s[e||"in"]||"dollar",l=r[i],t=[{key:"us"===e?"0_500":"ae"===e?"0_2000":"0_50000",name:"Below ".concat(l," ").concat("us"==e?"600":"ae"==e?"2200":"50"," ").concat("in"!==e?"":"k")},{key:"us"===e?"500_1000":"ae"===e?"2000_3000":"50000_75000",name:"".concat(l," ").concat("us"==e?"600":"ae"==e?"2200":"50").concat("in"!==e?"":"k"," - ").concat(l," ").concat("us"==e?"900":"ae"==e?"3300":"75").concat("in"!==e?"":"k")},{key:"us"===e?"1000_1500":"ae"===e?"3000_4500":"75000_100000",name:"".concat(l," ").concat("us"==e?"900":"ae"==e?"3300":"75").concat("in"!==e?"":"k"," - ").concat(l," ").concat("us"==e?"1200":"ae"==e?"4400":"1"," ").concat("in"!==e?"":"L")},{key:"us"===e?"1500_2000":"ae"===e?"4500_6500":"100000_150000",name:"".concat(l," ").concat("us"==e?"1200":"ae"==e?"4400":"1"," ").concat("in"!==e?"":"L"," - ").concat(l," ").concat("us"==e?"1800":"ae"==e?"6600":"1.5").concat("in"!==e?"":"L")},{key:"us"===e?"2000_2500":"ae"===e?"6500_9000":"150000_200000",name:"".concat(l," ").concat("us"==e?"1800":"ae"==e?"6600":"1.5").concat("in"!==e?"":"L"," - ").concat(l," ").concat("us"==e?"2400":"ae"==e?"8800":"2","\n      ").concat("in"!==e?"":"L")},{key:"us"===e?"2500_3500":"ae"===e?"9000_13000":"200000_300000",name:"Above ".concat(l," ").concat("us"==e?"2400":"ae"==e?"8800":"2").concat("in"!==e?"":"L")}];return t},d=(e,i)=>{let l=a(e),t=l.map(e=>{let l=e.key.replace(/_/g,"-");return{...e,count:(null==i?void 0:i[l])||0}});return t},c=e=>{if(e){let i=null==Object?void 0:Object.entries(e).map(e=>{let[i,l]=e;return{key:i,name:i,count:l}});return i}return[]},g=e=>{if(e){let i=null==Object?void 0:Object.entries(e).map(e=>{let[i,l]=e;return{key:i,name:i,count:l}});return i}return[]},u=()=>[{name:"Half Board (HB)",key:"hb",show:!1},{name:"Full Board (FB)",key:"fb",show:!1},{name:"All Inclusive (AI)",key:"ai",show:!1}
1,{name:"Breakfast Only (BB)",key:"bb",show:!1}],h=()=>[{name:"Honeymoon",key:"honeymoon-special",show:!1},{name:"Kid Friendly",key:"kid-friendly",show:!1},{name:"Family",key:"family",show:!1}],p=()=>[{name:"3-5 days",key:"3_5"},{name:"4-8 days",key:"4_8"},{name:"9-12 days",key:"9_12"},{name:"13-16 days",key:"13_16"},{name:"Above 16 days",key:"16"}],x=()=>[{name:"5 star",key:"5_5"},{name:"4 star",key:"4_4"},{name:"3 star",key:"3_3"}],v=e=>{let i=x(),l=i.map(i=>{let l=i.key.split("_")[0];return{...i,count:(null==e?void 0:e[l])||0}});return l},m=e=>{let i=s[e||"in"]||"dollar",l=r[i];return[{key:"us"===e?"0_1200":"ae"===e?"0_4500":"0_100000",text:"Below ".concat(l," ").concat("us"==e?"1200":"ae"==e?"4500":"100").concat("in"!==e?"":"k"),selected:!1},{key:"us"===e?"0_1800":"ae"===e?"0_6600":"0_150000",text:"Below ".concat(l," ").concat("us"==e?"1800":"ae"==e?"6600":"150").concat("in"!==e?"":"k"),selected:!1},{key:"us"===e?"0_2500":"ae"===e?"0_8800":"0_200000",text:"Below ".concat(l," ").concat("us"==e?"2500":"ae"==e?"8800":"200").concat("in"!==e?"":"k"),selected:!1},{key:"us"===e?"2500_3000":"ae"===e?"8800_9500":"200000_500000",text:"Above ".concat(l," ").concat("us"==e?"2500":"ae"==e?"8800":"200").concat("in"!==e?"":"k"),selected:!1}]}},62379:function(e,i,l){var t=l(85893),n=l(5335),o=l(97083),s=l(39396),r=l(67294),a=l(53041);let d=e=>{let{overAllRating:i,starRatingCounts:l,isEnablepopularSection:d,backgroundColor:c}=e,g=(0,r.useMemo)(()=>l.length>0?null==l?void 0:l[0]:null,[l]),u=()=>(0,t.jsx)(s.xu,{css:{borderRadius:8,border:"1px solid $pyellow300",background:"$pyellow50"},children:(0,t.jsxs)(s.sg,{justify:"center",align:"center",css:{padding:"$10i $15i",gap:"$2i"},children:[(0,t.jsxs)(s.X2,{css:{gap:"$2i"},children:[(0,t.jsx)(s.xv,{css:{fontFamily:"$manrope",fontSize:"$12i",fontStyle:"normal",fontWeight:"bolder",lineHeight:"$16i",letterSpacing:"-0.4px",color:"$grey900","@lg":{fontSize:"$22i",fontStyle:"normal",fontWeight:"extraBolder",lineHeight:"$23i",letterSpacing:"-0.6px"}},children:Math.round(10*i)/10}),(0,t.jsx)(s.xu,{css:{justifyContent:"center",alignItems:"center",display:"flex"},children:(0,t.jsx)(o.Z,{css:{width:"$8i",height:"$8i",fill:"$yellow600","@lg":{width:"$12i",height:"$12i"}}})})]}),g?(0,t.jsxs)(s.xv,{css:{color:"$grey700",textAlign:"center",fontFamily:"$manrope",fontSize:"$6i",fontStyle:"normal",fontWeight:"$bold",lineHeight:"$8i","@lg":{fontSize:"$8i",fontStyle:"normal",fontWeight:"$bold",lineHeight:"$12i",display:"none"}},children:["From ",g,"+ ratings"]}):null,g?(0,t.jsxs)(s.xv,{css:{"@smMax":{display:"none"},"@lg":{color:"$grey700",textAlign:"center",fontSize:"$8i",fontStyle:"normal",fontWeight:"$bold",lineHeight:"$12i",fontfamily:"$manrope !important"}},children:["From ",g," reviews"]}):null]})}),h=e=>{let{value:i}=e,l=(0,n.zo)("div",{width:"100%",overflow:"hidden",borderRadius:"15px",backgroundColor:"$white",height:"$4i"}),o=(0,n.zo)("div",{height:"$4i",width:"0%",backgroundColor:"$green600",transition:"width 0.4s ease-in-out"});return(0,t.jsx)(l,{children:(0,t.jsx)(o,{style:{width:"".concat(i,"%")}})})},p=()=>{var e,i;return(0,t.jsx)(s.sg,{css:{padding:"9px 0px 9px 0px",width:"100%","@lg":{gap:"$6i",width:"632px"}},children:null===(e=null===(i=null==l?void 0:l.slice(1))||void 0===i?void 0:i.reverse())||void 0===e?void 0:e.map((e,i)=>{var n,r;let a=null===(n=null===(r=null==l?void 0:l.slice(1))||void 0===r?void 0:r.reverse())||void 0===n?void 0:n[0],d=l.length-1;return(0,t.jsxs)(s.X2,{align:"center",css:{gap:"$2i"},children:[(0,t.jsx)(s.xv,{css:{color:"$grey700",textAlign:"right",fontfamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$bold",lineHeight:"$10i",width:"26px"},children:d-i}),(0,t.jsx)(s.xu,{css:{justifyContent:"center",alignItems:"center",display:"flex"},children:(0,t.jsx)(o.Z,{css:{width:"$7i",height:"$7i",fill:"$yellow600"}})}),(0,t.jsx)(h,{value:e/a*100})]},i)})})};return(0,t.jsx)(s.xu,{css:{backgroundColor:null!=c?c:"#FCF3E9"},children:(0,t.jsx)(a.Z,{css:{backgroundColor:null!=c?c:"#FCF3E9",display:"flex","@lg":{paddingTop:"$20i"},"@smMax":{padding:"".concat(d?"0":"$12i"," $8i 0 $8i")}},children:(0,t.jsxs)(s.sg,{css:{padding:"0",width:"100%","@lg":{padding:"0 $32i 0 0"}},children:[(0,t.jsx)(s.xu,{children:(0,t.jsx)(s.xv,{css:{color:"$grey900",fontFamily:"$manrope",fontSize:"$9i",fontStyle:"normal",fontWeight:"extraBolder",lineHeight:"$13i",paddingBottom:"$6i","@lg":{color:"$grey950",fontSize:"$12i",lineHeight:"$16i",letterSpacing:"-0.4px"}},children:"Travellers Reviews & Ratings"})}),(0,t.jsxs)(s.X2,{css:{gap:"$8i","@lg":{gap:"$11i"}},children:[(0,t.jsx)(u,{}),(0,t.jsx)(p,{})]})]})})})};i.Z=d},67439:function(e,i,l){var t=l(85893),n=l(5335);
1l(67294);let o=e=>{var i,l;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",...e,children:[(0,t.jsx)("mask",{id:"mask0_2402_3848",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:20,height:20,children:(0,t.jsx)("rect",{width:20,height:20,fill:null!==(i=e.color)&&void 0!==i?i:"#D9D9D9"})}),(0,t.jsx)("g",{mask:"url(#mask0_2402_3848)",children:(0,t.jsx)("path",{d:"M9.70703 16.7913V12.208H10.7903V13.958H16.7903V15.0413H10.7903V16.7913H9.70703ZM3.20703 15.0413V13.958H7.79032V15.0413H3.20703ZM6.20703 12.2913V10.5413H3.20703V9.45801H6.20703V7.70801H7.29032V12.2913H6.20703ZM9.20703 10.5413V9.45801H16.7903V10.5413H9.20703ZM12.207 7.7913V3.20801H13.2903V4.95801H16.7903V6.0413H13.2903V7.7913H12.207ZM3.20703 6.0413V4.95801H10.7903V6.0413H3.20703Z",fill:null!==(l=e.color)&&void 0!==l?l:"#08352C"})})]})},s=(0,n.zo)(o,{});i.Z=s},95671:function(e,i,l){l.r(i),l.d(i,{default:function(){return iG}});var t=l(85893),n=l(5335),o=l(39396),s=l(70024),r=l(25675),a=l.n(r),d=l(11163),c=l.n(d),g=l(67294),u=l(78605),h=l(64910),p=l(83983),x=l(75160),v=l(53041),m=l(75465),f=l(7744),$=l(95497),y=l(17624),w=l(66584),j=l(68991),b=l(99383);let C=(0,n.zo)("ul",{listStyle:"none",padding:0,margin:0,display:"flex",flexDirection:"column",gap:"$4i",justifyContent:"center",alignItems:"flex-start","@lg":{gap:"$8i"}}),k=(0,n.zo)("li",{display:"flex",alignItems:"center",gap:"$4i"}),S=(0,n.zo)("span"),z=e=>(0,t.jsxs)("svg",{height:"7",width:"37",fill:"none",viewBox:"0 0 37 7",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("path",{d:"M3.5 0L7 3.5L3.5 7L0 3.5L3.5 0Z",fill:"#354550"}),(0,t.jsx)("path",{d:"M18.5 0L22 3.5L18.5 7L15 3.5L18.5 0Z",fill:"#354550"}),(0,t.jsx)("path",{d:"M33.5 0L37 3.5L33.5 7L30 3.5L33.5 0Z",fill:"#354550"})]});function F(e){let{isMobile:i}=e,l=()=>{var e;c().push({pathname:null===(e=c().pathname.split("?"))||void 0===e?void 0:e[0],query:{...c().query,m:"cbr",isLuxe:!0}},void 0,{shallow:!0})},n={mobile:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/luxe_mobile.png",desktop:{small:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/packages_v2/luxe_web_992W_1.png",medium:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/packages_v2/luxe_web_1440W_1.png",large:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/packages_v2/luxe_web_1.png"},bg:{small:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/packages_v2/luxe_bg_990W.png",large:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/packages_v2/Luxe_bg_1440W.png"}};return console.log({isMobile:i}),(0,t.jsxs)(o.kC,{css:{display:"flex",flexDirection:"row",backgroundColor:"#001524",overflow:"hidden",width:"100%","@smMax":{flexDirection:"column"}},children:[(0,t.jsx)(o.xu,{css:{position:"relative",height:"241px",overflow:"hidden",width:"100%","@sm":{height:"467px",width:"560px"},"@media (min-width: 993px)":{width:"560px"},"@media (min-width: 1281px)":{width:"707px"}},children:(0,t.jsx)(a(),{src:(0,j.Z)(i?n.mobile:n.desktop.large),alt:"Luxury yacht on turquoise water",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 992px) 560px, (max-width: 1280px) 560px, 707px",style:{objectFit:"cover"},...!i&&{srcSet:"\n              ".concat((0,j.Z)(n.desktop.small)," 991w,\n              ").concat((0,j.Z)(n.desktop.medium)," 1280w,\n              ").concat((0,j.Z)(n.desktop.large)," 1440w\n            ")}})}),(0,t.jsx)(o.xu,{css:{backgroundImage:"url(".concat((0,j.Z)(n.bg.large),")"),"@media (max-width: 992px)":{backgroundImage:"url(".concat((0,j.Z)(n.bg.small),")")},backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat","@sm":{height:"467px",width:"calc(100% - 560px)"},"@media (min-width: 993px)":{width:"calc(100% - 560px)"},"@media (min-width: 1281px)":{width:"calc(100% - 707px)"}},children:(0,t.jsxs)(o.xu,{css:{paddingLeft:"72px",paddingTop:"70px","@smMax":{display:"flex",justifyContent:"center",padding:"$10i $13i $13i $13i",flexDirection:"column"}},children:[(0,t.jsx)(o.xv,{css:{fontSize:"$7ii",lineHeight:"$10i",color:"$white",fontWeight:"$extraBold",fontFamily:"$manrope",textAlign:"center","@lg":{fontSize:"$10i",lineHeight:"$14i",paddingBottom:"$14i",width:"540px",textAlign:"left"}},children:i?"Premium service, pre-trip to post-trip. ✨":"Premium travel with seamless, tailored service at every step—pre-trip, on-trip, and post-trip. ✨"}),i?(0,t.jsx)(o.xu,{css:{display:"flex",alignItems:"center",padding:"$10i 0",justifyContent:"center"},children:(0,t.jsx)(z,{})}):null,(0,t.jsxs)(C,{children:[(0,t.jsxs)(k,{children:[(0,t.jsx)(b.Z,{fill:"#EFD680",width:i?13:20,height:i?13:20}),(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",color:"$white",fontWeight:"$boler",fontFamily:"$manrope","@lg":{fontSize:"$9i",lineHeight:"$14i"}},children:i?"Handpicked Private Luxurious Stays & Vehicles":"Private Luxurious Vehicles & Handpicked Luxury Stays"})]}),(0,t.jsxs)(k,{children:[(0,t.jsx)(b.Z,{fill:"#EFD680",width:i?13:20,height:i?13:20}),(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",color:"$white",fontWeight:"$boler",fontFamily:"$manrope","@lg":{fontSize:"$9i",lineHeight:"$14i"}},children:"Thoughtfully Curated Surprises & Delights"})]}),(0,t.jsxs)(k,{children:[(0,t.jsx)(b.Z,{fill:"#EFD680",width:i?13:20,height:i?13:20}),(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",color:"$white",fontWeight:"$boler",fontFamily:"$manrope","@lg":{fontSize:"$9i",lineHeight:"$14i"}},children:"Exclusive Travel Kit Delivery"})]})]}),(0,t.jsxs)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bolder",fontFamily:"$manrope",background:"linear-gradient(104deg, #FFEA9F 7.6%, #F4D878 89.23%
1)",backgroundClip:"text",paddingTop:"$5i","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent",textAlign:"left","@lg":{fontSize:"$10i",lineHeight:"$14i",paddingTop:"$16i"}},children:["+13 more"," ",(0,t.jsx)(S,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$extraBold",fontFamily:"$manrope","@lg":{fontSize:"$9i",lineHeight:"$14i",fontWeight:"$normal"}},children:i?"High-End Benefits":"Exclusive Services Beyond the Ordinary"})]}),(0,t.jsx)(o.zx,{onClick:()=>{l()},css:{background:"linear-gradient(90deg, #AE8625 0%, #F7EF8A 30.5%, #D2AC47 57%, #EDC967 100%), #09B367",borderRadius:"$2",padding:"$7i $14i",height:"auto",marginTop:"$16i",border:"none",color:"$black",fontSize:"$9i",lineHeight:"$13i",fontWeight:"$bolder",fontFamily:"$manrope",boxShadow:"none","&:hover":{boxShadow:"none"},"@smMax":{width:"95%",marginTop:"$12i",fontSize:"$7i",lineHeight:"$9i"}},children:"Request Call Back"})]})})]})}var I=l(68315),H=l(4327),B=l(10206),D=l(28644),R=l(44950),T=l(30976),L=l(30164),W=l(52691),P=l(97083),M=l(18446),Z=l.n(M),A=l(76907),E=l(78449),_=l(28913);let O=e=>{let{setOpenPackagesV2mobFilter:i,cityVsCount:l,budgetVsCount:n,hotelRatingsVsCount:r,themeVsCount:a,setPackagesData:c}=e,u=(0,s.b9)(R.f6),h=(0,d.useRouter)(),p=h.locale||"in",[x,v]=(0,g.useState)((0,_.z7)(p,n)),[m,f]=(0,g.useState)(),[$,y]=(0,g.useState)((0,_.wv)(r)),[w,j]=(0,g.useState)((0,_.pb)(l)),[b,C]=(0,g.useState)((0,_.Ee)(a)),k=(0,g.useMemo)(()=>h.query.budgets?Array.isArray(h.query.budgets)?h.query.budgets:[h.query.budgets]:[],[h.query.budgets]),S=(0,g.useMemo)(()=>h.query.durations?Array.isArray(h.query.durations)?h.query.durations:[h.query.durations]:[],[h.query.durations]),z=(0,g.useMemo)(()=>h.query.hotelRatings?Array.isArray(h.query.hotelRatings)?h.query.hotelRatings:[h.query.hotelRatings]:[],[h.query.hotelRatings]),F=(0,g.useMemo)(()=>h.query.cities?Array.isArray(h.query.cities)?h.query.cities:[h.query.cities]:[],[h.query.cities]),I=(0,g.useMemo)(()=>h.query.themes?Array.isArray(h.query.themes)?h.query.themes:[h.query.themes]:[],[h.query.themes]),[H,B]=(0,g.useState)({budgets:k,durations:S,hotelRatings:z,cities:F,themes:I}),M=(e,i)=>(null==i||i.forEach(i=>{var l;let t=null==e?void 0:e.findIndex(e=>e.key===i);(null===(l=e[t])||void 0===l?void 0:l.key)===i&&(e[t].show=!0)}),e),O=(0,g.useCallback)(e=>{var i;let{qdata:l}=e,t=null===(i=h.asPath)||void 0===i?void 0:i.split("?")[0];h.replace({pathname:t,query:l},void 0,{shallow:!0,scroll:!1})},[h]),V=(0,g.useCallback)(e=>{let i,{type:l,key:t,checked:n}=e;if("budgets"==l&&n){let o=[...k,t];i={budgets:o,durations:S,hotelRatings:z,cities:F,themes:I},(0,A.L9W)(A.Aut,{Catagory:l,Filter:o})}else if("budgets"!=l||n){if("durations"==l&&n){let s=[...S,t];i={budgets:k,durations:s,hotelRatings:z,cities:F,themes:I},(0,A.L9W)(A.Aut,{Catagory:l,Filter:s})}else if("durations"!=l||n){if("hotelRatings"==l&&n){let r=[...z,t];i={budgets:k,durations:S,hotelRatings:r,cities:F,themes:I},(0,A.L9W)(A.Aut,{Catagory:l,Filter:r})}else if("hotelRatings"!=l||n){if("cities"==l&&n){let a=[...F,t];i={budgets:k,durations:S,hotelRatings:z,cities:a,themes:I},(0,A.L9W)(A.Aut,{Catagory:l,Filter:a})}else if("cities"!=l||n){if("themes"==l&&n){let d=[...F,t];i={budgets:k,durations:S,hotelRatings:z,cities:F,themes:d},(0,A.L9W)(A.Aut,{Catagory:l,Filter:d})}else if("themes"==l&&!n){let c=I.filter(e=>e!==t);i={budgets:k,durations:S,hotelRatings:z,cities:F,themes:c}}}else{let g=F.filter(e=>e!==t);i={budgets:k,durations:S,hotelRatings:z,cities:g,themes:I}}}else{let u=z.filter(e=>e!==t);i={budgets:k,durations:S,hotelRatings:u,cities:F,themes:I}}}else{let h=S.filter(e=>e!==t);i={budgets:k,durations:h,hotelRatings:z,cities:F,themes:I}}}else{let p=k.filter(e=>e!==t);i={budgets:p,durations:S,hotelRatings:z,cities:F,themes:I}}O({qdata:i})},[S,z,F,I,k,O]),N=(0,g.useCallback)(async()=>{var e,i,l;let t=(0,W.Z)({},"".concat((0,T.Z)(null===(e=null==h?void 0:h.asPath.split("?"))||void 0===e?void 0:e[0])));(null==k?void 0:k.length)&&(t.budgets=k),(null==S?void 0:S.length)&&(t.durations=S),(null==z?void 0:z.length)&&(t.hotelRatings=z),(null==F?void 0:F.length)&&(t.cities=F),(null==I?void 0:I.length)&&(t.themes=I);try{let n=await (0,D.b)(t,L.Z,h.locale);(null==n?void 0:null===(i=n.data)||void 0===i?void 0:null===(l=i.filteredItineraries)||void 0===l?void 0:l.length)&&(c(null==n?void 0:n.data),u((null==n?void 0:n.displayCurrency)||"INR"))}catch(o){console.error({error:o})}},[null==h?void 0:h.asPath,h.locale,k,S,z,F,I,c,u]),X=(0,g.useCallback)(()=>
1{if(null==k?void 0:k.length){let e=(0,_.z7)(p,n);v(M(e,k))}else v((0,_.z7)(p,n));if((null==S?void 0:S.length)?f(M((0,_.Li)(),S)):f((0,_.Li)()),null==z?void 0:z.length){let i=(0,_.wv)(r);y(M(i,z))}else y((0,_.wv)(r));if(null==F?void 0:F.length){let t=(0,_.pb)(l);j(M(t,F))}else j((0,_.pb)(l));if(null==I?void 0:I.length){let o=(0,_.Ee)(a);C(M(o,I))}else C((0,_.Ee)(a))},[p,k,S,z,F,I,n,r,l,a]),q=(0,g.useRef)({budgets:k,durations:S,hotelRatings:z,cities:F,themes:I});(0,g.useEffect)(()=>{let e=!Z()(q.current,{budgets:k,durations:S,hotelRatings:z,cities:F,themes:I});e&&(N(),q.current={budgets:k,durations:S,hotelRatings:z,cities:F,themes:I}),X()},[N,X,k,S,z,F,I]);let G=e=>{let{title:i,dataArr:l,type:n}=e;return(0,t.jsxs)(o.sg,{css:{padding:"$10i",gap:"$6i"},children:[(0,t.jsx)(o.xv,{css:{color:"$grey900",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$bold",lineHeight:"20px"},children:i}),(0,t.jsx)(o.sg,{css:{gap:"$2i"},children:null==l?void 0:l.map((e,i)=>{var l;return(0,t.jsxs)(o.X2,{css:{borderRadius:6,border:"1px solid ".concat((null==e?void 0:e.count)==0?"$grey200":(null==e?void 0:e.show)?"$green400":"$grey100"," "),padding:"$7i",justifyContent:"space-between",backgroundColor:(null==e?void 0:e.show)?"$green50":"none"},children:[(0,t.jsxs)(o.X2,{children:[(0,t.jsx)(o.xv,{css:{color:(null==e?void 0:e.count)==0?"$grey400":"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontWeight:(null==e?void 0:e.count)==0?"$semiBold":"$bold",lineHeight:"20px",fontStyle:"normal"},children:(0,E.Z)(null==e?void 0:null===(l=e.name)||void 0===l?void 0:l.replace("-"," "))}),(0,t.jsx)(o.xv,{css:{color:(null==e?void 0:e.count)==0?"$grey400":"$grey600",fontFamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px"},children:"(".concat(null==e?void 0:e.count,")")})]}),(0,t.jsx)(o.XZ,{disabled:(null==e?void 0:e.count)==0,checked:null==e?void 0:e.show,onCheckedChange:l=>{V({type:n||"",key:(null==e?void 0:e.key)?null==e?void 0:e.key:"",checked:!!l&&l,index:i})},css:{borderRadius:"2px",width:"$9i",height:"$9i",color:"$white",backgroundColor:(null==e?void 0:e.show)?"$green600":"$white",border:"1px solid ".concat((null==e?void 0:e.show)?"none":"$grey500"," "),boxShadow:(null==e||e.show,"none !important"),"@hover":{"&:hover":{boxShadow:(null==e?void 0:e.show)?"none":"inset 0 0 0 1px $colors$checkbox-hover-shadow"}},"&:focus":{outline:"none",borderColor:(null==e?void 0:e.show)?"none":"$grey600",boxShadow:(null==e?void 0:e.show)?"none":"inset 0 0 0 1px $colors$checkbox-focus-shadow, 0 0 0 1px $colors$checkbox-focus-shadow"}}})]},i)})})]})},U=e=>{let{title:i,type:l,dataArr:n}=e;return(0,t.jsxs)(o.sg,{css:{padding:"$10i",gap:"$6i"},children:[(0,t.jsx)(o.xv,{css:{color:"$grey900",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$bold",lineHeight:"20px"},children:i}),(0,t.jsx)(o.X2,{justify:"between",css:{borderRadius:8,border:"1px solid $grey100",backgroundColor:"$grey50",height:"48px",width:"100%"},children:n.map((e,i)=>{var n,s,r,a,d,c;return(0,t.jsxs)(o.X2,{onClick:()=>{(null==e?void 0:e.count)&&V({type:l||"",key:(null==e?void 0:e.key)?null==e?void 0:e.key:"",checked:null==e||!e.show,index:i})},align:"center",justify:"center",css:{flex:1,backgroundColor:e.show?"$green50":"none",margin:"2px",borderTopLeftRadius:e.show&&parseInt("".concat(null==e?void 0:null===(n=e.key)||void 0===n?void 0:n.substring(0,1)))>4?6:0,borderBottomLeftRadius:e.show&&parseInt("".concat(null==e?void 0:null===(s=e.key)||void 0===s?void 0:s.substring(0,1)))>4?6:0,borderTopRightRadius:e.show&&4>parseInt("".concat(null==e?void 0:null===(r=e.key)||void 0===r?void 0:r.substring(0,1)))?6:0,borderBottomRightRadius:e.show&&4>parseInt("".concat(null==e?void 0:null===(a=e.key)||void 0===a?void 0:a.substring(0,1)))?6:0,border:e.show?"1px solid $green400":"$grey50",borderRight:e.show?"1px solid $green400":e.show||4!=parseInt("".concat(null==e?void 0:null===(d=e.key)||void 0===d?void 0:d.substring(0,1)))&&5!=parseInt("".concat(null==e?void 0:null===(c=e.key)||void 0===c?void 0:c.substring(0,1)))?"1px solid $grey50":"1px solid $grey100",gap:"$2i"},children:[(0,t.jsx)(o.xv,{css:{color:0==e.count?"$grey200":"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$semiBold",lineHeight:"20px"},children:null==e?void 0:e.name}),(0,t.jsx)(P.Z,{css:{fill:0==e.count?"$grey200":"$yellow400"},width:16,height:16})]},i)})})]})};return(0,t.jsxs)(o.xu,{children:[(0,t.jsx)(o.sg,{css:{height:"calc(100vh - 140px)",overflow:"auto"},children:(0,t.jsxs)(o.sg,{children:[(0,t.jsx)(G,{title:"Budget",dataArr:x,type:"budgets"}),(0,t.jsx)(U,{title:"Hotel ratings",type:"hotelRatings",dataArr:$}),(0,t.jsx)(G,{title:"Cities",type:"cities",dataArr:w}),(0,t.jsx)(G,{title:"themes",type:"themes",dataArr:b})]})}),(0,t.jsx)(o.xu,{css:{padding:"$8i $10i",position:"fixed",bottom:0,width:"100%"},children:(0,t.jsx)(o.zx,{onClick:()=>{i(!1)},primary:!0,css:{width:"100%",height:"48px"},children:(0,t.jsx)(o.xv,{css:{color:"$white",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$bold",lineHeight:"20px",fontStyle:"normal"},children:"Apply Filters"})})})]})},V=e=>{let{openPackagesV2mobFilter:i,setOpenPackagesV2mobFilter:l,filterQueryProps:n,setGroupedItineraries:r,cityVsCount:a,budgetVsCount:d,hotelRatingsVsCount:g,themeVsCount:u,setPackagesData:h}=e,p=(0,s.b9)(R.f6),x=async()=>{var e,i,l,t;let n=(0,W.Z)({},"".concat((0,T.Z)(null===(e=null===c()||void 0===c()?void 0:c().asPath.split("?"))||void 0===e?void 0:e[0])));try{let o=await (0,D.b)(n,L.Z,c().locale);if(null==o?void 0:null===(i=o.data)||void 0===i?void 0:null===(l=i.filteredItineraries)||void 0===l?void 0:l.length){h(null==o?void 0:o.data),p((null==o?void 0:o.displayCurrency)||"INR");let s=null===(t=c().asPath)||void 0===t?void 0:t.split("?")[0];c().push(s,void 0,{shallow:!0})}}catch(r){console.error({error:r})}};return(0,t.jsx)(B.Vq.fC,{open:i,onOpenChange:l,children:(0,t.jsxs)(B.Vq.VY,{onPointerDownOutside:e=>e.preventDefault(),css:{marginTop:0,height:"100%",maxHeight:"100%",width:"100%",borderRadius:0,padding:0,"& > button":{display:"none"}},children:[(0,t.jsx)(v.Z,{css:{paddingTop:"$8i",paddingBottom:"$8i"},children:(0,t.jsxs)(o.X2,{css:{alignItems:"center"},children:[(0,t.jsx)(o.xu,{onClick:()=>l(!1),css:{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"$round",backgroundColor:"$grey100",width:"36px",height:"36px",color:"$black",fontWeight:"$extraBold",textAlign:"center",marginTop:0,cursor:"pointer",border:"1px solid $grey100","&:after":{fontSize:"14px"}},children:(0,t.jsx)(I.Z,{css:{height:18,width:18,display:"inline-block",fill:"$grey600"}})}),(0,t.jsxs)(o.X2,{css:{justifyContent:"space-between",width:"90%",paddingLeft:"$6i"},children:[(0,t.jsx)(o.xv,{css:{color:"$grey900",fontFamily:"$manrope",fontSize:"$8i",fontWeight:"$bold",fontStyle:"normal"},children:"Filters"}),(0,t.jsxs)(o.X2,{css:{gap:"$6i"},children:[(0,t.jsx)(o.xv,{onClick:()=>{x(),l(!1)},css:{color:"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$bold",fontStyle:"normal",textDecoration:"underline"},children:"CLEAR ALL"}),(0,t.jsx)(H.Z,{width:13,height:13,onClick:()=>{l(!1)},css:{fill:"$grey900",cursor:"pointer"}})]})]})]})}),(0,t.jsx)(o.xu,{css:{borderBottom:"1px solid $grey100"}}),(0,t.jsx)(O,{filterQueryProps:n,setGroupedItineraries:r,setOpenPackagesV2mobFilter:l,cityVsCount:a,budgetVsCount:d,hotelRatingsVsCount:g,themeVsCount:u,setPackagesData:h})]})})};var N=l(39864),X=l(61811),q=l(93947),G=l(91296),U=l.n(G),K=l(24727),Y=l(32483),J=l(27894),Q=l(70466),ee=l(75561),ei=l(89177),el=l(41500),et=l(58783);let en=(0,n.zo)("button",{all:"unset",alignItems:"center",boxSizing:"border-box",userSelect:"none","&::before":{boxSizing:"border-box"},"&::after":{boxSizing:"border-box"},display:"inline-flex",flexShrink:0,justifyContent:"space-between",WebkitTapHighlightColor:"rgba(0,0,0,0)",cursor:"pointer"}),eo=(0,n.zo)("ul",{display:"none",overflowY:"scroll",backgroundColor:"$animated-select-ul-bg",listStyle:"none",position:"absolute",zIndex:"$10",borderRadius:"$2",boxShadow:"0px 8px 24px rgba(0, 0, 0, 0.06)",borderTop:"none",padding:"$8i $12i",gap:"$6i",maxHeight:244,width:"max-content",'&[data-open="true"]':{display:"block",marginTop:"$10i"}}),es=(0,n.zo)("li",{marginLeft:"1px",marginRight:"1px"});var er=function(e){var i,l;let{label:n,initialValue:s,options:r,onChange:a,renderItem:d,keyExtractor:c,itemToString:u,hasError:h,listLabel:p,isClear:x,labelCss:v}=e,[m,f]=(0,g.useState)(r),[$,y]=(0,g.useState)(s||[]),[w,j]=(0,g.useState)(!1);(0,g.useEffect)(()=>{f(r)},[f,r]),(0,g.useEffect)(()=>{x&&y([])},[x]);let{isOpen:b,getToggleButtonProps:C,getMenuProps:k,getInputProps:S,highlightedIndex:z,getItemProps:F}=(0,et.Kb)({items:m,itemToString:u,onSelectedItemChange:e=>{let{selectedItem:i}=e;if(!i||(null==i?void 0:i.count)==0||x)return;let l=$.findIndex(e=>(null==e?void 0:e.key)===(null==i?void 0:i.key));if(l>-1){let t=[...$.slice(0,l),...$.slice(l+1)];
1y(t),a(t,z,i)}else{let n=[...$,i];y(n),a(n,z,i)}},selectedItem:null,stateReducer:(e,i)=>{let{changes:l,type:t}=i;switch(t){case et.Kb.stateChangeTypes.InputKeyDownEnter:case et.Kb.stateChangeTypes.ItemClick:return{...l,isOpen:!0,highlightedIndex:e.highlightedIndex,inputValue:""};case et.Kb.stateChangeTypes.InputBlur:return{...l,inputValue:""};default:return l}}});return(0,t.jsxs)(o.xu,{css:{position:"relative"},children:[(0,t.jsx)(o.xu,{css:{display:"none"},children:(0,t.jsx)(o.II,{css:{width:"100%",fontSize:"$10i",backgroundColor:"transparent",boxShadow:"none","&:focus":{boxShadow:"none"}},placeholder:n,...S()})}),(0,t.jsx)(o.XM,{css:{height:"32px",border:"1px solid $grey200",borderRadius:6,width:"150px",justifyContent:"center",alignItems:"center"},"data-error":!!h,"data-focus":b||w,"data-animate":0!==$.length,children:(0,t.jsxs)(en,{type:"button",...C(),onFocus:()=>{j(!0)},onBlur:()=>{j(!1)},css:{justifyContent:"center",alignItems:"center",gap:"$6ii"},"aria-label":"toggle menu",children:[(0,t.jsx)(o.xv,{css:{color:"$grey600",fontFamily:"$manrope",fontSize:"$6ii",fontWeight:"$bold",lineHeight:"$10i",...v},children:1===$.length?(null===(i=u($[0]))||void 0===i?void 0:i.length)>13?(null===(l=u($[0]))||void 0===l?void 0:l.substring(0,10))+"...":u($[0]):0===$.length?n:"".concat($.length," selected")}),b?(0,t.jsx)(el.Z,{fill:"grey08",css:{marginTop:"1px"}}):(0,t.jsx)(ei.Z,{fill:"grey08",css:{marginTop:"1px"}})]})}),(0,t.jsxs)(eo,{"data-open":b,...k(),css:{},children:[(0,t.jsx)(o.xv,{css:{color:"$green700",fontFamily:"$manrope",fontSize:"13px",fontWeight:"$extraBold",lineHeight:"20px",letterSpacing:"0.4px",textTransform:"uppercase",paddingBottom:"$6i"},children:p}),b&&m.map((e,i)=>(0,t.jsx)(es,{...F({item:e,index:i}),css:{paddingBottom:i<(null==m?void 0:m.length)-1?"$6i":"0"},children:d(e,z===i,$.includes(e))},c(e,i)))]})]})};let ea=(0,n.zo)("a",{textDecoration:"none",transition:"0.2s"}),ed=(0,n.zo)("span",{}),ec=(0,n.zo)("a",{display:"flex"}),eg=e=>{let{isPaid:i=!1,budgetVsCount:l,hotelRatingsVsCount:n,cityVsCount:r,themeVsCount:c,isSticky:u,setPackagesData:h,regionCode:p,themeData:x,regionName:m,isCredPackage:f=!1}=e,$=(0,d.useRouter)(),y=(0,J.Z)({router:$}),w=(0,s.Dv)(R.s1),[C,k]=(0,s.KO)(R.hz),[S,z]=(0,g.useState)(!1),F=(0,g.useRef)(null),{getSelectedCityAsync:I}=(0,K.A)(),H=(0,s.b9)(R.e5),M=(0,g.useMemo)(()=>x?null==x?void 0:x.map(e=>({text:e.name||(null==e?void 0:e.themeName),link:e.key})):[],[x]),[O,V]=(0,s.KO)(R.k$),[G,ei]=(0,g.useState)(!1),{UseGetPackageRegionAsync:el,isLoading:et}=(0,Y.K)();(0,g.useEffect)(()=>{S&&setTimeout(()=>{var e;null===(e=F.current)||void 0===e||e.focus()},100)},[S]);let en=(0,s.b9)(R.f6),eo=$.locale||"in",[es,eg]=(0,g.useState)((0,_.z7)(eo,l)),[eu,eh]=(0,g.useState)(),[ep,ex]=(0,g.useState)((0,_.wv)(n)),[ev,em]=(0,g.useState)((0,_.pb)(r)),[ef,e$]=(0,g.useState)((0,_.Ee)(c)),[ey,ew]=(0,g.useState)(!1),ej=(0,g.useMemo)(()=>$.query.budgets?Array.isArray($.query.budgets)?$.query.budgets:[$.query.budgets]:[],[$.query.budgets]),eb=(0,g.useMemo)(()=>$.query.durations?Array.isArray($.query.durations)?$.query.durations:[$.query.durations]:[],[$.query.durations]),eC=(0,g.useMemo)(()=>$.query.hotelRatings?Array.isArray($.query.hotelRatings)?$.query.hotelRatings:[$.query.hotelRatings]:[],[$.query.hotelRatings]),ek=(0,g.useMemo)(()=>$.query.cities?Array.isArray($.query.cities)?$.query.cities:[$.query.cities]:[],[$.query.cities]),eS=(0,g.useMemo)(()=>$.query.themes?Array.isArray($.query.themes)?$.query.themes:[$.query.themes]:[],[$.query.themes]),[ez,eF]=(0,g.useState)({budgets:ej,durations:eb,hotelRatings:eC,cities:ek,themes:eS}),eI=(e,i)=>(null==i||i.forEach(i=>{var l;let t=null==e?void 0:e.findIndex(e=>e.key===i);(null==e?void 0:null===(l=e[t])||void 0===l?void 0:l.key)===i&&(e[t].show=!0)}),e),eH=(0,g.useCallback)(e=>{var i;let{qdata:l}=e,t=null===(i=$.asPath)||void 0===i?void 0:i.split("?")[0];$.replace({pathname:t,query:l},void 0,{shallow:!0,scroll:!1})},[$]),eB=(0,g.useCallback)(e=>{let i,{type:t,key:o,checked:s,selectedKeys:a}=e;if("budgets"==t&&s){if(i={budgets:a,durations:eb,hotelRatings:eC,cities:ek,themes:eS},(0,Q.Z)()&&o){eF(e=>({...e,budgets:[...e.budgets,o]}));let d=(0,_.z7)(eo,l),g=[...ez.budgets,o],u=eI(d,g);eg(u)}(0,A.L9W)(A.Aut,{Catagory:t,Filter:a})}else if("budgets"!=t||s){if("durations"==t&&s){let h=[...eb,o];if(i={budgets:ej,durations:h,hotelRatings:eC,cities:ek,themes:eS},(0,Q.Z)()&&o){eF(e=>({...e,durations:[...e.durations,o]}));let p=(0,_.Li)(),x=[...ez.durations,o],v=eI(p,x);eh(v)}(0,A.L9W)(A.Aut,{Catagory:t,Filter:h})}else if("durations"!=t||s){if("hotelRatings"==t&&s){let m=[...eC,o];if(i={budgets:ej,durations:eb,hotelRatings:m,cities:ek,themes:eS},(0,Q.Z)()&&o){eF(e=>({...e,hotelRatings:[...e.hotelRatings,o]}));let f=(0,_.wv)(n),$=[...ez.hotelRatings,o],y=eI(f,$);ex(y)}(0,A.L9W)(A.Aut,{Catagory:t,Filter:m})}else if("hotelRatings"!=t||s){if("cities"==t&&s){if(i={budgets:ej,durations:eb,hotelRatings:eC,cities:a,themes:eS},(0,Q.Z)()&&o){eF(e=>({...e,cities:[...e.cities,o]}));let w=(0,_.pb)(r),j=[...ez.cities,o],b=eI(w,j);em(b)}(0,A.L9W)(A.Aut,{Catagory:t,Filter:a})}else if("cities"!=t||s){if("themes"==t&&s){if(i={budgets:ej,durations:eb,hotelRatings:eC,cities:ek,themes:a},(0,Q.Z)()&&o){eF(e=>({...e,themes:[...e.themes,o]}));let C=(0,_.Ee)(c),k=[...ez.themes,o],S=eI(C,k);e$(S)}(0,A.L9W)(A.Aut,{Catagory:t,Filter:a})}else if("themes"==t&&!s){let z=eS.filter(e=>e!==o);if(i={budgets:ej,durations:eb,hotelRatings:eC,cities:ek,themes:z}
1,(0,Q.Z)()){let F=(0,_.Ee)(c),I=ez.themes.filter(e=>e!==o);eF(e=>({...e,themes:[...I]}));let H=eI(F,I);e$(H)}}}else{let B=ek.filter(e=>e!==o);if(i={budgets:ej,durations:eb,hotelRatings:eC,cities:B,themes:eS},(0,Q.Z)()){let D=(0,_.pb)(r),R=ez.cities.filter(e=>e!==o);eF(e=>({...e,cities:[...R]}));let T=eI(D,R);em(T)}}}else{let L=eC.filter(e=>e!==o);if(i={budgets:ej,durations:eb,hotelRatings:L,cities:ek,themes:eS},(0,Q.Z)()){let W=(0,_.wv)(n),P=ez.hotelRatings.filter(e=>e!==o);eF(e=>({...e,hotelRatings:[...P]}));let M=eI(W,P);ex(M)}}}else{let Z=eb.filter(e=>e!==o);if(i={budgets:ej,durations:Z,hotelRatings:eC,cities:ek,themes:eS},(0,Q.Z)()){let E=(0,_.Li)(),O=ez.durations.filter(e=>e!==o);eF(e=>({...e,durations:[...O]}));let V=eI(E,O);eh(V)}}}else{let N=ej.filter(e=>e!==o);if(i={budgets:N,durations:eb,hotelRatings:eC,cities:ek,themes:eS},(0,Q.Z)()){let X=(0,_.z7)(eo,l),q=ez.budgets.filter(e=>e!==o);eF(e=>({...e,budgets:[...q]}));let G=eI(X,q);eg(G)}}(0,Q.Z)()||eH({qdata:i})},[eb,eC,ek,eS,eo,ej,ez.budgets,ez.durations,ez.hotelRatings,ez.cities,ez.themes,l,n,r,c,eH]),eD=(0,g.useCallback)(async()=>{var e,i,l;let t=(0,W.Z)({},"".concat((0,T.Z)(null===(e=null==$?void 0:$.asPath.split("?"))||void 0===e?void 0:e[0])));t.limit=100,(null==ej?void 0:ej.length)&&(t.budgets=ej),(null==eb?void 0:eb.length)&&(t.durations=eb),(null==eC?void 0:eC.length)&&(t.hotelRatings=eC),(null==ek?void 0:ek.length)&&(t.cities=ek),(null==eS?void 0:eS.length)&&(t.themes=eS);try{let n=await (0,D.b)(t,L.Z,$.locale);(null==n?void 0:null===(i=n.data)||void 0===i?void 0:null===(l=i.filteredItineraries)||void 0===l?void 0:l.length)&&(h(null==n?void 0:n.data),en((null==n?void 0:n.displayCurrency)||"INR"))}catch(o){console.error({error:o})}},[null==$?void 0:$.asPath,$.locale,ej,eb,eC,ek,eS,h,en]),eR=(0,g.useCallback)(()=>{if(null==ej?void 0:ej.length){let e=(0,_.z7)(eo,l);eg(eI(e,ej))}else eg((0,_.z7)(eo,l));if((null==eb?void 0:eb.length)?eh(eI((0,_.Li)(),eb)):eh((0,_.Li)()),null==eC?void 0:eC.length){let i=(0,_.wv)(n);ex(eI(i,eC))}else ex((0,_.wv)(n));if(null==ek?void 0:ek.length){let t=(0,_.pb)(r);em(eI(t,ek))}else em((0,_.pb)(r));if(null==eS?void 0:eS.length){let o=(0,_.Ee)(c);e$(eI(o,eS))}else e$((0,_.Ee)(c))},[eo,ej,eb,eC,ek,eS,l,n,r,c]),eT=(0,g.useRef)({budgets:ej,durations:eb,hotelRatings:eC,cities:ek,themes:eS});(0,g.useEffect)(()=>{let e=!Z()(eT.current,{budgets:ej,durations:eb,hotelRatings:eC,cities:ek,themes:eS});e&&(eD(),eT.current={budgets:ej,durations:eb,hotelRatings:eC,cities:ek,themes:eS}),eR()},[eD,eR,ej,eb,eC,ek,eS]);let eL=(0,g.useMemo)(()=>(null==w?void 0:w.loggedIn)&&(null==w?void 0:w.partner)==="CLUB_MAHINDRA"&&"true"===localStorage.getItem("show_combined_logo")?"CLUB_MAHINDRA":"",[null==w?void 0:w.loggedIn,null==w?void 0:w.partner]),eW=async()=>{var e,i,l,t;ew(!0);let n=(0,W.Z)({},"".concat((0,T.Z)(null===(e=null==$?void 0:$.asPath.split("?"))||void 0===e?void 0:e[0])));try{let o=await (0,D.b)(n,L.Z,$.locale);if(null==o?void 0:null===(i=o.data)||void 0===i?void 0:null===(l=i.filteredItineraries)||void 0===l?void 0:l.length){h(null==o?void 0:o.data),en((null==o?void 0:o.displayCurrency)||"INR");let s=null===(t=$.asPath)||void 0===t?void 0:t.split("?")[0];$.push(s,void 0,{shallow:!0}),ew(!1)}}catch(r){console.error({error:r})}},eP=(0,g.useCallback)(U()(async e=>{try{if((null==e?void 0:e.length)&&""!==e){let i=await el({searchString:e});if(console.log({response:i}),(null==i?void 0:i.message)=="Success"&&(null==i?void 0:i.data)){let l=Object.keys(null==i?void 0:i.data),t=null==l?void 0:l.map(e=>{var l,t,n;return{region:e,regionData:null===(l=null==i?void 0:i.data[e])||void 0===l?void 0:l.packages,cityId:null===(t=null==i?void 0:i.data[e])||void 0===t?void 0:t.cityId,regionCode:null===(n=null==i?void 0:i.data[e])||void 0===n?void 0:n.regionCode}});V(t)}else ei(!0)}else ei(!1),V([])}catch(n){ei(!0),V([])}},1e3),[]),eM=e=>{k(e.target.value),eP(e.target.value)},eZ=async e=>{let{cityId:i,regionNmae:l,regionCode:t}=e;if(i){let{data:n}=await I({cityId:i});H({selectedCityId:i,displayTextForRegion:l,cities:[n]})}$.push("/customize/".concat(t))},eA=()=>{var e;(0,A.L9W)(A.bFS,{Region:p}),$.push({pathname:null===(e=$.asPath)||void 0===e?void 0:e.split("?")[0],query:{...null==$?void 0:$.query,m:"cbr"}},void 0,{shallow:!0})};return(0,t.jsx)(o.X2,{className:"pkges-desktop-filter",css:{position:u?"fixed":"relative",top:0,left:0,width:"100%",backgroundColor:"white",padding:"8px 8px 0px",boxShadow:u?"0px 4px 6px rgba(0, 0, 0, 0.1)":"none",zIndex:1e3,transition:"opacity 0.3s ease-in-out 0.3s, transform 0.3s ease-in-out 0.3s",opacity:u?1:0,transform:u?"translateY(0)":"translateY(-20px)"},children:(0,t.jsxs)(v.Z,{children:[(0,t.jsxs)(o.X2,{css:{borderBottom:"1px solid $grey100",paddingBottom:"$4i"},justify:"between",children:[(0,t.jsxs)(o.X2,{align:"center",css:{gap:"$15i"},children:[(0,t.jsx)(ea,{as:i?"span":"a",...i?{}:{href:""===y?"/":"/".concat(y)},onClick:()=>{(0,A.L9W)(A.U9I)},children:(0,t.jsx)(ee.Z,{isTransparent:!1,type:eL})}),(0,t.jsxs)(B.J2.fC,{open:S,modal:!1,onOpenChange:z,children:[(0,t.jsx)(B.J2.xz,{asChild:!0,onClick:e=>{e.preventDefault(),z(!0)},children:(0,t.jsxs)(o.X2,{css:{},onClick:()=>z(!0),children:[(0,t.jsx)(o.xu,{css:{width:"272px",borderTop:"1px solid $grey300",borderBottom:"1px solid $grey300",borderLeft:"1px solid $grey300",borderTopLeftRadius:"10px",borderBottomLeftRadius:"10px",overflow:"hidden",backgroundColor:"$white"},children:(0,t.jsx)(o.II,{ref:F,value:C,placeholder:"Search countries, cities..",css:{padding:"$7i 0 $7i $7i",height:"auto",boxShadow:"none",border:"none",color:"$grey700",fontFamily:"$manrope",fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bolder","&::placeholder":{color:"$grey700",fontFamily:"$manrope",fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bolder"},"&:hover":{border:"none",boxShadow:"none"},"&:focus":{border:"none",boxShadow:"none"}},onBlur:e=>{if(S){var i;e.preventDefault(),null===(i=F.current)||void 0===i||i.focus()}},onChange:eM})}),(0,t.jsx)(o.xu,{css:{padding:"0 $8i",backgroundColor:"$accent400",display:"flex",alignItems:"center",justifyContent:"center",borderTopRightRadius:"10px",borderBottomRightRadius:"10px"},children:(0,t.jsx)(X.Z,{fill:"$white"})})]})}),(0,t.jsx)(B.J2.VY,{css:{height:(null==C?void 0:C.length)?"392px":"fit-content",width:"264px",backgroundColor:"$white",overflow:"scroll",marginTop:"10px",border:"1px solid $grey100",boxShadow:"none",padding:0},children:(null==C?void 0:C.length)||""!=C?et?(0,t.jsx)(o.sg,{justify:"center",css:{gap:"$14i",height:"100%",padding:"0 $6i"},children:[1,2,3,4,5,6,7,8].map((e,i)=>(0,t.jsx)(o.xu,{children:(0,t.jsx)(o.Od,{variant:"text",css:{width:"100%",height:"12px",background:"linear-gradient(90deg, #F7F8FB 24.09%, rgba(248, 249, 252, 0.00) 115.76%)"}})},i))}):(0,t.jsx)(t.Fragment,{children:(null==O?void 0:O.length)?(0,t.jsx)(t.Fragment,{children:null==O?void 0:O.map((e,i)=>{var l;return(0,t.jsxs)(o.sg,{css:{borderBottom:(null==O?void 0:O.length)-1==i?"none":"1px solid $grey100",padding:"$8i 0 0 $8i",".packagesType":{"&:hover":{backgroundColor:"$yellow50"}}},children:[(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bolder",color:"$grey800",fontFamily:"$manrope"},children:(0,E.Z)(e.region)}),(0,t.jsxs)(ec,{href:"/customize/".concat(null==e?void 0:e.regionCode),className:"packagesType",onClick:i=>{null==i||i.preventDefault(),eZ({cityId:null==e?void 0:e.cityId,regionNmae:e.region,regionCode:null==e?void 0:e.regionCode})},css:{padding:"$8i",gap:"$2i",cursor:"pointer"},children:[(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bolder",color:"$grey800",fontFamily:"$manrope",alignItems:"center"},children:"Build your own Itinerary"}),(0,t.jsx)(b.Z,{fill:"#09B367"})]}),null==e?void 0:null===(l=e.regionData)||void 0===l?void 0:l.map((e,i)=>(0,t.jsx)(ec,{href:"/".concat(null==e?void 0:e.key),className:"packagesType",css:{padding:"$8i",gap:"$2i",cursor:"pointer",alignItems:"center"},children:(0,t.jsxs)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bolder",color:"$grey800",fontFamily:"$manrope"},children:[null==e?void 0:e.name," ",(0,t.jsx)(ed,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bold",color:"$grey800",fontFamily:"$manrope"},children:"packages"})]})},i))]},i)})}):G?(0,t.jsx)(o.sg,{justify:"center",align:"center",css:{gap:"$14i",height:"100%",padding:"0 $6i"},children:(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bolder",color:"$grey800",fontFamily:"$manrope"},children:"No result found!"})}):null}):(0,t.jsxs)(o.sg,{css:{".packagesType":{"&:hover":{backgroundColor:"$yellow50"}}},children:[(0,t.jsxs)(ec,{className:"packagesType",href:"/customize/".concat(p),css:{padding:"$7i",gap:"$2i",backgroundColor:"$blue50",cursor:"pointer",alignItems:"center"},children:[(0,t.jsx)(b.Z,{fill:"#09B367"}),(0,t.jsxs)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bold",color:"$grey800",fontFamily:"$manrope"},children:["Build your ",m," itinerary"]}),(0,t.jsx)(N.Z,{fill:"$grey500",css:{marginTop:"$2i"}})]}),null==M?void 0:M.map((e,i)=>(0,t.jsx)(ec,{className:"packagesType",href:"/".concat(null==e?void 0:e.link),css:{padding:"$8i",gap:"$2i",borderBottom:(null==M?void 0:M.length)-1==i?"none":"1px solid $grey100",cursor:"pointer",alignItems:"center"},children:(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bolder",color:"$grey800",fontFamily:"$manrope"},children:(0,E.Z)(null==e?void 0:e.text)})},i))]})})]})]}),(0,t.jsxs)(o.X2,{css:{gap:"$5i"},align:"center",children:[(0,t.jsx)(o.X2,{align:"center",css:{display:"flex",position:"relative",height:"$24i"},children:(0,t.jsx)(o.xu,{css:{width:57,height:36,position:"relative",overflow:"hidden"},children:(0,t.jsx)(a(),{src:(0,j.Z)("https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/Group+82094+(2).png","w=57&h=36&auto=format&fit=crop"),fill:!0,alt:"travelExpertImg"})})}),(0,t.jsxs)(o.xu,{children:[(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$11i",fontWeight:"$bolder",color:"$grey950",fontFamily:"$manrope"},children:"Need a hand?"}),(0,t.jsx)(o.xv,{css:{fontSize:"$6i",lineHeight:"$10i",fontWeight:"$normal",color:"$grey950",fontFamily:"$manrope"},children:"Our travel experts are a call away."})]}),(0,t.jsxs)(o.zx,{onClick:eA,css:{gap:"$2i",height:"fit-content",display:"flex",alignItems:"center",backgroundColor:"$green500",padding:"$6i $7i"},children:[(0,t.jsx)(q.Z,{fill:"#fff",height:24,width:24}),(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$11i",fontWeight:"$bolder",color:"$white",fontFamily:"$manrope"},children:"Get Callback"})]})]})]}),f?null:(0,t.jsxs)(o.xu,{css:{padding:"$4i 0",display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,t.jsxs)(o.X2,{align:"center",css:{},children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"20px",letterSpacing:"0.4px",textTransform:"uppercase",paddingRight:"$5i"},children:"Budget"}
1),(0,t.jsx)(er,{label:"Choose Budget",initialValue:null,options:es,listLabel:"Budget",isClear:ey,renderItem:e=>(0,t.jsx)(o.sg,{children:(0,t.jsxs)(o.X2,{align:"center",css:{gap:"$3i",cursor:(null==e?void 0:e.count)==0?"not-allowed":"pointer",padding:"$4 $4 $5"},children:[(0,t.jsx)(o.XZ,{checked:null==e?void 0:e.show,css:{color:(null==e?void 0:e.count)==0?"$grey400":(null==e?void 0:e.show)?"$green500":"$grey500",width:"$8i",height:"$8i",border:"1px solid ".concat((null==e?void 0:e.show)?"$green500":"$grey500"," "),boxShadow:(null==e||e.show,"none !important")},disabled:(null==e?void 0:e.count)==0}),(0,t.jsx)(o.xv,{css:{display:"inline",color:(null==e?void 0:e.count)==0?"$grey400":"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px",letterSpacing:"0.4px"},children:e.name}),(0,t.jsx)(o.xv,{css:{color:(null==e?void 0:e.count)==0?"$grey400":"$grey600",fontFamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px"},children:"(".concat(null==e?void 0:e.count,")")})]})}),keyExtractor:(e,i)=>"".concat(i),onChange:e=>{let i=new Map;null==e||e.forEach(e=>{let l=i.get(e.key);l&&(!e.show||l.show)||i.set(e.key,e)});let l=new Set(i.values()),t=Array.from(l);eB({type:"budgets",selectedKeys:null==t?void 0:t.filter(e=>!("show"in e&&!0===e.show)).map(e=>e.key),checked:!0,key:""})},itemToString:e=>(null==e?void 0:e.name)||""})]}),(0,t.jsx)(o.xu,{css:{borderRight:"1px solid $grey100",height:"inherit",marginLeft:"$10i"}}),(0,t.jsxs)(o.X2,{align:"center",css:{},children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"20px",letterSpacing:"0.4px",textTransform:"uppercase",paddingRight:"$4i",paddingLeft:"$8i"},children:"hotel category"}),(0,t.jsx)(o.X2,{css:{gap:"$4i"},children:ep.map((e,i)=>{var l;return(0,t.jsxs)(o.X2,{onClick:()=>{(null==e?void 0:e.count)!==0&&eB({type:"hotelRatings",key:(null==e?void 0:e.key)?null==e?void 0:e.key:"",checked:null==e||!e.show,selectedKeys:[]})},align:"center",justify:"center",css:{cursor:(null==e?void 0:e.count)!==0?"pointer":"not-allowed",height:"$16i",padding:"$3i $6i",borderRadius:6,border:"1px solid ".concat((null==e?void 0:e.show)?"$green800":"$grey200"),backgroundColor:(null==e?void 0:e.show)?"$accent400":"$white",gap:"2px"},children:[(0,t.jsx)(o.xv,{css:{color:(null==e?void 0:e.count)==0?"$grey200":(null==e?void 0:e.show)?"$white":"$grey900",fontFamily:"$manrope",fontSize:"13px",fontWeight:"$bold",lineHeight:"20px"},children:parseInt("".concat(null==e?void 0:null===(l=e.key)||void 0===l?void 0:l.substring(0,1)))}),(0,t.jsx)(P.Z,{css:{fill:(null==e?void 0:e.count)==0?"$grey200":"$yellow400"},width:14,height:14})]},i)})})]}),(0,t.jsx)(o.xu,{css:{borderRight:"1px solid $grey100",height:"inherit",marginLeft:"$8i"}}),(0,t.jsxs)(o.X2,{align:"center",css:{paddingLeft:"$8i"},children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"20px",letterSpacing:"0.4px",textTransform:"uppercase",paddingRight:"$5i"},children:"Cities"}),(0,t.jsx)(er,{label:"Choose Cities",initialValue:null,options:ev,listLabel:"Cities",isClear:ey,renderItem:e=>(0,t.jsx)(o.sg,{children:(0,t.jsxs)(o.X2,{align:"center",css:{gap:"$3i",cursor:(null==e?void 0:e.count)==0?"not-allowed":"pointer",padding:"$4 $4 $5"},children:[(0,t.jsx)(o.XZ,{checked:null==e?void 0:e.show,css:{color:(null==e?void 0:e.count)==0?"$grey400":(null==e?void 0:e.show)?"$green500":"$grey500",width:"$8i",height:"$8i",border:"1px solid ".concat((null==e?void 0:e.show)?"$green500":"$grey500"," "),boxShadow:(null==e||e.show,"none !important")},disabled:(null==e?void 0:e.count)==0}),(0,t.jsx)(o.xv,{css:{display:"inline",color:(null==e?void 0:e.count)==0?"$grey400":"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px",letterSpacing:"0.4px"},children:e.name}),(0,t.jsx)(o.xv,{css:{color:(null==e?void 0:e.count)==0?"$grey400":"$grey600",fontFamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px"},children:"(".concat(null==e?void 0:e.count,")")})]})}),keyExtractor:(e,i)=>"".concat(i),onChange:e=>{let i=new Map;
1null==e||e.forEach(e=>{let l=i.get(e.key);l&&(!e.show||l.show)||i.set(e.key,e)});let l=new Set(i.values()),t=Array.from(l);eB({type:"cities",selectedKeys:null==t?void 0:t.filter(e=>!("show"in e&&!0===e.show)).map(e=>e.key),checked:!0,key:""})},itemToString:e=>(null==e?void 0:e.name)||""})]}),(0,t.jsx)(o.xu,{css:{borderRight:"1px solid $grey100",marginLeft:"$8i",height:"inherit"}}),(0,t.jsxs)(o.X2,{align:"center",css:{paddingLeft:"$8i"},children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"20px",letterSpacing:"0.4px",textTransform:"uppercase",paddingRight:"$5i"},children:"Themes"}),(0,t.jsx)(er,{label:"Choose Themes",initialValue:null,options:ef,listLabel:"Themes",isClear:ey,renderItem:e=>{var i;return(0,t.jsx)(o.sg,{children:(0,t.jsxs)(o.X2,{align:"center",css:{gap:"$3i",cursor:(null==e?void 0:e.count)==0?"not-allowed":"pointer",padding:"$4 $4 $5"},children:[(0,t.jsx)(o.XZ,{checked:null==e?void 0:e.show,css:{color:(null==e?void 0:e.count)==0?"$grey400":(null==e?void 0:e.show)?"$green500":"$grey500",width:"$8i",height:"$8i",border:"1px solid ".concat((null==e?void 0:e.show)?"$green500":"$grey500"," "),boxShadow:(null==e||e.show,"none !important")},disabled:(null==e?void 0:e.count)==0}),(0,t.jsx)(o.xv,{css:{display:"inline",color:(null==e?void 0:e.count)==0?"$grey400":"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px",letterSpacing:"0.4px"},children:(0,E.Z)(null===(i=e.name)||void 0===i?void 0:i.replace("-"," "))}),(0,t.jsx)(o.xv,{css:{color:(null==e?void 0:e.count)==0?"$grey400":"$grey600",fontFamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px"},children:"(".concat(null==e?void 0:e.count,")")})]})})},keyExtractor:(e,i)=>"".concat(i),onChange:e=>{let i=new Map;null==e||e.forEach(e=>{let l=i.get(e.key);l&&(!e.show||l.show)||i.set(e.key,e)});let l=new Set(i.values()),t=Array.from(l);eB({type:"themes",selectedKeys:null==t?void 0:t.filter(e=>!("show"in e&&!0===e.show)).map(e=>e.key),checked:!0,key:""})},itemToString:e=>(null==e?void 0:e.name)||""})]}),(null==ej?void 0:ej.length)||(null==eb?void 0:eb.length)||(null==eC?void 0:eC.length)||(null==ek?void 0:ek.length)||(null==eS?void 0:eS.length)?(0,t.jsx)(o.X2,{justify:"center",align:"center",children:(0,t.jsx)(o.xv,{onClick:()=>{eW()},css:{marginLeft:"$6i",color:"$grey600",fontFamily:"$manrope",fontSize:"13px",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"20px",letterSpacing:"0.4px",textDecoration:"underline",textDecorationStyle:"solid",textDecorationSkipInk:"none",textDecorationThickness:"7%",textUnderlineOffset:"25%",textUnderlinePosition:"from-font",cursor:"pointer"},children:"Clear all"})}):(0,t.jsx)(o.xu,{css:{width:"55px",marginLeft:"$6i"}})]})]})})};var eu=l(91130),eh=l(24802),ep=l(24636),ex=l(67439);let ev=(0,n.zo)(function(e){return(0,t.jsx)("svg",{width:25,height:18,viewBox:"0 0 25 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M23.5655 7.25124L18.153 0.870149C17.7727 0.40607 17.1876 0 16.5147 0H3.26148C2.09122 0 1.47683 0.783134 1.35981 1.91433L0.0140061 15.2566C-0.132276 16.2718 0.891702 17.1709 1.94494 17.1709H6.86003L8.26434 6.03303C8.2936 5.68497 8.35211 5.48194 8.55691 5.30791C8.76171 5.13388 8.99576 5.04686 9.28832 5.04686C9.49312 5.04686 9.6394 5.07587 9.78568 5.16288L16.3099 7.74433C16.6902 7.88935 16.9535 8.23741 16.9535 8.64348C16.9535 9.04955 16.6902 9.39761 16.3099 9.54263L11.0145 11.863C10.283 12.2981 10.0197 12.6172 9.78568 13.6033L9.37609 17.1709H15.637C16.5147 17.1709 16.8365 16.7359 17.2754 16.3008L23.5655 9.9197C24.2384 9.13656 24.2384 8.03438 23.5655 7.25124Z",fill:"#09B367"})})},{}),em=e=>{let{onOpenPackagesV2mobFilter:i,setOpenPackagesV2mobFilter:l}=e;return(0,t.jsx)(o.X2,{className:"pkges-mob-filter",css:{position:"fixed",top:0,zIndex:500,backgroundColor:"$white",width:"100%"},children:(0,t.jsxs)(v.Z,{css:{display:"flex",padding:"$3i $8i",alignItems:"center",justifyContent:"space-between",gap:0},children:[(0,t.jsx)(ev,{css:{height:"$9i",width:"$12i"}}),(0,t.jsxs)(o.X2,{css:{gap:"$4i"},children:[(0,t.jsxs)(o.zx,{onClick:i,outlined:!0,secondary:!0,css:{width:"205px",height:"44px",backgroundColor:"$white",border:"1px solid $grey300",boxShadow:"none",borderRadius:10,padding:0,justifyContent:"space-between"},children:[(0,t.jsx)(o.xv,{css:{color:"$grey700",fontFamily:"$manrope",fontSize:"13px",fontWeight:"$bold",lineHeight:"$10i",padding:"$6i 0 $6i $5i"},children:"Search destinations..."}),(0,t.jsx)(o.xu,{css:{height:"44px",width:"40px",backgroundColor:"$accent400",display:"flex",justifyContent:"center",alignItems:"center",padding:0,borderTopRightRadius:10,borderBottomRightRadius:10},children:(0,t.jsx)(ep.Z,{css:{fill:"$white"},height:16,width:16})})]}),(0,t.jsxs)(o.zx,{onClick:()=>l(!0),css:{backgroundColor:"$yellow100",border:"1px solid $yellow200",width:"86px",height:"44px",borderRadius:10,boxShadow:"none"},children:[(0,t.jsx)(ex.Z,{color:"#09B367",width:14,height:16}),(0,t.jsx)(o.xv,{css:{color:"$grey900",fontFamily:"$manrope",fontSze:"13px",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px",paddingLeft:"$2i"},children:"Filter"})]})]})]})})};var ef=l(5152),e$=l.n(ef);let ey=e=>{let{children:i,titleElement:l,titleDesktopElement:n,css:s}=e;return(0,t.jsxs)(o.Kq,{css:{...s},children:[(0,Q.Z)()?l:n,i]})};var ew=l(49441),ej=l(62736),eb=l(9994),eC=l(98273),ek=l(54246),eS=l(90083),ez=l(21665),eF=l(83359),eI=l(63684),eH=l(39986),eB=l(59824),eD=l(93290),eR=l(35946);let eT=(0,n.zo)(function(e){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",enableBackgroun
1d:"new 0 0 128 128",viewBox:"0 0 128 128",...e,children:[(0,t.jsxs)("radialGradient",{id:"a",cx:"68.8839",cy:"124.2963",gradientTransform:"matrix(-1 -.00434301 -.00712592 1.6408 131.9857 -79.3452)",gradientUnits:"userSpaceOnUse",r:"70.587",children:[(0,t.jsx)("stop",{offset:".3144",stopColor:"#ff9800"}),(0,t.jsx)("stop",{offset:".6616",stopColor:"#ff6d00"}),(0,t.jsx)("stop",{offset:".9715",stopColor:"#f44336"})]}),(0,t.jsxs)("radialGradient",{id:"b",cx:"64.9211",cy:"54.0621",gradientTransform:"matrix(-.0101 .9999 .7525 .00760378 26.1538 -11.2668)",gradientUnits:"userSpaceOnUse",r:"73.8599",children:[(0,t.jsx)("stop",{offset:".2141",stopColor:"#fff176"}),(0,t.jsx)("stop",{offset:".3275",stopColor:"#fff27d"}),(0,t.jsx)("stop",{offset:".4868",stopColor:"#fff48f"}),(0,t.jsx)("stop",{offset:".6722",stopColor:"#fff7ad"}),(0,t.jsx)("stop",{offset:".7931",stopColor:"#fff9c4"}),(0,t.jsx)("stop",{offset:".8221",stopColor:"#fff8bd",stopOpacity:".804"}),(0,t.jsx)("stop",{offset:".8627",stopColor:"#fff6ab",stopOpacity:".529"}),(0,t.jsx)("stop",{offset:".9101",stopColor:"#fff38d",stopOpacity:".2088"}),(0,t.jsx)("stop",{offset:".9409",stopColor:"#fff176",stopOpacity:0})]}),(0,t.jsx)("path",{d:"m35.56 40.73c-.57 6.08-.97 16.84 2.62 21.42 0 0-1.69-11.82 13.46-26.65 6.1-5.97 7.51-14.09 5.38-20.18-1.21-3.45-3.42-6.3-5.34-8.29-1.12-1.17-.26-3.1 1.37-3.03 9.86.44 25.84 3.18 32.63 20.22 2.98 7.48 3.2 15.21 1.78 23.07-.9 5.02-4.1 16.18 3.2 17.55 5.21.98 7.73-3.16 8.86-6.14.47-1.24 2.1-1.55 2.98-.56 8.8 10.01 9.55 21.8 7.73 31.95-3.52 19.62-23.39 33.9-43.13 33.9-24.66 0-44.29-14.11-49.38-39.65-2.05-10.31-1.01-30.71 14.89-45.11 1.18-1.08 3.11-.12 2.95 1.5z",fill:"url(#a)"}),(0,t.jsx)("path",{d:"m76.11 77.42c-9.09-11.7-5.02-25.05-2.79-30.37.3-.7-.5-1.36-1.13-.93-3.91 2.66-11.92 8.92-15.65 17.73-5.05 11.91-4.69 17.74-1.7 24.86 1.8 4.29-.29 5.2-1.34 5.36-1.02.16-1.96-.52-2.71-1.23-2.15-2.05-3.7-4.72-4.44-7.6-.16-.62-.97-.79-1.34-.28-2.8 3.87-4.25 10.08-4.32 14.47-.22 13.57 10.99 24.57 24.55 24.57 17.09 0 29.54-18.9 19.72-34.7-2.85-4.6-5.53-7.61-8.85-11.88z",fill:"url(#b)"})]})},{}),eL=(0,n.zo)(function(e){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:12,viewBox:"0 0 14 12",fill:"none",...e,children:[(0,t.jsx)("path",{opacity:"0.4",d:"M10.3334 0.705902L9.4861 2.99581L7.19619 3.84316L9.4861 4.6905L10.3334 6.98041L11.1808 4.6905L13.4707 3.84316L11.1808 2.99581L10.3334 0.705902Z",fill:"#FFC933"}),(0,t.jsx)("path",{d:"M4.45099 3.84314L3.39181 6.70553L0.529422 7.76471L3.39181 8.82389L4.45099 11.6863L5.51017 8.82389L8.37256 7.76471L5.51017 6.70553L4.45099 3.84314Z",fill:"#FFC806"})]})},{});var eW=l(47304);let eP=e=>{var i,l,n,s,r,a,c,u,h,p,x,v,m,f,$,y,w,b,C,k,S,z,F,I,H,B,D,R;let{cardData:T,locale:L,index:W,isBundle:P=!1,isPackagesDuration:M,isRecentlyBooked:Z,isExclusive:_,isPaid:O}=e,V=(0,d.useRouter)(),N=(0,J.Z)({router:V}),{assignUserAsync:X}=(0,ek.w)(),q=(0,g.useMemo)(()=>{let e={recommended:!0,videos:"string"==typeof(null==T?void 0:T.videos)?null==T?void 0:T.videos:"object"==typeof(null==T?void 0:T.videos)&&(null==T?void 0:T.videos)?null==T?void 0:T.videos[0]:"",image:null==T?void 0:T.image,bannerInnerCardData:{title:null==T?void 0:T.title,strikedCost:null==T?void 0:T.strikedCost,startsAtPrice:null==T?void 0:T.itineraryCost,pills:null==T?void 0:T.pills,hotelsIncluded:null==T?void 0:T.hotelsIncluded,activities:null==T?void 0:T.activities,flightsIncluded:null==T?void 0:T.flightsIncluded,transferIncluded:null==T?void 0:T.transferIncluded,visaIncluded:null==T?void 0:T.visaIncluded,visaType:null==T?void 0:T.visaType,campaignItineraryId:null==T?void 0:T.campaignItineraryId,regionCode:null==T?void 0:T.regionCode,regionName:null==T?void 0:T.regionName}};return(0,eB.Y)(e,L)},[L,T]),G=(0,g.useMemo)(()=>{var e;return(null==T?void 0:null===(e=T.activities)||void 0===e?void 0:e.sort(()=>Math.random()-.5))||[]},[null==T?void 0:T.activities]),U=(0,g.useMemo)(()=>{var e,i;let l=[];return(null==T?void 0:T.images)&&(null==T?void 0:null===(e=T.images)||void 0===e?void 0:e.length)>0?null==T||null===(i=T.images)||void 0===i||i.forEach(e=>{let i=(0,j.Z)("".concat((0,eI.Z)(e)),"w=530&h=260&fit=crop");l.push(i)}):l.push((0,j.Z)("".concat(null==T?void 0:T.image),"w=530&h=260&fit=crop")),l},[null==T?void 0:T.image,null==T?void 0:T.images]),K=async()=>
1{if((0,A.L9W)(A.Huo,{Itinerary_name:null==T?void 0:T.title,cost:null==T?void 0:T.itineraryCost,itineraryId:null==T?void 0:T.campaignItineraryId,Region:null==T?void 0:T.regionName}),null==T?void 0:T.slug)(0,eD.Z)("/".concat(null==T?void 0:T.slug));else{var e,i,l;if(Z){let t={id:null==T?void 0:T.campaignItineraryId,data:(0,eF.L1)({router:V,lastLocation:{pathname:V.asPath},precost:!1}),locale:N,recentlyBookedItinerary:!0};(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.recentlyBookedItinerary)&&(null==t||null===(i=t.data)||void 0===i||delete i.recentlyBookedItinerary);let n=await X(t);n&&V.push("/customize/".concat(null==T?void 0:T.regionCode,"/view/").concat(n.data))}else""===N?O?V.push({pathname:null==V?void 0:null===(l=V.asPath)||void 0===l?void 0:l.split("?")[0],query:{...null==V?void 0:V.query,m:"gcm",id:null==T?void 0:T.campaignItineraryId,rc:null==T?void 0:T.regionCode,rcName:null==T?void 0:T.regionName,isPaid:O,recentlyBookedItinerary:Z||!1}},void 0,{shallow:!0}):(0,eD.Z)("/".concat(null==T?void 0:T.slug)):(0,eD.Z)("/".concat(N,"/").concat(null==T?void 0:T.slug))}},Y=[{color:"$scustom72",bg:"$scustom73"},{color:"$scustom74",bg:"$scustom75"},{color:"$scustom76",bg:"$scustom77"},{color:"$scustom78",bg:"$scustom79"},{color:"$scustom80",bg:"$scustom81"}],Q=()=>{var e;let i=[{text:"Couple",color:"$red900",bg:"$red100"},{text:"Adventure",color:"$violet800",bg:"$violet100"},{text:"Family",color:"$yellow800",bg:"$yellow100"},{text:"Leisure",color:"$pblue900",bg:"$pblue300"},{text:"Friends",color:"$red900",bg:"$red100"}];return(0,t.jsx)(o.X2,{css:{flexWrap:"wrap",gap:"$3i"},children:null==T?void 0:null===(e=T.pills)||void 0===e?void 0:e.map((e,l)=>{var n,s;return(0,t.jsx)(o.X2,{justify:"center",align:"center",css:{padding:"1px 12px 3px 12px",borderRadius:50,backgroundColor:"".concat(null===(n=i[l])||void 0===n?void 0:n.bg)},children:(0,t.jsx)(o.xv,{css:{color:"".concat(null===(s=i[l])||void 0===s?void 0:s.color),fontFamily:"$manrope",fontSize:"13px",fontWeight:"$bold",lineHeight:"$10i"},children:e})},l+"theme-pill")})})};return(0,t.jsxs)(o.xu,{css:{position:"relative",transition:"all ease 0.7s",border:P?"none":Z?"4px solid $accent300":"1px solid $yellow200",borderRadius:"$4",width:"300px",height:"100%",display:"flex",flexDirection:"column",overflow:"hidden",backgroundColor:"$white","&:hover":{boxShadow:"0px 8px 16px 0px rgba(33, 36, 44, 0.18)",borderRadius:"$4",".check":{".nav-arrow-wrapper":{display:"flex"}}},"@lg":{width:"320px"}},children:[M&&(null==T?void 0:null===(i=T.pills)||void 0===i?void 0:i.length)?(0,t.jsx)(o.X2,{css:{position:"absolute",top:8,left:8,height:"20px",zIndex:"2",gap:"$2i","@lg":{top:10,left:10}},children:(0,t.jsxs)(o.X2,{align:"center",justify:"between",css:{height:"27px",borderRadius:7,backgroundColor:"$yellow400",padding:"$2i $4i",gap:"$2i"},children:[(0,t.jsx)(eT,{width:18,height:18}),(0,t.jsx)(o.xv,{css:{color:"$black",fontFamily:"$manrope",fontSize:"$6i",fontWeight:"$bolder",lineHeight:"$9i"},children:null===(l=null==T?void 0:T.pills[0])||void 0===l?void 0:l.replace("_"," ")})]})}):null,_&&(null==T?void 0:T.offerEndsOn)?(0,t.jsx)(o.X2,{justify:"center",align:"center",css:{position:"absolute",top:8,left:8,zIndex:2,backgroundColor:"$red500",gap:"3px",borderRadius:"7px"},children:(0,t.jsxs)(o.xv,{as:"span",css:{padding:"$2i $4i",color:"$white",fontSize:"$6i",fontStyle:"normal",fontWeight:"700",lineHeight:"18px",fontFamily:"$manrope"},children:["Offer ends in ",(0,t.jsx)(eW.Z,{timestamp:null==T?void 0:T.offerEndsOn})]})}):null,(0,t.jsxs)(o.kC,{onClick:K,css:{transition:"none",gap:"0 !important",borderRadius:"12px",overflow:"hidden",cursor:"pointer",flexDirection:"column",flex:1,"@lg":{flexFlow:"initial",flexDirection:"column",borderBottomLeftRadius:Z?0:(null==T?void 0:T.activities)&&(null==T?void 0:null===(n=T.activities)||void 0===n?void 0:n.length)>0?0:12,borderBottomRightRadius:Z?0:(null==T?void 0:T.activities)&&(null==T?void 0:null===(s=T.activities)||void 0===s?void 0:s.length)>0?0:12,borderTopLeftRadius:Z?0:"12px",borderTopRightRadius:Z?0:"12px"}},children:[(0,t.jsxs)(o.sg,{css:{},children:[Z?(0,t.jsxs)(o.X2,{justify:"center",align:"center",css:{width:"100%",zIndex:2,backgroundColor:"$accent300",gap:"3px",padding:"$2i 0",borderRadius:0},children:[(0,t.jsx)(o.kC,{justify:"center",align:"center",css:{width:26,height:26,borderRadius:30,backgroundColor:(null===(r=Y[W%Y.length])||void 0===r?void 0:r.bg)||"$scustom71"},children:(0,t.jsx)(o.xv,{css:{color:(null===(a=Y[W%Y.length])||void 0===a?void 0:a.color)||"$scustom70",fontFamily:"$manrope",fontSize:"$8i",fontStyle:"normal",fontWeight:"$bold"},children:null==T?void 0:null===(c=T.bookedBy)||void 0===c?void 0:c[0]})}),(0,t.jsxs)(o.xv,{css:{color:"$black",fontFamily:"$manrope",fontSize:"13px",fontWeight:"$bolder",lineHeight:"$10i"},children:[null==T?void 0:null===(u=T.bookedBy)||void 0===u?void 0:u.split(" ")[0]," from"," ",T.departureCity," ",(null==T?void 0:T.bookedDay)?null==T?void 0:T.bookedDay:null]})]}):null,(0,t.jsxs)(o.xu,{css:{display:"block",height:"158px",flexBasis:"120px",position:"relative",width:"300px","@lg":{height:"158px",width:"320px",".imageBanner":{transition:"all 0.3s ease-in-out",objectFit:"cover"},"&:hover":{".imageBanner":{transform:"scale(1.1)"}}}},className:"check",children:[(0,t.jsx)(ez.default,{mediaCards:U,index:W,mobHeight:"158px",height:"158px",title:null==T?void 0:T.title,fallBackImage:"https://pyt-images.imgix.net/images/costing_screen/placeholder/desktop/hotels.png",id:"".concat((0,eR.l)(null==T?void 0:null===(h=T.title)||void 0===h?void 0:h.replace(/ /g,"-"),"card"))}),P?(0,t.jsx)(o.xu,{css:{position:"absolute",bottom:0,left:0,zIndex:2,background:"linear-gradient(360deg, rgb(23, 24, 28) 0%, rgba(23, 24, 28, 0) 100%)",height:"30%",width:"100%"}}):null]})]}),(0,t.jsx)(o.sg,{css:{flex:1,display:"flex",flexDirection:"column",backgroundColor:P?"$grey950":"$white","@lg":{justifyContent:"space-between"}},children:(0,t.jsx)(o.xu,{css:{flex:1},children:(0,t.jsxs)(o.sg,{css:{padding:"$5i $8i $6i $8i",backgroundColor:P?"$grey950":"$white",borderRadius:"0px",flex:1,marginBottom:"auto","@lg":{padding:"16px 16px $6i 16px",justifyContent:"space-between"}},children:[(0,t.jsxs)(o.xv,{css:{color:P?"$white":"$grey12",fontSize:"14px",fontStyle:"normal",fontWeight:"700",lineHeight:"20px",fontFamily:"$manrope","@lg":{color:P?"$white":"$grey12",fontSize:"$8i",fontWeight:"$bolder",lineHeight:"$12i",width:"270px"}},children:[Z&&(null==T?void 0:T.nights)?"".concat(null==T?void 0:T.nights,"nights: "):null,(0,E.Z)((null==T?void 0:null===(p=T.title)||void 0===p?void 0:p.length)>48?(null==T?void 0:null===(x=T.title)||void 0===x?void 0:x.substring(0,48))+"...":null==T?void 0:T.title)]}),Z?(0,t.jsx)(o.X2,{css:{gap:"$2i",alignItems:"center",paddingTop:"$5i",paddingBottom:"$6i"},children:(0,t.jsxs)(o.xu,{css:{display:"flex",listStyle:"none",margin:"$0i $2i $4i $0i",padding:"0px",flexWrap:"wrap",alignItems:"center",gap:"$2i","@lg":{}},children:[(0,t.jsx)(eb.Z,{width:20,height:20,fill:"$custom63"}),(0,t.jsx)("meta",{itemProp:"partOfTrip",content:"".concat((null==T?void 0:T.nights)+1," Days/").concat(null==T?void 0:T.nights," Nights")}),null===(v=null==T?void 0:null===(m=T.cities)||void 0===m?void 0:m.slice(0,1))||void 0===v?void 0:v.map((e,i)=>(0,t.jsx)(o.X2,{css:{justifyContent:"space-between",alignItems:"center"},children:(0,t.jsx)(o.xu,{css:{"@lg":{display:"contents"}},children:(0,t.jsxs)(o.xv,{css:{color:P?"$white":"$grey800",textAlign:"right",fontSize:"13px",fontStyle:"normal",fontWeight:"500",lineHeight:"20px",fontFamily:"$manrope","@Lg":{fontSize:"13px",marginBottom:"$3",fontWeight:"$bold",lineHeight:"$9i",letterSpacing:"-0.3px",color:P?"$white":"$grey700",paddingRight:"$2i"}},children:[(0,E.Z)(null==e?void 0:e.cityName)," (",null==e?void 0:e.nights,"N)"," "]})})},"cities-".concat((0,eH.Z)(e.cityName," ","-"),"-").concat(i))),(0,t.jsx)(o.xv,{css:{color:"$grey700",textAlign:"right",fontSize:"$7i",fontStyle:"normal",fontWeight:"$bold",lineHeight:"$10i",fontFamily:"$manrope"},children:(null==T?void 0:T.cities)&&(null===(f=null==T?void 0:null===($=T.cities)||void 0===$?void 0:$.slice(1,null==T?void 0:null===(y=T.cities)||void 0===y?void 0:y.length))||void 0===f?void 0:f.length)>0?"+".concat(null===(w=null==T?void 0:null===(b=T.cities)||void 0===b?void 0:b.slice(1,null==T?void 0:null===(C=T.cities)||void 0===C?void 0:C.length))||void 0===w?void 0:w.length," more"):""})]})}):null,M?(0,t.jsxs)(o.X2,{css:{gap:"$2i",alignItems:"center",paddingTop:"$3i","@smMax":{paddingBottom:"$6i"}},children:[(0,t.jsxs)(o.xu,{css:{display:"flex",listStyle:"none",margin:"$0i $2i $4i $0i",padding:"0px",flexWrap:"wrap",alignItems:"center",gap:"$2i","@lg":{}},children:[(null==T?void 0:null===(k=T.cityHotelStay)||void 0===k?void 0:k.length)?(0,t.jsx)(eb.Z,{width:20,height:20,fill:"$custom63"}):null,(0,t.jsx)("meta",{itemProp:"partOfTrip",content:"".concat((null==T?void 0:T.nights)+1," Days/").concat(null==T?void 0:T.nights," Nights")}),null===(S=null==T?void 0:null===(z=T.cityHotelStay)||void 0===z?void 0:z.slice(0,1))||void 0===S?void 0:S.map((e,i)=>{var l,n,s;return(0,t.jsxs)(o.X2,{css:{justifyContent:"space-between",alignItems:"center"},children:[0===i?(0,t.jsx)(o.xu,{css:{"@lg":{display:"contents"}},children:(0,t.jsxs)(o.xv,{css:{color:P?"$white":"$grey800",textAlign:"right",fontSize:"13px",fontStyle:"normal",fontWeight:"500",lineHeight:"20px",fontFamily:"$manrope","@Lg":{fontSize:"13px",marginBottom:"$3",fontWeight:"$bold",lineHeight:"$9i",letterSpacing:"-0.3px",color:P?"$white":"$grey700",paddingRight:"$2i"}},children:[null==T?void 0:T.nights," nights:"," "]})}):null,(0,t.jsxs)(o.xv,{as:"p",css:{color:P?"$white":"#576489",textAlign:"right",fontSize:"13px",fontStyle:"normal",fontWeight:"500",lineHeight:"20px",fontFamily:"$manrope","@Lg":{fontSize:"$8i",marginBottom:"$3",fontWeight:"$bold",lineHeight:"$9i",letterSpacing:"-0.3px",color:P?"$white":"$grey700",paddingRight:"$2i"}},children:["\xa0","".concat(null==e?void 0:e.cityName," (").concat(null==e?void 0:e.nights,"N)"),2===i&&(0,t.jsx)(o.xu,{as:"span",css:{color:P?"$white":"#576489",textAlign:"right",fontSize:"13px",fontStyle:"normal",fontWeight:"500",lineHeight:"20px",fontFamily:"$manrope","@Lg":{fontSize:"$8i",marginBottom:"$3",fontWeight:"$bold",lineHeight:"$9i",letterSpacing:"-0.3px",color:P?"$white":"$grey700",paddingRight:"$2i"}},children:(null==T?void 0:T.cityHotelStay)&&(null==T?void 0:null===(l=T.cityHotelStay)||void 0===l?void 0:l.length)>1?(null==T?void 0:null===(n=T.cityHotelStay)||void 0===n?void 0:n.length)>2?"+".concat((null==T?void 0:null===(s=T.cityHotelStay)||void 0===s?void 0:s.length)-1," Cities"):"+1 City":null})]})]},"cities-".concat((0,eH.Z)(T.title," ","-"),"-").concat(i))})]}),(0,t.jsx)(o.xv,{css:{color:"$grey700",textAlign:"right",fontSize:"$7i",fontStyle:"normal",fontWeight:"$bold",lineHeight:"$10i",fontFamily:"$manrope"},children:(null==T?void 0:T.cityHotelStay)&&(null===(F=null==T?void 0:null===(I=T.cityHotelStay)||void 0===I?void 0:I.slice(1,null==T?void 0:null===(H=T.cityHotelStay)||void 0===H?void 0:H.length))||void 0===F?void 0:F.length)>0?"+".concat(null===(B=null==T?void 0:null===(D=T.cityHotelStay)||void 0===D?void 0:D.slice(1,null==T?void 0:null===(R=T.cityHotelStay)||void 0===R?void 0:R.length))||void 0===B?void 0:B.length):""})]}):null,Z?(0,t.jsx)(Q,{}):null,M||_?(0,t.jsxs)(o.X2,{css:{gap:"5px",flexWrap:"wrap",paddingTop:_?"$4i":0,"@lg":{display:"flex",flexWrap:"wrap",marginTop:"$6i",gap:"$4i"}},itemProp:"itinerary",itemScope:!0,itemType:"https://schema.org/ItemList",children:[(0,t.jsx)("meta",{itemProp:"name",content:"".concat(q.map(e=>e.text.includes("activities")?"Activities":e.text.includes("transfer")?"Transfer":e.text).join(", "))}),q.map((e,i)=>(0,t.jsx)(g.Fragment,{children:(0,t.jsxs)(o.X2,{css:{"@lg":{gap:"2px"}},children:[(0,t.jsx)(o.kC,{children:(null==e?void 0:e.type)?(0,t.jsx)(ej.Z,{fill:"$custom83",width:20,height:20}):(0,t.jsx)(ew.Z,{fill:"$custom83",width:20,height:20})}),(null==e?void 0:e.text)==="Hotels"?(0,t.jsxs)(o.X2,{css:{alignItems:"center",gap:"2px"},children:[(0,t.jsx)(o.xv,{css:{color:P?"$white":"$grey800",fontSize:"13px",fontStyle:"normal",fontWeight:"$semiBold",lineHeight:"$10i",fontFamily:"$manrope"},children:null==T?void 0:T.hotelStarRating}),(0,t.jsx)(eC.Z,{fill:"#FFBF47",width:14,height:14})]}):null,(0,t.jsx)(o.xv,{css:{color:P?"$white":"$grey800",fontSize:"13px",fontStyle:"normal",fontWeight:"$semiBold",lineHeight:"$10i",fontFamily:"$manrope"},children:null==e?void 0:e.text})]})},"inclusion-Pill"+i))]}):null,_?(0,t.jsxs)(o.X2,{css:{gap:"$2i",paddingTop:"$4i"},children:[(0,t.jsx)(eL,{width:12.941,height:10.98}),(0,t.jsx)(o.xv,{css:{color:"$violet700",fontSize:"13px",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"20px",fontFamily:"$manrope"},children:"FREE Transfer & Desert Safari"})]}):null]})})}),(0,t.jsxs)(o.xu,{css:{marginTop:"auto"},children:[M&&(null==G?void 0:G.length)>0?(0,t.jsxs)(o.X2,{css:{background:"linear-gradient(51deg, #ECE2F8 0%, #FCE2FB 55.55%)",height:"$13i",justifyContent:"left",alignItems:"center",display:"flex",flexWrap:"wrap",paddingLeft:"$8i"},children:[(0,t.jsx)(o.xv,{css:{color:"$violet900",fontSize:"13px",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"20px",fontFamily:"$manrope"},children:"Picks:"}),"\xa0",(null==G?void 0:G.length)?(0,t.jsx)(o.xv,{css:{color:"$violet900",fontSize:"13px",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px",fontFamily:"$manrope",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"191px",height:20,whiteSpace:"nowrap"},children:null==G?void 0:G[0]}):null,(null==G?void 0:G.length)>1?(0,t.jsxs)(o.xv,{css:{color:"$violet900",fontSize:"13px",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px",fontFamily:"$manrope",height:20},children:["+",(null==G?void 0:G.length)-1]}):null]}):null,P?(0,t.jsx)(o.X2,{css:{display:"none","@lg":{display:"flex",width:"100%"}},children:(0,t.jsx)(o.xu,{css:{padding:"$2i $4i",background:"linear-gradient(90deg, #F3205F 0%, #8D1337 100%)",width:"100%"},children:(0,t.jsxs)(o.xv,{css:{color:"$white",fontFamily:"$manrope",fontSize:"$6i",fontWeight:"$bolder",lineHeight:"$10i",textAlign:"center"},children:["Offer ends in ",null==T?void 0:T.offerEndsOn]})})}):null,(0,t.jsxs)(o.X2,{css:{padding:"$7i $8i $7i",backgroundColor:P?"$grey950":"$white",gap:"$4i",justifyContent:"flex-end",borderTop:"1px solid ".concat(P?"$grey800":"$custom79"),marginTop:"0","@lg":{padding:"$8i $10i $8i $10i"}},itemProp:"offers",itemScope:!0,itemType:"https://schema.org/Offer",children:[(0,t.jsx)("meta",{itemProp:"price",content:"".concat(Math.round(null==T?void 0:T.itineraryCost))}),(0,t.jsx)(o.X2,{children:(0,t.jsx)(o.sg,{css:{gap:"$i"},children:(0,t.jsxs)(o.sg,{css:{alignItems:"flex-end"},children:[(0,t.jsxs)(o.X2,{align:"baseline",children:[_&&(null==T?void 0:T.strikedCost)>0?(0,t.jsx)(o.xv,{css:{color:P?"$white":"$grey600",textAlign:"right",fontSize:"$7i",fontStyle:"normal",fontWeight:"$bold",lineHeight:"20px",fontFamily:"$manrope",textDecorationLine:"line-through",paddingRight:"$2i"},children:(0,t.jsx)(eS.Z,{value:null==T?void 0:T.strikedCost})}):null,(0,t.jsx)(o.xv,{css:{color:P?"$white":"$grey950",textAlign:"right",fontSize:"$9i",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"26px",fontFamily:"$manrope",letterSpacing:"-0.1px","@lg":{color:P?"$white":"$grey900",fontStyle:"normal",fontSize:"$10i",lineHeight:"$14i"}},children:(0,t.jsx)(eS.Z,{value:(null==T?void 0:T.costPerPerson)?Math.round(null==T?void 0:T.costPerPerson):(null==T?void 0:T.itineraryCost)?Math.round(null==T?void 0:T.itineraryCost):0})})]}),(0,t.jsxs)(o.X2,{align:"baseline",children:[_&&(null==T?void 0:T.dealDiscountPercentage)>0?(0,t.jsxs)(o.xv,{css:{color:P?"$white":"$custom66",textAlign:"right",fontSize:"13px",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"20px",fontFamily:"$manrope",paddingRight:"3px"},children:[null==T?void 0:T.dealDiscountPercentage," OFF"]}):null,(0,t.jsx)(o.xv,{css:{color:P?"$white":"$grey600",textAlign:"right",fontSize:"13px",fontStyle:"normal",fontWeight:"$semiBold",lineHeight:"$10i",fontFamily:"$manrope","@lg":{color:P?"$white":"$grey600",fontSize:"13px",fontStyle:"normal",fontWeight:"$semiBold",lineHeight:"$10i",textAlign:"right"}},children:"/person"})]})]})})}),(0,t.jsx)(o.X2,{css:{gap:"$4i"},children:(0,t.jsx)(o.zx,{css:{height:"$24i",padding:"$7i $9i",borderRadius:"8px",backgroundColor:"$custom80"},onClick:K
1,children:(0,t.jsx)(o.xv,{css:{color:"$white",textAlign:"center",fontSize:"$7i",fontStyle:"normal",fontWeight:"$bolder",lineHeight:"$10i",fontFamily:"$manrope"},children:_?"Grab the Deal":"View Details"})})})]})]})]})]})},eM=(0,n.zo)(function(e){return(0,t.jsx)("svg",{width:134,height:55,viewBox:"0 0 134 55",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsxs)("g",{id:"Group 82187",children:[(0,t.jsx)("path",{id:"Vector 522",d:"M58.0812 7.09135C33.228 9.81224 -12.0081 19.9516 5.87267 38.7419C28.2236 62.2298 128.605 44.343 131.013 21.9541C132.939 4.04306 94.0413 3.49907 74.3519 5.46597",stroke:"#39D080",strokeWidth:"0.726226",strokeLinecap:"round"}),(0,t.jsx)("path",{id:"Vector 523",d:"M59.5676 6.52994C34.5833 7.4603 -11.2638 14.3273 5.22245 34.3523C25.8302 59.3836 127.237 48.7465 131.244 26.5881C134.451 8.86141 95.6928 5.52749 75.913 6.07636",stroke:"#39D080",strokeWidth:"0.726226",strokeLinecap:"round"})]})})},{}),eZ=e$()(()=>Promise.resolve().then(l.bind(l,64598)),{loadableGenerated:{webpack:()=>[64598]}}),eA=(0,n.zo)(o.xu,{width:"100%",position:"relative","@lg":{padding:"0px"},"& .swiper-nav-elements":{backgroundColor:"$white",border:"1px solid $yellow700",fill:"$yellow700"},"& .swiper-nav":{width:"70%",right:0,"& .swiper-nav-prev-Hotel-itinerary":{marginLeft:-20,marginTop:"-40px"},"& .swiper-nav-next-Hotel-itinerary":{marginRight:0,marginTop:"-40px"}},"& .swiper-slide":{height:"auto",display:"flex","@lg":{"&:last-child":{marginLeft:0},"&:first-child":{marginLeft:0}},"@smMax":{alignSelf:"auto"}},"& .card-container":{display:"flex",flexDirection:"column",width:"100%",height:"100%","& > *":{flex:1,height:"100%",display:"flex",flexDirection:"column"}}}),eE=e=>{let{hotSellingItineraries:i,isMobile:l}=e;return(0,t.jsx)(o.xu,{css:{backgroundColor:"$yellow100"},children:(0,t.jsx)(v.Z,{css:{"@smMax":{padding:0}},children:(0,t.jsx)(ey,{titleElement:(0,t.jsx)(o.sg,{css:{gap:"$4i",paddingLeft:"$5i",marginLeft:"$8i"},children:(0,t.jsxs)(o.xu,{css:{position:"relative",width:"196px"},children:[(0,t.jsx)(o.xu,{css:{position:"absolute",left:"-12px",top:"-$8i",zIndex:1},children:(0,t.jsx)(eM,{css:{width:"133px",height:"55px"}})}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$11i",fontStyle:"normal",fontWeight:"$bolder",lineHeight:"30.8px",textTransform:"uppercase",zIndex:2},children:"EXCLUSIVE DEALS"}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$11i",fontStyle:"normal",fontWeight:"$bolder",lineHeight:"30.8px",textTransform:"uppercase",zIndex:2},children:"ON HOTELs"})]})}),titleDesktopElement:(0,t.jsxs)(o.sg,{css:{paddingTop:"$7ii","@lg":{width:"20%"}},children:[(0,t.jsxs)(o.sg,{css:{position:"relative"},children:[(0,t.jsx)(o.xu,{css:{position:"absolute",left:"-22px",top:"27px",zIndex:1},children:(0,t.jsx)(eM,{css:{width:"144px",height:"60px"}})}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$16i",fontStyle:"normal",fontWeight:"$normal",lineHeight:"38.8px",textTransform:"uppercase",zIndex:2},children:"EXCLUSIVE"}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$16i",fontStyle:"normal",fontWeight:"$normal",lineHeight:"38.8px",textTransform:"uppercase",zIndex:2},children:"DEALS ON"}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$16i",fontStyle:"normal",fontWeight:"$normal",lineHeight:"38.8px",textTransform:"uppercase",zIndex:2},children:"HOTELS"})]}),(0,t.jsxs)(o.sg,{children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"$8i",fontStyle:"normal",fontWeight:"$semibold",lineHeight:"$12i"},children:"Enjoy luxurious stays at"}),(0,t.jsx)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"$8i",fontStyle:"normal",fontWeight:"$semibold",lineHeight:"$12i"},children:"unbeatable prices!"})]})]}),css:{padding:"$15i 0 $14i 0",display:"flex",flexDirection:"column",gap:"0px !important","@lg":{padding:"$16i 0 $16i 0",flexDirection:"row",gap:"0px !important"}},children:(0,t.jsx)(o.X2,{css:{width:"80%","@smMax":{marginTop:"$10i",width:"100%"}},children:l?(0,t.jsx)(o.X2,{css:{width:"100%",gap:"$8i",overflowX:"auto",padding:"0px $8i",scrollbarWidth:"none",scrollSnapType:"x mandatory",scrollBehavior:"smooth",scrollPaddingInlineStart:"$8i","-ms-overflow-style":"none","&::-webkit-scrollbar":{display:"none"},"@lg":{display:"none"}},children:null==i?void 0:i.map((e,i)=>(0,t.jsx)(o.xu,{children:(0,t.jsx)(eP,{cardData:e,locale:"in",index:i,isExclusive:!0})},i))}):(0,t.jsx)(eA,{id:"Hotel-itinerary",className:"wall-of-love",css:{"@lg":{"& .swiper-slide:last-child":{marginLeft:"0px"},"& .swiper-slide:first-child":{marginLeft:"0px"}},"@smMax":{"& .swiper-slide":{alignSelf:"auto"}}},children:(0,t.jsx)(eZ,{id:"Hotel-itinerary",componentData:{transparentBg:!0,fluidLayout:!1,pagePadding:0},isCarMaxHeight:!0,sliderConfig:{breakpoints:{360:{slidesPerView:1.1,spaceBetween:16,freeMode:!0,slidesPerGroup:3},1024:{spaceBetween:16,slidesPerView:2.08,slidesPerGroup:2,freeMode:!0}}},sliderArrowPosition:"middle",sliderArrowBg:"#E8EAF3",sliderArrowBorderColor:"#C7CDE0",sliderArrowColor:"#576489",children:null==i?void 0:i.map((e,i)=>(0,t.jsx)(o.xu,{children:(0,t.jsx)(eP,{cardData:e,locale:"in",index:i,isExclusive:!0})},i))})})})})})})},e_=e=>{let{ctaText:i="Start Now",mobsubText:l="Build Your Itinerary Yourself",onclick:n,text:s}=e;return(0,t.jsxs)(o.X2,{css:{position:"fixed",left:0,right:0,bottom:0,height:"56px",padding:8,alignItems:"center",justifyContent:"space-between",alignSelf:"center",zIndex:9999,transition:"all 0.6s ease-in-out",backgroundColor:"$black",boxShadow:"0 2px 20px 0 rgba(0,0,0,.2)",width:"100%",gap:"$3i"},children:[(0,t.jsxs)(o.X2,{css:{gap:"$3i"},children:[(0,t.jsx)(o.xu,{css:{width:57,height:36,position:"relative",overflow:"hidden"},children:(0,t.jsx)(a(),{src:(0,j.Z)("https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/packages_v2/travelExpert_Img.png","w=57&h=36&auto=format&fit=crop"),fill:!0,alt:"travelExpertImg"})}),(0,t.jsxs)(o.sg,{children:[(0,t.jsx)(o.xv,{css:{fontStyle:"normal",lineHeight:"20px",fontSize:"13px",fontWeight:"$bolder",color:"$white",fontFamily:"$manrope",textAlign:"center"},children:s}),(0,t.jsx)(o.xv,{css:{fontStyle:"normal",lineHeight:"16px",fontSize:"12px",fontWeight:"$bold",color:"$grey300",fontFamily:"$manrope",textAlign:"center"},children:l})]})]}),(0,t.jsx)(o.zx,{onClick:()=>{n()},children:(0,t.jsx)(o.xv,{css:{fontStyle:"normal",lineHeight:"20px",fontSize:"13px",fontWeight:"$bolder",color:"$white",fontFamily:"$manrope",textAlign:"center"},children:i})})]})};var eO=l(99330),eV=l(34259),eN=l(96053);let eX=(0,n.zo)(function(e){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"67",height:"10",viewBox:"0 0 67 10",fill:"none",...e,children:[(0,t.jsx)("path",{d:"M5.23047 4.57666H63.0716",stroke:"#333848","stroke-width":"1.30758"}),(0,t.jsx)("path",{d:"M0.924599 4.57649L4.57649 0.924599L8.22837 4.57649L4.57649 8.22837L0.924599 4.57649Z",fill:"#333848",stroke:"#333848","stroke-width":"1.30758"}),(0,t.jsx)("path",{d:"M58.7644 4.57697L62.4163 0.925087L66.0682 4.57697L62.4163 8.22886L58.7644 4.57697Z",fill:"#333848",stroke:"#333848","stroke-width":"1.30758"})]})},{}),eq=e=>{var i,l,n,r,a,c,u;let{cardData:h,locale:p,index:x,isPaid:v}=e,m=(0,d.useRouter)(),f=(0,s.Dv)(R.bW),$=(0,s.b9)(R.rO),y=(0,J.Z)({router:m}),w=(0,g.useMemo)(()=>
1{if(h.unityOptions&&h.unityOptions.length){let e=h.defaultOption;if(e){let i=h.unityOptions.find(i=>i.optionId===e);if(i)return i.activities||[]}}return h.activities||[]},[h.activities,h.defaultOption,h.unityOptions]),b=(0,g.useMemo)(()=>{let e={recommended:!0,videos:"string"==typeof(null==h?void 0:h.videos)?null==h?void 0:h.videos:"object"==typeof(null==h?void 0:h.videos)&&(null==h?void 0:h.videos)?null==h?void 0:h.videos[0]:"",image:null==h?void 0:h.image,bannerInnerCardData:{title:h.title,startsAtPrice:h.itineraryCost,pills:h.pills,hotelsIncluded:null==h?void 0:h.hotelsIncluded,activities:w,flightsIncluded:null==h?void 0:h.flightsIncluded,transferIncluded:null==h?void 0:h.transferIncluded,visaIncluded:null==h?void 0:h.visaIncluded,visaType:null==h?void 0:h.visaType,campaignItineraryId:null==h?void 0:h.campaignItineraryId,regionCode:h.regionCode,regionName:h.regionName}};return(0,eB.Y)(e,p)},[h,w,p]),C=e=>{let i=new Set;return e.filter(e=>{let l=e.cityName;return!i.has(l)&&(i.add(l),!0)})},k=(0,g.useMemo)(()=>{var e;return(null==h?void 0:h.cityHotelStay)&&(null==h?void 0:null===(e=h.cityHotelStay)||void 0===e?void 0:e.length)?C(null==h?void 0:h.cityHotelStay):[]},[null==h?void 0:h.cityHotelStay]),S=(0,g.useMemo)(()=>null==h?void 0:h.offerEndsOn,[null==h?void 0:h.offerEndsOn]),z=(0,g.useMemo)(()=>{let e=[];
1if(null==h?void 0:h.images){var i;null==h||null===(i=h.images)||void 0===i||i.forEach(i=>{let l=(0,j.Z)("".concat((0,eI.Z)(i)),"w=530&h=260&fit=crop");e.push(l)})}else e.push((0,j.Z)("".concat(null==h?void 0:h.image),"w=530&h=260&fit=crop"));return e},[null==h?void 0:h.image,null==h?void 0:h.images]),F=()=>{if((0,A.L9W)(A.Huo,{Itinerary_name:null==h?void 0:h.title,cost:null==h?void 0:h.itineraryCost,itineraryId:null==h?void 0:h.campaignItineraryId,Region:null==h?void 0:h.regionName}),$(null==h?void 0:h.unityOptions),""===y){var e;m.push({pathname:null==m?void 0:null===(e=m.asPath)||void 0===e?void 0:e.split("?")[0],query:{...null==m?void 0:m.query,m:"gcm",id:null==h?void 0:h.campaignItineraryId,rc:null==h?void 0:h.regionCode,rcName:null==h?void 0:h.regionName,isPaid:v,isUnity:!0}},void 0,{shallow:!0})}else m.push("/".concat(y,"/").concat(null==h?void 0:h.slug))};return(0,t.jsxs)(o.sg,{onClick:F,css:{width:"80vw",flexShrink:0,overflow:"hidden",cursor:"pointer",height:"100%",scrollSnapAlign:"start",scrollSnapStop:"always","@lg":{width:"400px","&:hover":{".check":{".nav-arrow-wrapper":{display:"flex"}}}}},children:[(0,t.jsx)(o.xu,{className:"check",css:{position:"relative",overflow:"hidden",height:"132px",width:"100%",borderTopRightRadius:"$3",borderTopLeftRadius:"$3","@lg":{height:"180px",".imageBanner":{transition:"all 0.3s ease-in-out"},"&:hover":{".imageBanner":{transform:"scale(1.1)"}}}},children:(0,t.jsx)(ez.default,{index:x,mediaCards:null==z?void 0:z.slice(0,5),height:(null==f?void 0:f.isMobile)?"132px":"180px",title:null==h?void 0:h.title,fallBackImage:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/Shower.png",id:"".concat((0,eR.l)(h.title.replace(/ /g,"-"),"card"))})}),(0,t.jsxs)(o.kC,{align:"center",css:{flexDirection:"column",flex:1,backgroundColor:"$grey900"},children:[(0,t.jsx)(o.xv,{css:{fontSize:"$8i",fontWeight:"$bolder",lineHeight:"$14i",color:"$white",fontFamily:"$manrope",paddingTop:"$8i",textAlign:"center",padding:"$8i $6i 0 $6i","@lg":{fontSize:"$10i",lineHeight:"$12i"}},children:(null==h?void 0:null===(i=h.title)||void 0===i?void 0:i.length)>52?(null==h?void 0:null===(l=h.title)||void 0===l?void 0:l.substring(0,52))+"...":null==h?void 0:h.title}),(0,t.jsxs)(o.X2,{css:{justifyContent:"space-between",alignItems:"center",marginTop:"$4i","@smMax":{marginTop:"$2i"}},children:[(0,t.jsx)(eV.Z,{fill:"$grey300"}),(0,t.jsxs)(o.xv,{css:{fontWeight:"$bold",fontSize:"$6i",lineHeight:"$9i",color:"$grey300",paddingLeft:"$2i",fontFamily:"$manrope","@lg":{fontSize:"$7i",marginBottom:"$3"}},children:[null==h?void 0:h.nights," ",(0,eN.Z)({count:null==h?void 0:h.nights,keyword:"night"}),":"," ",null===(n=null==k?void 0:k.slice(0,3))||void 0===n?void 0:n.map(e=>"".concat(e.cityName)).join(", ")]}),(null===(r=null==k?void 0:k.slice(3,null==k?void 0:k.length))||void 0===r?void 0:r.length)>0?(0,t.jsxs)(o.xv,{css:{fontWeight:"$normal",fontSize:"$6i",lineHeight:"$10i",color:"$green400",paddingLeft:"$2i",fontFamily:"$manrope","@lg":{fontSize:"$7i"}},children:[null===(a=null==k?void 0:k.slice(3,null==k?void 0:k.length))||void 0===a?void 0:a.length," cities"]}):null]}),(0,t.jsx)(o.xu,{css:{marginTop:"$6i","@lg":{marginTop:"$8i"}},children:(0,t.jsx)(eX,{width:66,height:9,fill:"$grey800"})}),(0,t.jsxs)(o.X2,{css:{marginTop:"$6i",backgroundColor:"$violet800",padding:"$3i $5i",borderRadius:"$pill",gap:"$2i","@lg":{marginTop:"$8i"}},children:[(0,t.jsx)(eO.Z,{fill:"$yellow50",height:"16px",width:"16px"}),(0,t.jsx)(o.xv,{css:{fontSize:"$6i",fontWeight:"$bolder",lineHeight:"$10i",color:"$white",fontFamily:"$manrope",textTransform:"uppercase","@lg":{fontSize:"$7i"}},children:null==h?void 0:h.tag})]}),(0,t.jsx)(o.xu,{css:{marginTop:"$6i",width:"85%",paddingBottom:"$6i","@lg":{marginTop:"$8i",width:"95%"}},children:(null==h?void 0:null===(c=h.inclusionList)||void 0===c?void 0:c.length)?(0,t.jsx)(o.X2,{justify:"center",css:{flexWrap:"wrap",marginTop:"$6i",gap:"$4i",marginBottom:"$2i"},itemProp:"itinerary",itemScope:!0,itemType:"https://schema.org/ItemList",children:null==h?void 0:null===(u=h.inclusionList)||void 0===u?void 0:u.map((e,i)=>(0,t.jsxs)(o.X2,{children:[(0,t.jsx)(ej.Z,{fill:"$custom83",width:20,height:20}),(0,t.jsx)(o.xv,{css:{color:"$white",fontSize:"$7i",fontWeight:"$semiBold",lineHeight:"$10i",fontFamily:"$manrope"},children:e})]},i))}):b.length?(0,t.jsx)(o.X2,{justify:"center",css:{flexWrap:"wrap",marginTop:"$6i",gap:"$4i",marginBottom:"$2i"},itemProp:"itinerary",itemScope:!0,itemType:"https://schema.org/ItemList",children:b.map((e,i)=>(0,t.jsx)(g.Fragment,{children:(0,t.jsxs)(o.X2,{css:{gap:"2px",width:"fit-content"},children:[(0,t.jsx)(o.kC,{children:(null==e?void 0:e.type)?(0,t.jsx)(ej.Z,{fill:"$custom83",width:20,height:20}):(0,t.jsx)(ew.Z,{fill:"$custom83",width:20,height:20})}),(null==e?void 0:e.text)==="Hotels"?(0,t.jsxs)(o.X2,{css:{alignItems:"center",gap:"2px"},children:[(0,t.jsx)(o.xv,{css:{color:"$white",fontSize:"$7i",fontStyle:"normal",fontWeight:"$semiBold",lineHeight:"$10i",fontFamily:"$manrope"},children:null==h?void 0:h.hotelStarRating}),(0,t.jsx)(P.Z,{fill:"#8894B9",width:14,height:14})]}):null,(0,t.jsx)(o.xv,{css:{color:"$white",fontSize:"$7i",fontStyle:"normal",fontWeight:"$semiBold",lineHeight:"$10i",fontFamily:"$manrope"},children:null==e?void 0:e.text})]})},"inclusion-Pill"+i))}):null})]}),(0,t.jsxs)(o.xu,{css:{marginTop:"auto"},children:[(0,t.jsxs)(o.xu,{css:{backgroundColor:"$grey900",position:"relative",borderBottomLeftRadius:S?0:"$3",borderBottomRightRadius:S?0:"$3","&:before":{content:'""',position:"absolute",top:"12px",left:"-12px",width:"24px",height:"24px",backgroundColor:"#000",transform:"translateY(-50%)",borderRadius:"50%",zIndex:1,overflow:"hidden"},"&:after":{content:'""',position:"absolute",top:"12px",right:"-12px",width:"24px",height:"24px",backgroundColor:"#000",transform:"translateY(-50%)",borderRadius:"50%",zIndex:1,overflow:"hidden"}},children:[(0,t.jsx)(o.xu,{css:{height:"12px"}}),(0,t.jsx)(o.xu,{css:{borderBottom:"1px dashed $grey800"}}
1),(0,t.jsxs)(o.X2,{css:{padding:"$8i $5i",gap:"$6i"},children:[(0,t.jsx)(o.xu,{css:{width:"50%"},children:(0,t.jsxs)(o.sg,{css:{gap:"$i",justifyContent:"flex-end"},children:[(0,t.jsx)(o.X2,{css:{gap:"$3i",alignItems:"center",justifyContent:"flex-end"},children:(0,t.jsx)(o.xv,{css:{color:"$white",fontFamily:"$manrope",fontSize:"$9i",fontWeight:"$extraBold",lineHeight:"$14i","@lg":{fontSize:"$11i"}},children:(0,t.jsx)(eS.Z,{value:null==h?void 0:h.itineraryCost})})}),(0,t.jsx)(o.X2,{css:{alignItems:"center",justifyContent:"flex-end",gap:"$i"},children:(0,t.jsx)(o.xv,{css:{color:"$grey100",fontFamily:"$manrope",fontSize:"$6ii",fontStyle:"normal",fontWeight:"$semiBold",lineHeight:"$10i"},children:"/person"})})]})}),(0,t.jsx)(o.xu,{css:{width:"50%"},children:(0,t.jsx)(o.zx,{onClick:F,css:{height:"$24i",padding:"$6i $12i",borderRadius:"8px",backgroundColor:"$custom80","@lg":{padding:"$7i $18i"}},children:(0,t.jsx)(o.xv,{css:{color:"$white",textAlign:"center",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$bolder",lineHeight:"$10i","@smMax":{fontSize:"$6ii"}},children:"View Itinerary"})})})]})]}),(null==h?void 0:h.offerEndsOn)?(0,t.jsx)(o.X2,{justify:"center",css:{backgroundColor:"$red900",padding:"$4i 0",borderBottomLeftRadius:"$3",borderBottomRightRadius:"$3"},children:(0,t.jsxs)(o.xv,{css:{color:"$white",textAlign:"center",fontFamily:"$manrope",fontSize:"$6ii",fontWeight:"$bolder",lineHeight:"$10i",textTransform:"uppercase"},children:["Offer ends in"," ",(0,t.jsx)(eW.Z,{timestamp:null==h?void 0:h.offerEndsOn,fallBackText:"Time's up!"})]})}):null]})]})},eG=e$()(()=>Promise.resolve().then(l.bind(l,64598)),{loadableGenerated:{webpack:()=>[64598]}}),eU=(0,n.zo)(o.xu,{width:"100%",position:"relative","@lg":{padding:"0px"},"& .swiper-nav-elements":{backgroundColor:"$white",border:"1px solid $yellow300",fill:"$yellow800"},"& .swiper-nav":{"& .swiper-nav-prev-Hero-itinerary":{marginLeft:-20,marginTop:"-40px"},"& .swiper-nav-next-Hero-itinerary":{marginRight:0,marginTop:"-40px"},"& .swiper-nav-elements.swiper-button-disabled":{visibility:"hidden"}},"& .swiper-slide":{height:"auto",display:"flex",paddingLeft:"0px !important"}}),eK=e=>{let{heroItineraries:i,locale:l,isPaid:n,isMobile:s}=e;return(0,t.jsxs)(o.kC,{css:{paddingTop:"$10i",display:"flex",flexDirection:"column","@lg":{paddingTop:"92px",flexDirection:"row"}},children:[(0,t.jsxs)(o.sg,{css:{marginTop:"70px",width:"25%",alignItems:"flex-start","@smMax":{width:"100%",marginTop:"$14i",alignItems:"center"}},children:[(0,t.jsxs)(o.xu,{css:{transform:"rotate(-3deg)",width:"fit-content",color:"$accent300",position:"relative","@lg":{width:"258px"}},children:[(0,t.jsx)(o.xv,{css:{fontSize:"$14i",lineHeight:"$20i",fontWeight:"$normal",fontFamily:"$frunch",textAlign:"center","@lg":{fontSize:"$22i"}},children:"Hero Itineraries"}),(0,t.jsx)(eO.Z,{css:{position:"absolute",top:0,right:"-10%","@lg":{right:"20%"}}})]}),(0,t.jsx)(o.xu,{css:{width:"258px",display:"flex",justifyContent:"center"},children:(0,t.jsx)(o.xu,{css:{width:"$24i",height:"1px",backgroundColor:"$grey300",marginTop:"$9i","@lg":{marginTop:"$13i"}}})}),(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$11i",fontWeight:"$normal",fontFamily:"$manrope",textAlign:"center",paddingTop:"$5i",color:"$white",width:"80%","@lg":{fontSize:"$9i",width:"282px",lineHeight:"$14i"}},children:"Featuring the best experiences at unbeatable prices"})]}
1),(0,t.jsx)(o.X2,{css:{width:"75%","@smMax":{marginTop:"$10i",width:"100%"}},children:s?(0,t.jsx)(o.X2,{css:{width:"100%",gap:"$8i",overflowX:"auto",padding:"0px $8i",scrollbarWidth:"none",scrollSnapType:"x mandatory",scrollBehavior:"smooth",scrollPaddingLeft:"$8i","-ms-overflow-style":"none","&::-webkit-scrollbar":{display:"none"},"@lg":{display:"none"}},children:null==i?void 0:i.map((e,i)=>{var o;return(0,t.jsx)(eq,{index:i,cardData:{title:null==e?void 0:e.title,image:null==e?void 0:e.image,itineraryCost:null==e?void 0:e.itineraryCost,cityHotelStay:null==e?void 0:null===(o=e.cityHotelStay)||void 0===o?void 0:o.map(e=>({cityName:e.cityName,nights:e.nights})),nights:null==e?void 0:e.nights,tag:"HIGHLIGHTS",hotelStarRating:null==e?void 0:e.hotelStarRating,regionCode:null==e?void 0:e.regionCode,regionName:null==e?void 0:e.regionName,campaignItineraryId:null==e?void 0:e.campaignItineraryId,defaultOption:null==e?void 0:e.defaultOption,unityOptions:null==e?void 0:e.unityOptions,activities:null==e?void 0:e.activities,videos:null==e?void 0:e.videos,pills:null==e?void 0:e.pills,hotelsIncluded:null==e?void 0:e.hotelsIncluded,flightsIncluded:null==e?void 0:e.flightsIncluded,transferIncluded:null==e?void 0:e.transferIncluded,visaIncluded:null==e?void 0:e.visaIncluded,visaType:null==e?void 0:e.visaType,inclusionList:null==e?void 0:e.inclusionList,offerEndsOn:null==e?void 0:e.offerEndsOn,images:null==e?void 0:e.images,slug:null==e?void 0:e.slug},locale:l,isPaid:n},i)})}):(0,t.jsx)(eU,{id:"Hero-itinerary",css:{"@lg":{"& .swiper-slide:last-child":{marginLeft:"0px"},"& .swiper-slide:first-child":{marginLeft:"0px"},"& .swiper-nav>div":{width:"100%"},"& .swiper-nav":{top:"203px",width:"102%"}},"@smMax":{"& .swiper-slide":{alignSelf:"auto"}}},children:(0,t.jsx)(eG,{id:"Hero-itinerary",componentData:{transparentBg:!0,fluidLayout:!1,pagePadding:0},isCarMaxHeight:!0,sliderConfig:{breakpoints:{360:{slidesPerView:1.1,spaceBetween:16,freeMode:!0,slidesPerGroup:3},1024:{spaceBetween:16,slidesPerView:2.08,slidesPerGroup:2,freeMode:!0}}},sliderArrowPosition:"middle",sliderArrowBg:"#fff",sliderArrowBorderColor:"#C7CDE0",sliderArrowColor:"#754513",iscontentWrapper:!1,sliderArrowMargin:"0px",children:null==i?void 0:i.map((e,i)=>{var o;return(0,t.jsx)(eq,{index:i,cardData:{title:null==e?void 0:e.title,image:null==e?void 0:e.image,itineraryCost:null==e?void 0:e.itineraryCost,cityHotelStay:null==e?void 0:null===(o=e.cityHotelStay)||void 0===o?void 0:o.map(e=>({cityName:e.cityName,nights:e.nights})),nights:null==e?void 0:e.nights,tag:"HIGHLIGHTS",hotelStarRating:null==e?void 0:e.hotelStarRating,regionCode:null==e?void 0:e.regionCode,regionName:null==e?void 0:e.regionName,campaignItineraryId:null==e?void 0:e.campaignItineraryId,defaultOption:null==e?void 0:e.defaultOption,unityOptions:null==e?void 0:e.unityOptions,activities:null==e?void 0:e.activities,videos:null==e?void 0:e.videos,pills:null==e?void 0:e.pills,hotelsIncluded:null==e?void 0:e.hotelsIncluded,flightsIncluded:null==e?void 0:e.flightsIncluded,transferIncluded:null==e?void 0:e.transferIncluded,visaIncluded:null==e?void 0:e.visaIncluded,visaType:null==e?void 0:e.visaType,inclusionList:null==e?void 0:e.inclusionList,offerEndsOn:null==e?void 0:e.offerEndsOn,images:null==e?void 0:e.images,slug:null==e?void 0:e.slug},locale:l,isPaid:n},i)})})})})]})},eY=e=>{let{tabs:i,onTabChange:l,activeTab:n}=e,s=e=>{l(e)};return(0,t.jsx)(o.xu,{css:{display:"flex",gap:"$4i",overflowX:"auto",scrollbarWidth:"none",zIndex:"$max","&::-webkit-scrollbar":{display:"none"}},children:i.map(e=>(0,t.jsx)(o.zx,{css:{padding:"$5i $7i",borderRadius:"$pill",border:"1px solid $dark200",backgroundColor:n===e?"$green900":"$white",color:n===e?"$white":"$grey800",fontSize:"$7i",lineHeight:"$10i",fontFamily:"$manrope",fontWeight:"$bold",cursor:"pointer",whiteSpace:"nowrap",transition:"all 0.2s ease",boxShadow:"none","&:hover":{boxShadow:"none"}},onClick:()=>s(e),children:e},e))})},eJ=e=>{let{description:i,name:l,image:n,location:s,backgroundColor:r}=e;return(0,t.jsxs)(o.sg,{css:{width:"100%",height:"100%",borderRadius:"$3",overflow:"hidden",backgroundColor:r,marginRight:"$8i"},children:[(0,t.jsxs)(o.xu,{css:{padding:"$20i $11i 0 $11i",zIndex:2},children:[(0,t.jsx)(o.xv,{css:{fontSize:"$8i",lineHeight:"$10i",fontFamily:"$manrope",fontWeight:"$semiBold",color:"$accent500","@lg":{fontSize:"$10i",lineHeight:"$14i"}},children:i}),(0,t.jsx)(o.xv,{css:{fontSize:"$8i",lineHeight:"$14i",fontFamily:"$manrope",fontWeight:"$extraBold",color:"$accent500",paddingTop:"$6i","@lg":{fontSize:"$10i",lineHeight:"$14i"}},children:l}),s?(0,t.jsx)(o.xv,{css:{fontSize:"$8i",lineHeight:"$14i",fontFamily:"$manrope",fontWeight:"$semiBold",color:"$accent500",paddingTop:"$2i","@lg":{fontSize:"$10i",lineHeight:"$14i"}},children:s}):null]}),(0,t.jsx)(o.X2,{justify:"center",css:{flex:1,position:"relative",zIndex:1},align:"end",children:(0,t.jsx)(o.xu,{css:{width:"100%",height:"240px",overflow:"hidden",position:"absolute",background:"transparent"},children:(0,t.jsx)(a(),{src:(0,j.Z)(n,"q=20&w=300&h=240"),alt:l,fill:!0})})})]})},eQ=e$()(()=>Promise.resolve().then(l.bind(l,64598)),{loadableGenerated:{webpack:()=>[64598]}}),e0=(0,n.zo)(o.xu,{width:"100%",position:"relative","@lg":{padding:"0px"},"& .swiper-nav-elements":{backgroundColor:"$white",border:"1px solid $yellow700",fill:"$yellow700"},"& .swiper-nav":{width:"70%",right:0},"& .swiper-slide":{height:"auto",display:"flex",padding:"0px !important","@lg":{"&:last-child":{marginLeft:0},"&:first-child":{marginLeft:0}},"@smMax":{alignSelf:"auto"}},"& .card-container":{display:"flex",flexDirection:"column",width:"100%",height:"100%","& > *":{flex:1,height:"100%",display:"flex",flexDirection:"column"}}}),e1=e=>{let{remainingItineraries:i,isMobile:l,testimonialImg:n,showRegionFilter:s=!1,regionWithCodes:r,isCredPackage:a=!1}=e,[d,c]=(0,g.useState)(!0),u=Math.min(...i.map(e=>e.nights)),h=Math.max(...i.map(e=>e.nights)),p=(e,i)=>{let l=[];
1if(e===i)return["".concat(e," Nights")];l.push("".concat(e," Nights"));let t=e+1,n=Math.floor((i+e)/2);t<n&&l.push("".concat(t,"-").concat(n," Nights"));let o=n+1;return o<i?l.push("".concat(o,"-").concat(i," Nights")):o===i&&l.push("".concat(i," Nights")),l},x=(0,g.useCallback)(()=>{if(!r||0===r.length)return[];let e=null==r?void 0:r.filter(e=>i.some(i=>i.regionCode.toLowerCase().trim()===e.code.toLowerCase().trim()));return e.map(e=>e.name)},[r,i]),[m,f]=(0,g.useState)(""),[$,y]=(0,g.useState)(""),w=(0,g.useMemo)(()=>{let e=p(u,h);return f(e[0]),e},[h,u]),j=(0,g.useMemo)(()=>{let e=x();return e.length>0&&y(e[0]),e},[x]),b=e=>{c(!0),f(e)},C=e=>{c(!0),y(e)},k=(()=>{let e=i;if(!s&&m){let[l,t]=m.replace(" Nights","").split("-").map(e=>parseInt(e));e=e.filter(e=>t?e.nights>=l&&e.nights<=t:e.nights===l)}return s&&$&&(e=e.filter(e=>e.regionName.toLowerCase().trim().includes($.toLowerCase().trim()))),e})();(0,g.useEffect)(()=>{let e;return k.length>0&&(e=setTimeout(()=>{c(!1)},500)),()=>{e&&clearTimeout(e)}},[k]);let S=(0,g.useMemo)(()=>{let e=[...k];return(null==e?void 0:e.length)>=2&&!a&&e.splice(2,0,{type:"static-card"}),e},[k,a]),z={360:{slidesPerView:1.1,spaceBetween:16,freeMode:!0,slidesPerGroup:3},1024:{spaceBetween:16,slidesPerView:(null==S?void 0:S.length)>=3?3.45:null==S?void 0:S.length,slidesPerGroup:2,freeMode:!0}},F={breakpoints:{...z}};return(0,t.jsx)(o.xu,{css:{padding:"$17i 0",backgroundColor:"$pyellow100","@lg":{padding:"$24i 0"}},children:(0,t.jsx)(v.Z,{css:{gap:0,"@smMax":{padding:0}},children:l?(0,t.jsxs)(o.sg,{css:{},children:[(0,t.jsxs)(o.xu,{css:{paddingLeft:"$8i"},children:[(0,t.jsx)(o.xv,{css:{fontSize:"$12i",fontWeight:"$bolder",color:"$grey900",fontFamily:"$manrope",paddingBottom:"$12i","@smMax":{fontSize:"$9i",paddingBottom:"$8i"}},children:s?"Packages by Destination":"Packages by Duration"}),(0,t.jsx)(o.xu,{css:{paddingBottom:"$12i"},children:(0,t.jsx)(eY,{tabs:s?j:w,onTabChange:s?C:b,activeTab:s?$:m})})]}),(0,t.jsx)(o.X2,{css:{width:"100%",gap:"$8i",overflowX:"auto",scrollbarWidth:"none",scrollSnapType:"x mandatory",scrollBehavior:"smooth",scrollPaddingInlineStart:"$8i",padding:"0px $8i","-ms-overflow-style":"none","&::-webkit-scrollbar":{display:"none"},"@lg":{display:"none"}},children:d?[,,,,].fill("").map((e,i)=>(0,t.jsxs)(o.sg,{css:{width:"320px",height:"409px",gap:"$2i",borderRadius:"$3",overflow:"hidden"},children:[(0,t.jsx)(o.Od,{variant:"text",css:{height:"158px"}}),(0,t.jsx)(o.Od,{variant:"text",css:{flex:1}})]},"skeleton-scrolltab-".concat(e,"-").concat(i))):null==S?void 0:S.map((e,i)=>(0,t.jsx)(o.xu,{css:{"& > *":{height:"100%"},scrollSnapAlign:"start",scrollSnapStop:"always"},children:(null==e?void 0:e.type)=="static-card"?(0,t.jsx)(o.xu,{css:{width:"320px",position:"relative",overflow:"hidden","@smMax":{paddingRight:"$12i"}},children:(0,t.jsx)(eJ,{description:null==n?void 0:n.desc,name:null==n?void 0:n.name,image:null==n?void 0:n.img,backgroundColor:null==n?void 0:n.bgColor})}):(0,t.jsx)(eP,{cardData:e,locale:"in",index:i,isPackagesDuration:!0})},i))})]}):(0,t.jsx)(t.Fragment,{children:!l&&(null==S?void 0:S.length)<4?(0,t.jsxs)(o.sg,{css:{width:"fit-content"},children:[(0,t.jsx)(o.xv,{css:{fontSize:"$12i",fontWeight:"$bolder",color:"$grey900",fontFamily:"$manrope",paddingBottom:"$12i","@smMax":{fontSize:"$9i",paddingBottom:"$8i"}},children:s?"Packages by Destination":"Packages by Duration"}),(0,t.jsx)(o.xu,{css:{paddingBottom:"$12i"},children:(0,t.jsx)(eY,{tabs:s?j:w,onTabChange:s?C:b,activeTab:s?$:m})}),(0,t.jsx)(o.X2,{css:{gap:"$8i",overflow:"scroll"},children:null==S?void 0:S.map((e,i)=>(0,t.jsx)(o.xu,{css:{"& > *":{height:"100%"}},children:(null==e?void 0:e.type)=="static-card"?(0,t.jsx)(o.xu,{css:{width:"320px",position:"relative",overflow:"hidden","@smMax":{paddingRight:"$12i"}},children:(0,t.jsx)(eJ,{description:null==n?void 0:n.desc,name:null==n?void 0:n.name,image:null==n?void 0:n.img,backgroundColor:null==n?void 0:n.bgColor})}):(0,t.jsx)(eP,{cardData:e,locale:"in",index:i,isPackagesDuration:!0})},i))})]}):(0,t.jsx)(e0,{id:"Packages-itinerary",className:"wall-of-love",css:{"@lg":{"& .swiper-slide:last-child":{marginLeft:"0px"},"& .swiper-slide:first-child":{marginLeft:"0px"}},"@smMax":{"& .swiper-slide":{alignSelf:"auto"}}},children:(0,t.jsx)(eQ,{id:"Packages-itinerary",componentData:{transparentBg:!0,fluidLayout:!1,pagePadding:0},isCarMaxHeight:!0,isTabsFilter:!0,listingFlow:!0,sliderConfig:F,sliderArrowPosition:"top",sliderArrowBg:"#FFF",sliderArrowBorderColor:"#C88A4C",sliderArrowColor:"#A46B32",titleElement:(0,t.jsxs)(o.sg,{css:{width:"fit-content"},children:[(0,t.jsx)(o.xv,{css:{fontSize:"$12i",fontWeight:"$bolder",color:"$grey900",fontFamily:"$manrope",paddingBottom:"$12i","@smMax":{fontSize:"$9i",paddingBottom:"$8i"}},children:s?"Packages by Destination":"Packages by Duration"}),(0,t.jsx)(o.xu,{css:{paddingBottom:"$12i","@smMax":{paddingBottom:"$12i"}},children:(0,t.jsx)(eY,{tabs:s?j:w,onTabChange:s?C:b,activeTab:s?$:m})})]}),children:d?[,,,,].fill("").map((e,i)=>(0,t.jsxs)(o.sg,{css:{width:"320px",height:"409px",gap:"$2i",borderRadius:"$3",overflow:"hidden"},children:[(0,t.jsx)(o.Od,{variant:"text",css:{height:"158px"}}),(0,t.jsx)(o.Od,{variant:"text",css:{flex:1}})]},"skeleton-scrolltab-".concat(e,"-").concat(i))):null==S?void 0:S.map((e,i)=>(0,t.jsx)(o.xu,{css:{"& > *":{height:"100%"}},children:(null==e?void 0:e.type)=="static-card"?(0,t.jsx)(o.xu,{css:{width:"320px",position:"relative",overflow:"hidden","@smMax":{paddingRight:"$12i"}},children:(0,t.jsx)(eJ,{description:null==n?void 0:n.desc,name:null==n?void 0:n.name,image:null==n?void 0:n.img,backgroundColor:null==n?void 0:n.bgColor})}):(0,t.jsx)(eP,{cardData:e,locale:"in",index:i,isPackagesDuration:!0})},i))})})})})})},e2=e$()(()=>Promise.resolve().then(l.bind(l,64598)),{loadableGenerated:{webpack:()=>[64598]}}),e3=(0,n.zo)(o.xu,{width:"100%",position:"relative","@lg":{padding:"0px"},"& .swiper-nav-elements":{backgroundColor:"$yellow100",border:"1px solid $yellow300",fill:"$yellow800"},"& .swiper-nav":{width:"100%","& .swiper-nav-elements.swiper-button-disabled":{visibility:"hidden"}},"& .swiper-slide":{height:"auto",display:"flex",padding:"0px !important","@lg":{"&:last-child":{marginLeft:0},"&:first-child":{marginLeft:0}},"@smMax":{alignSelf:"auto"}}}),e8=e=>{let{dealOfTheDayItineraries:i,regionName:l,regionCode:n,isMobile:s,isCredPackage:r=!1}=e;return(0,t.jsx)(o.xu,{css:{backgroundColor:"#DEF7EC"},children:(0,t.jsx)(v.Z,{css:{backgroundColor:"#DEF7EC",gap:0,"@smMax":{padding:0}},children:(0,t.jsx)(ey,{titleElement:(0,t.jsx)(o.sg,{css:{gap:"$4i",paddingLeft:"$5i",marginLeft:"$8i"},children:(0,t.jsxs)(o.xu,{css:{position:"relative",width:"230px"},children:[(0,t.jsx)(o.xu,{css:{position:"absolute",left:"-12px",top:"-$8i",zIndex:1},children:(0,t.jsx)(eM,{css:{width:"133px",height:"55px"}})}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$11i",fontStyle:"normal",fontWeight:"$bolder",lineHeight:"30.8px",textTransform:"uppercase"},children:"Recently booked"}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$11i",fontStyle:"normal",fontWeight:"$bolder",lineHeight:"30.8px",textTransform:"uppercase",zIndex:2},children:"itineraries"})]})}),titleDesktopElement:(0,t.jsxs)(o.sg,{css:{paddingTop:"$7ii","@lg":{width:"20%"}},children:[(0,t.jsxs)(o.sg,{css:{position:"relative"},children:[(0,t.jsx)(o.xu,{css:{position:"absolute",left:"-22px",top:"27px",zIndex:1},children:(0,t.jsx)(eM,{css:{width:"144px",height:"60px"}})}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$16i",fontStyle:"normal",fontWeight:"$normal",lineHeight:"38.8px",textTransform:"uppercase",zIndex:2},children:"Recently"}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$16i",fontStyle:"normal",fontWeight:"$normal",lineHeight:"38.8px",textTransform:"uppercase",zIndex:2},children:"booked"}),(0,t.jsx)(o.xv,{css:{color:"$accent400",fontFamily:"$PaytoneOne",fontSize:"$16i",fontStyle:"normal",fontWeight:"$normal",lineHeight:"38.8px",textTransform:"uppercase",zIndex:2},children:"itineraries"})]}),(0,t.jsxs)(o.sg,{css:{paddingTop:"$8i"},children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"$8i",fontStyle:"normal",fontWeight:"$semibold",lineHeight:"$12i"},children:"India trusts Pickyourtrail for"}),(0,t.jsxs)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"$8i",fontStyle:"normal",fontWeight:"$semibold",lineHeight:"$12i"},children:[(0,E.Z)(l)," getaways!"]})]})]}),css:{padding:"$15i 0 $14i 0",display:"flex",flexDirection:"column",gap:"0px !important","@lg":{padding:"$16i 0 $16i 0",flexDirection:"row",gap:"0px !important"}}
1,children:(0,t.jsx)(o.X2,{css:{width:"80%","@smMax":{marginTop:"$10i",width:"100%"}},children:s?(0,t.jsx)(o.X2,{css:{width:"100%",gap:"$8i",overflowX:"auto",scrollbarWidth:"none",padding:"0px $8i",scrollSnapType:"x mandatory",scrollBehavior:"smooth",scrollPaddingInlineStart:"$8i","-ms-overflow-style":"none","&::-webkit-scrollbar":{display:"none"},"@lg":{display:"none"}},children:null==i?void 0:i.map((e,i)=>{var l;return(0,t.jsx)(o.xu,{children:(0,t.jsx)(eP,{cardData:{title:null==e?void 0:null===(l=e.itineraryText)||void 0===l?void 0:l.replace(/"/g,""),image:null==e?void 0:e.image,itineraryCost:null==e?void 0:e.cost,hotelsIncluded:!1,flightsIncluded:!1,transferIncluded:!1,campaignItineraryId:null==e?void 0:e.itineraryId,bookedBy:null==e?void 0:e.bookedBy,pills:[null==e?void 0:e.type],regionCode:n,departureCity:e.departureCity,nights:null==e?void 0:e.nights,bookedOn:(null==e?void 0:e.bookedOn)||null,cities:null==e?void 0:e.cities,bookedDay:null==e?void 0:e.bookedDay,slug:r?null==e?void 0:e.slug:null},locale:"in",index:i,isRecentlyBooked:!0})},i)})}):(0,t.jsx)(e3,{id:"Booked-itinerary",className:"wall-of-love",css:{"@lg":{"& .swiper-slide:last-child":{marginLeft:"0px"},"& .swiper-slide:first-child":{marginLeft:"0px"},"& .swiper-nav":{top:"179px"}},"@smMax":{"& .swiper-slide":{alignSelf:"auto"}}},children:(0,t.jsx)(e2,{id:"Booked-itinerary",componentData:{transparentBg:!0,fluidLayout:!1,pagePadding:0},isCarMaxHeight:!0,sliderConfig:{breakpoints:{360:{slidesPerView:1.1,spaceBetween:16,freeMode:!0,slidesPerGroup:3},1024:{spaceBetween:20,slidesPerView:2.72,slidesPerGroup:2,freeMode:!0}}},sliderArrowPosition:"middle",sliderArrowBg:"#FFF",sliderArrowBorderColor:"#6D7BA6",sliderArrowColor:"#576489",sliderArrowMargin:"-14px",children:null==i?void 0:i.map((e,i)=>{var l;return(0,t.jsx)(o.xu,{children:(0,t.jsx)(eP,{cardData:{title:null==e?void 0:null===(l=e.itineraryText)||void 0===l?void 0:l.replace(/"null\s*|"/g,""),image:null==e?void 0:e.image,itineraryCost:null==e?void 0:e.cost,hotelsIncluded:!1,flightsIncluded:!1,transferIncluded:!1,campaignItineraryId:null==e?void 0:e.itineraryId,bookedBy:null==e?void 0:e.bookedBy,pills:[null==e?void 0:e.type],regionCode:n,departureCity:e.departureCity,nights:null==e?void 0:e.nights,bookedOn:(null==e?void 0:e.bookedOn)||null,cities:null==e?void 0:e.cities,bookedDay:null==e?void 0:e.bookedDay,costPerPerson:null==e?void 0:e.costPerPerson,slug:r?null==e?void 0:e.slug:null},locale:"in",index:i,isRecentlyBooked:!0})},i)})})})})})})})};var e5=l(69332),e9=l(34109),e4=l(88116),e6=l(84344),e7=l(59526);let ie=(0,n.zo)("span",{}),ii=e=>{var i,l,n,s,r,a,c,u,h,p,x,v,m,f,$,y,w,j,b,C,k,S,z,F,I,H,B,D;let{packages:R,disableBorderBottom:T,displayCurrency:L,isAboutTextToBeShown:W}=e,M=(0,d.useRouter)(),Z=(0,J.Z)({router:M}),A="".concat(e4.X.domain_url).concat(Z||""),E=(0,g.useMemo)(()=>{var e;return null===(e=R.campaignDetails)||void 0===e?void 0:e.paid},[null===(i=R.campaignDetails)||void 0===i?void 0:i.paid]),{campaignDetails:_,seoDetails:O}=(0,g.useMemo)(()=>({campaignDetails:R.campaignDetails||{},seoDetails:R.campaignDetails.seoDetails||{}}),[R.campaignDetails]),V=(0,g.useMemo)(()=>{var e,i;let l=[];return null==R||null===(e=R.campaignDetails)||void 0===e||null===(i=e.breadCrumbs)||void 0===i||i.forEach((e,i)=>{if((null==e?void 0:e.name)&&"/"!==e.url){var t;l.push({name:null==e?void 0:e.name,link:null==e?void 0:e.url,currentPage:((null==R?void 0:null===(t=R.campaignDetails)||void 0===t?void 0:t.breadCrumbs)||[]).length-1===i})}}),l||[]},[R]),N=(0,g.useMemo)(()=>{var e,i,l,t,n,o,s;if(E)return null;let r=(null==R?void 0:R.filteredItineraries)||[],a="".concat(A.replace(/\/$/,""),"/").concat((null==_?void 0:null===(e=_.key)||void 0===e?void 0:e.replace(/^\//,""))||""),d=r.map(e=>e.itineraryCost||e.startsAtPrice||0).filter(e=>e>0),c=d.length>0?Math.min(...d):(null==R?void 0:R.tripStartingPrice)||0,g=d.length>0?Math.max(...d):(null==R?void 0:R.tripStartingPrice)||0,u=r.map(e=>e.nights).filter(e=>e>0),h=u.length>0?Math.min(...u):null,p=u.length>0?Math.max(...u):null,x=h&&p?h===p?"".concat(h," ").concat(1===h?"Night":"Nights"):"".concat(h,"–").concat(p," Nights"):(null==_?void 0:_.idealDuration)||null,v=Array.from(new Set(r.map(e=>e.tripType).filter(e=>e&&e.trim()))),m=v.length>
10?v.join(", "):"Couples, Family, Friends, Group, Solo",f=[];(null==_?void 0:_.image)&&f.push(_.image),(null==_?void 0:null===(i=_.bannerMedia)||void 0===i?void 0:i.length)&&_.bannerMedia.forEach(e=>{e.desktopImages&&f.push(e.desktopImages),e.mobileImages&&f.push(e.mobileImages)}),0===f.length&&r.length>0&&r.slice(0,2).forEach(e=>{var i;e.image&&f.push(e.image),(null===(i=e.images)||void 0===i?void 0:i.length)&&f.push(...e.images.slice(0,2))});let $=((null==_?void 0:null===(l=_.testimonialRatings)||void 0===l?void 0:l.facebookReviews)||0)+((null==_?void 0:null===(t=_.testimonialRatings)||void 0===t?void 0:t.googleReviews)||0),y=(null==_?void 0:_.avgCHRating)||(((null==_?void 0:null===(n=_.testimonialRatings)||void 0===n?void 0:n.facebookAvgRatings)||0)+((null==_?void 0:null===(o=_.testimonialRatings)||void 0===o?void 0:o.googleAvgRatings)||0))/2,w={"@context":"https://schema.org","@type":"Product",name:(null==O?void 0:O.h1Title)||(null==_?void 0:_.name)||"",url:a,image:f.length>0?f:[(null==_?void 0:_.image)||""],description:(null==O?void 0:O.metaDescription)||(null==O?void 0:O.seoShortDescription)||"",brand:{"@type":"Brand",name:"PickYourTrail"},sku:(null==_?void 0:null===(s=_.key)||void 0===s?void 0:s.replace(/^\//,""))||(null==_?void 0:_.regionCode)||"",category:"Travel Package",offers:{"@type":"AggregateOffer",url:a,priceCurrency:L||"INR",lowPrice:c.toString(),highPrice:g.toString(),offerCount:r.length.toString(),availability:"https://schema.org/InStock",validFrom:new Date().toISOString().split("T")[0]},additionalProperty:[]};return y>0&&$>0?w.aggregateRating={"@type":"AggregateRating",ratingValue:y.toFixed(1),reviewCount:$.toString()}:(null==_?void 0:_.avgCHRating)&&(null==_?void 0:_.totalNumberOfCHRatings)&&(w.aggregateRating={"@type":"AggregateRating",ratingValue:_.avgCHRating.toFixed(1),reviewCount:_.totalNumberOfCHRatings.toString()}),x&&w.additionalProperty.push({"@type":"PropertyValue",name:"Duration Range",value:x}),w.additionalProperty.push({"@type":"PropertyValue",name:"Trip Type",value:m}),w.additionalProperty.push({"@type":"PropertyValue",name:"Customization",value:"Fully Customizable"}),w},[R,_,O,A,L,E]);return(0,t.jsx)(g.Fragment,{children:(0,t.jsxs)(o.kC,{align:"center",css:{borderBottom:T?"none":"1px solid $grey900",paddingBottom:"$8i",width:"100%",justifyContent:"space-between"},children:[(0,t.jsxs)(o.xu,{css:{width:"100%","@lg":{flex:1,paddingRight:"$8i",borderRight:"1px solid $grey900"}},children:[V&&!E?(0,t.jsx)(e5.Z,{routes:V,locale:"".concat(null==M?void 0:M.locale),iconColor:"$grey300",textColor:"#A7B0CE"}):null,E?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.xu,{css:{borderRadius:"$4",paddingRight:"$5i"},children:(0,t.jsx)(e9.Z,{color:"#A7B0CE",seoH1Title:null!==(B=null==_?void 0:null===(l=_.seoDetails)||void 0===l?void 0:l.h1TitleDisplay)&&void 0!==B?B:null==_?void 0:null===(n=_.seoDetails)||void 0===n?void 0:n.h1Title,seoContent:null==_?void 0:null===(s=_.seoDetails)||void 0===s?void 0:s.seoContent,isAboutTextToBeShown:W})}),N&&(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(N)}}),(0,t.jsxs)(o.xu,{css:{gap:"$12i",width:"100%","@lg":{gap:"$20i"}},itemProp:"touristTrip",itemScope:!0,itemType:"https://schema.org/TouristTrip",children:[(0,t.jsx)("meta",{itemProp:"name",content:"".concat((null==_?void 0:_.name)||"")}),(0,t.jsx)("meta",{itemProp:"description",content:"".concat((null==_?void 0:null===(r=_.seoDetails)||void 0===r?void 0:r.metaDescription)||"")}),(0,t.jsxs)(o.xu,{itemProp:"subjectOf",itemScope:!0,itemType:"https://schema.org/Trip",children:[(0,t.jsx)("meta",{itemProp:"name",content:"".concat(null!==(D=null==_?void 0:null===(a=_.seoDetails)||void 0===a?void 0:a.h1TitleDisplay)&&void 0!==D?D:null==_?void 0:null===(c=_.seoDetails)||void 0===c?void 0:c.h1Title)}),(0,t.jsx)("meta",{itemProp:"description",content:"".concat((null==_?void 0:null===(u=_.seoDetails)||void 0===u?void 0:u.metaDescription)||"")}),(0,t.jsx)("meta",{itemProp:"url",content:"".concat(A.replace(/\/$/,""),"/").concat(null==_?void 0:_.key.replace(/^\//,""))})]})]})]})]}),(0,t.jsxs)(o.X2,{css:{gap:"$18i",height:"fit-content",display:"flex",paddingLeft:"$8i","@smMax":{display:"none"}},children:[(0,t.jsxs)(o.X2,{justify:"start",css:{gap:"$5i"},children:[(0,t.jsx)(e6.Z,{height:"31px",width:"31px"}),(0,t.jsxs)(o.xu,{children:[(0,t.jsxs)(o.X2,{css:{alignItems:"end",height:"fit-content"},children:[(0,t.jsxs)(o.xv,{css:{fontFamily:"$manrope",fontSize:"$7i",color:"$white",lineHeight:"$8i",fontWeight:"$extraBold",paddingRight:"$2i","@lg":{lineHeight:"$12i",fontSize:"$10i"}},children:[(null==R?void 0:null===(h=R.campaignDetails)||void 0===h?void 0:null===(p=h.testimonialRatings)||void 0===p?void 0:p.facebookAvgRatings)>0?null==R?void 0:null===(x=R.campaignDetails)||void 0===x?void 0:null===(v=x.testimonialRatings)||void 0===v?void 0:v.facebookAvgRatings:null,(0,t.jsx)(ie,{css:{fontFamily:"$manrope",fontSize:"$5i",color:"$white",lineHeight:"$6i",fontWeight:"$bold","@lg":{lineHeight:"$8i",fontSize:"$7i"}},children:"/5"})]}),(0,t.jsx)(P.Z,{css:{fill:"$yellow06",width:"15px",height:"14px","@lg":{fill:"$yellow06",width:"$10i",height:"$10i"}}})]}),(0,t.jsxs)(o.xv,{css:{textAlign:"end",fontFamily:"$manrope",fontSize:"$7i",color:"$white",lineHeight:"$8i",fontWeight:"$normal",paddingTop:"$2i"},children:[(null==R?void 0:null===(m=R.campaignDetails)||void 0===m?void 0:null===(f=m.testimonialRatings)||void 0===f?void 0:f.facebookReviews)>0?null==R?void 0:null===($=R.campaignDetails)||void 0===$?void 0:null===(y=$.testimonialRatings)||void 0===y?void 0:y.facebookReviews:null,"reviews"]})]})]}),(null==R?void 0:null===(w=R.campaignDetails)||void 0===w?void 0:null===(j=w.testimonialRatings)||void 0===j?void 0:j.googleReviews)>0?(0,t.jsxs)(o.X2,{justify:"start",css:{gap:"$5i"},children:[(0,t.jsx)(e7.Z,{height:"31px",width:"31px"}),(0,t.jsxs)(o.xu,{children:[(0,t.jsxs)(o.X2,{css:{alignItems:"end",height:"fit-content"},children:[(0,t.jsxs)(o.xv,{css:{fontFamily:"$manrope",fontSize:"$7i",color:"$white",lineHeight:"$8i",fontWeight:"$extraBold",paddingRight:"$2i","@lg":{lineHeight:"$12i",fontSize:"$10i"}},children:[(null==R?void 0:null===(b=R.campaignDetails)||void 0===b?void 0:null===(C=b.testimonialRatings)||void 0===C?void 0:C.googleAvgRatings)>0?null==R?void 0:null===(k=R.campaignDetails)||void 0===k?void 0:null===(S=k.testimonialRatings)||void 0===S?void 0:S.googleAvgRatings:null,(0,t.jsx)(ie,{css:{fontFamily:"$manrope",fontSize:"$5i",color:"$white",lineHeight:"$6i",fontWeight:"$bold","@lg":{lineHeight:"$8i",fontSize:"$7i"}},children:"/5"})]}),(0,t.jsx)(P.Z,{css:{fill:"$yellow06",width:"15px",height:"14px","@lg":{fill:"$yellow06",width:"$10i",height:"$10i"}}})]}),(0,t.jsxs)(o.xv,{css:{textAlign:"end",fontFamily:"$manrope",fontSize:"$7i",color:"$white",lineHeight:"$8i",fontWeight:"$normal",paddingTop:"$2i"},children:[(null==R?void 0:null===(z=R.campaignDetails)||void 0===z?void 0:null===(F=z.testimonialRatings)||void 0===F?void 0:F.googleReviews)>0?null==R?void 0:null===(I=R.campaignDetails)||void 0===I?void 0:null===(H=I.testimonialRatings)||void 0===H?void 0:H.googleReviews:null,"reviews"]})]})]}):null]})]})})},il=e$()(()=>Promise.resolve().then(l.bind(l,64598)),{loadableGenerated:{webpack:()=>[64598]}}),it=(0,n.zo)(o.xu,{width:"100%",position:"relative","@lg":{padding:"0px"},"& .swiper-nav-elements":{backgroundColor:"$white",border:"1px solid $yellow700",fill:"$yellow700"},"& .swiper-nav":{width:"70%",right:0},"& .swiper-slide":{height:"auto",display:"flex",padding:"0px !important","@lg":{"&:last-child":{marginLeft:0},"&:first-child":{marginLeft:0}},"@smMax":{alignSelf:"auto"}},"& .card-container":{display:"flex",flexDirection:"column",width:"100%",height:"100%","& > *":{flex:1,height:"100%",display:"flex",flexDirection:"column"}}}),io=e=>{let{remainingItineraries:i,isMobile:l,testimonialImg:n,enablePadding:s,regionName:r}=e,[a,d]=(0,g.useState)(!0),c=(0,g.useMemo)(()=>Array.from(new Set((null==i?void 0:i.map(e=>e.tripType))||[])),[i]),[u,h]=(0,g.useState)(c[0]),p=e=>{d(!0),h(e)},x=i.filter(e=>e.tripType===u);(0,g.useEffect)(()=>{let e;return x.length>0&&(e=setTimeout(()=>{d(!1)},500)),()=>{e&&clearTimeout(e)}},[x]);let m=(0,g.useMemo)(()=>{let e=[...x];return(null==e?void 0:e.length)>=2&&e.splice(2,0,{type:"static-card"}),e},[x]),f={360:{slidesPerView:1.1,spaceBetween:16,freeMode:!0,slidesPerGroup:3},1024:{spaceBetween:16,slidesPerView:(null==m?void 0:m.length)>=3?3.45:null==m?void 0:m.length,slidesPerGroup:2,freeMode:!0}},$={breakpoints:{...f}};return(0,t.jsx)(o.xu,{css:{padding:s?"$17i 0":"0 0 $17i 0",backgroundColor:"$pyellow100","@lg":{padding:s?"$24i 0":"0 0 $24i 0"}},children:(0,t.jsx)(v.Z,{css:{gap:0,"@smMax":{padding:0}},children:l?(0,t.jsxs)(o.sg,{css:{},children:[(0,t.jsxs)(o.xu,{css:{paddingLeft:"$8i"},children:[(0,t.jsxs)(o.xv,{css:{fontSize:"$12i",fontWeight:"$bolder",color:"$grey900",fontFamily:"$manrope",paddingBottom:"$12i","@smMax":{fontSize:"$9i",paddingBottom:"$8i"}},children:["Travel Themes & Events of ",(0,E.Z)(r)]}),(0,t.jsx)(o.xu,{css:{paddingBottom:"$12i"},children:(0,t.jsx)(eY,{tabs:c,onTabChange:p,activeTab:u})})]}),(0,t.jsx)(o.X2,{css:{width:"100%",gap:"$8i",overflowX:"auto",scrollbarWidth:"none",scrollSnapType:"x mandatory",scrollBehavior:"smooth",scrollPaddingInlineStart:"$8i",padding:"0px $8i","-ms-overflow-style":"none","&::-webkit-scrollbar":{display:"none"},"@lg":{display:"none"}},children:a?[,,,,].fill("").map((e,i)=>(0,t.jsxs)(o.sg,{css:{width:"320px",height:"409px",gap:"$2i",borderRadius:"$3",overflow:"hidden"},children:[(0,t.jsx)(o.Od,{variant:"text",css:{height:"158px"}}),(0,t.jsx)(o.Od,{variant:"text",css:{flex:1}})]},"skeleton-scrolltab-".concat(e,"-").concat(i))):null==m?void 0:m.map((e,i)=>(0,t.jsx)(o.xu,{css:{"& > *":{height:"100%"},scrollSnapAlign:"start",scrollSnapStop:"always"},children:(null==e?void 0:e.type)=="static-card"?(0,t.jsx)(o.xu,{css:{width:"320px",position:"relative",overflow:"hidden","@smMax":{paddingRight:"$12i"}},children:(0,t.jsx)(eJ,{description:null==n?void 0:n.desc,name:null==n?void 0:n.name,image:null==n?void 0:n.img,backgroundColor:null==n?void 0:n.bgColor})}):(0,t.jsx)(eP,{cardData:e,locale:"in",index:i,isPackagesDuration:!0})},i))})]}):(0,t.jsx)(t.Fragment,{children:!l&&(null==m?void 0:m.length)<4?(0,t.jsxs)(o.sg,{css:{width:"fit-content"},children:[(0,t.jsxs)(o.xv,{css:{fontSize:"$12i",fontWeight:"$bolder",color:"$grey900",fontFamily:"$manrope",paddingBottom:"$12i","@smMax":{fontSize:"$9i",paddingBottom:"$8i"}},children:["Travel Themes & Events of ",(0,E.Z)(r)]}),(0,t.jsx)(o.xu,{css:{paddingBottom:"$12i"},children:(0,t.jsx)(eY,{tabs:c,onTabChange:p,activeTab:u})}),(0,t.jsx)(o.X2,{css:{gap:"$8i"},children:null==m?void 0:m.map((e,i)=>(0,t.jsx)(o.xu,{css:{"& > *":{height:"100%"}},children:(null==e?void 0:e.type)=="static-card"?(0,t.jsx)(o.xu,{css:{width:"320px",position:"relative",overflow:"hidden","@smMax":{paddingRight:"$12i"}},children:(0,t.jsx)(eJ,{description:null==n?void 0:n.desc,name:null==n?void 0:n.name,image:null==n?void 0:n.img,backgroundColor:null==n?void 0:n.bgColor})}):(0,t.jsx)(eP,{cardData:e,locale:"in",index:i,isPackagesDuration:!0})},i))})]}):(0,t.jsx)(it,{className:"Packages-itinerary",css:{"@lg":{"& .swiper-slide:last-child":{marginLeft:"0px"},"& .swiper-slide:first-child":{marginLeft:"0px"}},"@smMax":{"& .swiper-slide":{alignSelf:"auto"}}},children:(0,t.jsx)(il,{id:"Theme-itinerary",componentData:{transparentBg:!0,fluidLayout:!1,pagePadding:0},isCarMaxHeight:!0,listingFlow:!0,isTabsFilter:!0,sliderConfig:$,sliderArrowPosition:"top",sliderArrowBg:"#FFF",sliderArrowBorderColor:"#C88A4C",sliderArrowColor:"#A46B32",titleElement:(0,t.jsxs)(o.sg,{css:{width:"fit-content"},children:[(0,t.jsxs)(o.xv,{css:{fontSize:"$12i",fontWeight:"$bolder",color:"$grey900",fontFamily:"$manrope",paddingBottom:"$12i","@smMax":{fontSize:"$9i",paddingBottom:"$8i"}},children:["Travel Themes & Events of"," ",(0,E.Z)(r)]}),(0,t.jsx)(o.xu,{css:{paddingBottom:"$12i","@smMax":{paddingBottom:"$12i"}},children:(0,t.jsx)(eY,{tabs:c,onTabChange:p,activeTab:u})})]}),children:a?[,,,,].fill("").map((e,i)=>(0,t.jsxs)(o.sg,{css:{width:"320px",height:"409px",gap:"$2i",borderRadius:"$3",overflow:"hidden"},children:[(0,t.jsx)(o.Od,{variant:"text",css:{height:"158px"}}),(0,t.jsx)(o.Od,{variant:"text",css:{flex:1}})]},"skeleton-scrolltab-".concat(e,"-").concat(i))):null==m?void 0:m.map((e,i)=>(0,t.jsx)(o.xu,{css:{"& > *":{height:"100%"}},children:(null==e?void 0:e.type)=="static-card"?(0,t.jsx)(o.xu,{css:{width:"320px",position:"relative",overflow:"hidden","@smMax":{paddingRight:"$12i"}},children:(0,t.jsx)(eJ,{description:null==n?void 0:n.desc,name:null==n?void 0:n.name,image:null==n?void 0:n.img,backgroundColor:null==n?void 0:n.bgColor})}):(0,t.jsx)(eP,{cardData:e,locale:"in",index:i,isPackagesDuration:!0})},i))})})})})})};var is=l(29009),ir=l(28935),ia=l(14195),id=l(3023),ic=l(75358),ig=l(26050),iu=l(18242);let ih=(0,n.zo)(function(e){return(0,t.jsxs)("svg",{width:30,height:30,viewB
1ox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("circle",{cx:15,cy:15,r:"14.6591",fill:"#FCF3E9",stroke:"#F1DDC6",strokeWidth:"0.681818"}),(0,t.jsx)("mask",{id:"mask0_2045_1850",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:6,y:6,width:17,height:17,children:(0,t.jsx)("rect",{x:"6.82031",y:"6.81836",width:16,height:16,fill:"#D9D9D9"})}),(0,t.jsx)("g",{mask:"url(#mask0_2045_1850)",children:(0,t.jsx)("path",{d:"M16.9222 16.9853C16.9222 17.2048 17.1001 17.3828 17.3196 17.3828H18.7019C19.0785 17.3828 19.3837 17.0775 19.3837 16.7009V15.3187C19.3837 15.0992 19.2058 14.9212 18.9863 14.9212C18.7668 14.9212 18.5889 15.0992 18.5889 15.3187V15.9061C18.5889 16.2826 18.2836 16.5879 17.9071 16.5879H17.3196C17.1001 16.5879 16.9222 16.7658 16.9222 16.9853ZM14.8196 16.6135C15.3154 16.6135 15.7384 16.4383 16.0889 16.0879C16.4393 15.7375 16.6145 15.3144 16.6145 14.8187C16.6145 14.3229 16.4393 13.8999 16.0889 13.5495C15.7384 13.199 15.3154 13.0238 14.8196 13.0238C14.3239 13.0238 13.9008 13.199 13.5504 13.5495C13.2 13.8999 13.0248 14.3229 13.0248 14.8187C13.0248 15.3144 13.2 15.7375 13.5504 16.0879C13.9008 16.4383 14.3239 16.6135 14.8196 16.6135ZM10.2555 14.3187C10.2555 14.5382 10.4335 14.7161 10.653 14.7161C10.8725 14.7161 11.0504 14.5382 11.0504 14.3187V13.7313C11.0504 13.3547 11.3557 13.0494 11.7322 13.0494H12.3196C12.5391 13.0494 12.7171 12.8715 12.7171 12.652C12.7171 12.4325 12.5391 12.2546 12.3196 12.2546H10.9374C10.5608 12.2546 10.2555 12.5598 10.2555 12.9364V14.3187ZM9.16815 19.152C8.79159 19.152 8.48633 18.8467 8.48633 18.4702V11.1672C8.48633 10.7906 8.79159 10.4854 9.16815 10.4854H20.4711C20.8477 10.4854 21.153 10.7906 21.153 11.1672V18.4702C21.153 18.8467 20.8477 19.152 20.4711 19.152H9.16815ZM9.48631 17.4702C9.48631 17.8467 9.79157 18.152 10.1681 18.152H19.4712C19.8477 18.152 20.153 17.8467 20.153 17.4702V12.1672C20.153 11.7906 19.8477 11.4853 19.4712 11.4853H10.1681C9.79157 11.4853 9.48631 11.7906 9.48631 12.1672V17.4702Z",fill:"#A46B32"})})]})},{}),ip=(0,n.zo)(function(e){return(0,t.jsxs)("svg",{width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("circle",{cx:15,cy:15,r:"14.6591",fill:"#F3D3D3",stroke:"#ECB6B6",strokeWidth:"0.681818"}),(0,t.jsx)("mask",{id:"mask0_2010_4515",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:6,y:6,width:17,height:17,children:(0,t.jsx)("rect",{x:"6.82031",y:"6.81836",width:16,height:16,fill:"#D9D9D9"})}),(0,t.jsx)("g",{mask:"url(#mask0_2010_4515)",children:(0,t.jsx)("path",{d:"M16.9222 16.9853C16.9222 17.2048 17.1001 17.3828 17.3196 17.3828H18.7019C19.0785 17.3828 19.3837 17.0775 19.3837 16.7009V15.3187C19.3837 15.0992 19.2058 14.9212 18.9863 14.9212C18.7668 14.9212 18.5889 15.0992 18.5889 15.3187V15.9061C18.5889 16.2826 18.2836 16.5879 17.9071 16.5879H17.3196C17.1001 16.5879 16.9222 16.7658 16.9222 16.9853ZM14.8196 16.6135C15.3154 16.6135 15.7384 16.4383 16.0889 16.0879C16.4393 15.7375 16.6145 15.3144 16.6145 14.8187C16.6145 14.3229 16.4393 13.8999 16.0889 13.5495C15.7384 13.199 15.3154 13.0238 14.8196 13.0238C14.3239 13.0238 13.9008 13.199 13.5504 13.5495C13.2 13.8999 13.0248 14.3229 13.0248 14.8187C13.0248 15.3144 13.2 15.7375 13.5504 16.0879C13.9008 16.4383 14.3239 16.6135 14.8196 16.6135ZM10.2555 14.3187C10.2555 14.5382 10.4335 14.7161 10.653 14.7161C10.8725 14.7161 11.0504 14.5382 11.0504 14.3187V13.7313C11.0504 13.3547 11.3557 13.0494 11.7322 13.0494H12.3196C12.5391 13.0494 12.7171 12.8715 12.7171 12.652C12.7171 12.4325 12.5391 12.2546 12.3196 12.2546H10.9374C10.5608 12.2546 10.2555 12.5598 10.2555 12.9364V14.3187ZM9.16815 19.152C8.79159 19.152 8.48633 18.8467 8.48633 18.4702V11.1672C8.48633 10.7906 8.79159 10.4854 9.16815 10.4854H20.4711C20.8477 10.4854 21.153 10.7906 21.153 11.1672V18.4702C21.153 18.8467 20.8477 19.152 20.4711 19.152H9.16815ZM9.48631 17.4702C9.48631 17.8467 9.79157 18.152 10.1681 18.152H19.4712C19.8477 18.152 20.153 17.8467 20.153 17.4702V12.1672C20.153 11.7906 19.8477 11.4853 19.4712 11.4853H10.1681C9.79157 11.4853 9.48631 11.7906 9.48631 12.1672V17.4702Z",fill:"#D59896"})})]})},{}),ix=(0,n.zo)(function(e){return(0,t.jsxs)("svg",{width:30,height:30,viewB
1ox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("circle",{cx:15,cy:15,r:"14.6591",fill:"#FCF3E9",stroke:"#F1DDC6",strokeWidth:"0.681818"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.8506 11.3451C19.0067 11.1607 18.9837 10.8846 18.7992 10.7285C18.6147 10.5725 18.3387 10.5955 18.1826 10.7799L13.6772 16.1044L12.701 15.1281C12.5301 14.9573 12.2531 14.9573 12.0822 15.1281C11.9114 15.299 11.9114 15.576 12.0822 15.7469L13.3947 17.0594C13.4813 17.1459 13.6 17.1922 13.7223 17.1871C13.8445 17.182 13.9591 17.126 14.0381 17.0326L17.3361 13.135C17.8038 13.7825 18.0791 14.5775 18.0791 15.4375C18.0791 17.6121 16.3162 19.375 14.1416 19.375C11.967 19.375 10.2041 17.6121 10.2041 15.4375C10.2041 13.2629 11.967 11.5 14.1416 11.5C14.3832 11.5 14.5791 11.3041 14.5791 11.0625C14.5791 10.8209 14.3832 10.625 14.1416 10.625C11.4837 10.625 9.3291 12.7796 9.3291 15.4375C9.3291 18.0954 11.4837 20.25 14.1416 20.25C15.4204 20.25 16.5828 19.7512 17.4447 18.9375H17.6416C18.0328 18.9375 18.4018 18.8251 18.7657 18.7142C19.1198 18.6064 19.469 18.5 19.8291 18.5C20.2034 18.5 20.5861 18.6658 20.8988 18.864C21.0998 18.9981 21.3715 18.9438 21.5056 18.7428C21.6397 18.5418 21.5854 18.2701 21.3844 18.1361C20.9351 17.837 20.3703 17.625 19.8291 17.625C19.4558 17.625 19.1052 17.7328 18.7519 17.8413L18.7519 17.8413C18.5769 17.8951 18.4014 17.949 18.2221 17.9902C18.5843 17.4123 18.8273 16.7519 18.9163 16.0437C19.2192 15.9533 19.5201 15.875 19.8291 15.875C20.2034 15.875 20.5861 16.0408 20.8988 16.239C21.0998 16.3731 21.3715 16.3188 21.5056 16.1178C21.6397 15.9168 21.5854 15.6451 21.3844 15.5111C20.9351 15.212 20.3703 15 19.8291 15C19.5242 15 19.2345 15.0719 18.9461 15.1574C18.9129 14.5807 18.7782 14.0311 18.5595 13.5263C18.6285 13.506 18.6972 13.4851 18.7657 13.4642C19.1198 13.3564 19.469 13.25 19.8291 13.25C20.2034 13.25 20.5861 13.4158 20.8988 13.614C21.0998 13.7481 21.3715 13.6938 21.5056 13.4928C21.6397 13.2918 21.5854 13.0201 21.3844 12.8861C20.9351 12.587 20.3703 12.375 19.8291 12.375C19.4558 12.375 19.1052 12.4828 18.7519 12.5913C18.5503 12.6533 18.3478 12.7155 18.1397 12.7581C18.0689 12.6525 17.994 12.55 17.9152 12.4506L18.8506 11.3451Z",fill:"#A46B32"})]})},{}),iv=(0,n.zo)(function(e){return(0,t.jsxs)("svg",{width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("circle",{cx:15,cy:15,r:"14.6591",fill:"#F3D3D3",stroke:"#ECB6B6",strokeWidth:"0.681818"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.8817 10.823C19.0601 10.6122 19.0338 10.2967 18.823 10.1183C18.6122 9.93995 18.2967 9.96624 18.1183 10.177L12.9693 16.2622L11.8536 15.1465C11.6583 14.9512 11.3417 14.9512 11.1464 15.1465C10.9512 15.3417 10.9512 15.6583 11.1464 15.8536L12.6464 17.3536C12.7453 17.4524 12.8811 17.5054 13.0208 17.4996C13.1605 17.4938 13.2914 17.4297 13.3817 17.323L17.1508 12.8685C17.6854 13.6086 18 14.5171 18 15.5C18 17.9853 15.9853 20 13.5 20C11.0147 20 9 17.9853 9 15.5C9 13.0147 11.0147 11 13.5 11C13.7761 11 14 10.7762 14 10.5C14 10.2239 13.7761 10 13.5 10C10.4624 10 8 12.4624 8 15.5C8 18.5376 10.4624 21 13.5 21C14.9615 21 16.2899 20.4299 17.2749 19.5H17.5C17.9471 19.5 18.3688 19.3715 18.7847 19.2448C19.1894 19.1216 19.5885 19 20 19C20.4277 19 20.8651 19.1894 21.2226 19.416C21.4523 19.5692 21.7627 19.5072 21.916 19.2775C22.0692 19.0478 22.0072 18.7373 21.7775 18.5841C21.264 18.2423 20.6185 18 20 18C19.5734 18 19.1726 18.1232 18.7689 18.2472C18.569 18.3087 18.3683 18.3703 18.1634 18.4174C18.5774 17.7569 18.8551 17.0022 18.9568 16.1928C19.3029 16.0895 19.6469 16 20 16C20.4277 16 20.8651 16.1894 21.2226 16.416C21.4523 16.5692 21.7627 16.5072 21.916 16.2775C22.0692 16.0478 22.0072 15.7373 21.7775 15.5841C21.264 15.2423 20.6185 15 20 15C19.6516 15 19.3204 15.0821 18.9908 15.1798C18.953 14.5208 18.799 13.8926 18.549 13.3157C18.6279 13.2926 18.7064 13.2687 18.7847 13.2448C19.1894 13.1216 19.5885 13 20 13C20.4277 13 20.8651 13.1894 21.2226 13.416C21.4523 13.5692 21.7627 13.5072 21.916 13.2775C22.0692 13.0478 22.0072 12.7373 21.7775 12.5841C21.264 12.2423 20.6185 12 20 12C19.5734 12 19.1726 12.1232 18.7689 12.2472C18.5385 12.318 18.3071 12.3891 18.0693 12.4378C17.9883 12.3172 17.9027 12.2 17.8127 12.0864L18.8817 10.823Z",fill:"#D59896"})]})},{}),im=(0,n.zo)(function(e){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewB
1ox:"0 0 30 30",fill:"none",...e,children:[(0,t.jsx)("circle",{cx:15,cy:15,r:"14.6591",fill:"#FCF3E9",stroke:"#F1DDC6",strokeWidth:"0.681818"}),(0,t.jsx)("mask",{id:"mask0_1145_7954",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:7,y:7,width:16,height:16,children:(0,t.jsx)("rect",{x:7,y:7,width:"15.9375",height:"15.9375",fill:"#D9D9D9"})}),(0,t.jsx)("g",{mask:"url(#mask0_1145_7954)",children:(0,t.jsx)("path",{d:"M11.3164 19.9492C10.3986 19.9492 9.61581 19.6304 8.96792 18.9927C8.32003 18.355 7.99609 17.5773 7.99609 16.6595C7.99609 15.8473 8.25618 15.125 8.77637 14.4924C9.29655 13.8598 9.96019 13.4857 10.7673 13.3699C10.9801 12.3772 11.4792 11.5654 12.2646 10.9346C13.05 10.3037 13.9514 9.98828 14.9687 9.98828C16.17 9.98828 17.1897 10.4074 18.0279 11.2455C18.866 12.0837 19.2851 13.1034 19.2851 14.3047V14.6367H19.4895C20.1893 14.6912 20.7729 14.9726 21.2403 15.4808C21.7077 15.9891 21.9414 16.5931 21.9414 17.293C21.9414 18.0336 21.6838 18.6615 21.1688 19.1766C20.6537 19.6917 20.0258 19.9492 19.2851 19.9492H11.3164ZM11.3164 18.9531H19.2851C19.75 18.9531 20.1429 18.7926 20.4639 18.4717C20.7848 18.1507 20.9453 17.7578 20.9453 17.293C20.9453 16.8281 20.7848 16.4352 20.4639 16.1142C20.1429 15.7933 19.75 15.6328 19.2851 15.6328H18.289V14.3047C18.289 13.3861 17.9653 12.603 17.3179 11.9556C16.6704 11.3081 15.8874 10.9844 14.9687 10.9844C14.0501 10.9844 13.2671 11.3081 12.6196 11.9556C11.9722 12.603 11.6484 13.3861 11.6484 14.3047H11.3164C10.6745 14.3047 10.1266 14.5316 9.67284 14.9853C9.21906 15.4391 8.99217 15.987 8.99217 16.6289C8.99217 17.2708 9.21906 17.8187 9.67284 18.2724C10.1266 18.7262 10.6745 18.9531 11.3164 18.9531Z",fill:"#A46B32"})})]})},{}),i$=(0,n.zo)(function(e){return(0,t.jsxs)("svg",{width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("circle",{cx:15,cy:15,r:"14.6591",fill:"#F3D3D3",stroke:"#ECB6B6",strokeWidth:"0.681818"}),(0,t.jsx)("mask",{id:"mask0_2736_2272",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:7,y:7,width:16,height:16,children:(0,t.jsx)("rect",{x:7,y:7,width:"15.9375",height:"15.9375",fill:"#D9D9D9"})}),(0,t.jsx)("g",{mask:"url(#mask0_2736_2272)",children:(0,t.jsx)("path",{d:"M11.3164 19.9492C10.3986 19.9492 9.61581 19.6304 8.96792 18.9927C8.32003 18.3551 7.99609 17.5773 7.99609 16.6596C7.99609 15.8474 8.25618 15.125 8.77637 14.4924C9.29655 13.8599 9.96019 13.4857 10.7673 13.3699C10.9801 12.3772 11.4792 11.5655 12.2646 10.9346C13.05 10.3037 13.9514 9.98831 14.9687 9.98831C16.17 9.98831 17.1897 10.4074 18.0279 11.2456C18.866 12.0837 19.2851 13.1034 19.2851 14.3047V14.6367H19.4895C20.1893 14.6912 20.7729 14.9726 21.2403 15.4809C21.7077 15.9891 21.9414 16.5932 21.9414 17.293C21.9414 18.0337 21.6838 18.6615 21.1688 19.1766C20.6537 19.6917 20.0258 19.9492 19.2851 19.9492H11.3164ZM11.3164 18.9531H19.2851C19.75 18.9531 20.1429 18.7927 20.4639 18.4717C20.7848 18.1507 20.9453 17.7578 20.9453 17.293C20.9453 16.8281 20.7848 16.4352 20.4639 16.1143C20.1429 15.7933 19.75 15.6328 19.2851 15.6328H18.289V14.3047C18.289 13.3861 17.9653 12.603 17.3179 11.9556C16.6704 11.3081 15.8874 10.9844 14.9687 10.9844C14.0501 10.9844 13.2671 11.3081 12.6196 11.9556C11.9722 12.603 11.6484 13.3861 11.6484 14.3047H11.3164C10.6745 14.3047 10.1266 14.5316 9.67284 14.9854C9.21906 15.4391 8.99217 15.987 8.99217 16.6289C8.99217 17.2708 9.21906 17.8187 9.67284 18.2725C10.1266 18.7263 10.6745 18.9531 11.3164 18.9531Z",fill:"#D59896"})})]})},{}),iy=e=>{let{weatherData:i,regionName:l,currencyExchangeValue:n,visaType:s,locale:r}=e,a="in"!==r,d=(0,g.useMemo)(()=>{if(!n||0===Object.keys(n).length)return null;let e=Object.keys(n)[0],i=n[e];if(!i)return null;let[l,t]=i.split(" "),o=e.split(" ")[1],s="INR"==t;return"1 ".concat(o," = ").concat(s?"Rs. ":""," ").concat(parseFloat(l).toFixed(2)," ").concat(s?"":t)},[n]),c=(0,g.useMemo)(()=>null==i?void 0:i.monthWiseDataList,[null==i?void 0:i.monthWiseDataList]),u=(0,g.useMemo)(()=>c&&0!==c.length?[{month:"Jan - Mar",months:["Jan","Feb","Mar"]},{month:"Apr - Jun",months:["Apr","May","Jun"]},{month:"Jul - Sep",months:["Jul","Aug","Sep"]},{month:"Oct - Dec",months:["Oct","Nov","Dec"]}].map(e=>{let{month:i,months:l}=e,t=c.filter(e=>{let{month:i}=e;return l.includes(i)});return 0===t.length?{month:i,maxTemp:null,minTemp:null}:{month:i,maxTemp:Math.max(...t.map(e=>{let{maxTemp:i}=e;return i})),minTemp:Math.min(...t.map(e=>{let{minTemp:i}=e;return i}))}}):[],[c]),h=e=>{let{payload:i}=e;return(0,t.jsxs)(o.sg,{css:{borderRadius:12,backgroundColor:"$pyellow100",overflow:"hidden",padding:"12px",border:"1px solid $pyellow400"},children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontWeight:"$extraBold",fontSize:"$7i",lineHeight:"$10i",fontFamily:"$manrope",paddingBottom:"$3i"},children:null==i?void 0:i.month}),(0,t.jsxs)(o.X2,{children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontWeight:"$bold",fontSize:"$7i",lineHeight:"$13i",fontFamily:"$manrope"},children:"Maximum -\xa0"}),(0,t.jsxs)(o.xv,{css:{color:"$grey800",fontWeight:"$bold",fontSize:"$7i",lineHeight:"$13i",fontFamily:"$manrope"},children:[null==i?void 0:i.maxTemp,"\xb0",a?"F":"C"]})]}),(0,t.jsxs)(o.X2,{children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontWeight:"$bold",fontSize:"$7i",lineHeight:"$13i",fontFamily:"$manrope"},children:"Minimum -\xa0"}),(0,t.jsxs)(o.xv,{css:{color:"$grey800",fontWeight:"$bold",fontSize:"$7i",lineHeight:"$13i",fontFamily:"$manrope"},children:[null==i?void 0:i.minTemp,"\xb0",a?"F":"C"]})]})]})},p=e=>{let{icon:i,category:l,textValue:n}=e;return(0,t.jsxs)(o.X2,{align:"center",children:[i,(0,t.jsxs)(o.xv,{css:{fontSize:"$7i",color:"$grey800",fontWeight:"$extraBold",lineHeight:"$10i",fontFamily:"$manrope",fontStyle:"normal",paddingLeft:"$4i","@lg":{fontSize:"$8i",fontWeight:"$bold"}},children:[l,":\xa0"]}),(0,t.jsx)(o.xv,{css:{fontSize:"$7i",color:"$grey800",fontWeight:"$semiBold",lineHeight:"$10i",fontFamily:"$manrope",fontStyle:"normal","@lg":{fontWeight:"$extraBold",fontSize:"$8i"}},children:n})]})};return(0,t.jsxs)(o.sg,{css:{width:"100%",borderRadius:"16px",justifyContent:"space-between",display:"flex",flexDirection:"column",padding:"$7i 0",gap:"$10i","@lg":{padding:"$15i 0 $17i $15i",background:"linear-gradient(91deg, #FFDBCF 0.13%, #FFE1E7 98.45%)",flexGrow:1}},children:[(0,t.jsx)(o.xu,{children:(0,t.jsxs)(o.sg,{css:{borderRadius:"16px",rowGap:"$7i","@lg":{rowGap:"$4i"}},children:[(0,t.jsx)(p,{icon:(0,Q.Z)()?(0,t.jsx)(ix,{width:30,height:30}):(0,t.jsx)(iv,{width:30,height:30}),category:"Visa Type",textValue:s}),(0,t.jsx)(p,{icon:(0,Q.Z)()?(0,t.jsx)(ih,{width:30,height:30}):(0,t.jsx)(ip,{width:30,height:30}),category:"Currency",textValue:null!=d?d:""})]})}),(0,t.jsx)(o.xu,{css:{"@smMax":{display:"none"},width:"486px",height:"1px",backgroundColor:"$red200"}}),(0,t.jsxs)(o.xu,{css:{"@lg":{marginTop:0,width:"calc(100% - 72px)"}},children:[(0,t.jsxs)(o.X2,{align:"center",children:[(0,Q.Z)()?(0,t.jsx)(im,{width:30,height:30,fill:"pred300"}):(0,t.jsx)(i$,{width:30,height:30}),(0,t.jsxs)(o.xv,{css:{fontSize:"$7i",color:"$grey800",fontWeight:"$extraBold",lineHeight:"$10i",fontFamily:"$manrope",fontStyle:"normal",paddingLeft:"$4i"},children:["Climate of ",(0,E.Z)(l)]})]}),(0,t.jsx)(o.sg,{css:{border:"1px solid $pyellow300",marginTop:"$8i",borderRadius:"16px",overflow:"hidden",height:149,backgroundColor:"$pyellow50","@lg":{rowGap:"$4i",marginTop:"$10i",height:188}},children:(0,Q.Z)()?(0,t.jsx)(is.h,{width:"100%",height:"100%",children:(0,t.jsxs)(ir.v,{data:u,margin:{left:0,right:20,top:30,bottom:12},children:[(0,t.jsx)(ia.q,{strokeDasharray:"0",horizontal:!0,vertical:!1,stroke:"#F1DDC6"}
1),(0,t.jsx)(id.K,{dataKey:"month",axisLine:{stroke:"#F1DDC6"},tick:{fill:"#464E67",fontSize:12,fontFamily:"$manrope",fontWeight:"500"},tickLine:!1}),(0,t.jsx)(ic.B,{tick:{fill:"#464E67",fontSize:12,fontFamily:"$manrope",fontWeight:"600",transform:"translate(-7, 0)"},tickFormatter:e=>"".concat(e,"\xb0").concat(a?"F":"C"),tickLine:!1,axisLine:!1}),(0,t.jsx)(ig.u,{content:e=>{var i,l;return(0,t.jsx)(h,{active:null==e?void 0:e.active,label:null==e?void 0:e.label,payload:null==e?void 0:null===(i=e.payload)||void 0===i?void 0:null===(l=i[0])||void 0===l?void 0:l.payload})}}),(0,t.jsx)(iu.$,{stackId:"a",dataKey:"maxTemp",fill:"#F3D3D3",maxBarSize:17})]})}):(0,t.jsx)(is.h,{width:"100%",height:"100%",children:(0,t.jsxs)(ir.v,{data:c,margin:{left:0,right:20,top:30,bottom:12},barCategoryGap:0,barGap:-5,children:[(0,t.jsx)(ia.q,{strokeDasharray:"0",horizontal:!0,vertical:!1,stroke:"#F1DDC6"}),(0,t.jsx)(id.K,{dataKey:"month",axisLine:{stroke:"#F1DDC6"},tick:{fill:"#464E67",fontSize:12,fontFamily:"$manrope",fontWeight:"500"},tickLine:!1,padding:{left:0,right:0}}),(0,t.jsx)(ic.B,{tick:{fill:"#464E67",fontSize:12,fontFamily:"$manrope",fontWeight:"600",transform:"translate(-7, 0)"},tickFormatter:e=>"".concat(e,"\xb0").concat(a?"F":"C"),tickLine:!1,axisLine:!1}),(0,t.jsx)(ig.u,{content:e=>{var i,l;return(0,t.jsx)(h,{active:null==e?void 0:e.active,label:null==e?void 0:e.label,payload:null==e?void 0:null===(i=e.payload)||void 0===i?void 0:null===(l=i[0])||void 0===l?void 0:l.payload})}}),(0,t.jsx)(iu.$,{stackId:"a",dataKey:"maxTemp",fill:"#F3D3D3",maxBarSize:17})]})})})]})]})},iw=["$red900","$blue900","$green900","$yellow900"],ij=["$red200","$blue100","$green100","$yellow200"],ib={honeymoon:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/couple_18bf6e68da.png",senior:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/senior_d6f7cdce50.png",friends:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/friends_03fdb11c96.png",family:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/fam_cc8a93f3c4.png"},iC=e=>{let{themeBasedDestinations:i,regionName:l,title:n,weatherData:r,currencyExchangeValue:c,visaType:g,locale:u}=e,h=(0,d.useRouter)(),p=(0,s.Dv)(R.bW);return(0,t.jsx)(o.xu,{css:{backgroundColor:"$pyellow100"},children:(0,t.jsx)(v.Z,{css:{backgroundColor:"$pyellow100","@smMax":{padding:"$11i $8i"}},children:(0,t.jsxs)(o.kC,{css:{display:"flex",flexDirection:"column",gap:"0px","@lg":{padding:"$24i 0",flexDirection:"row",gap:"64px"}},children:[(0,t.jsxs)(o.sg,{css:{width:"500px","@smMax":{width:"100%"}},children:[(0,t.jsx)(o.xv,{css:{color:"$grey900",fontWeight:"$extraBold",fontSize:"$9i",lineHeight:"$13i",fontFamily:"$manrope","@lg":{fontSize:"$12i",lineHeight:"$16i"}},children:n}),(0,t.jsx)(o.X2,{css:{marginTop:"$8i",flexWrap:"wrap",gap:"$4i",justifyContent:"center","@lg":{marginTop:"$10i",gap:"$10i",justifyContent:"left"}},children:i&&(null==i?void 0:i.map((e,i)=>{var l,n;let s=null!==(n=null!==(l=null==e?void 0:e.themeName)&&void 0!==l?l:null==e?void 0:e.name)&&void 0!==n?n:"",r=ib[s]||(null==e?void 0:e.image);return(null==p?void 0:p.isMobile)?(0,t.jsxs)(o.xu,{css:{cursor:"pointer",width:"48%"},onClick:()=>h.push("/".concat(null==e?void 0:e.key)),children:[(0,t.jsx)(o.xu,{css:{width:"100%",height:"93px",position:"relative",overflow:"hidden",borderTopLeftRadius:"40px",borderTopRightRadius:"40px"},children:(0,t.jsx)(a(),{className:"imageBanner",src:(0,j.Z)("".concat(r)),fill:!0,alt:null==e?void 0:e.name,style:{objectFit:"fill"}})}),(0,t.jsxs)(o.sg,{justify:"center",align:"center",css:{padding:"$4i 0px",backgroundColor:iw[i],borderBottomLeftRadius:"$4",borderBottomRightRadius:"$4"},children:[(0,t.jsx)(o.xv,{css:{color:"$white",fontWeight:"$bolder",fontSize:"$7i",lineHeight:"$10i",fontFamily:"$manrope"},children:(0,E.Z)(null==e?void 0:e.themeName)||(0,E.Z)(null==e?void 0:e.name)}),(0,t.jsxs)(o.X2,{align:"center",children:[(0,t.jsx)(o.xv,{css:{color:ij[i],fontWeight:"$semiBold",fontSize:"13px",lineHeight:"$10i",fontFamily:"$manrope",fontStyle:"normal"},children:"From\xa0"}),(0,t.jsx)(o.xv,{css:{color:ij[i],fontWeight:"$semiBold",fontSize:"13px",lineHeight:"$10i",fontFamily:"$manrope",fontStyle:"normal"},children:(0,t.jsx)(eS.Z,{value:e.tripStartingPrice})})]})]})]}
1,i):(0,t.jsxs)(o.xu,{css:{cursor:"pointer"},onClick:()=>h.push("/".concat(null==e?void 0:e.key)),children:[(0,t.jsx)(o.xu,{css:{width:"160px",height:"93px",position:"relative",overflow:"hidden",borderTopLeftRadius:"40px",borderTopRightRadius:"40px","@lg":{width:"240px",height:"140px",".imageBanner":{transition:"all 0.3s ease-in-out",objectFit:"cover"},"&:hover":{".imageBanner":{transform:"scale(1.1)"}}}},children:(0,t.jsx)(a(),{className:"imageBanner",src:(0,j.Z)("".concat(r)),fill:!0,alt:null==e?void 0:e.name})}),(0,t.jsxs)(o.sg,{justify:"center",align:"center",css:{padding:"$4i 0px",backgroundColor:iw[i],borderBottomLeftRadius:"$4",borderBottomRightRadius:"$4","@lg":{borderBottomLeftRadius:16,borderBottomRightRadius:16}},children:[(0,t.jsx)(o.xv,{css:{color:"$white",fontWeight:"$bolder",fontFamily:"$manrope","@lg":{fontSize:"$9i",lineHeight:"$14i"}},children:(0,E.Z)(null==e?void 0:e.themeName)||(0,E.Z)(null==e?void 0:e.name)}),(0,t.jsxs)(o.X2,{align:"center",children:[(0,t.jsx)(o.xv,{css:{color:ij[i],fontWeight:"semiBold",fontSize:"14px",lineHeight:"$13i",fontFamily:"$manrope",fontStyle:"normal"},children:"From\xa0"}),(0,t.jsx)(o.xv,{css:{color:ij[i],fontWeight:"semiBold",fontSize:"14px",lineHeight:"$10i",fontFamily:"$manrope",fontStyle:"normal"},children:(0,t.jsx)(eS.Z,{value:e.tripStartingPrice})})]})]})]},i)}))})]}),(0,t.jsxs)(o.xu,{css:{flex:1,"@smMax":{width:"100%",paddingTop:"$10i"},"@lg":{display:"flex",flexDirection:"column",width:"calc(100% - 564px)",height:"auto"}},children:[(0,t.jsxs)(o.xv,{css:{color:"$grey900",fontWeight:"$extraBold",fontSize:"$9i",lineHeight:"$13i",fontFamily:"$manrope","@lg":{fontSize:"$12i",lineHeight:"$16i",paddingBottom:"$10i"}},children:["Key details of ",(0,E.Z)(l)]}),(0,t.jsx)(iy,{weatherData:r,regionName:l,currencyExchangeValue:c,visaType:"in"===u&&"singapore"===l?"E-Visa":g,locale:u})]})]})})})};var ik=l(69571),iS=l(72049),iz=l(69845);let iF=(0,n.zo)(function(e){return(0,t.jsx)("svg",{width:72,height:11,viewBox:"0 0 72 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsxs)("g",{id:"Group 82175",opacity:"0.5",children:[(0,t.jsx)("path",{id:"Line 170",d:"M2 5.5H66",stroke:"#EEC8A0"}),(0,t.jsx)("path",{id:"Polygon 6",d:"M5.5 0L11 5.5L5.5 11L0 5.5L5.5 0Z",fill:"#EEC8A0"}),(0,t.jsx)("path",{id:"Polygon 7",d:"M66.5 0L72 5.5L66.5 11L61 5.5L66.5 0Z",fill:"#EEC8A0"})]})})},{}),iI=e=>{let{isSingapore:i}=e,[l,n]=(0,g.useState)(!1),[s,r]=(0,g.useState)(0),d=(0,g.useCallback)(()=>{r(0)},[]),c=(0,g.useMemo)(()=>i?[{imageUrl:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/value-props/value-prop-1.png",whyChooseUrl:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/tourism.png",title:"10+ Years of Expertise",subTitle:"Every detail perfected — your international holiday, our Sooper Hit craft.",id:0},{imageUrl:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/value-props/value-prop-2.png",whyChooseUrl:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/review.png",title:"1,50,000+ happy travellers",subTitle:"From honeymoons to family getaways, planned with care and delight.",id:1},{imageUrl:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/value-props/value-prop-3.png",whyChooseUrl:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/Group+82098.png",title:"Rated 4.6 ⭐\n on Google",subTitle:"7500+ reviews from travellers who had a Sooper Hit holiday.",id:2},{imageUrl:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/value-props/value-prop-4.png",whyChooseUrl:"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/Frame+4244.png",title:"24x7 Customer Support",subTitle:"On-trip help when you need it — no bots, just real people.",id:3}]:iz.trustElements,[i]);return(0,t.jsxs)(g.Fragment,{children:[(0,t.jsx)(iS.default,{galleryVisible:l,setGalleryVisible:n,galleryPhotos:(0,Q.Z)()?["https://pickyourtrail-video.gumlet.io/media/videos/banner/cherry_blossom_banner.mp4?w=313&h=320"]:["https://pickyourtrail-video.gumlet.io/media/videos/banner/cherry_blossom_banner.mp4?w=1280&h=480"],targetSlideIndex:s,singleSlide:!0,onCloseModal:d}),(0,t.jsx)(o.xu,{css:{paddingBottom:"$14i",backgroundColor:"$pyellow100","@lg":{padding:"$24i 0"}},children:(0,t.jsx)(v.Z,{css:{},children:(0,t.jsxs)(o.kC,{css:{flexDirection:"column",display:"flex",gap:"$11i","@lg":{flexDirection:"row",gap:"$26i"}},children:[(0,t.jsx)(o.xu,{css:{"@lg":{borderRight:"1px dashed $yellow300",paddingRight:"$16i"}},children:(0,t.jsx)(o.xu,{css:{position:"relative",overflow:"hidden",height:"200px",width:"100%",borderTopRightRadius:"$3",borderTopLeftRadius:"$3","@lg":{width:"356px",paddingRight:"33px"}},children:(0,t.jsx)(a(),{src:(0,j.Z)("https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/HolidayBrand.png","w=356&h=200&fit=crop&q=20"),alt:"PYT",fill:!0})})}),(0,t.jsx)(o.X2,{css:{"@lg":{display:"none"}},justify:"center",children:(0,t.jsx)(iF,{})}),(0,t.jsxs)(o.sg,{css:{gap:"$10i","@lg":{backgroundColor:"unset",gap:"$14i"}},children:[(0,t.jsx)(o.xv,{css:{color:"$grey900",fontWeight:"$bolder",lineHeight:"$13i",letterSpacing:"-0.4px",fontFamily:"$manrope",fontSize:"$9i",textAlign:"center","@lg":{textAlign:"left"}},children:"Why choose Pickyourtrail?"}),(0,t.jsx)(o.X2,{css:{width:"100%",gap:"$8i",flexWrap:"wrap",rowGap:"$12i",justifyContent:"center","@lg":{padding:0,gap:"$16i",columnGap:"$22i",justifyContent:"space-between"}},children:null==c?void 0:c.map(e=>(0,t.jsx)(o.xu,{css:{width:"40%","@lg":{marginLeft:"0px",marginRight:"0px",width:"46%"}},children:(0,t.jsx)(ik.Z,{item:e,isWhyChoosePyt:!0})},null==e?void 0:e.id))})]})]})})})]})};var iH=l(80236);let iB=(0,n.zo)("a",{display:"flex"}),iD=e=>{let{openMobSearch:i,onOpenPackagesV2mobFilter:l,themeData:n,regionName:r,regionCode:a}=e,c=(0,d.useRouter)(),[u,h]=(0,g.useState)(""),[p,x]=(0,s.KO)(R.k$),{UseGetPackageRegionAsync:m,isLoading:f}=(0,Y.K)(),[$,y]=(0,g.useState)(!1),{getSelectedCityAsync:w}=(0,K.A)(),j=(0,s.b9)(R.e5),b=(0,g.useMemo)(()=>n?null==n?void 0:n.map(e=>({text:e.name||(null==e?void 0:e.themeName),link:e.key})):[],[n]),C=(0,g.useCallback)(U()(async e=>{try{if((null==e?void 0:e.length)&&""!==e){let i=await m({searchString:e});if(console.log({response:i}),(null==i?void 0:i.message)=="Success"&&(null==i?void 0:i.data)){let l=Object.keys(null==i?void 0:i.data),t=null==l?void 0:l.map(e=>{var l,t,n;return{region:e,regionData:null===(l=null==i?void 0:i.data[e])||void 0===l?void 0:l.packages,cityId:null===(t=null==i?void 0:i.data[e])||void 0===t?void 0:t.cityId,regionCode:null===(n=null==i?void 0:i.data[e])||void 0===n?void 0:n.regionCode}});x(t)}else y(!0)}else y(!1),x([])}catch(n){y(!0),x([])}},1e3),[]),k=e=>{h(e.target.value),C(e.target.value)},S=async e=>{let{cityId:i,regionNmae:l,regionCode:t}=e;if(i){let{data:n}=await w({cityId:i}
1);j({selectedCityId:i,displayTextForRegion:l,cities:[n]})}c.push("/customize/".concat(t))},z=()=>(0,t.jsxs)(o.sg,{css:{width:"100%"},children:[(0,t.jsxs)(iB,{href:"/customize/".concat(a),css:{padding:"$6i",backgroundColor:"$yellow100",height:"46px",borderRadius:10,gap:"$2i",alignItems:"center"},children:[(0,t.jsx)(iH.Z,{css:{fill:"$green500"},height:16,width:16}),(0,t.jsxs)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$bold",lineHeight:"22px"},children:["Build your own ",(0,E.Z)(r)," itinerary"]}),(0,t.jsx)(N.Z,{css:{fill:"$grey500"},width:15,height:14})]}),null==b?void 0:b.map((e,i)=>(0,t.jsx)(iB,{href:"/".concat(null==e?void 0:e.link),css:{padding:"$8i 0",borderBottom:"1px solid $grey100",gap:"$2i",alignItems:"center"},children:(0,t.jsx)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$extraBold",lineHeight:"20px"},children:(0,E.Z)(null==e?void 0:e.text)})},i))]}),F=()=>(0,t.jsx)(o.sg,{children:p.map((e,i)=>(0,t.jsxs)(o.sg,{children:[(0,t.jsx)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$extraBold",lineHeight:"20px"},children:(0,E.Z)(null==e?void 0:e.region)}),(0,t.jsxs)(iB,{onClick:i=>{null==i||i.preventDefault(),S({cityId:null==e?void 0:e.cityId,regionNmae:e.region,regionCode:null==e?void 0:e.regionCode})},href:"/customize/".concat(null==e?void 0:e.regionCode),css:{padding:"15px $10i 0 $13i",marginLeft:"$5i",borderRadius:10,gap:"$2i",alignItems:"center",position:"relative"},children:[(0,t.jsx)(o.xu,{css:{borderLeft:"1px solid $grey100",borderBottom:"1px solid $grey100",height:"30px",width:"22px",position:"absolute",left:"2px",top:"-2px"}}),(0,t.jsxs)(o.xv,{css:{color:"$grey800",fontFamily:"$manrope",fontSize:"$7i",fontWeight:"$extraBold",lineHeight:"22px"},children:["Build your own ",(0,E.Z)(null==e?void 0:e.region)," itinerary"]}),(0,t.jsx)(iH.Z,{css:{fill:"$green500"},height:16,width:16})]}),(0,t.jsx)(o.sg,{css:{},children:null==e?void 0:e.regionData.map((e,i)=>(0,t.jsxs)(iB,{href:"/".concat(null==e?void 0:e.key),css:{alignItems:"center",gap:"$2i",position:"relative",padding:"15px $10i 0 $13i",marginLeft:"$5i"},children:[(0,t.jsx)(o.xu,{css:{borderLeft:"1px solid $grey100",borderBottom:"1px solid $grey100",height:"38px",width:"22px",position:"absolute",left:"2px",top:"-10px"}}),(0,t.jsxs)(o.xv,{css:{fontSize:"$7i",color:"$grey800",fontFamily:"$manrope",fontWeight:"$extraBold",lineHeight:"22px"},children:[null==e?void 0:e.name,"\xa0"]})]},i))}),i<p.length-1&&(0,t.jsx)(o.X2,{css:{paddingTop:"$12i"}})]},i))});return(0,t.jsx)(B.Vq.fC,{open:i,onOpenChange:()=>l(),children:(0,t.jsx)(B.Vq.VY,{onPointerDownOutside:e=>e.preventDefault(),css:{marginTop:0,height:"100vh",maxHeight:"100vh",width:"100%",borderRadius:0,padding:0,"& > button":{display:"none"}},children:(0,t.jsxs)(v.Z,{css:{paddingTop:"$8i",paddingBottom:"$8i"},children:[(0,t.jsxs)(o.X2,{css:{justifyContent:"space-between",alignItems:"center"},children:[(0,t.jsx)(o.xu,{onClick:l,css:{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"$round",backgroundColor:"$grey100",width:"36px",height:"36px",color:"$black",fontWeight:"$extraBold",textAlign:"center",marginTop:0,cursor:"pointer",border:"1px solid $grey100","&:after":{fontSize:"14px"}},children:(0,t.jsx)(I.Z,{css:{height:18,width:18,display:"inline-block",fill:"$grey600"}})}),(0,t.jsxs)(o.X2,{css:{width:"285px",height:"44px",backgroundColor:"$white",border:"1px solid $grey300",boxShadow:"none",borderRadius:10,justifyContent:"space-between",padding:"0 $6i",alignItems:"center",gap:"$2i"},children:[(0,t.jsx)(X.Z,{css:{fill:"$grey700"},height:16,width:16}),(0,t.jsx)(o.II,{placeholder:" Search destinations...",value:u,onChange:k,autoFocus:!1,css:{width:"100%",backgroundColor:"$white",color:"$grey950",fontFamily:"$manrope",fontSize:"13px",fontWeight:"$bolder",lineHeight:"20px",outline:"none",boxShadow:"none",border:"1px solid white",height:"100%","&::placeholder":{color:"$grey700",fontFamily:"$manrope",fontSize:"13px",fontWeight:"$bold",lineHeight:"20px"},"&:focus":{boxShadow:"none",backgroundColor:"$white"}}})]})]}),(0,t.jsx)(o.xu,{css:{paddingTop:"$15i",display:"flex",flexDirection:"column",overflowY:"scroll",height:"100vh"},children:(null==u?void 0:u.length)?(0,t.jsx)(F,{}):f?(0,t.jsx)(o.sg,{justify:"center",css:{gap:"$14i",height:"100%",padding:"0 $6i"},children:[1,2,3,4,5,6,7,8].map((e,i)=>(0,t.jsx)(o.xu,{children:(0,t.jsx)(o.Od,{variant:"text",css:{width:"100%",height:"12px",background:"linear-gradient(90deg, #F7F8FB 24.09%, rgba(248, 249, 252, 0.00) 115.76%)"}})},i))}):$?(0,t.jsx)(o.sg,{justify:"center",align:"center",css:{gap:"$14i",height:"100%",padding:"0 $6i"},children:(0,t.jsx)(o.xv,{css:{fontSize:"$7i",lineHeight:"$10i",fontWeight:"$bolder",color:"$grey800",fontFamily:"$manrope"},children:"No result found!"})}):(0,t.jsx)(z,{})})]})})})};var iR=l(25043),iT=l(22004),iL=l(27353);let iW=e$()(()=>Promise.resolve().then(l.bind(l,64598)),{loadableGenerated:{webpack:()=>[64598]}}),iP=(0,n.zo)("a"),iM=(0,n.zo)(o.xu,{width:"100%",position:"relative","@lg":{padding:"0px"},"& .swiper-nav-elements":{backgroundColor:"$yellow100",border:"1px solid $yellow300",fill:"$yellow800"},"& .swiper-nav":{width:"100%","& .swiper-nav-prev-Similar-itinerary":{marginLeft:-20,marginTop:"-40px"},"& .swiper-nav-next-Similar-itinerary":{marginRight:0,marginTop:"-40px"},"& .swiper-nav-elements.swiper-button-disabled":{visibility:"hidden"}}}),iZ=e=>{let{popularVideoList:i}=e,l=(0,n.zo)(a(),{filter:"blur(10px)"}),s=e=>{let{cardData:i}=e;return(0,t.jsxs)(iP,{href:"/videos/".concat(null==i?void 0:i.slug),onClick:()=>sessionStorage.setItem("scrollPosition",window.scrollY.toString()),css:{width:"100%",cursor:"pointer"},children:[(0,t.jsx)(o.xu,{css:{height:"300.977px",width:"169.578px",backgroundPosition:"center",backgroundSize:"cover",borderRadius:8.481,position:"relative",overflow:"hidden","@lg":{height:426,borderRadius:12,width:240}},children:(0,t.jsx)(iR.Z,{width:"inherit",height:(0,Q.Z)()?285:460,children:(0,t.jsxs)(g.Fragment,{children:[(0,t.jsx)(iT.default,{url:null==i?void 0:i.videoUrl,playing:!0,loop:!0,width:"100%",height:"100%",className:"video-player",muted:!0,playsinline:!0,preload:"auto",style:{position:"absolute",zIndex:2}},null==i?void 0:i.videoUrl),(0,t.jsx)(l,{alt:"pyt-thumburl"+"".concat((0,j.Z)(null==i?void 0:i.videoUrl,"time=1")),src:"".concat((0,j.Z)(null==i?void 0:i.videoUrl,"time=1")),fill:!0})]})})}),(0,t.jsx)(o.sg,{align:"center",css:{padding:"$8i",width:"169.578px","@lg":{width:240}},children:(0,t.jsx)(o.xv,{css:{fontSize:"$6i",lineHeight:"$8i",color:"$grey800",fontWeight:"$bolder",textAlign:"center",fontFamily:"$manrope","@lg":{fontSize:"$9i",lineHeight:"$12i"}},children:null==i?void 0:i.title})})]})};return(0,t.jsx)(o.xu,{css:{backgroundColor:"$pyellow100",paddingTop:"$24i","@smMax":{paddingTop:"$16i",paddingBottom:"$12i"}},children:(0,t.jsxs)(iL.Z,{isSliderFlow:!0,children:[(0,t.jsx)(o.xv,{css:{color:"$grey900",fontFamily:"$manrope",fontSize:"$9i",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"26px",paddingBottom:"$10i","@lg":{color:"$grey900",fontFamily:"$manrope",fontSize:"$12i",fontStyle:"normal",fontWeight:"$extraBold",lineHeight:"16px",paddingBottom:"$10i",letterSpacing:"-0.4px",paddingLeft:0}},children:"Popular Videos"}),(0,t.jsx)(iM,{id:"Similar-itinerary",className:"wall-of-love",css:{"@lg":{"& .swiper-slide:last-child":{marginLeft:"0px"},"& .swiper-slide:first-child":{marginLeft:"0px"},"& .swiper-nav>div":{width:"98%"}},"@smMax":{"& .swiper-slide":{alignSelf:"auto"}}},children:(0,t.jsx)(iW,{id:"Similar-itinerary",componentData:{transparentBg:!0,fluidLayout:!1,pagePadding:0},sliderConfig:{breakpoints:{360:{slidesPerView:2.1,spaceBetween:0,freeMode:!0,slidesPerGroup:3},1024:{spaceBetween:16,slidesPerView:5.12,slidesPerGroup:2,freeMode:!0}}},sliderArrowPosition:"middle",sliderArrowBg:"#FFF",sliderArrowBorderColor:"#FFF",sliderArrowColor:"#576489",children:i.map((e,i)=>(0,t.jsx)(g.Fragment,{children:(0,t.jsx)(s,{cardData:e})},i))})})]})})};var iA=l(92006),iE=l(65197),i_=l(62379),iO=l(47624),iV=l(39502),iN=l(38134);let iX=(0,n.zo)("a",{}),iq=e=>{var i,l,n,r,c,b,C,k,S,z,I,H,B,D,T,L,W,P,M,Z,E,_,O,N,X,q,G,U,K,Y,J,Q,ee,ei,el,et,en,eo,es,er,ea,ed,ec,ep,ex,ev,ef,e$,ey,ew,ej;let{packages:eb,locale:eC,footerData:ek,unityItineraries:eS,hotSellingItineraries:ez,dealOfTheDayItineraries:eI,remainingItineraries:eH,postCardData:eB,videoList:eD,filterQueryProps:eR,immersiveVideoData:eT,popularVideoList:eL,packagesTestimonial:eW,ThemeTestimonial:eP,recentlyBookedItinerary:eM,displayCurrency:eZ,testimonial:eA}=e,eO=(0,d.useRouter)(),eV=(0,g.useRef)(null),[eN,eX]=(0,g.useState)(eb||null),eq=(0,g.useMemo)(()=>{var e;return null==eN?void 0:null===(e=eN.campaignDetails)||void 0===e?void 0:e.paid},[null==eN?void 0:null===(i=eN.campaignDetails)||void 0===i?void 0:i.paid]),[eG,eU]=(0,g.useState)({unityItineraries:eS,hotSellingItineraries:ez,dealOfTheDayItineraries:eI,remainingItineraries:eH}),[eY,eJ]=(0,g.useState)(!1),[eQ,e0]=(0,g.useState)(!1),[e2,e3]=(0,g.useState)(!1),[e5,e9]=(0,s.KO)(R.fy),[e4,e6]=(0,g.useState)(!1),e7=(0,s.b9)(R.rO),[ie,il]=(0,g.useState)(!1),[it,is]=(0,g.useState)(!1),[ir,ia]=(0,g.useState)(!1),[id,ic]=(0,g.useState)(null),ig=(0,s.Dv)(R.s1),iu=(0,s.Dv)(R.bW),[ih,ip]=(0,g.useState)((null==iu?void 0:iu.isMobile)||!1),ix=(0,g.useMemo)(()=>{var e;return(null===(e=null==eO?void 0:eO.asPath.split("?")[0])||void 0===e?void 0:e.includes("packages/mothers-day-singapore"))||!1},[eO]),iv=(0,g.useMemo)(()=>{var e;return null==eb?void 0:null===(e=eb.campaignDetails)||void 0===e?void 0:e.regionCode},[null==eb?void 0:null===(l=eb.campaignDetails)||void 0===l?void 0:l.regionCode]),im=(0,s.b9)(R.f6);im(eZ||"INR");let i$=(0,g.useMemo)(()=>{var e;return null==eO?void 0:null===(e=eO.query)||void 0===e?void 0:e.modalName},[null==eO?void 0:null===(n=eO.query)||void 0===n?void 0:n.modalName]),iy=(0,g.useMemo)(()=>{var e,i;return(null==eb?void 0:null===(e=eb.campaignDetails)||void 0===e?void 0:null===(i=e.interlinkingBlocks)||void 0===i?void 0:i.find(e=>(null==e?void 0:e.categoryName)==="THEME"))||null},[null==eb?void 0:null===(r=eb.campaignDetails)||void 0===r?void 0:r.interlinkingBlocks]),iw=(0,g.useMemo)(()=>{var e,i;return(null==eb?void 0:null===(e=eb.campaignDetails)||void 0===e?void 0:null===(i=e.interlinkingBlocks)||void 0===i?void 0:i.find(e=>(null==e?void 0:e.categoryName)==="INTERLINKED_CITY"))||null},[null==eb?void 0:null===(c=eb.campaignDetails)||void 0===c?void 0:c.interlinkingBlocks]),ij=(0,g.useMemo)(()=>{var e,i,l,t;return(null==iy?void 0:null===(e=iy.interlinkedPageDetails)||void 0===e?void 0:e.length)?null==iy?void 0:null===(l=iy.interlinkedPageDetails)||void 0===l?void 0:l.slice(0,4):(null==iw?void 0:null===(i=iw.interlinkedPageDetails)||void 0===i?void 0:i.length)?null==iw?void 0:null===(t=iw.interlinkedPageDetails)||void 0===t?void 0:t.slice(0,4):[]},[null==iw?void 0:iw.interlinkedPageDetails,null==iy?void 0:iy.interlinkedPageDetails]),ib=(0,g.useMemo)(()=>(null==iu?void 0:iu.isMobile)||!1,[null==iu?void 0:iu.isMobile]),ik=(0,g.useMemo)(()=>{var e,i,l;return(null==eb?void 0:null===(e=eb.campaignDetails)||void 0===e?void 0:e.interlinkingBlocks)?null==eb?void 0:null===(i=eb.campaignDetails)||void 0===i?void 0:null===(l=i.interlinkingBlocks)||void 0===l?void 0:l.map(e=>e.interlinkedPageDetails?{categoryName:e.categoryName,category:e.category,destinations:e.interlinkedPageDetails.map(e=>({displayText:(0,iN.B)(e.name),slug:e.key}))}:null):[]},[null==eb?void 0:null===(b=eb.campaignDetails)||void 0===b?void 0:b.interlinkingBlocks]);(0,g.useEffect)(()=>{let e=[],i=[],l=[],t=[];if(eN){var n;null==eN||null===(n=eN.filteredItineraries)||void 0===n||n.forEac
1h(n=>{var o,s;if((null==n?void 0:n.type)==="UNITY"){e.push(n);return}if(null==n?void 0:null===(o=n.pills)||void 0===o?void 0:o.includes("HOT SELLING")){i.push(n);return}if(null==n?void 0:null===(s=n.pills)||void 0===s?void 0:s.includes("DEAL_OF_THE_DAY")){l.push(n);return}t.push(n)})}eU({unityItineraries:e,hotSellingItineraries:i,dealOfTheDayItineraries:l,remainingItineraries:t})},[eN]),(0,g.useEffect)(()=>{var e,i,l;if(!eY&&(null==eO?void 0:null===(e=eO.query)||void 0===e?void 0:e.m)==="gcm"){let t=null===(i=null==eG?void 0:null===(l=eG.unityItineraries)||void 0===l?void 0:l.find(e=>{var i;return e.campaignItineraryId==(null==eO?void 0:null===(i=eO.query)||void 0===i?void 0:i.id)}))||void 0===i?void 0:i.unityOptions;e7(t),eJ(!0)}},[eO,i$,eY,e7,eb,null==eG?void 0:eG.unityItineraries]),(0,g.useEffect)(()=>{var e;(null==eO?void 0:null===(e=eO.query)||void 0===e?void 0:e.m)!=="gcm"&&eJ(!1)},[null==eO?void 0:null===(C=eO.query)||void 0===C?void 0:C.m]);let iS=(0,g.useMemo)(()=>{var e,i;let l=new Set;return(null==eN?void 0:null===(e=eN.filteredItineraries)||void 0===e?void 0:e.length)&&(null==eN||null===(i=eN.filteredItineraries)||void 0===i||i.map(e=>{(null==e?void 0:e.regionCode)&&(null==l||l.add(null==e?void 0:e.regionCode))})),l},[null==eN?void 0:eN.filteredItineraries]),{showImmersiveVideo:iz,videoBannerData:iF}=(0,g.useMemo)(()=>{if(eT){let e=(0,y.X)(eT,!!eO.query.preview);if(e.valid)return{showImmersiveVideo:!0,videoBannerData:eT}}return{showImmersiveVideo:!1,videoBannerData:{}}},[eT,eO.query.preview]),iH=(0,g.useMemo)(()=>(null==eD?void 0:eD.map(e=>({videoUrl:"".concat(e.videoUrl,"?duration=3"),title:e.title,slug:e.slug})))||[],[eD]),iB=(0,g.useMemo)(()=>(null==eL?void 0:eL.map(e=>({videoUrl:"".concat(e.videoUrl,"?duration=3"),title:e.title,slug:e.slug})))||[],[eL]),iR=(0,g.useMemo)(()=>{var e;return null==eN?void 0:null===(e=eN.campaignDetails)||void 0===e?void 0:e.seoDetails},[null==eN?void 0:null===(k=eN.campaignDetails)||void 0===k?void 0:k.seoDetails]);(0,g.useEffect)(()=>{e5||"searchFilter"!==i$||e9(!0)},[eO,i$,e5,e9]),(0,g.useEffect)(()=>{i$||e9(!1)},[i$,e9]),(0,g.useEffect)(()=>{var e;let i=(null===(e=window.visualViewport)||void 0===e?void 0:e.height)||0,l=document.querySelector(".pkges-mob-filter"),t=document.getElementById("footer-wrapper"),n=()=>{let e=(null==t?void 0:t.getBoundingClientRect().top)||4e3,n=window.scrollY,o=(null==l?void 0:l.getBoundingClientRect().top)||0;e3(n>o+44),e<i?ip(!1):ip(!0)};return window.addEventListener("scroll",n,{capture:!0,passive:!0}),()=>window.removeEventListener("scroll",n,{capture:!0})},[ip,e3]),(0,g.useEffect)(()=>{let e=document.querySelector(".packages-v2-header"),i=()=>{let i=window.scrollY,l=(null==e?void 0:e.getBoundingClientRect().top)||0;il(i>l+112)};return window.addEventListener("scroll",i,{capture:!0,passive:!0}),()=>window.removeEventListener("scroll",i,{capture:!0})},[il]);let iT=(0,g.useCallback)(()=>{var e;eO.push("".concat(null===(e=eO.asPath)||void 0===e?void 0:e.split("?")[0],"?modalName=searchFilter"),void 0,{shallow:!0})},[eO]),iL=()=>{eO.push({pathname:eO.asPath.split("?")[0]},void 0,{shallow:!0})},iW=(0,g.useCallback)(()=>{var e,i,l;let t={pathname:eO.asPath,reviewerName:"".concat(null!==(e=null==id?void 0:id.fName)&&void 0!==e?e:""," ").concat(null!==(i=null==id?void 0:id.mName)&&void 0!==i?i:""," ").concat(null!==(l=null==id?void 0:id.lName)&&void 0!==l?l:""),leadSource:(0,eF.L1)({router:eO,lastLocation:{pathname:eO.asPath}})};(0,A.L9W)(A.oxM,t,ig||void 0)},[null==id?void 0:id.fName,null==id?void 0:id.lName,null==id?void 0:id.mName,eO,ig]);(0,g.useEffect)(()=>{let e=()=>{sessionStorage.setItem("scrollPosition",window.scrollY.toString())};return eO.events.on("routeChangeStart",e),()=>{eO.events.off("routeChangeStart",e)}},[eO.events]),(0,g.useEffect)(()=>{eb&&"scrollPosition"in sessionStorage&&(window.scrollTo({top:Number(sessionStorage.getItem("scrollPosition"))}),sessionStorage.removeItem("scrollPosition"))},[eb]);let iP=(0,g.useMemo)(()=>{var e,i;return null===(e=null===(i=eO.asPath)||void 0===i?void 0:i.split("?")[0])||void 0===e?void 0:e.includes("yas-island")}
1,[eO.asPath]),iM=(0,g.useMemo)(()=>{var e;return null===(e=null==eO?void 0:eO.asPath.split("?")[0])||void 0===e?void 0:e.includes("disney-cruise-singapore")},[eO]),iq=(0,g.useMemo)(()=>{var e;return null===(e=null==eO?void 0:eO.asPath.split("?")[0])||void 0===e?void 0:e.includes("/packages/cred")},[eO]);return(0,t.jsx)(u.Z,{className:"packages-v2-header",footerData:ek,footerProps:{css:{paddingBottom:"72px","@lg":{paddingBottom:0}},hideTrustSection:!0,hideBrandSection:!0},navbarProps:{isTransparentOnlyInMobile:!1,isTransparent:!0,isFixedNavbar:!1,themeData:ij,regionName:null==eN?void 0:null===(S=eN.campaignDetails)||void 0===S?void 0:S.region,regionCode:null==eN?void 0:null===(z=eN.campaignDetails)||void 0===z?void 0:z.regionCode},isPaid:eq,isPackagesV2:!0,children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.xu,{css:{position:"relative"},children:[iR&&eN&&eN.campaignDetails?(0,t.jsx)(m.default,{title:iR.metaTitle,description:iR.metaDescription,slug:eO.asPath.slice(1),canonicalURL:eN.campaignDetails.canonicalUrl,keywords:iR.metaKeywords,crawlable:!eq,locales:eN.campaignDetails.locales,addWebPageSchema:!eq,uncostedItinerary:!0}):null,ix?(0,t.jsx)(o.xu,{css:{height:"70vh",width:"100%",position:"relative",overflow:"hidden"},children:(0,t.jsx)(h.Z,{bannerMedia:(0,iO.Z)("https://pickyourtrail-video.gumlet.io/media/videos/banner/ishan_mothers_day_video_for+product.mp4"),fallbackImage:{url:(0,j.Z)("https://video.gumlet.io/6729c8782ae781b3da9a00c2/681b810a71185aee8bc1951b/thumbnail-1-0.png?v=1746641782673"),alt:"pyt-banner"}})}):(0,t.jsx)(t.Fragment,{children:iz?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)($.Z,{videoBannerData:iF||{},wrapperCss:{"@lg":{height:"calc(100vh - 82px)"}}}),(0,t.jsx)(o.xu,{css:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%)",height:"calc(0px + 100vh)",position:"absolute",bottom:0,width:"100%"}})]}):(0,t.jsxs)(o.xu,{css:{height:"70vh",width:"100%",position:"relative",overflow:"hidden",background:'url("'.concat((0,j.Z)(null==eb?void 0:null===(I=eb.campaignDetails)||void 0===I?void 0:I.image),'")'),backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:[(0,t.jsxs)(v.Z,{css:{zIndex:2},children:[(0,t.jsx)(o.xv,{as:"h1",css:{fontSize:"$12i",color:"$white",fontWeight:"$extraBold",fontFamily:"$manrope",lineHeight:"$16i",textAlign:"center","@lg":{fontSize:"$18i",lineHeight:"$20i"}},children:null==eb?void 0:null===(H=eb.campaignDetails)||void 0===H?void 0:H.name}),(0,t.jsx)(o.xv,{css:{fontSize:"$7i",color:"$white",fontWeight:"$bold",fontFamily:"$manrope",lineHeight:"$10i",paddingTop:"$9i",textAlign:"center","@lg":{fontSize:"$9i",lineHeight:"$12i"}},children:null==eb?void 0:null===(B=eb.campaignDetails)||void 0===B?void 0:B.bannerText})]}),(0,t.jsx)(o.xu,{css:{background:"linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%)",position:"absolute",top:0,height:"100%",width:"100%",zIndex:1}})]})})]}),(0,t.jsxs)(o.sg,{css:{backgroundColor:"$black",padding:"$11i 0 ".concat((null==eG?void 0:null===(D=eG.unityItineraries)||void 0===D?void 0:D.length)?"55px":"$6i"," 0"),"@lg":{padding:"$10i 0 ".concat((null==eG?void 0:null===(T=eG.unityItineraries)||void 0===T?void 0:T.length)?"$16i":"0"," 0")}},children:[(0,t.jsx)(v.Z,{css:{paddingBottom:"$2i","@smMax":{paddingLeft:"$8i",paddingRight:"$8i"}},children:eN&&eN.campaignDetails?(0,t.jsx)(ii,{packages:eN,displayCurrency:eZ,disableBorderBottom:null==eG||null===(L=eG.unityItineraries)||void 0===L||!L.length,isAboutTextToBeShown:!iz}):null}),(null==eG?void 0:null===(W=eG.unityItineraries)||void 0===W?void 0:W.length)&&!iq?(0,t.jsx)(v.Z,{css:{"@smMax":{padding:0}},children:(0,t.jsx)(eK,{heroItineraries:null==eG?void 0:eG.unityItineraries,locale:eC,isPaid:eq,isMobile:ib})}):null]}),(0,t.jsx)(iI,{isSingapore:ix}),(null==eG?void 0:null===(P=eG.hotSellingItineraries)||void 0===P?void 0:P.length)&&!iq?(0,t.jsx)(eE,{hotSellingItineraries:null==eG?void 0:eG.hotSellingItineraries,isMobile:ib}):null,((null==ij?void 0:ij.length)||(null==eb?void 0:eb.weatherData))&&!iq?(0,t.jsx)(iC,{themeBasedDestinations:ij,regionName:iP?"Abu Dhabi":null==eb?void 0:null===(M=eb.campaignDetails)||void 0===M?void 0:M.region,title:iM?"Disney Cruise Singapore Packages":iP?"Abu Dhabi City Packages":(null==iy?void 0:iy.category)||(null==iw?void 0:iw.category),weatherData:null==eb?void 0:eb.weatherData,currencyExchangeValue:null==eb?void 0:eb.currencyExchangeValue,visaType:null==eb?void 0:eb.visaType,locale:eC}):null,(null==eM?void 0:eM.length)||iq?(0,t.jsx)(e8,{dealOfTheDayItineraries:iq?iV.VI:eM,regionName:null==eb?void 0:null===(Z=eb.campaignDetails)||void 0===Z?void 0:Z.region,regionCode:null==eb?void 0:null===(E=eb.campaignDetails)||void 0===E?void 0:E.regionCode,isMobile:ib,isCredPackage:iq}):null,(null==eG?void 0:null===(_=eG.remainingItineraries)||void 0===_?void 0:_.length)?(0,t.jsx)(e1,{remainingItineraries:iq?[...null==eG?void 0:eG.remainingItineraries,...null==eG?void 0:eG.unityItineraries]:null==eG?void 0:eG.remainingItineraries,isMobile:ib,testimonialImg:eW,showRegionFilter:iq,regionWithCodes:(null==eb?void 0:eb.regionsWithCodes)||[],isCredPackage:iq}):null,ix?(0,t.jsx)(o.xu,{css:{padding:"$17i 0","@lg":{padding:"$24i 0"}},children:(0,t.jsx)(v.Z,{children:(0,t.jsx)(iX,{href:"/customize/sin?unityEnabled=true",children:(0,t.jsx)(o.xu,{css:{overflow:"hidden",position:"relative",height:"440px",width:"100%",borderRadius:"$4","@lg":{height:"376px"}},children:(0,t.jsx)(a(),{alt:"mother's-day",src:(0,iO.Z)(ib?"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/packages_v2/Mother_day_Mobile.png":"https://oceanjar-new.s3.ap-south-1.amazonaws.com/images/web_app/packages_v2/Mother_day_Desktop.png"),fill:!0})})})})}):null,(null==iH?void 0:iH.length)?(0,t.jsx)(w.Z,{title:null==eB?void 0:null===(O=eB.storyTestimonials)||void 0===O?void 0:O.title,subTitle:null==eB?void 0:null===(N=eB.storyTestimonials)||void 0===N?void 0:N.subTitle,googleRating:null==eB?void 0:null===(X=eB.storyTestimonials)||void 0===X?void 0:X.googleRating,googleOverallCount:parseInt(null==eB?void 0:null===(q=eB.storyTestimonials)||void 0===q?void 0:q.googleOverallCount),testimonialVideos:iH,packagesStoriesForSlugs:[],isPkgesV2:!0,backgroundColor:"#fffff"}):null,iq?(0,t.jsx)(e1,{remainingItineraries:iq?[...null==eG?void 0:eG.remainingItineraries,...null==eG?void 0:eG.unityItineraries]:null==eG?void 0:eG.remainingItineraries,isMobile:ib,testimonialImg:eW,regionWithCodes:(null==eb?void 0:eb.regionsWithCodes)||[],isCredPackage:iq}):(null==eG?void 0:null===(G=eG.remainingItineraries)||void 0===G?void 0:G.length)?(0,t.jsx)(io,{remainingItineraries:null==eG?void 0:eG.remainingItineraries,isMobile:ib,testimonialImg:eP,enablePadding:null!=eD&&!!eD.length,regionName:iM?"Disney Cruise Singapore":iP?"Abu Dhabi":null==eb?void 0:null===(U=eb.campaignDetails)||void 0===U?void 0:U.region}):null,ix||iq?null:(0,t.jsx)(F,{isMobile:ib}),(null==iB?void 0:iB.length)>=5&&!iq?(0,t.jsx)(iZ,{popularVideoList:iB}):null,(null==eN?void 0:null===(K=eN.campaignDetails)||void 0===K?void 0:null===(Y=K.testimonialRatings)||void 0===Y?void 0:Y.overallAvgRatings)&&(null==eN?void 0:null===(J=eN.campaignDetails)||void 0===J?void 0:null===(Q=J.testimonialRatings)||void 0===Q?void 0:Q.starRatingCounts)?(0,t.jsx)(i_.Z,{overAllRating:null==eN?void 0:null===(ee=eN.campaignDetails)||void 0===ee?void 0:null===(ei=ee.testimonialRatings)||void 0===ei?void 0:ei.overallAvgRatings,starRatingCounts:null==eN?void 0:null===(el=eN.campaignDetails)||void 0===el?void 0:null===(et=el.testimonialRatings)||void 0===et?void 0:et.starRatingCounts,testimonialCount:(null==eA?void 0:null===(en=eA.data)||void 0===en?void 0:null===(eo=en.reviews)||void 0===eo?void 0:eo.length)||0,isEnablepopularSection:(null==eL?void 0:eL.length)>=5}):null,(0,t.jsx)(o.xu,{css:{backgroundColor:"#FCF3E9"}
1,children:(0,t.jsxs)(v.Z,{css:{paddingTop:"$10i"},children:[(0,t.jsx)(o.xu,{id:"testimonial-section",children:(null==eA?void 0:null===(es=eA.data)||void 0===es?void 0:es.reviews)&&(null==eA?void 0:null===(er=eA.data)||void 0===er?void 0:null===(ea=er.reviews)||void 0===ea?void 0:ea.length)>0?(0,t.jsx)(o.xu,{as:"div",ref:eV,children:(0,t.jsx)(iA.Z,{setOpenReviewModal:is,setcurrentSelectedReview:ic,setShowBottomSheet:ia,testimonials:null==eA?void 0:null===(ed=eA.data)||void 0===ed?void 0:ed.reviews,isPaid:eq,bgColor:"rgb(252, 243, 233)",totalCount:null==eA?void 0:null===(ec=eA.data)||void 0===ec?void 0:ec.totalCount,regionCode:iv})}):null}),(null===(ep=(null==eb?void 0:null===(ex=eb.campaignDetails)||void 0===ex?void 0:ex.faqDetails)||[])||void 0===ep?void 0:ep.length)?(0,t.jsx)(o.xu,{css:{paddingBottom:"$8i","@lg":{paddingBottom:"$16i"}},children:(0,t.jsx)(eu.Z,{title:"Frequently Asked Questions",data:(null==eb?void 0:null===(ev=eb.campaignDetails)||void 0===ev?void 0:ev.faqDetails)||[]})}):null,ik.length>0&&!eq?(0,t.jsx)(o.xu,{css:{padding:"$10i 0px",marginTop:"$8i","@lg":{padding:"0px"}},children:(0,t.jsx)(eh.Z,{destinationPills:ik,numOfColumn:4})}):null]})}),ib&&e2?(0,t.jsx)(em,{onOpenPackagesV2mobFilter:iT,setOpenPackagesV2mobFilter:e6}):null,ib&&e5?(0,t.jsx)(iD,{openMobSearch:e5,onOpenPackagesV2mobFilter:iL,themeData:ij,regionName:null==eb?void 0:null===(ef=eb.campaignDetails)||void 0===ef?void 0:ef.region,regionCode:null==eb?void 0:null===(e$=eb.campaignDetails)||void 0===e$?void 0:e$.regionCode,setOpenMobSearch:e9}):null,ib&&e4&&eN?(0,t.jsx)(V,{openPackagesV2mobFilter:e4,setOpenPackagesV2mobFilter:e6,filterQueryProps:eR,setGroupedItineraries:eU,cityVsCount:eN.cityVsCount,budgetVsCount:eN.budgetVsCount,hotelRatingsVsCount:eN.hotelRatingsVsCount,themeVsCount:eN.themeVsCount,setPackagesData:eX}):null,!ib&&eN?(0,t.jsx)(eg,{filterQueryProps:eR,setGroupedItineraries:eU,isSticky:ie,cityVsCount:eN.cityVsCount,budgetVsCount:eN.budgetVsCount,hotelRatingsVsCount:eN.hotelRatingsVsCount,themeVsCount:eN.themeVsCount,setPackagesData:eX,regionCode:null==eb?void 0:null===(ey=eb.campaignDetails)||void 0===ey?void 0:ey.regionCode,themeData:ij,regionName:null==eb?void 0:null===(ew=eb.campaignDetails)||void 0===ew?void 0:ew.region,isCredPackage:iq}):null,id?(0,t.jsx)(iE.Z,{onClicktestimonialExit:iW,currentSelectedReview:id,setcurrentSelectedReview:ic,setOpenReviewModal:is,setShowBottomSheet:ia,openReviewModal:it,showBottomSheet:ir}):null,eY?(0,t.jsx)(f.default,{open:eY,setOpen:iL}):null,(0,t.jsx)(p.default,{defaultOpen:eQ,onClose:()=>e0(!1),regionCode:"".concat(null==eb?void 0:null===(ej=eb.campaignDetails)||void 0===ej?void 0:ej.regionCode),isGeneric:(null==iS?void 0:iS.size)>1}),"mle"===iv||(null==iu?void 0:iu.isDesktop)||!ih?null:(0,t.jsx)(e_,{ctaText:"Create Now",bottomPosition:62,text:"Need help in planning?",subText:"Customise your own sooper hit itinerary",mobsubText:eq?"Build Your Itinerary Yourself":"Talk to our Travel Experts",onclick:()=>{e0(!0)}}),(0,t.jsx)(x.Z,{})]})})};var iG=iq},52691:function(e,i){let l=(e,i,l)=>{let t={key:i,testimonials:0,limit:30,journals:!1,combinationCosts:!0,...l};return t};i.Z=l}}]);

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.