1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[257,7958],{40257:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return DestinationDetails}});var l=n(85893),s=n(25675),a=n.n(s),i=n(67294),r=n(11163),o=n(69986),c={d:[]};n(41664);var d=n(74865),u=n.n(d),m=n(32458),p=n(5152),x=n.n(p);function DestinationDetails(e){var t,s,d,p,v,f,b,h,g,w,y,j,N,S;let{page:k,mediaHandler:C}=e,_=(0,o.Z)(e=>e.locale),T=x()(()=>Promise.all([n.e(8398),n.e(5985)]).then(n.bind(n,25985)).then(e=>e.default),{loadableGenerated:{webpack:()=>[25985]}}),E=x()(()=>n.e(6013).then(n.bind(n,36013)).then(e=>e.default),{loadableGenerated:{webpack:()=>[36013]}}),D=x()(()=>Promise.all([n.e(6066),n.e(2324),n.e(2246)]).then(n.bind(n,92246)).then(e=>e.default),{loadableGenerated:{webpack:()=>[92246]}}),M=(0,m.Z)(e=>e.showLazy),L=c.d,[z,O]=(0,i.useState)(),{title:P}=k,U=k.data.main.items,q=k.data.main.button_items,I=k.data.main.images,R=(0,r.useRouter)(),[W,G]=(0,i.useState)(k.route_url);(0,i.useEffect)(()=>{G(k.route_url)},[k.route_url]);let getDefaultValue=()=>({label:k.title,value:k.route_url});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("section",{className:"page-banner relative flex items-center justify-center min-h-[560px] sm:min-h-full sm:pb-[42.2916666667%] w-full bg-[#f1f1f1]",children:[(0,l.jsx)("span",{className:"absolute h-full w-full top-0 left-0 bg-[#000] opacity-[.3] z-[1]"}),(0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{srcSet:null===(d=C["main.banner"])||void 0===d?void 0:null===(s=d[0])||void 0===s?void 0:null===(t=s.conversions)||void 0===t?void 0:t.mobile,media:"(max-width: 414px)"}),(0,l.jsx)("source",{srcSet:null===(f=C["main.banner"])||void 0===f?void 0:null===(v=f[0])||void 0===v?void 0:null===(p=v.conversions)||void 0===p?void 0:p.desktop,media:"(min-width: 415px)"}),(0,l.jsx)(a(),{src:(null===(g=C["main.banner"])||void 0===g?void 0:null===(h=g[0])||void 0===h?void 0:null===(b=h.conversions)||void 0===b?void 0:b.mobile)||(null===(y=C["main.banner"])||void 0===y?void 0:null===(w=y[0])||void 0===w?void 0:w.original),alt:P,width:1920,height:1080,className:"w-full h-full object-cover absolute top-0 left-0",priority:!0})]}),P&&(0,l.jsx)("h2",{className:"relative sm:absolute sm:top-[50%] sm:translate-y-[-50%] ".concat("font-tenor"," text-[30px] sm:text-[35px] md:text-[42px] px-5 text-center text-white z-[3] leading-[50px]"),children:P})]}),(0,l.jsx)("article",{className:"bg-[#f1f1f1]",children:M?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"container ".concat("py-[50px]"),children:[(0,l.jsxs)("div",{className:"flex flex-col pb-[40px]",children:[(0,l.jsx)("span",{className:"text-center pb-3 text-[14px]",children:"Other Destinations"}),(0,l.jsx)(T,{className:"react-select",id:"destinationSelect",instanceId:"destinationSelect",value:getDefaultValue(),defaultValue:getDefaultValue(),onChange:e=>{let t=null==e?void 0:e.value;u().start(),R.push(t).then(()=>{u().done()}).catch(()=>{u().done()})},isSearchable:!1,options:null==L?void 0:null===(j=L.filter(e=>e.locale===_))||void 0===j?void 0:j.sort((e,t)=>(null==e?void 0:e.order)-(null==t?void 0:t.order)).map((e,t)=>({label:null==e?void 0:e.title,value:null==e?void 0:e.route_url}))})]}),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:null==k?void 0:null===(S=k.data)||void 0===S?void 0:null===(N=S.main)||void 0===N?void 0:N.description},className:"text-[14px] leading-[25px] "})]}),U&&U.length>0&&(0,l.jsx)("div",{className:"py-5",children:null==U?void 0:U.map((e,t)=>{var n,s,i,r,o,c;let d=t%2!=0;return(0,l.jsxs)("div",{className:"flex flex-col md:flex-row w-full ".concat(d&&"flex-col md:flex-row-reverse"),children:[(0,l.jsx)("div",{className:"w-full md:w-1/2",children:(null===(n=C["main.items.".concat(t,".image")])||void 0===n?void 0:n[0])&&(0,l.jsx)(a(),{src:(null===(r=C["main.items.".concat(t,".image")])||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:null===(s=i.conversions)||void 0===s?void 0:s.image)||(null===(c=C["main.items.".concat(t,".image")])||void 0===c?void 0:null===(o=c[0])||void 0===o?void 0:o.original),alt:(null==e?void 0:e.title)||"Thubmanil",height:1e3,width:1e3,quality:100,className:"w-full h-full sm:max-h-[630px] sm:min-h-[630px] object-cover"})}),(0,l.jsx)("div",{className:"flex w-full md:w-1/2 bg-primary items-center",children:(0,l.jsxs)("div",{className:"flex flex-col px-5 md:px-[50px] py-[50px] md:py-[30px]",children:[(null==e?void 0:e.title)&&(0,l.jsx)("span",{className:"text-secondary1 text-[20px] tracking-[2px]",children:null==e?void 0:e.title}),(0,l.jsx)("span",{className:"w-[75px] h-[2px] mt-[5px] bg-secondary1 block"}),(null==e?void 0:e.description)&&(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:null==e?void 0:e.description},className:"text-[#d4bebe] text-[14px] leading-[21px] pt-5"})]})})]},t)})}),q&&q.length>0&&(0,l.jsx)("div",{className:"flex flex-col sm:flex-row w-full md:gap-y-3 sm:gap-y-0 justify-center px-5 2xl:px-0 gap-x-3",children:null==q?void 0:q.map((e,t)=>{var n;return(0,l.jsx)(E,{href:(null==e?void 0:e.button_url)||"#",target:(null==e?void 0:null===(n=e.button_url)||void 0===n?void 0:n.includes("http"))?"_blank":"_self",className:"px-3 2sm:px-5 py-5 text-center text-xs 2sm:text-sm mb-[30px] md:my-[50px] ".concat("filled"===e.button_variant?"text-white bg-primary":"border-secondary"," border text-secondary uppercase hover:bg-secondary hover:text-white transition-all duration-300"),children:(null==e?void 0:e.button_label)||"Discover"},t)})}),I&&(null==I?void 0:I.length)>0&&(0,l.jsx)(D,{alt_title:(null==k?void 0:k.title)||"Thumbnail",images:I,title:"Gallery",className:"bg-white"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"container pt-[50px] mb-[30px]",children:[(0,l.jsx)("div",{className:"animate-pulse w-full max-w-[200px] h-[20px] mx-auto bg-[#ccc] mb-[20px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full h-[50px] bg-[#ccc] mb-[30px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full max-w-[70%] h-[10px] bg-[#ccc] mb-[20px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full h-[10px] bg-[#ccc] mb-[10px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full max-w-[50%] h-[10px] bg-[#ccc] mb-[10px]"})]}),Array.from({length:3},(e,t)=>{let n=t%2!=0;return(0,l.jsxs)("div",{className:"flex flex-wrap ".concat(n?"flex-row-reverse":""),children:[(0,l.jsx)("div",{className:"max-w-[50%] h-[600px] bg-[#ddd] w-full"}),(0,l.jsxs)("div",{className:"max-w-[50%] p-[50px] w-full bg-primary",children:[(0,l.jsx)("div",{className:"animate-pulse w-full max-w-[50%] h-[20px] bg-secondary1 mb-[30px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full h-[10px] bg-[#d4bebe] mb-[10px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full max-w-[70%] h-[10px] bg-[#d4bebe] mb-[10px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full max-w-[30%] h-[10px] bg-[#d4bebe] mb-[10px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full h-[10px] max-w-[85%] bg-[#d4bebe] mb-[30px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full h-[10px] bg-[#d4bebe] mb-[10px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full max-w-[70%] h-[10px] bg-[#d4bebe] mb-[10px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full max-w-[30%] h-[10px] bg-[#d4bebe] mb-[10px]"}),(0,l.jsx)("div",{className:"animate-pulse w-full h-[10px] max-w-[85%] bg-[#d4bebe] mb-[30px]"})]})]},t)})]})})]})}},11163:function(e,t,n){e.exports=n(59974)},74865:function(e,t,n){var l,s;void 0!==(s="function"==typeof(l=function(){var e,t,n,l={};l.version="0.2.0";var s=l.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function clamp(e,t,n){return e<t?t:e>n?n:e}l.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(s[t]=n);return this},l.status=null,l.set=function(e){var t=l.isStarted();e=clamp(e,s.minimum,1),l.status=1===e?null:e;var n=l.render(!t),r=n.querySelector(s.barSelector),o=s.speed,c=s.easing;return n.offsetWidth,a(function(t){var a,d;""===s.positionUsing&&(s.positionUsing=l.getPositioningCSS()),i(r,(a=e,(d="translate3d"===s.positionUsing?{transform:"translate3d("+(-1+a)*100+"%,0,0)"}:"translate"===s.positionUsing?{transform:"translate("+(-1+a)*100+"%,0)"}:{"margin-left":(-1+a)*100+"%"}).transition="all "+o+"ms "+c,d)),1===e?(i(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){i(n,{transition:"all "+o+"ms linear",opacity:0}
1),setTimeout(function(){l.remove(),t()},o)},o)):setTimeout(t,o)}),this},l.isStarted=function(){return"number"==typeof l.status},l.start=function(){l.status||l.set(0);var work=function(){setTimeout(function(){l.status&&(l.trickle(),work())},s.trickleSpeed)};return s.trickle&&work(),this},l.done=function(e){return e||l.status?l.inc(.3+.5*Math.random()).set(1):this},l.inc=function(e){var t=l.status;return t?("number"!=typeof e&&(e=(1-t)*clamp(Math.random()*t,.1,.95)),t=clamp(t+e,0,.994),l.set(t)):l.start()},l.trickle=function(){return l.inc(Math.random()*s.trickleRate)},e=0,t=0,l.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&l.start(),e++,t++,n.always(function(){0==--t?(e=0,l.done()):l.set((e-t)/e)})),this},l.render=function(e){if(l.isRendered())return document.getElementById("nprogress");addClass(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=s.template;var n,a,r=t.querySelector(s.barSelector),o=e?"-100":(-1+(l.status||0))*100,c=document.querySelector(s.parent);return i(r,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),!s.showSpinner&&(a=t.querySelector(s.spinnerSelector))&&removeElement(a),c!=document.body&&addClass(c,"nprogress-custom-parent"),c.appendChild(t),t},l.remove=function(){removeClass(document.documentElement,"nprogress-busy"),removeClass(document.querySelector(s.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&removeElement(e)},l.isRendered=function(){return!!document.getElementById("nprogress")},l.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var a=(n=[],function(e){n.push(e),1==n.length&&function next(){var e=n.shift();e&&e(next)}()}),i=function(){var e=["Webkit","O","Moz","ms"],t={};function applyCss(n,l,s){var a;l=t[a=(a=l).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[a]=function(t){var n=document.body.style;if(t in n)return t;for(var l,s=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);s--;)if((l=e[s]+a)in n)return l;return t}(a)),n.style[l]=s}return function(e,t){var n,l,s=arguments;if(2==s.length)for(n in t)void 0!==(l=t[n])&&t.hasOwnProperty(n)&&applyCss(e,n,l);else applyCss(e,s[1],s[2])}}();function hasClass(e,t){return("string"==typeof e?e:classList(e)).indexOf(" "+t+" ")>=0}function addClass(e,t){var n=classList(e),l=n+t;hasClass(n,t)||(e.className=l.substring(1))}function removeClass(e,t){var n,l=classList(e);hasClass(e,t)&&(n=l.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function classList(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function removeElement(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return l})?l.call(t,n,t,e):l)&&(e.exports=s)}}]);
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.