1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3132],{8571:function(e,t,l){l.d(t,{Z:function(){return w}});var s=l(5893),o=l(2546),a=l(6523),i=l(4184),n=l.n(i),r=l(5675),c=l.n(r),d=l(1664),x=l.n(d),m=l(8287),u=l(2336);let v=e=>{let{icon:t}=e,l=n()(e.className,{"flex flex-col items-center":!e.className}),o=n()(e.textClass,{"text-sm font-montserrat text-kore-black":!e.textClass});return(0,s.jsxs)("div",{className:l,children:[(0,s.jsx)("div",{className:n()(e.iconClass,"relative"),children:(0,s.jsx)(c(),{src:(null==t?void 0:t.url)||(null==t?void 0:t.src),fill:!0,alt:(null==t?void 0:t.alt)||""})}),(0,s.jsx)("span",{className:o,children:e.text})]})};var p=l(7294),h=l(8382),b=l(1163),f=l(381),g=l.n(f);let j=e=>{let{data:t=!1,className:l,swiper:i=!1,link:r="",type:d="room",classes:f={},index:j}=e,{t:w}=(0,m.$G)("common","rooms"),{locale:N}=(0,b.useRouter)(),k=r||w("routes:/suites"),y={loop:!0,centeredSlides:!0,navigation:!0,modules:[a.W_],style:{"--swiper-navigation-color":"#fff","--swiper-navigation-size":"15px"}},[_,z]=(0,p.useState)([]),C=new Date,Z=new Date(C.valueOf()+864e5),E=new Date(Z.valueOf()+864e5);"/".concat(g()(Z).format("YYYY-MM-DD"),"/").concat(g()(E).format("YYYY-MM-DD"),"/"),(0,p.useEffect)(()=>{if("room"===d&&(Array.isArray(t.room_sliders)&&t.room_sliders.length&&"es"===t.locale&&z(t.room_sliders),"es"!==t.locale&&t.localizations&&t.localizations.length)){var e,l,s,o;z((null===(e=null==t?void 0:t.localizations[0])||void 0===e?void 0:null===(l=e.room_sliders)||void 0===l?void 0:l.length)?null===(s=null==t?void 0:t.localizations[0])||void 0===s?void 0:s.room_sliders:null===(o=null==t?void 0:t.localizations[1])||void 0===o?void 0:o.room_sliders)}"deal"===d&&z([{image:t.thumbnail}])},[t,d]);let Y=e=>{var t,l;return"en"===N?null==e?void 0:e.slug:null===(t=null==e?void 0:null===(l=e.localizations)||void 0===l?void 0:l.find(e=>"en"===e.locale))||void 0===t?void 0:t.slug};return(0,s.jsxs)("div",{className:n()(l,"rounded-2xl bg-kore-sans"),children:[i&&(0,s.jsxs)(u.Z,{sliderSettings:y,children:[_.map((e,t)=>(0,s.jsx)(o.o5,{children:(0,s.jsx)("div",{className:"relative min-h-[300px] md:min-h-[375px]",children:(0,s.jsx)(c(),{src:h.JW+e.image.url,fill:!0,className:"rounded-t-2xl",style:{objectFit:"cover"},alt:(null==e?void 0:e.image_alt)||""})})},t)),(0,s.jsxs)("div",{className:"absolute bg-gradient-to-t from-black left-0 right-0 bottom-0 z-10 pl-3 pb-5 text-2xl md:text-[28px] text-white font-belleza text-start",children:[(0,s.jsx)("p",{className:"text-center md:text-left",children:t.name}),(0,s.jsx)("span",{className:"text-center md:text-left",children:t.subname})]})]}),t.thumbnail&&(0,s.jsx)(c(),{src:h.JW+t.thumbnail.url,width:t.thumbnail.width,height:t.thumbnail.height,className:"rounded-t-2xl w-full",style:{objectFit:"cover"},alt:(null==t?void 0:t.thumbnail_alt)||""}),(0,s.jsxs)("div",{id:j&&j,className:(null==f?void 0:f.divContainer)||"flex flex-col py-4 px-8 text-center space-y-4 rounded-b-2xl border border-kore-aqua border-t-0 ",children:["room"===d&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"grid grid-cols-3 gap-4 justify-around",children:[(0,s.jsx)(v,{iconClass:n()("w-[25px] h-[25px] grayscale"),text:"".concat(t.capacity," ").concat(w("common:booking.people")),icon:{src:w("rooms:card-icons.people.src"),alt:w("rooms:card-icons.people.alt")}}),(0,s.jsx)(v,{iconClass:n()("w-[25px] h-[25px] grayscale"),text:t.beds,icon:{src:w("rooms:card-icons.beds.src"),alt:w("rooms:card-icons.beds.alt")}}),(0,s.jsx)(v,{iconClass:n()("w-[25px] h-[25px] grayscale"),text:t.area,icon:{src:w("rooms:card-icons.area.src"),alt:w("rooms:card-icons.area.alt")}})]}),(0,s.jsx)("div",{className:"border-b border-white w-full"})]}),"deal"===d&&(0,s.jsxs)("div",{className:"min-h-[120px]",children:[(0,s.jsx)("p",{className:"text-2xl font-belleza text-kore-gray",children:null==t?void 0:t.name}),(0,s.jsx)("p",{className:"text-xl font-belleza text-kore-gray/[.9] capitalize",children:null==t?void 0:t.price_from}),(0,s.jsx)("p",{className:"text-sm font-montserrat text-kore-black mt-3",children:null==t?void 0:t.description})]}),t.code&&(0,s.jsx)(x(),{href:"".concat(h.nx[t.locale],"&adultsRoom1=2"),id:"room-".concat(Y(t)),target:"_blank",className:"w-full base-button",children:w("common:rooms.book_now.text")}),t.link&&(0,s.jsx)(x(),{id:"".concat(Y(t),"-book"),href:t.link,target:"_blank",className:"w-full base-button",children:w("common:offers.book_now.text")}),(0,s.jsx)(x(),{id:"room"===d?"more-".concat(Y(t)):"".concat(Y(t),"-more"),href:k+"/"+(null==t?void 0:t.slug),className:"base-link",children:"room"===d&&w("common:rooms.see_details.text")||"deal"===d&&w("common:offers.see_details.text")})]})]})};var w=j},7648:function(e,t,l){var s=l(5893),o=l(4184),a=l.n(o),i=l(8233);let n=e=>{var t,l,o,n,r,c,d,x,m,u;let v=!!e.preTitle&&{text:(null===(t=e.preTitle)||void 0===t?void 0:t.text)||"",classes:a()(null===(l=e.preTitle)||void 0===l?void 0:l.class,"text-sm md:text-base font-belleza tracking-5")},p=!!e.title&&{tag:(null===(o=e.title)||void 0===o?void 0:o.tag)||"h2",text:(null===(n=e.title)||void 0===n?void 0:n.text)||"",classes:a()(null===(r=e.title)||void 0===r?void 0:r.class,"text-3xl md:text-5xl lg:text-7xl font-belleza ")}
10,h=!!e.subtitle&&{text:(null===(c=e.subtitle)||void 0===c?void 0:c.text)||"h3",classes:a()(null===(d=e.subtitle)||void 0===d?void 0:d.class,"text-3xl md:text-[40px] font-belleza")},b=!!e.text&&{text:(null===(x=e.text)||void 0===x?void 0:x.text)||"",text2:(null===(m=e.text)||void 0===m?void 0:m.text2)||"",classes:a()(null===(u=e.text)||void 0===u?void 0:u.class,"text-sm font-montserrat ")};return(0,s.jsxs)("div",{className:(null==e?void 0:e.divContainer)||"flex flex-col text-center space-y-5",children:[v&&(0,s.jsx)("span",{className:v.classes,children:v.text}),p&&(0,s.jsx)(i.Z,{...p}),h&&(0,s.jsx)(i.Z,{...h}),b&&(0,s.jsx)("p",{className:b.classes,children:b.text}),b.text2&&(0,s.jsx)("p",{className:b.classes,children:b.text2})]})};t.Z=n},2336:function(e,t,l){l.d(t,{Z:function(){return r}});var s=l(5893),o=l(2546),a=l(4184),i=l.n(a),n=function(){let e="swiper-button absolute top-[50%] z-10 cursor-pointer w-10 md:w-[50px]";return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:i()(e,"black-swiper-button-next -right-3 md:right-0 left-auto arrow-next")}),(0,s.jsx)("div",{className:i()(e,"black-swiper-button-prev -left-3 md:left-0 right-auto arrow-prev")})]})};function r(e){let{children:t,className:l,sliderSettings:a,navigationBlack:i=!1}=e;return(0,s.jsxs)("div",{className:"relative",children:[i&&(0,s.jsx)(n,{}),(0,s.jsx)(o.tq,{...a,className:l,children:t})]})}},3132:function(e,t,l){var s=l(5893),o=l(2546),a=l(1664),i=l.n(a),n=l(8287),r=l(2112),c=l(7648),d=l(8571),x=l(2336),m=l(4184),u=l.n(m),v=l(6523),p=l(7278),h=l(7294);let b=e=>{let{title:t,data:l,background:a="",link:m=!0}=e,{t:b}=(0,n.$G)("common"),f={slidesPerView:1,spaceBetween:30,pagination:{clickable:!0},autoplay:{delay:7500,disableOnInteraction:!0},speed:1e3,navigation:{nextEl:".black-swiper-button-next",prevEl:".black-swiper-button-prev ",disabledClass:"swiper-button-disabled"},modules:[v.tl,v.pt,v.W_],breakpoints:{768:{slidesPerView:2},1024:{slidesPerView:3}}},g=(0,p.Cv)({type:"promoci\xf3n",items:l,requiredFields:["thumbnail","name","description","link","slug"]});return(0,h.useEffect)(()=>{let e=[];for(let s=0;s<(null==l?void 0:l.length);s++){var t;e.push(null===(t=null==document?void 0:document.getElementById("promo-"+s))||void 0===t?void 0:t.clientHeight)}let s=Math.max(...e);if(s)for(let e=0;e<(null==l?void 0:l.length);e++){let t=null==document?void 0:document.getElementById("promo-"+e);t&&(t.style.height=s+"px")}},[]),g&&(null==g?void 0:g.length)&&(0,s.jsxs)(r.Z,{className:u()("text-center to-fade-in",a),children:[(0,s.jsx)(c.Z,{...t}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"swiper-button absolute top-[50%] z-10 cursor-pointer w-10 black-swiper-button-prev -left-3 right-auto arrow-prev select-none md:hidden"}),(0,s.jsx)("div",{className:"swiper-button absolute top-[50%] z-10 cursor-pointer w-10 black-swiper-button-next -right-3 left-auto arrow-next select-none md:hidden"}),(0,s.jsx)(x.Z,{className:"mt-8 mb-12 swiper-pagination-green offers-slider to-fade-in",sliderSettings:f,children:null==g?void 0:g.map((e,t)=>(0,s.jsx)(o.o5,{className:"pb-12",children:(0,s.jsx)(d.Z,{index:"promo-"+t,data:e,link:b("routes:/deals"),type:"deal",classes:{divContainer:"flex flex-col py-4 px-8 text-center space-y-4 rounded-b-2xl border border-kore-aqua border-t-0 min-h-[290px] md:min-h-[270px]"}})},t))})]}),m&&(0,s.jsx)(i(),{href:b("routes:/deals"),className:"base-link mt-8",children:b("common:show-all-promotions")})||""]})||""};t.Z=b}}]); 11}
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.