UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

33 lines (32 loc) 1.01 kB
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.Xt = "ab-classic-card"), (this.Yt = !0); } dt() { const s = {}; return ( (s[Card.ss.ts] = Card.es.ai), (s[Card.ss.rs] = this.id), (s[Card.ss.os] = this.viewed), (s[Card.ss.cs] = this.title), (s[Card.ss.ns] = this.imageUrl), (s[Card.ss.ds] = this.description), (s[Card.ss.ps] = this.updated), (s[Card.ss.us] = this.expiresAt), (s[Card.ss.URL] = this.url), (s[Card.ss.ls] = this.linkText), (s[Card.ss.fs] = this.aspectRatio), (s[Card.ss.xs] = this.extras), (s[Card.ss.bs] = this.pinned), (s[Card.ss.gs] = this.dismissible), (s[Card.ss.js] = this.clicked), (s[Card.ss.zs] = this.language), (s[Card.ss.ks] = this.altImageText), (s[Card.ss.qs] = this.test), s ); } }