@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.ae = "ab-classic-card"),
(this.oe = !0);
}
qt() {
const s = {};
return (
(s[Card.bs.xs] = Card.ks.ai),
(s[Card.bs.qs] = this.id),
(s[Card.bs.vs] = this.viewed),
(s[Card.bs.ws] = this.title),
(s[Card.bs.ys] = this.imageUrl),
(s[Card.bs.As] = this.description),
(s[Card.bs.Bs] = this.updated),
(s[Card.bs.Cs] = this.expiresAt),
(s[Card.bs.URL] = this.url),
(s[Card.bs.Ds] = this.linkText),
(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
);
}
}