@expofp/floorplan
Version:
Interactive floor plan library for expos and events
43 lines (42 loc) • 1.49 kB
JavaScript
//#region ../debug/src/lib/log-store.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] = "348ebd40-6044-41ba-8328-92a5b0bd51dd", e._sentryDebugIdIdentifier = "sentry-dbid-348ebd40-6044-41ba-8328-92a5b0bd51dd");
} catch {}
})();
var e = 5e3, t = [], n = /* @__PURE__ */ new Set();
function r() {
return t;
}
function i(e) {
return n.add(e), () => {
n.delete(e);
};
}
function a(r) {
t = t.length >= e ? [...t.slice(1), r] : [...t, r], n.forEach((e) => e());
}
function o() {
t.length !== 0 && (t = [], n.forEach((e) => e()));
}
//#endregion
//#region ../debug/src/lib/init-debug.tsx
var s = typeof window < "u" && typeof document < "u";
if (s && typeof console < "u") {
let e = (e, t) => (...n) => {
a({
level: e,
args: n,
ts: Date.now()
}), t(...n);
}, t = console.log.bind(console), n = console.debug.bind(console), r = console.info.bind(console), i = console.warn.bind(console), o = console.error.bind(console);
console.log = e("log", t), console.debug = e("debug", n), console.info = e("info", r), console.warn = e("warn", i), console.error = e("error", o);
}
s && import("./ui-D0YSutB6.js").then(({ renderDebugUi: e }) => {
e();
}).catch(() => {});
//#endregion
export { r as n, i as r, o as t };