@expofp/floorplan
Version:
Interactive floor plan library for expos and events
34 lines (33 loc) • 1.54 kB
JavaScript
(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.20.0" };
var t = new e.Error().stack;
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "eca673df-9a7d-4a71-8743-53cd910929b0", e._sentryDebugIdIdentifier = "sentry-dbid-eca673df-9a7d-4a71-8743-53cd910929b0");
} catch {}
})();
import "./rolldown-runtime-7-Wh3Cc7.js";
import { Rt as e } from "./i18n-B6dEf7vu.js";
import { t } from "./react-lDheuaid.js";
import { t as n } from "./jsx-runtime-BRhWrtmW.js";
import { t as r } from "./index.module-CkZa7zY4.js";
import { s as i } from "./store-Dh-bVjb-.js";
import { n as a } from "./mobx-BHYB6eG8.js";
import { t as o } from "./KioskStore-xIgZM3_4.js";
import { t as s } from "./TouchHand--hyrm-pn.js";
import { n as c, t as l } from "./integrateKiosk-Cd0gOtb9.js";
t();
var u = n(), d = r(() => (a(() => {
if (localStorage.getItem("kiosk") === "0") return;
o.restoreData();
let t = o.kiosk;
if (!t) {
let n = e().kiosk;
Object.keys(n).length && (o.setKiosk(n), i.uiState.kiosk = !0, Number.isFinite(n.uiScale) && i.uiState.setUIScale(n.uiScale, !1), t = o.kiosk);
}
if (t) return l(t, !0), c(t), o.resetCamera(), i.setResetCameraFn(() => o.resetCamera()), () => {
i.uiState.setKioskData(null), i.uiState.resetMapSettings();
};
}), i.uiState.kiosk && i.uiState.inIdle ? /* @__PURE__ */ (0, u.jsx)(s, {}) : null));
//#endregion
export { d as default };