; (function (root, factory) { if (typeof define === 'function' && define.amd) { define(['jquery'], factory); } else if (typeof exports === 'object') { module.exports = factory(require('jquery')); } else { root.jquery_mmenu_all_js = factory(root.jQuery); } }(this, function (jQuery) { /*! * jQuery mmenu v7.1.0 * @requires jQuery 1.7.0 or later * * mmenu.frebsite.nl * * Copyright (c) Fred Heusschen * www.frebsite.nl * * License: CC-BY-NC-4.0 * http://creativecommons.org/licenses/by-nc/4.0/ */ !function (e) { function t() { e[n].glbl || (l = { $wndw: e(window), $docu: e(document), $html: e("html"), $body: e("body") }, s = {}, a = {}, r = {}, e.each([s, a, r], function (e, t) { t.add = function (e) { e = e.split(" "); for (var n = 0, i = e.length; n < i; n++) t[e[n]] = t.mm(e[n]) } }), s.mm = function (e) { return "mm-" + e }, s.add("wrapper menu panels panel nopanel navbar listview nolistview listitem btn hidden"), s.umm = function (e) { return "mm-" == e.slice(0, 3) && (e = e.slice(3)), e }, a.mm = function (e) { return "mm-" + e }, a.add("parent child title"), r.mm = function (e) { return e + ".mm" }, r.add("transitionend webkitTransitionEnd click scroll resize keydown mousedown mouseup touchstart touchmove touchend orientationchange"), e[n]._c = s, e[n]._d = a, e[n]._e = r, e[n].glbl = l) } var n = "mmenu", i = "7.1.0"; if (!(e[n] && e[n].version > i)) { e[n] = function (e, t, n) { return this.$menu = e, this._api = ["bind", "getInstance", "initPanels", "openPanel", "closePanel", "closeAllPanels", "setSelected"], this.opts = t, this.conf = n, this.vars = {}, this.cbck = {}, this.mtch = {}, "function" == typeof this.___deprecated && this.___deprecated(), this._initWrappers(), this._initAddons(), this._initExtensions(), this._initHooks(), this._initMenu(), this._initPanels(), this._initOpened(), this._initAnchors(), this._initMatchMedia(), "function" == typeof this.___debug && this.___debug(), this }, e[n].version = i, e[n].uniqueId = 0, e[n].wrappers = {}, e[n].addons = {}, e[n].defaults = { hooks: {}, extensions: [], wrappers: [], navbar: { add: !0, title: "", titleLink: "parent" }, onClick: { setSelected: !0 }, slidingSubmenus: !0 }, e[n].configuration = { classNames: { divider: "Divider", inset: "Inset", nolistview: "NoListview", nopanel: "NoPanel", panel: "Panel", selected: "Selected", spacer: "Spacer", vertical: "Vertical" }, clone: !1, language: null, openingInterval: 25, panelNodetype: "ul, ol, div", transitionDuration: 400 }, e[n].prototype = { getInstance: function () { return this }, initPanels: function (e) { this._initPanels(e) }, openPanel: function (t, i) { if (this.trigger("openPanel:before", t), t && t.length && (t.is("." + s.panel) || (t = t.closest("." + s.panel)), t.is("." + s.panel))) { var r = this; if ("boolean" != typeof i && (i = !0), t.parent("." + s.listitem + "_vertical").length) t.parents("." + s.listitem + "_vertical").addClass(s.listitem + "_opened").children("." + s.panel).removeClass(s.hidden), this.openPanel(t.parents("." + s.panel).not(function () { return e(this).parent("." + s.listitem + "_vertical").length }).first()), this.trigger("openPanel:start", t), this.trigger("openPanel:finish", t); else { if (t.hasClass(s.panel + "_opened")) return; var l = this.$pnls.children("." + s.panel), o = this.$pnls.children("." + s.panel + "_opened"); if (!e[n].support.csstransitions) return o.addClass(s.hidden).removeClass(s.panel + "_opened"), t.removeClass(s.hidden).addClass(s.panel + "_opened"), this.trigger("openPanel:start", t), void this.trigger("openPanel:finish", t); l.not(t).removeClass(s.panel + "_opened-parent"); for (var d = t.data(a.parent) ; d;) d = d.closest("." + s.panel), d.parent("." + s.listitem + "_vertical").length || d.addClass(s.panel + "_opened-parent"), d = d.data(a.parent); l.removeClass(s.panel + "_highest").not(o).not(t).addClass(s.hidden), t.removeClass(s.hidden); var c = function () { o.removeClass(s.panel + "_opened"), t.addClass(s.panel + "_opened"), t.hasClass(s.panel + "_opened-parent") ? (o.addClass(s.panel + "_highest"), t.removeClass(s.panel + "_opened-parent")) : (o.addClass(s.panel + "_opened-parent"), t.addClass(s.panel + "_highest")), r.trigger("openPanel:start", t) }, h = function () { o.removeClass(s.panel + "_highest").addClass(s.hidden), t.removeClass(s.panel + "_highest"), r.trigger("openPanel:finish", t) }; i && !t.hasClass(s.panel + "_noanimation") ? setTimeout(function () { r.__transitionend(t, function () { h() }, r.conf.transitionDuration), c() }, r.conf.openingInterval) : (c(), h()) } this.trigger("openPanel:after", t) } }, closePanel: function (e) { this.trigger("closePanel:before", e); var t = e.parent(); t.hasClass(s.listitem + "_vertical") && (t.removeClass(s.listitem + "_opened"), e.addClass(s.hidden), this.trigger("closePanel", e)), this.trigger("closePanel:after", e) }, closeAllPanels: function (e) { this.trigger("closeAllPanels:before"), this.$pnls.find("." + s.listview).children().removeClass(s.listitem + "_selected").filter("." + s.listitem + "_vertical").removeClass(s.listitem + "_opened"); var t = this.$pnls.children("." + s.panel), n = e && e.length ? e : t.first(); this.$pnls.children("." + s.panel).not(n).removeClass(s.panel + "_opened").removeClass(s.panel + "_opened-parent").removeClass(s.panel + "_highest").addClass(s.hidden), this.openPanel(n, !1), this.trigger("closeAllPanels:after") }, togglePanel: function (e) { var t = e.parent(); t.hasClass(s.listitem + "_vertical") && this[t.hasClass(s.listitem + "_opened") ? "closePanel" : "openPanel"](e) }, setSelected: function (e) { this.trigger("setSelected:before", e), this.$menu.find("." + s.listitem + "_selected").removeClass(s.listitem + "_selected"), e.addClass(s.listitem + "_selected"), this.trigger("setSelected:after", e) }, bind: function (e, t) { this.cbck[e] = this.cbck[e] || [], this.cbck[e].push(t) }, trigger: function () { var e = this, t = Array.prototype.slice.call(arguments), n = t.shift(); if (this.cbck[n]) for (var i = 0, s = this.cbck[n].length; i < s; i++) this.cbck[n][i].apply(e, t) }, matchMedia: function (e, t, n) { var i = { yes: t, no: n }; this.mtch[e] = this.mtch[e] || [], this.mtch[e].push(i) }, i18n: function (t) { return e[n].i18n(t, this.conf.language) }, _initHooks: function () { for (var e in this.opts.hooks) this.bind(e, this.opts.hooks[e]) }, _initWrappers: function () { this.trigger("initWrappers:before"); for (var t = 0; t < this.opts.wrappers.length; t++) { var i = e[n].wrappers[this.opts.wrappers[t]]; "function" == typeof i && i.call(this) } this.trigger("initWrappers:after") }, _initAddons: function () { this.trigger("initAddons:before"); var t; for (t in e[n].addons) e[n].addons[t].add.call(this), e[n].addons[t].add = function () { }; for (t in e[n].addons) e[n].addons[t].setup.call(this); this.trigger("initAddons:after") }, _initExtensions: function () { this.trigger("initExtensions:before"); var e = this; this.opts.extensions.constructor === Array && (this.opts.extensions = { all: this.opts.extensions }); for (var t in this.opts.extensions) this.opts.extensions[t] = this.opts.extensions[t].length ? s.menu + "_" + this.opts.extensions[t].join(" " + s.menu + "_") : "", this.opts.extensions[t] && !function (t) { e.matchMedia(t, function () { this.$menu.addClass(this.opts.extensions[t]) }, function () { this.$menu.removeClass(this.opts.extensions[t]) }) }(t); this.trigger("initExtensions:after") }, _initMenu: function () { this.trigger("initMenu:before"); this.conf.clone && (this.$orig = this.$menu, this.$menu = this.$orig.clone(), this.$menu.add(this.$menu.find("[id]")).filter("[id]").each(function () { e(this).attr("id", s.mm(e(this).attr("id"))) })), this.$menu.attr("id", this.$menu.attr("id") || this.__getUniqueId()), this.$pnls = e('
').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu), this.$menu.addClass(s.menu).parent().addClass(s.wrapper), this.trigger("initMenu:after") }, _initPanels: function (t) { this.trigger("initPanels:before", t), t = t || this.$pnls.children(this.conf.panelNodetype); var n = e(), i = this, a = function (t) { t.filter(i.conf.panelNodetype).each(function (t) { var r = i._initPanel(e(this)); if (r) { i._initNavbar(r), i._initListview(r), n = n.add(r); var l = r.children("." + s.listview).children("li").children(i.conf.panelNodetype).add(r.children("." + i.conf.classNames.panel)); l.length && a(l) } }) }; a(t), this.trigger("initPanels:after", n) }, _initPanel: function (e) { this.trigger("initPanel:before", e); if (e.hasClass(s.panel)) return e; if (this.__refactorClass(e, this.conf.classNames.panel, s.panel), this.__refactorClass(e, this.conf.classNames.nopanel, s.nopanel), this.__refactorClass(e, this.conf.classNames.inset, s.listview + "_inset"), e.filter("." + s.listview + "_inset").addClass(s.nopanel), e.hasClass(s.nopanel)) return !1; var t = e.hasClass(this.conf.classNames.vertical) || !this.opts.slidingSubmenus; e.removeClass(this.conf.classNames.vertical); var n = e.attr("id") || this.__getUniqueId(); e.is("ul, ol") && (e.removeAttr("id"), e.wrap("
"), e = e.parent()), e.attr("id", n), e.addClass(s.panel + " " + s.hidden); var i = e.parent("li"); return t ? i.addClass(s.listitem + "_vertical") : e.appendTo(this.$pnls), i.length && (i.data(a.child, e), e.data(a.parent, i)), this.trigger("initPanel:after", e), e }, _initNavbar: function (t) { if (this.trigger("initNavbar:before", t), !t.children("." + s.navbar).length) { var n = t.data(a.parent), i = e('
'), r = this.__getPanelTitle(t, this.opts.navbar.title), l = ""; if (n && n.length) { if (n.hasClass(s.listitem + "_vertical")) return; if (n.parent().is("." + s.listview)) var o = n.children("a, span").not("." + s.btn + "_next"); else var o = n.closest("." + s.panel).find('a[href="#' + t.attr("id") + '"]'); o = o.first(), n = o.closest("." + s.panel); var d = n.attr("id"); switch (r = this.__getPanelTitle(t, e("" + o.text() + "").text()), this.opts.navbar.titleLink) { case "anchor": l = o.attr("href"); break; case "parent": l = "#" + d } i.append('') } else if (!this.opts.navbar.title) return; this.opts.navbar.add && t.addClass(s.panel + "_has-navbar"), i.append('" + r + "").prependTo(t), this.trigger("initNavbar:after", t) } }, _initListview: function (t) { this.trigger("initListview:before", t); var n = this.__childAddBack(t, "ul, ol"); this.__refactorClass(n, this.conf.classNames.nolistview, s.nolistview); var i = n.not("." + s.nolistview).addClass(s.listview).children().addClass(s.listitem); this.__refactorClass(i, this.conf.classNames.selected, s.listitem + "_selected"), this.__refactorClass(i, this.conf.classNames.divider, s.listitem + "_divider"), this.__refactorClass(i, this.conf.classNames.spacer, s.listitem + "_spacer"), i.children("a, span").not("." + s.btn).addClass(s.listitem + "__text"); var r = t.data(a.parent); if (r && r.is("." + s.listitem) && !r.children("." + s.btn).length) { var l = r.children("a, span").first(), o = e(''); o.insertAfter(l), l.is("span") && (o.addClass(s.listitem + "__text").html(l.html()), l.remove()) } this.trigger("initListview:after", t) }, _initOpened: function () { this.trigger("initOpened:before"); var e = this.$pnls.find("." + s.listitem + "_selected").removeClass(s.listitem + "_selected").last().addClass(s.listitem + "_selected"), t = e.length ? e.closest("." + s.panel) : this.$pnls.children("." + s.panel).first(); this.openPanel(t, !1), this.trigger("initOpened:after") }, _initAnchors: function () { this.trigger("initAnchors:before"); var t = this; l.$body.on(r.click + "-oncanvas", "a[href]", function (i) { var a = e(this), r = a.attr("href"), l = t.$menu.find(a).length, o = a.is("." + s.listitem + " > a"), d = a.is('[rel="external"]') || a.is('[target="_blank"]'); if (l && r.length > 1 && "#" == r.slice(0, 1)) try { var c = t.$menu.find(r); if (c.is("." + s.panel)) return t[a.parent().hasClass(s.listitem + "_vertical") ? "togglePanel" : "openPanel"](c), void i.preventDefault() } catch (h) { } var f = { close: null, setSelected: null, preventDefault: "#" == r.slice(0, 1) }; for (var p in e[n].addons) { var u = e[n].addons[p].clickAnchor.call(t, a, l, o, d); if (u) { if ("boolean" == typeof u) return void i.preventDefault(); "object" == typeof u && (f = e.extend({}, f, u)) } } l && o && !d && (t.__valueOrFn(a, t.opts.onClick.setSelected, f.setSelected) && t.setSelected(e(i.target).parent()), t.__valueOrFn(a, t.opts.onClick.preventDefault, f.preventDefault) && i.preventDefault(), t.__valueOrFn(a, t.opts.onClick.close, f.close) && t.opts.offCanvas && "function" == typeof t.close && t.close()) }), this.trigger("initAnchors:after") }, _initMatchMedia: function () { var e = this; for (var t in this.mtch) !function () { var n = t, i = window.matchMedia(n); e._fireMatchMedia(n, i), i.addListener(function (t) { e._fireMatchMedia(n, t) }) }() }, _fireMatchMedia: function (e, t) { for (var n = t.matches ? "yes" : "no", i = 0; i < this.mtch[e].length; i++) this.mtch[e][i][n].call(this) }, _getOriginalMenuId: function () { var e = this.$menu.attr("id"); return this.conf.clone && e && e.length && (e = s.umm(e)), e }, __api: function () { var t = this, n = {}; return e.each(this._api, function (e) { var i = this; n[i] = function () { var e = t[i].apply(t, arguments); return "undefined" == typeof e ? n : e } }), n }, __valueOrFn: function (e, t, n) { if ("function" == typeof t) { var i = t.call(e[0]); if ("undefined" != typeof i) return i } return "function" != typeof t && "undefined" != typeof t || "undefined" == typeof n ? t : n }, __getPanelTitle: function (t, i) { var s; return "function" == typeof this.opts.navbar.title && (s = this.opts.navbar.title.call(t[0])), "undefined" == typeof s && (s = t.data(a.title)), "undefined" != typeof s ? s : "string" == typeof i ? this.i18n(i) : this.i18n(e[n].defaults.navbar.title) }, __refactorClass: function (e, t, n) { return e.filter("." + t).removeClass(t).addClass(n) }, __findAddBack: function (e, t) { return e.find(t).add(e.filter(t)) }, __childAddBack: function (e, t) { return e.children(t).add(e.filter(t)) }, __filterListItems: function (e) { return e.not("." + s.listitem + "_divider").not("." + s.hidden) }, __filterListItemAnchors: function (e) { return this.__filterListItems(e).children("a").not("." + s.btn + "_next") }, __openPanelWoAnimation: function (e) { e.hasClass(s.panel + "_noanimation") || (e.addClass(s.panel + "_noanimation"), this.__transitionend(e, function () { e.removeClass(s.panel + "_noanimation") }, this.conf.openingInterval), this.openPanel(e)) }, __transitionend: function (e, t, n) { var i = !1, s = function (n) { "undefined" != typeof n && n.target != e[0] || (i || (e.off(r.transitionend), e.off(r.webkitTransitionEnd), t.call(e[0])), i = !0) }; e.on(r.transitionend, s), e.on(r.webkitTransitionEnd, s), setTimeout(s, 1.1 * n) }, __getUniqueId: function () { return s.mm(e[n].uniqueId++) }, __hasClass: function (e, t) { return (" " + e.className + " ").indexOf(" " + t + " ") > -1 } }, e.fn[n] = function (i, s) { t(), i = e.extend(!0, {}, e[n].defaults, i), s = e.extend(!0, {}, e[n].configuration, s); var a = e(); return this.each(function () { var t = e(this); if (!t.data(n)) { var r = new e[n](t, i, s); r.$menu.data(n, r.__api()), a = a.add(r.$menu) } }), a }, e[n].i18n = function () { var t = {}; return function (n, i) { switch (typeof n) { case "object": return "string" == typeof i && ("undefined" == typeof t[i] && (t[i] = {}), e.extend(t[i], n)), t; case "string": return "string" == typeof i && "undefined" != typeof t[i] ? t[i][n] || n : n; case "undefined": default: return t } } }(), e[n].support = { touch: "ontouchstart" in window || navigator.msMaxTouchPoints || !1, csstransitions: function () { return "undefined" == typeof Modernizr || "undefined" == typeof Modernizr.csstransitions || Modernizr.csstransitions }(), csstransforms: function () { return "undefined" == typeof Modernizr || "undefined" == typeof Modernizr.csstransforms || Modernizr.csstransforms }(), csstransforms3d: function () { return "undefined" == typeof Modernizr || "undefined" == typeof Modernizr.csstransforms3d || Modernizr.csstransforms3d }() }; var s, a, r, l } }(jQuery); !function (e) { var t = "mmenu", n = "offCanvas"; e[t].addons[n] = { setup: function () { if (this.opts[n]) { var o = this.opts[n], s = this.conf[n]; r = e[t].glbl, this._api = e.merge(this._api, ["open", "close", "setPage"]), "object" != typeof o && (o = {}), o = this.opts[n] = e.extend(!0, {}, e[t].defaults[n], o), "string" != typeof s.page.selector && (s.page.selector = "> " + s.page.nodetype), this.vars.opened = !1; var a = [i.menu + "_offcanvas"]; e[t].support.csstransforms || a.push(i["no-csstransforms"]), e[t].support.csstransforms3d || a.push(i["no-csstransforms3d"]), this.bind("initMenu:after", function () { var e = this; this._initBlocker(), this.setPage(r.$page), this["_initWindow_" + n](), this.$menu.addClass(a.join(" ")).parent("." + i.wrapper).removeClass(i.wrapper), this.$menu[s.menu.insertMethod](s.menu.insertSelector); var t = window.location.hash; if (t) { var o = this._getOriginalMenuId(); o && o == t.slice(1) && setTimeout(function () { e.open() }, 1e3) } }), this.bind("setPage:after", function (e) { r.$blck.children("a").attr("href", "#" + e.attr("id")) }), this.bind("open:start:sr-aria", function () { this.__sr_aria(this.$menu, "hidden", !1) }), this.bind("close:finish:sr-aria", function () { this.__sr_aria(this.$menu, "hidden", !0) }), this.bind("initMenu:after:sr-aria", function () { this.__sr_aria(this.$menu, "hidden", !0) }), this.bind("initBlocker:after:sr-text", function () { r.$blck.children("a").html(this.__sr_text(this.i18n(this.conf.screenReader.text.closeMenu))) }) } }, add: function () { i = e[t]._c, o = e[t]._d, s = e[t]._e, i.add("slideout page no-csstransforms3d"), o.add("style") }, clickAnchor: function (e, t) { var o = this; if (this.opts[n]) { var s = this._getOriginalMenuId(); if (s && e.is('[href="#' + s + '"]')) { if (t) return this.open(), !0; var a = e.closest("." + i.menu); if (a.length) { var p = a.data("mmenu"); if (p && p.close) return p.close(), o.__transitionend(a, function () { o.open() }, o.conf.transitionDuration), !0 } return this.open(), !0 } if (r.$page) return s = r.$page.first().attr("id"), s && e.is('[href="#' + s + '"]') ? (this.close(), !0) : void 0 } } }, e[t].defaults[n] = { blockUI: !0, moveBackground: !0 }, e[t].configuration[n] = { menu: { insertMethod: "prependTo", insertSelector: "body" }, page: { nodetype: "div", selector: null, noSelector: [], wrapIfNeeded: !0 } }, e[t].prototype.open = function () { if (this.trigger("open:before"), !this.vars.opened) { var e = this; this._openSetup(), setTimeout(function () { e._openFinish() }, this.conf.openingInterval), this.trigger("open:after") } }, e[t].prototype._openSetup = function () { var t = this, a = this.opts[n]; this.closeAllOthers(), r.$page.each(function () { e(this).data(o.style, e(this).attr("style") || "") }), r.$wndw.trigger(s.resize + "-" + n, [!0]); var p = [i.wrapper + "_opened"]; a.blockUI && p.push(i.wrapper + "_blocking"), "modal" == a.blockUI && p.push(i.wrapper + "_modal"), a.moveBackground && p.push(i.wrapper + "_background"), r.$html.addClass(p.join(" ")), setTimeout(function () { t.vars.opened = !0 }, this.conf.openingInterval), this.$menu.addClass(i.menu + "_opened") }, e[t].prototype._openFinish = function () { var e = this; this.__transitionend(r.$page.first(), function () { e.trigger("open:finish") }, this.conf.transitionDuration), this.trigger("open:start"), r.$html.addClass(i.wrapper + "_opening") }, e[t].prototype.close = function () { if (this.trigger("close:before"), this.vars.opened) { var t = this; this.__transitionend(r.$page.first(), function () { t.$menu.removeClass(i.menu + "_opened"); var n = [i.wrapper + "_opened", i.wrapper + "_blocking", i.wrapper + "_modal", i.wrapper + "_background"]; r.$html.removeClass(n.join(" ")), r.$page.each(function () { e(this).attr("style", e(this).data(o.style)) }), t.vars.opened = !1, t.trigger("close:finish") }, this.conf.transitionDuration), this.trigger("close:start"), r.$html.removeClass(i.wrapper + "_opening"), this.trigger("close:after") } }, e[t].prototype.closeAllOthers = function () { r.$body.find("." + i.menu + "_offcanvas").not(this.$menu).each(function () { var n = e(this).data(t); n && n.close && n.close() }) }, e[t].prototype.setPage = function (t) { this.trigger("setPage:before", t); var o = this, s = this.conf[n]; t && t.length || (t = r.$body.find(s.page.selector).not("." + i.menu).not("." + i.wrapper + "__blocker"), s.page.noSelector.length && (t = t.not(s.page.noSelector.join(", "))), t.length > 1 && s.page.wrapIfNeeded && (t = t.wrapAll("<" + this.conf[n].page.nodetype + " />").parent())), t.addClass(i.page + " " + i.slideout).each(function () { e(this).attr("id", e(this).attr("id") || o.__getUniqueId()) }), r.$page = t, this.trigger("setPage:after", t) }, e[t].prototype["_initWindow_" + n] = function () { r.$wndw.off(s.keydown + "-" + n).on(s.keydown + "-" + n, function (e) { if (r.$html.hasClass(i.wrapper + "_opened") && 9 == e.keyCode) return e.preventDefault(), !1 }); var e = 0; r.$wndw.off(s.resize + "-" + n).on(s.resize + "-" + n, function (t, n) { if (1 == r.$page.length && (n || r.$html.hasClass(i.wrapper + "_opened"))) { var o = r.$wndw.height(); (n || o != e) && (e = o, r.$page.css("minHeight", o)) } }) }, e[t].prototype._initBlocker = function () { var t = this, o = this.opts[n], a = this.conf[n]; this.trigger("initBlocker:before"), o.blockUI && (r.$blck || (r.$blck = e('
').append("")), r.$blck.appendTo(a.menu.insertSelector).off(s.touchstart + "-" + n + " " + s.touchmove + "-" + n).on(s.touchstart + "-" + n + " " + s.touchmove + "-" + n, function (e) { e.preventDefault(), e.stopPropagation(), r.$blck.trigger(s.mousedown + "-" + n) }).off(s.mousedown + "-" + n).on(s.mousedown + "-" + n, function (e) { e.preventDefault(), r.$html.hasClass(i.wrapper + "_modal") || (t.closeAllOthers(), t.close()) }), this.trigger("initBlocker:after")) }; var i, o, s, r }(jQuery); !function (t) { var i = "mmenu", n = "screenReader"; t[i].addons[n] = { setup: function () { var a = this, o = this.opts[n], h = this.conf[n]; s = t[i].glbl, "boolean" == typeof o && (o = { aria: o, text: o }), "object" != typeof o && (o = {}), o = this.opts[n] = t.extend(!0, {}, t[i].defaults[n], o), o.aria && (this.bind("initAddons:after", function () { this.bind("initMenu:after", function () { this.trigger("initMenu:after:sr-aria") }), this.bind("initNavbar:after", function () { this.trigger("initNavbar:after:sr-aria", arguments[0]) }), this.bind("openPanel:start", function () { this.trigger("openPanel:start:sr-aria", arguments[0]) }), this.bind("close:start", function () { this.trigger("close:start:sr-aria") }), this.bind("close:finish", function () { this.trigger("close:finish:sr-aria") }), this.bind("open:start", function () { this.trigger("open:start:sr-aria") }), this.bind("initOpened:after", function () { this.trigger("initOpened:after:sr-aria") }) }), this.bind("updateListview", function () { this.$pnls.find("." + e.listview).children().each(function () { a.__sr_aria(t(this), "hidden", t(this).is("." + e.hidden)) }) }), this.bind("openPanel:start", function (t) { var i = this.$menu.find("." + e.panel).not(t).not(t.parents("." + e.panel)), n = t.add(t.find("." + e.listitem + "_vertical ." + e.listitem + "_opened").children("." + e.panel)); this.__sr_aria(i, "hidden", !0), this.__sr_aria(n, "hidden", !1) }), this.bind("closePanel", function (t) { this.__sr_aria(t, "hidden", !0) }), this.bind("initPanels:after", function (i) { var n = i.find("." + e.btn).each(function () { a.__sr_aria(t(this), "owns", t(this).attr("href").replace("#", "")) }); this.__sr_aria(n, "haspopup", !0) }), this.bind("initNavbar:after", function (t) { var i = t.children("." + e.navbar); this.__sr_aria(i, "hidden", !t.hasClass(e.panel + "_has-navbar")) }), o.text && "parent" == this.opts.navbar.titleLink && this.bind("initNavbar:after", function (t) { var i = t.children("." + e.navbar), n = !!i.children("." + e.btn + "_prev").length; this.__sr_aria(i.children("." + e.title), "hidden", n) })), o.text && (this.bind("initAddons:after", function () { this.bind("setPage:after", function () { this.trigger("setPage:after:sr-text", arguments[0]) }), this.bind("initBlocker:after", function () { this.trigger("initBlocker:after:sr-text") }) }), this.bind("initNavbar:after", function (t) { var i = t.children("." + e.navbar), n = this.i18n(h.text.closeSubmenu); i.children("." + e.btn + "_prev").html(this.__sr_text(n)) }), this.bind("initListview:after", function (t) { var i = t.data(r.parent); if (i && i.length) { var n = i.children("." + e.btn + "_next"), s = this.i18n(h.text[n.parent().is("." + e.listitem + "_vertical") ? "toggleSubmenu" : "openSubmenu"]); n.append(a.__sr_text(s)) } })) }, add: function () { e = t[i]._c, r = t[i]._d, a = t[i]._e, e.add("sronly") }, clickAnchor: function (t, i) { } }, t[i].defaults[n] = { aria: !0, text: !0 }, t[i].configuration[n] = { text: { closeMenu: "Close menu", closeSubmenu: "Close submenu", openSubmenu: "Open submenu", toggleSubmenu: "Toggle submenu" } }, t[i].prototype.__sr_aria = function (t, i, n) { t.prop("aria-" + i, n)[n ? "attr" : "removeAttr"]("aria-" + i, n) }, t[i].prototype.__sr_role = function (t, i) { t.prop("role", i)[i ? "attr" : "removeAttr"]("role", i) }, t[i].prototype.__sr_text = function (t) { return '' + t + "" }; var e, r, a, s }(jQuery); !function (o) { var t = "mmenu", n = "scrollBugFix"; o[t].addons[n] = { setup: function () { var r = this.opts[n]; this.conf[n]; i = o[t].glbl, o[t].support.touch && this.opts.offCanvas && this.opts.offCanvas.blockUI && ("boolean" == typeof r && (r = { fix: r }), "object" != typeof r && (r = {}), r = this.opts[n] = o.extend(!0, {}, o[t].defaults[n], r), r.fix && (this.bind("open:start", function () { this.$pnls.children("." + e.panel + "_opened").scrollTop(0) }), this.bind("initMenu:after", function () { this["_initWindow_" + n]() }))) }, add: function () { e = o[t]._c, r = o[t]._d, s = o[t]._e }, clickAnchor: function (o, t) { } }, o[t].defaults[n] = { fix: !0 }, o[t].prototype["_initWindow_" + n] = function () { var t = this; i.$docu.off(s.touchmove + "-" + n).on(s.touchmove + "-" + n, function (o) { i.$html.hasClass(e.wrapper + "_opened") && o.preventDefault() }); var r = !1; i.$body.off(s.touchstart + "-" + n).on(s.touchstart + "-" + n, "." + e.panels + "> ." + e.panel, function (o) { i.$html.hasClass(e.wrapper + "_opened") && (r || (r = !0, 0 === o.currentTarget.scrollTop ? o.currentTarget.scrollTop = 1 : o.currentTarget.scrollHeight === o.currentTarget.scrollTop + o.currentTarget.offsetHeight && (o.currentTarget.scrollTop -= 1), r = !1)) }).off(s.touchmove + "-" + n).on(s.touchmove + "-" + n, "." + e.panels + "> ." + e.panel, function (t) { i.$html.hasClass(e.wrapper + "_opened") && o(this)[0].scrollHeight > o(this).innerHeight() && t.stopPropagation() }), i.$wndw.off(s.orientationchange + "-" + n).on(s.orientationchange + "-" + n, function () { t.$pnls.children("." + e.panel + "_opened").scrollTop(0).css({ "-webkit-overflow-scrolling": "auto" }).css({ "-webkit-overflow-scrolling": "touch" }) }) }; var e, r, s, i }(jQuery); !function (t) { var e = "mmenu", i = "autoHeight"; t[e].addons[i] = { setup: function () { var h = this.opts[i]; this.conf[i]; if (a = t[e].glbl, "boolean" == typeof h && h && (h = { height: "auto" }), "string" == typeof h && (h = { height: h }), "object" != typeof h && (h = {}), h = this.opts[i] = t.extend(!0, {}, t[e].defaults[i], h), "auto" == h.height || "highest" == h.height) { this.bind("initMenu:after", function () { this.$menu.addClass(n.menu + "_autoheight") }); var s = function (e) { if (!this.opts.offCanvas || this.vars.opened) { var i = Math.max(parseInt(this.$pnls.css("top"), 10), 0) || 0, s = Math.max(parseInt(this.$pnls.css("bottom"), 10), 0) || 0, a = 0; this.$menu.addClass(n.menu + "_autoheight-measuring"), "auto" == h.height ? (e = e || this.$pnls.children("." + n.panel + "_opened"), e.parent("." + n.listitem + "_vertical").length && (e = e.parents("." + n.panel).not(function () { return t(this).parent("." + n.listitem + "_vertical").length })), e.length || (e = this.$pnls.children("." + n.panel)), a = e.first().outerHeight()) : "highest" == h.height && this.$pnls.children("." + n.panel).each(function () { var e = t(this); e.parent("." + n.listitem + "_vertical").length && (e = e.parents("." + n.panel).not(function () { return t(this).parent("." + n.listitem + "_vertical").length })), a = Math.max(a, e.first().outerHeight()) }), this.$menu.height(a + i + s).removeClass(n.menu + "_autoheight-measuring") } }; this.opts.offCanvas && this.bind("open:start", s), "highest" == h.height && this.bind("initPanels:after", s), "auto" == h.height && (this.bind("updateListview", s), this.bind("openPanel:start", s), this.bind("closePanel", s)) } }, add: function () { n = t[e]._c, h = t[e]._d, s = t[e]._e, s.add("resize") }, clickAnchor: function (t, e) { } }, t[e].defaults[i] = { height: "default" }; var n, h, s, a }(jQuery); !function (n) { var t = "mmenu", o = "backButton"; n[t].addons[o] = { setup: function () { function e() { l = [c], this.$pnls.children("." + i.panel + "_opened-parent").add(s.$pnls.children("." + i.panel + "_opened")).each(function () { l.push("#" + n(this).attr("id")) }) } if (this.opts.offCanvas) { var s = this, h = this.opts[o]; this.conf[o]; a = n[t].glbl, "boolean" == typeof h && (h = { close: h }), "object" != typeof h && (h = {}), h = n.extend(!0, {}, n[t].defaults[o], h); var c = "#" + this.$menu.attr("id"); if (h.close) { var l = []; this.bind("open:finish", function () { history.pushState(null, document.title, c) }), this.bind("open:finish", e), this.bind("openPanel:finish", e), this.bind("close:finish", function () { l = [], history.back(), history.pushState(null, document.title, location.pathname + location.search) }), n(window).on("popstate", function (t) { if (s.vars.opened && l.length) { l = l.slice(0, -1); var o = l[l.length - 1]; o == c ? s.close() : (s.openPanel(n(o)), history.pushState(null, document.title, c)) } }) } h.open && n(window).on("popstate", function (n) { s.vars.opened || location.hash != c || s.open() }) } }, add: function () { return window.history && window.history.pushState ? (i = n[t]._c, e = n[t]._d, void (s = n[t]._e)) : void (n[t].addons[o].setup = function () { }) }, clickAnchor: function (n, t) { } }, n[t].defaults[o] = { close: !1, open: !1 }; var i, e, s, a }(jQuery); !function (e) { var n = "mmenu", i = "columns"; e[n].addons[i] = { setup: function () { function l(e) { var n = e.data(s.parent); if (n && (n = n.closest("." + a.panel), n.length)) { var i = n.attr("class"); if (i && (i = i.split(a.panel + "_columns-")[1])) for (i = parseInt(i.split(" ")[0], 10) + 1; i > 0;) { var l = this.$pnls.children("." + a.panel + "_columns-" + i); if (!l.length) { i = -1; break } i++, l.removeClass(r).addClass(a.hidden) } } } var o = this.opts[i]; this.conf[i]; if (t = e[n].glbl, "boolean" == typeof o && (o = { add: o }), "number" == typeof o && (o = { add: !0, visible: o }), "object" != typeof o && (o = {}), "number" == typeof o.visible && (o.visible = { min: o.visible, max: o.visible }), o = this.opts[i] = e.extend(!0, {}, e[n].defaults[i], o), o.add) { o.visible.min = Math.max(1, Math.min(6, o.visible.min)), o.visible.max = Math.max(o.visible.min, Math.min(6, o.visible.max)); for (var d = "", p = "", m = 0; m <= o.visible.max; m++) d += " " + a.menu + "_columns-" + m, p += " " + a.panel + "_columns-" + m; d.length && (d = d.slice(1), p = p.slice(1)); var r = p + " " + a.panel + "_opened " + a.panel + "_opened-parent " + a.panel + "_highest", c = function (n) { var i = this.$pnls.children("." + a.panel + "_opened-parent").length; n.hasClass(a.panel + "_opened-parent") || i++, i = Math.min(o.visible.max, Math.max(o.visible.min, i)), this.$menu.removeClass(d).addClass(a.menu + "_columns-" + i), this.$pnls.children("." + a.panel).removeClass(p).filter("." + a.panel + "_opened-parent").add(n).slice(-o.visible.max).each(function (n) { e(this).addClass(a.panel + "_columns-" + n) }) }; this.bind("openPanel:before", l), this.bind("openPanel:start", c) } }, add: function () { a = e[n]._c, s = e[n]._d, l = e[n]._e }, clickAnchor: function (e, n) { } }, e[n].defaults[i] = { add: !1, visible: { min: 1, max: 3 } }; var a, s, l, t }(jQuery); !function (t) { var n = "mmenu", e = "counters"; t[n].addons[e] = { setup: function () { var s = this, c = this.opts[e]; this.conf[e]; if (d = t[n].glbl, "boolean" == typeof c && (c = { add: c, update: c }), "object" != typeof c && (c = {}), c = this.opts[e] = t.extend(!0, {}, t[n].defaults[e], c), this.bind("initListview:after", function (t) { var n = this.conf.classNames[e].counter; this.__refactorClass(t.find("." + n), n, i.counter) }), c.add && this.bind("initListview:after", function (n) { var e; switch (c.addTo) { case "panels": e = n; break; default: e = n.filter(c.addTo) } e.each(function () { var n = t(this).data(a.parent); n && (n.find("." + i.counter).length || n.children("." + i.btn).prepend(t(''))) }) }), c.update) { var o = function (n) { n = n || this.$pnls.children("." + i.panel), n.each(function () { var n = t(this), e = n.data(a.parent); if (e) { var d = e.find("." + i.counter); d.length && (n = n.children("." + i.listview), n.length && d.html(s.__filterListItems(n.children()).length)) } }) }; this.bind("initListview:after", o), this.bind("updateListview", o) } }, add: function () { i = t[n]._c, a = t[n]._d, s = t[n]._e, i.add("counter") }, clickAnchor: function (t, n) { } }, t[n].defaults[e] = { add: !1, addTo: "panels", count: !1 }, t[n].configuration.classNames[e] = { counter: "Counter" }; var i, a, s, d }(jQuery); !function (i) { var e = "mmenu", t = "dividers"; i[e].addons[t] = { setup: function () { var s = this, a = this.opts[t]; this.conf[t]; if (l = i[e].glbl, "boolean" == typeof a && (a = { add: a, fixed: a }), "object" != typeof a && (a = {}), a = this.opts[t] = i.extend(!0, {}, i[e].defaults[t], a), a.type && this.bind("initMenu:after", function () { this.$menu.addClass(n.menu + "_" + t + "-" + a.type) }), a.add && this.bind("initListview:after", function (e) { var t; switch (a.addTo) { case "panels": t = e; break; default: t = e.filter(a.addTo) } t.length && (t.children("." + n.listitem + "_divider").remove(), t.find("." + n.listview).each(function () { var e = ""; s.__filterListItems(i(this).children()).each(function () { var t = i.trim(i(this).children("a, span").text()).slice(0, 1).toLowerCase(); t != e && t.length && (e = t, i('
  • ' + t + "
  • ").insertBefore(this)) }) })) }), a.fixed) { this.bind("initPanels:after", function () { "undefined" == typeof this.$fixeddivider && (this.$fixeddivider = i('
    ').appendTo(this.$pnls).children()) }); var o = function (e) { if (e = e || this.$pnls.children("." + n.panel + "_opened"), !e.is(":hidden")) { var t = e.find("." + n.listitem + "_divider").not("." + n.hidden), s = e.scrollTop() || 0, d = ""; t.each(function () { i(this).position().top + s < s + 1 && (d = i(this).text()) }), this.$fixeddivider.text(d), this.$pnls[d.length ? "addClass" : "removeClass"](n.panel + "_dividers") } }; this.bind("open:start", o), this.bind("openPanel:start", o), this.bind("updateListview", o), this.bind("initPanel:after", function (i) { i.off(d.scroll + "-" + t + " " + d.touchmove + "-" + t).on(d.scroll + "-" + t + " " + d.touchmove + "-" + t, function (e) { i.hasClass(n.panel + "_opened") && o.call(s, i) }) }) } }, add: function () { n = i[e]._c, s = i[e]._d, d = i[e]._e, d.add("scroll") }, clickAnchor: function (i, e) { } }, i[e].defaults[t] = { add: !1, addTo: "panels", fixed: !1, type: null }; var n, s, d, l }(jQuery); !function (e) { function n(e, n, t) { return e < n && (e = n), e > t && (e = t), e } function t(t, o, i) { var r, p, d, f = this, u = { events: "panleft panright", typeLower: "x", typeUpper: "X", open_dir: "right", close_dir: "left", negative: !1 }, c = "width", l = u.open_dir, m = function (e) { e <= t.maxStartPos && (g = 1) }, h = function () { return e("." + s.slideout) }, g = 0, _ = 0, v = 0, b = this.opts.extensions.all, w = "undefined" == typeof b ? "left" : b.indexOf(s.menu + "_position-right") > -1 ? "right" : b.indexOf(s.menu + "_position-top") > -1 ? "top" : b.indexOf(s.menu + "_position-bottom") > -1 ? "bottom" : "left", y = "undefined" == typeof b ? "back" : b.indexOf(s.menu + "_position-top") > -1 || b.indexOf(s.menu + "_position-bottom") > -1 || b.indexOf(s.menu + "_position-front") > -1 ? "front" : "back"; switch (w) { case "top": case "bottom": u.events = "panup pandown", u.typeLower = "y", u.typeUpper = "Y", c = "height" } switch (w) { case "right": case "bottom": u.negative = !0, m = function (e) { e >= i.$wndw[c]() - t.maxStartPos && (g = 1) } } switch (w) { case "right": u.open_dir = "left", u.close_dir = "right"; break; case "top": u.open_dir = "down", u.close_dir = "up"; break; case "bottom": u.open_dir = "up", u.close_dir = "down" } switch (y) { case "front": h = function () { return f.$menu } } var x, O = this.__valueOrFn(this.$menu, t.node, i.$page); "string" == typeof O && (O = e(O)); var $ = new Hammer(O[0], this.opts[a].vendors.hammer); $.on("panstart", function (e) { m(e.center[u.typeLower]), x = h(), l = u.open_dir }), $.on(u.events + " panend", function (e) { g > 0 && e.preventDefault() }), $.on(u.events, function (e) { if (r = e["delta" + u.typeUpper], u.negative && (r = -r), r != _ && (l = r >= _ ? u.open_dir : u.close_dir), _ = r, _ > t.threshold && 1 == g) { if (i.$html.hasClass(s.wrapper + "_opened")) return; g = 2, f._openSetup(), f.trigger("open:start"), i.$html.addClass(s.dragging), v = n(i.$wndw[c]() * o[c].perc, o[c].min, o[c].max) } 2 == g && (p = n(_, 10, v) - ("front" == y ? v : 0), u.negative && (p = -p), d = "translate" + u.typeUpper + "(" + p + "px )", x.css({ "-webkit-transform": "-webkit-" + d, transform: d })) }), $.on("panend", function (e) { 2 == g && (i.$html.removeClass(s.dragging), x.css("transform", ""), f[l == u.open_dir ? "_openFinish" : "close"]()), g = 0 }) } function o(e, n, t, o) { var i = this, p = e.data(r.parent); if (p) { p = p.closest("." + s.panel); var d = new Hammer(e[0], i.opts[a].vendors.hammer), f = null; d.on("panright", function (e) { f || (i.openPanel(p), f = setTimeout(function () { clearTimeout(f), f = null }, i.conf.openingInterval + i.conf.transitionDuration)) }) } } var i = "mmenu", a = "drag"; e[i].addons[a] = { setup: function () { if (this.opts.offCanvas) { var n = this.opts[a], s = this.conf[a]; d = e[i].glbl, "boolean" == typeof n && (n = { menu: n, panels: n }), "object" != typeof n && (n = {}), "boolean" == typeof n.menu && (n.menu = { open: n.menu }), "object" != typeof n.menu && (n.menu = {}), "boolean" == typeof n.panels && (n.panels = { close: n.panels }), "object" != typeof n.panels && (n.panels = {}), n = this.opts[a] = e.extend(!0, {}, e[i].defaults[a], n), n.menu.open && this.bind("setPage:after", function () { t.call(this, n.menu, s.menu, d) }), n.panels.close && this.bind("initPanel:after", function (e) { o.call(this, e, n.panels, s.panels, d) }) } }, add: function () { return "function" != typeof Hammer || Hammer.VERSION < 2 ? (e[i].addons[a].add = function () { }, void (e[i].addons[a].setup = function () { })) : (s = e[i]._c, r = e[i]._d, p = e[i]._e, void s.add("dragging")) }, clickAnchor: function (e, n) { } }, e[i].defaults[a] = { menu: { open: !1, maxStartPos: 100, threshold: 50 }, panels: { close: !1 }, vendors: { hammer: {} } }, e[i].configuration[a] = { menu: { width: { perc: .8, min: 140, max: 440 }, height: { perc: .8, min: 140, max: 880 } }, panels: {} }; var s, r, p, d }(jQuery); !function (t) { var o = "mmenu", e = "dropdown"; t[o].addons[e] = { setup: function () { if (this.opts.offCanvas) { var r = this, f = this.opts[e], p = this.conf[e]; if (a = t[o].glbl, "boolean" == typeof f && f && (f = { drop: f }), "object" != typeof f && (f = {}), "string" == typeof f.position && (f.position = { of: f.position }), f = this.opts[e] = t.extend(!0, {}, t[o].defaults[e], f), f.drop) { var l; this.bind("initMenu:after", function () { if (this.$menu.addClass(i.menu + "_" + e), "string" != typeof f.position.of) { var o = this._getOriginalMenuId(); o && o.length && (f.position.of = '[href="#' + o + '"]') } "string" == typeof f.position.of && (l = t(f.position.of), f.event = f.event.split(" "), 1 == f.event.length && (f.event[1] = f.event[0]), "hover" == f.event[0] && l.on(s.mouseenter + "-" + e, function () { r.open() }), "hover" == f.event[1] && this.$menu.on(s.mouseleave + "-" + e, function () { r.close() })) }), this.bind("open:start", function () { this.$menu.data(n.style, this.$menu.attr("style") || ""), a.$html.addClass(i.wrapper + "_dropdown") }), this.bind("close:finish", function () { this.$menu.attr("style", this.$menu.data(n.style)), a.$html.removeClass(i.wrapper + "_dropdown") }); var h = function (t, o) { var e = o[0], n = o[1], s = "x" == t ? "scrollLeft" : "scrollTop", r = "x" == t ? "outerWidth" : "outerHeight", h = "x" == t ? "left" : "top", u = "x" == t ? "right" : "bottom", d = "x" == t ? "width" : "height", c = "x" == t ? "maxWidth" : "maxHeight", m = null, v = a.$wndw[s](), w = l.offset()[h] -= v, x = w + l[r](), b = a.$wndw[d](), g = p.offset.button[t] + p.offset.viewport[t]; if (f.position[t]) switch (f.position[t]) { case "left": case "bottom": m = "after"; break; case "right": case "top": m = "before" } null === m && (m = w + (x - w) / 2 < b / 2 ? "after" : "before"); var $, y; return "after" == m ? ($ = "x" == t ? w : x, y = b - ($ + g), e[h] = $ + p.offset.button[t], e[u] = "auto", f.tip && n.push(i.menu + "_tip-" + ("x" == t ? "left" : "top"))) : ($ = "x" == t ? x : w, y = $ - g, e[u] = "calc( 100% - " + ($ - p.offset.button[t]) + "px )", e[h] = "auto", f.tip && n.push(i.menu + "_tip-" + ("x" == t ? "right" : "bottom"))), f.fitViewport && (e[c] = Math.min(p[d].max, y)), [e, n] }, u = function (t) { if (this.vars.opened) { this.$menu.attr("style", this.$menu.data(n.style)); var o = [{}, []]; o = h.call(this, "y", o), o = h.call(this, "x", o), this.$menu.css(o[0]), f.tip && this.$menu.removeClass(i.tipleft + " " + i.tipright + " " + i.tiptop + " " + i.tipbottom).addClass(o[1].join(" ")) } }; this.bind("open:start", u), a.$wndw.on(s.resize + "-" + e, function (t) { u.call(r) }), this.opts.offCanvas.blockUI || a.$wndw.on(s.scroll + "-" + e, function (t) { u.call(r) }) } } }, add: function () { i = t[o]._c, n = t[o]._d, s = t[o]._e, i.add("dropdown"), s.add("mouseenter mouseleave resize scroll") }, clickAnchor: function (t, o) { } }, t[o].defaults[e] = { drop: !1, fitViewport: !0, event: "click", position: {}, tip: !0 }, t[o].configuration[e] = { offset: { button: { x: -5, y: 5 }, viewport: { x: 20, y: 20 } }, height: { max: 880 }, width: { max: 440 } }; var i, n, s, a }(jQuery); !function (s) { var t = "mmenu", i = "fixedElements"; s[t].addons[i] = { setup: function () { if (this.opts.offCanvas) { var n = (this.opts[i], this.conf[i]); c = s[t].glbl; var o = function (t) { var o = this.conf.classNames[i].fixed, f = t.find("." + o); this.__refactorClass(f, o, e.slideout), f[n.elemInsertMethod](n.elemInsertSelector); var a = this.conf.classNames[i].sticky, r = t.find("." + a); this.__refactorClass(r, a, e.sticky), r = t.find("." + e.sticky), r.length && (this.bind("open:start", function () { if ("hidden" == c.$html.css("overflow")) { var t = c.$wndw.scrollTop() + n.sticky.offset; r.each(function () { s(this).css("top", parseInt(s(this).css("top"), 10) + t) }) } }), this.bind("close:finish", function () { r.css("top", "") })) }; this.bind("setPage:after", o) } }, add: function () { e = s[t]._c, n = s[t]._d, o = s[t]._e, e.add("sticky") }, clickAnchor: function (s, t) { } }, s[t].configuration[i] = { sticky: { offset: 0 }, elemInsertMethod: "appendTo", elemInsertSelector: "body" }, s[t].configuration.classNames[i] = { fixed: "Fixed", sticky: "Sticky" }; var e, n, o, c }(jQuery); !function (a) { var n = "mmenu", t = "iconbar"; a[n].addons[t] = { setup: function () { function s(a) { f.removeClass(e.iconbar + "__tab_selected"); var n = f.filter('[href="#' + a.attr("id") + '"]'); if (n.length) n.addClass(e.iconbar + "__tab_selected"); else { var t = a.data(i.parent); t && t.length && s(t.closest("." + e.panel)) } } var c = this, d = this.opts[t]; this.conf[t]; if (r = a[n].glbl, d instanceof Array && (d = { add: !0, top: d }), d.add) { var l = null; if (a.each(["top", "bottom"], function (n, t) { var i = d[t]; i instanceof Array || (i = [i]); for (var o = a('
    '), r = 0, s = i.length; r < s; r++) o.append(i[r]); o.children().length && (l || (l = a('
    ')), l.append(o)) }), l && (this.bind("initMenu:after", function () { var a = e.menu + "_iconbar"; d.size && (a += " " + e.menu + "_iconbar-" + d.size), this.$menu.addClass(a).prepend(l) }), "tabs" == d.type)) { l.addClass(e.iconbar + "_tabs"); var f = l.find("a"); f.on(o.click + "-" + t, function (n) { var t = a(this); if (t.hasClass(e.iconbar + "__tab_selected")) return void n.stopImmediatePropagation(); try { var i = a(t.attr("href")); i.hasClass(e.panel) && (n.preventDefault(), n.stopImmediatePropagation(), c.__openPanelWoAnimation(i)) } catch (o) { } }), this.bind("openPanel:start", s) } } }, add: function () { e = a[n]._c, i = a[n]._d, o = a[n]._e, e.add(t) }, clickAnchor: function (a, n) { } }, a[n].defaults[t] = { add: !1, top: [], bottom: [] }, a[n].configuration[t] = {}; var e, i, o, r }(jQuery); !function (e) { var i = "mmenu", n = "iconPanels"; e[i].addons[n] = { setup: function () { var t = this, l = this.opts[n], r = (this.conf[n], !1); s = e[i].glbl, "boolean" == typeof l && (l = { add: l }), "number" != typeof l && "string" != typeof l || (l = { add: !0, visible: l }), "object" != typeof l && (l = {}), "first" == l.visible && (r = !0, l.visible = 1), l = this.opts[n] = e.extend(!0, {}, e[i].defaults[n], l), l.visible = Math.min(3, Math.max(1, l.visible)), l.visible++; var d = ""; if (!r) { for (var o = 0; o <= l.visible; o++) d += " " + a.panel + "_iconpanel-" + o; d.length && (d = d.slice(1)) } if (l.add) { var c = function (i) { if (!i.parent("." + a.listitem + "_vertical").length) { var n = t.$pnls.children("." + a.panel); r ? n.removeClass(a.panel + "_iconpanel-first").first().addClass(a.panel + "_iconpanel-first") : n.removeClass(d).filter("." + a.panel + "_opened-parent").removeClass(a.hidden).not(function () { return e(this).parent("." + a.listitem + "_vertical").length }).add(i).slice(-l.visible).each(function (i) { e(this).addClass(a.panel + "_iconpanel-" + i) }) } }; this.bind("initMenu:after", function () { var e = [a.menu + "_iconpanel"]; l.size && e.push(a.menu + "_iconpanel-" + l.size), l.hideNavbar && e.push(a.menu + "_hidenavbar"), l.hideDivider && e.push(a.menu + "_hidedivider"), this.$menu.addClass(e.join(" ")) }), this.bind("openPanel:start", c), this.bind("initPanels:after", function (e) { c.call(t, t.$pnls.children("." + a.panel + "_opened")) }), this.bind("initListview:after", function (e) { !l.blockPanel || e.parent("." + a.listitem + "_vertical").length || e.children("." + a.panel + "__blocker").length || e.prepend('') }) } }, add: function () { a = e[i]._c, t = e[i]._d, l = e[i]._e }, clickAnchor: function (e, i) { } }, e[i].defaults[n] = { add: !1, blockPanel: !0, hideDivider: !1, hideNavbar: !0, visible: 3 }; var a, t, l, s }(jQuery); !function (n) { function e(e, t) { e = e || this.$pnls.children("." + i.panel + "_opened"); var a = n(), s = this.$menu.children("." + i.mm("navbars_top") + ", ." + i.mm("navbars_bottom")).children("." + i.navbar); s.find(r).filter(":focus").length || ("default" == t && (a = e.children("." + i.listview).find("a[href]").not("." + i.hidden), a.length || (a = e.find(r).not("." + i.hidden)), a.length || (a = s.find(r).not("." + i.hidden))), a.length || (a = this.$menu.children("." + i.tabstart)), a.first().focus()) } var t = "mmenu", a = "keyboardNavigation"; n[t].addons[a] = { setup: function () { if (!n[t].support.touch) { var s = this.opts[a]; this.conf[a]; if (d = n[t].glbl, "boolean" != typeof s && "string" != typeof s || (s = { enable: s }), "object" != typeof s && (s = {}), s = this.opts[a] = n.extend(!0, {}, n[t].defaults[a], s), s.enable) { var o = n('