UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

14 lines (13 loc) 430 B
import { EMPTY_OBJECT as c } from "../../../utils/value/constants.js"; const f = (i) => { const { prefix: n = "", suffix: e = "" } = i ?? c; return (t) => t == null ? void 0 : `${n}${t}${e}`; }, d = (i, n) => (e, t, a) => { let o; const r = i(t); return r != null && (o = e.get(r, a), o = o === r ? void 0 : o), o ?? n?.(r, t, a); }; export { d as createDynamicTranslationFactory, f as createKeyFactoryFromConfig };