@paypal/messaging-components 1.87.0 → 1.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bizcomponents/js/messaging.js +2 -2
- package/dist/bizcomponents/js/modal.js +2 -2
- package/dist/bizcomponents/js/renderMessage.js +2 -2
- package/dist/bizcomponents/js/renderMessage.js.map +1 -1
- package/dist/bizcomponents/js/renderV2Message.js +2 -2
- package/dist/bizcomponents/js/smart-credit-message.js +2 -2
- package/dist/bizcomponents/js/smart-credit-modal-v2-lander.js +2 -2
- package/dist/bizcomponents/js/smart-credit-modal-v2.js +2 -2
- package/dist/bizcomponents/js/versioned/{messaging@1.87.0.js → messaging@1.89.0.js} +3 -3
- package/dist/bizcomponents/js/versioned/{modal@1.87.0.js → modal@1.89.0.js} +3 -3
- package/dist/bizcomponents/{stage/versioned/renderMessage@1.87.0.js → js/versioned/renderMessage@1.89.0.js} +3 -3
- package/dist/bizcomponents/js/versioned/renderMessage@1.89.0.js.map +1 -0
- package/dist/bizcomponents/js/versioned/{renderV2Message@1.87.0.js → renderV2Message@1.89.0.js} +3 -3
- package/dist/bizcomponents/js/versioned/{smart-credit-message@1.87.0.js → smart-credit-message@1.89.0.js} +3 -3
- package/dist/bizcomponents/js/versioned/{smart-credit-modal-v2-lander@1.87.0.js → smart-credit-modal-v2-lander@1.89.0.js} +3 -3
- package/dist/bizcomponents/js/versioned/{smart-credit-modal-v2@1.87.0.js → smart-credit-modal-v2@1.89.0.js} +3 -3
- package/dist/bizcomponents/sandbox/messaging.js +2 -2
- package/dist/bizcomponents/sandbox/modal.js +2 -2
- package/dist/bizcomponents/sandbox/renderMessage.js +2 -2
- package/dist/bizcomponents/sandbox/renderMessage.js.map +1 -1
- package/dist/bizcomponents/sandbox/renderV2Message.js +2 -2
- package/dist/bizcomponents/sandbox/smart-credit-message.js +2 -2
- package/dist/bizcomponents/sandbox/smart-credit-modal-v2-lander.js +2 -2
- package/dist/bizcomponents/sandbox/smart-credit-modal-v2.js +2 -2
- package/dist/bizcomponents/sandbox/versioned/{messaging@1.87.0.js → messaging@1.89.0.js} +3 -3
- package/dist/bizcomponents/sandbox/versioned/{modal@1.87.0.js → modal@1.89.0.js} +3 -3
- package/dist/bizcomponents/{js/versioned/renderMessage@1.87.0.js → sandbox/versioned/renderMessage@1.89.0.js} +3 -3
- package/dist/bizcomponents/sandbox/versioned/renderMessage@1.89.0.js.map +1 -0
- package/dist/bizcomponents/sandbox/versioned/{renderV2Message@1.87.0.js → renderV2Message@1.89.0.js} +3 -3
- package/dist/bizcomponents/sandbox/versioned/{smart-credit-message@1.87.0.js → smart-credit-message@1.89.0.js} +3 -3
- package/dist/bizcomponents/sandbox/versioned/{smart-credit-modal-v2-lander@1.87.0.js → smart-credit-modal-v2-lander@1.89.0.js} +3 -3
- package/dist/bizcomponents/sandbox/versioned/{smart-credit-modal-v2@1.87.0.js → smart-credit-modal-v2@1.89.0.js} +3 -3
- package/dist/bizcomponents/stage/messaging.js +2 -2
- package/dist/bizcomponents/stage/modal.js +2 -2
- package/dist/bizcomponents/stage/renderMessage.js +2 -2
- package/dist/bizcomponents/stage/renderMessage.js.map +1 -1
- package/dist/bizcomponents/stage/renderV2Message.js +2 -2
- package/dist/bizcomponents/stage/smart-credit-message.js +2 -2
- package/dist/bizcomponents/stage/smart-credit-modal-v2-lander.js +2 -2
- package/dist/bizcomponents/stage/smart-credit-modal-v2.js +2 -2
- package/dist/bizcomponents/stage/versioned/{messaging@1.87.0.js → messaging@1.89.0.js} +3 -3
- package/dist/bizcomponents/stage/versioned/{modal@1.87.0.js → modal@1.89.0.js} +3 -3
- package/dist/bizcomponents/{sandbox/versioned/renderMessage@1.87.0.js → stage/versioned/renderMessage@1.89.0.js} +3 -3
- package/dist/bizcomponents/stage/versioned/renderMessage@1.89.0.js.map +1 -0
- package/dist/bizcomponents/stage/versioned/{renderV2Message@1.87.0.js → renderV2Message@1.89.0.js} +3 -3
- package/dist/bizcomponents/stage/versioned/{smart-credit-message@1.87.0.js → smart-credit-message@1.89.0.js} +3 -3
- package/dist/bizcomponents/stage/versioned/{smart-credit-modal-v2-lander@1.87.0.js → smart-credit-modal-v2-lander@1.89.0.js} +3 -3
- package/dist/bizcomponents/stage/versioned/{smart-credit-modal-v2@1.87.0.js → smart-credit-modal-v2@1.89.0.js} +3 -3
- package/package.json +1 -1
- package/dist/bizcomponents/js/versioned/renderMessage@1.87.0.js.map +0 -1
- package/dist/bizcomponents/sandbox/versioned/renderMessage@1.87.0.js.map +0 -1
- package/dist/bizcomponents/stage/versioned/renderMessage@1.87.0.js.map +0 -1
- /package/dist/bizcomponents/js/versioned/{messaging@1.87.0.js.map → messaging@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/js/versioned/{modal@1.87.0.js.map → modal@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/js/versioned/{renderV2Message@1.87.0.js.map → renderV2Message@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/js/versioned/{smart-credit-message@1.87.0.js.map → smart-credit-message@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/js/versioned/{smart-credit-modal-v2-lander@1.87.0.js.map → smart-credit-modal-v2-lander@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/js/versioned/{smart-credit-modal-v2@1.87.0.js.map → smart-credit-modal-v2@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/sandbox/versioned/{messaging@1.87.0.js.map → messaging@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/sandbox/versioned/{modal@1.87.0.js.map → modal@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/sandbox/versioned/{renderV2Message@1.87.0.js.map → renderV2Message@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/sandbox/versioned/{smart-credit-message@1.87.0.js.map → smart-credit-message@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/sandbox/versioned/{smart-credit-modal-v2-lander@1.87.0.js.map → smart-credit-modal-v2-lander@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/sandbox/versioned/{smart-credit-modal-v2@1.87.0.js.map → smart-credit-modal-v2@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/stage/versioned/{messaging@1.87.0.js.map → messaging@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/stage/versioned/{modal@1.87.0.js.map → modal@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/stage/versioned/{renderV2Message@1.87.0.js.map → renderV2Message@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/stage/versioned/{smart-credit-message@1.87.0.js.map → smart-credit-message@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/stage/versioned/{smart-credit-modal-v2-lander@1.87.0.js.map → smart-credit-modal-v2-lander@1.89.0.js.map} +0 -0
- /package/dist/bizcomponents/stage/versioned/{smart-credit-modal-v2@1.87.0.js.map → smart-credit-modal-v2@1.89.0.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack://renderMessage/webpack/bootstrap","webpack://renderMessage/./node_modules/preact/dist/preact.module.js","webpack://renderMessage/./node_modules/preact-render-to-string/dist/index.module.js","webpack://renderMessage/./src/utils/functional.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://renderMessage/./src/utils/objects.js","webpack://renderMessage/./src/server/types.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://renderMessage/./node_modules/@krakenjs/jsx-pragmatic/src/node.js","webpack://renderMessage/./node_modules/@krakenjs/jsx-pragmatic/src/constants.js","webpack://renderMessage/./node_modules/@krakenjs/jsx-pragmatic/src/renderers/dom.js","webpack://renderMessage/./node_modules/@krakenjs/jsx-pragmatic/src/util.js","webpack://renderMessage/./node_modules/@krakenjs/jsx-pragmatic/src/renderers/html.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://renderMessage/./node_modules/@krakenjs/zalgo-promise/src/utils.js","webpack://renderMessage/./node_modules/@krakenjs/zalgo-promise/src/exceptions.js","webpack://renderMessage/./node_modules/@krakenjs/zalgo-promise/src/flush.js","webpack://renderMessage/./node_modules/@krakenjs/zalgo-promise/src/promise.js","webpack://renderMessage/./node_modules/@krakenjs/cross-domain-utils/src/utils.js","webpack://renderMessage/./node_modules/@krakenjs/cross-domain-utils/src/constants.js","webpack://renderMessage/./node_modules/@krakenjs/cross-domain-safe-weakmap/src/util.js","webpack://renderMessage/./node_modules/@krakenjs/cross-domain-safe-weakmap/src/weakmap.js","webpack://renderMessage/./node_modules/@krakenjs/belter/src/util.js","webpack://renderMessage/./node_modules/@krakenjs/cross-domain-safe-weakmap/src/native.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/construct.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","webpack://renderMessage/./node_modules/@krakenjs/belter/src/dom.js","webpack://renderMessage/./node_modules/@krakenjs/belter/src/constants.js","webpack://renderMessage/./node_modules/@krakenjs/belter/src/http.js","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/constants.js","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/lib/components.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/lib/util.js","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/applepay/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/bancontact/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/card/glyph/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/card/glyphRebrand/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/credit/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/eps/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/giropay/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/ideal/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/mybank/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/p24/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/paypal/logo.jsx","webpack://renderMessage/./src/server/message/logos.js","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/sepa/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/sofort/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/venmo/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/itau/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/wechatpay/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/payu/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/blik/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/trustly/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/oxxo/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/boleto/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/mercadopago/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/multibanco/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/satispay/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/paidy/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/paypalRebrand/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/paypalRebrand/badge.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/venmoRebrand/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/creditRebrand/logo.jsx","webpack://renderMessage/./node_modules/@paypal/sdk-logos/src/logos/creditRebrand/badge.jsx","webpack://renderMessage/./src/server/message/mediaQueries.js","webpack://renderMessage/./src/server/message/logoMutations.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/mutations/short_term_nq.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/mutations/short_term_q.js","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/index.js","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/base.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/logo--primary.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/logo--top.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/logo--right.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/logo--alternative.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/logo--primary-position--top.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/logo--inline.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/logo--none.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/text--right.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/text--right-logo--right.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/text--right-logo--primary.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/text--right-logo--alternative.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/text--right-logo--inline.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/text--center.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/text--center-logo--primary.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/text--center-logo--right-primary.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/text/text--center-logo--alternative.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/styles/text/index.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/styles/flex/index.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/styles/flex/base.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/index.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/validOptions.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/mutations/index.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_SHORT_TERM/styles/index.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/logos.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/mutations/mediaQueries.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/mutations/common.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/mutations/ppc_ni_nq.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/mutations/ppc_ni_q.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/mutations/ppc_ni_nq_xb.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/mutations/ppc_ni_q_xb.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/index.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/validOptions.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/mutations/index.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/index.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/flex/index.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/index.js","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/base.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/logo--inline.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/logo--primary.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/logo--primary-position--right.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/logo--alternative.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/logo--alternative-position--right.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/logo--top.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/text--right.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/text--right-logo--right.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/text--right-logo--right-primary.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/text--right-logo--right-alternative.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/text--center.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/text--center-logo--top.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/text--center-logo--right.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/text--center-logo--right-primary.css","webpack://renderMessage/./src/server/locale/US/PAYPAL_CREDIT/styles/text/text--center-logo--right-alternative.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/mutations/long_term_nq_eqz.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/mutations/long_term_nq_gtz.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/mutations/long_term_multi_eqz.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/mutations/long_term_multi_gtz_3mez.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/mutations/long_term_multi_gtz.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/mutations/long_term_single_eqz.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/mutations/long_term_single_gtz.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/mutations/generic.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/styles/text/index.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/styles/flex/index.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/styles/flex/base.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/index.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/validOptions.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/mutations/index.js","webpack://renderMessage/./src/server/locale/US/PAY_LATER_LONG_TERM/styles/index.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/long_term_nq_eqz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/long_term_nq_gtz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/long_term_multi_eqz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/long_term_multi_gtz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/long_term_single_eqz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/long_term_single_gtz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/short_term_q.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/short_term_nq.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/generic_pay_later.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/generic_pay_later_bnpl.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/generic_paypal.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/purchase_protection.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/styles/index.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/index.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/validOptions.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/BUTTONS/mutations/index.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/long_term_nq_eqz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/long_term_nq_gtz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/long_term_multi_eqz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/long_term_multi_gtz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/long_term_single_eqz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/long_term_single_gtz.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/short_term_q.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/short_term_nq.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/generic_pay_later.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/generic_pay_later_bnpl.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/generic_paypal.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/purchase_protection.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/styles/index.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/index.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/validOptions.js","webpack://renderMessage/./src/server/locale/US/CONTEXTUAL_COMPONENTS/MARKS/mutations/index.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/script.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/global.js","webpack://renderMessage/./node_modules/@krakenjs/beaver-logger/src/constants.js","webpack://renderMessage/./node_modules/@krakenjs/beaver-logger/src/config.js","webpack://renderMessage/./node_modules/@krakenjs/beaver-logger/src/util.js","webpack://renderMessage/./node_modules/@krakenjs/beaver-logger/src/logger.js","webpack://renderMessage/./node_modules/@krakenjs/beaver-logger/src/http.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/logger.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/domains.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/config.js","webpack://renderMessage/./node_modules/@paypal/sdk-constants/src/observability.js","webpack://renderMessage/./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/constants.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/fraudnet.js","webpack://renderMessage/./node_modules/@paypal/sdk-constants/src/env.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/api.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/events.js","webpack://renderMessage/./node_modules/@paypal/sdk-client/src/dpop.js","webpack://renderMessage/./src/utils/constants.js","webpack://renderMessage/./src/utils/miscellaneous.js","webpack://renderMessage/./src/utils/sdk.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/mediaQueries.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/gpl_eqz.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/gpl_gtz.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/gplq_eqz.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/gplq_gtz.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/gpl_eqz-non-de.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/gpl_gtz-non-de.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/gplq_eqz-non-de.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/gplq_gtz-non-de.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/generic.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/generic-non-de.js","webpack://renderMessage/./src/server/locale/DE/GPL/styles/text/index.js","webpack://renderMessage/./src/server/locale/DE/GPL/styles/text/logo--inline.css","webpack://renderMessage/./src/server/locale/DE/GPL/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/common/styles/GPL/flex/index.js","webpack://renderMessage/./src/server/locale/common/styles/GPL/flex/color--white.css","webpack://renderMessage/./src/server/locale/DE/GPL/styles/flex/index.js","webpack://renderMessage/./src/server/locale/DE/GPL/styles/flex/base.css","webpack://renderMessage/./src/server/locale/DE/GPL/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/DE/GPL/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/DE/GPL/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/DE/GPL/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/DE/GPL/index.js","webpack://renderMessage/./src/server/locale/DE/GPL/validOptions.js","webpack://renderMessage/./src/server/locale/DE/GPL/mutations/index.js","webpack://renderMessage/./src/server/locale/DE/GPL/styles/index.js","webpack://renderMessage/./src/server/locale/DE/Pi30/mutations/pi30.js","webpack://renderMessage/./src/server/locale/DE/Pi30/mutations/pi30nq.js","webpack://renderMessage/./src/server/locale/DE/Pi30/mutations/pi30q.js","webpack://renderMessage/./src/server/locale/DE/Pi30/mutations/pi30-non-de.js","webpack://renderMessage/./src/server/locale/DE/Pi30/mutations/pi30nq-non-de.js","webpack://renderMessage/./src/server/locale/DE/Pi30/mutations/pi30q-non-de.js","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/text/index.js","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/text/logo--inline.css","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/flex/index.js","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/flex/base.css","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/DE/Pi30/index.js","webpack://renderMessage/./src/server/locale/DE/Pi30/validOptions.js","webpack://renderMessage/./src/server/locale/DE/Pi30/mutations/index.js","webpack://renderMessage/./src/server/locale/DE/Pi30/styles/index.js","webpack://renderMessage/./src/server/locale/GB/mutations/gpl.js","webpack://renderMessage/./src/server/locale/GB/mutations/gplq.js","webpack://renderMessage/./src/server/locale/GB/styles/text/index.js","webpack://renderMessage/./src/server/locale/GB/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/GB/styles/flex/index.js","webpack://renderMessage/./src/server/locale/GB/styles/flex/base.css","webpack://renderMessage/./src/server/locale/GB/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/GB/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/GB/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/GB/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/GB/index.js","webpack://renderMessage/./src/server/locale/GB/validOptions.js","webpack://renderMessage/./src/server/locale/GB/mutations/index.js","webpack://renderMessage/./src/server/locale/GB/styles/index.js","webpack://renderMessage/./src/server/locale/FR/mutations/generic.js","webpack://renderMessage/./src/server/locale/FR/mutations/long_term_q_gtz.js","webpack://renderMessage/./src/server/locale/FR/mutations/long_term_nq_gtz.js","webpack://renderMessage/./src/server/locale/FR/mutations/gpl.js","webpack://renderMessage/./src/server/locale/FR/mutations/gplq.js","webpack://renderMessage/./src/server/locale/FR/styles/text/index.js","webpack://renderMessage/./src/server/locale/FR/styles/text/logo--inline.css","webpack://renderMessage/./src/server/locale/FR/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/FR/styles/flex/index.js","webpack://renderMessage/./src/server/locale/FR/styles/flex/base.css","webpack://renderMessage/./src/server/locale/FR/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/FR/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/FR/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/FR/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/FR/index.js","webpack://renderMessage/./src/server/locale/FR/validOptions.js","webpack://renderMessage/./src/server/locale/FR/mutations/index.js","webpack://renderMessage/./src/server/locale/FR/styles/index.js","webpack://renderMessage/./src/server/locale/ES/mutations/long_term_q.js","webpack://renderMessage/./src/server/locale/ES/mutations/long_term_nq.js","webpack://renderMessage/./src/server/locale/ES/mutations/long_term_q_eqz.js","webpack://renderMessage/./src/server/locale/ES/mutations/long_term_nq_eqz.js","webpack://renderMessage/./src/server/locale/ES/mutations/short_term_q.js","webpack://renderMessage/./src/server/locale/ES/mutations/short_term_nq.js","webpack://renderMessage/./src/server/locale/ES/mutations/short_term_no_amount.js","webpack://renderMessage/./src/server/locale/ES/styles/text/index.js","webpack://renderMessage/./src/server/locale/ES/styles/text/logo--inline.css","webpack://renderMessage/./src/server/locale/ES/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/ES/styles/flex/index.js","webpack://renderMessage/./src/server/locale/ES/styles/flex/base.css","webpack://renderMessage/./src/server/locale/ES/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/ES/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/ES/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/ES/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/ES/index.js","webpack://renderMessage/./src/server/locale/ES/validOptions.js","webpack://renderMessage/./src/server/locale/ES/mutations/index.js","webpack://renderMessage/./src/server/locale/ES/styles/index.js","webpack://renderMessage/./src/server/locale/AU/mutations/gpl.js","webpack://renderMessage/./src/server/locale/AU/mutations/gplq.js","webpack://renderMessage/./src/server/locale/AU/styles/text/index.js","webpack://renderMessage/./src/server/locale/AU/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/AU/styles/flex/index.js","webpack://renderMessage/./src/server/locale/AU/styles/flex/base.css","webpack://renderMessage/./src/server/locale/AU/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/AU/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/AU/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/AU/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/AU/index.js","webpack://renderMessage/./src/server/locale/AU/validOptions.js","webpack://renderMessage/./src/server/locale/AU/mutations/index.js","webpack://renderMessage/./src/server/locale/AU/styles/index.js","webpack://renderMessage/./src/server/locale/IT/mutations/long_term_q.js","webpack://renderMessage/./src/server/locale/IT/mutations/long_term_nq.js","webpack://renderMessage/./src/server/locale/IT/mutations/long_term_q_eqz.js","webpack://renderMessage/./src/server/locale/IT/mutations/long_term_nq_eqz.js","webpack://renderMessage/./src/server/locale/IT/mutations/short_term_q.js","webpack://renderMessage/./src/server/locale/IT/mutations/short_term_nq.js","webpack://renderMessage/./src/server/locale/IT/mutations/short_term_no_amount.js","webpack://renderMessage/./src/server/locale/IT/styles/text/index.js","webpack://renderMessage/./src/server/locale/IT/styles/text/logo--inline.css","webpack://renderMessage/./src/server/locale/IT/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/IT/styles/flex/index.js","webpack://renderMessage/./src/server/locale/IT/styles/flex/base.css","webpack://renderMessage/./src/server/locale/IT/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/IT/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/IT/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/IT/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/IT/index.js","webpack://renderMessage/./src/server/locale/IT/validOptions.js","webpack://renderMessage/./src/server/locale/IT/mutations/index.js","webpack://renderMessage/./src/server/locale/IT/styles/index.js","webpack://renderMessage/./src/server/locale/CA/validOptions.js","webpack://renderMessage/./src/server/locale/CA/mutations/generic.js","webpack://renderMessage/./src/server/locale/CA/mutations/short_term_nq.js","webpack://renderMessage/./src/server/locale/CA/mutations/short_term_q.js","webpack://renderMessage/./src/server/locale/CA/mutations/index.js","webpack://renderMessage/./src/server/locale/CA/styles/text/index.js","webpack://renderMessage/./src/server/locale/CA/styles/text/logo--inline_fr.css","webpack://renderMessage/./src/server/locale/CA/styles/text/logo--inline.css","webpack://renderMessage/./src/server/locale/CA/styles/flex/base.css","webpack://renderMessage/./src/server/locale/CA/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/locale/CA/styles/flex/index.js","webpack://renderMessage/./src/server/locale/CA/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/locale/CA/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/locale/CA/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/locale/CA/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/locale/CA/styles/index.js","webpack://renderMessage/./src/server/locale/CA/index.js","webpack://renderMessage/./src/server/locale/index.js","webpack://renderMessage/./src/server/locale/DE/index.js","webpack://renderMessage/./src/server/locale/US/index.js","webpack://renderMessage/./src/server/message/styles/common.css","webpack://renderMessage/./src/server/message/styles/text/logo--inline.css","webpack://renderMessage/./src/server/message/styles/flex/ratio--6x1.css","webpack://renderMessage/./src/server/message/styles/index.js","webpack://renderMessage/./src/server/message/styles/text/index.js","webpack://renderMessage/./src/server/message/styles/text/base.css","webpack://renderMessage/./src/server/message/styles/text/logo--alternative.css","webpack://renderMessage/./src/server/message/styles/text/logo--none.css","webpack://renderMessage/./src/server/message/styles/text/logo--right.css","webpack://renderMessage/./src/server/message/styles/text/logo--top.css","webpack://renderMessage/./src/server/message/styles/text/logo--alternative-position--top.css","webpack://renderMessage/./src/server/message/styles/text/text--black.css","webpack://renderMessage/./src/server/message/styles/text/text--white.css","webpack://renderMessage/./src/server/message/styles/text/text--monochrome.css","webpack://renderMessage/./src/server/message/styles/text/text--grayscale.css","webpack://renderMessage/./src/server/message/styles/flex/index.js","webpack://renderMessage/./src/server/message/styles/flex/base.css","webpack://renderMessage/./src/server/message/styles/flex/ratio--1x1.css","webpack://renderMessage/./src/server/message/styles/flex/ratio--1x4.css","webpack://renderMessage/./src/server/message/styles/flex/ratio--8x1.css","webpack://renderMessage/./src/server/message/styles/flex/ratio--20x1.css","webpack://renderMessage/./src/server/message/styles/flex/color--blue.css","webpack://renderMessage/./src/server/message/styles/flex/color--gray.css","webpack://renderMessage/./src/server/message/styles/flex/color--black.css","webpack://renderMessage/./src/server/message/styles/flex/color--white.css","webpack://renderMessage/./src/server/message/styles/flex/color--white-no-border.css","webpack://renderMessage/./src/server/message/styles/flex/color--monochrome.css","webpack://renderMessage/./src/server/message/styles/flex/color--grayscale.css","webpack://renderMessage/./src/server/message/styles/custom/index.js","webpack://renderMessage/./src/server/message/styles/custom/base.css","webpack://renderMessage/./src/server/message/parts/Logo.jsx","webpack://renderMessage/./src/server/message/parts/Text.jsx","webpack://renderMessage/./src/server/message/parts/BreakText.jsx","webpack://renderMessage/./src/server/message/parts/MutatedText.jsx","webpack://renderMessage/./src/server/message/parts/Styles.jsx","webpack://renderMessage/./src/server/message/parts/CustomMessage.jsx","webpack://renderMessage/./src/server/message/font.js","webpack://renderMessage/./src/server/message/index.jsx","webpack://renderMessage/./src/server/render.jsx","webpack://renderMessage/./src/server/validateStyle.js","webpack://renderMessage/./src/server/getParentStyles.js","webpack://renderMessage/./src/server/constants.js","webpack://renderMessage/./src/server/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","hasOwnProperty","p","s","h","g","Array","isArray","u","parentNode","removeChild","e","arguments","length","children","defaultProps","type","props","ref","__k","__","__b","__e","__c","constructor","__v","__i","__u","vnode","this","context","__P","__d","__n","namespaceURI","some","__h","base","push","__r","debounceRendering","sort","shift","f","a","v","y","_","b","nextSibling","String","insertBefore","nodeType","setProperty","test","style","cssText","replace","toLowerCase","slice","addEventListener","removeEventListener","removeAttribute","setAttribute","event","k","x","M","$","I","P","A","H","T","prototype","render","contextType","__E","sub","state","_sb","__s","getDerivedStateFromProps","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","apply","componentWillUpdate","componentDidUpdate","getChildContext","getSnapshotBeforeUpdate","then","indexOf","w","localName","document","createTextNode","createElementNS","is","__m","data","defaultValue","childNodes","attributes","__html","innerHTML","content","diffed","map","current","unmount","componentWillUnmount","getDerivedStateFromError","setState","componentDidCatch","forceUpdate","Promise","resolve","setTimeout","Math","random","toString","charCodeAt","reduce","shallow","pretty","voidElements","sortAttributes","allAttributes","xml","attributeHook","S","C","O","j","renderRootComponent","shallowHighOrder","F","L","_dirty","_nextState","assign","E","displayName","Function","match","D","N","keys","W","R","class","for","U","selected","V","Error","q","z","Z","B","G","J","K","Q","X","Y","join","substring","shallowRender","memoize","fn","cache","Map","_len","args","_key","cacheKey","JSON","stringify","has","set","curry","arity","curried","_len4","_key4","_len5","nextArgs","_key5","concat","_extends","target","source","objectClone","entries","accumulator","_ref2","_extends9","_extends7","_extends8","val","validateType","expectedType","Number","isNaN","prop","obj","_ref","_objectWithoutPropertiesLoose","excluded","sourceKeys","renderChildren","renderer","result","_i2","renderedChild","_i4","subchild","ElementNode","onRender","_proto","el","FragmentNode","TextNode","text","ComponentNode","component","_proto4","renderComponent","child","normalizeChildren","normalizeChild","_i6","_i8","_normalizeChildren2","TypeError","node","element","ELEMENT_DEFAULT_XML_NAMESPACE","_ELEMENT_DEFAULT_XML_","ATTRIBUTE_DEFAULT_XML_NAMESPACE","_ATTRIBUTE_DEFAULT_XM","createTextElement","doc","addProps","_Object$keys2","xmlNamespace","setAttributeNS","tagName","id","charAt","floor","ADD_CHILDREN","_ADD_CHILDREN","firstChild","win","contentWindow","docElement","documentElement","dom","appendChild","_node$renderChildren2","addChildren","html","ELEMENT_PROP","window","_el$querySelectorAll2","querySelectorAll","script","newScript","createElement","textContent","replaceChild","fixScripts","opts","_opts$doc","xmlNamespaceDomRenderer","childNode","createElementWithXMLNamespace","domRenderer","SELF_CLOSING_TAGS","br","htmlEncode","htmlRenderer","renderedProps","filter","renderedChildren","_setPrototypeOf","setPrototypeOf","__proto__","_inheritsLoose","subClass","superClass","isPromise","item","Window","err","flushPromise","dispatchedErrors","possiblyUnhandledPromiseHandlers","activeCount","flushActive","promise","startActive","endActive","ZalgoPromise","handler","_this","resolved","rejected","errorHandled","error","handlers","dispatching","stack","isAsync","res","reject","dispatch","_this2","dispatchPossiblyUnhandledError","asyncReject","chain","firstPromise","secondPromise","_handlers$i","onSuccess","onError","promiseResult","catch","undefined","finally","onFinally","try","timeout","time","_this3","clearTimeout","toPromise","lazy","all","promises","count","results","prom","hash","awaitPromises","_loop","items","method","onPossiblyUnhandledException","cancel","splice","delay","flush","IE_WIN_ACCESS_ERROR","getActualProtocol","location","protocol","getProtocol","mockDomain","split","isAboutProtocol","canReadFromWindow","getActualDomain","PROTOCOL","parent","getParent","host","getDomain","domain","isSameDomain","desc","getOwnPropertyDescriptor","isMockProtocol","isActuallySameDomain","iframeWindows","iframeFrames","isWindowClosed","allowMock","closed","message","mockclosed","top","iframeIndex","collection","safeIndexOf","frame","ownerDocument","contains","isFrameWindowClosed","isWindow","self","__cross_domain_utils_window_check__","objectIDs","CrossDomainSafeWeakMap","weakmap","values","WeakMap","freeze","testWeakMap","testKey","hasNativeWeakMap","_cleanupClosedWindows","delete","isSafeToReadWrite","entry","writable","index","getOrSet","_getPrototypeOf","getPrototypeOf","_isNativeReflectConstruct","Reflect","construct","sham","Proxy","Date","_construct","Parent","Class","isNativeReflectConstruct","instance","_wrapNativeSuper","_cache","Wrapper","configurable","getFunctionName","__name__","setFunctionName","base64encode","str","btoa","encodeURIComponent","p1","fromCharCode","parseInt","Buffer","from","uniqueID","chars","toISOString","serializeArgs","subkey","uid","getObjectID","passed","Element","isElement","getEmptyObject","memoizeGlobalIndex","memoizeGlobalIndexValidFrom","options","simpleCache","thisCache","_options$thisNamespac","thisNamespace","cacheTime","memoizeIndex","memoizedFunction","_unused","cacheResult","now","reset","noop","svgToBase64","svg","objFilter","Boolean","clear","_ExtendableError","ExtendableError","_Error","_this6","captureStackTrace","isDocumentReady","body","readyState","isDocumentInteractive","isBrowser","interval","setInterval","clearInterval","currentScript","getCurrentScript","getStackTrace","stackDetails","exec","scriptLocation","_i20","_Array$prototype$slic2","getElementsByTagName","reverse","src","inferCurrentScript","currentUID","getCurrentScriptUID","getAttribute","ATTRIBUTES","hashedString","total","abs","strHashStr","dataset","headerBuilders","request","url","_ref$method","_ref$headers","headers","json","_ref$win","_ref$timeout","normalizedHeaders","builtHeaders","headerBuilder","_Object$keys4","xhr","XMLHttpRequest","responseHeaders","rawHeaders","_rawHeaders$trim$spli2","trim","_line$split","_arrayLikeToArray","parseHeaders","getAllResponseHeaders","status","contentType","isJSON","responseBody","responseText","parse","evt","open","setRequestHeader","ontimeout","send","SVG","cdnUrl","otherProps","_excluded","svgProps","SVGLogo","logoColor","_excluded2","alt","LOGO_CLASS","getLogoColors","logoColorMap","colors","_APPLEPAY_LOGO_COLORS","primary","secondary","_BANCONTACT_LOGO_COLO","tertiary","quaternary","_GLYPH_CARD_LOGO_COLO","_GLYPH_CARD_REBRAND_L","_CREDIT_LOGO_COLORS","_EPS_LOGO_COLORS","_GIROPAY_LOGO_COLORS","quinary","_IDEAL_LOGO_COLORS","_MYBANK_LOGO_COLORS","_P24_LOGO_COLORS","PAYPAL_LOGO_COLORS","_PAYPAL_LOGO_COLORS","PP_LOGO_COLORS","_PP_LOGO_COLORS","primaryOpacity","secondaryOpacity","PPMONOCHROME_LOGO_COLORS","_PPMONOCHROME_LOGO_CO","getSrc","getPPLogoBase64","_ref3","_ref3$logoColor","width","height","viewBox","preserveAspectRatio","xmlns","fill","role","PayPalLogo","getPPMonogramBase64","_ref9","_ref7","_ref9$logoColor","PPMonochrome","_ref6","_ref4","_ref4$primaryOpacity","_ref4$secondaryOpacit","_ref4$tertiaryOpacity","tertiaryOpacity","_ref6$logoColor","_excluded4","opacity","PPLogo","_SEPA_LOGO_COLORS","main","card","_SOFORT_LOGO_COLORS","_VENMO_LOGO_COLORS","_ITAU_LOGO_COLORS","_WECHATPAY_LOGO_COLOR","_PAYU_LOGO_COLORS","_BLIK_LOGO_COLORS","senary","_TRUSTLY_LOGO_COLORS","_OXXO_LOGO_COLORS","_BOLETO_LOGO_COLORS","_MERCADOPAGO_LOGO_COL","_MULTIBANCO_LOGO_COLO","_SATISPAY_LOGO_COLORS","_PAIDY_LOGO_COLORS","_PAYPAL_REBRAND_LOGO_","_PP_REBRAND_LOGO_COLO","_PAYPAL_REBRAND_BADGE","background","foreground","_VENMO_REBRAND_LOGO_C","_PAYPAL_CREDIT_REBRAN","_CREDIT_REBRAND_BADGE","_CREDIT_REBRAND_PP_BA","PP_PAYPAL","COLOR","dimensions","WHITE","GRAYSCALE","MONOCHROME","NO_PP_MONOGRAM","xSmallFallback","breakpoint","textWrap","textSize","locale","altNoWrap","setLogoTop","messageLogoWidth","logoContainerWidth","logoWidth","monogramWidth","removeInlinePeriod","removePeriodFromProductName","xSmallNoWrap","primaryWrap","hideDisclaimer","textLogoMutations","logo","Logo","flexLogoMutations","headline","tag","disclaimer","styles","_ref5","sharedGPLTextStyles","ratio6x1","localeClass","productName","validOptions","position","color","size","align","fontFamily","fontSource","flex","ratio","custom","markup","getMutations","shortTermQ","shortTermNQ","logos","TYPES","TYPE_MAP","BLACK","getSvgSrc","svgFileName","ROOT_URL","STACKED","_extends2","SINGLE_LINE","_extends3","SINGLE_LINE_NO_PAYPAL","_extends4","SINGLE_LINE_NO_PP","_extends5","PRIMARY","ALTERNATIVE","ALT_NO_PAYPAL","ALT_NO_PP","basicMediaQuery","primaryContentMediaQuery","logoContainerBP","logoSvgBP","smallLogo","largeLogo","whiteSpaceBP","altContentMediaQuery","messageDisclaimerMediaQuery","breakpointCalc","messageWidth","_ref8","niQXB","niNQXB","niQ","niNQ","longTermNQEQZ","longTermNQGTZ","longTermMultiEQZ","longTermMultiGTZ","longTermMultiGTZ3MEZ","longTermSingleEQZ","longTermSingleGTZ","generic","shortTermSingleQ","shortTermSingleNQ","genericPayLater","genericPayLaterBNPL","purchaseProtection","genericPayPal","getSDKScript","path","errorString","stringifyError","level","newErr","buildScriptNotFoundError","__SDK_HOST__","__PATH__","_sdkScript$attributes2","attr","token","atob","_JSON$parse$options","customer_id","AUTO_FLUSH_LEVEL","LOG_LEVEL_PRIORITY","extendIfDefined","Logger","httpWin","prefix","metricNamespacePrefix","_ref$logLevel","logLevel","_ref$transport","transport","_ref$enableSendBeacon","enableSendBeacon","httpWindow","assertSameDomain","beaconResult","hasHeaders","navigator","sendBeacon","Blob","canUseSendBeacon","_ref2$win","_ref2$useBlob","useBlob","blob","_ref$flushInterval","flushInterval","events","tracking","metrics","payloadBuilders","metaBuilders","trackingBuilders","metricDimensionBuilders","print","payload","console","log","warning","immediateFlush","meta","builder","localPromise","logger","logPayload","timestamp","enqueue","addBuilder","builders","metric","metricPayload","metricNamespace","_i0","loop","safeInterval","debug","info","warn","track","trackingPayload","metricCounter","_metricPayload$value","namespace","metricEventName","metricValue","metricType","metricGauge","metricHistogram","addPayloadBuilder","addMetaBuilder","addMetricDimensionBuilder","addTrackingBuilder","addHeaderBuilder","setTransport","newTransport","configure","__buffer__","getLogger","__PAYPAL_DOMAIN__","asyncGeneratorStep","gen","_next","_throw","arg","done","_asyncToGenerator","FRAUDNET_URL","_FRAUDNET_URL","env","cspNonce","_ref3$queryStringPara","queryStringParams","_ref$cspNonce","clientMetadataID","appName","_document$body","config","io","cb1","sandbox","configScript","createConfigScript","_collect","fraudnetPromise","_ref2$queryStringPara","_document$body2","fraudnetScript","queryString","fraudnetUrl","fnCallback","createFraudnetScript","collect","PAYPAL","asyncData","clientID","basicAuth","__PAYPAL_API_DOMAIN__","Authorization","grant_type","access_token","triggered","emitter","on","eventName","handlerList","cancelled","once","listener","trigger","_len3","_key3","triggerOnce","keyPair","KEY_OPTIONS","alg","modulusLength","publicExponent","Uint8Array","extractable","sign","usages","generateKeyPair","_yield$window$crypto$","crypto","subtle","generateKey","publicKey","privateKey","stringToBytes","string","bytesToString","bytes","base64encodeUrlSafe","sha256","digest","binaryString","_x","jsonWebKeyThumbprint","jwk","crv","kty","_x2","createJWT","accessToken","nonce","uri","exportKey","encodedHeader","typ","ath","cnf","jkt","htm","htu","iat","jti","randomUUID","encodedPayload","signature","_x3","OFFER","_yield$generateKeyPai","DPoP","getDataByTag","_defaultData$","defaultData","find","includes","fallbackTag","getStandardProductOffer","offer","toUpperCase","viewport","querySelector","head","_viewport$getAttribut","_document$body$style$","_document$body$style$2","__pp_prev_content__","__pp_prev_overflow__","overflow","__pp_prev_msOverflowStyle__","msOverflowStyle","logoNoneAddRatenzahlungAfterPayPal","elementChild","logoInlineAddRatenzahlungAfterPayPal","crossBorderDisclaimerWrap","breakpointOne","breakpointTwo","breakpointThree","breakpointFour","crossBorderLogoNoneWrap","headlineBreaks","sizes","breaks","acc","forEach","sharedGPLFlexStyles","gplGtz","gplqEqz","gplqGtz","gplEqzNonDe","gplGtzNonDe","gplqEqzNonDe","gplqGtzNonDe","gplEqz","genericNonDe","preset","pi30q","pi30nq","pi30qNonDe","pi30nqNonDe","pi30nonDe","pi30","plq","pl","subHeadline","longTermQ","longTermNq","gplq","gpl","longTermQEqz","longTermNqEqz","shortTermNq","shortTermNoAmount","getTextStyles","language","getStyles","getLocaleSettings","offerCountry","offerType","contextualComponents","DE","GB","ES","FR","AU","IT","CA","Buttons","Marks","paypalCredit","payLaterShortTerm","payLaterLongTerm","US","getLocaleClass","common","logoInline","Logos","mutations","className","aria-hidden","_ref2$dimensions","Text","spaced","dangerouslySetInnerHTML","Fragment","BreakText","textParts","availableBreaks","idx","_ref2$","containedBreaks","endsWith","breakText","breakWord","breakIndex","s1","splitText","breakTextPart","breakIdx","MutatedText","uniformOptions","tagData","currencyFormat","formattedStr","matchNQ","foundString","filteredString","matchQ","currencySymbol","op","optionIdx","otherOptions","textData","uniformTextParts","Styles","localeStyleRules","mutationStyleRules","miscStyleRules","customFontStyleRules","globalStyleRules","CustomMessage","template","populatedMarkup","templateVariable","_getLogos$parts$0$toU","_templateVariable$spl","parts","span","customFontCounter","applyCascade","flattened","rules","every","_style$text$size","_style$text","calculatedVal","deepMerge","targetObject","mergingObject","_extends11","_extends0","_extends1","_extends10","_markup$meta$messageT","_markup$meta","_markup$meta2","_markup$meta$language","_markup$meta3","_mutationRules$styles","_style$logo","messageType","layout","styleSelectors","objectFlattenToArray","delimiter","applyCascadeRules","mutationRules","mutation","layoutProp","allStyles","settings","getLocaleStyles","rule","fontSelector","_style$text2","fontSourceStyle","fontFamilyStyle","parseTextSize","customFontSourceNames","_generateFontFaceRule","generateFontFaceRule","customFontFamilyNames","_genericFamilies$val","serif","monospace","cursive","fantasy","formatFontFamilyName","fontFamilyRule","getFontRules","logoType","logoEl","_getLocaleProductName","getLocaleProductName","productNameEl","customMarkup","addLog","Message","logInvalid","logInvalidOption","getValidStyleOptions","localeStyleOptions","populateDefaults","defaults","_options$key","validVal","typeArr","_typeArr$","validVals","numberVal","logInvalidType","getValidVal","validStyleOptions","getValidOptions","ratioMap","toCSSValue","denominator","numerator","ratioStringToObject","_value$split","optionalRules","startsWith","getParentStyles","ratioPreset","ratioConfig","wrapperClass","VARIANT","PORT","process","version","__MESSAGES__"],"mappings":"kCACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,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yE,EAAao4B,GAOV,OANIA,EAAKiD,WAAW,KAChBr7B,EAAYwb,WAAa4c,EAAK9gC,MAAM,GAC7B8gC,EAAKiD,WAAW,OACvBr7B,EAAY+X,MAAQqgB,EAAK9gC,MAAM,GAAI,GAAGgT,MAAM,MAGzCtK,IAEX,CAAE4d,UAb8B,GAmBzB,SAAS0d,GAAgBpkC,GACpC,IAAeqkC,EAAwBrkC,EAA/B0mB,MAER,IAAK2d,EACD,MAAO,GAGX,IAAIC,EAAc,GACH,SAPwBtkC,EAAXugC,OAQxB+D,EAAcV,GAASS,GAChBtnC,MAAMC,QAAQqnC,GACrBC,EAAcD,EAAY/gC,IAAI0gC,IACA,iBAAhBK,IACdC,EAAc,CAACN,GAAoBK,KAGvC,IAAME,EAAe,YAAYD,EAAYlkC,OAAO,GAAG,GAAGsmB,MAE1D,OAAO4d,EAAYjgC,QAAO,SAACyE,EAAWY,GAAmC,IAA/B4a,EAAU5a,EAAV4a,WAAYoC,EAAKhd,EAALgd,MAAO7F,EAAKnX,EAALmX,MACzD,MAAoB,KAAhB/X,EACO,sBACAy7B,EAAY,mGAIPxnC,MAAMC,QAAQ6jB,GAAM,gDAECgjB,GAAWhjB,EAAM,IAAG,iDACpBgjB,GAAWhjB,EAAM,IAAG,QACjC,iIAMb0jB,EAAY,gDACIV,GAAWnd,GAAM,mHAKjC6d,EAAY,sNAUlBjgB,EAEE,iBACDxb,EAAW,oCACQ+6B,GAAWvf,GAAW,yBAEnCvnB,MAAMC,QAAQ6jB,GAAM,kCAET0jB,EAAY,kDACEV,GAAWhjB,EAAM,IAAG,iDACpBgjB,GAAWhjB,EAAM,IAAG,uCAErC,sBAET0jB,EAAY,gDACIV,GAAWnd,GAAM,gDAfpB5d,IAmBzB,IC1JA,IAAM07B,GAAU,IACVC,GAAOC,QAAQlU,IAAIiU,MAAQ,KCG3BE,GAAUC","file":"renderMessage.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n","var n,l,u,t,i,r,o,e,f,c,a,s,h,p,v,y,d={},w=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function m(n,l){for(var u in l)n[u]=l[u];return n}function b(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function k(l,u,t){var i,r,o,e={};for(o in u)\"key\"==o?i=u[o]:\"ref\"==o?r=u[o]:e[o]=u[o];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),\"function\"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===e[o]&&(e[o]=l.defaultProps[o]);return x(l,e,i,r,null)}function x(n,t,i,r,o){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++u:o,__i:-1,__u:0};return null==o&&null!=l.vnode&&l.vnode(e),e}function M(){return{current:null}}function S(n){return n.children}function C(n,l){this.props=n,this.context=l}function $(n,l){if(null==l)return n.__?$(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return\"function\"==typeof n.type?$(n):null}function I(n){if(n.__P&&n.__d){var u=n.__v,t=u.__e,i=[],r=[],o=m({},u);o.__v=u.__v+1,l.vnode&&l.vnode(o),q(n.__P,o,u,n.__n,n.__P.namespaceURI,32&u.__u?[t]:null,i,null==t?$(u):t,!!(32&u.__u),r),o.__v=u.__v,o.__.__k[o.__i]=o,D(i,o,r),u.__e=u.__=null,o.__e!=t&&P(o)}}function P(n){if(null!=(n=n.__)&&null!=n.__c)return n.__e=n.__c.base=null,n.__k.some(function(l){if(null!=l&&null!=l.__e)return n.__e=n.__c.base=l.__e}),P(n)}function A(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!H.__r++||r!=l.debounceRendering)&&((r=l.debounceRendering)||o)(H)}function H(){try{for(var n,l=1;i.length;)i.length>l&&i.sort(e),n=i.shift(),l=i.length,I(n)}finally{i.length=H.__r=0}}function L(n,l,u,t,i,r,o,e,f,c,a){var s,h,p,v,y,_,g,m=t&&t.__k||w,b=l.length;for(f=T(u,l,m,f,b),s=0;s<b;s++)null!=(p=u.__k[s])&&(h=-1!=p.__i&&m[p.__i]||d,p.__i=s,_=q(n,p,h,i,r,o,e,f,c,a),v=p.__e,p.ref&&h.ref!=p.ref&&(h.ref&&J(h.ref,null,p),a.push(p.ref,p.__c||v,p)),null==y&&null!=v&&(y=v),(g=!!(4&p.__u))||h.__k===p.__k?(f=j(p,f,n,g),g&&h.__e&&(h.__e=null)):\"function\"==typeof p.type&&void 0!==_?f=_:v&&(f=v.nextSibling),p.__u&=-7);return u.__e=y,f}function T(n,l,u,t,i){var r,o,e,f,c,a=u.length,s=a,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&\"boolean\"!=typeof o&&\"function\"!=typeof o?(\"string\"==typeof o||\"number\"==typeof o||\"bigint\"==typeof o||o.constructor==String?o=n.__k[r]=x(null,o,null,null,null):g(o)?o=n.__k[r]=x(S,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?o=n.__k[r]=x(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):n.__k[r]=o,f=r+h,o.__=n,o.__b=n.__b+1,e=null,-1!=(c=o.__i=O(o,u,f,s))&&(s--,(e=u[c])&&(e.__u|=2)),null==e||null==e.__v?(-1==c&&(i>a?h--:i<a&&h++),\"function\"!=typeof o.type&&(o.__u|=4)):c!=f&&(c==f-1?h--:c==f+1?h++:(c>f?h--:h++,o.__u|=4))):n.__k[r]=null;if(s)for(r=0;r<a;r++)null!=(e=u[r])&&0==(2&e.__u)&&(e.__e==t&&(t=$(e)),K(e,e));return t}function j(n,l,u,t){var i,r;if(\"function\"==typeof n.type){for(i=n.__k,r=0;i&&r<i.length;r++)i[r]&&(i[r].__=n,l=j(i[r],l,u,t));return l}n.__e!=l&&(t&&(l&&n.type&&!l.parentNode&&(l=$(n)),u.insertBefore(n.__e,l||null)),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8==l.nodeType);return l}function F(n,l){return l=l||[],null==n||\"boolean\"==typeof n||(g(n)?n.some(function(n){F(n,l)}):l.push(n)),l}function O(n,l,u,t){var i,r,o,e=n.key,f=n.type,c=l[u],a=null!=c&&0==(2&c.__u);if(null===c&&null==e||a&&e==c.key&&f==c.type)return u;if(t>(a?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;)if(null!=(c=l[o=i>=0?i--:r++])&&0==(2&c.__u)&&e==c.key&&f==c.type)return o;return-1}function z(n,l,u){\"-\"==l[0]?n.setProperty(l,null==u?\"\":u):n[l]=null==u?\"\":\"number\"!=typeof u||_.test(l)?u:u+\"px\"}function N(n,l,u,t,i){var r,o;n:if(\"style\"==l)if(\"string\"==typeof u)n.style.cssText=u;else{if(\"string\"==typeof t&&(n.style.cssText=t=\"\"),t)for(l in t)u&&l in u||z(n.style,l,\"\");if(u)for(l in u)t&&u[l]==t[l]||z(n.style,l,u[l])}else if(\"o\"==l[0]&&\"n\"==l[1])r=l!=(l=l.replace(s,\"$1\")),o=l.toLowerCase(),l=o in n||\"onFocusOut\"==l||\"onFocusIn\"==l?o.slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?t?u[a]=t[a]:(u[a]=h,n.addEventListener(l,r?v:p,r)):n.removeEventListener(l,r?v:p,r);else{if(\"http://www.w3.org/2000/svg\"==i)l=l.replace(/xlink(H|:h)/,\"h\").replace(/sName$/,\"s\");else if(\"width\"!=l&&\"height\"!=l&&\"href\"!=l&&\"list\"!=l&&\"form\"!=l&&\"tabIndex\"!=l&&\"download\"!=l&&\"rowSpan\"!=l&&\"colSpan\"!=l&&\"role\"!=l&&\"popover\"!=l&&l in n)try{n[l]=null==u?\"\":u;break n}catch(n){}\"function\"==typeof u||(null==u||!1===u&&\"-\"!=l[4]?n.removeAttribute(l):n.setAttribute(l,\"popover\"==l&&1==u?\"\":u))}}function V(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u[c])u[c]=h++;else if(u[c]<t[a])return;return t(l.event?l.event(u):u)}}}function q(n,u,t,i,r,o,e,f,c,a){var s,h,p,v,y,d,_,k,x,M,$,I,P,A,H,T=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),o=[f=u.__e=t.__e]),(s=l.__b)&&s(u);n:if(\"function\"==typeof T)try{if(k=u.props,x=T.prototype&&T.prototype.render,M=(s=T.contextType)&&i[s.__c],$=s?M?M.props.value:s.__:i,t.__c?_=(h=u.__c=t.__c).__=h.__E:(x?u.__c=h=new T(k,$):(u.__c=h=new C(k,$),h.constructor=T,h.render=Q),M&&M.sub(h),h.state||(h.state={}),h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),x&&null==h.__s&&(h.__s=h.state),x&&null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=m({},h.__s)),m(h.__s,T.getDerivedStateFromProps(k,h.__s))),v=h.props,y=h.state,h.__v=u,p)x&&null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),x&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(x&&null==T.getDerivedStateFromProps&&k!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(k,$),u.__v==t.__v||!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(k,h.__s,$)){u.__v!=t.__v&&(h.props=k,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u)}),w.push.apply(h.__h,h._sb),h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(k,h.__s,$),x&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,y,d)})}if(h.context=$,h.props=k,h.__P=n,h.__e=!1,I=l.__r,P=0,x)h.state=h.__s,h.__d=!1,I&&I(u),s=h.render(h.props,h.state,h.context),w.push.apply(h.__h,h._sb),h._sb=[];else do{h.__d=!1,I&&I(u),s=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++P<25);h.state=h.__s,null!=h.getChildContext&&(i=m(m({},i),h.getChildContext())),x&&!p&&null!=h.getSnapshotBeforeUpdate&&(d=h.getSnapshotBeforeUpdate(v,y)),A=null!=s&&s.type===S&&null==s.key?E(s.props.children):s,f=L(n,g(A)?A:[A],u,t,i,r,o,e,f,c,a),h.base=u.__e,u.__u&=-161,h.__h.length&&e.push(h),_&&(h.__E=h.__=null)}catch(n){if(u.__v=null,c||null!=o)if(n.then){for(u.__u|=c?160:128;f&&8==f.nodeType&&f.nextSibling;)f=f.nextSibling;o[o.indexOf(f)]=null,u.__e=f}else{for(H=o.length;H--;)b(o[H]);B(u)}else u.__e=t.__e,u.__k=t.__k,n.then||B(u);l.__e(n,u,t)}else null==o&&u.__v==t.__v?(u.__k=t.__k,u.__e=t.__e):f=u.__e=G(t.__e,u,t,i,r,o,e,c,a);return(s=l.diffed)&&s(u),128&u.__u?void 0:f}function B(n){n&&(n.__c&&(n.__c.__e=!0),n.__k&&n.__k.some(B))}function D(n,u,t){for(var i=0;i<t.length;i++)J(t[i],t[++i],t[++i]);l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function E(n){return\"object\"!=typeof n||null==n||n.__b>0?n:g(n)?n.map(E):void 0!==n.constructor?null:m({},n)}function G(u,t,i,r,o,e,f,c,a){var s,h,p,v,y,w,_,m=i.props||d,k=t.props,x=t.type;if(\"svg\"==x?o=\"http://www.w3.org/2000/svg\":\"math\"==x?o=\"http://www.w3.org/1998/Math/MathML\":o||(o=\"http://www.w3.org/1999/xhtml\"),null!=e)for(s=0;s<e.length;s++)if((y=e[s])&&\"setAttribute\"in y==!!x&&(x?y.localName==x:3==y.nodeType)){u=y,e[s]=null;break}if(null==u){if(null==x)return document.createTextNode(k);u=document.createElementNS(o,x,k.is&&k),c&&(l.__m&&l.__m(t,e),c=!1),e=null}if(null==x)m===k||c&&u.data==k||(u.data=k);else{if(e=\"textarea\"==x&&null!=k.defaultValue?null:e&&n.call(u.childNodes),!c&&null!=e)for(m={},s=0;s<u.attributes.length;s++)m[(y=u.attributes[s]).name]=y.value;for(s in m)y=m[s],\"dangerouslySetInnerHTML\"==s?p=y:\"children\"==s||s in k||\"value\"==s&&\"defaultValue\"in k||\"checked\"==s&&\"defaultChecked\"in k||N(u,s,null,y,o);for(s in k)y=k[s],\"children\"==s?v=y:\"dangerouslySetInnerHTML\"==s?h=y:\"value\"==s?w=y:\"checked\"==s?_=y:c&&\"function\"!=typeof y||m[s]===y||N(u,s,y,m[s],o);if(h)c||p&&(h.__html==p.__html||h.__html==u.innerHTML)||(u.innerHTML=h.__html),t.__k=[];else if(p&&(u.innerHTML=\"\"),L(\"template\"==t.type?u.content:u,g(v)?v:[v],t,i,r,\"foreignObject\"==x?\"http://www.w3.org/1999/xhtml\":o,e,f,e?e[0]:i.__k&&$(i,0),c,a),null!=e)for(s=e.length;s--;)b(e[s]);c&&\"textarea\"!=x||(s=\"value\",\"progress\"==x&&null==w?u.removeAttribute(\"value\"):null!=w&&(w!==u[s]||\"progress\"==x&&!w||\"option\"==x&&w!=m[s])&&N(u,s,w,m[s],o),s=\"checked\",null!=_&&_!=u[s]&&N(u,s,_,m[s],o))}return u}function J(n,u,t){try{if(\"function\"==typeof n){var i=\"function\"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u))}else n.current=u}catch(n){l.__e(n,t)}}function K(n,u,t){var i,r;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!=n.__e||J(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&K(i[r],u,t||\"function\"!=typeof n.type);t||b(n.__e),n.__c=n.__=n.__e=void 0}function Q(n,l,u){return this.constructor(n,u)}function R(u,t,i){var r,o,e,f;t==document&&(t=document.documentElement),l.__&&l.__(u,t),o=(r=\"function\"==typeof i)?null:i&&i.__k||t.__k,e=[],f=[],q(t,u=(!r&&i||t).__k=k(S,null,[u]),o||d,d,t.namespaceURI,!r&&i?[i]:o?null:t.firstChild?n.call(t.childNodes):null,e,!r&&i?i:o?o.__e:t.firstChild,r,f),D(e,u,f)}function U(n,l){R(n,l,U)}function W(l,u,t){var i,r,o,e,f=m({},l.props);for(o in l.type&&l.type.defaultProps&&(e=l.type.defaultProps),u)\"key\"==o?i=u[o]:\"ref\"==o?r=u[o]:f[o]=void 0===u[o]&&null!=e?e[o]:u[o];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),x(l.type,f,i||l.key,r||l.ref,null)}function X(n){function l(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l.__c]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&u.forEach(function(n){n.__e=!0,A(n)})},this.sub=function(n){u.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.delete(n),l&&l.call(n)}}),n.children}return l.__c=\"__cC\"+y++,l.__=n,l.Provider=l.__l=(l.Consumer=function(n,l){return n.children(l)}).contextType=l,l}n=w.slice,l={__e:function(n,l,u,t){for(var i,r,o;l=l.__;)if((i=l.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),o=i.__d),o)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},C.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=m({},this.state),\"function\"==typeof n&&(n=n(m({},u),this.props)),n&&m(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),A(this))},C.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),A(this))},C.prototype.render=S,i=[],o=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e=function(n,l){return n.__v.__b-l.__v.__b},H.__r=0,f=Math.random().toString(8),c=\"__d\"+f,a=\"__a\"+f,s=/(PointerCapture)$|Capture$/i,h=0,p=V(!1),v=V(!0),y=0;export{C as Component,S as Fragment,W as cloneElement,X as createContext,k as createElement,M as createRef,k as h,U as hydrate,t as isValidElement,l as options,R as render,F as toChildArray};\n//# sourceMappingURL=preact.module.js.map\n","import{Fragment as e,options as t,h as r}from\"preact\";var n=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i,o=/^(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/,i=/[\\s\\n\\\\/='\"\\0<>]/,l=/^xlink:?./,a=/[\"&<]/;function s(e){if(!1===a.test(e+=\"\"))return e;for(var t=0,r=0,n=\"\",o=\"\";r<e.length;r++){switch(e.charCodeAt(r)){case 34:o=\""\";break;case 38:o=\"&\";break;case 60:o=\"<\";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=o,t=r+1}return r!==t&&(n+=e.slice(t,r)),n}var f=function(e,t){return String(e).replace(/(\\n+)/g,\"$1\"+(t||\"\\t\"))},u=function(e,t,r){return String(e).length>(t||40)||!r&&-1!==String(e).indexOf(\"\\n\")||-1!==String(e).indexOf(\"<\")},c={},_=/([A-Z])/g;function p(e){var t=\"\";for(var r in e){var o=e[r];null!=o&&\"\"!==o&&(t&&(t+=\" \"),t+=\"-\"==r[0]?r:c[r]||(c[r]=r.replace(_,\"-$1\").toLowerCase()),t=\"number\"==typeof o&&!1===n.test(r)?t+\": \"+o+\"px;\":t+\": \"+o+\";\")}return t||void 0}function d(e,t){return Array.isArray(t)?t.reduce(d,e):null!=t&&!1!==t&&e.push(t),e}function v(){this.__d=!0}function h(e,t){return{__v:e,context:t,props:e.props,setState:v,forceUpdate:v,__d:!0,__h:[]}}function g(e,t){var r=e.contextType,n=r&&t[r.__c];return null!=r?n?n.props.value:r.__:t}var y=[];function m(r,n,a,c,_,v){if(null==r||\"boolean\"==typeof r)return\"\";if(\"object\"!=typeof r)return\"function\"==typeof r?\"\":s(r);var b=a.pretty,x=b&&\"string\"==typeof b?b:\"\\t\";if(Array.isArray(r)){for(var k=\"\",S=0;S<r.length;S++)b&&S>0&&(k+=\"\\n\"),k+=m(r[S],n,a,c,_,v);return k}if(void 0!==r.constructor)return\"\";var w,C=r.type,O=r.props,j=!1;if(\"function\"==typeof C){if(j=!0,!a.shallow||!c&&!1!==a.renderRootComponent){if(C===e){var A=[];return d(A,r.props.children),m(A,n,a,!1!==a.shallowHighOrder,_,v)}var F,H=r.__c=h(r,n);t.__b&&t.__b(r);var M=t.__r;if(C.prototype&&\"function\"==typeof C.prototype.render){var L=g(C,n);(H=r.__c=new C(O,L)).__v=r,H._dirty=H.__d=!0,H.props=O,null==H.state&&(H.state={}),null==H._nextState&&null==H.__s&&(H._nextState=H.__s=H.state),H.context=L,C.getDerivedStateFromProps?H.state=Object.assign({},H.state,C.getDerivedStateFromProps(H.props,H.state)):H.componentWillMount&&(H.componentWillMount(),H.state=H._nextState!==H.state?H._nextState:H.__s!==H.state?H.__s:H.state),M&&M(r),F=H.render(H.props,H.state,H.context)}else for(var T=g(C,n),E=0;H.__d&&E++<25;)H.__d=!1,M&&M(r),F=C.call(r.__c,O,T);return H.getChildContext&&(n=Object.assign({},n,H.getChildContext())),t.diffed&&t.diffed(r),m(F,n,a,!1!==a.shallowHighOrder,_,v)}C=(w=C).displayName||w!==Function&&w.name||function(e){var t=(Function.prototype.toString.call(e).match(/^\\s*function\\s+([^( ]+)/)||\"\")[1];if(!t){for(var r=-1,n=y.length;n--;)if(y[n]===e){r=n;break}r<0&&(r=y.push(e)-1),t=\"UnnamedComponent\"+r}return t}(w)}var $,D,N=\"<\"+C;if(O){var P=Object.keys(O);a&&!0===a.sortAttributes&&P.sort();for(var W=0;W<P.length;W++){var I=P[W],R=O[I];if(\"children\"!==I){if(!i.test(I)&&(a&&a.allAttributes||\"key\"!==I&&\"ref\"!==I&&\"__self\"!==I&&\"__source\"!==I)){if(\"defaultValue\"===I)I=\"value\";else if(\"defaultChecked\"===I)I=\"checked\";else if(\"defaultSelected\"===I)I=\"selected\";else if(\"className\"===I){if(void 0!==O.class)continue;I=\"class\"}else _&&l.test(I)&&(I=I.toLowerCase().replace(/^xlink:?/,\"xlink:\"));if(\"htmlFor\"===I){if(O.for)continue;I=\"for\"}\"style\"===I&&R&&\"object\"==typeof R&&(R=p(R)),\"a\"===I[0]&&\"r\"===I[1]&&\"boolean\"==typeof R&&(R=String(R));var U=a.attributeHook&&a.attributeHook(I,R,n,a,j);if(U||\"\"===U)N+=U;else if(\"dangerouslySetInnerHTML\"===I)D=R&&R.__html;else if(\"textarea\"===C&&\"value\"===I)$=R;else if((R||0===R||\"\"===R)&&\"function\"!=typeof R){if(!(!0!==R&&\"\"!==R||(R=I,a&&a.xml))){N=N+\" \"+I;continue}if(\"value\"===I){if(\"select\"===C){v=R;continue}\"option\"===C&&v==R&&void 0===O.selected&&(N+=\" selected\")}N=N+\" \"+I+'=\"'+s(R)+'\"'}}}else $=R}}if(b){var V=N.replace(/\\n\\s*/,\" \");V===N||~V.indexOf(\"\\n\")?b&&~N.indexOf(\"\\n\")&&(N+=\"\\n\"):N=V}if(N+=\">\",i.test(C))throw new Error(C+\" is not a valid HTML tag name in \"+N);var q,z=o.test(C)||a.voidElements&&a.voidElements.test(C),Z=[];if(D)b&&u(D)&&(D=\"\\n\"+x+f(D,x)),N+=D;else if(null!=$&&d(q=[],$).length){for(var B=b&&~N.indexOf(\"\\n\"),G=!1,J=0;J<q.length;J++){var K=q[J];if(null!=K&&!1!==K){var Q=m(K,n,a,!0,\"svg\"===C||\"foreignObject\"!==C&&_,v);if(b&&!B&&u(Q)&&(B=!0),Q)if(b){var X=Q.length>0&&\"<\"!=Q[0];G&&X?Z[Z.length-1]+=Q:Z.push(Q),G=X}else Z.push(Q)}}if(b&&B)for(var Y=Z.length;Y--;)Z[Y]=\"\\n\"+x+f(Z[Y],x)}if(Z.length||D)N+=Z.join(\"\");else if(a&&a.xml)return N.substring(0,N.length-1)+\" />\";return!z||q||D?(b&&~N.indexOf(\"\\n\")&&(N+=\"\\n\"),N=N+\"</\"+C+\">\"):N=N.replace(/>$/,\" />\"),N}var b={shallow:!0};S.render=S;var x=function(e,t){return S(e,t,b)},k=[];function S(n,o,i){o=o||{};var l=t.__s;t.__s=!0;var a,s=r(e,null);return s.__k=[n],a=i&&(i.pretty||i.voidElements||i.sortAttributes||i.shallow||i.allAttributes||i.xml||i.attributeHook)?m(n,o,i):F(n,o,!1,void 0,s),t.__c&&t.__c(n,k),t.__s=l,k.length=0,a}function w(e){return null==e||\"boolean\"==typeof e?null:\"string\"==typeof e||\"number\"==typeof e||\"bigint\"==typeof e?r(null,null,e):e}function C(e,t){return\"className\"===e?\"class\":\"htmlFor\"===e?\"for\":\"defaultValue\"===e?\"value\":\"defaultChecked\"===e?\"checked\":\"defaultSelected\"===e?\"selected\":t&&l.test(e)?e.toLowerCase().replace(/^xlink:?/,\"xlink:\"):e}function O(e,t){return\"style\"===e&&null!=t&&\"object\"==typeof t?p(t):\"a\"===e[0]&&\"r\"===e[1]&&\"boolean\"==typeof t?String(t):t}var j=Array.isArray,A=Object.assign;function F(r,n,l,a,f){if(null==r||!0===r||!1===r||\"\"===r)return\"\";if(\"object\"!=typeof r)return\"function\"==typeof r?\"\":s(r);if(j(r)){var u=\"\";f.__k=r;for(var c=0;c<r.length;c++)u+=F(r[c],n,l,a,f),r[c]=w(r[c]);return u}if(void 0!==r.constructor)return\"\";r.__=f,t.__b&&t.__b(r);var _=r.type,p=r.props;if(\"function\"==typeof _){var d;if(_===e)d=p.children;else{d=_.prototype&&\"function\"==typeof _.prototype.render?function(e,r){var n=e.type,o=g(n,r),i=new n(e.props,o);e.__c=i,i.__v=e,i.__d=!0,i.props=e.props,null==i.state&&(i.state={}),null==i.__s&&(i.__s=i.state),i.context=o,n.getDerivedStateFromProps?i.state=A({},i.state,n.getDerivedStateFromProps(i.props,i.state)):i.componentWillMount&&(i.componentWillMount(),i.state=i.__s!==i.state?i.__s:i.state);var l=t.__r;return l&&l(e),i.render(i.props,i.state,i.context)}(r,n):function(e,r){var n,o=h(e,r),i=g(e.type,r);e.__c=o;for(var l=t.__r,a=0;o.__d&&a++<25;)o.__d=!1,l&&l(e),n=e.type.call(o,e.props,i);return n}(r,n);var v=r.__c;v.getChildContext&&(n=A({},n,v.getChildContext()))}var y=F(d=null!=d&&d.type===e&&null==d.key?d.props.children:d,n,l,a,r);return t.diffed&&t.diffed(r),r.__=void 0,t.unmount&&t.unmount(r),y}var m,b,x=\"<\";if(x+=_,p)for(var k in m=p.children,p){var S=p[k];if(!(\"key\"===k||\"ref\"===k||\"__self\"===k||\"__source\"===k||\"children\"===k||\"className\"===k&&\"class\"in p||\"htmlFor\"===k&&\"for\"in p||i.test(k)))if(S=O(k=C(k,l),S),\"dangerouslySetInnerHTML\"===k)b=S&&S.__html;else if(\"textarea\"===_&&\"value\"===k)m=S;else if((S||0===S||\"\"===S)&&\"function\"!=typeof S){if(!0===S||\"\"===S){S=k,x=x+\" \"+k;continue}if(\"value\"===k){if(\"select\"===_){a=S;continue}\"option\"!==_||a!=S||\"selected\"in p||(x+=\" selected\")}x=x+\" \"+k+'=\"'+s(S)+'\"'}}var H=x;if(x+=\">\",i.test(_))throw new Error(_+\" is not a valid HTML tag name in \"+x);var M=\"\",L=!1;if(b)M+=b,L=!0;else if(\"string\"==typeof m)M+=s(m),L=!0;else if(j(m)){r.__k=m;for(var T=0;T<m.length;T++){var E=m[T];if(m[T]=w(E),null!=E&&!1!==E){var $=F(E,n,\"svg\"===_||\"foreignObject\"!==_&&l,a,r);$&&(M+=$,L=!0)}}}else if(null!=m&&!1!==m&&!0!==m){r.__k=[w(m)];var D=F(m,n,\"svg\"===_||\"foreignObject\"!==_&&l,a,r);D&&(M+=D,L=!0)}if(t.diffed&&t.diffed(r),r.__=void 0,t.unmount&&t.unmount(r),L)x+=M;else if(o.test(_))return H+\" />\";return x+\"</\"+_+\">\"}S.shallowRender=x;export default S;export{S as render,S as renderToStaticMarkup,S as renderToString,x as shallowRender};\n//# sourceMappingURL=index.module.js.map\n","/**\n * Memoize a function based on all arguments\n * @param {Function} fn Function to memoize\n * @returns {Function} Memoized function\n */\nexport function memoize(fn) {\n const cache = new Map();\n\n return (...args) => {\n const cacheKey = JSON.stringify(args);\n\n if (!cache.has(cacheKey)) {\n cache.set(cacheKey, fn(...args));\n }\n\n return cache.get(cacheKey);\n };\n}\n\n/**\n * Memoize a unary function that takes has a single object parameter\n * @param {Function} fn Function to memoize\n * @param {Array<string>} props Property names to cache against\n * @returns {Function} Memoized function\n */\nexport function memoizeOnProps(fn, props) {\n const cache = new Map();\n\n return (options, ignoreCache = false) => {\n const cacheKey = JSON.stringify(props.map(key => options[key]));\n\n if (!cache.has(cacheKey) || ignoreCache) {\n cache.set(cacheKey, fn(options));\n }\n\n return cache.get(cacheKey);\n };\n}\n\n/**\n * Partially apply a function with specified parameters\n * @param {Function} fn Function to partially apply\n * @param {...any} intialArgs Arguments to partially apply\n * @returns {Function} Partially applied function\n */\nexport function partial(fn, ...intialArgs) {\n return (...nextArgs) => fn(...intialArgs, ...nextArgs);\n}\n\n/**\n * Curry a function\n * @param {Function} fn Function to curry\n * @param {Number} arity Number of function parameters\n * @returns {Function} Curried function\n */\nexport function curry(fn, arity = fn.length) {\n return function curried(...args) {\n if (args.length < arity) {\n return (...nextArgs) => curried(...args, ...nextArgs);\n }\n\n return fn(...args);\n };\n}\n\n/**\n * Higher order function to run an effectful function\n * and still pass along the arguments for chaining\n * @param {Function} fn Effectful function\n * @returns {Function} Pass through function\n */\nexport function passThrough(fn) {\n return arg => {\n const result = fn(arg);\n return typeof result === 'object' && result.then ? result.then(() => arg) : arg;\n };\n}\n\n/**\n * Chain function calls together, starting with an initial value\n * @param {...Function} args Functions\n * @returns {Function} Function that runs initial value through all passed in functions\n */\nexport function pipe(...args) {\n return initialValue => args.reduce((accumulator, fn) => fn(accumulator), initialValue);\n}\n\n/**\n * Retrieve a single property from an object\n * @param {String} prop Property to retrieve\n * @param {Object} obj Object to get get property from\n * @returns {Any} Object property value\n */\nexport const pluck = curry((prop, obj) => obj[prop]);\n\n/**\n * Create an object and assign the value to the property\n * @param {String} prop Property name\n * @param {Any} value Property value\n * @returns {Object} New object with property and value\n */\nexport const assignToProp = curry((prop, value) => ({ [prop]: value }));\n","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","/**\n * One way diff that returns an object with key/values\n * that are different from original to updated\n * @param {Object} original First object\n * @param {Object} updated Second object\n * @returns {Object} Diff object\n */\nexport function objectDiff(original, updated) {\n return Object.entries(updated).reduce((accumulator, [key, val]) => {\n // If key does not exist on original object and check against key with value of undefined or null\n if (!original[key] && original[key] !== val) {\n return {\n ...accumulator,\n [key]: val\n };\n }\n if (typeof val !== 'object' || val === null) {\n if (val !== original[key]) {\n return {\n ...accumulator,\n [key]: val\n };\n }\n return accumulator;\n }\n if (Array.isArray(val)) {\n if (Array.isArray(original[key])) {\n const diff = val.filter(x => !original[key].includes(x));\n if (diff.length > 0) {\n return {\n ...accumulator,\n [key]: diff\n };\n }\n return accumulator;\n }\n return {\n ...accumulator,\n [key]: val\n };\n }\n\n const diff = objectDiff(original[key], val);\n if (Object.keys(diff).length > 0) {\n return {\n ...accumulator,\n [key]: diff\n };\n }\n\n return accumulator;\n }, {});\n}\n\n/**\n * Deep clone an object\n * @param {Object} a Any object\n * @returns {Object} Cloned object\n */\nexport function objectClone(a) {\n return Object.entries(a).reduce((accumulator, [key, val]) => {\n if (Array.isArray(val)) {\n return {\n ...accumulator,\n [key]: [...val]\n };\n }\n if (typeof val === 'object') {\n return {\n ...accumulator,\n [key]: objectClone(val)\n };\n }\n\n return {\n ...accumulator,\n [key]: val\n };\n }, {});\n}\n\n/**\n * Create a new object with the second object merged into the first\n * @param {Object} a Base object\n * @param {Object} b Object to be merged in\n * @returns {Object} Merged object\n */\nexport function objectMerge(a, b) {\n const clone = objectClone(a);\n\n return (function deepMerge(targetObject, mergingObject) {\n return Object.entries(mergingObject).reduce((accumulator, [key, val]) => {\n // Just overwrite if val is an array\n if (Array.isArray(val)) {\n return {\n ...accumulator,\n [key]: [...val]\n };\n }\n\n // Overwrite if non-existent on targetObject or not an object\n if (\n typeof val === 'object' &&\n val !== null &&\n (!targetObject[key] || typeof targetObject[key] !== 'object' || Array.isArray(targetObject[key]))\n ) {\n return {\n ...accumulator,\n [key]: objectClone(val)\n };\n }\n\n // Set value to deep merge of 2 objects\n if (typeof val === 'object' && val !== null) {\n return {\n ...accumulator,\n [key]: deepMerge(targetObject[key], val)\n };\n }\n\n // Set new key value\n return {\n ...accumulator,\n [key]: val\n };\n }, targetObject);\n })(clone, b);\n}\n\n/**\n * Flatten object to array of deep key value strings\n * @param {Object} options Object of options\n * @param {String} prefix Prefix for current option property\n * @returns {Array<String>} Array of options as string\n */\nexport function objectFlattenToArray(options, prefix = '', delimiter = ':') {\n return Object.entries(options).reduce((accumulator, [key, val]) => {\n switch (typeof val) {\n case 'object': {\n return [...accumulator, ...objectFlattenToArray(val, `${prefix}${key}.`)];\n }\n case 'string':\n default: {\n return [...accumulator, `${prefix}${key}${delimiter}${val}`];\n }\n }\n }, []);\n}\n\n/**\n * Search an object for a specific prop path\n * @param {Object} object Object to find specific prop\n * @param {String} propString String representation of nested props\n * @returns {*} Prop value or undefined\n */\nexport function objectGet(object, propString) {\n const props = propString.split('.');\n return props.reduce(\n (accumulator, prop) =>\n typeof accumulator === 'object' || typeof accumulator === 'function' ? accumulator[prop] : undefined,\n object\n );\n}\n\n/**\n * Set a nested property on an object\n * @param {Object} object Object to set specific prop\n * @param {String} propString String representation of nested props\n * @param {*} value Value to set\n * @returns {Object} The original object\n */\nexport function objectSet(object, propString, value) {\n const props = propString.split('.');\n const lastProp = props.pop();\n\n const targetObj = props.reduce((accumulator, prop) => {\n accumulator[prop] = accumulator[prop] || {};\n return accumulator[prop];\n }, object);\n\n targetObj[lastProp] = value;\n\n return object;\n}\n\n/**\n * Convert a string representation of an object path and value to an object\n * @param {String} option Object string path representation\n * @param {*} attributeValue Value to set on the object path\n * @param {String} delimiter Object nesting delimiter\n * @returns {Object} New nested object with provided value\n */\nexport function flattenedToObject(option, attributeValue, delimiter = '-') {\n const firstIndex = option.indexOf(delimiter);\n\n if (firstIndex === -1) {\n return { [option]: attributeValue };\n }\n\n const key = option.slice(0, firstIndex);\n const val = option.slice(firstIndex + 1);\n\n return { [key]: flattenedToObject(val, attributeValue, delimiter) };\n}\n","export const Types = {\n ANY: 'ANY',\n STRING: 'STRING',\n BOOLEAN: 'BOOLEAN',\n NUMBER: 'NUMBER',\n FUNCTION: 'FUNCTION',\n OBJECT: 'OBJECT'\n};\n\nexport function validateType(expectedType, val) {\n switch (expectedType) {\n case Types.STRING:\n return typeof val === 'string';\n case Types.BOOLEAN:\n return typeof val === 'boolean';\n case Types.NUMBER:\n return typeof val === 'number' && !Number.isNaN(val);\n case Types.FUNCTION:\n return typeof val === 'function';\n case Types.OBJECT:\n return typeof val === 'object' && val !== null;\n case Types.ANY:\n return true;\n default:\n return false;\n }\n}\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","/* @flow */\n/* eslint no-use-before-define: off, no-undef: off*/\n// Need to update to babel-eslint that is aware of flow generics\n\nimport { NODE_TYPE } from \"./constants\";\n\nexport type NodePropsType = {\n [string]: any, // eslint-disable-line flowtype/no-weak-types\n};\n\nexport type EmptyProps = {||};\n\nexport type NodeRenderer<N, O> = (N) => O;\nexport type NodeRendererFactory<L, N, O> = (L) => NodeRenderer<N, O>;\n\ntype Primitive = string | boolean | number;\ntype NullablePrimitive = Primitive | null | void;\n\nexport type NodeType = ElementNode | TextNode | FragmentNode | ComponentNode<*>;\nexport type ChildNodeType = ElementNode | TextNode | ComponentNode<*>;\nexport type ChildType = ChildNodeType | Primitive | $ReadOnlyArray<ChildType>;\nexport type ChildrenType = $ReadOnlyArray<ChildNodeType>;\nexport type NullableChildType =\n | $ReadOnlyArray<ChildType>\n | ChildNodeType\n | NullablePrimitive;\nexport type NullableChildrenType = $ReadOnlyArray<\n NullableChildrenType | ChildNodeType | NullablePrimitive\n>;\n\nexport type ComponentFunctionType<P> = (P, ChildrenType) => NullableChildType;\n\nexport type CreateElementNode = <P>(\n string,\n P,\n ...NullableChildrenType\n) => ElementNode;\nexport type CreateComponentNode = <P>(\n ComponentFunctionType<P>,\n P,\n ...NullableChildrenType\n) => ComponentNode<*>;\nexport type CreateNullComponentNode = <P>(\n ComponentFunctionType<P>,\n null,\n ...NullableChildrenType\n) => ComponentNode<*>;\n\nexport type CreateNode = CreateNullComponentNode &\n CreateComponentNode &\n CreateElementNode;\n\nfunction renderChildren<T>(\n children: $ReadOnlyArray<ElementNode | TextNode | ComponentNode<*>>,\n renderer: NodeRenderer<*, *>\n): $ReadOnlyArray<T> {\n const result = [];\n\n for (const child of children) {\n const renderedChild = child.render(renderer);\n\n if (!renderedChild) {\n continue;\n } else if (Array.isArray(renderedChild)) {\n for (const subchild of renderedChild) {\n if (subchild) {\n result.push(subchild);\n }\n }\n } else {\n result.push(renderedChild);\n }\n }\n\n return result;\n}\n\nexport class ElementNode {\n type: typeof NODE_TYPE.ELEMENT = NODE_TYPE.ELEMENT;\n\n name: string;\n props: NodePropsType;\n children: $ReadOnlyArray<ElementNode | TextNode | ComponentNode<*>>;\n onRender: ?<T>(T) => void;\n\n constructor(\n name: string,\n props: NodePropsType,\n children: $ReadOnlyArray<ElementNode | TextNode | ComponentNode<*>>\n ) {\n this.name = name;\n this.props = props || {};\n this.children = children;\n\n const onRender = this.props.onRender;\n if (typeof onRender === \"function\") {\n this.onRender = onRender;\n delete props.onRender;\n }\n }\n\n render<T>(renderer: NodeRenderer<*, *>): T {\n const el = renderer(this);\n if (this.onRender) {\n this.onRender(el);\n }\n return el;\n }\n\n renderChildren<T>(renderer: NodeRenderer<*, *>): $ReadOnlyArray<T> {\n return renderChildren(this.children, renderer);\n }\n}\n\nexport class FragmentNode {\n type: typeof NODE_TYPE.FRAGMENT = NODE_TYPE.FRAGMENT;\n\n children: $ReadOnlyArray<ElementNode | TextNode | ComponentNode<*>>;\n\n constructor(\n children: $ReadOnlyArray<ElementNode | TextNode | ComponentNode<*>>\n ) {\n this.children = children;\n }\n\n render<T>(renderer: NodeRenderer<*, *>): $ReadOnlyArray<T> {\n return renderChildren(this.children, renderer);\n }\n}\n\nexport class TextNode {\n type: typeof NODE_TYPE.TEXT = NODE_TYPE.TEXT;\n\n text: string;\n\n constructor(text: string) {\n this.text = text;\n }\n\n render<T>(renderer: NodeRenderer<*, *>): T {\n return renderer(this);\n }\n}\n\n// eslint-disable-next-line no-unused-vars\nexport class ComponentNode<P = null> {\n type: typeof NODE_TYPE.COMPONENT = NODE_TYPE.COMPONENT;\n\n component: ComponentFunctionType<NodePropsType>;\n props: NodePropsType;\n children: $ReadOnlyArray<ElementNode | TextNode | ComponentNode<*>>;\n\n constructor(\n component: ComponentFunctionType<NodePropsType>,\n props: NodePropsType,\n children: $ReadOnlyArray<ElementNode | TextNode | ComponentNode<*>>\n ) {\n this.component = component;\n this.props = props || {};\n this.children = children;\n\n this.props.children = children;\n }\n\n renderComponent(renderer: NodeRenderer<*, *>): * {\n const child = normalizeChild(this.component(this.props, this.children));\n if (child) {\n return child.render(renderer);\n }\n }\n\n render<T>(renderer: NodeRenderer<*, *>): T {\n return renderer(this);\n }\n\n renderChildren<T>(renderer: NodeRenderer<*, *>): $ReadOnlyArray<T> {\n return renderChildren(this.children, renderer);\n }\n}\n\nfunction normalizeChildren(\n children: NullableChildrenType\n): $ReadOnlyArray<ElementNode | TextNode | ComponentNode<*>> {\n const result = [];\n\n for (const child of children) {\n if (!child) {\n continue;\n } else if (typeof child === \"string\" || typeof child === \"number\") {\n result.push(new TextNode(child.toString()));\n } else if (typeof child === \"boolean\") {\n continue;\n } else if (Array.isArray(child)) {\n for (const subchild of normalizeChildren(child)) {\n result.push(subchild);\n }\n } else if (\n child &&\n (child.type === NODE_TYPE.ELEMENT ||\n child.type === NODE_TYPE.TEXT ||\n child.type === NODE_TYPE.COMPONENT)\n ) {\n result.push(child);\n } else {\n throw new TypeError(`Unrecognized node type: ${typeof child}`);\n }\n }\n\n return result;\n}\n\nfunction normalizeChild(\n child\n): ElementNode | TextNode | ComponentNode<*> | FragmentNode | void {\n const children = normalizeChildren(Array.isArray(child) ? child : [child]);\n\n if (children.length === 1) {\n return children[0];\n } else if (children.length > 1) {\n return new FragmentNode(children);\n }\n}\n\nexport const node: CreateNode = <P>(element, props: P, ...children) => {\n children = normalizeChildren(children);\n\n if (typeof element === \"string\") {\n // $FlowFixMe\n return new ElementNode(element, props, children);\n }\n\n if (typeof element === \"function\") {\n // $FlowFixMe\n return new ComponentNode<*>(element, props, children);\n }\n\n throw new TypeError(`Expected jsx element to be a string or a function`);\n};\n\nexport const Fragment: ComponentFunctionType<null> = (props, children) => {\n return children;\n};\n","/* @flow */\n\nexport const NODE_TYPE = {\n ELEMENT: (\"element\": \"element\"),\n TEXT: (\"text\": \"text\"),\n COMPONENT: (\"component\": \"component\"),\n FRAGMENT: (\"fragment\": \"fragment\"),\n};\n","/* @flow */\n\nimport {\n ComponentNode,\n TextNode,\n type NodeRenderer,\n ElementNode,\n} from \"../node\";\nimport { NODE_TYPE } from \"../constants\";\nimport { uniqueID } from \"../util\";\n\ntype DomNodeRenderer = NodeRenderer<ElementNode, HTMLElement>;\ntype DomTextRenderer = NodeRenderer<TextNode, Text>;\ntype DomComponentRenderer = NodeRenderer<\n ComponentNode<*>,\n HTMLElement | TextNode | $ReadOnlyArray<HTMLElement | TextNode> | void\n>;\ntype DomRenderer = DomComponentRenderer & DomNodeRenderer & DomTextRenderer;\n\nconst ELEMENT_TAG = {\n HTML: \"html\",\n IFRAME: \"iframe\",\n SCRIPT: \"script\",\n SVG: \"svg\",\n DEFAULT: \"default\",\n};\n\nconst ELEMENT_PROP = {\n ID: \"id\",\n INNER_HTML: \"innerHTML\",\n EL: \"el\",\n XLINK_HREF: \"xlink:href\",\n};\n\nconst ELEMENT_DEFAULT_XML_NAMESPACE: {|\n [$Values<typeof ELEMENT_TAG>]: string,\n|} = {\n [ELEMENT_TAG.SVG]: \"http://www.w3.org/2000/svg\",\n};\n\nconst ATTRIBUTE_DEFAULT_XML_NAMESPACE: {|\n [$Values<typeof ELEMENT_PROP>]: string,\n|} = {\n [ELEMENT_PROP.XLINK_HREF]: \"http://www.w3.org/1999/xlink\",\n};\n\nfunction fixScripts(\n el: HTMLElement | Element,\n doc: Document = window.document\n) {\n for (const script of el.querySelectorAll(\"script\")) {\n const parentNode = script.parentNode;\n\n if (!parentNode) {\n continue;\n }\n\n const newScript = doc.createElement(\"script\");\n newScript.text = script.textContent;\n parentNode.replaceChild(newScript, script);\n }\n}\n\nfunction createElement(\n doc: Document,\n node: ElementNode\n): HTMLElement | Element {\n if (node.props[ELEMENT_PROP.EL]) {\n return node.props[ELEMENT_PROP.EL];\n } else {\n return doc.createElement(node.name);\n }\n}\n\nfunction createElementWithXMLNamespace(\n doc: Document,\n node: ElementNode,\n xmlNamespace: string\n): HTMLElement | Element {\n return doc.createElementNS(xmlNamespace, node.name);\n}\n\nfunction createTextElement(doc: Document, node: TextNode): Text {\n return doc.createTextNode(node.text);\n}\n\nfunction addProps(el: HTMLElement | Element, node) {\n const props = node.props;\n\n for (const prop of Object.keys(props)) {\n const val = props[prop];\n\n if (\n val === null ||\n typeof val === \"undefined\" ||\n prop === ELEMENT_PROP.EL ||\n prop === ELEMENT_PROP.INNER_HTML\n ) {\n continue;\n }\n\n if (prop.match(/^on[A-Z][a-z]/) && typeof val === \"function\") {\n el.addEventListener(prop.slice(2).toLowerCase(), val);\n } else if (typeof val === \"string\" || typeof val === \"number\") {\n const xmlNamespace = ATTRIBUTE_DEFAULT_XML_NAMESPACE[prop];\n if (xmlNamespace) {\n el.setAttributeNS(xmlNamespace, prop, val.toString());\n } else {\n el.setAttribute(prop, val.toString());\n }\n } else if (typeof val === \"boolean\") {\n if (val === true) {\n el.setAttribute(prop, \"\");\n }\n }\n }\n\n if (el.tagName.toLowerCase() === ELEMENT_TAG.IFRAME && !props.id) {\n el.setAttribute(ELEMENT_PROP.ID, `jsx-iframe-${uniqueID()}`);\n }\n}\nconst ADD_CHILDREN: {\n [string]: (HTMLElement | Element, ElementNode, DomNodeRenderer) => void,\n} = {\n [ELEMENT_TAG.IFRAME]: (el, node) => {\n const firstChild = node.children[0];\n\n if (\n node.children.length !== 1 ||\n !(firstChild && firstChild.type === NODE_TYPE.ELEMENT) ||\n firstChild.name !== ELEMENT_TAG.HTML\n ) {\n throw new Error(\n `Expected only single html element node as child of ${ELEMENT_TAG.IFRAME} element`\n );\n }\n\n el.addEventListener(\"load\", () => {\n // $FlowFixMe\n const win = el.contentWindow;\n\n if (!win) {\n throw new Error(`Expected frame to have contentWindow`);\n }\n\n const doc = win.document;\n const docElement = doc.documentElement;\n\n while (docElement.children && docElement.children.length) {\n docElement.removeChild(docElement.children[0]);\n }\n\n // eslint-disable-next-line no-use-before-define\n const child: HTMLElement = firstChild.render(dom({ doc }));\n\n while (child.children.length) {\n docElement.appendChild(child.children[0]);\n }\n });\n },\n\n [ELEMENT_TAG.SCRIPT]: (el, node) => {\n const firstChild = node.children[0];\n\n if (\n node.children.length !== 1 ||\n !(firstChild && firstChild.type === NODE_TYPE.TEXT)\n ) {\n throw new Error(\n `Expected only single text node as child of ${ELEMENT_TAG.SCRIPT} element`\n );\n }\n\n // $FlowFixMe\n el.text = firstChild.text;\n },\n\n [ELEMENT_TAG.DEFAULT]: (el, node, renderer) => {\n for (const child of node.renderChildren(renderer)) {\n el.appendChild(child);\n }\n },\n};\n\nfunction addChildren(\n el: HTMLElement | Element,\n node: ElementNode,\n doc: Document,\n renderer: DomNodeRenderer\n) {\n if (node.props.hasOwnProperty(ELEMENT_PROP.INNER_HTML)) {\n if (node.children.length) {\n throw new Error(\n `Expected no children to be passed when ${ELEMENT_PROP.INNER_HTML} prop is set`\n );\n }\n\n const html = node.props[ELEMENT_PROP.INNER_HTML];\n\n if (typeof html !== \"string\") {\n throw new TypeError(`${ELEMENT_PROP.INNER_HTML} prop must be string`);\n }\n\n if (node.name === ELEMENT_TAG.SCRIPT) {\n // $FlowFixMe\n el.text = html;\n } else {\n el.innerHTML = html;\n fixScripts(el, doc);\n }\n } else {\n const addChildrenToElement =\n ADD_CHILDREN[node.name] || ADD_CHILDREN[ELEMENT_TAG.DEFAULT];\n addChildrenToElement(el, node, renderer);\n }\n}\n\ntype DomOptions = {|\n doc?: Document,\n|};\n\nconst getDefaultDomOptions = (): DomOptions => {\n // $FlowFixMe\n return {};\n};\n\nexport function dom(opts?: DomOptions = getDefaultDomOptions()): DomRenderer {\n const { doc = document } = opts;\n\n const xmlNamespaceDomRenderer = (\n node: ElementNode,\n xmlNamespace: string\n ): HTMLElement => {\n if (node.type === NODE_TYPE.COMPONENT) {\n return node.renderComponent((childNode) =>\n xmlNamespaceDomRenderer(childNode, xmlNamespace)\n );\n }\n\n if (node.type === NODE_TYPE.TEXT) {\n // $FlowFixMe\n return createTextElement(doc, node);\n }\n\n if (node.type === NODE_TYPE.ELEMENT) {\n const el = createElementWithXMLNamespace(doc, node, xmlNamespace);\n addProps(el, node);\n addChildren(el, node, doc, (childNode) =>\n xmlNamespaceDomRenderer(childNode, xmlNamespace)\n );\n // $FlowFixMe\n return el;\n }\n\n throw new TypeError(`Unhandleable node`);\n };\n\n const domRenderer: DomRenderer = (node) => {\n if (node.type === NODE_TYPE.COMPONENT) {\n return node.renderComponent(domRenderer);\n }\n\n if (node.type === NODE_TYPE.TEXT) {\n // $FlowFixMe\n return createTextElement(doc, node);\n }\n\n if (node.type === NODE_TYPE.ELEMENT) {\n const xmlNamespace =\n ELEMENT_DEFAULT_XML_NAMESPACE[node.name.toLowerCase()];\n\n if (xmlNamespace) {\n // $FlowFixMe\n return xmlNamespaceDomRenderer(node, xmlNamespace);\n }\n\n const el = createElement(doc, node);\n addProps(el, node);\n addChildren(el, node, doc, domRenderer);\n // $FlowFixMe\n return el;\n }\n\n throw new TypeError(`Unhandleable node`);\n };\n\n return domRenderer;\n}\n","/* @flow */\n\nconst ALPHA_CHARS = \"0123456789abcdef\";\n\nexport function uniqueID(): string {\n return \"xxxxxxxxxx\".replace(/./g, () =>\n ALPHA_CHARS.charAt(Math.floor(Math.random() * ALPHA_CHARS.length))\n );\n}\n\n// eslint-disable-next-line flowtype/no-weak-types\nexport function isDefined(val: any): boolean %checks {\n return val !== null && typeof val !== \"undefined\";\n}\n","/* @flow */\n/* eslint unicorn/prefer-spread: off */\n\nimport {\n ComponentNode,\n TextNode,\n ElementNode,\n type NodePropsType,\n type NodeRenderer,\n} from \"../node\";\nimport { NODE_TYPE } from \"../constants\";\n\ntype HTMLRenderer = NodeRenderer<\n ElementNode | TextNode | ComponentNode<*>,\n string\n>;\n\nconst ELEMENT_PROP = {\n INNER_HTML: \"innerHTML\",\n};\n\nconst SELF_CLOSING_TAGS = {\n br: true,\n};\n\nfunction htmlEncode(text: string): string {\n return text\n .replace(/&/g, \"&\")\n .replace(/</g, \"<\")\n .replace(/>/g, \">\")\n .replace(/\"/g, \""\")\n .replace(/'/g, \"'\")\n .replace(/\\//g, \"/\");\n}\n\nfunction propsToHTML(props: NodePropsType): string {\n const keys = Object.keys(props).filter((key) => {\n const val = props[key];\n\n if (key === ELEMENT_PROP.INNER_HTML) {\n return false;\n }\n\n if (typeof val === \"string\" || typeof val === \"number\" || val === true) {\n return true;\n }\n\n return false;\n });\n\n if (!keys.length) {\n return \"\";\n }\n\n const pairs = keys.map((key) => {\n const val = props[key];\n\n if (val === true) {\n return `${htmlEncode(key)}`;\n }\n\n if (typeof val !== \"string\" && typeof val !== \"number\") {\n throw new TypeError(`Unexpected prop type: ${typeof val}`);\n }\n\n if (val === \"\") {\n return htmlEncode(key);\n }\n\n return `${htmlEncode(key)}=\"${htmlEncode(val.toString())}\"`;\n });\n\n return ` ${pairs.join(\" \")}`;\n}\n\nexport function html(): HTMLRenderer {\n const htmlRenderer = (node) => {\n if (node.type === NODE_TYPE.COMPONENT) {\n return [].concat(node.renderComponent(htmlRenderer)).join(\"\");\n }\n\n if (node.type === NODE_TYPE.ELEMENT) {\n const renderedProps = propsToHTML(node.props);\n\n if (SELF_CLOSING_TAGS[node.name]) {\n return `<${node.name}${renderedProps} />`;\n } else {\n const renderedChildren =\n typeof node.props[ELEMENT_PROP.INNER_HTML] === \"string\"\n ? node.props[ELEMENT_PROP.INNER_HTML]\n : node.renderChildren(htmlRenderer).join(\"\");\n\n return `<${node.name}${renderedProps}>${renderedChildren}</${node.name}>`;\n }\n }\n\n if (node.type === NODE_TYPE.TEXT) {\n return htmlEncode(node.text);\n }\n\n throw new TypeError(`Unhandleable node: ${node.type}`);\n };\n\n return htmlRenderer;\n}\n","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"@babel/runtime/helpers/esm/setPrototypeOf\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","/* @flow */\n\nexport function isPromise(item : mixed) : boolean {\n try {\n if (!item) {\n return false;\n }\n\n if (typeof Promise !== 'undefined' && item instanceof Promise) {\n return true;\n }\n\n if (typeof window !== 'undefined' && typeof window.Window === 'function' && item instanceof window.Window) {\n return false;\n }\n\n if (typeof window !== 'undefined' && typeof window.constructor === 'function' && item instanceof window.constructor) {\n return false;\n }\n\n const toString = ({}).toString;\n\n if (toString) {\n const name = toString.call(item);\n\n if (name === '[object Window]' || name === '[object global]' || name === '[object DOMWindow]') {\n return false;\n }\n }\n\n if (typeof item.then === 'function') {\n return true;\n }\n } catch (err) {\n return false;\n }\n\n return false;\n}\n","/* @flow */\n\nimport type { ZalgoPromise } from './promise';\n\nconst dispatchedErrors = [];\nconst possiblyUnhandledPromiseHandlers : Array<(mixed, promise? : ZalgoPromise<mixed>) => void> = [];\n\nexport function dispatchPossiblyUnhandledError<T>(err : mixed, promise : ZalgoPromise<T>) {\n\n if (dispatchedErrors.indexOf(err) !== -1) {\n return;\n }\n\n dispatchedErrors.push(err);\n\n setTimeout(() => {\n if (__DEBUG__) {\n // $FlowFixMe\n throw new Error(`${ err.stack || err.toString() }\\n\\nFrom promise:\\n\\n${ promise.stack }`);\n }\n\n throw err;\n }, 1);\n\n for (let j = 0; j < possiblyUnhandledPromiseHandlers.length; j++) {\n // $FlowFixMe\n possiblyUnhandledPromiseHandlers[j](err, promise);\n }\n}\n\nexport function onPossiblyUnhandledException(handler : (mixed, promise? : ZalgoPromise<mixed>) => void) : {| cancel : () => void |} {\n possiblyUnhandledPromiseHandlers.push(handler);\n\n return {\n cancel() {\n possiblyUnhandledPromiseHandlers.splice(possiblyUnhandledPromiseHandlers.indexOf(handler), 1);\n }\n };\n}\n","/* @flow */\n\nimport type { ZalgoPromise } from './promise';\n\nlet activeCount = 0;\nlet flushPromise;\n\nfunction flushActive() {\n if (!activeCount && flushPromise) {\n const promise = flushPromise;\n flushPromise = null;\n promise.resolve();\n }\n}\n\nexport function startActive() {\n activeCount += 1;\n}\n\nexport function endActive() {\n activeCount -= 1;\n flushActive();\n}\n\nexport function awaitActive(Zalgo : Class<ZalgoPromise<*>>) : ZalgoPromise<void> { // eslint-disable-line no-undef\n const promise = flushPromise = flushPromise || new Zalgo();\n flushActive();\n return promise;\n}\n","/* @flow */\n/* eslint no-use-before-define: off */\n\nimport { isPromise } from './utils';\nimport { onPossiblyUnhandledException, dispatchPossiblyUnhandledError } from './exceptions';\nimport { startActive, endActive, awaitActive } from './flush';\n\nexport class ZalgoPromise<R : mixed> {\n\n resolved : boolean;\n rejected : boolean;\n errorHandled : boolean;\n value : R;\n error : mixed;\n // eslint-disable-next-line flowtype/no-mutable-array\n handlers : Array<{|\n promise : ZalgoPromise<*>,\n onSuccess : void | (result : R) => mixed,\n onError : void | (error : mixed) => mixed\n |}>;\n dispatching : boolean;\n stack : string;\n\n constructor(handler : ?(resolve : (result : R) => void, reject : (error : mixed) => void) => void) {\n\n this.resolved = false;\n this.rejected = false;\n this.errorHandled = false;\n\n this.handlers = [];\n\n if (handler) {\n\n let result;\n let error;\n let resolved = false;\n let rejected = false;\n let isAsync = false;\n\n startActive();\n\n try {\n handler(res => {\n if (isAsync) {\n this.resolve(res);\n } else {\n resolved = true;\n result = res;\n }\n\n }, err => {\n if (isAsync) {\n this.reject(err);\n } else {\n rejected = true;\n error = err;\n }\n });\n\n } catch (err) {\n endActive();\n this.reject(err);\n return;\n }\n\n endActive();\n\n isAsync = true;\n\n if (resolved) {\n // $FlowFixMe\n this.resolve(result);\n } else if (rejected) {\n this.reject(error);\n }\n }\n\n if (__DEBUG__) {\n try {\n throw new Error(`ZalgoPromise`);\n } catch (err) {\n this.stack = err.stack;\n }\n }\n }\n\n resolve(result : R) : ZalgoPromise<R> {\n if (this.resolved || this.rejected) {\n return this;\n }\n\n if (isPromise(result)) {\n throw new Error('Can not resolve promise with another promise');\n }\n\n this.resolved = true;\n this.value = result;\n this.dispatch();\n\n return this;\n }\n\n reject(error : mixed) : ZalgoPromise<R> {\n if (this.resolved || this.rejected) {\n return this;\n }\n\n if (isPromise(error)) {\n throw new Error('Can not reject promise with another promise');\n }\n\n if (!error) {\n // $FlowFixMe\n const err = (error && typeof error.toString === 'function' ? error.toString() : Object.prototype.toString.call(error));\n error = new Error(`Expected reject to be called with Error, got ${ err }`);\n }\n\n this.rejected = true;\n this.error = error;\n\n if (!this.errorHandled) {\n setTimeout(() => {\n if (!this.errorHandled) {\n dispatchPossiblyUnhandledError(error, this);\n }\n }, 1);\n }\n\n this.dispatch();\n\n return this;\n }\n\n asyncReject(error : mixed) : ZalgoPromise<R> {\n this.errorHandled = true;\n this.reject(error);\n return this;\n }\n\n dispatch() {\n\n const { dispatching, resolved, rejected, handlers } = this;\n\n if (dispatching) {\n return;\n }\n\n if (!resolved && !rejected) {\n return;\n }\n\n this.dispatching = true;\n startActive();\n\n const chain = <T>(firstPromise : ZalgoPromise<T>, secondPromise : ZalgoPromise<T>) => {\n return firstPromise.then(res => {\n secondPromise.resolve(res);\n }, err => {\n secondPromise.reject(err);\n });\n };\n\n for (let i = 0; i < handlers.length; i++) {\n\n const { onSuccess, onError, promise } = handlers[i];\n\n let result;\n\n if (resolved) {\n\n try {\n result = onSuccess ? onSuccess(this.value) : this.value;\n } catch (err) {\n promise.reject(err);\n continue;\n }\n\n } else if (rejected) {\n\n if (!onError) {\n promise.reject(this.error);\n continue;\n }\n\n try {\n result = onError(this.error);\n } catch (err) {\n promise.reject(err);\n continue;\n }\n }\n\n if (result instanceof ZalgoPromise && (result.resolved || result.rejected)) {\n const promiseResult : ZalgoPromise<*> = result;\n\n if (promiseResult.resolved) {\n promise.resolve(promiseResult.value);\n } else {\n promise.reject(promiseResult.error);\n }\n\n promiseResult.errorHandled = true;\n\n } else if (isPromise(result)) {\n\n if (result instanceof ZalgoPromise && (result.resolved || result.rejected)) {\n if (result.resolved) {\n promise.resolve(result.value);\n } else {\n promise.reject(result.error);\n }\n\n } else {\n // $FlowFixMe\n chain(result, promise);\n }\n\n } else {\n\n promise.resolve(result);\n }\n }\n\n handlers.length = 0;\n this.dispatching = false;\n endActive();\n }\n\n then<X, Y>(onSuccess : void | (result : R) => (ZalgoPromise<X> | Y), onError : void | (error : mixed) => (ZalgoPromise<X> | Y)) : ZalgoPromise<X | Y> {\n\n if (onSuccess && typeof onSuccess !== 'function' && !onSuccess.call) {\n throw new Error('Promise.then expected a function for success handler');\n }\n\n if (onError && typeof onError !== 'function' && !onError.call) {\n throw new Error('Promise.then expected a function for error handler');\n }\n\n const promise = new ZalgoPromise();\n\n this.handlers.push({\n promise,\n onSuccess,\n onError\n });\n\n this.errorHandled = true;\n\n this.dispatch();\n\n return promise;\n }\n\n catch<X, Y>(onError : (error : mixed) => ZalgoPromise<X> | Y) : ZalgoPromise<X | Y> {\n // $FlowFixMe incompatible-call\n const resultPromise : ZalgoPromise<X | Y> = this.then(undefined, onError);\n return resultPromise;\n }\n\n finally(onFinally : () => mixed) : ZalgoPromise<R> {\n\n if (onFinally && typeof onFinally !== 'function' && !onFinally.call) {\n throw new Error('Promise.finally expected a function');\n }\n\n return this.then((result) => {\n return ZalgoPromise.try(onFinally)\n .then(() => {\n return result;\n });\n }, (err) => {\n return ZalgoPromise.try(onFinally)\n .then(() => {\n throw err;\n });\n });\n }\n\n timeout(time : number, err : ?Error) : ZalgoPromise<R> {\n\n if (this.resolved || this.rejected) {\n return this;\n }\n\n const timeout = setTimeout(() => {\n\n if (this.resolved || this.rejected) {\n return;\n }\n\n this.reject(err || new Error(`Promise timed out after ${ time }ms`));\n\n }, time);\n\n return this.then(result => {\n clearTimeout(timeout);\n return result;\n });\n }\n\n // $FlowFixMe\n toPromise() : Promise<R> {\n // $FlowFixMe\n if (typeof Promise === 'undefined') {\n throw new TypeError(`Could not find Promise`);\n }\n // $FlowFixMe\n return Promise.resolve(this); // eslint-disable-line compat/compat\n }\n\n lazy() : ZalgoPromise<R> {\n this.errorHandled = true;\n return this;\n }\n\n static resolve<X, Y>(value : ZalgoPromise<X> | Y) : ZalgoPromise<X | Y> {\n\n if (value instanceof ZalgoPromise) {\n // $FlowFixMe incompatible-type-arg\n const result : ZalgoPromise<X | Y> = value;\n return result;\n }\n\n if (isPromise(value)) {\n // $FlowFixMe\n return new ZalgoPromise((resolve, reject) => value.then(resolve, reject));\n }\n\n return new ZalgoPromise().resolve(value);\n }\n\n static reject(error : mixed) : ZalgoPromise<R> {\n return new ZalgoPromise().reject(error);\n }\n\n static asyncReject(error : mixed) : ZalgoPromise<R> {\n return new ZalgoPromise().asyncReject(error);\n }\n\n static all<X : $ReadOnlyArray<mixed>>(promises : X) : ZalgoPromise<$TupleMap<X, <Y>(ZalgoPromise<Y> | Y) => Y>> { // eslint-disable-line no-undef\n\n const promise = new ZalgoPromise();\n let count = promises.length;\n // eslint-disable-next-line no-undef, unicorn/prefer-spread\n const results = ([] : $TupleMap<X, <Y>(ZalgoPromise<Y> | Y) => Y>).slice();\n\n if (!count) {\n promise.resolve(results);\n return promise;\n }\n\n const chain = <T>(i : number, firstPromise : ZalgoPromise<T>, secondPromise : ZalgoPromise<T>) => {\n return firstPromise.then(res => {\n results[i] = res;\n count -= 1;\n if (count === 0) {\n promise.resolve(results);\n }\n }, err => {\n secondPromise.reject(err);\n });\n };\n\n for (let i = 0; i < promises.length; i++) {\n const prom = promises[i];\n\n if (prom instanceof ZalgoPromise) {\n if (prom.resolved) {\n results[i] = prom.value;\n count -= 1;\n continue;\n }\n } else if (!isPromise(prom)) {\n results[i] = prom;\n count -= 1;\n continue;\n }\n\n chain(i, ZalgoPromise.resolve(prom), promise);\n }\n\n if (count === 0) {\n promise.resolve(results);\n }\n\n return promise;\n }\n\n static hash<O : Object>(promises : O) : ZalgoPromise<$ObjMap<O, <Y>(ZalgoPromise<Y> | Y) => Y>> { // eslint-disable-line no-undef\n const result = {};\n const awaitPromises = [];\n\n for (const key in promises) {\n if (promises.hasOwnProperty(key)) {\n const value = promises[key];\n\n if (isPromise(value)) {\n awaitPromises.push(value.then(res => {\n result[key] = res;\n }));\n } else {\n result[key] = value;\n }\n }\n }\n\n return ZalgoPromise.all(awaitPromises).then(() => result);\n }\n\n static map<T, X>(items : $ReadOnlyArray<T>, method : (T) => (ZalgoPromise<X> | X)) : ZalgoPromise<$ReadOnlyArray<X>> {\n // $FlowFixMe\n return ZalgoPromise.all(items.map(method));\n }\n\n static onPossiblyUnhandledException(handler : (err : mixed) => void) : {| cancel : () => void |} {\n return onPossiblyUnhandledException(handler);\n }\n\n static try<X, Y, C : mixed, A : $ReadOnlyArray<mixed>>(method : (...args : $ReadOnlyArray<mixed>) => (ZalgoPromise<X> | Y), context? : C, args? : A) : ZalgoPromise<X | Y> {\n\n if (method && typeof method !== 'function' && !method.call) {\n throw new Error('Promise.try expected a function');\n }\n\n let result : ZalgoPromise<X> | Y;\n\n startActive();\n\n try {\n result = method.apply(context, args || []);\n } catch (err) {\n endActive();\n return ZalgoPromise.reject(err);\n }\n\n endActive();\n\n // $FlowFixMe incompatible-call\n const resultPromise = ZalgoPromise.resolve(result);\n\n return resultPromise;\n }\n\n static delay(delay : number) : ZalgoPromise<void> {\n return new ZalgoPromise(resolve => {\n setTimeout(resolve, delay);\n });\n }\n\n static isPromise(value : mixed) : boolean {\n\n if (value && value instanceof ZalgoPromise) {\n return true;\n }\n\n return isPromise(value);\n }\n\n static flush() : ZalgoPromise<void> {\n return awaitActive(ZalgoPromise);\n }\n}\n","/* @flow */\n/* eslint max-lines: 0 */\n\nimport { isRegex, noop } from \"./util\";\nimport type {\n CrossDomainWindowType,\n SameDomainWindowType,\n DomainMatcher,\n} from \"./types\";\nimport { PROTOCOL, WILDCARD } from \"./constants\";\n\nconst IE_WIN_ACCESS_ERROR = \"Call was rejected by callee.\\r\\n\";\n\nexport function getActualProtocol(win: SameDomainWindowType = window): ?string {\n return win.location.protocol;\n}\n\nexport function getProtocol(win: SameDomainWindowType = window): ?string {\n if (win.mockDomain) {\n const protocol = win.mockDomain.split(\"//\")[0];\n\n if (protocol) {\n return protocol;\n }\n }\n\n return getActualProtocol(win);\n}\n\nexport function isFileProtocol(win: SameDomainWindowType = window): boolean {\n return getProtocol(win) === PROTOCOL.FILE;\n}\n\nexport function isAboutProtocol(win: SameDomainWindowType = window): boolean {\n return getProtocol(win) === PROTOCOL.ABOUT;\n}\n\nexport function isMockProtocol(win: SameDomainWindowType = window): boolean {\n return getProtocol(win) === PROTOCOL.MOCK;\n}\n\nexport function getParent(\n win?: CrossDomainWindowType = window\n): ?CrossDomainWindowType {\n if (!win) {\n return;\n }\n\n try {\n if (win.parent && win.parent !== win) {\n return win.parent;\n }\n } catch (err) {\n // pass\n }\n}\n\nexport function getOpener(\n win?: CrossDomainWindowType = window\n): ?CrossDomainWindowType {\n if (!win) {\n return;\n }\n\n // Make sure we're not actually an iframe which has had window.open() called on us\n if (getParent(win)) {\n return;\n }\n\n try {\n return win.opener;\n } catch (err) {\n // pass\n }\n}\n\nexport function canReadFromWindow(\n win: CrossDomainWindowType | SameDomainWindowType\n): boolean {\n try {\n // $FlowFixMe\n noop(win && win.location && win.location.href);\n return true;\n } catch (err) {\n // pass\n }\n\n return false;\n}\n\nexport function getActualDomain(win?: SameDomainWindowType = window): string {\n const location = win.location;\n\n if (!location) {\n throw new Error(`Can not read window location`);\n }\n\n const protocol = getActualProtocol(win);\n\n if (!protocol) {\n throw new Error(`Can not read window protocol`);\n }\n\n if (protocol === PROTOCOL.FILE) {\n return `${PROTOCOL.FILE}//`;\n }\n\n if (protocol === PROTOCOL.ABOUT) {\n const parent = getParent(win);\n if (parent && canReadFromWindow(parent)) {\n // $FlowFixMe\n return getActualDomain(parent);\n }\n\n return `${PROTOCOL.ABOUT}//`;\n }\n\n const host = location.host;\n\n if (!host) {\n throw new Error(`Can not read window host`);\n }\n\n return `${protocol}//${host}`;\n}\n\nexport function getDomain(win?: SameDomainWindowType = window): string {\n const domain = getActualDomain(win);\n\n if (domain && win.mockDomain && win.mockDomain.indexOf(PROTOCOL.MOCK) === 0) {\n return win.mockDomain;\n }\n\n return domain;\n}\n\nexport function isBlankDomain(win: CrossDomainWindowType): boolean {\n try {\n // $FlowFixMe\n if (!win.location.href) {\n return true;\n }\n\n if (win.location.href === \"about:blank\") {\n return true;\n }\n } catch (err) {\n // pass\n }\n\n return false;\n}\n\nexport function isActuallySameDomain(win: CrossDomainWindowType): boolean {\n try {\n if (win === window) {\n return true;\n }\n } catch (err) {\n // pass\n }\n\n try {\n const desc = Object.getOwnPropertyDescriptor(win, \"location\");\n\n if (desc && desc.enumerable === false) {\n return false;\n }\n } catch (err) {\n // pass\n }\n\n try {\n // $FlowFixMe\n if (isAboutProtocol(win) && canReadFromWindow(win)) {\n return true;\n }\n } catch (err) {\n // pass\n }\n\n try {\n // $FlowFixMe\n if (isMockProtocol(win) && canReadFromWindow(win)) {\n return true;\n }\n } catch (err) {\n // pass\n }\n\n try {\n // $FlowFixMe\n if (getActualDomain(win) === getActualDomain(window)) {\n return true;\n }\n } catch (err) {\n // pass\n }\n\n return false;\n}\n\nexport function isSameDomain(\n win: CrossDomainWindowType | SameDomainWindowType\n): boolean {\n if (!isActuallySameDomain(win)) {\n return false;\n }\n\n try {\n if (win === window) {\n return true;\n }\n\n // $FlowFixMe\n if (isAboutProtocol(win) && canReadFromWindow(win)) {\n return true;\n }\n\n // $FlowFixMe\n if (getDomain(window) === getDomain(win)) {\n return true;\n }\n } catch (err) {\n // pass\n }\n\n return false;\n}\n\nexport function assertSameDomain(\n win: CrossDomainWindowType | SameDomainWindowType\n): SameDomainWindowType {\n if (!isSameDomain(win)) {\n throw new Error(`Expected window to be same domain`);\n }\n\n // $FlowFixMe\n return win;\n}\n\nexport function getParents(\n win: CrossDomainWindowType\n): $ReadOnlyArray<CrossDomainWindowType> {\n const result = [];\n\n try {\n while (win.parent !== win) {\n result.push(win.parent);\n win = win.parent;\n }\n } catch (err) {\n // pass\n }\n\n return result;\n}\n\nexport function isAncestorParent(\n parent: CrossDomainWindowType,\n child: CrossDomainWindowType\n): boolean {\n if (!parent || !child) {\n return false;\n }\n\n const childParent = getParent(child);\n\n if (childParent) {\n return childParent === parent;\n }\n\n if (getParents(child).indexOf(parent) !== -1) {\n return true;\n }\n\n return false;\n}\n\nexport function getFrames(\n win: CrossDomainWindowType\n): $ReadOnlyArray<CrossDomainWindowType> {\n const result = [];\n\n let frames;\n\n try {\n frames = win.frames;\n } catch (err) {\n frames = win;\n }\n\n let len;\n\n try {\n len = frames.length;\n } catch (err) {\n // pass\n }\n\n if (len === 0) {\n return result;\n }\n\n if (len) {\n for (let i = 0; i < len; i++) {\n let frame;\n\n try {\n frame = frames[i];\n } catch (err) {\n continue;\n }\n\n result.push(frame);\n }\n\n return result;\n }\n\n for (let i = 0; i < 100; i++) {\n let frame;\n\n try {\n frame = frames[i];\n } catch (err) {\n return result;\n }\n\n if (!frame) {\n return result;\n }\n\n result.push(frame);\n }\n\n return result;\n}\n\nexport function getAllChildFrames(\n win: CrossDomainWindowType\n): $ReadOnlyArray<CrossDomainWindowType> {\n const result = [];\n\n for (const frame of getFrames(win)) {\n result.push(frame);\n\n for (const childFrame of getAllChildFrames(frame)) {\n result.push(childFrame);\n }\n }\n\n return result;\n}\n\nexport function getTop(\n win?: CrossDomainWindowType = window\n): ?CrossDomainWindowType {\n try {\n if (win.top) {\n return win.top;\n }\n } catch (err) {\n // pass\n }\n\n if (getParent(win) === win) {\n return win;\n }\n\n try {\n if (isAncestorParent(window, win) && window.top) {\n return window.top;\n }\n } catch (err) {\n // pass\n }\n\n try {\n if (isAncestorParent(win, window) && window.top) {\n return window.top;\n }\n } catch (err) {\n // pass\n }\n\n for (const frame of getAllChildFrames(win)) {\n try {\n if (frame.top) {\n return frame.top;\n }\n } catch (err) {\n // pass\n }\n\n if (getParent(frame) === frame) {\n return frame;\n }\n }\n}\n\nexport function getNextOpener(\n win?: CrossDomainWindowType = window\n): ?CrossDomainWindowType {\n return getOpener(getTop(win) || win);\n}\n\nexport function getUltimateTop(\n win?: CrossDomainWindowType = window\n): CrossDomainWindowType {\n const opener = getNextOpener(win);\n\n if (opener) {\n return getUltimateTop(opener);\n }\n\n return top;\n}\n\nexport function getAllFramesInWindow(\n win: CrossDomainWindowType\n): $ReadOnlyArray<CrossDomainWindowType> {\n const top = getTop(win);\n\n if (!top) {\n throw new Error(`Can not determine top window`);\n }\n\n let result = [...getAllChildFrames(top), top];\n\n // Win may be in shadow dom\n if (result.indexOf(win) === -1) {\n result = [...result, win, ...getAllChildFrames(win)];\n }\n\n return result;\n}\n\nexport function getAllWindows(\n win?: CrossDomainWindowType = window\n): $ReadOnlyArray<CrossDomainWindowType> {\n const frames = getAllFramesInWindow(win);\n const opener = getNextOpener(win);\n\n if (opener) {\n return [...getAllWindows(opener), ...frames];\n } else {\n return frames;\n }\n}\n\nexport function isTop(win: CrossDomainWindowType): boolean {\n return win === getTop(win);\n}\n\nexport function isFrameWindowClosed(frame: HTMLIFrameElement): boolean {\n if (!frame.contentWindow) {\n return true;\n }\n\n if (!frame.parentNode) {\n return true;\n }\n\n const doc = frame.ownerDocument;\n\n if (doc && doc.documentElement && !doc.documentElement.contains(frame)) {\n let parent = frame;\n\n while (parent.parentNode && parent.parentNode !== parent) {\n parent = parent.parentNode;\n }\n\n // $FlowFixMe\n if (!parent.host || !doc.documentElement.contains(parent.host)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction safeIndexOf<T>(collection: $ReadOnlyArray<T>, item: T): number {\n for (let i = 0; i < collection.length; i++) {\n try {\n if (collection[i] === item) {\n return i;\n }\n } catch (err) {\n // pass\n }\n }\n\n return -1;\n}\n\nconst iframeWindows = [];\nconst iframeFrames = [];\n\nexport function isWindowClosed(\n win: CrossDomainWindowType,\n allowMock: boolean = true\n): boolean {\n try {\n if (win === window) {\n return false;\n }\n } catch (err) {\n return true;\n }\n\n try {\n if (!win) {\n return true;\n }\n } catch (err) {\n return true;\n }\n\n try {\n if (win.closed) {\n return true;\n }\n } catch (err) {\n // I love you so much IE\n\n if (err && err.message === IE_WIN_ACCESS_ERROR) {\n return false;\n }\n\n return true;\n }\n\n if (allowMock && isSameDomain(win)) {\n try {\n // $FlowFixMe\n if (win.mockclosed) {\n return true;\n }\n } catch (err) {\n // pass\n }\n }\n\n // Mobile safari\n\n try {\n if (!win.parent || !win.top) {\n return true;\n }\n } catch (err) {\n // pass\n }\n\n // Yes, this actually happens in IE. win === win errors out when the window\n // is from an iframe, and the iframe was removed from the page.\n\n try {\n noop(win === win); // eslint-disable-line no-self-compare\n } catch (err) {\n return true;\n }\n\n // IE orphaned frame\n\n const iframeIndex = safeIndexOf(iframeWindows, win);\n\n if (iframeIndex !== -1) {\n const frame = iframeFrames[iframeIndex];\n\n if (frame && isFrameWindowClosed(frame)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction cleanIframes() {\n for (let i = 0; i < iframeWindows.length; i++) {\n let closed = false;\n\n try {\n closed = iframeWindows[i].closed;\n } catch (err) {\n // pass\n }\n\n if (closed) {\n iframeFrames.splice(i, 1);\n iframeWindows.splice(i, 1);\n }\n }\n}\n\nexport function linkFrameWindow(frame: HTMLIFrameElement) {\n cleanIframes();\n\n if (frame && frame.contentWindow) {\n try {\n iframeWindows.push(frame.contentWindow);\n iframeFrames.push(frame);\n } catch (err) {\n // pass\n }\n }\n}\n\nexport function getUserAgent(win: ?SameDomainWindowType): string {\n win = win || window;\n return win.navigator.mockUserAgent || win.navigator.userAgent;\n}\n\nexport function getFrameByName(\n win: CrossDomainWindowType,\n name: string\n): ?CrossDomainWindowType {\n const winFrames = getFrames(win);\n\n for (const childFrame of winFrames) {\n try {\n if (\n isSameDomain(childFrame) &&\n // $FlowFixMe\n childFrame.name === name &&\n winFrames.indexOf(childFrame) !== -1\n ) {\n return childFrame;\n }\n } catch (err) {\n // pass\n }\n }\n\n try {\n // $FlowFixMe\n if (winFrames.indexOf(win.frames[name]) !== -1) {\n // $FlowFixMe\n return win.frames[name];\n }\n } catch (err) {\n // pass\n }\n\n try {\n if (winFrames.indexOf(win[name]) !== -1) {\n return win[name];\n }\n } catch (err) {\n // pass\n }\n}\n\nexport function findChildFrameByName(\n win: CrossDomainWindowType,\n name: string\n): ?CrossDomainWindowType {\n const frame = getFrameByName(win, name);\n\n if (frame) {\n return frame;\n }\n\n for (const childFrame of getFrames(win)) {\n const namedFrame = findChildFrameByName(childFrame, name);\n\n if (namedFrame) {\n return namedFrame;\n }\n }\n}\n\nexport function findFrameByName(\n win: CrossDomainWindowType,\n name: string\n): ?CrossDomainWindowType {\n const frame = getFrameByName(win, name);\n\n if (frame) {\n return frame;\n }\n\n const top = getTop(win) || win;\n\n return findChildFrameByName(top, name);\n}\n\nexport function isParent(\n win: CrossDomainWindowType,\n frame: CrossDomainWindowType\n): boolean {\n const frameParent = getParent(frame);\n\n if (frameParent) {\n return frameParent === win;\n }\n\n for (const childFrame of getFrames(win)) {\n if (childFrame === frame) {\n return true;\n }\n }\n\n return false;\n}\n\nexport function isOpener(\n parent: CrossDomainWindowType,\n child: CrossDomainWindowType\n): boolean {\n return parent === getOpener(child);\n}\n\nexport function getAncestor(\n win?: CrossDomainWindowType = window\n): ?CrossDomainWindowType {\n win = win || window;\n\n const opener = getOpener(win);\n\n if (opener) {\n return opener;\n }\n\n const parent = getParent(win);\n\n if (parent) {\n return parent;\n }\n}\n\nexport function getAncestors(\n win: CrossDomainWindowType\n): $ReadOnlyArray<CrossDomainWindowType> {\n const results = [];\n\n let ancestor = win;\n\n while (ancestor) {\n ancestor = getAncestor(ancestor);\n if (ancestor) {\n results.push(ancestor);\n }\n }\n\n return results;\n}\n\nexport function isAncestor(\n parent: CrossDomainWindowType,\n child: CrossDomainWindowType\n): boolean {\n const actualParent = getAncestor(child);\n\n if (actualParent) {\n if (actualParent === parent) {\n return true;\n }\n\n return false;\n }\n\n if (child === parent) {\n return false;\n }\n\n if (getTop(child) === child) {\n return false;\n }\n\n for (const frame of getFrames(parent)) {\n if (frame === child) {\n return true;\n }\n }\n\n return false;\n}\n\nexport function isPopup(win?: CrossDomainWindowType = window): boolean {\n return Boolean(getOpener(win));\n}\n\nexport function isIframe(win?: CrossDomainWindowType = window): boolean {\n return Boolean(getParent(win));\n}\n\nexport function isFullpage(win?: CrossDomainWindowType = window): boolean {\n return Boolean(!isIframe(win) && !isPopup(win));\n}\n\nfunction anyMatch(collection1, collection2): boolean {\n for (const item1 of collection1) {\n for (const item2 of collection2) {\n if (item1 === item2) {\n return true;\n }\n }\n }\n\n return false;\n}\n\nexport function getDistanceFromTop(\n win: CrossDomainWindowType = window\n): number {\n let distance = 0;\n let parent = win;\n\n while (parent) {\n parent = getParent(parent);\n if (parent) {\n distance += 1;\n }\n }\n\n return distance;\n}\n\nexport function getNthParent(\n win: CrossDomainWindowType,\n n: number = 1\n): ?CrossDomainWindowType {\n let parent = win;\n\n for (let i = 0; i < n; i++) {\n if (!parent) {\n return;\n }\n\n parent = getParent(parent);\n }\n\n return parent;\n}\n\nexport function getNthParentFromTop(\n win: CrossDomainWindowType,\n n: number = 1\n): ?CrossDomainWindowType {\n return getNthParent(win, getDistanceFromTop(win) - n);\n}\n\nexport function isSameTopWindow(\n win1: CrossDomainWindowType,\n win2: CrossDomainWindowType\n): boolean {\n const top1 = getTop(win1) || win1;\n const top2 = getTop(win2) || win2;\n\n try {\n if (top1 && top2) {\n if (top1 === top2) {\n return true;\n }\n\n return false;\n }\n } catch (err) {\n // pass\n }\n\n const allFrames1 = getAllFramesInWindow(win1);\n const allFrames2 = getAllFramesInWindow(win2);\n\n if (anyMatch(allFrames1, allFrames2)) {\n return true;\n }\n\n const opener1 = getOpener(top1);\n const opener2 = getOpener(top2);\n\n if (opener1 && anyMatch(getAllFramesInWindow(opener1), allFrames2)) {\n return false;\n }\n\n if (opener2 && anyMatch(getAllFramesInWindow(opener2), allFrames1)) {\n return false;\n }\n\n return false;\n}\n\nexport function matchDomain(\n pattern: DomainMatcher,\n origin: DomainMatcher\n): boolean {\n if (typeof pattern === \"string\") {\n if (typeof origin === \"string\") {\n return pattern === WILDCARD || origin === pattern;\n }\n\n if (isRegex(origin)) {\n return false;\n }\n\n if (Array.isArray(origin)) {\n return false;\n }\n }\n\n if (isRegex(pattern)) {\n if (isRegex(origin)) {\n return pattern.toString() === origin.toString();\n }\n\n if (Array.isArray(origin)) {\n return false;\n }\n\n // $FlowFixMe\n return Boolean(origin.match(pattern));\n }\n\n if (Array.isArray(pattern)) {\n if (Array.isArray(origin)) {\n return JSON.stringify(pattern) === JSON.stringify(origin);\n }\n\n if (isRegex(origin)) {\n return false;\n }\n\n return pattern.some((subpattern) => matchDomain(subpattern, origin));\n }\n\n return false;\n}\n\nexport function stringifyDomainPattern(pattern: DomainMatcher): string {\n if (Array.isArray(pattern)) {\n return `(${pattern.join(\" | \")})`;\n } else if (isRegex(pattern)) {\n return `RegExp(${pattern.toString()})`;\n } else {\n return pattern.toString();\n }\n}\n\nexport function getDomainFromUrl(url: string): string {\n let domain;\n\n if (url.match(/^(https?|mock|file):\\/\\//)) {\n domain = url;\n } else {\n return getDomain();\n }\n\n domain = domain.split(\"/\").slice(0, 3).join(\"/\");\n\n return domain;\n}\n\nexport function onCloseWindow(\n win: CrossDomainWindowType,\n callback: Function,\n delay: number = 1000,\n maxtime: number = Infinity\n): {| cancel: () => void |} {\n let timeout;\n\n const check = () => {\n if (isWindowClosed(win)) {\n if (timeout) {\n clearTimeout(timeout);\n }\n\n return callback();\n }\n\n if (maxtime <= 0) {\n clearTimeout(timeout);\n } else {\n maxtime -= delay;\n timeout = setTimeout(check, delay);\n }\n };\n\n check();\n\n return {\n cancel() {\n if (timeout) {\n clearTimeout(timeout);\n }\n },\n };\n}\n\n// eslint-disable-next-line complexity\nexport function isWindow(obj: Object): boolean {\n try {\n if (obj === window) {\n return true;\n }\n } catch (err) {\n if (err && err.message === IE_WIN_ACCESS_ERROR) {\n return true;\n }\n }\n\n try {\n // $FlowFixMe method-unbinding\n if (Object.prototype.toString.call(obj) === \"[object Window]\") {\n return true;\n }\n } catch (err) {\n if (err && err.message === IE_WIN_ACCESS_ERROR) {\n return true;\n }\n }\n\n try {\n if (window.Window && obj instanceof window.Window) {\n return true;\n }\n } catch (err) {\n if (err && err.message === IE_WIN_ACCESS_ERROR) {\n return true;\n }\n }\n\n try {\n if (obj && obj.self === obj) {\n return true;\n }\n } catch (err) {\n if (err && err.message === IE_WIN_ACCESS_ERROR) {\n return true;\n }\n }\n\n try {\n if (obj && obj.parent === obj) {\n return true;\n }\n } catch (err) {\n if (err && err.message === IE_WIN_ACCESS_ERROR) {\n return true;\n }\n }\n\n try {\n if (obj && obj.top === obj) {\n return true;\n }\n } catch (err) {\n if (err && err.message === IE_WIN_ACCESS_ERROR) {\n return true;\n }\n }\n\n try {\n // eslint-disable-next-line no-self-compare\n if (noop(obj === obj) === \"__unlikely_value__\") {\n return false;\n }\n } catch (err) {\n return true;\n }\n\n try {\n if (\n obj &&\n obj.__cross_domain_utils_window_check__ === \"__unlikely_value__\"\n ) {\n return false;\n }\n } catch (err) {\n return true;\n }\n\n try {\n if (\"postMessage\" in obj && \"self\" in obj && \"location\" in obj) {\n return true;\n }\n } catch (err) {\n // pass\n }\n\n return false;\n}\n\nexport function isBrowser(): boolean {\n return (\n typeof window !== \"undefined\" && typeof window.location !== \"undefined\"\n );\n}\n\nexport function isCurrentDomain(domain: string): boolean {\n if (!isBrowser()) {\n return false;\n }\n\n return getDomain() === domain;\n}\n\nexport function isMockDomain(domain: string): boolean {\n return domain.indexOf(PROTOCOL.MOCK) === 0;\n}\n\nexport function normalizeMockUrl(url: string): string {\n if (!isMockDomain(getDomainFromUrl(url))) {\n return url;\n }\n\n if (!__TEST__) {\n throw new Error(`Mock urls not supported out of test mode`);\n }\n\n return url.replace(/^mock:\\/\\/[^/]+/, getActualDomain(window));\n}\n\nexport function getFrameForWindow(win: CrossDomainWindowType): ?HTMLElement {\n if (isSameDomain(win)) {\n return assertSameDomain(win).frameElement;\n }\n\n for (const frame of document.querySelectorAll(\"iframe\")) {\n if (frame && frame.contentWindow && frame.contentWindow === win) {\n return frame;\n }\n }\n}\n\nexport function closeWindow(win: CrossDomainWindowType) {\n if (isIframe(win)) {\n const frame = getFrameForWindow(win);\n if (frame && frame.parentElement) {\n frame.parentElement.removeChild(frame);\n return;\n }\n }\n\n try {\n win.close();\n } catch (err) {\n // pass\n }\n}\n","/* @flow */\n\nexport const PROTOCOL = {\n MOCK: (\"mock:\": \"mock:\"),\n FILE: (\"file:\": \"file:\"),\n ABOUT: (\"about:\": \"about:\"),\n};\n\nexport const WILDCARD = \"*\";\n\nexport const WINDOW_TYPE = {\n IFRAME: (\"iframe\": \"iframe\"),\n POPUP: (\"popup\": \"popup\"),\n};\n","/* @flow */\n\nexport function safeIndexOf<T>(collection : $ReadOnlyArray<T>, item : T) : number {\n for (let i = 0; i < collection.length; i++) {\n\n try {\n if (collection[i] === item) {\n return i;\n }\n } catch (err) {\n // pass\n }\n }\n\n return -1;\n}\n\n// eslint-disable-next-line no-unused-vars\nexport function noop(...args : $ReadOnlyArray<mixed>) {\n // pass\n}\n","/* @flow */\n\nimport { isWindow, isWindowClosed } from '@krakenjs/cross-domain-utils/src';\n\nimport { hasNativeWeakMap } from './native';\nimport { noop, safeIndexOf } from './util';\n\nexport class CrossDomainSafeWeakMap<K : Object, V : mixed> {\n\n name : string;\n weakmap : ?WeakMap<K, V>;\n // eslint-disable-next-line flowtype/no-mutable-array\n keys : Array<K>;\n // eslint-disable-next-line flowtype/no-mutable-array\n values : Array<V>;\n\n constructor() {\n // eslint-disable-next-line no-bitwise\n this.name = `__weakmap_${ Math.random() * 1e9 >>> 0 }__`;\n\n if (hasNativeWeakMap()) {\n try {\n this.weakmap = new WeakMap();\n } catch (err) {\n // pass\n }\n }\n\n this.keys = [];\n this.values = [];\n }\n\n _cleanupClosedWindows() {\n\n const weakmap = this.weakmap;\n const keys = this.keys;\n\n for (let i = 0; i < keys.length; i++) {\n const value = keys[i];\n\n if (isWindow(value) && isWindowClosed(value)) {\n\n if (weakmap) {\n try {\n weakmap.delete(value);\n } catch (err) {\n // pass\n }\n }\n\n keys.splice(i, 1);\n this.values.splice(i, 1);\n\n i -= 1;\n }\n }\n }\n\n isSafeToReadWrite(key : K) : boolean {\n\n if (isWindow(key)) {\n return false;\n }\n\n try {\n noop(key && key.self);\n noop(key && key[this.name]);\n } catch (err) {\n return false;\n }\n\n return true;\n }\n\n set(key : K, value : V) {\n\n if (!key) {\n throw new Error(`WeakMap expected key`);\n }\n\n const weakmap = this.weakmap;\n\n if (weakmap) {\n try {\n weakmap.set(key, value);\n } catch (err) {\n delete this.weakmap;\n }\n }\n\n if (this.isSafeToReadWrite(key)) {\n try {\n const name = this.name;\n const entry = key[name];\n\n if (entry && entry[0] === key) {\n entry[1] = value;\n } else {\n Object.defineProperty(key, name, {\n value: [ key, value ],\n writable: true\n });\n }\n\n return;\n\n } catch (err) {\n // pass\n }\n }\n\n this._cleanupClosedWindows();\n\n const keys = this.keys;\n const values = this.values;\n const index = safeIndexOf(keys, key);\n\n if (index === -1) {\n keys.push(key);\n values.push(value);\n } else {\n values[index] = value;\n }\n }\n\n get(key : K) : V | void {\n\n if (!key) {\n throw new Error(`WeakMap expected key`);\n }\n\n const weakmap = this.weakmap;\n\n if (weakmap) {\n try {\n if (weakmap.has(key)) {\n return weakmap.get(key);\n }\n\n } catch (err) {\n delete this.weakmap;\n }\n }\n\n if (this.isSafeToReadWrite(key)) {\n try {\n const entry = key[this.name];\n\n if (entry && entry[0] === key) {\n return entry[1];\n }\n\n return;\n } catch (err) {\n // pass\n }\n }\n\n this._cleanupClosedWindows();\n\n const keys = this.keys;\n const index = safeIndexOf(keys, key);\n\n if (index === -1) {\n return;\n }\n\n return this.values[index];\n }\n\n delete(key : K) {\n\n if (!key) {\n throw new Error(`WeakMap expected key`);\n }\n\n const weakmap = this.weakmap;\n\n if (weakmap) {\n try {\n weakmap.delete(key);\n } catch (err) {\n delete this.weakmap;\n }\n }\n\n if (this.isSafeToReadWrite(key)) {\n try {\n const entry = key[this.name];\n\n if (entry && entry[0] === key) {\n entry[0] = entry[1] = undefined;\n }\n } catch (err) {\n // pass\n }\n }\n\n this._cleanupClosedWindows();\n\n const keys = this.keys;\n const index = safeIndexOf(keys, key);\n\n if (index !== -1) {\n keys.splice(index, 1);\n this.values.splice(index, 1);\n }\n }\n\n has(key : K) : boolean {\n\n if (!key) {\n throw new Error(`WeakMap expected key`);\n }\n\n const weakmap = this.weakmap;\n\n if (weakmap) {\n try {\n if (weakmap.has(key)) {\n return true;\n }\n } catch (err) {\n delete this.weakmap;\n }\n }\n\n if (this.isSafeToReadWrite(key)) {\n try {\n const entry = key[this.name];\n\n if (entry && entry[0] === key) {\n return true;\n }\n\n return false;\n } catch (err) {\n // pass\n }\n }\n\n this._cleanupClosedWindows();\n\n const index = safeIndexOf(this.keys, key);\n return index !== -1;\n }\n\n getOrSet(key : K, getter : () => V) : V {\n if (this.has(key)) {\n // $FlowFixMe\n return this.get(key);\n }\n\n const value = getter();\n this.set(key, value);\n return value;\n }\n}\n","/* @flow */\n/* eslint max-lines: 0 */\nimport { ZalgoPromise } from \"@krakenjs/zalgo-promise/src\";\nimport { WeakMap } from \"@krakenjs/cross-domain-safe-weakmap/src\";\n\nimport {\n BLANK_URL,\n ctrlCharactersRegex,\n htmlCtrlEntityRegex,\n htmlEntitiesRegex,\n invalidProtocolRegex,\n relativeFirstCharacters,\n urlSchemeRegex,\n} from \"./constants\";\nimport type { CancelableType } from \"./types\";\n\nexport function isElement(element: mixed): boolean {\n let passed = false;\n\n try {\n if (element instanceof window.Element) {\n passed = true;\n } else if (\n element !== null &&\n typeof element === \"object\" &&\n element.nodeType === 1 &&\n typeof element.style === \"object\" &&\n typeof element.ownerDocument === \"object\"\n ) {\n passed = true;\n }\n } catch (_) {\n // we don't have an element\n }\n\n return passed;\n}\n\nexport function getFunctionName<T: Function>(fn: T): string {\n return fn.name || fn.__name__ || fn.displayName || \"anonymous\";\n}\n\nexport function setFunctionName<T: Function>(fn: T, name: string): T {\n try {\n delete fn.name;\n fn.name = name;\n } catch (err) {\n // pass\n }\n\n fn.__name__ = fn.displayName = name;\n return fn;\n}\n\nexport function base64encode(str: string): string {\n if (typeof btoa === \"function\") {\n return btoa(\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, (m, p1) => {\n return String.fromCharCode(parseInt(p1, 16));\n })\n ).replace(/[=]/g, \"\");\n }\n\n if (typeof Buffer !== \"undefined\") {\n return Buffer.from(str, \"utf8\").toString(\"base64\").replace(/[=]/g, \"\");\n }\n\n throw new Error(`Can not find window.btoa or Buffer`);\n}\n\nexport function base64decode(str: string): string {\n if (typeof atob === \"function\") {\n return decodeURIComponent(\n // $FlowFixMe[method-unbinding]\n Array.prototype.map\n .call(atob(str), (c) => {\n // eslint-disable-next-line prefer-template\n return \"%\" + (\"00\" + c.charCodeAt(0).toString(16)).slice(-2);\n })\n .join(\"\")\n );\n }\n\n if (typeof Buffer !== \"undefined\") {\n return Buffer.from(str, \"base64\").toString(\"utf8\");\n }\n\n throw new Error(`Can not find window.atob or Buffer`);\n}\n\nexport function uniqueID(): string {\n const chars = \"0123456789abcdef\";\n\n const randomID = \"xxxxxxxxxx\".replace(/./g, () => {\n return chars.charAt(Math.floor(Math.random() * chars.length));\n });\n\n const timeID = base64encode(\n new Date().toISOString().slice(11, 19).replace(\"T\", \".\")\n )\n .replace(/[^a-zA-Z0-9]/g, \"\")\n .toLowerCase();\n\n return `uid_${randomID}_${timeID}`;\n}\n\nexport function getGlobal(): Object {\n if (typeof window !== \"undefined\") {\n return window;\n }\n if (typeof global !== \"undefined\") {\n return global;\n }\n if (typeof __GLOBAL__ !== \"undefined\") {\n return __GLOBAL__;\n }\n throw new Error(`No global found`);\n}\n\nlet objectIDs;\n\nexport function getObjectID(obj: Object): string {\n objectIDs = objectIDs || new WeakMap();\n\n if (\n obj === null ||\n obj === undefined ||\n (typeof obj !== \"object\" && typeof obj !== \"function\")\n ) {\n throw new Error(`Invalid object`);\n }\n\n let uid = objectIDs.get(obj);\n\n if (!uid) {\n uid = `${typeof obj}:${uniqueID()}`;\n objectIDs.set(obj, uid);\n }\n\n return uid;\n}\n\nfunction serializeArgs<T>(args: $ReadOnlyArray<T>): string {\n try {\n // $FlowFixMe[method-unbinding]\n return JSON.stringify(Array.prototype.slice.call(args), (subkey, val) => {\n // Treat each distinct function as unique for purposes of memoization\n // e.g. even if someFunction.stringify() is the same, we may use a different memoize cache\n // if the actual function is different.\n if (typeof val === \"function\") {\n return `memoize[${getObjectID(val)}]`;\n }\n\n // By default JSON.stringify(domElement) returns '{}'. This ensures that stays true even for non-standard\n // elements (e.g. React-rendered dom elements) with custom properties\n if (isElement(val)) {\n return {};\n }\n\n return val;\n });\n } catch (err) {\n throw new Error(`Arguments not serializable -- can not be used to memoize`);\n }\n}\n\nexport function getEmptyObject(): {||} {\n // $FlowFixMe\n return {};\n}\n\ntype MemoizeOptions = {|\n name?: string,\n time?: number,\n thisNamespace?: boolean,\n|};\n\nconst getDefaultMemoizeOptions = (): MemoizeOptions => {\n // $FlowFixMe\n return {};\n};\n\nexport type Memoized<F> = F & {| reset: () => void |};\n\nlet memoizeGlobalIndex = 0;\nlet memoizeGlobalIndexValidFrom = 0;\n\nexport function memoize<F: Function>(\n method: F,\n options?: MemoizeOptions = getDefaultMemoizeOptions()\n): Memoized<F> {\n const { thisNamespace = false, time: cacheTime } = options;\n\n let simpleCache;\n let thisCache;\n\n let memoizeIndex = memoizeGlobalIndex;\n memoizeGlobalIndex += 1;\n\n const memoizedFunction = function memoizedFunction(...args): mixed {\n if (memoizeIndex < memoizeGlobalIndexValidFrom) {\n simpleCache = null;\n thisCache = null;\n memoizeIndex = memoizeGlobalIndex;\n memoizeGlobalIndex += 1;\n }\n\n let cache;\n\n if (thisNamespace) {\n thisCache = thisCache || new WeakMap();\n cache = thisCache.getOrSet(this, getEmptyObject);\n } else {\n cache = simpleCache = simpleCache || {};\n }\n\n let cacheKey;\n\n try {\n cacheKey = serializeArgs(args);\n } catch {\n return method.apply(this, arguments);\n }\n\n let cacheResult = cache[cacheKey];\n\n if (cacheResult && cacheTime && Date.now() - cacheResult.time < cacheTime) {\n delete cache[cacheKey];\n cacheResult = null;\n }\n\n if (cacheResult) {\n return cacheResult.value;\n }\n\n const time = Date.now();\n const value = method.apply(this, arguments);\n\n cache[cacheKey] = { time, value };\n\n return value;\n };\n\n memoizedFunction.reset = () => {\n simpleCache = null;\n thisCache = null;\n };\n\n // $FlowFixMe\n const result: F = memoizedFunction;\n\n return setFunctionName(\n result,\n `${options.name || getFunctionName(method)}::memoized`\n );\n}\n\nmemoize.clear = () => {\n memoizeGlobalIndexValidFrom = memoizeGlobalIndex;\n};\n\nexport function promiseIdentity<T: mixed>(\n item: ZalgoPromise<T> | T\n): ZalgoPromise<T> {\n // $FlowFixMe\n return ZalgoPromise.resolve(item);\n}\n\nexport function memoizePromise<R>(\n // eslint-disable-next-line flowtype/no-weak-types\n method: (...args: $ReadOnlyArray<any>) => ZalgoPromise<R>\n // eslint-disable-next-line flowtype/no-weak-types\n): (...args: $ReadOnlyArray<any>) => ZalgoPromise<R> {\n let cache = {};\n\n function memoizedPromiseFunction(\n // eslint-disable-next-line flowtype/no-weak-types\n ...args: $ReadOnlyArray<any>\n ): ZalgoPromise<R> {\n const key: string = serializeArgs(args);\n\n if (cache.hasOwnProperty(key)) {\n return cache[key];\n }\n\n cache[key] = ZalgoPromise.try(() => method.apply(this, arguments)).finally(\n () => {\n delete cache[key];\n }\n );\n\n return cache[key];\n }\n\n memoizedPromiseFunction.reset = () => {\n cache = {};\n };\n\n return setFunctionName(\n memoizedPromiseFunction,\n `${getFunctionName(method)}::promiseMemoized`\n );\n}\n\ntype PromisifyOptions = {|\n name?: string,\n|};\n\nconst getDefaultPromisifyOptions = (): PromisifyOptions => {\n // $FlowFixMe\n return {};\n};\n\nexport function promisify<R>(\n // eslint-disable-next-line flowtype/no-weak-types\n method: (...args: $ReadOnlyArray<any>) => R,\n options: PromisifyOptions = getDefaultPromisifyOptions()\n // eslint-disable-next-line flowtype/no-weak-types\n): (...args: $ReadOnlyArray<any>) => ZalgoPromise<R> {\n function promisifiedFunction(): ZalgoPromise<R> {\n return ZalgoPromise.try(method, this, arguments);\n }\n\n if (options.name) {\n promisifiedFunction.displayName = `${options.name}:promisified`;\n }\n\n return setFunctionName(\n promisifiedFunction,\n `${getFunctionName(method)}::promisified`\n );\n}\n\nexport function inlineMemoize<R>(\n // eslint-disable-next-line flowtype/no-weak-types\n method: (...args: $ReadOnlyArray<any>) => R,\n // eslint-disable-next-line flowtype/no-weak-types\n logic: (...args: $ReadOnlyArray<any>) => R,\n // eslint-disable-next-line flowtype/no-weak-types\n args: $ReadOnlyArray<any> = []\n): R {\n // $FlowFixMe\n const cache: {| [string]: R |} = (method.__inline_memoize_cache__ =\n // $FlowFixMe\n method.__inline_memoize_cache__ || {});\n const key = serializeArgs(args);\n\n if (cache.hasOwnProperty(key)) {\n return cache[key];\n }\n\n const result = (cache[key] = logic(...args));\n\n return result;\n}\n\n// eslint-disable-next-line no-unused-vars\nexport function noop(...args: $ReadOnlyArray<mixed>) {\n // pass\n}\n\nexport function once(method: Function): Function {\n let called = false;\n\n const onceFunction = function (): mixed {\n if (!called) {\n called = true;\n return method.apply(this, arguments);\n }\n };\n\n return setFunctionName(onceFunction, `${getFunctionName(method)}::once`);\n}\n\nexport function hashStr(str: string): number {\n let hash = 0;\n for (let i = 0; i < str.length; i++) {\n hash += str[i].charCodeAt(0) * Math.pow((i % 10) + 1, 5);\n }\n return Math.floor(Math.pow(Math.sqrt(hash), 5));\n}\n\nexport function strHashStr(str: string): string {\n let hash = \"\";\n\n for (let i = 0; i < str.length; i++) {\n let total = str[i].charCodeAt(0) * i;\n\n if (str[i + 1]) {\n total += str[i + 1].charCodeAt(0) * (i - 1);\n }\n\n hash += String.fromCharCode(97 + (Math.abs(total) % 26));\n }\n\n return hash;\n}\n\nexport function match(str: string, pattern: RegExp): ?string {\n const regmatch = str.match(pattern);\n if (regmatch) {\n return regmatch[1];\n }\n}\n\nexport function awaitKey<T: mixed>(obj: Object, key: string): ZalgoPromise<T> {\n return new ZalgoPromise((resolve) => {\n let value = obj[key];\n\n if (value) {\n return resolve(value);\n }\n\n delete obj[key];\n\n Object.defineProperty(obj, key, {\n configurable: true,\n\n set(item) {\n value = item;\n\n if (value) {\n resolve(value);\n }\n },\n\n get(): T {\n return value;\n },\n });\n });\n}\n\nexport function stringifyError(err: mixed, level: number = 1): string {\n if (level >= 3) {\n return \"stringifyError stack overflow\";\n }\n\n try {\n if (!err) {\n // $FlowFixMe[method-unbinding]\n return `<unknown error: ${Object.prototype.toString.call(err)}>`;\n }\n\n if (typeof err === \"string\") {\n return err;\n }\n\n if (err instanceof Error) {\n const stack = err && err.stack;\n const message = err && err.message;\n\n if (stack && message) {\n if (stack.indexOf(message) !== -1) {\n return stack;\n } else {\n return `${message}\\n${stack}`;\n }\n } else if (stack) {\n return stack;\n } else if (message) {\n return message;\n }\n }\n\n if (err && err.toString && typeof err.toString === \"function\") {\n // $FlowFixMe\n return err.toString();\n }\n\n // $FlowFixMe[method-unbinding]\n return Object.prototype.toString.call(err);\n } catch (newErr) {\n return `Error while stringifying error: ${stringifyError(\n newErr,\n level + 1\n )}`;\n }\n}\n\nexport function stringifyErrorMessage(err: mixed): string {\n // $FlowFixMe[method-unbinding]\n const defaultMessage = `<unknown error: ${Object.prototype.toString.call(\n err\n )}>`;\n\n if (!err) {\n return defaultMessage;\n }\n\n if (err instanceof Error) {\n return err.message || defaultMessage;\n }\n\n if (typeof err.message === \"string\") {\n return err.message || defaultMessage;\n }\n\n return defaultMessage;\n}\n\nexport function stringify(item: mixed): string {\n if (typeof item === \"string\") {\n return item;\n }\n\n if (item && item.toString && typeof item.toString === \"function\") {\n // $FlowFixMe\n return item.toString();\n }\n\n // $FlowFixMe[method-unbinding]\n return Object.prototype.toString.call(item);\n}\n\nexport function domainMatches(hostname: string, domain: string): boolean {\n hostname = hostname.split(\"://\")[1];\n const index = hostname.indexOf(domain);\n return index !== -1 && hostname.slice(index) === domain;\n}\n\nexport function patchMethod(obj: Object, name: string, handler: Function) {\n const original = obj[name];\n\n obj[name] = function patchedMethod(): mixed {\n return handler({\n context: this,\n // $FlowFixMe[method-unbinding]\n args: Array.prototype.slice.call(arguments),\n original,\n callOriginal: () => original.apply(this, arguments),\n });\n };\n}\n\nexport function extend<T: Object | Function>(obj: T, source: Object): T {\n if (!source) {\n return obj;\n }\n\n if (Object.assign) {\n return Object.assign(obj, source);\n }\n\n for (const key in source) {\n if (source.hasOwnProperty(key)) {\n obj[key] = source[key];\n }\n }\n\n return obj;\n}\n\nexport function values<T>(obj: { [string]: T }): $ReadOnlyArray<T> {\n if (Object.values) {\n // $FlowFixMe\n return Object.values(obj);\n }\n\n const result: Array<T> = [];\n for (const key in obj) {\n if (obj.hasOwnProperty(key)) {\n // $FlowFixMe[escaped-generic]\n result.push(obj[key]);\n }\n }\n\n // $FlowFixMe\n return result;\n}\n\n// eslint-disable-next-line no-undef\nexport const memoizedValues: <T>({ [string]: T }) => $ReadOnlyArray<T> =\n memoize(values);\n\nexport function perc(pixels: number, percentage: number): number {\n return Math.round((pixels * percentage) / 100);\n}\n\nexport function min(...args: $ReadOnlyArray<number>): number {\n return Math.min(...args);\n}\n\nexport function max(...args: $ReadOnlyArray<number>): number {\n return Math.max(...args);\n}\n\nexport function roundUp(num: number, nearest: number): number {\n const remainder = num % nearest;\n return remainder ? num - remainder + nearest : num;\n}\n\nexport function regexMap<T>(\n str: string,\n regexp: RegExp,\n handler: () => T\n): $ReadOnlyArray<T> {\n const results = [];\n\n // $FlowFixMe\n str.replace(regexp, function regexMapMatcher(item) {\n results.push(handler ? handler.apply(null, arguments) : item);\n });\n\n // $FlowFixMe\n return results;\n}\n\nexport function svgToBase64(svg: string): string {\n return `data:image/svg+xml;base64,${base64encode(svg)}`;\n}\n\nexport function objFilter<T, R>(\n obj: { [string]: T },\n filter?: (T, ?string) => mixed = Boolean\n): { [string]: R } {\n const result = {};\n\n for (const key in obj) {\n if (!obj.hasOwnProperty(key) || !filter(obj[key], key)) {\n continue;\n }\n\n result[key] = obj[key];\n }\n\n return result;\n}\n\nexport function identity<T>(item: T): T {\n return item;\n}\n\nexport function regexTokenize(\n text: string,\n regexp: RegExp\n): $ReadOnlyArray<string> {\n const result = [];\n text.replace(regexp, (token) => {\n result.push(token);\n return \"\";\n });\n return result;\n}\n\nexport function promiseDebounce<T>(\n method: () => ZalgoPromise<T> | T,\n delay: number = 50\n): () => ZalgoPromise<T> {\n let promise;\n let timeout;\n\n const promiseDebounced = function (): ZalgoPromise<T> {\n if (timeout) {\n clearTimeout(timeout);\n }\n\n const localPromise = (promise = promise || new ZalgoPromise());\n\n timeout = setTimeout(() => {\n promise = null;\n timeout = null;\n\n ZalgoPromise.try(method).then(\n (result) => {\n localPromise.resolve(result);\n },\n (err) => {\n localPromise.reject(err);\n }\n );\n }, delay);\n\n return localPromise;\n };\n\n return setFunctionName(\n promiseDebounced,\n `${getFunctionName(method)}::promiseDebounced`\n );\n}\n\nexport function safeInterval(\n method: Function,\n time: number\n): {| cancel: () => void |} {\n let timeout;\n\n function loop() {\n timeout = setTimeout(() => {\n method();\n loop();\n }, time);\n }\n\n loop();\n\n return {\n cancel() {\n clearTimeout(timeout);\n },\n };\n}\n\nexport function isInteger(str: string): boolean {\n return Boolean(str.match(/^[0-9]+$/));\n}\n\nexport function isFloat(str: string): boolean {\n return Boolean(str.match(/^[0-9]+\\.[0-9]+$/));\n}\n\nexport function serializePrimitive(value: string | number | boolean): string {\n return value.toString();\n}\n\nexport function deserializePrimitive(value: string): string | number | boolean {\n if (value === \"true\") {\n return true;\n } else if (value === \"false\") {\n return false;\n } else if (isInteger(value)) {\n return parseInt(value, 10);\n } else if (isFloat(value)) {\n return parseFloat(value);\n } else {\n return value;\n }\n}\n\nexport function dotify(\n obj: Object,\n prefix: string = \"\",\n newobj: Object = {}\n): { [string]: string } {\n prefix = prefix ? `${prefix}.` : prefix;\n for (const key in obj) {\n if (\n !obj.hasOwnProperty(key) ||\n obj[key] === undefined ||\n obj[key] === null ||\n typeof obj[key] === \"function\"\n ) {\n continue;\n } else if (\n obj[key] &&\n Array.isArray(obj[key]) &&\n obj[key].length &&\n obj[key].every((val) => typeof val !== \"object\")\n ) {\n newobj[`${prefix}${key}[]`] = obj[key].join(\",\");\n } else if (obj[key] && typeof obj[key] === \"object\") {\n newobj = dotify(obj[key], `${prefix}${key}`, newobj);\n } else {\n newobj[`${prefix}${key}`] = serializePrimitive(obj[key]);\n }\n }\n return newobj;\n}\n\nexport function undotify(obj: { [string]: string }): Object {\n const result = {};\n\n for (let key in obj) {\n if (!obj.hasOwnProperty(key) || typeof obj[key] !== \"string\") {\n continue;\n }\n\n let value = obj[key];\n\n if (key.match(/^.+\\[\\]$/)) {\n key = key.slice(0, -2);\n value = value.split(\",\").map(deserializePrimitive);\n } else {\n value = deserializePrimitive(value);\n }\n\n let keyResult = result;\n const parts = key.split(\".\");\n for (let i = 0; i < parts.length; i++) {\n const part = parts[i];\n const isLast = i + 1 === parts.length;\n const isIndex = !isLast && isInteger(parts[i + 1]);\n\n if (\n part === \"constructor\" ||\n part === \"prototype\" ||\n part === \"__proto__\"\n ) {\n throw new Error(`Disallowed key: ${part}`);\n }\n\n if (isLast) {\n // $FlowFixMe\n keyResult[part] = value;\n } else {\n // $FlowFixMe\n keyResult = keyResult[part] = keyResult[part] || (isIndex ? [] : {});\n }\n }\n }\n\n return result;\n}\n\nexport type EventEmitterType = {|\n on: (eventName: string, handler: Function) => CancelableType,\n once: (eventName: string, handler: Function) => CancelableType,\n trigger: (\n eventName: string,\n ...args: $ReadOnlyArray<mixed>\n ) => ZalgoPromise<void>,\n triggerOnce: (\n eventName: string,\n ...args: $ReadOnlyArray<mixed>\n ) => ZalgoPromise<void>,\n reset: () => void,\n|};\n\nexport function eventEmitter(): EventEmitterType {\n const triggered = {};\n let handlers = {};\n\n const emitter = {\n on(eventName: string, handler: Function): CancelableType {\n const handlerList = (handlers[eventName] = handlers[eventName] || []);\n\n handlerList.push(handler);\n\n let cancelled = false;\n\n return {\n cancel() {\n if (!cancelled) {\n cancelled = true;\n handlerList.splice(handlerList.indexOf(handler), 1);\n }\n },\n };\n },\n\n once(eventName: string, handler: Function): CancelableType {\n const listener = emitter.on(eventName, () => {\n listener.cancel();\n handler();\n });\n\n return listener;\n },\n\n trigger(\n eventName: string,\n ...args: $ReadOnlyArray<mixed>\n ): ZalgoPromise<void> {\n const handlerList = handlers[eventName];\n const promises = [];\n\n if (handlerList) {\n for (const handler of handlerList) {\n promises.push(ZalgoPromise.try(() => handler(...args)));\n }\n }\n\n return ZalgoPromise.all(promises).then(noop);\n },\n\n triggerOnce(\n eventName: string,\n ...args: $ReadOnlyArray<mixed>\n ): ZalgoPromise<void> {\n if (triggered[eventName]) {\n return ZalgoPromise.resolve();\n }\n\n triggered[eventName] = true;\n return emitter.trigger(eventName, ...args);\n },\n\n reset() {\n handlers = {};\n },\n };\n\n return emitter;\n}\n\nexport function camelToDasherize(string: string): string {\n return string.replace(/([A-Z])/g, (g) => {\n return `-${g.toLowerCase()}`;\n });\n}\n\nexport function dasherizeToCamel(string: string): string {\n return string.replace(/-([a-z])/g, (g) => {\n return g[1].toUpperCase();\n });\n}\n\nexport function capitalizeFirstLetter(string: string): string {\n return string.charAt(0).toUpperCase() + string.slice(1).toLowerCase();\n}\n\nexport function get(item: Object, path: string, def: mixed): mixed {\n if (!path) {\n return def;\n }\n\n const pathParts = path.split(\".\");\n\n // Loop through each section of our key path\n\n for (let i = 0; i < pathParts.length; i++) {\n // If we have an object, we can get the key\n if (typeof item === \"object\" && item !== null) {\n item = item[pathParts[i]];\n\n // Otherwise, we should return the default (undefined if not provided)\n } else {\n return def;\n }\n }\n\n // If our final result is undefined, we should return the default\n\n return item === undefined ? def : item;\n}\n\nexport function safeTimeout(method: Function, time: number) {\n const interval = safeInterval(() => {\n time -= 100;\n if (time <= 0) {\n interval.cancel();\n method();\n }\n }, 100);\n}\n\nexport function defineLazyProp<T>(\n obj: Object | $ReadOnlyArray<mixed>,\n key: string | number,\n getter: () => T\n) {\n if (Array.isArray(obj)) {\n if (typeof key !== \"number\") {\n throw new TypeError(`Array key must be number`);\n }\n } else if (typeof obj === \"object\" && obj !== null) {\n if (typeof key !== \"string\") {\n throw new TypeError(`Object key must be string`);\n }\n }\n\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: true,\n get: () => {\n // $FlowFixMe\n delete obj[key];\n const value = getter();\n // $FlowFixMe\n obj[key] = value;\n return value;\n },\n set: (value: T) => {\n // $FlowFixMe\n delete obj[key];\n // $FlowFixMe\n obj[key] = value;\n },\n });\n}\n\n// eslint-disable-next-line no-undef\nexport function arrayFrom<T>(item: Iterable<T>): $ReadOnlyArray<T> {\n // $FlowFixMe[method-unbinding]\n return Array.prototype.slice.call(item);\n}\n\nexport function isObject(item: mixed): boolean {\n return typeof item === \"object\" && item !== null;\n}\n\nexport function isObjectObject(obj: mixed): boolean {\n return (\n // $FlowFixMe[method-unbinding]\n isObject(obj) && Object.prototype.toString.call(obj) === \"[object Object]\"\n );\n}\n\nexport function isPlainObject(obj: mixed): boolean {\n if (!isObjectObject(obj)) {\n return false;\n }\n\n // $FlowFixMe\n const constructor = obj.constructor;\n\n if (typeof constructor !== \"function\") {\n return false;\n }\n\n const prototype = constructor.prototype;\n\n if (!isObjectObject(prototype)) {\n return false;\n }\n\n if (!prototype.hasOwnProperty(\"isPrototypeOf\")) {\n return false;\n }\n\n return true;\n}\n\nexport function replaceObject<T: $ReadOnlyArray<mixed> | Object>(\n item: T,\n replacer: (mixed, string | number, string) => mixed,\n fullKey: string = \"\"\n): T {\n if (Array.isArray(item)) {\n const length = item.length;\n const result: Array<mixed> = [];\n\n for (let i = 0; i < length; i++) {\n defineLazyProp(result, i, () => {\n const itemKey = fullKey ? `${fullKey}.${i}` : `${i}`;\n const el = item[i];\n\n let child = replacer(el, i, itemKey);\n\n if (isPlainObject(child) || Array.isArray(child)) {\n // $FlowFixMe\n child = replaceObject(child, replacer, itemKey);\n }\n\n return child;\n });\n }\n\n // $FlowFixMe\n return result;\n } else if (isPlainObject(item)) {\n const result = {};\n\n for (const key in item) {\n if (!item.hasOwnProperty(key)) {\n continue;\n }\n\n defineLazyProp(result, key, () => {\n const itemKey = fullKey ? `${fullKey}.${key}` : `${key}`;\n // $FlowFixMe\n const el = item[key];\n\n let child = replacer(el, key, itemKey);\n\n if (isPlainObject(child) || Array.isArray(child)) {\n // $FlowFixMe\n child = replaceObject(child, replacer, itemKey);\n }\n\n return child;\n });\n }\n\n // $FlowFixMe\n return result;\n } else {\n throw new Error(`Pass an object or array`);\n }\n}\n\nexport function copyProp(\n source: Object,\n target: Object,\n name: string,\n def: mixed\n) {\n if (source.hasOwnProperty(name)) {\n const descriptor = Object.getOwnPropertyDescriptor(source, name);\n // $FlowFixMe\n Object.defineProperty(target, name, descriptor);\n } else {\n target[name] = def;\n }\n}\n\ntype RegexResultType = {|\n text: string,\n groups: $ReadOnlyArray<string>,\n start: number,\n end: number,\n length: number,\n replace: (text: string) => string,\n|};\n\nexport function regex(\n pattern: string | RegExp,\n string: string,\n start: number = 0\n): ?RegexResultType {\n if (typeof pattern === \"string\") {\n // eslint-disable-next-line security/detect-non-literal-regexp\n pattern = new RegExp(pattern);\n }\n\n const result = string.slice(start).match(pattern);\n\n if (!result) {\n return;\n }\n\n // $FlowFixMe\n const index: number = result.index;\n const regmatch = result[0];\n\n return {\n text: regmatch,\n groups: result.slice(1),\n start: start + index,\n end: start + index + regmatch.length,\n length: regmatch.length,\n\n replace(text: string): string {\n if (!regmatch) {\n return \"\";\n }\n\n return `${regmatch.slice(0, start + index)}${text}${regmatch.slice(\n index + regmatch.length\n )}`;\n },\n };\n}\n\nexport function regexAll(\n pattern: string | RegExp,\n string: string\n): $ReadOnlyArray<RegexResultType> {\n const matches = [];\n let start = 0;\n\n // eslint-disable-next-line no-constant-condition\n while (true) {\n const regmatch = regex(pattern, string, start);\n\n if (!regmatch) {\n break;\n }\n\n matches.push(regmatch);\n start = match.end;\n }\n\n return matches;\n}\n\nexport function isDefined(value: ?mixed): boolean {\n return value !== null && value !== undefined;\n}\n\nexport function cycle(method: Function): ZalgoPromise<void> {\n return ZalgoPromise.try(method).then(() => cycle(method));\n}\n\nexport function debounce<T>(\n method: (...args: $ReadOnlyArray<mixed>) => T,\n time: number = 100\n): (...args: $ReadOnlyArray<mixed>) => void {\n let timeout;\n\n const debounceWrapper = function () {\n clearTimeout(timeout);\n\n timeout = setTimeout(() => {\n return method.apply(this, arguments);\n }, time);\n };\n\n return setFunctionName(\n debounceWrapper,\n `${getFunctionName(method)}::debounced`\n );\n}\n\nexport function isRegex(item: mixed): boolean {\n // $FlowFixMe[method-unbinding]\n return Object.prototype.toString.call(item) === \"[object RegExp]\";\n}\n\ntype FunctionProxy<T: Function> = (method: T) => T;\n\nexport const weakMapMemoize: FunctionProxy<*> = <R: mixed>(\n // eslint-disable-next-line flowtype/no-weak-types\n method: (arg: any) => R\n // eslint-disable-next-line flowtype/no-weak-types\n): ((...args: $ReadOnlyArray<any>) => R) => {\n const weakmap = new WeakMap();\n\n // eslint-disable-next-line flowtype/no-weak-types\n return function weakmapMemoized(arg: any): R {\n return weakmap.getOrSet(arg, () => method.call(this, arg));\n };\n};\n\ntype FunctionPromiseProxy<\n R: mixed,\n T: (...args: $ReadOnlyArray<mixed>) => ZalgoPromise<R>\n> = (T) => T;\n\nexport const weakMapMemoizePromise: FunctionPromiseProxy<*, *> = <R: mixed>(\n // eslint-disable-next-line flowtype/no-weak-types\n method: (arg: any) => ZalgoPromise<R>\n // eslint-disable-next-line flowtype/no-weak-types\n): ((...args: $ReadOnlyArray<any>) => ZalgoPromise<R>) => {\n const weakmap = new WeakMap();\n\n // eslint-disable-next-line flowtype/no-weak-types\n return function weakmapMemoizedPromise(arg: any): ZalgoPromise<R> {\n return weakmap.getOrSet(arg, () =>\n method.call(this, arg).finally(() => {\n weakmap.delete(arg);\n })\n );\n };\n};\n\nexport function getOrSet<O: Object, T: mixed>(\n obj: O,\n key: string,\n getter: () => T\n): T {\n if (obj.hasOwnProperty(key)) {\n return obj[key];\n }\n\n const val = getter();\n obj[key] = val;\n return val;\n}\n\nexport type CleanupType = {|\n set: <T: mixed>(string, T) => T, // eslint-disable-line no-undef\n register: (Function) => {| cancel: () => void |},\n all: (err?: mixed) => ZalgoPromise<void>,\n|};\n\nexport function cleanup(obj: Object): CleanupType {\n const tasks = [];\n let cleaned = false;\n let cleanErr;\n\n const cleaner = {\n set<T: mixed>(name: string, item: T): T {\n if (!cleaned) {\n obj[name] = item;\n cleaner.register(() => {\n delete obj[name];\n });\n }\n return item;\n },\n\n register(method: Function): {| cancel: () => void |} {\n const task = once(() => method(cleanErr));\n\n if (cleaned) {\n method(cleanErr);\n } else {\n tasks.push(task);\n }\n\n return {\n cancel: () => {\n const index = tasks.indexOf(task);\n if (index !== -1) {\n tasks.splice(index, 1);\n }\n },\n };\n },\n\n all(err?: mixed): ZalgoPromise<void> {\n cleanErr = err;\n\n const results = [];\n cleaned = true;\n\n while (tasks.length) {\n const task = tasks.shift();\n results.push(task());\n }\n\n return ZalgoPromise.all(results).then(noop);\n },\n };\n\n return cleaner;\n}\n\nexport function tryCatch<T>(\n fn: () => T\n): {| result: T, error: void |} | {| result: void, error: mixed |} {\n let result;\n let error;\n\n try {\n result = fn();\n } catch (err) {\n error = err;\n }\n\n // $FlowFixMe\n return { result, error };\n}\n\n// eslint-disable-next-line flowtype/no-mutable-array\nexport function removeFromArray<X, T: Array<X>>(arr: T, item: X) {\n const index = arr.indexOf(item);\n if (index !== -1) {\n arr.splice(index, 1);\n }\n}\n\nexport function assertExists<T>(name: string, thing: void | null | T): T {\n if (thing === null || typeof thing === \"undefined\") {\n throw new Error(`Expected ${name} to be present`);\n }\n\n return thing;\n}\n\nexport function unique(arr: $ReadOnlyArray<string>): $ReadOnlyArray<string> {\n const result = {};\n for (const item of arr) {\n result[item] = true;\n }\n return Object.keys(result);\n}\n\nexport const constHas = <X: string | boolean | number, T: { [string]: X }>(\n constant: T,\n value: X\n): boolean => {\n return memoizedValues(constant).indexOf(value) !== -1;\n};\n\nexport function dedupeErrors<T>(handler: (mixed) => T): (mixed) => T | void {\n const seenErrors = [];\n const seenStringifiedErrors = {};\n\n return (err) => {\n if (seenErrors.indexOf(err) !== -1) {\n return;\n }\n\n seenErrors.push(err);\n\n const stringifiedError = stringifyError(err);\n if (seenStringifiedErrors[stringifiedError]) {\n return;\n }\n\n seenStringifiedErrors[stringifiedError] = true;\n return handler(err);\n };\n}\n\nexport class ExtendableError extends Error {\n constructor(message: string) {\n super(message);\n // eslint-disable-next-line unicorn/custom-error-definition\n this.name = this.constructor.name;\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(this, this.constructor);\n } else {\n this.stack = new Error(message).stack;\n }\n }\n}\n\nfunction isRelativeUrlWithoutProtocol(url: string): boolean {\n return relativeFirstCharacters.indexOf(url[0]) > -1;\n}\n\nfunction decodeHtmlCharacters(str: string): string {\n const removedNullByte: string = str.replace(ctrlCharactersRegex, \"\");\n return removedNullByte.replace(htmlEntitiesRegex, (matchRegex, dec) => {\n return String.fromCharCode(dec);\n });\n}\n\nexport function sanitizeUrl(url?: string): string {\n if (!url) {\n return BLANK_URL;\n }\n\n const sanitizedUrl = decodeHtmlCharacters(url)\n .replace(htmlCtrlEntityRegex, \"\")\n .replace(ctrlCharactersRegex, \"\")\n .trim();\n\n if (!sanitizedUrl) {\n return BLANK_URL;\n }\n\n if (isRelativeUrlWithoutProtocol(sanitizedUrl)) {\n return sanitizedUrl;\n }\n\n const urlSchemeParseResults = sanitizedUrl.match(urlSchemeRegex);\n\n if (!urlSchemeParseResults) {\n return sanitizedUrl;\n }\n\n const urlScheme = urlSchemeParseResults[0];\n\n if (invalidProtocolRegex.test(urlScheme)) {\n return BLANK_URL;\n }\n\n return sanitizedUrl;\n}\n","/* @flow */\n\nexport function hasNativeWeakMap() : boolean {\n\n if (typeof WeakMap === 'undefined') {\n return false;\n }\n\n if (typeof Object.freeze === 'undefined') {\n return false;\n }\n\n try {\n\n const testWeakMap = new WeakMap();\n const testKey = {};\n const testValue = '__testvalue__';\n\n Object.freeze(testKey);\n\n testWeakMap.set(testKey, testValue);\n\n if (testWeakMap.get(testKey) === testValue) {\n return true;\n }\n\n return false;\n\n } catch (err) {\n\n return false;\n }\n}\n","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","import setPrototypeOf from \"@babel/runtime/helpers/esm/setPrototypeOf\";\nimport isNativeReflectConstruct from \"@babel/runtime/helpers/esm/isNativeReflectConstruct\";\nexport default function _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct;\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}","import getPrototypeOf from \"@babel/runtime/helpers/esm/getPrototypeOf\";\nimport setPrototypeOf from \"@babel/runtime/helpers/esm/setPrototypeOf\";\nimport isNativeFunction from \"@babel/runtime/helpers/esm/isNativeFunction\";\nimport construct from \"@babel/runtime/helpers/esm/construct\";\nexport default function _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}","export default function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}","/* @flow */\n/* eslint max-lines: off */\nimport { ZalgoPromise } from \"@krakenjs/zalgo-promise/src\";\nimport {\n linkFrameWindow,\n isWindowClosed,\n assertSameDomain,\n type SameDomainWindowType,\n type CrossDomainWindowType,\n} from \"@krakenjs/cross-domain-utils/src\";\nimport { WeakMap } from \"@krakenjs/cross-domain-safe-weakmap/src\";\n\nimport {\n isElement,\n inlineMemoize,\n memoize,\n noop,\n stringify,\n capitalizeFirstLetter,\n once,\n extend,\n safeInterval,\n uniqueID,\n arrayFrom,\n ExtendableError,\n strHashStr,\n} from \"./util\";\nimport { isDevice } from \"./device\";\nimport { KEY_CODES, ATTRIBUTES, UID_HASH_LENGTH } from \"./constants\";\nimport type { CancelableType } from \"./types\";\n\ntype ElementRefType = string | HTMLElement;\n\nexport function getBody(): HTMLBodyElement {\n // eslint-disable-next-line compat/compat\n const body = document.body;\n\n if (!body) {\n throw new Error(`Body element not found`);\n }\n\n return body;\n}\n\nexport function isDocumentReady(): boolean {\n // eslint-disable-next-line compat/compat\n return Boolean(document.body) && document.readyState === \"complete\";\n}\n\nexport function isDocumentInteractive(): boolean {\n // eslint-disable-next-line compat/compat\n return Boolean(document.body) && document.readyState === \"interactive\";\n}\n\nexport function urlEncode(str: string): string {\n return encodeURIComponent(str);\n}\n\nexport function waitForWindowReady(): ZalgoPromise<void> {\n return inlineMemoize(waitForWindowReady, (): ZalgoPromise<void> => {\n return new ZalgoPromise((resolve) => {\n if (isDocumentReady()) {\n resolve();\n }\n\n window.addEventListener(\"load\", () => resolve());\n });\n });\n}\n\ntype WaitForDocumentReady = () => ZalgoPromise<void>;\n\nexport const waitForDocumentReady: WaitForDocumentReady = memoize(() => {\n return new ZalgoPromise((resolve) => {\n if (isDocumentReady() || isDocumentInteractive()) {\n return resolve();\n }\n\n const interval = setInterval(() => {\n if (isDocumentReady() || isDocumentInteractive()) {\n clearInterval(interval);\n return resolve();\n }\n }, 10);\n });\n});\n\nexport function waitForDocumentBody(): ZalgoPromise<HTMLBodyElement> {\n return ZalgoPromise.try(() => {\n if (document.body) {\n return document.body;\n }\n\n return waitForDocumentReady().then(() => {\n if (document.body) {\n return document.body;\n }\n\n throw new Error(\"Document ready but document.body not present\");\n });\n });\n}\n\nexport function parseQuery(queryString: string): Object {\n return inlineMemoize(\n parseQuery,\n (): Object => {\n const params = {};\n\n if (!queryString) {\n return params;\n }\n\n if (queryString.indexOf(\"=\") === -1) {\n return params;\n }\n\n for (let pair of queryString.split(\"&\")) {\n pair = pair.split(\"=\");\n\n if (pair[0] && pair[1]) {\n params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);\n }\n }\n\n return params;\n },\n [queryString]\n );\n}\n\nexport function getQueryParam(name: string): string {\n return parseQuery(window.location.search.slice(1))[name];\n}\n\nexport function urlWillRedirectPage(url: string): boolean {\n if (url.indexOf(\"#\") === -1) {\n return true;\n }\n\n if (url.indexOf(\"#\") === 0) {\n return false;\n }\n\n if (url.split(\"#\")[0] === window.location.href.split(\"#\")[0]) {\n return false;\n }\n\n return true;\n}\n\nexport type Query = {\n [string]: boolean | string,\n};\n\nexport function formatQuery(obj: Query = {}): string {\n return Object.keys(obj)\n .filter((key) => {\n return typeof obj[key] === \"string\" || typeof obj[key] === \"boolean\";\n })\n .map((key) => {\n const val = obj[key];\n\n if (typeof val !== \"string\" && typeof val !== \"boolean\") {\n throw new TypeError(`Invalid type for query`);\n }\n\n return `${urlEncode(key)}=${urlEncode(val.toString())}`;\n })\n .join(\"&\");\n}\n\nexport function extendQuery(originalQuery: string, props: Query = {}): string {\n if (!props || !Object.keys(props).length) {\n return originalQuery;\n }\n\n return formatQuery({\n ...parseQuery(originalQuery),\n ...props,\n });\n}\n\nexport function extendUrl(\n url: string,\n options: {| query?: Query, hash?: Query |}\n): string {\n const query = options.query || {};\n const hash = options.hash || {};\n\n let originalUrl;\n let originalQuery;\n let originalHash;\n\n [originalUrl, originalHash] = url.split(\"#\");\n [originalUrl, originalQuery] = originalUrl.split(\"?\");\n\n const queryString = extendQuery(originalQuery, query);\n const hashString = extendQuery(originalHash, hash);\n\n if (queryString) {\n originalUrl = `${originalUrl}?${queryString}`;\n }\n\n if (hashString) {\n originalUrl = `${originalUrl}#${hashString}`;\n }\n\n return originalUrl;\n}\n\nexport function redirect(\n url: string,\n win: CrossDomainWindowType = window\n): ZalgoPromise<void> {\n return new ZalgoPromise((resolve) => {\n win.location = url;\n if (!urlWillRedirectPage(url)) {\n resolve();\n }\n });\n}\n\nexport function hasMetaViewPort(): boolean {\n const meta = document.querySelector(\"meta[name=viewport]\");\n\n if (isDevice() && window.screen.width < 660 && !meta) {\n return false;\n }\n\n return true;\n}\n\nexport function isElementVisible(el: HTMLElement): boolean {\n return Boolean(\n el.offsetWidth || el.offsetHeight || el.getClientRects().length\n );\n}\n\nexport function getPerformance(): ?Performance {\n return inlineMemoize(getPerformance, (): ?Performance => {\n const performance = window.performance;\n\n if (\n performance &&\n performance.now &&\n performance.timing &&\n performance.timing.connectEnd &&\n performance.timing.navigationStart &&\n Math.abs(performance.now() - Date.now()) > 1000 &&\n performance.now() -\n (performance.timing.connectEnd - performance.timing.navigationStart) >\n 0\n ) {\n return performance;\n }\n });\n}\n\nexport function enablePerformance(): boolean {\n return Boolean(getPerformance());\n}\n\nexport function getPageRenderTime(): ZalgoPromise<?number> {\n return waitForDocumentReady().then(() => {\n const performance = getPerformance();\n\n if (!performance) {\n return;\n }\n\n const timing = performance.timing;\n\n if (timing.connectEnd && timing.domInteractive) {\n return timing.domInteractive - timing.connectEnd;\n }\n });\n}\n\nexport function htmlEncode(html: string = \"\"): string {\n return html\n .toString()\n .replace(/&/g, \"&\")\n .replace(/</g, \"<\")\n .replace(/>/g, \">\")\n .replace(/\"/g, \""\")\n .replace(/'/g, \"'\")\n .replace(/\\//g, \"/\");\n}\n\nexport function isBrowser(): boolean {\n return typeof window !== \"undefined\" && window.location !== undefined;\n}\n\nexport function querySelectorAll(\n selector: string,\n doc: HTMLElement = window.document\n): $ReadOnlyArray<HTMLElement> {\n // $FlowFixMe[method-unbinding]\n return Array.prototype.slice.call(doc.querySelectorAll(selector));\n}\n\n/**\n * Sets up event handlers for click events and\n * enter/space keypresses.\n * @callback handler\n * @param {HTMLElement} element\n * @param {handler} handler\n */\nexport function onClick(element: HTMLElement, handler: (Event) => void) {\n element.addEventListener(\"touchstart\", noop, { passive: true });\n element.addEventListener(\"click\", handler);\n element.addEventListener(\"keypress\", (event: Event) => {\n if (\n // $FlowFixMe\n event.keyCode === KEY_CODES.ENTER ||\n // $FlowFixMe\n event.keyCode === KEY_CODES.SPACE\n ) {\n return handler(event);\n }\n });\n}\n\nexport function getScript({\n host = window.location.host,\n path,\n reverse = false,\n}: {|\n host?: string,\n path: string,\n reverse?: boolean,\n|}): ?HTMLScriptElement {\n return inlineMemoize(\n getScript,\n (): ?HTMLScriptElement => {\n const url = `${host}${path}`;\n // $FlowFixMe[method-unbinding]\n const scripts = Array.prototype.slice.call(\n document.getElementsByTagName(\"script\")\n );\n\n if (reverse) {\n scripts.reverse();\n }\n\n for (const script of scripts) {\n if (!script.src) {\n continue;\n }\n\n const src = script.src.replace(/^https?:\\/\\//, \"\").split(\"?\")[0];\n\n if (src === url) {\n return script;\n }\n }\n },\n [path]\n );\n}\n\nexport function isLocalStorageEnabled(): boolean {\n return inlineMemoize(isLocalStorageEnabled, () => {\n try {\n if (typeof window === \"undefined\") {\n return false;\n }\n\n if (window.localStorage) {\n const value = Math.random().toString();\n window.localStorage.setItem(\"__test__localStorage__\", value);\n const result = window.localStorage.getItem(\"__test__localStorage__\");\n window.localStorage.removeItem(\"__test__localStorage__\");\n if (value === result) {\n return true;\n }\n }\n } catch (err) {\n // pass\n }\n return false;\n });\n}\n\nexport function getBrowserLocales(): $ReadOnlyArray<{|\n country?: string,\n lang: string,\n|}> {\n const nav = window.navigator;\n\n const locales = nav.languages ? [...nav.languages] : [];\n\n if (nav.language) {\n locales.push(nav.language);\n }\n\n if (nav.userLanguage) {\n locales.push(nav.userLanguage);\n }\n\n return locales\n .map((locale) => {\n if (locale && locale.match(/^[a-z]{2}[-_][A-Z]{2}$/)) {\n const [lang, country] = locale.split(/[-_]/);\n return { country, lang };\n }\n\n if (locale && locale.match(/^[a-z]{2}$/)) {\n return { lang: locale };\n }\n\n return null;\n })\n .filter(Boolean);\n}\n\nexport function appendChild(container: HTMLElement, child: HTMLElement | Text) {\n container.appendChild(child);\n}\n\nexport function getElementSafe(\n id: ElementRefType,\n doc: Document | HTMLElement = document\n): ?HTMLElement {\n if (isElement(id)) {\n // $FlowFixMe\n return id;\n }\n\n if (typeof id === \"string\") {\n return doc.querySelector(id);\n }\n}\n\nexport function getElement(\n id: ElementRefType,\n doc: Document | HTMLElement = document\n): HTMLElement {\n const element = getElementSafe(id, doc);\n\n if (element) {\n return element;\n }\n\n throw new Error(`Can not find element: ${stringify(id)}`);\n}\n\nexport function elementReady(id: ElementRefType): ZalgoPromise<HTMLElement> {\n return new ZalgoPromise((resolve, reject) => {\n const name = stringify(id);\n let el = getElementSafe(id);\n\n if (el) {\n return resolve(el);\n }\n\n if (isDocumentReady()) {\n return reject(\n new Error(`Document is ready and element ${name} does not exist`)\n );\n }\n\n const interval = setInterval(() => {\n el = getElementSafe(id);\n\n if (el) {\n resolve(el);\n clearInterval(interval);\n return;\n }\n\n if (isDocumentReady()) {\n clearInterval(interval);\n return reject(\n new Error(`Document is ready and element ${name} does not exist`)\n );\n }\n }, 10);\n });\n}\n\n// eslint-disable-next-line unicorn/custom-error-definition\nexport class PopupOpenError extends ExtendableError {}\n\ntype PopupOptions = {|\n name?: string,\n width?: number,\n height?: number,\n top?: number,\n left?: number,\n status?: 0 | 1,\n resizable?: 0 | 1,\n toolbar?: 0 | 1,\n menubar?: 0 | 1,\n scrollbars?: 0 | 1,\n closeOnUnload?: 0 | 1,\n|};\n\nexport function popup(\n url: string,\n options?: PopupOptions\n): CrossDomainWindowType {\n // $FlowFixMe\n options = options || {};\n\n const { closeOnUnload = 1, name = \"\", width, height } = options;\n\n let top = 0;\n let left = 0;\n\n if (width) {\n if (window.outerWidth) {\n left = Math.round((window.outerWidth - width) / 2) + window.screenX;\n } else if (window.screen.width) {\n left = Math.round((window.screen.width - width) / 2);\n }\n }\n\n if (height) {\n if (window.outerHeight) {\n top = Math.round((window.outerHeight - height) / 2) + window.screenY;\n } else if (window.screen.height) {\n top = Math.round((window.screen.height - height) / 2);\n }\n }\n\n delete options.closeOnUnload;\n delete options.name;\n\n if (width && height) {\n // $FlowFixMe\n options = {\n top,\n left,\n width,\n height,\n status: 1,\n toolbar: 0,\n menubar: 0,\n resizable: 1,\n scrollbars: 1,\n ...options,\n };\n }\n\n const params = Object.keys(options)\n // eslint-disable-next-line array-callback-return\n .map((key) => {\n // $FlowFixMe\n if (options[key] !== null && options[key] !== undefined) {\n return `${key}=${stringify(options[key])}`;\n }\n })\n .filter(Boolean)\n .join(\",\");\n\n let win;\n\n try {\n win = window.open(url, name, params);\n } catch (err) {\n throw new PopupOpenError(\n `Can not open popup window - ${err.stack || err.message}`\n );\n }\n\n if (isWindowClosed(win)) {\n const err = new PopupOpenError(`Can not open popup window - blocked`);\n throw err;\n }\n\n if (closeOnUnload) {\n window.addEventListener(\"beforeunload\", () => {\n win.close();\n });\n if (\"onpagehide\" in window) {\n window.addEventListener(\"pagehide\", () => {\n win.close();\n });\n } else {\n window.addEventListener(\"unload\", () => {\n win.close();\n });\n }\n }\n\n return win;\n}\n\nexport function writeToWindow(win: SameDomainWindowType, html: string) {\n try {\n win.document.open();\n win.document.write(html);\n win.document.close();\n } catch (err) {\n try {\n win.location = `javascript: document.open(); document.write(${JSON.stringify(\n html\n )}); document.close();`;\n } catch (err2) {\n // pass\n }\n }\n}\n\nexport function writeElementToWindow(\n win: SameDomainWindowType,\n el: HTMLElement\n) {\n const tag = el.tagName.toLowerCase();\n\n if (tag !== \"html\") {\n throw new Error(`Expected element to be html, got ${tag}`);\n }\n\n const documentElement = win.document.documentElement;\n\n for (const child of arrayFrom(documentElement.children)) {\n documentElement.removeChild(child);\n }\n\n for (const child of arrayFrom(el.children)) {\n documentElement.appendChild(child);\n }\n}\n\nexport function setStyle(\n el: HTMLElement,\n styleText: string,\n doc: Document = window.document\n) {\n // $FlowFixMe\n if (el.styleSheet) {\n // $FlowFixMe\n el.styleSheet.cssText = styleText;\n } else {\n el.appendChild(doc.createTextNode(styleText));\n }\n}\n\nexport type ElementOptionsType = {|\n style?: { [string]: string },\n id?: string,\n class?: ?$ReadOnlyArray<string>,\n attributes?: { [string]: string },\n styleSheet?: ?string,\n html?: ?string,\n|};\n\nlet awaitFrameLoadPromises: WeakMap<\n HTMLIFrameElement,\n ZalgoPromise<HTMLIFrameElement>\n>;\n\nexport function awaitFrameLoad(\n frame: HTMLIFrameElement\n): ZalgoPromise<HTMLIFrameElement> {\n awaitFrameLoadPromises = awaitFrameLoadPromises || new WeakMap();\n\n if (awaitFrameLoadPromises.has(frame)) {\n const promise = awaitFrameLoadPromises.get(frame);\n if (promise) {\n return promise;\n }\n }\n\n const promise = new ZalgoPromise((resolve, reject) => {\n frame.addEventListener(\"load\", () => {\n linkFrameWindow(frame);\n resolve(frame);\n });\n\n frame.addEventListener(\"error\", (err: Event) => {\n if (frame.contentWindow) {\n resolve(frame);\n } else {\n reject(err);\n }\n });\n });\n\n awaitFrameLoadPromises.set(frame, promise);\n\n return promise;\n}\n\nexport function awaitFrameWindow(\n frame: HTMLIFrameElement\n): ZalgoPromise<CrossDomainWindowType> {\n return awaitFrameLoad(frame).then((loadedFrame) => {\n if (!loadedFrame.contentWindow) {\n throw new Error(`Could not find window in iframe`);\n }\n\n return loadedFrame.contentWindow;\n });\n}\n\nconst getDefaultCreateElementOptions = (): ElementOptionsType => {\n // $FlowFixMe\n return {};\n};\n\nexport function createElement(\n tag: string = \"div\",\n options: ElementOptionsType = getDefaultCreateElementOptions(),\n container: ?HTMLElement\n): HTMLElement {\n tag = tag.toLowerCase();\n const element = document.createElement(tag);\n\n if (options.style) {\n extend(element.style, options.style);\n }\n\n if (options.class) {\n element.className = options.class.join(\" \");\n }\n\n if (options.id) {\n element.setAttribute(\"id\", options.id);\n }\n\n if (options.attributes) {\n for (const key of Object.keys(options.attributes)) {\n element.setAttribute(key, options.attributes[key]);\n }\n }\n\n if (options.styleSheet) {\n setStyle(element, options.styleSheet);\n }\n\n if (container) {\n appendChild(container, element);\n }\n\n if (options.html) {\n if (tag === \"iframe\") {\n // $FlowFixMe\n if (!container || !element.contentWindow) {\n throw new Error(\n `Iframe html can not be written unless container provided and iframe in DOM`\n );\n }\n\n // $FlowFixMe\n writeToWindow(element.contentWindow, options.html);\n } else {\n element.innerHTML = options.html;\n }\n }\n\n return element;\n}\n\ntype StringMap = {|\n [string]: string,\n|};\n\nexport type IframeElementOptionsType = {|\n style?: StringMap,\n class?: ?$ReadOnlyArray<string>,\n attributes?: StringMap,\n styleSheet?: ?string,\n html?: ?string,\n url?: ?string,\n|};\n\nconst getDefaultIframeOptions = (): IframeElementOptionsType => {\n // $FlowFixMe\n return {};\n};\n\nconst getDefaultStringMap = (): StringMap => {\n // $FlowFixMe\n return {};\n};\n\nexport function iframe(\n options: IframeElementOptionsType = getDefaultIframeOptions(),\n container: ?HTMLElement\n): HTMLIFrameElement {\n const attributes = options.attributes || getDefaultStringMap();\n const style = options.style || getDefaultStringMap();\n\n // $FlowFixMe\n const newAttributes = {\n allowTransparency: \"true\",\n ...attributes,\n };\n\n // $FlowFixMe\n const newStyle = {\n backgroundColor: \"transparent\",\n border: \"none\",\n ...style,\n };\n\n const frame = createElement(\"iframe\", {\n attributes: newAttributes,\n style: newStyle,\n html: options.html,\n class: options.class,\n });\n\n const isIE = window.navigator.userAgent.match(/MSIE|Edge/i);\n\n if (!frame.hasAttribute(\"id\")) {\n frame.setAttribute(\"id\", uniqueID());\n }\n\n // $FlowFixMe\n awaitFrameLoad(frame);\n\n if (container) {\n const el = getElement(container);\n el.appendChild(frame);\n }\n\n if (options.url || isIE) {\n frame.setAttribute(\"src\", options.url || \"about:blank\");\n }\n\n // $FlowFixMe\n return frame;\n}\n\nexport function addEventListener(\n obj: HTMLElement,\n event: string,\n handler: (event: Event) => void\n): CancelableType {\n obj.addEventListener(event, handler);\n return {\n cancel() {\n obj.removeEventListener(event, handler);\n },\n };\n}\n\nexport function bindEvents(\n element: HTMLElement,\n eventNames: $ReadOnlyArray<string>,\n handler: (event: Event) => void\n): CancelableType {\n handler = once(handler);\n\n for (const eventName of eventNames) {\n element.addEventListener(eventName, handler);\n }\n\n return {\n cancel: once(() => {\n for (const eventName of eventNames) {\n element.removeEventListener(eventName, handler);\n }\n }),\n };\n}\n\nconst VENDOR_PREFIXES = [\"webkit\", \"moz\", \"ms\", \"o\"];\n\nexport function setVendorCSS(\n element: HTMLElement,\n name: string,\n value: string\n) {\n // $FlowFixMe\n element.style[name] = value;\n\n const capitalizedName = capitalizeFirstLetter(name);\n\n for (const prefix of VENDOR_PREFIXES) {\n // $FlowFixMe\n element.style[`${prefix}${capitalizedName}`] = value;\n }\n}\n\nconst ANIMATION_START_EVENTS = [\n \"animationstart\",\n \"webkitAnimationStart\",\n \"oAnimationStart\",\n \"MSAnimationStart\",\n];\nconst ANIMATION_END_EVENTS = [\n \"animationend\",\n \"webkitAnimationEnd\",\n \"oAnimationEnd\",\n \"MSAnimationEnd\",\n];\n\nexport function animate(\n element: ElementRefType,\n name: string,\n clean: (Function) => void,\n timeout: number = 1000\n): ZalgoPromise<void> {\n return new ZalgoPromise((resolve, reject) => {\n const el = getElement(element);\n\n if (!el) {\n return resolve();\n }\n\n let hasStarted = false;\n\n // eslint-disable-next-line prefer-const\n let startTimeout;\n let endTimeout;\n // eslint-disable-next-line prefer-const\n let startEvent;\n // eslint-disable-next-line prefer-const\n let endEvent;\n\n function cleanUp() {\n clearTimeout(startTimeout);\n clearTimeout(endTimeout);\n startEvent.cancel();\n endEvent.cancel();\n }\n\n startEvent = bindEvents(el, ANIMATION_START_EVENTS, (event) => {\n // $FlowFixMe\n if (event.target !== el || event.animationName !== name) {\n return;\n }\n\n clearTimeout(startTimeout);\n\n event.stopPropagation();\n\n startEvent.cancel();\n hasStarted = true;\n\n endTimeout = setTimeout(() => {\n cleanUp();\n resolve();\n }, timeout);\n });\n\n endEvent = bindEvents(el, ANIMATION_END_EVENTS, (event) => {\n // $FlowFixMe\n if (event.target !== el || event.animationName !== name) {\n return;\n }\n\n cleanUp();\n\n if (\n // $FlowFixMe\n typeof event.animationName === \"string\" &&\n event.animationName !== name\n ) {\n return reject(\n `Expected animation name to be ${name}, found ${event.animationName}`\n );\n }\n\n return resolve();\n });\n\n setVendorCSS(el, \"animationName\", name);\n\n startTimeout = setTimeout(() => {\n if (!hasStarted) {\n cleanUp();\n return resolve();\n }\n }, 200);\n\n if (clean) {\n clean(cleanUp);\n }\n });\n}\n\nexport function makeElementVisible(element: HTMLElement) {\n element.style.setProperty(\"visibility\", \"\");\n}\n\nexport function makeElementInvisible(element: HTMLElement) {\n element.style.setProperty(\"visibility\", \"hidden\", \"important\");\n}\n\nexport function showElement(element: HTMLElement) {\n element.style.setProperty(\"display\", \"\");\n}\n\nexport function hideElement(element: HTMLElement) {\n element.style.setProperty(\"display\", \"none\", \"important\");\n}\n\nexport function destroyElement(element: HTMLElement) {\n if (element && element.parentNode) {\n element.parentNode.removeChild(element);\n }\n}\n\nexport function showAndAnimate(\n element: HTMLElement,\n name: string,\n clean: (Function) => void\n): ZalgoPromise<void> {\n const animation = animate(element, name, clean);\n showElement(element);\n return animation;\n}\n\nexport function animateAndHide(\n element: HTMLElement,\n name: string,\n clean: (Function) => void\n): ZalgoPromise<void> {\n return animate(element, name, clean).then(() => {\n hideElement(element);\n });\n}\n\nexport function addClass(element: HTMLElement, name: string) {\n element.classList.add(name);\n}\n\nexport function removeClass(element: HTMLElement, name: string) {\n element.classList.remove(name);\n}\n\nexport function isElementClosed(el: HTMLElement): boolean {\n if (\n !el ||\n !el.parentNode ||\n !el.ownerDocument ||\n !el.ownerDocument.documentElement ||\n !el.ownerDocument.documentElement.contains(el)\n ) {\n return true;\n }\n return false;\n}\n\nexport function watchElementForClose(\n element: HTMLElement,\n handler: () => mixed\n): CancelableType {\n handler = once(handler);\n const terminationEvent = \"onpagehide\" in window ? \"pagehide\" : \"unload\";\n\n let cancelled = false;\n const mutationObservers = [];\n // eslint-disable-next-line prefer-const\n let interval;\n // eslint-disable-next-line prefer-const\n let sacrificialFrame;\n let sacrificialFrameWin;\n\n const cancel = () => {\n cancelled = true;\n for (const observer of mutationObservers) {\n observer.disconnect();\n }\n if (interval) {\n interval.cancel();\n }\n if (sacrificialFrameWin) {\n // eslint-disable-next-line no-use-before-define\n sacrificialFrameWin.removeEventListener(terminationEvent, elementClosed);\n }\n if (sacrificialFrame) {\n destroyElement(sacrificialFrame);\n }\n };\n\n const elementClosed = () => {\n if (!cancelled) {\n handler();\n cancel();\n }\n };\n\n if (isElementClosed(element)) {\n elementClosed();\n return { cancel };\n }\n\n // Strategy 1: Mutation observer\n\n if (window.MutationObserver) {\n let mutationElement = element.parentElement;\n while (mutationElement) {\n const mutationObserver = new window.MutationObserver(() => {\n if (isElementClosed(element)) {\n elementClosed();\n }\n });\n\n mutationObserver.observe(mutationElement, { childList: true });\n mutationObservers.push(mutationObserver);\n mutationElement = mutationElement.parentElement;\n }\n }\n\n // Strategy 2: Sacrificial iframe\n\n sacrificialFrame = document.createElement(\"iframe\");\n sacrificialFrame.setAttribute(\"name\", `__detect_close_${uniqueID()}__`);\n sacrificialFrame.style.display = \"none\";\n awaitFrameWindow(sacrificialFrame).then((frameWin) => {\n sacrificialFrameWin = assertSameDomain(frameWin);\n sacrificialFrameWin.addEventListener(terminationEvent, elementClosed);\n });\n element.appendChild(sacrificialFrame);\n\n // Strategy 3: Poller\n\n const check = () => {\n if (isElementClosed(element)) {\n elementClosed();\n }\n };\n interval = safeInterval(check, 1000);\n\n return { cancel };\n}\n\nexport function fixScripts(el: HTMLElement, doc: Document = window.document) {\n for (const script of querySelectorAll(\"script\", el)) {\n const parentNode = script.parentNode;\n\n if (!parentNode) {\n continue;\n }\n\n const newScript = doc.createElement(\"script\");\n newScript.text = script.textContent;\n parentNode.replaceChild(newScript, script);\n }\n}\n\ntype OnResizeOptions = {|\n width?: boolean,\n height?: boolean,\n interval?: number,\n win?: SameDomainWindowType,\n|};\n\nexport function onResize(\n el: HTMLElement,\n handler: ({| width: number, height: number |}) => void,\n {\n width = true,\n height = true,\n interval = 100,\n win = window,\n }: OnResizeOptions = {}\n): {| cancel: () => void |} {\n let currentWidth = el.offsetWidth;\n let currentHeight = el.offsetHeight;\n let canceled = false;\n\n handler({ width: currentWidth, height: currentHeight });\n\n const check = () => {\n if (canceled || !isElementVisible(el)) {\n return;\n }\n\n const newWidth = el.offsetWidth;\n const newHeight = el.offsetHeight;\n\n if (\n (width && newWidth !== currentWidth) ||\n (height && newHeight !== currentHeight)\n ) {\n handler({ width: newWidth, height: newHeight });\n }\n\n currentWidth = newWidth;\n currentHeight = newHeight;\n };\n\n let observer;\n let timeout;\n\n win.addEventListener(\"resize\", check);\n\n if (typeof win.ResizeObserver !== \"undefined\") {\n observer = new win.ResizeObserver(check);\n observer.observe(el);\n timeout = safeInterval(check, interval * 10);\n } else if (typeof win.MutationObserver !== \"undefined\") {\n observer = new win.MutationObserver(check);\n observer.observe(el, {\n attributes: true,\n childList: true,\n subtree: true,\n characterData: false,\n });\n timeout = safeInterval(check, interval * 10);\n } else {\n timeout = safeInterval(check, interval);\n }\n\n return {\n cancel: () => {\n canceled = true;\n observer.disconnect();\n window.removeEventListener(\"resize\", check);\n timeout.cancel();\n },\n };\n}\n\nexport function getResourceLoadTime(url: string): ?number {\n const performance = getPerformance();\n\n if (!performance) {\n return;\n }\n\n // $FlowFixMe[method-unbinding]\n if (typeof performance.getEntries !== \"function\") {\n return;\n }\n\n const entries = performance.getEntries();\n\n for (let i = 0; i < entries.length; i++) {\n const entry = entries[i];\n\n if (\n entry &&\n entry.name &&\n entry.name.indexOf(url) === 0 &&\n typeof entry.duration === \"number\"\n ) {\n return Math.floor(entry.duration);\n }\n }\n}\n\nexport function isShadowElement(element: Node): boolean {\n while (element.parentNode) {\n element = element.parentNode;\n }\n\n return element.toString() === \"[object ShadowRoot]\";\n}\n\nexport function getShadowRoot(element: Node): ?Node {\n while (element.parentNode) {\n element = element.parentNode;\n }\n\n if (isShadowElement(element)) {\n return element;\n }\n}\n\nexport function getShadowHost(element: Node): ?HTMLElement {\n const shadowRoot = getShadowRoot(element);\n\n // $FlowFixMe\n if (shadowRoot && shadowRoot.host) {\n // $FlowFixMe\n return shadowRoot.host;\n }\n}\n\nexport function insertShadowSlot(element: HTMLElement): HTMLElement {\n const shadowHost = getShadowHost(element);\n\n if (!shadowHost) {\n throw new Error(`Element is not in shadow dom`);\n }\n\n const slotName = `shadow-slot-${uniqueID()}`;\n const slot = document.createElement(\"slot\");\n slot.setAttribute(\"name\", slotName);\n element.appendChild(slot);\n\n const slotProvider = document.createElement(\"div\");\n slotProvider.setAttribute(\"slot\", slotName);\n shadowHost.appendChild(slotProvider);\n\n if (isShadowElement(shadowHost)) {\n return insertShadowSlot(slotProvider);\n }\n\n return slotProvider;\n}\n\nexport function preventClickFocus(el: HTMLElement) {\n const onFocus = (event: Event) => {\n el.removeEventListener(\"focus\", onFocus);\n event.preventDefault();\n el.blur();\n return false;\n };\n\n el.addEventListener(\"mousedown\", () => {\n el.addEventListener(\"focus\", onFocus);\n setTimeout(() => {\n el.removeEventListener(\"focus\", onFocus);\n }, 1);\n });\n}\n\nexport function getStackTrace(): string {\n try {\n throw new Error(\"_\");\n } catch (err) {\n return err.stack || \"\";\n }\n}\n\nfunction inferCurrentScript(): ?HTMLScriptElement {\n try {\n const stack = getStackTrace();\n const stackDetails = /.*at [^(]*\\((.*):(.+):(.+)\\)$/gi.exec(stack);\n const scriptLocation = stackDetails && stackDetails[1];\n\n if (!scriptLocation) {\n return;\n }\n\n // $FlowFixMe[method-unbinding]\n for (const script of Array.prototype.slice\n .call(document.getElementsByTagName(\"script\"))\n .reverse()) {\n if (script.src && script.src === scriptLocation) {\n return script;\n }\n }\n } catch (err) {\n // pass\n }\n}\n\nlet currentScript =\n // eslint-disable-next-line compat/compat\n typeof document !== \"undefined\" ? document.currentScript : null;\n\ntype GetCurrentScript = () => HTMLScriptElement;\n\nexport const getCurrentScript: GetCurrentScript = memoize(() => {\n if (currentScript) {\n return currentScript;\n }\n\n currentScript = inferCurrentScript();\n\n if (currentScript) {\n return currentScript;\n }\n\n throw new Error(\"Can not determine current script\");\n});\n\nconst currentUID = uniqueID();\n\ntype GetCurrentScriptUID = () => string;\n\nexport const getCurrentScriptUID: GetCurrentScriptUID = memoize(() => {\n let script;\n\n try {\n script = getCurrentScript();\n } catch (err) {\n return currentUID;\n }\n\n let uid = script.getAttribute(ATTRIBUTES.UID);\n\n if (uid && typeof uid === \"string\") {\n return uid;\n }\n\n uid = script.getAttribute(`${ATTRIBUTES.UID}-auto`);\n\n if (uid && typeof uid === \"string\") {\n return uid;\n }\n\n if (script.src) {\n const { src, dataset } = script;\n const stringToHash = JSON.stringify({ src, dataset });\n const hashedString = strHashStr(stringToHash);\n const hashResult = hashedString.slice(\n hashedString.length - UID_HASH_LENGTH\n );\n\n uid = `uid_${hashResult}`;\n } else {\n uid = uniqueID();\n }\n\n script.setAttribute(`${ATTRIBUTES.UID}-auto`, uid);\n\n return uid;\n});\n\ntype SubmitFormOptions = {|\n url: string,\n target: string,\n body?: {| [string]: string | boolean |},\n method?: string,\n|};\n\nexport function submitForm({\n url,\n target,\n body,\n method = \"post\",\n}: SubmitFormOptions) {\n const form = document.createElement(\"form\");\n form.setAttribute(\"target\", target);\n form.setAttribute(\"method\", method);\n form.setAttribute(\"action\", url);\n form.style.display = \"none\";\n\n if (body) {\n for (const key of Object.keys(body)) {\n const input = document.createElement(\"input\");\n input.setAttribute(\"name\", key);\n input.setAttribute(\"value\", body[key]?.toString());\n form.appendChild(input);\n }\n }\n\n getBody().appendChild(form);\n form.submit();\n getBody().removeChild(form);\n}\n","/* @flow */\n\nexport const KEY_CODES = {\n ENTER: 13,\n SPACE: 32,\n};\n\nexport const ATTRIBUTES = {\n UID: \"data-uid\",\n};\n\nexport const UID_HASH_LENGTH = 30;\n\n/* eslint-disable no-control-regex*/\nexport const invalidProtocolRegex: RegExp =\n /([^\\w]*)(javascript|data|vbscript)/im;\nexport const htmlEntitiesRegex: RegExp = /&#(\\w+)(^\\w|;)?/g;\nexport const htmlCtrlEntityRegex: RegExp = /&(newline|tab);/gi;\nexport const ctrlCharactersRegex: RegExp =\n /[\\u0000-\\u001F\\u007F-\\u009F\\u2000-\\u200D\\uFEFF]/gim;\nexport const urlSchemeRegex: RegExp = /^.+(:|:)/gim;\nexport const relativeFirstCharacters = [\".\", \"/\"];\nexport const BLANK_URL = \"about:blank\";\n/* eslint-enable no-control-regex*/\n","/* @flow */\n\nimport { ZalgoPromise } from \"@krakenjs/zalgo-promise/src\";\nimport { type SameDomainWindowType } from \"@krakenjs/cross-domain-utils/src\";\n\ntype RequestOptionsType = {|\n url: string,\n method?: string,\n headers?: { [key: string]: string },\n json?: $ReadOnlyArray<mixed> | Object,\n data?: { [key: string]: string },\n body?: string,\n win?: SameDomainWindowType,\n timeout?: number,\n|};\n\ntype ResponseType = {|\n status: number,\n headers: { [string]: string },\n body: Object,\n|};\n\nconst HEADERS = {\n CONTENT_TYPE: \"content-type\",\n ACCEPT: \"accept\",\n};\n\nconst headerBuilders = [];\n\nfunction parseHeaders(rawHeaders: string = \"\"): { [string]: string } {\n const result = {};\n for (const line of rawHeaders.trim().split(\"\\n\")) {\n const [key, ...values] = line.split(\":\");\n result[key.toLowerCase()] = values.join(\":\").trim();\n }\n return result;\n}\n\nexport function request({\n url,\n method = \"get\",\n headers = {},\n json,\n data,\n body,\n win = window,\n timeout = 0,\n}: RequestOptionsType): ZalgoPromise<ResponseType> {\n return new ZalgoPromise((resolve, reject) => {\n if ((json && data) || (json && body) || (data && json)) {\n throw new Error(\n `Only options.json or options.data or options.body should be passed`\n );\n }\n\n const normalizedHeaders = {};\n\n for (const key of Object.keys(headers)) {\n normalizedHeaders[key.toLowerCase()] = headers[key];\n }\n\n if (json) {\n normalizedHeaders[HEADERS.CONTENT_TYPE] =\n normalizedHeaders[HEADERS.CONTENT_TYPE] || \"application/json\";\n } else if (data || body) {\n normalizedHeaders[HEADERS.CONTENT_TYPE] =\n normalizedHeaders[HEADERS.CONTENT_TYPE] ||\n \"application/x-www-form-urlencoded; charset=utf-8\";\n }\n\n normalizedHeaders[HEADERS.ACCEPT] =\n normalizedHeaders[HEADERS.ACCEPT] || \"application/json\";\n\n for (const headerBuilder of headerBuilders) {\n const builtHeaders = headerBuilder();\n\n for (const key of Object.keys(builtHeaders)) {\n normalizedHeaders[key.toLowerCase()] = builtHeaders[key];\n }\n }\n\n const xhr = new win.XMLHttpRequest();\n\n xhr.addEventListener(\n \"load\",\n function xhrLoad(): void {\n const responseHeaders = parseHeaders(this.getAllResponseHeaders());\n\n if (!this.status) {\n return reject(\n new Error(\n `Request to ${method.toLowerCase()} ${url} failed: no response status code.`\n )\n );\n }\n\n const contentType = responseHeaders[\"content-type\"];\n const isJSON =\n contentType &&\n (contentType.indexOf(\"application/json\") === 0 ||\n contentType.indexOf(\"text/json\") === 0);\n let responseBody = this.responseText;\n\n try {\n responseBody = JSON.parse(responseBody);\n } catch (err) {\n if (isJSON) {\n return reject(new Error(`Invalid json: ${this.responseText}.`));\n }\n }\n\n const res = {\n status: this.status,\n headers: responseHeaders,\n body: responseBody,\n };\n\n return resolve(res);\n },\n false\n );\n\n xhr.addEventListener(\n \"error\",\n (evt) => {\n reject(\n new Error(\n `Request to ${method.toLowerCase()} ${url} failed: ${evt.toString()}.`\n )\n );\n },\n false\n );\n\n xhr.open(method, url, true);\n\n for (const key in normalizedHeaders) {\n if (normalizedHeaders.hasOwnProperty(key)) {\n xhr.setRequestHeader(key, normalizedHeaders[key]);\n }\n }\n\n if (json) {\n body = JSON.stringify(json);\n } else if (data) {\n body = Object.keys(data)\n .map((key) => {\n return `${encodeURIComponent(key)}=${\n data ? encodeURIComponent(data[key]) : \"\"\n }`;\n })\n .join(\"&\");\n }\n\n xhr.timeout = timeout;\n xhr.ontimeout = function xhrTimeout() {\n reject(\n new Error(`Request to ${method.toLowerCase()} ${url} has timed out`)\n );\n };\n\n xhr.send(body);\n });\n}\n\nexport function addHeaderBuilder(method: () => { [string]: string }) {\n headerBuilders.push(method);\n}\n","/* @flow */\n\nexport const LOGO = {\n PP: (\"pp\": \"pp\"),\n PPMONOCHROME: (\"ppmonochrome\": \"ppmonochrome\"),\n PAYPAL: (\"paypal\": \"paypal\"),\n CARD: (\"card\": \"card\"),\n BANK: (\"bank\": \"bank\"),\n VENMO: (\"venmo\": \"venmo\"),\n APPLEPAY: (\"applepay\": \"applepay\"),\n ITAU: (\"itau\": \"itau\"),\n CREDIT: (\"credit\": \"credit\"),\n IDEAL: (\"ideal\": \"ideal\"),\n ELV: (\"elv\": \"elv\"),\n SEPA: (\"sepa\": \"sepa\"),\n BANCONTACT: (\"bancontact\": \"bancontact\"),\n GIROPAY: (\"giropay\": \"giropay\"),\n SOFORT: (\"sofort\": \"sofort\"),\n EPS: (\"eps\": \"eps\"),\n MYBANK: (\"mybank\": \"mybank\"),\n P24: (\"p24\": \"p24\"),\n WECHATPAY: (\"wechatpay\": \"wechatpay\"),\n PAYU: (\"payu\": \"payu\"),\n BLIK: (\"blik\": \"blik\"),\n TRUSTLY: (\"trustly\": \"trustly\"),\n OXXO: (\"oxxo\": \"oxxo\"),\n BOLETO: (\"boleto\": \"boleto\"),\n BOLETOBANCARIO: (\"boletobancario\": \"boletobancario\"),\n MERCADOPAGO: (\"mercadopago\": \"mercadopago\"),\n MULTIBANCO: (\"multibanco\": \"multibanco\"),\n SATISPAY: (\"satispay\": \"satispay\"),\n PAIDY: (\"paidy\": \"paidy\"),\n PAYPAL_REBRAND: (\"paypal-rebrand\": \"paypal-rebrand\"),\n VENMO_REBRAND: (\"venmo-rebrand\": \"venmo-rebrand\"),\n PP_REBRAND: (\"pp-rebrand\": \"pp-rebrand\"),\n CARD_REBRAND: (\"card-rebrand\": \"card-rebrand\"),\n PAYPAL_CREDIT_REBRAND: (\"paypal-credit-rebrand\": \"paypal-credit-rebrand\"),\n};\n\nexport const BADGE = {\n PAYPAL_REBRAND: (\"paypal-rebrand-badge\": \"paypal-rebrand-badge\"),\n CREDIT_REBRAND: (\"credit-rebrand-badge\": \"credit-rebrand-badge\"),\n CREDIT_REBRAND_PP: (\"credit-rebrand-pp-badge\": \"credit-rebrand-pp-badge\"),\n};\n\nexport const MARK = {\n APPLEPAY: (\"applepay-mark\": \"applepay-mark\"),\n CREDIT: (\"credit-mark\": \"credit-mark\"),\n CREDIT_REBRAND: (\"credit-rebrand-mark\": \"credit-rebrand-mark\"),\n PAYPAL: (\"paypal-mark\": \"paypal-mark\"),\n PAYLATER_REBRAND: (\"paylater-rebrand-mark\": \"paylater-rebrand-mark\"),\n BANCONTACT_REBRAND: (\"bancontact-rebrand-mark\": \"bancontact-rebrand-mark\"),\n};\n\nexport const LOGO_COLOR = {\n BLUE: (\"blue\": \"blue\"),\n BLACK: (\"black\": \"black\"),\n WHITE: (\"white\": \"white\"),\n MONOCHROME: (\"monochrome\": \"monochrome\"),\n DEFAULT: (\"default\": \"default\"),\n};\n\nexport const LOGO_CLASS = {\n LOGO: (\"paypal-logo\": \"paypal-logo\"),\n CARD: (\"paypal-logo-card\": \"paypal-logo-card\"),\n LOGO_COLOR: (\"paypal-logo-color\": \"paypal-logo-color\"),\n};\n\nconst PACKAGE_VERSION = \"2.3.7\";\nexport const CDN_BASE_URL = `https://www.paypalobjects.com/js-sdk-logos/${PACKAGE_VERSION}`;\n","/* @flow */\n/** @jsx node */\n\nimport { svgToBase64, capitalizeFirstLetter } from \"@krakenjs/belter/src\";\nimport {\n node,\n html,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport { LOGO_CLASS, LOGO_COLOR } from \"../constants\";\n\ntype SVGProps = {|\n svg: ElementNode | null,\n cdnUrl?: string,\n [key: string]: mixed,\n|};\n\nexport function SVG(props: SVGProps): ElementNode {\n let { svg, cdnUrl, ...otherProps } = props;\n\n if (cdnUrl) {\n // $FlowFixMe\n const svgProps: SVGProps = { src: cdnUrl, ...otherProps };\n return <img {...svgProps} />;\n }\n\n if (!svg) {\n throw new TypeError(`Expected svg prop`);\n }\n\n svg = svg.render(html());\n\n if (typeof svg !== \"string\") {\n throw new TypeError(`Expected svg prop to be a string or jsx node`);\n }\n\n // $FlowFixMe\n const svgProps = {\n src: svgToBase64(svg),\n ...otherProps,\n };\n\n return <img {...svgProps} />;\n}\n\nexport type SVGLogoProps = {\n name: string,\n render?: () => ElementNode,\n logoColor?: $Values<typeof LOGO_COLOR>,\n cdnUrl?: string,\n};\n\nexport function SVGLogo({\n render,\n name,\n logoColor,\n ...props\n}: SVGLogoProps): ComponentNode<SVGLogoProps> {\n return (\n <SVG\n {...props}\n svg={render ? render() : null}\n alt=\"\"\n class={`${LOGO_CLASS.LOGO} ${LOGO_CLASS.LOGO}-${name} ${\n logoColor ? `${LOGO_CLASS.LOGO_COLOR}-${logoColor}` : \"\"\n }`}\n />\n );\n}\n\nexport type SVGCardLogoProps = {\n name: string,\n render?: () => ElementNode,\n cdnUrl?: string,\n};\n\nexport function SVGCardLogo({\n render,\n name,\n ...props\n}: SVGCardLogoProps): ComponentNode<SVGCardLogoProps> {\n return (\n <SVG\n {...props}\n svg={render ? render() : null}\n alt={capitalizeFirstLetter(name)}\n class={`${LOGO_CLASS.CARD} ${LOGO_CLASS.CARD}-${name}`}\n />\n );\n}\n","/* @flow */\n\nimport { CARD } from \"@paypal/sdk-constants/src\";\n\nimport { CDN_BASE_URL, LOGO, LOGO_COLOR, MARK, BADGE } from \"../constants\";\nimport type { LogoColorMap, LogoColors } from \"../types\";\n\nexport function getLogoColors(\n name: string,\n logoColorMap: LogoColorMap,\n logoColor?: ?$Values<typeof LOGO_COLOR>\n): LogoColors {\n let colors;\n\n if (logoColor) {\n colors = logoColorMap[logoColor];\n }\n\n if (!colors) {\n colors = logoColorMap[LOGO_COLOR.DEFAULT];\n }\n\n if (!colors) {\n throw new Error(\n `No ${logoColor || LOGO_COLOR.DEFAULT} logo available for ${name}`\n );\n }\n\n return colors;\n}\n\nexport function getSVGFilename(\n logoName:\n | $Values<typeof LOGO>\n | $Values<typeof CARD>\n | $Values<typeof MARK>\n | $Values<typeof BADGE>,\n logoColor?: $Values<typeof LOGO_COLOR>\n): string {\n if (logoColor) {\n return `${logoName}-${logoColor}.svg`;\n }\n\n return `${logoName}.svg`;\n}\n\nexport function getLogoCDNUrl(\n logoName:\n | $Values<typeof LOGO>\n | $Values<typeof CARD>\n | $Values<typeof MARK>\n | $Values<typeof BADGE>,\n logoColorMap?: LogoColorMap,\n logoColor?: $Values<typeof LOGO_COLOR>\n): string {\n if (logoColorMap && (!logoColor || !logoColorMap[logoColor])) {\n logoColor = LOGO_COLOR.DEFAULT;\n }\n\n const svgFilename = getSVGFilename(logoName, logoColor);\n\n return `${CDN_BASE_URL}/${svgFilename}`;\n}\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const APPLEPAY_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#ffffff\",\n secondary: \"#ffffff\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#ffffff\",\n secondary: \"#ffffff\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#000000\",\n secondary: \"#000000\",\n },\n};\n\nexport const getApplepaySVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"800\"\n width=\"1200\"\n viewBox=\"-76.79115 -52.55 665.5233 315.3\"\n >\n <path\n d=\"M93.541 27.1c-6 7.1-15.6 12.7-25.2 11.9-1.2-9.6 3.5-19.8 9-26.1 6-7.3 16.5-12.5 25-12.9 1 10-2.9 19.8-8.8 27.1m8.7 13.8c-13.9-.8-25.8 7.9-32.4 7.9-6.7 0-16.8-7.5-27.8-7.3-14.3.2-27.6 8.3-34.9 21.2-15 25.8-3.9 64 10.6 85 7.1 10.4 15.6 21.8 26.8 21.4 10.6-.4 14.8-6.9 27.6-6.9 12.9 0 16.6 6.9 27.8 6.7 11.6-.2 18.9-10.4 26-20.8 8.1-11.8 11.4-23.3 11.6-23.9-.2-.2-22.4-8.7-22.6-34.3-.2-21.4 17.5-31.6 18.3-32.2-10-14.8-25.6-16.4-31-16.8m80.3-29v155.9h24.2v-53.3h33.5c30.6 0 52.1-21 52.1-51.4s-21.1-51.2-51.3-51.2zm24.2 20.4h27.9c21 0 33 11.2 33 30.9s-12 31-33.1 31h-27.8zm129.8 136.7c15.2 0 29.3-7.7 35.7-19.9h.5v18.7h22.4V90.2c0-22.5-18-37-45.7-37-25.7 0-44.7 14.7-45.4 34.9h21.8c1.8-9.6 10.7-15.9 22.9-15.9 14.8 0 23.1 6.9 23.1 19.6v8.6l-30.2 1.8c-28.1 1.7-43.3 13.2-43.3 33.2 0 20.2 15.7 33.6 38.2 33.6zm6.5-18.5c-12.9 0-21.1-6.2-21.1-15.7 0-9.8 7.9-15.5 23-16.4l26.9-1.7v8.8c0 14.6-12.4 25-28.8 25zm82 59.7c23.6 0 34.7-9 44.4-36.3l42.5-119.2h-24.6l-28.5 92.1h-.5l-28.5-92.1h-25.3l41 113.5-2.2 6.9c-3.7 11.7-9.7 16.2-20.4 16.2-1.9 0-5.6-.2-7.1-.4v18.7c1.4.4 7.4.6 9.2.6z\"\n fill={primary}\n />\n </svg>\n );\n};\n\nexport function ApplePayLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.APPLEPAY, APPLEPAY_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.APPLEPAY}\n logoColor={logoColor}\n alt=\"Apple Pay\"\n aria-label=\"Apple Pay\"\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function ApplePayLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getApplepaySVG(\n getLogoColors(LOGO.APPLEPAY, APPLEPAY_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.APPLEPAY}\n logoColor={logoColor}\n alt=\"Apple Pay\"\n aria-label=\"Apple Pay\"\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const ApplePayLogo = ApplePayLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const BANCONTACT_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n tertiary: \"#FFFFFF\",\n quaternary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n tertiary: \"#FFFFFF\",\n quaternary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#1E3764\",\n secondary: \"#005AB9\",\n tertiary: \"#FBA900\",\n quaternary: \"#FFD800\",\n },\n};\n\nexport const getBancontactSVG = ({\n primary,\n secondary,\n tertiary,\n quaternary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"155\"\n height=\"17\"\n viewBox=\"0 0 155 17\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M49.3635 15.782V0.594238H54.0604C57.4744 0.594238 59.6706 1.87434 59.6706 4.52136C59.6706 6.01845 58.9748 7.0599 57.9962 7.66738C59.4096 8.31822 60.2359 9.57664 60.2359 11.2907C60.2359 14.35 57.9962 15.782 54.5171 15.782L49.3635 15.782ZM52.3861 6.90794H54.6258C55.9957 6.90794 56.5828 6.23532 56.5828 4.99868C56.5828 3.67511 55.5173 3.24126 54.0821 3.24126H52.3861V6.90794ZM52.3861 13.1349H54.2561C56.0827 13.1349 57.1482 12.6793 57.1482 11.2474C57.1482 9.83709 56.2349 9.25127 54.5171 9.25127H52.3861V13.1349ZM66.0974 16.0423C63.1183 16.0423 61.6179 14.5887 61.6179 12.6359C61.6179 10.4879 63.3793 9.22949 65.9887 9.20782C66.6371 9.21963 67.2838 9.27766 67.9239 9.38144V8.86067C67.9239 7.53721 67.1629 6.90794 65.706 6.90794C64.7245 6.89568 63.7499 7.0725 62.8356 7.42872L62.292 5.08549C63.227 4.69488 64.7274 4.43455 66.0539 4.43455C69.2504 4.43455 70.8377 6.12694 70.8377 9.05597V15.0877C69.9462 15.5433 68.2718 16.0423 66.0974 16.0423V16.0423ZM67.9239 13.5906V11.269C67.417 11.1566 66.8994 11.0983 66.3801 11.0954C65.3798 11.0954 64.597 11.486 64.597 12.5058C64.597 13.4171 65.2493 13.8944 66.4018 13.8944C66.9259 13.9114 67.4468 13.8075 67.9239 13.5906V13.5906ZM72.9504 15.782V5.38918C74.513 4.76291 76.1808 4.43894 77.8647 4.43455C81.0394 4.43455 82.866 5.99667 82.866 8.88235V15.782H79.8652V9.09933C79.8652 7.60224 79.1694 6.90794 77.843 6.90794C77.1843 6.89873 76.5315 7.03199 75.9294 7.29855V15.782H72.9504ZM93.3527 5.08551L92.7873 7.4504C92.0106 7.11456 91.1765 6.93042 90.3302 6.90794C88.5689 6.90794 87.6121 8.1447 87.6121 10.1842C87.6121 12.419 88.6123 13.5689 90.4824 13.5689C91.317 13.5461 92.1382 13.3542 92.8961 13.0048L93.3744 15.4131C92.3898 15.8503 91.3206 16.0652 90.2432 16.0423C86.6336 16.0423 84.5461 13.8076 84.5461 10.2709C84.5461 6.7561 86.6118 4.43455 90.0693 4.43455C91.1965 4.42902 92.3132 4.65042 93.3527 5.0855L93.3527 5.08551ZM99.8354 16.0423C96.4867 16.0423 94.3992 13.7208 94.3992 10.2276C94.3992 6.75611 96.4867 4.43456 99.8354 4.43456C103.206 4.43456 105.25 6.75611 105.25 10.2276C105.25 13.7207 103.206 16.0423 99.8354 16.0423L99.8354 16.0423ZM99.8354 13.5689C101.379 13.5689 102.184 12.2888 102.184 10.2276C102.184 8.18806 101.379 6.90795 99.8354 6.90795C98.3133 6.90795 97.4652 8.18806 97.4652 10.2276C97.4652 12.2888 98.3132 13.5689 99.8354 13.5689L99.8354 13.5689ZM106.986 15.782V5.38918C108.549 4.76291 110.217 4.43894 111.901 4.43455C115.075 4.43455 116.902 5.99667 116.902 8.88235V15.782H113.901V9.09933C113.901 7.60224 113.205 6.90794 111.879 6.90794C111.22 6.89873 110.567 7.03199 109.965 7.29855V15.782H106.986ZM123.669 16.0423C121.082 16.0423 119.755 14.632 119.755 11.768V7.08157H118.277V4.69489H119.755V2.28652L122.756 2.13468V4.69489H125.17V7.08157H122.756V11.7247C122.756 12.9831 123.278 13.5689 124.257 13.5689C124.644 13.5679 125.031 13.5243 125.409 13.4387L125.561 15.8471C124.94 15.9843 124.305 16.0498 123.669 16.0423V16.0423ZM131.244 16.0423C128.265 16.0423 126.764 14.5887 126.764 12.636C126.764 10.4879 128.526 9.2295 131.135 9.20783C131.783 9.21965 132.43 9.27767 133.07 9.38146V8.86068C133.07 7.53722 132.309 6.90795 130.852 6.90795C129.871 6.89569 128.896 7.07252 127.982 7.42873L127.438 5.08551C128.373 4.6949 129.874 4.43456 131.2 4.43456C134.397 4.43456 135.984 6.12695 135.984 9.05598V15.0877C135.092 15.5433 133.418 16.0423 131.244 16.0423V16.0423ZM133.07 13.5906V11.269C132.563 11.1565 132.046 11.0983 131.526 11.0954C130.526 11.0954 129.743 11.486 129.743 12.5058C129.743 13.4171 130.396 13.8944 131.548 13.8944C132.072 13.9114 132.593 13.8075 133.07 13.5906V13.5906ZM146.251 5.08551L145.685 7.45041C144.909 7.11458 144.074 6.93043 143.228 6.90795C141.467 6.90795 140.51 8.14471 140.51 10.1842C140.51 12.419 141.51 13.5689 143.38 13.5689C144.215 13.5461 145.036 13.3542 145.794 13.0048L146.272 15.4132C145.288 15.8503 144.219 16.0652 143.141 16.0423C139.532 16.0423 137.444 13.8076 137.444 10.271C137.444 6.75611 139.51 4.43456 142.967 4.43456C144.094 4.42902 145.211 4.65041 146.251 5.0855V5.08551ZM152.848 16.0423C150.261 16.0423 148.934 14.632 148.934 11.768V7.08157H147.456V4.69489H148.934V2.28652L151.935 2.13468V4.69489H154.349V7.08157H151.935V11.7247C151.935 12.9831 152.457 13.5689 153.435 13.5689C153.823 13.5679 154.21 13.5243 154.588 13.4387L154.74 15.8471C154.119 15.9843 153.484 16.0498 152.848 16.0423V16.0423Z\"\n fill={primary}\n />\n <path\n d=\"M8.13508 15.7818C13.8431 15.7818 16.6971 11.9849 19.551 8.18799H0.61084V15.7818H8.13508Z\"\n fill=\"url(#paint0_linear_25_23)\"\n />\n <path\n d=\"M30.9667 0.594238C25.2588 0.594238 22.4048 4.39117 19.5508 8.18809H38.491V0.594238H30.9667Z\"\n fill=\"url(#paint1_linear_25_23)\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_25_23\"\n x1=\"4.44184\"\n y1=\"12.3355\"\n x2=\"18.29\"\n y2=\"7.18051\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color={secondary} />\n <stop offset=\"1\" stop-color={primary} />\n </linearGradient>\n <linearGradient\n id=\"paint1_linear_25_23\"\n x1=\"20.6976\"\n y1=\"8.84673\"\n x2=\"35.4025\"\n y2=\"3.81864\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color={tertiary} />\n <stop offset=\"1\" stop-color={quaternary} />\n </linearGradient>\n </defs>\n </svg>\n );\n};\n\nexport function BancontactLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.BANCONTACT,\n BANCONTACT_LOGO_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.BANCONTACT}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function BancontactLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getBancontactSVG(\n getLogoColors(LOGO.BANCONTACT, BANCONTACT_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.BANCONTACT}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const BancontactLogo = BancontactLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport type { LogoColors, LogoColorMap } from \"../../../types\";\nimport {\n getLogoCDNUrl,\n SVGCardLogo,\n type SVGCardLogoProps,\n getLogoColors,\n} from \"../../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../../constants\";\n\nexport const GLYPH_CARD_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#333030\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#ffffff\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#333030\",\n },\n};\n\nexport const getGlyphCardSVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"24px\"\n height=\"18px\"\n viewBox=\"0 0 24 18\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g\n transform=\"translate(-3.000000, -6.000000)\"\n fill={primary}\n fill-rule=\"nonzero\"\n >\n <path\n d=\"M8.27521338,12.5122653 C7.93003542,12.5122653 7.65021338,12.2324432 7.65021338,11.8872653 C7.65021338,11.5420873 7.93003542,11.2622653 8.27521338,11.2622653 L24.7879042,11.2622653 C25.5955939,11.2622653 26.25,11.9175905 26.25,12.7255368 L26.25,22.2867284 C26.25,23.0946748 25.5955939,23.75 24.7879042,23.75 L5.21231302,23.75 C4.40462325,23.75 3.75,23.0946748 3.75,22.2867397 L3.75,7.71327152 C3.75,6.90532518 4.40440608,6.25 5.21227212,6.25 L24.7880664,6.25552163 C25.5956079,6.25573147 26.25,6.91099507 26.25,7.71870362 L26.25,9.23577161 C26.25,9.58094958 25.9702675,9.86081168 25.6250895,9.86086112 C25.2799115,9.86091055 25.0000494,9.5811286 25,9.23595063 L24.9997827,7.71879313 C24.9997827,7.60083189 24.9046611,7.50555197 24.7877278,7.50552158 L5.21209583,7.49999998 C5.09515506,7.49999998 5,7.59528868 5,7.71326028 L5.00021718,22.2867284 C5.00021718,22.4047113 5.09537223,22.5 5.21231302,22.5 L24.7879042,22.5 C24.904845,22.5 25,22.4047113 25,22.2867284 L25,12.7255368 C25,12.607554 24.9048449,12.5122653 24.7879042,12.5122653 L8.27521338,12.5122653 Z\"\n id=\"Stroke-1\"\n />\n </g>\n </g>\n </svg>\n );\n};\n\nexport function GlyphCardExternalImage({\n logoColor,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n} = {}): ComponentNode<SVGCardLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.CARD, GLYPH_CARD_LOGO_COLORS, logoColor);\n\n return <SVGCardLogo {...props} name=\"\" cdnUrl={cdnUrl} />;\n}\n\nexport function GlyphCardInlineSVG({\n logoColor,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n} = {}): ComponentNode<SVGCardLogoProps> {\n const svg = getGlyphCardSVG(\n getLogoColors(LOGO.CARD, GLYPH_CARD_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGCardLogo\n {...props}\n name=\"\"\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const GlyphCard = GlyphCardInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../../types\";\n\nexport const GLYPH_CARD_REBRAND_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#000000\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#000000\",\n },\n};\n\nexport const getGlyphCardRebrandSVG = ({\n primary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"34\"\n height=\"22.37\"\n viewBox=\"0 5.81 34 22.37\"\n fill=\"none\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M30.0667 8.24H3.93333C2.98291 8.24 2.21244 9.02798 2.21244 10V24C2.21244 24.972 2.98291 25.76 3.93333 25.76H30.0667C31.0171 25.76 31.7876 24.972 31.7876 24V10C31.7876 9.02798 31.0171 8.24 30.0667 8.24ZM3.93333 7C2.3133 7 1 8.34315 1 10V24C1 25.6569 2.3133 27 3.93333 27H30.0667C31.6867 27 33 25.6569 33 24V10C33 8.34315 31.6867 7 30.0667 7H3.93333Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M32.9745 13.0606H1V11.8206H32.9745V13.0606Z\"\n fill={primary}\n />\n </svg>\n );\n};\n\nexport function GlyphCardRebrandExternalImage({\n logoColor,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n} = {}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.CARD_REBRAND,\n GLYPH_CARD_REBRAND_LOGO_COLORS,\n logoColor\n );\n\n return <SVGLogo {...props} name={LOGO.CARD_REBRAND} cdnUrl={cdnUrl} />;\n}\n\nexport function GlyphCardRebrandInlineSVG({\n logoColor,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n} = {}): ComponentNode<SVGLogoProps> {\n const svg = getGlyphCardRebrandSVG(\n getLogoColors(LOGO.CARD_REBRAND, GLYPH_CARD_REBRAND_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.CARD_REBRAND}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const GlyphCardRebrand = GlyphCardRebrandInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport { COUNTRY, type LocaleType } from \"@paypal/sdk-constants/src\";\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const CREDIT_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#003087\",\n },\n [LOGO_COLOR.BLUE]: {\n primary: \"#003087\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#ffffff\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#333030\",\n },\n};\n\nexport const getCreditSVG = ({ country, primary }: LogoColors): ElementNode => {\n switch (country) {\n case COUNTRY.DE:\n return (\n <svg\n width=\"135\"\n height=\"32\"\n viewBox=\"0 0 135 32\"\n preserveAspectRatio=\"xMinYMin meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g transform=\"matrix(1.3333333,0,0,-1.3333333,10,40)\" fill={primary}>\n <g transform=\"matrix(0.17016911,0,0,0.17819595,39.327112,22.053803)\">\n <path d=\"m 0,0 -1.35,-8.619 c -0.146,-0.929 -0.946,-1.613 -1.886,-1.613 h -40.935 c -0.922,0 -1.445,1.057 -0.884,1.79 l 29.853,39.007 h -19.237 c -0.683,0 -1.205,0.611 -1.099,1.286 l 1.35,8.619 c 0.145,0.929 0.945,1.613 1.885,1.613 H 7.112 c 0.922,0 1.444,-1.055 0.886,-1.788 L -21.724,1.286 H -1.1 C -0.416,1.286 0.106,0.675 0,0 m 203.3312,42.0833 c 0.684,0 1.206,-0.611 1.1,-1.287 l -4.446,-28.132 c -1.041,-6.73 -2.359,-13.391 -8.395,-18.456 -5.065,-4.302 -12.143,-5.828 -18.248,-5.828 -6.106,0 -12.767,1.526 -16.444,5.828 -4.371,5.065 -3.608,11.726 -2.567,18.456 l 4.394,27.808 c 0.146,0.928 0.946,1.611 1.885,1.611 h 10.668 c 0.683,0 1.205,-0.61 1.1,-1.285 l -4.101,-26.261 c -1.11,-6.799 -1.804,-14.223 6.938,-14.223 8.743,0 10.408,7.424 11.518,14.223 l 4.05,25.932 c 0.145,0.929 0.945,1.614 1.885,1.614 z m -361.2517,-52.3157 h -10.665 c -0.685,0 -1.207,0.611 -1.1,1.287 l 6.249,39.511 h -9.939 c -0.684,0 -1.206,0.61 -1.1,1.285 l 1.35,8.619 c 0.146,0.929 0.946,1.614 1.886,1.614 h 33.145 c 0.684,0 1.206,-0.611 1.1,-1.286 l -1.35,-8.619 c -0.145,-0.929 -0.945,-1.613 -1.885,-1.613 h -9.608 l -6.198,-39.188 c -0.147,-0.927 -0.946,-1.61 -1.885,-1.61 m -98.5277,28.8638 h 1.318 c 4.441,0 9.549,0.837 10.477,6.522 0.929,5.688 -2.034,6.505 -6.779,6.522 h -1.927 c -0.58,0 -1.075,-0.422 -1.166,-0.995 z m 23.345,-28.864 h -13.977 c -0.594,0 -1.136,0.341 -1.393,0.878 l -9.224,19.244 h -0.139 l -2.985,-18.819 c -0.119,-0.75 -0.766,-1.303 -1.526,-1.303 h -10.977 c -0.684,0 -1.206,0.611 -1.1,1.287 l 7.848,49.725 c 0.119,0.751 0.766,1.304 1.526,1.304 h 19.009 c 10.339,0 17.416,-4.926 15.681,-16.097 -1.179,-7.216 -6.175,-13.461 -13.807,-14.779 l 12.015,-19.748 c 0.451,-0.742 -0.083,-1.692 -0.951,-1.692 m 445.918,52.3159 h 11.349 c 0.385,0 0.743,-0.199 0.946,-0.526 l 19.517,-31.46 h 0.139 l 4.81,30.376 c 0.147,0.927 0.946,1.61 1.885,1.61 h 10.667 c 0.684,0 1.206,-0.611 1.099,-1.287 l -7.799,-49.418 c -0.147,-0.927 -0.946,-1.611 -1.886,-1.611 h -11.347 c -0.386,0 -0.744,0.2 -0.947,0.528 l -19.517,31.528 h -0.139 l -4.811,-30.445 c -0.146,-0.928 -0.946,-1.611 -1.885,-1.611 h -10.666 c -0.684,0 -1.206,0.611 -1.1,1.287 l 7.8,49.418 c 0.146,0.928 0.946,1.611 1.885,1.611 m -304.5422,0 h 11.349 c 0.385,0 0.743,-0.199 0.946,-0.526 l 19.517,-31.46 h 0.139 l 4.81,30.376 c 0.147,0.927 0.946,1.61 1.885,1.61 h 10.667 c 0.684,0 1.206,-0.611 1.099,-1.287 l -7.799,-49.418 c -0.147,-0.927 -0.946,-1.611 -1.886,-1.611 h -11.347 c -0.386,0 -0.744,0.2 -0.947,0.528 l -19.517,31.528 h -0.139 l -4.811,-30.445 c -0.146,-0.928 -0.946,-1.611 -1.885,-1.611 h -10.666 c -0.684,0 -1.206,0.611 -1.1,1.287 l 7.8,49.418 c 0.146,0.928 0.946,1.611 1.885,1.611 M 131.156,1.2855 h 15.004 c 0.684,0 1.206,-0.61 1.1,-1.286 l -1.35,-8.619 c -0.145,-0.928 -0.945,-1.613 -1.885,-1.613 h -26.969 c -0.685,0 -1.207,0.611 -1.1,1.287 l 7.799,49.418 c 0.147,0.927 0.946,1.611 1.885,1.611 h 10.666 c 0.684,0 1.206,-0.612 1.099,-1.287 z m -33.5321,20.607 2.937,18.58 c 0.147,0.928 0.946,1.611 1.885,1.611 h 10.666 c 0.684,0 1.206,-0.611 1.1,-1.287 l -7.8,-49.418 c -0.146,-0.927 -0.946,-1.611 -1.885,-1.611 h -10.664 c -0.685,0 -1.207,0.612 -1.1,1.288 l 3.196,20.152 h -19.636 l -3.145,-19.83 c -0.147,-0.927 -0.946,-1.61 -1.885,-1.61 h -10.666 c -0.685,0 -1.207,0.611 -1.1,1.287 l 7.799,49.418 c 0.147,0.928 0.946,1.611 1.885,1.611 h 10.666 c 0.684,0 1.206,-0.611 1.099,-1.287 l -2.988,-18.904 z m 221.8207,-2.9142 c 0.699,0 1.224,-0.638 1.094,-1.325 -1.342,-7.069 -3.07,-13.21 -8.427,-19.351 -6.245,-7.147 -14.432,-10.269 -23.175,-10.269 -16.444,0 -26.088,11.171 -23.521,27.615 2.706,16.999 15.958,28.17 32.819,28.17 10.373,0 17.776,-4.519 20.966,-13.617 0.198,-0.566 -0.087,-1.189 -0.644,-1.409 l -11.599,-4.569 c -0.598,-0.236 -1.275,0.081 -1.466,0.694 -1.354,4.349 -4.637,7.175 -9.686,7.175 -8.95,0 -14.987,-8.535 -16.236,-16.514 -1.318,-8.118 2.29,-16.374 11.24,-16.374 5.898,0 10.894,3.053 12.351,9.089 h -9.793 c -0.686,0 -1.209,0.614 -1.099,1.292 l 1.373,8.458 c 0.088,0.539 0.553,0.935 1.099,0.935 z m -438.1464,9.9777 -1.132,-7.133 h 14.032 c 0.684,0 1.206,-0.61 1.1,-1.285 l -1.35,-8.619 c -0.145,-0.929 -0.945,-1.613 -1.885,-1.613 h -12.076 c -0.937,0 -1.735,-0.68 -1.884,-1.605 l -1.198,-7.415 h 14.865 c 0.684,0 1.206,-0.611 1.1,-1.286 l -1.35,-8.619 c -0.145,-0.929 -0.945,-1.613 -1.885,-1.613 h -26.831 c -0.684,0 -1.206,0.611 -1.099,1.286 l 7.799,49.418 c 0.146,0.928 0.946,1.611 1.885,1.611 h 26.834 c 0.683,0 1.206,-0.61 1.1,-1.285 l -1.35,-8.619 c -0.146,-0.929 -0.946,-1.614 -1.886,-1.614 h -12.904 c -0.939,0 -1.738,-0.682 -1.885,-1.609 M 34.135,25.9168 H 33.996 L 25.739,9.2648 h 11.31 z m -13.807,-27.06 -4.747,-8.518 c -0.197,-0.353 -0.569,-0.571 -0.973,-0.571 H 2.701 c -0.844,0 -1.381,0.902 -0.979,1.644 l 27.171,50.089 c 0.194,0.359 0.57,0.583 0.978,0.583 h 13.29 c 0.523,0 0.976,-0.365 1.088,-0.876 L 55.21,-8.8812 c 0.152,-0.694 -0.377,-1.351 -1.088,-1.351 H 41.905 c -0.525,0 -0.979,0.367 -1.089,0.88 l -1.755,8.209 z m -216.5493,27.06 h -0.139 l -8.257,-16.652 h 11.31 z m -13.807,-27.06 -4.747,-8.518 c -0.197,-0.353 -0.569,-0.571 -0.973,-0.571 h -11.907 c -0.844,0 -1.381,0.902 -0.979,1.644 l 27.171,50.089 c 0.194,0.359 0.57,0.583 0.978,0.583 h 13.29 c 0.523,0 0.976,-0.365 1.088,-0.876 l 10.961,-50.089 c 0.152,-0.694 -0.377,-1.351 -1.088,-1.351 h -12.217 c -0.525,0 -0.979,0.367 -1.089,0.88 l -1.755,8.209 z m 517.9793,-39.4791 -6.146,-39.098 c -0.119,-0.757 0.467,-1.442 1.233,-1.442 h 6.181 c 1.024,0 1.896,0.745 2.055,1.756 l 6.06,38.396 c 0.119,0.757 -0.466,1.442 -1.233,1.442 h -6.917 c -0.614,0 -1.138,-0.447 -1.233,-1.054 m -77.0618,-12.7966 h -7.207 c -0.689,0 -1.334,-0.342 -1.721,-0.912 l -9.942,-14.642 -4.213,14.07 c -0.263,0.88 -1.073,1.484 -1.993,1.484 h -7.084 c -0.856,0 -1.457,-0.842 -1.182,-1.651 l 7.936,-23.294 -7.464,-10.531 c -0.586,-0.827 0.005,-1.97 1.018,-1.97 h 7.2 c 0.683,0 1.322,0.334 1.71,0.895 l 23.968,34.591 c 0.574,0.828 -0.019,1.96 -1.026,1.96 m 58.6183,-13.956 c -0.693,-4.097 -3.945,-6.847 -8.093,-6.847 -2.08,0 -3.744,0.669 -4.815,1.935 -1.06,1.256 -1.46,3.045 -1.123,5.037 0.645,4.06 3.95,6.899 8.035,6.899 2.036,0 3.689,-0.675 4.78,-1.954 1.099,-1.287 1.53,-3.088 1.216,-5.07 m 9.992,13.956 h -7.169 c -0.615,0 -1.138,-0.447 -1.234,-1.054 l -0.315,-2.004 -0.501,0.726 c -1.553,2.254 -5.014,3.007 -8.469,3.007 -7.922,0 -14.689,-6.003 -16.006,-14.422 -0.685,-4.201 0.288,-8.215 2.669,-11.016 2.189,-2.574 5.311,-3.646 9.031,-3.646 6.385,0 9.927,4.102 9.927,4.102 l -0.321,-1.993 c -0.12,-0.758 0.466,-1.443 1.233,-1.443 h 6.457 c 1.024,0 1.896,0.744 2.055,1.756 l 3.876,24.545 c 0.12,0.757 -0.466,1.442 -1.233,1.442 m -116.7913,-13.956 c -0.693,-4.097 -3.945,-6.847 -8.093,-6.847 -2.08,0 -3.744,0.669 -4.815,1.935 -1.06,1.256 -1.46,3.045 -1.123,5.037 0.645,4.06 3.95,6.899 8.035,6.899 2.036,0 3.689,-0.675 4.78,-1.954 1.099,-1.287 1.531,-3.088 1.216,-5.07 m 9.992,13.956 h -7.169 c -0.615,0 -1.138,-0.447 -1.233,-1.054 l -0.316,-2.004 -0.501,0.726 c -1.553,2.254 -5.014,3.007 -8.469,3.007 -7.921,0 -14.689,-6.003 -16.006,-14.422 -0.685,-4.201 0.288,-8.215 2.669,-11.016 2.189,-2.574 5.311,-3.646 9.031,-3.646 6.385,0 9.927,4.102 9.927,4.102 l -0.321,-1.993 c -0.12,-0.758 0.466,-1.443 1.233,-1.443 h 6.457 c 1.024,0 1.896,0.744 2.055,1.756 l 3.876,24.545 c 0.12,0.757 -0.466,1.442 -1.233,1.442 m -43.0269,-0.172 c -0.818,-5.375 -4.924,-5.375 -8.894,-5.375 h -2.259 l 1.585,10.035 c 0.096,0.607 0.618,1.054 1.233,1.054 h 1.035 c 2.703,0 5.256,0 6.572,-1.54 0.787,-0.922 1.026,-2.287 0.728,-4.174 m -1.728,14.023 h -14.974 c -1.024,0 -1.896,-0.745 -2.055,-1.756 l -6.055,-38.396 c -0.119,-0.757 0.466,-1.442 1.233,-1.442 h 7.149 c 1.024,0 1.896,0.745 2.055,1.756 l 1.634,10.358 c 0.16,1.012 1.031,1.757 2.055,1.757 h 4.739 c 9.863,0 15.555,4.773 17.043,14.233 0.669,4.138 0.027,7.389 -1.911,9.665 -2.129,2.502 -5.904,3.825 -10.913,3.825 m 108.5272,-14.023 c -0.818,-5.375 -4.923,-5.375 -8.894,-5.375 h -2.259 l 1.585,10.035 c 0.096,0.607 0.619,1.054 1.233,1.054 h 1.035 c 2.703,0 5.256,0 6.572,-1.54 0.787,-0.922 1.026,-2.287 0.728,-4.174 m -1.728,14.023 h -14.974 c -1.024,0 -1.896,-0.745 -2.055,-1.756 l -6.055,-38.396 c -0.119,-0.757 0.466,-1.442 1.233,-1.442 h 7.683 c 0.717,0 1.327,0.521 1.438,1.229 l 1.717,10.885 c 0.16,1.012 1.031,1.757 2.055,1.757 h 4.739 c 9.863,0 15.555,4.773 17.043,14.233 0.669,4.138 0.027,7.389 -1.911,9.665 -2.129,2.502 -5.903,3.825 -10.913,3.825 m -161.6161,-40.475 -4.55,18.557 h 3.561 l 3.442,-14.442 7.914,14.442 h 3.798 l -15.748,-27.656 h -3.758 z M 82.525,-65.6994 c -0.989,1.121 -2.328,1.681 -4.016,1.681 -1.319,0 -2.546,-0.356 -3.679,-1.068 -1.135,-0.712 -2.045,-1.701 -2.731,-2.967 -0.686,-1.267 -1.028,-2.691 -1.028,-4.274 0,-1.767 0.5,-3.205 1.503,-4.313 1.002,-1.107 2.242,-1.661 3.719,-1.661 1.346,0 2.612,0.369 3.799,1.108 1.187,0.738 2.136,1.746 2.848,3.026 0.713,1.28 1.069,2.672 1.069,4.175 0,1.74 -0.495,3.171 -1.484,4.293 m -8.527,12.206 -1.661,-10.604 c 0.791,0.976 1.806,1.761 3.047,2.354 1.239,0.594 2.65,0.891 4.233,0.891 1.529,0 2.908,-0.376 4.135,-1.128 1.226,-0.752 2.182,-1.787 2.868,-3.106 0.686,-1.319 1.029,-2.809 1.029,-4.472 0,-2.162 -0.515,-4.153 -1.543,-5.974 -1.029,-1.819 -2.388,-3.264 -4.075,-4.332 -1.689,-1.068 -3.469,-1.602 -5.342,-1.602 -1.635,0 -2.981,0.329 -4.036,0.988 -1.055,0.659 -1.912,1.623 -2.571,2.889 l -0.515,-3.205 h -3.403 l 4.313,27.301 z M 39.4576,-76.5416 c 0.976,-1.121 2.308,-1.681 3.996,-1.681 1.319,0 2.552,0.356 3.699,1.069 1.148,0.712 2.064,1.701 2.751,2.967 0.685,1.266 1.028,2.691 1.028,4.273 0,1.767 -0.501,3.198 -1.503,4.293 -1.003,1.095 -2.256,1.642 -3.759,1.642 -1.32,0 -2.572,-0.37 -3.759,-1.108 -1.187,-0.738 -2.136,-1.741 -2.849,-3.007 -0.712,-1.266 -1.068,-2.651 -1.068,-4.155 0,-1.741 0.488,-3.171 1.464,-4.293 m 9.892,-4.253 0.474,2.968 c -0.844,-1.108 -1.899,-1.986 -3.165,-2.631 -1.266,-0.647 -2.704,-0.969 -4.313,-0.969 -1.53,0 -2.902,0.369 -4.115,1.107 -1.214,0.738 -2.163,1.767 -2.848,3.086 -0.687,1.319 -1.029,2.823 -1.029,4.51 0,2.111 0.507,4.083 1.523,5.916 1.016,1.833 2.347,3.29 3.996,4.372 1.648,1.081 3.357,1.622 5.124,1.622 3.297,0 5.553,-1.279 6.766,-3.837 l 1.781,11.157 h 3.521 l -4.313,-27.301 z m -28.8284,15.3321 c -1.253,-1.094 -2.104,-2.421 -2.552,-3.976 h 11.474 c 0.026,0.21 0.04,0.501 0.04,0.87 0,1.478 -0.395,2.638 -1.187,3.482 -0.792,0.844 -1.913,1.266 -3.363,1.266 -1.688,0 -3.159,-0.548 -4.412,-1.642 m 10.406,2.454 c 1.306,-1.439 1.958,-3.305 1.958,-5.6 0,-0.764 -0.039,-1.397 -0.118,-1.899 -0.079,-0.501 -0.212,-1.095 -0.396,-1.78 h -14.877 c -0.079,-1.979 0.435,-3.502 1.543,-4.57 1.108,-1.068 2.612,-1.602 4.511,-1.602 1.319,0 2.519,0.164 3.601,0.494 1.081,0.33 2.149,0.824 3.205,1.484 l -0.476,-2.968 c -2.031,-1.371 -4.431,-2.057 -7.201,-2.057 -1.82,0 -3.396,0.39 -4.728,1.167 -1.332,0.777 -2.348,1.854 -3.046,3.225 -0.699,1.371 -1.049,2.914 -1.049,4.629 0,1.688 0.422,3.435 1.266,5.243 0.845,1.806 2.124,3.323 3.839,4.55 1.714,1.226 3.824,1.84 6.33,1.84 2.453,0 4.333,-0.719 5.638,-2.156 m -18.0138,-1.4448 c -1.556,0 -2.875,-0.561 -3.956,-1.681 -1.082,-1.122 -1.794,-2.751 -2.137,-4.888 l -1.543,-9.772 h -3.522 l 3.047,19.308 h 3.403 l -0.515,-3.283 c 1.583,2.268 3.483,3.402 5.698,3.402 0.554,0 1.068,-0.039 1.543,-0.119 l -0.475,-3.086 c -0.474,0.079 -0.989,0.119 -1.543,0.119 m -24.5657,-1.0092 c -1.253,-1.094 -2.104,-2.421 -2.552,-3.976 h 11.474 c 0.026,0.21 0.04,0.501 0.04,0.87 0,1.478 -0.396,2.638 -1.187,3.482 -0.792,0.844 -1.913,1.266 -3.363,1.266 -1.689,0 -3.159,-0.548 -4.412,-1.642 m 10.406,2.454 c 1.305,-1.439 1.958,-3.305 1.958,-5.6 0,-0.764 -0.039,-1.397 -0.118,-1.899 -0.079,-0.501 -0.212,-1.095 -0.396,-1.78 h -14.877 c -0.079,-1.979 0.435,-3.502 1.543,-4.57 1.108,-1.068 2.612,-1.602 4.511,-1.602 1.319,0 2.519,0.164 3.601,0.494 1.081,0.33 2.149,0.824 3.204,1.484 l -0.475,-2.968 c -2.031,-1.371 -4.431,-2.057 -7.201,-2.057 -1.82,0 -3.396,0.39 -4.728,1.167 -1.332,0.777 -2.348,1.854 -3.046,3.225 -0.699,1.371 -1.049,2.914 -1.049,4.629 0,1.688 0.422,3.435 1.266,5.243 0.844,1.806 2.124,3.323 3.838,4.55 1.715,1.226 3.824,1.84 6.331,1.84 2.453,0 4.333,-0.719 5.638,-2.156 m -24.4869,-17.7856 h -3.561 l -2.057,14.837 -6.766,-14.837 h -3.522 l -2.77,19.308 h 3.522 l 1.741,-15.193 6.805,15.193 h 3.324 l 2.017,-15.154 6.529,15.154 h 3.6 z M -59.063,-65.225 c -1.201,-0.778 -2.124,-1.807 -2.77,-3.086 -0.647,-1.28 -0.969,-2.619 -0.969,-4.017 0,-1.741 0.494,-3.171 1.484,-4.292 0.988,-1.122 2.261,-1.682 3.817,-1.682 1.53,0 2.889,0.402 4.076,1.207 1.187,0.805 2.11,1.852 2.769,3.146 0.659,1.292 0.99,2.637 0.99,4.035 0,1.715 -0.495,3.12 -1.484,4.215 -0.989,1.093 -2.262,1.641 -3.818,1.641 -1.53,0 -2.896,-0.389 -4.095,-1.167 M -50.28,-62 c 1.332,-0.766 2.368,-1.827 3.106,-3.185 0.738,-1.359 1.108,-2.896 1.108,-4.61 0,-1.952 -0.482,-3.825 -1.444,-5.618 -0.963,-1.794 -2.321,-3.251 -4.075,-4.372 -1.755,-1.122 -3.766,-1.682 -6.034,-1.682 -1.688,0 -3.199,0.383 -4.531,1.148 -1.331,0.764 -2.374,1.833 -3.125,3.205 -0.752,1.37 -1.128,2.914 -1.128,4.628 0,1.979 0.481,3.859 1.444,5.639 0.963,1.781 2.321,3.224 4.076,4.332 1.753,1.108 3.764,1.663 6.033,1.663 1.715,0 3.238,-0.383 4.57,-1.148 m -20.7559,4.1545 c -0.897,0.87 -2.255,1.305 -4.075,1.305 h -4.471 l -1.82,-11.513 h 4.668 c 2.401,0 4.175,0.639 5.322,1.919 1.148,1.279 1.721,2.894 1.721,4.847 0,1.424 -0.448,2.571 -1.345,3.442 m 3.027,2.373 c 1.464,-1.318 2.196,-3.112 2.196,-5.38 0,-3.113 -0.944,-5.599 -2.829,-7.459 -1.887,-1.859 -4.715,-2.789 -8.487,-2.789 h -4.748 l -1.543,-9.694 h -3.759 l 4.313,27.301 h 8.309 c 2.901,0 5.084,-0.66 6.548,-1.979\" />\n </g>\n </g>\n </svg>\n );\n default:\n return (\n <svg\n width=\"95\"\n height=\"32\"\n viewBox=\"0 0 95 32\"\n preserveAspectRatio=\"xMinYMin meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill={primary}\n d=\"M 52.732 3.83 C 52.83 3.446 53.122 3.158 53.512 3.158 L 60.626 3.158 C 66.571 3.158 70.664 7.67 69.69 13.334 C 68.813 18.998 63.16 23.414 57.313 23.414 L 50.004 23.414 C 49.711 23.414 49.516 23.222 49.614 22.934 L 52.732 3.83 Z M 55.753 18.998 L 57.02 18.998 C 60.236 18.998 63.355 17.27 64.037 13.334 C 64.622 9.686 62.478 7.67 58.97 7.67 L 57.995 7.67 C 57.8 7.67 57.605 7.766 57.605 7.958 L 55.753 18.998 Z\"\n />\n <path\n fill={primary}\n d=\"M 43.571 8.246 L 43.084 11.03 L 48.737 11.03 C 49.029 11.03 49.224 11.222 49.224 11.51 L 48.639 14.87 C 48.542 15.254 48.249 15.446 47.859 15.446 L 42.987 15.446 C 42.597 15.446 42.304 15.734 42.207 16.118 L 41.72 18.998 L 47.762 18.998 C 48.054 18.998 48.249 19.19 48.152 19.478 L 47.665 22.838 C 47.567 23.126 47.275 23.414 46.885 23.414 L 36.067 23.414 C 35.775 23.414 35.58 23.126 35.58 22.934 L 38.699 3.83 C 38.796 3.446 39.186 3.158 39.478 3.158 L 50.393 3.158 C 50.588 3.158 50.881 3.446 50.783 3.638 L 50.296 6.998 C 50.198 7.382 49.906 7.574 49.516 7.574 L 44.254 7.574 C 43.864 7.67 43.571 7.862 43.571 8.246 Z\"\n />\n <path\n fill={primary}\n d=\"M 74.563 23.414 L 70.274 23.414 C 69.982 23.414 69.787 23.222 69.787 22.934 L 73.003 3.83 C 73.003 3.446 73.393 3.158 73.685 3.158 L 78.071 3.158 C 78.266 3.158 78.558 3.446 78.461 3.734 L 75.342 22.838 C 75.245 23.126 74.952 23.414 74.563 23.414 Z\"\n />\n <path\n fill={primary}\n d=\"M 34.118 23.414 L 28.466 23.414 C 28.173 23.414 27.978 23.318 27.881 23.126 L 24.178 15.638 L 24.08 15.638 L 22.911 22.934 C 22.813 23.222 22.618 23.414 22.326 23.414 L 17.843 23.414 C 17.551 23.414 17.356 23.222 17.453 22.934 L 20.572 3.734 C 20.669 3.446 20.864 3.158 21.156 3.158 L 28.855 3.158 C 33.046 3.158 35.97 5.078 35.288 9.398 C 34.8 12.182 32.754 14.678 29.635 15.158 L 34.508 22.838 C 34.703 23.03 34.411 23.414 34.118 23.414 Z M 24.665 12.278 L 25.152 12.278 C 27.004 12.278 29.05 11.894 29.44 9.686 C 29.83 7.574 28.661 7.19 26.711 7.19 L 25.932 7.19 C 25.639 7.19 25.445 7.382 25.445 7.574 L 24.665 12.278 Z\"\n />\n <path\n fill={primary}\n d=\"M 86.16 23.414 L 81.872 23.414 C 81.579 23.414 81.384 23.222 81.482 22.934 L 83.918 7.67 L 79.923 7.67 C 79.63 7.67 79.435 7.382 79.533 7.094 L 80.02 3.83 C 80.118 3.446 80.41 3.158 80.8 3.158 L 94.249 3.158 C 94.444 3.158 94.736 3.446 94.639 3.734 L 94.054 6.998 C 94.054 7.382 93.761 7.67 93.372 7.67 L 89.473 7.67 L 86.939 22.838 C 86.939 23.126 86.647 23.414 86.16 23.414 Z\"\n />\n <path\n fill={primary}\n d=\"M 17.648 8.918 C 17.648 9.302 17.161 9.494 16.868 9.206 C 15.894 8.246 14.529 7.766 13.068 7.766 C 9.657 7.766 7.025 10.262 6.441 13.334 C 5.953 16.502 7.902 18.806 11.313 18.806 C 12.678 18.806 14.237 18.326 15.407 17.462 C 15.796 17.27 16.284 17.558 16.186 17.942 L 15.407 22.55 C 15.309 22.838 15.114 23.03 14.822 23.126 C 13.165 23.606 11.898 23.99 10.339 23.99 C 1.178 23.99 -0.284 16.502 0.203 13.334 C 1.47 4.406 9.072 2.39 13.652 2.678 C 15.114 2.678 16.479 2.87 17.745 3.35 C 18.233 3.542 18.428 3.926 18.33 4.406 L 17.648 8.918 Z\"\n />\n </svg>\n );\n }\n};\n\nexport function CreditLogoExternalImage({\n logoColor,\n locale,\n ...props\n}: {|\n logoColor?: $Values<typeof LOGO_COLOR>,\n locale: LocaleType,\n|}): ComponentNode<SVGLogoProps> {\n const { country } = locale;\n\n const cdnUrl = getLogoCDNUrl(\n LOGO.CREDIT,\n CREDIT_LOGO_COLORS,\n // $FlowFixMe\n country === COUNTRY.DE ? `${COUNTRY.DE}-${logoColor}` : logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.CREDIT}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function CreditLogoInlineSVG({\n logoColor,\n locale,\n ...props\n}: {|\n logoColor?: $Values<typeof LOGO_COLOR>,\n locale: LocaleType,\n|}): ComponentNode<SVGLogoProps> {\n const { country } = locale;\n\n // $FlowFixMe\n const svg = getCreditSVG({\n country,\n ...getLogoColors(LOGO.CREDIT, CREDIT_LOGO_COLORS, logoColor),\n });\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.CREDIT}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const CreditLogo = CreditLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const EPS_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#C8036F\",\n secondary: \"#71706F\",\n },\n};\n\nexport const getEpsSVG = ({ primary, secondary }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"74\"\n height=\"46\"\n viewBox=\"0 0 74 46\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M70.8255 42.7702C70.8255 43.2475 71.1362 43.5376 71.5829 43.5376C72.786 43.5376 73.1082 41.6788 71.9046 41.6788C71.334 41.6788 70.8255 42.1049 70.8255 42.7702ZM70.6616 44.378C70.6221 44.7627 70.9158 44.9183 71.4076 44.9183C71.837 44.9183 72.3004 44.677 72.4077 44.0632L72.4924 43.5843C72.2382 43.9424 71.7748 44.0838 71.4303 44.0838C70.7182 44.0838 70.2211 43.6573 70.2211 42.884C70.2211 41.7814 71.0345 41.1445 71.9554 41.1445C72.3455 41.1445 72.6958 41.3308 72.8201 41.6492L72.9162 41.2047H73.4812L72.9951 44.0763C72.8145 45.1394 72.029 45.4693 71.3115 45.4693C70.4526 45.4693 69.9782 45.0511 70.0966 44.378H70.6616Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M68.689 43.9934L68.9547 42.5008C69.0392 42.0175 68.8757 41.6974 68.3445 41.6974C67.8812 41.6974 67.4912 42.0723 67.4122 42.5328L67.158 43.9934H66.576L67.0676 41.2048H67.5986L67.5591 41.6123C67.8812 41.311 68.2144 41.1625 68.576 41.1625C69.254 41.1625 69.6949 41.637 69.5424 42.4955L69.2768 43.9934H68.689Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M64.0209 41.2047L63.7555 42.7064C63.6707 43.1841 63.8855 43.5141 64.3713 43.5141C64.829 43.5141 65.2188 43.1326 65.2978 42.6665L65.552 41.2047H66.134L65.6426 43.9934H65.1171L65.1566 43.5893C64.829 43.9019 64.5068 44.0493 64.1171 44.0493C63.4334 44.0493 63.0266 43.5562 63.1734 42.7095L63.439 41.2047H64.0209Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M62.184 41.8945C62.0032 41.6899 61.7716 41.6331 61.4948 41.6331C61.1104 41.6331 60.8393 41.7639 60.8393 42.0083C60.8393 42.2129 61.0595 42.2984 61.3874 42.3267C61.8959 42.3721 62.5456 42.5427 62.41 43.2646C62.314 43.7875 61.7942 44.0945 61.0709 44.0945C60.619 44.0945 60.1838 43.9922 59.8901 43.5772L60.2686 43.1623C60.4777 43.452 60.845 43.5716 61.1726 43.5772C61.4494 43.5772 61.7772 43.4749 61.8281 43.2135C61.8789 42.9633 61.6585 42.8668 61.2518 42.8268C60.7771 42.7813 60.2574 42.6053 60.2574 42.0766C60.2574 41.3773 61.0087 41.1329 61.5739 41.1329C62.0032 41.1329 62.3197 41.2295 62.5796 41.5082L62.184 41.8945Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M59.0873 40.4451C59.0873 40.644 59.2343 40.7467 59.3926 40.7467C59.6185 40.7467 59.8275 40.5986 59.8275 40.3203C59.8275 40.1325 59.6862 40.0244 59.5336 40.0244C59.3246 40.0244 59.0873 40.1611 59.0873 40.4451ZM59.6014 41.2048L59.11 43.9934H58.528L59.0195 41.2048H59.6014Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M57.5325 42.3586C57.5776 41.8778 57.2952 41.6822 56.8261 41.6822C56.4025 41.6822 56.0127 41.8778 55.843 42.3586H57.5325ZM55.7471 42.8395C55.7244 43.2241 56.0239 43.5382 56.5324 43.5382C56.815 43.5382 57.1877 43.427 57.3911 43.2338L57.7076 43.6017C57.363 43.9198 56.8544 44.0782 56.4251 44.0782C55.6228 44.0782 55.1538 43.5948 55.1538 42.8558C55.1538 41.8724 55.9222 41.1395 56.9053 41.1395C57.8037 41.1395 58.3122 41.6855 58.0071 42.8395H55.7471Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M52.994 41.2047L53.2877 43.4101L54.35 41.2047H54.9997L53.5421 43.9934H52.8584L52.5816 42.1537L52.1352 43.0676L51.6493 43.9934H50.9713L50.4797 41.2047H51.1352L51.4234 43.4101L52.4911 41.2047H52.994Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M48.6765 41.2048L48.6483 41.5755C48.9196 41.217 49.2472 41.1439 49.5466 41.1439C49.8179 41.1439 50.0607 41.2408 50.1907 41.3828L49.8405 41.8945C49.7162 41.7811 49.5919 41.7242 49.3771 41.7242C48.9759 41.7242 48.5806 41.9663 48.4901 42.4836L48.2247 43.9934H47.6426L48.1341 41.2048H48.6765Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M46.6473 42.3586C46.6925 41.8778 46.41 41.6822 45.941 41.6822C45.5174 41.6822 45.1275 41.8778 44.9578 42.3586H46.6473ZM44.8619 42.8395C44.8392 43.2241 45.1387 43.5382 45.6472 43.5382C45.9298 43.5382 46.3025 43.427 46.5059 43.2338L46.8224 43.6017C46.4778 43.9198 45.9692 44.0782 45.5399 44.0782C44.7376 44.0782 44.2686 43.5948 44.2686 42.8558C44.2686 41.8724 45.037 41.1395 46.0201 41.1395C46.9185 41.1395 47.427 41.6855 47.1219 42.8395H44.8619Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M41.3068 42.7531C41.2843 43.2192 41.5836 43.5204 42.0187 43.5204C42.5668 43.5204 43.0978 43.094 43.1317 42.4461C43.1544 41.9743 42.8493 41.6957 42.4254 41.6957C41.883 41.6957 41.3406 42.1335 41.3068 42.7531ZM41.7475 40.0508L41.465 41.652C41.7079 41.3225 42.1938 41.1482 42.5328 41.1482C43.2334 41.1482 43.7193 41.5613 43.7193 42.3285C43.7193 43.4143 42.9678 44.0672 42.0074 44.0672C41.6345 44.0672 41.318 43.9278 41.126 43.5754L41.0187 43.9934H40.4705L41.1655 40.0508H41.7475Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M39.1244 39.3196C39.1244 39.5185 39.2769 39.6094 39.4408 39.6094C39.6159 39.6094 39.8476 39.4673 39.8476 39.2059C39.8476 39.0185 39.7119 38.9161 39.5594 38.9161C39.356 38.9161 39.1244 39.0467 39.1244 39.3196ZM37.7683 39.3253C37.7683 39.5185 37.9153 39.6094 38.0735 39.6094C38.2712 39.6094 38.486 39.4673 38.486 39.2002C38.486 39.0127 38.3615 38.9161 38.1977 38.9161C37.9944 38.9161 37.7683 39.0467 37.7683 39.3253ZM40.2317 40.0508L39.8249 42.3681C39.6216 43.5393 38.8587 44.0757 37.8248 44.0757C36.9491 44.0757 36.271 43.5015 36.4689 42.37L36.8756 40.0508H37.5029L37.0959 42.3681C36.9716 43.0904 37.2937 43.5015 37.9039 43.5015C38.5311 43.5015 39.0679 43.1262 39.1978 42.37L39.6045 40.0508H40.2317Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M57.634 22.7419V22.7419H51.7796C51.1285 22.7419 50.5987 22.22 50.5987 21.5666C50.5987 20.9132 51.1285 20.3379 51.7796 20.3379H60.6925V15.9146H51.7796C48.6688 15.9146 46.1378 18.4661 46.1378 21.588C46.1378 24.71 48.6688 27.2615 51.7796 27.2615H57.5544C58.2056 27.2615 58.7354 27.7813 58.7354 28.4347C58.7354 29.0881 58.2056 29.5693 57.5544 29.5693H45.1711C44.1197 31.5887 43.0974 33.3196 41.0221 34.185H57.634C60.6925 34.1407 63.1943 31.5366 63.1943 28.4422C63.1943 25.3481 60.6925 22.7863 57.634 22.7419\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M35.1918 29.5693H30.6807V25.0146C30.6807 22.4694 32.6949 20.3987 35.1918 20.3987C37.6887 20.3987 39.72 22.4694 39.72 25.0146C39.72 27.5599 37.6887 29.5693 35.1918 29.5693ZM35.1918 15.9146C30.2299 15.9146 26.1885 20.0047 26.1885 25.0306V25.2229V43.9934H30.6807V34.185H35.1824C40.1444 34.185 44.1715 30.0404 44.1715 25.0146C44.1715 19.9888 40.1537 15.9146 35.1918 15.9146Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M3.18185 27.1618C4.14824 31.14 7.71916 34.1851 11.9667 34.1851H23.8417C23.5628 35.8198 22.1192 37.0699 20.3888 37.0699H3.50596C1.57766 37.0699 -6.10352e-05 35.4346 -6.10352e-05 33.4945V16.509C-6.10352e-05 14.5689 1.57766 13.0298 3.50596 13.0298H20.3888C22.3171 13.0298 23.8946 14.617 23.8946 16.557L23.8783 29.5694H11.9667C10.1418 29.5694 8.5592 28.7039 7.7767 27.1654H21.0272V24.9587C21.0272 19.941 16.9348 15.8621 11.9474 15.8621C7.70683 15.8621 4.14022 18.8171 3.16694 22.7854C3.16694 22.7854 2.90266 24.1143 2.90266 24.9804C2.90266 25.8465 3.18185 27.1618 3.18185 27.1618ZM7.76285 22.742C8.5485 21.2996 10.1295 20.1799 11.9474 20.1799C13.7656 20.1799 15.3464 21.2996 16.1321 22.742H7.76285Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M19.5936 7.50619C19.5936 3.36061 16.1692 0 11.9451 0C7.79097 0 4.41236 3.2507 4.3014 7.30127C4.29958 7.31838 4.30101 7.33502 4.30101 7.35262V9.60835C4.30101 9.87817 4.51941 10.1449 4.7943 10.1449H7.60823C7.88311 10.1449 8.12416 9.87817 8.12416 9.60835V7.50619C8.12416 5.43604 9.83789 3.75179 11.9473 3.75179C14.0567 3.75179 15.7705 5.43604 15.7705 7.50619V9.60835C15.7705 9.87817 15.9934 10.1449 16.2683 10.1449H19.0824C19.3572 10.1449 19.5936 9.87817 19.5936 9.60835V7.50619Z\"\n fill={primary}\n />\n </svg>\n );\n};\n\nexport function EpsLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.EPS, EPS_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo {...props} name={LOGO.EPS} logoColor={logoColor} cdnUrl={cdnUrl} />\n );\n}\n\nexport function EpsLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getEpsSVG(getLogoColors(LOGO.EPS, EPS_LOGO_COLORS, logoColor));\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.EPS}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const EpsLogo = EpsLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const GIROPAY_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n secondary: \"#003A7D\",\n tertiary: \"#ED1C24\",\n quaternary: \"#FFFFFF\",\n quinary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#000000\",\n secondary: \"#FFFFFF\",\n tertiary: \"#FFFFFF\",\n quaternary: \"#000000\",\n quinary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#FFFFFF\",\n secondary: \"#003A7D\",\n tertiary: \"#ED1C24\",\n quaternary: \"#FFFFFF\",\n quinary: \"#003A7D\",\n },\n};\n\nexport const getGiropaySVG = ({\n primary,\n secondary,\n tertiary,\n quaternary,\n quinary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"89\"\n height=\"40\"\n viewBox=\"0 0 89 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g id=\"LOGO_GIROPAY_1\">\n <path\n id=\"background_pill\"\n d=\"M7.7451 0.5C3.7386 0.5 0.5 3.78098 0.5 7.81718V32.1828C0.5 36.219 3.73861 39.5 7.7451 39.5H81.2546C85.2611 39.5 88.5 36.219 88.5 32.1828V7.81718C88.5 3.78095 85.2611 0.5 81.2546 0.5H7.7451Z\"\n fill={secondary}\n stroke={quinary}\n />\n <path\n id=\"background_giro\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M4 8.20515V31.7948C4 34.1173 5.89961 36 8.24276 36H47V4H8.24276C5.89961 4 4 5.88273 4 8.20515\"\n fill={primary}\n />\n <path\n id=\"pay_y\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M71.6843 28.7738C72.3682 28.9244 73.0521 29 73.7546 29C76.805 29 77.5261 26.607 78.469 24.1387L82 15H78.6724L76.6944 21.4064H76.6573L74.5866 15H71L74.9009 25.043C74.6605 25.9099 74.0322 26.3997 73.2187 26.3997C72.7564 26.3997 72.3497 26.343 71.9062 26.1924L71.6843 28.7738Z\"\n fill={quaternary}\n />\n <path\n id=\"pay_a\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M64.164 21.7522C64.164 20.8348 65.0678 20.486 66.2166 20.486C66.725 20.486 67.2149 20.5228 67.6478 20.5412C67.6478 21.6605 66.8381 22.7982 65.5574 22.7982C64.7665 22.7982 64.164 22.4127 64.164 21.7522ZM71 24.7798C70.8492 24.0273 70.8117 23.2752 70.8117 22.5228V18.9631C70.8117 16.0457 68.6461 15 66.1414 15C64.6913 15 63.4295 15.2018 62.2243 15.6788L62.2807 17.9174C63.2223 17.4036 64.3144 17.2018 65.4069 17.2018C66.6309 17.2018 67.6292 17.5502 67.6478 18.8529C67.2149 18.7796 66.612 18.7247 66.0658 18.7247C64.2581 18.7247 61 19.0732 61 21.9909C61 24.0641 62.7328 25 64.6724 25C66.0658 25 67.0074 24.4678 67.7797 23.2752H67.8175C67.8175 23.7706 67.8738 24.266 67.8927 24.7798H71Z\"\n fill={quaternary}\n />\n <path\n id=\"pay_p\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M56.5026 20.0311C56.5026 21.5951 55.7318 22.6692 54.453 22.6692C53.3248 22.6692 52.3846 21.5951 52.3846 20.1631C52.3846 18.6933 53.212 17.6003 54.453 17.6003C55.7692 17.6003 56.5026 18.7308 56.5026 20.0311ZM49 29H52.3846V23.6677H52.422C53.0614 24.8361 54.3402 25.2692 55.5246 25.2692C58.4393 25.2692 60 22.8576 60 19.9555C60 17.5817 58.5147 15 55.8069 15C54.265 15 52.8357 15.6218 52.1589 16.9974H52.1212V15.2262H49V29Z\"\n fill={quaternary}\n />\n <path\n id=\"giro_o\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M38.5 22.6881C36.9934 22.6881 36.3762 21.4222 36.3762 20.009C36.3762 18.5781 36.9934 17.3119 38.5 17.3119C40.0066 17.3119 40.6238 18.5781 40.6238 20.009C40.6238 21.4222 40.0066 22.6881 38.5 22.6881ZM38.5 25C41.6222 25 44 23.1651 44 20.009C44 16.8349 41.6222 15 38.5 15C35.3778 15 33 16.8349 33 20.009C33 23.1651 35.3778 25 38.5 25Z\"\n fill={tertiary}\n />\n <path\n id=\"giro_r\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M33 15.1126C32.6692 15.0565 32.265 15 31.8793 15C30.4461 15 29.6193 15.7882 29.0499 17.0265H29.0133V15.2252H26V25H29.3073V20.8724C29.3073 18.9589 30.1706 17.8144 31.714 17.8144C32.0998 17.8144 32.4671 17.8144 32.8348 17.927L33 15.1126Z\"\n fill={tertiary}\n />\n <path\n id=\"giro_i\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M21.0003 14.3252H24V12H21.0003V14.3252ZM21 25H23.9997V15.8226H21V25Z\"\n fill={tertiary}\n />\n <path\n id=\"giro_g\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M12.2235 19.9694C12.2235 18.6529 12.8302 17.559 13.9915 17.559C15.3952 17.559 15.9842 18.7642 15.9842 19.8395C15.9842 21.3231 15.1005 22.3244 13.9915 22.3244C13.0553 22.3244 12.2235 21.4713 12.2235 19.9694ZM19 15.2226H16.1748V16.9653H16.1404C15.4818 15.7787 14.4072 15 13.0727 15C10.265 15 9 17.151 9 20.0249C9 22.8808 10.5422 24.8834 13.0209 24.8834C14.2687 24.8834 15.3086 24.3641 16.0537 23.233H16.0882V23.7522C16.0882 25.6438 15.1179 26.5523 13.3155 26.5523C12.0155 26.5523 11.2182 26.2557 10.265 25.755L10.1091 28.3881C10.8369 28.6661 12.0677 29 13.558 29C17.1976 29 19 27.7204 19 23.7522V15.2226Z\"\n fill={tertiary}\n />\n </g>\n </svg>\n );\n};\n\nexport function GiropayLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.GIROPAY, GIROPAY_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.GIROPAY}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function GiropayLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getGiropaySVG(\n getLogoColors(LOGO.GIROPAY, GIROPAY_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.GIROPAY}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const GiropayLogo = GiropayLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const IDEAL_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n secondary: \"#CC0066\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#CC0066\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#FFFFFF\",\n secondary: \"#CC0066\",\n },\n};\n\nexport const getIdealSVG = ({\n primary,\n secondary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"94\"\n height=\"36\"\n viewBox=\"0 0 94 36\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect width=\"94\" height=\"36\" fill=\"#FCF49A\" />\n <path\n d=\"M0.731689 3.16167V31.0822C0.731689 32.4187 1.82518 33.5122 3.16167 33.5122H19.8435C32.4551 33.5122 37.9226 26.4531 37.9226 17.0855C37.9226 7.7665 32.4551 0.731689 19.8435 0.731689H3.16167C1.82518 0.731689 0.731689 1.82518 0.731689 3.16167Z\"\n fill={primary}\n />\n <path\n d=\"M19.8435 31.2888H5.33645C4.04856 31.2888 3.00366 30.2439 3.00366 28.956V5.30007C3.00366 4.01218 4.04856 2.96729 5.33645 2.96729H19.8435C33.6093 2.96729 35.6627 11.8246 35.6627 17.0976C35.6627 26.2465 30.0372 31.2888 19.8435 31.2888ZM3.78126 5.30007V28.956C3.78126 29.8186 4.4738 30.5112 5.33645 30.5112H19.8435C29.5391 30.5112 34.8851 25.7484 34.8851 17.0976C34.8851 5.48232 25.4567 3.74488 19.8435 3.74488H5.33645C4.4738 3.74488 3.78126 4.43743 3.78126 5.30007Z\"\n fill=\"black\"\n />\n <path\n d=\"M11.8975 7.58437V28.2149H20.8763C29.0289 28.2149 32.5645 23.6101 32.5645 17.0978C32.5645 10.8648 29.0289 6.02917 20.8763 6.02917H13.4527C12.59 6.02917 11.8975 6.73387 11.8975 7.58437Z\"\n fill={secondary}\n />\n <path\n d=\"M15.0563 14.3154C15.3722 14.3154 15.6638 14.364 15.9432 14.4612C16.2227 14.5584 16.4535 14.7163 16.6601 14.9107C16.8545 15.1173 17.0124 15.3724 17.1339 15.664C17.2433 15.9678 17.304 16.3201 17.304 16.7332C17.304 17.0977 17.2554 17.4258 17.1704 17.7295C17.0732 18.0332 16.9395 18.3005 16.7573 18.5192C16.575 18.7379 16.3442 18.908 16.0647 19.0417C15.7853 19.1632 15.4572 19.2361 15.0806 19.2361H12.9543V14.3032H15.0563V14.3154ZM14.9834 18.337C15.1413 18.337 15.2871 18.3127 15.4451 18.2641C15.5909 18.2155 15.7245 18.1304 15.8339 18.0089C15.9432 17.8874 16.0404 17.7416 16.1133 17.5473C16.1862 17.3529 16.2227 17.1342 16.2227 16.8547C16.2227 16.6117 16.1984 16.3809 16.1498 16.1865C16.1012 15.9921 16.0161 15.8098 15.9068 15.6762C15.7974 15.5425 15.6516 15.421 15.4694 15.3481C15.2871 15.2752 15.0684 15.2388 14.8011 15.2388H14.0235V18.3491H14.9834V18.337ZM21.6901 14.3154V15.2266H19.0901V16.2837H21.4836V17.122H19.0901V18.3248H21.7509V19.2361H18.0087V14.3032H21.6901V14.3154ZM27.2548 19.2482H26.1249L25.7482 18.1547H23.9014L23.5126 19.2482H22.4191L24.2781 14.3154H25.408L27.2548 19.2482ZM25.4688 17.3407L24.8491 15.5304H24.837L24.193 17.3407H25.4688ZM29.0165 14.3154V18.337H31.4222V19.2482H27.9352V14.3154H29.0165Z\"\n fill={primary}\n />\n <path\n d=\"M9.55256 28.2149C7.64502 28.2149 6.11413 26.6718 6.11413 24.7764V22.0913C6.11413 21.1436 6.87957 20.366 7.83942 20.366C8.78711 20.366 9.56471 21.1315 9.56471 22.0913V28.2149H9.55256ZM7.83942 19.0538C6.58312 19.0538 5.56738 18.0381 5.56738 16.7818C5.56738 15.5255 6.58312 14.5098 7.83942 14.5098C9.09572 14.5098 10.1115 15.5255 10.1115 16.7818C10.1115 18.0381 9.09572 19.0538 7.83942 19.0538Z\"\n fill=\"black\"\n />\n <path\n d=\"M81.2405 17.2C81.2405 14.4854 83.1954 12.0099 86.5713 12.0099C89.9612 12.0099 91.9162 14.4854 91.9162 17.2C91.9162 19.9147 89.9612 22.3902 86.5713 22.3902C83.196 22.3908 81.2405 19.9147 81.2405 17.2ZM88.9489 17.2C88.9489 15.8916 88.0766 14.6823 86.5719 14.6823C85.0806 14.6823 84.1949 15.8922 84.1949 17.2C84.1949 18.5084 85.0812 19.7177 86.5719 19.7177C88.0766 19.7177 88.9489 18.5084 88.9489 17.2Z\"\n fill=\"#1D1C1C\"\n />\n <path\n d=\"M79.1647 19.1276C80.2902 18.4945 80.9649 17.2852 80.9649 15.9487C80.9649 13.9656 79.5158 12.2773 77.2654 12.2773H72.5396V22.1236H75.4652V19.6059H76.0139L77.6875 22.1236H81.1337L79.1647 19.1276ZM76.6751 17.3409H75.4652V14.5559H76.6892C77.477 14.5559 77.9835 15.189 77.9835 15.9487C77.9835 16.7078 77.463 17.3409 76.6751 17.3409Z\"\n fill=\"#1D1C1C\"\n />\n <path\n d=\"M59.1837 12.2667L57.4286 18.1351L55.7158 12.2667H53.3857L51.6587 18.1351L49.9177 12.2667H46.8291L50.3668 22.0942H52.9079L54.5504 16.7452L56.1794 22.0942H58.7347L62.2723 12.2667H59.1837Z\"\n fill=\"#1D1C1C\"\n />\n <path\n d=\"M66.6992 19.6938C66.6969 19.6938 66.6945 19.6938 66.6922 19.6938C65.5978 19.6938 64.8305 19.0408 64.501 18.1761H71.8993H71.9363C71.9961 17.8508 72.0271 17.5178 72.0271 17.1808C72.0271 14.4732 70.078 12.0041 66.6992 12.0006V14.6684C67.8001 14.6713 68.5598 15.3231 68.8857 16.186H61.461C61.4018 16.5114 61.3713 16.8443 61.3713 17.1814C61.3713 19.8907 63.3228 22.3621 66.6922 22.3621C66.6945 22.3621 66.6969 22.3621 66.6992 22.3621V19.6938Z\"\n fill=\"#1D1C1C\"\n />\n <path\n d=\"M66.6923 22.361C66.8066 22.361 66.9192 22.3575 67.0305 22.3522C67.7152 22.3176 68.3366 22.1799 68.8905 21.9577C69.4445 21.7356 69.931 21.4302 70.3449 21.0608C70.7587 20.6915 71.1005 20.2589 71.3654 19.7824C71.6064 19.3492 71.7822 18.8802 71.8924 18.3907H68.7944C68.7311 18.5215 68.6572 18.6463 68.5728 18.763C68.4573 18.9224 68.3219 19.0672 68.1683 19.1921C68.0148 19.3169 67.8424 19.4224 67.6525 19.5039C67.4626 19.5854 67.2556 19.6429 67.0317 19.6716C66.9227 19.6856 66.8101 19.6939 66.6935 19.6939C65.9965 19.6939 65.432 19.4283 65.0293 19.0127L63.0151 21.0269C63.9103 21.8452 65.153 22.361 66.6923 22.361Z\"\n fill=\"url(#paint0_linear_1326_155)\"\n />\n <path\n d=\"M66.6924 12C63.8347 12 61.997 13.7773 61.5046 15.9709H64.5939C64.9632 15.2153 65.6906 14.6678 66.6924 14.6678C67.4908 14.6678 68.1104 15.0089 68.5155 15.5248L70.5478 13.4924C69.6404 12.5827 68.3349 12 66.6924 12Z\"\n fill=\"url(#paint1_linear_1326_155)\"\n />\n <path\n d=\"M42.2927 6.29272V27.8049\"\n stroke=\"black\"\n strokeWidth=\"0.878049\"\n strokeLinecap=\"round\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_1326_155\"\n x1=\"70.3332\"\n y1=\"16.5683\"\n x2=\"65.7745\"\n y2=\"22.2156\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0.0243\" stopColor=\"#1D1C1C\" stopOpacity=\"0\" />\n <stop offset=\"0.676\" stopColor=\"#1D1C1C\" />\n </linearGradient>\n <linearGradient\n id=\"paint1_linear_1326_155\"\n x1=\"62.357\"\n y1=\"17.8336\"\n x2=\"67.0413\"\n y2=\"13.1492\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0.0243\" stopColor=\"#1D1C1C\" stopOpacity=\"0\" />\n <stop offset=\"0.676\" stopColor=\"#1D1C1C\" />\n </linearGradient>\n </defs>\n </svg>\n );\n};\n\nexport function IdealLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.IDEAL, IDEAL_LOGO_COLORS, logoColor);\n\n return <SVGLogo {...props} name={LOGO.IDEAL} cdnUrl={cdnUrl} />;\n}\n\nexport function IdealLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getIdealSVG(\n getLogoColors(LOGO.IDEAL, IDEAL_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.IDEAL}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const IdealLogo = IdealLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const MYBANK_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#00C0EE\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#00C0EE\",\n secondary: \"#1A4B67\",\n },\n};\n\nexport const getMybankSVG = ({\n primary,\n secondary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"78\"\n height=\"45\"\n viewBox=\"0 0 78 45\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g id=\"LOGO_MYBANK_1\">\n <path\n id=\"logo_mark\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M77.9294 34.2781H53.9832L36.4006 34.2753L36.4127 34.2947C32.9375 38.3649 27.7757 40.9535 22.002 40.9535C11.534 40.9535 3.04804 32.4713 3.04804 22.0089C3.04804 11.5464 11.534 3.06497 22.002 3.06497C27.8005 3.06497 32.9869 5.66831 36.4629 9.76832H40.2687C36.3193 3.89172 29.6174 0.0175781 22.002 0.0175781C9.85098 0.0175781 6.10352e-05 9.86354 6.10352e-05 22.0089C6.10352e-05 34.1542 9.85098 44 22.002 44C28.3766 44 34.1051 41.2802 38.1211 36.9494L76.1258 36.9116L77.9294 34.2781Z\"\n fill={primary}\n />\n <path\n id=\"bank_k\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M77.5656 27.341L74.547 22.7822L76.7655 20.6773C76.7655 20.6773 77.7895 19.7262 76.9488 18.7836C76.0171 17.7395 74.9066 18.7701 74.9066 18.7701L72.1188 21.3687V16.1528C72.1188 15.4054 71.5153 14.8 70.7707 14.8C70.0255 14.8 69.422 15.4054 69.422 16.1528V28.4261C69.422 29.1732 70.0255 29.7788 70.7707 29.7788C71.5153 29.7788 72.1188 29.1732 72.1188 28.4261V25.1585L72.6287 24.6474L75.3597 28.942C75.3597 28.942 76.2498 30.4331 77.5607 29.484C78.5463 28.7708 77.5656 27.341 77.5656 27.341\"\n fill={secondary}\n />\n <path\n id=\"bank_n\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M67.8222 22.1688C67.8222 17.7396 64.1785 17.1155 61.7006 18.5206C61.6987 18.5222 61.6965 18.527 61.6953 18.5284C61.5089 17.9897 61.0078 17.6001 60.4121 17.6001C59.6592 17.6001 59.0486 18.2192 59.0486 18.9827V28.2175C59.0486 28.9812 59.6592 29.6001 60.4121 29.6001C61.1655 29.6001 61.7764 28.9812 61.7764 28.2175L61.7575 21.9872C61.7575 21.9872 62.0883 21.588 62.6194 21.2062C63.8951 20.2899 65.1114 20.602 65.1114 22.1683L65.1427 28.24C65.1427 28.9917 65.7432 29.6001 66.4846 29.6001C67.2255 29.6001 67.8261 28.9917 67.8261 28.24L67.8222 22.1688Z\"\n fill={secondary}\n />\n <path\n id=\"bank_a\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M53.049 26.8045C53.049 26.8045 51.1059 27.2048 51.1263 25.8091C51.1469 24.4135 54.6659 24.4969 55.0265 24.61C55.0265 24.61 55.1372 26.1937 53.049 26.8045ZM53.6338 18.0003C50.6127 17.9722 49.2003 19.7155 49.2003 19.7155C48.283 20.6919 48.8712 22.014 49.7709 22.1095C51.0638 22.2467 51.0503 21.1592 53.0348 20.6772C54.7757 20.2543 54.8511 21.8727 54.8511 21.8727C47.4263 21.6874 47.7808 27.9399 50.3084 29.2678C52.7321 30.541 54.9976 28.9347 54.9976 28.9347C54.9976 28.9347 55.0828 29.8 56.2819 29.8C57.6542 29.8 57.6522 28.4257 57.6522 28.4257L57.6466 22.3399C57.5564 17.8873 53.6338 18.0003 53.6338 18.0003Z\"\n fill={secondary}\n />\n <path\n id=\"bank_b\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M43.0907 26.9395H39.2737V23.2893H43.0907C44.0139 23.337 44.9102 23.8083 44.9102 25.1146C44.9102 26.4562 44.0951 26.9395 43.0907 26.9395ZM39.2737 17.5738H42.8315C43.5441 17.5922 44.2922 17.9736 44.2922 19.0396C44.2922 20.1504 43.6381 20.5052 42.8315 20.5052H39.2737V17.5738ZM46.0977 21.6111C46.1704 21.511 47.0834 20.7688 47.0113 18.7956C46.8659 14.8004 43.4076 14.846 42.6421 14.8227C41.409 14.7855 40.6668 14.8004 38.4035 14.8227C36.4924 14.8417 36.5064 16.5843 36.5064 16.5843V29.6H42.9481C46.3954 29.6 47.6778 27.6961 47.6778 25.0341C47.6778 22.3558 46.0977 21.6111 46.0977 21.6111Z\"\n fill={secondary}\n />\n <path\n id=\"my_y\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M28.4561 29.8583C28.7702 29.3283 28.8249 28.955 28.8249 28.955L25.7282 20.7808C25.7282 20.7808 25.1663 19.199 26.4045 18.7306C27.7163 18.2337 28.1899 19.499 28.2884 19.7644C28.387 20.0297 30.2449 25.0259 30.2449 25.0259L32.0337 19.7759C32.0337 19.7759 32.5462 18.1435 33.979 18.7255C35.1631 19.207 34.5548 20.8081 34.5548 20.8081C34.5548 20.8081 32.7241 26.2783 31.1896 30.2471C30.273 32.6182 29.4902 32.8518 28.5957 33.0741C27.3987 33.3719 25.1356 33.2244 25.1356 31.7213C25.1356 30.5358 26.3375 30.4618 26.8797 30.4795C26.9087 30.48 28.0294 30.5781 28.4561 29.8583\"\n fill={primary}\n />\n <path\n id=\"my_m\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M21.1518 16.2381L18.3115 24.125L15.215 16.2861C15.215 16.2861 14.7562 14.8 13.4651 14.8C11.9692 14.8 12.0179 15.9925 11.9842 16.2861C11.9507 16.5798 11.9842 28.5441 11.9842 28.5441C11.9842 28.5441 11.9692 29.8 13.3416 29.8C14.744 29.8 14.6768 28.5328 14.6878 28.5328C14.699 28.5328 14.6878 22.2168 14.6878 22.2168L16.9653 28.5328C16.9653 28.5328 17.3017 29.7747 18.3563 29.7521C19.4108 29.7297 19.7137 28.5328 19.7137 28.5328L21.621 22.2282V28.5328C21.621 28.5328 21.621 29.8 23.0009 29.8C24.3358 29.8 24.3358 28.5328 24.3358 28.5328L24.3376 16.2974C24.3376 16.2974 24.3376 14.8 22.8885 14.8072C21.6869 14.8129 21.2304 15.9722 21.1518 16.2381C21.1427 16.2691 21.1386 16.2861 21.1386 16.2861\"\n fill={primary}\n />\n </g>\n </svg>\n );\n};\n\nexport function MybankLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.MYBANK, MYBANK_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.MYBANK}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function MybankLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getMybankSVG(\n getLogoColors(LOGO.MYBANK, MYBANK_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.MYBANK}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const MybankLogo = MybankLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const P24_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#B3B1B1\",\n secondary: \"#D03238\",\n },\n};\n\nexport const getP24SVG = ({ primary, secondary }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"90\"\n height=\"31\"\n viewBox=\"0 0 90 31\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M86.0712 22.5234L81.7899 22.5168L87.0011 16.8521L86.0712 22.5234ZM88.0945 22.5218L89.4659 14.1299L87.0361 14.1284L79.4644 22.4259L79.1205 24.5271L85.7423 24.5264L85.2577 27.4748L87.2889 27.4775L87.7686 24.5266L89.6445 24.5306L89.9834 22.5192L88.0945 22.5218Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M69.6586 18.8087L71.7061 18.8116L71.828 18.001C71.828 18.001 72.047 16.5388 72.5347 16.2563C72.6909 16.1658 72.9415 16.0797 73.2313 16.0283C73.7662 15.9336 74.449 15.9226 75.0014 15.9429C75.8536 15.9743 76.1721 15.982 77.0384 16.0825C77.9049 16.1831 77.6839 17.0365 77.6839 17.0365L77.5144 18.3091C77.5144 18.3091 77.4404 18.8792 77.2405 19.2353C77.0637 19.5503 76.5814 19.7621 76.3022 19.8552C75.6278 20.0796 73.3199 20.6782 73.3199 20.6782L71.504 21.2125C71.504 21.2125 70.3895 21.5421 69.7636 22.2471C69.138 22.9523 68.8919 23.7541 68.8064 24.1729C68.7209 24.5913 68.2415 27.4738 68.2415 27.4738L78.0345 27.478L78.3609 25.4803L70.6153 25.4893L70.7548 24.6754C70.7548 24.6754 70.8447 23.8361 71.1776 23.5624C71.2826 23.4757 71.3351 23.361 71.9534 23.1361C72.3223 23.0018 73.5858 22.6583 73.5858 22.6583L76.5084 21.8449C76.5084 21.8449 78.1028 21.4259 78.7308 20.5385C79.3588 19.6514 79.6005 17.9505 79.6005 17.9505C79.6005 17.9505 79.7694 16.2994 79.6406 15.7817C79.5121 15.2641 79.0321 14.6424 78.45 14.3775C77.8677 14.1125 77.2574 13.9574 75.4938 13.982C73.7305 14.0069 72.8598 14.0909 71.9672 14.4259C71.0746 14.7605 70.559 15.3715 70.2305 16.2326C69.8682 17.0458 69.6586 18.8087 69.6586 18.8087\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M62.1771 17.8525L63.425 24.8872L66.956 17.8452L68.942 17.8625L63.8546 27.9207C63.8546 27.9207 62.9342 29.7408 62.363 30.2026C61.7921 30.6648 61.4432 30.8715 60.9761 30.9186C60.5092 30.966 60.3218 30.9992 59.8737 30.9186L59.4003 30.8338L59.6964 29.0378C59.6964 29.0378 60.4829 29.1888 60.9514 29.0002C61.4198 28.8112 61.7986 27.9971 61.7986 27.9971L62.0348 27.5898L60.1962 17.8498L62.1771 17.8525Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M46.7465 17.8512L48.6127 17.8496L49.2717 24.6213L52.1424 17.8374L54.4456 17.8438L55.1263 24.6492L57.9973 17.8501L59.9334 17.8483L55.8187 27.4703L53.5199 27.4705L52.8578 20.7329L49.9532 27.4706L47.6935 27.4771L46.7465 17.8512Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M44.2793 21.4381L39.9338 21.4336L40.1067 20.7294C40.1067 20.7294 40.2576 20.179 40.559 19.9442C40.8603 19.7093 41.2456 19.6691 41.6087 19.6332C41.9719 19.5976 42.9325 19.5281 43.7172 19.6934C43.9774 19.7477 44.2251 19.8971 44.2897 20.1187C44.4419 20.6411 44.2793 21.4381 44.2793 21.4381ZM44.719 17.9348C44.1734 17.7533 43.2264 17.7174 42.4271 17.7277C41.6523 17.7374 41.297 17.7744 41.0079 17.838C41.0079 17.838 39.6296 18.0399 38.8475 19.0284C38.0655 20.0174 37.8322 22.1808 37.8322 22.1808C37.8322 22.1808 37.3679 24.5721 37.5037 25.3688C37.6395 26.1655 37.8827 26.9035 38.7678 27.2506C39.6526 27.5972 40.4031 27.5817 40.4031 27.5817C40.4031 27.5817 41.9802 27.7078 43.1682 27.4213C44.3564 27.1348 44.9828 26.2812 44.9828 26.2812C44.9828 26.2812 45.2615 25.9141 45.4625 25.4757C45.6638 25.0374 45.7227 24.7328 45.7318 24.6953L45.8564 24.1787L43.8361 24.1814C43.8361 24.1814 43.7248 25.5419 42.6356 25.6671C41.5467 25.7926 40.9623 25.7455 40.7519 25.7375C40.5444 25.7296 39.3742 25.7786 39.4689 24.7833C39.4695 24.7698 39.4703 24.7502 39.4716 24.7221C39.5258 23.5868 39.6494 23.2926 39.6494 23.2926L45.9907 23.2745L46.2612 21.6765C46.5694 19.8583 46.3431 18.4755 44.719 17.9348Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M36.3523 14.1339L38.2978 14.1323L36.1179 27.4787L34.1674 27.4755L36.3523 14.1339Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M32.3343 21.4405L27.9886 21.4357L28.1615 20.7319C28.1615 20.7319 28.3124 20.1815 28.6138 19.9464C28.9154 19.7115 29.3007 19.6716 29.6636 19.6357C30.0267 19.5996 30.9876 19.5306 31.772 19.6955C32.0324 19.7501 32.2801 19.8995 32.3445 20.1209C32.4967 20.6433 32.3343 21.4405 32.3343 21.4405ZM32.7569 17.9324C32.2115 17.751 31.2644 17.7151 30.4652 17.7252C29.6904 17.735 29.3351 17.772 29.046 17.8356C29.046 17.8356 27.6677 18.0372 26.8857 19.026C26.1036 20.0147 25.8703 22.1784 25.8703 22.1784C25.8703 22.1784 25.406 24.5695 25.5418 25.3662C25.6773 26.1629 25.9208 26.9013 26.8056 27.2479C27.6906 27.5945 28.4412 27.5791 28.4412 27.5791C28.4412 27.5791 30.0181 27.7055 31.2063 27.4187C32.3945 27.1325 33.021 26.2788 33.021 26.2788C33.021 26.2788 33.2996 25.9118 33.5007 25.4732C33.7019 25.0347 33.7608 24.7304 33.7697 24.6929L33.8943 24.1763L31.8742 24.179C31.8742 24.179 31.7629 25.5393 30.6737 25.6649C29.5848 25.7902 29.0004 25.7428 28.7897 25.7347C28.5822 25.727 27.4122 25.7762 27.5071 24.7808C27.5076 24.7674 27.5084 24.7477 27.5097 24.7197C27.564 23.5844 27.6876 23.2902 27.6876 23.2902L34.0288 23.272L34.2993 21.6738C34.6072 19.8557 34.3812 18.4729 32.7569 17.9324Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M18.8507 17.8536L26.2816 17.8433L26.0099 19.5686L19.7965 25.6223L25.01 25.6117L24.7071 27.4751L17.0287 27.4764L17.3497 25.5548L23.3059 19.7343L18.5543 19.734L18.8507 17.8536Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M16.3713 17.8433C15.5875 17.8433 14.8471 18.1588 14.2145 18.5123L14.3254 17.8433H12.2483L10.585 27.4256H12.6637L13.5852 22.1169C13.7771 21.0396 14.5627 19.7099 16.1044 19.7099L17.179 19.7055L17.5022 17.8433H16.3713Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9.16528 17.2576C9.16333 17.2797 8.98589 18.3527 8.7461 19.6219C8.6543 20.1076 8.29078 20.3683 7.87137 20.4587C7.17896 20.608 6.43379 20.5806 6.43379 20.5806L3.1556 20.572L3.87537 16.1389L6.84579 16.1473C6.84579 16.1473 7.04683 16.143 7.32752 16.1474C7.64653 16.1525 8.06851 16.1688 8.41526 16.2154C8.71224 16.2553 8.95412 16.3175 9.02892 16.4138C9.12757 16.5409 9.16832 16.7032 9.18204 16.8515C9.20151 17.0623 9.16632 17.2448 9.16528 17.2576ZM10.7272 14.9029C10.5643 14.7274 10.3346 14.5921 10.0749 14.4877C9.80568 14.3795 9.50433 14.3045 9.21215 14.2527C8.84 14.1866 8.48275 14.158 8.22586 14.1457C7.98953 14.1344 7.83812 14.1371 7.83812 14.1371L4.58981 14.1366L2.17259 14.1362L0 27.4759L2.02279 27.478L2.82234 22.5333L6.74425 22.5506C6.74425 22.5506 8.27126 22.6118 9.35544 22.0266C10.4395 21.4408 10.7265 20.1092 10.7265 20.1092C10.7265 20.1092 10.8458 19.6152 10.9431 19.0119C11.0501 18.3495 11.1597 17.5541 11.2166 17.1305C11.2416 16.9447 11.2564 16.8304 11.2564 16.8304C11.2564 16.8304 11.2827 16.693 11.2852 16.4801C11.2887 16.1822 11.2454 15.7363 11.0182 15.3115C10.943 15.1709 10.8477 15.0327 10.7272 14.9029Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M65.8755 10.0079L68.4177 11.9736H89.2996C89.2996 11.9736 89.2571 11.2837 88.7008 10.3066C88.3525 9.69422 87.7225 9.04705 87.0613 8.37429C86.8213 8.12984 85.8578 7.36398 85.1393 6.88851C83.2955 5.66924 82.266 5.19774 80.3541 4.30859L65.8755 10.0079Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M54.4667 4.95525L56.8817 0.00535438C56.8817 0.00535438 62.1685 -0.0994707 66.7269 0.618506C71.2856 1.33672 75.4553 2.44308 75.3645 2.4915L63.803 8.66159C63.803 8.66159 61.1028 6.91601 57.7478 5.84503C55.8478 5.27951 54.4667 4.95525 54.4667 4.95525\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M39.6881 5.51241L39.1865 2.62839C39.1865 2.62839 42.7564 1.65981 46.0275 1.03866C49.2983 0.417514 53.6372 0.124023 53.6372 0.124023L52.2016 4.57902C52.2016 4.57902 48.3857 4.04752 44.8056 4.54364C42.0144 4.88278 39.6881 5.51241 39.6881 5.51241\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M28.4229 10.2404L25.5308 8.25355C25.5308 8.25355 28.1484 6.73652 31.6273 5.32078C35.1062 3.90484 36.9615 3.31592 36.9615 3.31592L37.5488 6.13025C37.5488 6.13025 34.1995 7.27305 32.28 8.1985C30.2977 9.06119 28.4229 10.2404 28.4229 10.2404\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M15.0199 15.2297H21.2545C21.2545 15.2297 22.6531 14.0765 23.6442 13.337C24.6354 12.5974 26.4396 11.4295 26.4396 11.4295L22.918 9.74805C22.918 9.74805 19.942 11.6289 18.6784 12.5164C17.4498 13.3341 15.0199 15.2297 15.0199 15.2297\"\n fill={primary}\n />\n </svg>\n );\n};\n\nexport function P24LogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.P24, P24_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo {...props} name={LOGO.P24} logoColor={logoColor} cdnUrl={cdnUrl} />\n );\n}\n\nexport function P24LogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getP24SVG(getLogoColors(LOGO.P24, P24_LOGO_COLORS, logoColor));\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.P24}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const P24Logo = P24LogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const PAYPAL_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#003087\",\n secondary: \"#009cde\",\n },\n [LOGO_COLOR.BLUE]: {\n primary: \"#003087\",\n secondary: \"#009cde\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#ffffff\",\n secondary: \"#ffffff\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#333030\",\n secondary: \"#636363\",\n },\n [LOGO_COLOR.MONOCHROME]: {\n primary: \"#000000\",\n secondary: \"#000000\",\n },\n};\n\nexport const getPayPalSVG = ({\n primary,\n secondary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"101px\"\n height=\"32\"\n viewBox=\"0 0 101 32\"\n preserveAspectRatio=\"xMinYMin meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill={primary}\n d=\"M 12.237 2.8 L 4.437 2.8 C 3.937 2.8 3.437 3.2 3.337 3.7 L 0.237 23.7 C 0.137 24.1 0.437 24.4 0.837 24.4 L 4.537 24.4 C 5.037 24.4 5.537 24 5.637 23.5 L 6.437 18.1 C 6.537 17.6 6.937 17.2 7.537 17.2 L 10.037 17.2 C 15.137 17.2 18.137 14.7 18.937 9.8 C 19.237 7.7 18.937 6 17.937 4.8 C 16.837 3.5 14.837 2.8 12.237 2.8 Z M 13.137 10.1 C 12.737 12.9 10.537 12.9 8.537 12.9 L 7.337 12.9 L 8.137 7.7 C 8.137 7.4 8.437 7.2 8.737 7.2 L 9.237 7.2 C 10.637 7.2 11.937 7.2 12.637 8 C 13.137 8.4 13.337 9.1 13.137 10.1 Z\"\n />\n <path\n fill={primary}\n d=\"M 35.437 10 L 31.737 10 C 31.437 10 31.137 10.2 31.137 10.5 L 30.937 11.5 L 30.637 11.1 C 29.837 9.9 28.037 9.5 26.237 9.5 C 22.137 9.5 18.637 12.6 17.937 17 C 17.537 19.2 18.037 21.3 19.337 22.7 C 20.437 24 22.137 24.6 24.037 24.6 C 27.337 24.6 29.237 22.5 29.237 22.5 L 29.037 23.5 C 28.937 23.9 29.237 24.3 29.637 24.3 L 33.037 24.3 C 33.537 24.3 34.037 23.9 34.137 23.4 L 36.137 10.6 C 36.237 10.4 35.837 10 35.437 10 Z M 30.337 17.2 C 29.937 19.3 28.337 20.8 26.137 20.8 C 25.037 20.8 24.237 20.5 23.637 19.8 C 23.037 19.1 22.837 18.2 23.037 17.2 C 23.337 15.1 25.137 13.6 27.237 13.6 C 28.337 13.6 29.137 14 29.737 14.6 C 30.237 15.3 30.437 16.2 30.337 17.2 Z\"\n />\n <path\n fill={primary}\n d=\"M 55.337 10 L 51.637 10 C 51.237 10 50.937 10.2 50.737 10.5 L 45.537 18.1 L 43.337 10.8 C 43.237 10.3 42.737 10 42.337 10 L 38.637 10 C 38.237 10 37.837 10.4 38.037 10.9 L 42.137 23 L 38.237 28.4 C 37.937 28.8 38.237 29.4 38.737 29.4 L 42.437 29.4 C 42.837 29.4 43.137 29.2 43.337 28.9 L 55.837 10.9 C 56.137 10.6 55.837 10 55.337 10 Z\"\n />\n <path\n fill={secondary}\n d=\"M 67.737 2.8 L 59.937 2.8 C 59.437 2.8 58.937 3.2 58.837 3.7 L 55.737 23.6 C 55.637 24 55.937 24.3 56.337 24.3 L 60.337 24.3 C 60.737 24.3 61.037 24 61.037 23.7 L 61.937 18 C 62.037 17.5 62.437 17.1 63.037 17.1 L 65.537 17.1 C 70.637 17.1 73.637 14.6 74.437 9.7 C 74.737 7.6 74.437 5.9 73.437 4.7 C 72.237 3.5 70.337 2.8 67.737 2.8 Z M 68.637 10.1 C 68.237 12.9 66.037 12.9 64.037 12.9 L 62.837 12.9 L 63.637 7.7 C 63.637 7.4 63.937 7.2 64.237 7.2 L 64.737 7.2 C 66.137 7.2 67.437 7.2 68.137 8 C 68.637 8.4 68.737 9.1 68.637 10.1 Z\"\n />\n <path\n fill={secondary}\n d=\"M 90.937 10 L 87.237 10 C 86.937 10 86.637 10.2 86.637 10.5 L 86.437 11.5 L 86.137 11.1 C 85.337 9.9 83.537 9.5 81.737 9.5 C 77.637 9.5 74.137 12.6 73.437 17 C 73.037 19.2 73.537 21.3 74.837 22.7 C 75.937 24 77.637 24.6 79.537 24.6 C 82.837 24.6 84.737 22.5 84.737 22.5 L 84.537 23.5 C 84.437 23.9 84.737 24.3 85.137 24.3 L 88.537 24.3 C 89.037 24.3 89.537 23.9 89.637 23.4 L 91.637 10.6 C 91.637 10.4 91.337 10 90.937 10 Z M 85.737 17.2 C 85.337 19.3 83.737 20.8 81.537 20.8 C 80.437 20.8 79.637 20.5 79.037 19.8 C 78.437 19.1 78.237 18.2 78.437 17.2 C 78.737 15.1 80.537 13.6 82.637 13.6 C 83.737 13.6 84.537 14 85.137 14.6 C 85.737 15.3 85.937 16.2 85.737 17.2 Z\"\n />\n <path\n fill={secondary}\n d=\"M 95.337 3.3 L 92.137 23.6 C 92.037 24 92.337 24.3 92.737 24.3 L 95.937 24.3 C 96.437 24.3 96.937 23.9 97.037 23.4 L 100.237 3.5 C 100.337 3.1 100.037 2.8 99.637 2.8 L 96.037 2.8 C 95.637 2.8 95.437 3 95.337 3.3 Z\"\n />\n </svg>\n );\n};\n\nexport function PayPalLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.PAYPAL, PAYPAL_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAYPAL}\n alt=\"PayPal\"\n role=\"presentation\"\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function PayPalLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getPayPalSVG(\n getLogoColors(LOGO.PAYPAL, PAYPAL_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAYPAL}\n alt=\"PayPal\"\n role=\"presentation\"\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const PayPalLogo = PayPalLogoInlineSVG;\n\nconst DEFAULT_OPACITY = \"1\";\n\nexport const PP_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#009cde\",\n secondary: \"#012169\",\n tertiary: \"#003087\",\n },\n [LOGO_COLOR.BLUE]: {\n primary: \"#009cde\",\n secondary: \"#012169\",\n tertiary: \"#003087\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#ffffff\",\n primaryOpacity: \"0.7\",\n secondary: \"#ffffff\",\n secondaryOpacity: \"0.7\",\n tertiary: \"#ffffff\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#808080\",\n secondary: \"#000000\",\n tertiary: \"#1a1a1a\",\n },\n};\n\nexport const getPPSVG = ({\n primary,\n secondary,\n tertiary,\n primaryOpacity = DEFAULT_OPACITY,\n secondaryOpacity = DEFAULT_OPACITY,\n tertiaryOpacity = DEFAULT_OPACITY,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"24\"\n height=\"32\"\n viewBox=\"0 0 24 32\"\n preserveAspectRatio=\"xMinYMin meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill={primary}\n opacity={primaryOpacity}\n d=\"M 20.924 7.157 C 21.204 5.057 20.924 3.657 19.801 2.357 C 18.583 0.957 16.43 0.257 13.716 0.257 L 5.758 0.257 C 5.29 0.257 4.729 0.757 4.634 1.257 L 1.358 23.457 C 1.358 23.857 1.639 24.357 2.107 24.357 L 6.975 24.357 L 6.694 26.557 C 6.6 26.957 6.881 27.257 7.255 27.257 L 11.375 27.257 C 11.844 27.257 12.311 26.957 12.405 26.457 L 12.405 26.157 L 13.247 20.957 L 13.247 20.757 C 13.341 20.257 13.809 19.857 14.277 19.857 L 14.84 19.857 C 18.864 19.857 21.954 18.157 22.89 13.157 C 23.358 11.057 23.172 9.357 22.048 8.157 C 21.767 7.757 21.298 7.457 20.924 7.157 L 20.924 7.157\"\n />\n <path\n fill={secondary}\n opacity={secondaryOpacity}\n d=\"M 20.924 7.157 C 21.204 5.057 20.924 3.657 19.801 2.357 C 18.583 0.957 16.43 0.257 13.716 0.257 L 5.758 0.257 C 5.29 0.257 4.729 0.757 4.634 1.257 L 1.358 23.457 C 1.358 23.857 1.639 24.357 2.107 24.357 L 6.975 24.357 L 8.286 16.057 L 8.192 16.357 C 8.286 15.757 8.754 15.357 9.315 15.357 L 11.655 15.357 C 16.243 15.357 19.801 13.357 20.924 7.757 C 20.831 7.457 20.924 7.357 20.924 7.157\"\n />\n <path\n fill={tertiary}\n opacity={tertiaryOpacity}\n d=\"M 9.504 7.157 C 9.596 6.857 9.784 6.557 10.065 6.357 C 10.251 6.357 10.345 6.257 10.532 6.257 L 16.711 6.257 C 17.461 6.257 18.208 6.357 18.772 6.457 C 18.958 6.457 19.146 6.457 19.333 6.557 C 19.52 6.657 19.707 6.657 19.801 6.757 C 19.894 6.757 19.987 6.757 20.082 6.757 C 20.362 6.857 20.643 7.057 20.924 7.157 C 21.204 5.057 20.924 3.657 19.801 2.257 C 18.677 0.857 16.525 0.257 13.809 0.257 L 5.758 0.257 C 5.29 0.257 4.729 0.657 4.634 1.257 L 1.358 23.457 C 1.358 23.857 1.639 24.357 2.107 24.357 L 6.975 24.357 L 8.286 16.057 L 9.504 7.157 Z\"\n />\n </svg>\n );\n};\n\nexport function PPLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.PP, PP_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PP}\n alt=\"PP\"\n role=\"presentation\"\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function PPLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getPPSVG(getLogoColors(LOGO.PP, PP_LOGO_COLORS, logoColor));\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PP}\n alt=\"PP\"\n role=\"presentation\"\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const PPLogo = PPLogoInlineSVG;\n\nexport const PPMONOCHROME_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.MONOCHROME]: {\n primary: \"#000000\",\n secondary: \"#000000\",\n tertiary: \"#000000\",\n },\n};\n\nexport const getPPMonochromeSVG = ({\n primary,\n secondary,\n tertiary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 155.21 183.56\"\n style=\"enable-background:new 0 0 155.21 183.56;\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill={primary}\n d=\"M60.82,38.11c1.48-0.71,3.06-1.07,4.71-1.07h44.72c5.57,0,10.73,0.38,15.35,1.12c1.36,0.22,2.69,0.47,3.98,0.76\n c1.3,0.29,2.57,0.61,3.79,0.97c0.61,0.18,1.22,0.37,1.82,0.57c0.6,0.2,1.16,0.43,1.73,0.65c0.91-12.22-2.51-20.75-8.41-27.27\n C119.88,4.28,104.66,0,85,0H31.88c-4.02,0-7.44,2.92-8.06,6.89L0.06,157.54c-0.47,2.97,1.83,5.66,4.84,5.66h31.29L54.76,46.24\n C55.32,42.7,57.58,39.66,60.82,38.11z \"\n />\n <path\n fill={secondary}\n d=\"M132.83,47.59c-0.51-0.17-1.03-0.33-1.56-0.48c-1.07-0.32-2.18-0.6-3.31-0.85c-1.15-0.26-2.34-0.48-3.55-0.68\n c-4.23-0.68-8.99-1.03-14.16-1.03H68.72c-1.1,0-2.15,0.25-3.08,0.7c-2.06,0.99-3.59,2.94-3.97,5.33l-7.5,47.68\n c0.8-0.14,1.64-0.24,2.56-0.24c10.04,0,16.74,0,16.74,0c8.88,0,16.81-1,23.82-3.01c17.72-5.09,29.64-16.63,35.61-34.96\n c1.32-4.06,2.29-7.81,2.97-11.32C134.9,48.33,133.88,47.94,132.83,47.59z \"\n />\n <path\n fill={tertiary}\n d=\"M148.21,56.27c-1.44-1.64-3.19-3.02-5.07-4.29c-4.63,22.39-18.44,53.91-70.2,53.91c-0.11,0-12.83-0.04-12.83-0.04\n c-4.02,0-7.41,2.92-8.03,6.89c0,0-9.97,62.79-10.46,66.09c-0.39,2.61,1.87,4.73,4.25,4.73h25.76c3.51,0,6.51-2.56,7.05-6.03\n l6.24-38.93c0.55-3.47,3.54-6.03,7.05-6.03h4.44c28.76,0,51.28-11.69,57.86-45.48c0.2-1,0.37-2.01,0.52-3.03\n C156.14,72.74,154.31,63.23,148.21,56.27z\"\n />\n </svg>\n );\n};\n\nexport function PPMonochromeExternalImage({\n logoColor = LOGO_COLOR.MONOCHROME,\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.PPMONOCHROME,\n PPMONOCHROME_LOGO_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo name={LOGO.PP} alt=\"PP\" logoColor={logoColor} cdnUrl={cdnUrl} />\n );\n}\n\nexport function PPMonochromeInlineSVG({\n logoColor = LOGO_COLOR.MONOCHROME,\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getPPMonochromeSVG(\n getLogoColors(LOGO.PPMONOCHROME, PPMONOCHROME_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n name={LOGO.PP}\n alt=\"PP\"\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const PPMonochrome = PPMonochromeInlineSVG;\n","import { PayPalLogo, PPLogo, PPMonochrome, LOGO_COLOR } from '@paypal/sdk-logos/src';\nimport { html } from '@krakenjs/jsx-pragmatic/src';\n\nfunction getSrc(component) {\n return component\n .render(html())\n .match(/src=\"(data:image/svg\\+xml;base64,[a-zA-Z0-9=+]*)\"/)[1]\n .replace('/', '/');\n}\n\nfunction getPPLogoBase64(logoColor) {\n return getSrc(PayPalLogo({ logoColor }));\n}\n\nfunction getPPMonogramBase64(logoColor) {\n if (logoColor === 'monochrome') {\n return getSrc(PPMonochrome({ logoColor }));\n }\n return getSrc(PPLogo({ logoColor }));\n}\n\nexport default {\n PP_PAYPAL: {\n COLOR: [\n {\n src: getPPMonogramBase64(LOGO_COLOR.DEFAULT),\n dimensions: [24, 32]\n },\n {\n src: getPPLogoBase64(LOGO_COLOR.DEFAULT),\n dimensions: [100, 32]\n }\n ],\n WHITE: [\n {\n src: getPPMonogramBase64(LOGO_COLOR.WHITE),\n dimensions: [24, 32]\n },\n {\n src: getPPLogoBase64(LOGO_COLOR.WHITE),\n dimensions: [100, 32]\n }\n ],\n GRAYSCALE: [\n {\n src: getPPMonogramBase64(LOGO_COLOR.BLACK),\n dimensions: [24, 32]\n },\n {\n src: getPPLogoBase64(LOGO_COLOR.BLACK),\n dimensions: [100, 32]\n }\n ],\n MONOCHROME: [\n {\n src: getPPMonogramBase64(LOGO_COLOR.MONOCHROME),\n dimensions: [24, 32]\n },\n {\n src: getPPLogoBase64(LOGO_COLOR.MONOCHROME),\n dimensions: [100, 32]\n }\n ]\n },\n NO_PP_MONOGRAM: {\n COLOR: {\n src: getPPLogoBase64(LOGO_COLOR.DEFAULT),\n dimensions: [100, 32]\n },\n WHITE: {\n src: getPPLogoBase64(LOGO_COLOR.WHITE),\n dimensions: [100, 32]\n },\n GRAYSCALE: {\n src: getPPLogoBase64(LOGO_COLOR.BLACK),\n dimensions: [100, 32]\n },\n MONOCHROME: {\n src: getPPLogoBase64(LOGO_COLOR.MONOCHROME),\n dimensions: [100, 32]\n }\n }\n};\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const SEPA_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n main: \"#005DA0\",\n card: \"#AEB1BC\",\n },\n [LOGO_COLOR.WHITE]: {\n main: \"#FFFFFF\",\n card: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n main: \"#333030\",\n card: \"#333030\",\n },\n};\n\nexport const getSepaSVG = ({ main, card }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"100\"\n height=\"32\"\n viewBox=\"0 0 100 32\"\n preserveAspectRatio=\"xMinYMin meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill={main}\n d=\"M 39.871 18.772 C 37.78 18.772 35.843 18.278 34.272 17.425 L 34.81 13.935 C 36.409 14.769 38.051 15.263 39.826 15.263 C 41.809 15.263 42.661 14.544 42.661 13.284 C 42.661 10.45 34.34 11.641 34.34 5.59 C 34.34 2.53 36.319 0.055 40.885 0.055 C 42.639 0.055 44.549 0.416 45.946 0.999 L 45.474 4.395 C 43.989 3.926 42.481 3.633 41.108 3.633 C 38.86 3.633 38.275 4.395 38.275 5.364 C 38.275 8.175 46.598 6.895 46.598 13.013 C 46.576 16.569 44.101 18.772 39.871 18.772 Z\"\n />\n <path\n fill={main}\n d=\"M 62.233 14.881 L 62.233 18.413 L 49.951 18.413 L 49.951 0.345 L 62.233 0.345 L 62.233 3.946 L 54.022 3.946 L 54.022 7.549 L 60.705 7.549 L 60.705 10.787 L 54.022 10.787 L 54.022 14.905 L 62.233 14.905 Z\"\n />\n <path\n fill={main}\n d=\"M 72.313 12.565 L 69.905 12.565 L 69.905 18.437 L 65.834 18.437 L 65.834 0.345 L 72.313 0.345 C 77.328 0.345 79.376 2.328 79.376 6.534 C 79.376 10.361 77.355 12.565 72.313 12.565 Z M 72.313 3.766 L 69.905 3.766 L 69.905 9.302 L 72.313 9.302 C 74.314 9.302 75.194 8.808 75.194 6.534 C 75.194 4.352 74.428 3.766 72.313 3.766 Z\"\n />\n <path\n fill={main}\n d=\"M 91.797 14.924 L 85.246 14.924 L 84.234 18.437 L 79.939 18.437 L 86.193 0.345 L 91.031 0.345 L 97.352 18.437 L 92.808 18.437 L 91.797 14.924 Z M 88.04 5.318 L 86.238 11.506 L 90.85 11.506 L 89.118 5.318 L 88.645 3.408 L 88.578 3.408 L 88.04 5.318 Z\"\n />\n <path\n fill={main}\n d=\"M 39.736 30.157 L 39.692 31.867 L 34.382 31.867 L 34.382 23.475 L 36.299 23.475 L 36.299 30.157 L 39.736 30.157 Z\"\n />\n <path\n fill={main}\n d=\"M 44.798 31.215 L 44.778 31.215 C 44.371 31.71 43.722 31.977 42.931 31.977 C 41.648 31.977 40.818 31.257 40.818 29.727 C 40.818 28.468 41.695 27.613 43.222 27.613 C 43.722 27.613 44.168 27.68 44.527 27.796 L 44.527 27.411 C 44.527 26.736 44.168 26.421 43.244 26.421 C 42.505 26.421 42.007 26.534 41.382 26.782 L 41.245 25.387 C 41.919 25.095 42.707 24.936 43.563 24.936 C 45.563 24.936 46.263 25.792 46.263 27.658 L 46.263 31.867 L 44.933 31.867 L 44.798 31.215 Z M 44.549 28.966 C 44.393 28.896 44.056 28.828 43.583 28.828 C 42.819 28.828 42.46 29.12 42.46 29.727 C 42.46 30.38 42.842 30.63 43.427 30.63 C 44.012 30.63 44.549 30.271 44.549 29.842 L 44.549 28.966 Z\"\n />\n <path\n fill={main}\n d=\"M 50.02 32.002 C 49.21 32.002 48.466 31.842 47.883 31.529 L 48.062 30.088 C 48.625 30.405 49.41 30.561 49.996 30.561 C 50.693 30.561 50.986 30.29 50.986 29.887 C 50.986 28.807 47.84 29.436 47.84 27.051 C 47.84 25.838 48.667 24.959 50.403 24.959 C 51.075 24.959 51.752 25.095 52.336 25.32 L 52.201 26.736 C 51.64 26.512 50.897 26.396 50.381 26.396 C 49.816 26.396 49.503 26.625 49.503 26.961 C 49.503 27.995 52.603 27.366 52.603 29.707 C 52.603 31.101 51.862 32.002 50.02 32.002 Z\"\n />\n <path\n fill={main}\n d=\"M 56.026 26.375 L 56.026 29.842 C 56.026 30.36 56.295 30.582 56.836 30.582 C 57.014 30.582 57.239 30.561 57.374 30.514 L 57.464 31.776 C 57.239 31.888 56.789 31.956 56.295 31.956 C 54.946 31.956 54.27 31.169 54.27 29.887 L 54.27 26.352 L 53.506 26.352 L 53.506 25.095 L 54.337 25.095 L 54.631 23.562 L 56.002 23.451 L 56.002 25.116 L 57.51 25.116 L 57.51 26.421 L 56.026 26.421 Z\"\n />\n <path\n fill={main}\n d=\"M 60.885 32.002 C 60.073 32.002 59.331 31.842 58.748 31.529 L 58.929 30.088 C 59.49 30.405 60.275 30.561 60.862 30.561 C 61.561 30.561 61.851 30.29 61.851 29.887 C 61.851 28.807 58.702 29.436 58.702 27.051 C 58.702 25.838 59.534 24.959 61.269 24.959 C 61.943 24.959 62.615 25.095 63.203 25.32 L 63.069 26.736 C 62.505 26.512 61.764 26.396 61.246 26.396 C 60.681 26.396 60.367 26.625 60.367 26.961 C 60.367 27.995 63.47 27.366 63.47 29.707 C 63.47 31.101 62.729 32.002 60.885 32.002 Z\"\n />\n <path\n fill={main}\n d=\"M 69.365 26.736 C 69.028 26.625 68.603 26.534 68.22 26.534 C 66.958 26.534 66.53 27.051 66.53 28.49 C 66.53 29.954 67.116 30.514 68.174 30.514 C 68.623 30.514 69.05 30.425 69.41 30.271 L 69.525 31.616 C 69.119 31.867 68.511 32.002 67.792 32.002 C 65.787 32.002 64.732 30.854 64.732 28.49 C 64.732 26.242 65.653 24.981 67.835 24.981 C 68.397 24.981 69.05 25.095 69.479 25.276 L 69.365 26.736 Z\"\n />\n <path\n fill={main}\n d=\"M 75.078 31.867 L 75.078 27.546 C 75.078 26.849 74.743 26.491 74.001 26.491 C 73.508 26.491 73.055 26.714 72.855 27.008 L 72.855 31.867 L 71.122 31.867 L 71.122 23.16 L 72.855 23.069 L 72.855 24.622 L 72.83 25.52 L 72.855 25.545 C 73.348 25.116 73.979 24.959 74.541 24.959 C 75.98 24.959 76.812 25.926 76.812 27.546 L 76.812 31.867 L 75.078 31.867 Z\"\n />\n <path\n fill={main}\n d=\"M 78.658 31.867 L 78.658 25.139 L 80.052 25.072 L 80.21 26.199 L 80.231 26.199 C 80.66 25.387 81.313 24.981 82.098 24.981 C 82.39 24.981 82.663 25.028 82.84 25.072 L 82.731 26.782 C 82.528 26.714 82.257 26.667 81.985 26.667 C 81.088 26.667 80.413 27.321 80.413 28.468 L 80.413 31.867 L 78.658 31.867 Z\"\n />\n <path\n fill={main}\n d=\"M 85.382 24.35 C 84.708 24.35 84.395 24.172 84.395 23.609 C 84.395 23.136 84.708 22.867 85.382 22.867 C 86.058 22.867 86.375 23.113 86.375 23.609 C 86.354 24.105 86.058 24.35 85.382 24.35 Z M 84.484 31.867 L 84.484 25.139 L 86.259 25.072 L 86.259 31.888 L 84.484 31.888 Z\"\n />\n <path\n fill={main}\n d=\"M 88.757 31.867 L 88.757 26.375 L 87.902 26.375 L 87.902 25.095 L 88.757 25.095 L 88.757 24.798 C 88.757 23.79 89.454 22.935 91.076 22.935 C 91.459 22.935 91.885 22.979 92.178 23.069 L 92.063 24.195 C 91.863 24.147 91.636 24.126 91.411 24.126 C 90.738 24.126 90.466 24.399 90.466 24.825 L 90.466 25.072 L 91.907 25.072 L 91.907 26.352 L 90.466 26.352 L 90.466 31.842 L 88.757 31.842 Z\"\n />\n <path\n fill={main}\n d=\"M 95.486 26.375 L 95.486 29.842 C 95.486 30.36 95.754 30.582 96.296 30.582 C 96.473 30.582 96.698 30.561 96.834 30.514 L 96.924 31.776 C 96.698 31.888 96.249 31.956 95.754 31.956 C 94.406 31.956 93.729 31.169 93.729 29.887 L 93.729 26.352 L 92.965 26.352 L 92.965 25.095 L 93.798 25.095 L 94.09 23.562 L 95.461 23.451 L 95.461 25.116 L 96.969 25.116 L 96.969 26.421 L 95.486 26.421 Z\"\n />\n <path\n fill={card}\n d=\"M 20.357 8.826 L 15.368 5.081 L 10.379 1.334 C 10.033 1.074 9.54 1.146 9.281 1.493 L 4.883 7.322 C 4.811 7.409 4.768 7.51 4.754 7.624 C 4.68 7.93 4.782 8.248 5.043 8.45 L 8.022 10.677 L 12.042 13.698 L 15.021 15.926 C 15.281 16.13 15.629 16.13 15.888 15.97 C 15.991 15.912 16.062 15.854 16.136 15.752 L 20.531 9.91 C 20.763 9.578 20.706 9.087 20.357 8.826 Z M 10.047 1.769 L 13.012 3.995 L 13.012 3.995 L 15.021 5.5 L 17.046 7.017 L 17.046 7.017 L 20.025 9.245 C 20.142 9.332 20.156 9.491 20.082 9.607 L 19.374 10.591 L 16.005 8.058 L 12.36 5.326 L 8.976 2.809 L 9.684 1.826 C 9.772 1.709 9.931 1.682 10.047 1.769 Z M 15.673 15.463 C 15.629 15.507 15.585 15.536 15.528 15.55 C 15.469 15.564 15.398 15.55 15.339 15.507 L 12.345 13.265 L 8.34 10.257 L 5.361 8.001 C 5.302 7.958 5.275 7.9 5.259 7.842 C 5.259 7.785 5.259 7.726 5.302 7.669 L 6.113 6.585 C 6.113 6.585 7.009 5.427 7.791 4.386 L 11.16 6.917 L 14.804 9.65 L 18.173 12.181 C 17.393 13.222 16.496 14.379 16.496 14.379 L 15.673 15.463 Z\"\n />\n <g transform=\"matrix(0.144619, 0, 0, 0.144619, -7.250457, -3.988513)\">\n <path\n fill={main}\n d=\"M197.1,150.4l52-69.6l5.3-7c0,0,0.1-0.2,0.2-0.2c0.4-0.5,0.3-1.2-0.2-1.6l-14.7-10.7 			c-0.5-0.4-1.2-0.2-1.6,0.3c-0.1,0.1-0.2,0.2-0.2,0.2l-2,2.5l-64.3,86l-70.8,0l-26.5,87.4h177.1l-25-87.4L197.1,150.4z M79.1,234.3 			l24.2-80.5l65.7,0l-5.7,7.6l-8.1,11.3l-0.9,1.7l-0.9,1.9l-0.9,2.2l-0.9,2.3l-0.9,2.5l-0.9,2.5l-0.8,2.5l-0.8,2.4l-0.7,2.3 			l-0.7,2.1l-0.6,1.9l-0.4,1.6l-0.3,1.2l-0.3,0.7c0,0-0.1,0.2-0.2,0.4c-0.2,0.2-1.2,1.1-2,0.5c-0.8-0.6-0.7-2.6-0.6-3.6 			c0.2-3,0.5-6,0.7-8.9c0.1-1-1.2-1.6-2-1.2c-3.6,2.1-5.8,4.6-7.8,7.5c0.2-0.7,0.4-1.4,0.6-2c0.8-3.1,2-6.2,2.5-9.4 			c0.3-1.8-0.2-3.9-2.3-4.3c-2.4-0.4-3.9,2.1-5.1,3.7c-3.5,5-5.6,11.2-9.9,15.5c-1.6,1.6-3.5,2.8-5.8,2.1c-2.7-0.8-3.8,2.4,1,2.9 			c4.7,0.4,8.3-4.6,10.4-8.1c1.6-2.5,2.9-5.2,4.5-7.8c0.7-1.2,1.5-2.4,2.3-3.6c0.4-0.5,1-1.8,1.7-2c0.8-0.2,0.6,0.3,0.6,0.9 			c-0.1,1.5-0.7,3-1.1,4.5c-0.4,1.6-0.9,3.2-1.3,4.7c-0.9,3.4-1.8,6.8-2.8,10.1c-0.4,1.5,1.6,2.2,2.5,1c3.4-4.8,5.1-8.9,9.2-12.1 			c-0.1,1.1-0.2,2.1-0.3,3.2c-0.1,1.7-0.5,3.6-0.4,5.3c0.2,2.9,2.4,4.8,5.1,3.6c1.4-0.7,2.4-1.7,2.4-1.7l0.2-0.1l0.6-0.4l1-0.7 			l1.4-1l1.6-1.2l1.7-1.2l2.1-1.4l2.1-1.5l2.1-1.5l2.1-1.5l2-1.5l1.9-1.4l1.8-1.4l1.5-1.2l1.2-1.1l1-0.9l0-0.1l0,0l6.5-7.6 			l16.6-22.1l29.4,0l22.9,80.5H79.1z\"\n />\n <path\n fill={main}\n d=\"M261.1,77.1l-1.9-1.5c-0.4-0.3-0.9-0.2-1.2,0.2l-24.7,32.9c-0.3,0.4-0.2,0.9,0.2,1.2l1.9,1.5 			c0.4,0.3,0.9,0.2,1.2-0.2l24.7-32.9C261.5,77.9,261.5,77.4,261.1,77.1z\"\n />\n <polygon\n fill={main}\n points=\"161.7,217.2 210.9,217.2 209.9,213.3 161.7,213.3 113.6,213.3 112.5,217.2 		\"\n />\n </g>\n </svg>\n );\n};\n\nexport function SepaLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.SEPA, SEPA_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.SEPA}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function SepaLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getSepaSVG(getLogoColors(LOGO.SEPA, SEPA_LOGO_COLORS, logoColor));\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.SEPA}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const SepaLogo = SepaLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const SOFORT_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#EDEDED\",\n secondary: \"#393A41\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#000000\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#393A41\",\n secondary: \"#EDEDED\",\n },\n};\n\nexport const getSofortSVG = ({\n primary,\n secondary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"240\"\n height=\"90\"\n viewBox=\"0 0 240 90\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M225.023 90H0L14.9768 0H240L225.023 90Z\" fill={primary} />\n <path\n d=\"M74.0341 30C63.9253 30 56.2511 37.4603 56.2511 46.3492C56.2511 54.3915 62.5493 60 71.1232 60C81.232 60 88.8533 52.328 88.8533 43.4392C88.9062 35.3439 82.6081 30 74.0341 30ZM71.7583 52.4339C67.8948 52.4339 65.1956 49.8942 65.1956 45.9788C65.1956 41.6402 68.5299 37.5132 73.3461 37.5132C77.2097 37.5132 79.9089 40.1587 79.9089 44.0741C79.9618 48.4656 76.5746 52.4339 71.7583 52.4339Z\"\n fill={secondary}\n />\n <path\n d=\"M134.846 30C124.737 30 117.116 37.4603 117.116 46.3492C117.116 54.3915 123.414 60 131.988 60C142.096 60 149.718 52.328 149.718 43.4392C149.771 35.3439 143.473 30 134.846 30ZM132.623 52.4339C128.759 52.4339 126.06 49.8942 126.06 45.9788C126.06 41.6402 129.394 37.5132 134.211 37.5132C138.074 37.5132 140.773 40.1587 140.773 44.0741C140.773 48.4656 137.439 52.4339 132.623 52.4339Z\"\n fill={secondary}\n />\n <path\n d=\"M179.462 39.4709C179.462 34.0741 175.281 30.6349 167.66 30.6349H156.969L152.258 59.3651H161.256L162.737 50.3175H163.161L167.924 59.3651H178.245L171.629 49.3122C176.551 47.619 179.462 43.9683 179.462 39.4709ZM165.066 44.2328H163.743L164.749 38.2011H165.966C168.771 38.2011 170.253 39.0476 170.253 40.8995C170.253 43.0688 168.136 44.2328 165.066 44.2328Z\"\n fill={secondary}\n />\n <path\n d=\"M45.9306 42.1164C42.4904 40.3704 41.7495 39.9471 41.7495 38.9947C41.7495 37.8307 43.1256 37.2487 44.9779 37.2487C47.1479 37.2487 50.4293 37.5132 53.6577 40.582C54.4516 38.0952 55.7748 35.873 57.4684 33.9153C52.9168 31.3228 48.6827 30 44.8192 30C37.145 30 32.6992 34.127 32.6992 39.1005C32.6992 43.3862 35.9277 45.6085 39.7383 47.5661C43.1785 49.3122 44.0253 49.8942 44.0253 50.9524C44.0253 52.1164 42.5963 52.7513 40.691 52.7513C37.4096 52.7513 33.5989 50.6878 31.3231 48.5714L30 56.5608C32.3287 58.254 35.716 60 40.8498 60C48.7886 60 53.0756 55.9788 53.0756 50.8466C53.0756 46.6138 50.3234 44.3386 45.9306 42.1164Z\"\n fill={secondary}\n />\n <path\n d=\"M112.617 43.2275H102.032L102.879 38.2011H114.205C115.687 35.1852 117.962 32.5926 120.767 30.6349H102.243C98.1153 30.6349 94.6222 33.4392 94.04 37.2487L90.441 59.418H99.4384L100.92 50.3704H111.611L112.405 45.4497C112.458 44.6561 112.511 43.9683 112.617 43.2275Z\"\n fill={secondary}\n />\n <path\n d=\"M179.674 30.6349C182.108 32.4868 183.59 35.0794 183.908 38.2011H191.423L187.983 59.3651H196.98L200.42 38.2011H208.783L210 30.6349H179.674Z\"\n fill={secondary}\n />\n </svg>\n );\n};\n\nexport function SofortLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.SOFORT, SOFORT_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.SOFORT}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function SofortLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getSofortSVG(\n getLogoColors(LOGO.SOFORT, SOFORT_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.SOFORT}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const SofortLogo = SofortLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const VENMO_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#3D93CE\",\n },\n [LOGO_COLOR.BLUE]: {\n primary: \"#3D93CE\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#ffffff\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#333030\",\n },\n};\n\nexport const getVenmoSVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"101\"\n height=\"32\"\n viewBox=\"0 0 101 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"xMinYMin meet\"\n >\n <g\n id=\"Page-1\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <g id=\"Blue\" fill={primary}>\n <g id=\"Logo\" transform=\"translate(0.000000, 6.000000)\">\n <path d=\"M16.6660484,0.18 C17.3466626,1.3390991 17.6535069,2.53297297 17.6535069,4.04108108 C17.6535069,8.85117117 13.671346,15.0998198 10.439346,19.4875676 L3.05725952,19.4875676 L0.0966314879,1.23315315 L6.56045675,0.60036036 L8.12578201,13.5895495 C9.58835986,11.1326126 11.3932543,7.27153153 11.3932543,4.6390991 C11.3932543,3.1981982 11.1538599,2.21675676 10.7797405,1.40864865 L16.6660484,0.18 Z M24.9071592,11.6938739 C24.9071592,13.8367568 26.062718,14.6774775 27.5946678,14.6774775 C29.2629152,14.6774775 30.860218,14.2571171 32.9363097,13.1691892 L32.154346,18.6445045 C30.6915934,19.3814414 28.4119291,19.8731532 26.1991903,19.8731532 C20.5863512,19.8731532 18.5775346,16.3632432 18.5775346,11.9753153 C18.5775346,6.28810811 21.8451817,0.249369369 28.5819516,0.249369369 C32.2909931,0.249369369 34.3649879,2.39207207 34.3649879,5.37567568 C34.3653374,10.1855856 28.3783789,11.6590991 24.9071592,11.6938739 Z M25.0434567,8.2181982 C26.2329152,8.2181982 29.2274429,7.65711712 29.2274429,5.90216216 C29.2274429,5.05945946 28.6495761,4.6390991 27.9686125,4.6390991 C26.7772318,4.6390991 25.2138287,6.11225225 25.0434567,8.2181982 Z M53.0187093,4.4636036 C53.0187093,5.16558559 52.9154377,6.18378378 52.8126903,6.84918919 L50.8730709,19.4873874 L44.5790934,19.4873874 L46.3483408,7.90216216 C46.381891,7.58792793 46.4849879,6.95531532 46.4849879,6.60432432 C46.4849879,5.76162162 45.9743962,5.55135135 45.3605329,5.55135135 C44.5451938,5.55135135 43.7279325,5.93711712 43.1836159,6.21873874 L41.1768962,19.4875676 L34.8474464,19.4875676 L37.7390519,0.565945946 L43.2171661,0.565945946 L43.2865381,2.07621622 C44.5789187,1.19873874 46.2807163,0.24972973 48.6952803,0.24972973 C51.8942543,0.249369369 53.0187093,1.93495495 53.0187093,4.4636036 Z M71.7037093,2.32072072 C73.5063322,0.988108108 75.2084792,0.249369369 77.5554187,0.249369369 C80.7872439,0.249369369 81.9113495,1.93495495 81.9113495,4.4636036 C81.9113495,5.16558559 81.8084273,6.18378378 81.7056799,6.84918919 L79.7683322,19.4873874 L73.4726073,19.4873874 L75.2755796,7.6572973 C75.3087803,7.34108108 75.3785017,6.95531532 75.3785017,6.71063063 C75.3785017,5.7618018 74.8677353,5.55135135 74.2540467,5.55135135 C73.4722578,5.55135135 72.6908183,5.90234234 72.1106799,6.21873874 L70.1043097,19.4875676 L63.8101574,19.4875676 L65.6131298,7.65747748 C65.6463304,7.34126126 65.713955,6.9554955 65.713955,6.71081081 C65.713955,5.76198198 65.2030138,5.55153153 64.5914221,5.55153153 C63.7743356,5.55153153 62.9588218,5.9372973 62.4145052,6.21891892 L60.4062128,19.4877477 L54.0788599,19.4877477 L56.9701159,0.566126126 L62.3813045,0.566126126 L62.551327,2.14576577 C63.8101574,1.1990991 65.5105571,0.25009009 67.7900467,0.25009009 C69.7637405,0.249369369 71.0559464,1.12702703 71.7037093,2.32072072 Z M83.55059,11.7998198 C83.55059,5.83279279 86.6120433,0.249369369 93.6558322,0.249369369 C98.9633997,0.249369369 100.903543,3.47981982 100.903543,7.93873874 C100.903543,13.8365766 97.8751159,19.9443243 90.6614792,19.9443243 C85.3196626,19.9443243 83.55059,16.3281081 83.55059,11.7998198 Z M94.4374464,7.83279279 C94.4374464,6.28810811 94.0628028,5.23495495 92.9409689,5.23495495 C90.4570329,5.23495495 89.9469654,9.76306306 89.9469654,12.0794595 C89.9469654,13.8367568 90.4238322,14.9243243 91.5453166,14.9243243 C93.8931298,14.9243243 94.4374464,10.149009 94.4374464,7.83279279 Z\" />\n </g>\n </g>\n </g>\n </svg>\n );\n};\n\nexport function VenmoLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.VENMO, VENMO_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.VENMO}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function VenmoLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getVenmoSVG(\n getLogoColors(LOGO.VENMO, VENMO_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.VENMO}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const VenmoLogo = VenmoLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const ITAU_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#ffffff\",\n },\n [LOGO_COLOR.BLUE]: {\n primary: \"#003087\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#ffffff\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#333030\",\n },\n};\n\nexport const getItauSVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n version=\"1.1\"\n id=\"Layer_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 181 33\"\n preserveAspectRatio=\"xMinYMin meet\"\n >\n <path\n fill=\"#FF7900\"\n d=\"M136.5,5.6L153,1.8c2.2-0.5,4.4,0.8,5,2.9l4,15.2c0.5,2.1-0.8,4.2-3,4.7l-16.5,3.8c-2.2,0.5-4.4-0.8-5-2.9\n l-4-15.2C132.8,8.3,134.2,6.1,136.5,5.6z\"\n />\n <path\n fill=\"#004995\"\n d=\"M144.5,6.1h10.1c1.5,0,2.7,1.2,2.7,2.5v9.7c0,1.3-1.2,2.5-2.7,2.5h-10.1c-1.5,0-2.7-1.2-2.7-2.5V8.6\n C141.9,7.2,143.1,6.1,144.5,6.1z\"\n />\n <path\n fill={primary}\n d=\"M108.2,19.9c-0.1-1-0.5-1.9-1.1-2.8c-1.1-1.3-2.8-2-4.6-1.9c-1.6,0.1-3.9,0.3-5.3,1.3L98,19\n c0,0,1.3-1.1,3.9-1.1c1.1,0,2.1,0.6,2.3,1.3v0.2c-1.4,0-5.7,0.3-7.4,2.8c-2,3,1.1,5.8,3.1,5.8c1.6,0,3.2,0.1,4.6-1.3l0.2,1.1h3.4\n v-7.3c0-0.1,0-0.2,0-0.2L108.2,19.9L108.2,19.9z M100.4,24.1c0.2-1.8,2.7-1.9,3.9-1.9v2.1C103,26,100.2,25.8,100.4,24.1z\"\n />\n <path\n fill={primary}\n d=\"M95.2,16.1c0,0-7.6-2-10,3c-1.3,2.8-0.7,5.7,0.8,7.3c0.7,0.7,1.6,1.2,2.6,1.5c2,0.6,5.4,0.4,6.5-0.2l-0.4-2.8\n c0,0-3.4,1.1-5.2-0.6c-2.2-2.2-0.2-5.7,2.1-5.7c2.3,0,3.1,0.4,3.1,0.4L95.2,16.1z\"\n />\n <rect fill={primary} x=\"42.3\" y=\"11.7\" width=\"3.9\" height=\"16.3\" />\n <path\n fill={primary}\n d=\"M55.7,18.7v-3h-2.1v-4.1h-3.9v4.1h-2v3h2v6.2c0,1.7,1.3,3,3,3l0,0h3.1v-3h-1.1c-0.7,0-1.1-0.5-1.1-1.1l0,0v-5.2\n L55.7,18.7L55.7,18.7z\"\n />\n <path\n fill={primary}\n d=\"M69,19.9c-0.1-1-0.5-1.9-1.1-2.8c-1.2-1.3-2.8-2-4.6-1.9c-1.6,0.1-3.9,0.3-5.3,1.3l0.8,2.5c0,0,1.3-1.1,3.9-1.1\n c1.1,0,2.1,0.6,2.3,1.3v0.2c-1.4,0-5.8,0.3-7.4,2.8c-2,3,1.1,5.8,3.1,5.8c1.6,0,3.2,0.1,4.6-1.3l0.2,1.1H69V19.9L69,19.9z\n M61.1,24.1c0.2-1.8,2.7-1.9,3.9-1.9v2.1C63.8,26,60.9,25.8,61.1,24.1L61.1,24.1z\"\n />\n <path\n fill={primary}\n d=\"M79.1,15.7v7.2c0,0.3-0.1,0.5-0.2,0.7c-0.5,0.7-1.1,1.3-2,1.3c-0.9,0.1-1.8-0.5-2.1-1.3\n c-0.1-0.2-0.1-0.4-0.1-0.6v-7.3h-3.9V24c0,2.1,1.8,4.1,3.9,4.1c3.9,0.2,4.6-1.8,4.6-1.8v-0.1l0.4,1.5H83V15.6L79.1,15.7z\"\n />\n <rect fill=\"#FFF100\" x=\"143.1\" y=\"13.5\" width=\"1.2\" height=\"5\" />\n <path\n fill=\"#FFF100\"\n d=\"M147.3,15.7v-0.9h-0.7v-1.3h-1.2v1.3h-0.6v0.9h0.6v1.9c0,0.5,0.4,0.9,1,0.9h1v-0.9H147c-0.2,0-0.4-0.2-0.4-0.3\n l0,0v-1.6C146.6,15.7,147.3,15.7,147.3,15.7z\"\n />\n <path\n fill=\"#FFF100\"\n d=\"M151.6,16c0-0.3-0.2-0.6-0.4-0.8c-0.4-0.4-0.9-0.6-1.5-0.6s-1.1,0.2-1.7,0.4l0.3,0.8c0.4-0.3,0.8-0.3,1.2-0.3\n c0.3,0,0.6,0.2,0.7,0.3v0.1c-0.4,0-1.9,0.1-2.3,0.8c-0.4,0.6-0.2,1.3,0.4,1.6c0.2,0.1,0.4,0.2,0.5,0.2c0.5,0.1,1.1-0.1,1.5-0.3\n l0.1,0.3h1.1L151.6,16L151.6,16z M149.1,17.3c0.1-0.6,0.9-0.6,1.2-0.6v0.7C149.9,17.9,149,17.8,149.1,17.3L149.1,17.3z\"\n />\n <path\n fill=\"#FFF100\"\n d=\"M154.8,14.8V17c-0.1,0.3-0.4,0.4-0.7,0.5c-0.4,0-0.6-0.2-0.7-0.5v-2.3h-1.2v2.5c0,0.7,0.5,1.2,1.2,1.3\n c1.2,0.1,1.5-0.5,1.5-0.5l0,0l0.2,0.4h1.1v-3.8L154.8,14.8L154.8,14.8z\"\n />\n <path\n fill={primary}\n d=\"M113.5,17.9l-0.2-2.1H110V28h3.9v-6.8c0.4-0.8,1.2-2.1,3.4-2.1v-3.6C115.9,15.4,114.4,16.3,113.5,17.9z\"\n />\n <path\n fill={primary}\n d=\"M128.1,10.4v6.4c-0.7-0.6-1.7-1.4-3.7-1.4c-3.6,0-6.1,3.2-6.1,6.8c-0.1,3.2,2.6,5.9,5.9,6\n c1.5-0.1,3-0.6,4.2-1.4L129,28h3.1V10.5L128.1,10.4L128.1,10.4z M125.4,25.1c-2.3,0-2.8-1.9-2.8-3.4s0.7-3.2,2.8-3.2\n c1.3,0,2.1,0.9,2.7,1.8v3C127.5,24.1,126.6,25.1,125.4,25.1z\"\n />\n <polygon\n fill=\"#FFF100\"\n points=\"154.6,14.4 153.5,14.4 154.4,13.5 155.7,13.5 \"\n />\n <line fill=\"none\" x1=\"35.6\" y1=\"8.3\" x2=\"35.6\" y2=\"28.2\" />\n <rect fill=\"#D8D8D8\" x=\"22.4\" y=\"32.2\" width=\"0.1\" height=\"0.1\" />\n <path\n fill={primary}\n opacity=\"0.7\"\n enable-background=\"new \"\n d=\"M25.3,12.9c0.2-1.6,0-2.6-0.9-3.7s-2.6-1.5-4.6-1.5h-6.1c-0.4,0-0.8,0.3-0.9,0.8l-2.5,16.8\n c-0.1,0.4,0.1,0.7,0.5,0.7h3.8l-0.3,1.7c-0.1,0.2,0.2,0.5,0.4,0.5H18c0.4,0,0.6-0.3,0.7-0.7l0.1-0.2l0.6-3.9l0.1-0.2\n c0.1-0.5,0.4-0.7,0.7-0.7h0.5c3.1,0,5.4-1.4,6.1-5.1c0.3-1.6,0.1-2.9-0.6-3.8C25.9,13.4,25.6,13.1,25.3,12.9L25.3,12.9\"\n />\n <path\n fill={primary}\n opacity=\"0.7\"\n enable-background=\"new \"\n d=\"M25.3,12.9c0.2-1.6,0-2.6-0.9-3.7s-2.6-1.5-4.6-1.5h-6.1c-0.4,0-0.8,0.3-0.9,0.8l-2.5,16.8\n c-0.1,0.4,0.1,0.7,0.5,0.7h3.8l0.9-6.3l-0.1,0.2c0.1-0.5,0.4-0.8,0.9-0.8h1.8c3.5,0,6.2-1.5,7-5.8C25.2,13.2,25.2,13,25.3,12.9\"\n />\n <path\n fill={primary}\n d=\"M16.6,12.9c0-0.2,0.1-0.5,0.4-0.6c0.1,0,0.2-0.1,0.3-0.1h4.8c0.6,0,1.1,0.1,1.6,0.1c0.1,0,0.2,0,0.4,0.1\n c0.1,0.1,0.2,0.1,0.4,0.2c0.1,0,0.1,0,0.2,0.1c0.2,0.1,0.4,0.2,0.6,0.2c0.2-1.6,0-2.6-0.9-3.6c-0.9-1.1-2.6-1.6-4.6-1.6h-6.1\n c-0.4,0-0.8,0.4-0.9,0.8l-2.5,16.8c-0.1,0.4,0.1,0.7,0.5,0.7h3.8l0.9-6.3L16.6,12.9z\"\n />\n <g\n transform=\"matrix(0.379173, 0, 0, 0.397443, 9.686229, 4.778377)\"\n opacity=\"0.2\"\n >\n <path\n fill=\"#231F20\"\n d=\"M41.1,20.5c0.9,0.5,1.7,1.1,2.3,1.8c1,1.1,1.6,2.5,1.9,4.1c0.3-3.2-0.2-5.8-1.9-7.8c-0.6-0.7-1.3-1.2-2.1-1.7\n C41.3,18,41.3,19.2,41.1,20.5z\"\n />\n <path\n fill=\"#231F20\"\n d=\"M2.2,49L8.5,9.4c0.1-1.1,1.1-1.9,2.2-1.9h16c5.5,0,9.8,1.2,12.2,3.9c1.2,1.4,1.9,3,2.2,4.8\n c0.4-3.6-0.2-6.1-2.2-8.4c-2.4-2.8-6.7-4-12.2-4h-16c-1.1,0-2.1,0.8-2.3,1.9L1.8,47.9C1.8,48.3,1.9,48.7,2.2,49z\"\n />\n <path\n fill=\"#231F20\"\n d=\"M12.5,53.2l-0.1,0.6c-0.1,0.4,0.1,0.8,0.4,1.1l0.3-1.7C13.1,53.2,12.5,53.2,12.5,53.2z\"\n />\n </g>\n <rect fill={primary} x=\"35.5\" y=\"6.7\" width=\"1.1\" height=\"21.5\" />\n </svg>\n );\n};\n\nexport function ItauLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.ITAU, ITAU_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.ITAU}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function ItauLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getItauSVG(getLogoColors(LOGO.ITAU, ITAU_LOGO_COLORS, logoColor));\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.ITAU}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const ItauLogo = ItauLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const WECHATPAY_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#1AAD19\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#1AAD19\",\n secondary: \"#4D4D4D\",\n },\n};\n\nexport const getWechatpaySVG = ({\n primary,\n secondary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"106\"\n height=\"20\"\n viewBox=\"0 0 106 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M104.669 7.03906L102.609 12.6109C102.419 13.1141 102.258 13.6046 102.115 14.0378C102.081 14.1417 102.048 14.242 102.016 14.3378C101.847 13.783 101.641 13.1689 101.451 12.663L99.2509 7.08464L99.2329 7.03906H98.1884L101.335 15.0446C101.418 15.2538 101.435 15.3482 101.435 15.3905C101.435 15.4686 101.4 15.5722 101.336 15.7355C100.91 16.7646 100.35 17.4597 99.9556 17.8607C99.4107 18.3951 98.8182 18.6702 98.5134 18.7866L98.4554 18.8086L98.9065 19.6037C99.1298 19.5174 99.6888 19.2679 100.314 18.7318C101.403 17.7646 102.1 16.2735 103.161 13.4991L105.715 7.03906H104.669Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M96.353 12.9034C96.353 13.0306 96.3389 13.2185 96.2696 13.3952C96.0015 14.1959 95.2276 15.0513 93.8583 15.0513C93.1183 15.0513 92.2538 14.6051 92.2538 13.3474C92.2538 12.811 92.4285 12.3664 92.7726 12.026C93.3673 11.4378 94.4634 11.1405 96.0344 11.1405C96.1385 11.1405 96.2448 11.1418 96.353 11.1444V12.9034ZM97.4552 15.6277C97.3489 14.9582 97.3341 14.2641 97.3341 13.6139V10.2742C97.3341 8.02998 96.3073 6.84375 94.3645 6.84375C93.5297 6.84375 92.6427 7.09785 91.9626 7.52375L92.3608 8.22539C92.895 7.88703 93.5668 7.70014 94.2781 7.70014C94.2885 7.70014 94.2981 7.69982 94.3081 7.69982C94.9283 7.69982 95.4142 7.87293 95.7528 8.21424C96.1568 8.62178 96.353 9.24932 96.353 10.1323V10.2897C94.3068 10.2726 92.8412 10.7001 92.0038 11.5441C91.4954 12.0559 91.238 12.7103 91.238 13.4897C91.238 14.6542 92.0306 15.9077 93.771 15.9077C95.0379 15.9077 95.9616 15.2392 96.4384 14.5729L96.5518 15.7119H97.4688L97.4552 15.6277Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M90.1324 7.02325C90.1324 8.83997 88.9306 9.88161 86.8348 9.88161C86.3914 9.88161 85.8337 9.86325 85.4049 9.72423V4.4885C85.6092 4.44718 86.1398 4.3603 86.9917 4.3603C88.9876 4.3603 90.1324 5.33079 90.1324 7.02325ZM87.0268 3.50391C86.1807 3.50391 85.3247 3.58194 84.4828 3.73604L84.4238 3.74686V15.7121H85.4049V10.6183C85.7883 10.717 86.2146 10.7377 86.7648 10.7377C88.2737 10.7377 89.5205 10.2557 90.2741 9.38161C90.8389 8.75145 91.1131 7.95079 91.1131 6.9344C91.1131 5.94718 90.7916 5.118 90.1839 4.53735C89.5015 3.86128 88.4096 3.50391 87.0268 3.50391Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M79.9278 14.965C79.756 15.0021 79.516 15.0329 79.1867 15.0329C78.4016 15.0329 78.0362 14.4971 78.0362 13.347V7.87715H80.4278V7.03846H78.0362V5.12305H77.0548V7.03846H75.6411V7.87715H77.0548V13.1873C77.0548 14.1729 77.232 14.8568 77.5942 15.2752C77.9122 15.6886 78.4264 15.907 79.0817 15.907C79.5498 15.907 79.9529 15.8332 80.2802 15.6876L80.326 15.667L79.9278 14.965Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M73.8402 12.9034C73.8402 13.0306 73.8257 13.2188 73.7564 13.3952C73.4887 14.1959 72.7148 15.0513 71.3451 15.0513C70.6054 15.0513 69.741 14.6051 69.741 13.3474C69.741 12.811 69.9156 12.3664 70.2597 12.026C70.8544 11.4378 71.9505 11.1405 73.5215 11.1405C73.6256 11.1405 73.7319 11.1418 73.8402 11.1444V12.9034ZM74.9424 15.6277C74.8357 14.9585 74.8209 14.2644 74.8209 13.6139V10.2742C74.8209 8.02998 73.7941 6.84375 71.8516 6.84375C70.9769 6.84375 70.0419 7.12047 69.3511 7.58408L69.3472 7.5867L69.7471 8.29096C70.2964 7.91064 71.0088 7.70014 71.7649 7.70014C71.7749 7.70014 71.7849 7.69982 71.7949 7.69982C72.4154 7.69982 72.9013 7.87293 73.2399 8.21457C73.6436 8.62178 73.8402 9.24932 73.8402 10.1323V10.2897C71.7856 10.2726 70.3283 10.7001 69.4909 11.5441C68.9825 12.0559 68.7251 12.7103 68.7251 13.4897C68.7251 14.6542 69.5177 15.9077 71.2581 15.9077C72.525 15.9077 73.4487 15.2388 73.9255 14.5729L74.039 15.7119H74.9559L74.9424 15.6277Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M64.326 6.84402C63.7022 6.84402 63.1033 7.01976 62.5971 7.3509C62.1802 7.59353 61.8013 7.97844 61.5345 8.425V3.39746H60.5535V15.7122H61.5345V10.4342C61.5345 10.0889 61.5503 9.86566 61.6351 9.60599C62.0204 8.50467 63.0334 7.73582 64.0992 7.73582C66.0416 7.73582 66.3319 9.52664 66.3319 10.5942V15.7122H67.313V10.5053C67.313 7.02074 64.8247 6.84402 64.326 6.84402\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M56.0156 15.0158C52.9451 15.0158 51.1119 13.044 51.1119 9.7414C51.1119 6.31648 52.9973 4.27156 56.1554 4.27156C57.0314 4.27156 57.8543 4.43943 58.4884 4.74271L58.9327 3.95976L58.8956 3.9391C58.6685 3.81189 57.7976 3.39746 56.138 3.39746C52.524 3.39746 50.096 5.93976 50.096 9.72369C50.096 14.2748 53.1346 15.8899 55.7362 15.8899C57.2161 15.8899 58.3643 15.5739 58.9456 15.2781L58.9897 15.2555L58.5641 14.5053C57.8823 14.825 56.939 15.0158 56.0156 15.0158\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M45.3159 7.69982C46.0093 7.69982 46.5693 7.91523 46.9804 8.34014C47.6502 9.03162 47.7391 10.0598 47.7411 10.5385H42.587C42.7706 9.21031 43.5871 7.69982 45.3159 7.69982ZM47.8725 14.5831C47.385 14.8126 46.7668 15.0156 45.6652 15.0156C43.7008 15.0156 42.5657 13.6841 42.5425 11.3595H48.7079L48.7202 11.3024C48.7569 11.1346 48.7569 11.0057 48.7569 10.7713C48.7569 10.4493 48.7124 9.32309 48.1422 8.34703C47.5593 7.34932 46.6437 6.84375 45.4206 6.84375C43.1225 6.84375 41.5786 8.729 41.5786 11.5356C41.5786 14.1398 43.1785 15.8897 45.5602 15.8897C47.0777 15.8897 47.9334 15.4978 48.2311 15.3297L48.2804 15.3018L47.8725 14.5831Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M38.6457 10.3793C38.5651 10.6731 38.4859 10.9587 38.4085 11.237C38.107 12.3216 37.8431 13.2711 37.6379 14.2256C37.4365 13.0806 37.0908 11.7357 36.7238 10.3446L34.964 3.59277H34.0519L32.1172 10.3951C31.6748 11.8626 31.2891 13.1741 31.0823 14.2361C30.8861 13.3118 30.6067 12.1911 30.3126 11.0105L28.4355 3.59277H27.4316L30.5768 15.7121H31.4709L33.4936 8.76753C33.9765 7.14556 34.289 6.0272 34.4846 5.02523C34.6554 6.09835 34.9353 7.2331 35.3461 8.7649L37.123 15.7121H38.0348L41.604 3.59277H40.5988L38.6457 10.3793Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.04253 12.559C7.94265 12.6102 7.83021 12.64 7.71068 12.64C7.43456 12.64 7.19421 12.4849 7.06791 12.2561L7.01958 12.1485L5.00687 7.65377C4.98496 7.60459 4.97143 7.54951 4.97143 7.49574C4.97143 7.28852 5.13639 7.12066 5.34001 7.12066C5.42281 7.12066 5.49917 7.1482 5.56071 7.19508L7.93588 8.91607C8.10954 9.03148 8.31671 9.09934 8.53967 9.09934C8.67273 9.09934 8.79967 9.0741 8.91759 9.03016L20.0885 3.97082C18.0861 1.56918 14.7885 0 11.0566 0C4.95016 0 6.10352e-05 4.1977 6.10352e-05 9.37639C6.10352e-05 12.202 1.48954 14.7449 3.82025 16.4639C4.00744 16.5997 4.12987 16.823 4.12987 17.0748C4.12987 17.158 4.11247 17.2344 4.09089 17.3138C3.90498 18.0207 3.60664 19.1525 3.59278 19.2052C3.56959 19.2941 3.5335 19.3866 3.5335 19.4793C3.5335 19.6866 3.69846 19.8544 3.90209 19.8544C3.98199 19.8544 4.04739 19.8243 4.11505 19.7846L6.53565 18.3626C6.71769 18.2554 6.91036 18.1895 7.12268 18.1895C7.23577 18.1895 7.34467 18.2069 7.44777 18.239C8.57704 18.5695 9.79523 18.7534 11.0566 18.7534C17.163 18.7534 22.1135 14.5551 22.1135 9.37639C22.1135 7.80787 21.6569 6.33082 20.854 5.03148L8.1234 12.5115L8.04253 12.559Z\"\n fill={primary}\n />\n </svg>\n );\n};\n\nexport function WechatpayLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.WECHATPAY,\n WECHATPAY_LOGO_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.WECHATPAY}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function WechatpayLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getWechatpaySVG(\n getLogoColors(LOGO.WECHATPAY, WECHATPAY_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.WECHATPAY}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const WechatpayLogo = WechatpayLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const PAYU_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#A6C307\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#2C2E2F\",\n },\n};\n\nexport const getPayuSVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"45\"\n height=\"22\"\n viewBox=\"0 0 45 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clip-path=\"url(#clip0_381_8857)\">\n <path\n d=\"M41.1719 4.60855L38.525 4.60764C38.2363 4.60764 38.0023 4.83982 38.0021 5.12627L38.002 5.49261H38.1856C39.3807 5.49261 39.8252 5.6882 39.8252 6.76831V8.30378L41.1705 8.30424C41.4592 8.30439 41.6932 8.07236 41.6934 7.78591L41.6943 5.12734C41.6943 4.84089 41.4604 4.60871 41.1719 4.60855M26.7262 8.73613C26.604 8.58398 26.3731 8.56294 26.1415 8.56294H25.9679C25.3909 8.56294 25.1646 8.73948 25.0369 9.28876L23.4337 15.9005C23.2336 16.7131 22.9524 16.8615 22.4713 16.8615C21.8822 16.8615 21.6464 16.722 21.4116 15.8973L19.5957 9.28556C19.4454 8.73186 19.2237 8.56294 18.6466 8.56294H18.492C18.259 8.56294 18.027 8.58429 17.9079 8.73841C17.7887 8.89269 17.829 9.12304 17.8904 9.34943L19.7255 16.0185C20.0697 17.2948 20.4789 18.3513 22.0077 18.3513C22.2931 18.3513 22.5571 18.3119 22.7766 18.2385C22.3129 19.6854 21.8412 20.3235 20.4501 20.4653C20.1679 20.4886 19.9844 20.5287 19.8822 20.6647C19.7761 20.8057 19.8002 21.0077 19.8381 21.1881L19.8764 21.3591C19.9594 21.7546 20.1009 21.9997 20.5483 21.9997C20.5953 21.9997 20.6459 21.9973 20.7001 21.9927C22.7773 21.8578 23.8902 20.7482 24.5414 18.1631L26.7635 9.34471C26.8162 9.11847 26.848 8.88812 26.7262 8.73613M15.549 13.8159V15.1506C15.549 16.2386 15.1425 16.8686 13.0641 16.8686C11.6911 16.8686 11.0236 16.3755 11.0236 15.3614C11.0236 14.2493 11.6932 13.8159 13.4118 13.8159H15.549ZM13.0641 8.28228C11.9311 8.28228 11.221 8.4233 10.9517 8.47681C10.4749 8.57956 10.2754 8.70945 10.2754 9.24744V9.40081C10.2754 9.61164 10.3069 9.75769 10.3744 9.86044C10.4529 9.98012 10.5795 10.0408 10.7507 10.0408C10.8341 10.0408 10.9309 10.0269 11.0463 9.99826C11.3188 9.93072 12.1892 9.79108 13.1414 9.79108C14.8516 9.79108 15.549 10.2611 15.549 11.4131V12.4413H13.3925C10.6202 12.4413 9.32893 13.3691 9.32893 15.3614C9.32893 17.2939 10.6623 18.3581 13.0835 18.3581C15.9607 18.3581 17.2437 17.3867 17.2437 15.2081V11.4131C17.2437 9.30644 15.8766 8.28228 13.0641 8.28228M7.62936 9.56042C7.62936 11.147 7.2211 12.0068 5.06717 12.0068H1.75161V7.91214C1.75161 7.34442 1.96442 7.13327 2.53663 7.13327H5.06717C6.68991 7.13327 7.62936 7.53055 7.62936 9.56042V9.56042ZM5.06717 5.49032H2.20811C0.680326 5.49032 -0.000976562 6.16628 -0.000976562 7.68224V17.4184C-0.000976562 18.004 0.188477 18.192 0.778818 18.192H0.971965C1.56215 18.192 1.75161 18.004 1.75161 17.4184V13.6305H5.06717C8.01088 13.6305 9.38195 12.3371 9.38195 9.56042C9.38195 6.78355 8.01088 5.49032 5.06717 5.49032M41.4295 1.86477L40.0944 1.86431C39.9488 1.86415 39.8308 1.74708 39.8308 1.60255L39.8312 0.261455C39.8314 0.116933 39.9495 0 40.0951 0L41.4302 0.000460587C41.5758 0.000460587 41.6938 0.117695 41.6938 0.262065L41.6934 1.60316C41.6932 1.74769 41.5752 1.86477 41.4295 1.86477M44.049 4.61023L42.0832 4.60947C41.8688 4.60947 41.6951 4.4369 41.6952 4.22423L41.6958 2.2497C41.696 2.03688 41.8699 1.86446 42.0843 1.86446L44.05 1.86522C44.2645 1.86522 44.4383 2.0378 44.4383 2.25046L44.4375 4.22514C44.4375 4.43781 44.2635 4.61023 44.049 4.61023M38.5236 8.30347C38.2349 8.30347 38.001 8.07129 38.0012 7.78484L38.002 5.49261H37.8093C36.6142 5.49261 36.1696 5.68835 36.1696 6.76846V9.29592C36.1695 9.30126 36.1689 9.30659 36.1689 9.31193V9.86593C36.1686 9.88514 36.1673 9.90298 36.1673 9.92279V13.4543C36.1673 13.8856 36.0836 14.229 35.9107 14.4958C35.5848 14.994 34.9396 15.2204 33.9074 15.2218C32.8756 15.2204 32.2305 14.9942 31.9046 14.4964C31.7313 14.2295 31.6474 13.8859 31.6474 13.4543V9.92279C31.6474 9.90298 31.6464 9.88514 31.646 9.86593V9.31193C31.646 9.30659 31.6454 9.30126 31.6453 9.29592V6.76846C31.6453 5.68835 31.2007 5.49261 30.0056 5.49261H29.6293C28.434 5.49261 27.9897 5.68835 27.9897 6.76846V13.4543C27.9897 14.5298 28.2341 15.4404 28.7065 16.1744C29.6187 17.5968 31.3859 18.3543 33.8982 18.3543C33.9012 18.3543 33.9043 18.3542 33.9074 18.3542C33.9106 18.3542 33.9135 18.3543 33.9168 18.3543C36.429 18.3543 38.1962 17.5968 39.1084 16.1744C39.5808 15.4404 39.8252 14.5298 39.8252 13.4543V8.30393L38.5236 8.30347\"\n fill={primary}\n />\n </g>\n <defs>\n <clipPath id=\"clip0_381_8857\">\n <rect width=\"44.44\" height=\"22\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n );\n};\n\nexport function PayuLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.PAYU, PAYU_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAYU}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function PayuLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getPayuSVG(getLogoColors(LOGO.PAYU, PAYU_LOGO_COLORS, logoColor));\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAYU}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const PayuLogo = PayuLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const BLIK_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FF0000\",\n secondary: \"#E83E49\",\n tertiary: \"#FF00FF\",\n quaternary: \"#000000\",\n senary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#000000\",\n secondary: \"#000000\",\n tertiary: \"#000000\",\n quaternary: \"#000000\",\n senary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#FF0000\",\n secondary: \"#E83E49\",\n tertiary: \"#FF00FF\",\n quaternary: \"#4D4D4F\",\n senary: \"#FFFFFF\",\n },\n};\n\nexport const getBlikSVG = ({\n primary,\n secondary,\n tertiary,\n quaternary,\n senary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"80\"\n height=\"41\"\n viewBox=\"0 0 80 41\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M6.64497 0C2.97516 0 0 2.89801 0 6.47265V6.47265V34.5273C0 38.102 2.97516 41 6.64497 41V41H73.355C77.0248 41 80 38.102 80 34.5273V34.5273V6.47265C80 2.89801 77.0248 0 73.355 0V0H6.64497Z\"\n fill=\"url(#paint0_linear_0_4598)\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M32.9412 35.7368H38.366V6.13281H32.9412V35.7368Z\"\n fill={senary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M43.0065 35.7371H48.4314V16.1284H43.0065V35.7371Z\"\n fill={senary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M72.7451 35.7368L64.5932 25.3595L72.0915 16.1282H65.6863L58.4967 25.084V6.13281H53.0719V35.7368H58.4967V25.6694L65.6863 35.7368H72.7451Z\"\n fill={senary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M19.1177 30.6755C16.4285 30.6755 14.2484 28.5519 14.2484 25.9325C14.2484 23.3131 16.4285 21.1895 19.1177 21.1895C21.8068 21.1895 23.9869 23.3131 23.9869 25.9325C23.9869 28.5519 21.8068 30.6755 19.1177 30.6755M19.1177 15.9053C17.3561 15.9053 15.6983 16.3372 14.2484 17.0969V6.13281H8.82355V25.9325C8.82355 31.4703 13.4324 35.9597 19.1177 35.9597C24.8029 35.9597 29.4118 31.4703 29.4118 25.9325C29.4118 20.3947 24.8029 15.9053 19.1177 15.9053\"\n fill={senary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M24.4117 14.0911C27.0831 14.0911 29.2483 11.9817 29.2483 9.37964C29.2483 6.77779 27.0831 4.66846 24.4117 4.66846C21.7404 4.66846 19.5751 6.77779 19.5751 9.37964C19.5751 11.9817 21.7404 14.0911 24.4117 14.0911Z\"\n fill=\"url(#paint1_radial_0_4598)\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_0_4598\"\n x1=\"80\"\n y1=\"41\"\n x2=\"80\"\n y2=\"0\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color={quaternary} />\n <stop offset=\"1\" />\n </linearGradient>\n <radialGradient\n id=\"paint1_radial_0_4598\"\n cx=\"0\"\n cy=\"0\"\n r=\"1\"\n gradientUnits=\"userSpaceOnUse\"\n gradientTransform=\"translate(21.5456 6.37273) rotate(54.2299) scale(11.1194 11.2157)\"\n >\n <stop stop-color={primary} />\n <stop offset=\"0.559042\" stop-color={secondary} />\n <stop offset=\"1\" stop-color={tertiary} />\n </radialGradient>\n </defs>\n </svg>\n );\n};\n\nexport function BlikLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.BLIK, BLIK_LOGO_COLORS, logoColor);\n\n return <SVGLogo {...props} name={LOGO.BLIK} cdnUrl={cdnUrl} />;\n}\n\nexport function BlikLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getBlikSVG(getLogoColors(LOGO.BLIK, BLIK_LOGO_COLORS, logoColor));\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.BLIK}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const BlikLogo = BlikLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const TRUSTLY_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#0EE06E\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#000000\",\n },\n};\n\nexport const getTrustlySVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"95\"\n height=\"20\"\n viewBox=\"0 0 95 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M31.6556 15.8697V3.04368H27.0469V0.000183105H39.5686V3.04368H34.96V15.8697H31.6556Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M39.0437 15.8696V4.34796H42.0871V6.17398C42.8045 4.63059 43.7393 4.34796 44.7393 4.34796H45.9133V7.43485H44.9133C43.4786 7.43485 42.1959 8.26099 42.1959 10.7827V15.8696H39.0437Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M47.3506 11.6522V4.34796H50.5027V10.9349C50.5027 12.2827 51.1548 13.2827 52.5026 13.2827C53.807 13.2827 54.633 12.2827 54.633 10.9566V4.34796H57.7852V15.8696H54.7853V14.4131C54.0245 15.5653 52.894 16.1305 51.4591 16.1305C48.9374 16.1305 47.3506 14.3914 47.3506 11.6522Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M59.1326 12.6306L61.8716 12.0002C62.002 12.8915 62.7195 13.5654 64.0889 13.5654C65.1542 13.5654 65.7412 13.1306 65.7412 12.5871C65.7412 12.1524 65.5021 11.8263 64.415 11.5871L62.6107 11.1959C60.3065 10.6959 59.3282 9.63068 59.3282 7.69586C59.3282 5.71765 60.9587 4.13068 64.0237 4.13068C67.2846 4.13068 68.5891 6.08724 68.7195 7.36975L65.9586 7.97848C65.8281 7.30452 65.3281 6.56544 63.9585 6.56544C63.0891 6.56544 62.4369 6.95677 62.4369 7.52193C62.4369 8.00023 62.763 8.26111 63.3281 8.39156L65.9586 9.0002C67.9586 9.45666 68.8933 10.6524 68.8933 12.3481C68.8933 14.1741 67.4368 16.0872 64.1107 16.0872C60.4586 16.0872 59.263 13.8915 59.1326 12.6306Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M74.9588 15.8697C72.9153 15.8697 71.5458 14.7393 71.5458 12.5001V7.1089H69.6111V4.34803H71.5458V1.78282L74.6979 0.869812V4.34803H77.024V7.1089H74.6979V11.9349C74.6979 12.7828 75.1326 13.1088 75.9804 13.1088H77.1978V15.8697H74.9588Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M78.9148 15.8697H82.0669V0.000183105H78.9148V15.8697Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M91.5675 4.34796H94.9369L90.133 20H86.7628L88.089 15.8696H86.3498L83.176 4.34796H86.5453L88.915 13.261L91.5675 4.34796Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M0 6.94855H7.39894V1.0464L13.3011 6.94855L7.39894 12.8498V15.8698H14.5633V6.94855H21.1448V0H0V6.94855Z\"\n fill={primary}\n />\n </svg>\n );\n};\n\nexport function TrustlyLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.TRUSTLY, TRUSTLY_LOGO_COLORS, logoColor);\n\n return <SVGLogo {...props} name={LOGO.TRUSTLY} cdnUrl={cdnUrl} />;\n}\n\nexport function TrustlyLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getTrustlySVG(\n getLogoColors(LOGO.TRUSTLY, TRUSTLY_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.TRUSTLY}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const TrustlyLogo = TrustlyLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const OXXO_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#E39E39\",\n secondary: \"#D8232A\",\n },\n};\n\nexport const getOxxoSVG = ({ primary, secondary }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"69\"\n height=\"32\"\n viewBox=\"0 0 69 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M0.200073 28.5063V29.4743C0.200073 30.6493 1.16007 31.6103 2.33607 31.6103H66.6491C67.8241 31.6103 68.7841 30.6493 68.7841 29.4743V28.5063H0.200073Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M68.7846 3.10351V2.13551C68.7846 0.960512 67.8236 -0.000488281 66.6486 -0.000488281H2.33562C1.16062 -0.000488281 0.200623 0.960512 0.200623 2.13551V3.10351H68.7846Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M58.3204 9.74854C55.1824 9.74854 52.6244 12.307 52.6244 15.4449C52.6244 18.5817 55.1824 21.1401 58.3204 21.1401C61.4576 21.1401 64.0156 18.5817 64.0156 15.4449C64.0156 12.307 61.4576 9.74854 58.3204 9.74854\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M11.3733 9.74854C8.23493 9.74854 5.67688 12.307 5.67688 15.4449C5.67688 18.5817 8.23493 21.1401 11.3733 21.1401C14.5101 21.1401 17.0685 18.5817 17.0685 15.4449C17.0685 12.307 14.5101 9.74854 11.3733 9.74854\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M57.8731 4.73559C52.6006 4.61422 50.1217 7.9953 46.5237 12.1654L43.1301 16.0987L48.5042 22.5323C49.7846 24.5092 47.3409 26.471 45.8248 24.6622L40.8562 18.7352L36.0144 24.3481C34.4726 26.1346 32.0566 24.1385 33.3643 22.1803L38.6205 16.0683L35.1769 11.9602L37.392 9.21676L40.894 13.4236L43.9129 9.91218C45.3939 8.19042 46.9046 5.90866 48.8624 4.73559H0.196655V26.9697H11.575C16.8484 26.9697 19.2421 23.8166 22.7422 19.5649L26.0452 15.5535L20.5229 9.24642C19.1984 7.29949 21.5957 5.28232 23.1531 7.05559L28.2568 12.8667L32.9693 7.1434C34.469 5.32096 36.9299 7.26164 35.6679 9.24954L30.5541 15.4821L34.0917 19.5094L31.8626 22.1491L28.3414 18.1775L25.4049 21.7569C23.9633 23.5126 22.5042 25.7514 20.5736 26.9697H68.7812V4.73559H57.8731ZM20.3711 15.4447C20.3711 20.4012 16.3297 24.4433 11.3732 24.4433C6.41558 24.4433 2.37383 20.4012 2.37383 15.4447C2.37383 10.487 6.41558 6.44564 11.3732 6.44564C16.3297 6.44564 20.3711 10.487 20.3711 15.4447ZM58.3204 24.4433C53.3635 24.4433 49.3209 20.4012 49.3209 15.4447C49.3209 10.487 53.3635 6.44564 58.3204 6.44564C63.2772 6.44564 67.3186 10.487 67.3186 15.4447C67.3186 20.4012 63.2772 24.4433 58.3204 24.4433V24.4433Z\"\n fill={secondary}\n />\n </svg>\n );\n};\n\nexport function OxxoLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.OXXO, OXXO_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.OXXO}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function OxxoLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getOxxoSVG(getLogoColors(LOGO.OXXO, OXXO_LOGO_COLORS, logoColor));\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.OXXO}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const OxxoLogo = OxxoLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const BOLETO_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#000000\",\n },\n};\n\nexport const getBoletoSVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"57\"\n height=\"48\"\n viewBox=\"0 0 57 48\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M0.709351 17.7931V35.5862H4.0197V0H0.709351V17.7931ZM51.393 41.9584C50.0334 42.4078 49.4308 43.1883 49.324 44.607C49.2293 45.9902 49.809 47.0071 50.9792 47.5392C51.4997 47.7756 51.7953 47.8227 52.7882 47.8227C53.7696 47.8227 54.0651 47.7756 54.5616 47.5506C55.7909 46.983 56.2638 46.2145 56.2759 44.8199C56.2759 43.4248 55.7559 42.6086 54.5145 42.0531C53.746 41.7105 52.2682 41.6628 51.393 41.9584ZM54.1357 42.9518C54.786 43.3892 55.0109 43.9332 54.9518 44.9973C54.9283 45.6355 54.8451 45.9431 54.6677 46.191C53.746 47.4324 51.5347 47.3262 50.873 45.9902C50.5539 45.387 50.5063 44.4176 50.7663 43.8265C50.9677 43.3536 51.5233 42.8216 51.9726 42.6798C52.5638 42.4904 53.6393 42.6207 54.1357 42.9518ZM46.5813 40.7882V40.197V39.6059H47.7635V40.7882H46.5813ZM7.56649 12.3547V24.7094H10.0493L10.0372 12.3547V0H7.56649V12.3547ZM46.5813 47.7635V44.8079V41.8522H47.7635V47.7635H46.5813ZM13.2414 12.3547V24.7094H15.665V0H13.2414V12.3547ZM43.1883 42.3607C43.3892 42.1598 43.6727 41.9469 43.8029 41.8757C44.1106 41.6984 44.7843 41.6984 45.2928 41.8643C45.5172 41.9469 45.7066 42.0175 45.7302 42.0296C45.7537 42.0416 45.671 42.2425 45.5643 42.4789L45.3634 42.8807L44.6305 42.8336C43.9447 42.7745 43.8741 42.798 43.5309 43.1057C43.0465 43.543 42.9162 44.2167 42.9162 46.2387V47.7635H41.734V41.8522H42.798V42.7269L43.1883 42.3607ZM17.4975 12.3547V24.7094H18.5616V0H17.4975V12.3547ZM36.0591 41.0717C36.0591 40.989 36.272 40.5873 36.6147 40.0432C36.8867 39.6059 36.8988 39.6059 37.6787 39.6059H38.4707L37.7143 40.3744C37.0405 41.0482 36.8988 41.1429 36.5085 41.1429C36.26 41.1429 36.0591 41.1073 36.0591 41.0717ZM21.3869 11.9053C21.3869 18.4669 21.3634 24.0235 21.352 24.26L21.3278 24.7094H24.7094V0H21.399L21.3869 11.9053ZM34.2857 42.3131C34.451 42.1948 34.8768 42.0175 35.2315 41.9234C36.5085 41.5802 38.601 41.781 39.1686 42.3016C39.653 42.7389 39.7241 43.0701 39.7241 45.0087C39.7362 46.2622 39.7832 47.0186 39.8894 47.3142L40.0553 47.7635H39.405C38.8018 47.7635 38.7548 47.74 38.648 47.4209L38.5298 47.0777L37.7969 47.4559C37.1111 47.7991 36.9814 47.8227 35.8227 47.8227C34.7351 47.8227 34.5222 47.7871 34.0963 47.5506C32.8905 46.8533 32.9496 45.4225 34.2145 44.8079C34.6169 44.6185 37.584 44.1106 38.341 44.0985C38.3881 44.0985 38.4236 43.9212 38.4236 43.6968C38.4236 42.9518 37.7854 42.5616 36.5676 42.5616C35.7515 42.5616 35.1603 42.8101 34.9004 43.2709C34.7116 43.6021 34.6639 43.6256 34.1204 43.6021C33.8007 43.5786 33.5172 43.5074 33.4937 43.4362C33.4346 43.2709 33.919 42.5736 34.2857 42.3131ZM36.3547 47.1012C37.6787 46.9595 38.4236 46.3092 38.4236 45.3043C38.4236 45.0323 38.3881 44.8079 38.341 44.8199C38.2819 44.8199 38.1045 44.867 37.9151 44.9261C37.7378 44.9852 37.0996 45.0914 36.4964 45.1626C35.2671 45.3278 34.8057 45.5172 34.6169 45.9431C34.4986 46.1795 34.5222 46.2857 34.723 46.5578C35.0421 46.983 35.6333 47.1845 36.3547 47.1012ZM27.9015 12.3547V24.7094H30.3842V0H27.9015V12.3547ZM26.861 42.6086C27.2156 42.2781 27.7832 41.994 28.3388 41.8643C29.9825 41.474 31.6968 42.0175 32.2047 43.0936C32.3229 43.3301 32.3941 43.543 32.3706 43.5665C32.3585 43.5786 32.0865 43.6256 31.7909 43.6727C31.2589 43.7559 31.2353 43.7438 30.9874 43.3301C30.3131 42.1713 28.2206 42.3487 27.5703 43.6256C27.2156 44.3229 27.2392 45.6711 27.618 46.1796C28.0667 46.7942 28.4455 46.983 29.2967 47.0307C29.9704 47.0662 30.1478 47.0307 30.5025 46.7942C30.7268 46.6404 31.0109 46.3092 31.1406 46.0613C31.2504 45.8422 31.3066 45.7299 31.3971 45.6805C31.4922 45.6287 31.6251 45.6464 31.8976 45.6825C32.1932 45.7181 32.4653 45.7893 32.5002 45.8249C32.5358 45.8599 32.4411 46.1204 32.2759 46.416C31.1292 48.6032 26.9557 48.2956 26.1751 45.9666C25.7969 44.8314 26.116 43.283 26.861 42.6086ZM32.7488 12.3547V24.7094H33.8128V0H32.7488V12.3547ZM19.8856 42.3131C20.075 42.1713 20.4653 41.994 20.7252 41.8993C21.8249 41.5566 23.3262 41.8052 23.9174 42.4198C24.3547 42.8692 24.4729 43.6256 24.4729 45.884V47.7635H23.1724V45.7658C23.1724 43.5309 23.0898 43.1171 22.5342 42.8336C22.0728 42.5851 20.9852 42.5736 20.5123 42.8216C19.7082 43.2353 19.6847 43.318 19.6491 45.6475L19.6135 47.7635H18.3251V41.8402L18.8927 41.8757C19.4012 41.9113 19.4483 41.9349 19.4839 42.2425L19.5194 42.5616L19.8856 42.3131ZM36.8867 12.3547V24.7094H38.069V0H36.8867V12.3547ZM10.2266 43.0465C10.4751 42.5495 11.0777 42.1243 11.8347 41.9113C12.2835 41.781 12.8276 41.746 13.6552 41.781C14.9436 41.8402 15.4997 42.006 15.9606 42.5025C16.2441 42.8101 16.2561 42.8807 16.3153 44.9617C16.3623 46.3328 16.4335 47.208 16.5282 47.3733L16.5317 47.3803C16.6011 47.5197 16.6699 47.658 16.6699 47.6924C16.6699 47.728 16.3744 47.7635 16.0076 47.7635C15.405 47.7635 15.3459 47.74 15.2392 47.4324L15.1209 47.1012L14.4116 47.4559C13.8446 47.74 13.5014 47.8227 12.7329 47.8582C11.5271 47.9174 10.8648 47.7515 10.3092 47.2315C9.91897 46.8768 9.87191 46.7707 9.87191 46.2501C9.87191 45.5764 10.144 45.1861 10.9004 44.7958C11.2436 44.6185 14.2107 44.1106 14.9321 44.0985C15.0859 44.0985 15.0148 43.33 14.8374 43.0701C14.613 42.751 13.9863 42.5616 13.1467 42.5616C12.3426 42.5616 11.7515 42.8101 11.4915 43.2709C11.3142 43.59 11.2315 43.6256 10.7351 43.6256C10.0728 43.6256 9.97808 43.5194 10.2266 43.0465ZM14.0334 46.8413C14.7427 46.4751 15.0148 46.0728 15.0148 45.387C15.0148 44.867 14.9321 44.7017 14.7548 44.867C14.7192 44.9026 14.116 45.0087 13.4067 45.1155C12.6973 45.2217 11.9409 45.3755 11.728 45.4702C11.0542 45.7416 11.0071 46.4039 11.6333 46.8768C12.0826 47.208 13.3475 47.1845 14.0334 46.8413ZM40.6699 12.3547V24.7094H43.9803V0H40.6699V12.3547ZM0.709351 47.7635V43.6727V39.5824L3.34592 39.6415C4.91845 39.665 6.14777 39.7477 6.41981 39.8303C7.01095 40.0197 7.75589 40.7055 7.92117 41.214C8.16969 41.9584 7.75589 42.8101 6.92831 43.2354C6.67979 43.3656 6.62068 43.4483 6.73891 43.4839C8.34703 43.9568 8.94963 45.3164 8.11057 46.5813C7.48385 47.5392 6.54951 47.7635 3.19211 47.7635H0.709351ZM6.62068 41.8402C6.62068 41.1899 6.24247 40.8117 5.45047 40.67C5.10726 40.5988 4.18498 40.5517 3.4165 40.5517H2.00984V43.0345H3.64149C4.52819 43.0345 5.43841 42.9874 5.66281 42.9163C6.28953 42.7389 6.62068 42.3607 6.62068 41.8402ZM6.91625 45.9902C7.27093 45.3043 6.99889 44.5594 6.28953 44.2403C5.97043 44.1106 5.33225 44.0394 3.93706 44.0038L2.00984 43.9568V46.8413L3.99617 46.7942C6.18336 46.7586 6.57363 46.6404 6.91625 45.9902ZM46.8177 12.3547V24.7094H49.1823V0H46.8177V12.3547ZM41.2611 34.3213C41.2611 32.7132 42.1357 31.6727 43.7794 31.33C44.5002 31.1762 45.8249 31.2945 46.451 31.5786C47.6453 32.0985 48.2364 33.0087 48.2364 34.3448C48.2364 36.2956 46.9951 37.3596 44.7488 37.3596C42.5145 37.3596 41.2611 36.272 41.2611 34.3213ZM46.8177 33.4111C46.6524 32.8905 46.0257 32.3229 45.4346 32.1697C44.5835 31.9332 43.7438 32.122 43.1406 32.7017C42.6919 33.139 42.526 33.6825 42.5851 34.5933C42.6563 35.6924 43.2118 36.3426 44.2288 36.532C45.2217 36.7214 46.0728 36.4017 46.6283 35.6688C46.9239 35.2786 47.0307 34.0372 46.8177 33.4111ZM50.601 17.7931V35.5862H51.665V0H50.601V17.7931ZM38.0098 29.8878L38.5419 29.6158L39.0739 29.3437L39.1451 31.33H40.4335V32.1576H39.1209L39.1565 34.1675L39.1565 34.1691C39.1921 36.4017 39.1923 36.4138 39.9841 36.4138C40.3864 36.4138 40.4335 36.4494 40.5282 36.792C40.6579 37.2884 40.5517 37.3596 39.6885 37.3596C38.9086 37.3596 38.2584 37.1352 38.081 36.792C37.9978 36.6382 37.9507 35.7044 37.9507 34.3569V32.1576H37.4778C37.017 32.1576 37.0049 32.1456 37.0049 31.7318C37.0049 31.318 37.017 31.318 37.4543 31.3536L37.8916 31.3892L37.9507 30.6327L38.0098 29.8878ZM31.6256 31.3656C30.786 31.59 30.3486 31.85 29.8643 32.4176C29.3672 32.9973 29.202 33.4937 29.202 34.4395C29.202 36.2835 30.5025 37.3596 32.7367 37.3596C33.884 37.3596 34.5692 37.1823 35.1845 36.7094C35.5391 36.4373 36.1417 35.6218 36.047 35.5392C36.0235 35.515 35.7165 35.468 35.3733 35.4445C34.7821 35.3853 34.7466 35.3968 34.5222 35.7635C34.2031 36.2835 33.5528 36.5676 32.7488 36.5676C32.0159 36.5676 31.2118 36.2244 30.9162 35.7871C30.6919 35.4445 30.4554 34.7586 30.538 34.6875C30.5736 34.6525 31.8265 34.6283 33.3278 34.6404H36.0591V34.0848C36.0591 33.352 35.6097 32.3941 35.0898 32.0038C34.2387 31.3536 32.7367 31.0815 31.6256 31.3656ZM33.8363 32.3585C34.2736 32.607 34.6048 33.0443 34.7116 33.4817L34.7821 33.8128H30.6207V33.5172C30.6207 33.1155 31.2709 32.4297 31.8621 32.2047C32.4411 32.0038 33.3399 32.0629 33.8363 32.3585ZM26.3645 37.2414V33.1505V29.0717L26.9912 29.1073L27.6059 29.1429L27.6415 33.1861L27.665 37.2414H26.3645ZM20.335 31.3656C18.751 31.7318 17.9825 32.5714 17.8757 34.0613C17.8052 35.1368 18.0651 35.8938 18.7268 36.5085C19.4483 37.1702 20.2047 37.3952 21.5643 37.3361C22.4986 37.3005 22.7586 37.2534 23.3497 36.9458C24.3667 36.4259 24.7564 35.7635 24.8041 34.4631C24.8396 33.659 24.8041 33.4111 24.5911 32.9382C23.9879 31.6612 22.0848 30.9633 20.335 31.3656ZM22.5813 32.4061C23.2786 32.7958 23.5627 33.4702 23.5036 34.5222C23.4559 35.3853 23.2671 35.7635 22.676 36.2129C22.0137 36.7094 20.5835 36.6738 19.9091 36.1538C19.2353 35.6218 18.9398 34.191 19.318 33.3043C19.8029 32.1576 21.3634 31.7318 22.5813 32.4061ZM8.74876 37.2649V33.1505V29.0482L11.3262 29.1193C13.9863 29.1784 14.4827 29.2611 15.133 29.7105C15.7712 30.1357 16.0197 30.5616 16.0197 31.2118C16.0197 31.8856 15.7477 32.335 15.0739 32.7017L14.6366 32.9617L15.0618 33.1034C17.0126 33.7416 17.0481 36.0356 15.133 36.9223C14.648 37.1467 14.341 37.1823 11.6809 37.2178L8.74876 37.2649ZM14.0569 32.2994C14.8965 31.8856 14.8965 30.7624 14.069 30.3607C13.7734 30.219 13.2293 30.1478 12.1182 30.1007C10.8643 30.0538 10.3667 30.007 10.1711 30.2278C10.02 30.3984 10.0493 30.7287 10.0493 31.3421V32.5123H11.8582C13.3361 32.5123 13.7263 32.4767 14.0569 32.2994ZM14.2342 36.1303C15.405 35.6453 15.4286 34.191 14.2819 33.7658C13.9272 33.6355 13.2534 33.5764 12.0235 33.5528C11.0662 33.5293 10.2266 33.5293 10.1675 33.5528C10.0963 33.5764 10.0493 34.1675 10.0493 34.948V36.2956H11.9409C13.2884 36.2956 13.9507 36.2485 14.2342 36.1303Z\"\n fill={primary}\n />\n </svg>\n );\n};\n\nexport function BoletoLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.BOLETO, BOLETO_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.BOLETO}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function BoletoLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getBoletoSVG(\n getLogoColors(LOGO.BOLETO, BOLETO_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.BOLETO}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const BoletoLogo = BoletoLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const MERCADOPAGO_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#009EE3\",\n secondary: \"#FFFFFF\",\n tertiary: \"#009EE3\",\n quaternary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#000000\",\n secondary: \"#FFFFFF\",\n tertiary: \"#000000\",\n quaternary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#FFFFFF\",\n secondary: \"#2D3277\",\n tertiary: \"#009EE3\",\n quaternary: \"#009EE3\",\n },\n};\n\nexport const getMercadoPagoSVG = ({\n primary,\n secondary,\n tertiary,\n quaternary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"98\"\n height=\"26\"\n viewBox=\"0 0 98 26\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M35.6856 11.9268C35.6856 5.49758 27.6975 0.256836 17.8435 0.256836C7.98988 0.256836 0.0020562 5.49758 0.0020562 11.9268C0.0020562 12.0928 0 12.5519 0 12.61C0 19.4304 6.98183 24.9546 17.8411 24.9546C28.7678 24.9546 35.6856 19.4319 35.6856 12.6113V11.9268Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M35.0024 11.9215C35.0024 17.9827 27.3217 22.8962 17.8467 22.8962C8.37202 22.8962 0.691589 17.9827 0.691589 11.9215C0.691589 5.85984 8.37202 0.946289 17.8467 0.946289C27.3217 0.946289 35.0024 5.85984 35.0024 11.9215\"\n fill={tertiary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M12.1505 8.45877C12.1415 8.47599 11.9703 8.65308 12.0811 8.79548C12.352 9.14117 13.1881 9.3396 14.0337 9.14991C14.5372 9.03682 15.1826 8.52354 15.8077 8.02748C16.4852 7.48927 17.1573 6.95029 17.833 6.73593C18.5486 6.50821 19.0069 6.60588 19.3096 6.69738C19.642 6.79659 20.0327 7.01532 20.6559 7.48285C21.8298 8.36547 26.5498 12.4853 27.3653 13.1978C28.0223 12.9009 30.9413 11.6443 34.9082 10.7699C34.5636 8.65514 33.2772 6.72025 31.3261 5.13595C28.607 6.27817 25.2839 6.87396 22.0344 5.28683C22.0179 5.28014 20.2591 4.44789 18.5244 4.48876C15.9462 4.54839 14.8292 5.66439 13.6471 6.84568L12.1505 8.45877Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M27.1737 13.6457C27.1184 13.5966 21.6237 8.78868 20.3787 7.85286C19.6585 7.31259 19.2578 7.17482 18.8371 7.12111C18.6181 7.09283 18.3156 7.13344 18.104 7.19153C17.5249 7.34909 16.768 7.85543 16.0954 8.38824C15.3993 8.94264 14.7432 9.46466 14.1345 9.60114C13.3562 9.7754 12.4063 9.56978 11.9727 9.27652C11.7971 9.15854 11.6735 9.02206 11.6141 8.88327C11.454 8.51187 11.7493 8.215 11.7979 8.1654L13.3141 6.52532C13.4904 6.34926 13.668 6.17345 13.8495 5.99996C13.3604 6.0637 12.908 6.18862 12.4677 6.31122C11.9182 6.46569 11.39 6.61271 10.8554 6.61245C10.6323 6.61245 9.43636 6.41634 9.2094 6.35466C7.8374 5.97914 6.63299 5.6134 4.83407 4.77344C2.6784 6.3783 1.237 8.38464 0.820618 10.5948C1.13033 10.6765 1.62922 10.8251 1.83895 10.8716C6.71703 11.9563 8.23631 13.0736 8.5121 13.3069C8.8105 12.9749 9.24076 12.7646 9.7214 12.7646C10.2612 12.7654 10.7474 13.0365 11.043 13.4557C11.3224 13.235 11.7077 13.0466 12.2058 13.0468C12.432 13.0468 12.6667 13.0887 12.9034 13.1692C13.4539 13.3581 13.7379 13.7246 13.8852 14.0562C14.07 13.9726 14.2967 13.9112 14.564 13.912C14.8267 13.912 15.0999 13.9721 15.3754 14.0909C16.2748 14.4769 16.4148 15.3603 16.3331 16.0265C16.3971 16.0188 16.4616 16.016 16.5272 16.016C17.5936 16.0167 18.461 16.8834 18.4605 17.9503C18.4605 18.2804 18.376 18.5909 18.2292 18.8636C18.5194 19.0268 19.2591 19.3956 19.9083 19.3134C20.4273 19.2481 20.6244 19.0705 20.6948 18.971C20.7429 18.9021 20.7943 18.8222 20.7468 18.7646L19.3704 17.2356C19.3704 17.2356 19.1437 17.0212 19.2185 16.9387C19.2964 16.8536 19.4362 16.9755 19.5351 17.0582C20.2358 17.6435 21.0912 18.5261 21.0912 18.5261C21.1056 18.5356 21.1621 18.6477 21.4785 18.7045C21.7507 18.753 22.2324 18.7248 22.5662 18.4505C22.6505 18.3814 22.7346 18.295 22.805 18.2058C22.7994 18.2102 22.795 18.2161 22.7896 18.2182C23.1415 17.7679 22.7508 17.3122 22.7508 17.3122L21.1439 15.5076C21.1439 15.5076 20.9141 15.2953 20.992 15.2097C21.0621 15.1357 21.2099 15.2475 21.3104 15.3313C21.8193 15.7566 22.5382 16.4781 23.2273 17.1531C23.3617 17.2512 23.9673 17.626 24.7692 17.0993C25.2555 16.7801 25.3534 16.3881 25.3395 16.0923C25.3056 15.7006 25.0003 15.4217 25.0003 15.4217L22.805 13.2149C22.805 13.2149 22.5734 13.017 22.6552 12.9168C22.7222 12.8325 22.8729 12.954 22.9713 13.0365C23.6709 13.6215 25.5637 15.357 25.5637 15.357C25.5906 15.376 26.2448 15.8417 27.0529 15.3271C27.3418 15.1423 27.5266 14.8637 27.5425 14.5404C27.57 13.9791 27.1737 13.6457 27.1737 13.6457\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M16.5269 16.4437C16.1866 16.4396 15.8145 16.6419 15.7656 16.6123C15.7389 16.5946 15.7864 16.4578 15.8183 16.3789C15.851 16.3005 16.2992 14.9519 15.2066 14.4836C14.3705 14.1243 13.8595 14.5286 13.6837 14.7111C13.6377 14.7586 13.6172 14.755 13.6118 14.6939C13.595 14.4512 13.4863 13.794 12.7646 13.574C11.7334 13.2581 11.0703 13.9781 10.9019 14.2379C10.8266 13.6501 10.3298 13.1936 9.72117 13.1934C9.05958 13.1926 8.52317 13.7285 8.5224 14.3896C8.52214 15.0506 9.0583 15.5868 9.71962 15.5868C10.0412 15.5875 10.3324 15.459 10.5472 15.2526C10.5542 15.2591 10.5568 15.2704 10.5534 15.293C10.503 15.5891 10.4102 16.665 11.537 17.103C11.9889 17.2785 12.3732 17.1479 12.6916 16.9246C12.7864 16.8575 12.8021 16.886 12.7885 16.975C12.7479 17.2518 12.7993 17.8442 13.63 18.1812C14.2618 18.438 14.636 18.175 14.8809 17.9486C14.9876 17.8514 15.0167 17.8671 15.0223 18.0175C15.0524 18.8181 15.7176 19.454 16.5251 19.4548C17.3574 19.4555 18.0318 18.7826 18.0321 17.9506C18.0328 17.1184 17.3589 16.4527 16.5269 16.4437\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M16.5269 19.3475C15.7725 19.3467 15.1595 18.7607 15.1318 18.0138C15.1297 17.9498 15.1233 17.7794 14.9794 17.7794C14.92 17.7794 14.8686 17.8151 14.8092 17.8686C14.6437 18.0223 14.4324 18.1785 14.1237 18.1785C13.9839 18.1785 13.8323 18.1459 13.6721 18.0804C12.8756 17.7578 12.8646 17.2108 12.8969 16.9908C12.9057 16.9322 12.9088 16.8711 12.8684 16.8238L12.8193 16.7798H12.7697C12.7294 16.7798 12.6875 16.7963 12.6312 16.8361C12.4006 16.9978 12.1798 17.0764 11.9552 17.0764C11.8313 17.0764 11.7046 17.0515 11.5776 17.0027C10.529 16.5945 10.6117 15.6047 10.6631 15.3068C10.6706 15.2467 10.6557 15.1996 10.6174 15.1685L10.5434 15.1076L10.474 15.1739C10.2694 15.3708 10.0023 15.4788 9.72114 15.4788C9.12073 15.478 8.63187 14.9902 8.63238 14.3895C8.6329 13.7886 9.12202 13.301 9.72269 13.3018C10.2655 13.3018 10.7277 13.7097 10.7968 14.252L10.8343 14.5445L10.995 14.297C11.013 14.2679 11.453 13.6025 12.2618 13.6032C12.4158 13.6032 12.5746 13.6282 12.7345 13.6775C13.3796 13.8744 13.4889 14.4591 13.5056 14.7028C13.5171 14.8447 13.6182 14.8516 13.6379 14.8516C13.6937 14.8516 13.7346 14.8161 13.7636 14.7858C13.8855 14.6588 14.1505 14.4476 14.5653 14.4476C14.755 14.4481 14.9573 14.4931 15.1657 14.5828C16.1905 15.0225 15.7258 16.3249 15.7201 16.3385C15.6322 16.5544 15.6286 16.6498 15.7114 16.7048L15.7517 16.724H15.7818C15.8278 16.724 15.8854 16.704 15.9802 16.6719C16.1198 16.6235 16.3303 16.5511 16.5272 16.5516H16.5277C17.2993 16.5598 17.9267 17.188 17.9264 17.9506C17.9256 18.7211 17.298 19.3475 16.5269 19.3475M27.3862 13.0704C25.6937 11.5933 21.7818 8.19261 20.7223 7.39737C20.1173 6.94192 19.7043 6.7016 19.3419 6.59365C19.1792 6.5443 18.9537 6.48853 18.6636 6.48827C18.3945 6.48827 18.105 6.53685 17.8028 6.63298C17.1181 6.84965 16.4359 7.39172 15.7761 7.91605L15.7422 7.94303C15.1277 8.43138 14.4926 8.93695 14.0119 9.04439C13.8019 9.09168 13.5863 9.11584 13.3712 9.11584C12.8327 9.11507 12.349 8.95983 12.1678 8.72876C12.138 8.69046 12.157 8.62852 12.2271 8.53933L12.2364 8.52751L13.7253 6.9229C14.8915 5.75678 15.9931 4.65568 18.5286 4.59734C18.5703 4.59605 18.6132 4.59528 18.6551 4.59528C20.2335 4.59631 21.8114 5.30287 21.9882 5.38486C23.4681 6.10659 24.9954 6.47336 26.5311 6.47465C28.1313 6.47516 29.7825 6.07909 31.5184 5.27974C31.3246 5.11653 31.1229 4.95794 30.9152 4.80219C29.3903 5.46326 27.9373 5.79739 26.5352 5.79687C25.1036 5.79559 23.673 5.45195 22.284 4.77417C22.2108 4.73922 20.4687 3.91776 18.6559 3.91699C18.6086 3.91699 18.5602 3.91776 18.5129 3.91853C16.383 3.9684 15.1832 4.72457 14.3766 5.38743C13.5919 5.40645 12.9149 5.59562 12.3127 5.76372C11.7753 5.91305 11.3111 6.04259 10.8582 6.04233C10.6719 6.04233 10.3362 6.02537 10.3061 6.02434C9.7854 6.00866 7.16272 5.36533 5.07644 4.57523C4.86337 4.72611 4.65852 4.88186 4.45907 5.04045C6.63838 5.93387 9.29088 6.62527 10.128 6.67924C10.3609 6.69441 10.6092 6.72088 10.8572 6.72139C11.4111 6.72139 11.9637 6.56589 12.4986 6.41631C12.8144 6.32763 13.163 6.23125 13.5297 6.16082C13.4318 6.25695 13.3341 6.35436 13.2362 6.45255L11.7234 8.08902C11.6044 8.20931 11.3458 8.53008 11.5162 8.92513C11.5841 9.08448 11.7216 9.2369 11.9141 9.3667C12.2744 9.60933 12.9201 9.77357 13.5197 9.77408C13.7469 9.77434 13.9621 9.75146 14.1602 9.707C14.7943 9.56461 15.4595 9.03488 16.1643 8.47456C16.7256 8.02862 17.5234 7.46214 18.1341 7.29559C18.3048 7.24932 18.5142 7.22028 18.6828 7.22028C18.7332 7.22079 18.7808 7.22234 18.8247 7.22876C19.2285 7.27991 19.6184 7.41716 20.3149 7.93995C21.5566 8.87269 27.0521 13.6801 27.1058 13.7276C27.1097 13.7305 27.46 14.0327 27.4356 14.5352C27.4227 14.8154 27.267 15.0644 26.9966 15.2369C26.7622 15.3857 26.5201 15.4615 26.2754 15.4615C25.9081 15.4608 25.6552 15.2888 25.6387 15.277C25.6184 15.2605 23.7357 13.5341 23.0433 12.9543C22.9328 12.863 22.8256 12.7805 22.7171 12.7805C22.659 12.78 22.6079 12.8049 22.5732 12.8484C22.4642 12.9825 22.5863 13.1686 22.7302 13.2912L24.9293 15.5016C24.9324 15.5039 25.2036 15.7581 25.2331 16.0972C25.2503 16.4637 25.0753 16.7703 24.7111 17.0088C24.4515 17.1797 24.1888 17.2666 23.9316 17.2666C23.5938 17.2666 23.3566 17.1129 23.3042 17.0764L22.9888 16.7654C22.412 16.1982 21.8167 15.6116 21.3811 15.2479C21.2749 15.1595 21.1611 15.0781 21.0531 15.0781C20.9997 15.0781 20.9516 15.0978 20.9146 15.1367C20.865 15.1919 20.8303 15.2914 20.9542 15.4559C21.0053 15.5237 21.0652 15.5798 21.0652 15.5798L22.6701 17.3823C22.6834 17.3985 23.0009 17.7758 22.7063 18.1516L22.6495 18.2235C22.6017 18.2765 22.5498 18.3251 22.5004 18.3675C22.2267 18.5921 21.861 18.616 21.716 18.616C21.6389 18.616 21.5641 18.6093 21.4993 18.5975C21.3407 18.5692 21.2343 18.525 21.1829 18.4641L21.1636 18.4438C21.0757 18.3533 20.2669 17.5275 19.5973 16.9687C19.5094 16.8947 19.3994 16.8017 19.2853 16.8017C19.2293 16.8017 19.1792 16.8238 19.1406 16.8664C19.008 17.0114 19.2069 17.2283 19.2912 17.3077L20.6601 18.8173C20.6586 18.8306 20.6414 18.8617 20.6082 18.9095C20.5591 18.9774 20.3931 19.1434 19.8965 19.2056C19.8371 19.2136 19.7757 19.2167 19.7148 19.2167C19.2028 19.2167 18.6566 18.9681 18.3752 18.8188C18.5032 18.5484 18.5697 18.2503 18.5697 17.9513C18.5703 16.8248 17.6555 15.9082 16.529 15.9075C16.5048 15.9075 16.4791 15.9082 16.4552 15.909C16.492 15.3947 16.4192 14.4206 15.4194 13.9919C15.1318 13.8675 14.8447 13.804 14.5658 13.804C14.3476 13.804 14.1376 13.8412 13.9402 13.9171C13.733 13.5146 13.3891 13.2213 12.9404 13.0684C12.6926 12.9825 12.4459 12.9391 12.2073 12.9391C11.7915 12.9391 11.4083 13.0617 11.0664 13.3048C10.7387 12.8975 10.2442 12.6564 9.72294 12.6564C9.26724 12.6564 8.82875 12.8388 8.50362 13.1606C8.07772 12.8353 6.38753 11.7614 1.86388 10.7343C1.6449 10.685 1.14216 10.5405 0.833984 10.4506C0.783093 10.6955 0.744025 10.943 0.718323 11.1926C0.718323 11.1926 1.55263 11.3926 1.71687 11.4293C6.33792 12.4559 7.86491 13.5231 8.12296 13.7248C8.03557 13.9345 7.99008 14.1612 7.98956 14.3895C7.98905 15.3441 8.76552 16.1216 9.72114 16.1223C9.82807 16.1223 9.93422 16.1131 10.0386 16.0938C10.1822 16.7963 10.6421 17.3288 11.3448 17.6023C11.5501 17.6812 11.7578 17.7218 11.9616 17.7218C12.0937 17.7221 12.2264 17.7054 12.3559 17.6722C12.4854 18.002 12.7777 18.4127 13.4303 18.6779C13.6593 18.77 13.888 18.818 14.1106 18.818C14.2923 18.818 14.4699 18.7862 14.6393 18.724C14.9521 19.4858 15.6967 19.9906 16.5264 19.9906C17.0764 19.9913 17.6044 19.7672 17.9894 19.3709C18.3194 19.5541 19.0152 19.8857 19.7181 19.8867C19.8094 19.8867 19.8947 19.8801 19.98 19.87C20.6781 19.7816 21.0033 19.5087 21.1526 19.2964C21.1796 19.2593 21.2037 19.22 21.2243 19.1791C21.3893 19.2264 21.5705 19.2653 21.7782 19.2658C22.1596 19.2658 22.5256 19.1357 22.8955 18.8661C23.2589 18.6039 23.5172 18.2279 23.5545 17.9074C23.5553 17.9033 23.556 17.8984 23.5566 17.8938C23.6789 17.919 23.8046 17.9321 23.9303 17.9321C24.3227 17.9321 24.7091 17.8097 25.0781 17.5679C25.7898 17.1011 25.9137 16.4917 25.9019 16.0925C26.0263 16.1185 26.1535 16.1319 26.28 16.1319C26.6488 16.1319 27.0105 16.0211 27.3556 15.8011C27.797 15.5191 28.0625 15.0873 28.1026 14.5848C28.1303 14.2432 28.0455 13.8986 27.8653 13.6022C29.0582 13.0884 31.7839 12.094 34.9939 11.3707C34.9744 11.1217 34.9387 10.8759 34.8942 10.6313C31.0103 11.4931 28.1121 12.7473 27.3862 13.0704\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M82.526 20.2675C82.2142 20.6826 81.7665 20.89 81.1831 20.89C80.5994 20.89 80.1496 20.6826 79.8357 20.2675C79.5196 19.8537 79.3628 19.2638 79.3628 18.4997C79.3628 17.7358 79.5196 17.1472 79.8357 16.7355C80.1496 16.3222 80.5994 16.1171 81.1831 16.1171C81.7665 16.1171 82.2142 16.3222 82.526 16.7355C82.8393 17.1472 82.9948 17.7358 82.9948 18.4997C82.9948 19.2638 82.8393 19.8537 82.526 20.2675M84.1229 15.64C83.4778 14.8324 82.4998 14.4297 81.1882 14.4297C79.8789 14.4297 78.9007 14.8324 78.2566 15.64C77.612 16.4463 77.2902 17.3991 77.2902 18.4997C77.2902 19.619 77.612 20.5752 78.2566 21.3717C78.9007 22.1649 79.8789 22.5632 81.1882 22.5632C82.4998 22.5632 83.4778 22.1649 84.1229 21.3717C84.7665 20.5752 85.0873 19.619 85.0873 18.4997C85.0873 17.3991 84.7665 16.4463 84.1229 15.64\"\n fill={quaternary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M71.2461 18.5584C71.2461 19.8972 71.6331 20.6393 72.4068 20.786C73.1789 20.9292 73.75 20.7498 74.1176 20.246C74.2918 20.034 74.4167 19.698 74.4941 19.2429C74.5709 18.7871 74.5769 18.3356 74.509 17.8894C74.4424 17.4419 74.2818 17.044 74.0302 16.6947C73.7796 16.3462 73.4118 16.1706 72.9283 16.1706C72.2706 16.1706 71.8269 16.4143 71.5943 16.8975C71.361 17.3838 71.2461 17.9367 71.2461 18.5584M74.5527 21.9054V21.4124C74.2049 21.9568 73.7351 22.294 73.1457 22.431C72.5554 22.5659 71.9709 22.5176 71.3921 22.2842C70.8114 22.0524 70.3128 21.6201 69.8967 20.9901C69.4821 20.3573 69.2742 19.5276 69.2742 18.499C69.2742 17.2972 69.5497 16.3207 70.1 15.5738C70.6516 14.8269 71.5368 14.4861 72.7545 14.4527C73.9549 14.4211 74.6527 14.6927 75.3359 15.2101C76.0828 15.7771 76.5246 16.6469 76.5246 18.0045V22.111C76.5277 23.4177 75.6165 25.8394 72.7545 25.634C70.9816 25.5055 69.9977 24.7781 69.4484 23.1301H71.5653C71.72 23.401 71.9565 23.6097 72.2773 23.7542C72.5944 23.9017 72.9152 23.9395 73.2321 23.8714C73.5508 23.8035 73.8415 23.6136 74.1039 23.3044C74.3635 22.9936 74.5131 22.5271 74.5527 21.9054\"\n fill={quaternary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M66.5408 19.3679C66.5282 20.0379 66.3359 20.498 65.9678 20.7514C65.6 21.0038 65.1973 21.1303 64.7606 21.1303C64.484 21.1303 64.2501 21.0539 64.0579 20.9023C63.8651 20.7504 63.7687 20.5026 63.7687 20.1608C63.7687 19.7778 63.9263 19.4943 64.2417 19.3113C64.4293 19.2041 64.7346 19.1121 65.1618 19.0391L65.6175 18.9543C65.8455 18.9111 66.0241 18.8656 66.1532 18.816C66.2858 18.768 66.4133 18.7042 66.5408 18.6235V19.3679ZM67.5563 15.0064C66.9026 14.6761 66.1552 14.5088 65.3147 14.5088C64.0206 14.5088 63.109 14.846 62.5774 15.5192C62.2441 15.9502 62.0559 16.5002 62.0127 17.17H63.9453C63.9926 16.8744 64.0869 16.6406 64.2301 16.4678C64.4293 16.2339 64.7683 16.1167 65.2461 16.1167C65.6754 16.1167 65.9982 16.1756 66.219 16.2959C66.439 16.4154 66.5497 16.6316 66.5497 16.9454C66.5497 17.2029 66.4063 17.3924 66.1179 17.5144C65.9578 17.5846 65.6918 17.643 65.3178 17.69L64.6331 17.7735C63.8556 17.872 63.2647 18.0367 62.8656 18.266C62.1333 18.6872 61.7683 19.3679 61.7683 20.3086C61.7683 21.0336 61.9942 21.595 62.4499 21.9903C62.9028 22.3856 63.4801 22.5524 64.1769 22.5845C68.5443 22.7796 68.4954 20.2821 68.5353 19.7629V16.8886C68.5353 15.9666 68.2094 15.3398 67.5563 15.0064V15.0064Z\"\n fill={quaternary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M59.2065 18.557C59.2065 17.7995 59.059 17.2174 58.7627 16.8087C58.4676 16.4023 58.0445 16.1965 57.4932 16.1965C56.9622 16.1965 56.5484 16.4023 56.2518 16.8087C55.9773 17.1783 55.84 17.7625 55.84 18.557C55.84 19.2975 55.9873 19.8485 56.2829 20.2181C56.5774 20.6268 57.0013 20.8304 57.5523 20.8304C58.0636 20.8304 58.4676 20.6268 58.7627 20.2181C59.059 19.8102 59.2065 19.2584 59.2065 18.557V18.557ZM55.84 23.992C55.84 24.264 55.7413 24.4974 55.5434 24.6912C55.3476 24.8857 55.1111 24.9829 54.8351 24.9829H53.8322V18.0028C53.8322 16.6455 54.2894 15.7953 55.0425 15.2208C55.5398 14.8409 56.2813 14.4785 57.6703 14.4785C58.6082 14.4785 59.7065 14.8425 60.2999 15.5657C60.9656 16.3792 61.2432 17.2857 61.2432 18.4696C61.2432 19.6943 60.9479 20.6823 60.3578 21.4418C59.7674 22.1808 59.0086 22.5486 58.0836 22.5486C57.5917 22.5486 57.1588 22.4609 56.7849 22.2875C56.3898 22.0926 56.0765 21.7919 55.84 21.3835V23.992Z\"\n fill={quaternary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M94.8863 9.12035C94.5735 9.53519 94.1268 9.74261 93.5424 9.74261C92.9592 9.74261 92.5099 9.53519 92.195 9.12035C91.8799 8.70602 91.7226 8.11589 91.7226 7.35124C91.7226 6.58762 91.8799 5.99903 92.195 5.58677C92.5099 5.17424 92.9592 4.96811 93.5424 4.96811C94.1268 4.96811 94.5735 5.17424 94.8863 5.58677C95.1986 5.99903 95.3552 6.58762 95.3552 7.35124C95.3552 8.11589 95.1986 8.70602 94.8863 9.12035M96.4822 4.49158C95.8381 3.68452 94.8606 3.28125 93.5485 3.28125C92.2382 3.28125 91.2605 3.68452 90.6169 4.49158C89.9723 5.29813 89.65 6.25143 89.65 7.35124C89.65 8.47085 89.9723 9.42749 90.6169 10.224C91.2605 11.0177 92.2382 11.4161 93.5485 11.4161C94.8606 11.4161 95.8381 11.0177 96.4822 10.224C97.1268 9.42749 97.4481 8.47085 97.4481 7.35124C97.4481 6.25143 97.1268 5.29813 96.4822 4.49158\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M86.643 9.13648C86.3497 9.55698 85.9192 9.76671 85.3553 9.76671C84.7895 9.76671 84.3688 9.55492 84.0917 9.13288C83.8147 8.71008 83.6761 8.0945 83.6761 7.39025C83.6761 6.73664 83.8116 6.18943 84.0848 5.74838C84.3572 5.30784 84.7849 5.08654 85.3689 5.08654C85.7519 5.08654 86.0873 5.20811 86.3775 5.45048C86.8488 5.85221 87.0843 6.5724 87.0843 7.50514C87.0843 8.17264 86.9373 8.71625 86.643 9.13648V9.13648ZM89.0526 0.930439C89.0526 0.930439 87.029 0.714281 87.029 2.33971L87.0275 4.49152C86.8036 4.13195 86.5124 3.85076 86.1531 3.64822C85.7945 3.44543 85.384 3.34313 84.9206 3.34313C83.9172 3.34313 83.1173 3.71711 82.5169 4.46325C81.9165 5.21068 81.6179 6.2871 81.6179 7.58893C81.6179 8.7183 81.9222 9.64462 82.5311 10.3656C83.14 11.0858 84.3344 11.4019 85.3951 11.4019C89.0937 11.4019 89.051 8.23021 89.051 8.23021L89.0526 0.930439Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M79.009 8.17819C78.9954 8.84748 78.8037 9.30859 78.4354 9.5615C78.0668 9.81441 77.6643 9.94113 77.2278 9.94113C76.9513 9.94113 76.7174 9.86453 76.5246 9.71263C76.3324 9.56047 76.2365 9.31321 76.2365 8.97137C76.2365 8.58789 76.3935 8.3049 76.7084 8.1219C76.896 8.01472 77.2019 7.92245 77.6291 7.8492L78.0853 7.76464C78.3122 7.72146 78.4909 7.67545 78.6214 7.6261C78.7535 7.57804 78.881 7.51455 79.009 7.43385V8.17819ZM80.0235 3.81673C79.3704 3.48543 78.623 3.31836 77.7817 3.31836C76.4889 3.31836 75.5765 3.65609 75.0452 4.32924C74.7108 4.76078 74.5237 5.31056 74.48 5.97986H76.4118C76.4593 5.68453 76.5542 5.45064 76.6968 5.27766C76.896 5.04377 77.2345 4.92682 77.7134 4.92682C78.1416 4.92682 78.4649 4.98542 78.6862 5.10623C78.9062 5.22523 79.017 5.4419 79.017 5.75496C79.017 6.01301 78.8741 6.20192 78.5855 6.32427C78.4248 6.39469 78.1585 6.45304 77.7851 6.49982L77.1004 6.58412C76.3223 6.68205 75.732 6.84654 75.3318 7.07632C74.6005 7.49785 74.235 8.17819 74.235 9.11942C74.235 9.84423 74.4615 10.4056 74.9167 10.8011C75.3701 11.1967 75.9473 11.3627 76.6441 11.3951C81.0125 11.5899 80.9635 9.09294 81.0035 8.5735V5.69893C81.0035 4.77749 80.6761 4.14932 80.0235 3.81673V3.81673Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M70.0624 5.03086C70.5618 5.03086 70.9283 5.18508 71.1653 5.49325C71.3279 5.72149 71.4292 5.97877 71.4691 6.26381H73.6234C73.5055 5.1766 73.1251 4.4176 72.483 3.9876C71.8384 3.55939 71.0131 3.34375 70.004 3.34375C68.8173 3.34375 67.8851 3.70847 67.2119 4.43611C66.5367 5.16477 66.1995 6.18285 66.1995 7.49188C66.1995 8.65106 66.5046 9.59589 67.115 10.324C67.726 11.0517 68.6788 11.4161 69.9729 11.4161C71.2691 11.4161 72.2476 10.9797 72.9066 10.1066C73.3204 9.56582 73.5522 8.99136 73.6011 8.38427H71.4534C71.4097 8.78549 71.2843 9.11294 71.0763 9.36482C70.8692 9.61594 70.5201 9.74265 70.0261 9.74265C69.3303 9.74265 68.8572 9.42574 68.6055 8.78986C68.468 8.45084 68.3981 8.00182 68.3981 7.44304C68.3981 6.85677 68.468 6.38693 68.6055 6.03198C68.8672 5.36525 69.353 5.03086 70.0624 5.03086\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M65.6216 3.34375C61.1954 3.34375 61.457 7.26313 61.457 7.26313V11.2442H63.4659V7.51013C63.4659 6.89841 63.5433 6.44527 63.6965 6.15072C63.972 5.6287 64.5102 5.36654 65.3139 5.36654C65.3741 5.36654 65.454 5.36988 65.552 5.37425C65.6496 5.37913 65.7607 5.38787 65.8887 5.40278V3.35891C65.7992 3.35275 65.7416 3.35018 65.7164 3.34786C65.691 3.34581 65.6591 3.34375 65.6216 3.34375\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M55.5429 5.42365C55.8257 5.13347 56.2223 4.98799 56.7342 4.98799C57.2051 4.98799 57.5991 5.12447 57.9178 5.39923C58.2353 5.67322 58.4129 6.07572 58.4486 6.60442H55.0119C55.0836 6.10759 55.2612 5.7146 55.5429 5.42365V5.42365ZM58.2432 9.16388C58.1589 9.28417 58.068 9.38723 57.9682 9.46743C57.6845 9.70132 57.2989 9.77226 56.845 9.77226C56.4158 9.77226 56.0801 9.70723 55.7758 9.51549C55.2749 9.20757 54.9926 8.68607 54.9626 7.92091H60.5207C60.5282 7.26215 60.5071 6.75761 60.4539 6.40651C60.3616 5.80893 60.1583 5.28203 59.8466 4.82889C59.4998 4.31484 59.059 3.93856 58.5273 3.69927C57.9957 3.46229 57.3979 3.34277 56.7342 3.34277C55.6146 3.34277 54.7061 3.69567 54.0054 4.40043C53.3045 5.10674 52.9526 6.11916 52.9526 7.44104C52.9526 8.85211 53.3413 9.87044 54.1182 10.496C54.8939 11.1219 55.791 11.4355 56.806 11.4355C58.0358 11.4355 58.9932 11.0643 59.6764 10.322C60.045 9.93136 60.2758 9.54479 60.3732 9.16388H58.2432Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M52.1464 11.2428H50.3115V6.62252C50.3115 6.20049 50.1719 5.19655 48.9616 5.19655C48.1551 5.19655 47.5711 5.77845 47.5711 6.62252V11.2428H45.7344V6.62252C45.7344 6.20049 45.609 5.19655 44.3994 5.19655C43.5785 5.19655 43.0079 5.77845 43.0079 6.62252V11.2428H41.1719V6.66647C41.1719 4.75883 42.4375 3.31641 44.3994 3.31641C45.3733 3.31641 46.1654 3.72559 46.6808 4.38075C47.2228 3.72559 48.0294 3.31641 48.9616 3.31641C50.9646 3.31641 52.1464 4.70049 52.1464 6.66647V11.2428Z\"\n fill={secondary}\n />\n </svg>\n );\n};\n\nexport function MercadoPagoLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.MERCADOPAGO,\n MERCADOPAGO_LOGO_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.MERCADOPAGO}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function MercadoPagoLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getMercadoPagoSVG(\n getLogoColors(LOGO.MERCADOPAGO, MERCADOPAGO_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.MERCADOPAGO}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const MercadoPagoLogo = MercadoPagoLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const MULTIBANCO_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#1866AB\",\n secondary: \"#373535\",\n },\n};\n\nexport const getMultibancoSVG = ({\n primary,\n secondary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"31\"\n height=\"36\"\n viewBox=\"0 0 31 36\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M15.032 28.9122H27.4697C30.3098 28.9122 30.3381 25.8936 30.0489 24.4033C29.8908 23.4017 28.1887 23.4101 28.0013 24.4033V25.5662C28.0013 26.0973 27.5664 26.5323 27.035 26.5323H15.032H14.0721H3.18896C2.65759 26.5323 2.22288 26.0973 2.22288 25.5662V24.4033C2.03548 23.4101 0.33337 23.4017 0.175316 24.4033C-0.113671 25.8936 -0.0858076 28.9122 2.75449 28.9122H14.0721H15.032Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M6.23859 0H24.4543H25.4167C26.7643 0 27.8665 1.16655 27.8665 2.59249V3.83153C27.8665 5.58321 25.4934 5.57655 25.4934 3.84337V3.16652C25.4934 2.736 25.1413 2.38389 24.7105 2.38389H5.49319C5.06267 2.38389 4.71056 2.736 4.71056 3.16652V3.82956C4.71056 5.57162 2.44897 5.55929 2.44897 3.86729V2.59249C2.44897 1.16655 3.55141 0 4.8987 0H6.23859Z\"\n fill={primary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M27.3825 14.242C28.7108 14.8668 29.6278 16.1566 29.6278 17.6376C29.6278 19.7256 27.8049 21.4338 25.5764 21.4338H19.3309C18.7467 21.4338 18.2686 20.9861 18.2686 20.4387V8.55595C18.2686 7.9829 18.7381 7.51367 19.3121 7.51367H24.5141C26.704 7.51367 28.4956 9.30356 28.4956 11.4909C28.4956 12.5559 28.0707 13.5262 27.3825 14.242M22.721 13.2742H24.704V13.2522C25.6069 13.1136 26.3043 12.3285 26.3043 11.3884V11.3884C26.3043 10.3513 25.4555 9.50255 24.4185 9.50255H20.4242V19.3631H25.4893C26.5605 19.3631 27.4368 18.4868 27.4368 17.4156C27.4368 16.3445 26.5605 15.4682 25.4893 15.4682H24.704V15.4635H22.721C22.1189 15.4635 21.6262 14.9711 21.6262 14.369C21.6262 13.7668 22.1189 13.2742 22.721 13.2742\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M17.2763 20.2468C17.3495 20.935 16.8507 21.5524 16.1625 21.6254C15.4743 21.6986 14.8569 21.2 14.7839 20.5116L13.7569 11.0619L10.1194 20.3018L10.1157 20.3104L10.1155 20.3114V20.3116L10.1054 20.336L10.0972 20.3553L10.0953 20.36L10.0866 20.3792L10.0812 20.3908L10.0726 20.4088L10.0684 20.4172L10.0588 20.4362L10.0553 20.4428C9.98826 20.5693 9.90196 20.6805 9.80111 20.774L9.79741 20.7772L9.77867 20.7942C9.71308 20.8524 9.64059 20.9037 9.56193 20.9478L9.55651 20.9508L9.53283 20.9636L9.53185 20.9641L9.5099 20.9754L9.49979 20.9806L9.48574 20.9873L9.4707 20.9942L9.45763 21.0003L9.44209 21.007L9.42853 21.0127L9.41571 21.0181L9.40412 21.0225L9.39746 21.0252L9.38686 21.0292L9.37034 21.0353L9.36072 21.0385C9.23941 21.081 9.11588 21.1036 8.99333 21.1081L8.97853 21.1086L8.96078 21.1088H8.94796H8.93489L8.91763 21.1086L8.90185 21.1081C8.765 21.1031 8.62642 21.0753 8.49155 21.0225L8.47478 21.0159L8.47059 21.0139L8.45382 21.0072L8.43755 21.0001L8.42448 20.9939L8.41042 20.9875L8.39538 20.9804L8.38675 20.9759L8.36382 20.9643L8.3616 20.9628L8.34212 20.9522L8.33103 20.9463C8.26223 20.9076 8.19837 20.863 8.13944 20.8134L8.13475 20.8092C8.1207 20.7971 8.10689 20.7853 8.09333 20.7727L8.09259 20.7717C8.08198 20.7619 8.07138 20.7518 8.06127 20.7417C8.05116 20.7313 8.04081 20.721 8.03094 20.7104L8.0302 20.7094C8.01763 20.6958 8.00555 20.6822 7.99346 20.6679L7.98927 20.6633C7.93971 20.6043 7.89533 20.5405 7.85661 20.4717L7.85045 20.4608L7.8396 20.4411L7.83861 20.4386L7.82678 20.4162L7.82259 20.4073L7.81544 20.3925L7.80878 20.3782L7.80286 20.3651L7.79571 20.3489L7.78856 20.3323L7.78708 20.3282L7.78018 20.3114L4.13875 11.0619L3.11177 20.5116C3.03853 21.2 2.42135 21.6986 1.73316 21.6254C1.04472 21.5524 0.546149 20.935 0.619382 20.2468L1.83007 9.10577L1.83056 9.10282L1.83105 9.09813L1.83056 9.09788C1.84511 8.96819 1.87248 8.83898 1.91193 8.71224C1.95015 8.5892 2.00119 8.46788 2.06431 8.34953C2.37352 7.76884 2.94237 7.3615 3.62119 7.26756L3.62366 7.26706C3.64634 7.2641 3.66927 7.26164 3.69196 7.25967C3.79823 7.24857 3.90401 7.24536 4.00807 7.2503L4.013 7.25054V7.2503C4.14837 7.25671 4.27511 7.27372 4.39198 7.30084C5.03949 7.45199 5.5896 7.90249 5.84851 8.5601L8.94796 16.4325L12.0472 8.5601C12.3061 7.90249 12.8562 7.45199 13.5037 7.30084C13.6203 7.27372 13.7471 7.25671 13.8827 7.2503V7.25054L13.8876 7.2503C13.9919 7.24536 14.0979 7.24857 14.2045 7.25967C14.2269 7.26164 14.2493 7.2641 14.272 7.26706L14.2745 7.26756C14.9533 7.3615 15.5224 7.76884 15.8316 8.34953C15.8945 8.46788 15.9458 8.5892 15.9837 8.71224C16.0232 8.83898 16.0506 8.96794 16.0651 9.09788L16.0646 9.09813L16.0651 9.10282L16.0656 9.10577L17.2763 20.2468Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M28.8133 32.8943V32.8955H28.8128H28.8121V32.8943C28.5653 32.8943 28.3407 32.9914 28.1784 33.1473C28.0189 33.3004 27.92 33.51 27.9197 33.7388H27.9212V33.7393V34.3631V34.3639H27.9197C27.92 34.5925 28.0189 34.8016 28.1779 34.9547C28.3407 35.1108 28.5653 35.2082 28.8126 35.2082V35.2069H28.8128H28.8138V35.2082C29.0609 35.2082 29.2853 35.111 29.4478 34.9547C29.6071 34.8018 29.7062 34.5925 29.7062 34.3634H29.705V34.3631V33.7393V33.7386H29.7062C29.7059 33.5098 29.6071 33.3004 29.448 33.1475C29.2853 32.9914 29.0607 32.8943 28.8133 32.8943V32.8943ZM28.8128 32.2256H28.8133V32.2271C29.2404 32.2271 29.6293 32.3955 29.9111 32.666C30.1961 32.9402 30.3732 33.3196 30.3734 33.7386H30.3747V33.7393V34.3631V34.3634H30.3734C30.3732 34.7826 30.1961 35.1623 29.9108 35.4365C29.6293 35.707 29.2407 35.8751 28.8138 35.8754V35.8769H28.8128H28.8126V35.8754C28.3855 35.8754 27.9967 35.707 27.7148 35.4362C27.43 35.1623 27.2528 34.7828 27.2525 34.3639H27.2513V34.3631V33.7393V33.7388H27.2525C27.2528 33.3199 27.43 32.9399 27.7153 32.666C27.9969 32.3955 28.3855 32.2273 28.8121 32.2271V32.2256H28.8128Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M26.8754 35.2069C27.0603 35.2069 27.2102 35.3568 27.2102 35.5418C27.2102 35.7267 27.0603 35.8769 26.8754 35.8769H25.8886H25.8881V35.8754C25.5244 35.8754 25.194 35.7265 24.9548 35.4873C24.7166 35.2491 24.5687 34.9192 24.5682 34.5557H24.567V34.555V33.5475V33.547H24.5682C24.5684 33.1833 24.7169 32.8526 24.9563 32.6134C25.1947 32.3755 25.5244 32.2273 25.8876 32.2271V32.2256H25.8886H26.8754C27.0603 32.2256 27.2102 32.3758 27.2102 32.5607C27.2102 32.7456 27.0603 32.8955 26.8754 32.8955H25.8886H25.8876V32.8943C25.7093 32.8943 25.5461 32.9683 25.4273 33.0871C25.3089 33.2055 25.2357 33.3682 25.2357 33.547H25.2367V33.5475V34.555V34.5557H25.2357C25.2357 34.7342 25.3094 34.8975 25.4285 35.0163C25.5466 35.1344 25.7093 35.2082 25.8881 35.2082V35.2069H25.8886H26.8754Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M21.6444 35.5418C21.6444 35.7267 21.4945 35.8766 21.3095 35.8766C21.1246 35.8766 20.9744 35.7267 20.9744 35.5418V32.7725V32.7713C20.9744 32.752 20.9759 32.7328 20.9791 32.7145C20.9835 32.6768 20.9927 32.6406 21.0055 32.6061L21.006 32.6051L21.0055 32.6048C21.0124 32.5863 21.022 32.5664 21.0331 32.5449L21.0339 32.5439L21.0331 32.5437C21.0891 32.4421 21.1801 32.3632 21.2947 32.3237C21.31 32.3188 21.3253 32.3144 21.3408 32.3114C21.3527 32.3087 21.3645 32.3062 21.3763 32.3045L21.3791 32.304V32.303C21.4015 32.2998 21.4284 32.2983 21.4592 32.2991H21.4617H21.4676H21.4678C21.6052 32.3045 21.7334 32.3681 21.8219 32.4808L23.6044 34.754V32.5604C23.6044 32.3755 23.7546 32.2256 23.9395 32.2256C24.1244 32.2256 24.2743 32.3755 24.2743 32.5604V35.3176C24.2743 35.4634 24.2088 35.595 24.0995 35.6843C24.0788 35.7011 24.0559 35.7168 24.0312 35.7307C24.0179 35.7381 24.0039 35.7447 23.9895 35.7511L23.9859 35.7526L23.9851 35.7528C23.9762 35.757 23.9671 35.761 23.9575 35.7642L23.9565 35.7647V35.7642H23.9563L23.956 35.7639L23.9538 35.7647C23.8322 35.8066 23.7045 35.7977 23.5948 35.7445C23.5802 35.7383 23.5659 35.7309 23.5516 35.722C23.5289 35.7082 23.5065 35.6912 23.4853 35.6725C23.472 35.6606 23.4577 35.6458 23.4426 35.6278L23.4315 35.615L23.4308 35.6143L23.4311 35.614L23.4269 35.6088L21.6444 33.3362V35.5418Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M20.6191 35.5011C20.6415 35.6845 20.5108 35.8517 20.3271 35.8742C20.1437 35.8966 19.977 35.7657 19.9545 35.5822L19.8367 34.6364H18.676C18.4911 34.6364 18.3412 34.4864 18.3412 34.3015C18.3412 34.1166 18.4911 33.9664 18.676 33.9664H19.7533L19.7228 33.7208L19.7223 33.7181C19.7213 33.7102 19.7205 33.7023 19.7203 33.6947C19.7117 33.6385 19.6991 33.5813 19.6816 33.5236C19.6621 33.459 19.6389 33.3995 19.6128 33.347C19.4799 33.0814 19.2395 32.8955 18.9354 32.8955H18.9322V32.8943C18.8743 32.8943 18.8176 32.9014 18.7638 32.9145C18.7133 32.9266 18.6632 32.9456 18.6141 32.9705C18.3572 33.1014 18.1851 33.3874 18.1481 33.7169L17.9385 35.5783C17.9183 35.762 17.7529 35.8944 17.5694 35.8742C17.3862 35.8539 17.2538 35.6885 17.274 35.505L17.4834 33.6436C17.5452 33.094 17.8503 32.608 18.3109 32.3738C18.4014 32.3279 18.5002 32.2909 18.6068 32.2655C18.7098 32.2404 18.8186 32.2273 18.9322 32.2271V32.2256H18.9354C19.5161 32.2256 19.9671 32.5649 20.2092 33.0487C20.2558 33.1419 20.2941 33.2368 20.3227 33.3327C20.3483 33.4183 20.3678 33.5095 20.3814 33.6054C20.3838 33.6158 20.3858 33.6261 20.387 33.6367L20.3875 33.6394L20.6191 35.5011Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M14.6994 32.8955V34.0303V35.2069H15.9932H15.9939V35.2082C16.1088 35.2082 16.2141 35.1603 16.2913 35.0831C16.3678 35.007 16.4151 34.9017 16.4151 34.7865H16.4141V34.786V34.785H16.4151C16.4151 34.677 16.3727 34.5769 16.3031 34.5015L16.2903 34.4891C16.2131 34.4117 16.1079 34.3639 15.9937 34.3639V34.3651H15.9932H15.6709H15.6699H15.5476C15.363 34.3651 15.2128 34.2147 15.2128 34.0303C15.2128 33.8458 15.363 33.6952 15.5476 33.6952H15.6699H15.6709H15.7C15.7969 33.6878 15.8855 33.6441 15.9523 33.5778L15.9528 33.5783L15.9533 33.5778C16.0258 33.5051 16.0711 33.4052 16.0711 33.2957H16.0699V33.2955V33.2952V33.2945H16.0711C16.0711 33.1855 16.0255 33.0854 15.9523 33.0122C15.8798 32.9397 15.7797 32.8943 15.6704 32.8943V32.8955H15.6699H14.6994ZM14.0297 34.0303V32.5752V32.575C14.0297 32.5276 14.0396 32.4825 14.0571 32.4418C14.0751 32.3982 14.1017 32.359 14.1348 32.3267L14.139 32.323L14.1387 32.3227C14.1954 32.2685 14.2709 32.2322 14.3587 32.2271C14.3653 32.2266 14.372 32.2261 14.3784 32.2263V32.2256H14.3794H15.6699H15.6704V32.2271C15.9648 32.2271 16.2324 32.3474 16.4257 32.541C16.6185 32.7338 16.7381 33.0003 16.7384 33.2945H16.7398V33.2952V33.2955V33.2957H16.7384C16.7384 33.5043 16.6777 33.6991 16.5739 33.8638C16.6427 33.9075 16.7065 33.9583 16.764 34.0155C16.7711 34.0226 16.7778 34.0303 16.7845 34.0379C16.9687 34.2325 17.0823 34.4958 17.0826 34.785H17.0838V34.786V34.7865H17.0826C17.0826 35.0866 16.9598 35.3593 16.7623 35.5568C16.566 35.7531 16.294 35.8751 15.9939 35.8754V35.8769H15.9932H14.3646C14.1796 35.8769 14.0297 35.7267 14.0297 35.5418V34.0303Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.7486 35.5418C13.7486 35.7267 13.5986 35.8766 13.4137 35.8766C13.2288 35.8766 13.0789 35.7267 13.0789 35.5418V32.5604C13.0789 32.3755 13.2288 32.2256 13.4137 32.2256C13.5986 32.2256 13.7486 32.3755 13.7486 32.5604V35.5418Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M11.6595 35.5418C11.6595 35.7267 11.5095 35.8766 11.3246 35.8766C11.1397 35.8766 10.9898 35.7267 10.9898 35.5418V32.8955H10.0368C9.85182 32.8955 9.7019 32.7454 9.7019 32.5604C9.7019 32.3755 9.85182 32.2256 10.0368 32.2256H11.3246H12.6125C12.7974 32.2256 12.9473 32.3755 12.9473 32.5604C12.9473 32.7454 12.7974 32.8955 12.6125 32.8955H11.6595V35.5418Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M10.1963 35.2069C10.3812 35.2069 10.5312 35.3568 10.5312 35.5418C10.5312 35.7267 10.3812 35.8769 10.1963 35.8769H9.27165H9.2714V35.8754C8.92472 35.8754 8.60984 35.7336 8.38176 35.5058C8.15491 35.2784 8.01387 34.9645 8.01362 34.6181H8.01239V34.6171V32.5607C8.01239 32.3758 8.16231 32.2256 8.34724 32.2256C8.53217 32.2256 8.68209 32.3758 8.68209 32.5607V34.6171V34.6181H8.68086C8.68086 34.7794 8.74768 34.9268 8.85543 35.0346C8.96244 35.1413 9.10965 35.2082 9.2714 35.2082V35.2069H9.27165H10.1963Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M7.03116 32.5604C7.03116 32.3755 7.18108 32.2256 7.36601 32.2256C7.55094 32.2256 7.7011 32.3755 7.7011 32.5604V34.3718V34.3723H7.69963C7.69963 34.7863 7.53023 35.1625 7.25776 35.435C6.98628 35.7065 6.61075 35.8749 6.197 35.8751V35.8766H6.19626H6.19576V35.8751C5.78176 35.8751 5.40549 35.706 5.13302 35.4333C4.86154 35.1618 4.69313 34.7863 4.69289 34.3728H4.69141V34.3718V32.5604C4.69141 32.3755 4.84157 32.2256 5.0265 32.2256C5.21143 32.2256 5.36135 32.3755 5.36135 32.5604V34.3718V34.3728H5.36012C5.36012 34.6013 5.45456 34.8102 5.60669 34.9623C5.75809 35.1135 5.96669 35.2079 6.19576 35.2079V35.2067H6.19626H6.197V35.2079C6.42582 35.2079 6.63491 35.1135 6.7868 34.9613C6.9382 34.8099 7.03239 34.6013 7.03239 34.3723H7.03116V34.3718V32.5604Z\"\n fill={secondary}\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M4.5672 35.5028C4.58889 35.6862 4.45747 35.8527 4.27426 35.8744C4.09057 35.8958 3.92413 35.7649 3.90243 35.5812L3.61542 33.1694L2.59213 35.5422C2.51914 35.7121 2.32237 35.7905 2.15273 35.7175C2.07062 35.6825 2.00996 35.6182 1.97742 35.5422V35.5422L0.954128 33.1694L0.666868 35.5812C0.645169 35.7649 0.478731 35.8958 0.295279 35.8744C0.111827 35.8527 -0.0193515 35.6862 0.00234713 35.5028L0.33547 32.7024C0.357169 32.5195 0.468621 32.3693 0.628155 32.2869C0.649114 32.2758 0.671059 32.2662 0.693251 32.2578C0.701881 32.2544 0.710265 32.2514 0.719142 32.2487C0.747498 32.2398 0.780539 32.2324 0.817772 32.2275V32.2278L0.820484 32.2275L0.823443 32.227C0.998265 32.2048 1.17062 32.2613 1.2912 32.3747C1.31536 32.3976 1.33829 32.424 1.3595 32.4534C1.3738 32.4736 1.38711 32.4945 1.39846 32.5162C1.40561 32.5283 1.41177 32.5404 1.4172 32.5535L2.28465 34.5648L3.1521 32.5535C3.22385 32.3875 3.37131 32.2741 3.54391 32.2361C3.57695 32.229 3.60999 32.2241 3.64229 32.2226C3.6672 32.2213 3.69185 32.2213 3.71528 32.2228L3.7175 32.2231V32.2231C3.72563 32.2236 3.73377 32.2243 3.74216 32.2253L3.74487 32.2258L3.74462 32.2268L3.7461 32.227C3.92511 32.2497 4.0775 32.3503 4.16306 32.4945H4.16281C4.18081 32.5246 4.19536 32.5567 4.2072 32.59C4.21435 32.6109 4.22076 32.6326 4.22544 32.6556C4.22889 32.6699 4.23161 32.6844 4.23333 32.6995L4.23383 32.7024L4.5672 35.5028Z\"\n fill={secondary}\n />\n </svg>\n );\n};\n\nexport function MultibancoLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.MULTIBANCO,\n MULTIBANCO_LOGO_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.MULTIBANCO}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function MultibancoLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getMultibancoSVG(\n getLogoColors(LOGO.MULTIBANCO, MULTIBANCO_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.MULTIBANCO}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const MultibancoLogo = MultibancoLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const SATISPAY_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#2C2E2F\",\n },\n};\n\nexport const getSatispaySVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n width=\"94\"\n height=\"22\"\n viewBox=\"0 0 94 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clip-path=\"url(#clip0_412_10190)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M18.5709 7.3559L21.9942 10.763C22.1295 10.8977 22.1295 11.1154 21.9942 11.2495L18.5709 14.6571L14.7157 18.4935L11.2934 21.8996C11.2288 21.9639 11.1408 22.0004 11.0492 22.0004H11.0467H4.69082C4.38308 22.0004 4.22895 21.6298 4.44666 21.4131L7.38016 18.4935L11.0477 14.8429L14.6587 11.2495L14.9029 11.0065L14.6587 10.763L11.0477 7.16959L7.38016 3.51898L4.43445 0.587257C4.21674 0.370579 4.37087 0 4.67862 0H11.0365C11.0386 0 11.0405 0.000540354 11.0424 0.00106265C11.0442 0.00155118 11.0459 0.00202391 11.0477 0.00202391C11.1352 0.00506145 11.2191 0.0389804 11.2811 0.100744L14.7157 3.51898L18.5709 7.3559ZM17.6612 0.587306C17.8789 0.370629 17.7248 4.96218e-05 17.4165 4.96218e-05H12.2876L15.2699 2.96721L17.6612 0.587306ZM54.6292 2.74786L53.1963 3.05364V3.67734V4.77946L53.2024 4.78655H53.4074L54.8342 4.48229V3.9978V2.74786H54.6292ZM51.1905 15.7936C50.6172 15.9976 49.962 16.1601 49.1431 16.1601C48.1395 16.1601 46.5636 15.9359 46.5636 13.6334V7.76491H45.2935V6.33878H46.5636V4.05658L48.0169 3.75081H48.1807V6.33878H51.3344V7.76491H48.1807V13.5929C48.1807 14.6318 49.0612 14.7138 49.4701 14.7138C49.8801 14.7138 50.5348 14.571 51.047 14.408L51.1905 15.7936ZM27.708 14.347H27.8723C28.8342 14.5506 29.6944 14.6933 30.5337 14.6933C31.8033 14.6933 32.7245 14.3875 32.7245 13.3077C32.7245 12.4342 31.7722 12.0948 30.7009 11.7131C29.3235 11.2222 27.7492 10.6613 27.7492 8.80455C27.7492 7.0114 29.4278 6.05356 31.5368 6.05356C32.3766 6.05356 33.2159 6.17557 33.9936 6.42009V7.92772H33.8298C32.9493 7.6432 32.1919 7.52069 31.5164 7.52069C30.5133 7.52069 29.469 7.74496 29.469 8.80455C29.469 9.62839 30.4099 9.9514 31.4732 10.3165C32.8551 10.7909 34.4438 11.3363 34.4438 13.1442C34.4438 15.4679 32.5607 16.1605 30.4721 16.1605C29.4482 16.1605 28.4247 16.0177 27.708 15.8542V14.347ZM57.3513 14.347H57.1875V15.8542C57.9042 16.0177 58.9277 16.1605 59.9516 16.1605C62.0402 16.1605 63.9233 15.4679 63.9233 13.1442C63.9233 11.3363 62.3344 10.7909 60.9524 10.3165C59.8889 9.9514 58.948 9.62839 58.948 8.80455C58.948 7.74496 59.9928 7.52069 60.9959 7.52069C61.6709 7.52069 62.4288 7.6432 63.3093 7.92772H63.4731V6.42009C62.6954 6.17557 61.8556 6.05356 61.0163 6.05356C58.9073 6.05356 57.2287 7.0114 57.2287 8.80455C57.2287 10.6613 58.803 11.2222 60.1804 11.7131C61.2517 12.0948 62.204 12.4342 62.204 13.3077C62.204 14.3875 61.2828 14.6933 60.0132 14.6933C59.1739 14.6933 58.3137 14.5506 57.3513 14.347ZM67.7307 14.4894C68.366 14.5912 69.041 14.6934 69.9012 14.6934C71.9074 14.6934 73.177 13.4298 73.177 10.9639C73.177 8.68165 72.4191 7.52081 70.7817 7.52081C69.8188 7.52081 68.7541 7.92784 67.7307 8.82492V10.3868V14.4894ZM66.0928 10.3868V20.969H66.2978L67.7307 20.6632V15.9155C68.4062 16.0583 69.041 16.1601 69.8396 16.1601C73.2589 16.1601 74.8963 13.8374 74.8963 10.7198C74.8963 7.54106 73.2589 6.05317 71.15 6.05317C69.7374 6.05317 68.6931 6.58322 67.7307 7.29654V6.05317H67.5257L66.0928 6.35895V10.3868ZM85.168 6.33864L88.4692 15.7727L88.6122 16.16C87.9367 17.8104 87.4865 18.5237 85.7051 19.7868L86.6263 20.9689C88.3868 19.8688 89.452 18.6867 90.3121 16.2415L93.9232 6.33864H92.0599L89.513 13.7558H89.3701L87.0511 6.33864H85.168ZM82.102 11.4531L79.461 11.8404C78.7652 11.9422 77.9864 12.2277 77.9864 13.3273C77.9864 14.1226 78.5403 14.6729 79.3791 14.6729C80.28 14.6729 81.3039 14.1019 82.102 13.5318V11.4531ZM83.74 15.8545L82.4093 16.1198H82.1839V14.7747H82.1427C81.2831 15.4267 80.2388 16.0996 78.8262 16.0996C77.5774 16.0996 76.2671 15.2025 76.2671 13.4498C76.2671 11.0871 78.3964 10.7606 79.5429 10.5971L82.102 10.2508V9.59923C82.102 7.96858 81.3243 7.52054 79.9117 7.52054C79.3791 7.52054 78.0485 7.68356 76.9635 8.1726L76.7788 6.66497C77.6802 6.31818 79.0928 6.05341 80.2189 6.05341C82.245 6.05341 83.74 6.88873 83.74 9.59923V15.8545ZM39.0495 14.6729C39.9504 14.6729 40.9743 14.1018 41.7725 13.5318V11.4531L39.1314 11.8404C38.4356 11.9421 37.6568 12.2276 37.6568 13.3277C37.6568 14.1231 38.2102 14.6729 39.0495 14.6729ZM39.8888 6.05335C41.9154 6.05335 43.4104 6.88867 43.4104 9.59917V15.8545L42.0797 16.1197H41.8543V14.7746H41.8131C40.9535 15.4267 39.9092 16.0995 38.4966 16.0995C37.2478 16.0995 35.9375 15.2024 35.9375 13.4497C35.9375 11.0871 38.0668 10.7605 39.2133 10.5975L41.7725 10.2512V9.59917C41.7725 7.96902 40.9947 7.52048 39.5821 7.52048C39.0495 7.52048 37.7189 7.6835 36.6339 8.17254L36.4492 6.66491C37.3501 6.31863 38.7632 6.05335 39.8888 6.05335ZM53.1958 16.1196H53.2026L53.1958 16.1123V16.1196ZM53.1963 6.35903L54.6292 6.05325H54.8342V15.3309V15.8154L53.4074 16.1191H53.2024L53.1963 16.1126V15.0104V6.35903ZM6.82559 4.07028L10.4936 7.72089L7.43701 10.763L7.19234 11.0065L7.43701 11.2495L10.4936 14.2916L6.82559 17.9422L3.52483 14.6571L0.10148 11.2495C-0.0338265 11.1153 -0.0338265 10.8971 0.10148 10.763L3.52483 7.35588L6.82559 4.07028ZM15.2694 19.0448L12.2998 22.0004H17.4043C17.7121 22.0004 17.8667 21.6298 17.649 21.4131L15.2694 19.0448Z\"\n fill={primary}\n />\n </g>\n <defs>\n <clipPath id=\"clip0_412_10190\">\n <rect width=\"93.9231\" height=\"22\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n );\n};\n\nexport function SatispayLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.SATISPAY, SATISPAY_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.SATISPAY}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function SatispayLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getSatispaySVG(\n getLogoColors(LOGO.SATISPAY, SATISPAY_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.SATISPAY}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const SatispayLogo = SatispayLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const PAIDY_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n tertiary: \"#FFFFFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n secondary: \"#FFFFFF\",\n tertiary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#A6009C\",\n secondary: \"#FF009C\",\n tertiary: \"#1C1C1C\",\n },\n};\n\nexport const getPaidySVG = ({\n primary,\n secondary,\n tertiary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"79\"\n height=\"22\"\n viewBox=\"0 0 79 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9.8735 9.10432C9.78191 8.9761 8.7561 7.73047 8.7561 7.73047V15.6622C8.7561 16.3033 9.28733 16.8346 9.92846 16.8346C10.5696 16.8346 11.1008 16.3033 11.1008 15.6622L11.0825 10.4415C10.7345 10.0935 10.4047 9.72714 9.8735 9.10432Z\"\n fill=\"url(#paint0_linear_553_11067)\"\n />\n <path\n d=\"M20.6261 13.7752C20.2231 13.7752 19.8385 13.6836 19.4904 13.5187C19.4721 13.7752 19.5637 14.5629 18.3181 15.4604C18.2265 15.5154 13.244 18.6844 12.1998 19.2157C10.8443 19.8934 9.34222 19.6919 8.46295 19.234C8.1149 19.0874 3.7552 16.4863 3.57202 16.358C3.2423 16.1199 2.71107 15.6803 2.54621 15.0941C2.39967 14.5995 2.39967 13.8118 2.39967 13.8118V7.21732C2.39967 6.19151 2.69276 4.3597 4.5612 3.5537C6.55787 2.82098 7.63863 3.97502 8.68276 5.23897C8.75604 5.33056 10.7893 8.02331 11.6869 8.81099C12.841 9.8368 14.0133 10.368 15.4055 10.368C19.179 10.368 20.6078 7.38218 20.6078 5.18401C20.6078 2.3264 18.2631 0 15.3872 0C13.6103 0 11.9617 0.897585 11.0092 2.38135C11.1923 2.58285 11.632 3.13239 11.7052 3.20566C11.7236 3.22398 12.4746 4.19484 12.5112 4.24979C12.6395 4.08493 13.7202 2.38135 15.3872 2.38135C17.0908 2.38135 18.1898 3.70025 18.1898 5.18401C18.1898 6.72273 16.9442 7.96836 15.4238 7.96836C14.5262 7.96836 13.9584 7.65695 13.244 7.01582C12.5296 6.37469 10.7527 4.02998 10.7527 4.02998C10.6062 3.82848 9.36053 2.34471 8.48127 1.75853C7.38218 1.02581 5.84346 0.567859 3.77352 1.26395C1.7219 1.96003 0 4.17652 0 7.23564L0.0183178 13.8301C0.0183178 14.0866 -2.83879e-07 14.9109 0.201498 15.6803C0.531224 16.9625 1.15404 17.6769 2.41798 18.4646C3.02248 18.8127 6.50291 20.8826 7.03414 21.1757C8.05995 21.7252 9.06744 22 10.423 22C11.4671 22 12.4929 21.7435 13.3539 21.3039C14.746 20.5895 19.2706 17.6953 19.5637 17.5121C20.8826 16.6145 21.9817 15.204 21.8535 13.4638C21.5054 13.6653 21.0841 13.7752 20.6261 13.7752Z\"\n fill=\"url(#paint1_linear_553_11067)\"\n />\n <path\n d=\"M20.6261 12.4928C21.3954 12.4928 22.0182 11.87 22.0182 11.119C22.0182 10.3679 21.3954 9.74512 20.6261 9.74512C19.8567 9.74512 19.2339 10.3679 19.2339 11.119C19.2522 11.8883 19.8567 12.4928 20.6261 12.4928Z\"\n fill=\"url(#paint2_linear_553_11067)\"\n />\n <path\n d=\"M30.0967 21.1573C29.364 21.1573 28.7961 20.5528 28.7961 19.8567V10.258C28.7961 8.44453 30.0601 5.58691 33.8153 5.58691C34.4564 5.58691 38.4864 5.58691 38.4864 10.8625C38.4864 15.9733 35.5372 16.2663 34.3282 16.2663C32.7345 16.2663 31.6904 15.2772 31.379 14.7093V19.8567C31.3973 20.5528 30.8294 21.1573 30.0967 21.1573ZM35.812 10.9541C35.812 9.96493 35.6471 9.17726 35.2441 8.6094C34.8594 8.04154 34.2916 7.78508 33.5955 7.78508C32.8994 7.78508 32.3315 8.04154 31.9469 8.6094C31.5988 9.08567 31.4339 9.87334 31.4339 10.9541C31.4339 11.9433 31.5988 12.676 32.0018 13.1523C32.3865 13.7201 32.9543 13.9766 33.6504 13.9766C34.2916 13.9766 34.8594 13.7201 35.2441 13.1523C35.6471 12.6394 35.812 11.8883 35.812 10.9541Z\"\n fill={tertiary}\n />\n <path\n d=\"M53.5619 16.1016C52.7742 16.1016 52.1331 15.4971 52.1331 14.7644V7.19904C52.1331 6.46631 52.7742 5.86182 53.5619 5.86182C54.3495 5.86182 54.9907 6.46631 54.9907 7.19904V14.7644C54.9907 15.4971 54.3312 16.1016 53.5619 16.1016Z\"\n fill={tertiary}\n />\n <path\n d=\"M53.5804 1.13574C52.7561 1.13574 52.0967 1.81351 52.0967 2.65614C52.0967 3.49877 52.7744 4.17654 53.5804 4.17654C54.3864 4.17654 55.0642 3.49877 55.0642 2.65614C55.0642 1.81351 54.4048 1.13574 53.5804 1.13574Z\"\n fill={tertiary}\n />\n <path\n d=\"M65.6702 0.824219C64.9375 0.824219 64.3696 1.42871 64.3696 2.1248V7.18059C64.0582 6.70432 63.6369 6.26468 63.1056 5.97159C62.6294 5.71514 62.0615 5.58692 61.4204 5.58692C60.2114 5.58692 59.2222 6.09982 58.4345 7.10732C57.7018 8.09649 57.3171 9.39707 57.3171 11.0091C57.3171 12.6577 57.7018 13.9583 58.4345 14.9108C58.8192 15.3871 59.3504 15.7718 59.9916 15.9916C60.6327 16.2114 61.2922 16.3396 61.9882 16.3396C63.2522 16.3396 64.3696 16.0282 65.4504 15.3871C66.4945 14.746 67.044 13.482 67.044 11.6685V2.14312C67.0257 1.37376 66.4212 0.824219 65.6702 0.824219ZM63.8567 13.2439C63.472 13.8117 62.9408 14.0682 62.2081 14.0682C61.4753 14.0682 60.9075 13.8117 60.5594 13.2439C60.1748 12.676 59.9916 11.9067 59.9916 10.8992C59.9916 9.98325 60.1564 9.25053 60.5594 8.73762C60.9441 8.16976 61.4753 7.91331 62.1531 7.91331C62.8492 7.91331 63.4171 8.16976 63.8017 8.70099C64.1864 9.26885 64.3696 10.0016 64.3696 10.8992C64.3879 11.8883 64.2047 12.7126 63.8567 13.2439Z\"\n fill={tertiary}\n />\n <path\n d=\"M48.4695 16.1384C49.2022 16.1384 49.7701 15.5339 49.7701 14.8378V10.1301C49.7701 8.3166 48.5061 5.45898 44.7509 5.45898C44.1098 5.45898 40.0798 5.45898 40.0798 10.7346C40.0798 15.8453 43.029 16.1384 44.238 16.1384C45.8317 16.1384 46.8758 15.1492 47.1872 14.5814V14.8378C47.1689 15.5156 47.7185 16.1384 48.4695 16.1384ZM42.7543 10.8079C42.7543 9.81868 42.9191 9.03101 43.3221 8.46315C43.7068 7.89529 44.2747 7.63883 44.9708 7.63883C45.6668 7.63883 46.2347 7.89529 46.6194 8.46315C46.9674 8.93942 47.1323 9.72709 47.1323 10.8079C47.1323 11.797 46.9674 12.5298 46.5644 13.006C46.1798 13.5739 45.6119 13.8303 44.9158 13.8303C44.2747 13.8303 43.7068 13.5739 43.3221 13.006C42.9191 12.4931 42.7543 11.7604 42.7543 10.8079Z\"\n fill={tertiary}\n />\n <path\n d=\"M70.2682 20.3878C70.2682 20.7725 70.5796 21.0839 70.9094 21.1205C71.697 21.2121 72.9427 21.2121 73.6387 20.6443C74.115 20.2596 74.4997 19.6917 74.8111 18.8308L78.1816 7.52854C78.493 6.66759 77.8336 5.80664 76.9177 5.80664C76.3132 5.80664 75.8003 6.19132 75.6537 6.75918L73.8402 13.0789L72.0268 6.79582C71.8619 6.19132 71.3307 5.80664 70.6895 5.80664C69.737 5.80664 69.0959 6.75918 69.389 7.62013L72.3382 17.3653C72.503 17.9332 72.4664 18.3179 72.1733 18.5377C71.8619 18.7942 71.4772 18.9224 70.9643 18.9224C70.5796 18.9224 70.2316 19.2704 70.2316 19.6551V20.3878H70.2682Z\"\n fill={tertiary}\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_553_11067\"\n x1=\"1.8347\"\n y1=\"19.3989\"\n x2=\"20.4582\"\n y2=\"2.27174\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color={primary} />\n <stop offset=\"1\" stop-color={secondary} />\n </linearGradient>\n <linearGradient\n id=\"paint1_linear_553_11067\"\n x1=\"1.92847\"\n y1=\"25.6451\"\n x2=\"14.6235\"\n y2=\"3.65436\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0.00901231\" stop-color={primary} />\n <stop offset=\"1\" stop-color={secondary} />\n </linearGradient>\n <linearGradient\n id=\"paint2_linear_553_11067\"\n x1=\"6.07116\"\n y1=\"24.5072\"\n x2=\"25.4062\"\n y2=\"6.72557\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color={primary} />\n <stop offset=\"1\" stop-color={secondary} />\n </linearGradient>\n </defs>\n </svg>\n );\n};\n\nexport function PaidyLogoExternalImage({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(LOGO.PAIDY, PAIDY_LOGO_COLORS, logoColor);\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAIDY}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function PaidyLogoInlineSVG({\n logoColor = LOGO_COLOR.BLACK,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getPaidySVG(\n getLogoColors(LOGO.PAIDY, PAIDY_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAIDY}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const PaidyLogo = PaidyLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const PAYPAL_REBRAND_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#000000\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#000000\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLUE]: {\n primary: \"#60CDFF\",\n },\n};\n\nexport const getPayPalRebrandSVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"67\"\n height=\"23\"\n viewBox=\"0 0 67 23\"\n fill=\"none\"\n >\n <path\n d=\"M66.7497 0.00256348V16.8071H62.9443V0.00256348H66.7497Z\"\n fill={primary}\n />\n <path\n d=\"M61.5406 5.66932V16.8306H58.1569V15.87C57.7301 16.2876 57.2412 16.6061 56.6979 16.8306C56.1521 17.0681 55.5623 17.1882 54.9285 17.1882C54.1317 17.1882 53.3944 17.0394 52.7167 16.7418C52.0389 16.4286 51.4491 16.0057 50.9472 15.4707C50.4454 14.9356 50.047 14.3091 49.7521 13.5965C49.4727 12.8683 49.333 12.0852 49.333 11.2526C49.333 10.4199 49.4727 9.64467 49.7521 8.93208C50.047 8.20383 50.4454 7.56955 50.9472 7.03446C51.4491 6.49937 52.0389 6.08173 52.7167 5.78417C53.3944 5.47094 54.1317 5.31433 54.9285 5.31433C55.5623 5.31433 56.1521 5.4344 56.6979 5.67193C57.2437 5.89641 57.7301 6.21485 58.1569 6.63249V5.67193H61.5406V5.66932ZM55.5442 13.7949C56.2374 13.7949 56.804 13.5574 57.2463 13.0797C57.7042 12.6046 57.9319 11.9939 57.9319 11.2499C57.9319 10.506 57.7042 9.89525 57.2463 9.42019C56.804 8.94513 56.2349 8.70499 55.5442 8.70499C54.8535 8.70499 54.2766 8.94252 53.8187 9.42019C53.3763 9.89525 53.1539 10.506 53.1539 11.2499C53.1539 11.9939 53.3763 12.6046 53.8187 13.0797C54.2766 13.5548 54.8509 13.7949 55.5442 13.7949Z\"\n fill={primary}\n />\n <path\n d=\"M43.9075 0C44.9112 0 45.7649 0.140951 46.4737 0.422854C47.1825 0.704756 47.7801 1.0989 48.2664 1.60528C48.7683 2.12732 49.1589 2.72245 49.4383 3.39066C49.7177 4.06149 49.8574 4.7819 49.8574 5.55714C49.8574 6.33237 49.7177 7.05278 49.4383 7.72361C49.1589 8.39443 48.7683 8.98956 48.2664 9.50899C47.7801 10.0154 47.1825 10.4095 46.4737 10.6914C45.7649 10.9733 44.9112 11.1143 43.9075 11.1143H42.0708V16.828H38.1982V0H43.9049H43.9075ZM43.3539 7.65574C43.8713 7.65574 44.2671 7.60354 44.5491 7.49913C44.844 7.37906 45.0872 7.23028 45.2786 7.05278C45.677 6.67952 45.8762 6.18097 45.8762 5.55714C45.8762 4.9333 45.677 4.43475 45.2786 4.06149C45.0872 3.88399 44.844 3.74043 44.5491 3.63863C44.2697 3.51856 43.8713 3.46114 43.3539 3.46114H42.0708V7.65835H43.3539V7.65574Z\"\n fill={primary}\n />\n <path\n d=\"M23.9352 5.66943H28.1389L30.9923 11.0256H31.0362L33.5792 5.66943H37.4724L29.1323 22.5001H25.2597L29.065 14.7999L23.9326 5.66943H23.9352Z\"\n fill={primary}\n />\n <path\n d=\"M23.1822 5.66932V16.8306H19.7985V15.87C19.3717 16.2876 18.8828 16.6061 18.3395 16.8306C17.7937 17.0681 17.2039 17.1882 16.5701 17.1882C15.7733 17.1882 15.036 17.0394 14.3583 16.7418C13.6805 16.4286 13.0907 16.0057 12.5888 15.4707C12.087 14.9356 11.6886 14.3091 11.3937 13.5965C11.1143 12.8683 10.9746 12.0852 10.9746 11.2526C10.9746 10.4199 11.1143 9.64467 11.3937 8.93208C11.6886 8.20383 12.087 7.56955 12.5888 7.03446C13.0907 6.49937 13.6805 6.08173 14.3583 5.78417C15.036 5.47094 15.7733 5.31433 16.5701 5.31433C17.2039 5.31433 17.7937 5.4344 18.3395 5.67193C18.8853 5.89641 19.3717 6.21485 19.7985 6.63249V5.67193H23.1822V5.66932ZM17.1858 13.7949C17.879 13.7949 18.4456 13.5574 18.8905 13.0797C19.3484 12.6046 19.576 11.9939 19.576 11.2499C19.576 10.506 19.3484 9.89525 18.8905 9.42019C18.4482 8.94513 17.879 8.70499 17.1858 8.70499C16.4925 8.70499 15.9182 8.94252 15.4603 9.42019C15.0179 9.89525 14.7955 10.506 14.7955 11.2499C14.7955 11.9939 15.0179 12.6046 15.4603 13.0797C15.9182 13.5548 16.4925 13.7949 17.1858 13.7949Z\"\n fill={primary}\n />\n <path\n d=\"M5.7067 0C6.71041 0 7.56409 0.140951 8.2729 0.422854C8.98171 0.704756 9.57928 1.0989 10.0656 1.60528C10.5675 2.12732 10.9581 2.72245 11.2375 3.39066C11.5169 4.06149 11.6566 4.7819 11.6566 5.55714C11.6566 6.33237 11.5169 7.05278 11.2375 7.72361C10.9581 8.39443 10.5675 8.98956 10.0656 9.50899C9.57928 10.0154 8.98171 10.4095 8.2729 10.6914C7.56409 10.9733 6.71041 11.1143 5.7067 11.1143H3.87V16.828H0V0H5.7067ZM5.15569 7.65574C5.67307 7.65574 6.06886 7.60354 6.35083 7.49913C6.64574 7.37906 6.88891 7.23028 7.08034 7.05278C7.47872 6.67952 7.67791 6.18097 7.67791 5.55714C7.67791 4.9333 7.47872 4.43475 7.08034 4.06149C6.88891 3.88399 6.64574 3.74043 6.35083 3.63863C6.07145 3.51856 5.67307 3.46114 5.15569 3.46114H3.87259V7.65835H5.15569V7.65574Z\"\n fill={primary}\n />\n </svg>\n );\n};\n\nexport function PayPalRebrandLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.PAYPAL_REBRAND,\n PAYPAL_REBRAND_LOGO_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAYPAL_REBRAND}\n alt=\"PayPal\"\n role=\"presentation\"\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function PayPalRebrandLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getPayPalRebrandSVG(\n getLogoColors(LOGO.PAYPAL_REBRAND, PAYPAL_REBRAND_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAYPAL_REBRAND}\n alt=\"PayPal\"\n role=\"presentation\"\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const PayPalRebrandLogo = PayPalRebrandLogoInlineSVG;\n\n// PayPal Monogram Logo\n\nexport const PP_REBRAND_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#002991\",\n secondary: \"#60CDFF\",\n tertiary: \"#008CFF\",\n },\n [LOGO_COLOR.BLUE]: {\n primary: \"#002991\",\n secondary: \"#60CDFF\",\n tertiary: \"#008CFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#F3F3F3\",\n secondary: \"#898989\",\n tertiary: \"#B8B8B8\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#0D0D0D\",\n secondary: \"#808080\",\n tertiary: \"#4D4D4D\",\n },\n};\n\nexport const getPPRebrandSVG = ({\n primary,\n secondary,\n tertiary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"26.15\"\n viewBox=\"0 3.925 20 26.15\"\n fill=\"none\"\n >\n <g clip-path=\"url(#clip0_4189_85875)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M16.3532 12.06C15.5794 11.65 14.643 11.4 13.6227 11.4H7.5307L6.51043 18H6.51041L6.33297 19.135L5.49014 24.6H1L3.70099 7H10.9759C13.4255 7 15.3527 8.385 16.0624 10.31C16.2645 10.855 16.3631 11.445 16.3532 12.06Z\"\n fill={primary}\n />\n <path\n d=\"M18.9408 17.1201C18.443 20.1701 15.8553 22.4001 12.7946 22.4001H10.2858L9.24089 29.0001H4.77539L5.49007 24.6001L6.33289 19.1351L6.51033 18.0001H10.1231C13.869 18.0001 16.3532 14.7851 16.3532 12.0601C18.1965 13.0251 19.271 14.9751 18.9408 17.1201Z\"\n fill={secondary}\n />\n <path\n d=\"M16.3536 12.06C15.5797 11.65 14.6433 11.4 13.623 11.4H7.531L6.51074 18H10.1236C13.8694 18 16.3536 14.785 16.3536 12.06Z\"\n fill={tertiary}\n />\n </g>\n </svg>\n );\n};\n\nexport function PPRebrandLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.PP_REBRAND,\n PP_REBRAND_LOGO_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PP_REBRAND}\n alt=\"PP\"\n role=\"presentation\"\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function PPRebrandLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getPPRebrandSVG(\n getLogoColors(LOGO.PP_REBRAND, PP_REBRAND_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PP_REBRAND}\n alt=\"PP\"\n role=\"presentation\"\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const PPRebrandLogo = PPRebrandLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, BADGE } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\n// PayPal Rebrand Badge\n\nexport const PAYPAL_REBRAND_BADGE_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n background: \"#60CDFF\",\n foreground: \"#000000\",\n },\n [LOGO_COLOR.BLACK]: {\n background: \"#000000\",\n foreground: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLUE]: {\n background: \"#60CDFF\",\n foreground: \"#000000\",\n },\n [LOGO_COLOR.WHITE]: {\n background: \"#FFFFFF\",\n foreground: \"#000000\",\n },\n};\n\nexport const getPayPalRebrandBadgeSVG = ({\n background,\n foreground,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"178\"\n height=\"70\"\n viewBox=\"0 0 178 70\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect width=\"177.059\" height=\"70\" rx=\"16.4706\" fill={background} />\n <path\n d=\"M147.474 18.6094V48.7549H140.648V18.6094H147.474Z\"\n fill={foreground}\n />\n <path\n d=\"M138.129 28.7755V48.7976H132.059V47.0744C131.293 47.8236 130.416 48.3949 129.442 48.7976C128.463 49.2237 127.405 49.4391 126.268 49.4391C124.838 49.4391 123.516 49.1722 122.3 48.6384C121.084 48.0765 120.026 47.3179 119.126 46.358C118.225 45.3981 117.511 44.2743 116.982 42.996C116.481 41.6896 116.23 40.2849 116.23 38.7912C116.23 37.2975 116.481 35.9068 116.982 34.6285C117.511 33.3221 118.225 32.1843 119.126 31.2244C120.026 30.2645 121.084 29.5153 122.3 28.9815C123.516 28.4196 124.838 28.1387 126.268 28.1387C127.405 28.1387 128.463 28.3541 129.442 28.7802C130.421 29.1829 131.293 29.7541 132.059 30.5033V28.7802H138.129V28.7755ZM127.372 43.3519C128.616 43.3519 129.632 42.9258 130.426 42.0689C131.247 41.2167 131.655 40.121 131.655 38.7865C131.655 37.452 131.247 36.3563 130.426 35.5041C129.632 34.6519 128.611 34.2212 127.372 34.2212C126.133 34.2212 125.098 34.6473 124.277 35.5041C123.483 36.3563 123.084 37.452 123.084 38.7865C123.084 40.121 123.483 41.2167 124.277 42.0689C125.098 42.9211 126.128 43.3519 127.372 43.3519Z\"\n fill={foreground}\n />\n <path\n d=\"M106.497 18.6094C108.297 18.6094 109.829 18.8622 111.1 19.3679C112.372 19.8736 113.444 20.5807 114.316 21.4891C115.216 22.4256 115.917 23.4932 116.418 24.6919C116.92 25.8952 117.17 27.1876 117.17 28.5783C117.17 29.969 116.92 31.2613 116.418 32.4647C115.917 33.6681 115.216 34.7357 114.316 35.6675C113.444 36.5759 112.372 37.2829 111.1 37.7886C109.829 38.2943 108.297 38.5472 106.497 38.5472H103.202V48.797H96.2549V18.6094H106.492H106.497ZM105.504 32.343C106.432 32.343 107.142 32.2493 107.648 32.062C108.177 31.8466 108.613 31.5797 108.956 31.2613C109.671 30.5917 110.028 29.6974 110.028 28.5783C110.028 27.4592 109.671 26.5648 108.956 25.8952C108.613 25.5768 108.177 25.3193 107.648 25.1367C107.146 24.9213 106.432 24.8183 105.504 24.8183H103.202V32.3476H105.504V32.343Z\"\n fill={foreground}\n />\n <path\n d=\"M70.6724 28.7773H78.2134L83.332 38.3857H83.4109L87.9726 28.7773H94.9567L79.9954 58.9697H73.0484L79.8747 45.1565L70.6677 28.7773H70.6724Z\"\n fill={foreground}\n />\n <path\n d=\"M69.3178 28.7755V48.7976H63.2478V47.0744C62.4821 47.8236 61.6051 48.3949 60.6305 48.7976C59.6514 49.2237 58.5933 49.4391 57.4564 49.4391C56.027 49.4391 54.7045 49.1722 53.4886 48.6384C52.2728 48.0765 51.2147 47.3179 50.3144 46.358C49.4142 45.3981 48.6995 44.2743 48.1705 42.996C47.6693 41.6896 47.4187 40.2849 47.4187 38.7912C47.4187 37.2975 47.6693 35.9068 48.1705 34.6285C48.6995 33.3221 49.4142 32.1843 50.3144 31.2244C51.2147 30.2645 52.2728 29.5153 53.4886 28.9815C54.7045 28.4196 56.027 28.1387 57.4564 28.1387C58.5933 28.1387 59.6514 28.3541 60.6305 28.7802C61.6097 29.1829 62.4821 29.7541 63.2478 30.5033V28.7802H69.3178V28.7755ZM58.5608 43.3519C59.8045 43.3519 60.8208 42.9258 61.619 42.0689C62.4404 41.2167 62.8487 40.121 62.8487 38.7865C62.8487 37.452 62.4404 36.3563 61.619 35.5041C60.8254 34.6519 59.8045 34.2212 58.5608 34.2212C57.3171 34.2212 56.2869 34.6473 55.4655 35.5041C54.672 36.3563 54.2729 37.452 54.2729 38.7865C54.2729 40.121 54.672 41.2167 55.4655 42.0689C56.2869 42.9211 57.3171 43.3519 58.5608 43.3519Z\"\n fill={foreground}\n />\n <path\n d=\"M37.9701 18.6094C39.7707 18.6094 41.3021 18.8622 42.5736 19.3679C43.8451 19.8736 44.9171 20.5807 45.7895 21.4891C46.6898 22.4256 47.3906 23.4932 47.8917 24.6919C48.3929 25.8952 48.6435 27.1876 48.6435 28.5783C48.6435 29.969 48.3929 31.2613 47.8917 32.4647C47.3906 33.6681 46.6898 34.7357 45.7895 35.6675C44.9171 36.5759 43.8451 37.2829 42.5736 37.7886C41.3021 38.2943 39.7707 38.5472 37.9701 38.5472H34.6753V48.797H27.7329V18.6094H37.9701ZM36.9817 32.343C37.9098 32.343 38.6198 32.2493 39.1256 32.062C39.6547 31.8466 40.0909 31.5797 40.4343 31.2613C41.1489 30.5917 41.5063 29.6974 41.5063 28.5783C41.5063 27.4592 41.1489 26.5648 40.4343 25.8952C40.0909 25.5768 39.6547 25.3193 39.1256 25.1367C38.6244 24.9213 37.9098 24.8183 36.9817 24.8183H34.6799V32.3476H36.9817V32.343Z\"\n fill={foreground}\n />\n </svg>\n );\n};\n\nexport function PayPalRebrandBadgeExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n BADGE.PAYPAL_REBRAND,\n PAYPAL_REBRAND_BADGE_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={BADGE.PAYPAL_REBRAND}\n alt=\"PayPal\"\n role=\"presentation\"\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function PayPalRebrandBadgeInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getPayPalRebrandBadgeSVG(\n getLogoColors(BADGE.PAYPAL_REBRAND, PAYPAL_REBRAND_BADGE_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={BADGE.PAYPAL_REBRAND}\n alt=\"PayPal\"\n role=\"presentation\"\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const PayPalRebrandBadge = PayPalRebrandBadgeInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\nexport const VENMO_REBRAND_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#008CFF\",\n },\n [LOGO_COLOR.BLUE]: {\n primary: \"#008CFF\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#ffffff\",\n },\n};\n\nexport const getVenmoRebrandSVG = ({ primary }: LogoColors): ElementNode => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"67\"\n height=\"23\"\n viewBox=\"0 -5.3743 67 23\"\n fill=\"none\"\n >\n <g clip-path=\"url(#clip0_7373_2810)\">\n <path\n d=\"M11.0756 0C11.5306 0.718479 11.7357 1.45852 11.7357 2.39333C11.7357 5.37492 9.07385 9.24822 6.91347 11.968H1.979L0 0.652807L4.32066 0.260566L5.36698 8.31205C6.34465 6.78907 7.55109 4.39577 7.55109 2.76402C7.55109 1.87086 7.39109 1.26251 7.14099 0.761591L11.0756 0Z\"\n fill={primary}\n />\n <path\n d=\"M16.6297 4.93957C17.4248 4.93957 19.4264 4.59178 19.4264 3.50394C19.4264 2.98158 19.0402 2.72102 18.585 2.72102C17.7886 2.72102 16.7436 3.63417 16.6297 4.93957ZM16.5386 7.09402C16.5386 8.42231 17.311 8.94344 18.335 8.94344C19.4501 8.94344 20.5178 8.68286 21.9056 8.0085L21.3829 11.4024C20.4051 11.8592 18.8813 12.164 17.4022 12.164C13.6504 12.164 12.3076 9.98836 12.3076 7.26845C12.3076 3.74319 14.4918 0 18.9949 0C21.4742 0 22.8606 1.32818 22.8606 3.17759C22.8608 6.15908 18.8589 7.07245 16.5386 7.09402Z\"\n fill={primary}\n />\n <path\n d=\"M35.5301 2.61202C35.5301 3.04714 35.4612 3.67827 35.3923 4.09074L34.096 11.9247H29.8888L31.0714 4.74344C31.0939 4.54867 31.1628 4.15654 31.1628 3.93897C31.1628 3.41659 30.8215 3.28627 30.4112 3.28627C29.8661 3.28627 29.3198 3.52537 28.956 3.69996L27.6146 11.9248H23.3838L25.3166 0.19601H28.9784L29.0248 1.13217C29.8887 0.588253 31.0262 3.58925e-08 32.6402 3.58925e-08C34.7786 -0.000223598 35.5301 1.04461 35.5301 2.61202Z\"\n fill={primary}\n />\n <path\n d=\"M47.7803 1.28395C48.9853 0.457915 50.1231 0 51.6917 0C53.8519 0 54.6034 1.04483 54.6034 2.61224C54.6034 3.04739 54.5345 3.67852 54.4659 4.09099L53.1709 11.9249H48.9626L50.1679 4.5919C50.19 4.39587 50.2368 4.15676 50.2368 4.00509C50.2368 3.41693 49.8953 3.28649 49.485 3.28649C48.9626 3.28649 48.4401 3.50406 48.0522 3.70018L46.7111 11.925H42.504L43.7091 4.59199C43.7312 4.39599 43.7766 4.15689 43.7766 4.00521C43.7766 3.41706 43.4349 3.28661 43.0261 3.28661C42.48 3.28661 41.9348 3.52572 41.5709 3.70031L40.2285 11.9251H35.999L37.9318 0.196344H41.5488L41.6625 1.1755C42.504 0.588701 43.6405 0.00044634 45.1643 0.00044634C46.4836 -3.13732e-07 47.3472 0.544026 47.7803 1.28395Z\"\n fill={primary}\n />\n <path\n d=\"M62.3525 4.70054C62.3525 3.74305 62.102 3.09025 61.3521 3.09025C59.6919 3.09025 59.3508 5.89703 59.3508 7.33288C59.3508 8.42216 59.6695 9.09631 60.4194 9.09631C61.9886 9.09631 62.3525 6.13626 62.3525 4.70054ZM55.0752 7.15955C55.0752 3.46081 57.1217 -0.00012207 61.83 -0.00012207C65.3779 -0.00012207 66.6748 2.00231 66.6748 4.76622C66.6748 8.42204 64.6504 12.208 59.8284 12.208C56.2578 12.208 55.0752 9.96646 55.0752 7.15955Z\"\n fill={primary}\n />\n </g>\n <defs>\n <clipPath id=\"clip0_7373_2810\">\n <rect width=\"67\" height=\"12.2514\" fill={primary} />\n </clipPath>\n </defs>\n </svg>\n );\n};\n\nexport function VenmoRebrandLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.VENMO_REBRAND,\n VENMO_REBRAND_LOGO_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.VENMO_REBRAND}\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function VenmoRebrandLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getVenmoRebrandSVG(\n getLogoColors(LOGO.VENMO, VENMO_REBRAND_LOGO_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.VENMO_REBRAND}\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const VenmoRebrandLogo = VenmoRebrandLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, LOGO } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\n// PayPal Credit Rebrand Logo (wordmark)\n\nexport const PAYPAL_CREDIT_REBRAND_LOGO_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n primary: \"#000000\",\n },\n [LOGO_COLOR.BLACK]: {\n primary: \"#000000\",\n },\n [LOGO_COLOR.WHITE]: {\n primary: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLUE]: {\n primary: \"#60CDFF\",\n },\n};\n\nexport const getPayPalCreditRebrandSVG = ({\n primary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"171\"\n height=\"31\"\n viewBox=\"0 0 171 31\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0 0.71875H7.92565C13.2491 0.71875 15.7608 4.57749 15.7608 8.1662C15.7608 11.7549 13.2491 15.6137 7.92565 15.6137H5.23449V23.2693H0V0.71875ZM7.14726 10.9765C9.21089 10.9765 10.377 9.84064 10.377 8.1647C10.377 6.48876 9.21089 5.35285 7.14726 5.35285H5.23298V10.975H7.14726V10.9765ZM14.9824 15.7917C14.9824 11.3356 18.2724 7.83584 22.549 7.83584C24.2536 7.83584 25.7787 8.49355 26.9161 9.60078V8.31404H31.4914V23.2678H26.9161V21.9825C25.7802 23.0898 24.2551 23.7475 22.549 23.7475C18.2724 23.7475 14.9824 20.2478 14.9824 15.7917ZM26.6174 15.7917C26.6174 13.8185 25.2417 12.3825 23.3877 12.3825C21.5338 12.3825 20.1581 13.8185 20.1581 15.7917C20.1581 17.7648 21.5338 19.2009 23.3877 19.2009C25.2417 19.2009 26.6174 17.7648 26.6174 15.7917ZM39.4774 20.5163L32.5685 8.31404H38.251L42.1097 15.4326H42.1399L45.5491 8.31404H50.8726L39.5981 30.8646H34.2746L39.4789 20.5163H39.4774ZM51.9481 0.71875H59.8738C65.1973 0.71875 67.7089 4.57749 67.7089 8.1662C67.7089 11.7549 65.1973 15.6137 59.8738 15.6137H57.1826V23.2693H51.9481V0.71875ZM59.0954 10.9765C61.159 10.9765 62.3251 9.84064 62.3251 8.1647C62.3251 6.48876 61.159 5.35285 59.0954 5.35285H57.1811V10.975H59.0954V10.9765ZM66.932 15.7917C66.932 11.3356 70.2221 7.83584 74.4987 7.83584C76.2033 7.83584 77.7284 8.49355 78.8658 9.60078V8.31404H83.441V23.2678H78.8658V21.9825C77.7299 23.0898 76.2048 23.7475 74.4987 23.7475C70.2221 23.7475 66.932 20.2478 66.932 15.7917ZM78.5656 15.7917C78.5656 13.8185 77.1898 12.3825 75.3359 12.3825C73.4819 12.3825 72.1062 13.8185 72.1062 15.7917C72.1062 17.7648 73.4819 19.2009 75.3359 19.2009C77.1898 19.2009 78.5656 17.7648 78.5656 15.7917ZM85.4141 0.71875H90.4389V23.2693H85.4141V0.71875Z\"\n fill={primary}\n />\n <path\n d=\"M96.325 11.9929C96.325 5.53352 101.32 0.359375 107.928 0.359375C110.202 0.359375 112.295 0.98691 114.029 2.09415V5.56369C112.443 4.21811 110.41 3.41107 108.108 3.41107C103.293 3.41107 99.6436 7.11896 99.6436 11.9944C99.6436 16.8699 103.293 20.5778 108.108 20.5778C110.411 20.5778 112.445 19.7707 114.029 18.4251V21.8947C112.294 23.0019 110.2 23.6295 107.928 23.6295C101.318 23.6295 96.325 18.4553 96.325 11.9959V11.9929Z\"\n fill={primary}\n />\n <path\n d=\"M116.034 8.91106H118.935V10.7348C119.054 10.5553 119.203 10.406 119.354 10.2566C120.282 9.32891 121.597 8.76172 123.092 8.76172C123.421 8.76172 123.719 8.79189 124.048 8.82206V11.7229C123.719 11.6927 123.421 11.6626 123.062 11.6626C121.866 11.6626 120.879 12.0819 120.191 12.7985C119.503 13.4863 119.085 14.4141 119.085 16.0885V23.2659H116.035V8.91106H116.034Z\"\n fill={primary}\n />\n <path\n d=\"M124.228 16.1194C124.228 11.8126 127.219 8.55273 131.226 8.55273C135.232 8.55273 138.193 11.8126 138.193 16.0892C138.193 16.4482 138.163 16.8374 138.133 17.1964H127.337C127.635 19.2601 129.4 20.755 131.613 20.755C133.288 20.755 134.694 19.8876 135.412 18.5722L137.923 20.0369C136.636 22.2197 134.335 23.6256 131.583 23.6256C127.395 23.6256 124.226 20.3054 124.226 16.1194H124.228ZM135.054 14.7134C134.875 12.7403 133.349 11.3042 131.256 11.3042C129.162 11.3042 127.548 12.7403 127.338 14.7134H135.054Z\"\n fill={primary}\n />\n <path\n d=\"M139.48 16.0896C139.48 11.902 142.621 8.55318 146.718 8.55318C148.453 8.55318 149.978 9.18072 151.144 10.2578V0H154.194V23.2671H151.293V21.831C150.097 22.9669 148.511 23.6261 146.718 23.6261C142.621 23.6261 139.48 20.2772 139.48 16.0896ZM151.473 16.0896C151.473 13.4573 149.558 11.4842 147.047 11.4842C144.535 11.4842 142.651 13.4573 142.651 16.0896C142.651 18.722 144.565 20.6951 147.047 20.6951C149.528 20.6951 151.473 18.722 151.473 16.0896Z\"\n fill={primary}\n />\n <path\n d=\"M156.615 4.63589C156.615 3.49999 157.572 2.57227 158.709 2.57227C159.846 2.57227 160.773 3.49999 160.773 4.63589C160.773 5.77179 159.845 6.72968 158.709 6.72968C157.573 6.72968 156.615 5.74313 156.615 4.63589ZM157.184 8.91248H160.234V23.2673H157.184V8.91248Z\"\n fill={primary}\n />\n <path\n d=\"M164.869 11.6336H162.237V8.91228H164.869V3.43945H167.919V8.91228H171V11.6336H167.919V23.2671H164.869V11.6336Z\"\n fill={primary}\n />\n </svg>\n );\n};\n\nexport function PayPalCreditRebrandLogoExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n LOGO.PAYPAL_CREDIT_REBRAND,\n PAYPAL_CREDIT_REBRAND_LOGO_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAYPAL_CREDIT_REBRAND}\n alt=\"PayPal Credit\"\n role=\"presentation\"\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function PayPalCreditRebrandLogoInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getPayPalCreditRebrandSVG(\n getLogoColors(\n LOGO.PAYPAL_CREDIT_REBRAND,\n PAYPAL_CREDIT_REBRAND_LOGO_COLORS,\n logoColor\n )\n );\n\n return (\n <SVGLogo\n {...props}\n name={LOGO.PAYPAL_CREDIT_REBRAND}\n alt=\"PayPal Credit\"\n role=\"presentation\"\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const PayPalCreditRebrandLogo = PayPalCreditRebrandLogoInlineSVG;\n","/* @flow */\n/** @jsx node */\n\nimport {\n node,\n type ElementNode,\n type ComponentNode,\n} from \"@krakenjs/jsx-pragmatic/src\";\n\nimport {\n getLogoCDNUrl,\n getLogoColors,\n SVGLogo,\n type SVGLogoProps,\n} from \"../../lib\";\nimport { LOGO_COLOR, BADGE } from \"../../constants\";\nimport type { LogoColors, LogoColorMap } from \"../../types\";\n\n// Credit Rebrand Badge (text only)\n\nexport const CREDIT_REBRAND_BADGE_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n background: \"#60CDFF\",\n foreground: \"#000000\",\n },\n [LOGO_COLOR.BLACK]: {\n background: \"#000000\",\n foreground: \"#FFFFFF\",\n },\n [LOGO_COLOR.BLUE]: {\n background: \"#60CDFF\",\n foreground: \"#000000\",\n },\n [LOGO_COLOR.WHITE]: {\n background: \"#FFFFFF\",\n foreground: \"#000000\",\n },\n};\n\nexport const getCreditRebrandBadgeSVG = ({\n background,\n foreground,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"315\"\n height=\"70\"\n viewBox=\"0 0 315 70\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect width=\"315\" height=\"70\" rx=\"16.47\" fill={background} />\n <path\n d=\"M29.1252 51.5V18.9753H40.5563C48.2345 18.9753 51.858 24.5398 51.858 29.7162C51.858 34.8925 48.2345 40.4571 40.5563 40.4571H36.674V51.5H29.1252ZM104.053 51.5V18.9753H115.484C123.162 18.9753 126.786 24.5398 126.786 29.7162C126.786 34.8925 123.162 40.4571 115.484 40.4571H111.602V51.5H104.053ZM152.322 51.5V18.9753H159.569V51.5H152.322ZM36.674 33.771H39.4347C42.4111 33.771 44.0934 32.1318 44.0934 29.7162C44.0934 27.3006 42.4111 25.6614 39.4347 25.6614H36.674V33.771ZM111.602 33.771H114.362C117.339 33.771 119.021 32.1318 119.021 29.7162C119.021 27.3006 117.339 25.6614 114.362 25.6614H111.602V33.771ZM61.6499 52.1902C55.4814 52.1902 50.7364 47.1432 50.7364 40.7159C50.7364 34.2886 55.4814 29.2417 61.6499 29.2417C64.1087 29.2417 66.3086 30.1907 67.9478 31.7867V29.9319H74.5476V51.5H67.9478V49.6451C66.3086 51.2412 64.1087 52.1902 61.6499 52.1902ZM136.578 52.1902C130.409 52.1902 125.664 47.1432 125.664 40.7159C125.664 34.2886 130.409 29.2417 136.578 29.2417C139.036 29.2417 141.236 30.1907 142.875 31.7867V29.9319H149.475V51.5H142.875V49.6451C141.236 51.2412 139.036 52.1902 136.578 52.1902ZM78.5593 62.4566L86.065 47.5315L76.1005 29.9319H84.2964L89.861 40.1983H89.9041L94.8217 29.9319H102.5L86.2376 62.4566H78.5593ZM62.8577 45.6335C65.5322 45.6335 67.5164 43.5629 67.5164 40.7159C67.5164 37.8689 65.5322 35.7984 62.8577 35.7984C60.1833 35.7984 58.199 37.8689 58.199 40.7159C58.199 43.5629 60.1833 45.6335 62.8577 45.6335ZM137.785 45.6335C140.46 45.6335 142.444 43.5629 142.444 40.7159C142.444 37.8689 140.46 35.7984 137.785 35.7984C135.111 35.7984 133.127 37.8689 133.127 40.7159C133.127 43.5629 135.111 45.6335 137.785 45.6335ZM190.011 52.0176C180.478 52.0176 173.274 44.5551 173.274 35.2376C173.274 25.9202 180.478 18.4576 190.011 18.4576C193.29 18.4576 196.309 19.3635 198.811 20.9595V25.9633C196.525 24.0222 193.592 22.8575 190.27 22.8575C183.325 22.8575 178.063 28.2064 178.063 35.2376C178.063 42.2688 183.325 47.6177 190.27 47.6177C193.592 47.6177 196.525 46.4531 198.811 44.5119V49.5157C196.309 51.1118 193.29 52.0176 190.011 52.0176ZM203.626 51.5V30.7946H207.81V33.4259C207.983 33.1671 208.198 32.9514 208.414 32.7357C209.751 31.3985 211.649 30.5789 213.806 30.5789C214.28 30.5789 214.712 30.6221 215.186 30.6652V34.8494C214.712 34.8063 214.28 34.7631 213.763 34.7631C212.037 34.7631 210.614 35.367 209.622 36.4023C208.63 37.3944 208.026 38.7317 208.026 41.1473V51.5H203.626ZM227.163 52.0176C221.124 52.0176 216.552 47.2295 216.552 41.1904C216.552 34.9788 220.865 30.277 226.646 30.277C232.426 30.277 236.696 34.9788 236.696 41.1473C236.696 41.6649 236.653 42.2257 236.61 42.7433H221.038C221.469 45.7197 224.014 47.8766 227.206 47.8766C229.622 47.8766 231.65 46.6256 232.685 44.7276L236.308 46.8413C234.453 49.9902 231.132 52.0176 227.163 52.0176ZM221.038 39.163H232.167C231.908 36.316 229.708 34.2455 226.689 34.2455C223.626 34.2455 221.34 36.316 221.038 39.163ZM250.065 52.0176C244.156 52.0176 239.626 47.1864 239.626 41.1473C239.626 35.1082 244.156 30.277 250.065 30.277C252.567 30.277 254.767 31.1828 256.449 32.7357V17.94H260.849V51.5H256.665V49.4295C254.94 51.0686 252.654 52.0176 250.065 52.0176ZM250.54 47.7903C254.163 47.7903 256.924 44.9433 256.924 41.1473C256.924 37.3513 254.163 34.5043 250.54 34.5043C246.96 34.5043 244.199 37.3513 244.199 41.1473C244.199 44.9433 246.96 47.7903 250.54 47.7903ZM269.32 27.6457C267.681 27.6457 266.301 26.2222 266.301 24.6261C266.301 22.9869 267.681 21.6497 269.32 21.6497C270.959 21.6497 272.297 22.9869 272.297 24.6261C272.297 26.2222 270.959 27.6457 269.32 27.6457ZM267.12 51.5V30.7946H271.52V51.5H267.12ZM279.28 51.5V34.72H275.484V30.7946H279.28V22.9007H283.68V30.7946H288.123V34.72H283.68V51.5H279.28Z\"\n fill={foreground}\n />\n </svg>\n );\n};\n\nexport function CreditRebrandBadgeExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n BADGE.CREDIT_REBRAND,\n CREDIT_REBRAND_BADGE_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={BADGE.CREDIT_REBRAND}\n alt=\"PayPal Credit\"\n role=\"presentation\"\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function CreditRebrandBadgeInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getCreditRebrandBadgeSVG(\n getLogoColors(BADGE.CREDIT_REBRAND, CREDIT_REBRAND_BADGE_COLORS, logoColor)\n );\n\n return (\n <SVGLogo\n {...props}\n name={BADGE.CREDIT_REBRAND}\n alt=\"PayPal Credit\"\n role=\"presentation\"\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const CreditRebrandBadge = CreditRebrandBadgeInlineSVG;\n\n// Credit Rebrand PP Badge (with PP monogram)\n\nexport const CREDIT_REBRAND_PP_BADGE_COLORS: LogoColorMap = {\n [LOGO_COLOR.DEFAULT]: {\n background: \"#60CDFF\",\n foreground: \"#000000\",\n primary: \"#050A0E\",\n secondary: \"#31677F\",\n tertiary: \"#1E3E4C\",\n },\n [LOGO_COLOR.BLACK]: {\n background: \"#000000\",\n foreground: \"#FFFFFF\",\n primary: \"#F3F3F3\",\n secondary: \"#898989\",\n tertiary: \"#B8B8B8\",\n },\n [LOGO_COLOR.BLUE]: {\n background: \"#60CDFF\",\n foreground: \"#000000\",\n primary: \"#050A0E\",\n secondary: \"#31677F\",\n tertiary: \"#1E3E4C\",\n },\n [LOGO_COLOR.WHITE]: {\n background: \"#FFFFFF\",\n foreground: \"#000000\",\n primary: \"#002991\",\n secondary: \"#60CDFF\",\n tertiary: \"#008CFF\",\n },\n};\n\nexport const getCreditRebrandPPBadgeSVG = ({\n background,\n foreground,\n primary,\n secondary,\n tertiary,\n}: LogoColors): ElementNode => {\n return (\n <svg\n width=\"169\"\n height=\"71\"\n viewBox=\"0 0 169 71\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect width=\"169\" height=\"70.285\" rx=\"16.47\" fill={background} />\n <g clip-path=\"url(#credit-rebrand-pp-badge-clip)\">\n <path\n d=\"M45.0801 27.6059C45.0801 31.8766 41.1385 36.9152 35.1753 36.9152H29.4314L29.1493 38.694L27.8093 47.2588H20.6707L24.9648 19.6758H36.5309C40.4255 19.6758 43.4894 21.8464 44.6178 24.8633C44.939 25.7174 45.0958 26.6421 45.0801 27.6059Z\"\n fill={primary}\n />\n <path\n d=\"M49.194 35.5356C48.4026 40.3156 44.2886 43.8105 39.4224 43.8105H35.4339L33.7726 54.1542H26.6731L27.8093 47.2584L29.1493 38.6935L29.4314 36.9148H35.1753C41.1307 36.9148 45.0801 31.8761 45.0801 27.6055C48.0108 29.1178 49.7191 32.1739 49.194 35.5356Z\"\n fill={secondary}\n />\n <path\n d=\"M45.0801 27.6066C43.8498 26.9641 42.361 26.5723 40.7389 26.5723H31.0535L29.4314 36.9159H35.1753C41.1307 36.9159 45.0801 31.8773 45.0801 27.6066Z\"\n fill={tertiary}\n />\n </g>\n <path\n d=\"M74.5076 49.1806C66.8579 49.1806 61.1039 43.1924 61.137 35.7158C61.1701 28.2393 66.9771 22.2511 74.6269 22.2511C77.2575 22.2511 79.6773 22.978 81.6792 24.2587L81.6614 28.2739C79.8338 26.7163 77.4842 25.7817 74.8189 25.7817C69.246 25.7817 65.0041 30.0738 64.9791 35.7158C64.9542 41.3579 69.1581 45.65 74.7309 45.65C77.3962 45.65 79.7541 44.7154 81.5955 43.1578L81.5778 47.173C79.5645 48.4537 77.1383 49.1806 74.5076 49.1806ZM85.0881 48.7652L85.1617 32.1506H88.5192L88.5099 34.2621C88.6493 34.0544 88.8231 33.8813 88.9969 33.7083C90.0747 32.6352 91.6006 31.9776 93.3313 31.9776C93.7121 31.9776 94.0581 32.0122 94.4387 32.0468L94.4238 35.4043C94.0432 35.3697 93.6972 35.3351 93.2819 35.3351C91.8973 35.3351 90.7529 35.8197 89.9531 36.6504C89.1534 37.4465 88.6641 38.5196 88.6555 40.4579L88.6187 48.7652H85.0881ZM103.627 49.1806C98.7815 49.1806 95.1294 45.3385 95.1509 40.4925C95.173 35.5082 98.6511 31.7353 103.289 31.7353C107.928 31.7353 111.338 35.5082 111.316 40.4579C111.314 40.8733 111.277 41.3233 111.241 41.7386H98.7452C99.0808 44.127 101.115 45.8577 103.677 45.8577C105.615 45.8577 107.247 44.8539 108.084 43.3309L110.984 45.0269C109.484 47.5537 106.812 49.1806 103.627 49.1806ZM98.758 38.8657H107.688C107.491 36.5812 105.733 34.9197 103.31 34.9197C100.852 34.9197 99.0104 36.5812 98.758 38.8657ZM121.659 49.1806C116.917 49.1806 113.299 45.3038 113.321 40.4579C113.342 35.612 116.994 31.7353 121.736 31.7353C123.744 31.7353 125.506 32.4622 126.85 33.7083L126.903 21.8358H130.433L130.314 48.7652H126.956L126.964 47.1038C125.573 48.4191 123.736 49.1806 121.659 49.1806ZM122.054 45.7884C124.962 45.7884 127.187 43.5039 127.201 40.4579C127.214 37.4119 125.009 35.1274 122.102 35.1274C119.229 35.1274 117.003 37.4119 116.99 40.4579C116.976 43.5039 119.182 45.7884 122.054 45.7884ZM136.85 29.6238C135.535 29.6238 134.432 28.4816 134.438 27.2009C134.444 25.8856 135.556 24.8125 136.871 24.8125C138.187 24.8125 139.255 25.8856 139.249 27.2009C139.243 28.4816 138.165 29.6238 136.85 29.6238ZM135 48.7652L135.073 32.1506H138.604L138.531 48.7652H135ZM144.411 48.7652L144.471 35.3005H141.424L141.438 32.1506H144.484L144.512 25.8163H148.043L148.015 32.1506H151.58L151.566 35.3005H148.001L147.942 48.7652H144.411Z\"\n fill={foreground}\n />\n <defs>\n <clipPath id=\"credit-rebrand-pp-badge-clip\">\n <rect\n width=\"28.6174\"\n height=\"34.4788\"\n fill=\"white\"\n transform=\"translate(20.6707 19.6758)\"\n />\n </clipPath>\n </defs>\n </svg>\n );\n};\n\nexport function CreditRebrandPPBadgeExternalImage({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const cdnUrl = getLogoCDNUrl(\n BADGE.CREDIT_REBRAND_PP,\n CREDIT_REBRAND_PP_BADGE_COLORS,\n logoColor\n );\n\n return (\n <SVGLogo\n {...props}\n name={BADGE.CREDIT_REBRAND_PP}\n alt=\"PayPal Credit\"\n role=\"presentation\"\n logoColor={logoColor}\n cdnUrl={cdnUrl}\n />\n );\n}\n\nexport function CreditRebrandPPBadgeInlineSVG({\n logoColor = LOGO_COLOR.DEFAULT,\n ...props\n}: {\n logoColor?: $Values<typeof LOGO_COLOR>,\n}): ComponentNode<SVGLogoProps> {\n const svg = getCreditRebrandPPBadgeSVG(\n getLogoColors(\n BADGE.CREDIT_REBRAND_PP,\n CREDIT_REBRAND_PP_BADGE_COLORS,\n logoColor\n )\n );\n\n return (\n <SVGLogo\n {...props}\n name={BADGE.CREDIT_REBRAND_PP}\n alt=\"PayPal Credit\"\n role=\"presentation\"\n logoColor={logoColor}\n render={() => {\n return svg;\n }}\n />\n );\n}\n\nexport const CreditRebrandPPBadge = CreditRebrandPPBadgeInlineSVG;\n","// Media queries shared across numerous locales. All other media queries should be placed in their specific locale folders.\n\n/**\n * Used for primary and alternative GPL styles in order to fallback to the .tag--xsmall message.\n */\nexport function xSmallFallback(breakpoint) {\n return `\n .message__headline {\n white-space: normal;\n }\n\n .message__headline > .tag--medium > span {\n white-space: normal;\n }\n\n .message__headline > .tag--medium > .weak.br {\n white-space: nowrap;\n }\n\n .message__headline > .tag--xsmall {\n display: none;\n }\n\n .message__disclaimer .tag--xsmall {\n display: inline;\n }\n\n @media screen and (max-width: ${breakpoint}px) {\n .message__content {\n display: inline-flex;\n }\n\n .message__headline > .tag--medium {\n display: none;\n }\n\n .message__headline > .tag--xsmall {\n display: inline;\n }\n\n .message__headline .tag--xsmall > span {\n white-space: nowrap;\n }\n\n .message__disclaimer .tag--xsmall {\n display: none;\n }\n }\n`;\n}\n\n/**\n * Used in GPL text messages.\n * Wraps text under logo for default/primary left and alternative config types.\n */\nexport function textWrap(breakpoint, textSize, locale) {\n return `@media screen and (max-width: ${breakpoint}px) {\n .locale--${locale} .message__content {\n display: block;\n margin-top: -${textSize / 2}px;\n }\n .locale--${locale} .message__logo-container {\n display: inline-flex;\n transform: translateY(${textSize / 2}px);\n }\n .locale--${locale} .message__messaging {\n display: inline;\n }\n .locale--${locale} .message__messaging span.br:first-child {\n white-space: normal;\n }\n }`;\n}\n\n/**\n * Prevents alternative-style monogram logo from sitting above the message.\n */\nexport function altNoWrap(breakpoint) {\n return `\n @media screen and (max-width: ${breakpoint}px) {\n .message__headline {\n white-space: nowrap;\n }\n }\n `;\n}\n\n/**\n * Used in logo position:right messages to move the logo above message content at specified breakpoint.\n */\nexport function setLogoTop(breakpoint) {\n return `\n @media screen and (max-width: ${breakpoint}px) {\n .message__content {\n display: inline-block;\n }\n\n .message__messaging {\n display: inline-block;\n }\n }\n `;\n}\n\n/**\n * Used for message logo width configurations.\n * @param {number} logoContainerWidth Changes message logo container width.\n * @param {number} logoWidth Changes overall logo width.\n * @param {number} monogramWidth Changes width of the first-child of message__logo. In this case, the PP monogram.\n */\nexport function messageLogoWidth(logoContainerWidth, logoWidth, monogramWidth) {\n const messageLogoContainer =\n typeof logoContainerWidth === 'number' ? `.message__logo-container { width: ${logoContainerWidth}px; }` : '';\n const messageLogo = typeof logoWidth === 'number' ? `.message__logo { width: ${logoWidth}px; }` : '';\n const messageLogoFirstChild =\n typeof monogramWidth === 'number' ? `.message__logo:first-child { width: ${monogramWidth}px; }` : '';\n return [messageLogoContainer, messageLogo, messageLogoFirstChild].join('');\n}\n\n/**\n * Add period after formatted min amount and formatted max amount.\n */\nexport function addPeriod() {\n return `.message__headline > .tag--medium > span > span:nth-child(2)::after {\n content: '.'\n }`;\n}\n\n/**\n * Removes period after inline logotype PayPal logo for fallback content\n */\nexport function removeInlinePeriod(breakpoint) {\n return `@media screen and (max-width: ${breakpoint}px) {\n .locale--US .message__logo-container::after {\n content: '';\n }\n }`;\n}\n\n/**\n * Removes period after \"PayPal\" in logo type none for fallbacks.\n * Specifically used in button and mark messages.\n */\nexport function removePeriodFromProductName(breakpoint) {\n return `@media screen and (max-width: ${breakpoint}px) {\n .message__headline span:last-child > span::before {\n content: 'PayPal';\n display: inline-block;\n font-weight: bold;\n }\n .message__headline span:last-child > strong {\n display: none;\n }\n }`;\n}\n\n// Sets logo position for GPL 20x1 ratio\nexport function logo20x1() {\n return `\n @media (min-aspect-ratio: 200/11) {\n .message__logo:nth-of-type(1) {\n width: 18%;\n margin-right: 5%;\n }\n\n .message__logo:nth-of-type(2) {\n display: inline;\n }\n }\n @media (min-aspect-ratio: 200/11) and (min-width: 523px) {\n .message__logo-container {\n max-width: 12%;\n }\n }\n `;\n}\n\n/**\n * Used in DE GPL and DE Pi30\n * Stop wrapping past a certain point on xsmall tag.\n */\nexport function xSmallNoWrap(breakpoint) {\n return `@media screen and (max-width: ${breakpoint}px) {\n .locale--DE .message__headline .tag--xsmall > span:first-child {\n white-space: nowrap;\n }\n }`;\n}\n\n/**\n * Media query used in GPL GTZ and GPLQ GTZ for wrapping of a logo primary left position message.\n */\nexport function primaryWrap(breakpoint) {\n return `@media screen and (max-width: ${breakpoint}px) { \n .locale--DE .message__headline .tag--xsmall > span:first-child {\n white-space: normal;\n }\n .locale--DE .message__messaging span.br:first-child { white-space: nowrap; }\n }`;\n}\n\n/**\n * Used to hide \"Learn more\" disclaimer for fallback messages and disables pointer events on the message.\n * Specifically used in Buttons and Marks fallback messages where we do not want to show the \"Learn more\" disclaimer link.\n */\nexport function hideDisclaimer(breakpoint) {\n return `@media screen and (max-width: ${breakpoint}px) {\n .message__disclaimer > .tag--default {\n display: none;\n }\n button {\n pointer-events: none; \n }\n }`;\n}\n","import Logo from './logos';\n\nexport const textLogoMutations = [\n ['text.color:white && logo.type:primary', { logo: Logo.PP_PAYPAL.WHITE }],\n ['text.color:grayscale && logo.type:primary', { logo: Logo.PP_PAYPAL.GRAYSCALE }],\n ['text.color:monochrome && logo.type:primary', { logo: Logo.PP_PAYPAL.MONOCHROME }],\n\n ['text.color:white && logo.type:alternative', { logo: Logo.PP_PAYPAL.WHITE[0] }],\n ['text.color:grayscale && logo.type:alternative', { logo: Logo.PP_PAYPAL.GRAYSCALE[0] }],\n ['text.color:monochrome && logo.type:alternative', { logo: Logo.PP_PAYPAL.MONOCHROME[0] }],\n\n ['text.color:white && logo.type:inline', { logo: Logo.NO_PP_MONOGRAM.WHITE }],\n ['text.color:grayscale && logo.type:inline', { logo: Logo.NO_PP_MONOGRAM.GRAYSCALE }],\n ['text.color:monochrome && logo.type:inline', { logo: Logo.NO_PP_MONOGRAM.MONOCHROME }]\n];\n\nexport const flexLogoMutations = [\n ['color:gray', { logo: Logo.PP_PAYPAL.COLOR }],\n ['color:white', { logo: Logo.PP_PAYPAL.COLOR }],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ['color:monochrome', { logo: Logo.PP_PAYPAL.MONOCHROME }],\n ['color:grayscale', { logo: Logo.PP_PAYPAL.GRAYSCALE }]\n];\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n logo20x1\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium',\n br: ['on']\n }\n ],\n styles: [\n `@media (min-aspect-ratio: 60/11) and (min-width: 324px) {\n .message__headline .tag--medium .br:first-child {\n display: inline;\n }\n }\n `\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 39.5, textSize, 'US'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['of']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 40),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14.75 + 10),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 37, textSize, 'US'),\n xSmallFallback(textSize * 15.4),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.locale--US .message__headline > .tag--medium > span { white-space: normal }`,\n `@media screen and (max-width: ${\n textSize * 12.5\n }px) {.locale--US .message__headline > .tag--xsmall > span { white-space: normal }}`\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['00.', '00']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['00.', '00']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n logo20x1,\n addPeriod\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: [\n '.message__headline .tag--medium > span:first-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n logo20x1(),\n '.message__headline .tag--medium > span:first-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium',\n br: ['payments']\n }\n ],\n styles: [\n '.message__headline .tag--medium > span:first-child > span:last-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 36, textSize, 'US'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n `.message__headline > .tag--medium > span:not(.weak):first-child {white-space: nowrap;}`,\n `.weak { display: none}`,\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['payments']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }\n .message__headline > .tag--medium > span:not(.weak):first-child {white-space: nowrap;}`,\n xSmallFallback(textSize * 10.75),\n setLogoTop(textSize * 36),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }\n .message__headline > .tag--medium > span:not(.weak):first-child {white-space: nowrap;}`,\n xSmallFallback(textSize * 10.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'US'),\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import base from './base.css';\nimport logoPrimary from './logo--primary.css';\nimport logoAlternative from './logo--alternative.css';\nimport logoInline from './logo--inline.css';\nimport logoNone from './logo--none.css';\nimport logoTop from './logo--top.css';\nimport logoRight from './logo--right.css';\nimport textCenter from './text--center.css';\nimport textCenterLogoPrimary from './text--center-logo--primary.css';\nimport textCenterLogoRightPrimary from './text--center-logo--right-primary.css';\nimport textCenterLogoAlternative from './text--center-logo--alternative.css';\nimport textRight from './text--right.css';\nimport textRightLogoRight from './text--right-logo--right.css';\nimport textRightLogoPrimary from './text--right-logo--primary.css';\nimport textRightLogoAlternative from './text--right-logo--alternative.css';\nimport textRightLogoInline from './text--right-logo--inline.css';\nimport logoPrimaryPositionTop from './logo--primary-position--top.css';\n\nexport default [\n ['default', base],\n ['logo.type:primary', logoPrimary],\n ['logo.position:top', logoTop],\n ['logo.position:right', logoRight],\n\n ['logo.type:alternative', logoAlternative],\n ['logo.type:primary && logo.position:top', logoPrimaryPositionTop],\n\n ['logo.type:inline', logoInline],\n ['logo.type:none', logoNone],\n\n ['text.align:right', textRight],\n ['text.align:right && logo.position:right', textRightLogoRight],\n ['text.align:right && logo.type:primary', textRightLogoPrimary],\n ['text.align:right && logo.type:alternative', textRightLogoAlternative],\n ['text.align:right && logo.type:inline', textRightLogoInline],\n\n ['text.align:center', textCenter],\n ['text.align:center && logo.type:primary', textCenterLogoPrimary],\n ['text.align:center && logo.position:right && logo.type:primary', textCenterLogoRightPrimary],\n ['text.align:center && logo.type:alternative', textCenterLogoAlternative]\n];\n","export default \".message__headline {\\n white-space: nowrap;\\n}\\n\\n.weak {\\n display: inline-block;\\n}\\n\";","export default \".message__messaging {\\n display: inline-block;\\n white-space: normal;\\n flex: 0 0 auto;\\n}\\n\\n.message__content {\\n align-items: center;\\n}\\n\\n.message__logo-container {\\n display: flex;\\n align-items: center;\\n width: auto;\\n margin-right: 0.4rem;\\n}\\n\\n.message__logo:first-child {\\n margin-right: 5px;\\n}\\n\\n.message__logo:last-child {\\n margin-top: -1.05px;\\n}\\n\";","export default \".message__content {\\n display: inline-block;\\n}\\n\\n.message__logo-container {\\n margin-bottom: 0px;\\n}\\n\\n.message__logo:first-child {\\n margin-right: 5px;\\n}\\n\";","export default \".message__logo:first-child {\\n margin-right: 5px;\\n}\\n\\n.message__logo:last-child {\\n margin-top: 0px;\\n}\\n\\n.message__content {\\n align-items: center;\\n}\\n\\n.message__messaging {\\n padding-right: 0.8rem;\\n}\\n\";","export default \".message__messaging {\\n display: inline-block;\\n white-space: normal;\\n flex: 0 0 auto;\\n padding-right: 0px;\\n}\\n\\n.message__logo-container {\\n display: inline;\\n margin-right: 0px;\\n order: 0;\\n}\\n\\n.message__logo {\\n display: inline-block;\\n vertical-align: middle;\\n}\\n\\n.message__logo:first-child {\\n margin-right: 5px;\\n}\\n\\n.message__content {\\n display: inline-flex;\\n}\\n\\n.message__messaging span.br {\\n white-space: nowrap;\\n}\\n\\n.message__headline > .tag--medium > span {\\n white-space: nowrap;\\n}\\n\";","export default \".message__logo:last-child {\\n margin-top: 2px;\\n}\\n\";","export default \".message__logo-container::after {\\n content: '.';\\n}\\n\\n.message__logo:last-child {\\n margin-right: 0px;\\n}\\n\\n.message__messaging {\\n padding-right: 0px;\\n}\\n\\n.weak {\\n display: none;\\n}\\n\\n.message__headline {\\n white-space: normal;\\n}\\n\";","export default \".message__messaging {\\n padding-right: 0px;\\n}\\n\\n.weak {\\n display: none;\\n}\\n\\n.message__headline {\\n white-space: normal;\\n}\\n\";","export default \"button {\\n text-align: right;\\n margin-left: auto;\\n}\\n\\n.message__logo-container {\\n justify-content: flex-end;\\n margin-right: 0px;\\n margin-left: 0.8rem;\\n}\\n\";","export default \".message__messaging {\\n padding-right: 0px;\\n}\\n\";","export default \".message__messaging {\\n margin-left: 0.4rem;\\n}\\n\";","export default \".message__logo-container {\\n margin-left: 0px;\\n}\\n\";","export default \".message__logo-container {\\n margin-left: 0px;\\n}\\n\\n.message__logo:last-child {\\n margin-top: 0px;\\n}\\n\";","export default \"button {\\n text-align: center;\\n margin: 0 auto;\\n}\\n\\n.message__logo-container {\\n justify-content: center;\\n}\\n\";","export default \".message__messaging {\\n padding-right: 0px;\\n}\\n\";","export default \".message__messaging {\\n padding-right: 0.8rem;\\n}\\n\";","export default \".message__messaging {\\n padding-right: 0px;\\n}\\n\";","import sharedGPLTextStyles from '../../../../common/styles/GPL/text';\n\nexport default [...sharedGPLTextStyles];\n","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n\\n.message__logo:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__headline {\\n font-size: 4vw;\\n}\\n\\n/* remove extra \\\"with Flex\\\" */\\n.message__headline > span:nth-of-type(3) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.7rem;\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 324px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n .message__headline .tag--medium .br:first-child {\\n display: block;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 45%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) {\\n .message__headline {\\n font-size: 5vw;\\n line-height: 1.3em;\\n display: inline;\\n }\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n .message__logo:nth-of-type(1) {\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 374px) {\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n }\\n}\\n\\n@media (max-width: 374px) {\\n .message__headline {\\n font-size: 5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 55%;\\n }\\n\\n .message__logo-container {\\n margin-right: 2.5%;\\n }\\n\\n .weak {\\n margin-left: -1.6%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 767px) {\\n .message__headline::after {\\n content: ' ';\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 323px) {\\n .message__logo-container {\\n margin-right: 7%;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0 5px;\\n width: 30%;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')]\n];\n","export default \".message__logo-container {\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 8.4vw;\\n font-weight: 500;\\n line-height: 1.6em;\\n}\\n\\n.message__disclaimer {\\n position: static;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: normal;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span > span:only-child,\\n.message__disclaimer > span > span.em {\\n text-decoration: underline;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\";","export default \".message__disclaimer span.multi:nth-of-type(1) {\\n display: none;\\n}\\n\\n.message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__logo-container {\\n width: 100%;\\n margin-bottom: 12%;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n\\n.message__headline {\\n font-size: 10vw;\\n line-height: 1.55em;\\n}\\n\\n@media (min-width: 140px) {\\n .message__headline {\\n font-size: 8.4vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n\\n.message__headline {\\n font-size: 1.1rem;\\n margin-bottom: 10%;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.9rem;\\n}\\n\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.7rem;\\n }\\n}\\n\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n display: inline;\\n padding-right: 0;\\n margin-right: 0;\\n line-height: 1.3em;\\n }\\n\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 7px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 18%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 55%;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 375px) {\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 351px) {\\n .message__headline {\\n font-size: 3.5vw;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 360px) {\\n .message__messaging {\\n line-height: 1.3rem;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__logo-container {\\n margin-bottom: -3px;\\n max-width: 12%;\\n margin-right: 1.5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n\\n .message__promo-container {\\n width: unset;\\n }\\n\\n .message__messaging {\\n flex: none;\\n display: inline;\\n }\\n\\n .message__content {\\n justify-content: center;\\n }\\n\\n .message__sub-headline {\\n margin-left: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 7px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 351px) {\\n .message__disclaimer {\\n font-size: 0.8rem;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 903px) {\\n .message__logo-container {\\n margin-bottom: -6px;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 400px) {\\n .message__headline {\\n font-size: 2vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 20%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 60%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 523px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 600px) {\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: auto;\\n }\\n\\n .message__logo-container {\\n max-width: 18%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 401px) and (max-width: 522px) {\\n .message__logo-container {\\n max-width: 18%;\\n }\\n\\n .message__headline {\\n font-size: 2.75vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\";","import validOptions from './validOptions';\nimport getMutations from './mutations';\nimport logos from '../../../message/logos';\nimport styles from './styles';\n\nexport default {\n localeClass: 'locale--US',\n productName: ['with', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n custom: {\n markup: [Types.STRING],\n ratio: [Types.ANY]\n }\n};\n","/* eslint-disable eslint-comments/disable-enable-pair */\n// mutations import here.\nimport shortTermNQ from './short_term_nq';\nimport shortTermQ from './short_term_q';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'GPLQ':\n case 'PLST_SQ':\n return shortTermQ[type];\n case 'GPLNQ':\n case 'PLST_NQ':\n default:\n return shortTermNQ[type];\n }\n}\n","import text from './text';\nimport flex from './flex';\n\nexport default {\n 'layout:text': text,\n 'layout:flex': flex\n};\n","const ROOT_URL = 'https://www.paypalobjects.com/upstream/assets/logos/US';\nconst TYPES = ['COLOR', 'WHITE', 'BLACK', 'GRAYSCALE'];\nconst TYPE_MAP = { COLOR: 'fc', WHITE: 'wh', BLACK: 'mono', GRAYSCALE: 'grayscale' };\nconst getSvgSrc = svgFileName => `${ROOT_URL}/${svgFileName}.svg`;\n\nconst STACKED = TYPES.reduce(\n (object, type) => ({\n ...object,\n [type]: { dimensions: [453, 152], src: getSvgSrc(`ppc_${TYPE_MAP[type]}_pri`) }\n }),\n {}\n);\n\nconst SINGLE_LINE = TYPES.reduce(\n (object, type) => ({\n ...object,\n [type]: { dimensions: [573, 80], src: getSvgSrc(`ppc_${TYPE_MAP[type]}_alt`) }\n }),\n {}\n);\n\nconst SINGLE_LINE_NO_PAYPAL = TYPES.reduce(\n (object, type) => ({\n ...object,\n [type]: { dimensions: [401, 100], src: getSvgSrc(`ppc_${TYPE_MAP[type]}_alt_no_paypal`) }\n }),\n {}\n);\n\nconst SINGLE_LINE_NO_PP = TYPES.reduce(\n (object, type) => ({\n ...object,\n [type]: { dimensions: [477, 64], src: getSvgSrc(`ppc_${TYPE_MAP[type]}_alt_noPP`) }\n }),\n {}\n);\n\nexport default {\n STACKED,\n SINGLE_LINE,\n SINGLE_LINE_NO_PP,\n SINGLE_LINE_NO_PAYPAL,\n // Alias clarified names to conventional ones for custom banner purposes\n PRIMARY: STACKED,\n ALTERNATIVE: SINGLE_LINE,\n ALT_NO_PAYPAL: SINGLE_LINE_NO_PAYPAL,\n ALT_NO_PP: SINGLE_LINE_NO_PP\n};\n","export function basicMediaQuery(breakpoint) {\n return `\n .message__headline span.multi:nth-child(2) {\n display: none;\n }\n\n @media (min-width: ${breakpoint}px) {\n .message__headline span.multi:first-child {\n display: none;\n }\n\n .message__headline span.multi:nth-child(2) {\n display: inline;\n }\n }\n`;\n}\n\n/**\n * This allows the logo to switch from the SINGLE_LINE_NO_PAYPAL logo on mobile to SINGLE_LINE logo on larger sizes\n * Also allows for word wrapping under the logo.\n * @param {number} logoContainerBP - breakpoint that the logo changes to SINGLE_LINE at\n * @param {number} width.smallLogo - width for the logo used on mobile\n * @param {number} width.largeLogo - width for the logo used on larger sizes\n * @param {number} logoSvgBP - breakpoint to adjust logo position on larger sizes\n * @param {number} whiteSpaceBP - brekpoint to adjust for not wrapping on larger sizes\n */\nexport function primaryContentMediaQuery({ logoContainerBP, width, logoSvgBP, whiteSpaceBP }) {\n const logoSvgCss = logoSvgBP\n ? `\n @media (min-width: ${logoSvgBP}px) {\n .message__logo--svg {\n top: 0;\n }\n }\n `\n : '';\n\n return `\n .message__content {\n display: inline-block;\n }\n\n .message__logo-container {\n display: inline-block;\n width: ${width.smallLogo}px;\n margin-right: 0.4rem;\n }\n @media (min-width: ${logoContainerBP}px) {\n .message__logo-container {\n width: ${width.largeLogo}px;\n }\n }\n\n .message__logo--svg:nth-child(2) {\n display: none;\n }\n @media (min-width: ${logoContainerBP}px) {\n .message__logo--svg:nth-child(1) {\n display: none;\n }\n .message__logo--svg:nth-child(2) {\n display: block;\n }\n }\n .message__logo--svg {\n top: -0.22px;\n }\n ${logoSvgCss}\n\n .message__messaging {\n display: inline;\n }\n .message__messaging span.br {\n white-space: normal;\n }\n @media (min-width: ${whiteSpaceBP}px) {\n .message__messaging span.br {\n white-space: nowrap;\n }\n }\n `;\n}\n\nexport function altContentMediaQuery(breakpoint) {\n return `\n @media (min-width: ${breakpoint}px) {\n .message__content {\n display: inline-flex;\n }\n }\n `;\n}\n\n/**\n * Will break 'Learn more' to a new line at the given breakpoint when used.\n */\nexport function messageDisclaimerMediaQuery(breakpoint) {\n return `\n @media (max-width: ${breakpoint}px) {\n .message__disclaimer {\n display: block;\n }\n }\n `;\n}\n\n/**\n * Only shows \"at 0% APR\" at larger sizes\n */\nexport function zeroAprMediaQuery(breakpoint) {\n return `\n .weakest {\n display: none;\n }\n @media (min-width: ${breakpoint}px) {\n .weakest {\n display: inline;\n }\n }\n `;\n}\n\nexport function textWrap(breakpoint, textSize, locale) {\n return `@media screen and (max-width: ${breakpoint}px) {\n .locale--${locale} .message__content {\n display: block;\n margin-top: -${(textSize / 2) * 0}px;\n }\n .locale--${locale} .message__logo-container {\n display: inline-flex;\n transform: translateY(${(textSize / 2) * 0}px);\n }\n .locale--${locale} .message__messaging {\n display: inline;\n }\n .locale--${locale} .message__messaging span.br:first-child {\n white-space: normal;\n }\n }`;\n}\n","import Logo from '../logos';\n\n/**\n * Assigns appropriate logo based on message config options.\n * Used in mutations files where config settings are the same across many accounts.\n */\n\nexport const textLogoMutations = [\n ['text.color:white && logo.type:primary', { logo: Logo.SINGLE_LINE.WHITE }],\n [\n 'text.color:white && logo.type:primary && logo.position:left',\n { logo: [Logo.SINGLE_LINE_NO_PAYPAL.WHITE, Logo.SINGLE_LINE.WHITE] }\n ],\n ['text.color:white && logo.type:alternative', { logo: Logo.SINGLE_LINE_NO_PAYPAL.WHITE }],\n ['text.color:white && logo.type:inline', { logo: Logo.SINGLE_LINE_NO_PP.WHITE }],\n\n ['text.color:monochrome && logo.type:primary', { logo: Logo.SINGLE_LINE.BLACK }],\n [\n 'text.color:monochrome && logo.type:primary && logo.position:left',\n { logo: [Logo.SINGLE_LINE_NO_PAYPAL.BLACK, Logo.SINGLE_LINE.BLACK] }\n ],\n ['text.color:monochrome && logo.type:alternative', { logo: Logo.SINGLE_LINE_NO_PAYPAL.BLACK }],\n ['text.color:monochrome && logo.type:inline', { logo: Logo.SINGLE_LINE_NO_PP.BLACK }],\n\n ['text.color:grayscale && logo.type:primary', { logo: Logo.SINGLE_LINE.GRAYSCALE }],\n [\n 'text.color:grayscale && logo.type:primary && logo.position:left',\n { logo: [Logo.SINGLE_LINE_NO_PAYPAL.GRAYSCALE, Logo.SINGLE_LINE.GRAYSCALE] }\n ],\n ['text.color:grayscale && logo.type:alternative', { logo: Logo.SINGLE_LINE_NO_PAYPAL.GRAYSCALE }],\n ['text.color:grayscale && logo.type:inline', { logo: Logo.SINGLE_LINE_NO_PP.GRAYSCALE }]\n];\n\nexport const flexLogoMutations = [\n ['color:gray', { logo: Logo.STACKED.COLOR }],\n ['color:white', { logo: Logo.STACKED.COLOR }],\n ['color:white-no-border', { logo: Logo.STACKED.COLOR }],\n ['color:monochrome', { logo: Logo.STACKED.BLACK }],\n ['color:grayscale', { logo: Logo.STACKED.GRAYSCALE }]\n];\n","import Logo from '../logos';\nimport {\n basicMediaQuery,\n altContentMediaQuery,\n primaryContentMediaQuery,\n messageDisclaimerMediaQuery,\n textWrap\n} from './mediaQueries';\nimport { textLogoMutations, flexLogoMutations } from './common';\n\nexport const flex = [\n [\n 'default',\n {\n logo: Logo.STACKED.WHITE,\n headline: ['xsmall', { tag: 'medium', br: ['months'] }],\n disclaimer: 'xsmall'\n }\n ],\n [\n 'ratio:1x1',\n {\n headline: ['xsmall', 'medium'],\n styles: ['@media (min-width: 150px) { .message__headline { font-size: 8vw } }']\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: { tag: 'medium', br: ['months'] },\n styles: [\n '.message__logo-container { margin-bottom: 30%; }',\n '.message__disclaimer span.multi:nth-of-type(1) { display: none; }',\n '@media (max-aspect-ratio: 11/40) { .message__disclaimer span.multi:nth-of-type(1) { display: block; } }',\n '.message__headline { font-size: 1.1rem }'\n ],\n disclaimer: ['xlarge', 'xsmall']\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => {\n const breakpointCalc = textSize * 19 + 70;\n return {\n styles: [messageDisclaimerMediaQuery(breakpointCalc - 1), [basicMediaQuery(breakpointCalc)]],\n logo: Logo.SINGLE_LINE.COLOR,\n headline: [\n { tag: 'xsmall', br: ['time.'] },\n { tag: 'medium', br: ['months'] }\n ],\n disclaimer: 'xsmall'\n };\n }\n ],\n [\n 'logo.type:primary',\n ({ textSize }) => ({\n messageWidth: [textSize * 13, textSize * 34],\n styles: [\n basicMediaQuery(textSize * 17),\n `\n .message__logo-container {\n width: ${textSize * 9}px;\n }\n .message__content {\n display: inline-block;\n }\n .message__disclaimer {\n display: inline;\n }\n `,\n altContentMediaQuery(textSize * 43.5)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:left',\n ({ textSize }) => ({\n messageWidth: [textSize * 13, textSize * 33],\n logo: [Logo.SINGLE_LINE_NO_PAYPAL.COLOR, Logo.SINGLE_LINE.COLOR],\n headline: [\n { tag: 'xsmall', br: ['time.'] },\n { tag: 'medium', br: ['on ', 'months'] }\n ],\n styles: [\n basicMediaQuery(textSize * 18),\n primaryContentMediaQuery({\n logoContainerBP: textSize * 21,\n width: { smallLogo: textSize * 5, largeLogo: textSize * 9 },\n logoSvgBP: textSize * 41.75,\n whiteSpaceBP: textSize * 27\n })\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [basicMediaQuery(textSize * 15 + 80), `.message__logo { width: ${textSize * 7}px }`],\n logo: Logo.SINGLE_LINE_NO_PP.COLOR,\n headline: [\n {\n tag: 'xsmall',\n replace: [['time.', 'time']],\n br: ['time']\n },\n {\n tag: 'medium',\n replace: [['9+.', '9+']],\n br: ['purchases']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [basicMediaQuery(textSize * 20)],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n replace: [['time.', 'time']],\n br: ['time']\n },\n {\n tag: 'medium',\n replace: [['9+.', '9+']],\n br: ['purchases']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n basicMediaQuery(textSize * 18),\n `.message__logo-container { width: ${textSize * 5}px }`,\n textWrap(textSize * 39, textSize, 'US')\n ],\n logo: Logo.SINGLE_LINE_NO_PAYPAL.COLOR\n })\n ],\n [\n 'logo.type:alternative && logo.position:right',\n ({ textSize }) => ({\n styles: [\n basicMediaQuery(textSize * 18),\n altContentMediaQuery(textSize * 42),\n `.message__logo-container { width: ${textSize * 5}px }`,\n `@media screen and (max-width: ${\n textSize * 42\n }px) { .locale--US .message__logo > img { top:2.3px; }}`,\n textWrap(textSize * 39, textSize, 'US')\n ],\n logo: Logo.SINGLE_LINE_NO_PAYPAL.COLOR\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => {\n const breakpointCalc = textSize * 19;\n return {\n styles: [\n messageDisclaimerMediaQuery(breakpointCalc - 1),\n basicMediaQuery(breakpointCalc),\n `\n .message__disclaimer {\n display:block;\n }\n `,\n `.message__logo-container { width: ${textSize * 9}px }`\n ]\n };\n }\n ],\n [\n 'logo.type:alternative && logo.position:top',\n ({ textSize }) => ({\n styles: [basicMediaQuery(textSize * 18.5), `.message__logo-container { width: ${textSize * 5}px }`]\n })\n ],\n ...textLogoMutations\n ],\n\n 'layout:flex': flex\n};\n","import Logo from '../logos';\nimport { flex } from './ppc_ni_nq';\nimport { basicMediaQuery, altContentMediaQuery, primaryContentMediaQuery, textWrap } from './mediaQueries';\nimport { textLogoMutations } from './common';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `\n .weak {\n display:none;\n }\n `,\n [basicMediaQuery(textSize * 18.5 + 70)]\n ],\n logo: Logo.SINGLE_LINE.COLOR,\n headline: [\n { tag: 'xsmall', br: ['time.'] },\n { tag: 'medium', br: ['months.'], replace: [['months', 'months.']] }\n ],\n disclaimer: 'xsmall'\n })\n ],\n [\n 'logo.type:primary && logo.position:left',\n ({ textSize }) => ({\n logo: [Logo.SINGLE_LINE_NO_PAYPAL.COLOR, Logo.SINGLE_LINE.COLOR],\n messageWidth: [textSize * 13, textSize * 27],\n styles: [\n basicMediaQuery(textSize * 12),\n `\n .weak {\n display:none;\n }\n `,\n primaryContentMediaQuery({\n logoContainerBP: textSize * 21,\n width: { smallLogo: textSize * 5, largeLogo: textSize * 9 },\n logoSvgBP: textSize * 41.75,\n whiteSpaceBP: textSize * 27\n })\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 12 + 80),\n `.message__logo { width: ${textSize * 7}px }`\n ],\n logo: Logo.SINGLE_LINE_NO_PP.COLOR,\n headline: [\n { tag: 'xsmall', replace: [['time.', 'time']], br: ['time'] },\n { tag: 'medium', br: ['months'] }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 17)\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n replace: [['time.', 'time']],\n br: ['time']\n },\n {\n tag: 'medium',\n br: ['months']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 18),\n `.message__logo-container { width: ${textSize * 5}px }`,\n textWrap(textSize * 30, textSize, 'US')\n ],\n logo: Logo.SINGLE_LINE_NO_PAYPAL.COLOR\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `\n .weak {\n display:none;\n }\n .message__disclaimer {\n display: block;\n }\n `,\n `.message__logo-container { width: ${textSize * 9}px }`,\n basicMediaQuery(textSize * 18.5)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `\n .weak {\n display:none;\n }\n .message__content {\n display: inline-block;\n }\n `,\n basicMediaQuery(textSize * 18.5),\n altContentMediaQuery(textSize * 34),\n `.message__logo-container { width: ${textSize * 9}px }`\n ]\n })\n ],\n [\n 'logo.type:alternative && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 18.5),\n `.message__logo-container { width: ${textSize * 5}px }`\n ]\n })\n ],\n [\n 'logo.type:alternative && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 18.5),\n altContentMediaQuery(textSize * 42),\n `.message__logo-container { width: ${textSize * 5}px }`,\n `@media screen and (max-width: ${\n textSize * 42\n }px) { .locale--US .message__logo > img { top:2.3px; }}`,\n textWrap(textSize * 40, textSize, 'US')\n ],\n logo: Logo.SINGLE_LINE_NO_PAYPAL.COLOR\n })\n ],\n ...textLogoMutations\n ],\n\n 'layout:flex': flex\n};\n","import Logo from '../logos';\nimport {\n basicMediaQuery,\n altContentMediaQuery,\n primaryContentMediaQuery,\n messageDisclaimerMediaQuery,\n textWrap\n} from './mediaQueries';\nimport { textLogoMutations, flexLogoMutations } from './common';\n\nexport const flex = [\n [\n 'default',\n {\n logo: Logo.STACKED.WHITE,\n headline: ['xsmall', { tag: 'medium', br: ['months'] }],\n disclaimer: ['extra.2', 'small']\n }\n ],\n [\n 'ratio:1x1',\n {\n headline: ['xsmall', 'medium'],\n styles: ['@media (min-width: 150px) { .message__headline { font-size: 8vw } }']\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: { tag: 'medium', br: ['months'] },\n styles: [\n '.message__logo-container { margin-bottom: 30%; }',\n '.message__disclaimer span.multi:nth-of-type(1) { display: none; }',\n '@media (max-aspect-ratio: 11/40) { .message__disclaimer span.multi:nth-of-type(1) { display: block; } }',\n '.message__headline { font-size: 1.1rem }'\n ],\n disclaimer: ['xlarge', 'extra.2', 'small']\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => {\n const breakpointCalc = textSize * 22 + 70;\n return {\n styles: [messageDisclaimerMediaQuery(breakpointCalc - 1), basicMediaQuery(breakpointCalc)],\n logo: Logo.SINGLE_LINE.COLOR,\n headline: [\n { tag: 'xsmall', br: ['time.'] },\n { tag: 'medium', br: ['months'], replace: [['99+', '99+.']] }\n ],\n disclaimer: ['extra', 'xsmall']\n };\n }\n ],\n [\n 'logo.type:primary && logo.position:left',\n ({ textSize }) => ({\n messageWidth: [textSize * 13, textSize * 27],\n logo: [Logo.SINGLE_LINE_NO_PAYPAL.COLOR, Logo.SINGLE_LINE.COLOR],\n headline: [\n { tag: 'xsmall', br: ['time.'] },\n { tag: 'medium', br: ['on '], replace: [['99+', '99+.']] }\n ],\n styles: [\n basicMediaQuery(textSize * 18),\n primaryContentMediaQuery({\n logoContainerBP: textSize * 21,\n width: { smallLogo: textSize * 5, largeLogo: textSize * 9 },\n whiteSpaceBP: textSize * 27\n })\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [basicMediaQuery(textSize * 23), `.message__logo { width: ${textSize * 7}px }`],\n logo: Logo.SINGLE_LINE_NO_PP.COLOR,\n headline: [\n { tag: 'xsmall', replace: [['time.', 'time']], br: ['time'] },\n { tag: 'medium', br: ['purchases'] }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [basicMediaQuery(textSize * 21)],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n replace: [['time.', 'time']],\n br: ['time']\n },\n {\n tag: 'medium',\n br: ['purchases']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => {\n const breakpointCalc = textSize * 17;\n return {\n styles: [\n basicMediaQuery(breakpointCalc),\n `.message__logo-container { width: ${textSize * 5}px }`,\n textWrap(textSize * 43, textSize, 'US'),\n `.message__headline span:only-child { white-space: normal; }`\n ],\n logo: Logo.SINGLE_LINE_NO_PAYPAL.COLOR,\n headline: [\n 'xsmall',\n {\n tag: 'medium',\n br: ['months'],\n replace: [['99+', '99+.']]\n }\n ]\n };\n }\n ],\n [\n 'logo.type:alternative && logo.position:top',\n ({ textSize }) => ({\n styles: [\n basicMediaQuery(textSize * 20),\n `.message__logo-container { width: ${textSize * 5}px }`,\n `.message__headline span:only-child { white-space: nowrap; }`\n ],\n headline: [\n 'xsmall',\n {\n tag: 'medium',\n br: ['months'],\n replace: [['99+', '99+.']]\n }\n ]\n })\n ],\n [\n 'logo.type:alternative && logo.position:right',\n ({ textSize }) => ({\n styles: [\n basicMediaQuery(textSize * 20),\n altContentMediaQuery(textSize * 45),\n `.message__logo-container { width: ${textSize * 5}px }`,\n `@media screen and (max-width: ${\n textSize * 44.93\n }px) { .locale--US .message__logo > img { top:2.3px; }}`,\n textWrap(textSize * 43, textSize, 'US'),\n `.message__headline span:only-child { white-space: normal; }`\n ],\n logo: Logo.SINGLE_LINE_NO_PAYPAL.COLOR\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => {\n const breakpointCalc = textSize * 21;\n return {\n styles: [\n messageDisclaimerMediaQuery(breakpointCalc - 1),\n basicMediaQuery(breakpointCalc),\n `\n @media (min-width: ${textSize * 28}px) {\n .message__disclaimer {\n display:block;\n }\n }\n `,\n `.message__logo-container { width: ${textSize * 9}px }`\n ]\n };\n }\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n messageWidth: [textSize * 10, 1000],\n styles: [\n `\n .message__logo-container { width: ${textSize * 9}px }\n .message__content { display: inline-block; }\n `,\n basicMediaQuery(textSize * 18),\n altContentMediaQuery(textSize * 46.25)\n ]\n })\n ],\n ...textLogoMutations\n ],\n\n 'layout:flex': flex\n};\n","import Logo from '../logos';\nimport { basicMediaQuery, altContentMediaQuery, primaryContentMediaQuery, textWrap } from './mediaQueries';\nimport { flex } from './ppc_ni_nq_xb';\nimport { textLogoMutations } from './common';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }\n .message__disclaimer {\n display:block;\n }`,\n basicMediaQuery(textSize * 18.5 + 70)\n ],\n logo: Logo.SINGLE_LINE.COLOR,\n headline: [\n { tag: 'xsmall', br: ['time.'] },\n { tag: 'medium', br: ['months.'], replace: [['months', 'months.']] }\n ],\n disclaimer: ['extra', 'xsmall']\n })\n ],\n [\n 'logo.type:primary && logo.position:left',\n ({ textSize }) => ({\n logo: [Logo.SINGLE_LINE_NO_PAYPAL.COLOR, Logo.SINGLE_LINE.COLOR],\n messageWidth: [textSize * 13, textSize * 27],\n styles: [\n basicMediaQuery(textSize * 12),\n `\n .weak {\n display:none;\n }\n `,\n primaryContentMediaQuery({\n logoContainerBP: textSize * 21,\n width: { smallLogo: textSize * 5, largeLogo: textSize * 9 },\n logoSvgBP: textSize * 41.75,\n whiteSpaceBP: textSize * 27\n })\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 18),\n `.message__logo { width: ${textSize * 7}px }`\n ],\n logo: Logo.SINGLE_LINE_NO_PP.COLOR,\n headline: [\n { tag: 'xsmall', replace: [['time.', 'time']], br: ['time'] },\n { tag: 'medium', br: ['purchases'] }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 18)\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n replace: [['time.', 'time']],\n br: ['time']\n },\n {\n tag: 'medium',\n br: ['purchases']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 18),\n `.message__logo-container { width: ${textSize * 5}px }`,\n textWrap(textSize * 34, textSize, 'US'),\n `.message__headline span:only-child { white-space: normal; }`\n ],\n logo: Logo.SINGLE_LINE_NO_PAYPAL.COLOR,\n headline: [\n 'xsmall',\n {\n tag: 'medium',\n br: ['months.'],\n replace: [['months', 'months.']]\n }\n ]\n })\n ],\n [\n 'logo.type:alternative && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 20),\n `.message__logo-container { width: ${textSize * 5}px }`,\n `.message__headline span:only-child { white-space: nowrap; }`\n ],\n headline: [\n 'xsmall',\n {\n tag: 'medium',\n br: ['months.'],\n replace: [['months', 'months.']]\n }\n ]\n })\n ],\n [\n 'logo.type:alternative && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }`,\n basicMediaQuery(textSize * 20),\n altContentMediaQuery(textSize * 42),\n `.message__logo-container { width: ${textSize * 5}px }`,\n `@media screen and (max-width: ${\n textSize * 42\n }px) { .locale--US .message__logo > img { top:2.3px; }}`,\n textWrap(textSize * 34, textSize, 'US'),\n `.message__headline span:only-child { white-space: normal; }`\n ],\n logo: Logo.SINGLE_LINE_NO_PAYPAL.COLOR\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `.weak {\n display:none;\n }\n .message__disclaimer {\n display:block;\n }`,\n `.message__logo-container { width: ${textSize * 9}px }`,\n basicMediaQuery(textSize * 18)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n messageWidth: [textSize * 10, 1000],\n styles: [\n `\n .weak { display: none; }\n .message__logo-container { width: ${textSize * 9}px }\n .message__content { display: inline-block; }\n `,\n basicMediaQuery(textSize * 18),\n altContentMediaQuery(textSize * 37)\n ]\n })\n ],\n ...textLogoMutations\n ],\n\n 'layout:flex': flex\n};\n","import validOptions from './validOptions';\nimport getMutations from './mutations';\nimport logos from './logos';\nimport styles from './styles';\n\nexport default {\n localeClass: 'locale--US',\n productName: ['with', 'PayPal Credit.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n custom: {\n markup: [Types.STRING],\n ratio: [Types.ANY]\n }\n};\n","import niNQ from './ppc_ni_nq';\nimport niQ from './ppc_ni_q';\nimport niNQXB from './ppc_ni_nq_xb';\nimport niQXB from './ppc_ni_q_xb';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'NIQ:NON-US':\n case 'PPCNI_SQ_XB':\n return niQXB[type];\n case 'NI:NON-US':\n case 'PPCNI_NQ_XB':\n return niNQXB[type];\n case 'NIQ':\n case 'PPCNI_SQ':\n return niQ[type];\n case 'NI':\n case 'PPCNI_NQ':\n default:\n return niNQ[type];\n }\n}\n","import flex from './flex';\nimport text from './text';\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': text\n};\n","import ratio1x1 from './ratio--1x1.css';\n\nexport default [['ratio:1x1', ratio1x1]];\n","export default \".message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n@media (min-width: 150px) {\\n .message__headline {\\n font-size: 11vw;\\n line-height: 1.2em;\\n }\\n\\n .message__sub-headline {\\n font-size: 8.5vw;\\n }\\n\\n .message__disclaimer {\\n font-size: 6.5vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n}\\n\\n@media (min-width: 170px) {\\n .message__headline {\\n font-size: 8vw;\\n }\\n}\\n\";","import base from './base.css';\nimport logoInline from './logo--inline.css';\nimport logoTop from './logo--top.css';\nimport logoPrimary from './logo--primary.css';\nimport logoPrimaryPostionRight from './logo--primary-position--right.css';\nimport logoAlternative from './logo--alternative.css';\nimport logoAlternativePostionRight from './logo--alternative-position--right.css';\nimport textRight from './text--right.css';\nimport textRightLogoRight from './text--right-logo--right.css';\nimport textRightLogoRightAlternative from './text--right-logo--right-alternative.css';\nimport textRightLogoRightPrimary from './text--right-logo--right-primary.css';\nimport textCenter from './text--center.css';\nimport textCenterLogoRight from './text--center-logo--right.css';\nimport textCenterLogoRightPrimary from './text--center-logo--right-primary.css';\nimport textCenterLogoRightAlternative from './text--center-logo--right-alternative.css';\nimport textCenterLogoTop from './text--center-logo--top.css';\n\nexport default [\n ['default', base],\n ['logo.type:inline', logoInline],\n ['logo.type:primary', logoPrimary],\n ['logo.type:primary && logo.position:right', logoPrimaryPostionRight],\n ['logo.type:alternative', logoAlternative],\n ['logo.type:alternative && logo.position:right', logoAlternativePostionRight],\n\n ['logo.position:top', logoTop],\n\n ['text.align:right', textRight],\n ['text.align:right && logo.position:right', textRightLogoRight],\n ['text.align:right && logo.position:right && logo.type:primary', textRightLogoRightPrimary],\n ['text.align:right && logo.position:right && logo.type:alternative', textRightLogoRightAlternative],\n\n ['text.align:center', textCenter],\n ['text.align:center && logo.position:top', textCenterLogoTop],\n ['text.align:center && logo.position:right', textCenterLogoRight],\n ['text.align:center && logo.position:right && logo.type:primary', textCenterLogoRightPrimary],\n ['text.align:center && logo.position:right && logo.type:alternative', textCenterLogoRightAlternative]\n];\n","export default \".message__messaging {\\n top: 0.5px;\\n}\\n\";","export default \".message__logo {\\n top: -0.15px;\\n}\\n\\n.message__logo-container:after {\\n content: '.';\\n}\\n\";","export default \".message__logo > img {\\n top: 2.9px;\\n}\\n\";","export default \".message__logo > img {\\n width: 108%;\\n top: 0px;\\n}\\n\\n.message__logo > canvas {\\n display: inline;\\n}\\n\\n.message__messaging {\\n padding-right: 0.8rem;\\n}\\n\";","export default \".message__logo > img {\\n top: 2.3px;\\n}\\n\";","export default \".message__logo > img {\\n top: -0.5px;\\n}\\n\\n.message__messaging {\\n padding-right: 0.8rem;\\n}\\n\";","export default \".message__messaging {\\n margin-right: 0px;\\n padding-right: 0px;\\n}\\n\";","export default \"button {\\n text-align: right;\\n margin-left: auto;\\n}\\n\\n.message__logo-container {\\n justify-content: flex-end;\\n margin-left: auto;\\n}\\n\\n.message__messaging {\\n min-width: auto;\\n padding-right: 0px;\\n}\\n\";","export default \".message__messaging {\\n margin-right: 0px;\\n}\\n\";","export default \".message__messaging {\\n margin-right: 0.8rem;\\n}\\n\";","export default \".message__messaging {\\n margin-right: 0px;\\n}\\n\\n.message__logo-container {\\n margin-left: 0.8rem;\\n}\\n\";","export default \"button {\\n text-align: center;\\n margin: 0 auto;\\n}\\n\\n.message__logo-container {\\n justify-content: center;\\n}\\n\\n.message__messaging {\\n min-width: auto;\\n padding-right: 0px;\\n}\\n\";","export default \".message__logo-container {\\n margin: 0 auto;\\n}\\n\";","export default \".message__logo-container {\\n margin: 0 auto;\\n}\\n\\n.message__messaging {\\n padding-right: 0.8rem;\\n}\\n\";","export default \".message__messaging {\\n padding-right: 0px;\\n margin-right: 0.8rem;\\n}\\n\";","export default \".message__messaging {\\n padding-left: 0.6rem;\\n}\\n\";","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 28.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n textWrap(textSize * 45, textSize, 'US'),\n xSmallFallback(textSize * 14),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['purchases']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 13),\n setLogoTop(textSize * 38),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__messaging span.br {white-space: normal}`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 13),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__messaging span.br {white-space: normal}`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 14.25),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [['0.', '0']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [['0.', '0']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n xSmallFallback(textSize * 14),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 14)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['purchases']\n },\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 13),\n setLogoTop(textSize * 32.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 13), messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 14),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 14)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [['0.', '0']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 14), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [['0.', '0']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n textWrap(textSize * 40, textSize, 'US'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mo.']\n },\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) {\n .message__headline > .tag--medium { white-space: normal; }\n }`,\n xSmallFallback(textSize * 10.75),\n setLogoTop(textSize * 28.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium { white-space: normal; } \n }`,\n xSmallFallback(textSize * 10.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 16)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo'],\n replace: [\n ['APR.', 'APR'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 16), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo'],\n replace: [\n ['APR.', 'APR'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n textWrap(textSize * 32, textSize, 'US'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mo.']\n },\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) {\n .message__headline > .tag--medium { white-space: normal; }\n }`,\n xSmallFallback(textSize * 10.75),\n setLogoTop(textSize * 28.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium { white-space: normal; } \n }`,\n xSmallFallback(textSize * 10.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 16)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo'],\n replace: [\n ['months.', 'months'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 16), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo'],\n replace: [\n ['months.', 'months'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 19),\n textWrap(textSize * 43, textSize, 'US'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mo. <span>', 'as']\n },\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n xSmallFallback(textSize * 17.5),\n setLogoTop(textSize * 43),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n xSmallFallback(textSize * 17.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 17.5),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 40.5, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18.5)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo', 'as'],\n replace: [\n ['mo.', 'mo'],\n ['for 6 or 12 months.', 'for 6 or 12 months']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [`.message__logo { width: ${textSize * 4}px }`, xSmallFallback(textSize * 18.5)],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo'],\n replace: [\n ['mo.', 'mo'],\n ['for 6 or 12 months.', 'for 6 or 12 months']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span > span:last-child { white-space: normal; }\n }`,\n textWrap(textSize * 40, textSize, 'US'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['of']\n },\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 25.5}px) {\n .message__headline > .tag--medium { white-space: normal; }\n }`,\n xSmallFallback(textSize * 10.75),\n setLogoTop(textSize * 33.4),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 25.5}px) { \n .message__headline > .tag--medium { white-space: normal; } \n }`,\n xSmallFallback(textSize * 10.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n headline: [\n {\n tag: 'medium',\n br: ['mo.']\n },\n {\n tag: 'xsmall'\n }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['of'],\n replace: [\n ['APR.', 'APR'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['of'],\n replace: [\n ['APR.', 'APR'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 32, textSize, 'US'),\n xSmallFallback(textSize * 14),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['of']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium { white-space: normal; }\n }`,\n xSmallFallback(textSize * 15.5),\n setLogoTop(textSize * 28.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ],\n headline: [\n {\n tag: 'medium',\n br: ['payments']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium { white-space: normal; } \n }`,\n xSmallFallback(textSize * 13),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ],\n headline: [\n {\n tag: 'medium',\n br: ['payments']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n xSmallFallback(textSize * 12.5),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 16)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n replace: [['mo.', 'mo']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 16), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n replace: [['mo.', 'mo']]\n },\n { tag: 'xsmall.2', replace: [['later.', 'later']] }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport { textWrap, messageLogoWidth, altNoWrap, setLogoTop } from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n `\n @media (min-aspect-ratio: 200/11) and (min-width: 523px) {\n .message__logo-container {\n max-width: 12%;\n }\n }\n\n @media (min-aspect-ratio: 200/11) and (min-width: 300px) {\n .message__logo:nth-of-type(1) {\n width: 18%;\n }\n .message__logo:nth-of-type(2) {\n width: 60%;\n }\n }\n\n @media (min-aspect-ratio: 60/11) and (min-width: 324px) {\n .message__headline .tag--xsmall .br:first-child {\n display: inline;\n }\n }\n `\n ]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n styles: [\n `@media (min-aspect-ratio: 60/11) and (min-width: 324px) {\n .message__headline .tag--xsmall .br:first-child {\n display: inline;\n }\n }\n `\n ]\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n styles: [\n `.message__headline .tag--xsmall {\n display: inline;\n}`\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 38, textSize, 'US'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [{ tag: 'xsmall' }],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [setLogoTop(textSize * 22), messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'US'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [`@media screen and (max-width: ${textSize * 37.3}) {.message__content {margin-top: 0px;}}`],\n logo: false,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [`.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import sharedGPLTextStyles from '../../../../common/styles/GPL/text';\n\nexport default [...sharedGPLTextStyles];\n","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n\\n.message__logo:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__headline {\\n font-size: 4vw;\\n}\\n\\n/* remove extra \\\"with Flex\\\" */\\n.message__headline > span:nth-of-type(3) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.7rem;\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 324px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n .message__headline .tag--medium .br:first-child {\\n display: block;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 45%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) {\\n .message__headline {\\n font-size: 5vw;\\n line-height: 1.3em;\\n display: inline;\\n }\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n .message__logo:nth-of-type(1) {\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 374px) {\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n }\\n}\\n\\n@media (max-width: 374px) {\\n .message__headline {\\n font-size: 5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 55%;\\n }\\n\\n .message__logo-container {\\n margin-right: 2.5%;\\n }\\n\\n .weak {\\n margin-left: -1.6%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 767px) {\\n .message__headline::after {\\n content: ' ';\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 323px) {\\n .message__logo-container {\\n margin-right: 7%;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0 5px;\\n width: 30%;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')]\n];\n","export default \".message__logo-container {\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 8.4vw;\\n font-weight: 500;\\n line-height: 1.6em;\\n}\\n\\n.message__disclaimer {\\n position: static;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: normal;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span > span:only-child,\\n.message__disclaimer > span > span.em {\\n text-decoration: underline;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\";","export default \".message__disclaimer span.multi:nth-of-type(1) {\\n display: none;\\n}\\n\\n.message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__logo-container {\\n width: 100%;\\n margin-bottom: 12%;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n\\n.message__headline {\\n font-size: 10vw;\\n line-height: 1.55em;\\n}\\n\\n@media (min-width: 140px) {\\n .message__headline {\\n font-size: 8.4vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n\\n.message__headline {\\n font-size: 1.1rem;\\n margin-bottom: 10%;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.9rem;\\n}\\n\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.7rem;\\n }\\n}\\n\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n display: inline;\\n padding-right: 0;\\n margin-right: 7px;\\n line-height: 1.3em;\\n }\\n\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 18%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 55%;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 375px) {\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 351px) {\\n .message__headline {\\n font-size: 3.5vw;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 360px) {\\n .message__messaging {\\n line-height: 1.3rem;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__logo-container {\\n margin-bottom: -3px;\\n max-width: 12%;\\n margin-right: 1.5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n\\n .message__promo-container {\\n width: unset;\\n }\\n\\n .message__messaging {\\n flex: none;\\n display: inline;\\n }\\n\\n .message__content {\\n justify-content: center;\\n }\\n\\n .message__sub-headline {\\n margin-left: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 7px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 351px) {\\n .message__disclaimer {\\n font-size: 0.8rem;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 903px) {\\n .message__logo-container {\\n margin-bottom: -6px;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 400px) {\\n .message__headline {\\n font-size: 2vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 20%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 60%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 523px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 600px) {\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: auto;\\n }\\n\\n .message__logo-container {\\n max-width: 18%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 401px) and (max-width: 522px) {\\n .message__logo-container {\\n max-width: 18%;\\n }\\n\\n .message__headline {\\n font-size: 2.75vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\";","import validOptions from './validOptions';\nimport getMutations from './mutations';\nimport logos from '../../../message/logos';\nimport styles from './styles';\n\nexport default {\n localeClass: 'locale--US',\n productName: ['with', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n }\n};\n","/* eslint-disable eslint-comments/disable-enable-pair */\n// mutations import here.\nimport longTermNQEQZ from './long_term_nq_eqz';\nimport longTermNQGTZ from './long_term_nq_gtz';\nimport longTermMultiEQZ from './long_term_multi_eqz';\nimport longTermMultiGTZ3MEZ from './long_term_multi_gtz_3mez';\nimport longTermMultiGTZ from './long_term_multi_gtz';\nimport longTermSingleEQZ from './long_term_single_eqz';\nimport longTermSingleGTZ from './long_term_single_gtz';\nimport generic from './generic';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'LT_NQEZ':\n case 'PLLT_NQ_EZ':\n return longTermNQEQZ[type];\n case 'LT_NQGZ':\n case 'PLLT_NQ_GZ':\n return longTermNQGTZ[type];\n case 'LT_MQEZ':\n case 'PLLT_MQ_EZ':\n case 'PLLT_MQ_EZ_RB':\n return longTermMultiEQZ[type];\n case 'LT_MQGZ':\n case 'PLLT_MQ_GZ':\n return longTermMultiGTZ[type];\n case 'LT_MQGZ:3MEZ':\n case 'PLLT_MQGZ:3MEZ':\n case 'PLLT_MQ_GZ:PLLT_SQ_EZ':\n return longTermMultiGTZ3MEZ[type];\n case 'LT_SQEZ':\n case 'PLLT_SQ_EZ':\n case 'PLLT_SQ_EZ_RB':\n return longTermSingleEQZ[type];\n case 'LT_SQGZ':\n case 'PLLT_SQ_GZ':\n return longTermSingleGTZ[type];\n case 'GENERIC':\n default:\n return generic[type];\n }\n}\n","import text from './text';\nimport flex from './flex';\n\nexport default {\n 'layout:text': text,\n 'layout:flex': flex\n};\n","import Logo from '../../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n hideDisclaimer,\n removeInlinePeriod,\n removePeriodFromProductName\n} from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 28.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n textWrap(textSize * 45, textSize, 'US'),\n xSmallFallback(textSize * 14),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n hideDisclaimer(textSize * 14)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['purchases']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 13),\n setLogoTop(textSize * 38),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__messaging span.br {white-space: normal}`,\n hideDisclaimer(textSize * 13)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 13),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__messaging span.br {white-space: normal}`,\n hideDisclaimer(textSize * 13)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 14.25),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}`,\n hideDisclaimer(textSize * 14.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 18),\n hideDisclaimer(textSize * 18),\n removePeriodFromProductName(textSize * 18)\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [['0.', '0']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 18),\n `.message__logo { width: ${textSize * 4}px }`,\n hideDisclaimer(textSize * 18),\n removeInlinePeriod(textSize * 18)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [['0.', '0']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n hideDisclaimer,\n removeInlinePeriod,\n removePeriodFromProductName\n} from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n xSmallFallback(textSize * 14),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 14),\n hideDisclaimer(textSize * 14)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['purchases']\n },\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 13),\n setLogoTop(textSize * 32.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 13)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 13),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 13)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 14),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}`,\n hideDisclaimer(textSize * 14)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14),\n hideDisclaimer(textSize * 14),\n removePeriodFromProductName(textSize * 14)\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [['0.', '0']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14),\n `.message__logo { width: ${textSize * 4}px }`,\n hideDisclaimer(textSize * 14),\n removeInlinePeriod(textSize * 14)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [['0.', '0']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n hideDisclaimer,\n removeInlinePeriod,\n removePeriodFromProductName\n} from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n textWrap(textSize * 34, textSize, 'US'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n hideDisclaimer(textSize * 16)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mo.']\n },\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) {\n .message__headline > .tag--medium { white-space: normal; }\n }`,\n xSmallFallback(textSize * 10.75),\n setLogoTop(textSize * 34.2),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 10.75)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium { white-space: normal; } \n }`,\n xSmallFallback(textSize * 10.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 10.75)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}`,\n hideDisclaimer(textSize * 11.5)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 12.5),\n hideDisclaimer(textSize * 12.5),\n removePeriodFromProductName(textSize * 12.5)\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo'],\n replace: [\n ['APR.', 'APR'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 12.5),\n `.message__logo { width: ${textSize * 4}px }`,\n hideDisclaimer(textSize * 12.5),\n removeInlinePeriod(textSize * 12.5)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo'],\n replace: [\n ['APR.', 'APR'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n hideDisclaimer,\n removeInlinePeriod,\n removePeriodFromProductName\n} from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 43, textSize, 'US'),\n xSmallFallback(textSize * 15),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n hideDisclaimer(textSize * 15)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['low as']\n },\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n xSmallFallback(textSize * 12),\n setLogoTop(textSize * 29),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 12)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span.br:first-child { white-space: normal; } \n }`,\n xSmallFallback(textSize * 12),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 12)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 11),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 40.5, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}`,\n hideDisclaimer(textSize * 11)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 13),\n hideDisclaimer(textSize * 13),\n removePeriodFromProductName(textSize * 13)\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo', 'as'],\n replace: [\n ['mo.', 'mo'],\n ['</span>.', '</span>']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n xSmallFallback(textSize * 13),\n hideDisclaimer(textSize * 13),\n removeInlinePeriod(textSize * 13)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mo.', 'mo'],\n replace: [\n ['mo.', 'mo'],\n ['</span>.', '</span>']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n hideDisclaimer,\n removeInlinePeriod,\n removePeriodFromProductName\n} from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium > span > span:last-child { white-space: normal; }\n }`,\n textWrap(textSize * 36.5, textSize, 'US'),\n xSmallFallback(textSize * 14),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n hideDisclaimer(textSize * 14)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['of']\n },\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 25.5}px) {\n .message__headline > .tag--medium { white-space: normal; }\n }`,\n xSmallFallback(textSize * 13),\n setLogoTop(textSize * 37),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 13)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 25.5}px) { \n .message__headline > .tag--medium { white-space: normal; } \n }`,\n xSmallFallback(textSize * 13.2),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 13.2)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n xSmallFallback(textSize * 12.5),\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}`,\n hideDisclaimer(textSize * 12.5)\n ],\n headline: [\n {\n tag: 'medium',\n br: ['mo.']\n },\n {\n tag: 'xsmall'\n }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14),\n hideDisclaimer(textSize * 14),\n removePeriodFromProductName(textSize * 14)\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['of'],\n replace: [\n ['APR.', 'APR'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14),\n `.message__logo { width: ${textSize * 4}px }`,\n hideDisclaimer(textSize * 14),\n removeInlinePeriod(textSize * 14)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['of'],\n replace: [\n ['APR.', 'APR'],\n ['mo.', 'mo']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n hideDisclaimer,\n removeInlinePeriod,\n removePeriodFromProductName\n} from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 32, textSize, 'US'),\n xSmallFallback(textSize * 14),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n hideDisclaimer(textSize * 14)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['of']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium { white-space: normal; }\n }`,\n xSmallFallback(textSize * 12.5),\n setLogoTop(textSize * 30.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 12.5)\n ],\n headline: [\n {\n tag: 'medium',\n br: ['payments']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 18.5}px) { \n .message__headline > .tag--medium { white-space: normal; } \n }`,\n xSmallFallback(textSize * 13),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 13)\n ],\n headline: [\n {\n tag: 'medium',\n br: ['payments']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n altNoWrap(textSize * 10.6),\n textWrap(textSize * 32, textSize, 'US'),\n xSmallFallback(textSize * 12.5),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}`,\n hideDisclaimer(textSize * 12.5)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n hideDisclaimer(textSize * 16),\n removePeriodFromProductName(textSize * 16)\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n replace: [['mo.', 'mo']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n `.message__logo { width: ${textSize * 4}px }`,\n hideDisclaimer(textSize * 16),\n removeInlinePeriod(textSize * 16)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n replace: [['mo.', 'mo']]\n },\n { tag: 'xsmall.2', replace: [['later.', 'later']] }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n addPeriod,\n hideDisclaimer,\n removeInlinePeriod,\n removePeriodFromProductName\n} from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 33.5, textSize, 'US'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n `.message__headline > .tag--medium > span:not(.weak):first-child {white-space: nowrap;}`,\n addPeriod(),\n hideDisclaimer(textSize * 16)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['payments']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }\n .message__headline > .tag--medium > span:not(.weak):first-child {white-space: nowrap;}`,\n xSmallFallback(textSize * 10.75),\n setLogoTop(textSize * 34),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n hideDisclaimer(textSize * 10.75)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `.message__messaging span.br {white-space: normal;}`,\n `@media screen and (max-width: ${\n textSize * 10.5\n }px) { .message__headline > .tag--xsmall > span:only-child { white-space: normal; }}`,\n xSmallFallback(textSize * 10.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n hideDisclaimer(textSize * 10.75)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'US'),\n xSmallFallback(textSize * 10.5),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod(),\n `.message__headline .tag--xsmall > span {white-space: normal;}`,\n hideDisclaimer(textSize * 10.5)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 18),\n hideDisclaimer(textSize * 18),\n removePeriodFromProductName(textSize * 18)\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 18),\n `.message__logo { width: ${textSize * 4}px }`,\n hideDisclaimer(textSize * 18),\n removeInlinePeriod(textSize * 18)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n hideDisclaimer,\n removeInlinePeriod,\n removePeriodFromProductName\n} from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 42, textSize, 'US'),\n xSmallFallback(textSize * 16.5),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n hideDisclaimer(textSize * 16.5)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['of']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `.message__messaging span.br {white-space: normal;}`,\n xSmallFallback(textSize * 14),\n setLogoTop(textSize * 42.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 14)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `.message__messaging span.br {white-space: normal;}`,\n xSmallFallback(textSize * 13),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 13)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 38, textSize, 'US'),\n xSmallFallback(textSize * 15.4),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.locale--US .message__headline > .tag--medium > span { white-space: normal }`,\n `.message__headline .tag--xsmall > span {white-space: normal;}`,\n hideDisclaimer(textSize * 15.4)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 18),\n hideDisclaimer(textSize * 18),\n removePeriodFromProductName(textSize * 18)\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['00.', '00']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 18),\n `.message__logo { width: ${textSize * 4}px }`,\n hideDisclaimer(textSize * 18),\n removeInlinePeriod(textSize * 18)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['00.', '00']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport { textWrap, messageLogoWidth, altNoWrap, setLogoTop } from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 13, textSize, 'US'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16.5),\n `button { pointer-events: none; }`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [{ tag: 'xsmall' }],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 17),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.locale--US .message__messaging {padding-right: 0.4rem;}\n button { pointer-events: none; }\n `\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:right && text.align:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 17),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n\n `.locale--US .message__logo-container {margin-left: 0.4rem;}\n button { pointer-events: none; }\n `\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `button { pointer-events: none; }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'US'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}\n button { pointer-events: none; }\n `\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 37.3}) {.message__content {margin-top: 0px;}}`,\n `.message__headline span:last-child > span::before {\n content: 'PayPal';\n display: inline-block;\n font-weight: bold;\n }\n .message__headline span:last-child > strong {\n display: none;\n }\n button { pointer-events: none; }\n `\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n `.locale--US .message__logo-container::after {\n content: '';\n }\n button { pointer-events: none; }\n `\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport { textWrap, messageLogoWidth, altNoWrap, setLogoTop } from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 15, textSize, 'US'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 15),\n `button { pointer-events: none; }`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [{ tag: 'xsmall' }],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 15),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.locale--US .message__messaging {padding-right: 0.4rem;}`,\n `button { pointer-events: none; }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:right && text.align:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 15),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n\n `.locale--US .message__logo-container {margin-left: 0.4rem;}`,\n `button { pointer-events: none; }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `button { pointer-events: none; }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'US'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}`,\n `button { pointer-events: none; }`\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 37.3}) {.message__content {margin-top: 0px;}}`,\n `.message__headline span:last-child > span::before {\n content: 'PayPal';\n display: inline-block;\n font-weight: bold;\n }\n .message__headline span:last-child > strong {\n display: none;\n }\n button { pointer-events: none; }\n `\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n `.locale--US .message__logo-container::after {\n content: '';\n }\n button { pointer-events: none; }\n `\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport { textWrap, messageLogoWidth, altNoWrap, setLogoTop } from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 38, textSize, 'US'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n `button { pointer-events: none; }`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [{ tag: 'xsmall' }],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 18),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.locale--US .message__messaging {padding-right: 0.4rem;}\n button { pointer-events: none; }\n `\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:right && text.align:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 18),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n\n `.locale--US .message__logo-container {margin-left: 0.4rem;}\n button { pointer-events: none; }\n `\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `button { pointer-events: none; }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'US'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}\n button { pointer-events: none; }\n `\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 37.3}) {.message__content {margin-top: 0px;}}`,\n `.message__headline span:last-child > span::before {\n content: 'PayPal';\n display: inline-block;\n font-weight: bold;\n }\n .message__headline span:last-child > strong {\n display: none;\n }\n button { pointer-events: none; }\n `\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n `.locale--US .message__logo-container::after {\n content: '';\n }\n button { pointer-events: none; }\n `\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n hideDisclaimer\n} from '../../../../../message/mediaQueries';\nimport { textLogoMutations } from '../../../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10.5),\n textWrap(textSize * 32, textSize, 'US'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 10.5),\n hideDisclaimer(textSize * 10.5),\n `.message__headline .tag--xsmall > span {display: inline-block;}`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on']\n },\n {\n tag: 'xsmall',\n br: ['easier']\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 28.5),\n xSmallFallback(textSize * 10.5),\n setLogoTop(textSize * 18),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 10.5),\n `.locale--US .message__messaging {padding-right: 0.4rem;}`,\n `.message__headline .tag--xsmall > span {white-space: normal;}`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:right && text.align:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10.5),\n setLogoTop(textSize * 28.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 10.5),\n `.locale--US .message__logo-container {margin-left: 0.4rem;} `,\n `.message__headline .tag--xsmall > span {white-space: normal;}`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n hideDisclaimer(textSize * 10.5),\n `.message__headline .tag--xsmall > span {white-space: normal;}`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10.5),\n textWrap(textSize * 32, textSize, 'US'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .tag--xsmall > span {white-space: normal;}\n `,\n hideDisclaimer(textSize * 10.5)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10.5),\n `.message__headline span:last-child > strong {\n\t content: 'PayPal';\n\t display: inline-block;\n\t font-weight: bold;\n\t }\n\t `,\n hideDisclaimer(textSize * 10.5),\n `.message__headline .tag--xsmall > span {white-space: normal;}\n `\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall',\n br: ['easier']\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10.5),\n `.message__logo { width: ${textSize * 4}px }`,\n hideDisclaimer(textSize * 10.5),\n `.message__headline .tag--xsmall > span {white-space: normal;}\n `\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall',\n br: ['easier']\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import sharedGPLTextStyles from '../../../../common/styles/GPL/text';\n\nexport default {\n 'layout:text': [...sharedGPLTextStyles]\n};\n","import validOptions from './validOptions';\nimport getMutations from './mutations';\nimport logos from '../../../../message/logos';\nimport styles from './styles';\n\nexport default {\n localeClass: 'locale--US',\n productName: ['with', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['alternative', 'primary', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.STRING],\n fontSource: [Types.ANY]\n }\n }\n};\n","/* eslint-disable eslint-comments/disable-enable-pair */\n// mutations import here.\nimport longTermNQEQZ from './long_term_nq_eqz';\nimport longTermNQGTZ from './long_term_nq_gtz';\nimport longTermMultiEQZ from './long_term_multi_eqz';\nimport longTermMultiGTZ from './long_term_multi_gtz';\nimport longTermSingleEQZ from './long_term_single_eqz';\nimport longTermSingleGTZ from './long_term_single_gtz';\nimport shortTermSingleQ from './short_term_q';\nimport shortTermSingleNQ from './short_term_nq';\nimport genericPayLater from './generic_pay_later';\nimport genericPayLaterBNPL from './generic_pay_later_bnpl';\nimport genericPayPal from './generic_paypal';\nimport purchaseProtection from './purchase_protection';\n\nexport default function getMutations(id, type) {\n switch (id) {\n // Long Term messages\n // Long Term Non-qualifying at 0% APR\n case 'LT_NQEZ':\n case 'PLLT_NQ_EZ':\n return longTermNQEQZ[type];\n // Long Term Non-qualifying non-0% APR\n case 'LT_NQGZ':\n case 'PLLT_NQ_GZ':\n return longTermNQGTZ[type];\n // Long Term multiple qualifying offers at 0% APR\n case 'LT_MQEZ':\n case 'PLLT_MQ_EZ':\n case 'PLLT_MQ_EZ_RB':\n return longTermMultiEQZ[type];\n // Long Term multiple qualifying offers non-0% APR\n case 'LT_MQGZ':\n case 'PLLT_MQ_GZ':\n return longTermMultiGTZ[type];\n // Long Term single qualifying offer at 0% APR\n case 'LT_SQEZ':\n case 'PLLT_SQ_EZ':\n case 'PLLT_SQ_EZ_RB':\n return longTermSingleEQZ[type];\n // Long Term single qualifying offer non-0% APR\n case 'LT_SQGZ':\n case 'PLLT_SQ_GZ':\n return longTermSingleGTZ[type];\n // Short Term messages\n // Short Term Qualifying\n case 'ST_SQ':\n case 'PLST_SQ':\n return shortTermSingleQ[type];\n // Short Term Non-qualifying\n case 'ST_NQ':\n case 'PLST_NQ':\n return shortTermSingleNQ[type];\n // Generic Messages\n // Generic Pay Later message\n case 'GENERIC_PL':\n case 'PP:PL_GENERIC':\n return genericPayLater[type];\n // // Generic Pay Later - Buy now, Pay Later message\n case 'GENERIC_PL_BNPL':\n case 'GENERIC':\n case 'PL_GENERIC':\n return genericPayLaterBNPL[type];\n case 'PURCHASE_PROTECTION':\n return purchaseProtection[type];\n // // Generic PayPal message\n case 'GENERIC_PAYPAL':\n case 'PP_GENERIC':\n default:\n return genericPayPal[type];\n }\n}\n","import { xSmallFallback, hideDisclaimer } from '../../../../../message/mediaQueries';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } `,\n xSmallFallback(textSize * 12),\n hideDisclaimer(textSize * 12)\n ],\n headline: [\n {\n tag: 'medium'\n },\n {\n tag: 'xsmall',\n br: [',']\n }\n ],\n disclaimer: ['default']\n })\n ]\n ]\n};\n","import { xSmallFallback, hideDisclaimer } from '../../../../../message/mediaQueries';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } `,\n xSmallFallback(textSize * 11.5),\n hideDisclaimer(textSize * 11.5)\n ],\n headline: [\n {\n tag: 'medium'\n },\n {\n tag: 'xsmall',\n br: [',']\n }\n ],\n disclaimer: ['default']\n })\n ]\n ]\n};\n","import { xSmallFallback, hideDisclaimer } from '../../../../../message/mediaQueries';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } `,\n xSmallFallback(textSize * 12.5),\n hideDisclaimer(textSize * 12.5)\n ],\n headline: [\n {\n tag: 'medium'\n },\n {\n tag: 'xsmall',\n br: ['or', ',']\n }\n ],\n disclaimer: ['default']\n })\n ]\n ]\n};\n","import { xSmallFallback, hideDisclaimer } from '../../../../../message/mediaQueries';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } `,\n xSmallFallback(textSize * 14),\n hideDisclaimer(textSize * 14)\n ],\n headline: [\n {\n tag: 'medium'\n },\n {\n tag: 'xsmall',\n br: ['or', ',']\n }\n ],\n disclaimer: ['default']\n })\n ]\n ]\n};\n","import { xSmallFallback, hideDisclaimer } from '../../../../../message/mediaQueries';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } `,\n xSmallFallback(textSize * 13.5),\n hideDisclaimer(textSize * 13.5)\n ],\n headline: [\n {\n tag: 'medium'\n },\n {\n tag: 'xsmall',\n br: ['or', ',']\n }\n ],\n disclaimer: ['default']\n })\n ]\n ]\n};\n","import { xSmallFallback, hideDisclaimer } from '../../../../../message/mediaQueries';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } `,\n xSmallFallback(textSize * 13.5),\n hideDisclaimer(textSize * 13.5)\n ],\n headline: [\n {\n tag: 'medium'\n },\n {\n tag: 'xsmall',\n br: ['or', ',']\n }\n ],\n disclaimer: ['default']\n })\n ]\n ]\n};\n","import { xSmallFallback, hideDisclaimer } from '../../../../../message/mediaQueries';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } `,\n xSmallFallback(textSize * 13),\n hideDisclaimer(textSize * 13)\n ],\n headline: [\n {\n tag: 'medium'\n },\n {\n tag: 'xsmall',\n br: ['or', ',']\n }\n ],\n disclaimer: ['default']\n })\n ]\n ]\n};\n","import { xSmallFallback, hideDisclaimer } from '../../../../../message/mediaQueries';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } `,\n xSmallFallback(textSize * 16),\n hideDisclaimer(textSize * 16)\n ],\n headline: [\n {\n tag: 'medium'\n },\n {\n tag: 'xsmall',\n br: ['or', ',']\n }\n ],\n disclaimer: ['default']\n })\n ]\n ]\n};\n","export default {\n 'layout:text': [\n [\n 'default',\n () => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } button { pointer-events: none; }`\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n br: ['or']\n }\n ]\n })\n ]\n ]\n};\n","export default {\n 'layout:text': [\n [\n 'default',\n () => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } button { pointer-events: none; }`\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n br: [',']\n }\n ]\n })\n ]\n ]\n};\n","export default {\n 'layout:text': [\n [\n 'default',\n () => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } button { pointer-events: none; }`\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n br: ['easier']\n }\n ]\n })\n ]\n ]\n};\n","import { xSmallFallback, hideDisclaimer } from '../../../../../message/mediaQueries';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n `.message__headline > .tag--xsmall > span:first-child { white-space: normal; } `,\n xSmallFallback(textSize * 10.5),\n hideDisclaimer(textSize * 10.5)\n ],\n headline: [\n {\n tag: 'medium'\n },\n {\n tag: 'xsmall',\n br: ['easier']\n }\n ],\n disclaimer: ['default']\n })\n ]\n ]\n};\n","import sharedGPLTextStyles from '../../../../common/styles/GPL/text';\n\nexport default {\n 'layout:text': [...sharedGPLTextStyles]\n};\n","import validOptions from './validOptions';\nimport getMutations from './mutations';\nimport logos from '../../../../message/logos';\nimport styles from './styles';\n\nexport default {\n localeClass: 'locale--US',\n productName: [],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../../../types';\n\nexport default {\n text: {\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.STRING],\n fontSource: [Types.ANY]\n }\n }\n};\n","/* eslint-disable eslint-comments/disable-enable-pair */\n// mutations import here.\nimport longTermNQEQZ from './long_term_nq_eqz';\nimport longTermNQGTZ from './long_term_nq_gtz';\nimport longTermMultiEQZ from './long_term_multi_eqz';\nimport longTermMultiGTZ from './long_term_multi_gtz';\nimport longTermSingleEQZ from './long_term_single_eqz';\nimport longTermSingleGTZ from './long_term_single_gtz';\nimport shortTermSingleQ from './short_term_q';\nimport shortTermSingleNQ from './short_term_nq';\nimport genericPayLater from './generic_pay_later';\nimport genericPayLaterBNPL from './generic_pay_later_bnpl';\nimport genericPayPal from './generic_paypal';\nimport purchaseProtection from './purchase_protection';\n\nexport default function getMutations(id, type) {\n switch (id) {\n // Long Term messages\n // Long Term Non-qualifying at 0% APR\n case 'LT_NQEZ':\n case 'PLLT_NQ_EZ':\n return longTermNQEQZ[type];\n // Long Term Non-qualifying non-0% APR\n case 'LT_NQGZ':\n case 'PLLT_NQ_GZ':\n return longTermNQGTZ[type];\n // Long Term multiple qualifying offers at 0% APR\n case 'LT_MQEZ':\n case 'PLLT_MQ_EZ':\n case 'PLLT_MQ_EZ_RB':\n return longTermMultiEQZ[type];\n // Long Term multiple qualifying offers non-0% APR\n case 'LT_MQGZ':\n case 'PLLT_MQ_GZ':\n return longTermMultiGTZ[type];\n // Long Term single qualifying offer at 0% APR\n case 'LT_SQEZ':\n case 'PLLT_SQ_EZ':\n case 'PLLT_SQ_EZ_RB':\n return longTermSingleEQZ[type];\n // Long Term single qualifying offer non-0% APR\n case 'LT_SQGZ':\n case 'PLLT_SQ_GZ':\n return longTermSingleGTZ[type];\n // Short Term messages\n // Short Term Qualifying\n case 'ST_SQ':\n case 'PLST_SQ':\n return shortTermSingleQ[type];\n // Short Term Non-qualifying\n case 'ST_NQ':\n case 'PLST_NQ':\n return shortTermSingleNQ[type];\n // Generic Messages\n // Generic Pay Later message\n case 'GENERIC_PL':\n case 'PP:PL_GENERIC':\n return genericPayLater[type];\n // // Generic Pay Later - Buy now, Pay Later message\n case 'GENERIC_PL_BNPL':\n case 'GENERIC':\n case 'PL_GENERIC':\n return genericPayLaterBNPL[type];\n case 'PURCHASE_PROTECTION':\n return purchaseProtection[type];\n // // Generic PayPal message\n case 'GENERIC_PAYPAL':\n case 'PP_GENERIC':\n default:\n return genericPayPal[type];\n }\n}\n","/* @flow */\n\nimport {\n getCurrentScriptUID,\n ATTRIBUTES,\n parseQuery,\n getBrowserLocales,\n base64decode,\n values,\n getCurrentScript,\n memoize,\n stringifyError,\n} from \"@krakenjs/belter/src\";\nimport {\n COUNTRY,\n SDK_DATA_ATTRIBUTES,\n SDK_QUERY_KEYS,\n INTENT,\n COMMIT,\n VAULT,\n CURRENCY,\n FUNDING,\n CARD,\n COUNTRY_LANGS,\n DEFAULT_INTENT,\n DEFAULT_CURRENCY,\n DEFAULT_VAULT,\n QUERY_BOOL,\n LANG,\n type LocaleType,\n DEFAULT_SALE_COMMIT,\n DEFAULT_NONSALE_COMMIT,\n PAGE_TYPES,\n} from \"@paypal/sdk-constants/src\";\n\nimport { getPath, getDefaultNamespace, getSDKHost } from \"./global\";\nimport { CLIENT_ID_ALIAS } from \"./config\";\nimport { getComputedLocales } from \"./utils\";\n\ntype GetSDKScript = () => HTMLScriptElement;\n\nconst buildScriptNotFoundError = (host, path, error) => {\n const errorString = error ? stringifyError(error) : \"\";\n\n return new Error(\n `PayPal Payments SDK script not found on page! Expected to find <script src=\"https://${host}${path}\">\\n\\n${errorString}`\n );\n};\n\nexport const getSDKScript: GetSDKScript = memoize(() => {\n try {\n return getCurrentScript();\n } catch (error) {\n throw buildScriptNotFoundError(getSDKHost(), getPath(), error);\n }\n});\n\ntype GetSDKAttributes = () => { [string]: string };\n\nexport const getSDKAttributes: GetSDKAttributes = memoize(() => {\n const sdkScript = getSDKScript();\n const result = {};\n\n for (const attr of sdkScript.attributes) {\n if (attr.name.indexOf(\"data-\") === 0) {\n result[attr.name] = attr.value;\n }\n }\n result[ATTRIBUTES.UID] = getCurrentScriptUID();\n return result;\n});\n\nexport function getSDKAttribute<T: string | void>(\n name: $Values<typeof SDK_DATA_ATTRIBUTES>,\n def: T\n): T {\n // $FlowFixMe\n return getSDKAttributes()[name] || def;\n}\n\nexport function getSDKQueryParams(): { [string]: string } {\n const script = getSDKScript();\n return parseQuery(script.src.split(\"?\")[1] || \"\");\n}\n\ntype GetSDKQueryParam =\n // eslint-disable-next-line no-undef\n (<T: string>($Values<typeof SDK_QUERY_KEYS>) => T | void) &\n // eslint-disable-next-line no-undef\n (<T: string>($Values<typeof SDK_QUERY_KEYS>, T) => T);\n\nexport const getSDKQueryParam: GetSDKQueryParam = <T>(name: string, def: T) => {\n // $FlowFixMe\n return getSDKQueryParams()[name] || def;\n};\n\nexport function getScriptUrl(): string {\n const script = getSDKScript();\n const src = script.getAttribute(\"src\");\n if (!src) {\n throw new Error(`Can not find src for sdk script`);\n }\n return src;\n}\n\nexport function getSDKQueryParamBool<T: boolean>(\n name: $Values<typeof SDK_QUERY_KEYS>,\n def?: T\n): T {\n return (\n // $FlowFixMe\n getSDKQueryParam(name, def ? def.toString() : QUERY_BOOL.FALSE) ===\n QUERY_BOOL.TRUE\n );\n}\n\nexport function getClientID(): string {\n const clientID = getSDKQueryParam(SDK_QUERY_KEYS.CLIENT_ID);\n if (!clientID) {\n throw new Error(\n `Expected ${SDK_QUERY_KEYS.CLIENT_ID} parameter in sdk url`\n );\n }\n\n if (CLIENT_ID_ALIAS[clientID]) {\n return CLIENT_ID_ALIAS[clientID];\n }\n\n return clientID;\n}\n\nexport function getMerchantID(): $ReadOnlyArray<string> {\n const merchantIDString = getSDKQueryParam(SDK_QUERY_KEYS.MERCHANT_ID);\n\n if (merchantIDString === \"*\") {\n // get multiple merchant ids or emails from data-merchant-id\n const merchantIDAttribute = getSDKAttribute(\n SDK_DATA_ATTRIBUTES.MERCHANT_ID\n );\n\n if (!merchantIDAttribute) {\n throw new Error(\n `Must pass ${SDK_DATA_ATTRIBUTES.MERCHANT_ID} when ${SDK_QUERY_KEYS.MERCHANT_ID}=* passed in url`\n );\n }\n\n const merchantID = merchantIDAttribute.split(\",\");\n\n if (merchantID.length <= 1) {\n throw new Error(\n `Must pass multiple merchant ids to ${SDK_DATA_ATTRIBUTES.MERCHANT_ID}. If passing a single id, pass ${SDK_QUERY_KEYS.MERCHANT_ID}=XYZ in url`\n );\n }\n\n // check duplicates\n const hasDuplicate = merchantID.some(\n (val, i) => merchantID && merchantID.indexOf(val) !== i\n );\n\n if (hasDuplicate) {\n throw new Error(\n `Duplicates ${SDK_DATA_ATTRIBUTES.MERCHANT_ID}. Must pass unique merchant ids to ${SDK_DATA_ATTRIBUTES.MERCHANT_ID}.`\n );\n }\n return merchantID;\n }\n\n if (merchantIDString) {\n return merchantIDString.split(\",\");\n }\n\n return [];\n}\n\nexport function getIntent(): $Values<typeof INTENT> {\n return getSDKQueryParam(SDK_QUERY_KEYS.INTENT, DEFAULT_INTENT);\n}\n\nexport function getCommit(): $Values<typeof COMMIT> {\n return getSDKQueryParamBool(\n SDK_QUERY_KEYS.COMMIT,\n getIntent() === INTENT.CAPTURE\n ? DEFAULT_SALE_COMMIT\n : DEFAULT_NONSALE_COMMIT\n );\n}\n\nexport function getVault(): $Values<typeof VAULT> {\n return getSDKQueryParamBool(SDK_QUERY_KEYS.VAULT, DEFAULT_VAULT);\n}\n\nexport function getCurrency(): $Values<typeof CURRENCY> {\n return getSDKQueryParam(SDK_QUERY_KEYS.CURRENCY, DEFAULT_CURRENCY);\n}\n\nexport function getEnableFunding(): $ReadOnlyArray<?$Values<typeof FUNDING>> {\n const funding = getSDKQueryParam(SDK_QUERY_KEYS.ENABLE_FUNDING);\n if (funding) {\n return funding.split(\",\");\n }\n return [];\n}\n\nexport function getDisableFunding(): $ReadOnlyArray<?$Values<typeof FUNDING>> {\n const funding = getSDKQueryParam(SDK_QUERY_KEYS.DISABLE_FUNDING);\n if (funding) {\n return funding.split(\",\");\n }\n return [];\n}\n\nexport function getDisableCard(): $ReadOnlyArray<?$Values<typeof CARD>> {\n const funding = getSDKQueryParam(SDK_QUERY_KEYS.DISABLE_CARD);\n if (funding) {\n return funding.split(\",\");\n }\n return [];\n}\n\nexport function getBuyerCountry(): ?$Values<typeof COUNTRY> {\n return getSDKQueryParam(SDK_QUERY_KEYS.BUYER_COUNTRY);\n}\n\nexport function getNamespace(): string {\n return (\n getSDKAttribute(SDK_DATA_ATTRIBUTES.NAMESPACE) || getDefaultNamespace()\n );\n}\n\nexport function getClientToken(): ?string {\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.CLIENT_TOKEN);\n}\n\nexport function getAmount(): ?string {\n const amount = getSDKAttribute(SDK_DATA_ATTRIBUTES.AMOUNT);\n if (amount && !amount.match(/^\\d+\\.\\d\\d$/)) {\n throw new Error(`Invalid amount: ${amount}`);\n }\n return amount;\n}\n\nexport function getClientAccessToken(): ?string {\n const clientToken = getClientToken();\n\n if (clientToken) {\n return JSON.parse(base64decode(clientToken)).paypal.accessToken;\n }\n}\n\nexport function getPartnerAttributionID(): ?string {\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.PARTNER_ATTRIBUTION_ID);\n}\n\nexport function getMerchantRequestedPopupsDisabled(): boolean {\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.POPUPS_DISABLED) === \"true\";\n}\n\nexport function getPageType(): ?string {\n const pageType = getSDKAttribute(SDK_DATA_ATTRIBUTES.PAGE_TYPE, \"\");\n const validPageType =\n values(PAGE_TYPES).indexOf(pageType.toLowerCase()) !== -1;\n\n if (!validPageType && pageType.length) {\n throw new Error(`Invalid page type, '${pageType}'`);\n }\n return pageType.toLowerCase();\n}\n\nexport function getLocale(): LocaleType {\n const locale = getSDKQueryParam(SDK_QUERY_KEYS.LOCALE);\n\n if (locale) {\n return getComputedLocales(locale);\n }\n\n for (let { country, lang } of getBrowserLocales()) {\n country = country && COUNTRY[country];\n lang = lang && LANG[lang.toUpperCase()];\n\n if (\n country &&\n lang &&\n COUNTRY_LANGS[country] &&\n COUNTRY_LANGS[country].indexOf(lang) !== -1\n ) {\n return { country, lang };\n } else if (lang) {\n // We infer country from language if there is only one possible country match\n const possibleCountries = Object.keys(COUNTRY_LANGS).filter((c) =>\n COUNTRY_LANGS[c].some((l) => l === lang)\n );\n\n if (possibleCountries.length === 1) {\n const possibleCountry = possibleCountries[0];\n return { country: possibleCountry, lang };\n }\n }\n }\n\n for (const { country } of getBrowserLocales()) {\n if (COUNTRY_LANGS.hasOwnProperty(country)) {\n // $FlowFixMe\n return { country, lang: COUNTRY_LANGS[country][0] };\n }\n }\n\n return {\n lang: LANG.EN,\n country: COUNTRY.US,\n };\n}\n\nexport function getCSPNonce(): string {\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.CSP_NONCE) || \"\";\n}\n\nexport function getEnableThreeDomainSecure(): boolean {\n return getSDKAttributes().hasOwnProperty(SDK_DATA_ATTRIBUTES.ENABLE_3DS);\n}\n\nexport function getSDKIntegrationSource(): ?string {\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.SDK_INTEGRATION_SOURCE);\n}\n\nexport function getJsSdkLibrary(): ?string {\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.JS_SDK_LIBRARY);\n}\n\nexport function getUserExperienceFlow(): ?string {\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.USER_EXPERIENCE_FLOW);\n}\n\nexport function getUserIDToken(): ?string {\n if (\n getSDKAttribute(SDK_DATA_ATTRIBUTES.SDK_TOKEN) &&\n !getSDKAttribute(SDK_DATA_ATTRIBUTES.USER_ID_TOKEN)\n ) {\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.SDK_TOKEN);\n }\n\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.USER_ID_TOKEN);\n}\n\nexport function getSDKToken(): ?string {\n if (\n getSDKAttribute(SDK_DATA_ATTRIBUTES.SDK_TOKEN) &&\n getSDKAttribute(SDK_DATA_ATTRIBUTES.USER_ID_TOKEN)\n ) {\n throw new Error(\"Do not pass SDK token and ID token\");\n }\n\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.SDK_TOKEN);\n}\n\ntype decodedCustomerId = (string) => string;\nexport const decodeCustomerIdFromToken: decodedCustomerId = memoize((token) => {\n try {\n if (token && typeof atob === \"function\") {\n const { options = {} } = JSON.parse(window.atob(token.split(\".\")[1]));\n return options.customer_id || \"\";\n }\n\n return \"\";\n } catch {\n throw new Error(\"Error decoding SDK token\");\n }\n});\n\nexport function getCustomerId(): string {\n const sdkToken = getSDKAttribute(SDK_DATA_ATTRIBUTES.SDK_TOKEN) || \"\";\n return decodeCustomerIdFromToken(sdkToken);\n}\n\nexport function getShopperSessionId(): string {\n return getSDKAttribute(SDK_DATA_ATTRIBUTES.SHOPPER_SESSION_ID) || \"\";\n}\n\n/* v8 ignore next 3 */\nexport function isChildWindow(): boolean {\n return Boolean(window.xprops);\n}\n\n/* v8 ignore next 3 */\nexport function getUserAccessToken(): ?string {\n // pass\n}\n\n/* v8 ignore next 3 */\nexport function getUserAuthCode(): ?string {\n // pass\n}\n\n// Remove\n/* v8 ignore next 3 */\nexport function getCountry(): $Values<typeof COUNTRY> {\n return getLocale().country;\n}\n\n// Remove\n/* v8 ignore next 3 */\nexport function getLang(): $Values<typeof LANG> {\n return getLocale().lang;\n}\n","/* @flow */\n\nimport {\n ENV,\n PROTOCOL,\n COMPONENTS,\n PLATFORM,\n type FundingEligibilityType,\n} from \"@paypal/sdk-constants/src\";\nimport { isDevice } from \"@krakenjs/belter/src\";\n\nimport type { Experimentation, FirstRenderExperiments } from \"./types\";\n\nexport function getSDKHost(): string {\n return __SDK_HOST__;\n}\n\nexport function getProtocol(): $Values<typeof PROTOCOL> {\n return typeof __PROTOCOL__ !== \"undefined\" ? __PROTOCOL__ : PROTOCOL.HTTPS;\n}\n\nexport function getHost(): string {\n return __HOST__;\n}\n\nexport function getHostName(): string {\n return __HOSTNAME__;\n}\n\nexport function getPort(): number {\n return __PORT__;\n}\n\nexport function getPath(): string {\n return __PATH__;\n}\n\nexport function getEnv(): $Values<typeof ENV> {\n return __ENV__;\n}\n\nexport function getPayPalDomain(): string {\n return __PAYPAL_DOMAIN__;\n}\n\nexport function getPayPalAPIDomain(): string {\n return __PAYPAL_API_DOMAIN__;\n}\n\nexport function getDefaultServiceStageHost(): ?string {\n if (\n typeof __SERVICE_STAGE_HOST__ !== \"undefined\" &&\n __SERVICE_STAGE_HOST__ !== null\n ) {\n return __SERVICE_STAGE_HOST__;\n }\n}\n\nexport function getDefaultStageHost(): ?string {\n if (typeof __STAGE_HOST__ !== \"undefined\" && __STAGE_HOST__ !== null) {\n return __STAGE_HOST__;\n }\n}\n\nexport function getDefaultAPIStageHost(): ?string {\n const serviceStageHost = getDefaultServiceStageHost();\n const stageHost = getDefaultStageHost();\n\n if (serviceStageHost) {\n return serviceStageHost;\n } else if (stageHost) {\n return stageHost;\n }\n}\n\nexport function getStageHost(): ?string {\n return getDefaultStageHost();\n}\n\nexport function getAPIStageHost(): ?string {\n const defaultAPIStageHost = getDefaultAPIStageHost();\n\n if (defaultAPIStageHost) {\n return defaultAPIStageHost.replace(\"www.\", \"api.\");\n }\n}\n\nexport function getVersion(): string {\n return __VERSION__;\n}\n\nexport function getCorrelationID(): string {\n return __CORRELATION_ID__;\n}\n\nexport function getDefaultNamespace(): string {\n return __NAMESPACE__;\n}\n\nexport function getDebug(): boolean {\n return __DEBUG__;\n}\n\nexport function getComponents(): $ReadOnlyArray<$Values<typeof COMPONENTS>> {\n return __COMPONENTS__;\n}\n\nexport function getFundingEligibility(): FundingEligibilityType {\n return __FUNDING_ELIGIBILITY__;\n}\n\nexport function getPlatform(): $Values<typeof PLATFORM> {\n return isDevice() ? PLATFORM.MOBILE : PLATFORM.DESKTOP;\n}\n\n// Experiment Variable\nexport function getDisableSetCookie(): boolean {\n if (typeof __DISABLE_SET_COOKIE__ !== \"undefined\") {\n return __DISABLE_SET_COOKIE__;\n }\n\n return false;\n}\n\n// TODO first-render-experiment-cleanup any thing using this function should use getFirstRenderExperiments\nexport function getExperimentation(): Experimentation | null {\n if (typeof __EXPERIMENTATION__ !== \"undefined\") {\n if (__EXPERIMENTATION__) {\n const experimentation: Experimentation = {};\n if (__EXPERIMENTATION__.__EXPERIENCE__) {\n experimentation.experience = __EXPERIMENTATION__.__EXPERIENCE__;\n }\n if (__EXPERIMENTATION__.__TREATMENT__) {\n experimentation.treatment = __EXPERIMENTATION__.__TREATMENT__;\n }\n return experimentation;\n }\n }\n\n return null;\n}\n\nexport function getFirstRenderExperiments(): FirstRenderExperiments | Object {\n if (typeof __FIRST_RENDER_EXPERIMENTS__ !== \"undefined\") {\n return __FIRST_RENDER_EXPERIMENTS__;\n }\n\n return {};\n}\n","/* @flow */\n\nexport const LOG_LEVEL = {\n DEBUG: (\"debug\": \"debug\"),\n INFO: (\"info\": \"info\"),\n WARN: (\"warn\": \"warn\"),\n ERROR: (\"error\": \"error\"),\n};\n\nexport const PROTOCOL = {\n FILE: \"file:\",\n};\n","/* @flow */\n\nimport { LOG_LEVEL } from \"./constants\";\n\nexport const AUTO_FLUSH_LEVEL = [LOG_LEVEL.WARN, LOG_LEVEL.ERROR];\n\nexport const LOG_LEVEL_PRIORITY = [\n LOG_LEVEL.ERROR,\n LOG_LEVEL.WARN,\n LOG_LEVEL.INFO,\n LOG_LEVEL.DEBUG,\n];\n\nexport const FLUSH_INTERVAL = 60 * 1000;\n\nexport const DEFAULT_LOG_LEVEL: $Values<typeof LOG_LEVEL> = __DEBUG__\n ? LOG_LEVEL.DEBUG\n : LOG_LEVEL.WARN;\n","/* @flow */\n\nimport { type SameDomainWindowType } from \"@krakenjs/cross-domain-utils/src\";\n\nimport type { Payload } from \"./types\";\n\ntype CanUseBeaconOptions = {|\n headers: { [string]: string },\n enableSendBeacon: boolean,\n|};\n\nconst canUseSendBeacon = ({\n headers,\n enableSendBeacon,\n}: CanUseBeaconOptions): boolean => {\n const hasHeaders = headers && Object.keys(headers).length;\n if (\n window &&\n window.navigator.sendBeacon &&\n !hasHeaders &&\n enableSendBeacon &&\n window.Blob\n ) {\n return true;\n }\n\n return false;\n};\n\ntype SendBeaconOptions = {|\n win: SameDomainWindowType,\n url: string,\n data: JSON,\n useBlob: boolean,\n|};\n\nconst sendBeacon = ({\n win = window,\n url,\n data,\n useBlob = true,\n}: SendBeaconOptions): boolean => {\n try {\n const json = JSON.stringify(data);\n\n if (!win.navigator.sendBeacon) {\n throw new Error(`No sendBeacon available`);\n }\n\n if (useBlob) {\n const blob = new Blob([json], { type: \"application/json\" });\n return win.navigator.sendBeacon(url, blob);\n }\n\n return win.navigator.sendBeacon(url, json);\n } catch (e) {\n return false;\n }\n};\n\nconst extendIfDefined = (target: Payload, source: Payload) => {\n for (const key in source) {\n if (source.hasOwnProperty(key)) {\n target[key] = source[key];\n }\n }\n};\n\nexport { canUseSendBeacon, extendIfDefined, sendBeacon };\n","/* @flow */\n\nimport { ZalgoPromise } from \"@krakenjs/zalgo-promise/src\";\nimport {\n isBrowser,\n promiseDebounce,\n noop,\n safeInterval,\n objFilter,\n} from \"@krakenjs/belter/src\";\n\nimport {\n DEFAULT_LOG_LEVEL,\n LOG_LEVEL_PRIORITY,\n AUTO_FLUSH_LEVEL,\n FLUSH_INTERVAL,\n} from \"./config\";\nimport { LOG_LEVEL, PROTOCOL } from \"./constants\";\nimport { extendIfDefined } from \"./util\";\nimport { type Transport, getHTTPTransport } from \"./http\";\nimport type {\n MetricPayload,\n Payload,\n MetricPayloadCounter,\n MetricPayloadGauge,\n MetricPayloadHistogram,\n} from \"./types\";\n\nexport type LoggerOptions = {|\n url?: string,\n prefix?: string,\n metricNamespacePrefix?: string,\n logLevel?: $Values<typeof LOG_LEVEL>,\n transport?: Transport,\n flushInterval?: number,\n enableSendBeacon?: boolean,\n|};\n\ntype ClientPayload = Payload;\ntype Log = (name: string, payload?: ClientPayload) => LoggerType; // eslint-disable-line no-use-before-define\ntype Track = (payload: ClientPayload) => LoggerType; // eslint-disable-line no-use-before-define\ntype LogMetric = (payload: MetricPayload) => LoggerType; // eslint-disable-line no-use-before-define\ntype LogEvent = {|\n level: $Values<typeof LOG_LEVEL>,\n event: string,\n payload: Payload,\n|};\n\ntype Builder = (Payload) => ClientPayload;\ntype AddBuilder = (Builder) => LoggerType; // eslint-disable-line no-use-before-define\n\nexport type LoggerType = {|\n debug: Log,\n info: Log,\n warn: Log,\n error: Log,\n\n track: Track,\n metric: LogMetric,\n metricCounter: (payload: MetricPayloadCounter) => LoggerType,\n metricGauge: (payload: MetricPayloadGauge) => LoggerType,\n metricHistogram: (payload: MetricPayloadHistogram) => LoggerType,\n\n flush: () => ZalgoPromise<void>,\n immediateFlush: () => ZalgoPromise<void>,\n\n addPayloadBuilder: AddBuilder,\n addMetaBuilder: AddBuilder,\n addTrackingBuilder: AddBuilder,\n addMetricDimensionBuilder: AddBuilder,\n addHeaderBuilder: AddBuilder,\n\n setTransport: (Transport) => LoggerType,\n configure: (LoggerOptions) => LoggerType,\n\n __buffer__: {|\n get events(): $ReadOnlyArray<LogEvent>,\n get tracking(): $ReadOnlyArray<Payload>,\n get metrics(): $ReadOnlyArray<MetricPayload>,\n |},\n|};\n\nexport function Logger({\n url,\n prefix,\n metricNamespacePrefix,\n logLevel = DEFAULT_LOG_LEVEL,\n transport = getHTTPTransport(),\n flushInterval = FLUSH_INTERVAL,\n enableSendBeacon = false,\n}: LoggerOptions): LoggerType {\n let events: Array<LogEvent> = [];\n let tracking: Array<Payload> = [];\n let metrics: Array<MetricPayload> = [];\n\n const payloadBuilders: Array<Builder> = [];\n const metaBuilders: Array<Builder> = [];\n const trackingBuilders: Array<Builder> = [];\n const metricDimensionBuilders: Array<Builder> = [];\n const headerBuilders: Array<Builder> = [];\n\n function print(\n level: $Values<typeof LOG_LEVEL>,\n event: string,\n payload: Payload\n ) {\n if (!isBrowser() || !window.console || !window.console.log) {\n return;\n }\n\n if (\n LOG_LEVEL_PRIORITY.indexOf(level) > LOG_LEVEL_PRIORITY.indexOf(logLevel)\n ) {\n return;\n }\n\n const args = [event];\n\n args.push(payload);\n\n if (payload.error || payload.warning) {\n args.push(\"\\n\\n\", payload.error || payload.warning);\n }\n\n try {\n if (window.console[level] && window.console[level].apply) {\n window.console[level].apply(window.console, args);\n } else if (window.console.log && window.console.log.apply) {\n window.console.log.apply(window.console, args);\n }\n } catch (err) {\n // pass\n }\n }\n\n function immediateFlush(): ZalgoPromise<void> {\n return ZalgoPromise.try(() => {\n if (!isBrowser() || window.location.protocol === PROTOCOL.FILE) {\n return;\n }\n\n if (!events.length && !tracking.length && !metrics.length) {\n return;\n }\n\n const meta = {};\n for (const builder of metaBuilders) {\n extendIfDefined(meta, builder(meta));\n }\n\n const headers = {};\n for (const builder of headerBuilders) {\n extendIfDefined(headers, builder(headers));\n }\n\n let res;\n\n if (url) {\n res = transport({\n method: \"POST\",\n url,\n headers,\n json: {\n events,\n meta,\n tracking,\n metrics,\n },\n enableSendBeacon,\n }).catch(noop);\n }\n\n events = [];\n tracking = [];\n metrics = [];\n\n return ZalgoPromise.resolve(res).then(noop);\n });\n }\n\n const flush = promiseDebounce(immediateFlush);\n\n function enqueue(\n level: $Values<typeof LOG_LEVEL>,\n event: string,\n payload: Payload\n ) {\n events.push({\n level,\n event,\n payload,\n });\n\n if (AUTO_FLUSH_LEVEL.indexOf(level) !== -1) {\n flush();\n }\n }\n\n function log(\n level: $Values<typeof LOG_LEVEL>,\n event: string,\n payload = {}\n ): LoggerType {\n if (!isBrowser()) {\n return logger; // eslint-disable-line no-use-before-define\n }\n\n if (prefix) {\n event = `${prefix}_${event}`;\n }\n\n const logPayload: Payload = {\n ...objFilter(payload),\n timestamp: Date.now().toString(),\n };\n\n for (const builder of payloadBuilders) {\n extendIfDefined(logPayload, builder(logPayload));\n }\n\n enqueue(level, event, logPayload);\n print(level, event, logPayload);\n\n return logger; // eslint-disable-line no-use-before-define\n }\n\n function addBuilder(builders, builder): LoggerType {\n builders.push(builder);\n return logger; // eslint-disable-line no-use-before-define\n }\n\n function addPayloadBuilder(builder): LoggerType {\n return addBuilder(payloadBuilders, builder);\n }\n\n function addMetaBuilder(builder): LoggerType {\n return addBuilder(metaBuilders, builder);\n }\n\n function addTrackingBuilder(builder): LoggerType {\n return addBuilder(trackingBuilders, builder);\n }\n\n function addMetricDimensionBuilder(builder): LoggerType {\n return addBuilder(metricDimensionBuilders, builder);\n }\n\n function addHeaderBuilder(builder): LoggerType {\n return addBuilder(headerBuilders, builder);\n }\n\n function debug(event, payload): LoggerType {\n return log(LOG_LEVEL.DEBUG, event, payload);\n }\n\n function info(event, payload): LoggerType {\n return log(LOG_LEVEL.INFO, event, payload);\n }\n\n function warn(event, payload): LoggerType {\n return log(LOG_LEVEL.WARN, event, payload);\n }\n\n function error(event, payload): LoggerType {\n return log(LOG_LEVEL.ERROR, event, payload);\n }\n\n function track(payload = {}): LoggerType {\n if (!isBrowser()) {\n return logger; // eslint-disable-line no-use-before-define\n }\n\n const trackingPayload: Payload = objFilter(payload);\n\n for (const builder of trackingBuilders) {\n extendIfDefined(trackingPayload, builder(trackingPayload));\n }\n\n print(LOG_LEVEL.DEBUG, \"track\", trackingPayload);\n tracking.push(trackingPayload);\n\n return logger; // eslint-disable-line no-use-before-define\n }\n\n function metric(metricPayload: MetricPayload): LoggerType {\n if (!isBrowser()) {\n return logger; // eslint-disable-line no-use-before-define\n }\n\n if (metricNamespacePrefix) {\n metricPayload.metricNamespace = `${metricNamespacePrefix}.${metricPayload.metricNamespace}`;\n }\n\n if (metricDimensionBuilders.length > 0 && !metricPayload.dimensions) {\n metricPayload.dimensions = {};\n }\n\n for (const builder of metricDimensionBuilders) {\n extendIfDefined(\n metricPayload.dimensions || {},\n builder(metricPayload.dimensions || {})\n );\n }\n\n print(\n LOG_LEVEL.DEBUG,\n `metric.${metricPayload.metricNamespace}`,\n metricPayload.dimensions || {}\n );\n\n metrics.push(metricPayload);\n\n return logger; // eslint-disable-line no-use-before-define\n }\n\n function metricCounter(metricPayload: MetricPayloadCounter): LoggerType {\n return metric({\n metricNamespace: metricPayload.namespace,\n metricEventName: metricPayload.event,\n metricValue: metricPayload.value ?? 1,\n metricType: \"counter\",\n dimensions: metricPayload.dimensions,\n });\n }\n\n function metricGauge(metricPayload: MetricPayloadGauge): LoggerType {\n return metric({\n metricNamespace: metricPayload.namespace,\n metricEventName: metricPayload.event,\n metricValue: metricPayload.value,\n metricType: \"gauge\",\n dimensions: metricPayload.dimensions,\n });\n }\n\n function metricHistogram(metricPayload: MetricPayloadHistogram): LoggerType {\n return metric({\n metricNamespace: metricPayload.namespace,\n metricEventName: metricPayload.event,\n metricValue: metricPayload.value,\n metricType: \"histogram\",\n dimensions: metricPayload.dimensions,\n });\n }\n\n function setTransport(newTransport: Transport): LoggerType {\n transport = newTransport;\n return logger; // eslint-disable-line no-use-before-define\n }\n\n function configure(opts: LoggerOptions): LoggerType {\n if (opts.url) {\n url = opts.url;\n }\n\n if (opts.prefix) {\n prefix = opts.prefix;\n }\n\n if (opts.logLevel) {\n logLevel = opts.logLevel;\n }\n\n if (opts.transport) {\n transport = opts.transport;\n }\n\n if (opts.flushInterval) {\n flushInterval = opts.flushInterval;\n }\n\n if (opts.enableSendBeacon) {\n enableSendBeacon = opts.enableSendBeacon;\n }\n\n return logger; // eslint-disable-line no-use-before-define\n }\n\n if (isBrowser()) {\n safeInterval(flush, flushInterval);\n }\n\n if (typeof window === \"object\") {\n window.addEventListener(\"beforeunload\", () => {\n immediateFlush();\n });\n\n // Use pagehide if available, fallback to unload\n if (\"onpagehide\" in window) {\n window.addEventListener(\"pagehide\", () => {\n immediateFlush();\n });\n } else {\n window.addEventListener(\"unload\", () => {\n immediateFlush();\n });\n }\n }\n\n const logger = {\n debug,\n info,\n warn,\n error,\n track,\n metric,\n metricCounter,\n metricGauge,\n metricHistogram,\n flush,\n immediateFlush,\n addPayloadBuilder,\n addMetaBuilder,\n addMetricDimensionBuilder,\n addTrackingBuilder,\n addHeaderBuilder,\n setTransport,\n configure,\n\n // exposed primarily for testing\n // exposes these buffers as readonly getters only\n __buffer__: {\n get events(): $ReadOnlyArray<LogEvent> {\n return events;\n },\n get tracking(): $ReadOnlyArray<Payload> {\n return tracking;\n },\n get metrics(): $ReadOnlyArray<MetricPayload> {\n return metrics;\n },\n },\n };\n\n // mark the __buffer__ prop as readonly\n Object.defineProperty(logger, \"__buffer__\", { writable: false });\n\n return logger;\n}\n","/* @flow */\n\nimport { ZalgoPromise } from \"@krakenjs/zalgo-promise/src\";\nimport { request, noop } from \"@krakenjs/belter/src\";\nimport {\n isSameDomain,\n assertSameDomain,\n type CrossDomainWindowType,\n} from \"@krakenjs/cross-domain-utils/src\";\n\nimport { canUseSendBeacon, sendBeacon } from \"./util\";\n\nexport type TransportOptions = {|\n url: string,\n method: string,\n headers: { [string]: string },\n json: Object,\n enableSendBeacon?: boolean,\n|};\n\nexport type Transport = (TransportOptions) => ZalgoPromise<void>;\n\nexport function getHTTPTransport(httpWin?: CrossDomainWindowType): Transport {\n return ({\n url,\n method,\n headers,\n json,\n enableSendBeacon = false,\n }: TransportOptions): ZalgoPromise<void> => {\n return ZalgoPromise.try(() => {\n const httpWindow = httpWin ? httpWin : window;\n const win = isSameDomain(httpWindow)\n ? assertSameDomain(httpWindow)\n : window;\n let beaconResult = false;\n\n if (canUseSendBeacon({ headers, enableSendBeacon })) {\n beaconResult = sendBeacon({ win, url, data: json, useBlob: true });\n }\n\n return beaconResult\n ? beaconResult\n : request({ win, url, method, headers, json });\n }).then(noop);\n };\n}\n","/* @flow */\n\nimport { Logger, type LoggerType } from \"@krakenjs/beaver-logger/src\";\nimport { memoize } from \"@krakenjs/belter/src\";\nimport { BASE_SDK_METRIC_NAMESPACE } from \"@paypal/sdk-constants/src\";\n\nimport { getDisableSetCookie } from \"./global\";\nimport { getPayPalLoggerUrl } from \"./domains\";\n\ntype GetLogger = () => LoggerType;\n\nexport const getLogger: GetLogger = memoize(() => {\n const disableSetCookieQuery = \"disableSetCookie=true\";\n\n const loggerUrl = getDisableSetCookie()\n ? `${getPayPalLoggerUrl()}?${disableSetCookieQuery}`\n : getPayPalLoggerUrl();\n\n return Logger({\n url: loggerUrl,\n metricNamespacePrefix: BASE_SDK_METRIC_NAMESPACE,\n });\n});\n\n/*\n * @deprecated - use logger.metricCounter instead\n */\nexport const sendCountMetric = ({\n dimensions,\n event,\n name,\n value = 1,\n}: {|\n event: string,\n name: string,\n value?: number,\n dimensions: {\n [string]: mixed,\n },\n // $FlowIssue return type\n|}) =>\n getLogger().metric({\n dimensions,\n metricEventName: event,\n metricNamespace: name,\n metricValue: value,\n metricType: \"counter\",\n });\n","/* @flow */\n\nimport { ENV } from \"@paypal/sdk-constants/src\";\nimport {\n getDomain,\n getActualDomain,\n isCurrentDomain,\n} from \"@krakenjs/cross-domain-utils/src\";\n\nimport {\n getPayPalAPIDomain,\n getPayPalDomain,\n getProtocol,\n getStageHost,\n} from \"./global\";\nimport { URI } from \"./config\";\n\nexport function getPayPalLoggerDomain(): string {\n if (__ENV__ === ENV.LOCAL) {\n const stageHost = getStageHost();\n\n if (!stageHost) {\n throw new Error(`No stage host found`);\n }\n\n return `${getProtocol()}://${stageHost}`;\n }\n\n return getPayPalDomain();\n}\n\nexport function buildPayPalUrl(path: string = \"\"): string {\n return __TEST__ && __WEB__\n ? `${getActualDomain()}${path}`\n : `${getPayPalDomain()}${path}`;\n}\n\nexport function buildPayPalAPIUrl(path: string = \"\"): string {\n const paypalAPIDomain = isCurrentDomain(getPayPalDomain())\n ? getPayPalDomain()\n : getPayPalAPIDomain();\n\n return __TEST__ && __WEB__\n ? `${getActualDomain()}${path}`\n : `${paypalAPIDomain}${path}`;\n}\n\nexport function getPayPalLoggerUrl(): string {\n return buildPayPalUrl(URI.LOGGER);\n}\n\nexport function getAuthAPIUrl(): string {\n return buildPayPalAPIUrl(URI.AUTH);\n}\n\nexport function getOrderAPIUrl(): string {\n return buildPayPalAPIUrl(URI.ORDER);\n}\n\nexport function getPayPalDomainRegex(): RegExp {\n if (__ENV__ === ENV.LOCAL) {\n return /.*loca.*/;\n }\n // eslint-disable-next-line security/detect-unsafe-regex\n return /\\.paypal\\.(com|cn)(:\\d+)?$/;\n}\n\nexport function getVenmoDomainRegex(): RegExp {\n // eslint-disable-next-line security/detect-unsafe-regex\n return /http.*(\\.|\\/)venmo\\.com(:\\d*)?$/;\n}\n\nexport function isPayPalDomain(): boolean {\n return Boolean(getDomain().match(getPayPalDomainRegex()));\n}\n\nexport function isPayPalTrustedDomain(): boolean {\n return (\n Boolean(getDomain().match(getPayPalDomainRegex())) ||\n Boolean(getDomain().match(getVenmoDomainRegex()))\n );\n}\n\nexport function isPayPalTrustedUrl(href: string): boolean {\n try {\n // eslint-disable-next-line compat/compat\n const url = new URL(href);\n const domain = url.origin;\n return (\n Boolean(domain.match(getPayPalDomainRegex())) ||\n Boolean(domain.match(getVenmoDomainRegex()))\n );\n } catch (err) {\n return false;\n }\n}\n","/* @flow */\n\nexport const SUPPORTED_BROWSERS = {\n msie: \"11\",\n firefox: \"30\",\n chrome: \"27\",\n safari: \"7\",\n opera: \"16\",\n msedge: \"12\",\n samsungBrowser: \"2.1\",\n silk: \"59.3\",\n ucbrowser: \"10.0.0.488\",\n vivaldi: \"1.91\",\n};\n\nconst SANDBOX_ALIAS =\n \"AZDxjDScFpQtjWTOUtWKbyN_bDt4OgqaF4eYXlewfBP4-8aqX3PiV8e1GWU6liB2CUXlkA59kJXE7M6R\";\n\nexport const CLIENT_ID_ALIAS = {\n sandbox: SANDBOX_ALIAS,\n sb: SANDBOX_ALIAS,\n test: SANDBOX_ALIAS,\n};\n\nexport const URI = {\n LOGGER: `/xoplatform/logger/api/logger`,\n AUTH: `/v1/oauth2/token`,\n ORDER: `/v2/checkout/orders`,\n};\n","/* @flow */\n\nexport const BASE_SDK_METRIC_NAMESPACE = \"pp.sdks.ppcp\";\n\nexport const payPalWebV5Dimensions = {\n sdk_platform: \"web\",\n major_version: \"5\",\n};\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","/* @flow */\nimport { ENV } from \"@paypal/sdk-constants/src\";\n\nexport const FPTI_CONTEXT_TYPE = {\n ORDER_ID: (\"EC-Token\": \"EC-Token\"),\n};\n\nexport const FPTI_TRANSITION = {\n CREATE_ORDER: (\"process_create_order\": \"process_create_order\"),\n SCRIPT_LOAD: (\"process_script_load\": \"process_script_load\"),\n PXP: (\"process_pxp_check\": \"process_pxp_check\"),\n};\n\nexport const FPTI_STATE = {\n PXP: (\"PXP_CHECK\": \"PXP_CHECK\"),\n};\n\ntype FraudnetUrl = {|\n [$Values<typeof ENV>]: string,\n|};\n\nexport const FRAUDNET_URL: FraudnetUrl = {\n [ENV.LOCAL]:\n \"https://cdn-latest.static.engineering.dev.paypalinc.com/qaRdaAssets/fraudnet/async/fb-raw.js\",\n [ENV.STAGE]:\n \"https://cdn-latest.static.engineering.dev.paypalinc.com/qaRdaAssets/fraudnet/async/fb-raw.js\",\n [ENV.SANDBOX]: \"https://c.paypal.com/da/r/fb.js\",\n [ENV.PRODUCTION]: \"https://c.paypal.com/da/r/fb.js\",\n [ENV.TEST]: \"https://c.paypal.com/da/r/fb.js\",\n};\n\nexport const FRAUDNET_FNCLS = \"fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99\";\n","/* eslint-disable promise/no-native, no-restricted-globals */\n/* @flow */\n\nimport { ZalgoPromise } from \"@krakenjs/zalgo-promise/src\";\nimport { ENV } from \"@paypal/sdk-constants/src\";\nimport { memoize, type Memoized } from \"@krakenjs/belter/src\";\n\nimport { FRAUDNET_FNCLS, FRAUDNET_URL } from \"./constants\";\nimport { getLogger } from \"./logger\";\n\ntype FraudnetOptions = {|\n env: $Values<typeof ENV>,\n clientMetadataID: string,\n cspNonce: string,\n appName: string,\n queryStringParams?: { [string]: string | boolean },\n|};\n\ntype FraudnetConfig = {|\n f: string,\n s: string,\n u?: string,\n cb1: string,\n sandbox?: boolean,\n io: boolean,\n|};\n\ntype CreateConfigOptions = {|\n env: $Values<typeof ENV>,\n cspNonce: string,\n clientMetadataID: string,\n appName: string,\n|};\n\ntype CreateFraudnetOptions = {|\n cspNonce: string,\n env: $Values<typeof ENV>,\n queryStringParams?: { [string]: string | boolean },\n|};\n\nexport const createConfigScript = ({\n env,\n cspNonce = \"\",\n clientMetadataID,\n appName,\n}: CreateConfigOptions): ZalgoPromise<void> => {\n return new ZalgoPromise((resolve) => {\n const config: FraudnetConfig = {\n f: clientMetadataID,\n s: appName,\n io: true,\n cb1: \"fnCallback\",\n };\n\n if (env === ENV.SANDBOX) {\n config.sandbox = true;\n }\n\n const configScript = document.createElement(\"script\");\n\n configScript.setAttribute(\"nonce\", cspNonce);\n configScript.setAttribute(\"type\", \"application/json\");\n configScript.setAttribute(\"id\", \"fconfig\");\n configScript.setAttribute(\"fncls\", FRAUDNET_FNCLS);\n configScript.text = JSON.stringify(config);\n // eslint-disable-next-line compat/compat\n document.body?.appendChild(configScript);\n resolve();\n });\n};\n\nexport const createFraudnetScript = ({\n cspNonce,\n env,\n queryStringParams = {},\n}: CreateFraudnetOptions): ZalgoPromise<void> => {\n return new ZalgoPromise((resolve, reject) => {\n const fraudnetScript = document.createElement(\"script\");\n const queryString = Object.keys(queryStringParams)\n .map(\n (key) => `${key}=${encodeURIComponent(String(queryStringParams[key]))}`\n )\n .join(\"&\");\n\n const fraudnetUrl = queryString.length\n ? `${FRAUDNET_URL[env]}?${queryString}`\n : FRAUDNET_URL[env];\n\n fraudnetScript.setAttribute(\"nonce\", cspNonce || \"\");\n fraudnetScript.setAttribute(\"src\", fraudnetUrl);\n\n window.fnCallback = resolve;\n // eslint-disable-next-line compat/compat\n document.body?.appendChild(fraudnetScript);\n\n fraudnetScript.addEventListener(\"load\", () => {\n resolve();\n });\n fraudnetScript.addEventListener(\"error\", () => {\n reject(new Error(`Fraudnet failed to load.`));\n });\n fraudnetScript.addEventListener(\"abort\", () => {\n reject(new Error(`Fraudnet load was aborted.`));\n });\n });\n};\n\ntype LoadFraudnetResponse = {|\n collect: () => Promise<*> | void,\n|};\ntype LoadFraudnet = (opts: FraudnetOptions) => LoadFraudnetResponse;\n\nexport const loadFraudnet: Memoized<LoadFraudnet> = memoize(\n ({ env, clientMetadataID, cspNonce, appName, queryStringParams = {} }) => {\n createConfigScript({ env, cspNonce, clientMetadataID, appName });\n\n const fraudnetPromise = createFraudnetScript({\n cspNonce,\n env,\n queryStringParams,\n }).catch(() => {\n getLogger().warn(\"ppcp_axo_init_fraudnet_failed\");\n });\n\n return {\n collect: async () => {\n try {\n await fraudnetPromise;\n await window.PAYPAL.asyncData.collect();\n } catch (err) {\n getLogger().warn(\"ppcp_axo_collect_fraudnet_failed\");\n }\n },\n };\n }\n);\n/* eslint-enable promise/no-native, no-restricted-globals */\n","/* @flow */\n\nexport const ENV = {\n LOCAL: (\"local\": \"local\"),\n STAGE: (\"stage\": \"stage\"),\n SANDBOX: (\"sandbox\": \"sandbox\"),\n PRODUCTION: (\"production\": \"production\"),\n TEST: (\"test\": \"test\"),\n};\n\nexport const MOBILE_ENV = {\n ANDROID: (\"android\": \"android\"),\n IOS: (\"iOS\": \"iOS\"),\n};\n","/* @flow */\n\nimport { ZalgoPromise } from \"@krakenjs/zalgo-promise/src\";\nimport { memoize, request, base64encode } from \"@krakenjs/belter/src\";\nimport { FPTI_KEY, SDK_QUERY_KEYS, UNKNOWN } from \"@paypal/sdk-constants/src\";\n\nimport { getOrderAPIUrl, getAuthAPIUrl } from \"./domains\";\nimport { getLogger } from \"./logger\";\nimport {\n getIntent,\n getCurrency,\n getPartnerAttributionID,\n getMerchantID,\n} from \"./script\";\nimport { FPTI_CONTEXT_TYPE, FPTI_TRANSITION } from \"./constants\";\n\ntype ApplicationContext = {||};\n\nexport type OrderCreateRequest = {|\n intent?: \"CAPTURE\" | \"AUTHORIZE\",\n application_context?: ApplicationContext,\n purchase_units: $ReadOnlyArray<{|\n amount: {|\n currency_code: string,\n value: string,\n |},\n payee?: {|\n merchant_id?: string,\n email_address?: string,\n |},\n |}>,\n|};\n\nexport type OrderCaptureResponse = {||};\nexport type OrderGetResponse = {||};\nexport type OrderAuthorizeResponse = {||};\n\ntype CreateAccessToken = (string) => ZalgoPromise<string>;\n\nexport const createAccessToken: CreateAccessToken = memoize((clientID) => {\n getLogger().info(`rest_api_create_access_token`);\n\n const basicAuth = base64encode(`${clientID}:`);\n\n return request({\n method: `post`,\n url: getAuthAPIUrl(),\n headers: {\n Authorization: `Basic ${basicAuth}`,\n },\n data: {\n grant_type: `client_credentials`,\n },\n }).then(({ body }) => {\n if (body && body.error === \"invalid_client\") {\n throw new Error(\n `Auth Api invalid client id: ${clientID}:\\n\\n${JSON.stringify(\n body,\n null,\n 4\n )}`\n );\n }\n\n if (!body || !body.access_token) {\n throw new Error(\n `Auth Api response error:\\n\\n${JSON.stringify(body, null, 4)}`\n );\n }\n\n return body.access_token;\n });\n});\n\ntype OrderCreateOptions = {|\n fptiState?: string,\n|};\n\nconst getDefaultApplicationContext = (): ApplicationContext => {\n // $FlowFixMe\n return {};\n};\n\nexport function createOrder(\n clientID: string,\n order: OrderCreateRequest,\n { fptiState = \"\" }: OrderCreateOptions = {}\n): ZalgoPromise<string> {\n getLogger().info(`rest_api_create_order_token`);\n\n if (!clientID) {\n throw new Error(`Client ID not passed`);\n }\n\n if (!order) {\n throw new Error(`Expected order details to be passed`);\n }\n\n const currency = getCurrency();\n const intent = getIntent();\n const merchantID = getMerchantID();\n\n order = { ...order };\n\n if (order.intent && order.intent.toLowerCase() !== intent) {\n throw new Error(\n `Unexpected intent: ${\n order.intent\n } passed to order.create. Please ensure you are passing /sdk/js?${\n SDK_QUERY_KEYS.INTENT\n }=${order.intent.toLowerCase()} in the paypal script tag.`\n );\n }\n\n // $FlowFixMe\n order = { ...order, intent: intent.toUpperCase() };\n\n order.purchase_units = order.purchase_units.map((unit) => {\n if (unit.amount.currency_code && unit.amount.currency_code !== currency) {\n throw new Error(\n `Unexpected currency: ${unit.amount.currency_code} passed to order.create. Please ensure you are passing /sdk/js?${SDK_QUERY_KEYS.CURRENCY}=${unit.amount.currency_code} in the paypal script tag.`\n );\n }\n const payee = unit.payee;\n\n if (payee) {\n if (!merchantID) {\n throw new Error(\n `Pass ${SDK_QUERY_KEYS.MERCHANT_ID}=XYZ in the paypal script tag. Pass ${SDK_QUERY_KEYS.MERCHANT_ID}=${UNKNOWN} if you do not have access to the merchant id`\n );\n }\n }\n\n return {\n ...unit,\n payee,\n amount: { ...unit.amount, currency_code: currency },\n };\n });\n\n order.application_context =\n order.application_context || getDefaultApplicationContext();\n\n return createAccessToken(clientID)\n .then((accessToken): ZalgoPromise<Object> => {\n const headers: Object = {\n Authorization: `Bearer ${accessToken}`,\n \"PayPal-Partner-Attribution-Id\": getPartnerAttributionID(),\n };\n\n return request({\n method: `post`,\n url: getOrderAPIUrl(),\n headers,\n json: order,\n });\n })\n .then(({ body }): string => {\n if (!body || !body.id) {\n throw new Error(\n `Order Api response error:\\n\\n${JSON.stringify(body, null, 4)}`\n );\n }\n\n getLogger().track({\n [FPTI_KEY.STATE]: fptiState,\n [FPTI_KEY.TRANSITION]: FPTI_TRANSITION.CREATE_ORDER,\n [FPTI_KEY.CONTEXT_TYPE]: FPTI_CONTEXT_TYPE.ORDER_ID,\n [FPTI_KEY.TOKEN]: body.id,\n [FPTI_KEY.CONTEXT_ID]: body.id,\n });\n\n return body.id;\n });\n}\n","/* @flow */\n\nimport {\n memoize,\n eventEmitter,\n type EventEmitterType,\n} from \"@krakenjs/belter/src\";\n\nexport const getEventEmitter: () => EventEmitterType = memoize(eventEmitter);\n","/* @flow */\n/* eslint-disable promise/no-native, no-restricted-globals */\n\ntype KeyPair = {|\n privateKey: mixed,\n publicKey: mixed,\n|};\n\ntype DPoPParameters = {|\n accessToken?: string,\n method: string,\n nonce?: string,\n uri: string,\n|};\n\ntype JWTParameters = {|\n ...KeyPair,\n ...DPoPParameters,\n|};\n\ntype DPoPHeaders = {|\n Authorization?: string,\n DPoP: string,\n|};\n\ntype GenerateKeyPair = () => Promise<KeyPair>;\n\ntype CreateJWT = (JWTParameters) => Promise<string>;\n\ntype BuildDPoPHeaders = (DPoPParameters) => Promise<DPoPHeaders>;\n\n// https://developer.mozilla.org/en-US/docs/Web/API/RsaHashedKeyGenParams\nconst KEY_OPTIONS = {\n alg: \"RS256\",\n create: {\n hash: \"SHA-256\",\n modulusLength: 4096,\n name: \"RSASSA-PKCS1-v1_5\",\n publicExponent: new Uint8Array([0x01, 0x00, 0x01]),\n },\n extractable: false,\n sign: {\n hash: \"SHA-256\",\n name: \"RSASSA-PKCS1-v1_5\",\n },\n usages: [\"sign\", \"verify\"],\n};\n\nlet keyPair;\nexport const generateKeyPair: GenerateKeyPair = async () => {\n if (!keyPair) {\n const { create, extractable, usages } = KEY_OPTIONS;\n const { publicKey, privateKey } = await window.crypto.subtle.generateKey(\n create,\n extractable,\n usages\n );\n\n keyPair = keyPair || { publicKey, privateKey };\n }\n\n return keyPair;\n};\n\nexport const stringToBytes = (string: string): Uint8Array => {\n // webpack transforms [...\"string\"] to [].concat(\"string\")\n // eslint-disable-next-line unicorn/prefer-spread\n return new Uint8Array(string.split(\"\").map((c) => c.charCodeAt(0)));\n};\n\nexport const bytesToString = (bytes: Uint8Array): string => {\n return String.fromCharCode(...bytes);\n};\n\nexport const base64encodeUrlSafe = (string: string): string => {\n // https://datatracker.ietf.org/doc/html/rfc7515#appendix-C\n return btoa(string)\n .replace(/[=]+/g, \"\")\n .replace(/\\+/g, \"-\")\n .replace(/\\//g, \"_\");\n};\n\nexport const base64decodeUrlSafe = (string: string): string => {\n return atob(string.replace(/-/g, \"+\").replace(/_/g, \"/\"));\n};\n\nexport const sha256 = async (string: string): Promise<string> => {\n const bytes = stringToBytes(string);\n const digest = await window.crypto.subtle.digest(\"sha-256\", bytes);\n const binaryString = bytesToString(new Uint8Array(digest));\n return base64encodeUrlSafe(binaryString);\n};\n\nexport const jsonWebKeyThumbprint = async (jwk: Object): Promise<string> => {\n // https://datatracker.ietf.org/doc/html/rfc7638#section-3.2\n const { crv, e, kty, n, x, y } = jwk;\n return await sha256(JSON.stringify({ crv, e, kty, n, x, y }));\n};\n\nexport const createJWT: CreateJWT = async ({\n accessToken,\n method,\n nonce,\n publicKey,\n privateKey,\n uri,\n}) => {\n const jwk = await window.crypto.subtle.exportKey(\"jwk\", publicKey);\n\n const header = {\n alg: KEY_OPTIONS.alg,\n typ: \"dpop+jwt\",\n jwk,\n };\n\n const encodedHeader = base64encodeUrlSafe(JSON.stringify(header));\n\n const payload = {\n ath: accessToken ? await sha256(accessToken) : undefined,\n cnf: {\n jkt: await jsonWebKeyThumbprint(jwk),\n },\n htm: method,\n htu: uri,\n iat: Math.floor(new Date() / 1000),\n jti: window.crypto.randomUUID(),\n nonce,\n };\n\n const encodedPayload = base64encodeUrlSafe(JSON.stringify(payload));\n\n const signature = await window.crypto.subtle.sign(\n KEY_OPTIONS.sign,\n privateKey,\n stringToBytes(`${encodedHeader}.${encodedPayload}`)\n );\n\n const encodedSignature = base64encodeUrlSafe(\n bytesToString(new Uint8Array(signature))\n );\n\n return `${encodedHeader}.${encodedPayload}.${encodedSignature}`;\n};\n\nexport const buildDPoPHeaders: BuildDPoPHeaders = async ({\n accessToken,\n method,\n uri,\n nonce,\n}) => {\n const { privateKey, publicKey } = await generateKeyPair();\n const jwt = await createJWT({\n accessToken,\n method,\n uri,\n nonce,\n publicKey,\n privateKey,\n });\n // https://datatracker.ietf.org/doc/html/rfc9449#name-dpop-protected-resource-req\n return {\n ...(accessToken && { Authorization: `DPoP ${accessToken}` }),\n DPoP: jwt,\n };\n};\n\n/* eslint-enable promise/no-native, no-restricted-globals */\n","export const OFFER = {\n PAY_LATER_LONG_TERM: 'PAY_LATER_LONG_TERM',\n PAY_LATER_SHORT_TERM: 'PAY_LATER_SHORT_TERM',\n PAY_LATER_PAY_IN_1: 'PAY_LATER_PAY_IN_1',\n PAYPAL_CREDIT_NO_INTEREST: 'PAYPAL_CREDIT_NO_INTEREST',\n PAY_LATER: 'PAY_LATER',\n REWARDS: 'REWARDS'\n};\n\nexport const TAG = {\n MESSAGE: 'paypal-message',\n MODAL: 'paypal-credit-modal',\n TREATEMENTS: 'paypal-credit-treatments',\n // Prevent messaging treatments from running inside buttons iframe (avoids duplicate /experiments/local + /hash)\n BUTTONS: 'paypal-buttons'\n};\n","/** @jsx node */\nimport { node, dom } from '@krakenjs/jsx-pragmatic/src';\nimport { ZalgoPromise } from '@krakenjs/zalgo-promise/src';\n\nimport { partial, memoize } from './functional';\nimport { getStorage } from './sdk';\nimport { OFFER } from './constants';\n\n/**\n * Create a state object and pass back a reference and update function\n * @param {Object} initialState Initial object to store in state\n * @returns {[Object, Function]} State object reference and update function\n */\nexport function createState(initialState = {}) {\n const state = { ...initialState };\n return [state, partial(Object.assign, state)];\n}\n\n/**\n * Retrieves data by tag from an array of [data, tags] tuples.\n * Falls back to 'default' tag if the requested tag is not found or is not a string.\n * If tag contains a dot (e.g., 'medium.3'), will fall back to the main tag (e.g., 'medium').\n *\n * @param {Array<[any, string[]]>} data - Array of tuples containing [data, tags]\n * @param {*} tag - The tag to search for (typically a string, but accepts any type)\n * @returns {*} The data associated with the tag, or empty string if not found\n */\nexport function getDataByTag(data, tag) {\n if (typeof tag !== 'string') {\n const defaultData = data.find(([, tags]) => tags.includes('default'));\n return defaultData?.[0] ?? '';\n }\n let selected = data.find(([, tags]) => tags.includes(tag));\n if (selected) {\n return selected[0];\n }\n\n if (tag.includes('.')) {\n const [fallbackTag] = tag.split('.', 1);\n selected = data.find(([, tags]) => tags.includes(fallbackTag));\n if (selected) {\n return selected[0];\n }\n }\n\n selected = data.find(([, tags]) => tags.includes('default'));\n if (selected) {\n return selected[0];\n }\n\n return '';\n}\n\nexport function request(method, url, { data, headers, withCredentials } = {}) {\n return new ZalgoPromise((resolve, reject) => {\n const xhttp = new XMLHttpRequest();\n\n if (withCredentials) {\n // Necessary to send cookies with cross-origin requests\n xhttp.withCredentials = true;\n }\n\n // eslint-disable-next-line unicorn/prefer-add-event-listener\n xhttp.onreadystatechange = () => {\n if (xhttp.readyState === 4) {\n const responseHeaders = xhttp\n .getAllResponseHeaders()\n .trim() // Remove trailing newline characters\n .split('\\n')\n .reduce((accumulator, header) => {\n const [key, val] = header.trim().split(': ');\n return {\n ...accumulator,\n // IE11 uses capitalized header names\n [key.toLowerCase()]: val\n };\n }, {});\n\n switch (xhttp.status) {\n case 200:\n resolve({\n headers: responseHeaders,\n data:\n typeof responseHeaders['content-type'] === 'string' &&\n responseHeaders['content-type'].includes('application/json')\n ? JSON.parse(xhttp.responseText)\n : xhttp.responseText\n });\n break;\n case 204:\n resolve({ headers: responseHeaders });\n break;\n default:\n reject(new Error('Request failed'));\n }\n }\n };\n\n xhttp.open(method, url, true);\n\n if (headers) {\n Object.entries(headers).forEach(([header, value]) => {\n xhttp.setRequestHeader(header, value);\n });\n }\n\n xhttp.send(typeof data === 'object' ? JSON.stringify(data) : data);\n });\n}\nexport function createEvent(name) {\n if (typeof Event === 'function') {\n return new Event(name);\n }\n\n // IE11 support\n const event = document.createEvent('Event');\n event.initEvent(name, true, true);\n\n return event;\n}\n\nexport const dynamicImport = memoize(url => {\n return new ZalgoPromise(resolve => {\n const script = document.createElement('script');\n script.src = url;\n script.addEventListener('load', () => {\n document.body.removeChild(script);\n resolve();\n });\n\n if (document.readyState === 'loading') {\n window.addEventListener('DOMContentLoaded', () => document.body.appendChild(script));\n } else {\n document.body.appendChild(script);\n }\n });\n});\n\n// // Date.now() altered on some sites: https://www.hydropool.com\nexport const getCurrentTime = () => new Date().getTime();\n\n// Memoized so that the 2 return functions can be called from different modules\nexport const viewportHijack = memoize(() => {\n const viewport =\n document.querySelector('meta[name=\"viewport\"]') ||\n (<meta name=\"viewport\" content=\"\" />).render(dom({ doc: document }));\n\n // Ensure a viewport exists in the DOM\n if (!viewport.parentNode) {\n document.head.appendChild(viewport);\n }\n\n return [\n // We store state on the DOM elements themselves because we do not want multiple SDK scripts\n // with their own states causing an error preventing elements from being updated as needed\n () => {\n if (viewport.__pp_prev_content__) {\n // Viewport has already been hijacked - do nothing for now\n // This can happen when multiple messages are clicked before the modal loads\n return;\n }\n\n viewport.__pp_prev_content__ = viewport.getAttribute('content') ?? '';\n viewport.setAttribute(\n 'content',\n 'width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui, shrink-to-fit=no'\n );\n\n document.body.__pp_prev_overflow__ = document.body.style.overflow ?? '';\n document.body.__pp_prev_msOverflowStyle__ = document.body.style.msOverflowStyle ?? '';\n document.body.style.setProperty('overflow', 'hidden');\n document.body.style.setProperty('-ms-overflow-style', 'scrollbar');\n },\n () => {\n if (viewport.__pp_prev_content__) {\n viewport.setAttribute('content', viewport.__pp_prev_content__);\n }\n delete viewport.__pp_prev_content__;\n\n document.body.style.setProperty('overflow', document.body.__pp_prev_overflow__);\n document.body.style.setProperty('-ms-overflow-style', document.body.__pp_prev_msOverflowStyle__);\n delete document.body.__pp_prev_overflow__;\n delete document.body.__pp_prev_msOverflowStyle__;\n }\n ];\n});\n\n// https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#improving_scrolling_performance_with_passive_listeners\nexport const getEventListenerPassiveOptionIfSupported = () => {\n let passiveIfSupported = false;\n\n try {\n // Create dummy event listener so that if supported, the object will be crawled\n // for the passive flag telling us that the option is supported in this browser\n window.addEventListener(\n '__test__',\n null,\n Object.defineProperty({}, 'passive', {\n // eslint-disable-next-line getter-return\n get() {\n passiveIfSupported = { passive: true };\n }\n })\n );\n } catch (err) {} // eslint-disable-line no-empty\n\n return passiveIfSupported;\n};\n\nexport function getStandardProductOffer(offer) {\n if (typeof offer === 'undefined') {\n return 'NONE';\n }\n\n switch (offer.toUpperCase()) {\n // TODO: Cleanup once content is updated\n case 'LT_NQEZ':\n case 'LT_NQGZ':\n case 'LT_MQEZ':\n case 'LT_MQEZ_RB':\n case 'LT_MQGZ':\n case 'LT_MQGZ:3MEZ':\n case 'PLLT_MQ_GZ:PLLT_SQ_EZ':\n case 'LT_SQEZ':\n case 'LT_SQEZ_RB':\n case 'LT_SQGZ':\n case 'GPL:EQZ':\n case 'GPL:GTZ':\n case 'GPLQ:EQZ':\n case 'GPLQ:GTZ':\n case 'GPL:EQZ:NON-DE':\n case 'GPL:GTZ:NON-DE':\n case 'GPLQ:EQZ:NON-DE':\n case 'GPLQ:GTZ:NON-DE':\n case 'GPL:EQZ:NON-AT':\n case 'GPL:GTZ:NON-AT':\n case 'GPLQ:EQZ:NON-AT':\n case 'GPLQ:GTZ:NON-AT':\n case 'PLLT_NQ_EZ_XB':\n case 'PLLT_NQ_GZ_XB':\n case 'PLLT_MQ_EZ_XB':\n case 'PLLT_MQ_GZ_XB':\n case 'PLLT_NQ_EZ':\n case 'PLLT_NQ_GZ':\n case 'PLLT_MQ_EZ':\n case 'PLLT_MQ_GZ':\n case 'PLLT_MQ_GZ:3MEZ':\n case 'PLLT_SQ_EZ':\n case 'PLLT_SQ_GZ':\n case 'PLLT_MQ_EZ_RB':\n case 'PLLT_SQ_EZ_RB':\n case OFFER.PAY_LATER_LONG_TERM:\n return OFFER.PAY_LATER_LONG_TERM;\n // TODO: Cleanup once content is updated\n case 'GPL':\n case 'GPLQ':\n case 'GPLNQ':\n case 'GPLNQ_RANGE':\n case 'PL':\n case 'PLQ':\n case 'ST_SQ':\n case 'ST_NQ':\n case 'SHORT_TERM:Q':\n case 'SHORT_TERM:NQ':\n case 'SHORT_TERM:NO_AMOUNT':\n case 'PLST_NQ':\n case 'PLST_SQ':\n case OFFER.PAY_LATER_SHORT_TERM:\n return OFFER.PAY_LATER_SHORT_TERM;\n // TODO: Cleanup once content is updated\n case 'PI30':\n case 'PI30Q':\n case 'PI30NQ':\n case 'PI30:NON-DE':\n case 'PI30Q:NON-DE':\n case 'PI30NQ:NON-DE':\n case 'PI30:NON-AT':\n case 'PI30Q:NON-AT':\n case 'PI30NQ:NON-AT':\n case 'PLP1_NA_XB':\n case 'PLP1_NA':\n case 'PLP1_NQ_XB':\n case 'PLP1_NQ':\n case 'PLP1_SQ_XB':\n case 'PLP1_SQ':\n case OFFER.PAY_LATER_PAY_IN_1:\n return OFFER.PAY_LATER_PAY_IN_1;\n // TODO: Cleanup once content is updated\n case 'NI':\n case 'NI:NON-US':\n case 'NIQ':\n case 'NIQ:NON-US':\n case 'PPCNI_NQ':\n case 'PPCNI_NQ_XB':\n case 'PPCNI_SQ':\n case 'PPCNI_SQ_XB':\n case OFFER.PAYPAL_CREDIT_NO_INTEREST:\n return OFFER.PAYPAL_CREDIT_NO_INTEREST;\n case OFFER.PAY_LATER:\n return OFFER.PAY_LATER;\n case OFFER.REWARDS:\n return OFFER.REWARDS;\n default:\n return undefined;\n }\n}\n\n/**\n * Get value of cookie name\n * @param name - name of cookie\n * @returns object of cookie value(s)\n */\nexport function getCookieByName(name) {\n const cookieVal = decodeURIComponent(\n // decode the cookie value\n // get all cookies\n document.cookie\n .split('; ')\n // separate the string into an array of cookies\n // find the cookie by name\n .find(cookieStr => cookieStr.startsWith(`${name}=`))\n ?.slice(5) ?? ''\n // use only the value of the cookie\n );\n\n // use URLSearchParams to parse the value string into entries,\n // and create an object from those entries\n // disable ESLint rule since we do not support IE anymore\n // eslint-disable-next-line compat/compat\n return Object.keys(cookieVal).length === 0 ? null : Object.fromEntries(new URLSearchParams(cookieVal).entries());\n // check length of cookieVal obj to make sure keys exist.\n}\n\n// get the ts cookie from local storage\nexport function getTsCookieFromStorage() {\n return getStorage().getState(storage => storage?.ts) ?? getCookieByName('ts_c');\n}\n","/* eslint-disable eslint-comments/disable-enable-pair, no-else-return */\nimport { getStorage as getBelterStorage } from '@krakenjs/belter/src';\nimport { SDK_QUERY_KEYS, SDK_SETTINGS } from '@paypal/sdk-constants/src';\nimport {\n getClientID,\n getMerchantID,\n getSDKScript,\n getEnv as getSDKEnv,\n getFundingEligibility,\n getSDKMeta,\n getSDKAttributes,\n getSDKQueryParam,\n getCSPNonce,\n getNamespace as getSDKNamespace,\n getDefaultNamespace as getDefaultSDKNamespace,\n getPayPalSessionID as getSDKGlobalSessionID,\n getSessionID as getSDKSessionID,\n getStorageID as getSDKStorageID,\n getStorageState as getSDKStorageState,\n getPayPalDomain as getSDKPayPalDomain,\n getDisableSetCookie as getSDKDisableCookie,\n getPageType as getSDKPageType\n} from '@paypal/sdk-client/src';\nimport { TAG } from './constants';\n\nexport function getDisableSetCookie() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKDisableCookie();\n } else {\n return true;\n }\n}\n\nexport function getNativeModal() {\n if (typeof __MESSAGES__.__NATIVE_MODAL__ !== 'undefined') {\n return __MESSAGES__.__NATIVE_MODAL__;\n }\n\n return false;\n}\n\n// SDK helper functions with standalone build polyfills\nexport function getEnv() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKEnv();\n } else {\n return __ENV__;\n }\n}\n\nexport function getMerchantConfig() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n // TODO: remove getFundingEligibility call and try catch after globals swap\n try {\n const hash = __MESSAGING_GLOBALS__?.merchantProfile?.hash;\n return hash || undefined;\n } catch {\n const hash = getFundingEligibility()?.paylater?.merchantConfigHash;\n return hash || undefined;\n }\n } else {\n return undefined;\n }\n}\n\nexport function getAccount() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n // TODO: Should we pass both up if they exist so that nodeweb can create a partner context?\n return getMerchantID().join(',') || `client-id:${getClientID()}`;\n } else {\n return undefined;\n }\n}\n\nexport function getClientId() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getClientID();\n } else {\n return undefined;\n }\n}\n\nexport function getPageType() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKPageType();\n } else {\n return undefined;\n }\n}\nexport function getNonce() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getCSPNonce();\n } else {\n return undefined;\n }\n}\n\n// Partner accounts should always integrate using client id so no need to prefix it with 'client-id:'\nexport function getPartnerAccount() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getMerchantID()[0] && `client-id:${getClientID()}`;\n } else {\n return undefined;\n }\n}\n\nconst { currentScript } = typeof document !== 'undefined' ? document : {};\nexport function getScript() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKScript();\n } else {\n return (\n currentScript ||\n document.querySelector('script[src$=\"messaging.js\"]') ||\n document.querySelector('script[src$=\"merchant.js\"]')\n );\n }\n}\n\nexport function getCurrency() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n // Returns 'currency' query param without default to USD\n return getSDKQueryParam(SDK_QUERY_KEYS.CURRENCY);\n } else {\n return undefined;\n }\n}\n\nexport function getMeta() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKMeta();\n } else {\n return undefined;\n }\n}\n\nexport function getScriptAttributes() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKAttributes();\n } else {\n return {};\n }\n}\n\nexport function getDefaultNamespace() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getDefaultSDKNamespace();\n } else {\n return 'paypal';\n }\n}\n\nexport function getNamespace() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKNamespace();\n } else {\n return getScript()?.getAttribute('data-pp-namespace') || getDefaultNamespace();\n }\n}\n\nexport function getLibraryVersion() {\n return __MESSAGES__.__VERSION__;\n}\n\nexport function isZoidComponent() {\n // Merchants may use `zoid` to place our components inside an IFrame\n // so we ensure that we check for the tags of our components\n return Object.values(TAG).some(tag => window.name.startsWith(`__zoid__${tag.replace(/-/g, '_')}`));\n}\n\nexport function getStorage() {\n return getBelterStorage({ name: getNamespace() });\n}\n\n// Uses SDK methods to get a global session ID\n// value will be passed in message_render events\n// and used to correlate with button events\nexport function getGlobalSessionID() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKGlobalSessionID();\n } else {\n return getStorage().getSessionID();\n }\n}\n\n// Use SDK methods when available, otherwise manually fetch storage via belter\n// see: https://github.com/paypal/paypal-sdk-client/blob/master/src/session.js\nexport function getSessionID() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKSessionID();\n } else {\n return getStorage().getSessionID();\n }\n}\n\n// Retrieves storageID. NOTE: Creates new ID if not already in local storage.\nexport function getOrCreateDeviceID() {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKStorageID();\n } else {\n return getStorage().getID();\n }\n}\n\nexport function updateStorage(values) {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKStorageState(storage => Object.assign(storage, values));\n } else {\n return getStorage().getState(storage => Object.assign(storage, values));\n }\n}\n\n// Check if the current script is in the process of being destroyed since\n// the MutationObservers can fire before the SDK destroy lifecycle hook\nexport const isScriptBeingDestroyed = () => {\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n const currentSdkScript = getScript();\n // URL API not supported in IE11, but anchor tags have parsed href properties\n const location = document.createElement('a');\n location.href = currentSdkScript.src;\n\n // Ensure that there are currently no other SDK scripts that might be in the process of destroying this script\n return Array.from(document.querySelectorAll(`script[src*=\"${location.host}/sdk/js\"]`)).some(\n script =>\n script !== currentSdkScript &&\n script.getAttribute(SDK_SETTINGS.NAMESPACE) === currentSdkScript.getAttribute(SDK_SETTINGS.NAMESPACE)\n );\n } else {\n return false;\n }\n};\n\nexport function getPayPalDomain() {\n if (getEnv() !== 'production' && getEnv() !== 'sandbox') {\n const testEnviroment = window.__TEST_ENV__ ?? __MESSAGES__.__TEST_ENV__;\n\n if (testEnviroment) {\n return testEnviroment;\n }\n\n // eslint-disable-next-line security/detect-unsafe-regex\n if (window.location.origin.match(/\\.paypal\\.com(:\\d+)?$/)) {\n return window.location.origin;\n }\n }\n\n if (__MESSAGES__.__TARGET__ === 'SDK') {\n return getSDKPayPalDomain();\n } else {\n const domain = __MESSAGES__.__DOMAIN__[`__${getEnv().toUpperCase()}__`];\n\n if (domain) {\n return domain;\n }\n\n throw new Error('Missing PayPal Domain');\n }\n}\n\nexport function getStageTag() {\n if (__MESSAGES__.__STAGE_TAG__) {\n if (__MESSAGES__.__STAGE_TAG__ === 'local') {\n return window.location.origin;\n } else {\n return __MESSAGES__.__STAGE_TAG__;\n }\n } else {\n return undefined;\n }\n}\nexport function getDevTouchpoint() {\n const devTouchpoint = window.__DEV_TOUCHPOINT__ ?? __MESSAGES__.__DEV_TOUCHPOINT__;\n if (devTouchpoint && getEnv() !== 'production' && getEnv() !== 'sandbox') {\n return true;\n } else {\n return undefined; // Prevent the zoid query param\n }\n}\n\n// Combine static features and input features into single string\nexport function getFeatures(featureProps) {\n const staticFeatures = [];\n\n if (getNativeModal()) {\n staticFeatures.push('native-modal');\n }\n\n let newFeatures = featureProps || '';\n if (staticFeatures.length > 0) {\n newFeatures += newFeatures ? `,${staticFeatures.join(',')}` : staticFeatures.join(',');\n }\n\n return featureProps === undefined && newFeatures === '' ? undefined : newFeatures;\n}\n\n// open mini-browser with message lander url\nexport function getURIPopup(lander, label) {\n try {\n // eslint-disable-next-line compat/compat\n const parsed = new URL(lander);\n const isHttp = parsed.protocol === 'https:';\n const isPayPalDomain = /\\.paypal\\.com$/i.test(parsed.hostname);\n\n if (isHttp && isPayPalDomain) {\n return window.open(lander, label, 'width=460,height=900');\n } else {\n return null;\n }\n } catch (e) {\n return null;\n }\n}\n","// Media queries and commonly used style functions for DE GPL.\n\n/**\n * Add period after formatted min amount and formatted max amount.\n */\nexport function addPeriod() {\n return `.message__headline > .tag--medium > span > span:nth-child(2)::after {\n content: '.'\n }`;\n}\n\n/**\n * Stop wrapping past a certain point on xsmall tag.\n */\nexport function xSmallNoWrap(breakpoint) {\n return `@media screen and (max-width: ${breakpoint}px) {.locale--DE .message__headline .tag--xsmall > span:first-child {white-space: nowrap;}}`;\n}\n\n/**\n * Adds the word \"Ratenzahlung\" after logo type none 9.99% DE GPL fallback messages\n */\nexport function logoNoneAddRatenzahlungAfterPayPal(breakpoint, elementChild = 3) {\n return `@media screen and (max-width: ${breakpoint}px) {\n .message__headline > span:nth-child(${elementChild}) > strong {\n display:none;\n }\n .message__headline > span:nth-child(${elementChild}) > .pp-text-logo::before {\n content: ' PayPal';\n font-weight: bold;\n }\n .message__headline > span:nth-child(${elementChild})::after {\n content: ' Ratenzahlung.';\n font-weight: normal;\n }\n }`;\n}\n\n/**\n * Adds the word \"Ratenzahlung\" after logo type inline 9.99% DE GPL fallback messages\n */\nexport function logoInlineAddRatenzahlungAfterPayPal(breakpoint) {\n return `\n @media screen and (max-width: ${breakpoint}px) {\n .message__logo-container::after {\n content: ' Ratenzahlung.';\n }\n }`;\n}\n\n// The media queries below are related to DE GPL cross-border (XB) text messages.\n\n/**\n * This function combines 3 commonly used media queries across all XB DE messages for logos primary and alternative.\n * crossBorderDisclaimerWrap controls the points in which the \"Mehr erfahren\" drops to a new line independently from \"Nur mit dt. PayPal Konto.\"\n * and when it shoudl rejoin it on the same line.\n */\nexport function crossBorderDisclaimerWrap(breakpointOne, breakpointTwo, breakpointThree, breakpointFour) {\n return `\n @media screen and (min-width: ${breakpointOne}px) and (max-width: ${breakpointTwo}px) { \n .message__messaging > .message__disclaimer > .tag--default::before { \n content: ''; display: block; \n }\n }\n @media screen and (max-width: ${breakpointThree}px) { \n .message__messaging > .message__disclaimer > .tag--default::before { \n content: ''; display: block; \n }\n }\n @media screen and (max-width: ${breakpointFour}px) { \n .locale--DE .message__messaging { \n display: inline-block; \n } \n }`;\n}\n\n// Controls logo type none wrapping for the XB DE message headlines.\nexport function crossBorderLogoNoneWrap(breakpoint) {\n return `\n @media screen and (max-width: ${breakpoint}px) {\n .message__headline > span:last-child {\n white-space: nowrap; \n }\n }`;\n}\n","import Logo from '../../../../message/logos';\nimport { xSmallFallback, textWrap, messageLogoWidth, altNoWrap, setLogoTop } from '../../../../message/mediaQueries';\nimport { xSmallNoWrap } from './mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['Ratenzahlung']\n },\n {\n sizes: ['medium'],\n breaks: ['Sie in', 'Einkäufen']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4.5vw;\n }\n }`,\n `@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\n .message__headline {\n font-size: 4.5vw;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 55, textSize, 'DE'),\n xSmallFallback(textSize * 15),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 14.2),\n `.message__headline > .tag--medium > span > span:last-child::after {content: '.'}`,\n `@media screen and \n (min-width: ${textSize * 23.8}px),\n (max-width: ${textSize * 21.8}px) {\n .message__headline > .tag--medium > span > span.br:last-child {white-space: normal;}\n }`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['Sie']\n },\n { tag: 'xsmall', br: ['verfügbar.'] }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 15),\n setLogoTop(textSize * 53),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n xSmallNoWrap(textSize * 13.8),\n `@media screen and \n (max-width: ${textSize * 18.67}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ],\n headline: [{ tag: 'medium', br: ['Sie', 'Raten'] }, { tag: 'xsmall' }]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14.8),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n xSmallNoWrap(textSize * 13.8),\n `@media screen and \n (max-width: ${textSize * 18.67}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ],\n headline: [{ tag: 'medium', br: ['Sie', 'Raten'] }, { tag: 'xsmall' }]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 15.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 55, textSize, 'DE'),\n xSmallFallback(textSize * 15.5),\n altNoWrap(textSize * 15.5),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline > .tag--medium > span > span:last-child::after {content: '.'}`,\n `.locale--DE .message__messaging .tag--medium span.br:last-child {white-space:normal;}`,\n xSmallNoWrap(textSize * 15.5),\n `@media screen and (max-width: ${\n textSize * 12.5\n }px) { .locale--DE .message__messaging { white-space: nowrap;}}`\n ],\n headline: [\n { tag: 'medium', br: ['Sie', 'Raten'] },\n { tag: 'xsmall', br: ['Ratenzahlung'] }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n xSmallNoWrap(textSize * 16),\n `.locale--DE .message__messaging .tag--medium span.br {white-space:normal;}`,\n `.locale--DE .message__messaging .tag--medium span.br:nth-child(2) {white-space:nowrap;}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['Sie', 'Raten']\n },\n {\n tag: 'xsmall',\n replace: [['verfügbar.', 'verfügbar']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n xSmallNoWrap(textSize * 13.8),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`,\n `.locale--DE .message__messaging .tag--medium span.br {white-space:normal;}`,\n `.locale--DE .message__messaging .tag--medium span.br:nth-child(2) {white-space:nowrap;}`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['Sie', 'Raten']\n },\n {\n tag: 'xsmall',\n replace: [['verfügbar.', 'verfügbar']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport {\n addPeriod,\n logoNoneAddRatenzahlungAfterPayPal,\n logoInlineAddRatenzahlungAfterPayPal,\n xSmallNoWrap\n} from './mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['mit']\n },\n {\n sizes: ['medium'],\n breaks: ['monatlichen']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [\n addPeriod(),\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4.5vw;\n }\n }`,\n `@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\n .message__headline {\n font-size: 4.5vw;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 55, textSize, 'DE'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n addPeriod(),\n xSmallFallback(textSize * 16.5),\n xSmallNoWrap(textSize * 16.5),\n primaryWrap(textSize * 15.4)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['Einkäufen']\n },\n { tag: 'xsmall', br: ['mit'] }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 20),\n setLogoTop(textSize * 48),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n xSmallFallback(textSize * 20)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 14\n }px) { .message__headline > .tag--xsmall > span:first-child { white-space: normal;}}`,\n textWrap(textSize * 55, textSize, 'DE'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod(),\n xSmallFallback(textSize * 14)\n ],\n headline: [{ tag: 'medium', br: ['Einkäufen'] }, { tag: 'xsmall' }],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 15.6),\n logoNoneAddRatenzahlungAfterPayPal(textSize * 15.6),\n `@media screen and (max-width: ${\n textSize * 14\n }px) {.message__headline > span:last-child {white-space: nowrap; }}`\n ],\n logo: false,\n headline: [\n { tag: 'medium' },\n {\n tag: 'xsmall',\n br: ['monatlichen'],\n replace: [['mit Ratenzahlung.', '']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n logoInlineAddRatenzahlungAfterPayPal(textSize * 18),\n xSmallFallback(textSize * 18),\n `@media screen and (min-width: ${textSize * 18.08}px) {\n .message__logo-container::after {\n content: '.';\n }\n }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['monatlichen'],\n replace: [['Raten.', 'Raten']]\n },\n {\n tag: 'xsmall',\n br: ['monatlichen'],\n replace: [['mit Ratenzahlung.', '']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport { xSmallFallback, textWrap, messageLogoWidth, altNoWrap, setLogoTop } from '../../../../message/mediaQueries';\nimport { xSmallNoWrap } from './mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['Ratenzahlung']\n },\n {\n sizes: ['medium'],\n breaks: ['Jahreszins: ab']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks],\n styles: [\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4.5vw;\n }\n }`,\n `@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\n .message__headline {\n font-size: 4.5vw;\n }\n }`\n ]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 38, textSize, 'DE'),\n xSmallFallback(textSize * 14.5),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 14.5)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['ab']\n },\n { tag: 'xsmall', br: ['verfügbar.'] }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 13.6),\n setLogoTop(textSize * 35),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 13.6)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 12.9),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 12.9)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 15.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'DE'),\n xSmallFallback(textSize * 12.5),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `@media screen and (max-width: ${\n textSize * 12.5\n }px) { .locale--DE .message__messaging { white-space: nowrap;}}`\n ],\n headline: [\n { tag: 'medium', br: ['ab'] },\n { tag: 'xsmall', br: ['Ratenzahlung'] }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 16), xSmallNoWrap(textSize * 16)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['pro'],\n replace: [['Monat.', 'Monat']]\n },\n {\n tag: 'xsmall',\n br: ['Ratenzahlung'],\n replace: [['verfügbar.', 'verfügbar']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n xSmallNoWrap(textSize * 13.8),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after {\n content: '.';\n }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['pro'],\n replace: [['Monat.', 'Monat']]\n },\n {\n tag: 'xsmall',\n br: ['Ratenzahlung'],\n replace: [['verfügbar.', 'verfügbar']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport { logoNoneAddRatenzahlungAfterPayPal, logoInlineAddRatenzahlungAfterPayPal, xSmallNoWrap } from './mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['mit']\n },\n {\n sizes: ['medium'],\n breaks: ['monatlichen']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks],\n styles: [\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4.5vw;\n }\n }`,\n `@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\n .message__headline {\n font-size: 4.5vw;\n }\n }`\n ]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 38, textSize, 'DE'),\n xSmallFallback(textSize * 15.4),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 12.5),\n primaryWrap(textSize * 15.4)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['monatlichen']\n },\n { tag: 'xsmall', br: ['mit'] }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10.25),\n setLogoTop(textSize * 32),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10.25),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 11.6\n }px) { .message__headline > .tag--xsmall > span:first-child { white-space: normal;}}`,\n textWrap(textSize * 32, textSize, 'DE'),\n xSmallFallback(textSize * 11.6),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n headline: [\n { tag: 'medium', br: ['monatlichen'] },\n { tag: 'xsmall', br: ['mit'] }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n logoNoneAddRatenzahlungAfterPayPal(textSize * 16),\n `@media screen and (max-width: ${\n textSize * 16\n }px) {.message__headline > span:last-child {white-space: nowrap; }}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['Einkäufen'],\n replace: [['Raten.', 'Raten']]\n },\n {\n tag: 'xsmall',\n br: ['monatlichen'],\n replace: [['mit Ratenzahlung.', '']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16.5),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after {\n content: '.';\n }`,\n logoInlineAddRatenzahlungAfterPayPal(textSize * 16.5)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['monatlichen'],\n replace: [['Raten.', 'Raten']]\n },\n {\n tag: 'xsmall',\n br: ['monatlichen'],\n replace: [['mit Ratenzahlung.', '']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport { xSmallFallback, textWrap, messageLogoWidth, altNoWrap, setLogoTop } from '../../../../message/mediaQueries';\nimport { xSmallNoWrap, crossBorderDisclaimerWrap } from './mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['Ratenzahlung']\n },\n {\n sizes: ['medium'],\n breaks: ['Sie in', 'Einkäufen']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['extra', 'default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n `@media (min-aspect-ratio: 200/11) {\n .message__headline {\n font-size: 1.7vw;\n }\n }`,\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4vw;\n }\n }`,\n `@media (min-aspect-ratio: 200 / 11) and (max-width: 650px) {\n .message__disclaimer > .tag--extra > span {\n margin-right: 2px;\n }\n .message__promo-container {\n padding-right: 0px;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4vw;\n }\n }`,\n `@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\n .message__headline {\n font-size: 4vw;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [\n `.message__headline {\n font-size: 7vw;\n }`,\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n `@media (max-aspect-ratio: 11/10) and (max-width: 220px) {\n .message__headline {\n font-size: 8vw;\n }\n .message__disclaimer {\n font-size: 0.65rem;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n `.message__disclaimer {\n font-size: 0.8rem;\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 62, textSize, 'DE'),\n crossBorderDisclaimerWrap(textSize * 27 + 1, textSize * 33, textSize * 21.1, textSize * 15),\n xSmallFallback(textSize * 15),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 14.2),\n `.message__headline > .tag--medium > span > span:last-child::after {content: '.'}`,\n `@media screen and \n (min-width: ${textSize * 23.8}px),\n (max-width: ${textSize * 21.8}px) {\n .message__headline > .tag--medium > span > span.br:last-child {white-space: normal;}\n }`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['Sie']\n },\n { tag: 'xsmall', br: ['verfügbar.'] }\n ],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 26.4, textSize * 28.45, textSize * 21.1, textSize * 19),\n xSmallFallback(textSize * 19),\n setLogoTop(textSize * 61.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n xSmallNoWrap(textSize * 19),\n `@media screen and \n (max-width: ${textSize * 18.67}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ],\n headline: [{ tag: 'medium', br: ['Sie', 'Raten'] }, { tag: 'xsmall' }]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 27, textSize * 30.3, textSize * 21.1, textSize * 15),\n xSmallFallback(textSize * 19.08),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n xSmallNoWrap(textSize * 19.08),\n `@media screen and \n (max-width: ${textSize * 18.67}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ],\n headline: [{ tag: 'medium', br: ['Sie', 'Raten'] }, { tag: 'xsmall' }]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 27, textSize * 30.3, textSize * 21.75, textSize * 15),\n `@media screen and (max-width: ${textSize * 15.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 57.2, textSize, 'DE'),\n xSmallFallback(textSize * 15.5),\n altNoWrap(textSize * 15.5),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline > .tag--medium > span > span:last-child::after {content: '.'}`,\n `.locale--DE .message__messaging .tag--medium span.br:last-child {white-space:normal;}`,\n xSmallNoWrap(textSize * 15.5)\n ],\n headline: [{ tag: 'medium', br: ['Sie', 'Raten'] }, { tag: 'xsmall' }],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n xSmallNoWrap(textSize * 16),\n `.locale--DE .message__messaging .tag--medium span.br {white-space:normal;}`,\n `.locale--DE .message__messaging .tag--medium span.br:nth-child(2) {white-space:nowrap;}`,\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['Sie', 'Raten']\n },\n {\n tag: 'xsmall',\n replace: [['verfügbar.', 'verfügbar']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n xSmallNoWrap(textSize * 13.8),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`,\n `.locale--DE .message__messaging .tag--medium span.br {white-space:normal;}`,\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['Sie', 'Raten']\n },\n {\n tag: 'xsmall',\n replace: [['verfügbar.', 'verfügbar']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport {\n addPeriod,\n logoNoneAddRatenzahlungAfterPayPal,\n logoInlineAddRatenzahlungAfterPayPal,\n xSmallNoWrap,\n crossBorderDisclaimerWrap,\n crossBorderLogoNoneWrap\n} from './mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['mit']\n },\n {\n sizes: ['medium'],\n breaks: ['monatlichen']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['extra', 'default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n addPeriod(),\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4vw;\n }\n }`,\n `@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\n .message__headline span.tag--xsmall {\n font-size: 3.5vw;\n }\n }`,\n `@media (min-aspect-ratio: 200 / 11) and (max-width: 650px) {\n .message__disclaimer > .tag--extra > span {\n margin-right: 2px;\n }\n .message__promo-container {\n padding-right: 0px;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [\n addPeriod(),\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4vw;\n }\n }`,\n `@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\n .message__headline {\n font-size: 3.5vw;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [\n addPeriod(),\n `.message__headline {\n font-size: 7vw;\n }`,\n `.message__headline > .tag--medium > span > span:last-child::after {\n content: '.'\n }`,\n `@media (max-aspect-ratio: 11/10) and (max-width: 220px) {\n .message__headline {\n font-size: 8vw;\n }\n .message__disclaimer {\n font-size: 0.65rem;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [\n addPeriod(),\n `.message__disclaimer {\n font-size: 0.8rem;\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 58.5, textSize, 'DE'),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n addPeriod(),\n xSmallFallback(textSize * 16.5),\n xSmallNoWrap(textSize * 16.5),\n primaryWrap(textSize * 15.4)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['Einkäufen']\n },\n { tag: 'xsmall', br: ['mit'] }\n ],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.2, textSize * 21.4, textSize * 15),\n xSmallFallback(textSize * 19.08),\n setLogoTop(textSize * 59.2),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 25.2, textSize * 29, textSize * 20.5, textSize * 15),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n xSmallFallback(textSize * 19)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 25.5, textSize * 29, textSize * 20.5, textSize * 15),\n `@media screen and (max-width: ${\n textSize * 14\n }px) { .message__headline > .tag--xsmall > span:first-child { white-space: normal;}}`,\n textWrap(textSize * 55, textSize, 'DE'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod(),\n xSmallFallback(textSize * 14)\n ],\n headline: [{ tag: 'medium', br: ['Einkäufen'] }, { tag: 'xsmall' }],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 15.6),\n logoNoneAddRatenzahlungAfterPayPal(textSize * 15.6),\n crossBorderLogoNoneWrap(textSize * 14),\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`\n ],\n logo: false,\n headline: [\n { tag: 'medium' },\n {\n tag: 'xsmall',\n br: ['monatlichen'],\n replace: [['mit Ratenzahlung.', '']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n logoInlineAddRatenzahlungAfterPayPal(textSize * 18),\n xSmallFallback(textSize * 18),\n `@media screen and (min-width: ${textSize * 18.08}px) {\n .message__logo-container::after {\n content: '.';\n }\n }`,\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`,\n `.message__messaging span.br { white-space: normal;}`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['monatlichen'],\n replace: [['Raten.', 'Raten']]\n },\n {\n tag: 'xsmall',\n br: ['monatlichen'],\n replace: [['mit Ratenzahlung.', '']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport { xSmallFallback, textWrap, messageLogoWidth, altNoWrap, setLogoTop } from '../../../../message/mediaQueries';\nimport { crossBorderDisclaimerWrap, xSmallNoWrap } from './mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['Ratenzahlung']\n },\n {\n sizes: ['medium'],\n breaks: ['Jahreszins: ab']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['extra', 'default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n `@media (min-aspect-ratio: 200/11) {\n .message__headline {\n font-size: 2vw;\n }\n }`,\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4vw;\n }\n }`,\n `@media (min-aspect-ratio: 200 / 11) and (max-width: 650px) {\n .message__disclaimer > .tag--extra > span {\n margin-right: 2px;\n }\n .message__promo-container {\n padding-right: 0px;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4vw;\n }\n }`,\n `@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\n .message__headline {\n font-size: 4vw;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [\n `@media (max-aspect-ratio: 11/10) and (max-width: 220px) {\n .message__headline {\n font-size: 8vw;\n }\n .message__disclaimer {\n font-size: 0.65rem;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [\n `.message__disclaimer {\n font-size: 0.8rem;\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 42.6, textSize, 'DE'),\n // Wrapping of mehr erfahren separate from PayPal Konto.\n `@media screen and (max-width: ${\n textSize * 19.5\n }px) { .message__messaging > .message__disclaimer > .tag--default { content: ''; display: block; }}`,\n `@media screen and (max-width: ${\n textSize * 19.45\n }px) { .locale--DE .message__messaging { display: inline-block; } }`,\n xSmallFallback(textSize * 13.8),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 13.8)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['ab']\n },\n { tag: 'xsmall', br: ['verfügbar.'] }\n ],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 32.2, textSize * 39, textSize * 20.5, textSize * 19.45),\n xSmallFallback(textSize * 17.08),\n setLogoTop(textSize * 45.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 17.08)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n // Prevent wrapping of amount\n `@media screen and (max-width: ${\n textSize * 17.25\n }px) { .locale--DE .message__headline > .tag--medium > span > span { white-space: nowrap; }}`,\n crossBorderDisclaimerWrap(textSize * 32.2, textSize * 39, textSize * 20.5, textSize * 19.45),\n xSmallFallback(textSize * 13.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 13.5)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 15}px) { .message__content { white-space: nowrap; }}`,\n crossBorderDisclaimerWrap(textSize * 33.2, textSize * 40.75, textSize * 19.6, textSize * 15),\n textWrap(textSize * 41, textSize, 'DE'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n xSmallFallback(textSize * 15)\n ],\n headline: [{ tag: 'medium', br: ['ab'] }, { tag: 'xsmall' }],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n xSmallNoWrap(textSize * 16),\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['pro'],\n replace: [['Monat.', 'Monat']]\n },\n {\n tag: 'xsmall',\n br: ['Ratenzahlung'],\n replace: [['verfügbar.', 'verfügbar']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n xSmallNoWrap(textSize * 13.8),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after {\n content: '.';\n }`,\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['pro'],\n replace: [['Monat.', 'Monat']]\n },\n {\n tag: 'xsmall',\n br: ['Ratenzahlung'],\n replace: [['verfügbar.', 'verfügbar']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport {\n logoNoneAddRatenzahlungAfterPayPal,\n logoInlineAddRatenzahlungAfterPayPal,\n xSmallNoWrap,\n crossBorderDisclaimerWrap,\n crossBorderLogoNoneWrap\n} from './mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['mit']\n },\n {\n sizes: ['medium'],\n breaks: ['monatlichen']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['extra', 'default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n `@media (min-aspect-ratio: 200/11) {\n .message__headline {\n font-size: 1.7vw;\n }\n }`,\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 3.5vw;\n }\n }`,\n `@media (min-aspect-ratio: 200 / 11) and (max-width: 650px) {\n .message__disclaimer > .tag--extra > span {\n margin-right: 2px;\n }\n .message__promo-container {\n padding-right: 0px;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [\n `@media (min-aspect-ratio: 60 / 11) and (max-width: 374px) {\n .message__headline {\n font-size: 4vw;\n }\n }`,\n `@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\n .locale--DE .message__logo:nth-of-type(1) {\n width: 40%;\n }\n .locale--DE .message__logo:nth-of-type(2) {\n display: none;\n }\n .message__headline {\n font-size: 3.5vw;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [\n `@media (max-aspect-ratio: 11/10) and (max-width: 220px) {\n .message__disclaimer {\n font-size: 0.65rem;\n }\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [\n `.message__disclaimer {\n font-size: 0.8rem;\n }`\n ],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 43.8, textSize, 'DE'),\n crossBorderDisclaimerWrap(textSize * 20.5, textSize * 20, textSize * 18.6, textSize * 22.5),\n xSmallFallback(textSize * 12.4),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 12.5),\n primaryWrap(textSize * 12.4)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['monatlichen']\n },\n { tag: 'xsmall', br: ['mit'] }\n ],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 20.5, textSize * 20, textSize * 18.6, textSize * 22.5),\n xSmallFallback(textSize * 12),\n setLogoTop(textSize * 44),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 31, textSize * 38, textSize * 18.6, textSize * 22.5),\n xSmallFallback(textSize * 12.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 15}px) { .message__content { white-space: nowrap; }}`,\n crossBorderDisclaimerWrap(textSize * 33.2, textSize * 39.42, textSize * 20.2, textSize * 11.6),\n textWrap(textSize * 39.5, textSize, 'DE'),\n xSmallFallback(textSize * 12.25),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n headline: [\n { tag: 'medium', br: ['monatlichen'] },\n { tag: 'xsmall', br: ['mit'] }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n logoNoneAddRatenzahlungAfterPayPal(textSize * 16),\n crossBorderLogoNoneWrap(textSize * 16),\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['Einkäufen'],\n replace: [['Raten.', 'Raten']]\n },\n {\n tag: 'xsmall',\n br: ['monatlichen'],\n replace: [['mit Ratenzahlung.', '']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`,\n xSmallFallback(textSize * 16.5),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after {\n content: '.';\n }`,\n logoInlineAddRatenzahlungAfterPayPal(textSize * 16.5)\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['monatlichen'],\n replace: [['Raten.', 'Raten']]\n },\n {\n tag: 'xsmall',\n br: ['monatlichen'],\n replace: [['mit Ratenzahlung.', '']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallNoWrap,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['kaufen,']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks],\n styles: [`@media (min-aspect-ratio: 60/11) {.message__headline span.tag--xsmall {display: inline}};`]\n }\n ],\n [\n 'ratio:1x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: [...headlineBreaks],\n styles: [`.message__headline .tag--xsmall { display: inline;}`]\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [`@media (min-aspect-ratio: 60/11) {.message__headline span.tag--xsmall {display: inline}};`]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 55, textSize, 'DE'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 7.7),\n primaryWrap(textSize * 12.4)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [{ tag: 'xsmall', br: [','] }],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 28),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 55, textSize, 'DE'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 8),\n altNoWrap(textSize * 15.5)\n ],\n headline: [{ tag: 'xsmall', br: ['später'] }],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n () => ({\n styles: [`margin-top: 0px;`],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallNoWrap,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport { crossBorderDisclaimerWrap, crossBorderLogoNoneWrap } from './mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['kaufen,']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['extra', 'default']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks],\n styles: [`@media (min-aspect-ratio: 60/11) {.message__headline span.tag--xsmall {display: inline}};`]\n }\n ],\n [\n 'ratio:1x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: [...headlineBreaks],\n styles: [`.message__headline .tag--xsmall { display: inline;}`]\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [`@media (min-aspect-ratio: 60/11) {.message__headline span.tag--xsmall {display: inline}};`]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 39, textSize, 'DE'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 7.7),\n primaryWrap(textSize * 12.4),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [{ tag: 'xsmall', br: [','] }],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 39),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15),\n textWrap(textSize * 39, textSize, 'DE'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 8),\n altNoWrap(textSize * 15.5)\n ],\n headline: [{ tag: 'xsmall', br: ['später'] }],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n crossBorderLogoNoneWrap(textSize * 14),\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`,\n `.message__headline .tag--xsmall > span { white-space: nowrap }`,\n `margin-top: 0px;`\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`,\n `.message__disclaimer { white-space: normal; }`,\n `.message__headline .tag--xsmall > span { white-space: nowrap }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import logoInline from './logo--inline.css';\nimport sharedGPLTextStyles from '../../../../common/styles/GPL/text';\n\nexport default [...sharedGPLTextStyles, ['logo.type:inline', logoInline]];\n","export default \".message__logo:last-child {\\n margin-right: 0px;\\n}\\n\\n.weak {\\n display: none;\\n}\\n\\n.message__headline {\\n white-space: normal;\\n}\\n\\n.message__logo-container::before {\\n content: 'mit ';\\n}\\n\";","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n@media (min-aspect-ratio: 60/11) and (max-width: 501px) {\\n .message__headline {\\n font-size: 3.5vw;\\n line-height: 1.1em;\\n display: inline;\\n }\\n .tag--default {\\n font-size: 3.1vw;\\n }\\n .message__messaging {\\n flex: 1 1 100%;\\n }\\n .message__logo-container {\\n display: flex;\\n align-items: center;\\n flex: 1 0 16%;\\n }\\n .message__headline span.tag--xsmall {\\n display: none;\\n }\\n .message__headline span.tag--medium {\\n display: inline;\\n }\\n .message__headline span.weak {\\n margin-left: -4px;\\n }\\n .message__logo:nth-of-type(1) {\\n display: inline;\\n }\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n}\\n@media (min-aspect-ratio: 60/11) and (max-width: 374px) {\\n .message__headline {\\n font-size: 4.5vw;\\n }\\n .message__disclaimer {\\n font-size: 3vw;\\n }\\n .message__headline span.tag--xsmall {\\n display: inline;\\n }\\n .message__headline span.tag--medium {\\n display: none;\\n }\\n .message__content {\\n padding: 0.5rem;\\n }\\n .message__messaging {\\n flex: 1 1 100%;\\n display: block;\\n }\\n}\\n@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\\n .message__logo:nth-of-type(1) {\\n display: inline;\\n margin: 0 4px;\\n width: unset;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n .message__logo-container {\\n width: 35%;\\n max-width: unset;\\n min-width: unset;\\n }\\n}\\n\";","import colorWhite from './color--white.css';\n\nexport default [['color:white', colorWhite]];\n","export default \"/* Shared between AU and DE as their text color for white flex banners differs from other locales */\\n\\n.message__content {\\n color: #009cde;\\n}\\n\\n.message__headline > span:last-child > span:last-child::after {\\n color: #009cde;\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\nimport sharedGPLFlexStyles from '../../../../common/styles/GPL/flex';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')],\n ...sharedGPLFlexStyles\n];\n","export default \".message__logo-container {\\n margin-right: 5px;\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 3.5vw;\\n padding: 0px;\\n}\\n\\n.message__disclaimer {\\n position: static;\\n font-size: 14px;\\n line-height: 20px;\\n letter-spacing: 0em;\\n text-align: left;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: normal;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span > span:only-child,\\n.message__disclaimer > span > span.em {\\n text-decoration: underline;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n margin-left: 5px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n.message__disclaimer > .tag--extra > span:only-child {\\n text-decoration: none;\\n line-height: 1.5;\\n}\\n\\n.message__promo-container {\\n padding-right: 3px;\\n}\\n\";","export default \".message__headline span.multi:nth-of-type(1) {\\n display: none;\\n}\\n.message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n}\\n.message__headline {\\n font-size: 8vw;\\n line-height: 1.33em;\\n}\\n.message__disclaimer {\\n font-size: 0.9rem;\\n line-height: 6.66vw;\\n margin: 6% 0;\\n}\\n.message__headline span:nth-of-type(1) {\\n margin-right: -4px;\\n}\\n.message__logo-container {\\n width: 100%;\\n margin-left: -5px;\\n}\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n@media (max-aspect-ratio: 11/10) and (max-width: 220px) {\\n .message__headline {\\n font-size: 10vw;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(2) {\\n display: none;\\n }\\n}\\n\\n@media (max-aspect-ratio: 11/10) and (max-width: 150px) {\\n .message__headline {\\n font-size: 0.9rem;\\n }\\n .message__disclaimer {\\n font-size: 9.5px;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-left: -5px;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n.message__headline {\\n font-size: 1.1rem;\\n line-height: 1.3em;\\n margin-bottom: 10%;\\n}\\n.message__sub-headline {\\n display: none;\\n}\\n.message__disclaimer {\\n font-size: 0.9rem;\\n}\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.5rem;\\n }\\n}\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n font-size: 3vw;\\n display: inline;\\n line-height: 1.2em;\\n }\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80 / 11) and (min-width: 500px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__disclaimer {\\n font-size: 2vw;\\n display: block;\\n }\\n}\\n@media (min-aspect-ratio: 80 / 11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 50%;\\n }\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n@media (min-aspect-ratio: 80 / 11) and (max-width: 250px) {\\n .message__logo-container {\\n margin: 0 12px;\\n max-width: 6%;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0px;\\n width: unset;\\n }\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n .message__messaging {\\n font-size: 0.6rem;\\n padding: 2px 0;\\n height: 200%;\\n }\\n .message__headline {\\n font-size: 4.5vw;\\n }\\n .message__disclaimer {\\n line-height: 15px;\\n }\\n .tag--default {\\n font-size: 0.7rem;\\n }\\n .message__promo-container {\\n margin-right: 6px;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__headline {\\n font-size: 1.8vw;\\n }\\n .message__disclaimer {\\n font-size: 1.25vw;\\n line-height: 1.43rem;\\n }\\n .message__promo-container {\\n width: unset;\\n }\\n .message__logo {\\n max-width: 128px;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n .message__logo-container {\\n max-width: 15%;\\n }\\n .message__messaging {\\n flex: unset;\\n display: inline;\\n }\\n .message__content {\\n display: flex;\\n justify-content: center;\\n }\\n .message__sub-headline {\\n margin: unset;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n max-width: 60%;\\n }\\n .message__headline span.weak {\\n margin-left: -4px;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (max-width: 650px) {\\n .message__logo-container {\\n max-width: 12%;\\n margin-bottom: 0px;\\n }\\n .message__headline span.tag--xsmall {\\n display: inline;\\n font-size: 2vw;\\n }\\n .tag--default {\\n font-size: 0.6rem;\\n }\\n .message__disclaimer {\\n font-size: 2vw;\\n }\\n .message__headline span.tag--medium {\\n display: none;\\n }\\n .message__logo-container {\\n max-width: 18%;\\n flex: 1 0 20%;\\n }\\n .message__disclaimer {\\n font-size: 1.8vw;\\n }\\n}\\n\";","import validOptions from './validOptions';\nimport getMutations from './mutations';\nimport logos from '../../../message/logos';\nimport styles from './styles';\n\nexport default {\n localeClass: 'locale--DE',\n productName: ['mit', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n }\n};\n","import gplEqz from './gpl_eqz';\nimport gplGtz from './gpl_gtz';\nimport gplqEqz from './gplq_eqz';\nimport gplqGtz from './gplq_gtz';\nimport gplEqzNonDe from './gpl_eqz-non-de';\nimport gplGtzNonDe from './gpl_gtz-non-de';\nimport gplqEqzNonDe from './gplq_eqz-non-de';\nimport gplqGtzNonDe from './gplq_gtz-non-de';\nimport generic from './generic';\nimport genericNonDe from './generic-non-de';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'GPL:GTZ':\n case 'PLLT_NQ_GZ':\n return gplGtz[type];\n case 'GPLQ:EQZ':\n case 'PLLT_MQ_EZ':\n return gplqEqz[type];\n case 'GPLQ:GTZ':\n case 'PLLT_MQ_GZ':\n return gplqGtz[type];\n case 'GPL:EQZ:NON-DE':\n case 'PLLT_NQ_EZ_XB':\n return gplEqzNonDe[type];\n case 'GPL:GTZ:NON-DE':\n case 'PLLT_NQ_GZ_XB':\n return gplGtzNonDe[type];\n case 'GPLQ:EQZ:NON-DE':\n case 'PLLT_MQ_EZ_XB':\n return gplqEqzNonDe[type];\n case 'GPLQ:GTZ:NON-DE':\n case 'PLLT_MQ_GZ_XB':\n return gplqGtzNonDe[type];\n case 'GPL:EQZ':\n case 'PLLT_NQ_EZ':\n return gplEqz[type];\n case 'GENERIC:NON-DE':\n case 'GENERIC_XB':\n return genericNonDe[type];\n case 'GENERIC':\n default:\n return generic[type];\n }\n}\n","import text from './text';\nimport flex from './flex';\n\nexport default {\n 'layout:text': text,\n 'layout:flex': flex\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallNoWrap,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['kaufen,']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks],\n styles: [`@media (min-aspect-ratio: 60/11) {.message__headline span.tag--xsmall {display: inline}};`]\n }\n ],\n [\n 'ratio:1x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: [...headlineBreaks],\n styles: [`.message__headline .tag--xsmall { display: inline;}`]\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [`@media (min-aspect-ratio: 60/11) {.message__headline span.tag--xsmall {display: inline}};`]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 55, textSize, 'DE'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 7.7),\n primaryWrap(textSize * 12.4)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [{ tag: 'xsmall', br: [','] }],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 28),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 55, textSize, 'DE'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 8),\n altNoWrap(textSize * 15.5)\n ],\n headline: [{ tag: 'xsmall', br: ['später'] }],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n () => ({\n styles: [`margin-top: 0px;`],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallNoWrap,\n addPeriod,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['kaufen,']\n },\n {\n sizes: ['medium'],\n breaks: ['Einkäufen']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 55, textSize, 'DE'),\n xSmallFallback(textSize * 14),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 7.7),\n addPeriod(),\n primaryWrap(textSize * 12.4)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['erst']\n },\n { tag: 'xsmall', br: [','] }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 15),\n setLogoTop(textSize * 45),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 15.1),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 55, textSize, 'DE'),\n xSmallFallback(textSize * 15.5),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 8),\n altNoWrap(textSize * 15.5),\n addPeriod()\n ],\n headline: [\n { tag: 'medium', br: ['nach'] },\n { tag: 'xsmall', br: ['später'] }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 14)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['erst']\n },\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['erst']\n },\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallNoWrap,\n addPeriod\n} from '../../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['kaufen,']\n },\n {\n sizes: ['medium'],\n breaks: ['nach']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 55, textSize, 'DE'),\n xSmallFallback(textSize * 8.5),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 15),\n xSmallNoWrap(textSize * 7.7),\n addPeriod(),\n `@media screen and \n (min-width: ${textSize * 23.8}px),\n (max-width: ${textSize * 21.8}px) {\n .message__headline > .tag--medium > span > span.br:last-child {white-space: normal;}\n }`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['nach']\n },\n { tag: 'xsmall', br: [','] }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10),\n setLogoTop(textSize * 26.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 9.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 15.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 55, textSize, 'DE'),\n xSmallFallback(textSize * 14),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod(),\n `.locale--DE .message__messaging .tag--medium span.br:last-child {white-space:normal;}`,\n xSmallNoWrap(textSize * 8),\n `@media screen and (max-width: ${\n textSize * 12.5\n }px) { .locale--DE .message__messaging { white-space: nowrap;}}`\n ],\n headline: [\n { tag: 'medium', br: ['nach'] },\n { tag: 'xsmall', br: ['später'] }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 14)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['nach'],\n replace: [\n ['Sie nach', 'Sie'],\n ['Tagen', 'Tage später']\n ]\n },\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['nach'],\n replace: [\n ['Sie nach', 'Sie'],\n ['Tagen', 'Tage später']\n ]\n },\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallNoWrap,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport { crossBorderDisclaimerWrap, crossBorderLogoNoneWrap } from '../../GPL/mutations/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['kaufen,']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['extra', 'default']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks],\n styles: [`@media (min-aspect-ratio: 60/11) {.message__headline span.tag--xsmall {display: inline}};`]\n }\n ],\n [\n 'ratio:1x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: [...headlineBreaks],\n styles: [`.message__headline .tag--xsmall { display: inline;}`]\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [`@media (min-aspect-ratio: 60/11) {.message__headline span.tag--xsmall {display: inline}};`]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 39, textSize, 'DE'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 7.7),\n primaryWrap(textSize * 12.4),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [{ tag: 'xsmall', br: [','] }],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n setLogoTop(textSize * 39),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15),\n textWrap(textSize * 39, textSize, 'DE'),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 8),\n altNoWrap(textSize * 15.5)\n ],\n headline: [{ tag: 'xsmall', br: ['später'] }],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n crossBorderLogoNoneWrap(textSize * 14),\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`,\n `.message__headline .tag--xsmall > span { white-space: nowrap }`,\n `margin-top: 0px;`\n ],\n logo: false,\n headline: [\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`,\n `.message__disclaimer { white-space: normal; }`,\n `.message__headline .tag--xsmall > span { white-space: nowrap }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallNoWrap,\n addPeriod,\n primaryWrap\n} from '../../../../message/mediaQueries';\nimport { crossBorderDisclaimerWrap, crossBorderLogoNoneWrap } from '../../GPL/mutations/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['kaufen,']\n },\n {\n sizes: ['medium'],\n breaks: ['Einkäufen']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['extra', 'default']\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 60, textSize, 'DE'),\n xSmallFallback(textSize * 14),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n xSmallNoWrap(textSize * 7.7),\n addPeriod(),\n primaryWrap(textSize * 12.4),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['erst']\n },\n { tag: 'xsmall', br: [','] }\n ],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 15),\n setLogoTop(textSize * 60),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.2, textSize * 21.4, textSize * 15),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 15.1),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.2, textSize * 21.4, textSize * 15),\n `@media screen and \n (max-width: ${textSize * 29}px) {\n .message__headline > .tag--medium > span > span.br:nth-child(2) {white-space: nowrap;}\n }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.2, textSize * 21.4, textSize * 15),\n textWrap(textSize * 55, textSize, 'DE'),\n xSmallFallback(textSize * 15.5),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n xSmallNoWrap(textSize * 8),\n altNoWrap(textSize * 15.5),\n addPeriod()\n ],\n headline: [\n { tag: 'medium', br: ['nach'] },\n { tag: 'xsmall', br: ['später'] }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14),\n crossBorderLogoNoneWrap(textSize * 14),\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['erst']\n },\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`,\n `.message__disclaimer { white-space: normal; }`,\n `.message__headline .tag--xsmall > span { white-space: nowrap }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['erst']\n },\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallNoWrap,\n addPeriod\n} from '../../../../message/mediaQueries';\nimport { crossBorderDisclaimerWrap, crossBorderLogoNoneWrap } from '../../GPL/mutations/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall'],\n breaks: ['kaufen,']\n },\n {\n sizes: ['medium'],\n breaks: ['nach']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['extra', 'default']\n }\n ],\n [\n 'ratio:1x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:1x4',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:8x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [addPeriod()],\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 39, textSize, 'DE'),\n xSmallFallback(textSize * 17),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 15),\n xSmallNoWrap(textSize * 7.7),\n addPeriod(),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15),\n `@media screen and \n (min-width: ${textSize * 23.8}px),\n (max-width: ${textSize * 21.8}px) {\n .message__headline > .tag--medium > span > span.br:last-child {white-space: normal;}\n }`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['nach']\n },\n { tag: 'xsmall', br: [','] }\n ],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 10),\n setLogoTop(textSize * 39),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 9.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n crossBorderDisclaimerWrap(textSize * 21.4, textSize * 30.4, textSize * 21.4, textSize * 15),\n `@media screen and (max-width: ${textSize * 15.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 55, textSize, 'DE'),\n xSmallFallback(textSize * 14),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod(),\n `.locale--DE .message__messaging .tag--medium span.br:last-child {white-space:normal;}`,\n xSmallNoWrap(textSize * 8)\n ],\n headline: [\n { tag: 'medium', br: ['nach'] },\n { tag: 'xsmall', br: ['später'] }\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14),\n crossBorderLogoNoneWrap(textSize * 14),\n `.message__disclaimer > span.multi:first-of-type { white-space: normal;}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['nach'],\n replace: [\n ['Sie nach', 'Sie'],\n ['Tagen', 'Tage später']\n ]\n },\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__logo-container::after { content: '.'; }`,\n `.message__disclaimer { white-space: normal; }`,\n `.message__headline .tag--xsmall > span { white-space: nowrap }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['nach'],\n replace: [\n ['Sie nach', 'Sie'],\n ['Tagen', 'Tage später']\n ]\n },\n {\n tag: 'xsmall',\n replace: [['bezahlen.', 'bezahlen']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import logoInline from './logo--inline.css';\nimport sharedGPLTextStyles from '../../../../common/styles/GPL/text';\n\nexport default [...sharedGPLTextStyles, ['logo.type:inline', logoInline]];\n","export default \".message__logo:last-child {\\n margin-right: 0px;\\n}\\n\\n.weak {\\n display: none;\\n}\\n\\n.message__headline {\\n white-space: normal;\\n}\\n\\n.message__messaging span.br {\\n white-space: normal;\\n}\\n\\n.message__logo-container::before {\\n content: 'mit ';\\n}\\n\";","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n@media (min-aspect-ratio: 60/11) and (max-width: 501px) {\\n .message__headline {\\n font-size: 3.5vw;\\n line-height: 1.1em;\\n display: inline;\\n }\\n .tag--default {\\n font-size: 3.1vw;\\n }\\n .message__messaging {\\n flex: 1 1 100%;\\n }\\n .message__logo-container {\\n display: flex;\\n align-items: center;\\n flex: 1 0 16%;\\n }\\n .message__headline span.tag--xsmall {\\n display: none;\\n }\\n .message__headline span.tag--medium {\\n display: inline;\\n }\\n .message__headline span.weak {\\n margin-left: -4px;\\n }\\n .message__logo:nth-of-type(1) {\\n display: inline;\\n }\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n}\\n@media (min-aspect-ratio: 60/11) and (max-width: 374px) {\\n .message__headline {\\n font-size: 4vw;\\n }\\n .message__disclaimer {\\n font-size: 3vw;\\n }\\n .message__headline span.tag--xsmall {\\n display: inline;\\n }\\n .message__headline span.tag--medium {\\n display: none;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0;\\n }\\n .message__logo-container {\\n flex: 0 0 15%;\\n margin-left: 0;\\n margin-right: 0;\\n }\\n .message__content {\\n padding: 0.5rem;\\n }\\n .message__messaging {\\n flex: 1 1 100%;\\n display: block;\\n }\\n}\\n@media (min-aspect-ratio: 60/11) and (max-width: 323px) {\\n .message__logo:nth-of-type(1) {\\n display: inline;\\n margin: 0 4px;\\n width: unset;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__logo-container {\\n width: 35%;\\n max-width: unset;\\n min-width: unset;\\n flex: 0 0 20%;\\n margin-right: 14px;\\n }\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\nimport sharedGPLFlexStyles from '../../../../common/styles/GPL/flex';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')],\n ...sharedGPLFlexStyles\n];\n","export default \".message__logo-container {\\n margin-right: 5px;\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 3.5vw;\\n}\\n\\n.message__disclaimer {\\n position: static;\\n font-size: 14px;\\n line-height: 20px;\\n letter-spacing: 0em;\\n text-align: left;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: normal;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span > span:only-child,\\n.message__disclaimer > span > span.em {\\n text-decoration: underline;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n.message__disclaimer > .tag--extra > span:only-child {\\n text-decoration: none;\\n line-height: 1.5;\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n.message__promo-container {\\n padding-right: 3px;\\n}\\n\";","export default \".message__headline span.multi:nth-of-type(1) {\\n display: none;\\n}\\n.message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n}\\n.message__headline {\\n font-size: 8vw;\\n line-height: 1.33em;\\n}\\n.message__disclaimer {\\n font-size: 0.9rem;\\n line-height: 6.66vw;\\n margin: 6% 0;\\n}\\n.message__headline span:nth-of-type(1) {\\n margin-right: -4px;\\n}\\n.message__logo-container {\\n width: 100%;\\n}\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n@media (max-aspect-ratio: 11/10) and (max-width: 260px) {\\n .message__headline {\\n font-size: 10vw;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(2) {\\n display: none;\\n }\\n}\\n\\n@media (max-aspect-ratio: 11/10) and (max-width: 150px) {\\n .message__headline {\\n font-size: 0.9rem;\\n }\\n .message__disclaimer {\\n font-size: 9.5px;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n.message__headline {\\n font-size: 1.1rem;\\n line-height: 1.3em;\\n margin-bottom: 10%;\\n}\\n.message__sub-headline {\\n display: none;\\n}\\n.message__disclaimer {\\n font-size: 0.8rem;\\n}\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.5rem;\\n }\\n}\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n font-size: 3vw;\\n display: inline;\\n line-height: 1.2em;\\n }\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80 / 11) and (min-width: 500px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__disclaimer {\\n font-size: 2vw;\\n display: block;\\n }\\n}\\n@media (min-aspect-ratio: 80 / 11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 50%;\\n }\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n@media (min-aspect-ratio: 80 / 11) and (max-width: 250px) {\\n .message__logo-container {\\n margin: 0 12px;\\n max-width: 6%;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0px;\\n width: unset;\\n }\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n .message__messaging {\\n font-size: 0.6rem;\\n padding: 2px 0;\\n height: 200%;\\n }\\n .message__headline {\\n font-size: 4.5vw;\\n }\\n .message__disclaimer {\\n line-height: 15px;\\n }\\n .tag--default {\\n font-size: 0.7rem;\\n }\\n .message__promo-container {\\n margin-right: 6px;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__headline {\\n font-size: 1.8vw;\\n }\\n .message__disclaimer {\\n font-size: 1.25vw;\\n line-height: 1.43rem;\\n }\\n .message__promo-container {\\n width: unset;\\n }\\n .message__logo {\\n max-width: 128px;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n .message__logo-container {\\n max-width: 15%;\\n }\\n .message__messaging {\\n flex: unset;\\n display: inline;\\n }\\n .message__content {\\n display: flex;\\n justify-content: center;\\n }\\n .message__sub-headline {\\n margin: unset;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n max-width: 60%;\\n }\\n .message__headline span.weak {\\n margin-left: -4px;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (max-width: 650px) {\\n .message__logo-container {\\n max-width: 12%;\\n margin-bottom: 0px;\\n }\\n .message__headline span.tag--xsmall {\\n display: inline;\\n font-size: 2vw;\\n }\\n .tag--default {\\n font-size: 0.6rem;\\n }\\n .message__disclaimer {\\n font-size: 2vw;\\n }\\n .message__headline span.tag--medium {\\n display: none;\\n }\\n .message__logo-container {\\n max-width: 18%;\\n flex: 1 0 20%;\\n }\\n .message__disclaimer {\\n font-size: 1.8vw;\\n }\\n}\\n\";","import validOptions from './validOptions';\nimport getMutations from './mutations';\nimport logos from '../../../message/logos';\nimport styles from './styles';\n\nexport default {\n localeClass: 'locale--DE',\n productName: ['mit', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n },\n preset: [Types.STRING, [undefined, 'smallest']]\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n custom: {\n markup: [Types.STRING],\n ratio: [Types.ANY],\n preset: [Types.STRING, [undefined, 'smallest']]\n }\n};\n","/* eslint-disable eslint-comments/disable-enable-pair */\n// mutations import here.\nimport pi30 from './pi30';\nimport pi30nq from './pi30nq';\nimport pi30q from './pi30q';\nimport pi30nonDe from './pi30-non-de';\nimport pi30nqNonDe from './pi30nq-non-de';\nimport pi30qNonDe from './pi30q-non-de';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'PI30Q':\n case 'PLP1_SQ':\n return pi30q[type];\n case 'PI30NQ':\n case 'PLP1_NQ':\n return pi30nq[type];\n case 'PI30Q:NON-DE':\n case 'PLP1_SQ_XB':\n return pi30qNonDe[type];\n case 'PI30NQ:NON-DE':\n case 'PLP1_NQ_XB':\n return pi30nqNonDe[type];\n case 'PI30:NON-DE':\n case 'PLP1_NA_XB':\n return pi30nonDe[type];\n case 'PI30':\n case 'PLP1_NA':\n default:\n return pi30[type];\n }\n}\n","import text from './text';\nimport flex from './flex';\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': text\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n xSmallFallback,\n logo20x1,\n altNoWrap,\n setLogoTop\n} from '../../../message/mediaQueries';\nimport { textLogoMutations, flexLogoMutations } from '../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 45, textSize, 'GB'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['from']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 44 + 10),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 16), messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 40, textSize, 'GB'),\n xSmallFallback(textSize * 16),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 20),\n `@media screen and (max-width: ${textSize * 21}px) {\n .message__messaging span.br { white-space: normal }\n }`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [\n ['0.', '0'],\n ['later.', 'later']\n ]\n },\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n `.message__logo { width: ${textSize * 4}px }`,\n `@media screen and (max-width: ${textSize * 21}px) {\n .message__messaging span.br { white-space: normal }\n }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['purchases'],\n replace: [\n ['0.', '0'],\n ['later.', 'later']\n ]\n },\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ],\n\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['extra', 'default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n ...flexLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n xSmallFallback,\n logo20x1,\n altNoWrap,\n setLogoTop,\n addPeriod\n} from '../../../message/mediaQueries';\nimport { textLogoMutations, flexLogoMutations } from '../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n textWrap(textSize * 32, textSize, 'GB'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['payments']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['extra', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 14.15\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 10.75),\n setLogoTop(textSize * 32 + 10),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 14.15\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 10.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'GB'),\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ],\n\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['extra', 'default'],\n styles: [\n '.message__headline .tag--medium > span:first-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n logo20x1(),\n '.message__headline .tag--medium > span:first-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium',\n br: ['payments']\n }\n ],\n styles: [\n '.message__headline .tag--medium > span:first-child > span:last-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n ...flexLogoMutations\n ]\n};\n","import sharedGPLTextStyles from '../../../common/styles/GPL/text';\n\nexport default [...sharedGPLTextStyles];\n","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n\\n.message__logo:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__headline {\\n font-size: 4vw;\\n}\\n\\n/* remove extra \\\"with Flex\\\" */\\n.message__headline > span:nth-of-type(3) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.7rem;\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 375px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n .message__headline .tag--medium .br:first-child {\\n display: block;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 45%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) {\\n .message__headline {\\n font-size: 5vw;\\n line-height: 1.3em;\\n display: inline;\\n }\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n .message__logo:nth-of-type(1) {\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 374px) {\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n }\\n}\\n\\n@media (max-width: 374px) {\\n .message__headline {\\n font-size: 5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 55%;\\n }\\n\\n .message__logo-container {\\n margin-right: 2.5%;\\n }\\n\\n .weak {\\n margin-left: -1.6%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 767px) {\\n .message__headline::after {\\n content: ' ';\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 323px) {\\n .message__logo-container {\\n margin-right: 7%;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0 5px;\\n width: 30%;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')]\n];\n","export default \".message__logo-container {\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 8.4vw;\\n font-weight: 500;\\n line-height: 1.6em;\\n}\\n\\n.message__disclaimer {\\n position: static;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: normal;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span > span:only-child,\\n.message__disclaimer > span > span.em {\\n text-decoration: underline;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\";","export default \".message__disclaimer span.multi:nth-of-type(1) {\\n display: none;\\n}\\n\\n.message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__logo-container {\\n width: 100%;\\n margin-bottom: 12%;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n\\n.message__headline {\\n font-size: 10vw;\\n line-height: 1.55em;\\n}\\n\\n@media (min-width: 140px) {\\n .message__headline {\\n font-size: 8.4vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n\\n.message__headline {\\n font-size: 1.1rem;\\n margin-bottom: 10%;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.9rem;\\n}\\n\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.7rem;\\n }\\n}\\n\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n display: inline;\\n padding-right: 0;\\n margin-right: 0;\\n line-height: 1.3em;\\n }\\n\\n .message__headline .tag--medium .br:first-child {\\n display: inline;\\n }\\n\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 1%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 50%;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 375px) {\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 351px) {\\n .message__headline {\\n font-size: 3.5vw;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 360px) {\\n .message__messaging {\\n line-height: 1.3rem;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__logo-container {\\n margin-bottom: -3px;\\n max-width: 12%;\\n margin-right: 1.5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n\\n .message__promo-container {\\n width: unset;\\n }\\n\\n .message__messaging {\\n flex: none;\\n display: inline;\\n }\\n\\n .message__content {\\n justify-content: center;\\n }\\n\\n .message__sub-headline {\\n margin-left: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 4px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 351px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 903px) {\\n .message__logo-container {\\n margin-bottom: -6px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 400px) {\\n .message__headline {\\n font-size: 2vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 20%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 60%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 523px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 600px) {\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: auto;\\n }\\n\\n .message__logo-container {\\n max-width: 18%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 401px) and (max-width: 522px) {\\n .message__logo-container {\\n max-width: 18%;\\n }\\n\\n .message__headline {\\n font-size: 2.75vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\";","import getMutations from './mutations';\nimport logos from '../../message/logos';\nimport styles from './styles';\nimport validOptions from './validOptions';\n\nexport default {\n localeClass: 'locale--GB',\n productName: ['with', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n custom: {\n markup: [Types.STRING]\n }\n};\n","// mutations import here.\nimport pl from './gpl';\nimport plq from './gplq';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'PLQ':\n case 'PLST_SQ':\n return plq[type];\n case 'PL':\n case 'PLST_NQ':\n default:\n return pl[type];\n }\n}\n","import text from './text';\nimport flex from './flex';\n\nexport default {\n 'layout:text': text,\n 'layout:flex': flex\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback\n} from '../../../message/mediaQueries';\nimport { textLogoMutations, flexLogoMutations } from '../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['default'],\n breaks: ['achats']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 33, textSize, 'FR'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'default',\n br: ['achats']\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 17.4),\n setLogoTop(textSize * 41.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ],\n headline: [\n {\n tag: 'default',\n br: ['achats']\n }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 17.4),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ],\n headline: [\n {\n tag: 'default',\n br: ['achats']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 36.5, textSize, 'FR'),\n xSmallFallback(textSize * 17.75),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'default',\n br: ['achats']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 20)],\n logo: false,\n headline: [\n {\n tag: 'default',\n br: ['achats'],\n replace: [['fois.', 'fois']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 20), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'default',\n br: ['achats'],\n replace: [['fois.', 'fois']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback,\n addPeriod\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: [\"jusqu'à\"]\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: ['.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1(), '.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 42, textSize, 'FR'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: [\"jusqu'à\"]\n },\n {\n tag: 'xsmall',\n br: ['en, ']\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 12),\n setLogoTop(textSize * 40),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 12),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n headline: [\n {\n tag: 'medium',\n br: [\"jusqu'à\"]\n },\n {\n tag: 'xsmall',\n br: ['en, ']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 34, textSize, 'FR'),\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: [\"jusqu'à\"]\n },\n {\n tag: 'xsmall',\n br: ['en,']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 20),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['mensualités'],\n replace: [['mensualités.', 'mensualités ']]\n },\n {\n tag: 'xsmall',\n br: ['fois.'],\n replace: [['fois.', 'fois']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 18),\n `.message__logo { width: ${textSize * 4}px }`,\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mensualités'],\n replace: [['mensualités.', 'mensualités ']]\n },\n {\n tag: 'xsmall',\n replace: [['fois.', 'fois']],\n br: ['fois']\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n addPeriod,\n logo20x1\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['de']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: ['.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1(), '.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 51, textSize, 'FR'),\n xSmallFallback(textSize * 19.5),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['en, ']\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 51),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['en, ']\n }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['en, ']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 46, textSize, 'FR'),\n xSmallFallback(textSize * 19),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['en, ']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 21.6),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['fois.'],\n replace: [['fois.', 'fois']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 21.6),\n `.message__logo { width: ${textSize * 4}px }`,\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['fois.'],\n replace: [['fois.', 'fois']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport { textWrap, messageLogoWidth, altNoWrap, setLogoTop, logo20x1 } from '../../../message/mediaQueries';\nimport { textLogoMutations, flexLogoMutations } from '../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 43, textSize, 'FR'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n `@media screen and (min-width: ${textSize * 11.5}px) {\n .message__messaging span.br {\n white-space: normal;\n }\n }`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'default',\n br: ['achats']\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 43, textSize, 'FR'),\n setLogoTop(textSize * 40),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `@media screen and (min-width: ${textSize * 11.5}px) {\n .message__messaging span.br {\n white-space: normal;\n }\n }`\n ],\n headline: [\n {\n tag: 'default',\n br: ['frais']\n }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n // textWrap(textSize * 43, textSize, 'FR'),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `@media screen and (min-width: ${textSize * 11.5}px) {\n .message__messaging span.br {\n white-space: normal;\n }\n }`\n ],\n headline: [\n {\n tag: 'default',\n br: ['frais']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 39, textSize, 'FR'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'default',\n br: ['€']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n `@media screen and (min-width: ${textSize * 11.5}px) {\n .message__messaging span.br {\n white-space: normal;\n }\n }`\n ],\n logo: false,\n headline: [\n {\n tag: 'default',\n br: ['frais', 'achats', '€'],\n replace: [\n ['€.', '€'],\n ['éligibles.', 'éligibles']\n ]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n `@media screen and (min-width: ${textSize * 11.5}px) {\n .message__messaging span.br {\n white-space: normal;\n }\n }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'default',\n br: ['pour'],\n replace: [\n ['€.', '€'],\n ['éligibles.', 'éligibles']\n ]\n }\n ]\n })\n ],\n ...textLogoMutations\n ],\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'default'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:1x1',\n {\n subHeadline: [{ tag: 'small', br: ['achats'] }]\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: [{ tag: 'small', br: ['pour'] }],\n subHeadline: [{ tag: 'small', br: ['avec', 'et', 'paiement en'] }]\n }\n ],\n [\n 'ratio:6x1',\n {\n subHeadline: [{ tag: 'small', br: ['les'] }]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [{ tag: 'small', br: ['les'] }]\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [{ tag: 'small', br: ['les'] }],\n styles: [logo20x1()]\n }\n ],\n ...flexLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport { textWrap, messageLogoWidth, altNoWrap, setLogoTop, logo20x1 } from '../../../message/mediaQueries';\nimport { textLogoMutations, flexLogoMutations } from '../../../message/logoMutations';\n\nexport default {\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 38, textSize, 'FR'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'default',\n br: ['achats']\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 31, textSize, 'FR'),\n setLogoTop(textSize * 24),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `@media screen and (min-width: ${textSize * 11.5}px) {\n .message__messaging span.br {\n white-space: normal;\n }\n }`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 32, textSize, 'FR'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `@media screen and (max-width: ${\n textSize * 7.5\n }px) { message__content, .locale--FR .message__messaging { white-space: nowrap; }}`\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n `@media screen and (min-width: ${textSize * 11.5}px) {\n .message__messaging span.br {\n white-space: normal;\n }\n }`\n ],\n logo: false,\n headline: [\n {\n tag: 'default',\n br: ['achats'],\n replace: [['frais.', 'frais']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n `.message__logo { width: ${textSize * 4}px }`,\n `@media screen and (min-width: ${textSize * 11.5}px) {\n .message__messaging span.br {\n white-space: normal;\n }\n }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'default',\n br: ['achats'],\n replace: [['frais.', 'frais']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ],\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'default'\n }\n ],\n subHeadline: [{ tag: 'small', br: ['paiement en 4X.'] }],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:1x1',\n {\n headline: [{ tag: 'small', br: ['frais.'] }],\n subHeadline: [{ tag: 'small', br: ['achats'] }],\n styles: [\n `@media (min-width: 140px) {.message__headline {font-size: 8.5vw;} .message__sub-headline {font-size: 6vw;}`\n ]\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: [{ tag: 'small', br: ['frais.'] }],\n subHeadline: [{ tag: 'small', br: ['avec', 'et', 'paiement en'] }],\n styles: [`@media (aspect-ratio: 1/2) {.message__sub-headline { display: inline;}}`]\n }\n ],\n [\n 'ratio:6x1',\n {\n headline: [{ tag: 'small', br: ['de'] }],\n styles: [`@media (aspect-ratio: 1/2) {.message__sub-headline { display: inline;}}`]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [{ tag: 'small', br: ['de'] }],\n styles: [\n `@media (min-aspect-ratio: 80/11) and (min-width: 501px) {.message__disclaimer > span > span {\n margin-left: 4px;\n }}`\n ]\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [{ tag: 'small', br: ['de'] }],\n styles: [logo20x1()]\n }\n ],\n ...flexLogoMutations\n ]\n};\n","import logoInline from './logo--inline.css';\nimport sharedGPLTextStyles from '../../../common/styles/GPL/text';\n\nexport default [...sharedGPLTextStyles, ['logo.type:inline', logoInline]];\n","export default \".message__logo-container::before {\\n content: 'avec ';\\n}\\n\\n.message__logo-container::after {\\n content: '.';\\n}\\n\\n.message__logo:last-child {\\n margin-right: 0px;\\n}\\n\\n.weak {\\n display: none;\\n}\\n\";","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n\\n.message__logo:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__headline {\\n font-size: 4vw;\\n}\\n\\n/* remove extra \\\"with Flex\\\" */\\n.message__headline > span:nth-of-type(3) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.9rem;\\n vertical-align: super;\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 375px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n .message__headline .tag--medium .br:first-child {\\n display: block;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 45%;\\n }\\n .message__sub-headline {\\n display: none;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) {\\n .message__headline {\\n font-size: 5vw;\\n line-height: 1.3em;\\n display: inline;\\n }\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n .message__logo:nth-of-type(1) {\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 374px) {\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n }\\n}\\n\\n@media (max-width: 374px) {\\n .message__headline {\\n font-size: 3.5vw;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.4rem;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 55%;\\n }\\n\\n .message__logo-container {\\n margin-right: 2.5%;\\n }\\n\\n .weak {\\n margin-left: -1.6%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 767px) {\\n .message__headline::after {\\n content: ' ';\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 323px) {\\n .message__logo-container {\\n margin-right: 5%;\\n width: 80px;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0 5px;\\n width: 30%;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')]\n];\n","export default \".message__logo-container {\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 8.4vw;\\n font-weight: 500;\\n line-height: 1.6em;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: normal;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span > span:only-child,\\n.message__disclaimer > span > span.em {\\n text-decoration: underline;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 0.95rem;\\n }\\n}\\n\";","export default \".message__disclaimer span.multi:nth-of-type(1) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n bottom: 12%;\\n}\\n\\n.message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__logo-container {\\n width: 100%;\\n margin-bottom: 5%;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n\\n.message__headline {\\n line-height: 1.55em;\\n}\\n\\n.message__sub-headline {\\n font-size: 1rem;\\n}\\n\\n@media screen and (max-width: 240px) {\\n .message__sub-headline {\\n font-size: 0.8rem;\\n }\\n}\\n\\n@media (min-width: 140px) {\\n .message__headline {\\n font-size: 8.4vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n@media (max-width: 270px) {\\n .message__sub-headline {\\n display: none;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n\\n.message__headline {\\n font-size: 1.1rem;\\n margin-bottom: 10%;\\n padding-top: 10%;\\n}\\n\\n.message__disclaimer {\\n font-size: 1rem;\\n}\\n\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n.message__sub-headline {\\n font-size: 1.2rem;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.7rem;\\n }\\n}\\n\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n\\n .message__sub-headline {\\n display: none;\\n }\\n\\n .message__disclaimer {\\n bottom: 10%;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n display: inline;\\n padding-right: 0;\\n margin-right: 0;\\n }\\n\\n .message__headline .tag--medium .br:first-child {\\n display: inline;\\n }\\n\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n margin-left: 5px;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n\\n .message__disclaimer {\\n vertical-align: super;\\n margin-left: 4px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 50%;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.95rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 375px) {\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 351px) {\\n .message__headline {\\n font-size: 3vw;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (max-width: 350px) {\\n .message__headline {\\n line-height: 1.1rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 360px) {\\n .message__messaging {\\n line-height: 1.3rem;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__logo-container {\\n margin-bottom: -3px;\\n max-width: 12%;\\n margin-right: 0.5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n\\n .message__promo-container {\\n width: unset;\\n }\\n\\n .message__messaging {\\n flex: none;\\n display: inline;\\n }\\n\\n .message__content {\\n justify-content: center;\\n }\\n\\n .message__sub-headline {\\n margin-left: 5px;\\n }\\n\\n .message__disclaimer {\\n margin-left: 4px;\\n vertical-align: super;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 351px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 903px) {\\n .message__logo-container {\\n margin-bottom: -6px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 400px) {\\n .message__headline {\\n font-size: 1.7vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 20%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 60%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 523px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 600px) {\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: auto;\\n }\\n\\n .message__logo-container {\\n max-width: 18%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 401px) and (max-width: 522px) {\\n .message__logo-container {\\n max-width: 18%;\\n }\\n\\n .message__headline {\\n font-size: 2.75vw;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.6rem;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 9px;\\n }\\n}\\n\";","import getMutations from './mutations';\nimport logos from '../../message/logos';\nimport styles from './styles';\nimport validOptions from './validOptions';\n\nexport default {\n localeClass: 'locale--FR',\n productName: ['avec', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']]\n }\n};\n","// mutations import here.\nimport generic from './generic';\nimport longTermQ from './long_term_q_gtz';\nimport longTermNq from './long_term_nq_gtz';\nimport gpl from './gpl';\nimport gplq from './gplq';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'PLLT_MQ_GZ':\n return longTermQ[type];\n case 'PLLT_NQ_GZ':\n return longTermNq[type];\n case 'GPLQ':\n case 'PLST_SQ':\n return gplq[type];\n case 'GPL':\n case 'PLST_NQ':\n return gpl[type];\n case 'GENERIC':\n default:\n return generic[type];\n }\n}\n","import text from './text';\nimport flex from './flex';\n\nexport default {\n 'layout:text': text,\n 'layout:flex': flex\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback,\n addPeriod\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['hasta']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: ['.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1(), '.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 42, textSize, 'ES'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['hasta']\n },\n {\n tag: 'xsmall',\n br: ['ahora, ']\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 12),\n setLogoTop(textSize * 40),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 12),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['hasta']\n },\n {\n tag: 'xsmall',\n br: ['ahora, ']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 34, textSize, 'ES'),\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: ['hasta']\n },\n {\n tag: 'xsmall',\n br: ['ahora,']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 20),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['plazos'],\n replace: [['plazos.', 'plazos ']]\n },\n {\n tag: 'xsmall',\n br: ['después.'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 18),\n `.message__logo { width: ${textSize * 4}px }`,\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['plazos'],\n replace: [['plazos.', 'plazos ']]\n },\n {\n tag: 'xsmall',\n replace: [['después.', 'después']],\n br: ['después']\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n addPeriod,\n logo20x1\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['de']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: ['.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1(), '.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 51, textSize, 'ES'),\n xSmallFallback(textSize * 19.5),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['ahora, ']\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 51),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['ahora, ']\n }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['ahora, ']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 46, textSize, 'ES'),\n xSmallFallback(textSize * 19),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['ahora, ']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 21.6),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['después.'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 21.6),\n `.message__logo { width: ${textSize * 4}px }`,\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['después.'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\nimport Logo from '../../../message/logos';\nimport {\n altNoWrap,\n logo20x1,\n messageLogoWidth,\n setLogoTop,\n textWrap,\n xSmallFallback\n} from '../../../message/mediaQueries';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['al mes']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nexport default {\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n ],\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 37, textSize, 'ES'),\n xSmallFallback(textSize * 18),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mes al']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 37),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['mes al']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 16),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['mes al']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 14}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 33.5, textSize, 'ES'),\n xSmallFallback(textSize * 14),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: ['mes al']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 19),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['mes al'],\n replace: [['TAE.', 'TAE']]\n },\n {\n tag: 'xsmall.2',\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 19),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['mes al'],\n replace: [['TAE.', 'TAE']]\n },\n {\n tag: 'xsmall.2',\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\nimport Logo from '../../../message/logos';\nimport {\n altNoWrap,\n logo20x1,\n messageLogoWidth,\n setLogoTop,\n textWrap,\n xSmallFallback\n} from '../../../message/mediaQueries';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['compras']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nexport default {\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n ],\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 48.5, textSize, 'ES'),\n xSmallFallback(textSize * 23),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['compras', '€,']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 17.4),\n setLogoTop(textSize * 49),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['compras', '€,']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 21),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['compras', '€,']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 14}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 44, textSize, 'ES'),\n xSmallFallback(textSize * 19),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 24),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['compras', '€,'],\n replace: [['TAE.', 'TAE']]\n },\n {\n tag: 'xsmall',\n br: ['después.'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 24),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium.2',\n br: ['compras', '€,'],\n replace: [['TAE.', 'TAE']]\n },\n {\n tag: 'xsmall',\n br: ['después.'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback,\n addPeriod\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['tus']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['xsmall', 'default'],\n styles: ['.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1(), '.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 42, textSize, 'ES'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['plazos']\n },\n {\n tag: 'xsmall',\n br: ['ahora y']\n }\n ],\n disclaimer: ['xsmall', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 12),\n setLogoTop(textSize * 40),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 12),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['plazos']\n },\n {\n tag: 'xsmall',\n br: ['ahora y']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 34, textSize, 'ES'),\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: ['€,']\n },\n {\n tag: 'xsmall',\n br: ['ahora']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 20),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['plazos'],\n replace: [[', sin', ' sin']]\n },\n {\n tag: 'xsmall',\n br: ['después.'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 18),\n `.message__logo { width: ${textSize * 4}px }`,\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['€,'],\n replace: [[', sin', ' sin']]\n },\n {\n tag: 'xsmall',\n replace: [['después.', 'después']],\n br: ['después']\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n addPeriod,\n logo20x1\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['tus']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['xsmall', 'default'],\n styles: ['.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1(), '.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 51, textSize, 'ES'),\n xSmallFallback(textSize * 19.5),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['tus']\n },\n {\n tag: 'xsmall',\n br: ['ahora y']\n }\n ],\n disclaimer: ['xsmall', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 51),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['tus']\n },\n {\n tag: 'xsmall',\n br: ['ahora y']\n }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod(),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['tus']\n },\n {\n tag: 'xsmall',\n br: ['ahora y']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 46, textSize, 'ES'),\n xSmallFallback(textSize * 19),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['ahora y']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 21.6),\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['después.'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 21.6),\n `.message__logo { width: ${textSize * 4}px }`,\n `@media screen and (max-width: ${\n textSize * 14.5\n }px) { .message__headline > .tag--xsmall > span { white-space: normal;} }`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['de']\n },\n {\n tag: 'xsmall',\n br: ['después.'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n logo20x1,\n xSmallFallback\n} from '../../../message/mediaQueries';\nimport { textLogoMutations, flexLogoMutations } from '../../../message/logoMutations';\n\nconst headlineBreaks = [\n {\n sizes: ['default'],\n breaks: ['ahora y']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 33, textSize, 'ES'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'default',\n br: ['ahora y']\n }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 17.4),\n setLogoTop(textSize * 41.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ],\n headline: [\n {\n tag: 'default',\n br: ['ahora y']\n }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 17.4),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ],\n headline: [\n {\n tag: 'default',\n br: ['ahora y']\n }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 36.5, textSize, 'ES'),\n xSmallFallback(textSize * 17.75),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'default',\n br: ['ahora y']\n }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 20)],\n logo: false,\n headline: [\n {\n tag: 'default',\n br: ['ahora y'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 20), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'default',\n br: ['ahora y'],\n replace: [['después.', 'después']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import logoInline from './logo--inline.css';\nimport sharedGPLTextStyles from '../../../common/styles/GPL/text';\n\nexport default [...sharedGPLTextStyles, ['logo.type:inline', logoInline]];\n","export default \".message__logo-container {\\n display: inline;\\n}\\n\\n.message__logo-container::after {\\n content: '.';\\n}\\n\\n.message__logo-container::before {\\n content: 'con ';\\n}\\n\\n.message__logo:last-child {\\n margin-top: -1px;\\n}\\n\\n.weak {\\n display: none;\\n}\\n\\n.message__headline {\\n white-space: normal;\\n}\\n\";","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n\\n.message__logo:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__headline {\\n font-size: 4vw;\\n}\\n\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: none;\\n}\\n\\n/* remove extra \\\"with Flex\\\" */\\n.message__headline > span:nth-of-type(3) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.7rem;\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 324px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n .message__headline .tag--medium .br:first-child {\\n display: inline;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 45%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) {\\n .message__headline {\\n font-size: 4.5vw;\\n line-height: 1.3em;\\n display: inline;\\n }\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n .message__logo:nth-of-type(1) {\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 374px) {\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n }\\n}\\n\\n@media (max-width: 374px) {\\n .message__headline {\\n font-size: 3.8vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 55%;\\n }\\n\\n .message__logo-container {\\n margin-right: 2.5%;\\n }\\n\\n .weak {\\n margin-left: -1.6%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 767px) {\\n .message__headline::after {\\n content: ' ';\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 323px) {\\n .message__logo-container {\\n margin-right: 7%;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0 5px;\\n width: 30%;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')]\n];\n","export default \".message__logo-container {\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 8.4vw;\\n font-weight: 500;\\n line-height: 1.6em;\\n}\\n\\n.message__disclaimer {\\n position: static;\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer .tag--default > span.em {\\n text-decoration: underline;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\";","export default \".message__disclaimer span.multi:nth-of-type(1) {\\n display: none;\\n}\\n\\n.message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__logo-container {\\n width: 100%;\\n margin-bottom: 12%;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n\\n.message__headline {\\n font-size: 10vw;\\n line-height: 1.55em;\\n}\\n\\n@media (min-width: 140px) {\\n .message__headline {\\n font-size: 8.4vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n\\n.message__content {\\n padding: 7%;\\n}\\n\\n.message__headline {\\n font-size: 1.1rem;\\n margin-bottom: 10%;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.9rem;\\n}\\n\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.6rem;\\n }\\n}\\n\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n display: inline;\\n padding-right: 0;\\n margin-right: 0;\\n line-height: 1.3em;\\n }\\n\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 4px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 240px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: none;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 401px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 18%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 55%;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 375px) {\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 351px) {\\n .message__headline {\\n font-size: 3.5vw;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 360px) {\\n .message__messaging {\\n line-height: 1.3rem;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__logo-container {\\n margin-bottom: -3px;\\n max-width: 12%;\\n margin-right: 1.5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n\\n .message__promo-container {\\n width: unset;\\n }\\n\\n .message__messaging {\\n flex: none;\\n display: inline;\\n }\\n\\n .message__content {\\n justify-content: center;\\n }\\n\\n .message__sub-headline {\\n margin-left: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 4px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 351px) {\\n .message__disclaimer {\\n font-size: 0.8rem;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 903px) {\\n .message__logo-container {\\n margin-bottom: -6px;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 400px) {\\n .message__headline {\\n font-size: 2vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 20%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 60%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 523px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 600px) {\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: auto;\\n }\\n\\n .message__logo-container {\\n max-width: 18%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 401px) and (max-width: 522px) {\\n .message__logo-container {\\n max-width: 18%;\\n }\\n\\n .message__headline {\\n font-size: 2.75vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\";","import getMutations from './mutations';\nimport logos from '../../message/logos';\nimport styles from './styles';\nimport validOptions from './validOptions';\n\nexport default {\n localeClass: 'locale--ES',\n productName: ['con', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n }\n};\n","// mutations import here.\nimport longTermQ from './long_term_q';\nimport longTermNq from './long_term_nq';\nimport longTermQEqz from './long_term_q_eqz';\nimport longTermNqEqz from './long_term_nq_eqz';\nimport shortTermQ from './short_term_q';\nimport shortTermNq from './short_term_nq';\nimport shortTermNoAmount from './short_term_no_amount';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'PLLT_MQ_EZ':\n return longTermQEqz[type];\n case 'PLLT_NQ_EZ':\n return longTermNqEqz[type];\n case 'PLLT_MQ_GZ':\n return longTermQ[type];\n case 'PLLT_NQ_GZ':\n return longTermNq[type];\n case 'SHORT_TERM:Q':\n case 'PLST_SQ':\n return shortTermQ[type];\n case 'SHORT_TERM:NQ':\n case 'PLST_NQ':\n return shortTermNq[type];\n case 'SHORT_TERM:NO_AMOUNT':\n case 'PLST_NA':\n case 'PL_GENERIC':\n default:\n return shortTermNoAmount[type];\n }\n}\n","import text from './text';\nimport flex from './flex';\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': text\n};\n","import Logo from '../../../message/logos';\nimport {\n xSmallFallback,\n textWrap,\n messageLogoWidth,\n logo20x1,\n altNoWrap,\n setLogoTop,\n addPeriod\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: ['.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1(), '.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 40.5, textSize, 'AU'),\n xSmallFallback(textSize * 21),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 41.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 36.5, textSize, 'AU'),\n xSmallFallback(textSize * 16),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 16)],\n logo: false,\n headline: [\n {\n tag: 'medium.2',\n br: ['on'],\n replace: [\n ['purchases.', 'purchases'],\n ['later.', 'later']\n ]\n },\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium.2',\n br: ['on'],\n replace: [\n ['purchases.', 'purchases'],\n ['later.', 'later']\n ]\n },\n {\n tag: 'xsmall.2',\n br: ['later.'],\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n addPeriod,\n logo20x1\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: [\n '.message__headline .tag--medium > span:first-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1(), '.message__headline .tag--medium > span:first-child:after { content: \".\"; }']\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium',\n br: ['payments']\n }\n ],\n styles: [\n '.message__headline .tag--medium > span:first-child > span:last-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 32, textSize, 'AU'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['payments']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 10.75),\n setLogoTop(textSize * 32),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 10.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'AU'),\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [['purchases.', 'purchases']]\n },\n {\n tag: 'xsmall.2',\n replace: [['later.', 'later']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import sharedGPLTextStyles from '../../../common/styles/GPL/text';\n\nexport default [...sharedGPLTextStyles];\n","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n\\n.message__logo:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__headline {\\n font-size: 4vw;\\n}\\n\\n/* remove extra \\\"with Flex\\\" */\\n.message__headline > span:nth-of-type(3) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.7rem;\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 324px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n .message__headline .tag--medium .br:first-child {\\n display: block;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 45%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) {\\n .message__headline {\\n font-size: 5vw;\\n line-height: 1.3em;\\n display: inline;\\n }\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n .message__logo:nth-of-type(1) {\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 374px) {\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n }\\n}\\n\\n@media (max-width: 374px) {\\n .message__headline {\\n font-size: 4.8vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 55%;\\n }\\n\\n .message__logo-container {\\n margin-right: 2.5%;\\n }\\n\\n .weak {\\n margin-left: -1.6%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 767px) {\\n .message__headline::after {\\n content: ' ';\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 323px) {\\n .message__logo-container {\\n margin-right: 7%;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0 5px;\\n width: 30%;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\nimport sharedGPLFlexStyles from '../../../common/styles/GPL/flex';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')],\n ...sharedGPLFlexStyles\n];\n","export default \".message__logo-container {\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 8.4vw;\\n font-weight: 500;\\n line-height: 1.6em;\\n}\\n\\n.message__disclaimer {\\n position: static;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: normal;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span > span:only-child,\\n.message__disclaimer > span > span.em {\\n text-decoration: underline;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\";","export default \".message__disclaimer span.multi:nth-of-type(1) {\\n display: none;\\n}\\n\\n.message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__logo-container {\\n width: 100%;\\n margin-bottom: 12%;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n\\n.message__headline {\\n font-size: 10vw;\\n line-height: 1.55em;\\n}\\n\\n@media (min-width: 140px) {\\n .message__headline {\\n font-size: 8.4vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n\\n.message__content {\\n padding: 7%;\\n}\\n\\n.message__headline {\\n font-size: 1.1rem;\\n margin-bottom: 10%;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.9rem;\\n}\\n\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.6rem;\\n }\\n}\\n\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n display: inline;\\n padding-right: 0;\\n margin-right: 0;\\n line-height: 1.3em;\\n }\\n\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 4px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 240px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 401px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 18%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 55%;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 375px) {\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 351px) {\\n .message__headline {\\n font-size: 3.5vw;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 360px) {\\n .message__messaging {\\n line-height: 1.3rem;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__logo-container {\\n margin-bottom: -3px;\\n max-width: 12%;\\n margin-right: 1.5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n\\n .message__promo-container {\\n width: unset;\\n }\\n\\n .message__messaging {\\n flex: none;\\n display: inline;\\n }\\n\\n .message__content {\\n justify-content: center;\\n }\\n\\n .message__sub-headline {\\n margin-left: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 4px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 351px) {\\n .message__disclaimer {\\n font-size: 0.8rem;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 903px) {\\n .message__logo-container {\\n margin-bottom: -6px;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 400px) {\\n .message__headline {\\n font-size: 2vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 20%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 60%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 523px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 600px) {\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: auto;\\n }\\n\\n .message__logo-container {\\n max-width: 18%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 401px) and (max-width: 522px) {\\n .message__logo-container {\\n max-width: 18%;\\n }\\n\\n .message__headline {\\n font-size: 2.75vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\";","import getMutations from './mutations';\nimport logos from '../../message/logos';\nimport styles from './styles';\nimport validOptions from './validOptions';\n\nexport default {\n localeClass: 'locale--AU',\n productName: ['with', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n }\n};\n","// mutations import here.\nimport gpl from './gpl';\nimport gplq from './gplq';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'GPLQ':\n case 'PLST_SQ':\n return gplq[type];\n case 'GPL':\n case 'PLST_NQ':\n default:\n return gpl[type];\n }\n}\n","import text from './text';\nimport flex from './flex';\n\nexport default {\n 'layout:text': text,\n 'layout:flex': flex\n};\n","import { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\nimport Logo from '../../../message/logos';\nimport {\n addPeriod,\n altNoWrap,\n logo20x1,\n messageLogoWidth,\n setLogoTop,\n textWrap,\n xSmallFallback\n} from '../../../message/mediaQueries';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['rate']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nexport default {\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n ],\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 37, textSize, 'IT'),\n xSmallFallback(textSize * 18),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['fino a'],\n replace: [['rate.', 'rate']]\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 37),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 16),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 14}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 33.5, textSize, 'IT'),\n xSmallFallback(textSize * 14),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: ['fino a'],\n replace: [['rate.', 'rate']]\n },\n { tag: 'xsmall', br: ['ora, '] }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 19)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['rate'],\n replace: [['rate.', 'rate']]\n },\n {\n tag: 'xsmall.2',\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 19), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['rate'],\n replace: [['rate.', 'rate']]\n },\n {\n tag: 'xsmall.2',\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\nimport Logo from '../../../message/logos';\nimport {\n altNoWrap,\n logo20x1,\n messageLogoWidth,\n setLogoTop,\n textWrap,\n xSmallFallback\n} from '../../../message/mediaQueries';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['acquisti']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nexport default {\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n ],\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 48.5, textSize, 'IT'),\n xSmallFallback(textSize * 23),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['acquisti']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 17.4),\n setLogoTop(textSize * 49),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 21), messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 14}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 44, textSize, 'IT'),\n xSmallFallback(textSize * 19),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 24)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['acquisti'],\n replace: [['€.', '€']]\n },\n {\n tag: 'xsmall',\n br: ['dopo.'],\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 24), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium.2',\n br: ['acquisti'],\n replace: [['€.', '€']]\n },\n {\n tag: 'xsmall',\n br: ['dopo.'],\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\nimport Logo from '../../../message/logos';\nimport {\n altNoWrap,\n logo20x1,\n messageLogoWidth,\n setLogoTop,\n textWrap,\n xSmallFallback\n} from '../../../message/mediaQueries';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['al mese']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nexport default {\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n ],\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 37, textSize, 'IT'),\n xSmallFallback(textSize * 18),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['con']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 37),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['con']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 16),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['con']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 14}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 33.5, textSize, 'IT'),\n xSmallFallback(textSize * 14),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: ['con']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 19),\n `.message__headline .br:nth-child(2) {\n font-weight: bold;\n}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['con'],\n replace: [['0%.', '0%']]\n },\n {\n tag: 'xsmall.2',\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 19),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['al mese', 'con'],\n replace: [['0%.', '0%']]\n },\n {\n tag: 'xsmall.2',\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\nimport Logo from '../../../message/logos';\nimport {\n altNoWrap,\n logo20x1,\n messageLogoWidth,\n setLogoTop,\n textWrap,\n xSmallFallback\n} from '../../../message/mediaQueries';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['acquisti']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nexport default {\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n ],\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 48.5, textSize, 'IT'),\n xSmallFallback(textSize * 23),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['acquisti', '€, ']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 17.4),\n setLogoTop(textSize * 49),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['acquisti', '€, ']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 21),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n headline: [\n {\n tag: 'medium',\n br: ['acquisti', '€, ']\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 14}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 44, textSize, 'IT'),\n xSmallFallback(textSize * 19),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 24),\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['acquisti', '€, '],\n replace: [['0%.', '0%']]\n },\n {\n tag: 'xsmall',\n br: ['dopo.'],\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 24),\n `.message__logo { width: ${textSize * 4}px }`,\n `.message__headline .br:nth-child(3) {\n font-weight: bold;\n}`\n ],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium.2',\n br: ['acquisti', '€, '],\n replace: [['0%.', '0%']]\n },\n {\n tag: 'xsmall',\n br: ['dopo.'],\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\nimport Logo from '../../../message/logos';\nimport {\n addPeriod,\n altNoWrap,\n logo20x1,\n messageLogoWidth,\n setLogoTop,\n textWrap,\n xSmallFallback\n} from '../../../message/mediaQueries';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['da']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nexport default {\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['xsmall', 'default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n ],\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 37, textSize, 'IT'),\n xSmallFallback(textSize * 18),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['senza'],\n replace: [['interessi.', 'interessi']]\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['xsmall', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 37),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }`,\n xSmallFallback(textSize * 16),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n addPeriod()\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 14}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 33.5, textSize, 'IT'),\n xSmallFallback(textSize * 14),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n addPeriod()\n ],\n logo: Logo.PP_PAYPAL.COLOR[0],\n headline: [\n {\n tag: 'medium',\n br: ['senza'],\n replace: [['interessi.', 'interessi']]\n },\n { tag: 'xsmall' }\n ]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 19)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['senza'],\n replace: [['interessi.', 'interessi']]\n },\n {\n tag: 'xsmall.2',\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 19), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['senza'],\n replace: [['interessi.', 'interessi']]\n },\n {\n tag: 'xsmall.2',\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\nimport Logo from '../../../message/logos';\nimport {\n altNoWrap,\n logo20x1,\n messageLogoWidth,\n setLogoTop,\n textWrap,\n xSmallFallback\n} from '../../../message/mediaQueries';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['rate']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nexport default {\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['xsmall', 'default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n ],\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 48.5, textSize, 'IT'),\n xSmallFallback(textSize * 23),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['in', 'rate']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['xsmall', 'default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 17.4),\n setLogoTop(textSize * 49),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 21), messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 14}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 44, textSize, 'IT'),\n xSmallFallback(textSize * 19),\n altNoWrap(textSize * 14),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 24)],\n logo: false,\n headline: [\n {\n tag: 'medium.2',\n br: ['rate', 'in\\b'],\n replace: [\n ['interessi.', 'interessi'],\n ['dopo.', 'dopo']\n ]\n },\n {\n tag: 'xsmall.2',\n br: ['dopo.'],\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 24), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium.2',\n br: ['rate', 'in\\b'],\n replace: [\n ['interessi.', 'interessi'],\n ['dopo.', 'dopo']\n ]\n },\n {\n tag: 'xsmall.2',\n br: ['dopo.'],\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\nimport Logo from '../../../message/logos';\nimport {\n altNoWrap,\n logo20x1,\n messageLogoWidth,\n setLogoTop,\n textWrap,\n xSmallFallback\n} from '../../../message/mediaQueries';\n\nconst headlineBreaks = [\n {\n sizes: ['xsmall']\n },\n {\n sizes: ['medium'],\n breaks: ['rate']\n }\n].reduce((acc, item) => {\n const { sizes, breaks } = item;\n sizes.forEach(size => {\n acc.push({\n tag: size,\n br: breaks\n });\n });\n return acc;\n}, []);\n\nexport default {\n 'layout:flex': [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: []\n }\n ],\n [\n 'ratio:20x1',\n {\n headline: [...headlineBreaks],\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [...headlineBreaks]\n }\n ],\n ...flexLogoMutations\n ],\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 40.5, textSize, 'IT'),\n xSmallFallback(textSize * 22),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['in']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 17.4),\n setLogoTop(textSize * 41.5),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 17.4), messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 36.5, textSize, 'IT'),\n xSmallFallback(textSize * 17.75),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 20)],\n logo: false,\n headline: [\n {\n tag: 'medium.2',\n br: ['rate', 'in\\b'],\n replace: [\n ['interessi.', 'interessi'],\n ['dopo.', 'dopo']\n ]\n },\n {\n tag: 'xsmall.2',\n br: ['dopo.'],\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 20), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium.2',\n br: ['rate', 'in\\b'],\n replace: [\n ['interessi.', 'interessi'],\n ['dopo.', 'dopo']\n ]\n },\n {\n tag: 'xsmall.2',\n br: ['dopo.'],\n replace: [['dopo.', 'dopo']]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import logoInline from './logo--inline.css';\nimport sharedGPLTextStyles from '../../../common/styles/GPL/text';\n\nexport default [...sharedGPLTextStyles, ['logo.type:inline', logoInline]];\n","export default \".message__logo-container::before {\\n content: 'con ';\\n}\\n\\n.message__logo-container {\\n display: inline;\\n}\\n\\n.message__logo-container::after {\\n content: '.';\\n}\\n\\n.message__logo:last-child {\\n margin-top: -1px;\\n}\\n\\n.weak {\\n display: none;\\n}\\n\\n.message__headline {\\n white-space: normal;\\n}\\n\";","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n\\n.message__logo:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__headline {\\n font-size: 4vw;\\n}\\n\\n/* remove extra \\\"with Flex\\\" */\\n.message__headline > span:nth-of-type(3) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.7rem;\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 324px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n .message__headline .tag--medium .br:first-child {\\n display: inline;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 45%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) {\\n .message__headline {\\n font-size: 3vw;\\n line-height: 1.3em;\\n display: inline;\\n }\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n .message__logo:nth-of-type(1) {\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 374px) {\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n }\\n}\\n\\n@media (max-width: 374px) {\\n .message__headline {\\n font-size: 3.8vw;\\n }\\n\\n .message__logo-container {\\n margin-right: 2.5%;\\n }\\n\\n .weak {\\n margin-left: -1.6%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 767px) {\\n .message__headline::after {\\n content: ' ';\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 323px) {\\n .message__logo-container {\\n margin-right: 7%;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0 5px;\\n width: 30%;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')]\n];\n","export default \".message__logo-container {\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 8.4vw;\\n font-weight: 500;\\n line-height: 1.6em;\\n}\\n\\n.message__disclaimer {\\n position: static;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: normal;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\";","export default \".message__disclaimer span.multi:nth-of-type(1) {\\n display: none;\\n}\\n\\n.message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__logo-container {\\n width: 100%;\\n margin-bottom: 12%;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n\\n.message__headline {\\n font-size: 10vw;\\n line-height: 1.55em;\\n}\\n\\n@media (min-width: 140px) {\\n .message__headline {\\n font-size: 7.7vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n\\n.message__content {\\n padding: 7%;\\n}\\n\\n.message__headline {\\n font-size: 1rem;\\n margin-bottom: 10%;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.9rem;\\n}\\n\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.8rem;\\n }\\n}\\n\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n display: inline;\\n padding-right: 0;\\n margin-right: 0;\\n line-height: 1.3em;\\n }\\n\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 4px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 240px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 401px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 18%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 55%;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 375px) {\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 351px) {\\n .message__headline {\\n font-size: 3vw;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 360px) {\\n .message__messaging {\\n line-height: 1.3rem;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__logo-container {\\n margin-bottom: -3px;\\n max-width: 12%;\\n margin-right: 1.5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n\\n .message__promo-container {\\n width: unset;\\n }\\n\\n .message__messaging {\\n flex: none;\\n display: inline;\\n }\\n\\n .message__content {\\n justify-content: center;\\n }\\n\\n .message__sub-headline {\\n margin-left: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 4px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 351px) {\\n .message__disclaimer {\\n font-size: 0.8rem;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 903px) {\\n .message__logo-container {\\n margin-bottom: -6px;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 400px) {\\n .message__headline {\\n font-size: 2vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 20%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 60%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 523px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 600px) {\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: auto;\\n }\\n\\n .message__logo-container {\\n max-width: 18%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 401px) and (max-width: 522px) {\\n .message__logo-container {\\n max-width: 18%;\\n }\\n\\n .message__headline {\\n font-size: 2.75vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\";","import getMutations from './mutations';\nimport logos from '../../message/logos';\nimport styles from './styles';\nimport validOptions from './validOptions';\n\nexport default {\n localeClass: 'locale--IT',\n productName: ['con', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles\n};\n","import { Types } from '../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n }\n};\n","// mutations import here.\nimport longTermQ from './long_term_q';\nimport longTermNq from './long_term_nq';\nimport longTermQEqz from './long_term_q_eqz';\nimport longTermNqEqz from './long_term_nq_eqz';\nimport shortTermQ from './short_term_q';\nimport shortTermNq from './short_term_nq';\nimport shortTermNoAmount from './short_term_no_amount';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'PLLT_MQ_EZ':\n return longTermQEqz[type];\n case 'PLLT_NQ_EZ':\n return longTermNqEqz[type];\n case 'PLLT_MQ_GZ':\n return longTermQ[type];\n case 'PLLT_NQ_GZ':\n return longTermNq[type];\n case 'SHORT_TERM:Q':\n case 'PLST_SQ':\n return shortTermQ[type];\n case 'SHORT_TERM:NQ':\n case 'PLST_NQ':\n return shortTermNq[type];\n case 'SHORT_TERM:NO_AMOUNT':\n case 'PLST_NA':\n case 'PL_GENERIC':\n default:\n return shortTermNoAmount[type];\n }\n}\n","import text from './text';\nimport flex from './flex';\n\nexport default {\n 'layout:text': text,\n 'layout:flex': flex\n};\n","import { Types } from '../../types';\n\nexport default {\n text: {\n logo: {\n type: [Types.STRING, ['primary', 'alternative', 'inline', 'none']],\n position: [Types.STRING, ['left', 'right', 'top']]\n },\n text: {\n color: [Types.STRING, ['black', 'white', 'monochrome', 'grayscale|greyscale']],\n size: [Types.NUMBER, [12, 10, 11, 13, 14, 15, 16]],\n align: [Types.STRING, ['left', 'right', 'center']],\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n flex: {\n color: [\n Types.STRING,\n ['blue', 'black', 'white', 'white-no-border', 'gray|grey', 'monochrome', 'grayscale|greyscale']\n ],\n ratio: [Types.STRING, ['1x1', '1x4', '8x1', '20x1']],\n text: {\n fontFamily: [Types.ANY],\n fontSource: [Types.ANY]\n }\n },\n custom: {\n markup: [Types.STRING],\n ratio: [Types.ANY]\n }\n};\n","import Logo from '../../../message/logos';\nimport { textWrap, messageLogoWidth, altNoWrap, setLogoTop } from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n `\n @media (min-aspect-ratio: 200/11) and (min-width: 523px) {\n .message__logo-container {\n max-width: 12%;\n }\n }\n\n @media (min-aspect-ratio: 200/11) and (min-width: 300px) {\n .message__logo:nth-of-type(1) {\n width: 18%;\n }\n .message__logo:nth-of-type(2) {\n width: 60%;\n }\n }\n\n @media (min-aspect-ratio: 60/11) and (min-width: 324px) {\n .message__headline .tag--xsmall .br:first-child {\n display: inline;\n }\n }\n `\n ]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n styles: [\n `@media (min-aspect-ratio: 60/11) and (min-width: 324px) {\n .message__headline .tag--xsmall .br:first-child {\n display: inline;\n }\n }\n `\n ]\n }\n ],\n [\n 'ratio:1x4',\n {\n headline: [\n {\n tag: 'xsmall'\n }\n ],\n styles: [\n `.message__headline .tag--xsmall {\n display: inline;\n}`\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 38, textSize, 'US'),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [{ tag: 'xsmall' }],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [setLogoTop(textSize * 22), messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.5}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'US'),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25)\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [`@media screen and (max-width: ${textSize * 37.3}) {.message__content {margin-top: 0px;}}`],\n logo: false,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.', 'tard.'],\n replace: [\n ['later.', 'later'],\n ['tard.', 'tard']\n ]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [`.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'xsmall.2',\n br: ['later.', 'tard.'],\n replace: [\n ['later.', 'later'],\n ['tard.', 'tard']\n ]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n logo20x1\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default']\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [logo20x1()]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium',\n br: ['on']\n }\n ],\n styles: [\n `@media (min-aspect-ratio: 60/11) and (min-width: 324px) {\n .message__headline .tag--medium .br:first-child {\n display: inline;\n }\n }\n `\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 39.5, textSize, 'CA'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 20)\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['for', 'pour']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 16),\n setLogoTop(textSize * 40),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n xSmallFallback(textSize * 14.75 + 10),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25)\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 37, textSize, 'CA'),\n xSmallFallback(textSize * 15.4),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.locale--CA .message__headline > .tag--medium > span { white-space: normal }`,\n `@media screen and (max-width: ${\n textSize * 12.5\n }px) {.locale--CA .message__headline > .tag--xsmall > span { white-space: normal }}`\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['for', 'pour'],\n replace: [\n ['00.', '00'],\n ['00 $.', '00 $']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [\n ['later.', 'later'],\n ['tard.', 'tard']\n ]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['on'],\n replace: [\n ['00.', '00'],\n ['00 $.', '00 $']\n ]\n },\n {\n tag: 'xsmall.2',\n replace: [\n ['later.', 'later'],\n ['tard.', 'tard']\n ]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","import Logo from '../../../message/logos';\nimport {\n textWrap,\n messageLogoWidth,\n altNoWrap,\n setLogoTop,\n xSmallFallback,\n logo20x1\n} from '../../../message/mediaQueries';\nimport { flexLogoMutations, textLogoMutations } from '../../../message/logoMutations';\n\nconst flex = [\n [\n 'default',\n {\n logo: Logo.PP_PAYPAL.WHITE,\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium'\n }\n ],\n disclaimer: ['default'],\n styles: [\n '.message__headline .tag--medium > span:first-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n [\n 'ratio:20x1',\n {\n styles: [\n logo20x1(),\n '.message__headline .tag--medium > span:first-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n [\n 'ratio:8x1',\n {\n headline: [\n {\n tag: 'xsmall'\n },\n {\n tag: 'medium',\n br: ['payments', 'versements']\n }\n ],\n styles: [\n '.message__headline .tag--medium > span:first-child > span:last-child:after { content: \".\"; }',\n '.message__headline .tag--medium .weak { display: none; }'\n ]\n }\n ],\n ['color:white-no-border', { logo: Logo.PP_PAYPAL.COLOR }],\n ...flexLogoMutations\n];\n\nexport default {\n 'layout:flex': flex,\n 'layout:text': [\n [\n 'default',\n ({ textSize }) => ({\n styles: [\n textWrap(textSize * 32, textSize, 'CA'),\n xSmallFallback(textSize * 16),\n messageLogoWidth(false, textSize * 4, textSize * 1.25),\n setLogoTop(textSize * 16),\n `.message__headline > .tag--medium > span:not(.weak):first-child {white-space: nowrap;}`,\n `.weak { display: none}`,\n `.message__headline > .tag--medium > span::after {content: '.'}`\n ],\n logo: Logo.PP_PAYPAL.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['payments', 'versements']\n },\n { tag: 'xsmall' }\n ],\n disclaimer: ['default']\n })\n ],\n [\n 'logo.type:primary && logo.position:right',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }\n .message__headline > .tag--medium > span:not(.weak):first-child {white-space: nowrap;}`,\n xSmallFallback(textSize * 10.75),\n setLogoTop(textSize * 32),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n `.message__headline > .tag--medium > span::after {content: '.'}`\n ]\n })\n ],\n [\n 'logo.type:primary && logo.position:top',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${\n textSize * 18.5\n }px) { .message__headline > .tag--medium > span > span:first-child { white-space: normal; } }\n .message__headline > .tag--medium > span:not(.weak):first-child {white-space: nowrap;}`,\n xSmallFallback(textSize * 10.75),\n messageLogoWidth(textSize * 6, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n `.message__headline > .tag--medium > span::after {content: '.'}`\n ]\n })\n ],\n [\n 'logo.type:alternative',\n ({ textSize }) => ({\n styles: [\n `@media screen and (max-width: ${textSize * 10.6}px) { .message__content { white-space: nowrap; }}`,\n textWrap(textSize * 32, textSize, 'CA'),\n xSmallFallback(textSize * 11.5),\n altNoWrap(textSize * 10.6),\n messageLogoWidth(textSize * 1.75, textSize * 4, textSize * 1.25),\n `.weak { display: none}`,\n `.message__headline > .tag--medium > span::after {content: '.'}`\n ],\n logo: Logo.PP_PAYPAL.COLOR[0]\n })\n ],\n [\n 'logo.type:none',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18)],\n logo: false,\n headline: [\n {\n tag: 'medium',\n br: ['payments', 'versements']\n },\n {\n tag: 'xsmall.2',\n replace: [\n ['later.', 'later'],\n ['tard.', 'tard']\n ]\n }\n ]\n })\n ],\n [\n 'logo.type:inline',\n ({ textSize }) => ({\n styles: [xSmallFallback(textSize * 18), `.message__logo { width: ${textSize * 4}px }`],\n logo: Logo.NO_PP_MONOGRAM.COLOR,\n headline: [\n {\n tag: 'medium',\n br: ['payments', 'versements']\n },\n {\n tag: 'xsmall.2',\n replace: [\n ['later.', 'later'],\n ['tard.', 'tard']\n ]\n }\n ]\n })\n ],\n ...textLogoMutations\n ]\n};\n","/* eslint-disable eslint-comments/disable-enable-pair */\n// mutations import here.\nimport generic from './generic';\nimport shortTermNQ from './short_term_nq';\nimport shortTermQ from './short_term_q';\n\nexport default function getMutations(id, type) {\n switch (id) {\n case 'PLST_SQ':\n return shortTermQ[type];\n case 'PLST_NQ':\n return shortTermNQ[type];\n case 'GENERIC':\n case 'PL_GENERIC':\n default:\n return generic[type];\n }\n}\n","import logoInline from './logo--inline.css';\nimport logoInlineFr from './logo--inline_fr.css';\nimport sharedGPLTextStyles from '../../../common/styles/GPL/text';\n\nexport default function getTextStyles(language) {\n const inlineLogoCss = language === 'fr-CA' ? logoInlineFr : logoInline;\n return [...sharedGPLTextStyles, ['logo.type:inline', inlineLogoCss]];\n}\n","export default \".message__logo-container::before {\\n content: 'avec ';\\n}\\n\\n.message__logo-container::after {\\n content: '.';\\n}\\n\\n.message__logo:last-child {\\n margin-right: 0px;\\n}\\n\\n.weak {\\n display: none;\\n}\\n\";","export default \".message__logo-container::before {\\n content: 'with ';\\n}\\n\\n.message__logo-container::after {\\n content: '.';\\n}\\n\\n.message__logo:last-child {\\n margin-right: 0px;\\n}\\n\\n.weak {\\n display: none;\\n}\\n\";","export default \".message__logo-container {\\n display: flex;\\n align-items: center;\\n}\\n\\n.message__headline {\\n font-size: 8.4vw;\\n font-weight: 500;\\n line-height: 1.6em;\\n}\\n\\n.message__disclaimer {\\n position: static;\\n}\\n\\n.message__disclaimer > span {\\n font-weight: 400;\\n text-decoration: none;\\n white-space: normal;\\n}\\n\\n.message__disclaimer > span > span {\\n white-space: nowrap;\\n}\\n\\n.message__disclaimer > span > span:only-child,\\n.message__disclaimer > span > span.em {\\n text-decoration: underline;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 27px;\\n display: inline-block;\\n margin-right: 10px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 89px;\\n display: inline-block;\\n}\\n\\n.message__headline strong::after {\\n content: '.';\\n color: white;\\n font-style: normal;\\n font-weight: normal;\\n}\\n\\n.message__headline > span:nth-child(2) > strong {\\n font-weight: 500;\\n}\\n\\n.message__headline > span:nth-child(3) > strong {\\n font-weight: 500;\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\";","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n\\n.message__logo:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__headline {\\n font-size: 4vw;\\n}\\n\\n/* remove extra \\\"with Flex\\\" */\\n.message__headline > span:nth-of-type(3) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.7rem;\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 324px) {\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n .message__headline .tag--medium .br:first-child {\\n display: block;\\n }\\n .message__logo:nth-of-type(1) {\\n width: 45%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) {\\n .message__headline {\\n font-size: 5vw;\\n line-height: 1.3em;\\n display: inline;\\n }\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n .message__logo:nth-of-type(1) {\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 374px) {\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n }\\n}\\n\\n@media (max-width: 374px) {\\n .message__headline {\\n font-size: 5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 55%;\\n }\\n\\n .message__logo-container {\\n margin-right: 2.5%;\\n }\\n\\n .weak {\\n margin-left: -1.6%;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 767px) {\\n .message__headline::after {\\n content: ' ';\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (max-width: 323px) {\\n .message__logo-container {\\n margin-right: 7%;\\n }\\n .message__logo:nth-of-type(1) {\\n margin: 0 5px;\\n width: 30%;\\n }\\n .message__logo:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\";","import base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\n\nexport default [\n ['default', base],\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')]\n];\n","export default \".message__disclaimer span.multi:nth-of-type(1) {\\n display: none;\\n}\\n\\n.message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__logo-container {\\n width: 100%;\\n margin-bottom: 12%;\\n}\\n\\n.message__logo:nth-of-type(1) {\\n width: 29px;\\n max-width: 15%;\\n margin-right: 0px;\\n}\\n\\n.message__logo:nth-of-type(2) {\\n width: 91px;\\n max-width: 45%;\\n margin-left: 3%;\\n}\\n\\n.message__headline {\\n font-size: 10vw;\\n line-height: 1.55em;\\n}\\n\\n@media (min-width: 140px) {\\n .message__headline {\\n font-size: 8.4vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\";","export default \".message__logo-container {\\n width: 100%;\\n margin-top: 3%;\\n margin-bottom: 0;\\n}\\n\\n.message__messaging {\\n height: 100%;\\n transform: translateY(-80px);\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n}\\n\\n.message__headline {\\n font-size: 1.1rem;\\n margin-bottom: 10%;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 0.9rem;\\n}\\n\\n.message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n}\\n\\n.message__headline .tag--xsmall {\\n display: none;\\n}\\n\\n@media (min-height: 500px) {\\n .message__headline {\\n font-size: 1.7rem;\\n }\\n}\\n\\n@media (aspect-ratio: 1/2) {\\n .message__messaging {\\n transform: translateY(-40px);\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline {\\n display: inline;\\n padding-right: 0;\\n margin-right: 0;\\n line-height: 1.3em;\\n }\\n\\n .message__logo-container {\\n flex-basis: 12%;\\n margin-bottom: -6px;\\n justify-content: flex-start;\\n margin-left: 5px;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 50%;\\n margin-left: 10px;\\n margin-right: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 7px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 501px) {\\n .message__logo-container {\\n flex-basis: 22%;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 18%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 55%;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 375px) {\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 351px) {\\n .message__headline {\\n font-size: 3.5vw;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 360px) {\\n .message__messaging {\\n line-height: 1.3rem;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__logo-container {\\n margin-bottom: -3px;\\n max-width: 12%;\\n margin-right: 1.5vw;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 15%;\\n margin-right: 3%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n width: 55%;\\n }\\n\\n .message__promo-container {\\n width: unset;\\n }\\n\\n .message__messaging {\\n flex: none;\\n display: inline;\\n }\\n\\n .message__content {\\n justify-content: center;\\n }\\n\\n .message__sub-headline {\\n margin-left: 0;\\n }\\n\\n .message__disclaimer {\\n margin-left: 7px;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 351px) {\\n .message__disclaimer {\\n font-size: 0.8rem;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 903px) {\\n .message__logo-container {\\n margin-bottom: -6px;\\n }\\n}\\n@media (min-aspect-ratio: 200/11) and (min-width: 400px) {\\n .message__headline {\\n font-size: 2vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: inline;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: 20%;\\n margin-right: 5%;\\n }\\n\\n .message__logo:nth-of-type(2) {\\n display: inline-block;\\n width: 60%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 523px) {\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 600px) {\\n .message__logo:nth-of-type(2) {\\n display: none;\\n }\\n\\n .message__logo:nth-of-type(1) {\\n width: auto;\\n }\\n\\n .message__logo-container {\\n max-width: 18%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 401px) and (max-width: 522px) {\\n .message__logo-container {\\n max-width: 18%;\\n }\\n\\n .message__headline {\\n font-size: 2.75vw;\\n }\\n\\n .message__headline > span:nth-of-type(3) {\\n display: none;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (max-width: 350px) {\\n .message__headline {\\n font-size: 10px;\\n }\\n}\\n\";","import getTextStyles from './text';\nimport flex from './flex';\n\nexport default function getStyles(language) {\n return {\n 'layout:text': getTextStyles(language),\n 'layout:flex': flex\n };\n}\n","import validOptions from './validOptions';\nimport getMutations from './mutations';\nimport logos from '../../message/logos';\nimport getStyles from './styles';\n\nexport default language => ({\n localeClass: 'locale--CA',\n productName: language === 'fr-CA' ? ['avec', 'PayPal.'] : ['with', 'PayPal.'],\n validOptions,\n getMutations,\n logos,\n styles: getStyles\n});\n","import US from './US';\nimport DE from './DE';\nimport GB from './GB';\nimport FR from './FR';\nimport ES from './ES';\nimport AU from './AU';\nimport IT from './IT';\nimport CA from './CA';\n\nconst getLocaleSettings = (offerCountry, offerType, contextualComponents, language) => {\n switch (offerCountry) {\n case 'DE':\n return DE(offerType);\n case 'GB':\n return GB;\n case 'ES':\n return ES;\n case 'FR':\n return FR;\n case 'AU':\n return AU;\n case 'IT':\n return IT;\n case 'CA':\n return CA(language);\n case 'US':\n default:\n return US(offerType, contextualComponents);\n }\n};\n\nexport function getLocaleClass(locale, offerType, contextualComponents) {\n return getLocaleSettings(locale, offerType, contextualComponents).localeClass;\n}\n\nexport function getLocaleProductName(locale, offerType, contextualComponents, language) {\n return getLocaleSettings(locale, offerType, contextualComponents, language).productName;\n}\n\nexport function getValidOptions(locale, offerType, contextualComponents) {\n return getLocaleSettings(locale, offerType, contextualComponents).validOptions;\n}\n\nexport function getMutations(locale, offerType, type, contextualComponents) {\n if (type === 'layout:custom') return {};\n const mutations = getLocaleSettings(locale, offerType, contextualComponents)\n .getMutations(offerType, type)\n .map(mutation => {\n if (mutation[1].styles) {\n return [\n mutation[0],\n {\n ...mutation[1],\n styles: mutation[1].styles.map(style =>\n style.replace(\n /\\.message/g,\n `.${getLocaleClass(locale, offerType, contextualComponents)} .message`\n )\n )\n }\n ];\n }\n\n return mutation;\n });\n\n return mutations;\n}\n\nexport function getLogos(locale, offerType) {\n return getLocaleSettings(locale, offerType).logos;\n}\n\nexport function getLocaleStyles(locale, layout, offerType, contextualComponents, language) {\n const settings = getLocaleSettings(locale, offerType, contextualComponents, language);\n // If styles is a function, call it with language\n const styles = typeof settings.styles === 'function' ? settings.styles(language) : settings.styles;\n return (styles && styles[layout]) ?? [];\n}\n","import gpl from './GPL/index';\nimport pi30 from './Pi30/index';\nimport { OFFER, getStandardProductOffer } from '../../../utils/server';\n\nexport default offerType => {\n switch (getStandardProductOffer(offerType)) {\n case OFFER.PAY_LATER_PAY_IN_1:\n return pi30;\n case OFFER.PAY_LATER_SHORT_TERM:\n default:\n // Generic message is included with the gpl mutations.\n // Default case catches GENERIC where getStandardProductOffer returns `undefined`\n return gpl;\n }\n};\n","import payLaterShortTerm from './PAY_LATER_SHORT_TERM';\nimport paypalCredit from './PAYPAL_CREDIT';\nimport payLaterLongTerm from './PAY_LATER_LONG_TERM';\nimport Buttons from './CONTEXTUAL_COMPONENTS/BUTTONS';\nimport Marks from './CONTEXTUAL_COMPONENTS/MARKS';\n\nimport { OFFER, getStandardProductOffer } from '../../../utils/server';\n\nexport default (offerType, contextualComponents) => {\n // Buttons messages\n if (contextualComponents?.includes('BUTTON')) {\n return Buttons;\n }\n // Marks messages\n if (contextualComponents?.includes('MARK')) {\n return Marks;\n }\n // Non-contextualComponents messages\n switch (getStandardProductOffer(offerType)) {\n case OFFER.PAYPAL_CREDIT_NO_INTEREST:\n return paypalCredit;\n case OFFER.PAY_LATER_SHORT_TERM:\n return payLaterShortTerm;\n case OFFER.PAY_LATER_LONG_TERM:\n default:\n // Generic message is included with the long term mutations.\n // Default case catches GENERIC where getStandardProductOffer returns `undefined`\n return payLaterLongTerm;\n }\n};\n","export default \"* {\\n box-sizing: border-box;\\n margin: 0;\\n padding: 0;\\n}\\n\\nhtml {\\n color: #2d2d2d;\\n font-family: Helvetica, Arial, sans-serif;\\n font-size: 14px;\\n font-weight: 400;\\n overflow: hidden;\\n}\\n\\nimg {\\n display: block;\\n width: 100%;\\n height: auto;\\n}\\n\\n.message__logo--svg {\\n position: relative;\\n}\\n\\n.message__logo img {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n}\\n\\n/* IE will not properly scale a SVG element, but will scale a canvas element */\\n.message__logo canvas {\\n display: block;\\n width: 100%;\\n visibility: hidden;\\n}\\n\\n/* for screen readers */\\n.sr-only {\\n border: 0 !important;\\n clip: rect(1px, 1px, 1px, 1px) !important;\\n -webkit-clip-path: inset(50%) !important;\\n clip-path: inset(50%) !important;\\n height: 1px !important;\\n margin: -1px !important;\\n overflow: hidden !important;\\n padding: 0 !important;\\n position: absolute !important;\\n width: 1px !important;\\n white-space: nowrap !important;\\n}\\n\";","export default \".message__content {\\n display: inline-block;\\n}\\n\\n.message__messaging {\\n margin: 0;\\n}\\n\\n.message__logo-container {\\n display: inline;\\n white-space: nowrap;\\n margin: 0;\\n}\\n.message__logo-container::before {\\n content: 'with ';\\n}\\n\\n.message__logo {\\n display: inline-block;\\n width: 7rem;\\n vertical-align: middle;\\n}\\n\\n.message__headline .em {\\n display: inline-block;\\n white-space: nowrap;\\n}\\n\\n.message__headline > span:nth-last-child(2)::after {\\n content: ' ';\\n}\\n\";","export default \"/* Not a valid style option ratio, but used as the mobile base for 8x1 and 20x1 */\\n\\n.message__content {\\n display: flex;\\n padding-right: 1rem;\\n align-items: center;\\n}\\n\\n.message__logo-container {\\n flex: 0 0 33%;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n}\\n\\n.message__logo {\\n width: 60%;\\n}\\n\\n.message__messaging {\\n position: relative;\\n flex: 1 1 100%;\\n display: block;\\n}\\n\\n.message__messaging > * {\\n width: 100%;\\n}\\n\\n.message__headline {\\n font-size: 5vw;\\n line-height: 1;\\n margin-bottom: 0.2em;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n}\\n\\n.message__promo-container {\\n display: inline;\\n}\\n\\n.message__headline span.multi:nth-of-type(2) {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n font-size: 10px;\\n line-height: 1.1;\\n display: inline;\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 400px) {\\n .message__logo-container {\\n flex: 0 0 25%;\\n }\\n\\n .message__headline {\\n font-size: 4vw;\\n margin-bottom: 0.5rem;\\n }\\n\\n .message__sub-headline {\\n font-size: 3vw;\\n display: inline;\\n }\\n\\n .message__sub-headline > span {\\n margin-right: 1rem;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 520px) {\\n .message__logo-container {\\n flex: 0 0 25%;\\n }\\n\\n .message__headline {\\n line-height: 1.1;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.85rem;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n}\\n\\n@media (max-aspect-ratio: 61/10) and (min-width: 640px) {\\n .message__headline {\\n font-size: 1.7rem;\\n }\\n}\\n\";","import text from './text';\nimport flex from './flex';\nimport custom from './custom';\n\nconst styles = {\n 'layout:text': text,\n 'layout:flex': flex,\n // TODO: Separate custom styles/mutations into modules\n 'layout:custom': custom\n};\n\nexport default styles;\n","import common from '../common.css';\nimport base from './base.css';\nimport logoAlternative from './logo--alternative.css';\nimport logoInline from './logo--inline.css';\nimport logoNone from './logo--none.css';\nimport logoRight from './logo--right.css';\nimport logoTop from './logo--top.css';\nimport logoAlternativePositionTop from './logo--alternative-position--top.css';\nimport textWhite from './text--white.css';\nimport textBlack from './text--black.css';\nimport textMonochrome from './text--monochrome.css';\nimport textGrayscale from './text--grayscale.css';\n\nexport default [\n ['default', [common, base].join('\\n')],\n\n ['logo.type:alternative', logoAlternative],\n ['logo.type:inline', logoInline],\n ['logo.type:none', [logoInline, logoNone].join('\\n')],\n\n ['logo.position:right', logoRight],\n ['logo.position:top', logoTop],\n ['logo.type:alternative && logo.position:top', logoAlternativePositionTop],\n\n ['text.color:black', textBlack],\n ['text.color:white', textWhite],\n ['text.color:monochrome', textMonochrome],\n ['text.color:grayscale', textGrayscale]\n];\n","export default \"button:focus .message__content,\\nbutton:focus .message__content span.br {\\n text-decoration: underline;\\n}\\n\\n.message {\\n display: block;\\n width: 100%;\\n color: #2c2e2f;\\n cursor: pointer;\\n}\\n\\n.message__container {\\n min-width: 100%;\\n}\\n\\n.message__content {\\n display: inline-flex;\\n align-items: center;\\n min-width: 100%;\\n}\\n\\n.message__logo-container {\\n flex: 0 0 auto;\\n width: 70px;\\n margin-right: 0.8rem;\\n}\\n\\n.message__messaging {\\n white-space: normal;\\n position: relative;\\n top: -0.05em;\\n line-height: 1.3;\\n}\\n\\n.message__messaging span.br {\\n white-space: nowrap;\\n}\\n\\n.message__promo-container {\\n display: inline;\\n}\\n\\n.message__headline {\\n display: inline;\\n font-weight: 400;\\n font-size: inherit;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n font-size: inherit;\\n}\\n\\n.message__disclaimer {\\n display: inline;\\n white-space: nowrap;\\n font-weight: 400;\\n font-size: inherit;\\n}\\n\\n.message__disclaimer > span {\\n color: #0070ba;\\n font-weight: 500;\\n}\\n\\n.message__disclaimer > span:not(.multi),\\n.message__disclaimer > span.multi:last-of-type {\\n text-decoration: underline;\\n}\\n\\n/* For non-US NI disclaimer */\\n.message__disclaimer > span.multi:first-of-type {\\n color: #2c2e2f;\\n font-weight: normal;\\n text-decoration: none;\\n}\\n\";","export default \".message__messaging {\\n display: inline-block;\\n white-space: normal;\\n flex: 0 0 auto;\\n}\\n\\n.message__headline span:only-child {\\n white-space: nowrap;\\n}\\n\\n/* .message__headline span.multi:first-child {\\n display: none;\\n}\\n\\n.message__headline span.multi:nth-child(2) {\\n display: inline;\\n} */\\n\\n.message__messaging span.br {\\n white-space: normal;\\n}\\n\\n.message__logo-container {\\n display: inline-block;\\n margin-right: 0.6rem;\\n}\\n\\n.message__content {\\n display: inline-block;\\n}\\n\";","export default \".message__headline > span:last-of-type {\\n display: inline-block;\\n}\\n\";","export default \".message__logo-container {\\n order: 2;\\n}\\n\";","export default \".message__content {\\n display: inline-block;\\n /* IE does not like flex-direction: column;\\n flex-direction: column;\\n align-items: flex-start; */\\n}\\n\\n.message__logo-container {\\n margin: 0 0 0.2rem 0;\\n}\\n\";","export default \".message__messaging {\\n white-space: normal;\\n}\\n\\n.message__headline span:only-child {\\n white-space: normal;\\n}\\n\\n.message__logo-container {\\n display: block;\\n}\\n\";","export default \".message__disclaimer > span:not(.multi),\\n.message__disclaimer > span.multi:last-of-type {\\n text-decoration: underline;\\n}\\n\";","export default \".message {\\n color: white;\\n}\\n\\n.message__headline {\\n color: white;\\n}\\n\\n.message__disclaimer span {\\n color: white;\\n}\\n\";","export default \".message__headline {\\n color: black;\\n}\\n\\n.message__headline > span:first-of-type {\\n color: black;\\n}\\n\\n.message__messaging .message__headline > span:first-of-type {\\n color: black;\\n}\\n\\n.message__disclaimer span {\\n color: black;\\n}\\n\";","export default \".message__messaging .message__headline > span:first-of-type {\\n color: #2c2e2f;\\n}\\n\\n.message__headline > span:first-of-type {\\n color: #2c2e2f;\\n}\\n\\n.message__disclaimer span {\\n color: #2c2e2f;\\n}\\n\";","import common from '../common.css';\nimport base from './base.css';\nimport ratio1x1 from './ratio--1x1.css';\nimport ratio1x4 from './ratio--1x4.css';\nimport ratio6x1 from './ratio--6x1.css';\nimport ratio8x1 from './ratio--8x1.css';\nimport ratio20x1 from './ratio--20x1.css';\nimport colorBlue from './color--blue.css';\nimport colorGray from './color--gray.css';\nimport colorBlack from './color--black.css';\nimport colorWhite from './color--white.css';\nimport colorWhiteNoBorder from './color--white-no-border.css';\nimport colorMonochrome from './color--monochrome.css';\nimport colorGrayscale from './color--grayscale.css';\n\nexport default [\n ['default', [common, base].join('\\n')],\n\n ['ratio:1x1', ratio1x1],\n ['ratio:1x4', ratio1x4],\n ['ratio:8x1', [ratio6x1, ratio8x1].join('\\n')],\n ['ratio:20x1', [ratio6x1, ratio20x1].join('\\n')],\n\n ['color:blue', colorBlue],\n ['color:gray', colorGray],\n ['color:black', colorBlack],\n ['color:white', colorWhite],\n ['color:white-no-border', colorWhiteNoBorder],\n ['color:monochrome', colorMonochrome],\n ['color:grayscale', colorGrayscale]\n];\n","export default \"/* Sizing will be handled by the iframe container */\\nhtml,\\nbody,\\nbutton {\\n height: 100%;\\n}\\n\\n.message {\\n cursor: pointer;\\n}\\n\\n.message .br {\\n display: inline-block;\\n}\\n\\n.message .em {\\n font-family: Helvetica, Arial, sans-serif;\\n font-weight: 400;\\n}\\n\\n.message__container,\\n.message__foreground,\\n.message__content,\\n.message__background {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n overflow: hidden;\\n}\\n\\nbutton:focus .message__content,\\nbutton:focus .message__content span.br {\\n text-decoration: underline;\\n}\\n\\n.message__headline,\\n.message__sub-headline,\\n.message__disclaimer {\\n font-family: Helvetica, Arial, sans-serif;\\n font-weight: 300;\\n}\\n\\n.message__headline {\\n font-family: Helvetica, Arial, sans-serif;\\n font-weight: 400;\\n}\\n.message__headline .weak {\\n font-family: Helvetica, Arial, sans-serif;\\n font-weight: 300;\\n}\\n\\n.message__disclaimer > span:not(.multi),\\n.message__disclaimer > span.multi:last-of-type {\\n font-weight: 300;\\n text-decoration: underline;\\n white-space: nowrap;\\n}\\n\\n.message__background {\\n z-index: -1;\\n}\\n\\n.message__messaging {\\n font-size: 0;\\n}\\n\";","export default \".message__content {\\n padding: 7%;\\n}\\n\\n.message__logo-container {\\n width: 50%;\\n margin-bottom: 7%;\\n}\\n\\n.message__headline {\\n font-size: 10vw;\\n line-height: 1.1em;\\n}\\n\\n.message__sub-headline {\\n display: none;\\n}\\n\\n.message__disclaimer {\\n position: absolute;\\n width: 80%;\\n bottom: 7%;\\n font-size: 9.5px;\\n}\\n\\n@media (min-width: 170px) {\\n .message__headline {\\n font-size: 8vw;\\n }\\n\\n .message__sub-headline {\\n font-size: 7vw;\\n line-height: 1.3em;\\n margin-top: 3%;\\n display: block;\\n }\\n\\n .message__disclaimer {\\n font-size: 5.5vw;\\n }\\n}\\n\\n@media (min-width: 220px) {\\n .message__disclaimer {\\n font-size: 4.5vw;\\n }\\n}\\n\";","export default \".message__content {\\n padding: 8%;\\n}\\n\\n.message__logo-container {\\n width: 70%;\\n margin-bottom: 12%;\\n}\\n\\n.message__headline {\\n font-size: 1.6rem;\\n line-height: 1.3em;\\n margin-bottom: 24%;\\n}\\n\\n.message__sub-headline {\\n font-size: 1.56rem;\\n line-height: 1.3em;\\n margin-bottom: 40%;\\n margin-bottom: 24%;\\n}\\n\\n.message__disclaimer {\\n position: absolute;\\n bottom: 4%;\\n font-size: 0.75rem;\\n}\\n\\n@media (max-aspect-ratio: 11/40) {\\n .message__logo-container {\\n margin: 15% 0 30%;\\n }\\n\\n .message__disclaimer {\\n position: static;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(1).tag--xlarge {\\n margin-bottom: 40%;\\n display: block;\\n }\\n\\n .message__disclaimer span.multi:nth-of-type(2) {\\n display: block;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 80/11) {\\n .message__headline span.multi:nth-of-type(2),\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__messaging {\\n position: relative;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.625rem;\\n }\\n\\n .message__logo-container {\\n flex: 0 0 22%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 240px) {\\n .message__messaging {\\n line-height: 0.9;\\n }\\n\\n .message__headline {\\n font-size: 4vw;\\n line-height: 1.1;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 280px) {\\n .message__disclaimer {\\n padding-right: 2%;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 360px) {\\n .message__messaging {\\n line-height: 1;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.75rem;\\n }\\n}\\n\\n/*IE specific*/\\n@media (min-aspect-ratio: 80/11) and (-ms-high-contrast: none) and (min-width: 360px) {\\n .message__disclaimer {\\n line-height: 1;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 500px) {\\n .message__headline {\\n font-size: 3vw;\\n padding-right: 12%;\\n margin: 0 0 1% 0;\\n }\\n\\n .message__sub-headline {\\n font-size: 2.5vw;\\n display: inline;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__disclaimer {\\n font-size: 0.75rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 80/11) and (min-width: 600px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n }\\n}\\n\\n/*IE specific*/\\n@media (min-aspect-ratio: 80/11) and (-ms-high-contrast: none) and (min-width: 500px) {\\n .message__disclaimer {\\n font-size: 2vw;\\n line-height: 1.6em;\\n }\\n}\\n\";","export default \"@media (min-aspect-ratio: 200/11) {\\n .message__logo-container {\\n flex: 1 0 20%;\\n }\\n\\n .message__logo {\\n width: 50%;\\n }\\n\\n .message__messaging {\\n flex: 1 1 85%;\\n display: flex;\\n align-items: center;\\n }\\n\\n .message__headline {\\n flex: 1 1 60%;\\n font-size: 0.7rem;\\n line-height: 1;\\n margin: 0;\\n display: inline;\\n }\\n\\n .message__sub-headline {\\n display: none;\\n }\\n\\n .message__disclaimer {\\n flex: 0 0 auto;\\n width: auto;\\n max-width: 12rem;\\n padding: 0;\\n font-size: 8px;\\n line-height: 1.1;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 400px) {\\n .message__headline {\\n font-size: 1rem;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 600px) {\\n .message__logo-container {\\n flex: 1 0 10%;\\n }\\n\\n .message__logo {\\n width: 60%;\\n }\\n\\n .message__headline {\\n font-size: 1.8vw;\\n }\\n\\n .message__headline span.multi:nth-of-type(2) {\\n display: inline;\\n }\\n\\n .message__headline span.multi:nth-of-type(1) {\\n display: none;\\n }\\n\\n .message__disclaimer {\\n padding-right: 1rem;\\n font-size: 0.75rem;\\n line-height: 1.2;\\n }\\n\\n .message__sub-headline {\\n font-size: 1.6vw;\\n line-height: 1.3em;\\n margin-left: 2vw;\\n display: inline;\\n }\\n}\\n\\n@media (min-aspect-ratio: 200/11) and (min-width: 1000px) {\\n .message__disclaimer {\\n font-size: 0.9rem;\\n max-width: 14rem;\\n }\\n}\\n\";","export default \".message__content {\\n color: white;\\n}\\n\\n.message__background {\\n background: #023188;\\n}\\n\";","export default \".message__content {\\n color: #023187;\\n}\\n\\n.message__background {\\n background: #eaeced;\\n}\\n\";","export default \".message__content {\\n color: white;\\n}\\n\\n.message__background {\\n background: #000000;\\n}\\n\";","export default \".message__content {\\n color: #023187;\\n border: 1px solid #009cde;\\n}\\n\\n.message__background {\\n background: #ffffff;\\n}\\n\";","export default \".message__content {\\n color: #023187;\\n}\\n\\n.message__background {\\n background: #ffffff;\\n}\\n\";","export default \".message__content {\\n color: black;\\n border: 1px solid black;\\n}\\n\\n.message__background {\\n background: #ffffff;\\n}\\n\";","export default \".message__content {\\n border: 1px solid #b7bcbf;\\n}\\n\\n.message__background {\\n background: #ffffff;\\n}\\n\";","import base from './base.css';\n\nexport default [['default', base]];\n","export default \"* {\\n box-sizing: border-box;\\n margin: 0;\\n padding: 0;\\n}\\n\\n.message__logo--svg {\\n position: relative;\\n}\\n\\n.message__logo--svg img {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n}\\n.message__logo--svg canvas {\\n display: block;\\n width: 100%;\\n visibility: hidden;\\n}\\n\\n.sr-only {\\n border: 0 !important;\\n clip: rect(1px, 1px, 1px, 1px) !important;\\n -webkit-clip-path: inset(50%) !important;\\n clip-path: inset(50%) !important;\\n height: 1px !important;\\n margin: -1px !important;\\n overflow: hidden !important;\\n padding: 0 !important;\\n position: absolute !important;\\n width: 1px !important;\\n white-space: nowrap !important;\\n}\\n\";","/** @jsx h */\nimport { h } from 'preact';\n\nconst Logos = ({ mutations }) => {\n if (!mutations) return null;\n\n const logos = Array.isArray(mutations) ? mutations : [mutations];\n\n return (\n <div className=\"message__logo-container\" aria-hidden=\"true\">\n {logos.map(({ src, dimensions: [width, height] }) => (\n <div className=\"message__logo message__logo--svg\">\n <img src={src} alt=\"\" role=\"presentation\" />\n <canvas height={height} width={width} />\n </div>\n ))}\n </div>\n );\n};\n\nexport default Logos;\n","/** @jsx h */\n/** @jsxFrag Fragment */\nimport { h, Fragment } from 'preact';\n\nconst Text = ({ children, className, spaced }) => {\n // if (children.)\n let text = <span className={className}>{children}</span>;\n\n const hasHtml = typeof children === 'string' && children.includes('<span');\n if (hasHtml) {\n // eslint-disable-next-line react/no-danger\n text = <span className={className} dangerouslySetInnerHTML={{ __html: children }} />;\n }\n\n return spaced ? <>{text} </> : text;\n};\n\nexport default Text;\n","/** @jsx h */\nimport { h } from 'preact';\nimport Text from './Text';\n\n/**\n * Splits text at the first occurrence of a break word.\n * If the break word is not found, returns the original text in an array.\n *\n * @param {string} text - The text to be split\n * @param {string} breakWord - The word to split by\n * @returns {string[]} An array containing either [text] if breakWord not found,\n * or [firstPart, secondPart] where firstPart ends with breakWord\n */\nfunction splitText(text, breakWord) {\n const breakIndex = text.indexOf(breakWord) + breakWord.length;\n const s1 = text.slice(0, breakIndex).trim();\n\n if (text.length !== breakIndex) {\n const s2 = text.slice(breakIndex).trim();\n return [s1, s2];\n }\n\n return [s1];\n}\n\nconst BreakText = ({ textParts, options }) => {\n const availableBreaks = [...options.br];\n return textParts.map(([text, className = ''], idx) => {\n // Last portion of text should not have a space after it\n const spaced = idx < textParts.length - 1;\n const containedBreaks = [];\n\n while (availableBreaks.length > 0 && typeof text === 'string' && text.includes(availableBreaks[0])) {\n containedBreaks.push(availableBreaks[0]);\n availableBreaks.shift();\n }\n\n if (typeof text !== 'string') {\n return null;\n }\n\n // Prevent unnecessary nesting if the entire span innerText would be wrapped in a single br span\n if (containedBreaks.length === 0 || (containedBreaks.length === 1 && text.endsWith(containedBreaks[0]))) {\n return (\n <Text className={`${className} br`} spaced={spaced}>\n {text}\n </Text>\n );\n }\n\n const breakText = containedBreaks.reduce(\n (accumulator, breakWord) => {\n const split = splitText(accumulator[accumulator.length - 1], breakWord);\n return [...accumulator.slice(0, -1), ...split];\n },\n [text]\n );\n\n return (\n <Text className={className} spaced={spaced}>\n {breakText.map((breakTextPart, breakIdx) => (\n <Text className=\"br\" spaced={breakIdx < breakText.length - 1}>\n {breakTextPart}\n </Text>\n ))}\n </Text>\n );\n });\n};\n\nexport default BreakText;\n","/** @jsx h */\nimport { h } from 'preact';\n\nimport { getDataByTag } from '../../../utils/server';\nimport Text from './Text';\nimport BreakText from './BreakText';\n\nconst MutatedText = ({ tagData, options }) => {\n if (typeof options !== 'string' && typeof options !== 'object') return null;\n\n let uniformOptions;\n if (typeof options === 'string') {\n uniformOptions = [{ tag: options }];\n } else if (!Array.isArray(options)) {\n uniformOptions = [options];\n } else {\n uniformOptions = options;\n }\n\n /**\n * 1. (\\$|£)?\n * Either $ or £ or... neither\n * 2. \\d{1,5}\n * Between 1-5 digits\n * 3. (\\.|,)\n * Either a comma or period decimal\n * 4. {1,3}\n * Between 1-3 occurances of steps 2 and 3.\n * 5. 00\n * The 00 after the decimal\n * 6. (€|(.|\\s*)EUR)?\n * An optional € or EUR\n * 7. -\n * A dash\n * 8. For the rest of the pattern refer to 1-6.\n * 9. Or check for a comma or period decimal followed by two digits and a potential space, then EUR.\n */\n const currencyFormat = string => {\n let formattedStr = string;\n // truncate zeros for non-qualifying messages\n const matchNQ = formattedStr.match(\n // eslint-disable-next-line security/detect-unsafe-regex\n /((\\$|£)?(\\d{1,5}(\\.|,)){1,3}00(€|(.|\\s*)EUR|(.|\\s*)\\$)?((-|(\\s(\\D{1,3})\\s))(\\$|£)?(\\d{1,5}(\\.|,|\\s)){1,3}00(€|(.|\\s*)EUR|(.|\\s*)\\$)?|\\+))/g\n );\n if (matchNQ !== null) {\n matchNQ.forEach(foundString => {\n const filteredString = foundString\n .replace(/(\\.|,)00-/g, '-')\n .replace(/(\\.|,)00$/g, '')\n .replace(/(\\.|,)00€/g, '€')\n .replace(/(\\.|,)00(.|\\s*)EUR/g, '€')\n .replace(/(\\.|,)00(.|\\s*)\\$/g, ' $')\n .replace(/(\\s*EUR)/g, '€')\n .replace(/(\\.|,)00(\\+)/g, '+');\n formattedStr = formattedStr.replace(foundString, filteredString);\n });\n }\n // replace EUR with '€' for DEFRITES qualifying messages\n const matchQ = formattedStr.match(/\\d\\s*EUR/g);\n if (matchQ !== null) {\n matchQ.forEach(foundString => {\n const currencySymbol = foundString.replace(/\\s*EUR/g, '€');\n formattedStr = formattedStr.replace(foundString, currencySymbol);\n });\n }\n return formattedStr;\n };\n\n return uniformOptions.map((op, optionIdx) => {\n const { tag, ...otherOptions } = typeof op === 'string' ? { tag: op } : op;\n const textData = getDataByTag(tagData, tag);\n const uniformText = Array.isArray(textData) ? textData : [textData];\n const uniformTextParts = uniformText\n .map(text => (Array.isArray(text) ? text : [text, '']))\n .map(([text, className]) => [\n otherOptions.replace\n ? otherOptions.replace.reduce(\n (accumulator, [substr, replacement]) => accumulator.replace(substr, replacement),\n currencyFormat(text)\n )\n : currencyFormat(text),\n className\n ]);\n\n return (\n <Text\n className={`tag--${tag.split('.', 1)[0]} ${uniformOptions.length > 1 ? 'multi' : ''}`}\n spaced={optionIdx < uniformOptions.length - 1}\n >\n {otherOptions.br ? (\n <BreakText textParts={uniformTextParts} options={otherOptions} />\n ) : (\n uniformTextParts.map(([text, className], idx) => (\n <Text className={className} spaced={idx < uniformTextParts.length - 1}>\n {text}\n </Text>\n ))\n )}\n </Text>\n );\n });\n};\n\nexport default MutatedText;\n","/** @jsx h */\n/** @jsxFrag Fragment */\nimport { h, Fragment } from 'preact';\n\n// Disabling of react/no-danger is done line by line to ensure the code is intentional. Do not block disable this.\n// Shared mutations, styles, and fonts between custom and non-custom messages/banners.\nconst Styles = ({ globalStyleRules, localeStyleRules, mutationStyleRules, miscStyleRules, customFontStyleRules }) => {\n return (\n <>\n {/* eslint-disable-next-line react/no-danger */}\n <style className=\"styles__global\" dangerouslySetInnerHTML={{ __html: globalStyleRules.join('\\n') }} />\n {/* eslint-disable-next-line react/no-danger */}\n <style className=\"styles__locale\" dangerouslySetInnerHTML={{ __html: localeStyleRules.join('\\n') }} />\n {/* eslint-disable-next-line react/no-danger */}\n <style className=\"styles__mutations\" dangerouslySetInnerHTML={{ __html: mutationStyleRules.join('\\n') }} />\n {/* eslint-disable-next-line react/no-danger */}\n <style className=\"styles__misc\" dangerouslySetInnerHTML={{ __html: miscStyleRules.join('\\n') }} />\n <style\n className=\"styles__customFont\"\n /* eslint-disable-next-line react/no-danger */\n dangerouslySetInnerHTML={{ __html: customFontStyleRules.join('\\n') }}\n />\n </>\n );\n};\n\nexport default Styles;\n","/** @jsx h */\n/** @jsxFrag Fragment */\nimport { h, Fragment } from 'preact';\nimport render from 'preact-render-to-string';\nimport { getLogos } from '../../locale';\nimport { getDataByTag } from '../../../utils/server';\nimport Text from './Text';\n\nconst getMarkup = textData => {\n const uniformText = Array.isArray(textData) ? textData : [textData];\n\n const spans = uniformText.map(text => {\n if (Array.isArray(text)) {\n const [textContent, className] = text;\n return (\n <Text spaced className={className}>\n {textContent}\n </Text>\n );\n }\n return <Text spaced>{text}</Text>;\n });\n\n return spans;\n};\n\nconst CustomMessage = ({ children, data, meta, template }) => {\n if (template === '') {\n return '';\n }\n\n const populatedMarkup = template.replace(/{{\\s*?([^\\s]+?)\\s*?}}/g, (_, templateVariable) => {\n const [type, ...parts] = templateVariable.split('.');\n\n if (type === 'logo') {\n const src = getLogos(meta.offerCountry, meta.offerType)[parts[0].toUpperCase()][parts[1].toUpperCase()]\n ?.src;\n return `<img alt=\"PayPal Credit\" src=\"${src}\" />`;\n }\n\n const tag = parts.join('.');\n return getMarkup(getDataByTag(data[type], tag)).reduce(\n (accumulator, span) => {\n return `${accumulator}${render(span) || ' '}`;\n }, // Space fallback for textNodes\n ''\n );\n });\n\n const offerTypeClass = meta.offerType ? `offer--${meta.offerType.replace(/:/g, '-').toLowerCase()}` : '';\n return (\n <>\n {children}\n {/* eslint-disable-next-line react/no-danger */}\n <div className={`message ${offerTypeClass}`} dangerouslySetInnerHTML={{ __html: populatedMarkup }} />\n </>\n );\n};\n\nexport default CustomMessage;\n","let customFontCounter = 1;\n\n/**\n * Create a font-face css rule for a given value fontSource value\n * @param {string} val - the fontSource value the merchant wishes to use\n * @returns {string} result\n */\nconst generateFontFaceRule = value => {\n const name = `Merchant Custom Font ${customFontCounter}`;\n customFontCounter += 1;\n return {\n name: `'${name}'`,\n rule: `@font-face {\n font-family: '${name}';\n src: url('${value}');\n}`\n };\n};\n\n/**\n * Format a fontFamily value\n * @param {string} val - the font-family value the merchant wishes to use\n * @returns {string} result\n */\nconst formatFontFamilyName = val => {\n // using a generic family requires the value not be quoted\n const genericFamilies = {\n serif: 'serif',\n 'sans-serif': 'sans-serif',\n monospace: 'monospace',\n cursive: 'cursive',\n fantasy: 'fantasy',\n 'system-ui': 'system-ui',\n 'ui-serif': 'ui-serif',\n 'ui-sans-serif': 'ui-sans-serif',\n 'ui-monospace': 'ui-monospace'\n };\n return genericFamilies[val] ?? `'${val}'`;\n};\n\n/**\n * Parse the style.text.size option\n * @param {Object} options\n * @param {string} layout - the layout style\n * @param {number} size - the font size\n * @returns {undefined|string} result\n */\nconst parseTextSize = ({ layout, size }) => {\n if (layout !== 'flex' && typeof size !== 'undefined' && !Number.isNaN(size) && size >= 10 && size <= 16) {\n return `${size}`;\n }\n return undefined;\n};\n\n/**\n * Return the css to stylize the text used for the message\n * @param {Object} style - the style query parameter (after the server has validated it)\n * @returns {string[]} result - an array of the css rules to customize the font\n */\nexport const getFontRules = style => {\n customFontCounter = 0;\n const fontFamilyFallbacks = ['Helvetica', 'Arial', 'sans-serif'];\n const fontSelector = [\n '.message__messaging', // text layout\n '.message__messaging .message__headline span', // flex layout\n '.message__messaging .message__sub-headline span',\n '.message__messaging .message__disclaimer span'\n ].join(',\\n');\n const rules = [];\n const { layout, text: { size, fontSource: fontSourceStyle, fontFamily: fontFamilyStyle } = {} } = style;\n const textSize = parseTextSize({ layout, size });\n const fontSource = Array.isArray(fontSourceStyle) ? fontSourceStyle : [];\n const fontFamily = Array.isArray(fontFamilyStyle) ? fontFamilyStyle : [];\n\n const customFontSourceNames = fontSource.map(value => {\n const { name, rule } = generateFontFaceRule(value);\n rules.push(rule);\n return name;\n });\n\n const customFontFamilyNames = [...customFontSourceNames, ...fontFamily.map(val => formatFontFamilyName(val))];\n\n if (customFontFamilyNames || textSize) {\n const fontFamilyRule =\n customFontFamilyNames.length === 0\n ? ''\n : `font-family: ${[...customFontFamilyNames, ...fontFamilyFallbacks].join(', ')};\\n`;\n const textSizeRule = typeof textSize !== 'undefined' ? `font-size: ${textSize}px;` : '';\n rules.push(`${fontSelector}{ ${fontFamilyRule}${textSizeRule} }`);\n }\n return rules;\n};\n","/** @jsx h */\n/** @jsxFrag Fragment */\nimport { h, Fragment } from 'preact';\nimport { objectMerge, objectFlattenToArray, curry } from '../../utils/server';\nimport { getMutations, getLocaleStyles, getLocaleClass, getLocaleProductName } from '../locale';\nimport allStyles from './styles';\nimport Logo from './parts/Logo';\nimport MutatedText from './parts/MutatedText';\nimport Styles from './parts/Styles';\nimport CustomMessage from './parts/CustomMessage';\nimport { getFontRules } from './font';\n\nconst DEFAULT_FONT_SIZE = 12;\n\n/**\n * Get all applicable rules based on user flattened options\n * and available rules to cascade\n * @param {Array<String>} flattened Flattened style options\n * @param {any} type Desired return value type\n * @param {Array<Array<any>>} rules Rules to apply the cascade\n * @returns {Object|Array} Applicable rules\n */\nconst applyCascade = curry((style, flattened, type, rules) =>\n rules.reduce(\n (accumulator, [key, val]) => {\n const split = key.split(' && ');\n if (key === 'default' || split.every(k => flattened.includes(k))) {\n // after numerous tests, Helvetica and Arial are 98.2% smaller than PayPal Sans font\n // but 0.983 is used here to provide a slight buffer\n const BASIC_FONT_FACTOR = 0.983;\n const calculatedVal =\n typeof val === 'function'\n ? val({\n textSize: (style.text?.size ?? DEFAULT_FONT_SIZE) * BASIC_FONT_FACTOR\n })\n : val;\n return type === Array ? [...accumulator, calculatedVal] : objectMerge(accumulator, calculatedVal);\n }\n\n return accumulator;\n },\n type === Array ? [] : {}\n )\n);\n\nexport default ({ options, markup, locale }) => {\n const messageType = markup?.meta?.messageType ?? markup?.meta?.offerType;\n const language = markup?.meta?.language ?? locale;\n\n const { style, contextualComponents } = options;\n\n const { layout } = style;\n\n const styleSelectors = objectFlattenToArray(style);\n\n const applyCascadeRules = applyCascade(style, styleSelectors);\n const mutationRules =\n options.style.layout === 'custom'\n ? { logo: false, styles: [], headline: [], disclaimer: '' }\n : applyCascadeRules(Object, getMutations(locale, messageType, `layout:${layout}`, contextualComponents));\n\n const layoutProp = `layout:${layout}`;\n\n const globalStyleRules = applyCascadeRules(Array, allStyles[layoutProp]);\n\n const localeClass = getLocaleClass(locale, messageType, contextualComponents);\n // Scope all locale-specific styles to the selected locale\n const localeStyleRules = applyCascadeRules(\n Array,\n getLocaleStyles(locale, layoutProp, messageType, contextualComponents, language)\n ).map(rule => rule.replace(/\\.message/g, `.${localeClass} .message`));\n const mutationStyleRules = mutationRules.styles ?? [];\n const customFontStyleRules = getFontRules(style);\n const miscStyleRules = [];\n\n // Set boundaries on the width of the message text to ensure proper line counts\n if (mutationRules.messageWidth) {\n if (typeof mutationRules.messageWidth === 'number') {\n miscStyleRules.push(`.message__messaging { width: ${mutationRules.messageWidth}px }`);\n } else if (Array.isArray(mutationRules.messageWidth)) {\n miscStyleRules.push(\n `.message__messaging { min-width: ${mutationRules.messageWidth[0]}px; max-width: ${mutationRules.messageWidth[1]}px }`\n );\n }\n }\n\n const logoType = style.logo?.type;\n const logoEl = <Logo mutations={mutationRules.logo} />;\n\n const [withText, productName] = getLocaleProductName(locale, messageType, contextualComponents, language);\n\n const productNameEl = (\n <span>\n {' '}\n {withText} <span className=\"pp-text-logo\" />\n <strong>{productName}</strong>\n </span>\n );\n\n if (options.style.layout === 'custom') {\n return (\n <CustomMessage data={markup} meta={markup.meta} template={options.customMarkup}>\n <Styles\n globalStyleRules={globalStyleRules}\n localeStyleRules={localeStyleRules}\n mutationStyleRules={mutationStyleRules}\n miscStyleRules={miscStyleRules}\n customFontStyleRules={customFontStyleRules}\n />\n </CustomMessage>\n );\n }\n\n return (\n <div className=\"message\">\n <Styles\n globalStyleRules={globalStyleRules}\n localeStyleRules={localeStyleRules}\n mutationStyleRules={mutationStyleRules}\n miscStyleRules={miscStyleRules}\n customFontStyleRules={customFontStyleRules}\n />\n <div className={`message__container ${localeClass}`}>\n {/* foreground layer */}\n <div className=\"message__foreground\" />\n\n {/* content layer */}\n <div className=\"message__content\">\n {/* PP Credit Logo */}\n {logoType !== 'none' && logoType !== 'inline' ? logoEl : null}\n\n {/* Promotional Messaging */}\n <div className=\"message__messaging\">\n <div className=\"message__promo-container\">\n <div className=\"message__headline\">\n <MutatedText tagData={markup.headline} options={mutationRules.headline} />\n {logoType === 'none' ? productNameEl : null}\n {logoType === 'inline' ? <> {logoEl}</> : null}\n </div>{' '}\n <div className=\"message__sub-headline\">\n <MutatedText tagData={markup.subHeadline} options={mutationRules.subHeadline} />\n </div>\n </div>{' '}\n <p className=\"message__disclaimer\">\n <MutatedText tagData={markup.disclaimer} options={mutationRules.disclaimer} />\n </p>\n </div>\n </div>\n {/* background layer */}\n <div className=\"message__background\" />\n </div>\n </div>\n );\n};\n","/** @jsx h */\nimport { h } from 'preact';\nimport render from 'preact-render-to-string';\n\nimport Message from './message';\n\nexport default (options, markup, addLog) => {\n return render(<Message addLog={addLog} options={options} markup={markup} locale={markup.meta.offerCountry} />);\n};\n","import { getValidOptions } from './locale';\nimport { validateType, Types } from './types';\n\n// Formalized validation addLog helper functions\nconst logInvalid = (addLog, location, message) => addLog(`Invalid option value (${location}). ${message}`);\nconst logInvalidType = (addLog, location, expectedType, val) =>\n logInvalid(addLog, location, `Expected type \"${expectedType.toLowerCase()}\" but instead received \"${typeof val}\".`);\nconst logInvalidOption = (addLog, location, options, val) =>\n logInvalid(\n addLog,\n location,\n // Filter out potentially malicious inputs from warnings.\n `Expected one of [\"${options.join('\", \"').replace(/\\|[\\w|]+/g, '')}\"] but received \"${\n /^[a-z0-9]+$/i.test(val) ? val : 'REDACTED'\n }\".`\n );\n\nfunction getValidVal(addLog, typeArr, val, location) {\n const [type, validVals = []] = typeArr;\n\n if (val === undefined) {\n return validVals[0];\n }\n\n if (type !== Types.NUMBER && validateType(type, val)) {\n if (type === Types.STRING && validVals.length > 0) {\n // Check if aliased value used.\n const validVal = validVals.find(v => {\n if (typeof v !== 'string') {\n return false;\n }\n return v.split('|').some(x => x === val);\n });\n\n if (validVal === undefined) {\n logInvalidOption(addLog, location, validVals, val);\n if (typeof validVals[0] === 'undefined') {\n return validVals[0];\n }\n return validVals[0].split('|')[0];\n }\n\n return validVal.split('|')[0];\n }\n return val;\n }\n\n const numberVal = Number(val);\n if (type === Types.NUMBER && validateType(type, numberVal)) {\n if (validVals.length > 0) {\n const validVal = validVals.find(v => v === numberVal);\n if (validVal === undefined) {\n logInvalidOption(addLog, location, validVals, numberVal);\n return validVals[0];\n }\n\n return validVal;\n }\n\n return numberVal;\n }\n\n logInvalidType(addLog, location, type, val);\n return validVals[0];\n}\n\n/**\n * Create object using default object as base and replacing\n * with user options if available and valid\n * @param {Object} defaults Default values if missing from user options\n * @param {Object} options User style options\n * @param {String} prefix Keep track of property location. Used for logging.\n * @returns {Object} Object with user style options or default values if missing\n */\nfunction populateDefaults(addLog, defaults, options, prefix = 'style.') {\n return Object.entries(defaults).reduce((accumulator, [key, val]) => {\n if (Array.isArray(val)) {\n const validVal = getValidVal(addLog, val, options[key], `${prefix}${key}`);\n\n // Don't put empty properties on the object\n return validVal === undefined\n ? accumulator\n : {\n ...accumulator,\n [key]: validVal\n };\n }\n\n return {\n ...accumulator,\n [key]: populateDefaults(addLog, defaults[key], options[key] ?? {}, `${prefix}${key}.`)\n };\n }, {});\n}\n\n/**\n * Create a valid style object based on user options\n * @param {Object} options User style options\n * @returns {Object} Object containing only valid style options\n */\nfunction getValidStyleOptions(addLog, localeStyleOptions, options) {\n const defaultValues = {\n layout: options.layout,\n ...populateDefaults(addLog, localeStyleOptions[options.layout], options)\n };\n\n return defaultValues;\n}\n\n/**\n * Validate user options object. Warn the user against invalid options\n * and ensure only valid options are returned\n * @param {Object} options User options object\n * @returns {Object} Object containing only valid options\n */\nexport default (addLog, style, locale, offerType, contextualComponents) => {\n const validStyleOptions = getValidOptions(locale, offerType, contextualComponents);\n\n if (validStyleOptions[style.layout]) {\n return getValidStyleOptions(addLog, validStyleOptions, style);\n }\n\n logInvalidOption(addLog, 'style.layout', Object.keys(validStyleOptions), style.layout);\n\n // Get the default settings for a text banner\n return getValidStyleOptions(addLog, validStyleOptions, {\n layout: 'text'\n });\n};\n","const ratioMap = {\n '1x1': [\n {\n ratio: '1x1',\n width: [120, 300]\n }\n ],\n '1x4': [\n {\n ratio: '1x2',\n width: [160, 160]\n },\n {\n ratio: '1x4',\n breakpoint: 768\n }\n ],\n '8x1': [\n {\n ratio: '6x1',\n width: [250, 768]\n },\n {\n ratio: '8x1',\n breakpoint: 768\n }\n ],\n '20x1': [\n {\n ratio: '6x1',\n width: [250, 768]\n },\n {\n ratio: '20x1',\n width: [350, 1169],\n breakpoint: 768\n }\n ]\n};\n\nfunction toCSSValue(value) {\n if (typeof value === 'number') {\n return `${value}px`;\n }\n\n if (typeof value === 'string') {\n const match = value.match(/^(\\d+)x(\\d+)$/);\n\n if (match) {\n return `${match.slice(1).reduce((denominator, numerator) => +numerator / +denominator) * 100}%`;\n }\n }\n\n return value;\n}\n\nfunction ratioStringToObject(value) {\n // Matches the following example: 1x4@500px[300px,700px]\n // All parts are optional except for the ratio\n // ratio - 1x4\n // breakpoint - 500px\n // min-width - 300px\n // max-width: 700px\n const [ratio, ...optionalRules] = value.split(/(?=[@[])/);\n\n if (!ratio.match(/\\d+x\\d+/)) return {};\n\n // TODO: Should we validate these values?\n const ratioObject = optionalRules.reduce(\n (accumulator, rule) => {\n if (rule.startsWith('@')) {\n accumulator.breakpoint = rule.slice(1);\n } else if (rule.startsWith('[')) {\n accumulator.width = rule.slice(1, -1).split(',');\n }\n\n return accumulator;\n },\n { ratio }\n );\n\n return ratioObject;\n}\n\nexport default function getParentStyles(style) {\n const { ratio: ratioPreset, layout } = style;\n\n if (!ratioPreset) {\n return '';\n }\n\n let ratioConfig = [];\n if (layout === 'flex') {\n ratioConfig = ratioMap[ratioPreset];\n } else if (Array.isArray(ratioPreset)) {\n ratioConfig = ratioPreset.map(ratioStringToObject);\n } else if (typeof ratioPreset === 'string') {\n ratioConfig = [ratioStringToObject(ratioPreset)];\n }\n\n const wrapperClass = `pp-flex--${ratioConfig.slice(-1)[0].ratio}`;\n\n return ratioConfig.reduce((accumulator, { breakpoint, ratio, width }) => {\n if (accumulator === '') {\n return `\n .${wrapperClass} {\n display: block;\n width: 100%;\n ${\n Array.isArray(width)\n ? `\n min-width: ${toCSSValue(width[0])};\n max-width: ${toCSSValue(width[1])};`\n : ``\n }\n box-sizing: border-box;\n position: relative;\n }\n\n .${wrapperClass}::before {\n padding-top: ${toCSSValue(ratio)};\n content: '';\n display: block;\n }\n\n .${wrapperClass} iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n `;\n }\n\n if (!breakpoint) return accumulator;\n\n return `\n ${accumulator}\n @media (min-width: ${toCSSValue(breakpoint)}) {\n ${\n Array.isArray(width)\n ? `\n .${wrapperClass} {\n min-width: ${toCSSValue(width[0])};\n max-width: ${toCSSValue(width[1])};\n }`\n : ``\n }\n .${wrapperClass}::before {\n padding-top: ${toCSSValue(ratio)};\n }\n }\n `;\n }, '');\n}\n","export const VARIANT = 'B';\nexport const PORT = process.env.PORT || 8080;\n","export { default as render } from './render';\nexport { default as validateStyle } from './validateStyle';\nexport { default as getParentStyles } from './getParentStyles';\nexport * from './constants';\nexport const version = __MESSAGES__.__VERSION__;\n"],"sourceRoot":""}
|