{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./cartridges/app_intimissimi/cartridge/client/default/js/components/modal.js","webpack:///./node_modules/tingle.js/dist/tingle.min.js","webpack:///./cartridges/app_intimissimi/cartridge/client/default/js/productGuide.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","footer","cssClass","modalOptions","closeMethods","onClose","modal","destroy","onOpen","$","addClass","beforeClose","length","removeClass","tingle","selectorID","contentModal","document","getElementById","setContent","innerHTML","html","ModalShowHide","selector","newModalType","toPropagateClick","classToPreventHide","this","$el","_scrollposition","isOpenTypeCustom","isOpen","events","_scrollPosition","window","pageYOffset","parent","scrollTo","on","e","target","hasClass","closest","data","hide","stopPropagation","define","beforeOpen","stickyFooter","closeLabel","opts","init","modalBoxFooter","style","width","modalBox","clientWidth","left","offsetLeft","createElement","classList","add","indexOf","display","forEach","modalCloseBtn","modalCloseBtnIcon","modalCloseBtnLabel","appendChild","modalBoxContent","_events","clickCloseBtn","close","clickOverlay","resize","checkOverflow","keyboardNav","addEventListener","which","clientX","parentElement","contains","a","removeEventListener","arguments","h","transition","OTransition","MozTransition","WebkitTransition","body","insertBefore","firstChild","addFooter","parentNode","removeChild","open","removeProperty","removeAttribute","top","setStickyFooter","remove","getContent","setFooterContent","getFooterContent","isOverflow","clientHeight","addFooterBtn","split","console","warn","innerHeight","$selectedCustomerPage","$mobileItemBox","itemCode","swapElements","title","querySelector","image","temp","click","tabId","attr","slick","preventDefault","Foundation","MediaQuery","atLeast","tabContent","htmlContent","newModalFromString","find"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS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,IACA1G,EAAE,iBAAiBC,SAAS,gBAC5BD,EAAE,qBAAqBC,SAAS,wBAChCD,EAAE,8BAA8BC,SAAS,uBACzCD,EAAEH,EAAMiD,UACH4E,KAAK,UACL7F,GAAG,SAAS,SAAUC,GACnBjC,EAAMkE,WAGd/D,EAAE,0BAA0B6B,GAAG,SAAS,SAAUC,GAC9CA,EAAEqF,iBACFtH,EAAMkE,WAGV/D,EAAE,0BAA0B6B,GAAG,SAAS,SAAUC,GAC9CA,EAAEqF,iBACFtH,EAAMkE","file":"productGuide.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 191);\n","import tingle from 'tingle.js';\n\n/* eslint-disable new-cap */\n\n/**\n * This function retrieves another page of content to display in the content search grid\n * @param {Boolean} footer - HTML string\n * @return {Tingle} - https://robinparisi.github.io/tingle/\n */\nconst newModal = (footer, cssClass = []) => {\n // set optionts\n const modalOptions = {\n closeMethods: ['overlay', 'button', 'escape'],\n cssClass,\n onClose: () => {\n modal.destroy();\n },\n onOpen: () => { $('html').addClass('html-tingle-enabled'); },\n beforeClose: () => {\n if (($('.jsPersonalizationToolModal.tingle-modal--visible').length <= 0) || ($('.tingle-modal.tingle-modal--visible').length < 2)) {\n $('html').removeClass('html-tingle-enabled');\n }\n return true;\n }\n };\n if (footer) { modalOptions.footer = true; };\n\n // create modal\n const modal = new tingle.modal(modalOptions);\n\n return modal;\n};\n\n/**\n * This function retrieves another page of content to display in the content search grid\n * @param {String} selectorID - ID of the modal DOM element to clone\n * @return {Tingle} - https://robinparisi.github.io/tingle/\n */\nconst newModalFromSelector = (selectorID, footer, cssClass = [], onClose = null) => {\n // set optionts\n const modalOptions = {\n closeMethods: ['overlay', 'escape'],\n cssClass,\n onClose: () => {\n modal.destroy();\n if (typeof onClose === 'function') {\n onClose();\n }\n },\n onOpen: () => { $('html').addClass('html-tingle-enabled'); },\n beforeClose: () => {\n if (($('.jsPersonalizationToolModal.tingle-modal--visible').length <= 0) || ($('.tingle-modal.tingle-modal--visible').length < 2)) {\n $('html').removeClass('html-tingle-enabled');\n }\n return true;\n }\n };\n if (footer) { modalOptions.footer = true; };\n\n // create modal\n const modal = new tingle.modal(modalOptions);\n\n // clone content\n if (selectorID) {\n const contentModal = document.getElementById(selectorID);\n if (contentModal) {\n modal.setContent(contentModal.innerHTML);\n }\n }\n\n return modal;\n};\n\n/**\n * This function retrieves another page of content to display in the content search grid\n * @param {String} html - HTML string\n * @return {Tingle} - https://robinparisi.github.io/tingle/\n */\nconst newModalFromString = (html, footer, cssClass = [], onOpen, onClose) => {\n // set optionts\n const modalOptions = {\n closeMethods: ['overlay', 'button', 'escape'],\n cssClass,\n onClose: () => {\n modal.destroy();\n if (typeof onClose === 'function') {\n onClose();\n }\n },\n onOpen: () => {\n $('html').addClass('html-tingle-enabled');\n if (typeof onOpen === 'function') {\n onOpen();\n }\n },\n beforeClose: () => {\n if (($('.jsPersonalizationToolModal.tingle-modal--visible').length <= 0) || ($('.tingle-modal.tingle-modal--visible').length < 2)) {\n $('html').removeClass('html-tingle-enabled');\n }\n return true;\n }\n };\n if (footer) { modalOptions.footer = true; };\n\n // create modal\n const modal = new tingle.modal(modalOptions);\n\n // add content\n if (html) {\n modal.setContent(html);\n }\n\n return modal;\n};\n\n/**\n * This function creates a modal starting from supplied options\n * @return {Tingle} - https://robinparisi.github.io/tingle/\n */\nconst newModalWithOptions = (modalOptions) => {\n // create modal\n const modal = new tingle.modal(modalOptions);\n\n return modal;\n};\n\n// modal with forced choice\nconst newModalWithSelector = (html, footer, cssClass = [], onOpen, onClose) => {\n // set optionts\n const modalOptions = {\n closeMethods: [],\n cssClass,\n onClose: () => {\n modal.destroy();\n if (typeof onClose === 'function') {\n onClose();\n }\n },\n onOpen: () => {\n $('html').addClass('html-tingle-enabled');\n if (typeof onOpen === 'function') {\n onOpen();\n }\n },\n beforeClose: () => {\n if (($('.jsPersonalizationToolModal.tingle-modal--visible').length <= 0) || ($('.tingle-modal.tingle-modal--visible').length < 2)) {\n $('html').removeClass('html-tingle-enabled');\n }\n return true;\n }\n };\n if (footer) { modalOptions.footer = true; };\n\n // create modal\n const modal = new tingle.modal(modalOptions);\n\n // add content\n if (html) {\n modal.setContent(html);\n }\n\n return modal;\n};\n\n/**\n * This class creates a modal without copying or moving any HTML,\n * but simply showing and hiding an existing Node.\n * This is to avoid problems with manipulated elements such as Google Maps\n */\nclass ModalShowHide {\n constructor (selector = '', newModalType, toPropagateClick, classToPreventHide) {\n this.$el = $(selector);\n this.selector = selector;\n this._scrollposition = 0;\n this.toPropagateClick = toPropagateClick;\n this.classToPreventHide = classToPreventHide;\n if (newModalType) {\n this.isOpenTypeCustom = false;\n } else {\n this.isOpen = false;\n }\n\n this.events();\n }\n\n show (newModalType) {\n if (newModalType) {\n if (this.isOpenTypeCustom) {\n return;\n }\n this.isOpenTypeCustom = true;\n } else {\n if (this.isOpen) {\n return;\n }\n this.isOpen = true;\n }\n\n // mimic tingle scroll lock\n this._scrollPosition = window.pageYOffset;\n $('body').addClass('tingle-enabled');\n $('html').addClass('html-tingle-enabled');\n this.$el.parent('.tingle-modal').addClass('tingle-modal--visible');\n }\n\n hide (newModalType) {\n if (newModalType) {\n if (!this.isOpenTypeCustom) {\n return;\n }\n this.isOpenTypeCustom = false;\n } else {\n if (!this.isOpen) {\n return;\n }\n this.isOpen = false;\n }\n\n // mimic tingle scroll lock\n if (($('.jsPersonalizationToolModal.tingle-modal--visible').length <= 0) || ($('.tingle-modal.tingle-modal--visible').length < 2)) {\n $('body').removeClass('tingle-enabled');\n $('html').removeClass('html-tingle-enabled');\n window.scrollTo(0, this._scrollPosition);\n }\n this.$el.parent('.tingle-modal').removeClass('tingle-modal--visible');\n }\n\n events () {\n $('body').on('click', '.tingle-modal', (e) => {\n if ($(e.target).hasClass('tingle-modal') || !$(e.target).closest(this.classToPreventHide)) {\n var newModalType = $(e.target).data('modalType') || null;\n this.hide(newModalType);\n e.stopPropagation();\n }\n });\n $('body').on('click', '.modal-close', (e) => {\n var newModalType = $(e.target).data('modalType') || null;\n this.hide(newModalType);\n e.stopPropagation();\n });\n\n if (!this.toPropagateClick) {\n $('body').on('click', this.selector, (e) => {\n e.stopPropagation();\n });\n }\n }\n};\n\nexport {\n newModal,\n newModalFromSelector,\n newModalFromString,\n newModalWithOptions,\n ModalShowHide,\n newModalWithSelector\n};\n","!function(t,o){\"function\"==typeof define&&define.amd?define(o):\"object\"==typeof exports?module.exports=o():t.tingle=o()}(this,function(){function t(t){var o={onClose:null,onOpen:null,beforeOpen:null,beforeClose:null,stickyFooter:!1,footer:!1,cssClass:[],closeLabel:\"Close\",closeMethods:[\"overlay\",\"button\",\"escape\"]};this.opts=r({},o,t),this.init()}function o(){this.modalBoxFooter&&(this.modalBoxFooter.style.width=this.modalBox.clientWidth+\"px\",this.modalBoxFooter.style.left=this.modalBox.offsetLeft+\"px\")}function e(){this.modal=document.createElement(\"div\"),this.modal.classList.add(\"tingle-modal\"),0!==this.opts.closeMethods.length&&this.opts.closeMethods.indexOf(\"overlay\")!==-1||this.modal.classList.add(\"tingle-modal--noOverlayClose\"),this.modal.style.display=\"none\",this.opts.cssClass.forEach(function(t){\"string\"==typeof t&&this.modal.classList.add(t)},this),this.opts.closeMethods.indexOf(\"button\")!==-1&&(this.modalCloseBtn=document.createElement(\"button\"),this.modalCloseBtn.classList.add(\"tingle-modal__close\"),this.modalCloseBtnIcon=document.createElement(\"span\"),this.modalCloseBtnIcon.classList.add(\"tingle-modal__closeIcon\"),this.modalCloseBtnIcon.innerHTML=\"×\",this.modalCloseBtnLabel=document.createElement(\"span\"),this.modalCloseBtnLabel.classList.add(\"tingle-modal__closeLabel\"),this.modalCloseBtnLabel.innerHTML=this.opts.closeLabel,this.modalCloseBtn.appendChild(this.modalCloseBtnIcon),this.modalCloseBtn.appendChild(this.modalCloseBtnLabel)),this.modalBox=document.createElement(\"div\"),this.modalBox.classList.add(\"tingle-modal-box\"),this.modalBoxContent=document.createElement(\"div\"),this.modalBoxContent.classList.add(\"tingle-modal-box__content\"),this.modalBox.appendChild(this.modalBoxContent),this.opts.closeMethods.indexOf(\"button\")!==-1&&this.modal.appendChild(this.modalCloseBtn),this.modal.appendChild(this.modalBox)}function s(){this.modalBoxFooter=document.createElement(\"div\"),this.modalBoxFooter.classList.add(\"tingle-modal-box__footer\"),this.modalBox.appendChild(this.modalBoxFooter)}function i(){this._events={clickCloseBtn:this.close.bind(this),clickOverlay:l.bind(this),resize:this.checkOverflow.bind(this),keyboardNav:n.bind(this)},this.opts.closeMethods.indexOf(\"button\")!==-1&&this.modalCloseBtn.addEventListener(\"click\",this._events.clickCloseBtn),this.modal.addEventListener(\"mousedown\",this._events.clickOverlay),window.addEventListener(\"resize\",this._events.resize),document.addEventListener(\"keydown\",this._events.keyboardNav)}function n(t){this.opts.closeMethods.indexOf(\"escape\")!==-1&&27===t.which&&this.isOpen()&&this.close()}function l(t){this.opts.closeMethods.indexOf(\"overlay\")!==-1&&!d(t.target,\"tingle-modal\")&&t.clientX=t},t.prototype.checkOverflow=function(){this.modal.classList.contains(\"tingle-modal--visible\")&&(this.isOverflow()?this.modal.classList.add(\"tingle-modal--overflow\"):this.modal.classList.remove(\"tingle-modal--overflow\"),!this.isOverflow()&&this.opts.stickyFooter?this.setStickyFooter(!1):this.isOverflow()&&this.opts.stickyFooter&&(o.call(this),this.setStickyFooter(!0)))},{modal:t}});","import { newModalFromString } from './components/modal';\n// tabs for style guide page\ndocument.addEventListener('DOMContentLoaded', () => {\n GetColourMenuItemProduct();\n AddMobileGuideMenuItem();\n\n $('ul.tabs-style-guide li').click(function () {\n var tabId = $(this).attr('data-tab');\n\n $('ul.tabs-style-guide li').removeClass('current');\n $('.tab-content-style-guide').removeClass('current');\n\n $(this).addClass('current');\n $('#' + tabId).addClass('current');\n $('.slick-slider.slick-initialized').slick('refresh');\n });\n // tabs for textiles guide page\n $('ul.tabs-textiles-guide li').click(function () {\n var tabId = $(this).attr('data-tab');\n\n $('ul.tabs-textiles-guide li').removeClass('current');\n $('.tab-content-textiles-guide').removeClass('current');\n\n $(this).addClass('current');\n $('#' + tabId).addClass('current');\n $('.slick-slider.slick-initialized').slick('refresh');\n });\n\n // tabs style guide categories\n $('ul.tabs-style-guide li').on('click', function (e) {\n e.preventDefault();\n\n if (!Foundation.MediaQuery.atLeast('medium')) {\n var tabId = $(this).attr('data-tab');\n var tabContent = $('#' + tabId).html();\n\n const htmlContent = $('.js-modal-product-guide').html();\n // create and open confirmation modal\n const modal = newModalFromString(htmlContent, false);\n modal.open();\n modal.setContent(tabContent);\n swapElements();\n $('.tingle-modal').addClass('wrapperModal');\n $('.tingle-modal-box').addClass('cc-modalStyleGuide');\n $('.tingle-modal-box__content').addClass('modal-tabs-style');\n $(modal.modalBox)\n .find('.close')\n .on('click', function (e) {\n modal.close();\n });\n\n $('.js-inside-close-modal').on('click', function (e) {\n e.preventDefault();\n modal.close();\n });\n\n $('[data-dismiss=\"modal\"]').on('click', function (e) {\n e.preventDefault();\n modal.close();\n });\n }\n });\n\n $('ul.tabs-textiles-guide li').on('click', function (e) {\n e.preventDefault();\n\n if (!Foundation.MediaQuery.atLeast('medium')) {\n var tabId = $(this).attr('data-tab');\n var tabContent = $('#' + tabId).html();\n\n const htmlContent = $('.js-modal-product-guide').html();\n // create and open confirmation modal\n const modal = newModalFromString(htmlContent, false);\n modal.open();\n modal.setContent(tabContent);\n swapElements();\n $('.tingle-modal').addClass('wrapperModal');\n $('.tingle-modal-box').addClass('cc-modalTextileGuide');\n $('.tingle-modal-box__content').addClass('modal-tabs-textiles');\n $(modal.modalBox)\n .find('.close')\n .on('click', function (e) {\n modal.close();\n });\n\n $('.js-inside-close-modal').on('click', function (e) {\n e.preventDefault();\n modal.close();\n });\n\n $('[data-dismiss=\"modal\"]').on('click', function (e) {\n e.preventDefault();\n modal.close();\n });\n }\n });\n\n function GetColourMenuItemProduct () {\n const $selectedCustomerPage = $('.js-recognize-page-productguide');\n if ($selectedCustomerPage.hasClass('js-productguide-size-page')) {\n $('.product-guide-menu li.size-item').addClass('background-active-item');\n } else if ($selectedCustomerPage.hasClass('js-productguide-style-page')) {\n $('.product-guide-menu li.style-item').addClass('background-active-item');\n } else if ($selectedCustomerPage.hasClass('js-productguide-textiles-page')) {\n $('.product-guide-menu li.textiles-item').addClass('background-active-item');\n } else if ($selectedCustomerPage.hasClass('js-productguide-care-page')) {\n $('.product-guide-menu li.care-item').addClass('background-active-item');\n }\n }\n\n function AddMobileGuideMenuItem () {\n const $mobileItemBox = $('.mobile-only-product-guide-item');\n const itemCode = $('.js-productguide-mobile-page').html();\n $mobileItemBox.html(itemCode);\n $mobileItemBox.removeClass('hide');\n }\n\n // Swap title and image inside the modal of the style guide and textiles content asset\n function swapElements () {\n const title = document.querySelector('.tab-title');\n const image = document.querySelector('.img-modal-mobile');\n const temp = document.createElement('div');\n title.parentNode.insertBefore(temp, title);\n image.parentNode.insertBefore(title, image);\n temp.parentNode.insertBefore(image, temp);\n temp.parentNode.removeChild(temp);\n }\n});\n"],"sourceRoot":""}