/******/(()=>{// webpackBootstrap /******/var t={102:()=>{},452:()=>{},759:()=>{},441:()=>{}},e={};function r(i){var l=e[i];if(void 0!==l)return l.exports;var n=e[i]={exports:{}};return t[i](n,n.exports,r),n.exports}(()=>{"use strict";r(441),r(759),r(452),r(102); /*! * perfect-scrollbar v1.4.0 * (c) 2018 Hyunje Jun * @license MIT */ function t(t){return getComputedStyle(t)}function e(t,e){for(var r in e){var i=e[r];"number"==typeof i&&(i+="px"),t.style[r]=i}return t}function i(t){var e=document.createElement("div");return e.className=t,e}var l="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function n(t,e){if(!l)throw new Error("No element matching method supported");return l.call(t,e)}function o(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function s(t,e){return Array.prototype.filter.call(t.children,function(t){return n(t,e)})}var a={main:"ps",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},c={x:null,y:null};function h(t,e){var r=t.element.classList,i=a.state.scrolling(e);r.contains(i)?clearTimeout(c[e]):r.add(i)}function u(t,e){c[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(a.state.scrolling(e))},t.settings.scrollingThreshold)}var d=function(t){this.element=t,this.handlers={}},f={isEmpty:{configurable:!0}};d.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},d.prototype.unbind=function(t,e){var r=this;this.handlers[t]=this.handlers[t].filter(function(i){return!(!e||i===e)||(r.element.removeEventListener(t,i,!1),!1)})},d.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},f.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return 0===t.handlers[e].length})},Object.defineProperties(d.prototype,f);var p=function(){this.eventElements=[]};function b(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}p.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new d(t),this.eventElements.push(e)),e},p.prototype.bind=function(t,e,r){this.eventElement(t).bind(e,r)},p.prototype.unbind=function(t,e,r){var i=this.eventElement(t);i.unbind(e,r),i.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(i),1)},p.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},p.prototype.once=function(t,e,r){var i=this.eventElement(t),l=function(t){i.unbind(e,l),r(t)};i.bind(e,l)};var g=function(t,e,r,i,l){var n;if(void 0===i&&(i=!0),void 0===l&&(l=!1),"top"===e)n=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");n=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,r,i,l){var n=r[0],o=r[1],s=r[2],a=r[3],c=r[4],d=r[5];void 0===i&&(i=!0);void 0===l&&(l=!1);var f=t.element;t.reach[a]=null,f[s]<1&&(t.reach[a]="start");f[s]>t[n]-t[o]-1&&(t.reach[a]="end");e&&(f.dispatchEvent(b("ps-scroll-"+a)),e<0?f.dispatchEvent(b("ps-scroll-"+c)):e>0&&f.dispatchEvent(b("ps-scroll-"+d)),i&&function(t,e){h(t,e),u(t,e)}(t,a));t.reach[a]&&(e||l)&&f.dispatchEvent(b("ps-"+a+"-reach-"+t.reach[a]))}(t,r,n,i,l)};function v(t){return parseInt(t,10)||0}var m={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},Y=function(t){var r=t.element,i=Math.floor(r.scrollTop);t.containerWidth=r.clientWidth,t.containerHeight=r.clientHeight,t.contentWidth=r.scrollWidth,t.contentHeight=r.scrollHeight,r.contains(t.scrollbarXRail)||(s(r,a.element.rail("x")).forEach(function(t){return o(t)}),r.appendChild(t.scrollbarXRail)),r.contains(t.scrollbarYRail)||(s(r,a.element.rail("y")).forEach(function(t){return o(t)}),r.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,r){var i={width:r.railXWidth},l=Math.floor(t.scrollTop);r.isRtl?i.left=r.negativeScrollAdjustment+t.scrollLeft+r.containerWidth-r.contentWidth:i.left=t.scrollLeft;r.isScrollbarXUsingBottom?i.bottom=r.scrollbarXBottom-l:i.top=r.scrollbarXTop+l;e(r.scrollbarXRail,i);var n={top:l,height:r.railYHeight};r.isScrollbarYUsingRight?r.isRtl?n.right=r.contentWidth-(r.negativeScrollAdjustment+t.scrollLeft)-r.scrollbarYRight-r.scrollbarYOuterWidth:n.right=r.scrollbarYRight-t.scrollLeft:r.isRtl?n.left=r.negativeScrollAdjustment+t.scrollLeft+2*r.containerWidth-r.contentWidth-r.scrollbarYLeft-r.scrollbarYOuterWidth:n.left=r.scrollbarYLeft+t.scrollLeft;e(r.scrollbarYRail,n),e(r.scrollbarX,{left:r.scrollbarXLeft,width:r.scrollbarXWidth-r.railBorderXWidth}),e(r.scrollbarY,{top:r.scrollbarYTop,height:r.scrollbarYHeight-r.railBorderYWidth})}(r,t),t.scrollbarXActive?r.classList.add(a.state.active("x")):(r.classList.remove(a.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,r.scrollLeft=0),t.scrollbarYActive?r.classList.add(a.state.active("y")):(r.classList.remove(a.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,r.scrollTop=0)};function X(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function w(t,e){var r=e[0],i=e[1],l=e[2],n=e[3],o=e[4],s=e[5],c=e[6],d=e[7],f=e[8],p=t.element,b=null,g=null,v=null;function m(e){p[c]=b+v*(e[l]-g),h(t,d),Y(t),e.stopPropagation(),e.preventDefault()}function X(){u(t,d),t[f].classList.remove(a.state.clicking),t.event.unbind(t.ownerDocument,"mousemove",m)}t.event.bind(t[o],"mousedown",function(e){b=p[c],g=e[l],v=(t[i]-t[r])/(t[n]-t[s]),t.event.bind(t.ownerDocument,"mousemove",m),t.event.once(t.ownerDocument,"mouseup",X),t[f].classList.add(a.state.clicking),e.stopPropagation(),e.preventDefault()})}var y={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarYRail,"mousedown",function(e){var r=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top>t.scrollbarYTop?1:-1;t.element.scrollTop+=r*t.containerHeight,Y(t),e.stopPropagation()}),t.event.bind(t.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarXRail,"mousedown",function(e){var r=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=r*t.containerWidth,Y(t),e.stopPropagation()})},"drag-thumb":function(t){w(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),w(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",function(r){if(!(r.isDefaultPrevented&&r.isDefaultPrevented()||r.defaultPrevented)&&(n(e,":hover")||n(t.scrollbarX,":focus")||n(t.scrollbarY,":focus"))){var i,l=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(l){if("IFRAME"===l.tagName)l=l.contentDocument.activeElement;else for(;l.shadowRoot;)l=l.shadowRoot.activeElement;if(n(i=l,"input,[contenteditable]")||n(i,"select,[contenteditable]")||n(i,"textarea,[contenteditable]")||n(i,"button,[contenteditable]"))return}var o=0,s=0;switch(r.which){case 37:o=r.metaKey?-t.contentWidth:r.altKey?-t.containerWidth:-30;break;case 38:s=r.metaKey?t.contentHeight:r.altKey?t.containerHeight:30;break;case 39:o=r.metaKey?t.contentWidth:r.altKey?t.containerWidth:30;break;case 40:s=r.metaKey?-t.contentHeight:r.altKey?-t.containerHeight:-30;break;case 32:s=r.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:s=t.containerHeight;break;case 34:s=-t.containerHeight;break;case 36:s=t.contentHeight;break;case 35:s=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==o||t.settings.suppressScrollY&&0!==s||(e.scrollTop-=s,e.scrollLeft+=o,Y(t),function(r,i){var l=Math.floor(e.scrollTop);if(0===r){if(!t.scrollbarYActive)return!1;if(0===l&&i>0||l>=t.contentHeight-t.containerHeight&&i<0)return!t.settings.wheelPropagation}var n=e.scrollLeft;if(0===i){if(!t.scrollbarXActive)return!1;if(0===n&&r<0||n>=t.contentWidth-t.containerWidth&&r>0)return!t.settings.wheelPropagation}return!0}(o,s)&&r.preventDefault())}})},wheel:function(e){var r=e.element;function i(i){var l=function(t){var e=t.deltaX,r=-1*t.deltaY;return void 0!==e&&void 0!==r||(e=-1*t.wheelDeltaX/6,r=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,r*=10),e!=e&&r!=r&&(e=0,r=t.wheelDelta),t.shiftKey?[-r,-e]:[e,r]}(i),n=l[0],o=l[1];if(!function(e,i,l){if(!m.isWebKit&&r.querySelector("select:focus"))return!0;if(!r.contains(e))return!1;for(var n=e;n&&n!==r;){if(n.classList.contains(a.element.consuming))return!0;var o=t(n);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var s=n.scrollHeight-n.clientHeight;if(s>0&&!(0===n.scrollTop&&l>0||n.scrollTop===s&&l<0))return!0;var c=n.scrollWidth-n.clientWidth;if(c>0&&!(0===n.scrollLeft&&i<0||n.scrollLeft===c&&i>0))return!0}n=n.parentNode}return!1}(i.target,n,o)){var s=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(o?r.scrollTop-=o*e.settings.wheelSpeed:r.scrollTop+=n*e.settings.wheelSpeed,s=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(n?r.scrollLeft+=n*e.settings.wheelSpeed:r.scrollLeft-=o*e.settings.wheelSpeed,s=!0):(r.scrollTop-=o*e.settings.wheelSpeed,r.scrollLeft+=n*e.settings.wheelSpeed),Y(e),(s=s||function(t,i){var l=Math.floor(r.scrollTop),n=0===r.scrollTop,o=l+r.offsetHeight===r.scrollHeight,s=0===r.scrollLeft,a=r.scrollLeft+r.offsetWidth===r.scrollWidth;return!(Math.abs(i)>Math.abs(t)?n||o:s||a)||!e.settings.wheelPropagation}(n,o))&&!i.ctrlKey&&(i.stopPropagation(),i.preventDefault())}}void 0!==window.onwheel?e.event.bind(r,"wheel",i):void 0!==window.onmousewheel&&e.event.bind(r,"mousewheel",i)},touch:function(e){if(m.supportsTouch||m.supportsIePointer){var r=e.element,i={},l=0,n={},o=null;m.supportsTouch?(e.event.bind(r,"touchstart",u),e.event.bind(r,"touchmove",d),e.event.bind(r,"touchend",f)):m.supportsIePointer&&(window.PointerEvent?(e.event.bind(r,"pointerdown",u),e.event.bind(r,"pointermove",d),e.event.bind(r,"pointerup",f)):window.MSPointerEvent&&(e.event.bind(r,"MSPointerDown",u),e.event.bind(r,"MSPointerMove",d),e.event.bind(r,"MSPointerUp",f)))}function s(t,i){r.scrollTop-=i,r.scrollLeft-=t,Y(e)}function c(t){return t.targetTouches?t.targetTouches[0]:t}function h(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||(!t.targetTouches||1!==t.targetTouches.length)&&(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function u(t){if(h(t)){var e=c(t);i.pageX=e.pageX,i.pageY=e.pageY,l=(new Date).getTime(),null!==o&&clearInterval(o)}}function d(o){if(h(o)){var u=c(o),d={pageX:u.pageX,pageY:u.pageY},f=d.pageX-i.pageX,p=d.pageY-i.pageY;if(function(e,i,l){if(!r.contains(e))return!1;for(var n=e;n&&n!==r;){if(n.classList.contains(a.element.consuming))return!0;var o=t(n);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var s=n.scrollHeight-n.clientHeight;if(s>0&&!(0===n.scrollTop&&l>0||n.scrollTop===s&&l<0))return!0;var c=n.scrollLeft-n.clientWidth;if(c>0&&!(0===n.scrollLeft&&i<0||n.scrollLeft===c&&i>0))return!0}n=n.parentNode}return!1}(o.target,f,p))return;s(f,p),i=d;var b=(new Date).getTime(),g=b-l;g>0&&(n.x=f/g,n.y=p/g,l=b),function(t,i){var l=Math.floor(r.scrollTop),n=r.scrollLeft,o=Math.abs(t),s=Math.abs(i);if(s>o){if(i<0&&l===e.contentHeight-e.containerHeight||i>0&&0===l)return 0===window.scrollY&&i>0&&m.isChrome}else if(o>s&&(t<0&&n===e.contentWidth-e.containerWidth||t>0&&0===n))return!0;return!0}(f,p)&&o.preventDefault()}}function f(){e.settings.swipeEasing&&(clearInterval(o),o=setInterval(function(){e.isInitialized?clearInterval(o):n.x||n.y?Math.abs(n.x)<.01&&Math.abs(n.y)<.01?clearInterval(o):(s(30*n.x,30*n.y),n.x*=.8,n.y*=.8):clearInterval(o)},10))}}},W=function(r,l){var n=this;if(void 0===l&&(l={}),"string"==typeof r&&(r=document.querySelector(r)),!r||!r.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var o in this.element=r,r.classList.add(a.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},l)n.settings[o]=l[o];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s,c,h=function(){return r.classList.add(a.state.focus)},u=function(){return r.classList.remove(a.state.focus)};this.isRtl="rtl"===t(r).direction,this.isNegativeScroll=(c=r.scrollLeft,r.scrollLeft=-1,s=r.scrollLeft<0,r.scrollLeft=c,s),this.negativeScrollAdjustment=this.isNegativeScroll?r.scrollWidth-r.clientWidth:0,this.event=new p,this.ownerDocument=r.ownerDocument||document,this.scrollbarXRail=i(a.element.rail("x")),r.appendChild(this.scrollbarXRail),this.scrollbarX=i(a.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",h),this.event.bind(this.scrollbarX,"blur",u),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var d=t(this.scrollbarXRail);this.scrollbarXBottom=parseInt(d.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=v(d.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=v(d.borderLeftWidth)+v(d.borderRightWidth),e(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=v(d.marginLeft)+v(d.marginRight),e(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=i(a.element.rail("y")),r.appendChild(this.scrollbarYRail),this.scrollbarY=i(a.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",h),this.event.bind(this.scrollbarY,"blur",u),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var f=t(this.scrollbarYRail);this.scrollbarYRight=parseInt(f.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=v(f.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var r=t(e);return v(r.width)+v(r.paddingLeft)+v(r.paddingRight)+v(r.borderLeftWidth)+v(r.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=v(f.borderTopWidth)+v(f.borderBottomWidth),e(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=v(f.marginTop)+v(f.marginBottom),e(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:r.scrollLeft<=0?"start":r.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:r.scrollTop<=0?"start":r.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(t){return y[t](n)}),this.lastScrollTop=Math.floor(r.scrollTop),this.lastScrollLeft=r.scrollLeft,this.event.bind(this.element,"scroll",function(t){return n.onScroll(t)}),Y(this)};W.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,e(this.scrollbarXRail,{display:"block"}),e(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=v(t(this.scrollbarXRail).marginLeft)+v(t(this.scrollbarXRail).marginRight),this.railYMarginHeight=v(t(this.scrollbarYRail).marginTop)+v(t(this.scrollbarYRail).marginBottom),e(this.scrollbarXRail,{display:"none"}),e(this.scrollbarYRail,{display:"none"}),Y(this),g(this,"top",0,!1,!0),g(this,"left",0,!1,!0),e(this.scrollbarXRail,{display:""}),e(this.scrollbarYRail,{display:""}))},W.prototype.onScroll=function(t){this.isAlive&&(Y(this),g(this,"top",this.element.scrollTop-this.lastScrollTop),g(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},W.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),o(this.scrollbarX),o(this.scrollbarY),o(this.scrollbarXRail),o(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},W.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};const L=W; /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ $(document).ready(function(){$(".nav-bar-overflow").length>0&&new L(".nav-bar-overflow")})})()})();