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AoB,KAAU,KAC1B,gBAAoB,MAAO,CAAEvS,UAAW,6BACpC,gBAAoB,EAAkB,CAAEkO,UAAWA,MAC3DA,EAAUsH,iBAAwG,SAApFtH,aAA6C,EAASA,EAAUsH,kBAA+B,gBAAoB,KAAU,KACvJ,gBAAoB,MAAO,CAAExV,UAAW,6BACpC,gBAAoB,EAAc,CAAEsW,eAAgB3W,aAAqC,EAASA,EAAM2W,eAAgBd,gBAAiBtH,EAAUsH,gBAAgB+E,0BACnL,OAAQ,gBAAoB,WAAgB,OACtC5a,aAAqC,EAASA,EAAM6a,YAAc,gBAAoB,EAAiB,CAAE/D,IAAK9W,EAAM8W,IAAKD,iBAvBvG,KACpB0D,IACAva,EAAM6W,kBAAoB7W,EAAM6W,kBAAiB,EAAK,EAqBwGG,UAAU,IACxKzI,GAAc,gBAAoB,WAAgB,KAC9C,gBAAoBuM,EAAA,EAAS,CAAE3a,OAAQH,EAAMiZ,KAAM8B,YAAa,KACpD/a,EAAM6a,WACNN,GACJ,EACDja,eAAgB,KACfyW,EAAA,mBAA2B/W,EAAM8W,IAAK,SACtC9W,EAAM6W,kBAAiB,GACvB+B,GAAmB,EACpBvY,UAAW,qBACd,gBAAoB,MAAO,CAAEA,UAAW,kDACpC,gBAAoB,MAAO,CAAEA,UAAW,2BAA6Bma,OAC7E,gBAAoB,MAAO,CAAEna,UAAW,yBAA0ByL,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, updateLoggeedStatus: 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.reloadPage && !props.reloadComponent) {\n window.location.reload();\n }\n else if (props.reloadComponent) {\n props.updateLoggeedStatus(true);\n window.loggedin = true;\n customEventBus.emit('account:update', {});\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","updateLoggedin","reloadPageRegisteredInStore","fromMinicart","classNames","reload","loggedin","_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":""}