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A,cAAG,cAAY,WAAWlD,UAAWS,EAAAA,KAAY,SAC9Ce,GAASA,EAAM+B,YAUxB,OAJA7C,EAAAA,EAAAA,YAAU,WACRuC,EAAYO,EAAcnF,GAC5B,KAGE,mBAAQ2B,UAAS,0BAAqBS,EAAAA,QAAgB,UACpD,iBAAKT,UAAS,cAASS,EAAAA,UAAkB,UACtCuC,IAAY,SAAC,EAAW,CAAC5E,SAAU4E,EAAShG,QAC3CkG,GAAgBF,IAChB,SAAC,EAAa,CAAC5E,SAAU4E,EAAS1F,OAAQkE,MAAOA,IAElDA,IAAU0B,GAAgBF,IACzB,SAAC,EAAY,CACX5E,SAAU4E,EAASnF,MACnB2D,MAAOA,EACPC,SAAUmB,KAGd,gBAAK5C,UAAS,iBAAYS,EAAAA,YAAoB,SAAE6C,QAKxD,G,mSCxEe,SAASG,EAAmBC,GACzC,OCJa,SAA4BA,GACzC,GAAIC,MAAMC,QAAQF,GAAM,OAAO,EAAAG,EAAA,GAAiBH,EAClD,CDES,CAAkBA,IELZ,SAA0BI,GACvC,GAAsB,qBAAXC,QAAmD,MAAzBD,EAAKC,OAAOC,WAA2C,MAAtBF,EAAK,cAAuB,OAAOH,MAAMM,KAAKH,EACtH,CFGmC,CAAgBJ,KAAQ,EAAAQ,EAAA,GAA2BR,IGLvE,WACb,MAAM,IAAIS,UAAU,uIACtB,CHG8F,EAC9F,C","sources":["webpack://axa-asistenciaviaje-b2c/./src/components/Footer/Footer.module.scss?d4c2","components/Footer/Footer_Text.js","components/Footer/Options/CenterOptions/CenterOptions.jsx","components/Footer/Options/LeftOptions/LeftOptions.jsx","components/Footer/Options/RightOptions/RightOptions.jsx","components/Footer/Footer.jsx","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"footer\":\"Footer_footer__PxxIj\",\"footerUp\":\"Footer_footerUp__+EExs\",\"leftInfo\":\"Footer_leftInfo__elJMd\",\"wrapImg\":\"Footer_wrapImg__5iMXU\",\"img\":\"Footer_img__DoMT+\",\"centerInfo\":\"Footer_centerInfo__9HuU+\",\"inlineOptions\":\"Footer_inlineOptions__jw3VQ\",\"columnOptions\":\"Footer_columnOptions__ix97D\",\"columnOptionsAr\":\"Footer_columnOptionsAr__MeRzC\",\"rightInfo\":\"Footer_rightInfo__t7Pmv\",\"phoneText\":\"Footer_phoneText__31m+j\",\"title\":\"Footer_title__xdj5Y\",\"number\":\"Footer_number__oc+NZ\",\"subtitle\":\"Footer_subtitle__jnxvB\",\"icons\":\"Footer_icons__vFgv7\",\"bannerImg\":\"Footer_bannerImg__35W+O\",\"linkButton\":\"Footer_linkButton__spfvV\",\"footerDown\":\"Footer_footerDown__40yol\",\"bottomInfo\":\"Footer_bottomInfo__bdK4h\",\"imgsLine\":\"Footer_imgsLine__bGfHg\",\"text\":\"Footer_text__LFzxy\",\"whatsapp\":\"Footer_whatsapp__Drn89\"};","import React from 'react';\nimport { langMx } from '../../location/urls';\n\nimport logoAxa from '../../assets/img/logo_axa.png';\nimport logoUstia from '../../assets/img/footer/USTIA/USTIA_LOGO-sm.jpg';\nimport logoVotedBestTravelInsurance from '../../assets/img/footer/voted_best_travel_insurance.png';\nimport PCIImage from '../../assets/img/footer/PCI/PCI-DSS-sm.png';\n\nconst es_mx = {\n left: {\n logo: logoAxa,\n link: '/',\n texts: [\n { text: 'AXA Assistance', id: 'MX_LEFT_TEXT_1' },\n { text: 'México S.A de C.V', id: 'MX_LEFT_TEXT_2' },\n { text: 'Todos los Derechos Reservados', id: 'MX_LEFT_TEXT_3' }\n ]\n },\n center: {\n options: [\n {\n title: 'SOBRE NOSOTROS',\n id: 'MX_CENTER_OBJECT_1',\n links: [\n {\n value: 'AXA Assistance',\n to: 'https://www.axa-assistance.com.mx/',\n id: 'MX_CENTER_LINK_1',\n external: true\n },\n {\n value: 'Nuestros Productos',\n to: '/mis-planes',\n id: 'MX_CENTER_LINK_2'\n },\n { value: 'Blog', to: '/blog', id: 'MX_CENTER_LINK_3' }\n ]\n },\n {\n title: 'AYUDA',\n id: 'MX_CENTER_OBJECT_2',\n links: [\n {\n value: 'Solicitar Asistencia',\n to: '/asistencia',\n id: 'MX_CENTER_LINK_4'\n },\n { value: 'Preguntas Frecuentes', to: '/faq', id: 'MX_CENTER_LINK_5' },\n { value: 'Contactanos', to: '/contactanos', id: 'MX_CENTER_LINK_6' },\n {\n value: 'Politicas de Privacidad',\n to: '/avisodeprivacidad',\n id: 'MX_CENTER_LINK_7'\n }\n ]\n }\n ]\n },\n right: {\n text: {\n title: 'VENTA TELEFONICA',\n number: '0800-333-1163',\n id: 'MX_RIGHT_TEXT_1'\n },\n logos: [\n { src: logoUstia, link: 'https://www.ustia.org/', id: 'MX_RIGHT_LOGO_1' },\n {\n src: logoVotedBestTravelInsurance,\n link: 'https://www.interbrand.com/',\n id: 'MX_RIGHT_LOGO_3'\n }\n ]\n },\n down: {\n text:\n 'En caso de dudas, sugerencias, reclamos ó para mayor información, contáctenos en el siguiente horario de Lunes a Viernes de 09 a 21hs en los teléfonos +54 11 4378-6002 / 0800-3331163 ó vía mail a ventadirecta@axa-assistance.com.ar'\n }\n};\n\n\nexport default {\n [langMx]: es_mx,\n};\n","import React, { useContext, useEffect, useState } from 'react';\nimport TagManager from 'react-gtm-module';\nimport { Link } from 'react-router-dom';\nimport { LocationContext } from '../../../Location/Location';\nimport styles from '../../Footer.module.scss';\nimport POLITICA_PROTECCION_TRATAMIENTO_DATOS_PERSONALES from '../../../../Downloads/POLITICA_PROTECCION_TRATAMIENTO_DATOS_PERSONALES.pdf'\nimport { TermsAndConditionsPDFService } from '../../../../services';\n\nconst CenterOptions = (props) => {\n const { textJSON } = props;\n const { idiom } = useContext(LocationContext);\n const isCO_MX = 'es_mx';\n const isMx = idiom === 'es_mx';\n const [TermsAndConditionsPDFFile, setTermsAndConditionsPDFFile] = useState('');\n const linkTracking = (link) => { \n TagManager.dataLayer({\n dataLayer: {\n event: 'select_content',\n content_type: 'Footer Menu',\n item_id: link\n },\n dataLayerName:'PageDataLayer'\n }); \n };\n\n const columnOptions = textJSON.options.map((option, index) => {\n const { links, id } = option;\n const align = index === 0 ? 'left' : 'right';\n let linkGroup = [];\n if (links) {\n linkGroup = links.map((link, key) => {\n const { value, to, id: idLink, external } = link;\n if (external) {\n return (\n linkTracking(value)}\n >\n \n {value}\n \n \n );\n }else if(idLink === 'CO_CENTER_LINK_8') { return (\n \n {value}\n \n )}\n return (\n linkTracking(value)}\n >\n \n {value}\n \n \n );\n });\n }\n\n return (\n
    \n {[\n ...linkGroup,\n index === 0 &&(\n
  • \n linkTracking('Politica de Cookies')}>Politica de Cookies\n
  • \n ),\n index !== 0 && (
  • \n \n Centro de Preferencias de Cookies\n \n
  • ),\n index !== 0 && (
  • \n linkTracking('Términos de uso')}>Términos de uso\n
  • \n ),isMx && index === 0 && \n (<>
  • \n Términos y Condiciones\n
  • \n T&C de Promociones\n
  • )\n ]}\n
