use maud::{Markup, Render, html};

pub struct MangledBetaEmail {}

impl Render for MangledBetaEmail {
	fn render(&self) -> Markup {
		html!(
			span class="eobf eobf-beta" {
				i id="eobf-en" class="fas fa-envelope" style="margin-right: 5pt" {}
				i id="eobf-kb" class="fas fa-keyboard" style="margin-right: 5pt" {}
				span
					data-b="kra"
					data-a="c.ipula"
					data-h="Type this manually"
					style="unicode-bidi: bidi-override; direction: rtl;"
					{}
			}
		)
	}
}

pub struct MangledGoogleEmail {}

impl Render for MangledGoogleEmail {
	fn render(&self) -> Markup {
		html!(
			span class="eobf eobf-goog" {
				i id="eobf-en" class="fas fa-envelope" style="margin-right: 5pt" {}
				i id="eobf-kb" class="fas fa-keyboard" style="margin-right: 5pt" {}
				span
					data-c="kra"
					data-b="rmn"
					data-a="c.lia"
					data-h="Type this manually"
					{}
			}
		)
	}
}
