!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){!function(t){function o(t){return t}function e(t){return t}function n(){c=!0,f=t[s]._c,a=t[s]._d,r=t[s]._e,f.add("fixed-top fixed-bottom"),d=t[s].glbl}var s="mmenu",i="fixedElements";t[s].prototype["_init_"+i]=function(){if(this.opts.offCanvas){c||n();var s=this.vars[i+"_added"];if(this.vars[i+"_added"]=!0,s||(this.opts[i]=o(this.opts[i]),this.conf[i]=e(this.conf[i])),this.opts[i],this.conf[i],this.__refactorClass(t("div",d.$page),this.conf.classNames[i].fixedTop,"fixed-top"),this.__refactorClass(t("div",d.$page),this.conf.classNames[i].fixedBottom,"fixed-bottom"),!s){var a,p;this.$menu.on(r.opening,function(){var o=t(window).scrollTop(),e=d.$page.height()-o-d.$wndw.height();a=t("."+f["fixed-top"]),p=t("."+f["fixed-bottom"]),a.css({"-webkit-transform":"translateY( "+o+"px )",transform:"translateY( "+o+"px )"}),p.css({"-webkit-transform":"translateY( -"+e+"px )",transform:"translateY( -"+e+"px )"})}).on(r.closed,function(){a.add(p).css({"-webkit-transform":"none",transform:"none"})})}}},t[s].addons.push(i),t[s].defaults[i]={},t[s].configuration.classNames[i]={fixedTop:"FixedTop",fixedBottom:"FixedBottom"};var f,a,r,d,c=!1}(t)});