biofriction-wp-theme/biofriction-theme/dist/assets/js/app.js

1 line
49 KiB
JavaScript

(()=>{var n={545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Foundation=void 0;var i,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=(i=n(609))&&i.__esModule?i:{default:i},o=n(318),a=n(857),u={version:"6.5.1",_plugins:{},_uuids:[],plugin:function(e,t){var n=t||l(e),t=d(n);this._plugins[t]=this[n]=e},registerPlugin:function(e,t){t=t?d(t):l(e.constructor).toLowerCase();e.uuid=(0,o.GetYoDigits)(6,t),e.$element.attr("data-"+t)||e.$element.attr("data-"+t,e.uuid),e.$element.data("zfPlugin")||e.$element.data("zfPlugin",e),e.$element.trigger("init.zf."+t),this._uuids.push(e.uuid)},unregisterPlugin:function(e){var t,n=d(l(e.$element.data("zfPlugin").constructor));for(t in this._uuids.splice(this._uuids.indexOf(e.uuid),1),e.$element.removeAttr("data-"+n).removeData("zfPlugin").trigger("destroyed.zf."+n),e)e[t]=null},reInit:function(e){var t,n,i=e instanceof r.default;try{i?e.each(function(){(0,r.default)(this).data("zfPlugin")._init()}):(t=void 0===e?"undefined":s(e),n=this,{object:function(e){e.forEach(function(e){e=d(e),(0,r.default)("[data-"+e+"]").foundation("_init")})},string:function(){e=d(e),(0,r.default)("[data-"+e+"]").foundation("_init")},undefined:function(){this.object(Object.keys(n._plugins))}}[t](e))}catch(e){console.error(e)}finally{return e}},reflow:function(n,e){void 0===e?e=Object.keys(this._plugins):"string"==typeof e&&(e=[e]);var o=this;r.default.each(e,function(e,t){var i=o._plugins[t];(0,r.default)(n).find("[data-"+t+"]").addBack("[data-"+t+"]").each(function(){var e=(0,r.default)(this),n={};if(e.data("zfPlugin"))console.warn("Tried to initialize "+t+" on an element that already has a Foundation plugin.");else{e.attr("data-options")&&e.attr("data-options").split(";").forEach(function(e,t){var e=e.split(":").map(function(e){return e.trim()});e[0]&&(n[e[0]]="true"===(e=e[1])||"false"!==e&&(isNaN(+e)?e:parseFloat(e)))});try{e.data("zfPlugin",new i((0,r.default)(this),n))}catch(e){console.error(e)}finally{return}}})})},getFnName:l,addToJquery:function(r){return r.fn.foundation=function(n){var e=void 0===n?"undefined":s(n),t=r(".no-js");if(t.length&&t.removeClass("no-js"),"undefined"===e)a.MediaQuery._init(),u.reflow(this);else{if("string"!==e)throw new TypeError("We're sorry, "+e+" is not a valid parameter. You must use a string representing the method you wish to invoke.");var i=Array.prototype.slice.call(arguments,1),o=this.data("zfPlugin");if(void 0===o||void 0===o[n])throw new ReferenceError("We're sorry, '"+n+"' is not an available method for "+(o?l(o):"this element")+".");1===this.length?o[n].apply(o,i):this.each(function(e,t){o[n].apply(r(t).data("zfPlugin"),i)})}return this},r}};function l(e){if(void 0!==Function.prototype.name)return(void 0===e.prototype?e:e.prototype).constructor.name;e=/function\s([^(]{1,})\(/.exec(e.toString());return e&&1<e.length?e[1].trim():""}function d(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}u.util={throttle:function(n,i){var o=null;return function(){var e=this,t=arguments;null===o&&(o=setTimeout(function(){n.apply(e,t),o=null},i))}}},window.Foundation=u,function(){Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var i,e=["webkit","moz"],t=0;t<e.length&&!window.requestAnimationFrame;++t){var n=e[t];window.requestAnimationFrame=window[n+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]}!/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)&&window.requestAnimationFrame&&window.cancelAnimationFrame||(i=0,window.requestAnimationFrame=function(e){var t=Date.now(),n=Math.max(i+16,t);return setTimeout(function(){e(i=n)},n-t)},window.cancelAnimationFrame=clearTimeout),window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}})}(),Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");function t(){}function n(){return o.apply(this instanceof t?this:e,i.concat(Array.prototype.slice.call(arguments)))}var i=Array.prototype.slice.call(arguments,1),o=this;return this.prototype&&(t.prototype=this.prototype),n.prototype=new t,n}),t.Foundation=u},93:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Plugin=void 0;var i,o=function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e},r=((i=n(609))&&i.__esModule,n(318)),o=(o(s,[{key:"destroy",value:function(){this._destroy();var e,t=l(this);for(e in this.$element.removeAttr("data-"+t).removeData("zfPlugin").trigger("destroyed.zf."+t),this)this[e]=null}}]),s);function s(e,t){!function(e){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}(this),this._setup(e,t);t=l(this);this.uuid=(0,r.GetYoDigits)(6,t),this.$element.attr("data-"+t)||this.$element.attr("data-"+t,this.uuid),this.$element.data("zfPlugin")||this.$element.data("zfPlugin",this),this.$element.trigger("init.zf."+t)}function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function l(e){return void 0!==e.constructor.name?u(e.constructor.name):u(e.className)}t.Plugin=o},318:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ignoreMousedisappear=t.onLoad=t.transitionend=t.RegExpEscape=t.GetYoDigits=t.rtl=void 0;var u=(n=n(609))&&n.__esModule?n:{default:n};t.rtl=function(){return"rtl"===(0,u.default)("html").attr("dir")},t.GetYoDigits=function(e,t){return e=e||6,Math.round(Math.pow(36,e+1)-Math.random()*Math.pow(36,e)).toString(36).slice(1)+(t?"-"+t:"")},t.RegExpEscape=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},t.transitionend=function(e){var t,n,i={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},o=document.createElement("div");for(n in i)void 0!==o.style[n]&&(t=i[n]);return t||(t=setTimeout(function(){e.triggerHandler("transitionend",[e])},1),"transitionend")},t.onLoad=function(e,t){function n(){return e.triggerHandler(o)}var i="complete"===document.readyState,o=(i?"_didLoad":"load")+".zf.util.onLoad";return e&&(t&&e.one(o,t),i?setTimeout(n):(0,u.default)(window).one("load",n)),o},t.ignoreMousedisappear=function(r){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=e.ignoreLeaveWindow,s=void 0!==t&&t,e=e.ignoreReappear,a=void 0!==e&&e;return function(t){for(var e=arguments.length,n=Array(1<e?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var o=r.bind.apply(r,[this,t].concat(n));if(null!==t.relatedTarget)return o();setTimeout(function(){return s||!document.hasFocus||document.hasFocus()?void(a||(0,u.default)(document).one("mouseenter",function(e){(0,u.default)(t.currentTarget).has(e.target).length||(t.relatedTarget=e.target,o())})):o()},0)}}},354:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;function o(e,t,n){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,t);return void 0!==i?"value"in i?i.value:void 0!==(i=i.get)?i.call(n):void 0:null===(e=Object.getPrototypeOf(e))?void 0:o(e,t,n)}var i=function(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e},r=(u=n(609))&&u.__esModule?u:{default:u},s=n(401),a=n(318),u=n(382),l=n(274);function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)})(f,u.Positionable),i(f,[{key:"_setup",value:function(e,t){this.$element=e,this.options=r.default.extend({},f.defaults,this.$element.data(),t),this.className="Dropdown",l.Triggers.init(r.default),this._init(),s.Keyboard.register("Dropdown",{ENTER:"toggle",SPACE:"toggle",ESCAPE:"close"})}},{key:"_init",value:function(){var e=this.$element.attr("id");this.$anchors=(0,r.default)('[data-toggle="'+e+'"]').length?(0,r.default)('[data-toggle="'+e+'"]'):(0,r.default)('[data-open="'+e+'"]'),this.$anchors.attr({"aria-controls":e,"data-is-focus":!1,"data-yeti-box":e,"aria-haspopup":!0,"aria-expanded":!1}),this._setCurrentAnchor(this.$anchors.first()),this.options.parentClass?this.$parent=this.$element.parents("."+this.options.parentClass):this.$parent=null,void 0===this.$element.attr("aria-labelledby")&&(void 0===this.$currentAnchor.attr("id")&&this.$currentAnchor.attr("id",(0,a.GetYoDigits)(6,"dd-anchor")),this.$element.attr("aria-labelledby",this.$currentAnchor.attr("id"))),this.$element.attr({"aria-hidden":"true","data-yeti-box":e,"data-resize":e}),o(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"_init",this).call(this),this._events()}},{key:"_getDefaultPosition",value:function(){var e=this.$element[0].className.match(/(top|left|right|bottom)/g);return e?e[0]:"bottom"}},{key:"_getDefaultAlignment",value:function(){var e=/float-(\S+)/.exec(this.$currentAnchor.attr("class"));return e?e[1]:o(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"_getDefaultAlignment",this).call(this)}},{key:"_setPosition",value:function(){this.$element.removeClass("has-position-"+this.position+" has-alignment-"+this.alignment),o(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"_setPosition",this).call(this,this.$currentAnchor,this.$element,this.$parent),this.$element.addClass("has-position-"+this.position+" has-alignment-"+this.alignment)}},{key:"_setCurrentAnchor",value:function(e){this.$currentAnchor=(0,r.default)(e)}},{key:"_events",value:function(){var n=this;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":this.close.bind(this),"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":this._setPosition.bind(this)}),this.$anchors.off("click.zf.trigger").on("click.zf.trigger",function(){n._setCurrentAnchor(this)}),this.options.hover&&(this.$anchors.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",function(){n._setCurrentAnchor(this);var e=(0,r.default)("body").data();void 0!==e.whatinput&&"mouse"!==e.whatinput||(clearTimeout(n.timeout),n.timeout=setTimeout(function(){n.open(),n.$anchors.data("hover",!0)},n.options.hoverDelay))}).on("mouseleave.zf.dropdown",(0,a.ignoreMousedisappear)(function(){clearTimeout(n.timeout),n.timeout=setTimeout(function(){n.close(),n.$anchors.data("hover",!1)},n.options.hoverDelay)})),this.options.hoverPane&&this.$element.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",function(){clearTimeout(n.timeout)}).on("mouseleave.zf.dropdown",(0,a.ignoreMousedisappear)(function(){clearTimeout(n.timeout),n.timeout=setTimeout(function(){n.close(),n.$anchors.data("hover",!1)},n.options.hoverDelay)}))),this.$anchors.add(this.$element).on("keydown.zf.dropdown",function(e){var t=(0,r.default)(this);s.Keyboard.findFocusable(n.$element),s.Keyboard.handleKey(e,"Dropdown",{open:function(){t.is(n.$anchors)&&!t.is("input, textarea")&&(n.open(),n.$element.attr("tabindex",-1).focus(),e.preventDefault())},close:function(){n.close(),n.$anchors.focus()}})})}},{key:"_addBodyHandler",value:function(){var t=(0,r.default)(document.body).not(this.$element),n=this;t.off("click.zf.dropdown").on("click.zf.dropdown",function(e){n.$anchors.is(e.target)||n.$anchors.find(e.target).length||n.$element.is(e.target)||n.$element.find(e.target).length||(n.close(),t.off("click.zf.dropdown"))})}},{key:"open",value:function(){var e;this.$element.trigger("closeme.zf.dropdown",this.$element.attr("id")),this.$anchors.addClass("hover").attr({"aria-expanded":!0}),this.$element.addClass("is-opening"),this._setPosition(),this.$element.removeClass("is-opening").addClass("is-open").attr({"aria-hidden":!1}),this.options.autoFocus&&(e=s.Keyboard.findFocusable(this.$element)).length&&e.eq(0).focus(),this.options.closeOnClick&&this._addBodyHandler(),this.options.trapFocus&&s.Keyboard.trapFocus(this.$element),this.$element.trigger("show.zf.dropdown",[this.$element])}},{key:"close",value:function(){if(!this.$element.hasClass("is-open"))return!1;this.$element.removeClass("is-open").attr({"aria-hidden":!0}),this.$anchors.removeClass("hover").attr("aria-expanded",!1),this.$element.trigger("hide.zf.dropdown",[this.$element]),this.options.trapFocus&&s.Keyboard.releaseFocus(this.$element)}},{key:"toggle",value:function(){this.$element.hasClass("is-open")?this.$anchors.data("hover")||this.close():this.open()}},{key:"_destroy",value:function(){this.$element.off(".zf.trigger").hide(),this.$anchors.off(".zf.dropdown"),(0,r.default)(document.body).off("click.zf.dropdown")}}]),i=f;function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}i.defaults={parentClass:null,hoverDelay:250,hover:!1,hoverPane:!1,vOffset:0,hOffset:0,position:"auto",alignment:"auto",allowOverlap:!1,allowBottomOverlap:!0,trapFocus:!1,autoFocus:!1,closeOnClick:!1},t.Dropdown=i},960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownMenu=void 0;var i=function(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e},c=(o=n(609))&&o.__esModule?o:{default:o},o=n(93),a=n(318),h=n(401),r=n(231),s=n(778);function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)})(l,o.Plugin),i(l,[{key:"_setup",value:function(e,t){this.$element=e,this.options=c.default.extend({},l.defaults,this.$element.data(),t),this.className="DropdownMenu",this._init(),h.Keyboard.register("DropdownMenu",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close"})}},{key:"_init",value:function(){r.Nest.Feather(this.$element,"dropdown");var e=this.$element.find("li.is-dropdown-submenu-parent");this.$element.children(".is-dropdown-submenu-parent").children(".is-dropdown-submenu").addClass("first-sub"),this.$menuItems=this.$element.find('[role="menuitem"]'),this.$tabs=this.$element.children('[role="menuitem"]'),this.$tabs.find("ul.is-dropdown-submenu").addClass(this.options.verticalClass),"auto"===this.options.alignment?this.$element.hasClass(this.options.rightClass)||(0,a.rtl)()||this.$element.parents(".top-bar-right").is("*")?(this.options.alignment="right",e.addClass("opens-left")):(this.options.alignment="left",e.addClass("opens-right")):"right"===this.options.alignment?e.addClass("opens-left"):e.addClass("opens-right"),this.changed=!1,this._events()}},{key:"_isVertical",value:function(){return"block"===this.$tabs.css("display")||"column"===this.$element.css("flex-direction")}},{key:"_isRtl",value:function(){return this.$element.hasClass("align-right")||(0,a.rtl)()&&!this.$element.hasClass("align-left")}},{key:"_events",value:function(){var f=this,r="ontouchstart"in window||void 0!==window.ontouchstart,s="is-dropdown-submenu-parent";(this.options.clickOpen||r)&&this.$menuItems.on("click.zf.dropdownmenu touchstart.zf.dropdownmenu",function(e){var t=(0,c.default)(e.target).parentsUntil("ul","."+s),n=t.hasClass(s),i="true"===t.attr("data-is-click"),o=t.children(".is-dropdown-submenu");n&&(i?!f.options.closeOnClick||!f.options.clickOpen&&!r||f.options.forceFollow&&r||(e.stopImmediatePropagation(),e.preventDefault(),f._hide(t)):(e.preventDefault(),e.stopImmediatePropagation(),f._show(o),t.add(t.parentsUntil(f.$element,"."+s)).attr("data-is-click",!0)))}),f.options.closeOnClickInside&&this.$menuItems.on("click.zf.dropdownmenu",function(e){(0,c.default)(this).hasClass(s)||f._hide()}),this.options.disableHover||this.$menuItems.on("mouseenter.zf.dropdownmenu",function(e){var t=(0,c.default)(this);t.hasClass(s)&&(clearTimeout(t.data("_delay")),t.data("_delay",setTimeout(function(){f._show(t.children(".is-dropdown-submenu"))},f.options.hoverDelay)))}).on("mouseleave.zf.dropdownMenu",(0,a.ignoreMousedisappear)(function(e){var t=(0,c.default)(this);if(t.hasClass(s)&&f.options.autoclose){if("true"===t.attr("data-is-click")&&f.options.clickOpen)return!1;clearTimeout(t.data("_delay")),t.data("_delay",setTimeout(function(){f._hide(t)},f.options.closingTime))}})),this.$menuItems.on("keydown.zf.dropdownmenu",function(t){var n,i,o=(0,c.default)(t.target).parentsUntil("ul",'[role="menuitem"]'),e=-1<f.$tabs.index(o),r=e?f.$tabs:o.siblings("li").add(o);r.each(function(e){if((0,c.default)(this).is(o))return n=r.eq(e-1),void(i=r.eq(e+1))});function s(){i.children("a:first").focus(),t.preventDefault()}function a(){n.children("a:first").focus(),t.preventDefault()}function u(){var e=o.children("ul.is-dropdown-submenu");e.length&&(f._show(e),o.find("li > a:first").focus(),t.preventDefault())}function l(){var e=o.parent("ul").parent("li");e.children("a:first").focus(),f._hide(e),t.preventDefault()}var d={open:u,close:function(){f._hide(f.$element),f.$menuItems.eq(0).children("a").focus(),t.preventDefault()},handled:function(){t.stopImmediatePropagation()}};e?f._isVertical()?f._isRtl()?c.default.extend(d,{down:s,up:a,next:l,previous:u}):c.default.extend(d,{down:s,up:a,next:u,previous:l}):f._isRtl()?c.default.extend(d,{next:a,previous:s,down:u,up:l}):c.default.extend(d,{next:s,previous:a,down:u,up:l}):f._isRtl()?c.default.extend(d,{next:l,previous:u,down:s,up:a}):c.default.extend(d,{next:u,previous:l,down:s,up:a}),h.Keyboard.handleKey(t,"DropdownMenu",d)})}},{key:"_addBodyHandler",value:function(){var t=(0,c.default)(document.body),n=this;t.off("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu").on("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu",function(e){n.$element.find(e.target).length||(n._hide(),t.off("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu"))})}},{key:"_show",value:function(n){var e=this.$tabs.index(this.$tabs.filter(function(e,t){return 0<(0,c.default)(t).find(n).length})),t=n.parent("li.is-dropdown-submenu-parent").siblings("li.is-dropdown-submenu-parent");this._hide(t,e),n.css("visibility","hidden").addClass("js-dropdown-active").parent("li.is-dropdown-submenu-parent").addClass("is-active"),s.Box.ImNotTouchingYou(n,null,!0)||(t="left"===this.options.alignment?"-right":"-left",(e=n.parent(".is-dropdown-submenu-parent")).removeClass("opens"+t).addClass("opens-"+this.options.alignment),s.Box.ImNotTouchingYou(n,null,!0)||e.removeClass("opens-"+this.options.alignment).addClass("opens-inner"),this.changed=!0),n.css("visibility",""),this.options.closeOnClick&&this._addBodyHandler(),this.$element.trigger("show.zf.dropdownmenu",[n])}},{key:"_hide",value:function(e,n){var t;((t=e&&e.length?e:void 0!==n?this.$tabs.not(function(e,t){return e===n}):this.$element).hasClass("is-active")||0<t.find(".is-active").length)&&(t.find("li.is-active").add(t).attr({"data-is-click":!1}).removeClass("is-active"),t.find("ul.js-dropdown-active").removeClass("js-dropdown-active"),(this.changed||t.find("opens-inner").length)&&(e="left"===this.options.alignment?"right":"left",t.find("li.is-dropdown-submenu-parent").add(t).removeClass("opens-inner opens-"+this.options.alignment).addClass("opens-"+e),this.changed=!1),this.$element.trigger("hide.zf.dropdownmenu",[t]))}},{key:"_destroy",value:function(){this.$menuItems.off(".zf.dropdownmenu").removeAttr("data-is-click").removeClass("is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner"),(0,c.default)(document.body).off(".zf.dropdownmenu"),r.Nest.Burn(this.$element,"dropdown")}}]),i=l;function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}i.defaults={disableHover:!1,autoclose:!0,hoverDelay:50,clickOpen:!1,closingTime:500,alignment:"auto",closeOnClick:!0,closeOnClickInside:!0,verticalClass:"vertical",rightClass:"align-right",forceFollow:!0},t.DropdownMenu=i},987:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Interchange=void 0;var i=function(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e},o=(s=n(609))&&s.__esModule?s:{default:s},r=n(857),s=n(93),a=n(318);function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)})(l,s.Plugin),i(l,[{key:"_setup",value:function(e,t){this.$element=e,this.options=o.default.extend({},l.defaults,t),this.rules=[],this.currentPath="",this.className="Interchange",this._init(),this._events()}},{key:"_init",value:function(){r.MediaQuery._init();var e=this.$element[0].id||(0,a.GetYoDigits)(6,"interchange");this.$element.attr({"data-resize":e,id:e}),this._addBreakpoints(),this._generateRules(),this._reflow()}},{key:"_events",value:function(){var e=this;this.$element.off("resizeme.zf.trigger").on("resizeme.zf.trigger",function(){return e._reflow()})}},{key:"_reflow",value:function(){var e,t,n;for(t in this.rules)this.rules.hasOwnProperty(t)&&(n=this.rules[t],window.matchMedia(n.query).matches&&(e=n));e&&this.replace(e.path)}},{key:"_addBreakpoints",value:function(){for(var e in r.MediaQuery.queries)r.MediaQuery.queries.hasOwnProperty(e)&&(e=r.MediaQuery.queries[e],l.SPECIAL_QUERIES[e.name]=e.value)}},{key:"_generateRules",value:function(e){var t,n,i,o,r=[];for(n in t="string"==typeof(t=this.options.rules||this.$element.data("interchange"))?t.match(/\[.*?, .*?\]/g):t)t.hasOwnProperty(n)&&(i=(o=t[n].slice(1,-1).split(", ")).slice(0,-1).join(""),o=o[o.length-1],l.SPECIAL_QUERIES[o]&&(o=l.SPECIAL_QUERIES[o]),r.push({path:i,query:o}));this.rules=r}},{key:"replace",value:function(t){var n,i;this.currentPath!==t&&(i="replaced.zf.interchange","IMG"===(n=this).$element[0].nodeName?this.$element.attr("src",t).on("load",function(){n.currentPath=t}).trigger(i):t.match(/\.(gif|jpg|jpeg|png|svg|tiff)([?#].*)?/i)?(t=t.replace(/\(/g,"%28").replace(/\)/g,"%29"),this.$element.css({"background-image":"url("+t+")"}).trigger(i)):o.default.get(t,function(e){n.$element.html(e).trigger(i),(0,o.default)(e).foundation(),n.currentPath=t}))}},{key:"_destroy",value:function(){this.$element.off("resizeme.zf.trigger")}}]),i=l;function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}i.defaults={rules:null},i.SPECIAL_QUERIES={landscape:"screen and (orientation: landscape)",portrait:"screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)"},t.Interchange=i},382:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Positionable=void 0;var i=function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e},s=n(778),o=n(93),r=n(318);function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var u=["left","right","top","bottom"],l=["top","bottom","center"],n=["left","right","center"],d={left:l,right:l,top:n,bottom:n};function f(e,t){e=t.indexOf(e);return e===t.length-1?t[0]:t[e+1]}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)})(c,o.Plugin),i(c,[{key:"_init",value:function(){this.triedPositions={},this.position="auto"===this.options.position?this._getDefaultPosition():this.options.position,this.alignment="auto"===this.options.alignment?this._getDefaultAlignment():this.options.alignment,this.originalPosition=this.position,this.originalAlignment=this.alignment}},{key:"_getDefaultPosition",value:function(){return"bottom"}},{key:"_getDefaultAlignment",value:function(){switch(this.position){case"bottom":case"top":return(0,r.rtl)()?"right":"left";case"left":case"right":return"bottom"}}},{key:"_reposition",value:function(){this._alignmentsExhausted(this.position)?(this.position=f(this.position,u),this.alignment=d[this.position][0]):this._realign()}},{key:"_realign",value:function(){this._addTriedPosition(this.position,this.alignment),this.alignment=f(this.alignment,d[this.position])}},{key:"_addTriedPosition",value:function(e,t){this.triedPositions[e]=this.triedPositions[e]||[],this.triedPositions[e].push(t)}},{key:"_positionsExhausted",value:function(){for(var e=!0,t=0;t<u.length;t++)e=e&&this._alignmentsExhausted(u[t]);return e}},{key:"_alignmentsExhausted",value:function(e){return this.triedPositions[e]&&this.triedPositions[e].length==d[e].length}},{key:"_getVOffset",value:function(){return this.options.vOffset}},{key:"_getHOffset",value:function(){return this.options.hOffset}},{key:"_setPosition",value:function(e,t,n){if("false"===e.attr("aria-expanded"))return!1;if(s.Box.GetDimensions(t),s.Box.GetDimensions(e),this.options.allowOverlap||(this.position=this.originalPosition,this.alignment=this.originalAlignment),t.offset(s.Box.GetExplicitOffsets(t,e,this.position,this.alignment,this._getVOffset(),this._getHOffset())),!this.options.allowOverlap){for(var i=1e8,o={position:this.position,alignment:this.alignment};!this._positionsExhausted();){var r=s.Box.OverlapArea(t,n,!1,!1,this.options.allowBottomOverlap);if(0===r)return;r<i&&(i=r,o={position:this.position,alignment:this.alignment}),this._reposition(),t.offset(s.Box.GetExplicitOffsets(t,e,this.position,this.alignment,this._getVOffset(),this._getHOffset()))}this.position=o.position,this.alignment=o.alignment,t.offset(s.Box.GetExplicitOffsets(t,e,this.position,this.alignment,this._getVOffset(),this._getHOffset()))}}}]),i=c;function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).apply(this,arguments))}i.defaults={position:"auto",alignment:"auto",allowOverlap:!1,allowBottomOverlap:!0,vOffset:0,hOffset:0},t.Positionable=i},778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Box=void 0;var s=n(318);function r(e,t,n,i,o){var r,s,a,e=f(e);return e=t?(r=(t=f(t)).height+t.offset.top-(e.offset.top+e.height),s=e.offset.top-t.offset.top,a=e.offset.left-t.offset.left,t.width+t.offset.left-(e.offset.left+e.width)):(r=e.windowDims.height+e.windowDims.offset.top-(e.offset.top+e.height),s=e.offset.top-e.windowDims.offset.top,a=e.offset.left-e.windowDims.offset.left,e.windowDims.width-(e.offset.left+e.width)),r=o?0:Math.min(r,0),s=Math.min(s,0),a=Math.min(a,0),e=Math.min(e,0),n?a+e:i?s+r:Math.sqrt(s*s+r*r+a*a+e*e)}function f(e){if((e=e.length?e[0]:e)===window||e===document)throw new Error("I'm sorry, Dave. I'm afraid I can't do that.");var t=e.getBoundingClientRect(),n=e.parentNode.getBoundingClientRect(),i=document.body.getBoundingClientRect(),o=window.pageYOffset,e=window.pageXOffset;return{width:t.width,height:t.height,offset:{top:t.top+o,left:t.left+e},parentDims:{width:n.width,height:n.height,offset:{top:n.top+o,left:n.left+e}},windowDims:{width:i.width,height:i.height,offset:{top:o,left:e}}}}function a(e,t,n,i,o,r,s){var a,u,l=f(e),d=t?f(t):null;switch(n){case"top":a=d.offset.top-(l.height+o);break;case"bottom":a=d.offset.top+d.height+o;break;case"left":u=d.offset.left-(l.width+r);break;case"right":u=d.offset.left+d.width+r}switch(n){case"top":case"bottom":switch(i){case"left":u=d.offset.left+r;break;case"right":u=d.offset.left-l.width+d.width-r;break;case"center":u=s?r:d.offset.left+d.width/2-l.width/2+r}break;case"right":case"left":switch(i){case"bottom":a=d.offset.top-o+d.height-l.height;break;case"top":a=d.offset.top+o;break;case"center":a=d.offset.top+o+d.height/2-l.height/2}}return{top:a,left:u}}t.Box={ImNotTouchingYou:function(e,t,n,i,o){return 0===r(e,t,n,i,o)},OverlapArea:r,GetDimensions:f,GetOffsets:function(e,t,n,i,o,r){switch(console.log("NOTE: GetOffsets is deprecated in favor of GetExplicitOffsets and will be removed in 6.5"),n){case"top":return(0,s.rtl)()?a(e,t,"top","left",i,o,r):a(e,t,"top","right",i,o,r);case"bottom":return(0,s.rtl)()?a(e,t,"bottom","left",i,o,r):a(e,t,"bottom","right",i,o,r);case"center top":return a(e,t,"top","center",i,o,r);case"center bottom":return a(e,t,"bottom","center",i,o,r);case"center left":return a(e,t,"left","center",i,o,r);case"center right":return a(e,t,"right","center",i,o,r);case"left bottom":return a(e,t,"bottom","left",i,o,r);case"right bottom":return a(e,t,"bottom","right",i,o,r);case"center":return{left:$eleDims.windowDims.offset.left+$eleDims.windowDims.width/2-$eleDims.width/2+o,top:$eleDims.windowDims.offset.top+$eleDims.windowDims.height/2-($eleDims.height/2+i)};case"reveal":return{left:($eleDims.windowDims.width-$eleDims.width)/2+o,top:$eleDims.windowDims.offset.top+i};case"reveal full":return{left:$eleDims.windowDims.offset.left,top:$eleDims.windowDims.offset.top};default:return{left:(0,s.rtl)()?$anchorDims.offset.left-$eleDims.width+$anchorDims.width-o:$anchorDims.offset.left+o,top:$anchorDims.offset.top+$anchorDims.height+i}}},GetExplicitOffsets:a}},541:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onImagesLoaded=void 0;var o=(n=n(609))&&n.__esModule?n:{default:n};t.onImagesLoaded=function(e,t){var n=e.length;function i(){0==--n&&t()}0===n&&t(),e.each(function(){var e,n;this.complete&&void 0!==this.naturalWidth?i():(e=new Image,n="load.zf.images error.zf.images",(0,o.default)(e).one(n,function e(t){(0,o.default)(this).off(n,e),i()}),e.src=(0,o.default)(this).attr("src"))})}},401:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Keyboard=void 0;var i,o=(i=n(609))&&i.__esModule?i:{default:i},r=n(318),s={9:"TAB",13:"ENTER",27:"ESCAPE",32:"SPACE",35:"END",36:"HOME",37:"ARROW_LEFT",38:"ARROW_UP",39:"ARROW_RIGHT",40:"ARROW_DOWN"},a={};function u(e){return!!e&&e.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(function(){return!(!(0,o.default)(this).is(":visible")||(0,o.default)(this).attr("tabindex")<0)})}function l(e){var t=(t=s[e.which||e.keyCode]||String.fromCharCode(e.which).toUpperCase()).replace(/\W+/,"");return e.shiftKey&&(t="SHIFT_"+t),e.ctrlKey&&(t="CTRL_"+t),(t=e.altKey?"ALT_"+t:t).replace(/_$/,"")}n={keys:function(e){var t,n={};for(t in e)n[e[t]]=e[t];return n}(s),parseKey:l,handleKey:function(e,t,n){var t=a[t],e=this.parseKey(e);if(!t)return console.warn("Component not defined!");(e=n[(void 0===t.ltr?t:(0,r.rtl)()?o.default.extend({},t.ltr,t.rtl):o.default.extend({},t.rtl,t.ltr))[e]])&&"function"==typeof e?(e=e.apply(),!n.handled&&"function"!=typeof n.handled||n.handled(e)):!n.unhandled&&"function"!=typeof n.unhandled||n.unhandled()},findFocusable:u,register:function(e,t){a[e]=t},trapFocus:function(e){var t=u(e),n=t.eq(0),i=t.eq(-1);e.on("keydown.zf.trapfocus",function(e){e.target===i[0]&&"TAB"===l(e)?(e.preventDefault(),n.focus()):e.target===n[0]&&"SHIFT_TAB"===l(e)&&(e.preventDefault(),i.focus())})},releaseFocus:function(e){e.off("keydown.zf.trapfocus")}};t.Keyboard=n},857:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaQuery=void 0;var i,o,r,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=(n=n(609))&&n.__esModule?n:{default:n};window.matchMedia||(window.matchMedia=((r=window.styleMedia||window.media)||(o=document.createElement("style"),n=document.getElementsByTagName("script")[0],o.type="text/css",o.id="matchmediajs-test",n?n.parentNode.insertBefore(o,n):document.head.appendChild(o),i="getComputedStyle"in window&&window.getComputedStyle(o,null)||o.currentStyle,r={matchMedium:function(e){e="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return o.styleSheet?o.styleSheet.cssText=e:o.textContent=e,"1px"===i.width}}),function(e){return{matches:r.matchMedium(e||"all"),media:e||"all"}})),t.MediaQuery={queries:[],current:"",_init:function(){(0,a.default)("meta.foundation-mq").length||(0,a.default)('<meta class="foundation-mq">').appendTo(document.head);var e,t,n,i;for(n in i={},e="string"==typeof(t=(0,a.default)(".foundation-mq").css("font-family"))&&(t=t.trim().slice(1,-1))?t.split("&").reduce(function(e,t){var n=t.replace(/\+/g," ").split("="),t=n[0],n=n[1],t=decodeURIComponent(t),n=void 0===n?null:decodeURIComponent(n);return e.hasOwnProperty(t)?Array.isArray(e[t])?e[t].push(n):e[t]=[e[t],n]:e[t]=n,e},{}):i)e.hasOwnProperty(n)&&this.queries.push({name:n,value:"only screen and (min-width: "+e[n]+")"});this.current=this._getCurrentSize(),this._watcher()},atLeast:function(e){e=this.get(e);return!!e&&window.matchMedia(e).matches},is:function(e){return 1<(e=e.trim().split(" ")).length&&"only"===e[1]?e[0]===this._getCurrentSize():this.atLeast(e[0])},get:function(e){for(var t in this.queries)if(this.queries.hasOwnProperty(t)){t=this.queries[t];if(e===t.name)return t.value}return null},_getCurrentSize:function(){for(var e,t=0;t<this.queries.length;t++){var n=this.queries[t];window.matchMedia(n.value).matches&&(e=n)}return"object"===(void 0===e?"undefined":s(e))?e.name:e},_watcher:function(){var n=this;(0,a.default)(window).off("resize.zf.mediaquery").on("resize.zf.mediaquery",function(){var e=n._getCurrentSize(),t=n.current;e!==t&&(n.current=e,(0,a.default)(window).trigger("changed.zf.mediaquery",[e,t]))})}}},208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Motion=t.Move=void 0;var i,a=(i=n(609))&&i.__esModule?i:{default:i},u=n(318),l=["mui-enter","mui-leave"],d=["mui-enter-active","mui-leave-active"],n={animateIn:function(e,t,n){o(!0,e,t,n)},animateOut:function(e,t,n){o(!1,e,t,n)}};function o(e,t,n,i){var o,r;function s(){t[0].style.transitionDuration=0,t.removeClass(o+" "+r+" "+n)}(t=(0,a.default)(t).eq(0)).length&&(o=e?l[0]:l[1],r=e?d[0]:d[1],s(),t.addClass(n).css("transition","none"),requestAnimationFrame(function(){t.addClass(o),e&&t.show()}),requestAnimationFrame(function(){t[0].offsetWidth,t.css("transition","").addClass(r)}),t.one((0,u.transitionend)(t),function(){e||t.hide(),s(),i&&i.apply(t)}))}t.Move=function(n,i,o){var r,s,a=null;if(0===n)return o.apply(i),void i.trigger("finished.zf.animate",[i]).triggerHandler("finished.zf.animate",[i]);r=window.requestAnimationFrame(function e(t){s=t-(a=a||t),o.apply(i),s<n?r=window.requestAnimationFrame(e,i):(window.cancelAnimationFrame(r),i.trigger("finished.zf.animate",[i]).triggerHandler("finished.zf.animate",[i]))})},t.Motion=n},231:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Nest=void 0;var a=(n=n(609))&&n.__esModule?n:{default:n};t.Nest={Feather:function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"zf";e.attr("role","menubar");var e=e.find("li").attr({role:"menuitem"}),i="is-"+n+"-submenu",o=i+"-item",r="is-"+n+"-submenu-parent",s="accordion"!==n;e.each(function(){var e=(0,a.default)(this),t=e.children("ul");t.length&&(e.addClass(r),t.addClass("submenu "+i).attr({"data-submenu":""}),s&&(e.attr({"aria-haspopup":!0,"aria-label":e.children("a:first").text()}),"drilldown"===n&&e.attr({"aria-expanded":!1})),t.addClass("submenu "+i).attr({"data-submenu":"",role:"menubar"}),"drilldown"===n&&t.attr({"aria-hidden":!0})),e.parent("[data-submenu]").length&&e.addClass("is-submenu-item "+o)})},Burn:function(e,t){var n="is-"+t+"-submenu",i=n+"-item",t="is-"+t+"-submenu-parent";e.find(">li, > li > ul, .menu, .menu > li, [data-submenu] > li").removeClass(n+" "+i+" "+t+" is-submenu-item submenu is-active").removeAttr("data-submenu").css("display","")}}},506:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timer=void 0,(n=n(609))&&n.__esModule,t.Timer=function(t,e,n){var i,o,r=this,s=e.duration,a=Object.keys(t.data())[0]||"timer",u=-1;this.isPaused=!1,this.restart=function(){u=-1,clearTimeout(o),this.start()},this.start=function(){this.isPaused=!1,clearTimeout(o),u=u<=0?s:u,t.data("paused",!1),i=Date.now(),o=setTimeout(function(){e.infinite&&r.restart(),n&&"function"==typeof n&&n()},u),t.trigger("timerstart.zf."+a)},this.pause=function(){this.isPaused=!0,clearTimeout(o),t.data("paused",!0);var e=Date.now();u-=e-i,t.trigger("timerpaused.zf."+a)}}},193:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Touch=void 0;var i,o,r,s,a=function(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e},u=(n=n(609))&&n.__esModule?n:{default:n},l={},d=!1,f=!1;function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function h(e){this.removeEventListener("touchmove",p),this.removeEventListener("touchend",h),f||(e=u.default.Event("tap",s||e),(0,u.default)(this).trigger(e)),s=null,f=d=!1}function p(e){var t,n;u.default.spotSwipe.preventDefault&&e.preventDefault(),d&&(n=e.touches[0].pageX,e.touches[0].pageY,n=i-n,f=!0,r=(new Date).getTime()-o,(t=Math.abs(n)>=u.default.spotSwipe.moveThreshold&&r<=u.default.spotSwipe.timeThreshold?0<n?"left":"right":t)&&(e.preventDefault(),h.apply(this,arguments),(0,u.default)(this).trigger(u.default.Event("swipe",e),t).trigger(u.default.Event("swipe"+t,e))))}function m(e){1==e.touches.length&&(i=e.touches[0].pageX,e.touches[0].pageY,s=e,f=!(d=!0),o=(new Date).getTime(),this.addEventListener("touchmove",p,!1),this.addEventListener("touchend",h,!1))}function g(){this.addEventListener&&this.addEventListener("touchstart",m,!1)}var v=(a(w,[{key:"_init",value:function(){var e=this.$;e.event.special.swipe={setup:g},e.event.special.tap={setup:g},e.each(["left","up","down","right"],function(){e.event.special["swipe"+this]={setup:function(){e(this).on("swipe",e.noop)}}})}}]),w);function w(e){!function(e){if(!(e instanceof w))throw new TypeError("Cannot call a class as a function")}(this),this.version="1.0.0",this.enabled="ontouchstart"in document.documentElement,this.preventDefault=!1,this.moveThreshold=75,this.timeThreshold=200,this.$=e,this._init()}l.setupSpotSwipe=function(e){e.spotSwipe=new v(e)},l.setupTouchHandler=function(i){i.fn.addTouch=function(){this.each(function(e,t){i(t).bind("touchstart touchmove touchend touchcancel",function(e){n(e)})});var n=function(e){var t,n=e.changedTouches[0],e={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup"}[e.type];"MouseEvent"in window&&"function"==typeof window.MouseEvent?t=new window.MouseEvent(e,{bubbles:!0,cancelable:!0,screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY}):(t=document.createEvent("MouseEvent")).initMouseEvent(e,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),n.target.dispatchEvent(t)}}},l.init=function(e){void 0===e.spotSwipe&&(l.setupSpotSwipe(e),l.setupTouchHandler(e))},t.Touch=l},274:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Triggers=void 0;function i(t,n){t.data(n).split(" ").forEach(function(e){(0,s.default)("#"+e)["close"===n?"trigger":"triggerHandler"](n+".zf.trigger",[t])})}var o,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=(o=n(609))&&o.__esModule?o:{default:o},a=n(318),u=n(208),l=function(){for(var e=["WebKit","Moz","O","Ms",""],t=0;t<e.length;t++)if(e[t]+"MutationObserver"in window)return window[e[t]+"MutationObserver"];return!1}(),d={Listeners:{Basic:{},Global:{}},Initializers:{}};function f(t,e,n){var i=void 0,o=Array.prototype.slice.call(arguments,3);(0,s.default)(window).off(e).on(e,function(e){i&&clearTimeout(i),i=setTimeout(function(){n.apply(null,o)},t||10)})}d.Listeners.Basic={openListener:function(){i((0,s.default)(this),"open")},closeListener:function(){(0,s.default)(this).data("close")?i((0,s.default)(this),"close"):(0,s.default)(this).trigger("close.zf.trigger")},toggleListener:function(){(0,s.default)(this).data("toggle")?i((0,s.default)(this),"toggle"):(0,s.default)(this).trigger("toggle.zf.trigger")},closeableListener:function(e){e.stopPropagation();e=(0,s.default)(this).data("closable");""!==e?u.Motion.animateOut((0,s.default)(this),e,function(){(0,s.default)(this).trigger("closed.zf")}):(0,s.default)(this).fadeOut().trigger("closed.zf")},toggleFocusListener:function(){var e=(0,s.default)(this).data("toggle-focus");(0,s.default)("#"+e).triggerHandler("toggle.zf.trigger",[(0,s.default)(this)])}},d.Initializers.addOpenListener=function(e){e.off("click.zf.trigger",d.Listeners.Basic.openListener),e.on("click.zf.trigger","[data-open]",d.Listeners.Basic.openListener)},d.Initializers.addCloseListener=function(e){e.off("click.zf.trigger",d.Listeners.Basic.closeListener),e.on("click.zf.trigger","[data-close]",d.Listeners.Basic.closeListener)},d.Initializers.addToggleListener=function(e){e.off("click.zf.trigger",d.Listeners.Basic.toggleListener),e.on("click.zf.trigger","[data-toggle]",d.Listeners.Basic.toggleListener)},d.Initializers.addCloseableListener=function(e){e.off("close.zf.trigger",d.Listeners.Basic.closeableListener),e.on("close.zf.trigger","[data-closeable], [data-closable]",d.Listeners.Basic.closeableListener)},d.Initializers.addToggleFocusListener=function(e){e.off("focus.zf.trigger blur.zf.trigger",d.Listeners.Basic.toggleFocusListener),e.on("focus.zf.trigger blur.zf.trigger","[data-toggle-focus]",d.Listeners.Basic.toggleFocusListener)},d.Listeners.Global={resizeListener:function(e){l||e.each(function(){(0,s.default)(this).triggerHandler("resizeme.zf.trigger")}),e.attr("data-events","resize")},scrollListener:function(e){l||e.each(function(){(0,s.default)(this).triggerHandler("scrollme.zf.trigger")}),e.attr("data-events","scroll")},closeMeListener:function(e,t){e=e.namespace.split(".")[0];(0,s.default)("[data-"+e+"]").not('[data-yeti-box="'+t+'"]').each(function(){var e=(0,s.default)(this);e.triggerHandler("close.zf.trigger",[e])})}},d.Initializers.addClosemeListener=function(e){var t=(0,s.default)("[data-yeti-box]"),n=["dropdown","tooltip","reveal"];e&&("string"==typeof e?n.push(e):"object"===(void 0===e?"undefined":r(e))&&"string"==typeof e[0]?n.concat(e):console.error("Plugin names must be strings")),t.length&&(n=n.map(function(e){return"closeme.zf."+e}).join(" "),(0,s.default)(window).off(n).on(n,d.Listeners.Global.closeMeListener))},d.Initializers.addResizeListener=function(e){var t=(0,s.default)("[data-resize]");t.length&&f(e,"resize.zf.trigger",d.Listeners.Global.resizeListener,t)},d.Initializers.addScrollListener=function(e){var t=(0,s.default)("[data-scroll]");t.length&&f(e,"scroll.zf.trigger",d.Listeners.Global.scrollListener,t)},d.Initializers.addMutationEventsListener=function(e){if(!l)return!1;function t(e){var t=(0,s.default)(e[0].target);switch(e[0].type){case"attributes":"scroll"===t.attr("data-events")&&"data-events"===e[0].attributeName&&t.triggerHandler("scrollme.zf.trigger",[t,window.pageYOffset]),"resize"===t.attr("data-events")&&"data-events"===e[0].attributeName&&t.triggerHandler("resizeme.zf.trigger",[t]),"style"===e[0].attributeName&&(t.closest("[data-mutate]").attr("data-events","mutate"),t.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[t.closest("[data-mutate]")]));break;case"childList":t.closest("[data-mutate]").attr("data-events","mutate"),t.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[t.closest("[data-mutate]")]);break;default:return!1}}var n=e.find("[data-resize], [data-scroll], [data-mutate]");if(n.length)for(var i=0;i<=n.length-1;i++)new l(t).observe(n[i],{attributes:!0,childList:!0,characterData:!1,subtree:!0,attributeFilter:["data-events","style"]})},d.Initializers.addSimpleListeners=function(){var e=(0,s.default)(document);d.Initializers.addOpenListener(e),d.Initializers.addCloseListener(e),d.Initializers.addToggleListener(e),d.Initializers.addCloseableListener(e),d.Initializers.addToggleFocusListener(e)},d.Initializers.addGlobalListeners=function(){var e=(0,s.default)(document);d.Initializers.addMutationEventsListener(e),d.Initializers.addResizeListener(),d.Initializers.addScrollListener(),d.Initializers.addClosemeListener()},d.init=function(e,t){(0,a.onLoad)(e(window),function(){!0!==e.triggersInitialized&&(d.Initializers.addSimpleListeners(),d.Initializers.addGlobalListeners(),e.triggersInitialized=!0)}),t&&(t.Triggers=d,t.IHearYou=d.Initializers.addGlobalListeners)},t.Triggers=d},852:(e,t,n)=>{"use strict";var i=(g=n(609))&&g.__esModule?g:{default:g},o=n(545),r=n(318),s=n(778),a=n(541),u=n(401),l=n(857),d=n(208),f=n(231),c=n(506),h=n(193),p=n(274),m=n(354),g=n(960),n=n(987);o.Foundation.addToJquery(i.default),o.Foundation.rtl=r.rtl,o.Foundation.GetYoDigits=r.GetYoDigits,o.Foundation.transitionend=r.transitionend,o.Foundation.Box=s.Box,o.Foundation.onImagesLoaded=a.onImagesLoaded,o.Foundation.Keyboard=u.Keyboard,o.Foundation.MediaQuery=l.MediaQuery,o.Foundation.Motion=d.Motion,o.Foundation.Move=d.Move,o.Foundation.Nest=f.Nest,o.Foundation.Timer=c.Timer,h.Touch.init(i.default),p.Triggers.init(i.default,o.Foundation),o.Foundation.plugin(m.Dropdown,"Dropdown"),o.Foundation.plugin(g.DropdownMenu,"DropdownMenu"),o.Foundation.plugin(n.Interchange,"Interchange"),e.exports=o.Foundation},474:function(e){e.exports=function(){return o={},n.m=i=[function(e,t){"use strict";e.exports=function(){var o="initial",r=null,n=document.documentElement,s=["input","select","textarea"],i=[],a=[16,17,18,91,93],u=[9],l={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch"},e=[],d=!1,f=!1,c={x:null,y:null},t={2:"touch",3:"touch",4:"mouse"},h=!1;try{var p=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,p)}catch(o){}function m(e){var t,n,i;d||(t=e.which,"pointer"===(n=l[e.type])&&(n=_(e)),o===n&&r===n||(i=!1,((e=document.activeElement)&&e.nodeName&&-1===s.indexOf(e.nodeName.toLowerCase())||-1!==u.indexOf(t))&&(i=!0),("touch"===n||"mouse"===n||"keyboard"===n&&t&&i&&-1===a.indexOf(t))&&(o=r=n,y())))}function g(e){var t;c.x!==e.screenX||c.y!==e.screenY?(f=!1,c.x=e.screenX,c.y=e.screenY):f=!0,d||f||("pointer"===(t=l[e.type])&&(t=_(e)),r!==t&&(r=t,n.setAttribute("data-whatintent",r),b("intent")))}function v(e){"touchstart"===e.type?(d=!1,m(e)):d=!0}function w(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"}var y=function(){n.setAttribute("data-whatinput",o),n.setAttribute("data-whatintent",o),-1===e.indexOf(o)&&(e.push(o),n.className+=" whatinput-types-"+o),b("input")},b=function(e){for(var t=0,n=i.length;t<n;t++)i[t].type===e&&i[t].fn.call(void 0,r)},_=function(e){return"number"==typeof e.pointerType?t[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType};return"addEventListener"in window&&Array.prototype.indexOf&&(l[w()]="mouse",p=!!h&&{passive:!0},window.PointerEvent?(n.addEventListener("pointerdown",m),n.addEventListener("pointermove",g)):window.MSPointerEvent?(n.addEventListener("MSPointerDown",m),n.addEventListener("MSPointerMove",g)):(n.addEventListener("mousedown",m),n.addEventListener("mousemove",g),"ontouchstart"in window&&(n.addEventListener("touchstart",v,p),n.addEventListener("touchend",v))),n.addEventListener(w(),g,p),n.addEventListener("keydown",m),n.addEventListener("keyup",m),y()),{ask:function(e){return"loose"===e?r:o},types:function(){return e},ignoreKeys:function(e){a=e},registerOnChange:function(e,t){i.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){e=function(e){for(var t=0,n=i.length;t<n;t++)if(i[t].fn===e)return t}(e);e&&i.splice(e,1)}}}()}],n.c=o,n.p="",n(0);function n(e){if(o[e])return o[e].exports;var t=o[e]={exports:{},id:e,loaded:!1};return i[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}var i,o}()},609:e=>{"use strict";e.exports=jQuery}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;t=i[e]={exports:{}};return n[e].call(t.exports,t,t.exports,o),t.exports}(()=>{"use strict";var e=t(o(609));function t(e){return e&&e.__esModule?e:{default:e}}t(o(474)),o(852),window.$=e.default,(0,e.default)(document).foundation()})()})();