????

Your IP : 18.118.137.13


Current Path : /proc/self/root/home/innovagencyco/public_html/mrd/assets/
Upload File :
Current File : //proc/self/root/home/innovagencyco/public_html/mrd/assets/0cf129636629dc495bd42127a8b952f1.js

window.BrizyProLibs=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=24)}([function(t,e,n){var i,o;window,void 0===(o="function"==typeof(i=function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(){}var n="undefined"==typeof console?e:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=i.length;function r(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<o;e++)t[i[e]]=0;return t}function s(t){var e=getComputedStyle(t);return e||n("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var a,c=!1;function l(){if(!c){c=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(e);var i=s(e);a=200==Math.round(t(i.width)),d.isBoxSizeOuter=a,n.removeChild(e)}}function d(e){if(l(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var n=s(e);if("none"==n.display)return r();var c={};c.width=e.offsetWidth,c.height=e.offsetHeight;for(var d=c.isBorderBox="border-box"==n.boxSizing,m=0;m<o;m++){var u=i[m],h=n[u],p=parseFloat(h);c[u]=isNaN(p)?0:p}var f=c.paddingLeft+c.paddingRight,v=c.paddingTop+c.paddingBottom,b=c.marginLeft+c.marginRight,g=c.marginTop+c.marginBottom,y=c.borderLeftWidth+c.borderRightWidth,_=c.borderTopWidth+c.borderBottomWidth,z=d&&a,x=t(n.width);!1!==x&&(c.width=x+(z?0:f+y));var w=t(n.height);return!1!==w&&(c.height=w+(z?0:v+_)),c.innerWidth=c.width-(f+y),c.innerHeight=c.height-(v+_),c.outerWidth=c.width+b,c.outerHeight=c.height+g,c}}return d})?i.call(e,n,e,t):i)||(t.exports=o)},function(t,e,n){var i,o;!function(r,s){"use strict";i=[n(3),n(0),n(6),n(16)],void 0===(o=function(t,e,n,i){return function(t,e,n,i,o){var r=t.console,s=t.jQuery,a=function(){},c=0,l={};function d(t,e){var n=i.getQueryElement(t);if(n){this.element=n,s&&(this.$element=s(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(e);var o=++c;this.element.outlayerGUID=o,l[o]=this,this._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(n||t))}d.namespace="outlayer",d.Item=o,d.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var m=d.prototype;function u(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}i.extend(m,e.prototype),m.option=function(t){i.extend(this.options,t)},m._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},d.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},m._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},m.reloadItems=function(){this.items=this._itemize(this.element.children)},m._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],o=0;o<e.length;o++){var r=new n(e[o],this);i.push(r)}return i},m._filterFindItemElements=function(t){return i.filterFindElements(t,this.options.itemSelector)},m.getItemElements=function(){return this.items.map((function(t){return t.element}))},m.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},m._init=m.layout,m._resetLayout=function(){this.getSize()},m.getSize=function(){this.size=n(this.element)},m._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):o instanceof HTMLElement&&(i=o),this[t]=i?n(i)[e]:o):this[t]=0},m.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},m._getItemsForLayout=function(t){return t.filter((function(t){return!t.isIgnored}))},m._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var n=[];t.forEach((function(t){var i=this._getItemLayoutPosition(t);i.item=t,i.isInstant=e||t.isLayoutInstant,n.push(i)}),this),this._processLayoutQueue(n)}},m._getItemLayoutPosition=function(){return{x:0,y:0}},m._processLayoutQueue=function(t){this.updateStagger(),t.forEach((function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)}),this)},m.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=p(t),this.stagger;this.stagger=0},m._positionItem=function(t,e,n,i,o){i?t.goTo(e,n):(t.stagger(o*this.stagger),t.moveTo(e,n))},m._postLayout=function(){this.resizeContainer()},m.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},m._getContainerSize=a,m._setContainerMeasure=function(t,e){if(void 0!==t){var n=this.size;n.isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},m._emitCompleteOnItems=function(t,e){var n=this;function i(){n.dispatchEvent(t+"Complete",null,[e])}var o=e.length;if(e&&o){var r=0;e.forEach((function(e){e.once(t,s)}))}else i();function s(){++r==o&&i()}},m.dispatchEvent=function(t,e,n){var i=e?[e].concat(n):n;if(this.emitEvent(t,i),s)if(this.$element=this.$element||s(this.element),e){var o=s.Event(e);o.type=t,this.$element.trigger(o,n)}else this.$element.trigger(t,n)},m.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},m.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},m.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},m.unstamp=function(t){(t=this._find(t))&&t.forEach((function(t){i.removeFrom(this.stamps,t),this.unignore(t)}),this)},m._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=i.makeArray(t)},m._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},m._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},m._manageStamp=a,m._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=n(t);return{left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom}},m.handleEvent=i.handleEvent,m.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},m.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},m.onresize=function(){this.resize()},i.debounceMethod(d,"onresize",100),m.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},m.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},m.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},m.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},m.prepended=function(t){var e=this._itemize(t);if(e.length){var n=this.items.slice(0);this.items=e.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(n)}},m.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,n){t.stagger(n*e),t.reveal()}))}},m.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,n){t.stagger(n*e),t.hide()}))}},m.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},m.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},m.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n}},m.getItems=function(t){t=i.makeArray(t);var e=[];return t.forEach((function(t){var n=this.getItem(t);n&&e.push(n)}),this),e},m.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach((function(t){t.remove(),i.removeFrom(this.items,t)}),this)},m.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach((function(t){t.destroy()})),this.unbindResize();var e=this.element.outlayerGUID;delete l[e],delete this.element.outlayerGUID,s&&s.removeData(this.element,this.constructor.namespace)},d.data=function(t){var e=(t=i.getQueryElement(t))&&t.outlayerGUID;return e&&l[e]},d.create=function(t,e){var n=u(d);return n.defaults=i.extend({},d.defaults),i.extend(n.defaults,e),n.compatOptions=i.extend({},d.compatOptions),n.namespace=t,n.data=d.data,n.Item=u(o),i.htmlInit(n,t),s&&s.bridget&&s.bridget(t,n),n};var h={ms:1,s:1e3};function p(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),n=e&&e[1],i=e&&e[2];return n.length?(n=parseFloat(n))*(h[i]||1):0}return d.Item=o,d}(r,t,e,n,i)}.apply(e,i))||(t.exports=o)}(window)},function(t,e,n){var i,o,r;window,o=[n(0),n(1)],void 0===(r="function"==typeof(i=function(t,e){"use strict";function n(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var i=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach((function(t){i[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}})),i.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},i._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.getRowHeight=function(){this.getSegmentSize("row","Height")},i.getSegmentSize=function(t,e){var n=t+e,i="outer"+e;if(this._getMeasurement(n,i),!this[n]){var o=this.getFirstItemSize();this[n]=o&&o[i]||this.isotope.size["inner"+e]}},i.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},i.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(t,e){function o(){n.apply(this,arguments)}return o.prototype=Object.create(i),o.prototype.constructor=o,e&&(o.options=e),o.prototype.namespace=t,n.modes[t]=o,o},n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){var i,o;"undefined"!=typeof window&&window,void 0===(o="function"==typeof(i=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},i=n[t]=n[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=n.indexOf(e);return-1!=i&&n.splice(i,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var r=n[o];i&&i[r]&&(this.off(t,r),delete i[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?i.call(e,n,e,t):i)||(t.exports=o)},function(t,e,n){var i,o;!function(r,s){"use strict";i=[n(3)],void 0===(o=function(t){return function(t,e){var n=t.jQuery,i=t.console;function o(t,e){for(var n in e)t[n]=e[n];return t}var r=Array.prototype.slice;function s(t){return Array.isArray(t)?t:"object"==typeof t&&"number"==typeof t.length?r.call(t):[t]}function a(t,e,r){if(!(this instanceof a))return new a(t,e,r);var c=t;"string"==typeof t&&(c=document.querySelectorAll(t)),c?(this.elements=s(c),this.options=o({},this.options),"function"==typeof e?r=e:o(this.options,e),r&&this.on("always",r),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):i.error("Bad element for imagesLoaded "+(c||t))}a.prototype=Object.create(e.prototype),a.prototype.options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&c[e]){for(var n=t.querySelectorAll("img"),i=0;i<n.length;i++){var o=n[i];this.addImage(o)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(i=0;i<r.length;i++){var s=r[i];this.addElementBackgroundImages(s)}}}};var c={1:!0,9:!0,11:!0};function l(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return a.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,i=n.exec(e.backgroundImage);null!==i;){var o=i&&i[2];o&&this.addBackground(o,t),i=n.exec(e.backgroundImage)}},a.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},a.prototype.addBackground=function(t,e){var n=new d(t,e);this.images.push(n)},a.prototype.check=function(){var t=this;function e(e,n,i){setTimeout((function(){t.progress(e,n,i)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},a.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&i&&i.log("progress: "+n,t,e)},a.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l.prototype=Object.create(e.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(l.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},a.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new a(this,t,e).jqDeferred.promise(n(this))})},a.makeJQueryPlugin(),a}(r,t)}.apply(e,i))||(t.exports=o)}("undefined"!=typeof window?window:this)},function(t,e,n){var i,o;!function(r,s){i=[n(1),n(0),n(7),n(6),n(17),n(2),n(18),n(20),n(21)],void 0===(o=function(t,e,n,i,o,s){return function(t,e,n,i,o,r,s){"use strict";var a=t.jQuery,c=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},l=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});l.Item=r,l.LayoutMode=s;var d=l.prototype;d._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],s.modes)this._initLayoutMode(t)},d.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},d._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),n=0;n<t.length;n++){t[n].id=this.itemGUID++}return this._updateItemsSortData(t),t},d._initLayoutMode=function(t){var e=s.modes[t],n=this.options[t]||{};this.options[t]=e.options?o.extend(e.options,n):n,this.modes[t]=new e(this)},d.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},d._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},d._init=d.arrange,d._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},d._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},d._bindArrangeComplete=function(){var t,e,n,i=this;function o(){t&&e&&n&&i.dispatchEvent("arrangeComplete",null,[i.filteredItems])}this.once("layoutComplete",(function(){t=!0,o()})),this.once("hideComplete",(function(){e=!0,o()})),this.once("revealComplete",(function(){n=!0,o()}))},d._filter=function(t){var e=this.options.filter;e=e||"*";for(var n=[],i=[],o=[],r=this._getFilterTest(e),s=0;s<t.length;s++){var a=t[s];if(!a.isIgnored){var c=r(a);c&&n.push(a),c&&a.isHidden?i.push(a):c||a.isHidden||o.push(a)}}return{matches:n,needReveal:i,needHide:o}},d._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return i(e.element,t)}},d.updateSortData=function(t){var e;t?(t=o.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},d._getSorters=function(){var t=this.options.getSortData;for(var e in t){var n=t[e];this._sorters[e]=m(n)}},d._updateItemsSortData=function(t){for(var e=t&&t.length,n=0;e&&n<e;n++){t[n].updateSortData()}};var m=function(){function t(t){if("string"!=typeof t)return t;var n=c(t).split(" "),i=n[0],o=i.match(/^\[(.+)\]$/),r=e(o&&o[1],i),s=l.sortDataParsers[n[1]];return t=s?function(t){return t&&s(r(t))}:function(t){return t&&r(t)}}function e(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var n=t.querySelector(e);return n&&n.textContent}}return t}();function u(t,e){return function(n,i){for(var o=0;o<t.length;o++){var r=t[o],s=n.sortData[r],a=i.sortData[r];if(s>a||s<a)return(s>a?1:-1)*((void 0!==e[r]?e[r]:e)?1:-1)}return 0}}l.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d._sort=function(){if(this.options.sortBy){var t=o.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=u(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},d._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},d._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},d._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},d._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d._manageStamp=function(t){this._mode()._manageStamp(t)},d._getContainerSize=function(){return this._mode()._getContainerSize()},d.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.appended=function(t){var e=this.addItems(t);if(e.length){var n=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(n)}},d.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var n=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=n.concat(this.filteredItems),this.items=e.concat(this.items)}},d._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},d.insert=function(t){var e=this.addItems(t);if(e.length){var n,i,o=e.length;for(n=0;n<o;n++)i=e[n],this.element.appendChild(i.element);var r=this._filter(e).matches;for(n=0;n<o;n++)e[n].isLayoutInstant=!0;for(this.arrange(),n=0;n<o;n++)delete e[n].isLayoutInstant;this.reveal(r)}};var h=d.remove;return d.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);h.call(this,t);for(var n=e&&e.length,i=0;n&&i<n;i++){var r=e[i];o.removeFrom(this.filteredItems,r)}},d.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d._noTransition=function(t,e){var n=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.apply(this,e);return this.options.transitionDuration=n,i},d.getFilteredItemElements=function(){return this.filteredItems.map((function(t){return t.element}))},l}(r,t,0,n,i,o,s)}.apply(e,i))||(t.exports=o)}(window)},function(t,e,n){var i,o;!function(r,s){i=[n(7)],void 0===(o=function(t){return function(t,e){"use strict";var n={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e}},i=Array.prototype.slice;n.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?i.call(t):[t]},n.removeFrom=function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1)},n.getParent=function(t,n){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,n))return t},n.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.filterFindElements=function(t,i){t=n.makeArray(t);var o=[];return t.forEach((function(t){if(t instanceof HTMLElement)if(i){e(t,i)&&o.push(t);for(var n=t.querySelectorAll(i),r=0;r<n.length;r++)o.push(n[r])}else o.push(t)})),o},n.debounceMethod=function(t,e,n){n=n||100;var i=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout((function(){i.apply(r,e),delete r[o]}),n)}},n.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},n.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,n){return e+"-"+n})).toLowerCase()};var o=t.console;return n.htmlInit=function(e,i){n.docReady((function(){var r=n.toDashed(i),s="data-"+r,a=document.querySelectorAll("["+s+"]"),c=document.querySelectorAll(".js-"+r),l=n.makeArray(a).concat(n.makeArray(c)),d=s+"-options",m=t.jQuery;l.forEach((function(t){var n,r=t.getAttribute(s)||t.getAttribute(d);try{n=r&&JSON.parse(r)}catch(e){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+e))}var a=new e(t,n);m&&m.data(t,i,a)}))}))},n}(r,t)}.apply(e,i))||(t.exports=o)}(window)},function(t,e,n){var i,o;!function(r,s){"use strict";void 0===(o="function"==typeof(i=s)?i.call(e,n,e,t):i)||(t.exports=o)}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0;n<e.length;n++){var i=e[n]+"MatchesSelector";if(t[i])return i}}();return function(e,n){return e[t](n)}}))},,function(t,e,n){"use strict";n.r(e);n(15);var i=n(4),o=n.n(i);n.d(e,"ImagesLoaded",(function(){return o.a}));var r=n(5),s=n.n(r);n.d(e,"Isotope",(function(){return s.a}))},,function(t,e,n){"use strict";function i(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function o(t){if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function r(t){var e=o(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function s(t){return t instanceof o(t).Element||t instanceof Element}function a(t){return t instanceof o(t).HTMLElement||t instanceof HTMLElement}function c(t){return t?(t.nodeName||"").toLowerCase():null}function l(t){return((s(t)?t.ownerDocument:t.document)||window.document).documentElement}function d(t){return i(l(t)).left+r(t).scrollLeft}function m(t){return o(t).getComputedStyle(t)}function u(t){var e=m(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function h(t,e,n){void 0===n&&(n=!1);var s,m,h=l(e),p=i(t),f=a(e),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!n)&&(("body"!==c(e)||u(h))&&(v=(s=e)!==o(s)&&a(s)?{scrollLeft:(m=s).scrollLeft,scrollTop:m.scrollTop}:r(s)),a(e)?((b=i(e)).x+=e.clientLeft,b.y+=e.clientTop):h&&(b.x=d(h))),{x:p.left+v.scrollLeft-b.x,y:p.top+v.scrollTop-b.y,width:p.width,height:p.height}}function p(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function f(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||t.host||l(t)}function v(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:a(t)&&u(t)?t:v(f(t))}function b(t,e){void 0===e&&(e=[]);var n=v(t),i="body"===c(n),r=o(n),s=i?[r].concat(r.visualViewport||[],u(n)?n:[]):n,a=e.concat(s);return i?a:a.concat(b(f(s)))}function g(t){return["table","td","th"].indexOf(c(t))>=0}function y(t){if(!a(t)||"fixed"===m(t).position)return null;var e=t.offsetParent;if(e){var n=l(e);if("body"===c(e)&&"static"===m(e).position&&"static"!==m(n).position)return n}return e}function _(t){for(var e=o(t),n=y(t);n&&g(n)&&"static"===m(n).position;)n=y(n);return n&&"body"===c(n)&&"static"===m(n).position?e:n||function(t){for(var e=f(t);a(e)&&["html","body"].indexOf(c(e))<0;){var n=m(e);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return e;e=e.parentNode}return null}(t)||e}n.r(e),n.d(e,"MMenu",(function(){return Re})),n.d(e,"CreatePopper",(function(){return rt})),n.d(e,"Dropdown",(function(){return lt}));var z="top",x="bottom",w="right",E="left",L="auto",P=[z,x,w,E],S="start",O="end",k="viewport",I="popper",M=P.reduce((function(t,e){return t.concat([e+"-"+S,e+"-"+O])}),[]),T=[].concat(P,[L]).reduce((function(t,e){return t.concat([e,e+"-"+S,e+"-"+O])}),[]),C=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function A(t){var e=new Map,n=new Set,i=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&o(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),i}var j={placement:"bottom",modifiers:[],strategy:"absolute"};function D(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function W(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,o=e.defaultOptions,r=void 0===o?j:o;return function(t,e,n){void 0===n&&(n=r);var o,a,c={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},j),r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],d=!1,m={state:c,setOptions:function(n){u(),c.options=Object.assign(Object.assign(Object.assign({},r),c.options),n),c.scrollParents={reference:s(t)?b(t):t.contextElement?b(t.contextElement):[],popper:b(e)};var o=function(t){var e=A(t);return C.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign(Object.assign(Object.assign({},n),e),{},{options:Object.assign(Object.assign({},n.options),e.options),data:Object.assign(Object.assign({},n.data),e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,c.options.modifiers)));return c.orderedModifiers=o.filter((function(t){return t.enabled})),c.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var r=o({state:c,name:e,instance:m,options:i}),s=function(){};l.push(r||s)}})),m.update()},forceUpdate:function(){if(!d){var t=c.elements,e=t.reference,n=t.popper;if(D(e,n)){c.rects={reference:h(e,_(n),"fixed"===c.options.strategy),popper:p(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(t){return c.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<c.orderedModifiers.length;i++)if(!0!==c.reset){var o=c.orderedModifiers[i],r=o.fn,s=o.options,a=void 0===s?{}:s,l=o.name;"function"==typeof r&&(c=r({state:c,options:a,name:l,instance:m})||c)}else c.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(t){m.forceUpdate(),t(c)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){u(),d=!0}};if(!D(t,e))return m;function u(){l.forEach((function(t){return t()})),l=[]}return m.setOptions(n).then((function(t){!d&&n.onFirstUpdate&&n.onFirstUpdate(t)})),m}}var H={passive:!0};function N(t){return t.split("-")[0]}function B(t){return t.split("-")[1]}function R(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function q(t){var e,n=t.reference,i=t.element,o=t.placement,r=o?N(o):null,s=o?B(o):null,a=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2;switch(r){case z:e={x:a,y:n.y-i.height};break;case x:e={x:a,y:n.y+n.height};break;case w:e={x:n.x+n.width,y:c};break;case E:e={x:n.x-i.width,y:c};break;default:e={x:n.x,y:n.y}}var l=r?R(r):null;if(null!=l){var d="y"===l?"height":"width";switch(s){case S:e[l]=Math.floor(e[l])-Math.floor(n[d]/2-i[d]/2);break;case O:e[l]=Math.floor(e[l])+Math.ceil(n[d]/2-i[d]/2)}}return e}var F={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Y(t){var e,n=t.popper,i=t.popperRect,r=t.placement,s=t.offsets,a=t.position,c=t.gpuAcceleration,d=t.adaptive,m=function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:Math.round(e*i)/i||0,y:Math.round(n*i)/i||0}}(s),u=m.x,h=m.y,p=s.hasOwnProperty("x"),f=s.hasOwnProperty("y"),v=E,b=z,g=window;if(d){var y=_(n);y===o(n)&&(y=l(n)),r===z&&(b=x,h-=y.clientHeight-i.height,h*=c?1:-1),r===E&&(v=w,u-=y.clientWidth-i.width,u*=c?1:-1)}var L,P=Object.assign({position:a},d&&F);return c?Object.assign(Object.assign({},P),{},((L={})[b]=f?"0":"",L[v]=p?"0":"",L.transform=(g.devicePixelRatio||1)<2?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",L)):Object.assign(Object.assign({},P),{},((e={})[b]=f?h+"px":"",e[v]=p?u+"px":"",e.transform="",e))}var U={left:"right",right:"left",bottom:"top",top:"bottom"};function G(t){return t.replace(/left|right|bottom|top/g,(function(t){return U[t]}))}var Q={start:"end",end:"start"};function V(t){return t.replace(/start|end/g,(function(t){return Q[t]}))}function X(t,e){var n,i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&((n=i)instanceof o(n).ShadowRoot||n instanceof ShadowRoot)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function $(t){return Object.assign(Object.assign({},t),{},{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function J(t,e){return e===k?$(function(t){var e=o(t),n=l(t),i=e.visualViewport,r=n.clientWidth,s=n.clientHeight,a=0,c=0;return i&&(r=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,c=i.offsetTop)),{width:r,height:s,x:a+d(t),y:c}}(t)):a(e)?function(t){var e=i(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):$(function(t){var e=l(t),n=r(t),i=t.ownerDocument.body,o=Math.max(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Math.max(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+d(t),c=-n.scrollTop;return"rtl"===m(i||e).direction&&(a+=Math.max(e.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:c}}(l(t)))}function Z(t,e,n){var i="clippingParents"===e?function(t){var e=b(f(t)),n=["absolute","fixed"].indexOf(m(t).position)>=0&&a(t)?_(t):t;return s(n)?e.filter((function(t){return s(t)&&X(t,n)&&"body"!==c(t)})):[]}(t):[].concat(e),o=[].concat(i,[n]),r=o[0],l=o.reduce((function(e,n){var i=J(t,n);return e.top=Math.max(i.top,e.top),e.right=Math.min(i.right,e.right),e.bottom=Math.min(i.bottom,e.bottom),e.left=Math.max(i.left,e.left),e}),J(t,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function K(t){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),t)}function tt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function et(t,e){void 0===e&&(e={});var n=e,o=n.placement,r=void 0===o?t.placement:o,a=n.boundary,c=void 0===a?"clippingParents":a,d=n.rootBoundary,m=void 0===d?k:d,u=n.elementContext,h=void 0===u?I:u,p=n.altBoundary,f=void 0!==p&&p,v=n.padding,b=void 0===v?0:v,g=K("number"!=typeof b?b:tt(b,P)),y=h===I?"reference":I,_=t.elements.reference,E=t.rects.popper,L=t.elements[f?y:h],S=Z(s(L)?L:L.contextElement||l(t.elements.popper),c,m),O=i(_),M=q({reference:O,element:E,strategy:"absolute",placement:r}),T=$(Object.assign(Object.assign({},E),M)),C=h===I?T:O,A={top:S.top-C.top+g.top,bottom:C.bottom-S.bottom+g.bottom,left:S.left-C.left+g.left,right:C.right-S.right+g.right},j=t.modifiersData.offset;if(h===I&&j){var D=j[r];Object.keys(A).forEach((function(t){var e=[w,x].indexOf(t)>=0?1:-1,n=[z,x].indexOf(t)>=0?"y":"x";A[t]+=D[n]*e}))}return A}function nt(t,e,n){return Math.max(t,Math.min(e,n))}function it(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ot(t){return[z,w,x,E].some((function(e){return t[e]>=0}))}var rt=W({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,s=void 0===r||r,a=i.resize,c=void 0===a||a,l=o(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach((function(t){t.addEventListener("scroll",n.update,H)})),c&&l.addEventListener("resize",n.update,H),function(){s&&d.forEach((function(t){t.removeEventListener("scroll",n.update,H)})),c&&l.removeEventListener("resize",n.update,H)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=q({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a={placement:N(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),Y(Object.assign(Object.assign({},a),{},{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),Y(Object.assign(Object.assign({},a),{},{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];a(o)&&c(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});a(i)&&c(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.offset,r=void 0===o?[0,0]:o,s=T.reduce((function(t,n){return t[n]=function(t,e,n){var i=N(t),o=[E,z].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign(Object.assign({},e),{},{placement:t})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[E,w].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,r),t}),{}),a=s[e.placement],c=a.x,l=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l),e.modifiersData[i]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0===s||s,c=n.fallbackPlacements,l=n.padding,d=n.boundary,m=n.rootBoundary,u=n.altBoundary,h=n.flipVariations,p=void 0===h||h,f=n.allowedAutoPlacements,v=e.options.placement,b=N(v),g=c||(b===v||!p?[G(v)]:function(t){if(N(t)===L)return[];var e=G(t);return[V(t),e,V(e)]}(v)),y=[v].concat(g).reduce((function(t,n){return t.concat(N(n)===L?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?T:c,d=B(i),m=d?a?M:M.filter((function(t){return B(t)===d})):P,u=m.filter((function(t){return l.indexOf(t)>=0}));0===u.length&&(u=m);var h=u.reduce((function(e,n){return e[n]=et(t,{placement:n,boundary:o,rootBoundary:r,padding:s})[N(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:n,boundary:d,rootBoundary:m,padding:l,flipVariations:p,allowedAutoPlacements:f}):n)}),[]),_=e.rects.reference,O=e.rects.popper,k=new Map,I=!0,C=y[0],A=0;A<y.length;A++){var j=y[A],D=N(j),W=B(j)===S,H=[z,x].indexOf(D)>=0,R=H?"width":"height",q=et(e,{placement:j,boundary:d,rootBoundary:m,altBoundary:u,padding:l}),F=H?W?w:E:W?x:z;_[R]>O[R]&&(F=G(F));var Y=G(F),U=[];if(r&&U.push(q[D]<=0),a&&U.push(q[F]<=0,q[Y]<=0),U.every((function(t){return t}))){C=j,I=!1;break}k.set(j,U)}if(I)for(var Q=function(t){var e=y.find((function(e){var n=k.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return C=e,"break"},X=p?3:1;X>0;X--){if("break"===Q(X))break}e.placement!==C&&(e.modifiersData[i]._skip=!0,e.placement=C,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,d=n.altBoundary,m=n.padding,u=n.tether,h=void 0===u||u,f=n.tetherOffset,v=void 0===f?0:f,b=et(e,{boundary:c,rootBoundary:l,padding:m,altBoundary:d}),g=N(e.placement),y=B(e.placement),L=!y,P=R(g),O="x"===P?"y":"x",k=e.modifiersData.popperOffsets,I=e.rects.reference,M=e.rects.popper,T="function"==typeof v?v(Object.assign(Object.assign({},e.rects),{},{placement:e.placement})):v,C={x:0,y:0};if(k){if(r){var A="y"===P?z:E,j="y"===P?x:w,D="y"===P?"height":"width",W=k[P],H=k[P]+b[A],q=k[P]-b[j],F=h?-M[D]/2:0,Y=y===S?I[D]:M[D],U=y===S?-M[D]:-I[D],G=e.elements.arrow,Q=h&&G?p(G):{width:0,height:0},V=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=V[A],$=V[j],J=nt(0,I[D],Q[D]),Z=L?I[D]/2-F-J-X-T:Y-J-X-T,K=L?-I[D]/2+F+J+$+T:U+J+$+T,tt=e.elements.arrow&&_(e.elements.arrow),it=tt?"y"===P?tt.clientTop||0:tt.clientLeft||0:0,ot=e.modifiersData.offset?e.modifiersData.offset[e.placement][P]:0,rt=k[P]+Z-ot-it,st=k[P]+K-ot,at=nt(h?Math.min(H,rt):H,W,h?Math.max(q,st):q);k[P]=at,C[P]=at-W}if(a){var ct="x"===P?z:E,lt="x"===P?x:w,dt=k[O],mt=nt(dt+b[ct],dt,dt-b[lt]);k[O]=mt,C[O]=mt-dt}e.modifiersData[i]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,o=n.elements.arrow,r=n.modifiersData.popperOffsets,s=N(n.placement),a=R(s),c=[E,w].indexOf(s)>=0?"height":"width";if(o&&r){var l=n.modifiersData[i+"#persistent"].padding,d=p(o),m="y"===a?z:E,u="y"===a?x:w,h=n.rects.reference[c]+n.rects.reference[a]-r[a]-n.rects.popper[c],f=r[a]-n.rects.reference[a],v=_(o),b=v?"y"===a?v.clientHeight||0:v.clientWidth||0:0,g=h/2-f/2,y=l[m],L=b-d[c]-l[u],P=b/2-d[c]/2+g,S=nt(y,P,L),O=a;n.modifiersData[i]=((e={})[O]=S,e.centerOffset=S-P,e)}},effect:function(t){var e=t.state,n=t.options,i=t.name,o=n.element,r=void 0===o?"[data-popper-arrow]":o,s=n.padding,a=void 0===s?0:s;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&X(e.elements.popper,r)&&(e.elements.arrow=r,e.modifiersData[i+"#persistent"]={padding:K("number"!=typeof a?a:tt(a,P))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=et(e,{elementContext:"reference"}),a=et(e,{altBoundary:!0}),c=it(s,i),l=it(a,o,r),d=ot(c),m=ot(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:d,hasPopperEscaped:m},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-reference-hidden":d,"data-popper-escaped":m})}}]});function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function at(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?at(Object(n),!0).forEach((function(e){st(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}class lt{constructor(t,e,n){st(this,"settings",{offset:0,placement:"bottom-start",onOpen:void 0}),st(this,"itemPopper",void 0),st(this,"item",void 0),st(this,"content",void 0),st(this,"attached",{events:!1,popper:!1}),st(this,"handleEnter",(()=>{this.open()})),st(this,"handleLeave",(()=>{this.close()})),this.item=t,this.content=e,this.settings=ct(ct({},this.settings),n),this.init()}init(){const{disabled:t}=this.settings;if(t){const{position:e,events:n}=t;e?this.destroyPopper():this.initPopper(),n?this.destroyEvents():this.initEvents()}else this.initEvents(),this.initPopper()}initPopper(){if(this.item&&this.content instanceof HTMLElement&&!this.attached.popper){this.attached.popper=!0;const t=this.settings.offset,e={placement:this.settings.placement,modifiers:[{name:"offset",options:{offset:[0,t]}}]};this.content.style.setProperty("--offset",`${t}px`),this.itemPopper=rt(this.item,this.content,e)}}initEvents(){this.item&&!this.attached.events&&(this.item.addEventListener("mouseenter",this.handleEnter),this.item.addEventListener("mouseleave",this.handleLeave),this.attached.events=!0)}destroyPopper(){var t;null===(t=this.itemPopper)||void 0===t||t.destroy(),this.itemPopper=void 0,this.attached.popper=!1,this.content instanceof HTMLElement&&this.content.style.removeProperty("--offset")}destroyEvents(){var t,e;null===(t=this.item)||void 0===t||t.removeEventListener("mouseenter",this.handleEnter),null===(e=this.item)||void 0===e||e.removeEventListener("mouseleave",this.handleLeave),this.attached.events=!1}open(){const t=this.itemPopper;var e,n,i;t?t.update().then((()=>{var t,e,n;null===(t=this.item)||void 0===t||t.classList.add("brz-menu__item-dropdown--active"),null===(e=(n=this.settings).onOpen)||void 0===e||e.call(n)})):(null===(e=this.item)||void 0===e||e.classList.add("brz-menu__item-dropdown--active"),null===(n=(i=this.settings).onOpen)||void 0===n||n.call(i))}close(){var t,e,n;null===(t=this.item)||void 0===t||t.classList.remove("brz-menu__item-dropdown--active"),null===(e=(n=this.settings).onClose)||void 0===e||e.call(n)}update(t){t&&(this.settings=ct(ct({},this.settings),t)),this.init()}}var dt={hooks:{},extensions:[],wrappers:[],navbar:{add:!0,sticky:!0,title:"Menu",titleLink:"parent"},onClick:{close:null,preventDefault:null,setSelected:!0},slidingSubmenus:!0},mt={classNames:{inset:"Inset",nolistview:"NoListview",nopanel:"NoPanel",panel:"Panel",selected:"Selected",vertical:"Vertical"},language:null,openingInterval:25,panelNodetype:["ul","ol","div"],transitionDuration:400};function ut(t,e){for(var n in"object"!=ht(t)&&(t={}),"object"!=ht(e)&&(e={}),e)e.hasOwnProperty(n)&&(void 0===t[n]?t[n]=e[n]:"object"==ht(t[n])&&ut(t[n],e[n]));return t}function ht(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function pt(t,e,n){if("function"==typeof e){var i=e.call(t);if(void 0!==i)return i}return null!==e&&"function"!=typeof e&&void 0!==e||void 0===n?e:n}function ft(t,e,n){var i=!1,o=function(n){void 0!==n&&n.target!==t||(i||(t.removeEventListener("transitionend",o),t.removeEventListener("webkitTransitionEnd",o),e.call(t)),i=!0)};t.addEventListener("transitionend",o),t.addEventListener("webkitTransitionEnd",o),setTimeout(o,1.1*n)}function vt(){return"mm-"+bt++}var bt=0;function gt(t){return"mm-"==t.slice(0,3)?t.slice(3):t}var yt={};function _t(t,e){void 0===yt[e]&&(yt[e]={}),ut(yt[e],t)}var zt={Menu:"منو"},xt={Menu:"Menü"},wt={Menu:"Меню"};function Et(t){var e=t.split("."),n=document.createElement(e.shift());return e.forEach((function(t){n.classList.add(t)})),n}function Lt(t,e){return Array.prototype.slice.call(t.querySelectorAll(e))}function Pt(t,e){var n=Array.prototype.slice.call(t.children);return e?n.filter((function(t){return t.matches(e)})):n}function St(t,e){for(var n=[],i=t.parentElement;i;)n.push(i),i=i.parentElement;return e?n.filter((function(t){return t.matches(e)})):n}function Ot(t){return t.filter((function(t){return!t.matches(".mm-hidden")}))}function kt(t){var e=[];return Ot(t).forEach((function(t){e.push.apply(e,Pt(t,"a.mm-listitem__text"))})),e.filter((function(t){return!t.matches(".mm-btn_next")}))}function It(t,e,n){t.matches("."+e)&&(t.classList.remove(e),t.classList.add(n))}var Mt={};function Tt(t,e,n){"number"==typeof t&&(t="(min-width: "+t+"px)"),Mt[t]=Mt[t]||[],Mt[t].push({yes:e,no:n})}function Ct(t,e){for(var n=e.matches?"yes":"no",i=0;i<Mt[t].length;i++)Mt[t][i][n]()}_t({Menu:"Menu"},"nl"),_t(zt,"fa"),_t(xt,"de"),_t(wt,"ru");var At=function(){function t(e,n,i){return this.opts=ut(n,t.options),this.conf=ut(i,t.configs),this._api=["bind","initPanel","initListview","openPanel","closePanel","closeAllPanels","setSelected"],this.node={},this.vars={},this.hook={},this.clck=[],this.node.menu="string"==typeof e?document.querySelector(e):e,"function"==typeof this._deprecatedWarnings&&this._deprecatedWarnings(),this._initWrappers(),this._initAddons(),this._initExtensions(),this._initHooks(),this._initAPI(),this._initMenu(),this._initPanels(),this._initOpened(),this._initAnchors(),function(){var t=function(t){var e=window.matchMedia(t);Ct(t,e),e.onchange=function(n){Ct(t,e)}};for(var e in Mt)t(e)}(),this}return t.prototype.openPanel=function(t,e){var n=this;if(this.trigger("openPanel:before",[t]),t&&(t.matches(".brz-mm-panel")||(t=t.closest(".brz-mm-panel")),t)){if("boolean"!=typeof e&&(e=!0),t.parentElement.matches(".brz-mm-listitem_vertical")){St(t,".brz-mm-listitem_vertical").forEach((function(t){t.classList.add("brz-mm-listitem_opened"),Pt(t,".brz-mm-panel").forEach((function(t){t.classList.remove("brz-mm-hidden")}))}));var i=St(t,".brz-mm-panel").filter((function(t){return!t.parentElement.matches(".brz-mm-listitem_vertical")}));this.trigger("openPanel:start",[t]),i.length&&this.openPanel(i[0]),this.trigger("openPanel:finish",[t])}else{if(t.matches(".brz-mm-panel_opened"))return;var o=Pt(this.node.pnls,".brz-mm-panel"),r=Pt(this.node.pnls,".brz-mm-panel_opened")[0];o.filter((function(e){return e!==t})).forEach((function(t){t.classList.remove("brz-mm-panel_opened-parent")}));for(var s=t.mmParent;s;)(s=s.closest(".brz-mm-panel"))&&(s.parentElement.matches(".brz-mm-listitem_vertical")||s.classList.add("brz-mm-panel_opened-parent"),s=s.mmParent);o.forEach((function(t){t.classList.remove("brz-mm-panel_highest")})),o.filter((function(t){return t!==r})).filter((function(e){return e!==t})).forEach((function(t){t.classList.add("brz-mm-hidden")})),t.classList.remove("brz-mm-hidden");var a=function(){r&&r.classList.remove("brz-mm-panel_opened"),t.classList.add("brz-mm-panel_opened"),t.matches(".brz-mm-panel_opened-parent")?(r&&r.classList.add("brz-mm-panel_highest"),t.classList.remove("brz-mm-panel_opened-parent")):(r&&r.classList.add("brz-mm-panel_opened-parent"),t.classList.add("brz-mm-panel_highest")),n.trigger("openPanel:start",[t])},c=function(){r&&(r.classList.remove("brz-mm-panel_highest"),r.classList.add("brz-mm-hidden")),t.classList.remove("brz-mm-panel_highest"),n.trigger("openPanel:finish",[t])};e&&!t.matches(".brz-mm-panel_noanimation")?setTimeout((function(){ft(t,(function(){c()}),n.conf.transitionDuration),a()}),this.conf.openingInterval):(a(),c())}this.trigger("openPanel:after",[t])}},t.prototype.closePanel=function(t){this.trigger("closePanel:before",[t]);var e=t.parentElement;e.matches(".brz-mm-listitem_vertical")&&(e.classList.remove("brz-mm-listitem_opened"),t.classList.add("brz-mm-hidden"),this.trigger("closePanel",[t])),this.trigger("closePanel:after",[t])},t.prototype.closeAllPanels=function(t){this.trigger("closeAllPanels:before"),this.node.pnls.querySelectorAll(".brz-mm-listitem").forEach((function(t){t.classList.remove("brz-mm-listitem_selected"),t.classList.remove("brz-mm-listitem_opened")}));var e=Pt(this.node.pnls,".brz-mm-panel"),n=t||e[0];Pt(this.node.pnls,".brz-mm-panel").forEach((function(t){t!==n&&(t.classList.remove("brz-mm-panel_opened"),t.classList.remove("brz-mm-panel_opened-parent"),t.classList.remove("brz-mm-panel_highest"),t.classList.add("brz-mm-hidden"))})),this.openPanel(n,!1),this.trigger("closeAllPanels:after")},t.prototype.togglePanel=function(t){var e=t.parentElement;e.matches(".brz-mm-listitem_vertical")&&this[e.matches(".brz-mm-listitem_opened")?"closePanel":"openPanel"](t)},t.prototype.setSelected=function(t){this.trigger("setSelected:before",[t]),Lt(this.node.menu,".brz-mm-listitem_selected").forEach((function(t){t.classList.remove("brz-mm-listitem_selected")})),t.classList.add("brz-mm-listitem_selected"),this.trigger("setSelected:after",[t])},t.prototype.bind=function(t,e){this.hook[t]=this.hook[t]||[],this.hook[t].push(e)},t.prototype.trigger=function(t,e){if(this.hook[t])for(var n=0,i=this.hook[t].length;n<i;n++)this.hook[t][n].apply(this,e)},t.prototype._initAPI=function(){var t=this,e=this;this.API={},this._api.forEach((function(n){t.API[n]=function(){var t=e[n].apply(e,arguments);return void 0===t?e.API:t}})),this.node.menu.mmApi=this.API},t.prototype._initHooks=function(){for(var t in this.opts.hooks)this.bind(t,this.opts.hooks[t])},t.prototype._initWrappers=function(){this.trigger("initWrappers:before");for(var e=0;e<this.opts.wrappers.length;e++){var n=t.wrappers[this.opts.wrappers[e]];"function"==typeof n&&n.call(this)}this.trigger("initWrappers:after")},t.prototype._initAddons=function(){for(var e in this.trigger("initAddons:before"),t.addons)t.addons[e].call(this);this.trigger("initAddons:after")},t.prototype._initExtensions=function(){var t=this;this.trigger("initExtensions:before"),"array"==ht(this.opts.extensions)&&(this.opts.extensions={all:this.opts.extensions}),Object.keys(this.opts.extensions).forEach((function(e){var n=t.opts.extensions[e].map((function(t){return"brz-mm-menu_"+t}));n.length&&Tt(e,(function(){n.forEach((function(e){t.node.menu.classList.add(e)}))}),(function(){n.forEach((function(e){t.node.menu.classList.remove(e)}))}))})),this.trigger("initExtensions:after")},t.prototype._initMenu=function(){var t=this;this.trigger("initMenu:before"),this.node.wrpr=this.node.wrpr||this.node.menu.parentElement,this.node.wrpr.classList.add("brz-mm-wrapper"),this.node.menu.id=this.node.menu.id||vt();var e=Et("div.brz-mm-panels");Pt(this.node.menu).forEach((function(n){t.conf.panelNodetype.indexOf(n.nodeName.toLowerCase())>-1&&e.append(n)})),this.node.menu.append(e),this.node.pnls=e,this.node.menu.classList.add("brz-mm-menu"),this.trigger("initMenu:after")},t.prototype._initPanels=function(){var t=this;this.trigger("initPanels:before"),this.clck.push((function(e,n){if(n.inMenu){var i=e.getAttribute("href");if(i&&i.length>1&&"#"==i.slice(0,1))try{var o=Lt(t.node.menu,i)[0];if(o&&o.matches(".brz-mm-panel"))return e.parentElement.matches(".brz-mm-listitem_vertical")?t.togglePanel(o):t.openPanel(o),!0}catch(t){}}})),Pt(this.node.pnls).forEach((function(e){t.initPanel(e)})),this.trigger("initPanels:after")},t.prototype.initPanel=function(t){var e=this,n=this.conf.panelNodetype.join(", ");if(t.matches(n)&&(t.matches(".brz-mm-panel")||(t=this._initPanel(t)),t)){var i=[];i.push.apply(i,Pt(t,"."+this.conf.classNames.panel)),Pt(t,".brz-mm-listview").forEach((function(t){Pt(t,".brz-mm-listitem").forEach((function(t){i.push.apply(i,Pt(t,n))}))})),i.forEach((function(t){e.initPanel(t)}))}},t.prototype._initPanel=function(t){var e=this;if(this.trigger("initPanel:before",[t]),It(t,this.conf.classNames.panel,"brz-mm-panel"),It(t,this.conf.classNames.nopanel,"brz-mm-nopanel"),It(t,this.conf.classNames.inset,"brz-mm-listview_inset"),t.matches(".brz-mm-listview_inset")&&t.classList.add("brz-mm-nopanel"),t.matches(".brz-mm-nopanel"))return null;var n=t.id||vt(),i=t.matches("."+this.conf.classNames.vertical)||!this.opts.slidingSubmenus;if(t.classList.remove(this.conf.classNames.vertical),t.matches("ul, ol")){t.removeAttribute("id");var o=Et("div");t.before(o),o.append(t),t=o}t.id=n,t.classList.add("brz-mm-panel"),t.classList.add("brz-mm-hidden");var r=[t.parentElement].filter((function(t){return t.matches("li")}))[0];if(i?r&&r.classList.add("brz-mm-listitem_vertical"):this.node.pnls.append(t),r&&(r.mmChild=t,t.mmParent=r,r&&r.matches(".brz-mm-listitem")&&!Pt(r,".brz-mm-btn").length)){var s=Pt(r,".brz-mm-listitem__text")[0];if(s){var a=Et("a.brz-mm-btn.brz-mm-btn_next.brz-mm-listitem__btn");a.setAttribute("href","#"+t.id),s.matches("span")?(a.classList.add("brz-mm-listitem__text"),a.innerHTML=s.innerHTML,r.insertBefore(a,s.nextElementSibling),s.remove()):r.insertBefore(a,Pt(r,".brz-mm-panel")[0])}}return this._initNavbar(t),Pt(t,"ul, ol").forEach((function(t){e.initListview(t)})),this.trigger("initPanel:after",[t]),t},t.prototype._initNavbar=function(t){if(this.trigger("initNavbar:before",[t]),!Pt(t,".brz-mm-navbar").length){var e=null,n=null;if(t.getAttribute("data-mm-parent")?n=Lt(this.node.pnls,t.getAttribute("data-mm-parent"))[0]:(e=t.mmParent)&&(n=e.closest(".brz-mm-panel")),!e||!e.matches(".brz-mm-listitem_vertical")){var i=Et("div.brz-mm-navbar");if(this.opts.navbar.add?this.opts.navbar.sticky&&i.classList.add("brz-mm-navbar_sticky"):i.classList.add("brz-mm-hidden"),n){var o=Et("a.brz-mm-btn.brz-mm-btn_prev.brz-mm-navbar__btn");o.setAttribute("href","#"+n.id),i.append(o)}var r=null;e?r=Pt(e,".brz-mm-listitem__text")[0]:n&&(r=Lt(n,'a[href="#'+t.id+'"]')[0]);var s=Et("a.brz-mm-navbar__title"),a=Et("span");switch(s.append(a),a.innerHTML=t.getAttribute("data-mm-title")||(r?r.textContent:"")||this.i18n(this.opts.navbar.title),this.opts.navbar.titleLink){case"anchor":r&&s.setAttribute("href",r.getAttribute("href"));break;case"parent":n&&s.setAttribute("href","#"+n.id);break;case"custom":s.setAttribute("href","#"+t.getAttribute("id"))}i.append(s),t.prepend(i),this.trigger("initNavbar:after",[t])}}},t.prototype.initListview=function(t){var e=this;this.trigger("initListview:before",[t]),It(t,this.conf.classNames.nolistview,"brz-mm-nolistview"),t.matches(".brz-mm-nolistview")||(t.classList.add("brz-mm-listview"),Pt(t).forEach((function(t){t.classList.add("brz-mm-listitem"),It(t,e.conf.classNames.selected,"brz-mm-listitem_selected"),Pt(t,"a, span").forEach((function(t){t.matches(".brz-mm-btn")||t.classList.add("brz-mm-listitem__text")}))}))),this.trigger("initListview:after",[t])},t.prototype._initOpened=function(){this.trigger("initOpened:before");var t=this.node.pnls.querySelectorAll(".brz-mm-listitem_selected"),e=null;t.forEach((function(t){e=t,t.classList.remove("brz-mm-listitem_selected")})),e&&e.classList.add("brz-mm-listitem_selected");var n=e?e.closest(".brz-mm-panel"):Pt(this.node.pnls,".brz-mm-panel")[0];this.openPanel(n,!1),this.trigger("initOpened:after")},t.prototype._initAnchors=function(){var t=this;this.trigger("initAnchors:before"),document.addEventListener("click",(function(e){var n=e.target.closest("a[href]");if(n){for(var i={inMenu:n.closest(".brz-mm-menu")===t.node.menu,inListview:n.matches(".brz-mm-listitem > a"),toExternal:n.matches('[rel="external"]')||n.matches('[target="_blank"]')},o={close:null,setSelected:null,preventDefault:"#"==n.getAttribute("href").slice(0,1)},r=0;r<t.clck.length;r++){var s=t.clck[r].call(t,n,i);if(s){if("boolean"==typeof s)return void e.preventDefault();"object"==ht(s)&&(o=ut(s,o))}}i.inMenu&&i.inListview&&!i.toExternal&&(pt(n,t.opts.onClick.setSelected,o.setSelected)&&t.setSelected(n.parentElement),pt(n,t.opts.onClick.preventDefault,o.preventDefault)&&e.preventDefault(),pt(n,t.opts.onClick.close,o.close)&&t.opts.offCanvas&&"function"==typeof t.close&&t.close())}}),!0),this.trigger("initAnchors:after")},t.prototype.i18n=function(t){return function(t,e){return"string"==typeof e&&void 0!==yt[e]&&yt[e][t]||t}(t,this.conf.language)},t.version="8.5.0",t.options=dt,t.configs=mt,t.addons={},t.wrappers={},t.node={},t.vars={},t}(),jt={blockUI:!0,moveBackground:!0};var Dt={clone:!1,menu:{insertMethod:"prepend",insertSelector:"body"},page:{nodetype:"div",selector:null,noSelector:[]}};function Wt(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""}function Ht(t,e,n){var i=e.split(".");t[e="mmEvent"+Wt(i[0])+Wt(i[1])]=t[e]||[],t[e].push(n),t.addEventListener(i[0],n)}function Nt(t,e){var n=e.split(".");e="mmEvent"+Wt(n[0])+Wt(n[1]),(t[e]||[]).forEach((function(e){t.removeEventListener(n[0],e)}))}At.options.offCanvas=jt,At.configs.offCanvas=Dt;At.prototype.open=function(){var t=this;this.trigger("open:before"),this.vars.opened||(this._openSetup(),setTimeout((function(){t._openStart()}),this.conf.openingInterval),this.trigger("open:after"))},At.prototype._openSetup=function(){var t=this,e=this.opts.offCanvas;this.closeAllOthers(),At.node.page.mmStyle=At.node.page.getAttribute("style")||"",function(t,e,n){var i=e.split(".");(t[e="mmEvent"+Wt(i[0])+Wt(i[1])]||[]).forEach((function(t){t(n||{})}))}(window,"resize.page",{force:!0});var n=["brz-mm-wrapper_opened"];e.blockUI&&n.push("brz-mm-wrapper_blocking"),"modal"==e.blockUI&&n.push("brz-mm-wrapper_modal"),e.moveBackground&&n.push("brz-mm-wrapper_background"),n.forEach((function(e){t.node.wrpr.classList.add(e)})),setTimeout((function(){t.vars.opened=!0}),this.conf.openingInterval),this.node.menu.classList.add("brz-mm-menu_opened")},At.prototype._openStart=function(){var t=this;ft(At.node.page,(function(){t.trigger("open:finish")}),this.conf.transitionDuration),this.trigger("open:start"),this.node.wrpr.classList.add("brz-mm-wrapper_opening")},At.prototype.close=function(){var t=this;this.trigger("close:before"),this.vars.opened&&(ft(At.node.page,(function(){t.node.menu.classList.remove("brz-mm-menu_opened");["brz-mm-wrapper_opened","brz-mm-wrapper_blocking","brz-mm-wrapper_modal","brz-mm-wrapper_background"].forEach((function(e){t.node.wrpr.classList.remove(e)})),At.node.page.setAttribute("style",At.node.page.mmStyle),t.vars.opened=!1,t.trigger("close:finish")}),this.conf.transitionDuration),this.trigger("close:start"),this.node.wrpr.classList.remove("brz-mm-wrapper_opening"),this.trigger("close:after"))},At.prototype.closeAllOthers=function(){var t=this;Lt(document.body,".brz-mm-menu_offcanvas").forEach((function(e){if(e!==t.node.menu){var n=e.mmApi;n&&n.close&&n.close()}}))},At.prototype.setPage=function(t){this.trigger("setPage:before",[t]);var e=this.conf.offCanvas;if(!t){var n="string"==typeof e.page.selector?Lt(document.body,e.page.selector):Pt(document.body,e.page.nodetype);if(n=n.filter((function(t){return!t.matches(".brz-mm-menu, .brz-mm-wrapper__blocker")})),e.page.noSelector.length&&(n=n.filter((function(t){return!t.matches(e.page.noSelector.join(", "))}))),n.length>1){var i=Et("div");n[0].before(i),n.forEach((function(t){i.append(t)})),n=[i]}t=n[0]}t.classList.add("brz-mm-page"),t.classList.add("brz-mm-slideout"),t.id=t.id||vt(),At.node.page=t,this.trigger("setPage:after",[t])};var Bt=function(){var t=this;Nt(document.body,"keydown.tabguard"),Ht(document.body,"keydown.tabguard",(function(e){9==e.keyCode&&t.node.wrpr.matches(".brz-mm-wrapper_opened")&&e.preventDefault()}))},Rt=function(){var t=this;this.trigger("initBlocker:before");var e=this.opts.offCanvas,n=this.conf.offCanvas;if(e.blockUI){if(!At.node.blck){var i=Et("div.brz-mm-wrapper__blocker.brz-mm-slideout");i.innerHTML="<a></a>",document.querySelector(n.menu.insertSelector).append(i),At.node.blck=i}var o=function(e){e.stopPropagation(),t.node.wrpr.matches(".brz-mm-wrapper_modal")||t.close()};At.node.blck.addEventListener("mousedown",(function(e){e.preventDefault(),e.stopPropagation(),t.node.wrpr.matches(".brz-mm-wrapper_modal")||t.close()})),At.node.blck.addEventListener("touchstart",o,{passive:!0}),At.node.blck.addEventListener("touchmove",o,{passive:!0}),this.trigger("initBlocker:after")}},qt={aria:!0,text:!0};var Ft={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}},Yt={"Close menu":"بستن منو","Close submenu":"بستن زیرمنو","Open submenu":"بازکردن زیرمنو","Toggle submenu":"سوییچ زیرمنو"},Ut={"Close menu":"Menü schließen","Close submenu":"Untermenü schließen","Open submenu":"Untermenü öffnen","Toggle submenu":"Untermenü wechseln"},Gt={"Close menu":"Закрыть меню","Close submenu":"Закрыть подменю","Open submenu":"Открыть подменю","Toggle submenu":"Переключить подменю"};_t({"Close menu":"Menu sluiten","Close submenu":"Submenu sluiten","Open submenu":"Submenu openen","Toggle submenu":"Submenu wisselen"},"nl"),_t(Yt,"fa"),_t(Ut,"de"),_t(Gt,"ru"),At.options.screenReader=qt,At.configs.screenReader=Ft;var Qt;Qt=function(t,e,n){t[e]=n,n?t.setAttribute(e,n.toString()):t.removeAttribute(e)},At.sr_aria=function(t,e,n){Qt(t,"aria-"+e,n)},At.sr_role=function(t,e){Qt(t,"role",e)},At.sr_text=function(t){return'<span class="brz-mm-sronly">'+t+"</span>"};var Vt={fix:!0};var Xt="ontouchstart"in window||!!navigator.msMaxTouchPoints||!1;At.options.scrollBugFix=Vt;var $t={height:"default"};At.options.autoHeight=$t;var Jt={close:!1,open:!1};At.options.backButton=Jt;var Zt={add:!1,visible:{min:1,max:3}};At.options.columns=Zt;var Kt={add:!1,addTo:"panels",count:!1};At.options.counters=Kt,At.configs.classNames.counters={counter:"Counter"};var te={add:!1,addTo:"panels"};At.options.dividers=te,At.configs.classNames.divider="Divider";var ee={open:!1,node:null};var ne="ontouchstart"in window||!!navigator.msMaxTouchPoints||!1,ie={top:0,right:0,bottom:0,left:0},oe={start:15,swipe:15},re={x:["Right","Left"],y:["Down","Up"]},se=0,ae=1,ce=2,le=function(t,e){return"string"==typeof t&&"%"==t.slice(-1)&&(t=e*((t=parseInt(t.slice(0,-1),10))/100)),t},de=function(){function t(t,e,n){this.surface=t,this.area=ut(e,ie),this.treshold=ut(n,oe),this.surface.mmHasDragEvents||(this.surface.addEventListener(ne?"touchstart":"mousedown",this.start.bind(this)),this.surface.addEventListener(ne?"touchend":"mouseup",this.stop.bind(this)),this.surface.addEventListener(ne?"touchleave":"mouseleave",this.stop.bind(this)),this.surface.addEventListener(ne?"touchmove":"mousemove",this.move.bind(this))),this.surface.mmHasDragEvents=!0}return t.prototype.start=function(t){this.currentPosition={x:t.touches?t.touches[0].pageX:t.pageX||0,y:t.touches?t.touches[0].pageY:t.pageY||0};var e=this.surface.clientWidth,n=this.surface.clientHeight,i=le(this.area.top,n);if(!("number"==typeof i&&this.currentPosition.y<i)){var o=le(this.area.right,e);if(!("number"==typeof o&&(o=e-o,this.currentPosition.x>o))){var r=le(this.area.bottom,n);if(!("number"==typeof r&&(r=n-r,this.currentPosition.y>r))){var s=le(this.area.left,e);"number"==typeof s&&this.currentPosition.x<s||(this.startPosition={x:this.currentPosition.x,y:this.currentPosition.y},this.state=ae)}}}},t.prototype.stop=function(t){if(this.state==ce){var e=this._dragDirection(),n=this._eventDetail(e);if(this._dispatchEvents("drag*End",n),Math.abs(this.movement[this.axis])>this.treshold.swipe){var i=this._swipeDirection();n.direction=i,this._dispatchEvents("swipe*",n)}}this.state=se},t.prototype.move=function(t){switch(this.state){case ae:case ce:var e={x:t.changedTouches?t.touches[0].pageX:t.pageX||0,y:t.changedTouches?t.touches[0].pageY:t.pageY||0};this.movement={x:e.x-this.currentPosition.x,y:e.y-this.currentPosition.y},this.distance={x:e.x-this.startPosition.x,y:e.y-this.startPosition.y},this.currentPosition={x:e.x,y:e.y},this.axis=Math.abs(this.distance.x)>Math.abs(this.distance.y)?"x":"y";var n=this._dragDirection(),i=this._eventDetail(n);this.state==ae&&Math.abs(this.distance[this.axis])>this.treshold.start&&(this._dispatchEvents("drag*Start",i),this.state=ce),this.state==ce&&this._dispatchEvents("drag*Move",i)}},t.prototype._eventDetail=function(t){var e=this.distance.x,n=this.distance.y;return"x"==this.axis&&(e-=e>0?this.treshold.start:0-this.treshold.start),"y"==this.axis&&(n-=n>0?this.treshold.start:0-this.treshold.start),{axis:this.axis,direction:t,movementX:this.movement.x,movementY:this.movement.y,distanceX:e,distanceY:n}},t.prototype._dispatchEvents=function(t,e){var n=new CustomEvent(t.replace("*",""),{detail:e});this.surface.dispatchEvent(n);var i=new CustomEvent(t.replace("*",this.axis.toUpperCase()),{detail:e});this.surface.dispatchEvent(i);var o=new CustomEvent(t.replace("*",e.direction),{detail:e});this.surface.dispatchEvent(o)},t.prototype._dragDirection=function(){return re[this.axis][this.distance[this.axis]>0?0:1]},t.prototype._swipeDirection=function(){return re[this.axis][this.movement[this.axis]>0?0:1]},t}(),me=null,ue=null,he=0,pe=function(t){var e=this,n={},i=!1,o=function(){var t=Object.keys(e.opts.extensions);t.length?(Tt(t.join(", "),(function(){}),(function(){n=fe(n,[],e.node.menu)})),t.forEach((function(t){Tt(t,(function(){n=fe(n,e.opts.extensions[t],e.node.menu)}),(function(){}))}))):n=fe(n,[],e.node.menu)};ue&&(Nt(ue,"dragStart"),Nt(ue,"dragMove"),Nt(ue,"dragEnd")),me=new de(ue=t),o(),o=function(){},ue&&(Ht(ue,"dragStart",(function(t){t.detail.direction==n.direction&&(i=!0,e.node.wrpr.classList.add("mm-wrapper_dragging"),e._openSetup(),e.trigger("open:start"),he=e.node.menu["x"==n.axis?"clientWidth":"clientHeight"])})),Ht(ue,"dragMove",(function(t){if(t.detail.axis==n.axis&&i){var e=t.detail["distance"+n.axis.toUpperCase()];switch(n.position){case"right":case"bottom":e=Math.min(Math.max(e,-he),0);break;default:e=Math.max(Math.min(e,he),0)}if("front"==n.zposition)switch(n.position){case"right":case"bottom":e+=he;break;default:e-=he}n.slideOutNodes.forEach((function(t){t.style.transform="translate"+n.axis.toUpperCase()+"("+e+"px)"}))}})),Ht(ue,"dragEnd",(function(t){if(t.detail.axis==n.axis&&i){i=!1,e.node.wrpr.classList.remove("mm-wrapper_dragging"),n.slideOutNodes.forEach((function(t){t.style.transform=""}));var o=Math.abs(t.detail["distance"+n.axis.toUpperCase()])>=.75*he;if(!o){var r=t.detail["movement"+n.axis.toUpperCase()];switch(n.position){case"right":case"bottom":o=r<=0;break;default:o=r>=0}}o?e._openStart():e.close()}})))},fe=function(t,e,n){switch(t.position="left",t.zposition="back",["right","top","bottom"].forEach((function(n){e.indexOf("position-"+n)>-1&&(t.position=n)})),["front","top","bottom"].forEach((function(n){e.indexOf("position-"+n)>-1&&(t.zposition="front")})),me.area={top:"bottom"==t.position?"75%":0,right:"left"==t.position?"75%":0,bottom:"top"==t.position?"75%":0,left:"right"==t.position?"75%":0},t.position){case"top":case"bottom":t.axis="y";break;default:t.axis="x"}switch(t.position){case"top":t.direction="Down";break;case"right":t.direction="Left";break;case"bottom":t.direction="Up";break;default:t.direction="Right"}switch(t.zposition){case"front":t.slideOutNodes=[n];break;default:t.slideOutNodes=Lt(document.body,".mm-slideout")}return t};At.options.drag=ee;var ve={drop:!1,fitViewport:!0,event:"click",position:{},tip:!0};var be={offset:{button:{x:-5,y:5},viewport:{x:20,y:20}},height:{max:880},width:{max:440}};At.options.dropdown=ve,At.configs.dropdown=be;var ge={insertMethod:"append",insertSelector:"body"};At.configs.fixedElements=ge,At.configs.classNames.fixedElements={fixed:"Fixed"};var ye={use:!1,top:[],bottom:[],position:"left",type:"default"};At.options.iconbar=ye;var _e={add:!1,blockPanel:!0,hideDivider:!1,hideNavbar:!0,visible:3};At.options.iconPanels=_e;var ze={enable:!1,enhance:!1};At.options.keyboardNavigation=ze;var xe=function(t){var e=this;Nt(document.body,"keydown.tabguard"),Nt(document.body,"focusin.tabguard"),Ht(document.body,"focusin.tabguard",(function(t){if(e.node.wrpr.matches(".brz-mm-wrapper_opened")){var n=t.target;if(n.matches(".brz-mm-tabend")){var i=void 0;n.parentElement.matches(".brz-mm-menu")&&At.node.blck&&(i=At.node.blck),n.parentElement.matches(".brz-mm-wrapper__blocker")&&(i=Lt(document.body,".brz-mm-menu_offcanvas.brz-mm-menu_opened")[0]),i||(i=n.parentElement),i&&Pt(i,".brz-mm-tabstart")[0].focus()}}})),Nt(document.body,"keydown.navigate"),Ht(document.body,"keydown.navigate",(function(e){var n=e.target,i=n.closest(".brz-mm-menu");if(i){i.mmApi;if(!n.matches("input, textarea"))switch(e.keyCode){case 13:(n.matches(".brz-mm-toggle")||n.matches(".brz-mm-check"))&&n.dispatchEvent(new Event("click"));break;case 32:case 37:case 38:case 39:case 40:e.preventDefault()}if(t)if(n.matches("input"))switch(e.keyCode){case 27:n.value=""}else{var o=i.mmApi;switch(e.keyCode){case 8:var r=Lt(i,".brz-mm-panel_opened")[0].mmParent;r&&o.openPanel(r.closest(".brz-mm-panel"));break;case 27:i.matches(".brz-mm-menu_offcanvas")&&o.close()}}}}))},we={load:!1};At.options.lazySubmenus=we;var Ee=[];var Le={breadcrumbs:{separator:"/",removeFirst:!1}};function Pe(){var t=this,e=this.opts.navbars;if(void 0!==e){e instanceof Array||(e=[e]);var n={};e.length&&(e.forEach((function(e){if(!(e=function(t){return"boolean"==typeof t&&t&&(t={}),"object"!=typeof t&&(t={}),void 0===t.content&&(t.content=["prev","title"]),t.content instanceof Array||(t.content=[t.content]),void 0===t.use&&(t.use=!0),"boolean"==typeof t.use&&t.use&&(t.use=!0),t}(e)).use)return!1;var i=Et("div.brz-mm-navbar"),o=e.position;"bottom"!==o&&(o="top"),n[o]||(n[o]=Et("div.brz-mm-navbars_"+o)),n[o].append(i);for(var r=0,s=e.content.length;r<s;r++){var a,c=e.content[r];if("string"==typeof c)if("function"==typeof(a=Pe.navbarContents[c]))a.call(t,i);else{var l=Et("span");l.innerHTML=c;var d=Pt(l);1==d.length&&(l=d[0]),i.append(l)}else i.append(c)}"string"==typeof e.type&&("function"==typeof(a=Pe.navbarTypes[e.type])&&a.call(t,i));"boolean"!=typeof e.use&&Tt(e.use,(function(){i.classList.remove("brz-mm-hidden"),At.sr_aria(i,"hidden",!1)}),(function(){i.classList.add("brz-mm-hidden"),At.sr_aria(i,"hidden",!0)}))})),this.bind("initMenu:after",(function(){for(var e in n)t.node.menu["bottom"==e?"append":"prepend"](n[e])})))}}At.options.navbars=Ee,At.configs.navbars=Le,At.configs.classNames.navbars={panelPrev:"Prev",panelTitle:"Title"},Pe.navbarContents={breadcrumbs:function(t){var e=this,n=Et("div.mm-navbar__breadcrumbs");t.append(n),this.bind("initNavbar:after",(function(t){if(!t.querySelector(".mm-navbar__breadcrumbs")){Pt(t,".mm-navbar")[0].classList.add("mm-hidden");for(var n=[],i=Et("span.mm-navbar__breadcrumbs"),o=t,r=!0;o;){if(!(o=o.closest(".mm-panel")).parentElement.matches(".mm-listitem_vertical")){var s=Lt(o,".mm-navbar__title span")[0];if(s){var a=s.textContent;a.length&&n.unshift(r?"<span>"+a+"</span>":'<a href="#'+o.id+'">'+a+"</a>")}r=!1}o=o.mmParent}e.conf.navbars.breadcrumbs.removeFirst&&n.shift(),i.innerHTML=n.join('<span class="mm-separator">'+e.conf.navbars.breadcrumbs.separator+"</span>"),Pt(t,".mm-navbar")[0].append(i)}})),this.bind("openPanel:start",(function(t){var e=t.querySelector(".mm-navbar__breadcrumbs");n.innerHTML=e?e.innerHTML:""})),this.bind("initNavbar:after:sr-aria",(function(t){Lt(t,".mm-breadcrumbs a").forEach((function(t){At.sr_aria(t,"owns",t.getAttribute("href").slice(1))}))}))},close:function(t){var e=this,n=Et("a.mm-btn.mm-btn_close.mm-navbar__btn");t.append(n),this.bind("setPage:after",(function(t){n.setAttribute("href","#"+t.id)})),this.bind("setPage:after:sr-text",(function(){n.innerHTML=At.sr_text(e.i18n(e.conf.screenReader.text.closeMenu)),At.sr_aria(n,"owns",n.getAttribute("href").slice(1))}))},prev:function(t){var e,n,i,o=this,r=Et("a.mm-btn.mm-btn_prev.mm-navbar__btn");t.append(r),this.bind("initNavbar:after",(function(t){Pt(t,".mm-navbar")[0].classList.add("mm-hidden")})),this.bind("openPanel:start",(function(t){t.parentElement.matches(".mm-listitem_vertical")||((e=t.querySelector("."+o.conf.classNames.navbars.panelPrev))||(e=t.querySelector(".mm-navbar__btn.mm-btn_prev")),n=e?e.getAttribute("href"):"",i=e?e.innerHTML:"",n?r.setAttribute("href",n):r.removeAttribute("href"),r.classList[n||i?"remove":"add"]("mm-hidden"),r.innerHTML=i)})),this.bind("initNavbar:after:sr-aria",(function(t){At.sr_aria(t.querySelector(".mm-navbar"),"hidden",!0)})),this.bind("openPanel:start:sr-aria",(function(t){At.sr_aria(r,"hidden",r.matches(".mm-hidden")),At.sr_aria(r,"owns",(r.getAttribute("href")||"").slice(1))}))},searchfield:function(t){"object"!=ht(this.opts.searchfield)&&(this.opts.searchfield={});var e=Et("div.mm-navbar__searchfield");t.append(e),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=[e]},title:function(t){var e,n,i,o,r=this,s=Et("a.mm-navbar__title"),a=Et("span");s.append(a),t.append(s),this.bind("openPanel:start",(function(t){t.parentElement.matches(".mm-listitem_vertical")||((i=t.querySelector("."+r.conf.classNames.navbars.panelTitle))||(i=t.querySelector(".mm-navbar__title span")),(e=i&&i.closest("a")?i.closest("a").getAttribute("href"):"")?s.setAttribute("href",e):s.removeAttribute("href"),n=i?i.innerHTML:"",a.innerHTML=n)})),this.bind("openPanel:start:sr-aria",(function(t){if(r.opts.screenReader.text){if(!o)Pt(r.node.menu,".mm-navbars_top, .mm-navbars_bottom").forEach((function(t){var e=t.querySelector(".mm-btn_prev");e&&(o=e)}));if(o){var e=!0;"parent"==r.opts.navbar.titleLink&&(e=!o.matches(".mm-hidden")),At.sr_aria(s,"hidden",e)}}}))}},Pe.navbarTypes={tabs:function(t){var e=this;t.classList.add("mm-navbar_tabs"),t.parentElement.classList.add("mm-navbars_has-tabs");var n=Pt(t,"a");t.addEventListener("click",(function(t){var n=t.target;if(n.matches("a"))if(n.matches(".mm-navbar__tab_selected"))t.stopImmediatePropagation();else try{e.openPanel(e.node.menu.querySelector(n.getAttribute("href")),!1),t.stopImmediatePropagation()}catch(t){}})),this.bind("openPanel:start",(function t(e){n.forEach((function(t){t.classList.remove("mm-navbar__tab_selected")}));var i=n.filter((function(t){return t.matches('[href="#'+e.id+'"]')}))[0];if(i)i.classList.add("mm-navbar__tab_selected");else{var o=e.mmParent;o&&t.call(this,o.closest(".mm-panel"))}}))}};var Se={scroll:!1,update:!1};var Oe={scrollOffset:0,updateOffset:50};At.options.pageScroll=Se,At.configs.pageScroll=Oe;var ke={add:!1,addTo:"panels",cancel:!1,noResults:"No results found.",placeholder:"Search",panel:{add:!1,dividers:!0,fx:"none",id:null,splash:null,title:"Search"},search:!0,showTextItems:!1,showSubPanels:!0};var Ie={clear:!1,form:!1,input:!1,submit:!1},Me={Search:"جستجو","No results found.":"نتیجه‌ای یافت نشد.",cancel:"انصراف"},Te={Search:"Suche","No results found.":"Keine Ergebnisse gefunden.",cancel:"beenden"},Ce={Search:"Найти","No results found.":"Ничего не найдено.",cancel:"отменить"};_t({Search:"Zoeken","No results found.":"Geen resultaten gevonden.",cancel:"annuleren"},"nl"),_t(Me,"fa"),_t(Te,"de"),_t(Ce,"ru"),At.options.searchfield=ke,At.configs.searchfield=Ie;var Ae=function(){var t=this.opts.searchfield,e=(this.conf.searchfield,Pt(this.node.pnls,".brz-mm-panel_search")[0]);if(e)return e;e=Et("div.brz-mm-panel.brz-mm-panel_search.brz-mm-hidden"),t.panel.id&&(e.id=t.panel.id),t.panel.title&&e.setAttribute("data-mm-title",t.panel.title);var n=Et("ul");switch(e.append(n),this.node.pnls.append(e),this.initListview(n),this._initNavbar(e),t.panel.fx){case!1:break;case"none":e.classList.add("brz-mm-panel_noanimation");break;default:e.classList.add("brz-mm-panel_fx-"+t.panel.fx)}if(t.panel.splash){var i=Et("div.brz-mm-panel__content");i.innerHTML=t.panel.splash,e.append(i)}return e.classList.add("brz-mm-panel"),e.classList.add("brz-mm-hidden"),this.node.pnls.append(e),e},je=function(t){var e=this.opts.searchfield,n=this.conf.searchfield;if(t.parentElement.matches(".brz-mm-listitem_vertical"))return null;if(r=Lt(t,".brz-mm-searchfield")[0])return r;function i(t,e){if(e)for(var n in e)t.setAttribute(n,e[n])}var o,r=Et((n.form?"form":"div")+".brz-mm-searchfield"),s=Et("div.brz-mm-searchfield__input"),a=Et("input");(a.type="text",a.autocomplete="off",a.placeholder=this.i18n(e.placeholder),s.append(a),r.append(s),t.prepend(r),i(a,n.input),n.clear)&&((o=Et("a.brz-mm-btn.brz-mm-btn_close.brz-mm-searchfield__btn")).setAttribute("href","#"),s.append(o));(i(r,n.form),n.form&&n.submit&&!n.clear)&&((o=Et("a.brz-mm-btn.brz-mm-btn_next.brz-mm-searchfield__btn")).setAttribute("href","#"),s.append(o));e.cancel&&((o=Et("a.brz-mm-searchfield__cancel")).setAttribute("href","#"),o.textContent=this.i18n("cancel"),r.append(o));return r},De=function(t){var e=this,n=this.opts.searchfield,i=(this.conf.searchfield,{});t.closest(".brz-mm-panel_search")?(i.panels=Lt(this.node.pnls,".brz-mm-panel"),i.noresults=[t.closest(".brz-mm-panel")]):t.closest(".brz-mm-panel")?(i.panels=[t.closest(".brz-mm-panel")],i.noresults=i.panels):(i.panels=Lt(this.node.pnls,".brz-mm-panel"),i.noresults=[this.node.menu]),i.panels=i.panels.filter((function(t){return!t.parentElement.matches(".brz-mm-listitem_vertical")})),i.panels=i.panels.filter((function(t){return!t.matches(".brz-mm-panel_search")})),i.listitems=[],i.dividers=[],i.panels.forEach((function(t){var e,n;(e=i.listitems).push.apply(e,Lt(t,".brz-mm-listitem")),(n=i.dividers).push.apply(n,Lt(t,".brz-mm-divider"))}));var o=Pt(this.node.pnls,".brz-mm-panel_search")[0],r=Lt(t,"input")[0],s=Lt(t,".brz-mm-searchfield__cancel")[0];r.mmSearchfield=i,n.panel.add&&n.panel.splash&&(Nt(r,"focus.splash"),Ht(r,"focus.splash",(function(t){e.openPanel(o)}))),n.cancel&&(Nt(r,"focus.cancel"),Ht(r,"focus.cancel",(function(t){s.classList.add("brz-mm-searchfield__cancel-active")})),Nt(s,"click.splash"),Ht(s,"click.splash",(function(t){if(t.preventDefault(),s.classList.remove("brz-mm-searchfield__cancel-active"),o.matches(".brz-mm-panel_opened")){var n=Pt(e.node.pnls,".brz-mm-panel_opened-parent");n.length&&e.openPanel(n[n.length-1])}}))),n.panel.add&&"panel"==n.addTo&&this.bind("openPanel:finish",(function(t){t===o&&r.focus()})),Nt(r,"input.search"),Ht(r,"input.search",(function(t){switch(t.keyCode){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:break;default:e.search(r)}})),this.search(r)},We=function(t){if(t){var e=this.opts.searchfield;this.conf.searchfield;if(t.closest(".brz-mm-panel")||(t=Pt(this.node.pnls,".brz-mm-panel")[0]),!Pt(t,".brz-mm-panel__noresultsmsg").length){var n=Et("div.brz-mm-panel__noresultsmsg.brz-mm-hidden");n.innerHTML=this.i18n(e.noResults),t.append(n)}}};At.prototype.search=function(t,e){var n,i=this,o=this.opts.searchfield;this.conf.searchfield;e=(e=e||""+t.value).toLowerCase().trim();var r=t.mmSearchfield,s=Lt(t.closest(".brz-mm-searchfield"),".brz-mm-btn"),a=Pt(this.node.pnls,".brz-mm-panel_search")[0],c=r.panels,l=r.noresults,d=r.listitems,m=r.dividers;if(d.forEach((function(t){t.classList.remove("brz-mm-listitem_nosubitems"),t.classList.remove("brz-mm-listitem_onlysubitems"),t.classList.remove("brz-mm-hidden")})),a&&(Pt(a,".brz-mm-listview")[0].innerHTML=""),c.forEach((function(t){t.scrollTop=0})),e.length){m.forEach((function(t){t.classList.add("brz-mm-hidden")})),d.forEach((function(t){var n,i=Pt(t,".brz-mm-listitem__text")[0],r=!1;i&&(n=i,Array.prototype.slice.call(n.childNodes).filter((function(t){return 3==t.nodeType})).map((function(t){return t.textContent})).join(" ")).toLowerCase().indexOf(e)>-1&&(i.matches(".brz-mm-listitem__btn")?o.showSubPanels&&(r=!0):(i.matches("a")||o.showTextItems)&&(r=!0)),r||t.classList.add("brz-mm-hidden")}));var u=d.filter((function(t){return!t.matches(".brz-mm-hidden")})).length;if(o.panel.add){var h=[];c.forEach((function(t){var e=Ot(Lt(t,".brz-mm-listitem"));if((e=e.filter((function(t){return!t.matches(".brz-mm-hidden")}))).length){if(o.panel.dividers){var n=Et("li.brz-mm-divider"),i=Lt(t,".brz-mm-navbar__title")[0];i&&(n.innerHTML=i.innerHTML,h.push(n))}e.forEach((function(t){h.push(t.cloneNode(!0))}))}})),h.forEach((function(t){t.querySelectorAll(".brz-mm-toggle, .brz-mm-check").forEach((function(t){t.remove()}))})),(n=Pt(a,".brz-mm-listview")[0]).append.apply(n,h),this.openPanel(a)}else o.showSubPanels&&c.forEach((function(t){Ot(Lt(t,".brz-mm-listitem")).forEach((function(t){var e=t.mmChild;e&&Lt(e,".brz-mm-listitem").forEach((function(t){t.classList.remove("brz-mm-hidden")}))}))})),c.slice().reverse().forEach((function(e,n){var o=e.mmParent;o&&(Ot(Lt(e,".brz-mm-listitem")).length?(o.matches(".brz-mm-hidden")&&o.classList.remove("brz-mm-hidden"),o.classList.add("brz-mm-listitem_onlysubitems")):t.closest(".brz-mm-panel")||((e.matches(".brz-mm-panel_opened")||e.matches(".brz-mm-panel_opened-parent"))&&setTimeout((function(){i.openPanel(o.closest(".brz-mm-panel"))}),(n+1)*(1.5*i.conf.openingInterval)),o.classList.add("brz-mm-listitem_nosubitems")))})),c.forEach((function(t){Ot(Lt(t,".brz-mm-listitem")).forEach((function(t){var e=function(t,e){for(var n=[],i=t.previousElementSibling;i;)e&&!i.matches(e)||n.push(i),i=i.previousElementSibling;return n}(t,".brz-mm-divider")[0];e&&e.classList.remove("brz-mm-hidden")}))}));s.forEach((function(t){return t.classList.remove("brz-mm-hidden")})),l.forEach((function(t){Lt(t,".brz-mm-panel__noresultsmsg").forEach((function(t){return t.classList[u?"add":"remove"]("brz-mm-hidden")}))})),o.panel.add&&(o.panel.splash&&Lt(a,".brz-mm-panel__content").forEach((function(t){return t.classList.add("brz-mm-hidden")})),d.forEach((function(t){return t.classList.remove("brz-mm-hidden")})),m.forEach((function(t){return t.classList.remove("brz-mm-hidden")})))}else if(d.forEach((function(t){return t.classList.remove("brz-mm-hidden")})),m.forEach((function(t){return t.classList.remove("brz-mm-hidden")})),s.forEach((function(t){return t.classList.add("brz-mm-hidden")})),l.forEach((function(t){Lt(t,".brz-mm-panel__noresultsmsg").forEach((function(t){return t.classList.add("brz-mm-hidden")}))})),o.panel.add)if(o.panel.splash)Lt(a,".brz-mm-panel__content").forEach((function(t){return t.classList.remove("brz-mm-hidden")}));else if(!t.closest(".brz-mm-panel_search")){var p=Pt(this.node.pnls,".brz-mm-panel_opened-parent");this.openPanel(p.slice(-1)[0])}this.trigger("updateListview")};var He={add:!1,addTo:"panels"};At.options.sectionIndexer=He;var Ne={current:!0,hover:!1,parent:!1};At.options.setSelected=Ne;var Be={collapsed:{use:!1,blockMenu:!0,hideDivider:!1,hideNavbar:!0},expanded:{use:!1,initial:"open"}};At.options.sidebar=Be;At.configs.classNames.toggles={toggle:"Toggle",check:"Check"};At.addons={offcanvas:function(){var t=this;if(this.opts.offCanvas){var e=function(t){return"object"!=typeof t&&(t={}),t}(this.opts.offCanvas);this.opts.offCanvas=ut(e,At.options.offCanvas);var n=this.conf.offCanvas;this._api.push("open","close","setPage"),this.vars.opened=!1,this.bind("initMenu:before",(function(){n.clone&&(t.node.menu=t.node.menu.cloneNode(!0),t.node.menu.id&&(t.node.menu.id="mm-"+t.node.menu.id),Lt(t.node.menu,"[id]").forEach((function(t){t.id="mm-"+t.id}))),t.node.wrpr=document.body,document.querySelector(n.menu.insertSelector)[n.menu.insertMethod](t.node.menu)})),this.bind("initMenu:after",(function(){Rt.call(t),t.setPage(At.node.page),Bt.call(t),t.node.menu.classList.add("brz-mm-menu_offcanvas");var e=window.location.hash;if(e){var n=gt(t.node.menu.id);n&&n==e.slice(1)&&setTimeout((function(){t.open()}),1e3)}})),this.bind("setPage:after",(function(t){At.node.blck&&Pt(At.node.blck,"a").forEach((function(e){e.setAttribute("href","#"+t.id)}))})),this.bind("open:start:sr-aria",(function(){At.sr_aria(t.node.menu,"hidden",!1)})),this.bind("close:finish:sr-aria",(function(){At.sr_aria(t.node.menu,"hidden",!0)})),this.bind("initMenu:after:sr-aria",(function(){At.sr_aria(t.node.menu,"hidden",!0)})),this.bind("initBlocker:after:sr-text",(function(){Pt(At.node.blck,"a").forEach((function(e){e.innerHTML=At.sr_text(t.i18n(t.conf.screenReader.text.closeMenu))}))})),this.clck.push((function(e,n){var i=gt(t.node.menu.id);if(i&&e.matches('[href="#'+i+'"]')){if(n.inMenu)return t.open(),!0;var o=e.closest(".brz-mm-menu");if(o){var r=o.mmApi;if(r&&r.close)return r.close(),ft(o,(function(){t.open()}),t.conf.transitionDuration),!0}return t.open(),!0}if((i=At.node.page.id)&&e.matches('[href="#'+i+'"]'))return t.close(),!0}))}},screenReader:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={aria:t,text:t}),"object"!=typeof t&&(t={}),t}(this.opts.screenReader);this.opts.screenReader=ut(e,At.options.screenReader);var n=this.conf.screenReader;e.aria&&(this.bind("initAddons:after",(function(){t.bind("initMenu:after",(function(){this.trigger("initMenu:after:sr-aria",[].slice.call(arguments))})),t.bind("initNavbar:after",(function(){this.trigger("initNavbar:after:sr-aria",[].slice.call(arguments))})),t.bind("openPanel:start",(function(){this.trigger("openPanel:start:sr-aria",[].slice.call(arguments))})),t.bind("close:start",(function(){this.trigger("close:start:sr-aria",[].slice.call(arguments))})),t.bind("close:finish",(function(){this.trigger("close:finish:sr-aria",[].slice.call(arguments))})),t.bind("open:start",(function(){this.trigger("open:start:sr-aria",[].slice.call(arguments))})),t.bind("initOpened:after",(function(){this.trigger("initOpened:after:sr-aria",[].slice.call(arguments))}))})),this.bind("updateListview",(function(){t.node.pnls.querySelectorAll(".brz-mm-listitem").forEach((function(t){At.sr_aria(t,"hidden",t.matches(".brz-mm-hidden"))}))})),this.bind("openPanel:start",(function(e){var n=Lt(t.node.pnls,".brz-mm-panel").filter((function(t){return t!==e})).filter((function(t){return!t.parentElement.matches(".brz-mm-panel")})),i=[e];Lt(e,".brz-mm-listitem_vertical .brz-mm-listitem_opened").forEach((function(t){i.push.apply(i,Pt(t,".brz-mm-panel"))})),n.forEach((function(t){At.sr_aria(t,"hidden",!0)})),i.forEach((function(t){At.sr_aria(t,"hidden",!1)}))})),this.bind("closePanel",(function(t){At.sr_aria(t,"hidden",!0)})),this.bind("initPanel:after",(function(t){Lt(t,".brz-mm-btn").forEach((function(t){At.sr_aria(t,"haspopup",!0);var e=t.getAttribute("href");e&&At.sr_aria(t,"owns",e.replace("#",""))}))})),this.bind("initNavbar:after",(function(t){var e=Pt(t,".brz-mm-navbar")[0],n=e.matches(".brz-mm-hidden");At.sr_aria(e,"hidden",n)})),e.text&&"parent"==this.opts.navbar.titleLink&&this.bind("initNavbar:after",(function(t){var e=Pt(t,".brz-mm-navbar")[0],n=!!e.querySelector(".brz-mm-btn_prev");At.sr_aria(Lt(e,".brz-mm-navbar__title")[0],"hidden",n)}))),e.text&&(this.bind("initAddons:after",(function(){t.bind("setPage:after",(function(){this.trigger("setPage:after:sr-text",[].slice.call(arguments))})),t.bind("initBlocker:after",(function(){this.trigger("initBlocker:after:sr-text",[].slice.call(arguments))}))})),this.bind("initNavbar:after",(function(e){var i=Pt(e,".brz-mm-navbar")[0];if(i){var o=Pt(i,".brz-mm-btn_prev")[0];o&&(o.innerHTML=At.sr_text(t.i18n(n.text.closeSubmenu)))}})),this.bind("initListview:after",(function(e){var i=e.closest(".brz-mm-panel").mmParent;if(i){var o=Pt(i,".brz-mm-btn_next")[0];if(o){var r=t.i18n(n.text[o.parentElement.matches(".brz-mm-listitem_vertical")?"toggleSubmenu":"openSubmenu"]);o.innerHTML+=At.sr_text(r)}}})))},scrollBugFix:function(){var t=this;if(Xt&&this.opts.offCanvas&&this.opts.offCanvas.blockUI){var e=this,n=function(t){return"boolean"==typeof t&&(t={fix:t}),"object"!=typeof t&&(t={}),t}(this.opts.scrollBugFix);if(this.opts.scrollBugFix=ut(n,At.options.scrollBugFix),n.fix){var i,o,r=(i=this.node.menu,o="",i.addEventListener("touchmove",(function(t){o="",t.movementY>0?o="down":t.movementY<0&&(o="up")})),{get:function(){return o}});this.node.menu.addEventListener("scroll",s,{passive:!1}),this.node.menu.addEventListener("touchmove",(function(t){var n=t.target.closest(".brz-mm-panel");n?(e.opts.slidingSubmenus&&n.scrollHeight===n.offsetHeight||0==n.scrollTop&&"down"==r.get()||n.scrollHeight==n.scrollTop+n.offsetHeight&&"up"==r.get())&&s(t):s(t)}),{passive:!1}),this.bind("open:start",(function(){var e=Pt(t.node.pnls,".brz-mm-panel_opened")[0];e&&(e.scrollTop=0)})),window.addEventListener("orientationchange",(function(e){var n=Pt(t.node.pnls,".brz-mm-panel_opened")[0];n&&(n.scrollTop=0,n.style["-webkit-overflow-scrolling"]="auto",n.style["-webkit-overflow-scrolling"]="touch")}))}}function s(t){t.preventDefault(),t.stopPropagation()}},autoHeight:function(){var t=this,e=function(t){return"boolean"==typeof t&&t&&(t={height:"auto"}),"string"==typeof t&&(t={height:t}),"object"!=typeof t&&(t={}),t}(this.opts.autoHeight);if(this.opts.autoHeight=ut(e,At.options.autoHeight),"auto"==e.height||"highest"==e.height){var n,i=(n=function(t){return t.parentElement.matches(".brz-mm-listitem_vertical")&&(t=St(t,".brz-mm-panel").filter((function(t){return!t.parentElement.matches(".brz-mm-listitem_vertical")}))[0]),t},function(){if(!t.opts.offCanvas||t.vars.opened){var i,o,r=0,s=t.node.menu.offsetHeight-t.node.pnls.offsetHeight;t.node.menu.classList.add("brz-mm-menu_autoheight-measuring"),"auto"==e.height?((o=Pt(t.node.pnls,".brz-mm-panel_opened")[0])&&(o=n(o)),o||(o=Pt(t.node.pnls,".brz-mm-panel")[0]),r=o.scrollHeight):"highest"==e.height&&(i=0,Pt(t.node.pnls,".brz-mm-panel").forEach((function(t){t=n(t),i=Math.max(i,t.scrollHeight)})),r=i),t.node.menu.style.height=r+s+"px",t.node.menu.classList.remove("brz-mm-menu_autoheight-measuring")}});this.bind("initMenu:after",(function(){t.node.menu.classList.add("brz-mm-menu_autoheight")})),this.opts.offCanvas&&this.bind("open:start",i),"highest"==e.height&&this.bind("initPanels:after",i),"auto"==e.height&&(this.bind("updateListview",i),this.bind("openPanel:start",i))}},backButton:function(){var t=this;if(this.opts.offCanvas){var e=function(t){return"boolean"==typeof t&&(t={close:t}),"object"!=typeof t&&(t={}),t}(this.opts.backButton);this.opts.backButton=ut(e,At.options.backButton);var n="#"+this.node.menu.id;if(e.close){var i=[],o=function(){i=[n],Pt(t.node.pnls,".brz-mm-panel_opened, .brz-mm-panel_opened-parent").forEach((function(t){i.push("#"+t.id)}))};this.bind("open:finish",(function(){history.pushState(null,document.title,n)})),this.bind("open:finish",o),this.bind("openPanel:finish",o),this.bind("close:finish",(function(){i=[],history.back(),history.pushState(null,document.title,location.pathname+location.search)})),window.addEventListener("popstate",(function(e){if(t.vars.opened&&i.length){var o=(i=i.slice(0,-1))[i.length-1];o==n?t.close():(t.openPanel(t.node.menu.querySelector(o)),history.pushState(null,document.title,n))}}))}e.open&&window.addEventListener("popstate",(function(e){t.vars.opened||location.hash!=n||t.open()}))}},columns:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={add:t}),"number"==typeof t&&(t={add:!0,visible:t}),"object"!=typeof t&&(t={}),"number"==typeof t.visible&&(t.visible={min:t.visible,max:t.visible}),t}(this.opts.columns);if(this.opts.columns=ut(e,At.options.columns),e.add){e.visible.min=Math.max(1,Math.min(6,e.visible.min)),e.visible.max=Math.max(e.visible.min,Math.min(6,e.visible.max));for(var n=[],i=[],o=["brz-mm-panel_opened","brz-mm-panel_opened-parent","brz-mm-panel_highest"],r=0;r<=e.visible.max;r++)n.push("brz-mm-menu_columns-"+r),i.push("brz-mm-panel_columns-"+r);o.push.apply(o,i),this.bind("openPanel:before",(function(e){var n;if(e&&(n=e.mmParent),n&&(n=n.closest(".brz-mm-panel"))){var i=n.className;if(i.length&&(i=i.split("brz-mm-panel_columns-")[1]))for(var r=parseInt(i.split(" ")[0],10)+1;r>0;){if(!(e=Pt(t.node.pnls,".brz-mm-panel_columns-"+r)[0])){r=-1;break}r++,e.classList.add("brz-mm-hidden"),o.forEach((function(t){e.classList.remove(t)}))}}})),this.bind("openPanel:start",(function(o){var r=Pt(t.node.pnls,".brz-mm-panel_opened-parent").length;o.matches(".brz-mm-panel_opened-parent")||r++,r=Math.min(e.visible.max,Math.max(e.visible.min,r)),n.forEach((function(e){t.node.menu.classList.remove(e)})),t.node.menu.classList.add("brz-mm-menu_columns-"+r);var s=[];Pt(t.node.pnls,".brz-mm-panel").forEach((function(t){i.forEach((function(e){t.classList.remove(e)})),t.matches(".brz-mm-panel_opened-parent")&&s.push(t)})),s.push(o),s.slice(-e.visible.max).forEach((function(t,e){t.classList.add("brz-mm-panel_columns-"+e)}))}))}},counters:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={add:t,addTo:"panels",count:t}),"object"!=typeof t&&(t={}),"panels"==t.addTo&&(t.addTo=".mm-listview"),t}(this.opts.counters);if(this.opts.counters=ut(e,At.options.counters),this.bind("initListview:after",(function(e){var n=t.conf.classNames.counters.counter;Lt(e,"."+n).forEach((function(t){It(t,n,"brz-mm-counter")}))})),e.add&&this.bind("initListview:after",(function(t){if(t.matches(e.addTo)){var n=t.closest(".brz-mm-panel").mmParent;if(n&&!Lt(n,".brz-mm-counter").length){var i=Pt(n,".brz-mm-btn")[0];i&&i.prepend(Et("span.brz-mm-counter"))}}})),e.count){var n=function(e){(e?[e.closest(".brz-mm-panel")]:Pt(t.node.pnls,".brz-mm-panel")).forEach((function(t){var e=t.mmParent;if(e){var n=Lt(e,".brz-mm-counter")[0];if(n){var i=[];Pt(t,".brz-mm-listview").forEach((function(t){i.push.apply(i,Pt(t))})),n.innerHTML=Ot(i).length.toString()}}}))};this.bind("initListview:after",n),this.bind("updateListview",n)}},dividers:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={add:t}),"object"!=typeof t&&(t={}),"panels"==t.addTo&&(t.addTo=".mm-listview"),t}(this.opts.dividers);this.opts.dividers=ut(e,At.options.dividers),this.bind("initListview:after",(function(e){Pt(e).forEach((function(e){It(e,t.conf.classNames.divider,"brz-mm-divider"),e.matches(".brz-mm-divider")&&e.classList.remove("brz-mm-listitem")}))})),e.add&&this.bind("initListview:after",(function(t){if(t.matches(e.addTo)){Lt(t,".brz-mm-divider").forEach((function(t){t.remove()}));var n="";Ot(Pt(t)).forEach((function(e){var i=Pt(e,".brz-mm-listitem__text")[0].textContent.trim().toLowerCase()[0];if(i.length&&i!=n){n=i;var o=Et("li.brz-mm-divider");o.textContent=i,t.insertBefore(o,e)}}))}}))},drag:function(){var t=this;if(this.opts.offCanvas){var e=function(t){return"boolean"==typeof t&&(t={open:t}),"object"!=typeof t&&(t={}),t}(this.opts.drag);this.opts.drag=ut(e,At.options.drag),e.open&&this.bind("setPage:after",(function(n){pe.call(t,e.node||n)}))}},dropdown:function(){var t=this;if(this.opts.offCanvas){var e=function(t){return"boolean"==typeof t&&t&&(t={drop:t}),"object"!=typeof t&&(t={}),"string"==typeof t.position&&(t.position={of:t.position}),t}(this.opts.dropdown);this.opts.dropdown=ut(e,At.options.dropdown);var n=this.conf.dropdown;if(e.drop){var i;this.bind("initMenu:after",(function(){if(t.node.menu.classList.add("brz-mm-menu_dropdown"),"string"!=typeof e.position.of){var n=gt(t.node.menu.id);n&&(e.position.of='[href="#'+n+'"]')}if("string"==typeof e.position.of){i=Lt(document.body,e.position.of)[0];var o=e.event.split(" ");1==o.length&&(o[1]=o[0]),"hover"==o[0]&&i.addEventListener("mouseenter",(function(){t.open()}),{passive:!0}),"hover"==o[1]&&t.node.menu.addEventListener("mouseleave",(function(){t.close()}),{passive:!0})}})),this.bind("open:start",(function(){t.node.menu.mmStyle=t.node.menu.getAttribute("style"),t.node.wrpr.classList.add("brz-mm-wrapper_dropdown")})),this.bind("close:finish",(function(){t.node.menu.setAttribute("style",t.node.menu.mmStyle),t.node.wrpr.classList.remove("brz-mm-wrapper_dropdown")}));var o=function(t,o){var r,s,a,c=o[0],l=o[1],d="x"==t?"offsetWidth":"offsetHeight",m="x"==t?"left":"top",u="x"==t?"right":"bottom",h="x"==t?"width":"height",p="x"==t?"innerWidth":"innerHeight",f="x"==t?"maxWidth":"maxHeight",v=null,b=(r=m,i.getBoundingClientRect()[r]+document.body["left"===r?"scrollLeft":"scrollTop"]),g=b+i[d],y=window[p],_=n.offset.button[t]+n.offset.viewport[t];if(e.position[t])switch(e.position[t]){case"left":case"bottom":v="after";break;case"right":case"top":v="before"}return null===v&&(v=b+(g-b)/2<y/2?"after":"before"),"after"==v?(a=y-((s="x"==t?b:g)+_),c[m]=s+n.offset.button[t]+"px",c[u]="auto",e.tip&&l.push("brz-mm-menu_tip-"+("x"==t?"left":"top"))):(a=(s="x"==t?g:b)-_,c[u]="calc( 100% - "+(s-n.offset.button[t])+"px )",c[m]="auto",e.tip&&l.push("brz-mm-menu_tip-"+("x"==t?"right":"bottom"))),e.fitViewport&&(c[f]=Math.min(n[h].max,a)+"px"),[c,l]};this.bind("open:start",r),window.addEventListener("resize",(function(e){r.call(t)}),{passive:!0}),this.opts.offCanvas.blockUI||window.addEventListener("scroll",(function(e){r.call(t)}),{passive:!0})}}function r(){var t=this;if(this.vars.opened){this.node.menu.setAttribute("style",this.node.menu.mmStyle);var n=[{},[]];for(var i in n=o.call(this,"y",n),(n=o.call(this,"x",n))[0])this.node.menu.style[i]=n[0][i];if(e.tip){["brz-mm-menu_tip-left","brz-mm-menu_tip-right","brz-mm-menu_tip-top","brz-mm-menu_tip-bottom"].forEach((function(e){t.node.menu.classList.remove(e)})),n[1].forEach((function(e){t.node.menu.classList.add(e)}))}}}},fixedElements:function(){var t=this;if(this.opts.offCanvas){var e,n,i=this.conf.fixedElements;this.bind("setPage:after",(function(o){e=t.conf.classNames.fixedElements.fixed,n=Lt(document,i.insertSelector)[0],Lt(o,"."+e).forEach((function(t){It(t,e,"brz-mm-slideout"),n[i.insertMethod](t)}))}))}},iconbar:function(){var t,e=this,n=function(t){return"array"==ht(t)&&(t={use:!0,top:t}),"object"!=ht(t)&&(t={}),void 0===t.use&&(t.use=!0),"boolean"==typeof t.use&&t.use&&(t.use=!0),t}(this.opts.iconbar);if((this.opts.iconbar=ut(n,At.options.iconbar),n.use)&&(["top","bottom"].forEach((function(e,i){var o=n[e];"array"!=ht(o)&&(o=[o]);for(var r=Et("div.brz-mm-iconbar__"+e),s=0,a=o.length;s<a;s++)"string"==typeof o[s]?r.innerHTML+=o[s]:r.append(o[s]);r.children.length&&(t||(t=Et("div.brz-mm-iconbar")),t.append(r))})),t)){this.bind("initMenu:after",(function(){e.node.menu.prepend(t)}));var i="brz-mm-menu_iconbar-"+n.position,o=function(){e.node.menu.classList.add(i),At.sr_aria(t,"hidden",!1)};if("boolean"==typeof n.use?this.bind("initMenu:after",o):Tt(n.use,o,(function(){e.node.menu.classList.remove(i),At.sr_aria(t,"hidden",!0)})),"tabs"==n.type){t.classList.add("brz-mm-iconbar_tabs"),t.addEventListener("click",(function(t){var n=t.target;if(n.matches("a"))if(n.matches(".brz-mm-iconbar__tab_selected"))t.stopImmediatePropagation();else try{var i=e.node.menu.querySelector(n.getAttribute("href"))[0];i&&i.matches(".brz-mm-panel")&&(t.preventDefault(),t.stopImmediatePropagation(),e.openPanel(i,!1))}catch(t){}}));var r=function(e){Lt(t,"a").forEach((function(t){t.classList.remove("brz-mm-iconbar__tab_selected")}));var n=Lt(t,'[href="#'+e.id+'"]')[0];if(n)n.classList.add("brz-mm-iconbar__tab_selected");else{var i=e.mmParent;i&&r(i.closest(".brz-mm-panel"))}};this.bind("openPanel:start",r)}}},iconPanels:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={add:t}),"number"!=typeof t&&"string"!=typeof t||(t={add:!0,visible:t}),"object"!=typeof t&&(t={}),t}(this.opts.iconPanels);this.opts.iconPanels=ut(e,At.options.iconPanels);var n=!1;if("first"==e.visible&&(n=!0,e.visible=1),e.visible=Math.min(3,Math.max(1,e.visible)),e.visible++,e.add){this.bind("initMenu:after",(function(){var n=["brz-mm-menu_iconpanel"];e.hideNavbar&&n.push("brz-mm-menu_hidenavbar"),e.hideDivider&&n.push("brz-mm-menu_hidedivider"),n.forEach((function(e){t.node.menu.classList.add(e)}))}));var i=[];if(!n)for(var o=0;o<=e.visible;o++)i.push("brz-mm-panel_iconpanel-"+o);this.bind("openPanel:start",(function(o){var r=Pt(t.node.pnls,".brz-mm-panel");if(!(o=o||r[0]).parentElement.matches(".brz-mm-listitem_vertical"))if(n)r.forEach((function(t,e){t.classList[0==e?"add":"remove"]("brz-mm-panel_iconpanel-first")}));else{r.forEach((function(t){i.forEach((function(e){t.classList.remove(e)}))})),r=r.filter((function(t){return t.matches(".brz-mm-panel_opened-parent")}));var s=!1;r.forEach((function(t){o===t&&(s=!0)})),s||r.push(o),r.forEach((function(t){t.classList.remove("brz-mm-hidden")})),(r=r.slice(-e.visible)).forEach((function(t,e){t.classList.add("brz-mm-panel_iconpanel-"+e)}))}})),this.bind("initPanel:after",(function(t){if(e.blockPanel&&!t.parentElement.matches(".brz-mm-listitem_vertical")&&!Pt(t,".brz-mm-panel__blocker")[0]){var n=Et("a.brz-mm-panel__blocker");n.setAttribute("href","#"+t.closest(".brz-mm-panel").id),t.prepend(n)}}))}},keyboardNavigation:function(){var t=this;if(!Xt){var e=function(t){return"boolean"!=typeof t&&"string"!=typeof t||(t={enable:t}),"object"!=typeof t&&(t={}),t}(this.opts.keyboardNavigation);if(this.opts.keyboardNavigation=ut(e,At.options.keyboardNavigation),e.enable){var n=Et("button.brz-mm-tabstart.brz-mm-sronly"),i=Et("button.brz-mm-tabend.brz-mm-sronly"),o=Et("button.brz-mm-tabend.brz-mm-sronly");this.bind("initMenu:after",(function(){e.enhance&&t.node.menu.classList.add("brz-mm-menu_keyboardfocus"),xe.call(t,e.enhance)})),this.bind("initOpened:before",(function(){t.node.menu.prepend(n),t.node.menu.append(i),Pt(t.node.menu,".brz-mm-navbars-top, .brz-mm-navbars-bottom").forEach((function(t){t.querySelectorAll(".brz-mm-navbar__title").forEach((function(t){t.setAttribute("tabindex","-1")}))}))})),this.bind("initBlocker:after",(function(){At.node.blck.append(o),Pt(At.node.blck,"a")[0].classList.add("brz-mm-tabstart")}));var r="input, select, textarea, button, label, a[href]",s=function(n){n=n||Pt(t.node.pnls,".brz-mm-panel_opened")[0];var i=null,o=document.activeElement.closest(".brz-mm-navbar");if(!o||o.closest(".brz-mm-menu")!=t.node.menu){if("default"==e.enable&&((i=Lt(n,".brz-mm-listview a[href]:not(.brz-mm-hidden)")[0])||(i=Lt(n,r+":not(.brz-mm-hidden)")[0]),!i)){var s=[];Pt(t.node.menu,".brz-mm-navbars_top, .brz-mm-navbars_bottom").forEach((function(t){s.push.apply(s,Lt(t,r+":not(.brz-mm-hidden)"))})),i=s[0]}i||(i=Pt(t.node.menu,".brz-mm-tabstart")[0]),i&&i.focus()}};this.bind("open:finish",s),this.bind("openPanel:finish",s),this.bind("initOpened:after:sr-aria",(function(){[t.node.menu,At.node.blck].forEach((function(t){Pt(t,".brz-mm-tabstart, .brz-mm-tabend").forEach((function(t){At.sr_aria(t,"hidden",!0),At.sr_role(t,"presentation")}))}))}))}}},lazySubmenus:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={load:t}),"object"!=typeof t&&(t={}),t}(this.opts.lazySubmenus);this.opts.lazySubmenus=ut(e,At.options.lazySubmenus),e.load&&(this.bind("initMenu:after",(function(){var e=[];Lt(t.node.pnls,"li").forEach((function(n){e.push.apply(e,Pt(n,t.conf.panelNodetype.join(", ")))})),e.filter((function(t){return!t.matches(".brz-mm-listview_inset")})).filter((function(t){return!t.matches(".brz-mm-nolistview")})).filter((function(t){return!t.matches(".brz-mm-nopanel")})).forEach((function(t){["brz-mm-panel_lazysubmenu","brz-mm-nolistview","brz-mm-nopanel"].forEach((function(e){t.classList.add(e)}))}))})),this.bind("initPanels:before",(function(){Pt(t.node.pnls,t.conf.panelNodetype.join(", ")).forEach((function(t){var e=".brz-mm-panel_lazysubmenu",n=Lt(t,e);t.matches(e)&&n.unshift(t),n.filter((function(t){return!t.matches(".brz-mm-panel_lazysubmenu .brz-mm-panel_lazysubmenu")})).forEach((function(t){["brz-mm-panel_lazysubmenu","brz-mm-nolistview","brz-mm-nopanel"].forEach((function(e){t.classList.remove(e)}))}))}))})),this.bind("initOpened:before",(function(){var e=[];Lt(t.node.pnls,"."+t.conf.classNames.selected).forEach((function(t){e.push.apply(e,St(t,".brz-mm-panel_lazysubmenu"))})),e.length&&(e.forEach((function(t){["brz-mm-panel_lazysubmenu","brz-mm-nolistview","brz-mm-nopanel"].forEach((function(e){t.classList.remove(e)}))})),t.initPanel(e[e.length-1]))})),this.bind("openPanel:before",(function(e){var n=".brz-mm-panel_lazysubmenu",i=Lt(e,n);e.matches(n)&&i.unshift(e),(i=i.filter((function(t){return!t.matches(".brz-mm-panel_lazysubmenu .brz-mm-panel_lazysubmenu")}))).forEach((function(e){t.initPanel(e)}))})))},navbars:Pe,pageScroll:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={scroll:t}),"object"!=typeof t&&(t={}),t}(this.opts.pageScroll);this.opts.pageScroll=ut(e,At.options.pageScroll);var n,i=this.conf.pageScroll;function o(){n&&window.scrollTo({top:n.getBoundingClientRect().top+document.scrollingElement.scrollTop-i.scrollOffset,behavior:"smooth"}),n=null}function r(t){try{return"#"!=t&&"#"==t.slice(0,1)?At.node.page.querySelector(t):null}catch(t){return null}}if(e.scroll&&this.bind("close:finish",(function(){o()})),this.opts.offCanvas&&e.scroll&&this.clck.push((function(e,i){if(n=null,i.inMenu){var s=e.getAttribute("href");if(n=r(s))return t.node.menu.matches(".brz-mm-menu_sidebar-expanded")&&t.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded")?void o():{close:!0}}})),e.update){var s=[];this.bind("initListview:after",(function(t){kt(Pt(t,".brz-mm-listitem")).forEach((function(t){var e=r(t.getAttribute("href"));e&&s.unshift(e)}))}));var a=-1;window.addEventListener("scroll",(function(e){for(var n=window.scrollY,o=0;o<s.length;o++)if(s[o].offsetTop<n+i.updateOffset){if(a!==o){a=o;var r=kt(Lt(Pt(t.node.pnls,".brz-mm-panel_opened")[0],".brz-mm-listitem"));(r=r.filter((function(t){return t.matches('[href="#'+s[o].id+'"]')}))).length&&t.setSelected(r[0].parentElement)}break}}))}},searchfield:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={add:t}),"object"!=typeof t&&(t={}),"boolean"==typeof t.panel&&(t.panel={add:t.panel}),"object"!=typeof t.panel&&(t.panel={}),"panel"==t.addTo&&(t.panel.add=!0),t.panel.add&&(t.showSubPanels=!1,t.panel.splash&&(t.cancel=!0)),t}(this.opts.searchfield);this.opts.searchfield=ut(e,At.options.searchfield);this.conf.searchfield;e.add&&(this.bind("close:start",(function(){Lt(t.node.menu,".brz-mm-searchfield").forEach((function(t){t.blur()}))})),this.bind("initPanel:after",(function(n){var i=null;e.panel.add&&(i=Ae.call(t));var o=null;switch(e.addTo){case"panels":o=[n];break;case"panel":o=[i];break;default:"string"==typeof e.addTo?o=Lt(t.node.menu,e.addTo):"array"==ht(e.addTo)&&(o=e.addTo)}o.forEach((function(n){n=je.call(t,n),e.search&&n&&De.call(t,n)})),e.noResults&&We.call(t,e.panel.add?i:n)})),this.clck.push((function(e,n){if(n.inMenu&&e.matches(".brz-mm-searchfield__btn")){if(e.matches(".brz-mm-btn_close")){var i=Lt(o=e.closest(".brz-mm-searchfield"),"input")[0];return i.value="",t.search(i),!0}var o;if(e.matches(".brz-mm-btn_next"))return(o=e.closest("form"))&&o.submit(),!0}})))},sectionIndexer:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={add:t}),"object"!=typeof t&&(t={}),t}(this.opts.sectionIndexer);this.opts.sectionIndexer=ut(e,At.options.sectionIndexer),e.add&&this.bind("initPanels:after",(function(){if(!t.node.indx){var e="";"abcdefghijklmnopqrstuvwxyz".split("").forEach((function(t){e+='<a href="#">'+t+"</a>"}));var n=Et("div.brz-mm-sectionindexer");n.innerHTML=e,t.node.pnls.prepend(n),t.node.indx=n,t.node.indx.addEventListener("click",(function(t){t.target.matches("a")&&t.preventDefault()}));var i=function(e){if(e.target.matches("a")){var n=e.target.textContent,i=Pt(t.node.pnls,".brz-mm-panel_opened")[0],o=-1,r=i.scrollTop;i.scrollTop=0,Lt(i,".brz-mm-divider").filter((function(t){return!t.matches(".brz-mm-hidden")})).forEach((function(t){o<0&&n==t.textContent.trim().slice(0,1).toLowerCase()&&(o=t.offsetTop)})),i.scrollTop=o>-1?o:r}};Xt?(t.node.indx.addEventListener("touchstart",i,{passive:!0}),t.node.indx.addEventListener("touchmove",i,{passive:!0})):t.node.indx.addEventListener("mouseover",i,{passive:!0})}t.bind("openPanel:start",(function(e){var n=Lt(e,".brz-mm-divider").filter((function(t){return!t.matches(".brz-mm-hidden")})).length;t.node.indx.classList[n?"add":"remove"]("brz-mm-sectionindexer_active")}))}))},setSelected:function(){var t=this,e=function(t){return"boolean"==typeof t&&(t={hover:t,parent:t}),"object"!=typeof t&&(t={}),t}(this.opts.setSelected);if(this.opts.setSelected=ut(e,At.options.setSelected),"detect"==e.current){var n=function(e){e=e.split("?")[0].split("#")[0];var i=t.node.menu.querySelector('a[href="'+e+'"], a[href="'+e+'/"]');if(i)t.setSelected(i.parentElement);else{var o=e.split("/").slice(0,-1);o.length&&n(o.join("/"))}};this.bind("initMenu:after",(function(){n.call(t,window.location.href)}))}else e.current||this.bind("initListview:after",(function(t){Pt(t,".brz-mm-listitem_selected").forEach((function(t){t.classList.remove("brz-mm-listitem_selected")}))}));e.hover&&this.bind("initMenu:after",(function(){t.node.menu.classList.add("brz-mm-menu_selected-hover")})),e.parent&&(this.bind("openPanel:finish",(function(e){Lt(t.node.pnls,".brz-mm-listitem_selected-parent").forEach((function(t){t.classList.remove("brz-mm-listitem_selected-parent")}));for(var n=e.mmParent;n;)n.matches(".brz-mm-listitem_vertical")||n.classList.add("brz-mm-listitem_selected-parent"),n=(n=n.closest(".brz-mm-panel")).mmParent})),this.bind("initMenu:after",(function(){t.node.menu.classList.add("brz-mm-menu_selected-parent")})))},sidebar:function(){var t=this;if(this.opts.offCanvas){var e=function(t){return("string"==typeof t||"boolean"==typeof t&&t||"number"==typeof t)&&(t={expanded:t}),"object"!=typeof t&&(t={}),"boolean"==typeof t.collapsed&&t.collapsed&&(t.collapsed={use:!0}),"string"!=typeof t.collapsed&&"number"!=typeof t.collapsed||(t.collapsed={use:t.collapsed}),"object"!=typeof t.collapsed&&(t.collapsed={}),"boolean"==typeof t.expanded&&t.expanded&&(t.expanded={use:!0}),"string"!=typeof t.expanded&&"number"!=typeof t.expanded||(t.expanded={use:t.expanded}),"object"!=typeof t.expanded&&(t.expanded={}),t}(this.opts.sidebar);if(this.opts.sidebar=ut(e,At.options.sidebar),e.collapsed.use){this.bind("initMenu:after",(function(){if(t.node.menu.classList.add("brz-mm-menu_sidebar-collapsed"),e.collapsed.blockMenu&&t.opts.offCanvas&&!Pt(t.node.menu,".brz-mm-menu__blocker")[0]){var n=Et("a.brz-mm-menu__blocker");n.setAttribute("href","#"+t.node.menu.id),t.node.menu.prepend(n)}e.collapsed.hideNavbar&&t.node.menu.classList.add("brz-mm-menu_hidenavbar"),e.collapsed.hideDivider&&t.node.menu.classList.add("brz-mm-menu_hidedivider")}));var n=function(){t.node.wrpr.classList.add("brz-mm-wrapper_sidebar-collapsed")},i=function(){t.node.wrpr.classList.remove("brz-mm-wrapper_sidebar-collapsed")};"boolean"==typeof e.collapsed.use?this.bind("initMenu:after",n):Tt(e.collapsed.use,n,i)}if(e.expanded.use){this.bind("initMenu:after",(function(){t.node.menu.classList.add("brz-mm-menu_sidebar-expanded")}));n=function(){t.node.wrpr.classList.add("brz-mm-wrapper_sidebar-expanded"),t.node.wrpr.matches(".brz-mm-wrapper_sidebar-closed")||t.open()},i=function(){t.node.wrpr.classList.remove("brz-mm-wrapper_sidebar-expanded"),t.close()};"boolean"==typeof e.expanded.use?this.bind("initMenu:after",n):Tt(e.expanded.use,n,i),this.bind("close:start",(function(){t.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded")&&(t.node.wrpr.classList.add("brz-mm-wrapper_sidebar-closed"),"remember"==e.expanded.initial&&window.localStorage.setItem("mmenuExpandedState","closed"))})),this.bind("open:start",(function(){t.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded")&&(t.node.wrpr.classList.remove("brz-mm-wrapper_sidebar-closed"),"remember"==e.expanded.initial&&window.localStorage.setItem("mmenuExpandedState","open"))}));var o=e.expanded.initial;if("remember"==e.expanded.initial){var r=window.localStorage.getItem("mmenuExpandedState");switch(r){case"open":case"closed":o=r}}"closed"==o&&this.bind("initMenu:after",(function(){t.node.wrpr.classList.add("brz-mm-wrapper_sidebar-closed")})),this.clck.push((function(n,i){if(i.inMenu&&i.inListview&&t.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded"))return{close:"closed"==e.expanded.initial}}))}}},toggles:function(){var t=this;this.bind("initPanel:after",(function(e){Lt(e,"input").forEach((function(e){It(e,t.conf.classNames.toggles.toggle,"brz-mm-toggle"),It(e,t.conf.classNames.toggles.check,"brz-mm-check")}))}))}};var Re=At},,,,function(t,e){t.exports=window.jQuery},function(t,e,n){var i,o,r;window,o=[n(3),n(0)],void 0===(r="function"==typeof(i=function(t,e){"use strict";function n(t){for(var e in t)return!1;return!0}var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",r="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],a={transform:r,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function c(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=c.prototype=Object.create(t.prototype);function d(t){return t.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}))}l.constructor=c,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var n in t)e[a[n]||n]=t[n]},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=t[e?"left":"right"],o=t[n?"top":"bottom"],r=parseFloat(i),s=parseFloat(o),a=this.layout.size;-1!=i.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=n?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},l.layoutPosition=function(){var t=this.layout.size,e={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=n?"paddingLeft":"paddingRight",r=n?"left":"right",s=n?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var c=i?"paddingTop":"paddingBottom",l=i?"top":"bottom",d=i?"bottom":"top",m=this.position.y+t[c];e[l]=this.getYValue(m),e[d]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!o||this.isTransitioning){var r=t-n,s=e-i,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var n in t.onTransitionEnd)e.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)e.ingProperties[n]=!0,t.isCleaning&&(e.clean[n]=!0);t.from&&(this.css(t.from),this.element.offsetHeight),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var m="opacity,"+d(r);l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:m,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var u={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=u[t.propertyName]||t.propertyName;delete e.ingProperties[i],n(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e)};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(h)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),this.hide()):this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var n in e)return n},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},c})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){var i,o,r;window,o=[n(1)],void 0===(r="function"==typeof(i=function(t){"use strict";function e(){t.Item.apply(this,arguments)}var n=e.prototype=Object.create(t.Item.prototype),i=n._create;n._create=function(){this.id=this.layout.itemGUID++,i.call(this),this.sortData={}},n.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var n in t){var i=e[n];this.sortData[n]=i(this.element,this)}}};var o=n.destroy;return n.destroy=function(){o.apply(this,arguments),this.css({display:""})},e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){var i,o,r;window,o=[n(2),n(19)],void 0===(r="function"==typeof(i=function(t,e){"use strict";var n=t.create("masonry"),i=n.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var r in e.prototype)o[r]||(i[r]=e.prototype[r]);var s=i.measureColumns;i.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)};var a=i._getOption;return i._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){var i,o,r;window,o=[n(1),n(0)],void 0===(r="function"==typeof(i=function(t,e){"use strict";var n=t.create("masonry");n.compatOptions.fitWidth="isFitWidth";var i=n.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],n=t&&t.element;this.columnWidth=n&&e(n).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/i,s=i-o%i;r=Math[s&&s<1?"round":"floor"](r),this.cols=Math.max(r,1)},i.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,n=e(t);this.containerWidth=n&&n.innerWidth},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,t),o={x:this.columnWidth*i.col,y:i.y},r=i.y+t.size.outerHeight,s=n+i.col,a=i.col;a<s;a++)this.colYs[a]=r;return o},i._getTopColPosition=function(t){var e=this._getTopColGroup(t),n=Math.min.apply(Math,e);return{col:e.indexOf(n),y:n}},i._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;i++)e[i]=this._getColGroupY(i,t);return e},i._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var n=this.colYs.slice(t,t+e);return Math.max.apply(Math,n)},i._getHorizontalColPosition=function(t,e){var n=this.horizontalColIndex%this.cols;n=t>1&&n+t>this.cols?0:n;var i=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=i?n+t:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,t)}},i._manageStamp=function(t){var n=e(t),i=this._getElementOffset(t),o=this._getOption("originLeft")?i.left:i.right,r=o+n.outerWidth,s=Math.floor(o/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var c=(this._getOption("originTop")?i.top:i.bottom)+n.outerHeight,l=s;l<=a;l++)this.colYs[l]=Math.max(c,this.colYs[l])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){var i,o,r;window,o=[n(2)],void 0===(r="function"==typeof(i=function(t){"use strict";var e=t.create("fitRows"),n=e.prototype;return n._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,n=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>n&&(this.x=0,this.y=this.maxY);var i={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,i},n._getContainerSize=function(){return{height:this.maxY}},e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){var i,o,r;window,o=[n(2)],void 0===(r="function"==typeof(i=function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),n=e.prototype;return n._resetLayout=function(){this.y=0},n._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,n=this.y;return this.y+=t.size.outerHeight,{x:e,y:n}},n._getContainerSize=function(){return{height:this.y}},e})?i.apply(e,o):i)||(t.exports=r)},,,function(t,e,n){"use strict";n.r(e);var i=n(9);n.d(e,"ImagesLoaded",(function(){return i.ImagesLoaded})),n.d(e,"Isotope",(function(){return i.Isotope}));var o=n(11);n.d(e,"MMenu",(function(){return o.MMenu})),n.d(e,"CreatePopper",(function(){return o.CreatePopper})),n.d(e,"Dropdown",(function(){return o.Dropdown}))}]);