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,QAAQ4G,MAAM,CACnCZ,aAAcU,EAAY1G,QAAQ8G,SAEpCjB,aAAca,EAAY1G,QAAQ4G,MAAM,CACtCrD,SAAUmD,EAAY1G,QAAQ8G,OAAOG,aAEvC5D,YAAaqD,EAAY1G,QAAQ4G,MAAM,CACrCzE,KAAMuE,EAAY1G,QAAQ8G,SAE5B5C,KAAMwC,EAAY1G,QAAQ4G,MAAM,CAC9BzE,KAAMuE,EAAY1G,QAAQ8G,OAC1B5E,KAAMwE,EAAY1G,QAAQ8G,WAG9B/E,SAAU2E,EAAY1G,QAAQ8G,OAC9B9E,cAAe0E,EAAY1G,QAAQ8G,OACnCjF,SAAU6E,EAAY1G,QAAQ+G,KAC9BxB,IAAKmB,EAAY1G,QAAQ+G,4FChE3BhI,OAAOC,eAAesH,EAAS,aAAc,CACzC/B,OAAO,IAEX+B,EAAQ5B,qBACR,SAA8BwC,EAAaC,GACvC,IACIC,EADUC,OACqBD,qBAInC,GAAKA,EAAL,CAIA,IAIIE,EAAW,IAAIF,GAAqB,SAAUG,EAASrH,GACvDqH,EAAQC,SAAQ,SAAUC,GAClBA,EAAMC,iBACNP,EAASM,GACTvH,EAAKyH,UAAUF,EAAMlJ,QAE7B,GACJ,GAXa,CACTqJ,KAAM,KACNC,WAAY,QAWXX,GAAgBA,EAAYxI,QAIjCwI,EAAYM,SAAQ,SAAUrB,GACtBA,GACAmB,EAASQ,QAAQ3B,EAEzB,GAtBA,MAFIgB,GAyBR,oWC/BaY,EAAY,YAAc,IAAXC,EAAW,EAAXA,KAC1B,GAAIA,GAAwB,YAAhB,OAAOA,GAAmB,CACpC,IAAMxJ,EAAQwJ,EAAK1C,SAAW,KAC9B,OACE,eAAKjD,UAAU,aAAa,cAAY,yBACtC,QAAC,IAAc7D,GAGpB,CACD,OAAO,IACR,EAED","sources":["webpack:///../node_modules/marketing-components/dist/components/organisms/footer/jsx/MPPFooter.js","webpack:///../node_modules/marketing-components/dist/components/organisms/footer/jsx/MPPFooterDefaultProps.js","webpack:///../node_modules/marketing-components/dist/components/organisms/footer/jsx/MPPFooterPropTypes.js","webpack:///../node_modules/marketing-components/dist/utilities/intersectionService.js","webpack:///./components/layout/mpp/mppFooter.js"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _htmlToReact = require('html-to-react');\n\nvar _htmlToReact2 = _interopRequireDefault(_htmlToReact);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _MPPFooterPropTypes = require('./MPPFooterPropTypes');\n\nvar _MPPFooterPropTypes2 = _interopRequireDefault(_MPPFooterPropTypes);\n\nvar _MPPFooterDefaultProps = require('./MPPFooterDefaultProps');\n\nvar _MPPFooterDefaultProps2 = _interopRequireDefault(_MPPFooterDefaultProps);\n\nvar _intersectionService = require('../../../../utilities/intersectionService');\n\nvar _Logo = require('../../../atoms/logo/jsx/Logo');\n\nvar _Logo2 = _interopRequireDefault(_Logo);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar htmlToReactParser = new _htmlToReact2.default.Parser();\n\nvar MPPFooter = function (_React$Component) {\n _inherits(MPPFooter, _React$Component);\n\n function MPPFooter() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, MPPFooter);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = MPPFooter.__proto__ || Object.getPrototypeOf(MPPFooter)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\n showImages: false\n }, _this.renderFlag = function (flag) {\n if (flag && !_this.props.loggedIn && _this.state.showImages) {\n var _this$props = _this.props,\n flagHref = _this$props.flagHref,\n localeCountry = _this$props.localeCountry;\n\n var flagStyle = {\n backgroundImage: 'url(https://www.paypalobjects.com/webstatic/mktg/icons/sprite_countries_flag4.png)'\n };\n return _react2.default.createElement(\n 'a',\n {\n href: flagHref,\n 'aria-label': flag.text,\n title: flag.text,\n className: (0, _classnames2.default)('country', 'lazy-load-flag', localeCountry),\n 'data-pa-click': 'FooterFlag-Link-' + flag.text,\n style: flagStyle\n },\n flag.text\n );\n }\n return null;\n }, _this.renderLinks = function (links) {\n if (links && links.list) {\n return links.list.map(function (elem) {\n return _react2.default.createElement(\n 'li',\n { key: elem.text, id: elem.id ? elem.id : null },\n _react2.default.createElement(\n 'a',\n {\n href: elem.href,\n className: elem.className ? elem.className : null,\n target: elem.target ? elem.target : null,\n 'data-pa-click': 'Footer-Link-' + elem.text\n },\n elem.text\n )\n );\n });\n }\n return null;\n }, _this.renderCopyRight = function (copyRightReservedText) {\n var copyRight = '© 1999–' + new Date().getFullYear() + ' ';\n return _react2.default.createElement(\n 'li',\n { className: 'footer-copyright' },\n htmlToReactParser.parse(copyRight + copyRightReservedText)\n );\n }, _this.renderFooterNotes = function (footerNotes) {\n if (footerNotes) {\n return _react2.default.createElement(\n 'p',\n { className: 'footer-notes' },\n htmlToReactParser.parse(footerNotes.text)\n );\n }\n return null;\n }, _this.renderLogo = function (imageUrl, logoClass) {\n var logoStyle = {\n backgroundImage: 'url(' + imageUrl + ')'\n };\n return _react2.default.createElement('div', { className: logoClass + '-logo', style: logoStyle });\n }, _this.renderLocales = function (locales) {\n if (locales && !_this.props.loggedIn) {\n return locales.map(function (elem, idx) {\n return _react2.default.createElement(\n 'a',\n {\n key: elem.text,\n className: (0, _classnames2.default)('language', elem.customStyle),\n href: elem.href,\n 'data-pa-click': 'FooterLocales' + idx + '-Link-' + elem.text\n },\n elem.text\n );\n });\n }\n return null;\n }, _this.renderCountrySelector = function (locales, flag) {\n return _react2.default.createElement(\n 'ul',\n { className: 'footer-main' },\n _react2.default.createElement(\n 'li',\n { className: 'country-selector' },\n _this.renderLocales(locales),\n _this.renderFlag(flag)\n )\n );\n }, _this.renderMainLinks = function (mainLinks) {\n return _react2.default.createElement(\n 'ul',\n { className: 'footer-main ul-main-links' },\n _this.renderLinks(mainLinks)\n );\n }, _this.renderMainLogo = function (logo) {\n var text = logo.text || 'PayPal';\n var href = logo.href || '/webapps/mpp/home';\n return _react2.default.createElement(\n 'div',\n { className: 'pypl-logo-wrapper-footer' },\n _react2.default.createElement(_Logo2.default, { text: text, href: href, 'data-pa-click': 'Footer-Logo-PayPal Logo' })\n );\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(MPPFooter, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n (0, _intersectionService.IntersectionListener)([this.sectionElement], this.enableImages.bind(this));\n }\n }, {\n key: 'enableImages',\n value: function enableImages() {\n this.setState({\n showImages: true\n });\n }\n\n // Display country flag\n\n\n // render the copyright dates\n\n\n // Footer notes\n\n\n // footer note logo\n\n\n // Display country locales supported by MPP\n\n\n // render ui for country selector\n\n\n // render ui for main (primary) links\n\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var _props = this.props,\n _props$config = _props.config,\n config = _props$config === undefined ? { footerType: '', rebrand: false } : _props$config,\n content = _props.content,\n rtl = _props.rtl;\n var _content$country = content.country,\n flag = _content$country.flag,\n locales = _content$country.locales;\n var mainLinks = content.mainLinks,\n secondaryLogo = content.secondaryLogo,\n secondaryLinks = content.secondaryLinks,\n tertiaryLinks = content.tertiaryLinks,\n footNoteLogo = content.footNoteLogo,\n _content$logo = content.logo,\n logo = _content$logo === undefined ? {} : _content$logo;\n var footerType = config.footerType,\n _config$rebrand = config.rebrand,\n rebrand = _config$rebrand === undefined ? false : _config$rebrand;\n\n var copyRightReservedText = content.copyRight && content.copyRight.reservedText || '';\n var footerNotes = content.footerNotes || '';\n var showImages = this.state.showImages;\n\n var footerClassNames = (0, _classnames2.default)('global-footer', {\n 'global-footer--rtl': rtl,\n 'rebrand-footer': rebrand\n });\n\n var showFooterMainLogo = rebrand && logo && logo.href;\n\n return _react2.default.createElement(\n 'footer',\n {\n 'data-building-block': 'organism',\n className: footerClassNames,\n id: 'footer',\n ref: function ref(el) {\n _this2.sectionElement = el;\n }\n },\n _react2.default.createElement(\n 'div',\n { className: 'container' },\n showFooterMainLogo && this.renderMainLogo(logo),\n _react2.default.createElement(\n 'div',\n { className: 'row' },\n footerType !== 'copyright-footer' && (rebrand ? _react2.default.createElement(\n 'div',\n { className: 'col-md-12' },\n this.renderMainLinks(mainLinks),\n this.renderCountrySelector(locales, flag)\n ) : _react2.default.createElement(\n 'div',\n { className: 'col-md-12' },\n this.renderCountrySelector(locales, flag),\n this.renderMainLinks(mainLinks)\n ))\n ),\n _react2.default.createElement(\n 'div',\n { className: 'row' },\n _react2.default.createElement(\n 'div',\n { className: 'col-md-12' },\n _react2.default.createElement('hr', { className: 'hidden-lg-down primary' })\n )\n ),\n _react2.default.createElement(\n 'div',\n { className: 'row' },\n _react2.default.createElement(\n 'div',\n { className: 'col-md-12' },\n showImages && secondaryLogo && secondaryLogo.imageUrl && this.renderLogo(secondaryLogo.imageUrl, 'secondary'),\n !footerType && secondaryLinks && _react2.default.createElement(\n 'ul',\n { className: 'footer-secondary footer-corplinks' },\n this.renderLinks(secondaryLinks)\n ),\n _react2.default.createElement('hr', { className: 'hidden-lg-down secondary' }),\n _react2.default.createElement(\n 'ul',\n { className: 'footer-tertiary copyright-section' },\n content.copyRight && this.renderCopyRight(copyRightReservedText),\n this.renderLinks(tertiaryLinks)\n )\n )\n ),\n _react2.default.createElement(\n 'div',\n { className: 'row' },\n _react2.default.createElement(\n 'div',\n { className: 'col-md-12' },\n showImages && footNoteLogo && footNoteLogo.imageUrl && this.renderLogo(footNoteLogo.imageUrl, 'footnote'),\n this.renderFooterNotes(footerNotes)\n )\n )\n )\n );\n }\n }]);\n\n return MPPFooter;\n}(_react2.default.Component);\n\nexports.default = MPPFooter;\n\n\nMPPFooter.propTypes = _MPPFooterPropTypes2.default;\nMPPFooter.defaultProps = _MPPFooterDefaultProps2.default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n config: {\n rebrand: false\n },\n content: {\n logo: {\n text: 'PayPal',\n href: '/webapps/mpp/home'\n },\n country: {\n locales: [{\n text: 'English',\n href: '?locale.x=en_US'\n }],\n flag: {\n text: 'See all countries',\n href: '/webapps/mpp/country-worldwide'\n }\n },\n mainLinks: {\n list: [{\n text: 'Help',\n href: '/smarthelp/home'\n }, {\n text: 'Contact',\n href: '/smarthelp/contact-us'\n }, {\n text: 'Fees',\n href: '/webapps/mpp/paypal-fees'\n }, {\n text: 'Security',\n href: '/webapps/mpp/paypal-safety-and-security'\n }, {\n text: 'Apps',\n href: '/webapps/mpp/mobile-apps'\n }, {\n text: 'Shop',\n href: '/webapps/mpp/shopping-selection'\n }, {\n text: 'Enterprise',\n href: '/business/enterprise'\n }, {\n text: 'Partners',\n href: '/business/platforms-and-marketplaces'\n }]\n },\n secondaryLinks: {\n list: [{\n text: 'About',\n href: '/webapps/mpp/about',\n target: '_blank'\n }, {\n text: 'Newsroom',\n href: '/stories/us',\n target: '_blank',\n countryCode: false\n }, {\n text: 'Jobs',\n href: '/webapps/mpp/jobs',\n target: '_blank'\n }, {\n text: 'Investor Relations',\n href: 'https://investor.paypal-corp.com'\n }, {\n text: 'Social Innovation',\n href: '/webapps/mpp/social-innovation'\n }, {\n text: 'Public Policy',\n href: 'https://publicpolicy.paypal-corp.com'\n }, {\n text: 'Sitemap',\n href: '/webapps/mpp/full-sitemap'\n }]\n },\n copyRight: {},\n tertiaryLinks: {\n list: [{\n text: 'Accessibility',\n href: '/webapps/mpp/accessibility'\n }, {\n text: 'Privacy',\n href: '/webapps/mpp/ua/privacy-full'\n }, {\n text: 'Legal',\n href: '/webapps/mpp/ua/legalhub-full'\n }]\n },\n footerNotes: {\n text: 'Consumer advisory - PayPal Pte. Ltd., Users are advised to read the ' + 'terms and conditions carefully.'\n }\n },\n localeCountry: 'US',\n loggedIn: false,\n flagHref: '/webapps/mpp/country-worldwide',\n rtl: false\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LinkPropType = _propTypes2.default.shape({\n list: _propTypes2.default.arrayOf(_propTypes2.default.shape({\n text: _propTypes2.default.string,\n href: _propTypes2.default.string,\n target: _propTypes2.default.string,\n countryCode: _propTypes2.default.bool\n }))\n});\n\nexports.default = {\n config: _propTypes2.default.shape({\n footerType: _propTypes2.default.oneOf(['minimal-footer', 'copyright-footer']),\n rebrand: _propTypes2.default.bool\n }),\n content: _propTypes2.default.shape({\n country: _propTypes2.default.shape({\n locales: _propTypes2.default.arrayOf(_propTypes2.default.shape({\n text: _propTypes2.default.string,\n href: _propTypes2.default.string\n })),\n flag: _propTypes2.default.shape({\n text: _propTypes2.default.string,\n href: _propTypes2.default.string\n })\n }),\n mainLinks: _propTypes2.default.shape({\n list: _propTypes2.default.arrayOf(LinkPropType)\n }),\n secondaryLinks: _propTypes2.default.shape({\n list: _propTypes2.default.arrayOf(LinkPropType)\n }),\n secondaryLogo: _propTypes2.default.shape({\n imageUrl: _propTypes2.default.string.isRequired\n }),\n tertiaryLinks: _propTypes2.default.shape({\n list: _propTypes2.default.arrayOf(LinkPropType)\n }),\n copyRight: _propTypes2.default.shape({\n reservedText: _propTypes2.default.string\n }),\n footNoteLogo: _propTypes2.default.shape({\n imageUrl: _propTypes2.default.string.isRequired\n }),\n footerNotes: _propTypes2.default.shape({\n text: _propTypes2.default.string\n }),\n logo: _propTypes2.default.shape({\n text: _propTypes2.default.string,\n href: _propTypes2.default.string\n })\n }),\n flagHref: _propTypes2.default.string,\n localeCountry: _propTypes2.default.string,\n loggedIn: _propTypes2.default.bool,\n rtl: _propTypes2.default.bool\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.IntersectionListener = IntersectionListener;\nfunction IntersectionListener(elementRefs, callback) {\n var _window = window,\n IntersectionObserver = _window.IntersectionObserver;\n // Fallback for IE 11, if no IntersectionObserver\n // then just execute callback and return.\n\n if (!IntersectionObserver) {\n callback();\n return;\n }\n var config = {\n root: null,\n rootMargin: '0px'\n };\n var observer = new IntersectionObserver(function (entries, self) {\n entries.forEach(function (entry) {\n if (entry.isIntersecting) {\n callback(entry);\n self.unobserve(entry.target);\n }\n });\n }, config);\n\n if (!elementRefs || !elementRefs.length) {\n return;\n }\n\n elementRefs.forEach(function (ref) {\n if (ref) {\n observer.observe(ref);\n }\n });\n}","import React from 'react'\nimport MPPFooter from 'marketing-components/dist/components/organisms/footer/jsx/MPPFooter'\n\n// styles\nimport 'marketing-components/dist/components/organisms/footer/less/footer.less'\n\n// MPP Footer\nexport const MppFooter = ({ data }) => {\n if (data && typeof data === 'object') {\n const props = data.content || null\n return (\n