UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

13 lines (12 loc) 308 B
const ei = { In: function (t) { const r = (t + "=".repeat((4 - (t.length % 4)) % 4)) .replace(/\-/g, "+") .replace(/_/g, "/"), n = atob(r), o = new Uint8Array(n.length); for (let t = 0; t < n.length; ++t) o[t] = n.charCodeAt(t); return o; }, }; export default ei;