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AAK,cACjE,gBAAoB,KAAU,KAC1B,gBAAoB,MAAO,CAAExS,UAAW,6BACpC,gBAAoB,EAAkB,CAAEmO,UAAWA,MAC3DA,EAAUsH,iBAAwG,SAApFtH,aAA6C,EAASA,EAAUsH,kBAA+B,gBAAoB,KAAU,KACvJ,gBAAoB,MAAO,CAAEzV,UAAW,6BACpC,gBAAoB,EAAc,CAAEuW,eAAgB5W,aAAqC,EAASA,EAAM4W,eAAgBd,gBAAiBtH,EAAUsH,gBAAgB+E,0BACnL,OAAQ,gBAAoB,WAAgB,OACtC7a,aAAqC,EAASA,EAAM8a,YAAc,gBAAoB,EAAiB,CAAE/D,IAAK/W,EAAM+W,IAAKD,iBAvBvG,KACpB0D,IACAxa,EAAM8W,kBAAoB9W,EAAM8W,kBAAiB,EAAK,EAqBwGG,UAAU,IACxKzI,GAAc,gBAAoB,WAAgB,KAC9C,gBAAoBuM,EAAA,EAAS,CAAE5a,OAAQH,EAAMkZ,KAAM8B,YAAa,KACpDhb,EAAM8a,WACNN,GACJ,EACDla,eAAgB,KACf0W,EAAA,mBAA2BhX,EAAM+W,IAAK,SACtC/W,EAAM8W,kBAAiB,GACvB+B,GAAmB,EACpBxY,UAAW,qBACd,gBAAoB,MAAO,CAAEA,UAAW,kDACpC,gBAAoB,MAAO,CAAEA,UAAW,2BAA6Boa,OAC7E,gBAAoB,MAAO,CAAEpa,UAAW,yBAA0B0L,QAAQ,GAAQ0O,MAAiB,C","sources":["webpack:///./assets/common/src/components/error/ErrorModal.tsx","webpack:///./assets/common/src/components/login/LoginOrRegisterColumn.tsx","webpack:///./assets/common/src/components/login/LoginOrRegisterHeader.tsx","webpack:///./assets/common/src/components/login/RegistrationSuccessful.tsx","webpack:///./assets/common/src/components/storelocator/StoreAddress.tsx","webpack:///./assets/common/src/components/storelocator/StoreGetDirections.tsx","webpack:///./assets/common/src/ui/accordion/Accordion.tsx","webpack:///./assets/common/src/ui/accordion/AccordionItem.tsx","webpack:///./assets/common/src/ui/drawes/Drawers.tsx","webpack:///./assets/common/src/utils/addressutils.ts","webpack:///./assets/common/src/utils/ui.ts","webpack:///./assets/common/src/utils/useChartTable.ts","webpack:///./assets/moncler/src/components/appointments/BookAnAppointmentMbm.tsx","webpack:///./assets/moncler/src/components/experience/DigitalFlagshipSmallPromoCard.tsx","webpack:///./assets/moncler/src/components/mbm/MbmNotifyMeModal.tsx","webpack:///./assets/moncler/src/components/sizeguide/BodyMeasurements.tsx","webpack:///./assets/moncler/src/components/sizeguide/HowToMeasure.tsx","webpack:///./assets/moncler/src/components/sizeguide/SizeGuideButton.tsx","webpack:///./assets/moncler/src/components/sizeguide/SizeGuide.tsx"],"sourcesContent":["import ModalDialog from '@ui/modal/ModalDialog';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst ErrorModal = (props) => {\n let { t } = useTranslation();\n return props.message ? (React.createElement(ModalDialog, { isOpen: true, overlayClassName: \"mobile-visible\", className: \"modal--fixed-small\", onRequestClose: () => props.onClose(), contentLabel: props.label ? props.label : t('label.sorry') },\n React.createElement(\"div\", { role: \"alert\", dangerouslySetInnerHTML: { __html: props.message } }))) : (React.createElement(React.Fragment, null));\n};\nexport default ErrorModal;\n","import React, { useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport LoginEmailForm from '@components/login/LoginEmailForm';\nimport LoginPasswordForm from '@components/login/LoginPasswordForm';\nimport LoginSocial from '@components/login/LoginSocial';\nimport RegisterForm from '@components/login/RegisterForm';\nimport LoginJoinMoncler from '@components/login/LoginJoinMoncler';\nimport LoginOrRegisterSocial from './LoginOrRegisterSocial';\nimport LoginOrRegisterHeader from './LoginOrRegisterHeader';\nimport RegistrationSuccessful from './RegistrationSuccessful';\nimport classNames from 'classnames';\nimport OtherLoginMethods from './OtherLoginMethods';\nimport RegisteredInStore from '@components/login/RegisteredInStore';\nimport RegisteredInStoreSendEmail from '@components/login/RegisteredInStoreSendEmail';\nimport WalletConnectBtn from '@moncler/components/nft/WalletConnectBtn';\nconst hero = {\n title: 'My Moncler',\n background: '/on/demandware.static/-/Library-Sites-library-global/default/menu/myaccount-hero.jpg',\n};\nconst HeroBanner = () => {\n return (React.createElement(\"div\", { className: \"myaccount-hero\", style: { backgroundImage: `url(${hero.background})` } },\n React.createElement(\"h2\", { className: \"myaccount-hero__title\" }, hero.title)));\n};\nconst WishlistButtonDesktop = ({ wishlistUrl, wishlistCount }) => {\n const { t } = useTranslation();\n return (React.createElement(\"a\", { className: \"wishlist-desktop-button bold border-bottom border-top primary-s mt-32\", href: wishlistUrl },\n t('bag.wishlist'),\n wishlistCount > 0 && (React.createElement(React.Fragment, null,\n ' ',\n \"(\",\n React.createElement(\"span\", { className: \"wishlist-count\" }, wishlistCount),\n \")\"))));\n};\nconst LoginOrRegisterColumn = (props) => {\n const { t } = useTranslation();\n const [loginStep, setLoginStep] = useState(props.defaultRegister ? 'register' : 'email');\n const [loginEmail, setLoginEmail] = useState();\n const [loginMethods, setLoginMethods] = useState([]);\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"wrapper-header-modal\" },\n loginStep != 'registration-successful' && props.inModal && ((props.inAccountMenu && loginStep != 'email') || !props.inAccountMenu) && (React.createElement(LoginOrRegisterHeader, { onBack: () => {\n if (loginStep == 'email') {\n (props === null || props === void 0 ? void 0 : props.onBack) && props.onBack();\n }\n else {\n setLoginStep('email');\n }\n }, step: loginStep })),\n props.inModal && (React.createElement(\"button\", { type: \"button\", \"aria-label\": t('button.close'), className: classNames('modal__close', { invert: loginStep == 'email' && props.inAccountMenu }), onClick: props.closeModal }))),\n loginStep == 'email' && (React.createElement(React.Fragment, null,\n props.inAccountMenu && React.createElement(HeroBanner, null),\n React.createElement(LoginEmailForm, { setLoginStep: setLoginStep, setLoginEmail: setLoginEmail, setLoginMethods: setLoginMethods, analyticsKey: props.inModal ? 'modal' : props.analyticsKey }),\n !window.isClothing && window.sociallogin && window.enabledSocials.length > 0 && (React.createElement(LoginOrRegisterSocial, { from: props.from, reloadUrl: props.reloadAfterSocialLogin || props.linkreload || location.href, analyticsKey: props.analyticsKey })),\n React.createElement(LoginJoinMoncler, { inModal: props.inModal }),\n props.inAccountMenu && (React.createElement(React.Fragment, null,\n React.createElement(WishlistButtonDesktop, { wishlistCount: props.wishlistCount, wishlistUrl: props.wishlistUrl }),\n React.createElement(WalletConnectBtn, { btnClass: \"wallet-connect__btn\", analyticsCategory: \"menu\", analyticsAction: \"wallet connect\" }))))),\n loginStep == 'password' && (React.createElement(LoginPasswordForm, { setLoginStep: setLoginStep, loginEmail: loginEmail, rememberme: props.rememberme, privacypolicy: props.privacypolicy, forgotpasswordform: props.forgotpasswordform, singleColumn: true, linkreload: props.linkreload, updateLoggeedStatus: props.updateLoggeedStatus, reloadComponent: props.reloadComponent })),\n loginStep == 'social-login' && React.createElement(LoginSocial, { setLoginStep: setLoginStep, loginEmail: loginEmail, socialUsed: loginMethods[0].ID, singleColumn: true }),\n !window.isClothing && ((loginStep == 'password' && loginMethods.length > 1) || loginStep == 'social-login') && (React.createElement(\"div\", { className: \"mt-32 border-top pt-24\" },\n React.createElement(OtherLoginMethods, { loginMethods: loginMethods, setLoginStep: setLoginStep, loginStep: loginStep }))),\n loginStep == 'register' && (React.createElement(RegisterForm, { loginEmail: loginEmail, setLoginStep: setLoginStep, setForceReload: props.setForceReload, pageContext: props.pageContext, reloadComponent: props.reloadRegisterComponent })),\n loginStep == 'registration-successful' && React.createElement(RegistrationSuccessful, { reloadPage: props.reloadPage, updateLoggedStatus: props.updateLoggedin, closeModal: props.closeModal }),\n loginStep == 'registeredInStore' && (React.createElement(\"div\", { className: \"login-registration__registration registered-in-store\" },\n React.createElement(RegisteredInStore, { rememberme: true, loginEmail: loginEmail, setLoginStep: setLoginStep, updateLoggeedStatus: props.updateLoggeedStatus, reloadComponent: props.reloadComponent, linkreload: props.linkreload, reloadPageRegisteredInStore: props.reloadPageRegisteredInStore }))),\n loginStep == 'registeredInStoreSendEmail' && (React.createElement(\"div\", { className: \"login-registration__registration registered-in-store-send-email\" },\n React.createElement(RegisteredInStoreSendEmail, { fromMinicart: true, loginEmail: loginEmail, setLoginStep: setLoginStep })))));\n};\nexport default LoginOrRegisterColumn;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst LoginOrRegisterHeader = (props) => {\n const { t } = useTranslation();\n return (React.createElement(\"div\", { className: \"login-register-header\" },\n React.createElement(\"button\", { type: \"button\", \"aria-label\": t('button.back'), className: \"modal__back\", onClick: props.onBack }),\n React.createElement(\"h2\", { className: \"mt-20\" }, props.step == 'email' ? t('login.loginregister') : props.step == 'register' ? t('login.registertomymoncler') : t('login.logintomymoncler'))));\n};\nexport default LoginOrRegisterHeader;\n","import customEventBus from '@common/scripts/libs/eventBus';\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst RegistrationSuccessful = (props) => {\n const { t } = useTranslation();\n return (React.createElement(\"div\", { className: classNames('login-registration__registration-successful', props.classNames) },\n React.createElement(\"h2\", { className: \"mt-64 mb-8 primary-m\" }, t('modal.loginregister.successfull')),\n React.createElement(\"p\", { className: \"primary-xs\" }, t('modal.loginregister.thankyou1')),\n React.createElement(\"p\", { className: \"mb-24 primary-xs\" }, t('modal.loginregister.thankyou2')),\n React.createElement(\"button\", { type: \"button\", \"aria-label\": t('button.close'), className: \"button button--primary primary-xs\", onClick: () => {\n if (props.reloadComponent && props.updateLoggedStatus) {\n props.updateLoggedStatus(true);\n window.loggedin = true;\n customEventBus.emit('account:update', {});\n }\n else if (props.reloadPage) {\n window.location.reload();\n }\n else {\n props.closeModal();\n }\n } }, t('modal.loginregister.keepbrowsing'))));\n};\nexport default RegistrationSuccessful;\n","import { getId } from '@common/utils/brandDiffsUtils';\nimport StoreGetDirections from '@components/storelocator/StoreGetDirections';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst StoreAddress = (props) => {\n var _a, _b, _c, _d;\n const { t } = useTranslation();\n const brandId = getId();\n const { store, hidename, showphone, showmail, showdirections, showHours } = props;\n if (!store) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"address\", { className: \"store-details\", \"data-boutiqueid\": store.ID },\n !hidename && React.createElement(\"span\", { className: \"name\" }, store.name),\n brandId === 'MO' ? (React.createElement(React.Fragment, null,\n store.countryCode.value != 'JP' && React.createElement(\"span\", { className: \"address\" }, `${store.address1 || ''} ${store.address2 || ''} `),\n React.createElement(\"span\", { className: \"address2\" },\n store.postalCode,\n \" \",\n store.countryCode.value === 'JP' ? (_a = store.countryCode) === null || _a === void 0 ? void 0 : _a.displayValue : '',\n \" \",\n store.city,\n ' ',\n store.countryCode.value === 'US' || store.countryCode.value === 'CA' ? store === null || store === void 0 ? void 0 : store.stateCode : '',\n \" \",\n store.countryCode.value != 'JP' ? (_b = store.countryCode) === null || _b === void 0 ? void 0 : _b.displayValue : ''),\n store.countryCode.value === 'JP' && React.createElement(\"span\", { className: \"address\" }, `${store.address1 || ''} ${store.address2 || ''} `))) : (React.createElement(React.Fragment, null,\n React.createElement(\"span\", { className: \"address\" },\n React.createElement(React.Fragment, null,\n store.countryCode.value != 'JP' && `${store.address1 || ''} ${store.address2 || ''} `,\n props.split && React.createElement(\"br\", null),\n store.postalCode,\n \" \",\n store.countryCode.value === 'JP' ? (_c = store.countryCode) === null || _c === void 0 ? void 0 : _c.displayValue : '',\n \" \",\n store.city,\n ' ',\n store.countryCode.value === 'US' || store.countryCode.value === 'CA' ? store === null || store === void 0 ? void 0 : store.stateCode : '',\n ' ',\n store.countryCode.value != 'JP' ? (_d = store.countryCode) === null || _d === void 0 ? void 0 : _d.displayValue : '')))),\n showphone && store.phone && (React.createElement(\"a\", { href: `tel:${store.phone}`, className: \"telephone\" }, store.phone)),\n showmail && store.email && (React.createElement(\"a\", { target: \"_blank\", rel: \"noreferrer\", href: `mailto:${store.email}`, className: \"email\" }, store.email)),\n showdirections && React.createElement(StoreGetDirections, { store: store }),\n showHours && store.storeHours && (React.createElement(\"div\", { className: \"store-details__hours\" },\n React.createElement(\"span\", { className: \"store-details__title\" }, t('label.storeHours')),\n React.createElement(\"dl\", null, store.storeHours.map((sh) => (React.createElement(React.Fragment, { key: sh.day },\n React.createElement(\"dt\", null, sh.day),\n React.createElement(\"dd\", null, sh.text)))))))));\n};\nexport default StoreAddress;\n","import classNames from 'classnames';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst StoreGetDirections = (props) => {\n const { t } = useTranslation();\n const { store, className, trackingAction } = props;\n return (React.createElement(\"a\", { href: `https://www.google.com/maps/dir/?api=1&destination=${store.latitude},${store.longitude}`, target: \"_blank\", rel: \"noreferrer\", className: classNames('get-directions', className), onClick: trackingAction ? trackingAction : undefined },\n React.createElement(\"span\", null, t('button.getdirections'))));\n};\nexport default StoreGetDirections;\n","import React, { cloneElement, useEffect, useMemo, useState, createElement } from 'react';\nimport { isInViewport, scrollToPx } from '../../utils/ui';\nimport classNames from 'classnames';\nlet timeoutId;\nconst Accordion = (props) => {\n const [expandedCard, setExpandedCard] = useState();\n const [height, setHeight] = useState(0);\n const groupRef = React.createRef();\n const setOpen = (i) => {\n setExpandedCard(i);\n };\n const isOpen = (i) => {\n return expandedCard === i;\n };\n const onChildSelect = (i) => {\n setOpen(isOpen(i) ? null : i);\n };\n // OE-14667 set the accordion close if there is a new result in the search input\n useEffect(() => {\n if (props.results && props.results.length > 0) {\n setOpen(-1);\n }\n }, [props.results]);\n const scrollToElement = (container, opener) => {\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => {\n if (!isInViewport(opener)) {\n const scrollPosition = window.scrollY;\n const containerScrollPosition = container.getBoundingClientRect().top;\n let header = document.querySelector('header');\n const headerHeight = header && header.offsetHeight;\n const gap = 100;\n const scrollPositionFinal = scrollPosition + containerScrollPosition - headerHeight - gap;\n scrollToPx(scrollPositionFinal);\n }\n }, 500);\n };\n useEffect(() => {\n let defaultOpen;\n React.Children.forEach(props.children, (c, i) => {\n if (!!c) {\n if (React.isValidElement(c)) {\n if (c.props.isInitialOpen) {\n defaultOpen = c.key || i;\n }\n }\n else {\n console.warn('Element is not an accordion item.', c);\n }\n }\n });\n setOpen(defaultOpen);\n }, []);\n useEffect(() => {\n console.log('set accordion height');\n setHeight(groupRef.current.clientHeight);\n }, []);\n const childrenLength = useMemo(() => {\n let counter = 0;\n React.Children.map(props.children, () => {\n counter += 1;\n });\n return counter;\n }, []);\n // causava sfarfallamenti\n // const disableScroll = () => {\n // if (timeout) {\n // clearTimeout(timeout);\n // }\n // document.documentElement.classList.add('initial-scroll');\n // const scrollTop = window.pageYOffset || document.documentElement.scrollTop;\n // const scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;\n // window.onscroll = () => {\n // window.scrollTo(scrollLeft, scrollTop);\n // };\n // };\n // const enableScroll = () => {\n // document.documentElement.classList.remove('initial-scroll');\n // window.onscroll = () => {};\n // };\n return createElement(props.type, {\n className: classNames('accordion__group', { 'accordion__group--flex': props.flex, 'accordion__group--list': props.type === 'ul' }),\n ref: groupRef,\n style: { gap: props.gap || 0 },\n }, React.Children.map(props.children, (child, i) => {\n if (React.isValidElement(child)) {\n return cloneElement(child, Object.assign({ onSelect: () => onChildSelect(child.key || i), expanded: isOpen(child.key || i), loading: isOpen(child.key || i) && child.props.initiallyClosed, scrollToElement: scrollToElement, flex: props.flex, gap: props.gap, parentHeight: height, childrenLength: childrenLength, type: (props.type === 'ul' && 'li') || 'div' }, child.props));\n }\n }));\n};\nAccordion.defaultProps = {\n type: 'div',\n};\nexport default Accordion;\n","import classNames from 'classnames';\nimport React, { useEffect, useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst AccordionItem = (props) => {\n const { t } = useTranslation();\n const accordionPanel = useRef();\n const container = useRef();\n const opener = useRef();\n // const firstChildMargin = window.getComputedStyle(props?.parentRef?.firstChild as Element).getPropertyValue('margin-bottom');\n // useEffect(() => {\n // let heightForFlex;\n // if (props.flex && props.gap && props.parentHeight) {\n // heightForFlex =\n // console.log('children total height', heightForFlex);\n // }\n // }, [props.parentHeight]);\n useEffect(() => {\n console.log('Update Height: ', props.accordionId, props.updateHeight);\n // actual animation\n if (props.flex && props.gap && props.parentHeight) {\n accordionPanel.current.style.height = props.expanded\n ? props.autoHeight\n ? 'auto'\n : `${(props === null || props === void 0 ? void 0 : props.parentHeight) - (container.current.clientHeight * props.childrenLength + props.gap * (props.childrenLength - 1))}px`\n : '0px';\n }\n else {\n accordionPanel.current.style.height = props.expanded ? (props.autoHeight ? 'auto' : `${accordionPanel.current.firstElementChild.scrollHeight}px`) : '0px';\n }\n }, [props.expanded, props.children, props.updateHeight, props.parentHeight]);\n return (React.createElement(\"div\", { ref: container, className: (!props.miniAccordion ? 'accordion__item' : '') + (props.itemClass ? ' ' + props.itemClass : '') },\n React.createElement(\"button\", { ref: opener, type: \"button\", id: props.accordionId, onClick: () => {\n props.onClick && props.onClick();\n props.onSelect();\n if (props.callbackOnOpen && !props.expanded) {\n props.callbackOnOpen();\n }\n if (props.scrollToElement) {\n props.scrollToElement(container.current, opener.current);\n }\n }, className: classNames(props.miniAccordion ? 'accordion__header--mini' : 'accordion__header', { accordion__panel_open: props.expanded, 'header--selected': props.elementActive }, props.headerClass ? props.headerClass : ''), \"aria-expanded\": props.expanded, \"aria-controls\": props.accordionId + '-panel', tabIndex: props.tabIndex || null },\n props.isTitleMarkup ? props.title : React.createElement(\"span\", { className: \"primary-s\" + (props.miniAccordion ? ' accordion__header--underline' : '') }, props.title),\n !props.hideToggleButtons && !props.miniAccordion && (React.createElement(React.Fragment, null,\n React.createElement(\"i\", { className: \"header__open\" },\n React.createElement(\"span\", { className: \"text\" }, t('button.show'))),\n React.createElement(\"i\", { className: \"header__close\" },\n React.createElement(\"span\", { className: \"text\" }, t('button.hide'))))),\n props.miniAccordion &&\n React.createElement(React.Fragment, null,\n !props.expanded && React.createElement(\"div\", { className: \"accordion__header--arrow-down\" }),\n props.expanded && React.createElement(\"div\", { className: \"accordion__header--arrow-up\" }))),\n React.createElement(\"div\", { ref: accordionPanel, className: classNames(`accordion__panel${!!props.contentClass ? ' ' + props.contentClass : ''}`, { accordion__panel_open: props.expanded }), role: \"region\", id: props.accordionId + '-panel', \"aria-labelledby\": props.accordionId },\n React.createElement(\"div\", null,\n React.createElement(React.Fragment, null,\n props.loading && React.createElement(\"p\", { className: \"pb-12\" }, t('label.loading')),\n props.children)))));\n};\nAccordionItem.defaultProps = {\n isTitleMarkup: false,\n type: 'div',\n};\nexport default AccordionItem;\n","import classNames from 'classnames';\nimport React, { useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Modal from 'react-modal';\nconst appElement = document.getElementById('maincontent');\nModal.setAppElement(appElement ? appElement : document.getElementsByTagName('body')[0]);\nconst Drawers = (props) => {\n const { t } = useTranslation();\n const closeButton = () => {\n return (React.createElement(\"button\", { type: \"button\", \"aria-label\": t('button.close'), className: classNames('modal__close', props.closeInvertedSm && 'modal__close--inverted-sm', props.isSticky && 'is__sticky'), onClick: (e) => {\n e.stopPropagation();\n props === null || props === void 0 ? void 0 : props.onRequestClose(e);\n } }));\n };\n useEffect(() => {\n window.gbotNormalizer();\n }, [props.children]);\n return (React.createElement(React.Fragment, null,\n React.createElement(Modal, Object.assign({ closeTimeoutMS: 600 }, props, { overlayClassName: classNames('overlay-modal drawers-overlay-modal', props.overlayClassName, props.hasBackdrop ? 'backdrop--bg-transparent' : ''), className: classNames('drawers', props.className) }),\n !props.buttonInHeader && closeButton(),\n props.buttonInHeader && closeButton(),\n props.subjsx && props.subjsx(),\n props.children),\n React.createElement(\"div\", { className: \"googlebot-content-view\", hidden: true }, props.children)));\n};\nexport default Drawers;\n","import api from '@utils/api';\nimport formutils from './formutils';\nconst addressutils = {\n saveAddress: async (values, formdef, onServerError, onSuccess) => {\n let errors = await formutils.validateForm(values, formdef, 'address');\n if (errors && Object.keys(errors).length > 0) {\n return errors;\n }\n return api\n .saveAddress(values, formdef)\n .then((data) => {\n if (data.error && data.error.length > 0) {\n }\n if (data.fields && Object.keys(data.fields).length > 0) {\n Object.keys(data.fields).forEach((f) => {\n errors[f.substring(f.lastIndexOf('_') + 1, f.length)] = data.fields[f];\n });\n return errors;\n }\n onSuccess();\n })\n .catch((e) => onServerError(e));\n },\n salutation: (fistname, lastname, title) => {\n if (window.language == 'ja') {\n return `${lastname} ${fistname} 様`;\n }\n if (window.language == 'ch' || window.language == 'zh') {\n return `${lastname} ${fistname}${title || ''}`;\n }\n return `${title || ''} ${fistname} ${lastname}`;\n },\n};\nexport default addressutils;\n","/**\n *\n * check if given element is in viewpot\n * @param elem - element to check\n *\n * @returns return true if is in viewport\n */\nexport const isInViewport = (elem) => {\n const bounding = elem.getBoundingClientRect();\n return (bounding.top >= 0 &&\n bounding.left >= 0 &&\n bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&\n bounding.right <= (window.innerWidth || document.documentElement.clientWidth));\n};\nexport const scrollToPx = (endPosition) => {\n if ('scrollBehavior' in document.documentElement.style) {\n window.scrollTo({\n top: endPosition,\n left: 0,\n behavior: 'smooth',\n });\n }\n else {\n let gap = window.scrollY;\n const direction = gap > endPosition ? 'up' : 'down';\n const int = setInterval(function () {\n if (direction === 'up') {\n gap -= 10;\n if (gap <= endPosition)\n clearInterval(int);\n }\n else {\n gap += 10;\n if (gap >= endPosition)\n clearInterval(int);\n }\n window.scrollTo(0, gap);\n }, 10);\n }\n};\n// for PLP tiles check\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst findDuplicates = () => {\n const tiles = new Map();\n document.querySelectorAll('[data-id]').forEach((tile) => {\n // @ts-ignore\n let currentId = tile.dataset.id;\n if (tiles.has(currentId)) {\n tiles.set(currentId, Number(tiles.get(currentId)) + 1);\n }\n else {\n tiles.set(currentId, 1);\n }\n });\n let duplicateCounter = 0;\n for (const [key, value] of tiles) {\n if (value > 1) {\n duplicateCounter++;\n console.info(`found ${value} duplicates for ${key}`);\n }\n }\n console.info(`%cfound a total of ${duplicateCounter} duplicates!`, 'color:purple;background-color:white;font-weight:bold;');\n};\n","import { useEffect, useState } from 'react';\nconst useChartTable = (sizeChart, setCountrySize, setMonclerSizes) => {\n const [localTable, setTable] = useState();\n useEffect(() => {\n var _a, _b;\n if (sizeChart && sizeChart.content) {\n const localtable = {};\n sizeChart.content.forEach((chart, i) => {\n let chartTitle = chart.title ? chart.title : 'cm';\n const decodedMap = decodeURI(sizeChart.content[i].content);\n localtable[chartTitle] = decodedMap.split('\\n').map((el) => el.split('\\t'));\n });\n setTable(localtable);\n }\n if (sizeChart && sizeChart.sizechartdata) {\n const sizeMoncler = sizeChart.sizechartdata.countries.find((c) => c.id == 'MONCLER');\n sizeMoncler.rawValues = sizeMoncler.values.map((v) => v.toString().replace(/[.,]/g, ''));\n let sizeCountry = (_a = sizeChart === null || sizeChart === void 0 ? void 0 : sizeChart.sizechartdata) === null || _a === void 0 ? void 0 : _a.countries.find((el) => el.id == window.country);\n if (!sizeCountry) {\n let fallbackCountryID;\n if (sizeChart.sizechartdata.defaultSizeConversion) {\n fallbackCountryID = (_b = sizeChart.sizechartdata.defaultSizeConversion.find((s) => s.id == window.country)) === null || _b === void 0 ? void 0 : _b.defaultSizeConversion;\n }\n sizeCountry = sizeChart.sizechartdata.countries.find((c) => c.id == (fallbackCountryID || 'IT')) || sizeChart.sizechartdata.countries.find((c) => c.id !== 'MONCLER'); // IT acts as first fallback (OE-20412), then first of array (OE-29545)\n }\n setCountrySize(sizeCountry);\n if (setMonclerSizes) {\n setMonclerSizes(sizeMoncler);\n }\n }\n }, [sizeChart]);\n return localTable;\n};\nexport default useChartTable;\n","import ModalDialog from '@ui/modal/ModalDialog';\nimport Tooltip from '@ui/tooltip/Tooltip';\nimport analytics from '@utils/analytics';\nimport api from '@utils/api';\nimport React, { useEffect, useMemo, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { BAA } from '@utils/constants';\nimport BookAnAppointmentForm from './BookAnAppointmentForm';\nimport LoginOrRegisterColumn from '@components/login/LoginOrRegisterColumn';\nconst BookAnAppointmentMbm = (props) => {\n const { t } = useTranslation();\n const [showOverlay, setShowOverlay] = useState(false);\n const [storesAvailables, setStoresAvailables] = useState([]);\n const [selectedStore, setSelectedStore] = useState();\n const [storeFilter, setStoreFilter] = useState([]);\n const [loggedIn, setLoggedIn] = useState(window.loggedin);\n const storesContainer = useRef();\n useEffect(() => {\n console.info('load available stores for MBM BAA');\n api.bookAnAppointmentStores(window.country, '861860000', BAA.APPOINTMENT.INSTORE).then((data) => {\n let arr = [...storeFilter];\n arr = data.stores.map((e) => e.code);\n setStoreFilter(arr);\n });\n api.searchStoresWithPersonalization().then((data) => setStoresAvailables(data));\n }, []);\n // controlled from outside\n useEffect(() => {\n setShowOverlay(props.show);\n }, [props.show]);\n const storeFiltered = useMemo(() => {\n const storesFilterArray = storesAvailables.filter((store) => storeFilter.includes(store.ID));\n return [...new Set(storesFilterArray.map((store) => store))];\n }, [storesAvailables, storeFilter]);\n return (React.createElement(React.Fragment, null,\n props.show == undefined && (React.createElement(\"button\", { type: \"button\", className: `button ${props.ctaPrimary ? 'button--primary' : 'button--link button--arrow-right'}`, onClick: () => {\n var _a;\n setShowOverlay(true);\n if (props.onButtonClick) {\n props.onButtonClick();\n }\n else {\n analytics.bookAnAppointment((_a = props.product) === null || _a === void 0 ? void 0 : _a.masterId);\n }\n } },\n React.createElement(\"span\", null, t('storelocator.bookAnAppointment')))),\n React.createElement(ModalDialog, { id: \"mbm-baa\", hideHeader: true, noPadding: true, isOpen: showOverlay, className: \"bookanappointment mbm-modal\", contentLabel: t('bookanappointment.title'), onRequestClose: () => {\n if (props.show != undefined) {\n props.onClose();\n }\n else {\n setShowOverlay(false);\n }\n } },\n React.createElement(\"div\", { className: 'bookanappointment__body' },\n React.createElement(\"div\", { className: \"bookanappointment__left\", style: { backgroundImage: `url(${props.modalimage})` } }),\n React.createElement(\"div\", { className: \"bookanappointment__right\" },\n React.createElement(\"h1\", { className: \"dialog__title\" }, t('bookanappointment.title')),\n React.createElement(\"div\", { className: \"container-body-bookanappointiment\" }, loggedIn ? (React.createElement(React.Fragment, null, !selectedStore ? (React.createElement(React.Fragment, null,\n React.createElement(\"p\", { className: \"bookanappointment-mbm__desc primary-xs\" }, t('mbm.baa')),\n storeFiltered.length > 0 ? (React.createElement(React.Fragment, null,\n React.createElement(\"span\", { className: \"bookanappointment-mbm__descstores primary-xs\" }, t('mbm.availablestores')),\n React.createElement(\"ul\", { ref: storesContainer, className: \"bookanappointment-mbm__stores\" }, storeFiltered.map((store, i) => (React.createElement(\"li\", { key: i },\n React.createElement(\"button\", { onClick: () => setSelectedStore(store), className: \"bookanappointment-mbm__store\" },\n React.createElement(\"span\", null, store.countryCode.displayValue),\n React.createElement(\"p\", null, store.name)),\n React.createElement(\"div\", { className: \"store-features\" },\n store.storeServices.personalizationRoom && (React.createElement(\"div\", { className: \"store-feature\" },\n t('storelocator.personalizationRoom'),\n React.createElement(Tooltip, { id: store.ID + '_garment', icon: \"info\", text: t('storelocator.personalizationroom.tooltip'), containerRef: storesContainer }))),\n store.storeServices.personalizationRoom && store.storeServices.GarmentKit && React.createElement(\"span\", null, \"|\"),\n store.storeServices.GarmentKit && (React.createElement(\"div\", { className: \"store-feature\" },\n t('storelocator.GarmentKit'),\n React.createElement(Tooltip, { id: store.ID + '_garment', icon: \"info\", text: t('storelocator.garmentkit.tooltip'), containerRef: storesContainer })))))))))) : (React.createElement(\"span\", { className: \"primary-xxs\" }, t('mbm.notavailablestores'))))) : (React.createElement(React.Fragment, null,\n React.createElement(BookAnAppointmentForm, { type: \"mbm\", recipeid: props.recipeid, size: props.size, store: selectedStore, onArrowBack: () => setSelectedStore(undefined), product: props.product, paletteName: props.paletteName, addToWishlist: props.addToWishlist, fromContinueInStore: props.fromContinueInStore, manageappointmenturl: props.manageappointmenturl }))))) : (React.createElement(LoginOrRegisterColumn, { reloadComponent: true, reloadPage: true, privacypolicy: window.privacypolicyurl || props.privacypolicy, forgotpasswordform: window.forgotpasswordform || props.forgotpasswordform, closeModal: () => props.onClose, updateLoggeedStatus: () => setLoggedIn(true), updateLoggedin: () => setLoggedIn(true) }))))))));\n};\nexport default BookAnAppointmentMbm;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst DigitalFlagshipSmallPromoCard = ({ store, image, trackingAction }) => {\n const { t } = useTranslation();\n return (React.createElement(\"div\", { className: 'digitalflagship-promocard-small' },\n React.createElement(\"div\", { className: 'digitalflagship-promocard-small__image' },\n React.createElement(\"img\", { src: image || `${window.globalstaticurl}/stores/flagship_small_promo_card.jpg`, alt: store.name })),\n React.createElement(\"div\", { className: 'digitalflagship-promocard-small__content' },\n React.createElement(\"div\", { className: \"digitalflagship-promocard-small__content__details\" },\n React.createElement(\"h3\", null, t('flagship.smallpromobanner.title', { defaultValue: \"Step inside the boutique\" })),\n React.createElement(\"p\", null, t('flagship.smallpromobanner.description', { defaultValue: 'Experience the flagship digitally.' }))),\n React.createElement(\"a\", { className: \"digitalflagship-promocard-small__content__cta\", href: `${window.digitalFlagshipUrl}?storeId=${store.ID}`, onClick: () => trackingAction === null || trackingAction === void 0 ? void 0 : trackingAction() }, t('button.explore', { defaultValue: \"Explore\" })))));\n};\nexport default DigitalFlagshipSmallPromoCard;\n","import ErrorBox from '@components/common/ErrorBox';\nimport Button from '@ui/button/Button';\nimport DwFormField from '@ui/formfield/DwFormField';\nimport ModalDialog from '@ui/modal/ModalDialog';\nimport analytics from '@utils/analytics';\nimport api from '@utils/api';\nimport formutils from '@utils/formutils';\nimport createDecorator from 'final-form-focus';\nimport React, { useEffect, useRef, useState } from 'react';\nimport { Form } from 'react-final-form';\nimport { useTranslation } from 'react-i18next';\nconst focusOnError = createDecorator(); // must be outside the component\nconst MbmNotifyMeModal = (props) => {\n var _a;\n const { t } = useTranslation();\n const [formdef, setFormdef] = useState();\n const [initialValues, setInitialValues] = useState();\n const [requestSent, setRequestSent] = useState();\n const [errors, setErrors] = useState([]);\n // non renderizzare la modale all'apertura della pagina, non fare chiamate se non aperta\n const firstRender = useRef(true);\n useEffect(() => {\n if (props.isOpen && firstRender.current) {\n firstRender.current = false;\n let val = {};\n api.getForm('email', val).then((data) => {\n setInitialValues(val);\n setFormdef(data);\n });\n }\n }, [props.isOpen]);\n const validate = async (values) => {\n return await formutils.validateForm(values, formdef, 'email');\n };\n const onSubmit = async (values) => {\n setErrors([]);\n let err = await validate(values);\n if (err && Object.keys(err).length > 0) {\n return err;\n }\n api.mbmNotifymeSubmit(values, formdef).then((data) => {\n if (!data.success) {\n setErrors([t(data === null || data === void 0 ? void 0 : data.message)]);\n }\n else {\n let errors = {};\n if (!formutils.checkValidationAfterSubmit(data, errors)) {\n return errors;\n }\n analytics.notifyMeSubmit('', props.productId, 'pdp', true);\n setRequestSent(values);\n }\n });\n };\n if (!formdef) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(ModalDialog, { hideHeader: true, noPadding: true, isOpen: props.isOpen, onRequestClose: props.onRequestClose, id: \"mbmNotifymeModal\" },\n React.createElement(\"div\", { className: \"product-mbm-notify\" },\n ((props === null || props === void 0 ? void 0 : props.imgs) || (props === null || props === void 0 ? void 0 : props.img)) && (React.createElement(\"div\", { className: \"mbm-notify-image\" },\n React.createElement(\"img\", { src: (props === null || props === void 0 ? void 0 : props.img) || (props === null || props === void 0 ? void 0 : props.imgs.urls[0]), alt: ((_a = props === null || props === void 0 ? void 0 : props.imgs) === null || _a === void 0 ? void 0 : _a.alt) || '' }))),\n requestSent ? (React.createElement(React.Fragment, null,\n React.createElement(\"h3\", { role: \"alert\", className: \"primary-m text-center mb-32\" }, t('mbm.notifyconfirmtitle')),\n React.createElement(\"p\", { className: \"primary-s text-center\", dangerouslySetInnerHTML: { __html: t('mbm.notifyconfirmtext') } }),\n React.createElement(\"div\", { className: \"mbm-finish__buttons\" },\n React.createElement(Button, { type: \"button\", cls: ['button--secondary'], onClick: () => {\n if (props === null || props === void 0 ? void 0 : props.inConfigurator) {\n if (props === null || props === void 0 ? void 0 : props.backToShopping) {\n window.location.href = props === null || props === void 0 ? void 0 : props.backToShopping;\n }\n else {\n window.location.href = window.homeurl;\n // history.back();\n }\n }\n else {\n props.onRequestClose();\n }\n } }, t('button.backtoshopping')),\n (props === null || props === void 0 ? void 0 : props.editLink) ? (React.createElement(\"a\", { href: props === null || props === void 0 ? void 0 : props.editLink, className: \"button button--primary\" },\n React.createElement(\"span\", null, t('mbm.configureyour')))) : (React.createElement(Button, { type: \"button\", cls: ['button--primary'], onClick: props.onRequestClose }, t('mbm.configureyour')))))) : (React.createElement(React.Fragment, null,\n React.createElement(\"h3\", { className: \"primary-m text-center mb-32\" }, t('mbm.notifytitle')),\n React.createElement(\"p\", { className: \"primary-s text-center mbm-notify-text\" }, t('mbm.notifytext')),\n React.createElement(Form, { onSubmit: onSubmit, initialValues: initialValues, decorators: [focusOnError], validate: (values) => validate(values), render: ({ handleSubmit, form, submitting, pristine, values }) => (React.createElement(\"form\", { onSubmit: handleSubmit },\n React.createElement(DwFormField, { def: formdef, name: \"email\" }),\n React.createElement(Button, { type: \"submit\", disabled: submitting, cls: ['button--primary'] }, t('button.mbmoos')))) }),\n React.createElement(ErrorBox, { errors: errors }))))));\n};\nexport default MbmNotifyMeModal;\n","import React, { useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport useChartTable from '@common/utils/useChartTable';\nconst METRIC = 'cm';\nconst IMPERIAL = 'inches';\nconst BodyMeasurements = (props) => {\n var _a, _b;\n const { t } = useTranslation();\n const { sizeChart } = props;\n const [currentMetrics, setCurrentMetrics] = useState(window.country == 'US' ? IMPERIAL : METRIC);\n const [countrySize, setCountrySize] = useState();\n const table = useChartTable(sizeChart, setCountrySize);\n const regionNames = useMemo(() => {\n return window.Intl && new Intl.DisplayNames([window.language == 'ch' ? 'zh-Hant' : window.language], { type: 'region', fallback: 'code' });\n }, []);\n const getRegionNames = (countryId) => {\n return regionNames ? regionNames.of(countryId) : countryId;\n };\n const metricLabel = useMemo(() => {\n if (!sizeChart) {\n return '';\n }\n return sizeChart.mannequinGender != 'dog' ? 'sizeguide.uom.kgcm' : 'sizeguide.uom.cm';\n }, [sizeChart]);\n const imperialLabel = useMemo(() => {\n if (!sizeChart) {\n return '';\n }\n return sizeChart.mannequinGender != 'dog' ? 'sizeguide.uom.inchespounds' : 'sizeguide.uom.inches';\n }, [sizeChart]);\n const metricSelector = () => (React.createElement(\"ul\", { className: \"switch\" },\n React.createElement(\"li\", null,\n React.createElement(\"button\", { type: \"button\", onClick: () => {\n setCurrentMetrics(METRIC);\n }, \"data-unit-value\": \"1\", className: currentMetrics === METRIC ? 'switch__item selected' : 'switch__item' }, t(metricLabel))),\n React.createElement(\"li\", null,\n React.createElement(\"button\", { type: \"button\", onClick: () => {\n setCurrentMetrics(IMPERIAL);\n }, \"data-unit-value\": \"0\", className: currentMetrics === IMPERIAL ? 'switch__item selected' : 'switch__item' }, t(imperialLabel)))));\n return (React.createElement(\"div\", { className: \"sizechart\" },\n !!sizeChart.sizechartdata ? (React.createElement(React.Fragment, null,\n !sizeChart.sizechartdata.hideCountrySelector && (React.createElement(\"div\", { className: \"form-group country-select\" },\n React.createElement(\"label\", { className: \"form-group__label\", htmlFor: \"country\" }, t('label.country')),\n React.createElement(\"div\", { className: \"form-select mb-12\" },\n React.createElement(\"select\", { name: \"country\", value: countrySize === null || countrySize === void 0 ? void 0 : countrySize.id, onChange: (e) => {\n setCountrySize(sizeChart.sizechartdata.countries.find((c) => c.id == e.target.value));\n } }, sizeChart.sizechartdata.countries\n .filter((c) => c.id != 'MONCLER')\n .map((c, i) => (React.createElement(\"option\", { key: i, value: c.id }, c.id.length == 2 ? getRegionNames(c.id) : c.id))))))),\n React.createElement(\"p\", { className: \"primary-xs\" }, t('sizechart.bodymeasurements')),\n React.createElement(\"div\", { className: \"custom-table\" },\n React.createElement(\"div\", { className: \"column fixed-col\" },\n React.createElement(\"span\", { className: \"text-uppercase primary-xs\" }, t('sizechart.monclersize')),\n sizeChart.sizechartdata.countries\n .find((c) => c.id == 'MONCLER')\n .values.map((s, i) => (React.createElement(\"span\", { className: \"primary-xs\", key: i }, s)))),\n React.createElement(\"div\", { className: \"scrollable-area\" },\n countrySize && (React.createElement(\"div\", { className: \"column\" },\n React.createElement(\"span\", { className: \"text-uppercase primary-xs\" }, (countrySize === null || countrySize === void 0 ? void 0 : countrySize.id.length) == 2 ? getRegionNames(countrySize === null || countrySize === void 0 ? void 0 : countrySize.id) : countrySize === null || countrySize === void 0 ? void 0 : countrySize.id), countrySize === null || countrySize === void 0 ? void 0 :\n countrySize.values.map((s, i) => (React.createElement(\"span\", { className: \"primary-xs\", key: i }, s))))),\n Object.keys(sizeChart.sizechartdata.labelsOnImage).map((c, i) => {\n return (React.createElement(\"div\", { key: i, className: \"column\" },\n React.createElement(\"span\", { className: \"text-uppercase primary-xs\" }, t(sizeChart.sizechartdata.labelsOnImage[c])),\n sizeChart.sizechartdata.countries\n .find((c) => c.id == 'MONCLER')\n .values.map((s, i) => {\n if (sizeChart.sizechartdata.sizes[s]) {\n return (React.createElement(\"span\", { className: \"primary-xs\", key: i },\n sizeChart.sizechartdata.sizes[s][c][currentMetrics],\n ' '));\n }\n })));\n }))))) : (table && (React.createElement(\"table\", { className: \"table\" },\n React.createElement(\"thead\", null,\n React.createElement(\"tr\", null, (_a = table[currentMetrics]) === null || _a === void 0 ? void 0 : _a[0].map((h, i) => (React.createElement(\"th\", { key: i }, h))))),\n React.createElement(\"tbody\", null, (_b = table[currentMetrics]) === null || _b === void 0 ? void 0 : _b.map((row, rowI) => {\n if (rowI === 0) {\n return;\n }\n return (React.createElement(\"tr\", { key: rowI }, row.map((item, itemI) => (React.createElement(\"td\", { key: itemI }, item)))));\n }))))),\n (!!sizeChart.content || (!!sizeChart.sizechartdata && !!sizeChart.sizechartdata.sizes && typeof Object.values(sizeChart.sizechartdata.sizes)[0] !== 'string')) && (React.createElement(\"div\", { className: \"sizechart__filters\" }, metricSelector()))));\n};\nexport default BodyMeasurements;\n","import React, { useMemo } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst HowToMeasure = (props) => {\n const { t } = useTranslation();\n const { mannequinGender } = props;\n const mannequinClass = useMemo(() => {\n return 'sizechart__mannequin--' + mannequinGender;\n }, [mannequinGender]);\n return (React.createElement(\"div\", { className: \"sizechart sizechart--measure\" },\n !['hand', 'dog'].includes(mannequinGender) && (React.createElement(\"p\", { className: \"mb-48 primary-xs section-description-measure\", dangerouslySetInnerHTML: { __html: t('sizeguide.text', { link: props.contactformurl }) } })),\n React.createElement(\"div\", { className: mannequinClass }),\n React.createElement(\"div\", { className: \"sizechart__wrapper\" }, mannequinGender === 'dog' ? (React.createElement(React.Fragment, null,\n React.createElement(\"p\", { className: \"mb-32 primary-xs\" }, t('sizeguide.howtomeasure.dog.intro')),\n React.createElement(\"dl\", { className: \"sizechart__legend\" },\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"A\"),\n t('sizeguide.dog.neck')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.dog.neckdesc')),\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"B\"),\n t('sizeguide.dog.breast')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.dog.breastdesc')),\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"C\"),\n t('sizeguide.dog.length')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.dog.lengthdesc'))))) : mannequinGender === 'hand' ? (React.createElement(React.Fragment, null,\n React.createElement(\"p\", { className: \"mb-32 primary-xs\" }, t('sizeguide.howtomeasure.hand.intro')),\n React.createElement(\"dl\", { className: \"sizechart__legend\" },\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"A\"),\n t('sizeguide.palm')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.howtomeasure.handdesc'))))) : (React.createElement(React.Fragment, null,\n React.createElement(\"p\", { className: \"mb-32 primary-xs\" }, t('sizeguide.howtomeasure.intro')),\n React.createElement(\"dl\", { className: \"sizechart__legend\" },\n mannequinGender === 'woman' ? (React.createElement(React.Fragment, null,\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"A\"),\n t('sizeguide.howtomeasure.womanchest')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.howtomeasure.womanchestdesc')))) : (React.createElement(React.Fragment, null,\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"A\"),\n t('sizeguide.howtomeasure.chest')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.howtomeasure.chestdesc')))),\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"B\"),\n t('sizeguide.howtomeasure.waist')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.howtomeasure.waistdesc')),\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"C\"),\n t('sizeguide.howtomeasure.hips')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.howtomeasure.hipsdesc')),\n mannequinGender != 'woman' && (React.createElement(React.Fragment, null,\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"D\"),\n t('sizeguide.howtomeasure.inseam')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.howtomeasure.inseamdesc')))),\n mannequinGender != 'woman' && mannequinGender != 'man' && (React.createElement(React.Fragment, null,\n React.createElement(\"dt\", { className: \"primary-xs\" },\n React.createElement(\"span\", null, \"E\"),\n t('sizeguide.howtomeasure.length')),\n React.createElement(\"dd\", { className: \"primary-xs\" }, t('sizeguide.howtomeasure.lengthdesc')))))))),\n React.createElement(\"div\", null)));\n};\nexport default HowToMeasure;\n","import useBreakpoint from '@common/utils/useBreakpoint';\nimport analytics from '@utils/analytics';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst SizeGuideButton = (props) => {\n const { t } = useTranslation();\n const currentBreakpoint = useBreakpoint();\n return (React.createElement(\"button\", { type: \"button\", className: \"button button--link findmysize-cta\", onClick: () => {\n props.setSizeguideOpen(true);\n (props === null || props === void 0 ? void 0 : props.pid) && analytics.sizeGuide(props.pid);\n }, \"aria-haspopup\": props.withAria ? 'dialog' : undefined },\n React.createElement(\"span\", { className: \"btn-label-find-size\" },\n t('sizeguide.findmysizecta'),\n React.createElement(\"i\", { className: \"icon--new-ruler\" }))));\n};\nexport default SizeGuideButton;\n","import analytics from '@utils/analytics';\nimport api from '@utils/api';\nimport React, { useEffect, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Tab, TabList, TabPanel, Tabs } from 'react-tabs';\nimport cookie from 'react-cookies';\nimport customEventBus from '@common/scripts/libs/eventBus';\nimport BodyMeasurements from './BodyMeasurements';\nimport HowToMeasure from './HowToMeasure';\nimport SizeGuideButton from './SizeGuideButton';\nimport Drawers from '@common/ui/drawes/Drawers';\nconst measmerizeconfig = {\n url: 'client.measmerize.com',\n brandid: window.measmerizeBrandIdWeb,\n};\nconst scriptWrapId = 'measmerize-script-wrap';\nconst SizeGuide = (props) => {\n const { t } = useTranslation();\n const [sizeChart, setSizeChart] = useState();\n const [measmerizeavailable, setMeasmerizeavailable] = useState(!!window.measmerizeBrandIdWeb);\n const measmerizeSuggestedSize = useRef();\n const measmerizeSelectedSize = useRef();\n const measmerizeReady = useRef(false);\n const waitingForMeasmerize = useRef();\n const prevoiusPid = useRef();\n const createScriptWrap = () => {\n const scriptWrap = document.createElement('div');\n scriptWrap.setAttribute('id', scriptWrapId);\n document.body.appendChild(scriptWrap);\n return scriptWrap;\n };\n const embedMeasmerize = (pid) => {\n if (pid) {\n let script = document.createElement('script');\n const scriptID = 'measmerize-script';\n const scriptWrap = document.getElementById(scriptWrapId) || createScriptWrap();\n const previousScript = !!document.getElementById(scriptID);\n // previousScript && cleanScriptWrap(); // Clean up previous embed\n if (props.pid && measmerizeavailable) {\n if (previousScript) {\n if (window.measmerize && window.measmerize.script) {\n window.measmerize.script.productCode = props.pid;\n //@ts-ignore\n script = document.getElementById(scriptID);\n }\n else {\n setMeasmerizeavailable(false);\n }\n }\n else {\n script.id = scriptID;\n script.src = `https://${measmerizeconfig.url}/script.js`;\n script.async = true;\n // script.setAttribute('data-profile', 'low');\n script.setAttribute('data-brand-code', window.measmerizeBrandIdWeb);\n script.setAttribute('data-product-code', props.pid);\n script.setAttribute('data-lang-code', window.language);\n script.setAttribute('data-country-code', window.country);\n scriptWrap === null || scriptWrap === void 0 ? void 0 : scriptWrap.appendChild(script);\n }\n script.addEventListener('measmerize.widget.ready', onMeasmerizeReady);\n script.addEventListener('measmerize.widget.unavailable', onMeasmerizeUnavailable);\n script.addEventListener('measmerize.widget.recommend', onMeasmerizeRecommend);\n script.addEventListener('measmerize.widget.select', onMeasmerizeSelect);\n script.addEventListener('measmerize.modal.close', onMeasmerizeClose);\n }\n }\n };\n const removeMeasmerizeListeners = () => {\n const script = document.getElementById('measmerize-script');\n if (script) {\n script.removeEventListener('measmerize.widget.ready', onMeasmerizeReady);\n script.removeEventListener('measmerize.widget.unavailable', onMeasmerizeUnavailable);\n script.removeEventListener('measmerize.widget.recommend', onMeasmerizeRecommend);\n script.removeEventListener('measmerize.widget.select', onMeasmerizeSelect);\n script.removeEventListener('measmerize.modal.close', onMeasmerizeClose);\n }\n // measmerizeReady.current = false;\n // cleanScriptWrap();\n props.onSizeSuggestion && props.onSizeSuggestion('');\n };\n // reload measmerize embed script\n useEffect(() => {\n if (props.pid != prevoiusPid.current) {\n prevoiusPid.current = props.pid;\n }\n else if (props.master != prevoiusPid.current) {\n prevoiusPid.current = props.master;\n }\n embedMeasmerize(prevoiusPid.current);\n return () => {\n removeMeasmerizeListeners();\n };\n }, [props.pid, measmerizeavailable]);\n const firstRender = useRef('');\n useEffect(() => {\n if (props.open && firstRender.current != props.pid) {\n firstRender.current = props.pid;\n if (props.sizeChart) {\n setSizeChart(props.sizeChart);\n }\n else {\n api.getSizeChart(props.pid).then((data) => setSizeChart(data));\n }\n }\n }, [props.pid, props.open, props.sizeChart]);\n useEffect(() => {\n props.open ? document.documentElement.classList.add('sizeguide-enabled') : document.documentElement.classList.remove('sizeguide-enabled');\n return () => {\n document.documentElement.classList.remove('sizeguide-enabled');\n };\n }, [props.open]);\n useEffect(() => {\n window.gbotNormalizer();\n }, [sizeChart]);\n const onMeasmerizeUnavailable = () => {\n setMeasmerizeavailable(false);\n };\n const onMeasmerizeSelect = (event) => {\n var _a;\n measmerizeSelectedSize.current = (_a = event === null || event === void 0 ? void 0 : event.detail) === null || _a === void 0 ? void 0 : _a.size;\n };\n useEffect(() => {\n // -- prevent auto zoom on select a input on mobile\n if (props.open) {\n const meta = document.createElement('meta');\n meta.name = 'viewport';\n meta.content = 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0';\n document.getElementsByTagName('head')[0].appendChild(meta);\n }\n return () => {\n const meta = document.querySelector('meta[name=viewport]');\n meta === null || meta === void 0 ? void 0 : meta.remove();\n };\n }, [props.open]);\n const toggleMeasmerizeAnalytics = () => {\n let thirdParyAccepted = false;\n if (window.cookiePolicy === 'OneTrust' && cookie.load('OptanonAlertBoxClosed')) {\n // OneTrust\n const oneTrustChoices = cookie.load('OneTrustChoices');\n thirdParyAccepted = oneTrustChoices && oneTrustChoices.meTracking;\n }\n else if (cookie.load('TC_PRIVACY_CENTER')) {\n //Legacy Cookie System\n thirdParyAccepted = cookie.load('TC_PRIVACY_CENTER').includes('2');\n }\n if (thirdParyAccepted) {\n window.measmerize.tracking.enableAnalytics();\n }\n else {\n window.measmerize.tracking.disableAnalytics();\n }\n };\n const onMeasmerizeReady = (ev) => {\n measmerizeReady.current = true;\n toggleMeasmerizeAnalytics();\n customEventBus.on('cookieConsent:clicked', toggleMeasmerizeAnalytics);\n window.addEventListener('OneTrust:changed', toggleMeasmerizeAnalytics);\n if (waitingForMeasmerize.current) {\n window.measmerize.modal.mount();\n waitingForMeasmerize.current = false;\n }\n return true;\n };\n const onMeasmerizeClose = () => {\n var _a, _b;\n const size = measmerizeSelectedSize.current || measmerizeSuggestedSize.current;\n props.onSizeguideSelection && props.onSizeguideSelection(size);\n props.setSizeguideOpen(false);\n (_b = (_a = window.measmerize) === null || _a === void 0 ? void 0 : _a.modal) === null || _b === void 0 ? void 0 : _b.unMount();\n };\n const onMeasmerizeRecommend = (event) => {\n var _a;\n measmerizeSuggestedSize.current = (_a = event === null || event === void 0 ? void 0 : event.detail) === null || _a === void 0 ? void 0 : _a.size;\n props.onSizeSuggestion && props.onSizeSuggestion(measmerizeSuggestedSize.current);\n };\n const mountMeasmerizeWhenAvailable = () => {\n if (measmerizeReady.current) {\n window.measmerize.modal.mount();\n }\n else {\n waitingForMeasmerize.current = true;\n setMeasmerizeavailable(false);\n }\n };\n const onSizeGuideOpen = () => {\n mountMeasmerizeWhenAvailable();\n props.setSizeguideOpen && props.setSizeguideOpen(true);\n };\n const tabsLayout = () => (React.createElement(Tabs, { className: \"tabs sizechart-tabs\", forceRenderTabPanel: true },\n React.createElement(\"div\", { className: \"wrapper-tab-list\" },\n React.createElement(TabList, { className: \"react-tabs__tab-list\" },\n measmerizeavailable && window.measmerize && (React.createElement(Tab, { onClick: () => {\n analytics.sizeGuideOverlay(props.pid, 'find my size');\n } }, t('sizeguide.findmysize'))),\n React.createElement(Tab, { onClick: () => analytics.sizeGuideOverlay(props.pid, 'body measurements') }, (props === null || props === void 0 ? void 0 : props.hideBodyMeasurements) ? t('sizeguide.itemmeasurements') : t('sizeguide.bodymeasurements')),\n sizeChart.mannequinGender && (sizeChart === null || sizeChart === void 0 ? void 0 : sizeChart.mannequinGender) != 'none' && (React.createElement(Tab, { onClick: () => analytics.sizeGuideOverlay(props.pid, 'how to measure') }, t('sizeguide.howtomeasure.title'))))),\n React.createElement(\"div\", { className: \"wrapper-tab-panels\" },\n measmerizeavailable && window.measmerize && (React.createElement(TabPanel, null,\n React.createElement(\"div\", { id: \"measmerize-modal\" }, window.loaderSrc && (React.createElement(\"div\", { id: \"loaderContainer\" },\n React.createElement(\"img\", { src: window.loaderSrc, alt: \"loader\" })))))),\n React.createElement(TabPanel, null,\n React.createElement(\"div\", { className: \"product-details container\" },\n React.createElement(BodyMeasurements, { sizeChart: sizeChart }))),\n sizeChart.mannequinGender && (sizeChart === null || sizeChart === void 0 ? void 0 : sizeChart.mannequinGender) != 'none' && (React.createElement(TabPanel, null,\n React.createElement(\"div\", { className: \"product-details container\" },\n React.createElement(HowToMeasure, { contactformurl: props === null || props === void 0 ? void 0 : props.contactformurl, mannequinGender: sizeChart.mannequinGender.toLocaleLowerCase() })))))));\n return (React.createElement(React.Fragment, null,\n !(props === null || props === void 0 ? void 0 : props.onlyModal) && React.createElement(SizeGuideButton, { pid: props.pid, setSizeguideOpen: onSizeGuideOpen, withAria: true }),\n sizeChart && (React.createElement(React.Fragment, null,\n React.createElement(Drawers, { isOpen: props.open, onAfterOpen: () => {\n if (props.onlyModal) {\n mountMeasmerizeWhenAvailable();\n }\n }, onRequestClose: () => {\n analytics.sizeGuideOverlay(props.pid, 'close');\n props.setSizeguideOpen(false);\n onMeasmerizeClose();\n }, className: \"measmerize-drawer\" },\n React.createElement(\"div\", { className: \"product-details-tab drawer-details-composition\" },\n React.createElement(\"div\", { className: \"wrapper-product-details\" }, tabsLayout()))),\n React.createElement(\"div\", { className: \"googlebot-content-view\", hidden: true }, tabsLayout())))));\n};\nexport default SizeGuide;\n"],"names":["props","t","message","isOpen","overlayClassName","className","onRequestClose","onClose","contentLabel","label","role","dangerouslySetInnerHTML","__html","hero","HeroBanner","style","backgroundImage","WishlistButtonDesktop","wishlistUrl","wishlistCount","href","loginStep","setLoginStep","useState","defaultRegister","loginEmail","setLoginEmail","loginMethods","setLoginMethods","inModal","inAccountMenu","onBack","step","type","invert","onClick","closeModal","analyticsKey","window","isClothing","sociallogin","enabledSocials","length","from","reloadUrl","reloadAfterSocialLogin","linkreload","location","btnClass","analyticsCategory","analyticsAction","rememberme","privacypolicy","forgotpasswordform","singleColumn","updateLoggeedStatus","reloadComponent","socialUsed","ID","setForceReload","pageContext","reloadRegisterComponent","reloadPage","updateLoggedStatus","updateLoggedin","reloadPageRegisteredInStore","fromMinicart","classNames","loggedin","reload","_a","_b","_c","_d","brandId","store","hidename","showphone","showmail","showdirections","showHours","name","countryCode","value","address1","address2","postalCode","displayValue","city","stateCode","split","phone","email","target","rel","storeHours","map","sh","key","day","text","trackingAction","latitude","longitude","undefined","timeoutId","Accordion","expandedCard","setExpandedCard","height","setHeight","groupRef","setOpen","i","useEffect","results","scrollToElement","container","opener","clearTimeout","setTimeout","scrollPosition","scrollY","containerScrollPosition","getBoundingClientRect","top","header","document","querySelector","scrollPositionFinal","offsetHeight","defaultOpen","children","c","isInitialOpen","console","warn","log","current","clientHeight","childrenLength","useMemo","counter","createElement","flex","ref","gap","child","cloneElement","Object","assign","onSelect","onChildSelect","expanded","loading","initiallyClosed","parentHeight","defaultProps","AccordionItem","accordionPanel","useRef","accordionId","updateHeight","autoHeight","firstElementChild","scrollHeight","miniAccordion","itemClass","id","callbackOnOpen","accordion__panel_open","elementActive","headerClass","tabIndex","isTitleMarkup","title","hideToggleButtons","contentClass","appElement","getElementById","getElementsByTagName","closeButton","closeInvertedSm","isSticky","e","stopPropagation","gbotNormalizer","closeTimeoutMS","hasBackdrop","buttonInHeader","subjsx","hidden","addressutils","saveAddress","async","values","formdef","onServerError","onSuccess","errors","keys","then","data","error","fields","forEach","f","substring","lastIndexOf","catch","salutation","fistname","lastname","language","isInViewport","elem","bounding","left","bottom","innerHeight","documentElement","right","innerWidth","clientWidth","scrollToPx","endPosition","scrollTo","behavior","direction","int","setInterval","clearInterval","sizeChart","setCountrySize","setMonclerSizes","localTable","setTable","content","localtable","chart","chartTitle","decodedMap","decodeURI","el","sizechartdata","sizeMoncler","countries","find","rawValues","v","toString","replace","sizeCountry","country","fallbackCountryID","defaultSizeConversion","s","showOverlay","setShowOverlay","storesAvailables","setStoresAvailables","selectedStore","setSelectedStore","storeFilter","setStoreFilter","loggedIn","setLoggedIn","storesContainer","info","arr","stores","code","show","storeFiltered","storesFilterArray","filter","includes","Set","ctaPrimary","onButtonClick","product","masterId","hideHeader","noPadding","modalimage","recipeid","size","onArrowBack","paletteName","addToWishlist","fromContinueInStore","manageappointmenturl","storeServices","personalizationRoom","icon","containerRef","GarmentKit","privacypolicyurl","image","src","globalstaticurl","alt","defaultValue","digitalFlagshipUrl","focusOnError","setFormdef","initialValues","setInitialValues","requestSent","setRequestSent","setErrors","firstRender","val","validate","imgs","img","urls","cls","inConfigurator","backToShopping","homeurl","editLink","onSubmit","err","success","productId","decorators","render","handleSubmit","form","submitting","pristine","def","disabled","METRIC","IMPERIAL","useTranslation","currentMetrics","setCurrentMetrics","countrySize","table","useChartTable","regionNames","Intl","DisplayNames","fallback","getRegionNames","countryId","of","metricLabel","mannequinGender","imperialLabel","hideCountrySelector","htmlFor","onChange","labelsOnImage","sizes","h","row","rowI","item","itemI","mannequinClass","link","contactformurl","useBreakpoint","setSizeguideOpen","pid","analytics","withAria","measmerizeconfig","scriptWrapId","measmerizeBrandIdWeb","setSizeChart","measmerizeavailable","setMeasmerizeavailable","measmerizeSuggestedSize","measmerizeSelectedSize","measmerizeReady","waitingForMeasmerize","prevoiusPid","embedMeasmerize","script","scriptID","scriptWrap","setAttribute","body","appendChild","createScriptWrap","previousScript","measmerize","productCode","addEventListener","onMeasmerizeReady","onMeasmerizeUnavailable","onMeasmerizeRecommend","onMeasmerizeSelect","onMeasmerizeClose","master","removeEventListener","onSizeSuggestion","removeMeasmerizeListeners","open","api","classList","add","remove","event","detail","meta","toggleMeasmerizeAnalytics","thirdParyAccepted","cookiePolicy","cookie","oneTrustChoices","meTracking","tracking","enableAnalytics","disableAnalytics","ev","modal","mount","onSizeguideSelection","unMount","mountMeasmerizeWhenAvailable","tabsLayout","forceRenderTabPanel","hideBodyMeasurements","loaderSrc","toLocaleLowerCase","onlyModal","Drawers","onAfterOpen"],"sourceRoot":""}