%PDF- %PDF-
Direktori : /var/www/html/.next/static/chunks/pages/tours/ |
Current File : /var/www/html/.next/static/chunks/pages/tours/[slug]-ec8a9435a1c93936.js |
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[113],{4604:function(e,i,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tours/[slug]",function(){return s(8447)}])},8447:function(e,i,s){"use strict";s.r(i),s.d(i,{__N_SSP:function(){return g}});var n=s(5893),l=s(7294),a=s(1163),t=s(5675),o=s.n(t),d=s(4298),r=s.n(d),c=s(5935),u=s(787),h=s(8352),v=(s(933),s(8698),s(8777)),x=s(4078),j=s(5024),m=s(990),p=s(6546),b=s.n(p);m.ZP.registerPlugin(b());var g=!0;i.default=function(e){var i=e.data,s=e.title,t=e.seo,d=(0,a.useRouter)(),m=(0,l.useState)({}),p=m[0],b=m[1],g=(0,l.useState)(1),_=g[0],f=g[1],N=(0,l.useState)(!1),k=(N[0],N[1]),w=(0,l.forwardRef)((function(e,i){var s=e.value,l=e.onClick;return(0,n.jsxs)("div",{className:"dateInput",onClick:function(){return k(!0)},children:[(0,n.jsx)(v.Qu,{}),(0,n.jsx)("label",{onClick:l,ref:i,children:s||placeholder})]})}));return w.displayName="CustomDateInput",(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.Z,{data:t}),(0,n.jsx)(r(),{src:"https://widgets.bokun.io/assets/javascripts/apps/build/BokunWidgetsLoader.js?bookingChannelUUID=0d4eaba0-0578-4436-8cbd-fac0d53a0473"}),(0,n.jsxs)("div",{className:"mainTourDetails",children:[(0,n.jsx)("div",{className:"animationWrap",children:(0,n.jsxs)("div",{className:"animate",children:[(0,n.jsxs)("div",{className:"items sec",children:[(0,n.jsx)("span",{children:"Tours"}),(0,n.jsx)("span",{children:"Tours"})]}),(0,n.jsxs)("div",{className:"items",children:[(0,n.jsx)("span",{children:"Tours"}),(0,n.jsx)("span",{children:"Tours"})]})]})}),(0,n.jsx)("div",{className:"content",children:(0,n.jsxs)("div",{className:"contentWrapper",children:[(0,n.jsx)("div",{className:"toursDiv",children:(0,n.jsx)("h4",{children:"Tour"})}),(0,n.jsx)("h1",{children:s}),(0,n.jsxs)("div",{className:"intro",children:[(0,n.jsxs)("div",{className:"introSpecs",children:[(0,n.jsxs)("h3",{children:["Tour Duration: ",(0,n.jsxs)("span",{children:[" ",null===i||void 0===i?void 0:i.tour_duration]})]}),(0,n.jsxs)("h3",{children:["Starting Times: ",(0,n.jsxs)("span",{children:[null===i||void 0===i?void 0:i.starting_time," "]})]})]}),(0,n.jsx)("div",{className:"image",children:(0,n.jsx)(o(),{src:null===i||void 0===i?void 0:i.image_hero,alt:"",layout:"responsive",width:1240,height:650,objectFit:"cover"})}),(0,n.jsxs)("div",{className:"about",children:[(0,n.jsxs)("div",{className:"info",children:[(0,n.jsx)("div",{className:"aboutDiv",children:(0,n.jsx)("h4",{children:null===i||void 0===i?void 0:i.small_title_about})}),(0,n.jsx)("h1",{children:(0,c.ZP)(null===i||void 0===i?void 0:i.title_about)}),(0,n.jsx)("p",{children:(0,c.ZP)(null===i||void 0===i?void 0:i.description_about)})]}),(0,n.jsxs)("div",{className:"imgInfo",children:[(0,n.jsx)("h5",{children:null===i||void 0===i?void 0:i.max_people}),(0,n.jsx)("div",{className:"img",children:(0,n.jsx)(o(),{src:null===i||void 0===i?void 0:i.image_about,alt:"",width:586,height:615,objectFit:"contain",quality:100})})]})]})]})]})}),(0,n.jsxs)("div",{className:"pagination",children:[(0,n.jsx)(x.PE,{}),null===i||void 0===i?void 0:i.slider.map((function(e,i){return(0,n.jsxs)("span",{onClick:function(){f(i+1),p.slideTo(i)},className:i+1===_?"active-pagination":"",style:{backgroundColor:i+1===_?"#f26739":""},children:["0",i+1]},i+1)}))]}),(0,n.jsx)("div",{className:"slides",children:(0,n.jsxs)(h.tq,{spaceBetween:100,slidesPerView:1,onInit:function(e){return b(e)},onSlideChange:function(){return f(p.activeIndex+1)},children:[null===i||void 0===i?void 0:i.slider.map((function(e,i){return(0,n.jsx)(h.o5,{children:(0,n.jsxs)("div",{className:"swiperContent",children:[(0,n.jsxs)("div",{className:"text",children:[(0,n.jsx)("div",{className:"pointDiv",children:(0,n.jsx)("h5",{children:null===e||void 0===e?void 0:e.small_title_slider})}),(0,n.jsx)("h2",{children:(0,c.ZP)(null===e||void 0===e?void 0:e.title_slider)}),(0,n.jsx)("p",{children:(0,c.ZP)(null===e||void 0===e?void 0:e.description_slider)})]}),(0,n.jsx)("div",{className:"image",children:(0,n.jsx)(o(),{src:null===e||void 0===e?void 0:e.image_slider,alt:"",width:400,height:500,objectFit:"contain"})})]})},i)})),(0,n.jsxs)("div",{className:"buttons",children:[(0,n.jsx)("button",{onClick:function(){p.slidePrev(),f(p.activeIndex+1)},children:(0,n.jsx)(v.s$,{})}),(0,n.jsx)("button",{onClick:function(){p.slideNext(),f(p.activeIndex+1)},children:(0,n.jsx)(v._Q,{})})]})]})})]}),(0,n.jsxs)("div",{className:"bookNow",children:[(0,n.jsx)("div",{className:"animationWrap",children:(0,n.jsxs)("div",{className:"animate",children:[(0,n.jsxs)("div",{className:"items sec",children:[(0,n.jsx)("span",{children:"Book"}),(0,n.jsx)("span",{children:"Book"})]}),(0,n.jsxs)("div",{className:"items",children:[(0,n.jsx)("span",{children:"Book"}),(0,n.jsx)("span",{children:"Book"})]})]})}),(0,n.jsxs)("div",{className:"bookIntro",children:[(0,n.jsx)("div",{className:"bookNowDiv",children:(0,n.jsx)("h4",{children:null===i||void 0===i?void 0:i.small_title_book})}),(0,n.jsx)("h2",{children:null===i||void 0===i?void 0:i.small_title_book}),(0,n.jsx)("h1",{children:(0,c.ZP)(null===i||void 0===i?void 0:i.title_book)})]}),(0,n.jsxs)("div",{className:"bookContent",children:[(0,n.jsxs)("div",{className:"requirements",children:[(0,n.jsxs)("div",{className:"included",children:[(0,n.jsx)("h1",{children:"Included in price"}),(0,n.jsx)("ul",{children:null===i||void 0===i?void 0:i.price_includes.map((function(e,i){return(0,n.jsxs)("li",{children:[(0,n.jsx)(v.vz,{})," ",e.text]},i)}))})]}),(0,n.jsx)(x.oV,{}),(0,n.jsx)("div",{className:"whatToBring",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{children:"What to bring"}),(0,n.jsx)("ul",{children:null===i||void 0===i?void 0:i.what_to_bring.map((function(e,i){return(0,n.jsxs)("li",{children:[(0,n.jsx)(o(),{src:null===e||void 0===e?void 0:e.icon,alt:"",width:24,height:24,objectFit:"contain"})," ",(0,n.jsx)("span",{children:null===e||void 0===e?void 0:e.text})]},i)}))})]})}),(0,n.jsx)(x.oV,{}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{children:"Requirements"}),(0,n.jsx)("ul",{children:null===i||void 0===i?void 0:i.requirments.map((function(e,i){return(0,n.jsxs)("li",{children:[(0,n.jsx)(v.vz,{})," ",e.text]},i)}))})]}),(0,n.jsxs)("div",{className:"vehicles",children:[(0,n.jsx)(x.oV,{}),(0,n.jsx)("p",{children:null===i||void 0===i?void 0:i.footnote})]})]}),(0,n.jsxs)("div",{className:"calendar",children:[(0,n.jsx)("h3",{className:"calendar_heading",children:"Unforgettable adventure start here!"}),(0,n.jsxs)("div",{className:"tourInfo",children:[(0,n.jsx)("h1",{children:"Tour Information"}),(0,n.jsxs)("h2",{children:["Name: ",(0,n.jsx)("span",{children:s})]}),(0,n.jsxs)("h2",{children:["Tour capacity: ",(0,n.jsxs)("span",{children:[" ",null===i||void 0===i?void 0:i.max_people," "]})]}),(0,n.jsxs)("h2",{children:["Tour duration: ",(0,n.jsx)("span",{children:null===i||void 0===i?void 0:i.tour_duration})]}),(0,n.jsxs)("div",{className:"calendarBook",children:[(0,n.jsxs)("div",{className:"book-inner-price-info",children:[(0,n.jsxs)("div",{className:"book-block",children:[(0,n.jsx)("p",{children:null===i||void 0===i?void 0:i.single_price_label}),(0,n.jsx)("h3",{children:(0,c.ZP)(null===i||void 0===i?void 0:i.price)})]}),(0,n.jsxs)("div",{className:"book-block",children:[(0,n.jsx)("p",{children:null===i||void 0===i?void 0:i.double_price_label}),(0,n.jsx)("h3",{children:(0,c.ZP)(null===i||void 0===i?void 0:i.double_price)})]})]}),"atv-dubrovnik-safari-tour"===d.query.slug?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("button",{className:"book bokunButton",id:"bokun_d12823a2_e3ad_43b0_b007_232e02cf2cc1","data-src":"https://widgets.bokun.io/online-sales/0d4eaba0-0578-4436-8cbd-fac0d53a0473/experience/741862?partialView=1","data-testid":"widget-book-button",children:[(0,n.jsx)("div",{className:"arrows",children:(0,n.jsx)(v.CG,{})}),(0,n.jsx)("span",{children:"Book Now"})]})}):"buggy-dubrovnik-safari-tour"===d.query.slug?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("button",{className:"book bokunButton",id:"bokun_aae68d0c_785b_444c_81e3_12cc7225b5bd","data-src":"https://widgets.bokun.io/online-sales/0d4eaba0-0578-4436-8cbd-fac0d53a0473/experience/706501?partialView=1","data-testid":"widget-book-button",children:[" ",(0,n.jsx)("div",{className:"arrows",children:(0,n.jsx)(v.CG,{})}),(0,n.jsx)("span",{children:"Book Now"})]})}):"buggy-panorama-dubrovnik"===d.query.slug?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("button",{className:"book bokunButton",id:"bokun_c2700c8b_3711_44b6_8aaa_319f4a71c203","data-src":"https://widgets.bokun.io/online-sales/0d4eaba0-0578-4436-8cbd-fac0d53a0473/experience/706500?partialView=1","data-testid":"widget-book-button",children:[" ",(0,n.jsx)("div",{className:"arrows",children:(0,n.jsx)(v.CG,{})}),(0,n.jsx)("span",{children:"Book Now"})]})}):""]})]}),(0,n.jsx)("p",{className:"important-info",children:(0,c.ZP)(null===i||void 0===i?void 0:i.important_info)})]})]})]}),(0,n.jsx)(j.Z,{})]})}},5024:function(e,i,s){"use strict";var n=s(5893),l=s(7294),a=s(1664),t=s.n(a),o=s(8777),d=s(5935),r=s(3308);i.Z=function(){var e,i,s,a,c,u,h,v,x=(0,l.useState)(!1),j=x[0],m=x[1],p=(0,r.b)().footer;return(0,n.jsx)("div",{className:"mainContact",children:(0,n.jsxs)("div",{className:"footer",style:{padding:"2rem 16.2rem"},children:[(0,n.jsxs)("a",{href:"https://digitalpresent.io/",target:"_blank",rel:"noopener noreferrer","aria-label":"developed by Digital Present",className:"developed",children:[(0,n.jsx)("p",{className:"developed__p",children:"Developed by"}),(0,n.jsx)(o.V7,{color:"#fff"})]}),(0,n.jsxs)("p",{children:["Copyright ",(new Date).getFullYear()," ATV. All rights reserved."]}),null===p||void 0===p||null===(e=p.footer)||void 0===e?void 0:e.slice(0,1).map((function(e,i){return(0,n.jsxs)("div",{className:"legal",children:[(0,n.jsx)("p",{onClick:function(){m(!0),document.querySelector("html").classList.add("overflowHidden")},children:null===e||void 0===e?void 0:e.title}),(0,n.jsx)("div",{className:"legal-modal",style:{display:j?"flex":"none"},children:(0,n.jsxs)("div",{className:"legal-modal-content",children:[(0,n.jsx)("button",{onClick:function(e){m(!1),document.querySelector("html").classList.remove("overflowHidden")},children:(0,n.jsx)(o.Tw,{})}),(0,n.jsx)("p",{children:(0,d.ZP)(null===p||void 0===p?void 0:p.legal)})]})})]},i)})),null===p||void 0===p||null===(i=p.footer)||void 0===i?void 0:i.slice(1).map((function(e,i){return(0,n.jsx)("div",{className:"terms",children:(0,n.jsx)(t(),{href:"/".concat(e.slug),passHref:!0,children:(0,n.jsx)("p",{children:e.title})})},i)})),(0,n.jsxs)("div",{className:"icons",children:["".concat(null===p||void 0===p||null===(s=p.socials)||void 0===s?void 0:s.tw)?(0,n.jsx)("a",{href:"".concat(null===p||void 0===p||null===(a=p.socials)||void 0===a?void 0:a.tw),children:(0,n.jsx)(o.Zm,{})}):"","".concat(null===p||void 0===p||null===(c=p.socials)||void 0===c?void 0:c.in)?(0,n.jsx)("a",{href:"".concat(null===p||void 0===p||null===(u=p.socials)||void 0===u?void 0:u.in),children:(0,n.jsx)(o.kd,{})}):"","".concat(null===p||void 0===p||null===(h=p.socials)||void 0===h?void 0:h.fb)?(0,n.jsx)("a",{href:"".concat(null===p||void 0===p||null===(v=p.socials)||void 0===v?void 0:v.fb),children:(0,n.jsx)(o.BM,{})}):""]})]})})}},787:function(e,i,s){"use strict";var n=s(5893),l=s(9008),a=s.n(l);i.Z=function(e){var i,s,l;return(0,n.jsxs)(a(),{children:[(0,n.jsx)("link",{rel:"canonical",href:e.data.og_url.replace("api.","")}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, user-scalable=0"}),(0,n.jsx)("title",{children:e.data.title}),(0,n.jsx)("meta",{name:"title",content:e.data.title}),(0,n.jsx)("meta",{name:"description",content:null!==(i=e.data.description)&&void 0!==i?i:"ATV Dubrovnik"}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:url",content:e.data.og_url.replace("api.","")}),(0,n.jsx)("meta",{property:"og:title",content:e.data.title}),(0,n.jsx)("meta",{property:"og:description",content:null!==(s=e.data.description)&&void 0!==s?s:"ATV Dubrovnik"}),(0,n.jsx)("meta",{property:"og:image",content:e.data.og_image?e.data.og_image.url:"https://api.atvbuggy-dubrovnik.com/wp-content/uploads/2022/08/atv_dubrovnik.png"}),(0,n.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{property:"twitter:url",content:e.data.og_url.replace("api.","")}),(0,n.jsx)("meta",{property:"twitter:title",content:e.data.title}),(0,n.jsx)("meta",{property:"twitter:description",content:null!==(l=e.data.description)&&void 0!==l?l:"ATV Dubrovnik"}),(0,n.jsx)("meta",{property:"twitter:image",content:e.data.og_image?e.data.og_image.url:"https://api.atvbuggy-dubrovnik.com/wp-content/uploads/2022/08/atv_dubrovnik.png"}),(0,n.jsx)("script",{src:"https://www.googletagmanager.com/gtag/js?id=G-YP99VQ2N62"}),(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', 'G-YP99VQ2N62');"}})]})}},8698:function(){},9008:function(e,i,s){e.exports=s(5443)},4298:function(e,i,s){e.exports=s(699)}},function(e){e.O(0,[666,873,774,888,179],(function(){return i=4604,e(e.s=i);var i}));var i=e.O();_N_E=i}]);