UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

28 lines (27 loc) 619 B
import { rehydrateDateAfterJsonization as ee } from "../util/date-utils.js"; export default class ui { constructor(t, i, s, l, h) { (this.endpoint = t), (this.Wu = i), (this.publicKey = s), (this.sc = l), (this.ad = h), (this.endpoint = t || null), (this.Wu = i || null), (this.publicKey = s || null), (this.sc = l || null), (this.ad = h || null); } qt() { return { e: this.endpoint, c: this.Wu, p: this.publicKey, u: this.sc, v: this.ad, }; } static _u(t) { return new ui(t.e, ee(t.c), t.p, t.u, t.v); } }