<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*! Plus+ for Lightspeed | (c) Plus+ B.V. | https://plus.dmws.nl */
(function(){var n=function n(e){var o=document.createElement('link');o.rel='stylesheet',o.href=e,document.head.appendChild(o)},e=function n(e){var o=document.createElement('script');o.src=e,o.async=!0,document.head.appendChild(o)},o=function n(e){if(void 0===window.jQuery)var o=setInterval((function(){void 0!==window.jQuery&amp;&amp;(clearInterval(o),e(window.jQuery))}),10);else e(window.jQuery)};window.dmws=window.dmws||{},window.dmws.utils=window.dmws.utils||{},window.dmws.baseUrl='https://app.dmws.plus',window.dmws.cdnBaseUrl='https://cdn.webshopapp.com/shops/243452/files/',window.dmws.mainLanguage='nl',window.dmws.shopLanguage={us:'en',fc:'fr'}[document.documentElement.lang]||document.documentElement.lang,window.dmws.shopBaseUrl=location.origin,1===parseInt('1')&amp;&amp;(window.dmws.shopBaseUrl+='/'.concat(location.pathname.split('/')[1]));window.dmws.settings=JSON.parse('{\u0022checkout\u0022:{\u0022checkoutVersion\u0022:1,\u0022loginFormVersion\u0022:\u0022v2\u0022,\u0022googleLoginButtonDisplay\u0022:\u0022block\u0022,\u0022facebookLoginButtonDisplay\u0022:\u0022block\u0022,\u0022detailsCreateAccountDisplay\u0022:\u0022block\u0022,\u0022initialCartDisplay\u0022:\u0022none\u0022,\u0022shippingOptionButtonDesktopDisplay\u0022:\u0022block\u0022,\u0022paymentOptionButtonDesktopDisplay\u0022:\u0022block\u0022,\u0022paymentMostChosenDisplay\u0022:\u0022block\u0022,\u0022paymentMostChosenMethod\u0022:\u0022ideal\u0022,\u0022paymentHeadingsDisplay\u0022:\u0022none\u0022,\u0022payButtonPriceDisplay\u0022:\u0022none\u0022,\u0022reviewPayButtonDisplay\u0022:\u0022block\u0022,\u0022reviewCommentBlockDisplay\u0022:\u0022block\u0022,\u0022reviewContactDisplay\u0022:\u0022block\u0022,\u0022initialNewsletterChecked\u0022:\u00220\u0022,\u0022thankYouContactDisplay\u0022:\u0022block\u0022,\u0022paypalButtonUsePayLabel\u0022:0,\u0022logoUrl\u0022:\u0022https:\\\/\\\/app.dmws.plus\\\/shop-assets\\\/243452\\\/checkout-logo.png?id=1635778396\u0022,\u0022addressService\u0022:\u0022postcodeApi\u0022,\u0022addressCountries\u0022:[],\u0022strictAdditions\u0022:false}}'),o((function($){return $('html').trigger('dmws-plus:init')}));var t=new URLSearchParams(location.search),d=!1;t.has('__dmws_plus_checkoutpreview')?(n('https://app.dmws.plus/css/checkout-preview.css'),e('https://app.dmws.plus/js/checkout-preview.js')):t.has('__dmws_plus_devmode')?(localStorage.setItem('dmws:devmode','10'),history.replaceState({},'',location.href.split('?').shift()),d=!0):d='1'===(localStorage.getItem('dmws:devmode')||'')[0],d&amp;&amp;(n('https://app.dmws.plus/shop-assets/243452/dmws-plus-preview.css?id=663f43b2fc14f960762bf8247c96f0a5'),n('https://app.dmws.plus/css/devmode-toolbar.css'),e('https://app.dmws.plus/js/devmode-toolbar.js'));(function(){(function(settings){(function(){if(-1!==window.location.href.indexOf('/checkout/')){var e=function e(){if(window.dmws&amp;&amp;window.dmws.checkout){window.dataLayer=window.dataLayer||[];var t=window.dmws.checkout,n={details:1,shipment:2,payment:3,review:4};if('method'!==t.step){if(t.order){var o=t.order.currency;return delete t.order.currency,void window.dataLayer.push({event:'purchase',ecommerce:{currencyCode:o,purchase:{actionField:t.order,products:t.products}}})}window.dataLayer.push({event:'checkout',ecommerce:{checkout:{actionField:{step:n[t.step]||1},products:t.products}}}),$('[name=shipment_method], [name=payment_method]').on('change',(function(e){var o=$(e.currentTarget).next('label').contents(),r=o.length?o[0].textContent.trim():e.currentTarget.value.split('|').join(' - ');window.dataLayer.push({event:'checkoutOption',ecommerce:{checkout_option:{actionField:{step:n[t.step],option:r}}}})}))}}};'loading'!==document.readyState?e():window.addEventListener('DOMContentLoaded',e)}})();})({});})();;var i=[],registerAddon=function registerAddon(n,e,o){i.push(n),e&amp;&amp;e(window.jQuery,o)},registerDevAddon=function registerDevAddon(n,e,o){d&amp;&amp;registerAddon(n,e,o)},s=function n($){var e=$(['f','e','a','p'].map((function(n){return"[id^=\"dmws-".concat(n,"_\"]")})).join(','));e.each((function(n,o){var t=o.id.substring(7);i.some((function(n){return 0===t.indexOf(n)}))||e.eq(n).remove()}))},a;window.dmws.utils.isAddonActive=function(n){return i.indexOf(n)&gt;-1},window.dmws.utils.deleteInactiveAddonNodes=s,o((function n($){(function($){/*
To use the popup:
- Add the class 'dmws-f_popup--link' to the click element to show the popup.
- Also add 'data-dmws-f-popup="#dmws-f_popup-ADDON' with the addon name to the click element.
- Create the popup with the same ID as data-dmws-f-popup.
- Add the class 'dmws-f_popup' to the popup.
- Give the popup 'style="display: none;"'.
- Directly enter the content of the popup. The rest is done with the script.
*/
$(function () {
    var closePopup = function (wrapper) {
        wrapper
            .removeClass('dmws-f-active')
            .find('.dmws-f_popup')
            .trigger('hide.dmws-popup');
    };

    $(document)
        .on('click', '.dmws-f_popup--link', function (e) {
            e.preventDefault();
            var popup = $($(this).data('dmws-f-popup'));
            // First setup
            if (! popup.hasClass('dmws-f-done')) {
                $('body').prepend(popup.detach().addClass('dmws-f-done').show());
                popup.wrap('&lt;div class="dmws-f-popup-wrap dmws-f-done"&gt;&lt;/div&gt;');
                var wrapper = popup.parent();
                var close = $('&lt;svg class="dmws-f-popup-close" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M1 13L13 1M1 1L13 13" stroke="#9CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/&gt;&lt;/svg&gt;');
                popup.prepend(close);
                if (!popup.hasClass('unclosable')){
                wrapper.on('mouseup', function (e) {
                    if (e.target === e.currentTarget) {
                        closePopup(wrapper);
                    }
                });
              }
            close.on('mouseup', function () {
                closePopup(wrapper);
            });
            }

            popup.parent().addClass('dmws-f-active');
            popup.trigger('show.dmws-popup');
        });
});})(window.jQuery),(function($){var dmws_url_pool = {};
window.dmws.getData = function(url) {
  if (!dmws_url_pool[url]) {
    dmws_url_pool[url] = $.ajax({
      url: url,
      crossDomain: true
    });
  }
  return dmws_url_pool[url];
}})(window.jQuery),(function($){window.dmws.isInViewport = function (el) {
    let elementTop = el.offset().top - 200;
    let elementBottom = elementTop + el.outerHeight();

    let viewportTop = $(window).scrollTop();
    let viewportBottom = viewportTop + $(window).height();
    
    return elementBottom &gt; viewportTop &amp;&amp; elementTop &lt; viewportBottom;
  };})(window.jQuery),(function(){function _typeof(e){return _typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},_typeof(e)
/*! RateIt | v1.1.5 / 03/10/2021
   https://github.com/gjunge/rateit.js | Twitter: @gjunge
*/}(function($){function e(e){var t,a=e.originalEvent.changedTouches[0],i="";switch(e.type){case"touchmove":i="mousemove";break;case"touchend":i="mouseup";break;default:return}var r=document.createEvent("MouseEvent");r.initMouseEvent(i,!0,!0,window,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(r),e.preventDefault()}$.rateit={aria:{resetLabel:'reset rating',ratingLabel:'rating'}},$.fn.rateit=function(t,a){var i=1,r={},n='init',s=function e(t){return t.charAt(0).toUpperCase()+t.substr(1)};if(0===this.length)return this;var l=_typeof(t);if('object'==l||null==t)r=$.extend({},$.fn.rateit.defaults,t);else{if('string'==l&amp;&amp;'reset'!==t&amp;&amp;void 0===a)return this.data('rateit'+s(t));'string'==l&amp;&amp;(n='setvalue')}return this.each((function(){var l=$(this),d=function e(t,a){if(null!=a){var i='aria-value'+('value'==t?'now':t),r=l.find('.rateit-range');null!=r.attr(i)&amp;&amp;r.attr(i,a)}return arguments[0]='rateit'+s(t),l.data.apply(l,arguments)};if('reset'==t){var o=d('init'),u;for(var m in o)l.data(m,o[m]);if(d('backingfld'))'SELECT'==(u=$(d('backingfld')))[0].nodeName&amp;&amp;'index'===u[0].getAttribute('data-rateit-valuesrc')?u.prop('selectedIndex',d('value')):u.val(d('value')),u.trigger('change'),u[0].min&amp;&amp;(u[0].min=d('min')),u[0].max&amp;&amp;(u[0].max=d('max')),u[0].step&amp;&amp;(u[0].step=d('step'));l.trigger('reset')}l.hasClass('rateit')||l.addClass('rateit');var v='rtl'!=l.css('direction');if('setvalue'==n){if(!d('init'))throw'Can\'t set value before init';var u;if('readonly'!=t||1!=a||d('readonly')||(l.find('.rateit-range').off(),d('wired',!1)),'value'==t&amp;&amp;(a=null==a?d('min'):Math.max(d('min'),Math.min(d('max'),a))),d('backingfld'))'SELECT'==(u=$(d('backingfld')))[0].nodeName&amp;&amp;'index'===u[0].getAttribute('data-rateit-valuesrc')?'value'==t&amp;&amp;u.prop('selectedIndex',a):'value'==t&amp;&amp;u.val(a),'min'==t&amp;&amp;u[0].min&amp;&amp;(u[0].min=a),'max'==t&amp;&amp;u[0].max&amp;&amp;(u[0].max=a),'step'==t&amp;&amp;u[0].step&amp;&amp;(u[0].step=a);d(t,a)}if(!d('init')){var u;if(d('mode',d('mode')||r.mode),d('icon',d('icon')||r.icon),d('min',isNaN(d('min'))?r.min:d('min')),d('max',isNaN(d('max'))?r.max:d('max')),d('step',d('step')||r.step),d('readonly',void 0!==d('readonly')?d('readonly'):r.readonly),d('resetable',void 0!==d('resetable')?d('resetable'):r.resetable),d('backingfld',d('backingfld')||r.backingfld),d('starwidth',d('starwidth')||r.starwidth),d('starheight',d('starheight')||r.starheight),d('value',Math.max(d('min'),Math.min(d('max'),isNaN(d('value'))?isNaN(r.value)?r.min:r.value:d('value')))),d('ispreset',void 0!==d('ispreset')?d('ispreset'):r.ispreset),d('backingfld'))if(((u=$(d('backingfld')).hide()).attr('disabled')||u.attr('readonly'))&amp;&amp;d('readonly',!0),'INPUT'==u[0].nodeName&amp;&amp;('range'!=u[0].type&amp;&amp;'text'!=u[0].type||(d('min',parseInt(u.attr('min'))||d('min')),d('max',parseInt(u.attr('max'))||d('max')),d('step',parseInt(u.attr('step'))||d('step')))),'SELECT'==u[0].nodeName&amp;&amp;u[0].options.length&gt;1){'index'===u[0].getAttribute('data-rateit-valuesrc')?(d('min',isNaN(d('min'))?Number(u[0].options[0].index):d('min')),d('max',Number(u[0].options[u[0].length-1].index)),d('step',Number(u[0].options[1].index)-Number(u[0].options[0].index))):(d('min',isNaN(d('min'))?Number(u[0].options[0].value):d('min')),d('max',Number(u[0].options[u[0].length-1].value)),d('step',Number(u[0].options[1].value)-Number(u[0].options[0].value)));var h=u.find('option[selected]');1==h.length&amp;&amp;('index'===u[0].getAttribute('data-rateit-valuesrc')?d('value',h[0].index):d('value',h.val()))}else d('value',u.val());var c='DIV'==l[0].nodeName?'div':'span';i++;var f='&lt;button id="rateit-reset-{{index}}" type="button" data-role="none" class="rateit-reset" aria-label="'+$.rateit.aria.resetLabel+'" aria-controls="rateit-range-{{index}}"&gt;&lt;span&gt;&lt;/span&gt;&lt;/button&gt;&lt;{{element}} id="rateit-range-{{index}}" class="rateit-range"'+(1==d('readonly')?'':' tabindex="0"')+' role="slider" aria-label="'+$.rateit.aria.ratingLabel+'" aria-owns="rateit-reset-{{index}}" aria-valuemin="'+d('min')+'" aria-valuemax="'+d('max')+'" aria-valuenow="'+d('value')+'"&gt;&lt;{{element}} class="rateit-empty"&gt;&lt;/{{element}}&gt;&lt;{{element}} class="rateit-selected"&gt;&lt;/{{element}}&gt;&lt;{{element}} class="rateit-hover"&gt;&lt;/{{element}}&gt;&lt;/{{element}}&gt;';l.append(f.replace(/{{index}}/gi,i).replace(/{{element}}/gi,c)),v||(l.find('.rateit-reset').css('float','right'),l.find('.rateit-selected').addClass('rateit-selected-rtl'),l.find('.rateit-hover').addClass('rateit-hover-rtl')),'font'==d('mode')?l.addClass('rateit-font').removeClass('rateit-bg'):l.addClass('rateit-bg').removeClass('rateit-font'),d('init',JSON.parse(JSON.stringify(l.data())))}var g='font'==d('mode');g||l.find('.rateit-selected, .rateit-hover').height(d('starheight'));var p=l.find('.rateit-range');if(g){for(var b=d('icon'),x=d('max')-d('min'),w='',y=0;y&lt;x;y++)w+=b;p.find('&gt; *').text(w),d('starwidth',p.width()/(d('max')-d('min')))}else p.width(d('starwidth')*(d('max')-d('min'))).height(d('starheight'));var N='rateit-preset'+(v?'':'-rtl');if(d('ispreset')?l.find('.rateit-selected').addClass(N):l.find('.rateit-selected').removeClass(N),null!=d('value')){var C=(d('value')-d('min'))*d('starwidth');l.find('.rateit-selected').width(C)}var k=l.find('.rateit-reset');!0!==k.data('wired')&amp;&amp;k.on('click',(function(e){e.preventDefault(),k.trigger('blur');var t=$.Event('beforereset');if(l.trigger(t),t.isDefaultPrevented())return!1;l.rateit('value',null),l.trigger('reset')})).data('wired',!0);var E=function e(t,a){var i,r=(a.changedTouches?a.changedTouches[0].pageX:a.pageX)-$(t).offset().left;return v||(r=p.width()-r),r&gt;p.width()&amp;&amp;(r=p.width()),r&lt;0&amp;&amp;(r=0),C=Math.ceil(r/d('starwidth')*(1/d('step')))},S=function e(t){var a=t*d('starwidth')*d('step'),i=p.find('.rateit-hover');if(i.data('width')!=a){p.find('.rateit-selected').hide(),i.width(a).show().data('width',a);var r=[t*d('step')+d('min')];l.trigger('hover',r).trigger('over',r)}},M=function e(t){var a=$.Event('beforerated');return l.trigger(a,[t]),!a.isDefaultPrevented()&amp;&amp;(d('value',t),d('backingfld')&amp;&amp;('SELECT'==u[0].nodeName&amp;&amp;'index'===u[0].getAttribute('data-rateit-valuesrc')?$(d('backingfld')).prop('selectedIndex',t).trigger('change'):$(d('backingfld')).val(t).trigger('change')),d('ispreset')&amp;&amp;(p.find('.rateit-selected').removeClass(N),d('ispreset',!1)),p.find('.rateit-hover').hide(),p.find('.rateit-selected').width(t*d('starwidth')-d('min')*d('starwidth')).show(),l.trigger('hover',[null]).trigger('over',[null]).trigger('rated',[t]),!0)};d('readonly')?k.hide():(d('resetable')||k.hide(),d('wired')||(p.on('touchmove touchend',e),p.on('mousemove',(function(e){var t=E(this,e);S(t)})),p.on('mouseleave',(function(e){p.find('.rateit-hover').hide().width(0).data('width',''),l.trigger('hover',[null]).trigger('over',[null]),p.find('.rateit-selected').show()})),p.on('mouseup',(function(e){var t,a=E(this,e)*d('step')+d('min');M(a),p.trigger('blur')})),p.on('keyup',(function(e){38!=e.which&amp;&amp;e.which!=(v?39:37)||M(Math.min(d('value')+d('step'),d('max'))),40!=e.which&amp;&amp;e.which!=(v?37:39)||M(Math.max(d('value')-d('step'),d('min')))})),d('wired',!0)),d('resetable')&amp;&amp;k.show()),p.attr('aria-readonly',d('readonly'))}))},$.fn.rateit.defaults={min:0,max:5,step:.5,mode:'bg',icon:'â˜…',starwidth:16,starheight:16,readonly:!1,resetable:!0,ispreset:!1},$((function(){$('div.rateit, span.rateit').rateit()}))})(jQuery);
;function _typeof(t){return _typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&amp;&amp;"function"==typeof Symbol&amp;&amp;t.constructor===Symbol&amp;&amp;t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}(function(t,e){'object'===("undefined"==typeof exports?"undefined":_typeof(exports))&amp;&amp;'undefined'!=typeof module?e(exports):'function'==typeof define&amp;&amp;define.amd?define(['exports'],e):e((t='undefined'!=typeof globalThis?globalThis:t||self).noUiSlider={})})(this,(function(t){'use strict';var e,r;function n(t){return i(t)&amp;&amp;"function"==typeof t.from}function i(t){return"object"===_typeof(t)&amp;&amp;"function"==typeof t.to}function o(t){t.parentElement.removeChild(t)}function s(t){return null!=t}function a(t){t.preventDefault()}function l(t){return t.filter((function(t){return!this[t]&amp;&amp;(this[t]=!0)}),{})}function u(t,e){return Math.round(t/e)*e}function c(t,e){var r=t.getBoundingClientRect(),n=t.ownerDocument,i=n.documentElement,o=S(n);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&amp;&amp;(o.x=0),e?r.top+o.y-i.clientTop:r.left+o.x-i.clientLeft}function p(t){return"number"==typeof t&amp;&amp;!isNaN(t)&amp;&amp;isFinite(t)}function f(t,e,r){r&gt;0&amp;&amp;(g(t,e),setTimeout((function(){v(t,e)}),r))}function d(t){return Math.max(Math.min(t,100),0)}function h(t){return Array.isArray(t)?t:[t]}function m(t){var e=(t=String(t)).split(".");return e.length&gt;1?e[1].length:0}function g(t,e){t.classList&amp;&amp;!/\s/.test(e)?t.classList.add(e):t.className+=" "+e}function v(t,e){t.classList&amp;&amp;!/\s/.test(e)?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function b(t,e){return t.classList?t.classList.contains(e):new RegExp("\\b"+e+"\\b").test(t.className)}function S(t){var e=void 0!==window.pageXOffset,r="CSS1Compat"===(t.compatMode||""),n,i;return{x:e?window.pageXOffset:r?t.documentElement.scrollLeft:t.body.scrollLeft,y:e?window.pageYOffset:r?t.documentElement.scrollTop:t.body.scrollTop}}function y(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function x(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function e(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}function w(){return window.CSS&amp;&amp;CSS.supports&amp;&amp;CSS.supports("touch-action","none")}function E(t,e){return 100/(e-t)}function P(t,e,r){return 100*e/(t[r+1]-t[r])}function C(t,e){return P(t,t[0]&lt;0?e+Math.abs(t[0]):e-t[0],0)}function N(t,e){return e*(t[1]-t[0])/100+t[0]}function V(t,e){for(var r=1;t&gt;=e[r];)r+=1;return r}function k(t,e,r){if(r&gt;=t.slice(-1)[0])return 100;var n=V(r,t),i=t[n-1],o=t[n],s=e[n-1],a=e[n];return s+C([i,o],r)/E(s,a)}function M(t,e,r){if(r&gt;=100)return t.slice(-1)[0];var n=V(r,e),i=t[n-1],o=t[n],s=e[n-1],a;return N([i,o],(r-s)*E(s,e[n]))}function A(t,e,r,n){if(100===n)return n;var i=V(n,t),o=t[i-1],s=t[i];return r?n-o&gt;(s-o)/2?s:o:e[i-1]?t[i-1]+u(n-t[i-1],e[i-1]):n}t.PipsMode=void 0,(e=t.PipsMode||(t.PipsMode={})).Range="range",e.Steps="steps",e.Positions="positions",e.Count="count",e.Values="values",t.PipsType=void 0,(r=t.PipsType||(t.PipsType={}))[r.None=-1]="None",r[r.NoValue=0]="NoValue",r[r.LargeValue=1]="LargeValue",r[r.SmallValue=2]="SmallValue";var U=function(){function t(t,e,r){var n;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[r||!1],this.xNumSteps=[!1],this.snap=e;var i=[];for(Object.keys(t).forEach((function(e){i.push([h(t[e]),e])})),i.sort((function(t,e){return t[0][0]-e[0][0]})),n=0;n&lt;i.length;n++)this.handleEntryPoint(i[n][1],i[n][0]);for(this.xNumSteps=this.xSteps.slice(0),n=0;n&lt;this.xNumSteps.length;n++)this.handleStepPoint(n,this.xNumSteps[n])}return t.prototype.getDistance=function(t){for(var e=[],r=0;r&lt;this.xNumSteps.length-1;r++)e[r]=P(this.xVal,t,r);return e},t.prototype.getAbsoluteDistance=function(t,e,r){var n=0,i;if(t&lt;this.xPct[this.xPct.length-1])for(;t&gt;this.xPct[n+1];)n++;else t===this.xPct[this.xPct.length-1]&amp;&amp;(n=this.xPct.length-2);r||t!==this.xPct[n+1]||n++,null===e&amp;&amp;(e=[]);var o=1,s=e[n],a=0,l=0,u=0,c=0;for(i=r?(t-this.xPct[n])/(this.xPct[n+1]-this.xPct[n]):(this.xPct[n+1]-t)/(this.xPct[n+1]-this.xPct[n]);s&gt;0;)a=this.xPct[n+1+c]-this.xPct[n+c],e[n+c]*o+100-100*i&gt;100?(l=a*i,o=(s-100*i)/e[n+c],i=1):(l=e[n+c]*a/100*o,o=0),r?(u-=l,this.xPct.length+c&gt;=1&amp;&amp;c--):(u+=l,this.xPct.length-c&gt;=1&amp;&amp;c++),s=e[n+c]*o;return t+u},t.prototype.toStepping=function(t){return t=k(this.xVal,this.xPct,t)},t.prototype.fromStepping=function(t){return M(this.xVal,this.xPct,t)},t.prototype.getStep=function(t){return t=A(this.xPct,this.xSteps,this.snap,t)},t.prototype.getDefaultStep=function(t,e,r){var n=V(t,this.xPct);return(100===t||e&amp;&amp;t===this.xPct[n-1])&amp;&amp;(n=Math.max(n-1,1)),(this.xVal[n]-this.xVal[n-1])/r},t.prototype.getNearbySteps=function(t){var e=V(t,this.xPct);return{stepBefore:{startValue:this.xVal[e-2],step:this.xNumSteps[e-2],highestStep:this.xHighestCompleteStep[e-2]},thisStep:{startValue:this.xVal[e-1],step:this.xNumSteps[e-1],highestStep:this.xHighestCompleteStep[e-1]},stepAfter:{startValue:this.xVal[e],step:this.xNumSteps[e],highestStep:this.xHighestCompleteStep[e]}}},t.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(m);return Math.max.apply(null,t)},t.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},t.prototype.convert=function(t){return this.getStep(this.toStepping(t))},t.prototype.handleEntryPoint=function(t,e){var r;if(!p(r="min"===t?0:"max"===t?100:parseFloat(t))||!p(e[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(r),this.xVal.push(e[0]);var n=Number(e[1]);r?this.xSteps.push(!isNaN(n)&amp;&amp;n):isNaN(n)||(this.xSteps[0]=n),this.xHighestCompleteStep.push(0)},t.prototype.handleStepPoint=function(t,e){if(e)if(this.xVal[t]!==this.xVal[t+1]){this.xSteps[t]=P([this.xVal[t],this.xVal[t+1]],e,0)/E(this.xPct[t],this.xPct[t+1]);var r=(this.xVal[t+1]-this.xVal[t])/this.xNumSteps[t],n=Math.ceil(Number(r.toFixed(3))-1),i=this.xVal[t]+this.xNumSteps[t]*n;this.xHighestCompleteStep[t]=i}else this.xSteps[t]=this.xHighestCompleteStep[t]=this.xVal[t]},t}(),D={to:function t(e){return void 0===e?"":e.toFixed(2)},from:Number},O={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},L=".__tooltips",T=".__aria";function j(t,e){if(!p(e))throw new Error("noUiSlider: 'step' is not numeric.");t.singleStep=e}function z(t,e){if(!p(e))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");t.keyboardPageMultiplier=e}function H(t,e){if(!p(e))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");t.keyboardMultiplier=e}function F(t,e){if(!p(e))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");t.keyboardDefaultStep=e}function _(t,e){if("object"!==_typeof(e)||Array.isArray(e))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===e.min||void 0===e.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");t.spectrum=new U(e,t.snap||!1,t.singleStep)}function R(t,e){if(e=h(e),!Array.isArray(e)||!e.length)throw new Error("noUiSlider: 'start' option is incorrect.");t.handles=e.length,t.start=e}function B(t,e){if("boolean"!=typeof e)throw new Error("noUiSlider: 'snap' option must be a boolean.");t.snap=e}function q(t,e){if("boolean"!=typeof e)throw new Error("noUiSlider: 'animate' option must be a boolean.");t.animate=e}function X(t,e){if("number"!=typeof e)throw new Error("noUiSlider: 'animationDuration' option must be a number.");t.animationDuration=e}function Y(t,e){var r=[!1],n;if("lower"===e?e=[!0,!1]:"upper"===e&amp;&amp;(e=[!1,!0]),!0===e||!1===e){for(n=1;n&lt;t.handles;n++)r.push(e);r.push(!1)}else{if(!Array.isArray(e)||!e.length||e.length!==t.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");r=e}t.connect=r}function I(t,e){switch(e){case"horizontal":t.ort=0;break;case"vertical":t.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function W(t,e){if(!p(e))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==e&amp;&amp;(t.margin=t.spectrum.getDistance(e))}function G(t,e){if(!p(e))throw new Error("noUiSlider: 'limit' option must be numeric.");if(t.limit=t.spectrum.getDistance(e),!t.limit||t.handles&lt;2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function J(t,e){var r;if(!p(e)&amp;&amp;!Array.isArray(e))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(e)&amp;&amp;2!==e.length&amp;&amp;!p(e[0])&amp;&amp;!p(e[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==e){for(Array.isArray(e)||(e=[e,e]),t.padding=[t.spectrum.getDistance(e[0]),t.spectrum.getDistance(e[1])],r=0;r&lt;t.spectrum.xNumSteps.length-1;r++)if(t.padding[0][r]&lt;0||t.padding[1][r]&lt;0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var n=e[0]+e[1],i=t.spectrum.xVal[0],o;if(n/(t.spectrum.xVal[t.spectrum.xVal.length-1]-i)&gt;1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function K(t,e){switch(e){case"ltr":t.dir=0;break;case"rtl":t.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function Q(t,e){if("string"!=typeof e)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var r=e.indexOf("tap")&gt;=0,n=e.indexOf("drag")&gt;=0,i=e.indexOf("fixed")&gt;=0,o=e.indexOf("snap")&gt;=0,s=e.indexOf("hover")&gt;=0,a=e.indexOf("unconstrained")&gt;=0,l=e.indexOf("drag-all")&gt;=0,u=e.indexOf("smooth-steps")&gt;=0;if(i){if(2!==t.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");W(t,t.start[1]-t.start[0])}if(a&amp;&amp;(t.margin||t.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");t.events={tap:r||o,drag:n,dragAll:l,smoothSteps:u,fixed:i,snap:o,hover:s,unconstrained:a}}function Z(t,e){if(!1!==e)if(!0===e||i(e)){t.tooltips=[];for(var r=0;r&lt;t.handles;r++)t.tooltips.push(e)}else{if((e=h(e)).length!==t.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");e.forEach((function(t){if("boolean"!=typeof t&amp;&amp;!i(t))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")})),t.tooltips=e}}function tt(t,e){if(e.length!==t.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");t.handleAttributes=e}function et(t,e){if(!i(e))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");t.ariaFormat=e}function rt(t,e){if(!n(e))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");t.format=e}function nt(t,e){if("boolean"!=typeof e)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");t.keyboardSupport=e}function it(t,e){t.documentElement=e}function ot(t,e){if("string"!=typeof e&amp;&amp;!1!==e)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");t.cssPrefix=e}function st(t,e){if("object"!==_typeof(e))throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof t.cssPrefix?(t.cssClasses={},Object.keys(e).forEach((function(r){t.cssClasses[r]=t.cssPrefix+e[r]}))):t.cssClasses=e}function at(t){var e={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:D,format:D},r={step:{r:!1,t:j},keyboardPageMultiplier:{r:!1,t:z},keyboardMultiplier:{r:!1,t:H},keyboardDefaultStep:{r:!1,t:F},start:{r:!0,t:R},connect:{r:!0,t:Y},direction:{r:!0,t:K},snap:{r:!1,t:B},animate:{r:!1,t:q},animationDuration:{r:!1,t:X},range:{r:!0,t:_},orientation:{r:!1,t:I},margin:{r:!1,t:W},limit:{r:!1,t:G},padding:{r:!1,t:J},behaviour:{r:!0,t:Q},ariaFormat:{r:!1,t:et},format:{r:!1,t:rt},tooltips:{r:!1,t:Z},keyboardSupport:{r:!0,t:nt},documentElement:{r:!1,t:it},cssPrefix:{r:!0,t:ot},cssClasses:{r:!0,t:st},handleAttributes:{r:!1,t:tt}},n={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:O,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};t.format&amp;&amp;!t.ariaFormat&amp;&amp;(t.ariaFormat=t.format),Object.keys(r).forEach((function(i){if(s(t[i])||void 0!==n[i])r[i].t(e,s(t[i])?t[i]:n[i]);else if(r[i].r)throw new Error("noUiSlider: '"+i+"' is required.")})),e.pips=t.pips;var i=document.createElement("div"),o=void 0!==i.style.msTransform,a=void 0!==i.style.transform;e.transformRule=a?"transform":o?"msTransform":"webkitTransform";var l=[["left","top"],["right","bottom"]];return e.style=l[e.dir][e.ort],e}function lt(e,r,n){var i=y(),u,p=w()&amp;&amp;x(),m=e,E,P,C,N,V,k=r.spectrum,M=[],A=[],U=[],D=0,O={},j=e.ownerDocument,z=r.documentElement||j.documentElement,H=j.body,F="rtl"===j.dir||1===r.ort?0:100;function _(t,e){var r=j.createElement("div");return e&amp;&amp;g(r,e),t.appendChild(r),r}function R(t,e){var n=_(t,r.cssClasses.origin),i=_(n,r.cssClasses.handle);if(_(i,r.cssClasses.touchArea),i.setAttribute("data-handle",String(e)),r.keyboardSupport&amp;&amp;(i.setAttribute("tabindex","0"),i.addEventListener("keydown",(function(t){return gt(t,e)}))),void 0!==r.handleAttributes){var o=r.handleAttributes[e];Object.keys(o).forEach((function(t){i.setAttribute(t,o[t])}))}return i.setAttribute("role","slider"),i.setAttribute("aria-orientation",r.ort?"vertical":"horizontal"),0===e?g(i,r.cssClasses.handleLower):e===r.handles-1&amp;&amp;g(i,r.cssClasses.handleUpper),n}function B(t,e){return!!e&amp;&amp;_(t,r.cssClasses.connect)}function q(t,e){var n=_(e,r.cssClasses.connects);P=[],(C=[]).push(B(n,t[0]));for(var i=0;i&lt;r.handles;i++)P.push(R(e,i)),U[i]=i,C.push(B(n,t[i+1]))}function X(t){var e;return g(t,r.cssClasses.target),0===r.dir?g(t,r.cssClasses.ltr):g(t,r.cssClasses.rtl),0===r.ort?g(t,r.cssClasses.horizontal):g(t,r.cssClasses.vertical),g(t,"rtl"===getComputedStyle(t).direction?r.cssClasses.textDirectionRtl:r.cssClasses.textDirectionLtr),_(t,r.cssClasses.base)}function Y(t,e){return!(!r.tooltips||!r.tooltips[e])&amp;&amp;_(t.firstChild,r.cssClasses.tooltip)}function I(){return m.hasAttribute("disabled")}function W(t){var e;return P[t].hasAttribute("disabled")}function G(){V&amp;&amp;(yt("update"+L),V.forEach((function(t){t&amp;&amp;o(t)})),V=null)}function J(){G(),V=P.map(Y),bt("update"+L,(function(t,e,n){if(V&amp;&amp;r.tooltips&amp;&amp;!1!==V[e]){var i=t[e];!0!==r.tooltips[e]&amp;&amp;(i=r.tooltips[e].to(n[e])),V[e].innerHTML=i}}))}function K(){yt("update"+T),bt("update"+T,(function(t,e,n,i,o){U.forEach((function(t){var e=P[t],i=wt(A,t,0,!0,!0,!0),s=wt(A,t,100,!0,!0,!0),a=o[t],l=String(r.ariaFormat.to(n[t]));i=k.fromStepping(i).toFixed(1),s=k.fromStepping(s).toFixed(1),a=k.fromStepping(a).toFixed(1),e.children[0].setAttribute("aria-valuemin",i),e.children[0].setAttribute("aria-valuemax",s),e.children[0].setAttribute("aria-valuenow",a),e.children[0].setAttribute("aria-valuetext",l)}))}))}function Q(e){if(e.mode===t.PipsMode.Range||e.mode===t.PipsMode.Steps)return k.xVal;if(e.mode===t.PipsMode.Count){if(e.values&lt;2)throw new Error("noUiSlider: 'values' (&gt;= 2) required for mode 'count'.");for(var r=e.values-1,n=100/r,i=[];r--;)i[r]=r*n;return i.push(100),Z(i,e.stepped)}return e.mode===t.PipsMode.Positions?Z(e.values,e.stepped):e.mode===t.PipsMode.Values?e.stepped?e.values.map((function(t){return k.fromStepping(k.getStep(k.toStepping(t)))})):e.values:[]}function Z(t,e){return t.map((function(t){return k.fromStepping(e?k.getStep(t):t)}))}function tt(e){function r(t,e){return Number((t+e).toFixed(7))}var n=Q(e),i={},o=k.xVal[0],s=k.xVal[k.xVal.length-1],a=!1,u=!1,c=0;return(n=l(n.slice().sort((function(t,e){return t-e}))))[0]!==o&amp;&amp;(n.unshift(o),a=!0),n[n.length-1]!==s&amp;&amp;(n.push(s),u=!0),n.forEach((function(o,s){var l,p,f,d=o,h=n[s+1],m,g,v,b,S,y,x,w=e.mode===t.PipsMode.Steps;for(w&amp;&amp;(l=k.xNumSteps[s]),l||(l=h-d),void 0===h&amp;&amp;(h=d),l=Math.max(l,1e-7),p=d;p&lt;=h;p=r(p,l)){for(S=(g=(m=k.toStepping(p))-c)/(e.density||1),x=g/(y=Math.round(S)),f=1;f&lt;=y;f+=1)i[(v=c+f*x).toFixed(5)]=[k.fromStepping(v),0];b=n.indexOf(p)&gt;-1?t.PipsType.LargeValue:w?t.PipsType.SmallValue:t.PipsType.NoValue,!s&amp;&amp;a&amp;&amp;p!==h&amp;&amp;(b=0),p===h&amp;&amp;u||(i[m.toFixed(5)]=[p,b]),c=m}})),i}function et(e,n,i){var o,s,a=j.createElement("div"),l=((o={})[t.PipsType.None]="",o[t.PipsType.NoValue]=r.cssClasses.valueNormal,o[t.PipsType.LargeValue]=r.cssClasses.valueLarge,o[t.PipsType.SmallValue]=r.cssClasses.valueSub,o),u=((s={})[t.PipsType.None]="",s[t.PipsType.NoValue]=r.cssClasses.markerNormal,s[t.PipsType.LargeValue]=r.cssClasses.markerLarge,s[t.PipsType.SmallValue]=r.cssClasses.markerSub,s),c=[r.cssClasses.valueHorizontal,r.cssClasses.valueVertical],p=[r.cssClasses.markerHorizontal,r.cssClasses.markerVertical];function f(t,e){var n=e===r.cssClasses.value,i,o=n?l:u;return e+" "+(n?c:p)[r.ort]+" "+o[t]}function d(e,o,s){if((s=n?n(o,s):s)!==t.PipsType.None){var l=_(a,!1);l.className=f(s,r.cssClasses.marker),l.style[r.style]=e+"%",s&gt;t.PipsType.NoValue&amp;&amp;((l=_(a,!1)).className=f(s,r.cssClasses.value),l.setAttribute("data-value",String(o)),l.style[r.style]=e+"%",l.innerHTML=String(i.to(o)))}}return g(a,r.cssClasses.pips),g(a,0===r.ort?r.cssClasses.pipsHorizontal:r.cssClasses.pipsVertical),Object.keys(e).forEach((function(t){d(t,e[t][0],e[t][1])})),a}function rt(){N&amp;&amp;(o(N),N=null)}function nt(t){rt();var e=tt(t),r=t.filter,n=t.format||{to:function t(e){return String(Math.round(e))}};return N=m.appendChild(et(e,r,n))}function it(){var t=E.getBoundingClientRect(),e="offset"+["Width","Height"][r.ort];return 0===r.ort?t.width||E[e]:t.height||E[e]}function ot(t,e,n,o){var s=function s(a){var l=st(a,o.pageOffset,o.target||e);return!!l&amp;&amp;(!(I()&amp;&amp;!o.doNotReject)&amp;&amp;(!(b(m,r.cssClasses.tap)&amp;&amp;!o.doNotReject)&amp;&amp;(!(t===i.start&amp;&amp;void 0!==l.buttons&amp;&amp;l.buttons&gt;1)&amp;&amp;((!o.hover||!l.buttons)&amp;&amp;(p||l.preventDefault(),l.calcPoint=l.points[r.ort],void n(l,o))))))},a=[];return t.split(" ").forEach((function(t){e.addEventListener(t,s,!!p&amp;&amp;{passive:!0}),a.push([t,s])})),a}function st(t,e,r){var n=0===t.type.indexOf("touch"),i=0===t.type.indexOf("mouse"),o=0===t.type.indexOf("pointer"),s=0,a=0;if(0===t.type.indexOf("MSPointer")&amp;&amp;(o=!0),"mousedown"===t.type&amp;&amp;!t.buttons&amp;&amp;!t.touches)return!1;if(n){var l=function e(n){var i=n.target;return i===r||r.contains(i)||t.composed&amp;&amp;t.composedPath().shift()===r};if("touchstart"===t.type){var u=Array.prototype.filter.call(t.touches,l);if(u.length&gt;1)return!1;s=u[0].pageX,a=u[0].pageY}else{var c=Array.prototype.find.call(t.changedTouches,l);if(!c)return!1;s=c.pageX,a=c.pageY}}return e=e||S(j),(i||o)&amp;&amp;(s=t.clientX+e.x,a=t.clientY+e.y),t.pageOffset=e,t.points=[s,a],t.cursor=i||o,t}function lt(t){var e,n=100*(t-c(E,r.ort))/it();return n=d(n),r.dir?100-n:n}function ut(t){var e=100,r=!1;return P.forEach((function(n,i){if(!W(i)){var o=A[i],s=Math.abs(o-t),a,l,u;(s&lt;e||s&lt;=e&amp;&amp;t&gt;o||100===s&amp;&amp;100===e)&amp;&amp;(r=i,e=s)}})),r}function ct(t,e){"mouseout"===t.type&amp;&amp;"HTML"===t.target.nodeName&amp;&amp;null===t.relatedTarget&amp;&amp;ft(t,e)}function pt(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&amp;&amp;0===t.buttons&amp;&amp;0!==e.buttonsProperty)return ft(t,e);var n=(r.dir?-1:1)*(t.calcPoint-e.startCalcPoint),i;Pt(n&gt;0,100*n/e.baseSize,e.locations,e.handleNumbers,e.connect)}function ft(t,e){e.handle&amp;&amp;(v(e.handle,r.cssClasses.active),D-=1),e.listeners.forEach((function(t){z.removeEventListener(t[0],t[1])})),0===D&amp;&amp;(v(m,r.cssClasses.drag),Vt(),t.cursor&amp;&amp;(H.style.cursor="",H.removeEventListener("selectstart",a))),r.events.smoothSteps&amp;&amp;(e.handleNumbers.forEach((function(t){kt(t,A[t],!0,!0,!1,!1)})),e.handleNumbers.forEach((function(t){xt("update",t)}))),e.handleNumbers.forEach((function(t){xt("change",t),xt("set",t),xt("end",t)}))}function dt(t,e){if(!e.handleNumbers.some(W)){var n,o;if(1===e.handleNumbers.length)n=P[e.handleNumbers[0]].children[0],D+=1,g(n,r.cssClasses.active);t.stopPropagation();var s=[],l=ot(i.move,z,pt,{target:t.target,handle:n,connect:e.connect,listeners:s,startCalcPoint:t.calcPoint,baseSize:it(),pageOffset:t.pageOffset,handleNumbers:e.handleNumbers,buttonsProperty:t.buttons,locations:A.slice()}),u=ot(i.end,z,ft,{target:t.target,handle:n,listeners:s,doNotReject:!0,handleNumbers:e.handleNumbers}),c=ot("mouseout",z,ct,{target:t.target,handle:n,listeners:s,doNotReject:!0,handleNumbers:e.handleNumbers});s.push.apply(s,l.concat(u,c)),t.cursor&amp;&amp;(H.style.cursor=getComputedStyle(t.target).cursor,P.length&gt;1&amp;&amp;g(m,r.cssClasses.drag),H.addEventListener("selectstart",a,!1)),e.handleNumbers.forEach((function(t){xt("start",t)}))}}function ht(t){t.stopPropagation();var e=lt(t.calcPoint),n=ut(e);!1!==n&amp;&amp;(r.events.snap||f(m,r.cssClasses.tap,r.animationDuration),kt(n,e,!0,!0),Vt(),xt("slide",n,!0),xt("update",n,!0),r.events.snap?dt(t,{handleNumbers:[n]}):(xt("change",n,!0),xt("set",n,!0)))}function mt(t){var e=lt(t.calcPoint),r=k.getStep(e),n=k.fromStepping(r);Object.keys(O).forEach((function(t){"hover"===t.split(".")[0]&amp;&amp;O[t].forEach((function(t){t.call(_t,n)}))}))}function gt(t,e){if(I()||W(e))return!1;var n=["Left","Right"],i=["Down","Up"],o=["PageDown","PageUp"],s=["Home","End"];r.dir&amp;&amp;!r.ort?n.reverse():r.ort&amp;&amp;!r.dir&amp;&amp;(i.reverse(),o.reverse());var a=t.key.replace("Arrow",""),l=a===o[0],u=a===o[1],c=a===i[0]||a===n[0]||l,p=a===i[1]||a===n[1]||u,f,d=a===s[1],h;if(!(c||p||a===s[0]||d))return!0;if(t.preventDefault(),p||c){var m=c?0:1,g,v=jt(e)[m];if(null===v)return!1;!1===v&amp;&amp;(v=k.getDefaultStep(A[e],c,r.keyboardDefaultStep)),v*=u||l?r.keyboardPageMultiplier:r.keyboardMultiplier,v=Math.max(v,1e-7),v*=c?-1:1,h=M[e]+v}else h=d?r.spectrum.xVal[r.spectrum.xVal.length-1]:r.spectrum.xVal[0];return kt(e,k.toStepping(h),!0,!0),xt("slide",e),xt("update",e),xt("change",e),xt("set",e),!1}function vt(t){t.fixed||P.forEach((function(t,e){ot(i.start,t.children[0],dt,{handleNumbers:[e]})})),t.tap&amp;&amp;ot(i.start,E,ht,{}),t.hover&amp;&amp;ot(i.move,E,mt,{hover:!0}),t.drag&amp;&amp;C.forEach((function(e,n){if(!1!==e&amp;&amp;0!==n&amp;&amp;n!==C.length-1){var o=P[n-1],s=P[n],a=[e],l=[o,s],u=[n-1,n];g(e,r.cssClasses.draggable),t.fixed&amp;&amp;(a.push(o.children[0]),a.push(s.children[0])),t.dragAll&amp;&amp;(l=P,u=U),a.forEach((function(t){ot(i.start,t,dt,{handles:l,handleNumbers:u,connect:e})}))}}))}function bt(t,e){O[t]=O[t]||[],O[t].push(e),"update"===t.split(".")[0]&amp;&amp;P.forEach((function(t,e){xt("update",e)}))}function St(t){return t===T||t===L}function yt(t){var e=t&amp;&amp;t.split(".")[0],r=e?t.substring(e.length):t;Object.keys(O).forEach((function(t){var n=t.split(".")[0],i=t.substring(n.length);e&amp;&amp;e!==n||r&amp;&amp;r!==i||St(i)&amp;&amp;r!==i||delete O[t]}))}function xt(t,e,n){Object.keys(O).forEach((function(i){var o=i.split(".")[0];t===o&amp;&amp;O[i].forEach((function(t){t.call(_t,M.map(r.format.to),e,M.slice(),n||!1,A.slice(),_t)}))}))}function wt(t,e,n,i,o,s,a){var l;return P.length&gt;1&amp;&amp;!r.events.unconstrained&amp;&amp;(i&amp;&amp;e&gt;0&amp;&amp;(l=k.getAbsoluteDistance(t[e-1],r.margin,!1),n=Math.max(n,l)),o&amp;&amp;e&lt;P.length-1&amp;&amp;(l=k.getAbsoluteDistance(t[e+1],r.margin,!0),n=Math.min(n,l))),P.length&gt;1&amp;&amp;r.limit&amp;&amp;(i&amp;&amp;e&gt;0&amp;&amp;(l=k.getAbsoluteDistance(t[e-1],r.limit,!1),n=Math.min(n,l)),o&amp;&amp;e&lt;P.length-1&amp;&amp;(l=k.getAbsoluteDistance(t[e+1],r.limit,!0),n=Math.max(n,l))),r.padding&amp;&amp;(0===e&amp;&amp;(l=k.getAbsoluteDistance(0,r.padding[0],!1),n=Math.max(n,l)),e===P.length-1&amp;&amp;(l=k.getAbsoluteDistance(100,r.padding[1],!0),n=Math.min(n,l))),a||(n=k.getStep(n)),!((n=d(n))===t[e]&amp;&amp;!s)&amp;&amp;n}function Et(t,e){var n=r.ort;return(n?e:t)+", "+(n?t:e)}function Pt(t,e,n,i,o){var s=n.slice(),a=i[0],l=r.events.smoothSteps,u=[!t,t],c=[t,!t];i=i.slice(),t&amp;&amp;i.reverse(),i.length&gt;1?i.forEach((function(t,r){var n=wt(s,t,s[t]+e,u[r],c[r],!1,l);!1===n?e=0:(e=n-s[t],s[t]=n)})):u=c=[!0];var p=!1;i.forEach((function(t,r){p=kt(t,n[t]+e,u[r],c[r],!1,l)||p})),p&amp;&amp;(i.forEach((function(t){xt("update",t),xt("slide",t)})),null!=o&amp;&amp;xt("drag",a))}function Ct(t,e){return r.dir?100-t-e:t}function Nt(t,e){A[t]=e,M[t]=k.fromStepping(e);var n,i="translate("+Et(Ct(e,0)-F+"%","0")+")";P[t].style[r.transformRule]=i,Mt(t),Mt(t+1)}function Vt(){U.forEach((function(t){var e=A[t]&gt;50?-1:1,r=3+(P.length+e*t);P[t].style.zIndex=String(r)}))}function kt(t,e,r,n,i,o){return i||(e=wt(A,t,e,r,n,!1,o)),!1!==e&amp;&amp;(Nt(t,e),!0)}function Mt(t){if(C[t]){var e=0,n=100;0!==t&amp;&amp;(e=A[t-1]),t!==C.length-1&amp;&amp;(n=A[t]);var i=n-e,o="translate("+Et(Ct(e,i)+"%","0")+")",s="scale("+Et(i/100,"1")+")";C[t].style[r.transformRule]=o+" "+s}}function At(t,e){return null===t||!1===t||void 0===t?A[e]:("number"==typeof t&amp;&amp;(t=String(t)),!1!==(t=r.format.from(t))&amp;&amp;(t=k.toStepping(t)),!1===t||isNaN(t)?A[e]:t)}function Ut(t,e,n){var i=h(t),o=void 0===A[0];e=void 0===e||e,r.animate&amp;&amp;!o&amp;&amp;f(m,r.cssClasses.tap,r.animationDuration),U.forEach((function(t){kt(t,At(i[t],t),!0,!1,n)}));var s=1===U.length?0:1;if(o&amp;&amp;k.hasNoSize()&amp;&amp;(n=!0,A[0]=0,U.length&gt;1)){var a=100/(U.length-1);U.forEach((function(t){A[t]=t*a}))}for(;s&lt;U.length;++s)U.forEach((function(t){kt(t,A[t],!0,!0,n)}));Vt(),U.forEach((function(t){xt("update",t),null!==i[t]&amp;&amp;e&amp;&amp;xt("set",t)}))}function Dt(t){Ut(r.start,t)}function Ot(t,e,r,n){if(!((t=Number(t))&gt;=0&amp;&amp;t&lt;U.length))throw new Error("noUiSlider: invalid handle number, got: "+t);kt(t,At(e,t),!0,!0,n),xt("update",t),r&amp;&amp;xt("set",t)}function Lt(t){if(void 0===t&amp;&amp;(t=!1),t)return 1===M.length?M[0]:M.slice(0);var e=M.map(r.format.to);return 1===e.length?e[0]:e}function Tt(){for(yt(T),yt(L),Object.keys(r.cssClasses).forEach((function(t){v(m,r.cssClasses[t])}));m.firstChild;)m.removeChild(m.firstChild);delete m.noUiSlider}function jt(t){var e=A[t],n=k.getNearbySteps(e),i=M[t],o=n.thisStep.step,s=null;if(r.snap)return[i-n.stepBefore.startValue||null,n.stepAfter.startValue-i||null];!1!==o&amp;&amp;i+o&gt;n.stepAfter.startValue&amp;&amp;(o=n.stepAfter.startValue-i),s=i&gt;n.thisStep.startValue?n.thisStep.step:!1!==n.stepBefore.step&amp;&amp;i-n.stepBefore.highestStep,100===e?o=null:0===e&amp;&amp;(s=null);var a=k.countStepDecimals();return null!==o&amp;&amp;!1!==o&amp;&amp;(o=Number(o.toFixed(a))),null!==s&amp;&amp;!1!==s&amp;&amp;(s=Number(s.toFixed(a))),[s,o]}function zt(){return U.map(jt)}function Ht(t,e){var i=Lt(),o=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];o.forEach((function(e){void 0!==t[e]&amp;&amp;(n[e]=t[e])}));var a=at(n);o.forEach((function(e){void 0!==t[e]&amp;&amp;(r[e]=a[e])})),k=a.spectrum,r.margin=a.margin,r.limit=a.limit,r.padding=a.padding,r.pips?nt(r.pips):rt(),r.tooltips?J():G(),A=[],Ut(s(t.start)?t.start:i,e)}function Ft(){E=X(m),q(r.connect,E),vt(r.events),Ut(r.start),r.pips&amp;&amp;nt(r.pips),r.tooltips&amp;&amp;J(),K()}Ft();var _t={destroy:Tt,steps:zt,on:bt,off:yt,get:Lt,set:Ut,setHandle:Ot,reset:Dt,__moveHandles:function t(e,r,n){Pt(e,r,A,n)},options:n,updateOptions:Ht,target:m,removePips:rt,removeTooltips:G,getPositions:function t(){return A.slice()},getTooltips:function t(){return V},getOrigins:function t(){return P},pips:nt};return _t}function ut(t,e){if(!t||!t.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+t);if(t.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var r,n=lt(t,at(e),e);return t.noUiSlider=n,n}var ct={__spectrum:U,cssClasses:O,create:ut};t.create=ut,t.cssClasses=O,t.default=ct,Object.defineProperty(t,'__esModule',{value:!0})}));
;function _createForOfIteratorHelper(t,e){var c="undefined"!=typeof Symbol&amp;&amp;t[Symbol.iterator]||t["@@iterator"];if(!c){if(Array.isArray(t)||(c=_unsupportedIterableToArray(t))||e&amp;&amp;t&amp;&amp;"number"==typeof t.length){c&amp;&amp;(t=c);var a=0,r=function t(){};return{s:r,n:function e(){return a&gt;=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function t(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n=!0,s=!1,i;return{s:function e(){c=c.call(t)},n:function t(){var e=c.next();return n=e.done,e},e:function t(e){s=!0,i=e},f:function t(){try{n||null==c.return||c.return()}finally{if(s)throw i}}}}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var c=Object.prototype.toString.call(t).slice(8,-1);return"Object"===c&amp;&amp;t.constructor&amp;&amp;(c=t.constructor.name),"Map"===c||"Set"===c?Array.from(t):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e&gt;t.length)&amp;&amp;(e=t.length);for(var c=0,a=new Array(e);c&lt;e;c++)a[c]=t[c];return a}(function(t){window.dmws=window.dmws||{},window.dmws.tsHelpers=function(e){var c={};return t(c,e),c}})((function(t,e){var c=function t(e){return(e||'').replace(/&amp;/g,"&amp;amp;").replace(/&lt;/g,"&amp;lt;").replace(/&gt;/g,"&amp;gt;").replace(/"/g,"&amp;quot;").replace(/'/g,"&amp;#039;")},a=t.dmws_search_close="&lt;svg width=\"11\" height=\"12\" viewBox=\"0 0 11 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"&gt;&lt;path d=\"M6.71152 6.00001L10.8243 1.88708C10.9374 1.77386 10.9998 1.62281 11 1.46175C11 1.30059 10.9376 1.14937 10.8243 1.03633L10.4639 0.676008C10.3506 0.562521 10.1995 0.500366 10.0383 0.500366C9.87728 0.500366 9.72624 0.562521 9.61293 0.676008L5.50018 4.78867L1.38725 0.676008C1.27412 0.562521 1.12298 0.500366 0.961829 0.500366C0.800854 0.500366 0.649715 0.562521 0.536585 0.676008L0.176 1.03633C-0.0586667 1.27099 -0.0586667 1.65268 0.176 1.88708L4.28884 6.00001L0.176 10.1128C0.0627805 10.2262 0.000447154 10.3772 0.000447154 10.5383C0.000447154 10.6993 0.0627805 10.8504 0.176 10.9637L0.536496 11.324C0.649626 11.4374 0.800854 11.4997 0.96174 11.4997C1.12289 11.4997 1.27403 11.4374 1.38716 11.324L5.50009 7.21126L9.61284 11.324C9.72615 11.4374 9.8772 11.4997 10.0382 11.4997H10.0383C10.1994 11.4997 10.3505 11.4374 10.4638 11.324L10.8242 10.9637C10.9373 10.8505 10.9997 10.6993 10.9997 10.5383C10.9997 10.3772 10.9373 10.2262 10.8242 10.1128L6.71152 6.00001Z\" fill=\"#F39341\"/&gt;&lt;/svg&gt;",r="&lt;svg width=\"25\" height=\"25\" viewBox=\"0 0 25 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"&gt; &lt;path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M24.9999 5.02898C24.9999 7.76705 22.8117 9.99404 20.0887 10.0566L18.3836 13.1477C18.0001 13.8469 17.2558 14.3093 16.4099 14.3093H8.00758L6.76697 16.565H20.3009V18.8206H6.76697C5.05267 18.8206 3.96995 16.9823 4.79327 15.471L6.31584 12.7191L2.25566 4.15887H0V1.90321H3.688L4.74816 4.15887H15.0169C15.4291 1.79614 17.4902 0 19.9709 0C22.7484 0 24.9999 2.25155 24.9999 5.02898ZM16.4099 12.0537L17.7864 9.56C16.5087 8.94285 15.5318 7.80119 15.1352 6.41453H5.81959L8.49254 12.0537H16.4099ZM6.76697 19.9485C5.52636 19.9485 4.52259 20.9635 4.52259 22.2041C4.52259 23.4447 5.52636 24.4598 6.76697 24.4598C8.00758 24.4598 9.02262 23.4447 9.02262 22.2041C9.02262 20.9635 8.00758 19.9485 6.76697 19.9485ZM18.0452 19.9485C16.8046 19.9485 15.8009 20.9635 15.8009 22.2041C15.8009 23.4447 16.8046 24.4598 18.0452 24.4598C19.2859 24.4598 20.3009 23.4447 20.3009 22.2041C20.3009 20.9635 19.2859 19.9485 18.0452 19.9485ZM19.322 1.78283H20.6195V4.3777H23.2143V5.67513H20.6195V8.26999H19.322V5.67513H16.7272V4.3777H19.322V1.78283Z\" fill=\"white\"/&gt; &lt;/svg&gt;",n=t.dmws_search_chevron='&lt;svg width="11" height="6" viewBox="0 0 11 6" fill="currentColor" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M0.162362 0.501472L0.495108 0.166414C0.59983 0.0617749 0.739155 0.00412867 0.888061 0.00412868C1.03688 0.00412869 1.17637 0.061775 1.2811 0.166414L5.07683 3.96231L8.87694 0.162202C8.98149 0.0575636 9.12098 -8.97576e-08 9.26981 -7.68789e-08C9.41863 -6.40003e-08 9.5582 0.0575637 9.66284 0.162202L9.99567 0.495196C10.2124 0.711741 10.2124 1.06447 9.99567 1.28102L5.47118 5.82177C5.36663 5.92633 5.2273 6 5.07716 6L5.07542 6C4.92652 6 4.78719 5.92625 4.68264 5.82177L0.162362 1.29332C0.0576409 1.18877 0.000159173 1.04523 -5.79962e-06 0.896406C-5.78673e-06 0.747501 0.057641 0.605945 0.162362 0.501472Z" fill="#6B7280"/&gt;&lt;/svg&gt;';t.noResults="&lt;svg width=\"85\" height=\"66\" viewBox=\"0 0 85 66\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"&gt;&lt;path d=\"M56.8162 26.573C46.7341 1.3843 34.6656 9.42955 29.8916 16.6008C29.4989 17.071 27.7912 20.2486 24.1013 29.197C19.489 40.3826 16.4923 25.2488 10.429 40.6992C4.5125 55.7754 22.3215 55.194 30.8226 48.272C39.3236 41.35 69.4187 58.0589 56.8162 26.573Z\" fill=\"#F2F2F2\"/&gt;&lt;circle opacity=\"0.08\" cx=\"19.1809\" cy=\"11.0312\" r=\"5.02026\" transform=\"rotate(-6.7566 19.1809 11.0312)\" stroke=\"#1F1F1F\" stroke-width=\"1.26245\"/&gt;&lt;circle opacity=\"0.08\" cx=\"34.4491\" cy=\"52.5613\" r=\"1.64589\" transform=\"rotate(-6.7566 34.4491 52.5613)\" stroke=\"#1F1F1F\" stroke-width=\"1.26245\"/&gt;&lt;path opacity=\"0.08\" d=\"M66.6358 7.8015L66.7272 10.7095L63.9999 11.7228L61.2625 12.7084L59.456 10.4278L57.6727 8.12888L59.2835 5.70602L60.9188 3.29963L63.7209 4.0829L66.5148 4.89456L66.6358 7.8015Z\" stroke=\"#1F1F1F\" stroke-width=\"1.26245\"/&gt;&lt;path opacity=\"0.08\" d=\"M63.8394 48.8693C65.9874 46.2837 69.9633 49.5867 72.1113 47.0011C74.2594 44.4156 70.2834 41.1128 72.4315 38.5272C74.5795 35.9416 78.5554 39.2446 80.7037 36.6588C82.852 34.0729 78.8759 30.7701 81.024 28.1845\" stroke=\"#1D1D1B\" stroke-width=\"1.26245\" stroke-miterlimit=\"10\"/&gt;&lt;rect x=\"7.47021\" y=\"19.4259\" width=\"33.6177\" height=\"1.35829\" rx=\"0.679145\" fill=\"white\"/&gt;&lt;rect x=\"7.47021\" y=\"28.2548\" width=\"33.6177\" height=\"1.35829\" rx=\"0.679145\" fill=\"white\"/&gt;&lt;rect x=\"7.47021\" y=\"37.0836\" width=\"33.6177\" height=\"1.35829\" rx=\"0.679145\" fill=\"white\"/&gt;&lt;rect x=\"7.47021\" y=\"23.8402\" width=\"33.6177\" height=\"1.35829\" rx=\"0.679145\" fill=\"white\"/&gt;&lt;rect x=\"7.47021\" y=\"32.6692\" width=\"33.6177\" height=\"1.35829\" rx=\"0.679145\" fill=\"white\"/&gt;&lt;rect x=\"7.47021\" y=\"41.498\" width=\"33.6177\" height=\"1.35829\" rx=\"0.679145\" fill=\"white\"/&gt;&lt;rect x=\"48.2578\" y=\"44.0676\" width=\"2.37701\" height=\"9.50802\" transform=\"rotate(-45.9073 48.2578 44.0676)\" fill=\"#BEBEBE\"/&gt;&lt;rect x=\"51.2002\" y=\"47.8633\" width=\"3.7353\" height=\"13.5829\" rx=\"1.86765\" transform=\"rotate(-45.9073 51.2002 47.8633)\" fill=\"#6B7280\"/&gt;&lt;path d=\"M50.6442 43.0693L48.9902 44.7765L49.8438 45.6035C51.0877 45.2956 51.4648 44.3371 51.4978 43.8963L50.6442 43.0693Z\" fill=\"#A0A0A0\"/&gt;&lt;circle cx=\"42.1307\" cy=\"36.2398\" r=\"9.31221\" transform=\"rotate(-45.9073 42.1307 36.2398)\" stroke=\"#BEBEBE\" stroke-width=\"3.78735\"/&gt;&lt;path opacity=\"0.08\" d=\"M24.0003 53.8779L24.1314 58.0473L20.221 59.5002L16.2961 60.9134L13.706 57.6434L11.1491 54.3472L13.4587 50.8733L15.8034 47.4231L19.821 48.5461L23.8269 49.7099L24.0003 53.8779Z\" stroke=\"#1F1F1F\" stroke-width=\"1.26245\"/&gt;&lt;circle cx=\"52.1714\" cy=\"27.0343\" r=\"5.69144\" fill=\"#F39341\"/&gt;&lt;path d=\"M50.5112 28.6944L53.8312 25.3744M50.5112 25.3744L53.8312 28.6944\" stroke=\"white\" stroke-width=\"0.946838\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/&gt;&lt;/svg&gt;&lt;div&gt;",t.buttonLoader="&lt;svg class=\"dmws_perfect-product-loader\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"currentColor\"&gt;&lt;path d=\"M496 256C496 294.266 486.781 332.312 469.312 366.062C465.062 374.312 456.656 379.031 447.969 379.031C444.281 379.031 440.5 378.187 436.969 376.344C425.187 370.25 420.594 355.781 426.687 344C440.844 316.672 448 287.062 448 256C448 150.125 361.875 64 256 64C242.75 64 232 53.25 232 40S242.75 16 256 16C388.344 16 496 123.656 496 256Z\"&gt;&lt;/path&gt;&lt;/svg&gt;";var s=t.shopBaseUrl=window.dmws.shopBaseUrl;t.searchPageUrl=window.dmws.shopBaseUrl+'/search/',t.path=window.location.href.replace(t.shopBaseUrl,'').split('?')[0].toLowerCase();var i=null;function o(t){var e=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],c,a;switch(t.image_ratio){case'portrait':e?(c=700,a=570):(c=130,a=100);break;case'landscape':e?(c=330,a=570):(c=100,a=130);break;default:e?(c=570,a=570):(c=130,a=130)}return[a,c]}function l(t,e){var c=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2],a=t.product_card_settings;if(e){var r=o(a,c);return e.substring(0,e.lastIndexOf('/'))+"/".concat(r[0],"x").concat(r[1],"x").concat(t.fill_product_image?'1':'2',"/")+e.substring(e.lastIndexOf('/')+1)}return e}function d(t){switch(t){case'below_image':return'.dmws_perfect-product-card-img';case'below_brand':return'.dmws_perfect-product-brand';case'below_title':return'.dmws_perfect-product-title b';case'below_variant':return'span.dmws_perfect-product-variant';case'below_stock':return'.dmws_perfect-product-stock-info';case'below_description':return'.dmws_perfect-product-description';case'below_score':return'.dmws_perfect-star-container';case'below_price':return'.dmws_perfect-price-cart';case'below_add_to_card':return'.dmws_perfect-search-add-to-cart-block'}}function p(t,e){var c={'product.id':e.product_id,'product.variant_id':e.variant_id,'product.sku':e.sku,'product.ean':e.ean,'product.code':e.article_code};return $.each(Object.keys(c),(function(e,a){t=t.replaceAll("{{ ".concat(a," }}"),c[a])})),t}function u(t,e){switch(t.type){case'text':return"&lt;div style=\"background: ".concat(t.color,"\" class=\"dmws_perfect_label dmws_perfect_label-").concat(t.id,"\"&gt;").concat(t.text,"&lt;/div&gt;");case'image':return"&lt;img alt=\"".concat(c(t.text),"\" src=\"").concat(t.image,"\" class=\"dmws_perfect_label dmws_perfect_label-").concat(t.id,"\" /&gt;");case'custom':var a=t.label_html,r=e.data01;return a=a.replaceAll("{{ product.data_01 }}",r),r=r.split(','),a=a.replaceAll(/(.*?)({{ product[.data_01[^[]+)\s*(\[\s*(\d+)\s*\]\s*)}}(.*?)/g,(function(t,e,c,a,n){return e+r[parseInt(n)]}))}}function f(t,e,c){var a=d(t.custom_html_position),r=p(t.custom_html,e);return $(c).find(a).length&gt;0?$('&lt;div&gt;&lt;/div&gt;').append($(c).find(a).after(r).closest('.dmws_perfect-product-card')).html():c}function m(t){return $(".dmws_perfect-".concat(t,"-filter-wrap-show-results")).is(':visible')}function w(t){var e;return new URLSearchParams(window.location.search).get(t)}function _(t,e,c,r,n,s,i,o,l,d,p){if(null!==c.price||m()||(c.price={min:n,max:s}),null===r.price&amp;&amp;(r.price={min:n,max:s}),i!==r.price.min||o!==r.price.max){var u=$(".dmws_perfect-".concat(e,"-active-filters ul li.price-filter"));u.length?u.html("".concat(d.price,": â‚¬").concat(i," - â‚¬").concat(o,"&lt;span class=\"delete-").concat(e,"-price\"&gt;").concat(a,"&lt;/span&gt;")):$(".dmws_perfect-".concat(e,"-active-filters ul")).append("&lt;li class=\"price-filter\"&gt;".concat(d.price,": â‚¬").concat(i," - â‚¬").concat(o,"&lt;span class=\"delete-").concat(e,"-price\"&gt;").concat(a,"&lt;/span&gt;&lt;/li&gt;"))}else $('.price-filter').length&amp;&amp;$('.price-filter').remove();l(t,i,o,n,s,p)}function h(t,e,c,a){var r=arguments.length&gt;4&amp;&amp;void 0!==arguments[4]&amp;&amp;arguments[4],s=arguments.length&gt;5&amp;&amp;void 0!==arguments[5]?arguments[5]:null,i='';switch(t){case'price':i="&lt;div style=\"display:none\" class=\"dmws_perfect-".concat(e,"-filter dmws_perfect-").concat(e,"-filter-price ").concat(c,"\"&gt;&lt;label&gt;").concat(a.price).concat(n,"&lt;/label&gt;"),i+="&lt;div class=\"dmws_perfect-".concat(e,"-price-wrap\"&gt;&lt;div class=\"dmws_perfect-").concat(e,"-price-slider\"&gt;&lt;/div&gt;&lt;div class=\"dmws_perfect-").concat(e,"-input-wrap\"&gt;&lt;input type=\"text\" class=\"dmws_perfect-").concat(e,"-price-min\"&gt;&lt;input type=\"text\"  class=\"dmws_perfect-").concat(e,"-price-max\" min=\"0\" pattern=\"[0-9]*\" inputmode=\"numeric\"&gt;&lt;/div&gt;&lt;/div&gt;"),i+='&lt;/div&gt;';break;case'stock':i="&lt;div style=\"display:none\" class=\"dmws_perfect-".concat(e,"-filter dmws_perfect-").concat(e,"-filter-stock ").concat(c,"\"&gt;&lt;label class=\"stock-label\"&gt;").concat(a.stock).concat(n,"&lt;/label&gt;"),i+="&lt;label class=\"dmws_perfect-".concat(e,"-switch-wrap\"&gt;&lt;div class=\"dmws_perfect-").concat(e,"-switch\"&gt;&lt;input ").concat(r?'checked':''," type=\"checkbox\" class=\"dmws_perfect-").concat(e,"-switch_stock\"\nname=\"dmws_perfect-").concat(e,"-switch_stock\"&gt;\n&lt;span class=\"dmws_perfect-").concat(e,"-switch-slider\"&gt;&lt;/span&gt;&lt;/div&gt; ").concat(a.in_stock,"&lt;/label&gt;"),i+='&lt;/div&gt;';break;case'brand':null===s&amp;&amp;(i="&lt;div style=\"display:none\" class=\"dmws_perfect-".concat(e,"-filter ").concat(c," dmws_perfect-").concat(e,"-brand dmws_perfect-").concat(e,"-checkbox\"&gt;")+"&lt;label&gt;".concat(a.brand).concat(n,"&lt;/label&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;"));break;case'categories':i="&lt;div style=\"display:none\" class=\"dmws_perfect-".concat(e,"-filter ").concat(c," dmws_perfect-").concat(e,"-categories dmws_perfect-").concat(e,"-checkbox\"&gt;")+"&lt;label&gt;".concat(a.categories).concat(n,"&lt;/label&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;");break;case'review_score':i="&lt;div style=\"display:none\" class=\"dmws_perfect-".concat(e,"-filter ").concat(c," dmws_perfect-").concat(e,"-review_score dmws_perfect-").concat(e,"-checkbox\"&gt;")+"&lt;label&gt;".concat(a.review_score).concat(n,"&lt;/label&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;")}return i}function v(t,e,c,a,r,n,s,i,o){$(document).on('input',".dmws_perfect-".concat(t,"-price-min, .dmws_perfect-").concat(t,"-price-max"),(function(l){var d=parseInt($(".dmws_perfect-".concat(t,"-price-min")).val()),p=parseInt($(".dmws_perfect-".concat(t,"-price-max")).val());e.noUiSlider.updateOptions({start:[null!=d?d:0,null!=p?p:0]},!0),_(e,t,c,a,s,i,d,p,n,r,o)})),$(".dmws_perfect-".concat(t,"-price-wrap .dmws_perfect-").concat(t,"-input-wrap &gt; input")).each((function(){if(0===$(this).closest(".dmws_perfect-".concat(t,"-inputcurrency-input")).length){var e=$("&lt;div class='dmws_perfect-".concat(t,"-inputcurrency-input' /&gt;"));$(this).wrap(e)}}))}function g(t,e){$(".dmws_perfect-".concat(t,"-price-wrap .dmws_perfect-").concat(t,"-input-wrap input")).each((function(){$(this).parent().hasClass("dmws_perfect-".concat(t,"-inputcurrency-input"))&amp;&amp;0===$(this).parent().find(".dmws_perfect-".concat(t,"-inputcurrency-symbol")).length&amp;&amp;$(this).before("&lt;span class='dmws_perfect-".concat(t,"-inputcurrency-symbol'&gt;").concat(e,"&lt;/span&gt;"))}))}function y(t){var e=!(arguments.length&gt;1&amp;&amp;void 0!==arguments[1])||arguments[1],c=$("#dmws_perfect-".concat(t,"-page"));c.length&amp;&amp;c.parents().each((function(c,a){'BODY'!==$(a).prop("tagName")&amp;&amp;'HTML'!==$(a).prop("tagName")&amp;&amp;$(a).toggleClass("dmws_perfect-".concat(t,"-filters-open"),e)}))}function b(t){window.loggedIn&amp;&amp;(t.addClass('in-wishlist'),$.ajax({type:"post",url:t.data('url')}).done((function(){k()})))}function C(t){window.loggedIn&amp;&amp;t.data('remove-url')&amp;&amp;(t.removeClass('in-wishlist'),$.ajax({type:"post",url:t.data('remove-url')}).done((function(){k()})))}function k(){window.loggedIn&amp;&amp;$.ajax({url:s+'/account/wishlist/',data:{format:'json'}}).done((function(t){var e=Object.keys(t.wishlist);$.each($('.dmws-add-to-wishlist'),(function(c,a){var r='';if(e.includes($(a).data('id').toString())){var n=t.wishlist[$(a).data('id').toString()].wid;r=s+'/account/wishlistDelete/'+n,$(a).addClass('in-wishlist').attr('data-remove-url',r)}else $(a).removeClass('in-wishlist')})),$('.wishlist .count').text(e.length)}))}t.abortLastTypesenseSearch=function t(){i&amp;&amp;4!==i.readyState&amp;&amp;i.abort()},t.typesenseSearchMultiple=function t(c){var a=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:$.Deferred(),r=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:0;return i=$.ajax({type:'POST',dataType:'json',contentType:'application/json',headers:{'X-TYPESENSE-API-KEY':e.typesense.apiKey},url:"".concat(e.typesense.url,"/multi_search?")+$.param({enable_highlight_v1:!1,limit_multi_searches:70}),data:JSON.stringify({searches:c}),success:function t(e){'pending'===a.state()&amp;&amp;(a.resolve(e),i=null)},error:function e(n){r&lt;3&amp;&amp;(n.status&gt;=500||429===n.status)?setTimeout((function(){t(c,a,r+1)}),100):'pending'===a.state()&amp;&amp;(a.reject(),i=null)}}),a.promise()},t.debounce=function t(e,c){var a=this,r;return function(){for(var t=arguments.length,n=new Array(t),s=0;s&lt;t;s++)n[s]=arguments[s];clearTimeout(r),r=setTimeout((function(){e.apply(a,n)}),c)}},t.renderProduct=function t(e,a,i,d,p){var m=arguments.length&gt;5&amp;&amp;void 0!==arguments[5]&amp;&amp;arguments[5],w=arguments.length&gt;6&amp;&amp;void 0!==arguments[6]?arguments[6]:[],_=!(arguments.length&gt;7&amp;&amp;void 0!==arguments[7])||arguments[7],h=window.dmws.shopLanguage,v=e.texts[h],g=e.product_card_settings,y='',b=i.url[h];if((e.show_variant_as_product||e.show_cheapest_variant||d||g.show_variant_in_stock&amp;&amp;!i.is_default)&amp;&amp;(b+='?id='+i.variant_id),m||(y+="&lt;li&gt;"),g.show_sale_label&amp;&amp;i.price_old&amp;&amp;i.price_old_num&gt;0&amp;&amp;i.price_old_num&gt;i.price/100){var C=g.hide_discount_sale_text?'':v.sale;g.custom_sale_label_html?w.push({type:'custom',text:g.custom_sale_label_html}):(g.show_discount_percentage&amp;&amp;(''!==C&amp;&amp;(C+=' '),C+=Math.round(100*(i.price/100-parseFloat(i.price_old_num))/parseFloat(i.price_old_num))+'%'),w.push({type:'sale',text:C}))}e.bestsellers&amp;&amp;e.bestsellers.includes(parseInt(i.product_id))&amp;&amp;(g.custom_bestseller_label_html?w.push({type:'custom',text:g.custom_bestseller_label_html}):w.push({type:'bestseller',text:'Bestseller'}));var k=i.image?l(e,i.image,m):e.defaultImage,x=!(!g.show_another_image_on_hover||!i.other_image)&amp;&amp;l(e,i.other_image,!0);if(m){if(y+="&lt;div class=\"dmws_perfect-product-card dmws_perfect-".concat(a,"_product-result dmws_perfect-").concat(a,"_product-result-").concat(i.variant_id,"\"&gt;"),(w.length||e.customLabels.length)&amp;&amp;(y+="&lt;div class=\"dmws_perfect_labels\"&gt;",$.each(w,(function(t,e){'custom'===e.type?y+=e.text:y+="&lt;div class=\"dmws_perfect_label dmws_perfect-label_".concat(e.type,"\"&gt;").concat(e.text,"&lt;/div&gt;")})),e.customLabels.length&amp;&amp;$.each(e.customLabels,(function(t,e){i.custom_labels&amp;&amp;i.custom_labels.includes(e.id.toString())&amp;&amp;(y+=u(e,i))})),y+="&lt;/div&gt;"),g.show_wishlist_icon&amp;&amp;(y+="&lt;div class=\"dmws_perfect-product-card-wishlist\"&gt;&lt;a data-id=\"".concat(i.variant_id,"\"\ndata-url=\"").concat(s+'/account/wishlistAdd/'+i.product_id+'?variant_id='+i.variant_id,"\"\nclass=\"").concat(window.loggedIn?'dmws-add-to-wishlist':'',"\" href=\"").concat(window.loggedIn?'#':s+'/account/login/',"\"&gt;\n&lt;svg class=\"empty\" width=\"20\" height=\"17\" viewBox=\"0 0 20 17\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"&gt;\n&lt;path d=\"M9.67793 16.9998C9.4059 16.9998 9.14364 16.9013 8.93926 16.7222C8.16735 16.0473 7.42313 15.413 6.76654 14.8535L6.76318 14.8506C4.83814 13.2101 3.1758 11.7934 2.01918 10.3978C0.726245 8.83768 0.124023 7.35844 0.124023 5.74246C0.124023 4.1724 0.662393 2.72392 1.63985 1.66365C2.62898 0.590851 3.9862 0 5.46194 0C6.56492 0 7.57504 0.348708 8.46416 1.03636C8.91287 1.38346 9.3196 1.80827 9.67793 2.30378C10.0364 1.80827 10.443 1.38346 10.8918 1.03636C11.781 0.348708 12.7911 0 13.8941 0C15.3697 0 16.727 0.590851 17.7161 1.66365C18.6936 2.72392 19.2318 4.1724 19.2318 5.74246C19.2318 7.35844 18.6298 8.83768 17.3368 10.3977C16.1802 11.7934 14.518 13.2099 12.5933 14.8503C11.9355 15.4107 11.1901 16.046 10.4165 16.7225C10.2122 16.9013 9.94981 16.9998 9.67793 16.9998ZM5.46194 1.11931C4.30255 1.11931 3.23747 1.58202 2.46264 2.4223C1.6763 3.27526 1.24318 4.45434 1.24318 5.74246C1.24318 7.10158 1.74832 8.3171 2.88089 9.68365C3.97556 11.0046 5.60379 12.3921 7.48903 13.9988L7.49253 14.0017C8.1516 14.5634 8.89873 15.2002 9.67633 15.8801C10.4586 15.1988 11.2069 14.561 11.8673 13.9985C13.7524 12.3918 15.3804 11.0046 16.4751 9.68365C17.6075 8.3171 18.1127 7.10158 18.1127 5.74246C18.1127 4.45434 17.6796 3.27526 16.8932 2.4223C16.1185 1.58202 15.0533 1.11931 13.8941 1.11931C13.0447 1.11931 12.265 1.38929 11.5764 1.92169C10.9628 2.39635 10.5354 2.99638 10.2848 3.41623C10.1559 3.63213 9.92911 3.761 9.67793 3.761C9.42675 3.761 9.19991 3.63213 9.07104 3.41623C8.82059 2.99638 8.39316 2.39635 7.77942 1.92169C7.0909 1.38929 6.31112 1.11931 5.46194 1.11931Z\" fill=\"#6B7280\"/&gt;\n&lt;/svg&gt;&lt;svg class=\"filled\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"17\" viewBox=\"0 0 20 17\" fill=\"#fffff\"&gt;\n&lt;path d=\"M9.67801 16.9998C9.40598 16.9998 9.14372 16.9013 8.93933 16.7222C8.16742 16.0473 7.42321 15.413 6.76661 14.8535L6.76326 14.8506C4.83822 13.2101 3.17588 11.7934 2.01925 10.3978C0.726321 8.83768 0.1241 7.35844 0.1241 5.74246C0.1241 4.1724 0.662469 2.72392 1.63993 1.66365C2.62906 0.590851 3.98628 0 5.46202 0C6.565 0 7.57511 0.348708 8.46423 1.03636C8.91295 1.38346 9.31968 1.80827 9.67801 2.30378C10.0365 1.80827 10.4431 1.38346 10.8919 1.03636C11.781 0.348708 12.7912 0 13.8941 0C15.3697 0 16.7271 0.590851 17.7162 1.66365C18.6937 2.72392 19.2319 4.1724 19.2319 5.74246C19.2319 7.35844 18.6298 8.83768 17.3369 10.3977C16.1803 11.7934 14.5181 13.2099 12.5933 14.8503C11.9356 15.4107 11.1902 16.046 10.4165 16.7225C10.2123 16.9013 9.94989 16.9998 9.67801 16.9998Z\"/&gt;\n&lt;/svg&gt;&lt;/a&gt;&lt;/div&gt;")),g.show_image){var L=o(g,!0);y+="&lt;a  class=\"dmws_perfect-product-card-img\" data-product=\"".concat(i.product_id,"\" data-url=\"").concat(s,"/").concat(i.url[h],"\"\nhref=\"").concat(s+'/'+b,"\"&gt;&lt;img alt=\"").concat(c(i['title.'+h]),"\" loading=\"").concat(_?'lazy':'auto',"\" class=\"").concat(x?'first-img':'',"\" width=\"").concat(L[0]/2,"\" height=\"").concat(L[1]/2,"\" src=\"").concat(k,"\" /&gt;"),x&amp;&amp;(y+="&lt;img alt=\"".concat(c(i['title.'+h]),"\" class=\"second-img\" loading=\"lazy\" width=\"").concat(L[0]/2,"\" height=\"").concat(L[1]/2,"\" src=\"").concat(x,"\"/&gt;")),y+='&lt;/a&gt;'}}else if(y+="&lt;a class=\"dmws_perfect-search_product-popup-".concat(i.variant_id,"\"\ndata-url=\"").concat(s,"/").concat(i.url[h],"\" href=\"").concat(s+'/'+b,"\" data-product=\"").concat(i.product_id,"\"&gt;"),g.show_image){var F=i.image?k:e.defaultImageSmall;y+="&lt;img alt=\"".concat(c(i['title.'+h]),"\" src=\"").concat(F,"\" height=\"65\" /&gt;")}return y+="&lt;div class=\"dmws_perfect-product-meta\"&gt;",m&amp;&amp;g.show_brand&amp;&amp;i.brand_name&amp;&amp;(y+="&lt;span class=\"dmws_perfect-product-brand\"&gt;".concat(i.brand_name,"&lt;/span&gt;")),y+="&lt;div class=\"dmws_perfect-product-title\"&gt;",m&amp;&amp;(y+="&lt;a  data-product=\"".concat(i.product_id,"\" data-url=\"").concat(s,"/").concat(i.url[h],"\"\nhref=\"").concat(s+'/'+b,"\"&gt;")),y+='&lt;b&gt;',!m&amp;&amp;g.show_brand&amp;&amp;i.brand_name&amp;&amp;(y+="".concat(i.brand_name," ")),y+="".concat(i['title.'+h],"&lt;/b&gt;"),m&amp;&amp;(y+='&lt;/a&gt;'),g.show_variant&amp;&amp;''!==i.variant_title[h]&amp;&amp;(y+="&lt;span class=\"dmws_perfect-product-variant\"&gt;".concat(i.variant_title[h],"&lt;/span&gt;")),g.show_stock&amp;&amp;(y+="&lt;div class=\"dmws_perfect-product-stock-info\"&gt;&lt;div class=\"dmws_perfect-stock-indicator dmws_perfect-".concat(i.in_stock?'in-stock':'out-of-stock',"\"&gt;&lt;/div&gt;&lt;span&gt;"),i.in_stock?g.show_stock_level?y+=v.stock_level.replace(/{{\s*level\s*}}/g,i.stock_level):y+=v.in_stock:y+=v.out_of_stock,y+="&lt;/span&gt;&lt;/div&gt;"),m&amp;&amp;g.show_description&amp;&amp;(y+="&lt;div class=\"dmws_perfect-product-description\"&gt;".concat(i.description[h],"&lt;/div&gt;")),y+='&lt;/div&gt;',m&amp;&amp;g.show_score&amp;&amp;(y+="&lt;div class=\"dmws_perfect-star-container\"&gt;",y+="&lt;div class=\"rateit svg\" data-rateit-readonly=\"true\"\n        data-rateit-starwidth=\"20\" data-rateit-starheight=\"18\" data-rateit-value=\"".concat(i.score_float,"\"&gt;&lt;/div&gt;"),y+="&lt;span&gt;(".concat(i.reviews_count,")&lt;/span&gt;"),y+='&lt;/div&gt;'),y+="&lt;div class=\"dmws_perfect-price-cart\"&gt;&lt;div class=\"dmws_perfect-product-price\"&gt;",p&amp;&amp;(i.price_old&amp;&amp;100*i.price_old_num&gt;i.price&amp;&amp;(y+="&lt;div class=\"dmws_perfect-price-old\"&gt;".concat(i.price_old,"&lt;/div&gt;")),y+="&lt;div class=\"dmws_perfect-price-current\"&gt;".concat(i.price_formatted,"&lt;/div&gt;")),y+="&lt;/div&gt;",m&amp;&amp;g.show_add_to_cart_button&amp;&amp;(y+="&lt;form action=\"".concat(s,"/cart/add/").concat(i.variant_id,"/\" id=\"product_configure_form_").concat(i.variant_id,"\" method=\"post\"&gt;&lt;div class=\"dmws_perfect-").concat(a,"-add-to-cart-block\"&gt;"),i.in_stock&amp;&amp;!i.has_required_field?(g.show_quantity_input&amp;&amp;(y+="&lt;div class=\"dmws_perfect-product-add-to-cart-qty\"&gt;&lt;input type=\"number\" min=\"1\" max=\"10000\" name=\"quantity\" value=\"1\" pattern=\"[0-9]*\"&gt;&lt;div class=\"spinner\"&gt;&lt;div role=\"button\" class=\"incr\"&gt;".concat(n,"&lt;/div&gt;&lt;div role=\"button\" class=\"decr\"&gt;").concat(n,"&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;")),y+="&lt;button data-link=\"".concat(s,"/cart/add/").concat(i.variant_id,"/\" class=\"dmws_perfect-").concat(a,"-add-to-cart-btn\"&gt;").concat(r,"&lt;/button&gt;&lt;/div&gt;&lt;/form&gt;")):y+="&lt;a data-product=\"".concat(i.product_id,"\" data-url=\"").concat(s,"/").concat(i.url[h],"\" href=\"").concat(s+'/'+b,"\"\nclass=\"dmws_perfect-").concat(a,"-view-btn\"&gt;").concat(v.view,"&lt;/a&gt;&lt;/div&gt;&lt;/form&gt;")),y+="&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;",m||(y+="&lt;/li&gt;"),m&amp;&amp;g.custom_html&amp;&amp;(y=f(g,i,y)),y},t.appendLabelStyles=function t(e){var c='',a='';$.each(e,(function(t,e){'image'===e.type&amp;&amp;(a+=".dmws_perfect_label-".concat(e.id,"{ width: ").concat(e.width_mobile," !important;\n            ").concat('auto'===e.width_mobile?'max-height:65px !important':''," } "),c+=".dmws_perfect_label-".concat(e.id,"{ width: ").concat(e.width_desktop," !important;\n            ").concat('auto'===e.width_desktop?'max-height:45px !important':''," } "))})),''!==c&amp;&amp;$('head').append("&lt;style&gt;".concat(a," @media only screen and (min-width: 768px) {").concat(c," }&lt;/style&gt;"))},t.facetInputChange=function t(e,c,r,n){var s=arguments.length&gt;4&amp;&amp;void 0!==arguments[4]&amp;&amp;arguments[4],i=m(),o=c.data('filter'),l=c.data('title'),d=c.data('value'),p='search'===e?s?$('#dmws_perfect-search,#dmws_perfect-search-filterbar'):$('#dmws_perfect-search'):$('#dmws_perfect-filter-filterbar');$(c).is(":checked")?(p.find(".dmws_perfect-".concat(e,"-active-filters ul")).append("&lt;li data-type=\"".concat(o,"\" data-value=\"").concat(c.val(),"\"&gt;").concat(l,": ").concat(d,"\n&lt;span class=\"delete-filter\"&gt;").concat(a,"&lt;/span&gt;&lt;/li&gt;")),i||(r.hasOwnProperty(o)||(r[o]=[]),r[o].push($(c).val())),n.hasOwnProperty(o)||(n[o]=[]),n[o].push($(c).val())):($(".dmws_perfect-".concat(e,"-active-filters ul li[data-type=\"").concat(o,"\"][data-value=\"").concat(c.val(),"\"]")).remove(),i||(r[o]=r[o].filter((function(t){return t!==$(c).val()}))),n[o]=n[o].filter((function(t){return t!==$(c).val()})))},t.maxFiltersCheck=function t(c,a){var r,s;if('search'===c)r=4;else if(0===(r=parseInt(null!==(s=e.design_settings.show_more_after)&amp;&amp;void 0!==s?s:5)))return;$(".dmws_perfect-".concat(c,"-checkbox:not(.dmws_perfect-").concat(c,"-review_score,.dmws_perfect-").concat(c,"-score) &gt; ul")).each((function(){var t=$(this);if(r&lt;t.find('&gt; li').length){t.parent().addClass("dmws_perfect-".concat(c,"-toggle-options"));var e=t.find(".dmws_perfect-".concat(c,"-less:visible")).length?"dmws_perfect-".concat(c,"-max-options"):"dmws_perfect-".concat(c,"-max-options dmws_perfect-").concat(c,"-hide");t.find('&gt; li:nth-child('+r+')').nextAll("*:not(.dmws_perfect-".concat(c,"-toggle)")).addClass(e),0===t.find(".dmws_perfect-".concat(c,"-toggle")).length&amp;&amp;(t.append("&lt;li class=\"dmws_perfect-".concat(c,"-toggle\"&gt;").concat(a.show_more+n,"&lt;/li&gt;")),t.append("&lt;li class=\"dmws_perfect-".concat(c,"-toggle dmws_perfect-").concat(c,"-less\" style=\"display: none;\"&gt;").concat(a.show_less+n,"&lt;/li&gt;")))}}))},t.getSearchParam=w,t.initPriceFilter=function t(e,c,a,r,n,s,i,o,l){var d,p,u,f=0,h=e.stats.hasOwnProperty('max')?Math.ceil(e.stats.max/100):1,y='filter'===c?'pf':'ps',b=w(y+'_price[min]'),C=w(y+'_price[max]'),k,x,L,F;(''===b&amp;&amp;(b=null),''===C&amp;&amp;(C=null),b&amp;&amp;null===a.price&amp;&amp;(m()||(a.price={min:0,max:h}),r.price={min:0,max:h}),$(".dmws_perfect-".concat(c,"-price-min")).val(null!==(d=b)&amp;&amp;void 0!==d?d:0).attr('min',0),$(".dmws_perfect-".concat(c,"-price-max")).val(null!==(p=C)&amp;&amp;void 0!==p?p:h).attr('max',Math.max(null!==(u=b)&amp;&amp;void 0!==u?u:0,h)),''===n)?$(s).length&amp;&amp;(n=$(s)[0],noUiSlider.create(n,{connect:!0,start:[null!==(k=b)&amp;&amp;void 0!==k?k:0,null!==(x=C)&amp;&amp;void 0!==x?x:h],range:{min:[0],max:[h]},format:{to:function t(e){return Math.ceil(e)},from:function t(e){return Math.ceil(e)}}}),n.noUiSlider.on('slide',(function(t){$(".dmws_perfect-".concat(c,"-price-min")).val(Math.ceil(t[0])),$(".dmws_perfect-".concat(c,"-price-max")).val(Math.ceil(t[1]))})),n.noUiSlider.on('change',(function(t){var e=Math.ceil(t[0]),s=Math.ceil(t[1]);_(n,c,a,r,0,h,e,s,i,o,$($(this)[0].target))}))):n.noUiSlider.updateOptions({range:{min:[0],max:[C?Math.max(C,h):h]},start:[null!==(L=b)&amp;&amp;void 0!==L?L:0,null!==(F=C)&amp;&amp;void 0!==F?F:h]},!0);return v(c,n,a,r,o,i,0,h,$(s)),''!==l&amp;&amp;g(c,l),n},t.getTypesenseSort=function t(e,c,a){switch(e){case'popularity':e='_text_match(buckets: 10):desc,popularity:desc';break;case'title_asc':case'title:asc':e="title.".concat(c,":asc");break;case'title_desc':case'title:desc':e="title.".concat(c,":desc")}return a.show_out_of_stock_last&amp;&amp;(e='in_stock:desc,'+e),e},t.productCardsInit=function t(e){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:'dmws:search-product-card-init';$.each(e,(function(t,e){$(document).trigger($.Event(c,{target:$(e.selector)[0],product:e.product}))}))},t.sidebarFix=function t(e){var c;$("#dmws_perfect-".concat(e,"-page")).parents().each((function(t,e){'BODY'!==$(e).prop("tagName")&amp;&amp;'HTML'!==$(e).prop("tagName")&amp;&amp;'hidden'===$(e).css('overflow')&amp;&amp;$(e).css('overflow-x','clip').css('overflow-y','clip').css('float','inherit').addClass('dmws_perfect-parent-clearfix')}))},t.hasFilterParams=function t(e){var c,a=_createForOfIteratorHelper(new URLSearchParams(window.location.search).keys()),r;try{for(a.s();!(r=a.n()).done;){var n;if(r.value.startsWith(e))return!0}}catch(t){a.e(t)}finally{a.f()}return!1},t.wishlistEvents=function t(){k(),$(document).on('click','.dmws-add-to-wishlist',(function(t){t.preventDefault(),$(t.currentTarget).hasClass('in-wishlist')?C($(t.currentTarget)):b($(t.currentTarget))}))},t.dropDownEvents=function t(e){var c=!1;$(document).on('click',".dmws_perfect-".concat(e,"-dropdown"),(function(){c||($(this).addClass("dmws_perfect-".concat(e,"-dropdown-active")),c=!0)})),$(document).mouseup((function(t){var a=$(".dmws_perfect-".concat(e,"-dropdown"));if(c){var r=a.find(".dmws_perfect-".concat(e,"-dropdown-content"));r.is(t.target)||0!==r.has(t.target).length||a.removeClass("dmws_perfect-".concat(e,"-dropdown-active")),setTimeout((function(){c=!1}),50)}}))},t.filtersEvents=function t(e){$(document).on('click',".dmws_perfect-".concat(e,"-toggle"),(function(){$(this).parent().find(".dmws_perfect-".concat(e,"-max-options")).toggleClass("dmws_perfect-".concat(e,"-hide")),$(this).parent().find(".dmws_perfect-".concat(e,"-toggle")).toggle(),$(".rateit").rateit()})),$(document).on('click',".dmws_perfect-".concat(e,"-filter:not(.dmws_perfect-").concat(e,"-no-collapse) &gt; label"),(function(t){$(t.currentTarget).parent().toggleClass("dmws_perfect-".concat(e,"-filter-collapsed"))})),$(document).on('click',".dmws_perfect-".concat(e,"-filter-wrap-close"),(function(){y(e,!1),$(".dmws_perfect-".concat(e,"-wrap")).removeClass('show-filter').find(".dmws_perfect-".concat(e,"-filter-wrap")).removeClass('show-filter')})),$(document).on('click',".dmws_perfect-".concat(e,"-mobile-filter"),(function(t){y(e,!0),$(t.currentTarget).closest(".dmws_perfect-".concat(e,"-wrap")).addClass('show-filter').find(".dmws_perfect-".concat(e,"-filter-wrap")).addClass('show-filter')}))},t.sortEvents=function t(e,c){$(document).on('click',".dmws_perfect-".concat(e,"-dropdown .dmws_perfect-").concat(e,"-dropdown-content &gt; span"),(function(t){var a=$(t.currentTarget);a.parent().find('&gt; span').removeClass('option-active'),a.addClass('option-active'),a.parents(".dmws_perfect-".concat(e,"-dropdown-active")).removeClass("dmws_perfect-".concat(e,"-dropdown-active")),c(a.data('sort'),a)}))},t.insertCurrencySymbol=g,t.toggleMobileFiltersOpenClass=y,t.getProduct=function t(e,c){var a;if(c.show_variant_as_product)a=e.document;else{var r=[];c.product_card_settings.show_variant_in_stock&amp;&amp;(r=e.hits.filter((function(t){return t.document.in_stock}))),0===r.length&amp;&amp;(r=e.hits),a=c.show_cheapest_variant?(a=r.reduce((function(t,e){return t.document.price&lt;e.document.price?t:e}))).document:(a=r.find((function(t){return t.document.is_default})))?a.document:r[0].document}return a},t.scrollFix=function t(e){var c=$('header');if(c.length){var a=$('header &gt; *:not(.overlay):not(.hide), header &gt; *:not(.overlay):not(.hide) &gt; *:not(.overlay):not(.hide)').filter((function(t,e){return['sticky','fixed'].includes($(e).css('position'))})),r=0,n=['sticky','fixed'].includes(c.css('position')),s;n&amp;&amp;(r=c.innerHeight()),(n&amp;&amp;0===r||!n&amp;&amp;a.length&gt;0)&amp;&amp;$(a).each((function(t,e){$(e).is(':visible')&amp;&amp;'hidden'!==$(e).css('visibility')&amp;&amp;(r+=$(e).innerHeight())})),('search'===e?$("#dmws_perfect-search-page .dmws_perfect-search-filters"):$("#dmws_perfect-filter-filterbar")).css('top',r+10+'px').css('max-height','calc(100vh - '+(r+10)+'px)')}},t.renderScoreFilter=function t(e,c,a,r,n,s){var i='',o=c[s];if(Object.values(r).filter((function(t){return parseInt(t.value)&gt;0})).length&gt;0)for(var l=function t(c){var l=Object.values(r).find((function(t){return t.value===c.toString()}));l=l?l.count:0,i+="&lt;li&gt;&lt;input data-title=\"".concat(n,"\" data-filter=\"").concat(s,"\" data-value=\"").concat(c,"\"\nvalue=\"").concat(c,"\" ").concat(o&amp;&amp;o.includes(c.toString())?'checked="checked"':''," type=\"checkbox\"\nid=\"dmws_perfect-").concat(e,"-").concat(a,"-").concat(c,"\"&gt;"),i+="&lt;div class=\"dmws_perfect-".concat(e,"-star-label\"&gt;"),i+="&lt;label for=\"dmws_perfect-".concat(e,"-").concat(a,"-").concat(c,"\"&gt;&lt;div class=\"rateit svg\" data-rateit-readonly=\"true\"\n                         data-rateit-starwidth=\"20\" data-rateit-starheight=\"18\" data-rateit-value=\"").concat(c,"\" &gt;&lt;/div&gt;"),i+="&lt;/label&gt;&lt;span class=\"dmws_perfect-".concat(e,"-count\" data-dmws-").concat(e,"-results=\"").concat(l,"\"&gt;&lt;/span&gt;&lt;/li&gt;")},d=5;d&gt;0;d--)l(d);return i},t.renderDummyProductCard=function t(e,c){var a=c.product_card_settings,r="&lt;div class=\"dmws_perfect-".concat(e,"-dummy-text\"&gt;&lt;/div&gt;"),n="&lt;div class=\"dmws_perfect-product-card dmws_perfect-".concat(e,"_product-result dmws_perfect-").concat(e,"_product-result-dummy\"&gt;");if(a.show_image&amp;&amp;(n+="&lt;div class=\"dmws_perfect-".concat(e,"-dummy-image dmws_perfect-").concat(e,"-dummy-image-").concat(a.image_ratio,"\"&gt;&lt;/div&gt;")),n+="&lt;div class=\"dmws_perfect-".concat(e,"-meta dmws_perfect-").concat(e,"-meta-dummy\"&gt;"),a.show_brand&amp;&amp;(n+=r),n+="&lt;div class=\"dmws_perfect-".concat(e,"-title dmws_perfect-").concat(e,"-title-dummy\"&gt;&lt;b class=\"dmws_perfect-").concat(e,"-dummy-text\"&gt;&lt;/b&gt;"),c.show_variant&amp;&amp;(n+="&lt;span class=\"dmws_perfect-".concat(e,"-dummy-text\"&gt;&lt;/span&gt;")),c.show_stock&amp;&amp;(n+="&lt;div class=\"dmws_perfect-".concat(e,"-stock-info\"&gt;").concat(r,"&lt;/div&gt;")),c.show_description){n+="&lt;div class=\"dmws_perfect-".concat(e,"-description\"&gt;");for(var s=0;s&lt;2;s++)n+="&lt;span class=\"dmws_perfect-".concat(e,"-dummy-text\"&gt;&lt;/span&gt;");n+='&lt;/div&gt;'}return n+="&lt;/div&gt;&lt;div class=\"dmws_perfect-".concat(e,"-price-cart dmws_perfect-").concat(e,"-price-cart-dummy\"&gt;&lt;div class=\"dmws_perfect-").concat(e,"-price \"&gt;"),n+="&lt;div class=\"dmws_perfect-".concat(e,"-current\"&gt;&lt;span class=\"dmws_perfect-").concat(e,"-dummy-text\"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;"),n+="&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;"},t.renderDummyCheckboxFilter=function t(e){for(var c="&lt;div class=\"dmws_perfect-".concat(e,"-dummy-text\"&gt;&lt;/div&gt;"),a="&lt;li&gt;&lt;input onclick=\"return false;\" type=\"checkbox\"&gt;".concat(c,"&lt;span class=\"dmws_perfect-").concat(e,"-count\" data-dmws-").concat(e,"-results=\"\"&gt;&lt;/span&gt;&lt;/li&gt;"),r="&lt;div class=\"dmws_perfect-dummy-filter dmws_perfect-".concat(e,"-filter dmws_perfect-").concat(e,"-checkbox\"&gt;")+"&lt;label&gt;&lt;div class=\"dmws_perfect-".concat(e,"-dummy-text\" style=\"width:160px;\"&gt;&lt;/div&gt;").concat(n,"&lt;/label&gt;&lt;ul&gt;"),s=0;s&lt;4;s++)r+=a;return r+='&lt;/ul&gt;&lt;/div&gt;'},t.refreshWishlist=k,t.getFiltersHtml=function t(e,c,r,s,i){var o=arguments.length&gt;5&amp;&amp;void 0!==arguments[5]?arguments[5]:null,l=arguments.length&gt;6&amp;&amp;void 0!==arguments[6]&amp;&amp;arguments[6],d='',p={};if(e.length){'search'===r&amp;&amp;(d="&lt;div class=\"dmws_perfect-".concat(r,"-filter-wrap\"&gt;&lt;label class=\"filter-title\"&gt;&lt;span class=\"dmws_perfect-").concat(r,"-filter-wrap-close\"&gt;")+a+"&lt;/span&gt;".concat(s.filter,"&lt;div class=\"dmws_perfect-").concat(r,"-filter-wrap-reset\" style=\"display:none;\"&gt;Reset&lt;/div&gt;&lt;/label&gt;"),d+="&lt;div class=\"dmws_perfect-".concat(r,"-filter-wrap-filters\"&gt;&lt;div class=\"dmws_perfect-").concat(r,"-filter dmws_perfect-").concat(r,"-active-filters\"&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;"));var u=c&amp;&amp;c.design_settings&amp;&amp;c.design_settings.collapse_filters?'dmws_perfect-'+r+'-filter-collapsed':'';$.each(e,(function(t,e){if(!e.is_hidden)if(null!=e.default_filter_key){var c=[],a;if('stock'===e.default_filter_key?c=l:'price'===e.default_filter_key&amp;&amp;(c=null),p[e.default_filter_key]=c,e.lightspeed_id)d+="&lt;div data-id=\"".concat(e.id,"\" style=\"display:none\" class=\"dmws_perfect-").concat(r,"-filter ").concat(u," dmws_perfect-").concat(r,"-checkbox\ndmws_perfect-").concat(r,"-filters_").concat(i,"_").concat(e.lightspeed_id,"\"&gt;"),d+="&lt;label&gt;".concat(e.title[i])+n+'&lt;/label&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;';else d+=h(e.default_filter_key,r,u,s,null!==(a=p.stock)&amp;&amp;void 0!==a&amp;&amp;a,o)}else p["".concat(e.id)]=[],d+="&lt;div data-id=\"".concat(e.id,"\" style=\"display:none\" class=\"dmws_perfect-").concat(r,"-filter ").concat(u," dmws_perfect-").concat(r,"-checkbox dmws_perfect-").concat(r,"-filters_").concat(e.id,"\"&gt;"),d+="&lt;label&gt;".concat(e.title[i])+n+'&lt;/label&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;'})),'search'===r&amp;&amp;(d+="&lt;/div&gt;&lt;div class=\"dmws_perfect-".concat(r,"-filter-wrap-show-results dmws_perfect-").concat(r,"-hide\"&gt;&lt;button&gt;").concat(s.apply_filters,"&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;"))}return{html:d,filters:p,mobileFilters:jQuery.extend({},p)}},t.quantityEvents=function t(e){$(document).on('click',"#dmws_perfect-".concat(e,"-results .dmws_perfect-product-add-to-cart-qty div:first-of-type"),(function(t){var e=$(t.currentTarget).closest(".dmws_perfect-product-add-to-cart-qty").find('input');e.val(parseInt(e.val())+1)})),$(document).on('click',"#dmws_perfect-".concat(e,"-results .dmws_perfect-product-add-to-cart-qty div:last-of-type"),(function(t){var e=$(t.currentTarget).closest(".dmws_perfect-product-add-to-cart-qty").find('input');parseInt(e.val())&gt;1&amp;&amp;e.val(parseInt(e.val())-1)}))},t.resetFilters=function t(e,c,a){var r=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]&amp;&amp;arguments[3],n={};return $.each(e,(function(t,e){switch(e.default_filter_key){case'price':c(),n.price=null;break;case'stock':n.stock=r;break;case'brand':case'review_score':case'categories':n[e.default_filter_key]=[];break;default:e.default_filter_key?n["filters.".concat(a,".").concat(e.id)]=[]:n["".concat(e.id)]=[]}})),n},t.isFiltersNotEmpty=function t(e){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:[];return Object.entries(e).filter((function(t){return!c.includes(t[0])&amp;&amp;(Array.isArray(t[1])?t[1].length&gt;0:Boolean(t[1]))})).length&gt;0},t.addCustomFilters=function t(e,c,a,r){var n=arguments.length&gt;4&amp;&amp;void 0!==arguments[4]?arguments[4]:'filter',s=e.hasOwnProperty(c.id)?e[c.id]:[],i=a.facet_counts.find((function(t){return'filter_values'===t.field_name})),o='';$.each(c.values,(function(t,e){var a=i.counts.find((function(t){return t.value===e.id.toString()}));a&amp;&amp;(o+="&lt;li&gt;&lt;input data-title=\"".concat(c.title[r],"\" data-filter=\"").concat(c.id,"\" value=\"").concat(e.id,"\" data-value=\"").concat(e.title[r],"\" ").concat(s.length&amp;&amp;s.includes(e.id.toString())?'checked="checked"':''," type=\"checkbox\" id=\"dmws_perfect-").concat(n,"-").concat(c.id,"-").concat(e.id,"\"&gt;"),o+="&lt;label for=\"dmws_perfect-".concat(n,"-").concat(c.id,"-").concat(e.id,"\"&gt;").concat(e.title[r],"&lt;/label&gt;&lt;span class=\"dmws_perfect-").concat(n,"-count\" data-dmws-").concat(n,"-results=\"").concat(a.count,"\"&gt;&lt;/span&gt;&lt;/li&gt;"))})),$(".dmws_perfect-".concat(n,"-filters_").concat(c.id)).toggle(''!==o).find('ul').html(o)},t.getFilterByStr=function t(e,c,a){var r=e;return''!==c&amp;&amp;(''!==r&amp;&amp;(r+='&amp;&amp;'),r+=c),a&amp;&amp;!e.includes('in_stock')&amp;&amp;(''!==r&amp;&amp;(r+='&amp;&amp;'),r+='in_stock:=true'),r}}));
;(function($,settings){(function($){var t=window.dmws.baseUrl,o=window.location.href;-1!==o.toLowerCase().indexOf('/checkout/')&amp;&amp;-1===o.toLowerCase().indexOf('/checkout/thankyou')&amp;&amp;$.ajax({url:o,data:{format:'json'},dataType:'json',crossDomain:!0}).done((function(o){if(o.checkout||o.pay||o.order){var e={method:1,details:2,shipment:3,payment:4,review:5,confirm:5,pay:6,thankyou:7},a;if(o.pay||o.order){var i=o.pay?o.pay.order:o.order;a={checkout:{step:e[o.pay?'pay':'thankyou']},order:{id:i.information.id},quote:{id:i.information.quote_id,total:parseFloat(i.information.price_incl),products:i.products.map((function(t){return{id:t.product_id,vid:t.variant_id,title:t.title,url:t.url,variant:t.variant?t.variant.toString():null,quantity:t.quantity,price:parseFloat(t.price_incl)}}))},customer:{id:i.customer.id,name:i.customer.firstname,email:i.customer.email,country:i.billing.country_code,language:o.shop.language,currency:o.shop.currency}}}else a={checkout:{id:o.checkout.id,step:e[o.step]},quote:{id:o.checkout.quote.id,total:o.checkout.quote.price_incl,products:o.checkout.quote.products.map((function(t){return{id:t.product_id,vid:t.variant_id,title:t.title,url:t.url,variant:t.variant?t.variant.toString():null,image:t.image_src,quantity:t.quantity,price:t.price_incl}}))},customer:{id:o.checkout.user?o.checkout.user.id:null,email:o.checkout.customer.email,name:o.checkout.customer.firstname,country:o.checkout.billing_address.country,language:o.shop.language,currency:o.shop.currency}};var r={};a.quote.products.forEach((function(t){var o="".concat(t.id,".").concat(t.vid);r.hasOwnProperty(o)?(r[o].price+=t.price,r[o].quantity+=t.quantity):r[o]=t})),a.quote.products=Object.keys(r).map((function(t){return r[t]})),$.ajax({type:'POST',dataType:'json',contentType:'application/json',crossDomain:!0,url:"".concat(t,"/api/shops/").concat(o.shop.id,"/checkout"),data:JSON.stringify(a)})}}))})(window.jQuery);})(window.jQuery,{});(function($,settings){(function(){var t=window.dmws.baseUrl,e=Object.keys(settings.texts).length&gt;1?"/".concat(window.location.pathname.split('/')[1]):'',o="".concat(window.location.origin).concat(e),a={us:'en',fc:'fr'},n=document.documentElement.lang;a.hasOwnProperty(n)&amp;&amp;(n=a[n]);var s=settings.texts[n],i='&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"&gt;&lt;path d="M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z"&gt;&lt;/path&gt;&lt;path d="M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z"&gt;&lt;/path&gt;&lt;/svg&gt;',c='&lt;svg class="success-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"&gt;&lt;path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"&gt;&lt;/path&gt;&lt;/svg&gt;',l='&lt;svg viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/&gt;&lt;/svg&gt;',d,r=function t(e){var o=document.createElement("p");return o.appendChild(document.createTextNode(e)),o.innerHTML},p=function t(){if(d)return d;var e=$('input[type=hidden][name=key]').val();return d=$.Deferred(),e?d.resolve(e):($.ajax({url:window.location.href,data:{format:'json'},dataType:'json',crossDomain:!0}).done((function(t){t.page&amp;&amp;t.page.key?d.resolve(t.page.key):d.reject()})).fail((function(){d.reject()})),d)},u=(v=!1,m=!1,x={},j={},P=function t(){return O?{id:O.id,vid:O.vid,title:O.title,variant:O.variant,url:O.url,image:O.image,stock:O.stock?{available:O.stock.available}:{available:!0}}:null},C=function t(e,o){var a=e.variants[o];return{id:e.id,vid:a.id,title:e.title,variant:a.title,url:e.url,image:e.image,stock:a.stock?{available:a.stock.available}:{available:!0},variants:e.variants}},D=function t(){var e=$.Deferred(),a;return settings.show_subscribe_checkbox&amp;&amp;g.is(':checked')&amp;&amp;!j.hasOwnProperty(w.val())?(p().done((function(t){var a="".concat(o,"/account/newsletter/?format=json");$.ajax({url:a,type:'POST',crossDomain:!0,data:{key:t,email:w.val()}}).done((function(t,o,n){if(0===n.getResponseHeader('content-type').indexOf('text/html'))return j[w.val()]=!0,void e.resolve(!0);var s=t.formkey,i=$('&lt;script /&gt;',{src:'https://www.google.com/recaptcha/api.js?onload=onDmwsPlusStockRecaptchaLoad&amp;render=explicit'}),c=$('&lt;div id="dmws-plus-stock-recaptcha"&gt;&lt;/div&gt;');b.hide().after(c);var l=function t(){c.remove(),i.remove(),b.show(),delete window.onDmwsPlusStockRecaptchaLoad},d=function t(){l(),e.reject()};window.onDmwsPlusStockRecaptchaLoad=function(){window.grecaptcha.render('dmws-plus-stock-recaptcha',{sitekey:t.sitekey,callback:function t(o){$.ajax({url:a,type:'POST',crossDomain:!0,data:{key:s,'g-recaptcha-response':o}}).always((function(){l(),f.off('hide.dmws-popup',d),'pending'===e.state()&amp;&amp;(j[w.val()]=!0,e.resolve(!0))}))}})},i.appendTo('body'),f.one('hide.dmws-popup',d)})).fail((function(){e.resolve(!1)}))})).fail((function(){e.resolve(!1)})),e):e.resolve()},S=function e(){D().done((function(e){$.ajax({type:'POST',dataType:'json',contentType:'application/json',crossDomain:!0,url:"".concat(t,"/api/shops/").concat(settings.shopId,"/product-stock-subscription"),headers:{'Accept-Language':n},data:JSON.stringify({product:P(),email:w.val(),subscribed_newsletter:e})}).done((function(){if(b.hide(),h.show(),x[O.vid].subscribed=!0,_.children().length){var t;if(Object.keys(O.variants).filter((function(t){var e=O.variants[t];return e.id!==O.vid&amp;&amp;!e.stock.available&amp;&amp;!1===x[e.id].subscribed})).length&gt;0)return void _.find("option[value=\"".concat(O.vid,"\"]")).prop('disabled',!0);_.empty(),_.closest('.dmws-plus-stock-variant-select').hide()}$('#dmws-plus-stock-modal-link-container').remove()})).fail((function(t){w.removeClass('valid validating').addClass('invalid');var e=$('.dmws-plus-stock-validation-error'),o='Something went wrong. Please try again.';k.prop('disabled',!1),422===t.status&amp;&amp;(o=(t.responseJSON||JSON.parse(t.responseText)).error),e.length?e.text(o):w.after("&lt;div class=\"dmws-plus-stock-validation-error\"&gt;".concat(o,"&lt;/div&gt;"))}))}))},q=function t(){if(v)N();else{v=!0;var e=!!settings.subscribe_checkbox_opt_out,o=["&lt;div class=\"dmws-plus-stock-variant-select\" style=\"display: none;\"&gt;","&lt;label for=\"dmws-plus-stock-variant\"&gt;".concat(s.variant_select,"&lt;span class=\"required\"&gt;*&lt;/span&gt;&lt;/label&gt;"),"&lt;div class=\"dmws-plus-stock-select-wrapper\"&gt;","&lt;select id=\"dmws-plus-stock-variant\"&gt;&lt;/select&gt;","&lt;/div&gt;","&lt;/div&gt;"].join(''),a=settings.show_subscribe_checkbox?["&lt;label class=\"dmws-plus-stock-checkbox\"&gt;","&lt;input type=\"checkbox\" name=\"newsletter\" value=\"1\" id=\"dmws-plus-stock-newsletter-checkbox\"".concat(e?' checked':'',"&gt;"),"&lt;div class=\"dmws-plus-stock-checkbox-control\"&gt;".concat(l,"&lt;/div&gt;"),"".concat(s.newsletter_text),"&lt;/label&gt;"].join(''):'';f=$(["&lt;div id=\"dmws-plus-stock-modal\" class=\"dmws-f_popup\" style=\"display:none;\"&gt;","&lt;h3 class=\"dmws-plus-h3\"&gt;".concat(s.popup_title,"&lt;/h3&gt;"),"&lt;div class=\"dmws-plus-stock-modal-body\"&gt;","&lt;p&gt;".concat(s.popup_text,"&lt;/p&gt;"),"&lt;form method=\"post\"&gt;",o,"&lt;div&gt;","&lt;label for=\"dmws-plus-stock-email\"&gt;".concat(s.email,"&lt;span class=\"required\"&gt;*&lt;/span&gt;&lt;/label&gt;"),"&lt;input type=\"email\" required placeholder=\"".concat(s.email,"\" id=\"dmws-plus-stock-email\" autocomplete=\"email\"&gt;"),"&lt;/div&gt;","&lt;button type=\"submit\" id=\"dmws-plus-stock-submit\" class=\"btn\"&gt;".concat(i," ").concat(s.button_text,"&lt;/button&gt;"),a,settings.show_privacy_policy_checkbox?"&lt;div class=\"dmws-plus-stock-policy-link\"&gt;".concat(s.policy_text,"&lt;/div&gt;"):'',"&lt;/form&gt;","&lt;div style=\"display:none;\"&gt;","&lt;div class=\"dmws-plus-stock-success\"&gt;","".concat(c,"&lt;span&gt;").concat(s.success_text,"&lt;/span&gt;"),"&lt;/div&gt;","&lt;div&gt;&lt;button type=\"button\" id=\"dmws-plus-stock-continue\"&gt;".concat(s.success_button_text,"&lt;/button&gt;&lt;/div&gt;"),"&lt;/div&gt;","&lt;/div&gt;","&lt;/div&gt;"].join('')).appendTo('body'),b=f.find('form'),w=f.find('#dmws-plus-stock-email'),g=f.find('#dmws-plus-stock-newsletter-checkbox'),k=f.find('#dmws-plus-stock-submit'),h=f.find('.dmws-plus-stock-success').parent(),y=$('&lt;a href="#" class="dmws-f_popup--link" data-dmws-f-popup="#dmws-plus-stock-modal"&gt;&lt;/a&gt;'),(_=b.find('#dmws-plus-stock-variant')).val(O.vid),_.on('change',(function(){var t=x[parseInt(_.val())];O=t.product,k.prop('disabled',t.subscribed)})),N(),f.on('show.dmws-popup',(function(){f.find('.dmws-plus-stock-validation-error').remove();var t=!!O&amp;&amp;x[O.vid].subscribed;if(O){if(_.children().length){var e=_.find('option:not([disabled])');t=0===e.length,e.filter("[value=\"".concat(O.vid,"\"]")).length&gt;0?(_.val(O.vid),_.trigger('change')):e.length&gt;0&amp;&amp;(_.val(e.eq(0).val()),_.trigger('change'))}}else k.prop('disabled',!0);b.toggle(!t),h.toggle(t),w.removeClass('valid invalid validating'),''!==w.val().trim()&amp;&amp;w.addClass(w[0].validity.valid?'valid':'invalid')})).on('hide.dmws-popup',(function(){O=null,k.prop('disabled',!1)})),f.find('#dmws-plus-stock-continue').on('click',(function(t){t.preventDefault(),f.parent().trigger('mouseup')})),w.on('change input paste',(function(){w.removeClass('valid invalid').addClass('validating'),f.find('.dmws-plus-stock-validation-error').remove()})),w.on('blur',(function(){w.removeClass('validating').addClass(w[0].validity.valid?'valid':'invalid')})),b.on('submit',(function(t){t.preventDefault(),k.prop('disabled')||!O||x[O.vid].subscribed||(k.prop('disabled',!0),S())}))}},L=function t(e){x.hasOwnProperty(e.vid)||(x[e.vid]={product:e,subscribed:!1}),Object.keys(e.variants||{}).filter((function(t){return!x.hasOwnProperty(t)})).forEach((function(t){x[t]={product:C(e,t),subscribed:!1}}))},N=function t(){if(_.length&amp;&amp;settings.show_variant_select){var e=Object.values(O.variants).filter((function(t){return!O.variants[t.id].stock.available})).sort((function(t,e){return t.position-e.position})).map((function(t){var e=!!x.hasOwnProperty(t.id)&amp;&amp;x[t.id].subscribed;return"&lt;option ".concat(e?'disabled':''," value=\"").concat(r(t.id),"\"&gt;").concat(r(t.title),"&lt;/option&gt;")}));_.empty(),_.append(e.join('')),_.val(O.vid),_.closest('.dmws-plus-stock-variant-select').toggle(e.length&gt;1)}},{open:function t(e){if(!m)if(x.hasOwnProperty(e)){if(!(O=x[e].product).stock||O.stock.available)return void(O=null);q(),y.appendTo('body'),y.trigger('click'),y.detach()}else m=!0,$.ajax({url:"".concat(o,"/product.ajax"),data:{id:e},dataType:'json',crossDomain:!0}).done((function(t){L(t),t.stock&amp;&amp;!t.stock.available?(O=t,q(),y.appendTo('body'),y.trigger('click'),y.detach()):f.parent().trigger('mouseup')})).fail((function(){f.parent().trigger('mouseup')})).always((function(){m=!1}))},openForProduct:function t(e){L(e),T=O=e,q()},initOpeners:function t(){if('sticky_label'===settings.opener_type){var e=$(["&lt;div id=\"dmws-plus-stock-modal-link-container\" class=\"mobile-position-".concat(settings.mobile_button_position," position-").concat(settings.button_position,"\"&gt;"),"&lt;button type=\"button\"".concat(settings.open_on_load?' style="display:none;"':''," id=\"dmws-plus-stock-modal-link\" data-dmws-f-popup=\"#dmws-plus-stock-modal\" class=\"dmws-f_popup--link\"&gt;").concat(i," ").concat(s.button_text,"&lt;/button&gt;"),"&lt;/div&gt;"].join('')).appendTo('body').children();f.on('show.dmws-popup',(function(){e.hide()})).on('hide.dmws-popup',(function(){e.show()})),e.on('click',(function(){O=T})),settings.open_on_load&amp;&amp;e.trigger('click')}else if('cta_button'===settings.opener_type){var o=['button[type=submit]:not(.js-quick-checkout-trigger)','a.addtocart','a.add-cart','a.cta','a[onclick*="#product_configure_form"]','.qty~a.button.disabled','input[data-field="quantity"]~a.button.disabled','.out-of-stock-btn'].join(','),a=[".module-product-bar a[href$=\"/cart/add/".concat(T.vid,"/\"]"),'.dmws-plus-stock-cta-button','.product-wrap .btn.addtocart','.product-configure a.cta.disabled'].join(','),n=$(o,'#product_configure_form').add(a).filter(':not(.dmws-plus-stock-ignore)');n.each((function(t){var e=n.eq(t).clone(),o=['type','class','href'];'BUTTON'===e.prop('nodeName')&amp;&amp;e.attr('type','button');var a=[];$.each(e[0].attributes,(function(t,e){-1===o.indexOf(e.name)&amp;&amp;a.push(e.name)})),a.length&amp;&amp;e.removeAttr(a.join(' ')),e.removeClass('disabled out-of-stock-btn trigger-add-to-cart').empty();var c=$('&lt;span /&gt;').text(s.button_text);$('&lt;span class="dmws-plus-stock-cta-button-inner" /&gt;').append(i).append(c).appendTo(e),e.addClass('dmws-f_popup--link dmws-plus-stock-cta-button'),e.attr('data-dmws-f-popup','#dmws-plus-stock-modal'),n.eq(t).replaceWith(e)})),$('.dmws-plus-stock-cta-button').on('click',(function(){O=T})),settings.open_on_load&amp;&amp;$('.dmws-plus-stock-cta-button:first').trigger('click')}}}),v,m,f,w,b,k,g,h,y,_,x,j,O,T,P,C,D,S,q,L,N;if(window.dmws.openStockPopup=u.open.bind(u),window.dmws.isVariantExcludedFromStockApp=function(t){return-1!==settings.excluded_variants.indexOf(parseInt(t))},/\.html\/?$/.test(window.location.pathname)){var z=window.location.href.split('?');$.ajax({url:z[0].replace(/\.html\/?$/,'.ajax')+(z.length&gt;1?"?".concat(z[1]):''),dataType:'json',crossDomain:!0}).done((function(t){t.stock&amp;&amp;t.vid&amp;&amp;!settings.excluded_variants.includes(t.vid)&amp;&amp;(!t.stock.available||settings.is_active_for_backorder&amp;&amp;!t.stock.on_stock&amp;&amp;t.stock.allow_outofstock_sale)&amp;&amp;$((function(){u.openForProduct(t),u.initOpeners(t)}))}))}})();})(window.jQuery,JSON.parse('{\u0022open_on_load\u0022:true,\u0022opener_type\u0022:\u0022cta_button\u0022,\u0022show_variant_select\u0022:1,\u0022show_privacy_policy_checkbox\u0022:true,\u0022show_subscribe_checkbox\u0022:true,\u0022subscribe_checkbox_opt_out\u0022:false,\u0022button_position\u0022:\u0022right\u0022,\u0022mobile_button_position\u0022:\u0022right\u0022,\u0022is_active_for_backorder\u0022:false,\u0022texts\u0022:{\u0022nl\u0022:{\u0022popup_title\u0022:\u0022Tijdelijk uitverkocht!\u0022,\u0022popup_text\u0022:\u0022We sturen je een mail als we dit artikel weer op voorraad hebben\u0022,\u0022newsletter_text\u0022:\u0022Meld mij aan voor de nieuwsbrief\u0022,\u0022policy_text\u0022:\u0022Door op de button te klikken ga je akkoord met de \\u003Ca target=\\u0022_blank\\u0022 href=\\u0022\\\/service\\\/privacy-policy\\u0022\\u003Eprivacyvoorwaarden\\u003C\\\/a\\u003E.\u0022,\u0022button_text\u0022:\u0022Geef een seintje\u0022,\u0022success_text\u0022:\u0022Bedankt, het staat genoteerd. Hopelijk hebben we snel nieuws voor je!\u0022,\u0022success_button_text\u0022:\u0022Verder winkelen\u0022,\u0022mail_button_text\u0022:\u0022Bekijk product\u0022,\u0022email\u0022:\u0022E-mailadres\u0022,\u0022variant_select\u0022:\u0022Welke variant zou je willen hebben?\u0022,\u0022email_error\u0022:\u0022E-mailadres is niet juist.\u0022,\u0022subscription_exists\u0022:\u0022Je bent al ingeschreven voor dit product.\u0022},\u0022en\u0022:{\u0022popup_title\u0022:\u0022Temporarily sold out!\u0022,\u0022popup_text\u0022:\u0022We will send you an email when we have this item back in stock.\u0022,\u0022newsletter_text\u0022:\u0022Sign me up for the newsletter\u0022,\u0022policy_text\u0022:\u0022By clicking on the button you agree to the \\u003Ca target=\\u0022_blank\\u0022 href=\\u0022\\\/service\\\/privacy-policy\\u0022\\u003Eprivacy conditions\\u003C\\\/a\\u003E.\u0022,\u0022button_text\u0022:\u0022Notify me\u0022,\u0022success_text\u0022:\u0022Thanks, it\\u0027s noted. Hopefully we will have news for you soon!\u0022,\u0022success_button_text\u0022:\u0022Continue shopping\u0022,\u0022mail_button_text\u0022:\u0022Go to product\u0022,\u0022email\u0022:\u0022E-mail\u0022,\u0022variant_select\u0022:\u0022Which variant would you like to have?\u0022,\u0022email_error\u0022:\u0022E-mail address is invalid.\u0022,\u0022subscription_exists\u0022:\u0022You have already subscribed to this product.\u0022}},\u0022shopId\u0022:243452,\u0022excluded_variants\u0022:[]}'));(function($,settings){(function(){var t=window.location.href,e='product-add_to_cart',o=(n=window.sessionStorage.getItem('dmws:ref'),''===(r=document.referrer)||-1!==r.indexOf('://'+window.location.hostname)||n?n||null:(window.sessionStorage.setItem('dmws:ref',r),r)),n,r,a;function i(){$.ajax({url:t,data:{format:'json'},dataType:'json',crossDomain:!0}).done((function(t){if(settings.trackProducts){if(t.page.cart&amp;&amp;t.page.cart.products){var e=t.page.cart.quote_id,o=d(t.page.cart.products.map((function(t){return t.vid})),e);o.length&amp;&amp;s(o,t.request.country,e)}if(t.product&amp;&amp;'pages/product.rain'===t.template){var n=t.product.vid.toString(),r='variants';l(r,n)&amp;&amp;c(r,n,t.request.country)}}if('pages/collection.rain'===t.template&amp;&amp;t.collection&amp;&amp;!t.page.search)if(t.collection.category_id){var a=t.collection.category_id,i='categories';l(i,a)&amp;&amp;c(i,a,t.request.country)}else if(t.collection.hasOwnProperty('brand_id')){var u=null;if(t.collection.brand_id)u=t.shop.brands[t.collection.brand_id];else{var g=t.collection.internal.url.toLowerCase();$.each(t.shop.brands,(function(t,e){if(e.url===g)return u=e,!1}))}if(u){var p='brands';l(p,u.id)&amp;&amp;c(p,u.id,t.request.country)}}}))}function c(t,e,n){u(t+'-views',[e],Date.now()),$.ajax({type:'POST',url:settings.apiEndpoint,dataType:'json',contentType:'application/json',crossDomain:!0,data:JSON.stringify({language:window.dmws.shopLanguage,country:n,referer:o,type:'view',model:t,model_ids:[e]})})}function s(t,n,r){u(e,t,r.toString()),$.ajax({type:'POST',url:settings.apiEndpoint,dataType:'json',contentType:'application/json',crossDomain:!0,data:JSON.stringify({language:window.dmws.shopLanguage,country:n,referer:o,type:'add_to_cart',model:'variants',model_ids:t})})}function l(t,e){var o;if(!e)return!1;var n=t+'-views',r;return p(n),!(null!==(o=JSON.parse(window.localStorage.getItem(n)))&amp;&amp;void 0!==o?o:{}).hasOwnProperty(e.toString())}function d(t,o){var n;g(e,o);var r=null!==(n=JSON.parse(window.localStorage.getItem(e)))&amp;&amp;void 0!==n?n:{};return t.filter((function(t){return!r.hasOwnProperty(t)}))}function u(t,e,o){var n,r=null!==(n=JSON.parse(window.localStorage.getItem(t)))&amp;&amp;void 0!==n?n:{};e.forEach((function(t){return r[t]=o})),window.localStorage.setItem(t,JSON.stringify(r))}function g(t,e){var o,n=null!==(o=JSON.parse(window.localStorage.getItem(t)))&amp;&amp;void 0!==o?o:{};Object.keys(n).forEach((function(t){n[t]!==e.toString()&amp;&amp;delete n[t]})),window.localStorage.setItem(t,JSON.stringify(n))}function p(t){var e,o=null!==(e=JSON.parse(window.localStorage.getItem(t)))&amp;&amp;void 0!==e?e:{},n=Date.now()-18e5;Object.keys(o).forEach((function(t){o[t]&lt;n&amp;&amp;delete o[t]})),window.localStorage.setItem(t,JSON.stringify(o))}i()})();})(window.jQuery,JSON.parse('{\u0022apiEndpoint\u0022:\u0022https:\\\/\\\/app.dmws.plus\\\/api\\\/shops\\\/243452\\\/petapi\u0022,\u0022trackProducts\u0022:true}'));(function($,settings){function _createForOfIteratorHelper(e,t){var s="undefined"!=typeof Symbol&amp;&amp;e[Symbol.iterator]||e["@@iterator"];if(!s){if(Array.isArray(e)||(s=_unsupportedIterableToArray(e))||t&amp;&amp;e&amp;&amp;"number"==typeof e.length){s&amp;&amp;(e=s);var r=0,a=function e(){};return{s:a,n:function t(){return r&gt;=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c=!0,i=!1,n;return{s:function t(){s=s.call(e)},n:function e(){var t=s.next();return c=t.done,t},e:function e(t){i=!0,n=t},f:function e(){try{c||null==s.return||s.return()}finally{if(i)throw n}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);return"Object"===s&amp;&amp;e.constructor&amp;&amp;(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var s=0,r=new Array(t);s&lt;t;s++)r[s]=e[s];return r}var th=window.dmws.tsHelpers(settings);$((function(){var e,t=!1,s=window.dmws.shopLanguage,r=window.dmws.baseUrl,a=settings.texts[s],c=settings.result_display_settings.enabled,i=settings.result_display_settings.number,n=th.shopBaseUrl+'/search/',o=null!==settings.products_selector&amp;&amp;null!==settings.filters_selector,l=null!==(e=settings.page_css_selector)&amp;&amp;void 0!==e?e:'article#collection,section#collection,section.collection-page__content,main#content,main&gt;.main-content&gt;#collection,main&gt;.main-content&gt;.row',d=(settings.enable_search_page||'1'===th.getSearchParam('dmws_search_page_preview'))&amp;&amp;we()&amp;&amp;Z(),p=!1,h={},u=settings.activate_stock_filter_by_default||Se(),f=1,_=1;u&amp;&amp;(h.stock=!0);var m={},w=settings.filters,g=w.filter((function(e){return!e.default_filter_key})).reduce((function(e,t){return e+t.values.length}),0),v=0,b={categories:0,products:0,pages:0,blogs:0,faqs:0},y=settings.popularity_sort?'popularity':'relevance',k={},x='',C=!1,M='',q='',S=!1,L=!0,j="&lt;svg width=\"22\" height=\"23\" viewBox=\"0 0 22 23\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"&gt;&lt;path d=\"M18.5429 20.4571C18.9334 20.8476 19.5666 20.8476 19.9571 20.4571C20.3476 20.0666 20.3476 19.4334 19.9571 19.0429L18.5429 20.4571ZM14.4571 13.5429C14.0666 13.1524 13.4334 13.1524 13.0429 13.5429C12.6524 13.9334 12.6524 14.5666 13.0429 14.9571L14.4571 13.5429ZM14.5833 9.66667C14.5833 12.6582 12.1582 15.0833 9.16667 15.0833V17.0833C13.2628 17.0833 16.5833 13.7628 16.5833 9.66667H14.5833ZM9.16667 15.0833C6.17512 15.0833 3.75 12.6582 3.75 9.66667H1.75C1.75 13.7628 5.07055 17.0833 9.16667 17.0833V15.0833ZM3.75 9.66667C3.75 6.67512 6.17512 4.25 9.16667 4.25V2.25C5.07055 2.25 1.75 5.57055 1.75 9.66667H3.75ZM9.16667 4.25C12.1582 4.25 14.5833 6.67512 14.5833 9.66667H16.5833C16.5833 5.57055 13.2628 2.25 9.16667 2.25V4.25ZM19.9571 19.0429L14.4571 13.5429L13.0429 14.9571L18.5429 20.4571L19.9571 19.0429Z\" fill=\"#6B7280\"/&gt;&lt;/svg&gt;",B='',T='',P='',O=!0;d&amp;&amp;(Ee(),B='&lt;div id="dmws_perfect-search-page"&gt;&lt;div class="dmws_perfect-search-wrap"&gt;',w.length&amp;&amp;(B+="&lt;div id=\"dmws_perfect-search-filterbar\" class=\"dmws_perfect-search-filters\"&gt;&lt;/div&gt;"),T="&lt;div id=\"dmws_perfect-search-results\" class=\"dmws_perfect-search-results-".concat(settings.page_row_products_count,"\"&gt;"),settings.show_page_title&amp;&amp;(T+="&lt;h1&gt;".concat(a.search_results_for," '").concat(_e(),"'&lt;/h1&gt;")),settings.custom_css&amp;&amp;$('head').append('&lt;style&gt;'+settings.custom_css+'&lt;/style&gt;'));var F='&lt;div id="dmws_perfect-search" class="dmws_perfect-search-disabled"&gt;&lt;div class="dmws_perfect-search-wrap"&gt;';if(F+="&lt;div class=\"dmws_perfect-search-block dmws_perfect-search-search-input\"&gt;".concat(j,"\n&lt;input maxlength=\"100\" type=\"search\" id=\"dmws-search-input\"/&gt;\n&lt;a href=\"#\" style=\"display:none\" class=\"dmws_perfect_search-clear\"&gt;").concat(a.clear,"&lt;/a&gt;\n&lt;a href=\"#\" class=\"dmws_perfect_search-close\"&gt;").concat(a.close,"&lt;/a&gt;&lt;/div&gt;"),settings.quickLinks){var I="&lt;div class=\"dmws_perfect-search-block dmws_perfect-search-no-border dmws_perfect-search-quick hidden\"&gt;&lt;label&gt;".concat(a.quick_link_label,":&lt;/label&gt;&lt;ul&gt;");F+=I+='&lt;/ul&gt;&lt;/div&gt;',d&amp;&amp;(T+=I)}F+='&lt;div class="dmws_perfect-search-results dmws_perfect-search-block dmws_perfect-search-no-border dmws_perfect-search-nav hidden"&gt;&lt;ul&gt;',F+='&lt;li class="dmws_perfect-search-active" data-dmws-search-tab="all"&gt;'+a.everything+'&lt;span class="dmws_perfect-search-count" data-dmws-search-results="'+v+'"&gt;&lt;/span&gt;&lt;/li&gt;',$.each(c,(function(e,t){t&amp;&amp;(F+="&lt;li data-dmws-search-tab=\"".concat(e,"\"&gt;").concat(a[e]," &lt;span class=\"dmws_perfect-search-count\" data-dmws-search-results=\"\"&gt;&lt;/span&gt;&lt;/li&gt;"))})),F+='&lt;/ul&gt;&lt;/div&gt;',d&amp;&amp;(T+='&lt;div class="dmws_perfect-search-results  dmws_perfect-search-data hidden"&gt;'),F+='&lt;div class="dmws_perfect-search-results  dmws_perfect-search-data hidden"&gt;';var U='';$.each(c,(function(e,t){if(t)switch(e){case'products':F+='&lt;div class="dmws_perfect-search-block dmws_perfect-search-products" data-dmws-search-tab-content="products" data-dmws-search-tab-item="2"&gt;',d&amp;&amp;(T+="&lt;div class=\"dmws_perfect-search-products\"&gt;&lt;label&gt;&lt;span class=\"products-count\"&gt;&lt;/span&gt;".concat(a.products,"&lt;/label&gt;"),w.length&amp;&amp;!o&amp;&amp;(T+='&lt;div class="dmws_perfect-search-button dmws_perfect-search-mobile-filter"&gt;&lt;span&gt;&lt;svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M14 9L15.5 9M14 9C14 8.17157 13.3284 7.5 12.5 7.5C11.6716 7.5 11 8.17157 11 9M14 9C14 9.82843 13.3284 10.5 12.5 10.5C11.6716 10.5 11 9.82843 11 9M5 4.5C5 5.32843 5.67157 6 6.5 6C7.32843 6 8 5.32843 8 4.5M5 4.5C5 3.67157 5.67157 3 6.5 3C7.32843 3 8 3.67157 8 4.5M5 4.5L3.5 4.5M8 4.5L15.5 4.5M11 9L3.5 9M5 13.5C5 14.3284 5.67157 15 6.5 15C7.32843 15 8 14.3284 8 13.5M5 13.5C5 12.6716 5.67157 12 6.5 12C7.32843 12 8 12.6716 8 13.5M5 13.5L3.5 13.5M8 13.5L15.5 13.5" stroke="#6B7280" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/&gt;&lt;/svg&gt;'+a.filter+'&lt;/span&gt;&lt;/div&gt;'),T+="&lt;div class=\"dmws_perfect-search-button dmws_perfect-search-dropdown\"&gt;&lt;span&gt;&lt;svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"&gt;&lt;path d=\"M6.46257 13.1667V3.66667M6.46257 3.66667L3.2959 6.83334M6.46257 3.66667L9.62923 6.83334M14.3792 6.83334V16.3333M14.3792 16.3333L17.5459 13.1667M14.3792 16.3333L11.2126 13.1667\" stroke=\"#6B7280\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/&gt;&lt;/svg&gt;".concat(a.sort_by," ").concat(th.dmws_search_chevron,"&lt;/span&gt;&lt;div class=\"dmws_perfect-search-dropdown-content\"&gt;&lt;label class=\"dmws_perfect-search-hide\"&gt;").concat(a.sort_by,"&lt;/label&gt;"),T+=K(),T+="&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=\"dmws_perfect-search-products-results\"&gt;&lt;/div&gt;&lt;button class=\"all-hidden dmws_perfect-search-load-more search-load-more\"&gt;&lt;div&gt;"+th.dmws_search_chevron+a.show_more_results+th.buttonLoader+'&lt;/div&gt;&lt;/button&gt;&lt;/div&gt;');var r=th.getFiltersHtml(w,settings.filterSettings,'search',a,s,null,u);h=r.filters,m=r.mobileFilters,U=r.html,F+=U,F+="&lt;div class=\"dmws_perfect-search-products-wrap ".concat(w.length?'':'no-filters',"\"&gt;"),F+="&lt;label&gt;".concat(a.products," &lt;span class=\"dmws_perfect-search-count-not-filtered\" data-dmws-search-results=\"\"&gt;&lt;/span&gt;&lt;span class=\"dmws_perfect-search-count\" data-dmws-search-results=\"\"&gt;&lt;/span&gt;&lt;/label&gt;"),F+='&lt;div class="dmws_perfect-search-filters"&gt;',w.length&amp;&amp;(F+='&lt;div class="dmws_perfect-search-button dmws_perfect-search-mobile-filter" data-dmws-search-open-tab="products"&gt;&lt;span&gt;&lt;svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M14 9L15.5 9M14 9C14 8.17157 13.3284 7.5 12.5 7.5C11.6716 7.5 11 8.17157 11 9M14 9C14 9.82843 13.3284 10.5 12.5 10.5C11.6716 10.5 11 9.82843 11 9M5 4.5C5 5.32843 5.67157 6 6.5 6C7.32843 6 8 5.32843 8 4.5M5 4.5C5 3.67157 5.67157 3 6.5 3C7.32843 3 8 3.67157 8 4.5M5 4.5L3.5 4.5M8 4.5L15.5 4.5M11 9L3.5 9M5 13.5C5 14.3284 5.67157 15 6.5 15C7.32843 15 8 14.3284 8 13.5M5 13.5C5 12.6716 5.67157 12 6.5 12C7.32843 12 8 12.6716 8 13.5M5 13.5L3.5 13.5M8 13.5L15.5 13.5" stroke="#6B7280" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/&gt;&lt;/svg&gt;'+a.filter+'&lt;/span&gt;&lt;/div&gt;'),F+="&lt;div class=\"dmws_perfect-search-button dmws_perfect-search-dropdown\"&gt;&lt;span&gt;&lt;svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"&gt;&lt;path d=\"M6.46257 13.1667V3.66667M6.46257 3.66667L3.2959 6.83334M6.46257 3.66667L9.62923 6.83334M14.3792 6.83334V16.3333M14.3792 16.3333L17.5459 13.1667M14.3792 16.3333L11.2126 13.1667\" stroke=\"#6B7280\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/&gt;&lt;/svg&gt; ".concat(a.sort_by," ").concat(th.dmws_search_chevron,"&lt;/span&gt;&lt;div class=\"dmws_perfect-search-dropdown-content\"&gt;&lt;label class=\"dmws_perfect-search-hide\"&gt;").concat(a.sort_by,"&lt;/label&gt;"),F+=K()+'&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;',F+='&lt;ul id="dmws_perfect-search-products-not-filtered"&gt;&lt;/ul&gt;&lt;ul class="hidden-products" id="dmws_perfect-search-products" &gt;&lt;/ul&gt;&lt;button class="dmws_perfect-search-products-more search-load-more" '+(settings.enable_search_page?'':' data-dmws-search-open-tab="products" ')+'&gt;&lt;div&gt;'+(settings.enable_search_page?a.show_all_results:th.dmws_search_chevron+a.show_more_results+th.buttonLoader)+"&lt;/div&gt;&lt;/button&gt;&lt;button class=\"all-hidden dmws_perfect-search-load-more search-load-more\" class=\"dmws_perfect-search-load-more\"&gt;&lt;div&gt;"+(settings.enable_search_page?a.show_all_results:th.dmws_search_chevron+a.show_more_results)+'&lt;/div&gt;&lt;/button&gt;',F+='&lt;/div&gt;',F+='&lt;/div&gt;';break;case'categories':case'pages':case'blogs':case'faqs':case'brands':F+="&lt;div class=\"dmws_perfect-search-block dmws_perfect-search-".concat(e,"\" data-dmws-search-tab-content=\"").concat(e,"\"&gt;&lt;/div&gt;")}})),F+='&lt;/div&gt;';var A='&lt;div style="display:none" class="dmws_perfect-search-block dmws_perfect-search-no-results"&gt;';if(A+="".concat(th.noResults,"&lt;/div&gt;&lt;label&gt;").concat(a.no_results_title,"&lt;/label&gt;&lt;span&gt;").concat(a.no_results_text,"&lt;/span&gt;&lt;/div&gt;"),F+=A,d&amp;&amp;(T+=A),F+='&lt;div class="dmws_perfect-search-data"&gt;',settings.show_popular_terms&amp;&amp;(F+='&lt;div class="dmws_perfect-search-block dmws_perfect-search-default"&gt;&lt;label&gt;'+a.popular_terms+'&lt;/label&gt;&lt;ul&gt;',F+='&lt;/ul&gt;&lt;/div&gt;'),settings.show_popular_products&amp;&amp;(F+='&lt;div class="dmws_perfect-search-block dmws_perfect-search-products dmws_perfect-search-products-default"&gt;&lt;label&gt;'+a.popular_products+'&lt;/label&gt;&lt;div&gt;&lt;ul&gt;',F+='&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;'),F+='&lt;/div&gt;',!settings.hide_branding){var E='&lt;div class="dmws_perfect-search-footer"&gt;&lt;a href="https://plus.dmws.nl/" target="_blank"&gt;&lt;svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 65 65"&gt;&lt;path d="M40.635 0H16.271c-.007 10.817-.021 21.634-.028 32.458H0v7.228a9.04 9.04 0 009.043 9.043h7.228V65h7.567a8.7 8.7 0 008.704-8.703v-7.575h8.093C54.093 48.722 65 37.815 65 24.358 65 10.908 54.093 0 40.635 0zm8.295 24.344a8.139 8.139 0 01-8.135 8.135h-8.136V16.202h8.136c4.49 0 8.135 3.644 8.135 8.142z" fill="url(#plus_logo_fill)"/&gt;&lt;defs&gt;&lt;linearGradient id="plus_logo_fill" x1="3.756" y1="56.193" x2="42.478" y2="15.05" gradientUnits="userSpaceOnUse"&gt;&lt;stop stop-color="#E6332A"/&gt;&lt;stop offset="1" stop-color="#F39341"/&gt;&lt;/linearGradient&gt;&lt;/defs&gt;&lt;/svg&gt; Search by &lt;b&gt;Plus+&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;';F+=E,d&amp;&amp;(T+=E)}F+='&lt;/div&gt;&lt;/div&gt;',d&amp;&amp;(B+=(T+='&lt;/div&gt;')+'&lt;/div&gt;&lt;/div&gt;',w.length&amp;&amp;!o&amp;&amp;(B=$(B).find('.dmws_perfect-search-filters').html(U).closest('#dmws_perfect-search-page')[0].outerHTML),settings.customLabels.length&amp;&amp;th.appendLabelStyles(settings.customLabels));var D=!1,H;$('body').append(F);var V=$('#dmws_perfect-search'),R=$('#dmws-search-input'),W=/{{\s*name\s*}}/g,z;function K(){var e='',t=[];return settings.popularity_sort&amp;&amp;t.push({sort:'popularity',key:'popularity',text:a.popularity}),t=t.concat([{sort:'relevance',key:'relevance',text:a.relevance},{sort:'created_at:desc',key:'created_at:desc',text:a.newest}]),O&amp;&amp;(t=t.concat([{sort:'price:asc',key:'price:asc',text:a.price_asc},{sort:'price:desc',key:'price:desc',text:a.price_desc}])),t=t.concat([{sort:'title:asc',key:"title.".concat(s,":asc"),text:a.title_asc},{sort:'title:desc',key:"title.".concat(s,":desc"),text:a.title_desc}]),$.each(t,(function(t,s){e+="&lt;span class=\"".concat(y===s.sort?'option-active':'',"\" data-sort=\"").concat(s.key,"\"&gt;").concat(s.text,"&lt;/span&gt;")})),e}function Z(){return o?$(settings.products_selector).length&amp;&amp;$(settings.filters_selector).length:$(l).length&gt;0}if(d&amp;&amp;!o&amp;&amp;th.sidebarFix('search'),R.attr('placeholder',a.search_bar_text.replace(W,'').replace(' ,',',')),$.ajax({dataType:'json',url:th.shopBaseUrl,data:{format:'json'},crossDomain:!0}).done((function(e){var t,s,r;(''!==(P=e.shop.currency2.symbol)&amp;&amp;th.insertCurrencySymbol('search',P),window.loggedIn&amp;&amp;W.test(a.search_bar_text))&amp;&amp;R.attr('placeholder',a.search_bar_text.replace(W,null!==(t=null===(s=e.page)||void 0===s||null===(r=s.account)||void 0===r?void 0:r.firstname)&amp;&amp;void 0!==t?t:''));(window.loggedIn||'login'!==e.shop.settings.catalog.prices)&amp;&amp;e.shop.settings.catalog.prices||(O=!1,$('.dmws_perfect-search-filter-price,.dmws_perfect-search-dropdown-content [data-sort^=price]').remove())})),settings.ga_tracking_id&amp;&amp;(window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){window.dataLayer.push(arguments)},0===$("script[src*=\"id=".concat(settings.ga_tracking_id,"\"]")).length)){var G=document.createElement('script');G.src="https://www.googletagmanager.com/gtag/js?id=".concat(settings.ga_tracking_id),G.async=!0,document.body.appendChild(G),gtag('js',new Date),gtag('config',settings.ga_tracking_id,{send_page_view:!1})}var N=th.debounce(me,500);function Q(){D||(H=$(window).scrollTop(),$('html').addClass('with-dmws_perfect-search').css({top:-1*H}),D=!0)}function J(){D&amp;&amp;($('html').removeClass('with-dmws_perfect-search'),$(window).scrollTop(H),D=!1)}function X(){var e=$(window).width()&lt;722?10:50,t=38;if(V.find('.dmws_perfect-search-wrap &gt; *:not(.dmws_perfect-search-data):not(.dmws_perfect-search-hide):not(.hidden)').each((function(){$(this).is(':visible')&amp;&amp;(e+=$(this).outerHeight())})),$(window).width()&lt;722)V.find('.dmws_perfect-search-results.dmws_perfect-search-data').css('max-height','calc(100vh - '+e+'px)').addClass('scroll');else if(V.find('.dmws_perfect-search-data').css('max-height','calc(100vh - '+e+'px)').addClass('scroll'),V.find('.dmws_perfect-search-filter-wrap').length&gt;0&amp;&amp;(V.find('.dmws_perfect-search-filter-wrap').css('max-height','calc(100vh - '+(e+t)+'px)'),V.find('.dmws_perfect-search-filter-wrap-filters').css('max-height','calc(100vh - '+(e+t+31)+'px)').addClass('scroll')),V.find('.dmws_perfect-search-products-wrap &gt; ul').length&gt;0){var s=V.find('.dmws_perfect-search-products-wrap &gt; label').outerHeight(!0)+18;V.find('.dmws_perfect-search-products-wrap').addClass('scroll').css('max-height','calc(100vh - '+(e+t)+'px - '+s+'px)')}}if($(d?document:'.dmws_perfect-search-products-wrap').on('scroll',(function(){N(!0),d&amp;&amp;!o&amp;&amp;th.scrollFix('search')})),0!==V.length){var Y=function e(t){return t.toLowerCase().trim().replace(/^[!@#$%^&amp;*()\-=+_\[\]{};':"&lt;&gt;?\/.,~`\\|]+|[!@#$%^&amp;*()\-=+_\[\]{};':"&lt;&gt;?\/.,~`\\|]+$/g,'')},ee=th.debounce((function(e,t){return Fe(e,t)}),250),te=function e(t){''===t||!k.hasOwnProperty(t)||k[t].sent||k[t].processing||(k[t].sent=!0,settings.ga_tracking_id&amp;&amp;window.gtag&amp;&amp;gtag('event','search',{search_term:t}),$.ajax({type:'GET',crossDomain:!0,url:"".concat(r,"/api/shops/").concat(settings.shopId,"/search/term"),data:{q:t,empty:k[t].empty?'1':'0'}}))},se=function e(t){clearTimeout(z),z=setTimeout((function(){te(t)}),2e3)},re=function e(){$('.dmws_perfect-search-filter-wrap .dmws_perfect-search-active-filters ul').html(''),$('.dmws_perfect-search-filter input[type="checkbox"]:not(.dmws_perfect-search-switch_stock)').attr('checked',!1),h=th.resetFilters(w,(function(){null!=h.price&amp;&amp;O&amp;&amp;(M.noUiSlider.updateOptions({range:{min:[0],max:[h.price.max]},start:[0,h.price.max]},!0),d&amp;&amp;q.noUiSlider.updateOptions({range:{min:[0],max:[h.price.max]},start:[0,h.price.max]},!0),$('.price-filter').remove())}),s,u),m=jQuery.extend({},h),y=settings.popularity_sort?'popularity':'relevance',$('.dmws_perfect-search-dropdown-content').find('.option-active').removeClass('option-active'),$(".dmws_perfect-search-dropdown-content span[data-sort=\"".concat(y,"\"]")).addClass('option-active')};R.on('input',(function(){f=_=1,clearTimeout(z),ee(R.val(),!0)})),R.keyup((function(e){"Escape"===e.key&amp;&amp;(V.addClass('dmws_perfect-search-disabled'),J()),'Enter'!==e.key&amp;&amp;13!==e.keyCode||(settings.enable_search_page&amp;&amp;settings.open_page_on_enter?R.val().length&gt;1&amp;&amp;(me(),window.location.href=n+encodeURIComponent(R.val().replace('/',' '))+'?'+ue()):R.blur())})),R.on('blur',(function(){x=Y(R.val()),te(x)})),th.quantityEvents('search'),V.on('click','.dmws_perfect-search-popular-link',(function(e){e.preventDefault(),R.val($(e.currentTarget).text()),R.triggerHandler('blur'),Fe(R.val(),!0)}));var ae=!1;$('#dmws_perfect-search, #dmws_perfect-search-results').on('click','a[data-product]',(function(e){if(''!==(x=Y(R.val()))&amp;&amp;(e.preventDefault(),!ae)){var t=e.currentTarget.href,s=e.ctrlKey||e.shiftKey||e.metaKey;ae=!0,$.ajax({type:'GET',crossDomain:!0,url:"".concat(r,"/api/shops/").concat(settings.shopId,"/search/product"),data:{q:x,product:e.currentTarget.dataset.product},timeout:5e3}).always((function(){ae=!1,s?window.open(t,'_blank'):window.location.href=t}))}}));var ce=['form[action*="/search"] input[type="text"]','form input[name="search"]','form[action*="/search"] *[type="submit"]','#showSearch input[type="search"]','#showSearch *[type="submit"]','#formSearch &gt; span','#formSearch &gt; p','#formSearch *[type="search"]','#nav li.search &gt; a','#nav i.icon-zoom','.js-toggle-search','.search-icon-self','#nav a:has(.icon-zoom)','#mobilesearch &gt; a','.formSearch &gt; *','#mobileNav .btn-mobile.search'],ie=function e(){var t=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:null;t&amp;&amp;(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()),Ie(),V.removeClass('dmws_perfect-search-disabled'),X(),Q(),setTimeout((function(){$('.dmws_perfect-search-wrap').removeClass('dmws-ignore-actions'),V.find('.dmws_perfect-search-search-input input').focus()}),100)};(th.hasFilterParams('ps_')||d)&amp;&amp;(d||ie(),ge(!0,!0)),settings.css_selector&amp;&amp;(settings.css_selector=settings.css_selector.split(',').map((function(e){return e.trim()})),ce=ce.filter((function(e){return!settings.css_selector.includes(e)})),settings.css_selector=settings.css_selector.join(','),0===$(settings.css_selector).length&amp;&amp;(ce=ce.concat(settings.css_selector),settings.css_selector=null)),$(".dmws_perfect-search-trigger".concat(settings.css_selector?",".concat(settings.css_selector):'')).filter((function(e,t){return 0===$(t).closest('.dmws-perfect-search-trigger-ignore').length})).off('mousedown touchstart').on('mousedown touchstart',ie);var ne='ontouchstart'in window;if($('.dmws_perfect-search-wrap').addClass('dmws-ignore-actions'),$(document).on(ne?'touchstart':'mousedown',ce.join(','),(function(e){0===$(e.target).closest('.dmws-perfect-search-trigger-ignore').length&amp;&amp;ie(ne?null:e)})),$("#formSearch").on('submit',(function(){return!1})),window.addEventListener('resize',(function(){X()}),{passive:!0}),V.find('.dmws_perfect_search-close').on('click',(function(e){e.preventDefault(),pe(),$('.dmws_perfect-search-wrap').addClass('dmws-ignore-actions')})),V.on('mousedown',(function(e){e.target===e.currentTarget&amp;&amp;pe()})),$('.dmws_perfect_search-clear').on('click',(function(e){e.preventDefault(),R.val(''),f=_=1,ee('',!1)})),V.find('.dmws_perfect-search-block[data-dmws-search-tab-item]').each((function(){var e=$(this).attr('data-dmws-search-tab-item');$(this).hasClass('dmws_perfect-search-products')?$(this).find('div &gt; ul &gt; li:nth-child('+e+')').addClass('dmws_perfect-search-mb-0').nextAll().addClass('dmws_perfect-search-hide'):$(this).find('&gt; ul &gt; li:nth-child('+e+')').addClass('dmws_perfect-search-mb-0').nextAll().addClass('dmws_perfect-search-hide')})),V.find('.dmws_perfect-search-nav li[data-dmws-search-tab]').on('click',(function(){$(this).parent().find('.dmws_perfect-search-active').removeClass('dmws_perfect-search-active'),$(this).addClass('dmws_perfect-search-active'),'products'===$(this).attr('data-dmws-search-tab')?(V.find('.dmws_perfect-search-data').removeClass('scroll'),V.find('.dmws_perfect-search-products-wrap &gt; ul').addClass('scroll')):(V.find('.dmws_perfect-search-data').addClass('scroll'),V.find('.dmws_perfect-search-products-wrap &gt; ul').removeClass('scroll')),V.find('.dmws_perfect-search-dropdown-active').length&gt;0&amp;&amp;V.find('.dmws_perfect-search-dropdown-active').removeClass('dmws_perfect-search-dropdown-active'),V.find('.dmws_perfect-search-faq-active').length&gt;0&amp;&amp;(V.find('.dmws_perfect-search-faq-active').removeClass('dmws_perfect-search-faq-active'),V.find('.dmws_perfect-search-faq-answer').hide()),V.find('.dmws_perfect-search-data &gt; *').removeClass('dmws_perfect-search-active'),'all'===$(this).attr('data-dmws-search-tab')?V.find('.dmws_perfect-search-data &gt; *').removeClass('dmws_perfect-search-hide'):(V.find('.dmws_perfect-search-data &gt; *').addClass('dmws_perfect-search-hide'),V.find('.dmws_perfect-search-data &gt; .dmws_perfect-search-'+$(this).attr('data-dmws-search-tab')).removeClass('dmws_perfect-search-hide').addClass('dmws_perfect-search-active')),me()})),V.find('[data-dmws-search-open-tab]').on('click',(function(e){$(this).parents('.dmws_perfect-search-block.dmws_perfect-search-active').length&gt;0||(e.preventDefault(),V.find('[data-dmws-search-tab="'+$(this).attr('data-dmws-search-open-tab')+'"]').trigger('click'))})),V.find('.dmws_perfect-search-products').length&gt;0){var oe=function e(t,s){y=t;var r=s.closest('#dmws_perfect-search-results').length&gt;0,a=r?_:f,c;''!==R.val()&amp;&amp;b.products&gt;0&amp;&amp;(r?(c=24+12*(a-1),_=1):(c=a*i.products,f=1),me(),Oe(R.val(),!1,c,a))},le;th.dropDownEvents('search'),$('.dmws_perfect-search-filter-wrap').length&gt;0&amp;&amp;($(document).on('click','.dmws_perfect-search-filter-wrap-show-results button',(function(e){e.preventDefault(),th.toggleMobileFiltersOpenClass('search',!1),h=m;var t=0===$(this).closest('#dmws_perfect-search').length;f=_=1,me(!1,!0),Oe(R.val(),!0,t?24:i.products),$('.dmws_perfect-search-wrap').removeClass('show-filter').find('.dmws_perfect-search-filter-wrap').removeClass('show-filter')})),$(document).on('click','.dmws_perfect-search-filter-wrap-reset',(function(){var e=0===$(this).closest('#dmws_perfect-search').length;re(),me(),Oe(R.val(),!0,e?24:i.products,!1,'',!0)})),th.filtersEvents('search')),th.sortEvents('search',oe)}$(document).on('change','.dmws_perfect-search-switch_stock',(function(e){if($(e.currentTarget).is(":checked")||(p=!0),m.stock=$(e.currentTarget).is(":checked"),!he()&amp;&amp;(h.stock=m.stock,f=_=1,''!==R.val())){var t=0===$(e.currentTarget).closest('#dmws_perfect-search').length;Oe(R.val(),!0,t?24:i.products,!1,'',!0)}me(!1,!0)})),$(document).on('click','.dmws_perfect-search-faqs &gt; ul &gt; li &gt; a',(function(e){e.preventDefault();var t=$(e.currentTarget);t.toggleClass('dmws_perfect-search-faq-active'),t.find('&gt; div').toggle()})),$(document).on('change','.dmws_perfect-search-checkbox input',(function(e){var t=$(e.currentTarget),s=he();th.facetInputChange('search',t,h,m,d),s||(f=_=1,''!==R.val()&amp;&amp;Oe(R.val(),!0,we?24:i.products,!1,'',!0)),me(!1,!0)})),$(document).on('click','#dmws_perfect-search .delete-filter, #dmws_perfect-search-filterbar .delete-filter',(function(e){var t=$(e.currentTarget).parent('li');if(!he()){h[t.data('type')]=h[t.data('type')].filter((function(e){return e!==t.data('value').toString()}));var s=0===t.closest('#dmws_perfect-search').length;f=_=1,Oe(R.val(),!0,s?24:i.products,!1,'',!0)}m[t.data('type')]=m[t.data('type')].filter((function(e){return e!==t.data('value').toString()})),$(".dmws_perfect-search-checkbox input[data-filter=\"".concat(t.data('type'),"\"][value=\"").concat(t.data('value'),"\"]")).attr('checked',!1),t.remove(),me()})),$(document).on('click','#dmws_perfect-search-filterbar .delete-search-price,#dmws_perfect-search .delete-search-price',(function(e){var t,s=null!==(t=h.price.max)&amp;&amp;void 0!==t?t:0;if(!he()){f=_=1,h.price=null,me(!1,!0);var r=0===$(e.currentTarget).closest('#dmws_perfect-search').length;$('.price-filter').remove(),Oe(R.val(),!0,r?24:i.products,!1,'',!0)}m.price=null;var a=$(e.currentTarget).parent();M.noUiSlider.updateOptions({range:{min:[0],max:[s]},start:[0,s]},!0),d&amp;&amp;q.noUiSlider.updateOptions({range:{min:[0],max:[s]},start:[0,s]},!0),a.remove()})),$(document).on('click','.search-load-more',(function(e){e.preventDefault();var t=0===$(e.currentTarget).closest('#dmws_perfect-search').length;if(!t&amp;&amp;settings.enable_search_page){var s=new URLSearchParams(window.location.search);s.has('ps_scroll')&amp;&amp;s.delete('ps_scroll'),window.location.href=n+encodeURIComponent(th.getSearchParam('ps_keyword').replace('/',' '))+'?'+ue(s)}else t?(_++,$('#dmws_perfect-search-results .dmws_perfect-search-load-more').attr('disabled','disabled')):(f++,$('#dmws_perfect-search .dmws_perfect-search-load-more').attr('disabled','disabled')),me(),Oe(R.val(),!1,t?12:i.products)}));var de=window.location.href;$(window).on('popstate',(function(){de!==window.location.href.replace(location.hash,"")&amp;&amp;(de=window.location.href,th.hasFilterParams('ps_')&amp;&amp;V.hasClass('dmws_perfect-search-disabled')&amp;&amp;ie(),V.hasClass('dmws_perfect-search-disabled')||ge())})),window.addEventListener('dmws_open_perfect_search',ie)}function pe(){d||(fe(),re(),R.val(''),Fe('',!1)),V.addClass('dmws_perfect-search-disabled'),J()}function he(){return $('.dmws_perfect-search-filter-wrap-show-results').is(':visible')}function ue(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:null,t=null!=e?e:new URLSearchParams(window.location.search);return t.forEach((function(e,s){s.startsWith('ps_')||t.delete(s)})),t.toString()}function fe(){var e=new URLSearchParams(window.location.search),t={},s=_createForOfIteratorHelper(e.keys()),r;try{for(s.s();!(r=s.n()).done;){var a=r.value;a.startsWith('ps_')||(t[a]=e.get(a))}}catch(e){s.e(e)}finally{s.f()}var c=window.location.pathname;$.isEmptyObject(t)||(c+='?'+new URLSearchParams(t).toString()),history.pushState({},'',c)}function _e(){var e=location.pathname.split('/').pop();return''===e&amp;&amp;(e=location.pathname.split('/').slice(-2).shift()),$($.parseHTML(decodeURIComponent(e))).text()}function me(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]&amp;&amp;arguments[0],t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],s=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2],r=new URLSearchParams(window.location.search);''!==R.val()?r.set('ps_keyword',R.val()):r.delete('ps_keyword'),h.stock||Se()?r.set('ps_in_stock',!0):r.delete('ps_in_stock'),!s&amp;&amp;$('.dmws_perfect-search-switch_stock').length&amp;&amp;$('.dmws_perfect-search-switch_stock').prop('checked',h.stock||Se()),h.price&amp;&amp;null!=h.price?(r.set('ps_price[min]',$('.dmws_perfect-search-price-min').val()),r.set('ps_price[max]',$('.dmws_perfect-search-price-max').val())):(r.delete('ps_price[min]'),r.delete('ps_price[max]')),$.each(['categories','brand','review_score'],(function(e,t){h[t]&amp;&amp;h[t].length?r.set('ps_'+t,h[t]):r.delete('ps_'+t)})),$.each(w,(function(e,t){if(!['categories','price','brand','stock','review_score'].includes(t.default_filter_key)){var s="".concat(t.id);h.hasOwnProperty(s)&amp;&amp;h[t.id].length?r.set('ps_'+t.id,h[t.id].map((function(e){return'`'+e+'`'}))):r.delete('ps_'+t.id)}}));var a=$('li.dmws_perfect-search-active').attr('data-dmws-search-tab');'all'!==a?r.set('ps_tab',a):r.delete('ps_tab');var c=settings.popularity_sort?'popularity':'relevance';y!==c&amp;&amp;r.set('ps_sort_by',y);var i=!1,n=0;if(d)1!==_&amp;&amp;(r.set('ps_page',_),i=!0),n=$(document).scrollTop();else{f&gt;1&amp;&amp;(r.set('ps_page',f),i=!0);var o=$('.dmws_perfect-search-products-wrap');o.length&amp;&amp;(n=o.scrollTop())}i||r.delete('ps_page'),t&amp;&amp;window.scrollTo({top:0}),d&amp;&amp;L||(t||n&lt;=100?r.delete('ps_scroll'):r.set('ps_scroll',Math.round(n)));var l=window.location.pathname+'?'+r.toString();e?history.replaceState({},'',l):history.pushState({},'',l)}function we(){return window.location.href.includes(n)}function ge(){var e,t=!(arguments.length&gt;0&amp;&amp;void 0!==arguments[0])||arguments[0],r=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],c=new URLSearchParams(window.location.search);if(d&amp;&amp;!c.has('ps_keyword')){var i=_e();R.val(i),c.set('ps_keyword',i);var n=window.location.pathname+'?'+c.toString();history.pushState({},'',n)}else{var o;R.val(null!==(o=c.get('ps_keyword'))&amp;&amp;void 0!==o?o:'')}c.has('ps_sort_by')&amp;&amp;(y=c.get('ps_sort_by'),$('.dmws_perfect-search-dropdown-content').find('.option-active').removeClass('option-active'),$(".dmws_perfect-search-dropdown-content span[data-sort=\"".concat(y,"\"]")).addClass('option-active'));var l=!!r&amp;&amp;u;if(h.stock=m.stock=null!==(e=c.get('ps_in_stock'))&amp;&amp;void 0!==e?e:l,$('.dmws_perfect-search-switch_stock').prop('checked',h.stock),$('.dmws_perfect-search-active-filters .price-filter').remove(),c.has('ps_price[min]')){var p=c.get('ps_price[min]'),g=c.get('ps_price[max]');$('.dmws_perfect-search-active-filters ul').append("&lt;li class=\"price-filter\"&gt;".concat(a.price,": â‚¬").concat(p," - â‚¬").concat(g,"&lt;span class=\"delete-filter-price\"&gt;").concat(th.dmws_search_close,"&lt;/span&gt;&lt;/li&gt;"))}$.each(['categories','brand','review_score'],(function(e,t){var s=c.get('ps_'+t);h[t]=s?s.split(','):[]})),$.each(['categories','brand','review_score'],(function(e,t){$(".dmws_perfect-search-active-filters li[data-type=\"".concat(t,"\"]")).each((function(e,s){h[t].includes($(s).data('value'))||$(s).remove()})),$.each(h[t],(function(e,s){var r=we()&amp;&amp;d?$('#dmws_perfect-search,#dmws_perfect-search-filterbar'):$('#dmws_perfect-search');$.each(r,(function(e,r){$(r).find(".dmws_perfect-search-active-filters li[data-type=\"".concat(t,"\"][data-value=\"").concat(s,"\"]")).length||$(r).find('.dmws_perfect-search-active-filters ul').append("&lt;li data-type=\"".concat(t,"\" data-value=\"").concat(s,"\"&gt;").concat(a[t],":\n").concat(s,"&lt;span class=\"delete-filter\"&gt;").concat(th.dmws_search_close,"&lt;/span&gt;&lt;/li&gt;"))}))}))})),$.each(w,(function(e,t){if(c.has('ps_'+t.id)){var r,a=null!==(r=c.get('ps_'+t.id))&amp;&amp;void 0!==r?r:'';a=a.includes('`')?a.split('`,').map((function(e){return e.replaceAll('`','')})):a.split(','),h[t.id]=a}else h[t.id]=[];$(".dmws_perfect-search-active-filters li[data-type=\"".concat(t.id,"\"]")).each((function(e,s){h[t.id].includes($(s).data('value'))||$(s).remove()})),$.each(h[t.id],(function(e,r){var a;a=null!==t.default_filter_key?r.toString():(a=t.values.find((function(e){return e.id.toString()===r.toString()}))).title[s],$(".dmws_perfect-search-active-filters li[data-type=\"".concat(t.id,"\"][data-value=\"").concat(r,"\"]")).length||$('.dmws_perfect-search-active-filters ul').append("&lt;li data-type=\"".concat(t.id,"\" data-value=\"").concat(r,"\"&gt;").concat(t.title[s],": ").concat(a,"&lt;span class=\"delete-filter\"&gt;").concat(th.dmws_search_close,"&lt;/span&gt;&lt;/li&gt;"))}))})),S=!1,c.has('ps_page')&amp;&amp;(d?_=c.get('ps_page'):f=c.get('ps_page')),t&amp;&amp;ee(R.val(),!1),c.has('ps_tab')&amp;&amp;$('.dmws_perfect-search-nav li[data-dmws-search-tab="'+c.get('ps_tab')+'"]').trigger('click')}function ve(e,t){var s=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:'',r=t.found;$("li[data-dmws-search-tab=\"".concat(e,"\"] &gt; .dmws_perfect-search-count")).attr('data-dmws-search-results',r),$("li[data-dmws-search-tab=\"".concat(e,"\"]")).toggle(r&gt;0),'products'!==e&amp;&amp;$(".dmws_perfect-search-block.dmws_perfect-search-".concat(e)).html(s),$(".dmws_perfect-search-block.dmws_perfect-search-".concat(e,":not(.dmws_perfect-search-products-default)")).toggleClass('hidden',0===t.found);var a=0===(v=Object.values(b).reduce((function(e,t){return e+t})))&amp;&amp;0===$('.dmws_perfect-search-quick li').length;$("li[data-dmws-search-tab=\"all\"] .dmws_perfect-search-count").attr('data-dmws-search-results',v),$('.dmws_perfect-search-results').toggleClass('hidden',0===v),V.find('.dmws_perfect-search-no-results').toggle(a),$('.dmws_perfect-search-default li').length&amp;&amp;$('.dmws_perfect-search-default').toggle(a),$('.dmws_perfect-search-products-default li').length&amp;&amp;$('.dmws_perfect-search-products-default').toggleClass('hidden',!a),X()}function be(e){var t="&lt;label&gt;".concat(a.pages," &lt;span class=\"dmws_perfect-search-count\" data-dmws-search-results=\"").concat(e.found,"\"&gt;&lt;/span&gt;&lt;/label&gt;&lt;ul&gt;");return $.each(e.hits,(function(e,r){var a=r.document,c=r.highlight.hasOwnProperty('title.'+s)?r.highlight['title.'+s].snippet:a["title."+s],n=e+1&gt;i.pages?'all-hidden':'';t+="&lt;li class=\"".concat(n,"\"&gt;&lt;a href=\"").concat(th.shopBaseUrl+'/service/'+a.url[s],"\"&gt;").concat(c,"&lt;/a&gt;&lt;/li&gt;")})),t+='&lt;/ul&gt;&lt;/div&gt;'}function ye(e){var t="&lt;label&gt;".concat(a.faqs," &lt;span class=\"dmws_perfect-search-count\" data-dmws-search-results=\"").concat(e.found,"\"&gt;&lt;/span&gt;&lt;/label&gt;&lt;ul&gt;");return $.each(e.hits,(function(e,s){var r=s.document,a=s.highlight.hasOwnProperty('question')?s.highlight.question.snippet:r.question,c=e+1&gt;i.pages?'all-hidden':'';t+="&lt;li class=\"".concat(c,"\"&gt;&lt;a href=\"#\"&gt;").concat(a+th.dmws_search_chevron,"&lt;div class=\"dmws_perfect-search-faq-answer\"&gt;").concat(r.content,"&lt;/div&gt;&lt;/a&gt;&lt;/liclass&gt;")})),t+='&lt;/ul&gt;&lt;/div&gt;'}function ke(e){var t="&lt;label&gt;".concat(a.blogs," &lt;span class=\"dmws_perfect-search-count\" data-dmws-search-results=\"").concat(e.found,"\"&gt;&lt;/span&gt;&lt;/label&gt;&lt;ul&gt;");return $.each(e.hits,(function(e,r){var a=r.document,c=r.highlight.hasOwnProperty('title')?r.highlight.title.snippet:a.title,n=e+1&gt;i.blogs?'all-hidden':'',o={year:'numeric',month:'long',day:'numeric'},l=new Date(a.date).toLocaleDateString(s,o),d=th.shopBaseUrl+'/blogs/'+a.url;t+="&lt;li class=\"".concat(n,"\"&gt;&lt;a href=\"").concat(d,"\"&gt;"),a.image&amp;&amp;(t+="&lt;img src=\"".concat(a.image,"\" /&gt;")),t+="&lt;div class=\"dmws_perfect-search-meta\"&gt;&lt;div class=\"dmws_perfect-search-title\"&gt;".concat(c,"&lt;/div&gt;"),t+="&lt;p class=\"dmws_perfect-search-author\"&gt;".concat(l," door ").concat(a.author,"&lt;/p&gt;&lt;/div&gt;&lt;/a&gt;&lt;/li&gt;")})),t+='&lt;/ul&gt;&lt;/div&gt;'}function $e(e){var t="&lt;label&gt;".concat(a.categories," &lt;span class=\"dmws_perfect-search-count\" data-dmws-search-results=\"").concat(e.found,"\"&gt;&lt;/span&gt;&lt;/label&gt;&lt;ul&gt;");return $.each(e.hits,(function(e,r){var a=r.document,c=r.highlight.hasOwnProperty('title.'+s)?r.highlight['title.'+s].snippet:a["title."+s],n=e+1&gt;i.categories?'all-hidden':'';t+="&lt;li class=\"".concat(n,"\"&gt;&lt;a href=\"").concat(th.shopBaseUrl+'/'+a.url[s],"\"&gt;").concat(c,"&lt;/a&gt;"),a.parents.length&amp;&amp;(t+='&lt;ul&gt;',$.each(a.parents,(function(e,r){t+="&lt;li&gt;&lt;a href=\"".concat(th.shopBaseUrl+'/'+r['url.'+s],"\"&gt;").concat(r['title.'+s],"&lt;/a&gt;&lt;/li&gt;")})),t+='&lt;/ul&gt;'),t+='&lt;/li&gt;'})),t+='&lt;/ul&gt;&lt;/div&gt;'}function xe(e){var t="&lt;label&gt;".concat(a.brands," &lt;span class=\"dmws_perfect-search-count\" data-dmws-search-results=\"").concat(e.found,"\"&gt;&lt;/span&gt;&lt;/label&gt;&lt;ul&gt;");return $.each(e.hits,(function(e,s){var r=s.document,a=s.highlight.hasOwnProperty('title')?s.highlight.title.snippet:r.title,c=e+1&gt;i.brands?'all-hidden':'';t+="&lt;li class=\"".concat(c,"\"&gt;&lt;a href=\"").concat(th.shopBaseUrl,"/brands/").concat(r.url,"\"&gt;").concat(a,"&lt;/a&gt;&lt;/li&gt;")})),t+='&lt;/ul&gt;&lt;/div&gt;'}function Ce(e,t,s,r,c){var i,n=arguments.length&gt;5&amp;&amp;void 0!==arguments[5]&amp;&amp;arguments[5],o=h[t];$.each(null!==(i=s.facet_counts)&amp;&amp;void 0!==i?i:[],(function(s,i){if(i.field_name===e)if('price'!==e){var l='',p=i.counts;'score'===e?l=th.renderScoreFilter('search',h,e,p,a[r],t):$.each(p,(function(s,i){''===i.value||'categories'===t&amp;&amp;Ue(i.value)||(l+="&lt;li&gt;&lt;input data-title=\"".concat(null!=c?c:a[r],"\" data-filter=\"").concat(t,"\" data-value=\"").concat(i.value,"\" value=\"").concat(i.value,"\" ").concat(o&amp;&amp;o.includes(i.value)?'checked="checked"':''," type=\"checkbox\" id=\"dmws_perfect-search-").concat(e,"-").concat(s,"\"&gt;"),l+="&lt;label for=\"dmws_perfect-search-".concat(e,"-").concat(s,"\"&gt;").concat(i.value,"&lt;/label&gt;&lt;span class=\"dmws_perfect-search-count\" data-dmws-search-results=\"").concat(i.count,"\"&gt;&lt;/span&gt;&lt;/li&gt;"))})),$(".dmws_perfect-search-filter-wrap .dmws_perfect-search-".concat(r.replaceAll(/\./g,'_'))).toggle(''!==l).find('ul').html(l),'score'===e&amp;&amp;$('.rateit').rateit()}else O&amp;&amp;(d&amp;&amp;n?q=th.initPriceFilter(i,'search',h,m,q,'#dmws_perfect-search-filterbar .dmws_perfect-search-price-slider',Me,a,P):M=th.initPriceFilter(i,'search',h,m,M,'#dmws_perfect-search .dmws_perfect-search-price-slider',Me,a,P))}))}function Me(e,t,s,r,a,c){var n=d?[M,q]:[M];if(d&amp;&amp;$.each(n,(function(c,i){i!==e&amp;&amp;i.noUiSlider.updateOptions({range:{min:[0],max:[a]},start:[null!=t?t:r,null!=s?s:a]},!0)})),me(!1,!0),!he()){f=_=1;var o=0===c.closest('#dmws_perfect-search').length;Oe(R.val(),!0,o?24:i.products,!1,'price',!0)}}function qe(){var e='relevance'===y?'':y;e=th.getTypesenseSort(e,s,settings);var t=[],r=[],a=[];$.each(w,(function(e,c){if(null!=c.default_filter_key)switch(c.default_filter_key){case'price':r.push('price');var i=th.getSearchParam('ps_price[min]'),n=th.getSearchParam('ps_price[max]');if(null!==h.price||null!==i){var o=null!=i?i:$('.dmws_perfect-search-price-min').val(),l=null!=n?n:$('.dmws_perfect-search-price-max').val();t.push("price:[".concat(Math.ceil(100*o),"..").concat(Math.ceil(100*l),"]"))}break;case'stock':h.stock&amp;&amp;t.push('in_stock:=true');break;case'brand':r.push('brand_name'),h.brand&amp;&amp;h.brand.length&amp;&amp;t.push("brand_name:=[".concat(h.brand.map((function(e){return'`'+e+'`'})).join(','),"]"));break;case'review_score':r.push('score'),h.review_score&amp;&amp;h.review_score.length&amp;&amp;t.push("score:=[".concat(h.review_score.join(','),"]"));break;case'categories':r.push('category_name.'+s),h.categories&amp;&amp;h.categories.length&amp;&amp;t.push("category_name.".concat(s,":=[").concat(h.categories.map((function(e){return'`'+e+'`'})).join(','),"]"));break;default:var d="filters.".concat(s,".").concat(c.lightspeed_id);r.push(d),h.hasOwnProperty(c.id)&amp;&amp;h[c.id].length&amp;&amp;t.push("".concat(d,":=[").concat(h[c.id].map((function(e){return'`'+e+'`'})).join(','),"]"))}else{var p=c.id;h.hasOwnProperty(p)&amp;&amp;h[p].length?a.push({id:p,value:"filter_values: [".concat(h[p].map((function(e){return'`'+e+'`'})).join(','),"]")}):r.includes('filter_values')||r.push('filter_values')}}));var c=['variant_id','product_id','sku','ean','article_code'],i=['off','off','always','always','always'],n=['0','0','0','0','0'];return $.each(settings.search_priorities,(function(e,t){if(t)switch(e){case'short_description':c.push('description.'+s),i.push('off'),n.push('2');break;case'brand_name':c.push('brand_name'),i.push('off'),n.push('2');break;case'product':c.push('title.'+s),i.push(settings.use_infix?'always':'fallback'),n.push('2');break;case'variant':c.push('variant_title.'+s),i.push(settings.use_infix?'always':'fallback'),n.push('2');break;case'long_description':c.push('content.'+s),i.push('off'),n.push('2');break;case'tags':c.push('tags'),i.push('off'),n.push('2');break;case'specification_values':c.push('specifications.'+s),i.push('off'),n.push('2')}})),!t.includes('in_stock:=true')&amp;&amp;Se()&amp;&amp;t.push('in_stock:=true'),{queryBy:c,infix:i,numTypos:n,facet:r.join(','),filterBy:t,sort:e,customFilters:a}}function Se(){return Le()&amp;&amp;th.isFiltersNotEmpty(h,['stock'])}function Le(){return settings.filterSettings&amp;&amp;settings.filterSettings.design_settings.filter_on_stock&amp;&amp;!p}function je(){['.dmws_perfect-search-filter-price','.dmws_perfect-search-filter-stock'].forEach((function(e){$(e+':hidden').length&amp;&amp;$(e).show()}))}function Be(e,t,r){var a,c=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]&amp;&amp;arguments[3],n=arguments.length&gt;4&amp;&amp;void 0!==arguments[4]&amp;&amp;arguments[4],p=null!==(a=e.found)&amp;&amp;void 0!==a?a:0,u='',m='',g=n?_:f,v=[],k=[],x;(n||(c?$('.dmws_perfect-search-products-wrap .dmws_perfect-search-count-not-filtered').attr('data-dmws-search-results',p):$('.dmws_perfect-search-products-wrap .dmws_perfect-search-count').attr('data-dmws-search-results',p)),p&gt;0)&amp;&amp;$.each(null!==(x=settings.show_variant_as_product?e.hits:e.grouped_hits)&amp;&amp;void 0!==x?x:[],(function(e,t){var s=th.getProduct(t,settings);u+=th.renderProduct(settings,'search',s,h.stock,O),k.push({selector:'#dmws_perfect-search .dmws_perfect-search_product-popup-'+s.variant_id,product:s}),d&amp;&amp;(m+=th.renderProduct(settings,'search',s,h.stock,O,!0),v.push({selector:'.dmws_perfect-search_product-result-'+s.variant_id,product:s}))}));if(n&amp;&amp;(L&amp;&amp;(o?($(settings.filters_selector).html("&lt;div id=\"dmws_perfect-search-filterbar\" class=\"dmws_perfect-search-filters\"&gt;".concat(U,"&lt;/div&gt;")),$(settings.products_selector).html(T)):($(l).html(B),O||$('.dmws_perfect-search-filter-price, .dmws_perfect-search-dropdown-content [data-sort^=price]').remove()),ge(!1,!0),settings.product_card_settings.show_wishlist_icon&amp;&amp;th.wishlistEvents(),$('.dmws_perfect-search-dropdown-content').find('.option-active').removeClass('option-active'),$(".dmws_perfect-search-dropdown-content span[data-sort=\"".concat(y,"\"]")).addClass('option-active'),L=!1),$('#dmws_perfect-search-results .dmws_perfect-search-no-results').toggle(0===p&amp;&amp;0===$('#dmws_perfect-search-results .dmws_perfect-search-quick li').length),d&amp;&amp;$('#dmws_perfect-search-results .dmws_perfect-search-products label span').text(p)),c)$(".dmws_perfect-search-products #dmws_perfect-search-products-not-filtered").html(u),$('#dmws_perfect-search .dmws_perfect-search-products-more').toggleClass('hidden',e.found&lt;=i.products);else{var C=th.isFiltersNotEmpty(h),M;if($('.dmws_perfect-search-filter-wrap-reset').toggle(C),w.length&amp;&amp;!C&amp;&amp;t){je();var q=w.filter((function(e){return'stock'!==e.default_filter_key}));$.each(q,(function(t,r){if(null!=r.default_filter_key){var a=r.default_filter_key;if('brand'===a)a='brand_name';else if('review_score'===a)a='score';else if('categories'===a)a='category_name.'+s;else if(r.lightspeed_id)return void Ce("filters.".concat(s,".").concat(r.lightspeed_id),r.id,e,"filters.".concat(s,".").concat(r.lightspeed_id),r.title[s]);Ce(a,r.default_filter_key,e,r.default_filter_key)}else th.addCustomFilters(h,r,e,s,'search')}))}b.products=e.found,g&gt;1?d&amp;&amp;n?($("#dmws_perfect-search-results .dmws_perfect-search-products-results").append(m),M=e.found&lt;=24+12*(g-1)):($(".dmws_perfect-search-products #dmws_perfect-search-products").append(u),M=e.found&lt;=g*i.products):(M=e.found&lt;=r,d&amp;&amp;n?$("#dmws_perfect-search-results .dmws_perfect-search-products-results").html(m).toggleClass('hidden',0===e.found):$(".dmws_perfect-search-products #dmws_perfect-search-products").html(u).toggleClass('hidden',0===e.found)),d&amp;&amp;n?(th.productCardsInit(v),$('#dmws_perfect-search-results .dmws_perfect-search-load-more').removeAttr('disabled').toggleClass('hidden',M||0===p)):$('#dmws_perfect-search .dmws_perfect-search-load-more').removeAttr('disabled').toggleClass('hidden',M)}n||th.productCardsInit(k,'dmws:search-product-line-init');var S=th.getSearchParam('ps_scroll');if(null!==S)if(d)window.scrollTo({top:S});else{var j=$('.dmws_perfect-search-products-wrap');j.length&amp;&amp;j.scrollTop(S)}$(".rateit").rateit(),th.refreshWishlist()}function Te(e){return settings.scopedKeys.hasOwnProperty(e)&amp;&amp;''!==settings.scopedKeys[e]?settings.scopedKeys[e]:settings.typesense.apiKey}function Pe(e,t){var r=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:'',a=[],c=[],i=e.customFilters.map((function(e){return e.value})).join('&amp;&amp;'),n=e.filterBy.join('&amp;&amp;'),o=e.customFilters.filter((function(e){return h[e.id]&amp;&amp;h[e.id].length}));if(w.length&amp;&amp;settings.filterSettings){var l=e.filterBy.filter((function(e){return!e.startsWith('filter_values')})).join('&amp;&amp;');Le()&amp;&amp;!l.includes('in_stock')&amp;&amp;(''!==l&amp;&amp;(l+='&amp;&amp;'),l+='in_stock:=true'),a.push($.extend({},t,{facet_by:'filter_values',max_facet_values:Math.min(500,g),filter_by:l})),c.push("filter_values")}return $.each(w,(function(l,d){if(null!=d.default_filter_key){if('price'===d.default_filter_key&amp;&amp;'price'!==r)c.push(d.default_filter_key),a.push($.extend({},t,{filter_by:th.getFilterByStr(e.filterBy.filter((function(e){return!e.startsWith('price')})).join('&amp;&amp;'),i,Le()),facet_by:'price'}));else if('brand'===d.default_filter_key)c.push(d.default_filter_key),a.push($.extend({},t,{filter_by:th.getFilterByStr(e.filterBy.filter((function(e){return!e.startsWith('brand_name')})).join('&amp;&amp;'),i,Le()),facet_by:'brand_name',max_facet_values:25}));else if('review_score'===d.default_filter_key)c.push(d.default_filter_key),a.push($.extend({},t,{filter_by:th.getFilterByStr(e.filterBy.filter((function(e){return!e.startsWith('score')})).join('&amp;&amp;'),i,Le()),facet_by:'score',sort_by:'score:desc'}));else if('categories'===d.default_filter_key){c.push(d.default_filter_key);var p=e.filterBy.filter((function(e){return!e.startsWith('category_')}));a.push($.extend({},t,{filter_by:th.getFilterByStr(p.join('&amp;&amp;'),i,Le()),facet_by:'category_name.'+s,max_facet_values:20}))}else if(d.lightspeed_id){var u="filters.".concat(s,".").concat(d.lightspeed_id);if(h.hasOwnProperty(d.id)&amp;&amp;h[d.id].length){var f=e.filterBy.filter((function(e){return!e.startsWith(u)})).join('&amp;&amp;');a.push($.extend({},t,{filter_by:th.getFilterByStr(f,i,Le()),facet_by:u,max_facet_values:20})),c.push(u)}}}else if(o.filter((function(e){return e.id!==d.id})).length){c.push(d.id);var _=e.customFilters.filter((function(e){return e.id!==d.id})),m=w.find((function(e){return d.id===e.id})).values.map((function(e){return e.id.toString()}));_.push({id:d.id,value:'filter_values:['+m.join(',')+']'}),a.push($.extend({},t,{filter_by:th.getFilterByStr(n,_.map((function(e){return e.value})).join('&amp;&amp;'),Le()),facet_by:"filter_values",max_facet_values:Math.min(500,g)}))}})),{collections:a,names:c}}function Oe(e){var t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],r=arguments.length&gt;2?arguments[2]:void 0,c=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]&amp;&amp;arguments[3],i=arguments.length&gt;4&amp;&amp;void 0!==arguments[4]?arguments[4]:'',n=arguments.length&gt;5&amp;&amp;void 0!==arguments[5]&amp;&amp;arguments[5];e=e.trim().toLowerCase();var o=qe(),l=Object.values(h).filter((function(e){return Array.isArray(e)?e.length&gt;0:null!==e})).length&gt;0,p=l||n,u=d&amp;&amp;V.hasClass('dmws_perfect-search-disabled'),m=u?_:f,g=o.filterBy.join('&amp;&amp;'),v=[];if(p&amp;&amp;t){var b={collection:'products_'+settings.shopId,q:e,query_by:o.queryBy.join(','),sort_by:o.sort,group_by:settings.show_variant_as_product?'':'product_id',group_limit:25,infix:o.infix.join(','),num_typos:o.numTypos.join(','),page:m,exhaustive_search:settings.use_exhaustive_search,'x-typesense-api-key':Te('products')};v=Pe(o,b,i).collections}o.customFilters.length&amp;&amp;(''!==g&amp;&amp;(g+='&amp;&amp;'),g+=o.customFilters.map((function(e){return e.value})).join('&amp;&amp;'));var y={collection:'products_'+settings.shopId,q:e,query_by:o.queryBy.join(','),sort_by:o.sort,group_by:settings.show_variant_as_product?'':'product_id',group_limit:25,max_facet_values:500,filter_by:g,facet_by:o.facet,infix:o.infix.join(','),num_typos:o.numTypos.join(','),per_page:r,page:u?m&gt;1?m+1:1:f,exhaustive_search:settings.use_exhaustive_search,'x-typesense-api-key':Te('products')},k=!1;Le()&amp;&amp;!g.includes('in_stock')&amp;&amp;(k=!0,v.push($.extend({},y,{filter_by:g+(''===g?'':'&amp;&amp;')+'in_stock:=true'}))),v.push(y);var x=function e(n){var l=n.results;if(p&amp;&amp;t){je();var d=w.filter((function(e){return'stock'!==e.default_filter_key})),m=0;$.each(d,(function(e,t){if(null!=t.default_filter_key){if('price'===t.default_filter_key&amp;&amp;'price'===i)return;var r=t.default_filter_key;if('brand'===r)r='brand_name';else if('review_score'===r)r='score';else if('categories'===r)r='category_name.'+s;else if(t.lightspeed_id){var a=h.hasOwnProperty(t.id)&amp;&amp;h[t.id].length?m+1:k?l.length-2:l.length-1;return Ce("filters.".concat(s,".").concat(t.lightspeed_id),t.id,l[a],"filters.".concat(s,".").concat(t.lightspeed_id),t.title[s]),void(h.hasOwnProperty(t.id)&amp;&amp;h[t.id].length&amp;&amp;m++)}Ce(r,t.default_filter_key,l[m+1],t.default_filter_key),m++}else{var c,n=o.customFilters.filter((function(e){return h[e.id]&amp;&amp;h[e.id].length})).filter((function(e){return e.id!==t.id})).length&gt;0,d=n?l[m+1]:l[0];th.addCustomFilters(h,t,d,s,'search'),n&amp;&amp;m++}})),th.maxFiltersCheck('search',a)}Be(l[l.length-1],!1,r,!1,u),c&amp;&amp;(u?_=c:f=c)};th.typesenseSearchMultiple(v).done((function(e){x(e)}))}function Fe(e){var t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1];if(clearTimeout(z),e=Y(e),$('.dmws_perfect_search-clear').toggle(''!==e),S&amp;&amp;re(),t&amp;&amp;me(),S=!0,th.abortLastTypesenseSearch(),e.length&lt;2)return $('.dmws_perfect-search-results').addClass('hidden'),$('.dmws_perfect-search-products-default li').length&amp;&amp;$('.dmws_perfect-search-products-default').removeClass('hidden'),$('.dmws_perfect-search-default li').length&amp;&amp;$('.dmws_perfect-search-default').show(),$('.dmws_perfect-search-no-results').hide(),V.find('[data-dmws-search-tab="all"]').trigger('click'),V.find('.dmws_perfect-search-data &gt; *').removeClass('dmws_perfect-search-hide'),X(),void $('.dmws_perfect-search-quick').addClass('hidden').find('ul').html('');if($('.dmws_perfect-search-default,.dmws_perfect-search-products-default').hide(),!k.hasOwnProperty(e)||!k[e].processing){k[e]={sent:!1,processing:!0},Object.keys(b).forEach((function(e){return b[e]=0}));var r=[],a=[],n=Object.values(h).filter((function(e){return Array.isArray(e)?e.length&gt;0:null!==e})).length&gt;0;$.each(c,(function(t,c){if(c)switch('categories'===t?a.push('categories_tab'):a.push(t),t){case'products':var o=qe(),l={collection:'products_'+settings.shopId,q:e,query_by:o.queryBy.join(','),sort_by:o.sort,group_by:settings.show_variant_as_product?'':'product_id',group_limit:25,per_page:5,infix:o.infix.join(','),num_typos:o.numTypos.join(','),exhaustive_search:settings.use_exhaustive_search,page:f,'x-typesense-api-key':Te('products')},p=o.filterBy.join('&amp;&amp;');if(o.customFilters.length&amp;&amp;(''!==p&amp;&amp;(p+='&amp;&amp;'),p+=o.customFilters.map((function(e){return e.value})).join('&amp;&amp;')),r.push($.extend({},l,{filter_by:p,facet_by:o.facet,per_page:i.products*f,page:1})),d&amp;&amp;(a.push('products_search_page'),r.push($.extend({},l,{filter_by:p,facet_by:o.facet,per_page:24+12*(_-1),page:1}))),Le()&amp;&amp;!p.includes('in_stock')&amp;&amp;(a.push('products_on_stock'),r.push($.extend({},l,{filter_by:p+(''===p?'':'&amp;&amp;')+'in_stock:=true',facet_by:o.facet,per_page:24+12*(_-1),page:1}))),n){var m=Pe(o,l);r=r.concat(m.collections),a=a.concat(m.names)}a.push('products_not_filtered'),r.push({collection:'products_'+settings.shopId,q:e,filter_by:u&amp;&amp;h.stock?'in_stock:=true':'',query_by:o.queryBy.join(','),sort_by:o.sort,group_by:settings.show_variant_as_product?'':'product_id',group_limit:25,per_page:i.products,infix:o.infix.join(','),num_typos:o.numTypos.join(','),exhaustive_search:settings.use_exhaustive_search,'x-typesense-api-key':Te('products')});break;case'categories':r.push({collection:'categories_'+settings.shopId,filter_by:'is_visible:=true',q:e,query_by:"title.".concat(s),sort_by:"title.".concat(s,":asc"),infix:'fallback',per_page:50,'x-typesense-api-key':Te('categories')});break;case'pages':r.push({collection:'pages_'+settings.shopId,q:e,query_by:"title.".concat(s),sort_by:"title.".concat(s,":asc"),infix:'fallback',per_page:50,'x-typesense-api-key':Te('pages')});break;case'faqs':r.push({collection:'faqs_'+settings.shopId,q:e,query_by:"question",sort_by:"title:asc",filter_by:'language:='+s,per_page:50,'x-typesense-api-key':Te('faqs')});break;case'blogs':r.push({collection:'blogs_'+settings.shopId,q:e,query_by:"title",sort_by:"title:asc",filter_by:'language:='+s,per_page:50,'x-typesense-api-key':Te('blogs')});break;case'brands':r.push({collection:'brands_'+settings.shopId,q:e,query_by:'title',sort_by:'title:asc',infix:'fallback',per_page:50,'x-typesense-api-key':Te('brands')})}})),settings.quickLinks&amp;&amp;(a.push('quick_links'),r.push({collection:'quick_links_'+settings.shopId,q:e,query_by:'keyword',sort_by:'title:asc','x-typesense-api-key':Te('quick_links')}));var o=function t(s){Ae(a,s,e);var r=new URLSearchParams(window.location.search);r.has('ps_tab')?$('.dmws_perfect-search-nav li[data-dmws-search-tab="'+r.get('ps_tab')+'"]').trigger('click'):$('.dmws_perfect-search-nav li[data-dmws-search-tab="all"]').trigger('click')};th.typesenseSearchMultiple(r).done((function(e){o(e)})).always((function(){k[e].processing=!1})),$('.dmws_perfect-search-filter-wrap-reset').toggle(n)}}function Ie(){if(!C&amp;&amp;(settings.show_popular_terms||settings.show_popular_products)){C=!0;var e=[],t=[];if(settings.show_popular_terms)if(settings.auto_fill_popular_terms)t.push('popular_terms'),e.push({collection:'popular_terms_'+settings.shopId,q:'*',query_by:'keyword',sort_by:'searched:desc',per_page:3});else{0===settings.custom_popular_terms.length&amp;&amp;$('.dmws_perfect-search-default').hide();var s='';$.each(settings.custom_popular_terms,(function(e,t){s+="&lt;li&gt;&lt;a class=\"dmws_perfect-search-popular-link\" href=\"#\"&gt;".concat(t,"&lt;/a&gt;&lt;/li&gt;")})),$('.dmws_perfect-search-default ul').html(s)}if(settings.show_popular_products&amp;&amp;(settings.popularProducts.length?(t.push('popular_products'),e.push({collection:'products_'+settings.shopId,q:'*',query_by:'product_id',filter_by:'product_id:['+settings.popularProducts.join(',')+']',per_page:3,group_by:'product_id',group_limit:25})):$('.dmws_perfect-search-products-default').addClass('hidden')),e.length){var r=function e(s){$.each(s.results,(function(e,s){var r;switch(t[e]){case'popular_terms':0===s.found&amp;&amp;$('.dmws_perfect-search-default').hide();var a='';$.each(s.hits,(function(e,t){a+="&lt;li&gt;&lt;a class=\"dmws_perfect-search-popular-link\" href=\"#\"&gt;".concat(t.document.keyword,"&lt;/a&gt;&lt;/li&gt;")})),$('.dmws_perfect-search-default ul').html(a);break;case'popular_products':var c=0===(v=Object.values(b).reduce((function(e,t){return e+t})))&amp;&amp;0===$('.dmws_perfect-search-quick li').length;0!==s.found&amp;&amp;c||$('.dmws_perfect-search-products-default').addClass('hidden');var i='',n=[];$.each(settings.popularProducts,(function(e,t){var r=s.grouped_hits.filter((function(e){return e.group_key[0]==t}));if(r.length){var a=r[0].hits.find((function(e){return e.document.is_default}));a=a?a.document:r[0].hits[0].document,i+=th.renderProduct(settings,'search',a,h.stock,O),n.push({selector:'#dmws_perfect-search .dmws_perfect-search_product-popup-'+a.variant_id,product:a})}})),$('.dmws_perfect-search-products-default ul').html(i),th.productCardsInit(n,'dmws:search-product-line-init')}}))};th.typesenseSearchMultiple(e).done((function(e){r(e)}))}}}function Ue(e){var t=!1;return settings.hideCategories.length&amp;&amp;$.each(settings.hideCategories,(function(s,r){if('='===r.comparison_type&amp;&amp;r.value===e||'!='===r.comparison_type&amp;&amp;r.value!==e)return t=!0,!1})),t}function Ae(e,t,r){$.each(t.results,(function(t,s){var r=e[t],a='';switch(r){case'products':var c;b.products=null!==(c=s.found)&amp;&amp;void 0!==c?c:0,Be(s,!0,i.products),ve(r,s,a);break;case'products_search_page':Be(s,!0,24,!1,!0),ve(r,s,a);break;case'price':O&amp;&amp;(Ce('price','price',s),d&amp;&amp;Ce('price','price',s,'','',!0));break;case'products_not_filtered':Be(s,!1,i.products,!0);break;case'pages':b.pages=s.found,ve(r,s,a=s.found&gt;0?be(s):'');break;case'blogs':b.blogs=s.found,ve(r,s,a=s.found&gt;0?ke(s):'');break;case'faqs':b.faqs=s.found,ve(r,s,a=s.found&gt;0?ye(s):'');break;case'brands':b.brands=s.found,ve(r,s,a=s.found&gt;0?xe(s):'');break;case'categories_tab':b.categories=s.found,ve('categories',s,a=s.found&gt;0?$e(s):'');break;case'quick_links':var n='';s.found&gt;0&amp;&amp;$.each(s.hits,(function(e,t){var s=t.document;n+="&lt;li&gt;&lt;a href=\"".concat(s.link,"\"&gt;").concat(s.title,"&lt;/a&gt;&lt;/li&gt;")})),$('.dmws_perfect-search-quick').toggleClass('hidden',''===n).find('ul').html(n)}})),je(),$.each(w,(function(r,a){if('price'!==a.default_filter_key)if(null!=a.default_filter_key){var c=a.default_filter_key;if('brand'===c?c='brand_name':'review_score'===c?c='score':'categories'===c&amp;&amp;(c='category_name.'+s),a.lightspeed_id){c="filters.".concat(s,".").concat(a.id);var i=t.results[e.includes(c)?e.indexOf(c):e.includes('products_on_stock')?e.indexOf('products_on_stock'):e.indexOf('products')];Ce("filters.".concat(s,".").concat(a.lightspeed_id),a.id,i,"filters.".concat(s,".").concat(a.lightspeed_id),a.title[s])}else{var n=t.results[e.includes(a.default_filter_key)?e.indexOf(a.default_filter_key):e.indexOf('products')];Ce(c,a.default_filter_key,n,a.default_filter_key)}}else{var o=e.includes(a.id)?a.id:e.includes('filter_values')?'filter_values':'products',l=t.results[e.indexOf(o)];th.addCustomFilters(h,a,l,s,'search')}})),th.maxFiltersCheck('search',a);var c=Object.values(b).includes(v);$("li[data-dmws-search-tab=\"all\"]").toggle(!c),c&amp;&amp;$.each({pages:b.pages,categories:b.categories,faqs:b.faqs,blogs:b.blogs,products:b.products},(function(e,t){t&gt;0&amp;&amp;!$("li[data-dmws-search-tab=\"".concat(e,"\"]")).hasClass('dmws_perfect-search-active')&amp;&amp;$("li[data-dmws-search-tab=\"".concat(e,"\"]")).trigger('click')})),$('.dmws_perfect-search-no-results').toggle(0===v&amp;&amp;0===$('.dmws_perfect-search-quick li').length),k[r].processing=!1,k[r].empty=0===v,r===x?te(x):se(r)}function Ee(){var e='&lt;div id="dmws_perfect-search-page"&gt;&lt;div class="dmws_perfect-search-wrap"&gt;',t='&lt;div class="dmws_perfect-search-dummy-text"&gt;&lt;/div&gt;',s='';w.length&amp;&amp;(s+="&lt;div id=\"dmws_perfect-search-filterbar\" class=\"dmws_perfect-search-filters\"&gt;",c.products&amp;&amp;(s+='&lt;div class="dmws_perfect-search-filter-wrap"&gt;&lt;label class="filter-title"&gt;&lt;span class="dmws_perfect-search-filter-wrap-close readonly"&gt;'+th.dmws_search_close+"&lt;/span&gt;".concat(a.filter,"&lt;/label&gt;"),s+='&lt;div class="dmws_perfect-search-filter-wrap-filters"&gt;',$.each(w,(function(e,r){switch(r.default_filter_key){case'stock':s+="&lt;div class=\"dmws_perfect-search-filter\"&gt;&lt;label class=\"stock-label\"&gt;".concat(a.stock).concat(th.dmws_search_chevron,"&lt;/label&gt;"),s+="&lt;div&gt;".concat(t,"&lt;/div&gt;&lt;/div&gt;");break;case'price':s+="&lt;div class=\"dmws_perfect-search-filter\"&gt;&lt;label&gt;".concat(a.price).concat(th.dmws_search_chevron,"&lt;/label&gt;"),s+="&lt;div class=\"dmws_perfect-search-price-wrap\"&gt;".concat(t,"&lt;/div&gt;&lt;/div&gt;");break;default:s+=th.renderDummyCheckboxFilter('search')}})),s+='&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;'));var r="&lt;div id=\"dmws_perfect-search-results\" class=\"dmws_perfect-search-results-".concat(settings.page_row_products_count,"\"&gt;");if(settings.show_page_title&amp;&amp;(r+="&lt;h1&gt;".concat(a.search_results_for," '").concat(_e(),"'&lt;/h1&gt;")),r+='&lt;div class="dmws_perfect-search-results  dmws_perfect-search-data"&gt;',c.products){r+="&lt;div class=\"dmws_perfect-search-products\"&gt;&lt;label&gt;&lt;span class=\"products-count\"&gt;&lt;/span&gt;".concat(a.products,"&lt;/label&gt;"),w.length&amp;&amp;(r+='&lt;div class="dmws_perfect-search-button dmws_perfect-search-mobile-filter"&gt;&lt;span&gt;&lt;svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M14 9L15.5 9M14 9C14 8.17157 13.3284 7.5 12.5 7.5C11.6716 7.5 11 8.17157 11 9M14 9C14 9.82843 13.3284 10.5 12.5 10.5C11.6716 10.5 11 9.82843 11 9M5 4.5C5 5.32843 5.67157 6 6.5 6C7.32843 6 8 5.32843 8 4.5M5 4.5C5 3.67157 5.67157 3 6.5 3C7.32843 3 8 3.67157 8 4.5M5 4.5L3.5 4.5M8 4.5L15.5 4.5M11 9L3.5 9M5 13.5C5 14.3284 5.67157 15 6.5 15C7.32843 15 8 14.3284 8 13.5M5 13.5C5 12.6716 5.67157 12 6.5 12C7.32843 12 8 12.6716 8 13.5M5 13.5L3.5 13.5M8 13.5L15.5 13.5" stroke="#6B7280" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/&gt;&lt;/svg&gt;'+a.filter+'&lt;/span&gt;&lt;/div&gt;'),r+="&lt;div class=\"dmws_perfect-search-button dmws_perfect-search-dropdown\"&gt;&lt;span&gt;&lt;svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"&gt;&lt;path d=\"M6.46257 13.1667V3.66667M6.46257 3.66667L3.2959 6.83334M6.46257 3.66667L9.62923 6.83334M14.3792 6.83334V16.3333M14.3792 16.3333L17.5459 13.1667M14.3792 16.3333L11.2126 13.1667\" stroke=\"#6B7280\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/&gt;&lt;/svg&gt;".concat(a.sort_by).concat(th.dmws_search_chevron,"&lt;/span&gt;&lt;/div&gt;"),r+='&lt;/div&gt;&lt;div class="dmws_perfect-search-products-results"&gt;';for(var i=th.renderDummyProductCard('search',settings),n=0;n&lt;12;n++)r+=i;r+='&lt;/div&gt;'}r+="&lt;/div&gt;",settings.hide_branding||(r+='&lt;div class="dmws_perfect-search-footer"&gt;&lt;a href="https://plus.dmws.nl/" target="_blank"&gt;&lt;svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 65 65"&gt;&lt;path d="M40.635 0H16.271c-.007 10.817-.021 21.634-.028 32.458H0v7.228a9.04 9.04 0 009.043 9.043h7.228V65h7.567a8.7 8.7 0 008.704-8.703v-7.575h8.093C54.093 48.722 65 37.815 65 24.358 65 10.908 54.093 0 40.635 0zm8.295 24.344a8.139 8.139 0 01-8.135 8.135h-8.136V16.202h8.136c4.49 0 8.135 3.644 8.135 8.142z" fill="url(#plus_logo_fill)"/&gt;&lt;defs&gt;&lt;linearGradient id="plus_logo_fill" x1="3.756" y1="56.193" x2="42.478" y2="15.05" gradientUnits="userSpaceOnUse"&gt;&lt;stop stop-color="#E6332A"/&gt;&lt;stop offset="1" stop-color="#F39341"/&gt;&lt;/linearGradient&gt;&lt;/defs&gt;&lt;/svg&gt; Search by &lt;b&gt;Plus+&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;'),r+='&lt;/div&gt;&lt;/div&gt;',o?($(settings.filters_selector).html(s),$(settings.products_selector).html("".concat(r))):(e+=s+r+'&lt;/div&gt;&lt;/div&gt;',$(l).html(e))}}));})(window.jQuery,JSON.parse('{\u0022product_card_settings\u0022:{\u0022show_brand\u0022:true,\u0022show_variant\u0022:true,\u0022show_image\u0022:true,\u0022fill_product_image\u0022:true,\u0022image_ratio\u0022:\u0022square\u0022,\u0022show_stock\u0022:true,\u0022show_variant_in_stock\u0022:true,\u0022show_prices_incl_vat\u0022:true,\u0022show_score\u0022:true,\u0022show_another_image_on_hover\u0022:true,\u0022show_wishlist_icon\u0022:true,\u0022show_sale_label\u0022:true,\u0022use_custom_sale_label_html\u0022:false,\u0022show_discount_percentage\u0022:true,\u0022show_bestseller_label\u0022:true,\u0022use_custom_bestseller_label_html\u0022:false,\u0022show_bestseller_for\u0022:\u002210\u0022,\u0022use_custom_html\u0022:false,\u0022show_stock_level\u0022:false,\u0022show_description\u0022:false,\u0022show_add_to_cart_button\u0022:false,\u0022show_quantity_input\u0022:false,\u0022hide_discount_sale_text\u0022:false,\u0022custom_sale_label_html\u0022:null,\u0022custom_bestseller_label_html\u0022:null,\u0022custom_html\u0022:null,\u0022override_out_of_stock_logic\u0022:true},\u0022show_variant_as_product\u0022:false,\u0022show_cheapest_variant\u0022:false,\u0022custom_css\u0022:null,\u0022defaultImage\u0022:\u0022https:\\\/\\\/app.dmws.plus\\\/img\\\/apps\\\/product-placeholder-square.png\u0022,\u0022defaultImageSmall\u0022:\u0022https:\\\/\\\/app.dmws.plus\\\/img\\\/apps\\\/product-placeholder-square-small.png\u0022,\u0022hide_branding\u0022:true,\u0022show_popular_terms\u0022:true,\u0022show_popular_products\u0022:true,\u0022show_filters\u0022:true,\u0022filters\u0022:[{\u0022id\u0022:1496,\u0022title\u0022:{\u0022nl\u0022:\u0022Merk\u0022,\u0022en\u0022:\u0022Brand\u0022},\u0022is_hidden\u0022:false,\u0022lightspeed_id\u0022:null,\u0022default_filter_key\u0022:\u0022brand\u0022,\u0022values_count\u0022:0,\u0022values\u0022:[],\u0022search_order\u0022:null},{\u0022id\u0022:1497,\u0022title\u0022:{\u0022nl\u0022:\u0022Prijs\u0022,\u0022en\u0022:\u0022Price\u0022},\u0022is_hidden\u0022:false,\u0022lightspeed_id\u0022:null,\u0022default_filter_key\u0022:\u0022price\u0022,\u0022values_count\u0022:0,\u0022values\u0022:[],\u0022search_order\u0022:null},{\u0022id\u0022:1498,\u0022title\u0022:{\u0022nl\u0022:\u0022Categorie\\u00ebn\u0022,\u0022en\u0022:\u0022Categories\u0022},\u0022is_hidden\u0022:false,\u0022lightspeed_id\u0022:null,\u0022default_filter_key\u0022:\u0022categories\u0022,\u0022values_count\u0022:0,\u0022values\u0022:[],\u0022search_order\u0022:null},{\u0022id\u0022:1499,\u0022title\u0022:{\u0022nl\u0022:\u0022Review score\u0022,\u0022en\u0022:\u0022Review score\u0022},\u0022is_hidden\u0022:false,\u0022lightspeed_id\u0022:null,\u0022default_filter_key\u0022:\u0022review_score\u0022,\u0022values_count\u0022:0,\u0022values\u0022:[],\u0022search_order\u0022:null},{\u0022id\u0022:6153,\u0022title\u0022:{\u0022nl\u0022:\u0022Huidtype\u0022,\u0022en\u0022:\u0022Skin type\u0022},\u0022is_hidden\u0022:false,\u0022lightspeed_id\u0022:59813,\u0022default_filter_key\u0022:\u0022lightspeed_59813\u0022,\u0022values_count\u0022:6,\u0022values\u0022:[],\u0022search_order\u0022:\u0022lightspeed\u0022},{\u0022id\u0022:6154,\u0022title\u0022:{\u0022nl\u0022:\u0022Huidconditie\u0022,\u0022en\u0022:\u0022Skin condition\u0022},\u0022is_hidden\u0022:false,\u0022lightspeed_id\u0022:59816,\u0022default_filter_key\u0022:\u0022lightspeed_59816\u0022,\u0022values_count\u0022:15,\u0022values\u0022:[],\u0022search_order\u0022:\u0022lightspeed\u0022},{\u0022id\u0022:6275,\u0022title\u0022:{\u0022nl\u0022:\u0022Ingredi\\u00ebnten - (in opbouw)\u0022,\u0022en\u0022:\u0022Ingredients - (under construction)\u0022},\u0022is_hidden\u0022:false,\u0022lightspeed_id\u0022:108580,\u0022default_filter_key\u0022:\u0022lightspeed_108580\u0022,\u0022values_count\u0022:15,\u0022values\u0022:[],\u0022search_order\u0022:\u0022lightspeed\u0022},{\u0022id\u0022:6277,\u0022title\u0022:{\u0022nl\u0022:\u0022Zonder - (niet meer dan 1 filter tegelijk)\u0022,\u0022en\u0022:\u0022Without - (no more than 1 filter at a time)\u0022},\u0022is_hidden\u0022:false,\u0022lightspeed_id\u0022:109141,\u0022default_filter_key\u0022:\u0022lightspeed_109141\u0022,\u0022values_count\u0022:7,\u0022values\u0022:[],\u0022search_order\u0022:\u0022lightspeed\u0022}],\u0022search_priorities\u0022:{\u0022product\u0022:true,\u0022brand_name\u0022:true,\u0022variant\u0022:true,\u0022short_description\u0022:true,\u0022long_description\u0022:true,\u0022tags\u0022:true,\u0022specification_values\u0022:true},\u0022result_display_settings\u0022:{\u0022enabled\u0022:{\u0022products\u0022:true,\u0022categories\u0022:true,\u0022pages\u0022:true,\u0022blogs\u0022:true,\u0022brands\u0022:true},\u0022number\u0022:{\u0022products\u0022:\u00225\u0022,\u0022categories\u0022:\u00225\u0022,\u0022pages\u0022:\u00225\u0022,\u0022blogs\u0022:\u00225\u0022,\u0022brands\u0022:\u00225\u0022}},\u0022custom_popular_terms\u0022:[],\u0022auto_fill_popular_terms\u0022:true,\u0022custom_popular_products\u0022:[\u0022126320270\u0022,\u0022136207324\u0022,\u0022140985228\u0022,\u0022142981835\u0022,\u0022143884853\u0022],\u0022auto_fill_popular_products\u0022:true,\u0022css_selector\u0022:null,\u0022page_css_selector\u0022:null,\u0022activate_stock_filter_by_default\u0022:false,\u0022ga_tracking_id\u0022:null,\u0022enable_search_page\u0022:true,\u0022open_page_on_enter\u0022:true,\u0022show_page_title\u0022:true,\u0022page_row_products_count\u0022:3,\u0022products_selector\u0022:null,\u0022filters_selector\u0022:null,\u0022use_exhaustive_search\u0022:true,\u0022use_infix\u0022:true,\u0022texts\u0022:{\u0022nl\u0022:{\u0022search_bar_text\u0022:\u0022Hi {{ name }}, waar ben je naar opzoek?\u0022,\u0022show_more_results\u0022:\u0022Toon meer resultaten\u0022,\u0022show_all_results\u0022:\u0022Toon alle resultaten\u0022,\u0022show_fewer_results\u0022:\u0022Toon minder resultaten\u0022,\u0022popular_terms\u0022:\u0022Populaire zoektermen\u0022,\u0022popular_products\u0022:\u0022Populaire producten\u0022,\u0022search_results_for\u0022:\u0022Zoekresultaten voor \u0022,\u0022no_results_title\u0022:\u0022Sorry! Geen resultaten gevonden\u0022,\u0022no_results_text\u0022:\u0022We hebben niet gevonden wat je zocht, probeer een andere zoekterm\u0022,\u0022show_more\u0022:\u0022Toon meer\u0022,\u0022show_less\u0022:\u0022Toon minder\u0022,\u0022everything\u0022:\u0022Alles\u0022,\u0022products\u0022:\u0022Producten\u0022,\u0022blogs\u0022:\u0022Blogs\u0022,\u0022faqs\u0022:\u0022FAQ\\u0027s\u0022,\u0022pages\u0022:\u0022Pagina\\u0027s\u0022,\u0022filter\u0022:\u0022Filteren\u0022,\u0022categories\u0022:\u0022Categorie\\u00ebn\u0022,\u0022brand\u0022:\u0022Merk\u0022,\u0022brands\u0022:\u0022Merken\u0022,\u0022type\u0022:\u0022Type\u0022,\u0022price\u0022:\u0022Prijs\u0022,\u0022stock\u0022:\u0022Voorraad\u0022,\u0022in_stock\u0022:\u0022Op voorraad\u0022,\u0022out_of_stock\u0022:\u0022Niet op voorraad\u0022,\u0022stock_level\u0022:\u0022{{ level }} op voorraad\u0022,\u0022sort_by\u0022:\u0022Sorteren op\u0022,\u0022relevance\u0022:\u0022Relevantie\u0022,\u0022price_asc\u0022:\u0022Prijs (laag naar hoog)\u0022,\u0022price_desc\u0022:\u0022Prijs (hoog naar laag)\u0022,\u0022title_asc\u0022:\u0022Titel Alfabetisch (A-Z)\u0022,\u0022title_desc\u0022:\u0022Titel Alfabetisch (Z-A)\u0022,\u0022popularity\u0022:\u0022Populariteit\u0022,\u0022close\u0022:\u0022Sluiten\u0022,\u0022clear\u0022:\u0022wissen\u0022,\u0022apply_filters\u0022:\u0022Filters toepassen\u0022,\u0022quick_link_label\u0022:\u0022Snel naar\u0022,\u0022view\u0022:\u0022Bekijken\u0022,\u0022review_score\u0022:\u0022Review score\u0022,\u0022sale\u0022:\u0022SALE\u0022,\u0022newest\u0022:\u0022Nieuwste\u0022},\u0022en\u0022:{\u0022search_bar_text\u0022:\u0022Hi {{ name }}, what are you looking for?\u0022,\u0022show_more_results\u0022:\u0022Show more results\u0022,\u0022show_fewer_results\u0022:\u0022Show fewer results\u0022,\u0022show_all_results\u0022:\u0022Show all results\u0022,\u0022popular_terms\u0022:\u0022Popular search terms\u0022,\u0022popular_products\u0022:\u0022Popular products\u0022,\u0022search_results_for\u0022:\u0022Search results for \u0022,\u0022no_results_title\u0022:\u0022Sorry! No results found\u0022,\u0022no_results_text\u0022:\u0022We didn\\u0027t find what you were looking for. Try a different search term.\u0022,\u0022show_more\u0022:\u0022Show more\u0022,\u0022show_less\u0022:\u0022Show less\u0022,\u0022everything\u0022:\u0022Everything\u0022,\u0022products\u0022:\u0022Products\u0022,\u0022blogs\u0022:\u0022Blogs\u0022,\u0022faqs\u0022:\u0022FAQs\u0022,\u0022pages\u0022:\u0022Pages\u0022,\u0022filter\u0022:\u0022Filter\u0022,\u0022categories\u0022:\u0022Categories\u0022,\u0022brand\u0022:\u0022Brand\u0022,\u0022brands\u0022:\u0022Brands\u0022,\u0022type\u0022:\u0022Type\u0022,\u0022price\u0022:\u0022Price\u0022,\u0022stock\u0022:\u0022Stock\u0022,\u0022in_stock\u0022:\u0022In stock\u0022,\u0022out_of_stock\u0022:\u0022Out of Stock\u0022,\u0022stock_level\u0022:\u0022{{ level }} in stock\u0022,\u0022sort_by\u0022:\u0022Sort by\u0022,\u0022relevance\u0022:\u0022Relevance\u0022,\u0022price_asc\u0022:\u0022Price (low to high)\u0022,\u0022price_desc\u0022:\u0022Price (high to low)\u0022,\u0022title_asc\u0022:\u0022Title Alphabetically (A-Z)\u0022,\u0022title_desc\u0022:\u0022Title Alphabetical (Z-A)\u0022,\u0022popularity\u0022:\u0022Popularity\u0022,\u0022close\u0022:\u0022Close\u0022,\u0022clear\u0022:\u0022clear\u0022,\u0022apply_filters\u0022:\u0022Apply filters\u0022,\u0022quick_link_label\u0022:\u0022Quickly to\u0022,\u0022view\u0022:\u0022View\u0022,\u0022review_score\u0022:\u0022Review score\u0022,\u0022sale\u0022:\u0022SALE\u0022,\u0022newest\u0022:\u0022Newest\u0022}},\u0022shopId\u0022:243452,\u0022quickLinks\u0022:false,\u0022typesense\u0022:{\u0022url\u0022:\u0022https:\\\/\\\/search.dmws.plus\u0022,\u0022apiKey\u0022:\u0022w96OK15hMnHeVToodnXY6RaN1f0LWNt3\u0022},\u0022popularity_sort\u0022:false,\u0022scopedKeys\u0022:{\u0022products\u0022:\u0022Smt5UkQ3d09LK01MdHVlUmVnQVYwMGwzY1J0Sk15MDh6NU93WGJvLzVTaz13OTZPeyJmaWx0ZXJfYnkiOiJwcmljZTo+MSYmc2t1OiE9SVNOLlBST01PIn0=\u0022,\u0022categories\u0022:\u0022aitHaXhRTEhvZURBMlJwbG0zdmRqQlNxK3NYZjAxbmxubjRMWnV1SFFScz13OTZPeyJmaWx0ZXJfYnkiOiJ0aXRsZS5ubDohPUJsYWNrIEZyaWRheSYmdGl0bGUuZW46IT1CbGFjayBGcmlkYXkifQ==\u0022,\u0022pages\u0022:\u0022\u0022,\u0022blogs\u0022:\u0022\u0022,\u0022brands\u0022:\u0022\u0022},\u0022hideCategories\u0022:[{\u0022comparison_type\u0022:\u0022=\u0022,\u0022value\u0022:\u0022Black Friday\u0022}],\u0022popularProducts\u0022:[154661381,139069846,149916157,54968513,151994008,151730241,129772969,119877840,104943453,155363811],\u0022customLabels\u0022:[]}'));})(),registerAddon('1td92ny',function($,settings){$(function(){
  // Add popup
  function load_popup() {
    let popup_html = '&lt;button style="display: none;" class="btn button dmws-f_popup--link" data-dmws-f-popup="#dmws-p_1td92ny-popup-login"&gt;Login&lt;/button&gt;';
    popup_html += '&lt;div id="dmws-p_1td92ny-popup-login" class="dmws-f_popup" style="display: none;"&gt;&lt;/div&gt;';

    $('body').prepend(popup_html);
    
    let url = new URL(window.location.href);
    url.searchParams.set('format', 'json');
    window.dmws.getData(url).done(function (data) {
      let baseurl;
      let language = data.shop.language;
      if(data.shop.languages) {
        $.each(data.shop.languages, function(i, l){
          if(l.active) {
            language = l.code;
            baseurl = l.url;
          }
        });
      }
      let translations = { 'title': settings['1td92ny_custom_title'], 'message': settings['1td92ny_custom_message'], 'e-mail address': settings['1td92ny_custom_email'], 'e-mail address error': settings['1td92ny_custom_email_error'], 'password': settings['1td92ny_custom_password'], 'forgot password': settings['1td92ny_custom_password_forgot'], 'login': settings['1td92ny_custom_login'] };

      let popup = $('#dmws-p_1td92ny-popup-login');
      let popup_html = '&lt;div class="dmws-p_1td92ny-popup-login--wrapper"&gt;';
        if (settings['1td92ny_logo'] ) { popup_html += '&lt;div class="dmws-p_1td92ny-popup-login--logo enabled"&gt;&lt;img src="' + settings['1td92ny_logo'] + '" alt="Logo ' + data.shop.title + '" /&gt;&lt;/div&gt;'; }
        popup_html += '&lt;form action="' + baseurl + 'account/loginPost/" method="post" class="dmws-p_1td92ny-popup-login--form"&gt;';
          popup_html += '&lt;h1&gt;' + translations['title'][window.dmws.shopLanguage] + '&lt;/h1&gt;';
          popup_html += '&lt;p&gt;' + translations['message'][window.dmws.shopLanguage] + '&lt;/p&gt;';
          popup_html += '&lt;p&gt;';
            popup_html += '&lt;label for="lc"&gt;' + translations['e-mail address'][window.dmws.shopLanguage] + '&lt;span&gt;*&lt;/span&gt;&lt;/label&gt;';
            popup_html += '&lt;input type="email" id="lc" name="email" autocomplete="email" placeholder="' + translations['e-mail address'][window.dmws.shopLanguage] + '" required&gt;';
            popup_html += '&lt;span class="error" style="display:none"&gt;' + translations['e-mail address error'][window.dmws.shopLanguage] + '&lt;/span&gt;';
          popup_html += '&lt;/p&gt;';
          popup_html += '&lt;p&gt;';
            popup_html += '&lt;label for="ld"&gt;' + translations['password'][window.dmws.shopLanguage] + '&lt;span&gt;*&lt;/span&gt;&lt;/label&gt;';
            popup_html += '&lt;input type="password" id="ld" name="password" autocomplete="current-password" placeholder="' + translations['password'][window.dmws.shopLanguage] + '" required&gt;';
            popup_html += '&lt;a href="' + baseurl + 'account/password" class="dmws-p_1td92ny-popup-login--forgot"&gt;' + translations['forgot password'][window.dmws.shopLanguage] + '&lt;/a&gt;';
          popup_html += '&lt;/p&gt;';
          popup_html += '&lt;p&gt;&lt;button class="dmws-p_1td92ny-popup-login--button" type="submit" href="javascript:;"&gt;' + translations['login'][window.dmws.shopLanguage] + '&lt;/button&gt;&lt;/p&gt;';
          /*if( data.shop.settings.customer.social == true ) {
            popup_html += '&lt;p&gt;&lt;a class="dmws-p_1td92ny-popup-login--button dmws-p_1td92ny-popup-login--button--social" href="javascript:;" rel="nofollow" onclick="gui_facebook(' + baseurl + 'account/loginFacebook?return=' + baseurl + '); return false;"&gt;&lt;svg width="11" height="16" viewBox="0 0 11 16" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M9.66972 0.00319659L7.46591 0C4.99002 0 3.38999 1.48402 3.38999 3.78092V5.52418H1.17416C0.98269 5.52418 0.827637 5.66451 0.827637 5.83761V8.36339C0.827637 8.53649 0.982866 8.67666 1.17416 8.67666H3.38999V15.05C3.38999 15.2231 3.54504 15.3633 3.73651 15.3633H6.62753C6.81901 15.3633 6.97406 15.223 6.97406 15.05V8.67666H9.56487C9.75635 8.67666 9.9114 8.53649 9.9114 8.36339L9.91246 5.83761C9.91246 5.7545 9.87586 5.6749 9.81098 5.61609C9.74609 5.55727 9.65769 5.52418 9.56576 5.52418H6.97406V4.0464C6.97406 3.33612 7.16129 2.97554 8.18478 2.97554L9.66936 2.97506C9.86066 2.97506 10.0157 2.83473 10.0157 2.6618V0.316462C10.0157 0.143687 9.86084 0.00351625 9.66972 0.00319659Z" fill="#fff"/&gt;&lt;/svg&gt; ' + translations['login with fb'][window.dmws.shopLanguage] + '&lt;/a&gt;&lt;/p&gt;';
          }*/
          popup_html += '&lt;input type="hidden" name="key" value="' + data.page.key + '" /&gt;';
          popup_html += '&lt;input type="hidden" name="type" value="login" /&gt;';
        popup_html += '&lt;/form&gt;';
      popup_html += '&lt;/div&gt;';
      popup.append(popup_html);
    });
  }
  if($('#dmws-p_1td92ny-popup-login').length &gt; 0) {
    $('#dmws-p_1td92ny-popup-login').remove();
  }

  let url = new URL(window.location.href);
  url.searchParams.set('format', 'json');
  window.dmws.getData(url).done(function (data) {
    if (data.hasOwnProperty('page')) {
      if(data.page.account || window.location.href.indexOf("?addon=inactivity") &gt; -1 || window.localStorage.getItem('dmws:show_inactivity_popup')) {
        init_popup();
      } else if(window.localStorage.getItem('dmws:last_activity')) {
        window.localStorage.removeItem('dmws:last_activity');
      }
    }
  });
  
  $('body').on('submit', '#dmws-p_1td92ny-popup-login form', function(e) {
    e.preventDefault();
    let url = new URL($(this).attr('action'));
    url.searchParams.set('format', 'json');
    $.ajax({
      url: url.href,
      data: $(this).serialize(),
      type: 'post',
    }).done(function (data, statusText, response) {
      let redirect = true;
      if(typeof data == "object") {
        if(data.page.messages) {
          if( data.page.messages.error ) {
            redirect = false; 

            let add_message = false;
            let error = '&lt;ul class="dmws-p_1td92ny-popup-login--error"&gt;';
            $.each(data.page.messages.error, function(i, message) {
              if($('.dmws-p_1td92ny-popup-login--error li').text() != message) {
                add_message = true;
                error += '&lt;li&gt;' + message + '&lt;/li&gt;';
              }
            });
            error += '&lt;/ul&gt;';
            if(add_message) {
              $('#dmws-p_1td92ny-popup-login').find('.dmws-p_1td92ny-popup-login--button').parent().before(error);
            }
          }
        }
      }
      if(redirect) {
        window.location.replace(window.location.href);
      }
    }); 
  });
  
  function dmws_p_1td92ny_InactivityPopupOverflow() {
    let windowHeight = $(window).height();
    let loginWrapper = $('.dmws-p_1td92ny-popup-login--wrapper');
    let loginHeight = loginWrapper.outerHeight(true);
    if( (loginHeight + 30) &gt; windowHeight) {
      loginWrapper.addClass('overflow');
    }
  }

  var refreshAndShowPopup = function () {
    var storageKey = 'dmws:show_inactivity_popup';
    window.localStorage.setItem(storageKey, true);
    window.location.replace(window.location.href);
  };

  var showLoginPopup = function () {
    load_popup();
    $(".dmws-f_popup--link[data-dmws-f-popup='#dmws-p_1td92ny-popup-login']").trigger( "click" );
    dmws_p_1td92ny_InactivityPopupOverflow;
  };

  function init_popup() {
    var showPopupAfter = 1800000;
    var functionToCall = showLoginPopup;
    if (window.location.href.indexOf("?addon=inactivity") &gt; -1) {
      showPopupAfter = 180;
    }
    var storageKey = 'dmws:last_activity';
    window.localStorage.setItem(storageKey, Date.now());
    if (window.localStorage.getItem('dmws:show_inactivity_popup')) {
      showPopupAfter = 180;
      window.localStorage.removeItem('dmws:show_inactivity_popup');
    } else if (showPopupAfter &gt; 180) {
      functionToCall = refreshAndShowPopup;
    }

    var loginPopupTimeout = setTimeout(functionToCall, showPopupAfter);
    $(window).on('storage', function (e) {
      var original = e.originalEvent;
      if (original.key === null || original.key === storageKey) {
        clearTimeout(loginPopupTimeout);
        if (original.newValue !== null) {
          loginPopupTimeout = setTimeout(functionToCall, showPopupAfter);
        } else {
          functionToCall();
          dmws_p_1td92ny_InactivityPopupOverflow
        }
      }
    });
    
    $(window).resize(function() {
      dmws_p_1td92ny_InactivityPopupOverflow();
    });
    $(window).on('orientationchange', function(event) {
      dmws_p_1td92ny_InactivityPopupOverflow();
    });
    setTimeout(function(){
      if($('#dmws-p_1td92ny-popup-login .dmws-p_1td92ny-popup-login--form input[type="email"]').length &gt; 0) {
        $('#dmws-p_1td92ny-popup-login .dmws-p_1td92ny-popup-login--form input[type="email"]').each(function(){
          let regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;
          let input = $(this);
          input.on('blur', function(e) {
            if(regex.test($(this).val())) {
              if(! input.hasClass('valid')) {
                input.addClass('valid').removeClass('false');
                input.parent().find('.error').hide();
                input.parent().append('&lt;svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M13.0872 0.550019C12.6915 0.129827 12.0319 0.111321 11.6141 0.510831L4.96155 6.86523L1.78849 3.58394C1.38662 3.16866 0.727696 3.15955 0.315024 3.56437C-0.097297 3.96879 -0.105982 4.63316 0.295545 5.04844L4.18591 9.07141C4.38979 9.28237 4.66073 9.3887 4.93238 9.3887C5.19013 9.3887 5.44787 9.29283 5.64969 9.10079L13.0483 2.03379C13.4658 1.63493 13.4835 0.970564 13.0872 0.550019Z" fill="#48CFAD"/&gt;&lt;/svg&gt;');
              }
            } else {
              input.removeClass('valid').addClass('false');
              input.parent().find('svg').remove();
              input.parent().find('.error').show();
            }
          });
        });
      }
    }, 5000);
  }
});},JSON.parse('{\u00221td92ny_logo\u0022:\u0022https:\\\/\\\/app.dmws.plus\\\/shop-assets\\\/243452\\\/1td92ny\\\/XYVFb5S8JqvfwscBnqhG27NDBH7axQbtdT7lRPHj.png\u0022,\u00221td92ny_logo_width\u0022:\u0022200px\u0022,\u00221td92ny_logo_width_mobile\u0022:\u0022100px\u0022,\u00221td92ny_custom_title\u0022:{\u0022en\u0022:\u0022You are logged out\u0022,\u0022nl\u0022:\u0022Je bent uitgelogd\u0022},\u00221td92ny_custom_message\u0022:{\u0022en\u0022:\u0022To ensure your online safety, we\\u2019ve automatically logged you out\u0022,\u0022nl\u0022:\u0022Voor jouw online veiligheid, hebben we je automatisch uitgelogd\u0022},\u00221td92ny_custom_email\u0022:{\u0022en\u0022:\u0022Email address\u0022,\u0022nl\u0022:\u0022E-mailadres\u0022},\u00221td92ny_custom_email_error\u0022:{\u0022en\u0022:\u0022Email address is not correct\u0022,\u0022nl\u0022:\u0022E-mailadres is niet correct\u0022},\u00221td92ny_custom_password\u0022:{\u0022en\u0022:\u0022Password\u0022,\u0022nl\u0022:\u0022Wachtwoord\u0022},\u00221td92ny_custom_password_forgot\u0022:{\u0022en\u0022:\u0022Forgot your password?\u0022,\u0022nl\u0022:\u0022Wachtwoord vergeten?\u0022},\u00221td92ny_custom_login\u0022:{\u0022en\u0022:\u0022Login\u0022,\u0022nl\u0022:\u0022Inloggen\u0022}}')),registerAddon('w8fmq1',function($,settings){$(function() {
  var processButton = function(url) {
    $('[id^=dmws-p_w8fmq1-preorder-button-data][data-url="'+ url +'"]').each(function(index) {
      var parent = $(this).parent(),
          button = parent.find('.addtocart, [type="submit"], .add-size-to-cart, a[href="javascript:;"]:not(.add-to-wishlist):not(#checkoutButton):not(.up):not(.down):not(.open-login):not(.wl-btn):not(.product-modal-qty-submit), a[href*="cart/add"], button.product-cart, a.product-add-cart-btn, a.cart-btn, .dmws_perfect-search-add-to-cart-btn, .dmws_perfect-search-view-btn'),
          buttonId = 'dmws-p_w8fmq1-preorder-button-' + index;
      value = $(this).data('text');
      button.html($(this).data('text')).attr('id', buttonId).val(value);
    })
  };
  var checkForPreorder = function(el, origin) {
    let className;
    if (origin == 'button') { className = 'dmws-p_w8fmq1--button-loaded' } else { className = 'dmws-p_w8fmq1--label-loaded'; }
    if(!el.hasClass(className)){
      let url = el.data('url'),
          preOrder = false;
      window.dmws.getData(url).done(function (data) {
        let delivery = data.product.stock.delivery;
        if (delivery) {
          let deliverySplit = delivery.title.split(" - ");
          let preorder_translation = 'Pre-order';
          if($('*[id*="dmws-p_w8fmq1-preorder-button-data"]').data('text')) {
            preorder_translation = $('*[id*="dmws-p_w8fmq1-preorder-button-data"]').data('text');
          }
          if ( ( deliverySplit[0].trim() == preorder_translation || deliverySplit[0].trim() == 'Pre-order' ) &amp;&amp; data.product.stock.available ) {
            preOrder = true;
            $('[id^=dmws-p_w8fmq1-preorder-label][data-url="'+ url +'"]').show().removeClass('dmws-hidden-el');
            if (deliverySplit[1] != undefined) {
              $('#dmws-p_w8fmq1-preorder-levertijd[data-url="'+ url +'"] strong').html(' ' + deliverySplit[1].trim());
              $('#dmws-p_w8fmq1-preorder-levertijd[data-url="'+ url +'"]').show();
            } else {
              $('#dmws-p_w8fmq1-preorder-levertijd[data-url="'+ url +'"]').remove();
            }
            if (origin == 'button') { processButton(url); }
          }
        }
        if (!preOrder) {
          $('[id^=dmws-p_w8fmq1-preorder-label][data-url="'+ url +'"]').parent('.label-wrapper').remove();
          $('[id^=dmws-p_w8fmq1-preorder-label][data-url="'+ url +'"]').remove();
          $('[id^=dmws-p_w8fmq1-preorder-button-data][data-url="'+ url +'"]').remove();
          $('#dmws-p_w8fmq1-preorder-levertijd[data-url="'+ url +'"]').remove();
        }
        el.addClass(className);
      });
    }
  };
  var findSnippets = function() {
    $('[id^=dmws-p_w8fmq1-preorder-label]:not(.dmws-p_w8fmq1--label-loaded)').each(function() {
      let self = $(this);
      const loadedItem = self.hasClass('dmws-p_w8fmq1--label-loaded');
      self.addClass('dmws-hidden-el');
      if (window.dmws.isInViewport(self)) {
        checkForPreorder($(this), 'label');
      } else {
        function checkViewportLabel() {
          if (window.dmws.isInViewport(self)) {
            checkForPreorder(self, 'label');
            window.removeEventListener('scroll', checkViewportLabel);
          }
        };
        window.addEventListener('scroll', checkViewportLabel);
      }
    })
    $('[id^=dmws-p_w8fmq1-preorder-button-data]:not(.dmws-p_w8fmq1--button-loaded)').each(function() {
      let self = $(this);
      self.addClass('dmws-hidden-el');
      if (window.dmws.isInViewport(self)) {
        checkForPreorder($(this), 'button');
      } else {
        function checkViewportButton() {
          if (window.dmws.isInViewport(self)) {
            checkForPreorder(self, 'button');
            window.removeEventListener('scroll', checkViewportButton);
          }
        };
        window.addEventListener('scroll', checkViewportButton);
      }
    })
  };
  $('body').on('dmws-a_w8fmq1-find-preorder', function() {
    findSnippets();
  });
  $(document).on('dmws:search-product-card-init', function (e) {
    const $card = $(e.target);
    const productData = e.product;
    const productUrl = productData['url'] ? productData['url'][window.dmws.shopLanguage] : productData['url.' + window.dmws.shopLanguage];
    const preorder_btn = `&lt;div id="dmws-p_w8fmq1-preorder-button-data-${ productData.id }" data-text="Pre-order" data-url="${ window.dmws.shopBaseUrl + '/' + productUrl }?id=${ productData.variant_id }&amp;format=json" style="display:none"&gt;&lt;/div&gt;`;
    $card.find('.dmws_perfect-search-add-to-cart-block').append(preorder_btn);
    findSnippets();
  });
  setTimeout(function(){ findSnippets(); }, 1);
})},JSON.parse('{\u0022w8fmq1_preorder_button_background_color\u0022:\u0022#232323\u0022,\u0022w8fmq1_preorder_button_text_color\u0022:\u0022#FFFFFF\u0022,\u0022w8fmq1_margin_top\u0022:\u002210px\u0022,\u0022w8fmq1_margin_bottom\u0022:\u002210px\u0022}')),registerAddon('w8fyf8',function($,settings){$(function() {
	if (settings.w8fyf8_icons != []) {
		var checkoutSelector = '';
		var baseSelector = '.dmws-payments';
		if (settings.w8fyf8_show_in_perfect_checkout) {
			checkoutSelector = '#root #top ~ #content ~ #footer .payments, ';
		}
		if (settings.w8fyf8_element_selector != null) {
			baseSelector = settings.w8fyf8_element_selector;
		}
		var el = $(checkoutSelector + baseSelector);
		if (el.length) {
			el.html('').addClass('dmws-payments');
			el.addClass('dmws-payments-'+settings.w8fyf8_icons_style+'-style').html('&lt;span&gt;&lt;/span&gt;');
			var icons = settings.w8fyf8_icons;
			for (var i=0; i&lt;icons.length; i++) {
				el.find('span').append('&lt;img src="'+ icons[i] +'" width="30" height="21" loading="lazy" alt="Payment icon"&gt;')
			}
		}
	}
})},JSON.parse('{\u0022w8fyf8_element_selector\u0022:\u0022.payments\u0022,\u0022w8fyf8_show_in_perfect_checkout\u0022:true,\u0022w8fyf8_icons_style\u0022:\u0022logos\u0022,\u0022w8fyf8_margin_top\u0022:\u002210px\u0022,\u0022w8fyf8_margin_bottom\u0022:\u002210px\u0022,\u0022w8fyf8_icons\u0022:[\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-1705.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-2277.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-436.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-136.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-belfius.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-710.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-1939.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-2062.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-694.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-10.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-1813.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-1717.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-712.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-mastercard.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-1945.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-138.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-707.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-visa.svg\u0022,\u0022https:\\\/\\\/app.dmws.plus\\\/assets\\\/checkout\\\/z-1714.svg\u0022]}')),$((function(){s($),$('#dmws_plus-load-styles').remove()}))}))})();
/*1679485835*/</pre></body></html>