\n );\n });\n\n const content = () => {\n if (isCO_MX) {\n return
{columnOptions}
;\n }\n\n return undefined;\n };\n useEffect(() => {\n const loadPdf = async () => {\n try {\n const response = await Promise.resolve(\n TermsAndConditionsPDFService.getTermsAndConditionsPDFLink()\n );\n const pdfLink = response && response[0] && response[0].pdf_link? response[0].pdf_link : '';\n setTermsAndConditionsPDFFile(pdfLink);\n } catch (err) {\n setTermsAndConditionsPDFFile(''); \n }\n }\n if(isMx)loadPdf();\n },[]);\n return (\n
\n {content()}\n
\n );\n};\n\nexport default CenterOptions;","import React from 'react';\n\nimport { Link } from 'react-router-dom';\nimport styles from '../../Footer.module.scss';\n\nconst LeftOptions = (props) => {\n const { textJSON } = props;\n\n return (\n
\n
\n \n \n \n
\n {textJSON.texts.map((textItem) => {\n const { defaultLink, pdf, link, to, text, id } = textItem;\n if (link)\n return (\n \n {link}\n \n );\n if (defaultLink)\n return (\n \n {defaultLink}\n \n );\n return (\n

\n {text}\n

\n );\n })}\n
\n );\n};\n\nexport default LeftOptions;\n","import React, { useContext, useEffect, useState } from 'react';\nimport TagManager from 'react-gtm-module';\nimport PCIImage from '../../../../assets/img/footer/PCI/PCI-DSS.png';\nimport { LocationContext } from '../../../Location/Location';\nimport styles from '../../Footer.module.scss';\n\nconst RightOptions = (props) => {\n const { idiom, country } = useContext(LocationContext);\n const { textJSON, phone, ismobile } = props;\n const isMX = country === 'mx';\n const [phoneMobile, setPhoneMobile] = useState(null);\n const [cards, setcards] = useState([]);\n\n useEffect(() => {\n if (phone) {\n setPhoneMobile(`tel:${phone.phone.replace(/\\s/g, '')}`);\n const arrayCards = [];\n if (phone.icon_master) {\n arrayCards.push({ src: phone.icon_master });\n }\n if (phone.icon_visa) {\n arrayCards.push({ src: phone.icon_visa });\n }\n if (phone.icon_amex) {\n arrayCards.push({ src: phone.icon_amex });\n }\n setcards(arrayCards);\n }\n }, [idiom]);\n\n return (\n
\n
\n
\n

{textJSON.text.title}

\n {phone && ismobile && (\n

\n {phone.phone}\n

\n )}\n {phone && !ismobile &&

{phone.phone}

}\n {phone && isMX && (\n

Lunes a viernes 08:00 a 20:00 hrs

\n )}\n
\n
\n
\n
\n \"_logo\"\n
\n \n {cards.map((logo, key) => {\n return (\n
\n \"_logo\"\n
\n );\n })}\n
\n
\n );\n};\n\nexport default RightOptions;\n","import React, { useState, useContext, useEffect } from 'react';\nimport { isMobile } from 'react-device-detect';\nimport { withRouter } from 'react-router-dom';\nimport styles from './Footer.module.scss';\nimport { LocationContext } from '../Location/Location';\nimport FooterOptions from './Footer_Text';\nimport CenterOptions from './Options/CenterOptions/CenterOptions';\nimport LeftOptions from './Options/LeftOptions/LeftOptions';\nimport RightOptions from './Options/RightOptions/RightOptions';\nimport TextDataObject from './TextDataObject.json';\nimport { PhoneService } from '../../services';\nimport { FOOTER } from '../../utils/category';\nimport PCIImage from '../../assets/img/footer/PCI/PCI-DSS.png';\nimport Cadesamage from '../../assets/img/footer/cadesa.png';\nimport CaceImage from '../../assets/img/footer/Logo-CACE.jpg';\nimport WhatsAppLogo from '../../assets/img/footer/whatsAppLogo.png';\n\nconst renderPhoneAndImages = async (setPhone, idiomAPI) => {\n try {\n const phone = await PhoneService.getPhone(idiomAPI, FOOTER);\n if (phone) {\n setPhone(phone);\n }\n } catch (error) {}\n};\n\nconst Footer = (props) => {\n const detectIsMobile = isMobile;\n const { location } = props;\n const [textData, setTextData] = useState(TextDataObject);\n const { idiom, idiomAPI, country } = useContext(LocationContext);\n const isAR = country === 'ar';\n const isUS = country === 'us';\n const [specificPage, setSpecificPage] = useState(false);\n\n const [phone, setPhone] = useState();\n\n useEffect(() => {\n const isEspecificPage = location && location.pathname === '/clubmedterms';\n setSpecificPage(isEspecificPage);\n renderPhoneAndImages(setPhone, idiomAPI);\n }, [idiom, location]);\n\n const BottomInfo = (\n
\n {!specificPage && (\n

\n {phone && phone.content}\n

\n )}\n
\n );\n\n useEffect(() => {\n setTextData(FooterOptions[idiom]);\n });\n\n return (\n \n );\n};\n\nexport default withRouter(Footer);\n","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}"],"names":["es_mx","left","logo","link","texts","text","id","center","options","title","links","value","to","external","right","number","logos","src","down","langMx","props","textJSON","idiom","useContext","LocationContext","isMx","useState","TermsAndConditionsPDFFile","setTermsAndConditionsPDFFile","linkTracking","TagManager","dataLayer","event","content_type","item_id","dataLayerName","columnOptions","map","option","index","align","linkGroup","key","idLink","onClick","href","target","rel","POLITICA_PROTECCION_TRATAMIENTO_DATOS_PERSONALES","className","type","style","color","padding","fontSize","border","backgroundColor","marginBottom","styles","useEffect","loadPdf","Promise","resolve","TermsAndConditionsPDFService","response","pdfLink","pdf_link","loading","alt","textItem","defaultLink","pdf","country","phone","ismobile","isMX","phoneMobile","setPhoneMobile","cards","setcards","replace","arrayCards","icon_master","push","icon_visa","icon_amex","PCIImage","renderPhoneAndImages","setPhone","idiomAPI","PhoneService","FOOTER","withRouter","detectIsMobile","isMobile","location","TextDataObject","textData","setTextData","specificPage","setSpecificPage","isEspecificPage","pathname","BottomInfo","content","FooterOptions","_toConsumableArray","arr","Array","isArray","arrayLikeToArray","iter","Symbol","iterator","from","unsupportedIterableToArray","TypeError"],"sourceRoot":""}