1GLOBAL.config={inputs:$(),selectors:$(),carousels:{},modals:{".open-modal":{}},popups:{".open-popup":{}},tabs:{},scrollings:{".scroll-to":{duration:200}}},$(function(){var n=["",0],t=$(".form .form-error");function e(t,e,n){var o={},e=GLOBAL.config[n][e],n=n.substring(0,n.length-1)+"-options",o=$(t).data(n)?$.extend(!0,{},e,$.parseJSON($(t).data(n).replace(/'/g,'"'))):e;return $(t).data(n,o),o}t.length&&setInterval(function(){t.find(".input, select, textarea, .SSContainerDivWrapper").each(function(){var t=($(this).hasClass("SSContainerDivWrapper")?$(this).parent():$(this)).parent(),e=($(this).hasClass("SSContainerDivWrapper")?$(this).parent().prev():$(this)).val();($(this).hasClass("SSContainerDivWrapper")?$(this).is(":visible"):$(this).is(":focus"))?(t.data("wasError")||t.data("wasError",e),t.removeClass("form-error")):t.data("wasError")&&(t.removeClass("form-error"),-1!=$.inArray(e,n.concat(t.data("wasError"))))&&t.addClass("form-error")})},111),GLOBAL.config.inputs.length&&GLOBAL.config.inputs.inputs(),GLOBAL.config.selectors.length&&GLOBAL.config.selectors.sSelect();function o(t,e){var n=$(".jcarousel-wrapper",t).jcarousel({wrap:e.wrap,vertical:e.vertical}),o=$.isFunction($.jcarousel.fn.fade),i=o&&"fade"==e.method?"fade":"scroll";n.jcarouselAutoscroll({interval:e.autoscrollInterval,target:"+="+e.scrollableItems,autostart:!!e.autoscrollInterval,method:i}),$(".jcarousel-prev",t).on("jcarouselcontrol:active",function(){$(this).removeClass("jcarousel-controls-inactive")}
1).on("jcarouselcontrol:inactive",function(){$(this).addClass("jcarousel-controls-inactive")}).jcarouselControl({target:"-="+e.scrollableItems,method:i}),$(".jcarousel-next",t).on("jcarouselcontrol:active",function(){$(this).removeClass("jcarousel-controls-inactive")}).on("jcarouselcontrol:inactive",function(){$(this).addClass("jcarousel-controls-inactive")}).jcarouselControl({target:"+="+e.scrollableItems,method:i}),e.pagination&&n.jcarousel("items").length>e.scrollableItems&&$(".jcarousel-pagination",t).on("click",function(t){t.preventDefault()}).on("jcarouselpagination:active","a",function(){$(this).addClass("jcarousel-pagination-active")}).on("jcarouselpagination:inactive","a",function(){$(this).removeClass("jcarousel-pagination-active")}).jcarouselPagination({item:function(t,e){return'<a href="">'+t+"</a>"},method:i}),"jcarouselSwipe"in n&&e.touchable&&n.jcarouselSwipe(o?{draggable:!1,method:i}:{})}$.each(GLOBAL.config.carousels,function(t,e){1<$(t).length?$(t).each(function(){o(this,e)}):o(t,e)});for(var i in GLOBAL.config.modals)$(i).each(function(){e(this,i,"modals");$(this).on("click",function(t){var e;t.preventDefault(),t=this,e=$.extend(!0,{},$(t).data("modal-options")),$(t).data("modal-node")&&(e.node=$(t).data("modal-node")),$.overlayLoader(!0,e)})});function a(t){var e,n,o;$(t).length&&(n=(e=$.extend(!0,{},$(t).data("popup-options"))).rel||"#"+$(t).attr("id")+"-content",o=t,e.manipulation&&!$(n).data("unifloat-manipulated")&&($(document.body).append($(n)),$(n).data("unifloat-manipulated",!0)),$(n).is(":hidden")?$(n).unifloat("show",$.extend(!0,{},e,{rel:o})).data("unifloat-source",t):($(n).hide(),e.onHide&&e.onHide(o,n)))}for(i in GLOBAL.config.popups)$(i).each(function(){e(this,i,"popups");$(this).on("click",function(t){t.preventDefault(),a(this)})});$(document.body).on("click",function(t){var e=!1;$(".popup-activator, .open-popup, .popup, #overlay, .modal").each(function(){($(t.target).is(this)||$(t.target).parents().is(this))&&(e=!0)}),$(t.target).is(".popup-activator, .open-popup")&&$(t.target).parents().is(".popup")?($(".popup:visible").each(function(){a($(this).data("unifloat-source"))}),a(t.target)):e||$(".popup:visible").each(function(){a($(this).data("unifloat-source"))})}),$(".popup-close").not(".modal-close").on("click",function(t){t.preventDefault(),a($(this).parents(".popup").data("unifloat-source"))}),$.each(GLOBAL.config.tabs,function(t,e){1<$(t).length?$(t).each(function(){$(this).easytabs(e)}):$(t).easytabs(e)});for(i in GLOBAL.config.scrollings)$(i).each(function(){var o=e(this,i,"scrollings");$(this).on("click",function(t){var e,n;t.preventDefault(),$.isFunction(o.onBefore)&&o.onBefore(),t=this,e=$.extend(!0,{},$(t).data("scrolling-options")),t="target"in e?e.target:"#"+$(t).attr("href").split("#")[1],n=e.duration,delete e.target,delete e.duration,$.scrollTo(t,n,e)})})}),$(function(){function t(){var t=$(window)[0].innerWidth||$(window).width(),e=$(window)[0].innerHeight||$(window).height();GLOBAL.windowSize=[t,e],GLOBAL.onlyWindowHeightChanged=!1,$(document.body).data("originalWW")&&$(document.body).data("originalWW")==t?GLOBAL.onlyWindowHeightChanged=!0:($(document.body).data("originalWW",t),$(".mobile-menu-link, #menu, #mobile-menu-overlay").off(".ht"),t<1080&&($(".mobile-menu-link").on("click.ht",function(t){t.preventDefault(),$(document.body).toggleClass("nav-opened")}),$("#menu").on("swipeleft.ht swiperight.ht",function(){$(".mobile-menu-link").trigger("click")}).on("movestart.ht",function(t){(t.distX>t.distY&&t.distX<-t.distY||t.distX<t.distY&&t.distX>-t.distY)&&t.preventDefault()}),$("#mobile-menu-overlay").on("click.ht",function(){$(document.body).removeClass("nav-opened")}),window.scroll(0,0)),t<1080?$("aside#right").insertBefore($("main")):$("main").insertBefore($("aside#right")))}function e(t,e,n,o){n=$(e).parent().find(n).length?$(e).parent().find(n):$(e).next();n.length&&(t.preventDefault(),n.slideToggle(),$(e).parent().find(o).length&&$(e).parent().find(o).toggle(),$(e).toggleClass("active"))}GLOBAL.actualResizer="throttledresize"in jQuery.event.special?"throttledresize":"resize",t(),$(window).on("load "+GLOBAL.actualResizer,t),$(".books-item").each(function(){var t=$(this).find(".books-image");$(this).unifloat({rel:t,posTop:{value:"above + 40",auto:"under - 40"},posLeft:{value:"after - 20",auto:"before + 20"},effect:!1,onShow:function(t,e){$(e).addClass("shown")},onHide:function(t,e){$(e).removeClass("shown")}})}),$.fancybox.defaults.hash=!1,$(".open-text").on("click",function(t){e(t,this,"> .hidden-text")}),$(".info-item").on("click",function(t){e(t,this,".hidden-text",".info-announce")}),$("ul.events li > a, ul.riha li > a").on("click",function(t){e(t,this)});function n(t){$(t.el).addClass("margin-left margin-right"),t.isBeginning?$(t.el).removeClass("margin-left"):t.isEnd&&$(t.el).removeClass("margin-right")}var o=$("#magazines-items"),i=0;$(".swiper-slide",o).each(function(t){$(this).find(".active").length&&(i=t)}),new Swiper($(".swiper-container",o),{initialSlide:i,slidesPerView:"auto",simulateTouch:!1,navigation:{nextEl:$(".swiper-button-next",o),prevEl:$(".swiper-button-prev",o)},on:{init:function(){n(this),$(this.el).hasClass("margin-left")&&this.setTranslate(this.translate-parseFloat($(this.el).css("margin-left")))},setTransition:function(){n(this)}}}),new Swiper($("#pgs-slider .swiper-container"),{resizeObserver:!0,pagination:{el:".swiper-pagination"}})}); 2//# sourceMappingURL=custom.js.map
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.