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+B,GAE1C3D,SAAU6B,EAAa3G,OAAO0G,MAAMgC,GAEpCC,SAAUhC,GAAc3G,OAAO0G,MAAMkC,IAAMjC,EAAa3G,OAAO0G,MAAMgC,GAErEG,eAAgBlC,GAAc3G,OAAO0G,MAAMoC,GAE3CnK,UAAWgI,GAAc3G,OAAO0G,MAAMgC,GAEtCK,cAAepC,GAAc3G,OAAO0G,MAAMsC,IAC1C3B,QAASA,EACT4B,SAAU9B,EA5FC,IA6Fd,C,4DCjFL,IAXenM,IACX,MAAM,SAAE8J,IAAa,SACfoE,GAAO,IAAA1G,UAAQ,KACV,CACHvH,IAAK6J,GAAY9J,EAAMmO,UAAYnO,EAAMmO,UAAYnO,EAAMC,IAC3DI,IAAKL,EAAMK,KAAO,GAClBF,UAAWH,EAAMG,aAEtB,CAACH,EAAO8J,IACX,OAAO9J,EAAMoO,UAAY,gBAAoB,MAAOtG,OAAOC,OAAO,CAAE1H,IAAK6N,EAAK7N,KAAO6N,EAAM,CAAE,cAAelO,EAAMQ,cAAiB,gBAAoB,IAASsH,OAAOC,OAAO,CAAC,EAAGmG,EAAM,CAAE1N,WAAYR,EAAMQ,aAAc,C","sources":["webpack:///./assets/common/src/components/utils/Lazyimg.tsx","webpack:///./assets/stone/src/components/clientService/ClientServiceSection.tsx","webpack:///./assets/stone/src/components/clientService/GetInTouch.tsx","webpack:///./assets/stone/src/components/modal/ModalDialog.tsx","webpack:///./assets/stone/src/hooks/useMediaQueries.tsx","webpack:///./assets/stone/src/ui/image/Image.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport React from 'react';\nconst Lazyimg = (props) => {\n return (React.createElement(\"img\", { src: \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\", \"data-src\": props.src, \"data-srcset\": props.srcset, className: classNames('lazyload', props.className, { 'not-draggable': !props.draggable }), alt: props.alt, width: props === null || props === void 0 ? void 0 : props.width, height: props === null || props === void 0 ? void 0 : props.height, draggable: props.draggable, \"aria-hidden\": (props === null || props === void 0 ? void 0 : props.ariaHidden) ? true : false, \"data-sizes\": props.dataSizes }));\n};\nexport default Lazyimg;\n","import Button from '@stone/ui/button/Button';\nimport classNames from 'classnames';\nimport React from 'react';\nconst ClientServiceSection = (props) => {\n const { title, description, introSection, className, buttonLink, buttonText, children, borderBottom, buttonAction, noMargin, noPadding } = props;\n const textHolder = React.createElement(React.Fragment, null, title && React.createElement(\"h2\", { className: \"section__title\" }, title));\n if (!props.active) {\n return React.createElement(React.Fragment, null, props.children);\n }\n const renderTitle = !!title || !!buttonLink || !!buttonAction;\n return (React.createElement(\"section\", { className: classNames('client-service__section', {\n 'section--intro-section': introSection,\n 'section--title-only': !description && !children,\n 'section--little-snippet': buttonLink || buttonAction,\n 'section--border-bottom': borderBottom,\n 'section--no-margin': noMargin,\n 'section--no-padding': noPadding,\n }, className != undefined && className) },\n React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"div\", { className: \"row section__content\" },\n renderTitle && (React.createElement(\"div\", { className: \"col-24 col-lg-5 col-xxl-4 first-col\" }, buttonLink || buttonAction ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", null, textHolder),\n buttonAction ? (React.createElement(Button, { type: \"button\", cls: ['button--secondary'], onClick: buttonAction },\n React.createElement(\"span\", null, buttonText))) : (React.createElement(\"a\", { href: buttonLink, target: \"_blank\", className: \"button button--secondary\" },\n React.createElement(\"span\", null, buttonText))))) : (textHolder))),\n React.createElement(\"div\", { className: classNames('col-24 col-lg-14 col-xxl-12 last-col', { 'offset-lg-5 offset-xxl-6': !renderTitle }, { 'offset-xxl-2': renderTitle }) }, children)))));\n};\nClientServiceSection.defaultProps = {\n active: true,\n};\nexport default ClientServiceSection;\n","import api from '@utils/api';\nimport classNames from 'classnames';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport customEventBus from '@common/scripts/libs/eventBus';\nimport ClientServiceSection from './ClientServiceSection';\nimport useMediaQueries from '@stone/hooks/useMediaQueries';\nimport ModalDialog from '../modal/ModalDialog';\nconst GetInTouch = (props) => {\n var _a, _b, _c, _d;\n const { t } = useTranslation();\n // ANCHOR - USE STATE --------------------------------------------------------------------\n const [countries, setCountries] = useState();\n const [selectedCountry, setSelectedCountry] = useState();\n const [selectedCountryCode, setSelectedCountryCode] = useState();\n const [selOffMethod, setSelOffMethod] = useState();\n const [offlinePopup, setOfflinePopup] = useState(false);\n const [contacts, setContacts] = useState();\n const [serviceState, setServiceState] = useState();\n const [hourState, setHourState] = useState();\n const [siteRegion, setSiteRegion] = useState();\n const [openModal, setOpenModal] = useState(false);\n const [regionState, setRegionState] = useState();\n const { isDesktop } = useMediaQueries();\n // ANCHOR - MAPS --------------------------------------------------------------------\n const istantMessageNameMap = {\n whatsapp: 'WhatsApp',\n wechat: 'WeChat',\n kakao: 'Kakao',\n line: 'Line',\n };\n // ANCHOR - USE EFFECTS --------------------------------------------------------------------\n useEffect(() => {\n api.GetAllCountriesForContacts().then((res) => {\n if (res.data.length) {\n res.data.sort((a, b) => {\n if (a.name && b.name) {\n const A = a.name.toUpperCase();\n const B = b.name.toUpperCase();\n return A.localeCompare(B);\n }\n });\n setCountries(res.data);\n }\n });\n }, []);\n useEffect(() => {\n if (selectedCountry && countries) {\n const cCode = selectedCountry;\n setSelectedCountryCode(cCode);\n api.GetContactsByCountry(cCode).then((data) => {\n var _a, _b;\n if (data) {\n if (cCode.toLowerCase() === window.country.toLowerCase() && !siteRegion) {\n setSiteRegion((_a = data.chatConfig) === null || _a === void 0 ? void 0 : _a.region);\n }\n else {\n if (siteRegion !== ((_b = data.chatConfig) === null || _b === void 0 ? void 0 : _b.region)) {\n customEventBus.emit('contacts:live-chat', { hide: true });\n }\n else {\n customEventBus.emit('contacts:live-chat', { hide: false });\n }\n }\n setContacts(data);\n customEventBus.emit('contacts:selected-country', { csdata: data, countryCode: cCode });\n }\n });\n }\n else if (countries) {\n setSelectedCountry(window.country.toLowerCase());\n const cCodeIndex = countries.findIndex((country) => country.code == window.country.toLowerCase());\n const cCode = countries[cCodeIndex].code;\n setSelectedCountryCode(cCode);\n }\n }, [selectedCountry, countries]);\n // ANCHOR - FUNCTIONS --------------------------------------------------------------------\n const setOfflineMethod = (contactsChannel) => {\n if (contactsChannel) {\n // const offlineMethod = mock.findIndex((method) => method.id == id);\n setSelOffMethod(contactsChannel);\n setOfflinePopup(true);\n }\n };\n // SECTION - COMPONENTS --------------------------------------------------------------------\n // ANCHOR - RENDERS --------------------------------------------------------------------\n const renderDescription = () => props.description ||\n (props.layout !== 'ROWS' && React.createElement(\"div\", { className: \"getintouch__description\" }, props.description && React.createElement(\"p\", { className: \"getintouch__description\" }, props.description)));\n const renderSelect = () => (React.createElement(\"div\", { className: \"getintouch__select\" },\n React.createElement(\"div\", { className: \"form-group\" },\n React.createElement(\"label\", { htmlFor: \"location\", className: \"form-group__label\" }, t('clientservice.contactsdetails.selectlabel')),\n React.createElement(\"div\", { className: \"form-select\" },\n React.createElement(\"select\", { id: \"location\", name: \"location\", className: \"getintouch__selector-select\", value: selectedCountry, onChange: (e) => {\n setSelectedCountry(e.target.value);\n }, onBlur: (e) => {\n setSelectedCountry(e.target.value);\n } }, (countries || []).map((c, i) => (React.createElement(\"option\", { key: i, value: c.code }, c.name))))))));\n const renderList = () => {\n var _a, _b, _c, _d, _e, _f, _g;\n return (React.createElement(\"ul\", { className: \"getintouch__contacts\" },\n ((_a = contacts === null || contacts === void 0 ? void 0 : contacts.phone) === null || _a === void 0 ? void 0 : _a.enableWeb) && (React.createElement(ContactLink, { id: \"call\", href: (_b = contacts.phone) === null || _b === void 0 ? void 0 : _b.url, label: `${selectedCountryCode === null || selectedCountryCode === void 0 ? void 0 : selectedCountryCode.toUpperCase()} ${(_c = contacts.phone) === null || _c === void 0 ? void 0 : _c.num}`, offline: !contacts.phone.onlineStatus, contactMethod: contacts.phone })),\n ((_d = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage) === null || _d === void 0 ? void 0 : _d.enableWeb) && React.createElement(ContactButton, { contactMethod: contacts.instantmessage }),\n ((_e = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage2) === null || _e === void 0 ? void 0 : _e.enableWeb) && React.createElement(ContactButton, { contactMethod: contacts.instantmessage2 }),\n (contacts === null || contacts === void 0 ? void 0 : contacts.contactUs) && ((_f = contacts === null || contacts === void 0 ? void 0 : contacts.contactCenter) === null || _f === void 0 ? void 0 : _f.enableWeb) && (React.createElement(ContactLink, { id: \"mail\", href: ((_g = contacts.contactUs) === null || _g === void 0 ? void 0 : _g.url) + '#contact-form', label: t('clientservice.contactsdetails.email.extended') }))));\n };\n const renderFooterList = () => {\n var _a, _b, _c, _d, _e, _f, _g;\n return (React.createElement(React.Fragment, null,\n ((_a = contacts === null || contacts === void 0 ? void 0 : contacts.phone) === null || _a === void 0 ? void 0 : _a.enableWeb) && (React.createElement(ContactLink, { id: \"call\", href: (_b = contacts.phone) === null || _b === void 0 ? void 0 : _b.url, label: `${selectedCountryCode === null || selectedCountryCode === void 0 ? void 0 : selectedCountryCode.toUpperCase()} ${(_c = contacts.phone) === null || _c === void 0 ? void 0 : _c.num}`, offline: !contacts.phone.onlineStatus, contactMethod: contacts.phone, isFooter: true })),\n ((_d = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage) === null || _d === void 0 ? void 0 : _d.enableWeb) && React.createElement(ContactButton, { contactMethod: contacts.instantmessage, isFooter: true }),\n ((_e = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage2) === null || _e === void 0 ? void 0 : _e.enableWeb) && React.createElement(ContactButton, { contactMethod: contacts.instantmessage2, isFooter: true }),\n (contacts === null || contacts === void 0 ? void 0 : contacts.contactUs) && ((_f = contacts === null || contacts === void 0 ? void 0 : contacts.contactCenter) === null || _f === void 0 ? void 0 : _f.enableWeb) && (React.createElement(ContactLink, { id: \"mail\", href: ((_g = contacts.contactUs) === null || _g === void 0 ? void 0 : _g.url) + '#contact-form', label: t('clientservice.contactsdetails.email.extended'), isFooter: true }))));\n };\n const theresContact = useMemo(() => {\n var _a, _b, _c, _d;\n const theresContact = !!(((_a = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage) === null || _a === void 0 ? void 0 : _a.enableWeb) ||\n ((_b = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage2) === null || _b === void 0 ? void 0 : _b.enableWeb) ||\n ((_c = contacts === null || contacts === void 0 ? void 0 : contacts.phone) === null || _c === void 0 ? void 0 : _c.enableWeb) ||\n ((contacts === null || contacts === void 0 ? void 0 : contacts.contactUs) && ((_d = contacts === null || contacts === void 0 ? void 0 : contacts.contactCenter) === null || _d === void 0 ? void 0 : _d.enableWeb) && props.showEmail));\n return theresContact;\n }, [contacts]);\n const renderBlocks = () => {\n var _a, _b, _c, _d, _e, _f;\n return (React.createElement(\"div\", { className: \"row getintouch__blocks-row\" },\n ((_a = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage) === null || _a === void 0 ? void 0 : _a.enableWeb) && (React.createElement(ContactBlock, { id: contacts.instantmessage.service, buttonLabel: t('clientservice.startchat'), buttonUrl: contacts.instantmessage.url, title: istantMessageNameMap[contacts.instantmessage.service], online: contacts.instantmessage.onlineStatus, description: contacts.instantmessage.hour, contactMethod: contacts.instantmessage, layout: props.layout })),\n ((_b = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage2) === null || _b === void 0 ? void 0 : _b.enableWeb) && (React.createElement(ContactBlock, { id: contacts.instantmessage2.service, buttonLabel: t('clientservice.startchat'), buttonUrl: contacts.instantmessage2.url, title: istantMessageNameMap[contacts.instantmessage2.service], online: contacts.instantmessage2.onlineStatus, description: contacts.instantmessage2.hour, contactMethod: contacts.instantmessage2, layout: props.layout })),\n ((_c = contacts === null || contacts === void 0 ? void 0 : contacts.phone) === null || _c === void 0 ? void 0 : _c.enableWeb) && (React.createElement(ContactBlock, { id: \"call\", buttonLabel: `${selectedCountryCode === null || selectedCountryCode === void 0 ? void 0 : selectedCountryCode.toUpperCase()} ${(_d = contacts.phone) === null || _d === void 0 ? void 0 : _d.num}`, title: t('clientservice.callus'), description: contacts.phone.hour, online: contacts.phone.onlineStatus, contactMethod: contacts.phone, layout: props.layout })),\n (contacts === null || contacts === void 0 ? void 0 : contacts.contactUs) && ((_e = contacts === null || contacts === void 0 ? void 0 : contacts.contactCenter) === null || _e === void 0 ? void 0 : _e.enableWeb) && props.showEmail && (React.createElement(ContactBlock, { id: \"contacts\", buttonLabel: t('label.email'), buttonUrl: ((_f = contacts.contactUs) === null || _f === void 0 ? void 0 : _f.url) + '#contact-form', title: t('clientservice.contactusemail'), description: t('contactus.subIntro'), contactMethod: contacts.contactUs, layout: props.layout }))));\n };\n const renderContactUs = (overrideClass) => {\n var _a;\n return (contacts === null || contacts === void 0 ? void 0 : contacts.contactUs) && (React.createElement(\"a\", { id: \"contact-us\", href: (_a = contacts.contactUs) === null || _a === void 0 ? void 0 : _a.url, className: `button button--${overrideClass ? overrideClass : 'secondary'}` },\n React.createElement(\"span\", null, t('clientservice.contactus'))));\n };\n const renderOnlineStatus = (id, onlineStatus) => onlineStatus !== null &&\n onlineStatus !== undefined && (React.createElement(\"span\", { className: `font__subtitle tag-status--${onlineStatus ? 'online' : 'offline'}` }, id === 'call'\n ? onlineStatus\n ? t('clientservice.phone.online')\n : t('clientservice.phone.offline')\n : onlineStatus\n ? t('clientservice.instantmessage.online')\n : t('clientservice.instantmessage.offline')));\n // ANCHOR - COMPONENTS --------------------------------------------------------------------\n const ContactLink = (props) => (React.createElement(\"li\", { className: props.isFooter ? 'footer-collection__item' : 'getintouch__contacts-contact', id: props.id, key: props.isFooter ? props.id : null }, !props.offline ? (React.createElement(\"a\", { href: props.href, className: classNames({ 'button button--tertiary': !props.isFooter }) },\n React.createElement(\"span\", null, props.label))) : (React.createElement(ContactButtonOffline, Object.assign({}, props, { overrideTypeButton: props.isFooter && 'quaternary inverted' })))));\n const ContactButton = (props) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j;\n return props.contactMethod.onlineStatus ? (props.contactMethod.service === 'wechat' ? (React.createElement(\"li\", { className: \"getintouch__contacts-contact\", id: istantMessageNameMap[(_a = props.contactMethod) === null || _a === void 0 ? void 0 : _a.service].toLowerCase(), key: props.isFooter ? istantMessageNameMap[(_b = props.contactMethod) === null || _b === void 0 ? void 0 : _b.service].toLowerCase() : null },\n React.createElement(\"button\", { className: `button button--${props.overrideClass || 'tertiary'}`, type: \"button\", onClick: (e) => {\n setServiceState(props.contactMethod.service);\n setRegionState(props.contactMethod.region);\n setHourState(props.contactMethod.hour);\n setOpenModal(true);\n } },\n React.createElement(\"span\", null, istantMessageNameMap[(_c = props.contactMethod) === null || _c === void 0 ? void 0 : _c.service])))) : (React.createElement(ContactLink, { id: istantMessageNameMap[(_d = props.contactMethod) === null || _d === void 0 ? void 0 : _d.service].toLowerCase(), href: props.contactMethod.url, label: istantMessageNameMap[(_e = props.contactMethod) === null || _e === void 0 ? void 0 : _e.service], isFooter: props.isFooter }))) : (React.createElement(\"li\", { className: `${props.isFooter ? 'footer-collection__item' : 'getintouch__contacts-contact'}`, id: istantMessageNameMap[(_f = props.contactMethod) === null || _f === void 0 ? void 0 : _f.service].toLowerCase(), key: props.isFooter ? istantMessageNameMap[(_g = props.contactMethod) === null || _g === void 0 ? void 0 : _g.service].toLowerCase() : null },\n React.createElement(ContactButtonOffline, { id: istantMessageNameMap[(_h = props.contactMethod) === null || _h === void 0 ? void 0 : _h.service].toLowerCase(), label: istantMessageNameMap[(_j = props.contactMethod) === null || _j === void 0 ? void 0 : _j.service], contactMethod: props.contactMethod, isFooter: props.isFooter, overrideTypeButton: props.isFooter && 'quaternary inverted' })));\n };\n const ContactButtonOffline = (props) => (React.createElement(\"button\", { onClick: () => setOfflineMethod(props.contactMethod), className: `button button--${props.overrideTypeButton || 'tertiary'} ` },\n React.createElement(\"span\", null, props.label)));\n const ContactBlock = (props) => {\n var _a;\n return (React.createElement(\"div\", { className: classNames({\n 'col-lg-12 col-xxl-8 getintouch__contact-COLUMNS': !props.layout || props.layout == 'COLUMNS',\n 'col-lg-24 getintouch__contact-ROWS': props.layout === 'ROWS',\n }) },\n React.createElement(\"div\", { className: \"getintouch__contact-block\" },\n React.createElement(\"div\", { className: \"getintouch__contact-block-info\" },\n React.createElement(\"div\", { className: \"getintouch__contact-block-title\" },\n React.createElement(\"h3\", { className: \"font__title\" }, props.title),\n renderOnlineStatus(props.id, props.online)),\n React.createElement(\"p\", { className: \"getintouch__contact-block-description\" }, props.description)),\n ((_a = props === null || props === void 0 ? void 0 : props.contactMethod) === null || _a === void 0 ? void 0 : _a.service) === 'wechat' ? (React.createElement(\"button\", { className: \"button button--secondary full\", onClick: (e) => {\n setServiceState(props.contactMethod.service);\n setRegionState(props.contactMethod.region);\n setHourState(props.contactMethod.hour);\n setOpenModal(true);\n } },\n React.createElement(\"span\", null, props.buttonLabel))) : props.online || props.online === undefined ? (React.createElement(\"a\", { className: \"button button--secondary full\", href: props.buttonUrl || props.contactMethod.url },\n React.createElement(\"span\", null, props.buttonLabel))) : (React.createElement(ContactButtonOffline, { id: props.id, label: props.buttonLabel, contactMethod: props.contactMethod, overrideTypeButton: \"secondary full\" })))));\n };\n const NoDecorator = (props) => {\n return React.createElement(React.Fragment, null, props.children);\n };\n const WithDecorator = (!props.notInSection && ClientServiceSection) || NoDecorator;\n // !SECTION - end section components\n return (React.createElement(React.Fragment, null,\n props.type === 'FOOTER' ? (React.createElement(React.Fragment, null, renderFooterList())) : (React.createElement(React.Fragment, null, props.type === 'COLLAPSED' && !isDesktop ? (React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"div\", { className: \"getintouch__row\" },\n props.title && React.createElement(\"h2\", { className: \"getintouch__title font__title\" }, props.title),\n renderContactUs('tertiary')))) : (React.createElement(WithDecorator, { title: props.title, noPadding: true, className: classNames({ 'getintouch__cs-section': props.type === 'BLOCKS' }) },\n React.createElement(\"div\", { className: \"getintouch__wrapper\" },\n React.createElement(\"div\", { className: \"getintouch__row\" },\n isDesktop && (React.createElement(React.Fragment, null,\n (props.type === 'EXPANDED' || props.type === 'BLOCKS') && renderDescription(),\n props.type === 'COLLAPSED' && renderList())),\n (props.type === 'EXPANDED' || props.type === 'BLOCKS') && !props.hideCountrySelector && renderSelect(),\n props.type === 'COLLAPSED' && isDesktop && renderSelect()),\n props.type === 'EXPANDED' && (React.createElement(\"div\", { className: \"getintouch__row\" },\n renderList(),\n renderContactUs())),\n props.type === 'BLOCKS' && theresContact && React.createElement(\"div\", { className: \"getintouch__row\" }, renderBlocks())))))),\n React.createElement(ModalDialog, { overlayClassName: \"mobile-visible\", contentLabel: t('clientservice.contactsdetails.offlinechannel.title'), className: \"client-service__modal--small client-service__modal--offline modal--small\", isOpen: offlinePopup, role: \"dialog\", onAfterClose: () => {\n setSelOffMethod(null);\n }, onRequestClose: () => {\n setOfflinePopup(false);\n } },\n React.createElement(\"p\", null, t('clientservice.contactsdetails.offlinechannel.description')),\n selOffMethod && React.createElement(\"p\", { className: \"client-service__modal--offline__time\" }, selOffMethod.hour)),\n ((((_a = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage) === null || _a === void 0 ? void 0 : _a.enableWeb) && ((_b = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage) === null || _b === void 0 ? void 0 : _b.service) === 'wechat') ||\n (((_c = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage2) === null || _c === void 0 ? void 0 : _c.enableWeb) && ((_d = contacts === null || contacts === void 0 ? void 0 : contacts.instantmessage2) === null || _d === void 0 ? void 0 : _d.service) === 'wechat')) && (React.createElement(ModalDialog, { overlayClassName: \"mobile-visible\", isOpen: openModal, onRequestClose: () => {\n setOpenModal(false);\n }, className: \"client-service__modal--small client-service__modal--offline modal--small\", role: \"dialog\", contentLabel: t(`clientservice.contactsdetails.qr.title.wechat`) },\n React.createElement(\"p\", null, t(`clientservice.contactsdetails.qr.subtitle.wechat`)),\n React.createElement(\"div\", { className: \"client-service__modal-image-container\" },\n React.createElement(\"img\", { src: window.socialQrImageFolder + regionState + '-' + serviceState + '-qrcode.jpg', alt: \"\", width: \"152\", height: \"152\" })),\n hourState && React.createElement(\"p\", { className: \"client-service__modal--offline__time\" }, hourState)))));\n};\nexport default GetInTouch;\n","import classNames from 'classnames';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Modal from 'react-modal';\nimport useMediaQueries from '@stone/hooks/useMediaQueries';\nimport Image from '@stone/ui/image/Image';\nconst appElement = document.getElementById('maincontent');\nModal.setAppElement(appElement ? appElement : document.getElementsByTagName('body')[0]);\nconst ModalDialog = (props) => {\n var _a;\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'), onClick: (e) => {\n e.stopPropagation();\n props === null || props === void 0 ? void 0 : props.onRequestClose(e);\n } }));\n };\n const { isMobile } = useMediaQueries();\n const renderHeader = () => (React.createElement(React.Fragment, null, !props.hideHeader && (React.createElement(\"div\", { className: \"modal__header\" },\n props.buttonInHeader && closeButton(),\n props.beforeTitleButtons || props.afterTitleButtons ? (React.createElement(\"div\", { className: \"modal__header-title\" },\n props.beforeTitleButtons,\n React.createElement(\"h2\", { id: \"dialog1_label\", className: classNames('dialog__title', props.visuallyhidden && 'visually-hidden') }, props.contentLabel),\n props.afterTitleButtons)) : (React.createElement(\"h2\", { id: \"dialog1_label\", className: classNames('dialog__title', props.visuallyhidden && 'visually-hidden') }, props.contentLabel)),\n props.subjsx && props.subjsx(),\n props.subtitle && React.createElement(\"p\", { className: \"dialog__description\" }, props.subtitle)))));\n const renderChildren = () => props.image && !isMobile ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"modal__body--left\" },\n React.createElement(Image, { src: props.image, alt: \"\" })),\n React.createElement(\"div\", { className: \"modal__body--right\" },\n React.createElement(\"div\", { className: \"scrollable\" },\n renderHeader(),\n props.children)))) : (props.children);\n return (React.createElement(Modal, Object.assign({ \"aria-labelledby\": props.contentLabel ? 'dialog1_label' : '', closeTimeoutMS: 600 }, props, { overlayClassName: classNames('overlay-modal', props.overlayClassName), className: classNames('modal modal--dialog', props.noPadding && 'modal--no-padding', (_a = props.className) === null || _a === void 0 ? void 0 : _a.toString().replace('modal--centered', ''), {\n 'modal--fullheight': props.fullHeight,\n 'modal--fullwidth': props.fullWidth,\n 'modal--image': props.image,\n modal__legacy: props.isLegacy,\n }) }), props.noSkin ? (React.createElement(React.Fragment, null,\n !props.buttonInHeader && !props.hideCloseButton && closeButton(),\n renderChildren())) : (React.createElement(\"div\", { className: classNames({ container: !props.fullWidth || !isMobile }) },\n React.createElement(\"div\", { className: classNames({ 'row justify-center': !props.fullWidth || !isMobile, 'align-middle': !props.fullWidth || !isMobile }) },\n React.createElement(\"div\", { className: \"modal__closearea\", onClick: (e) => {\n e.stopPropagation();\n props === null || props === void 0 ? void 0 : props.onRequestClose(e);\n }, \"aria-hidden\": \"true\" }),\n React.createElement(\"div\", { className: classNames({ col: isMobile && !props.fullWidth }, 'modal__wrapper', { 'modal__legacy-wrapper': props.isLegacy }) },\n React.createElement(\"div\", { className: \"modal__container\" },\n React.createElement(\"div\", { className: classNames('modal__content', { container: isMobile }) },\n !props.buttonInHeader && closeButton(),\n (!props.image || isMobile) && renderHeader(),\n props.hasDivisor && React.createElement(\"hr\", { className: \"modal__divisor\" }),\n React.createElement(\"div\", { className: \"modal__body\" }, renderChildren())))))))));\n};\nexport default ModalDialog;\n","import { throttle } from 'lodash';\nimport { useLayoutEffect, useEffect, useRef, useState } from 'react';\nconst REFLOW_CAP = 400;\nconst getInitialBreakpointValue = () => {\n // get initial breakpoint is called before the page is fully loaded and innerWith may be 0. windows.mqObj may not be set\n var _a;\n const mediaQueries = window.mqObj;\n const documentWidth = window.innerWidth || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.width);\n if (documentWidth == 0 || !mediaQueries) {\n return;\n }\n const filtered = Object.keys(mediaQueries).filter((key) => mediaQueries[key] <= documentWidth);\n const initalBr = filtered.length ? mediaQueries[filtered[filtered.length - 1]] : mediaQueries['xs'];\n // console.info('[getInitialBreakpointValue]: ', documentWidth, initalBr);\n return initalBr;\n};\nconst getReflowValue = () => {\n var _a;\n const documentHeight = window.innerHeight || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.height);\n if (documentHeight == 0) {\n return;\n }\n return documentHeight < REFLOW_CAP ? 399 : REFLOW_CAP;\n};\nconst mediaQueries = Object.assign({ ' {\n const [breakpoint, setBreakpoint] = useState(getInitialBreakpointValue());\n const [breakpointHeight, setBreakpointHeight] = useState(getReflowValue());\n const [isTouch, setIsTouch] = useState(false);\n // const [isMotionReduced, setIsMotionReduced] = useState(false);\n const firstRender = useRef(true);\n function detectTouchscreen() {\n if (window.PointerEvent && 'maxTouchPoints' in navigator) {\n // if Pointer Events are supported, just check maxTouchPoints\n if (navigator.maxTouchPoints > 0) {\n setIsTouch(true);\n }\n }\n else {\n // no Pointer Events...\n if (window.matchMedia && window.matchMedia('(any-pointer:coarse)').matches) {\n // check for any-pointer:coarse which mostly means touchscreen\n setIsTouch(true);\n }\n else if (window.TouchEvent || 'ontouchstart' in window) {\n // last resort - check for exposed touch events API / event handler\n setIsTouch(true);\n }\n }\n }\n const getCurrentBreakpoint = () => {\n var _a;\n const documentWidth = window.innerWidth || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.width);\n if (documentWidth == 0) {\n return;\n }\n const filtered = Object.keys(mediaQueries).filter((key) => mediaQueries[key] <= documentWidth);\n return mediaQueries[filtered[filtered.length - 1]];\n };\n useEffect(() => {\n if (firstRender.current) {\n // setBreakpoint(window.innerWidth);\n firstRender.current = false;\n detectTouchscreen();\n }\n }, []);\n useLayoutEffect(() => {\n const handleResize = throttle(() => {\n const currentBr = getCurrentBreakpoint();\n if (currentBr && currentBr !== breakpoint) {\n setBreakpoint(currentBr);\n }\n const currentHBr = getReflowValue();\n if (currentHBr && currentHBr !== breakpointHeight) {\n setBreakpointHeight(currentHBr);\n }\n }, 200);\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, [breakpoint, breakpointHeight]);\n return {\n //@ts-ignore disable-next-line\n isTightMobile: breakpoint <= window.mqObj.xs,\n //@ts-ignore disable-next-line\n isMobile: breakpoint < window.mqObj.lg,\n //@ts-ignore disable-next-line\n isTablet: breakpoint >= window.mqObj.sm && breakpoint < window.mqObj.lg,\n //@ts-ignore disable-next-line\n isSmallDesktop: breakpoint >= window.mqObj.md,\n //@ts-ignore disable-next-line\n isDesktop: breakpoint >= window.mqObj.lg,\n //@ts-ignore disable-next-line\n isWideDesktop: breakpoint >= window.mqObj.xxl,\n isTouch: isTouch,\n isReflow: breakpointHeight < REFLOW_CAP,\n };\n};\nexport default useMediaQueries;\n","import Lazyimg from '@components/utils/Lazyimg';\nimport useMediaQueries from '@stone/hooks/useMediaQueries';\nimport React, { useMemo } from 'react';\nconst Image = (props) => {\n const { isMobile } = useMediaQueries();\n const args = useMemo(() => {\n return {\n src: isMobile && props.srcMobile ? props.srcMobile : props.src,\n alt: props.alt || '',\n className: props.className,\n };\n }, [props, isMobile]);\n return props.avoidLazy ? React.createElement(\"img\", Object.assign({ alt: args.alt }, args, { \"aria-hidden\": props.ariaHidden })) : React.createElement(Lazyimg, Object.assign({}, args, { ariaHidden: props.ariaHidden }));\n};\nexport default Image;\n"],"names":["props","src","srcset","className","draggable","alt","width","height","ariaHidden","dataSizes","ClientServiceSection","title","description","introSection","buttonLink","buttonText","children","borderBottom","buttonAction","noMargin","noPadding","textHolder","active","renderTitle","undefined","type","cls","onClick","href","target","defaultProps","_a","_b","_c","_d","t","countries","setCountries","useState","selectedCountry","setSelectedCountry","selectedCountryCode","setSelectedCountryCode","selOffMethod","setSelOffMethod","offlinePopup","setOfflinePopup","contacts","setContacts","serviceState","setServiceState","hourState","setHourState","siteRegion","setSiteRegion","openModal","setOpenModal","regionState","setRegionState","isDesktop","istantMessageNameMap","whatsapp","wechat","kakao","line","useEffect","then","res","data","length","sort","a","b","name","A","toUpperCase","B","localeCompare","cCode","toLowerCase","window","country","chatConfig","region","hide","csdata","countryCode","cCodeIndex","findIndex","code","renderSelect","htmlFor","id","value","onChange","e","onBlur","map","c","i","key","renderList","_e","_f","_g","phone","enableWeb","ContactLink","url","label","num","offline","onlineStatus","contactMethod","instantmessage","ContactButton","instantmessage2","contactUs","contactCenter","theresContact","useMemo","showEmail","renderContactUs","overrideClass","isFooter","ContactButtonOffline","Object","assign","overrideTypeButton","_h","_j","service","hour","contactsChannel","ContactBlock","layout","online","buttonLabel","buttonUrl","WithDecorator","notInSection","renderFooterList","hideCountrySelector","renderBlocks","overlayClassName","contentLabel","isOpen","role","onAfterClose","onRequestClose","socialQrImageFolder","appElement","document","getElementById","getElementsByTagName","closeButton","closeInvertedSm","stopPropagation","isMobile","renderHeader","hideHeader","buttonInHeader","beforeTitleButtons","afterTitleButtons","visuallyhidden","subjsx","subtitle","renderChildren","image","closeTimeoutMS","toString","replace","fullHeight","fullWidth","modal__legacy","isLegacy","noSkin","hideCloseButton","container","col","hasDivisor","getReflowValue","documentHeight","innerHeight","visualViewport","mediaQueries","mqObj","breakpoint","setBreakpoint","documentWidth","innerWidth","filtered","keys","filter","getInitialBreakpointValue","breakpointHeight","setBreakpointHeight","isTouch","setIsTouch","firstRender","useRef","current","PointerEvent","navigator","maxTouchPoints","matchMedia","matches","TouchEvent","useLayoutEffect","handleResize","throttle","currentBr","getCurrentBreakpoint","currentHBr","addEventListener","removeEventListener","isTightMobile","xs","lg","isTablet","sm","isSmallDesktop","md","isWideDesktop","xxl","isReflow","args","srcMobile","avoidLazy"],"sourceRoot":""}