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EzO,OAAQ,KAAMhF,KAAMoT,IAChD,gBAAoB,OAAQ,CAAE5P,UAAW,IAAW,0BAA2B,CAAE,kBAAmBH,EAAMqQ,aAAiC,UAAhBN,GAA2BjP,EAAE,sBAAyB,gBAAoB,OAAQ,CAAEE,IAAK,MAAkBF,EAAE,uBAAwB,EAE5QkL,EAAgB8D,aAAe,CAC3B7D,aAAc,QAElB,4CCvCA,MAAMvK,EAAQ1B,IACV,MAAMsQ,EAAO,GAAGtQ,EAAM2B,UAAU3B,EAAMrD,OAAOqD,EAAMsP,SAAW,SAAW,KACzE,OAAO,gBAAoB,OAAQ,CAAE,aAActP,EAAMuP,UAAW,eAAe,EAAMpP,UAAW,cAAcmQ,KAAQtQ,EAAMuQ,SAAW,YAAc,MAAO,EAEpK7O,EAAKoO,aAAe,CAChBnO,OAAQ,KACR2N,UAAU,EACV9O,YAAY,GAEhB,iECIA,IAXeR,IACX,MAAM,SAAEoO,IAAa,SACfoC,GAAO,IAAAvN,UAAQ,KACV,CACHhD,IAAKmO,GAAYpO,EAAMuB,UAAYvB,EAAMuB,UAAYvB,EAAMC,IAC3DI,IAAKL,EAAMK,KAAO,GAClBF,UAAWH,EAAMG,aAEtB,CAACH,EAAOoO,IACX,OAAOpO,EAAMqB,UAAY,gBAAoB,MAAOkL,OAAOC,OAAO,CAAEnM,IAAKmQ,EAAKnQ,KAAOmQ,EAAM,CAAE,cAAexQ,EAAMQ,cAAiB,gBAAoB,IAAS+L,OAAOC,OAAO,CAAC,EAAGgE,EAAM,CAAEhQ,WAAYR,EAAMQ,aAAc","sources":["webpack:///./node_modules/gsap/ScrollToPlugin.js","webpack:///./assets/common/src/components/utils/Lazyimg.tsx","webpack:///./assets/stone/src/components/shopByCategory/ShopByCategorySlide.tsx","webpack:///./assets/stone/src/components/shopByCategory/ShopByCategoryModal.tsx","webpack:///./assets/stone/src/components/shopByCategory/ShopByCategorySlideshow.tsx","webpack:///./assets/stone/src/components/shopByCategory/ShopByCategory.tsx","webpack:///./assets/stone/src/hooks/useMediaQueries.tsx","webpack:///./assets/stone/src/ui/button/Button.tsx","webpack:///./assets/stone/src/ui/button/ButtonPlayPause.tsx","webpack:///./assets/stone/src/ui/icon/Icon.tsx","webpack:///./assets/stone/src/ui/image/Image.tsx"],"sourcesContent":["/*!\n * ScrollToPlugin 3.10.4\n * https://greensock.com\n *\n * @license Copyright 2008-2022, GreenSock. All rights reserved.\n * Subject to the terms at https://greensock.com/standard-license or for\n * Club GreenSock members, the agreement issued with that membership.\n * @author: Jack Doyle, jack@greensock.com\n*/\n\n/* eslint-disable */\nvar gsap,\n _coreInitted,\n _window,\n _docEl,\n _body,\n _toArray,\n _config,\n _windowExists = function _windowExists() {\n return typeof window !== \"undefined\";\n},\n _getGSAP = function _getGSAP() {\n return gsap || _windowExists() && (gsap = window.gsap) && gsap.registerPlugin && gsap;\n},\n _isString = function _isString(value) {\n return typeof value === \"string\";\n},\n _isFunction = function _isFunction(value) {\n return typeof value === \"function\";\n},\n _max = function _max(element, axis) {\n var dim = axis === \"x\" ? \"Width\" : \"Height\",\n scroll = \"scroll\" + dim,\n client = \"client\" + dim;\n return element === _window || element === _docEl || element === _body ? Math.max(_docEl[scroll], _body[scroll]) - (_window[\"inner\" + dim] || _docEl[client] || _body[client]) : element[scroll] - element[\"offset\" + dim];\n},\n _buildGetter = function _buildGetter(e, axis) {\n //pass in an element and an axis (\"x\" or \"y\") and it'll return a getter function for the scroll position of that element (like scrollTop or scrollLeft, although if the element is the window, it'll use the pageXOffset/pageYOffset or the documentElement's scrollTop/scrollLeft or document.body's. Basically this streamlines things and makes a very fast getter across browsers.\n var p = \"scroll\" + (axis === \"x\" ? \"Left\" : \"Top\");\n\n if (e === _window) {\n if (e.pageXOffset != null) {\n p = \"page\" + axis.toUpperCase() + \"Offset\";\n } else {\n e = _docEl[p] != null ? _docEl : _body;\n }\n }\n\n return function () {\n return e[p];\n };\n},\n _clean = function _clean(value, index, target, targets) {\n _isFunction(value) && (value = value(index, target, targets));\n\n if (typeof value !== \"object\") {\n return _isString(value) && value !== \"max\" && value.charAt(1) !== \"=\" ? {\n x: value,\n y: value\n } : {\n y: value\n }; //if we don't receive an object as the parameter, assume the user intends \"y\".\n } else if (value.nodeType) {\n return {\n y: value,\n x: value\n };\n } else {\n var result = {},\n p;\n\n for (p in value) {\n result[p] = p !== \"onAutoKill\" && _isFunction(value[p]) ? value[p](index, target, targets) : value[p];\n }\n\n return result;\n }\n},\n _getOffset = function _getOffset(element, container) {\n element = _toArray(element)[0];\n\n if (!element || !element.getBoundingClientRect) {\n return console.warn(\"scrollTo target doesn't exist. Using 0\") || {\n x: 0,\n y: 0\n };\n }\n\n var rect = element.getBoundingClientRect(),\n isRoot = !container || container === _window || container === _body,\n cRect = isRoot ? {\n top: _docEl.clientTop - (_window.pageYOffset || _docEl.scrollTop || _body.scrollTop || 0),\n left: _docEl.clientLeft - (_window.pageXOffset || _docEl.scrollLeft || _body.scrollLeft || 0)\n } : container.getBoundingClientRect(),\n offsets = {\n x: rect.left - cRect.left,\n y: rect.top - cRect.top\n };\n\n if (!isRoot && container) {\n //only add the current scroll position if it's not the window/body.\n offsets.x += _buildGetter(container, \"x\")();\n offsets.y += _buildGetter(container, \"y\")();\n }\n\n return offsets;\n},\n _parseVal = function _parseVal(value, target, axis, currentVal, offset) {\n return !isNaN(value) && typeof value !== \"object\" ? parseFloat(value) - offset : _isString(value) && value.charAt(1) === \"=\" ? parseFloat(value.substr(2)) * (value.charAt(0) === \"-\" ? -1 : 1) + currentVal - offset : value === \"max\" ? _max(target, axis) - offset : Math.min(_max(target, axis), _getOffset(value, target)[axis] - offset);\n},\n _initCore = function _initCore() {\n gsap = _getGSAP();\n\n if (_windowExists() && gsap && document.body) {\n _window = window;\n _body = document.body;\n _docEl = document.documentElement;\n _toArray = gsap.utils.toArray;\n gsap.config({\n autoKillThreshold: 7\n });\n _config = gsap.config();\n _coreInitted = 1;\n }\n};\n\nexport var ScrollToPlugin = {\n version: \"3.10.4\",\n name: \"scrollTo\",\n rawVars: 1,\n register: function register(core) {\n gsap = core;\n\n _initCore();\n },\n init: function init(target, value, tween, index, targets) {\n _coreInitted || _initCore();\n var data = this,\n snapType = gsap.getProperty(target, \"scrollSnapType\");\n data.isWin = target === _window;\n data.target = target;\n data.tween = tween;\n value = _clean(value, index, target, targets);\n data.vars = value;\n data.autoKill = !!value.autoKill;\n data.getX = _buildGetter(target, \"x\");\n data.getY = _buildGetter(target, \"y\");\n data.x = data.xPrev = data.getX();\n data.y = data.yPrev = data.getY();\n\n if (snapType && snapType !== \"none\") {\n // disable scroll snapping to avoid strange behavior\n data.snap = 1;\n data.snapInline = target.style.scrollSnapType;\n target.style.scrollSnapType = \"none\";\n }\n\n if (value.x != null) {\n data.add(data, \"x\", data.x, _parseVal(value.x, target, \"x\", data.x, value.offsetX || 0), index, targets);\n\n data._props.push(\"scrollTo_x\");\n } else {\n data.skipX = 1;\n }\n\n if (value.y != null) {\n data.add(data, \"y\", data.y, _parseVal(value.y, target, \"y\", data.y, value.offsetY || 0), index, targets);\n\n data._props.push(\"scrollTo_y\");\n } else {\n data.skipY = 1;\n }\n },\n render: function render(ratio, data) {\n var pt = data._pt,\n target = data.target,\n tween = data.tween,\n autoKill = data.autoKill,\n xPrev = data.xPrev,\n yPrev = data.yPrev,\n isWin = data.isWin,\n snap = data.snap,\n snapInline = data.snapInline,\n x,\n y,\n yDif,\n xDif,\n threshold;\n\n while (pt) {\n pt.r(ratio, pt.d);\n pt = pt._next;\n }\n\n x = isWin || !data.skipX ? data.getX() : xPrev;\n y = isWin || !data.skipY ? data.getY() : yPrev;\n yDif = y - yPrev;\n xDif = x - xPrev;\n threshold = _config.autoKillThreshold;\n\n if (data.x < 0) {\n //can't scroll to a position less than 0! Might happen if someone uses a Back.easeOut or Elastic.easeOut when scrolling back to the top of the page (for example)\n data.x = 0;\n }\n\n if (data.y < 0) {\n data.y = 0;\n }\n\n if (autoKill) {\n //note: iOS has a bug that throws off the scroll by several pixels, so we need to check if it's within 7 pixels of the previous one that we set instead of just looking for an exact match.\n if (!data.skipX && (xDif > threshold || xDif < -threshold) && x < _max(target, \"x\")) {\n data.skipX = 1; //if the user scrolls separately, we should stop tweening!\n }\n\n if (!data.skipY && (yDif > threshold || yDif < -threshold) && y < _max(target, \"y\")) {\n data.skipY = 1; //if the user scrolls separately, we should stop tweening!\n }\n\n if (data.skipX && data.skipY) {\n tween.kill();\n data.vars.onAutoKill && data.vars.onAutoKill.apply(tween, data.vars.onAutoKillParams || []);\n }\n }\n\n if (isWin) {\n _window.scrollTo(!data.skipX ? data.x : x, !data.skipY ? data.y : y);\n } else {\n data.skipY || (target.scrollTop = data.y);\n data.skipX || (target.scrollLeft = data.x);\n }\n\n if (snap && (ratio === 1 || ratio === 0)) {\n y = target.scrollTop;\n x = target.scrollLeft;\n snapInline ? target.style.scrollSnapType = snapInline : target.style.removeProperty(\"scroll-snap-type\");\n target.scrollTop = y + 1; // bug in Safari causes the element to totally reset its scroll position when scroll-snap-type changes, so we need to set it to a slightly different value and then back again to work around this bug.\n\n target.scrollLeft = x + 1;\n target.scrollTop = y;\n target.scrollLeft = x;\n }\n\n data.xPrev = data.x;\n data.yPrev = data.y;\n },\n kill: function kill(property) {\n var both = property === \"scrollTo\";\n\n if (both || property === \"scrollTo_x\") {\n this.skipX = 1;\n }\n\n if (both || property === \"scrollTo_y\") {\n this.skipY = 1;\n }\n }\n};\nScrollToPlugin.max = _max;\nScrollToPlugin.getOffset = _getOffset;\nScrollToPlugin.buildGetter = _buildGetter;\n_getGSAP() && gsap.registerPlugin(ScrollToPlugin);\nexport { ScrollToPlugin as default };","import classNames from 'classnames';\nimport React from 'react';\nconst Lazyimg = (props) => {\n return (React.createElement(\"img\", { src: \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\", \"data-src\": props.src, \"data-srcset\": props.srcset, className: classNames('lazyload', props.className, { 'not-draggable': !props.draggable }), alt: props.alt, width: props === null || props === void 0 ? void 0 : props.width, height: props === null || props === void 0 ? void 0 : props.height, draggable: props.draggable, \"aria-hidden\": (props === null || props === void 0 ? void 0 : props.ariaHidden) ? true : false, \"data-sizes\": props.dataSizes }));\n};\nexport default Lazyimg;\n","import React, { useRef } from 'react';\nimport Image from '@stone/ui/image/Image';\nimport Icon from '@stone/ui/icon/Icon';\nimport Button from '@stone/ui/button/Button';\nimport { useTranslation } from 'react-i18next';\nconst ShopByCategorySlide = (props) => {\n var _a;\n const { category } = props;\n // ANCHOR - HOOKS --------------------------------------------------------------------\n const slideRef = useRef(null);\n const { t } = useTranslation();\n // ANCHOR - RENDER -------------------------------------------------------------------\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"shop-by-category__slide\", ref: slideRef, tabIndex: props.disableFocus ? -1 : null, \"aria-hidden\": props.disableFocus },\n (category === null || category === void 0 ? void 0 : category.image) && (React.createElement(Image, { avoidLazy: true, className: \"shop-by-category__slide-image\", src: category.image.path, srcMobile: (_a = category === null || category === void 0 ? void 0 : category.imageMobile) === null || _a === void 0 ? void 0 : _a.path, alt: (category === null || category === void 0 ? void 0 : category.imageAlt) || '' })),\n React.createElement(\"h3\", { className: \"font__title shop-by-category__slide-title\" },\n React.createElement(Icon, { family: \"10\", name: \"open-white\" }),\n category.title),\n React.createElement(Button, { onFocus: () => props.onFocus(), type: \"button\", cls: ['button--tertiary'], className: \"inverted\", onClick: () => props.onClick(), customTabIndex: props.disableFocus ? -1 : null, \"aria-hidden\": props.disableFocus, ariaHaspopup: \"dialog\" }, category.open_link_label))));\n};\nexport default ShopByCategorySlide;\n","import React, { useEffect, useMemo, useState } from 'react';\nimport Modal from 'react-modal';\nimport classNames from 'classnames';\nimport { useTranslation } from 'react-i18next';\nimport ProductTileSimple from '../product/ProductTileSimple';\nimport ProductTilesListcontext from '@stone/scripts/contexts/ProductTilesListContext';\nimport useProductsList from '@stone/hooks/useProductsList';\nconst ShopByCategoryModal = (props) => {\n var _a;\n const { activeCategory } = props;\n // ANCHOR - HOOKS --------------------------------------------------------------------\n const [isAnimate, setIsAnimate] = useState(false);\n const { t } = useTranslation();\n const { products, getProducts, loading, resetProducts } = useProductsList(props.itemListName, (_a = props.activeCategory) === null || _a === void 0 ? void 0 : _a.limit);\n const isOpen = useMemo(() => !!(props === null || props === void 0 ? void 0 : props.activeCategory), [props.activeCategory]);\n const listContext = useMemo(() => {\n let context = {};\n context.analyticsData = {\n item_list_name: props.itemListName,\n };\n return context;\n }, [props.itemListName]);\n // ANCHOR - FUNCTIONS --------------------------------------------------------------------\n const onModalClose = (e) => {\n e === null || e === void 0 ? void 0 : e.stopPropagation();\n setIsAnimate(false);\n props.closeModal();\n };\n // ANCHOR - USE EFFECT --------------------------------------------------------------------\n useEffect(() => {\n if (isOpen && activeCategory) {\n getProducts(activeCategory);\n }\n return () => resetProducts();\n }, [activeCategory, isOpen]);\n // ANCHOR - RENDER --------------------------------------------------------------------\n return (React.createElement(Modal, { closeTimeoutMS: 600, onAfterOpen: () => setIsAnimate(true), isOpen: isOpen, className: classNames('shop-by-category__modal', { open: isAnimate }), overlayClassName: \"shop-by-category__modal-overlay\", onRequestClose: () => onModalClose(), contentLabel: activeCategory === null || activeCategory === void 0 ? void 0 : activeCategory.title },\n React.createElement(\"div\", { className: \"shop-by-category__modal-body \" },\n React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"div\", { className: \"shop-by-category__modal-header\" },\n React.createElement(\"h2\", { className: \"font__title\" }, activeCategory === null || activeCategory === void 0 ? void 0 : activeCategory.title),\n React.createElement(\"button\", { type: \"button\", \"aria-label\": t('button.close'), className: \"modal__close\", onClick: (e) => onModalClose(e) })),\n React.createElement(\"p\", { className: \"shop-by-category__modal-description\", dangerouslySetInnerHTML: { __html: activeCategory === null || activeCategory === void 0 ? void 0 : activeCategory.description } }),\n !!(products === null || products === void 0 ? void 0 : products.length) && !loading && (React.createElement(ProductTilesListcontext.Provider, { value: listContext },\n React.createElement(\"div\", { role: \"region\" },\n React.createElement(\"h3\", { className: \"font__title grid-container-title\" }, activeCategory === null || activeCategory === void 0 ? void 0 : activeCategory.list_title),\n React.createElement(\"ul\", { className: \"grid-container\" }, products.map((el, i) => {\n var _a;\n return (React.createElement(\"li\", { key: `${el.uuid}_${i}`, \"aria-labelledby\": `${el.uuid}_link` },\n React.createElement(ProductTileSimple, { product: el, type: \"RECS\", customImage: (_a = el.assetOverride) === null || _a === void 0 ? void 0 : _a.car })));\n }))))))),\n React.createElement(\"a\", { href: activeCategory === null || activeCategory === void 0 ? void 0 : activeCategory.link_url, className: \"button button--primary button-view-category\" },\n React.createElement(\"span\", null, activeCategory === null || activeCategory === void 0 ? void 0 : activeCategory.link_label))));\n};\nexport default ShopByCategoryModal;\n","import React, { useEffect, useRef, useState } from 'react';\nimport SwiperCore, { Navigation, A11y, Keyboard, Autoplay, FreeMode, Mousewheel } from 'swiper';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport ShopByCategorySlide from './ShopByCategorySlide';\nimport gsap from 'gsap';\nimport { ScrollToPlugin } from 'gsap/ScrollToPlugin';\nimport { useReducedMotion } from 'framer-motion';\nimport ShopByCategoryModal from './ShopByCategoryModal';\nimport customEventBus from '@common/scripts/libs/eventBus';\nimport { useTranslation } from 'react-i18next';\nimport useMediaQueries from '@stone/hooks/useMediaQueries';\ngsap.registerPlugin(ScrollToPlugin);\nSwiperCore.use([Keyboard, A11y, Autoplay, FreeMode, Navigation, Mousewheel]);\nconst ShopByCategorySlideshow = (props) => {\n var _a, _b;\n // ANCHOR - HOOKS --------------------------------------------------------------------\n const isReduced = useReducedMotion();\n const { t } = useTranslation();\n const { isDesktop } = useMediaQueries();\n const swiperRef = useRef();\n const duration = useRef(0);\n const startTimer = useRef(null);\n const isRedusced = useReducedMotion();\n // ANCHOR - USE STATE --------------------------------------------------------------------\n const [activeCategory, setActivecategory] = useState(null);\n const [autoplaying, setAutoplaying] = useState(!isReduced);\n const [slideClicked, setSlideClicked] = useState(null);\n // ANCHOR - HOOKS --------------------------------------------------------------------\n const swipeTiming = '500ms';\n const timingSnap = 200;\n // ANCHOR - FUNCTIONS --------------------------------------------------------------------\n const handleElPosition = (el) => {\n const { top, bottom, height } = el.getBoundingClientRect();\n const { innerHeight } = window;\n const distance = Math.abs(innerHeight - bottom);\n const difference = Math.abs(innerHeight - height);\n const percentageDistance = (distance * 100) / height;\n const calculateTiming = (perc, min, max) => {\n perc = perc > 50 ? 50 : perc; //force percentage to 50 in order to set max value\n return min + (perc / 50) * (max - min); //base range on 50 pertentage\n };\n const timing = calculateTiming(percentageDistance, 10, 100);\n return {\n isFullInView: top >= 0 && bottom <= innerHeight,\n timing: timing,\n difference: difference,\n };\n };\n const handleNavigation = (e, type) => {\n // e.preventDefault();\n if (swiperRef.current.autoplay.running) {\n stopAutoplay();\n }\n if (type === 'next') {\n swiperRef.current.slideNext(timingSnap);\n }\n else if (type === 'prev') {\n swiperRef.current.slidePrev(timingSnap);\n // swiperRef.current.slidePrev(timingSnap);\n }\n };\n const onModalClose = () => {\n setActivecategory(null);\n setTimeout(() => {\n if (slideClicked) {\n const button = slideClicked.querySelector('button');\n button.focus();\n setSlideClicked(null);\n }\n }, 300);\n if (!isReduced && autoplaying) {\n setTimeout(() => {\n startAutoplay();\n }, 300);\n }\n };\n const stopAutoplay = (fromButton) => {\n const translation = swiperRef.current.getTranslate();\n if (fromButton) {\n const width = swiperRef.current.width;\n const grid = -swiperRef.current.snapGrid[swiperRef.current.activeIndex];\n const difference = translation - grid;\n duration.current = swiperRef.current.params.speed * (difference / width);\n }\n swiperRef.current.setTranslate(translation);\n swiperRef.current.autoplay.stop();\n swiperRef.current.animating = false;\n customEventBus.emit(`playerstatuschange:${props.uuid}`, { uuid: props.uuid, status: 'play' });\n };\n const startAutoplay = (fromButton) => {\n customEventBus.emit(`playerstatuschange:${props.uuid}`, { uuid: props.uuid, status: 'pause' });\n if (fromButton) {\n swiperRef.current.slideTo(swiperRef.current.activeIndex, duration.current * 2);\n }\n if (startTimer)\n clearTimeout(startTimer.current);\n startTimer.current = setTimeout(() => {\n swiperRef.current.autoplay.start();\n }, 600);\n };\n const onCategorySelect = (id, index) => {\n var _a;\n const realIndex = swiperRef.current.clickedIndex;\n const grid = (_a = swiperRef.current) === null || _a === void 0 ? void 0 : _a.snapGrid[realIndex];\n stopAutoplay();\n setTimeout(() => {\n swiperRef.current.translateTo(-grid, 300);\n setActivecategory(props.categories.find((el) => el.ID === id));\n setTimeout(() => {\n swiperRef.current.slideToLoop(index, 0);\n customEventBus.emit('header:toggleanimation', {});\n }, 600);\n }, 15);\n };\n const onSlideClick = (id, index) => {\n const { isFullInView, timing, difference } = handleElPosition(swiperRef.current.el);\n const header = document.querySelector('header');\n customEventBus.emit('header:toggleanimation', {});\n if (!isFullInView) {\n gsap.to(header, {\n duration: timing / 100,\n y: -header.clientHeight,\n onProgress: (self) => {\n console.log('progress', self.progress);\n },\n });\n gsap.to(window, {\n duration: timing / 100,\n scrollTo: {\n y: swiperRef.current.el,\n offsetY: difference,\n },\n onComplete: () => {\n onCategorySelect(id, index);\n },\n });\n }\n else {\n onCategorySelect(id, index);\n }\n // swiperRef.current.autoplay.stop();\n };\n const onFocus = () => {\n const { isFullInView, difference } = handleElPosition(swiperRef.current.el);\n stopAutoplay();\n if (!isFullInView) {\n gsap.to(window, {\n duration: 0,\n scrollTo: {\n y: swiperRef.current.el,\n offsetY: difference,\n },\n });\n }\n };\n // ANCHOR - USE EFFECT --------------------------------------------------------------------\n // custom management of navigation buttons\n useEffect(() => {\n const btnPrev = document.querySelector('.sbc-navigation--prev');\n const btnNext = document.querySelector('.sbc-navigation--next');\n btnPrev.addEventListener('click', (e) => handleNavigation(e, 'prev'));\n btnNext.addEventListener('click', (e) => handleNavigation(e, 'next'));\n return () => {\n btnPrev.removeEventListener('click', (e) => handleNavigation(e, 'prev'));\n btnNext.removeEventListener('click', (e) => handleNavigation(e, 'next'));\n };\n }, []);\n // handle play/pause from button\n useEffect(() => {\n let _uuid = props.uuid;\n if (swiperRef.current) {\n let handlePauseButton = (data) => {\n if (!swiperRef.current.autoplay.running) {\n startAutoplay(true);\n setAutoplaying(true);\n }\n else {\n stopAutoplay(true);\n setAutoplaying(false);\n }\n return true;\n };\n customEventBus.on(`toggleplaypause:${_uuid}`, handlePauseButton);\n return () => {\n customEventBus.off(`toggleplaypause:${_uuid}`, handlePauseButton);\n };\n }\n }, []);\n // ANCHOR - RENDER --------------------------------------------------------------------\n return (React.createElement(React.Fragment, null,\n React.createElement(Swiper, { className: \"shop-by-category__slideshow\", onSwiper: (swiper) => {\n swiperRef.current = swiper;\n }, onResize: () => {\n if (!swiperRef.current.autoplay.running && isDesktop && !activeCategory) {\n startAutoplay();\n }\n }, onScroll: (swiper, e) => {\n swiper.wrapperEl.style.transitionDuration = swipeTiming;\n }, slidesPerView: 'auto', shortSwipes: !isDesktop, breakpoints: {\n [window.mqObj.lg]: {\n slidesPerView: 2,\n },\n }, threshold: isDesktop ? 10 : 0, freeMode: { enabled: true }, autoplay: !isRedusced &&\n isDesktop && {\n delay: 0,\n disableOnInteraction: false,\n }, speed: !isRedusced && isDesktop ? 15000 : 300, mousewheel: { forceToAxis: true, thresholdDelta: 20 }, a11y: {\n enabled: true,\n slideRole: 'group',\n itemRoleDescriptionMessage: 'slide',\n slideLabelMessage: '',\n prevSlideMessage: t('label.previouspicture'),\n nextSlideMessage: t('label.nextpicture'),\n }, watchSlidesProgress: true, keyboard: true, loop: true, loopedSlides: props.categories.length, loopAdditionalSlides: props.categories.length, preventClicks: true, preventClicksPropagation: true }, !!((_a = props.categories) === null || _a === void 0 ? void 0 : _a.length) &&\n ((_b = props.categories) === null || _b === void 0 ? void 0 : _b.map((el, i) => (React.createElement(SwiperSlide, { key: el.ID, onClick: (e) => {\n setSlideClicked(e.target);\n onSlideClick(el.ID, i);\n }, className: el.ID }, ({ isVisible, isActive, isDuplicate }) => (React.createElement(ShopByCategorySlide, { onClick: () => onSlideClick(el.ID, i), onFocus: onFocus, category: el, index: i, disableFocus: isDesktop ? !isVisible : isActive }))))))),\n React.createElement(ShopByCategoryModal, { activeCategory: activeCategory, closeModal: onModalClose, itemListName: props.itemListName })));\n};\nexport default ShopByCategorySlideshow;\n","import React from 'react';\nimport useBreakpoint from '@common/utils/useBreakpoint';\nimport Icon from '@stone/ui/icon/Icon';\nimport { useTranslation } from 'react-i18next';\nimport { useReducedMotion } from 'framer-motion';\nimport ShopByCategorySlideshow from './ShopByCategorySlideshow';\nimport '@stone/scss/components/shop-by-category/_shop-by-category.scss';\nimport ButtonPlayPause from '@stone/ui/button/ButtonPlayPause';\nimport useProductsList from '@stone/hooks/useProductsList';\nimport { compileListName } from '@stone/utils/analytics';\nconst ShopByCategory = (props) => {\n // ANCHOR - HOOKS --------------------------------------------------------------------\n const { t } = useTranslation();\n const currentBreakpoint = useBreakpoint();\n const isReduced = useReducedMotion();\n const { parseCategories } = useProductsList();\n // ANCHOR - USE MEMO --------------------------------------------------------------------\n const categories = parseCategories(props.categories);\n // ANCHOR - COMPONENTS --------------------------------------------------------------------\n const renderNavigation = () => (React.createElement(React.Fragment, null,\n currentBreakpoint >= window.mqObj.lg && React.createElement(ButtonPlayPause, { initialState: isReduced ? 'play' : 'pause', refUUID: props.uuid }),\n React.createElement(\"div\", { className: \"navigation\" },\n React.createElement(\"button\", { className: \"button sbc-navigation--prev\", \"aria-label\": t('carousel.prevslidemessage') },\n React.createElement(Icon, { name: \"left-chevron\", family: \"10\" })),\n React.createElement(\"button\", { className: \"button sbc-navigation--next\", \"aria-label\": t('carousel.nextslidemessage') },\n React.createElement(Icon, { name: \"right-chevron\", family: \"10\" })))));\n if (!(categories === null || categories === void 0 ? void 0 : categories.length))\n return React.createElement(React.Fragment, null);\n // ANCHOR - RENDER --------------------------------------------------------------------\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"div\", { className: \"row shop-by-category__intro\" },\n React.createElement(\"div\", { className: \"col-lg-5\" },\n React.createElement(\"div\", { className: \"shop-by-category__title\" },\n React.createElement(\"h2\", { className: \"font__title\" }, props.title),\n currentBreakpoint < window.mqObj.lg && renderNavigation())),\n React.createElement(\"div\", { className: \"col-lg-8 col-xxl-6\" },\n React.createElement(\"p\", null, props.description)),\n currentBreakpoint >= window.mqObj.lg && (React.createElement(\"div\", { className: \"col-fill\" },\n React.createElement(\"div\", { className: \"d-flex align-middle justify-end gap-24\" },\n React.createElement(\"div\", { id: `navigation_${props.uuid}`, className: \"d-flex align-middle\" }),\n renderNavigation()))))),\n React.createElement(\"div\", { className: \"shop-by-category__slideshow--wrapper\" },\n React.createElement(ShopByCategorySlideshow, { categories: categories, uuid: props.uuid, itemListName: compileListName(props.itemListName || 'shop by category') }))));\n};\nexport default ShopByCategory;\n","import { throttle } from 'lodash';\nimport { useLayoutEffect, useEffect, useRef, useState } from 'react';\nconst REFLOW_CAP = 400;\nconst getInitialBreakpointValue = () => {\n // get initial breakpoint is called before the page is fully loaded and innerWith may be 0. windows.mqObj may not be set\n var _a;\n const mediaQueries = window.mqObj;\n const documentWidth = window.innerWidth || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.width);\n if (documentWidth == 0 || !mediaQueries) {\n return;\n }\n const filtered = Object.keys(mediaQueries).filter((key) => mediaQueries[key] <= documentWidth);\n const initalBr = filtered.length ? mediaQueries[filtered[filtered.length - 1]] : mediaQueries['xs'];\n // console.info('[getInitialBreakpointValue]: ', documentWidth, initalBr);\n return initalBr;\n};\nconst getReflowValue = () => {\n var _a;\n const documentHeight = window.innerHeight || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.height);\n if (documentHeight == 0) {\n return;\n }\n return documentHeight < REFLOW_CAP ? 399 : REFLOW_CAP;\n};\nconst mediaQueries = Object.assign({ ' {\n const [breakpoint, setBreakpoint] = useState(getInitialBreakpointValue());\n const [breakpointHeight, setBreakpointHeight] = useState(getReflowValue());\n const [isTouch, setIsTouch] = useState(false);\n // const [isMotionReduced, setIsMotionReduced] = useState(false);\n const firstRender = useRef(true);\n function detectTouchscreen() {\n if (window.PointerEvent && 'maxTouchPoints' in navigator) {\n // if Pointer Events are supported, just check maxTouchPoints\n if (navigator.maxTouchPoints > 0) {\n setIsTouch(true);\n }\n }\n else {\n // no Pointer Events...\n if (window.matchMedia && window.matchMedia('(any-pointer:coarse)').matches) {\n // check for any-pointer:coarse which mostly means touchscreen\n setIsTouch(true);\n }\n else if (window.TouchEvent || 'ontouchstart' in window) {\n // last resort - check for exposed touch events API / event handler\n setIsTouch(true);\n }\n }\n }\n const getCurrentBreakpoint = () => {\n var _a;\n const documentWidth = window.innerWidth || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.width);\n if (documentWidth == 0) {\n return;\n }\n const filtered = Object.keys(mediaQueries).filter((key) => mediaQueries[key] <= documentWidth);\n return mediaQueries[filtered[filtered.length - 1]];\n };\n useEffect(() => {\n if (firstRender.current) {\n // setBreakpoint(window.innerWidth);\n firstRender.current = false;\n detectTouchscreen();\n }\n }, []);\n useLayoutEffect(() => {\n const handleResize = throttle(() => {\n const currentBr = getCurrentBreakpoint();\n if (currentBr && currentBr !== breakpoint) {\n setBreakpoint(currentBr);\n }\n const currentHBr = getReflowValue();\n if (currentHBr && currentHBr !== breakpointHeight) {\n setBreakpointHeight(currentHBr);\n }\n }, 200);\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, [breakpoint, breakpointHeight]);\n return {\n //@ts-ignore disable-next-line\n isTightMobile: breakpoint <= window.mqObj.xs,\n //@ts-ignore disable-next-line\n isMobile: breakpoint < window.mqObj.lg,\n //@ts-ignore disable-next-line\n isTablet: breakpoint >= window.mqObj.sm && breakpoint < window.mqObj.lg,\n //@ts-ignore disable-next-line\n isSmallDesktop: breakpoint >= window.mqObj.md,\n //@ts-ignore disable-next-line\n isDesktop: breakpoint >= window.mqObj.lg,\n //@ts-ignore disable-next-line\n isWideDesktop: breakpoint >= window.mqObj.xxl,\n isTouch: isTouch,\n isReflow: breakpointHeight < REFLOW_CAP,\n };\n};\nexport default useMediaQueries;\n","import classNames from 'classnames';\nimport React from 'react';\nconst Button = (props) => {\n const handleClick = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onClick) {\n e.preventDefault();\n }\n props.onClick && props.onClick.call(this, e);\n };\n const handleKeyDown = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onKeyDown) {\n e.preventDefault();\n }\n props.onKeyDown && props.onKeyDown.call(this, e);\n };\n return (React.createElement(\"button\", { ref: props.reference, onClick: handleClick, onFocus: props === null || props === void 0 ? void 0 : props.onFocus, onKeyDown: handleKeyDown, disabled: props.disabled, className: classNames('button', props.cls, props.className, { loading: props.isLoading }, { full: props.fullWidth }, { inverted: props.inverted }), type: props.type, \"aria-label\": props.ariaLabel, \"aria-expanded\": props.ariaExpanded, \"aria-haspopup\": props.ariaHaspopup, \"aria-controls\": props.ariaControls, \"aria-hidden\": props.ariaHidden, \"aria-pressed\": props.ariaPressed, tabIndex: props.customTabIndex ? props.customTabIndex : undefined, id: props.id, \"data-pressed\": props.pressed }, props.customChildren ? props.children : React.createElement(\"span\", null, props.children)));\n};\nButton.defaultProps = {\n cls: ['button--primary'],\n className: '',\n};\nexport default Button;\n","import React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport customEventBus from '@common/scripts/libs/eventBus';\nimport Button from './Button';\nimport Icon from '../icon/Icon';\nimport classNames from 'classnames';\nimport { debounce } from '@common/utils/functions';\nimport { useLangChecker } from '@common/utils/i18n';\nconst ButtonPlayPause = (props) => {\n const [buttonState, setButtonState] = useState(props.initialState);\n const [waitResponse, setWaitResponse] = useState(false);\n const { t } = useTranslation();\n const updateStatus = (data) => {\n setButtonState(data.status);\n setWaitResponse(false);\n };\n //autoplay listener\n useEffect(() => {\n let uuid = props.refUUID;\n if (!!uuid) {\n customEventBus.on(`playerstatuschange:${uuid}`, updateStatus);\n }\n return () => {\n customEventBus.off(`playerstatuschange:${uuid}`, updateStatus);\n };\n }, []);\n const togglePlay = () => {\n if (waitResponse)\n return false;\n setWaitResponse(true);\n customEventBus.emit(`toggleplaypause:${props.refUUID}`, { uuid: props.refUUID, lockpause: true });\n };\n return (React.createElement(Button, { className: \"button--playpause\", cls: ['button--quaternary'], type: \"button\", ariaLabel: t('button.playpauseA11y'), ariaPressed: buttonState == 'play' ? true : false, onClick: debounce(togglePlay, 500) },\n React.createElement(React.Fragment, null,\n React.createElement(Icon, { family: '16', name: buttonState }),\n React.createElement(\"span\", { className: classNames('button--playpause_label', { 'visually-hidden': props.hidelabel }) }, (buttonState === 'pause' && t('button.pauseshort')) || React.createElement(\"span\", { ref: useLangChecker }, t('button.playshort'))))));\n};\nButtonPlayPause.defaultProps = {\n initialState: 'play',\n};\nexport default ButtonPlayPause;\n","import React from 'react';\nconst Icon = (props) => {\n const icon = `${props.family}-${props.name}${props.inverted ? '-white' : ''}`;\n return React.createElement(\"span\", { \"aria-label\": props.ariaLabel, \"aria-hidden\": true, className: `icon icon--${icon} ${props.autoSize ? 'auto-size' : ''}` });\n};\nIcon.defaultProps = {\n family: '10',\n inverted: false,\n ariaHidden: false,\n};\nexport default Icon;\n","import Lazyimg from '@components/utils/Lazyimg';\nimport useMediaQueries from '@stone/hooks/useMediaQueries';\nimport React, { useMemo } from 'react';\nconst Image = (props) => {\n const { isMobile } = useMediaQueries();\n const args = useMemo(() => {\n return {\n src: isMobile && props.srcMobile ? props.srcMobile : props.src,\n alt: props.alt || '',\n className: props.className,\n };\n }, [props, isMobile]);\n return props.avoidLazy ? React.createElement(\"img\", Object.assign({ alt: args.alt }, args, { \"aria-hidden\": props.ariaHidden })) : React.createElement(Lazyimg, Object.assign({}, args, { ariaHidden: props.ariaHidden }));\n};\nexport default Image;\n"],"names":["gsap","_coreInitted","_window","_docEl","_body","_toArray","_config","_windowExists","window","_getGSAP","registerPlugin","_isString","value","_isFunction","_max","element","axis","dim","scroll","client","Math","max","_buildGetter","e","p","pageXOffset","toUpperCase","_getOffset","container","getBoundingClientRect","console","warn","x","y","rect","isRoot","cRect","top","clientTop","pageYOffset","scrollTop","left","clientLeft","scrollLeft","offsets","_parseVal","target","currentVal","offset","isNaN","charAt","parseFloat","substr","min","_initCore","document","body","documentElement","utils","toArray","config","autoKillThreshold","ScrollToPlugin","version","name","rawVars","register","core","init","tween","index","targets","data","this","snapType","getProperty","isWin","nodeType","result","_clean","vars","autoKill","getX","getY","xPrev","yPrev","snap","snapInline","style","scrollSnapType","add","offsetX","_props","push","skipX","offsetY","skipY","render","ratio","yDif","xDif","threshold","pt","_pt","r","d","_next","kill","onAutoKill","apply","onAutoKillParams","scrollTo","removeProperty","property","both","getOffset","buildGetter","props","src","srcset","className","draggable","alt","width","height","ariaHidden","dataSizes","_a","category","slideRef","useRef","t","useTranslation","ref","tabIndex","disableFocus","image","Image","avoidLazy","path","srcMobile","imageMobile","imageAlt","Icon","family","title","Button","onFocus","type","cls","onClick","customTabIndex","ariaHaspopup","open_link_label","activeCategory","isAnimate","setIsAnimate","useState","products","getProducts","loading","resetProducts","useProductsList","itemListName","limit","isOpen","useMemo","listContext","context","analyticsData","item_list_name","onModalClose","stopPropagation","closeModal","useEffect","closeTimeoutMS","onAfterOpen","open","overlayClassName","onRequestClose","contentLabel","dangerouslySetInnerHTML","__html","description","length","role","list_title","map","el","i","key","uuid","ProductTileSimple","product","customImage","assetOverride","car","href","link_url","link_label","_b","isReduced","isDesktop","useMediaQueries","swiperRef","duration","startTimer","isRedusced","setActivecategory","autoplaying","setAutoplaying","slideClicked","setSlideClicked","handleElPosition","bottom","innerHeight","distance","abs","difference","perc","isFullInView","timing","handleNavigation","current","autoplay","running","stopAutoplay","slideNext","slidePrev","fromButton","translation","getTranslate","snapGrid","activeIndex","params","speed","setTranslate","stop","animating","status","startAutoplay","slideTo","clearTimeout","setTimeout","start","onCategorySelect","id","realIndex","clickedIndex","grid","translateTo","categories","find","ID","slideToLoop","onSlideClick","header","querySelector","clientHeight","onProgress","self","log","progress","onComplete","btnPrev","btnNext","addEventListener","removeEventListener","_uuid","handlePauseButton","onSwiper","swiper","onResize","onScroll","wrapperEl","transitionDuration","slidesPerView","shortSwipes","breakpoints","mqObj","lg","freeMode","enabled","delay","disableOnInteraction","mousewheel","forceToAxis","thresholdDelta","a11y","slideRole","itemRoleDescriptionMessage","slideLabelMessage","prevSlideMessage","nextSlideMessage","watchSlidesProgress","keyboard","loop","loopedSlides","loopAdditionalSlides","preventClicks","preventClicksPropagation","isVisible","isActive","isDuplicate","focus","currentBreakpoint","useBreakpoint","parseCategories","renderNavigation","ButtonPlayPause","initialState","refUUID","getReflowValue","documentHeight","visualViewport","mediaQueries","Object","assign","breakpoint","setBreakpoint","documentWidth","innerWidth","filtered","keys","filter","getInitialBreakpointValue","breakpointHeight","setBreakpointHeight","isTouch","setIsTouch","firstRender","PointerEvent","navigator","maxTouchPoints","matchMedia","matches","TouchEvent","useLayoutEffect","handleResize","throttle","currentBr","getCurrentBreakpoint","currentHBr","isTightMobile","xs","isMobile","isTablet","sm","isSmallDesktop","md","isWideDesktop","xxl","isReflow","reference","undefined","usesDefault","preventDefault","call","onKeyDown","disabled","isLoading","full","fullWidth","inverted","ariaLabel","ariaExpanded","ariaControls","ariaPressed","pressed","customChildren","children","defaultProps","buttonState","setButtonState","waitResponse","setWaitResponse","updateStatus","lockpause","hidelabel","icon","autoSize","args"],"sourceRoot":""}