UNPKG

@adyen/adyen-web

Version:

[![npm](https://img.shields.io/npm/v/@adyen/adyen-web.svg)](https://www.npmjs.com/package/@adyen/adyen-web)

3 lines (2 loc) 323 B
function o(o,n,e){var l;const r=null==n?void 0:n.toLowerCase().slice(0,2),t=null===(l=e[null==o?void 0:o.toLowerCase()])||void 0===l?void 0:l[r];if(t)return t;console.warn(`Cannot find a consent url for the provided countryCode: ${o} and locale: ${n}`)}export{o as getConsentUrl}; //# sourceMappingURL=getConsentUrl.js.map