/*!
 * Jagenberg sitepackage v2.0.1 (https://www.the-new-atlantic.com)
 * Copyright 2017-2025 Moritz Kühnel & Thomas Ruta
 * Licensed under the MIT license
 */
((y,r)=>{var s,e,u={CONTINUOUS_SCROLLING_TIMEOUT_INTERVAL:50,SCROLL_OFFSET_FRACTION:6,DATA_KEY_DDMENU_MODIFIED:"scrtabsddmenumodified",DATA_KEY_IS_MOUSEDOWN:"scrtabsismousedown",DATA_KEY_BOOTSTRAP_TAB:"bs.tab",CSS_CLASSES:{BOOTSTRAP4:"scrtabs-bootstrap4",RTL:"scrtabs-rtl",SCROLL_ARROW_CLICK_TARGET:"scrtabs-click-target",SCROLL_ARROW_DISABLE:"scrtabs-disable",SCROLL_ARROW_WITH_CLICK_TARGET:"scrtabs-with-click-target"},SLIDE_DIRECTION:{LEFT:1,RIGHT:2},EVENTS:{CLICK:"click.scrtabs",DROPDOWN_MENU_HIDE:"hide.bs.dropdown.scrtabs",DROPDOWN_MENU_SHOW:"show.bs.dropdown.scrtabs",FORCE_REFRESH:"forcerefresh.scrtabs",MOUSEDOWN:"mousedown.scrtabs",MOUSEUP:"mouseup.scrtabs",TABS_READY:"ready.scrtabs",TOUCH_END:"touchend.scrtabs",TOUCH_MOVE:"touchmove.scrtabs",TOUCH_START:"touchstart.scrtabs",WINDOW_RESIZE:"resize.scrtabs"}};function a(e){this.stc=e}function n(e){this.stc=e}function i(e){this.stc=e}function c(e){var t=this;t.$tabsContainer=e,t.instanceId=y.fn.scrollingTabs.nextInstanceId++,t.movableContainerLeftPos=0,t.scrollArrowsVisible=!1,t.scrollToTabEdge=!1,t.disableScrollArrowsOnFullyScrolled=!1,t.reverseScroll=!1,t.widthMultiplier=1,t.scrollMovement=new i(t),t.eventHandlers=new n(t),t.elementsHandler=new a(t)}s="smartresizeScrtabs",y.fn[s]=function(e,t){var a,n,i,o,t=t||u.EVENTS.WINDOW_RESIZE;return e?this.bind(t,(a=e,function(){var e=this,t=arguments;o?clearTimeout(o):i&&a.apply(e,t),o=setTimeout(function(){i||a.apply(e,t),o=null},n||100)})):this.trigger(s)},(e=a.prototype).initElements=function(e){this.setElementReferences(e),this.setEventListeners(e)},e.listenForTouchEvents=function(){var t,a,n,i=this.stc,o=i.scrollMovement,e=u.EVENTS,s=!1;i.$movableContainer.on(e.TOUCH_START,function(e){s=!0,a=i.movableContainerLeftPos,t=e.originalEvent.changedTouches[0].pageX}).on(e.TOUCH_END,function(){s=!1}).on(e.TOUCH_MOVE,function(e){s&&(e=e.originalEvent.changedTouches[0].pageX-t,i.rtl&&(e=-e),0<(n=a+e)?n=0:(e=o.getMinPos(),n<e&&(n=e)),i.movableContainerLeftPos=n,e=i.rtl?"right":"left",i.$movableContainer.css(e,o.getMovableContainerCssLeftVal()),o.refreshScrollArrowsDisabledState())})},e.refreshAllElementSizes=function(){var e,t=this.stc,a=t.scrollMovement,n=t.scrollArrowsVisible,i={didScrollToActiveTab:!1};return this.setElementWidths(),this.setScrollArrowVisibility(),t.scrollArrowsVisible?(e=a.getMinPos(),a.scrollToActiveTab({isOnWindowResize:!0})||(a.refreshScrollArrowsDisabledState(),t.rtl?t.movableContainerRightPos<e&&a.incrementMovableContainerLeft(e):t.movableContainerLeftPos<e&&a.incrementMovableContainerRight(e)),i.didScrollToActiveTab=!0):n&&(t.movableContainerLeftPos=0,a.slideMovableContainerToLeftPos()),i},e.setElementReferences=function(e){var t,a,n,i,o=this.stc,s=o.$tabsContainer;o.isNavPills=!1,o.rtl&&s.addClass(u.CSS_CLASSES.RTL),o.usingBootstrap4&&s.addClass(u.CSS_CLASSES.BOOTSTRAP4),o.$fixedContainer=s.find(".scrtabs-tabs-fixed-container"),t=o.$fixedContainer.prev(),a=o.$fixedContainer.next(),e.leftArrowContent&&(n=t.find("."+u.CSS_CLASSES.SCROLL_ARROW_CLICK_TARGET)),e.rightArrowContent&&(i=a.find("."+u.CSS_CLASSES.SCROLL_ARROW_CLICK_TARGET)),n&&n.length?t.addClass(u.CSS_CLASSES.SCROLL_ARROW_WITH_CLICK_TARGET):n=t,i&&i.length?a.addClass(u.CSS_CLASSES.SCROLL_ARROW_WITH_CLICK_TARGET):i=a,o.$movableContainer=s.find(".scrtabs-tabs-movable-container"),o.$tabsUl=s.find(".nav-tabs"),o.$tabsUl.length||(o.$tabsUl=s.find(".nav-pills"),o.$tabsUl.length&&(o.isNavPills=!0)),o.$tabsLiCollection=o.$tabsUl.find("> li"),o.$slideLeftArrow=o.reverseScroll?t:a,o.$slideLeftArrowClickTarget=o.reverseScroll?n:i,o.$slideRightArrow=o.reverseScroll?a:t,o.$slideRightArrowClickTarget=o.reverseScroll?i:n,o.$scrollArrows=o.$slideLeftArrow.add(o.$slideRightArrow),o.$win=y(r)},e.setElementWidths=function(){var e=this.stc;e.winWidth=e.$win.width(),e.scrollArrowsCombinedWidth=e.$slideLeftArrow.outerWidth()+e.$slideRightArrow.outerWidth(),this.setFixedContainerWidth(),this.setMovableContainerWidth()},e.setEventListeners=function(e){var t=this.stc,a=t.eventHandlers,n=u.EVENTS,i=n.WINDOW_RESIZE+t.instanceId;e.enableSwiping&&this.listenForTouchEvents(),t.$slideLeftArrowClickTarget.off(".scrtabs").on(n.MOUSEDOWN,function(e){a.handleMousedownOnSlideMovContainerLeftArrow.call(a,e)}).on(n.MOUSEUP,function(e){a.handleMouseupOnSlideMovContainerLeftArrow.call(a,e)}).on(n.CLICK,function(e){a.handleClickOnSlideMovContainerLeftArrow.call(a,e)}),t.$slideRightArrowClickTarget.off(".scrtabs").on(n.MOUSEDOWN,function(e){a.handleMousedownOnSlideMovContainerRightArrow.call(a,e)}).on(n.MOUSEUP,function(e){a.handleMouseupOnSlideMovContainerRightArrow.call(a,e)}).on(n.CLICK,function(e){a.handleClickOnSlideMovContainerRightArrow.call(a,e)}),t.tabClickHandler&&t.$tabsLiCollection.find('a[data-toggle="tab"]').off(n.CLICK).on(n.CLICK,t.tabClickHandler),e.handleDelayedScrollbar&&this.listenForDelayedScrollbar(),t.$win.off(i).smartresizeScrtabs(function(e){a.handleWindowResize.call(a,e)},i),y("body").on(u.EVENTS.FORCE_REFRESH,t.elementsHandler.refreshAllElementSizes.bind(t.elementsHandler))},e.listenForDelayedScrollbar=function(){var a=document.createElement("iframe");a.id="scrtabs-scrollbar-resize-listener",a.style.cssText="height: 0; background-color: transparent; margin: 0; padding: 0; overflow: hidden; border-width: 0; position: absolute; width: 100%;",a.onload=function(){var e;function t(){try{y(r).trigger("resize"),e=null}catch(e){}}a.contentWindow.addEventListener("resize",function(){e&&clearTimeout(e),e=setTimeout(t,100)})},document.body.appendChild(a)},e.setFixedContainerWidth=function(){var e=this.stc,t=e.$tabsContainer.get(0).getBoundingClientRect();e.fixedContainerWidth=t.width||t.right-t.left,e.fixedContainerWidth=e.fixedContainerWidth*e.widthMultiplier,e.$fixedContainer.width(e.fixedContainerWidth)},e.setFixedContainerWidthForHiddenScrollArrows=function(){var e=this.stc;e.$fixedContainer.width(e.fixedContainerWidth)},e.setFixedContainerWidthForVisibleScrollArrows=function(){var e=this.stc;e.$fixedContainer.width(e.fixedContainerWidth-e.scrollArrowsCombinedWidth)},e.setMovableContainerWidth=function(){var a=this.stc,e=a.$tabsUl.find("> li");a.movableContainerWidth=0,e.length&&(e.each(function(){var e=y(this),t=0;a.isNavPills&&(t=parseInt(e.css("margin-left"),10)+parseInt(e.css("margin-right"),10)),a.movableContainerWidth+=e.outerWidth()+t}),a.movableContainerWidth+=1,a.movableContainerWidth<a.fixedContainerWidth)&&(a.movableContainerWidth=a.fixedContainerWidth),a.$movableContainer.width(a.movableContainerWidth)},e.setScrollArrowVisibility=function(){var e=this.stc,t=e.movableContainerWidth>e.fixedContainerWidth;t&&!e.scrollArrowsVisible?(e.$scrollArrows.show(),e.scrollArrowsVisible=!0):!t&&e.scrollArrowsVisible&&(e.$scrollArrows.hide(),e.scrollArrowsVisible=!1),e.scrollArrowsVisible?this.setFixedContainerWidthForVisibleScrollArrows():this.setFixedContainerWidthForHiddenScrollArrows()},(e=n.prototype).handleClickOnSlideMovContainerLeftArrow=function(){this.stc.scrollMovement.incrementMovableContainerLeft()},e.handleClickOnSlideMovContainerRightArrow=function(){this.stc.scrollMovement.incrementMovableContainerRight()},e.handleMousedownOnSlideMovContainerLeftArrow=function(){var e=this.stc;e.$slideLeftArrowClickTarget.data(u.DATA_KEY_IS_MOUSEDOWN,!0),e.scrollMovement.continueSlideMovableContainerLeft()},e.handleMousedownOnSlideMovContainerRightArrow=function(){var e=this.stc;e.$slideRightArrowClickTarget.data(u.DATA_KEY_IS_MOUSEDOWN,!0),e.scrollMovement.continueSlideMovableContainerRight()},e.handleMouseupOnSlideMovContainerLeftArrow=function(){this.stc.$slideLeftArrowClickTarget.data(u.DATA_KEY_IS_MOUSEDOWN,!1)},e.handleMouseupOnSlideMovContainerRightArrow=function(){this.stc.$slideRightArrowClickTarget.data(u.DATA_KEY_IS_MOUSEDOWN,!1)},e.handleWindowResize=function(){var e=this.stc,t=e.$win.width();if(t===e.winWidth)return!1;e.winWidth=t,e.elementsHandler.refreshAllElementSizes()},(e=i.prototype).continueSlideMovableContainerLeft=function(){var e=this,t=e.stc;setTimeout(function(){t.movableContainerLeftPos<=e.getMinPos()||!t.$slideLeftArrowClickTarget.data(u.DATA_KEY_IS_MOUSEDOWN)||e.incrementMovableContainerLeft()||e.continueSlideMovableContainerLeft()},u.CONTINUOUS_SCROLLING_TIMEOUT_INTERVAL)},e.continueSlideMovableContainerRight=function(){var e=this,t=e.stc;setTimeout(function(){0<=t.movableContainerLeftPos||!t.$slideRightArrowClickTarget.data(u.DATA_KEY_IS_MOUSEDOWN)||e.incrementMovableContainerRight()||e.continueSlideMovableContainerRight()},u.CONTINUOUS_SCROLLING_TIMEOUT_INTERVAL)},e.decrementMovableContainerLeftPos=function(e){var t=this.stc;t.movableContainerLeftPos-=t.fixedContainerWidth/u.SCROLL_OFFSET_FRACTION,(t.movableContainerLeftPos<e||t.scrollToTabEdge&&(this.setMovableContainerLeftPosToTabEdge(u.SLIDE_DIRECTION.LEFT),t.movableContainerLeftPos<e))&&(t.movableContainerLeftPos=e)},e.disableSlideLeftArrow=function(){var e=this.stc;e.disableScrollArrowsOnFullyScrolled&&e.scrollArrowsVisible&&e.$slideLeftArrow.addClass(u.CSS_CLASSES.SCROLL_ARROW_DISABLE)},e.disableSlideRightArrow=function(){var e=this.stc;e.disableScrollArrowsOnFullyScrolled&&e.scrollArrowsVisible&&e.$slideRightArrow.addClass(u.CSS_CLASSES.SCROLL_ARROW_DISABLE)},e.enableSlideLeftArrow=function(){var e=this.stc;e.disableScrollArrowsOnFullyScrolled&&e.scrollArrowsVisible&&e.$slideLeftArrow.removeClass(u.CSS_CLASSES.SCROLL_ARROW_DISABLE)},e.enableSlideRightArrow=function(){var e=this.stc;e.disableScrollArrowsOnFullyScrolled&&e.scrollArrowsVisible&&e.$slideRightArrow.removeClass(u.CSS_CLASSES.SCROLL_ARROW_DISABLE)},e.getMinPos=function(){var e=this.stc;return e.scrollArrowsVisible?e.fixedContainerWidth-e.movableContainerWidth-e.scrollArrowsCombinedWidth:0},e.getMovableContainerCssLeftVal=function(){var e=this.stc;return 0===e.movableContainerLeftPos?"0":e.movableContainerLeftPos+"px"},e.incrementMovableContainerLeft=function(){var e=this,t=e.stc,a=e.getMinPos();return e.decrementMovableContainerLeftPos(a),e.slideMovableContainerToLeftPos(),e.enableSlideRightArrow(),t.movableContainerLeftPos===a},e.incrementMovableContainerRight=function(e){var t=this.stc;return e?t.movableContainerLeftPos=e:(t.movableContainerLeftPos+=t.fixedContainerWidth/u.SCROLL_OFFSET_FRACTION,0<t.movableContainerLeftPos?t.movableContainerLeftPos=0:t.scrollToTabEdge&&this.setMovableContainerLeftPosToTabEdge(u.SLIDE_DIRECTION.RIGHT)),this.slideMovableContainerToLeftPos(),this.enableSlideLeftArrow(),0===t.movableContainerLeftPos},e.refreshScrollArrowsDisabledState=function(){var e=this,t=e.stc;t.disableScrollArrowsOnFullyScrolled&&t.scrollArrowsVisible&&(0<=t.movableContainerLeftPos?(e.disableSlideRightArrow(),e.enableSlideLeftArrow()):(t.movableContainerLeftPos<=e.getMinPos()?e.disableSlideLeftArrow():e.enableSlideLeftArrow(),e.enableSlideRightArrow()))},e.scrollToActiveTab=function(){var e,t,a,n,i,o,s=this,r=s.stc;if(r.scrollArrowsVisible&&(r.usingBootstrap4?(o=r.$tabsUl.find("li > .nav-link.active")).length&&(e=o.parent()):e=r.$tabsUl.find("li.active"),e)&&e.length){if(o=r.$slideRightArrow.outerWidth(),a=e.outerWidth(),n=(e=e.offset().left-r.$fixedContainer.offset().left)+a,t=r.fixedContainerWidth-o,r.rtl){if(r.$slideLeftArrow.outerWidth(),e<0)return r.movableContainerLeftPos+=e,s.slideMovableContainerToLeftPos(),!0;if(t<n)return r.movableContainerLeftPos+=n-t+2*o,s.slideMovableContainerToLeftPos(),!0}else{if(t<n)return n=n-t+o,i=r.fixedContainerWidth/2,r.movableContainerLeftPos-=n+=i-a/2,s.slideMovableContainerToLeftPos(),!0;if(r.$slideLeftArrow.outerWidth(),e<0)return i=r.fixedContainerWidth/2,r.movableContainerLeftPos+=-e+i-a/2,s.slideMovableContainerToLeftPos(),!0}return!1}},e.setMovableContainerLeftPosToTabEdge=function(t){var a=this.stc,n=-a.movableContainerLeftPos,i=0;a.$tabsLiCollection.each(function(){var e=y(this).width();if(n<(i+=e))return a.movableContainerLeftPos=t===u.SLIDE_DIRECTION.RIGHT?-(i-e):-i,!1})},e.slideMovableContainerToLeftPos=function(){var t=this,a=t.stc,e=t.getMinPos(),n=(0<a.movableContainerLeftPos?a.movableContainerLeftPos=0:a.movableContainerLeftPos<e&&(a.movableContainerLeftPos=e),a.movableContainerLeftPos=+a.movableContainerLeftPos,e=t.getMovableContainerCssLeftVal(),t.performingSlideAnim=!0,a.rtl?{right:e}:{left:e});a.$movableContainer.stop().animate(n,"slow",function(){var e=t.getMinPos();t.performingSlideAnim=!1,a.movableContainerLeftPos<e?(t.decrementMovableContainerLeftPos(e),n=a.rtl?{right:t.getMovableContainerCssLeftVal()}:{left:t.getMovableContainerCssLeftVal()},a.$movableContainer.stop().animate(n,"fast",function(){t.refreshScrollArrowsDisabledState()})):t.refreshScrollArrowsDisabledState()})},(e=c.prototype).initTabs=function(e,t,a,n){var i,o=this,s=o.elementsHandler;e.enableRtlSupport&&"rtl"===y("html").attr("dir")&&(o.rtl=!0),e.scrollToTabEdge&&(o.scrollToTabEdge=!0),e.disableScrollArrowsOnFullyScrolled&&(o.disableScrollArrowsOnFullyScrolled=!0),e.reverseScroll&&(o.reverseScroll=!0),1!==e.widthMultiplier&&(i=Number(e.widthMultiplier),isNaN(i)||(o.widthMultiplier=i)),"4"===e.bootstrapVersion.toString().charAt(0)&&(o.usingBootstrap4=!0),setTimeout(function(){t.find(".nav-tabs").show(),s.initElements(e),s.refreshAllElementSizes(),t.css("visibility","visible"),n&&n();a&&a()},100)},e.scrollToActiveTab=function(e){this.scrollMovement.scrollToActiveTab(e)};var x={getElTabPaneForLi:function(e){return y(e.find("a").attr("href"))},getNewElNavTabs:function(){return y('<ul class="nav nav-tabs" role="tablist"></ul>')},getNewElScrollerElementWrappingNavTabsInstance:function(e,t){var a=y('<div class="scrtabs-tab-container"></div>'),n=t.leftArrowContent||'<div class="scrtabs-tab-scroll-arrow scrtabs-tab-scroll-arrow-left"><span class="'+t.cssClassLeftArrow+'"></span></div>',n=y(n),i=t.rightArrowContent||'<div class="scrtabs-tab-scroll-arrow scrtabs-tab-scroll-arrow-right"><span class="'+t.cssClassRightArrow+'"></span></div>',i=y(i),o=y('<div class="scrtabs-tabs-fixed-container"></div>'),s=y('<div class="scrtabs-tabs-movable-container"></div>');t.disableScrollArrowsOnFullyScrolled&&n.add(i).addClass(u.CSS_CLASSES.SCROLL_ARROW_DISABLE);return a.append(n,o.append(s.append(e)),i)},getNewElTabAnchor:o,getNewElTabContent:function(){return y('<div class="tab-content"></div>')},getNewElTabLi:function(e,t,a){var n=a.tabLiContent||'<li role="presentation" class=""></li>',n=y(n),i=o(e,t).appendTo(n);e[t.disabled]?(n.addClass("disabled"),i.attr("data-toggle","")):a.forceActiveTab&&e[t.active]&&n.addClass("active");a.tabPostProcessor&&a.tabPostProcessor(n,i);return n},getNewElTabPane:function(e,t,a){var n=y('<div role="tabpanel" class="tab-pane"></div>').attr("id",e[t.paneId]).html(e[t.content]);a.forceActiveTab&&e[t.active]&&n.addClass("active");return n}};function o(e,t){return y('<a role="tab" data-toggle="tab"></a>').attr("href","#"+e[t.paneId]).html(e[t.title])}var T={didTabOrderChange:function(e,a,n){var i=!1;return e.each(function(e){var t=l(a,n.paneId,y(this).data("tab")[n.paneId]);if(-1<t&&t!==e)return!(i=!0)}),i},getIndexOfClosestEnabledTab:function(e,t){var a=e.length-1,n=-1,i=0,o=0;for(;-1===n&&0<=o;)((o=t+ ++i)<=a&&!e.eq(o).hasClass("disabled")||0<=(o=t-i)&&!e.eq(o).hasClass("disabled"))&&(n=o);return n},getTabIndexByPaneId:l,storeDataOnLiEl:function(e,t,a){e.data({tab:y.extend({},t[a]),index:a})}};function l(e,a,n){var i=-1;return e.some(function(e,t){if(e[a]===n)return i=t,!0}),i}function m(e,t,a,n){e.find('a[data-toggle="tab"]').removeData(u.DATA_KEY_BOOTSTRAP_TAB);var o,s,r,i=x.getNewElScrollerElementWrappingNavTabsInstance(e.clone(!0),t),l=new c(i),d=e.data("scrtabs");return d?d.scroller=i:e.data("scrtabs",{scroller:i}),e.replaceWith(i.css("visibility","hidden")),t.tabClickHandler&&"function"==typeof t.tabClickHandler&&(i.hasTabClickHandler=!0,l.tabClickHandler=t.tabClickHandler),i.initTabs=function(){l.initTabs(t,i,a,n)},i.scrollToActiveTab=function(){l.scrollToActiveTab(t)},i.initTabs(),s=l,(o=i).on(u.EVENTS.DROPDOWN_MENU_SHOW,function(e){var t,a,n=y(e.target),e=n.offset(),i=o.find('li[role="presentation"].active');r=n.find(".dropdown-menu").attr("data-"+u.DATA_KEY_DDMENU_MODIFIED,!0),i[0]!==n[0]&&r.find("li.active").removeClass("active"),r.on(u.EVENTS.CLICK,'a[role="tab"]',function(){var e=y(this),t=e.parent("li"),a=t.parent(".dropdown-menu"),e=e.attr("href");t.hasClass("active")||(o.find("li.active").not(n).add(a.find("li.active")).removeClass("active"),n.add(t).addClass("active"),y(".tab-content .tab-pane.active").removeClass("active"),y(e).addClass("active"))}),y("body").append(r),i=r.width()+e.left,t=o.width()-(s.$slideRightArrow.outerWidth()+1),a=e.left,t<i&&(a-=i-t),r.css({display:"block",top:e.top+n.outerHeight()-2,left:a})}).on(u.EVENTS.DROPDOWN_MENU_HIDE,function(e){y(e.target).append(r.off(u.EVENTS.CLICK))}),i}function S(l){var e=l.$currTabLis,d=l.updatedTabsArray,c=l.propNames,h=!1;return e.each(function(e){var t,a,n,i=y(this),o=i.data("tab"),s=T.getTabIndexByPaneId(d,c.paneId,o[c.paneId]),r=-1<s?d[s]:null;l.tabLi={$li:i,currDomIdx:e,newIdx:s,$contentPane:x.getElTabPaneForLi(i),origTabData:o,newTabData:r},s=(e=l).tabLi,i=e.ignoreTabPanes,o=s.$li,(-1===s.newIdx?(o.hasClass("active")&&-1<(r=T.getIndexOfClosestEnabledTab(e.$currTabLis,s.currDomIdx))&&(e.$currTabLis.eq(r).addClass("active"),i||e.$currTabContentPanes.eq(r).addClass("active")),o.remove(),i||s.$contentPane.remove(),1):(r=(e=l).tabLi,o=e.ignoreTabPanes,i=r.$li,s=r.$contentPane,t=r.origTabData,r=r.newTabData,n=!1,t[(a=e.propNames).title]!==r[a.title]&&(i.find('a[role="tab"]').html(t[a.title]=r[a.title]),n=!0),t[a.disabled]!==r[a.disabled]&&(r[a.disabled]?(i.addClass("disabled"),i.find('a[role="tab"]').attr("data-toggle","")):(i.removeClass("disabled"),i.find('a[role="tab"]').attr("data-toggle","tab")),t[a.disabled]=r[a.disabled],n=!0),e.options.forceActiveTab&&(i[r[a.active]?"addClass":"removeClass"]("active"),s[r[a.active]?"addClass":"removeClass"]("active"),t[a.active]=r[a.active],n=!0),o||t[a.content]===r[a.content]||(s.html(t[a.content]=r[a.content]),n=!0),n))&&(h=!0)}),h}function d(e,t){var i,o,s,r,l,d,c,h,f,p,u,a,n,m,b,v,g=e.data().scrtabs,w=g.scroller,$=e.find(".scrtabs-tab-container .nav-tabs"),e=e.find(".tab-content"),C=!1,t={options:t,updatedTabsArray:g.tabs,updatedTabsLiContent:g.tabsLiContent,updatedTabsPostProcessors:g.tabsPostProcessors,propNames:g.propNames,ignoreTabPanes:g.ignoreTabPanes,$navTabs:$,$currTabLis:$.find("> li"),$currTabContentPanesContainer:e,$currTabContentPanes:e.find(".tab-pane")};return i=(g=t).updatedTabsArray,o=g.updatedTabsLiContent||[],s=g.updatedTabsPostProcessors||[],r=g.propNames,d=g.options,c=g.$currTabLis,h=g.$navTabs,f=(l=g.ignoreTabPanes)?null:g.$currTabContentPanesContainer,p=l?null:g.$currTabContentPanes,u=!1,i.forEach(function(e,t){var a=c.find('a[href="#'+e[r.paneId]+'"]'),n=t>=c.length;a.length||(u=!0,d.tabLiContent=o[t],d.tabPostProcessor=s[t],a=x.getNewElTabLi(e,r,d),T.storeDataOnLiEl(a,i,t),n?a.appendTo(h):a.insertBefore(c.eq(t)),l)||void 0===e[r.content]||(a=x.getNewElTabPane(e,r,d),n?a.appendTo(f):a.insertBefore(p.eq(t)))}),u&&(C=!0),a=($=t).$currTabLis,e=$.updatedTabsArray,n=$.propNames,b=[],v=(m=$.ignoreTabPanes)?null:[],T.didTabOrderChange(a,e,n)&&(e.forEach(function(e){e=e[n.paneId];b.push(a.find('a[role="tab"][href="#'+e+'"]').parent("li")),m||v.push(y("#"+e))}),$.$navTabs.append(b),m||$.$currTabContentPanesContainer.append(v),1)&&(C=!0),(C=S(t)?!0:C)&&w.initTabs(),C}function t(){var e=y(this).data("scrtabs");e&&e.scroller.scrollToActiveTab()}var h={destroy:function(){return this.each(f)},init:function(e){var h=this,f=h.length-1,p=y.extend({},y.fn.scrollingTabs.defaults,e||{});return p.tabs?h.each(function(e){var a,t,n,i,o,s,r,l,d,c=y(this);c=c,e=e<f?null:function(){h.trigger(u.EVENTS.TABS_READY)},n=(a=p).tabs,i={paneId:a.propPaneId,title:a.propTitle,active:a.propActive,disabled:a.propDisabled,content:a.propContent},o=a.ignoreTabPanes,s=n.length&&void 0!==n[0][i.content],r=x.getNewElNavTabs(),l=x.getNewElTabContent(),d=o?null:function(){t.after(l)},n.length&&(n.forEach(function(e,t){t={forceActiveTab:!0,tabLiContent:a.tabsLiContent&&a.tabsLiContent[t],tabPostProcessor:a.tabsPostProcessors&&a.tabsPostProcessors[t]};x.getNewElTabLi(e,i,t).appendTo(r),!o&&s&&x.getNewElTabPane(e,i,t).appendTo(l)}),(t=m(r,a,e,d)).appendTo(c),c.data({scrtabs:{tabs:n,propNames:i,ignoreTabPanes:o,hasTabContent:s,tabsLiContent:a.tabsLiContent,tabsPostProcessors:a.tabsPostProcessors,scroller:t}}),t.find(".nav-tabs > li").each(function(e){T.storeDataOnLiEl(y(this),n,e)}))}):h.each(function(e){m(y(this).data({scrtabs:{isWrapperOnly:!0}}),p,e<f?null:function(){h.trigger(u.EVENTS.TABS_READY)})})},refresh:function(e){var a=y.extend({},y.fn.scrollingTabs.defaults,e||{});return this.each(function(){var e,t;e=y(this),t=a,!e.data("scrtabs")||!e.data("scrtabs").isWrapperOnly&&d(e,t)||y("body").trigger(u.EVENTS.FORCE_REFRESH)})},scrollToActiveTab:function(){return this.each(t)}};function f(){var e,t=y(this),a=t.data("scrtabs");if(a){for("self"===a.enableSwipingElement?t.removeClass(u.CSS_CLASSES.ALLOW_SCROLLBAR):"parent"===a.enableSwipingElement&&t.closest(".scrtabs-tab-container").parent().removeClass(u.CSS_CLASSES.ALLOW_SCROLLBAR),a.scroller.off(u.EVENTS.DROPDOWN_MENU_SHOW).off(u.EVENTS.DROPDOWN_MENU_HIDE),a.scroller.find("[data-"+u.DATA_KEY_DDMENU_MODIFIED+"]").css({display:"",left:"",top:""}).off(u.EVENTS.CLICK).removeAttr("data-"+u.DATA_KEY_DDMENU_MODIFIED),a.scroller.hasTabClickHandler&&t.find('a[data-toggle="tab"]').off(".scrtabs"),a.isWrapperOnly?(e=t.parents(".scrtabs-tab-container")).length&&e.replaceWith(t):(a.scroller&&a.scroller.initTabs&&(a.scroller.initTabs=null),t.find(".scrtabs-tab-container").add(".tab-content").remove()),t.removeData("scrtabs");0<=--y.fn.scrollingTabs.nextInstanceId;)y(r).off(u.EVENTS.WINDOW_RESIZE+y.fn.scrollingTabs.nextInstanceId);y("body").off(u.EVENTS.FORCE_REFRESH)}}y.fn.scrollingTabs=function(e){return h[e]?h[e].apply(this,Array.prototype.slice.call(arguments,1)):e&&"object"!=typeof e?void y.error("Method "+e+" does not exist on $.scrollingTabs."):h.init.apply(this,arguments)},y.fn.scrollingTabs.nextInstanceId=0,y.fn.scrollingTabs.defaults={tabs:null,propPaneId:"paneId",propTitle:"title",propActive:"active",propDisabled:"disabled",propContent:"content",ignoreTabPanes:!1,scrollToTabEdge:!1,disableScrollArrowsOnFullyScrolled:!1,forceActiveTab:!1,reverseScroll:!1,widthMultiplier:1,tabClickHandler:null,cssClassLeftArrow:"glyphicon glyphicon-chevron-left",cssClassRightArrow:"glyphicon glyphicon-chevron-right",leftArrowContent:"",rightArrowContent:"",tabsLiContent:null,tabsPostProcessors:null,enableSwiping:!1,enableRtlSupport:!1,handleDelayedScrollbar:!1,bootstrapVersion:3}})(jQuery,window);let VSBoxCounter=(()=>{let t=0,a=[];return{set:function(e){return a.push({offset:++t,ptr:e}),a[a.length-1].offset},remove:function(t){let e=a.filter(function(e){return e.offset!=t});a=e.splice(0),e=[]},closeAllButMe:function(t){temp=[],a.forEach(function(e){e.offset!=t&&e.ptr.closeOrder()})}}})();function vanillaSelectBox(e,t){if(this.instanceOffset=VSBoxCounter.set(this),this.domSelector=e,this.root=document.querySelector(e),this.main,this.button,this.title,this.isMultiple=this.root.hasAttribute("multiple"),this.multipleSize=this.isMultiple&&this.root.hasAttribute("size")?parseInt(this.root.getAttribute("size")):-1,this.drop,this.top,this.left,this.options,this.listElements,this.isDisabled=!1,this.search=!1,this.searchZone=null,this.inputBox=null,this.disabledItems=[],this.ulminWidth=140,this.ulminHeight=25,this.forbidenAttributes=["class","selected","disabled","data-text","data-value","style"],this.forbidenClasses=["active","disabled"],this.userOptions={maxWidth:500,minWidth:-1,maxHeight:400,translations:{all:"All",items:"items",selectAll:"Select All",clearAll:"Clear All"},search:!1,placeHolder:"",stayOpen:!1,disableSelectAll:!1},t){if(null!=t.maxWidth&&(this.userOptions.maxWidth=t.maxWidth),null!=t.maxWidth&&(this.userOptions.minWidth=t.minWidth),null!=t.maxHeight&&(this.userOptions.maxHeight=t.maxHeight),null!=t.translations)for(var a in t.translations)t.translations.hasOwnProperty(a)&&this.userOptions.translations[a]&&(this.userOptions.translations[a]=t.translations[a]);null!=t.placeHolder&&(this.userOptions.placeHolder=t.placeHolder),null!=t.search&&(this.search=t.search),null!=t.stayOpen&&(this.userOptions.stayOpen=t.stayOpen),null!=t.disableSelectAll&&(this.userOptions.disableSelectAll=t.disableSelectAll)}this.closeOrder=function(){var e=this;e.userOptions.stayOpen||(e.drop.style.display="none",e.search&&(e.inputBox.value="",Array.prototype.slice.call(e.listElements).forEach(function(e){e.classList.remove("hide")})))},this.getCssArray=function(e){let a=[];".vsb-main button"===e&&(a=[{key:"min-width",value:"120px"},{key:"border-radius",value:"0"},{key:"width",value:"100%"},{key:"text-align",value:"left"},{key:"z-index",value:"1"},{key:"color",value:"#333"},{key:"background",value:"white !important"},{key:"border",value:"1px solid #999 !important"},{key:"line-height",value:"20px"},{key:"font-size",value:"14px"},{key:"padding",value:"6px 12px"}]);{e=a;let t="";return e.forEach(function(e){t+=e.key+":"+e.value+";"}),t}},this.init=function(){let d=this;this.root.style.display="none";var e,t=document.getElementById("btn-group-"+d.domSelector),t=(t&&t.remove(),this.main=document.createElement("div"),this.root.parentNode.insertBefore(this.main,this.root.nextSibling),this.main.classList.add("vsb-main"),this.main.setAttribute("id","btn-group-"+this.domSelector),this.main.style.marginLeft=this.main.style.marginLeft,d.userOptions.stayOpen&&(this.main.style.minHeight=this.userOptions.maxHeight+10+"px"),d.userOptions.stayOpen?this.button=document.createElement("div"):(this.button=document.createElement("button"),t=d.getCssArray(".vsb-main button"),this.button.setAttribute("style",t)),this.button.style.maxWidth=this.userOptions.maxHeight+"px",-1!==this.userOptions.minWidth&&(this.button.style.minWidth=this.userOptions.minWidth+"px"),this.main.appendChild(this.button),this.title=document.createElement("span"),this.button.appendChild(this.title),this.title.classList.add("title"),document.createElement("span"));this.button.appendChild(t),t.classList.add("caret"),t.style.position="absolute",t.style.right="8px",t.style.marginTop="8px",d.userOptions.stayOpen&&(t.style.display="none",this.title.style.paddingLeft="20px",this.title.style.fontStyle="italic",this.title.style.verticalAlign="20%"),this.drop=document.createElement("div"),this.main.appendChild(this.drop),this.drop.classList.add("vsb-menu"),this.drop.style.zIndex=2e3-this.instanceOffset,this.ul=document.createElement("ul"),this.drop.appendChild(this.ul),this.ul.style.maxHeight=this.userOptions.maxHeight+"px",this.ul.style.minWidth=this.ulminWidth+"px",this.ul.style.minHeight=this.ulminHeight+"px",this.isMultiple&&(this.ul.classList.add("multi"),d.userOptions.disableSelectAll||((t=document.createElement("option")).setAttribute("value","all"),t.innerText=d.userOptions.translations.selectAll,this.root.insertBefore(t,this.root.hasChildNodes()?this.root.childNodes[0]:null)));let r="",l="",c=0;function a(){document.removeEventListener("click",a),d.drop.style.display="none",d.search&&(d.inputBox.value="",Array.prototype.slice.call(d.listElements).forEach(function(e){e.classList.remove("hidden-search")}))}this.search&&(this.searchZone=document.createElement("div"),this.ul.appendChild(this.searchZone),this.searchZone.classList.add("vsb-js-search-zone"),this.searchZone.style.zIndex=2001-this.instanceOffset,this.inputBox=document.createElement("input"),this.searchZone.appendChild(this.inputBox),this.inputBox.setAttribute("type","text"),this.inputBox.setAttribute("id","search_"+this.domSelector),t=this.isMultiple?"12px":"6px",e=document.createElement("p"),this.ul.appendChild(e),e.style.fontSize=t,e.innerHTML="&nbsp;",this.ul.addEventListener("scroll",function(e){var t=this.scrollTop;d.searchZone.parentNode.style.top=t+"px"})),this.options=document.querySelectorAll(this.domSelector+" > option"),Array.prototype.slice.call(this.options).forEach(function(e){var t=e.textContent,a=e.value;let n,i=(e.hasAttributes()&&(n=Array.prototype.slice.call(e.attributes).filter(function(e){return-1===d.forbidenAttributes.indexOf(e.name)})),e.getAttribute("class")),o=(i=i?i.split(" ").filter(function(e){return-1===d.forbidenClasses.indexOf(e)}):[],document.createElement("li"));var s=e.hasAttribute("selected"),e=e.hasAttribute("disabled");d.ul.appendChild(o),o.setAttribute("data-value",a),o.setAttribute("data-text",t),void 0!==n&&n.forEach(function(e){o.setAttribute(e.name,e.value)}),i.forEach(function(e){o.classList.add(e)}),s&&(c++,r+=l+t,l=",",o.classList.add("active"),d.isMultiple||(d.title.textContent=t,0!=i.length&&i.forEach(function(e){d.title.classList.add(e)}))),e&&o.classList.add("disabled"),o.appendChild(document.createTextNode(t))}),null!==document.querySelector(this.domSelector+" optgroup")&&(this.options=document.querySelectorAll(this.domSelector+" option"),t=document.querySelectorAll(this.domSelector+" optgroup"),Array.prototype.slice.call(t).forEach(function(e){var t=e.querySelectorAll("option"),a=document.createElement("li");a.classList.add("grouped-option"),a.appendChild(document.createTextNode(e.label)),d.ul.appendChild(a),Array.prototype.slice.call(t).forEach(function(e){var t=e.textContent,a=e.value;let n=e.getAttribute("class"),i=(n=n?n.split(" "):[],document.createElement("li"));e=e.hasAttribute("selected");d.ul.appendChild(i),i.setAttribute("data-value",a),i.setAttribute("data-text",t),0!=n.length&&n.forEach(function(e){i.classList.add(e)}),e&&(c++,r+=l+t,l=",",i.classList.add("active"),d.isMultiple||(d.title.textContent=t,0!=n.length&&n.forEach(function(e){d.title.classList.add(e)}))),i.appendChild(document.createTextNode(t))})})),-1!=d.multipleSize&&c>d.multipleSize&&(e=d.userOptions.translations.items||"items",r=c+" "+e),d.isMultiple&&(d.title.innerHTML=r),""!=d.userOptions.placeHolder&&""==d.title.textContent&&(d.title.textContent=d.userOptions.placeHolder),this.listElements=this.drop.querySelectorAll("li:not(.grouped-option)"),d.search&&d.inputBox.addEventListener("keyup",function(e){let t=e.target.value.toUpperCase();e=t.length;let a=0,n=0,i=null;e<2?Array.prototype.slice.call(d.listElements).forEach(function(e){"all"===e.getAttribute("data-value")?i=e:(e.classList.remove("hidden-search"),a++,n+=e.classList.contains("active"))}):Array.prototype.slice.call(d.listElements).forEach(function(e){"all"!==e.getAttribute("data-value")?-1===e.getAttribute("data-text").toUpperCase().indexOf(t)&&"all"!==e.getAttribute("data-value")?e.classList.add("hidden-search"):(a++,e.classList.remove("hidden-search"),n+=e.classList.contains("active")):i=e}),i&&(0===a?i.classList.add("disabled"):i.classList.remove("disabled"),n!==a?(i.classList.remove("active"),i.innerText=d.userOptions.translations.selectAll,i.setAttribute("data-selected","false")):(i.classList.add("active"),i.innerText=d.userOptions.translations.clearAll,i.setAttribute("data-selected","true")))}),d.userOptions.stayOpen?(d.drop.style.display="block",d.drop.style.boxShadow="none",d.drop.style.minHeight=this.userOptions.maxHeight+10+"px",d.drop.style.position="relative",d.drop.style.left="0px",d.drop.style.top="0px",d.button.style.border="none"):this.main.addEventListener("click",function(e){d.isDisabled||(d.drop.style.left=d.left+"px",d.drop.style.top=d.top+"px",d.drop.style.display="block",document.addEventListener("click",a),e.preventDefault(),e.stopPropagation(),d.userOptions.stayOpen)||VSBoxCounter.closeAllButMe(d.instanceOffset)}),this.drop.addEventListener("click",function(e){if(!d.isDisabled)if(e.target.hasAttribute("data-value")){var s,r=e.target.getAttribute("data-value"),t=e.target.getAttribute("data-text"),l=e.target.getAttribute("class");if(!l||-1==l.indexOf("disabled"))if("all"===r)e.target.hasAttribute("data-selected")&&"true"===e.target.getAttribute("data-selected")?d.setValue("none"):d.setValue("all");else{if(d.isMultiple){let t=!1,a=((t=l?-1!=l.indexOf("active"):t)?e.target.classList.remove("active"):e.target.classList.add("active"),""),n="",i=0,o=0;for(let e=0;e<d.options.length;e++)o++,d.options[e].value==r&&(d.options[e].selected=!t),d.options[e].selected&&(i++,a+=n+d.options[e].textContent,n=",");o==i?(s=d.userOptions.translations.all||"all",a=s):-1!=d.multipleSize&&i>d.multipleSize&&(s=d.userOptions.translations.items||"items",a=i+" "+s),d.title.textContent=a,d.checkUncheckAll(),d.privateSendChange()}else d.root.value=r,d.title.textContent=t,l?d.title.setAttribute("class",l+" title"):d.title.setAttribute("class","title"),Array.prototype.slice.call(d.listElements).forEach(function(e){e.classList.remove("active")}),""!=t&&e.target.classList.add("active"),d.privateSendChange(),d.userOptions.stayOpen||a();e.preventDefault(),e.stopPropagation(),""!=d.userOptions.placeHolder&&""==d.title.textContent&&(d.title.textContent=d.userOptions.placeHolder)}}else e.preventDefault(),e.stopPropagation()})},this.init(),this.checkUncheckAll(),this.privateSendChange()}function vanillaSelectBox_type(e){return Object.prototype.toString.call(e).replace("[object ","").replace("]","").toLowerCase()}vanillaSelectBox.prototype.disableItems=function(t){let a=[];"string"==vanillaSelectBox_type(t)&&(t=t.split(",")),"array"==vanillaSelectBox_type(t)&&Array.prototype.slice.call(this.options).forEach(function(e){-1!=t.indexOf(e.value)&&(a.push(e.value),e.setAttribute("disabled",""))}),Array.prototype.slice.call(this.listElements).forEach(function(e){var t=e.getAttribute("data-value");-1!=a.indexOf(t)&&e.classList.add("disabled")})},vanillaSelectBox.prototype.enableItems=function(t){let a=[];"string"==vanillaSelectBox_type(t)&&(t=t.split(",")),"array"==vanillaSelectBox_type(t)&&Array.prototype.slice.call(this.options).forEach(function(e){-1!=t.indexOf(e.value)&&(a.push(e.value),e.removeAttribute("disabled"))}),Array.prototype.slice.call(this.listElements).forEach(function(e){-1!=a.indexOf(e.getAttribute("data-value"))&&e.classList.remove("disabled")})},vanillaSelectBox.prototype.checkUncheckAll=function(){if(this.isMultiple){let t=0,a=0,n=null;Array.prototype.slice.call(this.listElements).forEach(function(e){e.hasAttribute("data-value")&&("all"===e.getAttribute("data-value")&&(n=e),"all"===e.getAttribute("data-value")||e.classList.contains("hidden-search")||e.classList.contains("disabled")||(a++,t+=e.classList.contains("active")))}),n&&(t===a?(n.classList.add("active"),n.innerText=this.userOptions.translations.clearAll,n.setAttribute("data-selected","true")):0===t&&(n.classList.remove("active"),n.innerText=this.userOptions.translations.selectAll,n.setAttribute("data-selected","false")))}},vanillaSelectBox.prototype.setValue=function(s){var e,r=this;if(null==s||""==s)r.empty();else if(r.isMultiple){"string"==vanillaSelectBox_type(s)&&("all"===s?(s=[],Array.prototype.slice.call(r.listElements).forEach(function(e){var t;e.hasAttribute("data-value")&&"all"!==(t=e.getAttribute("data-value"))&&(e.classList.contains("hidden-search")||e.classList.contains("disabled")||s.push(e.getAttribute("data-value")),e.classList.contains("active"))&&(e.classList.contains("hidden-search")||e.classList.contains("disabled"))&&s.push(t)})):"none"===s?(s=[],Array.prototype.slice.call(r.listElements).forEach(function(e){var t;e.hasAttribute("data-value")&&"all"!==(t=e.getAttribute("data-value"))&&e.classList.contains("active")&&(e.classList.contains("hidden-search")||e.classList.contains("disabled"))&&s.push(t)})):s=s.split(","));let o=[];if("array"==vanillaSelectBox_type(s)){Array.prototype.slice.call(r.options).forEach(function(e){-1!==s.indexOf(e.value)?(e.selected=!0,o.push(e.value)):e.selected=!1});let t="",a="",n=0,i=0;Array.prototype.slice.call(r.listElements).forEach(function(e){i++,-1!=o.indexOf(e.getAttribute("data-value"))?(e.classList.add("active"),n++,t+=a+e.getAttribute("data-text"),a=","):e.classList.remove("active")}),i==n?(e=r.userOptions.translations.all||"all",t=e):-1!=r.multipleSize&&n>r.multipleSize&&(e=r.userOptions.translations.items||"items",t=n+" "+e),r.title.textContent=t,r.privateSendChange()}r.checkUncheckAll()}else{let t=!1,a="";Array.prototype.slice.call(r.listElements).forEach(function(e){e.getAttribute("data-value")==s?(e.classList.add("active"),t=!0,a=e.getAttribute("data-text")):e.classList.remove("active")}),Array.prototype.slice.call(r.options).forEach(function(e){e.value==s?(e.selected=!0,className=(className=e.getAttribute("class"))||""):e.selected=!1}),t&&(r.title.textContent=a,""!=r.userOptions.placeHolder&&""==r.title.textContent&&(r.title.textContent=r.userOptions.placeHolder),""!=className?r.title.setAttribute("class",className+" title"):r.title.setAttribute("class","title"))}},vanillaSelectBox.prototype.privateSendChange=function(){var e=document.createEvent("HTMLEvents");e.initEvent("change",!0,!1),this.root.dispatchEvent(e)},vanillaSelectBox.prototype.empty=function(){Array.prototype.slice.call(this.listElements).forEach(function(e){e.classList.remove("active")}),Array.prototype.slice.call(this.options).forEach(function(e){e.selected=!1}),(this.title.textContent="")!=this.userOptions.placeHolder&&""==this.title.textContent&&(this.title.textContent=this.userOptions.placeHolder),this.checkUncheckAll(),this.privateSendChange()},vanillaSelectBox.prototype.destroy=function(){var e=document.getElementById("btn-group-"+this.domSelector);e&&(VSBoxCounter.remove(this.instanceOffset),e.remove(),this.root.style.display="inline-block")},vanillaSelectBox.prototype.disable=function(){var e=document.getElementById("btn-group-"+this.domSelector);e&&((button=e.querySelector("button"))&&button.classList.add("disabled"),this.isDisabled=!0)},vanillaSelectBox.prototype.enable=function(){var e=document.getElementById("btn-group-"+this.domSelector);e&&((button=e.querySelector("button"))&&button.classList.remove("disabled"),this.isDisabled=!1)},vanillaSelectBox.prototype.showOptions=function(){console.log(this.userOptions)},"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),$(document).ready(function(){$(".carousel-item",".show-neighbors").each(function(){var e=$(this).next();(e=e.length?e:$(this).siblings(":first")).children(":first-child").clone().appendTo($(this))}),$(window).on("load resize orientationchange",function(){$(".carousel").each(function(){var e=$(".carousel-item .item-inner-wrapper .carousel-item-body",this),t=(e.css("min-height",0),Math.max.apply(null,e.map(function(){return $(this).outerHeight()}).get()));e.css("min-height",t+"px")})});var t=$(".simple-carousel .carousel-item").length,a=$(".simple-carousel .carousel-item.active").index()+1;$(".sc-num").html(a+"/"+t),$("#simpleCarouselControls").on("slide.bs.carousel",function(e){"right"==e.direction&&(0==--a&&(a=t),$(".sc-num").html(a+"/"+t)),"left"==e.direction&&(t<++a&&(a=1),$(".sc-num").html(a+"/"+t))})});var window_height,window_width,nav_toggle,navbar_initialized=!1,offCanvas=($("html").addClass("nav-close"),{sidenav:{sidenav_visible:0},initSideNav:function(){var e;navbar_initialized||((e=$(".navbar-toggler")).on("click",function(){1==offCanvas.sidenav.sidenav_visible?($("html").removeClass("nav-open"),$("html").delay(200).addClass("nav-close"),offCanvas.sidenav.sidenav_visible=0,$("#overlay").remove(),setTimeout(function(){e.removeClass("toggled")},300)):(setTimeout(function(){e.addClass("toggled")},300),$("html,body").animate({scrollTop:0},500),$('<div id="overlay"></div>').appendTo("body").on("click",function(){$("html").removeClass("nav-open"),offCanvas.sidenav.sidenav_visible=0,$("#overlay").remove(),setTimeout(function(){e.removeClass("toggled")},300)}),$("html").delay(200).removeClass("nav-close"),$("html").addClass("nav-open"),offCanvas.sidenav.sidenav_visible=1)}),navbar_initialized=!0)}}),head=($(document).ready(function(){window_width=$(window).width(),nav_toggle=!!$("nav").hasClass("navbar-offcanvas"),(window_width<992||nav_toggle)&&offCanvas.initSideNav(),$(".navbar-nav .nav-link:not(.dropdown-toggle), .dropdown-item, .mobile-subnav a").on("click",function(){var e;$("body").hasClass("company-kampf")&&$(this).hasClass("dropdown-toggle")||$(this).hasClass("dropdown-toggle")||(e=$(".navbar-toggler"),$("html").removeClass("nav-open"),offCanvas.sidenav.sidenav_visible=0,setTimeout(function(){e.removeClass("toggled")},300))})}),$(window).resize(function(){(window_width=$(window).width())<992&&offCanvas.initSideNav(),992<window_width&&!nav_toggle&&($("nav").removeClass("navbar-offcanvas"),offCanvas.sidenav.sidenav_visible=1,navbar_initialized=!1)}),document.getElementsByTagName("head")[0]),insertBefore=head.insertBefore;function loadPowermailJS(){return new Promise((e,t)=>{var a;if("undefined"!=typeof requirejs)try{require(["powermail"],function(){e()})}catch(e){t("RequireJS powermail load error")}else window.powermailLoaded?e():((a=document.createElement("script")).src="/_assets/9eba85d2ab3114466ae8b6879f949b4c/JavaScript/Powermail/Form.min.js",a.onload=function(){window.powermailLoaded=!0,e()},a.onerror=function(){t("Script load error")},document.body.appendChild(a))})}function activatePowermailRadioAutoAdvance(e){e.find(".radio.btn.btn-default").on("click",function(){var t=$(this).find("input[type=radio]");if(0<t.length){t.prop("checked",!0).trigger("change");t=$(this).closest(".powermail_fieldset");let e=parseInt(t.attr("class").match(/powermail_fieldset_(\d+)/)?.[1]||0)+1;var t=t.find(".powermail_tab_navigation button[data-powermail-morestep-show]"),a=t.filter(function(){return parseInt($(this).attr("data-powermail-morestep-show"))===e}).first();(a.length?a:t.first()).trigger("click")}})}window.tp3_app=window.tp3_app||{},head.insertBefore=function(e,t){e.href&&-1<e.href.indexOf("//fonts.googleapis.com/css?family=")?console.info("Prevented fonts from loading!"):insertBefore.call(head,e,t)},(()=>{function i(i){if("1"!==i.dataset.loaded){let t=i.getAttribute("data-src"),a=i.getAttribute("data-srcset"),n=i.getAttribute("data-sizes");var e,o=()=>{var e;(e=i).matches(".image-background-image, [data-bg]")||"IMG"!==e.tagName?t&&(i.style.backgroundImage=`url("${t}")`):(t&&i.setAttribute("src",t),a&&i.setAttribute("srcset",a),n&&i.setAttribute("sizes",n)),i.dataset.loaded="1",i.classList.add("lazy--loaded"),i.classList.remove("lazy")};t?((e=new Image).onload=o,e.onerror=o,e.src=t):o()}}function e(){var n=Array.from(document.querySelectorAll(".lazy, [data-src], [data-srcset]"));if("IntersectionObserver"in window){let t=new IntersectionObserver((e,t)=>{e.forEach(e=>{e.isIntersecting&&(i(e.target),t.unobserve(e.target))})},{root:null,rootMargin:"0px 0px 300px 0px",threshold:.01});n.forEach(e=>t.observe(e))}else{let e=n,t=()=>{(e=e.filter(e=>{var t=e.getBoundingClientRect();return t.top<window.innerHeight+300&&-300<t.bottom&&i(e),"1"!==e.dataset.loaded})).length||(window.removeEventListener("scroll",a,{passive:!0}),window.removeEventListener("resize",a))},a=()=>{clearTimeout(a._t),a._t=setTimeout(t,100)};window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),t()}}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e();let a=new Map,t=[];var n;Cookies.get("waconcookiemanagement")&&0<$(".embed-responsive-item.player, .embed-responsive.player").length&&((n=document.createElement("script")).src="https://www.youtube.com/iframe_api",document.head.appendChild(n)),$("video").each(function(){t.push(this)}),window.onYouTubeIframeAPIReady=function(){console.log("YouTube API bereit"),$(".embed-responsive-item.player[data-src]").each(function(){var e=$(this),t=e.data("src"),a=document.createElement("iframe");a.setAttribute("src",t+(t.includes("?")?"&":"?")+"enablejsapi=1"),a.setAttribute("frameborder","0"),a.setAttribute("allowfullscreen",""),a.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),a.className=e.attr("class"),a.id=e.attr("id"),e.replaceWith(a)}),$(".embed-responsive.player[data-video-id]").each(function(){var e=$(this),t="https://www.youtube-nocookie.com/embed/"+e.data("video-id"),a=document.createElement("iframe");a.setAttribute("src",t+(t.includes("?")?"&":"?")+"enablejsapi=1"),a.setAttribute("frameborder","0"),a.setAttribute("allowfullscreen",""),a.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),a.className=e.attr("class"),a.id=e.attr("id"),e.replaceWith(a)}),setTimeout(()=>{$('iframe[src*="youtube"]').each(function(){let e=this,t=new YT.Player(e,{events:{onReady:function(){a.set(e,t),o.observe(e),console.log("YT-Player bereit:",e.id)}}})})},300)};let o=new IntersectionObserver(e=>{e.forEach(e=>{var t=e.target;e.isIntersecting||("VIDEO"===t.tagName&&(t.pause(),console.log("HTML5 pausiert")),a.has(t)&&"function"==typeof(e=a.get(t)).pauseVideo&&(e.pauseVideo(),console.log("YouTube pausiert")))})},{root:null,threshold:.1});t.forEach(e=>o.observe(e)),a.forEach((e,t)=>o.observe(t)),$(".vertical-tabs").find(".nav-pills").attr("aria-orientation","horizontal"),$(function(){$(".nav-tabs").scrollingTabs().on("ready.scrtabs",function(){$(".tab-content").show()})}),"undefined"!=typeof powermailCondition&&powermailCondition.init(),document.addEventListener("powermailFormInitialized",function(e){console.log("Powermail form ready!",e.detail.form)}),void 0!==window.powermailCondition&&window.powermailCondition.init()})(),tp3_app.ready=function(){var e=Cookies.get("cookiePreferences"),e=e?JSON.parse(e):{};function t(){document.querySelector(".js-google-maps-loader")&&(async()=>{var e,t=document.querySelector(".js-google-maps-loader");t&&(t=t.dataset.apiKey,(e=document.createElement("script")).src=`https://maps.googleapis.com/maps/api/js?key=${t}&v=weekly`,e.async=!0,e.defer=!0,e.onload=async function(){var e=(await google.maps.importLibrary("maps")).Map;tp3_app.initMap(e)},document.head.appendChild(e))})();var e,a,n,t=document.querySelector(".js-leaflet-loader");t&&(t=t.dataset.src,(e=document.createElement("script")).src=t,e.async=!0,document.body.appendChild(e)),0<$(".embed-responsive.player[data-video-id], .player.youtube").length&&!document.getElementById("youtube-api")&&((t=document.createElement("script")).src="https://www.youtube.com/iframe_api",t.id="youtube-api",document.body.appendChild(t)),!window.Marker&&window.Marker instanceof Object&&(e=window,t=document,e.__Marker||(e.__Marker={},n={__cs:a=[]},["show","hide","isVisible","capture","cancelCapture","unload","reload","isExtensionInstalled","setReporter","clearReporter","setCustomData","on","off"].forEach(function(t){n[t]=function(){var e=Array.prototype.slice.call(arguments);e.unshift(t),a.push(e)}}),e.Marker=n,(e=t.createElement("script")).async=1,e.src="https://edge.marker.io/latest/shim.js",t.head.appendChild(e))),document.querySelectorAll(".consent.alert.external").forEach(e=>e.remove()),document.querySelectorAll(".js-consent-embed").forEach(n=>{if("1"!==n.dataset.embedActivated){var e=(n.dataset.consent||"marketing").toLowerCase();if(e=e,window.Cookiebot&&Cookiebot.consent&&Cookiebot.consent[e]){e=n.dataset.src;if(e){let a=document.createElement("iframe");a.src=e,["width","height","frameborder","allow","referrerpolicy","loading"].forEach(e=>{var t=n.getAttribute(e);null!==t&&a.setAttribute(e,t)});var e=n.getAttribute("title")||document.title,t=n.getAttribute("style")||"width:100%;height:70vh;border:none;";a.setAttribute("style",t),a.setAttribute("title",e),a.setAttribute("allowfullscreen","true"),n.replaceWith(a),a.dataset.embedActivated="1"}}}})}function a(e){e=e.getBoundingClientRect();return 0<=e.top&&0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function n(){$("video, iframe").each(function(){var e=$(this).get(0);!0!==$(this).data("autoplay")&&"true"!==$(this).attr("data-autoplay")||(a(this)?"video"===e.tagName.toLowerCase()?e.play().catch(e=>{console.warn("Video konnte nicht abgespielt werden:",e)}):"iframe"===e.tagName.toLowerCase()&&e.contentWindow&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):"video"===e.tagName.toLowerCase()?e.pause():"iframe"===e.tagName.toLowerCase()&&e.contentWindow&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*"))})}console.log(e),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t(),window.addEventListener("CookiebotOnConsentReady",t),window.addEventListener("CookiebotOnAccept",t),$(window).on("scroll resize",n),n(),$(document).on("submit","#mailchimp-form",function(e){var t=$(this),a=t.data("url");a&&(e.preventDefault(),$.ajax({type:"POST",url:a,data:t.serialize(),dataType:"html",encode:!1}).done(function(e){$("#mailchimp-ajax-response").html(e)}))}),$("#automodal").appendTo("body");{e=jQuery;let o=7,t=e("#automodal");if(0!==t.length){let i="automodalClosed:"+(t.data("automodal-id")||"default");function s(){var e,t,a,n;e=i,t="1",!(a=o)||a<=0?localStorage.setItem(e,JSON.stringify({v:t})):(n=Date.now(),localStorage.setItem(e,JSON.stringify({v:t,e:n+24*a*60*60*1e3})))}function r(){return bootstrap.Modal.getInstance(t[0])||new bootstrap.Modal(t[0])}function l(){"1"!==(e=>{var t=localStorage.getItem(e);if(!t)return null;try{var a=JSON.parse(t);return a&&"object"==typeof a&&"e"in a?Date.now()>a.e?(localStorage.removeItem(e),null):a.v:a?.v??null}catch(e){return null}})(i)&&(r().show(),t.off("hidden.bs.modal.__remember").on("hidden.bs.modal.__remember",function(){s()}))}l(),e(".btn-autoOverlay").on("click",function(e){e.preventDefault(),l()}),t.on("click",'.btn-close, [data-dismiss="modal"], [data-bs-dismiss="modal"]',function(e){s(),r().hide()}),e(document).on("click","footer .btn, footer a, [data-close-automodal]",function(){s();var e=r();t.hasClass("show")&&e.hide()})}}tp3_app.dashbordAjax=function(){if(0<$(".frame-type-panel.frame-layout-extra").length){var e;$(".frame-type-panel.frame-layout-extra").hide();document.documentElement;"true"!=Cookies.get("fullscreenModal")&&(t=$(".frame-type-panel.frame-layout-extra"),e=$('<div class="modal fullscreen fade" id="ajaxModal" tabindex="-1" role="dialog" aria-hidden="true">\n  <div class="modal-dialog modal-lg">\n    <div class="modal-content">\n    <div class="gh-inner-bottom"><div class="container-fluid h-100"><div class="row h-100"><div class="col-3 bg-dark"></div><div class="col-3 bg-blue"></div><div class="col-3 bg-green"></div><div class="col-3 bg-orange"></div></div></div></div>     <div class="modal-header">\n        <h4 class="modal-title" id="myModalLabel">'+t.find(".card-header").html()+'</h4>\n        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"><span aria-hidden="true"></span></button>\n      </div>\n      <div class="modal-body"> '+t.find(".card-body").html()+' \n      </div>\n      <div class="modal-footer">\n      </div>\n    </div>\n  </div>\n</div>'),$("body").append(e),e.modal({keyboard:!0}),screen.width<screen.availHeight&&e.modal("show"),Cookies.set("fullscreenModal",!0),e.find(".btn").click(function(){e.modal("hide")}))}var t;$(".organigramm").find(".link").on("click",function(e){e.preventDefault(),console.log("dashbordAjax");var e=$(this),e=window.location.pathname.replace(".html","/")+e.attr("id").toLowerCase()+".html ",t=$('<div class="hidden"></div>'),a=($("body").addClass("xframe").append(t),$('<div class="spinner-border"></div>').prependTo($("#page-content").find(".frame").first()));setTimeout(()=>{a.remove()},3e3),location.href=e}).addClass("dashbordAjax"),$(".main-content").find(".ajaxRequest").on("click",function(e){e.preventDefault(),console.log(e);var e=$(this),t=e.attr("href")&&0<e.attr("href").indexOf("#")?e.attr("href").substring(e.data("href").indexOf("#")):"",a=e.attr("href").replace(".html",".jx")+" "+t,n=$('<div class="hidden"></div>');$(".main-content > .row").delay(300).hide(),$("body").addClass("xframe").append(n),n.load(a,function(){n.find(".frame-backgroundimage-fade, .main-content .frame-container").removeClass("animated").removeClass("fadeInLeft"),1==$("."+n.find(".main-content").attr("class").replace(" ",".")).length?(n.find(".main-content>.row").prependTo(".main-content").addClass("xframe").show(),$(".main-content .nav-tabs").scrollingTabs(),tp3_app.tabs(),tp3_app.dashbordTabs(),tp3_app.dashbordAjax(),update_history(a),tp3_app.history_count++,$("body").find(".main-content").attr("class",n.find(".main-content").attr("class"))):($("."+n.find(".main-content").attr("class").replace(" ",".")).show(),n.remove()),n.modal("show")})}),$("body").hasClass("xframe")&&$(".main-content").find(".btn").on("click",function(e){e.preventDefault(),console.log(e);var e=$(this),t=e.attr("href")&&0<e.attr("href").indexOf("#")?e.attr("href").substring(e.data("href").indexOf("#")):"",a=e.attr("href").replace(".html",".jx")+" "+t,n=$('<div class="hidden"></div>');$(".main-content > .row").delay(300).hide(),$("body").addClass("xframe").append(n),n.load(a,function(){n.find(".frame-backgroundimage-fade, .main-content .frame-container").removeClass("animated").removeClass("fadeInLeft"),1==$("."+n.find(".main-content").attr("class").replace(" ",".")).length?(n.find(".main-content>.row").prependTo(".main-content").addClass("xframe").show(),$(".main-content .nav-tabs").scrollingTabs(),tp3_app.tabs(),tp3_app.dashbordTabs(),tp3_app.dashbordAjax(),update_history(a),tp3_app.history_count++,$("body").find(".main-content").attr("class",n.find(".main-content").attr("class"))):($("."+n.find(".main-content").attr("class").replace(" ",".")).show(),n.remove()),n.modal("show")})}),$("body").hasClass("backendlayout-advanced")&&0<(t=$(".frame-type-mask_imageslider .slickslider")).length&&t.each(function(a,e){let n=[];if($(e).hasClass("slick-initialized"))return!0;n[a]=$(e),n[a].slickOptions={dots:!1,infinite:!0,speed:300,slidesToShow:1,slidesToScroll:1,vertical:"vertical"==$(e).attr("data-direction"),verticalSwiping:"vertical"==$(e).attr("data-direction"),centerMode:!1,centerPadding:"50px",responsive:[{breakpoint:1024,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]},n[a].on("init",function(e,t){console.log(t),t.$slides&&$(t.$slides[t.currentSlide]).find(".frame").hasClass("frame-background-none")?n[a].parents(".frame").find(".slick-controls").removeClass("inverted"):n[a].parents(".frame").find(".slick-controls").addClass("inverted")});var t=$(e).attr("data-anzahl"),e=(null!=t&&""!=t&&991<$(window).width()?n[a].slickOptions.slidesToShow=t:n[a].slickOptions.slidesToShow=3,$(e).attr("data-arrows"));null!=e&&""!=e&&(n[a].slickOptions.arrows=0<t),n[a].slick(n[a].slickOptions).on("afterChange",(e,t,a)=>{})})},tp3_app.tabs=function(){console.log("tabs"),$(".navbar-tabs .nav-link").hover(function(){var e,t,a=$(this),n=a.data("bsTarget"),i=a.data("media");if(i&&a.hasClass("dropdown-media")&&a.parents(".dropdown-menu-full").find(".dropdown-image").css({backgroundImage:"url("+i+")"}),0<$(n).length&&($(n).parents(".tab-content").find("> .active").removeClass("active"),$(n).addClass("active").addClass("show"),$(n).find('.tab-link[aria-selected="true"]').addClass("active"),$($(n).find('.tab-link[aria-selected="true"]').data("bsTarget")).addClass("active").addClass("show")),a.data("href")&&0<$(n).length)switch((t=a.data("href")).substr(t.lastIndexOf(".")+1)){case"jpg":case"png":case"gif":n=$('<img class="ajax-img" src="'+t+'"></img>').appendTo(n);break;case"zip":case"rar":n=$('<a class="ajax-file" src="'+t+'"></a>').appendTo(n);break;case"pdf":n=$('<iframe class="ajax-file" src="'+t+'"></iframe>').appendTo(n);break;default:t=0<a.data("href").indexOf("#")?a.data("href").substring(a.data("href").indexOf("#")):"#page-content",e=a.data("href")+".jx "+t,$('<div class="spinner-border"></div>').appendTo(n),$(n).load(e,function(){$('form[name="anfordern"]').autosubmit({request:"data"})})}if($.isFunction(a.tab))try{0<$(n).length&&a.tab("show")}catch(e){}}),$(".navbar-tabs .tab-link").hover(function(){var e,t,a=$(this),n=a.data("bsTarget"),i=a.data("media");if(i&&a.parents(".dropdown-menu-full").find(".dropdown-image").css({backgroundImage:"url("+i+")"}),0<$(n).length&&($(n).addClass("active").addClass("show"),$(n).find('.tab-link[aria-selected="true"]').addClass("active"),$($(n).find('.tab-link[aria-selected="true"]').data("bsTarget")).addClass("active").addClass("show")),a.data("href")&&0<$(n).length)switch((t=a.data("href")).substr(t.lastIndexOf(".")+1)){case"jpg":case"png":case"gif":n=$('<img class="ajax-img" src="'+t+'"></img>').appendTo(n);break;case"zip":case"rar":n=$('<a class="ajax-file" src="'+t+'"></a>').appendTo(n);break;case"pdf":n=$('<iframe class="ajax-file" src="'+t+'"></iframe>').appendTo(n);break;default:t=0<a.data("href").indexOf("#")?a.data("href").substring(a.data("href").indexOf("#")):"#page-content",e=a.data("href")+".jx "+t,$('<div class="spinner-border"></div>').appendTo(n),$(n).load(e,function(){$('form[name="anfordern"]').autosubmit({request:"data"})})}if($.isFunction(a.tab))try{0<$(n).length&&a.tab("show")}catch(e){}}),$(".nav-link").click(function(e){var t,a,n=$(this),i=n.data("bsTarget");if($(this).hasClass("real-link")&&C(),0<$(i).length&&($(i).parents(".tab-content").find("> .active").removeClass("active"),$(i).addClass("active").addClass("show"),$(i).find('.tab-link[aria-selected="true"]').addClass("active"),$($(i).find('.tab-link[aria-selected="true"]').data("bsTarget")).addClass("active").addClass("show")),n.data("href")&&0<$(i).length)switch((a=n.data("href")).substr(a.lastIndexOf(".")+1)){case"jpg":case"png":case"gif":i=$('<img class="ajax-img" src="'+a+'"></img>').appendTo(i);break;case"zip":case"rar":i=$('<a class="ajax-file" src="'+a+'"></a>').appendTo(i);break;case"pdf":i=$('<iframe class="ajax-file" src="'+a+'"></iframe>').appendTo(i);break;default:a=0<n.data("href").indexOf("#")?n.data("href").substring(n.data("href").indexOf("#")):"#page-content",t=n.data("href")+".jx "+a,$('<div class="spinner-border"></div>').appendTo(i),$(i).load(t,function(){$('form[name="anfordern"]').autosubmit({request:"data"})})}$.isFunction(n.tab)}),$(".tab-link").each(function(e){var t=$(this),a=t.data("href")&&0<t.data("href").indexOf("#")?t.data("href").substring(t.data("href").indexOf("#")):"#page-content";t.data("href"),t.attr("bsTarget");$(".tab-link").has('[aria-selected="true"]').addClass("active"),t.click(function(e){var t,a,n=$(this),i=n.data("bsTarget");if($(this).hasClass("real-link")&&C(),n.data("realHref")&&(location.href=n.data("realHref")),$(i).addClass("active").addClass("show"),n.data("href")&&0<$(i).length)switch((a=n.data("href")).substr(a.lastIndexOf(".")+1)){case"jpg":case"png":case"gif":i=$('<img class="ajax-img" src="'+a+'"></img>').appendTo(i);break;case"zip":case"rar":i=$('<a class="ajax-file" src="'+a+'"></a>').appendTo(i);break;case"pdf":i=$('<iframe class="ajax-file" src="'+a+'"></iframe>').appendTo(i);break;default:a=0<n.data("href").indexOf("#")?n.data("href").substring(n.data("href").indexOf("#")):"#page-content",t=n.data("href")+".jx "+a,$('<div class="spinner-border"></div>').appendTo(i),$(i).load(t,function(){$('form[name="anfordern"]').autosubmit({request:"data"})})}n.tab("show")})}),$('button[data-bs-toggle="tab"].active').each(function(e){var t=$(this),a=t.data("href")&&0<t.data("href").indexOf("#")?t.data("href").substring(t.data("href").indexOf("#")):"#page-content",a=t.data("href")+".jx "+a,n=t.data("bsTarget");t.data("href")&&($('<div class="spinner-border"></div>').appendTo(n),$(n).load(a,function(){tp3_app.dashbordAjax()}))});var e=$('button[data-bs-toggle="tab"]');e.on("shown.bs.tab",function(e){e.target}),e.click(function(e){var t,a,n=$(this),i=n.data("bsTarget");if(n.data("href")&&0<$(i).length)switch((a=n.data("href")).substr(a.lastIndexOf(".")+1)){case"jpg":case"png":case"gif":i=$('<img class="ajax-img" src="'+a+'"></img>').appendTo(i);break;case"zip":case"rar":i=$('<a class="ajax-file" src="'+a+'"></a>').appendTo(i);break;case"pdf":i=$('<iframe class="ajax-file" src="'+a+'"></iframe>').appendTo(i);break;default:a=0<n.data("href").indexOf("#")?n.data("href").substring(n.data("href").indexOf("#")):"#page-content",t=n.data("href")+".jx "+a,$('<div class="spinner-border"></div>').appendTo(i),$(i).load(t,function(){$('form[name="anfordern"]').autosubmit({request:"data"})})}n.tab("show")})},tp3_app.tabs(),"function"==$.type($.fn.hasScrollBar)&&$("body").delay(500).hasScrollBar(),0<$(".backendlayout-messe").length&&(window.initial=window.setTimeout(function(){document.location.href="/"},6e5),"/logout.html"==location.pathname)&&$(".felogin-hidden").parents("form").find('input[type="submit"]').trigger("click"),document.body.onclick=function(){clearTimeout(window.initial)},$(".download-item .openflipbook").on("click",function(e){e.preventDefault()}),$('.download-item [data-src="https://ta.kampf.de/"],.download-item [data-src="https://www.r-cycle.org/"],.download-item [data-src="https://stage.myadvanced.de/"]').removeClass("lightbox").on("click",function(e){e.preventDefault(),e.stopPropagation();window.open($(this).data("src"),"popupWindow","width="+screen.width+", height="+screen.height+", scrollbars=yes");return!1});var e=$(".backendlayout-messe .messe-nav"),i=($(".download-item").on("click",function(e){e.preventDefault()}),e.find(".prev").on("click",function(){$('link[rel="prev"]').attr("href")&&(window.location.href=$('link[rel="prev"]').attr("href"))}),$('link[rel="prev"]').attr("href")||e.find(".prev").hide(),e.find(".next").on("click",function(){$('link[rel="next"]').attr("href")&&(window.location.href=$('link[rel="next"]').attr("href"))}),$('link[rel="prev"]').attr("href")||e.find(".next").css({visibility:"hidden"}),e.find(".home").on("click",function(){window.location.href="/index.html"}),$('[class*="backendlayout-dashboard"] .messe-nav')),e=(i.find(".prev").on("click",function(){i.find(".next").css({visibility:"visible"}),window.history.back()}),i.find(".next").on("click",function(){window.history.forward()}),i.find(".home").on("click",function(){var e;0<$('[class*="backendlayout-dashboard"]').length?(e=window.location.pathname,window.location.href=e.substr(0,0<e.indexOf("/",4)?e.indexOf("/",4):e.indexOf(".html",3))+".html"):window.location.href="/index.html"}),$(".backendlayout-messe .main-content  > .frame:first-child .element-subheader").on("click",function(){var e=window.location.pathname;window.location.href="/"+e.substr(1,e.lastIndexOf("/")-1)+".html"}),$(".download-item").on("click",function(e){e.preventDefault()}),$("body").attr("class").split(" ")),o=(S=$.grep(e,function(e){return"company"===e.substring(0,7)}))[0].replace("company-",""),d=($(".news-list-view.isotop .news-panel").isotope({itemSelector:".news-list-item",layoutMode:"masonry",getSortData:{name:".name",division:function(e){return $(e).data().division==o&&($(e).data().division="00"+o),$(e).data().division},date:function(e){return $(e).data().date}},sortBy:"jagenberg"==o?"date":["division","date"],sortAscending:{division:"jagenberg"!=o,date:!1}}),$("#lauerinteractive")),c=(d.find("#listView").addClass("active"),d.find("#background").addClass("animated rotate"),d.find("a").on("click",function(e){e.preventDefault(),console.log(e),d.find("#detailView").show(),e="#back"!=$(e.target).closest("a").attr("xlink:href")&&"#next"!=$(e.target).closest("a").attr("xlink:href")?(!$(e.target).closest("#listView").hasClass("active")&&"#close"!=$(e.target).closest("a").attr("xlink:href")||(d.find("#listX").toggle(),d.find("#listView").toggleClass("active"),d.find("#listView").toggleClass("background"),d.find("#detailView").toggleClass("active"),d.find("#background").toggleClass("rotate")),d.find("#currentIcon-pic").remove(),"#currentIcon"==$(e.target).closest("a").attr("xlink:href")?d.find("#currentIcon .currentIcon"):(d.find(".currentIcon").remove(),$(e.target).closest('a g[id^="icon"]').clone(!0).appendTo(d.find("#currentIcon")))):(i=parseInt(d.find(".currentIcon").attr("id").substring(4)),d.find(".currentIcon").remove(),("#next"==$(e.target).closest("a").attr("xlink:href")?(i="icon"+(i=5<(i+=1)?1:i),d.find('g[id="'+i+'"]')):d.find('g[id="'+(i="icon"+(i=(i-=1)<1?5:i))+'"]')).clone(!0).appendTo(d.find("#currentIcon"))),$(".detailOverlay").remove(),e.addClass("currentIcon"),d.find(".cur").removeClass("cur"),$('[id="'+d.find(".currentIcon").attr("id")+'"]').toggleClass("cur"),e.position(),d.find("#currentIcon").position();"icon1"==e.attr("id")?(a=-20,n=-22.5,target=2832):"icon4"==e.attr("id")?(a=19,n=-22,target=2831):"icon3"==e.attr("id")?(a=12,n=-61,target=2834):"icon2"==e.attr("id")&&(a=-12,n=-63,target=2833),"icon5"==e.attr("id")&&(n=a=0,target=2830);var a,n,t,i="en",i=(i="de/"==location.pathname.substring(1,4)?location.pathname.substring(1,3):i)+"/.jx?id="+target+" .main-content",o=$("<div />");$("body").append(o),0<d.find("#detailView.active").length&&(t=$("<div/>").insertAfter("#lauerinteractive").addClass("detailOverlay animated fadeIn loader"),o.load(i,function(){t.removeClass("loader").html(o.html()),o.remove()})),e.animate({opacity:"320"},{step:function(e,t){$(this).css("transform","translate("+e/t.end*a+"%, "+e/t.end*n+"%)")},duration:1e3,easing:"swing",queue:!1,complete:function(){}},"linear")}),($foldItem=$(".fold-item")).find(".fold-toggle-icon").click(function(e){($this=$(this)).toggleClass("active")}),$foldItem.click(function(e){(($this=$(this)).hasClass("active")?($this.toggleClass("active"),$this.hasClass("first")?$this.next(".fold-item"):$this.parents(".fold-container").find(".fold-item.first")):($this.parents(".fold-container").find(".fold-item.active").removeClass("active"),$this)).addClass("active");var t=$this.offset().top-100;t<$(window).scrollTop()&&$("html,body").animate({scrollTop:t},500)}),$('.ajaxModal, .popupModal, .ajaxOverlay, [data-toggle="ajaxModal"], [href*="/kontaktanfrage"], [href*="-request"]').not(".tp3rederer").on("click",function(e){$("#ajaxModal").remove(),e.preventDefault();var e=$(this),t=e.attr("href")&&0<e.attr("href").indexOf("#")||0<e.attr("href").indexOf("#")?e.attr("href").substring(e.attr("href").indexOf("#")):".main-content",t=e.attr("href").replace(t,"")+".jx "+t,a=$('<div class="modal fade" id="ajaxModal" tabindex="-1" role="dialog" aria-hidden="true">\n  <div class="modal-dialog modal-lg">\n    <div class="modal-content">\n      <div class="modal-header">\n        <h4 class="modal-title" id="myModalLabel">'+e.text()+'</h4>\n        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"><span aria-hidden="true"></span></button>\n      </div>\n      <div class="modal-body"><div class="animated fadeIn loader"></div>\n        ...\n      </div>\n      <div class="modal-footer">\n      </div>\n    </div>\n  </div>\n</div>');$("body").append(a),a.modal({keyboard:!0}),a.find(".modal-body").css({padding:"20px 10px 0 10px"}).load(t,function(){if(0<a.find("form.powermail_form").length){if(console.log("powermail"),0<a.find(".powermail_form_18 ").length){var e=a.find("form.powermail_form");e.length&&(loadPowermailJS(function(){document.dispatchEvent(new CustomEvent("ajaxComplete",{detail:{form:e.get(0)}}))}),activatePowermailRadioAutoAdvance(e)),a.find(".powermail_form_18  .radio input"),e.find(".powermail_tab_navigation").hide();a.find(".modal-title").html("Welche Ausbildung passt Dir?"),a.find(".powermail_form_18  .radio").each(function(){radio=this,$(radio).addClass("btn").addClass("btn-default"),$(radio).click(function(){$(this).toggleClass("active"),$(this).hasClass("active")&&($(this).find("input").trigger("click"),$(this).closest(".powermail_fieldset").not(".skipped").addClass("skipped").find(".powermail_tab_navigation a.pull-right").trigger("click"),$(this).toggleClass("active"))})}),a.find(".btn-carrer").on("click",function(){a.modal("hide")});try{var t=$('script[src*="PowermailCondition"]').attr("src");$.getScript(t,function(){void 0!==window.powermailCondition&&window.powermailCondition.init(),console.log("Load was performed.")})}catch(e){console.log(e)}}a.find("form.powermail_form").autosubmit({request:"data"})}a.find(".frame-backgroundimage-fade, .main-content .frame-container").removeClass("animated").removeClass("fadeInLeft"),a.find('input[type="checkbox"]').each(function(){var e=$(this).prev('input[type="hidden"]');$(this).insertBefore($(this).parent("label")).on("change",function(){$(e).val($(this).val())})}),a.modal("show")}),$("#ajaxModal").on("show.bs.modal",function(e){})}).addClass("tp3rederer"),0),h=window.section_image||[],f=(window.tp3_app=window.tp3_app||{},tp3_app.enableTabNavigation=function(){$(".tabs-nav").show(),console.log("enableTabNavigation");$('[class*="backendlayout-dashboard"] .messe-nav');$.each($('button[data-bs-toggle="tab"]'),function(e,t){var a,n,i=$(this);console.log(e),0==e&&$(t).hasClass("active")&&$(".tabs-nav.prev").hide(),$(t).hasClass("active")&&(a=(i=$(t)).data("href")&&0<i.data("href").indexOf("#")?i.data("href").substring(i.data("href").indexOf("#")):"#page-content",a=i.data("href")+".jx "+a,n=i.data("bsTarget"),i.data("href"))&&$(n).load(a,function(){tp3_app.dashbordAjax()}),e==$('button[data-bs-toggle="tab"]').length-1&&$(t).hasClass("active")&&$(".tabs-nav.next").hide()}),tp3_app.dashbordAjax()},tp3_app.dashbordTabs=function(){var e;console.log("dashbordTabs"),0<$('[data-target="'+location.hash+'"]').length?(($this=$('[data-target="'+location.hash+'"]')).parents(".accordion").find(".accordion-title-link").addClass("collapsed"),$this.removeClass("collapsed"),$this.parents(".accordion-item").find(".accordion-collapse").addClass("show"),$this.parents(".nav-tabs").find(".nav-link.active").removeClass("active"),$this.addClass("active"),$this.parents(".nav-tabs").find(".tab-pane.active").removeClass("show").removeClass("in").removeClass("active"),$(location.hash).addClass("show").addClass("in").addClass("active"),$this.click(function(e){(n=$(this)).parents(".nav-tabs").find(".nav-link.active").removeClass("active"),n.addClass("active"),n.parents(".nav-tabs").find(".tab-pane.active").removeClass("show").removeClass("in").removeClass("active"),$(n.data("target")).addClass("show").addClass("in").addClass("active");var t,a,n=$(this),i=n.data("bsTarget");if(n.data("href")&&0<$(i).length)switch((a=n.data("href")).substr(a.lastIndexOf(".")+1)){case"jpg":case"png":case"gif":i=$('<img class="ajax-img" src="'+a+'"></img>').appendTo(i);break;case"zip":case"rar":i=$('<a class="ajax-file" src="'+a+'"></a>').appendTo(i);break;case"pdf":i=$('<iframe class="ajax-file" src="'+a+'"></iframe>').appendTo(i);break;default:a=0<n.data("href").indexOf("#")?n.data("href").substring(n.data("href").indexOf("#")):"#page-content",t=n.data("href")+".jx "+a,$('<div class="spinner-border"></div>').appendTo(i),$(i).load(t,function(){$('form[name="anfordern"]').autosubmit({request:"data"}),tp3_app.dashbordAjax()})}n.tab("show"),tp3_app.backmove()}),$this.hasClass("nav-link")&&$this.tab("show")):0<$(location.hash).length&&(($this=$(location.hash)).parents(".accordion").find(".accordion-title-link").addClass("collapsed"),$this.removeClass("collapsed"),$this.parents(".accordion-item").find(".accordion-collapse").addClass("show"),$this.parents(".nav-tabs").find(".nav-link.active").removeClass("active"),$this.addClass("active"),$this.parents(".nav-tabs").find(".tab-pane.active").removeClass("show").removeClass("in").removeClass("active"),$(location.hash).addClass("show").addClass("in").addClass("active"),$(location.hash.replace("tab","tabcontent")).parents(".tab-content").find(".tab-pane.active").removeClass("show").removeClass("in").removeClass("active"),$(location.hash.replace("tab","tabcontent")).addClass("show").addClass("in").addClass("active"),$this.click(function(e){(n=$(this)).parents(".nav-tabs").find(".nav-link.active").removeClass("active"),n.addClass("active"),n.parents(".frame").find(".tab-pane.active").removeClass("show").removeClass("in").removeClass("active"),$(n.data("target")).addClass("show").addClass("in").addClass("active");var t,a,n=$(this),i=n.data("bsTarget");if(n.data("href")&&0<$(i).length)switch((a=n.data("href")).substr(a.lastIndexOf(".")+1)){case"jpg":case"png":case"gif":i=$('<img class="ajax-img" src="'+a+'"></img>').appendTo(i);break;case"zip":case"rar":i=$('<a class="ajax-file" src="'+a+'"></a>').appendTo(i);break;case"pdf":i=$('<iframe class="ajax-file" src="'+a+'"></iframe>').appendTo(i);break;default:a=0<n.data("href").indexOf("#")?n.data("href").substring(n.data("href").indexOf("#")):"#page-content",t=n.data("href")+".jx "+a,$('<div class="spinner-border"></div>').appendTo(i),$(i).load(t,function(){$('form[name="anfordern"]').autosubmit({request:"data"}),tp3_app.dashbordAjax()})}n.tab("show"),tp3_app.backmove()}),$this.hasClass("nav-link"))&&$this.tab("show"),0<$(".backendlayout-dashboard, .backendlayout-dashboard_2cols, .backendlayout-advanced").length&&($(".frame-type-tab"),0==$(".tabs-nav.prev").length&&(tp3_app.enableTabNavigation(),tp3_app.backmove()),$(".tabs-nav.prev ,.tabs-nav.next , .tabs-nav .nav-link").click(function(e){console.log(e);var t=$(this),e=$('button[data-bs-toggle="tab"].active');$(this).hasClass("prev")?(t=e.prev("button"),0<$(".nav-link").length&&$(".tabs-nav.next").show()):$(this).hasClass("next")&&(t=e.next("button"),0<$(".nav-link").length)&&$(".tabs-nav.prev").show();var a,n,i=t.data("bsTarget");if(t.data("href")&&0<$(i).length)switch((n=t.data("href")).substr(n.lastIndexOf(".")+1)){case"jpg":case"png":case"gif":i=$('<img class="ajax-img" src="'+n+'"></img>').appendTo(i);break;case"zip":case"rar":i=$('<a class="ajax-file" src="'+n+'"></a>').appendTo(i);break;case"pdf":i=$('<iframe class="ajax-file" src="'+n+'"></iframe>').appendTo(i);break;default:n=0<t.data("href").indexOf("#")?t.data("href").substring(t.data("href").indexOf("#")):"#page-content",a=t.data("href")+".jx "+n,$('<div class="spinner-border"></div>').appendTo(i),$(i).load(a,function(){$('form[name="anfordern"]').autosubmit({request:"data"}),tp3_app.dashbordAjax(),tp3_app.dashbordTabs()})}t.tab("show"),update_history(t.data("href")),tp3_app.tabs(),tp3_app.enableTabNavigation(),tp3_app.backmove(),tp3_app.history_count++}),(e=$('button[data-bs-toggle="tab"]')).on("shown.bs.tab",function(e){e.target}),e.click(function(e){var t,a,n=$(this),i=n.data("bsTarget");if(n.data("href")&&0<$(i).length)switch((a=n.data("href")).substr(a.lastIndexOf(".")+1)){case"jpg":case"png":case"gif":i=$('<img class="ajax-img" src="'+a+'"></img>').appendTo(i);break;case"zip":case"rar":i=$('<a class="ajax-file" src="'+a+'"></a>').appendTo(i);break;case"pdf":i=$('<iframe class="ajax-file" src="'+a+'"></iframe>').appendTo(i);break;default:a=0<n.data("href").indexOf("#")?n.data("href").substring(n.data("href").indexOf("#")):"#page-content",t=n.data("href")+".jx "+a,$('<div class="spinner-border"></div>').appendTo(i),$(i).load(t,function(){$('form[name="anfordern"]').autosubmit({request:"data"}),tp3_app.dashbordAjax()})}n.tab("show"),tp3_app.backmove()}))},tp3_app.history=[$("body").find(".main-content").attr("class")],tp3_app.history_count=tp3_app.history.length,tp3_app.backmove=function(e){var t,a;null==e&&(e=jQuery("body").first()),2<jQuery(".section_image").not("body").length&&jQuery(".section_image").not("body").first().remove(),h&&"array"==jQuery.type(h)&&0<h.length&&h[0].background&&(a=!1,null!=(t=h[c].background).toLowerCase().match(/\.(jpeg|jpg|gif|png|svg)$/)?(jQuery("body").addClass("section_images"),jQuery(".section_shadow").length<1&&jQuery("<div>&nbsp;</div>").appendTo(jQuery('[class^="main-content"]').first()).addClass("section_shadow").css({position:"fixed",width:"100%",height:"100%","z-index":"-1",top:"0x","max-height":screen.availHeight}),(a=jQuery("<div></div>").appendTo(jQuery('[class^="main-content"]').first())).addClass("section_image"),a.addClass("p"+jQuery(e).attr("id").split("-")[1]+"_"+c).attr("data-speed",""!=section_speed[c].speed?section_speed[c].speed:-Math.floor(10*Math.random()+1)).css({position:"fixed",width:"100%","z-index":"-3",height:jQuery(document).height()+"px",display:"none",top:0,"max-height":"100%","background-position":"50% 50%","background-image":"url("+t+")"})):null!=t.toLowerCase().match(/\.(avi|mpg|flv|mov|mp4|ogg|flac|opus|webm|youtube|vimeo)$/)&&(a=jQuery('<video controls="" class="embed-responsive-item"><source src="'+t+'" type="video/mp4"></video>').appendTo(jQuery('[class^="main-content"]').first())).addClass("section_image ").addClass("section_video").attr("data-speed",""!=section_speed[c].speed?section_speed[c].speed:-Math.floor(10*Math.random()+1)).css({position:"fixed",width:"100%",height:jQuery(document).height()+"px",display:"none",top:0,"max-height":"100%","background-position":"50% 50%","background-image":"url("+t+")"}),a&&a.fadeIn("slow",function(){1<jQuery(".section_image").length&&jQuery(".section_image").first().fadeOut("slow",function(){})}),"function"==jQuery.type(tp3_app.parallax)&&tp3_app.parallax(),++c>=h.length)&&(c=0)},window.tp3_app=tp3_app,$('.main-content  >  footer .news-list-item a[href="'+location.pathname+'"]').parents(".news-list-item").first().addClass("active").hide(),$(".main-content  >  footer .news-panel").isotope({layoutMode:"fitRows"}),$(".news-top, .marquee-panel").click(function(){var e=window.location.pathname;window.location.href=e.substr(0,0<e.indexOf("/",2)?e.indexOf("/",2):e.indexOf(".html",1))+"/news.html"}),$(".linkedin-top").click(function(){var e=window.location.pathname;window.location.href=e.substr(0,0<e.indexOf("/",2)?e.indexOf("/",2):e.indexOf(".html",1))+"/news/linkedin.html"}),$(".logout-top").click(function(){var e=window.location.pathname;window.location.href=e.substr(0,0<e.indexOf("/",2)?e.indexOf("/",2):e.indexOf(".html",1))+"/logout.html"}),tp3_app.dashbordTabs(),$(".carousel")),p=f.find("#imagesliderRange");$(".carousel-image-gallery .item").each(function(){$(this).clone(!0).removeClass("active").attr("data-itemno",$(this).siblings().length+1).appendTo(f.find(".carousel-inner"))}),0<$(".frame-layout-advanced .carousel-fullscreen").length&&$(".frame-layout-advanced .carousel-fullscreen").carousel({interval:0}),$(".carousel-indicators .Essential").on("click",function(){var e=window.location.pathname.substring(0,window.location.pathname.length-1).substr(0,window.location.pathname.substring(0,window.location.pathname.length-1).lastIndexOf("/")+1);window.location.href=e+"essential-assistance/"}),$(".carousel-indicators .Productivity").on("click",function(){var e=window.location.pathname.substring(0,window.location.pathname.length-1).substr(0,window.location.pathname.substring(0,window.location.pathname.length-1).lastIndexOf("/")+1);window.location.href=e+"productivity/"}),$(".carousel-indicators .Availability").on("click",function(){var e=window.location.pathname.substring(0,window.location.pathname.length-1).substr(0,window.location.pathname.substring(0,window.location.pathname.length-1).lastIndexOf("/")+1);window.location.href=e+"availability/"}),$(".carousel-indicators .Connectivity").on("click",function(){var e=window.location.pathname.substring(0,window.location.pathname.length-1).substr(0,window.location.pathname.substring(0,window.location.pathname.length-1).lastIndexOf("/")+1);window.location.href=e+"connectivity/"}),f.on("slide.bs.carousel",function(e){f.find(".carousel-inner").width(),f.find(".item").length;console.log(e)}),document.querySelector(".carousel-ca");if(0<f.find(".item.active video").length){let e=f.find(".item.active video").get(0),t=e.hasAttribute("autoplay")||1==e.getAttribute("autoplay");f.find("video").each(function(){this===e||this.paused||this.pause(),this.addEventListener("play",function(){f.find("video").each(function(){this===event.target||this.paused||this.pause()})})}),e.loop=!0,t&&a(e)&&void 0!==(u=e.play())&&u.catch(e=>{console.error("Autoplay fehlgeschlagen:",e)});var u=()=>{t&&a(e)&&e.paused?e.play().catch(e=>{console.warn("Autoplay beim Scrollen fehlgeschlagen:",e)}):a(e)||e.paused||e.pause()};window.addEventListener("scroll",u),window.addEventListener("resize",u)}0<p.length&&(p.attr("data-before","1/"+f.find(".item").length),p.slider({orientation:f.hasClass("carousel-direction-vertical")?"vertical":"horizontal",min:0,max:f.find(".item").length,slide:function(e,t){console.log(e,t),f.carousel(t.value)}}));$("#gh-button i").pulse({color:"#aa00aa",backgroundSize:"30px",height:"30px",width:"30px"},{duration:1250,pulses:2}),$(".collapse").on("shown.bs.collapse",function(e){var t=$(this).closest(".card");0<t.length&&$("html,body").animate({scrollTop:t.offset().top-100},500)}),ScrollReveal().reveal(".section > .frame > .frame-group-container > .frame-group-inner > .frame-container",{delay:100,duration:1500,viewOffset:{bottom:170}}),ScrollReveal().reveal(".main-content > .section > .frame > .frame-group-container > .frame-group-inner > .frame-container",{delay:100,duration:1500,viewOffset:{bottom:170}});var m,b,u={distance:"2000px",origin:"left",opacity:.125,delay:250,viewOffset:{bottom:500}},v={delay:50,distance:"0px",duration:500,easing:"cubic-bezier(0.5, 0, 0, 1)",interval:0,opacity:0,origin:"bottom",rotate:{x:0,y:0,z:0},scale:1,cleanup:!1,container:document.documentElement,desktop:!0,mobile:!0,reset:!1,useDelay:"onload",viewFactor:.2,viewOffset:{top:-100,right:0,bottom:200,left:0},afterReset:function(e){console.log(e)},afterReveal:function(e){console.log("Revealed: ",e);e=$(e).attr("class").replace("background-image","accordion-heading");$("#"+e).find(".accordion-title-link-text").delay(100).css({opacity:0,visibility:"visible"}).animate({opacity:1},200)},beforeReset:function(e){console.log(e);e=$(e).attr("class").replace("background-image","accordion-heading");$("#"+e).find(".accordion-title-link-text").delay(300).css({opacity:1,visibility:"visible"}).animate({opacity:0},200)},beforeReveal:function(e){console.log(e)}},u=(ScrollReveal().reveal(".news-teaser-el1, .news-teaser-el3, .mc-item-right, .section-header-left",u),ScrollReveal().reveal(".mc-item-left, .section-header-right",u),ScrollReveal().reveal(".section-header-right",{delay:50,duration:1500,viewOffset:{bottom:250}}),ScrollReveal().reveal(".background-images > div",v),$(".slickslider")),g=$(".quoteslider"),w={dots:!1,infinite:!0,speed:300,slidesToShow:3,slidesToScroll:1,centerMode:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1,centerMode:!0}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1,centerMode:!0}}]};function C(){$(".dropdown-menu-full").removeClass("show")}function y(){var e=57,e=10<$("#gh").height()?$("#gh").height()+57:57;(document.body.scrollTop>e||document.documentElement.scrollTop>e)&&0<$("#navbar").length?(document.getElementById("navbar").style.padding="0",document.getElementById("navbar").style.position="fixed",document.getElementById("navbar").style.background="#ffffff",document.getElementById("navigation").style.background="#ffffff",document.getElementById("navbar").style.top="0",document.getElementById("navbar").style.fontSize="0.92rem",document.getElementById("logo").style.height="36px",document.getElementById("logo").style.marginTop="0px",$("body").addClass("sticky-open")):0<$("#navbar").length&&(document.getElementById("navbar").style.padding="",document.getElementById("logo").style.height="",document.getElementById("logo").style.marginTop="",document.getElementById("navbar").style.top="auto",document.getElementById("navbar").style.position="inherit",document.getElementById("navigation").style.background="#ffffff",document.getElementById("navbar").style.background="#ffffff",document.getElementById("navbar").style.fontSize="1.1rem",$("body").removeClass("sticky-open"))}0<u.length&&u.each(function(){if($(this).hasClass("slick-initialized"))return!0;($this=$(this)).on("init",function(e,t){console.log(t)});var e=$this.attr("data-anzahl");null!=e&&""!=e?(w.slidesToShow=e,w.centerMode=!1):w.slidesToShow=4,1==$this.data("arrows")&&(w.arrows=!0),$this.data("height")&&($this.find(".col-auto").css({height:$this.data("height")}),$this.css({height:"fit-content","max-height":$this.data("height")})),p=$this.slick(w).on("afterChange",(e,t,a)=>{$this.find(".slick-slide").width("auto!important"),t.$slides.css({height:"fit-content","max-height":$this.data("height")})})}),0<g.length&&(g.find(".csloader").remove(),g.on("init",function(e,t){console.log(t)}),w.slidesToShow=3,w.draggable=!0,w.infinite=!0,w.speed=600,w.autoplaySpeed=7e3,w.pauseOnHover=!0,w.pauseOnFocus=!0,m=window.slidesToShow||0,g.slick(w),$(".slick-arrow").on("click",function(e){var t;0<(b=g.parents(".imageslider").prev(".quote-wrapper")).length&&(t=b.offset().top-40)<$(window).scrollTop()&&$("html,body").animate({scrollTop:t},500)}),g.on("click",".slick-slide",function(e){$(e.target).closest(".slick-slide").not(this).length?console.log("Ignore parent event"):(console.log("nested-element clicked =",this.id),m=$(e.target).closest(".slick-slide").data().slickIndex,g.slick("slickGoTo",m),0<(b=g.parents(".imageslider").prev(".quote-wrapper")).length&&(e=b.offset().top-40)<$(window).scrollTop()&&$("html,body").animate({scrollTop:e},500))}),g.on("afterChange",function(e,t,a,n){console.log(e,t,a),$(e.target).parents(".clearfix").find(".quote-box").first().replaceWith($($(".quotepanel").children()[$(t.$slides[a]).data().slickIndex]).find(".quote-box").clone(!0)),$(e.target).parents(".clearfix").find(".quote-image-wrapper").replaceWith($($(".quotepanel").children()[$(t.$slides[a]).data().slickIndex]).find(".quote-image-wrapper").clone(!0))})),document.querySelectorAll("video").forEach(t=>{t.muted=!0;var e=1==t.getAttribute("autoplay")?t.play():t.pause();void 0!==e&&e.then(e=>{new IntersectionObserver(e=>{e.forEach(e=>{1===e.intersectionRatio||t.paused?t.paused&&1==t.getAttribute("autoplay")&&t.play():t.pause()})},{threshold:.2}).observe(t)})}),window.onscroll=function(){$("body").removeClass("hasScrollbar"),0<$(".backendlayout-messe").length?(clearTimeout(window.initial),y()):$(".backendlayout-frame").length<1&&y(),C()},$(".imageslider .carousel-item").each(function(){var e=$(this).next();(e=e.length?e:$(this).siblings(":first")).children(":first-child").clone().appendTo($(this));for(var t=0;t<4;t++)(e=(e=e.next()).length?e:$(this).siblings(":first")).children(":first-child").clone().appendTo($(this))}),$("#gh-button").click(function(){$("#gh-inner").animate({height:"toggle",opacity:"toggle"},null,null,function(){$(this).is(":visible")?$("#gh-button").html('<i class="jbi-sm jbi-minus-white"></i>'):$("#gh-button").html('<i class="jbi-sm jbi-plus-white"></i>')})}),$("#gh-button-inner").click(function(){$("#gh-inner").animate({height:"toggle",opacity:"toggle"}),$("#gh-button").html('<i class="jbi-sm jbi-plus-white"></i>')});function x(e){e.preventDefault()}function T(e){console.log(e),$(".form-group").find(".form-control").not(e.target).find("option").prop("selected",!1),$(".main-content .frame-container").css({opacity:1})}0<$("#logo").length&&(document.getElementById("logo").addEventListener("mousedown",x,!1),document.getElementById("logo").addEventListener("contextmenu",x,!1));var e=$("body").attr("class").split(" "),S=$.grep(e,function(e){return"company"===e.substring(0,7)}),A=($(".texttransform").each(function(){this.innerText=this.innerText.substr(0,1).toUpperCase()+this.innerText.substr(1),this.innerText=this.innerText.replace("-lsf"," LSF")}),$('.page-3728 [name="user"]').val("wiw"),$('.page-3728 [name="user"]').parents("div").first().hide(),[]),o=($(".locations .btn").each(function(){var e=$(this).text();A[e]?$(this).remove():A[e]=!0}),S[0].replace("company-","")),E=$(".tt_address_list .panel").isotope({itemSelector:".card",masonry:{gutter:20},getSortData:{name:".lastName",division:function(e){return $(e).data().division==o&&($(e).data().division="00"+o),$(e).data().division},date:function(e){return $(e).data().date}},sortBy:["name"],sortAscending:{division:"jagenberg"!=o,date:!1}}),k={numberGreaterThan50:function(){var e=$(this).find(".number").text();return 50<parseInt(e,10)},ium:function(e){return $(e).find(".name").text().match(/ium$/)},pos:function(e){new RegExp(""!=$(event.target).val()?$(event.target).val().toLowerCase():"");return $(event.target).val().toLowerCase()===$(this).data("position").toLowerCase()},seg:function(e){return console.log($(this).data("segment"),$(event.target).val()),!!new RegExp(0!=$(event.target).val()?$(event.target).val().toLowerCase():"").test($(this).data("segment").toLowerCase())},city:function(e){return console.log($(this).data("city"),$(event.target).val()),!!new RegExp(""!=$(event.target).val()?$(event.target).val().toLowerCase():"").test($(this).data("city").toLowerCase())}};$("#filterSsearch").find("input").on("keyup",function(e){var t=$.trim($(this).val()).replace(/\s+/g," ").toLowerCase();t.length<3||(T(e),$(".frame-layout-test").find(".accordion-button").attr("aria-expanded","false").addClass("collapsed"),$(".frame-layout-test").find(".accordion-collapse.collapse.show").removeClass("show"),$(".frame-layout-test").find(".frame").fadeOut(300),setTimeout(function(){var e=$(".frame-layout-test").find(".frame").filter(function(){return $(this).text().replace(/\s+/g," ").toLowerCase().includes(t)});0<e.length&&(e.fadeIn(400).parents(".frame").fadeIn(400),e.parents(".accordion-collapse").addClass("show"),e.parents(".accordion-collapse").prev(".accordion-header").find(".accordion-button").attr("aria-expanded","true").removeClass("collapsed"),(e=e.first().parents(".accordion-collapse").prev(".accordion-header").find(".accordion-button")).length)&&(e=e.offset().top-5)>window.scrollY&&window.scrollTo({top:e,behavior:"smooth"})},300))}),$("#filterSsearch").find("select").on("change",function(e){var t=$(this).find("option:selected").val();console.log(t),"All industries"==(t="All"==t?"frame":t)&&(t="frame"),T(e),$(".frame-layout-test").find(".accordion-button").attr("aria-expanded","false").addClass("collapsed"),$(".frame-layout-test").find(".accordion-collapse.collapse.show").removeClass("show"),$(".frame-layout-test").find(".frame").fadeOut(300),setTimeout(function(){var e=$(".frame-layout-test").find("."+t),e=(e.fadeIn(400).parents(".frame").fadeIn(400),e.parents(".accordion-collapse").addClass("show"),e.parents(".accordion-collapse").prev(".accordion-header").find(".accordion-button").attr("aria-expanded","true").removeClass("collapsed"),e.parents(".accordion-collapse").prev(".accordion-header").find(".accordion-button"));e.length&&(e=e.offset().top-5)>window.scrollY&&scroll({top:e,behavior:"smooth"})},300)}),$(".frame-layout-test").on("click",".accordion-button",function(e){$(".frame-layout-test").find(".frame").fadeIn(300),T($("#filterSsearch"))}),$("#address-text").keyup(function(e){var t=$.trim(jQuery(this).val()).replace(/ +/g," ").toLowerCase();jQuery(".tt_address_list .panel").find(".card").show().filter(function(){return!~jQuery(this).text().replace(/\s+/g," ").toLowerCase().indexOf(t)}).hide(),jQuery(".tt_address_list .panel").isotope("layout"),T(e)}),$("#address-sort").on("change",function(e){var t=$(this).find("option:selected").text();console.log(t),E.isotope({sortBy:"name",sortAscending:"asc"==t})}),$("#address-segment").on("change",function(e){E.isotope({filter:k.seg||"seg",sortBy:"name"}),T(e)}),$("#address-city").on("change",function(e){E.isotope({filter:k.city||"city",sortBy:"name"}),T(e)}),$("#address-position").on("change",function(e){E.isotope({filter:k.pos||"pos",sortBy:"name"}),T(e)}),$(".jobapplications-filterbox .filters-button-group").on("click","button",function(e){e.preventDefault();e=$(this).attr("data-filter").replace(/ /g,"").replace(/ /g,"");E.isotope({filter:k[e]||e,sortBy:"name"})}),$(".jobapplications-filterbox .button-group").each(function(e,t){var a=$(t);a.on("click","button",function(e){e.preventDefault(),a.find(".is-checked").removeClass("is-checked"),$(this).addClass("is-checked")})}),$("#division").next(".vsb-main").find(".multi ul").on("click","li",function(){o=$(this).val(),E.isotope({sortBy:"jagenberg"==o?"date":["division","date"]})}),$('a[href^="tel:"]').on("click",function(){gtag("event","phone",{event_category:"click"}),$("body").hasClass("company-lauer")?$("body").append('<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2613580&conversionId=3106356&fmt=gif" />'):$("body").hasClass("company-kampf")||$("body").hasClass("company-lauer")||$("body").hasClass("company-lauer")}),$(".btn-see").on("click",function(){gtag("event","Nachhaltigkeit_see",{event_category:"click"}),$("body").hasClass("company-lauer")&&$("body").append('<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2613580&conversionId=3106364&fmt=gif" />')}),$(".btn-download").on("click",function(){gtag("event","Nachhaltigkeit",{event_category:"click"}),$("body").hasClass("company-lauer")&&$("body").append('<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2613580&conversionId=3106364&fmt=gif" />')}),$('a[href^="mailto:"]').on("click",function(){gtag("event","mail",{event_category:"click"}),$("body").hasClass("company-lauer")&&$("body").append('<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2613580&conversionId=3106364&fmt=gif" />')})},$(document).ready(function(){tp3_app.ready()}),$.fn.hasScrollBar=function(){var e;return this.get(0).scrollHeight>this.height()+10&&(e=$("body").addClass("hasScrollbar").addClass("scrollbar-body"),setTimeout(function(){e.removeClass("hasScrollbar")},6e3)),this.get(0).scrollHeight>this.height()+10},$.fn.autosubmit=function(e){$.extend(this,e),$(this).on("submit",function(e){var t=$(this),a=($.ajaxSetup({complete:onRequestCompleted}),$(t).find("select").add($(t).find("input[type!=checkbox]")).add($(t).find("textarea")).serialize());$(t).find("input[type=checkbox]").each(function(){var e=$(this).is(":checked")?$(this).val():"0";a+="&"+$(this).attr("name")+"="+e}),$(t).find('input[type="file"]').each(function(){a+="&"+$(this).attr("name")+"="+$(this).val()}),$.ajax({type:t.attr("method"),url:t.attr("action").toString(),data:a,async:!0,success:function(e){console.log(e),t.hide(),$(e).insertAfter(t),$(t).find(".frame-backgroundimage-fade, .main-content .frame-container").each(function(){$(this).addClass("animated"),$(this).addClass("fadeInLeft")}),$(document).trigger("loaded")}}).done(function(){}).fail(function(){alert("error")}),e.preventDefault()})},$.fn.serializeWithChkBox=function(){var t=$(this).find("select").add($(this).find("input[type!=checkbox]")).add($(this).find("textarea")).serialize();return $(this).find("input[type=checkbox]").each(function(){var e=$(this).is(":checked")?$(this).val():"0";t+="&"+$(this).attr("name")+"="+e}),$(this).find('input[name="cmd"]').each(function(){t+="&"+$(this).attr("name")+"="+$(this).val()}),t};