vendor: 8,713 bytes, lines 1-2
1/*! For license information please see scripts.min.js.LICENSE.txt */ 2(()=>{var e={125:(e,t,o)=>{var n,i,s;!function(){"use strict";i=[o(669)],n=function(e){var t,o=window.Slick||{};(t=0,o=function(o,n){var i,s=this;s.defaults={adaptiveHeight:!1,appendArrows:e(o),appendDots:e(o),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,o){return e('<button type="button"><span class="slick-dot-icon" aria-hidden="true"></span><span class="slick-sr-only">Go to slide '+(o+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},s.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(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=e(o),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,i=e(o).data("slick")||{},s.options=e.extend({},s.defaults,n,i),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=e.proxy(s.autoPlay,s),s.autoPlayClear=e.proxy(s.autoPlayClear,s),s.autoPlayIterator=e.proxy(s.autoPlayIterator,s),s.autoPlayToggleHandler=e.proxy(s.autoPlayToggleHandler,s),s.changeSlide=e.proxy(s.changeSlide,s),s.clickHandler=e.proxy(s.clickHandler,s),s.selectHandler=e.proxy(s.selectHandler,s),s.setPosition=e.proxy(s.setPosition,s),s.swipeHandler=e.proxy(s.swipeHandler,s),s.dragHandler=e.proxy(s.dragHandler,s),s.instanceUid=t++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}).prototype.addSlide=o.prototype.slickAdd=function(t,o,n){var i=this;if("boolean"==typeof o)n=o,o=null;else if(o<0||o>=i.slideCount)return!1;i.unload(),"number"==typeof o?0===o&&0===i.$slides.length?e(t).appendTo(i.$slideTrack):n?e(t).insertBefore(i.$slides.eq(o)):e(t).insertAfter(i.$slides.eq(o)):!0===n?e(t).prependTo(i.$slideTrack):e(t).appendTo(i.$slideTrack),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slides.each(function(t,o){e(o).attr("data-slick-index",t),e(o).attr("role","group"),e(o).attr("aria-label","slide "+t)}),i.$slidesCache=i.$slides,i.reinit()},o.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)}},o.prototype.animateSlide=function(t,o){var n={},i=this;i.animateHeight(),!0===i.options.rtl&&!1===i.options.vertical&&(t=-t),!1===i.transformsEnabled?!1===i.options.vertical?i.$slideTrack.animate({left:t},i.options.speed,i.options.easing,o):i.$slideTrack.animate({top:t},i.options.speed,i.options.easing,o):!1===i.cssTransitions?(!0===i.options.rtl&&(i.currentLeft=-i.currentLeft),e({animStart:i.currentLeft}).animate({animStart:t},{duration:i.options.speed,easing:i.options.easing,step:function(e){e=Math.ceil(e),!1===i.options.vertical?(n[i.animType]="translate("+e+"px, 0px)",i.$slideTrack.css(n)):(n[i.animType]="translate(0px,"+e+"px)",i.$slideTrack.css(n))},complete:function(){o&&o.call()}})):(i.applyTransition(),t=Math.ceil(t),!1===i.options.vertical?n[i.animType]="translate3d("+t+"px, 0px, 0px)":n[i.animType]="translate3d(0px,"+t+"px, 0px)",i.$slideTrack.css(n),o&&setTimeout(function(){i.disableTransition(),o.call()},i.options.speed))},o.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},o.prototype.asNavFor=function(t){var o=this.getNavTarget();null!==o&&"object"==typeof o&&o.each(function(){var o=e(this).slick("getSlick");o.unslicked||o.slideHandler(t,!0)})},o.prototype.applyTransition=function(e){var t=this,o={};!1===t.options.fade?o[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:o[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(o):t.$slides.eq(e).css(o)},o.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},o.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},o.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))},o.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())},o.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)},o.prototype.buildDots=function(){var t,o,n=this;if(!0===n.options.dots&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),o=e("<ul />").addClass(n.options.dotsClass),t=0;t<=n.getDotCount();t+=1)o.append(e("<li />").append(n.options.customPaging.call(this,n,t)));n.$dots=o.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},o.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(o,n){e(n).attr("data-slick-index",o).data("originalStyling",e(n).attr("style")||""),t.options.useGroupRole&&e(n).attr("role","group").attr("aria-label","slide "+(o+1))}),t.$slider.addClass("slick-slider"),t.$slider.attr("role","regi
2on"),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))},o.prototype.buildRows=function(){var e,t,o,n,i,s,r,a=this;if(n=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>0){for(r=a.options.slidesPerRow*a.options.rows,i=Math.ceil(s.length/r),e=0;e<i;e++){var l=document.createElement("div");for(t=0;t<a.options.rows;t++){var c=document.createElement("div");for(o=0;o<a.options.slidesPerRow;o++){var d=e*r+(t*a.options.slidesPerRow+o);s.get(d)&&c.appendChild(s.get(d))}l.appendChild(c)}n.appendChild(l)}a.$slider.empty().append(n),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},o.prototype.checkResponsive=function(t,o){var n,i,s,r=this,a=!1,l=r.$slider.width(),c=window.innerWidth||e(window).width();if("window"===r.respondTo?s=c:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(c,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(n in i=null,r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(!1===r.originalSettings.mobileFirst?s<r.breakpoints[n]&&(i=r.breakpoints[n]):s>r.breakpoints[n]&&(i=r.breakpoints[n]));null!==i?null!==r.activeBreakpoint?(i!==r.activeBreakpoint||o)&&(r.activeBreakpoint=i,"unslick"===r.breakpointSettings[i]?r.unsl
vendor: 2,229 bytes, line 2
2ick(i):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[i]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=i):(r.activeBreakpoint=i,"unslick"===r.breakpointSettings[i]?r.unslick(i):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[i]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=i):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),a=i),t||!1===a||r.$slider.trigger("breakpoint",[r,a])}},o.prototype.changeSlide=function(t,o){var n,i,s=this,r=e(t.currentTarget);switch(r.is("a")&&t.preventDefault(),r.is("li")||(r=r.closest("li")),n=s.slideCount%s.options.slidesToScroll!==0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,t.data.message){case"previous":i=0===n?s.options.slidesToScroll:s.options.slidesToShow-n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-i,!1,o);break;case"next":i=0===n?s.options.slidesToScroll:n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+i,!1,o);break;case"index":var a=0===t.data.index?0:t.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,o),r.children().trigger("focus");break;default:return}},o.prototype.checkNavigable=function(e){var t,o;if(o=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=o;break}o=t[n]}return e},o.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.interrupt,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.
2slick",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)},o.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))},o.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>0&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},o.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},o.prototype.destroy=function(t){var o=this;o.autoPlayClear(),o.touchObject={},o.cleanUpEvents(),e(".slick-cloned",o.$slider).detach(),o.options.autoplay&&o.options.useAutoplayToggleButton&&o.$pauseButton.remove(),o.$dots&&o.$dots.remove(),o.$prevArrow&&o.$prevArrow.length&&(o.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").prop("disabled",!1).css("display",""),o.htmlExpr.test(o.options.prevArrow)&&o.$prevArrow.remove()),o.$nextArrow&&o.$nextArrow.length&&(o.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").prop("disabled",!1).css("display",""),o.htmlExpr.test(o.options.nextArrow)&&o.$nextArrow.remove()),o.$slides&&(o.$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"))}),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.detach(),o.$list.detach(),o.$slider.append(o.$slides)),o.cleanUpRows(),o.$slider.removeClass("slick-slider"),o.$slider.removeClass("slick-initialized"),o.$slider.removeClass("slick-dotted"),o.unslicked=!0,t||o.$slider.trigger("destroy",[o])},o.prototype.disableTransition=function(e){var t=this,o={};o[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(o):t.$slides.eq(e).css(o)},o.prototype.fadeSlide=function(e,t){var o=this;!1===o.cssTransitions?(o.$slides.eq(e).css({zIndex:o.options.zIndex}),o.$slides.eq(e).animate({opacity:1},o.options.speed,o.options.easing,t)):(o.applyTransition(e),o.$slides.eq(e).css({opacity:1,zIndex:o.options.zIndex}),t&&setTimeout(function(){o.disableTransition(e),t.call()},o.options.speed))},o.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}))},o.prototype.filterSlides=o.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())},o.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(o){var n=e(this);setTimeout(function(){t.options.pauseOnFocus&&n.is(":focus")&&(t.focussed=!0,t.autoPlay())},0)}).on("blur.slick","*",function(o){e(this),t.options.pauseOnFocus&&(t.focussed=!1,t.autoPlay())})},o.prototype.getCurrent=o.prototype.slickCurrentSlide=function(){return this.currentSlide},o.prototype.getDotCount=function(){var e=this,t=0,o=0,n=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++n;else for(;t<e.slideCount;)++n,t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1},o.prototype.getLeft=function(e){var t,o,n,i,s=this,r=0;return s.slideOffset=0,o=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,i=-1,!0===s.options.vertical&&!0===s.options.centerMode&&(2===s.options.slidesToShow?i=-1.5:1===s.options.slidesToShow&&(i=-2)),r=o*s.options.slidesToShow*i),s.slideCount%s.options.slidesToScroll!==0&&e+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(e>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(e-s.slideCount))*s.slideWidth*-1,r=(s.options.slidesToShow-(e-s.slideCount))*o*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,r=s.slideCount%s.options.slidesToScroll*o*-1))):e+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(e+s.options.slidesToShow-s.slideCount)*s.slideWidth,r=(e+s.options.slidesToShow-s.slideCount)*o),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,r=0),!0===s.options.centerMode&&s.slideCount<=s.options.slidesToShow?s.slideOffset=s.slideWidth*Math.floor(s.options.slidesToShow)/2-s.slideWidth*s.slideCount/2:!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),t=!1===s.options.vertical?e*s.slideWidth*-1+s.slideOffset:e*o*-1+r,!0===s.options.variableWidth&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow),t=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===s.options.centerMode&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow+1),t=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,t+=(s.$list.width()-n.outerWidth())/2)),t},o.prototype.getOption=o.prototype.slickGetOption=function(e){return this.options[e]},o.prototype.getNavigableIndexes=function(){var e,t=this,o=0,n=0,i=[];for(!1===t.options.infinite?e=t.slideCount:(o=-1*t.options.slidesToScroll,n=-1*t.options.slidesToScroll,e=2*t.slideCount);o<e;)i.push(o),o=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return i},o.prototype.getSlick=function(){return this},o.prototype.getSlideCount=function(){var t,o,n,i=this;return n=!0===i.options.centerMode?Math.floor(i.$list.width()/2):0,o=-1*i.swipeLeft+n,!0===i.options.swipeToSlide?(i.$slideTrack.find(".slick-slide").each(function(n,s){var r,a;if(r=e(s).outerWidth(),a=s.offsetLeft,!0!==i.options.centerMode&&(a+=r/2),o<a+r)return t=s,!1}),Math.abs(e(t).attr("data-slick-index")-i.currentSlide)||1):i.options.slidesToScroll},o.prototype.goTo=o.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
vendor: 9,879 bytes, line 2
2parseInt(e)}},t)},o.prototype.init=function(t){var o=this;e(o.$slider).hasClass("slick-initialized")||(e(o.$slider).addClass("slick-initialized"),o.buildRows(),o.buildOut(),o.setProps(),o.startLoad(),o.loadSlider(),o.initializeEvents(),o.updateArrows(),o.updateDots(),o.checkResponsive(!0),o.focusHandler()),t&&o.$slider.trigger("init",[o]),o.options.autoplay&&(o.paused=!1,o.autoPlay()),o.updateSlideVisibility(),null!=o.options.accessibility&&console.warn("accessibility setting is no longer supported."),null!=o.options.focusOnChange&&console.warn("focusOnChange is no longer supported."),null!=o.options.focusOnSelect&&console.warn("focusOnSelect is no longer supported.")},o.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))},o.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))},o.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)))},o.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)},o.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()},o.prototype.lazyLoad=function(){var t,o,n,i=this;function s(t){e("img[data-lazy]",t).each(function(){var t=e(this),o=e(this).attr("data-lazy"),n=e(this).attr("data-srcset"),s=e(this).attr("data-sizes")||i.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){t.animate({opacity:0},100,function(){n&&(t.attr("srcset",n),s&&t.attr("sizes",s)),t.attr("src",o).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),i.$slider.trigger("lazyLoaded",[i,t,o])})},r.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,t,o])},r.src=o})}if(!0===i.options.centerMode?!0===i.options.infinite?n=(o=i.currentSlide+(i.options.slidesToShow/2+1))+i.options.slidesToShow+2:(o=Math.max(0,i.currentSlide-(i.options.slidesToShow/2+1)),n=i.options.slidesToShow/2+1+2+i.currentSlide):(o=i.options.infinite?i.options.slidesToShow+i.currentSlide:i.currentSlide,n=Math.ceil(o+i.options.slidesToShow),!0===i.options.fade&&(o>0&&o--,n<=i.slideCount&&n++)),t=i.$slider.find(".slick-slide").slice(o,n),"anticipated"===i.options.lazyLoad)for(var r=o-1,a=n,l=i.$slider.find(".slick-slide"),c=0;c<i.options.slidesToScroll;c++)r<0&&(r=i.slideCount-1),t=(t=t.add(l.eq(r))).add(l.eq(a)),r--,a++;s(t),i.slideCount<=i.options.slidesToShow?s(i.$slider.find(".slick-slide")):i.currentSlide>=i.slideCount-i.options.slidesToShow?s(i.$slider.find(".slick-cloned").slice(0,i.options.slidesToShow)):0===i.currentSlide&&s(i.$slider.find(".slick-cloned").slice(-1*i.options.slidesToShow))},o.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()},o.prototype.next=o.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},o.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},o.prototype.pause=o.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},o.prototype.play=o.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},o.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())},o.prototype.prev=o.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},o.prototype.preventDefault=function(e){e.preventDefault()},o.prototype.progressiveLazyLoad=function(t){t=t||1;var o,n,i,s,r,a=this,l=e("img[data-lazy]",a.$slider);l.length?(o=l.first(),n=o.attr("data-lazy"),i=o.attr("data-srcset"),s=o.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){i&&(o.attr("srcset",i),s&&o.attr("sizes",s)),o.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,o,n]),a.progressiveLazyLoad()},r.onerror=function(){t<3?setTimeout(function(){a.progressiveLazyLoad(t+1)},500):(o.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,o,n]),a.progressiveLazyLoad())},r.src=n):a.$slider.trigger("allImagesLoaded",[a])},o.prototype.refresh=function(t){var o,n,i=this;n=i.slideCount-i.options.slidesToShow,!i.options.infinite&&i.currentSlide>n&&(i.currentSlide=n),i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0),o=i.currentSlide,i.destroy(!0),e.extend(i,i.initials,{currentSlide:o}),i.init(),t||i.changeSlide({data:{message:"index",index:o}},!1)},o.prototype.registerBreakpoints=function(){var t,o,n,i=this,s=i.options.responsive||null;if("array"===e.type(s)&&s.length){for(t in i.respondTo=i.options.respondTo||"window",s)if(n=i.breakpoints.length-1,s.hasOwnProperty(t)){for(o=s[t].breakpoint;n>=0;)i.breakpoints[n]&&i.breakpoints[n]===o&&i.breakpoints.splice(n,1),n--;i.breakpoints.push(o),i.breakpointSettings[o]=s[t].settings}i.breakpoints.sort(function(e,t){return i.options.mobileFirst?e-t:t-e})}},o.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])},o.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))},o.prototype.removeSlide=o.prototype.slickRemove=function(e,t,o){var n=this;if(e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,n.slideCount<1||e<0||e>n.slideCount-1)return!1;n.unload(),!0===o?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(e).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},o.prototype.setCSS=function(e){var t,o,n=this,i={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",o="top"==n.positionProp?Math.ceil(e)+"px":"0px",i[n.positionProp]=e,!1===n.transformsEnabled?n.$slideTrack.css(i):(i={},!1===n.cssTransitions?(i[n.animType]="translate("+t+", "+o+")",n.$slideTrack.css(i)):(i[n.animType]="translate3d("+t+", "+o+", 0px)",n.$slideTrack.css(i)))},o.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)},o.prototype.setFade=function(){var t,o=this;o.$slides.each(function(n,i){t=o.slideWidth*n*-1,!0===o.options.rtl?e(i).css({position:"relative",right:t,top:0,zIndex:o.options.zIndex-2,opacity:0}
2):e(i).css({position:"relative",left:t,top:0,zIndex:o.options.zIndex-2,opacity:0})}),o.$slides.eq(o.currentSlide).css({zIndex:o.options.zIndex-1,opacity:1})},o.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)}},o.prototype.setOption=o.prototype.slickSetOption=function(){var t,o,n,i,s,r=this,a=!1;if("object"===e.type(arguments[0])?(n=arguments[0],a=arguments[1],s="multiple"):"string"===e.type(arguments[0])&&(n=arguments[0],i=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)r.options[n]=i;else if("multiple"===s)e.each(n,function(e,t){r.options[e]=t});else if("responsive"===s)for(o in i)if("array"!==e.type(r.options.responsive))r.options.responsive=[i[o]];else{for(t=r.options.responsive.length-1;t>=0;)r.options.responsive[t].breakpoint===i[o].breakpoint&&r.options.responsive.splice(t,1),t--;r.options.responsive.push(i[o])}a&&(r.unload(),r.reinit())},o.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])},o.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},o.prototype.setSlideClasses=function(t){var o,n,i,s,r=this;if(n=r.$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)","")}),r.$slides.eq(t).addClass("slick-current"),!0===r.options.centerMode){var a=r.options.slidesToShow%2==0?1:0;o=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(t>=o&&t<=r.slideCount-1-o?r.$slides.slice(t-o+a,t+o+1).addClass("slick-active").removeAttr("aria-hidden"):(i=r.options.slidesToShow+t,n.slice(i-o+1+a,i+o+2).addClass("slick-active").removeAttr("aria-hidden")),0===t?n.eq(r.options.slidesToShow+r.slideCount+1).addClass("slick-center").attr("aria-label",function(){return e(this).attr("aria-label")+" (centered)"}):t===r.slideCount-1&&n.eq(r.options.slidesToShow).addClass("slick-center").attr("aria-label",function(){return e(this).attr("aria-label")+" (centered)"})),r.$slides.eq(t).addClass("slick-center").attr("aria-label",function(){return e(this).attr("aria-label")+" (centered)"})}else t>=0&&t<=r.slideCount-r.options.slidesToShow?r.$slides.slice(t,t+r.options.slidesToShow).addClass("slick-active").removeAttr("aria-hidden"):n.length<=r.options.slidesToShow?n.addClass("slick-active").removeAttr("aria-hidden"):(s=r.slideCount%r.options.slidesToShow,i=!0===r.options.infinite?r.options.slidesToShow+t:t,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-t<r.options.slidesToShow?n.slice(i-(r.options.slidesToShow-s),i+s).addClass("slick-active").removeAttr("aria-hidden"):n.slice(i,i+r.options.slidesToShow).addClass("slick-active").removeAttr("aria-hidden"));"ondemand"!==r.options.lazyLoad&&"anticipated"!==r.options.lazyLoad||r.lazyLoad()},o.prototype.setupInfinite=function(){var t,o,n,i=this;if(!0===i.options.fade&&(i.options.centerMode=!1),!0===i.options.infinite&&!1===i.options.fade&&(o=null,i.slideCount>i.options.slidesToShow)){for(n=!0===i.options.centerMode?i.options.slidesToShow+1:i.options.slidesToShow,t=i.slideCount;t>i.slideCount-n;t-=1)o=t-1,e(i.$slides[o]).clone(!0).attr("id","").attr("data-slick-index",o-i.slideCount).prependTo(i.$slideTrack).addClass("slick-cloned");for(t=0;t<n+i.slideCount;t+=1)o=t,e(i.$slides[o]).clone(!0).attr("id","").attr("data-slick-index",o+i.slideCount).appendTo(i.$slideTrack).addClass("slick-cloned");i.$slideTrack.find(".slick-cloned").find("[id]").each(function(){e(this).attr("id","")})}},o.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},o.prototype.selectHandler=function(t){var o=this,n=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),i=parseInt(n.attr("data-slick-index"));i||(i=0),o.slideCount<=o.options.slidesToShow?o.slideHandler(i,!1,!0):o.slideHandler(i)},o.prototype.slideHandler=function(e,t,o){var n,i,s,r,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),n=e,l=c.getLeft(n),r=c.getLeft(c.
2currentSlide),c.currentLeft=null===c.swipeLeft?r:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==o&&c.slideCount>c.options.slidesToShow?c.animateSlide(r,function(){c.postSlide(n)}):c.postSlide(n));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==o&&c.slideCount>c.options.slidesToShow?c.animateSlide(r,function(){c.postSlide(n)}):c.postSlide(n));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),i=n<0?c.slideCount%c.options.slidesToScroll!==0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!==0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,i]),s=c.currentSlide,c.currentSlide=i,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!==o?(c.fadeSlideOut(s),c.fadeSlide(i,function(){c.postSlide(i)})):c.postSlide(i),void c.animateHeight();!0!==o&&c.slideCount>c.options.slidesToShow?c.animateSlide(l,function(){c.postSlide(i)}):c.postSlide(i)}},o.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")},o.prototype.swipeDirection=function(){var e,t,o,n,i=this;return e=i.touchObject.startX-i.touchObject.curX,t=i.touchObject.startY-i.touchObject.curY,o=Math.atan2(t,e),(n=Math.round(180*o/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?!1===i.options.rtl?"left":"right":n>=135&&n<=225?!1===i.options.rtl?"right":"left":!0===i.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},o.prototype.swipeEnd=function(e){var t,o,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(o=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=o&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,o]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},o.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)}},o.prototype.swipeMove=function(e){var t,o,n,i,s,r,a=this;return s=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!a.dragging||a.scrolling||s&&1!==s.length)&&(t=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==s?s[0].pageX:e.clientX,a.touchObject.curY=void 0!==s?s[0].pageY:e.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&r>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=r),o=a.swipeDirection(),void 0!==e.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,e.preventDefault()),i=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(i=a.touchObject.curY>a.touchObject.startY?1:-1),n=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===o||a.currentSlide>=a.getDotCount()&&"left"===o)&&(n=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=t+n*i:a.swipeLeft=t+n*(a.$list.height()/a.listWidth)*i,!0===a.options.verticalSwiping&&(a.swipeLeft=t+n*i),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},o.prototype.swipeStart=function(e){var t,o=this;if(o.interrupted=!0,1!==o.touchObject.fingerCount||o.slideCount<=o.options.slidesToShow)return o.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),o.touchObject.startX=o.touchObject.curX=void 0!==t?t.pageX:e.clientX,o.touchObject.startY=o.touchObject.curY=void 0!==t?t.pageY:e.clientY,o.dragging=!0},o.prototype.unfilterSlides=o.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())},o.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","")}
2,o.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},o.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)))},o.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())},o.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")},o.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,n=this,i=arguments[0],s=Array.prototype.slice.call(arguments,1),r=n.length;for(e=0;e<r;e++)if("object"==typeof i||void 0===i?n[e].slick=new o(n[e],i):t=n[e].slick[i].apply(n[e].slick,s),void 0!==t)return t;return n}},void 0===(s=n.apply(t,i))||(e.exports=s)}()},528:()=>{!function(e){"use strict";function t(t,o){var n={type:"event",per_page:parseInt(t.data("perpage"),10)||3,paged:o||1,sort:"event_date_asc"},i=t.data("taxonomy-filter"),s=t.data("term-ids");if(i&&s&&"community"!==i){n.filters=n.filters||{};var r={event_type:"event_type",committee:"committee",topics:"topics",designation:"designation"}[i];r&&("string"==typeof s&&s.includes(",")?n.filters[r]=s.split(",").map(function(e){return e.trim()}):Array.isArray(s)?n.filters[r]=s.map(function(e){return e.toString().trim()}):n.filters[r]=[s.toString().trim()])}if("community"===i){var a=t.data("buddyboss-groups");a&&(n.filters=n.filters||{},"string"==typeof a&&a.includes(",")?n.filters.buddyboss_groups=a.split(",").map(function(e){return e.trim()}):Array.isArray(a)?n.filters.buddyboss_groups=a.map(function(e){return e.toString().trim()}):n.filters.buddyboss_groups=[a.toString().trim()])}console.log("Sending request with data:",n);var l=t.find(".upcoming-events-preview__events"),c=t.find(".upcoming-events__pagination"),d=(t.find(".upcoming-events__status"),t.find(".upcoming-events-preview__count"));return t.attr("aria-busy","true"),l.addClass("is-loading"),e.ajax({url:window.location.origin+"/wp-json/aami/v1/listing",method:"GET",data:n,dataType:"json"}).done(function(o){if(o&&o.success){l.html(o.data.items_html||""),c.html(o.data.pagination_html||""),d.html(o.data.status_html||"");var i=t.data("syncurl");if(!0===i||1===i||"1"===i||"true"===i)try{var s=e.param(e.extend({},n,{paged:o.data.current_page})),r=window.location.pathname+"?"+s;history.pushState(n,"",r)}catch(e){console.warn("Could not update URL:",e)}}}).fail(function(e,t,n){console.error("Events pagination error:",n),console.error("Response:",e.responseText),window.location.href=window.location.pathname+"?paged="+(o||1)}).always(function(){t.attr("aria-busy","false"),l.removeClass("is-loading")})}e(function(){e(".upcoming-events-preview").each(function(){var o;(o=e(this)).on("click",".upcoming-events__pagination a, .paging a",function(n){n.preventDefault();var i=e(this),s=parseInt(i.data("page"),10)||1;s&&t(o,s)}),e(window).on("popstate",function(e){if(e.originalEvent&&e.originalEvent.state){var n=e.originalEvent.state.paged||1;t(o,n)}else{var i=new URLSearchParams(window.location.search);n=parseInt(i.get("paged"),10)||1,t(o,n)}}),o.find(".upcoming-events__pagination a.page-numbers, .paging a").each(function(){var t=e(this),o=t.attr("href");if(o&&o.includes("paged=")){var n=o.match(/paged=(\d+)/);n&&n[1]&&(t.attr("data-page",n[1]),t.attr("href","#"))}}),0===o.find(".upcoming-events-preview__events").children().length&&t(o,1)})})}(jQuery)},582:function(e){var t;t=function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}return o.m=e,o.c=t,o.p="",o(0)}([function(e,t){"use strict";e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,o="initial",n=o,i=Date.now(),s="false",r=["button","input","select","textarea"],a=[],l=[16,17,18,91,93],c=[],d={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mou
2se",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},u=!1,p={x:null,y:null},g={2:"touch",3:"touch",4:"mouse"},f=!1;try{var h=Object.defineProperty({},"passive",{get:function(){f=!0}});window.addEventListener("test",null,h)}catch(e){}var m,b=function(){if(s=!(e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(o=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(n=window.sessionStorage.getItem("what-intent"))}catch(e){}y("input"),y("intent")},v=function(e){var t=e.which,i=d[e.type];"pointer"===i&&(i=_(e));var s=!c.length&&-1===l.indexOf(t),a=c.length&&-1!==c.indexOf(t),u="keyboard"===i&&t&&(s||a)||"mouse"===i||"touch"===i;if(A(i)&&(u=!1),u&&o!==i&&(x("input",o=i),y("input")),u&&n!==i){var p=document.activeElement;p&&p.nodeName&&(-1===r.indexOf(p.nodeName.toLowerCase())||"button"===p.nodeName.toLowerCase()&&!$(p,"form"))&&(x("intent",n=i),y("intent"))}},y=function(t){e.setAttribute("data-what"+t,"input"===t?o:n),C(t)},w=function(e){var t=d[e.type];"pointer"===t&&(t=_(e)),E(e),(!u&&!A(t)||u&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&n!==t&&(x("intent",n=t),y("intent"))},k=function(o){o.target.nodeName?(t=o.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),o.target.classList&&o.target.classList.length&&e.setAttribute("data-whatclasses",o.target.classList.toString().replace(" ",","))):S()},S=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},x=function(e,t){if(s)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},_=function(e){return"number"==typeof e.pointerType?g[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},A=function(e){var t=Date.now(),n="mouse"===e&&"touch"===o&&t-i<200;return i=t,n},T=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},C=function(e){for(var t=0,i=a.length;t<i;t++)a[t].type===e&&a[t].fn.call(void 0,"input"===e?o:n)},E=function(e){p.x!==e.screenX||p.y!==e.screenY?(u=!1,p.x=e.screenX,p.y=e.screenY):u=!0},$=function(e,t){var o=window.Element.prototype;if(o.matches||(o.matches=o.msMatchesSelector||o.webkitMatchesSelector),o.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(d[T()]="mouse",m=!!f&&{passive:!0},document.addEventListener("DOMContentLoaded",b),window.PointerEvent?(window.addEventListener("pointerdown",v),window.addEventListener("pointermove",w)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",v),window.addEventListener("MSPointerMove",w)):(window.addEventListener("mousedown",v),window.addEventListener("mousemove",w),"ontouchstart"in window&&(window.addEventListener("touchstart",v,m),window.addEventListener("touchend",v))),window.addEventListener(T(),w,m),window.addEventListener("keydown",v),window.addEventListener("keyup",v),window.addEventListener("focusin",k),window.addEventListener("focusout",S)),{ask:function(e){return"intent"===e?n:o},element:function(){return t},ignoreKeys:function(e){l=e},specificKeys:function(e){c=e},registerOnChange:function(e,t){a.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,o=a.length;t<o;t++)if(a[t].fn===e)return t}(e);(t||0===t)&&a.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},e.exports=t()},669:e=>{"use strict";e.exports=jQuery}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,o),s.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=o(669),t=o.n(e);o(125),o(582);const n="data-breadcrumb-truncated";function i(e){return Boolean(e&&!/\s/.test(e))}function s(e,t){for(let o=Math.min(t,e.length);o>=1;o-=1)if(!/\s/.test(e[o-1])&&(o===e.length||/\s/.test(e[o])))return o;return 0}function r(e=!1){const t=e,o=".generic-table__table-sortable",n=".generic-table__cell-header",i=".generic-table__cell-body",s=".generic-table__cell-content",r=".generic-table",a="--table-overflow",l="--table-shadow";function c(e,t){const o=e.querySelectorAll(n);
20!==o.length&&(o.forEach((o,n)=>{o.setAttribute("aria-label",g(p(o),"none")),o.addEventListener("click",i=>{i.preventDefault(),d(e,n,o,t)}),o.addEventListener("keydown",i=>{"Enter"!==i.key&&" "!==i.key||(i.preventDefault(),d(e,n,o,t))})}),e.dataset.gtInit="1")}function d(e,o,s,r){let a="ascending"===(s.getAttribute("aria-sort")||"none")?"descending":"ascending";e.querySelectorAll(n).forEach(e=>e.setAttribute("aria-sort","none")),s.setAttribute("aria-sort",a);const l=p(s);s.setAttribute("aria-label",g(l,a));const c=e.querySelector(".generic-table__body");if(!c)return;const d=Array.from(c.querySelectorAll(".generic-table__row-body"));d.sort((e,t)=>{const n=e.querySelectorAll(i)[o],s=t.querySelectorAll(i)[o],r=u(n),l=u(s),c=parseFloat(r),d=parseFloat(l);let p;return p=Number.isNaN(c)||Number.isNaN(d)?r.localeCompare(l,void 0,{numeric:!0,sensitivity:"base"}):c-d,"descending"===a?-p:p}),c.replaceChildren(...d);const f=function(e,t){const o=(window.genericTableConfig||{}).sortableStrings||{};return`${e} ${"ascending"===t?o.sortedAscending||"Sorted ascending":o.sortedDescending||"Sorted descending"}`}(l,a);r&&(r.textContent=f),s.focus(),t&&console.log(`[GenericTable] Sorted "${l}" ${a}`)}function u(e){if(!e)return"";const t=e.querySelector(s);return(t?t.textContent:e.textContent||"").trim().replace(/[$,]/g,"")}function p(e){const t=e.querySelector(s);return(t?t.textContent:e.textContent||"").trim()}function g(e,t){const o=(window.genericTableConfig||{}).sortableStrings||{};return"ascending"===t?`${e}, ${o.sortDescending||"Click to sort descending"}`:`${e}, ${o.sortAscending||"Click to sort ascending"}`}function f(){document.querySelectorAll(r).forEach(e=>{if("1"===e.dataset.gtOverflowInit)return;const o=e.querySelector(".generic-table__wrapper"),n=o?.querySelector("table");if(!o||!n)return;let i={overflow:null,shadow:null},s=null;const r=()=>{const s=!(window.innerWidth>=650)&&n.scrollWidth>o.clientWidth+1,r=s&&!(o.scrollLeft+o.clientWidth>=o.scrollWidth-1);s!==i.overflow&&(i.overflow=s,s?e.classList.add(a):(e.classList.remove(a),e.classList.remove(l)),t&&console.log("[GenericTable] overflow",s?"ON":"OFF",e)),s&&r!==i.shadow&&(i.shadow=r,r?e.classList.add(l):e.classList.remove(l),t&&console.log("[GenericTable] shadow",r?"ON":"OFF",e))};o.addEventListener("scroll",()=>{s||(s=requestAnimationFrame(()=>{s=null,r()}))},{passive:!0}),r(),e.dataset.gtOverflowInit="1",e._gtOverflowUpdate=r})}function h(){document.querySelectorAll(`.generic-table__table ${n}`).forEach(e=>{e.hasAttribute("tabindex")||e.setAttribute("tabindex","0")}),document.querySelectorAll(".generic-table__table").forEach(e=>{e.addEventListener("keydown",e=>{const t=e.target;if(!(t instanceof HTMLElement&&t.classList.contains("generic-table__cell-header")))return;let o;if("ArrowLeft"===e.key)for(e.preventDefault(),o=t.previousElementSibling;o&&!o.classList.contains("generic-table__cell-header");)o=o.previousElementSibling;else if("ArrowRight"===e.key)for(e.preventDefault(),o=t.nextElementSibling;o&&!o.classList.contains("generic-table__cell-header");)o=o.nextElementSibling;else if("Home"===e.key)e.preventDefault(),o=t.parentElement?.querySelector(n);else if("End"===e.key){e.preventDefault();const i=t.parentElement?.querySelectorAll(n);i&&i.length&&(o=i[i.length-1])}o instanceof HTMLElement&&o.focus()})})}t&&console.log("[GenericTable] Init"),document.querySelectorAll(o).forEach(e=>{const t=e.getAttribute("id");c(e,t?document.getElementById(`${t}-sort-status`):null)}),f(),function(){const e=function(e){let t;return function(...o){clearTimeout(t),t=setTimeout(()=>e.apply(this,o),250)}}(()=>{t&&console.log("[GenericTable] resize"),document.querySelectorAll(r).forEach(e=>{"function"==typeof e._gtOverflowUpdate&&e._gtOverflowUpdate()})});window.addEventListener("resize",e)}(),h(),new MutationObserver(e=>{let n=!1;for(const t of e)t.addedNodes.forEach(e=>{e instanceof HTMLElement&&(e.matches?.(`${r}, ${o}`)||e.querySelector?.(r)||e.querySelector?.(o))&&(n=!0)});n&&(t&&console.log("[GenericTable] Detected new table(s), re-init"),document.querySelectorAll(o).forEach(e=>{if("1"===e.dataset.gtInit)return;const t=e.getAttribute("id");c(e,t?document.getElementById(`${t}-sort-status`):null)}),f(),h())}).observe(document.documentElement,{subtree:!0,childList:!0})}o(528),window.$=t(),document.addEventListener("DOMContentLoaded",()=>{document.body.classList.add("document-ready"),function(){const e=document.querySelectorAll(".bb-yoast-breadcrumbs .breadcrumbs__list-item.--current-page");
2e.length&&e.forEach(e=>{if("1"===e.getAttribute(n))return;const t=e.textContent.replace(/\s+/g," ").trim();if(!t)return;const o=function(e,t=20,o=30){const n=e.replace(/\s+/g," ").trim(),r=n.length;if(r<=t)return n;let a=t;if(a<r&&i(n[a-1])&&i(n[a]))for(;a<r&&i(n[a]);)a+=1;return a>o&&(a=s(n,o),0===a&&(a=s(n,t))),0===a||a>=r?n:`${n.slice(0,a).trimEnd()}â¦`}(t,20,30);e.setAttribute(n,"1"),e.setAttribute("data-breadcrumb-full-title",t),o!==t&&(e.setAttribute("title",t),e.textContent=o)})}(),function(e=!1){const t=e,o={selectors:{triggers:["#mega-menu-trigger-desktop","#mega-menu-trigger-mobile"],menu:"#mega-menu",closeBtn:"[data-close-menu]",backdrop:".mega-menu__backdrop",focusableElements:'a, button, input, textarea, select, [tabindex]:not([tabindex="-1"])',headerElement:"#masthead"},classes:{menuOpen:"mega-menu--open",bodyMenuOpen:"--mega-menu-opened",hamburgerActive:"hamburger-btn--active"},keys:{escape:27,tab:9}},n=o.selectors.triggers.map(e=>document.querySelector(e)).filter(Boolean),i=document.querySelector(o.selectors.menu),s=document.querySelector(o.selectors.closeBtn),r=document.querySelector(o.selectors.backdrop);if(!n.length||!i)return void(t&&console.warn("[Mega-Menu] triggers or menu not found."));let a=!1,l=[],c=null,d=0,u="0px";function p(e){e.preventDefault(),e.stopPropagation(),a?f():(e.currentTarget,a||(c=document.activeElement,l=Array.from(i.querySelectorAll(o.selectors.focusableElements)).filter(e=>!e.disabled&&!e.hidden),i.classList.add(o.classes.menuOpen),document.body.classList.add(o.classes.bodyMenuOpen),n.forEach(e=>e.classList.add(o.classes.hamburgerActive)),n.forEach(e=>e.setAttribute("aria-expanded","true")),i.setAttribute("aria-hidden","false"),setTimeout(()=>{l.length>0&&l[0].focus()},100),d=window.scrollY,u=getComputedStyle(document.documentElement).marginTop,document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden",document.body.style.position="relative",t&&console.log("[[Mega-Menu] Scroll locked with overflow: hidden"),a=!0,t&&console.log("[Mega-Menu] Mega Menu opened")))}function g(e){32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),p(e))}function f(){a&&(i.classList.remove(o.classes.menuOpen),document.body.classList.remove(o.classes.bodyMenuOpen),n.forEach(e=>e.classList.remove(o.classes.hamburgerActive)),n.forEach(e=>e.setAttribute("aria-expanded","false")),i.setAttribute("aria-hidden","true"),c&&c.focus?c.focus():n[0].focus(),function(){document.documentElement.style.overflow="",document.body.style.overflow="",document.body.style.position="",d&&window.scrollTo(0,d);const e=document.querySelector(o.selectors.headerElement);e&&(e.classList.remove("has-scrolled"),e.style.top="",t&&console.log("[Mega-Menu] Removed has-scrolled + cleared top from header"))}(),a=!1,t&&console.log("[Mega-Menu] Mega Menu closed"))}n.forEach(e=>{e.addEventListener("click",p),e.addEventListener("keydown",g)}),s&&s.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),f()}),r&&r.addEventListener("click",function(e){e.target===r&&f()}),document.addEventListener("keydown",function(e){a&&(e.keyCode===o.keys.escape?(e.preventDefault(),f()):e.keyCode===o.keys.tab&&function(e){if(0===l.length)return;const t=l[0],o=l[l.length-1];e.shiftKey&&document.activeElement===t?(e.preventDefault(),o.focus()):e.shiftKey||document.activeElement!==o||(e.preventDefault(),t.focus())}(e))}),window.addEventListener("resize",function(){a&&f()}),t&&console.log("[Mega-Menu] Mega Menu Initialized")}(),function(e=!1){const t=e,o="#mega-menu-trigger-mobile",n="#mega-menu",i="[data-close-menu]",s=".mega-menu__backdrop",r='a, button, input, textarea, select, [tabindex]:not([tabindex="-1"])',a="a.mega-menu__main-link.--has-children, a.mega-menu__sub-link.--has-children",l=".mega-menu__section-title",c="#mega-menu-element-swap-origin",d="#mega-menu-element-swap-dest",u=".site-header > .header-search-wrap",p=".search-field-top",g="mega-menu--open",f="--mega-menu-opened",h="hamburger-btn--active",m="--is-expanded",b=27,v=9,y=856,w=document.querySelector(o),k=document.querySelector(n),S=document.querySelector(i),x=document.querySelector(s);if(!w||!k)return void(t&&console.warn("AAMI Mega Menu: trigger or menu not found."));let _=!1,A=[],T=null;const C=document.querySelector(c),E=document.querySelector(d),$=document.querySelector(u),L=$?.querySelector(p),q=document.querySelector(".mega-menu__membership-button"),M=document.querySelector("header#masthead");function P(e){e.preventDefault(),e.stopPropagation(),_?O():_||(T=document.activeElement,A=Array.from(k.querySelectorAll(r)).filter(e=>!e.disabled&&!e.hidden),k.classList.add(g),document.body.classList.add(f),w.classList.add(h),w.setAttribute("aria-expanded","true"),k.setAttribute("aria-hidden","false"),setTimeout(()=>{A.length>0&&A[0].focus()},100),_=!0,window.innerWidth<=y&&q&&M&&q.parentElement!==document.body&&(M.insertAdjacentElement("afterend",q),t&&console.log("[MegaMenu] Moved membershipButton â after <header#masthead>")),t&&console.log("AAMI Mega Menu opened"))}function O(){_&&(k.classList.remove(g),document.body.classList.remove(f),w.classList.remove(h),w.setAttribute("aria-expanded","fal
2se"),k.setAttribute("aria-hidden","true"),T&&T.focus?T.focus():w.focus(),_=!1,q&&q.__originalParent&&q.parentElement!==q.__originalParent&&(q.__nextSibling?q.__originalParent.insertBefore(q,q.__nextSibling):q.__originalParent.appendChild(q),t&&console.log("[MegaMenu] Restored membershipButton â original location")),t&&console.log("AAMI Mega Menu closed"))}function I(e,t=!1){const o=e.parentElement,n=o.querySelector("ul"),i="true"===e.getAttribute("aria-expanded");if(e.setAttribute("aria-expanded",String(!i)),o.classList.toggle(m,!i),n&&(n.hidden=i),t){const t=e.querySelector('i[data-feather="chevron-down"]');t&&t.classList.toggle("rotated",!i)}}function H(){const e=window.innerWidth<=y,o=document.body.classList.contains(f);if(C&&E&&C.__originalParent){if(e){E.contains(C)||(E.appendChild(C),t&&console.log("[MegaMenu] Moved swapOrigin â swapDest")),$&&$.parentElement!==E.parentElement&&(E.insertAdjacentElement("afterend",$),t&&console.log("[MegaMenu] Moved headerSearchWrap â after swapDest"));const e=document.querySelector(".bb-mobile-panel-wrapper");if(e&&!document.querySelector(".site-header--bb-clone")){const o=e.cloneNode(!0),n=document.createElement("div");n.classList.add("site-header","site-header--bb","site-header--bb-clone"),n.appendChild(o),E.insertAdjacentElement("afterend",n),t&&console.log("[MegaMenu] Injected cloned .bb-mobile-panel-wrapper into new .site-header--bb container")}if(L&&(L.placeholder="Search all of AAMI"),L&&!$.querySelector(".button--primary.--dark")){const e=document.createElement("input");e.type="submit",e.className="button--primary --dark",e.value="Search",e.style.opacity="0",e.style.transition="opacity 0.3s ease",e.style.pointerEvents="none",L.insertAdjacentElement("afterend",e),L.addEventListener("input",()=>{const t=L.value.trim().length>0;e.style.opacity=t?"1":"0",e.style.pointerEvents=t?"auto":"none"})}q&&M&&q.parentElement!==document.body&&o&&(M.insertAdjacentElement("afterend",q),t&&console.log("[MegaMenu] Moved membershipButton â after <header#masthead> (menu open)"))}else{C.parentElement!==C.__originalParent&&(C.__nextSibling?C.__originalParent.insertBefore(C,C.__nextSibling):C.__originalParent.appendChild(C),t&&console.log("[MegaMenu] Restored swapOrigin â original location")),$&&$.__originalParent&&$.parentElement!==$.__originalParent&&($.__nextSibling?$.__originalParent.insertBefore($,$.__nextSibling):$.__originalParent.appendChild($),t&&console.log("[MegaMenu] Restored headerSearchWrap â original location")),L&&"string"==typeof $.__originalPlaceholder&&(L.placeholder=$.__originalPlaceholder);const e=document.querySelector(".site-header--bb-clone");e&&(e.remove(),t&&console.log("[MegaMenu] Removed cloned .site-header--bb wrapper"))}q&&q.__originalParent&&q.parentElement!==q.__originalParent&&!o&&(q.__nextSibling?q.__originalParent.insertBefore(q,q.__nextSibling):q.__originalParent.appendChild(q),t&&console.log("[MegaMenu] Restored membershipButton â original location"))}else t&&console.warn("[MegaMenu] Missing swapOrigin/swapDest/parent references.")}C&&!C.__originalParent&&(C.__originalParent=C.parentElement,C.__nextSibling=C.nextElementSibling),$&&!$.__originalParent&&($.__originalParent=$.parentElement,$.__nextSibling=$.nextElementSibling,$.__originalPlaceholder=L?.placeholder||""),q&&!q.__originalParent&&(q.__originalParent=q.parentElement,q.__nextSibling=q.nextElementSibling),w.addEventListener("click",P),w.addEventListener("keydown",function(e){32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),P(e))}),S&&S.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),O()}),x&&x.addEventListener("click",function(e){e.target===x&&O()}),document.addEventListener("keydown",function(e){_&&(e.keyCode===b?(e.preventDefault(),O()):e.keyCode===v&&function(e){if(0===A.length)return;const t=A[0],o=A[A.length-1];e.shiftKey&&document.activeElement===t?(e.preventDefault(),o.focus()):e.shiftKey||document.activeElement!==o||(e.preventDefault(),t.focus())}(e))}),window.addEventListener("resize",function(){_&&O(),H()}),document.querySelectorAll(a).forEach(e=>{if(e.setAttribute("role","button"),e.setAttribute("aria-expanded","fal
2se"),e.setAttribute("tabindex","0"),e.classList.contains("mega-menu__sub-link")){const t=document.createElement("i");t.setAttribute("data-feather","chevron-down"),e.insertBefore(t,e.firstChild)}let t=!1;e.addEventListener("click",o=>{t||(o.preventDefault(),t=!0,I(e,!0),setTimeout(()=>{t=!1},500))}),e.addEventListener("keydown",t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),I(e,!0))})}),feather.replace(),document.querySelectorAll(l).forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();const o=e.closest(".mega-menu__section").classList.toggle(m),n=e.querySelector(".feather-plus, .feather-minus");n&&(n.outerHTML=`<i data-feather="${o?"minus":"plus"}"></i>`,feather.replace())})}),H(),t&&console.log("AAMI Mega Menu initialized")}(),function(){const e=document.querySelector(".bb-single-main-nav");if(!e)return;const t=document.querySelector(".bp-user"),o=document.querySelector("body.groups"),n=document.createElement("button");if(n.classList.add("main-navs--toggle"),t){const t=e.querySelector(".bp-personal-tab.current.selected .bb-single-nav-item-point");t&&(n.textContent=t.textContent,n.setAttribute("aria-expanded","false"),n.setAttribute("aria-haspopup","true")),n.addEventListener("click",()=>{"true"===n.getAttribute("aria-expanded")?n.setAttribute("aria-expanded","false"):n.setAttribute("aria-expanded","true")}),setTimeout(()=>{const e=document.createElement("div");e.classList.add("nav-label"),document.querySelector(".my-account")?e.textContent="Navigate your profile":e.textContent="Navigate Profile";const t=document.querySelector(".main-navs--toggle");t&&t.parentNode&&t.parentNode.insertBefore(e,t)},0),e.before(n)}else if(o){const t=e.querySelector(".bp-groups-tab.current.selected .bb-single-nav-item-point");t&&(n.textContent=t.textContent,n.setAttribute("aria-expanded","false"),n.setAttribute("aria-haspopup","true")),n.addEventListener("click",()=>{"true"===n.getAttribute("aria-expanded")?n.setAttribute("aria-expanded","false"):n.setAttribute("aria-expanded","true")}),setTimeout(()=>{const e=document.createElement("div");e.classList.add("nav-label"),e.textContent="Navigate Group";const t=document.querySelector(".main-navs--toggle");t&&t.parentNode&&t.parentNode.insertBefore(e,t)},0),e.before(n)}}(),function(){const e=document.querySelector(".groups-type-navs");if(!e)return;const t=document.createElement("button");t.classList.add("main-navs--toggle");const o=e.querySelector(".selected .bb-component-nav-item-point");o&&(t.textContent=o.textContent,t.setAttribute("aria-expanded","false"),t.setAttribute("aria-haspopup","true")),t.addEventListener("click",()=>{"true"===t.getAttribute("aria-expanded")?t.setAttribute("aria-expanded","false"):t.setAttribute("aria-expanded","true")}),setTimeout(()=>{const e=document.createElement("div");e.classList.add("nav-label"),e.textContent="Navigate Communities";const t=document.querySelector(".main-navs--toggle");t&&t.parentNode&&t.parentNode.insertBefore(e,t)},0),e.before(t)}(),function(e=!1){const t=e;document.body.classList.contains("logged-in")?(function(e){const t=document.querySelector("#site-navigation #primary-menu"),o=t?.querySelector(".menu-item.bp-notifications-nav"),n=document.querySelector("#header-aside");if(!t||!o||!n)return void(e&&console.log("Required desktop elements not found.",{primaryMenu:t,notificationMenuItem:o,headerAside:n}));const i=n.querySelector("#header-notifications-dropdown-elem");if(!i)return void(e&&console.log("Notification element not found in header-aside."));const s=i.cloneNode(!0),r=s.querySelector("a.notification-link");if(r){r.innerHTML="";const e=document.createElement("i");e.setAttribute("data-feather","bell");const t=i.querySelector(".count")?.textContent||"",o=document.createElement("span");o.className="count",o.textContent=t,r.appendChild(e),r.appendChild(o)}const a=document.createElement("div");a.id="header-aside",a.className="header-aside";const l=document.createElement("div");l.className="header-aside-inner",l.appendChild(s),a.appendChild(l),o.innerHTML="",o.appendChild(a),requestAnimationFrame(()=>{window.feather?.replace&&feather.replace()});const c=s.querySelector(".count"),d=s.querySelector("ul.notification-list");d&&c&&new MutationObserver(()=>{const t=d.querySelectorAll("li.unread");t.length>0?(c.textContent=t.length,c.style.display=""):c.remove(),e&&console.log("Updated moved count:",t.length)}).observe(d,{childList:!0,subtree:!0})}(t),function(e){e&&console.log("[Mobile] Starting mobile notification relocation");const t=document.querySelector(".bb-mobile-panel-wrapper"),o=document.querySelector(".bb-mobile-header");e&&(console.log("[Mobile] mobileNav:",t),console.log("[Mobile] mobileHeader:",o));const n=t?.querySelector(".bp-menu.bp-notifications-nav"),i=o?.querySelector("#header-notifications-dropdown-elem-mobile");if(e&&(console.log("[Mobile] mobileNotificationMenuItem:",n),console.log("[Mobile] mobileHeaderNotification:",i)),!(t&&o&&n&&i))return void(e&&console.log("[Mobile] One or more required mobile elements not found.",{mobileNav:t,mobileHeader:o,mobileNotificationMenuItem:n,mobileHeaderNotification:i}));
2const s=i.cloneNode(!0);e&&console.log("[Mobile] Cloned mobile notification element:",s);const r=s.querySelector("a.notification-link");if(e&&console.log("[Mobile] Anchor element:",r),r){r.innerHTML="";const t=document.createElement("i");t.setAttribute("data-feather","bell"),e&&console.log("[Mobile] Created bell icon:",t);const o=i.querySelector(".count")?.textContent||"";e&&console.log("[Mobile] Count text:",o);const n=document.createElement("span");n.className="count",n.textContent=o,e&&console.log("[Mobile] Created count span:",n),r.appendChild(t),r.appendChild(n),e&&console.log("[Mobile] Anchor after updates:",r)}n.innerHTML="",n.appendChild(s),e&&console.log("[Mobile] Replaced mobile notification menu item"),i.remove(),e&&console.log("[Mobile] Removed original mobile notification element"),window.feather?.replace&&(feather.replace(),e&&console.log("[Mobile] Feather icons replaced"))}(t)):t&&console.log("Not logged in; skipping Notifications replacement.")}(),function(e=!1){const t=e,o=document.querySelectorAll(".accordion");function n(e,o){const n=document.getElementById(e.getAttribute("aria-controls")),i="true"===e.getAttribute("aria-expanded");o.forEach(function(t){if(t!==e){const e=document.getElementById(t.getAttribute("aria-controls"));t.setAttribute("aria-expanded","false"),t.classList.remove("accordion__button--expanded"),t.setAttribute("tabindex","-1"),e&&(e.hidden=!0,e.style.removeProperty("max-height"))}}),i?(e.setAttribute("aria-expanded","false"),e.classList.remove("accordion__button--expanded"),e.setAttribute("tabindex","-1"),n.hidden=!0,n.style.removeProperty("max-height"),o[0].setAttribute("tabindex","0"),t&&console.log("Accordion item closed:",e)):(e.setAttribute("aria-expanded","true"),e.classList.add("accordion__button--expanded"),e.setAttribute("tabindex","0"),n.hidden=!1,n.style.removeProperty("max-height"),e.focus(),setTimeout(()=>{e.scrollIntoView({behavior:"smooth",block:"nearest"})},100),t&&console.log("Accordion item opened:",e));const s=e.closest(".accordion"),r=s.querySelector(".accordion__expand-all");r&&function(e,o){const n=Array.from(o).filter(e=>"true"===e.getAttribute("aria-expanded")).length,i=e.querySelector(".accordion__expand-text"),s=e.getAttribute("data-original-text"),r=e.getAttribute("data-toggle-text"),a=n===o.length&&n>0;e.setAttribute("aria-expanded",String(a)),i.textContent=a?r:s,e.setAttribute("aria-label",a?"Collapse all accordion items":"Expand all accordion items"),t&&console.log("Expand All Button state updated:",a?"collapse all":"expand all")}(r,o),void 0!==window.customAnalytics&&window.customAnalytics.track(i?"accordion_item_closed":"accordion_item_opened",{block_id:s.id,item_title:e.querySelector(".accordion__button-text")?.textContent.trim()||"",item_index:Array.from(o).indexOf(e)})}function i(e,t){e.setAttribute("tabindex","-1"),t.setAttribute("tabindex","0"),t.focus()}o.length?(t&&console.log(`Found ${o.length} accordion block(s)`),o.forEach(function(e){t&&console.log("Initializing accordion block:",e),function(e){const o=e.querySelectorAll(".accordion__button"),s=e.querySelector(".accordion__expand-all");o.forEach(e=>{const t=document.getElementById(e.getAttribute("aria-controls"));t&&t.style.removeProperty("max-height")}),o.forEach(function(e,t){e.addEventListener("click",function(){n(this,o)}),e.addEventListener("keydown",function(e){!function(e,t){const o=Array.from(t).indexOf(e.target);let s;switch(e.key){case"ArrowDown":case"ArrowRight":e.preventDefault(),s=(o+1)%t.length,i(t[o],t[s]);break;case"ArrowUp":case"ArrowLeft":e.preventDefault(),s=(o-1+t.length)%t.length,i(t[o],t[s]);break;case"Home":e.preventDefault(),i(t[o],t[0]);break;case"End":e.preventDefault(),i(t[o],t[t.length-1]);break;case"Enter":case" ":e.preventDefault(),n(e.target,t)}}(e,o)}),e.setAttribute("tabindex",0===t?"0":"-1")}),s&&s.addEventListener("click",function(){!function(e,o){const n="true"===e.getAttribute("aria-expanded"),i=e.querySelector(".accordion__expand-text"),s=e.getAttribute("data-original-text"),r=e.getAttribute("data-toggle-text");o.forEach(function(e,t){const o=document.getElementById(e.getAttribute("aria-controls"));e.setAttribute("aria-expanded",String(!n)),e.classList.toggle("accordion__button--expanded",!n),e.setAttribute("tabindex",n||0!==t?"-1":"0"),o.hidden=n,o.style.removeProperty("max-height")}),e.setAttribute("aria-expanded",String(!n)),i.textContent=n?s:r,e.setAttribute("aria-label",n?"Expand all accordion items":"Collapse all accordion items"),t&&console.log(n?"Collapsed all accordions":"Expanded all accordions");const a=e.closest(".accordion");void 0!==window.customAnalytics&&window.customAnalytics.track(n?"accordion_collapse_all":"accordion_expand_all",{block_id:a.id,item_count:o.length})}(this,o)})}(e)}),"IntersectionObserver"in window&&o.forEach(function(e){const t=new IntersectionObserver(function(o){o.forEach(function(o){if
2(o.isIntersecting&&!e.dataset.viewed){if(e.dataset.viewed="true",void 0!==window.customAnalytics){const t=e.querySelector(".accordion__heading"),o=e.querySelectorAll(".accordion__button").length;window.customAnalytics.track("accordion_view",{block_id:e.id,heading:t?t.textContent.trim():"",item_count:o})}t.unobserve(o.target)}})},{threshold:.5});t.observe(e)}),t&&console.log("Accordion blocks initialized")):t&&console.log("No accordion blocks found. Exiting.")}(),function(e=!1){const t=e,o=document.querySelectorAll(".community-promo");function n(e,o){void 0!==window.customAnalytics&&window.customAnalytics.track(e,o),"undefined"!=typeof console&&console.log&&t&&console.log("Community Promo Event:",e,o);const n=new CustomEvent("communityPromoEvent",{detail:{eventName:e,eventData:o}});document.dispatchEvent(n)}0!==o.length?(o.forEach(function(e){!function(e){const o=e.querySelector(".community-promo__button"),i=e.querySelector(".community-promo__image"),s=function(e){const t=e.id,o=e.querySelector(".community-promo__online-status"),n=e.querySelector(".community-promo__heading");return{blockId:t,showOnlineMembers:!!o,onlineCount:o?parseInt(o.dataset.onlineCount||"0"):0,showOnlineCount:!!o,heading:n?n.textContent.trim():""}}(e);o&&function(e,t){e.addEventListener("click",function(e){const o=this.textContent.trim(),i=this.getAttribute("href");n("community_promo_click",{block_id:t.blockId,heading:t.heading,button_text:o,button_url:i,has_online_status:t.showOnlineCount,online_count:t.onlineCount}),"undefined"!=typeof gtag&>ag("event","click",{event_category:"Community Promo",event_label:t.heading,custom_map:{dimension1:"community_engagement"}})})}(o,s),i&&function(e,t){e.addEventListener("click",function(){n("community_promo_image_click",{block_id:t.blockId,heading:t.heading})})}(i,s),function(e,t){if(!("IntersectionObserver"in window))return;const o=new IntersectionObserver(function(i){i.forEach(function(i){i.isIntersecting&&!e.dataset.viewed&&(e.dataset.viewed="true",n("community_promo_view",{block_id:t.blockId,heading:t.heading,has_online_status:t.showOnlineCount,online_count:t.onlineCount}),o.unobserve(i.target))})},{threshold:.5,rootMargin:"0px 0px -100px 0px"});o.observe(e)}(e,s),function(e){const t=e.querySelector(".community-promo__button");t&&t.addEventListener("keydown",function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.click())})}(e),s.showOnlineMembers&&function(e,o){e.querySelector(".community-promo__online-status")&&(n("community_promo_online_status_shown",{block_id:o.blockId,heading:o.heading,online_count:o.onlineCount}),"undefined"!=typeof console&&console.log&&t&&console.log("Community Promo: Online status displayed with",o.onlineCount,"members"))}(e,s)}(e)}),"IntersectionObserver"in window&&document.querySelectorAll(".community-promo").forEach(function(e){const t=new IntersectionObserver(function(o){o.forEach(function(o){if(o.isIntersecting&&!e.dataset.analyticsViewed){e.dataset.analyticsViewed="true";const n=e.querySelector(".community-promo__heading"),i=e.querySelector(".community-promo__online-status"),s=i?parseInt(i.dataset.onlineCount||"0"):0;void 0!==window.customAnalytics&&window.customAnalytics.track("community_promo_view",{block_id:e.id,heading:n?n.textContent.trim():"",has_online_status:!!i,online_count:s}),t.unobserve(o.target)}})},{threshold:.5});t.observe(e)}),t&&console.log("Community Promo blocks initialized")):t&&console.log("No community promo blocks found. Aborting.")}(),function(e=!1){const t=e,o=(...e)=>t&&console.log("[Feedback]",...e),n=(...e)=>t&&console.error("[Feedback]",...e),i=document.querySelectorAll(".feedback");function s(e,t,o,i,a,c,d){if(!t)return;c[e]?.signal?.aborted&&(c[e]=new AbortController);const u=c[e];t.addEventListener("click",p=>{try{p.preventDefault(),[t,o].filter(Boolean).forEach(e=>{e.classList.add("button--quaternary","--dark"),e.classList.remove("button--primary")});const n=r({clicked:t,block:i,wrap:a,index:d});if(n){const t=n.querySelector(".feedback__right-confirm-message"),o=n.getAttribute("data-btn-left-msg")||n.dataset?.btnLeftMsg||"",i=n.getAttribute("data-btn-right-msg")||n.dataset?.btnRightMsg||"";t&&(t.textContent="yes"===e?o:i),n.classList.add("--visible"),n.setAttribute("aria-hidden","false")}const g=i.querySelector(".js-form-container-show, .js-form-container-show-trigger");if(g)g.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0}));else{const e=l(t,i)||i.querySelector(".js-form-container-show-target")||(i.querySelector(".feedback__form-column")?.classList.contains("js-form-container-show-target")?i.querySelector(".feedback__form-column"):null);e&&(e.classList.add("--visible"),e.setAttribute("aria-hidden","false"))}t.setAttribute("aria-pressed","true"),t.disabled=!0,u.abort(),o&&(o.disabled=!1,o.setAttribute("aria-pressed","fal
2se"),s("yes"===e?"no":"yes",o,t,i,a,c,d))}catch(e){n(`block[${d}] click handler error:`,e)}},{signal:u.signal,once:!0})}function r({clicked:e,block:t,wrap:o,index:n}){const i=e=>e&&(e.getAttribute?.("data-target-id")||e.getAttribute?.("data-target")||e.dataset?.targetId||e.dataset?.target)||null;let s=i(e)||i(o)||i(t);if(s){const e=String(s).replace(/^#/,"");return t.querySelector("#"+e)||document.getElementById(e)}const r=t.querySelector("#js-feedback-confirmation")||document.getElementById("js-feedback-confirmation");return r&&t.contains(r)?r:t.querySelector(".feedback__right-confirm")||t.querySelector(".feedback__response")||t.querySelector(".feedback__form-container")||t.querySelector("[data-visible-target]")||null}function a(e){return!!e.closest('.gform_wrapper, form[id^="gform_"], .gform_footer, .gform_page_footer')}function l(e,t){let o=e.getAttribute?.("data-target-id")||e.getAttribute?.("data-target")||e.dataset?.targetId||e.dataset?.target||null;if(!o){const t=e.getAttribute?.("href");t&&t.startsWith("#")&&(o=t.slice(1))}if(o){const e=String(o).replace(/^#/,"");return t.querySelector("#"+e)||document.getElementById(e)||null}return null}i.length&&i.forEach((e,i)=>{try{!function(e,n){const i=e.querySelector(".feedback__right-question");if(i){const t=i.querySelector(".feedback__right-question-buttons");if(t){const o=t.querySelector('.feedback__yes-button, [data-choice="yes"], button[aria-label="Yes"]'),a=t.querySelector('.feedback__no-button, [data-choice="no"], button[aria-label="No"]'),l={yes:new AbortController,no:new AbortController};o&&s("yes",o,a,e,i,l,n),a&&s("no",a,o,e,i,l,n),r({clicked:o||a,block:e,wrap:i,index:n})}}!function(e){const n=Array.from(e.querySelectorAll(".js-form-container-show, .js-form-container-show-trigger")),i=Array.from(e.querySelectorAll(".js-form-container-show-close")),s=e.querySelectorAll(".js-form-container-show-target"),r=e.querySelector(".feedback__form-column"),c=n=>{if(a(n.target)||a(n.currentTarget))return;n.preventDefault(),n.stopPropagation();const i=l(n.currentTarget,e)||s[0]||(r?.classList.contains("js-form-container-show-target")?r:null);i&&(i.classList.add("--visible"),i.setAttribute("aria-hidden","false"),t&&o("SHOW target",i))},d=n=>{if(a(n.target)||a(n.currentTarget))return;n.preventDefault(),n.stopPropagation();const i=n.currentTarget.closest(".js-form-container-show-target")||e.querySelector(".js-form-container-show-target.--visible");i&&(i.classList.remove("--visible"),i.setAttribute("aria-hidden","true"),t&&o("HIDE target",i))};n.forEach(e=>e.addEventListener("click",c,{passive:!1})),i.forEach(e=>e.addEventListener("click",d,{passive:!1}))}(e)}(e,i)}catch(e){n("Init error for block",i,e)}})}(),function(e=!1){const t=e,o=document.querySelectorAll(".gallery__images");0!==o.length?(o.forEach(e=>{const t=e.closest(".block--gallery"),o=t?t.querySelector(".gallery__captions"):null;$(e).slick({regionLabel:"Gallery carousel",useGroupRole:!0,slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!0,fade:!0,speed:600,cssEase:"ease-in-out",asNavFor:$(o)}),o&&$(o).slick({asNavFor:$(e),slidesToShow:1,slidesToScroll:1,fade:!0,speed:600,dots:!1,arrows:!1,cssEase:"ease-in-out"})}),t&&console.log("Gallery blocks loaded")):t&&console.log("No gallery images found. Aborting.")}(),r(),function(){function e(){$(".group-links-widget .group-link-toggle").off("click keydown"),$(".group-links-widget .group-link-toggle").on("click keydown",function(e){if("keydown"===e.type&&"Enter"!==e.key&&" "!==e.key)return!0;e.preventDefault(),e.stopPropagation();const t=$(this),o=t.attr("aria-controls"),n=$("#"+o),i=t.find(".expand-icon");"true"===t.attr("aria-expanded")?(t.attr("aria-expanded","false"),n.attr("aria-hidden","true").slideUp(200),i.text("+")):(t.attr("aria-expanded","true"),n.attr("aria-hidden","false").slideDown(200),i.text("â"))}),$(".group-links-widget .group-sub-link").on("click",function(){return!0})}e(),"undefined"!=typeof wp&&wp.customize?.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",e),$(document).on("bp_ajax_request",e)}(),function(e=!1){const t=e,o=document.querySelector(".block--hero-homepage"),n=document.querySelectorAll(".hero-homepage__carousel");
2o&&n.length&&(n.forEach(e=>{const o=e.closest(".block--hero-homepage"),n=e.querySelectorAll(":scope > div").length,i=o.querySelector(".hero-homepage__arrow--prev"),s=o.querySelector(".hero-homepage__arrow--next"),r=o.querySelector(".hero-homepage__pause"),a=o.querySelector(".hero-homepage__play"),l=o.querySelector(".hero-homepage__controls"),c=o.querySelector(".hero-homepage__pagination"),d=o.querySelector(".hero-homepage__slider-images"),u=e=>{r&&a&&o&&(e?o.classList.add("--paused"):o.classList.remove("--paused"),r.style.display=e?"none":"",a.style.display=e?"":"none",r.setAttribute("aria-hidden",e?"true":"false"),a.setAttribute("aria-hidden",e?"false":"true"))};n>1?($(e).on("init",function(t,o){const n=e.querySelector(".slick-autoplay-toggle-button");n&&l&&l.appendChild(n);const i=!o.options.autoplay;u(i)}),$(e).slick({regionLabel:"Hero carousel",useGroupRole:!0,slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!0,fade:!0,speed:600,cssEase:"ease-in-out",appendDots:$(c),prevArrow:$(i),nextArrow:$(s),pauseIcon:$(r),playIcon:$(a),asNavFor:$(d),draggable:!1,touchMove:!1,autoplay:!0,autoplaySpeed:8e3,responsive:[{breakpoint:779,settings:{autoplay:!1,useAutoplayToggleButton:!1,adaptiveHeight:!0}}]}),$(d).slick({slidesToShow:1,slidesToScroll:1,dots:!1,arrows:!1,fade:!0,speed:600,cssEase:"ease-in-out",asNavFor:$(e),draggable:!1,touchMove:!1})):e.classList.add("hero-homepage__slides--single"),r&&r.addEventListener("click",()=>{t&&console.log("Paused hero carousel"),$(e).slick("slickPause"),u(!0)}),a&&a.addEventListener("click",()=>{t&&console.log("Played hero carousel"),$(e).slick("slickPlay"),u(!1)})}),t&&console.log("Hero homepage blocks loaded"))}(),function(e=!1){const t=e,o=document.querySelectorAll(".sidebar-navigation");o.length?(t&&console.log(`Found ${o.length} page sidebar navigation block(s)`),o.forEach(function(e){t&&console.log("Initializing page sidebar navigation block:",e)}),t&&console.log("Page sidebar navigation blocks initialized")):t&&console.log("No page sidebar navigation blocks found. Exiting.")}(),function(e=!1){const t=e,o=document.querySelectorAll(".pricing-table__tabs");o.length&&(o.forEach(e=>{const o=e.querySelectorAll(".pricing-table__tab"),n=e.querySelectorAll(".pricing-table__panel");o.forEach(e=>{e.addEventListener("click",()=>function(e,o,n){const i=e.getAttribute("data-tab");o.forEach(t=>{const o=t===e;t.setAttribute("aria-selected",o?"true":"false"),t.classList.toggle("--active",o)}),n.forEach(e=>{const t=e.getAttribute("data-panel")===i;e.classList.toggle("--active",t),e.hidden=!t}),"undefined"!=typeof gtag&>ag("event","pricing_tab_change",{tab_name:e.textContent.trim(),event_category:"engagement"}),t&&console.log("Switched to pricing tab:",e.textContent.trim())}(e,o,n)),e.addEventListener("keydown",e=>{const t=Array.from(o).indexOf(e.target);let n;switch(e.key){case"ArrowLeft":e.preventDefault(),n=t-1<0?o.length-1:t-1,o[n].click(),o[n].focus();break;case"ArrowRight":e.preventDefault(),n=t+1>=o.length?0:t+1,o[n].click(),o[n].focus();break;case"Home":e.preventDefault(),o[0].click(),o[0].focus();break;case"End":e.preventDefault(),o[o.length-1].click(),o[o.length-1].focus();break;case"Enter":case" ":e.preventDefault(),e.target.click()}})})}),document.querySelectorAll(".pricing-table__discount-link").forEach(e=>{e.addEventListener("click",()=>{const o=e.querySelector(".pricing-table__discount-text")?.textContent||"",n=e.querySelector(".pricing-table__discount-details")?.textContent||"";"undefined"!=typeof gtag&>ag("event","pricing_discount_click",{discount_text:o,discount_details:n,event_category:"conversion"}),t&&console.log("Clicked discount card:",{discount:o,details:n})})}),document.querySelectorAll(".pricing-table__button").forEach(e=>{e.addEventListener("click",()=>{const o=e.closest(".pricing-table__panel"),n=o?.getAttribute("data-panel")||"",i=e.textContent.trim();"undefined"!=typeof gtag&>ag("event","pricing_button_click",{button_text:i,tab_number:n,event_category:"conversion"}),t&&console.log("Clicked pricing button:",i,"on tab",n)})}),t&&console.log("Pricing Table initialized"))}(),function(e=!1){const t=e,o=document.querySelectorAll(".process-accordions--accordion");function n(e){const o=document.getElementById(e.getAttribute("aria-controls")),n="true"===e.getAttribute("aria-expanded"),i=e.querySelector(".process-accordions__icon svg path"),s=e.closest(".process-accordions__accordion"),r=s.closest(".process-accordions")?.querySelector(".process-accordions__expand-all");if(!r||"true"!==r.getAttribute("aria-expanded")){const t=s.querySelectorAll(".process-accordions__trigger"),n=s.querySelectorAll(".process-accordions__panel");t.forEach(function(t){if(t!==e){t.setAttribute("aria-expanded","fal
2se"),t.classList.remove("--expanded");const e=t.querySelector(".process-accordions__icon svg path");e&&e.setAttribute("d","M8 4v8M4 8h8");const o=t.querySelector(".process-accordions__show-more-text");if(o){const e=t.getAttribute("data-original-text")||"Show more";o.textContent=e}}}),n.forEach(function(e){e!==o&&(e.hidden=!0,e.style.maxHeight=null)})}if(n){e.setAttribute("aria-expanded","false"),e.classList.remove("--expanded"),o.hidden=!0,o.style.maxHeight=null,i&&i.setAttribute("d","M8 4v8M4 8h8");const n=e.querySelector(".process-accordions__show-more-text");if(n){const t=e.getAttribute("data-original-text")||"Show more";n.textContent=t}t&&console.log("Accordion closed:",e)}else{e.setAttribute("aria-expanded","true"),e.classList.add("--expanded"),o.hidden=!1,o.style.maxHeight=o.scrollHeight+"px",i&&i.setAttribute("d","M4 8h8");const n=e.querySelector(".process-accordions__show-more-text");if(n){const t=e.getAttribute("data-toggle-text")||"Show less";n.textContent=t}setTimeout(()=>{e.scrollIntoView({behavior:"smooth",block:"nearest"})},100),t&&console.log("Accordion opened:",e)}r&&function(e,t){const o=Array.from(t).filter(e=>"true"===e.getAttribute("aria-expanded")).length,n=e.querySelector(".process-accordions__expand-text"),i=e.getAttribute("data-original-text"),s=e.getAttribute("data-toggle-text");o===t.length?(e.setAttribute("aria-expanded","true"),n.textContent=s):(e.setAttribute("aria-expanded","false"),n.textContent=i)}(r,s.querySelectorAll(".process-accordions__trigger"))}o.length?(t&&console.log(`Found ${o.length} process accordion block(s)`),o.forEach(function(e){t&&console.log("Initializing accordion block:",e),function(e){const o=e.querySelectorAll(".process-accordions__trigger"),i=e.querySelector(".process-accordions__expand-all");o.forEach(function(e){e.addEventListener("click",function(){n(this)}),e.addEventListener("keydown",function(e){!function(e,t){const o=Array.from(t).indexOf(e.target);let i;switch(e.key){case"ArrowDown":e.preventDefault(),i=o+1,i>=t.length&&(i=0),t[i].focus();break;case"ArrowUp":e.preventDefault(),i=o-1,i<0&&(i=t.length-1),t[i].focus();break;case"Home":e.preventDefault(),t[0].focus();break;case"End":e.preventDefault(),t[t.length-1].focus();break;case"Enter":case" ":e.preventDefault(),n(e.target)}}(e,o)})}),i&&i.addEventListener("click",function(){!function(e,o){const n="true"===e.getAttribute("aria-expanded"),i=e.querySelector(".process-accordions__expand-text"),s=e.getAttribute("data-original-text"),r=e.getAttribute("data-toggle-text");o.forEach(function(e){const t=document.getElementById(e.getAttribute("aria-controls")),o=e.querySelector(".process-accordions__show-more-text");if(n){if(e.setAttribute("aria-expanded","false"),e.classList.remove("--expanded"),t.hidden=!0,t.style.maxHeight=null,o){const t=e.getAttribute("data-original-text")||"Show more";o.textContent=t}}else if(e.setAttribute("aria-expanded","true"),e.classList.add("--expanded"),t.hidden=!1,t.style.maxHeight=t.scrollHeight+"px",o){const t=e.getAttribute("data-toggle-text")||"Show less";o.textContent=t}}),n?(e.setAttribute("aria-expanded","false"),i.textContent=s,t&&console.log("Show all: collapsed all")):(e.setAttribute("aria-expanded","true"),i.textContent=r,t&&console.log("Show all: expanded all"))}(this,o)})}(e)}),t&&console.log("Process Accordions blocks initialized")):t&&console.log("No process accordions found. Exiting.")}(),function(e=!1){const t=e;document.querySelectorAll(".related-content-cards").forEach(function(e){!function(e){const t=e.querySelectorAll(".related-content-cards__card-link"),o=e.querySelector(".related-content-cards__heading");if(t.forEach(function(e,t){const n=e.closest(".related-content-cards__card"),i=n.querySelector(".related-content-cards__title"),s=n.querySelector(".related-content-cards__date");e.addEventListener("click",function(){const e=o?o.textContent.trim():"",n=i?i.textContent.trim():"",r=s?s.textContent.trim():"",a=t+1;"undefined"!=typeof gtag&>ag("event","related_content_click",{block_title:e,card_title:n,card_date:r,card_position:a,event_category:"content_discovery"}),console.log("Related content card clicked:",{blockTitle:e,cardTitle:n,position:a,date:r})}),e.addEventListener("mouseenter",function(){this.classList.add("related-content-cards__card-link--hover")}),e.addEventListener("mouseleave",function(){this.classList.remove("related-content-cards__card-link--hover")})}),"IntersectionObserver"in window){const n=new IntersectionObserver(function(e){e.forEach(function(e){if(e.isIntersecting){const i=o?o.textContent.trim():"",s=t.length;"undefined"!=typeof gtag&>ag("event","related_content_view",{block_title:i,card_count:s,event_category:"content_discovery"}),e.target.classList.add("related-content-cards--visible"),n.unobserve(e.target)}})},{threshold:.3,rootMargin:"0px 0px -50px 0px"});n.observe(e)}}(e)}),t&&console.log("Related Content Cards blocks loaded")}(),function(e=!1){const t=e,o=document.querySelectorAll(".text-and-image");o.length?(t&&console.log(`Found ${o.length} Text and Image block(s)`),o.forEach(function(e){t&&console.log("Initializing Text and Image block:",e),function(e){const t=e.querySelector("figure"),o=e.querySelector(".text-and-image__wrapper");function n(){o.style.minHeight=`${t.offsetHeight}px`}t&&o&&(n(),window.addEventListener("resize",n))}(e)}),t&&console.log("Text and Image blocks initialized")):t&&console.log("No Text and Image blocks foun
2d. Exiting.")}(),function(e=!1){const t=e,o=document.querySelectorAll(".two-column-split-content");function n(e){try{return new URL(e).hostname!==window.location.hostname}catch{return!1}}o.length?(t&&console.log(`Found ${o.length} Two Column Split Content block(s)`),o.forEach(function(e){t&&console.log("Initializing Two Column Split Content block:",e),function(e){const t=e.querySelectorAll(".two-column-split__highlighted-description p"),o=e.querySelectorAll(".button--cta_link"),i=e.querySelectorAll(".button--file"),s='<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11 8.16678V12.1669C11 12.5205 10.8595 12.8597 10.6094 13.1097C10.3594 13.3598 10.0203 13.5002 9.66664 13.5002H2.33333C1.97971 13.5002 1.64057 13.3598 1.39052 13.1097C1.14048 12.8597 1 12.5205 1 12.1669V4.83337C1 4.47974 1.14048 4.14059 1.39052 3.89053C1.64057 3.64048 1.97971 3.5 2.33333 3.5H6.33332" stroke="#00619F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 1.5H13V5.5001" stroke="#00619F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.66797 8.83351L13.0013 1.5" stroke="#00619F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>';o.forEach(e=>{e.href&&n(e.href)&&(e.classList.add("external"),e.innerHTML+=s)}
2),i.forEach(e=>{e.href&&n(e.href)&&(e.classList.add("external"),e.innerHTML+=s)}),t.forEach(function(t){if(t.textContent.length>128){const o=t.textContent,n=t.cloneNode(!0);t.parentElement.classList.add("limited"),n.classList.add("clone"),n.textContent=o.slice(0,128)+"...",t.classList.add("full-text"),t.insertAdjacentHTML("beforeend",' <a role="button" href="#" class="two-column-split__view-less">View less -</a>'),t.parentNode.insertBefore(n,t.nextSibling),n.insertAdjacentHTML("beforeend",' <a role="button" href="#" class="two-column-split__view-more">View more +</a>');const i=t.querySelector(".two-column-split__view-less");n.querySelector(".two-column-split__view-more").addEventListener("click",function(t){t.preventDefault(),e.classList.add("active")}),i.addEventListener("click",function(t){t.preventDefault(),e.classList.remove("active")})}})}(e)})):t&&console.log("No Two Column Split Content blocks found. Exiting.")}(),function(e=!1){const t=e,o=document.querySelectorAll(".anchored-navigation .anchored-navigation__button");o.length&&(o.forEach(e=>{e.classList.contains("--active")?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current")}),o.forEach(e=>{e.addEventListener("click",()=>{t&&console.log("[AnchoredNav] Clicked:",e),o.forEach(e=>{e.classList.remove("--active"),e.removeAttribute("aria-current")}),e.classList.add("--active"),e.setAttribute("aria-current","true")})}))}(),function(e=!1){const t=e,o=document.querySelectorAll(".basic-tabs__tab-button");o.length&&o.forEach(e=>{e.addEventListener("click",()=>{t&&console.log("Clicked tab button:",e),o.forEach(e=>e.classList.remove("--active")),e.classList.add("--active")})})}(),function(e=!1){const t=e,o=(...e)=>t&&console.log("[inline-svg]",...e),n=(...e)=>t&&console.warn("[inline-svg]",...e),i=document.querySelectorAll('a[class^="button--"], a[class*=" button--"], button[class^="button--"], button[class*=" button--"]');if(!i.length)return;const s=[];i.forEach(e=>{e.querySelectorAll("img").forEach(e=>{const t=function(e){const t=["data-src","data-lazy-src","data-litespeed-src","data-original","src"];for(let o=0;o<t.length;o++){const n=e.getAttribute(t[o]);if(n&&/\.svg(\?|#|$)/i.test(n))return n}return""}(e);t&&s.push({img:e,url:t})})}),o("candidates:",s.length),s.length&&s.forEach(async({img:e,url:t},i)=>{try{const s=function(e){const t=document.createElement("a");return t.href=e,t.href}(t);if(new URL(s).origin!==window.location.origin)return void n(`img[${i}] cross-origin, skipping inline:`,s);const r=await fetch(s,{credentials:"same-origin"});if(!r.ok)throw new Error(`HTTP ${r.status}`);const a=await r.text(),l=(new DOMParser).parseFromString(a,"image/svg+xml").querySelector("svg");if(!l)return;const c=function(e){if(!e)return"";const t=new Set(["lazyload","lazyloaded","lazyloading","ls-is-cached","jetpack-lazy-image"]);return e.split(/\s+/).filter(Boolean).filter(e=>!t.has(e)).join(" ")}(e.getAttribute("class")||"");if(c){const e=l.getAttribute("class");l.setAttribute("class",(e?e+" ":"")+c)}const d=e.getAttribute("width"),u=e.getAttribute("height");d&&l.setAttribute("width",d),u&&l.setAttribute("height",u);const p=e.getAttribute("style");if(p){const e=l.getAttribute("style");l.setAttribute("style",e?e+";"+p:p)}for(const t of Array.from(e.attributes)){const e=t.name||"";e.startsWith("data-")&&(/^data-(src|lazy|litespeed-src|original|sizes|srcset)/i.test(e)||l.setAttribute(e,t.value))}const g=e.getAttribute("alt");g&&g.trim()?(l.setAttribute("role","img"),l.setAttribute("aria-label",g.trim()),l.removeAttribute("aria-hidden")):l.setAttribute("aria-hidden","true"),e.replaceWith(l),o(`
2img[${i}] inlined`)}catch(e){n(`img[${i}] failed to inline (${t}):`,e)}})}(),((e=!1)=>{const t=e;!function(){const e=document.querySelectorAll(".js-external-link, .js-external-link-dark, .wysiwyg-link__external"),o='\n\t\t\t<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t<path d="M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333" stroke="#00619F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n\t\t\t<path d="M10 2H14V6" stroke="#00619F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n\t\t\t<path d="M6.66797 9.33333L14.0013 2" stroke="#00619F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n\t\t\t</svg>';e.forEach(function(e){let n=o;e.classList.contains("js-external-link-dark")?(n='\n\t\t\t<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t<path d="M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333" stroke="#FAFAFA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n\t\t\t<path d="M10 2H14V6" stroke="#FAFAFA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n\t\t\t<path d="M6.66797 9.33333L14.0013 2" stroke="#FAFAFA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n\t\t\t</svg>',t&&console.log("Injected dark external link icon")):e.classList.contains("js-external-link")?(n=o,t&&console.log("Injected light external link icon")):t&&console.log("Injected default external link icon"),e.insertAdjacentHTML("beforeend",n)})}()})(),function(e=!1){const t=e,o=document.querySelectorAll(".js-overlay-trigger");o.length&&o.forEach(e=>{e.addEventListener("click",()=>{t&&console.log("Overlay trigger clicked:",e);const o=document.createElement("div");o.classList.add("overlayer"),o.setAttribute("role","dialog"),o.setAttribute("aria-modal","true"),o.setAttribute("aria-label","Modal dialog"),o.tabIndex=-1;const n=document.createElement("div");n.classList.add("overlayer__container");const i=document.createElement("div");i.classList.add("overlayer__content"),i.innerHTML="<p>Modal Content Here</p>";const s=document.createElement("button");s.classList.add("js-overlay-close-trigger"),s.setAttribute("aria-label","Close modal"),s.innerHTML=`Close ${feather.icons.x.toSvg()}`,n.appendChild(i),n.appendChild(s),o.appendChild(n),document.body.appendChild(o),document.body.style.overflow="hidden",o.focus(),t&&console.log("Overlay created and opened.");const r=o.querySelectorAll(["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed",'[tabindex]:not([tabindex="-1"])',"[contenteditable]"].join(", "));let a=r[0],l=r[r.length-1];function c(e){"Tab"===e.key?e.shiftKey?document.activeElement===a&&(e.preventDefault(),l.focus()):document.activeElement===l&&(e.preventDefault(),a.focus()):"Escape"===e.key&&(e.preventDefault(),d())}function d(){o.removeEventListener("keydown",c),document.body.removeChild(o),document.body.style.overflow="",e.focus(),t&&console.log("Overlay closed.")}o.addEventListener("keydown",c),s.addEventListener("click",()=>{t&&console.log("Overlay close button clicked."),d()})})})}(),function(e=!1){const t=e,o=document.getElementById("sharing-button-strip");if(!o)return void(t&&console.log("[Sharing Buttons] #sharing-button-strip not found."));const n=o.querySelectorAll(".sharing-options__share-button");if(!n.length)return void(t&&console.log("[Sharing Buttons] No share buttons found."));const i=encodeURIComponent(window.location.href),s=encodeURIComponent(document.title);
2n.forEach(e=>{e.style.pointerEvents="auto",e.addEventListener("click",o=>{o.preventDefault();const n=e.getAttribute("data-platform");if(!n)return void(t&&console.log("[Sharing Buttons] data-platform attribute missing on button."));let r="";switch(n){case"facebook":r=`https://www.facebook.com/sharer/sharer.php?u=${i}`;break;case"twitter":r=`https://twitter.com/intent/tweet?url=${i}&text=${s}`;break;case"linkedin":r=`https://www.linkedin.com/sharing/share-offsite/?url=${i}`;break;default:return void(t&&console.log(`[Sharing Buttons] Unknown platform: ${n}`))}t&&console.log(`[Sharing Buttons] Opening URL: ${r}`),window.open(r,"shareWindow","width=600,height=600,scrollbars=yes")})})}(),function(e=!1){const t=e,o=document.querySelectorAll(".sidebar-nav-ads");function n(e){const o="true"===e.getAttribute("aria-expanded"),n=e.getAttribute("aria-controls"),i=document.getElementById(n);if(!i)return void(t&&console.warn("Submenu not found for button:",e));const s=!o;e.setAttribute("aria-expanded",String(s)),i.hidden=!s;const r=e.querySelector(".sidebar-nav-ads__navigation-menu-toggle-text");if(r&&r.classList.toggle("--expanded",s),t&&console.log(`Submenu ${n} ${s?"expanded":"collapsed"}`),void 0!==window.customAnalytics){const e=n.includes("focus-area")?"focus_area":"community",t=r?.textContent.trim()||"";window.customAnalytics.track(s?"sidebar_menu_expanded":"sidebar_menu_collapsed",{menu_type:e,menu_title:t,submenu_id:n})}}o.length?(t&&console.log(`Found ${o.length} .sidebar-nav-ads element(s)`),o.forEach(function(e){t&&console.log("Initializing sidebar navigation toggles:",e),function(e){const o=e.querySelectorAll(".sidebar-nav-ads__navigation-menu-toggle");o.forEach(function(e){const t=e.hasAttribute("href")&&"#"!==e.getAttribute("href")&&""!==e.getAttribute("href"),o=e.querySelector(".sidebar-nav-ads__navigation-menu-toggle-icon");o&&(o.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation(),n(e)}),o.addEventListener("keydown",t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),n(e))})),e.addEventListener("click",function(o){if(o.target.closest(".sidebar-nav-ads__navigation-menu-toggle-icon"))return;const i="true"===e.getAttribute("aria-expanded");t&&i||(o.preventDefault(),n(e))}),e.addEventListener("keydown",function(o){if("Enter"===o.key||" "===o.key){const i="true"===e.getAttribute("aria-expanded");if(t)if(i){o.preventDefault();const t=e.getAttribute("href");t&&(window.location.href=t)}else o.preventDefault(),n(e);else o.preventDefault(),n(e)}else"Escape"===o.key&&"true"===e.getAttribute("aria-expanded")&&(o.preventDefault(),n(e))})}),t&&console.log(`Initialized ${o.length} toggle buttons`)}(e),function(){const e=document.querySelector(".sidebar-navigation__inner");if(!e)return;const t=document.querySelector(".navigation-menu--toggle"),o=e.querySelector(".--current-page");o&&(t.textContent=o.textContent,t.setAttribute("aria-expanded","false"),t.setAttribute("aria-haspopup","true")),t.addEventListener("click",()=>{"true"===t.getAttribute("aria-expanded")?t.setAttribute("aria-expanded","false"):t.setAttribute("aria-expanded","true")})}()}),t&&console.log(".sidebar-nav-ads instances initialized")):t&&console.log("No .sidebar-nav-ads element(s) found. Exiting.")}(),function(e=!1){const t=new URLSearchParams(window.location.search),o=t.get("feedbar_debug")||t.get("feed_bar_debug"),n="undefined"!=typeof window&&window.localStorage&&"1"===window.localStorage.getItem("FEEDBAR_DEBUG"),i=e||"1"===o||"true"===o||n,s=(...e)=>i&&console.log("[FeedBar]",...e);if("true"!==t.get("feed_bar"))return void s("Exiting: ?feed_bar=true not present");const r=["[data-feed-bar]","#feed-bar",".feed-bar",'[data-component="feed-bar"]'].join(",");s("Init with selectors:",r);const a=e=>{if(!e||"1"===e.dataset.feedbarScrolled)return;e.dataset.feedbarScrolled="1";const t=document.querySelector(".homepage-hero-content");if(!t)return void((...e)=>{i&&console.warn("[FeedBar]",...e)})("homepage-hero-content not found");const o=t.getBoundingClientRect().height,n=window.getComputedStyle(e),r=parseFloat(n.marginTop)||0,a=(()=>{let e=0;const t=document.getElementById("masthead");t&&(e+=t.getBoundingClientRect().height);const o=document.getElementById("wpadminbar");return o&&(e+=o.getBoundingClientRect().height),e})();let l=o+r-a;if(document.body.classList.contains("admin-bar")){const e=window.getComputedStyle(document.documentElement).getPropertyValue("--wp-admin--admin-bar--height");if(e){const t=parseFloat(e)||0;l+=t,s("Admin bar detected, subtracting margin:",t)}}const c=Math.max(0,l);s("Scrolling to feed bar:",{heroHeight:o,marginTop:r,headerOffset:a,scrollY:c}),window.scrollTo({top:c,behavior:"auto"}),window.scrollTo(0,c),document.documentElement.scrollTop=c,e.hasAttribute("tabindex")||e.setAttribute("tabindex","-1");try{e.focus({preventScroll:!0})}catch(e){}},l=()=>document.querySelectorAll(r)[0]||null;(()=>{const e=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{setTimeout(()=>{const e=l();if(e)s("Feed bar found, scrolling..."),a(e);else{s("Feed bar not found, observing DOM...");const e=new MutationObserver(()=>{const t=l();t&&(s("Feed bar appeared, scrolling..."),e.disconnect(),a(t))});e.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>e.disconnect(),6e3)}},150)})})};"complete"===document.readyState?e():window.addEventListener("load",e,{once:!0})})()}(),((e=!1)=>{const t=e;let o=0;!function(){const e=document.querySelectorAll(".styleguide-page");t&&console.log(`Found ${e.length} .styleguide-page elements`);const o=new IntersectionObserver((e,o)=>
2{e.forEach(e=>{if(e.isIntersecting){const n=e.target;t&&console.log(".styleguide-page entered viewport:",n),n.style.opacity="1",o.unobserve(n)}})},{root:null,rootMargin:"0px",threshold:0});e.forEach(e=>o.observe(e))}(),function(){const e=["h1","h2","h3","h4","h5","h6"],n=document.querySelectorAll(".js-heading-selector");t&&console.log(`Found ${n.length} .js-heading-selector elements`),n.forEach(n=>{if(n.querySelector(".styleguide__heading-selector"))return void(t&&console.log("Skipping: selector already exists in container",n));const i=n.querySelector("span");if(!i)return void(t&&console.warn("No <span> found in container; skipping",n));let s=e.find(e=>i.classList.contains(e));s||(i.classList.add("h1"),s="h1",t&&console.log("No heading class found; defaulting to .h1",i));const r=document.createElement("div");r.className="styleguide__heading-selector";const a=document.createElement("select"),l="heading-level-"+ ++o;a.id=l,a.name="heading_level",a.setAttribute("aria-label","Heading level"),e.forEach((e,t)=>{const o=document.createElement("option");o.value=e,o.textContent=`Heading ${t+1}`,e===s&&(o.selected=!0),a.appendChild(o)}),a.addEventListener("change",()=>{e.forEach(e=>i.classList.remove(e)),i.classList.add(a.value),t&&console.log(`Updated heading class to .${a.value}`,i)}),r.appendChild(a),n.insertBefore(r,i)})}()})(),feather?.replace()})})()})();
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.