PageSourceSearch

https://www.johanniter.de/typo3temp/assets/compressed/merged-0d807b44d5166958f232357a1c68bdd6.js?1790907826

js johanniter.de collected 2026-10-02 03:27:31 UTC 516,309 bytes, 23 lines download raw bytes

vendor: 9,336 bytes, lines 1-23
1
2/**
3 * Required JavaScript for challenge/response spam protection
4 */
5document.addEventListener('DOMContentLoaded', () =>
6{
7  [...document.querySelectorAll('[id$="-cr-field"]')].forEach(element =>
8  {
9
10    let [delay,expiration,challenge] = atob(element.value).split('|');
11    console.log(delay);
12    setTimeout(() =>
13    {
14      element.value = btoa(expiration + '|' + challenge.replace(/[a-z]/gi, char =>
15      {
16        console.log(element.value);
17        return String.fromCharCode( char.charCodeAt(0) + ( char.toUpperCase() <= 'M' ? 13 : -13 ) )/* https://stackoverflow.com/a/14553231 */
18      }))
19    }, 1e3 * delay)
20  })
21});
22/*! For license information please see main.js.LICENSE.txt */
23(()=>{var e={125(e,t,n){var i,r,o;!function(){"use strict";r=[n(796)],i=function(e){var t,n=window.Slick||{};(t=0,n=function(n,i){var r,o=this;o.defaults={adaptiveHeight:!1,appendArrows:e(n),appendDots:e(n),arrows:!0,arrowsPlacement:null,asNavFor:null,prevArrow:'<button class="slick-prev" type="button"><span class="slick-prev-icon" aria-hidden="true"></span><span class="slick-sr-only">Previous</span></button>',nextArrow:'<button class="slick-next" type="button"><span class="slick-next-icon" aria-hidden="true"></span><span class="slick-sr-only">Next</span></button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,n){return e('<button type="button"><span class="slick-dot-icon" aria-hidden="true"></span><span class="slick-sr-only">Go to slide '+(n+1)+"</span></button>")},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,infinite:!0,initialSlide:0,instructionsText:null,lazyLoad:"ondemand",mobileFirst:!1,playIcon:'<span class="slick-play-icon" aria-hidden="true"></span>',pauseIcon:'<span class="slick-pause-icon" aria-hidden="true"></span>',pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,regionLabel:"carousel",respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useAutoplayToggleButton:!0,useCSS:!0,useGroupRole:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},o.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,$instructionsText:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$pauseButton:null,$pauseIcon:null,$playIcon:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.focussed=!1,o.interrupted=!1,o.hidden="hidden",o.paused=!0,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=e(n),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,r=e(n).data("slick")||{},o.options=e.extend({},o.defaults,i,r),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,void 0!==document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=e.proxy(o.autoPlay,o),o.autoPlayClear=e.proxy(o.autoPlayClear,o),o.autoPlayIterator=e.proxy(o.autoPlayIterator,o),o.autoPlayToggleHandler=e.proxy(o.autoPlayToggleHandler,o),o.changeSlide=e.proxy(o.changeSlide,o),o.clickHandler=e.proxy(o.clickHandler,o),o.selectHandler=e.proxy(o.selectHandler,o),o.setPosition=e.proxy(o.setPosition,o),o.swipeHandler=e.proxy(o.swipeHandler,o),o.dragHandler=e.proxy(o.dragHandler,o),o.instanceUid=t++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0)}).prototype.addSlide=n.prototype.slickAdd=function(t,n,i){var r=this;if("boolean"==typeof n)i=n,n=null;else if(n<0||n>=r.slideCount)return!1;r.unload(),"number"==typeof n?0===n&&0===r.$slides.length?e(t).appendTo(r.$slideTrack):i?e(t).insertBefore(r.$slides.eq(n)):e(t).insertAfter(r.$slides.eq(n)):!0===i?e(t).prependTo(r.$slideTrack):e(t).appendTo(r.$slideTrack),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slides.each(function(t,n){e(n).attr("data-slick-index",t),e(n).attr("role","group"),e(n).attr("aria-label","slide "+t)}),r.$slidesCache=r.$slides,r.reinit()},n.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},n.prototype.animateSlide=function(t,n){var i={},r=this;r.animateHeight(),!0===r.options.rtl&&!1===r.options.vertical&&(t=-t),!1===r.transformsEnabled?!1===r.options.vertical?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,n):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,n):!1===r.cssTransitions?(!0===r.options.rtl&&(r.currentLeft=-r.currentLeft),e({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(e){e=Math.ceil(e),!1===r.options.vertical?(i[r.animType]="translate("+e+"px, 0px)",r.$slideTrack.css(i)):(i[r.animType]="translate(0px,"+e+"px)",r.$slideTrack.css(i))},complete:function(){n&&n.call()}})):(r.applyTransition(),t=Math.ceil(t),!1===r.options.vertical?i[r.animType]="translate3d("+t+"px, 0px, 0px)":i[r.animType]="translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(i),n&&setTimeout(function(){r.disableTransition(),n.call()},r.options.speed))},n.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},n.prototype.asNavFor=function(t){var n=this.getNavTarget();null!==n&&"object"==typeof n&&n.each(function(){var n=e(this).slick("getSlick");n.unslicked||n.slideHandler(t,!0)})},n.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},n.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},n.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},n.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},n.prototype.autoPlayToggleHandler=function(){var e=this;e.paused?(e.$playIcon.css("display","none"),e.$pauseIcon.css("display","inline"),e.$pauseButton.find(".slick-play-text").attr("style","display: none"),e.$pauseButton.find(".slick-pause-text").removeAttr("style"),e.slickPlay()):(e.$playIcon.css("display","inline"),e.$pauseIcon.css("display","none"),e.$pauseButton.find(".slick-play-text").removeAttr("style"),e.$pauseButton.find(".slick-pause-text").attr("style","display: none"),e.slickPause())},n.prototype.buildArrows=function(){var t=this;if(!0===t.options.arrows)if(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow){if(t.htmlExpr.test(t.options.prevArrow))if(null!=t.options.arrowsPlacement)switch(t.options.arrowsPlacement){case"beforeSlides":case"split":console.log("test"),t.$prevArrow.prependTo(t.options.appendArrows);break;case"afterSlides":t.$prevArrow.appendTo(t.options.appendArrows)}else t.$prevArrow.prependTo(t.options.appendArrows);if(t.htmlExpr.test(t.options.nextArrow))if(null!=t.options.arrowsPlacement)switch(t.options.arrowsPlacement){case"beforeSlides":console.log("test2"),t.$prevArrow.after(t.$nextArrow);break;case"afterSlides":case"split":t.$nextArrow.appendTo(t.options.appendArrows)}else t.$nextArrow.appendTo(t.options.appendArrows);!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").prop("disabled",!0)}else t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").prop("disabled",!0)},n.prototype.buildDots=function(){var t,n,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),n=e("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)n.append(e("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=n.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},n.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(n,i){e(i).attr("data-slick-index",n).data("originalStyling",e(i).attr("style")||""),t.options.useGroupRole&&e(i).attr("role","group").attr("aria-label","slide "+(n+1))}),t.$slider.addClass("slick-slider"),t.$slider.attr("role","regi
23on"),t.$slider.attr("aria-label",t.options.regionLabel),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable"),t.options.autoplay&&t.options.useAutoplayToggleButton&&(t.$pauseIcon=e(t.options.pauseIcon).attr("aria-hidden",!0),t.$playIcon=e(t.options.playIcon).attr("aria-hidden",!0),t.$pauseButton=e('<button type="button" class="slick-autoplay-toggle-button">'),t.$pauseButton.append(t.$pauseIcon),t.$pauseButton.append(t.$playIcon.css("display","none")),t.$pauseButton.append(e('<span class="slick-pause-text slick-sr-only">Pause</span>')),t.$pauseButton.append(e('<span class="slick-play-text slick-sr-only" style="display: none">Play</span>')),t.$pauseButton.prependTo(t.$slider)),null!=t.options.instructionsText&&""!=t.options.instructionsText&&(t.$instructionsText=e('<p class="slick-instructions slick-sr-only">'+t.options.instructionsText+"</p>"),t.$instructionsText.prependTo(t.$slider))},n.prototype.buildRows=function(){var e,t,n,i,r,o,s,a=this;if(i=document.createDocumentFragment(),o=a.$slider.children(),a.options.rows>0){for(s=a.options.slidesPerRow*a.options.rows,r=Math.ceil(o.length/s),e=0;e<r;e++){var l=document.createElement("div");for(t=0;t<a.options.rows;t++){var c=document.createElement("div");for(n=0;n<a.options.slidesPerRow;n++){var u=e*s+(t*a.options.slidesPerRow+n);o.get(u)&&c.appendChild(o.get(u))}l.appendChild(c)}i.appendChild(l)}a.$slider.empty().append(i),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},n.prototype.checkResponsive=function(t,n){var i,r,o,s=this,a=!1,l=s.$slider.width(),c=window.innerWidth||e(window).width();if("window"===s.respondTo?o=c:"slider"===s.respondTo?o=l:"min"===s.respondTo&&(o=Math.min(c,l)),s.options.responsive&&s.options.responsive.length&&null!==s.options.responsive){for(i in r=null,s.breakpoints)s.breakpoints.hasOwnProperty(i)&&(!1===s.originalSettings.mobileFirst?o<s.breakpoints[i]&&(r=s.breakpoints[i]):o>s.breakpoints[i]&&(r=s.breakpoints[i]));null!==r?null!==s.activeBreakpoint?(r!==s.activeBreakpoint||n)&&(s.activeBreakpoint=r,"unslick"===s.breakpointSettings[r]?s.unslick(r):(s.options=e.extend({},s.originalSettings,s.breakpointSettings[r]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),a=r):(s.activeBreakpoint=r,"unslick"===s.breakpointSettings[r]?s.unslick(r):(s.options=e.extend({},s.originalSettings,s.breakpointSettings[r]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),a=r):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t),a=r),t||!1===a||s.$slider.trigger("breakpoint",[s,a])}},n.prototype.changeSlide=function(t,n){var i,r,o=this,s=e(t.currentTarget);switch(s.is("a")&&t.preventDefault(),s.is("li")||(s=s.closest("li")),i=o.slideCount%o.options.slidesToScroll!==0?0:(o.slideCount-o.currentSlide)%o.options.slidesToScroll,t.data.message){case"previous":r=0===i?o.options.slidesToScroll:o.options.slidesToShow-i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide-r,!1,n);break;case"next":r=0===i?o.options.slidesToScroll:i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide+r,!1,n);break;case"index":var a=0===t.data.index?0:t.data.index||s.index()*o.options.slidesToScroll;o.slideHandler(o.checkNavigable(a),!1,n),s.children().trigger("focus");break;default:return}},n.prototype.checkNavigable=function(e){var t,n;if(n=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var i in t){if(e<t[i]){e=n;break}n=t[i]}return e},n.prototype.cleanUpEvents=function(){var t=this;t.options.autoplay&&t.options.useAutoplayToggleButton&&t.$pauseButton.off("click.slick",t.autoPlayToggleHandler),t.options.dots&&null!==t.$dots&&e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.
23interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide)),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},n.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},n.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>0&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},n.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},n.prototype.destroy=function(t){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),e(".slick-cloned",n.$slider).detach(),n.options.autoplay&&n.options.useAutoplayToggleButton&&n.$pauseButton.remove(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.$prevArrow.length&&(n.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").prop("disabled",!1).css("display",""),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove()),n.$nextArrow&&n.$nextArrow.length&&(n.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").prop("disabled",!1).css("display",""),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove()),n.$slides&&(n.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){e(this).attr("style",e(this).data("originalStyling"))}),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.detach(),n.$list.detach(),n.$slider.append(n.$slides)),n.cleanUpRows(),n.$slider.removeClass("slick-slider"),n.$slider.removeClass("slick-initialized"),n.$slider.removeClass("slick-dotted"),n.unslicked=!0,t||n.$slider.trigger("destroy",[n])},n.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},n.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout(function(){n.disableTransition(e),t.call()},n.options.speed))},n.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},n.prototype.filterSlides=n.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},n.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(n){var i=e(this);setTimeout(function(){t.options.pauseOnFocus&&i.is(":focus")&&(t.focussed=!0,t.autoPlay())},0)}).on("blur.slick","*",function(n){e(this),t.options.pauseOnFocus&&(t.focussed=!1,t.autoPlay())})},n.prototype.getCurrent=n.prototype.slickCurrentSlide=function(){return this.currentSlide},n.prototype.getDotCount=function(){var e=this,t=0,n=0,i=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++i;else for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)i=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else i=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return i-1},n.prototype.getLeft=function(e){var t,n,i,r,o=this,s=0;return o.slideOffset=0,n=o.$slides.first().outerHeight(!0),!0===o.options.infinite?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,r=-1,!0===o.options.vertical&&!0===o.options.centerMode&&(2===o.options.slidesToShow?r=-1.5:1===o.options.slidesToShow&&(r=-2)),s=n*o.options.slidesToShow*r),o.slideCount%o.options.slidesToScroll!==0&&e+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(e>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(e-o.slideCount))*o.slideWidth*-1,s=(o.options.slidesToShow-(e-o.slideCount))*n*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,s=o.slideCount%o.options.slidesToScroll*n*-1))):e+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(e+o.options.slidesToShow-o.slideCount)*o.slideWidth,s=(e+o.options.slidesToShow-o.slideCount)*n),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,s=0),!0===o.options.centerMode&&o.slideCount<=o.options.slidesToShow?o.slideOffset=o.slideWidth*Math.floor(o.options.slidesToShow)/2-o.slideWidth*o.slideCount/2:!0===o.options.centerMode&&!0===o.options.infinite?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:!0===o.options.centerMode&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),t=!1===o.options.vertical?e*o.slideWidth*-1+o.slideOffset:e*n*-1+s,!0===o.options.variableWidth&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow),t=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===o.options.centerMode&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow+1),t=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,t+=(o.$list.width()-i.outerWidth())/2)),t},n.prototype.getOption=n.prototype.slickGetOption=function(e){return this.options[e]},n.prototype.getNavigableIndexes=function(){var e,t=this,n=0,i=0,r=[];for(!1===t.options.infinite?e=t.slideCount:(n=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,e=2*t.slideCount);n<e;)r.push(n),n=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return r},n.prototype.getSlick=function(){return this},n.prototype.getSlideCount=function(){var t,n,i,r=this;return i=!0===r.options.centerMode?Math.floor(r.$list.width()/2):0,n=-1*r.swipeLeft+i,!0===r.options.swipeToSlide?(r.$slideTrack.find(".slick-slide").each(function(i,o){var s,a;if(s=e(o).outerWidth(),a=o.offsetLeft,!0!==r.options.centerMode&&(a+=s/2),n<a+s)return t=o,!1}),Math.abs(e(t).attr("data-slick-index")-r.currentSlide)||1):r.options.slidesToScroll},n.prototype.goTo=n.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
vendor: 8,555 bytes, line 23
23parseInt(e)}},t)},n.prototype.init=function(t){var n=this;e(n.$slider).hasClass("slick-initialized")||(e(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots(),n.checkResponsive(!0),n.focusHandler()),t&&n.$slider.trigger("init",[n]),n.options.autoplay&&(n.paused=!1,n.autoPlay()),n.updateSlideVisibility(),null!=n.options.accessibility&&console.warn("accessibility setting is no longer supported."),null!=n.options.focusOnChange&&console.warn("focusOnChange is no longer supported."),null!=n.options.focusOnSelect&&console.warn("focusOnSelect is no longer supported.")},n.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide))},n.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},n.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},n.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.options.autoplay&&t.options.useAutoplayToggleButton&&t.$pauseButton.on("click.slick",t.autoPlayToggleHandler),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},n.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},n.prototype.lazyLoad=function(){var t,n,i,r=this;function o(t){e("img[data-lazy]",t).each(function(){var t=e(this),n=e(this).attr("data-lazy"),i=e(this).attr("data-srcset"),o=e(this).attr("data-sizes")||r.$slider.attr("data-sizes"),s=document.createElement("img");s.onload=function(){t.animate({opacity:0},100,function(){i&&(t.attr("srcset",i),o&&t.attr("sizes",o)),t.attr("src",n).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,n])})},s.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,n])},s.src=n})}if(!0===r.options.centerMode?!0===r.options.infinite?i=(n=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(n=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),i=r.options.slidesToShow/2+1+2+r.currentSlide):(n=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,i=Math.ceil(n+r.options.slidesToShow),!0===r.options.fade&&(n>0&&n--,i<=r.slideCount&&i++)),t=r.$slider.find(".slick-slide").slice(n,i),"anticipated"===r.options.lazyLoad)for(var s=n-1,a=i,l=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)s<0&&(s=r.slideCount-1),t=(t=t.add(l.eq(s))).add(l.eq(a)),s--,a++;o(t),r.slideCount<=r.options.slidesToShow?o(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?o(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&o(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},n.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},n.prototype.next=n.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},n.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},n.prototype.pause=n.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},n.prototype.play=n.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},n.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),t.updateSlideVisibility())},n.prototype.prev=n.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},n.prototype.preventDefault=function(e){e.preventDefault()},n.prototype.progressiveLazyLoad=function(t){t=t||1;var n,i,r,o,s,a=this,l=e("img[data-lazy]",a.$slider);l.length?(n=l.first(),i=n.attr("data-lazy"),r=n.attr("data-srcset"),o=n.attr("data-sizes")||a.$slider.attr("data-sizes"),(s=document.createElement("img")).onload=function(){r&&(n.attr("srcset",r),o&&n.attr("sizes",o)),n.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,n,i]),a.progressiveLazyLoad()},s.onerror=function(){t<3?setTimeout(function(){a.progressiveLazyLoad(t+1)},500):(n.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,n,i]),a.progressiveLazyLoad())},s.src=i):a.$slider.trigger("allImagesLoaded",[a])},n.prototype.refresh=function(t){var n,i,r=this;i=r.slideCount-r.options.slidesToShow,!r.options.infinite&&r.currentSlide>i&&(r.currentSlide=i),r.slideCount<=r.options.slidesToShow&&(r.currentSlide=0),n=r.currentSlide,r.destroy(!0),e.extend(r,r.initials,{currentSlide:n}),r.init(),t||r.changeSlide({data:{message:"index",index:n}},!1)},n.prototype.registerBreakpoints=function(){var t,n,i,r=this,o=r.options.responsive||null;if("array"===e.type(o)&&o.length){for(t in r.respondTo=r.options.respondTo||"window",o)if(i=r.breakpoints.length-1,o.hasOwnProperty(t)){for(n=o[t].breakpoint;i>=0;)r.breakpoints[i]&&r.breakpoints[i]===n&&r.breakpoints.splice(i,1),i--;r.breakpoints.push(n),r.breakpointSettings[n]=o[t].settings}r.breakpoints.sort(function(e,t){return r.options.mobileFirst?e-t:t-e})}},n.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},n.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},n.prototype.removeSlide=n.prototype.slickRemove=function(e,t,n){var i=this;if(e="boolean"==typeof e?!0===(t=e)?0:i.slideCount-1:!0===t?--e:e,i.slideCount<1||e<0||e>i.slideCount-1)return!1;i.unload(),!0===n?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(e).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},n.prototype.setCSS=function(e){var t,n,i=this,r={};!0===i.options.rtl&&(e=-e),t="left"==i.positionProp?Math.ceil(e)+"px":"0px",n="top"==i.positionProp?Math.ceil(e)+"px":"0px",r[i.positionProp]=e,!1===i.transformsEnabled?
23i.$slideTrack.css(r):(r={},!1===i.cssTransitions?(r[i.animType]="translate("+t+", "+n+")",i.$slideTrack.css(r)):(r[i.animType]="translate3d("+t+", "+n+", 0px)",i.$slideTrack.css(r)))},n.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},n.prototype.setFade=function(){var t,n=this;n.$slides.each(function(i,r){t=n.slideWidth*i*-1,!0===n.options.rtl?e(r).css({position:"relative",right:t,top:0,zIndex:n.options.zIndex-2,opacity:0}
23):e(r).css({position:"relative",left:t,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},n.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},n.prototype.setOption=n.prototype.slickSetOption=function(){var t,n,i,r,o,s=this,a=!1;if("object"===e.type(arguments[0])?(i=arguments[0],a=arguments[1],o="multiple"):"string"===e.type(arguments[0])&&(i=arguments[0],r=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)s.options[i]=r;else if("multiple"===o)e.each(i,function(e,t){s.options[e]=t});else if("responsive"===o)for(n in r)if("array"!==e.type(s.options.responsive))s.options.responsive=[r[n]];else{for(t=s.options.responsive.length-1;t>=0;)s.options.responsive[t].breakpoint===r[n].breakpoint&&s.options.responsive.splice(t,1),t--;s.options.responsive.push(r[n])}a&&(s.unload(),s.reinit())},n.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},n.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},n.prototype.setSlideClasses=function(t){var n,i,r,o,s=this;if(i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true").attr("aria-label",function(){return e(this).attr("aria-label").replace(" (centered)","")}),s.$slides.eq(t).addClass("slick-current"),!0===s.options.centerMode){var a=s.options.slidesToShow%2==0?1:0;n=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(t>=n&&t<=s.slideCount-1-n?s.$slides.slice(t-n+a,t+n+1).addClass("slick-active").removeAttr("aria-hidden"):(r=s.options.slidesToShow+t,i.slice(r-n+1+a,r+n+2).addClass("slick-active").removeAttr("aria-hidden")),0===t?i.eq(s.options.slidesToShow+s.slideCount+1).addClass("slick-center").attr("aria-label",function(){return e(this).attr("aria-label")+" (centered)"}):t===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center").attr("aria-label",function(){return e(this).attr("aria-label")+" (centered)"})),s.$slides.eq(t).addClass("slick-center").attr("aria-label",function(){return e(this).attr("aria-label")+" (centered)"})}else t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").removeAttr("aria-hidden"):i.length<=s.options.slidesToShow?i.addClass("slick-active").removeAttr("aria-hidden"):(o=s.slideCount%s.options.slidesToShow,r=!0===s.options.infinite?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?i.slice(r-(s.options.slidesToShow-o),r+o).addClass("slick-active").removeAttr("aria-hidden"):i.slice(r,r+s.options.slidesToShow).addClass("slick-active").removeAttr("aria-hidden"));"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},n.prototype.setupInfinite=function(){var t,n,i,r=this;if(!0===r.options.fade&&(r.options.centerMode=!1),!0===r.options.infinite&&!1===r.options.fade&&(n=null,r.slideCount>r.options.slidesToShow)){for(i=!0===r.options.centerMode?r.options.slidesToShow+1:r.options.slidesToShow,t=r.slideCount;t>r.slideCount-i;t-=1)n=t-1,e(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-r.slideCount).prependTo(r.$slideTrack).addClass("slick-cloned");for(t=0;t<i+r.slideCount;t+=1)n=t,e(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+r.slideCount).appendTo(r.$slideTrack).addClass("slick-cloned");r.$slideTrack.find(".slick-cloned").find("[id]").each(function(){e(this).attr("id","")})}},n.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},n.prototype.selectHandler=function(t){var n=this,i=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),r=parseInt(i.attr("data-slick-index"));r||(r=0),n.slideCount<=n.options.slidesToShow?n.slideHandler(r,!1,!0):n.slideHandler(r)},n.prototype.slideHandler=function(e,t,n){var i,r,o,s,a,l=null,c=this;if(t=t||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e))if(!1===t&&c.asNavFor(e),i=e,l=c.getLeft(i),s=c.getLeft(c.
23currentSlide),c.currentLeft=null===c.swipeLeft?s:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,function(){c.postSlide(i)}):c.postSlide(i));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,function(){c.postSlide(i)}):c.postSlide(i));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),r=i<0?c.slideCount%c.options.slidesToScroll!==0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+i:i>=c.slideCount?c.slideCount%c.options.slidesToScroll!==0?0:i-c.slideCount:i,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,r]),o=c.currentSlide,c.currentSlide=r,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(a=(a=c.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==n?(c.fadeSlideOut(o),c.fadeSlide(r,function(){c.postSlide(r)})):c.postSlide(r),void c.animateHeight();!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(l,function(){c.postSlide(r)}):c.postSlide(r)}},n.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},n.prototype.swipeDirection=function(){var e,t,n,i,r=this;return e=r.touchObject.startX-r.touchObject.curX,t=r.touchObject.startY-r.touchObject.curY,n=Math.atan2(t,e),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?!1===r.options.rtl?"left":"right":i>=135&&i<=225?!1===r.options.rtl?"right":"left":!0===r.options.verticalSwiping?i>=35&&i<=135?"down":"up":"vertical"},n.prototype.swipeEnd=function(e){var t,n,i=this;if(i.dragging=!1,i.swiping=!1,i.scrolling)return i.scrolling=!1,!1;if(i.interrupted=!1,i.shouldClick=!(i.touchObject.swipeLength>10),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(t),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},n.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},n.prototype.swipeMove=function(e){var t,n,i,r,o,s,a=this;return o=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!a.dragging||a.scrolling||o&&1!==o.length)&&(t=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==o?o[0].pageX:e.clientX,a.touchObject.curY=void 0!==o?o[0].pageY:e.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),s=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&s>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=s),n=a.swipeDirection(),void 0!==e.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,e.preventDefault()),r=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(r=a.touchObject.curY>a.touchObject.startY?1:-1),i=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===n||a.currentSlide>=a.getDotCount()&&"left"===n)&&(i=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=t+i*r:a.swipeLeft=t+i*(a.$list.height()/a.listWidth)*r,!0===a.options.verticalSwiping&&(a.swipeLeft=t+i*r),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},n.prototype.swipeStart=function(e){var t,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return n.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0},n.prototype.unfilterSlides=n.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},n.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
23,n.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},n.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").prop("disabled",!1),e.$nextArrow.removeClass("slick-disabled").prop("disabled",!1),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").prop("disabled",!0),e.$nextArrow.removeClass("slick-disabled").prop("disabled",!1)):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").prop("disabled",!0),e.$prevArrow.removeClass("slick-disabled").prop("disabled",!1)))},n.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").find("button").removeAttr("aria-current").end().end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active").find("button").attr("aria-current",!0).end().end())},n.prototype.updateSlideVisibility=function(){this.$slideTrack.find(".slick-slide").attr("aria-hidden","true").find("a, input, button, select").attr("tabindex","-1"),this.$slideTrack.find(".slick-active").removeAttr("aria-hidden").find("a, input, button, select").removeAttr("tabindex")},n.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,t,i=this,r=arguments[0],o=Array.prototype.slice.call(arguments,1),s=i.length;for(e=0;e<s;e++)if("object"==typeof r||void 0===r?i[e].slick=new n(i[e],r):t=i[e].slick[r].apply(i[e].slick,o),void 0!==t)return t;return i}},void 0===(o=i.apply(t,r))||(e.exports=o)}()},919(e,t,n){!function(e){"use strict";const t="multiselect",n=".multiselect",i="MultiSelect";var r=e.fn[i];function o(e){for(var t,i="";t=e.shift();)i+=t+n+" ";return i.replace(/\s+$/g,"")}function s(t,n){this.$element=e(t),this.options=e.extend({},e.fn[i].defaults,n),this.destroyFns=[],this.$toggle=this.$element.children(".toggle"),this.$toggle.attr("id",this.$element.attr("id")+"multi-select-label"),this.$backdrop=null,this.$allToggle=null,a.apply(this)}function a(){this.$element.addClass("multi-select").attr("tabindex",0),c.apply(this),u.apply(this),d.apply(this),l.apply(this),this.destroyFns.push(function(){return"|"})}function l(){this.$allToggle&&!this.$allToggle.parent()&&(this.$allToggle=null),this.$allToggle=e('<li><label><input type="checkbox"/>(all)</label><li>')}function c(){this.$element.attr("role","combobox").attr("aria-expanded",!1).attr("aria-haspopup",!1).attr("aria-labelledby",this.$toggle.attr("id")),this.$toggle.attr("aria-label","")}function u(){var t=this;this.$element.on(o(["click"]),function(n){(n.target===t.$toggle[0]||t.$toggle.has(n.target).length)&&(e(this).hasClass("in")?t.close():t.open())}).on(o(["keydown"]),function(n){var i=!1;switch(n.keyCode){case 13:if(e(this).hasClass("in")){var r=e(this).find(".focused");r.length&&r.find(":checkbox").trigger("click"),t.close()}else t.open();break;case 9:n.target!==t.$element[0]&&n.preventDefault();case 27:t.close();break;case 40:i=!0;case 38:e(this).hasClass("in")||t.open();var o=e(this).children("ul:first").find(":input, button, a"),s=e.inArray(document.activeElement,o);i&&++s===o.length?s=0:!i&&--s<0&&(s=o.length-1),e(o[s]).trigger("focus"),n.preventDefault()}}).on(o(["focus"]),"a, button, :input",function(){e(this).parents("li:last").addClass("focused")}).on(o(["blur"]),"a, button, :input",function(){e(this).parents("li:last").removeClass("focused")}).on(o(["change"]),":checkbox",function(){if(t.$allToggle&&e(this).is(t.$allToggle.find(":checkbox"))){var n=t.$allToggle.find(":checkbox").prop("checked");return t.$element.find(":checkbox").not(t.$allToggle.find(":checkbox")).each(function(){e(this).prop("checked",n),e(this).parents("li:last").toggleClass("selected",e(this).prop("checked"))}),void d.apply(t)}e(this).parents("li:last").toggleClass("selected",e(this).prop("checked"));var i=t.$element.find(":checkbox").not(t.$allToggle.find(":checkbox")).filter(":checked");t.$allToggle.find(":checkbox").prop("checked",i.length===i.end().length),d.apply(t)}).on(o(["mouseover"]),"ul",function(){e(this).children(".focused").removeClass("focused")})}function d(){var t=function(e,t){return 1!==t&&(!0===/y$/.test(e)&&(e=e.replace(/y$/,"ies")),e+="en"),e},n=this.$element.find("ul :checkbox"),i=n.length,r=n.filter(":checked").length,o=r+" "+t("Option",r)+" ausgewählt",s=this.$element.attr("data-placeholder")?this.$element.attr("data-placeholder"):"Option";if(this.$element.hasClass("multi-select--ml")&&r&&(s=n.filter(":checked").first().closest("label")[0].innerText),this.$element.hasClass("multi-select--ml")){const t=Number(r)>1?'<span class="label-count">(+'+(Number(r)-1)+")</span> ":"";this.$toggle.children("label").html(e('<span class="label-text">'+s+" </span>"+t))}else this.$toggle.children("label").html(e('<span class="label-count">'+r+'</span> <span class="label-text">'+t("Option",r)+" ausgewählt</span>"));this.$element.children("ul").attr("aria-label",o+" von "+i+" "+t("Option",i))}function p(){if(!this.$backdrop){var t=this;this.$backdrop=e('<div class="multi-select-backdrop"/>'),this.$element.append(this.$backdrop),this.$backdrop.on("click",function(){e(this).off("click").remove(),t.$backdrop=null,t.close()})}}e.fn[i]=function(n){this.each(function(){var i=e(this),r=i.data(t),o="object"==typeof n&&n||{};if(r||i.data(t,r=new s(this,o)),"string"==typeof n){if(!(n in r))throw'MultiSelect does not contain a method n
23amed "'+n+'"';return r[n]()}})},e.fn[i].Constructor=s,e.fn[i].noConflict=function(){return e.fn[i]=r,this},e.fn[i].defaults={},e.fn[i].EventNamespace=function(){return n.replace(/^\./gi,"")},e.fn[i].GetNamespacedEvents=function(e){return o(e)},s.prototype.open=function(){this.$element.hasClass("in")||(this.$element.addClass("in"),this.$element.attr("aria-expanded",!0).attr("aria-haspopup",!0),p.apply(this))},s.prototype.close=function(){this.$element.removeClass("in").trigger("focus"),this.$element.attr("aria-expanded",!1).attr("aria-haspopup",!1),this.$backdrop&&this.$backdrop.trigger("click")}}(n(796))},684(e,t,n){"use strict";function i(){return{xs:500,sm:700,md:900,lg:1100,xl:1300,xxl:1700}}n.r(t),n.d(t,{breakpoints:()=>i})},922(e,t,n){var r,o;o=this,void 0===(r=function(){return o.MQ=(e=o,o.MQ,e.init=function(t){if(this.callbacks=[],this.context="",this.new_context="",void 0!==t)for(i=0;i<t.length;i++)this.addQuery(t[i]);this.addEvent(window,"resize",e.listenForChange,e),this.listenForChange()},e.listenForChange=function(){var e;document.documentElement.currentStyle&&(e=document.documentElement.currentStyle.fontFamily),window.getComputedStyle&&(e=window.getComputedStyle(document.documentElement,null).getPropertyValue("font-family")),null!==e&&((e=e.replace(/['",]/g,""))!==this.context&&(this.new_context=e,this.triggerCallbacks(this.context,"unmatch"),this.triggerCallbacks(this.new_context,"match")),this.context=this.new_context)},e.addQuery=function(e){if(null!=e)return this.callbacks.push(e),"string"==typeof e.context&&(e.context=[e.context]),"boolean"!=typeof e.call_for_each_context&&(e.call_for_each_context=!0),""!==this.context&&this._inArray(this.context,e.context)&&e.match(),this.callbacks[this.callbacks.length-1]},e.removeQuery=function(t){if(null!=t)for(var n=-1;(n=e._indexOf(t,this.callbacks))>-1;)this.callbacks.splice(n,1)},e.triggerCallbacks=function(e,t){var n,i;for(n=0;n<this.callbacks.length;n++)!1===this.callbacks[n].call_for_each_context&&("match"===t&&this._inArray(this.context,this.callbacks[n].context)||"unmatch"===t&&this._inArray(this.new_context,this.callbacks[n].context))||(i=this.callbacks[n][t],this._inArray(e,this.callbacks[n].context)&&void 0!==i&&i())},e.addEvent=function(e,t,n,i){null!=e&&(e.addEventListener?e.addEventListener(t,function(){n.call(i)},!1):e.attachEvent?e.attachEvent("on"+t,function(){n.call(i)}):e["on"+t]=function(){n.call(i)})},e.getPreviousContext=function(){return this.context},e.getContext=function(){return this.new_context},e._inArray=function(e,t){for(var n=t.length,i=0;i<n;i++)if(t[i]==e)return!0;return!1},e._indexOf=function(e,t,n){var i;if(t){if(t.indexOf)return t.indexOf(e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1},e);var e}.call(t,n,t,e))||(e.exports=r)},427(e,t,n){var i,r,o,s,a=n(796);window.postMessage&&(function(){for(var e=document.getElementsByTagName("iframe"),t=0,n=e.length;t<n;t++)if("cfg"===e[t].getAttribute("data-seamless")){(i=e[t]).setAttribute("data-seamless","cfg-initialized");break}}(),i&&i.contentWindow?(o="message",s=function(e){if(e.source==i.contentWindow){var t;try{t=JSON.parse(e.data)}catch(e){}t&&(t.height&&"number"==typeof t.height&&t.height>100?(i.style.height=t.height+"px",i.style.overflow="hidden",i.style.overflowX="hidden",i.style.overflowY="hidden"):"seamlessScroll"===t.action&&function(e){var t=window.jQuery,n=function(){try{i.contentWindow.postMessage("seamlessfocuselem","*")}catch(e){window.console&&console.log&&console.log(e)}};if(t&&t.fn)try{var r,o=t(window).scrollTop(),s=(t(i).offset()||{top:0}).top+e-10;o>s&&(s-=20,r=Math.max(Math.min(.5*Math.abs(o-s),800),100),t(document.documentElement.scrollTop?document.documentElement:document.body).animate({scrollTop:s},r,n))}catch(e){window.console&&console.log&&console.log(e)}else n()}(t.top),t.requestConnection&&e.source.postMessage("seamlessconnected","*"))}},(r=window).addEventListener?r.addEventListener(o,s,!1):r.attachEvent&&r.attachEvent("on"+o,s),a(i).on("load",function(){i.contentWindow.postMessage("seamlessconnected","*")})):window.console&&console.log&&console.log("cfg frame not found abort"))},306(e,t,n){var i,r=n(796);i="smartresize",r.fn[i]=function(e){return e?this.bind("resize",(t=e,function(){var e=this,i=arguments;n&&clearTimeout(n),n=setTimeout(function(){t.apply(e,i),n=null},100)})):this.trigger(i);var t,n}}
23,865(e,t,n){var i,r,o;!function(){"use strict";r=[n(796)],i=function(e){var t={escapeRegExChars:function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(e){var t=document.createElement("div");return t.className=e,t.style.position="absolute",t.style.display="none",t}},n=27,i=9,r=13,o=38,s=39,a=40,l=e.noop;function c(t,n){var i=this;i.element=t,i.el=e(t),i.suggestions=[],i.badQueries=[],i.selectedIndex=-1,i.currentValue=i.element.value,i.timeoutId=null,i.cachedResponse={},i.onChangeTimeout=null,i.onChange=null,i.isLocal=!1,i.suggestionsContainer=null,i.noSuggestionsContainer=null,i.options=e.extend(!0,{},c.defaults,n),i.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},i.hint=null,i.hintValue="",i.selection=null,i.initialize(),i.setOptions(n)}c.utils=t,e.Autocomplete=c,c.defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,onHint:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:function(e,n){if(!n)return e.value;var i="("+t.escapeRegExChars(n)+")";return e.value.replace(new RegExp(i,"gi"),"<strong>$1</strong>").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/&lt;(\/?strong)&gt;/g,"<$1>")},formatGroup:function(e,t){return'<div class="autocomplete-group">'+t+"</div>"},delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:l,onSearchComplete:l,onSearchError:l,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(e,t,n){return-1!==e.value.toLowerCase().indexOf(n)},paramName:"query",transformResult:function(e){return"string"==typeof e?JSON.parse(e):e},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},c.prototype={initialize:function(){var t,n=this,i="."+n.classes.suggestion,r=n.classes.selected,o=n.options;n.element.setAttribute("autocomplete","off"),n.noSuggestionsContainer=e('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),n.suggestionsContainer=c.utils.createNode(o.containerClass),(t=e(n.suggestionsContainer)).appendTo(o.appendTo||"body"),"auto"!==o.width&&t.css("width",o.width),t.on("mouseover.autocomplete",i,function(){n.activate(e(this).data("index"))}),t.on("mouseout.autocomplete",function(){n.selectedIndex=-1,t.children("."+r).removeClass(r)}),t.on("click.autocomplete",i,function(){n.select(e(this).data("index"))}),t.on("click.autocomplete",function(){clearTimeout(n.blurTimeoutId)}),n.fixPositionCapture=function(){n.visible&&n.fixPosition()},e(window).on("resize.autocomplete",n.fixPositionCapture),n.el.on("keydown.autocomplete",function(e){n.onKeyPress(e)}),n.el.on("keyup.autocomplete",function(e){n.onKeyUp(e)}),n.el.on("blur.autocomplete",function(){n.onBlur()}),n.el.on("focus.autocomplete",function(){n.onFocus()}),n.el.on("change.autocomplete",function(e){n.onKeyUp(e)}),n.el.on("input.autocomplete",function(e){n.onKeyUp(e)})},onFocus:function(){var e=this;e.disabled||(e.fixPosition(),e.el.val().length>=e.options.minChars&&e.onValueChange())},onBlur:function(){var t=this,n=t.options,i=t.el.val(),r=t.getQuery(i);t.blurTimeoutId=setTimeout(function(){t.hide(),t.selection&&t.currentValue!==r&&(n.onInvalidateSelection||e.noop).call(t.element)},200)},abortAjax:function(){var e=this;e.currentRequest&&(e.currentRequest.abort(),e.currentRequest=null)},setOptions:function(t){var n=this,i=e.extend({},n.options,t);n.isLocal=Array.isArray(i.lookup),n.isLocal&&(i.lookup=n.verifySuggestionsFormat(i.lookup)),i.orientation=n.validateOrientation(i.orientation,"bottom"),e(n.suggestionsContainer).css({"max-height":i.maxHeight+"px",width:i.width+"px","z-index":i.zIndex}),this.options=i},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){var e=this;e.disabled=!0,clearTimeout(e.onChangeTimeout),e.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var t=this,n=e(t.suggestionsContainer),i=n.parent().get(0);if(i===document.body||t.options.forceFixPosition){var r=t.options.orientation,o=n.outerHeight(),s=t.el.outerHeight(),a=t.el.offset(),l={top:a.top,left
23:a.left};if("auto"===r){var c=e(window).height(),u=e(window).scrollTop(),d=-u+a.top-o,p=u+c-(a.top+s+o);r=Math.max(d,p)===d?"top":"bottom"}if(l.top+="top"===r?-o:s,i!==document.body){var f,h=n.css("opacity");t.visible||n.css("opacity",0).show(),f=n.offsetParent().offset(),l.top-=f.top,l.top+=i.scrollTop,l.left-=f.left,t.visible||n.css("opacity",h).hide()}"auto"===t.options.width&&(l.width=t.el.outerWidth()+"px"),n.css(l)}},isCursorAtEnd:function(){var e,t=this.el.val().length,n=this.element.selectionStart;return"number"==typeof n?n===t:!document.selection||((e=document.selection.createRange()).moveStart("character",-t),t===e.text.length)},onKeyPress:function(e){var t=this;if(t.disabled||t.visible||e.which!==a||!t.currentValue){if(!t.disabled&&t.visible){switch(e.which){case n:t.el.val(t.currentValue),t.hide();break;case s:if(t.hint&&t.options.onHint&&t.isCursorAtEnd()){t.selectHint();break}return;case i:if(t.hint&&t.options.onHint)return void t.selectHint();if(-1===t.selectedIndex)return void t.hide();if(t.select(t.selectedIndex),!1===t.options.tabDisabled)return;break;case r:if(-1===t.selectedIndex)return void t.hide();t.select(t.selectedIndex);break;case o:t.moveUp();break;case a:t.moveDown();break;default:return}e.stopImmediatePropagation(),e.preventDefault()}}else t.suggest()},onKeyUp:function(e){var t=this;if(!t.disabled){switch(e.which){case o:case a:return}clearTimeout(t.onChangeTimeout),t.currentValue!==t.el.val()&&(t.findBestHint(),t.options.deferRequestBy>0?t.onChangeTimeout=setTimeout(function(){t.onValueChange()},t.options.deferRequestBy):t.onValueChange())}},onValueChange:function(){if(this.ignoreValueChange)this.ignoreValueChange=!1;else{var t=this,n=t.options,i=t.el.val(),r=t.getQuery(i);t.selection&&t.currentValue!==r&&(t.selection=null,(n.onInvalidateSelection||e.noop).call(t.element)),clearTimeout(t.onChangeTimeout),t.currentValue=i,t.selectedIndex=-1,n.triggerSelectOnValidInput&&t.isExactMatch(r)?t.select(0):r.length<n.minChars?t.hide():t.getSuggestions(r)}},isExactMatch:function(e){var t=this.suggestions;return 1===t.length&&t[0].value.toLowerCase()===e.toLowerCase()},getQuery:function(e){var t,n=this.options.delimiter;return n?(t=e.split(n))[t.length-1].trim():e},getSuggestionsLocal:function(t){var n,i=this.options,r=t.toLowerCase(),o=i.lookupFilter,s=parseInt(i.lookupLimit,10);return n={suggestions:e.grep(i.lookup,function(e){return o(e,t,r)})},s&&n.suggestions.length>s&&(n.suggestions=n.suggestions.slice(0,s)),n},getSuggestions:function(t){var n,i,r,o,s=this,a=s.options,l=a.serviceUrl;a.params[a.paramName]=t,!1!==a.onSearchStart.call(s.element,a.params)&&(i=a.ignoreParams?null:a.params,"function"!=typeof a.lookup?(s.isLocal?n=s.getSuggestionsLocal(t):("function"==typeof l&&(l=l.call(s.element,t)),r=l+"?"+e.param(i||{}),n=s.cachedResponse[r]),n&&Array.isArray(n.suggestions)?(s.suggestions=n.suggestions,s.suggest(),a.onSearchComplete.call(s.element,t,n.suggestions)):s.isBadQuery(t)?a.onSearchComplete.call(s.element,t,[]):(s.abortAjax(),o={url:l,data:i,type:a.type,dataType:a.dataType},e.extend(o,a.ajaxSettings),s.currentRequest=e.ajax(o).done(function(e){var n;s.currentRequest=null,n=a.transformResult(e,t),s.processResponse(n,t,r),a.onSearchComplete.call(s.element,t,n.suggestions)}).fail(function(e,n,i){a.onSearchError.call(s.element,t,e,n,i)}))):a.lookup(t,function(e){s.suggestions=e.suggestions,s.suggest(),a.onSearchComplete.call(s.element,t,e.suggestions)}))},isBadQuery:function(e){if(!this.options.preventBadQueries)return!1;for(var t=this.badQueries,n=t.length;n--;)if(0===e.indexOf(t[n]))return!0;return!1},hide:function(){var t=this,n=e(t.suggestionsContainer);"function"==typeof t.options.onHide&&t.visible&&t.options.onHide.call(t.element,n),t.visible=!1,t.selectedIndex=-1,clearTimeout(t.onChangeTimeout),e(t.suggestionsContainer).hide(),t.onHint(null)},suggest:function(){if(this.suggestions.length){var t,n=this,i=n.options,r=i.groupBy,o=i.formatResult,s=n.getQuery(n.currentValue),a=n.classes.suggestion,l=n.classes.selected,c=e(n.suggestionsContainer),u=e(n.noSuggestionsContainer),d=i.beforeRender,p="";i.triggerSelectOnValidInput&&n.isExactMatch(s)?n.select(0):(e.each(n.suggestions,function(e,n){r&&(p+=function(e){var n=e.data[r];return t===n?"":(t=n,i.formatGroup(e,t))}(n)),p+='<div class="'+a+'" data-index="'+e+'">'+o(n,s,e)+"</div>"}),this.adjustContainerWidth(),u.detach(),c.html(p),"function"==typeof d&&d.call(n.element,c,n.suggestions),n.fixPosition(),c.show(),i.autoSelectFirst&&(n.selectedIndex=0,c.scrollTop(0),c.children("."+a).first().addClass(l)),n.visible=!0,n.findBestHint())}else this.options.showNoSuggestionNotice?this.noSuggestions():this.hide()},noSuggestions:function(){var t=this,n=t.options.beforeRender,i=e(t.suggestionsContainer),r=e(t.noSuggestionsContainer);this.adjustContainerWidth(),r.detach(),i.empty(),i.append(r),"function"==typeof n&&n.call(t.element,i,t.suggestions),t.fixPosition(),i.show(),t.visible=!0},adjustContainerWidth:function(){var t,n=this,i=n.options,r=e(n.suggestionsContainer);"auto"===i.width?(t=n.el.outerWidth(),r.css("width",t>0?t:300)):"flex"===i.width&&r.css("width","")},findBestHint:function(){var t=this,n=t.el.val().toLowerCase(),i=null;n&&(e.each(t.suggestions,function(e,t){var r=0===t.value.toLowerCase().indexOf(n);return r&&(i=t),!r}),t.onHint(i))},onHint:function(e){var t=this,n=t.options.onHint,i="";e&&(i=t.currentValue+e.value.substr(t.currentValue.length)),t.hintValue!==i&&(t.hintValue=i,t.hint=e,"function"==typeof n&&n.call(t.element,i))},verifySuggestionsFormat:function(t){return t.length&&"string"==typeof t[0]?e.map(t,function(e){return{value:e,data:null}}):t},validateOrientation:function(t,n){return t=(t||"").trim().toLowerCase(),-1===e.inArray(t,["auto","bottom","top"])&&(t=n),t},processResponse:function(e,t,n){var i=this,r=i.options;e.suggestions=i.verifySuggestionsFormat(e.suggestions),r.noCache||(i.cachedResponse[n]=e,r.preventBadQueries&&!e.suggestions.length&&i.badQueries.push(t)),t===i.getQuery(i.currentValue)&&(i.suggestions=e.suggestions,i.suggest())},activate:function(t){var n,i=this,r=i.classes.selected,o=e(i.suggestionsContainer),s=o.find("."+i.classes.suggestion);return o.find("."+r).removeClass(r),i.selectedIndex=t,-1!==i.selectedIndex&&s.length>i.selectedIndex?(n=s.get(i.selectedIndex),e(n).addClass(r),n):null},selectHint:function(){var t=this,n=e.inArray(t.hint,t.suggestions);t.select(n)},select:function(e){this.hide(),this.onSelect(e)},moveUp:function(){var t=this;if(-1!==t.selectedIndex)return 0===t.selectedIndex?(e(t.suggestionsContainer).children("."+t.classes.suggestion).first().removeClass(t.classes.selected),t.selectedIndex=-1,t.ignoreValueChange=!1,t.el.val(t.currentValue),void t.findBestHint()):void t.adjustScroll(t.selectedIndex-1)},moveDown:function(){var e=this;e.selectedIndex!==e.suggestions.length-1&&e.adjustScroll(e.selectedIndex+1)},adjustScroll:function(t){var n=this,i=n.activate(t);if(i){var r,o,s,a=e(i).outerHeight();r=i.offsetTop,s=(o=e(n.suggestionsContainer).scrollTop())+n.options.maxHeight-a,r<o?e(n.suggestionsContainer).scrollTop(r):r>s&&e(n.suggestionsContainer).scrollTop(r-n.options.maxHeight+a),n.options.preserveInput||(n.ignoreValueChange=!0,n.el.val(n.getValue(n.suggestions[t].value))),n.onHint(null)}},onSelect:function(e){var t=this,n=t.options.onSelect,i=t.suggestions[e];t.currentValue=t.getValue(i.value),t.currentValue===t.el.val()||t.options.preserveInput||t.el.val(t.currentValue),t.onHint(null),t.suggestions=[],t.selection=i,"function"==typeof n&&n.call(t.element,i)},getValue:function(e){var t,n,i=this.options.delimiter;return i?1===(n=(t=this.currentValue).split(i)).length?e:t.substr(0,t.length-n[n.length-1].length)+e:e},dispose:function(){var t=this;t.el.off(".autocomplete").removeData("autocomplete"),e(window).off("resize.autocomplete",t.fixPositionCapture),e(t.suggestionsContainer).remove()}},e.fn.devbridgeAutocomplete=function(t,n){var i="autocomplete";return arguments.length?this.each(function(){var r=e(this),o=r.data(i);"string"==typeof t?o&&"function"==typeof o[t]&&o[t](n):(o&&o.dispose&&o.dispose(),o=new c(this,t),r.data(i,o))}):this.first().data(i)},e.fn.autocomplete||(e.fn.autocomplete=e.fn.devbridgeAutocomplete)},void 0===(o=i.apply(t,r))||(e.exports=o)}()}
23,796(e,t,n){var i=n(692),r=n(160);void 0===r.$&&(r.$=i),void 0===r.jQuery&&(r.jQuery=i),e.exports=i},160(e,t,n){"use strict";e.exports=function(){if("object"==typeof globalThis)return globalThis;var e;try{e=this||new Function("return this")()}catch(e){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return e}()},337(e,t,n){var i,r,o=n(818),s=n(510),a=(r=[],{activateTrap:function(e){if(r.length>0){var t=r[r.length-1];t!==e&&t.pause()}var n=r.indexOf(e);-1===n||r.splice(n,1),r.push(e)},deactivateTrap:function(e){var t=r.indexOf(e);-1!==t&&r.splice(t,1),r.length>0&&r[r.length-1].unpause()}});function l(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,r="string"==typeof e?n.querySelector(e):e,c=s({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),u={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},d={activate:function(e){if(!u.active){w(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:c.onActivate;return t&&t(),f(),d}},deactivate:p,pause:function(){!u.paused&&u.active&&(u.paused=!0,h())},unpause:function(){u.paused&&u.active&&(u.paused=!1,w(),f())}};return d;function p(e){if(u.active){clearTimeout(i),h(),u.active=!1,u.paused=!1,a.deactivateTrap(d);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:c.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:c.returnFocusOnDeactivate)&&l(function(){var e;x((e=u.nodeFocusedBeforeActivation,m("setReturnFocus")||e))}),d}}function f(){if(u.active)return a.activateTrap(d),i=l(function(){x(g())}),n.addEventListener("focusin",y,!0),n.addEventListener("mousedown",v,{capture:!0,passive:!1}),n.addEventListener("touchstart",v,{capture:!0,passive:!1}),n.addEventListener("click",_,{capture:!0,passive:!1}),n.addEventListener("keydown",b,{capture:!0,passive:!1}),d}function h(){if(u.active)return n.removeEventListener("focusin",y,!0),n.removeEventListener("mousedown",v,!0),n.removeEventListener("touchstart",v,!0),n.removeEventListener("click",_,!0),n.removeEventListener("keydown",b,!0),d}function m(e){var t=c[e],i=t;if(!t)return null;if("string"==typeof t&&!(i=n.querySelector(t)))throw new Error("`"+e+"` refers to no known node");if("function"==typeof t&&!(i=t()))throw new Error("`"+e+"` did not return a node");return i}function g(){var e;if(!(e=null!==m("initialFocus")?m("initialFocus"):r.contains(n.activeElement)?n.activeElement:u.firstTabbableNode||m("fallbackFocus")))throw new Error("Your focus-trap needs to have at least one focusable element");return e}function v(e){r.contains(e.target)||(c.clickOutsideDeactivates?p({returnFocus:!o.isFocusable(e.target)}):c.allowOutsideClick&&c.allowOutsideClick(e)||e.preventDefault())}function y(e){r.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),x(u.mostRecentlyFocusedNode||g()))}function b(e){if(!1!==c.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void p();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(w(),e.shiftKey&&e.target===u.firstTabbableNode)return e.preventDefault(),void x(u.lastTabbableNode);e.shiftKey||e.target!==u.lastTabbableNode||(e.preventDefault(),x(u.firstTabbableNode))}(e)}function _(e){c.clickOutsideDeactivates||r.contains(e.target)||c.allowOutsideClick&&c.allowOutsideClick(e)||(e.preventDefault(),e.stopImmediatePropagation())}function w(){var e=o(r);u.firstTabbableNode=e[0]||g(),u.lastTabbableNode=e[e.length-1]||g()}function x(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),u.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):x(g()))}}},692(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(i,r){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,d={},p=d.toString,f=d.hasOwnProperty,h=f.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window}
vendor: 20,139 bytes, line 23
23,b=i.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var i,r,o=(n=n||b).createElement("script");if(o.text=e,t)for(i in _)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var S="3.7.1",k=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function E(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:S,constructor:T,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},T.extend=T.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(c&&i&&(T.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||T.isPlainObject(n)?n:{},r=!1,s[t]=T.extend(c,o,i)):void 0!==i&&(s[t]=i));return s},T.extend({expando:"jQuery"+(S+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==p.call(e)||(t=s(e))&&("function"!=typeof(n=f.call(t,"constructor")&&t.constructor)||h.call(n)!==m))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(C(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,r=e.nodeType;if(!r)for(;t=e[i++];)n+=T.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?T.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!k.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(C(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return l(s)},guid:1,support:g}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=o[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()});var A=o.pop,L=o.sort,j=o.splice,P="[\\x20\\t\\r\\n\\f]",I=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g");T.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var M=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function $(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(M,$)};var q=b,O=c;!function(){var e,t,n,r,s,l,c,d,p,h,m=O,v=T.expando,y=0,b=0,_=ee(),w=ee(),x=ee(),S=ee(),k=function(e,t){return e===t&&(s=!0),0},C="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$="\\["+P+"*("+M+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+P+"*\\]",N=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+$+")*)|.*)\\)|)",D=new RegExp(P+"+","g"),B=new RegExp("^"+P+"*,"+P+"*"),R=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),H=new RegExp(P+"|>"),z=new RegExp(N),F=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+C+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/[+~]/,G=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),X=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},K=function(){le()},Q=pe(function(e){return!0===e.disabled&&E(e,"fieldset")},{dir:"parentNode",next:"legend"});try{m.apply(o=a.call(q.childNodes),q.childNodes),o[q.childNodes.length].nodeType}catch(e){m={apply:function(e,t){O.apply(e,a.call(t))},call:function(e){O.apply(e,a.call(arguments,1))}}}function J(e,t,n,i){var r,o,s,a,c,u,f,h=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!i&&(le(t),t=t||l,d)){if(11!==y&&(c=Z.exec(e)))if(r=c[1]){if(9===y){if(!(s=t.getElementById(r)))return n;if(s.id===r)return m.call(n,s),n}else if(h&&(s=h.getElementById(r))&&J.contains(t,s)&&s.id===r)return m.call(n,s),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((r=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(r)),n}if(!(S[e+" "]||p&&p.test(e))){if(f=e,h=t,1===y&&(H.test(e)||R.test(e))){for((h=Y.test(e)&&ae(t.parentNode)||t)==t&&g.scope||((a=t.getAttribute("id"))?a=T.escapeSelector(a):t.setAttribute("id",a=v)),o=(u=ue(e)).length;o--;)u[o]=(a?"#"+a:":scope")+" "+de(u[o]);f=u.join(",")}try{return m.apply(n,h.querySelectorAll(f)),n}catch(t){S(e,!0)}finally{a===v&&t.removeAttribute("id")}}}return ye(e.replace(I,"$1"),t,n,i)}function ee(){var e=[];return function n(i,r){return e.push(i+" ")>t.cacheLength&&delete n[e.shift()],n[i+" "]=r}}function te(e){return e[v]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return E(t,"input")&&t.type===e}}function re(e){return function(t){return(E(t,"input")||E(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function se(e){return te(function(t){return t=+t,te(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,i=e?e.ownerDocument||e:q;return i!=l&&9===i.nodeType&&i.documentElement?(c=(l=i).documentElement,d=!T.isXMLDoc(l),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&q!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",K),g.getById=ne(function(e){return c.appendChild(e).id=T.expando,!l.getElementsByName||!l.getElementsByName(T.expando).length}),g.disconnectedMatch=ne(function(e){return h.call(e,"*")}),g.scope=ne(function(){return l.querySelectorAll(":scope")}),g.cssHas=ne(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),g.getById?(t.filter.ID=function(e){var t=e.replace(G,X);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(G,X);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},p=[],ne(function(e){var t;c.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+P+"*(?:value|"+C+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")}),g.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),k=function(e,t){if(e===t)return s=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==q&&J.contains(q,e)?-1:t===l||t.ownerDocument==q&&J.contains(q,t)?1:r?u.call(r,e)-u.call(r,t):0:4&n?-1:1)},l):l}for(e in J.matches=function(e,t){return J(e,null,null,t)},J.matchesSelector=function(e,t){if(le(e),d&&!S[t+" "]&&(!p||!p.test(t)))try{var n=h.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){S(t,!0)}return J(t,l,null,[e]).length>0},J.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),T.contains(e,t)},J.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var i=t.attrHandle[n.toLowerCase()],r=i&&f.call(t.attrHandle,n.toLowerCase())?i(e,n,!d):void 0;return void 0!==r?r:e.getAttribute(n)},J.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,n=[],i=0,o=0;if(s=!g.sortStable,r=!g.sortStable&&a.call(e,0),L.call(e,k),s){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)j.call(e,n[i],1)}return r=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(a.apply(this)))},t=T.expr={cacheLength:50,createPseudo:te,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(G,X),e[3]=(e[3]||e[4]||e[5]||"").replace(G,X),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||J.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&J.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(G,X).toLowerCase();return"*"===e?function(){return!0}:function(e){return E(e,t)}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&_(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=J.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(D," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,h=o!==s?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),b=!l&&!a,_=!1;if(m){if(o){for(;h;){for(d=t;d=d[h];)if(a?E(d,g):1===d.nodeType)return!1;f=h="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?m.firstChild:m.lastChild],s&&b){for(_=(p=(c=(u=m[v]||(m[v]={}))[e]||[])[0]===y&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[h]||(_=p=0)||f.pop();)if(1===d.nodeType&&++_&&d===t){u[e]=[y,p,_];break}}else if(b&&(_=p=(c=(u=t[v]||(t[v]={}))[e]||[])[0]===y&&c[1]),!1===_)for(;(d=++p&&d&&d[h]||(_=p=0)||f.pop())&&(!(a?E(d,g):1===d.nodeType)||!++_||(b&&((u=d[v]||(d[v]={}))[e]=[y,_]),d!==t)););return(_-=r)===i||_%i===0&&_/i>=0}}},PSEUDO:function(e,n){var i,r=t.pseudos[e]||t.setFilters[e.toLowerCase()]||J.error("unsupported pseudo: "+e);return r[v]?r(n):r.length>1?(i=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,t){for(var i,o=r(e,n),s=o.length;s--;)e[i=u.call(e,o[s])]=!(t[i]=o[s])}):function(e){return r(e,0,i)}):r}},pseudos:{not:te(function(e){var t=[],n=[],i=ve(e.replace(I,"$1"));return i[v]?te(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:te(function(e){return function(t){return J(e,t).length>0}}),contains:te(function(e){return e=e.replace(G,X),function(t){return(t.textContent||T.text(t)).indexOf(e)>-1}}),lang:te(function(e){return F.test(e||"")||J.error("unsupported lang: "+e),e=e.replace(G,X).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return E(e,"input")&&!!e.checked||E(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return V.test(e.nodeName)},input:function(e){return U.test(e.nodeName)},button:function(e){return E(e,"input")&&"button"===e.type||E(e,"button")},text:function(e){var t;return E(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:se(function(){return[0]}),last:se(function(e,t){return[t-1]}),eq:se(function(e,t,n){return[n<0?n+t:n]}),even:se(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:se(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:se(function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:se(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ie(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=re(e);function ce(){}function ue(e,n){var i,r,o,s,a,l,c,u=w[e+" "];if(u)return n?0:u.slice(0);for(a=e,l=[],c=t.preFilter;a;){for(s in i&&!(r=B.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=R.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(I," ")}),a=a.slice(i.length)),t.filter)!(r=W[s].exec(a))||c[s]&&!(r=c[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?J.error(e):w(e,l).slice(0)}function de(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function pe(e,t,n){var i=t.dir,r=t.next,o=r||i,s=n&&"parentNode"===o,a=b++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,l){var c,u,d=[y,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(u=t[v]||(t[v]={}),r&&E(t,r))t=t[i]||t;else{if((c=u[o])&&c[0]===y&&c[1]===a)return d[2]=c[2];if(u[o]=d,d[2]=e(t,n,l))return!0}return!1}}function fe(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function he(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),c&&t.push(a)));return s}function me(e,t,n,i,r,o){return i&&!i[v]&&(i=me(i)),r&&!r[v]&&(r=me(r,o)),te(function(o,s,a,l){var c,d,p,f,h=[],g=[],v=s.length,y=o||function(e,t,n){for(var i=0,r=t.length;i<r;i++)J(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),b=!e||!o&&t?y:he(y,h,e,a,l);if(n?n(b,f=r||(o?e:v||i)?[]:s,a,l):f=b,i)for(c=he(f,g),i(c,[],a,l),d=c.length;d--;)(p=c[d])&&(f[g[d]]=!(b[g[d]]=p));if(o){if(r||e){if(r){for(c=[],d=f.length;d--;)(p=f[d])&&c.push(b[d]=p);r(null,f=[],c,l)}for(d=f.length;d--;)(p=f[d])&&(c=r?u.call(o,p):h[d])>-1&&(o[c]=!(s[c]=p))}}else f=he(f===s?f.splice(v,f.length):f),r?r(null,s,f,l):m.apply(s,f)})}function ge(e){for(var i,r,o,s=e.length,a=t.relative[e[0].type],l=a||t.relative[" "],c=a?1:0,d=pe(function(e){return e===i},l,!0),p=pe(function(e){return u.call(i,e)>-1},l,!0),f=[function(e,t,r){var o=!a&&(r||t!=n)||((i=t).nodeType?d(e,t,r):p(e,t,r));return i=null,o}];c<s;c++)if(r=t.relative[e[c].type])f=[pe(fe(f),r)];else{if((r=t.filter[e[c].type].apply(null,e[c].matches))[v]){for(o=++c;o<s&&!t.relative[e[o].type];o++);return me(c>1&&fe(f),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(I,"$1"),r,c<o&&ge(e.slice(c,o)),o<s&&ge(e=e.slice(o)),o<s&&de(e))}f.push(r)}return fe(f)}function ve(e,i){var r,o=[],s=[],a=x[e+" "];if(!a){for(i||(i=ue(e)),r=i.length;r--;)(a=ge(i[r]))[v]?o.push(a):s.push(a);a=x(e,function(e,i){var r=i.length>0,o=e.length>0,s=function(s,a,c,u,p){var f,h,g,v=0,b="0",_=s&&[],w=[],x=n,S=s||o&&t.find.TAG("*",p),k=y+=null==x?1:Math.random()||.1,C=S.length;for(p&&(n=a==l||a||p);b!==C&&null!=(f=S[b]);b++){if(o&&f){for(h=0,a||f.ownerDocument==l||(le(f),c=!d);g=e[h++];)if(g(f,a||l,c)){m.call(u,f);break}p&&(y=k)}r&&((f=!g&&f)&&v--,s&&_.push(f))}if(v+=b,r&&b!==v){for(h=0;g=i[h++];)g(_,w,a,c);if(s){if(v>0)for(;b--;)_[b]||w[b]||(w[b]=A.call(u));w=he(w)}m.apply(u,w),p&&!s&&w.length>0&&v+i.length>1&&T.uniqueSort(u)}return p&&(y=k,n=x),_};return r?te(s):s}(s,o)),a.selector=e}return a}function ye(e,n,i,r){var o,s,a,l,c,u="function"==typeof e&&e,p=!r&&ue(e=u.selector||e);if(i=i||[],1===p.length){if((s=p[0]=p[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===n.nodeType&&d&&t.relative[s[1].type]){if(!(n=(t.find.ID(a.matches[0].replace(G,X),n)||[])[0]))return i;u&&(n=n.parentNode),e=e.slice(s.shift().value.length)}for(o=W.needsContext.test(e)?0:s.length;o--&&(a=s[o],!t.relative[l=a.type]);)if((c=t.find[l])&&(r=c(a.matches[0].replace(G,X),Y.test(s[0].type)&&ae(n.parentNode)||n))){if(s.splice(o,1),!(e=r.length&&de(s)))return m.apply(i,r),i;break}}return(u||ve(e,p))(r,n,!d,i,!n||Y.test(e)&&ae(n.parentNode)||n),i}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,g.sortStable=v.split("").sort(k).join("")===v,le(),g.sortDetached=ne(function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))}),T.find=J,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,J.compile=ve,J.select=ye,J.setDocument=le,J.tokenize=ue,J.escape=T.escapeSelector,J.getText=T.text,J.isXML=T.isXMLDoc,J.selectors=T.expr,J.supp
vendor: 6,050 bytes, line 23
23ort=T.support,J.uniqueSort=T.uniqueSort}();var N=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&T(e).is(n))break;i.push(e)}return i},D=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},B=T.expr.match.needsContext,R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(e,t,n){return v(t)?T.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?T.grep(e,function(e){return e===t!==n}):"string"!=typeof t?T.grep(e,function(e){return u.call(t,e)>-1!==n}):T.filter(t,e,n)}T.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?T.find.matchesSelector(i,e)?[i]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<i;t++)if(T.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)T.find(e,r[t],n);return i>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(H(this,e||[],!1))},not:function(e){return this.pushStack(H(this,e||[],!0))},is:function(e){return!!H(this,"string"==typeof e&&B.test(e)?T(e):e||[],!1).length}});var z,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||z,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:F.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),R.test(i[1])&&T.isPlainObject(t))for(i in t)v(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=b.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,z=T(b);var W=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function V(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&T(e);if(!B.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(T(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return N(e,"parentNode")},parentsUntil:function(e,t,n){return N(e,"parentNode",n)},next:function(e){return V(e,"nextSibling")},prev:function(e){return V(e,"previousSibling")},nextAll:function(e){return N(e,"nextSibling")},prevAll:function(e){return N(e,"previousSibling")},nextUntil:function(e,t,n){return N(e,"nextSibling",n)},prevUntil:function(e,t,n){return N(e,"previousSibling",n)},siblings:function(e){return D((e.parentNode||{}).firstChild,e)},children:function(e){return D(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(E(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(e,t){T.fn[e]=function(n,i){var r=T.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=T.filter(i,r)),this.length>1&&(U[e]||T.uniqueSort(r),W.test(e)&&r.reverse()),this.pushStack(r)}});var Z=/[^\x20\t\r\n\f]+/g;function Y(e){return e}function G(e){throw e}function X(e,t,n,i){var r;try{e&&v(r=e.promise)?r.call(e).done(t).fail(n):e&&v(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(Z)||[],function(e,n){t[n]=!0}),t}(e):T.extend({},e);var t,n,i,r,o=[],s=[],a=-1,l=function(){for(r=r||e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){T.each(n,function(n,i){v(i)?e.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==x(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;(n=T.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--}),this},has:function(e){return e?T.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return T.Deferred(function(n){T.each(t,function(t,i){var r=v(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=r&&r.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){var o=0;function s(e,t,n,r){return function(){var a=this,l=arguments,c=function(){var i,c;if(!(e<o)){if((i=n.apply(a,l))===t.promise())throw new TypeError("Thenable self
23-resolution");c=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(c)?r?c.call(i,s(o,t,Y,r),s(o,t,G,r)):(o++,c.call(i,s(o,t,Y,r),s(o,t,G,r),s(o,t,Y,t.notifyWith))):(n!==Y&&(a=void 0,l=[i]),(r||t.resolveWith)(a,l))}},u=r?c:function(){try{c()}catch(i){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(i,u.error),e+1>=o&&(n!==G&&(a=void 0,l=[i]),t.rejectWith(a,l))}};e?u():(T.Deferred.getErrorHook?u.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(u.error=T.Deferred.getStackHook()),i.setTimeout(u))}}return T.Deferred(function(i){t[0][3].add(s(0,i,v(r)?r:Y,i.notifyWith)),t[1][3].add(s(0,i,v(e)?e:Y)),t[2][3].add(s(0,i,v(n)?n:G))}).promise()},promise:function(e){return null!=e?T.extend(e,r):r}},o={};return T.each(t,function(e,i){var s=i[2],a=i[5];r[i[1]]=s.add,a&&s.add(function(){n=a},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(i[3].fire),o[i[0]]=function(){return o[i[0]+"With"](this===o?void 0:this,arguments),this},o[i[0]+"With"]=s.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=a.call(arguments),o=T.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(X(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||v(r[n]&&r[n].then)))return o.then();for(;n--;)X(r[n],s(n),o.reject);return o.promise()}});var K=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&K.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){i.setTimeout(function(){throw e})};var Q=T.Deferred();function J(){b.removeEventListener("DOMContentLoaded",J),i.removeEventListener("load",J),T.ready()}T.fn.ready=function(e){return Q.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||Q.resolveWith(b,[T]))}}),T.ready.then=Q.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?i.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",J),i.addEventListener("load",J));var ee=function(e,t,n,i,r,o,s){var a=0,l=e.length,c=null==n;if("object"===x(n))for(a in r=!0,n)ee(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,v(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(T(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:c?t.call(e):l?t(e[0],n):o},te=/^-ms-/,ne=/-([a-z])/g;function ie(e,t){return t.toUpperCase()}function re(e){return e.replace(te,"ms-").replace(ne,ie)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function se(){this.expando=T.expando+se.uid++}se.uid=1,se.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[re(t)]=n;else for(i in t)r[re(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][re(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(re):(t=re(t))in i?[t]:t.match(Z)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||T.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var ae=new se,le=new se,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return le.hasData(e)||ae.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return ae.access(e,t,n)},_removeData:function(e,t){ae.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=le.get(o),1===o.nodeType&&!ae.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=re(i.slice(5)),de(o,i,r[i]));ae.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){le.set(this,e)}):ee(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=le.get(o,e))||void 0!==(n=de(o,e))?n:void 0;this.each(function(){le.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){le.remove(this,e)})}}),T.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=ae.get(e,t),n&&(!i||Array.isArray(n)?i=ae.access(e,t,T.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),i=n.length,r=n.shift(),o=T._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){T.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ae.get(e,n)||ae.access(e,n,{empty:T.Callbacks("once memory").add(function(){ae.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each(function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=T.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;
vendor: 6,677 bytes, line 23
23)(n=ae.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=new RegExp("^(?:([+-])=|)("+pe+")([a-z%]*)$","i"),he=["Top","Right","Bottom","Left"],me=b.documentElement,ge=function(e){return T.contains(e.ownerDocument,e)},ve={composed:!0};me.getRootNode&&(ge=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ve)===e.ownerDocument});var ye=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===T.css(e,"display")};function be(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return T.css(e,t,"")},l=a(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+l)&&fe.exec(T.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)T.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,T.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}var _e={};function we(e){var t,n=e.ownerDocument,i=e.nodeName,r=_e[i];return r||(t=n.body.appendChild(n.createElement(i)),r=T.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),_e[i]=r,r)}function xe(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=ae.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&ye(i)&&(r[o]=we(i))):"none"!==n&&(r[o]="none",ae.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}T.fn.extend({show:function(){return xe(this,!0)},hide:function(){return xe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ye(this)?T(this).show():T(this).hide()})}});var Se,ke,Te=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ee=/^$|^module$|\/(?:java|ecma)script/i;Se=b.createDocumentFragment().appendChild(b.createElement("div")),(ke=b.createElement("input")).setAttribute("type","radio"),ke.setAttribute("checked","checked"),ke.setAttribute("name","t"),Se.appendChild(ke),g.checkClone=Se.cloneNode(!0).cloneNode(!0).lastChild.checked,Se.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Se.cloneNode(!0).lastChild.defaultValue,Se.innerHTML="<option></option>",g.option=!!Se.lastChild;var Ae={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Le(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?T.merge([e],n):n}function je(e,t){for(var n=0,i=e.length;n<i;n++)ae.set(e[n],"globalEval",!t||ae.get(t[n],"globalEval"))}Ae.tbody=Ae.tfoot=Ae.colgroup=Ae.caption=Ae.thead,Ae.th=Ae.td,g.option||(Ae.optgroup=Ae.option=[1,"<select multiple='multiple'>","</select>"]);var Pe=/<|&#?\w+;/;function Ie(e,t,n,i,r){for(var o,s,a,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((o=e[f])||0===o)if("object"===x(o))T.merge(p,o.nodeType?[o]:o);else if(Pe.test(o)){for(s=s||d.appendChild(t.createElement("div")),a=(Ce.exec(o)||["",""])[1].toLowerCase(),l=Ae[a]||Ae._default,s.innerHTML=l[1]+T.htmlPrefilter(o)+l[2],u=l[0];u--;)s=s.lastChild;T.merge(p,s.childNodes),(s=d.firstChild).textContent=""}else p.push(t.createTextNode(o));for(d.textContent="",f=0;o=p[f++];)if(i&&T.inArray(o,i)>-1)r&&r.push(o);else if(c=ge(o),s=Le(d.appendChild(o),"script"),c&&je(s),n)for(u=0;o=s[u++];)Ee.test(o.type||"")&&n.push(o);return d}var Me=/^([^.]*)(?:\.(.+)|)/;function $e(){return!0}function qe(){return!1}function Oe(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Oe(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=qe;else if(!r)return e;return 1===o&&(s=r,r=function(e){return T().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=T.guid++)),e.each(function(){T.event.add(this,t,r,i,n)})}function Ne(e,t,n){n?(ae.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var n,i=ae.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),ae.set(this,t,i),this[t](),n=ae.get(this,t),ae.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(ae.set(this,t,T.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=$e)}})):void 0===ae.get(e,t)&&T.event.add(e,t,$e)}T.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,u,d,p,f,h,m,g=ae.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&T.find.matchesSelector(me,r),n.guid||(n.guid=T.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Z)||[""]).length;c--;)f=m=(a=Me.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),f&&(d=T.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=T.event.special[f]||{},u=T.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&T.expr.match.needsContext.test(r),namespace:h.join(".")},o),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,h,s)||e.addEventListener&&e.addEventListener(f,s)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),T.event.global[f]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,u,d,p,f,h,m,g=ae.hasData(e)&&ae.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(Z)||[""]).length;c--;)if(f=m=(a=Me.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),f){for(d=T.event.special[f]||{},p=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)u=p[o],!r&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(o,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||T.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)T.event.remove(e,f+t[c],n,i,!0);T.isEmptyObject(l)&&ae.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),l=T.event.fix(e),c=(ae.get(this,"events")||Object.create(null))[l.type]||[],u=T.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=T.event.handlers.call(this,l,c),t=0;(r=s[t++])&&!l.isPropagationStopped();
vendor: 4,296 bytes, line 23
23)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((T.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?T(r,this).index(c)>-1:T.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&E(t,"input")&&Ne(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&E(t,"input")&&Ne(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&E(t,"input")&&ae.get(t,"click")||E(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?$e:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=$e,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=$e,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=$e,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(b.documentMode){var n=ae.get(this,"handle"),i=T.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else T.event.simulate(t,e.target,T.event.fix(e))}T.event.special[e]={setup:function(){var i;if(Ne(this,e,!0),!b.documentMode)return!1;(i=ae.get(this,t))||this.addEventListener(t,n),ae.set(this,t,(i||0)+1)},trigger:function(){return Ne(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=ae.get(this,t)-1)?ae.set(this,t,e):(this.removeEventListener(t,n),ae.remove(this,t))},_default:function(t){return ae.get(t.target,e)},delegateType:t},T.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=b.documentMode?this:i,o=ae.get(r,t);o||(b.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),ae.set(r,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=b.documentMode?this:i,o=ae.get(r,t)-1;o?ae.set(r,t,o):(b.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),ae.remove(r,t))}}}
vendor: 5,939 bytes, line 23
23),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||T.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),T.fn.extend({on:function(e,t,n,i){return Oe(this,e,t,n,i)},one:function(e,t,n,i){return Oe(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,T(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){T.event.remove(this,e,n,t)})}});var De=/<script|<style|<link/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,Re=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function He(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function ze(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,i,r,o,s,a;if(1===t.nodeType){if(ae.hasData(e)&&(a=ae.get(e).events))for(r in ae.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)T.event.add(t,r,a[r][n]);le.hasData(e)&&(o=le.access(e),s=T.extend({},o),le.set(t,s))}}function Ue(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Te.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ve(e,t,n,i){t=l(t);var r,o,s,a,c,u,d=0,p=e.length,f=p-1,h=t[0],m=v(h);if(m||p>1&&"string"==typeof h&&!g.checkClone&&Be.test(h))return e.each(function(r){var o=e.eq(r);m&&(t[0]=h.call(this,r,o.html())),Ve(o,t,n,i)});if(p&&(o=(r=Ie(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=(s=T.map(Le(r,"script"),ze)).length;d<p;d++)c=r,d!==f&&(c=T.clone(c,!0,!0),a&&T.merge(s,Le(c,"script"))),n.call(e[d],c,d);if(a)for(u=s[s.length-1].ownerDocument,T.map(s,Fe),d=0;d<a;d++)c=s[d],Ee.test(c.type||"")&&!ae.access(c,"globalEval")&&T.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?T._evalUrl&&!c.noModule&&T._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):w(c.textContent.replace(Re,""),c,u))}return e}function Ze(e,t,n){for(var i,r=t?T.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||T.cleanData(Le(i)),i.parentNode&&(n&&ge(i)&&je(Le(i,"script")),i.parentNode.removeChild(i));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(s=Le(a),i=0,r=(o=Le(e)).length;i<r;i++)Ue(o[i],s[i]);if(t)if(n)for(o=o||Le(e),s=s||Le(a),i=0,r=o.length;i<r;i++)We(o[i],s[i]);else We(e,a);return(s=Le(a,"script")).length>0&&je(s,!l&&Le(e,"script")),a},cleanData:function(e){for(var t,n,i,r=T.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[ae.expando]){if(t.events)for(i in t.events)r[i]?T.event.remove(n,i):T.removeEvent(n,i,t.handle);n[ae.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Ze(this,e,!0)},remove:function(e){return Ze(this,e)},text:function(e){return ee(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ve(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||He(this,e).appendChild(e)})},prepend:function(){return Ve(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=He(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(Le(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e??!1,t=t??e,this.map(function(){return T.clone(this,e,t)})},html:function(e){return ee(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!De.test(e)&&!Ae[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(Le(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ve(this,arguments,function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(Le(this)),n&&n.replaceChild(t,this))},e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){T.fn[e]=function(e){for(var n,i=[],r=T(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),T(r[s])[t](n),c.apply(i,n.get());return this.pushStack(i)}});var Ye=new RegExp("^("+pe+")(?!px)[a-z%]+$","i"),Ge=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},Ke=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},Qe=new RegExp(he.join("|"),"i");function Je(e,t,n){var i,r,o,s,a=Ge.test(t),l=e.style;return(n=n||Xe(e))&&(s=n.getPropertyValue(t)||n[t],a&&s&&(s=s.replace(I,"$1")||void 0),""!==s||ge(e)||(s=T.style(e,t)),!g.pixelBoxStyles()&&Ye.test(s)&&Qe.test(t)&&(i=l.width,r=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=i,l.minWidth=r,l.maxWidth=o)),void 0!==s?s+"":s}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;
23left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(c).appendChild(u);var e=i.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",s=36===t(e.right),r=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),me.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,r,o,s,a,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,T.extend(g,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),r=i.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),a}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,it={};function rt(e){return T.cssProps[e]||it[e]||(e in nt?e:it[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,st={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var i=fe.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ct(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=T.css(e,n+he[s],!0,r)),i?("content"===n&&(l-=T.css(e,"padding"+he[s],!0,r)),"margin"!==n&&(l-=T.css(e,"border"+he[s]+"Width",!0,r))):(l+=T.css(e,"padding"+he[s],!0,r),"padding"!==n?l+=T.css(e,"border"+he[s]+"Width",!0,r):a+=T.css(e,"border"+he[s]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l+c}function ut(e,t,n){var i=Xe(e),r=(!g.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,i),o=r,s=Je(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ye.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&E(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===T.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===T.css(e,"boxSizing",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+ct(e,t,n||(r?"border":"content"),o,i,s)+"px"}function dt(e,t,n,i,r){return new dt.prototype.init(e,t,n,i,r)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Je(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=re(t),l=Ge.test(t),c=e.style;if(l||(t=rt(a)),s=T.cssHooks[t]||T.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t];"string"==(o=typeof n)&&(r=fe.exec(n))&&r[1]&&(n=be(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(T.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o,s,a=re(t);return Ge.test(t)||(t=rt(a)),(s=T.cssHooks[t]||T.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=Je(e,t,i)),"normal"===r&&t in at&&(r=at[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),T.each(["height","width"],function(e,t){T.cssHooks[t]={get:function(e,n,i){if(n)return!ot.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,i):Ke(e,st,function(){return ut(e,t,i)})},set:function(e,n,i){var r,o=Xe(e),s=!g.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===T.css(e,"boxSizing",!1,o),l=i?ct(e,t,i,a,o):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ct(e,t,"border",!1,o)-.5)),l&&(r=fe.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),lt(0,n,l)}}}),T.cssHooks.marginLeft=et(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Je(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(e,t){T.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+he[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(T.cssHooks[e+t].set=lt)}),T.fn.extend({css:function(e,t){return ee(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=Xe(e),r=t.length;s<r;s++)o[t[s]]=T.css(e,t[s],!1,i);return o}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,arguments.length>1)}}),T.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=dt.prototype.init,T.fx.step={};var pt,ft,ht=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){ft&&(!1===b.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(gt):i.setTimeout(gt,T.fx.interval),T.fx.tick())}function vt(){return i.setTimeout(function(){pt=void 0}),pt=Date.now()}function yt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=he[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function bt(e,t,n){for(var i,r=(_t.tweeners[t]||[]).concat(_t.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function _t(e,t,n){var i,r,o=0,s=_t.prefilters.length,a=T.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=pt||vt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),o=0,s=c.tweens.length;o<s;o++)c.tweens[o].run(i);return a.notifyWith(e,[c,i,n]),i<1&&s?n:(s||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:pt||vt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=T.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||
vendor: 4,103 bytes, line 23
23c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=re(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=T.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(u,c.opts.specialEasing);o<s;o++)if(i=_t.prefilters[o].call(c,e,u,c.opts))return v(i.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return T.map(u,bt,c),v(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(_t,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,fe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(Z);for(var n,i=0,r=e.length;i<r;i++)n=e[i],_t.tweeners[n]=_t.tweeners[n]||[],_t.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,s,a,l,c,u,d="width"in t||"height"in t,p=this,f={},h=e.style,m=e.nodeType&&ye(e),g=ae.get(e,"fxshow");for(i in n.queue||(null==(s=T._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,p.always(function(){p.always(function(){s.unqueued--,T.queue(e,"fx").length||s.empty.fire()})})),t)if(r=t[i],ht.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||T.style(e,i)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=ae.get(e,"display")),"none"===(u=T.css(e,"display"))&&(c?u=c:(xe([e],!0),c=e.style.display||c,u=T.css(e,"display"),xe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(e,"float")&&(l||(p.done(function(){h.display=c}),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=ae.access(e,"fxshow",{display:c}),o&&(g.hidden=!m),m&&xe([e],!0),p.done(function(){for(i in m||xe([e]),ae.remove(e,"fxshow"),f)T.style(e,i,f[i])})),l=bt(m?g[i]:0,i,p),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?_t.prefilters.unshift(e):_t.prefilters.push(e)}}),T.speed=function(e,t,n){var i=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return T.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in T.fx.speeds?i.duration=T.fx.speeds[i.duration]:i.duration=T.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&T.dequeue(this,i.queue)},i},T.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=T.isEmptyObject(e),o=T.speed(t,n,i),s=function(){var t=_t(this,T.extend({},e),o);(r||ae.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=T.timers,s=ae.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&mt.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||T.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ae.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=T.timers,s=i?i.length:0;for(n.finish=!0,T.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1)
vendor: 11,042 bytes, line 23
23);for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),T.each(["toggle","show","hide"],function(e,t){var n=T.fn[t];T.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(yt(t,!0),e,i,r)}}),T.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){T.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(pt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),pt=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ft||(ft=!0,gt())},T.fx.stop=function(){ft=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var r=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(r)}})},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var wt,xt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return ee(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?T.prop(e,t,n):(1===o&&T.isXMLDoc(e)||(r=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=T.find.attr(e,t))??void 0)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&E(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(Z);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var n=xt[t]||T.find.attr;xt[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=xt[s],xt[s]=r,r=null!=n(e,t,i)?s:null,xt[s]=o),r}});var St=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;function Tt(e){return(e.match(Z)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Z)||[]}T.fn.extend({prop:function(e,t){return ee(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(e)||(t=T.propFix[t]||t,r=T.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(e){var t,n,i,r,o,s;return v(e)?this.each(function(t){T(this).addClass(e.call(this,t,Ct(this)))}):(t=Et(e)).length?this.each(function(){if(i=Ct(this),n=1===this.nodeType&&" "+Tt(i)+" "){for(o=0;o<t.length;o++)r=t[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");s=Tt(n),i!==s&&this.setAttribute("class",s)}}):this},removeClass:function(e){var t,n,i,r,o,s;return v(e)?this.each(function(t){T(this).removeClass(e.call(this,t,Ct(this)))}):arguments.length?(t=Et(e)).length?this.each(function(){if(i=Ct(this),n=1===this.nodeType&&" "+Tt(i)+" "){for(o=0;o<t.length;o++)for(r=t[o];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");s=Tt(n),i!==s&&this.setAttribute("class",s)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,i,r,o,s=typeof e,a="string"===s||Array.isArray(e);return v(e)?this.each(function(n){T(this).toggleClass(e.call(this,n,Ct(this),t),t)}):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=Et(e),this.each(function(){if(a)for(o=T(this),r=0;r<n.length;r++)i=n[r],o.hasClass(i)?o.removeClass(i):o.addClass(i);else void 0!==e&&"boolean"!==s||((i=Ct(this))&&ae.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":ae.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+Tt(Ct(n))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;T.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=v(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,T(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=T.map(r,function(e){return null==e?"":e+""})),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=T.valHooks[r.type]||T.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(At,""):n??"":void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:Tt(T.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!E(n.parentNode,"optgroup"))){if(t=T(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=T.makeArray(t),s=r.length;s--;)((i=r[s]).selected=T.inArray(T.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},g.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Lt=i.location,jt={guid:Date.now()},Pt=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var It=/^(?:focusinfocus|focusoutblur)$/,Mt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,r){var o,s,a,l,c,u,d,p,h=[n||b],m=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(s=p=a=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!It.test(m+T.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[T.expando]?e:new T.Event(m,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),d=T.event.special[m]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!y(n)){for(l=d.delegateType||m,It.test(l+m)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(n.ownerDocument||b)&&h.push(a.defaultView||a.parentWindow||i)}for(o=0;(s=h[o++])&&!e.isPropagationStopped();)p=s,e.type=o>1?l:d.bindType||m,(u=(ae.get(s,"events")||Object.create(null))[e.type]&&ae.get(s,"handle"))&&u.apply(s,t),(u=c&&s[c])&&u.apply&&oe(s)&&(e.result=u.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!oe(n)||c&&v(n[m])&&!y(n)&&((a=n[c])&&(n[c]=null),T.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Mt),n[m](),e.isPropagationStopped()&&p.removeEventListener(m,Mt),T.event.triggered=void 0,a&&(n[c]=a)),e.result}},simulate:function(e,t,n){var i=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(i,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}});var $t=/\[\]$/,qt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,i){var r;if(Array.isArray(t))T.each(t,function(t,r){n||$t.test(e)?i(e,r):Dt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==x(t))i(e,t);else for(r in t)Dt(e+"["+r+"]",t[r],n,i)}T.param=function(e,t){var n,i=[],r=function(e,t){var n=v(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(n??"")};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){r(this.name,this.value)});else for(n in e)Dt(n,e[n],t,r);return i.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Nt.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!Te.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(qt,"\r\n")}}):{name:t.name,value:n.replace(qt,"\r\n")}}).get()}});var Bt=/%20/g,Rt=/#.*$/,Ht=/([?&])_=[^&]*/,zt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Wt=/^\/\//,Ut={},Vt={},Zt="*/".concat("*"),Yt=b.createElement("a");function Gt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(Z)||[];if(v(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Xt(e,t,n,i){var r={},o=e===Vt;function s(a){var l;return r[a]=!0,T.each(e[a]||[],function(e,a){var c=a(t,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)}),l}return s(t.dataTypes[0])||!r["*"]&&s("*")}function Kt(e,t){var n,i,r=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&T.extend(!0,e,i),e}Yt.href=Lt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Lt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML}
vendor: 11,420 bytes, line 23
23,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Kt(Kt(e,T.ajaxSettings),t):Kt(T.ajaxSettings,e)},ajaxPrefilter:Gt(Ut),ajaxTransport:Gt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,o,s,a,l,c,u,d,p,f=T.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?T(h):T.event,g=T.Deferred(),v=T.Callbacks("once memory"),y=f.statusCode||{},_={},w={},x="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=zt.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return n&&n.abort(t),k(0,t),this}};if(g.promise(S),f.url=((e||f.url||Lt.href)+"").replace(Wt,Lt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Z)||[""],null==f.crossDomain){l=b.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Yt.protocol+"//"+Yt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=T.param(f.data,f.traditional)),Xt(Ut,f,t,S),c)return S;for(d in(u=T.event&&f.global)&&0===T.active++&&T.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ft.test(f.type),r=f.url.replace(Rt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Bt,"+")):(p=f.url.slice(r.length),f.data&&(f.processData||"string"==typeof f.data)&&(r+=(Pt.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(Ht,"$1"),p=(Pt.test(r)?"&":"?")+"_="+jt.guid+++p),f.url=r+p),f.ifModified&&(T.lastModified[r]&&S.setRequestHeader("If-Modified-Since",T.lastModified[r]),T.etag[r]&&S.setRequestHeader("If-None-Match",T.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Zt+"; q=0.01":""):f.accepts["*"]),f.headers)S.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,S,f)||c))return S.abort();if(x="abort",v.add(f.complete),S.done(f.success),S.fail(f.error),n=Xt(Vt,f,t,S)){if(S.readyState=1,u&&m.trigger("ajaxSend",[S,f]),c)return S;f.async&&f.timeout>0&&(a=i.setTimeout(function(){S.abort("timeout")},f.timeout));try{c=!1,n.send(_,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,s,l){var d,p,b,_,w,x=t;c||(c=!0,a&&i.clearTimeout(a),n=void 0,o=l||"",S.readyState=e>0?4:0,d=e>=200&&e<300||304===e,s&&(_=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(f,S,s)),!d&&T.inArray("script",f.dataTypes)>-1&&T.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),_=function(e,t,n,i){var r,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if((a=r.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(f,_,S,d),d?(f.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(T.lastModified[r]=w),(w=S.getResponseHeader("etag"))&&(T.etag[r]=w)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=_.state,p=_.data,d=!(b=_.error))):(b=x,!e&&x||(x="error",e<0&&(e=0))),S.status=e,S.statusText=(t||x)+"",d?g.resolveWith(h,[p,x,S]):g.rejectWith(h,[S,x,b]),S.statusCode(y),y=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[S,f,d?p:b]),v.fireWith(h,[S,x]),u&&(m.trigger("ajaxComplete",[S,f]),--T.active||T.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,t){T[t]=function(e,n,i,r){return v(n)&&(r=r||i,i=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:r,data:n,success:i},T.isPlainObject(e)&&e))}}),T.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){T(this).wrapInner(e.call(this,t))}):this.each(function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){T(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Jt=T.ajaxSettings.xhr();g.cors=!!Jt&&"withCredentials"in Jt,g.ajax=Jt=!!Jt,T.ajaxTransport(function(e){var t,n;if(g.cors||Jt&&!e.crossDomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Qt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}});var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||T.expando+"_"+jt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,a=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(nn,"$1"+r):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||T.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=i[r],i[r]=function(){s=arguments},n.always(function(){void 0===o?T(i).removeProp(r):i[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,tn.push(r)),s&&v(o)&&o(s[0]),s=o=void 0}),"script"}),g.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((i=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(i)):t=b),o=!n&&[],(r=R.exec(e))?[t.createElement(r[1])]:(r=Ie([e],t,o),o&&o.length&&T(o).remove(),T.merge([],r.childNodes)));var i,r,o},T.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=Tt(e.slice(a)),e=e.slice(0,a)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&T.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?T("<div>").append(T.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,function(t){return e===t.elem}).length},T.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=T.css(e,"position"),u=T(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=T.css(e,"top"),l=T.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),v(t)&&(t=t.call(e,n,T.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):u.css(d)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){T.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===T.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),r.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-T.css(i,"marginTop",!0),left:t.left-r.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||me})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;T.fn[e]=function(i){return ee(this,function(e,i,r){var o;
23if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r},e,i,arguments.length)}}),T.each(["top","left"],function(e,t){T.cssHooks[t]=et(g.pixelPosition,function(e,n){if(n)return n=Je(e,t),Ye.test(n)?T(e).position()[t]+"px":n})}),T.each({Height:"height",Width:"width"},function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){T.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return ee(this,function(t,n,r){var o;return y(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?T.css(t,n,a):T.style(t,n,r,a)},t,s?r:void 0,s)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=a.call(arguments,2),r=function(){return e.apply(t||this,i.concat(a.call(arguments)))},r.guid=e.guid=e.guid||T.guid++,r},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=E,T.isFunction=v,T.isWindow=y,T.camelCase=re,T.type=x,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return T}.apply(t,[]))||(e.exports=n);var on=i.jQuery,sn=i.$;return T.noConflict=function(e){return i.$===T&&(i.$=sn),e&&i.jQuery===T&&(i.jQuery=on),T},void 0===r&&(i.jQuery=i.$=T),T})},879(e){!function(t){var n=function(e,t,n){"use strict";var i,r;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in r=e.lazySizesConfig||e.lazysizesConfig||{},n)t in r||(r[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var o,s,a,l,c,u,d,p,f,h,m,g,v,y,b,_,w,x,S,k,T,C,E,A,L,j,P,I,M,$,q,O,N,D,B,R,H,z,F,W,U,V,Z,Y,G=t.documentElement,X=e.HTMLPictureElement,K="addEventListener",Q="getAttribute",J=e[K].bind(e),ee=e.setTimeout,te=e.requestAnimationFrame||ee,ne=e.requestIdleCallback,ie=/^picture$/i,re=["load","error","lazyincluded","_lazyloaded"],oe={},se=Array.prototype.forEach,ae=function(e,t){return oe[t]||(oe[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),oe[t].test(e[Q]("class")||"")&&oe[t]},le=function(e,t){ae(e,t)||e.setAttribute("class",(e[Q]("class")||"").trim()+" "+t)},ce=function(e,t){var n;(n=ae(e,t))&&e.setAttribute("class",(e[Q]("class")||"").replace(n," "))},ue=function(e,t,n){var i=n?K:"removeEventListener";n&&ue(e,t),re.forEach(function(n){e[i](n,t)})},de=function(e,n,r,o,s){var a=t.createEvent("Event");return r||(r={}),r.instance=i,a.initEvent(n,!o,!s),a.detail=r,e.dispatchEvent(a),a},pe=function(t,n){var i;!X&&(i=e.picturefill||r.pf)?(n&&n.src&&!t[Q]("srcset")&&t.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},fe=function(e,t){return(getComputedStyle(e,null)||{})[t]},he=function(e,t,n){for(n=n||e.offsetWidth;n<r.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},me=(U=[],V=W=[],Y=function(e,n){z&&!n?e.apply(this,arguments):(V.push(e),F||(F=!0,(t.hidden?ee:te)(Z)))},Y._lsFlush=Z=function(){var e=V;for(V=W.length?U:W,z=!0,F=!1;e.length;)e.shift()();z=!1},Y),ge=function(e,t){return t?function(){me(e)}:function(){var t=this,n=arguments;me(function(){e.apply(t,n)})}},ve=function(e){var t,i,r=function(){t=null,e()},o=function(){var e=n.now()-i;e<99?ee(o,99-e):(ne||r)(r)};return function(){i=n.now(),t||(t=ee(o,99))}},ye=(w=/^img$/i,x=/^iframe$/i,S="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),k=0,T=0,C=-1,E=function(e){T--,(!e||T<0||!e.target)&&(T=0)},A=function(e){return null==_&&(_="hidden"==fe(t.body,"visibility")),_||!("hidden"==fe(e.parentNode,"visibility")&&"hidden"==fe(e,"visibility"))},L=function(e,n){var i,r=e,o=A(e);for(g-=n,b+=n,v-=n,y+=n;o&&(r=r.offsetParent)&&r!=t.body&&r!=G;)(o=(fe(r,"opacity")||1)>0)&&"visible"!=fe(r,"overflow")&&(i=r.getBoundingClientRect(),o=y>i.left&&v<i.right&&b>i.top-1&&g<i.bottom+1);return o},P=function(e){var t,i=0,o=r.throttleDelay,s=r.ricTimeout,a=function(){t=!1,i=n.now(),e()},l=ne&&s>49?function(){ne(a,{timeout:s}
23),s!==r.ricTimeout&&(s=r.ricTimeout)}:ge(function(){ee(a)},!0);return function(e){var r;(e=!0===e)&&(s=33),t||(t=!0,(r=o-(n.now()-i))<0&&(r=0),e||r<9?l():ee(l,r))}}(j=function(){var e,n,o,s,a,l,d,f,w,x,E,j,P=i.elements;if((p=r.loadMode)&&T<8&&(e=P.length)){for(n=0,C++;n<e;n++)if(P[n]&&!P[n]._lazyRace)if(!S||i.prematureUnveil&&i.prematureUnveil(P[n]))D(P[n]);else if((f=P[n][Q]("data-expand"))&&(l=1*f)||(l=k),x||(x=!r.expand||r.expand<1?G.clientHeight>500&&G.clientWidth>500?500:370:r.expand,i._defEx=x,E=x*r.expFactor,j=r.hFac,_=null,k<E&&T<1&&C>2&&p>2&&!t.hidden?(k=E,C=0):k=p>1&&C>1&&T<6?x:0),w!==l&&(h=innerWidth+l*j,m=innerHeight+l,d=-1*l,w=l),o=P[n].getBoundingClientRect(),(b=o.bottom)>=d&&(g=o.top)<=m&&(y=o.right)>=d*j&&(v=o.left)<=h&&(b||y||v||g)&&(r.loadHidden||A(P[n]))&&(u&&T<3&&!f&&(p<3||C<4)||L(P[n],l))){if(D(P[n]),a=!0,T>9)break}else!a&&u&&!s&&T<4&&C<4&&p>2&&(c[0]||r.preloadAfterLoad)&&(c[0]||!f&&(b||y||v||g||"auto"!=P[n][Q](r.sizesAttr)))&&(s=c[0]||P[n]);s&&!a&&D(s)}}),M=ge(I=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(E(e),le(t,r.loadedClass),ce(t,r.loadingClass),ue(t,$),de(t,"lazyloaded"))}),$=function(e){M({target:e.target})},q=function(e,t){var n=e.getAttribute("data-load-mode")||r.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},O=function(e){var t,n=e[Q](r.srcsetAttr);(t=r.customMedia[e[Q]("data-media")||e[Q]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},N=ge(function(e,t,n,i,o){var s,a,l,c,u,p;(u=de(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(n?le(e,r.autosizesClass):e.setAttribute("sizes",i)),a=e[Q](r.srcsetAttr),s=e[Q](r.srcAttr),o&&(c=(l=e.parentNode)&&ie.test(l.nodeName||"")),p=t.firesLoad||"src"in e&&(a||s||c),u={target:e},le(e,r.loadingClass),p&&(clearTimeout(d),d=ee(E,2500),ue(e,$,!0)),c&&se.call(l.getElementsByTagName("source"),O),a?e.setAttribute("srcset",a):s&&!c&&(x.test(e.nodeName)?q(e,s):e.src=s),o&&(a||c)&&pe(e,{src:s})),e._lazyRace&&delete e._lazyRace,ce(e,r.lazyClass),me(function(){var t=e.complete&&e.naturalWidth>1;p&&!t||(t&&le(e,r.fastLoadedClass),I(u),e._lazyCache=!0,ee(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&T--},!0)}),D=function(e){if(!e._lazyRace){var t,n=w.test(e.nodeName),i=n&&(e[Q](r.sizesAttr)||e[Q]("sizes")),o="auto"==i;(!o&&u||!n||!e[Q]("src")&&!e.srcset||e.complete||ae(e,r.errorClass)||!ae(e,r.lazyClass))&&(t=de(e,"lazyunveilread").detail,o&&be.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,T++,N(e,t,o,i,n))}},B=ve(function(){r.loadMode=3,P()}),H=function(){u||(n.now()-f<999?ee(H,999):(u=!0,r.loadMode=3,P(),J("scroll",R,!0)))},{_:function(){f=n.now(),i.elements=t.getElementsByClassName(r.lazyClass),c=t.getElementsByClassName(r.lazyClass+" "+r.preloadClass),J("scroll",P,!0),J("resize",P,!0),J("pageshow",function(e){if(e.persisted){var n=t.querySelectorAll("."+r.loadingClass);n.length&&n.forEach&&te(function(){n.forEach(function(e){e.complete&&D(e)})})}}),e.MutationObserver?new MutationObserver(P).observe(G,{childList:!0,subtree:!0,attributes:!0}):(G[K]("DOMNodeInserted",P,!0),G[K]("DOMAttrModified",P,!0),setInterval(P,999)),J("hashchange",P,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[K](e,P,!0)}),/d$|^c/.test(t.readyState)?H():(J("load",H),t[K]("DOMContentLoaded",P),ee(H,2e4)),i.elements.length?(j(),me._lsFlush()):P()},checkElems:P,unveil:D,_aLSL:R=function(){3==r.loadMode&&(r.loadMode=2),B()}}),be=(s=ge(function(e,t,n,i){var r,o,s;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),ie.test(t.nodeName||""))for(o=0,s=(r=t.getElementsByTagName("source")).length;o<s;o++)r[o].setAttribute("sizes",i);n.detail.dataAttr||pe(e,n.detail)}),a=function(e,t,n){var i,r=e.parentNode;r&&(n=he(e,r,n),(i=de(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=i.detail.width)&&n!==e._lazysizesWidth&&s(e,r,i,n))},{_:function(){o=t.getElementsByClassName(r.autosizesClass),J("resize",l)},checkElems:l=ve(function(){var e,t=o.length;if(t)for(e=0;e<t;e++)a(o[e])}),updateElem:a}),_e=function(){!_e.i&&t.getElementsByClassName&&(_e.i=!0,be._(),ye._())};return ee(function(){r.init&&_e()}),i={cfg:r,autoSizer:be,loader:ye,init:_e,uP:pe,aC:le,rC:ce,hC:ae,f
23ire:de,gW:he,rAF:me}}(t,t.document,Date);t.lazySizes=n,e.exports&&(e.exports=n)}("undefined"!=typeof window?window:{})},732(e,t,n){var i,r,o;r=[n(796)],i=function(e){var t,n,i,r,o,s,a="Close",l="BeforeClose",c="MarkupParse",u="Open",d="Change",p="mfp",f="."+p,h="mfp-ready",m="mfp-removing",g="mfp-prevent-close",v=function(){},y=!!window.jQuery,b=e(window),_=function(e,n){t.ev.on(p+e+f,n)},w=function(t,n,i,r){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),r?n&&n.appendChild(o):(o=e(o),n&&o.appendTo(n)),o},x=function(e,n){t.ev.triggerHandler(p+e,n),t.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),t.st.callbacks[e]&&t.st.callbacks[e].apply(t,Array.isArray(n)?n:[n]))},S=function(n){return n===s&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),s=n),t.currTemplate.closeBtn},k=function(){e.magnificPopup.instance||((t=new v).init(),e.magnificPopup.instance=t)};v.prototype={constructor:v,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(n){var r;if(!1===n.isObj){t.items=n.items.toArray(),t.index=0;var s,a=n.items;for(r=0;r<a.length;r++)if((s=a[r]).parsed&&(s=s.el[0]),s===n.el[0]){t.index=r;break}}else t.items=Array.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(!t.isOpen){t.types=[],o="",n.mainEl&&n.mainEl.length?t.ev=n.mainEl.eq(0):t.ev=i,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=w("bg").on("click"+f,function(){t.close()}),t.wrap=w("wrap").attr("tabindex",-1).on("click"+f,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=w("container",t.wrap)),t.contentContainer=w("content"),t.st.preloader&&(t.preloader=w("preloader",t.container,t.st.tLoading));var l=e.magnificPopup.modules;for(r=0;r<l.length;r++){var d=l[r];d=d.charAt(0).toUpperCase()+d.slice(1),t["init"+d].call(t)}x("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(_(c,function(e,t,n,i){n.close_replaceWith=S(i.type)}),o+=" mfp-close-btn-in"):t.wrap.append(S())),t.st.alignTop&&(o+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:b.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup"+f,function(e){27===e.keyCode&&t.close()}),b.on("resize"+f,function(){t.updateSize()}),t.st.closeOnContentClick||(o+=" mfp-auto-cursor"),o&&t.wrap.addClass(o);var p=t.wH=b.height(),m={};if(t.fixedContentPos&&t._hasScrollBar(p)){var g=t._getScrollbarSize();g&&(m.marginRight=g)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):m.overflow="hidden");var v=t.st.mainClass;return t.isIE7&&(v+=" mfp-ie7"),v&&t._addClassToMFP(v),t.updateItemHTML(),x("BuildControls"),e("html").css(m),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(h),t._setFocus()):t.bgOverlay.addClass(h),i.on("focusin"+f,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(p),x(u),n}t.updateItemHTML()},close:function(){t.isOpen&&(x(l),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(m),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){x(a);var n=m+" "+h+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var r={marginRight:""};t.isIE7?e("body, html").css("overflow",""):r.overflow="",e("html").css(r)}i.off("keyup.mfp focusin"+f),t.ev.off(f),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).trigger("focus"),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,x("AfterClose")},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||b.height();t.fixedContentPos||t.wrap.css("height",t.wH),x("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(x("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var o=!!t.st[i]&&t.st[i].markup;x("FirstMarkupParse",o),t.currTemplate[i]=!o||e(o)}r&&r!==n.type&&t.container.removeClass("mfp-"+r+"-holder");var s=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(s,i),n.preloaded=!0,x(d,n),r=n.type,t.container.prepend(t.contentContainer),x("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[n]?t.content.find(".mfp-close").length||t.content.append(S()):t.content=e:t.content="",x("BeforeAppend"),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i,r=t.items[n];if(r.tagName?r={el:e(r)}:(i=r.type,r={data:r,src:r.src}),r.el){for(var o=t.types,s=0;s<o.length;s++)if(r.el.hasClass("mfp-"+o[s])){i=o[s];break}r.src=r.el.attr("data-mfp-src"),r.src||(r.src=r.el.attr("href"))}return r.type=i||t.st.type||"inline",r.index=n,r.parsed=!0,t.items[n]=r,x("ElementParse",r),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var r="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(r).on(r,i)):(n.isObj=!1,n.delegate?e.off(r).on(r,n.delegate,i):(n.items=e,e.off(r).on(r,i)))},_openClick:function(n,i,r){if((void 0!==r.midClick?r.midClick:e.magnificPopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var o=void 0!==r.disableOn?r.disableOn:e.magnificPopup.defaults.disableOn;if(o)if("function"==typeof o){if(!o.call(t))return!0}else if(b.width()<o)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),r.el=e(n.mfpEl),r.delegate&&(r.items=i.find(r.delegate)),t.open(r)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),i||"loading"!==e||(i=t.st.tLoading);var r={status:e,text:i};x("UpdateStatus",r),e=r.status,i=r.text,t.st.allowHTMLInStatusIndicator?t.preloader.html(i):t.preloader.text(i),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).closest("."+g).length){var i=t.st.closeOnContentClick,r=t.st.closeOnBgClick;if(i&&r)return!0;
23if(!t.content||e(n).closest(".mfp-close").length||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(r&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?i.height():document.body.scrollHeight)>(e||b.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).trigger("focus")},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(n,i,r){var o;r.data&&(i=e.extend(r.data,i)),x(c,[n,i,r]),e.each(i,function(i,r){if(void 0===r||!1===r)return!0;if((o=i.split("_")).length>1){var s=n.find(f+"-"+o[0]);if(s.length>0){var a=o[1];"replaceWith"===a?s[0]!==r[0]&&s.replaceWith(r):"img"===a?s.is("img")?s.attr("src",r):s.replaceWith(e("<img>").attr("src",r).attr("class",s.attr("class"))):s.attr(o[1],r)}}else t.st.allowHTMLInTemplate?n.find(f+"-"+i).html(r):n.find(f+"-"+i).text(r)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:v.prototype,modules:[],open:function(t,n){return k(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0,allowHTMLInStatusIndicator:!1,allowHTMLInTemplate:!1}},e.fn.magnificPopup=function(n){k();var i=e(this);if("string"==typeof n)if("open"===n){var r,o=y?i.data("magnificPopup"):i[0].magnificPopup,s=parseInt(arguments[1],10)||0;o.items?r=o.items[s]:(r=i,o.delegate&&(r=r.find(o.delegate)),r=r.eq(s)),t._openClick({mfpEl:r},i,o)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),y?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var T,C,E,A="inline",L=function(){E&&(C.after(E.addClass(T)).detach(),E=null)};e.magnificPopup.registerModule(A,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(A),_(a+"."+A,function(){L()})},getInline:function(n,i){if(L(),n.src){var r=t.st.inline,o=e(n.src);if(o.length){var s=o[0].parentNode;s&&s.tagName&&(C||(T=r.hiddenClass,C=w(T),T="mfp-"+T),E=o.after(C).detach().removeClass(T)),t.updateStatus("ready")}else t.updateStatus("error",r.tNotFound),o=e("<div>");return n.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var j,P="ajax",I=function(){j&&e(document.body).removeClass(j)},M=function(){I(),t.req&&t.req.abort()};e.magnificPopup.registerModule(P,{options:{settings:null,cursor:"mfp-ajax-cur",tError:"The content could not be loaded."},proto:{initAjax:function(){t.types.push(P),j=t.st.ajax.cursor,_(a+"."+P,M),_("BeforeChange."+P,M)},getAjax:function(n){j&&e(document.body).addClass(j),t.updateStatus("loading");var i=e.extend({url:n.src,success:function(i,r,o){var s={data:i,xhr:o};x("ParseAjax",s),t.appendContent(e(s.data),P),n.finished=!0,I(),t._setFocus(),setTimeout(function(){t.wrap.addClass(h)},16),t.updateStatus("ready"),x("AjaxContentAdded")},error:function(){I(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(i),""}}});var $,q=function(e){if(e.data&&void 0!==e.data.title)return e.data.title;
23var n=t.st.image.titleSrc;if(n){if("function"==typeof n)return n.call(t,e);if(e.el)return e.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:"The image could not be loaded."},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),_(u+i,function(){"image"===t.currItem.type&&n.cursor&&e(document.body).addClass(n.cursor)}),_(a+i,function(){n.cursor&&e(document.body).removeClass(n.cursor),b.off("resize"+f)}),_("Resize"+i,t.resizeImage),t.isLowIE&&_("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,$&&clearInterval($),e.isCheckingImgSize=!1,x("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],r=function(o){$&&clearInterval($),$=setInterval(function(){i.naturalWidth>0?t._onImageHasSize(e):(n>200&&clearInterval($),3===++n?r(10):40===n?r(50):100===n&&r(500))},o)};r(1)},getImage:function(n,i){var r=0,o=t.st.image,s=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",o.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},a=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,x("ImageLoadComplete")):++r<200?setTimeout(a,100):s())},l=i.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",n.el&&n.el.find("img").length&&(c.alt=n.el.find("img").attr("alt")),n.img=e(c).on("load.mfploader",a).on("error.mfploader",s),c.src=n.src,l.is("img")&&(n.img=n.img.clone()),(c=n.img[0]).naturalWidth>0?n.hasSize=!0:c.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:q(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?($&&clearInterval($),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",o.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}});var O;e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var r,o,s=n.duration,c=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,r={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return r["-webkit-"+o]=r["-moz-"+o]=r["-o-"+o]=r[o]=i,t.css(r),t},u=function(){t.content.css("visibility","visible")};_("BuildControls"+i,function(){if(t._allowZoom()){if(clearTimeout(r),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void u();(o=c(e)).css(t._getOffset()),t.wrap.append(o),r=setTimeout(function(){o.css(t._getOffset(!0)),r=setTimeout(function(){u(),setTimeout(function(){o.remove(),e=o=null,x("ZoomAnimationEnded")},16)},s)},16)}}),_(l+i,function(){if(t._allowZoom()){if(clearTimeout(r),t.st.removalDelay=s,!e){if(!(e=t._getItemToZoom()))return;o=c(e)}o.css(t._getOffset(!0)),t.wrap.append(o),t.content.css("visibility","hidden"),setTimeout(function(){o.css(t._getOffset())},16)}}),_(a+i,function(){t._allowZoom()&&(u(),o&&o.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var i,r=(i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),o=parseInt(i.css("padding-top"),10),s=parseInt(i.css("padding-bottom"),10);r.top-=e(window).scrollTop()-o;var a={width:i.width(),height:(y?i.innerHeight():i[0].offsetHeight)-s-o};return void 0===O&&(O=void 0!==document.createElement("p").style.MozTransform),O?a["-moz-transform"]=a.transform="translate("+r.left+"px,"+r.top+"px)":(a.left=r.left,a.top=r.top),a}}});var N="iframe",D=function(e){if(t.currTemplate[N]){var n=t.currTemplate[N].find("iframe");n.length&&(e||(n[0].src="//about:blank"),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(N,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(N),_("BeforeChange",function(e,t,n){t!==n&&(t===N?D():n===N&&D(!0))}),_(a+"."+N,function(){D()})},getIframe:function(n,i){var r=n.src,o=t.st.iframe;e.each(o.patterns,function(){if(r.indexOf(this.index)>-1)return this.id&&(r="string"==typeof this.id?r.substr(r.lastIndexOf(this.id
23)+this.id.length,r.length):this.id.call(this,r)),r=this.src.replace("%id%",r),!1});var s={};return o.srcAction&&(s[o.srcAction]=r),t._parseMarkup(i,s,n),t.updateStatus("ready"),i}}});var B=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},R=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%",langDir:null,loop:!0},proto:{initGallery:function(){var n=t.st.gallery,r=".mfp-gallery";if(t.direction=!0,!n||!n.enabled)return!1;n.langDir||(n.langDir=document.dir||"ltr"),o+=" mfp-gallery",_(u+r,function(){n.navigateByImgClick&&t.wrap.on("click"+r,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),i.on("keydown"+r,function(e){37===e.keyCode?"rtl"===n.langDir?t.next():t.prev():39===e.keyCode&&("rtl"===n.langDir?t.prev():t.next())}),t.updateGalleryButtons()}),_("UpdateStatus"+r,function(){t.updateGalleryButtons()}
23),_("UpdateStatus"+r,function(e,n){n.text&&(n.text=R(n.text,t.currItem.index,t.items.length))}),_(c+r,function(e,i,r,o){var s=t.items.length;r.counter=s>1?R(n.tCounter,o.index,s):""}),_("BuildControls"+r,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i,r,o,s;"rtl"===n.langDir?(i=n.tNext,r=n.tPrev,o="next",s="prev"):(i=n.tPrev,r=n.tNext,o="prev",s="next");var a=n.arrowMarkup,l=t.arrowLeft=e(a.replace(/%title%/gi,i).replace(/%action%/gi,o).replace(/%dir%/gi,"left")).addClass(g),c=t.arrowRight=e(a.replace(/%title%/gi,r).replace(/%action%/gi,s).replace(/%dir%/gi,"right")).addClass(g);"rtl"===n.langDir?(t.arrowNext=l,t.arrowPrev=c):(t.arrowNext=c,t.arrowPrev=l),l.on("click",function(){"rtl"===n.langDir?t.next():t.prev()}),c.on("click",function(){"rtl"===n.langDir?t.prev():t.next()}),t.container.append(l.add(c))}}),_(d+r,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),_(a+r,function(){i.off(r),t.wrap.off("click"+r),t.arrowRight=t.arrowLeft=null})},next:function(){var e=B(t.index+1);if(!t.st.gallery.loop&&0===e)return!1;t.direction=!0,t.index=e,t.updateItemHTML()},prev:function(){var e=t.index-1;if(!t.st.gallery.loop&&e<0)return!1;t.direction=!1,t.index=B(e),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),r=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?r:i);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?i:r);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=B(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),x("LazyLoad",i),"image"===i.type&&(i.img=e('<img class="mfp-img" />').on("load.mfploader",function(){i.hasSize=!0}).on("error.mfploader",function(){i.hasSize=!0,i.loadError=!0,x("LazyLoadError",i)}).attr("src",i.src)),i.preloaded=!0}},updateGalleryButtons:function(){t.st.gallery.loop||"object"!=typeof t.arrowPrev||null===t.arrowPrev||(0===t.index?t.arrowPrev.hide():t.arrowPrev.show(),t.index===t.items.length-1?t.arrowNext.hide():t.arrowNext.show())}}});var H="retina";e.magnificPopup.registerModule(H,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;(n=isNaN(n)?n():n)>1&&(_("ImageHasSize."+H,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),_("ElementParse."+H,function(t,i){i.src=e.replaceSrc(i,n)}))}}}}),k()},void 0===(o=i.apply(t,r))||(e.exports=o)},818(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),i="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function r(e,t){t=t||{};var r,s,a,u=[],d=[],p=e.querySelectorAll(n);for(t.includeContainer&&i.call(e,n)&&(p=Array.prototype.slice.apply(p)).unshift(e),r=0;r<p.length;r++)o(s=p[r])&&(0===(a=l(s))?u.push(s):d.push({documentOrder:r,tabIndex:a,node:s}));return d.sort(c).map(function(e){return e.node}).concat(u)}function o(e){return!(!s(e)||function(e){return function(e){return u(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||l(e)<0)}function s(e){return!(e.disabled||function(e){return u(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}r.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==i.call(e,n)&&o(e)},r.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==i.call(e,a)&&s(e)};var a=t.concat("iframe").join(",");function l(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function c(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function u(e){return"INPUT"===e.tagName}e.exports=r},510(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var i=arguments[n];for(var r in i)t.call(i,r)&&(e[r]=i[r])}return e};var t=Object.prototype.hasOwnProperty}};const t={};function n(i){const r=t[i];
23if(void 0!==r)return r.exports;const o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{if(Array.isArray(t))for(var i=0;i<t.length;){var r=t[i++],o=t[i++];n.o(e,r)?0===o&&i++:0===o?Object.defineProperty(e,r,{enumerable:!0,value:t[i++]}):Object.defineProperty(e,r,{enumerable:!0,get:o})}else for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.dn=e=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{"use strict";n(879),n(865);var e=n(922),t=n.n(e);const i=window.projectSettings,r=i?i.config:void 0,o="color: red; padding: 5px 0px;";let s=!1;r?("lab"===r.system.code&&(s=!0,console.log("%cENV: PL",o)),"dev"===r.system.code&&(s=!0,console.log("%cENV: Dev CMS",o)),"stage"===r.system.code&&console.log("%cENV: Stage CMS",o)):console.log("%cENV: Live CMS",o),r&&r.system.code;const a=s;let l=[{context:"xxs",match:function(){a&&console.log("MATCH: xxs")},unmatch:function(){a&&console.log("UNMATCH: xxs")}},{context:"xs",match:function(){a&&console.log("MATCH: xs")},unmatch:function(){a&&console.log("UNMATCH: xs")}},{context:"sm",match:function(){a&&console.log("MATCH: sm")},unmatch:function(){a&&console.log("UNMATCH: sm")}},{context:"md",match:function(){a&&console.log("MATCH: md")},unmatch:function(){a&&console.log("UNMATCH: md")}},{context:"lg",match:function(){a&&console.log("MATCH: lg")},unmatch:function(){a&&console.log("UNMATCH: lg")}},{context:"xl",match:function(){a&&console.log("MATCH: xl")},unmatch:function(){a&&console.log("UNMATCH: xl")}},{context:"xxl",match:function(){a&&console.log("MATCH: xxl")},unmatch:function(){a&&console.log("UNMATCH: xxl")}}];t().init(l),n(427);var c=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'];function u(e){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=e,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}function d(e,t){return n=(t||document).querySelectorAll(e),Array.prototype.slice.call(n);var n}function p(e){(e.querySelector("[autofocus]")||e).focus()}function f(){d("[data-a11y-dialog]").forEach(function(e){new u(e)})}u.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=d('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(e){e.addEventListener("click",this._show)}.bind(this));const e=this.$el;return this._closers=d("[data-a11y-dialog-hide]",this.$el).filter(function(t){return t.closest('[aria-modal="true"], [data-a11y-dialog]')===e}).concat(d('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(e){e.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},u.prototype.show=function(e){if(this.shown)return this;this._previouslyFocused=document.activeElement;const t=e&&e.target?e.target:null;return t&&Object.is(this._previouslyFocused,document.body)&&(this._previouslyFocused=t),this.$el.removeAttribute("aria-hidden"),this.shown=!0,p(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",e),this},u.prototype.hide=function(e){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",e),this):this},u.prototype.destroy=function(){return this.hide(),this._openers.forEac
23h(function(e){e.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(e){e.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},u.prototype.on=function(e,t){return void 0===this._listeners[e]&&(this._listeners[e]=[]),this._listeners[e].push(t),this},u.prototype.off=function(e,t){var n=(this._listeners[e]||[]).indexOf(t);return n>-1&&this._listeners[e].splice(n,1),this},u.prototype._fire=function(e,t){var n=this._listeners[e]||[],i=new CustomEvent(e,{detail:t});this.$el.dispatchEvent(i),n.forEach(function(e){e(this.$el,t)}.bind(this))},u.prototype._bindKeypress=function(e){const t=document.activeElement;t&&t.closest('[aria-modal="true"]')!==this.$el||(this.shown&&"Escape"===e.key&&"alertdialog"!==this.$el.getAttribute("role")&&(e.preventDefault(),this.hide(e)),this.shown&&"Tab"===e.key&&function(e,t){var n=function(e){return d(c.join(","),e).filter(function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)})}(e),i=n.indexOf(document.activeElement);t.shiftKey&&0===i?(n[n.length-1].focus(),t.preventDefault()):t.shiftKey||i!==n.length-1||(n[0].focus(),t.preventDefault())}(this.$el,e))},u.prototype._maintainFocus=function(e){!this.shown||e.target.closest('[aria-modal="true"]')||e.target.closest("[data-a11y-dialog-ignore-focus-trap]")||p(this.$el)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16));class h{static trigger(e,t,n=!1){let i;"createEvent"in document?(i=document.createEvent("HTMLEvents"),i.initEvent(t,n,!0),e.dispatchEvent(i)):e.fireEvent(t)}}window.addEventListener("scroll",(()=>{let e=Date.now();return function(){e+50-Date.now()<0&&(h.trigger(window,"window:throttledScroll"),e=Date.now())}})(),{passive:!0});var m=n(796);const g=function(){m(document).one("keyup",function(e){9!==e.which&&9!==e.keyCode||m("html").addClass("accessibility-mode")})},v=function(){document.querySelector(".c-map")&&window.addEventListener("UC_UI_INITIALIZED",()=>{let e={templateID:"S1pcEj_jZX",uc:window.UC_UI};e.uc&&"function"==typeof e.uc.getServicesBaseInfo&&!0===(e.uc.getServicesBaseInfo().find(t=>t.id===e.templateID)||!1).consent.status&&[{ucProcessorID:"07c01344533e7fb81ceaa9abf66b6f37a160d46625b1186543b7f3380be9b6c5",src:{live:"/fe-assets/joh/base/js/gmapInitGlobal.js",local:"/fe-assets/joh/base/js/gmapInitGlobal.js"},id:"gmapInitGlobal",waitForId:!1},{ucProcessorID:"07c01344533e7fb81ceaa9abf66b6f37a160d46625b1186543b7f3380be9b6c5",src:{live:"https://maps.googleapis.com/maps/api/js?key="+("undefined"!=typeof window&&window.googleMapsFrontendApiKey||"")+"&libraries=places&callback=initMap&v=weekly",local:"https://maps.googleapis.com/maps/api/js?libraries=places&callback=initMap&v=weekly"},id:"googleapis",waitForId:"gmapInitGlobal"}].forEach(e=>{!function(e){let{src:t,id:n,waitForId:i}=e,r=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.src=t.live,o.setAttribute("defer",""),n&&(o.id=n),i?document.getElementById(i).addEventListener("load",function(){r.appendChild(o)}):r.appendChild(o)}(e)})})},y={iframe:n(796)('iframe[name="weihnachtstrucker-spenden"]')},b=function(){y.iframe.length&&window.addEventListener("message",function(e){if("https://weihnachtstrucker-spenden.de"===e.origin){const t=e.data;y.iframe.style.height=t.height+"px"}},!1)},_={iframe:n(796)(".iframe-resize")},w=function(){_.iframe.length&&_.iframe.on("load",function(){const e=_.iframe[0].contentDocument.body.scrollHeight+10,t=_.iframe[0].contentDocument.body.scrollWidth+10;_.iframe[0].style.height=e+"px",_.iframe[0].style.width=t+"px"})};var x=n(796);function S(e,t){let n,i,r="#"===e.charAt(0)?x(e):x("#"+e);if(0!==r.length){if(n=r.offset().top,i=n-180,x("html, body").stop().animate({scrollTop:i},600),r.trigger("focus"),window.location.hash!==e&&t&&(window.location.hash=e),r.is(":focus"))return!1;r.attr("tabindex","-1").trigger("focus")}}const k=function(){!function(){if(window.location.hash){let e=window.location.hash;e.length>1&&window.addEventListener("load",function(){S(e,!1)})}document.addEventListener("click",function(e){let t=e.target.closest('a[href*="#"]:not(a[href="#"])');if(!t)return;let n=t.getAttribute("href");if(n.indexOf("#")>0)return!1;e.preventDefault(),t.blur();let i=n.substring(n.indexOf("#"));i&&i.length>1&&S(i,!0)})}()};function T(e=[],t,n=[]){return e.filter(e=>0===e.toLowerCase().indexOf(t.toLowerCase())&&n.indexOf(e)<0)}function C(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}
23const E=function(e,t=[]){this.el=e,this.comboEl=e.querySelector("[role=combobox]"),this.listboxEl=e.querySelector("[role=listbox]"),this.idBase=this.comboEl.id||"combo",this.options=t,this.activeIndex=0,this.open=!1,this.searchString="",this.searchTimeout=null,e&&this.comboEl&&this.listboxEl&&this.init()};E.prototype.init=function(){this.comboEl.innerHTML=this.options[0],this.comboEl.addEventListener("blur",this.onComboBlur.bind(this)),this.comboEl.addEventListener("click",this.onComboClick.bind(this)),this.comboEl.addEventListener("keydown",this.onComboKeyDown.bind(this)),this.options.map((e,t)=>{const n=this.createOption(e,t);this.listboxEl.appendChild(n)})},E.prototype.createOption=function(e,t){const n=document.createElement("div");return n.setAttribute("role","option"),n.id=`${this.idBase}-${t}`,n.className=0===t?"combo-option option-current":"combo-option",n.setAttribute("aria-selected",`${0===t}`),n.innerText=e,n.addEventListener("click",e=>{e.stopPropagation(),this.onOptionClick(t)}),n.addEventListener("mousedown",this.onOptionMouseDown.bind(this)),n},E.prototype.getSearchString=function(e){return"number"==typeof this.searchTimeout&&window.clearTimeout(this.searchTimeout),this.searchTimeout=window.setTimeout(()=>{this.searchString=""},500),this.searchString+=e,this.searchString},E.prototype.onComboBlur=function(){this.ignoreBlur?this.ignoreBlur=!1:this.open&&(this.selectOption(this.activeIndex),this.updateMenuState(!1,!1))},E.prototype.onComboClick=function(){this.updateMenuState(!this.open,!1)},E.prototype.onComboKeyDown=function(e){const{key:t}=e,n=this.options.length-1,i=function(e,t){const{key:n,altKey:i,ctrlKey:r,metaKey:o}=e;if(!t&&["ArrowDown","ArrowUp","Enter"," "].includes(n))return 5;if("Home"===n)return 2;if("End"===n)return 3;if("Backspace"===n||"Clear"===n||1===n.length&&" "!==n&&!i&&!r&&!o)return 10;if(t){if("ArrowUp"===n&&i)return 1;if("ArrowDown"===n&&!i)return 4;if("ArrowUp"===n)return 8;if("PageUp"===n)return 7;if("PageDown"===n)return 6;if("Escape"===n)return 0;if("Enter"===n||" "===n)return 1}}(e,this.open);switch(i){case 3:case 2:this.updateMenuState(!0);case 4:case 8:case 7:case 6:return e.preventDefault(),this.onOptionChange(function(e,t,n){switch(n){case 2:return 0;case 3:return t;case 8:return Math.max(0,e-1);case 4:return Math.min(t,e+1);case 7:return Math.max(0,e-10);case 6:return Math.min(t,e+10);default:return e}}(this.activeIndex,n,i));case 1:e.preventDefault(),this.selectOption(this.activeIndex);case 0:return e.preventDefault(),this.updateMenuState(!1);case 10:return this.onComboType(t);case 5:return e.preventDefault(),this.updateMenuState(!0)}},E.prototype.onComboType=function(e){this.updateMenuState(!0);const t=this.getSearchString(e),n=function(e,t,n=0){const i=[...e.slice(n),...e.slice(0,n)],r=T(i,t)[0];if(r)return e.indexOf(r);if((o=t.split("")).every(e=>e===o[0])){const n=T(i,t[0]);return e.indexOf(n[0])}return-1;var o}(this.options,t,this.activeIndex+1);n>=0?this.onOptionChange(n):(window.clearTimeout(this.searchTimeout),this.searchString="")},E.prototype.onOptionChange=function(e){this.activeIndex=e,this.comboEl.setAttribute("aria-activedescendant",`${this.idBase}-${e}`);const t=this.el.querySelectorAll("[role=option]");var n;[...t].forEach(e=>{e.classList.remove("option-current")}),t[e].classList.add("option-current"),(n=this.listboxEl)&&n.clientHeight<n.scrollHeight&&function(e,t){const{offsetHeight:n,offsetTop:i}=e,{offsetHeight:r,scrollTop:o}=t,s=i+n>o+r;i<o?t.scrollTo(0,i):s&&t.scrollTo(0,i-r+n)}(t[e],this.listboxEl),C(t[e])||t[e].scrollIntoView({behavior:"smooth",block:"nearest"})},E.prototype.onOptionClick=function(e){this.onOptionChange(e),this.selectOption(e),this.updateMenuState(!1)},E.prototype.onOptionMouseDown=function(){this.ignoreBlur=!0},E.prototype.selectOption=function(e){this.activeIndex=e;const t=this.options[e];this.comboEl.innerHTML=t;const n=this.el.querySelectorAll("[role=option]");[...n].forEach(e=>{e.setAttribute("aria-selected","false")}),n[e].setAttribute("aria-selected","true"),this.onSelectOptionCallback(this.activeIndex)},E.prototype.updateMenuState=function(e,t=!0){if(this.open===e)return;this.open=e,this.comboEl.setAttribute("aria-expanded",`${e}`),e?this.el.classList.add("combo--open"):this.el.classList.remove("combo--open");const n=e?`${this.idBase}-${this.activeIndex}`:"";this.comboEl.setAttribute("aria-activedescendant",n),""!==n||C(this.comboEl)||this.comboEl.scrollIntoView({behavior:"smooth",block:"nearest"}),t&&this.comboEl.focus()},E.prototype.onSelectOptionCallback=function(e){};const A=E;n(919);var L=n(796);const j=function(){if(L(".js-single-select:not(.init)").length||L(".js-multi-select:not(.init)").length){if(L(".js-single-select:not(.init)").length){const e=document.querySelectorAll(".js-single-select:not(.init)"),t=[];e.forEach((e,n)=>
23{const i=e.closest(".js-custom-select");let r=i.querySelector("input"),o=[],s=[],a=i.querySelectorAll("select option"),l=0,c=0;a.forEach(e=>{(0===c||""!==e.value&&""!==e.innerText)&&(o[c]=e.value,s[c]=e.innerText,""!==r.value&&r.value===o[c]&&(l=c),c++)}),t[n]=new A(e,s),l>0&&(t[n].selectOption(l),L(e).find(".combo-option").removeClass("option-current").eq(l).addClass("option-current")),t[n].onSelectOptionCallback=function(t){L(r).val(o[t]),L(e).trigger("custom.select.change",{value:o[t]})},L(e).closest(".js-custom-select").find("select").remove(),L(e).addClass("init")})}L(".js-multi-select:not(.init)").length&&(L(".js-multi-select:not(.init").each(function(e,t){let n=L(t).find("ul li").first().find('label input[type="hidden"]').detach();L(t).prepend(n)}),L(".js-multi-select:not(.init)").MultiSelect(),L(".js-multi-select:not(.init)").addClass("init"))}};var P=n(796);const I={headerWrapper:P(".js-header .c-header__wrapper")},M="animate-in",$="animate-out";let q=document.documentElement.scrollTop;function O(){let e=document.documentElement.scrollTop,t=I.headerWrapper.outerHeight(),n=q<document.documentElement.scrollTop?"down":"up";e>t&&("down"===n?I.headerWrapper.removeClass(M).addClass($):I.headerWrapper.removeClass($).addClass(M)),q=e}const N=function(){I.headerWrapper.length&&P(window).on("scroll",O)};var D=n(796);function B(e){e&&D(e).addClass("init")}var R=n(796),H=n(796);function z(e,t){let n=t?R(".c-header").outerHeight():0,i=e instanceof H?e:R(e),r=i.offset().top,o=r+i.outerHeight(),s=R(window).scrollTop()+n,a=s+R(window).height();return o>s&&r<a}function F(){return R("html").hasClass("accessibility-mode")}function W(){let e=!1;return R(".c-app").hasClass("page-layout-2col")&&(e=!0),e}n(306);var U=n(337),V=n.n(U),Z=n(796);const Y={body:Z("body"),menuAbout:Z(".js-menu-about-joh:not(.init)"),triggerAbout:Z(".js-about-trigger"),header:Z(".js-header")},G="menu-about-joh--is-open",X="body-scroll--is-disabled";let K=null;function Q(){Y.body.hasClass(G)?J():(Y.body.addClass(G),te(),ee("open"),F()&&K.activate(),Y.body.hasClass("search-popup-is-open")&&se(),Y.body.addClass(X))}function J(){Y.body.removeClass(G),Y.body.css("margin-top","0"),ee("close"),F()&&K.deactivate(),Y.body.removeClass(X)}function ee(e){let t=Y.menuAbout.find("button, a");"open"===e?(t.each(function(e,t){Z(t).attr("tabindex","0")}),Y.triggerAbout.each(function(e,t){Z(t).attr("aria-expanded","true")})):(t.each(function(e,t){Z(t).attr("tabindex","-1")}),Y.triggerAbout.each(function(e,t){Z(t).attr("aria-expanded","false")}))}function te(){var e,t,n,i,r,o;Y.body.hasClass(G)&&(e=!1,t=Y.header.height(),(n=window,i=document,r=i.documentElement,o=i.getElementsByTagName("body")[0],{width:n.innerWidth||r.clientWidth||o.clientWidth,height:n.innerHeight||r.clientHeight||o.clientHeight}).height-t<Y.menuAbout.find(".c-menu-about-joh__wrapper").height()&&(e=!0),e?(Y.menuAbout.addClass("u-overflow"),Y.body.css("margin-top","calc(80vh - "+Y.header.height()+"px)")):(Y.menuAbout.removeClass("u-overflow"),Y.body.css("margin-top",Y.menuAbout.height()+"px")))}const ne=function(){Y.menuAbout.length&&(K=V()(Y.menuAbout[0]),function(){let e=Y.menuAbout.find(".c-close-btn");Y.triggerAbout.each(function(e,t){Z(t).on("click",Q)}),Z(e).on("click",J),Z(document).on("keyup",function(e){27===e.keyCode&&J()}),Z(window).smartresize(function(){te()})}(),B(Y.menuAbout))};var ie=n(796);const re={body:ie("body"),trigger:ie(".js-search-trigger:not(.init)"),searchDialog:document.querySelector(".js-search-dialog"),searchOverlay:ie(".js-search-overlay"),searchWrapper:document.querySelectorAll(".js-search-wrapper")},oe={searchfield:"#overlay-searchfield-m",open:"search-popup-is-open",amenuIsOpen:"menu-about-joh--is-open",megaMenuIsOpen:"mega-menu-is-open"};function se(){re.body.removeClass(oe.open),document.querySelectorAll(".js-search-dialog").forEach(e=>{e.classList.remove("c-search-dialog--open")})}const ae=function(){re.trigger.length&&(re.searchWrapper.forEach(e=>{e.querySelector(".js-search-trigger").addEventListener("click",()=>{var t;(t=e.querySelector(".js-search-dialog")).classList.contains("c-search-dialog--open")?se():function(e){re.body.hasClass(oe.amenuIsOpen)&&J(),re.body.hasClass(oe.megaMenuIsOpen)&&fe(),re.body.addClass(oe.open),e.classList.add("c-search-dialog--open"),e.querySelector("input[type=text]").focus()}(t)})}),ie(document).on("keyup",function(e){27!==e.which&&27!==e.keyCode||se()}),t().addQuery({context:["md","lg"],callFor_each_context:!1,match:function(){se()}}),t().addQuery({context:["xxs","xs","sm","md","lg"],callFor_each_context:!1,match:function(){let e=t().getContext();if(["xxs","xs","sm","md"].indexOf(e)>-1){let e=document.querySelector(".c-mobile-nav-bar .js-search-dialog").getBoundingClientRect().height;ie(".js-header").css("margin-bottom",e+"px")}else ie(".js-header").css("margin-bottom",0)}}))};var le=n(796),ce=n(684);const ue={html:le("html"),body:le("body"),menuMain:le(".js-menu-main:not(.init)"),mmMegaMenuTrigger:le(".c-menu-main__toggle"),mmMegaMenuClose:le(".c-menu-mega .c-close-btn"),menuMainItems:le(".c-menu-main__item"),headerCenterWrapper:le(".c-menu-main").closest(".c-header__center-wrap")},de=ce.breakpoints();function pe(e){let t=le(e.target),n=t.attr("aria-expanded");if(1===t.parent().find(".c-link").length){const e=t.parent().find(".c-link"),n=e.prop("href");return void("_blank"===e.attr("target")?window.open(n,"_blank"):location.href=n)}ue.menuMainItems.each(function(){le(this).hasClass("c-menu-main__item--has-sub-menu")&&(le(this).find(".c-menu-main__toggle").removeClass("u-icon--arrow-up").addClass("u-icon--arrow-down"),fe())}),"false"===n?(t.removeClass("u-icon--arrow-down").addClass("u-icon--arrow-up"),function(e){let t=le("#"+e.attr("aria-controls")),n=t.find("c-close-btn"),i=t.find("a, button").last();t.attr("aria-expanded","true"),t.attr("aria-hidden","false"),e.attr("aria-expanded","true"),n.attr("aria-expanded","true");const r=window.innerWidth-document.getElementsByTagName("html")[0].clientWidth;document.body.scrollTop=document.documentElement.scrollTop=0,le("body").addClass("mega-menu-is-open"),le("html").width(le(window).width()-r),le("html").css("transform","translateX(0px)"),he("open",t),F()&&(t.find("button, a")[0].focus(),t.on("focusout",function(e){le(e.target).is(i)&&fe()})),ue.body.hasClass("search-popup-is-open")&&se()}(t)):ue.menuMainItems.each(function(){le(this).hasClass("c-menu-main__item--has-sub-menu")&&(le(this).find(".c-menu-main__toggle").removeClass("u-icon--arrow-up").addClass("u-icon--arrow-down"),fe())})}function fe(){let e=ue.menuMain.find('.c-menu-mega[aria-hidden="false"]'),t=le("#"+e.attr("aria-labelledby")),n=e.find("c-close-btn");ue.menuMainItems.each(function(){le(this).hasClass("c-menu-main__item--has-sub-menu")&&le(this).find(".c-menu-main__toggle").removeClass("u-icon--arrow-up").addClass("u-icon--arrow-down")}
23),e.attr("aria-expanded","false"),e.attr("aria-hidden","true"),t.attr("aria-expanded","false"),n.attr("aria-expanded","false"),le("body").removeClass("mega-menu-is-open"),le("html")[0].style.removeProperty("transform"),le("html")[0].style.removeProperty("width"),he("close",e),e.off("focusout")}function he(e,t){let n=t.find("button, a");"open"===e?n.each(function(e,t){le(t).attr("tabindex","0")}):n.each(function(e,t){le(t).attr("tabindex","-1")})}function me(){if(!ue.headerCenterWrapper.length)return;const e=ue.headerCenterWrapper.width();let t=0;return ue.menuMainItems.each(function(){t+=le(this)[0].getBoundingClientRect().width+parseFloat(window.getComputedStyle(le(this)[0]).marginLeft)}),document.querySelector(".c-header__bottom .js-search-wrapper")&&(t+=document.querySelector(".c-header__bottom .js-search-wrapper").getBoundingClientRect().width+parseFloat(window.getComputedStyle(document.querySelector(".c-header__bottom .js-search-wrapper")).marginLeft)),t=Math.floor(t),t>e}const ge=function(){ue.menuMain.length&&(ue.menuMain.find(".c-menu-mega").each(function(e,t){he("close",le(t))}),ue.menuMainItems.each(function(){le(this).find(".c-link").length>1&&(le(this).addClass("c-menu-main__item--has-sub-menu"),le(this).find(".c-menu-main__toggle").addClass("u-icon u-icon:right u-icon--arrow-down"))}),me()?le("body").addClass("desktop-show-mm-nav"):(function(){let e=ue.menuMain.find(".c-menu-main__target"),t=ue.menuMain.find(".c-menu-main__toggle");le(t).on("mouseenter",function(t){t.target.closest(".c-menu-main__toggle")&&function(e,t){let n=le(e).width(),i=le(e).position().left;le(t).css({left:i+"px",opacity:1,width:n+"px"})}(t.target.closest(".c-menu-main__toggle"),e)}),le(ue.menuMain).on("mouseleave",function(){!function(e){le(e).css({opacity:0})}(e)}),ue.mmMegaMenuTrigger.on("click",pe),ue.mmMegaMenuClose.on("click",fe),le(document).on("keyup",function(e){27!==e.which&&27!==e.keyCode||fe()}),le(window).on("resize",function(){le(window).width()>=de.md&&me()&&!le("body").hasClass("desktop-show-mm-nav")&&le("body").addClass("desktop-show-mm-nav"),le(window).width()<de.md&&le("body").removeClass("desktop-show-mm-nav")})}(),B(ue.menuMain)))},ve={hooks:{},extensions:[],wrappers:[],navbar:{add:!0,sticky:!0,title:"Menu",titleLink:"parent"},onClick:{close:null,preventDefault:null,setSelected:!0},slidingSubmenus:!0},ye={classNames:{inset:"Inset",nolistview:"NoListview",nopanel:"NoPanel",panel:"Panel",selected:"Selected",vertical:"Vertical"},language:null,openingInterval:25,panelNodetype:["ul","ol","div"],transitionDuration:400};function be(e,t){for(var n in"object"!=_e(e)&&(e={}),"object"!=_e(t)&&(t={}),t)t.hasOwnProperty(n)&&(void 0===e[n]?e[n]=t[n]:"object"==_e(e[n])&&be(e[n],t[n]));return e}function _e(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function we(e,t,n){if("function"==typeof t){var i=t.call(e);if(void 0!==i)return i}return null!==t&&"function"!=typeof t&&void 0!==t||void 0===n?t:n}function xe(e,t,n){var i=!1,r=function(n){void 0!==n&&n.target!==e||(i||(e.removeEventListener("transitionend",r),e.removeEventListener("webkitTransitionEnd",r),t.call(e)),i=!0)};e.addEventListener("transitionend",r),e.addEventListener("webkitTransitionEnd",r),setTimeout(r,1.1*n)}function Se(){return"mm-"+ke++}var ke=0;function Te(e){return"mm-"==e.slice(0,3)?e.slice(3):e}var Ce={};function Ee(e,t){void 0===Ce[t]&&(Ce[t]={}),be(Ce[t],e)}const Ae={Menu:"Menu"},Le={Menu:"منو"},je={Menu:"Menü"},Pe={Menu:"Меню"};function Ie(){Ee(Ae,"nl"),Ee(Le,"fa"),Ee(je,"de"),Ee(Pe,"ru")}function Me(e){var t=e.split("."),n=document.createElement(t.shift());return t.forEach(function(e){n.classList.add(e)}),n}function $e(e,t){return Array.prototype.slice.call(e.querySelectorAll(t))}function qe(e,t){var n=Array.prototype.slice.call(e.children);return t?n.filter(function(e){return e.matches(t)}):n}function Oe(e,t){for(var n=[],i=e.parentElement;i;)n.push(i),i=i.parentElement;return t?n.filter(function(e){return e.matches(t)}):n}function Ne(e){return e.filter(function(e){return!e.matches(".mm-hidden")})}function De(e){var t=[];return Ne(e).forEach(function(e){t.push.apply(t,qe(e,"a.mm-listitem__text"))}),t.filter(function(e){return!e.matches(".mm-btn_next")})}function Be(e,t,n){e.matches("."+t)&&(e.classList.remove(t),e.classList.add(n))}n.dn(Ie);var Re={};function He(e,t,n){"number"==typeof e&&(e="(min-width: "+e+"px)"),Re[e]=Re[e]||[],Re[e].push({yes:t,no:n})}function ze(e,t){for(var n=t.matches?"yes":"no",i=0;i<Re[e].length;i++)Re[e][i][n]()}Ie();var Fe=function(){function e(t,n,i){return this.opts=be(n,e.options),this.conf=be(i,e.configs),this._api=["bind","initPanel","initListview","openPanel","closePanel","closeAllPanels","setSelected"],this.node={},this.vars={},this.hook={},this.clck=[],this.node.menu="string"==typeof t?document.querySelector(t):t,"function"==typeof this._deprecatedWarnings&&this._deprecatedWarnings(),this._initWrappers(),this._initAddons(),this._initExtensions(),this._initHooks(),this._initAPI(),this._initMenu(),this._initPanels(),this._initOpened(),this._initAnchors(),function(){var e=function(e){var t=window.matchMedia(e);ze(e,t),t.onchange=function(n){ze(e,t)}};for(var t in Re)e(t)}(),this}return e.prototype.openPanel=function(e,t){var n=this;if(this.trigger("openPanel:before",[e]),e&&(e.matches(".mm-panel")||(e=e.closest(".mm-panel")),e)){if("boolean"!=typeof t&&(t=!0),e.parentElement.matches(".mm-listitem_vertical")){Oe(e,".mm-listitem_vertical").forEach(function(e){e.classList.add("mm-listitem_opened"),qe(e,".mm-panel").forEach(function(e){e.classList.remove("mm-hidden")})});var i=Oe(e,".mm-panel").filter(function(e){return!e.parentElement.matches(".mm-listitem_vertical")});
23this.trigger("openPanel:start",[e]),i.length&&this.openPanel(i[0]),this.trigger("openPanel:finish",[e])}else{if(e.matches(".mm-panel_opened"))return;var r=qe(this.node.pnls,".mm-panel"),o=qe(this.node.pnls,".mm-panel_opened")[0];r.filter(function(t){return t!==e}).forEach(function(e){e.classList.remove("mm-panel_opened-parent")});for(var s=e.mmParent;s;)(s=s.closest(".mm-panel"))&&(s.parentElement.matches(".mm-listitem_vertical")||s.classList.add("mm-panel_opened-parent"),s=s.mmParent);r.forEach(function(e){e.classList.remove("mm-panel_highest")}),r.filter(function(e){return e!==o}).filter(function(t){return t!==e}).forEach(function(e){e.classList.add("mm-hidden")}),e.classList.remove("mm-hidden");var a=function(){o&&o.classList.remove("mm-panel_opened"),e.classList.add("mm-panel_opened"),e.matches(".mm-panel_opened-parent")?(o&&o.classList.add("mm-panel_highest"),e.classList.remove("mm-panel_opened-parent")):(o&&o.classList.add("mm-panel_opened-parent"),e.classList.add("mm-panel_highest")),n.trigger("openPanel:start",[e])},l=function(){o&&(o.classList.remove("mm-panel_highest"),o.classList.add("mm-hidden")),e.classList.remove("mm-panel_highest"),n.trigger("openPanel:finish",[e])};t&&!e.matches(".mm-panel_noanimation")?setTimeout(function(){xe(e,function(){l()},n.conf.transitionDuration),a()},this.conf.openingInterval):(a(),l())}this.trigger("openPanel:after",[e])}},e.prototype.closePanel=function(e){this.trigger("closePanel:before",[e]);var t=e.parentElement;t.matches(".mm-listitem_vertical")&&(t.classList.remove("mm-listitem_opened"),e.classList.add("mm-hidden"),this.trigger("closePanel",[e])),this.trigger("closePanel:after",[e])},e.prototype.closeAllPanels=function(e){this.trigger("closeAllPanels:before"),this.node.pnls.querySelectorAll(".mm-listitem").forEach(function(e){e.classList.remove("mm-listitem_selected"),e.classList.remove("mm-listitem_opened")});var t=qe(this.node.pnls,".mm-panel"),n=e||t[0];qe(this.node.pnls,".mm-panel").forEach(function(e){e!==n&&(e.classList.remove("mm-panel_opened"),e.classList.remove("mm-panel_opened-parent"),e.classList.remove("mm-panel_highest"),e.classList.add("mm-hidden"))}),this.openPanel(n,!1),this.trigger("closeAllPanels:after")},e.prototype.togglePanel=function(e){var t=e.parentElement;t.matches(".mm-listitem_vertical")&&this[t.matches(".mm-listitem_opened")?"closePanel":"openPanel"](e)},e.prototype.setSelected=function(e){this.trigger("setSelected:before",[e]),$e(this.node.menu,".mm-listitem_selected").forEach(function(e){e.classList.remove("mm-listitem_selected")}),e.classList.add("mm-listitem_selected"),this.trigger("setSelected:after",[e])},e.prototype.bind=function(e,t){this.hook[e]=this.hook[e]||[],this.hook[e].push(t)},e.prototype.trigger=function(e,t){if(this.hook[e])for(var n=0,i=this.hook[e].length;n<i;n++)this.hook[e][n].apply(this,t)},e.prototype._initAPI=function(){var e=this,t=this;this.API={},this._api.forEach(function(n){e.API[n]=function(){var e=t[n].apply(t,arguments);return void 0===e?t.API:e}}),this.node.menu.mmApi=this.API},e.prototype._initHooks=function(){for(var e in this.opts.hooks)this.bind(e,this.opts.hooks[e])},e.prototype._initWrappers=function(){this.trigger("initWrappers:before");for(var t=0;t<this.opts.wrappers.length;t++){var n=e.wrappers[this.opts.wrappers[t]];"function"==typeof n&&n.call(this)}this.trigger("initWrappers:after")},e.prototype._initAddons=function(){for(var t in this.trigger("initAddons:before"),e.addons)e.addons[t].call(this);this.trigger("initAddons:after")},e.prototype._initExtensions=function(){var e=this;this.trigger("initExtensions:before"),"array"==_e(this.opts.extensions)&&(this.opts.extensions={all:this.opts.extensions}
23),Object.keys(this.opts.extensions).forEach(function(t){var n=e.opts.extensions[t].map(function(e){return"mm-menu_"+e});n.length&&He(t,function(){n.forEach(function(t){e.node.menu.classList.add(t)})},function(){n.forEach(function(t){e.node.menu.classList.remove(t)})})}),this.trigger("initExtensions:after")},e.prototype._initMenu=function(){var e=this;this.trigger("initMenu:before"),this.node.wrpr=this.node.wrpr||this.node.menu.parentElement,this.node.wrpr.classList.add("mm-wrapper"),this.node.menu.id=this.node.menu.id||Se();var t=Me("div.mm-panels");qe(this.node.menu).forEach(function(n){e.conf.panelNodetype.indexOf(n.nodeName.toLowerCase())>-1&&t.append(n)}),this.node.menu.append(t),this.node.pnls=t,this.node.menu.classList.add("mm-menu"),this.trigger("initMenu:after")},e.prototype._initPanels=function(){var e=this;this.trigger("initPanels:before"),this.clck.push(function(t,n){if(n.inMenu){var i=t.getAttribute("href");if(i&&i.length>1&&"#"==i.slice(0,1))try{var r=$e(e.node.menu,i)[0];if(r&&r.matches(".mm-panel"))return t.parentElement.matches(".mm-listitem_vertical")?e.togglePanel(r):e.openPanel
23(r),!0}catch(e){}}}),qe(this.node.pnls).forEach(function(t){e.initPanel(t)}),this.trigger("initPanels:after")},e.prototype.initPanel=function(e){var t=this,n=this.conf.panelNodetype.join(", ");if(e.matches(n)&&(e.matches(".mm-panel")||(e=this._initPanel(e)),e)){var i=[];i.push.apply(i,qe(e,"."+this.conf.classNames.panel)),qe(e,".mm-listview").forEach(function(e){qe(e,".mm-listitem").forEach(function(e){i.push.apply(i,qe(e,n))})}),i.forEach(function(e){t.initPanel(e)})}},e.prototype._initPanel=function(e){var t=this;if(this.trigger("initPanel:before",[e]),Be(e,this.conf.classNames.panel,"mm-panel"),Be(e,this.conf.classNames.nopanel,"mm-nopanel"),Be(e,this.conf.classNames.inset,"mm-listview_inset"),e.matches(".mm-listview_inset")&&e.classList.add("mm-nopanel"),e.matches(".mm-nopanel"))return null;var n=e.id||Se(),i=e.matches("."+this.conf.classNames.vertical)||!this.opts.slidingSubmenus;if(e.classList.remove(this.conf.classNames.vertical),e.matches("ul, ol")){e.removeAttribute("id");var r=Me("div");e.before(r),r.append(e),e=r}e.id=n,e.classList.add("mm-panel"),e.classList.add("mm-hidden");var o=[e.parentElement].filter(function(e){return e.matches("li")})[0];if(i?o&&o.classList.add("mm-listitem_vertical"):this.node.pnls.append(e),o&&(o.mmChild=e,e.mmParent=o,o&&o.matches(".mm-listitem")&&!qe(o,".mm-btn").length)){var s=qe(o,".mm-listitem__text")[0];if(s){var a=Me("a.mm-btn.mm-btn_next.mm-listitem__btn");a.setAttribute("href","#"+e.id),s.matches("span")?(a.classList.add("mm-listitem__text"),a.innerHTML=s.innerHTML,o.insertBefore(a,s.nextElementSibling),s.remove()):o.insertBefore(a,qe(o,".mm-panel")[0])}}return this._initNavbar(e),qe(e,"ul, ol").forEach(function(e){t.initListview(e)}),this.trigger("initPanel:after",[e]),e},e.prototype._initNavbar=function(e){if(this.trigger("initNavbar:before",[e]),!qe(e,".mm-navbar").length){var t=null,n=null;if(e.getAttribute("data-mm-parent")?n=$e(this.node.pnls,e.getAttribute("data-mm-parent"))[0]:(t=e.mmParent)&&(n=t.closest(".mm-panel")),!t||!t.matches(".mm-listitem_vertical")){var i=Me("div.mm-navbar");if(this.opts.navbar.add?this.opts.navbar.sticky&&i.classList.add("mm-navbar_sticky"):i.classList.add("mm-hidden"),n){var r=Me("a.mm-btn.mm-btn_prev.mm-navbar__btn");r.setAttribute("href","#"+n.id),i.append(r)}var o=null;t?o=qe(t,".mm-listitem__text")[0]:n&&(o=$e(n,'a[href="#'+e.id+'"]')[0]);var s=Me("a.mm-navbar__title"),a=Me("span");switch(s.append(a),a.innerHTML=e.getAttribute("data-mm-title")||(o?o.textContent:"")||this.i18n(this.opts.navbar.title)||this.i18n("Menu"),this.opts.navbar.titleLink){case"anchor":o&&s.setAttribute("href",o.getAttribute("href"));break;case"parent":n&&s.setAttribute("href","#"+n.id)}i.append(s),e.prepend(i),this.trigger("initNavbar:after",[e])}}},e.prototype.initListview=function(e){var t=this;this.trigger("initListview:before",[e]),Be(e,this.conf.classNames.nolistview,"mm-nolistview"),e.matches(".mm-nolistview")||(e.classList.add("mm-listview"),qe(e).forEach(function(e){e.classList.add("mm-listitem"),Be(e,t.conf.classNames.selected,"mm-listitem_selected"),qe(e,"a, span").forEach(function(e){e.matches(".mm-btn")||e.classList.add("mm-listitem__text")})})),this.trigger("initListview:after",[e])},e.prototype._initOpened=function(){this.trigger("initOpened:before");var e=this.node.pnls.querySelectorAll(".mm-listitem_selected"),t=null;e.forEach(function(e){t=e,e.classList.remove("mm-listitem_selected")}),t&&t.classList.add("mm-listitem_selected");var n=t?t.closest(".mm-panel"):qe(this.node.pnls,".mm-panel")[0];this.openPanel(n,!1),this.trigger("initOpened:after")},e.prototype._initAnchors=function(){var e=this;this.trigger("initAnchors:before"),document.addEventListener("click",function(t){var n=t.target.closest("a[href]");if(n){for(var i={inMenu:n.closest(".mm-menu")===e.node.menu,inListview:n.matches(".mm-listitem > a"),toExternal:n.matches('[rel="external"]')||n.matches('[target="_blank"]')},r={close:null,setSelected:null,preventDefault:"#"==n.getAttribute("href").slice(0,1)},o=0;o<e.clck.length;o++){var s=e.clck[o].call(e,n,i);if(s){if("boolean"==typeof s)return void t.preventDefault();"object"==_e(s)&&(r=be(s,r))}}i.inMenu&&i.inListview&&!i.toExternal&&(we(n,e.opts.onClick.setSelected,r.setSelected)&&e.setSelected(n.parentElement),we(n,e.opts.onClick.preventDefault,r.preventDefault)&&t.preventDefault(),we(n,e.opts.onClick.close,r.close)&&e.opts.offCanvas&&"function"==typeof e.close&&e.close())}},!0),this.trigger("initAnchors:after")},e.prototype.i18n=function(e){return function(e,t){return"string"==typeof t&&void 0!==Ce[t]&&Ce[t][e]||e}(e,this.conf.language)},e.options=ve,e.configs=ye,e.addons={},e.wrappers={},e.node={},e.vars={},e}();const We=Fe;function Ue(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}function Ve(e,t,n){var i=t.split(".");e[t="mmEvent"+Ue(i[0])+Ue(i[1])]=e[t]||[],e[t].push(n),e.addEventListener(i[0],n)}function Ze(e,t){var n=t.split(".");
23t="mmEvent"+Ue(n[0])+Ue(n[1]),(e[t]||[]).forEach(function(t){e.removeEventListener(n[0],t)})}function Ye(){var e=this;if(this.opts.offCanvas){var t=function(e){return"object"!=typeof e&&(e={}),e}(this.opts.offCanvas);this.opts.offCanvas=be(t,We.options.offCanvas);var n=this.conf.offCanvas;this._api.push("open","close","setPage"),this.vars.opened=!1,this.bind("initMenu:before",function(){n.clone&&(e.node.menu=e.node.menu.cloneNode(!0),e.node.menu.id&&(e.node.menu.id="mm-"+e.node.menu.id),$e(e.node.menu,"[id]").forEach(function(e){e.id="mm-"+e.id})),e.node.wrpr=document.body,document.querySelector(n.menu.insertSelector)[n.menu.insertMethod](e.node.menu)}),this.bind("initMenu:after",function(){Xe.call(e),e.setPage(We.node.page),Ge.call(e),e.node.menu.classList.add("mm-menu_offcanvas");var t=window.location.hash;if(t){var n=Te(e.node.menu.id);n&&n==t.slice(1)&&setTimeout(function(){e.open()},1e3)}}),this.bind("setPage:after",function(e){We.node.blck&&qe(We.node.blck,"a").forEach(function(t){t.setAttribute("href","#"+e.id)})}),this.bind("open:start:sr-aria",function(){We.sr_aria(e.node.menu,"hidden",!1)}),this.bind("close:finish:sr-aria",function(){We.sr_aria(e.node.menu,"hidden",!0)}),this.bind("initMenu:after:sr-aria",function(){We.sr_aria(e.node.menu,"hidden",!0)}),this.bind("initBlocker:after:sr-text",function(){qe(We.node.blck,"a").forEach(function(t){t.innerHTML=We.sr_text(e.i18n(e.conf.screenReader.text.closeMenu))})}),this.clck.push(function(t,n){var i=Te(e.node.menu.id);if(i&&t.matches('[href="#'+i+'"]')){if(n.inMenu)return e.open(),!0;var r=t.closest(".mm-menu");if(r){var o=r.mmApi;if(o&&o.close)return o.close(),xe(r,function(){e.open()},e.conf.transitionDuration),!0}return e.open(),!0}if((i=We.node.page.id)&&t.matches('[href="#'+i+'"]'))return e.close(),!0})}}n.dn(Ye),We.options.offCanvas={blockUI:!0,moveBackground:!0},We.configs.offCanvas={clone:!1,menu:{insertMethod:"prepend",insertSelector:"body"},page:{nodetype:"div",selector:null,noSelector:[]}},We.prototype.open=function(){var e=this;this.trigger("open:before"),this.vars.opened||(this._openSetup(),setTimeout(function(){e._openStart()},this.conf.openingInterval),this.trigger("open:after"))},We.prototype._openSetup=function(){var e=this,t=this.opts.offCanvas;this.closeAllOthers(),function(e,t,n){var i=t.split(".");(e[t="mmEvent"+Ue(i[0])+Ue(i[1])]||[]).forEach(function(e){e(n||{})})}(window,"resize.page",{force:!0});var n=["mm-wrapper_opened"];t.blockUI&&n.push("mm-wrapper_blocking"),"modal"==t.blockUI&&n.push("mm-wrapper_modal"),t.moveBackground&&n.push("mm-wrapper_background"),n.forEach(function(t){e.node.wrpr.classList.add(t)}),setTimeout(function(){e.vars.opened=!0},this.conf.openingInterval),this.node.menu.classList.add("mm-menu_opened")},We.prototype._openStart=function(){var e=this;xe(We.node.page,function(){e.trigger("open:finish")},this.conf.transitionDuration),this.trigger("open:start"),this.node.wrpr.classList.add("mm-wrapper_opening")},We.prototype.close=function(){var e=this;this.trigger("close:before"),this.vars.opened&&(xe(We.node.page,function(){e.node.menu.classList.remove("mm-menu_opened"),["mm-wrapper_opened","mm-wrapper_blocking","mm-wrapper_modal","mm-wrapper_background"].forEach(function(t){e.node.wrpr.classList.remove(t)}),e.vars.opened=!1,e.trigger("close:finish")},this.conf.transitionDuration),this.trigger("close:start"),this.node.wrpr.classList.remove("mm-wrapper_opening"),this.trigger("close:after"))},We.prototype.closeAllOthers=function(){var e=this;$e(document.body,".mm-menu_offcanvas").forEach(function(t){if(t!==e.node.menu){var n=t.mmApi;n&&n.close&&n.close()}})},We.prototype.setPage=function(e){this.trigger("setPage:before",[e]);var t=this.conf.offCanvas;if(!e){var n="string"==typeof t.page.selector?$e(document.body,t.page.selector):qe(document.body,t.page.nodetype);if(n=n.filter(function(e){return!e.matches(".mm-menu, .mm-wrapper__blocker")}),t.page.noSelector.length&&(n=n.filter(function(e){return!e.matches(t.page.noSelector.join(", "))})),n.length>1){var i=Me("div");n[0].before(i),n.forEach(function(e){i.append(e)}),n=[i]}e=n[0]}
23e.classList.add("mm-page"),e.classList.add("mm-slideout"),e.id=e.id||Se(),We.node.page=e,this.trigger("setPage:after",[e])};var Ge=function(){var e=this;Ze(document.body,"keydown.tabguard"),Ve(document.body,"keydown.tabguard",function(t){9==t.keyCode&&e.node.wrpr.matches(".mm-wrapper_opened")&&t.preventDefault()})},Xe=function(){var e=this;this.trigger("initBlocker:before");var t=this.opts.offCanvas,n=this.conf.offCanvas;if(t.blockUI){if(!We.node.blck){var i=Me("div.mm-wrapper__blocker.mm-slideout");i.innerHTML="<a></a>",document.querySelector(n.menu.insertSelector).append(i),We.node.blck=i}var r=function(t){t.preventDefault(),t.stopPropagation(),e.node.wrpr.matches(".mm-wrapper_modal")||e.close()};We.node.blck.addEventListener("mousedown",r),We.node.blck.addEventListener("touchstart",r),We.node.blck.addEventListener("touchmove",r),this.trigger("initBlocker:after")}};const Ke={"Close menu":"Menu sluiten","Close submenu":"Submenu sluiten","Open submenu":"Submenu openen","Toggle submenu":"Submenu wisselen"},Qe={"Close menu":"بستن منو","Close submenu":"بستن زیرمنو","Open submenu":"بازکردن زیرمنو","Toggle submenu":"سوییچ زیرمنو"},Je={"Close menu":"Menü schließen","Close submenu":"Untermenü schließen","Open submenu":"Untermenü öffnen","Toggle submenu":"Untermenü wechseln"},et={"Close menu":"Закрыть меню","Close submenu":"Закрыть подменю","Open submenu":"Открыть подменю","Toggle submenu":"Переключить подменю"};function tt(){Ee(Ke,"nl"),Ee(Qe,"fa"),Ee(Je,"de"),Ee(et,"ru")}function nt(){var e=this,t=function(e){return"boolean"==typeof e&&(e={aria:e,text:e}),"object"!=typeof e&&(e={}),e}(this.opts.screenReader);this.opts.screenReader=be(t,We.options.screenReader);var n=this.conf.screenReader;t.aria&&(this.bind("initAddons:after",function(){e.bind("initMenu:after",function(){this.trigger("initMenu:after:sr-aria",[].slice.call(arguments))}),e.bind("initNavbar:after",function(){this.trigger("initNavbar:after:sr-aria",[].slice.call(arguments))}),e.bind("openPanel:start",function(){this.trigger("openPanel:start:sr-aria",[].slice.call(arguments))}),e.bind("close:start",function(){this.trigger("close:start:sr-aria",[].slice.call(arguments))}),e.bind("close:finish",function(){this.trigger("close:finish:sr-aria",[].slice.call(arguments))}),e.bind("open:start",function(){this.trigger("open:start:sr-aria",[].slice.call(arguments))}),e.bind("initOpened:after",function(){this.trigger("initOpened:after:sr-aria",[].slice.call(arguments))})}),this.bind("updateListview",function(){e.node.pnls.querySelectorAll(".mm-listitem").forEach(function(e){We.sr_aria(e,"hidden",e.matches(".mm-hidden"))})}),this.bind("openPanel:start",function(t){var n=$e(e.node.pnls,".mm-panel").filter(function(e){return e!==t}).filter(function(e){return!e.parentElement.matches(".mm-panel")}),i=[t];$e(t,".mm-listitem_vertical .mm-listitem_opened").forEach(function(e){i.push.apply(i,qe(e,".mm-panel"))}),n.forEach(function(e){We.sr_aria(e,"hidden",!0)}
23),i.forEach(function(e){We.sr_aria(e,"hidden",!1)})}),this.bind("closePanel",function(e){We.sr_aria(e,"hidden",!0)}),this.bind("initNavbar:after",function(e){var t=qe(e,".mm-navbar")[0],n=t.matches(".mm-hidden");We.sr_aria(t,"hidden",n)}),t.text&&"parent"==this.opts.navbar.titleLink&&this.bind("initNavbar:after",function(e){var t=qe(e,".mm-navbar")[0],n=!!t.querySelector(".mm-btn_prev");We.sr_aria($e(t,".mm-navbar__title")[0],"hidden",n)})),t.text&&(this.bind("initAddons:after",function(){e.bind("setPage:after",function(){this.trigger("setPage:after:sr-text",[].slice.call(arguments))}),e.bind("initBlocker:after",function(){this.trigger("initBlocker:after:sr-text",[].slice.call(arguments))})}),this.bind("initNavbar:after",function(t){var i=qe(t,".mm-navbar")[0];if(i){var r=qe(i,".mm-btn_prev")[0];r&&(r.innerHTML=We.sr_text(e.i18n(n.text.closeSubmenu)))}}),this.bind("initListview:after",function(t){var i=t.closest(".mm-panel").mmParent;if(i){var r=qe(i,".mm-btn_next")[0];if(r){var o=e.i18n(n.text[r.parentElement.matches(".mm-listitem_vertical")?"toggleSubmenu":"openSubmenu"]);r.innerHTML+=We.sr_text(o)}}}))}var it;n.dn(tt),n.dn(nt),tt(),We.options.screenReader={aria:!0,text:!0},We.configs.screenReader={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}},it=function(e,t,n){e[t]=n,n?e.setAttribute(t,n.toString()):e.removeAttribute(t)},We.sr_aria=function(e,t,n){it(e,"aria-"+t,n)},We.sr_role=function(e,t){it(e,"role",t)},We.sr_text=function(e){return'<span class="mm-sronly">'+e+"</span>"};var rt="ontouchstart"in window||!!navigator.msMaxTouchPoints||!1;function ot(){var e=this;if(rt&&this.opts.offCanvas&&this.opts.offCanvas.blockUI){var t=function(e){return"boolean"==typeof e&&(e={fix:e}),"object"!=typeof e&&(e={}),e}(this.opts.scrollBugFix);if(this.opts.scrollBugFix=be(t,We.options.scrollBugFix),t.fix){var n,i,r=(n=this.node.menu,i="",n.addEventListener("touchmove",function(e){i="",e.movementY>0?i="down":e.movementY<0&&(i="up")}),{get:function(){return i}});this.node.menu.addEventListener("scroll",o,{passive:!1}),this.node.menu.addEventListener("touchmove",function(e){var t=e.target.closest(".mm-panel, .mm-iconbar__top, .mm-iconbar__bottom");t&&t.closest(".mm-listitem_vertical")&&(t=Oe(t,".mm-panel").pop()),t?(t.scrollHeight===t.offsetHeight||0==t.scrollTop&&"down"==r.get()||t.scrollHeight==t.scrollTop+t.offsetHeight&&"up"==r.get())&&o(e):o(e)},{passive:!1}),this.bind("open:start",function(){var t=qe(e.node.pnls,".mm-panel_opened")[0];t&&(t.scrollTop=0)}),window.addEventListener("orientationchange",function(t){var n=qe(e.node.pnls,".mm-panel_opened")[0];n&&(n.scrollTop=0,n.style["-webkit-overflow-scrolling"]="auto",n.style["-webkit-overflow-scrolling"]="touch")})}}function o(e){e.preventDefault(),e.stopPropagation()}}n.dn(ot),We.options.scrollBugFix={fix:!0};function st(){var e=this,t=function(e){return"boolean"==typeof e&&e&&(e={height:"auto"}),"string"==typeof e&&(e={height:e}),"object"!=typeof e&&(e={}),e}(this.opts.autoHeight);if(this.opts.autoHeight=be(t,We.options.autoHeight),"auto"==t.height||"highest"==t.height){var n,i=(n=function(e){return e.parentElement.matches(".mm-listitem_vertical")&&(e=Oe(e,".mm-panel").filter(function(e){return!e.parentElement.matches(".mm-listitem_vertical")})[0]),e},function(){if(!e.opts.offCanvas||e.vars.opened){var i,r,o=0,s=e.node.menu.offsetHeight-e.node.pnls.offsetHeight;e.node.menu.classList.add("mm-menu_autoheight-measuring"),"auto"==t.height?((r=qe(e.node.pnls,".mm-panel_opened")[0])&&(r=n(r)),r||(r=qe(e.node.pnls,".mm-panel")[0]),o=r.scrollHeight):"highest"==t.height&&(i=0,qe(e.node.pnls,".mm-panel").forEach(function(e){e=n(e),i=Math.max(i,e.scrollHeight)}),o=i),e.node.menu.style.height=o+s+"px",e.node.menu.classList.remove("mm-menu_autoheight-measuring")}});this.bind("initMenu:after",function(){e.node.menu.classList.add("mm-menu_autoheight")}),this.opts.offCanvas&&this.bind("open:start",i),"highest"==t.height&&this.bind("initPanels:after",i),"auto"==t.height&&(this.bind("updateListview",i),this.bind("openPanel:start",i))}}n.dn(st),We.options.autoHeight={height:"default"};function at(){var e=this;if(this.opts.offCanvas){var t=function(e){return"boolean"==typeof e&&(e={close:e}),"object"!=typeof e&&(e={}),e}(this.opts.backButton);this.opts.backButton=be(t,We.options.backButton);var n="#"+this.node.menu.id;if(t.close){var i=[],r=function(){i=[n],qe(e.node.pnls,".mm-panel_opened, .mm-panel_opened-parent").forEach(function(e){i.push("#"+e.id)})};this.bind("open:finish",function(){history.pushState(null,document.title,n)}),this.bind("open:finish",r),this.bind("openPanel:finish",r),this.bind("close:finish",function(){i=[],history.back(),history.pushState(null,document.title,location.pathname+location.search)}),window.addEventListener("popstate",function(t){if(e.vars.opened&&i.length){var r=(i=i.slice(0,-1))[i.length-1];
23r==n?e.close():(e.openPanel(e.node.menu.querySelector(r)),history.pushState(null,document.title,n))}})}t.open&&window.addEventListener("popstate",function(t){e.vars.opened||location.hash!=n||e.open()})}}n.dn(at),We.options.backButton={close:!1,open:!1};function lt(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"number"==typeof e&&(e={add:!0,visible:e}),"object"!=typeof e&&(e={}),"number"==typeof e.visible&&(e.visible={min:e.visible,max:e.visible}),e}(this.opts.columns);if(this.opts.columns=be(t,We.options.columns),t.add){t.visible.min=Math.max(1,Math.min(6,t.visible.min)),t.visible.max=Math.max(t.visible.min,Math.min(6,t.visible.max));for(var n=[],i=[],r=["mm-panel_opened","mm-panel_opened-parent","mm-panel_highest"],o=0;o<=t.visible.max;o++)n.push("mm-menu_columns-"+o),i.push("mm-panel_columns-"+o);r.push.apply(r,i),this.bind("openPanel:before",function(t){var n;if(t&&(n=t.mmParent),n&&!n.classList.contains("mm-listitem_vertical")&&(n=n.closest(".mm-panel"))){var i=n.className;if(i.length&&(i=i.split("mm-panel_columns-")[1]))for(var o=parseInt(i.split(" ")[0],10)+1;o>0;){if(!(t=qe(e.node.pnls,".mm-panel_columns-"+o)[0])){o=-1;break}o++,t.classList.add("mm-hidden"),r.forEach(function(e){t.classList.remove(e)})}}}),this.bind("openPanel:start",function(r){if(r){var o=r.mmParent;if(o&&o.classList.contains("mm-listitem_vertical"))return}var s=qe(e.node.pnls,".mm-panel_opened-parent").length;r.matches(".mm-panel_opened-parent")||s++,s=Math.min(t.visible.max,Math.max(t.visible.min,s)),n.forEach(function(t){e.node.menu.classList.remove(t)}),e.node.menu.classList.add("mm-menu_columns-"+s);var a=[];qe(e.node.pnls,".mm-panel").forEach(function(e){i.forEach(function(t){e.classList.remove(t)}),e.matches(".mm-panel_opened-parent")&&a.push(e)}),a.push(r),a.slice(-t.visible.max).forEach(function(e,t){e.classList.add("mm-panel_columns-"+t)})})}}n.dn(lt),We.options.columns={add:!1,visible:{min:1,max:3}};function ct(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e,addTo:"panels",count:e}),"object"!=typeof e&&(e={}),"panels"==e.addTo&&(e.addTo=".mm-listview"),e}(this.opts.counters);if(this.opts.counters=be(t,We.options.counters),this.bind("initListview:after",function(t){var n=e.conf.classNames.counters.counter;$e(t,"."+n).forEach(function(e){Be(e,n,"mm-counter")})}),t.add&&this.bind("initListview:after",function(e){if(e.matches(t.addTo)){var n=e.closest(".mm-panel").mmParent;if(n&&!$e(n,".mm-counter").length){var i=qe(n,".mm-btn")[0];i&&i.prepend(Me("span.mm-counter"))}}}),t.count){var n=function(t){(t?[t.closest(".mm-panel")]:qe(e.node.pnls,".mm-panel")).forEac
23h(function(e){var t=e.mmParent;if(t){var n=$e(t,".mm-counter")[0];if(n){var i=[];qe(e,".mm-listview").forEach(function(e){i.push.apply(i,qe(e))}),n.innerHTML=Ne(i).length.toString()}}})};this.bind("initListview:after",n),this.bind("updateListview",n)}}n.dn(ct),We.options.counters={add:!1,addTo:"panels",count:!1},We.configs.classNames.counters={counter:"Counter"};function ut(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"object"!=typeof e&&(e={}),"panels"==e.addTo&&(e.addTo=".mm-listview"),e}(this.opts.dividers);this.opts.dividers=be(t,We.options.dividers),this.bind("initListview:after",function(t){qe(t).forEach(function(t){Be(t,e.conf.classNames.divider,"mm-divider"),t.matches(".mm-divider")&&t.classList.remove("mm-listitem")})}),t.add&&this.bind("initListview:after",function(e){if(e.matches(t.addTo)){$e(e,".mm-divider").forEach(function(e){e.remove()});var n="";Ne(qe(e)).forEach(function(t){var i=qe(t,".mm-listitem__text")[0].textContent.trim().toLowerCase()[0];if(i.length&&i!=n){n=i;var r=Me("li.mm-divider");r.textContent=i,e.insertBefore(r,t)}})}})}n.dn(ut),We.options.dividers={add:!1,addTo:"panels"},We.configs.classNames.divider="Divider";var dt="ontouchstart"in window||!!navigator.msMaxTouchPoints||!1,pt={top:0,right:0,bottom:0,left:0},ft={start:15,swipe:15},ht={x:["Right","Left"],y:["Down","Up"]},mt=function(e,t){return"string"==typeof e&&"%"==e.slice(-1)&&(e=t*((e=parseInt(e.slice(0,-1),10))/100)),e};const gt=function(){function e(e,t,n){this.surface=e,this.area=be(t,pt),this.treshold=be(n,ft),this.surface.mmHasDragEvents||(this.surface.addEventListener(dt?"touchstart":"mousedown",this.start.bind(this)),this.surface.addEventListener(dt?"touchend":"mouseup",this.stop.bind(this)),this.surface.addEventListener(dt?"touchleave":"mouseleave",this.stop.bind(this)),this.surface.addEventListener(dt?"touchmove":"mousemove",this.move.bind(this))),this.surface.mmHasDragEvents=!0}return e.prototype.start=function(e){this.currentPosition={x:e.touches?e.touches[0].pageX:e.pageX||0,y:e.touches?e.touches[0].pageY:e.pageY||0};var t=this.surface.clientWidth,n=this.surface.clientHeight,i=mt(this.area.top,n);if(!("number"==typeof i&&this.currentPosition.y<i)){var r=mt(this.area.right,t);if(!("number"==typeof r&&(r=t-r,this.currentPosition.x>r))){var o=mt(this.area.bottom,n);if(!("number"==typeof o&&(o=n-o,this.currentPosition.y>o))){var s=mt(this.area.left,t);"number"==typeof s&&this.currentPosition.x<s||(this.startPosition={x:this.currentPosition.x,y:this.currentPosition.y},this.state=1)}}}},e.prototype.stop=function(e){if(2==this.state){var t=this._dragDirection(),n=this._eventDetail(t);if(this._dispatchEvents("drag*End",n),Math.abs(this.movement[this.axis])>this.treshold.swipe){var i=this._swipeDirection();n.direction=i,this._dispatchEvents("swipe*",n)}}this.state=0},e.prototype.move=function(e){switch(this.state){case 1:case 2:var t={x:e.changedTouches?e.touches[0].pageX:e.pageX||0,y:e.changedTouches?e.touches[0].pageY:e.pageY||0};this.movement={x:t.x-this.currentPosition.x,y:t.y-this.currentPosition.y},this.distance={x:t.x-this.startPosition.x,y:t.y-this.startPosition.y},this.currentPosition={x:t.x,y:t.y},this.axis=Math.abs(this.distance.x)>Math.abs(this.distance.y)?"x":"y";var n=this._dragDirection(),i=this._eventDetail(n);1==this.state&&Math.abs(this.distance[this.axis])>this.treshold.start&&(this._dispatchEvents("drag*Start",i),this.state=2),2==this.state&&this._dispatchEvents("drag*Move",i)}},e.prototype._eventDetail=function(e){var t=this.distance.x,n=this.distance.y;return"x"==this.axis&&(t-=t>0?this.treshold.start:0-this.treshold.start),"y"==this.axis&&(n-=n>0?this.treshold.start:0-this.treshold.start),{axis:this.axis,direction:e,movementX:this.movement.x,movementY:this.movement.y,distanceX:t,distanceY:n}},e.prototype._dispatchEvents=function(e,t){var n=new CustomEvent(e.replace("*",""),{detail:t});this.surface.dispatchEvent(n);var i=new CustomEvent(e.replace("*",this.axis.toUpperCase()),{detail:t});this.surface.dispatchEvent(i);var r=new CustomEvent(e.replace("*",t.direction),{detail:t});this.surface.dispatchEvent(r)},e.prototype._dragDirection=function(){return ht[this.axis][this.distance[this.axis]>0?0:1]},e.prototype._swipeDirection=function(){return ht[this.axis][this.movement[this.axis]>0?0:1]},e}();n.dn(_t);var vt=null,yt=null,bt=0;function _t(e){var t=this,n={},i=!1,r=function(){var e=Object.keys(t.opts.extensions);e.length?(He(e.join(", "),function(){},function(){n=wt(n,[],t.node.menu)}),e.forEach(function(e){He(e,function(){n=wt(n,t.opts.extensions[e],t.node.menu)},function(){})})):n=wt(n,[],t.node.menu)};yt&&(Ze(yt,"dragStart"),Ze(yt,"dragMove"),Ze(yt,"dragEnd")),vt=new gt(yt=e),r(),r=function(){},yt&&(Ve(yt,"dragStart",function(e){e.detail.direction==n.direction&&(i=!0,t.node.wrpr.classList.add("mm-wrapper_dragging"),t._openSetup(),t.trigger("open:start"),bt=t.no
23de.menu["x"==n.axis?"clientWidth":"clientHeight"])}),Ve(yt,"dragMove",function(e){if(e.detail.axis==n.axis&&i){var t=e.detail["distance"+n.axis.toUpperCase()];switch(n.position){case"right":case"bottom":t=Math.min(Math.max(t,-bt),0);break;default:t=Math.max(Math.min(t,bt),0)}if("front"==n.zposition)switch(n.position){case"right":case"bottom":t+=bt;break;default:t-=bt}n.slideOutNodes.forEach(function(e){e.style.transform="translate"+n.axis.toUpperCase()+"("+t+"px)"})}}),Ve(yt,"dragEnd",function(e){if(e.detail.axis==n.axis&&i){i=!1,t.node.wrpr.classList.remove("mm-wrapper_dragging"),n.slideOutNodes.forEach(function(e){e.style.transform=""});var r=Math.abs(e.detail["distance"+n.axis.toUpperCase()])>=.75*bt;if(!r){var o=e.detail["movement"+n.axis.toUpperCase()];switch(n.position){case"right":case"bottom":r=o<=0;break;default:r=o>=0}}r?t._openStart():t.close()}}))}var wt=function(e,t,n){switch(e.position="left",e.zposition="back",["right","top","bottom"].forEach(function(n){t.indexOf("position-"+n)>-1&&(e.position=n)}),["front","top","bottom"].forEach(function(n){t.indexOf("position-"+n)>-1&&(e.zposition="front")}),vt.area={top:"bottom"==e.position?"75%":0,right:"left"==e.position?"75%":0,bottom:"top"==e.position?"75%":0,left:"right"==e.position?"75%":0},e.position){case"top":case"bottom":e.axis="y";break;default:e.axis="x"}switch(e.position){case"top":e.direction="Down";break;case"right":e.direction="Left";break;case"bottom":e.direction="Up";break;default:e.direction="Right"}return"front"===e.zposition?e.slideOutNodes=[n]:e.slideOutNodes=$e(document.body,".mm-slideout"),e};function xt(){var e=this;if(this.opts.offCanvas){var t=function(e){return"boolean"==typeof e&&(e={open:e}),"object"!=typeof e&&(e={}),e}(this.opts.drag);this.opts.drag=be(t,We.options.drag),t.open&&this.bind("setPage:after",function(n){_t.call(e,t.node||n)})}}n.dn(xt),We.options.drag={open:!1,node:null};function St(){var e=this;if(this.opts.offCanvas){var t=function(e){return"boolean"==typeof e&&e&&(e={drop:e}),"object"!=typeof e&&(e={}),"string"==typeof e.position&&(e.position={of:e.position}),e}(this.opts.dropdown);this.opts.dropdown=be(t,We.options.dropdown);var n=this.conf.dropdown;if(t.drop){var i;this.bind("initMenu:after",function(){if(e.node.menu.classList.add("mm-menu_dropdown"),"string"!=typeof t.position.of){var n=Te(e.node.menu.id);n&&(t.position.of='[href="#'+n+'"]')}if("string"==typeof t.position.of){i=$e(document.body,t.position.of)[0];var r=t.event.split(" ");1==r.length&&(r[1]=r[0]),"hover"==r[0]&&i.addEventListener("mouseenter",function(){e.open()},{passive:!0}),"hover"==r[1]&&e.node.menu.addEventListener("mouseleave",function(){e.close()},{passive:!0})}}),this.bind("open:start",function(){e.node.menu.mmStyle=e.node.menu.getAttribute("style"),e.node.wrpr.classList.add("mm-wrapper_dropdown")}),this.bind("close:finish",function(){e.node.menu.setAttribute("style",e.node.menu.mmStyle),e.node.wrpr.classList.remove("mm-wrapper_dropdown")});var r=function(e,r){var o,s,a,l=r[0],c=r[1],u="x"==e?"offsetWidth":"offsetHeight",d="x"==e?"left":"top",p="x"==e?"right":"bottom",f="x"==e?"width":"height",h="x"==e?"innerWidth":"innerHeight",m="x"==e?"maxWidth":"maxHeight",g=null,v=(o=d,i.getBoundingClientRect()[o]+document.body["left"===o?"scrollLeft":"scrollTop"]),y=v+i[u],b=window[h],_=n.offset.button[e]+n.offset.viewport[e];if(t.position[e])switch(t.position[e]){case"left":case"bottom":g="after";break;case"right":case"top":g="before"}return null===g&&(g=v+(y-v)/2<b/2?"after":"before"),"after"==g?(a=b-((s="x"==e?v:y)+_),l[d]=s+n.offset.button[e]+"px",l[p]="auto",t.tip&&c.push("mm-menu_tip-"+("x"==e?"left":"top"))):(a=(s="x"==e?y:v)-_,l[p]="calc( 100% - "+(s-n.offset.button[e])+"px )",l[d]="auto",t.tip&&c.push("mm-menu_tip-"+("x"==e?"right":"bottom"))),t.fitViewport&&(l[m]=Math.min(n[f].max,a)+"px"),[l,c]};this.bind("open:start",o),window.addEventListener("resize",function(t){o.call(e)},{passive:!0}),this.opts.offCanvas.blockUI||window.addEventListener("scroll",function(t){o.call(e)},{passive:!0})}}function o(){var e=this;if(this.vars.opened){this.node.menu.setAttribute("style",this.node.menu.mmStyle);var n=[{},[]];for(var i in n=r.call(this,"y",n),(n=r.call(this,"x",n))[0])this.node.menu.style[i]=n[0][i];t.tip&&(["mm-menu_tip-left","mm-menu_tip-right","mm-menu_tip-top","mm-menu_tip-bottom"].forEach(function(t){e.node.menu.classList.remove(t)}
23),n[1].forEach(function(t){e.node.menu.classList.add(t)}))}}}n.dn(St),We.options.dropdown={drop:!1,fitViewport:!0,event:"click",position:{},tip:!0},We.configs.dropdown={offset:{button:{x:-5,y:5},viewport:{x:20,y:20}},height:{max:880},width:{max:440}};function kt(){var e=this;if(this.opts.offCanvas){var t,n,i=this.conf.fixedElements;this.bind("setPage:after",function(r){t=e.conf.classNames.fixedElements.fixed,n=$e(document,i.insertSelector)[0],$e(r,"."+t).forEach(function(e){Be(e,t,"mm-slideout"),n[i.insertMethod](e)})})}}n.dn(kt),We.configs.fixedElements={insertMethod:"append",insertSelector:"body"},We.configs.classNames.fixedElements={fixed:"Fixed"};function Tt(){var e,t=this,n=function(e){return"array"==_e(e)&&(e={use:!0,top:e}),"object"!=_e(e)&&(e={}),void 0===e.use&&(e.use=!0),"boolean"==typeof e.use&&e.use&&(e.use=!0),e}(this.opts.iconbar);if(this.opts.iconbar=be(n,We.options.iconbar),n.use&&(["top","bottom"].forEach(function(t,i){var r=n[t];"array"!=_e(r)&&(r=[r]);for(var o=Me("div.mm-iconbar__"+t),s=0,a=r.length;s<a;s++)"string"==typeof r[s]?o.innerHTML+=r[s]:o.append(r[s]);o.children.length&&(e||(e=Me("div.mm-iconbar")),e.append(o))}),e)){this.bind("initMenu:after",function(){t.node.menu.prepend(e)});var i="mm-menu_iconbar-"+n.position,r=function(){t.node.menu.classList.add(i),We.sr_aria(e,"hidden",!1)};if("boolean"==typeof n.use?this.bind("initMenu:after",r):He(n.use,r,function(){t.node.menu.classList.remove(i),We.sr_aria(e,"hidden",!0)}),"tabs"==n.type){e.classList.add("mm-iconbar_tabs"),e.addEventListener("click",function(e){var n=e.target;if(n.matches("a"))if(n.matches(".mm-iconbar__tab_selected"))e.stopImmediatePropagation();else try{var i=t.node.menu.querySelector(n.getAttribute("href"))[0];i&&i.matches(".mm-panel")&&(e.preventDefault(),e.stopImmediatePropagation(),t.openPanel(i,!1))}catch(e){}});var o=function(t){$e(e,"a").forEach(function(e){e.classList.remove("mm-iconbar__tab_selected")});var n=$e(e,'[href="#'+t.id+'"]')[0];if(n)n.classList.add("mm-iconbar__tab_selected");else{var i=t.mmParent;i&&o(i.closest(".mm-panel"))}};this.bind("openPanel:start",o)}}}n.dn(Tt),We.options.iconbar={use:!1,top:[],bottom:[],position:"left",type:"default"};function Ct(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"number"!=typeof e&&"string"!=typeof e||(e={add:!0,visible:e}),"object"!=typeof e&&(e={}),e}(this.opts.iconPanels);this.opts.iconPanels=be(t,We.options.iconPanels);var n=!1;if("first"==t.visible&&(n=!0,t.visible=1),t.visible=Math.min(3,Math.max(1,t.visible)),t.visible++,t.add){this.bind("initMenu:after",function(){var n=["mm-menu_iconpanel"];t.hideNavbar&&n.push("mm-menu_hidenavbar"),t.hideDivider&&n.push("mm-menu_hidedivider"),n.forEach(function(t){e.node.menu.classList.add(t)})});var i=[];if(!n)for(var r=0;r<=t.visible;r++)i.push("mm-panel_iconpanel-"+r);this.bind("openPanel:start",function(r){var o=qe(e.node.pnls,".mm-panel");if(!(r=r||o[0]).parentElement.matches(".mm-listitem_vertical"))if(n)o.forEach(function(e,t){e.classList[0==t?"add":"remove"]("mm-panel_iconpanel-first")});else{o.forEach(function(e){i.forEach(function(t){e.classList.remove(t)})}),o=o.filter(function(e){return e.matches(".mm-panel_opened-parent")});var s=!1;o.forEach(function(e){r===e&&(s=!0)}),s||o.push(r),o.forEach(function(e){e.classList.remove("mm-hidden")}),(o=o.slice(-t.visible)).forEach(function(e,t){e.classList.add("mm-panel_iconpanel-"+t)})}}),this.bind("initPanel:after",function(e){if(t.blockPanel&&!e.parentElement.matches(".mm-listitem_vertical")&&!qe(e,".mm-panel__blocker")[0]){var n=Me("a.mm-panel__blocker");n.setAttribute("href","#"+e.closest(".mm-panel").id),e.prepend(n)}})}}n.dn(Ct),We.options.iconPanels={add:!1,blockPanel:!0,hideDivider:!1,hideNavbar:!0,visible:3};function Et(){var e=this;if(!rt){var t=function(e){return"boolean"!=typeof e&&"string"!=typeof e||(e={enable:e}),"object"!=typeof e&&(e={}),e}(this.opts.keyboardNavigation);if(this.opts.keyboardNavigation=be(t,We.options.keyboardNavigation),t.enable){var n=Me("button.mm-tabstart.mm-sronly"),i=Me("button.mm-tabend.mm-sronly"),r=Me("button.mm-tabend.mm-sronly");this.bind("initMenu:after",function(){t.enhance&&e.node.menu.classList.add("mm-menu_keyboardfocus"),At.call(e,t.enhance)}),this.bind("initOpened:before",function(){e.node.menu.prepend(n),e.node.menu.append(i),qe(e.node.menu,".mm-navbars-top, .mm-navbars-bottom").forEach(function(e){e.querySelectorAll(".mm-navbar__title").forEach(function(e){e.setAttribute("tabindex","-1")})})}),this.bind("initBlocker:after",function(){We.node.blck.append(r),qe(We.node.blck,"a")[0].classList.add("mm-tabstart")});var o="input, select, textarea, button, label, a[href]",s=function(n){n=n||qe(e.node.pnls,".mm-panel_opened")[0];var i=null,r=document.activeElement.closest(".mm-navbar");
23if(!r||r.closest(".mm-menu")!=e.node.menu){if("default"==t.enable&&((i=$e(n,".mm-listview a[href]:not(.mm-hidden)")[0])||(i=$e(n,o+":not(.mm-hidden)")[0]),!i)){var s=[];qe(e.node.menu,".mm-navbars_top, .mm-navbars_bottom").forEach(function(e){s.push.apply(s,$e(e,o+":not(.mm-hidden)"))}),i=s[0]}i||(i=qe(e.node.menu,".mm-tabstart")[0]),i&&i.focus()}};this.bind("open:finish",s),this.bind("openPanel:finish",s),this.bind("initOpened:after:sr-aria",function(){[e.node.menu,We.node.blck].forEach(function(e){qe(e,".mm-tabstart, .mm-tabend").forEach(function(e){We.sr_aria(e,"hidden",!0),We.sr_role(e,"presentation")})})})}}}n.dn(Et),We.options.keyboardNavigation={enable:!1,enhance:!1};var At=function(e){var t=this;Ze(document.body,"keydown.tabguard"),Ze(document.body,"focusin.tabguard"),Ve(document.body,"focusin.tabguard",function(e){if(t.node.wrpr.matches(".mm-wrapper_opened")){var n=e.target;if(n.matches(".mm-tabend")){var i=void 0;n.parentElement.matches(".mm-menu")&&We.node.blck&&(i=We.node.blck),n.parentElement.matches(".mm-wrapper__blocker")&&(i=$e(document.body,".mm-menu_offcanvas.mm-menu_opened")[0]),i||(i=n.parentElement),i&&qe(i,".mm-tabstart")[0].focus()}}}),Ze(document.body,"keydown.navigate"),Ve(document.body,"keydown.navigate",function(t){var n=t.target,i=n.closest(".mm-menu");if(i){if(i.mmApi,!n.matches("input, textarea"))switch(t.keyCode){case 13:(n.matches(".mm-toggle")||n.matches(".mm-check"))&&n.dispatchEvent(new Event("click"));break;case 32:case 37:case 38:case 39:case 40:t.preventDefault()}if(e)if(n.matches("input"))27===t.keyCode&&(n.value="");else{var r=i.mmApi;switch(t.keyCode){case 8:var o=$e(i,".mm-panel_opened")[0].mmParent;
23o&&r.openPanel(o.closest(".mm-panel"));break;case 27:i.matches(".mm-menu_offcanvas")&&r.close()}}}})};function Lt(){var e=this,t=function(e){return"boolean"==typeof e&&(e={load:e}),"object"!=typeof e&&(e={}),e}(this.opts.lazySubmenus);this.opts.lazySubmenus=be(t,We.options.lazySubmenus),t.load&&(this.bind("initPanels:before",function(){var t=[];$e(e.node.pnls,"li").forEach(function(n){t.push.apply(t,qe(n,e.conf.panelNodetype.join(", ")))}),t.filter(function(e){return!e.matches(".mm-listview_inset")}).filter(function(e){return!e.matches(".mm-nolistview")}).filter(function(e){return!e.matches(".mm-nopanel")}).forEach(function(e){["mm-panel_lazysubmenu","mm-nolistview","mm-nopanel"].forEach(function(t){e.classList.add(t)})})}),this.bind("initPanels:before",function(){var t=[];$e(e.node.pnls,"."+e.conf.classNames.selected).forEach(function(e){t.push.apply(t,Oe(e,".mm-panel_lazysubmenu"))}),t.length&&t.forEach(function(e){console.log(e),["mm-panel_lazysubmenu","mm-nolistview","mm-nopanel"].forEach(function(t){e.classList.remove(t)})})}),this.bind("openPanel:before",function(t){var n=$e(t,".mm-panel_lazysubmenu").filter(function(e){return!e.matches(".mm-panel_lazysubmenu .mm-panel_lazysubmenu")});t.matches(".mm-panel_lazysubmenu")&&n.unshift(t),n.forEach(function(t){["mm-panel_lazysubmenu","mm-nolistview","mm-nopanel"].forEach(function(e){t.classList.remove(e)}),e.initPanel(t)})}))}n.dn(Lt),We.options.lazySubmenus={load:!1};function jt(e){var t=this,n=Me("div.mm-navbar__breadcrumbs");e.append(n),this.bind("initNavbar:after",function(e){if(!e.querySelector(".mm-navbar__breadcrumbs")){qe(e,".mm-navbar")[0].classList.add("mm-hidden");for(var n=[],i=Me("span.mm-navbar__breadcrumbs"),r=e,o=!0;r;){if(!(r=r.closest(".mm-panel")).parentElement.matches(".mm-listitem_vertical")){var s=$e(r,".mm-navbar__title span")[0];if(s){var a=s.textContent;a.length&&n.unshift(o?"<span>"+a+"</span>":'<a href="#'+r.id+'">'+a+"</a>")}o=!1}r=r.mmParent}t.conf.navbars.breadcrumbs.removeFirst&&n.shift(),i.innerHTML=n.join('<span class="mm-separator">'+t.conf.navbars.breadcrumbs.separator+"</span>"),qe(e,".mm-navbar")[0].append(i)}}),this.bind("openPanel:start",function(e){var t=e.querySelector(".mm-navbar__breadcrumbs");n.innerHTML=t?t.innerHTML:""}),this.bind("initNavbar:after:sr-aria",function(e){$e(e,".mm-breadcrumbs a").forEach(function(e){We.sr_aria(e,"owns",e.getAttribute("href").slice(1))})})}function Pt(e){var t=this,n=Me("a.mm-btn.mm-btn_close.mm-navbar__btn");e.append(n),this.bind("setPage:after",function(e){n.setAttribute("href","#"+e.id)}),this.bind("setPage:after:sr-text",function(){n.innerHTML=We.sr_text(t.i18n(t.conf.screenReader.text.closeMenu))})}function It(e){var t,n,i,r=this,o=Me("a.mm-btn.mm-btn_prev.mm-navbar__btn");e.append(o),this.bind("initNavbar:after",function(e){qe(e,".mm-navbar")[0].classList.add("mm-hidden")}),this.bind("openPanel:start",function(e){e.parentElement.matches(".mm-listitem_vertical")||((t=e.querySelector("."+r.conf.classNames.navbars.panelPrev))||(t=e.querySelector(".mm-navbar__btn.mm-btn_prev")),n=t?t.getAttribute("href"):"",i=t?t.innerHTML:"",n?o.setAttribute("href",n):o.removeAttribute("href"),o.classList[n||i?"remove":"add"]("mm-hidden"),o.innerHTML=i)}),this.bind("initNavbar:after:sr-aria",function(e){We.sr_aria(e.querySelector(".mm-navbar"),"hidden",!0)}),this.bind("openPanel:start:sr-aria",function(e){We.sr_aria(o,"hidden",o.matches(".mm-hidden")),We.sr_aria(o,"owns",(o.getAttribute("href")||"").slice(1))})}function Mt(e){"object"!=_e(this.opts.searchfield)&&(this.opts.searchfield={});var t=Me("div.mm-navbar__searchfield");e.append(t),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=[t]}function $t(e){var t,n,i,r,o=this,s=Me("a.mm-navbar__title"),a=Me("span");s.append(a),e.append(s),this.bind("openPanel:start",function(e){e.parentElement.matches(".mm-listitem_vertical")||((i=e.querySelector("."+o.conf.classNames.navbars.panelTitle))||(i=e.querySelector(".mm-navbar__title span")),(t=i&&i.closest("a")?i.closest("a").getAttribute("href"):"")?s.setAttribute("href",t):s.removeAttribute("href"),n=i?i.innerHTML:"",a.innerHTML=n)}),this.bind("openPanel:start:sr-aria",function(e){if(o.opts.screenReader.text&&(r||qe(o.node.menu,".mm-navbars_top, .mm-navbars_bottom").forEach(function(e){var t=e.querySelector(".mm-btn_prev");t&&(r=t)}),r)){var t=!0;"parent"==o.opts.navbar.titleLink&&(t=!r.matches(".mm-hidden")),We.sr_aria(s,"hidden",t)}})}function qt(e){var t=this;e.classList.add("mm-navbar_tabs"),e.parentElement.classList.add("mm-navbars_has-tabs");var n=qe(e,"a");e.addEventListener("click",function(e){var n=e.target;if(n.matches("a"))if(n.matches(".mm-navbar__tab_selected"))e.stopImmediatePropagation();
23else try{t.openPanel(t.node.menu.querySelector(n.getAttribute("href")),!1),e.stopImmediatePropagation()}catch(e){}}),this.bind("openPanel:start",function e(t){n.forEach(function(e){e.classList.remove("mm-navbar__tab_selected")});var i=n.filter(function(e){return e.matches('[href="#'+t.id+'"]')})[0];if(i)i.classList.add("mm-navbar__tab_selected");else{var r=t.mmParent;r&&e.call(this,r.closest(".mm-panel"))}})}function Ot(){var e=this,t=this.opts.navbars;if(void 0!==t){t instanceof Array||(t=[t]);var n={};t.length&&(t.forEach(function(t){if(!(t=function(e){return"boolean"==typeof e&&e&&(e={}),"object"!=typeof e&&(e={}),void 0===e.content&&(e.content=["prev","title"]),e.content instanceof Array||(e.content=[e.content]),void 0===e.use&&(e.use=!0),"boolean"==typeof e.use&&e.use&&(e.use=!0),e}(t)).use)return!1;var i=Me("div.mm-navbar"),r=t.position;"bottom"!==r&&(r="top"),n[r]||(n[r]=Me("div.mm-navbars_"+r)),n[r].append(i);for(var o=0,s=t.content.length;o<s;o++){var a,l=t.content[o];if("string"==typeof l)if("function"==typeof(a=Ot.navbarContents[l]))a.call(e,i);else{var c=Me("span");c.innerHTML=l;var u=qe(c);1==u.length&&(c=u[0]),i.append(c)}else i.append(l)}"string"==typeof t.type&&"function"==typeof(a=Ot.navbarTypes[t.type])&&a.call(e,i),"boolean"!=typeof t.use&&He(t.use,function(){i.classList.remove("mm-hidden"),We.sr_aria(i,"hidden",!1)},function(){i.classList.add("mm-hidden"),We.sr_aria(i,"hidden",!0)})}),this.bind("initMenu:after",function(){for(var t in n)e.node.menu["bottom"==t?"append":"prepend"](n[t])}))}}n.dn(jt),n.dn(Pt),n.dn(It),n.dn(Mt),n.dn($t),n.dn(qt),We.options.navbars=[],We.configs.navbars={breadcrumbs:{separator:"/",removeFirst:!1}},We.configs.classNames.navbars={panelPrev:"Prev",panelTitle:"Title"},Ot.navbarContents={breadcrumbs:jt,close:Pt,prev:It,searchfield:Mt,title:$t},Ot.navbarTypes={tabs:qt};function Nt(){var e=this,t=function(e){return"boolean"==typeof e&&(e={scroll:e}),"object"!=typeof e&&(e={}),e}(this.opts.pageScroll);this.opts.pageScroll=be(t,We.options.pageScroll);var n,i=this.conf.pageScroll;function r(){n&&window.scrollTo({top:n.getBoundingClientRect().top+document.scrollingElement.scrollTop-i.scrollOffset,behavior:"smooth"}),n=null}function o(e){try{return"#"!=e&&"#"==e.slice(0,1)?We.node.page.querySelector(e):null}catch(e){return null}}if(t.scroll&&this.bind("close:finish",function(){r()}),this.opts.offCanvas&&t.scroll&&this.clck.push(function(t,i){if(n=null,i.inMenu){var s=t.getAttribute("href");if(n=o(s))return e.node.menu.matches(".mm-menu_sidebar-expanded")&&e.node.wrpr.matches(".mm-wrapper_sidebar-expanded")?void r():{close:!0}}}),t.update){var s=[];this.bind("initListview:after",function(e){De(qe(e,".mm-listitem")).forEach(function(e){var t=o(e.getAttribute("href"));t&&s.unshift(t)})});var a=-1;window.addEventListener("scroll",function(t){for(var n=window.scrollY,r=0;r<s.length;r++)if(s[r].offsetTop<n+i.updateOffset){if(a!==r){a=r;var o=De($e(qe(e.node.pnls,".mm-panel_opened")[0],".mm-listitem"));(o=o.filter(function(e){return e.matches('[href="#'+s[r].id+'"]')})).length&&e.setSelected(o[0].parentElement)}break}})}}n.dn(Nt),We.options.pageScroll={scroll:!1,update:!1},We.configs.pageScroll={scrollOffset:0,updateOffset:50};const Dt={Search:"Zoeken","No results found.":"Geen resultaten gevonden.",cancel:"annuleren"},Bt={Search:"جستجو","No results found.":"نتیجه‌ای یافت نشد.",cancel:"انصراف"},Rt={Search:"Suche","No results found.":"Keine Ergebnisse gefunden.",cancel:"beenden"},Ht={Search:"Найти","No results found.":"Ничего не найдено.",cancel:"отменить"};function zt(){Ee(Dt,"nl"),Ee(Bt,"fa"),Ee(Rt,"de"),Ee(Ht,"ru")}n.dn(zt),n.dn(Ft);function Ft(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"object"!=typeof e&&(e={}),"boolean"==typeof e.panel&&(e.panel={add:e.panel}),"object"!=typeof e.panel&&(e.panel={}),"panel"==e.addTo&&(e.panel.add=!0),e.panel.add&&(e.showSubPanels=!1,e.panel.splash&&(e.cancel=!0)),e}(this.opts.searchfield);this.opts.searchfield=be(t,We.options.searchfield),this.conf.searchfield,t.add&&(this.bind("close:start",function(){$e(e.node.menu,".mm-searchfield").forEach(function(e){e.blur()})}),this.bind("initPanel:after",function(n){var i=null;t.panel.add&&(i=Wt.call(e));var r=null;switch(t.addTo){case"panels":r=[n];break;case"panel":r=[i];break;default:"string"==typeof t.addTo?r=$e(e.node.menu,t.addTo):"array"==_e(t.addTo)&&(r=t.addTo)}r.forEach(function(n){n=Ut.call(e,n),t.search&&n&&Vt.call(e,n)}),t.noResults&&Zt.call(e,t.panel.add?i:n)}),this.clck.push(function(t,n){if(n.inMenu&&t.matches(".mm-searchfield__btn")){if(t.matches(".mm-btn_close")){var i=$e(r=t.closest(".mm-searchfield"),"input")[0];return i.value="",e.search(i),!0}var r;if(t.matches(".mm-btn_next"))return(r=t.closest("form"))&&r.submit(),!0}}))}zt(),We.options.searchfield={add:!1,addTo:"panels",cancel:!1,noResults:"No results found.",placeholder:"Search",panel:{add:!1,dividers:!0,fx:"none",id:null,
23splash:null,title:"Search"},search:!0,showTextItems:!1,showSubPanels:!0},We.configs.searchfield={clear:!1,form:!1,input:!1,submit:!1};var Wt=function(){var e=this.opts.searchfield,t=(this.conf.searchfield,qe(this.node.pnls,".mm-panel_search")[0]);if(t)return t;t=Me("div.mm-panel.mm-panel_search.mm-hidden"),e.panel.id&&(t.id=e.panel.id),e.panel.title&&t.setAttribute("data-mm-title",e.panel.title);var n=Me("ul");switch(t.append(n),this.node.pnls.append(t),this.initListview(n),this._initNavbar(t),e.panel.fx){case!1:break;case"none":t.classList.add("mm-panel_noanimation");break;default:t.classList.add("mm-panel_fx-"+e.panel.fx)}if(e.panel.splash){var i=Me("div.mm-panel__content");i.innerHTML=e.panel.splash,t.append(i)}return t.classList.add("mm-panel"),t.classList.add("mm-hidden"),this.node.pnls.append(t),t},Ut=function(e){var t=this.opts.searchfield,n=this.conf.searchfield;if(e.parentElement.matches(".mm-listitem_vertical"))return null;if(o=$e(e,".mm-searchfield")[0])return o;function i(e,t){if(t)for(var n in t)e.setAttribute(n,t[n])}var r,o=Me((n.form?"form":"div")+".mm-searchfield"),s=Me("div.mm-searchfield__input"),a=Me("input");return a.type="text",a.autocomplete="off",a.placeholder=this.i18n(t.placeholder),s.append(a),o.append(s),e.prepend(o),i(a,n.input),n.clear&&((r=Me("a.mm-btn.mm-btn_close.mm-searchfield__btn")).setAttribute("href","#"),s.append(r)),i(o,n.form),n.form&&n.submit&&!n.clear&&((r=Me("a.mm-btn.mm-btn_next.mm-searchfield__btn")).setAttribute("href","#"),s.append(r)),t.cancel&&((r=Me("a.mm-searchfield__cancel")).setAttribute("href","#"),r.textContent=this.i18n("cancel"),o.append(r)),o},Vt=function(e){var t=this,n=this.opts.searchfield,i=(this.conf.searchfield,{});e.closest(".mm-panel_search")?(i.panels=$e(this.node.pnls,".mm-panel"),i.noresults=[e.closest(".mm-panel")]):e.closest(".mm-panel")?(i.panels=[e.closest(".mm-panel")],i.noresults=i.panels):(i.panels=$e(this.node.pnls,".mm-panel"),i.noresults=[this.node.menu]),i.panels=i.panels.filter(function(e){return!e.matches(".mm-panel_search")}),i.panels=i.panels.filter(function(e){return!e.parentElement.matches(".mm-listitem_vertical")}),i.listitems=[],i.dividers=[],i.panels.forEach(function(e){var t,n;(t=i.listitems).push.apply(t,$e(e,".mm-listitem")),(n=i.dividers).push.apply(n,$e(e,".mm-divider"))});
23var r=qe(this.node.pnls,".mm-panel_search")[0],o=$e(e,"input")[0],s=$e(e,".mm-searchfield__cancel")[0];o.mmSearchfield=i,n.panel.add&&n.panel.splash&&(Ze(o,"focus.splash"),Ve(o,"focus.splash",function(e){t.openPanel(r)})),n.cancel&&(Ze(o,"focus.cancel"),Ve(o,"focus.cancel",function(e){s.classList.add("mm-searchfield__cancel-active")}),Ze(s,"click.splash"),Ve(s,"click.splash",function(e){if(e.preventDefault(),s.classList.remove("mm-searchfield__cancel-active"),r.matches(".mm-panel_opened")){var n=qe(t.node.pnls,".mm-panel_opened-parent");n.length&&t.openPanel(n[n.length-1])}})),n.panel.add&&"panel"==n.addTo&&this.bind("openPanel:finish",function(e){e===r&&o.focus()}),Ze(o,"input.search"),Ve(o,"input.search",function(e){switch(e.keyCode){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:break;default:t.search(o)}}),this.search(o)},Zt=function(e){if(e){var t=this.opts.searchfield;if(this.conf.searchfield,e.closest(".mm-panel")||(e=qe(this.node.pnls,".mm-panel")[0]),!qe(e,".mm-panel__noresultsmsg").length){var n=Me("div.mm-panel__noresultsmsg.mm-hidden");n.innerHTML=this.i18n(t.noResults),e.append(n)}}};We.prototype.search=function(e,t){var n,i=this,r=this.opts.searchfield;this.conf.searchfield,t=(t=t||""+e.value).toLowerCase().trim();var o=e.mmSearchfield,s=$e(e.closest(".mm-searchfield"),".mm-btn"),a=qe(this.node.pnls,".mm-panel_search")[0],l=o.panels,c=o.noresults,u=o.listitems,d=o.dividers;if(u.forEach(function(e){e.classList.remove("mm-listitem_nosubitems"),e.classList.remove("mm-listitem_onlysubitems"),e.classList.remove("mm-hidden")}),a&&(qe(a,".mm-listview")[0].innerHTML=""),l.forEach(function(e){e.scrollTop=0}),t.length){d.forEach(function(e){e.classList.add("mm-hidden")}),u.forEach(function(e){var n,i=qe(e,".mm-listitem__text")[0],o=!1;i&&(n=i,Array.prototype.slice.call(n.childNodes).filter(function(e){return 3==e.nodeType}).map(function(e){return e.textContent}).join(" ")).toLowerCase().indexOf(t)>-1&&(i.matches(".mm-listitem__btn")?r.showSubPanels&&(o=!0):(i.matches("a")||r.showTextItems)&&(o=!0)),o||e.classList.add("mm-hidden")});var p=u.filter(function(e){return!e.matches(".mm-hidden")}).length;if(r.panel.add){var f=[];l.forEach(function(e){var t=Ne($e(e,".mm-listitem"));if((t=t.filter(function(e){return!e.matches(".mm-hidden")})).length){if(r.panel.dividers){var n=Me("li.mm-divider"),i=$e(e,".mm-navbar__title")[0];i&&(n.innerHTML=i.innerHTML,f.push(n))}t.forEach(function(e){f.push(e.cloneNode(!0))})}}),f.forEach(function(e){e.querySelectorAll(".mm-toggle, .mm-check").forEach(function(e){e.remove()})}),(n=qe(a,".mm-listview")[0]).append.apply(n,f),this.openPanel(a)}else r.showSubPanels&&l.forEach(function(e){Ne($e(e,".mm-listitem")).forEach(function(e){var t=e.mmChild;t&&$e(t,".mm-listitem").forEach(function(e){e.classList.remove("mm-hidden")})})}),function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i}(l).reverse().forEach(function(t,n){var r=t.mmParent;r&&(Ne($e(t,".mm-listitem")).length?(r.matches(".mm-hidden")&&r.classList.remove("mm-hidden"),r.classList.add("mm-listitem_onlysubitems")):e.closest(".mm-panel")||((t.matches(".mm-panel_opened")||t.matches(".mm-panel_opened-parent"))&&setTimeout(function(){i.openPanel(r.closest(".mm-panel"))},(n+1)*(1.5*i.conf.openingInterval)),r.classList.add("mm-listitem_nosubitems")))}),l.forEach(function(e){Ne($e(e,".mm-listitem")).forEach(function(e){Oe(e,".mm-listitem_vertical").forEach(function(e){e.matches(".mm-hidden")&&(e.classList.remove("mm-hidden"),e.classList.add("mm-listitem_onlysubitems"))})})}),l.forEach(function(e){Ne($e(e,".mm-listitem")).forEach(function(e){var t=function(e,t){for(var n=[],i=e.previousElementSibling;i;)t&&!i.matches(t)||n.push(i),i=i.previousElementSibling;return n}(e,".mm-divider")[0];t&&t.classList.remove("mm-hidden")})});s.forEach(function(e){return e.classList.remove("mm-hidden")}),c.forEach(function(e){$e(e,".mm-panel__noresultsmsg").forEach(function(e){return e.classList[p?"add":"remove"]("mm-hidden")})}),r.panel.add&&(r.panel.splash&&$e(a,".mm-panel__content").forEach(function(e){return e.classList.add("mm-hidden")}),u.forEach(function(e){return e.classList.remove("mm-hidden")}),d.forEach(function(e){return e.classList.remove("mm-hidden")}))}else if(u.forEach(function(e){return e.classList.remove("mm-hidden")}),d.forEach(function(e){return e.classList.remove("mm-hidden")}
23),s.forEach(function(e){return e.classList.add("mm-hidden")}),c.forEach(function(e){$e(e,".mm-panel__noresultsmsg").forEach(function(e){return e.classList.add("mm-hidden")})}),r.panel.add)if(r.panel.splash)$e(a,".mm-panel__content").forEach(function(e){return e.classList.remove("mm-hidden")});else if(!e.closest(".mm-panel_search")){var h=qe(this.node.pnls,".mm-panel_opened-parent");this.openPanel(h.slice(-1)[0])}this.trigger("updateListview")};function Yt(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"object"!=typeof e&&(e={}),e}(this.opts.sectionIndexer);this.opts.sectionIndexer=be(t,We.options.sectionIndexer),t.add&&this.bind("initPanels:after",function(){if(!e.node.indx){var t="";"abcdefghijklmnopqrstuvwxyz".split("").forEach(function(e){t+='<a href="#">'+e+"</a>"});var n=Me("div.mm-sectionindexer");n.innerHTML=t,e.node.pnls.prepend(n),e.node.indx=n,e.node.indx.addEventListener("click",function(e){e.target.matches("a")&&e.preventDefault()});var i=function(t){if(t.target.matches("a")){var n=t.target.textContent,i=qe(e.node.pnls,".mm-panel_opened")[0],r=-1,o=i.scrollTop;i.scrollTop=0,$e(i,".mm-divider").filter(function(e){return!e.matches(".mm-hidden")}).forEach(function(e){r<0&&n==e.textContent.trim().slice(0,1).toLowerCase()&&(r=e.offsetTop)}),i.scrollTop=r>-1?r:o}};rt?(e.node.indx.addEventListener("touchstart",i),e.node.indx.addEventListener("touchmove",i)):e.node.indx.addEventListener("mouseover",i)}e.bind("openPanel:start",function(t){var n=$e(t,".mm-divider").filter(function(e){return!e.matches(".mm-hidden")}).length;e.node.indx.classList[n?"add":"remove"]("mm-sectionindexer_active")})})}n.dn(Yt),We.options.sectionIndexer={add:!1,addTo:"panels"};function Gt(){var e=this,t=function(e){return"boolean"==typeof e&&(e={hover:e,parent:e}),"object"!=typeof e&&(e={}),e}(this.opts.setSelected);if(this.opts.setSelected=be(t,We.options.setSelected),"detect"==t.current){var n=function(t){t=t.split("?")[0].split("#")[0];var i=e.node.menu.querySelector('a[href="'+t+'"], a[href="'+t+'/"]');if(i)e.setSelected(i.parentElement);else{var r=t.split("/").slice(0,-1);r.length&&n(r.join("/"))}};this.bind("initMenu:after",function(){n.call(e,window.location.href)})}else t.current||this.bind("initListview:after",function(e){qe(e,".mm-listitem_selected").forEach(function(e){e.classList.remove("mm-listitem_selected")})});t.hover&&this.bind("initMenu:after",function(){e.node.menu.classList.add("mm-menu_selected-hover")}),t.parent&&(this.bind("openPanel:finish",function(t){$e(e.node.pnls,".mm-listitem_selected-parent").forEach(function(e){e.classList.remove("mm-listitem_selected-parent")});for(var n=t.mmParent;n;)n.matches(".mm-listitem_vertical")||n.classList.add("mm-listitem_selected-parent"),n=(n=n.closest(".mm-panel")).mmParent}),this.bind("initMenu:after",function(){e.node.menu.classList.add("mm-menu_selected-parent")}))}n.dn(Gt),We.options.setSelected={current:!0,hover:!1,parent:!1};function Xt(){var e=this;if(this.opts.offCanvas){var t=function(e){return("string"==typeof e||"boolean"==typeof e&&e||"number"==typeof e)&&(e={expanded:e}),"object"!=typeof e&&(e={}),"boolean"==typeof e.collapsed&&e.collapsed&&(e.collapsed={use:!0}),"string"!=typeof e.collapsed&&"number"!=typeof e.collapsed||(e.collapsed={use:e.collapsed}),"object"!=typeof e.collapsed&&(e.collapsed={}),"boolean"==typeof e.expanded&&e.expanded&&(e.expanded={use:!0}),"string"!=typeof e.expanded&&"number"!=typeof e.expanded||(e.expanded={use:e.expanded}),"object"!=typeof e.expanded&&(e.expanded={}),e}(this.opts.sidebar);if(this.opts.sidebar=be(t,We.options.sidebar),t.collapsed.use){this.bind("initMenu:after",function(){if(e.node.menu.classList.add("mm-menu_sidebar-collapsed"),t.collapsed.blockMenu&&e.opts.offCanvas&&!qe(e.node.menu,".mm-menu__blocker")[0]){var n=Me("a.mm-menu__blocker");n.setAttribute("href","#"+e.node.menu.id),e.node.menu.prepend(n)}t.collapsed.hideNavbar&&e.node.menu.classList.add("mm-menu_hidenavbar"),t.collapsed.hideDivider&&e.node.menu.classList.add("mm-menu_hidedivider")});var n=function(){e.node.wrpr.classList.add("mm-wrapper_sidebar-collapsed")},i=function(){e.node.wrpr.classList.remove("mm-wrapper_sidebar-collapsed")};"boolean"==typeof t.collapsed.use?this.bind("initMenu:after",n):He(t.collapsed.use,n,i)}if(t.expanded.use){this.bind("initMenu:after",function(){e.node.menu.classList.add("mm-menu_sidebar-expanded")}),n=function(){e.node.wrpr.classList.add("mm-wrapper_sidebar-expanded"),e.node.wrpr.matches(".mm-wrapper_sidebar-closed")||e.open()},i=function(){e.node.wrpr.classList.remove("mm-wrapper_sidebar-expanded"),e.close()},"boolean"==typeof t.expanded.use?this.bind("initMenu:after",n):He(t.expanded.use,n,i),this.bind("close:start",function(){e.node.wrpr.matches(".mm-wrapper_sidebar-expanded")&&(e.node.wrpr.classList.add("mm-wrapper_sidebar-closed"),"remember"==t.expanded.initial&&window.localStorage.setItem("mmenuExpandedState","closed"))}),this.bind("open:start",function(){e.node.wrpr.matches(".mm-wrapper_sidebar-expanded")&&(e.node.wrpr.classList.remove("mm-wrapper_sidebar-closed"),"remember"==t.expanded.initial&&window.localStorage.setItem("mmenuExpandedState","open"))});var r=t.expanded.initial;if("remember"==t.expanded.initial){var o=window.localStorage.getItem("mmenuExpandedState");switch(o){case"open":case"closed":r=o}}
23"closed"==r&&this.bind("initMenu:after",function(){e.node.wrpr.classList.add("mm-wrapper_sidebar-closed")}),this.clck.push(function(n,i){if(i.inMenu&&i.inListview&&e.node.wrpr.matches(".mm-wrapper_sidebar-expanded"))return{close:"closed"==t.expanded.initial}})}}}function Kt(){var e=this;this.bind("initPanel:after",function(t){$e(t,"input").forEach(function(t){Be(t,e.conf.classNames.toggles.toggle,"mm-toggle"),Be(t,e.conf.classNames.toggles.check,"mm-check")})})}function Qt(){this.opts.onClick={close:!0,preventDefault:!1,setSelected:!0}}function Jt(){var e=this;if(this.node.menu.matches(".navbar-collapse")){this.conf.offCanvas&&(this.conf.offCanvas.clone=!1);var t=Me("nav"),n=Me("div");t.append(n),qe(this.node.menu).forEach(function(t){switch(!0){case t.matches(".navbar-nav"):n.append(function(e){var t=Me("ul");return $e(e,".nav-item").forEach(function(e){var n=Me("li");if(e.matches(".active")&&n.classList.add("Selected"),!e.matches(".nav-link")){var i=qe(e,".dropdown-menu")[0];i&&n.append(s(i)),e=qe(e,".nav-link")[0]}n.prepend(o(e)),t.append(n)}),t}(t));break;case t.matches(".dropdown-menu"):n.append(s(t));break;case t.matches(".form-inline"):e.conf.searchfield.form={action:t.getAttribute("action")||null,method:t.getAttribute("method")||null},e.conf.searchfield.input={name:t.querySelector("input").getAttribute("name")||null},e.conf.searchfield.clear=!1,e.conf.searchfield.submit=!0;break;default:n.append(t.cloneNode(!0))}}),this.bind("initMenu:before",function(){document.body.prepend(t),e.node.menu=t});var i=this.node.menu.parentElement;if(i){var r=i.querySelector(".navbar-toggler");r&&(r.removeAttribute("data-target"),r.removeAttribute("aria-controls"),r.outerHTML=r.outerHTML,(r=i.querySelector(".navbar-toggler")).addEventListener("click",function(t){t.preventDefault(),t.stopImmediatePropagation(),e[e.vars.opened?"close":"open"]()}))}}function o(e){for(var t=Me(e.matches("a")?"a":"span"),n=["href","title","target"],i=0;i<n.length;i++)e.getAttribute(n[i])&&t.setAttribute(n[i],e.getAttribute(n[i]));return t.innerHTML=e.innerHTML,$e(t,".sr-only").forEach(function(e){e.remove()}),t}function s(e){var t=Me("ul");return qe(e).forEach(function(e){var n=Me("li");e.matches(".dropdown-divider")?n.classList.add("Divider"):e.matches(".dropdown-item")&&n.append(o(e)),t.append(n)}),t}}function en(){this.conf.offCanvas.page.noSelector.push("#olark")}function tn(){var e;document.addEventListener("turbolinks:before-visit",function(t){e=document.querySelector(".mm-wrapper").className.split(" ").filter(function(e){return/mm-/.test(e)})}),document.addEventListener("turbolinks:load",function(t){void 0!==e&&(document.querySelector(".mm-wrapper").className=e)})}function nn(){this.conf.classNames.selected="current-menu-item";var e=document.getElementById("wpadminbar");e&&(e.style.position="fixed",e.classList.add("mm-slideout"))}n.dn(Xt),We.options.sidebar={collapsed:{use:!1,blockMenu:!0,hideDivider:!1,hideNavbar:!0},expanded:{use:!1,initial:"open"}},n.dn(Kt),We.configs.classNames.toggles={toggle:"Toggle",check:"Check"},n.dn(Qt),n.dn(Jt),n.dn(en),n.dn(tn),n.dn(nn),We.addons={offcanvas:Ye,screenReader:nt,scrollBugFix:ot,autoHeight:st,backButton:at,columns:lt,counters:ct,dividers:ut,drag:xt,dropdown:St,fixedElements:kt,iconbar:Tt,iconPanels:Ct,keyboardNavigation:Et,lazySubmenus:Lt,navbars:Ot,pageScroll:Nt,searchfield:Ft,sectionIndexer:Yt,setSelected:Gt,sidebar:Xt,toggles:Kt},We.wrappers={angular:Qt,bootstrap:Jt,olark:en,turbolinks:tn,wordpress:nn};const rn=We;window&&(window.Mmenu=We),function(e){e&&(e.fn.mmenu=function(t,n){var i=e();return this.each(function(r,o){if(!o.mmApi){var s=new We(o,t,n),a=e(s.node.menu);a.data("mmenu",s.API),i=i.add(a)}}),i})}(window.jQuery||window.Zepto||null);var on=n(796);const sn={mmTrigger:on(".js-mm-trigger"),body:on("body"),langSwitch:on(".c-header .c-language-switch"),institutionDetailPageMenu:on("#institution-detail-page-menu")},an=".c-app",ln="#menu-mm",cn=".c-menu-mm__link",un=".c-close-btn",dn=".c-language-switch__list",pn=".c-language-switch--mm";let fn=null;function hn(){let e=window.projectSettings.config.menu.url;e&&function(){let e=!1;return!function(){let e=!1;return sn.body.find(ln).length&&(e=!0),e}()&&(("xxs"===t().getContext()||"xs"===t().getContext()||"sm"===t().getContext()||"md"===t().getContext()||"lg"===t().getContext()||function(){let e=!1;return sn.body.find(".c-menu-sub-simple .js-mm-trigger").length&&(e=!0),e}()||on("body").hasClass("desktop-show-mm-nav"))&&(e=!0),e)}()&&fetch(e).then(function(e){return e.text()}).then(function(e){return(new DOMParser).parseFromString(e,"text/html").querySelector(ln).outerHTML}).then(function(e){var t;t=e,on(an).append(t),function(e){let t=0,n=setInterval(function(){t+=100;let i=R(e).length;(i||t>=1e4)&&(clearInterval(n),i&&(sn.langSwitch&&on(dn).clone().appendTo(pn),function(){let e=on(ln),t=e.find(un);(function(e){let t=window.projectSettings.config.menu.current,n=e.find(cn),i=e.find('[data-page-id="'+t+'"]');t&&i.length&&(i.attr("aria-current","page").addClass("active"),n.each(function(e,n){let i=on(n).next();i.length&&i.find('[data-page-id="'+t+'"]').length&&on(n).addClass("active")}))})(e),fn=new rn(ln,{extensions:["pagedim-black","position-front"],navbars:[{position:"top",content:["prev","title"]}]},{offCanvas:{page:{selector:an}}}),on("body").trigger("tx_solr_updated"),sn.mmTrigger.on("click",function(){const e=sn.body.prop("id").split("_")[1],t=document.querySelector('[data-page-id="'+e+'"]');if(on(".c-main__aside").find(".c-menu-sub-simple__list").length||on(t).parent().find(".mm-btn_next").length&&on(t).parent().find(".mm-btn_next").remove(),e&&!isNaN(e)){const t=on(`[data-page-id='${e}']`).closest(".mm-panel").attr("id"),n=on(`[data-page-id='${e}']`).parent().find(".mm-btn_next").attr("href");if(n){const e=document.querySelector(`${n}`);
23fn.openPanel(e)}else{const e=document.querySelector(`#${t}`);fn.openPanel(e)}}fn.open()}),t.on("click",function(){fn.close()}),B(e)}()))},100)}(ln)}).catch(function(e){console.log("Failed to fetch page: ",e)})}const mn=function(){sn.mmTrigger.length&&(hn(),on(window).smartresize(function(){hn()}))};var gn=n(796);const vn={langSwitch:gn(".js-language-switch:not(.init)")},yn=function(){vn.langSwitch.length&&function(){let e=vn.langSwitch.find(".c-language-switch__button");gn(e).on("click",function(){let t=vn.langSwitch.find(".c-language-switch__list");"false"!==gn(e).attr("aria-expanded")?(t.slideUp("fast"),gn(e).attr("aria-expanded","false")):(t.slideDown("fast"),gn(e).attr("aria-expanded","true"))}),B(vn.langSwitch)}()};var bn=n(796);const _n={ctaContainer:bn("#sticky-cta-wrapper"),ctaWrappers:bn(".c-sticky-cta-wrapper"),ctaStickyJobWrapper:bn(".js-sticky-cta-job"),ctaAlwaysOn:!!bn(".c-sticky-cta-wrapper.c-sticky-cta-wrapper--always-on").length},wn=function(){_n.ctaContainer.length&&(function(){if(document.querySelectorAll(".c-sticky-cta-wrapper.js-sticky-cta-job").length&&document.querySelectorAll(".c-sticky-cta-wrapper:not(.js-sticky-cta-job)").length){document.querySelector(".c-sticky-cta-wrapper.js-sticky-cta-job").style.display="none";const e=document.querySelectorAll(".c-sticky-cta-wrapper.js-sticky-cta-job .c-sticky-cta"),t=document.querySelector(".c-sticky-cta-wrapper:not(.js-sticky-cta-job) .c-elevator-navigation-scrollto-wrapper");Array.from(e).reverse().forEach(e=>{let n=e.parentNode.removeChild(e);t?t.insertAdjacentElement("afterend",n):document.querySelector(".c-sticky-cta-wrapper:not(.js-sticky-cta-job) .c-sticky-cta-content").prepend(n)}),document.querySelector(".c-sticky-cta-wrapper.js-sticky-cta-job").remove(),_n.ctaContainer=bn("#sticky-cta-wrapper:not(.js-sticky-cta-job)")}_n.ctaAlwaysOn||_n.ctaContainer.hide(),bn("body").addClass("is-sticky-cta")}(),_n.ctaAlwaysOn||bn(window).scroll(function(){bn(this).scrollTop()>100?_n.ctaContainer.fadeIn():_n.ctaContainer.fadeOut()}))};var xn=n(796);const Sn={collapseEls:[]},kn="c-collapse-content__tab";function Tn(e){let t=xn(e.currentTarget);!function(e){let t=!1;return"false"!==e.attr("aria-expanded")&&(t=!0),t}(t)?En(t,!0):Cn(t)}function Cn(e){let t=e,n=xn("#"+t.attr("aria-controls"));t.attr("aria-expanded","false").removeClass("active"),n.attr("aria-hidden","true"),n.slideUp("fast")}function En(e,t){let n=e,i=xn("#"+n.attr("aria-controls"));!function(e){e.closest(".c-collapse-content").find("."+kn).each(function(e,t){Cn(xn(t))})}(n),n.attr("aria-expanded","true").addClass("active"),i.attr("aria-hidden","false"),i.slideDown("fast",function(){t&&function(e){z(e,!0)||S("#"+e.attr("id"),!1)}(n)})}const An=function(){Sn.collapseEls=xn(".js-collapse-content:not(.init)"),Sn.collapseEls.length&&Sn.collapseEls.each(function(e,t){let n=xn(t).find("."+kn);!function(e){let t=xn(e).find("."+kn),n=parseInt(xn(e).attr("data-open-panel"))||0;n&&En(xn(t[n-1]))}(t),n.each(function(e,t){xn(t).on("click",Tn)}),xn(t).addClass("init")})};var Ln=n(796);const jn={collapseFilter:Ln(".js-jobs-filter-collapse")},Pn="open",In=function(){0!==jn.collapseFilter.length&&function(){let e=jn.collapseFilter.find(".c-jobs-filter__collapse-button");Ln(e).on("click",function(){let t=jn.collapseFilter.find(".c-jobs-filter__collapse-content");"false"!==Ln(e).attr("aria-expanded")?(t.slideUp("fast"),Ln(e).attr("aria-expanded","false"),jn.collapseFilter.removeClass(Pn)):(t.slideDown("fast"),Ln(e).attr("aria-expanded","true"),jn.collapseFilter.addClass(Pn))})}()};var Mn=n(796);const $n={donationForm:Mn("#dynamicDonationForm")},qn=function(){0!==Mn(".js-donation-form").length&&(Mn(".js-donation-form select").on("change",function(e){if(Mn(e.target).hasClass("js-donation-form-form-selector")){let t=Mn(e.target).find(":selected").data("value"),n=Mn(e.target).find(":selected").prop("value");Mn('<input name="donationProjectID">').attr("type","hidden").val(n).appendTo($n.donationForm),Mn(e.target).find(":selected").prop("value",t)}$n.donationForm.submit()}),Mn('.js-donation-form input[type="radio"]').on("change",function(){$n.donationForm.submit()}))};var On=n(796);const Nn={$customToggles:On(".js-donation-widget-custom"),$widgetForm:On(".c-donation-widget__form")};function Dn(e){Bn(e)&&Rn(e.$input)}function Bn(e){return e.$options.filter(":checked")[0]===e.$toggle[0]}function Rn(e){e.focus()}function Hn(e){return e.val().length?(e.addClass("has-value"),!0):(e.removeClass("has-value"),!1)}function zn(e){let t=!0;return Bn(e)&&(t=!1,Hn(e.$input)&&e.$input.val()>0&&(t=!0)),t?e.$input.removeClass("has-error"):e.$input.addClass("has-error"),t}function Fn(e){let t=e.$input.attr("data-customamount-min-value");if(!t)return!0;let n=Bn(e),i=!0,r=Number(On(e.$form).find(".js-donation-form__select-frequency:checked").val())||1;return t=Number(t),2===r?t*=3:3===r?t*=6:4!==r&&5!==r||(t*=12),n&&t&&(i=!1,Hn(e.$input)&&e.$input.val()>
23=t&&(i=!0)),e.$input.siblings(".js-customamount-min-value-error").find(".js-customamount-min-value-error__amount").html(t),i?e.$input.siblings(".js-customamount-min-value-error").addClass("u-display-none"):e.$input.siblings(".js-customamount-min-value-error").removeClass("u-display-none"),i}function Wn(e,t){On(e).find("[data-frequency]").addClass("u-display-none"),On(e).find("[data-frequency]:not([data-frequency="+t+"]) input:checked").prop("checked",!1),On(e).find("[data-frequency="+t+"]").removeClass("u-display-none")}function Un(e,t,n,i,r){return On('<div class="c-donation-widget__option-wrap u-display-none" data-frequency="'+i+'"><input id="donation-widget-option_c-'+e+"_"+t+'" type="radio" name="'+r+'" class="c-donation-widget__option u-accessibility" value="'+n+'"><label for="donation-widget-option_c-'+e+"_"+t+'" class="c-donation-widget__label c-button c-button--simple u-typo:bold">'+n+" €</label></div>")}const Vn=function(){Nn.$customToggles&&(Nn.$widgetForm.each(function(e,t){let n=On(t),i=n.find(".js-donation-widget-custom"),r=n.find('[name="'+i.attr("name")+'"]'),o=On(i.attr("data-donation-widget-custom-input")),s=n.find("button[type=submit]");!function(e,t,n){let i=On(t).attr("data-amounts-interval-monthly");if(void 0===i||""===i)return!1;i=i.split(",");let r=On(t).find(".js-donation-form__select-frequency");if(!On(t).find(".c-donation-widget__custom-value").closest(".c-donation-widget--membership").length){let e=On(t).find(".c-donation-widget__custom-value").closest(".c-donation-widget__option-wrap");On(t).find(".c-donation-widget__option-wrap").not(e).attr("data-frequency",5)}let o=On(t).find(".c-donation-widget__option-wrap").first().find("input").attr("name");function s(e,t){return 2===e?3*t:3===e?6*t:4===e?12*t:t}r.each(function(r,a){let l=parseInt(On(a).val());if(!On(t).find(".c-donation-widget__custom-value").closest(".c-donation-widget--membership").length&&5!==l)for(let n=i.length-1;n>-1;n--){const a=i[n];On(t).find(".c-donation-widget__options").prepend(Un(e+"_"+r,n,s(l,a),l,o))}On(a).on("change",function(e){Wn(t,On(e.target).val()),Fn(n)}),5!==l&&On(a)[0].checked&&Wn(t,l)})}(e,n,{$toggle:i,$form:n,$options:r,$input:o,$submit:s}),n.on("change",".c-donation-widget__option:not(.js-donation-widget-custom)",e=>{o.val(""),Hn(o)})}),Nn.$customToggles.each(function(){let e=On(this),t=e.closest("form"),n=t.find('[name="'+e.attr("name")+'"]'),i=On(e.attr("data-donation-widget-custom-input")),r=t.find("button[type=submit]"),o={$toggle:e,$form:t,$options:n,$input:i,$submit:r};Hn(i),Dn(o),function(e){e.$options.on("change",function(){Dn(e),zn(e),Fn(e)}),e.$input.on("keyup",function(t){69!==t.which&&187!==t.which&&189!==t.which||t.preventDefault(),e.$toggle.val(e.$input.val()),zn(e),Fn(e)})}(o),function(e){e.$toggle.on("click",function(){Rn(e.$input)}),e.$submit.on("click",function(t){let n=zn(e),i=Fn(e);n&&i||t.preventDefault()})}(o)}))};function Zn(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return e===t;if(e.prototype!==t.prototype)return!1;const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>Zn(e[n],t[n]))}var Yn=n(796);const Gn={donationOccasionRelated:Yn(".js-donation-occasion-related"),errorElementOccasion:Yn(".js-donation-occasion-related__error-occasion"),errorElementInstitution:Yn(".js-donation-occasion-related__error-institution")},Xn=function(){0!==Gn.donationOccasionRelated.length&&Gn.donationOccasionRelated.each(function(e,t){let n=new FormData,i=Yn(t).find(".c-teaser-list");const r=t.querySelector(".js-dialog-container"),o=new u(r),s=t.querySelector(".js-donation-occasion-related__preview-gift-certificate");function a(){return i.find('input[type="radio"]:checked').length>0?(Gn.errorElementOccasion.addClass("u-display-none"),!0):(Gn.errorElementOccasion.removeClass("u-display-none"),!1)}function l(){return Yn(t).find(".c-teaser.c-teaser--shadow-box[data-id]").hasClass("c-teaser--selected")?(Gn.errorElementInstitution.addClass("u-display-none"),!0):(Gn.errorElementInstitution.removeClass("u-display-none"),!1)}
23i.on("click",".c-teaser.c-teaser--fancy",function(e){e.preventDefault(),Yn(t).find(".c-teaser").removeClass("c-donation-occasion-related__teaser--selected"),Yn(t).find(".c-teaser .c-button").removeClass("u-icon u-icon:left u-icon--alert-valid").attr("aria-checked",!1),Yn(this).closest(".c-teaser").addClass("c-donation-occasion-related__teaser--selected"),Yn(this).find('input[type="radio"]').prop("checked",!0),Yn(this).find(".c-button").addClass("u-icon u-icon:left u-icon--alert-valid").attr("aria-checked",!0),a(),Yn(t).find(".c-teaser-list--occasion").length&&Yn("html,body").animate({scrollTop:Yn(t).find(".c-teaser-list--occasion").offset().top-150},"slow")}),setTimeout(()=>{document.querySelectorAll(".js-donation-occasion-related .c-teaser.c-teaser--fancy").forEach(e=>{const t=e.querySelector('input[type="radio"]');t&&t.checked&&(e.classList.add("c-donation-occasion-related__teaser--selected"),e.querySelector(".c-button").classList.add("u-icon","u-icon:left","u-icon--alert-valid"),e.querySelector(".c-button").setAttribute("aria-checked","true"))})},40),Yn(t).on("teaser.radio.change",".js-teaser-radio",function(){Gn.errorElementInstitution.addClass("u-display-none"),Yn(t).find(".c-widget").length&&Yn("html,body").animate({scrollTop:Yn(t).find(".c-widget").offset().top-150},"slow")}),Yn(t).find("form").on("submit",function(e){let t=a(),n=l();if(!t||!n){e.preventDefault();const t=Yn('[class*="js-donation-occasion-related__error"]').not(".u-display-none").first();return t.length&&Yn("html,body").animate({scrollTop:t.offset().top-window.innerHeight+t[0].getBoundingClientRect().height+10},"slow"),!1}}),s.addEventListener("click",e=>{e.preventDefault();let t=a(),n=l();if(!t||!n){e.preventDefault();const t=Yn('[class*="js-donation-occasion-related__error"]').not(".u-display-none").first();return t.length&&Yn("html,body").animate({scrollTop:t.offset().top-window.innerHeight+t[0].getBoundingClientRect().height+10},"slow"),!1}o.show()}),o.on("show",async()=>{document.documentElement.style.overflowY="hidden";const e=s.getAttribute("data-dor-preview-url"),i=new FormData(t.querySelector("form")),o=new FormData;for(const[e,t]of i.entries()){const n=new RegExp(/tx_johdonations_donationform\[overwriteDemand\]\[(.*)\]/,"g").exec(e);n&&n.length?o.set(n[1],t):o.set(e,t)}if(Yn(t).find(".js-donation-occasion-related__preview-error").addClass("u-display-none"),!Zn(Object.fromEntries(n),Object.fromEntries(o))){Yn(t).find(".js-donation-occasion-related__loader").removeClass("u-display-none"),r.querySelector("img").src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";try{const i=await fetch(e,{method:"POST",body:o}),s=await i.json();s.certificatePreview&&(Yn(t).find(".js-donation-occasion-related__loader").addClass("u-display-none"),r.querySelector("img").src=`data:image/jpeg;base64,${s.certificatePreview}`,n=o)}catch(e){console.error(e),Yn(t).find(".js-donation-occasion-related__loader").addClass("u-display-none"),Yn(t).find(".js-donation-occasion-related__preview-error").removeClass("u-display-none"),n=new FormData}}}),o.on("hide",function(){document.documentElement.style.overflowY=""})})};n(125);var Kn=n(796);const Qn=".slick-slide";function Jn(e){const t=e.closest(".c-hero-slider__item"),n=t.querySelector(".c-button");if(!n)return!1;let i=t.getBoundingClientRect(),r=n.getBoundingClientRect(),o=i.height-(r.top-i.top)-r.height;e.style.bottom=`${o}px`}const ei=function(){Kn(".js-hero-slider:not(.init)").length&&Kn(".js-hero-slider:not(.init)").each(function(e,t){let n=Kn(t).find(".slick-dots");const i={adaptiveHeight:!0,arrows:!0,prevArrow:Kn(t).parent().find(".c-hero-slider__nav-prev"),nextArrow:Kn(t).parent().find(".c-hero-slider__nav-next"),autoplay:!1,dots:!0,appendDots:Kn(t).parent().find(".c-hero-slider__dots"),lazyLoad:!1,customPaging:function(e,t){return`<button type="button"><span class="u-accessibility">Gehe zu Slide ${t+1} von ${Math.ceil(e.slideCount/e.options.slidesToShow)}</span></button>`}};document.querySelectorAll(".c-hero-slider__stopper").length&&(Kn(t).on("init",function(){document.querySelectorAll(".c-hero-slider__stopper").forEach(e
23=>{Jn(e)})}),Kn(window).smartresize(function(){document.querySelectorAll(".c-hero-slider__stopper").forEach(e=>{Jn(e)})})),Kn(t).slick(i).on("setPosition",function(){!function(e){let t,n,i=Kn(e);i.find(Qn).height("auto"),t=i.find(".slick-track"),n=Kn(t).height(),i.find(Qn).css("height",n+"px")}(t)}),n.on("click",function(){Kn(t).slick("slickPause")}),B(t)})};n(732);var ti=n(796);const ni={galleries:ti(".js-gallery"),galleryTrigger:ti(".js-gallery-trigger")},ii={delegate:".js-gallery-trigger",type:"image",closeMarkup:'<button type="button" class="mfp-close">Schliessen</button>',mainClass:"mfp-with-zoom",allowHTMLInTemplate:!0,zoom:{enabled:!0},gallery:{enabled:!0,preload:[1,1],arrowMarkup:'<button aria-label="%title%" type="button" class="mfp-arrow-%dir% c-button-icon-only c-button--second c-button--circle u-icon u-icon--arrow-%dir%"></button>',tPrev:"zurück",tNext:"vorwärts",tCounter:'<span class="mfp-counter">%curr% / %total%</span>'},image:{markup:'<div class="custom-lightbox custom-lightbox--gallery mfp-figure"><div class="mfp-close"></div><div class="custom-lightbox__img-wrapper"><div class="mfp-img"></div><div class="custom-lightbox__copyright"><div class="custom-lightbox__copyright__text"></div></div></div><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter u-typo:s"></div></div></div>',titleSrc:function(e){return'<h3 class="mfp-headline u-typo:l">'+e.el.attr("title")+'</h3><p class="mfp-description">'+e.el.attr("data-description")+"</p>"},verticalFit:!0,cursor:""},callbacks:{markupParse:function(e,t,n){ti(e).find(".custom-lightbox__copyright__text").text(n.el.attr("data-copyright"))},open:function(){ti("body").css("overflow","hidden")},close:function(){ti("body").css("overflow","")}}},ri={focusOnChange:!0,lazyLoad:"ondemand",slidesToShow:1,slidesToScroll:1,prevArrow:'<button type="button" class="c-button-icon-only c-button--second c-button--circle u-icon u-icon--arrow-left slick-prev slick-arrow" aria-label="zurück"></button>',nextArrow:'<button type="button" class="c-button-icon-only c-button--second c-button--circle u-icon u-icon--arrow-right slick-next slick-arrow" aria-label="vorwärts"></button>',mobileFirst:!0,dots:!0,dotsClass:"js-gallery-paging",customPaging:function(e,t){return t+1+"/"+e.slideCount}};function oi(){ti.each(ni.galleries,function(e,t){ti(t).magnificPopup(ii)})}const si=function(){ni.galleries.length&&(t().addQuery({context:["xxs"],callFor_each_context:!1,match:function(){ii.delegate=".slick-slide:not(.slick-cloned) .js-gallery-trigger",ti.each(ni.galleries,function(e,t){let n=ti(t).hasClass("js-gallery-slide"),i=function(e){let t=!1;return t="init"!==ti(e).attr("data-slick"),t}(t);n&&i&&(ti(t).slick(ri),ti(t).attr("data-slick","init"))}),oi()}}),t().addQuery({context:["xs","sm","md","lg","xl","xxl"],callFor_each_context:!1,match:function(){ii.delegate=".js-gallery-trigger",ti.each(ni.galleries,function(e,t){"init"===ti(t).attr("data-slick")&&(ti(t).slick("unslick"),ti(t).removeAttr("data-slick"))}),oi()}}))};var ai=n(796),li=n(684);const ci={gallerySlider:ai(".js-gallery-slider"),galleryTrigger:ai(".js-gallery-trigger")},ui=li.breakpoints(),di={delegate:".slick-slide:not(.slick-cloned) .js-gallery-trigger",type:"image",closeMarkup:'<button type="button" class="mfp-close">Schliessen</button>',mainClass:"mfp-with-zoom",allowHTMLInTemplate:!0,zoom:{enabled:!0},gallery:{enabled:!0,preload:[1,1],arrowMarkup:'<button aria-label="%title%" type="button" class="mfp-arrow-%dir% c-button-icon-only c-button--second c-button--circle u-icon u-icon--arrow-%dir%"></button>',tPrev:"zurück",tNext:"vorwärts",tCounter:'<span class="mfp-counter">%curr% / %total%</span>'},image:{markup:'<div class="custom-lightbox custom-lightbox--gallery mfp-figure"><div class="mfp-close"></div><div class="custom-lightbox__img-wrapper"><div class="mfp-img"></div><div class="custom-lightbox__copyright"><div class="custom-lightbox__copyright__text"></div></div></div><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter u-typo:s"></div></div></div>',titleSrc:function(e){return'<h3 class="mfp-headline u-typo:l">'+e.el.attr("title")+'</h3><p class="mfp-description">'+e.el.attr("data-description")+"</p>"},verticalFit:!0,cursor:""},callbacks:{markupParse:function(e,t,n){ai(e).find(".custom-lightbox__copyright__text").text(n.el.attr("data-copyright"))},open:function(){ai("body").css("overflow","hidden")},close:function(){ai("body").css("overflow","")}}},pi={arrows:!0,dots:!0,lazyLoad:"ondemand",slidesToShow:3,slidesToScroll:3,responsive:[{breakpoint:ui.md,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:ui.xs,settings:{slidesToShow:1,slidesToScroll:1}}]},fi=function(){ci.gallerySlider.length&&(ai.each(ci.gallerySlider,function(e,t){let n=ai(t).next(".c-slider-nav");W()&&(pi.slidesToShow=2,pi.slidesToScroll=2),pi.prevArrow=n.find(".c-slider-nav__prev"),pi.nextArrow=n.find(".c-slider-nav__next"),pi.appendDots=n.find(".c-slider-nav__dots"),pi.customPaging=function(e,t){return`<button type="button"><span class="u-accessibility">Gehe zu Slide ${t+1} von ${Math.ceil(e.slideCount/e.options.slidesToShow)}</span></button>`},ai(t).slick(pi),B(t)}),ai.each(ci.gallerySlider,function(e,t){ai(t).magnificPopup(di)}))};var hi=n(796);let mi={type:"image",closeMarkup:'<button type="button" class="mfp-close">Schliessen</button>',mainClass:"mfp-with-zoom",allowHTMLInTemplate:!0,zoom:{enabled:!0},image:{markup:'<div class="custom-lightbox custom-lightbox--image mfp-figure"><div class="mfp-close"></div><div class="custom-lightbox__img-wrapper"><div class="mfp-img"></div><div class="custom-lightbox__copyright"><div class="custom-lightbox__copyright__text"></div></div></div><div class="mfp-bottom-bar"><div class="mfp-title"></div></div></div>',titleSrc:function(e){return'<h3 class="mfp-headline u-typo:l">'+e.el.attr("title")+'</h3><p class="mfp-description">'+e.el.attr("data-description")+"</p>"},verticalFit:!0,cursor:""},callbacks:{markupParse:function(e,t,n){hi(e).find(".custom-lightbox__copyright__text").text(n.el.attr("data-copyright"))},open:function(){hi("body").css("overflow","hidden")},close:function(){hi("body").css("overflow","")}}};const gi=function(){const e=hi(".js-lightbox-trigger:not(.init)");e.length&&hi.each(e,function(e,t){hi(t).magnificPopup(mi),B(t)})};var vi=n(796);const yi=function(){!function(){function e(){"undefined"!=typeof UC_UI&&UC_UI.getServicesBaseInfo().find(function(e){return"BJz7qNsdj-7"===e.id}).consent.status?vi(".js-media").each(function(e,t){vi(t).addClass("iframe-loaded")}):vi(".js-media").each(function(e,t){vi(t).removeClass("iframe-loaded")})}window.addEventListener("UC_UI_INITIALIZED",function(){e(),window.addEventListener("onJo
23hanniterConsentStatusChange",function(){e()})}),new MutationObserver(t=>{t.forEach(t=>{t.addedNodes.forEach(t=>{1===t.nodeType&&(t.matches(".js-media")||t.querySelector(".js-media"))&&e()})})}).observe(document.body,{childList:!0,subtree:!0}),document.addEventListener("click",e=>{const t=e.target.closest(".js-media");t&&t.classList.add("iframe-loaded")})}()};var bi=n(796);const _i={desktopTables:bi(".c-table--desktop"),respTables:bi(".c-table--responsive, .c-table--mobile")},wi="scrollable",xi="scroll-left",Si="scroll-right",ki="c-table-scroll-shadow";function Ti(){_i.desktopTables.each(function(e,t){let n=bi(t).parent(".c-table-scroll-wrapper"),i=n.parent("."+ki);0===i.length&&(n.wrap('<div class="'+ki+'"></div>'),i=n.parent(".c-table-scroll-shadow")),n.get(0).scrollWidth>n.get(0).clientWidth+1?(n.addClass(wi),n.outerWidth()+n.scrollLeft()<n.get(0).scrollWidth?(n.addClass(Si),i.addClass(Si)):(n.removeClass(Si),i.removeClass(Si)),0!=n.scrollLeft()?(n.addClass(xi),i.addClass(xi)):(n.removeClass(xi),i.removeClass(xi))):(n.removeClass(wi).removeClass(xi).removeClass(Si),i.removeClass(xi).removeClass(Si))})}const Ci=function(){_i.desktopTables.length&&(Ti(),_i.desktopTables.parent(".c-table-scroll-wrapper").scroll(function(){Ti()}),bi(window).bind("orientationchange resize",function(){Ti()})),_i.respTables.length&&_i.respTables.each(function(e,t){let n=function(e){let t=bi(e).find(".c-table__head"),n=bi(t).find(".c-table__cell"),i=new Array;return n.each(function(e,t){i.push(bi(t).text())}),i}(t);!function(e,t){let n=bi(e).find(".c-table__body");bi(n).find(".c-table__row").each(function(e,n){bi(n).find(".c-table__cell").each(function(e,n){bi(n).attr("data-label",t[e])})})}(t,n)})};var Ei=n(796),Ai=n(684);const Li={teaserSlider:Ei(".js-teaser-slider:not(.init)")},ji=Ai.breakpoints(),Pi={infinite:!1,slidesToShow:3,slidesToScroll:3,adaptiveHeight:!0,arrows:!0,autoplay:!1,dots:!0,lazyLoad:"ondemand",responsive:[{breakpoint:ji.md,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:ji.xs,settings:{slidesToShow:1,slidesToScroll:1}}]},Ii=function(){Li.teaserSlider.length&&Li.teaserSlider.each(function(e,t){let n=Ei(t).find(".c-teaser-list__row");W()&&!Ei(t).closest(".c-main__bottom").length?(Pi.slidesToShow=2,Pi.slidesToScroll=2):(Pi.slidesToShow=3,Pi.slidesToScroll=3),Pi.prevArrow=Ei(t).find(".c-teaser-list__nav-prev"),Pi.nextArrow=Ei(t).find(".c-teaser-list__nav-next"),Pi.appendDots=Ei(t).find(".c-teaser-list__dots"),Pi.customPaging=function(e,t){return`<button type="button"><span class="u-accessibility">Gehe zu Slide ${t+1} von ${Math.ceil(e.slideCount/e.options.slidesToShow)}</span></button>`},n.slick(Pi),n.on("init",B(t))})};var Mi=n(796),$i=n(684);const qi={teaserSlider:Mi(".js-teaser-slider-box:not(.init)")},Oi={infinite:!0,slidesToShow:2,slidesToScroll:2,adaptiveHeight:!0,arrows:!0,autoplay:!1,dots:!0,lazyLoad:"ondemand",responsive:[{breakpoint:$i.breakpoints().xs,settings:{slidesToShow:1,slidesToScroll:1}}]},Ni=function(){qi.teaserSlider.length&&qi.teaserSlider.each(function(e,t){let n=Mi(t).find(".c-teaser-list__row");Oi.prevArrow=Mi(t).find(".c-teaser-list__nav-prev"),Oi.nextArrow=Mi(t).find(".c-teaser-list__nav-next"),Oi.appendDots=Mi(t).find(".c-teaser-list__dots"),Oi.customPaging=function(e,t){return`<button type="button"><span class="u-accessibility">Gehe zu Slide ${t+1} von ${Math.ceil(e.slideCount/e.options.slidesToShow)}</span></button>`},n.slick(Oi),n.on("init",B(t))})};var Di=n(796),Bi=n(796);const Ri={quickFacts:Bi(".js-quick-facts:not(.init)")},Hi="is-in-view";function zi(){Ri.quickFacts.each(function(e,t){if(z(t,!1)&&!Bi(t).hasClass(Hi)){let e=Bi(t).find(".js-counter-number");Bi(t).addClass(Hi),e.each(function(e,t){!function(e){Di(e).prop("Counter",0).animate({Counter:Di(e).attr("data-count-to")},{duration:2e3,easing:"swing",step:function(e){let t=Math.ceil(e).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.");Di(this).text(t)}})}(t)})}B(t)})}const Fi=function(){Ri.quickFacts.length&&(zi(),Bi(window).on("scroll",zi))};var Wi=n(796);const Ui={quickSearchButtons:Wi("[data-quicksearch-target]")};function Vi(){let e=Wi(this).attr("data-quicksearch-target");Wi("#"+e).submit()}const Zi=function(){Ui.quickSearchButtons.length&&Ui.quickSearchButtons.each(function(e,t){Wi(t).on("click touch",Vi)})},Yi={serviceFilter:n(796)(".js-services-filter")},Gi=function(){Yi.serviceFilter.length&&function(){let e=window.location.search,t=Yi.serviceFilter.attr("id")||0;e.indexOf("tx_joh")>-1&&t&&S("#"+t,!1)}()};var Xi=n(796);const Ki=Xi(".js-teaser-radio"),Qi=function(){Ki.length&&Xi(document).on("click",".js-teaser-radio:not(.c-teaser
23--selected)",function(e){const t=Xi(e.currentTarget).find('input[type="radio"]').attr("name");Xi('.js-teaser-radio input[name="'+t+'"]').closest(".js-teaser-radio").removeClass("c-teaser--selected").find(".c-button").removeClass("u-icon u-icon:left u-icon--alert-valid").attr("aria-checked",!1),Xi(e.currentTarget).addClass("c-teaser--selected").find('input[type="radio"]').prop("checked",!0).end().find(".c-button").addClass("u-icon u-icon:left u-icon--alert-valid").attr("aria-checked",!0),Xi(e.currentTarget).trigger("teaser.radio.change",{checked:!0,value:Xi(e.currentTarget).find('input[type="radio"]').val(),teaserRadioElement:e.currentTarget})})};function Ji(e){var t=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return t?decodeURI(t[2]):null}function er(e,t,n){var i=new Date;i.setTime(i.getTime()+864e5*n),document.cookie=e+"="+encodeURI(t)+";path=/;expires="+i.toGMTString()}function tr(e){er(e,"",-1)}var nr=n(796);const ir=nr(".js-donation-fundraising-campaign");function rr(){return document.querySelector("#input-text-local-project-search-term").value}function or(){return document.querySelector("#input-text-local-project-search-location").value}async function sr(e,t,n){const i=document.querySelector(".js-donation-fundraising-campaign__projects-local");let r=i.getAttribute("data-local-project-url"),o=i.getAttribute("data-input-name")||"",s=!1;const a=!!i.closest(".js-donation-occasion-related");n&&(r=n,s=!0);let l=i.getAttribute("data-pid");if(!r)return!1;r.startsWith("http")||(r=window.location.origin+r);const c=new URL(r);e&&c.searchParams.set("term",e),t&&c.searchParams.set("location",t),l&&c.searchParams.set("page",l);const u=i.getAttribute("data-categories");u&&c.searchParams.set("categories",u);const d=i.getAttribute("data-excluded-categories");d&&c.searchParams.set("excluded_categories",d);const p=document.querySelector(".js-donation-fundraising-campaign__local-teaser");document.querySelector(".js-donation-fundraising-campaign__local-noresults")&&document.querySelector(".js-donation-fundraising-campaign__local-noresults").classList.add("u-display-none");try{const e=await fetch(c);if(!e.ok)throw new Error(`Response status: ${e.status}`);document.querySelector(".js-donation-fundraising-campaign__loader").classList.remove("u-display-none");const t=await e.json();if(s||(p.innerHTML=""),t.projects.length)for(const e of t.projects)p.insertAdjacentHTML("beforeend",ar(e,o,a));else document.querySelector(".js-donation-fundraising-campaign__local-noresults")&&document.querySelector(".js-donation-fundraising-campaign__local-noresults").classList.remove("u-display-none");document.querySelector(".js-donation-fundraising-campaign__loader")&&document.querySelector(".js-donation-fundraising-campaign__loader").classList.add("u-display-none"),document.querySelector(".js-donation-fundraising-campaign__local-loadmore")&&(t.nextUrl?(document.querySelector(".js-donation-fundraising-campaign__local-loadmore button").setAttribute("data-local-project-url-next",t.nextUrl),document.querySelector(".js-donation-fundraising-campaign__local-loadmore").classList.remove("u-display-none")):(document.querySelector(".js-donation-fundraising-campaign__local-loadmore button").setAttribute("data-local-project-url-next",""),document.querySelector(".js-donation-fundraising-campaign__local-loadmore").classList.add("u-display-none")))}catch(e){s||(p.innerHTML=""),document.querySelector(".js-donation-fundraising-campaign__local-noresults")&&document.querySelector(".js-donation-fundraising-campaign__local-noresults").classList.remove("u-display-none"),document.querySelector(".js-donation-fundraising-campaign__loader")&&document.querySelector(".js-donation-fundraising-campaign__loader").classList.add("u-display-none")}}function ar(e,t,n){let i=e.uid||"",r=e.category||"",o=e.image||"",s=e.title||"",a=e.short_description||"",l=e.donation_online_link||"";return`<div class="c-teaser c-teaser--shadow-box js-teaser-radio ${o?"":"c-teaser--no-img"} " data-category="${r}" id="id-${i}" data-id="do-${i}">\n            ${o?`<div class="c-teaser__img">\n                <figure class="c-figure">\n                    <div class="c-figure__inner">\n                        <picture>\n                            <img class="c-img lazyloaded" src="${o}" alt="${s}" height="560" width="840">\n                        </picture>\n                    </div>\n                </figure>\n            </div>`:""}\n            <div class="c-teaser__content">\n                <div class="c-copy">\n                    <h4 class="u-typo:l u-typo:bold ">\n                        ${s}\n                    </h4>\n                    <p>${a}</p>\n                </div>\n                <button class="c-button c-button--second" type="button" tabindex="0" role="switch" aria-checked="false">
23\n                    <span>Auswählen</span>\n                    <span>Ausgewählt</span>\n                </button>\n                <input type="radio" name="${""!==t?t:"dfc-project"}" id="input-${i}" value="${n?i:l}" class="u-display-none">\n                <label class="u-accessibility" for="input-${i}">${s}</label>\n            </div>\n        </div>`}class lr{constructor(e,t){this.opt={onProgressUpdate:()=>{}},nr.extend(this.opt,t),this.progressbarEl=e,nr(this.progressbarEl).on("click",".c-progress__item",e=>{let t=nr(this.progressbarEl).find(".c-progress__item").index(e.currentTarget);if(t<nr(this.progressbarEl).find(".c-progress__item").length-1&&!nr(this.progressbarEl).find(".c-progress__item").last().hasClass("c-progress__item--active")&&(nr(e.currentTarget).find("a[href]").length||e.preventDefault()),t<nr(this.progressbarEl).find(".c-progress__item").length-1&&nr(this.progressbarEl).find(".c-progress__item").last().hasClass("c-progress__item--active")){e.preventDefault(),er("campaign_donation_steptargetindex",t,.7);const n=nr(e.currentTarget).find("a[href]").attr("href");window.location.assign(n)}nr(e.currentTarget).find("a[href]").length||this.opt.onProgressUpdate(t)})}updateProgress(e){nr(this.progressbarEl).find(".c-progress__item--active").removeClass("c-progress__item--active"),nr(this.progressbarEl).find(".c-progress__item").eq(e).addClass("c-progress__item--active").removeClass("c-progress__item--touched"),nr(this.progressbarEl).find(".c-progress__item--touched").removeClass("c-progress__item--touched"),nr(this.progressbarEl).find(".c-progress__item").slice(0,e).not(".c-progress__item--active").addClass("c-progress__item--touched")}}class cr{constructor(e){this.currentViewIndex=0,this.el=document.querySelector(e),this.viewList=this.el.querySelectorAll(".c-multistep-view"),this.btnPrev=this.el.querySelector(".js-multistep__button-prev"),this.btnNext=this.el.querySelector(".js-multistep__button-next"),this.occasionRelatedItemsEl=this.el.querySelector(".js-donation-fundraising-campaign__occasion-related-items"),this.projectsEl=this.el.querySelector(".js-donation-fundraising-campaign__projects-wrapper"),this.placesFilterEl=this.el.querySelector(".js-donation-fundraising-campaign__places-filter"),this.errorElOccasion=this.el.querySelector(".js-donation-fundraising-campaign__error-occasion"),this.errorElProject=this.el.querySelector(".js-donation-fundraising-campaign__error-project"),this.progressBar=new lr(this.el.querySelector(".js-progress"),{onProgressUpdate:e=>{e>=0&&this.currentViewIndex<e&&this.goToView(e),e>=0&&this.currentViewIndex>e&&this.goToView(e)}}),this.init()}init(){this.btnPrev&&this.btnPrev.addEventListener("click",()=>{this.goToView(this.currentViewIndex-1)}),this.btnNext&&this.btnNext.addEventListener("click",()=>{this.goToView(this.currentViewIndex+1)}),this.updatePrevNextBtn(),this.handleFormStepBack()}goToView(e){if(!(0<=e&&e<this.viewList.length))return!1;if(!(e<this.currentViewIndex)){if(e>0&&document.querySelector(".js-donation-fundraising-campaign__occasion-related-items")&&!this.isOccasionRelatedValid())return!1;if(e>1&&document.querySelector(".js-donation-fundraising-campaign__projects-wrapper")&&!this.isProjectValid())return!1;if(e>=2&&this.projectsEl.querySelector(".js-teaser-radio input:checked")){const e=this.projectsEl.querySelector(".js-teaser-radio input:checked").value;return this.setCampaignDonationCookie(),window.location.assign(e),!1}}this.progressBar.updateProgress(e),this.viewList.item(this.currentViewIndex).classList.remove("c-multistep-view--active"),this.viewList.item(e).classList.add("c-multistep-view--active"),this.el.querySelectorAll(".slick-slider").length&&nr(this.el).find(".slick-slider").slick("getSlick").refresh(),window.scrollTo(0,0),this.currentViewIndex=e,this.updatePrevNextBtn()}isOccasionRelatedValid(){return this.errorElOccasion&&this.errorElOccasion.classList.add("u-display-none"),!(this.occasionRelatedItemsEl&&!this.occasionRelatedItemsEl.querySelectorAll('input[type="radio"]:checked').length&&(this.errorElOccasion&&this.errorElOccasion.classList.remove("u-display-none"),nr("html,body").animate({scrollTop:nr(this.errorElOccasion).offset().top-window.innerHeight+this.errorElOccasion.getBoundingClientRect().height+10},"linear"),1))}isProjectValid(){return this.errorElProject&&this.errorElProject.classList.add("u-display-none"),!(this.projectsEl&&!this.projectsEl.querySelectorAll('input[type="radio"]:checked').length&&(this.errorElProject&&this.errorElProject.classList.remove("u-display-none"),nr("html,body").animate({scrollTop:nr(this.errorElProject).offset().top-window.innerHeight+this.errorElProject.getBoundingClientRect().height+10},"linear"),1))}updatePrevNextBtn(){this.btnPrev&&this.btnPrev.parentElement&&(0===this.currentViewIndex?(this.btnPrev.parentElement.classList.add("u-display-none"),this.btnPrev.disabled=!0):(this.btnPrev.parentElement.classList.remove("u-display-none"),this.btnPrev.disabled=!1))}handleFormStepBack(){if(!Ji("campaign_donation_stepstatus"))return!1;const e=Ji("campaign_donation_stepstatus").split(",");
23if(e.forEach(e=>e.trim()),!e[0]||!e[1])return!1;if(!document.querySelector(".js-donation-fundraising-campaign__occasion-related-items"))return!1;if(nr(`.js-donation-fundraising-campaign__occasion-related-items #${e[1]}`).closest(".js-teaser-radio").trigger("click"),e[2]){let t=nr(`.js-donation-fundraising-campaign__places-filter #${e[2]}`).closest(".js-teaser-radio");t.hasClass("js-is-regional-donation")&&(sr().then(()=>{if(e[3]&&nr(`.js-donation-fundraising-campaign__projects-wrapper #${e[3]}`).length){let t=nr(`.js-donation-fundraising-campaign__projects-wrapper #${e[3]}`).closest(".js-teaser-radio");nr(t).trigger("click")}}),document.querySelector(".js-donation-fundraising-campaign__projects-local").classList.remove("u-display-none"),document.querySelector(".js-donation-fundraising-campaign__projects").classList.add("u-display-none")),nr(t).trigger("click"),t.hasClass("js-is-regional-donation")||nr(".js-donation-fundraising-campaign__projects .c-teaser[data-category]").addClass("u-display-none").filter('[data-category~="'+nr(t).find('input[type="radio"]').val()+'"]').removeClass("u-display-none")}if(e[3]&&nr(`.js-donation-fundraising-campaign__projects-wrapper #${e[3]}`).length){let t=nr(`.js-donation-fundraising-campaign__projects-wrapper #${e[3]}`).closest(".js-teaser-radio");nr(t).trigger("click")}0===Number(Ji("campaign_donation_steptargetindex"))&&null!=Ji("campaign_donation_steptargetindex")?(tr("campaign_donation_steptargetindex"),this.goToView(0)):this.goToView(1),tr("campaign_donation_stepstatus")}setCampaignDonationCookie(){er("campaign_donation_stepstatus",`${document.body.id||""},${this.occasionRelatedItemsEl.querySelector('input[type="radio"]:checked').id||""},${this.placesFilterEl.querySelector('input[type="radio"]:checked')&&this.placesFilterEl.querySelector('input[type="radio"]:checked').id||""},${this.projectsEl.querySelector('input[type="radio"]:checked').id||""}`,.7)}}const ur=function(){if(0===ir.length)return;const e=nr(".js-donation-fundraising-campaign__projects .c-teaser[data-category]");new cr(".js-donation-fundraising-campaign"),document.querySelectorAll(".c-teaser--fundraising-campaign-animated").forEach(e=>{if(!e.querySelector("img").hasAttribute("data-animated-img")||""===e.querySelector("img[data-animated-img]").getAttribute("src"))return!1;let t=e.querySelector("img[data-animated-img]"),n=t.getAttribute("data-src"),i=t.getAttribute("data-animated-img");e.addEventListener("mouseenter",function(){t.src=i,t.setAttribute("data-src",i),e.querySelectorAll("picture source").forEach(e=>{e.setAttribute("srcset",i),e.setAttribute("data-srcset",i)})}),e.addEventListener("mouseleave",function(){t.src=n,e.querySelectorAll("picture source").forEach(e=>
23{e.setAttribute("srcset",n),e.setAttribute("data-srcset",n)})})}),nr(".js-donation-fundraising-campaign__places-filter").on("teaser.radio.change",".js-teaser-radio",function(t,n){var i;i=n.value,e.addClass("u-display-none").filter('[data-category~="'+i+'"]').removeClass("u-display-none"),t.target&&t.target.classList.contains("js-is-regional-donation")?(document.querySelector("#input-text-local-project-search-term").value="",document.querySelector("#input-text-local-project-search-location").value="",sr(),document.querySelector(".js-donation-fundraising-campaign__projects-local").classList.remove("u-display-none"),document.querySelector(".js-donation-fundraising-campaign__projects").classList.add("u-display-none"),nr("html,body").animate({scrollTop:nr(".js-donation-fundraising-campaign__projects-local").offset().top-250},"slow")):(document.querySelector(".js-donation-fundraising-campaign__projects-local")&&document.querySelector(".js-donation-fundraising-campaign__projects-local").classList.add("u-display-none"),document.querySelector(".js-donation-fundraising-campaign__projects").classList.remove("u-display-none"),nr("html,body").animate({scrollTop:nr(".js-donation-fundraising-campaign__projects").offset().top-250},"slow"))}),document.querySelector(".js-donation-fundraising-campaign__local-jumplink")&&document.querySelector(".js-donation-fundraising-campaign__local-jumplink").addEventListener("click",function(){nr("html,body").animate({scrollTop:nr(".js-donation-fundraising-campaign__local-search").offset().top-250},"slow")}),nr(".js-donation-fundraising-campaign__occasion-related-items").on("teaser.radio.change",".js-teaser-radio",function(){nr(".js-donation-fundraising-campaign__error-occasion").hasClass("u-display-none")||nr(".js-donation-fundraising-campaign__error-occasion").addClass("u-display-none"),nr("html,body").animate({scrollTop:nr(".c-multistep-nav").offset().top-window.innerHeight+nr(".c-multistep-nav")[0].getBoundingClientRect().height+10},"slow")}),nr(".js-donation-fundraising-campaign__projects-wrapper").on("teaser.radio.change",".js-teaser-radio",function(){nr(".js-donation-fundraising-campaign__error-project").hasClass("u-display-none")||nr(".js-donation-fundraising-campaign__error-project").addClass("u-display-none"),nr("html,body").animate({scrollTop:nr(".c-multistep-nav").offset().top-window.innerHeight+nr(".c-multistep-nav")[0].getBoundingClientRect().height+10},"slow")}),window.spendinoOnLoad=function(e){const t=document.querySelector(".js-donation-fundraising-campaign__odetail-view-progress"),n=document.querySelector(".js-donation-fundraising-campaign__odetail-view-top");if(e&&"odetail"===e.name){if(window.location.hash){let e=window.location.hash;e.length>1&&e.indexOf("spendinoocassionpage")>=0&&t.classList.add("u-display-none")}n.classList.remove("u-display-none")}!e||"occasion"!==e.name&&"olist"!==e.name&&"oedit"!==e.name&&"donationform"!==e.name||n.classList.add("u-display-none"),!e||"odetail"!==e.name&&"oedit"!==e.name||nr("html,body").animate({scrollTop:0},"fast")};const t=document.querySelector(".js-donation-fundraising-campaign__local-project-search-submit");t&&t.addEventListener("click",()=>{sr(rr(),or()).then(()=>{document.querySelector(".js-donation-fundraising-campaign__local-jumplink-wrapper").classList.remove("u-display-none")})});const n=document.querySelector(".js-donation-fundraising-campaign__local-loadmore button");n&&n.addEventListener("click",e=>{e.preventDefault();let t=n.getAttribute("data-local-project-url-next");t&&sr(rr(),or(),t)})};var dr=n(684),pr=n(796);const fr=dr.breakpoints(),hr={charityShopList:document.querySelectorAll(".js-charity-shop__list"),charityShopBasket:document.querySelector(".js-charity-shop__basket"),productCards:[],basketList:document.querySelector(".js-charity-shop__basket-list"),basket:[],shoppingCardArr:[],basketCounter:document.querySelector(".js-charity-shop__to-basket-counter"),basketItemsCount:0};function mr(e,t){let n=hr.shoppingCardArr.find(t=>t.productId===e);hr.basket.push(n),n&&(n.hasCustomInput?(hr.basketList.append(br(n,1,t)),n.productPriceTotal+=t||0,n.amount+=1):(0===n.amount&&hr.basketList.append(br(n,1)),n.amount+=1,document.querySelector(`[data-basket-item-product-id="${n.productId}"] .js-basket-item-amount`).innerHTML=n.amount),gr(n.productCardElement,n.amount),vr(),hr.charityShopBasket.querySelector(".js-charity-shop__basket-error").classList.add("u-display-none"),yr(),_r("add_to_cart",[{item_id:n.productId,item_name:n.productLabel,affiliation:"Weihnachtstrucker",price:n.hasCustomInput?t:n.productPrice,quantity:1,hasCustomInput:n.hasCustomInput}]))}function gr(e,t){const n=e.querySelector(".c-card__badge-amount");e.setAttribute("data-product-amount",t),t>0?n.classList.remove("u-display-none"):n.classList.add("u-display-none"),n.querySelector(".c-badge").innerHTML=t}function vr(){let e=0;hr.shoppingCardArr.forEach(t=>{t.amount&&(t.hasCustomInput?e+=t.productPriceTotal:e+=t.amount*t.productPrice)});let t=new Intl.NumberFormat("de-DE",{style:"currency",currency:"EUR"}).format(e);hr.charityShopBasket.querySelector(".js-charity-shop__basket-price-total").value=t,hr.charityShopBasket.querySelector(".js-charity-shop__basket-custom-input").value=e}function yr(){hr.basketItemsCount=0,document.querySelectorAll("[data-product-amount]").forEach(e
23=>hr.basketItemsCount+=Number(e.getAttribute("data-product-amount"))),hr.basketItemsCount>0?hr.basketCounter.style.display="block":hr.basketCounter.style.display="none",hr.basketCounter.innerHTML=hr.basketItemsCount}function br(e,t,n){const i=document.createElement("div");return i.className="c-charity-shop__basket-item",i.setAttribute("data-basket-item-product-id",e.productId),e.hasCustomInput?(i.setAttribute("data-basket-item-product-price-custom",n),i.innerHTML=`<button class="js-basket-item-decrement c-charity-shop__basket-item__decrement c-button-icon-only c-button--second c-button--circle c-button--small u-icon u-icon--minus" aria-label="Button title" title="Button title" type="button"></button><span class="js-basket-item-amount c-charity-shop__basket-item-amount u-display-none"> ${t} </span><span class="c-charity-shop__basket-item-label u-typo:m u-typo:medium">${e.productLabel} (Spende: ${n} €)</span>`):i.innerHTML=`<button class="js-basket-item-decrement c-charity-shop__basket-item__decrement c-button-icon-only c-button--second c-button--circle c-button--small u-icon u-icon--minus" aria-label="Button title" title="Button title" type="button"></button><span class="js-basket-item-amount c-charity-shop__basket-item-amount"> ${t} </span><button class="js-basket-item-increment c-charity-shop__basket-item__increment c-button-icon-only c-button--second c-button--circle c-button--small u-icon u-icon--plus" aria-label="Button title" title="Button title" type="button"></button><span class="c-charity-shop__basket-item-label u-typo:m u-typo:medium">${e.productLabel}</span>`,i}function _r(e,t){if(window.dataLayer=window.dataLayer||[],["add_to_cart","remove_from_cart","view_cart","begin_checkout"].includes(e)){const n=t.reduce((e,t)=>e+Number(t.price)*(t.hasCustomInput?1:Number(t.quantity)),0);t.forEach(e=>{delete e.hasCustomInput}),window.dataLayer.push({event:e,ecommerce:{currency:"EUR",value:n,items:t}})}}const wr=()=>{if(!hr.charityShopBasket||!hr.charityShopList.length)return!1;window.cache=hr,document.querySelectorAll(".c-card--product").forEach(e=>{if(!e.querySelector("img")||!e.querySelector("img").hasAttribute("data-animated-img")||""===e.querySelector("img[data-animated-img]").getAttribute("src"))return!1;let t=e.querySelector("img[data-animated-img]"),n=t.getAttribute("data-src"),i=t.getAttribute("data-animated-img");e.addEventListener("mouseenter",function(){t.src=i,t.setAttribute("data-src",i),e.querySelectorAll("picture source").forEach(e=>{e.setAttribute("srcset",i),e.setAttribute("data-srcset",i)})}),e.addEventListener("mouseleave",function(){t.src=n,e.querySelectorAll("picture source").forEach(e=>
23{e.setAttribute("srcset",n),e.setAttribute("data-srcset",n)})})}),hr.charityShopList.forEach(e=>{e.classList.contains("js-init")||(function(e){let t=0;e.forEach(e=>{t=Math.max(t,e.getBoundingClientRect().height)}),e.forEach(e=>e.style.height=`${t}px`)}(e.querySelectorAll(".c-card__content h3")),e.querySelectorAll("[data-product-id]").forEach(e=>{var t;if(hr.productCards.push(((t=e).querySelectorAll(".js-card__product-button").forEach(e=>{e.addEventListener("click",function(n){n.preventDefault();const i=e.closest(".js-charity-shop__quantity-calculator").querySelector(".js-stepper-amount").innerHTML;!function(e,t,n){let i=hr.shoppingCardArr.find(t=>t.productId===e);hr.basket.push(i),i&&(i.hasCustomInput?(hr.basketList.append(br(i,1,n)),i.productPriceTotal+=0,i.amount+=1):(0===i.amount&&hr.basketList.append(br(i,t)),i.amount+=t,document.querySelector(`[data-basket-item-product-id="${i.productId}"] .js-basket-item-amount`).innerHTML=i.amount),gr(i.productCardElement,i.amount),vr(),hr.charityShopBasket.querySelector(".js-charity-shop__basket-error").classList.add("u-display-none"),yr(),_r("add_to_cart",[{item_id:i.productId,item_name:i.productLabel,affiliation:"Weihnachtstrucker",price:i.hasCustomInput?n:i.productPrice,quantity:i.hasCustomInput?1:t,hasCustomInput:i.hasCustomInput}]))}(t.getAttribute("data-product-id"),parseInt(i))})}),t)),hr.shoppingCardArr.push({productCardElement:e,productLabel:e.getAttribute("data-product-label"),productId:e.getAttribute("data-product-id"),productPrice:e.getAttribute("data-product-price"),amount:0,productPriceTotal:0,hasCustomInput:"false"!==e.getAttribute("data-has-custom-input")}),"true"!==e.getAttribute("data-has-custom-input")){const t=!0;e.querySelectorAll(".js-charity-shop__stepper").forEach(n=>{n.querySelector(".js-stepper-increment").addEventListener("click",()=>{n.querySelector(".js-stepper-amount").innerHTML=parseInt(n.querySelector(".js-stepper-amount").innerHTML)+1,t&&e.querySelectorAll(".js-stepper-amount").forEach(e=>{e.innerHTML=parseInt(n.querySelector(".js-stepper-amount").innerHTML)})}),n.querySelector(".js-stepper-decrement").addEventListener("click",()=>{parseInt(n.querySelector(".js-stepper-amount").innerHTML)>1&&(n.querySelector(".js-stepper-amount").innerHTML=parseInt(n.querySelector(".js-stepper-amount").innerHTML)-1),t&&e.querySelectorAll(".js-stepper-amount").forEach(e=>{e.innerHTML=parseInt(n.querySelector(".js-stepper-amount").innerHTML)})})})}}),e.classList.add("js-init"))}),hr.basketList.addEventListener("click",function(e){let t;e.target.closest("[data-basket-item-product-id]")&&(t=e.target.closest("[data-basket-item-product-id]").getAttribute("data-basket-item-product-id"),e.target.classList.contains("js-basket-item-increment")&&mr(t),e.target.classList.contains("js-basket-item-decrement")&&function(e,t){const n=hr.shoppingCardArr.find(t=>t.productId===e);let i;n&&(i=t||document.querySelector(`[data-basket-item-product-id="${n.productId}"]`),n.hasCustomInput?(n.amount-=1,i.remove(),0===n.amount&&(hr.basket=hr.basket.filter(t=>t.productId!==e))):n.amount>1?(n.amount-=1,i.querySelector(".js-basket-item-amount").innerHTML=n.amount):(n.amount=0,i.remove(),hr.basket=hr.basket.filter(t=>t.productId!==e)),_r("remove_from_cart",[{item_id:n.productId,item_name:n.productLabel,affiliation:"Weihnachtstrucker",price:n.hasCustomInput?parseFloat(i.getAttribute("data-basket-item-product-price-custom")):n.productPrice,quantity:1,hasCustomInput:n.hasCustomInput}]),n.hasCustomInput&&(n.productPriceTotal=n.productPriceTotal-parseFloat(i.getAttribute("data-basket-item-product-price-custom"))),gr(n.productCardElement,n.amount),vr(),yr())}(t,e.target.closest("[data-basket-item-product-id]")))}),document.querySelectorAll("[data-a11y-dialog]").forEach(e=>{e.addEventListener("show",function(){document.documentElement.style.overflowY="hidden"}),e.addEventListener("hide",function(){document.documentElement.style.overflowY=""})}),function(){const e=document.querySelectorAll(".js-input-like-button");if(!e.length)return!1;e.forEach(e=>{const t=e.querySelector(".js-input-like-button__add");t.addEventListener("click",function(){const t=e.querySelector("input").value;e.querySelector("input").value="",e.querySelector("input").dispatchEvent(new Event("input")),function(e,t){let n;t.closest("[data-product-id]")&&(n=t.closest("[data-product-id]").getAttribute("data-product-id"),mr(n,parseFloat(e)))}(t,e)}),e.querySelector("input").addEventListener("input",function(e){e.target.value?(e.target.classList.add("has-value"),t.classList.remove("u-display-none")):(e.target.classList.remove("has-value"),t.classList.add("u-display-none"))})})}(),hr.charityShopBasket.querySelector("form").addEventListener("submit",function(e){return hr.charityShopBasket.querySelector(".js-charity-shop__basket-error").classList.add("u-display-none"),hr.charityShopBasket.querySelector(".js-charity-shop__basket-occasion-related-error").classList.add("u-display-none"),parseFloat(document.querySelector(".js-charity-shop__basket-price-total").innerHTML)<=0?(e.preventDefault(),hr.charityShopBasket.querySelector(".js-charity-shop__basket-error").classList.remove("u-display-none"),!1):document.querySelectorAll(".js-charity-shop__basket .js-teaser-radio").length>0&&0!==parseInt(document.querySelector(".js-charity-shop__basket").getAttribute("data-occasion-related-required"))&&0===document.querySelectorAll('.js-charity-shop__basket .js-teaser-radio input[type="radio"]:checked').length?(e.preventDefault(),hr.charityShopBasket.querySelector(".js-charity-shop__basket-occasion-related-error").classList.remove("u-display-none"),!1):void(hr.charityShopBasket.querySelector(".js-charity-shop__basket-image--animated")&&(e.preventDefault(),hr.charityShopBasket.querySelector(".js-charity-shop__basket-image").classList.add("u-display-none"),hr.charityShopBasket.querySelector(".js-charity-shop__basket-image--animated").classList.remove("u-display-none"),setTimeout(()=>
23{_r("begin_checkout",hr.basket.filter((e,t,n)=>n.findIndex(t=>t.productId===e.productId)===t).map(e=>({item_id:e.productId,item_name:e.productLabel,affiliation:"Weihnachtstrucker",price:e.hasCustomInput?e.productPriceTotal:e.productPrice,quantity:e.hasCustomInput?1:e.amount,hasCustomInput:e.hasCustomInput}))),hr.charityShopBasket.querySelector("form").submit()},parseInt(hr.charityShopBasket.getAttribute("data-img-submit-duration")))))}),function(e){let t;r(),o();let n="up",i=window.scrollY;function r(){let n=0;t&&clearTimeout(t),t=setTimeout(()=>{document.querySelector(".c-sticky-cta-content")&&(n=document.querySelector(".c-sticky-cta-content").clientHeight),pr(window).width()<fr.sm?e.style.top="calc(100vh - "+n+"px)":e.style.top=document.querySelector(".js-charity-shop__list").offsetTop+"px"},300)}function o(){e.style.left=document.querySelector(".js-charity-shop__list").getBoundingClientRect().right+"px"}function s(){document.querySelector(".js-charity-shop__list").getBoundingClientRect().top<200?e.classList.add("c-charity-shop__to-basket--is-sticky"):e.classList.remove("c-charity-shop__to-basket--is-sticky")}new IntersectionObserver(t=>{t.forEach(t=>{n=window.scrollY>i?"down":"up",i=window.scrollY,"down"!==n||t.isIntersecting||(e.style.display="none",_r("view_cart",hr.basket.filter((e,t,n)=>n.findIndex(t=>t.productId===e.productId)===t).map(e=>({item_id:e.productId,item_name:e.productLabel,affiliation:"Weihnachtstrucker",price:e.hasCustomInput?e.productPriceTotal:e.productPrice,quantity:e.hasCustomInput?1:e.amount,hasCustomInput:e.hasCustomInput})))),"up"===n&&t.isIntersecting&&(e.style.display="block")})},{root:null,rootMargin:"-400px 0px 400px 0px",threshold:1}).observe(hr.charityShopBasket.querySelector(".c-charity-shop__header")),window.addEventListener("resize",()=>{r(),o()}),window.addEventListener("scroll",function(){s()}),window.addEventListener("window:throttledScroll",function(){r()}),e.style.display="block",s()}(document.querySelector(".js-charity-shop__to-basket"))},xr=(e,t,n)=>{let i;return(...r)=>{const o=e.bind(void 0,...r);clearTimeout(i),n&&!i&&o();const s=n?()=>{i=null}:o;i=setTimeout(s,t||100)}};n.dn(xr);var Sr=n(796);const kr=function(){document.querySelectorAll(".js-job-filter-counter:not(.init)").length&&document.querySelectorAll(".js-job-filter-counter:not(.init)").forEach(e=>{const t=e.getAttribute("data-job-filter-counter-url"),n=e.getAttribute("data-job-filter-institution"),i=e.querySelector(".js-jobs-filter-counter-filtered"),r=new URLSearchParams;let o;""!==n&&r.set("institution",n);const s=xr(()=>{e.querySelectorAll(".js-multi-select").forEach(e=>{const t=[...e.querySelectorAll("ul li input:checked")].map(e=>e.value);e.closest(".js-jobs-filter-select__career-level")&&r.set("career_level",t?t.join():""),e.closest(".js-jobs-filter-select__scope")&&r.set("scope",t?t.join():""),e.closest(".js-jobs-filter-select__field")&&r.set("field",t?t.join():"")}),e.querySelector(".c-form__input-select input")&&r.set("location",e.querySelector(".c-form__input-select input").value),e.querySelector(".c-form__input-select input")&&e.querySelector(".c-form__input-select .js-custom-select")&&(e.querySelector(".c-form__input-select input").value?r.set("radius",e.querySelector(".c-form__input-select .js-custom-select").value):r.set("radius","")),e.querySelector(".c-search-group input")&&r.set("subject",e.querySelector(".c-search-group input").value),e.querySelector(".js-jobs-filter-abroad")&&r.set("abroad",e.querySelector(".js-jobs-filter-abroad").checked?1:0),e.querySelector(".c-form__input-select .js-custom-select")&&r.set("radius",e.querySelector(".c-form__input-select .js-custom-select").value),e.querySelector(".js-filter-counter-search input")&&r.set("subject",e.querySelector(".js-filter-counter-search input").value),async function(e,t,n){try{o&&o.abort(),o=new AbortController;const i=o.signal,r=await fetch(`${window.location.origin}${t}?${n.toString()}`,{signal:i});if(!r.ok)throw new Error(`Response status: ${r.status}`);const s=await r.json();e.innerHTML=s.count>-1?s.count:""}catch(e){"AbortError"!==e.name&&console.error("Error fetching data:",e)}}(i,t,r)},150);s(),Sr(e).find(".js-multi-select").on("change.multiselect",s),e.querySelector(".c-form__input-select input")&&e.querySelector(".c-form__input-select input").addEventListener("keyup",s),e.querySelector(".c-form__input-select input")&&e.querySelector(".c-form__input-select input").addEventListener("autocomplete.place_changed",s),e.querySelector(".c-form__input-select .js-cu
23stom-select")&&e.querySelector(".c-form__input-select .js-custom-select").addEventListener("change",s),e.querySelector(".js-jobs-filter-abroad")&&e.querySelector(".js-jobs-filter-abroad").addEventListener("change",s),e.querySelector(".c-search-group input")&&e.querySelector(".c-search-group input").addEventListener("keyup",s),e.querySelector(".js-filter-counter-search input")&&e.querySelector(".js-filter-counter-search input").addEventListener("keyup",s),e.classList.add("init")})},Tr=function(){document.addEventListener("click",e=>{const t=e.target.closest(".js-benefit-list--trigger");if(!t)return;const n=t.closest(".c-benefit-list").querySelector(".c-benefit-list__ul");n.classList.toggle("c-benefit-list__ul--show-short"),n.classList.contains("c-benefit-list__ul--show-short")?(t.classList.add("u-icon--arrow-down"),t.classList.remove("u-icon--arrow-up")):(t.classList.remove("u-icon--arrow-down"),t.classList.add("u-icon--arrow-up"))})},Cr={triptychEls:document.querySelectorAll("[data-triptych-wing]")};function Er(){Cr.triptychEls.forEach(e=>{!function(e){let t=e.getBoundingClientRect().height/Math.tan(69*Math.PI/180);document.documentElement.style.setProperty("--triptych-wing-ankathete",`${t}px`)}(e.querySelector(".c-triptych-wing__inner"))})}const Ar=function(){Cr.triptychEls.length&&(window.addEventListener("resize",()=>{Er()}),Er())};var Lr=n(796);const jr={newsCarousel:Lr(".js-news-carousel:not(.init)")},Pr=".slick-slide";function Ir(){let e=document.querySelector(".c-triptych-wing__inner").getBoundingClientRect().width;document.documentElement.style.setProperty("--news-carousel-img-offset-left",e-20+"px")}const Mr=function(){jr.newsCarousel.length&&jr.newsCarousel.each(function(e,t){let n=Lr(t).find(".slick-dots");const i={adaptiveHeight:!0,arrows:!0,prevArrow:Lr(t).parent().find(".c-news-carousel__nav-prev"),nextArrow:Lr(t).parent().find(".c-news-carousel__nav-next"),infinite:!0,autoplay:!0,autoplaySpeed:8e3,dots:!0,appendDots:Lr(t).parent().find(".c-news-carousel__dots"),lazyLoad:!1,customPaging:function(e,t){return`<button type="button"><span class="u-accessibility">Gehe zu Slide ${t+1} von ${Math.ceil(e.slideCount/e.options.slidesToShow)}</span></button>`},pauseIcon:'<span class="slick-pause-icon" aria-hidden="true"></span>',playIcon:'<span class="slick-play-icon" aria-hidden="true"></span>'};Lr(t).slick(i).on("setPosition",function(){!function(e){let t,n,i=Lr(e);i.find(Pr).height("auto"),t=i.find(".slick-track"),n=Lr(t).height(),i.find(Pr).css("height",n+"px"),Ir()}(t),Ir()}),n.on("click",function(){Lr(t).slick("slickPause")}),B(t)})};function $r(e,t={allowQRIBAN:!0}){if(null==e)return!1;const n=new RegExp("^[0-9]{2}$",""),i=e.slice(0,2),r=Fr[i];return void 0!==r&&void 0!==r.bban_regexp&&null!==r.bban_regexp&&void 0!==r.chars&&r.chars===e.length&&n.test(e.slice(2,4))&&function(e,t){if(null==e||null==t)return!1;const n=Fr[t];return null!=n&&void 0!==n.bban_regexp&&null!==n.bban_regexp&&void 0!==n.chars&&null!==n.chars&&(!(n.chars-4!==e.length||!function(e,t){return new RegExp(t,"").test(e)}(e,n.bban_regexp))&&(!n.bban_validation_func||n.bban_validation_func(e.replace(/[\s.]+/g,""))))}(e.slice(4),i)&&function(e){const t=e.slice(0,2),n=parseInt(e.slice(2,4),10),i=(r=`${e.slice(4)}${t}00`,r.split("").map(e=>{const t=e.charCodeAt(0);return t>=65?(t-55).toString():e}).join(""));var r;return 98-Dr(i)===n}(e)&&(t.allowQRIBAN||!function(e){if(null==e)return!1;const t=e.slice(0,2);return!!["LI","CH"].includes(t)&&new RegExp("^3[0-1]{1}[0-9]{3}$","").test(e.slice(4,9))}(e))}var qr,Or;function Nr(e){return"string"!=typeof e?null:e.replace(/[-\ ]/g,"").toUpperCase()}!function(e){e[e.NoIBANProvided=0]="NoIBANProvided",e[e.NoIBANCountry=1]="NoIBANCountry",e[e.WrongBBANLength=2]="WrongBBANLength",e[e.WrongBBANFormat=3]="WrongBBANFormat",e[e.ChecksumNotNumber=4]="ChecksumNotNumber",e[e.WrongIBANChecksum=5]="WrongIBANChecksum",e[e.WrongAccountBankBranchChecksum=6]="WrongAccountBankBranchChecksum",e[e.QRIBANNotAllowed=7]="QRIBANNotAllowed"}(qr||(qr={})),function(e){e[e.NoBICProvided=0]="NoBICProvided",e[e.NoBICCountry=1]="NoBICCountry",e[e.WrongBICFormat=2]="WrongBICFormat"}(Or||(Or={}));const Dr=e=>{for(;e.length>2;){const t=e.slice(0,6),n=parseInt(t,10);if(isNaN(n))return NaN;e=n%97+e.slice(t.length)}return parseInt(e,10)%97},Br=e=>{const t=e.replace(/[\s.]+/g,"");return 1===Dr(t)},Rr=(e,t)=>
23{let n=10;for(let t=0;t<e.length;t++)n+=parseInt(e.charAt(t),10),n%10!=0&&(n%=10),n*=2,n%=11;return t===(11-n==10?0:11-n)},Hr=e=>{const t=[10,5,8,4,2,1],n=[6,3,7,9,10,5,8,4,2,1],i=parseInt(e.charAt(9),10),r=parseInt(e.charAt(19),10),o=e.substring(4,9),s=e.substring(10,19);let a=0;for(let e=0;e<o.length;e++)a+=parseInt(o.charAt(e),10)*t[e];let l=a%11;if(i!==(0===l?0:1===l?1:11-l))return!1;a=0;for(let e=0;e<s.length;e++)a+=parseInt(s.charAt(e),10)*n[e];return l=a%11,r===(0===l?0:1===l?1:11-l)},zr=e=>{const t=e.replace(/[\s.]+/g,""),n=Array.from(t);for(let e=0;e<t.length;e++){const t=n[e].charCodeAt(0);if(t>=65)switch(t){case 65:case 74:n[e]="1";break;case 66:case 75:case 83:n[e]="2";break;case 67:case 76:case 84:n[e]="3";break;case 68:case 77:case 85:n[e]="4";break;case 69:case 78:case 86:n[e]="5";break;case 70:case 79:case 87:n[e]="6";break;case 71:case 80:case 88:n[e]="7";break;case 72:case 81:case 89:n[e]="8";break;case 73:case 82:case 90:n[e]="9"}}return 0===Dr(n.join(""))},Fr={AD:{chars:24,bban_regexp:"^[0-9]{8}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"4-7",bank_identifier:"0-3",account_indentifier:"12-23"},AE:{chars:23,bban_regexp:"^[0-9]{3}[0-9]{16}$",IBANRegistry:!0,bank_identifier:"0-2",account_indentifier:"7-23"},AF:{},AG:{},AI:{},AL:{chars:28,bban_regexp:"^[0-9]{8}[A-Z0-9]{16}$",IBANRegistry:!0,branch_indentifier:"3-7",bank_identifier:"0-2",account_indentifier:"12-28"},AM:{},AO:{chars:25,bban_regexp:"^[0-9]{21}$"},AQ:{},AR:{},AS:{},AT:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-4"},AU:{},AW:{},AX:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0},AZ:{chars:28,bban_regexp:"^[A-Z]{4}[A-Z0-9]{20}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"4-28"},BA:{chars:20,bban_regexp:"^[0-9]{16}$",bban_validation_func:Br,IBANRegistry:!0,branch_indentifier:"3-5",bank_identifier:"0-2"},BB:{},BD:{},BE:{chars:16,bban_regexp:"^[0-9]{12}$",bban_validation_func:e=>{const t=e.replace(/[\s.]+/g,""),n=parseInt(t.substring(0,t.length-2),10);return(n%97==0?97:n%97)===parseInt(t.substring(t.length-2,t.length),10)},IBANRegistry:!0,SEPA:!0,bank_identifier:"0-2",account_indentifier:"0-16"},BF:{chars:28,bban_regexp:"^[A-Z0-9]{2}[0-9]{22}$"},BG:{chars:22,bban_regexp:"^[A-Z]{4}[0-9]{6}[A-Z0-9]{8}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"4-7",bank_identifier:"0-3"},BH:{chars:22,bban_regexp:"^[A-Z]{4}[A-Z0-9]{14}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"8-22"},BI:{chars:27,bban_regexp:"^[0-9]{23}$",branch_indentifier:"5-9",bank_identifier:"0-4",account_indentifier:"14-27"},BJ:{chars:28,bban_regexp:"^[A-Z0-9]{2}[0-9]{22}$"},BL:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$"},BM:{},BN:{},BO:{},BQ:{},BR:{chars:29,bban_regexp:"^[0-9]{23}[A-Z]{1}[A-Z0-9]{1}$",IBANRegistry:!0,branch_indentifier:"8-12",bank_identifier:"0-7",account_indentifier:"17-29"},BS:{},BT:{},BV:{},BW:{},BY:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{4}[A-Z0-9]{16}$",IBANRegistry:!0,bank_identifier:"0-3"},BZ:{},CA:{},CC:{},CD:{},CF:{chars:27,bban_regexp:"^[0-9]{23}$"},CG:{chars:27,bban_regexp:"^[0-9]{23}$"},CH:{chars:21,bban_regexp:"^[0-9]{5}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-4"},CI:{chars:28,bban_regexp:"^[A-Z]{1}[0-9]{23}$"},CK:{},CL:{},CM:{chars:27,bban_regexp:"^[0-9]{23}$"},CN:{},CO:{},CR:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"8-22"},CU:{},CV:{chars:25,bban_regexp:"^[0-9]{21}$"},CW:{},CX:{},CY:{chars:28,bban_regexp:"^[0-9]{8}[A-Z0-9]{16}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"3-7",bank_identifier:"0-2",account_indentifier:"12-28"},CZ:{chars:24,bban_regexp:"^[0-9]{20}$",bban_validation_func:Hr,IBANRegistry:!0,SEPA:!0,bank_identifier:"0-3"},DE:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-7",account_indentifier:"12-22"},DJ:{chars:27,bban_regexp:"^[0-9]{23}$",branch_indentifier:"5-9",bank_identifier:"0-4",account_indentifier:"14-27"},DK:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-3",account_indentifier:"4-18"},DM:{},DO:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"8-28"},DZ:{chars:26,bban_regexp:"^[0-9]{22}$"},EC:{},EE:{chars:20,bban_regexp:"^[0-9]{16}$",bban_validation_func:e=>{const t=[7,1,3,7,1,3,7,1,3,7,1,3,7],n=parseInt(e.charAt(15),10),i=e.substring(2,15);let r=0;for(let e=0;e<i.length;e++)r+=parseInt(i.charAt(e),10)*t[e];const o=r%10;return n===(0===o?0:10-o)},IBANRegistry:!0,SEPA:!0,bank_identifier:"0-1",account_indentifier:"8-20"},EG:{chars:29,bban_regexp:"^[0-9]{25}",IBANRegistry:!0,branch_indentifier:"4-7",bank_identifier:"0-3",account_indentifier:"17-29"},EH:{},ER:{},ES:{chars:24,bban_validation_func:e=>{const t=[4,8,5,10,9,7,3,6],n=[1,2,4,8,5,10,9,7,3,6],i=parseInt(e.charAt(8),10),r=parseInt(e.charAt(9),10),o=e.substring(0,8),s=e.substring(10,20);let a=0;for(let e=0;e<8;e++)a+=parseInt(o.charAt(e),10)*t[e];let l=a%11;if(i!==(0===l?0:1===l?1:11-l))return!1;a=0;for(let e=0;e<10;e++)a+=parseInt(s.charAt(e),10)*n[e];return l=a%11,r===(0===l?0:1===l?1:11-l)},bban_regexp:"^[0-9]{20}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"4-7",bank_identifier:"0-3",account_indentifier:"14-24"},ET:{},FI:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-2",account_indentifier:"0-0"},FJ:{},FK:{chars:18,bban_regexp:"^[A-Z]{2}[0-9]{12}$",bank_identifier:"0-1",account_indentifier:"6-18"},FM:{},FO:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"4-18"},FR:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",bban_validation_func:zr,IBANRegistry:!0,SEPA:!0,bank_identifier:"0-4",branch_indentifier:"5-9",account_indentifier:"14-24"},GA:{chars:27,bban_regexp:"^[0-9]{23}$"},GB:{chars:22,bban_regexp:"^[A-Z]{4}[0-9]{14}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"4-9",bank_identifier:"0-3"},GD:{},GE:{chars:22,bban_regexp:"^[A-Z0-9]{2}[0-9]{16}$",IBANRegistry:!0,bank_identifier:"0-1",account_indentifier:"6-22"},GF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},GG:{},GH:{},GI:{chars:23,bban_regexp:"^[A-Z]{4}[A-Z0-9]{15}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-3",account_indentifier:"8-23"},GL:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"4-18"},GM:{},GN:{},GP:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},GQ:{chars:27,bban_regexp:"^[0-9]{23}$"},GR:{chars:27,bban_regexp:"^[0-9]{7}[A-Z0-9]{16}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"3-6",bank_identifier:"0-2",account_indentifier:"7-27"},GS:{},GT:{chars:28,bban_regexp:"^[A-Z0-9]{24}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"8-28"},GU:{},GW:{chars:25,bban_regexp:"^[A-Z]{2}[0-9]{19}$"},GY:{},HK:{},HM:{},HN:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$"},HR:{chars:21,bban_regexp:"^[0-9]{17}$",bban_validation_func:e=>{const t=parseInt(e.charAt(6),10),n=parseInt(e.charAt(16),10),i=e.substring(0,6),r=e.substring(7,16);return Rr(i,t)&&Rr(r,n)},IBANRegistry:!0,SEPA:!0,bank_identifier:"0-6"},HT:{},HU:{chars:28,bban_regexp:"^[0-9]{24}$",bban_validation_func:e=>{const t=[9,7,3,1,9,7,3,1,9,7,3,1,9,7,3],n=parseInt(e.charAt(7),10),i=e.substring(0,7);let r=0;for(let e=0;e<i.length;e++)r+=parseInt(i.charAt(e),10)*t[e];const o=r%10;if(n!==(0===o?0:10-o))return!1;if(r=0,e.endsWith("00000000")){const n=e.substring(8,15),i=parseInt(e.charAt(15),10);for(let e=0;e<n.length;e++)r+=parseInt(n.charAt(e),10)*t[e];const o=r%10;return i===(0===o?0:10-o)}{const n=e.substring(8,23),i=parseInt(e.charAt(23),10);for(let e=0;e<n.length;e++)r+=parseInt(n.charAt(e),10)*t[e];const o=r%10;return i===(0===o?0:10-o)}},IBANRegistry:!0,SEPA:!0,branch_indentifier:"3-6",bank_identifier:"0-2"},ID:{},IE:{chars:22,bban_regexp:"^[A-Z0-9]{4}[0-9]{14}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"4-9",bank_identifier:"0-3"},IL:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:!0,branch_indentifier:"3-5",bank_identifier:"0-2"},IM:{},IN:{},IO:{},IQ:{chars:23,bban_regexp:"^[A-Z]{4}[0-9]{15}$",IBANRegistry:!0,branch_indentifier:"4-6",bank_identifier:"0-3",account_indentifier:"11-23"},IR:{chars:26,bban_regexp:"^[0-9]{22}$"},IS:{chars:26,bban_regexp:"^[0-9]{22}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"2-3",bank_identifier:"0-1",account_indentifier:"8-25"},IT:{chars:27,bban_regexp:"^[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"6-10",bank_identifier:"1-5",account_indentifier:"4-27"},JE:{},JM:{},JO:{chars:30,bban_regexp:"^[A-Z]{4}[0-9]{4}[A-Z0-9]{18}$",IBANRegistry:!0,branch_indentifier:"4-7",bank_identifier:"4-7"},JP:{},KE:{},KG:{},KH:{},KI:{},KM:{chars:27,bban_regexp:"^[0-9]{23}$"},KN:{},KP:{},KR:{},KW:{chars:30,bban_regexp:"^[A-Z]{4}[A-Z0-9]{22}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"20-30"},KY:{},KZ:{chars:20,bban_regexp:"^[0-9]{3}[A-Z0-9]{13}$",IBANRegistry:!0,bank_identifier:"0-2",account_indentifier:"0-20"},LA:{},LB:{chars:28,bban_regexp:"^[0-9]{4}[A-Z0-9]{20}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"14-28"},LC:{chars:32,bban_regexp:"^[A-Z]{4}[A-Z0-9]{24}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"8-32"},LI:{chars:21,bban_regexp:"^[0-9]{5}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-4"},LK:{},LR:{},LS:{},LT:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-4"},LU:{chars:20,bban_regexp:"^[0-9]{3}[A-Z0-9]{13}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-2"},LV:{chars:21,bban_regexp:"^[A-Z]{4}[A-Z0-9]{13}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-3",account_indentifier:"0-21"},LY:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:!0,branch_indentifier:"3-5",bank_identifier:"0-2",account_indentifier:"10-25"},MA:{chars:28,bban_regexp:"^[0-9]{24}$"},MC:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",bban_validation_func:zr,IBANRegistry:!0,SEPA:!0,branch_indentifier:"5-9",bank_identifier:"0-4"},MD:{chars:24,bban_regexp:"^[A-Z0-9]{2}[A-Z0-9]{18}$",IBANRegistry:!0,bank_identifier:"0-1",account_indentifier:"6-24"},ME:{chars:22,bban_regexp:"^[0-9]{18}$",bban_validation_func:Br,IBANRegistry:!0,bank_identifier:"0-2",account_indentifier:"4-22"},MF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},MG:{chars:27,bban_regexp:"^[0-9]{23}$"},MH:{},MK:{chars:19,bban_regexp:"^[0-9]{3}[A-Z0-9]{10}[0-9]{2}$",bban_validation_func:Br,IBANRegistry:!0,bank_identifier:"0-2"},ML:{chars:28,bban_regexp:"^[A-Z0-9]{2}[0-9]{22}$"},MM:{},MN:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"8-20"},MO:{},MP:{},MQ:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},MR:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!0,branch_indentifier:"5-9",bank_identifier:"0-4",account_indentifier:"8-26"},MS:{},MT:{chars:31,bban_regexp:"^[A-Z]{4}[0-9]{5}[A-Z0-9]{18}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"4-8",bank_identifier:"0-3",account_indentifier:"15-31"},MU:{chars:30,bban_regexp:"^[A-Z]{4}[0-9]{19}[A-Z]{3}$",IBANRegistry:!0,branch_indentifier:"6-7",bank_identifier:"0-5",account_indentifier:"0-30"},MV:{},MW:{},MX:{},MY:{},MZ:{chars:25,bban_regexp:"^[0-9]{21}$"},NA:{},NC:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},NE:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$"},NF:{},NG:{}
23,NI:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",bank_identifier:"0-3",IBANRegistry:!0,account_indentifier:"8-28"},NL:{chars:18,bban_regexp:"^[A-Z]{4}[0-9]{10}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-3",account_indentifier:"8-18"},NO:{chars:15,bban_regexp:"^[0-9]{11}$",bban_validation_func:e=>{const t=[5,4,3,2,7,6,5,4,3,2],n=e.replace(/[\s.]+/g,""),i=parseInt(n.charAt(10),10),r=n.substring(0,10);let o=0;for(let e=0;e<10;e++)o+=parseInt(r.charAt(e),10)*t[e];const s=o%11;return i===(0===s?0:11-s)},IBANRegistry:!0,SEPA:!0,bank_identifier:"0-3",account_indentifier:"4-15"},NP:{},NR:{},NU:{},NZ:{},OM:{chars:23,bban_regexp:"^[0-9]{3}[A-Z0-9]{16}$",IBANRegistry:!0,SEPA:!1,bank_identifier:"0-2"},PA:{},PE:{},PF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},PG:{},PH:{},PK:{chars:24,bban_regexp:"^[A-Z0-9]{4}[0-9]{16}$",IBANRegistry:!0,bank_identifier:"0-3"},PL:{chars:28,bban_validation_func:e=>{const t=[3,9,7,1,3,9,7],n=parseInt(e.charAt(7),10),i=e.substring(0,7);let r=0;for(let e=0;e<7;e++)r+=parseInt(i.charAt(e),10)*t[e];const o=r%10;return n===(0===o?0:10-o)},bban_regexp:"^[0-9]{24}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"0-7",account_indentifier:"2-28"},PM:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},PN:{},PR:{},PS:{chars:29,bban_regexp:"^[A-Z0-9]{4}[0-9]{21}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"17-29"},PT:{chars:25,bban_regexp:"^[0-9]{21}$",bban_validation_func:Br,IBANRegistry:!0,SEPA:!0,bank_identifier:"0-3"},PW:{},PY:{},QA:{chars:29,bban_regexp:"^[A-Z]{4}[A-Z0-9]{21}$",IBANRegistry:!0,bank_identifier:"0-3",account_indentifier:"8-29"},RE:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},RO:{chars:24,bban_regexp:"^[A-Z]{4}[A-Z0-9]{16}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-3",account_indentifier:"0-24"},RS:{chars:22,bban_regexp:"^[0-9]{18}$",bban_validation_func:Br,IBANRegistry:!0,bank_identifier:"0-2"},RU:{chars:33,bban_regexp:"^[0-9]{14}[A-Z0-9]{15}$",IBANRegistry:!0,branch_indentifier:"9-13",bank_identifier:"0-8",account_indentifier:"13-33"},RW:{},SA:{chars:24,bban_regexp:"^[0-9]{2}[A-Z0-9]{18}$",IBANRegistry:!0,bank_identifier:"0-1",account_indentifier:"12-24"},SB:{},SC:{chars:31,bban_regexp:"^[A-Z]{4}[0-9]{20}[A-Z]{3}$",IBANRegistry:!0,branch_indentifier:"6-7",bank_identifier:"0-5",account_indentifier:"12-28"},SD:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,bank_identifier:"0-1",account_indentifier:"6-18"},SE:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:!0,SEPA:!0,bank_identifier:"0-2"},SG:{},SH:{},SI:{chars:19,bban_regexp:"^[0-9]{15}$",bban_validation_func:Br,IBANRegistry:!0,SEPA:!0,branch_indentifier:"2-4",bank_identifier:"0-1",account_indentifier:"9-16"},SJ:{},SK:{chars:24,bban_regexp:"^[0-9]{20}$",bban_validation_func:Hr,IBANRegistry:!0,SEPA:!0},SL:{},SM:{chars:27,bban_regexp:"^[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!0,branch_indentifier:"6-10"},SN:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$"},SO:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:!0,branch_indentifier:"4-6",account_indentifier:"11-23"},SR:{},SS:{},ST:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:!0,branch_indentifier:"4-7"},SV:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:!0,account_indentifier:"8-28"},SX:{},SY:{},SZ:{},TC:{},TD:{chars:27,bban_regexp:"^[0-9]{23}$"},TF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},TG:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$"},TH:{},TJ:{},TK:{},TL:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:!0,account_indentifier:"4-23"},TM:{},TN:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:!0,branch_indentifier:"2-4",account_indentifier:"4-24"},TO:{},TR:{chars:26,bban_regexp:"^[0-9]{5}[A-Z0-9]{17}$",IBANRegistry:!0},TT:{},TV:{},TW:{},TZ:{},UA:{chars:29,bban_regexp:"^[0-9]{6}[A-Z0-9]{19}$",IBANRegistry:!0,account_indentifier:"15-29"},UG:{},UM:{},US:{},UY:{},UZ:{},VA:{chars:22,bban_regexp:"^[0-9]{18}",IBANRegistry:!0,SEPA:!0,account_indentifier:"7-22"},VC:{},VE:{},VG:{chars:24,bban_regexp:"^[A-Z0-9]{4}[0-9]{16}$",IBANRegistry:!0,account_indentifier:"8-24"},VI:{},VN:{},VU:{},WF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},WS:{},XK:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:!0,branch_indentifier:"2-3",account_indentifier:"4-20"},YE:{chars:30,bban_regexp:"[A-Z]{4}[0-9]{4}[0-9A-Z]{18}",IBANRegistry:!0,bank_identifier:"0-3",branch_indentifier:"4-7"},YT:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0},ZA:{},ZM:{},ZW:{}},Wr={ibanInputElAll:document.querySelectorAll('[id*="membership--iban"]')},Ur=function(){document.querySelectorAll("#membership-").forEach(e
23=>{e.addEventListener("submit",t=>{if(e.dataset.submitting)return void t.preventDefault();const n=e.checkValidity(),i=e.querySelector('.c-form__group.is-error [id*="membership--iban"]');if(n&&!i){e.dataset.submitting=!0;const t=e.querySelectorAll('button[type="submit"]');t.forEach(e=>{e.style.pointerEvents="none",e.style.opacity="0.6",e.classList.add("is-loading")}),setTimeout(()=>{delete e.dataset.submitting,t.forEach(e=>{e.style.pointerEvents="auto",e.style.opacity="1",e.classList.remove("is-loading")})},1e4)}})}),Wr.ibanInputElAll.forEach(e=>{e&&(e.setAttribute("autocomplete","off"),e.insertAdjacentHTML("afterend",'<span class="c-form__icon c-form__status-icon u-icon u-icon:right u-icon--alert-valid" aria-hidden="true"></span>'),e.insertAdjacentHTML("afterend",'<span class="c-form__icon c-form__status-icon u-icon u-icon:right u-icon--alert-error" aria-hidden="true"></span>'),e.closest(".c-form__input-container").insertAdjacentHTML("afterend",'<span class="c-form__error-message u-typo:s">Bitte geben Sie eine gültige IBAN Nummer ein.</span>'),e.addEventListener("blur",()=>{const t=Nr(e.value);$r(t)?(e.value=t,e.closest(".c-form__group").classList.remove("is-error"),e.closest(".c-form__group").classList.add("is-valid")):(e.closest(".c-form__group").classList.remove("is-valid"),e.closest(".c-form__group").classList.add("is-error"))}))}),document.querySelectorAll("form").forEach(e=>{const t=e.querySelectorAll('[id*="membership--iban"]');e.addEventListener("submit",n=>{let i=!0;t.forEach(e=>{$r(Nr(e.value))?(e.closest(".c-form__group").classList.remove("is-error"),e.closest(".c-form__group").classList.add("is-valid")):(i=!1,e.closest(".c-form__group").classList.remove("is-valid"),e.closest(".c-form__group").classList.add("is-error"))});const r=n.submitter&&"BUTTON"===n.submitter.tagName&&"submit"===n.submitter.type?n.submitter:null,o=e.querySelectorAll(".c-progress__item"),s=o.length?[...o].findIndex(e=>e.classList.contains("c-progress__item--active")):-1;let a=!1;if(r&&r.value&&s>0&&r.value<s&&(a=!0),!i&&!a){n.preventDefault();const t=e.querySelector('.c-form__group.is-error [id*="membership--iban"]');t&&t.focus()}})})};var Vr=n(796);const Zr=".slick-slide";function Yr(e){const t=e.closest(".c-quote-slider__item"),n=t.querySelector(".c-button");if(!n)return!1;let i=t.getBoundingClientRect(),r=n.getBoundingClientRect(),o=i.height-(r.top-i.top)-r.height;e.style.bottom=`${o}px`}const Gr=function(){Vr(".js-quote-slider:not(.init)").length&&Vr(".js-quote-slider:not(.init)").each(function(e,t){let n=Vr(t).find(".slick-dots");const i={adaptiveHeight:!0,arrows:!0,prevArrow:Vr(t).parent().find(".c-quote-slider__nav-prev"),nextArrow:Vr(t).parent().find(".c-quote-slider__nav-next"),autoplay:!1,dots:!0,appendDots:Vr(t).parent().find(".c-quote-slider__dots"),lazyLoad:!1,customPaging:function(e,t){return`<button type="button"><span class="u-accessibility">Gehe zu Slide ${t+1} von ${Math.ceil(e.slideCount/e.options.slidesToShow)}</span></button>`}};document.querySelectorAll(".c-quote-slider__stopper").length&&(Vr(t).on("init",function(){document.querySelectorAll(".c-quote-slider__stopper").forEach(e=>{Yr(e)})}),Vr(window).smartresize(function(){document.querySelectorAll(".c-quote-slider__stopper").forEach(e=>{Yr(e)})})),Vr(t).slick(i).on("setPosition",function(){!function(e){let t,n,i=Vr(e);i.find(Zr).height("auto"),t=i.find(".slick-track"),n=Vr(t).height(),i.find(Zr).css("height",n+"px")}(t)}),n.on("click",function(){Vr(t).slick("slickPause")}),B(t)})};var Xr=n(796),Kr=n(684);const Qr={insightsSlider:Xr(".js-insights-slider:not(.init)")},Jr=".slick-slide",eo=Kr.breakpoints(),to=function(){Qr.insightsSlider.length&&Qr.insightsSlider.each(function(e,t){let n=Xr(t).find(".slick-dots");const i={slidesToShow:1,vertical:!0,verticalSwiping:!0,adaptiveHeight:!0,arrows:!0,prevArrow:Xr(t).parent().find(".c-insights-slider__nav-prev"),nextArrow:Xr(t).parent().find(".c-insights-slider__nav-next"),autoplay:!1,dots:!1,appendDots:Xr(t).parent().find(".c-insights-slider__dots"),lazyLoad:!1,customPaging:function(e,t){return`<button type="button"><span class="u-accessibility">Gehe zu Slide ${t+1} von ${Math.ceil(e.slideCount/e.options.slidesToShow)}</span></button>`},responsive:[{breakpoint:eo.md,settings:{dots:!0,vertical:!1,verticalSwiping:!1,centerMode:!1,centerPadding:"0"}}]};Xr(t).slick(i).on("setPosition",function(){!function(e){let t,n,i=Xr(e);i.find(Jr).height("auto"),t=i.find(".slick-track"),n=Xr(t).height(),i.find(Jr).css("height",n+"px")}(t)}).on("beforeChange",function(e,t,n,i){}).on("afterChange",function(e,t,n){}),n.on("click",function(){Xr(t).slick("slickPause")}),B(t)})};function no(e,t,n){t&&n&&(e?(t.classList.add("is-open"),n.setAttribute("aria-label","Menü schließen"),n.setAttribute("aria-expanded","true")):(t.classList.remove("is-open"),n.setAttribute("aria-label","Menü öffnen"),n.setAttribute("aria-expanded","fal
23se")))}function io(e){document.querySelectorAll(".c-color-box-ml__activity--active").forEach(e=>{e.classList.add("u-color-bg:pri1"),e.classList.remove("c-color-box-ml__activity--active","u-color-bg:pri2")}),document.querySelectorAll(`[data-activity-internal-target][href="${e}"]`).forEach(e=>{e.closest(".c-color-box-ml__activity").classList.add("c-color-box-ml__activity--active","u-color-bg:pri2")})}function ro(e){window.history.pushState({path:e},"",e)}const oo=function(){const e=document.querySelector(".c-elevator-navigation__toggle"),t=document.querySelector(".c-elevator-navigation");if(no(!1,t,e),e&&t){let c=!1,u=!1;function d(){no(c||u,t,e)}e.addEventListener("click",function(){no(!("true"===e.getAttribute("aria-expanded")),t,e)}),e.addEventListener("focus",function(){c=!0,d()}),e.addEventListener("blur",function(){c=!1,d()}),e.addEventListener("mouseenter",function(){c=!0,d()}),e.addEventListener("mouseleave",function(){c=!1,d()});const p=t.querySelector(".c-elevator-navigation__container");p&&(p.addEventListener("focus",function(){u=!0,d()}),p.addEventListener("blur",function(){u=!1,d()}),p.addEventListener("mouseenter",function(){u=!0,d()}),p.addEventListener("mouseleave",function(){u=!1,d()}))}const n=document.querySelectorAll("[data-activity-internal-target]");if(!n.length)return;const i=new Map,r=new Map,o=document.querySelector("#main-content"),s=new MutationObserver(()=>{An(),Gr(),ei(),j(),kr(),window.scrollTo({top:o.offsetTop-200,behavior:"smooth"})});i.set(window.location.pathname,o.innerHTML);const a=window.location.pathname,l=document.createElement("div");for(l.setAttribute("data-activity-url",a);o.firstChild;)l.appendChild(o.firstChild);o.append(l),i.set(`${a}-title`,document.title),document.querySelector(".c-elevator-navigation__container")?r.set(a,document.querySelector(".c-elevator-navigation__container").innerHTML):r.set(a,""),s.observe(o,{childList:!0}),n.forEach(e=>{const t=e.getAttribute("href");t&&"#"!==t&&o&&e.addEventListener("click",async e=>{if(e.preventDefault(),io(t),i.has(t)){o.querySelectorAll("[data-activity-url]").forEach(e=>{e.style.display="none"}),o.querySelector(`[data-activity-url="${t}"]`).style.display="block",document.title=i.get(`${t}-title`);const e=r.get(t);return e&&(document.querySelector(".c-elevator-navigation__container").innerHTML=e,document.querySelector(".c-elevator-navigation").style.display="block"),window.scrollTo({top:o.offsetTop-200,behavior:"smooth"}),void ro(t)}const n=await fetch(t);if(!n.ok)throw new Error(`Response status: ${n.status}`);const s=await n.text(),a=(new DOMParser).parseFromString(s,"text/html"),l=a.querySelector("#main-content");document.title=a.title,o.querySelectorAll("[data-activity-url]").forEach(e=>{e.style.display="none"}),o.insertAdjacentHTML("beforeend",`<div data-activity-url="${t}">${l?l.innerHTML:""}</div>`),i.set(t,l?l.innerHTML:""),document.title=a.title,i.set(`${t}-title`,a.title),ro(t),document.querySelector(".c-elevator-navigation__container")&&(document.querySelector(".c-elevator-navigation__container").innerHTML="");const c=l?l.querySelector(".c-anchor-list ul"):null;if(c){const e=c.querySelectorAll("li a");e.length&&document.querySelector(".c-elevator-navigation__container")?(e.forEach(e=>{const t=document.createElement("a");t.setAttribute("href",e.getAttribute("href")),t.textContent=e.textContent;const n=document.createElement("li");n.appendChild(t),document.querySelector(".c-elevator-navigation__container").appendChild(n)}),r.set(t,document.querySelector(".c-elevator-navigation__container").innerHTML),document.querySelector(".c-elevator-navigation").style.display="block"):document.querySelector(".c-elevator-navigation")&&(document.querySelector(".c-elevator-navigation").style.display="none")}else document.querySelector(".c-elevator-navigation")&&(document.querySelector(".c-elevator-navigation").style.display="none")})}),window.addEventListener("popstate",e=>{const t=e.state?e.state.path:window.location.pathname;if(i.has(t)){o.querySelectorAll("[data-activity-url]").forEach(e=>{e.style.display="none"}),o.querySelector(`[data-activity-url="${t}"]`).style.display="block",document.title=i.get(`${t}-title`);const e=r.get(t);e?(document.querySelector(".c-elevator-navigation__container").innerHTML=e,document.querySelector(".c-elevator-navigation").style.display="block"):document.querySelector(".c-elevator-navigation").style.display="none",setTimeout(()=>{window.scrollTo({top:o.offsetTop-200,behavior:"smooth"})},40)}io(t)})},so={scrollToTopAll:document.querySelectorAll(".js-scroll-to-top")},ao=function(){so.scrollToTopAll.length&&so.scrollToTopAll.forEach(e
vendor: 66,075 bytes, line 23
23=>{e.addEventListener("click",e=>{e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})})})};function lo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function co(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var uo,po,fo,ho,mo,go,vo,yo,bo,_o,wo,xo,So,ko,To,Co,Eo,Ao={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Lo={duration:.5,overwrite:!1,delay:0},jo=1e8,Po=1e-8,Io=2*Math.PI,Mo=Io/4,$o=0,qo=Math.sqrt,Oo=Math.cos,No=Math.sin,Do=function(e){return"string"==typeof e},Bo=function(e){return"function"==typeof e},Ro=function(e){return"number"==typeof e},Ho=function(e){return void 0===e},zo=function(e){return"object"==typeof e},Fo=function(e){return!1!==e},Wo=function(){return"undefined"!=typeof window},Uo=function(e){return Bo(e)||Do(e)},Vo="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Zo=Array.isArray,Yo=/random\([^)]+\)/g,Go=/,\s*/g,Xo=/(?:-?\.?\d|\.)+/gi,Ko=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Qo=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Jo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,es=/[+-]=-?[.\d]+/,ts=/[^,'"\[\]\s]+/gi,ns=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,is={},rs={},os=function(e){return(rs=qs(e,is))&&$l},ss=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},as=function(e,t){return!t&&console.warn(e)},ls=function(e,t){return e&&(is[e]=t)&&rs&&(rs[e]=t)||is},cs=function(){return 0},us={suppressEvents:!0,isStart:!0,kill:!1},ds={suppressEvents:!0,kill:!1},ps={suppressEvents:!0},fs={},hs=[],ms={},gs={},vs={},ys=30,bs=[],_s="",ws=function(e){var t,n,i=e[0];if(zo(i)||Bo(i)||(e=[e]),!(t=(i._gsap||{}).harness)){for(n=bs.length;n--&&!bs[n].targetTest(i););t=bs[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Ya(e[n],t)))||e.splice(n,1);return e},xs=function(e){return e._gsap||ws(pa(e))[0]._gsap},Ss=function(e,t,n){return(n=e[t])&&Bo(n)?e[t]():Ho(n)&&e.getAttribute&&e.getAttribute(t)||n},ks=function(e,t){return(e=e.split(",")).forEach(t)||e},Ts=function(e){return Math.round(1e5*e)/1e5||0},Cs=function(e){return Math.round(1e7*e)/1e7||0},Es=function(e,t){var n=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+i:"-"===n?e-i:"*"===n?e*i:e/i},As=function(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++i<n;);return i<n},Ls=function(){var e,t,n=hs.length,i=hs.slice(0);for(ms={},hs.length=0,e=0;e<n;e++)(t=i[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},js=function(e){return!!(e._initted||e._startAt||e.add)},Ps=function(e,t,n,i){hs.length&&!po&&Ls(),e.render(t,n,i||!!(po&&t<0&&js(e))),hs.length&&!po&&Ls()},Is=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(ts).length<2?t:Do(e)?e.trim():e},Ms=function(e){return e},$s=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},qs=function(e,t){for(var n in t)e[n]=t[n];return e},Os=function e(t,n){for(var i in n)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(t[i]=zo(n[i])?e(t[i]||(t[i]={}),n[i]):n[i]);return t},Ns=function(e,t){var n,i={};for(n in e)n in t||(i[n]=e[n]);return i},Ds=function(e){var t,n=e.parent||ho,i=e.keyframes?(t=Zo(e.keyframes),function(e,n){for(var i in n)i in e||"duration"===i&&t||"ease"===i||(e[i]=n[i])}):$s;if(Fo(e.inherit))for(;n;)i(e,n.vars.defaults),n=n.parent||n._dp;return e},Bs=function(e,t,n,i,r){void 0===n&&(n="_first"),void 0===i&&(i="_last");var o,s=e[i];if(r)for(o=t[r];s&&s[r]>o;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[i]=t,t._prev=s,t.parent=t._dp=e,t},Rs=function(e,t,n,i){void 0===n&&(n="_first"),void 0===i&&(i="_last");var r=t._prev,o=t._next;r?r._next=o:e[n]===t&&(e[n]=o),o?o._prev=r:e[i]===t&&(e[i]=r),t._next=t._prev=t.parent=null},Hs=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},zs=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Fs=function(e,t,n,i){return e._startAt&&(po?e._startAt.revert(ds):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Ws=function e(t){return!t||t._ts&&e(t.parent)},Us=function(e){return e._repeat?Vs(e._tTime,e=e.duration()+e._rDelay)*e:0},Vs=function(e,t){var n=Math.floor(e=Cs(e/t));return e&&n===e?n-1:n},Zs=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ys=function(e){return e._end=Cs(e._start+(e._tDur/Math.abs(e._ts||e._rts||Po)||0))},Gs=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Cs(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ys(e),n._dirty||zs(n,e)),e},Xs=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Zs(e.rawTime(),t),(!t._dur||la(0,t.totalDuration(),n)-t._tTime>Po)&&t.render(n,!0)),zs(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},Ks=function(e,t,n,i){return t.parent&&Hs(t),t._start=Cs((Ro(n)?n:n||e!==ho?oa(e,n,t):e._time)+t._delay),t._end=Cs(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Bs(e,t,"_first","_last",e._sort?"_start":0),ta(t)||(e._recent=t),i||Xs(e,t),e._ts<0&&Gs(e,e._tTime),e},Qs=function(e,t){return(is.ScrollTrigger||ss("scrollTrigger",t))&&is.ScrollTrigger.create(t,e)},Js=function(e,t,n,i,r){return nl(e,t,r),e._initted?!n&&e._pt&&!po&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&bo!==Oa.frame?(hs.push(e),e._lazy=[r,i],1):void 0:1},ea=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},ta=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},na=function(e,t,n,i){var r=e._repeat,o=Cs(t)||0,s=e._tTime/e._tDur;return s&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=r?r<0?1e10:Cs(o*(r+1)+e._rDelay*r):o,s>0&&!i&&Gs(e,e._tTime=e._tDur*s),e.parent&&Ys(e),n||zs(e.parent,e),e},ia=function(e){return e instanceof Xa?zs(e):na(e,e._dur)},ra={_start:0,endTime:cs,totalDuration:cs},oa=function e(t,n,i){var r,o,s,a=t.labels,l=t._recent||ra,c=t.duration()>=jo?l.endTime(!1):t._dur;return Do(n)&&(isNaN(n)||n in a)?(o=n.charAt(0),s="%"===n.substr(-1),r=n.indexOf("="),"<"===o||">"===o?(r>=0&&(n=n.replace(/=/,"")),("<"===o?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(s?(r<0?l:i).totalDuration()/100:1)):r<0?(n in a||(a[n]=c),a[n]):(o=parseFloat(n.charAt(r-1)+n.substr(r+1)),s&&i&&(o=o/100*(Zo(i)?i[0]:i).totalDuration()),r>1?e(t,n.substr(0,r-1),i)+o:c+o)):null==n?c:+n},sa=function(e,t,n){var i,r,o=Ro(t[1]),s=(o?2:1)+(e<2?0:1),a=t[s];if(o&&(a.duration=t[1]),a.parent=n,e){for(i=a,r=n;r&&!("immediateRender"in i);)i=r.vars.defaults||{},r=Fo(r.vars.inherit)&&r.parent;a.immediateRender=Fo(i.immediateRender),e<2?a.runBackwards=1:a.startAt=t[s-1]}return new al(t[0],a,t[s+1])},aa=function(e,t){return e||0===e?t(e):t},la=function(e,t,n){return n<e?e:n>t?t:n},ca=function(e,t){return Do(e)&&(t=ns.exec(e))?t[1]:""},ua=[].slice,da=function(e,t){return e&&zo(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&zo(e[0]))&&!e.nodeType&&e!==mo},pa=function(e,t,n){return fo&&!t&&fo.selector?fo.selector(e):!Do(e)||n||!go&&Na()?Zo(e)?function(e,t,n){return void 0===n&&(n=[]),e.forEach(function(e){var i;return Do(e)&&!t||da(e,1)?(i=n).push.apply(i,pa(e)):n.push(e)})||n}(e,n):da(e)?ua.call(e,0):e?[e]:[]:ua.call((t||vo).querySelectorAll(e),0)},fa=function(e){return e=pa(e)[0]||as("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return pa(t,n.querySelectorAll?n:n===e?as("Invalid scope")||vo.createElement("div"):e)}},ha=function(e){return e.sort(function(){return.5-Math.random()})},ma=function(e){if(Bo(e))return e;var t=zo(e)?e:{each:e},n=Fa(t.ease),i=t.from||0,r=parseFloat(t.base)||0,o={},s=i>0&&i<1,a=isNaN(i)||s,l=t.axis,c=i,u=i;return Do(i)?c=u={center:.5,edges:.5,end:1}[i]||0:!s&&a&&(c=i[0],u=i[1]),function(e,s,d){var p,f,h,m,g,v,y,b,_,w=(d||t).length,x=o[w];if(!x){if(!(_="auto"===t.grid?0:(t.grid||[1,jo])[1])){for(y=-jo;y<(y=d[_++].getBoundingClientRect().left)&&_<w;);_<w&&_--}for(x=o[w]=[],p=a?Math.min(_,w)*c-.5:i%_,f=_===jo?0:a?w*u/_-.5:i/_|0,y=0,b=jo,v=0;v<w;v++)h=v%_-p,m=f-(v/_|0),x[v]=g=l?Math.abs("y"===l?m:h):qo(h*h+m*m),g>y&&(y=g),g<b&&(b=g);"random"===i&&ha(x),x.max=y-b,x.min=b,x.v=w=(parseFloat(t.amount)||parseFloat(t.each)*(_>w?w-1:l?"y"===l?w/_:_:Math.max(_,w/_))||0)*("edges"===i?-1:1),x.b=w<0?r-w:r,x.u=ca(t.amount||t.each)||0,n=n&&w<0?za(n):n}return w=(x[e]-x.min)/x.max||0,Cs(x.b+(n?n(w):w)*x.v)+x.u}},ga=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Cs(Math.round(parseFloat(n)/e)*e*t);return(i-i%1)/t+(Ro(n)?0:ca(n))}},va=function(e,t){var n,i,r=Zo(e);return!r&&zo(e)&&(n=r=e.radius||jo,e.values?(e=pa(e.values),(i=!Ro(e[0]))&&(n*=n)):e=ga(e.increment)),aa(t,r?Bo(e)?function(t){return i=e(t),Math.abs(i-t)<=n?i:t}:function(t){for(var r,o,s=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),l=jo,c=0,u=e.length;u--;)(r=i?(r=e[u].x-s)*r+(o=e[u].y-a)*o:Math.abs(e[u]-s))<l&&(l=r,c=u);return c=!n||l<=n?e[c]:t,i||c===t||Ro(t)?c:c+ca(t)}:ga(e))},ya=function(e,t,n,i){return aa(Zo(e)?!t:!0===n?!!(n=0):!i,function(){return Zo(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*i)/i})},ba=function(e,t,n){return aa(n,function(n){return e[~~t(n)]})},_a=function(e){return e.replace(Yo,function(e){var t=e.indexOf("[")+1,n=e.substring(t||7,t?e.indexOf("]"):e.length-1).split(Go);return ya(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},wa=function(e,t,n,i,r){var o=t-e,s=i-n;return aa(r,function(t){return n+((t-e)/o*s||0)})},xa=function(e,t,n){var i,r,o,s=e.labels,a=jo;for(i in s)(r=s[i]-t)<0==!!n&&r&&a>(r=Math.abs(r))&&(o=i,a=r);return o},Sa=function(e,t,n){var i,r,o,s=e.vars,a=s[t],l=fo,c=e._ctx;if(a)return i=s[t+"Params"],r=s.callbackScope||e,n&&hs.length&&Ls(),c&&(fo=c),o=i?a.apply(r,i):a.call(r),fo=l,o},ka=function(e){return Hs(e),e.scrollTrigger&&e.scrollTrigger.kill(!!po),e.progress()<1&&Sa(e,"onInterrupt"),e},Ta=[],Ca=function(e){if(e)if(e=!e.name&&e.default||e,Wo()||e.headless){var t=e.name,n=Bo(e),i=t&&!n&&e.init?function(){this._props=[]}:e,r={init:cs,render:gl,add:el,kill:yl,modifier:vl,rawVars:0},o={targetTest:0,get:0,getSetter:pl,aliases:{},register:0};if(Na(),e!==i){if(gs[t])return;$s(i,$s(Ns(e,r),o)),qs(i.prototype,qs(r,Ns(e,o))),gs[i.prop=t]=i,e.targetTest&&(bs.push(i),fs[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ls(t,i),e.register&&e.register($l,i,wl)}else Ta.push(e)},Ea=255,Aa={aqua:[0,Ea,Ea],lime:[0,Ea,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ea],navy:[0,0,128],white:[Ea,Ea,Ea],olive:[128,128,0],yellow:[Ea,Ea,0],orange:[Ea,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ea,0,0],pink:[Ea,192,203],cyan:[0,Ea,Ea],transparent:[Ea,Ea,Ea,0]},La=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*Ea+.5|0},ja=function(e,t,n){var i,r,o,s,a,l,c,u,d,p,f=e?Ro(e)?[e>>16,e>>8&Ea,e&Ea]:0:Aa.black;if(!f){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),Aa[e])f=Aa[e];else if("#"===e.charAt(0)){if(e.length<6&&(i=e.charAt(1),r=e.charAt(2),o=e.charAt(3),e="#"+i+i+r+r+o+o+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(f=parseInt(e.substr(1,6),16))>>16,f>>8&Ea,f&Ea,parseInt(e.substr(7),16)/255];f=[(e=parseInt(e.substr(1),16))>>16,e>>8&Ea,e&Ea]}else if("hsl"===e.substr(0,3))if(f=p=e.match(Xo),t){if(~e.indexOf("="))return f=e.match(Ko),n&&f.length<4&&(f[3]=1),f}else s=+f[0]%360/360,a=+f[1]/100,i=2*(l=+f[2]/100)-(r=l<=.5?l*(a+1):l+a-l*a),f.length>3&&(f[3]*=1),f[0]=La(s+1/3,i,r),f[1]=La(s,i,r),f[2]=La(s-1/3,i,r);else f=e.match(Xo)||Aa.transparent;f=f.map(Number)}return t&&!p&&(i=f[0]/Ea,r=f[1]/Ea,o=f[2]/Ea,l=((c=Math.max(i,r,o))+(u=Math.min(i,r,o)))/2,c===u?s=a=0:(d=c-u,a=l>.5?d/(2-c-u):d/(c+u),s=c===i?(r-o)/d+(r<o?6:0):c===r?(o-i)/d+2:(i-r)/d+4,s*=60),f[0]=~~(s+.5),f[1]=~~(100*a+.5),f[2]=~~(100*l+.5)),n&&f.length<4&&(f[3]=1),f},Pa=function(e){var t=[],n=[],i=-1;return e.split(Ma).forEach(function(e){var r=e.match(Qo)||[];t.push.apply(t,r),n.push(i+=r.length+1)}),t.c=n,t},Ia=function(e,t,n){var i,r,o,s,a="",l=(e+a).match(Ma),c=t?"hsla(":"rgba(",u=0;if(!l)return e;if(l=l.map(function(e){return(e=ja(e,t,1))&&c+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"}),n&&(o=Pa(e),(i=n.c).join(a)!==o.c.join(a)))for(s=(r=e.replace(Ma,"1").split(Qo)).length-1;u<s;u++)a+=r[u]+(~i.indexOf(u)?l.shift()||c+"0,0,0,0)":(o.length?o:l.length?l:n).shift());if(!r)for(s=(r=e.split(Ma)).length-1;u<s;u++)a+=r[u]+l[u];return a+r[s]},Ma=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in Aa)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),$a=/hsl[a]?\(/,qa=function(e){var t,n=e.join(" ");if(Ma.lastIndex=0,Ma.test(n))return t=$a.test(n),e[1]=Ia(e[1],t),e[0]=Ia(e[0],t,Pa(e[1])),!0},Oa=function(){var e,t,n,i,r,o,s=Date.now,a=500,l=33,c=s(),u=c,d=1e3/240,p=d,f=[],h=function n(h){var m,g,v,y,b=s()-u,_=!0===h;if((b>a||b<0)&&(c+=b-l),((m=(v=(u+=b)-c)-p)>0||_)&&(y=++i.frame,r=v-1e3*i.time,i.time=v/=1e3,p+=m+(m>=d?4:d-m),g=1),_||(e=t(n)),g)for(o=0;o<f.length;o++)f[o](v,r,y,h)};return i={time:0,frame:0,tick:function(){h(!0)},deltaRatio:function(e){return r/(1e3/(e||60))},wake:function(){yo&&(!go&&Wo()&&(mo=go=window,vo=mo.document||{},is.gsap=$l,(mo.gsapVersions||(mo.gsapVersions=[])).push($l.version),os(rs||mo.GreenSockGlobals||!mo.gsap&&mo||{}),Ta.forEach(Ca)),n="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,e&&i.sleep(),t=n||function(e){return setTimeout(e,p-1e3*i.time+1|0)},wo=1,h(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(e),wo=0,t=cs},lagSmoothing:function(e,t){a=e||1/0,l=Math.min(t||33,a)},fps:function(e){d=1e3/(e||240),p=1e3*i.time+d},add:function(e,t,n){var r=t?function(t,n,o,s){e(t,n,o,s),i.remove(r)}:e;return i.remove(e),f[n?"unshift":"push"](r),Na(),r},remove:function(e,t){~(t=f.indexOf(e))&&f.splice(t,1)&&o>=t&&o--},_listeners:f}}(),Na=function(){return!wo&&Oa.wake()},Da={},Ba=/^[\d.\-M][\d.\-,\s]/,Ra=/["']/g,Ha=function(e){for(var t,n,i,r={},o=e.substr(1,e.length-3).split(":"),s=o[0],a=1,l=o.length;a<l;a++)n=o[a],t=a!==l-1?n.lastIndexOf(","):n.length,i=n.substr(0,t),r[s]=isNaN(i)?i.replace(Ra,"").trim():+i,s=n.substr(t+1).trim();return r},za=function(e){return function(t){return 1-e(1-t)}},Fa=function(e,t){return e&&(Bo(e)?e:Da[e]||function(e){var t,n,i,r,o=(e+"").split("("),s=Da[o[0]];return s&&o.length>1&&s.config?s.config.apply(null,~e.indexOf("{")?[Ha(o[1])]:(t=e,n=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",n),t.substring(n,~r&&r<i?t.indexOf(")",i+1):i)).split(",").map(Is)):Da._CE&&Ba.test(e)?Da._CE("",e):s}(e))||t},Wa=function(e,t,n,i){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===i&&(i=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var r,o={easeIn:t,easeOut:n,easeInOut:i};return ks(e,function(e){for(var t in Da[e]=is[e]=o,Da[r=e.toLowerCase()]=n,o)Da[r+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=Da[e+"."+t]=o[t]}),o},Ua=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},Va=function e(t,n,i){var r=n>=1?n:1,o=(i||(t?.3:.45))/(n<1?n:1),s=o/Io*(Math.asin(1/r)||0),a=function(e){return 1===e?1:r*Math.pow(2,-10*e)*No((e-s)*o)+1},l="out"===t?a:"in"===t?function(e){return 1-a(1-e)}:Ua(a);return o=Io/o,l.config=function(n,i){return e(t,n,i)},l},Za=function e(t,n){void 0===n&&(n=1.70158);var i=function(e){return e?--e*e*((n+1)*e+n)+1:0},r="out"===t?i:"in"===t?function(e){return 1-i(1-e)}:Ua(i);return r.config=function(n){return e(t,n)},r};ks("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var n=t<5?t+1:t;Wa(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},function(e){return 1-Math.pow(1-e,n)},function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow(2*(1-e),n)/2})}),Da.Linear.easeNone=Da.none=Da.Linear.easeIn,Wa("Elastic",Va("in"),Va("out"),Va()),xo=7.5625,To=2*(ko=1/(So=2.75)),Co=2.5*ko,Wa("Bounce",function(e){return 1-Eo(1-e)},Eo=function(e){return e<ko?xo*e*e:e<To?xo*Math.pow(e-1.5/So,2)+.75:e<Co?xo*(e-=2.25/So)*e+.9375:xo*Math.pow(e-2.625/So,2)+.984375}),Wa("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)}),Wa("Circ",function(e){return-(qo(1-e*e)-1)}),Wa("Sine",function(e){return 1===e?1:1-Oo(e*Mo)}),Wa("Back",Za("in"),Za("out"),Za()),Da.SteppedEase=Da.steps=is.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,i=e+(t?0:1),r=t?1:0;return function(e){return((i*la(0,.99999999,e)|0)+r)*n}}},Lo.ease=Da["quad.out"],ks("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return _s+=e+","+e+"Params,"});var Ya=function(e,t){this.id=$o++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ss,this.set=t?t.getSetter:pl},Ga=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,na(this,+e.duration,1,1),this.data=e.data,fo&&(this._ctx=fo,fo.data.push(this)),wo||Oa.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,na(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Na(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Gs(this,e),!n._dp||n.parent||Xs(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Ks(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===Po||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Ps(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Us(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+Us(this),t):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?Vs(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?Zs(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(la(-Math.abs(this._delay),this.totalDuration(),n),!1!==t),Ys(this),function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e}(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Na(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Po&&(this._tTime-=Po)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=Cs(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Ks(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(Fo(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Zs(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=ps);var t=po;return po=e,js(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),po=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,ia(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,ia(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(oa(this,e),Fo(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,Fo(t)),this._dur||(this._zTime=-1e-8),this},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-Po))},t.eventCallback=function(e,t,n){var i=this.vars;return arguments.length>1?(t?(i[e]=t,n&&(i[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete i[e],this):i[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(i){var r=Bo(e)?e:Ms,o=function(){var e=t.then;t.then=null,n&&n(),Bo(r)&&(r=r(t))&&(r.then||r===t)&&(t.then=e),i(r),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?o():t._prom=o})},t.kill=function(){ka(this)},e}();$s(Ga.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Xa=function(e){function t(t,n){var i;return void 0===t&&(t={}),(i=e.call(this,t)||this).labels={},i.smoothChildTiming=!!t.smoothChildTiming,i.autoRemoveChildren=!!t.autoRemoveChildren,i._sort=Fo(t.sortChildren),ho&&Ks(t.parent||ho,lo(i),n),t.reversed&&i.reverse(),t.paused&&i.paused(!0),t.scrollTrigger&&Qs(lo(i),t.scrollTrigger),i}co(t,e);var n=t.prototype;return n.to=function(e,t,n){return sa(0,arguments,this),this},n.from=function(e,t,n){return sa(1,arguments,this),this},n.fromTo=function(e,t,n,i){return sa(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,Ds(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new al(e,t,oa(this,n),1),this},n.call=function(e,t,n){return Ks(this,al.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,i,r,o,s){return n.duration=t,n.stagger=n.stagger||i,n.onComplete=o,n.onCompleteParams=s,n.parent=this,new al(e,n,oa(this,r)),this},n.staggerFrom=function(e,t,n,i,r,o,s){return n.runBackwards=1,Ds(n).immediateRender=Fo(n.immediateRender),this.staggerTo(e,t,n,i,r,o,s)},n.staggerFromTo=function(e,t,n,i,r,o,s,a){return i.startAt=n,Ds(i).immediateRender=Fo(i.immediateRender),this.staggerTo(e,t,i,r,o,s,a)},n.render=function(e,t,n){var i,r,o,s,a,l,c,u,d,p,f,h,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=e<=0?0:Cs(e),b=this._zTime<0!=e<0&&(this._initted||!v);if(this!==ho&&y>g&&e>=0&&(y=g),y!==this._tTime||n||b){if(m!==this._time&&v&&(y+=this._time-m,e+=this._time-m),i=y,d=this._start,l=!(u=this._ts),b&&(v||(m=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(f=this._yoyo,a=v+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*a+e,t,n);if(i=Cs(y%a),y===g?(s=this._repeat,i=v):((s=~~(p=Cs(y/a)))&&s===p&&(i=v,s--),i>v&&(i=v)),p=Vs(this._tTime,a),!m&&this._tTime&&p!==s&&this._tTime-p*a-this._dur<=0&&(p=s),f&&1&s&&(i=v-i,h=1),s!==p&&!this._lock){var _=f&&1&p,w=_===(f&&1&s);if(s<p&&(_=!_),m=_?0:y%v?v:y,this._lock=1,this.render(m||(h?0:Cs(s*a)),t,!v)._lock=0,this._tTime=y,!t&&this.parent&&Sa(this,"onRepeat"),this.vars.repeatRefresh&&!h&&(this.invalidate()._lock=1,p=s),m&&m!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,g=this._tDur,w&&(this._lock=2,m=_?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!h&&this.invalidate()),this._lock=0,!this._ts&&!l)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(c=function(e,t,n){var i;if(n>t)for(i=e._first;i&&i._start<=n;){if("isPause"===i.data&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if("isPause"===i.data&&i._start<t)return i;i=i._prev}}(this,Cs(m),Cs(i)),c&&(y-=i-(i=c._start))),this._tTime=y,this._time=i,this._act=!!u,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,m=0),!m&&y&&v&&!t&&!p&&(Sa(this,"onStart"),this._tTime!==y))return this;if(i>=m&&e>=0)for(r=this._first;r;){if(o=r._next,(r._act||i>=r._start)&&r._ts&&c!==r){if(r.parent!==this)return this.render(e,t,n);if(r.render(r._ts>0?(i-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(i-r._start)*r._ts,t,n),i!==this._time||!this._ts&&!l){c=0,o&&(y+=this._zTime=-1e-8);break}}r=o}else{r=this._last;for(var x=e<0?e:i;r;){if(o=r._prev,(r._act||x<=r._end)&&r._ts&&c!==r){if(r.parent!==this)return this.render(e,t,n);if(r.render(r._ts>0?(x-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(x-r._start)*r._ts,t,n||po&&js(r)),i!==this._time||!this._ts&&!l){c=0,o&&(y+=this._zTime=x?-1e-8:Po);break}}r=o}}if(c&&!t&&(this.pause(),c.render(i>=m?0:-1e-8)._zTime=i>=m?1:-1,this._ts))return this._start=d,Ys(this),this.render(e,t,n);this._onUpdate&&!t&&Sa(this,"onUpdate",!0),(y===g&&this._tTime>=this.totalDuration()||!y&&m)&&(d!==this._start&&Math.abs(u)===Math.abs(this._ts)||this._lock||((e||!v)&&(y===g&&this._ts>0||!y&&this._ts<0)&&Hs(this,1),t||e<0&&!m||!y&&!m&&g||(Sa(this,y===g&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<g&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(Ro(t)||(t=oa(this,t,e)),!(e instanceof Ga)){if(Zo(e))return e.forEach(function(e){return n.add(e,t)}),this;if(Do(e))return this.addLabel(e,t);if(!Bo(e))return this;e=al.delayedCall(0,e)}return this!==e?Ks(this,e,t):this},n.getChildren=function(e,t,n,i){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===i&&(i=-jo);for(var r=[],o=this._first;o;)o._start>=i&&(o instanceof al?t&&r.push(o):(n&&r.push(o),e&&r.push.apply(r,o.getChildren(!0,t,n)))),o=o._next;return r},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return Do(e)?this.removeLabel(e):Bo(e)?this.killTweensOf(e):(e.parent===this&&Rs(this,e),e===this._recent&&(this._recent=this._last),zs(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Cs(Oa.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=oa(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var i=al.delayedCall(0,t||cs,n);return i.data="isPause",this._hasPause=1,Ks(this,i,oa(this,e))},n.removePause=function(e){var t=this._first;for(e=oa(this,e);t;)t._start===e&&"isPause"===t.data&&Hs(t),t=t._next},n.killTweensOf=function(e,t,n){for(var i=this.getTweensOf(e,n),r=i.length;r--;)Ka!==i[r]&&i[r].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,i=[],r=pa(e),o=this._first,s=Ro(t);o;)o instanceof al?As(o._targets,r)&&(s?(!Ka||o._initted&&o._ts)&&o.globalTime(0)<=t&&o.globalTime(o.totalDuration())>t:!t||o.isActive())&&i.push(o):(n=o.getTweensOf(r,t)).length&&i.push.apply(i,n),o=o._next;return i},n.tweenTo=function(e,t){t=t||{};var n,i=this,r=oa(i,e),o=t,s=o.startAt,a=o.onStart,l=o.onStartParams,c=o.immediateRender,u=al.to(i,$s({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:t.duration||Math.abs((r-(s&&"time"in s?s.time:i._time))/i.timeScale())||Po,onStart:function(){if(i.pause(),!n){var e=t.duration||Math.abs((r-(s&&"time"in s?s.time:i._time))/i.timeScale());u._dur!==e&&na(u,e,0,1).render(u._time,!0,!0),n=1}a&&a.apply(u,l||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,$s({startAt:{time:oa(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),xa(this,oa(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),xa(this,oa(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+Po)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);var i,r=this._first,o=this.labels;for(e=Cs(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(i in o)o[i]>=n&&(o[i]+=e);return zs(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),zs(this)},n.totalDuration=function(e){var t,n,i,r=0,o=this,s=o._last,a=jo;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-e:e));if(o._dirty){for(i=o.parent;s;)t=s._prev,s._dirty&&s.totalDuration(),(n=s._start)>a&&o._sort&&s._ts&&!o._lock?(o._lock=1,Ks(o,s,n-s._delay,1)._lock=0):a=n,n<0&&s._ts&&(r-=n,(!i&&!o._dp||i&&i.smoothChildTiming)&&(o._start+=Cs(n/o._ts),o._time-=n,o._tTime-=n),o.shiftChildren(-n,!1,-1/0),a=0),s._end>r&&s._ts&&(r=s._end),s=t;na(o,o===ho&&o._time>r?o._time:r,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(e){if(ho._ts&&(Ps(ho,Zs(e,ho)),bo=Oa.frame),Oa.frame>=ys){ys+=Ao.autoSleep||120;var t=ho._first;if((!t||!t._ts)&&Ao.autoSleep&&Oa._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Oa.sleep()}}},t}(Ga);$s(Xa.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ka,Qa,Ja=function(e,t,n,i,r,o,s){var a,l,c,u,d,p,f,h,m=new wl(this._pt,e,t,0,1,ml,null,r),g=0,v=0;for(m.b=n,m.e=i,n+="",(f=~(i+="").indexOf("random("))&&(i=_a(i)),o&&(o(h=[n,i],e,t),n=h[0],i=h[1]),l=n.match(Jo)||[];a=Jo.exec(i);)u=a[0],d=i.substring(g,a.index),c?c=(c+1)%5:"rgba("===d.substr(-5)&&(c=1),u!==l[v++]&&(p=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:d||1===v?d:",",s:p,c:"="===u.charAt(1)?Es(p,u)-p:parseFloat(u)-p,m:c&&c<4?Math.round:0},g=Jo.lastIndex);return m.c=g<i.length?i.substring(g,i.length):"",m.fp=s,(es.test(i)||f)&&(m.e=0),this._pt=m,m},el=function(e,t,n,i,r,o,s,a,l,c){Bo(i)&&(i=i(r||0,e,o));var u,d=e[t],p="get"!==n?n:Bo(d)?l?e[t.indexOf("set")||!Bo(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,f=Bo(d)?l?ul:cl:ll;if(Do(i)&&(~i.indexOf("random(")&&(i=_a(i)),"="===i.charAt(1)&&((u=Es(p,i)+(ca(p)||0))||0===u)&&(i=u)),!c||p!==i||Qa)return isNaN(p*i)||""===i?(!d&&!(t in e)&&ss(t,i),Ja.call(this,e,t,p,i,f,a||Ao.stringFilter,l)):(u=new wl(this._pt,e,t,+p||0,i-(p||0),"boolean"==typeof d?hl:fl,0,f),l&&(u.fp=l),s&&u.modifier(s,this,e),this._pt=u)},tl=function(e,t,n,i,r,o){var s,a,l,c;if(gs[e]&&!1!==(s=new gs[e]).init(r,s.rawVars?t[e]:function(e,t,n,i,r){if(Bo(e)&&(e=rl(e,r,t,n,i)),!zo(e)||e.style&&e.nodeType||Zo(e)||Vo(e))return Do(e)?rl(e,r,t,n,i):e;var o,s={};for(o in e)s[o]=rl(e[o],r,t,n,i);return s}(t[e],i,r,o,n),n,i,o)&&(n._pt=a=new wl(n._pt,r,e,0,1,s.render,s,0,s.priority),n!==_o))for(l=n._ptLookup[n._targets.indexOf(r)],c=s._props.length;c--;)l[s._props[c]]=a;return s},nl=function e(t,n,i){var r,o,s,a,l,c,u,d,p,f,h,m,g,v=t.vars,y=v.ease,b=v.startAt,_=v.immediateRender,w=v.lazy,x=v.onUpdate,S=v.runBackwards,k=v.yoyoEase,T=v.keyframes,C=v.autoRevert,E=t._dur,A=t._startAt,L=t._targets,j=t.parent,P=j&&"nested"===j.data?j.vars.targets:L,I="auto"===t._overwrite&&!uo,M=t.timeline,$=v.easeReverse||k;if(M&&(!T||!y)&&(y="none"),t._ease=Fa(y,Lo.ease),t._rEase=$&&(Fa($)||t._ease),t._from=!M&&!!v.runBackwards,t._from&&(t.ratio=1),!M||T&&!v.stagger){if(m=(d=L[0]?xs(L[0]).harness:0)&&v[d.prop],r=Ns(v,fs),A&&(A._zTime<0&&A.progress(1),n<0&&S&&_&&!C?A.render(-1,!0):A.revert(S&&E?ds:us),A._lazy=0),b){if(Hs(t._startAt=al.set(L,$s({data:"isStart",overwrite:!1,parent:j,immediateRender:!0,lazy:!A&&Fo(w),startAt:null,delay:0,onUpdate:x&&function(){return Sa(t,"onUpdate")},stagger:0},b))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(po||!_&&!C)&&t._startAt.revert(ds),_&&E&&n<=0&&i<=0)return void(n&&(t._zTime=n))}else if(S&&E&&!A)if(n&&(_=!1),s=$s({overwrite:!1,data:"isFromStart",lazy:_&&!A&&Fo(w),immediateRender:_,stagger:0,parent:j},r),m&&(s[d.prop]=m),Hs(t._startAt=al.set(L,s)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(po?t._startAt.revert(ds):t._startAt.render(-1,!0)),t._zTime=n,_){if(!n)return}else e(t._startAt,Po,Po);for(t._pt=t._ptCache=0,w=E&&Fo(w)||w&&!E,o=0;o<L.length;o++){if(u=(l=L[o])._gsap||ws(L)[o]._gsap,t._ptLookup[o]=f={},ms[u.id]&&hs.length&&Ls(),h=P===L?o:P.indexOf(l),d&&!1!==(p=new d).init(l,m||r,t,h,P)&&(t._pt=a=new wl(t._pt,l,p.name,0,1,p.render,p,0,p.priority),p._props.forEach(function(e){f[e]=a}),p.priority&&(c=1)),!d||m)for(s in r)gs[s]&&(p=tl(s,r,t,h,l,P))?p.priority&&(c=1):f[s]=a=el.call(t,l,s,"get",r[s],h,P,0,v.stringFilter);t._op&&t._op[o]&&t.kill(l,t._op[o]),I&&t._pt&&(Ka=t,ho.killTweensOf(l,f,t.globalTime(n)),g=!t.parent,Ka=0),t._pt&&w&&(ms[u.id]=1)}c&&_l(t),t._onInit&&t._onInit(t)}t._onUpdate=x,t._initted=(!t._op||t._pt)&&!g,T&&n<=0&&M.render(jo,!0,!0)},il=function(e,t,n,i){var r,o,s=t.ease||i||"power1.inOut";if(Zo(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:s})});else for(r in t)o=n[r]||(n[r]=[]),"ease"===r||o.push({t:parseFloat(e),v:t[r],e:s})},rl=function(e,t,n,i,r){return Bo(e)?e.call(t,n,i,r):Do(e)&&~e.indexOf("random(")?_a(e):e},ol=_s+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",sl={};ks(ol+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return sl[e]=1});var al=function(e){function t(t,n,i,r){var o;"number"==typeof n&&(i.duration=n,n=i,i=null);var s,a,l,c,u,d,p,f,h=(o=e.call(this,r?n:Ds(n))||this).vars,m=h.duration,g=h.delay,v=h.immediateRender,y=h.stagger,b=h.overwrite,_=h.keyframes,w=h.defaults,x=h.scrollTrigger,S=n.parent||ho,k=(Zo(t)||Vo(t)?Ro(t[0]):"length"in n)?[t]:pa(t);if(o._targets=k.length?ws(k):as("GSAP target "+t+" not found. https://gsap.com",!Ao.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=b,_||y||Uo(m)||Uo(g)){var T=(n=o.vars).easeReverse||n.yoyoEase;if((s=o.timeline=new Xa({data:"nested",defaults:w||{},targets:S&&"nested"===S.data?S.vars.targets:k})).kill(),s.parent=s._dp=lo(o),s._start=0,y||Uo(m)||Uo(g)){if(c=k.length,p=y&&ma(y),zo(y))for(u in y)~ol.indexOf(u)&&(f||(f={}),f[u]=y[u]);for(a=0;a<c;a++)(l=Ns(n,sl)).stagger=0,T&&(l.easeReverse=T),f&&qs(l,f),d=k[a],l.duration=+rl(m,lo(o),a,d,k),l.delay=(+rl(g,lo(o),a,d,k)||0)-o._delay,!y&&1===c&&l.delay&&(o._delay=g=l.delay,o._start+=g,l.delay=0),s.to(d,l,p?p(a,d,k):0),s._ease=Da.none;s.duration()?m=g=0:o.timeline=0}else if(_){Ds($s(s.vars.defaults,{ease:"none"})),s._ease=Fa(_.ease||n.ease||"none");var C,E,A,L=0;if(Zo(_))_.forEach(function(e){return s.to(k,e,">")}),s.duration();else{for(u in l={},_)"ease"===u||"easeEach"===u||il(u,_[u],l,_.easeEach);for(u in l)for(C=l[u].sort(function(e,t){return e.t-t.t}),L=0,a=0;a<C.length;a++)(A={ease:(E=C[a]).e,duration:(E.t-(a?C[a-1].t:0))/100*m})[u]=E.v,s.to(k,A,L),L+=A.duration;s.duration()<m&&s.to({},{duration:m-s.duration()})}}m||o.duration(m=s.duration())}else o.timeline=0;return!0!==b||uo||(Ka=lo(o),ho.killTweensOf(k),Ka=0),Ks(S,lo(o),i),n.reversed&&o.reverse(),n.paused&&o.paused(!0),(v||!m&&!_&&o._start===Cs(S._time)&&Fo(v)&&Ws(lo(o))&&"nested"!==S.data)&&(o._tTime=-1e-8,o.render(Math.max(0,-g)||0)),x&&Qs(lo(o),x),o}co(t,e);var n=t.prototype;return n.render=function(e,t,n){var i,r,o,s,a,l,c,u,d=this._time,p=this._tDur,f=this._dur,h=e<0,m=e>p-Po&&!h?p:e<Po?0:e;if(f){if(m!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==h||this._lazy){if(i=m,u=this.timeline,this._repeat){if(s=f+this._rDelay,this._repeat<-1&&h)return this.totalTime(100*s+e,t,n);if(i=Cs(m%s),m===p?(o=this._repeat,i=f):(o=~~(a=Cs(m/s)))&&o===a?(i=f,o--):i>f&&(i=f),(l=this._yoyo&&1&o)&&(i=f-i),a=Vs(this._tTime,s),i===d&&!n&&this._initted&&o===a)return this._tTime=m,this;o!==a&&this.vars.repeatRefresh&&!l&&!this._lock&&i!==s&&this._initted&&(this._lock=n=1,this.render(Cs(s*o),!0).invalidate()._lock=0)}if(!this._initted){if(Js(this,h?e:i,n,t,m))return this._tTime=0,this;if(!(d===this._time||n&&this.vars.repeatRefresh&&o!==a))return this;if(f!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=i<d;if(g!==this._inv){var v=g?d:f-d;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=d,this._invRecip=v?(g?-1:1)/v:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=c=this._invRatio+this._invScale*this._invEase((i-this._invTime)*this._invRecip)}else this.ratio=c=this._ease(i/f);if(this._from&&(this.ratio=c=1-c),this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),!d&&m&&!t&&!a&&(Sa(this,"onStart"),this._tTime!==m))return this;for(r=this._pt;r;)r.r(c,r.d),r=r._next;u&&u.render(e<0?e:u._dur*u._ease(i/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(h&&Fs(this,e,0,n),Sa(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!t&&this.parent&&Sa(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(h&&!this._onUpdate&&Fs(this,e,0,!0),(e||!f)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Hs(this,1),t||h&&!d||!(m||d||l)||(Sa(this,m===p?"onComplete":"onReverseComplete",!0),this._prom&&!(m<p&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,n,i){var r,o,s,a=e.ratio,l=t<0||!t&&(!e._start&&ea(e)&&(e._initted||!ta(e))||(e._ts<0||e._dp._ts<0)&&!ta(e))?0:1,c=e._rDelay,u=0;if(c&&e._repeat&&(u=la(0,e._tDur,t),o=Vs(u,c),e._yoyo&&1&o&&(l=1-l),o!==Vs(e._tTime,c)&&(a=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==a||po||i||e._zTime===Po||!t&&e._zTime){if(!e._initted&&Js(e,t,i,n,u))return;for(s=e._zTime,e._zTime=t||(n?Po:0),n||(n=t&&!s),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=u,r=e._pt;r;)r.r(l,r.d),r=r._next;t<0&&Fs(e,t,0,!0),e._onUpdate&&!n&&Sa(e,"onUpdate"),u&&e._repeat&&!n&&e.parent&&Sa(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&Hs(e,1),n||po||(Sa(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,i,r){wo||Oa.wake(),this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||nl(this,o),function(e,t,n,i,r,o,s,a){var l,c,u,d,p=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!p)for(p=e._ptCache[t]=[],u=e._ptLookup,d=e._targets.length;d--;){if((l=u[d][t])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return Qa=1,e.vars[t]="+=0",nl(e,s),Qa=0,a?as(t+" not eligible for reset. Try splitting into individual properties"):1;p.push(l)}for(d=p.length;d--;)(l=(c=p[d])._pt||c).s=!i&&0!==i||r?l.s+(i||0)+o*l.c:i,l.c=n-l.s,c.e&&(c.e=Ts(n)+ca(c.e)),c.b&&(c.b=l.s+ca(c.b))}(this,e,t,n,i,this._ease(o/this._dur),o,r)?this.resetTo(e,t,n,i,1):(Gs(this,0),this.parent||Bs(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?ka(this):this.scrollTrigger&&this.scrollTrigger.kill(!!po),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Ka&&!0!==Ka.vars.overwrite)._first||ka(this),this.parent&&n!==this.timeline.totalDuration()&&na(this,this._dur*this.timeline._tDur/n,0,1),this}var i,r,o,s,a,l,c,u=this._targets,d=e?pa(e):u,p=this._ptLookup,f=this._pt;if((!t||"all"===t)&&function(e,t){for(var n=e.length,i=n===t.length;i&&n--&&e[n]===t[n];);return n<0}(u,d))return"all"===t&&(this._pt=0),ka(this);for(i=this._op=this._op||[],"all"!==t&&(Do(t)&&(a={},ks(t,function(e){return a[e]=1}),t=a),t=function(e,t){var n,i,r,o,s=e[0]?xs(e[0]).harness:0,a=s&&s.aliases;if(!a)return t;for(i in n=qs({},t),a)if(i in n)for(r=(o=a[i].split(",")).length;r--;)n[o[r]]=n[i];return n}(u,t)),c=u.length;c--;)if(~d.indexOf(u[c]))for(a in r=p[c],"all"===t?(i[c]=t,s=r,o={}):(o=i[c]=i[c]||{},s=t),s)(l=r&&r[a])&&("kill"in l.d&&!0!==l.d.kill(a)||Rs(this,l,"_pt"),delete r[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&f&&ka(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return sa(1,arguments)},t.delayedCall=function(e,n,i,r){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:r})},t.fromTo=function(e,t,n){return sa(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return ho.killTweensOf(e,t,n)},t}(Ga);$s(al.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ks("staggerTo,staggerFrom,staggerFromTo",function(e){al[e]=function(){var t=new Xa,n=ua.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}});var ll=function(e,t,n){return e[t]=n},cl=function(e,t,n){return e[t](n)},ul=function(e,t,n,i){return e[t](i.fp,n)},dl=function(e,t,n){return e.setAttribute(t,n)},pl=function(e,t){return Bo(e[t])?cl:Ho(e[t])&&e.setAttribute?dl:ll},fl=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},hl=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ml=function(e,t){var n=t._pt,i="";if(!e&&t.b)i=t.b;else if(1===e&&t.e)i=t.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+i,n=n._next;i+=t.c}t.set(t.t,t.p,i,t)},gl=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},vl=function(e,t,n,i){for(var r,o=this._pt;o;)r=o._next,o.p===i&&o.modifier(e,t,n),o=r},yl=function(e){for(var t,n,i=this._pt;i;)n=i._next,i.p===e&&!i.op||i.op===e?Rs(this,i,"_pt"):i.dep||(t=1),i=n;return!t},bl=function(e,t,n,i){i.mSet(e,t,i.m.call(i.tween,n,i.mt),i)},_l=function(e){for(var t,n,i,r,o=e._pt;o;){for(t=o._next,n=i;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:r)?o._prev._next=o:i=o,(o._next=n)?n._prev=o:r=o,o=t}e._pt=i},wl=function(){function e(e,t,n,i,r,o,s,a,l){this.t=t,this.s=i,this.c=r,this.p=n,this.r=o||fl,this.d=s||this,this.set=a||ll,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=bl,this.m=e,this.mt=n,this.tween=t},e}();ks(_s+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(e){return fs[e]=1}),is.TweenMax=is.TweenLite=al,is.TimelineLite=is.TimelineMax=Xa,ho=new Xa({sortChildren:!1,defaults:Lo,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ao.stringFilter=qa;var xl=[],Sl={},kl=[],Tl=0,Cl=0,El=function(e){return(Sl[e]||kl).map(function(e){return e()})},Al=function(){var e=Date.now(),t=[];e-Tl>2&&(El("matchMediaInit"),xl.forEach(function(e){var n,i,r,o,s=e.queries,a=e.conditions;for(i in s)(n=mo.matchMedia(s[i]).matches)&&(r=1),n!==a[i]&&(a[i]=n,o=1);o&&(e.revert(),r&&t.push(e))}),El("matchMediaRevert"),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Tl=e,El("matchMedia"))},Ll=function(){function e(e,t){this.selector=t&&fa(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Cl++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){Bo(e)&&(n=t,t=e,e=Bo);var i=this,r=function(){var e,r=fo,o=i.selector;return r&&r!==i&&r.data.push(i),n&&(i.selector=fa(n)),fo=i,e=t.apply(i,arguments),Bo(e)&&i._r.push(e),fo=r,i.selector=o,i.isReverted=!1,e};return i.last=r,e===Bo?r(i,function(e){return i.add(null,e)}):e?i[e]=r:r},t.ignore=function(e){var t=fo;fo=null,e(this),fo=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof al&&!(n.parent&&"nested"===n.parent.data)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?function(){for(var t,i=n.getTweens(),r=n.data.length;r--;)"isFlip"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(e){return i.splice(i.indexOf(e),1)}));for(i.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)(t=n.data[r])instanceof Xa?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):!(t instanceof al)&&t.revert&&t.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0}():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var i=xl.length;i--;)xl[i].id===this.id&&xl.splice(i,1)},t.revert=function(e){this.kill(e||{})},e}(),jl=function(){function e(e){this.contexts=[],this.scope=e,fo&&fo.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){zo(e)||(e={matches:e});var i,r,o,s=new Ll(0,n||this.scope),a=s.conditions={};for(r in fo&&!s.selector&&(s.selector=fo.selector),this.contexts.push(s),t=s.add("onMatch",t),s.queries=e,e)"all"===r?o=1:(i=mo.matchMedia(e[r]))&&(xl.indexOf(s)<0&&xl.push(s),(a[r]=i.matches)&&(o=1),i.addListener?i.addListener(Al):i.addEventListener("change",Al));return o&&t(s,function(e){return s.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),Pl={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return Ca(e)})},timeline:function(e){return new Xa(e)},getTweensOf:function(e,t){return ho.getTweensOf(e,t)},getProperty:function(e,t,n,i){Do(e)&&(e=pa(e)[0]);var r=xs(e||{}).get,o=n?Ms:Is;return"native"===n&&(n=""),e?t?o((gs[t]&&gs[t].get||r)(e,t,n,i)):function(t,n,i){return o((gs[t]&&gs[t].get||r)(e,t,n,i))}:e},quickSetter:function(e,t,n){if((e=pa(e)).length>1){var i=e.map(function(e){return $l.quickSetter(e,t,n)}),r=i.length;return function(e){for(var t=r;t--;)i[t](e)}}e=e[0]||{};var o=gs[t],s=xs(e),a=s.harness&&(s.harness.aliases||{})[t]||t,l=o?function(t){var i=new o;_o._pt=0,i.init(e,n?t+n:t,_o,0,[e]),i.render(1,i),_o._pt&&gl(1,_o)}:s.set(e,a);return o?l:function(t){return l(e,a,n?t+n:t,s,1)}},quickTo:function(e,t,n){var i,r=$l.to(e,$s(((i={})[t]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),o=function(e,n,i){return r.resetTo(t,e,n,i)};return o.tween=r,o},isTweening:function(e){return ho.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Fa(e.ease,Lo.ease)),Os(Lo,e||{})},config:function(e){return Os(Ao,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,i=e.plugins,r=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(e){return e&&!gs[e]&&!is[e]&&as(t+" effect requires "+e+" plugin.")}),vs[t]=function(e,t,i){return n(pa(e),$s(t||{},r),i)},o&&(Xa.prototype[t]=function(e,n,i){return this.add(vs[t](e,zo(n)?n:(i=n)&&{},this),i)})},registerEase:function(e,t){Da[e]=Fa(t)},parseEase:function(e,t){return arguments.length?Fa(e,t):Da},getById:function(e){return ho.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,i,r=new Xa(e);for(r.smoothChildTiming=Fo(e.smoothChildTiming),ho.remove(r),r._dp=0,r._time=r._tTime=ho._time,n=ho._first;n;)i=n._next,!t&&!n._dur&&n instanceof al&&n.vars.onComplete===n._targets[0]||Ks(r,n,n._start-n._delay),n=i;return Ks(ho,r,0),r},context:function(e,t){return e?new Ll(e,t):fo},matchMedia:function(e){return new jl(e)},matchMediaRefresh:function(){return xl.forEach(function(e){var t,n,i=e.conditions;for(n in i)i[n]&&(i[n]=!1,t=1);t&&e.revert()})||Al()},addEventListener:function(e,t){var n=Sl[e]||(Sl[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Sl[e],i=n&&n.indexOf(t);i>=0&&n.splice(i,1)},utils:{wrap:function e(t,n,i){var r=n-t;return Zo(t)?ba(t,e(0,t.length),n):aa(i,function(e){return(r+(e-t)%r)%r+t})},wrapYoyo:function e(t,n,i){var r=n-t,o=2*r;return Zo(t)?ba(t,e(0,t.length-1),n):aa(i,function(e){return t+((e=(o+(e-t)%o)%o||0)>r?o-e:e)})},distribute:ma,random:ya,snap:va,normalize:function(e,t,n){return wa(e,t,0,1,n)},getUnit:ca,clamp:function(e,t,n){return aa(n,function(n){return la(e,t,n)})},splitColor:ja,toArray:pa,selector:fa,mapRange:wa,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||ca(n))}},interpolate:function e(t,n,i,r){var o=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!o){var s,a,l,c,u,d=Do(t),p={};if(!0===i&&(r=1)&&(i=null),d)t={p:t},n={p:n};else if(Zo(t)&&!Zo(n)){for(l=[],c=t.length,u=c-2,a=1;a<c;a++)l.push(e(t[a-1],t[a]));c--,o=function(e){e*=c;var t=Math.min(u,~~e);return l[t](e-t)},i=n}else r||(t=qs(Zo(t)?[]:{},t));if(!l){for(s in n)el.call(p,t,s,"get",n[s]);o=function(e){return gl(e,p)||(d?t.p:t)}}}return aa(i,o)},shuffle:ha},install:os,effects:vs,ticker:Oa,updateRoot:Xa.updateRoot,plugins:gs,globalTimeline:ho,core:{PropTween:wl,globals:ls,Tween:al,Timeline:Xa,Animation:Ga,getCache:xs,_removeLinkedListItem:Rs,reverting:function(){return po},context:function(e){return e&&fo&&(fo.data.push(e),e._ctx=fo),fo},suppressOverwrites:function(e){return uo=e}}};ks("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return Pl[e]=al[e]}),Oa.add(Xa.updateRoot),_o=Pl.to({},{duration:0});var Il=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Ml=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,i){i._onInit=function(e){var i,r;if(Do(n)&&(i={},ks(n,function(e){return i[e]=1}),n=i),t){for(r in i={},n)i[r]=t(n[r]);n=i}!function(e,t){var n,i,r,o=e._targets;for(n in t)for(i=o.length;i--;)(r=e._ptLookup[i][n])&&(r=r.d)&&(r._pt&&(r=Il(r,n)),r&&r.modifier&&r.modifier(t[n],e,o[i],n))}(e,n)}}}},$l=Pl.registerPlugin({name:"attr",init:function(e,t,n,i,r){var o,s,a;for(o in this.tween=n,t)a=e.getAttribute(o)||"",(s=this.add(e,"setAttribute",(a||0)+"",t[o],i,r,0,0,o)).op=o,s.b=a,this._props.push(o)},render:function(e,t){for(var n=t._pt;n;)po?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},Ml("roundProps",ga),Ml("modifiers"),Ml("snap",va))||Pl;al.version=Xa.version=$l.version="3.15.0",yo=1,Wo()&&Na(),Da.Power0,Da.Power1,Da.Power2,Da.Power3,Da.Power4,Da.Linear,Da.Quad,Da.Cubic,Da.Quart,Da.Quint,Da.Strong,Da.Elastic,Da.Back,Da.SteppedEase,Da.Bounce,Da.Sine,Da.Expo,Da.Circ;var ql,Ol,Nl,Dl,Bl,Rl,Hl,zl,Fl={},Wl=180/Math.PI,Ul=Math.PI/180,Vl=Math.atan2,Zl=/([A-Z])/g,Yl=/(left|right|width|margin|padding|x)/i,Gl=/[\s,\(]\S/,Xl={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Kl=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Ql=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Jl=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},ec=function(e,t){return t.set(t.t,t.p,1===e?t.e:e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},tc=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},nc=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},ic=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},rc=function(e,t,n){return e.style[t]=n},oc=function(e,t,n){return e.style.setProperty(t,n)},sc=function(e,t,n){return e._gsap[t]=n},ac=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},lc=function(e,t,n,i,r){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(r,o)},cc=function(e,t,n,i,r){var o=e._gsap;o[t]=n,o.renderTransform(r,o)},uc="transform",dc=uc+"Origin",pc=function e(t,n){var i=this,r=this.target,o=r.style,s=r._gsap;if(t in Fl&&o){if(this.tfm=this.tfm||{},"transform"===t)return Xl.transform.split(",").forEach(function(t){return e.call(i,t,n)});if(~(t=Xl[t]||t).indexOf(",")?t.split(",").forEach(function(e){return i.tfm[e]=jc(r,e)}):this.tfm[t]=s.x?s[t]:jc(r,t),t===dc&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(uc)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(dc,n,"")),t=uc}(o||n)&&this.props.push(t,n,o[t])},fc=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},hc=function(){var e,t,n=this.props,i=this.target,r=i.style,o=i._gsap;for(e=0;e<n.length;e+=3)n[e+1]?2===n[e+1]?i[n[e]](n[e+2]):i[n[e]]=n[e+2]:n[e+2]?r[n[e]]=n[e+2]:r.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(Zl,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)o[t]=this.tfm[t];o.svg&&(o.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(e=Hl())&&e.isStart||r[uc]||(fc(r),o.zOrigin&&r[dc]&&(r[dc]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},mc=function(e,t){var n={target:e,props:[],revert:hc,save:pc};return e._gsap||$l.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(e){return n.save(e)}),n},gc=function(e,t){var n=Ol.createElementNS?Ol.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ol.createElement(e);return n&&n.style?n:Ol.createElement(e)},vc=function e(t,n,i){var r=getComputedStyle(t);return r[n]||r.getPropertyValue(n.replace(Zl,"-$1").toLowerCase())||r.getPropertyValue(n)||!i&&e(t,bc(n)||n,1)||""},yc="O,Moz,ms,Ms,Webkit".split(","),bc=function(e,t,n){var i=(t||Bl).style,r=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);r--&&!(yc[r]+e in i););return r<0?null:(3===r?"ms":r>=0?yc[r]:"")+e},_c=function(){"undefined"!=typeof window&&window.document&&(ql=window,Ol=ql.document,Nl=Ol.documentElement,Bl=gc("div")||{style:{}},gc("div"),uc=bc(uc),dc=uc+"Origin",Bl.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",zl=!!bc("perspective"),Hl=$l.core.reverting,Dl=1)},wc=function(e){var t,n=e.ownerSVGElement,i=gc("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=e.cloneNode(!0);r.style.display="block",i.appendChild(r),Nl.appendChild(i);try{t=r.getBBox()}catch(e){}return i.removeChild(r),Nl.removeChild(i),t},xc=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Sc=function(e){var t,n;try{t=e.getBBox()}catch(i){t=wc(e),n=1}return t&&(t.width||t.height)||n||(t=wc(e)),!t||t.width||t.x||t.y?t:{x:+xc(e,["x","cx","x1"])||0,y:+xc(e,["y","cy","y1"])||0,width:0,height:0}},kc=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!Sc(e))},Tc=function(e,t){if(t){var n,i=e.style;t in Fl&&t!==dc&&(t=uc),i.removeProperty?("ms"!==(n=t.substr(0,2))&&"webkit"!==t.substr(0,6)||(t="-"+t),i.removeProperty("--"===n?t:t.replace(Zl,"-$1").toLowerCase())):i.removeAttribute(t)}},Cc=function(e,t,n,i,r,o){var s=new wl(e._pt,t,n,0,1,o?ic:nc);return e._pt=s,s.b=i,s.e=r,e._props.push(n),s},Ec={deg:1,rad:1,turn:1},Ac={grid:1,flex:1},Lc=function e(t,n,i,r){var o,s,a,l,c=parseFloat(i)||0,u=(i+"").trim().substr((c+"").length)||"px",d=Bl.style,p=Yl.test(n),f="svg"===t.tagName.toLowerCase(),h=(f?"client":"offset")+(p?"Width":"Height"),m=100,g="px"===r,v="%"===r;if(r===u||!c||Ec[r]||Ec[u])return c;if("px"!==u&&!g&&(c=e(t,n,i,"px")),l=t.getCTM&&kc(t),(v||"%"===u)&&(Fl[n]||~n.indexOf("adius")))return o=l?t.getBBox()[p?"width":"height"]:t[h],Ts(v?c/o*m:c/100*o);if(d[p?"width":"height"]=m+(g?u:r),s="rem"!==r&&~n.indexOf("adius")||"em"===r&&t.appendChild&&!f?t:t.parentNode,l&&(s=(t.ownerSVGElement||{}).parentNode),s&&s!==Ol&&s.appendChild||(s=Ol.body),(a=s._gsap)&&v&&a.width&&p&&a.time===Oa.time&&!a.uncache)return Ts(c/a.width*m);if(!v||"height"!==n&&"width"!==n)(v||"%"===u)&&!Ac[vc(s,"display")]&&(d.position=vc(t,"position")),s===t&&(d.position="static"),s.appendChild(Bl),o=Bl[h],s.removeChild(Bl),d.position="absolute";else{var y=t.style[n];t.style[n]=m+r,o=t[h],y?t.style[n]=y:Tc(t,n)}return p&&v&&((a=xs(s)).time=Oa.time,a.width=s[h]),Ts(g?o*c/m:o&&c?m/o*c:0)},jc=function(e,t,n,i){var r;return Dl||_c(),t in Xl&&"transform"!==t&&~(t=Xl[t]).indexOf(",")&&(t=t.split(",")[0]),Fl[t]&&"transform"!==t?(r=zc(e,i),r="transformOrigin"!==t?r[t]:r.svg?r.origin:Fc(vc(e,dc))+" "+r.zOrigin+"px"):(!(r=e.style[t])||"auto"===r||i||~(r+"").indexOf("calc("))&&(r=qc[t]&&qc[t](e,t,n)||vc(e,t)||Ss(e,t)||("opacity"===t?1:0)),n&&!~(r+"").trim().indexOf(" ")?Lc(e,t,r,n)+n:r},Pc=function(e,t,n,i){if(!n||"none"===n){var r=bc(t,e,1),o=r&&vc(e,r,1);o&&o!==n?(t=r,n=o):"borderColor"===t&&(n=vc(e,"borderTopColor"))}var s,a,l,c,u,d,p,f,h,m,g,v=new wl(this._pt,e.style,t,0,1,ml),y=0,b=0;if(v.b=n,v.e=i,n+="","var(--"===(i+="").substring(0,6)&&(i=vc(e,i.substring(4,i.indexOf(")")))),"auto"===i&&(d=e.style[t],e.style[t]=i,i=vc(e,t)||i,d?e.style[t]=d:Tc(e,t)),qa(s=[n,i]),i=s[1],l=(n=s[0]).match(Qo)||[],(i.match(Qo)||[]).length){for(;a=Qo.exec(i);)p=a[0],h=i.substring(y,a.index),u?u=(u+1)%5:"rgba("!==h.substr(-5)&&"hsla("!==h.substr(-5)||(u=1),p!==(d=l[b++]||"")&&(c=parseFloat(d)||0,g=d.substr((c+"").length),"="===p.charAt(1)&&(p=Es(c,p)+g),f=parseFloat(p),m=p.substr((f+"").length),y=Qo.lastIndex-m.length,m||(m=m||Ao.units[t]||g,y===i.length&&(i+=m,v.e+=m)),g!==m&&(c=Lc(e,t,d,m)||0),v._pt={_next:v._pt,p:h||1===b?h:",",s:c,c:f-c,m:u&&u<4||"zIndex"===t?Math.round:0});v.c=y<i.length?i.substring(y,i.length):""}else v.r="display"===t&&"none"===i?ic:nc;return es.test(i)&&(v.e=0),this._pt=v,v},Ic={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Mc=function(e){var t=e.split(" "),n=t[0],i=t[1]||"50%";return"top"!==n&&"bottom"!==n&&"left"!==i&&"right"!==i||(e=n,n=i,i=e),t[0]=Ic[n]||n,t[1]=Ic[i]||i,t.join(" ")},$c=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,i,r,o=t.t,s=o.style,a=t.u,l=o._gsap;if("all"===a||!0===a)s.cssText="",i=1;else for(r=(a=a.split(",")).length;--r>-1;)n=a[r],Fl[n]&&(i=1,n="transformOrigin"===n?dc:uc),Tc(o,n);i&&(Tc(o,uc),l&&(l.svg&&o.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",zc(o,1),l.uncache=1,fc(s)))}},qc={clearProps:function(e,t,n,i,r){if("isFromStart"!==r.data){var o=e._pt=new wl(e._pt,t,n,0,0,$c);return o.u=i,o.pr=-10,o.tween=r,e._props.push(n),1}}},Oc=[1,0,0,1,0,0],Nc={},Dc=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},Bc=function(e){var t=vc(e,uc);return Dc(t)?Oc:t.substr(7).match(Ko).map(Ts)},Rc=function(e,t){var n,i,r,o,s=e._gsap||xs(e),a=e.style,l=Bc(e);return s.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(r=e.transform.baseVal.consolidate().matrix).a,r.b,r.c,r.d,r.e,r.f]).join(",")?Oc:l:(l!==Oc||e.offsetParent||e===Nl||s.svg||(r=a.display,a.display="block",(n=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(o=1,i=e.nextElementSibling,Nl.appendChild(e)),l=Bc(e),r?a.display=r:Tc(e,"display"),o&&(i?n.insertBefore(e,i):n?n.appendChild(e):Nl.removeChild(e))),t&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Hc=function(e,t,n,i,r,o){var s,a,l,c=e._gsap,u=r||Rc(e,!0),d=c.xOrigin||0,p=c.yOrigin||0,f=c.xOffset||0,h=c.yOffset||0,m=u[0],g=u[1],v=u[2],y=u[3],b=u[4],_=u[5],w=t.split(" "),x=parseFloat(w[0])||0,S=parseFloat(w[1])||0;n?u!==Oc&&(a=m*y-g*v)&&(l=x*(-g/a)+S*(m/a)-(m*_-g*b)/a,x=x*(y/a)+S*(-v/a)+(v*_-y*b)/a,S=l):(x=(s=Sc(e)).x+(~w[0].indexOf("%")?x/100*s.width:x),S=s.y+(~(w[1]||w[0]).indexOf("%")?S/100*s.height:S)),i||!1!==i&&c.smooth?(b=x-d,_=S-p,c.xOffset=f+(b*m+_*v)-b,c.yOffset=h+(b*g+_*y)-_):c.xOffset=c.yOffset=0,c.xOrigin=x,c.yOrigin=S,c.smooth=!!i,c.origin=t,c.originIsAbsolute=!!n,e.style[dc]="0px 0px",o&&(Cc(o,c,"xOrigin",d,x),Cc(o,c,"yOrigin",p,S),Cc(o,c,"xOffset",f,c.xOffset),Cc(o,c,"yOffset",h,c.yOffset)),e.setAttribute("data-svg-origin",x+" "+S)},zc=function(e,t){var n=e._gsap||new Ya(e);if("x"in n&&!t&&!n.uncache)return n;var i,r,o,s,a,l,c,u,d,p,f,h,m,g,v,y,b,_,w,x,S,k,T,C,E,A,L,j,P,I,M,$,q=e.style,O=n.scaleX<0,N="px",D="deg",B=getComputedStyle(e),R=vc(e,dc)||"0";return i=r=o=l=c=u=d=p=f=0,s=a=1,n.svg=!(!e.getCTM||!kc(e)),B.translate&&("none"===B.translate&&"none"===B.scale&&"none"===B.rotate||(q[uc]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[uc]?B[uc]:"")),q.scale=q.rotate=q.translate="none"),g=Rc(e,n.svg),n.svg&&(n.uncache?(E=e.getBBox(),R=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",C=""):C=!t&&e.getAttribute("data-svg-origin"),Hc(e,C||R,!!C||n.originIsAbsolute,!1!==n.smooth,g)),h=n.xOrigin||0,m=n.yOrigin||0,g!==Oc&&(_=g[0],w=g[1],x=g[2],S=g[3],i=k=g[4],r=T=g[5],6===g.length?(s=Math.sqrt(_*_+w*w),a=Math.sqrt(S*S+x*x),l=_||w?Vl(w,_)*Wl:0,(d=x||S?Vl(x,S)*Wl+l:0)&&(a*=Math.abs(Math.cos(d*Ul))),n.svg&&(i-=h-(h*_+m*x),r-=m-(h*w+m*S))):($=g[6],I=g[7],L=g[8],j=g[9],P=g[10],M=g[11],i=g[12],r=g[13],o=g[14],c=(v=Vl($,P))*Wl,v&&(C=k*(y=Math.cos(-v))+L*(b=Math.sin(-v)),E=T*y+j*b,A=$*y+P*b,L=k*-b+L*y,j=T*-b+j*y,P=$*-b+P*y,M=I*-b+M*y,k=C,T=E,$=A),u=(v=Vl(-x,P))*Wl,v&&(y=Math.cos(-v),M=S*(b=Math.sin(-v))+M*y,_=C=_*y-L*b,w=E=w*y-j*b,x=A=x*y-P*b),l=(v=Vl(w,_))*Wl,v&&(C=_*(y=Math.cos(v))+w*(b=Math.sin(v)),E=k*y+T*b,w=w*y-_*b,T=T*y-k*b,_=C,k=E),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,u=180-u),s=Ts(Math.sqrt(_*_+w*w+x*x)),a=Ts(Math.sqrt(T*T+$*$)),v=Vl(k,T),d=Math.abs(v)>2e-4?v*Wl:0,f=M?1/(M<0?-M:M):0),n.svg&&(C=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!Dc(vc(e,uc)),C&&e.setAttribute("transform",C))),Math.abs(d)>90&&Math.abs(d)<270&&(O?(s*=-1,d+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,d+=d<=0?180:-180)),t=t||n.uncache,n.x=i-((n.xPercent=i&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-i)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+N,n.y=r-((n.yPercent=r&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-r)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+N,n.z=o+N,n.scaleX=Ts(s),n.scaleY=Ts(a),n.rotation=Ts(l)+D,n.rotationX=Ts(c)+D,n.rotationY=Ts(u)+D,n.skewX=d+D,n.skewY=p+D,n.transformPerspective=f+N,(n.zOrigin=parseFloat(R.split(" ")[2])||!t&&n.zOrigin||0)&&(q[dc]=Fc(R)),n.xOffset=n.yOffset=0,n.force3D=Ao.force3D,n.renderTransform=n.svg?Xc:zl?Gc:Uc,n.uncache=0,n},Fc=function(e){return(e=e.split(" "))[0]+" "+e[1]},Wc=function(e,t,n){var i=ca(t);return Ts(parseFloat(t)+parseFloat(Lc(e,"x",n+"px",i)))+i},Uc=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Gc(e,t)},Vc="0deg",Zc="0px",Yc=") ",Gc=function(e,t){var n=t||this,i=n.xPercent,r=n.yPercent,o=n.x,s=n.y,a=n.z,l=n.rotation,c=n.rotationY,u=n.rotationX,d=n.skewX,p=n.skewY,f=n.scaleX,h=n.scaleY,m=n.transformPerspective,g=n.force3D,v=n.target,y=n.zOrigin,b="",_="auto"===g&&e&&1!==e||!0===g;if(y&&(u!==Vc||c!==Vc)){var w,x=parseFloat(c)*Ul,S=Math.sin(x),k=Math.cos(x);x=parseFloat(u)*Ul,w=Math.cos(x),o=Wc(v,o,S*w*-y),s=Wc(v,s,-Math.sin(x)*-y),a=Wc(v,a,k*w*-y+y)}m!==Zc&&(b+="perspective("+m+Yc),(i||r)&&(b+="translate("+i+"%, "+r+"%) "),(_||o!==Zc||s!==Zc||a!==Zc)&&(b+=a!==Zc||_?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+Yc),l!==Vc&&(b+="rotate("+l+Yc),c!==Vc&&(b+="rotateY("+c+Yc),u!==Vc&&(b+="rotateX("+u+Yc),d===Vc&&p===Vc||(b+="skew("+d+", "+p+Yc),1===f&&1===h||(b+="scale("+f+", "+h+Yc),v.style[uc]=b||"translate(0, 0)"},Xc=function(e,t){var n,i,r,o,s,a=t||this,l=a.xPercent,c=a.yPercent,u=a.x,d=a.y,p=a.rotation,f=a.skewX,h=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,y=a.xOrigin,b=a.yOrigin,_=a.xOffset,w=a.yOffset,x=a.forceCSS,S=parseFloat(u),k=parseFloat(d);p=parseFloat(p),f=parseFloat(f),(h=parseFloat(h))&&(f+=h=parseFloat(h),p+=h),p||f?(p*=Ul,f*=Ul,n=Math.cos(p)*m,i=Math.sin(p)*m,r=Math.sin(p-f)*-g,o=Math.cos(p-f)*g,f&&(h*=Ul,s=Math.tan(f-h),r*=s=Math.sqrt(1+s*s),o*=s,h&&(s=Math.tan(h),n*=s=Math.sqrt(1+s*s),i*=s)),n=Ts(n),i=Ts(i),r=Ts(r),o=Ts(o)):(n=m,o=g,i=r=0),(S&&!~(u+"").indexOf("px")||k&&!~(d+"").indexOf("px"))&&(S=Lc(v,"x",u,"px"),k=Lc(v,"y",d,"px")),(y||b||_||w)&&(S=Ts(S+y-(y*n+b*r)+_),k=Ts(k+b-(y*i+b*o)+w)),(l||c)&&(s=v.getBBox(),S=Ts(S+l/100*s.width),k=Ts(k+c/100*s.height)),s="matrix("+n+","+i+","+r+","+o+","+S+","+k+")",v.setAttribute("transform",s),x&&(v.style[uc]=s)},Kc=function(e,t,n,i,r){var o,s,a=360,l=Do(r),c=parseFloat(r)*(l&&~r.indexOf("rad")?Wl:1)-i,u=i+c+"deg";return l&&("short"===(o=r.split("_")[1])&&(c%=a)!==c%180&&(c+=c<0?a:-360),"cw"===o&&c<0?c=(c+36e9)%a-~~(c/a)*a:"ccw"===o&&c>0&&(c=(c-36e9)%a-~~(c/a)*a)),e._pt=s=new wl(e._pt,t,n,i,c,Ql),s.e=u,s.u="deg",e._props.push(n),s},Qc=function(e,t){for(var n in t)e[n]=t[n];return e},Jc=function(e,t,n){var i,r,o,s,a,l,c,u=Qc({},n._gsap),d=n.style;for(r in u.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),d[uc]=t,i=zc(n,1),Tc(n,uc),n.setAttribute("transform",o)):(o=getComputedStyle(n)[uc],d[uc]=t,i=zc(n,1),d[uc]=o),Fl)(o=u[r])!==(s=i[r])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(r)<0&&(a=ca(o)!==(c=ca(s))?Lc(n,r,o,c):parseFloat(o),l=parseFloat(s),e._pt=new wl(e._pt,i,r,a,l-a,Kl),e._pt.u=c||0,e._props.push(r));Qc(i,u)};ks("padding,margin,Width,Radius",function(e,t){var n="Top",i="Right",r="Bottom",o="Left",s=(t<3?[n,i,r,o]:[n+o,n+i,r+i,r+o]).map(function(n){return t<2?e+n:"border"+n+e});qc[t>1?"border"+e:e]=function(e,t,n,i,r){var o,a;if(arguments.length<4)return o=s.map(function(t){return jc(e,t,n)}),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(i+"").split(" "),a={}
vendor: 36,157 bytes, line 23
23,s.forEach(function(e,t){return a[e]=o[t]=o[t]||o[(t-1)/2|0]}),e.init(t,a,r)}});var eu,tu,nu={name:"css",register:_c,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,i,r){var o,s,a,l,c,u,d,p,f,h,m,g,v,y,b,_,w,x=this._props,S=e.style,k=n.vars.startAt;for(d in Dl||_c(),this.styles=this.styles||mc(e),_=this.styles.props,this.tween=n,t)if("autoRound"!==d&&(s=t[d],!gs[d]||!tl(d,t,n,i,e,r)))if(c=typeof s,u=qc[d],"function"===c&&(c=typeof(s=s.call(n,i,e,r))),"string"===c&&~s.indexOf("random(")&&(s=_a(s)),u)u(this,e,d,s,n)&&(b=1);else if("--"===d.substr(0,2))o=(getComputedStyle(e).getPropertyValue(d)+"").trim(),s+="",Ma.lastIndex=0,Ma.test(o)||(p=ca(o),(f=ca(s))?p!==f&&(o=Lc(e,d,o,f)+f):p&&(s+=p)),this.add(S,"setProperty",o,s,i,r,0,0,d),x.push(d),_.push(d,0,S[d]);else if("undefined"!==c){if(k&&d in k?(o="function"==typeof k[d]?k[d].call(n,i,e,r):k[d],Do(o)&&~o.indexOf("random(")&&(o=_a(o)),ca(o+"")||"auto"===o||(o+=Ao.units[d]||ca(jc(e,d))||""),"="===(o+"").charAt(1)&&(o=jc(e,d))):o=jc(e,d),l=parseFloat(o),(h="string"===c&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),d in Xl&&("autoAlpha"===d&&(1===l&&"hidden"===jc(e,"visibility")&&a&&(l=0),_.push("visibility",0,S.visibility),Cc(this,S,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==d&&"transform"!==d&&~(d=Xl[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in Fl){if(this.styles.save(d),w=s,"string"===c&&"var(--"===s.substring(0,6)){if("calc("===(s=vc(e,s.substring(4,s.indexOf(")")))).substring(0,5)){var T=e.style.perspective;e.style.perspective=s,s=vc(e,"perspective"),T?e.style.perspective=T:Tc(e,"perspective")}a=parseFloat(s)}if(g||((v=e._gsap).renderTransform&&!t.parseTransform||zc(e,t.parseTransform),y=!1!==t.smoothOrigin&&v.smooth,(g=this._pt=new wl(this._pt,S,uc,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new wl(this._pt,v,"scaleY",v.scaleY,(h?Es(v.scaleY,h+a):a)-v.scaleY||0,Kl),this._pt.u=0,x.push("scaleY",d),d+="X";else{if("transformOrigin"===d){_.push(dc,0,S[dc]),s=Mc(s),v.svg?Hc(e,s,0,y,0,this):((f=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&&Cc(this,v,"zOrigin",v.zOrigin,f),Cc(this,S,d,Fc(o),Fc(s)));continue}if("svgOrigin"===d){Hc(e,s,1,y,0,this);continue}if(d in Nc){Kc(this,v,d,l,h?Es(l,h+s):s);continue}if("smoothOrigin"===d){Cc(this,v,"smooth",v.smooth,s);continue}if("force3D"===d){v[d]=s;continue}if("transform"===d){Jc(this,s,e);continue}}}else d in S||(d=bc(d)||d);if(m||(a||0===a)&&(l||0===l)&&!Gl.test(s)&&d in S)a||(a=0),(p=(o+"").substr((l+"").length))!==(f=ca(s)||(d in Ao.units?Ao.units[d]:p))&&(l=Lc(e,d,o,f)),this._pt=new wl(this._pt,m?v:S,d,l,(h?Es(l,h+a):a)-l,m||"px"!==f&&"zIndex"!==d||!1===t.autoRound?Kl:tc),this._pt.u=f||0,m&&w!==s?(this._pt.b=o,this._pt.e=w,this._pt.r=ec):p!==f&&"%"!==f&&(this._pt.b=o,this._pt.r=Jl);else if(d in S)Pc.call(this,e,d,o,h?h+s:s);else if(d in e)this.add(e,d,o||e[d],h?h+s:s,i,r);else if("parseTransform"!==d){ss(d,s);continue}m||(d in S?_.push(d,0,S[d]):"function"==typeof e[d]?_.push(d,2,e[d]()):_.push(d,1,o||e[d])),x.push(d)}b&&_l(this)},render:function(e,t){if(t.tween._time||!Hl())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:jc,aliases:Xl,getSetter:function(e,t,n){var i=Xl[t];return i&&i.indexOf(",")<0&&(t=i),t in Fl&&t!==dc&&(e._gsap.x||jc(e,"x"))?n&&Rl===n?"scale"===t?ac:sc:(Rl=n||{})&&("scale"===t?lc:cc):e.style&&!Ho(e.style[t])?rc:~t.indexOf("-")?oc:pl(e,t)},core:{_removeProperty:Tc,_getMatrix:Rc}};$l.utils.checkPrefix=bc,$l.core.getStyleSaver=mc,tu=ks("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(eu="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){Fl[e]=1}),ks(eu,function(e){Ao.units[e]="deg",Nc[e]=1}),Xl[tu[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+eu,ks("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(e){var t=e.split(":");Xl[t[1]]=tu[t[0]]}),ks("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){Ao.units[e]="px"}),$l.registerPlugin(nu);var iu=$l.registerPlugin(nu)||$l;function ru(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}iu.core.Tween;var ou,su,au,lu,cu,uu,du,pu,fu,hu,mu,gu,vu,yu=function(){return ou||"undefined"!=typeof window&&(ou=window.gsap)&&ou.registerPlugin&&ou},bu=1,_u=[],wu=[],xu=[],Su=Date.now,ku=function(e,t){return t},Tu=function(e,t){return~xu.indexOf(e)&&xu[xu.indexOf(e)+1][t]},Cu=function(e){return!!~hu.indexOf(e)},Eu=function(e,t,n,i,r){return e.addEventListener(t,n,{passive:!1!==i,capture:!!r})},Au=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},Lu="scrollLeft",ju="scrollTop",Pu=function(){return mu&&mu.isPressed||wu.cache++},Iu=function(e,t){var n=function n(i){if(i||0===i){bu&&(au.history.scrollRestoration="manual");var r=mu&&mu.isPressed;i=n.v=Math.round(i)||(mu&&mu.iOS?1:0),e(i),n.cacheID=wu.cache,r&&ku("ss",i)}else(t||wu.cache!==n.cacheID||ku("ref"))&&(n.cacheID=wu.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},Mu={s:Lu,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Iu(function(e){return arguments.length?au.scrollTo(e,$u.sc()):au.pageXOffset||lu[Lu]||cu[Lu]||uu[Lu]||0})},$u={s:ju,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Mu,sc:Iu(function(e){return arguments.length?au.scrollTo(Mu.sc(),e):au.pageYOffset||lu[ju]||cu[ju]||uu[ju]||0})},qu=function(e,t){return(t&&t._ctx&&t._ctx.selector||ou.utils.toArray)(e)[0]||("string"==typeof e&&!1!==ou.config().nullTargetWarn?console.warn("Element not found:",e):null)},Ou=function(e,t){var n=t.s,i=t.sc;Cu(e)&&(e=lu.scrollingElement||cu);var r=wu.indexOf(e),o=i===$u.sc?1:2;!~r&&(r=wu.push(e)-1),wu[r+o]||Eu(e,"scroll",Pu);var s=wu[r+o],a=s||(wu[r+o]=Iu(Tu(e,n),!0)||(Cu(e)?i:Iu(function(t){return arguments.length?e[n]=t:e[n]})));return a.target=e,s||(a.smooth="smooth"===ou.getProperty(e,"scrollBehavior")),a},Nu=function(e,t,n){var i=e,r=e,o=Su(),s=o,a=t||50,l=Math.max(500,3*a),c=function(e,t){var l=Su();t||l-o>a?(r=i,i=e,s=o,o=l):n?i+=e:i=r+(e-r)/(l-s)*(o-s)};return{update:c,reset:function(){r=i=n?0:i,s=o=0},getVelocity:function(e){var t=s,a=r,u=Su();return(e||0===e)&&e!==i&&c(e),o===s||u-s>l?0:(i+(n?a:-a))/((n?u:o)-t)*1e3}}},Du=function(e,t){return t&&!e._gsapAllow&&!1!==e.cancelable&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Bu=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},Ru=function(){var e,t,n,i;(fu=ou.core.globals().ScrollTrigger)&&fu.core&&(e=fu.core,t=e.bridge||{},n=e._scrollers,i=e._proxies,n.push.apply(n,wu),i.push.apply(i,xu),wu=n,xu=i,ku=function(e,n){return t[e](n)})},Hu=function(e){return ou=e||yu(),!su&&ou&&"undefined"!=typeof document&&document.body&&(au=window,lu=document,cu=lu.documentElement,uu=lu.body,hu=[au,lu,cu,uu],ou.utils.clamp,vu=ou.core.context||function(){},pu="onpointerenter"in uu?"pointer":"mouse",du=zu.isTouch=au.matchMedia&&au.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in au||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,gu=zu.eventTypes=("ontouchstart"in cu?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in cu?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return bu=0},500),su=1),fu||Ru(),su};Mu.op=$u,wu.cache=0;var zu=function(){function e(e){this.init(e)}var t,n;return e.prototype.init=function(e){su||Hu(ou)||console.warn("Please gsap.registerPlugin(Observer)"),fu||Ru();var t=e.tolerance,n=e.dragMinimum,i=e.type,r=e.target,o=e.lineHeight,s=e.debounce,a=e.preventDefault,l=e.onStop,c=e.onStopDelay,u=e.ignore,d=e.wheelSpeed,p=e.event,f=e.onDragStart,h=e.onDragEnd,m=e.onDrag,g=e.onPress,v=e.onRelease,y=e.onRight,b=e.onLeft,_=e.onUp,w=e.onDown,x=e.onChangeX,S=e.onChangeY,k=e.onChange,T=e.onToggleX,C=e.onToggleY,E=e.onHover,A=e.onHoverEnd,L=e.onMove,j=e.ignoreCheck,P=e.isNormalizer,I=e.onGestureStart,M=e.onGestureEnd,$=e.onWheel,q=e.onEnable,O=e.onDisable,N=e.onClick,D=e.scrollSpeed,B=e.capture,R=e.allowClicks,H=e.lockAxis,z=e.onLockAxis;this.target=r=qu(r)||cu,this.vars=e,u&&(u=ou.utils.toArray(u)),t=t||1e-9,n=n||0,d=d||1,D=D||1,i=i||"wheel,touch,pointer",s=!1!==s,o||(o=parseFloat(au.getComputedStyle(uu).lineHeight)||22);var F,W,U,V,Z,Y,G,X=this,K=0,Q=0,J=e.passive||!a&&!1!==e.passive,ee=Ou(r,Mu),te=Ou(r,$u),ne=ee(),ie=te(),re=~i.indexOf("touch")&&!~i.indexOf("pointer")&&"pointerdown"===gu[0],oe=Cu(r),se=r.ownerDocument||lu,ae=[0,0,0],le=[0,0,0],ce=0,ue=function(){return ce=Su()},de=function(e,t){return(X.event=e)&&u&&function(e,t){for(var n=t.length;n--;)if(t[n]===e||t[n].contains(e))return!0;return!1}(e.target,u)||t&&re&&"touch"!==e.pointerType||j&&j(e,t)},pe=function(){var e=X.deltaX=Bu(ae),n=X.deltaY=Bu(le),i=Math.abs(e)>=t,r=Math.abs(n)>=t;k&&(i||r)&&k(X,e,n,ae,le),i&&(y&&X.deltaX>0&&y(X),b&&X.deltaX<0&&b(X),x&&x(X),T&&X.deltaX<0!=K<0&&T(X),K=X.deltaX,ae[0]=ae[1]=ae[2]=0),r&&(w&&X.deltaY>0&&w(X),_&&X.deltaY<0&&_(X),S&&S(X),C&&X.deltaY<0!=Q<0&&C(X),Q=X.deltaY,le[0]=le[1]=le[2]=0),(V||U)&&(L&&L(X),U&&(f&&1===U&&f(X),m&&m(X),U=0),V=!1),Y&&!(Y=!1)&&z&&z(X),Z&&($(X),Z=!1),F=0},fe=function(e,t,n){ae[n]+=e,le[n]+=t,X._vx.update(e),X._vy.update(t),s?F||(F=requestAnimationFrame(pe)):pe()},he=function(e,t){H&&!G&&(X.axis=G=Math.abs(e)>Math.abs(t)?"x":"y",Y=!0),"y"!==G&&(ae[2]+=e,X._vx.update(e,!0)),"x"!==G&&(le[2]+=t,X._vy.update(t,!0)),s?F||(F=requestAnimationFrame(pe)):pe()},me=function(e){if(!de(e,1)){var t=(e=Du(e,a)).clientX,i=e.clientY,r=t-X.x,o=i-X.y,s=X.isDragging;X.x=t,X.y=i,(s||(r||o)&&(Math.abs(X.startX-t)>=n||Math.abs(X.startY-i)>=n))&&(U||(U=s?2:1),s||(X.isDragging=!0),he(r,o))}},ge=X.onPress=function(e){de(e,1)||e&&e.button||(X.axis=G=null,W.pause(),X.isPressed=!0,e=Du(e),K=Q=0,X.startX=X.x=e.clientX,X.startY=X.y=e.clientY,X._vx.reset(),X._vy.reset(),Eu(P?r:se,gu[1],me,J,!0),X.deltaX=X.deltaY=0,g&&g(X))},ve=X.onRelease=function(e){if(!de(e,1)){Au(P?r:se,gu[1],me,!0);var t=!isNaN(X.y-X.startY),n=X.isDragging,i=n&&(Math.abs(X.x-X.startX)>3||Math.abs(X.y-X.startY)>3),o=Du(e);!i&&t&&(X._vx.reset(),X._vy.reset(),a&&R&&ou.delayedCall(.08,function(){if(Su()-ce>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(se.createEvent){var t=se.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,au,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}})),X.isDragging=X.isGesturing=X.isPressed=!1,l&&n&&!P&&W.restart(!0),U&&pe(),h&&n&&h(X),v&&v(X,i)}},ye=function(e){return e.touches&&e.touches.length>1&&(X.isGesturing=!0)&&I(e,X.isDragging)},be=function(){return(X.isGesturing=!1)||M(X)},_e=function(e){if(!de(e)){var t=ee(),n=te();fe((t-ne)*D,(n-ie)*D,1),ne=t,ie=n,l&&W.restart(!0)}},we=function(e){if(!de(e)){e=Du(e,a),$&&(Z=!0);var t=(1===e.deltaMode?o:2===e.deltaMode?au.innerHeight:1)*d;fe(e.deltaX*t,e.deltaY*t,0),l&&!P&&W.restart(!0)}},xe=function(e){if(!de(e)){var t=e.clientX,n=e.clientY,i=t-X.x,r=n-X.y;X.x=t,X.y=n,V=!0,l&&W.restart(!0),(i||r)&&he(i,r)}},Se=function(e){X.event=e,E(X)},ke=function(e){X.event=e,A(X)},Te=function(e){return de(e)||Du(e,a)&&N(X)};W=X._dc=ou.delayedCall(c||.25,function(){X._vx.reset(),X._vy.reset(),W.pause(),l&&l(X)}).pause(),X.deltaX=X.deltaY=0,X._vx=Nu(0,50,!0),X._vy=Nu(0,50,!0),X.scrollX=ee,X.scrollY=te,X.isDragging=X.isGesturing=X.isPressed=!1,vu(this),X.enable=function(e){return X.isEnabled||(Eu(oe?se:r,"scroll",Pu),i.indexOf("scroll")>=0&&Eu(oe?se:r,"scroll",_e,J,B),i.indexOf("wheel")>=0&&Eu(r,"wheel",we,J,B),(i.indexOf("touch")>=0&&du||i.indexOf("pointer")>=0)&&(Eu(r,gu[0],ge,J,B),Eu(se,gu[2],ve),Eu(se,gu[3],ve),R&&Eu(r,"click",ue,!0,!0),N&&Eu(r,"click",Te),I&&Eu(se,"gesturestart",ye),M&&Eu(se,"gestureend",be),E&&Eu(r,pu+"enter",Se),A&&Eu(r,pu+"leave",ke),L&&Eu(r,pu+"move",xe)),X.isEnabled=!0,X.isDragging=X.isGesturing=X.isPressed=V=U=!1,X._vx.reset(),X._vy.reset(),ne=ee(),ie=te(),e&&e.type&&ge(e),q&&q(X)),X},X.disable=function(){X.isEnabled&&(_u.filter(function(e){return e!==X&&Cu(e.target)}).length||Au(oe?se:r,"scroll",Pu),X.isPressed&&(X._vx.reset(),X._vy.reset(),Au(P?r:se,gu[1],me,!0)),Au(oe?se:r,"scroll",_e,B),Au(r,"wheel",we,B),Au(r,gu[0],ge,B),Au(se,gu[2],ve),Au(se,gu[3],ve),Au(r,"click",ue,!0),Au(r,"click",Te),Au(se,"gesturestart",ye),Au(se,"gestureend",be),Au(r,pu+"enter",Se),Au(r,pu+"leave",ke),Au(r,pu+"move",xe),X.isEnabled=X.isPressed=X.isDragging=!1,O&&O(X))},X.kill=X.revert=function(){X.disable();var e=_u.indexOf(X);e>=0&&_u.splice(e,1),mu===X&&(mu=0)},_u.push(X),P&&Cu(r)&&(mu=X),X.enable(p)},t=e,(n=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&ru(t.prototype,n),e}();zu.version="3.15.0",zu.create=function(e){return new zu(e)},zu.register=Hu,zu.getAll=function(){return _u.slice()},zu.getById=function(e){return _u.filter(function(t){return t.vars.id===e})[0]},yu()&&ou.registerPlugin(zu);var Fu,Wu,Uu,Vu,Zu,Yu,Gu,Xu,Ku,Qu,Ju,ed,td,nd,id,rd,od,sd,ad,ld,cd,ud,dd,pd,fd,hd,md,gd,vd,yd,bd,_d,wd,xd,Sd,kd,Td,Cd,Ed=1,Ad=Date.now,Ld=Ad(),jd=0,Pd=0,Id=function(e,t,n){var i=Vd(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},Md=function(e,t){return!t||Vd(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},$d=function e(){return Pd&&requestAnimationFrame(e)},qd=function(){return nd=1},Od=function(){return nd=0},Nd=function(e){return e},Dd=function(e){return Math.round(1e5*e)/1e5||0},Bd=function(){return"undefined"!=typeof window},Rd=function(){return Fu||Bd()&&(Fu=window.gsap)&&Fu.registerPlugin&&Fu},Hd=function(e){return!!~Gu.indexOf(e)},zd=function(e){return("Height"===e?bd:Uu["inner"+e])||Zu["client"+e]||Yu["client"+e]},Fd=function(e){return Tu(e,"getBoundingClientRect")||(Hd(e)?function(){return rf.width=Uu.innerWidth,rf.height=bd,rf}:function(){return mp(e)})},Wd=function(e,t){var n=t.s,i=t.d2,r=t.d,o=t.a;return Math.max(0,(n="scroll"+i)&&(o=Tu(e,n))?o()-Fd(e)()[r]:Hd(e)?(Zu[n]||Yu[n])-zd(i):e[n]-e["offset"+i])},Ud=function(e,t){for(var n=0;n<ad.length;n+=3)(!t||~t.indexOf(ad[n+1]))&&e(ad[n],ad[n+1],ad[n+2])},Vd=function(e){return"string"==typeof e},Zd=function(e){return"function"==typeof e},Yd=function(e){return"number"==typeof e},Gd=function(e){return"object"==typeof e},Xd=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},Kd=function(e,t,n){if(e.enabled){var i=e._ctx?e._ctx.add(function(){return t(e,n)}):t(e,n);i&&i.totalTime&&(e.callbackAnimation=i)}},Qd=Math.abs,Jd="left",ep="right",tp="bottom",np="width",ip="height",rp="Right",op="Left",sp="Top",ap="Bottom",lp="padding",cp="margin",up="Width",dp="Height",pp="px",fp=function(e){return Uu.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},hp=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},mp=function(e,t){var n=t&&"matrix(1, 0, 0, 1, 0, 0)"!==fp(e)[id]&&Fu.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return n&&n.progress(0).kill(),i},gp=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},vp=function(e){var t,n=[],i=e.labels,r=e.duration();for(t in i)n.push(i[t]/r);return n},yp=function(e){var t=Fu.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return n?function(e,i,r){var o;if(void 0===r&&(r=.001),!i)return t(e);if(i>0){for(e-=r,o=0;o<n.length;o++)if(n[o]>=e)return n[o];return n[o-1]}for(o=n.length,e+=r;o--;)if(n[o]<=e)return n[o];return n[0]}:function(n,i,r){void 0===r&&(r=.001);var o=t(n);return!i||Math.abs(o-n)<r||o-n<0==i<0?o:t(i<0?n-e:n+e)}},bp=function(e,t,n,i){return n.split(",").forEach(function(n){return e(t,n,i)})},_p=function(e,t,n,i,r){return e.addEventListener(t,n,{passive:!i,capture:!!r})},wp=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},xp=function(e,t,n){(n=n&&n.wheelHandler)&&(e(t,"wheel",n),e(t,"touchmove",n))},Sp={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},kp={toggleActions:"play",anticipatePin:0},Tp={top:0,left:0,center:.5,bottom:1,right:1},Cp=function(e,t){if(Vd(e)){var n=e.indexOf("="),i=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(i*=t/100),e=e.substr(0,n-1)),e=i+(e in Tp?Tp[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Ep=function(e,t,n,i,r,o,s,a){var l=r.startColor,c=r.endColor,u=r.fontSize,d=r.indent,p=r.fontWeight,f=Vu.createElement("div"),h=Hd(n)||"fixed"===Tu(n,"pinType"),m=-1!==e.indexOf("scroller"),g=h?Yu:"IFRAME"===n.tagName?n.contentDocument.body:n,v=-1!==e.indexOf("start"),y=v?l:c,b="border-color:"+y+";font-size:"+u+";color:"+y+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((m||a)&&h?"fixed;":"absolute;"),(m||a||!h)&&(b+=(i===$u?ep:tp)+":"+(o+parseFloat(d))+"px;"),s&&(b+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),f._isStart=v,f.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),f.style.cssText=b,f.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(f,g.children[0]):g.appendChild(f),f._offset=f["offset"+i.op.d2],Ap(f,0,i,v),f},Ap=function(e,t,n,i){var r={display:"block"},o=n[i?"os2":"p2"],s=n[i?"p2":"os2"];e._isFlipped=i,r[n.a+"Percent"]=i?-100:0,r[n.a]=i?"1px":0,r["border"+o+up]=1,r["border"+s+up]=0,r[n.p]=t+"px",Fu.set(e,r)},Lp=[],jp={},Pp=function(){return Ad()-jd>34&&(Sd||(Sd=requestAnimationFrame(Xp)))},Ip=function(){(!dd||!dd.isPressed||dd.startX>Yu.clientWidth)&&(wu.cache++,dd?Sd||(Sd=requestAnimationFrame(Xp)):Xp(),jd||Dp("scrollStart"),jd=Ad())},Mp=function(){hd=Uu.innerWidth,fd=Uu.innerHeight},$p=function(e){wu.cache++,(!0===e||!td&&!ud&&!Vu.fullscreenElement&&!Vu.webkitFullscreenElement&&(!pd||hd!==Uu.innerWidth||Math.abs(Uu.innerHeight-fd)>.25*Uu.innerHeight))&&Xu.restart(!0)},qp={},Op=[],Np=function e(){return wp(df,"scrollEnd",e)||Zp(!0)},Dp=function(e){return qp[e]&&qp[e].map(function(e){return e()})||Op},Bp=[],Rp=function(e){for(var t=0;t<Bp.length;t+=5)(!e||Bp[t+4]&&Bp[t+4].query===e)&&(Bp[t].style.cssText=Bp[t+1],Bp[t].getBBox&&Bp[t].setAttribute("transform",Bp[t+2]||""),Bp[t+3].uncache=1)},Hp=function(){return wu.forEach(function(e){return Zd(e)&&++e.cacheID&&(e.rec=e())})},zp=function(e,t){var n;for(rd=0;rd<Lp.length;rd++)!(n=Lp[rd])||t&&n._ctx!==t||(e?n.kill(1):n.revert(!0,!0));_d=!0,t&&Rp(t),t||Dp("revert")},Fp=function(e,t){wu.cache++,(t||!kd)&&wu.forEach(function(e){return Zd(e)&&e.cacheID++&&(e.rec=0)}),Vd(e)&&(Uu.history.scrollRestoration=vd=e)},Wp=0,Up=function(){Yu.appendChild(yd),bd=!dd&&yd.offsetHeight||Uu.innerHeight,Yu.removeChild(yd)},Vp=function(e){return Ku(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},Zp=function(e,t){if(Zu=Vu.documentElement,Yu=Vu.body,Gu=[Uu,Vu,Zu,Yu],!jd||e||_d){Up(),kd=df.isRefreshing=!0,_d||Hp();var n=Dp("refreshInit");ld&&df.sort(),t||zp(),wu.forEach(function(e){Zd(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),Lp.slice(0).forEach(function(e){return e.refresh()}),_d=!1,Lp.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}}),wd=1,Vp(!0),Lp.forEach(function(e){var t=Wd(e.scroller,e._dir),n="max"===e.vars.end||e._endClamp&&e.end>t,i=e._startClamp&&e.start>=t;(n||i)&&e.setPositions(i?t-1:e.start,n?Math.max(i?t:e.start+1,t):e.end,!0)}),Vp(!1),wd=0,n.forEach(function(e){return e&&e.render&&e.render(-1)}),wu.forEach(function(e){Zd(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),Fp(vd,1),Xu.pause(),Wp++,kd=2,Xp(2),Lp.forEach(function(e){return Zd(e.vars.onRefresh)&&e.vars.onRefresh(e)}),kd=df.isRefreshing=!1,Dp("refresh")}else _p(df,"scrollEnd",Np)},Yp=0,Gp=1,Xp=function(e){if(2===e||!kd&&!_d){df.isUpdating=!0,Cd&&Cd.update(0);var t=Lp.length,n=Ad(),i=n-Ld>=50,r=t&&Lp[0].scroll();if(Gp=Yp>r?-1:1,kd||(Yp=r),i&&(jd&&!nd&&n-jd>200&&(jd=0,Dp("scrollEnd")),Ju=Ld,Ld=n),Gp<0){for(rd=t;rd-- >0;)Lp[rd]&&Lp[rd].update(0,i);Gp=1}else for(rd=0;rd<t;rd++)Lp[rd]&&Lp[rd].update(0,i);df.isUpdating=!1}Sd=0},Kp=[Jd,"top",tp,ep,cp+ap,cp+rp,cp+sp,cp+op,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Qp=Kp.concat([np,ip,"boxSizing","max"+up,"max"+dp,"position",cp,lp,lp+sp,lp+rp,lp+ap,lp+op]),Jp=function(e,t,n,i){if(!e._gsap.swappedIn){for(var r,o=Kp.length,s=t.style,a=e.style;o--;)s[r=Kp[o]]=n[r];s.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(s.display="inline-block"),a[tp]=a[ep]="auto",s.flexBasis=n.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[np]=gp(e,Mu)+pp,s[ip]=gp(e,$u)+pp,s[lp]=a[cp]=a.top=a[Jd]="0",tf(i),a[np]=a["max"+up]=n[np],a[ip]=a["max"+dp]=n[ip],a[lp]=n[lp],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},ef=/([A-Z])/g,tf=function(e){if(e){var t,n,i=e.t.style,r=e.length,o=0;for((e.t._gsap||Fu.core.getCache(e.t)).uncache=1;o<r;o+=2)n=e[o+1],t=e[o],n?i[t]=n:i[t]&&i.removeProperty(t.replace(ef,"-$1").toLowerCase())}},nf=function(e){for(var t=Qp.length,n=e.style,i=[],r=0;r<t;r++)i.push(Qp[r],n[Qp[r]]);return i.t=e,i},rf={left:0,top:0},of=function(e,t,n,i,r,o,s,a,l,c,u,d,p,f){Zd(e)&&(e=e(a)),Vd(e)&&"max"===e.substr(0,3)&&(e=d+("="===e.charAt(4)?Cp("0"+e.substr(3),n):0));var h,m,g,v=p?p.time():0;if(p&&p.seek(0),isNaN(e)||(e=+e),Yd(e))p&&(e=Fu.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,d,e)),s&&Ap(s,n,i,!0);else{Zd(t)&&(t=t(a));var y,b,_,w,x=(e||"0").split(" ");g=qu(t,a)||Yu,(y=mp(g)||{})&&(y.left||y.top)||"none"!==fp(g).display||(w=g.style.display,g.style.display="block",y=mp(g),w?g.style.display=w:g.style.removeProperty("display")),b=Cp(x[0],y[i.d]),_=Cp(x[1]||"0",n),e=y[i.p]-l[i.p]-c+b+r-_,s&&Ap(s,_,i,n-_<20||s._isStart&&_>20),n-=n-_}if(f&&(a[f]=e||-.001,e<0&&(e=0)),o){var S=e+n,k=o._isStart;h="scroll"+i.d2,Ap(o,S,i,k&&S>20||!k&&(u?Math.max(Yu[h],Zu[h]):o.parentNode[h])<=S+1),u&&(l=mp(s),u&&(o.style[i.op.p]=l[i.op.p]-i.op.m-o._offset+pp))}return p&&g&&(h=mp(g),p.seek(d),m=mp(g),p._caScrollDist=h[i.p]-m[i.p],e=e/p._caScrollDist*d),p&&p.seek(v),p?e:Math.round(e)},sf=/(webkit|moz|length|cssText|inset)/i,af=function(e,t,n,i){if(e.parentNode!==t){var r,o,s=e.style;if(t===Yu){for(r in e._stOrig=s.cssText,o=fp(e))+r||sf.test(r)||!o[r]||"string"!=typeof s[r]||"0"===r||(s[r]=o[r]);s.top=n,s.left=i}else s.cssText=e._stOrig;Fu.core.getCache(e).uncache=1,t.appendChild(e)}},lf=function(e,t,n){var i=t,r=i;return function(t){var o=Math.round(e());return o!==i&&o!==r&&Math.abs(o-i)>3&&Math.abs(o-r)>3&&(t=o,n&&n()),r=i,i=Math.round(t)}},cf=function(e,t,n){var i={};i[t.p]="+="+n,Fu.set(e,i)},uf=function(e,t){var n=Ou(e,t),i="_scroll"+t.p2,r=function t(r,o,s,a,l){var c=t.tween,u=o.onComplete,d={};s=s||n();var p=lf(n,s,function(){c.kill(),t.tween=0});return l=a&&l||0,a=a||r-s,c&&c.kill(),o[i]=r,o.inherit=!1,o.modifiers=d,d[i]=function(){return p(s+a*c.ratio+l*c.ratio*c.ratio)},o.onUpdate=function(){wu.cache++,t.tween&&Xp()},o.onComplete=function(){t.tween=0,u&&u.call(c)},c=t.tween=Fu.to(e,o)};return e[i]=n,n.wheelHandler=function(){return r.tween&&r.tween.kill()&&(r.tween=0)},_p(e,"wheel",n.wheelHandler),df.isTouch&&_p(e,"touchmove",n.wheelHandler),r},df=function(){function e(t,n){Wu||e.register(Fu)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),gd(this),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Pd){var i,r,o,s,a,l,c,u,d,p,f,h,m,g,v,y,b,_,w,x,S,k,T,C,E,A,L,j,P,I,M,$,q,O,N,D,B,R,H,z,F,W,U=t=hp(Vd(t)||Yd(t)||t.nodeType?{trigger:t}:t,kp),V=U.onUpdate,Z=U.toggleClass,Y=U.id,G=U.onToggle,X=U.onRefresh,K=U.scrub,Q=U.trigger,J=U.pin,ee=U.pinSpacing,te=U.invalidateOnRefresh,ne=U.anticipatePin,ie=U.onScrubComplete,re=U.onSnapComplete,oe=U.once,se=U.snap,ae=U.pinReparent,le=U.pinSpacer,ce=U.containerAnimation,ue=U.fastScrollEnd,de=U.preventOverlaps,pe=t.horizontal||t.containerAnimation&&!1!==t.horizontal?Mu:$u,fe=!K&&0!==K,he=qu(t.scroller||Uu),me=Fu.core.getCache(he),ge=Hd(he),ve="fixed"===("pinType"in t?t.pinType:Tu(he,"pinType")||ge&&"fixed"),ye=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],be=fe&&t.toggleActions.split(" "),_e="markers"in t?t.markers:kp.markers,we=ge?0:parseFloat(fp(he)["border"+pe.p2+up])||0,xe=this,Se=t.onRefreshInit&&function(){return t.onRefreshInit(xe)},ke=function(e,t,n){var i=n.d,r=n.d2,o=n.a;return(o=Tu(e,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(t?zd(r):e["client"+r])||0}}(he,ge,pe),Te=function(e,t){return!t||~xu.indexOf(e)?Fd(e):function(){return rf}}(he,ge),Ce=0,Ee=0,Ae=0,Le=Ou(he,pe);if(xe._startClamp=xe._endClamp=!1,xe._dir=pe,ne*=45,xe.scroller=he,xe.scroll=ce?ce.time.bind(ce):Le,s=Le(),xe.vars=t,n=n||t.animation,"refreshPriority"in t&&(ld=1,-9999===t.refreshPriority&&(Cd=xe)),me.tweenScroll=me.tweenScroll||{top:uf(he,$u),left:uf(he,Mu)},xe.tweenTo=i=me.tweenScroll[pe.p],xe.scrubDuration=function(e){(q=Yd(e)&&e)?$?$.duration(e):$=Fu.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:q,paused:!0,onComplete:function(){return ie&&ie(xe)}}):($&&$.progress(1).kill(),$=0)},n&&(n.vars.lazy=!1,n._initted&&!xe.isReverted||!1!==n.vars.immediateRender&&!1!==t.immediateRender&&n.duration()&&n.render(0,!0,!0),xe.animation=n.pause(),n.scrollTrigger=xe,xe.scrubDuration(K),I=0,Y||(Y=n.vars.id)),se&&(Gd(se)&&!se.push||(se={snapTo:se}),"scrollBehavior"in Yu.style&&Fu.set(ge?[Yu,Zu]:he,{scrollBehavior:"auto"}),wu.forEach(function(e){return Zd(e)&&e.target===(ge?Vu.scrollingElement||Zu:he)&&(e.smooth=!1)}),o=Zd(se.snapTo)?se.snapTo:"labels"===se.snapTo?function(e){return function(t){return Fu.utils.snap(vp(e),t)}}(n):"labelsDirectional"===se.snapTo?(z=n,function(e,t){return yp(vp(z))(e,t.direction)}):!1!==se.directional?function(e,t){return yp(se.snapTo)(e,Ad()-Ee<500?0:t.direction)}:Fu.utils.snap(se.snapTo),O=se.duration||{min:.1,max:2},O=Gd(O)?Qu(O.min,O.max):Qu(O,O),N=Fu.delayedCall(se.delay||q/2||.1,function(){var e=Le(),t=Ad()-Ee<500,r=i.tween;if(!(t||Math.abs(xe.getVelocity())<10)||r||nd||Ce===e)xe.isActive&&Ce!==e&&N.restart(!0);else{var s,a,u=(e-l)/g,d=n&&!fe?n.totalProgress():u,p=t?0:(d-M)/(Ad()-Ju)*1e3||0,f=Fu.utils.clamp(-u,1-u,Qd(p/2)*p/.185),h=u+(!1===se.inertia?0:f),m=se,v=m.onStart,y=m.onInterrupt,b=m.onComplete;if(s=o(h,xe),Yd(s)||(s=h),a=Math.max(0,Math.round(l+s*g)),e<=c&&e>=l&&a!==e){if(r&&!r._initted&&r.data<=Qd(a-e))return;!1===se.inertia&&(f=s-u),i(a,{duration:O(Qd(.185*Math.max(Qd(h-d),Qd(s-d))/p/.05||0)),ease:se.ease||"power3",data:Qd(a-e),onInterrupt:function(){return N.restart(!0)&&y&&Kd(xe,y)},onComplete:function(){xe.update(),Ce=Le(),n&&!fe&&($?$.resetTo("totalProgress",s,n._tTime/n._tDur):n.progress(s)),I=M=n&&!fe?n.totalProgress():xe.progress,re&&re(xe),b&&Kd(xe,b)}},e,f*g,a-e-f*g),v&&Kd(xe,v,i.tween)}}}).pause()),Y&&(jp[Y]=xe),(H=(Q=xe.trigger=qu(Q||!0!==J&&J))&&Q._gsap&&Q._gsap.stRevert)&&(H=H(xe)),J=!0===J?Q:qu(J),Vd(Z)&&(Z={targets:Q,className:Z}),J&&(!1===ee||ee===cp||(ee=!(!ee&&J.parentNode&&J.parentNode.style&&"flex"===fp(J.parentNode).display)&&lp),xe.pin=J,(r=Fu.core.getCache(J)).spacer?v=r.pinState:(le&&((le=qu(le))&&!le.nodeType&&(le=le.current||le.nativeElement),r.spacerIsNative=!!le,le&&(r.spacerState=nf(le))),r.spacer=_=le||Vu.createElement("div"),_.classList.add("pin-spacer"),Y&&_.classList.add("pin-spacer-"+Y),r.pinState=v=nf(J)),!1!==t.force3D&&Fu.set(J,{force3D:!0}),xe.spacer=_=r.spacer,P=fp(J),C=P[ee+pe.os2],x=Fu.getProperty(J),S=Fu.quickSetter(J,pe.a,pp),Jp(J,_,P),b=nf(J)),_e){h=Gd(_e)?hp(_e,Sp):Sp,p=Ep("scroller-start",Y,he,pe,h,0),f=Ep("scroller-end",Y,he,pe,h,0,p),w=p["offset"+pe.op.d2];var je=qu(Tu(he,"content")||he);u=this.markerStart=Ep("start",Y,je,pe,h,w,0,ce),d=this.markerEnd=Ep("end",Y,je,pe,h,w,0,ce),ce&&(R=Fu.quickSetter([u,d],pe.a,pp)),ve||xu.length&&!0===Tu(he,"fixedMarkers")||(W=fp(F=ge?Yu:he).position,F.style.position="absolute"===W||"fixed"===W?W:"relative",Fu.set([p,f],{force3D:!0}),A=Fu.quickSetter(p,pe.a,pp),j=Fu.quickSetter(f,pe.a,pp))}if(ce){var Pe=ce.vars.onUpdate,Ie=ce.vars.onUpdateParams;ce.eventCallback("onUpdate",function(){xe.update(0,0,1),Pe&&Pe.apply(ce,Ie||[])})}if(xe.previous=function(){return Lp[Lp.indexOf(xe)-1]},xe.next=function(){return Lp[Lp.indexOf(xe)+1]},xe.revert=function(e,t){if(!t)return xe.kill(!0);var i=!1!==e||!xe.enabled,r=td;i!==xe.isReverted&&(i&&(D=Math.max(Le(),xe.scroll.rec||0),Ae=xe.progress,B=n&&n.progress()),u&&[u,d,p,f].forEach(function(e){return e.style.display=i?"none":"block"}),i&&(td=xe,xe.update(i)),!J||ae&&xe.isActive||(i?function(e,t,n){tf(n);var i=e._gsap;if(i.spacerIsNative)tf(i.spacerState);else if(e._gsap.swappedIn){var r=t.parentNode;r&&(r.insertBefore(e,t),r.removeChild(t))}e._gsap.swappedIn=!1}(J,_,v):Jp(J,_,fp(J),E)),i||xe.update(i),td=r,xe.isReverted=i)},xe.refresh=function(r,o,h,w){if(!td&&xe.enabled||o)if(J&&r&&jd)_p(e,"scrollEnd",Np);else{!kd&&Se&&Se(xe),td=xe,i.tween&&!h&&(i.tween.kill(),i.tween=0),$&&$.pause(),te&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),xe.isReverted||xe.revert(!0,!0),xe._subPinOffset=!1;var S,C,A,j,P,I,M,q,O,R,H,z,F,W=ke(),U=Te(),V=ce?ce.duration():Wd(he,pe),Z=g<=.01||!g,Y=0,G=w||0,K=Gd(h)?h.end:t.end,ne=t.endTrigger||Q,ie=Gd(h)?h.start:t.start||(0!==t.start&&Q?J?"0 0":"0 100%":0),re=xe.pinnedContainer=t.pinnedContainer&&qu(t.pinnedContainer,xe),oe=Q&&Math.max(0,Lp.indexOf(xe))||0,se=oe;for(_e&&Gd(h)&&(z=Fu.getProperty(p,pe.p),F=Fu.getProperty(f,pe.p));se-- >0;)(I=Lp[se]).end||I.refresh(0,1)||(td=xe),!(M=I.pin)||M!==Q&&M!==J&&M!==re||I.isReverted||(R||(R=[]),R.unshift(I),I.revert(!0,!0)),I!==Lp[se]&&(oe--,se--);for(Zd(ie)&&(ie=ie(xe)),ie=Id(ie,"start",xe),l=of(ie,Q,W,pe,Le(),u,p,xe,U,we,ve,V,ce,xe._startClamp&&"_startClamp")||(J?-.001:0),Zd(K)&&(K=K(xe)),Vd(K)&&!K.indexOf("+=")&&(~K.indexOf(" ")?K=(Vd(ie)?ie.split(" ")[0]:"")+K:(Y=Cp(K.substr(2),W),K=Vd(ie)?ie:(ce?Fu.utils.mapRange(0,ce.duration(),ce.scrollTrigger.start,ce.scrollTrigger.end,l):l)+Y,ne=Q)),K=Id(K,"end",xe),c=Math.max(l,of(K||(ne?"100% 0":V),ne,W,pe,Le()+Y,d,f,xe,U,we,ve,V,ce,xe._endClamp&&"_endClamp"))||-.001,Y=0,se=oe;se--;)(M=(I=Lp[se]||{}).pin)&&I.start-I._pinPush<=l&&!ce&&I.end>0&&(S=I.end-(xe._startClamp?Math.max(0,I.start):I.start),(M===Q&&I.start-I._pinPush<l||M===re)&&isNaN(ie)&&(Y+=S*(1-I.progress)),M===J&&(G+=S));if(l+=Y,c+=Y,xe._startClamp&&(xe._startClamp+=Y),xe._endClamp&&!kd&&(xe._endClamp=c||-.001,c=Math.min(c,Wd(he,pe))),g=c-l||(l-=.01)&&.001,Z&&(Ae=Fu.utils.clamp(0,1,Fu.utils.normalize(l,c,D))),xe._pinPush=G,u&&Y&&((S={})[pe.a]="+="+Y,re&&(S[pe.p]="-="+Le()),Fu.set([u,d],S)),!J||wd&&xe.end>=Wd(he,pe)){if(Q&&Le()&&!ce)for(C=Q.parentNode;C&&C!==Yu;)C._pinOffset&&(l-=C._pinOffset,c-=C._pinOffset),C=C.parentNode}else S=fp(J),j=pe===$u,A=Le(),k=parseFloat(x(pe.a))+G,!V&&c>1&&(H={style:H=(ge?Vu.scrollingElement||Zu:he).style,value:H["overflow"+pe.a.toUpperCase()]},ge&&"scroll"!==fp(Yu)["overflow"+pe.a.toUpperCase()]&&(H.style["overflow"+pe.a.toUpperCase()]="scroll")),Jp(J,_,S),b=nf(J),C=mp(J,!0),q=ve&&Ou(he,j?Mu:$u)(),ee?((E=[ee+pe.os2,g+G+pp]).t=_,(se=ee===lp?gp(J,pe)+g+G:0)&&(E.push(pe.d,se+pp),"auto"!==_.style.flexBasis&&(_.style.flexBasis=se+pp)),tf(E),re&&Lp.forEach(function(e){e.pin===re&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),ve&&Le(D)):(se=gp(J,pe))&&"auto"!==_.style.flexBasis&&(_.style.flexBasis=se+pp),ve&&((P={top:C.top+(j?A-l:q)+pp,left:C.left+(j?q:A-l)+pp,boxSizing:"border-box",position:"fixed"})[np]=P["max"+up]=Math.ceil(C.width)+pp,P[ip]=P["max"+dp]=Math.ceil(C.height)+pp,P[cp]=P[cp+sp]=P[cp+rp]=P[cp+ap]=P[cp+op]="0",P[lp]=S[lp],P[lp+sp]=S[lp+sp],P[lp+rp]=S[lp+rp],P[lp+ap]=S[lp+ap],P[lp+op]=S[lp+op],y=function(e,t,n){for(var i,r=[],o=e.length,s=n?8:0;s<o;s+=2)i=e[s],r.push(i,i in t?t[i]:e[s+1]);return r.t=e.t,r}(v,P,ae),kd&&Le(0)),n?(O=n._initted,cd(1),n.render(n.duration(),!0,!0),T=x(pe.a)-k+g+G,L=Math.abs(g-T)>1,ve&&L&&y.splice(y.length-2,2),n.render(0,!0,!0),O||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),cd(0)):T=g,H&&(H.value?H.style["overflow"+pe.a.toUpperCase()]=H.value:H.style.removeProperty("overflow-"+pe.a));R&&R.forEach(function(e){return e.revert(!1,!0)}),xe.start=l,xe.end=c,s=a=kd?D:Le(),ce||kd||(s<D&&Le(D),xe.scroll.rec=0),xe.revert(!1,!0),Ee=Ad(),N&&(Ce=-1,N.restart(!0)),td=0,n&&fe&&(n._initted||B)&&n.progress()!==B&&n.progress(B||0,!0).render(n.time(),!0,!0),(Z||Ae!==xe.progress||ce||te||n&&!n._initted)&&(n&&!fe&&(n._initted||Ae||!1!==n.vars.immediateRender)&&n.totalProgress(ce&&l<-.001&&!Ae?Fu.utils.normalize(l,c,0):Ae,!0),xe.progress=Z||(s-l)/g===Ae?0:Ae),J&&ee&&(_._pinOffset=Math.round(xe.progress*T)),$&&$.invalidate(),isNaN(z)||(z-=Fu.getProperty(p,pe.p),F-=Fu.getProperty(f,pe.p),cf(p,pe,z),cf(u,pe,z-(w||0)),cf(f,pe,F),cf(d,pe,F-(w||0))),Z&&!kd&&xe.update(),!X||kd||m||(m=!0,X(xe),m=!1)}},xe.getVelocity=function(){return(Le()-a)/(Ad()-Ju)*1e3||0},xe.endAnimation=function(){Xd(xe.callbackAnimation),n&&($?$.progress(1):n.paused()?fe||Xd(n,xe.direction<0,1):Xd(n,n.reversed()))},xe.labelToScroll=function(e){return n&&n.labels&&(l||xe.refresh()||l)+n.labels[e]/n.duration()*g||0},xe.getTrailing=function(e){var t=Lp.indexOf(xe),n=xe.direction>0?Lp.slice(0,t).reverse():Lp.slice(t+1);return(Vd(e)?n.filter(function(t){return t.vars.preventOverlaps===e}):n).filter(function(e){return xe.direction>0?e.end<=l:e.start>=c})},xe.update=function(e,t,r){if(!ce||r||e){var o,u,d,f,h,m,v,w=!0===kd?D:xe.scroll(),x=e?0:(w-l)/g,E=x<0?0:x>1?1:x||0,P=xe.progress;if(t&&(a=s,s=ce?Le():w,se&&(M=I,I=n&&!fe?n.totalProgress():E)),ne&&J&&!td&&!Ed&&jd&&(!E&&l<w+(w-a)/(Ad()-Ju)*ne?E=1e-4:1===E&&c>w+(w-a)/(Ad()-Ju)*ne&&(E=.9999)),E!==P&&xe.enabled){if(f=(h=(o=xe.isActive=!!E&&E<1)!=(!!P&&P<1))||!!E!=!!P,xe.direction=E>P?1:-1,xe.progress=E,f&&!td&&(u=E&&!P?0:1===E?1:1===P?2:3,fe&&(d=!h&&"none"!==be[u+1]&&be[u+1]||be[u],v=n&&("complete"===d||"reset"===d||d in n))),de&&(h||v)&&(v||K||!n)&&(Zd(de)?de(xe):xe.getTrailing(de).forEach(function(e){return e.endAnimation()})),fe||(!$||td||Ed?n&&n.totalProgress(E,!(!td||!Ee&&!e)):($._dp._time-$._start!==$._time&&$.render($._dp._time-$._start),$.resetTo?$.resetTo("totalProgress",E,n._tTime/n._tDur):($.vars.totalProgress=E,$.invalidate().restart()))),J)if(e&&ee&&(_.style[ee+pe.os2]=C),ve){if(f){if(m=!e&&E>P&&c+1>w&&w+1>=Wd(he,pe),ae)if(e||!o&&!m)af(J,_);else{var q=mp(J,!0),O=w-l;af(J,Yu,q.top+(pe===$u?O:0)+pp,q.left+(pe===$u?0:O)+pp)}tf(o||m?y:b),L&&E<1&&o||S(k+(1!==E||m?0:T))}}else S(Dd(k+T*E));se&&!i.tween&&!td&&!Ed&&N.restart(!0),Z&&(h||oe&&E&&(E<1||!xd))&&Ku(Z.targets).forEach(function(e){return e.classList[o||oe?"add":"remove"](Z.className)}),V&&!fe&&!e&&V(xe),f&&!td?(fe&&(v&&("complete"===d?n.pause().totalProgress(1):"reset"===d?n.restart(!0).pause():"restart"===d?n.restart(!0):n[d]()),V&&V(xe)),!h&&xd||(G&&h&&Kd(xe,G),ye[u]&&Kd(xe,ye[u]),oe&&(1===E?xe.kill(!1,1):ye[u]=0),h||ye[u=1===E?1:3]&&Kd(xe,ye[u])),ue&&!o&&Math.abs(xe.getVelocity())>(Yd(ue)?ue:2500)&&(Xd(xe.callbackAnimation),$?$.progress(1):Xd(n,"reverse"===d?1:!E,1))):fe&&V&&!td&&V(xe)}if(j){var B=ce?w/ce.duration()*(ce._caScrollDist||0):w;A(B+(p._isFlipped?1:0)),j(B)}R&&R(-w/ce.duration()*(ce._caScrollDist||0))}},xe.enable=function(t,n){xe.enabled||(xe.enabled=!0,_p(he,"resize",$p),ge||_p(he,"scroll",Ip),Se&&_p(e,"refreshInit",Se),!1!==t&&(xe.progress=Ae=0,s=a=Ce=Le()),!1!==n&&xe.refresh())},xe.getTween=function(e){return e&&i?i.tween:$},xe.setPositions=function(e,t,n,i){if(ce){var r=ce.scrollTrigger,o=ce.duration(),s=r.end-r.start;e=r.start+s*e/o,t=r.start+s*t/o}xe.refresh(!1,!1,{start:Md(e,n&&!!xe._startClamp),end:Md(t,n&&!!xe._endClamp)}
vendor: 4,378 bytes, line 23
23,i),xe.update()},xe.adjustPinSpacing=function(e){if(E&&e){var t=E.indexOf(pe.d)+1;E[t]=parseFloat(E[t])+e+pp,E[1]=parseFloat(E[1])+e+pp,tf(E)}},xe.disable=function(t,n){if(!1!==t&&xe.revert(!0,!0),xe.enabled&&(xe.enabled=xe.isActive=!1,n||$&&$.pause(),D=0,r&&(r.uncache=1),Se&&wp(e,"refreshInit",Se),N&&(N.pause(),i.tween&&i.tween.kill()&&(i.tween=0)),!ge)){for(var o=Lp.length;o--;)if(Lp[o].scroller===he&&Lp[o]!==xe)return;wp(he,"resize",$p),ge||wp(he,"scroll",Ip)}},xe.kill=function(e,i){xe.disable(e,i),$&&!i&&$.kill(),Y&&delete jp[Y];var o=Lp.indexOf(xe);o>=0&&Lp.splice(o,1),o===rd&&Gp>0&&rd--,o=0,Lp.forEach(function(e){return e.scroller===xe.scroller&&(o=1)}),o||kd||(xe.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),i||n.kill()),u&&[u,d,p,f].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),Cd===xe&&(Cd=0),J&&(r&&(r.uncache=1),o=0,Lp.forEach(function(e){return e.pin===J&&o++}),o||(r.spacer=0)),t.onKill&&t.onKill(xe)},Lp.push(xe),xe.enable(!1,!1),H&&H(xe),n&&n.add&&!g){var Me=xe.update;xe.update=function(){xe.update=Me,wu.cache++,l||c||xe.refresh()},Fu.delayedCall(.01,xe.update),g=.01,l=c=0}else xe.refresh();J&&function(){if(Td!==Wp){var e=Td=Wp;requestAnimationFrame(function(){return e===Wp&&Zp(!0)})}}()}else this.update=this.refresh=this.kill=Nd},e.register=function(t){return Wu||(Fu=t||Rd(),Bd()&&window.document&&e.enable(),Wu=Pd),Wu},e.defaults=function(e){if(e)for(var t in e)kp[t]=e[t];return kp},e.disable=function(e,t){Pd=0,Lp.forEach(function(n){return n[t?"kill":"disable"](e)}),wp(Uu,"wheel",Ip),wp(Vu,"scroll",Ip),clearInterval(ed),wp(Vu,"touchcancel",Nd),wp(Yu,"touchstart",Nd),bp(wp,Vu,"pointerdown,touchstart,mousedown",qd),bp(wp,Vu,"pointerup,touchend,mouseup",Od),Xu.kill(),Ud(wp);for(var n=0;n<wu.length;n+=3)xp(wp,wu[n],wu[n+1]),xp(wp,wu[n],wu[n+2])},e.enable=function(){if(Uu=window,Vu=document,Zu=Vu.documentElement,Yu=Vu.body,Fu)if(Ku=Fu.utils.toArray,Qu=Fu.utils.clamp,gd=Fu.core.context||Nd,cd=Fu.core.suppressOverwrites||Nd,vd=Uu.history.scrollRestoration||"auto",Yp=Uu.pageYOffset||0,Fu.core.globals("ScrollTrigger",e),Yu){Pd=1,(yd=document.createElement("div")).style.height="100vh",yd.style.position="absolute",Up(),$d(),zu.register(Fu),e.isTouch=zu.isTouch,md=zu.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),pd=1===zu.isTouch,_p(Uu,"wheel",Ip),Gu=[Uu,Vu,Zu,Yu],Fu.matchMedia?(e.matchMedia=function(e){var t,n=Fu.matchMedia();for(t in e)n.add(t,e[t]);return n},Fu.addEventListener("matchMediaInit",function(){Hp(),zp()}),Fu.addEventListener("matchMediaRevert",function(){return Rp()}),Fu.addEventListener("matchMedia",function(){Zp(0,1),Dp("matchMedia")}),Fu.matchMedia().add("(orientation: portrait)",function(){return Mp(),Mp})):console.warn("Requires GSAP 3.11.0 or later"),Mp(),_p(Vu,"scroll",Ip);var t,n,i=Yu.hasAttribute("style"),r=Yu.style,o=r.borderTopStyle,s=Fu.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",t=mp(Yu),$u.m=Math.round(t.top+$u.sc())||0,Mu.m=Math.round(t.left+Mu.sc())||0,o?r.borderTopStyle=o:r.removeProperty("border-top-style"),i||(Yu.setAttribute("style",""),Yu.removeAttribute("style")),ed=setInterval(Pp,250),Fu.delayedCall(.5,function(){return Ed=0}),_p(Vu,"touchcancel",Nd),_p(Yu,"touchstart",Nd),bp(_p,Vu,"pointerdown,touchstart,mousedown",qd),bp(_p,Vu,"pointerup,touchend,mouseup",Od),id=Fu.utils.checkPrefix("transform"),Qp.push(id),Wu=Ad(),Xu=Fu.delayedCall(.2,Zp).pause(),ad=[Vu,"visibilitychange",function(){var e=Uu.innerWidth,t=Uu.innerHeight;Vu.hidden?(od=e,sd=t):od===e&&sd===t||$p()},Vu,"DOMContentLoaded",Zp,Uu,"load",Zp,Uu,"resize",$p],Ud(_p),Lp.forEach(function(e){return e.enable(0,1)}),n=0;n<wu.length;n+=3)xp(wp,wu[n],wu[n+1]),xp(wp,wu[n],wu[n+2])}else Vu&&Vu.addEventListener("DOMContentLoaded",function t(){e.enable(),Vu.removeEventListener("DOMContentLoaded",t)})},e.config=function(t){"limitCallbacks"in t&&(xd=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(ed)||(ed=n)&&setInterval(Pp,n),"ignoreMobileResize"in t&&(pd=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(Ud(wp)||Ud(_p,t.autoRefreshEvents||"none"),ud=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var n=qu(e),i=wu.indexOf(n),r=Hd(n);~i&&wu.splice(i,r?6:2),t&&(r?xu.unshift(Uu,t,Yu,t,Zu,t):xu.unshift(n,t))}
vendor: 4,295 bytes, line 23
23,e.clearMatchMedia=function(e){Lp.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,n){var i=(Vd(e)?qu(e):e).getBoundingClientRect(),r=i[n?np:ip]*t||0;return n?i.right-r>0&&i.left+r<Uu.innerWidth:i.bottom-r>0&&i.top+r<Uu.innerHeight},e.positionInViewport=function(e,t,n){Vd(e)&&(e=qu(e));var i=e.getBoundingClientRect(),r=i[n?np:ip],o=null==t?r/2:t in Tp?Tp[t]*r:~t.indexOf("%")?parseFloat(t)*r/100:parseFloat(t)||0;return n?(i.left+o)/Uu.innerWidth:(i.top+o)/Uu.innerHeight},e.killAll=function(e){if(Lp.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=qp.killAll||[];qp={},t.forEach(function(e){return e()})}},e}();df.version="3.15.0",df.saveStyles=function(e){return e?Ku(e).forEach(function(e){if(e&&e.style){var t=Bp.indexOf(e);t>=0&&Bp.splice(t,5),Bp.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Fu.core.getCache(e),gd())}}):Bp},df.revert=function(e,t){return zp(!e,t)},df.create=function(e,t){return new df(e,t)},df.refresh=function(e){return e?$p(!0):(Wu||df.register())&&Zp(!0)},df.update=function(e){return++wu.cache&&Xp(!0===e?2:0)},df.clearScrollMemory=Fp,df.maxScroll=function(e,t){return Wd(e,t?Mu:$u)},df.getScrollFunc=function(e,t){return Ou(qu(e),t?Mu:$u)},df.getById=function(e){return jp[e]},df.getAll=function(){return Lp.filter(function(e){return"ScrollSmoother"!==e.vars.id})},df.isScrolling=function(){return!!jd},df.snapDirectional=yp,df.addEventListener=function(e,t){var n=qp[e]||(qp[e]=[]);~n.indexOf(t)||n.push(t)},df.removeEventListener=function(e,t){var n=qp[e],i=n&&n.indexOf(t);i>=0&&n.splice(i,1)},df.batch=function(e,t){var n,i=[],r={},o=t.interval||.016,s=t.batchMax||1e9,a=function(e,t){var n=[],i=[],r=Fu.delayedCall(o,function(){t(n,i),n=[],i=[]}).pause();return function(e){n.length||r.restart(!0),n.push(e.trigger),i.push(e),s<=n.length&&r.progress(1)}};for(n in t)r[n]="on"===n.substr(0,2)&&Zd(t[n])&&"onRefreshInit"!==n?a(0,t[n]):t[n];return Zd(s)&&(s=s(),_p(df,"refresh",function(){return s=t.batchMax()})),Ku(e).forEach(function(e){var t={};for(n in r)t[n]=r[n];t.trigger=e,i.push(df.create(t))}),i};var pf,ff=function(e,t,n,i){return t>i?e(i):t<0&&e(0),n>i?(i-t)/(n-t):n<0?t/(t-n):1},hf=function e(t,n){!0===n?t.style.removeProperty("touch-action"):t.style.touchAction=!0===n?"auto":n?"pan-"+n+(zu.isTouch?" pinch-zoom":""):"none",t===Zu&&e(Yu,n)},mf={auto:1,scroll:1},gf=function(e){var t,n=e.event,i=e.target,r=e.axis,o=(n.changedTouches?n.changedTouches[0]:n).target,s=o._gsap||Fu.core.getCache(o),a=Ad();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==Yu&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!mf[(t=fp(o)).overflowY]&&!mf[t.overflowX]);)o=o.parentNode;s._isScroll=o&&o!==i&&!Hd(o)&&(mf[(t=fp(o)).overflowY]||mf[t.overflowX]),s._isScrollT=a}(s._isScroll||"x"===r)&&(n.stopPropagation(),n._gsapAllow=!0)},vf=function(e,t,n,i){return zu.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&gf,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return n&&_p(Vu,zu.eventTypes[0],bf,!1,!0)},onDisable:function(){return wp(Vu,zu.eventTypes[0],bf,!0)}})},yf=/(input|label|select|textarea)/i,bf=function(e){var t=yf.test(e.target.tagName);(t||pf)&&(e._gsapAllow=!0,pf=t)};df.sort=function(e){if(Zd(e))return Lp.sort(e);var t=Uu.pageYOffset||0;return df.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+Uu.innerHeight}),Lp.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0))})},df.observe=function(e){return new zu(e)},df.normalizeScroll=function(e){if(void 0===e)return dd;if(!0===e&&dd)return dd.enable();if(!1===e)return dd&&dd.kill(),void(dd=e);var t=e instanceof zu?e:function(e){Gd(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,n,i,r,o,s,a,l,c=e,u=c.normalizeScrollX,d=c.momentum,p=c.allowNestedScroll,f=c.onRelease,h=qu(e.target)||Zu,m=Fu.core.globals().ScrollSmoother,g=m&&m.get(),v=md&&(e.content&&qu(e.content)||g&&!1!==e.content&&!g.smooth()&&g.content()),y=Ou(h,$u),b=Ou(h,Mu),_=1,w=(zu.isTouch&&Uu.visualVie
vendor: 1,071 bytes, line 23
23wport?Uu.visualViewport.scale*Uu.visualViewport.width:Uu.outerWidth)/Uu.innerWidth,x=0,S=Zd(d)?function(){return d(t)}:function(){return d||2.8},k=vf(h,e.type,!0,p),T=function(){return r=!1},C=Nd,E=Nd,A=function(){n=Wd(h,$u),E=Qu(md?1:0,n),u&&(C=Qu(0,Wd(h,Mu))),i=Wp},L=function(){v._gsap.y=Dd(parseFloat(v._gsap.y)+y.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},j=function(){A(),o.isActive()&&o.vars.scrollY>n&&(y()>n?o.progress(1)&&y(n):o.resetTo("scrollY",n))};return v&&Fu.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return md&&"touchmove"===e.type&&function(){if(r){requestAnimationFrame(T);var e=Dd(t.deltaY/2),n=E(y.v-e);if(v&&n!==y.v+y.offset){y.offset=n-y.v;var i=Dd((parseFloat(v&&v._gsap.y)||0)-y.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",v._gsap.y=i+"px",y.cacheID=wu.cache,Xp()}return!0}y.offset&&L(),r=!0}()||_>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){r=!1;var e=_;
23_=Dd((Uu.visualViewport&&Uu.visualViewport.scale||1)/w),o.pause(),e!==_&&hf(h,_>1.01||!u&&"x"),s=b(),a=y(),A(),i=Wp},e.onRelease=e.onGestureStart=function(e,t){if(y.offset&&L(),t){wu.cache++;var i,r,s=S();u&&(r=(i=b())+.05*s*-e.velocityX/.227,s*=ff(b,i,r,Wd(h,Mu)),o.vars.scrollX=C(r)),r=(i=y())+.05*s*-e.velocityY/.227,s*=ff(y,i,r,Wd(h,$u)),o.vars.scrollY=E(r),o.invalidate().duration(s).play(.01),(md&&o.vars.scrollY>=n||i>=n-1)&&Fu.to({},{onUpdate:j,duration:s})}else l.restart(!0);f&&f(e)},e.onWheel=function(){o._ts&&o.pause(),Ad()-x>1e3&&(i=0,x=Ad())},e.onChange=function(e,t,n,r,o){if(Wp!==i&&A(),t&&u&&b(C(r[2]===t?s+(e.startX-e.x):b()+t-r[1])),n){y.offset&&L();var l=o[2]===n,c=l?a+e.startY-e.y:y()+n-o[1],d=E(c);l&&c!==d&&(a+=d-c),y(d)}(n||t)&&Xp()},e.onEnable=function(){hf(h,!u&&"x"),df.addEventListener("refresh",j),_p(Uu,"resize",j),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=b.smooth=!1),k.enable()},e.onDisable=function(){hf(h,!0),wp(Uu,"resize",j),df.removeEventListener("refresh",j),k.kill()},e.lockAxis=!1!==e.lockAxis,(t=new zu(e)).iOS=md,md&&!y()&&y(1),md&&Fu.ticker.add(Nd),l=t._dc,o=Fu.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:lf(y,y(),function(){return o.pause()})},onUpdate:Xp,onComplete:l.vars.onComplete}),t}(e);return dd&&dd.target===t.target&&dd.kill(),Hd(t.target)&&(dd=t),t},df.core={_getVelocityProp:Nu,_inputObserver:vf,_scrollers:wu,_proxies:xu,bridge:{ss:function(){jd||Dp("scrollStart"),jd=Ad()},ref:function(){return td}}},Rd()&&Fu.registerPlugin(df);var _f=n(684);iu.registerPlugin(df);let wf=iu.matchMedia();const xf={sectionHeroAll:document.querySelectorAll(".js-section-hero")},Sf=_f.breakpoints(),kf=function(){xf.sectionHeroAll.length&&xf.sectionHeroAll.forEach(e=>{wf.add(`(min-width: ${Sf.md}px)`,()=>{iu.timeline({scrollTrigger:{trigger:e,scrub:!0,start:"top-=35% center",end:"+=250"}}).fromTo(e.querySelector(".c-section-hero__image-mask"),{translateX:"-120px"},{translateX:()=>-((document.documentElement.clientWidth-document.body.querySelector(".o-grid").offsetWidth)/2+document.body.querySelector(".o-grid").offsetWidth+60)}),iu.timeline({scrollTrigger:{trigger:e,scrub:!0,start:"top-=35% center+=50px",end:"+=720"}}).fromTo(e.querySelector(".c-section-hero__parallelogram"),{translateX:()=>document.documentElement.clientWidth},{translateX:(e,t)=>-t.offsetWidth+(document.documentElement.clientWidth-document.body.querySelector(".o-grid").offsetWidth)/2+260}).to(e.querySelector(".c-section-hero__parallelogram"),{scaleX:2.05}),iu.timeline({scrollTrigger:{trigger:e.querySelector(".c-section-hero__content"),scrub:!0,start:"top bottom-=10%",end:"top center"},ease:"none"}).set(e.querySelector(".c-section-hero__body"),{opacity:0}).to(e.querySelector(".c-section-hero__body"),{opacity:1}),iu.timeline({scrollTrigger:{trigger:e.querySelector(".c-section-hero__content"),scrub:!0,start:"top top+=30%",end:"top top+=10%"},ease:"none"}).to(e.querySelector(".c-section-hero__body"),{color:"#000548"})})})};var Tf=n(796);const Cf={init(){this.donationGeneralElement=document.querySelector(".js-donation-general"),this.donationGeneralElement&&(this.formEl=document.querySelector(".js-donation-general > form"),this.currentStep=this.getCurrentStepFromDOM(),this.lastStep=this.currentStep,this.isInternalNavigation=!1,this.selectedProject=null,this.isPageReload=this.checkIfPageReload(),this.isNavigatingFromHistory=!1,this.newsletterListIds="",this.donationGeneralElement.querySelector("form[data-newsletter-list-ids]")&&(this.newsletterListIds=this.donationGeneralElement.querySelector("form[data-newsletter-list-ids]").getAttribute("data-newsletter-list-ids")),this.newsletterSubscribeUrl="",this.donationGeneralElement.querySelector("form[data-newsletter-subscribe-url]")&&(this.newsletterSubscribeUrl=this.donationGeneralElement.querySelector("form[data-newsletter-subscribe-url]").getAttribute("data-newsletter-subscribe-url")),this.bindGeneralTeaserEvents(),this.bindTopicTeaserEvents(),this.bindProjectTeaserEvents(),this.bindProgressBarEvents(),this.bindSpendinoEvents(),this.bindHistoryEvents(),this.initializeMultistepContent(),this.initializeDonationTypeVisibility(),this.updateProgressBar(),this.showProjectOnPageReload(),this.initStickyScrollTeaserGeneralEqual(),this.initRegionalProjects(),this.initializeHistoryState())},getCurrentStepFromDOM(){const e=new URLSearchParams(window.location.search).get("step");if(e&&!isNaN(e)){const t=Number(e);if(t>=1&&t<=2)return t}const t=this.donationGeneralElement.querySelector(".c-progress__item--active");return t?Number(t.getAttribute("data-progress-index")):0},checkIfPageReload:()=>new URLSearchParams(window.location.search).has("step")||sessionStorage.getItem("donationFormStep"),initializeMultistepContent(){const e=this.donationGeneralElement.querySelector(".c-multistep-content");
23if(!e)return;const t=e.querySelectorAll(".c-multistep-view");if(0===t.length)return;t.forEach(e=>{e.classList.remove("c-multistep-view--active")});const n=t[this.currentStep];n&&n.classList.add("c-multistep-view--active")},initializeDonationTypeVisibility(){this.donationGeneralElement.querySelectorAll(".c-donation-general__tab-content[data-tab-content-id]").forEach(e=>{e.classList.add("u-display-none")}),this.donationGeneralElement.querySelectorAll("[data-tab-content-id]").forEach(e=>{e.classList.add("u-display-none")})},bindGeneralTeaserEvents(){Tf(this.donationGeneralElement).on("teaser.radio.change",".js-teaser--general",(e,t)=>{this.handleGeneralTeaserSelection(t)})},bindTopicTeaserEvents(){Tf(this.donationGeneralElement).on("teaser.radio.change",".c-teaser-topic",(e,t)=>{this.handleTopicTeaserSelection(t)})},handleGeneralTeaserSelection(e){const t=e.value;this.donationGeneralElement.querySelectorAll("[data-tab-content-id]").forEach(e=>{e.classList.add("u-display-none")});const n=this.donationGeneralElement.querySelector(`[data-tab-content-id="${t}"]`);if(n){n.classList.remove("u-display-none");const e=window.innerWidth<700?300:130;Tf("html,body").animate({scrollTop:Tf(n).offset().top-e},"slow")}window.innerWidth<700&&e.teaserRadioElement&&e.teaserRadioElement.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},handleTopicTeaserSelection(e){const t=e.teaserRadioElement.querySelector(".js-input-radio-topic");if(!t)return;const n=t.value,i=t.getAttribute("data-text-mobile")||"",r=t.getAttribute("data-text")||"";this.updateProjectsWrapperText(i,r),this.filterProjectsByTopic(n);const o=this.donationGeneralElement.querySelector(".js-donation-general__projects-wrapper");if(o&&o.classList.contains("u-display-none")&&o.classList.remove("u-display-none"),o){const e=window.innerWidth<700?300:130;Tf("html,body").animate({scrollTop:Tf(o).offset().top-e},"slow")}},updateProjectsWrapperText(e,t){const n=this.donationGeneralElement.querySelector(".js-donation-general__projects-wrapper");if(!n)return;const i=n.querySelector('[class*="hide@sm"]');i&&e&&(i.innerHTML=e);const r=n.querySelector('[class*="show@sm"]');r&&t&&(r.innerHTML=t)},filterProjectsByTopic(e){this.donationGeneralElement.querySelectorAll(".js-donation-general__projects-wrapper .js-teaser-project").forEach(t=>{const n=t.getAttribute("data-project-categories");if(!n)return void(t.style.display="none");const i=n.split(",").map(e=>e.trim());!e||i.includes(e)?t.style.display="":t.style.display="none"})},bindProjectTeaserEvents(){Tf(this.donationGeneralElement).on("teaser.radio.change",".js-teaser-project",(e,t)=>{this.handleProjectSelection(t)}),Tf(this.donationGeneralElement).on("click",".js-teaser-project.c-teaser--selected",()=>{this.selectedProject&&this.formEl&&this.formEl.submit()})},handleProjectSelection(e){this.selectedProject={value:e.value,element:e.teaserRadioElement},this.formEl&&this.formEl.submit()},bindProgressBarEvents(){this.donationGeneralElement.addEventListener("click",e=>{const t=e.target.closest(".c-progress__item");if(!t)return;const n=Number(t.getAttribute("data-progress-index"));0===this.currentStep&&0===n&&e.preventDefault(),0===this.currentStep&&n>0&&!this.selectedProject&&e.preventDefault(),this.currentStep>=1&&n>=1&&e.preventDefault(),this.navigateToStep(n,!0)})},navigateToStep(e,t=!1){if(!this.validateStepNavigation(e))return;const n=this.currentStep;this.currentStep=e,this.handleStepTransition(n,e),t||this.updateProgressBar(),this.updateStepView(),sessionStorage.setItem("donationFormStep",e.toString())},validateStepNavigation(e){return!(0!==e&&e>=1&&0===this.currentStep&&!this.selectedProject&&!this.checkForSelectedProject()&&(this.showError(),1))},checkForSelectedProject(){const e=this.donationGeneralElement.querySelector(".js-teaser-project input:checked");if(e){const t=e.closest(".js-teaser-project");return this.selectedProject={value:e.value,element:t},!0}return!1},handleStepTransition(e,t){t>0&&t!==e&&!this.isInternalNavigation&&this.communicateWithSpendino(e,t)},communicateWithSpendino(e,t){if(document.querySelector('iframe[name="spendinoWidget"]')&&void 0!==window.setSpendinoParam)try{t<e?window.setSpendinoParam("switchPageBackward"):2===t&&1===e&&window.setSpendinoParam("switchPageForward")}catch(e){}},bindSpendinoEvents(){const e=this;window.spendinoOnLoad=function(){},window.spendinoOnEvent=function(t){0!==e.currentStep&&e.handleSpendinoEvent(t)}},handleSpendinoEvent(e){if(this.isInternalNavigation=!0,"pageSwitched"===e.name&&this.handleSpendinoPageSwitch(e.parameter),"submit"===e.name&&Array.isArray(e.parameter)&&"1"===e.parameter.find(e=>"flag_more_info"===e.name).value&&""!==e.parameter.find(e=>"email"===e.name).value&&this.newsletterListIds&&this.newsletterSubscribeUrl){const t=this.newsletterListIds,n=this.newsletterSubscribeUrl,i={email:e.parameter.find(e=>"email"===e.name).value||"",newsletter_list_ids:t,salutation:e.parameter.find(e=>"salutation"===e.name).value||"",title:e.parameter.find(e=>"title"===e.name).value||"",firstname:e.parameter.find(e=>"firstname"===e.name).value||"",lastname:e.parameter.find(e=>"lastname"===e.name).value||"",birthday:""};try{const e=new FormData;
23Object.keys(i).forEach(t=>{e.append(t,i[t])}),fetch(n,{method:"POST",body:e,keepalive:!0})}catch(e){}}this.isInternalNavigation=!1},initializeHistoryState(){if(this.currentStep>=1){const e={step:this.currentStep,selectedProjectValue:this.selectedProject?this.selectedProject.value:null};window.history.replaceState(e,"",this.getUrlForStep(this.currentStep))}},bindHistoryEvents(){window.addEventListener("popstate",e=>{this.handleHistoryNavigation(e)})},handleHistoryNavigation(e){if(!e.state||void 0===e.state.step)return;const t=e.state.step,n=e.state.selectedProjectValue;t<1||t>2||(!n||this.selectedProject&&this.selectedProject.value===n||this.restoreSelectedProjectFromValue(n),this.isNavigatingFromHistory=!0,this.navigateToStepFromHistory(t),this.isNavigatingFromHistory=!1)},navigateToStepFromHistory(e){if(!this.validateStepNavigation(e))return;const t=this.currentStep;this.currentStep=e,this.handleStepTransition(t,e),this.updateProgressBar(),this.updateStepView(),sessionStorage.setItem("donationFormStep",e.toString())},restoreSelectedProjectFromValue(e){const t=this.donationGeneralElement.querySelector(`.js-teaser-project input[value="${e}"]`);if(t){const n=t.closest(".js-teaser-project");n&&(this.selectedProject={value:e,element:n})}},pushHistoryState(e){if(history.state.step&&history.state.step!==e&&e>=1&&e<=2&&!this.isNavigatingFromHistory){const t={step:e,selectedProjectValue:this.selectedProject?this.selectedProject.value:null},n=this.getUrlForStep(e);window.history.pushState(t,"",n),console.log("Pushed history state for step",e)}},getUrlForStep(e){const t=new URL(window.location.href);return e>=1?t.searchParams.set("step",e.toString()):t.searchParams.delete("step"),t.toString()},handleSpendinoPageSwitch(e){"page0"===e&&(this.navigateToStep(1),this.pushHistoryState(1)),"page1"===e&&(this.navigateToStep(2),this.pushHistoryState(2))},updateProgressBar(){this.donationGeneralElement.querySelectorAll(".c-progress__item").forEach((e,t)=>{e.classList.remove("c-progress__item--touched","c-progress__item--active"),t<this.currentStep?e.classList.add("c-progress__item--touched"):t===this.currentStep&&e.classList.add("c-progress__item--active")})},updateStepView(){const e=this.donationGeneralElement.querySelector(".c-multistep-content");e&&this.currentStep<2&&e.querySelectorAll(".c-multistep-view").forEach((e,t)=>{t===this.currentStep?e.classList.add("c-multistep-view--active"):e.classList.remove("c-multistep-view--active")}),this.currentStep>0&&0===this.lastStep&&Tf("html,body").animate({scrollTop:0},"fast"),this.lastStep=this.currentStep},showError(){const e=this.donationGeneralElement.querySelector(".js-donation-general__error");e&&(e.classList.remove("u-display-none"),Tf("html,body").animate({scrollTop:Tf(e).offset().top-window.innerHeight+e.getBoundingClientRect().height+10},"slow"))},hideError(){const e=this.donationGeneralElement.querySelector(".js-donation-general__error");e&&e.classList.add("u-display-none")},showProjectOnPageReload(){const e=new URLSearchParams(window.location.search).get("donationProjectID");if(e&&!isNaN(e)){const t=this.donationGeneralElement.querySelector(`.js-teaser-project input[value="${e}"]`);if(t){const n=t.closest(".js-teaser-project");this.selectedProject={value:e,element:n},Tf(n).addClass("c-teaser--selected").find('input[type="radio"]').prop("checked",!0).end().find(".c-button").addClass("u-icon u-icon:left u-icon--alert-valid").attr("aria-checked",!0);const i=n.closest("[data-tab-content-id]").getAttribute("data-tab-content-id"),r=this.donationGeneralElement.querySelector(`.js-teaser--general input[value="${i}"]`);if(r){const e=r.closest(".js-teaser--general");Tf(e).trigger("click")}const o=n.getAttribute("data-project-categories");if(o){const e=o.split(",").map(e=>e.trim());for(const t of e){const e=this.donationGeneralElement.querySelector(`[data-tab-content-id="${i}"] .c-teaser-topic .js-input-radio-topic[value="${t}"]`);if(e){const t=e.closest(".c-teaser-topic");Tf(t).trigger("click");break}}}}}},initStickyScrollTeaserGeneralEqual(){const e=document.querySelector(".o-grid__row--teaser-general-equal");if(!e)return;let t,n=0,i=!1,r=!1;const o=document.createElement("div");o.style.width="100%",o.style.height=`${e.offsetHeight}px`,o.style.display="none",e.parentNode.classList.contains("js-donation-general__variants-wrapper")?t=e.parentNode:(t=document.createElement("div"),t.classList.add("js-donation-general__variants-wrapper"),e.parentNode.insertBefore(t,e),t.appendChild(e),t.insertBefore(o,e)),document.addEventListener("scroll",()=>{window.innerWidth>=700||(n=window.scrollY,i||(window.requestAnimationFrame(()=>{!function(n){if(n>t.offsetTop&&!r)e.classList.add("is-fixed"),o.style.display="block",r=!0;else{let i=0;
23document.querySelector(".js-header .c-header__wrapper:not(.animate-out)")&&(i+=document.querySelector(".js-header")?document.querySelector(".js-header").offsetHeight:0),document.querySelector(".js-search-dialog.c-search-dialog--open")&&(i+=document.querySelector(".js-search-dialog")?document.querySelector(".js-search-dialog").offsetHeight:0),n<t.offsetTop-i&&(e.classList.remove("is-fixed"),o.style.display="none",r=!1)}}(n),i=!1}),i=!0))})},initRegionalProjects(){if(this.regionalProjectsElement=document.querySelector(".js-donation-regional__projects-local"),!this.regionalProjectsElement)return;this.loadLocalProjectCards(),document.querySelector(".js-donation-regional__local-jumplink")&&document.querySelector(".js-donation-regional__local-jumplink").addEventListener("click",function(){Tf("html,body").animate({scrollTop:Tf(".js-donation-regional__local-search").offset().top-250},"slow")});const e=document.querySelector(".js-donation-regional__local-project-search-submit");e&&e.addEventListener("click",()=>{this.loadLocalProjectCards(this.getSearchTerm(),this.getSearchLocation()).then(()=>{document.querySelector(".js-donation-regional__jumplink-wrapper").classList.remove("u-display-none")})});const t=document.querySelector(".js-donation-regional__loadmore button");t&&t.addEventListener("click",e=>{e.preventDefault();let n=t.getAttribute("data-local-project-url-next");n&&this.loadLocalProjectCards(this.getSearchTerm(),this.getSearchLocation(),n)})},createProjectTeaser(e,t){t=(t=(t=t.replace("[external_form_id]",e.external_form_id||"")).replace("[external_xcustomcode]",e.external_xcustomcode||"")).replace("[external_xcustomtitle]",e.external_xcustomtitle||"");let n=e.uid||"",i=e.category||"",r=e.image||"",o=e.title||"";return`<div class="c-teaser c-teaser--shadow-box js-teaser-project js-teaser-radio ${r?"":"c-teaser--no-img"} " data-category="${i}" id="id-${n}" data-id="do-${n}">\n            ${r?`<div class="c-teaser__img">\n                <figure class="c-figure">\n                    <div class="c-figure__inner">\n                        <picture>\n                            <img class="c-img" loading="lazy" src="${r}" alt="${o}" height="560" width="840">\n                        </picture>\n                    </div>\n                </figure>\n            </div>`:""}\n            <div class="c-teaser__content">\n                <div class="c-copy">\n                    <h4 class="u-typo:l u-typo:bold ">\n                        ${o}\n                    </h4>\n                    <p>${e.short_description||""}</p>\n                </div>\n                <button class="c-button c-button--second" type="button" tabindex="0" role="switch" aria-checked="false">\n                    <span>Jetzt spenden</span>\n                    <span>Ausgewählt</span>\n                </button>\n                <input type="radio" name="donationProjectID" id="project-${n}" value="${n}">\n                <label class="u-accessibility" for="project-${n}">${o}</label>\n                <input type="radio" name="donate" id="donate-${n}" value="true">\n                <label class="u-accessibility" for="donate-${n}">${o}</label>\n            </div>\n        </div>`},getSearchTerm:()=>document.querySelector("#input-text-local-project-search-term").value,getSearchLocation:()=>document.querySelector("#input-text-local-project-search-location").value,async loadLocalProjectCards(e,t,n){const i=document.querySelector(".js-donation-regional__projects-local");let r=i.getAttribute("data-local-project-url"),o=i.getAttribute("data-spendino-url"),s=!1;n&&(r=n,s=!0);let a=i.getAttribute("data-pid");if(!r)return!1;r.startsWith("http")||(r=window.location.origin+r);const l=new URL(r);e&&l.searchParams.set("term",e),t&&l.searchParams.set("location",t),a&&l.searchParams.set("page",a);const c=document.querySelector(".js-donation-regional__projects-container");document.querySelector(".js-donation-regional__noresults")&&document.querySelector(".js-donation-regional__noresults").classList.add("u-display-none");try{const e=await fetch(l);if(!e.ok)throw new Error(`Response status: ${e.status}`);document.querySelector(".js-donation-regional__loader").classList.remove("u-display-none");const t=await e.json();if(s||(c.innerHTML=""),t.projects.length)for(const e of t.projects)c.insertAdjacentHTML("beforeend",this.createProjectTeaser(e,o));else document.querySelector(".js-donation-regional__noresults")&&document.querySelector(".js-donation-regional__noresults").classList.remove("u-display-none");document.querySelector(".js-donation-regional__loader")&&document.querySelector(".js-donation-regional__loader").classList.add("u-display-none"),document.querySelector(".js-donation-regional__loadmore")&&(t.nextUrl?(document.querySelector(".js-donation-regional__loadmore button").setAttribute("data-local-project-url-next",t.nextUrl),document.querySelector(".js-donation-regional__loadmore").classList.remove("u-display-none")):(document.querySelector(".js-donation-regional__loadmore button").setAttribute("data-local-project-url-next",""),document.querySelector(".js-donation-regional__loadmore").classList.add("u-display-none")))}catch(e){s||(c.innerHTML=""),document.querySelector(".js-donation-regional__noresults")&&document.querySelector(".js-donation-regional__noresults").classList.remove("u-display-none"),document.querySelector(".js-donation-regional__loader")&&document.querySelector(".js-donation-regional__loader").classList.add("u-display-none")}}},Ef=(e,t={})=>{const n=parseInt(e.dataset.goal,10),i=parseInt(e.dataset.current,10),r=e.querySelector(".js-donation-value"),o=e.querySelector(".c-donation-barometer__fill"),s=e.querySelector(".c-donation-barometer__goal-wrapper__fill"),a=e.querySelector(".c-donation-barometer__goal-value");
23a&&(a.textContent=n.toLocaleString("de-DE"));const l=e.querySelector(".c-donation-barometer__current-value");if(l&&(l.textContent=i.toLocaleString("de-DE")),!r||!o||!s)return;const c=()=>({percentage:Math.min(i/n*100,100)});let u;s.addEventListener("transitionend",()=>{s.style.transitionDuration="700ms",e.classList.add("transition-completed")}),i>=n&&e.classList.add("goal-reached"),((e,t,n={})=>{const{offsetTop:i=0,offsetBottom:r=100,threshold:o=.2}=n;let s=!1,a=!1;const l=()=>{a||s||(window.requestAnimationFrame(()=>{(()=>{const t=e.getBoundingClientRect(),n=t.height,s=o*n,a=window.innerHeight||document.documentElement.clientHeight,l=i,c=a-r,u=t.top<=c-s,d=t.bottom>=l+s;return u&&d})()&&(s=!0,t(),window.removeEventListener("scroll",l),window.removeEventListener("resize",l)),a=!1}),a=!0)};window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",l,{passive:!0}),l()})(e,()=>{const{percentage:e}=c();o.style.transitionDuration="2500ms",((e,t,n)=>{let i=null;const r=t=>{i||(i=t);const o=Math.min((t-i)/2500,1);e.textContent=Math.floor(o*(n-0)+0).toLocaleString("de-DE"),o<1&&window.requestAnimationFrame(r)};window.requestAnimationFrame(r)})(r,0,i),o.style.width=`${e}%`,s.style.transitionDuration="2500ms",s.style.height=`${e}%`,setTimeout(()=>{window.addEventListener("resize",d)},2550)},t);const d=()=>{clearTimeout(u),u=setTimeout(()=>{const{percentage:e}=c();o.style.transitionDuration="0ms",o.style.width=`${e}%`,s.style.transitionDuration="0ms",s.style.height=`${e}%`},100)}};var Af=n(796);const Lf=Af(".js-donation-list-slider:not(.init)"),jf={slidesToShow:1,slidesToScroll:1,centerMode:!0,centerPadding:"20%",adaptiveHeight:!1,arrows:!1,autoplay:!1,dots:!0,lazyLoad:"ondemand"},Pf=function(){Lf.length&&(t().addQuery({context:["xxs","xs"],callFor_each_context:!1,match:function(){Af(".js-donation-list-slider:not(.init)").each(function(e,t){Af(t).slick(jf),Af(t).attr("data-slick","init"),Af(t).addClass("init").addClass("match-height")})}}),t().addQuery({context:["sm"],callFor_each_context:!1,match:function(){Af(".js-donation-list-slider.init").each(function(e,t){Af(t).hasClass("init")&&(Af(t).slick("unslick"),Af(t).removeAttr("data-slick"),Af(t).removeClass("init").removeClass("match-height"))})}}))};class If{init(e){this.module=e,this.module&&(this.switcherButtons=this.module.querySelectorAll(".c-ext-job-services-search-switcher__button"),this.panels=this.module.querySelectorAll(".c-ext-job-services-switcher__panel"),this.bindEvents())}bindEvents(){this.switcherButtons.forEach(e=>{e.addEventListener("click",e=>{const t=e.currentTarget.dataset.targetPanelIndex;this.switchPanel(t)})})}switchPanel(e){this.switcherButtons.forEach(e=>{e.classList.remove("active")}),this.panels.forEach(e=>{e.classList.remove("is-active")});const t=this.module.querySelector(`[data-target-panel-index="${e}"]`);t&&t.classList.add("active");const n=this.panels[parseInt(e)];n&&n.classList.add("is-active")}}const Mf=function(){document.querySelectorAll(".js-services-filter-counter:not(.init)").length&&document.querySelectorAll(".js-services-filter-counter:not(.init)").forEach(e=>{const t=e.getAttribute("data-services-filter-counter-url"),n=e.getAttribute("data-services-filter-institution"),i=e.querySelector(".js-filter-counter-filtered"),r=new URLSearchParams;let o;""!==n&&r.set("institution",n);const s=xr(()=>{e.querySelector(".c-form__input-select input")&&r.set("location",e.querySelector(".c-form__input-select input").value),e.querySelector(".c-form__input-select input")&&e.querySelector(".c-form__input-select .js-custom-select")&&(e.querySelector(".c-form__input-select input").value?r.set("radius",e.querySelector(".c-form__input-select .js-custom-select").value):r.set("radius","")),e.querySelector(".c-form__input-select .js-custom-select")&&r.set("radius",e.querySelector(".c-form__input-select .js-custom-select").value),e.querySelector(".js-filter-counter-search input")&&r.set("subject",e.querySelector(".js-filter-counter-search input").value),async function(e,t,n){try{o&&o.abort(),o=new AbortController;const i=o.signal;t.startsWith("http://")||t.startsWith("https://")||(t=`${window.location.origin}${t}`);const r=await fetch(`${t}?${n.toString()}`,{signal:i});if(!r.ok)throw new Error(`Response status: ${r.status}`);const s=await r.json();e.innerHTML=s.count>-1?s.count:""}catch(e){"AbortError"!==e.name&&console.error("Error fetching data:",e)}}(i,t,r)},150);s(),e.querySelector(".c-form__input-select input")&&e.querySelector(".c-form__input-select input").addEventListener("keyup",s),e.querySelector(".c-form__input-select input")&&e.querySelector(".c-form__input-select input").addEventListener("autocomplete.place_changed",s),e.querySelector(".c-form__input-select .js-cu
23stom-select")&&e.querySelector(".c-form__input-select .js-custom-select").addEventListener("change",s),e.querySelector(".js-filter-counter-search input")&&e.querySelector(".js-filter-counter-search input").addEventListener("keyup",s),e.classList.add("init")})},$f={tabElAll:document.querySelectorAll("[data-ce-tab]:not(.init)")},qf=function(){$f.tabElAll.length&&$f.tabElAll.forEach(e=>{new Of(e),e.classList.add("init")})};class Of{constructor(e){this.tablistNode=e,this.tabs=[],this.firstTab=null,this.lastTab=null,this._minWidthDebouncers=new WeakMap,this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabpanels=[];for(var t=0;t<this.tabs.length;t+=1){var n=this.tabs[t],i=document.getElementById(n.getAttribute("aria-controls"));n.tabIndex=-1,n.setAttribute("aria-selected","false"),this.tabpanels.push(i),this.setMinWidth(n),n.addEventListener("keydown",this.onKeydown.bind(this)),n.addEventListener("click",this.onClick.bind(this)),this.firstTab||(this.firstTab=n),this.lastTab=n}this.setSelectedTab(this.firstTab,!1),window.addEventListener("resize",()=>
23{this.tabs.forEach(e=>this.setMinWidth(e))})}setSelectedTab(e,t){"boolean"!=typeof t&&(t=!0);for(var n=0;n<this.tabs.length;n+=1){var i=this.tabs[n];e===i?(i.setAttribute("aria-selected","true"),i.removeAttribute("tabindex"),this.tabpanels[n].classList.add("c-tab__panel--active"),t&&i.focus(),this.centerActiveTab(i)):(i.setAttribute("aria-selected","false"),i.tabIndex=-1,this.tabpanels[n].classList.remove("c-tab__panel--active"))}}setSelectedToPreviousTab(e){var t;e===this.firstTab?this.setSelectedTab(this.lastTab):(t=this.tabs.indexOf(e),this.setSelectedTab(this.tabs[t-1]))}setSelectedToNextTab(e){var t;e===this.lastTab?this.setSelectedTab(this.firstTab):(t=this.tabs.indexOf(e),this.setSelectedTab(this.tabs[t+1]))}onKeydown(e){var t=e.currentTarget,n=!1;switch(e.key){case"ArrowLeft":this.setSelectedToPreviousTab(t),n=!0;break;case"ArrowRight":this.setSelectedToNextTab(t),n=!0;break;case"Home":this.setSelectedTab(this.firstTab),n=!0;break;case"End":this.setSelectedTab(this.lastTab),n=!0}n&&(e.stopPropagation(),e.preventDefault())}onClick(e){this.setSelectedTab(e.currentTarget)}centerActiveTab(e){if(window.innerWidth>=768)return;const t=this.tablistNode,n=t.offsetWidth,i=e.offsetLeft-n/2+e.offsetWidth/2;t.scrollTo({left:i,behavior:"smooth"})}_measureAndSetMinWidth(e){if(window.innerWidth<576)return;const t=e.cloneNode(!0);t.style.position="absolute",t.style.visibility="hidden",t.setAttribute("aria-selected","false"),document.body.appendChild(t);const n=t.offsetWidth;t.setAttribute("aria-selected","true");const i=t.offsetWidth;document.body.removeChild(t),i>n&&(e.style.minWidth=`${i}px`)}setMinWidth(e){let t=this._minWidthDebouncers.get(e);t||(t=xr(()=>this._measureAndSetMinWidth(e),150),this._minWidthDebouncers.set(e,t)),t()}}const Nf=/^(https?:\/\/)?(www\.)?karriere\.johanniter\.de/,Df=function(){window.dataLayer=window.dataLayer||[],document.addEventListener("click",function(e){const t=e.target.closest("a[href]");if(!t)return;const n=t.getAttribute("href");var i;Nf.test(n)&&(i={event:"ctaInitiativbewerbung"},window.dataLayer.push(i))})},Bf={talkEventBtn:n(796)("#chat"),templateID:"cyTbUoKa5",talkEventScriptSrc:"/_assets/b5334323ffb20dcf5ba843e6f3a935de/Frontend/Talkevent/talkevent_pu.js",jqueryUIEventScriptSrc:"/_assets/b5334323ffb20dcf5ba843e6f3a935de/Frontend/Talkevent/jquery-ui.min.js",addScriptInitialized:!1};function Rf(){return!Bf.addScriptInitialized&&(Bf.addScriptInitialized=!0,new Promise(function(e,t){let n=document.createElement("script");n.src=Bf.talkEventScriptSrc,n.async=!1,n.onload=e,n.onerror=t,document.body.appendChild(n)}))}const Hf=function(){Bf.talkEventBtn.length&&window.addEventListener("UC_UI_INITIALIZED",function(){Bf.uc=window.UC_UI,function(){if(void 0===Bf.uc)return;let e=Bf.uc.getServicesBaseInfo().find(e=>e.id===Bf.templateID);!0===e.consent.status&&Rf(),window.addEventListener("onJohanniterConsentStatusChange",function(){e=Bf.uc.getServicesBaseInfo().find(e=>e.id===Bf.templateID),!0===e.consent.status&&Rf()}),Bf.talkEventBtn.on("click",function(){!1===e.consent.status&&Bf.uc.showSecondLayer(Bf.templateID)})}()})};var zf=n(796);function Ff(e){window.dataLayer.push(e)}const Wf=function(){window.dataLayer=window.dataLayer||[],zf('#services-filter button[type="submit"]').length>0?zf('#services-filter button[type="submit"]').each(function(){zf(this).on("click",function(){let e={event:"submitSearchServices"};e.searchTermServices=zf("#services-filter-subject").length>0?zf("#services-filter-subject").val():zf("#form-location").val(),e.searchTermServices||(e.searchTermServices="no_search_term"),Ff(e)})}):zf('#jobs-filter button[type="submit"]').length>0?zf('#jobs-filter button[type="submit"]').each(function(){zf(this).on("click",function(){let e={event:"submitSearchJobs"};e.searchTermJobs=zf("#jobs-filter-subject").val(),""===e.searchTermJobs&&(e.searchTermJobs="no_search_term"),Ff(e)})}):1===zf("form[id^=jobApplicationForm-]").length?zf(zf('form[id^=jobApplicationForm-] button[type="submit"]').not('[data-submit="confirm"]')[0]).on("click",function(){let e;e=JSON.parse(zf('input[data-data-layer="record_data"]').attr("value")),""===e.jobField&&(e.jobField="no_job_field"),Ff(e)}):zf("form[id^=ContactForm-], form[id^=JuhContactForm-]").length>0&&zf(document).on("click",'form[id^=ContactForm-] button[type="submit"]:not([data-submit="confirm"]), form[id^=JuhContactForm-] button[type="submit"]:not([data-submit="confirm"])',function(){let e;""===zf('input[data-data-layer="record_data"]').attr("value")&&zf('input[data-data-layer="record_data"]').attr("value",document.referrer);try{e=JSON.parse(zf('input[data-data-layer="record_data"]').attr("value"))}catch(t){e={contactSubject:zf('input[data-data-layer="record_data"]').attr("value"),johAssociation:"not specified",event:"submitContactForm"}}finally{Ff(e)}}),zf('form[id^="membership"]').length>0&&function(){const e="membership",t=document.querySelector('form[id^="membership"]');let n={event:"validate_supporting_membership",affiliation:"Fördermitgliedschaft",date:(new Date).toJSON().slice(0,10),country:"",zip:"",amount:0,interval:"",intervalOptions:{once:"",monthly:"",quarterly:"",halfYearly:"",yearly:""}};function i(){const i=[[],[],[],[],[],[]];
23t.querySelectorAll("[data-frequency]").forEach(e=>{i[Number(e.getAttribute("data-frequency"))].push(e.querySelector("input").value)}),n.intervalOptions={once:i[5],monthly:i[1],quarterly:i[2],halfYearly:i[3],yearly:i[4]},n.amount=t.querySelector('input[name*="radiobutton-donation"]:checked')?Number(t.querySelector('input[name*="radiobutton-donation"]:checked').value):"",n.interval=function(){if(!t.querySelector('input[name*="radiobutton-interval"]:checked'))return"";const e=Number(t.querySelector('input[name*="radiobutton-interval"]:checked').value);return 1===e?"monthly":2===e?"quarterly":3===e?"halfYearly":4===e?"yearly":5===e?"once":""}(),er(`foemi_${e}`,JSON.stringify(n),.1)}t.addEventListener("submit",function(r){const o=function(){const e=t.querySelectorAll(".c-progress__item");return e.length?[...e].findIndex(e=>e.classList.contains("c-progress__item--active")):-1}(),s=r.submitter&&"BUTTON"===r.submitter.tagName&&"submit"===r.submitter.type?r.submitter:null;let a=!1;s&&s.value&&o>0&&s.value<o&&(a=!0),0===o?a||i():1===o?a||(n=JSON.parse(Ji(`foemi_${e}`)),n.country=t.querySelector('[id*="membership--countryselect-1"]').value,n.zip=t.querySelector('[id*="membership--zip"]').value,er(`foemi_${e}`,JSON.stringify(n),.1),Ff(n)):2===o&&(a||(n=JSON.parse(Ji(`foemi_${e}`)),n.event="submit_supporting_membership",Ff(n),tr(`foemi_${e}`)))})}()};var Uf=n(796);const Vf=function(){let e,t,n;if(n=!1,Uf("select[data-sort=langsort-excludeTwo]"))e=Uf("select[data-sort=langsort-excludeTwo]"),n=2;else if(Uf("select[data-sort=langsort-excludeOne]"))e=Uf("select[data-sort=langsort-excludeOne]"),n=1;else{if(!Uf("select[data-sort=langsort-all]"))return;e=Uf("select[data-sort=langsort-all]")}let i=e.val(),r=e.find("option");n&&(t=r.splice(0,n)),r.sort(function(e,t){return Uf(e).text()>Uf(t).text()?1:-1}),n&&(r=Uf.merge(t,r)),e.html("").append(r),e.val(i)};var Zf=n(796),Yf=n(796);function Gf(){this.init=function(){Zf("form[data-suggest]").each(function(){var e,t=Yf(this),n=t.find(".tx-solr-suggest");e=t.find(".tx-solr-autocomplete").length>0?t.find(".tx-solr-autocomplete"):Yf("body"),Zf.ajaxSetup({jsonp:"tx_solr[callback]"}),0===n.length&&(n=t),n.css("position","relative"),console.log("re",n.attr("required")),n.attr("required")&&t.on("submit",function(e){""===n.val()&&(e.preventDefault(),n.focus())}),t.find(".tx-solr-suggest").devbridgeAutocomplete({deferRequestBy:250,serviceUrl:t.data("suggest"),dataType:"jsonp",paramName:"tx_solr[queryString]",groupBy:"category",maxHeight:1e3,appendTo:e,autoSelectFirst:!1,triggerSelectOnValidInput:!1,width:n.outerWidth()||400,onSelect:function(e){e.data.link?0===e.data.link.indexOf("https://www.youtube.com")?openVideoOverlay(e.data.link):location.href=e.data.link:t.trigger("submit")},transformResult:function(e){if(!e.suggestions)return{suggestions:[]};var n,i={suggestions:Yf.map(e.suggestions,function(e,t){return n||(n=t),{value:t,data:{category:"suggestion",count:e}}})};return Yf.each(e.documents,function(e,r){var o=r,s=t.data("suggest-header")?t.data("suggest-header"):"Top results";o.category=s,o.group&&(o.category=t.data("suggest-header-"+o.group)?t.data("suggest-header-"+o.group):o.group),i.suggestions.push({value:n,data:o})}),i},beforeRender:function(e){e.find(".autocomplete-group:first").remove(),e.addClass("tx-solr-autosuggest"),n.parent().addClass("autocomplete-active").fadeIn()},formatResult:function(e,t){if(!t)return e.value;var n="("+Yf.Autocomplete.utils.escapeRegExChars(t.trim())+")";if("suggestion"===e.data.category)return e.value.replace(new RegExp(n,"gi"),"<strong>$1</strong>").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/&lt;(\/?strong)&gt;/g,"<$1>");var i=e.data.title.replace(new RegExp(n,"gi"),"<em>$1</em>").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/&lt;(\/?em)&gt;/g,"<$1>");return'<div class="'+e.data.type+'">'+(e.data.previewImage?"<figure "+(e.data.hasVideo?'class="hasVideo"':"")+'><img src="'+e.data.previewImage+'" /></figure>':"")+'<a href="'+e.data.link+'" class="internal-link">'+i+"</a></div>"}}).on("blur",function(){n.parent().removeClass("autocomplete-active");var e=Yf(this);setTimeout(function(){e.devbridgeAutocomplete("hide")},200)})})}}const Xf=function(){var e=new Gf;
23e.init(),Zf("body").on("tx_solr_updated",function(){e.init()})},Kf=document.querySelectorAll("iframe:not(#uc-cross-domain-bridge)[data-src]");function Qf(){UC_UI.areAllConsentsAccepted()?document.querySelectorAll("iframe").forEach(e=>{e.src=e.getAttribute("data-src")}):document.querySelectorAll("iframe").forEach(e=>{e.src=""})}const Jf=function(){Kf.length&&window.addEventListener("UC_UI_INITIALIZED",function(){console.log("UC: ",UC_UI),Qf();let e=UC_UI.getServicesBaseInfo().filter(e=>!0===e.consent.status&&"BJz7qNsdj-7"!==e.id).length;window.addEventListener("onJohanniterConsentStatusChange",function(t){if(console.log("onJohanniterConsentStatusChange",t),Qf(),"onAcceptAllServices"!==t.detail.action&&"onDenyAllServices"!==t.detail.action||document.querySelectorAll("iframe:not(#uc-cross-domain-bridge), .mapWrap [id*=ajaxMapContainer], .c-map").length,"onUpdateServices"===t.detail.action){let t=UC_UI.getServicesBaseInfo().filter(e=>!0===e.consent.status&&"BJz7qNsdj-7"!==e.id).length;e===t?e=t:document.querySelectorAll("iframe:not(#uc-cross-domain-bridge), .mapWrap [id*=ajaxMapContainer], .c-map").length}})})},eh={spendinoIframes:document.querySelectorAll('iframe[src*="api.spendino.de"]')};function th(e){console.log("consentStatusChange",e),eh.spendinoIframes.forEach(e=>{const t=e.src;e.src=t}),window.removeEventListener("onJohanniterConsentStatusChange",th)}const nh=function(){eh.spendinoIframes.length&&(window.UC_UI&&window.UC_UI.isInitialized()?console.log("UC_UI.isInitialized"):window.addEventListener("UC_UI_INITIALIZED",function(e){console.log("UC_UI_INITIALIZED"),window.addEventListener("onJohanniterConsentStatusChange",th)}))};var ih=n(796);document.addEventListener("DOMContentLoaded",()=>{"lab"===window.projectSettings.config.system.code&&console.log("Hello Fractal!")}),ih(function(){Jf(),g(),v(),b(),w(),k(),j(),N(),ge(),ne(),mn(),yn(),wn(),An(),In(),qn(),Vn(),Xn(),ei(),si(),fi(),gi(),yi(),Ci(),Ii(),Ni(),Fi(),Zi(),Xf(),ae(),Gi(),Qi(),ur(),wr(),kr(),Tr(),Ar(),Mr(),Ur(),Gr(),to(),oo(),ao(),kf(),Cf.init(),((e={})=>{document.querySelectorAll(".js-donation-barometer").forEach(t=>{Ef(t,e)})})(),Pf(),document.querySelectorAll(".js-ext-job-services-search-switcher").forEach(e=>{(new If).init(e)}),Mf(),qf(),Df(),Hf(),Wf(),Vf(),nh()})})()})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.