????

Your IP : 3.133.113.24


Current Path : /home/innovagencyco/public_html/rhom/assets/
Upload File :
Current File : /home/innovagencyco/public_html/rhom/assets/ef2213e54581024d647d2684ea7daf15.js

window.BrizyProLibs=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}({11:function(e,t,n){"use strict";function i(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function r(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function s(e){return e instanceof r(e).Element||e instanceof Element}function a(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function c(e){return e?(e.nodeName||"").toLowerCase():null}function l(e){return((s(e)?e.ownerDocument:e.document)||window.document).documentElement}function m(e){return i(l(e)).left+o(e).scrollLeft}function d(e){return r(e).getComputedStyle(e)}function p(e){var t=d(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function f(e,t,n){void 0===n&&(n=!1);var s,d,f=l(t),u=i(e),h=a(t),b={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(h||!h&&!n)&&(("body"!==c(t)||p(f))&&(b=(s=t)!==r(s)&&a(s)?{scrollLeft:(d=s).scrollLeft,scrollTop:d.scrollTop}:o(s)),a(t)?((v=i(t)).x+=t.clientLeft,v.y+=t.clientTop):f&&(v.x=m(f))),{x:u.left+b.scrollLeft-v.x,y:u.top+b.scrollTop-v.y,width:u.width,height:u.height}}function u(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function h(e){return"html"===c(e)?e:e.assignedSlot||e.parentNode||e.host||l(e)}function b(e){return["html","body","#document"].indexOf(c(e))>=0?e.ownerDocument.body:a(e)&&p(e)?e:b(h(e))}function v(e,t){void 0===t&&(t=[]);var n=b(e),i="body"===c(n),o=r(n),s=i?[o].concat(o.visualViewport||[],p(n)?n:[]):n,a=t.concat(s);return i?a:a.concat(v(h(s)))}function g(e){return["table","td","th"].indexOf(c(e))>=0}function y(e){if(!a(e)||"fixed"===d(e).position)return null;var t=e.offsetParent;if(t){var n=l(t);if("body"===c(t)&&"static"===d(t).position&&"static"!==d(n).position)return n}return t}function z(e){for(var t=r(e),n=y(e);n&&g(n)&&"static"===d(n).position;)n=y(n);return n&&"body"===c(n)&&"static"===d(n).position?t:n||function(e){for(var t=h(e);a(t)&&["html","body"].indexOf(c(t))<0;){var n=d(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}n.r(t),n.d(t,"MMenu",(function(){return Rt})),n.d(t,"CreatePopper",(function(){return oe})),n.d(t,"Dropdown",(function(){return le}));var _="top",w="bottom",x="right",E="left",L="auto",P=[_,w,x,E],k="start",O="end",M="viewport",S="popper",j=P.reduce((function(e,t){return e.concat([t+"-"+k,t+"-"+O])}),[]),A=[].concat(P,[L]).reduce((function(e,t){return e.concat([t,t+"-"+k,t+"-"+O])}),[]),T=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function C(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}var N={placement:"bottom",modifiers:[],strategy:"absolute"};function D(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function H(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?N:r;return function(e,t,n){void 0===n&&(n=o);var r,a,c={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},N),o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],m=!1,d={state:c,setOptions:function(n){p(),c.options=Object.assign(Object.assign(Object.assign({},o),c.options),n),c.scrollParents={reference:s(e)?v(e):e.contextElement?v(e.contextElement):[],popper:v(t)};var r=function(e){var t=C(e);return T.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(i,c.options.modifiers)));return c.orderedModifiers=r.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var o=r({state:c,name:t,instance:d,options:i}),s=function(){};l.push(o||s)}})),d.update()},forceUpdate:function(){if(!m){var e=c.elements,t=e.reference,n=e.popper;if(D(t,n)){c.rects={reference:f(t,z(n),"fixed"===c.options.strategy),popper:u(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<c.orderedModifiers.length;i++)if(!0!==c.reset){var r=c.orderedModifiers[i],o=r.fn,s=r.options,a=void 0===s?{}:s,l=r.name;"function"==typeof o&&(c=o({state:c,options:a,name:l,instance:d})||c)}else c.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(e){d.forceUpdate(),e(c)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(r())}))}))),a}),destroy:function(){p(),m=!0}};if(!D(e,t))return d;function p(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(n).then((function(e){!m&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var B={passive:!0};function I(e){return e.split("-")[0]}function q(e){return e.split("-")[1]}function R(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function W(e){var t,n=e.reference,i=e.element,r=e.placement,o=r?I(r):null,s=r?q(r):null,a=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2;switch(o){case _:t={x:a,y:n.y-i.height};break;case w:t={x:a,y:n.y+n.height};break;case x:t={x:n.x+n.width,y:c};break;case E:t={x:n.x-i.width,y:c};break;default:t={x:n.x,y:n.y}}var l=o?R(o):null;if(null!=l){var m="y"===l?"height":"width";switch(s){case k:t[l]=Math.floor(t[l])-Math.floor(n[m]/2-i[m]/2);break;case O:t[l]=Math.floor(t[l])+Math.ceil(n[m]/2-i[m]/2)}}return t}var U={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Y(e){var t,n=e.popper,i=e.popperRect,o=e.placement,s=e.offsets,a=e.position,c=e.gpuAcceleration,m=e.adaptive,d=function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:Math.round(t*i)/i||0,y:Math.round(n*i)/i||0}}(s),p=d.x,f=d.y,u=s.hasOwnProperty("x"),h=s.hasOwnProperty("y"),b=E,v=_,g=window;if(m){var y=z(n);y===r(n)&&(y=l(n)),o===_&&(v=w,f-=y.clientHeight-i.height,f*=c?1:-1),o===E&&(b=x,p-=y.clientWidth-i.width,p*=c?1:-1)}var L,P=Object.assign({position:a},m&&U);return c?Object.assign(Object.assign({},P),{},((L={})[v]=h?"0":"",L[b]=u?"0":"",L.transform=(g.devicePixelRatio||1)<2?"translate("+p+"px, "+f+"px)":"translate3d("+p+"px, "+f+"px, 0)",L)):Object.assign(Object.assign({},P),{},((t={})[v]=h?f+"px":"",t[b]=u?p+"px":"",t.transform="",t))}var F={left:"right",right:"left",bottom:"top",top:"bottom"};function V(e){return e.replace(/left|right|bottom|top/g,(function(e){return F[e]}))}var X={start:"end",end:"start"};function Z(e){return e.replace(/start|end/g,(function(e){return X[e]}))}function G(e,t){var n,i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&((n=i)instanceof r(n).ShadowRoot||n instanceof ShadowRoot)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function K(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $(e,t){return t===M?K(function(e){var t=r(e),n=l(e),i=t.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,c=0;return i&&(o=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,c=i.offsetTop)),{width:o,height:s,x:a+m(e),y:c}}(e)):a(t)?function(e){var t=i(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):K(function(e){var t=l(e),n=o(e),i=e.ownerDocument.body,r=Math.max(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Math.max(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+m(e),c=-n.scrollTop;return"rtl"===d(i||t).direction&&(a+=Math.max(t.clientWidth,i?i.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(l(e)))}function J(e,t,n){var i="clippingParents"===t?function(e){var t=v(h(e)),n=["absolute","fixed"].indexOf(d(e).position)>=0&&a(e)?z(e):e;return s(n)?t.filter((function(e){return s(e)&&G(e,n)&&"body"!==c(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),o=r[0],l=r.reduce((function(t,n){var i=$(e,n);return t.top=Math.max(i.top,t.top),t.right=Math.min(i.right,t.right),t.bottom=Math.min(i.bottom,t.bottom),t.left=Math.max(i.left,t.left),t}),$(e,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Q(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function ee(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function te(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,c=void 0===a?"clippingParents":a,m=n.rootBoundary,d=void 0===m?M:m,p=n.elementContext,f=void 0===p?S:p,u=n.altBoundary,h=void 0!==u&&u,b=n.padding,v=void 0===b?0:b,g=Q("number"!=typeof v?v:ee(v,P)),y=f===S?"reference":S,z=e.elements.reference,E=e.rects.popper,L=e.elements[h?y:f],k=J(s(L)?L:L.contextElement||l(e.elements.popper),c,d),O=i(z),j=W({reference:O,element:E,strategy:"absolute",placement:o}),A=K(Object.assign(Object.assign({},E),j)),T=f===S?A:O,C={top:k.top-T.top+g.top,bottom:T.bottom-k.bottom+g.bottom,left:k.left-T.left+g.left,right:T.right-k.right+g.right},N=e.modifiersData.offset;if(f===S&&N){var D=N[o];Object.keys(C).forEach((function(e){var t=[x,w].indexOf(e)>=0?1:-1,n=[_,w].indexOf(e)>=0?"y":"x";C[e]+=D[n]*t}))}return C}function ne(e,t,n){return Math.max(e,Math.min(t,n))}function ie(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function re(e){return[_,x,w,E].some((function(t){return e[t]>=0}))}var oe=H({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,s=void 0===o||o,a=i.resize,c=void 0===a||a,l=r(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&m.forEach((function(e){e.addEventListener("scroll",n.update,B)})),c&&l.addEventListener("resize",n.update,B),function(){s&&m.forEach((function(e){e.removeEventListener("scroll",n.update,B)})),c&&l.removeEventListener("resize",n.update,B)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=W({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a={placement:I(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),Y(Object.assign(Object.assign({},a),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),Y(Object.assign(Object.assign({},a),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];a(r)&&c(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});a(i)&&c(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=void 0===r?[0,0]:r,s=A.reduce((function(e,n){return e[n]=function(e,t,n){var i=I(e),r=[E,_].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[E,x].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,o),e}),{}),a=s[t.placement],c=a.x,l=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[i]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,c=n.fallbackPlacements,l=n.padding,m=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,u=void 0===f||f,h=n.allowedAutoPlacements,b=t.options.placement,v=I(b),g=c||(v===b||!u?[V(b)]:function(e){if(I(e)===L)return[];var t=V(e);return[Z(e),t,Z(t)]}(b)),y=[b].concat(g).reduce((function(e,n){return e.concat(I(n)===L?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?A:c,m=q(i),d=m?a?j:j.filter((function(e){return q(e)===m})):P,p=d.filter((function(e){return l.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=te(e,{placement:n,boundary:r,rootBoundary:o,padding:s})[I(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:m,rootBoundary:d,padding:l,flipVariations:u,allowedAutoPlacements:h}):n)}),[]),z=t.rects.reference,O=t.rects.popper,M=new Map,S=!0,T=y[0],C=0;C<y.length;C++){var N=y[C],D=I(N),H=q(N)===k,B=[_,w].indexOf(D)>=0,R=B?"width":"height",W=te(t,{placement:N,boundary:m,rootBoundary:d,altBoundary:p,padding:l}),U=B?H?x:E:H?w:_;z[R]>O[R]&&(U=V(U));var Y=V(U),F=[];if(o&&F.push(W[D]<=0),a&&F.push(W[U]<=0,W[Y]<=0),F.every((function(e){return e}))){T=N,S=!1;break}M.set(N,F)}if(S)for(var X=function(e){var t=y.find((function(t){var n=M.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return T=t,"break"},G=u?3:1;G>0;G--){if("break"===X(G))break}t.placement!==T&&(t.modifiersData[i]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,m=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,b=void 0===h?0:h,v=te(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:m}),g=I(t.placement),y=q(t.placement),L=!y,P=R(g),O="x"===P?"y":"x",M=t.modifiersData.popperOffsets,S=t.rects.reference,j=t.rects.popper,A="function"==typeof b?b(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):b,T={x:0,y:0};if(M){if(o){var C="y"===P?_:E,N="y"===P?w:x,D="y"===P?"height":"width",H=M[P],B=M[P]+v[C],W=M[P]-v[N],U=f?-j[D]/2:0,Y=y===k?S[D]:j[D],F=y===k?-j[D]:-S[D],V=t.elements.arrow,X=f&&V?u(V):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=Z[C],K=Z[N],$=ne(0,S[D],X[D]),J=L?S[D]/2-U-$-G-A:Y-$-G-A,Q=L?-S[D]/2+U+$+K+A:F+$+K+A,ee=t.elements.arrow&&z(t.elements.arrow),ie=ee?"y"===P?ee.clientTop||0:ee.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][P]:0,oe=M[P]+J-re-ie,se=M[P]+Q-re,ae=ne(f?Math.min(B,oe):B,H,f?Math.max(W,se):W);M[P]=ae,T[P]=ae-H}if(a){var ce="x"===P?_:E,le="x"===P?w:x,me=M[O],de=ne(me+v[ce],me,me-v[le]);M[O]=de,T[O]=de-me}t.modifiersData[i]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=n.elements.arrow,o=n.modifiersData.popperOffsets,s=I(n.placement),a=R(s),c=[E,x].indexOf(s)>=0?"height":"width";if(r&&o){var l=n.modifiersData[i+"#persistent"].padding,m=u(r),d="y"===a?_:E,p="y"===a?w:x,f=n.rects.reference[c]+n.rects.reference[a]-o[a]-n.rects.popper[c],h=o[a]-n.rects.reference[a],b=z(r),v=b?"y"===a?b.clientHeight||0:b.clientWidth||0:0,g=f/2-h/2,y=l[d],L=v-m[c]-l[p],P=v/2-m[c]/2+g,k=ne(y,P,L),O=a;n.modifiersData[i]=((t={})[O]=k,t.centerOffset=k-P,t)}},effect:function(e){var t=e.state,n=e.options,i=e.name,r=n.element,o=void 0===r?"[data-popper-arrow]":r,s=n.padding,a=void 0===s?0:s;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&G(t.elements.popper,o)&&(t.elements.arrow=o,t.modifiersData[i+"#persistent"]={padding:Q("number"!=typeof a?a:ee(a,P))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=te(t,{elementContext:"reference"}),a=te(t,{altBoundary:!0}),c=ie(s,i),l=ie(a,r,o),m=re(c),d=re(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:m,hasPopperEscaped:d},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":m,"data-popper-escaped":d})}}]});function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}class le{constructor(e,t,n){se(this,"settings",{offset:0,placement:"bottom-start",onOpen:void 0}),se(this,"itemPopper",void 0),se(this,"item",void 0),se(this,"content",void 0),se(this,"attached",{events:!1,popper:!1}),se(this,"handleEnter",(()=>{this.open()})),se(this,"handleLeave",(()=>{this.close()})),this.item=e,this.content=t,this.settings=ce(ce({},this.settings),n),this.init()}init(){const{disabled:e}=this.settings;if(e){const{position:t,events:n}=e;t?this.destroyPopper():this.initPopper(),n?this.destroyEvents():this.initEvents()}else this.initEvents(),this.initPopper()}initPopper(){if(this.item&&this.content instanceof HTMLElement&&!this.attached.popper){this.attached.popper=!0;const e=this.settings.offset,t={placement:this.settings.placement,modifiers:[{name:"offset",options:{offset:[0,e]}}]};this.content.style.setProperty("--offset",`${e}px`),this.itemPopper=oe(this.item,this.content,t)}}initEvents(){this.item&&!this.attached.events&&(this.item.addEventListener("mouseenter",this.handleEnter),this.item.addEventListener("mouseleave",this.handleLeave),this.attached.events=!0)}destroyPopper(){var e;null===(e=this.itemPopper)||void 0===e||e.destroy(),this.itemPopper=void 0,this.attached.popper=!1,this.content instanceof HTMLElement&&this.content.style.removeProperty("--offset")}destroyEvents(){var e,t;null===(e=this.item)||void 0===e||e.removeEventListener("mouseenter",this.handleEnter),null===(t=this.item)||void 0===t||t.removeEventListener("mouseleave",this.handleLeave),this.attached.events=!1}open(){const e=this.itemPopper;var t,n,i;e?e.update().then((()=>{var e,t,n;null===(e=this.item)||void 0===e||e.classList.add("brz-menu__item-dropdown--active"),null===(t=(n=this.settings).onOpen)||void 0===t||t.call(n)})):(null===(t=this.item)||void 0===t||t.classList.add("brz-menu__item-dropdown--active"),null===(n=(i=this.settings).onOpen)||void 0===n||n.call(i))}close(){var e,t,n;null===(e=this.item)||void 0===e||e.classList.remove("brz-menu__item-dropdown--active"),null===(t=(n=this.settings).onClose)||void 0===t||t.call(n)}update(e){e&&(this.settings=ce(ce({},this.settings),e)),this.init()}}var me={hooks:{},extensions:[],wrappers:[],navbar:{add:!0,sticky:!0,title:"Menu",titleLink:"parent"},onClick:{close:null,preventDefault:null,setSelected:!0},slidingSubmenus:!0},de={classNames:{inset:"Inset",nolistview:"NoListview",nopanel:"NoPanel",panel:"Panel",selected:"Selected",vertical:"Vertical"},language:null,openingInterval:25,panelNodetype:["ul","ol","div"],transitionDuration:400};function pe(e,t){for(var n in"object"!=fe(e)&&(e={}),"object"!=fe(t)&&(t={}),t)t.hasOwnProperty(n)&&(void 0===e[n]?e[n]=t[n]:"object"==fe(e[n])&&pe(e[n],t[n]));return e}function fe(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function ue(e,t,n){if("function"==typeof t){var i=t.call(e);if(void 0!==i)return i}return null!==t&&"function"!=typeof t&&void 0!==t||void 0===n?t:n}function he(e,t,n){var i=!1,r=function(n){void 0!==n&&n.target!==e||(i||(e.removeEventListener("transitionend",r),e.removeEventListener("webkitTransitionEnd",r),t.call(e)),i=!0)};e.addEventListener("transitionend",r),e.addEventListener("webkitTransitionEnd",r),setTimeout(r,1.1*n)}function be(){return"mm-"+ve++}var ve=0;function ge(e){return"mm-"==e.slice(0,3)?e.slice(3):e}var ye={};function ze(e,t){void 0===ye[t]&&(ye[t]={}),pe(ye[t],e)}var _e={Menu:"منو"},we={Menu:"Menü"},xe={Menu:"Меню"};function Ee(e){var t=e.split("."),n=document.createElement(t.shift());return t.forEach((function(e){n.classList.add(e)})),n}function Le(e,t){return Array.prototype.slice.call(e.querySelectorAll(t))}function Pe(e,t){var n=Array.prototype.slice.call(e.children);return t?n.filter((function(e){return e.matches(t)})):n}function ke(e,t){for(var n=[],i=e.parentElement;i;)n.push(i),i=i.parentElement;return t?n.filter((function(e){return e.matches(t)})):n}function Oe(e){return e.filter((function(e){return!e.matches(".mm-hidden")}))}function Me(e){var t=[];return Oe(e).forEach((function(e){t.push.apply(t,Pe(e,"a.mm-listitem__text"))})),t.filter((function(e){return!e.matches(".mm-btn_next")}))}function Se(e,t,n){e.matches("."+t)&&(e.classList.remove(t),e.classList.add(n))}var je={};function Ae(e,t,n){"number"==typeof e&&(e="(min-width: "+e+"px)"),je[e]=je[e]||[],je[e].push({yes:t,no:n})}function Te(e,t){for(var n=t.matches?"yes":"no",i=0;i<je[e].length;i++)je[e][i][n]()}ze({Menu:"Menu"},"nl"),ze(_e,"fa"),ze(we,"de"),ze(xe,"ru");var Ce=function(){function e(t,n,i){return this.opts=pe(n,e.options),this.conf=pe(i,e.configs),this._api=["bind","initPanel","initListview","openPanel","closePanel","closeAllPanels","setSelected"],this.node={},this.vars={},this.hook={},this.clck=[],this.node.menu="string"==typeof t?document.querySelector(t):t,"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 e=function(e){var t=window.matchMedia(e);Te(e,t),t.onchange=function(n){Te(e,t)}};for(var t in je)e(t)}(),this}return e.prototype.openPanel=function(e,t){var n=this;if(this.trigger("openPanel:before",[e]),e&&(e.matches(".brz-mm-panel")||(e=e.closest(".brz-mm-panel")),e)){if("boolean"!=typeof t&&(t=!0),e.parentElement.matches(".brz-mm-listitem_vertical")){ke(e,".brz-mm-listitem_vertical").forEach((function(e){e.classList.add("brz-mm-listitem_opened"),Pe(e,".brz-mm-panel").forEach((function(e){e.classList.remove("brz-mm-hidden")}))}));var i=ke(e,".brz-mm-panel").filter((function(e){return!e.parentElement.matches(".brz-mm-listitem_vertical")}));this.trigger("openPanel:start",[e]),i.length&&this.openPanel(i[0]),this.trigger("openPanel:finish",[e])}else{if(e.matches(".brz-mm-panel_opened"))return;var r=Pe(this.node.pnls,".brz-mm-panel"),o=Pe(this.node.pnls,".brz-mm-panel_opened")[0];r.filter((function(t){return t!==e})).forEach((function(e){e.classList.remove("brz-mm-panel_opened-parent")}));for(var s=e.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);r.forEach((function(e){e.classList.remove("brz-mm-panel_highest")})),r.filter((function(e){return e!==o})).filter((function(t){return t!==e})).forEach((function(e){e.classList.add("brz-mm-hidden")})),e.classList.remove("brz-mm-hidden");var a=function(){o&&o.classList.remove("brz-mm-panel_opened"),e.classList.add("brz-mm-panel_opened"),e.matches(".brz-mm-panel_opened-parent")?(o&&o.classList.add("brz-mm-panel_highest"),e.classList.remove("brz-mm-panel_opened-parent")):(o&&o.classList.add("brz-mm-panel_opened-parent"),e.classList.add("brz-mm-panel_highest")),n.trigger("openPanel:start",[e])},c=function(){o&&(o.classList.remove("brz-mm-panel_highest"),o.classList.add("brz-mm-hidden")),e.classList.remove("brz-mm-panel_highest"),n.trigger("openPanel:finish",[e])};t&&!e.matches(".brz-mm-panel_noanimation")?setTimeout((function(){he(e,(function(){c()}),n.conf.transitionDuration),a()}),this.conf.openingInterval):(a(),c())}this.trigger("openPanel:after",[e])}},e.prototype.closePanel=function(e){this.trigger("closePanel:before",[e]);var t=e.parentElement;t.matches(".brz-mm-listitem_vertical")&&(t.classList.remove("brz-mm-listitem_opened"),e.classList.add("brz-mm-hidden"),this.trigger("closePanel",[e])),this.trigger("closePanel:after",[e])},e.prototype.closeAllPanels=function(e){this.trigger("closeAllPanels:before"),this.node.pnls.querySelectorAll(".brz-mm-listitem").forEach((function(e){e.classList.remove("brz-mm-listitem_selected"),e.classList.remove("brz-mm-listitem_opened")}));var t=Pe(this.node.pnls,".brz-mm-panel"),n=e||t[0];Pe(this.node.pnls,".brz-mm-panel").forEach((function(e){e!==n&&(e.classList.remove("brz-mm-panel_opened"),e.classList.remove("brz-mm-panel_opened-parent"),e.classList.remove("brz-mm-panel_highest"),e.classList.add("brz-mm-hidden"))})),this.openPanel(n,!1),this.trigger("closeAllPanels:after")},e.prototype.togglePanel=function(e){var t=e.parentElement;t.matches(".brz-mm-listitem_vertical")&&this[t.matches(".brz-mm-listitem_opened")?"closePanel":"openPanel"](e)},e.prototype.setSelected=function(e){this.trigger("setSelected:before",[e]),Le(this.node.menu,".brz-mm-listitem_selected").forEach((function(e){e.classList.remove("brz-mm-listitem_selected")})),e.classList.add("brz-mm-listitem_selected"),this.trigger("setSelected:after",[e])},e.prototype.bind=function(e,t){this.hook[e]=this.hook[e]||[],this.hook[e].push(t)},e.prototype.trigger=function(e,t){if(this.hook[e])for(var n=0,i=this.hook[e].length;n<i;n++)this.hook[e][n].apply(this,t)},e.prototype._initAPI=function(){var e=this,t=this;this.API={},this._api.forEach((function(n){e.API[n]=function(){var e=t[n].apply(t,arguments);return void 0===e?t.API:e}})),this.node.menu.mmApi=this.API},e.prototype._initHooks=function(){for(var e in this.opts.hooks)this.bind(e,this.opts.hooks[e])},e.prototype._initWrappers=function(){this.trigger("initWrappers:before");for(var t=0;t<this.opts.wrappers.length;t++){var n=e.wrappers[this.opts.wrappers[t]];"function"==typeof n&&n.call(this)}this.trigger("initWrappers:after")},e.prototype._initAddons=function(){for(var t in this.trigger("initAddons:before"),e.addons)e.addons[t].call(this);this.trigger("initAddons:after")},e.prototype._initExtensions=function(){var e=this;this.trigger("initExtensions:before"),"array"==fe(this.opts.extensions)&&(this.opts.extensions={all:this.opts.extensions}),Object.keys(this.opts.extensions).forEach((function(t){var n=e.opts.extensions[t].map((function(e){return"brz-mm-menu_"+e}));n.length&&Ae(t,(function(){n.forEach((function(t){e.node.menu.classList.add(t)}))}),(function(){n.forEach((function(t){e.node.menu.classList.remove(t)}))}))})),this.trigger("initExtensions:after")},e.prototype._initMenu=function(){var e=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||be();var t=Ee("div.brz-mm-panels");Pe(this.node.menu).forEach((function(n){e.conf.panelNodetype.indexOf(n.nodeName.toLowerCase())>-1&&t.append(n)})),this.node.menu.append(t),this.node.pnls=t,this.node.menu.classList.add("brz-mm-menu"),this.trigger("initMenu:after")},e.prototype._initPanels=function(){var e=this;this.trigger("initPanels:before"),this.clck.push((function(t,n){if(n.inMenu){var i=t.getAttribute("href");if(i&&i.length>1&&"#"==i.slice(0,1))try{var r=Le(e.node.menu,i)[0];if(r&&r.matches(".brz-mm-panel"))return t.parentElement.matches(".brz-mm-listitem_vertical")?e.togglePanel(r):e.openPanel(r),!0}catch(e){}}})),Pe(this.node.pnls).forEach((function(t){e.initPanel(t)})),this.trigger("initPanels:after")},e.prototype.initPanel=function(e){var t=this,n=this.conf.panelNodetype.join(", ");if(e.matches(n)&&(e.matches(".brz-mm-panel")||(e=this._initPanel(e)),e)){var i=[];i.push.apply(i,Pe(e,"."+this.conf.classNames.panel)),Pe(e,".brz-mm-listview").forEach((function(e){Pe(e,".brz-mm-listitem").forEach((function(e){i.push.apply(i,Pe(e,n))}))})),i.forEach((function(e){t.initPanel(e)}))}},e.prototype._initPanel=function(e){var t=this;if(this.trigger("initPanel:before",[e]),Se(e,this.conf.classNames.panel,"brz-mm-panel"),Se(e,this.conf.classNames.nopanel,"brz-mm-nopanel"),Se(e,this.conf.classNames.inset,"brz-mm-listview_inset"),e.matches(".brz-mm-listview_inset")&&e.classList.add("brz-mm-nopanel"),e.matches(".brz-mm-nopanel"))return null;var n=e.id||be(),i=e.matches("."+this.conf.classNames.vertical)||!this.opts.slidingSubmenus;if(e.classList.remove(this.conf.classNames.vertical),e.matches("ul, ol")){e.removeAttribute("id");var r=Ee("div");e.before(r),r.append(e),e=r}e.id=n,e.classList.add("brz-mm-panel"),e.classList.add("brz-mm-hidden");var o=[e.parentElement].filter((function(e){return e.matches("li")}))[0];if(i?o&&o.classList.add("brz-mm-listitem_vertical"):this.node.pnls.append(e),o&&(o.mmChild=e,e.mmParent=o,o&&o.matches(".brz-mm-listitem")&&!Pe(o,".brz-mm-btn").length)){var s=Pe(o,".brz-mm-listitem__text")[0];if(s){var a=Ee("a.brz-mm-btn.brz-mm-btn_next.brz-mm-listitem__btn");a.setAttribute("href","#"+e.id),s.matches("span")?(a.classList.add("brz-mm-listitem__text"),a.innerHTML=s.innerHTML,o.insertBefore(a,s.nextElementSibling),s.remove()):o.insertBefore(a,Pe(o,".brz-mm-panel")[0])}}return this._initNavbar(e),Pe(e,"ul, ol").forEach((function(e){t.initListview(e)})),this.trigger("initPanel:after",[e]),e},e.prototype._initNavbar=function(e){if(this.trigger("initNavbar:before",[e]),!Pe(e,".brz-mm-navbar").length){var t=null,n=null;if(e.getAttribute("data-mm-parent")?n=Le(this.node.pnls,e.getAttribute("data-mm-parent"))[0]:(t=e.mmParent)&&(n=t.closest(".brz-mm-panel")),!t||!t.matches(".brz-mm-listitem_vertical")){var i=Ee("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 r=Ee("a.brz-mm-btn.brz-mm-btn_prev.brz-mm-navbar__btn");r.setAttribute("href","#"+n.id),i.append(r)}var o=null;t?o=Pe(t,".brz-mm-listitem__text")[0]:n&&(o=Le(n,'a[href="#'+e.id+'"]')[0]);var s=Ee("a.brz-mm-navbar__title"),a=Ee("span");switch(s.append(a),a.innerHTML=e.getAttribute("data-mm-title")||(o?o.textContent:"")||this.i18n(this.opts.navbar.title)||this.i18n("Menu"),this.opts.navbar.titleLink){case"anchor":o&&s.setAttribute("href",o.getAttribute("href"));break;case"parent":n&&s.setAttribute("href","#"+n.id);break;case"custom":s.setAttribute("href","#"+e.getAttribute("id"))}i.append(s),e.prepend(i),this.trigger("initNavbar:after",[e])}}},e.prototype.initListview=function(e){var t=this;this.trigger("initListview:before",[e]),Se(e,this.conf.classNames.nolistview,"brz-mm-nolistview"),e.matches(".brz-mm-nolistview")||(e.classList.add("brz-mm-listview"),Pe(e).forEach((function(e){e.classList.add("brz-mm-listitem"),Se(e,t.conf.classNames.selected,"brz-mm-listitem_selected"),Pe(e,"a, span").forEach((function(e){e.matches(".brz-mm-btn")||e.classList.add("brz-mm-listitem__text")}))}))),this.trigger("initListview:after",[e])},e.prototype._initOpened=function(){this.trigger("initOpened:before");var e=this.node.pnls.querySelectorAll(".brz-mm-listitem_selected"),t=null;e.forEach((function(e){t=e,e.classList.remove("brz-mm-listitem_selected")})),t&&t.classList.add("brz-mm-listitem_selected");var n=t?t.closest(".brz-mm-panel"):Pe(this.node.pnls,".brz-mm-panel")[0];this.openPanel(n,!1),this.trigger("initOpened:after")},e.prototype._initAnchors=function(){var e=this;this.trigger("initAnchors:before"),document.addEventListener("click",(function(t){var n=t.target.closest("a[href]");if(n){for(var i={inMenu:n.closest(".brz-mm-menu")===e.node.menu,inListview:n.matches(".brz-mm-listitem > a"),toExternal:n.matches('[rel="external"]')||n.matches('[target="_blank"]')},r={close:null,setSelected:null,preventDefault:"#"==n.getAttribute("href").slice(0,1)},o=0;o<e.clck.length;o++){var s=e.clck[o].call(e,n,i);if(s){if("boolean"==typeof s)return void t.preventDefault();"object"==fe(s)&&(r=pe(s,r))}}i.inMenu&&i.inListview&&!i.toExternal&&(ue(n,e.opts.onClick.setSelected,r.setSelected)&&e.setSelected(n.parentElement),ue(n,e.opts.onClick.preventDefault,r.preventDefault)&&t.preventDefault(),ue(n,e.opts.onClick.close,r.close)&&e.opts.offCanvas&&"function"==typeof e.close&&e.close())}}),!0),this.trigger("initAnchors:after")},e.prototype.i18n=function(e){return function(e,t){return"string"==typeof t&&void 0!==ye[t]&&ye[t][e]||e}(e,this.conf.language)},e.version="8.5.0",e.options=me,e.configs=de,e.addons={},e.wrappers={},e.node={},e.vars={},e}(),Ne={blockUI:!0,moveBackground:!0};var De={clone:!1,menu:{insertMethod:"prepend",insertSelector:"body"},page:{nodetype:"div",selector:null,noSelector:[]}};function He(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}function Be(e,t,n){var i=t.split(".");e[t="mmEvent"+He(i[0])+He(i[1])]=e[t]||[],e[t].push(n),e.addEventListener(i[0],n)}function Ie(e,t){var n=t.split(".");t="mmEvent"+He(n[0])+He(n[1]),(e[t]||[]).forEach((function(t){e.removeEventListener(n[0],t)}))}Ce.options.offCanvas=Ne,Ce.configs.offCanvas=De;Ce.prototype.open=function(){var e=this;this.trigger("open:before"),this.vars.opened||(this._openSetup(),setTimeout((function(){e._openStart()}),this.conf.openingInterval),this.trigger("open:after"))},Ce.prototype._openSetup=function(){var e=this,t=this.opts.offCanvas;this.closeAllOthers(),Ce.node.page.mmStyle=Ce.node.page.getAttribute("style")||"",function(e,t,n){var i=t.split(".");(e[t="mmEvent"+He(i[0])+He(i[1])]||[]).forEach((function(e){e(n||{})}))}(window,"resize.page",{force:!0});var n=["brz-mm-wrapper_opened"];t.blockUI&&n.push("brz-mm-wrapper_blocking"),"modal"==t.blockUI&&n.push("brz-mm-wrapper_modal"),t.moveBackground&&n.push("brz-mm-wrapper_background"),n.forEach((function(t){e.node.wrpr.classList.add(t)})),setTimeout((function(){e.vars.opened=!0}),this.conf.openingInterval),this.node.menu.classList.add("brz-mm-menu_opened")},Ce.prototype._openStart=function(){var e=this;he(Ce.node.page,(function(){e.trigger("open:finish")}),this.conf.transitionDuration),this.trigger("open:start"),this.node.wrpr.classList.add("brz-mm-wrapper_opening")},Ce.prototype.close=function(){var e=this;this.trigger("close:before"),this.vars.opened&&(he(Ce.node.page,(function(){e.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(t){e.node.wrpr.classList.remove(t)})),Ce.node.page.setAttribute("style",Ce.node.page.mmStyle),e.vars.opened=!1,e.trigger("close:finish")}),this.conf.transitionDuration),this.trigger("close:start"),this.node.wrpr.classList.remove("brz-mm-wrapper_opening"),this.trigger("close:after"))},Ce.prototype.closeAllOthers=function(){var e=this;Le(document.body,".brz-mm-menu_offcanvas").forEach((function(t){if(t!==e.node.menu){var n=t.mmApi;n&&n.close&&n.close()}}))},Ce.prototype.setPage=function(e){this.trigger("setPage:before",[e]);var t=this.conf.offCanvas;if(!e){var n="string"==typeof t.page.selector?Le(document.body,t.page.selector):Pe(document.body,t.page.nodetype);if(n=n.filter((function(e){return!e.matches(".brz-mm-menu, .brz-mm-wrapper__blocker")})),t.page.noSelector.length&&(n=n.filter((function(e){return!e.matches(t.page.noSelector.join(", "))}))),n.length>1){var i=Ee("div");n[0].before(i),n.forEach((function(e){i.append(e)})),n=[i]}e=n[0]}e.classList.add("brz-mm-page"),e.classList.add("brz-mm-slideout"),e.id=e.id||be(),Ce.node.page=e,this.trigger("setPage:after",[e])};var qe=function(){var e=this;Ie(document.body,"keydown.tabguard"),Be(document.body,"keydown.tabguard",(function(t){9==t.keyCode&&e.node.wrpr.matches(".brz-mm-wrapper_opened")&&t.preventDefault()}))},Re=function(){var e=this;this.trigger("initBlocker:before");var t=this.opts.offCanvas,n=this.conf.offCanvas;if(t.blockUI){if(!Ce.node.blck){var i=Ee("div.brz-mm-wrapper__blocker.brz-mm-slideout");i.innerHTML="<a></a>",document.querySelector(n.menu.insertSelector).append(i),Ce.node.blck=i}var r=function(t){t.stopPropagation(),e.node.wrpr.matches(".brz-mm-wrapper_modal")||e.close()};Ce.node.blck.addEventListener("mousedown",(function(t){t.preventDefault(),t.stopPropagation(),e.node.wrpr.matches(".brz-mm-wrapper_modal")||e.close()})),Ce.node.blck.addEventListener("touchstart",r,{passive:!0}),Ce.node.blck.addEventListener("touchmove",r,{passive:!0}),this.trigger("initBlocker:after")}},We={aria:!0,text:!0};var Ue={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}},Ye={"Close menu":"بستن منو","Close submenu":"بستن زیرمنو","Open submenu":"بازکردن زیرمنو","Toggle submenu":"سوییچ زیرمنو"},Fe={"Close menu":"Menü schließen","Close submenu":"Untermenü schließen","Open submenu":"Untermenü öffnen","Toggle submenu":"Untermenü wechseln"},Ve={"Close menu":"Закрыть меню","Close submenu":"Закрыть подменю","Open submenu":"Открыть подменю","Toggle submenu":"Переключить подменю"};ze({"Close menu":"Menu sluiten","Close submenu":"Submenu sluiten","Open submenu":"Submenu openen","Toggle submenu":"Submenu wisselen"},"nl"),ze(Ye,"fa"),ze(Fe,"de"),ze(Ve,"ru"),Ce.options.screenReader=We,Ce.configs.screenReader=Ue;var Xe;Xe=function(e,t,n){e[t]=n,n?e.setAttribute(t,n.toString()):e.removeAttribute(t)},Ce.sr_aria=function(e,t,n){Xe(e,"aria-"+t,n)},Ce.sr_role=function(e,t){Xe(e,"role",t)},Ce.sr_text=function(e){return'<span class="brz-mm-sronly">'+e+"</span>"};var Ze={fix:!0};var Ge="ontouchstart"in window||!!navigator.msMaxTouchPoints||!1;Ce.options.scrollBugFix=Ze;var Ke={height:"default"};Ce.options.autoHeight=Ke;var $e={close:!1,open:!1};Ce.options.backButton=$e;var Je={add:!1,visible:{min:1,max:3}};Ce.options.columns=Je;var Qe={add:!1,addTo:"panels",count:!1};Ce.options.counters=Qe,Ce.configs.classNames.counters={counter:"Counter"};var et={add:!1,addTo:"panels"};Ce.options.dividers=et,Ce.configs.classNames.divider="Divider";var tt={open:!1,node:null};var nt="ontouchstart"in window||!!navigator.msMaxTouchPoints||!1,it={top:0,right:0,bottom:0,left:0},rt={start:15,swipe:15},ot={x:["Right","Left"],y:["Down","Up"]},st=0,at=1,ct=2,lt=function(e,t){return"string"==typeof e&&"%"==e.slice(-1)&&(e=t*((e=parseInt(e.slice(0,-1),10))/100)),e},mt=function(){function e(e,t,n){this.surface=e,this.area=pe(t,it),this.treshold=pe(n,rt),this.surface.mmHasDragEvents||(this.surface.addEventListener(nt?"touchstart":"mousedown",this.start.bind(this)),this.surface.addEventListener(nt?"touchend":"mouseup",this.stop.bind(this)),this.surface.addEventListener(nt?"touchleave":"mouseleave",this.stop.bind(this)),this.surface.addEventListener(nt?"touchmove":"mousemove",this.move.bind(this))),this.surface.mmHasDragEvents=!0}return e.prototype.start=function(e){this.currentPosition={x:e.touches?e.touches[0].pageX:e.pageX||0,y:e.touches?e.touches[0].pageY:e.pageY||0};var t=this.surface.clientWidth,n=this.surface.clientHeight,i=lt(this.area.top,n);if(!("number"==typeof i&&this.currentPosition.y<i)){var r=lt(this.area.right,t);if(!("number"==typeof r&&(r=t-r,this.currentPosition.x>r))){var o=lt(this.area.bottom,n);if(!("number"==typeof o&&(o=n-o,this.currentPosition.y>o))){var s=lt(this.area.left,t);"number"==typeof s&&this.currentPosition.x<s||(this.startPosition={x:this.currentPosition.x,y:this.currentPosition.y},this.state=at)}}}},e.prototype.stop=function(e){if(this.state==ct){var t=this._dragDirection(),n=this._eventDetail(t);if(this._dispatchEvents("drag*End",n),Math.abs(this.movement[this.axis])>this.treshold.swipe){var i=this._swipeDirection();n.direction=i,this._dispatchEvents("swipe*",n)}}this.state=st},e.prototype.move=function(e){switch(this.state){case at:case ct:var t={x:e.changedTouches?e.touches[0].pageX:e.pageX||0,y:e.changedTouches?e.touches[0].pageY:e.pageY||0};this.movement={x:t.x-this.currentPosition.x,y:t.y-this.currentPosition.y},this.distance={x:t.x-this.startPosition.x,y:t.y-this.startPosition.y},this.currentPosition={x:t.x,y:t.y},this.axis=Math.abs(this.distance.x)>Math.abs(this.distance.y)?"x":"y";var n=this._dragDirection(),i=this._eventDetail(n);this.state==at&&Math.abs(this.distance[this.axis])>this.treshold.start&&(this._dispatchEvents("drag*Start",i),this.state=ct),this.state==ct&&this._dispatchEvents("drag*Move",i)}},e.prototype._eventDetail=function(e){var t=this.distance.x,n=this.distance.y;return"x"==this.axis&&(t-=t>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:e,movementX:this.movement.x,movementY:this.movement.y,distanceX:t,distanceY:n}},e.prototype._dispatchEvents=function(e,t){var n=new CustomEvent(e.replace("*",""),{detail:t});this.surface.dispatchEvent(n);var i=new CustomEvent(e.replace("*",this.axis.toUpperCase()),{detail:t});this.surface.dispatchEvent(i);var r=new CustomEvent(e.replace("*",t.direction),{detail:t});this.surface.dispatchEvent(r)},e.prototype._dragDirection=function(){return ot[this.axis][this.distance[this.axis]>0?0:1]},e.prototype._swipeDirection=function(){return ot[this.axis][this.movement[this.axis]>0?0:1]},e}(),dt=null,pt=null,ft=0,ut=function(e){var t=this,n={},i=!1,r=function(){var e=Object.keys(t.opts.extensions);e.length?(Ae(e.join(", "),(function(){}),(function(){n=ht(n,[],t.node.menu)})),e.forEach((function(e){Ae(e,(function(){n=ht(n,t.opts.extensions[e],t.node.menu)}),(function(){}))}))):n=ht(n,[],t.node.menu)};pt&&(Ie(pt,"dragStart"),Ie(pt,"dragMove"),Ie(pt,"dragEnd")),dt=new mt(pt=e),r(),r=function(){},pt&&(Be(pt,"dragStart",(function(e){e.detail.direction==n.direction&&(i=!0,t.node.wrpr.classList.add("mm-wrapper_dragging"),t._openSetup(),t.trigger("open:start"),ft=t.node.menu["x"==n.axis?"clientWidth":"clientHeight"])})),Be(pt,"dragMove",(function(e){if(e.detail.axis==n.axis&&i){var t=e.detail["distance"+n.axis.toUpperCase()];switch(n.position){case"right":case"bottom":t=Math.min(Math.max(t,-ft),0);break;default:t=Math.max(Math.min(t,ft),0)}if("front"==n.zposition)switch(n.position){case"right":case"bottom":t+=ft;break;default:t-=ft}n.slideOutNodes.forEach((function(e){e.style.transform="translate"+n.axis.toUpperCase()+"("+t+"px)"}))}})),Be(pt,"dragEnd",(function(e){if(e.detail.axis==n.axis&&i){i=!1,t.node.wrpr.classList.remove("mm-wrapper_dragging"),n.slideOutNodes.forEach((function(e){e.style.transform=""}));var r=Math.abs(e.detail["distance"+n.axis.toUpperCase()])>=.75*ft;if(!r){var o=e.detail["movement"+n.axis.toUpperCase()];switch(n.position){case"right":case"bottom":r=o<=0;break;default:r=o>=0}}r?t._openStart():t.close()}})))},ht=function(e,t,n){switch(e.position="left",e.zposition="back",["right","top","bottom"].forEach((function(n){t.indexOf("position-"+n)>-1&&(e.position=n)})),["front","top","bottom"].forEach((function(n){t.indexOf("position-"+n)>-1&&(e.zposition="front")})),dt.area={top:"bottom"==e.position?"75%":0,right:"left"==e.position?"75%":0,bottom:"top"==e.position?"75%":0,left:"right"==e.position?"75%":0},e.position){case"top":case"bottom":e.axis="y";break;default:e.axis="x"}switch(e.position){case"top":e.direction="Down";break;case"right":e.direction="Left";break;case"bottom":e.direction="Up";break;default:e.direction="Right"}switch(e.zposition){case"front":e.slideOutNodes=[n];break;default:e.slideOutNodes=Le(document.body,".mm-slideout")}return e};Ce.options.drag=tt;var bt={drop:!1,fitViewport:!0,event:"click",position:{},tip:!0};var vt={offset:{button:{x:-5,y:5},viewport:{x:20,y:20}},height:{max:880},width:{max:440}};Ce.options.dropdown=bt,Ce.configs.dropdown=vt;var gt={insertMethod:"append",insertSelector:"body"};Ce.configs.fixedElements=gt,Ce.configs.classNames.fixedElements={fixed:"Fixed"};var yt={use:!1,top:[],bottom:[],position:"left",type:"default"};Ce.options.iconbar=yt;var zt={add:!1,blockPanel:!0,hideDivider:!1,hideNavbar:!0,visible:3};Ce.options.iconPanels=zt;var _t={enable:!1,enhance:!1};Ce.options.keyboardNavigation=_t;var wt=function(e){var t=this;Ie(document.body,"keydown.tabguard"),Ie(document.body,"focusin.tabguard"),Be(document.body,"focusin.tabguard",(function(e){if(t.node.wrpr.matches(".brz-mm-wrapper_opened")){var n=e.target;if(n.matches(".brz-mm-tabend")){var i=void 0;n.parentElement.matches(".brz-mm-menu")&&Ce.node.blck&&(i=Ce.node.blck),n.parentElement.matches(".brz-mm-wrapper__blocker")&&(i=Le(document.body,".brz-mm-menu_offcanvas.brz-mm-menu_opened")[0]),i||(i=n.parentElement),i&&Pe(i,".brz-mm-tabstart")[0].focus()}}})),Ie(document.body,"keydown.navigate"),Be(document.body,"keydown.navigate",(function(t){var n=t.target,i=n.closest(".brz-mm-menu");if(i){i.mmApi;if(!n.matches("input, textarea"))switch(t.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:t.preventDefault()}if(e)if(n.matches("input"))switch(t.keyCode){case 27:n.value=""}else{var r=i.mmApi;switch(t.keyCode){case 8:var o=Le(i,".brz-mm-panel_opened")[0].mmParent;o&&r.openPanel(o.closest(".brz-mm-panel"));break;case 27:i.matches(".brz-mm-menu_offcanvas")&&r.close()}}}}))},xt={load:!1};Ce.options.lazySubmenus=xt;var Et=[];var Lt={breadcrumbs:{separator:"/",removeFirst:!1}};function Pt(){var e=this,t=this.opts.navbars;if(void 0!==t){t instanceof Array||(t=[t]);var n={};t.length&&(t.forEach((function(t){if(!(t=function(e){return"boolean"==typeof e&&e&&(e={}),"object"!=typeof e&&(e={}),void 0===e.content&&(e.content=["prev","title"]),e.content instanceof Array||(e.content=[e.content]),void 0===e.use&&(e.use=!0),"boolean"==typeof e.use&&e.use&&(e.use=!0),e}(t)).use)return!1;var i=Ee("div.brz-mm-navbar"),r=t.position;"bottom"!==r&&(r="top"),n[r]||(n[r]=Ee("div.brz-mm-navbars_"+r)),n[r].append(i);for(var o=0,s=t.content.length;o<s;o++){var a,c=t.content[o];if("string"==typeof c)if("function"==typeof(a=Pt.navbarContents[c]))a.call(e,i);else{var l=Ee("span");l.innerHTML=c;var m=Pe(l);1==m.length&&(l=m[0]),i.append(l)}else i.append(c)}"string"==typeof t.type&&("function"==typeof(a=Pt.navbarTypes[t.type])&&a.call(e,i));"boolean"!=typeof t.use&&Ae(t.use,(function(){i.classList.remove("brz-mm-hidden"),Ce.sr_aria(i,"hidden",!1)}),(function(){i.classList.add("brz-mm-hidden"),Ce.sr_aria(i,"hidden",!0)}))})),this.bind("initMenu:after",(function(){for(var t in n)e.node.menu["bottom"==t?"append":"prepend"](n[t])})))}}Ce.options.navbars=Et,Ce.configs.navbars=Lt,Ce.configs.classNames.navbars={panelPrev:"Prev",panelTitle:"Title"},Pt.navbarContents={breadcrumbs:function(e){var t=this,n=Ee("div.mm-navbar__breadcrumbs");e.append(n),this.bind("initNavbar:after",(function(e){if(!e.querySelector(".mm-navbar__breadcrumbs")){Pe(e,".mm-navbar")[0].classList.add("mm-hidden");for(var n=[],i=Ee("span.mm-navbar__breadcrumbs"),r=e,o=!0;r;){if(!(r=r.closest(".mm-panel")).parentElement.matches(".mm-listitem_vertical")){var s=Le(r,".mm-navbar__title span")[0];if(s){var a=s.textContent;a.length&&n.unshift(o?"<span>"+a+"</span>":'<a href="#'+r.id+'">'+a+"</a>")}o=!1}r=r.mmParent}t.conf.navbars.breadcrumbs.removeFirst&&n.shift(),i.innerHTML=n.join('<span class="mm-separator">'+t.conf.navbars.breadcrumbs.separator+"</span>"),Pe(e,".mm-navbar")[0].append(i)}})),this.bind("openPanel:start",(function(e){var t=e.querySelector(".mm-navbar__breadcrumbs");n.innerHTML=t?t.innerHTML:""})),this.bind("initNavbar:after:sr-aria",(function(e){Le(e,".mm-breadcrumbs a").forEach((function(e){Ce.sr_aria(e,"owns",e.getAttribute("href").slice(1))}))}))},close:function(e){var t=this,n=Ee("a.mm-btn.mm-btn_close.mm-navbar__btn");e.append(n),this.bind("setPage:after",(function(e){n.setAttribute("href","#"+e.id)})),this.bind("setPage:after:sr-text",(function(){n.innerHTML=Ce.sr_text(t.i18n(t.conf.screenReader.text.closeMenu)),Ce.sr_aria(n,"owns",n.getAttribute("href").slice(1))}))},prev:function(e){var t,n,i,r=this,o=Ee("a.mm-btn.mm-btn_prev.mm-navbar__btn");e.append(o),this.bind("initNavbar:after",(function(e){Pe(e,".mm-navbar")[0].classList.add("mm-hidden")})),this.bind("openPanel:start",(function(e){e.parentElement.matches(".mm-listitem_vertical")||((t=e.querySelector("."+r.conf.classNames.navbars.panelPrev))||(t=e.querySelector(".mm-navbar__btn.mm-btn_prev")),n=t?t.getAttribute("href"):"",i=t?t.innerHTML:"",n?o.setAttribute("href",n):o.removeAttribute("href"),o.classList[n||i?"remove":"add"]("mm-hidden"),o.innerHTML=i)})),this.bind("initNavbar:after:sr-aria",(function(e){Ce.sr_aria(e.querySelector(".mm-navbar"),"hidden",!0)})),this.bind("openPanel:start:sr-aria",(function(e){Ce.sr_aria(o,"hidden",o.matches(".mm-hidden")),Ce.sr_aria(o,"owns",(o.getAttribute("href")||"").slice(1))}))},searchfield:function(e){"object"!=fe(this.opts.searchfield)&&(this.opts.searchfield={});var t=Ee("div.mm-navbar__searchfield");e.append(t),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=[t]},title:function(e){var t,n,i,r,o=this,s=Ee("a.mm-navbar__title"),a=Ee("span");s.append(a),e.append(s),this.bind("openPanel:start",(function(e){e.parentElement.matches(".mm-listitem_vertical")||((i=e.querySelector("."+o.conf.classNames.navbars.panelTitle))||(i=e.querySelector(".mm-navbar__title span")),(t=i&&i.closest("a")?i.closest("a").getAttribute("href"):"")?s.setAttribute("href",t):s.removeAttribute("href"),n=i?i.innerHTML:"",a.innerHTML=n)})),this.bind("openPanel:start:sr-aria",(function(e){if(o.opts.screenReader.text){if(!r)Pe(o.node.menu,".mm-navbars_top, .mm-navbars_bottom").forEach((function(e){var t=e.querySelector(".mm-btn_prev");t&&(r=t)}));if(r){var t=!0;"parent"==o.opts.navbar.titleLink&&(t=!r.matches(".mm-hidden")),Ce.sr_aria(s,"hidden",t)}}}))}},Pt.navbarTypes={tabs:function(e){var t=this;e.classList.add("mm-navbar_tabs"),e.parentElement.classList.add("mm-navbars_has-tabs");var n=Pe(e,"a");e.addEventListener("click",(function(e){var n=e.target;if(n.matches("a"))if(n.matches(".mm-navbar__tab_selected"))e.stopImmediatePropagation();else try{t.openPanel(t.node.menu.querySelector(n.getAttribute("href")),!1),e.stopImmediatePropagation()}catch(e){}})),this.bind("openPanel:start",(function e(t){n.forEach((function(e){e.classList.remove("mm-navbar__tab_selected")}));var i=n.filter((function(e){return e.matches('[href="#'+t.id+'"]')}))[0];if(i)i.classList.add("mm-navbar__tab_selected");else{var r=t.mmParent;r&&e.call(this,r.closest(".mm-panel"))}}))}};var kt={scroll:!1,update:!1};var Ot={scrollOffset:0,updateOffset:50};Ce.options.pageScroll=kt,Ce.configs.pageScroll=Ot;var Mt={add:!1,addTo:"panels",cancel:!1,noResults:"No results found.",placeholder:"Search",panel:{add:!1,dividers:!0,fx:"none",id:null,splash:null,title:"Search"},search:!0,showTextItems:!1,showSubPanels:!0};var St={clear:!1,form:!1,input:!1,submit:!1},jt={Search:"جستجو","No results found.":"نتیجه‌ای یافت نشد.",cancel:"انصراف"},At={Search:"Suche","No results found.":"Keine Ergebnisse gefunden.",cancel:"beenden"},Tt={Search:"Найти","No results found.":"Ничего не найдено.",cancel:"отменить"};ze({Search:"Zoeken","No results found.":"Geen resultaten gevonden.",cancel:"annuleren"},"nl"),ze(jt,"fa"),ze(At,"de"),ze(Tt,"ru"),Ce.options.searchfield=Mt,Ce.configs.searchfield=St;var Ct=function(){var e=this.opts.searchfield,t=(this.conf.searchfield,Pe(this.node.pnls,".brz-mm-panel_search")[0]);if(t)return t;t=Ee("div.brz-mm-panel.brz-mm-panel_search.brz-mm-hidden"),e.panel.id&&(t.id=e.panel.id),e.panel.title&&t.setAttribute("data-mm-title",e.panel.title);var n=Ee("ul");switch(t.append(n),this.node.pnls.append(t),this.initListview(n),this._initNavbar(t),e.panel.fx){case!1:break;case"none":t.classList.add("brz-mm-panel_noanimation");break;default:t.classList.add("brz-mm-panel_fx-"+e.panel.fx)}if(e.panel.splash){var i=Ee("div.brz-mm-panel__content");i.innerHTML=e.panel.splash,t.append(i)}return t.classList.add("brz-mm-panel"),t.classList.add("brz-mm-hidden"),this.node.pnls.append(t),t},Nt=function(e){var t=this.opts.searchfield,n=this.conf.searchfield;if(e.parentElement.matches(".brz-mm-listitem_vertical"))return null;if(o=Le(e,".brz-mm-searchfield")[0])return o;function i(e,t){if(t)for(var n in t)e.setAttribute(n,t[n])}var r,o=Ee((n.form?"form":"div")+".brz-mm-searchfield"),s=Ee("div.brz-mm-searchfield__input"),a=Ee("input");(a.type="text",a.autocomplete="off",a.placeholder=this.i18n(t.placeholder),s.append(a),o.append(s),e.prepend(o),i(a,n.input),n.clear)&&((r=Ee("a.brz-mm-btn.brz-mm-btn_close.brz-mm-searchfield__btn")).setAttribute("href","#"),s.append(r));(i(o,n.form),n.form&&n.submit&&!n.clear)&&((r=Ee("a.brz-mm-btn.brz-mm-btn_next.brz-mm-searchfield__btn")).setAttribute("href","#"),s.append(r));t.cancel&&((r=Ee("a.brz-mm-searchfield__cancel")).setAttribute("href","#"),r.textContent=this.i18n("cancel"),o.append(r));return o},Dt=function(e){var t=this,n=this.opts.searchfield,i=(this.conf.searchfield,{});e.closest(".brz-mm-panel_search")?(i.panels=Le(this.node.pnls,".brz-mm-panel"),i.noresults=[e.closest(".brz-mm-panel")]):e.closest(".brz-mm-panel")?(i.panels=[e.closest(".brz-mm-panel")],i.noresults=i.panels):(i.panels=Le(this.node.pnls,".brz-mm-panel"),i.noresults=[this.node.menu]),i.panels=i.panels.filter((function(e){return!e.parentElement.matches(".brz-mm-listitem_vertical")})),i.panels=i.panels.filter((function(e){return!e.matches(".brz-mm-panel_search")})),i.listitems=[],i.dividers=[],i.panels.forEach((function(e){var t,n;(t=i.listitems).push.apply(t,Le(e,".brz-mm-listitem")),(n=i.dividers).push.apply(n,Le(e,".brz-mm-divider"))}));var r=Pe(this.node.pnls,".brz-mm-panel_search")[0],o=Le(e,"input")[0],s=Le(e,".brz-mm-searchfield__cancel")[0];o.mmSearchfield=i,n.panel.add&&n.panel.splash&&(Ie(o,"focus.splash"),Be(o,"focus.splash",(function(e){t.openPanel(r)}))),n.cancel&&(Ie(o,"focus.cancel"),Be(o,"focus.cancel",(function(e){s.classList.add("brz-mm-searchfield__cancel-active")})),Ie(s,"click.splash"),Be(s,"click.splash",(function(e){if(e.preventDefault(),s.classList.remove("brz-mm-searchfield__cancel-active"),r.matches(".brz-mm-panel_opened")){var n=Pe(t.node.pnls,".brz-mm-panel_opened-parent");n.length&&t.openPanel(n[n.length-1])}}))),n.panel.add&&"panel"==n.addTo&&this.bind("openPanel:finish",(function(e){e===r&&o.focus()})),Ie(o,"input.search"),Be(o,"input.search",(function(e){switch(e.keyCode){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:break;default:t.search(o)}})),this.search(o)},Ht=function(e){if(e){var t=this.opts.searchfield;this.conf.searchfield;if(e.closest(".brz-mm-panel")||(e=Pe(this.node.pnls,".brz-mm-panel")[0]),!Pe(e,".brz-mm-panel__noresultsmsg").length){var n=Ee("div.brz-mm-panel__noresultsmsg.brz-mm-hidden");n.innerHTML=this.i18n(t.noResults),e.append(n)}}};Ce.prototype.search=function(e,t){var n,i=this,r=this.opts.searchfield;this.conf.searchfield;t=(t=t||""+e.value).toLowerCase().trim();var o=e.mmSearchfield,s=Le(e.closest(".brz-mm-searchfield"),".brz-mm-btn"),a=Pe(this.node.pnls,".brz-mm-panel_search")[0],c=o.panels,l=o.noresults,m=o.listitems,d=o.dividers;if(m.forEach((function(e){e.classList.remove("brz-mm-listitem_nosubitems"),e.classList.remove("brz-mm-listitem_onlysubitems"),e.classList.remove("brz-mm-hidden")})),a&&(Pe(a,".brz-mm-listview")[0].innerHTML=""),c.forEach((function(e){e.scrollTop=0})),t.length){d.forEach((function(e){e.classList.add("brz-mm-hidden")})),m.forEach((function(e){var n,i=Pe(e,".brz-mm-listitem__text")[0],o=!1;i&&(n=i,Array.prototype.slice.call(n.childNodes).filter((function(e){return 3==e.nodeType})).map((function(e){return e.textContent})).join(" ")).toLowerCase().indexOf(t)>-1&&(i.matches(".brz-mm-listitem__btn")?r.showSubPanels&&(o=!0):(i.matches("a")||r.showTextItems)&&(o=!0)),o||e.classList.add("brz-mm-hidden")}));var p=m.filter((function(e){return!e.matches(".brz-mm-hidden")})).length;if(r.panel.add){var f=[];c.forEach((function(e){var t=Oe(Le(e,".brz-mm-listitem"));if((t=t.filter((function(e){return!e.matches(".brz-mm-hidden")}))).length){if(r.panel.dividers){var n=Ee("li.brz-mm-divider"),i=Le(e,".brz-mm-navbar__title")[0];i&&(n.innerHTML=i.innerHTML,f.push(n))}t.forEach((function(e){f.push(e.cloneNode(!0))}))}})),f.forEach((function(e){e.querySelectorAll(".brz-mm-toggle, .brz-mm-check").forEach((function(e){e.remove()}))})),(n=Pe(a,".brz-mm-listview")[0]).append.apply(n,f),this.openPanel(a)}else r.showSubPanels&&c.forEach((function(e){Oe(Le(e,".brz-mm-listitem")).forEach((function(e){var t=e.mmChild;t&&Le(t,".brz-mm-listitem").forEach((function(e){e.classList.remove("brz-mm-hidden")}))}))})),c.slice().reverse().forEach((function(t,n){var r=t.mmParent;r&&(Oe(Le(t,".brz-mm-listitem")).length?(r.matches(".brz-mm-hidden")&&r.classList.remove("brz-mm-hidden"),r.classList.add("brz-mm-listitem_onlysubitems")):e.closest(".brz-mm-panel")||((t.matches(".brz-mm-panel_opened")||t.matches(".brz-mm-panel_opened-parent"))&&setTimeout((function(){i.openPanel(r.closest(".brz-mm-panel"))}),(n+1)*(1.5*i.conf.openingInterval)),r.classList.add("brz-mm-listitem_nosubitems")))})),c.forEach((function(e){Oe(Le(e,".brz-mm-listitem")).forEach((function(e){var t=function(e,t){for(var n=[],i=e.previousElementSibling;i;)t&&!i.matches(t)||n.push(i),i=i.previousElementSibling;return n}(e,".brz-mm-divider")[0];t&&t.classList.remove("brz-mm-hidden")}))}));s.forEach((function(e){return e.classList.remove("brz-mm-hidden")})),l.forEach((function(e){Le(e,".brz-mm-panel__noresultsmsg").forEach((function(e){return e.classList[p?"add":"remove"]("brz-mm-hidden")}))})),r.panel.add&&(r.panel.splash&&Le(a,".brz-mm-panel__content").forEach((function(e){return e.classList.add("brz-mm-hidden")})),m.forEach((function(e){return e.classList.remove("brz-mm-hidden")})),d.forEach((function(e){return e.classList.remove("brz-mm-hidden")})))}else if(m.forEach((function(e){return e.classList.remove("brz-mm-hidden")})),d.forEach((function(e){return e.classList.remove("brz-mm-hidden")})),s.forEach((function(e){return e.classList.add("brz-mm-hidden")})),l.forEach((function(e){Le(e,".brz-mm-panel__noresultsmsg").forEach((function(e){return e.classList.add("brz-mm-hidden")}))})),r.panel.add)if(r.panel.splash)Le(a,".brz-mm-panel__content").forEach((function(e){return e.classList.remove("brz-mm-hidden")}));else if(!e.closest(".brz-mm-panel_search")){var u=Pe(this.node.pnls,".brz-mm-panel_opened-parent");this.openPanel(u.slice(-1)[0])}this.trigger("updateListview")};var Bt={add:!1,addTo:"panels"};Ce.options.sectionIndexer=Bt;var It={current:!0,hover:!1,parent:!1};Ce.options.setSelected=It;var qt={collapsed:{use:!1,blockMenu:!0,hideDivider:!1,hideNavbar:!0},expanded:{use:!1,initial:"open"}};Ce.options.sidebar=qt;Ce.configs.classNames.toggles={toggle:"Toggle",check:"Check"};Ce.addons={offcanvas:function(){var e=this;if(this.opts.offCanvas){var t=function(e){return"object"!=typeof e&&(e={}),e}(this.opts.offCanvas);this.opts.offCanvas=pe(t,Ce.options.offCanvas);var n=this.conf.offCanvas;this._api.push("open","close","setPage"),this.vars.opened=!1,this.bind("initMenu:before",(function(){n.clone&&(e.node.menu=e.node.menu.cloneNode(!0),e.node.menu.id&&(e.node.menu.id="mm-"+e.node.menu.id),Le(e.node.menu,"[id]").forEach((function(e){e.id="mm-"+e.id}))),e.node.wrpr=document.body,document.querySelector(n.menu.insertSelector)[n.menu.insertMethod](e.node.menu)})),this.bind("initMenu:after",(function(){Re.call(e),e.setPage(Ce.node.page),qe.call(e),e.node.menu.classList.add("brz-mm-menu_offcanvas");var t=window.location.hash;if(t){var n=ge(e.node.menu.id);n&&n==t.slice(1)&&setTimeout((function(){e.open()}),1e3)}})),this.bind("setPage:after",(function(e){Ce.node.blck&&Pe(Ce.node.blck,"a").forEach((function(t){t.setAttribute("href","#"+e.id)}))})),this.bind("open:start:sr-aria",(function(){Ce.sr_aria(e.node.menu,"hidden",!1)})),this.bind("close:finish:sr-aria",(function(){Ce.sr_aria(e.node.menu,"hidden",!0)})),this.bind("initMenu:after:sr-aria",(function(){Ce.sr_aria(e.node.menu,"hidden",!0)})),this.bind("initBlocker:after:sr-text",(function(){Pe(Ce.node.blck,"a").forEach((function(t){t.innerHTML=Ce.sr_text(e.i18n(e.conf.screenReader.text.closeMenu))}))})),this.clck.push((function(t,n){var i=ge(e.node.menu.id);if(i&&t.matches('[href="#'+i+'"]')){if(n.inMenu)return e.open(),!0;var r=t.closest(".brz-mm-menu");if(r){var o=r.mmApi;if(o&&o.close)return o.close(),he(r,(function(){e.open()}),e.conf.transitionDuration),!0}return e.open(),!0}if((i=Ce.node.page.id)&&t.matches('[href="#'+i+'"]'))return e.close(),!0}))}},screenReader:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={aria:e,text:e}),"object"!=typeof e&&(e={}),e}(this.opts.screenReader);this.opts.screenReader=pe(t,Ce.options.screenReader);var n=this.conf.screenReader;t.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(e){Ce.sr_aria(e,"hidden",e.matches(".brz-mm-hidden"))}))})),this.bind("openPanel:start",(function(t){var n=Le(e.node.pnls,".brz-mm-panel").filter((function(e){return e!==t})).filter((function(e){return!e.parentElement.matches(".brz-mm-panel")})),i=[t];Le(t,".brz-mm-listitem_vertical .brz-mm-listitem_opened").forEach((function(e){i.push.apply(i,Pe(e,".brz-mm-panel"))})),n.forEach((function(e){Ce.sr_aria(e,"hidden",!0)})),i.forEach((function(e){Ce.sr_aria(e,"hidden",!1)}))})),this.bind("closePanel",(function(e){Ce.sr_aria(e,"hidden",!0)})),this.bind("initPanel:after",(function(e){Le(e,".brz-mm-btn").forEach((function(e){Ce.sr_aria(e,"haspopup",!0);var t=e.getAttribute("href");t&&Ce.sr_aria(e,"owns",t.replace("#",""))}))})),this.bind("initNavbar:after",(function(e){var t=Pe(e,".brz-mm-navbar")[0],n=t.matches(".brz-mm-hidden");Ce.sr_aria(t,"hidden",n)})),t.text&&"parent"==this.opts.navbar.titleLink&&this.bind("initNavbar:after",(function(e){var t=Pe(e,".brz-mm-navbar")[0],n=!!t.querySelector(".brz-mm-btn_prev");Ce.sr_aria(Le(t,".brz-mm-navbar__title")[0],"hidden",n)}))),t.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 i=Pe(t,".brz-mm-navbar")[0];if(i){var r=Pe(i,".brz-mm-btn_prev")[0];r&&(r.innerHTML=Ce.sr_text(e.i18n(n.text.closeSubmenu)))}})),this.bind("initListview:after",(function(t){var i=t.closest(".brz-mm-panel").mmParent;if(i){var r=Pe(i,".brz-mm-btn_next")[0];if(r){var o=e.i18n(n.text[r.parentElement.matches(".brz-mm-listitem_vertical")?"toggleSubmenu":"openSubmenu"]);r.innerHTML+=Ce.sr_text(o)}}})))},scrollBugFix:function(){var e=this;if(Ge&&this.opts.offCanvas&&this.opts.offCanvas.blockUI){var t=this,n=function(e){return"boolean"==typeof e&&(e={fix:e}),"object"!=typeof e&&(e={}),e}(this.opts.scrollBugFix);if(this.opts.scrollBugFix=pe(n,Ce.options.scrollBugFix),n.fix){var i,r,o=(i=this.node.menu,r="",i.addEventListener("touchmove",(function(e){r="",e.movementY>0?r="down":e.movementY<0&&(r="up")})),{get:function(){return r}});this.node.menu.addEventListener("scroll",s,{passive:!1}),this.node.menu.addEventListener("touchmove",(function(e){var n=e.target.closest(".brz-mm-panel");n?(t.opts.slidingSubmenus&&n.scrollHeight===n.offsetHeight||0==n.scrollTop&&"down"==o.get()||n.scrollHeight==n.scrollTop+n.offsetHeight&&"up"==o.get())&&s(e):s(e)}),{passive:!1}),this.bind("open:start",(function(){var t=Pe(e.node.pnls,".brz-mm-panel_opened")[0];t&&(t.scrollTop=0)})),window.addEventListener("orientationchange",(function(t){var n=Pe(e.node.pnls,".brz-mm-panel_opened")[0];n&&(n.scrollTop=0,n.style["-webkit-overflow-scrolling"]="auto",n.style["-webkit-overflow-scrolling"]="touch")}))}}function s(e){e.preventDefault(),e.stopPropagation()}},autoHeight:function(){var e=this,t=function(e){return"boolean"==typeof e&&e&&(e={height:"auto"}),"string"==typeof e&&(e={height:e}),"object"!=typeof e&&(e={}),e}(this.opts.autoHeight);if(this.opts.autoHeight=pe(t,Ce.options.autoHeight),"auto"==t.height||"highest"==t.height){var n,i=(n=function(e){return e.parentElement.matches(".brz-mm-listitem_vertical")&&(e=ke(e,".brz-mm-panel").filter((function(e){return!e.parentElement.matches(".brz-mm-listitem_vertical")}))[0]),e},function(){if(!e.opts.offCanvas||e.vars.opened){var i,r,o=0,s=e.node.menu.offsetHeight-e.node.pnls.offsetHeight;e.node.menu.classList.add("brz-mm-menu_autoheight-measuring"),"auto"==t.height?((r=Pe(e.node.pnls,".brz-mm-panel_opened")[0])&&(r=n(r)),r||(r=Pe(e.node.pnls,".brz-mm-panel")[0]),o=r.scrollHeight):"highest"==t.height&&(i=0,Pe(e.node.pnls,".brz-mm-panel").forEach((function(e){e=n(e),i=Math.max(i,e.scrollHeight)})),o=i),e.node.menu.style.height=o+s+"px",e.node.menu.classList.remove("brz-mm-menu_autoheight-measuring")}});this.bind("initMenu:after",(function(){e.node.menu.classList.add("brz-mm-menu_autoheight")})),this.opts.offCanvas&&this.bind("open:start",i),"highest"==t.height&&this.bind("initPanels:after",i),"auto"==t.height&&(this.bind("updateListview",i),this.bind("openPanel:start",i))}},backButton:function(){var e=this;if(this.opts.offCanvas){var t=function(e){return"boolean"==typeof e&&(e={close:e}),"object"!=typeof e&&(e={}),e}(this.opts.backButton);this.opts.backButton=pe(t,Ce.options.backButton);var n="#"+this.node.menu.id;if(t.close){var i=[],r=function(){i=[n],Pe(e.node.pnls,".brz-mm-panel_opened, .brz-mm-panel_opened-parent").forEach((function(e){i.push("#"+e.id)}))};this.bind("open:finish",(function(){history.pushState(null,document.title,n)})),this.bind("open:finish",r),this.bind("openPanel:finish",r),this.bind("close:finish",(function(){i=[],history.back(),history.pushState(null,document.title,location.pathname+location.search)})),window.addEventListener("popstate",(function(t){if(e.vars.opened&&i.length){var r=(i=i.slice(0,-1))[i.length-1];r==n?e.close():(e.openPanel(e.node.menu.querySelector(r)),history.pushState(null,document.title,n))}}))}t.open&&window.addEventListener("popstate",(function(t){e.vars.opened||location.hash!=n||e.open()}))}},columns:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"number"==typeof e&&(e={add:!0,visible:e}),"object"!=typeof e&&(e={}),"number"==typeof e.visible&&(e.visible={min:e.visible,max:e.visible}),e}(this.opts.columns);if(this.opts.columns=pe(t,Ce.options.columns),t.add){t.visible.min=Math.max(1,Math.min(6,t.visible.min)),t.visible.max=Math.max(t.visible.min,Math.min(6,t.visible.max));for(var n=[],i=[],r=["brz-mm-panel_opened","brz-mm-panel_opened-parent","brz-mm-panel_highest"],o=0;o<=t.visible.max;o++)n.push("brz-mm-menu_columns-"+o),i.push("brz-mm-panel_columns-"+o);r.push.apply(r,i),this.bind("openPanel:before",(function(t){var n;if(t&&(n=t.mmParent),n&&(n=n.closest(".brz-mm-panel"))){var i=n.className;if(i.length&&(i=i.split("brz-mm-panel_columns-")[1]))for(var o=parseInt(i.split(" ")[0],10)+1;o>0;){if(!(t=Pe(e.node.pnls,".brz-mm-panel_columns-"+o)[0])){o=-1;break}o++,t.classList.add("brz-mm-hidden"),r.forEach((function(e){t.classList.remove(e)}))}}})),this.bind("openPanel:start",(function(r){var o=Pe(e.node.pnls,".brz-mm-panel_opened-parent").length;r.matches(".brz-mm-panel_opened-parent")||o++,o=Math.min(t.visible.max,Math.max(t.visible.min,o)),n.forEach((function(t){e.node.menu.classList.remove(t)})),e.node.menu.classList.add("brz-mm-menu_columns-"+o);var s=[];Pe(e.node.pnls,".brz-mm-panel").forEach((function(e){i.forEach((function(t){e.classList.remove(t)})),e.matches(".brz-mm-panel_opened-parent")&&s.push(e)})),s.push(r),s.slice(-t.visible.max).forEach((function(e,t){e.classList.add("brz-mm-panel_columns-"+t)}))}))}},counters:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e,addTo:"panels",count:e}),"object"!=typeof e&&(e={}),"panels"==e.addTo&&(e.addTo=".mm-listview"),e}(this.opts.counters);if(this.opts.counters=pe(t,Ce.options.counters),this.bind("initListview:after",(function(t){var n=e.conf.classNames.counters.counter;Le(t,"."+n).forEach((function(e){Se(e,n,"brz-mm-counter")}))})),t.add&&this.bind("initListview:after",(function(e){if(e.matches(t.addTo)){var n=e.closest(".brz-mm-panel").mmParent;if(n&&!Le(n,".brz-mm-counter").length){var i=Pe(n,".brz-mm-btn")[0];i&&i.prepend(Ee("span.brz-mm-counter"))}}})),t.count){var n=function(t){(t?[t.closest(".brz-mm-panel")]:Pe(e.node.pnls,".brz-mm-panel")).forEach((function(e){var t=e.mmParent;if(t){var n=Le(t,".brz-mm-counter")[0];if(n){var i=[];Pe(e,".brz-mm-listview").forEach((function(e){i.push.apply(i,Pe(e))})),n.innerHTML=Oe(i).length.toString()}}}))};this.bind("initListview:after",n),this.bind("updateListview",n)}},dividers:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"object"!=typeof e&&(e={}),"panels"==e.addTo&&(e.addTo=".mm-listview"),e}(this.opts.dividers);this.opts.dividers=pe(t,Ce.options.dividers),this.bind("initListview:after",(function(t){Pe(t).forEach((function(t){Se(t,e.conf.classNames.divider,"brz-mm-divider"),t.matches(".brz-mm-divider")&&t.classList.remove("brz-mm-listitem")}))})),t.add&&this.bind("initListview:after",(function(e){if(e.matches(t.addTo)){Le(e,".brz-mm-divider").forEach((function(e){e.remove()}));var n="";Oe(Pe(e)).forEach((function(t){var i=Pe(t,".brz-mm-listitem__text")[0].textContent.trim().toLowerCase()[0];if(i.length&&i!=n){n=i;var r=Ee("li.brz-mm-divider");r.textContent=i,e.insertBefore(r,t)}}))}}))},drag:function(){var e=this;if(this.opts.offCanvas){var t=function(e){return"boolean"==typeof e&&(e={open:e}),"object"!=typeof e&&(e={}),e}(this.opts.drag);this.opts.drag=pe(t,Ce.options.drag),t.open&&this.bind("setPage:after",(function(n){ut.call(e,t.node||n)}))}},dropdown:function(){var e=this;if(this.opts.offCanvas){var t=function(e){return"boolean"==typeof e&&e&&(e={drop:e}),"object"!=typeof e&&(e={}),"string"==typeof e.position&&(e.position={of:e.position}),e}(this.opts.dropdown);this.opts.dropdown=pe(t,Ce.options.dropdown);var n=this.conf.dropdown;if(t.drop){var i;this.bind("initMenu:after",(function(){if(e.node.menu.classList.add("brz-mm-menu_dropdown"),"string"!=typeof t.position.of){var n=ge(e.node.menu.id);n&&(t.position.of='[href="#'+n+'"]')}if("string"==typeof t.position.of){i=Le(document.body,t.position.of)[0];var r=t.event.split(" ");1==r.length&&(r[1]=r[0]),"hover"==r[0]&&i.addEventListener("mouseenter",(function(){e.open()}),{passive:!0}),"hover"==r[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,r){var o,s,a,c=r[0],l=r[1],m="x"==e?"offsetWidth":"offsetHeight",d="x"==e?"left":"top",p="x"==e?"right":"bottom",f="x"==e?"width":"height",u="x"==e?"innerWidth":"innerHeight",h="x"==e?"maxWidth":"maxHeight",b=null,v=(o=d,i.getBoundingClientRect()[o]+document.body["left"===o?"scrollLeft":"scrollTop"]),g=v+i[m],y=window[u],z=n.offset.button[e]+n.offset.viewport[e];if(t.position[e])switch(t.position[e]){case"left":case"bottom":b="after";break;case"right":case"top":b="before"}return null===b&&(b=v+(g-v)/2<y/2?"after":"before"),"after"==b?(a=y-((s="x"==e?v:g)+z),c[d]=s+n.offset.button[e]+"px",c[p]="auto",t.tip&&l.push("brz-mm-menu_tip-"+("x"==e?"left":"top"))):(a=(s="x"==e?g:v)-z,c[p]="calc( 100% - "+(s-n.offset.button[e])+"px )",c[d]="auto",t.tip&&l.push("brz-mm-menu_tip-"+("x"==e?"right":"bottom"))),t.fitViewport&&(c[h]=Math.min(n[f].max,a)+"px"),[c,l]};this.bind("open:start",o),window.addEventListener("resize",(function(t){o.call(e)}),{passive:!0}),this.opts.offCanvas.blockUI||window.addEventListener("scroll",(function(t){o.call(e)}),{passive:!0})}}function o(){var e=this;if(this.vars.opened){this.node.menu.setAttribute("style",this.node.menu.mmStyle);var n=[{},[]];for(var i in n=r.call(this,"y",n),(n=r.call(this,"x",n))[0])this.node.menu.style[i]=n[0][i];if(t.tip){["brz-mm-menu_tip-left","brz-mm-menu_tip-right","brz-mm-menu_tip-top","brz-mm-menu_tip-bottom"].forEach((function(t){e.node.menu.classList.remove(t)})),n[1].forEach((function(t){e.node.menu.classList.add(t)}))}}}},fixedElements:function(){var e=this;if(this.opts.offCanvas){var t,n,i=this.conf.fixedElements;this.bind("setPage:after",(function(r){t=e.conf.classNames.fixedElements.fixed,n=Le(document,i.insertSelector)[0],Le(r,"."+t).forEach((function(e){Se(e,t,"brz-mm-slideout"),n[i.insertMethod](e)}))}))}},iconbar:function(){var e,t=this,n=function(e){return"array"==fe(e)&&(e={use:!0,top:e}),"object"!=fe(e)&&(e={}),void 0===e.use&&(e.use=!0),"boolean"==typeof e.use&&e.use&&(e.use=!0),e}(this.opts.iconbar);if((this.opts.iconbar=pe(n,Ce.options.iconbar),n.use)&&(["top","bottom"].forEach((function(t,i){var r=n[t];"array"!=fe(r)&&(r=[r]);for(var o=Ee("div.brz-mm-iconbar__"+t),s=0,a=r.length;s<a;s++)"string"==typeof r[s]?o.innerHTML+=r[s]:o.append(r[s]);o.children.length&&(e||(e=Ee("div.brz-mm-iconbar")),e.append(o))})),e)){this.bind("initMenu:after",(function(){t.node.menu.prepend(e)}));var i="brz-mm-menu_iconbar-"+n.position,r=function(){t.node.menu.classList.add(i),Ce.sr_aria(e,"hidden",!1)};if("boolean"==typeof n.use?this.bind("initMenu:after",r):Ae(n.use,r,(function(){t.node.menu.classList.remove(i),Ce.sr_aria(e,"hidden",!0)})),"tabs"==n.type){e.classList.add("brz-mm-iconbar_tabs"),e.addEventListener("click",(function(e){var n=e.target;if(n.matches("a"))if(n.matches(".brz-mm-iconbar__tab_selected"))e.stopImmediatePropagation();else try{var i=t.node.menu.querySelector(n.getAttribute("href"))[0];i&&i.matches(".brz-mm-panel")&&(e.preventDefault(),e.stopImmediatePropagation(),t.openPanel(i,!1))}catch(e){}}));var o=function(t){Le(e,"a").forEach((function(e){e.classList.remove("brz-mm-iconbar__tab_selected")}));var n=Le(e,'[href="#'+t.id+'"]')[0];if(n)n.classList.add("brz-mm-iconbar__tab_selected");else{var i=t.mmParent;i&&o(i.closest(".brz-mm-panel"))}};this.bind("openPanel:start",o)}}},iconPanels:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"number"!=typeof e&&"string"!=typeof e||(e={add:!0,visible:e}),"object"!=typeof e&&(e={}),e}(this.opts.iconPanels);this.opts.iconPanels=pe(t,Ce.options.iconPanels);var n=!1;if("first"==t.visible&&(n=!0,t.visible=1),t.visible=Math.min(3,Math.max(1,t.visible)),t.visible++,t.add){this.bind("initMenu:after",(function(){var n=["brz-mm-menu_iconpanel"];t.hideNavbar&&n.push("brz-mm-menu_hidenavbar"),t.hideDivider&&n.push("brz-mm-menu_hidedivider"),n.forEach((function(t){e.node.menu.classList.add(t)}))}));var i=[];if(!n)for(var r=0;r<=t.visible;r++)i.push("brz-mm-panel_iconpanel-"+r);this.bind("openPanel:start",(function(r){var o=Pe(e.node.pnls,".brz-mm-panel");if(!(r=r||o[0]).parentElement.matches(".brz-mm-listitem_vertical"))if(n)o.forEach((function(e,t){e.classList[0==t?"add":"remove"]("brz-mm-panel_iconpanel-first")}));else{o.forEach((function(e){i.forEach((function(t){e.classList.remove(t)}))})),o=o.filter((function(e){return e.matches(".brz-mm-panel_opened-parent")}));var s=!1;o.forEach((function(e){r===e&&(s=!0)})),s||o.push(r),o.forEach((function(e){e.classList.remove("brz-mm-hidden")})),(o=o.slice(-t.visible)).forEach((function(e,t){e.classList.add("brz-mm-panel_iconpanel-"+t)}))}})),this.bind("initPanel:after",(function(e){if(t.blockPanel&&!e.parentElement.matches(".brz-mm-listitem_vertical")&&!Pe(e,".brz-mm-panel__blocker")[0]){var n=Ee("a.brz-mm-panel__blocker");n.setAttribute("href","#"+e.closest(".brz-mm-panel").id),e.prepend(n)}}))}},keyboardNavigation:function(){var e=this;if(!Ge){var t=function(e){return"boolean"!=typeof e&&"string"!=typeof e||(e={enable:e}),"object"!=typeof e&&(e={}),e}(this.opts.keyboardNavigation);if(this.opts.keyboardNavigation=pe(t,Ce.options.keyboardNavigation),t.enable){var n=Ee("button.brz-mm-tabstart.brz-mm-sronly"),i=Ee("button.brz-mm-tabend.brz-mm-sronly"),r=Ee("button.brz-mm-tabend.brz-mm-sronly");this.bind("initMenu:after",(function(){t.enhance&&e.node.menu.classList.add("brz-mm-menu_keyboardfocus"),wt.call(e,t.enhance)})),this.bind("initOpened:before",(function(){e.node.menu.prepend(n),e.node.menu.append(i),Pe(e.node.menu,".brz-mm-navbars-top, .brz-mm-navbars-bottom").forEach((function(e){e.querySelectorAll(".brz-mm-navbar__title").forEach((function(e){e.setAttribute("tabindex","-1")}))}))})),this.bind("initBlocker:after",(function(){Ce.node.blck.append(r),Pe(Ce.node.blck,"a")[0].classList.add("brz-mm-tabstart")}));var o="input, select, textarea, button, label, a[href]",s=function(n){n=n||Pe(e.node.pnls,".brz-mm-panel_opened")[0];var i=null,r=document.activeElement.closest(".brz-mm-navbar");if(!r||r.closest(".brz-mm-menu")!=e.node.menu){if("default"==t.enable&&((i=Le(n,".brz-mm-listview a[href]:not(.brz-mm-hidden)")[0])||(i=Le(n,o+":not(.brz-mm-hidden)")[0]),!i)){var s=[];Pe(e.node.menu,".brz-mm-navbars_top, .brz-mm-navbars_bottom").forEach((function(e){s.push.apply(s,Le(e,o+":not(.brz-mm-hidden)"))})),i=s[0]}i||(i=Pe(e.node.menu,".brz-mm-tabstart")[0]),i&&i.focus()}};this.bind("open:finish",s),this.bind("openPanel:finish",s),this.bind("initOpened:after:sr-aria",(function(){[e.node.menu,Ce.node.blck].forEach((function(e){Pe(e,".brz-mm-tabstart, .brz-mm-tabend").forEach((function(e){Ce.sr_aria(e,"hidden",!0),Ce.sr_role(e,"presentation")}))}))}))}}},lazySubmenus:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={load:e}),"object"!=typeof e&&(e={}),e}(this.opts.lazySubmenus);this.opts.lazySubmenus=pe(t,Ce.options.lazySubmenus),t.load&&(this.bind("initMenu:after",(function(){var t=[];Le(e.node.pnls,"li").forEach((function(n){t.push.apply(t,Pe(n,e.conf.panelNodetype.join(", ")))})),t.filter((function(e){return!e.matches(".brz-mm-listview_inset")})).filter((function(e){return!e.matches(".brz-mm-nolistview")})).filter((function(e){return!e.matches(".brz-mm-nopanel")})).forEach((function(e){["brz-mm-panel_lazysubmenu","brz-mm-nolistview","brz-mm-nopanel"].forEach((function(t){e.classList.add(t)}))}))})),this.bind("initPanels:before",(function(){Pe(e.node.pnls,e.conf.panelNodetype.join(", ")).forEach((function(e){var t=".brz-mm-panel_lazysubmenu",n=Le(e,t);e.matches(t)&&n.unshift(e),n.filter((function(e){return!e.matches(".brz-mm-panel_lazysubmenu .brz-mm-panel_lazysubmenu")})).forEach((function(e){["brz-mm-panel_lazysubmenu","brz-mm-nolistview","brz-mm-nopanel"].forEach((function(t){e.classList.remove(t)}))}))}))})),this.bind("initOpened:before",(function(){var t=[];Le(e.node.pnls,"."+e.conf.classNames.selected).forEach((function(e){t.push.apply(t,ke(e,".brz-mm-panel_lazysubmenu"))})),t.length&&(t.forEach((function(e){["brz-mm-panel_lazysubmenu","brz-mm-nolistview","brz-mm-nopanel"].forEach((function(t){e.classList.remove(t)}))})),e.initPanel(t[t.length-1]))})),this.bind("openPanel:before",(function(t){var n=".brz-mm-panel_lazysubmenu",i=Le(t,n);t.matches(n)&&i.unshift(t),(i=i.filter((function(e){return!e.matches(".brz-mm-panel_lazysubmenu .brz-mm-panel_lazysubmenu")}))).forEach((function(t){e.initPanel(t)}))})))},navbars:Pt,pageScroll:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={scroll:e}),"object"!=typeof e&&(e={}),e}(this.opts.pageScroll);this.opts.pageScroll=pe(t,Ce.options.pageScroll);var n,i=this.conf.pageScroll;function r(){n&&window.scrollTo({top:n.getBoundingClientRect().top+document.scrollingElement.scrollTop-i.scrollOffset,behavior:"smooth"}),n=null}function o(e){try{return"#"!=e&&"#"==e.slice(0,1)?Ce.node.page.querySelector(e):null}catch(e){return null}}if(t.scroll&&this.bind("close:finish",(function(){r()})),this.opts.offCanvas&&t.scroll&&this.clck.push((function(t,i){if(n=null,i.inMenu){var s=t.getAttribute("href");if(n=o(s))return e.node.menu.matches(".brz-mm-menu_sidebar-expanded")&&e.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded")?void r():{close:!0}}})),t.update){var s=[];this.bind("initListview:after",(function(e){Me(Pe(e,".brz-mm-listitem")).forEach((function(e){var t=o(e.getAttribute("href"));t&&s.unshift(t)}))}));var a=-1;window.addEventListener("scroll",(function(t){for(var n=window.scrollY,r=0;r<s.length;r++)if(s[r].offsetTop<n+i.updateOffset){if(a!==r){a=r;var o=Me(Le(Pe(e.node.pnls,".brz-mm-panel_opened")[0],".brz-mm-listitem"));(o=o.filter((function(e){return e.matches('[href="#'+s[r].id+'"]')}))).length&&e.setSelected(o[0].parentElement)}break}}))}},searchfield:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"object"!=typeof e&&(e={}),"boolean"==typeof e.panel&&(e.panel={add:e.panel}),"object"!=typeof e.panel&&(e.panel={}),"panel"==e.addTo&&(e.panel.add=!0),e.panel.add&&(e.showSubPanels=!1,e.panel.splash&&(e.cancel=!0)),e}(this.opts.searchfield);this.opts.searchfield=pe(t,Ce.options.searchfield);this.conf.searchfield;t.add&&(this.bind("close:start",(function(){Le(e.node.menu,".brz-mm-searchfield").forEach((function(e){e.blur()}))})),this.bind("initPanel:after",(function(n){var i=null;t.panel.add&&(i=Ct.call(e));var r=null;switch(t.addTo){case"panels":r=[n];break;case"panel":r=[i];break;default:"string"==typeof t.addTo?r=Le(e.node.menu,t.addTo):"array"==fe(t.addTo)&&(r=t.addTo)}r.forEach((function(n){n=Nt.call(e,n),t.search&&n&&Dt.call(e,n)})),t.noResults&&Ht.call(e,t.panel.add?i:n)})),this.clck.push((function(t,n){if(n.inMenu&&t.matches(".brz-mm-searchfield__btn")){if(t.matches(".brz-mm-btn_close")){var i=Le(r=t.closest(".brz-mm-searchfield"),"input")[0];return i.value="",e.search(i),!0}var r;if(t.matches(".brz-mm-btn_next"))return(r=t.closest("form"))&&r.submit(),!0}})))},sectionIndexer:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={add:e}),"object"!=typeof e&&(e={}),e}(this.opts.sectionIndexer);this.opts.sectionIndexer=pe(t,Ce.options.sectionIndexer),t.add&&this.bind("initPanels:after",(function(){if(!e.node.indx){var t="";"abcdefghijklmnopqrstuvwxyz".split("").forEach((function(e){t+='<a href="#">'+e+"</a>"}));var n=Ee("div.brz-mm-sectionindexer");n.innerHTML=t,e.node.pnls.prepend(n),e.node.indx=n,e.node.indx.addEventListener("click",(function(e){e.target.matches("a")&&e.preventDefault()}));var i=function(t){if(t.target.matches("a")){var n=t.target.textContent,i=Pe(e.node.pnls,".brz-mm-panel_opened")[0],r=-1,o=i.scrollTop;i.scrollTop=0,Le(i,".brz-mm-divider").filter((function(e){return!e.matches(".brz-mm-hidden")})).forEach((function(e){r<0&&n==e.textContent.trim().slice(0,1).toLowerCase()&&(r=e.offsetTop)})),i.scrollTop=r>-1?r:o}};Ge?(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=Le(t,".brz-mm-divider").filter((function(e){return!e.matches(".brz-mm-hidden")})).length;e.node.indx.classList[n?"add":"remove"]("brz-mm-sectionindexer_active")}))}))},setSelected:function(){var e=this,t=function(e){return"boolean"==typeof e&&(e={hover:e,parent:e}),"object"!=typeof e&&(e={}),e}(this.opts.setSelected);if(this.opts.setSelected=pe(t,Ce.options.setSelected),"detect"==t.current){var n=function(t){t=t.split("?")[0].split("#")[0];var i=e.node.menu.querySelector('a[href="'+t+'"], a[href="'+t+'/"]');if(i)e.setSelected(i.parentElement);else{var r=t.split("/").slice(0,-1);r.length&&n(r.join("/"))}};this.bind("initMenu:after",(function(){n.call(e,window.location.href)}))}else t.current||this.bind("initListview:after",(function(e){Pe(e,".brz-mm-listitem_selected").forEach((function(e){e.classList.remove("brz-mm-listitem_selected")}))}));t.hover&&this.bind("initMenu:after",(function(){e.node.menu.classList.add("brz-mm-menu_selected-hover")})),t.parent&&(this.bind("openPanel:finish",(function(t){Le(e.node.pnls,".brz-mm-listitem_selected-parent").forEach((function(e){e.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 e=this;if(this.opts.offCanvas){var t=function(e){return("string"==typeof e||"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}(this.opts.sidebar);if(this.opts.sidebar=pe(t,Ce.options.sidebar),t.collapsed.use){this.bind("initMenu:after",(function(){if(e.node.menu.classList.add("brz-mm-menu_sidebar-collapsed"),t.collapsed.blockMenu&&e.opts.offCanvas&&!Pe(e.node.menu,".brz-mm-menu__blocker")[0]){var n=Ee("a.brz-mm-menu__blocker");n.setAttribute("href","#"+e.node.menu.id),e.node.menu.prepend(n)}t.collapsed.hideNavbar&&e.node.menu.classList.add("brz-mm-menu_hidenavbar"),t.collapsed.hideDivider&&e.node.menu.classList.add("brz-mm-menu_hidedivider")}));var n=function(){e.node.wrpr.classList.add("brz-mm-wrapper_sidebar-collapsed")},i=function(){e.node.wrpr.classList.remove("brz-mm-wrapper_sidebar-collapsed")};"boolean"==typeof t.collapsed.use?this.bind("initMenu:after",n):Ae(t.collapsed.use,n,i)}if(t.expanded.use){this.bind("initMenu:after",(function(){e.node.menu.classList.add("brz-mm-menu_sidebar-expanded")}));n=function(){e.node.wrpr.classList.add("brz-mm-wrapper_sidebar-expanded"),e.node.wrpr.matches(".brz-mm-wrapper_sidebar-closed")||e.open()},i=function(){e.node.wrpr.classList.remove("brz-mm-wrapper_sidebar-expanded"),e.close()};"boolean"==typeof t.expanded.use?this.bind("initMenu:after",n):Ae(t.expanded.use,n,i),this.bind("close:start",(function(){e.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded")&&(e.node.wrpr.classList.add("brz-mm-wrapper_sidebar-closed"),"remember"==t.expanded.initial&&window.localStorage.setItem("mmenuExpandedState","closed"))})),this.bind("open:start",(function(){e.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded")&&(e.node.wrpr.classList.remove("brz-mm-wrapper_sidebar-closed"),"remember"==t.expanded.initial&&window.localStorage.setItem("mmenuExpandedState","open"))}));var r=t.expanded.initial;if("remember"==t.expanded.initial){var o=window.localStorage.getItem("mmenuExpandedState");switch(o){case"open":case"closed":r=o}}"closed"==r&&this.bind("initMenu:after",(function(){e.node.wrpr.classList.add("brz-mm-wrapper_sidebar-closed")})),this.clck.push((function(n,i){if(i.inMenu&&i.inListview&&e.node.wrpr.matches(".brz-mm-wrapper_sidebar-expanded"))return{close:"closed"==t.expanded.initial}}))}}},toggles:function(){var e=this;this.bind("initPanel:after",(function(t){Le(t,"input").forEach((function(t){Se(t,e.conf.classNames.toggles.toggle,"brz-mm-toggle"),Se(t,e.conf.classNames.toggles.check,"brz-mm-check")}))}))}};var Rt=Ce}});