{"version":3,"sources":["webpack:///./scripts/Components/FullscreenImageSlider/styles|lazy|/^\\.\\/.*\\.scss$/|groupOptions: {}|namespace object","webpack:///./scripts/Components/ProductImage/styles|lazy|/^\\.\\/.*\\.scss$/|groupOptions: {}|namespace object","webpack:///./scripts/Components/SliderThumbnails/styles|lazy|/^\\.\\/.*\\.scss$/|groupOptions: {}|namespace object","webpack:///./scripts/Actions/Overlay.action.js","webpack:///./scripts/Components/SliderThumbnails/SliderThumbnails.js","webpack:///./scripts/Components/FullscreenImageSlider/FullscreenImageSlider.js","webpack:///./scripts/Components/ProductImage/ProductImageContainer.js","webpack:///./styles/exports/wtg.module.scss","webpack:///./scripts/Hooks/useIsMobile.js","webpack:///./scripts/Hooks/useWindowSize.js"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports","addOverlay","componentName","onOverlayClick","type","OVERLAY_ADD_OVERLAY","payload","updateOverlay","OVERLAY_UPDATE_OVERLAY","removeOverlay","OVERLAY_REMOVE_OVERLAY","closeOverlay","OVERLAY_CLOSE_OVERLAY","activeOverlays","window","__litium","themeName","SliderThumbnails","images","sliderRef","activeSlide","className","React","length","img","i","key","onClick","goToSlide","no","current","slickGoTo","src","thumbnailUrl","alt","FullscreenImageSlider","showCloseButton","initialSlide","onClosed","showThumbnails","infinite","props","dispatch","useDispatch","contentRef","createRef","isMobile","useIsMobile","open","setOpen","useState","zoomed","setZoomed","zoomClickPos","setZoomClickPos","visible","setVisible","currentSlide","setCurrentSlide","isSliding","setIsSliding","doubleClickMode","setDoubleClickMode","swipingEnabled","setSwipingEnabled","transformComponentRefs","useRef","hasSetPosition","setHasSetPosition","useEffect","settings","lazyLoad","speed","slidesToShow","slidesToScroll","arrows","swipe","beforeChange","_","index","forEach","ref","resetTransform","onSwipe","afterChange","onKeyDown","document","addEventListener","removeEventListener","onZoom","stopPropagation","didZoomIn","clickPos","pageY","windowHeight","getBoundingClientRect","height","percentage","centeredClickPos","scrollHeight","scrollTo","top","behavior","onMobileZoom","idx","setTimeout","doubleClickModeCopy","assign","Math","round","state","scale","ReactDOM","Icon","iconCode","Slider","_extends","touchThreshold","TransformWrapper","centerOnInit","wheel","wheelDisabled","panning","disabled","velocityDisabled","limitToBounds","velocityAnimation","doubleClick","mode","onPanningStop","onZoomStop","TransformComponent","wrapperClass","contentClass","originalUrl","loading","prev","slickPrev","next","slickNext","body","ProductImageContainer","productImages","singleSlide","showFullscreenImages","setShowFullscreenImages","dots","autoplay","productImage","slideUrl","breakpoint","parseInt","breakpoints","replace","windowWidth","initialWidth","innerWidth","initialHeight","innerHeight","size","setSize","useLayoutEffect","updateSize","useWindowSize","setIsMobile"],"mappings":"uEAAA,IAAIA,EAAM,CACT,aAAc,CACb,MACA,MAED,cAAe,CACd,MACA,MAED,kBAAmB,CAClB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,aAAc,CACb,MACA,OAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,KAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CAAC,IAIT,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,IAClCJ,EAAoBS,IAE7B,CACAX,EAAoBY,KAAO,IAAOC,OAAOD,KAAKb,GAC9CC,EAAoBW,GAAK,MACzBG,EAAOC,QAAUf,C,kBCtCjB,IAAID,EAAM,CACT,aAAc,CACb,MACA,MAED,cAAe,CACd,MACA,MAED,kBAAmB,CAClB,MACA,MAED,iBAAkB,CACjB,KACA,MAED,aAAc,CACb,MACA,OAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,KAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,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ACa,EAAqB,CACpBjB,OAAQ4H,EACRxG,SAAUA,IAAM2G,GAAwB,GACxC5G,aAAcoB,EACdjB,UAAU,IAGV,C,+DCzGV,SAAgB,OAAS,IAAI,MAAQ,QAAQ,OAAS,QAAQ,MAAQ,SAAS,OAAS,SAAS,UAAY,SAAS,QAAU,UCGhI,MAeA,EAboBO,CAACuG,EAFK,WAGxBA,EAAaC,SAASC,EAAYF,GAAYG,QAAQ,KAAM,KAE5D,MAAOC,GCPM,WACb,IAAIC,EAAe7I,QAAUA,OAAO8I,WAAa9I,OAAO8I,WAAa,EACjEC,EAAgB/I,QAAUA,OAAOgJ,YAAchJ,OAAOgJ,YAAc,EACxE,MAAOC,EAAMC,IAAW9G,cAAS,CAACyG,EAAcE,IAShD,OARAI,sBAAgB,KACd,SAASC,IACPF,EAAQ,CAAClJ,OAAO8I,WAAY9I,OAAOgJ,aACrC,CAGA,OAFAhJ,OAAOyE,iBAAiB,SAAU2E,GAClCA,IACO,IAAMpJ,OAAO0E,oBAAoB,SAAU0E,EAAW,GAC5D,IACIH,CACT,CDNwBI,IACfrH,EAAUsH,GAAe9I,WAAeoI,GAAeJ,EAAa,GAM3E,OAJAjF,gBAAU,KACR+F,EAAYV,GAAeJ,EAAa,EAAE,GACzC,CAACI,EAAaJ,IAEVxG,CAAQ,C","file":"316.9c4dc570214156af39d4.js","sourcesContent":["var map = {\n\t\"./alf.scss\": [\n\t\t14878,\n\t\t4878\n\t],\n\t\"./main.scss\": [\n\t\t91418,\n\t\t1418\n\t],\n\t\"./oh-poppy.scss\": [\n\t\t58433,\n\t\t8433\n\t],\n\t\"./vincent.scss\": [\n\t\t56910,\n\t\t6910\n\t],\n\t\"./wtg.scss\": [\n\t\t15491,\n\t\t5491\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 55027;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./alf.scss\": [\n\t\t24113,\n\t\t4113\n\t],\n\t\"./main.scss\": [\n\t\t95629,\n\t\t5629\n\t],\n\t\"./oh-poppy.scss\": [\n\t\t87109,\n\t\t7109\n\t],\n\t\"./vincent.scss\": [\n\t\t8575,\n\t\t8575\n\t],\n\t\"./wtg.scss\": [\n\t\t91388,\n\t\t1388\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 60621;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./alf.scss\": [\n\t\t62729,\n\t\t2729\n\t],\n\t\"./main.scss\": [\n\t\t37044,\n\t\t7044\n\t],\n\t\"./oh-poppy.scss\": [\n\t\t75074,\n\t\t5074\n\t],\n\t\"./vincent.scss\": [\n\t\t45378,\n\t\t5378\n\t],\n\t\"./wtg.scss\": [\n\t\t66523,\n\t\t6523\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 46116;\nmodule.exports = webpackAsyncContext;","import {\n OVERLAY_ADD_OVERLAY,\n OVERLAY_CLOSE_OVERLAY,\n OVERLAY_REMOVE_OVERLAY,\n OVERLAY_UPDATE_OVERLAY,\n} from '../constants';\n\nexport const addOverlay = (componentName, onOverlayClick) => ({\n type: OVERLAY_ADD_OVERLAY,\n payload: {\n componentName,\n onOverlayClick,\n },\n});\n\nexport const updateOverlay = (componentName, onOverlayClick) => ({\n type: OVERLAY_UPDATE_OVERLAY,\n payload: {\n componentName,\n onOverlayClick,\n },\n});\n\nexport const removeOverlay = (componentName) => ({\n type: OVERLAY_REMOVE_OVERLAY,\n payload: {\n componentName,\n },\n});\n\nexport const closeOverlay = () => ({\n type: OVERLAY_CLOSE_OVERLAY,\n payload: {\n activeOverlays: [],\n },\n});\n","import React, { useRef } from 'react';\nimport(`./styles/${window.__litium.themeName}.scss`);\n\nconst SliderThumbnails = ({\n images,\n sliderRef,\n activeSlide,\n className = 'slider-thumbnails',\n}) => {\n const goToSlide = (no) => {\n sliderRef.current.slickGoTo(no);\n };\n\n return (\n