UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

32 lines (31 loc) • 1.49 kB
(function() { try { var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}; e.SENTRY_RELEASE = { id: "3.39.1" }; var t = new e.Error().stack; t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "fbe00026-4b78-42e8-a449-db8654065c92", e._sentryDebugIdIdentifier = "sentry-dbid-fbe00026-4b78-42e8-a449-db8654065c92"); } catch {} })(); import { t as e } from "./is-own-domain-B64uVROp.js"; import { r as t } from "./event-head-BXpNerID.js"; //#region src/tools/event-not-found.ts function n(n) { if (typeof document > "u" || !n) return; e && t(document), n.textContent = ""; let r = n.style; r.display = "flex", r.flexDirection = "column", r.alignItems = "center", r.justifyContent = "center", r.boxSizing = "border-box", r.padding = "24px", r.background = "#ffffff", r.color = "#1f2937", r.textAlign = "center", r.fontFamily = "Inter, system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif"; let i = document.createElement("div"); i.textContent = "Event not found", i.style.cssText = [ "font-size: 28px", "font-weight: 600", "line-height: 1.25" ].join("; "); let a = document.createElement("div"); a.textContent = "This event does not exist or is no longer available.", a.style.cssText = [ "margin-top: 8px", "font-size: 16px", "color: #6b7280" ].join("; "), n.appendChild(i), n.appendChild(a); } //#endregion export { n as showEventNotFound };