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8E,GAAQ1D,aACtBpB,EAAY8E,GAAQzD,UAEpBrB,EAAY+E,OAAOD,EAAQ,GAE/B,CAEAP,EAAkBK,CAtBlB,CAuBF,CACF,C,GC3QII,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaf,QAGrB,IAAID,EAASa,EAAyBE,GAAY,CAGjDd,QAAS,CAAC,GAOX,OAHAiB,EAAoBH,GAAUf,EAAQA,EAAOC,QAASa,GAG/Cd,EAAOC,OACf,CCrBAa,EAAoBK,EAAKnB,IACxB,IAAIoB,EAASpB,GAAUA,EAAOqB,WAC7B,IAAOrB,EAAiB,QACxB,IAAM,EAEP,OADAc,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,ECLdN,EAAoBQ,EAAI,CAACrB,EAASuB,KACjC,IAAI,IAAI3D,KAAO2D,EACXV,EAAoBW,EAAED,EAAY3D,KAASiD,EAAoBW,EAAExB,EAASpC,IAC5EH,OAAOgE,eAAezB,EAASpC,EAAK,CAAE8D,YAAY,EAAMC,IAAKJ,EAAW3D,IAE1E,ECNDiD,EAAoBW,EAAI,CAAC5E,EAAKgF,IAAUnE,OAAO4C,UAAUwB,eAAetB,KAAK3D,EAAKgF,GCAlFf,EAAoBiB,QAAKd,E,iECQZ,IAAI,IALH,CAEd7E,OAAiB,OACjBA,WAAoB,IAML,U","sources":["webpack://iqitwishlist/./front/front.js","webpack://iqitwishlist/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://iqitwishlist/webpack/bootstrap","webpack://iqitwishlist/webpack/runtime/compat get default export","webpack://iqitwishlist/webpack/runtime/define property getters","webpack://iqitwishlist/webpack/runtime/hasOwnProperty shorthand","webpack://iqitwishlist/webpack/runtime/nonce","webpack://iqitwishlist/./front/front.scss?3a5f"],"sourcesContent":["$(document).ready(() => {\n\n    $('#iqitwishlist-nb').text(iqitwishlist.nbProducts);\n\n    $('body').on('click', '.js-iqitwishlist-add', function (event) {\n        let self = this;\n        prestashop.emit('clickIqitWishlistAdd', {\n            dataset: self.dataset,\n            self: self\n        });\n        event.preventDefault();\n    });\n\n    $('body').on('click', '.js-iqitwishlist-remove', function (event) {\n\n        let self = this;\n        prestashop.emit('clickIqitWishlistRemove', {\n            dataset: self.dataset\n        });\n        event.preventDefault();\n    });\n\n\n    prestashop.on('clickIqitWishlistAdd', function (elm) {\n\n        let data = {\n            'process': 'add',\n            'ajax': 1,\n            'idProduct': elm.dataset.idProduct,\n            'idProductAttribute': elm.dataset.idProductAttribute,\n            'token': elm.dataset.token,\n        };\n\n        $.post(elm.dataset.url, data, null, 'json').then(function (resp) {\n\n            if (!resp.success && resp.data.type == 'notLogged'){\n                let quickModal = $('.modal.quickview').first();\n\n                if (quickModal.length){\n                    $(quickModal).modal('hide');\n                    $(quickModal).on('hidden.bs.modal', function (e) {\n                        $('#iqitwishlist-modal').modal('show');\n                    });\n                } else{\n                    $('#iqitwishlist-modal').modal('show');\n                }\n                return;\n            }\n            $(elm.self).addClass('iqitwishlist-added');\n            if (resp.success){\n                iqitwishlist.nbProducts++;\n                $('#iqitwishlist-nb').text(iqitwishlist.nbProducts);\n\n                let $notification =  $('#iqitwishlist-notification');\n                $notification.addClass('ns-show');\n\n                setTimeout(function(){\n                    $notification.removeClass('ns-show');\n                }, 3500);\n            }\n\n        }).fail((resp) => {\n            prestashop.emit('handleError', {eventType: 'clickIqitWishlistAdd', resp: resp});\n        });\n\n    });\n\n    prestashop.on('clickIqitWishlistRemove', function (elm) {\n\n        let data = {\n            'process': 'remove',\n            'ajax': 1,\n            'idProduct': elm.dataset.idProduct,\n            'token': elm.dataset.token,\n        };\n\n        $.post(elm.dataset.url, data, null, 'json').then(function (resp) {\n            console.log('#iqitwishlist-product-' + elm.dataset.idProduct);\n            $('#iqitwishlist-product-' + elm.dataset.idProduct).remove();\n            iqitwishlist.nbProducts--;\n            $('#iqitwishlist-nb').text(iqitwishlist.nbProducts);\n\n            if (iqitwishlist.nbProducts == 0) {\n                $('#iqitwishlist-warning').removeClass('hidden-xs-up');\n                $('#iqitwishlist-crosseling, #iqitwishlist-share').addClass('hidden-xs-up');\n            }\n\n        }).fail((resp) => {\n            prestashop.emit('handleError', {eventType: 'clickIqitWishlistRemove', resp: resp});\n        });\n\n    });\n\n    prestashop.on('updatedProduct', function (elm) {\n        $('#iqit-wishlist-product-btn').data('id-product-attribute', elm.id_product_attribute);\n        $('#iqit-wishlist-product-btn').attr('data-id-product-attribute', elm.id_product_attribute);\n    });\n\n\n    $('#iqitwishlist-clipboard-btn').on('click', function () {\n\n        var $btn = $(this);\n\n        var copyInput = $btn.closest('.input-group').children('input.js-to-clipboard');\n        copyInput.select();\n\n        try {\n            var successful = document.execCommand('copy');\n            if (successful) {\n                $btn.text($btn.data('textCopied'));\n                setTimeout(function(){ $btn.text($btn.data('textCopy'));  }, 1500);\n            }\n        } catch (err) {\n            console.log('Oops, unable to copy');\n        }\n    });\n\n});\n\n\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__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.nc = undefined;","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!./front.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":["$","document","ready","text","iqitwishlist","nbProducts","on","event","prestashop","emit","dataset","this","self","preventDefault","elm","data","idProduct","idProductAttribute","token","post","url","then","resp","success","type","addClass","$notification","setTimeout","removeClass","quickModal","first","length","modal","e","fail","eventType","console","log","remove","id_product_attribute","attr","$btn","closest","children","select","execCommand","err","memo","getTarget","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","stylesInDom","getIndexByIdentifier","identifier","result","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","Object","keys","forEach","key","setAttribute","insert","Error","appendChild","textStore","replaceText","replacement","filter","Boolean","join","applyToSingletonTag","styleSheet","cssText","cssNode","createTextNode","childNodes","removeChild","insertBefore","applyToTag","removeAttribute","btoa","unescape","encodeURIComponent","JSON","stringify","firstChild","singleton","singletonCounter","update","styleIndex","bind","parentNode","removeStyleElement","newObj","module","exports","all","atob","lastIdentifiers","newList","prototype","toString","call","newLastIdentifiers","_i","_index","splice","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","prop","hasOwnProperty","nc"],"sourceRoot":""}