import stringToHTML from "../stringToHTML"; import { settingsState } from "../listeners/SettingsState"; import { openPopup } from "./PopupManager"; export function showPrivacyNotification() { const lastUpdated = "2025-12-19"; if (document.getElementById("whatsnewbk")) return; if (settingsState.privacyStatementShown) return; if (settingsState.privacyStatementLastUpdated && new Date(settingsState.privacyStatementLastUpdated) > new Date(lastUpdated)) return; const header = stringToHTML( /* html */ `

Privacy Statement

Important Information

`, ).firstChild as HTMLElement; const text = stringToHTML(/* html */ `

Addressing Recent Concerns About BetterSEQTA+
We appreciate the feedback we've received from several schools regarding BetterSEQTA+. Transparency and trust are core to our mission, and we want to address these concerns directly.

Our Commitment to Privacy:
• We do not collect, store, or share any personal information
• All data processing happens locally on your device
• Our code is open source and available for review

What We're Doing:
We're willing to actively work with school administrators to ensure BetterSEQTA+ meets both student needs and institutional requirements. If your school has specific concerns, we encourage them to contact us at betterseqta.plus@gmail.com or via github at github.com/BetterSEQTA/BetterSEQTA-Plus.

For complete details about our privacy practices, visit our privacy policy or click the shield icon in settings.

`).firstChild as HTMLElement; settingsState.privacyStatementLastUpdated = "2025-12-20"; settingsState.privacyStatementShown = true; openPopup({ header, content: [text], }); }