1(window["webpackJsonpchat-test"]=window["webpackJsonpchat-test"]||[]).push([[166],{1373:function(e,t,a){"use strict";a.r(t);var n=a(0),o=a.n(n),r=a(486),i=a(551),l=a.n(i),s=a(72);var c=Object(s.a)(e=>{var t,a,n,o,r,i;return{newHeading:{fontWeight:"400 !important",fontSize:"16px",color:e.agentTheme.card.secondary_foreground,marginBottom:"40px",textAlign:"center",[e.breakpoints.down("sm")]:{fontSize:"16px"}},specialOfferHeading:{fontWeight:"700",fontSize:"30px",color:e.agentTheme.background.primary_text,margin:0,[e.breakpoints.down("sm")]:{fontSize:"20px"}},galleryBox:{width:"100%",paddingLeft:60,paddingRight:60,[e.breakpoints.down("sm")]:{rowGap:"22px",width:"100%",flexDirection:"column",paddingTop:"40px",alignItems:"center"}},viewAllCOntainer:{backgroundColor:"transparent",padding:e.spacingRules.cardPaddingDesktop,width:"100%",[e.breakpoints.down("sm")]:{padding:e.spacingRules.cardPaddingMobile}},viewAllButton:{borderRadius:"2px",fontSize:"16px",[e.breakpoints.down("sm")]:{width:"95%"},color:null===e||void 0===e||null===(t=e.agentTheme)||void 0===t||null===(a=t.secondary)||void 0===a?void 0:a.foreground,backgroundColor:null===e||void 0===e||null===(n=e.agentTheme)||void 0===n||null===(o=n.secondary)||void 0===o?void 0:o.main,"&:hover":{backgroundColor:null===e||void 0===e||null===(r=e.agentTheme)||void 0===r||null===(i=r.secondary)||void 0===i?void 0:i.main}},mobileContainer:{width:"100%",display:"flex",maxWidth:"100%",flexDirection:"column",justifyContent:"center",alignItems:"center"},galleryCard:{position:"relative",width:"100%",backgroundColor:e.agentTheme.background.foreground,maxWidth:"409px",height:"300px",borderRadius:"16px",[e.breakpoints.down("sm")]:{maxWidth:"330px",width:"95%",borderRadius:"10px"}},galleryCardMob:{height:"350px",width:"100%"},imgGallery:{height:"350px",borderRadius:"16px"},buttonBox:{display:"flex",justifyContent:"center",paddingTop:"40px",[e.breakpoints.down("sm")]:{paddingTop:0}},imageContainer:{position:"relative",width:"100%",height:"100%",transition:"all .5s",backgroundRepeat:"no-repeat",backgroundSize:"cover","&:hover":{transform:"scale(1.10)"}},offerHeading:{fontWeight:"700 !important",fontSize:"30px",marginTop:"59px",width:"173px",lineHeight:"35px"},offerText:{fontWeight:"500 !important",fontSize:"16px",color:e.agentTheme.background.main,marginTop:"11px",width:"200px"},offerCardButton:{marginTop:"20px",width:"160px",height:"50px",cursor:"pointer",background:e.agentTheme.card.secondary,color:e.agentTheme.background.main,fontSize:"14px","&:hover":{backgroundColor:e.agentTheme.accent.foreground}},gridGalleryContainer:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gridTemplateRows:"repeat(3, 200px)",gap:"10px",width:"100%",[e.breakpoints.down("sm")]:{gridTemplateColumns:"repeat(2, 1fr)",gridTemplateRows:"auto"}},gridItem:{overflow:"hidden",borderRadius:"8px",boxShadow:"0 4px 10px rgba(0,0,0,0.1)","& img":{width:"100%",height:"100%",objectFit:"cover",transition:"transform 0.4s ease"},"& img:hover":{transform:"scale(1.05)"}},item1:{gridColumn:"1 / 2",gridRow:"1 / 2"},item2:{gridColumn:"2 / 3",gridRow:"1 / 2"},item3:{gridColumn:"3 / 5",gridRow:"1 / 3"},item4:{gridColumn:"1 / 3",gridRow:"2 / 3"},item5:{gridColumn:"1 / 2",gridRow:"3 / 4"},item6:{gridColumn:"2 / 3",gridRow:"3 / 4"},item7:{gridColumn:"3 / 5",gridRow:"3 / 4"},imgCover:{width:"100%",height:"100%",objectFit:"cover"}}}),d=a(531),m=a(2),p=a(240);t.default=e=>{var t;let{images:a=[]}=e;const i=c(),{username:s=null,deskTopView:g=!0}=Object(n.useContext)(m.g);let u=a&&(null===a||void 0===a?void 0:a.length)>7?null===a||void 0===a?void 0:a.slice(0,7):a,h=u?u.length:0;const v=()=>o.a.createElement(r.a,{className:i.gridGalleryContainer},null===u||void 0===u?void 0:u.map((e,t)=>{const{image_url:a="",name:n=""}=e||{};return o.a.createElement(r.a,{key:t,className:`${i.gridItem} ${i["item"+(t+1)]}`},o.a.createElement("img",{src:a||l.a,alt:n,className:i.imgCover}))}));return 0==(null===(t=u||[])||void 0===t?void 0:t.length)?null:o.a.createElement(r.a,{pb:g?7.5:4,pl:!g&&2,pr:!g&&2,className:i.viewAllCOntainer},o.a.createElement(r.a,{className:i.galleryContainer,maxWidth:"1200px",m:"auto"},o.a.createElement(r.a,{display:"flex",flexDirection:"column"},o.a.createElement(r.a,{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"},o.a.createElement("p",{className:i.specialOfferHeading},"Gallery"),o.a.createElement("p",{className:i.newHeading},"Explore around the world with these scenic beauties")),g?o.a.createElement(v,null):o.a.createElement("div",{className:i.mobileContainer},o.a.createElement(d.a,{items:u,itemsPerCarousel:1,getTestimonialItem:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{image_url:t=""}=e||{};return o.a.createElement("div",{className:i.galleryCardMob},o.a.createElement("img",{src:t||l.a,width:"100%",height:"296px",className:i.imgCover}))},primaryIcon:!0})))),h>7&&o.a.createElement(r.a,{className:i.buttonBox},o.a.createElement(p.a,{variant:"contained",className:i.viewAllButton,onClick:()=>{window.location.href=`/${s?s+"/":""}gallery_detail`}},"View All")))}},528:function(e,t,a){"use strict";var n=a(25),o=a(26);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(a(0)),i=(0,n(a(27)).default)(r.createElement("path",{d:"M14 7l-5 5 5 5V7z"}),"ArrowLeft");t.default=i},529:function(e,t,a){"use strict";var n=a(25),o=a(26);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(a(0)),i=(0,n(a(27)).default)(r.createElement("path",{d:"M10 17l5-5-5-5v10z"}),"ArrowRight");t.default=i},531:function(e,t,a){"use strict";var n=a(0),o=a.n(n),r=a(72),i=a(36),l=a(529),s=a.n(l),c=a(528),d=a.n(c),m=a(490),p=a(117),g=a.n(p),u=a(116),h=a.n(u);const v=Object(r.a)(e=>({mobileStepperDots:e=>{var t,a;return{borderRadius:"50%",display:"inline-block",marginRight:"12px",height:(null===e||void 0===e||null===(t=e.customStepperPropertys)||void 0===t?void 0:t.size)||"8px",width:(null===e||void 0===e||null===(a=e.customStepperPropertys)||void 0===a?void 0:a.size)||"8px"}},nonActiveStepperDot:t=>{var a;return{backgroundColor:(null===t||void 0===t||null===(a=t.customStepperPropertys)||void 0===a?void 0:a.deactivecolor)||e.agentTheme.secondary.light}},activeStepperDot:t=>{var a;return{backgroundColor:(null===t||void 0===t||null===(a=t.customStepperPropertys)||void 0===a?void 0:a.activecolor)||e.agentTheme.secondary.main}}}));var f=e=>
1{let{activeStep:t,handleStepChange:a,step:n,customStepperPropertys:r}=e;const i=v({customStepperPropertys:r});return o.a.createElement("span",{onClick:()=>a(n),className:t?`${i.mobileStepperDots} ${i.activeStepperDot}`:`${i.mobileStepperDots} ${i.nonActiveStepperDot}`})},b=a(68),x=a(486);const y=Object(r.a)(e=>({mobileStepperDots:{borderRadius:"4px",display:"inline-block",marginRight:"12px",height:"6px",width:"12px",backgroundColor:e.agentTheme.secondary.main,transition:"all 0.5s ease",cursor:"pointer"},activeStepperDot:{width:"22px",backgroundColor:e.agentTheme.primary.main}}));var C=e=>{let{activeStep:t,handleStepChange:a,step:n}=e;const r=y();return o.a.createElement("span",{onClick:()=>a(n),className:t?`${r.mobileStepperDots} ${r.activeStepperDot}`:`${r.mobileStepperDots} ${r.nonActiveStepperDot}`})},w=a(537),k=a.n(w),S=a(539),E=a.n(S),T=a(532);const R=Object(T.autoPlay)(h.a),N=Object(r.a)(e=>({carouselStepperContainer:{background:"transparent",margin:"auto"},carouselItemContainer:{height:"100%",display:"flex",flexDirection:"row",justifyContent:"space-evenly"},iconsContainer:{position:"absolute",width:"100%",top:"calc(50% - 55px)",display:"flex",justifyContent:"space-between"},icons:{position:"relative",top:"50%",fontSize:100,color:"#000000",cursor:"pointer"},iconRight:{right:20,[e.breakpoints.down("sm")]:{right:"2.2%"}},iconLeft:{left:5}}));t.a=e=>{let{items:t=[],itemsPerCarousel:a=1,getTestimonialItem:n,showStepper:r=!0,deskTopView:l=!0,showArrowIcon:c=!1,carouselSectionConatiner:p,showArrowParadise:u=!1,center:h=!1,toorThemeStepper:v=!1,title:y,text:w,background:S=!1,showFlightIcon:T=!0,customStepperPropertys:z={}}=e,j=0,D=[...t],$=[],I=[];const O=!l,P=N(),A=Math.ceil(t.length/a),_=Object(i.a)(),W=e=>{var n,i,l,h,S,N;let{children:j}=e;const[D,$]=o.a.useState(0),I=e=>{e<0||e>=A||$(e)},O=Math.ceil(t.length/a);return o.a.createElement("div",{style:{position:"relative",display:"flex",flexDirection:"column",justifyContent:"center"}},y&&o.a.createElement(x.a,{width:"100%",mb:5},o.a.createElement(b.a,{variant:"h4",style:{fontSize:"28px",fontWeight:600,color:_.agentTheme.background.primary_text,lineHeight:1.2}},y),T&&o.a.createElement(x.a,{mt:1,display:"flex",alignItems:"center"},o.a.createElement(g.a,{style:{color:null===_||void 0===_||null===(n=_.agentTheme)||void 0===n||null===(i=n.primary)||void 0===i?void 0:i.main,fontSize:22,transform:"rotate(90deg)"}}),o.a.createElement(x.a,{style:{height:"1px",width:"80px",backgroundColor:null===_||void 0===_||null===(l=_.agentTheme)||void 0===l||null===(h=l.primary)||void 0===h?void 0:h.main,margin:"-5px"}})),o.a.createElement(b.a,{variant:"body1",style:{flex:1,mt:.5,mr:1,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",color:null===_||void 0===_||null===(S=_.agentTheme)||void 0===S||null===(N=S.text)||void 0===N?void 0:N.body_text_color}},w)),o.a.createElement(R,Object.assign({axis:"x",index:D,onChangeIndex:I,enableMouseEvents:!0,resistance:!0},v?{interval:7e3}:{},{style:p?{padding:"0 30px"}:{}}),j),c&&o.a.createElement("div",{className:P.iconsContainer},o.a.createElement(m.a,{size:"medium",style:{backgroundColor:_.agentTheme.background.main},className:`${P.icons} ${P.iconLeft}`,color:"secondary","aria-label":"left",onClick:()=>I(D-1),disabled:0==D},o.a.createElement(d.a,{fontSize:"large",style:{color:_.palette.getContrastText(_.agentTheme.background.main)}})),o.a.createElement(m.a,{size:"medium",style:{backgroundColor:_.agentTheme.background.main},className:`${P.icons} ${P.iconRight}`,color:"secondary","aria-label":"right",onClick:()=>I(D+1),disabled:D===A-1},o.a.createElement(s.a,{fontSize:"large",style:{color:_.palette.getContrastText(_.agentTheme.background.main)}}))),u&&o.a.createElement("div",{className:P.iconsContainer},o.a.createElement(m.a,{size:"medium",style:{backgroundColor:_.agentTheme.card.main},className:`${P.icons} ${P.iconLeft}`,"aria-label":"left",onClick:()=>I(D-1),disabled:0==D},o.a.createElement(k.a,{fontSize:"large",style:{color:_.agentTheme.card.foreground}})),o.a.createElement(m.a,{size:"medium",style:{backgroundColor:_.agentTheme.card.main},className:`${P.icons} ${P.iconRight}`,"aria-label":"right",onClick:()=>I(D+1),disabled:D==A-1},o.a.createElement(E.a,{fontSize:"large",style:{color:_.agentTheme.card.foreground}}))),r&&O>1&&o.a.createElement("div",{className:P.carouselStepperContainer,style:{paddingTop:u&&"1rem"}},t.map((e,t)=>{if(t<A)return o.a.createElement(f,{activeStep:D==t,handleStepCh
1ange:I,step:t,customStepperPropertys:z})})),v&&o.a.createElement("div",{className:P.carouselStepperContainer,style:{paddingTop:"1rem"}},t.map((e,t)=>{if(t<A)return o.a.createElement(C,{activeStep:D==t,handleStepChange:I,step:t})})))},M=()=>{if(D.length<=a){j+=D.length,D.splice(0,D.length).forEach(e=>{$.push(n(e))}),I.push(o.a.createElement("div",{className:`${p} ${P.carouselItemContainer}`,style:{justifyContent:h?"center":"space-evenly"}},$))}else{for(D.splice(0,a).forEach(e=>{$.push(n(e))}),I.push(o.a.createElement("div",{className:P.carouselItemContainer,style:{justifyContent:h?"center":"space-evenly"}},$)),j+=a,$=[];D.length>0;)M()}return I};return o.a.createElement(W,{maxSteps:t.length},O?(D.forEach(e=>{I.push(o.a.createElement("div",{className:P.carouselItemContainer,style:{justifyContent:h?"center":"space-evenly"}},n(e)))}),I):M())}},551:function(e,t,a){e.exports=a.p+"static/media/defaultDestination.8d1666a8.jpg"}}]); 2//# sourceMappingURL=166.fb9a87d0.chunk.js.map
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.