'use strict';var uber_supports=function(){var d=document.createElement("div"),e=["Khtml","Ms","O","Moz","Webkit"];return function(k){var l=e.length;if(k in d.style)return!0;for(k=k.replace(/^[a-z]/,function(d){return d.toUpperCase()});l--;)if(e[l]+k in d.style)return!0;return!1}}();
function uber_op(d,e,k){if(!ubermenu_data.hasOwnProperty(d))return k;d=ubermenu_data[d];if(e.hasOwnProperty("datatype"))switch(e.datatype){case "numeric":d=parseInt(d);break;case "boolean":d="on"==d||1==d||"1"==d?!0:!1}return d}(function(d,e){var k=function(d,e,k){var l;return function(){var n=this,h=arguments;l?clearTimeout(l):k&&d.apply(n,h);l=setTimeout(function(){k||d.apply(n,h);l=null},e||100)}};jQuery.fn[e]=function(d){return d?this.on("resize",k(d)):this.trigger(e)}})(jQuery,"ubersmartresize");
(function(d,e,k,l){function t(a,c){var b=this;this.element=a;this.$ubermenu=d(this.element);this.orientation=this.$ubermenu.hasClass("ubermenu-vertical")?"v":"h";this.mobileAccordion=this.$ubermenu.hasClass("ubermenu-mobile-accordion");this.modalMobile=this.$ubermenu.hasClass("ubermenu-mobile-modal");this.interactionMode=null;this.vstretch=this.$ubermenu.hasClass("ubermenu-items-vstretch");this.inverted=this.$ubermenu.hasClass("ubermenu-invert");this.settings=d.extend({},q,c);this._defaults=q;this._name=
"ubermenu";this.settings.responsive=this.$ubermenu.hasClass("ubermenu-responsive")?!0:!1;this.settings.debug&&this.settings.debug_onscreen&&(d("body").append('
'),this.debug_target=d("#uber-onscreen-debug"),this.debug_target.on("click",function(){100>d(this).height()?d(this).height("50%"):d(this).height("50px")}));this.log("-- START UBERMENU DEBUG --");
this.suppress_clicks=this.events_disabled=!1;(this.touchenabled="ontouchstart"in e||0=b.settings.breakpoint&&(h.hide(),h[0].offsetHeight,h.css("display",""));b.last_width=g});this.settings.clicktest&&(this.touchEnd=
"click");this.init()}var q={breakpoint:uber_op("responsive_breakpoint",{datatype:"numeric"},959),touchEvents:!0,mouseEvents:!0,retractors:!0,touchOffClose:uber_op("touch_off_close",{datatype:"boolean"},!0),submenuIndicatorCloseMobile:uber_op("submenu_indicator_close_mobile",{datatype:"boolean"},!0),moveThreshold:10,submenuAnimationDuration:500,ignoreDummies:!0,clicktest:!1,windowstest:!1,debug:!1,debug_onscreen:!1,remove_conflicts:uber_op("remove_conflicts",{datatype:"boolean"},!0),reposition_on_load:uber_op("reposition_on_load",
{datatype:"boolean"},!1),accessible:uber_op("accessible",{datatype:"boolean"},!0),retractor_display_strategy:uber_op("retractor_display_strategy",{datatype:"string"},"responsive"),intent_delay:uber_op("intent_delay",{datatype:"numeric"},300),intent_interval:uber_op("intent_interval",{datatype:"numeric"},100),intent_threshold:uber_op("intent_threshold",{datatype:"numeric"},300),scrollto_offset:uber_op("scrollto_offset",{datatype:"numeric"},0),scrollto_duration:uber_op("scrollto_duration",{datatype:"numeric"},
1E3),collapse_after_scroll:uber_op("collapse_after_scroll",{datatype:"boolean"},!0),aria_role_navigation:uber_op("aria_role_navigation",{datatype:"boolean"},!1),aria_nav_label:uber_op("aria_nav_label",{datatype:"boolean"},!1),aria_expanded:uber_op("aria_expanded",{datatype:"boolean"},!1),aria_hidden:uber_op("aria_hidden",{datatype:"boolean"},!1),aria_responsive_toggle:uber_op("aria_responsive_toggle",{datatype:"boolean"},!1),icon_tag:uber_op("icon_tag",{datatype:"string"},"i"),use_core_svgs:uber_op("use_core_svgs",
{datatype:"boolean"},!1),esc_close_mobile:uber_op("esc_close_mobile",{datatype:"boolean"},!0)},p,n,h,r;t.prototype={init:function(){this.log("Initializing UberMenu");this.$ubermenu.removeClass("ubermenu-nojs");this.removeConflicts();this.initializeSubmenuToggleTouchEvents();this.initializeSubmenuToggleMouseEvents();this.initializeRetractors();this.initializeResponsiveToggle();this.initializeMobileViewClasses();this.initializeMobileModal();this.initializeTouchoffClose();this.initializeTabs();this.initializeSubmenuPositioning();
this.initializeSegmentCurrentStates();this.initializeAccessibilityOnTab();this.initializeAccessibilityStates();this.initializeImageLazyLoad()},removeConflicts:function(){this.settings.remove_conflicts&&this.$ubermenu.find(".ubermenu-item, .ubermenu-target, .ubermenu-submenu").add(this.$ubermenu).removeAttr("style").unbind().off()},initializeAccessibilityStates:function(){this.settings.aria_role_navigation&&this.$ubermenu.attr("role","navigation");this.settings.aria_nav_label&&this.$ubermenu.attr("aria-label",
this.$ubermenu.find("> .ubermenu-nav").attr("data-title"));this.settings.aria_expanded&&this.$ubermenu.find(".ubermenu-item.ubermenu-has-submenu-drop > .ubermenu-target").attr("aria-expanded",!1);this.settings.aria_hidden&&this.$ubermenu.find(".ubermenu-submenu-drop").attr("aria-hidden",!0);var a=this.$ubermenu.find(".ubermenu-mobile-header, .ubermenu-mobile-footer");a.attr("aria-hidden",!this.isMobile());d(e).on("ubermenu-resize-mobile",function(){a.attr("aria-hidden",!1)});d(e).on("ubermenu-resize-desktop",
function(){a.attr("aria-hidden",!0)})},initializeAccessibilityOnTab:function(){if(this.settings.accessible){var a=this;d("body").on("keydown.ubermenu",function(c){9==(c.keyCode||c.which)&&(d("body").off("keydown.ubermenu"),a.initializeAccessibility())});if(a.settings.esc_close_mobile)d(e).on("keyup",function(c){a.isMobile()&&!a.$ubermenu.hasClass("ubermenu-responsive-collapse")&&27===c.which&&a.toggleMenuCollapse()})}},initializeImageLazyLoad:function(){var a=this;d(".ubermenu-item-level-0").one("ubermenuopen",
function(){d(this).find(".ubermenu-image-lazyload").each(function(){d(this).data("srcset")&&d(this).attr("srcset",d(this).data("srcset")).attr("sizes",d(this).data("sizes"));d(this).attr("src",d(this).data("src")).removeClass("ubermenu-image-lazyload")});setTimeout(function(){a.clearTabSizes();a.sizeTabs()},300)})},initializeAccessibility:function(){var a=this;a.$current_focus=!1;a.mousedown=!1;a.$ubermenu.addClass("ubermenu-accessible");a.$ubermenu.on("focus",".ubermenu-target, a, input, select, textarea",
function(){if(!a.mousedown){var c=d(this);a.$current_focus=c;var b=c.parent(".ubermenu-item");b.length&&(b.is(".ubermenu-item-level-0")&&a.closeAllSubmenus(),b.is(".ubermenu-has-submenu-drop")&&setTimeout(function(){c.is(":focus")&&(b.siblings(".ubermenu-has-submenu-drop").each(function(){a.closeSubmenu(d(this),"umac",a)}),a.openSubmenu(b,"umac",a))},500),c.on("blur.ubermenu",".ubermenu-target, a, input, select, textarea",function(b){a.mousedown||(a.$current_focus=!1,d(this).off("blur.ubermenu"),
setTimeout(function(){a.$current_focus||a.closeAllSubmenus()},500));a.mousedown=!1}))}a.mousedown=!1});a.$ubermenu.on("focusout",function(){setTimeout(function(){d(k.activeElement).closest(a.$ubermenu).length||a.closeAllSubmenus()},10)});a.$ubermenu.find(".ubermenu-item-level-0").on("keyup",function(c){switch(c.which){case 39:a.closeAllSubmenus();d(this).next().find(">.ubermenu-target").focus();break;case 37:a.closeAllSubmenus();jQuery(this).prev().find(">.ubermenu-target").focus();break;case 27:d(this).hasClass("ubermenu-active")&&
c.stopPropagation(),a.closeAllSubmenus(),d(this).next().find(">.ubermenu-target").focus()}});a.$ubermenu.on("mousedown",function(c){a.mousedown=!0;setTimeout(function(){a.mousedown=!1},100)})},initializeSubmenuPositioning:function(){var a=this;a.positionSubmenus();d(e).ubersmartresize(function(){a.positionSubmenus()});if(this.settings.reposition_on_load)d(e).on("load",function(){a.positionSubmenus()});"ResizeObserver"in e&&(new ResizeObserver(function(){a.positionSubmenus()})).observe(a.$ubermenu[0])},
initializeSubmenuToggleTouchEvents:function(){if(this.settings.touchEvents){var a=this;this.$ubermenu.on(this.touchStart,".ubermenu-target:not(.shiftnav-toggle)",function(c){a.handleTouchInteraction(c,this,a)});this.$ubermenu.on("click",".ubermenu-has-submenu-drop > .ubermenu-target, .ubermenu-tab.ubermenu-item-has-children > .ubermenu-target",function(c){a.handleClicks(c,this,a)})}},initializeSubmenuToggleMouseEvents:function(a){a=a||this;if(a.settings.mouseEvents&&!a.settings.clicktest&&!a.settings.windowstest){a.log("initializeSubmenuToggleMouseEvents");
var c="hover";a.$ubermenu.hasClass("ubermenu-trigger-click")?c="click":a.$ubermenu.hasClass("ubermenu-trigger-hover_intent")&&(c="hover_intent");"click"==c?this.suppress_clicks||(this.$ubermenu.on("click.ubermenu-submenu-toggle",".ubermenu-item.ubermenu-has-submenu-drop:not([data-ubermenu-trigger]) > .ubermenu-target",function(b){a.handleMouseClick(b,this,a)}),this.$ubermenu.on("click.ubermenu-click-target",".ubermenu-item:not(.ubermenu-has-submenu-drop):not([data-ubermenu-trigger]) > .ubermenu-target",
function(b){a.handleLink(b,this,a)})):"hover_intent"==c?(this.$ubermenu.on("mouseenter.mouse_intent",".ubermenu-item.ubermenu-has-submenu-drop:not([data-ubermenu-trigger])",function(b){a.handleMouseIntent(b,this,a)}),this.$ubermenu.on("click.ubermenu-click-target",".ubermenu-item:not([data-ubermenu-trigger]) > .ubermenu-target",function(b){a.handleLink(b,this,a)})):(this.$ubermenu.on("mouseenter.ubermenu-submenu-toggle",".ubermenu-item.ubermenu-has-submenu-drop:not([data-ubermenu-trigger]) > .ubermenu-target",
function(b){a.handleMouseover(b,this,a)}),this.$ubermenu.on("click.ubermenu-click-target",".ubermenu-item:not([data-ubermenu-trigger]) > .ubermenu-target",function(b){a.handleLink(b,this,a)}));if(this.allow_trigger_overrides)a.$ubermenu.find(".ubermenu-item[data-ubermenu-trigger]").each(function(){var b=d(this);c=b.data("ubermenu-trigger");if("click"==c){if(!this.suppress_clicks)b.on("click.ubermenu-submenu-toggle","> .ubermenu-target",function(b){a.handleMouseClick(b,this,a)})}else if("hover_intent"==
c)b.on("mouseenter.mouse_intent",function(b){a.handleMouseIntent(b,this,a)});else b.on("mouseenter.ubermenu-submenu-toggle","> .ubermenu-target",function(b){a.handleMouseover(b,this,a)})});else a.$ubermenu.find(".ubermenu-tab").on("click.ubermenu-submenu-toggle",".ubermenu-target",function(b){a.handleMouseClick(b,this,a)})}},disableSubmenuToggleMouseEvents:function(){this.log("disableSubmenuToggleMouseEvents");this.events_disabled=!0},reenableSubmenuToggleMouseEvents:function(a){a=a||this;a.log("reenableSubmenuToggleMouseEvents");
a.events_disabled=!1},initializeRetractors:function(){if(this.settings.retractors){var a=this;this.$ubermenu.on("click",".ubermenu-retractor",function(b){a.handleSubmenuRetractorEnd(b,this,a)});if(this.settings.touchEvents)this.$ubermenu.on(this.touchStart,".ubermenu-retractor",function(b){a.handleSubmenuRetractorStart(b,this,a)});this.touchenabled||"touch"!=a.settings.retractor_display_strategy||(this.$ubermenu.find(".ubermenu-retractor-mobile").remove(),this.$ubermenu.find(".ubermenu-submenu-retractor-top").removeClass("ubermenu-submenu-retractor-top").removeClass("ubermenu-submenu-retractor-top-2"));
if(this.settings.submenuIndicatorCloseMobile){var c=a.settings.use_core_svgs?'':"<"+a.settings.icon_tag+' class="fas fa-times">'+a.settings.icon_tag+">",c=this.$ubermenu.find(".ubermenu-has-submenu-drop > .ubermenu-target").append('").find(">.ubermenu-sub-indicator-close");
c.on("click",function(b){b.preventDefault();b.stopPropagation();a.closeSubmenuInstantly(d(this).closest(".ubermenu-item"),"toggleUberMenuSubmenuClosed",a);return!1});if(this.settings.touchEvents)c.on(this.touchStart,function(b){b.preventDefault();b.stopPropagation();a.closeSubmenuInstantly(d(this).closest(".ubermenu-item"),"toggleUberMenuSubmenuClosed",a);return!1})}}},initializeResponsiveToggle:function(){var a=this,c=".ubermenu-responsive-toggle[data-ubermenu-target="+a.$ubermenu.attr("id")+"], .ubermenu-responsive-toggle[data-ubermenu-target=_any_], #"+
a.$ubermenu.attr("id")+" .ubermenu-mobile-close-button",b=d(c);a.log("initializeResponsiveToggle "+this.toggleevent);if(a.settings.aria_responsive_toggle){b.attr("aria-hidden",e.innerWidth>a.settings.breakpoint);d(e).ubersmartresize(function(){b.attr("aria-hidden",e.innerWidth>a.settings.breakpoint)});var f=b.hasClass("ubermenu-responsive-toggle-open");b.attr("aria-expanded",f)}d(k).on(this.toggleevent,c,function(b){a.handleResponsiveToggle(b,this,a)});if(/Trident.*rv[ :]*11\./.test(navigator.userAgent))b.on("keypress",
function(b){13!==b.keyCode&&32!==b.keyCode||a.handleResponsiveToggle(b,this,a)})},initializeMobileViewClasses:function(){var a=this;a.toggleMobileClass();d(e).on("ubermenu-resize-mobile",function(){a.toggleMobileClass(!0)});d(e).on("ubermenu-resize-desktop",function(){a.toggleMobileClass(!1)})},initializeMobileModal:function(){var a=this;a.modalMobile&&(e.innerWidth<=a.settings.breakpoint&&a.swapModal(!0),d(e).on("ubermenu-resize-mobile",function(){a.swapModal(!0)}),d(e).on("ubermenu-resize-desktop",
function(){a.swapModal(!1)}))},swapModal:function(a){a?(this.$placeholder=d('