// Metro module 5838 (f5839). import { ShopBlockType } from "../../../_bundle/Module5829"; class ImmersiveBannerBlockRecord { type = ShopBlockType.IMMERSIVE_BANNER; constructor(a0) { this.title = a0.title; this.body = a0.body; this.helpCenterUrl = a0.help_center_url; this.textColor = a0.text_color; this.endTime = a0.end_time != null ? new Date(a0.end_time) : void 0; this.bannerUrl = a0.banner_url; this.bannerAnimatedUrl = a0.banner_animated_url; } static fromServer(a0) { const r13 = { __proto__: ImmersiveBannerBlockRecord.prototype }; r13.type = ShopBlockType.IMMERSIVE_BANNER; r13.title = a0.title; r13.body = a0.body; r13.helpCenterUrl = a0.help_center_url; r13.textColor = a0.text_color; r13.endTime = a0.end_time != null ? new Date(a0.end_time) : void 0; r13.bannerUrl = a0.banner_url; r13.bannerAnimatedUrl = a0.banner_animated_url; return r13; } } export { ImmersiveBannerBlockRecord };