PageSourceSearch

https://yesterday.ro/wp-content/plugins/brizy-pro/public/editor-build/prod/js/group-1_2.pro.min.js?ver=244-wp

js yesterday.ro collected 2026-09-24 12:56:42 UTC 132,297 bytes, 1 lines download raw bytes

1(()=>{var t={86(t){!function(e,n){"use strict";"function"==typeof define&&define.amd?define(n):t.exports?t.exports=n():e.matchesSelector=n()}(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)}})},437(t){var e,n;e="u">typeof window?window:this,n=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},"function"==typeof define&&define.amd?define(n):t.exports?t.exports=n():e.EvEmitter=n()},421(t,e,n){var i,o;i=window,o=function(t,e){"use strict";var n={};n.extend=function(t,e){for(var n in e)t[n]=e[n];return t},n.modulo=function(t,e){return(t%e+e)%e};var i=Array.prototype.slice;return 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(e(t=t.parentNode,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)return void o.push(t);e(t,i)&&o.push(t);for(var n=t.querySelectorAll(i),r=0;r<n.length;r++)o.push(n[r])}}),o},n.debounceMethod=function(t,e,n){n=n||100;var i=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){clearTimeout(this[o]);var t=arguments,e=this;this[o]=setTimeout(function(){i.apply(e,t),delete e[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()},t.console,n.htmlInit=function(e,i){n.docReady(function(){var o=n.toDashed(i),r="data-"+o,s=document.querySelectorAll("["+r+"]"),a=document.querySelectorAll(".js-"+o),l=n.makeArray(s).concat(n.makeArray(a)),c=r+"-options",d=t.jQuery;l.forEach(function(t){var n,o=t.getAttribute(r)||t.getAttribute(c);try{n=o&&JSON.parse(o)}catch(t){return}var s=new e(t,n);d&&d.data(t,i,s)})})},n},"function"==typeof define&&define.amd?define(["desandro-matches-selector/matches-selector"],function(t){return o(i,t)}):t.exports?t.exports=o(i,n(86)):i.fizzyUIUtils=o(i,i.matchesSelector)},673(t){var e,n;e=window,n=function(){"use strict";function t(t){var e=parseFloat(t);return -1==t.indexOf("%")&&!isNaN(e)&&e}var e,n="u"<typeof console?function(){}:function(t){},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=i.length;function r(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 s=!1;function a(n){if(!s){s=!0;var l=document.createElement("div");l.style.width="200px",l.style.padding="1px 2px 3px 4px",l.style.borderStyle="solid",l.style.borderWidth="1px 2px 3px 4px",l.style.boxSizing="border-box";var c=document.body||document.documentElement;c.appendChild(l),a.isBoxSizeOuter=e=200==Math.round(t(r(l).width)),c.removeChild(l)}if("string"==typeof n&&(n=document.querySelector(n)),n&&"object"==typeof n&&n.nodeType){var d=r(n);if("none"==d.display){for(var m={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},h=0;h<o;h++)m[i[h]]=0;return m}var u={};u.width=n.offsetWidth,u.height=n.offsetHeight;for(var p=u.isBorderBox="border-box"==d.boxSizing,f=0;f<o;f++){var v=i[f],b=parseFloat(d[v]);u[v]=isNaN(b)?0:b}var g=u.paddingLeft+u.paddingRight,y=u.paddingTop+u.paddingBottom,_=u.marginLeft+u.marginRight,z=u.marginTop+u.marginBottom,x=u.borderLeftWidth+u.borderRightWidth,w=u.borderTopWidth+u.borderBottomWidth,E=p&&e,L=t(d.width);!1!==L&&(u.width=L+(E?0:g+x));var S=t(d.height);return!1!==S&&(u.height=S+(E?0:y+w)),u.innerWidth=u.width-(g+x),u.innerHe
1ight=u.height-(y+w),u.outerWidth=u.width+_,u.outerHeight=u.height+z,u}}return a},"function"==typeof define&&define.amd?define(n):t.exports?t.exports=n():e.getSize=n()},939(t,e,n){!function(e,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(t){return i(e,t)}):t.exports?t.exports=i(e,n(437)):e.imagesLoaded=i(e,e.EvEmitter)}("u">typeof window?window:this,function(t,e){"use strict";var n=t.jQuery;function i(t,e){for(var n in e)t[n]=e[n];return t}t.console;var o=Array.prototype.slice;function r(t,e,s){if(!(this instanceof r))return new r(t,e,s);var a,l=t;"string"==typeof t&&(l=document.querySelectorAll(t)),l&&(this.elements=Array.isArray(a=l)?a:"object"==typeof a&&"number"==typeof a.length?o.call(a):[a],this.options=i({},this.options),"function"==typeof e?s=e:i(this.options,e),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this)))}r.prototype=Object.create(e.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&s[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 a=r[i];this.addElementBackgroundImages(a)}}}};var s={1:!0,9:!0,11:!0};function a(t){this.img=t}function l(t,e){this.url=t,this.element=e,this.img=new Image}return r.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)}},r.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},r.prototype.addBackground=function(t,e){var n=new l(t,e);this.images.push(n)},r.prototype.check=function(){var t=this;if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();function e(e,n,i){setTimeout(function(){t.progress(e,n,i)})}this.images.forEach(function(t){t.once("progress",e),t.check()})},r.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},r.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)}},a.prototype=Object.create(e.prototype),a.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)},a.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(a.prototype),l.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())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},r.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(n(this))})},r.makeJQueryPlugin(),r})},554(t,e,n){var i,o;i=window,o=function(t,e,n,i,o,r,s){"use strict";var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=r,c.LayoutMode=s;var d=c.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.arrange():this._layout()},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 l=r(a);l&&n.push(a),l&&a.isHidden?i.push(a):l||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(t){if("string"!=typeof t)return t;var e,n,i=l(t).split(" "),o=i[0],r=o.match(/^\[(.+)\]$/),s=(e=r&&r[1],n=o,e?function(t){return t.getAttribute(e)}:function(t){var e=t.querySelector(n);return e&&e.textContent}),a=c.sortDataParsers[i[1]];return a?function(t){return t&&a(s(t))}:function(t){return t&&s(t)}};c.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d._sort=function(){if(this.options.sortBy){var t,e,n=o.makeArray(this.options.sortBy);this._getIsSameSortBy(n)||(this.sortHistory=n.concat(this.sortHistory));var i=(t=this.sortHistory,e=this.options.sortAscending,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});this.filteredItems.sort(i)}},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 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,n,i=this.addItems(t);if(i.length){var o=i.length;for(e=0;e<o;e++)n=i[e],this.element.appendChild(n.element);var r=this._filter(i).matches;for(e=0;e<o;e++)i[e].isLayoutInstant=!0;for(this.arrange(),e=0;e<o;e++)delete i[e].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})},c},"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","./item","./layout-mode","./layout-modes/masonry","./layout-modes/fit-rows","./layout-modes/vertical"],function(t,e,n,r,s,a){return o(i,t,e,n,r,s,a)}):t.exports?t.exports=o(i,n(979),n(673),n(86),n(421),n(542),n(407),n(110),n(442),n(927)):i.Isotope=o(i,i.Outlayer,i.getSize,i.matchesSelector,i.fizzyUIUtils,i.Isotope.Item,i.Isotope.LayoutMode)},542(t,e,n){var i,o;i=window,o=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},"function"==typeof define&&define.amd?define(["outlayer/outlayer"],o):t.exports?t.exports=o(n(979)):(i.Isotope=i.Isotope||{},i.Isotope.Item=o(i.Outlayer))},407(t,e,n){var i,o;i=window,o=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);
vendor: 14,042 bytes, line 1
1return 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},"function"==typeof define&&define.amd?define(["get-size/get-size","outlayer/outlayer"],o):t.exports?t.exports=o(n(673),n(979)):(i.Isotope=i.Isotope||{},i.Isotope.LayoutMode=o(i.getSize,i.Outlayer))},442(t,e,n){var i;window,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},"function"==typeof define&&define.amd?define(["../layout-mode"],i):t.exports=i(n(407))},110(t,e,n){var i,o;i=window,o=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},"function"==typeof define&&define.amd?define(["../layout-mode","masonry-layout/masonry"],o):t.exports?t.exports=o(n(407),n(470)):o(i.Isotope.LayoutMode,i.Masonry)},927(t,e,n){var i,o;i=window,o=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},"function"==typeof define&&define.amd?define(["../layout-mode"],o):t.exports?t.exports=o(n(407)):o(i.Isotope.LayoutMode)},470(t,e,n){var i,o;i=window,o=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=e(this._getOption("fitWidth")?this.element.parentNode:this.element);this.containerWidth=t&&t.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 l=(this._getOption("originTop")?i.top:i.bottom)+n.outerHeight,c=s;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},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},"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],o):t.exports?t.exports=o(n(979),n(673)):i.Masonry=o(i.Outlayer,i.getSize)},453(t,e,n){var i,o;i=window,o=function(t,e){"use strict";var n=document.documentElement.style,i="string"==typeof n.transition?"transition":"WebkitTransition",o="string"==typeof n.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[i],s={transform:o,transition:i,transitionDuration:i+"Duration",transitionProperty:i+"Property",transitionDelay:i+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=a.prototype=Object.create(t.prototype);l.constructor=a,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[s[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=this.position.x+t[n?"paddingLeft":"paddingRight"];e[n?"left":"right"]=this.getXValue(o),e[n?"right":"left"]="";var r=this.position.y+t[i?"paddingTop":"paddingBottom"];e[i?"top":"bottom"]=this.getYValue(r),e[i?"bottom":"top"]="",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)return void this.layoutPosition();var r={};r.transform=this.getTranslate(t-n,e-i),this.transition({to:r,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},l.getTranslate=function(t,e){var n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop");return"translate3d("+(t=n?t:-t)+"px, "+(e=i?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))return void this._nonTransition(t);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};var c="opacity,"+o.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:c,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var d={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=d[t.propertyName]||t.propertyName;delete e.ingProperties[n],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e)};var m={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(m)},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(){i&&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:""})},a},"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter","get-size/get-size"],o):t.exports?t.exports=o(n(437),n(673)):(i.Outlayer={},i.Outlayer.Item=o(i.EvEmitter,i.getSize))},979(t,e,n){!function(e,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,n,o,r){return i(e,t,n,o,r)}):t.exports?t.exports=i(e,n(437),n(673),n(421),n(453)):e.Outlayer=i(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,e.Outlayer.Item)}(window,function(t,e,n,i,o){"use strict";t.console;var r=t.jQuery,s=function(){},a=0,l={};function c(t,e){var n=i.getQueryElement(t);if(n){this.element=n,r&&(this.$element=r(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(e);var o=++a;this.element.outlayerGUID=o,l[o]=this,this._create(),this._getOption("initLayout")&&this.layout()}}c.namespace="outlayer",c.Item=o,c.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 d=c.prototype;function m(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}i.extend(d,e.prototype),d.option=function(t){i.extend(this.options,t)},d._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},c.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._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},d._filterFindItemElements=function(t){return i.filterFindElements(t,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(t){return t.element})},d.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}
vendor: 5,114 bytes, line 1
1,d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=n(this.element)},d._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},d.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},d._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},d._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)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},d.updateStagger=function(){var t=this.options.stagger;if(null==t){this.stagger=0;return}return this.stagger=function(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}(t),this.stagger},d._positionItem=function(t,e,n,i,o){i?t.goTo(e,n):(t.stagger(o*this.stagger),t.moveTo(e,n))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},d._getContainerSize=s,d._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"}},d._emitCompleteOnItems=function(t,e){var n=this;function i(){n.dispatchEvent(t+"Complete",null,[e])}var o=e.length;if(!e||!o)return void i();var r=0;function s(){++r==o&&i()}e.forEach(function(e){e.once(t,s)})},d.dispatchEvent=function(t,e,n){var i=e?[e].concat(n):n;if(this.emitEvent(t,i),r)if(this.$element=this.$element||r(this.element),e){var o=r.Event(e);o.type=t,this.$element.trigger(o,n)}else this.$element.trigger(t,n)},d.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},d.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},d.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},d.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){i.removeFrom(this.stamps,t),this.unignore(t)},this)},d._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=i.makeArray(t)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._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)}},d._manageStamp=s,d._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}},d.handleEvent=i.handleEvent,d.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},i.debounceMethod(c,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},d.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},d.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)}},d.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()})}},d.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()})}},d.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},d.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},d.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n}},d.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},d.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)},d.destroy=function(){var t=this.element.style;
1t.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,r&&r.removeData(this.element,this.constructor.namespace)},c.data=function(t){var e=(t=i.getQueryElement(t))&&t.outlayerGUID;return e&&l[e]},c.create=function(t,e){var n=m(c);return n.defaults=i.extend({},c.defaults),i.extend(n.defaults,e),n.compatOptions=i.extend({},c.compatOptions),n.namespace=t,n.data=c.data,n.Item=m(o),i.htmlInit(n,t),r&&r.bridget&&r.bridget(t,n),n};var h={ms:1,s:1e3};return c.Item=o,c})},348(t,e,n){"use strict";let i;n.d(e,{Isotope:()=>a(),Gallery:()=>h,ImagesLoaded:()=>r()}),window.jQuery;var o=n(939),r=n.n(o),s=n(554),a=n.n(s);let l=new Map,c=()=>{let{innerWidth:t}=window;l.forEach(e=>{e(t)})},d=()=>{clearTimeout(i),i=setTimeout(c,250)};function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class h{arrange(t){var e;if(t&&(this.filterOpts=t),this.justifiedParams.nodeItems=this.getItems(this.node,this.currentSettings.itemSelector),this.filterOpts&&"*"!==this.filterOpts.filter){this.justifiedParams.nodeItems.forEach(t=>{t.style.display="block"});let{filter:t}=this.filterOpts;this.justifiedParams.nodeItems.forEach(e=>{e.classList.contains(t)||(e.style.display="none")}),this.justifiedParams.nodeItems=this.justifiedParams.nodeItems.filter(e=>e.classList.contains(t))}else this.justifiedParams.nodeItems.forEach(t=>{t.style.display="block"});let{computedWidth:n,ratio:i}=this.getJustifiedData(this.justifiedParams.nodeItems,this.currentSettings.rowHeight),o=this.node;this.justifiedParams.computedWidth=n,this.justifiedParams.ratio=i,this.justifiedParams.containerWidth=o?o.offsetWidth+(null!=(e=this.currentSettings.extraWidth)?e:0):0,this.justifiedParams.rowsHeights=[],this.justifiedParams.startIndex=0,this.makeJustifiedRow(this.justifiedParams)}destroy(){var t;this.nodeItems.length&&(this.node.style.removeProperty("padding-bottom"),this.nodeItems.forEach(t=>{t.style.removeProperty("width"),t.style.removeProperty("height"),t.style.removeProperty("display"),t.style.removeProperty("top"),t.style.removeProperty("left"),t.style.removeProperty("--item-row-index")}),t=this.node,l.delete(t),0===l.size&&window.removeEventListener("resize",d))}getCurrentSettings(t){var e;let{innerWidth:n}=window;if(!(null==(e=t.responsive)?void 0:e.length))return{rowHeight:t.rowHeight,itemSelector:t.itemSelector};let i={rowHeight:t.rowHeight,itemSelector:t.itemSelector,extraWidth:t.extraWidth};return t.responsive.forEach(e=>{if(n<e.breakpoint){var o,r;i.rowHeight=null!=(o=e.settings.rowHeight)?o:t.rowHeight,i.itemSelector=null!=(r=e.settings.itemSelector)?r:t.itemSelector}}),i}getItems(t,e){return t&&e?[...t.querySelectorAll(e)]:[]}getJustifiedData(t,e){let n=[],i=[];return t.forEach(t=>{var o,r;let s=t.querySelector("img"),a=null!=(o=null==s?void 0:s.naturalWidth)?o:0,l=null!=(r=null==s?void 0:s.naturalHeight)?r:0,c=a/l*e,d=t.querySelector(".brz-shortcode__placeholder");if(d){let{width:t,height:i}=d.getBoundingClientRect();n.push(t/i*e)}else if(c)n.push(c);else{let{width:i,height:o}=t.getBoundingClientRect();n.push(i/o*e)}let m=a/l;m?i.push(m):i.push(1)}),{computedWidth:n,ratio:i}}makeJustifiedRow(t){let{nodeItems:e,containerWidth:n,startIndex:i,computedWidth:o,rowsHeights:r,ratio:s,rowHeight:a}=t,l=0,c=0,d=o.map(t=>t>n?n:t).filter(Boolean);if(e.length&&d.length)for(let t=i;;t++){let m=o[t];m>n&&(m=n);let h=c+m;if(h>n&&n-c<h-n){this.fitImagesInContainer(i,t,c,n,e,r,d,s),l++,this.makeJustifiedRow({nodeItems:e,containerWidth:n,startIndex:t,computedWidth:o,rowsHeights:r,ratio:s,rowHeight:a});break}if(t===e.length-1){let o=.7<=h/n?h:n;this.fitImagesInContainer(i,t+1,o,n,e,r,d,s),this.inflateGalleryHeight(n,e,r,l);break}c=h}}fitImagesInContainer(t,e,n,i,o,r,s,a){let l=e-t-1,c=0;if(o.length)for(let d=t;d<e;d++){let e=s[d]/n>1?1:s[d]/n,m=o[d];if(m.style.setProperty("width",`${100*e}%`),m.style.setProperty("height",`${n}px`),m.style.setProperty("left",`${100*c}%`),m.style.setProperty("--item-row-index",String(d-t)),c+=e,d===t){let t=e*(i-l),n=a[d];r.push(t/n)}}}inflateGalleryHeight(t,e,n,i){let o=(n.length?n.reduce((t,e)=>t+e):0)+i,r=n.map(t=>t/o*100),s=-1,a=0;e.forEach(t=>{"0"===t.style.getPropertyValue("--item-row-index")&&++s&&(a+=r[s-1]),t.style.setProperty("top",a+"%"),t.style.setProperty("height",`${r[s]}%`)}),e.length&&e[0].parentNode&&e[0].parentNode.style.setProperty("padding-bottom",`${o/t*100}%`)}constructor(t,e){m(this,"initialParams",void 0),m(this,"currentSettings",void 0),m(this,"nodeItems",void 0),m(this,"node",void 0),m(this,"justifiedParams",void 0),m(this,"filterOpts",void 0),m(this,"handleResize",()=>{this.currentSettings=this.getCurrentSettings(this.initialParams),this.arrange()}),this.node=t,this.initialParams=e,this.currentSettings=this.getCurrentSettings(e),this.nodeItems=this.getItems(t,this.currentSettings.itemSelector);let{extraWidth:n,rowHeight:i}=this.currentSettings;this.justifiedParams={nodeItems:this.nodeItems,containerWidth:t.offsetWidth,extraWidth:n,startIndex:0,computedWidth:[],ratio:[],rowHeight:i,rowsHeights:[]},((t,e)=>{0===l.size&&window.addEventListener("resize",d),l.set(t,e)})(this.node,this.handleResize),this.arrange()}}},907(t,e,n){"use strict";function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function o(t){var e=i(t).Element;return t instanceof e||t instanceof Element}function r(t){var e=i(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function s(t){if("u"<typeof ShadowRoot)return!1;var e=i(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}n.d(e,{Dropdown:()=>th,MMenu:()=>t3,CreatePopper:()=>td});var a,l,c,d,m,h,u=Math.max,p=Math.min,f=Math.round;function v(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function b(){return!/^((?!chrome|android).)*safari/i.test(v())}function g(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var s=t.getBoundingClientRect(),a=1,l=1;e&&r(t)&&(a=t.offsetWidth>0&&f(s.width)/t.offsetWidth||1,l=t.offsetHeight>0&&f(s.height)/t.offsetHeight||1);
1var c=(o(t)?i(t):window).visualViewport,d=!b()&&n,m=(s.left+(d&&c?c.offsetLeft:0))/a,h=(s.top+(d&&c?c.offsetTop:0))/l,u=s.width/a,p=s.height/l;return{width:u,height:p,top:h,right:m+u,bottom:h+p,left:m,x:m,y:h}}function y(t){var e=i(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _(t){return t?(t.nodeName||"").toLowerCase():null}function z(t){return((o(t)?t.ownerDocument:t.document)||window.document).documentElement}function x(t){return g(z(t)).left+y(t).scrollLeft}function w(t){return i(t).getComputedStyle(t)}function E(t){var e=w(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function L(t){var e=g(t),n=t.offsetWidth,i=t.offsetHeight;return 1>=Math.abs(e.width-n)&&(n=e.width),1>=Math.abs(e.height-i)&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function S(t){return"html"===_(t)?t:t.assignedSlot||t.parentNode||(s(t)?t.host:null)||z(t)}function P(t,e){void 0===e&&(e=[]);var n,o=function t(e){return["html","body","#document"].indexOf(_(e))>=0?e.ownerDocument.body:r(e)&&E(e)?e:t(S(e))}(t),s=o===(null==(n=t.ownerDocument)?void 0:n.body),a=i(o),l=s?[a].concat(a.visualViewport||[],E(o)?o:[]):o,c=e.concat(l);return s?c:c.concat(P(S(l)))}function I(t){return r(t)&&"fixed"!==w(t).position?t.offsetParent:null}function k(t){for(var e=i(t),n=I(t);n&&["table","td","th"].indexOf(_(n))>=0&&"static"===w(n).position;)n=I(n);return n&&("html"===_(n)||"body"===_(n)&&"static"===w(n).position)?e:n||function(t){var e=/firefox/i.test(v());if(/Trident/i.test(v())&&r(t)&&"fixed"===w(t).position)return null;var n=S(t);for(s(n)&&(n=n.host);r(n)&&0>["html","body"].indexOf(_(n));){var i=w(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}var O="bottom",C="right",T="left",M="auto",A=["top",O,C,T],D="start",j="viewport",H="popper",W=A.reduce(function(t,e){return t.concat([e+"-"+D,e+"-end"])},[]),N=[].concat(A,[M]).reduce(function(t,e){return t.concat([e,e+"-"+D,e+"-end"])},[]),R=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],B={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}var F={passive:!0};function U(t){return t.split("-")[0]}function Y(t){return t.split("-")[1]}function G(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function V(t){var e,n=t.reference,i=t.element,o=t.placement,r=o?U(o):null,s=o?Y(o):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case"top":e={x:a,y:n.y-i.height};break;case O:e={x:a,y:n.y+n.height};break;case C:e={x:n.x+n.width,y:l};break;case T:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=r?G(r):null;if(null!=c){var d="y"===c?"height":"width";switch(s){case D:e[c]=e[c]-(n[d]/2-i[d]/2);break;case"end":e[c]=e[c]+(n[d]/2-i[d]/2)}}return e}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(t){var e,n,o,r,s,a,l,c=t.popper,d=t.popperRect,m=t.placement,h=t.variation,u=t.offsets,p=t.position,v=t.gpuAcceleration,b=t.adaptive,g=t.roundOffsets,y=t.isFixed,_=u.x,x=void 0===_?0:_,E=u.y,L=void 0===E?0:E,S="function"==typeof g?g({x:x,y:L}):{x:x,y:L};x=S.x,L=S.y;var P=u.hasOwnProperty("x"),I=u.hasOwnProperty("y"),M=T,A="top",D=window;if(b){var j=k(c),H="clientHeight",W="clientWidth";j===i(c)&&"static"!==w(j=z(c)).position&&"absolute"===p&&(H="scrollHeight",W="scrollWidth"),("top"===m||(m===T||m===C)&&"end"===h)&&(A=O,L-=(y&&j===D&&D.visualViewport?D.visualViewport.height:j[H])-d.height,L*=v?1:-1),(m===T||("top"===m||m===O)&&"end"===h)&&(M=C,x-=(y&&j===D&&D.visualViewport?D.visualViewport.width:j[W])-d.width,x*=v?1:-1)}var N=Object.assign({position:p},b&&Q),R=!0===g?(e={x:x,y:L},n=i(c),o=e.x,r=e.y,{x:f(o*(s=n.devicePixelRatio||1))/s||0,y:f(r*s)/s||0}):{x:x,y:L};return(x=R.x,L=R.y,v)?Object.assign({},N,((l={})[A]=I?"0":"",l[M]=P?"0":"",l.transform=1>=(D.devicePixelRatio||1)?"translate("+x+"px, "+L+"px)":"translate3d("+x+"px, "+L+"px, 0)",l)):Object.assign({},N,((a={})[A]=I?L+"px":"",a[M]=P?x+"px":"",a.transform="",a))}
1var J={left:"right",right:"left",bottom:"top",top:"bottom"};function X(t){return t.replace(/left|right|bottom|top/g,function(t){return J[t]})}var Z={start:"end",end:"start"};function K(t){return t.replace(/start|end/g,function(t){return Z[t]})}function tt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&s(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function te(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function tn(t,e,n){var r,s,a,l,c,d,m,h,p,f;return e===j?te(function(t,e){var n=i(t),o=z(t),r=n.visualViewport,s=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){s=r.width,a=r.height;var d=b();(d||!d&&"fixed"===e)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:s,height:a,x:l+x(t),y:c}}(t,n)):o(e)?((r=g(e,!1,"fixed"===n)).top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r):te((s=z(t),l=z(s),c=y(s),d=null==(a=s.ownerDocument)?void 0:a.body,m=u(l.scrollWidth,l.clientWidth,d?d.scrollWidth:0,d?d.clientWidth:0),h=u(l.scrollHeight,l.clientHeight,d?d.scrollHeight:0,d?d.clientHeight:0),p=-c.scrollLeft+x(s),f=-c.scrollTop,"rtl"===w(d||l).direction&&(p+=u(l.clientWidth,d?d.clientWidth:0)-m),{width:m,height:h,x:p,y:f}))}function ti(){return{top:0,right:0,bottom:0,left:0}}function to(t){return Object.assign({},ti(),t)}function tr(t,e){return e.reduce(function(e,n){return e[n]=t,e},{})}function ts(t,e){void 0===e&&(e={});var n,i,s,a,l,c,d,m,h=e,f=h.placement,v=void 0===f?t.placement:f,b=h.strategy,y=void 0===b?t.strategy:b,x=h.boundary,E=h.rootBoundary,L=h.elementContext,I=void 0===L?H:L,T=h.altBoundary,M=h.padding,D=void 0===M?0:M,W=to("number"!=typeof D?D:tr(D,A)),N=t.rects.popper,R=t.elements[void 0!==T&&T?I===H?"reference":H:I],B=(n=o(R)?R:R.contextElement||z(t.elements.popper),i=void 0===x?"clippingParents":x,s=void 0===E?j:E,d=(c=[].concat("clippingParents"===i?(a=P(S(n)),!o(l=["absolute","fixed"].indexOf(w(n).position)>=0&&r(n)?k(n):n)?[]:a.filter(function(t){return o(t)&&tt(t,l)&&"body"!==_(t)})):[].concat(i),[s]))[0],(m=c.reduce(function(t,e){var i=tn(n,e,y);return t.top=u(i.top,t.top),t.right=p(i.right,t.right),t.bottom=p(i.bottom,t.bottom),t.left=u(i.left,t.left),t},tn(n,d,y))).width=m.right-m.left,m.height=m.bottom-m.top,m.x=m.left,m.y=m.top,m),q=g(t.elements.reference),F=V({reference:q,element:N,strategy:"absolute",placement:v}),U=te(Object.assign({},N,F)),Y=I===H?U:q,G={top:B.top-Y.top+W.top,bottom:Y.bottom-B.bottom+W.bottom,left:B.left-Y.left+W.left,right:Y.right-B.right+W.right},Q=t.modifiersData.offset;if(I===H&&Q){var $=Q[v];Object.keys(G).forEach(function(t){var e=[C,O].indexOf(t)>=0?1:-1,n=["top",O].indexOf(t)>=0?"y":"x";G[t]+=$[n]*e})}return G}function ta(t,e,n){return u(t,p(e,n))}function tl(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 tc(t){return["top",C,O,T].some(function(e){return t[e]>=0})}var td=(c=void 0===(l=(a={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,r=o.scroll,s=void 0===r||r,a=o.resize,l=void 0===a||a,c=i(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach(function(t){t.addEventListener("scroll",n.update,F)}),l&&c.addEventListener("resize",n.update,F),function(){s&&d.forEach(function(t){t.removeEventListener("scroll",n.update,F)}),l&&c.removeEventListener("resize",n.update,F)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=V({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=n.adaptive,r=n.roundOffsets,s=void 0===r||r,a={placement:U(e.placement),variation:Y(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:void 0===i||i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,$(Object.assign({},a,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:void 0===o||o,roundOffsets:s})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,$(Object.assign({},a,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;
1Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];r(o)&&_(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.styles=n,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]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce(function(t,e){return t[e]="",t},{});r(i)&&_(i)&&(Object.assign(i.style,s),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=N.reduce(function(t,n){var i,o,s,a,l,c;return t[n]=(i=e.rects,s=[T,"top"].indexOf(o=U(n))>=0?-1:1,l=(a="function"==typeof r?r(Object.assign({},i,{placement:n})):r)[0],c=a[1],l=l||0,c=(c||0)*s,[T,C].indexOf(o)>=0?{x:c,y:l}:{x:l,y:c}),t},{}),a=s[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),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,l=n.fallbackPlacements,c=n.padding,d=n.boundary,m=n.rootBoundary,h=n.altBoundary,u=n.flipVariations,p=void 0===u||u,f=n.allowedAutoPlacements,v=e.options.placement,b=U(v)===v,g=l||(b||!p?[X(v)]:function(t){if(U(t)===M)return[];var e=X(t);return[K(t),e,K(e)]}(v)),y=[v].concat(g).reduce(function(t,n){var i,o,r,s,a,l,h,u,v,b,g,y;return t.concat(U(n)===M?(o=(i={placement:n,boundary:d,rootBoundary:m,padding:c,flipVariations:p,allowedAutoPlacements:f}).placement,r=i.boundary,s=i.rootBoundary,a=i.padding,l=i.flipVariations,u=void 0===(h=i.allowedAutoPlacements)?N:h,0===(g=(b=(v=Y(o))?l?W:W.filter(function(t){return Y(t)===v}):A).filter(function(t){return u.indexOf(t)>=0})).length&&(g=b),Object.keys(y=g.reduce(function(t,n){return t[n]=ts(e,{placement:n,boundary:r,rootBoundary:s,padding:a})[U(n)],t},{})).sort(function(t,e){return y[t]-y[e]})):n)},[]),_=e.rects.reference,z=e.rects.popper,x=new Map,w=!0,E=y[0],L=0;L<y.length;L++){var S=y[L],P=U(S),I=Y(S)===D,k=["top",O].indexOf(P)>=0,j=k?"width":"height",H=ts(e,{placement:S,boundary:d,rootBoundary:m,altBoundary:h,padding:c}),R=k?I?C:T:I?O:"top";_[j]>z[j]&&(R=X(R));var B=X(R),q=[];if(r&&q.push(H[P]<=0),a&&q.push(H[R]<=0,H[B]<=0),q.every(function(t){return t})){E=S,w=!1;break}x.set(S,q)}if(w)for(var F=p?3:1,G=function(t){var e=y.find(function(e){var n=x.get(e);if(n)return n.slice(0,t).every(function(t){return t})});if(e)return E=e,"break"},V=F;V>0&&"break"!==G(V);V--);e.placement!==E&&(e.modifiersData[i]._skip=!0,e.placement=E,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=n.altAxis,s=n.boundary,a=n.rootBoundary,l=n.altBoundary,c=n.padding,d=n.tether,m=void 0===d||d,h=n.tetherOffset,f=void 0===h?0:h,v=ts(e,{boundary:s,rootBoundary:a,padding:c,altBoundary:l}),b=U(e.placement),g=Y(e.placement),y=!g,_=G(b),z="x"===_?"y":"x",x=e.modifiersData.popperOffsets,w=e.rects.reference,E=e.rects.popper,S="function"==typeof f?f(Object.assign({},e.rects,{placement:e.placement})):f,P="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),I=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,M={x:0,y:0};if(x){if(void 0===o||o){var A,j="y"===_?"top":T,H="y"===_?O:C,W="y"===_?"height":"width",N=x[_],R=N+v[j],B=N-v[H],q=m?-E[W]/2:0,F=g===D?w[W]:E[W],V=g===D?-E[W]:-w[W],Q=e.elements.arrow,$=m&&Q?L(Q):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ti(),X=J[j],Z=J[H],K=ta(0,w[W],$[W]),tt=y?w[W]/2-q-K-X-P.mainAxis:F-K-X-P.mainAxis,te=y?-w[W]/2+q+K+Z+P.mainAxis:V+K+Z+P.mainAxis,tn=e.elements.arrow&&k(e.elements.arrow),to=tn?"y"===_?tn.clientTop||0:tn.clientLeft||0:0,tr=null!=(A=null==I?void 0:I[_])?A:0,tl=ta(m?p(R,N+tt-tr-to):R,N,m?u(B,N+te-tr):B);x[_]=tl,M[_]=tl-N}if(void 0!==r&&r){var tc,td,tm="x"===_?"top":T,th="x"===_?O:C,tu=x[z],tp="y"===z?"height":"width",tf=tu+v[tm],tv=tu-v[th],tb=-1!==["top",T].indexOf(b),tg=null!=(td=null==I?void 0:I[z])?td:0,ty=tb?tf:tu-w[tp]-E[tp]-tg+P.altAxis,t_=tb?tu+w[tp]+E[tp]-tg-P.altAxis:tv,tz=m&&tb?(tc=ta(ty,tu,t_))>t_?t_:tc:ta(m?ty:tf,tu,m?t_:tv);x[z]=tz,M[z]=tz-tu}e.modifiersData[i]=M}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,o=t.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=U(n.placement),l=G(a),c=[T,C].indexOf(a)>=0?"height":"width";if(r&&s){var d,m=(d=o.padding,to("number"!=typeof(d="function"==typeof d?d(Object.assign({},n.rects,{placement:n.placement})):d)?d:tr(d,A))),h=L(r),u="y"===l?"top":T,p="y"===l?O:C,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],v=s[l]-n.rects.reference[l],b=k(r),g=b?"y"===l?b.clientHeight||0:b.clientWidth||0:0,y=m[u],_=g-h[c]-m[p],z=g/2-h[c]/2+(f/2-v/2),x=ta(y,z,_);n.modifiersData[i]=((e={})[l]=x,e.centerOffset=x-z,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null==i||("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&tt(e.elements.popper,i)&&(e.elements.arrow=i)},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=ts(e,{elementContext:"reference"}),a=ts(e,{altBoundary:!0}),l=tl(s,i),c=tl(a,o,r),d=tc(l),m=tc(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:m},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":m})}}]}).defaultModifiers)?[]:l,m=void 0===(d=a.defaultOptions)?B:d,function(t,e,n){void 0===n&&(n=m);var s,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},B,m),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},d=[],h=!1,u={state:l,setOptions:function(n){var i,r,s,a,h,f,v="function"==typeof n?n(l.options):n;p(),l.options=Object.assign({},m,l.options,v),l.scrollParents={reference:o(t)?P(t):t.contextElement?P(t.contextElement):[],popper:P(e)};var b=(r=Object.keys(i=[].concat(c,l.options.modifiers).reduce(function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t},{})).map(function(t){return i[t]}),s=new Map,a=new Set,h=[],r.forEach(function(t){s.set(t.name,t)}),r.forEach(function(t){a.has(t.name)||function t(e){a.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEac
1h(function(e){if(!a.has(e)){var n=s.get(e);n&&t(n)}}),h.push(e)}(t)}),f=h,R.reduce(function(t,e){return t.concat(f.filter(function(t){return t.phase===e}))},[]));return l.orderedModifiers=b.filter(function(t){return t.enabled}),l.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,i=t.effect;if("function"==typeof i){var o=i({state:l,name:e,instance:u,options:void 0===n?{}:n});d.push(o||function(){})}}),u.update()},forceUpdate:function(){if(!h){var t=l.elements,e=t.reference,n=t.popper;if(q(e,n)){l.rects={reference:(o=k(n),s="fixed"===l.options.strategy,a=r(o),p=r(o)&&(d=f((c=o.getBoundingClientRect()).width)/o.offsetWidth||1,m=f(c.height)/o.offsetHeight||1,1!==d||1!==m),v=z(o),b=g(e,p,s),w={scrollLeft:0,scrollTop:0},S={x:0,y:0},(a||!a&&!s)&&(("body"!==_(o)||E(v))&&(w=function(t){return t!==i(t)&&r(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:y(t)}(o)),r(o)?(S=g(o,!0),S.x+=o.clientLeft,S.y+=o.clientTop):v&&(S.x=x(v))),{x:b.left+w.scrollLeft-S.x,y:b.top+w.scrollTop-S.y,width:b.width,height:b.height}),popper:L(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(t){return l.modifiersData[t.name]=Object.assign({},t.data)});for(var o,s,a,c,d,m,p,v,b,w,S,P=0;P<l.orderedModifiers.length;P++){if(!0===l.reset){l.reset=!1,P=-1;continue}var I=l.orderedModifiers[P],O=I.fn,C=I.options,T=void 0===C?{}:C,M=I.name;"function"==typeof O&&(l=O({state:l,options:T,name:M,instance:u})||l)}}}},update:(s=function(){return new Promise(function(t){u.forceUpdate(),t(l)})},function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(s())})})),a}),destroy:function(){p(),h=!0}};if(!q(t,e))return u;function p(){d.forEach(function(t){return t()}),d=[]}return u.setOptions(n).then(function(t){!h&&n.onFirstUpdate&&n.onFirstUpdate(t)}),u});function tm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class th{init(){let{disabled:t}=this.settings;if(t){let{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;let t=this.settings.offset;"rtl"===window.getComputedStyle(this.item).direction&&this.settings.placement&&(this.settings.placement=this.settings.placement.replace(/right|left/,t=>"right"===t?"left":"right"),this.content.style.setProperty("inset-inline-start","0px","important"));let e={placement:this.settings.placement,modifiers:[{name:"offset",options:{offset:[0,t]}}]};this.content.style.setProperty("--offset",`${t}px`),this.itemPopper=td(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)||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)||t.removeEventListener("mouseenter",this.handleEnter),null==(e=this.item)||e.removeEventListener("mouseleave",this.handleLeave),this.attached.events=!1}open(){var t,e,n;null==(t=this.item)||t.classList.add("brz-menu__item-dropdown--active");let i=this.itemPopper;i?i.update().then(()=>{var t,e;return null==(t=(e=this.settings).onOpen)?void 0:t.call(e)}):null==(e=(n=this.settings).onOpen)||e.call(n)}isOpen(){var t,e;return null!=(t=null==(e=this.item)?void 0:e.classList.contains("brz-menu__item-dropdown--active"))&&t}close(){var t,e,n;null==(t=this.item)||t.classList.remove("brz-menu__item-dropdown--active"),null==(e=(n=this.settings).onClose)||e.call(n)}update(t){t&&(this.settings={...this.settings,...t}),this.init()}constructor(t,e,n){tm(this,"settings",{offset:0,placement:"bottom-start",onOpen:void 0}),tm(this,"itemPopper",void 0),tm(this,"item",void 0),tm(this,"content",void 0),tm(this,"attached",{events:!1,popper:!1}),tm(this,"handleEnter",()=>{this.open()}
1),tm(this,"handleLeave",()=>{this.close()}),this.item=t,this.content=e,this.settings={...this.settings,...n},this.init()}}function tu(t){var e=t.split("."),n=document.createElement(e.shift());return e.forEach(function(t){n.classList.add(t)}),n}function tp(t,e){return Array.prototype.slice.call(t.querySelectorAll(e))}function tf(t,e){var n=Array.prototype.slice.call(t.children);return e?n.filter(function(t){return t.matches(e)}):n}function tv(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 tb(t){return t.filter(function(t){return!t.matches(".mm-hidden")})}function tg(t){var e=[];return tb(t).forEach(function(t){e.push.apply(e,tf(t,"a.mm-listitem__text"))}),e.filter(function(t){return!t.matches(".mm-btn_next")})}function ty(t,e,n){t.matches("."+e)&&(t.classList.remove(e),t.classList.add(n))}function t_(t,e){for(var n in"object"!=tz(t)&&(t={}),"object"!=tz(e)&&(e={}),e)e.hasOwnProperty(n)&&(void 0===t[n]?t[n]=e[n]:"object"==tz(t[n])&&t_(t[n],e[n]));return t}function tz(t){return({}).toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function tx(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?n:e}function tw(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 tE(){return"mm-"+tL++}var tL=0;function tS(t){return"mm-"==t.slice(0,3)?t.slice(3):t}var tP={};function tI(t,e){void 0===tP[e]&&(tP[e]={}),t_(tP[e],t)}var tk={};function tO(t,e,n){"number"==typeof t&&(t="(min-width: "+t+"px)"),tk[t]=tk[t]||[],tk[t].push({yes:e,no:n})}function tC(t,e){for(var n=e.matches?"yes":"no",i=0;i<tk[t].length;i++)tk[t][i][n]()}let tT={classNames:{inset:"Inset",nolistview:"NoListview",nopanel:"NoPanel",panel:"Panel",selected:"Selected",vertical:"Vertical"},language:null,openingInterval:25,panelNodetype:["ul","ol","div"],transitionDuration:400},tM={hooks:{},extensions:[],wrappers:[],navbar:{add:!0,sticky:!0,title:"Menu",titleLink:"parent"},onClick:{close:null,preventDefault:null,setSelected:!0},slidingSubmenus:!0};tI({Menu:"Menu"},"nl"),tI({Menu:"منو"},"fa"),tI({Menu:"Men\xfc"},"de"),tI({Menu:"Меню"},"ru");var tA=function(){function t(e,n,i){return this.opts=t_(n,t.options),this.conf=t_(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);tC(t,e),e.onchange=function(n){tC(t,e)}};for(var e in tk)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")){tv(t,".brz-mm-listitem_vertical").forEach(function(t){t.classList.add("brz-mm-listitem_opened"),tf(t,".brz-mm-panel").forEach(function(t){t.classList.remove("brz-mm-hidden")})});var i=tv(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=tf(this.node.pnls,".brz-mm-panel"),r=tf(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}
1).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])},l=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(){tw(t,function(){l()},n.conf.transitionDuration),a()},this.conf.openingInterval):(a(),l())}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=tf(this.node.pnls,".brz-mm-panel"),n=t||e[0];tf(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]),tp(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"==tz(this.opts.extensions)&&(this.opts.extensions={all:this.opts.extensions}
1),Object.keys(this.opts.extensions).forEach(function(e){var n=t.opts.extensions[e].map(function(t){return"brz-mm-menu_"+t});n.length&&tO(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||tE();var e=tu("div.brz-mm-panels");tf(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");let o=e.parentElement,r=null;if(i&&i.length>1&&"#"==i.slice(0,1))try{r=tp(t.node.menu,i)[0]}catch(t){}if(r||!n.inListview||e.matches(".brz-mm-btn")||i&&"#"!==i||(r=o.querySelector(".brz-mm-panel")),r&&r.matches(".brz-mm-panel"))return o.matches(".brz-mm-listitem_vertical")?t.togglePanel(r):t.openPanel(r),!0}}),tf(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,tf(t,"."+this.conf.classNames.panel)),tf(t,".brz-mm-listview").forEach(function(t){tf(t,".brz-mm-listitem").forEach(function(t){i.push.apply(i,tf(t,n))})}
1),i.forEach(function(t){e.initPanel(t)})}},t.prototype._initPanel=function(t){var e=this;if(this.trigger("initPanel:before",[t]),ty(t,this.conf.classNames.panel,"brz-mm-panel"),ty(t,this.conf.classNames.nopanel,"brz-mm-nopanel"),ty(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||tE(),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=tu("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){let e=!r.classList.contains("brz-mm-menu__item-empty");if(r.mmChild=t,t.mmParent=r,r&&r.matches(".brz-mm-listitem")&&!tf(r,".brz-mm-btn").length){var s=tf(r,".brz-mm-listitem__text")[0];if(s){var a=tu("a.brz-mm-btn.brz-mm-btn_next.brz-mm-listitem__btn");a.setAttribute("href","#"+t.id),e||(a.style.visibility="hidden"),s.matches("span")?(a.classList.add("brz-mm-listitem__text"),a.innerHTML=s.innerHTML,r.insertBefore(a,s.nextElementSibling),s.remove()):r.insertBefore(a,tf(r,".brz-mm-panel")[0])}}}return this._initNavbar(t),tf(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]),tf(t,".brz-mm-navbar").length)return;var e=null,n=null;if(t.getAttribute("data-mm-parent")?n=tp(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"))return;var i=tu("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=tu("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=tf(e,".brz-mm-listitem__text")[0]:n&&(r=tp(n,'a[href="#'+t.id+'"]')[0]);var s=tu("a.brz-mm-navbar__title"),a=tu("span");s.append(a);let l="position-right",c=this.opts.extensions.all.find(t=>t===l);switch(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"))}if(i.append(s),this.opts.navbar.closeIcon){let t,e,n,i,o,r,a=((r=document.createElement("span")).classList.add("brz-mm-close"),r.appendChild((t="http://www.w3.org/2000/svg",(e=document.createElementNS(t,"svg")).setAttribute("xmlns",t),e.setAttribute("viewBox","0 0 16 16"),e.setAttribute("class","brz-icon-svg"),(n=document.createElementNS(t,"g")).setAttribute("id","close-popup"),n.setAttribute("stroke","currentColor"),n.setAttribute("fill","currentColor"),n.setAttribute("stroke-width","1"),n.setAttribute("stroke-linecap","square"),(i=document.createElementNS(t,"line")).setAttribute("x1","1.5"),i.setAttribute("y1","1.5"),i.setAttribute("x2","14.5384048"),i.setAttribute("y2","14.5384048"),(o=document.createElementNS(t,"line")).setAttribute("x1","1.5"),o.setAttribute("y1","1.5"),o.setAttribute("x2","14.5384048"),o.setAttribute("y2","14.5384048"),o.setAttribute("transform","translate(8.000000, 8.000000) scale(-1, 1) translate(-8.000000, -8.000000)"),n.appendChild(i),n.appendChild(o),e.appendChild(n),e)),r);a.addEventListener("click",()=>{this.API.close()}),c===l?s.before(a):s.after(a)}t.prepend(i),this.trigger("initNavbar:after",[t])},t.prototype.initListview=function(t){var e=this;this.trigger("initListview:before",[t]),ty(t,this.conf.classNames.nolistview,"brz-mm-nolistview"),t.matches(".brz-mm-nolistview")||(t.classList.add("brz-mm-listview"),tf(t).forEach(function(t){t.classList.add("brz-mm-listitem"),ty(t,e.conf.classNames.selected,"brz-mm-listitem_selected"),tf(t,"a, span").forEach(function(t){t.matches(".brz-mm-btn, .brz-mm-close")||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"):tf(this.node.pnls,".brz-mm-panel")[0];
1this.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"==tz(s)&&(o=t_(s,o))}}i.inMenu&&i.inListview&&!i.toExternal&&(tx(n,t.opts.onClick.setSelected,o.setSelected)&&t.setSelected(n.parentElement),tx(n,t.opts.onClick.preventDefault,o.preventDefault)&&e.preventDefault(),tx(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){var e;return"string"==typeof(e=this.conf.language)&&void 0!==tP[e]&&tP[e][t]||t},t.version="8.5.0",t.options=tM,t.configs=tT,t.addons={},t.wrappers={},t.node={},t.vars={},t}();function tD(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""}function tj(t,e,n){var i=e.split(".");t[e="mmEvent"+tD(i[0])+tD(i[1])]=t[e]||[],t[e].push(n),t.addEventListener(i[0],n)}function tH(t,e){var n=e.split(".");(t[e="mmEvent"+tD(n[0])+tD(n[1])]||[]).forEach(function(e){t.removeEventListener(n[0],e)})}tA.options.offCanvas={blockUI:!0,moveBackground:!0},tA.configs.offCanvas={clone:!1,menu:{insertMethod:"prepend",insertSelector:"body"},page:{nodetype:"div",selector:null,noSelector:[]}},tA.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"))},tA.prototype._openSetup=function(){var t,e,n=this,i=this.opts.offCanvas;this.closeAllOthers(),tA.node.page.mmStyle=tA.node.page.getAttribute("style")||"",t={force:!0},(window["mmEvent"+tD((e="resize.page".split("."))[0])+tD(e[1])]||[]).forEach(function(e){e(t||{})});var o=["brz-mm-wrapper_opened"];i.blockUI&&o.push("brz-mm-wrapper_blocking"),"modal"==i.blockUI&&o.push("brz-mm-wrapper_modal"),i.moveBackground&&o.push("brz-mm-wrapper_background"),o.forEach(function(t){n.node.wrpr.classList.add(t)}),setTimeout(function(){n.vars.opened=!0},this.conf.openingInterval),this.node.menu.classList.add("brz-mm-menu_opened")},tA.prototype._openStart=function(){var t=this;tw(tA.node.page,function(){t.trigger("open:finish")},this.conf.transitionDuration),this.trigger("open:start"),this.node.wrpr.classList.add("brz-mm-wrapper_opening")},tA.prototype.close=function(){var t=this;this.trigger("close:before"),this.vars.opened&&(tw(tA.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)}),tA.node.page.setAttribute("style",tA.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"))},tA.prototype.closeAllOthers=function(){var t=this;tp(document.body,".brz-mm-menu_offcanvas").forEach(function(e){if(e!==t.node.menu){var n=e.mmApi;n&&n.close&&n.close()}})},tA.prototype.setPage=function(t){this.trigger("setPage:before",[t]);var e=this.conf.offCanvas;if(!t){var n="string"==typeof e.page.selector?tp(document.body,e.page.selector):tf(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=tu("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||tE(),tA.node.page=t,this.trigger("setPage:after",[t])};var tW=function(){var t=this;tH(document.body,"keydown.tabguard"),tj(document.body,"keydown.tabguard",function(e){9==e.keyCode&&t.node.wrpr.matches(".brz-mm-wrapper_opened")&&e.preventDefault()})},tN=function(){var t=this;this.trigger("initBlocker:before");var e=this.opts.offCanvas,n=this.conf.offCanvas;if(e.blockUI){if(!tA.node.blck){var i=tu("div.brz-mm-wrapper__blocker.brz-mm-slideout");i.innerHTML="<a></a>",document.querySelector(n.menu.insertSelector).append(i),tA.node.blck=i}var o=function(e){e.stopPropagation(),t.node.wrpr.matches(".brz-mm-wrapper_modal")||t.close()};tA.node.blck.addEventListener("mousedown",function(e){e.preventDefault(),e.stopPropagation(),t.node.wrpr.matches(".brz-mm-wrapper_modal")||t.close()}),tA.node.blck.addEventListener("touchstart",o,{passive:!0}),tA.node.blck.addEventListener("touchmove",o,{passive:!0}),this.trigger("initBlocker:after")}};tI({"Close menu":"Menu sluiten","Close submenu":"Submenu sluiten","Open submenu":"Submenu openen","Toggle submenu":"Submenu wisselen"},"nl"),tI({"Close menu":"بستن منو","Close submenu":"بستن زیرمنو","Open submenu":"بازکردن زیرمنو","Toggle submenu":"سوییچ زیرمنو"},"fa"),tI({"Close menu":"Men\xfc schlie\xdfen","Close submenu":"Untermen\xfc schlie\xdfen","Open submenu":"Untermen\xfc \xf6ffnen","Toggle submenu":"Untermen\xfc wechseln"},"de"),tI({"Close menu":"Закрыть меню","Close submenu":"Закрыть подменю","Open submenu":"Открыть подменю","Toggle submenu":"Переключить подменю"},"ru"),tA.options.screenReader={aria:!0,text:!0},tA.configs.screenReader={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}},h=function(t,e,n){t[e]=n,n?t.setAttribute(e,n.toString()):t.removeAttribute(e)},tA.sr_aria=function(t,e,n){h(t,"aria-"+e,n)},tA.sr_role=function(t,e){h(t,"role",e)},tA.sr_text=function(t){return'<span class="brz-mm-sronly">'+t+"</span>"};var tR="ontouchstart"in window||!!navigator.msMaxTouchPoints;tA.options.scrollBugFix={fix:!0},tA.options.autoHeight={height:"default"},tA.options.backButton={close:!1,open:!1},tA.options.columns={add:!1,visible:{min:1,max:3}},tA.options.counters={add:!1,addTo:"panels",count:!1}
1,tA.configs.classNames.counters={counter:"Counter"},tA.options.dividers={add:!1,addTo:"panels"},tA.configs.classNames.divider="Divider";var tB="ontouchstart"in window||!!navigator.msMaxTouchPoints,tq={top:0,right:0,bottom:0,left:0},tF={start:15,swipe:15},tU={x:["Right","Left"],y:["Down","Up"]},tY=function(t,e){return"string"==typeof t&&"%"==t.slice(-1)&&(t=(t=parseInt(t.slice(0,-1),10))/100*e),t},tG=function(){function t(t,e,n){this.surface=t,this.area=t_(e,tq),this.treshold=t_(n,tF),this.surface.mmHasDragEvents||(this.surface.addEventListener(tB?"touchstart":"mousedown",this.start.bind(this)),this.surface.addEventListener(tB?"touchend":"mouseup",this.stop.bind(this)),this.surface.addEventListener(tB?"touchleave":"mouseleave",this.stop.bind(this)),this.surface.addEventListener(tB?"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=tY(this.area.top,n);if("number"!=typeof i||!(this.currentPosition.y<i)){var o=tY(this.area.right,e);if("number"!=typeof o||(o=e-o,!(this.currentPosition.x>o))){var r=tY(this.area.bottom,n);if("number"!=typeof r||(r=n-r,!(this.currentPosition.y>r))){var s=tY(this.area.left,e);"number"==typeof s&&this.currentPosition.x<s||(this.startPosition={x:this.currentPosition.x,y:this.currentPosition.y},this.state=1)}}}},t.prototype.stop=function(t){if(2==this.state){var e=this._dragDirection(),n=this._eventDetail(e);this._dispatchEvents("drag*End",n),Math.abs(this.movement[this.axis])>this.treshold.swipe&&(n.direction=this._swipeDirection(),this._dispatchEvents("swipe*",n))}this.state=0},t.prototype.move=function(t){switch(this.state){case 1:case 2: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);1==this.state&&Math.abs(this.distance[this.axis])>this.treshold.start&&(this._dispatchEvents("drag*Start",i),this.state=2),2==this.state&&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 tU[this.axis][this.distance[this.axis]>0?0:1]},t.prototype._swipeDirection=function(){return tU[this.axis][this.movement[this.axis]>0?0:1]},t}(),tV=null,tQ=null,t$=0;function tJ(t){var e=this,n={},i=!1,o=function(){var t=Object.keys(e.opts.extensions);t.length?(tO(t.join(", "),function(){},function(){n=tX(n,[],e.node.menu)}),t.forEach(function(t){tO(t,function(){n=tX(n,e.opts.extensions[t],e.node.menu)},function(){})})):n=tX(n,[],e.node.menu)};tQ&&(tH(tQ,"dragStart"),tH(tQ,"dragMove"),tH(tQ,"dragEnd")),tV=new tG(tQ=t),o(),o=function(){},tQ&&(tj(tQ,"dragStart",function(t){t.detail.direction==n.direction&&(i=!0,e.node.wrpr.classList.add("mm-wrapper_dragging"),e._openSetup(),e.trigger("open:start"),t$=e.node.menu["x"==n.axis?"clientWidth":"clientHeight"])}),tj(tQ,"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,-t$),0);break;default:e=Math.max(Math.min(e,t$),0)}if("front"==n.zposition)switch(n.position){case"right":case"bottom":e+=t$;break;default:e-=t$}
1n.slideOutNodes.forEach(function(t){t.style.transform="translate"+n.axis.toUpperCase()+"("+e+"px)"})}}),tj(tQ,"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*t$;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()}}))}var tX=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")}),tV.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"}return"front"===t.zposition?t.slideOutNodes=[n]:t.slideOutNodes=tp(document.body,".mm-slideout"),t};tA.options.drag={open:!1,node:null},tA.options.dropdown={drop:!1,fitViewport:!0,event:"click",position:{},tip:!0},tA.configs.dropdown={offset:{button:{x:-5,y:5},viewport:{x:20,y:20}},height:{max:880},width:{max:440}}
1,tA.configs.fixedElements={insertMethod:"append",insertSelector:"body"},tA.configs.classNames.fixedElements={fixed:"Fixed"},tA.options.iconbar={use:!1,top:[],bottom:[],position:"left",type:"default"},tA.options.iconPanels={add:!1,blockPanel:!0,hideDivider:!1,hideNavbar:!0,visible:3},tA.options.keyboardNavigation={enable:!1,enhance:!1};var tZ=function(t){var e=this;tH(document.body,"keydown.tabguard"),tH(document.body,"focusin.tabguard"),tj(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")&&tA.node.blck&&(i=tA.node.blck),n.parentElement.matches(".brz-mm-wrapper__blocker")&&(i=tp(document.body,".brz-mm-menu_offcanvas.brz-mm-menu_opened")[0]),i||(i=n.parentElement),i&&tf(i,".brz-mm-tabstart")[0].focus()}}}),tH(document.body,"keydown.navigate"),tj(document.body,"keydown.navigate",function(e){var n=e.target,i=n.closest(".brz-mm-menu");if(i){if(i.mmApi,!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"))27===e.keyCode&&(n.value="");else{var o=i.mmApi;switch(e.keyCode){case 8:var r=tp(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()}}}})};function tK(){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(!("boolean"==typeof(i=e)&&i&&(i={}),"object"!=typeof i&&(i={}),void 0===i.content&&(i.content=["prev","title"]),i.content instanceof Array||(i.content=[i.content]),void 0===i.use&&(i.use=!0),"boolean"==typeof i.use&&i.use&&(i.use=!0),e=i).use)return!1;var i,o=tu("div.brz-mm-navbar"),r=e.position;"bottom"!==r&&(r="top"),n[r]||(n[r]=tu("div.brz-mm-navbars_"+r)),n[r].append(o);for(var s=0,a=e.content.length;s<a;s++){var l=e.content[s];if("string"==typeof l){var c=tK.navbarContents[l];if("function"==typeof c)c.call(t,o);else{var d=tu("span");d.innerHTML=l;
1var m=tf(d);1==m.length&&(d=m[0]),o.append(d)}}else o.append(l)}if("string"==typeof e.type){var c=tK.navbarTypes[e.type];"function"==typeof c&&c.call(t,o)}"boolean"!=typeof e.use&&tO(e.use,function(){o.classList.remove("brz-mm-hidden"),tA.sr_aria(o,"hidden",!1)},function(){o.classList.add("brz-mm-hidden"),tA.sr_aria(o,"hidden",!0)})}),this.bind("initMenu:after",function(){for(var e in n)t.node.menu["bottom"==e?"append":"prepend"](n[e])}))}}tA.options.lazySubmenus={load:!1},tA.options.navbars=[],tA.configs.navbars={breadcrumbs:{separator:"/",removeFirst:!1}},tA.configs.classNames.navbars={panelPrev:"Prev",panelTitle:"Title"},tK.navbarContents={breadcrumbs:function(t){var e=this,n=tu("div.mm-navbar__breadcrumbs");t.append(n),this.bind("initNavbar:after",function(t){if(!t.querySelector(".mm-navbar__breadcrumbs")){tf(t,".mm-navbar")[0].classList.add("mm-hidden");for(var n=[],i=tu("span.mm-navbar__breadcrumbs"),o=t,r=!0;o;){if(!(o=o.closest(".mm-panel")).parentElement.matches(".mm-listitem_vertical")){var s=tp(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>"),tf(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){tp(t,".mm-breadcrumbs a").forEach(function(t){tA.sr_aria(t,"owns",t.getAttribute("href").slice(1))})})},close:function(t){var e=this,n=tu("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=tA.sr_text(e.i18n(e.conf.screenReader.text.closeMenu)),tA.sr_aria(n,"owns",n.getAttribute("href").slice(1))})},prev:function(t){var e,n,i,o=this,r=tu("a.mm-btn.mm-btn_prev.mm-navbar__btn");t.append(r),this.bind("initNavbar:after",function(t){tf(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){tA.sr_aria(t.querySelector(".mm-navbar"),"hidden",!0)}),this.bind("openPanel:start:sr-aria",function(t){tA.sr_aria(r,"hidden",r.matches(".mm-hidden")),tA.sr_aria(r,"owns",(r.getAttribute("href")||"").slice(1))})},searchfield:function(t){"object"!=tz(this.opts.searchfield)&&(this.opts.searchfield={});var e=tu("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=this,r=tu("a.mm-navbar__title"),s=tu("span");r.append(s),t.append(r),this.bind("openPanel:start",function(t){t.parentElement.matches(".mm-listitem_vertical")||((n=t.querySelector("."+o.conf.classNames.navbars.panelTitle))||(n=t.querySelector(".mm-navbar__title span")),(e=n&&n.closest("a")?n.closest("a").getAttribute("href"):"")?r.setAttribute("href",e):r.removeAttribute("href"),s.innerHTML=n?n.innerHTML:"")}),this.bind("openPanel:start:sr-aria",function(t){if(o.opts.screenReader.text&&(i||tf(o.node.menu,".mm-navbars_top, .mm-navbars_bottom").forEach(function(t){var e=t.querySelector(".mm-btn_prev");e&&(i=e)}),i)){var e=!0;"parent"==o.opts.navbar.titleLink&&(e=!i.matches(".mm-hidden")),tA.sr_aria(r,"hidden",e)}})}},tK.navbarTypes={tabs:function(t){var e=this;t.classList.add("mm-navbar_tabs"),t.parentElement.classList.add("mm-navbars_has-tabs");var n=tf(t,"a");function i(t){n.forEach(function(t){t.classList.remove("mm-navbar__tab_selected")});var e=n.filter(function(e){return e.matches('[href="#'+t.id+'"]')})[0];if(e)e.classList.add("mm-navbar__tab_selected");else{var o=t.mmParent;o&&i.call(this,o.closest(".mm-panel"))}}t.addEventListener("click",function(t){var n=t.target;if(n.matches("a")){if(n.matches(".mm-navbar__tab_selected"))return void t.stopImmediatePropagation();
1try{e.openPanel(e.node.menu.querySelector(n.getAttribute("href")),!1),t.stopImmediatePropagation()}catch(t){}}}),this.bind("openPanel:start",i)}},tA.options.pageScroll={scroll:!1,update:!1},tA.configs.pageScroll={scrollOffset:0,updateOffset:50};tI({Search:"Zoeken","No results found.":"Geen resultaten gevonden.",cancel:"annuleren"},"nl"),tI({Search:"جستجو","No results found.":"نتیجه‌ای یافت نشد.",cancel:"انصراف"},"fa"),tI({Search:"Suche","No results found.":"Keine Ergebnisse gefunden.",cancel:"beenden"},"de"),tI({Search:"Найти","No results found.":"Ничего не найдено.",cancel:"отменить"},"ru"),tA.options.searchfield={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},tA.configs.searchfield={clear:!1,form:!1,input:!1,submit:!1};var t0=function(){var t=this.opts.searchfield;this.conf.searchfield;var e=tf(this.node.pnls,".brz-mm-panel_search")[0];if(e)return e;e=tu("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=tu("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=tu("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},t1=function(t){var e=this.opts.searchfield,n=this.conf.searchfield;if(t.parentElement.matches(".brz-mm-listitem_vertical"))return null;var i=tp(t,".brz-mm-searchfield")[0];if(i)return i;function o(t,e){if(e)for(var n in e)t.setAttribute(n,e[n])}var i=tu((n.form?"form":"div")+".brz-mm-searchfield"),r=tu("div.brz-mm-searchfield__input"),s=tu("input");if(s.type="text",s.autocomplete="off",s.placeholder=this.i18n(e.placeholder),r.append(s),i.append(r),t.prepend(i),o(s,n.input),n.clear){var a=tu("a.brz-mm-btn.brz-mm-btn_close.brz-mm-searchfield__btn");a.setAttribute("href","#"),r.append(a)}if(o(i,n.form),n.form&&n.submit&&!n.clear){var a=tu("a.brz-mm-btn.brz-mm-btn_next.brz-mm-searchfield__btn");a.setAttribute("href","#"),r.append(a)}if(e.cancel){var a=tu("a.brz-mm-searchfield__cancel");a.setAttribute("href","#"),a.textContent=this.i18n("cancel"),i.append(a)}return i},t2=function(t){var e=this,n=this.opts.searchfield;this.conf.searchfield;var i={};t.closest(".brz-mm-panel_search")?(i.panels=tp(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=tp(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,tp(t,".brz-mm-listitem")),(n=i.dividers).push.apply(n,tp(t,".brz-mm-divider"))});var o=tf(this.node.pnls,".brz-mm-panel_search")[0],r=tp(t,"input")[0],s=tp(t,".brz-mm-searchfield__cancel")[0];r.mmSearchfield=i,n.panel.add&&n.panel.splash&&(tH(r,"focus.splash"),tj(r,"focus.splash",function(t){e.openPanel(o)})),n.cancel&&(tH(r,"focus.cancel"),tj(r,"focus.cancel",function(t){s.classList.add("brz-mm-searchfield__cancel-active")}),tH(s,"click.splash"),tj(s,"click.splash",function(t){if(t.preventDefault(),s.classList.remove("brz-mm-searchfield__cancel-active"),o.matches(".brz-mm-panel_opened")){var n=tf(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()}),tH(r,"input.search"),tj(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)},t4=function(t){if(t){var e=this.opts.searchfield;if(this.conf.searchfield,t.closest(".brz-mm-panel")||(t=tf(this.node.pnls,".brz-mm-panel")[0]),!tf(t,".brz-mm-panel__noresultsmsg").length){var n=tu("div.brz-mm-panel__noresultsmsg.brz-mm-hidden");n.innerHTML=this.i18n(e.noResults),t.append(n)}}};tA.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=tp(t.closest(".brz-mm-searchfield"),".brz-mm-btn"),a=tf(this.node.pnls,".brz-mm-panel_search")[0],l=r.panels,c=r.noresults,d=r.listitems,m=r.dividers;
1if(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&&(tf(a,".brz-mm-listview")[0].innerHTML=""),l.forEach(function(t){t.scrollTop=0}),e.length){m.forEach(function(t){t.classList.add("brz-mm-hidden")}),d.forEach(function(t){var n=tf(t,".brz-mm-listitem__text")[0],i=!1;n&&Array.prototype.slice.call(n.childNodes).filter(function(t){return 3==t.nodeType}).map(function(t){return t.textContent}).join(" ").toLowerCase().indexOf(e)>-1&&(n.matches(".brz-mm-listitem__btn")?o.showSubPanels&&(i=!0):n.matches("a")?i=!0:o.showTextItems&&(i=!0)),i||t.classList.add("brz-mm-hidden")});var h=d.filter(function(t){return!t.matches(".brz-mm-hidden")}).length;if(o.panel.add){var u=[];l.forEach(function(t){var e=tb(tp(t,".brz-mm-listitem"));if((e=e.filter(function(t){return!t.matches(".brz-mm-hidden")})).length){if(o.panel.dividers){var n=tu("li.brz-mm-divider"),i=tp(t,".brz-mm-navbar__title")[0];i&&(n.innerHTML=i.innerHTML,u.push(n))}e.forEach(function(t){u.push(t.cloneNode(!0))})}}),u.forEach(function(t){t.querySelectorAll(".brz-mm-toggle, .brz-mm-check").forEach(function(t){t.remove()})}),(n=tf(a,".brz-mm-listview")[0]).append.apply(n,u),this.openPanel(a)}else o.showSubPanels&&l.forEach(function(t){tb(tp(t,".brz-mm-listitem")).forEach(function(t){var e=t.mmChild;e&&tp(e,".brz-mm-listitem").forEach(function(t){t.classList.remove("brz-mm-hidden")})})}),l.slice().reverse().forEach(function(e,n){var o=e.mmParent;o&&(tb(tp(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")))}),l.forEach(function(t){tb(tp(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")}),c.forEach(function(t){tp(t,".brz-mm-panel__noresultsmsg").forEach(function(t){return t.classList[h?"add":"remove"]("brz-mm-hidden")})}),o.panel.add&&(o.panel.splash&&tp(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")}),c.forEach(function(t){tp(t,".brz-mm-panel__noresultsmsg").forEach(function(t){return t.classList.add("brz-mm-hidden")})}),o.panel.add){if(o.panel.splash)tp(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=tf(this.node.pnls,".brz-mm-panel_opened-parent");this.openPanel(p.slice(-1)[0])}}this.trigger("updateListview")},tA.options.sectionIndexer={add:!1,addTo:"panels"},tA.options.setSelected={current:!0,hover:!1,parent:!1},tA.options.sidebar={collapsed:{use:!1,blockMenu:!0,hideDivider:!1,hideNavbar:!0},expanded:{use:!1,initial:"open"}},tA.configs.classNames.toggles={toggle:"Toggle",check:"Check"},tA.addons={offcanvas:function(){var t=this;if(this.opts.offCanvas){var e,n=("object"!=typeof(e=this.opts.offCanvas)&&(e={}),e);this.opts.offCanvas=t_(n,tA.options.offCanvas);var i=this.conf.offCanvas;this._api.push("open","close","setPage"),this.vars.opened=!1,this.bind("initMenu:before",function(){i.clone&&(t.node.menu=t.node.menu.cloneNode(!0),t.node.menu.id&&(t.node.menu.id="mm-"+t.node.menu.id),tp(t.node.menu,"[id]").forEach(function(t){t.id="mm-"+t.id})),t.node.wrpr=document.body,document.querySelector(i.menu.insertSelector)[i.menu.insertMethod](t.node.menu)}),this.bind("initMenu:after",function(){tN.call(t),t.setPage(tA.node.page),tW.call(t),t.node.menu.classList.add("brz-mm-menu_offcanvas");var e=window.location.hash;if(e){var n=tS(t.node.menu.id);n&&n==e.slice(1)&&setTimeout(function(){t.open()},1e3)}}
1),this.bind("setPage:after",function(t){tA.node.blck&&tf(tA.node.blck,"a").forEach(function(e){e.setAttribute("href","#"+t.id)})}),this.bind("open:start:sr-aria",function(){tA.sr_aria(t.node.menu,"hidden",!1)}),this.bind("close:finish:sr-aria",function(){tA.sr_aria(t.node.menu,"hidden",!0)}),this.bind("initMenu:after:sr-aria",function(){tA.sr_aria(t.node.menu,"hidden",!0)}),this.bind("initBlocker:after:sr-text",function(){tf(tA.node.blck,"a").forEach(function(e){e.innerHTML=tA.sr_text(t.i18n(t.conf.screenReader.text.closeMenu))})}),this.clck.push(function(e,n){var i=tS(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(),tw(o,function(){t.open()},t.conf.transitionDuration),!0}return t.open(),!0}if((i=tA.node.page.id)&&e.matches('[href="#'+i+'"]'))return t.close(),!0})}},screenReader:function(){var t,e=this,n=("boolean"==typeof(t=this.opts.screenReader)&&(t={aria:t,text:t}),"object"!=typeof t&&(t={}),t);this.opts.screenReader=t_(n,tA.options.screenReader);var i=this.conf.screenReader;n.aria&&(this.bind("initAddons:after",function(){e.bind("initMenu:after",function(){this.trigger("initMenu:after:sr-aria",[].slice.call(arguments))}),e.bind("initNavbar:after",function(){this.trigger("initNavbar:after:sr-aria",[].slice.call(arguments))}),e.bind("openPanel:start",function(){this.trigger("openPanel:start:sr-aria",[].slice.call(arguments))}),e.bind("close:start",function(){this.trigger("close:start:sr-aria",[].slice.call(arguments))}),e.bind("close:finish",function(){this.trigger("close:finish:sr-aria",[].slice.call(arguments))}),e.bind("open:start",function(){this.trigger("open:start:sr-aria",[].slice.call(arguments))}),e.bind("initOpened:after",function(){this.trigger("initOpened:after:sr-aria",[].slice.call(arguments))})}),this.bind("updateListview",function(){e.node.pnls.querySelectorAll(".brz-mm-listitem").forEach(function(t){tA.sr_aria(t,"hidden",t.matches(".brz-mm-hidden"))})}),this.bind("openPanel:start",function(t){var n=tp(e.node.pnls,".brz-mm-panel").filter(function(e){return e!==t}).filter(function(t){return!t.parentElement.matches(".brz-mm-panel")}),i=[t];tp(t,".brz-mm-listitem_vertical .brz-mm-listitem_opened").forEach(function(t){i.push.apply(i,tf(t,".brz-mm-panel"))}),n.forEach(function(t){tA.sr_aria(t,"hidden",!0)}
1),i.forEach(function(t){tA.sr_aria(t,"hidden",!1)})}),this.bind("closePanel",function(t){tA.sr_aria(t,"hidden",!0)}),this.bind("initPanel:after",function(t){tp(t,".brz-mm-btn").forEach(function(t){tA.sr_aria(t,"haspopup",!0);var e=t.getAttribute("href");e&&tA.sr_aria(t,"owns",e.replace("#",""))})}),this.bind("initNavbar:after",function(t){var e=tf(t,".brz-mm-navbar")[0],n=e.matches(".brz-mm-hidden");tA.sr_aria(e,"hidden",n)}),n.text&&"parent"==this.opts.navbar.titleLink&&this.bind("initNavbar:after",function(t){var e=tf(t,".brz-mm-navbar")[0],n=!!e.querySelector(".brz-mm-btn_prev");tA.sr_aria(tp(e,".brz-mm-navbar__title")[0],"hidden",n)})),n.text&&(this.bind("initAddons:after",function(){e.bind("setPage:after",function(){this.trigger("setPage:after:sr-text",[].slice.call(arguments))}),e.bind("initBlocker:after",function(){this.trigger("initBlocker:after:sr-text",[].slice.call(arguments))})}),this.bind("initNavbar:after",function(t){var n=tf(t,".brz-mm-navbar")[0];if(n){var o=tf(n,".brz-mm-btn_prev")[0];o&&(o.innerHTML=tA.sr_text(e.i18n(i.text.closeSubmenu)))}}),this.bind("initListview:after",function(t){var n=t.closest(".brz-mm-panel").mmParent;if(n){var o=tf(n,".brz-mm-btn_next")[0];if(o){var r=e.i18n(i.text[o.parentElement.matches(".brz-mm-listitem_vertical")?"toggleSubmenu":"openSubmenu"]);o.innerHTML+=tA.sr_text(r)}}}))},scrollBugFix:function(){var t=this;if(tR&&this.opts.offCanvas&&this.opts.offCanvas.blockUI){var e=this,n=("boolean"==typeof(i=this.opts.scrollBugFix)&&(i={fix:i}),"object"!=typeof i&&(i={}),i);if(this.opts.scrollBugFix=t_(n,tA.options.scrollBugFix),n.fix){var i,o,r,s=(o=this.node.menu,r="",o.addEventListener("touchmove",function(t){r="",t.movementY>0?r="down":t.movementY<0&&(r="up")}),{get:function(){return r}});this.node.menu.addEventListener("scroll",a,{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?a(t):(0==n.scrollTop&&"down"==s.get()||n.scrollHeight==n.scrollTop+n.offsetHeight&&"up"==s.get())&&a(t):a(t)},{passive:!1}),this.bind("open:start",function(){var e=tf(t.node.pnls,".brz-mm-panel_opened")[0];e&&(e.scrollTop=0)}),window.addEventListener("orientationchange",function(e){var n=tf(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 a(t){t.preventDefault(),t.stopPropagation()}},autoHeight:function(){var t=this,e=("boolean"==typeof(n=this.opts.autoHeight)&&n&&(n={height:"auto"}),"string"==typeof n&&(n={height:n}),"object"!=typeof n&&(n={}),n);if(this.opts.autoHeight=t_(e,tA.options.autoHeight),"auto"==e.height||"highest"==e.height){var n,i,o,r,s=(i=function(){var e=tf(t.node.pnls,".brz-mm-panel_opened")[0];return e&&(e=r(e)),e||(e=tf(t.node.pnls,".brz-mm-panel")[0]),e.scrollHeight},o=function(){var e=0;return tf(t.node.pnls,".brz-mm-panel").forEach(function(t){t=r(t),e=Math.max(e,t.scrollHeight)}),e},r=function(t){return t.parentElement.matches(".brz-mm-listitem_vertical")&&(t=tv(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 n=0,r=t.node.menu.offsetHeight-t.node.pnls.offsetHeight;t.node.menu.classList.add("brz-mm-menu_autoheight-measuring"),"auto"==e.height?n=i():"highest"==e.height&&(n=o()),t.node.menu.style.height=n+r+"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",s),"highest"==e.height&&this.bind("initPanels:after",s),"auto"==e.height&&(this.bind("updateListview",s),this.bind("openPanel:start",s))}},backButton:function(){var t=this;if(this.opts.offCanvas){var e,n=("boolean"==typeof(e=this.opts.backButton)&&(e={close:e}),"object"!=typeof e&&(e={}),e);this.opts.backButton=t_(n,tA.options.backButton);var i="#"+this.node.menu.id;if(n.close){var o=[],r=function(){o=[i],tf(t.node.pnls,".brz-mm-panel_opened, .brz-mm-panel_opened-parent").forEach(function(t){o.push("#"+t.id)})};this.bind("open:finish",function(){history.pushState(null,document.title,i)}),this.bind("open:finish",r),this.bind("openPanel:finish",r),this.bind("close:finish",function(){o=[],history.back(),history.pushState(null,document.title,location.pathname+location.search)}),window.addEventListener("popstate",function(e){if(t.vars.opened&&o.length){var n=(o=o.slice(0,-1))[o.length-1];
1n==i?t.close():(t.openPanel(t.node.menu.querySelector(n)),history.pushState(null,document.title,i))}})}n.open&&window.addEventListener("popstate",function(e){t.vars.opened||location.hash!=i||t.open()})}},columns:function(){var t,e=this,n=("boolean"==typeof(t=this.opts.columns)&&(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);if(this.opts.columns=t_(n,tA.options.columns),n.add){n.visible.min=Math.max(1,Math.min(6,n.visible.min)),n.visible.max=Math.max(n.visible.min,Math.min(6,n.visible.max));for(var i=[],o=[],r=["brz-mm-panel_opened","brz-mm-panel_opened-parent","brz-mm-panel_highest"],s=0;s<=n.visible.max;s++)i.push("brz-mm-menu_columns-"+s),o.push("brz-mm-panel_columns-"+s);r.push.apply(r,o),this.bind("openPanel:before",function(t){if(t&&(n=t.mmParent),n&&(n=n.closest(".brz-mm-panel"))){var n,i=n.className;if(i.length&&(i=i.split("brz-mm-panel_columns-")[1]))for(var o=parseInt(i.split(" ")[0],10)+1;o>0;)if(t=tf(e.node.pnls,".brz-mm-panel_columns-"+o)[0])o++,t.classList.add("brz-mm-hidden"),r.forEach(function(e){t.classList.remove(e)});else{o=-1;break}}}),this.bind("openPanel:start",function(t){var r=tf(e.node.pnls,".brz-mm-panel_opened-parent").length;!t.matches(".brz-mm-panel_opened-parent")&&r++,r=Math.min(n.visible.max,Math.max(n.visible.min,r)),i.forEach(function(t){e.node.menu.classList.remove(t)}),e.node.menu.classList.add("brz-mm-menu_columns-"+r);var s=[];tf(e.node.pnls,".brz-mm-panel").forEach(function(t){o.forEach(function(e){t.classList.remove(e)}),t.matches(".brz-mm-panel_opened-parent")&&s.push(t)}),s.push(t),s.slice(-n.visible.max).forEach(function(t,e){t.classList.add("brz-mm-panel_columns-"+e)})})}},counters:function(){var t,e=this,n=("boolean"==typeof(t=this.opts.counters)&&(t={add:t,addTo:"panels",count:t}),"object"!=typeof t&&(t={}),"panels"==t.addTo&&(t.addTo=".mm-listview"),t);if(this.opts.counters=t_(n,tA.options.counters),this.bind("initListview:after",function(t){var n=e.conf.classNames.counters.counter;tp(t,"."+n).forEach(function(t){ty(t,n,"brz-mm-counter")})}),n.add&&this.bind("initListview:after",function(t){if(t.matches(n.addTo)){var e=t.closest(".brz-mm-panel").mmParent;if(e&&!tp(e,".brz-mm-counter").length){var i=tf(e,".brz-mm-btn")[0];i&&i.prepend(tu("span.brz-mm-counter"))}}}),n.count){var i=function(t){(t?[t.closest(".brz-mm-panel")]:tf(e.node.pnls,".brz-mm-panel")).forEac
1h(function(t){var e=t.mmParent;if(e){var n=tp(e,".brz-mm-counter")[0];if(n){var i=[];tf(t,".brz-mm-listview").forEach(function(t){i.push.apply(i,tf(t))}),n.innerHTML=tb(i).length.toString()}}})};this.bind("initListview:after",i),this.bind("updateListview",i)}},dividers:function(){var t,e=this,n=("boolean"==typeof(t=this.opts.dividers)&&(t={add:t}),"object"!=typeof t&&(t={}),"panels"==t.addTo&&(t.addTo=".mm-listview"),t);this.opts.dividers=t_(n,tA.options.dividers),this.bind("initListview:after",function(t){tf(t).forEach(function(t){ty(t,e.conf.classNames.divider,"brz-mm-divider"),t.matches(".brz-mm-divider")&&t.classList.remove("brz-mm-listitem")})}),n.add&&this.bind("initListview:after",function(t){if(t.matches(n.addTo)){tp(t,".brz-mm-divider").forEach(function(t){t.remove()});var e="";tb(tf(t)).forEach(function(n){var i=tf(n,".brz-mm-listitem__text")[0].textContent.trim().toLowerCase()[0];if(i.length&&i!=e){e=i;var o=tu("li.brz-mm-divider");o.textContent=i,t.insertBefore(o,n)}})}})},drag:function(){var t=this;if(this.opts.offCanvas){var e,n=("boolean"==typeof(e=this.opts.drag)&&(e={open:e}),"object"!=typeof e&&(e={}),e);this.opts.drag=t_(n,tA.options.drag),n.open&&this.bind("setPage:after",function(e){tJ.call(t,n.node||e)})}},dropdown:function(){var t,e=this;if(this.opts.offCanvas){var n,i=("boolean"==typeof(n=this.opts.dropdown)&&n&&(n={drop:n}),"object"!=typeof n&&(n={}),"string"==typeof n.position&&(n.position={of:n.position}),n);this.opts.dropdown=t_(i,tA.options.dropdown);var o=this.conf.dropdown;if(i.drop){this.bind("initMenu:after",function(){if(e.node.menu.classList.add("brz-mm-menu_dropdown"),"string"!=typeof i.position.of){var n=tS(e.node.menu.id);n&&(i.position.of='[href="#'+n+'"]')}if("string"==typeof i.position.of){t=tp(document.body,i.position.of)[0];var o=i.event.split(" ");1==o.length&&(o[1]=o[0]),"hover"==o[0]&&t.addEventListener("mouseenter",function(){e.open()},{passive:!0}),"hover"==o[1]&&e.node.menu.addEventListener("mouseleave",function(){e.close()},{passive:!0})}}),this.bind("open:start",function(){e.node.menu.mmStyle=e.node.menu.getAttribute("style"),e.node.wrpr.classList.add("brz-mm-wrapper_dropdown")}),this.bind("close:finish",function(){e.node.menu.setAttribute("style",e.node.menu.mmStyle),e.node.wrpr.classList.remove("brz-mm-wrapper_dropdown")});var r=function(e,n){var r,s,a=n[0],l=n[1],c="x"==e?"left":"top",d="x"==e?"right":"bottom",m=null,h=t.getBoundingClientRect()[c]+document.body["left"===c?"scrollLeft":"scrollTop"],u=h+t["x"==e?"offsetWidth":"offsetHeight"],p=window["x"==e?"innerWidth":"innerHeight"],f=o.offset.button[e]+o.offset.viewport[e];if(i.position[e])switch(i.position[e]){case"left":case"bottom":m="after";break;case"right":case"top":m="before"}return null===m&&(m=h+(u-h)/2<p/2?"after":"before"),"after"==m?(s=p-((r="x"==e?h:u)+f),a[c]=r+o.offset.button[e]+"px",a[d]="auto",i.tip&&l.push("brz-mm-menu_tip-"+("x"==e?"left":"top"))):(s=(r="x"==e?u:h)-f,a[d]="calc( 100% - "+(r-o.offset.button[e])+"px )",a[c]="auto",i.tip&&l.push("brz-mm-menu_tip-"+("x"==e?"right":"bottom"))),i.fitViewport&&(a["x"==e?"maxWidth":"maxHeight"]=Math.min(o["x"==e?"width":"height"].max,s)+"px"),[a,l]};this.bind("open:start",s),window.addEventListener("resize",function(t){s.call(e)},{passive:!0}),this.opts.offCanvas.blockUI||window.addEventListener("scroll",function(t){s.call(e)},{passive:!0})}}function s(){var t=this;if(this.vars.opened){this.node.menu.setAttribute("style",this.node.menu.mmStyle);var e=[{},[]];for(var n in e=r.call(this,"y",e),(e=r.call(this,"x",e))[0])this.node.menu.style[n]=e[0][n];i.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)}),e[1].forEach(function(e){t.node.menu.classList.add(e)}))}}},fixedElements:function(){var t,e,n=this;if(this.opts.offCanvas){var i=this.conf.fixedElements;this.bind("setPage:after",function(o){t=n.conf.classNames.fixedElements.fixed,e=tp(document,i.insertSelector)[0],tp(o,"."+t).forEach(function(n){ty(n,t,"brz-mm-slideout"),e[i.insertMethod](n)})})}},iconbar:function(){var t,e,n=this,i=("array"==tz(t=this.opts.iconbar)&&(t={use:!0,top:t}),"object"!=tz(t)&&(t={}),void 0===t.use&&(t.use=!0),"boolean"==typeof t.use&&t.use&&(t.use=!0),t);
1if(this.opts.iconbar=t_(i,tA.options.iconbar),i.use&&(["top","bottom"].forEach(function(t,n){var o=i[t];"array"!=tz(o)&&(o=[o]);for(var r=tu("div.brz-mm-iconbar__"+t),s=0,a=o.length;s<a;s++)"string"==typeof o[s]?r.innerHTML+=o[s]:r.append(o[s]);r.children.length&&(e||(e=tu("div.brz-mm-iconbar")),e.append(r))}),e)){this.bind("initMenu:after",function(){n.node.menu.prepend(e)});var o="brz-mm-menu_iconbar-"+i.position,r=function(){n.node.menu.classList.add(o),tA.sr_aria(e,"hidden",!1)};if("boolean"==typeof i.use?this.bind("initMenu:after",r):tO(i.use,r,function(){n.node.menu.classList.remove(o),tA.sr_aria(e,"hidden",!0)}),"tabs"==i.type){e.classList.add("brz-mm-iconbar_tabs"),e.addEventListener("click",function(t){var e=t.target;if(e.matches("a")){if(e.matches(".brz-mm-iconbar__tab_selected"))return void t.stopImmediatePropagation();try{var i=n.node.menu.querySelector(e.getAttribute("href"))[0];i&&i.matches(".brz-mm-panel")&&(t.preventDefault(),t.stopImmediatePropagation(),n.openPanel(i,!1))}catch(t){}}});var s=function(t){tp(e,"a").forEach(function(t){t.classList.remove("brz-mm-iconbar__tab_selected")});var n=tp(e,'[href="#'+t.id+'"]')[0];if(n)n.classList.add("brz-mm-iconbar__tab_selected");else{var i=t.mmParent;i&&s(i.closest(".brz-mm-panel"))}};this.bind("openPanel:start",s)}}},iconPanels:function(){var t,e=this,n=("boolean"==typeof(t=this.opts.iconPanels)&&(t={add:t}),("number"==typeof t||"string"==typeof t)&&(t={add:!0,visible:t}),"object"!=typeof t&&(t={}),t);this.opts.iconPanels=t_(n,tA.options.iconPanels);var i=!1;if("first"==n.visible&&(i=!0,n.visible=1),n.visible=Math.min(3,Math.max(1,n.visible)),n.visible++,n.add){this.bind("initMenu:after",function(){var t=["brz-mm-menu_iconpanel"];n.hideNavbar&&t.push("brz-mm-menu_hidenavbar"),n.hideDivider&&t.push("brz-mm-menu_hidedivider"),t.forEach(function(t){e.node.menu.classList.add(t)})});var o=[];if(!i)for(var r=0;r<=n.visible;r++)o.push("brz-mm-panel_iconpanel-"+r);this.bind("openPanel:start",function(t){var r=tf(e.node.pnls,".brz-mm-panel");if(!(t=t||r[0]).parentElement.matches(".brz-mm-listitem_vertical"))if(i)r.forEach(function(t,e){t.classList[0==e?"add":"remove"]("brz-mm-panel_iconpanel-first")});else{r.forEach(function(t){o.forEach(function(e){t.classList.remove(e)})});var s=!1;(r=r.filter(function(t){return t.matches(".brz-mm-panel_opened-parent")})).forEach(function(e){t===e&&(s=!0)}),s||r.push(t),r.forEach(function(t){t.classList.remove("brz-mm-hidden")}),(r=r.slice(-n.visible)).forEach(function(t,e){t.classList.add("brz-mm-panel_iconpanel-"+e)})}}),this.bind("initPanel:after",function(t){if(n.blockPanel&&!t.parentElement.matches(".brz-mm-listitem_vertical")&&!tf(t,".brz-mm-panel__blocker")[0]){var e=tu("a.brz-mm-panel__blocker");e.setAttribute("href","#"+t.closest(".brz-mm-panel").id),t.prepend(e)}})}},keyboardNavigation:function(){var t=this;if(!tR){var e,n=(("boolean"==typeof(e=this.opts.keyboardNavigation)||"string"==typeof e)&&(e={enable:e}),"object"!=typeof e&&(e={}),e);if(this.opts.keyboardNavigation=t_(n,tA.options.keyboardNavigation),n.enable){var i=tu("button.brz-mm-tabstart.brz-mm-sronly"),o=tu("button.brz-mm-tabend.brz-mm-sronly"),r=tu("button.brz-mm-tabend.brz-mm-sronly");this.bind("initMenu:after",function(){n.enhance&&t.node.menu.classList.add("brz-mm-menu_keyboardfocus"),tZ.call(t,n.enhance)}),this.bind("initOpened:before",function(){t.node.menu.prepend(i),t.node.menu.append(o),tf(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(){tA.node.blck.append(r),tf(tA.node.blck,"a")[0].classList.add("brz-mm-tabstart")});var s="input, select, textarea, button, label, a[href]",a=function(e){e=e||tf(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"==n.enable&&((i=tp(e,".brz-mm-listview a[href]:not(.brz-mm-hidden)")[0])||(i=tp(e,s+":not(.brz-mm-hidden)")[0]),!i)){var r=[];tf(t.node.menu,".brz-mm-navbars_top, .brz-mm-navbars_bottom").forEach(function(t){r.push.apply(r,tp(t,s+":not(.brz-mm-hidden)"))}),i=r[0]}i||(i=tf(t.node.menu,".brz-mm-tabstart")[0]),i&&i.focus()}};this.bind("open:finish",a),this.bind("openPanel:finish",a),this.bind("initOpened:after:sr-aria",function(){[t.node.menu,tA.node.blck].forEac
1h(function(t){tf(t,".brz-mm-tabstart, .brz-mm-tabend").forEach(function(t){tA.sr_aria(t,"hidden",!0),tA.sr_role(t,"presentation")})})})}}},lazySubmenus:function(){var t,e=this,n=("boolean"==typeof(t=this.opts.lazySubmenus)&&(t={load:t}),"object"!=typeof t&&(t={}),t);this.opts.lazySubmenus=t_(n,tA.options.lazySubmenus),n.load&&(this.bind("initMenu:after",function(){var t=[];tp(e.node.pnls,"li").forEach(function(n){t.push.apply(t,tf(n,e.conf.panelNodetype.join(", ")))}),t.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(){tf(e.node.pnls,e.conf.panelNodetype.join(", ")).forEach(function(t){var e=".brz-mm-panel_lazysubmenu",n=tp(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 t=[];tp(e.node.pnls,"."+e.conf.classNames.selected).forEach(function(e){t.push.apply(t,tv(e,".brz-mm-panel_lazysubmenu"))}),t.length&&(t.forEach(function(t){["brz-mm-panel_lazysubmenu","brz-mm-nolistview","brz-mm-nopanel"].forEach(function(e){t.classList.remove(e)})}),e.initPanel(t[t.length-1]))}),this.bind("openPanel:before",function(t){var n=".brz-mm-panel_lazysubmenu",i=tp(t,n);t.matches(n)&&i.unshift(t),(i=i.filter(function(t){return!t.matches(".brz-mm-panel_lazysubmenu .brz-mm-panel_lazysubmenu")})).forEach(function(t){e.initPanel(t)})}))},navbars:tK,pageScroll:function(){var t,e,n=this,i=("boolean"==typeof(t=this.opts.pageScroll)&&(t={scroll:t}),"object"!=typeof t&&(t={}),t);this.opts.pageScroll=t_(i,tA.options.pageScroll);var o=this.conf.pageScroll;function r(){e&&window.scrollTo({top:e.getBoundingClientRect().top+document.scrollingElement.scrollTop-o.scrollOffset,behavior:"smooth"}),e=null}function s(t){try{if("#"!=t&&"#"==t.slice(0,1))return tA.node.page.querySelector(t);return null}catch(t){return null}}if(i.scroll&&this.bind("close:finish",function(){r()}),this.opts.offCanvas&&i.scroll&&this.clck.push(function(t,i){if(e=null,i.inMenu&&(e=s(t.getAttribute("href"))))if(!(n.node.menu.matches(".brz-mm-menu_sidebar-expanded")&&n.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded")))return{close:!0};else r()}),i.update){var a=[];this.bind("initListview:after",function(t){tg(tf(t,".brz-mm-listitem")).forEach(function(t){var e=s(t.getAttribute("href"));e&&a.unshift(e)})});var l=-1;window.addEventListener("scroll",function(t){for(var e=window.scrollY,i=0;i<a.length;i++)if(a[i].offsetTop<e+o.updateOffset){if(l!==i){l=i;var r=tg(tp(tf(n.node.pnls,".brz-mm-panel_opened")[0],".brz-mm-listitem"));(r=r.filter(function(t){return t.matches('[href="#'+a[i].id+'"]')})).length&&n.setSelected(r[0].parentElement)}break}})}},searchfield:function(){var t,e=this,n=("boolean"==typeof(t=this.opts.searchfield)&&(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=t_(n,tA.options.searchfield),this.conf.searchfield,n.add&&(this.bind("close:start",function(){tp(e.node.menu,".brz-mm-searchfield").forEach(function(t){t.blur()})}),this.bind("initPanel:after",function(t){var i=null;n.panel.add&&(i=t0.call(e));var o=null;switch(n.addTo){case"panels":o=[t];break;case"panel":o=[i];break;default:"string"==typeof n.addTo?o=tp(e.node.menu,n.addTo):"array"==tz(n.addTo)&&(o=n.addTo)}o.forEach(function(t){t=t1.call(e,t),n.search&&t&&t2.call(e,t)}),n.noResults&&t4.call(e,n.panel.add?i:t)}),this.clck.push(function(t,n){if(n.inMenu&&t.matches(".brz-mm-searchfield__btn")){if(t.matches(".brz-mm-btn_close")){var i=t.closest(".brz-mm-searchfield"),o=tp(i,"input")[0];return o.value="",e.search(o),!0}if(t.matches(".brz-mm-btn_next")){var i=t.closest("form");return i&&i.submit(),!0}}}))},sectionIndexer:function(){var t,e=this,n=("boolean"==typeof(t=this.opts.sectionIndexer)&&(t={add:t}),"object"!=typeof t&&(t={}),t);this.opts.sectionIndexer=t_(n,tA.options.sectionIndexer),n.add&&this.bind("initPanels:after",function(){if(!e.node.indx){var t="";"abcdefghijklmnopqrstuvwxyz".split("").forEach(function(e){t+='<a href="#">'+e+"</a>"});var n=tu("div.brz-mm-sectionindexer");n.innerHTML=t,e.node.pnls.prepend(n),e.node.indx=n,e.node.indx.addEventListener("click",function(t){t.target.matches("a")&&t.preventDefault()});var i=function(t){if(t.target.matches("a")){var n=t.target.textContent,i=tf(e.node.pnls,".brz-mm-panel_opened")[0],o=-1,r=i.scrollTop;i.scrollTop=0,tp(i,".brz-mm-divider").filter(function(t){return!t.matches(".brz-mm-hidden")}
1).forEach(function(t){o<0&&n==t.textContent.trim().slice(0,1).toLowerCase()&&(o=t.offsetTop)}),i.scrollTop=o>-1?o:r}};tR?(e.node.indx.addEventListener("touchstart",i,{passive:!0}),e.node.indx.addEventListener("touchmove",i,{passive:!0})):e.node.indx.addEventListener("mouseover",i,{passive:!0})}e.bind("openPanel:start",function(t){var n=tp(t,".brz-mm-divider").filter(function(t){return!t.matches(".brz-mm-hidden")}).length;e.node.indx.classList[n?"add":"remove"]("brz-mm-sectionindexer_active")})})},setSelected:function(){var t,e=this,n=("boolean"==typeof(t=this.opts.setSelected)&&(t={hover:t,parent:t}),"object"!=typeof t&&(t={}),t);if(this.opts.setSelected=t_(n,tA.options.setSelected),"detect"==n.current){var i=function(t){t=t.split("?")[0].split("#")[0];var n=e.node.menu.querySelector('a[href="'+t+'"], a[href="'+t+'/"]');if(n)e.setSelected(n.parentElement);else{var o=t.split("/").slice(0,-1);o.length&&i(o.join("/"))}};this.bind("initMenu:after",function(){i.call(e,window.location.href)})}else n.current||this.bind("initListview:after",function(t){tf(t,".brz-mm-listitem_selected").forEach(function(t){t.classList.remove("brz-mm-listitem_selected")})});n.hover&&this.bind("initMenu:after",function(){e.node.menu.classList.add("brz-mm-menu_selected-hover")}),n.parent&&(this.bind("openPanel:finish",function(t){tp(e.node.pnls,".brz-mm-listitem_selected-parent").forEach(function(t){t.classList.remove("brz-mm-listitem_selected-parent")});for(var n=t.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(){e.node.menu.classList.add("brz-mm-menu_selected-parent")}))},sidebar:function(){var t=this;if(this.opts.offCanvas){var e,n=(("string"==typeof(e=this.opts.sidebar)||"boolean"==typeof e&&e||"number"==typeof e)&&(e={expanded:e}),"object"!=typeof e&&(e={}),"boolean"==typeof e.collapsed&&e.collapsed&&(e.collapsed={use:!0}),("string"==typeof e.collapsed||"number"==typeof e.collapsed)&&(e.collapsed={use:e.collapsed}),"object"!=typeof e.collapsed&&(e.collapsed={}),"boolean"==typeof e.expanded&&e.expanded&&(e.expanded={use:!0}),("string"==typeof e.expanded||"number"==typeof e.expanded)&&(e.expanded={use:e.expanded}),"object"!=typeof e.expanded&&(e.expanded={}),e);if(this.opts.sidebar=t_(n,tA.options.sidebar),n.collapsed.use){this.bind("initMenu:after",function(){if(t.node.menu.classList.add("brz-mm-menu_sidebar-collapsed"),n.collapsed.blockMenu&&t.opts.offCanvas&&!tf(t.node.menu,".brz-mm-menu__blocker")[0]){var e=tu("a.brz-mm-menu__blocker");e.setAttribute("href","#"+t.node.menu.id),t.node.menu.prepend(e)}n.collapsed.hideNavbar&&t.node.menu.classList.add("brz-mm-menu_hidenavbar"),n.collapsed.hideDivider&&t.node.menu.classList.add("brz-mm-menu_hidedivider")});var i=function(){t.node.wrpr.classList.add("brz-mm-wrapper_sidebar-collapsed")},o=function(){t.node.wrpr.classList.remove("brz-mm-wrapper_sidebar-collapsed")};"boolean"==typeof n.collapsed.use?this.bind("initMenu:after",i):tO(n.collapsed.use,i,o)}if(n.expanded.use){this.bind("initMenu:after",function(){t.node.menu.classList.add("brz-mm-menu_sidebar-expanded")});var i=function(){t.node.wrpr.classList.add("brz-mm-wrapper_sidebar-expanded"),t.node.wrpr.matches(".brz-mm-wrapper_sidebar-closed")||t.open()},o=function(){t.node.wrpr.classList.remove("brz-mm-wrapper_sidebar-expanded"),t.close()};"boolean"==typeof n.expanded.use?this.bind("initMenu:after",i):tO(n.expanded.use,i,o),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"==n.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"==n.expanded.initial&&window.localStorage.setItem("mmenuExpandedState","open"))});var r=n.expanded.initial;if("remember"==n.expanded.initial){var s=window.localStorage.getItem("mmenuExpandedState");switch(s){case"open":case"closed":r=s}}"closed"==r&&this.bind("initMenu:after",function(){t.node.wrpr.classList.add("brz-mm-wrapper_sidebar-closed")}),this.clck.push(function(e,i){if(i.inMenu&&i.inListview&&t.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded"))return{close:"closed"==n.expanded.initial}})}}},toggles:function(){var t=this;this.bind("initPanel:after",function(e){tp(e,"input").forEach(function(e){ty(e,t.conf.classNames.toggles.toggle,"brz-mm-toggle"),ty(e,t.conf.classNames.toggles.check,"brz-mm-check")})})}};let t3=tA}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={exports:{}};
1return t[i].call(r.exports,r,r.exports,n),r.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{CreatePopper:()=>e.CreatePopper,Dropdown:()=>e.Dropdown,Gallery:()=>t.Gallery,ImagesLoaded:()=>t.ImagesLoaded,Isotope:()=>t.Isotope,MMenu:()=>e.MMenu});var t=n(348),e=n(907)})(),window.BrizyProLibs=i})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.