UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

117 lines (116 loc) 1.57 kB
import { IamCropType as Me, IamDismissType as pr, IamSerializationKeys as cr, IamServerTypes as dt, IamTextAlignment as Fe, } from "../constants.js"; import { buttonsFromSerializedInAppMessage as ur } from "../in-app-message-factory.js"; import InAppMessage from "./in-app-message.js"; export default class ModalMessage extends InAppMessage { constructor( r, s, e, t, o, i, a, p, m, n, c, f, u, d, l, j, g, v, x, z, h, w, y, S, b, k, q, A, B, C, ) { super( r, s, void 0, e, t, o, i, a, (p = p || pr.MANUAL), m, n, c, f, u, d, l, j, g, v, x, z, h, w, y, S, (b = b || Me.FIT_CENTER), void 0, k, q, A, B, C, ), (this.Go = Fe.CENTER); } qt() { return super.qt(dt.aE); } static ha(r) { return new ModalMessage( r[cr.rE], r[cr.mE], r[cr.Is], r[cr.FE], r[cr.HE], r[cr.URI], r[cr.xE], r[cr.BE], r[cr.lE], r[cr.bE], r[cr.Bs], r[cr.gE], r[cr.YE], r[cr.KE], r[cr.XE], r[cr.dE], r[cr.hE], r[cr.yE], r[cr.uE], r[cr.WE], r[cr.fE], r[cr.jE], r[cr.kE], ur(r[cr.vE]), r[cr.wE], r[cr.VE], r[cr.CSS], r[cr.JE], r[cr.LANGUAGE], r[cr.Ns], ); } }