1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[47698,63779,86490,81505],{63779:function(e,t,n){(()=>{"use strict";var t={958:e=>{e.exports=n(40507)},9094:e=>{e.exports=n(75271)}},o={};function s(e){var n=o[e];if(void 0!==n)return n.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,s),a.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};s.r(a),s.d(a,{default:()=>u});var l=s(9094),i=s.n(l),c=s(958),r=s.n(c),d=function(e){var t=e.content,n=e.className,o=e.tagname;return i().createElement(o,{className:n,dangerouslySetInnerHTML:{__html:t}})};d.propTypes={content:r().string.isRequired,className:r().string,tagname:r().string},d.defaultProps={className:"",tagname:"div"};let u=d;e.exports=a})()},77652:function(e,t,n){"use strict";n.d(t,{tP:function(){return m}});var o=!1;if("undefined"!=typeof window){var s={get passive(){o=!0;return}};window.addEventListener("testPassive",null,s),window.removeEventListener("testPassive",null,s)}var a="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),l=[],i=!1,c=void 0,r=void 0,d=function(e){var t,n=e||window.event;return t=n.target,!!l.some(function(e){return!!(e.options.allowTouchMove&&e.options.allowTouchMove(t))})||n.touches.length>1||(n.preventDefault&&n.preventDefault(),!1)},u=function(){void 0!==r&&(document.body.style.paddingRight=r,r=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)},m=function(){a?(l.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),i&&(document.removeEventListener("touchmove",d,o?{passive:!1}:void 0),i=!1)):u(),l=[]}},35652:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_xcaret/landings/voyage-dans-le-passe",function(){return n(93389)}])},1527:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});let o=(e,t)=>e.replace(/{([^{}]*)}/g,(e,n)=>{let o=t[n];return"string"==typeof o||"number"==typeof o?o:e})},93389:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return R}});var o=n(52676),s=n(75271),a=n(40507),l=n.n(a),i=n(39105),c=n.n(i),r=n(63779),d=n.n(r),u=n(52043),m=n.n(u),p=n(2346),x=n(8339),h=n(32164),f=n(67233),v=n(79770),g=n.n(v);let w=e=>{let{children:t,content:n,className:s,tagname:a}=e;return t?(0,o.jsx)(a,{className:"".concat(s," ").concat(g().family),children:t}):(0,o.jsx)(a,{className:"".concat(s," ").concat(g().family),dangerouslySetInnerHTML:{__html:n}})};w.propTypes={content:l().string.isRequired,className:l().string,tagname:l().string},w.defaultProps={className:"",tagname:"p"};var y=n(21269),b=n(88218),j=n(40939),N=n(96720),_=n(54678),S=n(76558),k=n.n(S),M=n(86490),P=n.n(M),C=n(98342),D=n(22298),E=n.n(D);class O extends s.Component{onClickDot(e){let{sliderIndex:t}=this.state;t!==e&&(e>t?this.setIndicator(e,"next"):this.setIndicator(e,"prev"))}onClickNext(){let{sliderIndex:e}=this.state,{children:t}=this.props,n=e+1;n>t.length-1&&(n=0),this.setIndicator(n,"next")}onClickPrev(){let{sliderIndex:e}=this.state,{children:t}=this.props,n=e-1;n<0&&(n=t.length-1),this.setIndicator(n,"prev")}setIndicator(e,t){let n=[],o=[],{onChangeDot:s}=this.props;if("next"===t){n.push(E().animating),n.push(E().next),o.push(E().animating),o.push(E().left),0===e&&n.push(E().last),this.setState(t=>({status:"moving",slideToShow:e,currentDot:e,slideToHide:t.sliderIndex,showClasses:n,hideClasses:o})),s(e),setTimeout(()=>{this.setState({status:"idle",sliderIndex:e,slideToShow:NaN,slideToHide:NaN,showClasses:[],hideClasses:[]})},1e3);return}"prev"===t&&(n.push(E().animating),n.push(E().prev),n.push(E().first),o.push(E().animating),o.push(E().prev),this.setState(t=>({status:"moving",slideToShow:e,currentDot:e,slideToHide:t.sliderIndex,showClasses:n,hideClasses:o})),s(e),setTimeout(()=>{this.setState({status:"idle",sliderIndex:e,slideToShow:NaN,slideToHide:NaN,showClasses:[],hideClasses:[]})},1e3))}render(){let{sliderIndex:e,currentDot:t,slideToShow:n,slideToHide:s,showClasses:a,hideClasses:l,status:i}=this.state,{arrows:c,height:r,dots:d,arrowCenter:u,dotActiveClass:m,dotInactiveClass:p,topMargin:x,slidesWidth:h,children:f,isMobile:v,arrowsSizeDesktop:g,arrowsSizeMobile:w}=this.props;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:k().dynamic([["cecd82e1164c543d",[h]]])+" "+"".concat(E().sliderContent," ").concat(""," relative slider-height"),children:[(0,o.jsx)(P(),{onSwipeRight:this.onClickPrev,onSwipeLeft:this.onClickNext,tolerance:50,children:(0,o.jsx)("div",{className:k().dynamic([["cecd82e1164c543d",[h]]])+" "+(E().slides||""),children:f.map((t,i)=>(0,o.jsx)("div",{className:k().dynamic([["cecd82e1164c543d",[h]]])+" "+"".concat(E().slide," ").concat(x," ").concat(i===e?E().active:""," ").concat(i===s?l.join(" "):""," ").concat(i===n?a.join(" "):""),children:(0,o.jsx)("div",{className:k().dynamic([["cecd82e1164c543d",[h]]])+" "+"".concat(E().slideContent," slide-content-width"),children:t})},i))})}),c&&(0,o.jsxs)("div",{className:k().dynamic([["cecd82e1164c543d",[h]]])+" controls",children:[(0,o.jsx)("button",{onClick:()=>
1{"idle"===i&&this.onClickPrev()},type:"button",className:k().dynamic([["cecd82e1164c543d",[h]]])+" "+" ".concat(u?"control-left absolute lg:ml-4 z-10 left-0 bottom-0 top-0 text-center":"control-left absolute mr-10 z-10 right-0 top-0 text-center"," arrows"),children:(0,o.jsx)("span",{className:k().dynamic([["cecd82e1164c543d",[h]]])+" "+(E().arrowButtons||""),children:(0,o.jsx)(C.GN,{size:"".concat(v?w:g),color:"".concat(""),icon:"chevron-left"})})}),u?"":(0,o.jsx)("hr",{className:k().dynamic([["cecd82e1164c543d",[h]]])+" absolute right-0 mr-8 z-0 top-0 border-r-2 border-t-0 border-600 p-3 inline-block left"}),(0,o.jsx)("button",{onClick:()=>{"idle"===i&&this.onClickNext()},type:"button",className:k().dynamic([["cecd82e1164c543d",[h]]])+" "+" ".concat(u?"control-right absolute lg:mr-4 z-10 right-0 bottom-0 top-0 text-center":"control-right absolute z-10 mr-4 right-0 top-0 text-center"," arrows"),children:(0,o.jsx)("span",{className:k().dynamic([["cecd82e1164c543d",[h]]])+" "+(E().arrowButtons||""),children:(0,o.jsx)(C.GN,{size:"".concat(v?w:g),color:"".concat(""),icon:"chevron-right"})})})]})]}),d&&(0,o.jsx)("div",{className:k().dynamic([["cecd82e1164c543d",[h]]])+" py-4 flex justify-center items-center dots",children:f.map((e,n)=>(0,o.jsx)("button",{type:"button",onClick:()=>{"idle"===i&&this.onClickDot(n)},className:k().dynamic([["cecd82e1164c543d",[h]]])+" "+"".concat(t===n?m:p),children:(0,o.jsx)(C.GN,{className:"mx-2",icon:"circle"})},"dotKey".concat(n)))}),(0,o.jsx)(k(),{id:"cecd82e1164c543d",dynamic:[h],children:".slide-content-width.__jsx-style-dynamic-selector{width:".concat(h,"}.arrows.__jsx-style-dynamic-selector{outline-style:none}")})]})}constructor(e){super(e),this.state={sliderIndex:0,arrowCenter:!1,currentDot:0,status:"idle",slideToShow:NaN,slideToHide:NaN,showClasses:"",hideClasses:""},this.onClickNext=this.onClickNext.bind(this),this.onClickPrev=this.onClickPrev.bind(this)}}O.propTypes={children:l().instanceOf(Array).isRequired,height:l().oneOfType([l().string,l().number]),dots:l().bool,arrows:l().bool,arrowCenter:l().bool,onChangeDot:l().func,dotActiveClass:l().string,dotInactiveClass:l().string,topMargin:l().string,isMobile:l().bool,slidesWidth:l().oneOfType([l().string,l().number]),arrowsSizeMobile:l().string,arrowsSizeDesktop:l().string},O.defaultProps={height:200,dots:!1,arrowCenter:!0,arrows:!0,onChangeDot:()=>{},dotActiveClass:"text-blue-700",dotInactiveClass:"text-blue-300",topMargin:"",slidesWidth:"100%",arrowsSizeMobile:"lg",arrowsSizeDesktop:"4x"};var T=n(24433),H=n(1527);let I=e=>{var t,n,a,l,i,r,u,p,v,g,b,S,k,M,P,C,D,E,I;let{t:R,isMobile:L,language:B,currency:U}=e,{section:A,global:z,sectionDiscount:X}=R,{metas:Y,content:J,footer:q,backgrounds:Z,packs:G,logo:K}=A,{pack2:V,pack3:W}=G,{intro:F,discount:Q}=J,[$,ee]=(0,s.useState)({normalAmount:null==J?void 0:null===(t=J.booking)||void 0===t?void 0:t.available,onlinePrice:null==J?void 0:null===(n=J.booking)||void 0===n?void 0:n.available}),[et,en]=(0,s.useState)({normalAmount:null==J?void 0:null===(a=J.booking)||void 0===a?void 0:a.available,onlinePrice:null==J?void 0:null===(l=J.booking)||void 0===l?void 0:l.available}),[eo,es]=(0,s.useState)(!0),[ea,el]=(0,s.useState)(""),[ei,ec]=(0,s.useState)(""),[er,ed]=(0,s.useState)([]),eu={childrenDiscountVoyage:(null==X?void 0:null===(i=X.default)||void 0===i?void 0:i.childrenDiscountVoyage)||""},em=m()().add(7,"day").format("YYYY-MM-DD"),ep="https://www.xcaret.com/".concat(B,"/carrito/?build=1&product=").concat(V[0].id,"-").concat(V[0].adults,"&product=").concat(V[1].id,"-").concat(V[1].adults,"¤cy=").concat(U),ex="https://www.xcaret.com/".concat(B,"/carrito/?build=1&product=").concat(W[0].id,"-").concat(W[0].adults,"&product=").concat(W[1].id,"-").concat(W[1].adults,"&product=").concat(W[2].id,"-").concat(W[2].adults,"¤cy=").concat(U),eh=[V[0].id,V[1].id],ef=[W[0].id,W[1].id,W[2].id],ev=async(e,t)=>{let n=await (0,h.PN)(e,"ES","EUR",t,"XC",1,0,em);return n};(0,s.useEffect)(async()=>{try{let{data:e}=await ev(eh,"1924"),{data:t}=await ev(ef,"1925");e&&ee({...$,normalAmount:e.packageDetail.NormalAmount,onlinePrice:e.packageDetail.Amount}),t&&en({...et,normalAmount:t.packageDetail.NormalAmount,onlinePrice:t.packageDetail.Amount}),es(!1)}catch(e){console.log("Error getting prices!")}},[]);let eg=(0,s.useRef)(),ew=(0,s.useRef)(),ey=(e,t,n)=>{el(e),ec(t),ed(n),ew.current.openModal()},eb=(e,t,n)=>{el(e),ec(t),ed(n),eg.current.openOffCanvas()};return L?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(N.default,{language:B,t:R,metas:Y}),(0,o.jsx)(_.Z,{gtmId:z.gtmId}),(0,o.jsxs)("div",{style:{background:"url(".concat(x.H).concat(Z.content,")")},children:[(0,o.jsxs)("nav",{className:"flex flex-col justify-center items-center py-6 border-b-4",style:{background:"url(".concat(x.H).concat(Z.body,")"),borderBottom:"6px solid #422b18"},children:[(0,o.jsx)("img",{src:"".concat(x.H).concat(K.src),alt:K.alt,style:{width:"320px"}}),(0,o.jsx)("hr",{className:"border-dashed border-yellow-900 w-8/12 my-4"}),(0,o.jsx)("p",{className:"text-3xl w-full px-2 text-center text-white",style:{textShadow:"4px 4px 2px rgba(0, 0, 0, 1)"},children:F.title})]}),(0,o.jsxs)("section",{className:"max-w-screen-lg mx-auto text-gray-700",children:[(0,o.jsx)(w,{tagname:"h1",content:F.subtitle,className:"font-bold text-5xl text-center mb-6 text-black px-2 mt-4"}
1),(0,o.jsxs)("div",{className:"flex flex-col px-2 text-justify",children:[(0,o.jsxs)("div",{className:"w-full",children:[(0,o.jsx)("p",{children:F.text1}),(0,o.jsx)("img",{className:"mx-auto my-4",src:"".concat(x.H).concat(F.img.src),alt:"".concat(F.img.alt)}),(0,o.jsx)("p",{children:F.text2})]}),(0,o.jsxs)("div",{className:"w-full px-4 flex flex-col",children:[(0,o.jsxs)("div",{className:"flex flex-col items-center w-full mt-6",children:[(0,o.jsx)("img",{alt:"".concat(Z.altTour3),src:"".concat(x.H).concat(Z.tour3)}),(0,o.jsx)("p",{className:"my-4 text-lg",children:(0,o.jsx)("strong",{children:null==J?void 0:null===(k=J.booking)||void 0===k?void 0:k.onlineBook})}),(0,o.jsxs)("p",{className:"text-4xl text-green-600",children:[!eo&&(0,o.jsx)("spam",{style:{color:"#006f67"},children:(0,T.jK)(U)}),(0,o.jsx)(f.default,{withStyles:!1,amount:et.onlinePrice,loading:eo,currency:U})]}),(0,o.jsx)("hr",{className:"border-dashed border-yellow-900 my-4"}),(0,o.jsx)("a",{href:ex,className:"bg-red-700 text-white py-4 px-6 rounded-lg shadow-inner shadow-lg",children:null==J?void 0:null===(M=J.booking)||void 0===M?void 0:M.buttonBook})]}),(0,o.jsxs)("div",{className:"flex flex-col items-center w-full mt-10",children:[(0,o.jsx)("img",{alt:"".concat(Z.altTour2),src:"".concat(x.H).concat(Z.tour2)}),(0,o.jsx)("p",{className:"my-4 text-lg",children:(0,o.jsx)("strong",{children:null==J?void 0:null===(P=J.booking)||void 0===P?void 0:P.onlineBook})}),(0,o.jsxs)("p",{className:"text-4xl text-green-600",children:[!eo&&(0,o.jsx)("spam",{style:{color:"#006f67"},children:(0,T.jK)(U)}),(0,o.jsx)(f.default,{withStyles:!1,amount:$.onlinePrice,loading:eo,currency:U})]}),(0,o.jsx)("hr",{className:"border-dashed border-yellow-900 my-4"}),(0,o.jsx)("a",{href:ep,className:"bg-red-700 text-white py-4 px-6 rounded-lg shadow-inner shadow-lg",children:null==J?void 0:null===(C=J.booking)||void 0===C?void 0:C.buttonBook})]})]})]}),(0,o.jsx)("div",{className:"flex flex-col mt-20 w-full",children:J.parks.map((e,t)=>(0,o.jsxs)("div",{className:"w-full px-2 my-2",children:[(0,o.jsx)(O,{children:e.slider.map((e,t)=>(0,o.jsx)("img",{src:"".concat(x.H).concat(e.src),alt:"".concat(e.alt)},t))}),(0,o.jsxs)("div",{className:"w-full px-2 w-full text-white text-center",style:{background:"".concat(e.color)},children:[(0,o.jsx)(w,{tagname:"p",content:e.name,className:"uppercase text-4xl pt-2"}),e.modalDescription.button&&(0,o.jsx)("button",{onClick:()=>eb(e.modalDescription.title,e.modalDescription.description,e.modalDescription.list),type:"button",className:"font-bold underline text-2xl mb-2 -mt-4",children:(0,o.jsx)(w,{tagname:"span",content:e.modalDescription.button})})]})]},t))}),(0,o.jsx)("div",{className:"flex flex-row mt-20",children:(0,o.jsxs)("div",{className:"w-full px-2 my-2 flex flex-col items-center",children:[(0,o.jsx)("img",{src:"".concat(x.H).concat(Q.img.src),alt:Q.img.alt}),(0,o.jsx)(w,{tagname:"p",content:"".concat((0,H.s)(Q.title,eu)),className:"mt-4 text-4xl text-center"}),(0,o.jsx)("hr",{className:"border-dashed w-full border-yellow-900 my-4"}),(0,o.jsx)(d(),{tagname:"p",content:"".concat(Q.description),className:"text-justify"})]})})]}),(0,o.jsx)("footer",{className:"border-2 border-yellow-900 mt-20 pb-6",style:{background:"url(".concat(x.H).concat(Z.body,")")},children:(0,o.jsxs)("div",{className:"max-w-screen-lg mx-auto flex flex-col px-2",children:[(null==q?void 0:q.brands)&&(0,o.jsx)("div",{className:"flex flex-wrap justify-center",children:null==q?void 0:q.brands.map((e,t)=>(0,o.jsx)(c(),{path:x.H,src:e.img,alt:e.alt,s3:!0,className:"w-1/2 my-2"},t))}),(0,o.jsx)("hr",{className:"border-dashed border-yellow-900 w-full mb-8"}),(null==q?void 0:q.description)&&(0,o.jsx)(d(),{tagname:"p",content:q.description}),(null==q?void 0:q.customer.title)&&(0,o.jsx)(w,{tagname:"p",content:q.customer.title,className:"text-center mb-4 font-bold text-4xl mt-10"}),(null==q?void 0:null===(D=q.customer)||void 0===D?void 0:D.phoneIcon)&&(0,o.jsx)(c(),{path:x.H,src:q.customer.phoneIcon,s3:!0,className:"my-4 w-20 mx-auto"}),null==q?void 0:null===(E=q.customer)||void 0===E?void 0:E.numbers.map((e,t)=>(0,o.jsx)("p",{className:"text-center",children:(0,o.jsx)("a",{href:"tel:".concat(e.num),children:e.text},t)})),(null==q?void 0:q.customer.schedule)&&(0,o.jsx)(d(),{tagname:"p",content:q.customer.schedule,className:"text-center my-4"}),(null==q?void 0:null===(I=q.customer)||void 0===I?void 0:I.emailIcon)&&(0,o.jsx)(c(),{path:x.H,src:q.customer.emailIcon,s3:!0,className:"my-4 w-20 mx-auto"}),(null==q?void 0:q.customer.email)&&(0,o.jsx)(d(),{tagname:"p",content:q.customer.email,className:"text-center"}),(null==q?void 0:q.customer.site)&&(0,o.jsx)(d(),{tagname:"p",content:q.customer.site,className:"text-center"})]})}),(0,o.jsx)(j.Z,{ref:eg,children:(0,o.jsxs)("div",{className:"text-lg",children:[(0,o.jsx)(w,{tagname:"p",content:ea,className:"font-semibold title-m text-center pb-2 text-4xl uppercase"}),(0,o.jsx)("hr",{className:"border-2 my-4 border-gray-200 border-dashed"}),ei&&""!==ei&&(0,o.jsx)(d(),{tagname:"p",content:ei,className:"pb-2"}),er.map((e,t)=>(0,o.jsxs)("div",{children:[e.title&&(0,o.jsx)(d(),{tagname:"p",content:e.title,className:"pl-10 my-4 font-bold"}),e.list&&(0,o.jsx)("ul",{className:"list-disc pl-10",children:e.list.map((e,t)=>(0,o.jsx)("li",{children:e},t))})]},t))]})})]}),(0,o.jsx)("style",{children:"\n #ada-button-frame {\n display: none;\n }\n "})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(N.default,{language:B,t:R,metas:Y}),(0,o.jsx)(_.Z,{gtmId:z.gtmId}),(0,o.jsxs)("div",{style:{background:"url(".concat(x.H).concat(Z.content,")")},children:[(0,o.jsxs)("nav",{className:"flex flex-col justify-center items-center py-6 border-b-4",style:{background:"url(".concat(x.H).concat(Z.body,")"),borderBottom:"6px solid #422b18"},children:[(0,o.jsx)("img",{src:"".concat(x.H).concat(K.src),alt:K.alt,style:{width:"320px"}}),(0,o.jsx)("hr",{className:"border-dashed border-yellow-900 w-8/12 my-4"}),(0,o.jsx)("p",{className:"text-4xl w-7/12 text-center text-white",style:{textShadow:"4px 4px 2px rgba(0, 0, 0, 1)"},children:F.title})]}),(0,o.jsxs)("section",{className:"max-w-screen-lg mx-auto text-gray-700",children:[(0,o.jsx)(w,{tagname:"h1",content:F.subtitle,className:"font-bold text-6xl text-center mb-6 text-black"}
1),(0,o.jsxs)("div",{className:"flex flex-row px-4 text-justify",children:[(0,o.jsxs)("div",{className:"w-4/12",children:[(0,o.jsx)("p",{children:F.text1}),(0,o.jsx)("img",{className:"mx-auto my-4",src:"".concat(x.H).concat(F.img.src),alt:"".concat(F.img.alt)}),(0,o.jsx)("p",{children:F.text2})]}),(0,o.jsxs)("div",{className:"w-8/12 flex flex-row",children:[(0,o.jsxs)("div",{className:"flex flex-col items-center w-1/2",children:[(0,o.jsx)("img",{alt:"".concat(Z.altTour3),src:"".concat(x.H).concat(Z.tour3)}),(0,o.jsx)("p",{className:"my-4 text-lg",children:(0,o.jsx)("strong",{children:null==J?void 0:null===(r=J.booking)||void 0===r?void 0:r.onlineBook})}),(0,o.jsxs)("p",{className:"text-4xl text-green-600",children:[!eo&&(0,o.jsx)("spam",{style:{color:"#006f67"},children:(0,T.jK)(U)}),(0,o.jsx)(f.default,{withStyles:!1,amount:et.onlinePrice,loading:eo,currency:U})]}),(0,o.jsx)("hr",{className:"border-dashed border-yellow-900 my-4"}),(0,o.jsx)("a",{href:ex,className:"bg-red-700 text-white py-4 px-6 rounded-lg shadow-inner shadow-lg",children:null==J?void 0:null===(u=J.booking)||void 0===u?void 0:u.buttonBook})]}),(0,o.jsxs)("div",{className:"flex flex-col items-center w-1/2",children:[(0,o.jsx)("img",{alt:"".concat(Z.altTour2),src:"".concat(x.H).concat(Z.tour2)}),(0,o.jsx)("p",{className:"my-4 text-lg",children:(0,o.jsx)("strong",{children:null==J?void 0:null===(p=J.booking)||void 0===p?void 0:p.onlineBook})}),(0,o.jsxs)("p",{className:"text-4xl text-green-600",children:[!eo&&(0,o.jsx)("spam",{style:{color:"#006f67"},children:(0,T.jK)(U)}),(0,o.jsx)(f.default,{withStyles:!1,amount:$.onlinePrice,loading:eo,currency:U})]}),(0,o.jsx)("hr",{className:"border-dashed border-yellow-900 my-4"}),(0,o.jsx)("a",{href:ep,className:"bg-red-700 text-white py-4 px-6 rounded-lg shadow-inner shadow-lg",children:null==J?void 0:null===(v=J.booking)||void 0===v?void 0:v.buttonBook})]})]})]}),(0,o.jsx)("div",{className:"flex flex-wrap mt-20",children:J.parks.map((e,t)=>(0,o.jsxs)("div",{className:"w-1/2 px-2 my-2",children:[(0,o.jsx)(O,{children:e.slider.map((e,t)=>(0,o.jsx)("img",{src:"".concat(x.H).concat(e.src),alt:"".concat(e.alt)},t))}),(0,o.jsxs)("div",{className:"w-1/2 px-2 w-full text-white text-center",style:{background:"".concat(e.color)},children:[(0,o.jsx)(w,{tagname:"p",content:e.name,className:"uppercase text-4xl pt-2"}),e.modalDescription.button&&(0,o.jsx)("button",{onClick:()=>ey(e.modalDescription.title,e.modalDescription.description,e.modalDescription.list),type:"button",className:"font-bold underline text-2xl mb-2 -mt-4",children:(0,o.jsx)(w,{tagname:"span",content:e.modalDescription.button})})]})]},t))}),(0,o.jsx)("div",{className:"flex flex-row mt-20",children:(0,o.jsxs)("div",{className:"w-1/2 px-2 my-2 flex flex-col items-center",children:[(0,o.jsx)("img",{src:"".concat(x.H).concat(Q.img.src),alt:Q.img.alt}),(0,o.jsx)(w,{tagname:"p",content:"".concat((0,H.s)(Q.title,eu)),className:"mt-4 text-4xl text-center"}),(0,o.jsx)("hr",{className:"border-dashed w-full border-yellow-900 my-4"}),(0,o.jsx)(d(),{tagname:"p",content:"".concat(Q.description),className:"text-justify"})]})})]}),(0,o.jsx)("footer",{className:"border-2 border-yellow-900 mt-20 pb-6",style:{background:"url(".concat(x.H).concat(Z.body,")")},children:(0,o.jsxs)("div",{className:"max-w-screen-lg mx-auto flex flex-col items-center",children:[(null==q?void 0:q.brands)&&(0,o.jsx)("div",{className:"flex flex-row items-center justify-center mx-4 my-6",children:null==q?void 0:q.brands.map((e,t)=>(0,o.jsx)(c(),{path:x.H,src:e.img,alt:e.alt,s3:!0,className:"mx-6 w-40"},t))}),(0,o.jsx)("hr",{className:"border-dashed border-yellow-900 w-full mb-8"}),(null==q?void 0:q.description)&&(0,o.jsx)(d(),{tagname:"p",content:q.description}),(null==q?void 0:q.customer.title)&&(0,o.jsx)(w,{tagname:"p",content:q.customer.title,className:"text-center mb-4 font-bold text-4xl mt-10"}),(null==q?void 0:null===(g=q.customer)||void 0===g?void 0:g.phoneIcon)&&(0,o.jsx)(c(),{path:x.H,src:q.customer.phoneIcon,s3:!0,className:"my-4"}),null==q?void 0:null===(b=q.customer)||void 0===b?void 0:b.numbers.map((e,t)=>(0,o.jsx)("p",{className:"text-center",children:(0,o.jsx)("a",{href:"tel:".concat(e.num),children:e.text},t)})),(null==q?void 0:q.customer.schedule)&&(0,o.jsx)(d(),{tagname:"p",content:q.customer.schedule,className:"text-center my-4"}),(null==q?void 0:null===(S=q.customer)||void 0===S?void 0:S.emailIcon)&&(0,o.jsx)(c(),{path:x.H,src:q.customer.emailIcon,s3:!0,className:"my-4"}),(null==q?void 0:q.customer.email)&&(0,o.jsx)(d(),{tagname:"p",content:q.customer.email,className:"text-center"}),(null==q?void 0:q.customer.site)&&(0,o.jsx)(d(),{tagname:"p",content:q.customer.site,className:"text-center"})]})}),(0,o.jsx)(y.Z,{ref:ew,children:(0,o.jsxs)("div",{className:"text-lg",children:[(0,o.jsx)(w,{tagname:"p",content:ea,className:"font-semibold title-m text-center pb-2 text-4xl uppercase"}),(0,o.jsx)("hr",{className:"border-2 my-4 border-gray-200 border-dashed"}),ei&&""!==ei&&(0,o.jsx)(d(),{tagname:"p",content:ei,className:"pb-2"}),er.map((e,t)=>(0,o.jsxs)("div",{children:[e.title&&(0,o.jsx)(d(),{tagname:"p",content:e.title,className:"pl-10 my-4 font-bold"}),e.list&&(0,o.jsx)("ul",{className:"list-disc pl-10",children:e.list.map((e,t)=>(0,o.jsx)("li",{children:e},t))})]},t))]})})]}),(0,o.jsx)("style",{children:"\n #ada-button-frame {\n display: none;\n }\n "})]})};I.propTypes={t:l().instanceOf(Object).isRequired,isMobile:l().bool.isRequired,language:l().string.isRequired},I.getInitialProps=async e=>{let{reduxStore:t,...n}=e,{language:o,currency:s}=t.getState();t.dispatch((0,b.NW)({currency:"EUR",currency_id:4,ctx:n}));try{let{data:e}=await (0,p.L5)(o,"landing-afiliado-voyage-dans-le-passe","xcaret",n),t=JSON.parse(e.section),{hreflangs:a}=t,l=JSON.parse(e["children-discount"]);return{site:"xcaret",siteLocation:4,hreflangs:a,language:o,currency:s,translations:{universal:JSON.parse(e.universal),global:JSON.parse(e.global),section:t,sectionDiscount:l}}}catch(e){return{}}};var R=I},79770:function(e){e.exports={family:"amatic_family__iiwOl"}},22298:function(e){e.exports={sliderContent:"carousel-content_sliderContent__w_xdV",slides:"carousel-content_slides__jsZUP",slide:"carousel-content_slide__RdbfL",active:"carousel-content_active__Lrbpd",left:"carousel-content_left__cej7l",right:"carousel-content_right__8Gnkh",first:"carousel-content_first__Ua4JZ",last:"carousel-content_last__J_XmL",animating:"carousel-content_animating__Vuev6",next:"carousel-content_next__vwGTO",prev:"carousel-content_prev__NXy_N",slideContent:"carousel-content_slideContent__Vh1AJ",arrowButtons:"carousel-content_arrowButtons__B4tLJ"}},86490:function(e,t,n){var o,s,a;s=[t,n(25740)],void 0!==(a="function"==typeof(o=function(e,t){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var n=t&&t.__esModule?t:{default:t};e.default=n.default})?o.apply(t,s):o)&&(e.exports=a)},25740:function(e,t,n){var o,s,a;s=[t,n(75271),n(40507)],void 0!==(a="function"==typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHasSupportToCaptureOption=function(e){c=e};var o=a(t),s=a(n);function a(e){return e&&e.__esModule?e:{default:e}}var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),c=!1;try{addEventListener("test",null,Object.defineProperty({},"capture",{get:function(){c=!0}}))}catch(e){}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{capture:!0};return c?e:e.capture}function d(e){if("touches"in e){var t=e.touches[0];return{x:t.pageX,y:t.pageY}}return{x:e.screenX,y:e.screenY}}var u=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,n=arguments.length,o=Array(n),s=0;s<n;s++)o[s]=arguments[s];var a=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o)));return a._handleSwipeStart=a._handleSwipeStart.bind(a),a._handleSwipeMove=a._handleSwipeMove.bind(a),a._handleSwipeEnd=a._handleSwipeEnd.bind(a),a._onMouseDown=a._onMouseDown.bind(a),a._onMouseMove=a._onMouseMove.bind(a),a._onMouseUp=a._onMouseUp.bind(a),a._setSwiperRef=a._setSwiperRef.bind(a),a}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.swiper&&this.swiper.addEventListener("touchmove",this._handleSwipeMove,r({capture:!0,passive:!1}))}},{key:"componentWillUnmount",value:function(){this.swiper&&this.swiper.removeEventListener("touchmove",this._handleSwipeMove,r({capture:!0,passive:!1}))}},{key:"_onMouseDown",value:function(e){this.props.allowMouseEvents&&(this.mouseDown=!0,document.addEventListener("mouseup",this._onMouseUp),document.addEventListener("mousemove",this._onMouseMove),this._handleSwipeStart(e))}},{key:"_onMouseMove",value:function(e){this.mouseDown&&this._handleSwipeMove(e)}},{key:"_onMouseUp",value:function(e){this.mouseDown=!1,document.removeEventListener("mouseup",this._onMouseUp),document.removeEventListener("mousemove",this._onMouseMove),this._handleSwipeEnd(e)}},{key:"_handleSwipeStart",value:function(e){var t=d(e),n=t.x,o=t.y;this.moveStart={x:n,y:o},this.props.onSwipeStart(e)}},{key:"_handleSwipeMove",value:function(e){if(this.moveStart){var t=d(e),n=t.x,o=t.y,s=n-this.moveStart.x,a=o-this.moveStart.y;this.moving=!0,this.props.onSwipeMove({x:s,y:a},e)&&e.preventDefault(),this.movePosition={deltaX:s,deltaY:a}}}},{key:"_handleSwipeEnd",value:function(e){this.props.onSwipeEnd(e);var t=this.props.tolerance;this.moving&&this.movePosition&&(this.movePosition.deltaX<-t?this.props.onSwipeLeft(1,e):this.movePosition.deltaX>t&&this.props.onSwipeRight(1,e),this.movePosition.deltaY<-t?this.props.onSwipeUp(1,e):this.movePosition.deltaY>t&&this.props.onSwipeDown(1,e)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function(e){this.swiper=e,this.props.innerRef(e)}},{key:"render",value:function(){var e=this.props,t=(e.tagName,e.className),n=e.style,s=e.children,a=(e.allowMouseEvents,e.onSwipeUp,e.onSwipeDown,e.onSwipeLeft,e.onSwipeRight,e.onSwipeStart,e.onSwipeMove,e.onSwipeEnd,e.innerRef,e.tolerance,function(e,t){var n={};for(var o in e)!(t.indexOf(o)>=0)&&Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]));return o.default.createElement(this.props.tagName,l({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:t,style:n},a),s)}}]),t}(t.Component);u.displayName="ReactSwipe",u.propTypes={tagName:s.default.string,className:s.default.string,style:s.default.object,children:s.default.node,allowMouseEvents:s.default.bool,onSwipeUp:s.default.func,onSwipeDown:s.default.func,onSwipeLeft:s.default.func,onSwipeRight:s.default.func,onSwipeStart:s.default.func,onSwipeMove:s.default.func,onSwipeEnd:s.default.func,innerRef:s.default.func,tolerance:s.default.number.isRequired},u.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function(){},onSwipeDown:function(){},onSwipeLeft:function(){},onSwipeRight:function(){},onSwipeStart:function(){},onSwipeMove:function(){},onSwipeEnd:function(){},innerRef:function(){},tolerance:0},e.default=u})?o.apply(t,s):o)&&(e.exports=a)}}
1,function(e){e.O(0,[39105,96720,22899,49774,92888,40179],function(){return e(e.s=35652)}),_N_E=e.O()}]);
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.