@expofp/floorplan
Version:
Interactive floor plan library for expos and events
30 lines (29 loc) • 1.36 kB
JavaScript
//#region src/tools/event-not-found.ts
(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.7.8" };
var t = new e.Error().stack;
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7aeeccef-252f-4eb6-8ca4-201029176499", e._sentryDebugIdIdentifier = "sentry-dbid-7aeeccef-252f-4eb6-8ca4-201029176499");
} catch {}
})();
function e(e) {
if (typeof document > "u" || !e) return;
e.textContent = "";
let t = e.style;
t.display = "flex", t.flexDirection = "column", t.alignItems = "center", t.justifyContent = "center", t.boxSizing = "border-box", t.padding = "24px", t.background = "#ffffff", t.color = "#1f2937", t.textAlign = "center", t.fontFamily = "Inter, system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif";
let n = document.createElement("div");
n.textContent = "Event not found", n.style.cssText = [
"font-size: 28px",
"font-weight: 600",
"line-height: 1.25"
].join("; ");
let r = document.createElement("div");
r.textContent = "This event does not exist or is no longer available.", r.style.cssText = [
"margin-top: 8px",
"font-size: 16px",
"color: #6b7280"
].join("; "), e.appendChild(n), e.appendChild(r);
}
//#endregion
export { e as showEventNotFound };