UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

31 lines (30 loc) 916 B
import Card from "./card.js"; export default class ImageOnly extends Card { constructor(s, t, i, h, l, r, e, n, o, u, a, c, d) { super(s, t, null, i, null, h, l, r, null, e, n, o, u, a, c, d), (this.ae = "ab-image-only"), (this.oe = !1), (this.test = !1); } qt() { const s = {}; return ( (s[Card.bs.xs] = Card.ks.Ii), (s[Card.bs.qs] = this.id), (s[Card.bs.vs] = this.viewed), (s[Card.bs.ys] = this.imageUrl), (s[Card.bs.Bs] = this.updated), (s[Card.bs.Cs] = this.expiresAt), (s[Card.bs.URL] = this.url), (s[Card.bs.Es] = this.aspectRatio), (s[Card.bs.Fs] = this.extras), (s[Card.bs.Gs] = this.pinned), (s[Card.bs.Hs] = this.dismissible), (s[Card.bs.Is] = this.clicked), (s[Card.bs.Js] = this.language), (s[Card.bs.Ks] = this.altImageText), (s[Card.bs.Ls] = this.test), s ); } }