1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,195963,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(794622),l=e.i(177986),r=e.i(763739),i=e.i(11621),n=e.i(319545),o=e.i(66236);e.s(["default",0,({control:e,name:c,rules:d,className:u,containerProps:{className:m,...x}={},error:f,id:g,label:h,placeholder:p=" "})=>{let b=(0,t.useContext)(r.SiteContext),v=(0,i.useStaticTextTranslator)(o.default),j="en"===b.locale,y=g??`phone-input-${c}`,N=`${y}-error`,_=f?.message,w=!!f;return(0,s.jsxs)("div",{className:(0,n.cn)(m,"flex flex-col items-start"),...x,children:[(0,s.jsx)("label",{htmlFor:y,className:"sr-only",children:h}),(0,s.jsx)(l.default,{control:e,className:(0,n.cn)("h-min w-full overflow-hidden rounded border border-gray-500 bg-transparent ps-2 focus-within:border-brand-calm-light hover:border-gray-300",w&&"border-states-error",u),countryOptionsOrder:["CA","MX","US","..."],countrySelectProps:{className:"bg-gray-800"},defaultCountry:j?"US":"MX",id:y,placeholder:p,name:c,rules:{validate:e=>(0,a.isValidPhoneNumber)(e)||v("phoneNumberFormat"),...d},numberInputProps:{className:(0,n.cn)("border-l border-l-gray-300 bg-transparent py-2 ps-2 text-gray-50 placeholder:text-gray-50 focus:border-l-brand-calm-light focus:outline-none",w&&"border-l-states-error text-states-error")},...w&&{"aria-invalid":!0},...w&&!!_&&{"aria-errormessage":N}}),w&&!!_&&(0,s.jsx)("p",{role:"alert",className:"ml-3 text-xs-4 text-states-error",id:N,children:_})]})}])},453732,e=>{e.v({buttonIcon:"Select-module-scss-module__FZ404W__buttonIcon",disabled:"Select-module-scss-module__FZ404W__disabled",errorMessage:"Select-module-scss-module__FZ404W__errorMessage",field:"Select-module-scss-module__FZ404W__field",icon:"Select-module-scss-module__FZ404W__icon",plus:"Select-module-scss-module__FZ404W__plus",select:"Select-module-scss-module__FZ404W__select",withError:"Select-module-scss-module__FZ404W__withError",withIcon:"Select-module-scss-module__FZ404W__withIcon"})},756713,131866,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(471626),l=e.i(453732),r=e.i(319545);let i=(0,t.forwardRef)(({allowEmpty:e,emptyLabel:i,className:n,disabled:o,error:c,inputClassName:d,label:u,onChange:m,options:x,icon:f,plusButton:g,...h},p)=>{void 0===i&&(i=u);let b="string"==typeof x[0]?x.map(e=>({label:e,value:e})):x;e&&(b=[{label:i,value:""},...b]);let v=(0,r.cn)(l.default.input,d),j=(0,t.useId)();return(0,s.jsxs)("div",{className:n,children:[(0,s.jsxs)("label",{className:(0,r.cn)(l.default.field,{[l.default.withIcon]:!!f,[l.default.disabled]:o,[l.default.withError]:!!c}),children:[(0,s.jsx)("div",{className:"sr-only",children:u}),(0,s.jsxs)("div",{children:[f&&(0,s.jsx)("span",{className:l.default.icon,children:f}),(0,s.jsx)("select",{ref:p,className:(0,r.cn)(l.default.select,v),onChange:e=>{m&&m(e,e.target.value)},disabled:o,...c&&{"aria-errormessage":j},...c&&{"aria-invalid":!0},...h,children:b.map(({value:e,label:t,disabled:a})=>(0,s.jsx)("option",{value:e??"",disabled:a,children:t},e))}),g?(0,s.jsx)("span",{className:(0,r.cn)(l.default.buttonIcon,l.default.plus),children:"ï¼"}):(0,s.jsx)(a.default,{className:l.default.buttonIcon})]})]}),c&&"string"==typeof c&&(0,s.jsx)("p",{role:"alert",className:l.default.errorMessage,id:j,children:c})]})});i.displayName="Select",e.s(["Select",0,i],131866),e.s([],756713)},966602,e=>{"use strict";var s=e.i(843476),t=e.i(496271),a=e.i(319545);let l=({handleControls:e,showPrev:l=!0,showNext:r=!0,verticalPositionClassName:i="top-40 md:top-[210px]",prevPositionClassName:n="left-0 md:left-8 md:-translate-x-1/2 xl:left-0 xl:translate-x-0 xll:-translate-x-1/2",nextPositionClassName:o="right-0 md:right-8 md:translate-x-1/2 xl:right-0 xl:translate-x-0 xll:translate-x-1/2"})=>{let c=(0,a.cn)("absolute z-[4] -translate-y-1/2 border border-gray-0 bg-gray-900/25 p-0 text-gray-0","focus-within:bg-gray-500 hover:bg-gray-500 focus:bg-gray-500 focus-visible:bg-gray-500",i),d={size:40};return(0,s.jsx)(t.default,{handleControls:e,nextIconProps:d,nextProps:{className:(0,a.cn)(c,o),style:{display:r?"inline-flex":"none"}},prevIconProps:d,prevProps:{className:(0,a.cn)(c,n),style:{display:l?"inline-flex":"none"}}})};
1l.displayName="CarouselOverlayControls",e.s(["default",0,l])},714412,e=>{e.v({card:"InterestCard-module-scss-module__dWyYRW__card",card__image:"InterestCard-module-scss-module__dWyYRW__card__image",card__title:"InterestCard-module-scss-module__dWyYRW__card__title"})},945476,e=>{e.v({airport:"SearchBar-module-scss-module__F4dBla__airport",button:"SearchBar-module-scss-module__F4dBla__button",calendarField:"SearchBar-module-scss-module__F4dBla__calendarField",collections:"SearchBar-module-scss-module__F4dBla__collections",field:"SearchBar-module-scss-module__F4dBla__field",fieldSet:"SearchBar-module-scss-module__F4dBla__fieldSet",filterText:"SearchBar-module-scss-module__F4dBla__filterText",filters:"SearchBar-module-scss-module__F4dBla__filters",filtersBar:"SearchBar-module-scss-module__F4dBla__filtersBar",filtersForm:"SearchBar-module-scss-module__F4dBla__filtersForm",form:"SearchBar-module-scss-module__F4dBla__form",icon:"SearchBar-module-scss-module__F4dBla__icon",input:"SearchBar-module-scss-module__F4dBla__input",searchBar:"SearchBar-module-scss-module__F4dBla__searchBar",searchBarContainer:"SearchBar-module-scss-module__F4dBla__searchBarContainer",select:"SearchBar-module-scss-module__F4dBla__select",title:"SearchBar-module-scss-module__F4dBla__title"})},428961,e=>{"use strict";var s=e.i(843476),t=e.i(344844),a=e.i(2421),l=e.i(319545),r=e.i(733248);let i={en:{title:"Adventure Begins Here",placeholder:(0,r.searchPlaceHolder)("en"),buttonText:"Search"},es:{title:"Tu aventura inicia aquÃ",placeholder:(0,r.searchPlaceHolder)("es"),buttonText:"Buscar"}};var n=e.i(945476),o=e.i(11621);e.s(["default",0,({containerClassName:e,className:r})=>{let c=(0,o.useStaticTextTranslator)(i);return(0,s.jsx)("div",{className:(0,l.cn)(n.default.searchBarContainer,e),children:(0,s.jsxs)("section",{className:(0,l.cn)(n.default.searchBar,r),children:[(0,s.jsx)("h2",{className:n.default.title,children:c("title")}),(0,s.jsxs)("div",{className:n.default.form,children:[(0,s.jsx)(t.default,{buttonClassName:"cursor-text focus:outline-1 focus:outline-white focus:outline",children:(0,s.jsxs)("div",{className:n.default.field,children:[(0,s.jsx)("span",{className:n.default.icon,children:(0,s.jsx)(a.SearchIcon,{})}),(0,s.jsx)("div",{className:n.default.input,children:c("placeholder")})]})}),(0,s.jsx)(t.default,{buttonClassName:"cursor-pointer",children:(0,s.jsx)("div",{className:n.default.button,children:c("buttonText")})})]})]})})}],428961)},974238,e=>{e.v(s=>Promise.all(["static/chunks/2e5dqvtw3nw1h.css","static/chunks/2c70ljm2l77a5.js"].map(s=>e.l(s))).then(()=>s(384989)))},815794,e=>{e.v(s=>Promise.all(["static/chunks/2e5dqvtw3nw1h.css","static/chunks/3y18dir-8p83q.js"].map(s=>e.l(s))).then(()=>s(640178)))},393027,684218,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(770703),l=e.i(352153),r=e.i(762806),i=e.i(354764),n=e.i(319545),o=e.i(757744),c=e.i(204513),d=e.i(350740);let u=(0,a.default)(()=>e.A(969477).then(e=>e.Highlight),{loadableGenerated:{modules:[835569]}}),m=(0,a.default)(()=>e.A(815794),{loadableGenerated:{modules:[640178]},ssr:!1}),x=()=>void e.A(974238),f={base:(0,n.cn)("flex items-center gap-2 [&>img]:size-6"),text:(0,n.cn)("font-sans text-xs-4 font-light not-italic leading-md-2 tracking-condensed")},g={base:(0,n.cn)("flex items-center gap-1 md:gap-2 [&>img]:size-4 md:[&>img]:size-6"),text:(0,n.cn)("font-sans text-xs-3 font-light not-italic leading-sm-2 tracking-condensed text-gray-200 md:text-xs-4 md:leading-md-2")},h=(0,n.cn)("min-h-7 shrink-0 px-2.5 py-0.5 font-sans text-xs-3 font-semibold uppercase tracking-wide md:min-h-[42px] md:px-6 md:py-2 md:text-xs-4"),p=(0,t.forwardRef)(({tour:e,isInSearchResults:a,variant:p="carousel",onCardClick:b},v)=>{let j=(0,d.useTourBooking)(e),{lang:y,discount:N,hasDiscount:_,discountBadgeStyle:w,isModalOpen:k,setIsModalOpen:S,translator:C,tourHref:P}=j,I=()=>b?.("carouselTour",e),[T,R]=(0,t.useState)(0),B="stack"===p&&!!e.shortDescription?.trim(),F=_&&!e.priceUndefined,L=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.SanityImage,{...e.image,width:480,className:"absolute inset-0 size-full object-cover transition-transform duration-300 ease-in-out group-hover:scale-110 group-focus:scale-110"}),F&&(0,s.jsxs)("span",{className:"pointer-events-none absolute left-0 top-0 rounded-br-md bg-brand-calm-light px-2 py-1 font-sans text-xs-3 font-bold not-italic leading-none tracking-medium text-gray-800 md:px-3 md:py-1.5 md:text-xs-4",style:w,children:["-",N,"%"]})]});return"stack"===p?(0,s.jsxs)("div",{ref:v,className:"flex w-full overflow-hidden rounded-lg bg-gray-800 md:rounded-xl",children:[(0,s.jsx)("div",{className:"relative min-h-32 w-[35%] shrink-0 self-stretch overflow-hidden bg-gray-900 md:min-
1h-64 md:w-1/3",children:B?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex h-full snap-x snap-mandatory overflow-x-auto overscroll-x-contain [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",onScroll:e=>{let s=e.currentTarget;R(+(s.scrollLeft>s.clientWidth/2))},children:[(0,s.jsx)(o.default,{href:P,className:"group relative block size-full shrink-0 snap-center overflow-hidden",onClick:I,children:L}),(0,s.jsx)(o.default,{href:P,className:"flex size-full shrink-0 snap-center items-center bg-gray-800 p-2 md:p-4",onClick:I,children:(0,s.jsx)("p",{className:"line-clamp-6 font-sans text-xs-3 font-light not-italic leading-sm-2 tracking-condensed text-gray-200 md:line-clamp-[9] md:text-xs-4 md:leading-md-2",children:e.shortDescription})})]}),(0,s.jsx)("div",{"aria-hidden":!0,className:"absolute bottom-1.5 left-2 flex gap-1 md:bottom-2.5 md:left-3 md:gap-1.5",children:[0,1].map(e=>(0,s.jsx)("span",{className:(0,n.cn)("size-1 rounded-full transition-colors duration-200 md:size-1.5",T===e?"bg-gray-50":"bg-gray-50/40")},e))})]}):(0,s.jsx)(o.default,{href:P,className:"group relative block h-full",onClick:I,children:L})}),(0,s.jsxs)("div",{className:"flex min-w-0 grow flex-col gap-y-1 p-2.5 md:gap-y-2.5 md:p-5",children:[(0,s.jsx)(o.default,{href:P,className:"group",onClick:I,children:(0,s.jsx)("h3",{className:"line-clamp-2 font-serif text-xs-4 font-light uppercase leading-sm-2 tracking-wider md:text-sm-1 md:leading-7",children:(0,i.formatSuperscripts)(e.title,"®")})}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-0.5 md:gap-x-6",children:[!!e.duration&&(0,s.jsxs)("p",{className:g.base,children:[(0,s.jsx)(l.SanityImage,{...e.duration.icon}),(0,s.jsx)("span",{className:g.text,children:e.duration.title})]}),null!=e.scubaExperience?(0,s.jsxs)("p",{className:g.base,children:[(0,s.jsx)(l.SanityImage,{...e.scubaExperience.icon}),(0,s.jsx)("span",{className:g.text,children:e.scubaExperience.title})]}):null!=e.ageTag&&(0,s.jsxs)("p",{className:g.base,children:[(0,s.jsx)(l.SanityImage,{...e.ageTag.icon}),(0,s.jsx)("span",{className:g.text,children:e.ageTag.title})]})]}),e.tooltip&&(0,s.jsx)("span",{className:"text-xs-3 text-brand-sun md:text-xs-4",children:e.tooltip}),(0,s.jsxs)("div",{className:"mt-auto flex flex-col items-end gap-y-1 pt-1 md:gap-y-2 md:pt-2",children:[(!e.priceUndefined||e.tourPrice>0)&&(0,s.jsxs)("p",{className:"flex flex-wrap items-baseline justify-end gap-x-1.5 text-right font-sans not-italic md:gap-x-2",children:[(0,s.jsx)("span",{className:"text-xs-3 font-light leading-sm-2 tracking-condensed text-gray-300 md:text-xs-4 md:leading-md-2",children:C.translate("from")}),(0,s.jsxs)("span",{className:"text-xs-4 font-bold leading-sm-2 tracking-normal text-brand-sun md:text-sm-1 md:leading-md-2",children:["$",(0,r.roundedPrice)(e.priceUndefined?e.tourPrice:(0,r.discountedCost)(e.tourPrice,N),y)," ",C.translate("currency")]}),!e.priceUndefined&&_&&(0,s.jsxs)("span",{className:"text-xs-3 font-light leading-sm-2 tracking-condensed text-gray-400 line-through md:text-xs-4 md:leading-md-2",children:["$",(0,r.roundedPrice)(e.tourPrice,y)]})]}),e.disableBooking?(0,s.jsx)(o.default,{href:P,className:"group shrink-0",children:(0,s.jsx)(c.default,{variant:"secondary",className:h,children:C.translate("learnMore")})}):(0,s.jsx)(c.default,{variant:"secondary",className:h,onClick:()=>S(!0),onMouseEnter:x,onFocus:x,onTouchStart:x,children:C.translate("bookNow")}),k&&(0,s.jsx)(m,{tour:e,isOpen:k,onClose:()=>S(!1),state:j})]})]})]},e._key):(0,s.jsxs)("div",{ref:v,className:(0,n.cn)("flex h-full flex-col rounded-lg bg-gray-800 md:mx-0","carousel"===p&&"h-[29.5rem] min-w-[17.5rem] snap-start md:min-h-[35rem] md:min-w-[302px]"),children:[(0,s.jsx)(o.default,{href:P,className:"group",onClick:I,children:(0,s.jsxs)("div",{className:"relative h-80 bg-gray-900 md:h-[420px]",children:[(0,s.jsx)("div",{className:"h-full overflow-hidden rounded-t-lg",children:(0,s.jsx)(l.SanityImage,{...e.image,width:300,className:"h-full min-w-full object-cover transition-transform duration-300 ease-in-out gradient-mask-b-[rgba(0,0,0,1)_0%,rgba(0,0,0,0.8)_60%] group-hover:scale-110 group-focus:scale-110"})}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 px-4 pb-2",children:[a?(0,s.jsx)(u,{className:"mb-1 font-serif text-[1.125rem] font-light uppercase tracking-wider md:text-sm-1",hit:e,attribute:"title"}):(0,s.jsx)("h3",{className:"mb-1 font-serif md:text-sm-1",children:(0,i.formatSuperscripts)(e.title,"®")}),e.priceUndefined?e.tourPrice>0&&(0,s.jsx)("p",{className:"font-sans not-italic",children:(0,s.jsxs)("span",{className:"text-base font-bold leading-md-2 tracking-normal text-brand-sun",children:[C.translate("fromPrice")," $",(0,r.roundedPrice)(e.tourPrice,y)," ",C.translate("currency")]})}):(0,s.jsxs)("p",{className:"flex items-center gap-2 font-sans not-italic",children:[(0,s.jsxs)("span",{className:"text-base font-bold leading-md-2 tracking-normal text-brand-sun",children:["$",(0,r.roundedPrice)((0,r.discountedCost)(e.tourPrice,N),y)," ",C.translate("currency")]}),_&&(0,s.jsxs)("span",{className:"text-xs-4 font-light leading-md-2 tracking-condensed line-through",children:["$",(0,r.roundedPrice)(e.tourPrice,y)," ",C.translate("currency")]})]})]})]})}),(0,s.jsxs)("div",{className:"relative flex grow flex-col p-4 pt-3",children:[_&&(0,s.jsxs)("span",{className:"absolute right-0 top-0 rounded-bl-md bg-brand-calm-light px-3 py-2 font-sans text-[1.125rem] font-bold not-italic leading-md-2 tracking-medium text-gray-800",style:w,children:["-",N,"%"]}),(0,s.jsxs)("div",{children:[!!e.duration&&(0,s.jsxs)("p",{className:f.base,children:[(0,s.jsx)(l.SanityImage,{...e.duration.icon}),(0,s.jsx)("span",{className:f.text,children:e.duration.title})]}),null!=e.scubaExperience?(0,s.jsxs)("p",{className:f.base,children:[(0,s.jsx)(l.SanityImage,{...e.scubaExperience.icon}),(0,s.jsx)("span",{className:f.text,children:e.scubaExperience.title})]}):null!=e.ageTag&&(0,s.jsxs)("p",{className:f.base,children:[(0,s.jsx)(l.SanityImage,{...e.ageTag.icon}),(0,s.jsx)("span",{className:f.text,children:e.ageTag.title})]})]}),e.tooltip?(0,s.jsx)("div",{className:"h-6",children:(0,s.jsx)("span",{className:"text-brand-sun",children:e.tooltip})}):(0,s.jsx)("div",{className:"h-6"}),(0,s.jsxs)("div",{className:"w-full pt-4",children:[e.disableBooking?(0,s.jsx)(o.default,{href:P,className:"group",children:(0,s.jsx)(c.default,{variant:"secondary",className:"w-full",children:C.translate("learnMore")})}):(0,s.jsx)(c.default,{variant:"secondary",className:"w-full",onClick:()=>S(!0),onMouseEnter:x,onFocus:x,onTouchStart:x,children:C.translate("addCart")}),k&&(0,s.jsx)(m,{tour:e,isOpen:k,onClose:()=>S(!1),state:j})]})]})]},e._key)});p.displayName="TourCard",e.s(["default",0,p],393027);let b="tours-results",v=`#${b}`,j="scrollToToursResults";e.s(["TOURS_RESULTS_ANCHOR_ID",0,b,"TOURS_RESULTS_HASH",0,v,"consumePendingToursScroll",0,()=>{let e=window.location.hash===v;try{"1"===sessionStorage.getItem(j)&&(e=!0,sessionStorage.removeItem(j))}catch{}return e},"setPendingToursScroll",0,()=>{try{sessionStorage.setItem(j,"1")}catch{}}],684218)},554525,e=>
1{e.v({carousel:"Carousel-module-scss-module__qFkUnG__carousel",carouselContent:"Carousel-module-scss-module__qFkUnG__carouselContent",carouselContentCentered:"Carousel-module-scss-module__qFkUnG__carouselContentCentered",carouselHeader:"Carousel-module-scss-module__qFkUnG__carouselHeader",carouselIsList:"Carousel-module-scss-module__qFkUnG__carouselIsList",carouselStack:"Carousel-module-scss-module__qFkUnG__carouselStack",paginationWrapper:"Carousel-module-scss-module__qFkUnG__paginationWrapper"})},566751,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(554525),l=e.i(336746),r=e.i(954122),i=e.i(966602),n=e.i(393027),o=e.i(714412),c=e.i(319545),d=e.i(757744),u=e.i(763739),m=e.i(352153),x=e.i(466827),f=e.i(684218),g=e.i(825014);let h=(0,t.forwardRef)((e,a)=>{let l="en"===(0,t.useContext)(u.SiteContext).locale,{item:r,anchorToResults:i,onCardClick:n}=e,h=(0,x.useMediaQuery)("(min-width: 1024px)",!0),p=(0,g.linkedPageHref)(r.pageLink),b=!!r.overrideLink?.trim(),v=h?i?.desktop!==!1:i?.mobile!==!1,j=!p&&!b&&i?.enabled!==!1&&v,y=`/tours?${l?"tours_en":"tours_es"}[refinementList][interestTags.title][0]=${encodeURIComponent(r.title)}${j?f.TOURS_RESULTS_HASH:""}`,N=p??(b?(0,g.excursionHref)(r,l?"en":"es"):y);return(0,s.jsx)("div",{ref:a,className:(0,c.cn)(o.default.card),children:(0,s.jsxs)(d.default,{href:N,onClick:()=>{j&&(0,f.setPendingToursScroll)(),n?.("carouselInterest",r)},scroll:!j,children:[(0,s.jsx)(m.SanityImage,{className:o.default.card__image,...r.image}),(0,s.jsx)("h2",{className:o.default.card__title,children:r.title})]})},r._key)});h.displayName="InterestCard";var p=e.i(417098),b=e.i(204513),v=e.i(347584),j=e.i(882709);let y=(0,t.forwardRef)((e,t)=>{let{item:a}=e;return(0,s.jsxs)("div",{ref:t,className:"relative flex h-full min-h-[33.5rem] min-w-[17.5rem] max-w-[17.5rem] snap-start flex-col overflow-hidden rounded-lg bg-gray-800 md:mx-0 md:min-h-[729px] md:min-w-[411px] md:max-w-[25.5rem]",children:[(0,s.jsxs)("div",{className:"group relative size-full max-h-[23.75rem] overflow-hidden bg-black md:max-h-[34.75rem]",children:[(0,s.jsx)(v.default,{link:a.link,hideTittle:!0,children:(0,s.jsx)(m.SanityImage,{className:"max-h-full overflow-hidden object-cover transition-transform duration-300 ease-in-out gradient-mask-b-[rgba(0,0,0,0.8)_0%,rgba(0,0,0,1)_50%] group-hover:scale-110",...a.image})}),(0,s.jsxs)("div",{className:"absolute inset-0 top-auto px-4 pb-6 font-serif uppercase",children:[(0,s.jsx)("p",{className:"pb-1 text-lg-1 font-bold leading-sm-1 text-brand-sun big:text-[5rem]",children:a.discount}),(0,s.jsx)("h2",{className:"text-sm-2 leading-sm-1 md:text-md-1",children:a.title})]})]}),(0,s.jsxs)("div",{className:"flex max-h-[9.75rem] grow flex-col justify-between gap-y-4 p-4 md:max-h-[173px] md:pt-6",children:[(0,s.jsx)(j.CustomPortableText,{className:"line-clamp-3 font-medium leading-lg-3 md:text-[1.125rem] md:tracking-medium",value:a.description}),(0,s.jsx)(b.default,{className:"text-center text-xs-4 leading-normal tracking-widest",asChild:!0,children:(0,s.jsx)(v.default,{link:a.link})})]})]},a._key)});y.displayName="DealCard";let N=(0,t.forwardRef)((e,t)=>{let{item:a}=e;return(0,s.jsxs)("div",{ref:t,className:"relative flex h-full min-h-[33.5rem] min-w-[17.5rem] max-w-[17.5rem] snap-start flex-col overflow-hidden rounded-lg bg-gray-800 md:mx-0 md:min-h-[729px] md:min-w-[411px] md:max-w-[25.5rem]",children:[(0,s.jsxs)("div",{className:"group relative size-full max-h-[23.75rem] overflow-hidden bg-black md:max-h-[34.75rem]",children:[(0,s.jsx)(v.default,{link:a.link,hideTittle:!0,children:(0,s.jsx)(m.SanityImage,{className:"max-h-full overflow-hidden object-cover transition-transform duration-300 ease-in-out gradient-mask-b-[rgba(0,0,0,0.8)_0%,rgba(0,0,0,1)_50%] group-hover:scale-110",...a.image})}),(0,s.jsxs)("div",{className:"absolute inset-0 top-auto px-4 pb-6 font-serif uppercase",children:[(0,s.jsx)("p",{className:"pb-1 text-lg-1 font-bold leading-sm-1 text-brand-sun big:text-[5rem]",children:a.discount}),(0,s.jsx)("h2",{className:"text-sm-2 leading-sm-1 md:text-md-1",children:a.title})]})]}),(0,s.jsxs)("div",{className:"flex max-h-[9.75rem] grow flex-col justify-between gap-y-4 p-4 md:max-h-[173px] md:pt-6",children:[(0,s.jsx)(j.CustomPortableText,{className:"line-clamp-3 font-medium leading-lg-3 md:text-[1.125rem] md:tracking-medium",value:a.description}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)(b.default,{className:"text-center text-xs-4 leading-normal tracking-widest",variant:"primary",asChild:!0,children:(0,s.jsx)(v.default,{link:a.link})}),a.secondaryLink&&(0,s.jsx)(b.default,{className:"text-center text-xs-4 leading-normal tracking-widest",variant:"secondary",asChild:!0,children:(0,s.jsx)(v.default,{link:a.secondaryLink})})]})]})]},a._key)});N.displayName="EventCard";var _=e.i(105155),w=e.i(7618);let k=({isList:e=!1,content:{_type:o,items:d,title:u,anchorToResults:m,layout:x},className:f})=>{let g=(0,t.useRef)(null),b=(0,t.useRef)([]),[v,j]=(0,t.useState)(0),k=(0,t.useRef)(!1),[S,C]=(0,t.useState)(),P=(0,p.useVisibleScrollItems)({container:g,items:b}),I="carouselTours"===o?d.filter(e=>!e.isDisabled):d;(0,t.useEffect)(()=>{let e=P.full.length>0?P.full[0]:P.partial[1];j(null==S?e:Math.min(e,S-1)),null==S&&P.full.length>0&&C(I.length-P.full.length+1)},[P]),(0,t.useEffect)(()=>{let e=setTimeout(()=>{k.current||(window.dataLayer&&"function"==typeof window.dataLayer.push?((0,w.fireViewItemList)(o,u,d),k.current=!0):console.warn("GTM not ready. Skipping event."))},4500);return()=>clearTimeout(e)},[]);let T=(e,s)=>{(0,w.fireViewItem)(e,s,u)},R=e=>{b.current[e].scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},B=P.full.length<I.length,[F,L]=(0,t.useState)({left:!1,right:!1});if((0,t.useEffect)(()=>{let e=g.current;if(!e)return;let s=()=>{let s=e.scrollWidth-e.clientWidth,t=e.scrollLeft>1,a=e.scrollLeft<s-1;L(e=>e.left===t&&e.right===a?e:{left:t,right:a})};s(),e.addEventListener("scroll",s,{passive:!0});let t=new ResizeObserver(s);for(let s of(t.observe(e),e.children))t.observe(s);return()=>{e.removeEventListener("scroll",s),t.disconnect()}},[I.length]),0===I.length)return null;let q="carouselTours"===o&&"stack"===x;
1return(0,s.jsxs)("div",{className:(0,c.cn)(a.default.carousel,f,!!e&&a.default.carouselIsList,q&&a.default.carouselStack),children:[(0,s.jsx)(r.default,{title:u,isScrollable:!e&&B}),q&&(0,s.jsx)("div",{className:"flex w-full flex-col gap-2.5 px-4 md:hidden",children:I.map(e=>(0,s.jsx)(n.default,{tour:e,isInSearchResults:!1,variant:"stack",onCardClick:T},e._key||e._id))}),(0,s.jsxs)("div",{className:(0,c.cn)("relative",q&&"hidden md:block"),children:[!e&&(F.left||F.right)&&(0,s.jsx)(i.default,{handleControls:(e="left")=>{R("left"===e?Math.max(v-1,0):Math.min(v+1,(S??1)-1))},showPrev:F.left,showNext:F.right}),(0,s.jsxs)("div",{ref:g,className:(0,c.cn)(a.default.carouselContent,!B&&a.default.carouselContentCentered),children:["carouselTours"===o&&I.map((e,t)=>(0,s.jsx)(n.default,{ref:e=>{b.current.splice(t,1,e)},tour:e,isInSearchResults:!1,onCardClick:T},e._key||e._id)),"carouselInterests"===o&&I.map((e,t)=>(0,s.jsx)(h,{ref:e=>{b.current.splice(t,1,e)},item:e,anchorToResults:m,onCardClick:T},e._key)),"carouselDeals"===o&&I.map((e,t)=>(0,s.jsx)(y,{ref:e=>{b.current.splice(t,1,e)},item:e},e._key)),"carouselEvents"===o&&I.map((e,t)=>(0,s.jsx)(N,{ref:e=>{b.current.splice(t,1,e)},item:e},e._key)),"carouselBlogs"===o&&I.map((e,t)=>(0,s.jsx)(_.default,{ref:e=>{b.current.splice(t,1,e)},item:e},e._id))]})]}),B&&(0,s.jsx)("div",{className:(0,c.cn)(a.default.paginationWrapper,q&&"hidden md:flex"),children:(0,s.jsx)(l.default,{numPages:S??1,selectedIdx:v,onChange:R})})]})};k.displayName="Carousel",e.s(["default",0,k],566751)},657002,e=>{e.v({contactMethodsParagraphs:"ContactUs-module-scss-module__VBllaW__contactMethodsParagraphs",contactMethodsParagraphsBase:"ContactUs-module-scss-module__VBllaW__contactMethodsParagraphsBase",contactMethodsParagraphsWeddings:"ContactUs-module-scss-module__VBllaW__contactMethodsParagraphsWeddings",contactWeddingsInput:"ContactUs-module-scss-module__VBllaW__contactWeddingsInput",headerTextParagraphs:"ContactUs-module-scss-module__VBllaW__headerTextParagraphs"})},991997,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(653145),l=e.i(204513),r=e.i(835859);e.i(15492);var i=e.i(832616),n=e.i(195963),o=e.i(347584),c=e.i(882709),d=e.i(352153),u=e.i(283446),m=e.i(752125),x=e.i(11621),f=e.i(319545),g=e.i(933394),h=e.i(581949);let p=async e=>{try{let s=await h.default.get(`https://emailvalidation.abstractapi.com/v1/?api_key=7057e03355f44828affb804e193e9903&email=${e}`);return s.data?.deliverability=="DELIVERABLE"&&s.data?.is_disposable_email.value==!1&&s.data?.is_valid_format.value==!0}catch(e){return!1}},b=h.default.create({baseURL:g.HUBSPOT_API_URL,responseType:"json",headers:{Accept:"application/json","Content-Type":"application/json"}}),v=async(e,s)=>b.post(`/submissions/v3/integration/submit/19874751/${e}`,s).then(e=>e.data),j=async(e,s,t,a,l,r)=>!!await p(s)&&v("3c117666-ecbf-43a7-8613-38b056d63dc6",JSON.stringify({fields:[{objectTypeId:"0-1",name:"email",value:s},{objectTypeId:"0-1",name:"firstname",value:e},{objectTypeId:"0-1",name:"country",value:a},{objectTypeId:"0-1",name:"company",value:"VAD"},{objectTypeId:"0-1",name:"phone",value:t},{objectTypeId:"0-1",name:"message",value:l},{objectTypeId:"0-1",name:"contact_source",value:"website"},{objectTypeId:"0-1",name:"marketing_contact",value:r?"yes":"no"}]}));var y=e.i(657002);e.s(["default",0,({content:{headerTitle:e,headerText:g,namePlaceholder:h,emailPlaceholder:p,countryPlaceholder:b,phonePlaceholder:v,messagePlaceholder:N,onSuccessSubmitMessage:_,onErrorSubmitMessage:w,optinMessage:k,contact:S,icon:C,link:P},variant:I="default"})=>{let T=(0,t.useId)(),R=(0,x.useStaticTextTranslator)(u.default),[B,F]=(0,t.useState)(!1),[L,q]=(0,t.useState)(!1),{control:M,handleSubmit:E,register:U,formState:{errors:A,isDirty:D,isValid:W}}=(0,a.useForm)({mode:"onTouched"}),z=e=>{q(!0),F(!0)},$=()=>{F(!0)},O=e=>{j(e.name,e.email,e.phone,e.country,e.message,e.optin).then($,z)};return(0,s.jsxs)("div",{className:(0,f.cn)("mx-4 mb-10 mt-6 flex max-w-[880px] flex-col items-center font-serif md:mx-8 md:mb-20 md:mt-12 md1:mx-auto","default"===I&&"gap-10","weddings"===I&&"gap-6"),children:[e&&g&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-center text-sm-2 font-semibold uppercase text-gray-50",children:e}),(0,s.jsx)("div",{children:(0,s.jsx)(c.CustomPortableText,{value:g,className:y.default.headerTextParagraphs})})]}),(0,s.jsxs)("div",{className:"mb-0 flex w-full flex-col gap-y-3 rounded-lg border border-gray-700 bg-gray-800 px-4 py-8 md:mb-8 md:gap-y-4 md:px-8",children:[(0,s.jsx)("h2",{className:"text-center font-serif text-sm-2 text-gray-50 md:text-md-1",children:R("contactUs")}),B&&(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[!L&&(0,s.jsx)("p",{className:"text-gray-50",children:_}),L&&(0,s.jsx)("p",{className:"text-gray-50",children:w})]}),!B&&(0,s.jsxs)("form",{id:T,action:"",className:"flex flex-col items-start justify-between",onSubmit:e=>{e.preventDefault(),E(O)(e)},children:[(0,s.jsxs)("div",{className:"grid w-full md:grid-cols-2 md:gap-x-4",children:[(0,s.jsx)(i.Input,{label:h,...U("name",{required:R("nameRequired")}),error:A.name?.message}),(0,s.jsx)(i.Input,{label:p,type:"email",...U("email",{required:R("emailRequired"),pattern:{value:m.emailRegex,message:R("emailFormat")}}),error:A.email?.message}),(0,s.jsx)("div",{className:"mb-2 pt-6",children:(0,s.jsx)(r.default,{allowEmpty:!0,label:b,...U("country",{required:R("countryRequired")}),error:A.country?.message})}),(0,s.jsx)("div",{className:"mb-2 pt-4",children:(0,s.jsx)(n.default,{control:M,name:"phone",error:A.phone,label:v,placeholder:v,rules:{required:R("phoneNumberRequired")}})})]}),(0,s.jsxs)("div",{className:"mt-4 grid w-full",children:[(0,s.jsx)("label",{className:"sr-only",htmlFor:"contact-us-message",children:N}),(0,s.jsx)("textarea",{id:"contact-us-message",className:(0,f.cn)("min-h-52 md:min-h-32","peer w-full rounded border border-gray-500 bg-transparent px-3 py-2 text-gray-50 transition-colors placeholder:text-gray-50 invali
1d:border-states-error hover:border-gray-300 focus:border-brand-calm-light focus:outline-none",A?.message!=null&&"border-states-error"),placeholder:N,...U("message",{required:R("messageRequired")})}),A?.message!=null&&(0,s.jsx)("span",{className:"ml-3 text-xs-4 text-states-error",role:"alert",children:A.message.message})]}),(0,s.jsx)("div",{className:"mt-3 flex w-full",children:(0,s.jsxs)("div",{className:"mx-3 mb-3 flex flex-row items-center",children:[(0,s.jsx)("input",{id:"optin",type:"checkbox",...U("optin")}),(0,s.jsx)("label",{htmlFor:"optin",className:"ml-3",children:k})]})}),(0,s.jsx)(l.default,{variant:"primary",className:"mt-6 w-full text-xs-4 tracking-[0.56px] md:leading-normal",type:"submit",disabled:!D||!W,children:R("sendMessage")})]}),P&&C&&(0,s.jsxs)("div",{className:"mt-2 flex items-center justify-center space-x-4",children:[(0,s.jsx)("div",{className:"uppercase text-gray-50 ",children:R("orVisit")}),(0,s.jsx)(l.default,{asChild:!0,variant:"text",className:"flex items-center",children:(0,s.jsx)(o.default,{link:P,linkTextClassName:"text-xs-4 font-semibold leading-normal tracking-[0.56px]",children:(0,s.jsx)(d.SanityImage,{...C})})})]})]}),S&&(0,s.jsx)("div",{children:(0,s.jsx)(c.CustomPortableText,{value:S.text,className:y.default.contactMethodsParagraphs})})]})}],991997)},690295,e=>{e.v(s=>Promise.all(["static/chunks/08-oebrw1y388.css","static/chunks/3hxrgwx9hccro.js"].map(s=>e.l(s))).then(()=>s(229726)))},325015,e=>{e.v({"!container":"HeroDescriptive-module-scss-module__U4rtKW__!container",container:"HeroDescriptive-module-scss-module__U4rtKW__container",customTitle:"HeroDescriptive-module-scss-module__U4rtKW__customTitle"})},185087,287337,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(204513),l=e.i(336746),r=e.i(347584),i=e.i(359139),n=e.i(496271),o=e.i(319545);let c=({className:e,activeIdx:t,setActiveIdx:a,numPages:l,mediaItemWrapperClassName:r,mediaItemProps:c,childrenWrapperClassName:d,children:u,page:m="",...x})=>{let{imageProps:f={},videoProps:g={},...h}=c,p=(0,o.cn)("absolute inset-0 size-full object-cover"),b=(0,o.cn)("absolute top-1/2 z-20 -translate-y-1/2 bg-gray-900/25 p-0 text-gray-0","focus-within:bg-gray-500 hover:bg-gray-500 focus:bg-gray-500 focus-visible:bg-gray-500"),v={size:40};return(0,s.jsxs)("div",{className:(0,o.cn)("relative",e),...x,children:[(0,s.jsxs)("div",{className:(0,o.cn)("absolute inset-0 bottom-auto",r),style:"weddings"===m?{backgroundColor:"#1C1C20"}:void 0,children:[(0,s.jsx)(i.default,{...h,imageProps:{fill:!0,sizes:"100vw",...f,className:(0,o.cn)(p,f?.className)},videoProps:{autoPlay:!0,loop:!0,muted:!0,...g,className:(0,o.cn)(p,g?.className)}}),l>1&&(0,s.jsx)(n.default,{handleControls:e=>{let s="left"===e?t-1:t+1;s<0?a(l-1):s>l-1?a(0):a(s)},nextIconProps:v,nextProps:{className:(0,o.cn)(b,"right-4")},prevIconProps:v,prevProps:{className:(0,o.cn)(b,"left-4")}})]}),(0,s.jsx)("div",{className:(0,o.cn)("relative z-10 mx-auto flex max-w-screen-xll flex-col px-4 pb-6 md:px-8 md:pb-10",d),children:u})]})};e.s(["default",0,c],287337);var d=e.i(75086),u=e.i(882709),m=e.i(325015),x=e.i(354764);e.s(["default",0,({items:e,className:i,children:n,page:f=""})=>{let[g,h]=(0,t.useState)(0);if(0===e.length)return null;let p=e[g],b=(0,o.cn)("gradient-mask-b-[rgba(0,0,0,1)_50%]"),v=null!=n,j=null!=p.description,y="link"in p&&null!=p.link,N=e.length>1;return(0,s.jsxs)(c,{className:(0,o.cn)("min-h-[720px] md:min-h-[700px]",i),mediaItemWrapperClassName:(0,o.cn)("h-[720px] md:h-[700px]"),activeIdx:g,setActiveIdx:h,numPages:e.length,mediaItemProps:{...p,height:{[d.BREAKPOINT.none]:720,[d.BREAKPOINT.md]:700},imageProps:{className:b},videoProps:{className:b}},childrenWrapperClassName:(0,o.cn)(v&&(j?"gap-y-6 big:gap-y-10":"gap-8 big:flex-row big:items-end big:justify-between")),page:f,children:[(0,s.jsxs)("div",{style:{width:"100%"},className:(0,o.cn)("font-serif text-gray-50","grid grid-cols-1 content-end items-end gap-x-[60px] gap-y-2",v&&(j?"h-[612px] big:h-[660px]":"h-[568px] big:h-[708px]"),!v&&"h-[668px]"),children:[!!p.title&&(0,s.jsx)("h1",{className:(0,o.cn)(`text-lg-1 leading-sm-1 tracking-tight ${m.default.customTitle}`,"weddings"===f&&"font-garamond"),children:(0,x.breakline)(p.title,"\\n")}),p.description&&(0,s.jsx)("div",{style:{maxWidth:"47ch"},children:(0,s.jsx)(u.CustomPortableText,{className:(0,o.cn)("self-start font-sans font-semibold leading-normal big:row-span-1 big:text-[1.125rem]",(y||N)&&"big:row-span-2"),value:p.description})}),(y||N)&&(0,s.jsxs)("div",{className:"mt-2 flex items-center justify-between",children:[!!p.link&&(0,s.jsx)(a.default,{variant:"secondary",asChild:!0,children:(0,s.jsx)(r.default,{link:p.link})}),N&&(0,s.jsx)(l.default,{numPages:e.length,selectedIdx:g,onChange:h})]})]}),n]})}],185087)},473382,e=>{"use strict";var s=e.i(843476),t=e.i(522016),a=e.i(757744),l=e.i(271645),r=e.i(966602),i=e.i(319545),n=e.i(352153);let o=({icon:e})=>(0,s.jsx)("div",{className:"flex w-[242px] shrink-0 flex-col items-center justify-center",children:(0,s.jsx)(n.SanityImage,{...e,width:200,height:100,className:"object-contain"})});o.displayName="MarqueeContent";let c=({icon:e,title:t})=>(0,s.jsxs)("div",{className:"flex w-[104px] flex-col items-center gap-y-1 text-center md:w-[120px] big:w-[150px]",children:[(0,s.jsx)(n.SanityImage,{...e,width:80,height:80,className:"size-16 object-contain big:size-20"}),t&&(0,s.jsx)("h5",{className:"px-3 py-2 font-serif text-xs-4 leading-sm-1 tracking-[0.02625rem] big:text-base big:tracking-wider",children:t})]});c.displayName="MarqueeCollectionsContent";var d=e.i(763739);let u=e=>{let{_type:n,allToursIcon:u,allToursTitle:m,title:x,items:f,noMargin:g,addBottomBorder:h,stack:p}=e.content,b="marqueeCollections"===n,v=b&&m&&u,{locale:j}=(0,l.useContext)(d.SiteContext),y=(0,l.useRef)(null),[N,_]=(0,l.useState)({left:!1,right:!1}),w=(0,l.useCallback)(()=>{let e=y.current;if(!e)return;let s=e.scrollWidth-e.clientWidth;_({left:e.scrollLeft>1,right:e.scrollLeft<s-1})},[]);(0,l.useEffect)(()=>{let e=y.current;if(!e)return;w(),e.addEventListener("scroll",w,{passive:!0});let s=new ResizeObserver(w);return s.observe(e),()=>{e.removeEventListener("scroll",w),s.disconnect()}},[w]);let k=(0,i.cn)(p?"flex flex-col gap-y-4 p-4 big:scroll-px-4 big:flex-row big:gap-x-12 big:overflow-x-auto big:overscroll-x-contain big:px-8 xl:px-0":"flex max-w-full scroll-px-4 gap-x-2 overflow-x-auto overscroll-x-contain p-4 big:scroll-px-8 big:gap-x-12 big:px-8 xl:px-0",b&&"py-0 big:gap-x-6 xl:px-0");return(0,s.jsxs)("div",{className:(0,i.cn)("mx-auto box-content flex max-w-screen-xl flex-col items-center gap-y-4 text-center",g?"my-0 mb-4":"my-8 md:my-20",h?"border-b pb-4":""),children:[x&&(0,s.jsx)("h3",{className:"pb-4 font-serif leading-sm-1 md:text-sm-2",children:x}),(0,s.jsxs)("div",{className:"relative flex w-full max-w-full justify-center",children:[(N.left||N.right)&&(0,s.jsx)(r.default,{handleControls:e=>{let s=y.current;s&&s.scrollBy({left:"left"===e?-s.clientWidth:s.clientWidth,behavior:"smooth"})},showPrev:N.left,showNext:N.right,verticalPositionClassName:b?"top-8 big:top-10":"top-1/2",prevPositionClassName:"left-0 big:left-8 big:-translate-x-1/2 xl:left-0 xl:translate-x-0 xll:-translate-x-1/2",nextPositionClassName:"right-0 big:right-8 big:translate-x-1/2 xl:right-0 xl:translate-x-0 xll:translate-x-1/2"}),(0,s.jsxs)("div",{ref:y,className:k,children:[v&&(0,s.jsx)(a.default,{href:"/tours",className:"hover:underline",children:(0,s.jsx)(c,{title:m,icon:u})}),f?.map(e=>{let l=b?c:o,r=e._key,i={...e};if(e.link){let a=e.openInNewTab?"_blank":"_self",n=e.openInNewTab?"noopener noreferrer":void 0;return(0,s.jsx)(t.default,{href:e.link,target:a,rel:n,className:"hover:underline",children:(0,s.jsx)(l,{...i})},r)}if(e.slug){let t=`/tours/${"en"===j?e.slug:e.slug_es}`;return(0,s.jsx)(a.default,{href:t,className:"hover:underline",children:(0,s.jsx)(l,{...i})},r)}return(0,s.jsx)(l,{...i},r)})]})]})]})};u.displayName="Marquee",e.s(["default",0,u],473382)},582856,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(770703);
1let l=(0,e.i(755742).default)((0,s.jsx)("path",{d:"M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 18H6V4h5v7l2.5-1.5L16 11V4h2zm-4.38-6.5L17 18H7l2.38-3.17L11 17z"}),"PhotoAlbumOutlined");var r=e.i(204513),i=e.i(347584),n=e.i(609574),o=e.i(763739),c=e.i(882709),d=e.i(75086),u=e.i(319545),m=e.i(757744),x=e.i(352153);let f={en:{basePrice:"From ${%VAR} USD",perPerson:" / Person",perPersonPrice:"+ ${%VAR} USD P/P",seeDetails:"See Details"},es:{basePrice:"Desde ${%VAR} USD",perPerson:" / Persona",perPersonPrice:"+ ${%VAR} USD P/P",seeDetails:"Ver Detalles"}};var g=e.i(762806),h=e.i(697611);let p=({icon:e,text:t})=>(0,s.jsxs)("p",{className:"flex gap-x-1.5",children:[(0,s.jsx)(x.SanityImage,{...e,width:20,height:20,className:"size-5 object-cover"}),(0,s.jsx)("span",{className:"text-xs-4 leading-5 tracking-condensed text-gray-300",children:t})]}),b=(0,t.forwardRef)(({item:e},a)=>{let{title:l,basePrice:n}=e,c=(0,t.useContext)(o.SiteContext),d=new h.default(f,c.locale),u="discount"in e&&e.discount>0,x=u?(0,g.trunc)((0,g.discountedCost)(n,e.discount)):n;return"isDisabled"in e&&e.isDisabled?null:(0,s.jsxs)("div",{className:"flex flex-col gap-y-2 rounded-lg border border-gray-500 p-4 big:flex-row big:gap-x-12 big:p-6",ref:a,children:[(0,s.jsxs)("div",{className:"flex flex-col gap-y-1 text-left big:w-[23.25rem] big:text-right",children:[(0,s.jsx)("h4",{className:"font-serif text-base leading-sm-1 big:text-sm-1",children:l}),(0,s.jsxs)("p",{className:"flex gap-x-2 tracking-normal big:justify-end",children:[(0,s.jsx)("span",{className:"font-bold text-brand-sun",children:d.translate("basePrice").replace("{%VAR}",x.toString())}),"personPrice"in e&&(0,s.jsx)("span",{className:"font-semibold",children:d.translate("perPersonPrice").replace("{%VAR}",e.personPrice.toString())}),u&&(0,s.jsxs)("span",{className:"font-semibold",children:[(0,s.jsxs)("span",{className:"line-through",children:["$",n]}),d.translate("perPerson")]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-0.5 big:flex-1 big:justify-center",children:["items"in e&&e.items.map(({text:e,icon:t},a)=>(0,s.jsx)(p,{icon:t,text:e},a)),"keyInfo"in e&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p,{icon:e.keyInfo.duration.icon,text:e.keyInfo.duration.title}),(0,s.jsx)(p,{icon:e.keyInfo.age.icon,text:e.keyInfo.age.title}),e.keyInfo.scubaExperience&&(0,s.jsx)(p,{icon:e.keyInfo.scubaExperience.icon,text:e.keyInfo.scubaExperience.title}),e.keyInfo.weight&&(0,s.jsx)(p,{icon:e.keyInfo.weight.icon,text:e.keyInfo.weight.title})]})]}),(0,s.jsx)("div",{className:"flex items-center justify-center rounded p-2 hover:bg-surface-tertiary",children:(0,s.jsx)(r.default,{variant:"text",className:"text-xs-4 ",asChild:!0,children:"slug"in e?(0,s.jsx)(m.default,{href:`/tour/${e.slug}`,children:d.translate("seeDetails")}):(0,s.jsx)(i.default,{link:{...e.link,buttonText:d.translate("seeDetails")}})})})]})});b.displayName="OptionPill";let v=(0,a.default)(()=>e.A(690295),{loadableGenerated:{modules:[229726]},ssr:!1}),j=({content:e})=>{let a=(0,t.useContext)(o.SiteContext),[m,x]=(0,t.useState)(0),[f,g]=(0,t.useState)(!1),h=a.breakpoint<d.BREAKPOINT.md,p=()=>{g(!0)},j=(0,u.cn)("flex justify-center gap-x-2 px-2 text-xs-4 leading-[24px] big:flex-1");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{className:"my-12 md:my-20",children:[(0,s.jsx)(n.default,{items:e.media,height:h?444:586,isMobile:h,showPagination:!1,setSelectedMediaIdx:x,showModal:p}),(0,s.jsx)("div",{className:"relative mx-auto -mt-6 max-w-screen-xl px-4 text-center big:-mt-24 big:px-6",children:(0,s.jsxs)("div",{className:"overflow-hidden rounded-lg big:rounded-xl",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-y-4 bg-gray-50 px-4 py-8 text-invert big:flex-row big:gap-x-12 big:px-[7.5rem]",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-y-4 big:basis-[25.25rem] big:justify-center big:gap-y-2",children:[(0,s.jsx)("h2",{className:"font-serif leading-sm-1 big:text-md-1",children:e.title}),e.subtitle&&(0,s.jsx)("h5",{className:"font-serif text-xs-4 leading-sm-1 tracking-[0.02625rem] big:text-base big:tracking-wider",children:e.subt
1itle})]}),(0,s.jsx)(c.CustomPortableText,{value:e.description,className:"text-center leading-lg-3 tracking-normal big:flex big:flex-1 big:text-left big:text-[18px]"})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-y-4 bg-gray-800 px-4 py-6 big:gap-y-8 big:px-[7.5rem] big:py-8",children:[e.items?(0,s.jsx)("div",{className:"flex flex-col gap-y-4",children:e.items.map(e=>(0,s.jsx)(b,{item:e},e._key))}):"",(0,s.jsxs)("div",{className:"flex flex-col gap-y-2 big:flex-row big:gap-x-4",children:[(0,s.jsxs)(r.default,{className:j,variant:"secondary",onClick:p,children:[(0,s.jsx)(l,{}),e.buttonText]}),e.links.map((e,t)=>(0,s.jsx)(r.default,{className:j,variant:"secondary",asChild:!0,children:(0,s.jsx)(i.default,{link:e})},t))]})]})]})})]}),(0,s.jsx)(v,{isGalleryModalOpen:f,setIsGalleryModalOpen:g,items:e.media,defaultSelectedMediaIdx:m})]})};j.displayName="Promotions",e.s(["default",0,j],582856)},803425,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(319545),l=e.i(461458);let r=({reviews:e,visibleCards:r=3,autoplay:i=!1,intervalMs:n=6e3,loop:o=!0,className:c,cardProps:d={},heading:u})=>{let m=(0,t.useRef)(null),[x,f]=(0,t.useState)(0),[g,h]=(0,t.useState)(!1),[p,b]=(0,t.useState)("");(0,t.useEffect)(()=>{let e=()=>{if(m.current){let{scrollWidth:e,clientWidth:s}=m.current;h(e>s)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[e]),(0,t.useEffect)(()=>{if(!i||e.length<=1)return;let s=setInterval(()=>{f(s=>{let t=s+1;return t>=e.length?o?0:s:t})},n);return()=>clearInterval(s)},[i,n,o,e.length]),(0,t.useEffect)(()=>{b(`Slide ${x+1} of ${e.length}`)},[x,e.length]);let v=s=>{if(m.current){let t=m.current.scrollWidth/e.length;m.current.scrollTo({left:s*t,behavior:"smooth"})}},j=()=>{let s=x>0?x-1:o?e.length-1:x;f(s),v(s)},y=()=>{let s=x<e.length-1?x+1:o?0:x;f(s),v(s)},N=e=>{"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),y())};return e&&0!==e.length?(0,s.jsxs)("div",{className:(0,a.cn)("mx-auto w-full max-w-7xl px-4 py-12",c),children:[u&&(0,s.jsx)("h2",{className:"mb-12 text-center font-light uppercase tracking-widest text-white",children:(0,s.jsx)("span",{className:"text-sm-1 md:text-md-1",children:u})}),(0,s.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"sr-only",children:p}),(0,s.jsxs)("div",{className:"relative",children:[g&&e.length>1&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{onClick:j,onKeyDown:N,className:(0,a.cn)("absolute left-0 top-1/2 z-10 -translate-y-1/2 rounded-full bg-gray-700 p-2 text-white shadow-lg transition-all hover:scale-110 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-gray-900","hidden md:block md:-translate-x-4"),"aria-label":"Previous reviews",children:(0,s.jsx)("svg",{className:"size-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,s.jsx)("button",{onClick:y,onKeyDown:N,className:(0,a.cn)("absolute right-0 top-1/2 z-10 -translate-y-1/2 rounded-full bg-gray-700 p-2 text-white shadow-lg transition-all hover:scale-110 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-gray-900","hidden md:block md:translate-x-4"),"aria-label":"Next reviews",children:(0,s.jsx)("svg",{className:"size-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}),(0,s.jsx)("div",{ref:m,className:(0,a.cn)("flex gap-6 overflow-x-auto scroll-smooth md:gap-8","snap-x snap-mandatory"),style:{scrollbarWidth:"none",msOverflowStyle:"none"},onKeyDown:N,tabIndex:0,role:"region","aria-label":"Reviews carousel",children:e.map((e,t)=>(0,s.jsx)("div",{className:(0,a.cn)("shrink-0 snap-start","w-[calc(100%-1.5rem)]",1===r&&"md:w-full",2===r&&"md:w-[calc(50%-1rem)]",3===r&&"md:w-[calc(33.333%-1.333rem)]"),children:(0,s.jsx)(l.default,{review:e,...d,className:"h-full"})},`${e.id}-${t}`))}),e.length>1&&(0,s.jsx)("div",{className:"mt-6 flex justify-center space-x-2",children:e.map((e,t)=>(0,s.jsx)("button",{onClick:()=>{f(t),v(t)},className:(0,a.cn)("size-3 rounded-full transition-all",t===x?"scale-125 bg-white":"bg-gray-500 hover:bg-gray-400"),"aria-label":`Go to review ${t+1}`},t))})]})]}):null};
1r.displayName="ReviewsCarousel",e.s(["default",0,r])},350740,e=>{"use strict";var s=e.i(271645),t=e.i(763739),a=e.i(762806),l=e.i(697611);let r={en:{currency:"USD",from:"from",fromPrice:"From",addCart:"Add to Cart",bookNow:"Book Now",learnMore:"Learn More",title:"Reserve your spot today!",priceUndefinedLabel:"Request a quote",priceUndefinedBtn:"Call to inquire",privateTourBtn:"Call to book"},es:{currency:"MXN",from:"desde",fromPrice:"Desde",addCart:"AÃADIR AL Carrito",bookNow:"Reservar Ahora",learnMore:"Conoce más",title:"¡reserva tu lugar hoy!",priceUndefinedLabel:"Solicita una cotización",priceUndefinedBtn:"Llámanos",privateTourBtn:"Llámanos"}};e.s(["useTourBooking",0,function(e){let{tourCode:i,tourPrice:n}=e,{locale:o,siteTranslations:c}=(0,s.useContext)(t.SiteContext),d=(0,s.useMemo)(()=>"object"==typeof e.tourDiscount&&null!==e.tourDiscount?e.tourDiscount[o]??0:e.tourDiscount||0,[e.tourDiscount,o]),u=(0,s.useMemo)(()=>(0,a.discountedCost)(n,d),[n,d]),[m,x]=(0,s.useState)(!0),[f,g]=(0,s.useState)(!1),[h,p]=(0,s.use
1State)("general"),[b,v]=(0,s.useState)(i),[j,y]=(0,s.useState)("Double"==e.tierLabel||"Doble"==e.tierLabel),[N,_]=(0,s.useState)(e.adultPerChild||!1),[w,k]=(0,s.useState)(e.adultMinAge),[S,C]=(0,s.useState)(e.childMinAge),P=0!==d&&1!==d,I={backgroundColor:d<=29?c.discount029??"revert-layer":d<=34?c.discount3034??"revert-layer":d<=39?c.discount3539??"revert-layer":d<=44?c.discount4044??"revert-layer":d<=49?c.discount4549??"revert-layer":c.discount50??"revert-layer"},T=new l.default(r,o),R=`/tour/${"en"===o?e.slug:e.slug_es}`;return{lang:o,siteTranslations:c,discount:d,discountedPrice:u,hasDiscount:P,discountBadgeStyle:I,isLoading:m,setIsLoading:x,isModalOpen:f,setIsModalOpen:g,tourType:h,selectedTourCode:b,handleTourTypeSelection:s=>{let t=s.target.value;p(t),null!=e.vipTour&&"vip"===t?(v(e.vipTour.tourCode),y("Double"==e.vipTour.tierLabel||"Doble"==e.vipTour.tierLabel),_(e.vipTour.adultPerChild||!1),k(e.vipTour.adultMinAge||e.adultMinAge),C(e.vipTour.childMinAge||e.childMinAge)):(v(e.tourCode),y("Double"==e.tierLabel||"Doble"==e.tierLabel),_(e.adultPerChild||!1),k(e.adultMinAge),C(e.childMinAge))},isTourDouble:j,isAdultPerChild:N,adultsMinAge:w,childMinAge:S,translator:T,tourHref:R}}],350740)},343794,(e,s,t)=>{!function(){"use strict";var t={}.hasOwnProperty;function a(){for(var e="",s=0;s<arguments.length;s++){var r=arguments[s];r&&(e=l(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var s="";for(var r in e)t.call(e,r)&&e[r]&&(s=l(s,r));return s}(r)))}return e}function l(e,s){return s?e?e+" "+s:e+s:e}if(s.exports)a.default=a,s.exports=a;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==a&&e.v(a);else window.classNames=a}()},969477,e=>{e.v(s=>Promise.all(["static/chunks/1l6ols6zkadr-.js","static/chunks/1_zckgafa4l8k.js","static/chunks/3qexmhr-jru-z.js","static/chunks/1p1t-zkfxvch9.js"].map(s=>e.l(s))).then(()=>s(835569)))},283446,e=>{"use strict";e.s(["default",0,{en:{contactUs:"Contact Us",nameRequired:"Full Name is Required",emailRequired:"Email is Required",guestsRequired:"Number of guests is Required",dateRequired:"Date is Required",phoneNumberRequired:"Phone number is Required",messageRequired:"Message is Required",emailFormat:"Please enter valid email",sendMessage:"Send Message",send:"Send",sending:"Sending...",tryAgain:"Try again",errorInvalidEmail:"This email address could not be verified. Please double-check it and try again.",errorMissingFields:"Please complete all required fields before submitting.",errorServer:"Something went wrong on our end. Please try again later.",countryRequired:"Country is Required",orVisit:"Or visit"},es:{contactUs:"Contáctanos",nameRequired:"El nombre completo es obligatorio",emailRequired:"Correo electronico es requerido",guestsRequired:"La cantidad de invitados es requerido",dateRequired:"La fecha es requerida",phoneNumberRequired:"El número de teléfono es obligatorio",messageRequired:"El mensaje es obligatorio",emailFormat:"El valor ingresado no tiene el formato de correo electrónico",sendMessage:"Enviar mensaje",send:"Enviar",sending:"Enviando...",tryAgain:"Intentar de nuevo",errorInvalidEmail:"Este correo electrónico no pudo verificarse. Por favor revÃsalo e intenta de nuevo.",errorMissingFields:"Por favor completa todos los campos requeridos antes de enviar.",errorServer:"Ocurrió un error en el servidor. Por favor intenta más tarde.",countryRequired:"El paÃs es obligatorio",orVisit:"O visita"}}])},825014,e=>{"use strict";e.i(247167);let s={en:"excursions",es:"excursiones"},t=new Set(["en","es",s.en,s.es]);function a(e,s){let t=e.trim();if(!/^https?:\/\//i.test(t))return!1;let a=s??"https://www.vallarta-adventures.com";if(!a)return!0;try{return new URL(t).hostname.replace(/^www\./i,"")!==new URL(a).hostname.replace(/^www\./i,"")}catch{return!0}}function l(e,s){let l=e.trim();if(!l)return null;if(/^https?:\/\//i.test(l)){if(a(l,s))return null;try{l=new URL(l).pathname}catch{return null}}
1let r=l.split(/[?#]/)[0].split("/").filter(Boolean).filter(e=>!t.has(e.toLowerCase()));return r.length>0?r[r.length-1]:null}let r={contentPages:"",tours:"/tour",collections:"/tours",blogs:"/blog"};e.s(["excursionHref",0,function(e,t,r){let i=e.overrideLink?.trim();if(i&&a(i,r))return i;let n=i&&l(i,r)||e.slug;return`/${s[t]}/${n}`},"excursionSlugFromLink",0,l,"linkedPageHref",0,function(e){let s=e?r[e._type]:void 0,t=e?.slug?.trim().replace(/^\/+/,"");return void 0!==s&&t?`${s}/${t}`:null}])}]);
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.