@expofp/floorplan
Version:
Interactive floor plan library for expos and events
27 lines (26 loc) • 967 B
JavaScript
//#region src/utils/brand.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.39.1" };
var t = new e.Error().stack;
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c4711fe2-7a87-4277-8997-06e6cfc60afc", e._sentryDebugIdIdentifier = "sentry-dbid-c4711fe2-7a87-4277-8997-06e6cfc60afc");
} catch {}
})();
var e = {
"expofp.com": "ExpoFP",
"locomaven.com": "LocoMaven"
}, t = Object.keys(e), n = "ExpoFP";
function r(r) {
let i = t.find((e) => r === e || r.endsWith(`.${e}`));
return i ? e[i] : n;
}
var i = typeof window > "u" ? n : r(window.location.hostname);
//#endregion
//#region src/utils/is-own-domain.ts
function a(e, n) {
return n ? !0 : t.some((t) => e.endsWith(`.${t}`));
}
var o = typeof window < "u" && a(window.location.hostname, !1);
//#endregion
export { i as n, o as t };