UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

16 lines (15 loc) 297 B
import ri from "./trigger-condition.js"; export default class ur { constructor(t) { (this.if = t), (this.if = t); } xc(t) { return null == this.if || ri.sf(t[0], this.if); } static fromJson(t) { return new ur(t ? t.campaign_id : null); } dt() { return this.if; } }