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AEzBC,uBAAuB,EACvBC,gBAAgB,EAChBC,gBAAgB,EAEhBC,oBAAqB,OACrBC,4BAA4B,EAE5BC,qBAAsB,CAAC,OAAQ,QAAS,WAAY,iBAEpDC,mBAAoB,CAClB,SAACC,GAAG,QAEAA,EAAIvD,SAAS,QACbuD,EAAIvD,SAAS,SACbuD,EAAIvD,SAAS,kBACbuD,EAAIvD,SAAS,iBACVuD,EAAIvD,SAAS,aAAa,GAEnCwD,WAAU,SAAC5B,EAAOE,GAGhB,GAAmB,aAAfF,EAAM6B,KAAqB,KAAAC,EAE7B,GACE,aAAc5B,GAAd,MACAA,GAAAA,EAAS6B,UADT,MAEA7B,GAAiB,QAAV4B,EAAP5B,EAAS6B,gBAAQ,IAAAD,GAAjBA,EAAmBE,QAGnBjC,EAA0BC,EADJE,EAAQ6B,SAASC,QAAQC,IAAI,oBAIrD,GACE,QAAS/B,GACTA,EAAQgC,KACR,sBAAuBhC,EAAQgC,KACU,mBAAlChC,EAAQgC,IAAIC,kBAInBpC,EAA0BC,EADxBE,EAAQgC,IAAIC,kBAAkB,mBAGpC,CACA,OAAO,CACT","sources":["webpack:///./components/withWorldReady.js","webpack:///./pages/error/landingerror.js","webpack:///./vendor/datadog.js"],"sourcesContent":["import React from 'react';\nimport { ContextProvider as WorldReadyContextProvider } from '@paypalcorp/worldready-react';\nimport { WorldReadyProvider } from '@paypalcorp/pp-react-worldready';\nimport templateData from './../utility/getTemplateData';\nimport { initializeWorldReady } from '../utility/worldReadyUtils';\n\ninitializeWorldReady();\n\nfunction withWorldReady(\n WrappedComponent,\n locale = `${templateData?.language || 'en'}-${templateData?.country || 'US'}`\n) {\n return (props) => {\n return (\n \n \n \n \n \n );\n };\n}\n\nexport default withWorldReady;\n","import 'consumerweb-shim';\nimport 'core-js/stable'; // If imports from pp-react are required, please test this component on IE\nimport 'regenerator-runtime/runtime';\nimport React, { useEffect, useContext } from 'react';\nimport ReactDOM from 'react-dom';\nimport * as AppActions from '../../actions/AppActions';\nimport { hideSpinnerOverlay } from '../../utility/helper';\nimport Footer from '../../components/footer/footer';\nimport '../../../css/ppvx-app.less';\nimport withTheme from '../../components/withTheme';\nimport FullPageError from './FullPageError';\nimport {\n Context as WorldReadyContext,\n Message,\n} from '@paypalcorp/worldready-react';\nimport withWorldReady from '../../components/withWorldReady';\nimport { MessageFormat } from '@paypalcorp/worldready';\nimport '../../vendor/datadog';\nfunction LandingErrorPage() {\n const worldReady = useContext(WorldReadyContext);\n const isGiftaid = window.location.href.includes('giftaid');\n useEffect(() => {\n AppActions.updateCurrentPage({ currentPage: 'landingError' });\n hideSpinnerOverlay();\n }, []);\n const handleReturn = () => {\n window.location.pathname = new MessageFormat(worldReady, {\n id: 'errors.landingerror.link.paypal',\n }).format();\n };\n\n return (\n <>\n }\n body={\n isGiftaid ? (\n \n ) : (\n \n )\n }\n linkLabel={}\n handleLinkClick={handleReturn}\n showCloseButton={true}\n />\n