PageSourceSearch

https://www.travello.com/_next/static/chunks/app/sites/%5Bsite%5D/%5Btheme%5D/layout.page-e35194b4e99db292.js

js travello.com collected 2026-10-01 12:33:19 UTC 100,965 bytes, 107 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4629],{7679:(e,t,a)=>{"use strict";a.d(t,{m:()=>s});var r=a(20063);let s=()=>({noLayout:"1"===(0,r.useSearchParams)().get("raw")})},18704:(e,t,a)=>{"use strict";a.d(t,{default:()=>_});var r=a(95155),s=a(10248),n=a(22180),l=a(27642),i=a(53957),o=a(87358);let c={travelloGraph:o.env.TRAVELLO_GRAPH??"https://api-stage.travelloapp.com/graphql",travelloGraphServerSide:o.env.TRAVELLO_GRAPH_SERVER_SIDE??"https://api-stage.travelloapp.com/graphql",travelloApiKey:"test123",travelloBpdGraphApiKey:o.env.TRAVELLO_BPD_GRAPH_APIKEY??"",travelloRestApi:o.env.TRAVELLO_REST??"https://api-stage.travelloapp.com/2",travelloUserServiceServerSide:o.env.USER_SERVICE_SERVER_SIDE??"https://api-stage.travelloapp.com/2",blogUrl:o.env.BLOG_URL??"",shareASaleEnabled:"1",priceFromFetchPeriodDays:o.env.PRICE_FROM_FETCH_PERIOD_DAYS??"30",shareASaleExpiryDays:o.env.SHARE_A_SALE_COOKIE_EXPIRY_DAYS??"30",commissionFactoryExpiryDays:o.env.COMMISSION_FACTORY_COOKIE_EXPIRY_DAYS??"30",serviceName:o.env.K_SERVICE??"backpackerdeals-next",version:o.env.K_REVISION??"dev",bpdAssetsBaseUrl:o.env.BPD_ASSETS_BASEURL,enabledResProviders:o.env.ENABLED_RES_PROVIDERS??"",reviewsIoSection:!!o.env.REVIEWS_IO_ENABLED,millionDollarLandingPage:!!o.env.MILLION_DOLLAR_ENABLED,popUpEnabled:!!o.env.POP_UP_ENABLED,afterpay:{baseUrl:o.env.AFTERPAY_API_BASE_URL,configs:o.env.AFTERPAY_API_AUTH},isRefundableBookingEnabled:!!o.env.IS_REFUNDABLE_BOOKING_ENABLED,allowedCountryInSpecificChannels:o.env.ALLOWED_COUNTRY_IN_SPECIFIC_CHANNEL,zendeskApiToken:o.env.ZENDESK_API_TOKEN,zendeskApiUrl:o.env.ZENDESK_API_URL,metaAppId:o.env.META_APP_ID,metaAppSecret:o.env.META_APP_SECRET,metaEndpointVersion:o.env.META_ENDPOINT_VERSION??"v23.0",priceFromFetchPeriodDaysPerProviders:o.env.PRICE_FROM_FETCH_PERIOD_DAYS_PER_PROVIDERS,isNewSearchByDateEnabled:!!o.env.SEARCH_BY_DATE_FILTER_ENABLED,iterableApiHost:o.env.ITERABLE_API_HOST??"https://api.iterable.com/api",sharedBookingSecretKey:o.env.SHARED_BOOKING_SECRET,bookingStateTtlInMinute:o.env.BOOKING_STATE_TTL_IN_MINUTE??"30",isDisplayTimeSelectorOnCalendar:o.env.DISPLAY_TIME_SELECTOR_ON_CALENDAR??!1,productIdsWithTimeSelector:o.env.PRODUCT_IDS_WITH_TIME_SELECTOR??""},d={typePolicies:{BPD_Category:{merge:!0},BPD_Country:{merge:!0},BPD_City:{merge:!0},BPD_SiteConfig:{merge:!0},BPD_Uri:{keyFields:["url"],merge:!0},BPD_Channel:{merge:!0},Image:{merge:!0},Product:{keyFields:["productId"],merge:!0},Money:{merge:!1}}};a(87358);let{travelloApiKey:u,travelloGraphServerSide:m,travelloBpdGraphApiKey:p}=c;function h(){let e=new s.P({uri:"/api/next/graphql",fetch:globalThis.fetch});(0,i.o)((e,{headers:t})=>{let a={"Content-Type":"application/json",...u&&{"X-API-KEY":u},...p&&{"X-BPD-GRAPH-API-KEY":p}};return{headers:{...t,...a}}});let t=n.C.from([e]);return new l.Ri({cache:new l.D9(d),link:t,defaultOptions:{query:{fetchPolicy:"no-cache"},watchQuery:{fetchPolicy:"cache-and-network"}},assumeImmutableResults:!0})}function x({children:e}){return(0,r.jsx)(l.TO,{makeClient:h,children:e})}var g=a(80207),f=a(70667),b=a(5379),y=a(1474),v=a(12115),j=a(58325);let w=(0,v.createContext)({authorized:!1}),N=function({children:e}){let[t,a]=(0,j.A)("deviceId",null),[s,n]=(0,v.useState)(!1);(0,v.useEffect)(()=>{(async()=>{let e=t;if(!e){let t=await (0,y.Hh)(),{visitorId:r}=await t.get();a(r),e=r}try{let t=await fetch("/api/next/authorize",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({deviceId:e})}),a=await t.json();t.ok?n(!0):console.error("Authorization failed:",a.message||"Unknown error")}catch(e){console.error("Error during authorization:",e)}})()},[t,a]);let l=(0,v.useMemo)(()=>({deviceId:t,authorized:s}),[t,s]);return(0,r.jsx)(w.Provider,{value:l,children:e})};var A=a(8730),k=a(67909);(0,g.gi)();let C=(0,k.default)(()=>a.e(2765).then(a.bind(a,82765)),{loadableGenerated:{webpack:()=>[82765]}});function _({children:e,pageProps:t}){let a=t.shared?.channel?.theme,s=t.shared?.host;return(0,r.jsx)(N,{children:(0,r.jsx)(x,{children:(0,r.jsx)(A.A,{value:t.shared,children:(0,r.jsx)(C,{children:(0,r.jsx)(b.N,{defaultTheme:a,forcedTheme:a,enableSystem:!1,children:(0,r.jsx)(f.zu,{host:s,children:e})})})})})})}},24117:(e,t,a)=>{"use strict";a.d(t,{default:()=>k});var r=a(95155),s=a(12115);let n=[{src:"/images/footer/icon-cc-visa.svg",alt:"Visa"},{src:"/images/footer/icon-cc-mastercard.svg",alt:"Mastercard"},{src:"/images/footer/icon-cc-amex.svg",alt:"American Express"},{src:"/_next/static/media/icon-cc-diners-club-international.a6450bb1.svg",alt:"Diners Club"},{src:"/images/footer/icon-cc-paypal.svg",alt:"Paypal"},{src:"/images/footer/icon-cc-applepay.svg",alt:"Apple Pay"},{src:"/images/footer/icn-gpay.svg",alt:"Google Pay"}],l=[{src:"/_next/static/media/byata.e5cd35f7.svg",alt:"BYATA",url:"https://www.byata.org.nz/",width:43,height:24},{src:"/_next/static/media/adventure.d1294e72.svg",alt:"adventure queensland",url:"https://www.adventurequeensland.com.au/",width:89,height:24},{src:"/_next/static/media/queensland.3df95c43.svg",alt:"queensland",url:"",width:72,height:24}];var i=a(98300),o=function(e){return e.FIRST_NAME="firstName",e.LAST_NAME="lastName",e.EMAIL="email",e.COUNTRY_CODE="countryCode",e.CONTACT_NUMBER="contactNumber",e.ENQUIRY_TYPE="enquiryType",e.PRODUCT_NAME="productName",e.DESCRIPTION="description",e.TOUR_DATE="tourDate",e.INVOICE_NUMBER="invoiceNumber",e.ADD_REFUNDABLE_BOOKING="addRefundableBooking",e.REASON_FOR_REFUND="reasonForRefund",e.MARKETING_OPT_IN="marketingOptIn",e}({}),c=a(33828);let d=e=>{let{channel:t,blogUrl:a,isRoaverPage:r,flags:d={},variant:u,theme:m,customCookiesContent:p}=e,{footerData:h}=(({theme:e})=>{let t;switch(e){case"flightcentrev2":case"flightcentrev2b":t={logoPartner:`${i.sK}/files/content/partners/flightcentre-logo-black.svg`,alt:"Flight Centre powered by Travello",footer_section1:[{id:1,url:"https://www.flightcentre.com.au/about-us",title:"About Flight Centre"},{id:2,url:"https://help.flightcentre.com.au/s/article/contact-us-au",title:"Contact Us"},{id:3,url:"https://www.fctgcareers.com/brands/flight-centre/jobs",title:"Careers"}],footer_section2:[{id:1,url:"https://help.flightcentre.com.au/s/article/terms-of-use
1-au",title:"Terms of Use"},{id:2,url:"https://help.flightcentre.com.au/s/article/booking-terms-conditions-au",title:"Terms & Conditions"},{id:3,url:"https://help.flightcentre.com.au/s/article/privacy-policy-au",title:"Privacy Policy"},{id:4,url:"https://www.flightcentre.com.au/sitemap",title:"Sitemap"}],cookies_content:"\xa9 Flight Centre Travel Group Limited trading as Flight Centre ABN 25 003 377 188"};break;case"travelassociates":t={logoPartner:`${i.sK}/files/content/partners/travelassociates-logo-black.png`,alt:"Travel Associates powered by Travello",footer_section1:[{id:1,url:"https://www.travelassociates.com/about-us",title:"About Travel Associates"},{id:2,url:"https://www.travelassociates.com/consultant/search",title:"Find Your Advisor"},{id:3,url:"https://www.travelassociates.com/offers",title:"Special Offers"}],footer_section2:[{id:1,url:"https://www.travelassociates.com/booking-conditions",title:"Booking Conditions"},{id:2,url:"https://www.travelassociates.com/terms-of-use",title:"Terms of Use"}],cookies_content:null};break;case"cmr":t={logoPartner:`${i.sK}/files/content/partners/cmr-logo.png`,alt:"cmr powered by Travello",footer_section1:[{id:1,url:"https://www.cmr.com.au/news-listing/",title:"Latest cmr News"},{id:2,url:"https://www.cmr.com.au/medical-jobs/",title:"Search healthcare Jobs"}],footer_section2:[],cookies_content:null};break;default:t=null}return{footerData:t}})({theme:m}),x=(0,s.useMemo)(()=>(e=>{let t={facebook:c.ok6,twitter:c.MLP,pinterest:c.oCJ,instagram:c.ao$,tiktok:c.kkU};return e?.match(/href="(.*?)" aria-label="(.*?)"/g).map(e=>{let[,a,r]=e.match(/href="(.*?)" aria-label="(.*?)"/),s=t[r.toLowerCase()]||null;return{label:r,url:a,icon:s}})})(t?.siteConfig?.footer_social_links),[t?.siteConfig?.footer_social_links]),{company:g,support:f,legal:b,work:y}=(0,s.useMemo)(()=>(e=>{let{blogUrl:t,isRoaverPage:a,flags:r}=e,s=a?"/campervan-terms-and-conditions":"/terms-and-conditions",n=a?"/campervan-terms-and-conditions":"/refund-policy";return{company:[{label:"About Us",href:"/about-us"},{label:"Terms & Conditions",href:s,newTab:a},{label:"Blog",href:t||"#",newTab:!0,rel:"noreferrer",visible:!!t},{label:"Privacy Policy",href:"/privacy-policy"},{label:"Cancellation Policy",href:n,newTab:a},{label:"Terms of Use",href:"/members-terms-of-use"}],support:[{label:"Why book with us?",href:"/why-book-with-us"},{label:"FAQ",href:"/faq"},{label:"Help Center",href:"/contact-us"},{label:"Cancellation Form",href:`/contact-us?${o.ENQUIRY_TYPE}=enquiry_refund_or_cancellation`},{label:"RSS Feed",href:"/api/feed/rss",newTab:!0},{label:"Sitemap",href:"/sitemaps/v2"}],legal:[{label:"Terms & Conditions",href:s},{label:"Privacy Policy",href:"/privacy-policy"},{label:"Cancellation Policy",href:n},{label:"Terms of Use",href:"/members-terms-of-use"}],work:[{label:"Suggest a Business",href:`/contact-us?${o.ENQUIRY_TYPE}=enquiry_suggest_a_business`},{label:"As an Affiliate Partner",href:"https://promotions.backpackerdeals.com/affiliate-program-backpacker-deals/",newTab:!0,rel:"noreferrer",visible:r?.isBackpackerdealsChannel}]}})({blogUrl:a,isRoaverPage:r,flags:d}),[a,r,d]),v=(e=>e?e.replace(/<p>/g,'<p style="margin-bottom: 8px;">').replace(/<br\s*\/?>/g,'</p><p style="margin-bottom: 8px;">'):"")(t?.siteConfig?.contact_phones),j=t?.siteConfig?.contact_mail,w=(0,s.useMemo)(()=>new Date().getFullYear(),[]),N=p||h?.cookies_content||(e=>e?.isTravelloChannel||e?.isBackpackerdealsChannel?"We use cookies to improve your experience on our website. By continuing to use our website, you are agreeing to our use of cookies (not applicable to users within regions governed by GDPR). You can learn more in our":"We use cookies to improve your experience on our website. By continuing to use our website, you are agreeing to our use of cookies. You can learn more in our")(d),A=!!t?.paymentProviders?.includes("afterpay");return{sections:(0,s.useMemo)(()=>"default"===u?[{title:"Company",items:g},{title:"Support",items:f},{title:"Work with us",items:y},{title:"Contact us",customNodeKey:"contact"}]:[{title:"Partner Section 1",customNodeKey:"partner_section_1",visible:!!h?.footer_section1?.length},{title:"Partner Section 2",customNodeKey:"partner_section_2",visible:!!h?.footer_section2?.length},{title:"About Travello",items:[{label:"About Travello",href:"/about-us"},{label:"Why book with us?",href:"/why-book-with-us"},{label:"Help Center",href:"/contact-us"},{label:"Cancellation Form",href:`/contact-us?${o.ENQUIRY_TYPE}=enquiry_refund_or_cancellation`},{label:"FAQ",href:"/faq"},{label:"Blog",href:a||"#",newTab:!0,rel:"noreferrer",visible:!!a}]},{title:"Legal",items:b}],[u,g,f,y,b,h?.footer_section1,h?.footer_section2,a]),socials:x,payments:n,members:l,cookiesContent:N,year:w,contact:"default"===u?{phonesHtml:v,email:j}:void 0,gap360DisclaimerVisible:!!d.isGap360Channel,showAfterpay:A,poweredByTravello:"custom"===u,partnerLogo:"custom"===u&&h?.logoPartner?{src:h.logoPartner,alt:h.alt}:null,customFooterRaw:"custom"===u?{footer_section1:h?.footer_section1,footer_section2:h?.footer_section2}:void 0}},u=({socials:e})=>e?.length?(0,r.jsx)("div",{className:"flex flex-wrap items-center gap-2 sm:flex-nowrap",children:e.map(e=>(0,r.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"text-2xl text-primary","aria-label":e.label,children:e.icon&&(0,r.jsx)(e.icon,{"aria-hidden":"true"})},e.url))}):null;var m=a(15239);let p=({payments:e,showAfterpay:t})=>(0,r.jsxs)("ul",{className:"flex flex-wrap gap-3 sm:flex-nowrap",children:[e.map(e=>(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)(m.default,{loader:({src:e})=>
1e,src:e.src,alt:e.alt,width:34,height:24,sizes:"(max-width: 640px) 34px, 34px",priority:!1,unoptimized:!0})},e.alt)),t&&(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)(m.default,{loader:({src:e})=>e,src:"/images/footer/icn-afterpay.svg",alt:"Afterpay",width:51,height:24,sizes:"(max-width: 640px) 51px, 51px",priority:!1,unoptimized:!0})})]}),h=({members:e})=>e?.length?(0,r.jsx)("ul",{className:"m-0 flex flex-wrap gap-4 p-0 sm:flex-nowrap md:justify-center lg:justify-start",children:e.map(e=>(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)("a",{className:"cursor-pointer",href:e.url,target:"_blank",rel:"noreferrer","aria-label":e.alt,children:(0,r.jsx)(m.default,{loader:({src:e})=>e,src:e.src,alt:e.alt,width:e.width,height:e.height,sizes:"(max-width: 640px) 100px, 120px",priority:!1,unoptimized:!0})})},e.alt))}):null,x="inline-block cursor-pointer text-11px font-normal leading-6 text-black transition-all duration-300 ease-in-out hover:text-primary hover:underline",g="text-xs font-semibold md:text-sm inline-block cursor-pointer transition-all duration-300 ease-in-out hover:text-primary",f=({title:e,children:t,className:a="mb-4"})=>(0,r.jsxs)("div",{className:a,children:[(0,r.jsx)("span",{className:"text-xs font-bold",children:e}),(0,r.jsx)("div",{className:"mt-4",children:t})]}),b=({items:e,linkClassName:t=x,ulClassName:a=""})=>(0,r.jsx)("ul",{className:`m-0 p-0 ${a}`,children:e.filter(e=>!1!==e.visible).map(e=>{let a=e.rel||(e.newTab?"noreferrer":void 0);return(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)("a",{className:t,href:e.href,...e.newTab?{target:"_blank",rel:a}:{},"aria-label":e.label,children:e.label})},e.label)})});var y=a(2821);let v=({theme:e,channel:t,blogUrl:a})=>{let s=d({variant:"custom",theme:e,channel:t,blogUrl:a}),n="travelassociates"===e;return(0,r.jsx)("footer",{className:"mt-6 bg-gray-100 pb-28 md:pb-0 lg:mt-0",children:(0,r.jsxs)("div",{className:"container mx-auto px-2 sm:!px-0",children:[(0,r.jsxs)("div",{className:"grid grid-cols-12 gap-6 border-b border-gray-100 pb-4 pt-6 sm:pt-14",children:[(0,r.jsxs)("div",{className:"col-span-12 border-r border-inputBorder md:col-span-6",children:[(0,r.jsx)("div",{className:(0,y.A)("mb-4 mr-4 h-30px",n?"md:h-75px":"md:h-60px"),children:s.partnerLogo&&(0,r.jsx)("img",{src:s.partnerLogo.src,alt:s.partnerLogo.alt,className:(0,y.A)("h-30 w-auto",n?"md:h-75px":"md:h-45px"),loading:"lazy"})}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-6 pt-5 md:justify-between md:pt-0",children:[(0,r.jsx)("div",{className:"col-span-6",children:(0,r.jsx)("ul",{children:s.customFooterRaw?.footer_section1?.map(e=>(0,r.jsx)("li",{className:"mb-1 ml-0 list-none",children:(0,r.jsx)("a",{className:g,href:e.url,target:"_blank",rel:"noreferrer",children:e.title})},e.id))})}),(0,r.jsx)("div",{className:"col-span-6 md:mr-100px",children:(0,r.jsx)("ul",{children:s.customFooterRaw?.footer_section2?.map(e=>(0,r.jsx)("li",{className:"mb-1 ml-0 list-none",children:(0,r.jsx)("a",{className:g,href:e.url,target:"_blank",rel:"noreferrer",children:e.title})},e.id))})})]})]}),(0,r.jsxs)("div",{className:"col-span-12 md:col-span-6 md:ps-5",children:[(0,r.jsx)("div",{className:(0,y.A)("h-30 mb-4 mr-4",n?"md:h-75px":"md:h-60px"),children:s.poweredByTravello&&(0,r.jsx)("a",{className:"text-xs font-semibold md:text-sm",href:"/",rel:"noreferrer",children:(0,r.jsx)("img",{alt:"Powered By Travello",src:"/images/logo-powered-by-travello.svg",className:"img-responsive",loading:"lazy"})})}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-6 pt-5 md:justify-between md:pt-0",children:[(0,r.jsx)("div",{className:"col-span-6",children:s.sections.filter(e=>"About Travello"===e.title).map(e=>(0,r.jsx)(b,{items:e.items??[],linkClassName:g},e.title))}),(0,r.jsx)("div",{className:"col-span-6 md:mr-100px",children:s.sections.filter(e=>"Legal"===e.title).map(e=>(0,r.jsx)(b,{items:e.items??[],linkClassName:g},e.title))})]})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-12 gap-6",children:[(0,r.jsxs)("div",{className:"col-span-12 md:col-span-3",children:[(0,r.jsx)("h3",{className:"mt-2 py-2 text-sm font-semibold md:text-base",children:"Social Media"}),(0,r.jsx)(u,{socials:s.socials})]}),(0,r.jsxs)("div",{className:"col-span-12 md:col-span-5",children:[(0,r.jsx)("h3",{className:"mt-2 py-2 text-sm font-semibold md:text-base",children:"Accepted Payments"}),(0,r.jsx)(p,{payments:s.payments,showAfterpay:s.showAfterpay})]}),(0,r.jsxs)("div",{className:"col-span-12 md:col-span-4",children:[(0,r.jsx)("h3",{className:"mt-2 py-2 text-sm font-semibold md:text-base",children:"Members of"}),(0,r.jsx)(h,{members:s.members})]})]}),(0,r.jsx)("div",{className:"mt-8 pb-36 pt-4",children:(0,r.jsxs)("div",{className:"m-0 text-xs",children:[(0,r.jsxs)("p",{className:"mb-1",children:[s.cookiesContent," ",(0,r.jsx)("a",{className:"text-xs font-semibold",href:"/privacy-policy",children:"Privacy Policy."})]}),(0,r.jsxs)("p",{className:"mb-1",children:["\xa9 2014-",s.year," Travello Pty Ltd. All rights reserved."]})]})})]})})},j=({cookiesContent:e,year:t,className:a="m-0 w-full max-w-full flex-shrink-0 text-center text-10px font-normal text-grayT"})=>(0,r.jsxs)("p",{className:a,children:[e," ",(0,r.jsx)("a",{className:"cursor-pointer font-normal text-primary",href:"/privacy-policy",children:"Privacy Policy"}),".",(0,r.jsx)("br",{}),"\xa9 2014-",t," Travello Pty Ltd. All rights reserved."]});var w=a(20377);let N=(0,a(67909).default)(()=>Promise.all([a.e(6633),a.e(4029),a.e(2904),a.e(9778),a.e(8199)]).then(a.bind(a,88199)),{loadableGenerated:{webpack:()=>[88199]}}),A=({channel:e,blogUrl:t,isRoaverPage:a,shouldShowContactPhoneNumber:s=!1})=>{let{isBackpackerdealsChannel:n,isGap360Channel:l,isTravelloChannel:o,isYhaChannel:c}=(0,w.D)(e?.key??i.eD),m=d({variant:"default",channel:e,blogUrl:t,isRoaverPage:a,flags:{isBackpackerdealsChannel:n,isGap360Channel:l,isTravelloChannel:o,isYhaChannel:c}}),g=!a&&!c&&!!e?.siteConfig?.iterable_key;return(0,r.jsxs)(r.Fragment,{children:[g&&(0,r.jsx)(N,{isRoaverPage:a,name:e?.name??"",iterable_key:e?.siteConfig?.iterable_key??"",isYhaChannel:c}),(0,r.jsx)("footer",{className:g?"box-shadow-footer mt-6 bg-lightGray pb-28 md:pb-0 lg:mt-0":"box-shadow-footer bg-lightGray pb-28 md:pb-0",children:(0,r.jsxs)("div",{className:"container mx-auto px-2 sm:!px-0",children:[(0,r.jsx)("div",{className:"grid grid-cols-2 gap-6 border-b border-gray-100 pb-4 pt-6 sm:pb-8 sm:pt-14 lg:grid-cols-4",children:m.sections.filter(e=>!1!==e.visible).map(e=>"contact"===e.customNodeKey?(0,r.jsxs)(f,{title:"Contact us",children:[s&&(0,r.jsx)("div",{className:"m-0 block p-0 text-left text-11px font-normal",dangerouslySetInnerHTML:{__html:m.contact?.phonesHtml??""},suppressHydrationWarning:!0}),(0,r.jsxs)("ul",{className:"m-0 mt-4 p-0",children:[m.contact?.email&&(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsxs)("a",{className:"inline-block cursor-pointer break-all text-11px font-normal leading-6 text-black transition-all duration-300 ease-in-out hover:text-primary hover:underline",href:`mailto:${m.contact.email}`,children:["✉️ ",m.contact.email]})}),(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)("a",{className:x,href:"/contact-us",children:"Contact form"})})]})]},e.title):(0,r.jsx)(f,{title:e.title,children:e.items&&(0,r.jsx)(b,{items:e.items})}
1,e.title))}),(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-6 border-b border-gray-100 py-4 md:grid-cols-2 lg:grid-cols-3",children:[(0,r.jsx)(f,{title:"Social Media",children:(0,r.jsx)(u,{socials:m.socials})}),(0,r.jsx)(f,{title:"Accepted Payments",children:(0,r.jsx)(p,{payments:m.payments,showAfterpay:m.showAfterpay})}),(0,r.jsx)("div",{className:"md:col-span-2 lg:col-span-1",children:(0,r.jsx)(f,{title:"Members of",children:(0,r.jsx)(h,{members:m.members})})})]}),m.gap360DisclaimerVisible&&(0,r.jsx)("div",{className:"row copyrights",children:(0,r.jsxs)("p",{className:"text-12px m-0",children:["The activities, tours and experiences listed on"," ",(0,r.jsx)("a",{href:"https://gap360.travelloapp.com/",target:"_blank",rel:"noreferrer",children:"gap360.travelloapp.com"})," ","are operated through third-party companies, booked through Travello. Gap 360 Ltd is not responsible for these bookings. Please be aware that all bookings and arrangements purchased are made solely with Travello. Gap 360 is only a promoter of these tours, activities and experiences and is not responsible for any losses or liability. All queries related to bookings, refunds and cancellations should be directed to Travello."]})}),(0,r.jsx)("div",{className:"pb-36 pt-4",children:(0,r.jsx)(j,{cookiesContent:m.cookiesContent,year:m.year})})]})})]})},k=({theme:e,channel:t,blogUrl:a,isRoaverPage:s=!1,shouldShowContactPhoneNumber:n=!1})=>{switch(e){case"flightcentrev2":case"flightcentrev2b":case"travelassociates":case"cmr":return(0,r.jsx)(v,{theme:e,channel:t,blogUrl:a,isRoaverPage:s,shouldShowContactPhoneNumber:n});default:return(0,r.jsx)(A,{channel:t,blogUrl:a,isRoaverPage:s,shouldShowContactPhoneNumber:n})}}},32075:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r={src:"/_next/static/media/feature-menu-empty.95c1c69a.jpg",height:540,width:960,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAVAQEBAAAAAAAAAAAAAAAAAAABBf/aAAwDAQACEAMQAAAAsAjf/8QAHhAAAgEDBQAAAAAAAAAAAAAAAQIEAxETABIhQWH/2gAIAQEAAT8Ais0SQtBdpKUMeS1ifeO9f//EABkRAAIDAQAAAAAAAAAAAAAAAAECAAMRYf/aAAgBAgEBPwC1QXPMn//EABsRAQACAgMAAAAAAAAAAAAAAAIBBAADESKS/9oACAEDAQE/AKO1zXL57JOV6z//2Q==",blurWidth:8,blurHeight:5}},32698:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var r=a(95155),s=a(12115),n=a(15239),l=a(98300),i=a(36598),o=a(2821),c=a(46429);let d=({children:e,rootMargin:t="100px"})=>{let[a,n]=(0,c.Wx)({triggerOnce:!0,rootMargin:t}),[l,i]=(0,s.useState)(!1);return s.useEffect(()=>{n&&!l&&i(!0)},[n,l]),(0,r.jsx)("div",{ref:a,children:l?e:(0,r.jsx)("div",{style:{minHeight:220}})})},u=(0,s.memo)(e=>{let{src:t,alt:a,className:c,onClick:u,priority:m,loading:p}=e,[h,x]=(0,s.useState)(!1),g=(0,i.YL)(t),f=h?l.XS:g||l.XS,b=!!m,y=(0,r.jsx)(n.default,{loader:({src:e})=>e,className:(0,o.A)("absolute inset-0 h-full w-full bg-gray-200 object-cover object-center",c),src:f,alt:a??"Image",sizes:l.$i,fill:!0,placeholder:"empty",onClick:u,onError:e=>{h||x(!0)},priority:m,loading:m?void 0:p});return(0,r.jsx)("div",{className:"relative block h-full",children:b?y:(0,r.jsx)(d,{children:y})})})},38739:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>K,_p:()=>A,HD:()=>w,WN:()=>v,RQ:()=>y,Zl:()=>f,Bt:()=>j,Kk:()=>b,iM:()=>k,tK:()=>M,qd:()=>B,IR:()=>I,xg:()=>U,I2:()=>F,Z9:()=>E,ri:()=>O,r1:()=>L,Uz:()=>S});var r=a(23390),s=a(80207),n=a(32085);let l=(0,s.J1)`
2    fragment ProductFields on Product {
3  parentProduct {
4    productId
5    title
6    uri {
7      url
8    }
9  }
10  uri {
11    url
12  }
13  location {
14    country
15    city
16  }
17  title
18  images(first: 1) {
19    productImages {
20      image {
21        ...ProductCardImage
22      }
23    }
24  }
25}
26    ${n.pV}`,i=(0,s.J1)`
27    fragment IconImage on Image {
28  id
29  fileName
30  altText
31  src: imgSrc(transform: {width: 100, height: 100, withoutHost: true})
32  src_2x: imgSrc(transform: {width: 500, height: 500, withoutHost: true})
33}
34    `,o=(0,s.J1)`
35    fragment CityFields on ProductCity {
36  id
37  name
38  image {
39    ...IconImage
40  }
41  uri {
42    url
43  }
44  country {
45    id
46    name
47  }
48}
49    ${i}`,c=(0,s.J1)`
50    fragment CountryFields on ProductCountry {
51  id
52  name
53  image {
54    ...IconImage
55  }
56  uri {
57    url
58  }
59}
60    ${i}`,d=(0,s.J1)`
61    fragment CategoryFields on ProductCategory {
62  id
63  name
64  image {
65    ...IconImage
66  }
67  uri {
68    url
69  }
70}
71    ${i}`,u=(0,s.J1)`
72    query TextSearch($filter: ProductFilter, $limit: Int) {
73  products(filter: $filter, limit: $limit) {
74    edges {
75      node {
76        ...ProductFields
77      }
78    }
79  }
80  others: productsStatistics(filter: $filter) {
81    categoryStatistic {
82      id
83      category {
84        ...CategoryFields
85      }
86      productCount
87    }
88    cityStatistic {
89      id
90      city {
91        ...CityFields
92      }
93      productCount
94    }
95    countryStatistic {
96      id
97      country {
98        ...CountryFields
99      }
100      productCount
101    }
102  }
103}
104    ${l}
105${d}
106${o}
107${c}`;var m=a(90198),p=a.n(m),h=a(83693),x=a.n(h);let g=e=>e.contextSearch;(0,r.Yf)(g,e=>e.hideSearchBar);let f=(0,r.Yf)(g,e=>e.isOpen),b=(0,r.Yf)(g,e=>e.searchText),y=(0,r.Yf)(g,e=>e.loading);(0,r.Yf)(g,e=>e.lockClose??!1);let v=(0,r.Yf)(g,e=>e.isClickingOption),j=(0,r.Yf)(g,e=>e.isOptionSelected),w=(0,r.Yf)(g,e=>e.isCalendarOpen),N=(0,r.Yf)(g,e=>{if(!e.data)return[];let{data:{others:{categoryStatistic:t,cityStatistic:a,countryStatistic:r},products:s}}=e;return[...t.map(e=>({group:"Activities",name:e.category.name,url:e.category.uri.url,icon:e.category.image?.src??null})),...r.map(e=>({group:"Countries",name:e.country.name,url:e.country.uri.url,icon:e.country.image?.src??null})),...a.map(e=>({group:"Cities",name:e.city.name,url:e.city.uri.url,icon:e.city.image?.src??null,country:e.city.country.name})),...s.edges.map(e=>({group:"Things to do",name:e.node.title,url:e.node.parentProduct?.uri?.url??e.node.uri.url,icon:e.n
107ode.images.productImages[0]?.image.card_1x,country:e.node.location?.country,city:e.node.location?.city}))].map((e,t)=>({...e,index:t}))}),A=(0,r.Yf)([N,(e,t,a,r)=>t,(e,t,a,r)=>a,(e,t,a,r)=>r],(e,t,a,r)=>{let s=e;return t&&t.length>0&&(s=s.filter(e=>!["Countries","Cities","Things to do"].includes(e.group)||t.some(t=>"Countries"===e.group?e.name.toLowerCase()===t.toLowerCase():e.url.includes(`/${t}/`)))),(a||r)&&(s=s.filter(e=>{if("Things to do"===e.group||"Activities"===e.group){let t=(e.name||"").toLowerCase(),a=(e.url||"").toLowerCase();return!(t.includes("car")||t.includes("campervan")||t.includes("rv")||t.includes("rental")||a.includes("car")||a.includes("campervan")||a.includes("rv")||a.includes("rental"))}return!0})),s}),k=(0,r.Yf)(g,e=>e.datesFilter?{startDate:e.datesFilter?.startDate??null,endDate:e.datesFilter?.endDate??null,key:e.datesFilter?.key??"selection",isFiltered:e.datesFilter?.isFiltered??!1}:{startDate:null,endDate:null,key:"selection",isFiltered:!1}),C=(0,r.zD)("contextSearch/fetchContextSearchResults",async(e,{extra:t})=>{let{travelloGraphClient:a,channelHost:r}=t;return(await a.query({query:u,variables:{filter:{textQuery:{text:p()(e)},channelHostFilter:r,includeChildren:!0,includeHiddenFromSearch:!1},limit:20},fetchPolicy:"no-cache"})).data}),_=x()((e,t)=>{t&&""!==p()(t)&&e(C(t))},300),S=(0,r.zD)("contextSearch/setSearchText",async(e,{dispatch:t,getState:a})=>(t(D()),t(L(!0)),e&&""!==p()(e)?(_(t,e),((e,t)=>{let a=setInterval(()=>{let r=t().contextSearch;r.searchText&&""!==p()(r.searchText)?(e(R()),r.searchCounter>=5&&(e(C(r.searchText)),clearInterval(a))):clearInterval(a)},200)})(t,a)):t(L(!1)),e)),P=(0,r.Z0)({name:"contextSearch",initialState:{hideSearchBar:!1,isOpen:!1,searchText:"",searchCounter:0,loading:!1,datesFilter:{startDate:null,endDate:null,key:"selection",isFiltered:!1},lockClose:!0,isClickingOption:!1,isOptionSelected:!1,isCalendarOpen:!1},reducers:{setIsOpen(e,t){!1===t.payload&&e.lockClose||(e.isOpen=t.payload)},setCloseLock(e,t){e.lockClose=t.payload},setHideSearchBar(e,t){e.hideSearchBar=t.payload},setDateRange(e,t){Object.assign(e.datesFilter,t.payload)},resetDateRange(e){e.datesFilter={startDate:null,endDate:null,key:"selection",isFiltered:!1}},resetCounter(e){e.searchCounter=0},incrementCounter(e){e.searchCounter+=1},setLoading(e,t){e.loading=t.payload},setIsClickingOption(e,t){e.isClickingOption=t.payload},setIsOptionSelected(e,t){e.isOptionSelected=t.payload},setIsCalendarOpen(e,t){e.isCalendarOpen=t.payload}},extraReducers:e=>{e.addCase(S.fulfilled,(e,t)=>{e.searchText=t.payload}),e.addCase(C.fulfilled,(e,t)=>{e.loading=!1,t.payload&&(e.data=t.payload)}),e.addCase(C.rejected,e=>{e.loading=!1})}}),{setIsOpen:E,setHideSearchBar:T,setDateRange:I,resetDateRange:M,resetCounter:D,incrementCounter:R,setLoading:L,setCloseLock:B,setIsClickingOption:F,setIsOptionSelected:O,setIsCalendarOpen:U}=P.actions,K=P},48873:(e,t,a)=>{Promise.resolve().then(a.bind(a,33604)),Promise.resolve().then(a.bind(a,18704)),Promise.resolve().then(a.bind(a,94860)),Promise.resolve().then(a.bind(a,24117))},57429:(e,t,a)=>{"use strict";a.d(t,{f:()=>l});var r=a(20063),s=a(8730);function n(e){if(!e)return[];if(Array.isArray(e))return e;try{let t=e.replace(/([{,]\s*)(\w+)\s*:/g,'$1"$2":').replace(/'/g,'"'),a=JSON.parse(t);if(!Array.isArray(a))return[];return a.map(e=>{let t=[];if("string"==typeof e.path_active)try{let a=e.path_active.replace(/([{,]\s*)(\w+)\s*:/g,'$1"$2":').replace(/'/g,'"'),r=JSON.parse(a);t=Array.isArray(r)?r:[e.path_active]}catch{t=[e.path_active]}else Array.isArray(e.path_active)&&(t=e.path_active);let a=[];if("string"==typeof e.variations)try{let t=e.variations.replace(/([{,]\s*)(\w+)\s*:/g,'$1"$2":').replace(/'/g,'"'),r=JSON.parse(t);a=Array.isArray(r)?r:[]}catch{a=[]}else Array.isArray(e.variations)&&(a=e.variations);return{id:String(e.id??""),is_banner_active:!!e.is_banner_active,banner_heading:String(e.banner_heading??""),banner_text:String(e.banner_text??""),banner_url:String(e.banner_url??""),banner_background_color:String(e.banner_background_color??""),banner_background_secondary_color:String(e.banner_background_secondary_color??""),path_active:t,variations:a}})}catch(t){return console.error("Failed to parse banner:",t,e),[]}}function l(){let{channel:e}=(0,s.M)(),{siteConfig:t,name:a}=e??{},{banner_master:l,banner_custom:i}=t??{},o=(0,r.usePathname)(),c=n(l),d=n(i),u=c.some(e=>Array.isArray(e.path_active)?e.path_active.some(e=>o.includes(e)):"string"==typeof e.path_active&&o.includes(e.path_active)),m=d.find(e=>e.is_banner_active&&Array.isArray(e.path_active)&&e.path_active.some(e=>o.includes(e))),p=c.find(e=>e.is_banner_active),h=m||p,x=!!h?.banner_url?.includes("openZendeskWidget"),g=[];if(h&&(g=[{banner_heading:h.banner_heading,banner_text:h.banner_text,banner_url:h.banner_url,banner_background_color:h.banner_background_color,banner_background_secondary_color:h.banner_background_secondary_color}],h.variations&&h.variations.length>0)){let e=h.variations.map(e=>({banner_heading:e.banner_heading,banner_text:e.banner_text,banner_url:e.banner_url,banner_background_color:e.banner_background_color,banner_background_secondary_color:e.banner_background_secondary_color}));g=g.concat(e)}let f=!!h&&g.length>0&&!u;return{bannersData:g,isOpenZendeskWidget:x,handleClick:e=>{x&&(e.preventDefault(),window.$zopim?window.$zopim.livechat.window.show():console.error("Zendesk Live Chat is not loaded."))}
107,_bannerType:m?"custom":"master",banner_id:h?.id,shouldShowHeaderBanner:f,channelName:a}}},64084:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(95155);a(12115);var s=a(2821);let n=({children:e,text:t,position:a="top"})=>(0,r.jsxs)("div",{className:"group relative inline-block",children:[e,(0,r.jsxs)("div",{className:(0,s.A)("pointer-events-none absolute z-[9999] flex items-center opacity-0 transition-opacity duration-200 group-hover:opacity-100",{top:"bottom-full left-1/2 -translate-x-1/2 mb-2 flex-col",bottom:"top-full left-1/2 -translate-x-1/2 mt-2 flex-col-reverse",left:"right-full top-1/2 -translate-y-1/2 mr-2 flex-row",right:"left-full top-1/2 -translate-y-1/2 ml-2 flex-row-reverse"}[a]),children:[(0,r.jsx)("span",{className:"whitespace-nowrap rounded-lg bg-gray-900 px-2.5 py-1.5 text-[11px] font-medium text-white shadow-xl",children:t}),(0,r.jsx)("div",{className:(0,s.A)("h-2 w-2 rotate-45 bg-gray-900",{top:"-mt-1",bottom:"-mb-1",left:"-ml-1",right:"-mr-1"}[a])})]})]})},94860:(e,t,a)=>{"use strict";a.d(t,{default:()=>tC});var r=a(95155),s=a(7679);let[n,l]=(0,a(8725).A)(!1);var i=a(27805),o=a(57429),c=a(2821);let d=function({children:e,mainContainerClass:t}){let[a]=n(),{mdUp:s}=(0,i.Gu)(),{shouldShowHeaderBanner:l}=(0,o.f)(),d=l?"pt-13":"pt-9.5";return(0,r.jsx)("main",{className:(0,c.A)("transition-all duration-200 ease-in-out",s?d:a?l?"pt-13":"pt-9.5":d,t),children:e})};var u=a(20063);let m=({isSpaceShipsChannel:e,isJucyChannel:t,isBoutiqueCollectionChannel:a,isAustraveltipsChannel:r,isTravelAssociatesChannel:s,isRoaverActive:n,isMasterChannel:l,isStudentsChannel:i,isLpkChannel:o,isWakacampaChannel:c})=>({isBusPasses:!(t||e||s||r||c),isMultiDayTours:!(t||s||r)&&!c,isNewZealandMenu:!(a||s||r||o),isOtherDestinationsMenu:!(a||t||r||o)&&!c,isRegionMenu:s,isRoaverMenu:n,isTrustpilotMenu:l||i});var p=a(33828),h=a(20377),x=a(1213),g=a(12115),f=a(38739);let b=["/campervans-rental","/campervans-rental/bookings","/cars-rental","/cars-rental/booking"],y=e=>!!e&&b.some(t=>e===t);var v=a(12389);let j=({heading:e,text:t})=>(0,r.jsxs)("div",{className:"z-20 flex w-full items-center justify-center gap-2 py-2 md:gap-4",children:[e&&(0,r.jsx)("h2",{className:"whitespace-pre-line text-xs font-semibold uppercase md:text-sm",children:e}),t&&(0,r.jsxs)("span",{className:"relative flex items-center gap-2 uppercase md:gap-4",children:[(0,r.jsx)("span",{className:"text-sm font-semibold",children:"|"}),(0,r.jsx)("span",{className:"whitespace-pre-line text-xs font-semibold underline underline-offset-4 md:text-sm",children:t})]})]}),w=(0,g.memo)(()=>{let{bannersData:e,isOpenZendeskWidget:t,handleClick:a,banner_id:s,shouldShowHeaderBanner:n}=(0,o.f)();
107if(!n||0===e.length)return null;let l={dots:!1,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,fade:!0,autoplay:e.length>1,autoplaySpeed:4500,arrows:!1,pauseOnHover:!0},i=t?({children:e})=>(0,r.jsx)("button",{onClick:a,tabIndex:0,className:"w-full cursor-pointer",onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),a(e))},children:e}):({children:e,url:t})=>t?(0,r.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",onClick:a,className:"w-full",children:e}):(0,r.jsx)("button",{onClick:a,tabIndex:0,className:"w-full cursor-pointer",onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),a(e))},children:e});return(0,r.jsx)("header",{className:"relative -mb-2 h-12 w-full overflow-hidden text-center text-white","data-banner-id":s,suppressHydrationWarning:!0,role:"banner","aria-label":"Site announcement",children:(0,r.jsx)(v.A,{...l,children:e.map((e,t)=>(0,r.jsx)("div",{children:(0,r.jsx)(i,{url:e.banner_url,children:(0,r.jsx)("div",{style:{background:function(e){return e.banner_background_color&&!e.banner_background_secondary_color?e.banner_background_color:`linear-gradient(-135deg, ${e.banner_background_secondary_color} 0%, ${e.banner_background_color} 90%)`}(e),transition:"background 500ms cubic-bezier(0.4,0,0.2,1)"},className:"flex w-full items-center justify-center",children:(0,r.jsx)(j,{heading:e.banner_heading,text:e.banner_text})})})},t))})})});var N=a(74233),A=a(98628);let k=({inputPlaceholder:e,inputValue:t,isLoading:a})=>(0,r.jsxs)("div",{className:"relative hidden items-center justify-center lg:flex",children:[(0,r.jsx)(N.Mmj,{className:"mx-1 mb-1 mt-1 text-xl text-search"}),(0,r.jsx)("input",{className:"pointer-events-none w-247px border-0 bg-transparent text-base placeholder:text-sm placeholder:font-normal",type:"text",placeholder:e,readOnly:!0,value:t}),(0,r.jsx)("div",{className:"pointer-events-none h-40px w-90px shrink-0 rounded-full bg-primary p-2 text-base font-semibold text-white",children:a?(0,r.jsx)("span",{className:"flex items-center justify-center",children:(0,r.jsx)(A.A,{className:"right-5"})}):"Search"})]}),C=()=>(0,r.jsx)("span",{className:"group flex h-8 items-center justify-center gap-1 rounded-md border-gray-100 p-2 no-underline shadow-box sm:h-10 lg:hidden lg:shadow-btn","aria-label":"Search",children:(0,r.jsx)(N.Mmj,{className:"text-lg text-primary"})}),_=({isMobile:e=!1,onClick:t})=>{let a=(0,x.d4)(f.Kk),s=(0,x.d4)(f.RQ),[n,l]=(0,g.useState)(!1);(0,g.useEffect)(()=>l(!0),[]);let i=n&&""!==a?a:"Where to...",o=n?a:"";return(0,r.jsx)("button",{onClick:t,className:(0,c.A)("flex",!e&&"h-50px w-380px rounded-full border border-gray-200 bg-white pl-2"),children:e?(0,r.jsx)(C,{}):(0,r.jsx)(k,{inputPlaceholder:i,inputValue:o,isLoading:s})})};var S=a(36598),P=a(15239);let E=({logoImage:e,name:t,logoStyle:a=""})=>{if(!e?.logo)return null;let s=(0,S.YL)(e.logo)??"";return(0,r.jsx)("a",{href:"/",className:"cursor-pointer self-center text-center","aria-label":`Go to ${t} home`,children:(0,r.jsx)(P.default,{loader:({src:e})=>e,src:s,alt:t,id:"LogoClick",width:0,height:0,sizes:"(max-width: 768px) 140px, 180px",className:(0,c.A)(a,"object-contain"),priority:!0})})},T=({children:e,className:t})=>(0,r.jsxs)("div",{className:t,children:[(0,r.jsx)("div",{className:"absolute bottom-0 left-0 z-1 h-full w-full rounded-lg bg-country_card transition-all duration-500 ease-in"}),e]});var I=a(32075),M=a(32698);let D=({uri:{url:e},image:t,name:a})=>(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)("a",{href:e,className:"block",children:(0,r.jsxs)(T,{className:"font-sm bg-primary/10 group relative grid h-100px origin-center content-end overflow-hidden rounded-xl bg-cover bg-no-repeat px-2 py-2 pb-1 text-white transition-all duration-300 ease-in hover:shadow-label",children:[(0,r.jsx)("picture",{className:"absolute inset-0 z-0",children:(0,r.jsx)(M.A,{src:t?.fileName??I.A.src,alt:a,className:"h-full w-full object-cover"})}),(0,r.jsx)("div",{className:"z-2 text-center transition-all duration-300 ease-in-out group-hover:mb-2 group-hover:text-primary",children:(0,r.jsx)("span",{className:"text-xs font-semibold md:text-sm",children:a})})]})})}),R=({country:{uri:e,image:t,name:a}
107,productCount:s})=>(0,r.jsx)(D,{uri:e,image:t,name:a,productCount:s});var L=a(8730),B=a(98300);let F=["New South Wales","Northern Territory","Queensland","South Australia","Tasmania","Victoria","Western Australia"],O=[["Sydney","Byron Bay","Hunter Valley","Blue Mountains","Newcastle","Port Stephens","Canberra","Jervis Bay","Tweed Heads"],["Uluru","Darwin","Ayers Rock","Alice Springs","Kakadu","Litchfield","Katherine"],["Whitsundays","Cairns","K'gari (Fraser Island)","Brisbane","Gold Coast","Great Barrier Reef","Port Douglas","Hervey Bay","Mooloolaba","Noosa","Rainbow Beach","Hamilton Island","Kuranda","Cape Tribulation","Mission Beach","Magnetic Island"],["Kangaroo Island","Barossa Valley","Adelaide","Vivonne Bay","Kingscote","McLaren Vale","Port Lincoln"],["Tasmania","Hobart","Coles Bay","Bruny Island","Port Arthur","Launceston"],["Melbourne","Great Ocean Road","Phillip Island","Yarra Valley","Mornington Peninsula","Sorrento"],["Exmouth","Broome","Perth","Margaret River","Kimberley","Rottnest Island","Coral Bay","Cable Beach","Fremantle","Augusta","Albany"]],U=["North Island","South Island"],K=[["Rotorua","Auckland","Waitomo","Taupo","Waiheke Island","Bay of Islands","Coromandel","Napier","Tauranga","Wellington"],["Queenstown","Milford Sound","Franz Josef","Mount Cook","Fox Glacier","Te Anau","Wanaka","Kaikoura","Akaroa","Christchurch","Abel Tasman"]],z=["Northeast","Southeast","Midwest","Southwest","West Coast","Alaska & Hawaii"],q=[["New York","Boston","Washington","Philadelphia","Niagara Falls","Acadia NP","Cape Cod","Finger Lakes","Newport"],["Miami","New Orleans","Nashville","Orlando","Atlanta","Savannah","Memphis","Charleston SC","Florida Keys","Key West","Smoky Mountains","Outer Banks"],["Chicago","Minneapolis","Detroit","Milwaukee","St. Louis","Indianapolis","Mackinac Island","Sleeping Bear Dunes","Boundary Waters","Black Hills","Badlands NP"],["Las Vegas","Grand Canyon","Zion NP","Bryce Canyon","Monument Valley","Moab","Sedona","Phoenix/Scottsdale","Tucson","Salt Lake City","Santa Fe","Albuquerque","El Paso","Austin","San Antonio","Houston","Dallas/Fort Worth","Big Bend NP"],["Los Angeles","San Diego","San Francisco","Portland","Seattle","Bend OR","Yosemite","Pacific Coast Hwy","Olympic NP","Glacier NP"],["Anchorage","Fairbanks","Juneau","Denali NP","Oahu","Maui","Big Island","Kauai"]],H=["British Columbia","Prairies & Rockies","Ontario & Great Lakes","Quebec & Atlantic","The North"],W=[["Vancouver","Whistler","Vancouver Island","Tofino","Sea-to-Sky Hwy","Kelowna","Prince Rupert"],["Banff/Lake Louise","Jasper NP","Icefields Parkway","Calgary","Edmonton","Waterton Lakes","Saskatoon","Regina","Winnipeg"],["Toronto","Ottawa","Niagara Falls","Niagara-on-the-Lake","Algonquin Park","Thousand Islands","Muskoka"],["Montreal","Quebec City","Halifax","Cape Breton Island","Prince Edward Island","Fredericton","Saint John","St. John's NL","Gros Morne NP"],["Yukon","Whitehorse","Churchill MB","Northern Lights"]],Y=["North India","Himalayan India","West India","South India","East India","North East India","Central India"],G=[["Delhi","Agra","Jaipur","Udaipur","Jodhpur","Varanasi","Amritsar","Pushkar"],["Manali","Shimla","Dharamshala","Rishikesh","Haridwar","Srinagar","Leh"],["Mumbai","Goa","Pune","Nashik","Ahmedabad","Kutch"],["Kochi","Alleppey","Munnar","Bangalore","Mysore","Hampi","Chennai","Madurai","Hyderabad","Pondicherry"],["Kolkata","Darjeeling","Gangtok","Puri","Bhubaneswar","Bodh Gaya"],["Guwahati","Shillong","Cherrapunji","Kaziranga","Tawang","Ziro Valley","Imphal"],["Bhopal","Indore","Khajuraho","Ujjain","Kanha National Park","Bandhavgarh National Park","Raipur"]],$="Australia",V="New Zealand",Q="United States of America",J="United States",Z="Canada",X="India",ee=[$,V,Q,Z,X];function et(e){return e?e.toLowerCase().trim():""}let ea={"new zealand":V,australia:$,"united states of america":Q,"united states":J,canada:Z,india:X};function er(e,t){if(!e||0===t.length)return!1;let a=et(e);return t.some(e=>et(e)===a)}function es(){let{channel:e,allowedCountryInSpecificChannels:t=[]}=(0,L.M)(),a=e?.key??B.eD,r=(0,g.useMemo)(()=>{let e=t.find(e=>e.channel===a),r=e?.countries??[];return{hasRestrictions:r.length>0,allowedCountries:r,allowedCountryConstants:r.map(e=>
107ea[et(e)]??e),channelKey:a}},[a,t]),s=e=>{if(!r.hasRestrictions)return!0;let t={"New Zealand":["/new-zealand"],Australia:["/australia"],Thailand:["/thailand"],"United States of America":["/united-states"],Canada:["/canada"],India:["/india"]};return r.allowedCountryConstants.some(a=>(t[a]||[]).some(t=>e.startsWith(t)))};return{...r,checkCountry:e=>!r.hasRestrictions||er(e,r.allowedCountries),filterByCountry:e=>{var t;return r.hasRestrictions?0===(t=r.allowedCountries).length?e:e.filter(e=>er(e.country.name,t)):e},checkUrl:s,filterByUrl:e=>r.hasRestrictions?e.filter(e=>s(e.url)):e}}var en=a(28122),el=a(52166),ei=a(89129),eo=a(51114);let ec=({variant:e,channels:t})=>{let a="mobile"===e,{popularCountries:s,moreCountries:n}=(()=>{let{allStatistics:e}=(0,L.M)(),{hasRestrictions:t,filterByCountry:a}=es();return(0,g.useMemo)(()=>{let r=e?.countries||[],s=r;t&&(s=a(r));let n=s.filter(e=>e.productCount>0).sort((e,t)=>e.productCount>t.productCount?-1:1);return{popularCountries:n.slice(0,8),moreCountries:n.slice(8).sort((e,t)=>e.country.name>t.country.name?1:-1)}},[e,t,a])})(),l=t?.isMasterChannel?"Destinations":"Other Destinations",i=(0,r.jsxs)("div",{className:(0,c.A)("bg-white",a?"p-0":"w-[720px] p-0"),children:[(0,r.jsxs)("div",{className:"p-5 md:p-6",children:[(0,r.jsxs)("div",{className:"mb-6 flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(en.Utz,{className:"text-xl text-primary"}),(0,r.jsx)("h4",{className:"text-base font-bold text-gray-900 md:text-lg",children:"Trending Destinations"})]}),!a&&(0,r.jsxs)("a",{href:"/top-destinations",className:"group flex items-center gap-1 text-xs font-bold transition-colors hover:text-primary",children:["VIEW ALL ",(0,r.jsx)(en.dyV,{className:"transition-transform group-hover:translate-x-1"})]})]}),(0,r.jsx)("div",{className:(0,c.A)("grid",a?"grid-cols-2 gap-3":"grid-cols-4 gap-4"),children:s.slice(0,8).map((e,t)=>(0,r.jsxs)("div",{className:"group relative transition-transform duration-300 hover:scale-[1.02]",children:[(0,r.jsx)(R,{...e}),!a&&(0,r.jsx)("div",{className:"absolute right-2 top-2 flex h-6 w-6 items-center justify-center rounded-full bg-white/80 opacity-0 shadow-sm transition-opacity group-hover:opacity-100",children:(0,r.jsx)(en.dyV,{className:"rotate-[-45deg] text-xs text-primary"})})]},`pop-${t}`))})]}),n&&n.length>0&&(0,r.jsxs)("div",{className:"border-t border-gray-100 bg-gray-50/80 p-5 md:p-6",children:[(0,r.jsxs)("div",{className:"mb-5 flex items-center gap-2",children:[(0,r.jsx)(en.HzC,{className:"mb-0.5 text-primary"}),(0,r.jsx)("h5",{className:"text-xs font-black uppercase tracking-[0.15em]",children:"More Places to Explore"})]}),(0,r.jsx)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-3 md:grid-cols-4",children:n.map(({country:e,id:t})=>(0,r.jsxs)("a",{href:e.uri.url,className:"group flex items-center gap-2 text-xs transition-all hover:text-primary md:text-sm",children:[(0,r.jsx)("span",{className:"h-1 w-1 rounded-full bg-gray-300 transition-colors group-hover:bg-primary"}),(0,r.jsx)("span",{className:"truncate",children:e.name})]},`more-${t}`))})]})]});return a?(0,r.jsx)(el.EN,{as:"div",className:"w-full border-b border-gray-100",children:({open:e})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(el._q,{className:"flex w-full items-center justify-between bg-white px-4 py-4 text-xs font-medium text-black",children:[l,(0,r.jsx)(en.fK4,{className:(0,c.A)(e?"rotate-180":"","h-5 w-5 text-gray-400 transition-all")})]}),(0,r.jsx)(ei.e,{enter:"transition duration-200 ease-out",enterFrom:"opacity-0 max-h-0",enterTo:"opacity-100 max-h-[1000px]",children:(0,r.jsx)(el.kS,{className:"border-t border-gray-50",children:i})})]})}):(0,r.jsx)(eo.W1,{as:"div",className:"relative inline-block text-left",children:({open:e})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(eo.IU,{className:"group flex w-full items-center justify-center gap-1 whitespace-nowrap rounded-md border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none",children:[l,(0,r.jsx)(en.fK4,{className:(0,c.A)("transition-transform duration-300",e&&"rotate-180")}
107)]}),(0,r.jsx)(ei.e,{as:g.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-2 scale-95",enterTo:"opacity-100 translate-y-0 scale-100",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0 scale-100",leaveTo:"opacity-0 translate-y-2 scale-95",children:(0,r.jsx)(eo.c,{className:"absolute left-0 z-[9999] mt-4 origin-top-left overflow-hidden rounded-3xl bg-white shadow-[0_25px_70px_-15px_rgba(0,0,0,0.3)] ring-1 ring-black/5 focus:outline-none",children:(0,r.jsx)(eo.Dr,{children:(0,r.jsx)("div",{className:"cursor-default",children:i})})})})]})})},ed=e=>{let{variant:t="desktop",isOtherDestinationsMenu:a,channels:s}=e,n=s?.isMasterChannel??!1;return a?"mobile"===t?(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)(ec,{variant:"mobile",buttonClassName:"text-start list-group-item btn-outline-primary",channels:{isMasterChannel:n}})}):(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out",children:(0,r.jsx)(ec,{channels:{isMasterChannel:n}})}):null};var eu=a(67909);let em={src:"/_next/static/media/icn-trustpilot.b7ed86b9.svg",height:35,width:140,blurWidth:0,blurHeight:0},ep=(0,eu.default)(()=>a.e(7081).then(a.bind(a,79462)),{loadableGenerated:{webpack:()=>[79462]}}),eh=({isSectionPage:e=!1,isGetAppPage:t=!1,channels:a})=>{let s=(e=>{let t,{isBackpackerdealsChannel:a,isTravelloChannel:r}=e,s="https://www.trustpilot.com/review";return t=!0===a?{channelName:"Backpackerdeals",rating:4.9,reviewCount:743,link:`${s}/backpackerdeals.com`}:{channelName:"Travello",rating:4.9,reviewCount:165,link:`${s}/travelloapp.com`}})(a),n=(0,r.jsx)(P.default,{loader:({src:e})=>e,src:(e=>{let t=[{threshold:4.8,icon:"icn-trp-stars-5.svg"},{threshold:4.3,icon:"icn-trp-stars-4.5.svg"},{threshold:3.7,icon:"icn-trp-stars-4.svg"},{threshold:3.3,icon:"icn-trp-stars-3.5.svg"},{threshold:2.8,icon:"icn-trp-stars-3.svg"},{threshold:2.3,icon:"icn-trp-stars-2.5.svg"},{threshold:1.8,icon:"icn-trp-stars-2.svg"},{threshold:1.3,icon:"icn-trp-stars-1.5.svg"},{threshold:1,icon:"icn-trp-stars-1.svg"}].find(({threshold:t})=>e>=t);return`${B.sK}/files/content/trustpilot-assets/${t?t.icon:"icn-trp-stars-0.svg"}`})(s.rating),alt:`${s.channelName} - Trustpilot ${s.rating} stars`,width:100,height:20,loading:"lazy",className:"inline-block"}),l=s.rating%1==0?`${s.rating}.0`:s.rating;return e?(0,r.jsx)("div",{className:"text-center md:overflow-hidden md:text-ellipsis md:whitespace-nowrap",children:(0,r.jsxs)("span",{className:"text-sm",children:["Our Customers Have Rated Us ",(0,r.jsx)("b",{children:"Excellent"})," ",(0,r.jsx)("div",{className:"mx-2 inline-block",children:n}),l," out of 5 based on ",s.reviewCount," reviews"," ",(0,r.jsx)(P.default,{loader:({src:e})=>e,src:em?.src,alt:"Trustpilot",width:100,height:20,loading:"lazy",className:"mx-2 mb-6px inline-block"})]})}):(0,r.jsx)(ep,{imgRating:n,ratingFormatted:l,TrustpilotLogo:em,className:t?"inline-block":"trustpilot-widget hidden",isGetAppPage:t,link:s.link,channelName:s.channelName})},ex=()=>{let{allStatistics:e}=(0,L.M)();return(0,g.useMemo)(()=>{let t=(e=>{let{countries:t=[],cities:a=[]}=e??{},r=new Map;for(let e of Array.isArray(a)?a:[]){let t=e?.city?.country?.id;t&&(r.has(t)||r.set(t,new Set),r.get(t).add(e))}return{countries:Array.isArray(t)?t:[],countriesWithCities:Array.isArray(t)?t?.map(e=>({...e,cities:Array.from(r?.get(e?.id)??[])})):[],cityMap:r}})(e);return{countries:Array.isArray(t?.countries)?t?.countries:[],cityMap:t?.cityMap instanceof Map?t.cityMap:new Map}},[e])},eg=e=>"/"+e.replace(/\s+/g,"-").toLowerCase(),ef=e=>e.replace(/\s+/g,"")+"Click",eb=(e,t)=>({id:t+1,city:e,url:eg(e),clicked:ef(e)}),ey=[((e,t,a,r)=>({id:1,region:e,url:eg(e),clicked:ef(e),countryList:t.map((e,t)=>((e,t,a)=>({id:a+1,country:e,clicked:ef(e),cities:t.map(eb)}))(e,a[t],t))}))("Europe",["United Kingdom","Italy","Netherlands","France","Greece","Spain","Portugal"],[["London"],["Rome","Venice"],["Amsterdam"],["Paris"],["Athens"],["Barcelona"],["Lisbon"]],0)],ev=({lists:e,isMobile:t=!1})=>{if(!e||0===e.length)return null;if(t)return(0,r.jsxs)("div",{className:"flex flex-col px-2",children:[(0,r.jsx)("div",{className:"my-1 flex w-full items-center justify-between gap-1 text-xs font-normal text-black no-underline",children:e.slice(0,3).map(e=>(0,r.jsx)("a",{href:e.uri?.url,className:"w-full whitespace-nowrap rounded-full border border-primary bg-primary-transparent px-3 py-0.5 text-center text-xs font-normal",children:e?.name},e.uniqueName))}),(0,r.jsx)("div",{className:"grid grid-cols-3 gap-x-4",children:e.slice(3).map(e=>(0,r.jsx)("a",{href:e.uri?.url,className:"w-auto py-2 text-xs font-normal capitalize text-black no-underline hover:text-primary sm:text-sm",children:e?.name},e.uniqueName))})]});let a=e.length>8?e.slice(0,8):e,s=e.length>8?e.slice(8):[];return(0,r.jsxs)("div",{className:"grid w-full grid-cols-2 gap-x-10 lg:gap-x-20",children:[(0,r.jsx)("div",{className:"flex flex-col",children:a.map(e=>(0,r.jsx)("a",{href:e.uri?.url,className:"block whitespace-nowrap pb-3.5 text-xs font-normal capitalize text-black no-underline hover:text-primary sm:text-sm",children:e?.name},e.uniqueName))}),(0,r.jsx)("div",{className:"flex flex-col",children:s.map(e=>(0,r.jsx)("a",{href:e.uri?.url,className:"block whitespace-nowrap pb-3.5 text-xs font-normal capitalize text-black no-underline hover:text-primary sm:text-sm",children:e?.name},e.uniqueName))})]})},ej=({open:e,className:t})=>
107(0,r.jsx)(en.wAb,{className:(0,c.A)("text-gray-400 transition-transform",e?"transform":"rotate-180",t)}),ew=({region:e,isRegionMenu:t,getPlaceLists:a,isOpen:s,onToggle:n})=>{let l=t?e.country:e.region;return(0,r.jsxs)(el.EN,{children:[(0,r.jsxs)(el._q,{as:"div",onClick:n,className:"relative flex w-full cursor-pointer justify-between border-b-0.5px border-gray-100 bg-white px-5 py-4 text-xs font-normal text-black no-underline outline-none",children:[l,(0,r.jsx)(ej,{open:s,className:"h-4 w-4"})]}),(0,r.jsx)(ei.e,{show:s,enter:"transition duration-300 ease-out",enterFrom:"transform scale-95 opacity-0",enterTo:"transform scale-100 opacity-100",leave:"transition duration-300 ease-out",leaveFrom:"transform scale-100 opacity-100",leaveTo:"transform scale-95 opacity-0",children:(0,r.jsxs)(el.kS,{static:!0,className:"bg-gray-100 px-4 pb-4 pt-2",children:[(0,r.jsx)("div",{className:"mb-2",children:(0,r.jsx)("span",{className:"text-xs font-semibold",children:"\uD83D\uDD25 Trending Destinations"})}),(0,r.jsx)(ev,{lists:a,isMobile:!0})]})})]})},eN=({menuName:e,isRegionMenu:t,countries:a,dataList:s,getPlaceLists:n,openRegionId:l,onToggleRegion:i})=>{let o=a?.country===J||a?.country===Q||a?.region===Z,c=(0,g.useMemo)(()=>a?.country===Q?J:e,[a,e]);return(0,r.jsx)(el.EN,{as:"div",children:({open:e})=>(0,r.jsxs)("div",{children:[(0,r.jsxs)(el._q,{className:"relative flex w-full justify-between border-b-0.5px border-gray-100 bg-white px-4 py-10px text-xs font-normal text-black no-underline outline-none md:font-light",children:[c,(0,r.jsx)(ej,{open:e,className:"text-base"})]}),(0,r.jsx)(ei.e,{enter:"transition duration-300 ease-out",enterFrom:"transform scale-95 opacity-0",enterTo:"transform scale-100 opacity-100",leave:"transition duration-300 ease-out",leaveFrom:"transform scale-100 opacity-100",leaveTo:"transform scale-95 opacity-0",children:(0,r.jsx)(el.kS,{className:"mt-2",children:(0,r.jsxs)("div",{children:[s.map(e=>(0,r.jsx)(ew,{region:e,isRegionMenu:t,isOpen:l===e.id,onToggle:()=>i(e.id),getPlaceLists:n,onSelect:()=>{}},e.id)),a?.url&&!o&&(0,r.jsxs)("a",{href:`${a.url}/all/bus-passes`,className:"relative flex w-full items-center gap-1 border-b-0.5px border-gray-100 bg-white p-4 text-xs font-normal text-black no-underline hover:text-primary",children:[(0,r.jsx)(p.oHl,{className:"text-xs text-primary sm:text-base"}),"Bus Passes in ",a?.country]}),!t&&a?.url&&(0,r.jsxs)("a",{href:a.url,className:"relative block border-b-0.5px border-gray-100 bg-white p-4 text-left text-xs font-normal text-black no-underline hover:text-primary",children:["All ",a?.country," >"]})]})})})]})})},eA=e=>{let{countries:t,setRegion:a,getPlaceLists:s,isRegionMenu:n=!1}=e.menuMobile??{},[l,i]=(0,g.useState)(null),{menuName:o,dataList:c}=(0,g.useMemo)(()=>{let e=n?t?.countryList:t?.cities;return{menuName:n?t?.region:t?.country,dataList:e||[]}},[t,n]);return t&&c.length?(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)(eN,{menuName:o,isRegionMenu:n,countries:t,dataList:c,openRegionId:l,onToggleRegion:e=>{let t=l===e?null:e;i(t),null!==t&&a?.("number"==typeof e?e:Number(e))},getPlaceLists:s})}):null},ek=({country:e,setRegion:t,isActive:a,isRegionMenu:s})=>{let n=s?e?.countryList??[]:e?.cities??[];return(0,r.jsx)("ul",{children:n?.map(e=>{let n="";return s&&"country"in e?n=e.country||"":!s&&"region"in e&&(n=e.region||""),(0,r.jsx)("li",{className:"m-0 list-none p-0",children:(0,r.jsx)("button",{type:"button",onClick:()=>t(e.id),onMouseEnter:()=>t(e.id),className:(0,c.A)("item-none m-0 w-full cursor-pointer border-b border-gray-200 px-4 py-3 text-left text-sm font-normal capitalize text-black hover:border-primary hover:bg-primary hover:text-white",a===e.id&&"bg-primary text-white"),children:n})},e.id)})})},eC=({children:e,className:t})=>(0,r.jsxs)("div",{className:t,children:[(0,r.jsx)("div",{className:"absolute inset-0 z-1 h-full w-full rounded-lg bg-black/40 transition-all duration-500 ease-in"}),e]}),e_=({features:e})=>(0,r.jsx)("div",{className:"mt-4 flex gap-4 pb-4 md:flex-col 1139px:mt-0",children:e?.map(e=>(0,r.jsx)("div",{className:"block",children:(0,r.jsx)("a",{href:e.uri?.url,className:"block no-underline",children:(0,r.jsxs)(eC,{className:"max-1139-w-140 max-1139-h-140 relative flex h-165px w-165px items-center justify-center overflow-hidden rounded-2xl bg-cover bg-no-repeat p-6 text-white transition-all duration-200 ease-in hover:shadow-hoverDealCard",children:[(0,r.jsx)("picture",{className:"absolute inset-0 z-0",children:(0,r.jsx)(M.A,{src:e.image?.fileName??I.A.src,alt:e?.name,className:"h-full w-full object-cover",loading:"eager"})}),(0,r.jsx)("div",{className:"z-2 text-center text-xs font-semibold sm:text-base",children:e?.name})]})})},e.uniqueName))});var eS=a(2013);let eP={[$]:{1:"18,000+",2:"20,000+",3:"40,000+",4:"9,000+",5:"12,000+",6:"13,000+",7:"9,000+"},[V]:{1:"15,000+",2:"18,500+"},[Q]:{1:"25,000+",2:"30,000+",3:"35,000+",4:"20,000+",5:"18,000+",6:"15,000+"},[Z]:{1:"10,000+",2:"12,000+",3:"15,000+",4:"8,000+",5:"9,000+"}},eE=({rates:e,isActive:t,listCountry:a})=>{let s=(0,g.useMemo)(()=>{let e=eP[a],r=[$,V].includes(a)?"800+":"1,000+";return e?.[t]??r},[a,t]);return(0,r.jsxs)("div",{className:"py-2 md:py-0",children:[(0,r.jsxs)("div",{className:"mb-2 flex items-center gap-1",children:[(0,r.jsx)(p.Knv,{className:"text-base text-primary"}),(0,r.jsxs)("span",{className:"text-xs font-normal sm:text-sm sm:font-medium",children:[s," travellers are searching"]})]}),(0,r.jsx)("div",{className:"flex flex-wrap gap-1 py-1 sm:gap-2 sm:py-2",children:e.map(e=>(0,r.jsx)(eS.EJ,{href:e.uri?.url||"#",exclude:["page"],className:"w-auto rounded-full bg-primary-transparent px-10px py-1 text-xs font-normal capitalize no-underline sm:px-4 sm:py-6px sm:text-sm","aria-label":e?.name,children:e?.name},e.uniqueName))})]})},eT=e=>{let{countries:t,setRegion:a,isActive:s,listCountry:n,getFeaturePlaces:l,getPlaceLists:i,getTopRatedPlaces:o,isRegionMenu:c=!1,isBusPasses:d=!1,countriesHeading:u}=e.items??{};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex h-14 items-center justify-between border-b border-gray-100 bg-white px-4 py-2",children:[(0,r.jsx)("span",{className:"whitespace-nowrap text-xl font-semibold leading-6",children:c?u.region:u.country}),(0,r.jsxs)("div",{className:"flex items-center gap-4 divide-x",children:[d&&(0,r.jsxs)("a",{href:`${u.url}/all/bus-passes`,className:"relative flex w-full items-center gap-1 whitespace-nowrap bg-white text-base font-normal text-black no-underline hover:text-primary",children:[(0,r.jsx)(p.oHl,{className:"mr-2 text-base font-semibold text-primary"}),"Bus Passes in ",c?u.region:u.country]}),!c&&(0,r.jsxs)("a",{href:t?.url,className:"relative flex w-full items-center gap-1 whitespace-nowrap bg-white pl-4 text-sm font-normal text-black no-underline hover:text-primary",children:["All ",t?.country,(0,r.jsx)(en.fOo,{})]})]})]}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("div",{className:"min-w-220px border-r border-gray-200 bg-gray-50",children:(0,r.jsx)(ek,{country:t,setRegion:a,isActive:s,isRegionMenu:c})}),(0,r.jsx)("div",{className:"w-full bg-white",children:(0,r.jsxs)("div",{className:"flex gap-6 p-4",children:[(0,r.jsx)(e_,{features:l}),(0,r.jsxs)("div",{className:"flex min-h-full w-full flex-col",children:[(0,r.jsx)("div",{className:"min-h-[286.04px] flex-1",children:(0,r.jsx)(ev,{lists:i})}),(0,r.jsx)("div",{className:"mt-auto",children:(0,r.jsx)(eE,{rates:o,isActive:s,listCountry:n})})]})]})})]})]})},eI=({listRegion:e="Europe",variant:t,className:a,isBusPasses:s,isRegionMenu:n})=>{let{isActive:l,regionListMenu:i,getFeaturePlaces:o,getTopRatedPlaces:d,getPlaceLists:u,setCountry:m}=(({listRegion:e="Europe"})=>
107{let[t,a]=(0,g.useState)([]),[r,s]=(0,g.useState)(1),{countries:n=[],cityMap:l=new Map}=ex()??{},i=(0,g.useMemo)(()=>ey.find(t=>t.region===e),[e]),o=(0,g.useMemo)(()=>i?.countryList?.map(e=>e.country)??[],[i]),c=(0,g.useMemo)(()=>{let e=i?.countryList?.find(e=>e.id===r);return e?.country?"/"+e.country.toLocaleLowerCase().replace(/\s+/g,"-"):"/"},[r,i]),d=(0,g.useMemo)(()=>o.flatMap(e=>{let t=n?.find(t=>t.country.name===e);return t?.id&&l?.has?.(t.id)?Array.from(l.get(t.id)??[]).map(e=>e.city):[]}),[n,o,l]),u=(0,g.useMemo)(()=>{if(!Array.isArray(t))return[];let e=d?.filter(e=>t?.some(t=>t.name===e.city))??[];return t?.map(t=>{let a=e?.find(e=>e.name===t.city);return a||{id:t.id,name:t.city,uniqueName:t.city,uri:{url:c+(t.url??"")}}})??[]},[t,d,c]),m=(0,g.useMemo)(()=>{if(!Array.isArray(t))return[];let e=t?.filter(e=>[1,2].includes(e.id))??[],a=d?.filter(t=>e?.some(e=>e.city===t.name))??[];return e?.map(e=>{let t=a?.find(t=>t.name===e.city);return t||{id:e.id,name:e.city,uniqueName:e.city,uri:{url:c+(e.url??"")}}})??[]},[t,d,c]),p=(0,g.useMemo)(()=>{if(!Array.isArray(t))return[];let e=t?.filter(e=>[1,2,3].includes(e.id))??[],a=d?.filter(t=>e?.some(e=>e.city===t.name))??[];return e?.map(e=>{let t=a?.find(t=>t.name===e.city);return t||{id:e.id,name:e.city,uniqueName:e.city,uri:{url:c+(e.url??"")}}})??[]},[t,d,c]);return(0,g.useEffect)(()=>{let e=i?.countryList??[],t=e?.find(e=>1===e.id)?.cities??[];if(!t||!Array.isArray(t))return void a([]);a(t)},[i,e]),{isActive:r,regionListMenu:ey,getPlaceLists:u,getFeaturePlaces:m,listCountry:o,getCityServerContext:d,getTopRatedPlaces:p,urlCountry:c,setCountry:e=>{let t=i?.countryList??[],r=t?.find(t=>t.id===e)?.cities??[];if(!r||!Array.isArray(r)){a([]),s(e);return}a(r),s(e)}}})({listRegion:e}),p="mobile"===t;return(0,r.jsx)("div",{className:a,children:i.map(t=>t.region===e&&(p?(0,r.jsx)(eA,{menuMobile:{countries:{...t,cities:[]},setRegion:m,getPlaceLists:u,isRegionMenu:n}},t.id):(0,r.jsx)("div",{children:(0,r.jsx)(eo.W1,{as:"div",className:"relative block text-left focus-visible:outline-none",children:({open:a})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(eo.IU,{className:"group flex w-full items-center justify-center gap-1 whitespace-nowrap rounded-md border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none",children:[t.region,(0,r.jsx)(en.fK4,{className:(0,c.A)("transition-transform duration-300",a&&"rotate-180")})]}),(0,r.jsx)(ei.e,{as:g.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,r.jsx)(eo.c,{className:"absolute left-0 z-[999] mt-4 w-1100px origin-top-right divide-y divide-gray-100 overflow-hidden rounded-lg bg-white shadow-lg focus:outline-none",children:(0,r.jsx)(eo.Dr,{children:(0,r.jsx)(eT,{items:{countries:{...t,cities:[]},setRegion:m,isActive:l,listCountry:e,getFeaturePlaces:o,getPlaceLists:u,getTopRatedPlaces:d,isRegionMenu:n,isBusPasses:s,countriesHeading:{region:t.region,url:t.url}}})})})})]})})},t.id)))})},eM=e=>{let{variant:t="desktop",menuShown:a}=e,{isBusPasses:s,isRegionMenu:n}=a;return n?"mobile"===t?(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)(eI,{listRegion:"Europe",variant:"mobile",isBusPasses:s,isRegionMenu:n})}):(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out",children:(0,r.jsx)(eI,{listRegion:"Europe",isBusPasses:s,isRegionMenu:n})}):null},eD=()=>(0,r.jsx)("a",{href:"/cashback-rewards","aria-label":"Cashback Rewards - Learn about our cashback program",target:"_blank",rel:"noopener noreferrer",className:"block w-fit whitespace-nowrap rounded-full px-0 py-0 text-xs font-normal hover:border hover:bg-primary-transparent hover:text-primary focus:outline-none focus-visible:outline-none md:w-120px md:border-primary md:bg-primary md:px-3 md:py-2 md:text-sm md:font-semibold md:text-white",children:"\uD83E\uDD11 Cashback"});var eR=a(59475);let eL={src:"/_next/static/media/getapp-bpd-qr-code.e62e9a99.jpeg"},eB={src:"/_next/static/media/getapp-travello-qr-code.c30c743c.jpeg"},eF={src:"/_next/static/media/appstore-badge-apple.72c6a5cd.svg"},eO={src:"/_next/static/media/appstore-badge-android.74518c11.svg"};var eU=a(64084);let eK=e=>{let{isMasterChannel:t,isBackpackerdealsChannel:a}=e.channels,s=(e=>{let t=null;switch(e){case"backpackerdeals":t={channel:"backpackerdeals",link:"https://travelloapp.app.link/InstallAppBPD",qrCode:eL?.src};break;case"travello":t={channel:"travello",link:"https://travelloapp.app.link/InstallAppTLO",qrCode:eB?.src}}return t})(a?"backpackerdeals":"travello"),n=e.isMobile??!1;return t?n?(0,r.jsx)("a",{href:s?.link,target:"_blank",rel:"noopener noreferrer",children:(0,r.jsxs)("div",{className:"flex items-center justify-between border-b-[0.5px] border-gray-100 bg-white px-4 py-10px text-xs font-normal text-black md:mb-1 md:border-b-0 md:border-x-gray-200 md:px-2 md:py-0 md:text-sm",children:[(0,r.jsxs)("div",{className:"flex w-full flex-col text-xs font-normal",children:[(0,r.jsx)("span",{className:"mr-2",children:"Download our App"}),(0,r.jsxs)("span",{className:"mr-2",children:["Get ",(0,r.jsx)("strong",{children:"$15"})," off your booking"]})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsxs)("div",{className:"flex items-center rounded-full bg-primary px-2 py-1",children:[(0,r.jsx)("span",{className:"mr-1 text-xs font-semibold text-white",children:"Download"}),(0,r.jsx)(p.rj1,{className:"text-sm text-white"})]}),(0,r.jsxs)("div",{className:"ml-2 flex flex-col items-center gap-1",children:[(0,r.jsx)("img",{src:eF.src,alt:"App Store",className:"h-auto w-44"}),(0,r.jsx)("img",{src:eO.src,alt:"Google Play",className:"h-auto w-44"})]})]})]})}):(0,r.jsx)(eU.A,{text:"Get the App",position:"bottom",children:(0,r.jsxs)("a",{href:"/getapp",className:(0,
107c.A)("block whitespace-nowrap border-b-[0.5px] border-gray-100 bg-white px-4 py-10px text-xs font-normal text-black no-underline hover:text-primary md:mb-1 md:border-b-0 md:border-x-gray-200 md:px-2 md:py-0 md:text-sm",a&&"border-r-0 md:border-r-[1px]"),"aria-label":"Download our app",children:[(0,r.jsx)(eR.BxV,{className:"mb-0.5 mr-2 inline-block",size:18}),(0,r.jsx)("span",{className:"sr-only",children:"Download our app"})]})}):null},ez=(0,g.forwardRef)(({className:e,variant:t="desktop",type:a},s)=>{let{channel:n}=(0,L.M)(),{roaverDetails:l}=(({type:e="campervans",roaverData:t})=>{let a=(0,u.usePathname)(),{allowedCountryInSpecificChannels:r}=(0,L.M)(),{siteConfig:s,key:n,name:l}=t??{},i=r?.find(e=>e.channel===n),c=i?.countries,{is_roaver_affiliate_active:d,roaver_affiliate_key:m,campervan_subtitle:p,campervan_title:x,car_subtitle:f,car_title:b,backgroundCampervanDesktopImage:y,backgroundCampervanMobileImage:v,backgroundCarDesktopImage:j,backgroundCarMobileImage:w}=s??{},{shouldShowHeaderBanner:N}=(0,o.f)(),{isTravelloChannel:A,isBackpackerdealsChannel:k,isIssyChannel:C,isMasterChannel:_,isAustraveltipsChannel:S,isWakacampaChannel:P}=(0,h.D)(n),E=a?.includes(B.QE)||a?.includes("booking"),T=a?.includes(B.gg)||a?.includes("booking");return{isCarRental:T,roaverDetails:(0,g.useMemo)(()=>{let t=window.location.origin.includes("localhost"),a=A?"[email protected]":"[email protected]",r=_?n:"travello";return{dataKey:(t?B.OV.LOCALHOST:null)||m,channel:r,search:"search",isAustraveltipsChannel:S,relevantCountries:c,name:l,link:"campervans"===e?B.QE:B.gg,ctaContents:{email:a,link:`mailto:${a}`},landingPageData:{campervan_subtitle:p,campervan_title:x,car_subtitle:f,car_title:b,bannerImages:{campervan:{desktop:y?.fileName,mobile:v?.fileName},car:{desktop:j?.fileName,mobile:w?.fileName}}}}},[n,e]),isMobileApp:C,isCampervans:E,isRoaverPage:E||T,isMasterChannel:_,isRoaverChannel:d&&!!m&&!P,isTravelloChannel:A,isTravelloCampervanPage:E&&A,isBackpackerdealsChannel:k,isBannerActive:N,channelName:l}})({type:a,roaverData:n}),i="campervans"===a?"Campervans":"Cars Rental",c=(0,r.jsx)(eS.EJ,{href:l.link,id:"campervans"===a?"campervanRentalClick":"carRentalClick","aria-label":i,rel:"noopener noreferrer",target:"_blank",className:e,children:i});return l?.link?"desktop"!==t?(0,r.jsx)("li",{className:"m-0 list-none",children:c}):c:null});ez.displayName="RoaverLink";var eq=a(70898);let eH=[{countryConstant:"Australia",label:"Bus Passes In Australia",href:"/australia/all/bus-passes"},{countryConstant:"New Zealand",label:"Bus Passes In New Zealand",href:"/new-zealand/all/bus-passes"}],eW=()=>{let[e,t]=(0,g.useState)(!1),{allowedCountryConstants:a}=es(),s=(0,g.useMemo)(()=>0===a.length?eH:eH.filter(e=>a.some(t=>t.toLowerCase()===e.countryConstant.toLowerCase())),[a]);return 0===s.length?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("button",{onClick:()=>{t(!e)},className:"relative flex w-full justify-between border-b border-gray-100 bg-white px-4 py-2.5 text-sm font-light text-black no-underline outline-none md:text-base md:font-normal",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1.5 text-xs font-normal",children:[(0,r.jsx)(p.oHl,{className:"text-xs text-primary"}),"Bus Passes"]}),(0,r.jsx)(en.wAb,{className:(0,c.A)(!e&&"rotate-180","transform text-lg text-gray-400 transition-transform duration-300")})]}),e&&(0,r.jsx)("div",{className:"scale-100 transform p-2 opacity-100 transition-transform duration-300 ease-out",children:s.map(e=>(0,r.jsxs)(eS.EJ,{href:e.href,className:"mb-2 flex h-8 items-center hover:bg-gray-200",children:[(0,r.jsx)(p.oHl,{className:"mx-2 h-3 w-3 text-primary"}),(0,r.jsx)("div",{className:"text-xs font-normal",children:e.label})]},e.href))})]})},eY=[{countryConstant:"Australia",label:"Bus Passes In Australia",href:"/australia/all/bus-passes"},{countryConstant:"New Zealand",label:"Bus Passes In New Zealand",href:"/new-zealand/all/bus-passes"}],eG=()=>{let{allowedCountryConstants:e}=es(),t=(0,g.useMemo)(()=>0===e.length?eY:eY.filter(t=>e.some(e=>e.toLowerCase()===t.countryConstant.toLowerCase())),[e]);return 0===t.length?null:(0,r.jsx)(r.Fragment,{children:t.map((e,a)=>(0,r.jsx)(eo.Dr,{children:(0,r.jsx)("div",{className:a<t.length-1?"border-b border-zinc-100":"",children:(0,r.jsxs)(eS.EJ,{href:e.href,className:"group flex w-full items-center gap-3 px-3 py-3 hover:bg-primary hover:text-white",children:[(0,r.jsx)(eq.K9k,{className:"text-primary transition-colors duration-200 group-hover:text-white"}),(0,r.jsx)("p",{className:"text-xs font-normal md:text-sm",children:e.label})]})})},e.href))})},e$=({variant:e="desktop"})=>"mobile"===e?(0,r.jsx)(eW,{}):(0,r.jsxs)(eo.W1,{as:"div",className:"relative",children:[(0,r.jsxs)(eo.IU,{"aria-haspopup":"true",className:"group flex w-full items-center gap-1 whitespace-nowrap rounded-md border-0 bg-transparent text-sm font-normal text-black hover:text-primary focus:outline-none",children:["Bus Passes",(0,r.jsx)(en.fK4,{className:(0,
107c.A)("text-lg text-gray-400 transition-transform group-hover:text-primary")})]}),(0,r.jsx)(ei.e,{as:g.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,r.jsx)(eo.c,{className:"absolute left-0 mt-4 w-72 divide-y divide-gray-100 rounded-lg bg-white py-2 shadow-box ring-1 ring-black/5",children:(0,r.jsx)(eG,{})})})]}),eV=({isBusPasses:e=!1,isRoaverMenu:t=!1})=>{let[a,s]=(0,g.useState)(!1),n="py-2.5 px-4 relative no-underline bg-white border-b border-gray-100 text-xs md:text-base text-black font-normal outline-none w-full block";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("button",{onClick:()=>{s(!a)},className:"relative flex w-full justify-between border-b border-gray-100 bg-white px-4 py-2.5 text-sm font-normal text-black no-underline outline-none md:text-base",children:[(0,r.jsx)("span",{className:"flex gap-1.5 text-xs font-normal",children:t?"Campervans":"Bus Passes"}),(0,r.jsx)(en.wAb,{className:(0,c.A)(!a&&"rotate-180","transform text-lg text-gray-400 transition-transform duration-300")})]}),a&&(0,r.jsxs)("div",{className:"scale-100 transform p-2 opacity-100 transition-transform duration-300 ease-out",children:[t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ez,{className:n,variant:"desktop",type:"campervans"}),(0,r.jsx)(ez,{className:n,variant:"desktop",type:"cars"})]}),e&&(0,r.jsx)(eo.W1,{as:"div",className:"relative",children:(0,r.jsx)(eG,{})})]})]})},eQ=({variant:e="desktop",isBusPasses:t=!1,isRoaverMenu:a=!1})=>{let s="px-3 py-3 hover:bg-primary hover:text-white focus:outline-none focus-visible:outline-none text-sm text-black bg-transparent border-0 whitespace-nowrap w-full block",n=(0,r.jsxs)(eo.c,{className:(0,c.A)("absolute left-0 z-[999] mt-4 w-72 origin-top-right transform divide-y divide-gray-100 rounded-2xl bg-white py-2 shadow-box ring-1 ring-black/5 transition-transform"),children:[(0,r.jsx)(eo.Dr,{children:({active:e})=>(0,r.jsx)(ez,{className:(0,c.A)(s,{"bg-primary text-white":e}),variant:"desktop",type:"campervans"})}),(0,r.jsx)("div",{className:"border-b border-zinc-100",children:(0,r.jsx)(eo.Dr,{children:({active:e})=>(0,r.jsx)(ez,{className:(0,c.A)(s,{"bg-primary text-white":e}),variant:"desktop",type:"cars"})})}),t&&(0,r.jsx)(eG,{})]});return"mobile"===e?(0,r.jsx)(eV,{isBusPasses:t,isRoaverMenu:a}):(0,r.jsx)(eo.W1,{as:"div",className:"relative",children:({open:e})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(eo.IU,{className:"group flex w-full items-center justify-center gap-1 whitespace-nowrap rounded-md border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none",children:["Campervans",(0,r.jsx)(en.fK4,{className:(0,c.A)("transition-transform duration-300",e&&"rotate-180")})]}),(0,r.jsx)(ei.e,{as:g.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:n})]})})},eJ=({className:e})=>(0,r.jsx)("a",{id:"JucyMenuClick",href:"https://www.jucy.com/?utm_source=TravelloWhitelabel&utm_medium=NavigationBar",target:"_blank",rel:"noopener noreferrer",className:e??"whitespace-nowrap border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none",children:"Return to JUCY"}),eZ=({variant:e="desktop"})=>"mobile"===e?(0,r.jsx)("li",{className:"relative m-0 block list-none border-b-[0.5px] border-gray-100 bg-white px-4 py-2.5 no-underline",children:(0,r.jsx)(eJ,{className:"text-xs font-normal text-black hover:text-primary"})}):(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out lg:px-4",children:(0,r.jsx)(eJ,{})}),eX=({className:e})=>(0,r.jsx)("a",{href:"/luxe-experiences","aria-label":"Luxury Experiences",target:"_blank",rel:"noopener noreferrer",className:e,children:"Luxe"}),e0=({variant:e="desktop"})=>"mobile"===e?(0,r.jsx)("li",{className:"relative m-0 block list-none border-b-0.5px border-gray-100 bg-white px-4 py-2 text-xs font-light text-black no-underline hover:text-primary",id:"LuxeClick",children:(0,r.jsx)(eX,{})}):(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out",id:"LuxeClick",children:(0,r.jsx)(eX,{className:"whitespace-nowrap border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none"})}),e1=()=>(0,r.jsx)("a",{href:"https://www.backpackerdeals.com/blog","aria-label":"Travel Inspiration",target:"_blank",rel:"noopener noreferrer",className:"block w-full whitespace-nowrap border-0 bg-transparent text-xs font-normal focus:outline-none focus-visible:outline-none md:text-sm",children:"Blog"}),e2=()=>(0,r.jsxs)("a",{href:"/user#/login",id:"AccountClick","aria-label":"My Account",className:"group flex w-full cursor-pointer items-center justify-center gap-1 self-center rounded-full border border-gray-200 px-4 py-1 text-center text-xs text-black transition-all duration-300 ease-in-out hover:text-primary md:w-auto md:py-2 md:text-sm",children:[(0,r.jsx)(p.d$e,{className:"mb-0.5 mr-2 inline-block shrink-0 text-xl text-gray-700 transition-all duration-300 group-hover:text-primary md:mb-0 md:mr-0 md:text-2xl"}
107),(0,r.jsx)("span",{className:"inline md:inline",children:"My Account"})]}),e5=[{id:1,tracking_id:"qsUluruClick",name:"Uluru",unique_name:"/australia/uluru",countries_shown:[]},{id:2,tracking_id:"qsEastCoastClick",name:"East Coast",unique_name:"/australia/east-coast",countries_shown:[]},{id:3,tracking_id:"qsWhitsundaysClick",name:"Whitsundays",unique_name:"/australia/airlie-beach-whitsundays",countries_shown:[]},{id:4,tracking_id:"qsKgariClick",name:"K'Gari (Fraser Island)",unique_name:"/australia/fraser-island",countries_shown:[]},{id:5,tracking_id:"qsQueenstownClick",name:"Queenstown",unique_name:"/new-zealand/queenstown",countries_shown:[]},{id:6,tracking_id:"qsFijiClick",name:"Fiji",unique_name:"/fiji",countries_shown:[]},{id:7,tracking_id:"qsVietnamClick",name:"Vietnam",unique_name:"/vietnam",countries_shown:[]},{id:8,tracking_id:"qsThailandClick",name:"Thailand",unique_name:"/thailand",countries_shown:[]}],e4=({width:e,height:t})=>(0,r.jsx)("iframe",{id:"WhatsAppConnect",loading:"lazy",title:"WhatsAppConnect",width:e,height:t,style:{borderRadius:5},src:"https://cdn.smooch.io/message-us/index.html?channel=whatsapp&color=green&size=standard&radius=0px&label=Message us on WhatsApp&number=61414145966"});var e3=a(70667),e9=a(44115),e8=a(414),e6=a(34331),e7=a(9763),te=a(92653),tt=a.n(te),ta=a(62692);let tr="bpd_currency",ts="is_location_initialized",tn="bpd_currency_source",tl=()=>new URLSearchParams(window.location.search).get("currency")??void 0,ti=e=>e&&"manual"===(0,ta.getCookie)(tn),to=()=>(0,ta.setCookie)(ts,"true",{secure:!0,httpOnly:!1,path:"/"}),tc=()=>()=>{},td=()=>!0,tu=()=>!1,tm=function({afterSelect:e,clientInfo:{currencyCode:t}}){let{selectedCurrency:a}=(0,L.M)(),{supportedCurrencies:s,selectedCurrency:n,handleCurrencyChange:l}=(({defaultCurrencyCode:e,afterSelect:t})=>{let a=(0,x.wA)(),r=(0,e8.m)(),{channel:s,host:n}=(0,L.M)(),l=(0,g.useMemo)(()=>s?.supportedCurrencies||[(0,e9.R)()],[s]),i=(0,x.d4)(e6.Zo),o=(0,g.useMemo)(()=>tt()(l,{isoSymbol:i}),[i,l]),[c,d]=(0,g.useState)(()=>{if(tt()(l,{isoSymbol:tl()})||(0,ta.getCookie)(ts))return!1;let e=(0,ta.getCookie)(tr);return!ti(!!tt()(l,{isoSymbol:e}))}),[u,m]=(0,g.useState)(void 0),p=(0,g.useRef)(!1);(0,g.useEffect)(()=>{c&&!p.current&&n&&(p.current=!0,r.query({query:e7.Tk,variables:{host:n},fetchPolicy:"network-only"}).then(e=>m(e.data?.clientInfo?.currencyCode??void 0)).catch(e=>console.error("Failed to fetch live location for currency detection",e)).finally(()=>d(!1)))},[c,r,n]);let h=u??e;return(0,g.useEffect)(()=>{let e;if(c)return;let t=(0,ta.getCookie)(tr),r=tl(),s=(0,ta.getCookie)(ts),n=!!tt()(l,{isoSymbol:t}),o=!!tt()(l,{isoSymbol:r}),d=!!tt()(l,{isoSymbol:h}),u=ti(n);o?(e=r,to()):s||u?(e=n?t:d?h:i,s||to()):(e=d?h:n?t:l?.[0]?.isoSymbol,to()),e&&e!==i&&(a((0,e6.yl)(e)),(0,ta.setCookie)(tr,e,{secure:!0,httpOnly:!1,maxAge:604800,path:"/"}))},[a,l,i,h,c]),{supportedCurrencies:l,selectedCurrency:o,handleCurrencyChange:(0,g.useCallback)((e,r)=>{a((0,e6.yl)(e)),(0,ta.setCookie)(tr,e,{secure:!0,httpOnly:!1,maxAge:604800,path:"/"}),(0,ta.setCookie)(tn,"manual",{secure:!0,httpOnly:!1,maxAge:604800,path:"/"}),to();let s=new URL(window.location.href);s.searchParams.has("page")&&s.searchParams.set("page","1"),t?.(null,r),window.history.replaceState(null,"",s.toString())},[a,t])}})({defaultCurrencyCode:t||a,afterSelect:e}),i=n?.isoSymbol||a;return(0,r.jsxs)(eo.W1,{as:"div",className:"relative block text-left focus:outline-none",children:[(0,r.jsxs)(eo.IU,{className:"group flex h-9 w-full items-center justify-between gap-2.5 rounded-full border border-gray-200 bg-white px-4 text-sm transition-all hover:border-primary hover:shadow-md md:h-10",children:[(0,r.jsx)("div",{className:"flex items-center gap-2 overflow-hidden",children:(0,r.jsx)("span",{className:"truncate tracking-tight transition-colors group-hover:text-primary",children:i||s[0]?.isoSymbol})}),(0,r.jsx)(p.Ucs,{className:"h-3 w-3 shrink-0 rotate-180 transition-all group-hover:text-primary group-data-[open]:rotate-0"})]}),(0,r.jsx)(ei.e,{as:"div",enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,r.jsxs)(eo.c,{className:"absolute right-0 z-50 mt-2 w-64 origin-top-right overflow-hidden rounded-2xl bg-white shadow-2xl ring-1 ring-black ring-opacity-5 focus:outline-none",children:[(0,r.jsxs)("div",{className:"p-2",children:[(0,r.jsx)("div",{className:"mb-2 px-2 pt-1 text-[10px] font-semibold uppercase tracking-wider text-gray-400",children:"Select Currency"}),(0,r.jsx)("div",{className:"grid grid-cols-2 gap-1",children:s.map(e=>{let t=i===e.isoSymbol,a=(e=>{if(!e)return"$";let t=e.split(" ");return t.length>1?t[t.length-1]:e})(e.symbol);return(0,r.jsx)(eo.Dr,{children:({close:s})=>(0,r.jsxs)("button",{onClick:t=>{l(e.isoSymbol,t),s()}
107,className:(0,c.A)("group flex items-center gap-2.5 rounded-xl px-2.5 py-2 text-left text-sm transition-all",t?"bg-primary text-white shadow-sm":"hover:bg-primary hover:text-white"),children:[(0,r.jsx)("span",{className:(0,c.A)("flex h-6 w-6 shrink-0 items-center justify-center rounded-full border text-[11px] font-semibold transition-colors",t?"border-white/30 bg-white/20 text-white":"border-gray-100 bg-gray-50 text-gray-500 group-hover:border-white/30 group-hover:bg-white/20 group-hover:text-white"),children:a}),(0,r.jsx)("span",{className:"font-semibold tracking-tight",children:e.isoSymbol})]})},e.isoSymbol)})})]}),(0,r.jsx)("div",{className:"border-t border-green-100 bg-green-50 p-3 text-center",children:(0,r.jsx)("p",{className:"text-[10px] font-black uppercase italic tracking-tighter text-green-700",children:"Pay in your own currency"})})]})})]})},tp=e=>{let{clientInfo:t}=(0,e3.WD)(),a=(0,g.useSyncExternalStore)(tc,td,tu);return t?a?(0,r.jsx)(tm,{clientInfo:t,...e}):(0,r.jsxs)("div",{className:"flex h-9 w-24 animate-pulse items-center justify-between rounded-full border border-gray-100 bg-gray-50 px-4 md:h-10",children:[(0,r.jsx)("div",{className:"h-3 w-8 rounded bg-gray-200"}),(0,r.jsx)("div",{className:"h-3 w-3 rounded-full bg-gray-200"})]}):null};var th=a(42018);let tx=({isMobile:e=!1,channels:t})=>{let{clientInfo:a}=(0,e3.WD)(),s=(()=>{let{channel:e}=(0,L.M)(),{clientInfo:t}=(0,e3.WD)(),a=e?.siteConfig;return(0,g.useMemo)(()=>{if(!a)return null;let e=t?.isoCountryCode;return({AU:a.contact_links_phone,NZ:a.contact_physical_phone,US:a.contact_phone_us})[e??""]??a.contact_phone_default??null},[t?.isoCountryCode,a])})();return a&&s?(0,r.jsxs)("a",{className:(0,c.A)("group flex items-center justify-center gap-2 rounded-lg border border-gray-200 bg-white no-underline sm:px-4 md:rounded-full",e?"h-8 w-full px-2.5":"h-8 px-2 md:h-10"),href:`tel:${s}`,"aria-label":"Phone number",children:[(0,r.jsx)(th.ZhK,{className:"text-lg font-medium text-primary md:text-base"}),!e&&(t.isYhaChannel||t.isBoutiqueCollectionChannel)&&(0,r.jsx)("span",{className:"mr-1 truncate text-10px font-normal md:text-base","aria-label":"Call Travello",children:"Call Travello"}),(0,r.jsx)("span",{className:(0,c.A)("group-hover:text-primary",e?"inline-block text-xs":"hidden text-sm md:inline"),children:s})]}):null},tg={[X]:[X,$,V,Q,Z],[$]:[$,V,Q,Z,X],[V]:[V,$,Q,Z,X],[Q]:[Q,$,V,Z,X],[Z]:[Z,$,V,Q,X],DEFAULT:[$,V,Q,Z,X]},tf=[];for(let e=0;e<ee.length;e++){let t={id:e+1,country:ee[e],url:"/"+ee[e].toLowerCase().replace(/\s+/g,"-"),clicked:ee[e].replace(/\s+/g,"")+"Click",cities:[]};if(ee[e]===$)for(let e=0;e<F.length;e++){let a={id:e+1,region:F[e],clicked:F[e].replaceAll(" ","")+"Click",placeList:[]};for(let t=0;t<O[e].length;t++){let r={id:t+1,place:O[e][t],url:"/"+O[e][t].replaceAll(" ","-").toLowerCase(),clicked:O[e][t].replaceAll(" ","")+"Click"};a.placeList.push(r)}t.cities.push(a)}if(ee[e]===V)for(let e=0;e<U.length;e++){let a={id:e+1,region:U[e],clicked:U[e].replaceAll(" ","")+"Click",placeList:[]};for(let t=0;t<K[e].length;t++){let r=K[e][t],s={id:t+1,place:r,url:"Mount Cook"===r?"/"+r.replaceAll(" ","").toLowerCase():"/"+r.replaceAll(" ","-").toLowerCase(),clicked:r.replaceAll(" ","")+"Click"};a.placeList.push(s)}t.cities.push(a)}if(ee[e]===Q)for(let e=0;e<z.length;e++){let a={id:e+1,region:z[e],clicked:z[e].replaceAll(" ","")+"Click",placeList:[]};for(let t=0;t<q[e].length;t++){let r={id:t+1,place:q[e][t],url:"/"+q[e][t].replaceAll(" ","-").toLowerCase(),clicked:q[e][t].replaceAll(" ","")+"Click"};a.placeList.push(r)}t.cities.push(a)}if(ee[e]===Z)for(let e=0;e<H.length;e++){let a={id:e+1,region:H[e],clicked:H[e].replaceAll(" ","")+"Click",placeList:[]};for(let t=0;t<W[e].length;t++){let r={id:t+1,place:W[e][t],url:"/"+W[e][t].replaceAll(" ","-").toLowerCase(),clicked:W[e][t].replaceAll(" ","")+"Click"};a.placeList.push(r)}t.cities.push(a)}if(ee[e]===X)for(let e=0;e<Y.length;e++){let a={id:e+1,region:Y[e],clicked:Y[e].replaceAll(" ","")+"Click",placeList:[]};for(let t=0;t<G[e].length;t++){let r={id:t+1,place:G[e][t],url:"/"+G[e][t].replaceAll(" ","-").toLowerCase(),clicked:G[e][t].replaceAll(" ","")+"Click"};a.placeList.push(r)}t.cities.push(a)}tf.push(t)}let tb=({listCountry:e=$,variant:t,className:a})=>{let{isActive:s,countryListMenu:n,getFeaturePlaces:l,getTopRatedPlaces:i,getPlaceLists:o,setRegion:d}=((e="Australia")=>
107{let[t,a]=(0,g.useState)([]),[r,s]=(0,g.useState)(1),{countries:n=[],cityMap:l=new Map}=ex()??{},i=(0,g.useMemo)(()=>{if(!n)return[];let t=n?.find(t=>t.country.name===e);if(!t?.id||!l?.has?.(t.id))return[];try{return Array.from(l.get(t.id)??[]).map(e=>e.city??e)}catch{return[]}},[n,e,l]),o=(0,g.useMemo)(()=>tf.filter(e=>{if(!n.some(t=>t.country.name===e.country))return!1;let t=n.find(t=>t.country.name===e.country)?.id;if(!t)return!1;let a=new Set(Array.from(l.get(t)??[]).map(e=>e.city?.name??e.name));return e.cities=e.cities.filter(e=>e.placeList.some(e=>a.has(e.place))),e.cities.length>0}),[n,l]),c=e=>e.flatMap(e=>{let t=i?.find(t=>t.name===e.place);return t?[t]:[]}),d=(0,g.useMemo)(()=>Array.isArray(t)?c(t):[],[i,t]),u=(0,g.useMemo)(()=>Array.isArray(t)?c(t.filter(e=>[1,2,3].includes(e.id)||"East Coast"===e.place)):[],[i,t]),m=(0,g.useMemo)(()=>Array.isArray(t)?c(t.filter(e=>[1,2].includes(e.id))):[],[i,t]);return(0,g.useEffect)(()=>{let t=o.find(t=>t.country===e),r=(t?.cities??[])[0],n=r?.placeList??[];a(Array.isArray(n)?n:[]),r&&s(r.id)},[e,o]),{isActive:r,countryListMenu:o,getPlaceLists:d,getFeaturePlaces:m,getTopRatedPlaces:u,getCityServerContext:i,setRegion:t=>{let r=o.find(t=>t.country===e),n=r?.cities??[],l=n?.find(e=>e.id===t),i=l&&"placeList"in l?l.placeList:[];a(Array.isArray(i)?i:[]),s(t)}}})(e),u="mobile"===t;return(0,r.jsx)("div",{className:a,children:n.map(t=>t?.country===e&&(u?(0,r.jsx)(eA,{menuMobile:{countries:t,setRegion:d,getPlaceLists:o}},t?.id):(0,r.jsx)("div",{children:(0,r.jsx)(eo.W1,{as:"div",className:"relative block cursor-default text-left focus-visible:outline-none",children:({open:a})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(eo.IU,{className:"group flex w-full items-center justify-center gap-1 whitespace-nowrap rounded-md border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none",children:[t?.country===Q?J:t?.country,(0,r.jsx)(en.fK4,{className:(0,c.A)("transition-transform duration-300",a&&"rotate-180")})]}),(0,r.jsx)(ei.e,{as:g.Fragment,show:a,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,r.jsx)(eo.c,{className:"absolute left-0 z-[999] mt-4 h-450px w-[880px] origin-top-right divide-y divide-gray-100 overflow-hidden rounded-2xl bg-white shadow-lg focus:outline-none",children:(0,r.jsx)(eo.Dr,{children:(0,r.jsx)(eT,{items:{countries:t,setRegion:d,isActive:s,listCountry:e,getFeaturePlaces:l,getPlaceLists:o,getTopRatedPlaces:i,countriesHeading:{region:t?.region,country:t?.country,url:t?.url}}})})})})]})})},t?.id)))})},ty=e=>{let{variant:t="desktop",menuShown:a}=e,{isBusPasses:s,isNewZealandMenu:n}=a;return n?(0,r.jsx)(tb,{listCountry:V,isBusPasses:s,variant:t}):null},tv=({isBusPasses:e,isNewZealandMenu:t,variant:a="desktop"})=>{let{clientInfo:s}=(0,e3.WD)(),{allowedCountryConstants:n,hasRestrictions:l}=es();return(0,g.useMemo)(()=>{let i=[{id:"AU",name:$,component:(0,r.jsx)(tb,{listCountry:$,variant:a})},{id:"US",name:Q,component:(0,r.jsx)(tb,{listCountry:Q,variant:a})},{id:"CA",name:Z,component:(0,r.jsx)(tb,{listCountry:Z,variant:a})},{id:"IN",name:X,component:(0,r.jsx)(tb,{listCountry:X,variant:a})},{id:"NZ",name:V,component:(0,r.jsx)(ty,{variant:a,menuShown:{isBusPasses:e,isNewZealandMenu:t}})}],o=s?.countryName,c=tg.DEFAULT;if(l)c=n;else{let e=o===J||o===Q;o===X?c=tg[X]:e?c=tg[Q]:o&&o in tg&&(c=tg[o])}return i.filter(e=>c.includes(e.name)).sort((e,t)=>{let a=c.indexOf(e.name),r=c.indexOf(t.name);return(-1===a?99:a)-(-1===r?99:r)})},[s?.countryName,e,t,a,n,l]).map(e=>(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out",children:e.component},e.id))},tj=e=>{let[t,a]=(0,g.useState)(!1),s=(0,u.usePathname)(),{isBackpackerdealsChannel:n,isBoutiqueCollectionChannel:l,isTravelAssociatesChannel:i,isAustraveltipsChannel:o,isSpaceShipsChannel:d,isWakacampaChannel:p,isTravelloChannel:h,isStudentsChannel:x,isMasterChannel:f,isRoaverActive:b,isJucyChannel:v,isYhaChannel:j,isLpkChannel:w}=e.channels,{isBusPasses:N,isNewZealandMenu:A,isOtherDestinationsMenu:k,isRegionMenu:C,isRoaverMenu:_}=m({isSpaceShipsChannel:d,isJucyChannel:v,isBoutiqueCollectionChannel:l,isTravelAssociatesChannel:i,isMasterChannel:f,isStudentsChannel:x,isRoaverActive:b,isAustraveltipsChannel:o,isLpkChannel:w,isWakacampaChannel:p}),{popularSearchLinks:S}={popularSearchLinks:(0,g.useMemo)(()=>e5,[void 0])};return(0,r.jsxs)("div",{className:"block lg:hidden",children:[(0,r.jsx)("button",{className:"mr-3 flex h-8 w-8 items-center justify-center rounded-lg bg-white shadow-box xl:hidden",type:"button","aria-label":"Open mobile menu",onClick:()=>a(!0),children:(0,r.jsx)(en.ND1,{className:"shrink-0 text-xl text-primary"})}
107),(0,r.jsxs)("dialog",{className:(0,c.A)("visible fixed inset-0 z-999 flex h-screen w-full flex-col border-r border-black/20 bg-white transition-transform duration-300 ease-in-out xl:invisible",t?"transform-none":"-translate-x-full"),tabIndex:-1,"aria-modal":"true","aria-label":"Mobile navigation menu",children:[(0,r.jsxs)("div",{className:"z-10 flex h-60px w-full justify-between border-b border-gray-100 bg-white px-2 py-3 md:h-77px",children:[(0,r.jsx)(E,{logoImage:e.logoImage,name:e.name,logoStyle:e.logoStyle}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[!y(s)&&(0,r.jsx)(tp,{afterSelect:()=>a(!1)}),(0,r.jsx)("button",{type:"button",className:"group flex h-8 items-center justify-center gap-3 rounded-lg px-2 no-underline shadow-box sm:h-10 sm:px-4 lg:shadow-box","aria-label":"Close mobile menu",onClick:()=>a(!1),children:(0,r.jsx)(en.yGN,{className:"shrink-0 text-xl text-primary"})})]})]}),(0,r.jsxs)("div",{className:"grow-1 scrollbar overflow-y-auto",children:[(0,r.jsxs)("ul",{className:"mb-116px",children:[(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)(eK,{channels:{isMasterChannel:f,isBackpackerdealsChannel:n},isMobile:!0})}),(f||_)&&(0,r.jsx)("li",{className:"m-0 list-none",children:(0,r.jsx)(eQ,{variant:"mobile",isBusPasses:N,isRoaverMenu:_})}),(0,r.jsxs)("li",{className:"m-0 list-none bg-white px-4 py-1 no-underline",children:[(0,r.jsx)("div",{className:"mb-2",children:(0,r.jsx)("span",{className:"text-xs font-normal",children:"\uD83D\uDD25 Popular Destinations"})}),(0,r.jsx)("div",{className:"grid grid-cols-2 gap-1 px-1",children:S.map(e=>(0,r.jsx)("div",{className:"w-auto rounded-full border border-primary bg-primary-transparent px-3 py-0.5 text-center",children:(0,r.jsx)("a",{id:e.tracking_id,href:e.unique_name,"aria-label":e.name,className:"whitespace-nowrap text-xs font-normal text-black hover:text-primary",children:e.name})},e.id))})]}),!n&&(0,r.jsx)("li",{className:"relative m-0 block list-none border-b-[0.5px] border-gray-100 bg-white px-4 py-10px no-underline",children:(0,r.jsx)("a",{href:"/multi-day-tour","aria-label":"Multi-Day Tours",id:"MultiDayClick",className:"text-xs font-normal text-black hover:text-primary",children:"Multi-Day Tours"})}),(0,r.jsx)(tv,{isBusPasses:N,isNewZealandMenu:A,variant:"mobile"}),(0,r.jsx)(eM,{variant:"mobile",menuShown:{isRegionMenu:C,isBusPasses:N}}),(0,r.jsx)(ed,{isOtherDestinationsMenu:k,variant:"mobile"}),i&&(0,r.jsx)(e0,{variant:"mobile"}),n&&(0,r.jsx)("li",{className:"relative m-0 block list-none border-b-[0.5px] border-gray-100 bg-white px-4 py-10px no-underline",id:"BlogClick",children:(0,r.jsx)(e1,{})}),!f&&N&&(0,r.jsx)("li",{className:"m-0 list-none",id:"busPass",children:(0,r.jsx)(e$,{variant:"mobile"})}),f&&(0,r.jsx)("li",{className:"m-0 block list-none border-b-0.5px border-gray-100 bg-primary px-3 py-10px text-white",children:(0,r.jsx)(eD,{})}),v&&(0,r.jsx)(eZ,{variant:"mobile"})]}),(0,r.jsxs)("div",{className:"absolute bottom-0 left-0 z-10 w-full border-t bg-white p-3",children:[n&&(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsx)(e4,{width:"100%",height:40})}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[e.shouldShowContactPhoneNumber&&(0,r.jsx)(tx,{isMobile:!0,channels:{isBoutiqueCollectionChannel:l,isYhaChannel:j}}),e.features?.includes("user-accounts")&&(0,r.jsx)(e2,{})]}),f&&(0,r.jsx)("div",{className:"block pt-14px",children:(0,r.jsx)(eh,{channels:{isBackpackerdealsChannel:n,isTravelloChannel:h}})})]})]})]})]})},tw=({isObscured:e,channel:t,mainContainerClass:a,shouldShowContactPhoneNumber:s})=>{let n=(0,u.usePathname)(),{name:l,features:o,key:d,siteConfig:b}=t??{},{logoImage:v,is_roaver_affiliate_active:j,roaver_affiliate_key:N}=b??{},{mdUp:A,lgSearchUp:k}=(0,i.Gu)(),C=(()=>{let[e,t]=(0,g.useState)(!1),[a,r]=(0,g.useState)(0);return(0,g.useEffect)(()=>{let s=()=>{let s=window.scrollY||window.pageYOffset,n=document.body.scrollHeight-document.documentElement.clientHeight-s;s>a&&s>0?!e&&n>=1e3&&t(!0):(e||n<1e3||0===s)&&t(!1),r(s)};return window.addEventListener("scroll",s,{passive:!0}),()=>{window.removeEventListener("scroll",s)}},[e,a]),e})(),S=(0,x.wA)(),P=j&&!!N,{isBoutiqueCollectionChannel:T,isTravelAssociatesChannel:I,isBackpackerdealsChannel:M,isAustraveltipsChannel:D,isSpaceShipsChannel:R,isWakacampaChannel:L,isTravelloChannel:B,isStudentsChannel:F,isMasterChannel:O,isJucyChannel:U,isLpkChannel:K,isYhaChannel:z}=(0,h.D)(d),{isBusPasses:q,isMultiDayTours:H,isNewZealandMenu:W,isOtherDestinationsMenu:Y,isRegionMenu:G,isRoaverMenu:$,isTrustpilotMenu:V}=m({isSpaceShipsChannel:R,isJucyChannel:U,isBoutiqueCollectionChannel:T,isTravelAssociatesChannel:I,isAustraveltipsChannel:D,isMasterChannel:O,isStudentsChannel:F,isRoaverActive:P,isLpkChannel:K,isWakacampaChannel:L}),Q=(0,c.A)({"!w-auto !h-35px md:!h-50px":R,"!w-full !h-25px md:!h-40px":I,"!w-full !h-30px md:!h-50px":z,"!w-auto !h-120px md:!h-44":D,"!w-auto !h-35px md:!h-45px":!R&&!I&&!z&&!D}),J=(0,c.A)(!A&&C&&"","shadow-btn sticky top-0 left-0 right-0 z-40 w-full transition-all duration-200 ease-in-out bg-white",a),Z=(e=>e?{title:"East Coast Tours",link:"/australia/east-coast",id:"EastCoastClick"}:{title:"Multi-Day Tours",link:"/multi-day-tour",id:"MultiDayClick"})(M);return(0,r.jsxs)("nav",{className:J,children:[(0,r.jsx)(w,{}),(0,r.jsxs)("div",{className:"container mx-auto px-4 md:px-0",children:[(0,r.jsx)("div",{className:"flex h-60px items-center justify-center md:h-77px",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full flex-nowrap items-center gap-2 py-3 font-medium sm:gap-5 md:py-4",children:[(0,r.jsxs)("div",{className:"grid grid-flow-col",children:[(0,r.jsx)("div",{className:"flex items-center gap-3 lg:hidden",children:(0,r.jsx)(tj,{channels:{isBoutiqueCollectionChannel:T,isTravelAssociatesChannel:I,isBackpackerdealsChannel:M,isAustraveltipsChannel:D,isSpaceShipsChannel:R,isWakacampaChannel:L,isStudentsChannel:F,isTravelloChannel:B,isMasterChannel:O,isRoaverActive:P,isJucyChannel:U,isYhaChannel:z,isLpkChannel:K},features:o,logoImage:v,logoStyle:Q,name:l??"",shouldShowContactPhoneNumber:s})}),(0,r.jsx)(E,{logoImage:v,name:l??"",logoStyle:Q})]}),(0,r.jsx)("div",{className:"flex flex-1 items-center gap-6 max-[991px]:justify-end",children:(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out max-[991px]:ml-auto min-[992px]:w-380px",children:(0,r.jsx)("div",{id:"searchInNav",className:(0,
107c.A)("flex transition-all duration-200 ease-in-out",!e&&"hidden p-0"),children:(0,r.jsx)(_,{isMobile:!k,onClick:()=>S((0,f.Z9)(!0))})})})}),M&&(0,r.jsx)("a",{href:"https://wa.me/61414145966",target:"_blank",rel:"noopener noreferrer",id:"WhatsappClick",title:"Chat with us on WhatsApp","aria-label":"Chat with us on WhatsApp",className:"flex h-8 w-8 items-center justify-center rounded-lg bg-green-500 md:hidden",children:(0,r.jsx)(p.EcP,{className:"text-lg text-white"})}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-3",children:[s&&(0,r.jsx)("div",{id:"CallClick",children:(0,r.jsx)(tx,{isMobile:!1,channels:{isYhaChannel:z,isBoutiqueCollectionChannel:T}})}),(0,r.jsx)("div",{className:"hidden md:flex",children:!y(n)&&(0,r.jsx)(tp,{textClassName:"font-medium text-sm"})}),(0,r.jsx)("div",{className:"hidden md:flex",children:o?.includes("user-accounts")&&(0,r.jsx)(e2,{})})]})]})}),(0,r.jsx)("div",{className:"relative z-10 hidden h-12 border-none lg:block",children:(0,r.jsxs)("div",{className:"font-sm mx-auto flex h-full w-full flex-nowrap items-center gap-4 py-2 font-medium",children:[(0,r.jsxs)("div",{className:"flex flex-1 items-center justify-end gap-4 lg:justify-start",children:[(0,r.jsx)(tv,{isBusPasses:q,isNewZealandMenu:W,variant:"desktop"}),(0,r.jsx)(eM,{variant:"desktop",menuShown:{isBusPasses:q,isRegionMenu:G}}),(0,r.jsx)(ed,{isOtherDestinationsMenu:Y,variant:"desktop",channels:{isMasterChannel:O}}),H&&(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out",children:(0,r.jsx)("a",{href:Z.link,id:Z.id,"aria-label":Z.title,className:"flex w-full items-center justify-center gap-2px whitespace-nowrap rounded-md border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none",children:Z.title})}),I&&(0,r.jsx)(e0,{variant:"desktop"}),O&&(0,r.jsx)(eQ,{isBusPasses:q}),$&&!O&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ez,{className:"whitespace-nowrap border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none lg:px-3",variant:"desktop",type:"campervans"}),(0,r.jsx)(ez,{className:"whitespace-nowrap border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none lg:px-3",variant:"desktop",type:"cars"})]}),!O&&q&&(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out",children:(0,r.jsx)(e$,{})}),D&&(0,r.jsx)("div",{className:"whitespace-nowrap border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none",children:(0,r.jsx)("a",{href:"/australia/all/bus-passes",id:"BusPassesClick",children:(0,r.jsxs)("p",{className:"text-xs font-normal md:text-sm",children:[(0,r.jsx)(p.K9k,{className:"mr-1.5 inline-block text-primary"}),"Bus Passes In Australia"]})})}),M&&(0,r.jsx)("div",{className:"whitespace-nowrap border-0 bg-transparent text-sm text-black hover:text-primary focus:outline-none focus-visible:outline-none",id:"BlogClick",children:(0,r.jsx)(e1,{})}),O&&(0,r.jsx)(eD,{}),U&&(0,r.jsx)(eZ,{variant:"desktop"})]}),(0,r.jsxs)("div",{className:"grid-cols-auto hidden grid-flow-col items-center justify-end lg:inline-grid",children:[(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out",children:(0,r.jsx)(eK,{channels:{isMasterChannel:O,isBackpackerdealsChannel:M}})}),V&&(0,r.jsx)("div",{className:"cursor-pointer self-center text-center transition-all duration-200 ease-in-out",children:(0,r.jsx)(eh,{channels:{isBackpackerdealsChannel:M,isTravelloChannel:B}})})]})]})})]})]})},tN=({channel:e,mainContainerClass:t,shouldShowContactPhoneNumber:a=!1})=>{let[s]=n();return(0,r.jsx)(tw,{isObscured:s,channel:e,mainContainerClass:t,shouldShowContactPhoneNumber:a})},tA=(0,eu.default)(()=>Promise.all([a.e(6005),a.e(6372)]).then(a.bind(a,26372)),{loadableGenerated:{webpack:()=>[26372]}}),tk=function(){return(0,r.jsx)(tA,{})},tC=({children:e,channel:t,bottomEl:a,shouldShowContactPhoneNumber:n})=>(0,s.m)().noLayout?(0,r.jsx)(r.Fragment,{children:e}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l,{initialValue:!0,children:[(0,r.jsx)(tN,{channel:t,shouldShowContactPhoneNumber:n}),(0,r.jsx)(d,{children:e})]}),a,(0,r.jsx)(tk,{})]})},98628:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(95155),s=a(2821);let n=({className:e,isFullScreenSearch:t})=>(0,r.jsx)("div",{className:(0,s.A)("absolute -right-1 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",e,t?"top-5 md:top-1/2":"top-1/2"),children:(0,r.jsx)("div",{className:"h-6 w-6 animate-spin rounded-full border-4 border-b-white border-l-white border-r-white border-t-primary"})})}},e=>{e.O(0,[6446,6711,4206,844,5897,5760,2545,4805,6965,5742,2577,9525,2989,8441,1255,7358],()=>e(e.s=48873)),_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.