(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53],{9284:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/about-us/[slug]",function(){return t(5264)}])},9755:function(e,n,t){"use strict";var s=t(5893),a=t(7773),r=t(1798),o=t(7294);n.Z=e=>{let[n,t]=(0,o.useState)(0),{t:c}=(0,r.$G)("common"),{title:i,description:l}=c("comingSoon",{returnObjects:!0});return(0,o.useEffect)(()=>{let e=document.querySelector("header");null==e||e.classList.add("!bg-primary","!relative"),t((null==e?void 0:e.clientHeight)||0)},[]),(0,s.jsx)("div",{className:"flex flex-col items-center justify-center h-screen bg-no-repeat bg-cover",style:{backgroundImage:"url(/images/common/coming-soon.jpeg)",backgroundPositionX:"center",backgroundPositionY:"75%",height:"calc(100vh - ".concat(n,"px)")},children:(0,s.jsxs)("div",{className:"bg-white bg-opacity-75 rounded-lg shadow-lg p-8 w-10/12 md:w-3/4 lg:w-5/12 lg:py-14",children:[(0,s.jsx)(a.Z,{variant:"h3",className:"text-center text-gray-800 mb-4",children:i}),(0,s.jsx)(a.Z,{className:"text-center text-gray-800 text-lg",children:l})]})})}},8024:function(e,n,t){"use strict";var s=t(5893),a=t(8567),r=t(7681),o=t(1466),c=t(7773),i=t(268),l=t(512),u=t(7294);n.Z=e=>{let{title:n,titleClassName:t,comingSoon:f,hero:d,content:p}=e,j={title:(0,i.fp)((0,i.ZU)(n||"Page")||"Page"),description:""};return(0,s.jsxs)(u.Fragment,{children:[n&&(0,s.jsx)(o.Z,{...j}),(0,s.jsx)(r.Z,{...d}),(0,s.jsx)(a.Z,{className:"content-modules",children:(0,s.jsxs)("div",{className:"py-10",children:[(0,s.jsx)(c.Z,{variant:"h3",className:(0,l.Z)("text-center uppercase mb-8",t),innerHTML:n}),(0,s.jsx)(c.Z,{as:"div",variant:"body1",className:"text-justify lg:text-left",innerHTML:(null==p?void 0:p.replace(/(<p>(\s|&nbsp;)*-\s.*?<\/p>(\s|&nbsp;)*)+/g,e=>{let n=e.split("<p>").filter(Boolean).map(e=>"<li>".concat(e.substring(e.indexOf("-")+1,e.length-4).trim(),"</li>")).join("");return"<ul>".concat(n,"</ul>")}))||p})]})})]})}},7681:function(e,n,t){"use strict";var s=t(5893),a=t(298),r=t(5976);t(7294);let o=e=>{let{images:n}=e;if(1===n.length){let e=n[0].src,t=n[0].alt;return(0,s.jsx)(a.Z,{className:"pt-hero max-h-hero",src:e,alt:t})}return(0,s.jsx)(r.Z,{children:n.map((e,n)=>(0,s.jsx)(r.Z.Item,{className:"w-full",children:(0,s.jsx)(a.Z,{className:"pt-hero max-h-hero",src:e.src,alt:e.alt})},n))})};n.Z=e=>{let{children:n,title:t,description:a,images:r}=e;return r?(0,s.jsx)("section",{className:"hero",children:(0,s.jsx)(o,{images:r})}):null}},298:function(e,n,t){"use strict";var s=t(5893),a=t(7294),r=t(5675),o=t.n(r),c=t(512);n.Z=e=>{let{src:n,alt:t,className:r,sources:i,fill:l="cover",...u}=e,f=(0,c.Z)("relative w-full",r),d=a.useRef(null),[p,j]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{d.current&&(d.current.onload=()=>{j(!1)})},[n]),(0,s.jsx)("figure",{className:f,children:i?(0,s.jsxs)("picture",{children:[i.map((e,n)=>(0,s.jsx)("source",{srcSet:e.srcSet,media:e.media},n)),(0,s.jsx)(o(),{ref:d,src:n,alt:t,className:"object-".concat(l),fill:!0,...u})]}):(0,s.jsx)(o(),{ref:d,src:n,alt:t,className:"object-".concat(l),fill:!0,...u})})}},1466:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var s=t(5893);t(7294);var a=t(9008),r=t.n(a),o=t(5697),c=t.n(o),i=t(1163);function l(e){let{route:n,locale:t}=(0,i.useRouter)(),{title:a,description:o}=e,c="https://skylineexpress.aero",l="".concat(c).concat("en"===t?"":"/".concat(t)).concat(n),u="".concat(a," | Skyline Express"),f=[16,32].map(e=>(0,s.jsx)("link",{rel:"icon",type:"image/png",href:"/favicon-".concat(e,"x").concat(e,".png"),sizes:"".concat(e,"x").concat(e)},e));return(0,s.jsxs)(r(),{children:[(0,s.jsx)("meta",{name:"description",content:o}),(0,s.jsx)("meta",{property:"og:site_name",content:c}),(0,s.jsx)("meta",{property:"og:type",content:"website"}),(0,s.jsx)("meta",{property:"og:title",content:a}),(0,s.jsx)("meta",{property:"og:description",content:o}),(0,s.jsx)("meta",{property:"og:locale",content:t}),(0,s.jsx)("meta",{property:"og:url",content:l}),(0,s.jsx)("title",{children:u}),(0,s.jsx)("link",{rel:"canonical",href:l}),(0,s.jsx)("link",{rel:"alternate",href:"".concat(c).concat(n),hrefLang:"en"}),(0,s.jsx)("link",{rel:"alternate",href:"".concat(c,"/ru").concat(n),hrefLang:"ru"}),(0,s.jsx)("link",{rel:"alternate",href:"".concat(c,"/tr").concat(n),hrefLang:"tr"}),(0,s.jsx)("link",{rel:"alternate",href:"".concat(c).concat(n),hrefLang:"x-default"}),f]})}l.propTypes={title:c().string.isRequired,description:c().string.isRequired}},5976:function(e,n,t){"use strict";var s=t(5893),a=t(7294),r=t(9382),o=t(7451),c=t(512);let i=e=>{let{className:n,selected:t,onClick:a,style:r,...o}=e;return(0,s.jsx)("button",{className:(0,c.Z)(" w-2 h-2 rounded-lg mx-1 transition-all duration-300 bg-primary",t?"!w-6":"bg-opacity-50",n),onClick:a,style:r,...o})},l=e=>{let{children:n,className:t,sliderProps:l={align:"start",containScroll:"trimSnaps"},autoplay:u=!1}=e,[f,d]=(0,a.useState)(0),[p,j]=(0,a.useState)([]),[g,m]=(0,r.Z)({align:"start",containScroll:"trimSnaps",...l},u?[(0,o.Z)()]:[]),h=(0,a.useCallback)(e=>m&&m.scrollTo(e),[m]),x=(0,a.useCallback)(e=>{var n;d(null!==(n=null==e?void 0:e.selectedScrollSnap())&&void 0!==n?n:0)},[]),v=(0,a.useCallback)(e=>{var n;j(null!==(n=null==e?void 0:e.scrollSnapList())&&void 0!==n?n:[])},[]);return(0,a.useEffect)(()=>{m&&(v(m),m.on("reInit",v),m.on("reInit",x),m.on("select",x))},[m,v]),(0,s.jsxs)("div",{ref:g,className:"slider",children:[(0,s.jsx)("div",{className:(0,c.Z)("slider-container",t),children:n}),(null==p?void 0:p.length)>1&&(0,s.jsx)("div",{className:"flex justify-center mt-4",children:p.map((e,n)=>{let t=0,a=(0,c.Z)("inline-block relative",{hidden:n+2<f||n-2>f});return n===f?t=1:1===Math.abs(n-f)?t=.66:2===Math.abs(n-f)&&(t=.33),(0,s.jsx)(i,{selected:n===f,onClick:()=>h(n),className:a,style:{transform:"scale(".concat(t,")"),transition:"all 0.3s"}},n)})})]})};l.Item=e=>{let{children:n,className:t}=e,a=(0,c.Z)("slider-item",t);return(0,s.jsx)("div",{className:a,children:n})},n.Z=l},268:function(e,n,t){"use strict";t.d(n,{T5:function(){return s},ZU:function(){return a},fp:function(){return r}});let s="https://webapitest.anextour.com",a=e=>e.replace(/<\/p><p>/g," ").replace(/<[^>]*>?/gm,""),r=e=>{if("string"!=typeof e)throw Error("Invalid input. The input should be a string.");return 0===e.length?e:e.split(" ").map(e=>0===e.length?e:e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" ")}},5264:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return i}});var s=t(5893),a=t(8024),r=t(9755),o=t(7294),c=t(1163),i=!0;n.default=e=>{let{slug:n}=e,{locale:i}=(0,c.useRouter)(),[l,u]=(0,o.useState)([]);return((0,o.useEffect)(()=>{t(8140)("./".concat(i,"/").concat(n,".json")).then(e=>{u(e.default)})},[n]),l.comingSoon)?(0,s.jsx)(r.Z,{}):(0,s.jsx)(a.Z,{...l})}},8140:function(e,n,t){var s={"./en/baggage.json":[5759,759],"./en/common.json":[3172,172],"./en/conditions-of-contract-and-other-important-notices.json":[6030,30],"./en/contact-us.json":[9576,576],"./en/destinations.json":[5791,791],"./en/free-baggage-rates-and-additional-fees.json":[883,883],"./en/general-information.json":[3704,704],"./en/home.json":[4243,243],"./en/our-fleet.json":[4921,921],"./en/privacy-policy.json":[4223,223],"./en/regulations-for-transportation-of-passengers-and-baggage.json":[5393,393],"./en/rules-of-conduct-on-board.json":[8350,350],"./en/safety.json":[7405,409],"./en/sample.json":[7152,152],"./en/security.json":[5737,737],"./en/transportation-of-animals.json":[7651,651],"./en/transportation-of-specific-categories-of-passengers.json":[4009,9],"./en/vacancies.json":[227,227],"./en/visa-information.json":[9906,984],"./ua/baggage.json":[1831,831],"./ua/common.json":[3245,245],"./ua/conditions-of-contract-and-other-important-notices.json":[2424,424],"./ua/contact-us.json":[3738,738],"./ua/destinations.json":[8746,746],"./ua/free-baggage-rates-and-additional-fees.json":[2580,580],"./ua/general-information.json":[3103,103],"./ua/home.json":[3188,188],"./ua/our-fleet.json":[3426,426],"./ua/privacy-policy.json":[2605,605],"./ua/regulations-for-transportation-of-passengers-and-baggage.json":[36,36],"./ua/rules-of-conduct-on-board.json":[3307,307],"./ua/safety.json":[6521,521],"./ua/sample.json":[8828,828],"./ua/security.json":[5245,952],"./ua/transportation-of-animals.json":[2308,308],"./ua/transportation-of-specific-categories-of-passengers.json":[8274,274],"./ua/vacancies.json":[1427,427],"./ua/visa-information.json":[6660,660]};function a(e){if(!t.o(s,e))return Promise.resolve().then(function(){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n});var n=s[e],a=n[0];return t.e(n[1]).then(function(){return t.t(a,19)})}a.keys=function(){return Object.keys(s)},a.id=8140,e.exports=a}},function(e){e.O(0,[864,888,774,179],function(){return e(e.s=9284)}),_N_E=e.O()}]);