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Q,EAAGgQ,OAAO,mDCjHP,IAAI,IALH,CAEdjL,OAAiB,OACjBA,WAAoB,IAML,WCSfrF,EAAEG,UAAUkR,OAAM,WAChBH,WAAWI,GAAG,qBAAqB,WCcnCtR,EAAE,oBAAoByH,SDZpB8J,OAGFA,IAEAL,WAAWI,GAAG,gBAAgB,WCDO,IAAjCtR,EAAE,oBAAoBgC,QAI1BhC,EAAE,QAAQwR,OAXK,8KCbJ,IAAI,IALH,CAEd,OAAiB,OACjB,WAAoB,IAML,iCCJF,IAAI,IALH,CAEd,OAAiB,OACjB,WAAoB,IAML","sources":["webpack://ps_facetedsearch/./node_modules/jquery-ui-touch-punch/jquery.ui.touch-punch.js","webpack://ps_facetedsearch/./node_modules/lodash.escaperegexp/index.js","webpack://ps_facetedsearch/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://ps_facetedsearch/webpack/bootstrap","webpack://ps_facetedsearch/webpack/runtime/compat get default export","webpack://ps_facetedsearch/webpack/runtime/define property getters","webpack://ps_facetedsearch/webpack/runtime/global","webpack://ps_facetedsearch/webpack/runtime/hasOwnProperty shorthand","webpack://ps_facetedsearch/./_dev/front/urlparser.js","webpack://ps_facetedsearch/./_dev/cldr/exception/localization.js","webpack://ps_facetedsearch/./_dev/cldr/number-symbol.js","webpack://ps_facetedsearch/./_dev/cldr/specifications/number.js","webpack://ps_facetedsearch/./_dev/cldr/specifications/price.js","webpack://ps_facetedsearch/./_dev/cldr/number-formatter.js","webpack://ps_facetedsearch/./_dev/front/slider.js","webpack://ps_facetedsearch/./_dev/front/overlay.scss?516e","webpack://ps_facetedsearch/./_dev/front/events.js","webpack://ps_facetedsearch/./_dev/front/overlay.js","webpack://ps_facetedsearch/./_dev/front/slider.scss?b0f3","webpack://ps_facetedsearch/./_dev/front/facet.scss?17c8"],"sourcesContent":["/*!\n * jQuery UI Touch Punch 0.2.3\n *\n * Copyright 2011–2014, Dave Furfero\n * Dual licensed under the MIT or GPL Version 2 licenses.\n *\n * Depends:\n *  jquery.ui.widget.js\n *  jquery.ui.mouse.js\n */\n(function ($) {\n\n  // Detect touch support\n  $.support.touch = 'ontouchend' in document;\n\n  // Ignore browsers without touch support\n  if (!$.support.touch) {\n    return;\n  }\n\n  var mouseProto = $.ui.mouse.prototype,\n      _mouseInit = mouseProto._mouseInit,\n      _mouseDestroy = mouseProto._mouseDestroy,\n      touchHandled;\n\n  /**\n   * Simulate a mouse event based on a corresponding touch event\n   * @param {Object} event A touch event\n   * @param {String} simulatedType The corresponding mouse event\n   */\n  function simulateMouseEvent (event, simulatedType) {\n\n    // Ignore multi-touch events\n    if (event.originalEvent.touches.length > 1) {\n      return;\n    }\n\n    event.preventDefault();\n\n    var touch = event.originalEvent.changedTouches[0],\n        simulatedEvent = document.createEvent('MouseEvents');\n    \n    // Initialize the simulated mouse event using the touch event's coordinates\n    simulatedEvent.initMouseEvent(\n      simulatedType,    // type\n      true,             // bubbles                    \n      true,             // cancelable                 \n      window,           // view                       \n      1,                // detail                     \n      touch.screenX,    // screenX                    \n      touch.screenY,    // screenY                    \n      touch.clientX,    // clientX                    \n      touch.clientY,    // clientY                    \n      false,            // ctrlKey                    \n      false,            // altKey                     \n      false,            // shiftKey                   \n      false,            // metaKey                    \n      0,                // button                     \n      null              // relatedTarget              \n    );\n\n    // Dispatch the simulated event to the target element\n    event.target.dispatchEvent(simulatedEvent);\n  }\n\n  /**\n   * Handle the jQuery UI widget's touchstart events\n   * @param {Object} event The widget element's touchstart event\n   */\n  mouseProto._touchStart = function (event) {\n\n    var self = this;\n\n    // Ignore the event if another widget is already being handled\n    if (touchHandled || !self._mouseCapture(event.originalEvent.changedTouches[0])) {\n      return;\n    }\n\n    // Set the flag to prevent other widgets from inheriting the touch event\n    touchHandled = true;\n\n    // Track movement to determine if interaction was a click\n    self._touchMoved = false;\n\n    // Simulate the mouseover event\n    simulateMouseEvent(event, 'mouseover');\n\n    // Simulate the mousemove event\n    simulateMouseEvent(event, 'mousemove');\n\n    // Simulate the mousedown event\n    simulateMouseEvent(event, 'mousedown');\n  };\n\n  /**\n   * Handle the jQuery UI widget's touchmove events\n   * @param {Object} event The document's touchmove event\n   */\n  mouseProto._touchMove = function (event) {\n\n    // Ignore event if not handled\n    if (!touchHandled) {\n      return;\n    }\n\n    // Interaction was not a click\n    this._touchMoved = true;\n\n    // Simulate the mousemove event\n    simulateMouseEvent(event, 'mousemove');\n  };\n\n  /**\n   * Handle the jQuery UI widget's touchend events\n   * @param {Object} event The document's touchend event\n   */\n  mouseProto._touchEnd = function (event) {\n\n    // Ignore event if not handled\n    if (!touchHandled) {\n      return;\n    }\n\n    // Simulate the mouseup event\n    simulateMouseEvent(event, 'mouseup');\n\n    // Simulate the mouseout event\n    simulateMouseEvent(event, 'mouseout');\n\n    // If the touch interaction did not move, it should trigger a click\n    if (!this._touchMoved) {\n\n      // Simulate the click event\n      simulateMouseEvent(event, 'click');\n    }\n\n    // Unset the flag to allow other widgets to inherit the touch event\n    touchHandled = false;\n  };\n\n  /**\n   * A duck punch of the $.ui.mouse _mouseInit method to support touch events.\n   * This method extends the widget with bound touch event handlers that\n   * translate touch events to mouse events and pass them to the widget's\n   * original mouse event handling methods.\n   */\n  mouseProto._mouseInit = function () {\n    \n    var self = this;\n\n    // Delegate the touch handlers to the widget's element\n    self.element.bind({\n      touchstart: $.proxy(self, '_touchStart'),\n      touchmove: $.proxy(self, '_touchMove'),\n      touchend: $.proxy(self, '_touchEnd')\n    });\n\n    // Call the original $.ui.mouse init method\n    _mouseInit.call(self);\n  };\n\n  /**\n   * Remove the touch event handlers\n   */\n  mouseProto._mouseDestroy = function () {\n    \n    var self = this;\n\n    // Delegate the touch handlers to the widget's element\n    self.element.unbind({\n      touchstart: $.proxy(self, '_touchStart'),\n      touchmove: $.proxy(self, '_touchMove'),\n      touchend: $.proxy(self, '_touchEnd')\n    });\n\n    // Call the original $.ui.mouse destroy method\n    _mouseDestroy.call(self);\n  };\n\n})(jQuery);","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n    reHasRegExpChar = RegExp(reRegExpChar.source);\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n    symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n  // Exit early for strings to avoid a performance hit in some environments.\n  if (typeof value == 'string') {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return symbolToString ? symbolToString.call(value) : '';\n  }\n  var result = (value + '');\n  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n  return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n  return typeof value == 'symbol' ||\n    (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n  return value == null ? '' : baseToString(value);\n}\n\n/**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\nfunction escapeRegExp(string) {\n  string = toString(string);\n  return (string && reHasRegExpChar.test(string))\n    ? string.replace(reRegExpChar, '\\\\$&')\n    : string;\n}\n\nmodule.exports = escapeRegExp;\n","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n  var memo;\n  return function memorize() {\n    if (typeof memo === 'undefined') {\n      // Test for IE <= 9 as proposed by Browserhacks\n      // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n      // Tests for existence of standard globals is to allow style-loader\n      // to operate correctly into non-standard environments\n      // @see https://github.com/webpack-contrib/style-loader/issues/177\n      memo = Boolean(window && document && document.all && !window.atob);\n    }\n\n    return memo;\n  };\n}();\n\nvar getTarget = function getTarget() {\n  var memo = {};\n  return function memorize(target) {\n    if (typeof memo[target] === 'undefined') {\n      var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n      if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n        try {\n          // This will throw an exception if access to iframe is blocked\n          // due to cross-origin restrictions\n          styleTarget = styleTarget.contentDocument.head;\n        } catch (e) {\n          // istanbul ignore next\n          styleTarget = null;\n        }\n      }\n\n      memo[target] = styleTarget;\n    }\n\n    return memo[target];\n  };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n  var result = -1;\n\n  for (var i = 0; i < stylesInDom.length; i++) {\n    if (stylesInDom[i].identifier === identifier) {\n      result = i;\n      break;\n    }\n  }\n\n  return result;\n}\n\nfunction modulesToDom(list, options) {\n  var idCountMap = {};\n  var identifiers = [];\n\n  for (var i = 0; i < list.length; i++) {\n    var item = list[i];\n    var id = options.base ? item[0] + options.base : item[0];\n    var count = idCountMap[id] || 0;\n    var identifier = \"\".concat(id, \" \").concat(count);\n    idCountMap[id] = count + 1;\n    var index = getIndexByIdentifier(identifier);\n    var obj = {\n      css: item[1],\n      media: item[2],\n      sourceMap: item[3]\n    };\n\n    if (index !== -1) {\n      stylesInDom[index].references++;\n      stylesInDom[index].updater(obj);\n    } else {\n      stylesInDom.push({\n        identifier: identifier,\n        updater: addStyle(obj, options),\n        references: 1\n      });\n    }\n\n    identifiers.push(identifier);\n  }\n\n  return identifiers;\n}\n\nfunction insertStyleElement(options) {\n  var style = document.createElement('style');\n  var attributes = options.attributes || {};\n\n  if (typeof attributes.nonce === 'undefined') {\n    var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n    if (nonce) {\n      attributes.nonce = nonce;\n    }\n  }\n\n  Object.keys(attributes).forEach(function (key) {\n    style.setAttribute(key, attributes[key]);\n  });\n\n  if (typeof options.insert === 'function') {\n    options.insert(style);\n  } else {\n    var target = getTarget(options.insert || 'head');\n\n    if (!target) {\n      throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n    }\n\n    target.appendChild(style);\n  }\n\n  return style;\n}\n\nfunction removeStyleElement(style) {\n  // istanbul ignore if\n  if (style.parentNode === null) {\n    return false;\n  }\n\n  style.parentNode.removeChild(style);\n}\n/* istanbul ignore next  */\n\n\nvar replaceText = function replaceText() {\n  var textStore = [];\n  return function replace(index, replacement) {\n    textStore[index] = replacement;\n    return textStore.filter(Boolean).join('\\n');\n  };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n  var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n  /* istanbul ignore if  */\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = replaceText(index, css);\n  } else {\n    var cssNode = document.createTextNode(css);\n    var childNodes = style.childNodes;\n\n    if (childNodes[index]) {\n      style.removeChild(childNodes[index]);\n    }\n\n    if (childNodes.length) {\n      style.insertBefore(cssNode, childNodes[index]);\n    } else {\n      style.appendChild(cssNode);\n    }\n  }\n}\n\nfunction applyToTag(style, options, obj) {\n  var css = obj.css;\n  var media = obj.media;\n  var sourceMap = obj.sourceMap;\n\n  if (media) {\n    style.setAttribute('media', media);\n  } else {\n    style.removeAttribute('media');\n  }\n\n  if (sourceMap && typeof btoa !== 'undefined') {\n    css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n  } // For old IE\n\n  /* istanbul ignore if  */\n\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = css;\n  } else {\n    while (style.firstChild) {\n      style.removeChild(style.firstChild);\n    }\n\n    style.appendChild(document.createTextNode(css));\n  }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n  var style;\n  var update;\n  var remove;\n\n  if (options.singleton) {\n    var styleIndex = singletonCounter++;\n    style = singleton || (singleton = insertStyleElement(options));\n    update = applyToSingletonTag.bind(null, style, styleIndex, false);\n    remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n  } else {\n    style = insertStyleElement(options);\n    update = applyToTag.bind(null, style, options);\n\n    remove = function remove() {\n      removeStyleElement(style);\n    };\n  }\n\n  update(obj);\n  return function updateStyle(newObj) {\n    if (newObj) {\n      if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n        return;\n      }\n\n      update(obj = newObj);\n    } else {\n      remove();\n    }\n  };\n}\n\nmodule.exports = function (list, options) {\n  options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n  // tags it will allow on a page\n\n  if (!options.singleton && typeof options.singleton !== 'boolean') {\n    options.singleton = isOldIE();\n  }\n\n  list = list || [];\n  var lastIdentifiers = modulesToDom(list, options);\n  return function update(newList) {\n    newList = newList || [];\n\n    if (Object.prototype.toString.call(newList) !== '[object Array]') {\n      return;\n    }\n\n    for (var i = 0; i < lastIdentifiers.length; i++) {\n      var identifier = lastIdentifiers[i];\n      var index = getIndexByIdentifier(identifier);\n      stylesInDom[index].references--;\n    }\n\n    var newLastIdentifiers = modulesToDom(newList, options);\n\n    for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n      var _identifier = lastIdentifiers[_i];\n\n      var _index = getIndexByIdentifier(_identifier);\n\n      if (stylesInDom[_index].references === 0) {\n        stylesInDom[_index].updater();\n\n        stylesInDom.splice(_index, 1);\n      }\n    }\n\n    lastIdentifiers = newLastIdentifiers;\n  };\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","/**\n * Copyright since 2007 PrestaShop SA and Contributors\n * PrestaShop is an International Registered Trademark & Property of PrestaShop SA\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Academic Free License 3.0 (AFL-3.0)\n * that is bundled with this package in the file LICENSE.md.\n * It is also available through the world-wide-web at this URL:\n * https://opensource.org/licenses/AFL-3.0\n * If you did not receive a copy of the license and are unable to\n * obtain it through the world-wide-web, please send an email\n * to license@prestashop.com so we can send you a copy immediately.\n *\n * @author    PrestaShop SA <contact@prestashop.com>\n * @copyright Since 2007 PrestaShop SA and Contributors\n * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)\n */\n\nconst getQueryParameters = (params) => params.split('&').map((str) => {\n  const [key, val] = str.split('=');\n\n  return {\n    name: key,\n    value: decodeURIComponent(val).replace(/\\+/g, ' '),\n  };\n});\n\nexport default getQueryParameters;\n","/**\n * Copyright since 2007 PrestaShop SA and Contributors\n * PrestaShop is an International Registered Trademark & Property of PrestaShop SA\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Academic Free License 3.0 (AFL-3.0)\n * that is bundled with this package in the file LICENSE.md.\n * It is also available through the world-wide-web at this URL:\n * https://opensource.org/licenses/AFL-3.0\n * If you did not receive a copy of the license and are unable to\n * obtain it through the world-wide-web, please send an email\n * to license@prestashop.com so we can send you a copy immediately.\n *\n * @author    PrestaShop SA <contact@prestashop.com>\n * @copyright Since 2007 PrestaShop SA and Contributors\n * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)\n */\nclass LocalizationException {\n  constructor(message) {\n    this.message = message;\n    this.name = 'LocalizationException';\n  }\n}\n\nexport default LocalizationException;\n","/**\n * Copyright since 2007 PrestaShop SA and Contributors\n * PrestaShop is an International Registered Trademark & Property of PrestaShop SA\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Academic Free License 3.0 (AFL-3.0)\n * that is bundled with this package in the file LICENSE.md.\n * It is also available through the world-wide-web at this URL:\n * https://opensource.org/licenses/AFL-3.0\n * If you did not receive a copy of the license and are unable to\n * obtain it through the world-wide-web, please send an email\n * to license@prestashop.com so we can send you a copy immediately.\n *\n * @author    PrestaShop SA <contact@prestashop.com>\n * @copyright Since 2007 PrestaShop SA and Contributors\n * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)\n */\nimport LocalizationException from './exception/localization';\n\nclass NumberSymbol {\n  /**\n   * NumberSymbolList constructor.\n   *\n   * @param string decimal Decimal separator character\n   * @param string group Digits group separator character\n   * @param string list List elements separator character\n   * @param string percentSign Percent sign character\n   * @param string minusSign Minus sign character\n   * @param string plusSign Plus sign character\n   * @param string exponential Exponential character\n   * @param string superscriptingExponent Superscripting exponent character\n   * @param string perMille Permille sign character\n   * @param string infinity The infinity sign. Corresponds to the IEEE infinity bit pattern.\n   * @param string nan The NaN (Not A Number) sign. Corresponds to the IEEE NaN bit pattern.\n   *\n   * @throws LocalizationException\n   */\n  constructor(\n    decimal,\n    group,\n    list,\n    percentSign,\n    minusSign,\n    plusSign,\n    exponential,\n    superscriptingExponent,\n    perMille,\n    infinity,\n    nan,\n  ) {\n    this.decimal = decimal;\n    this.group = group;\n    this.list = list;\n    this.percentSign = percentSign;\n    this.minusSign = minusSign;\n    this.plusSign = plusSign;\n    this.exponential = exponential;\n    this.superscriptingExponent = superscriptingExponent;\n    this.perMille = perMille;\n    this.infinity = infinity;\n    this.nan = nan;\n\n    this.validateData();\n  }\n\n  /**\n   * Get the decimal separator.\n   *\n   * @return string\n   */\n  getDecimal() {\n    return this.decimal;\n  }\n\n  /**\n   * Get the digit groups separator.\n   *\n   * @return string\n   */\n  getGroup() {\n    return this.group;\n  }\n\n  /**\n   * Get the list elements separator.\n   *\n   * @return string\n   */\n  getList() {\n    return this.list;\n  }\n\n  /**\n   * Get the percent sign.\n   *\n   * @return string\n   */\n  getPercentSign() {\n    return this.percentSign;\n  }\n\n  /**\n   * Get the minus sign.\n   *\n   * @return string\n   */\n  getMinusSign() {\n    return this.minusSign;\n  }\n\n  /**\n   * Get the plus sign.\n   *\n   * @return string\n   */\n  getPlusSign() {\n    return this.plusSign;\n  }\n\n  /**\n   * Get the exponential character.\n   *\n   * @return string\n   */\n  getExponential() {\n    return this.exponential;\n  }\n\n  /**\n   * Get the exponent character.\n   *\n   * @return string\n   */\n  getSuperscriptingExponent() {\n    return this.superscriptingExponent;\n  }\n\n  /**\n   * Gert the per mille symbol (often \"‰\").\n   *\n   * @see https://en.wikipedia.org/wiki/Per_mille\n   *\n   * @return string\n   */\n  getPerMille() {\n    return this.perMille;\n  }\n\n  /**\n   * Get the infinity symbol (often \"∞\").\n   *\n   * @see https://en.wikipedia.org/wiki/Infinity_symbol\n   *\n   * @return string\n   */\n  getInfinity() {\n    return this.infinity;\n  }\n\n  /**\n   * Get the NaN (not a number) sign.\n   *\n   * @return string\n   */\n  getNan() {\n    return this.nan;\n  }\n\n  /**\n   * Symbols list validation.\n   *\n   * @throws LocalizationException\n   */\n  validateData() {\n    if (!this.decimal || typeof this.decimal !== 'string') {\n      throw new LocalizationException('Invalid decimal');\n    }\n\n    if (!this.group || typeof this.group !== 'string') {\n      throw new LocalizationException('Invalid group');\n    }\n\n    if (!this.list || typeof this.list !== 'string') {\n      throw new LocalizationException('Invalid symbol list');\n    }\n\n    if (!this.percentSign || typeof this.percentSign !== 'string') {\n      throw new LocalizationException('Invalid percentSign');\n    }\n\n    if (!this.minusSign || typeof this.minusSign !== 'string') {\n      throw new LocalizationException('Invalid minusSign');\n    }\n\n    if (!this.plusSign || typeof this.plusSign !== 'string') {\n      throw new LocalizationException('Invalid plusSign');\n    }\n\n    if (!this.exponential || typeof this.exponential !== 'string') {\n      throw new LocalizationException('Invalid exponential');\n    }\n\n    if (!this.superscriptingExponent || typeof this.superscriptingExponent !== 'string') {\n      throw new LocalizationException('Invalid superscriptingExponent');\n    }\n\n    if (!this.perMille || typeof this.perMille !== 'string') {\n      throw new LocalizationException('Invalid perMille');\n    }\n\n    if (!this.infinity || typeof this.infinity !== 'string') {\n      throw new LocalizationException('Invalid infinity');\n    }\n\n    if (!this.nan || typeof this.nan !== 'string') {\n      throw new LocalizationException('Invalid nan');\n    }\n  }\n}\n\nexport default NumberSymbol;\n","/**\n * Copyright since 2007 PrestaShop SA and Contributors\n * PrestaShop is an International Registered Trademark & Property of PrestaShop SA\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Academic Free License 3.0 (AFL-3.0)\n * that is bundled with this package in the file LICENSE.md.\n * It is also available through the world-wide-web at this URL:\n * https://opensource.org/licenses/AFL-3.0\n * If you did not receive a copy of the license and are unable to\n * obtain it through the world-wide-web, please send an email\n * to license@prestashop.com so we can send you a copy immediately.\n *\n * @author    PrestaShop SA <contact@prestashop.com>\n * @copyright Since 2007 PrestaShop SA and Contributors\n * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)\n */\nimport LocalizationException from '../exception/localization';\nimport NumberSymbol from '../number-symbol';\n\nclass NumberSpecification {\n  /**\n   * Number specification constructor.\n   *\n   * @param string positivePattern CLDR formatting pattern for positive amounts\n   * @param string negativePattern CLDR formatting pattern for negative amounts\n   * @param NumberSymbol symbol Number symbol\n   * @param int maxFractionDigits Maximum number of digits after decimal separator\n   * @param int minFractionDigits Minimum number of digits after decimal separator\n   * @param bool groupingUsed Is digits grouping used ?\n   * @param int primaryGroupSize Size of primary digits group in the number\n   * @param int secondaryGroupSize Size of secondary digits group in the number\n   *\n   * @throws LocalizationException\n   */\n  constructor(\n    positivePattern,\n    negativePattern,\n    symbol,\n    maxFractionDigits,\n    minFractionDigits,\n    groupingUsed,\n    primaryGroupSize,\n    secondaryGroupSize,\n  ) {\n    this.positivePattern = positivePattern;\n    this.negativePattern = negativePattern;\n    this.symbol = symbol;\n\n    this.maxFractionDigits = maxFractionDigits;\n    // eslint-disable-next-line\n    this.minFractionDigits = maxFractionDigits < minFractionDigits ? maxFractionDigits : minFractionDigits;\n\n    this.groupingUsed = groupingUsed;\n    this.primaryGroupSize = primaryGroupSize;\n    this.secondaryGroupSize = secondaryGroupSize;\n\n    if (!this.positivePattern || typeof this.positivePattern !== 'string') {\n      throw new LocalizationException('Invalid positivePattern');\n    }\n\n    if (!this.negativePattern || typeof this.negativePattern !== 'string') {\n      throw new LocalizationException('Invalid negativePattern');\n    }\n\n    if (!this.symbol || !(this.symbol instanceof NumberSymbol)) {\n      throw new LocalizationException('Invalid symbol');\n    }\n\n    if (typeof this.maxFractionDigits !== 'number') {\n      throw new LocalizationException('Invalid maxFractionDigits');\n    }\n\n    if (typeof this.minFractionDigits !== 'number') {\n      throw new LocalizationException('Invalid minFractionDigits');\n    }\n\n    if (typeof this.groupingUsed !== 'boolean') {\n      throw new LocalizationException('Invalid groupingUsed');\n    }\n\n    if (typeof this.primaryGroupSize !== 'number') {\n      throw new LocalizationException('Invalid primaryGroupSize');\n    }\n\n    if (typeof this.secondaryGroupSize !== 'number') {\n      throw new LocalizationException('Invalid secondaryGroupSize');\n    }\n  }\n\n  /**\n   * Get symbol.\n   *\n   * @return NumberSymbol\n   */\n  getSymbol() {\n    return this.symbol;\n  }\n\n  /**\n   * Get the formatting rules for this number (when positive).\n   *\n   * This pattern uses the Unicode CLDR number pattern syntax\n   *\n   * @return string\n   */\n  getPositivePattern() {\n    return this.positivePattern;\n  }\n\n  /**\n   * Get the formatting rules for this number (when negative).\n   *\n   * This pattern uses the Unicode CLDR number pattern syntax\n   *\n   * @return string\n   */\n  getNegativePattern() {\n    return this.negativePattern;\n  }\n\n  /**\n   * Get the maximum number of digits after decimal separator (rounding if needed).\n   *\n   * @return int\n   */\n  getMaxFractionDigits() {\n    return this.maxFractionDigits;\n  }\n\n  /**\n   * Get the minimum number of digits after decimal separator (fill with \"0\" if needed).\n   *\n   * @return int\n   */\n  getMinFractionDigits() {\n    return this.minFractionDigits;\n  }\n\n  /**\n   * Get the \"grouping\" flag. This flag defines if digits\n   * grouping should be used when formatting this number.\n   *\n   * @return bool\n   */\n  isGroupingUsed() {\n    return this.groupingUsed;\n  }\n\n  /**\n   * Get the size of primary digits group in the number.\n   *\n   * @return int\n   */\n  getPrimaryGroupSize() {\n    return this.primaryGroupSize;\n  }\n\n  /**\n   * Get the size of secondary digits groups in the number.\n   *\n   * @return int\n   */\n  getSecondaryGroupSize() {\n    return this.secondaryGroupSize;\n  }\n}\n\nexport default NumberSpecification;\n","/**\n * Copyright since 2007 PrestaShop SA and Contributors\n * PrestaShop is an International Registered Trademark & Property of PrestaShop SA\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Academic Free License 3.0 (AFL-3.0)\n * that is bundled with this package in the file LICENSE.md.\n * It is also available through the world-wide-web at this URL:\n * https://opensource.org/licenses/AFL-3.0\n * If you did not receive a copy of the license and are unable to\n * obtain it through the world-wide-web, please send an email\n * to license@prestashop.com so we can send you a copy immediately.\n *\n * @author    PrestaShop SA <contact@prestashop.com>\n * @copyright Since 2007 PrestaShop SA and Contributors\n * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)\n */\nimport LocalizationException from '../exception/localization';\nimport NumberSpecification from './number';\n\n/**\n * Currency display option: symbol notation.\n */\nconst CURRENCY_DISPLAY_SYMBOL = 'symbol';\n\nclass PriceSpecification extends NumberSpecification {\n  /**\n   * Price specification constructor.\n   *\n   * @param string positivePattern CLDR formatting pattern for positive amounts\n   * @param string negativePattern CLDR formatting pattern for negative amounts\n   * @param NumberSymbol symbol Number symbol\n   * @param int maxFractionDigits Maximum number of digits after decimal separator\n   * @param int minFractionDigits Minimum number of digits after decimal separator\n   * @param bool groupingUsed Is digits grouping used ?\n   * @param int primaryGroupSize Size of primary digits group in the number\n   * @param int secondaryGroupSize Size of secondary digits group in the number\n   * @param string currencySymbol Currency symbol of this price (eg. : €)\n   * @param currencyCode Currency code of this price (e.g.: EUR)\n   *\n   * @throws LocalizationException\n   */\n  constructor(\n    positivePattern,\n    negativePattern,\n    symbol,\n    maxFractionDigits,\n    minFractionDigits,\n    groupingUsed,\n    primaryGroupSize,\n    secondaryGroupSize,\n    currencySymbol,\n    currencyCode,\n  ) {\n    super(\n      positivePattern,\n      negativePattern,\n      symbol,\n      maxFractionDigits,\n      minFractionDigits,\n      groupingUsed,\n      primaryGroupSize,\n      secondaryGroupSize,\n    );\n    this.currencySymbol = currencySymbol;\n    this.currencyCode = currencyCode;\n\n    if (!this.currencySymbol || typeof this.currencySymbol !== 'string') {\n      throw new LocalizationException('Invalid currencySymbol');\n    }\n\n    if (!this.currencyCode || typeof this.currencyCode !== 'string') {\n      throw new LocalizationException('Invalid currencyCode');\n    }\n  }\n\n  /**\n   * Get type of display for currency symbol.\n   *\n   * @return string\n   */\n  static getCurrencyDisplay() {\n    return CURRENCY_DISPLAY_SYMBOL;\n  }\n\n  /**\n   * Get the currency symbol\n   * e.g.: €.\n   *\n   * @return string\n   */\n  getCurrencySymbol() {\n    return this.currencySymbol;\n  }\n\n  /**\n   * Get the currency ISO code\n   * e.g.: EUR.\n   *\n   * @return string\n   */\n  getCurrencyCode() {\n    return this.currencyCode;\n  }\n}\n\nexport default PriceSpecification;\n","/**\n * Copyright since 2007 PrestaShop SA and Contributors\n * PrestaShop is an International Registered Trademark & Property of PrestaShop SA\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Academic Free License 3.0 (AFL-3.0)\n * that is bundled with this package in the file LICENSE.md.\n * It is also available through the world-wide-web at this URL:\n * https://opensource.org/licenses/AFL-3.0\n * If you did not receive a copy of the license and are unable to\n * obtain it through the world-wide-web, please send an email\n * to license@prestashop.com so we can send you a copy immediately.\n *\n * @author    PrestaShop SA <contact@prestashop.com>\n * @copyright Since 2007 PrestaShop SA and Contributors\n * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)\n */\n/**\n * These placeholders are used in CLDR number formatting templates.\n * They are meant to be replaced by the correct localized symbols in the number formatting process.\n */\nimport NumberSymbol from './number-symbol';\nimport PriceSpecification from './specifications/price';\nimport NumberSpecification from './specifications/number';\n\nconst escapeRE = require('lodash.escaperegexp');\n\nconst CURRENCY_SYMBOL_PLACEHOLDER = '¤';\nconst DECIMAL_SEPARATOR_PLACEHOLDER = '.';\nconst GROUP_SEPARATOR_PLACEHOLDER = ',';\nconst MINUS_SIGN_PLACEHOLDER = '-';\nconst PERCENT_SYMBOL_PLACEHOLDER = '%';\nconst PLUS_SIGN_PLACEHOLDER = '+';\n\nclass NumberFormatter {\n  /**\n   * @param NumberSpecification specification Number specification to be used\n   *   (can be a number spec, a price spec, a percentage spec)\n   */\n  constructor(specification) {\n    this.numberSpecification = specification;\n  }\n\n  /**\n   * Formats the passed number according to specifications.\n   *\n   * @param int|float|string number The number to format\n   * @param NumberSpecification specification Number specification to be used\n   *   (can be a number spec, a price spec, a percentage spec)\n   *\n   * @return string The formatted number\n   *                You should use this this value for display, without modifying it\n   */\n  format(number, specification) {\n    if (specification !== undefined) {\n      this.numberSpecification = specification;\n    }\n\n    /*\n     * We need to work on the absolute value first.\n     * Then the CLDR pattern will add the sign if relevant (at the end).\n     */\n    const num = Math.abs(number).toFixed(this.numberSpecification.getMaxFractionDigits());\n\n    let [majorDigits, minorDigits] = this.extractMajorMinorDigits(num);\n    majorDigits = this.splitMajorGroups(majorDigits);\n    minorDigits = this.adjustMinorDigitsZeroes(minorDigits);\n\n    // Assemble the final number\n    let formattedNumber = majorDigits;\n\n    if (minorDigits) {\n      formattedNumber += DECIMAL_SEPARATOR_PLACEHOLDER + minorDigits;\n    }\n\n    // Get the good CLDR formatting pattern. Sign is important here !\n    const pattern = this.getCldrPattern(number < 0);\n    formattedNumber = this.addPlaceholders(formattedNumber, pattern);\n    formattedNumber = this.replaceSymbols(formattedNumber);\n\n    formattedNumber = this.performSpecificReplacements(formattedNumber);\n\n    return formattedNumber;\n  }\n\n  /**\n   * Get number's major and minor digits.\n   *\n   * Major digits are the \"integer\" part (before decimal separator),\n   * minor digits are the fractional part\n   * Result will be an array of exactly 2 items: [majorDigits, minorDigits]\n   *\n   * Usage example:\n   *  list(majorDigits, minorDigits) = this.getMajorMinorDigits(decimalNumber);\n   *\n   * @param DecimalNumber number\n   *\n   * @return string[]\n   */\n  extractMajorMinorDigits(number) {\n    // Get the number's major and minor digits.\n    const result = number.toString().split('.');\n    const majorDigits = result[0];\n    const minorDigits = (result[1] === undefined) ? '' : result[1];\n\n    return [majorDigits, minorDigits];\n  }\n\n  /**\n   * Splits major digits into groups.\n   *\n   * e.g.: Given the major digits \"1234567\", and major group size\n   *  configured to 3 digits, the result would be \"1 234 567\"\n   *\n   * @param string majorDigits The major digits to be grouped\n   *\n   * @return string The grouped major digits\n   */\n  splitMajorGroups(digit) {\n    if (!this.numberSpecification.isGroupingUsed()) {\n      return digit;\n    }\n\n    // Reverse the major digits, since they are grouped from the right.\n    const majorDigits = digit.split('').reverse();\n\n    // Group the major digits.\n    let groups = [];\n    groups.push(majorDigits.splice(0, this.numberSpecification.getPrimaryGroupSize()));\n    while (majorDigits.length) {\n      groups.push(majorDigits.splice(0, this.numberSpecification.getSecondaryGroupSize()));\n    }\n\n    // Reverse back the digits and the groups\n    groups = groups.reverse();\n    const newGroups = [];\n    groups.forEach((group) => {\n      newGroups.push(group.reverse().join(''));\n    });\n\n    // Reconstruct the major digits.\n    return newGroups.join(GROUP_SEPARATOR_PLACEHOLDER);\n  }\n\n  /**\n   * Adds or remove trailing zeroes, depending on specified min and max fraction digits numbers.\n   *\n   * @param string minorDigits Digits to be adjusted with (trimmed or padded) zeroes\n   *\n   * @return string The adjusted minor digits\n   */\n  adjustMinorDigitsZeroes(minorDigits) {\n    let digit = minorDigits;\n\n    if (digit.length > this.numberSpecification.getMaxFractionDigits()) {\n      // Strip any trailing zeroes.\n      digit = digit.replace(/0+$/, '');\n    }\n\n    if (digit.length < this.numberSpecification.getMinFractionDigits()) {\n      // Re-add needed zeroes\n      digit = digit.padEnd(\n        this.numberSpecification.getMinFractionDigits(),\n        '0',\n      );\n    }\n\n    return digit;\n  }\n\n  /**\n   * Get the CLDR formatting pattern.\n   *\n   * @see http://cldr.unicode.org/translation/number-patterns\n   *\n   * @param bool isNegative If true, the negative pattern\n   * will be returned instead of the positive one\n   *\n   * @return string The CLDR formatting pattern\n   */\n  getCldrPattern(isNegative) {\n    if (isNegative) {\n      return this.numberSpecification.getNegativePattern();\n    }\n\n    return this.numberSpecification.getPositivePattern();\n  }\n\n  /**\n   * Replace placeholder number symbols with relevant numbering system's symbols.\n   *\n   * @param string number\n   *                       The number to process\n   *\n   * @return string\n   *                The number with replaced symbols\n   */\n  replaceSymbols(number) {\n    const symbols = this.numberSpecification.getSymbol();\n\n    const map = {};\n    map[DECIMAL_SEPARATOR_PLACEHOLDER] = symbols.getDecimal();\n    map[GROUP_SEPARATOR_PLACEHOLDER] = symbols.getGroup();\n    map[MINUS_SIGN_PLACEHOLDER] = symbols.getMinusSign();\n    map[PERCENT_SYMBOL_PLACEHOLDER] = symbols.getPercentSign();\n    map[PLUS_SIGN_PLACEHOLDER] = symbols.getPlusSign();\n\n    return this.strtr(number, map);\n  }\n\n  /**\n   * strtr() for JavaScript\n   * Translate characters or replace substrings\n   */\n  strtr(str, pairs) {\n    const substrs = Object.keys(pairs).map(escapeRE);\n\n    return str.split(RegExp(`(${substrs.join('|')})`))\n      .map((part) => pairs[part] || part)\n      .join('');\n  }\n\n  /**\n   * Add missing placeholders to the number using the passed CLDR pattern.\n   *\n   * Missing placeholders can be the percent sign, currency symbol, etc.\n   *\n   * e.g. with a currency CLDR pattern:\n   *  - Passed number (partially formatted): 1,234.567\n   *  - Returned number: 1,234.567 ¤\n   *  (\"¤\" symbol is the currency symbol placeholder)\n   *\n   * @see http://cldr.unicode.org/translation/number-patterns\n   *\n   * @param formattedNumber\n   *  Number to process\n   * @param pattern\n   *  CLDR formatting pattern to use\n   *\n   * @return string\n   */\n  addPlaceholders(formattedNumber, pattern) {\n    /*\n     * Regex groups explanation:\n     * #          : literal \"#\" character. Once.\n     * (,#+)*     : any other \"#\" characters group, separated by \",\". Zero to infinity times.\n     * 0          : literal \"0\" character. Once.\n     * (\\.[0#]+)* : any combination of \"0\" and \"#\" characters groups, separated by '.'.\n     *              Zero to infinity times.\n     */\n    return pattern.replace(/#?(,#+)*0(\\.[0#]+)*/, formattedNumber);\n  }\n\n  /**\n   * Perform some more specific replacements.\n   *\n   * Specific replacements are needed when number specification is extended.\n   * For instance, prices have an extended number specification in order to\n   * add currency symbol to the formatted number.\n   *\n   * @param string formattedNumber\n   *\n   * @return mixed\n   */\n  performSpecificReplacements(formattedNumber) {\n    if (this.numberSpecification instanceof PriceSpecification) {\n      return formattedNumber\n        .split(CURRENCY_SYMBOL_PLACEHOLDER)\n        .join(this.numberSpecification.getCurrencySymbol());\n    }\n\n    return formattedNumber;\n  }\n\n  static build(specifications) {\n    let symbol;\n\n    if (undefined !== specifications.numberSymbols) {\n      symbol = new NumberSymbol(...specifications.numberSymbols);\n    } else {\n      symbol = new NumberSymbol(...specifications.symbol);\n    }\n\n    let specification;\n\n    if (specifications.currencySymbol) {\n      specification = new PriceSpecification(\n        specifications.positivePattern,\n        specifications.negativePattern,\n        symbol,\n        parseInt(specifications.maxFractionDigits, 10),\n        parseInt(specifications.minFractionDigits, 10),\n        specifications.groupingUsed,\n        specifications.primaryGroupSize,\n        specifications.secondaryGroupSize,\n        specifications.currencySymbol,\n        specifications.currencyCode,\n      );\n    } else {\n      specification = new NumberSpecification(\n        specifications.positivePattern,\n        specifications.negativePattern,\n        symbol,\n        parseInt(specifications.maxFractionDigits, 10),\n        parseInt(specifications.minFractionDigits, 10),\n        specifications.groupingUsed,\n        specifications.primaryGroupSize,\n        specifications.secondaryGroupSize,\n      );\n    }\n\n    return new NumberFormatter(specification);\n  }\n}\n\nexport default NumberFormatter;\n","/**\n * Copyright since 2007 PrestaShop SA and Contributors\n * PrestaShop is an International Registered Trademark & Property of PrestaShop SA\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Academic Free License 3.0 (AFL-3.0)\n * that is bundled with this package in the file LICENSE.md.\n * It is also available through the world-wide-web at this URL:\n * https://opensource.org/licenses/AFL-3.0\n * If you did not receive a copy of the license and are unable to\n * obtain it through the world-wide-web, please send an email\n * to license@prestashop.com so we can send you a copy immediately.\n *\n * @author    PrestaShop SA <contact@prestashop.com>\n * @copyright Since 2007 PrestaShop SA and Contributors\n * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)\n */\n\nimport getQueryParameters from './urlparser';\nimport NumberFormatter from '../cldr/number-formatter';\n\nconst formatters = {};\n\nconst displayLabelBlock = (formatterId, displayBlock, min, max) => {\n  if (formatters[formatterId] === undefined) {\n    displayBlock.text(\n      displayBlock.text().replace(\n        /([^\\d]*)(?:[\\d\\s.,]+)([^\\d]+)(?:[\\d\\s.,]+)(.*)/,\n        `$1${min}$2${max}$3`,\n      ),\n    );\n  } else {\n    displayBlock.text(\n      `${formatters[formatterId].format(min)} - ${formatters[formatterId].format(max)}`,\n    );\n  }\n};\n\n/**\n * Refresh facets sliders\n */\nconst refreshSliders = () => {\n  $('.faceted-slider').each(function initializeSliders() {\n    const $el = $(this);\n    const values = $el.data('slider-values');\n    const specifications = $el.data('slider-specifications');\n\n    if (specifications !== null && specifications !== undefined) {\n      formatters[$el.data('slider-id')] = NumberFormatter.build(specifications);\n    }\n\n    displayLabelBlock(\n      $el.data('slider-id'),\n      $(`#facet_label_${$el.data('slider-id')}`),\n      values === null ? $el.data('slider-min') : values[0],\n      values === null ? $el.data('slider-max') : values[1],\n    );\n\n    $(`#slider-range_${$el.data('slider-id')}`).slider({\n      range: true,\n      min: $el.data('slider-min'),\n      max: $el.data('slider-max'),\n      values: [\n        values === null ? $el.data('slider-min') : values[0],\n        values === null ? $el.data('slider-max') : values[1],\n      ],\n      stop(event, ui) {\n        const nextEncodedFacetsURL = $el.data('slider-encoded-url');\n        const urlsSplitted = nextEncodedFacetsURL.split('?');\n        let queryParams = [];\n\n        // Retrieve parameters if exists\n        if (urlsSplitted.length > 1) {\n          queryParams = getQueryParameters(urlsSplitted[1]);\n        }\n\n        let found = false;\n        queryParams.forEach((query) => {\n          if (query.name === 'q') {\n            found = true;\n          }\n        });\n\n        if (!found) {\n          queryParams.push({name: 'q', value: ''});\n        }\n\n        // Update query parameter\n        queryParams.forEach((query) => {\n          if (query.name === 'q') {\n            // eslint-disable-next-line\n            query.value += [\n              query.value.length > 0 ? '/' : '',\n              $el.data('slider-label'),\n              '-',\n              $el.data('slider-unit'),\n              '-',\n              ui.values[0],\n              '-',\n              ui.values[1],\n            ].join('');\n          }\n        });\n\n        const requestUrl = [\n          urlsSplitted[0],\n          '?',\n          $.param(queryParams),\n        ].join('');\n\n        prestashop.emit(\n          'updateFacets',\n          requestUrl,\n        );\n      },\n      slide(event, ui) {\n        displayLabelBlock(\n          $el.data('slider-id'),\n          $(`#facet_label_${$el.data('slider-id')}`),\n          ui.values[0],\n          ui.values[1],\n        );\n      },\n    });\n  });\n};\n\nexport default refreshSliders;\n","import api from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n            import content from \"!!../../node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./overlay.scss\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/**\n * Copyright since 2007 PrestaShop SA and Contributors\n * PrestaShop is an International Registered Trademark & Property of PrestaShop SA\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Academic Free License 3.0 (AFL-3.0)\n * that is bundled with this package in the file LICENSE.md.\n * It is also available through the world-wide-web at this URL:\n * https://opensource.org/licenses/AFL-3.0\n * If you did not receive a copy of the license and are unable to\n * obtain it through the world-wide-web, please send an email\n * to license@prestashop.com so we can send you a copy immediately.\n *\n * @author    PrestaShop SA <contact@prestashop.com>\n * @copyright Since 2007 PrestaShop SA and Contributors\n * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)\n */\nimport refreshSliders from './slider';\nimport {showOverlay, hideOverlay} from './overlay';\n\n$(document).ready(() => {\n  prestashop.on('updateProductList', () => {\n    hideOverlay();\n    refreshSliders();\n  });\n\n  refreshSliders();\n\n  prestashop.on('updateFacets', () => {\n    showOverlay();\n  });\n});\n","/**\n * Copyright since 2007 PrestaShop SA and Contributors\n * PrestaShop is an International Registered Trademark & Property of PrestaShop SA\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Academic Free License 3.0 (AFL-3.0)\n * that is bundled with this package in the file LICENSE.md.\n * It is also available through the world-wide-web at this URL:\n * https://opensource.org/licenses/AFL-3.0\n * If you did not receive a copy of the license and are unable to\n * obtain it through the world-wide-web, please send an email\n * to license@prestashop.com so we can send you a copy immediately.\n *\n * @author    PrestaShop SA <contact@prestashop.com>\n * @copyright Since 2007 PrestaShop SA and Contributors\n * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)\n */\n\nimport './overlay.scss';\n\nconst template = `<div class=\"faceted-overlay\">\n<div class=\"overlay__inner\">\n<div class=\"overlay__content\"><span class=\"spinner\"></span></div>\n</div>\n</div>`;\n\nfunction show() {\n  if ($('.faceted-overlay').length === 1) {\n    return;\n  }\n\n  $('body').append(template);\n}\n\nfunction hide() {\n  $('.faceted-overlay').remove();\n}\n\nexport {\n  show as showOverlay,\n  hide as hideOverlay,\n};\n","import api from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n            import content from \"!!../../node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./slider.scss\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import api from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n            import content from \"!!../../node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./facet.scss\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};"],"names":["$","support","touch","document","touchHandled","mouseProto","ui","mouse","prototype","_mouseInit","_mouseDestroy","_touchStart","event","this","_mouseCapture","originalEvent","changedTouches","_touchMoved","simulateMouseEvent","_touchMove","_touchEnd","self","element","bind","touchstart","proxy","touchmove","touchend","call","unbind","simulatedType","touches","length","preventDefault","simulatedEvent","createEvent","initMouseEvent","window","screenX","screenY","clientX","clientY","target","dispatchEvent","jQuery","reRegExpChar","reHasRegExpChar","RegExp","source","freeGlobal","g","Object","freeSelf","root","Function","objectToString","toString","Symbol","symbolProto","undefined","symbolToString","module","exports","string","value","isObjectLike","isSymbol","result","baseToString","test","replace","memo","getTarget","styleTarget","querySelector","HTMLIFrameElement","contentDocument","head","e","stylesInDom","getIndexByIdentifier","identifier","i","modulesToDom","list","options","idCountMap","identifiers","item","id","base","count","concat","index","obj","css","media","sourceMap","references","updater","push","addStyle","insertStyleElement","style","createElement","attributes","nonce","keys","forEach","key","setAttribute","insert","Error","appendChild","textStore","replaceText","replacement","filter","Boolean","join","applyToSingletonTag","remove","styleSheet","cssText","cssNode","createTextNode","childNodes","removeChild","insertBefore","applyToTag","removeAttribute","btoa","unescape","encodeURIComponent","JSON","stringify","firstChild","singleton","singletonCounter","update","styleIndex","parentNode","removeStyleElement","newObj","all","atob","lastIdentifiers","newList","newLastIdentifiers","_i","_index","splice","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","globalThis","prop","hasOwnProperty","params","split","map","str","val","name","decodeURIComponent","LocalizationException","message","NumberSymbol","decimal","group","percentSign","minusSign","plusSign","exponential","superscriptingExponent","perMille","infinity","nan","validateData","NumberSpecification","positivePattern","negativePattern","symbol","maxFractionDigits","minFractionDigits","groupingUsed","primaryGroupSize","secondaryGroupSize","PriceSpecification","currencySymbol","currencyCode","escapeRE","require","NumberFormatter","specification","numberSpecification","number","num","Math","abs","toFixed","getMaxFractionDigits","extractMajorMinorDigits","majorDigits","minorDigits","formattedNumber","splitMajorGroups","adjustMinorDigitsZeroes","pattern","getCldrPattern","addPlaceholders","replaceSymbols","performSpecificReplacements","digit","isGroupingUsed","reverse","groups","getPrimaryGroupSize","getSecondaryGroupSize","newGroups","getMinFractionDigits","padEnd","isNegative","getNegativePattern","getPositivePattern","symbols","getSymbol","getDecimal","getGroup","getMinusSign","getPercentSign","getPlusSign","strtr","pairs","substrs","part","getCurrencySymbol","specifications","numberSymbols","parseInt","formatters","displayLabelBlock","formatterId","displayBlock","min","max","text","format","each","$el","values","data","slider","range","stop","urlsSplitted","queryParams","getQueryParameters","found","query","requestUrl","param","prestashop","emit","slide","ready","on","refreshSliders","append"],"sourceRoot":""}