1"use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}document.addEventListener("DOMContentLoaded",(function(){var e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(e,"px")),window.addEventListener("resize",(function(){var e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(e,"px"))}));var t=document.querySelectorAll(".page-inner__heading");t&&t.forEach((function(e){e.innerHTML&&(console.log(e.innerHTML.length),e.innerHTML.length>60&&e.innerHTML.length<=149?e.style.fontSize="64px":e.innerHTML.length>150&&(e.style.fontSize="52px"))}));function r(e){for(var t=document.getElementById(e),r=t.offsetTop,n=t;n.offsetParent&&n.offsetParent!=document.body;)r+=(n=n.offsetParent).offsetTop;return r}function n(e){if(document.getElementById(e)){var t=self.pageYOffset?self.pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop?document.body.scrollTop:0,n=document.querySelector(".header")?r(e)-Number(document.querySelector(".header").getBoundingClientRect().height+20):r(e),a=n>t?n-t:t-n;if(a<100)scrollTo(0,n);else{var o=Math.round(a/100);o>=20&&(o=20);var i=Math.round(a/25),l=n>t?t+i:t-i,c=0;if(n>t)for(var s=t;s<n;s+=i)setTimeout("window.scrollTo(0, "+l+")",c*o),(l+=i)>n&&(l=n),c++;else for(var d=t;d>n;d-=i)setTimeout("window.scrollTo(0, "+l+")",c*o),(l-=i)<n&&(l=n),c++}}}var a=document.querySelectorAll('a[href^="#"]');a.length>0&&a.forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),e.getAttribute("href").length>1&&n(e.getAttribute("href").slice(1))}))}));var o=document.querySelectorAll("textarea");o.length>0&&o.forEach((function(e){e.style.height=e.setAttribute("style","height: "+e.scrollHeight+"px"),e.classList.add("auto"),e.addEventListener("input",(function(t){e.style.height="auto",e.style.height=e.scrollHeight+"px"}))}));var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400;e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=e.offsetHeight+"px",e.offsetHeight,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.previousElementSibling.style.pointerEvents="none",window.setTimeout((function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.previousElementSibling.style.pointerEvents="auto"}),t),e.parentNode.classList.remove("is--open")},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400;e.style.removeProperty("display");var r=window.getComputedStyle(e).display;"none"===r&&(r="block"),e.style.display=r;var n=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.offsetHeight,e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=n+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.previousElementSibling.style.pointerEvents="none",window.setTimeout((function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.previousElementSibling.style.pointerEvents="auto"}),t),e.parentNode.classList.add("is--open")},c=document.querySelectorAll("button.c-accordeon__trigger"),s=document.querySelectorAll(".footer__subtitle"),d=document.querySelectorAll(".c-flight-board__trigger"),u=document.querySelectorAll(".c-board-list__trigger");c.length>
10&&c.forEach((function(e){e.addEventListener("click",(function(t){e.nextElementSibling&&(t.preventDefault(),e.parentNode.classList.contains("is--open")?i(e.nextElementSibling):l(e.nextElementSibling))}))})),s.length>0&&window.innerWidth<=1023&&s.forEach((function(e){e.addEventListener("click",(function(t){e.nextElementSibling&&(t.preventDefault(),e.parentNode.classList.contains("is--open")?i(e.nextElementSibling):l(e.nextElementSibling))}))})),d.length>0&&document.addEventListener("click",(function(e){var t=e.target.closest(".c-flight-board__trigger");if(t){e.preventDefault();var r=t.closest(".c-flight-board__item"),n=r.querySelector(".c-flight-board__item-dropdown");r.classList.contains("is--open")?i(n):l(n)}})),u.length>0&&document.addEventListener("click",(function(e){var t=e.target.closest(".c-board-list__trigger");if(t){e.preventDefault();var r=t.closest(".c-board-list__item"),n=r.querySelector(".c-board-list__item-dropdown");r.classList.contains("is--open")?i(n):l(n)}}));var m=document.querySelector(".c-language");m&&m.addEventListener("click",(function(e){var t=m.querySelectorAll(".c-language__value").length,r=m.querySelector(".c-language__value--active"),n=_toConsumableArray(m.querySelectorAll(".c-language__value")).indexOf(r);n>=t-1?(m.querySelectorAll(".c-language__value").forEach((function(e){return e.classList.remove("c-language__value--active")})),m.querySelectorAll(".c-language__value")[0].classList.add("c-language__value--active")):(m.querySelectorAll(".c-language__value").forEach((function(e){return e.classList.remove("c-language__value--active")})),m.querySelectorAll(".c-language__value")[n+1].classList.add("c-language__value--active"))}));var f=document.querySelectorAll(".c-language-list__item");f.length>0&&f.forEach((function(e,t){e.addEventListener("click",(function(){e.closest(".c-language-list").querySelectorAll(".c-language-list__item").forEach((function(e){return e.classList.remove("c-language-list__item--active")})),e.classList.add("c-language-list__item--active")}))}));var h=document.getElementById("hamburger-toggle"),v=document.getElementById("menu"),y=document.getElementById("menu-overlay"),p=document.querySelectorAll(".menu__close");h&&v&&y&&(h.addEventListener("click",(function(e){e.preventDefault(),v.classList.contains("menu--active")||(v.classList.add("menu--active"),y.classList.add("menu-overlay--active"))})),y.addEventListener("click",(function(e){e.preventDefault(),v.classList.contains("menu--active")&&(v.classList.remove("menu--active"),y.classList.remove("menu-overlay--active"))})),p.length>0&&p.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),v.classList.contains("menu--active")&&(v.classList.remove("menu--active"),y.classList.remove("menu-overlay--active"),setTimeout((function(){document.querySelectorAll(".menu__holder").forEach((function(e){return e.classList.remove("is--active")})),document.querySelector(".menu__holder[data-menu-holder=main]").classList.add("is--active")}),300))}))})));var g=document.querySelectorAll(".menu-nav__link");g.length>0&&g.forEach((function(e){e.addEventListener("mouseover",(function(){var t=e.closest(".menu-nav");e.dataset.submenuId&&(t.querySelectorAll(".menu-nav__link.is--active, .menu-nav__submenu.is--active").forEach((function(e){return e.classList.remove("is--active")})),e.classList.add("is--active"),t.querySelector(".menu-nav__sub .menu-nav__submenu:nth-child("+(1+~~e.dataset.submenuId)+")").classList.add("is--active"))}))}));var _=document.querySelectorAll(".js-select");_.length>0&&_.forEach((function(e){new SlimSelect({select:e})}));var b=document.getElementById("board-table");window.boardConfig=window.boardConfig||{type:"departure",day:"today"},"function"!=typeof updateBoardTable&&(window.updateBoardTable=function(e,t){var r=new XMLHttpRequest;r.open("GET","/flight-tables/".concat(boardConfig.type).concat("_").concat(boardConfig.day).concat(".html"),!1),r.send(),200!==r.status&&t&&"function"==typeof t&&t(r),b.innerHTML=r.response,e&&"function"==typeof e&&e(r)}),"function"!=typeof updateWeather&&(window.updateWeather=function(e){var t=document.getElementById("weather-wrap"),r=document.getElementById("weather");if(t&&r&&boardConfig.weather){var n=boardConfig.weather[flatpickr.formatDate(e,"d.m.Y")];n?(t.style.display="block",n.current.length>0?r.innerHTML=n.current+"°":n.min.length>0&&n.max.length>0&&(r.innerHTML=n.max+"° / "+n.min+"°")):t.style.display="none"}});var w=document.querySelectorAll(".flight-tabs__item");w.length>
10&&w.forEach((function(e,t){e.addEventListener("click",(function(){boardConfig.type=e.id,updateBoardTable((function(){w.forEach((function(t){t.classList.toggle("flight-tabs__item--active",t===e)}))}))}))}));var E=document.querySelectorAll(".flight-board__sort .c-sort__input");E.length>0&&E.forEach((function(e){e.addEventListener("click",(function(t){boardConfig.day=e.id,updateBoardTable((function(){var e=new Date;switch(boardConfig.day){case"yesterday":e.setDate(e.getDate()-1);break;case"tomorrow":e.setDate(e.getDate()+1);break;case"after_tomorrow":e.setDate(e.getDate()+2)}if(L){var t=L._flatpickr,r=L.querySelector("#alt-date");t.setDate(t.formatDate(e,t.config.dateFormat),!1),r&&(r.innerText=t.formatDate(e,t.config.altDateFormat))}updateWeather(e)}),(function(){t.preventDefault()}))}))}));var L=document.querySelector(".calendar-js");if(L){var S=new Date,q=L.querySelector("#alt-date"),A=flatpickr(L,{locale:document.querySelector("html").lang||"ru",position:"auto right",altDateFormat:"D, j M",prevArrow:'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11 2L6 8L11 14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',nextArrow:'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 14L11 8L6 2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',enable:window.boardConfig.dates||[(new Date).setDate(S.getDate()-1),S,(new Date).setDate(S.getDate()+1),(new Date).setDate(S.getDate()+2)],onChange:function(e,t,r){if(0===e.length)return!1;var n=new Date,a=boardConfig.day,o=e[e.length-1];switch(boardConfig.day=r.formatDate(o,"d.m.Y"),n.setHours(0,0,0,0),(o.getTime()-n.getTime())/864e5){case-1:boardConfig.day="yesterday";break;case 0:boardConfig.day="today";break;case 1:boardConfig.day="tomorrow";break;case 2:boardConfig.day="after_tomorrow"}"function"==typeof updateBoardTable&&updateBoardTable((function(){var e=document.getElementById(boardConfig.day);if(q&&(q.innerText=r.formatDate(o,r.config.altDateFormat)),e)e.checked=!0;else{var t=document.getElementById(a);t&&(t.checked=!1)}updateWeather(o)}),(function(){r.setDate(A.formatDate(new Date,r.config.dateFormat),!1)}))},defaultDate:flatpickr.formatDate(S,"Y-m-d")});q&&(q.innerText=A.formatDate(S,A.config.altDateFormat))}var k=document.querySelector("#time");if(k){var D=function(){var e=new Date;k.innerText="".concat((e.getUTCHours()+3).toString().padStart(2,"0")).concat(":").concat(e.getUTCMinutes().toString().padStart(2,"0"))};new Date;setTimeout((function(){D(),setInterval(D,1e3)}),1e3-(new Date).getMilliseconds())}var T=document.querySelector(".flight-search-popup__input"),x=document.querySelector(".flight-search-popup__btn--search"),B=document.querySelector(".flight-search-popup__btn--clear"),P=document.getElementById("flight-search-popup"),C=document.getElementById("flight-search-results"),I=document.querySelector(".flight-search"),H=document.querySelector(".flight-search-popup__overlay");T&&x&&B&&(T.addEventListener("input",(function(){T.value.length>0?(x.style.display="none",B.style.display="block"):(x.style.display="block",B.style.display="none")})),B.addEventListener("click",(function(e){e.preventDefault(),T.value.length>0&&(T.value="",x.style.display="block",B.style.display="none"),C.innerHTML=""}))),P&&I&&H&&(I.addEventListener("click",(function(e){e.preventDefault(),P.classList.add("flight-search-popup--active"),document.body.classList.add("scroll-disabled"),T&&setTimeout((function(){return T.focus()}),100)})),H.addEventListener("click",(function(e){e.preventDefault(),P.classList.remove("flight-search-popup--active"),document.body.classList.remove("scroll-disabled"),B.click(),C.innerHTML=""})));var M=document.querySelector(".scheme__switch--terminal"),V=document.querySelector(".scheme__switch--floor");M&&M.addEventListener("click",(function(e){e.preventDefault();var t=M.querySelector("input[type=checkbox]");document.querySelectorAll(".scheme__holder").forEach((function(e){return e.classList.remove("is--active")})),!1===t.checked?(t.checked=!0,document.querySelector('.scheme__holder[data-scheme-id="B"]').classList.add("is--active")):(t.checked=!1,document.querySelector('.scheme__holder[data-scheme-id="A"]').classList.add("is--active"))})),V&&V.addEventListener("click",(function(e){e.preventDefault();var t=V.querySelector("input[type=checkbox]");document.querySelectorAll(".scheme__box").forEach((function(e){return e.classList.remove("is--active")})),!1===t.checked?(t.checked=!0,document.querySelectorAll('.scheme__box[data-box-id="second"]').forEach((function(e){return e.classList.add("is--active")}))):(t.checked=!1,document.querySelectorAll('.scheme__box[data-box-id="first"]').forEach((function(e){return e.classList.add("is--active")})))}
1));var j=document.querySelectorAll(".scheme-list__elem"),F=document.querySelectorAll(".scheme__area"),W=document.querySelectorAll(".scheme__icon-area");j.length>0&&F.length>0&&W.length>0&&(j.forEach((function(e){e.addEventListener("mouseover",(function(t){t.preventDefault();var r=e.closest(".scheme__wrapper"),n=r.querySelectorAll(".scheme-list__elem"),a=r.querySelectorAll(".scheme__area"),o=r.querySelectorAll(".scheme__icon");n.forEach((function(e){return e.classList.remove("is--active")})),a.forEach((function(e){return e.classList.add("is--hidden")})),o.forEach((function(e){return e.classList.add("is--hidden")})),e.classList.add("is--active"),e.dataset.area&&(r.querySelectorAll('.scheme__icon[data-area-icon="'+e.dataset.area+'"]').forEach((function(e){return e.classList.remove("is--hidden")})),r.querySelectorAll('.scheme__area[data-area="'+e.dataset.area+'"]').forEach((function(e){return e.classList.remove("is--hidden")})))})),e.addEventListener("mouseout",(function(t){t.preventDefault();var r=e.closest(".scheme__wrapper"),n=r.querySelectorAll(".scheme-list__elem"),a=r.querySelectorAll(".scheme__area"),o=r.querySelectorAll(".scheme__icon");n.forEach((function(e){return e.classList.remove("is--active")})),a.forEach((function(e){return e.classList.remove("is--hidden")})),o.forEach((function(e){return e.classList.remove("is--hidden")}))}))})),F.forEach((function(e){e.addEventListener("mouseover",(function(t){t.preventDefault();var r=e.closest(".scheme__wrapper"),n=r.querySelectorAll(".scheme__area"),a=r.querySelectorAll(".scheme__icon");n.forEach((function(e){return e.classList.add("is--hidden")})),a.forEach((function(e){return e.classList.add("is--hidden")})),e.classList.remove("is--hidden"),e.dataset.area&&(r.querySelectorAll('.scheme__icon[data-area-icon="'+e.dataset.area+'"]').forEach((function(e){return e.classList.remove("is--hidden")})),r.querySelectorAll('.scheme__area[data-area="'+e.dataset.area+'"]').forEach((function(e){return e.classList.remove("is--hidden")})),r.querySelectorAll('.scheme-list__elem[data-area="'+e.dataset.area+'"]').forEach((function(e){return e.classList.add("is--active")})))})),e.addEventListener("mouseout",(function(t){t.preventDefault();var r=e.closest(".scheme__wrapper"),n=r.querySelectorAll(".scheme-list__elem"),a=r.querySelectorAll(".scheme__area"),o=r.querySelectorAll(".scheme__icon");n.forEach((function(e){return e.classList.remove("is--active")})),a.forEach((function(e){return e.classList.remove("is--hidden")})),o.forEach((function(e){return e.classList.remove("is--hidden")}))}))})),W.forEach((function(e){e.addEventListener("mouseover",(function(t){t.preventDefault();var r=e.closest(".scheme__wrapper"),n=r.querySelectorAll(".scheme__area"),a=r.querySelectorAll(".scheme__icon");n.forEach((function(e){return e.classList.add("is--hidden")})),a.forEach((function(e){return e.classList.add("is--hidden")})),e.querySelector(".scheme__icon").classList.remove("is--hidden"),e.dataset.areaIcon&&(r.querySelectorAll('.scheme__icon[data-area-icon="'+e.dataset.areaIcon+'"]').forEach((function(e){return e.classList.remove("is--hidden")})),r.querySelectorAll('.scheme__area[data-area="'+e.dataset.areaIcon+'"]').forEach((function(e){return e.classList.remove("is--hidden")})),r.querySelectorAll('.scheme-list__elem[data-area="'+e.dataset.areaIcon+'"]').forEach((function(e){return e.classList.add("is--active")})))})),e.addEventListener("mouseout",(function(t){t.preventDefault();var r=e.closest(".scheme__wrapper"),n=r.querySelectorAll(".scheme-list__elem"),a=r.querySelectorAll(".scheme__area"),o=r.querySelectorAll(".scheme__icon");n.forEach((function(e){return e.classList.remove("is--active")})),a.forEach((function(e){return e.classList.remove("is--hidden")})),o.forEach((function(e){return e.classList.remove("is--hidden")}))}))})));var O=document.querySelector(".services__slider .swiper");if(O)new Swiper(O,{slidesPerView:3,spaceBetween:30,navigation:{prevEl:".services__slider .swiper-button-prev",nextEl:".services__slider .swiper-button-next"},breakpoints:{0:{slidesPerView:1},768:{slidesPerView:2},1200:{slidesPerView:3}}});var N=document.querySelector(".news__slider .swiper");
1if(N)new Swiper(N,{slidesPerView:"auto",spaceBetween:30,navigation:{prevEl:".news__slider .swiper-button-prev",nextEl:".news__slider .swiper-button-next"}});var Y=document.querySelector(".photogallery__slider .swiper");if(Y)new Swiper(Y,{slidesPerView:2,spaceBetween:30,navigation:{prevEl:".photogallery__slider .swiper-button-prev",nextEl:".photogallery__slider .swiper-button-next"},breakpoints:{0:{slidesPerView:1},1024:{slidesPerView:2}}});var z=document.querySelector(".team__slider .swiper");if(z)new Swiper(z,{slidesPerView:"auto",spaceBetween:80,navigation:{prevEl:".team__slider .swiper-button-prev",nextEl:".team__slider .swiper-button-next"},breakpoints:{0:{spaceBetween:40},768:{spaceBetween:80}}});document.addEventListener("click",(function(e){var t=e.target.closest('.modal-btn[data-id], a[href^="#"][data-id]'),r=e.target.closest(".modal__close"),n=e.target.closest(".modal__overlay");if(t){e.preventDefault();var a=t.dataset.id;document.querySelectorAll(".modal.modal--active").forEach((function(e){return e.classList.remove("modal--active")}));var o=document.querySelector(".modal#"+a);o&&(o.classList.add("modal--active"),document.body.classList.add("scroll-disabled"))}else(r||n)&&(document.querySelectorAll(".modal.modal--active").forEach((function(e){return e.classList.remove("modal--active")})),document.body.classList.remove("scroll-disabled"))}));var U=document.querySelector(".header__switch input#switch-status");U&&U.addEventListener("change",(function(e){var t=U.parentElement.querySelector(U.checked?".switch__title--right":".switch__title--left");t&&t.href&&(location.href=t.href)})),Fancybox.bind('[data-fancybox="gallery"]',{dragToClose:!1,showClass:!1,hideClass:!1,closeButton:!1,backdropClick:"close",Toolbar:{display:{left:[],middle:[],right:["close"]}},Image:{wheel:"slide",zoom:!1}})}));
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.