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H,aAAuC,EAC5CA,EAAOpB,KAAI,CAAC0J,EAAO1X,IAAO,gBAAoB,KAAa,CAAEa,IAAK6W,EAAMP,IACpE,gBAAoB,EAA+B,CAAEnD,OAAQmB,EAAatC,IAAK6E,EAAMK,OAAOC,MAAOhD,UAAW0C,EAAMb,KAAKW,KAAMtD,aAAc,KAlC7JsB,GAAa,QACbqC,SAASC,cAAc,QAAQrH,UAAUC,OAAO,gCAiCiIoC,IAAK,sBAAuBzL,QAASrH,EAAI,EAAG+S,IAAK3D,EAAOlP,YAC7N,gBAAoB,MAAO,CAAE6Q,UAAW,sCACpC,gBAAoB,SAAU,CAAEA,UAAW,6CAA8C,aAAc7I,EAAE,6BAA8BsM,SAAUA,EAAUtN,IAAK+N,IAChK,gBAAoB,SAAU,CAAElE,UAAW,kFAAmF,aAAc7I,EAAE,6BAA8BsM,SAAUA,EAAUtN,IAAKgO,QAAkB","sources":["webpack:///./node_modules/classnames/index.js","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack:///./node_modules/react-i18next/dist/es/utils.js","webpack:///./node_modules/react-i18next/dist/es/useTranslation.js","webpack:///./assets/common/src/utils/useBreakpoint.ts","webpack:///./assets/common/src/utils/carouselUtils.ts","webpack:///./assets/moncler/src/components/autoplayCarousel/AutoplayCarousel.tsx","webpack:///./assets/moncler/src/components/curators/CuratorCarouselSlide.tsx","webpack:///./assets/moncler/src/components/curators/CuratorCarouselSlideZoomModal.tsx","webpack:///./assets/moncler/src/components/curators/CuratorCarousel.tsx"],"sourcesContent":["/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","export function warn() {\n if (console && console.warn) {\n var _console;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (typeof args[0] === 'string') args[0] = \"react-i18next:: \".concat(args[0]);\n\n (_console = console).warn.apply(_console, args);\n }\n}\nvar alreadyWarned = {};\nexport function warnOnce() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n if (typeof args[0] === 'string' && alreadyWarned[args[0]]) return;\n if (typeof args[0] === 'string') alreadyWarned[args[0]] = new Date();\n warn.apply(void 0, args);\n}\nexport function loadNamespaces(i18n, ns, cb) {\n i18n.loadNamespaces(ns, function () {\n if (i18n.isInitialized) {\n cb();\n } else {\n var initialized = function initialized() {\n setTimeout(function () {\n i18n.off('initialized', initialized);\n }, 0);\n cb();\n };\n\n i18n.on('initialized', initialized);\n }\n });\n}\n\nfunction oldI18nextHasLoadedNamespace(ns, i18n) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var lng = i18n.languages[0];\n var fallbackLng = i18n.options ? i18n.options.fallbackLng : false;\n var lastLng = i18n.languages[i18n.languages.length - 1];\n if (lng.toLowerCase() === 'cimode') return true;\n\n var loadNotPending = function loadNotPending(l, n) {\n var loadState = i18n.services.backendConnector.state[\"\".concat(l, \"|\").concat(n)];\n return loadState === -1 || loadState === 2;\n };\n\n if (options.bindI18n && options.bindI18n.indexOf('languageChanging') > -1 && i18n.services.backendConnector.backend && i18n.isLanguageChangingTo && !loadNotPending(i18n.isLanguageChangingTo, ns)) return false;\n if (i18n.hasResourceBundle(lng, ns)) return true;\n if (!i18n.services.backendConnector.backend || i18n.options.resources && !i18n.options.partialBundledLanguages) return true;\n if (loadNotPending(lng, ns) && (!fallbackLng || loadNotPending(lastLng, ns))) return true;\n return false;\n}\n\nexport function hasLoadedNamespace(ns, i18n) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n if (!i18n.languages || !i18n.languages.length) {\n warnOnce('i18n.languages were undefined or empty', i18n.languages);\n return true;\n }\n\n var isNewerI18next = i18n.options.ignoreJSONStructure !== undefined;\n\n if (!isNewerI18next) {\n return oldI18nextHasLoadedNamespace(ns, i18n, options);\n }\n\n return i18n.hasLoadedNamespace(ns, {\n precheck: function precheck(i18nInstance, loadNotPending) {\n if (options.bindI18n && options.bindI18n.indexOf('languageChanging') > -1 && i18nInstance.services.backendConnector.backend && i18nInstance.isLanguageChangingTo && !loadNotPending(i18nInstance.isLanguageChangingTo, ns)) return false;\n }\n });\n}\nexport function getDisplayName(Component) {\n return Component.displayName || Component.name || (typeof Component === 'string' && Component.length > 0 ? Component : 'Unknown');\n}","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport { getDefaults, getI18n, I18nContext, ReportNamespaces } from './context';\nimport { hasLoadedNamespace, loadNamespaces, warnOnce } from './utils';\n\nvar usePrevious = function usePrevious(value, ignore) {\n var ref = useRef();\n useEffect(function () {\n ref.current = ignore ? ref.current : value;\n }, [value, ignore]);\n return ref.current;\n};\n\nexport function useTranslation(ns) {\n var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nFromProps = props.i18n;\n\n var _ref = useContext(I18nContext) || {},\n i18nFromContext = _ref.i18n,\n defaultNSFromContext = _ref.defaultNS;\n\n var i18n = i18nFromProps || i18nFromContext || getI18n();\n if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();\n\n if (!i18n) {\n warnOnce('You will need to pass in an i18next instance by using initReactI18next');\n\n var notReadyT = function notReadyT(k) {\n return Array.isArray(k) ? k[k.length - 1] : k;\n };\n\n var retNotReady = [notReadyT, {}, false];\n retNotReady.t = notReadyT;\n retNotReady.i18n = {};\n retNotReady.ready = false;\n return retNotReady;\n }\n\n if (i18n.options.react && i18n.options.react.wait !== undefined) warnOnce('It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.');\n\n var i18nOptions = _objectSpread(_objectSpread(_objectSpread({}, getDefaults()), i18n.options.react), props);\n\n var useSuspense = i18nOptions.useSuspense,\n keyPrefix = i18nOptions.keyPrefix;\n var namespaces = ns || defaultNSFromContext || i18n.options && i18n.options.defaultNS;\n namespaces = typeof namespaces === 'string' ? [namespaces] : namespaces || ['translation'];\n if (i18n.reportNamespaces.addUsedNamespaces) i18n.reportNamespaces.addUsedNamespaces(namespaces);\n var ready = (i18n.isInitialized || i18n.initializedStoreOnce) && namespaces.every(function (n) {\n return hasLoadedNamespace(n, i18n, i18nOptions);\n });\n\n const wrappedT = (t) => {\n if (window.msgdebug) {\n return (key) => {\n return key;\n };\n }\n return t;\n };\n\n function getT() {\n return wrappedT(i18n.getFixedT(null, i18nOptions.nsMode === 'fallback' ? namespaces : namespaces[0], keyPrefix))\n }\n\n var _useState = useState(getT),\n _useState2 = _slicedToArray(_useState, 2),\n t = _useState2[0],\n setT = _useState2[1];\n\n var joinedNS = namespaces.join();\n var previousJoinedNS = usePrevious(joinedNS);\n var isMounted = useRef(true);\n useEffect(function () {\n var bindI18n = i18nOptions.bindI18n,\n bindI18nStore = i18nOptions.bindI18nStore;\n isMounted.current = true;\n\n if (!ready && !useSuspense) {\n loadNamespaces(i18n, namespaces, function () {\n if (isMounted.current) setT(getT);\n });\n }\n\n if (ready && previousJoinedNS && previousJoinedNS !== joinedNS && isMounted.current) {\n setT(getT);\n }\n\n function boundReset() {\n if (isMounted.current) setT(getT);\n }\n\n if (bindI18n && i18n) i18n.on(bindI18n, boundReset);\n if (bindI18nStore && i18n) i18n.store.on(bindI18nStore, boundReset);\n return function () {\n isMounted.current = false;\n if (bindI18n && i18n) bindI18n.split(' ').forEach(function (e) {\n return i18n.off(e, boundReset);\n });\n if (bindI18nStore && i18n) bindI18nStore.split(' ').forEach(function (e) {\n return i18n.store.off(e, boundReset);\n });\n };\n }, [i18n, joinedNS]);\n var isInitial = useRef(true);\n useEffect(function () {\n if (isMounted.current && !isInitial.current) {\n setT(getT);\n }\n\n isInitial.current = false;\n }, [i18n, keyPrefix]);\n var ret = [t, i18n, ready];\n ret.t = t;\n ret.i18n = i18n;\n ret.ready = ready;\n if (ready) return ret;\n if (!ready && !useSuspense) return ret;\n throw new Promise(function (resolve) {\n loadNamespaces(i18n, namespaces, function () {\n resolve();\n });\n });\n}","import { useEffect, useState } from 'react';\nconst getInitialBreakpointValue = () => {\n var _a;\n // get initial breakpoint is called before the page is fully loaded and innerWith may be 0. windows.mqObj may not be set\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 mediaQueries = Object.assign({ ' {\n const [currentBreakpoint, setCurrentBreakpoint] = useState(getInitialBreakpointValue());\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 const handleResize = () => {\n const currentBr = getCurrentBreakpoint();\n if (currentBr && currentBr !== currentBreakpoint) {\n // console.info('%c[React - Breakpoint change] ', 'color: green;font-weight: bold;', currentBr);\n setCurrentBreakpoint(currentBr);\n }\n };\n // const debounceResize = () => {\n // handleResize();\n // };\n useEffect(() => {\n window.addEventListener('resize', handleResize);\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n });\n return currentBreakpoint;\n};\nexport default useBreakpoint;\n","export class AutoplayHelper {\n constructor(swiperRef, setIsAutoplayActive, isAutoplayActive, setIsLocked) {\n this.swiperRef = swiperRef;\n this.swiperRef.on('scroll', (swiper) => (swiper.wrapperEl.style.transitionDuration = this.swipeTiming));\n this.setIsAutoplayActive = setIsAutoplayActive;\n this.setIsLocked = setIsLocked;\n this.isAutoplayActive = isAutoplayActive;\n }\n setAutoplay(autoplay) {\n this.isAutoplayActive = autoplay;\n this.setIsAutoplayActive(autoplay);\n }\n realignPausedCarousel(originalTransform) {\n this.swiperRef.previousIndex--;\n this.swiperRef.realIndex--;\n this.swiperRef.activeIndex--;\n const originalTransformValues = originalTransform[1].split(/,\\s?/g).map(parseInt);\n const originalDestTranslate = Math.floor(originalTransformValues[0]);\n const normalizedTranslate = Math.floor(Math.abs(originalDestTranslate));\n const normalizedSnapGrid = this.swiperRef.snapGrid.map((val) => Math.floor(Math.abs(val)));\n const originalDestIndex = normalizedSnapGrid.indexOf(normalizedTranslate);\n this.swiperRef.translate = -normalizedSnapGrid[originalDestIndex - 1];\n }\n pauseCarousel() {\n if (!this.swiperRef || !this.swiperRef.wrapperEl || !this.swiperRef.autoplay.running) {\n return;\n }\n this.swiperRef.autoplay.stop();\n this.swiperRef.animating = false;\n this.swiperRef.wrapperEl.style.transitionDuration = '0ms';\n const originalTransform = this.swiperRef.wrapperEl.style.transform.split(/\\w+\\(|\\);?/);\n this.swiperRef.wrapperEl.style.transform = getComputedStyle(this.swiperRef.wrapperEl).transform;\n this.setAutoplay(false);\n setTimeout(() => {\n this.swiperRef.wrapperEl.style.transitionDuration = this.swipeTiming;\n this.swiperRef.wrapperEl.style.transform = `translate3d(${this.swiperRef.getTranslate()}px, 0, 0)`;\n const leftmostSlide = this.swiperRef.slides[this.swiperRef.previousIndex];\n const leftmostSlideBounds = leftmostSlide === null || leftmostSlide === void 0 ? void 0 : leftmostSlide.getBoundingClientRect();\n const leftmostHalfSlideVisible = (leftmostSlideBounds === null || leftmostSlideBounds === void 0 ? void 0 : leftmostSlideBounds.x) >= 0 || Math.abs(leftmostSlideBounds === null || leftmostSlideBounds === void 0 ? void 0 : leftmostSlideBounds.left) <= (leftmostSlideBounds === null || leftmostSlideBounds === void 0 ? void 0 : leftmostSlideBounds.width) / 2;\n if (leftmostHalfSlideVisible) {\n this.realignPausedCarousel(originalTransform);\n }\n }, 10);\n }\n playCarousel() {\n if (!this.swiperRef.autoplay.running) {\n this.swiperRef.autoplay.start();\n this.setAutoplay(true);\n }\n }\n handlePauseButton() {\n if (this.isAutoplayActive) {\n this.setIsLocked(true);\n this.pauseCarousel();\n }\n else {\n this.setIsLocked(false);\n this.playCarousel();\n }\n }\n}\n","import React, { useRef, useState, Suspense, useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport SwiperCore, { Autoplay, Keyboard, Mousewheel } from 'swiper';\nimport { Swiper as SwiperInstance } from 'swiper/react';\nimport { AutoplayHelper } from '@common/utils/carouselUtils';\nimport useBreakpoint from '@utils/useBreakpoint';\nSwiperCore.use([Keyboard, Autoplay, Mousewheel]);\nconst swipeTiming = '500ms';\nconst timingSnap = 200;\nconst AutoplayCarousel = (props) => {\n const { children, afterContainer, beforeContainer, swiperConf, withArrows, darkMode } = props;\n const { t } = useTranslation();\n const [autoplayHelper, setAutoplayHelper] = useState();\n const [isAutoplayActive, setIsAutoplayActive] = useState(true);\n const [isLocked, setIsLocked] = useState(false);\n const swiperRef = useRef();\n const container = useRef();\n const currentBreakpoint = useBreakpoint();\n const renderAfterContainer = (pauseButton) => {\n return typeof afterContainer === 'function' ? afterContainer(pauseButton) : afterContainer === 'pauseBtn' ? pauseButton : afterContainer;\n };\n const renderBeforeContainer = (pauseButton) => {\n return typeof beforeContainer === 'function' ? beforeContainer(pauseButton) : beforeContainer === 'pauseBtn' ? pauseButton : beforeContainer;\n };\n // useeffect that reInit slider on change of children\n useEffect(() => {\n if (swiperRef.current) {\n swiperRef.current.update();\n }\n }, [swiperConf]);\n const realignPausedCarousel = (originalTransform) => {\n swiperRef.current.previousIndex--;\n swiperRef.current.realIndex--;\n swiperRef.current.activeIndex--;\n const originalTransformValues = originalTransform[1].split(/,\\s?/g).map(parseInt);\n const originalDestTranslate = Math.floor(originalTransformValues[0]);\n const normalizedTranslate = Math.floor(Math.abs(originalDestTranslate));\n const normalizedSnapGrid = swiperRef.current.snapGrid.map((val) => Math.floor(Math.abs(val)));\n const originalDestIndex = normalizedSnapGrid.indexOf(normalizedTranslate);\n swiperRef.current.translate = -normalizedSnapGrid[originalDestIndex - 1];\n };\n const pauseCarousel = () => {\n if (!swiperRef.current || !swiperRef.current.autoplay.running) {\n return;\n }\n swiperRef.current.autoplay.stop();\n swiperRef.current.animating = false;\n swiperRef.current.wrapperEl.style.transitionDuration = '0ms';\n const originalTransform = swiperRef.current.wrapperEl.style.transform.split(/\\w+\\(|\\);?/);\n swiperRef.current.wrapperEl.style.transform = getComputedStyle(swiperRef.current.wrapperEl).transform;\n setIsAutoplayActive(false);\n setTimeout(() => {\n swiperRef.current.wrapperEl.style.transitionDuration = swipeTiming;\n swiperRef.current.wrapperEl.style.transform = `translate3d(${swiperRef.current.getTranslate()}px, 0, 0)`;\n const leftmostSlide = swiperRef.current.slides[swiperRef.current.previousIndex];\n const leftmostSlideBounds = leftmostSlide === null || leftmostSlide === void 0 ? void 0 : leftmostSlide.getBoundingClientRect();\n const leftmostHalfSlideVisible = leftmostSlideBounds.x >= 0 || Math.abs(leftmostSlideBounds.left) <= leftmostSlideBounds.width / 2;\n if (leftmostHalfSlideVisible) {\n realignPausedCarousel(originalTransform);\n }\n }, 10);\n };\n const playCarousel = () => {\n if (!swiperRef.current.autoplay.running) {\n swiperRef.current.autoplay.start();\n setIsAutoplayActive(true);\n }\n };\n const handlePauseButton = () => {\n if (isAutoplayActive) {\n setIsLocked(true);\n pauseCarousel();\n }\n else {\n setIsLocked(false);\n playCarousel();\n }\n };\n const nextSlide = () => {\n swiperRef.current.slidePrev(500);\n };\n const prevSlide = () => {\n swiperRef.current.slideNext(500);\n };\n const handleArrowShow = ({ pageX }) => {\n if (!withArrows)\n return;\n const percentage = (pageX / container.current.offsetWidth) * 100;\n if (percentage < 25) {\n container.current.classList.add('show-left-arrow');\n container.current.classList.remove('show-right-arrow');\n }\n else if (percentage > 75) {\n container.current.classList.add('show-right-arrow');\n container.current.classList.remove('show-left-arrow');\n }\n else {\n container.current.classList.remove('show-right-arrow');\n container.current.classList.remove('show-left-arrow');\n }\n };\n const handleArrowHide = () => {\n if (!withArrows)\n return;\n container.current.classList.remove('show-right-arrow');\n container.current.classList.remove('show-left-arrow');\n };\n const playClass = darkMode ? 'btn--pause-white' : 'btn--pause';\n const pauseClass = darkMode ? 'btn--play-white' : 'btn--pause';\n const pauseButton = () => {\n return (React.createElement(\"button\", { onClick: handlePauseButton, className: `autoplay-carousel__play ${isAutoplayActive ? pauseClass : playClass}`, \"aria-label\": t('button.pause'), \"aria-pressed\": !isAutoplayActive }));\n };\n const arrowClassName = (direction) => {\n return `icon--chevron-${direction}-big`;\n };\n return (React.createElement(\"div\", { className: \"container\" },\n renderBeforeContainer(pauseButton()),\n withArrows && (React.createElement(\"div\", { className: \"arrows-container\", onMouseEnter: () => autoplayHelper === null || autoplayHelper === void 0 ? void 0 : autoplayHelper.pauseCarousel(), onMouseLeave: () => {\n handleArrowHide();\n if (!isAutoplayActive && !isLocked) {\n autoplayHelper === null || autoplayHelper === void 0 ? void 0 : autoplayHelper.playCarousel();\n }\n } },\n React.createElement(\"button\", { type: \"button\", className: `arrow--prev`, \"aria-label\": t('carousel.prevslidemessage'), onClick: () => nextSlide() },\n React.createElement(\"i\", { className: arrowClassName('left'), \"aria-hidden\": true })),\n React.createElement(\"button\", { type: \"button\", className: `arrow--next`, \"aria-label\": t('carousel.nextslidemessage'), onClick: () => prevSlide() },\n React.createElement(\"i\", { className: arrowClassName('right'), \"aria-hidden\": true })))),\n React.createElement(\"div\", { ref: container, className: \"product-recommended__content\", onMouseEnter: () => autoplayHelper === null || autoplayHelper === void 0 ? void 0 : autoplayHelper.pauseCarousel(), onMouseMove: (e) => {\n // Prevent mousewheel scrolling both parent and nested carousel\n const eTargetClassList = e.target.classList;\n if (eTargetClassList.contains('product-tile__image') || eTargetClassList.contains('product-tile-carousel__button')) {\n swiperRef.current.mousewheel.disable();\n }\n else {\n swiperRef.current.mousewheel.enable();\n }\n handleArrowShow(e);\n }, onMouseLeave: () => {\n handleArrowHide();\n if (!isAutoplayActive && !isLocked) {\n autoplayHelper === null || autoplayHelper === void 0 ? void 0 : autoplayHelper.playCarousel();\n }\n } },\n React.createElement(Suspense, { fallback: React.createElement(\"div\", null, \"Loading...\") },\n React.createElement(SwiperInstance, Object.assign({ onSwiper: (swiper) => {\n swiperRef.current = swiper;\n setAutoplayHelper(new AutoplayHelper(swiperRef.current, setIsAutoplayActive, isAutoplayActive, setIsLocked));\n }, onScroll: (swiper, e) => {\n swiper.wrapperEl.style.transitionDuration = swipeTiming;\n }, onTouchStart: (swiper) => {\n swiper.wrapperEl.classList.add('no-transition');\n }, onTouchEnd: (swiper) => {\n swiperRef.current.slideReset(timingSnap);\n setTimeout(() => {\n swiperRef.current.wrapperEl.classList.remove('no-transition');\n }, 10);\n }, \n // onTouchEnd={() => {\n // }}\n onResize: () => {\n if (!swiperRef.current.autoplay.running && !isLocked) {\n playCarousel();\n }\n } }, swiperConf), children))),\n renderAfterContainer(pauseButton())));\n};\nexport default AutoplayCarousel;\n","import classNames from 'classnames';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst CuratorCarouselSlide = (props) => {\n const { t } = useTranslation();\n return (React.createElement(\"div\", { className: \"curator-carousel-slide__inner-slide\" },\n React.createElement(\"button\", { className: \"curator-carousel-slide__img-holder\", \"aria-haspopup\": \"dialog\" },\n React.createElement(\"img\", { className: classNames('zoom-image-wrapper'), src: props.url, alt: t('curators.slide', { 0: props.current, 1: props.max }) }))));\n};\nexport default CuratorCarouselSlide;\n","/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport classNames from 'classnames';\nimport React, { useCallback, useEffect, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport PinchZoom, { make3dTransformValue } from 'react-quick-pinch-zoom';\nlet zoomTimerId;\nlet touchstartX = 0;\nlet touchendX = 0;\nconst CuratorCarouselSlideZoomModal = (props) => {\n const { t } = useTranslation();\n const zoomRef = useRef();\n const imgRef = useRef();\n const [isDragging, setIsDragging] = useState(false);\n const [zoomPos, setZoomPos] = useState({\n x: 0,\n y: 0,\n scale: 1,\n });\n const onUpdate = useCallback(({ x, y, scale }) => {\n const { current: img } = imgRef;\n if (img) {\n clearTimeout(zoomTimerId);\n zoomTimerId = setTimeout(() => {\n setZoomPos({ x, y, scale });\n }, 100);\n const value = make3dTransformValue({ x, y, scale });\n img.style.setProperty('transform', value);\n }\n }, []);\n const zoomOut = () => {\n zoomRef === null || zoomRef === void 0 ? void 0 : zoomRef.current.scaleTo({\n x: window.innerWidth / 2,\n y: window.innerHeight / 2,\n scale: zoomPos.scale - 1,\n });\n };\n const zoomIn = () => {\n zoomRef === null || zoomRef === void 0 ? void 0 : zoomRef.current.scaleTo({\n x: window.innerWidth / 2,\n y: window.innerHeight / 2,\n scale: zoomPos.scale + 1,\n });\n };\n useEffect(() => {\n props.onZoom(zoomPos.scale > 1);\n }, [zoomPos.scale]);\n return (React.createElement(\"div\", { onKeyDown: (e) => {\n if (e.key == 'Escape') {\n props.onCloseModal();\n }\n }, onTouchStart: (e) => { var _a, _b; return (touchstartX = (_b = (_a = e.changedTouches) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.screenX); }, onTouchEnd: (e) => {\n var _a, _b;\n touchendX = (_b = (_a = e.changedTouches) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.screenX;\n if (zoomPos.scale === 1 && props.swiperHandler && typeof touchstartX === 'number' && typeof touchendX === 'number') {\n props.swiperHandler(touchstartX, touchendX);\n }\n }, className: classNames('gallery-wrapper', { scaling: zoomPos.scale > 1 }) },\n React.createElement(\"div\", { className: \"curator-carousel__zoom-control\" },\n React.createElement(\"button\", { className: \"js-zoom-decrease-carousel carousel-curator-zoom-button--decrease\", \"aria-label\": t('app.a11y.bag.decrease'), disabled: zoomPos.scale <= 1, onClick: zoomOut }),\n React.createElement(\"button\", { className: \"js-zoom-increase-carousel carousel-curator-zoom-button--increase\", \"aria-label\": t('app.a11y.bag.increase'), disabled: zoomPos.scale >= 7, onClick: zoomIn }),\n React.createElement(\"div\", { className: \"js-close-carousel-curator\" },\n React.createElement(\"button\", { className: \"close-carousel-curator-zoom\", onClick: () => props.onCloseModal(), \"aria-label\": t('button.close') }))),\n React.createElement(\"div\", { className: \"js-curator-carousel__zoom\" },\n React.createElement(PinchZoom, { ref: zoomRef, onUpdate: onUpdate, maxZoom: 7, minZoom: 0.2, onDragStart: () => setIsDragging(true), onDragEnd: () => setIsDragging(false) },\n React.createElement(\"div\", { className: \"curator-carousel-slide__img-holder zoom-img-wrapper\", ref: imgRef },\n React.createElement(\"img\", { className: classNames('zoom-image-wrapper', { dragging: isDragging }), src: props.url, alt: \"\" }))),\n React.createElement(\"div\", { className: \"curator-carousel-slide__text-holder\" },\n React.createElement(\"p\", null, props.slideText)))));\n};\nexport default CuratorCarouselSlideZoomModal;\n","import api from '@utils/api';\nimport FocusTrap from 'focus-trap-react';\nimport React, { useEffect, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport SwiperCore, { Autoplay, Keyboard, Mousewheel } from 'swiper';\nimport { Swiper as SwiperInstance, SwiperSlide } from 'swiper/react';\nimport AutoplayCarousel from '../autoplayCarousel/AutoplayCarousel';\nimport CuratorCarouselSlide from './CuratorCarouselSlide';\nimport CuratorCarouselSlideZoomModal from './CuratorCarouselSlideZoomModal';\nSwiperCore.use([Keyboard, Autoplay, Mousewheel]);\nconst timing = 10000;\nconst CuratorCarousel = (props) => {\n const { t } = useTranslation();\n const btnLeft = useRef();\n const btnRight = useRef();\n const [disabled, setDisabled] = useState(false);\n const [sliderComponent, setSliderComponent] = useState();\n const [slides, setSlides] = useState();\n const [modalOpen, setModalOpen] = useState(false);\n const [currentZoomSlide, setCurrentZoomSlide] = useState(0);\n const swiperConf = {\n keyboard: { enabled: true },\n speed: timing,\n watchSlidesProgress: true,\n loop: true,\n centeredSlides: true,\n slidesPerView: 1.8,\n spaceBetween: 24,\n autoplay: {\n delay: 0,\n disableOnInteraction: false,\n },\n mousewheel: {\n forceToAxis: true,\n thresholdDelta: 20,\n },\n a11y: {\n slideLabelMessage: '',\n },\n breakpoints: {\n 400: {\n slidesPerView: 1.8,\n spaceBetween: 24,\n },\n 600: {\n slidesPerView: 3.2,\n spaceBetween: 65,\n },\n 1024: {\n slidesPerView: 2.8,\n spaceBetween: 80,\n },\n 1200: {\n slidesPerView: 3.2,\n spaceBetween: 120,\n },\n },\n };\n useEffect(() => {\n api.getPageJson(props.pageId, true).then((data) => {\n const carouselComponent = data === null || data === void 0 ? void 0 : data.regions[0].components.find((el) => el.id === props.uuid);\n setSliderComponent(carouselComponent.data);\n setSlides(carouselComponent.regions[0].components);\n });\n }, []);\n const closeModal = () => {\n setModalOpen(false);\n document.querySelector('body').classList.remove('modal-carousel-curator-open');\n };\n const openModal = (slideIndex) => {\n setModalOpen(true);\n document.querySelector('body').classList.add('modal-carousel-curator-open');\n setCurrentZoomSlide(slideIndex);\n };\n const controls = (pauseButton) => {\n return (React.createElement(\"div\", { className: \"row curator-carousel-arrow-row\" },\n React.createElement(\"div\", { className: \"col-3\" }, pauseButton),\n React.createElement(\"div\", { className: \"curator-carousel__arrow-container col-6\" },\n React.createElement(\"i\", { className: \"btn--backward-white\" }),\n React.createElement(\"p\", { className: \"curator-carousel__arrow-txt\" }, t('button.dragtoexplore')),\n React.createElement(\"i\", { className: \"btn--forward-white\" })),\n React.createElement(\"div\", { className: \"curator-carousel__arrow-container col-3\" })));\n };\n return (React.createElement(React.Fragment, null,\n React.createElement(\"h2\", { className: \"curator-carousel__title\" }, sliderComponent === null || sliderComponent === void 0 ? void 0 : sliderComponent.title),\n React.createElement(\"div\", { className: \"curator-carousel__swiper-container js-curator-carousel\", \"data-option-title\": sliderComponent === null || sliderComponent === void 0 ? void 0 : sliderComponent.title },\n React.createElement(\"div\", { className: \"curator-carousel__description col-sm-6\", dangerouslySetInnerHTML: { __html: sliderComponent === null || sliderComponent === void 0 ? void 0 : sliderComponent.text } }),\n React.createElement(\"div\", { className: \"curator-carousel__carousel-wrapper\" },\n React.createElement(AutoplayCarousel, { swiperConf: swiperConf, afterContainer: controls, darkMode: true }, slides === null || slides === void 0 ? void 0 : slides.map((slide, i) => (React.createElement(SwiperSlide, { key: slide.id, onClick: () => openModal(i) },\n React.createElement(CuratorCarouselSlide, { url: slide.custom.image, alt: slide.data.imgAlt, current: i + 1, max: slides.length }))))))),\n modalOpen && (React.createElement(FocusTrap, null,\n React.createElement(\"div\", { className: \"swiper-container swiper-container--gallery focus-inverted curator-carousel__zoom-container js-curator-carousel__zoom\", role: \"dialog\", \"aria-label\": \"Large view Gallery\", tabIndex: -1 },\n React.createElement(SwiperInstance, { className: \"curator-carousel-fullHeight\", loop: true, keyboard: { enabled: true }, allowTouchMove: false, slidesPerView: 1, initialSlide: currentZoomSlide, navigation: {\n nextEl: '.swiper-button-next',\n prevEl: '.swiper-button-prev',\n }, mousewheel: {\n forceToAxis: true,\n thresholdDelta: 20,\n } }, slides === null || slides === void 0 ? void 0 :\n slides.map((slide, i) => (React.createElement(SwiperSlide, { key: slide.id },\n React.createElement(CuratorCarouselSlideZoomModal, { onZoom: setDisabled, url: slide.custom.image, slideText: slide.data.text, onCloseModal: () => closeModal(), alt: \"{slide.data.imgAlt}\", current: i + 1, max: slides.length })))),\n React.createElement(\"div\", { className: \"carousel-gallery__arrow-container \" },\n React.createElement(\"button\", { className: \"carousel-gallery__arrow swiper-button-prev\", \"aria-label\": t('carousel.prevslidemessage'), disabled: disabled, ref: btnLeft }),\n React.createElement(\"button\", { className: \"carousel-gallery__arrow carousel-gallery__arrow--arrow-right swiper-button-next\", \"aria-label\": t('carousel.nextslidemessage'), disabled: disabled, ref: btnRight }))))))));\n};\nexport default CuratorCarousel;\n"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","key","call","join","module","exports","default","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","_slicedToArray","arr","arrayWithHoles","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","value","unsupportedIterableToArray","nonIterableRest","warn","console","_console","_len","args","_key","concat","alreadyWarned","warnOnce","_len2","_key2","Date","loadNamespaces","i18n","ns","cb","isInitialized","on","initialized","setTimeout","off","ownKeys","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","_objectSpread","target","source","forEach","getOwnPropertyDescriptors","defineProperties","defineProperty","usePrevious","ignore","ref","useRef","useEffect","current","useTranslation","undefined","i18nFromProps","_ref","useContext","i18nFromContext","defaultNSFromContext","defaultNS","reportNamespaces","notReadyT","k","retNotReady","t","ready","options","react","wait","i18nOptions","useSuspense","keyPrefix","namespaces","addUsedNamespaces","initializedStoreOnce","every","n","languages","ignoreJSONStructure","hasLoadedNamespace","precheck","i18nInstance","loadNotPending","bindI18n","indexOf","services","backendConnector","backend","isLanguageChangingTo","lng","fallbackLng","lastLng","toLowerCase","l","loadState","state","hasResourceBundle","resources","partialBundledLanguages","oldI18nextHasLoadedNamespace","getT","window","msgdebug","wrappedT","getFixedT","nsMode","_useState2","useState","setT","joinedNS","previousJoinedNS","isMounted","bindI18nStore","boundReset","store","split","e","isInitial","ret","Promise","resolve","mediaQueries","assign","mqObj","currentBreakpoint","setCurrentBreakpoint","_a","documentWidth","innerWidth","visualViewport","width","filtered","getInitialBreakpointValue","handleResize","currentBr","getCurrentBreakpoint","addEventListener","removeEventListener","AutoplayHelper","constructor","swiperRef","setIsAutoplayActive","isAutoplayActive","setIsLocked","this","swiper","wrapperEl","style","transitionDuration","swipeTiming","setAutoplay","autoplay","realignPausedCarousel","originalTransform","previousIndex","realIndex","activeIndex","originalTransformValues","map","parseInt","originalDestTranslate","Math","floor","normalizedTranslate","abs","normalizedSnapGrid","snapGrid","val","originalDestIndex","translate","pauseCarousel","running","stop","animating","transform","getComputedStyle","getTranslate","leftmostSlide","slides","leftmostSlideBounds","getBoundingClientRect","x","left","playCarousel","start","handlePauseButton","children","afterContainer","beforeContainer","swiperConf","withArrows","darkMode","autoplayHelper","setAutoplayHelper","isLocked","container","useBreakpoint","update","handleArrowHide","classList","remove","playClass","pauseClass","pauseButton","onClick","className","arrowClassName","direction","renderBeforeContainer","onMouseEnter","onMouseLeave","type","slidePrev","slideNext","onMouseMove","eTargetClassList","contains","mousewheel","disable","enable","pageX","percentage","offsetWidth","add","handleArrowShow","Suspense","fallback","onSwiper","onScroll","onTouchStart","onTouchEnd","slideReset","onResize","renderAfterContainer","src","url","alt","max","zoomTimerId","touchstartX","touchendX","zoomRef","imgRef","isDragging","setIsDragging","zoomPos","setZoomPos","y","scale","onUpdate","useCallback","img","clearTimeout","setProperty","onZoom","onKeyDown","onCloseModal","_b","changedTouches","screenX","swiperHandler","scaling","disabled","scaleTo","innerHeight","maxZoom","minZoom","onDragStart","onDragEnd","dragging","slideText","btnLeft","btnRight","setDisabled","sliderComponent","setSliderComponent","setSlides","modalOpen","setModalOpen","currentZoomSlide","setCurrentZoomSlide","keyboard","enabled","speed","watchSlidesProgress","loop","centeredSlides","slidesPerView","spaceBetween","delay","disableOnInteraction","forceToAxis","thresholdDelta","a11y","slideLabelMessage","breakpoints","api","pageId","then","data","carouselComponent","regions","components","find","el","id","uuid","title","dangerouslySetInnerHTML","__html","text","AutoplayCarousel","slide","openModal","slideIndex","document","querySelector","custom","image","imgAlt","role","tabIndex","allowTouchMove","initialSlide","navigation","nextEl","prevEl"],"sourceRoot":""}