UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

22 lines (21 loc) 509 B
import ls from "./filter-set.js"; export default class ns { constructor(t, s) { (this.Gc = t), (this.tf = s), (this.Gc = t), (this.tf = s); } Hc(t) { if (null == this.Gc || null == this.tf) return !1; const s = t[0], i = t[1]; return s === this.Gc && this.tf.Hc(i); } static fromJson(t) { return new ns( t ? t.event_name : null, t ? ls.fromJson(t.property_filters) : null, ); } qt() { return { e: this.Gc, pf: this.tf ? this.tf.qt() : null }; } }