@braze/web-sdk
Version:
Braze SDK for web sites and other JS platforms.
33 lines (32 loc) • 1.01 kB
JavaScript
import Card from "./card.js";
export default class ClassicCard extends Card {
constructor(s, t, i, h, r, c, e, a, o, d, l, n, u, p, f, m) {
super(s, t, i, h, r, c, e, a, o, d, l, n, u, p, f, m),
(this.oe = "ab-classic-card"),
(this.ae = !0);
}
bt() {
const s = {};
return (
(s[Card.es.hs] = Card.ds.Ii),
(s[Card.es.ps] = this.id),
(s[Card.es.us] = this.viewed),
(s[Card.es.ls] = this.title),
(s[Card.es.fs] = this.imageUrl),
(s[Card.es.xs] = this.description),
(s[Card.es.bs] = this.updated),
(s[Card.es.gs] = this.created),
(s[Card.es.js] = this.categories),
(s[Card.es.zs] = this.expiresAt),
(s[Card.es.URL] = this.url),
(s[Card.es.ks] = this.linkText),
(s[Card.es.qs] = this.aspectRatio),
(s[Card.es.vs] = this.extras),
(s[Card.es.ws] = this.pinned),
(s[Card.es.ys] = this.dismissible),
(s[Card.es.As] = this.clicked),
(s[Card.es.Bs] = this.test),
s
);
}
}