!function(){var e={5805:function(e,t,n){e.exports=n(8337)},8337:function(e,t,n){var o=this,l=n(9419),i=n(5938),r=n(7887),a=n(7421),c=a.DOM_ID_SELECTORS,d=a.DOM_CLASS_SELECTORS,u=n(6937),s=function(){var e=document.getElementById(c.MENU_BUTTON),t=document.getElementById(c.NAV_LIST),n=document.getElementById(c.NAV_POPOVER),a=[],s=document.getElementById(c.MOBILE_SWITCH);u(),s.checked&&r(),e.addEventListener("click",r),a=i(a,t),l(a,t,n);var E=document.querySelectorAll('[data-js="categories-toggle"]');function y(){var e=this;document.querySelectorAll('[data-toggle="'.concat(this.id,'"]')).forEach((function(t){t.style.display=e.checked?"block":"none"}),this)}(null==E?void 0:E.length)>0&&E.forEach((function(e){e.addEventListener("click",y)}),o);var _,p,v,S,f,m,h,g,O;_=document.querySelector(d.MENU_ELEMENT),p=document.querySelector(d.LOGO_ELEMENT),v=document.querySelector(d.NAV_ICONS),S=document.querySelector(d.NAV_LIST),f=parseInt(window.getComputedStyle(_,null).getPropertyValue("width").replace("px",""),10),m=parseInt(window.getComputedStyle(p,null).getPropertyValue("width").replace("px",""),10),h=parseInt(window.getComputedStyle(v,null).getPropertyValue("width").replace("px",""),10),g=parseInt(window.getComputedStyle(S,null).getPropertyValue("width").replace("px",""),10),O=document.querySelector(".nav-default-list .nav-default-list__item:not(.nav-default__hamburger-button)"),f li:nth-child(2) > a > span")).color;(n[0]||"nav-default__see-more"===e.id||"how-buy__button"===e.getAttribute("data-js"))&&(e.style.boxShadow="inset 0 -2px 0 ".concat(l))}}(t,i)}))})),n.addEventListener("mouseleave",(function(){!function(e){e.style.display="none"}(n)}))}},5938:function(e,t,n){var o=n(1721).convertHTMLCollectionToArray,l=n(7421),i=l.DOM_ID_SELECTORS,r=l.DOM_CLASS_SELECTORS;e.exports=function(e,t){var n=document.getElementById(i.SEE_MORE),l=document.getElementById(i.SALES_LINK),a=document.querySelector(r.BUTTON_BUY),c=o(t.children),d=0,u=l?l.clientWidth:0,s=a?a.clientWidth:0,E=t.clientWidth-(u+n.clientWidth+s),y=[i.HAMBURGER_BUTTON,i.SEE_MORE,i.SALES_LINK,i.BUTTON_BUY];return c.forEach((function(t,n){-1===y.indexOf(t.id)&&((n!==c.length-y.length||y?t.clientWidth+d<=E:t.clientWidth<=E)?d+=t.clientWidth:(e.push(t.textContent),t.setAttribute("style","display: none !important")))})),e.length||n.setAttribute("style","display: none !important"),e}},7887:function(e,t,n){var o=n(7421).DOM_CLASS_SELECTORS;e.exports=function(){var e=document.body,t=document.getElementById(o.RESPONSIVE_MENU),n="hidden",l="body--block-scroll",i=window.getComputedStyle(t,null).getPropertyValue("visibility");t.style.transition="0.2s",i===n?(t.style.visibility="visible",t.style.opacity="1",t.style.left="0",e.classList.add(l)):(t.style.visibility=n,t.style.opacity="0",t.style.left="-95vw",e.classList.remove(l))}},7421:function(e){e.exports={WHITESPACE_REGEX:/\s/g,DOM_ID_SELECTORS:{MENU_BUTTON:"hamburguer-menu",NAV_LIST:"nav-list",NAV_POPOVER:"popover-menu",NAV_POPOVER_LIST:"nav-popover-list",SIDEBAR_CLOSE_BUTTON:"close-sidebar-button",MOBILE_SWITCH:"mobile-categories-menu-switch",SALES_LINK:"nav-default__sale-link",SEE_MORE:"nav-default__see-more",BUTTON_BUY:"how-buy__button",HAMBURGER_BUTTON:"nav-default__hamburger-button"},DOM_CLASS_SELECTORS:{MENU_ELEMENT:".nav-default-header__bounds",LOGO_ELEMENT:".nav-default-header__title",NAV_ICONS:".nav-default-header__nav-icons",NAV_LIST:".nav-default-list",BUTTON_BUY:".how-buy__button",RESPONSIVE_MENU:"responsive-menu"}}},1721:function(e,t,n){var o=n(7421).WHITESPACE_REGEX;e.exports={getScreenSize:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},getElementWidth:function(e){return e?parseInt(e.clientWidth,10):0},setElementDisplay:function(e,t){e.style.display=t},convertHTMLCollectionToArray:function(e){return Array.prototype.slice.call(e)},removeWhiteSpace:function(e){return e.replace(o,"")}}}},t={};var n=function n(o){var l=t[o];if(void 0!==l)return l.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}(5805),o=window;for(var l in n)o[l]=n[l];n.__esModule&&Object.defineProperty(o,"__esModule",{value:!0})}();