/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ import { MozLitElement } from "chrome://global/content/lit-utils.mjs"; import { html } from "chrome://global/content/vendor/lit.all.mjs"; import { BANDWIDTH } from "chrome://browser/content/ipprotection/ipprotection-constants.mjs"; /** * A custom element that handles the signed out status of IP Protection. */ export default class IPProtectionUnauthenticatedContentElement extends MozLitElement { static shadowRootOptions = { ...MozLitElement.shadowRootOptions, delegatesFocus: true, }; constructor() { super(); } handleOptIn() { this.dispatchEvent( new CustomEvent("IPProtection:OptIn", { bubbles: true, composed: true }) ); } render() { return html`