import { html, LitElement } from "./lib/lit.min.js";
import "./upload-form.js";
import "./list-blobs.js";
import "./mirror-blobs.js";
export class BlossomApp extends LitElement {
static properties = {
selected: { state: true },
status: { state: true, type: String },
};
createRenderRoot() {
return this;
}
connectedCallback() {
super.connectedCallback();
window.addEventListener("hashchange", () => {
this.requestUpdate();
});
}
render() {
const hash = location.hash;
let content = "";
switch (hash) {
case "#list":
content = html`